test(e2e): Address flake (#2274)
Observed a flake when the Recording ID also contained an `OK`, causing a conflict with finding this OK button.
This commit is contained in:
1 parent
dccf06cb0c
commit
3674d07762
1 file changed
+1
-1
@@ -169,7 +169,7 @@ test('Verify session recording can be deleted @ent @aws', async ({ page }) => {
|
||||
.click();
|
||||
await page.getByText('Manage').click();
|
||||
await page.getByRole('button', { name: 'Delete recording' }).click();
|
||||
await page.getByRole('button', { name: 'OK' }).click();
|
||||
await page.getByRole('button', { name: 'OK', exact: true }).click();
|
||||
await expect(
|
||||
page.getByRole('alert').getByText('Error', { exact: true }),
|
||||
).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user