Update npm packages #312
Annotations
56 errors and 5 notices
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
PHP 8.0 / WordPress#6.5.5 Test
Process completed with exit code 1.
|
PHP 8.2 / WordPress Test
The job was canceled because "_8_0_WordPress_6_5_5" failed.
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100⇆}</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100⇆}</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
PHP 8.2 / WordPress Test
Process completed with exit code 1.
|
PHP 8.0 / WordPress Test
The job was canceled because "_8_0_WordPress_6_5_5" failed.
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100⇆}</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100⇆}</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
PHP 8.0 / WordPress Test
Process completed with exit code 1.
|
PHP 7.4 / WordPress Test
The job was canceled because "_8_0_WordPress_6_5_5" failed.
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100⇆}</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
PHP 7.4 / WordPress Test
The operation was canceled.
|
PHP 7.4 / WordPress#6.5.5 Test
The job was canceled because "_8_0_WordPress_6_5_5" failed.
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor:
test/e2e/test.spec.js#L30
1) [chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#wp-content-editor-container textarea.wp-editor-area')
Expected string: "<p class=\"selector\"></p>"
Received string: "p.selector "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#wp-content-editor-container textarea.wp-editor-area')
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
- locator resolved to <textarea cols="40" id="content" name="content" autocomplete="off" aria-hidden="false" class="wp-editor-area">p.selector </textarea>
- unexpected value "p.selector "
28 | await page.click( '#content-html' );
29 | const textarea = await page.locator( '#wp-content-editor-container textarea.wp-editor-area' );
> 30 | expect( textarea ).toHaveText( '<p class="selector"></p>' );
| ^
31 | await requestUtils.deactivatePlugin( 'classic-editor' );
32 | } );
33 |
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:30:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor:
test/e2e/test.spec.js#L47
2) [chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected)
Locator: locator('#newcontent')
Expected string: ".selector{font-size: 100px;}"
Received string: ".selector{fz100 }"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#newcontent')
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
- locator resolved to <textarea cols="70" rows="30" id="newcontent" name="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4">.selector{fz100 }</textarea>
- unexpected value ".selector{fz100 }"
45 | await page.click( '#submit' );
46 | const textarea = await page.locator( '#newcontent' );
> 47 | expect( textarea ).toHaveText( '.selector{font-size: 100px;}' );
| ^
48 | } );
49 |
50 | test( 'input by Emmet should be expanded on the block editor', async ( {
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:47:23
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor:
test/e2e/test.spec.js#L63
3) [chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 7
+ Received + 1
<!-- wp:html -->
- <ul class="list">
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- <li class="item"></li>
- </ul>
+ ul.list>li.item*5
<!-- /wp:html -->
61 | const replacedPostContent = postContent.replace( /\r\n/g, '\n' );
62 |
> 63 | expect( replacedPostContent ).toBe( `<!-- wp:html -->
| ^
64 | <ul class="list">
65 | <li class="item"></li>
66 | <li class="item"></li>
at /home/runner/work/custom-html-block-extension/custom-html-block-extension/test/e2e/test.spec.js:63:34
|
PHP 7.4 / WordPress#6.5.5 Test
The operation was canceled.
|
PHP 8.2 / WordPress#6.5.5 Test
The job was canceled because "_8_0_WordPress_6_5_5" failed.
|
PHP 8.2 / WordPress#6.5.5 Test
The operation was canceled.
|
🎭 Playwright Run Summary
3 failed
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
1 passed (46.3s)
|
🎭 Playwright Run Summary
3 failed
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
1 passed (46.7s)
|
🎭 Playwright Run Summary
3 failed
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
1 passed (50.5s)
|
🎭 Playwright Run Summary
3 failed
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
1 passed (48.9s)
|
🎭 Playwright Run Summary
3 failed
[chromium] › test.spec.js:8:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the classic editor
[chromium] › test.spec.js:34:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the theme editor
[chromium] › test.spec.js:50:7 › Custom HTML Block Extension › Editor › input by Emmet should be expanded on the block editor
1 passed (49.4s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts-7.4-WordPress
|
22.1 MB |
|
failures-artifacts-7.4-WordPress#6.5.5
|
23 MB |
|
failures-artifacts-8.0-WordPress
|
22.2 MB |
|
failures-artifacts-8.0-WordPress#6.5.5
|
23 MB |
|
failures-artifacts-8.2-WordPress
|
22.7 MB |
|
failures-artifacts-8.2-WordPress#6.5.5
|
6.42 MB |
|