Block Bindings: Keep bindings editor calls in their own logic useSelect
#116005
Annotations
7 errors and 1 notice
test/e2e/specs/editor/various/pattern-overrides.spec.js#L392
1) [chromium] › editor/various/pattern-overrides.spec.js:317:2 › Pattern Overrides › handles button's link settings
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('link', { name: 'Button' })
Expected string: "_blank"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('link', { name: 'Button' })
390 | const buttonLink = previewPage.getByRole( 'link', { name: 'Button' } );
391 |
> 392 | await expect( buttonLink ).toHaveAttribute( 'target', '_blank' );
| ^
393 | await expect( buttonLink ).toHaveAttribute(
394 | 'rel',
395 | 'noreferrer noopener'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:392:30
|
test/e2e/specs/editor/various/pattern-overrides.spec.js#L392
1) [chromium] › editor/various/pattern-overrides.spec.js:317:2 › Pattern Overrides › handles button's link settings
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('link', { name: 'Button' })
Expected string: "_blank"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('link', { name: 'Button' })
390 | const buttonLink = previewPage.getByRole( 'link', { name: 'Button' } );
391 |
> 392 | await expect( buttonLink ).toHaveAttribute( 'target', '_blank' );
| ^
393 | await expect( buttonLink ).toHaveAttribute(
394 | 'rel',
395 | 'noreferrer noopener'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:392:30
|
test/e2e/specs/editor/various/pattern-overrides.spec.js#L392
1) [chromium] › editor/various/pattern-overrides.spec.js:317:2 › Pattern Overrides › handles button's link settings
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('link', { name: 'Button' })
Expected string: "_blank"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('link', { name: 'Button' })
390 | const buttonLink = previewPage.getByRole( 'link', { name: 'Button' } );
391 |
> 392 | await expect( buttonLink ).toHaveAttribute( 'target', '_blank' );
| ^
393 | await expect( buttonLink ).toHaveAttribute(
394 | 'rel',
395 | 'noreferrer noopener'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:392:30
|
test/e2e/specs/editor/various/pattern-overrides.spec.js#L1144
2) [chromium] › editor/various/pattern-overrides.spec.js:1070:2 › Pattern Overrides › handles back-compat from individual attributes to __default
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('img', { name: 'Test Image' })
Expected pattern: /\/wp-content\/uploads\//
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('img', { name: 'Test Image' })
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
1142 | await expect(
1143 | page.getByRole( 'img', { name: 'Test Image' } )
> 1144 | ).toHaveAttribute( 'src', /\/wp-content\/uploads\// );
| ^
1145 | } );
1146 | } );
1147 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:1144:5
|
test/e2e/specs/editor/various/pattern-overrides.spec.js#L1144
2) [chromium] › editor/various/pattern-overrides.spec.js:1070:2 › Pattern Overrides › handles back-compat from individual attributes to __default
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('img', { name: 'Test Image' })
Expected pattern: /\/wp-content\/uploads\//
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('img', { name: 'Test Image' })
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
1142 | await expect(
1143 | page.getByRole( 'img', { name: 'Test Image' } )
> 1144 | ).toHaveAttribute( 'src', /\/wp-content\/uploads\// );
| ^
1145 | } );
1146 | } );
1147 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:1144:5
|
test/e2e/specs/editor/various/pattern-overrides.spec.js#L1144
2) [chromium] › editor/various/pattern-overrides.spec.js:1070:2 › Pattern Overrides › handles back-compat from individual attributes to __default
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('img', { name: 'Test Image' })
Expected pattern: /\/wp-content\/uploads\//
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('img', { name: 'Test Image' })
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
- locator resolved to <img src="" title="" decoding="async" alt="Test Image"/>
- unexpected value ""
1142 | await expect(
1143 | page.getByRole( 'img', { name: 'Test Image' } )
> 1144 | ).toHaveAttribute( 'src', /\/wp-content\/uploads\// );
| ^
1145 | } );
1146 | } );
1147 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:1144:5
|
|
|
This job failed
Loading