Skip to content

test: replace Cypress with Playwright for the example e2e - #524

Merged
birkskyum merged 1 commit into
nextfrom
playwright-e2e
Oct 31, 2026
Merged

birkskyum merged 1 commit into
nextfrom
playwright-e2e

Conversation

@birkskyum

Copy link
Copy Markdown
Member

The Cypress suite was one test (open the vite-8 example's production preview and click the counter), and Cypress loads its config through ts-node and the project's typescript, which crashes on TypeScript 7 and is why #523's E2E job times out. It now runs on Playwright Test, which starts the preview itself and passes with TypeScript 5 and 7. Cypress and its three plugins (two unused) go, and the vite-8 example's Vitest browser test moves to the same Playwright 1.64.1, so CI downloads one Chromium.

The e2e suite was one test: open the vite-8 example's production preview and
click the counter. It now runs on Playwright Test, which starts the preview
itself (webServer) and loads TypeScript without the typescript package, so it
keeps working on TypeScript 7, where Cypress's ts-node crashes. Cypress and
its three plugins (two of them unused) go, and the vite-8 example moves to
the same Playwright version so CI downloads one Chromium.
@changeset-bot

changeset-bot Bot commented Oct 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5006814

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Oct 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@solidjs/vite-plugin@524

commit: 5006814

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedplaywright@​1.61.1 ⏵ 1.64.1100 +1100100 +19980
Added@​playwright/​test@​1.64.110010010099100

View full report

@birkskyum
birkskyum merged commit 44f8dd7 into next Oct 31, 2026
6 checks passed
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