fix: escape generated dynamic content #43
Annotations
2 errors, 1 warning, and 1 notice
|
global-settings.spec.ts:141:6 › Global Settings › Global Typography Styles should be applied when adding a heading:
e2e/tests/global-settings.spec.ts#L154
2) global-settings.spec.ts:141:6 › Global Settings › Global Typography Styles should be applied when adding a heading
Error: Timed out 30000ms waiting for expect(locator).toHaveCSS(expected)
Locator: getByRole('heading', { name: 'Heading 2' })
Expected string: "uppercase"
Received string: "none"
Call log:
- expect.toHaveCSS with timeout 30000ms
- waiting for getByRole('heading', { name: 'Heading 2' })
33 × locator resolved to <h2 data-selector="h2" data-device="desktop" class="ugb-global-typography-preview__label">Heading 2</h2>
- unexpected value "none"
152 |
153 | // Verify if the Heading 2 in Global Typography Styles has correct text-transform
> 154 | await expect( page.getByRole( 'heading', { name: 'Heading 2' } ) ).toHaveCSS( 'text-transform', 'uppercase' )
| ^
155 |
156 | // Open Block Settings
157 | await page.getByLabel( 'Settings', { exact: true } ).click()
at /home/runner/work/Stackable/Stackable/e2e/tests/global-settings.spec.ts:154:70
|
|
admin.spec.ts:3:5 › Activating Stackable should redirect to the Getting Started Page:
e2e/tests/admin.spec.ts#L22
1) admin.spec.ts:3:5 › Activating Stackable should redirect to the Getting Started Page ──────────
Error: Timed out 30000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to Stackable').or(getByRole('link', { name: 'Activate Free Version' }))
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for getByText('Welcome to Stackable').or(getByRole('link', { name: 'Activate Free Version' }))
20 | const welcome = page.getByText( 'Welcome to Stackable' )
21 | const activateFree = page.getByRole( 'link', { name: 'Activate Free Version' } )
> 22 | await expect( welcome.or( activateFree ) ).toBeVisible()
| ^
23 |
24 | if ( await activateFree.isVisible().catch( () => false ) ) {
25 | await activateFree.click()
at /home/runner/work/Stackable/Stackable/e2e/tests/admin.spec.ts:22:45
|
|
Free e2e PHP 7.4 WP 6.9
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
2 flaky
admin.spec.ts:3:5 › Activating Stackable should redirect to the Getting Started Page ───────────
global-settings.spec.ts:141:6 › Global Settings › Global Typography Styles should be applied when adding a heading
32 passed (10.7m)
|