Feature : Refactor Autocomplete using DropdownMenu #116979
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L126
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
Expected string: "components-autocomplete-item-0-user-yourfather"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
124 | await expect(
125 | editor.canvas.locator( `#${ ariaOwns } [aria-selected="true"]` )
> 126 | ).toHaveAttribute( 'id', ariaActiveDescendant );
| ^
127 | await page.keyboard.press( 'Enter' );
128 | await page.keyboard.type( '.' );
129 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:126:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L126
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
Expected string: "components-autocomplete-item-0-user-yourfather"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
124 | await expect(
125 | editor.canvas.locator( `#${ ariaOwns } [aria-selected="true"]` )
> 126 | ).toHaveAttribute( 'id', ariaActiveDescendant );
| ^
127 | await page.keyboard.press( 'Enter' );
128 | await page.keyboard.type( '.' );
129 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:126:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L126
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
Expected string: "components-autocomplete-item-0-user-yourfather"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('#components-autocomplete-listbox-0 [aria-selected="true"]')
124 | await expect(
125 | editor.canvas.locator( `#${ ariaOwns } [aria-selected="true"]` )
> 126 | ).toHaveAttribute( 'id', ariaActiveDescendant );
| ^
127 | await page.keyboard.press( 'Enter' );
128 | await page.keyboard.type( '.' );
129 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:126:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L166
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Stuck in the middle with @testuser you.</p>
+ <p>Stuck in the middle with @testuseryou.</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
164 | await page.keyboard.press( 'Enter' );
165 | await page.keyboard.type( ' ' );
> 166 | await expect
| ^
167 | .poll( editor.getEditedPostContent )
168 | .toBe( testData.snapshot );
169 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:166:4
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L166
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Stuck in the middle with @testuser you.</p>
+ <p>Stuck in the middle with @testuseryou.</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
164 | await page.keyboard.press( 'Enter' );
165 | await page.keyboard.type( ' ' );
> 166 | await expect
| ^
167 | .poll( editor.getEditedPostContent )
168 | .toBe( testData.snapshot );
169 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:166:4
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L166
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Stuck in the middle with @testuser you.</p>
+ <p>Stuck in the middle with @testuseryou.</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
164 | await page.keyboard.press( 'Enter' );
165 | await page.keyboard.type( ' ' );
> 166 | await expect
| ^
167 | .poll( editor.getEditedPostContent )
168 | .toBe( testData.snapshot );
169 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:166:4
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L210
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Frodo Baggins ringbearer"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Frodo Baggins ringbearer"i]')
208 | `role=option[name="${ testData.secondOptionText }"i]`
209 | )
> 210 | ).toBeVisible();
| ^
211 | await page.keyboard.press( 'Enter' );
212 | await page.keyboard.type( '.' );
213 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:210:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L210
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Frodo Baggins ringbearer"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Frodo Baggins ringbearer"i]')
208 | `role=option[name="${ testData.secondOptionText }"i]`
209 | )
> 210 | ).toBeVisible();
| ^
211 | await page.keyboard.press( 'Enter' );
212 | await page.keyboard.type( '.' );
213 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:210:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L210
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Frodo Baggins ringbearer"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Frodo Baggins ringbearer"i]')
208 | `role=option[name="${ testData.secondOptionText }"i]`
209 | )
> 210 | ).toBeVisible();
| ^
211 | await page.keyboard.press( 'Enter' );
212 | await page.keyboard.type( '.' );
213 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:210:6
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L418
4) [chromium] › editor/various/autocomplete-and-mentions.spec.js:351:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
@@ -1,11 +1,11 @@
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@BuddytheElf</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@BuddytheElf</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>@BuddytheElf test</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
416 | }
417 |
> 418 | await expect
| ^
419 | .poll( editor.getEditedPostContent )
420 | .toBe( testData.snapshot );
421 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:418:4
|
Run the tests
9 failed
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
[chromium] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
[chromium] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
[chromium] › editor/various/autocomplete-and-mentions.spec.js:351:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option
[chromium] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert two subsequent options
[chromium] › editor/various/autocomplete-and-mentions.spec.js:351:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
[chromium] › editor/various/autocomplete-and-mentions.spec.js:463:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block
[chromium] › editor/various/autocomplete-and-mentions.spec.js:521:2 › Autocomplete (@Firefox, @WebKit) › should hide UI when selection changes (by mouse)
1 flaky
[chromium] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option between two other words
1 skipped
190 passed (14.0m)
|
Set up job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup Node.js and install dependencies
27s
27s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Npm build
3m 58s
3m 58s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install Playwright dependencies
51s
51s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install WordPress and start the server
1m 26s
1m 26s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run the tests
14m 0s
14m 0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Archive debug artifacts (screenshots, traces)
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Archive flaky tests report
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Setup Node.js and install dependencies
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading