Skip to content

Commit e73dbee

Browse files
authored
chore: fix siwe.spec.ts flake when reloading page (#4245)
1 parent 247f602 commit e73dbee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/laboratory/tests/siwe.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ siweWalletTest('it should disconnect when cancel siwe from AppKit', async () =>
6868
siweWalletTest('it should be authenticated when refresh page', async () => {
6969
await modalPage.qrCodeFlow(modalPage, walletPage)
7070
await modalValidator.expectConnected()
71+
// Wait to be authenticated before reloading the page
72+
await modalValidator.expectAuthenticated()
7173
await modalPage.page.reload()
7274
await modalValidator.expectConnected()
7375
await modalValidator.expectAuthenticated()

0 commit comments

Comments
 (0)