Skip to content

feat(e2e): initial reimplementation of e2e tests on playwright - new module @exadel/esl-website-e2e created#3596

Merged
ala-n merged 21 commits intomain-betafrom
test/vitest-e2e
Jan 29, 2026
Merged

feat(e2e): initial reimplementation of e2e tests on playwright - new module @exadel/esl-website-e2e created#3596
ala-n merged 21 commits intomain-betafrom
test/vitest-e2e

Conversation

@ala-n
Copy link
Collaborator

@ala-n ala-n commented Jan 26, 2026

No description provided.

@qltysh
Copy link

qltysh bot commented Jan 26, 2026

Qlty

Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@ala-n ala-n requested review from a team, dshovchko, fshovchko and yadamskaya and removed request for a team January 27, 2026 19:21
@ala-n ala-n self-assigned this Jan 27, 2026
@ala-n ala-n marked this pull request as ready for review January 28, 2026 12:32
@ala-n ala-n requested a review from a team as a code owner January 28, 2026 12:32
Copilot AI review requested due to automatic review settings January 28, 2026 12:32
@ala-n ala-n added the needs review The PR is waiting for review label Jan 28, 2026
Copy link
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

This PR introduces a new end-to-end testing module @exadel/esl-website-e2e that replaces the previous e2e test implementation with Playwright. The new module includes visual regression tests, content validation tests, and a GitHub Actions workflow for automated testing.

Changes:

  • Created new Playwright-based e2e testing package with TypeScript configuration
  • Implemented visual and content tests for the website homepage
  • Updated GitHub Actions workflow to support Playwright tests with automatic snapshot updates

Reviewed changes

Copilot reviewed 11 out of 17 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/esl-website-e2e/tsconfig.json TypeScript configuration for the e2e test module
packages/esl-website-e2e/package.json Package definition with Playwright dependencies
packages/esl-website-e2e/playwright.config.ts Playwright configuration with device and environment settings
packages/esl-website-e2e/project.json NX project configuration for running tests
packages/esl-website-e2e/common/page.ts Utility functions for page interactions
packages/esl-website-e2e/tests/homepage.nav.visual.spec.ts Visual tests for homepage navigation elements
packages/esl-website-e2e/tests/homepage.full.visual.spec.ts Full-page visual regression test
packages/esl-website-e2e/tests/homepage.footer-content.spec.ts Content validation tests for footer
packages/esl-website-e2e/.gitignore Git ignore configuration for test artifacts
package.json Updated e2e test commands to use new module
.github/workflows/e2e.yml Refactored workflow for Playwright with improved triggers

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

name: Update Playwright Snapshots
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' && inputs.updateSnapshots }}
needs: [e2e-tests]
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

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

The 'update-snapshots' job depends on 'e2e-tests' but will only run when 'needs.e2e-tests.result == failure'' or on manual dispatch. However, if e2e-tests is skipped (when updateSnapshots is true on manual dispatch), the dependency will cause update-snapshots to be skipped as well. The needs dependency should be removed or made conditional.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@dshovchko dshovchko left a comment

Choose a reason for hiding this comment

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

We need to document that system dependencies must be installed before starting work. This operation requires root or sudo privileges.

This is performed with the command npx playwright install --with-deps.

@ala-n ala-n merged commit 09d9a99 into main-beta Jan 29, 2026
10 checks passed
@ala-n ala-n deleted the test/vitest-e2e branch January 29, 2026 15:55
@ci-github-action-bot ci-github-action-bot bot locked and limited conversation to collaborators Jan 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs review The PR is waiting for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants