Skip to content

test: add e2e tests for organism landing pages#1153

Draft
fengelniederhammer wants to merge 3 commits intomainfrom
1091-add-e2e-tests-for-organism-landing-pages
Draft

test: add e2e tests for organism landing pages#1153
fengelniederhammer wants to merge 3 commits intomainfrom
1091-add-e2e-tests-for-organism-landing-pages

Conversation

@fengelniederhammer
Copy link
Copy Markdown
Contributor

resolves #1091

Summary

Screenshot

PR Checklist

- [ ] All necessary documentation has been adapted.

  • The implemented feature is covered by an appropriate test.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboards Ready Ready Preview, Comment Apr 21, 2026 8:38am

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Playwright e2e coverage for organism landing pages to ensure the genome viewer section renders (per #1091), using a new LandingPage page object and fixture wiring.

Changes:

  • Add landingPage.spec.ts to validate each organism landing page shows the genome viewer and a representative gene label.
  • Introduce LandingPage page object and register it in e2e.fixture.ts.
  • Extend organismOptions with gene values to support the new assertions.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
website/tests/landingPage.spec.ts New e2e suite iterating organisms-with-genome and asserting key UI elements are visible.
website/tests/helpers.ts Adds gene fields to organismOptions for genome viewer assertions.
website/tests/e2e.fixture.ts Registers landingPage fixture for page-object usage in tests.
website/tests/LandingPage.ts New page object encapsulating landing page navigation and selectors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/tests/helpers.ts
@fengelniederhammer fengelniederhammer marked this pull request as draft April 21, 2026 09: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.

Add e2e tests for organism landing pages

2 participants