NEW e2e environment using playground cli #317
Annotations
11 errors and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L33
1) [chromium] › editor/events.spec.ts:18: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"
31 |
32 | await expect(venueSelector).toBeVisible();
> 33 | await expect(venueSelector).toHaveText('Online event');
| ^
34 | });
35 |
36 | 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:33:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L47
2) [chromium] › editor/events.spec.ts:36: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"
45 |
46 | await expect(venueSelector).toBeVisible();
> 47 | await expect(venueSelector).toHaveText('Turin');
| ^
48 | });
49 | });
50 |
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:47:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L33
3) [firefox] › editor/events.spec.ts:18: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"
31 |
32 | await expect(venueSelector).toBeVisible();
> 33 | await expect(venueSelector).toHaveText('Online event');
| ^
34 | });
35 |
36 | 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:33:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L47
4) [firefox] › editor/events.spec.ts:36: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"
45 |
46 | await expect(venueSelector).toBeVisible();
> 47 | await expect(venueSelector).toHaveText('Turin');
| ^
48 | });
49 | });
50 |
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:47:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L15
5) [webkit] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel('Venue Selector')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('Venue Selector')
13 | venueSelector = await page.getByLabel('Venue Selector');
14 | venueSelector.waitFor();
> 15 | await expect(venueSelector).toBeVisible();
| ^
16 | });
17 |
18 | test('An admin should be able to publish an online event', async ({
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:15:31
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L14
5) [webkit] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for getByLabel('Venue Selector') to be visible
12 |
13 | venueSelector = await page.getByLabel('Venue Selector');
> 14 | venueSelector.waitFor();
| ^
15 | await expect(venueSelector).toBeVisible();
16 | });
17 |
at /home/runner/work/gatherpress/gatherpress/test/e2e/tests/editor/events.spec.ts:14:17
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L1
5) [webkit] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
Error: end of central directory record signature not found
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/events.spec.ts#L10
6) [webkit] › editor/events.spec.ts:36:2 › Events in the Editor › An admin should be able to publish an offline event
TimeoutError: page.waitForFunction: Timeout 10000ms exceeded.
8 |
9 | test.beforeEach(async ({ admin, page }) => {
> 10 | await admin.createNewPost({ postType: 'gatherpress_event' });
| ^
11 | await page.getByLabel('Add title').fill('Change title to allow saving');
12 |
13 | venueSelector = await page.getByLabel('Venue Selector');
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/events.spec.ts:10:3
|
Starting Playground, staring Playwright & running the tests:
test/e2e/tests/editor/venues.spec.ts#L8
7) [webkit] › 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
8) [webkit] › 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
10 failed
[chromium] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
[chromium] › editor/events.spec.ts:36:2 › Events in the Editor › An admin should be able to publish an offline event
[firefox] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
[firefox] › editor/events.spec.ts:36:2 › Events in the Editor › An admin should be able to publish an offline event
[webkit] › editor/events.spec.ts:18:2 › Events in the Editor › An admin should be able to publish an online event
[webkit] › editor/events.spec.ts:36: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] › 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
11 passed (3.4m)
|
Loading