Add reset button to color control #120424
Annotations
12 errors and 8 notices
[chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L79
1) [chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Background' }) resolved to 2 elements:
1) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Background', exact: true })
2) <button type="button" aria-label="Reset background" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset background')
Call log:
- waiting for getByRole('button', { name: 'Background' })
77 | await userGlobalStylesRevisions.openStylesPanel();
78 | await page.getByRole( 'button', { name: 'Colors' } ).click();
> 79 | await page.getByRole( 'button', { name: 'Background' } ).click();
| ^
80 | await page
81 | .getByRole( 'option', { name: 'Color: Luminous vivid amber' } )
82 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:79:60
|
[chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L79
1) [chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Background' }) resolved to 2 elements:
1) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Background', exact: true })
2) <button type="button" aria-label="Reset background" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset background')
Call log:
- waiting for getByRole('button', { name: 'Background' })
77 | await userGlobalStylesRevisions.openStylesPanel();
78 | await page.getByRole( 'button', { name: 'Colors' } ).click();
> 79 | await page.getByRole( 'button', { name: 'Background' } ).click();
| ^
80 | await page
81 | .getByRole( 'option', { name: 'Color: Luminous vivid amber' } )
82 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:79:60
|
[chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L79
1) [chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Background' }) resolved to 2 elements:
1) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Background', exact: true })
2) <button type="button" aria-label="Reset background" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset background')
Call log:
- waiting for getByRole('button', { name: 'Background' })
77 | await userGlobalStylesRevisions.openStylesPanel();
78 | await page.getByRole( 'button', { name: 'Colors' } ).click();
> 79 | await page.getByRole( 'button', { name: 'Background' } ).click();
| ^
80 | await page
81 | .getByRole( 'option', { name: 'Color: Luminous vivid amber' } )
82 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:79:60
|
[chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L144
2) [chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Revisions' })
142 | await navigationContainer
143 | .getByRole( 'button', { name: 'Revisions' } )
> 144 | .click();
| ^
145 |
146 | await expect(
147 | page.getByLabel( 'Global styles revisions list' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:144:5
|
[chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L144
2) [chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Revisions' })
142 | await navigationContainer
143 | .getByRole( 'button', { name: 'Revisions' } )
> 144 | .click();
| ^
145 |
146 | await expect(
147 | page.getByLabel( 'Global styles revisions list' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:144:5
|
[chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar:
test/e2e/specs/site-editor/user-global-styles-revisions.spec.js#L144
2) [chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Revisions' })
142 | await navigationContainer
143 | .getByRole( 'button', { name: 'Revisions' } )
> 144 | .click();
| ^
145 |
146 | await expect(
147 | page.getByLabel( 'Global styles revisions list' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:144:5
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
3) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'For a specific item' })
42 | await page
43 | .getByRole( 'button', { name: 'For a specific item' } )
> 44 | .click();
| ^
45 | await page.getByRole( 'option', { name: 'Demo' } ).click();
46 | await expect( page ).toHaveURL(
47 | '/wp-admin/site-editor.php?p=%2Fwp_template%2Femptytheme%2F%2Fsingle-post-demo&canvas=edit'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
|
Playwright - 6
Process completed with exit code 1.
|
[chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors:
test/e2e/specs/editor/blocks/heading.spec.js#L228
1) [chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors
Error: locator.click: Error: strict mode violation: getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button type="button" aria-expanded="true" class="components-button block-editor-panel-color-gradient-settings__dropdown is-open is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
2) <button type="button" aria-label="Reset text" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset text')
Call log:
- waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' })
226 |
227 | // Close the popover.
> 228 | await textColor.click();
| ^
229 |
230 | await expect.poll( editor.getBlocks ).toMatchObject( [
231 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:228:19
|
[chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors:
test/e2e/specs/editor/blocks/heading.spec.js#L228
1) [chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button type="button" aria-expanded="true" class="components-button block-editor-panel-color-gradient-settings__dropdown is-open is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
2) <button type="button" aria-label="Reset text" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset text')
Call log:
- waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' })
226 |
227 | // Close the popover.
> 228 | await textColor.click();
| ^
229 |
230 | await expect.poll( editor.getBlocks ).toMatchObject( [
231 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:228:19
|
[chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors:
test/e2e/specs/editor/blocks/heading.spec.js#L228
1) [chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button type="button" aria-expanded="true" class="components-button block-editor-panel-color-gradient-settings__dropdown is-open is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
2) <button type="button" aria-label="Reset text" class="components-button block-editor-panel-color-gradient-settings__reset is-next-40px-default-size has-icon">…</button> aka getByLabel('Reset text')
Call log:
- waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Text' })
226 |
227 | // Close the popover.
> 228 | await textColor.click();
| ^
229 |
230 | await expect.poll( editor.getBlocks ).toMatchObject( [
231 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:228:19
|
Playwright - 1
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
189 passed (9.0m)
|
🎭 Playwright Run Summary
1 skipped
196 passed (10.0m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (9.7m)
|
🎭 Playwright Run Summary
1 skipped
194 passed (9.2m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.7m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › site-editor/user-global-styles-revisions.spec.js:71:2 › Style Revisions › should warn of unsaved changes before loading reset revision
[chromium] › site-editor/user-global-styles-revisions.spec.js:134:2 › Style Revisions › should access from the site editor sidebar
1 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
2 skipped
193 passed (7.3m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (10.8m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/blocks/heading.spec.js:206:2 › Heading › should correctly apply named colors
198 passed (10.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
13.9 MB |
|
flaky-tests-report
|
987 Bytes |
|