We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ebb76 commit 66ba47cCopy full SHA for 66ba47c
tests/shared/pages/WalletPage.ts
@@ -55,9 +55,7 @@ export class WalletPage {
55
56
async handleRequest({ accept }: { accept: boolean }) {
57
const variant = accept ? `approve` : `reject`
58
- // `.click` doesn't work here, so we use `.focus` and `Space`
59
await this.page.getByTestId(`session-${variant}-button`).isEnabled()
60
- await this.page.getByTestId(`session-${variant}-button`).focus()
61
- await this.page.keyboard.press('Space')
+ await this.page.getByTestId(`session-${variant}-button`).click()
62
}
63
0 commit comments