Page MenuHomeSealhub

E2E tests for modules extracted from sealious-playground
Open, NormalPublic3 Points

Description

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:

  1. 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
  1. Copying the test setup and text fixtures from Sealious Playground
  1. 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
  1. Make sure the coverage tests work just as well as in Sealious Playground

Related Objects