Skip to content

Commit 78e158c

Browse files
committed
Overlooked instance
1 parent b170be0 commit 78e158c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/specs/empty-trash-restore-trashed-posts.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test.describe( 'Empty Trash', () => {
4040
await expect( listTable ).toBeVisible();
4141

4242
// Move post to trash
43-
await listTable.getByRole( 'link', { name: `${ POST_TITLE }” (Edit)` } ).hover();
43+
await listTable.getByRole( 'link', { name: `${ POST_TITLE }`, exact: true } ).hover();
4444
await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click();
4545

4646
await page.getByRole( 'link', { name: 'Trash' } ).click();

0 commit comments

Comments
 (0)