NEW e2e environment using playground cli #318
Annotations
10 errors and 1 notice
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L46
1) [chromium] › editor/events.spec.ts:26:2 › Events in the Editor › An admin should be able to publish an online event
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByLabel('Venue Selector')
Expected string: "Online event"
Received string: "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByLabel('Venue Selector')
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
44 |
45 | await expect(venueSelector).toBeVisible();
> 46 | await expect(venueSelector).toHaveText('Online event');
| ^
47 | });
48 |
49 | test('An admin should be able to publish an offline event', async ({
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:46:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L65
2) [chromium] › editor/events.spec.ts:49:2 › Events in the Editor › An admin should be able to publish an offline event
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByLabel('Venue Selector')
Expected string: "Turin"
Received string: "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByLabel('Venue Selector')
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTurinUniversity of Technology, Sydney"
63 |
64 | await expect(venueSelector).toBeVisible();
> 65 | await expect(venueSelector).toHaveText('Turin');
| ^
66 | });
67 | });
68 |
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:65:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L46
3) [firefox] › editor/events.spec.ts:26:2 › Events in the Editor › An admin should be able to publish an online event
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByLabel('Venue Selector')
Expected string: "Online event"
Received string: "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByLabel('Venue Selector')
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
44 |
45 | await expect(venueSelector).toBeVisible();
> 46 | await expect(venueSelector).toHaveText('Online event');
| ^
47 | });
48 |
49 | test('An admin should be able to publish an offline event', async ({
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:46:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L65
4) [firefox] › editor/events.spec.ts:49:2 › Events in the Editor › An admin should be able to publish an offline event
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByLabel('Venue Selector')
Expected string: "Turin"
Received string: "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByLabel('Venue Selector')
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
- locator resolved to <select id="inspector-select-control-2" class="components-select-control__input css-k4pu08 e1mv6sxx2">…</select>
- unexpected value "Choose a venueBerlinNew YorkOnline eventOregon Convention CenterPalacio de Congresos, GranadaTest venueTurinUniversity of Technology, Sydney"
63 |
64 | await expect(venueSelector).toBeVisible();
> 65 | await expect(venueSelector).toHaveText('Turin');
| ^
66 | });
67 | });
68 |
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:65:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/venues.spec.ts#L8
5) [firefox] › editor/venues.spec.ts:11:2 › Venues in the Editor › The admin should be able to create a new Venue.
TimeoutError: page.waitForFunction: Timeout 10000ms exceeded.
6 | test.describe('Venues in the Editor', () => {
7 | test.beforeEach(async ({ admin }) => {
> 8 | await admin.createNewPost({ postType: 'gatherpress_venue' });
| ^
9 | });
10 |
11 | test('The admin should be able to create a new Venue.', async ({
at Editor.setPreferences (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18)
at Admin.createNewPost (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:43:20)
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/venues.spec.ts:8:3
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/frontend/rsvp.spec.ts#L14
6) [firefox] › frontend/rsvp.spec.ts:7:2 › RSVP to an event › A logged in user can perform RSVP action
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('header').getByRole('link', { name: 'Events' })
12 | .locator('header')
13 | .getByRole('link', { name: 'Events' })
> 14 | .click({ force: true }); // Imported from of https://github.com/GatherPress/gatherpress-demo-data
| ^
15 |
16 | await page
17 | .getByRole('link', { name: 'RSVP' })
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/frontend/rsvp.spec.ts:14:5
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/frontend/rsvp.spec.ts#L53
7) [firefox] › frontend/rsvp.spec.ts:46:2 › RSVP to an event › A NOT logged in user can NOT perform RSVP action
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('header').getByRole('link', { name: 'Events' })
51 | .locator('header')
52 | .getByRole('link', { name: 'Events' })
> 53 | .click({ force: true }); // Imported from of https://github.com/GatherPress/gatherpress-demo-data
| ^
54 |
55 | await page
56 | .getByRole('link', { name: 'RSVP' })
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/frontend/rsvp.spec.ts:53:5
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/site-editor/templates.spec.ts#L8
8) [firefox] › 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 Playground, staring Playwright & running the tests:
test/e2e/tests/wp-admin/settings.spec.ts#L20
9) [firefox] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('li').filter({ has: getByRole('link', { name: 'Events' }) }).getByRole('link', { name: 'Settings' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('li').filter({ has: getByRole('link', { name: 'Events' }) }).getByRole('link', { name: 'Settings' })
18 | });
19 |
> 20 | await expect(settingsMenu).toBeVisible();
| ^
21 | await expect(settingsMenu).toHaveAttribute(
22 | 'href',
23 | /admin\.php\?page=gatherpress_general/
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/wp-admin/settings.spec.ts:20:30
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/blocks.spec.ts#L8
10) [webkit] › editor/blocks.spec.ts:19:2 › Blocks & Patterns in the Editor › Is 1 block available?
TimeoutError: page.waitForFunction: Timeout 10000ms exceeded.
6 | test.describe('Blocks & Patterns in the Editor', () => {
7 | test.beforeEach(async ({ admin }) => {
> 8 | await admin.createNewPost();
| ^
9 | });
10 |
11 | /**
at Editor.setPreferences (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18)
at Admin.createNewPost (/home/runner/work/gatherpress/gatherpress/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:43:20)
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/blocks.spec.ts:8:3
|
Starting Playground, staring Playwright & running the tests
18 failed
[chromium] › editor/events.spec.ts:26:2 › Events in the Editor › An admin should be able to publish an online event
[chromium] › editor/events.spec.ts:49:2 › Events in the Editor › An admin should be able to publish an offline event
[firefox] › editor/events.spec.ts:26:2 › Events in the Editor › An admin should be able to publish an online event
[firefox] › editor/events.spec.ts:49:2 › Events in the Editor › An admin should be able to publish an offline event
[firefox] › editor/venues.spec.ts:11:2 › Venues in the Editor › The admin should be able to create a new Venue.
[firefox] › frontend/rsvp.spec.ts:7:2 › RSVP to an event › A logged in user can perform RSVP action
[firefox] › frontend/rsvp.spec.ts:46:2 › RSVP to an event › A NOT logged in user can NOT perform RSVP action
[firefox] › site-editor/templates.spec.ts:7:2 › Templates › The events template can be edited ──
[firefox] › wp-admin/settings.spec.ts:7:2 › Settings › A link to the plugin settings page is present under the Events menu
[webkit] › editor/blocks.spec.ts:19:2 › Blocks & Patterns in the Editor › Is 1 block available?
[webkit] › editor/events.spec.ts:14:2 › Events in the Editor › An admin should be able to publish an event
[webkit] › editor/events.spec.ts:26:2 › Events in the Editor › An admin should be able to publish an online event
[webkit] › editor/events.spec.ts:49:2 › Events in the Editor › An admin should be able to publish an offline event
[webkit] › editor/venues.spec.ts:11:2 › Venues in the Editor › The admin should be able to create a new Venue.
[webkit] › frontend/rsvp.spec.ts:7:2 › RSVP to an event › A logged in user can perform RSVP action
[webkit] › frontend/rsvp.spec.ts:46:2 › RSVP to an event › A NOT logged in user can NOT 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
9 passed (5.1m)
|
Loading