Skip to content

Commit 4a7d1ed

Browse files
ashleyshawCopilot
andauthored
Update tests/e2e/block.spec.js
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ash Shaw <[email protected]>
1 parent 5cbc710 commit 4a7d1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/block.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test.describe( '{{projectName}} Block', () => {
2929
await page.fill( '.block-editor-inserter__search input', '{{projectName}}' );
3030

3131
// Check if block appears in search results
32-
const blockResult = page.locator( '.block-editor-block-types-list__item[data-id="{{namespace}}/{{slug}}"]' );
32+
const blockResult = page.locator( '[data-id="{{namespace}}/{{slug}}"]' );
3333
await expect( blockResult ).toBeVisible();
3434
} );
3535

0 commit comments

Comments
 (0)