Skip to content

Commit 7bc02db

Browse files
committed
FIX Playwright test
1 parent 226b43f commit 7bc02db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/tests/wizard.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ test('statistics rule should retain field', async ({ page }) => {
4040
// Go on search page
4141
await open_alert_page_and_filter(page, title);
4242

43-
await expect(page.getByRole('button', { name: 'Edit' })).toHaveCount(1);
44-
await page.getByRole('button', { name: 'Edit' }).click();
43+
await expect(page.getByRole('link', { name: 'Edit' })).toHaveCount(1);
44+
await page.getByRole('link', { name: 'Edit' }).click();
4545
await expect(page.getByText('source – string')).toBeVisible();
4646
});
4747

0 commit comments

Comments
 (0)