Skip to content

Commit f2ef7fb

Browse files
authored
fix(e2e): make the suite load again after the lint sweep (#590)
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.
1 parent a231112 commit f2ef7fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/workflows/team-folder-sharing.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const API = `${APP_BASE.replace('/apps/keepiq', '')}/apps/keepiq/api/v1`
5050
test.describe('team folder sharing', () => {
5151
test('owner shares a folder, fans out to a user, and revokes', async ({
5252
page,
53-
_request,
53+
request: _request,
5454
}) => {
5555
await gotoLockSettled(page)
5656
await unlockVault(page)

0 commit comments

Comments
 (0)