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

automated testing improvements #406

Open
6 tasks
incognitojam opened this issue Jul 18, 2023 · 0 comments
Open
6 tasks

automated testing improvements #406

incognitojam opened this issue Jul 18, 2023 · 0 comments

Comments

@incognitojam
Copy link
Collaborator

incognitojam commented Jul 18, 2023

We already have some tests using Chrome/Puppeteer, but we should test more features and across Chrome and Firefox (and Safari, if possible).

https://vitest.dev/guide/browser.html

  • Testing environments
    • firefox
    • service worker and updates between versions (begin by writing a wrapper script around docker to launch web server for given version)
  • test video playback
  • test offline behaviour

Testing meta

  • replace all await sleep with page.waitForX
  • mock API so that tests are not flaky (and can be extended for more than demo scenarios)
@incognitojam incognitojam changed the title automated browser testing automated testing improvements Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant