Skip to content

Commit

Permalink
test(extension): drawer visibility message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oldGreg5 committed May 8, 2024
1 parent 633801f commit 6cb5bef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/e2e-tests/src/assert/drawerCommonExtendedAssert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ class DrawerCommonExtendedAssert {
}

async assertSeeDrawer(shouldSee: boolean) {
const visibilityMessage = shouldSee ? 'see' : 'not see';
await new CommonDrawerElements().drawerBody.waitForClickable({
reverse: !shouldSee,
timeout: 2000,
timeoutMsg: 'expected to not see drawer in 2s'
timeoutMsg: `expected to ${visibilityMessage} drawer in 2s`
});
}
}
Expand Down

0 comments on commit 6cb5bef

Please sign in to comment.