Add defaultFontSizes theme.json (theme.json v3) #96293
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L55
1) [chromium] › site-editor/style-variations.spec.js:32:2 › Global styles variations › should have three variations available with the first one being active
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.edit-site-global-styles-variations_item').first()
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.edit-site-global-styles-variations_item').first()
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
53 | await expect( variations ).toHaveCount( 3 );
54 |
> 55 | await expect( variations.first() ).toHaveAttribute(
| ^
56 | 'aria-current',
57 | 'true'
58 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:55:38
|
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L55
1) [chromium] › site-editor/style-variations.spec.js:32:2 › Global styles variations › should have three variations available with the first one being active
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.edit-site-global-styles-variations_item').first()
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.edit-site-global-styles-variations_item').first()
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
53 | await expect( variations ).toHaveCount( 3 );
54 |
> 55 | await expect( variations.first() ).toHaveAttribute(
| ^
56 | 'aria-current',
57 | 'true'
58 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:55:38
|
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L55
1) [chromium] › site-editor/style-variations.spec.js:32:2 › Global styles variations › should have three variations available with the first one being active
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.edit-site-global-styles-variations_item').first()
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.edit-site-global-styles-variations_item').first()
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
- locator resolved to <div tabindex="0" role="button" aria-label="Default" …>…</div>
- unexpected value "false"
53 | await expect( variations ).toHaveCount( 3 );
54 |
> 55 | await expect( variations.first() ).toHaveAttribute(
| ^
56 | 'aria-current',
57 | 'true'
58 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:55:38
|
Run the tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
1 failed
[chromium] › site-editor/style-variations.spec.js:32:2 › Global styles variations › should have three variations available with the first one being active
4 skipped
131 passed (6.6m)
|
The logs for this run have expired and are no longer available.
Loading