Skip to content

Commit

Permalink
chore: add validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaisailovic committed Feb 28, 2024
1 parent 954b4f6 commit 367ed27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/laboratory/tests/shared/pages/ModalPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ export class ModalPage {

async disconnect() {
const accountBtn = this.page.getByTestId('account-button')
await expect(accountBtn).toBeVisible()
await expect(accountBtn).toBeEnabled()
await expect(accountBtn, 'Account button should be visible').toBeVisible()
await expect(accountBtn, 'Account button should be enabled').toBeEnabled()
await accountBtn.click({ force: true })
const disconnectBtn = this.page.getByTestId('disconnect-button')
await expect(disconnectBtn).toBeVisible()
await expect(disconnectBtn).toBeEnabled()
await expect(disconnectBtn, 'Disconnect button should be visible').toBeVisible()
await expect(disconnectBtn, 'Disconnect button should be visible').toBeEnabled()
await disconnectBtn.click({ force: true })
}

Expand Down

0 comments on commit 367ed27

Please sign in to comment.