Sealious Playground has recently gotten an e2e tests facelift:
https://hub.sealcode.org/rPLAY10ef8cd3d23e921bcf6301e65caf9e8f44357e3e
It includes screenshots and e2e testing by simulating browser events via Playwright.
We need a similar setup for rCUI crud-ui, {R176}, rJDDE jdd-editor and other repositories we will have in the future.
This task is about:
- Forking rSTART Module Starter to create a starter meant specifically for dependencies used in sealious playground that involve some browser-based interactions that need to be tested
- Copying the test setup and text fixtures from Sealious Playground
- Adding a fixture similar to that in https://hub.sealcode.org/source/sealgen/browse/master/src/test_utils/test-on-real-app.ts that creates a minimal sealious app with the tested dependency installed, builds it with sealgen, runs, and lets the test scripts check the behavior in a browser
- Make sure the coverage tests work just as well as in Sealious Playground