Block Bindings: Add block context needed for bindings in PHP #96900
Annotations
8 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
Run the tests
Process completed with exit code 1.
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
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
2 failed
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
1 skipped
156 passed (8.9m)
|
The logs for this run have expired and are no longer available.
Loading