Browse Source

fix(test): changed locator to btn from icon

pull/6601/head
sreehari jayaraj 1 year ago
parent
commit
5b2fc063cd
  1. 2
      tests/playwright/pages/Account/Users.ts

2
tests/playwright/pages/Account/Users.ts

@ -88,7 +88,7 @@ export class AccountUsersPage extends BasePage {
async openRowActionMenu({ email }: { email: string }) { async openRowActionMenu({ email }: { email: string }) {
const userRow = await this.getUserRow({ email }); const userRow = await this.getUserRow({ email });
return userRow.locator(`.nc-icon`).click(); return userRow.locator(`.ant-btn`).click();
} }
async deleteUser({ email }: { email: string }) { async deleteUser({ email }: { email: string }) {

Loading…
Cancel
Save