Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Try by yourself" editor #4183

Open
snehabhandge opened this issue Feb 7, 2024 · 3 comments
Open

"Try by yourself" editor #4183

snehabhandge opened this issue Feb 7, 2024 · 3 comments

Comments

@snehabhandge
Copy link
Contributor

What are you trying to achieve?

Trying to utilize different concepts, methods with different selectors but sometimes get stuck with some problems.
This is a suggestion to provide "Try by yourself" editor for corresponding examples. This will not only help the existing users but also will feel easy, comfortable to new joiners.

What do you get instead?

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version:
  • NodeJS Version:
  • Operating System:
  • puppeteer || webdriverio || testcafe version (if related)
  • Configuration file:
# paste config here
@DavertMik
Copy link
Contributor

@snehabhandge could you expand more the idea, how it should be? Should it be from a website or inside the CodeceptUI app?

@snehabhandge
Copy link
Contributor Author

We can start with website and we can restrict to website, if anybody wants this feature he/she must check it on website in case merging it with app is going to take time.
It can be something like... for example we we have any method like below
image
We can provide "Try by yourself on the title with an icon or at the last with a link... and that should have plain html with element of particular selector only on left side once we run it, it should show the changes on right side.... something like this I was thinking of.. or collectively also we can provide this feature for related methods..

@DavertMik
Copy link
Contributor

The idea is really good but I don't know/don't have a time to implement it
If CodeceptJS was frontend library it would be easy to have this
But as it requires at least Playwright it is hard to make such demo with a limited resources

Anyway, let's keep this idea as maybe someone would like to implement this thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants