Skip to content

Commit 646cd25

Browse files
Merge branch 'integration-tests-playwright' of github.com:wcreateweb/wordpress-plugin into task/as3cf-compatibility
2 parents d5b50b1 + 720b07f commit 646cd25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/plugin.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ test.describe('plugin', () => {
1313
});
1414

1515
test('includes settings link', async () => {
16-
await expect(page.getByRole('link', { name: 'Settings', exact: true })).toBeVisible();
16+
await expect(page.locator('#the-list').getByRole('link', { name: 'Settings' })).toBeVisible();
1717
});
1818

1919
test('includes bulk optimization link', async () => {
20-
await expect(page.getByLabel('Main content').getByRole('link', { name: 'Bulk Optimization', exact: true })).toBeVisible();
20+
await expect(page.locator('#the-list').getByRole('link', { name: 'Bulk Optimization' })).toBeVisible();
2121
});
2222
});

0 commit comments

Comments
 (0)