Skip to content

Commit 2229486

Browse files
chore: test improvements
1 parent 7b225d1 commit 2229486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/native/tests/shared/pages/WalletPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ export class WalletPage {
8181
timeout: 30000
8282
});
8383
await expect(btn).toBeEnabled();
84-
await btn.focus();
85-
await this.page.keyboard.press('Space');
84+
await btn.click();
8685
}
8786

8887
/**
@@ -115,6 +114,7 @@ export class WalletPage {
115114
*/
116115
async disconnectConnection() {
117116
await this.page.waitForLoadState();
117+
await this.page.waitForTimeout(1000);
118118
const sessionsButton = this.page.getByTestId('sessions');
119119
await sessionsButton.click();
120120

0 commit comments

Comments
 (0)