E2E Utils: add setPreferences and editPost utils #86622
Annotations
4 errors and 1 notice
packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L53
1) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ───────
Error: locator.waitFor: Error: strict mode violation: locator('iframe[title="Editor canvas"i]').locator('visible=true') resolved to 3 elements:
1) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-footer')
2) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-header')
3) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-synced-footer')
=========================== logs ===========================
waiting for locator('iframe[title="Editor canvas"i]').frameLocator('visible=true').locator('body > *').first() to be visible
============================================================
at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53
51 | .locator( 'body > *' )
52 | .first()
> 53 | .waitFor();
| ^
54 | }
55 | // TODO: Ideally the content underneath the canvas loader should be marked
56 | // inert until it's ready.
at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:165:3
|
packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L53
1) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('iframe[title="Editor canvas"i]').locator('visible=true') resolved to 3 elements:
1) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-synced-footer')
2) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-header')
3) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-footer')
=========================== logs ===========================
waiting for locator('iframe[title="Editor canvas"i]').frameLocator('visible=true').locator('body > *').first() to be visible
============================================================
at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53
51 | .locator( 'body > *' )
52 | .first()
> 53 | .waitFor();
| ^
54 | }
55 | // TODO: Ideally the content underneath the canvas loader should be marked
56 | // inert until it's ready.
at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:165:3
|
packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L53
1) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('iframe[title="Editor canvas"i]').locator('visible=true') resolved to 3 elements:
1) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-header')
2) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-synced-footer')
3) <iframe tabindex="-1" aria-hidden="true" title="Editor c…></iframe> aka locator('#edit-site-patterns-unsynced-footer')
=========================== logs ===========================
waiting for locator('iframe[title="Editor canvas"i]').frameLocator('visible=true').locator('body > *').first() to be visible
============================================================
at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53
51 | .locator( 'body > *' )
52 | .first()
> 53 | .waitFor();
| ^
54 | }
55 | // TODO: Ideally the content underneath the canvas loader should be marked
56 | // inert until it's ready.
at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:53:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:165:3
|
|
|
The logs for this run have expired and are no longer available.
Loading