Update npm packages #312
Annotations
11 errors and 1 notice
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests:
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
|
Running e2e tests
The operation was canceled.
|
Running e2e tests
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)
|
Loading