Skip to content

Add Playwright tests #77

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

Open
wants to merge 15 commits into
base: rzatserkovnyi/svelte-4
Choose a base branch
from

Conversation

rzats
Copy link
Contributor

@rzats rzats commented Oct 30, 2024

Adds a suite of end-to-end tests using the Playwright framework. This runs the epivis in a simulated Chromium browser and tests the following:

  • the web-app loads successfully
  • all public signals are correctly loaded (with several tests for COVIDCast in particular)
  • the introductory Svelte tour, shareable link feature, autofitting, and randomized colors all work correctly

Also includes a GitHub Action that, for the time being, runs the tests on every push.

This PR is dependent on #76 and currently based on its branch.

@rzats rzats requested a review from melange396 October 30, 2024 18:40
@rzats rzats changed the base branch from dev to rzatserkovnyi/svelte-4 October 30, 2024 18:41
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

Successfully merging this pull request may close these issues.

1 participant