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
@@ -61,9 +61,9 @@ test(
|
||||
await boundaryCli.makeAuthMethodPrimary(orgId, authMethodId);
|
||||
let passwordAccountId =
|
||||
await boundaryCli.createPasswordAccount(authMethodId);
|
||||
let projectScopeRoleId = await boundaryCli.createRole(projectId);
|
||||
let orgScopeRoleId = await boundaryCli.createRole(orgId);
|
||||
let globalScopeRoleId = await boundaryCli.createRole('global');
|
||||
let projectScopeRoleId = await boundaryCli.createRole(projectId, {});
|
||||
let orgScopeRoleId = await boundaryCli.createRole(orgId, {});
|
||||
let globalScopeRoleId = await boundaryCli.createRole('global', {});
|
||||
let groupId = await boundaryCli.createGroup(orgId);
|
||||
let userId = await boundaryCli.createUser(orgId);
|
||||
let staticHostCatalogId =
|
||||
@@ -177,7 +177,7 @@ test(
|
||||
await workersPage.deleteResource(page);
|
||||
|
||||
// Delete project
|
||||
await page.goto(`/scopes/${projectId}`);
|
||||
await page.goto(`/scopes/${projectId}/edit`);
|
||||
await baseResourcePage.deleteResource(page);
|
||||
|
||||
// Delete org
|
||||
|
||||
Reference in new issue
Block a user