Skip to content

Allow template duplication + concept of active templates #119944

Allow template duplication + concept of active templates

Allow template duplication + concept of active templates #119944

Triggered via pull request November 22, 2024 08:21
Status Success
Total duration 22m 3s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
13s
Merge Artifacts
Report to GitHub
3m 56s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 8 notices
[chromium] › site-editor/template-registration.spec.js:170:2 › Block template registration › templates can be deleted if the registered plugin is deactivated: packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L53
1) [chromium] › site-editor/template-registration.spec.js:170:2 › Block template registration › templates can be deleted if the registered plugin is deactivated Error: locator.waitFor: Error: strict mode violation: getByRole('button', { name: 'Dismiss this notice' }).getByText(/(updated|published)\./) resolved to 2 elements: 1) <div class="components-snackbar__content">…</div> aka getByTestId('snackbar').first() 2) <div class="components-snackbar__content">Template updated.</div> aka getByTestId('snackbar').nth(1) Call log: - waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText(/(updated|published)\./) to be visible at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:53 51 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 52 | .getByText( /(updated|published)\./ ) > 53 | .waitFor(); | ^ 54 | } 55 | at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:53:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-registration.spec.js:193:3
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter: test/e2e/specs/widgets/editing-widgets.spec.js#L1
2) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter { code: 'internal_server_error', message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>', data: { status: 500, error: { type: 1, message: "Uncaught Error: Failed opening required '/var/www/html/wp-content/themes/twentytwenty/classes/class-twenty-twenty-one-svg-icons.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-content/themes/twentytwentyone/functions.php:529\n" + 'Stack trace:\n' + '#0 /var/www/html/wp-settings.php(672): include()\n' + "#1 /var/www/html/wp-config.php(148): require_once('/var/www/html/w...')\n" + "#2 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')\n" + "#3 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')\n" + "#4 /var/www/html/index.php(17): require('/var/www/html/w...')\n" + '#5 {main}\n' + ' thrown', file: '/var/www/html/wp-content/themes/twentytwentyone/functions.php', line: 529 } }, additional_errors: [] }
[firefox] › editor/various/inserting-blocks.spec.js:438:2 › Inserting blocks (@firefox: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [firefox] › editor/various/inserting-blocks.spec.js:438:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from inline inserter Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fblocks&per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 4db0b7c818 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1732436956%7Cr31i8T36omKcCmSYPD40tWswJPjq5xzyNaX70PdN59r%7Cbde74614d7ed75f9ade274cefc5c0c83f6eb2a47c23c010e2d592559662b9f7a; wp-settings-time-1=1732264408 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119 117 | 118 | try { > 119 | const response = await this.request.fetch( url, { | ^ 120 | ...fetchOptions, 121 | failOnStatusCode: false, 122 | headers: { at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:28) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:25:22
🎭 Playwright Run Summary
2 flaky [chromium] › site-editor/template-registration.spec.js:170:2 › Block template registration › templates can be deleted if the registered plugin is deactivated [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter 2 skipped 190 passed (6.3m)
🎭 Playwright Run Summary
1 skipped 194 passed (8.9m)
🎭 Playwright Run Summary
1 skipped 193 passed (9.4m)
🎭 Playwright Run Summary
1 skipped 187 passed (9.6m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.6m)
🎭 Playwright Run Summary
1 flaky [firefox] › editor/various/inserting-blocks.spec.js:438:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from inline inserter 3 skipped 187 passed (10.0m)
🎭 Playwright Run Summary
1 skipped 197 passed (10.0m)
🎭 Playwright Run Summary
199 passed (10.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
6.49 MB
flaky-tests-report Expired
3.63 KB