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

Write automated (behaviour/functional) tests? #44

Open
mhsdesign opened this issue Apr 16, 2022 · 9 comments
Open

Write automated (behaviour/functional) tests? #44

mhsdesign opened this issue Apr 16, 2022 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@mhsdesign
Copy link
Collaborator

No description provided.

@mhsdesign
Copy link
Collaborator Author

cypress looks cool

@remcohaszing
Copy link
Owner

I’ve used Cypress a little. It works pretty nicely. It should work nice with github actions and netlify

Lately I’ve also been hearing positive talk about Playwright.

If we find a good test setup for this, I’d like to use this in monaco-yaml (remcohaszing/monaco-yaml#26)

@remcohaszing remcohaszing added the help wanted Extra attention is needed label Apr 16, 2022
@mhsdesign
Copy link
Collaborator Author

mhsdesign commented Apr 16, 2022

https://docs.cypress.io/guides/getting-started/installing-cypress#Windows-Subsystem-for-Linux
cypress is not so cool for wsl2 which im developing on - so i will try this playwright stuff ^^

edit: playwright only works on ubuntu: Unsupported Linux distribution, only Ubuntu is supported! mimimimi debian me not amused

@mhsdesign
Copy link
Collaborator Author

mhsdesign commented Apr 17, 2022

@mhsdesign
Copy link
Collaborator Author

this screenshot functionality could come in handy: https://playwright.dev/docs/screenshots

@mhsdesign
Copy link
Collaborator Author

I started on building tests with playwright myself (for a project build on top of this), i will share that code when my tests are final ;)
but i also found out that play-tailwind seems to start building tests with playwright: https://github.com/tailwindlabs/play.tailwindcss.com/tree/master/tests

@remcohaszing
Copy link
Owner

I created playwright-monaco to help testing Monaco editor integrations. See @mdx-js/monaco for an example.

@mhsdesign
Copy link
Collaborator Author

❤️

should have shown you my testing setup too ^^ (if you’re up to it we can have a call sometime :D)

@remcohaszing
Copy link
Owner

Sure! That could be fun :)

I sent you my Discord ID via Twitter DM. I don’t want to post that publicly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants