Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jul 25, 2024
1 parent 40878bc commit 2c940ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/specs/editor/various/block-bindings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,10 @@ test.describe( 'Block bindings', () => {
.click();
await page.getByRole( 'button', { name: 'content' } ).click();
await page.keyboard.press( 'Enter' );
await page
.getByRole( 'menuitemradio' )
.filter( { hasText: 'Value of the text_custom_field' } )
.click();
const paragraphBlock = editor.canvas.getByRole( 'document', {
name: 'Block: Paragraph',
} );
Expand Down Expand Up @@ -2353,7 +2357,7 @@ test.describe( 'Block bindings', () => {
} );

const bindingLabel = page.locator(
'.components-item__block-bindings-source'
'.block-editor-bindings__item-explanation .components-truncate'
);
await expect( bindingLabel ).toHaveText( 'Server Source' );
} );
Expand Down

0 comments on commit 2c940ec

Please sign in to comment.