NEW e2e environment using playground cli #233
Annotations
10 errors and 1 notice
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests:
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
|
Starting Playwright & Running the tests
Process completed with exit code 1.
|
Starting Playwright & Running the tests
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)
|
Loading