Navigator: remove location history, simplify internal logic #112764
Annotations
2 errors and 8 notices
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Sample Page')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Sample Page')
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div>
- unexpected value "not focused"
111 | // Use arrow up/down to move through the list.
112 | await page.keyboard.press( 'ArrowDown' );
> 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused();
| ^
114 |
115 | await page.keyboard.press( 'ArrowUp' );
116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
|
[chromium] › widgets/customizing-widgets.spec.js:523:2 › Widgets Customizer › should not render Block Settings sections:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › widgets/customizing-widgets.spec.js:523:2 › Widgets Customizer › should not render Block Settings sections
Error: apiRequestContext.fetch: socket hang up
Call log:
- → POST http://localhost:8889/index.php?rest_route=/wp/v2/sidebars/sidebar-2
- user-agent: Playwright/1.46.0 (x64; ubuntu 22.04) node/20.17 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 4b830c5fbb
- content-type: application/json
- content-length: 31
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1724603902%7CaloFFIY6PTnfthmRiEDfmALzN93xR7oMEo2678Egc3N%7C85d698e31085ee997d13ffc3458b03828d3b04e6502a0b11d6fdda567bc92614; wp-settings-time-1=1724431403
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 map (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/widgets.js:22:9)
at RequestUtils.deleteAllWidgets (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/widgets.js:21:12)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/customizing-widgets.spec.js:37:3
|
🎭 Playwright Run Summary
199 passed (10.2m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
1 skipped
193 passed (9.3m)
|
🎭 Playwright Run Summary
1 skipped
187 passed (9.7m)
|
🎭 Playwright Run Summary
1 skipped
193 passed (9.1m)
|
🎭 Playwright Run Summary
1 skipped
196 passed (9.7m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › widgets/customizing-widgets.spec.js:523:2 › Widgets Customizer › should not render Block Settings sections
3 skipped
189 passed (6.3m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.1m)
|
🎭 Playwright Run Summary
196 passed (10.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.68 MB |
|
flaky-tests-report
Expired
|
2.63 KB |
|