Skip to content

fix(e2e): make the suite load again after the lint sweep - #1801

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/e2e-suite-loads
Sep 1, 2026
Merged

fix(e2e): make the suite load again after the lint sweep#1801
rubenvdlinde merged 1 commit into
developmentfrom
fix/e2e-suite-loads

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

The lint sweep left two shapes that eslint and prettier both call clean while the Playwright suite fails to load. development collected zero tests.

A Playwright callback's destructuring is a fixture request, not a binding list. Renaming an unused request to _request asks for a fixture that does not exist, and the file never loads. The binding is renamed, the key kept:

async ({ page, request: _request }) => {

The type-import conversion added a duplicate. A file that already imported Page alongside ConsoleMessage got a second import type { Page } — a duplicate-identifier SyntaxError.

The check that catches this

npx playwright test --list parses every spec without running one. A green linter cannot tell you the suite still loads; this can, and it is fast.

Verified on this branch: npm run lint 0 errors, and the suite collects again.

316 tests in 38 files (was 0).

The lint pass left two shapes that eslint and prettier both call clean while
the Playwright suite fails to load. `development` collected ZERO tests.

A Playwright callback's destructuring is a FIXTURE REQUEST, not a binding list.
Renaming an unused `request` to `_request` asks for a fixture that does not
exist and the file never loads. The binding is renamed, the key kept:

    async ({ page, request: _request }) => {

And the type-import conversion added a second `import type { Page }` to a file
that already imported `Page` alongside `ConsoleMessage`, which is a
duplicate-identifier SyntaxError.

`npx playwright test --list` parses every spec without running one, and is the
check that catches both. A green linter cannot.
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/integriq @ 3a17505

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
build
check-specs
test-l10n
format
check-schema-l10n
check-l10n-js
composer ✅ 141/141
npm ✅ 537/537
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-09-01 11:26 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit fcac77b into development Sep 1, 2026
52 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/e2e-suite-loads branch September 1, 2026 12:07
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