Skip to content

Commit

Permalink
fix: e2e test failing
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Jan 5, 2025
1 parent 33e14a9 commit da11b34
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/e2e/specs/loop.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ test.describe('Feedzy Loop', () => {

await page.getByRole('option', { name: ' Feedzy Loop' }).click();
await page.waitForTimeout(1000);
await page.getByLabel('Feed URL').click();

await page.getByPlaceholder('Enter feed URLs separated by').click();
await page.getByPlaceholder('Enter URLs or select a').click();
await page.keyboard.type(FEED_URL);

await page.getByRole('button', { name: 'Save', exact: true }).click();
// Click outside the input to trigger state change
await page.getByRole('tab', { name: 'Settings' }).click();

Check failure on line 40 in tests/e2e/specs/loop.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block

1) [chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block ────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Settings' }) 38 | 39 | // Click outside the input to trigger state change > 40 | await page.getByRole('tab', { name: 'Settings' }).click(); | ^ 41 | 42 | await page 43 | .getByRole('button', { name: 'Load Feed', exact: true }) at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/loop.spec.js:40:53

Check failure on line 40 in tests/e2e/specs/loop.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block

1) [chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Settings' }) 38 | 39 | // Click outside the input to trigger state change > 40 | await page.getByRole('tab', { name: 'Settings' }).click(); | ^ 41 | 42 | await page 43 | .getByRole('button', { name: 'Load Feed', exact: true }) at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/loop.spec.js:40:53

Check failure on line 40 in tests/e2e/specs/loop.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block

1) [chromium] › loop.spec.js:11:6 › Feedzy Loop › add Feedzy Loop Block ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Settings' }) 38 | 39 | // Click outside the input to trigger state change > 40 | await page.getByRole('tab', { name: 'Settings' }).click(); | ^ 41 | 42 | await page 43 | .getByRole('button', { name: 'Load Feed', exact: true }) at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/loop.spec.js:40:53

await page
.getByRole('button', { name: 'Load Feed', exact: true })
.click();
await page.waitForTimeout(1000);

await page.getByLabel('Display curated RSS content').click();
Expand Down

0 comments on commit da11b34

Please sign in to comment.