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 5eecc0e commit 27ebb76Copy full SHA for 27ebb76
tests/shared/pages/WalletPage.ts
@@ -49,10 +49,8 @@ export class WalletPage {
49
*/
50
async handleSessionProposal(opts: SessionParams) {
51
const variant = opts.accept ? `approve` : `reject`
52
- // `.click` doesn't work here, so we use `.focus` and `Space`
53
await this.page.getByTestId(`session-${variant}-button`).isEnabled()
54
- await this.page.getByTestId(`session-${variant}-button`).focus()
55
- await this.page.keyboard.press('Space')
+ await this.page.getByTestId(`session-${variant}-button`).click()
56
}
57
58
async handleRequest({ accept }: { accept: boolean }) {
0 commit comments