Editor: Refactor 'PostPublishButton' into function component #157141
Annotations
2 errors and 1 notice
|
[chromium] › specs/editor/various/autosave.spec.js:282:2 › Autosave › shouldn't conflict with server-side autosave:
test/e2e/specs/editor/various/autosave.spec.js#L348
1) [chromium] › specs/editor/various/autosave.spec.js:282:2 › Autosave › shouldn't conflict with server-side autosave
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.components-notice__content')
Expected substring: "There is an autosave of this post that is more recent than the version below."
Error: strict mode violation: locator('.components-notice__content') resolved to 2 elements:
1) <div class="components-notice__content">The backup of this post in your browser is differ…</div> aka getByText('The backup of this post in')
2) <div class="components-notice__content">There is an autosave of this post that is more re…</div> aka getByLabel('Editor content').getByText('There is an autosave of this')
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.components-notice__content')
346 | await expect(
347 | page.locator( '.components-notice__content' )
> 348 | ).toContainText(
| ^
349 | 'There is an autosave of this post that is more recent than the version below.'
350 | );
351 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autosave.spec.js:348:5
|
|
[chromium] › specs/editor/various/autosave.spec.js:282:2 › Autosave › shouldn't conflict with server-side autosave:
test/e2e/specs/editor/various/autosave.spec.js#L348
1) [chromium] › specs/editor/various/autosave.spec.js:282:2 › Autosave › shouldn't conflict with server-side autosave
Error: expect(locator).toContainText(expected) failed
Locator: locator('.components-notice__content')
Expected substring: "There is an autosave of this post that is more recent than the version below."
Error: strict mode violation: locator('.components-notice__content') resolved to 2 elements:
1) <div class="components-notice__content">The backup of this post in your browser is differ…</div> aka getByText('The backup of this post in')
2) <div class="components-notice__content">There is an autosave of this post that is more re…</div> aka getByLabel('Editor content').getByText('There is an autosave of this')
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.components-notice__content')
346 | await expect(
347 | page.locator( '.components-notice__content' )
> 348 | ).toContainText(
| ^
349 | 'There is an autosave of this post that is more recent than the version below.'
350 | );
351 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autosave.spec.js:348:5
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/various/autosave.spec.js:282:2 › Autosave › shouldn't conflict with server-side autosave
4 skipped
267 passed (13.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
|
4.85 MB |
sha256:ef6b127f30ceaad79051a5625365778cfedc4b75e259e41801c33ba57259ff42
|
|
|
flaky-tests-report
|
1.28 KB |
sha256:8c904a99d740d129c624734d3379a547513fb963daeb12f88670277da27357d1
|
|
|
html-report--attempt-2
|
5.29 MB |
sha256:701ea03b1783f6e3bce13b6ddbf814b34629d5ef80cb8494abf4cf637cebc579
|
|