Skip to content

feat: add e2e tests - #23

Merged
baylisscg merged 6 commits into
ampsczfrom
feat/add-e2e-tests
Oct 1, 2026
Merged

baylisscg merged 6 commits into
ampsczfrom
feat/add-e2e-tests

Conversation

@baylisscg

Copy link
Copy Markdown
Collaborator

Adds Playwright based E2E tests for:

  • /
  • /issues
  • /issues/multiPart
  • /interviews
  • /journals

Currently tests are non-destructive i.e. simply validate the page is available and certain structural elements are present.
To run simply use npx playwright test. Note the use of a baseURL in playwright.config.ts.
Many tests use known good ARIA snapshots, stored under tests/__snapshots__/ manual editing is not recommended. Use the --update-snapshots flag with the test command if necessary.

adds e2e tests for `/` and `/issues`
feat: adds landing page fixture
feat: updates landing page E2E tests to use fixture
fix: adds ARIA landmark and label to app sidebar component to make it easier to find via 'getByRole'
adds ARIA snapshot for homepage main content

@rtmcardle rtmcardle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not well versed in Playwright, but I like tests and things look good!

@dheshanm dheshanm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't used playwright before. The tests definitely seem like a good addition!

@baylisscg
baylisscg merged commit 7f31ee6 into ampscz Oct 1, 2026
@baylisscg
baylisscg deleted the feat/add-e2e-tests branch October 1, 2026 01:44
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.

3 participants