refactor: 💡 e2e admin tests - update locators (#2931)

* refactor: 💡 e2e tests - update locators

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17174

* refactor: 💡 addressing comments

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17174

* refactor: 💡 update test for session-recording-aws-ent

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17174
This commit is contained in:
Tony authored and GitHub committed 2025-07-17 15:48:20 -04:00
1 parent 0a2d743ea2
commit b99fce7d55
17 files changed
+120 -125

No files matched your search

+2 -2
View File
@@ -46,8 +46,8 @@ export class UsersPage extends BaseResourcePage {
.getByRole('link', { name: 'Add Accounts', exact: true })
.click();
await this.page
.getByRole('cell', { name: loginName })
.locator('..')
.getByRole('row')
.filter({ has: this.page.getByRole('cell', { name: loginName }) })
.getByRole('checkbox')
.click({ force: true });