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

E2E test suite #61

Open
Ivshti opened this issue Jun 6, 2019 · 0 comments
Open

E2E test suite #61

Ivshti opened this issue Jun 6, 2019 · 0 comments
Milestone

Comments

@Ivshti
Copy link
Member

Ivshti commented Jun 6, 2019

  • integration testing plan; some e2e tests (e.g. player, settings, login/logout, libitem sync) will be nice
  • rigorous library/context tests: logging in, logging out, logging in as a different user, lib sync, etc.
  • rigorous player tests: playing updates libitem, getting to the end sets to next video, etc
  • data sanitization tests: addons cannot insert arbitrary html
  • environment: the JS side should (1) TRY to load the WASM and (2) TRY to sanity-check the environment; if it doesn't succeed, it should show an error to the user
    • in reality, we have two "horribly wrong" panic states: failed to load WASM and then failed to load Ctx
    • we should reproduce these panic states in the E2E tests (e.g. by disabling localStorage)
  • Optimization: web version: CI to use a headless browser to measure load times
@Ivshti Ivshti added this to the v1.1 milestone Jul 28, 2019
@nklhtv nklhtv modified the milestones: v1.1, v1.3 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants