Write automated (behaviour/functional) tests?
cypress looks cool
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 (https://github.com/remcohaszing/monaco-yaml/issues/26)
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
https://github.com/microsoft/vscode/blob/e6d98a13fcd3bf928d0e755eaae873ac200a98bd/test/monaco/monaco.test.ts
ms officiall monaco smoke test... (with playwright)
this screenshot functionality could come in handy: https://playwright.dev/docs/screenshots
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
I created playwright-monaco to help testing Monaco editor integrations. See @mdx-js/monaco for an example.
❤️
should have shown you my testing setup too ^^ (if you’re up to it we can have a call sometime :D)
Sure! That could be fun :)
I sent you my Discord ID via Twitter DM. I don’t want to post that publicly.