Skip to content

NEW e2e environment using playground cli #233

NEW e2e environment using playground cli

NEW e2e environment using playground cli #233

Triggered via pull request August 20, 2024 22:54
Status Failure
Total duration 7m 7s
Artifacts 1

e2e-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action: test/e2e/tests/frontend/rsvp.spec.ts#L45
1) [webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Events' }) 43 | test('A logged in user can perform RSVP action', async ({ page }) => { 44 | await page.goto('/'); > 45 | await page.getByRole('link', { name: 'Events' }).click(); // Imported from of https://github.com/GatherPress/demo-data | ^ 46 | 47 | await page.evaluate(() => window.scrollTo(0, 5000)); 48 | await page at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/frontend/rsvp.spec.ts:45:52
[webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action: test/e2e/tests/frontend/rsvp.spec.ts#L45
1) [webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Events' }) 43 | test('A logged in user can perform RSVP action', async ({ page }) => { 44 | await page.goto('/'); > 45 | await page.getByRole('link', { name: 'Events' }).click(); // Imported from of https://github.com/GatherPress/demo-data | ^ 46 | 47 | await page.evaluate(() => window.scrollTo(0, 5000)); 48 | await page at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/frontend/rsvp.spec.ts:45:52
[webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action: test/e2e/tests/frontend/rsvp.spec.ts#L45
1) [webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Events' }) 43 | test('A logged in user can perform RSVP action', async ({ page }) => { 44 | await page.goto('/'); > 45 | await page.getByRole('link', { name: 'Events' }).click(); // Imported from of https://github.com/GatherPress/demo-data | ^ 46 | 47 | await page.evaluate(() => window.scrollTo(0, 5000)); 48 | await page at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/frontend/rsvp.spec.ts:45:52
[webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited: test/e2e/tests/site-editor/templates.spec.ts#L8
2) [webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited ── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 6 | test.describe('Templates', () => { 7 | test('The events template can be edited', async ({ admin }) => { > 8 | await admin.visitSiteEditor({ | ^ 9 | // postId: 'twentytwentyfour/single-gatherpress_event', 10 | postType: 'wp_template', 11 | // canvas: 'edit', at Editor.setPreferences (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.visitSiteEditor (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:68:21) at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/site-editor/templates.spec.ts:8:3
[webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited: test/e2e/tests/site-editor/templates.spec.ts#L8
2) [webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 6 | test.describe('Templates', () => { 7 | test('The events template can be edited', async ({ admin }) => { > 8 | await admin.visitSiteEditor({ | ^ 9 | // postId: 'twentytwentyfour/single-gatherpress_event', 10 | postType: 'wp_template', 11 | // canvas: 'edit', at Editor.setPreferences (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.visitSiteEditor (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:68:21) at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/site-editor/templates.spec.ts:8:3
[webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited: test/e2e/tests/site-editor/templates.spec.ts#L8
2) [webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 6 | test.describe('Templates', () => { 7 | test('The events template can be edited', async ({ admin }) => { > 8 | await admin.visitSiteEditor({ | ^ 9 | // postId: 'twentytwentyfour/single-gatherpress_event', 10 | postType: 'wp_template', 11 | // canvas: 'edit', at Editor.setPreferences (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.visitSiteEditor (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:68:21) at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/site-editor/templates.spec.ts:8:3
[webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu: test/e2e/tests/wp-admin/settings.spec.ts#L19
3) [webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu TimeoutError: locator.getAttribute: Timeout 10000ms exceeded. Call log: - waiting for locator('li').filter({ has: getByRole('link', { name: 'Events' }) }).getByRole('link', { name: 'Settings' }) 17 | name: 'Settings', 18 | }); > 19 | const settingsMenuUrl = await settingsMenu.getAttribute('href'); | ^ 20 | 21 | await expect(settingsMenu).toBeVisible(); 22 | await expect(settingsMenuUrl).toContain( at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/wp-admin/settings.spec.ts:19:46
[webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu: test/e2e/tests/wp-admin/settings.spec.ts#L19
3) [webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.getAttribute: Timeout 10000ms exceeded. Call log: - waiting for locator('li').filter({ has: getByRole('link', { name: 'Events' }) }).getByRole('link', { name: 'Settings' }) 17 | name: 'Settings', 18 | }); > 19 | const settingsMenuUrl = await settingsMenu.getAttribute('href'); | ^ 20 | 21 | await expect(settingsMenu).toBeVisible(); 22 | await expect(settingsMenuUrl).toContain( at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/wp-admin/settings.spec.ts:19:46
[webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu: test/e2e/tests/wp-admin/settings.spec.ts#L19
3) [webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.getAttribute: Timeout 10000ms exceeded. Call log: - waiting for locator('li').filter({ has: getByRole('link', { name: 'Events' }) }).getByRole('link', { name: 'Settings' }) 17 | name: 'Settings', 18 | }); > 19 | const settingsMenuUrl = await settingsMenu.getAttribute('href'); | ^ 20 | 21 | await expect(settingsMenu).toBeVisible(); 22 | await expect(settingsMenuUrl).toContain( at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/wp-admin/settings.spec.ts:19:46
e2e-tests
Process completed with exit code 1.
🎭 Playwright Run Summary
3 failed [webkit] › frontend/rsvp.spec.ts:43:2 › RSVP to an event › A logged in user can perform RSVP action [webkit] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited ─── [webkit] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu 18 passed (4.3m)

Artifacts

Produced during runtime
Name Size
test-results-matrix-less-debugging
1.83 MB