Skip to content

Commit

Permalink
fix: e2e error
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Jul 19, 2024
1 parent 24b7d18 commit f79ce9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/import.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ test.describe( 'Feed Import', () => {
// Select the first post created by feeds import. Check the featured image.
await page.getByRole('link', { name: 'Posts', exact: true }).click({ force: true });
await page.locator('#the-list tr').first().locator('a.row-title').click({ force: true });
await page.getByRole('button', { name: 'Featured image' }).click({ force: true });
await page.getByRole('button', { name: 'Set featured image' }).click({ force: true });

Check failure on line 147 in tests/e2e/specs/import.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image

1) [chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image ─ TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Set featured image' }) 145 | await page.getByRole('link', { name: 'Posts', exact: true }).click({ force: true }); 146 | await page.locator('#the-list tr').first().locator('a.row-title').click({ force: true }); > 147 | await page.getByRole('button', { name: 'Set featured image' }).click({ force: true }); | ^ 148 | await expect( page.getByLabel('Edit or replace the image') ).toBeVisible(); // Featured image is added. 149 | }); 150 | at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/import.spec.js:147:66

Check failure on line 147 in tests/e2e/specs/import.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image

1) [chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Set featured image' }) 145 | await page.getByRole('link', { name: 'Posts', exact: true }).click({ force: true }); 146 | await page.locator('#the-list tr').first().locator('a.row-title').click({ force: true }); > 147 | await page.getByRole('button', { name: 'Set featured image' }).click({ force: true }); | ^ 148 | await expect( page.getByLabel('Edit or replace the image') ).toBeVisible(); // Featured image is added. 149 | }); 150 | at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/import.spec.js:147:66

Check failure on line 147 in tests/e2e/specs/import.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image

1) [chromium] › import.spec.js:128:6 › Feed Import › importing feed from URL with featured image ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Set featured image' }) 145 | await page.getByRole('link', { name: 'Posts', exact: true }).click({ force: true }); 146 | await page.locator('#the-list tr').first().locator('a.row-title').click({ force: true }); > 147 | await page.getByRole('button', { name: 'Set featured image' }).click({ force: true }); | ^ 148 | await expect( page.getByLabel('Edit or replace the image') ).toBeVisible(); // Featured image is added. 149 | }); 150 | at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/import.spec.js:147:66
await expect( page.getByLabel('Edit or replace the image') ).toBeVisible(); // Featured image is added.
});

Expand Down

0 comments on commit f79ce9f

Please sign in to comment.