test(e2e): Address some Admin UI test flakiness (#2934)
* fix(e2e): Address flakiness during screen navigation * fix(e2e): Fix function call * fix(e2e): Address flakiness in connection * fix(e2e): Make locator explicit to avoid conflict when an ID has `ok` * fix(e2e): Fix URL now that project page defaults to showing targets
This commit is contained in:
1 parent
a26074a3b8
commit
1bafbe1ad2
8 files changed
+65
-53
No files matched your search
@@ -84,7 +84,7 @@ test(
|
||||
// Set auth method as primary
|
||||
await page.getByText('Manage', { exact: true }).click();
|
||||
await page.getByRole('button', { name: 'Make Primary' }).click();
|
||||
await page.getByRole('button', { name: 'OK' }).click();
|
||||
await page.getByRole('button', { name: 'OK', exact: true }).click();
|
||||
await expect(
|
||||
page.getByRole('alert').getByText('Success', { exact: true }),
|
||||
).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user