ci: run smoke and nightly e2e - #7965
Conversation
…l/cowswap into feat/e2e-playwright-3
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe PR removes Cypress integration-test CI and tooling, adds Playwright smoke and nightly workflows, updates merge checks, and replaces Cypress documentation with Playwright/Synpress instructions. ChangesPlaywright E2E migration
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant GitHubActions
participant Playwright
participant ReportArtifact
participant Slack
GitHubActions->>Playwright: Install Chromium and run E2E tests
Playwright->>ReportArtifact: Upload Playwright reports
GitHubActions->>Slack: Post failed nightly run details
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…l/cowswap into feat/e2e-playwright-3
…l/cowswap into feat/e2e-playwright-3
…l/cowswap into feat/e2e-playwright-3
…l/cowswap into feat/e2e-playwright-3
…l/cowswap into feat/e2e-playwright-3
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/e2e-pw-smoke.yml:
- Around line 5-10: Remove the restrictive paths filter from the smoke workflow
in .github/workflows/e2e-pw-smoke.yml so the required smoke check runs for every
mergeable pull request. In .mergify.yml lines 5-13, keep check-success=smoke
unchanged because it will then be available for all queue-eligible pull
requests; no direct change is required there.
- Line 26: Harden both workflows by adding persist-credentials: false to the
actions/checkout steps in .github/workflows/e2e-pw-smoke.yml:26 and
.github/workflows/e2e-pw-nightly.yml:22, and set job-level permissions to
contents: read unless a write permission is required. Apply the same
minimal-permissions configuration to both workflow files.
In `@README.md`:
- Around line 161-165: Update the CI workflow that runs pnpm e2e:smoke to
provision the .cache-synpress directory beforehand by invoking e2e:build-cache
or restoring a valid cache artifact. Ensure the smoke-test job can run on a
clean runner, and revise the README wording so the cache is not described as
covered for real-wallet fixtures without corresponding CI setup.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: e0d3bb13-75a8-4eb9-ac1a-64c9e321856c
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (9)
.env.local.example.github/workflows/ci.yml.github/workflows/e2e-pw-nightly.yml.github/workflows/e2e-pw-smoke.yml.mergify.ymlREADME.mdapps/cowswap-frontend/.gitignoreapps/cowswap-frontend/vite.config.mtspackage.json
💤 Files with no reviewable changes (3)
- .env.local.example
- apps/cowswap-frontend/.gitignore
- package.json
…l/cowswap into feat/e2e-playwright-3 # Conflicts: # pnpm-lock.yaml
…l/cowswap into feat/e2e-playwright-3
Fixes https://linear.app/cowswap/issue/FE-435/create-gh-actions-to-run-tests-on-each-pr-smoke-and-full-regression
What changed
integration-testsjob inci.yml, the@nx/cypressdependency,CYPRESS_*env vars in.env.local.example, and leftovercypress*ignore rules inapps/cowswap-frontend/.gitignore..mergify.ymlmerge-queue conditions fromcheck-success=Cypresstocheck-success=smoke(the new Playwright smoke job).vite.config.mtsthat referenced Cypress instead of Playwright.pnpm-lock.yamlentries pulled in only by@nx/cypress.Why
if: ${{ false }}) and fully superseded by the Playwright e2e suite (e2e-pw-smoke.yml,e2e-pw-nightly.yml). Keeping the dead job, its dependency, and its config references around was misleading and left the merge queue gated on a check that could never succeed.QA Testing
Reviewer note: this is a CI/config cleanup with no app behavior change, so there's no browser-testable flow. Confirm instead that:
ci.ymlno longer references Cypress and thenotify-failurejob'sneeds/env no longer mentionintegration-tests..mergify.ymlconditions match the actual check names produced bye2e-pw-smoke.yml(jobsmoke) ande2e-pw-nightly.yml.Summary by CodeRabbit
Testing
Documentation
Chores