Skip to content

Try: Fix flaky DataViews e2e test #106319

Try: Fix flaky DataViews e2e test

Try: Fix flaky DataViews e2e test #106319

Triggered via pull request June 7, 2024 13:42
Status Success
Total duration 25m 1s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
5s
Merge Artifacts
Report to GitHub
4m 7s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 8 notices
[chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template: test/e2e/specs/site-editor/command-center.spec.js#L46
1) [chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template Error: expect.toHaveText: Error: strict mode violation: getByRole('heading', { level: 1 }) resolved to 2 elements: 1) <h1 data-wp-c16t="true" data-wp-component="Heading" …>Templates</h1> aka getByRole('heading', { name: 'Templates' }) 2) <h1 data-wp-c16t="true" data-wp-component="Text" ari…>Index</h1> aka getByRole('button', { name: 'Editing template: Index Ctrl+K' }) Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('heading', { level: 1 }) 44 | await page.keyboard.type( 'index' ); 45 | await page.getByRole( 'option', { name: 'index' } ).click(); > 46 | await expect( page.getByRole( 'heading', { level: 1 } ) ).toHaveText( | ^ 47 | 'Index' 48 | ); 49 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/command-center.spec.js:46:61
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
4 skipped 192 passed (5.6m)
🎭 Playwright Run Summary
3 skipped 147 passed (7.8m)
🎭 Playwright Run Summary
1 skipped 185 passed (8.8m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template 185 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 195 passed (9.4m)
🎭 Playwright Run Summary
196 passed (10.2m)
🎭 Playwright Run Summary
223 passed (12.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
1.26 MB
flaky-tests-report Expired
1.03 KB