From discussion at https://github.com/ome/ome-ngff-validator/pull/48#issuecomment-3386073777 It looks like it should be possible to use puppeteer https://pptr.dev/ to run tests from gh actions. Questions: - Where do we deploy the validator (built from the PR) for testing? - Use gh-pages? This works OK from a specific branch but is harder to setup from ALL branches / PRs - Use netlify? We already deploy there from PRs, but hard to sync that deployment with testing once it's ready - Use node to serve the pages "locally" from the test machine? This also needs a lot more investigation - What do we want to test? - Check that "valid" samples show green check (and no errors) - Check that "valid" samples show other UI components? - Check that "invalid" samples show the `X` error if schema catches errors, and other error messages? cc @joshmoore
From discussion at #48 (comment)
It looks like it should be possible to use puppeteer https://pptr.dev/ to run tests from gh actions.
Questions:
Where do we deploy the validator (built from the PR) for testing?
What do we want to test?
Xerror if schema catches errors, and other error messages?cc @joshmoore