Skip to content

Commit 906afc3

Browse files
NiallJoeMaherclaude
andcommitted
Fix Prettier formatting in E2E test files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4742a4e commit 906afc3

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

e2e/articles.spec.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,10 @@ test.describe("Authenticated Feed Page (Articles)", () => {
351351
// Article is already bookmarked - unbookmark then rebookmark to test the flow
352352
await savedButton.scrollIntoViewIfNeeded();
353353
await Promise.all([
354-
page.waitForResponse(resp => resp.url().includes('trpc') && resp.url().includes('bookmark')),
354+
page.waitForResponse(
355+
(resp) =>
356+
resp.url().includes("trpc") && resp.url().includes("bookmark"),
357+
),
355358
savedButton.click(),
356359
]);
357360
await expect(saveButton).toBeVisible({ timeout: 15000 });
@@ -362,7 +365,10 @@ test.describe("Authenticated Feed Page (Articles)", () => {
362365
await expect(saveButton).toBeEnabled({ timeout: 5000 });
363366
await saveButton.scrollIntoViewIfNeeded();
364367
await Promise.all([
365-
page.waitForResponse(resp => resp.url().includes('trpc') && resp.url().includes('bookmark')),
368+
page.waitForResponse(
369+
(resp) =>
370+
resp.url().includes("trpc") && resp.url().includes("bookmark"),
371+
),
366372
saveButton.click(),
367373
]);
368374

e2e/saved.spec.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ test.describe("Authenticated Saved Page", () => {
5252
if (isSaved) {
5353
await savedButton.scrollIntoViewIfNeeded();
5454
await Promise.all([
55-
page.waitForResponse(resp => resp.url().includes('trpc') && resp.url().includes('bookmark')),
55+
page.waitForResponse(
56+
(resp) =>
57+
resp.url().includes("trpc") && resp.url().includes("bookmark"),
58+
),
5659
savedButton.click(),
5760
]);
5861
await expect(saveButton).toBeVisible({ timeout: 10000 });
@@ -62,7 +65,10 @@ test.describe("Authenticated Saved Page", () => {
6265
await expect(saveButton).toBeVisible({ timeout: 15000 });
6366
await saveButton.scrollIntoViewIfNeeded();
6467
await Promise.all([
65-
page.waitForResponse(resp => resp.url().includes('trpc') && resp.url().includes('bookmark')),
68+
page.waitForResponse(
69+
(resp) =>
70+
resp.url().includes("trpc") && resp.url().includes("bookmark"),
71+
),
6672
saveButton.click(),
6773
]);
6874

0 commit comments

Comments
 (0)