-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
78 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
import { DEFAULT_SESSION_PARAMS } from './shared/constants' | ||
import { testMW } from './shared/fixtures/w3m-wallet-fixture' | ||
|
||
// Initialize the connection | ||
testMW.beforeEach(async ({ modalPage, walletPage }) => { | ||
testMW.beforeEach(async ({ modalPage, walletPage, modalValidator, walletValidator }) => { | ||
await modalPage.copyConnectUriToClipboard() | ||
await walletPage.connect() | ||
await walletPage.handleSessionProposal(DEFAULT_SESSION_PARAMS) | ||
}) | ||
|
||
testMW('Should connect', async ({ modalValidator, walletValidator }) => { | ||
await modalValidator.expectConnected() | ||
await walletValidator.expectConnected() | ||
}) | ||
|
||
testMW.afterEach(async ({ modalPage, modalValidator, walletValidator }) => { | ||
await modalPage.disconnect() | ||
await modalValidator.expectDisconnected() | ||
await walletValidator.expectDisconnected() | ||
}) | ||
|
||
testMW('it should sign', async ({ modalPage, walletPage, modalValidator, walletValidator }) => { | ||
await modalPage.sign() | ||
await walletValidator.expectReceivedSign({}) | ||
await walletPage.handleRequest({ accept: true }) | ||
await modalValidator.expectAcceptedSign() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69d5064
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web3modal-react-wagmi-ex – ./
web3modal-react-wagmi-example.vercel.app
web3modal-react-wagmi-ex-git-v3-walletconnect1.vercel.app
web3modal-react-wagmi-ex-walletconnect1.vercel.app
69d5064
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web3modal-laboratory – ./
web3modal-laboratory-v3.vercel.app
web3modal-laboratory-git-v3-walletconnect1.vercel.app
web3modal-laboratory-walletconnect1.vercel.app
lab.web3modal.com
69d5064
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web3modal-vue-wagmi-ex – ./
web3modal-vue-wagmi-ex-walletconnect1.vercel.app
web3modal-vue-wagmi-example.vercel.app
web3modal-vue-wagmi-ex-git-v3-walletconnect1.vercel.app