Site Editor: update index page for templates (TEST – NOT TO MERGE) #99323
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
5m 22s
Report to GitHub
3m 35s
Annotations
12 errors, 10 warnings, and 8 notices
[chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default:
test/e2e/specs/site-editor/pages.spec.js#L260
1) [chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default ─────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
258 | const templateName = 'demo';
259 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 260 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
261 | await page
262 | .getByRole( 'button', {
263 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:260:66
|
[chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default:
test/e2e/specs/site-editor/pages.spec.js#L260
1) [chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
258 | const templateName = 'demo';
259 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 260 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
261 | await page
262 | .getByRole( 'button', {
263 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:260:66
|
[chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default:
test/e2e/specs/site-editor/pages.spec.js#L260
1) [chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default ─────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
258 | const templateName = 'demo';
259 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 260 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
261 | await page
262 | .getByRole( 'button', {
263 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:260:66
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L46
2) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation
Error: page.click: Error: strict mode violation: locator('role=button[name="Add New Template"i]') resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for locator('role=button[name="Add New Template"i]')
44 | page.click( 'role=button[name="Templates"]' ),
45 | ] );
> 46 | await page.click( 'role=button[name="Add New Template"i]' );
| ^
47 | await page
48 | .getByRole( 'button', {
49 | name: 'Single item: Post',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:46:15
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L46
2) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.click: Error: strict mode violation: locator('role=button[name="Add New Template"i]') resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for locator('role=button[name="Add New Template"i]')
44 | page.click( 'role=button[name="Templates"]' ),
45 | ] );
> 46 | await page.click( 'role=button[name="Add New Template"i]' );
| ^
47 | await page
48 | .getByRole( 'button', {
49 | name: 'Single item: Post',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:46:15
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L46
2) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.click: Error: strict mode violation: locator('role=button[name="Add New Template"i]') resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for locator('role=button[name="Add New Template"i]')
44 | page.click( 'role=button[name="Templates"]' ),
45 | ] );
> 46 | await page.click( 'role=button[name="Add New Template"i]' );
| ^
47 | await page
48 | .getByRole( 'button', {
49 | name: 'Single item: Post',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:46:15
|
[chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template:
test/e2e/specs/site-editor/templates.spec.js#L17
3) [chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template ────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
15 | await admin.visitSiteEditor();
16 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 17 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
18 | await page
19 | .getByRole( 'button', {
20 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/templates.spec.js:17:66
|
[chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template:
test/e2e/specs/site-editor/templates.spec.js#L17
3) [chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
15 | await admin.visitSiteEditor();
16 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 17 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
18 | await page
19 | .getByRole( 'button', {
20 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/templates.spec.js:17:66
|
[chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template:
test/e2e/specs/site-editor/templates.spec.js#L17
3) [chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add New Template' }) resolved to 2 elements:
1) <button type="button" aria-label="Add New Template" clas…>…</button> aka getByLabel('Navigation').getByLabel('Add New Template')
2) <button type="button" aria-label="Add New Template" clas…>Add New Template</button> aka getByText('Add New Template')
Call log:
- waiting for getByRole('button', { name: 'Add New Template' })
15 | await admin.visitSiteEditor();
16 | await page.getByRole( 'button', { name: 'Templates' } ).click();
> 17 | await page.getByRole( 'button', { name: 'Add New Template' } ).click();
| ^
18 | await page
19 | .getByRole( 'button', {
20 | name: 'A custom template can be manually applied to any post or page.',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/templates.spec.js:17:66
|
Playwright - 6
Process completed with exit code 1.
|
[webkit] › editor/various/multi-block-selection.spec.js:1296:3 › Multi-block selection (@firefox:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1318
1) [webkit] › editor/various/multi-block-selection.spec.js:1296:3 › Multi-block selection (@Firefox, @WebKit) › shift+click multi-selection › should multi-select block with text selection and a block without text selection
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 4
Array [
Object {
"attributes": Object {
"content": "hi",
+ "dropCap": false,
},
+ "clientId": "36e9b6e9-f121-41c2-8ae8-52374c45c359",
+ "innerBlocks": Array [],
+ "isValid": true,
"name": "core/paragraph",
- },
- Object {
- "name": "core/spacer",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1316 | await expect
1317 | .poll( multiBlockSelectionUtils.getSelectedBlocks )
> 1318 | .toMatchObject( [
| ^
1319 | { name: 'core/paragraph', attributes: { content: 'hi' } },
1320 | { name: 'core/spacer' },
1321 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1318:6
|
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
🎭 Playwright Run Summary
3 failed
[chromium] › site-editor/pages.spec.js:252:2 › Pages › swap template and reset to default ──────
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template creation
[chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template ─────────
3 skipped
176 passed (5.8m)
|
🎭 Playwright Run Summary
181 passed (8.1m)
|
🎭 Playwright Run Summary
3 skipped
144 passed (8.1m)
|
🎭 Playwright Run Summary
1 skipped
179 passed (9.1m)
|
🎭 Playwright Run Summary
11 skipped
175 passed (8.9m)
|
🎭 Playwright Run Summary
1 skipped
182 passed (9.6m)
|
🎭 Playwright Run Summary
1 skipped
188 passed (9.6m)
|
|
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
9.51 MB |
|
flaky-tests-report
Expired
|
1.21 KB |
|