Use contextual snackbar text when activating a theme from preview #123989
Annotations
8 errors, 10 warnings, and 8 notices
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button:
test/e2e/specs/site-editor/activate-theme.spec.js#L26
1) [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
9 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
24 | await expect(
25 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 26 | ).toContainText( 'Emptytheme activated' );
| ^
27 | await admin.visitAdminPage( 'themes.php' );
28 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
29 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:26:5
|
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button:
test/e2e/specs/site-editor/activate-theme.spec.js#L26
1) [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
7 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
24 | await expect(
25 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 26 | ).toContainText( 'Emptytheme activated' );
| ^
27 | await admin.visitAdminPage( 'themes.php' );
28 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
29 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:26:5
|
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button:
test/e2e/specs/site-editor/activate-theme.spec.js#L26
1) [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
7 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
24 | await expect(
25 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 26 | ).toContainText( 'Emptytheme activated' );
| ^
27 | await admin.visitAdminPage( 'themes.php' );
28 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
29 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:26:5
|
[chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode:
test/e2e/specs/site-editor/activate-theme.spec.js#L49
2) [chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
7 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
47 | await expect(
48 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 49 | ).toContainText( 'Emptytheme activated' );
| ^
50 | await admin.visitAdminPage( 'themes.php' );
51 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
52 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:49:5
|
[chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode:
test/e2e/specs/site-editor/activate-theme.spec.js#L49
2) [chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
7 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
47 | await expect(
48 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 49 | ).toContainText( 'Emptytheme activated' );
| ^
50 | await admin.visitAdminPage( 'themes.php' );
51 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
52 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:49:5
|
[chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode:
test/e2e/specs/site-editor/activate-theme.spec.js#L49
2) [chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'Dismiss this notice' })
Expected string: "Emptytheme activated"
Received string: "Site updated.View site"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' })
7 × locator resolved to <div tabindex="0" role="button" data-testid="snackbar" class="components-snackbar" aria-label="Dismiss this notice">…</div>
- unexpected value "Site updated.View site"
47 | await expect(
48 | page.getByRole( 'button', { name: 'Dismiss this notice' } )
> 49 | ).toContainText( 'Emptytheme activated' );
| ^
50 | await admin.visitAdminPage( 'themes.php' );
51 | await expect( page.getByLabel( 'Customize Emptytheme' ) ).toBeVisible();
52 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:49:5
|
Playwright - 5
Process completed with exit code 1.
|
Merge Artifacts
No artifacts found matching pattern 'flaky-tests-report*'
|
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 5
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
2 skipped
201 passed (6.0m)
|
🎭 Playwright Run Summary
1 skipped
184 passed (7.2m)
|
🎭 Playwright Run Summary
1 skipped
224 passed (9.6m)
|
🎭 Playwright Run Summary
1 skipped
210 passed (8.6m)
|
🎭 Playwright Run Summary
207 passed (8.8m)
|
🎭 Playwright Run Summary
1 skipped
205 passed (11.1m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.8m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button
[chromium] › site-editor/activate-theme.spec.js:30:2 › Activate theme › activate block theme when live previewing in edit mode
1 skipped
171 passed (8.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
48 MB |
|