Audio block: test the block for visual regressions #99546
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/audio.spec.js#L29
1) [chromium] › editor/blocks/audio.spec.js:15:2 › Visual Regression Testing › should match baseline screenshot
Error: Screenshot comparison failed:
3932 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Visual-Regression-Testing-should-match-baseline-screenshot-1-chromium.png
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium/Visual-Regression-Testing-should-match-baseline-screenshot-1-actual.png
Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium/Visual-Regression-Testing-should-match-baseline-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3932 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3932 pixels (ratio 0.01 of all image pixels) are different.
27 | const postId = await editor.publishPost();
28 | await page.goto( `/?p=${ postId }` );
> 29 | await expect( page ).toHaveScreenshot();
| ^
30 | } );
31 | } );
32 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/audio.spec.js:29:24
|
Run the tests:
test/e2e/specs/editor/blocks/audio.spec.js#L29
1) [chromium] › editor/blocks/audio.spec.js:15:2 › Visual Regression Testing › should match baseline screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3932 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Visual-Regression-Testing-should-match-baseline-screenshot-1-chromium.png
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium-retry1/Visual-Regression-Testing-should-match-baseline-screenshot-1-actual.png
Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium-retry1/Visual-Regression-Testing-should-match-baseline-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3932 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3932 pixels (ratio 0.01 of all image pixels) are different.
27 | const postId = await editor.publishPost();
28 | await page.goto( `/?p=${ postId }` );
> 29 | await expect( page ).toHaveScreenshot();
| ^
30 | } );
31 | } );
32 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/audio.spec.js:29:24
|
Run the tests:
test/e2e/specs/editor/blocks/audio.spec.js#L29
1) [chromium] › editor/blocks/audio.spec.js:15:2 › Visual Regression Testing › should match baseline screenshot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3932 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Visual-Regression-Testing-should-match-baseline-screenshot-1-chromium.png
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium-retry2/Visual-Regression-Testing-should-match-baseline-screenshot-1-actual.png
Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-audio-Visual-Regression-Testing-should-match-baseline-screenshot-chromium-retry2/Visual-Regression-Testing-should-match-baseline-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3932 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3932 pixels (ratio 0.01 of all image pixels) are different.
27 | const postId = await editor.publishPost();
28 | await page.goto( `/?p=${ postId }` );
> 29 | await expect( page ).toHaveScreenshot();
| ^
30 | } );
31 | } );
32 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/audio.spec.js:29:24
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L294
2) [chromium] › editor/blocks/buttons.spec.js:282:2 › Buttons › can apply named colors ───────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Color: Cyan bluish gray"i]')
292 | 'role=region[name="Editor settings"i] >> role=button[name="Color Text styles"i]'
293 | );
> 294 | await page.click( 'role=option[name="Color: Cyan bluish gray"i]' );
| ^
295 | await page.click(
296 | 'role=region[name="Editor settings"i] >> role=button[name="Color Background styles"i]'
297 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:294:14
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L294
2) [chromium] › editor/blocks/buttons.spec.js:282:2 › Buttons › can apply named colors ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Color: Cyan bluish gray"i]')
292 | 'role=region[name="Editor settings"i] >> role=button[name="Color Text styles"i]'
293 | );
> 294 | await page.click( 'role=option[name="Color: Cyan bluish gray"i]' );
| ^
295 | await page.click(
296 | 'role=region[name="Editor settings"i] >> role=button[name="Color Background styles"i]'
297 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:294:14
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L294
2) [chromium] › editor/blocks/buttons.spec.js:282:2 › Buttons › can apply named colors ───────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Color: Cyan bluish gray"i]')
292 | 'role=region[name="Editor settings"i] >> role=button[name="Color Text styles"i]'
293 | );
> 294 | await page.click( 'role=option[name="Color: Cyan bluish gray"i]' );
| ^
295 | await page.click(
296 | 'role=region[name="Editor settings"i] >> role=button[name="Color Background styles"i]'
297 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:294:14
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L359
3) [chromium] › editor/blocks/buttons.spec.js:343:2 › Buttons › can apply named gradient background color
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Gradient: Purple to yellow"i]')
357 | );
358 | await page.click( 'role=tab[name="Gradient"i]' );
> 359 | await page.click( 'role=option[name="Gradient: Purple to yellow"i]' );
| ^
360 |
361 | // Check the content.
362 | const content = await editor.getEditedPostContent();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:359:14
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L359
3) [chromium] › editor/blocks/buttons.spec.js:343:2 › Buttons › can apply named gradient background color
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Gradient: Purple to yellow"i]')
357 | );
358 | await page.click( 'role=tab[name="Gradient"i]' );
> 359 | await page.click( 'role=option[name="Gradient: Purple to yellow"i]' );
| ^
360 |
361 | // Check the content.
362 | const content = await editor.getEditedPostContent();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:359:14
|
Run the tests:
test/e2e/specs/editor/blocks/buttons.spec.js#L359
3) [chromium] › editor/blocks/buttons.spec.js:343:2 › Buttons › can apply named gradient background color
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=option[name="Gradient: Purple to yellow"i]')
357 | );
358 | await page.click( 'role=tab[name="Gradient"i]' );
> 359 | await page.click( 'role=option[name="Gradient: Purple to yellow"i]' );
| ^
360 |
361 | // Check the content.
362 | const content = await editor.getEditedPostContent();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:359:14
|
Run the tests:
test/e2e/specs/editor/blocks/classic.spec.js#L34
4) [chromium] › editor/blocks/classic.spec.js:31:2 › Classic › should be inserted ────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.mce-content-body')
32 | await editor.insertBlock( { name: 'core/freeform' } );
33 | // Ensure there is focus.
> 34 | await page.click( '.mce-content-body' );
| ^
35 | await page.keyboard.type( 'test' );
36 | // Move focus away.
37 | await pageUtils.pressKeys( 'shift+Tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/classic.spec.js:34:14
|
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
6 failed
[chromium] › editor/blocks/audio.spec.js:15:2 › Visual Regression Testing › should match baseline screenshot
[chromium] › editor/blocks/buttons.spec.js:282:2 › Buttons › can apply named colors ────────────
[chromium] › editor/blocks/buttons.spec.js:343:2 › Buttons › can apply named gradient background color
[chromium] › editor/blocks/classic.spec.js:31:2 › Classic › should be inserted ─────────────────
[chromium] › editor/blocks/classic.spec.js:42:2 › Classic › should insert media, convert to blocks, and undo in one step
[chromium] › editor/blocks/classic.spec.js:104:2 › Classic › Should not fail after save/reload ─
11 skipped
171 passed (12.5m)
|
The logs for this run have expired and are no longer available.
Loading