-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We've pulled some of the code relating to JSON onboarding reused in several tests to a `WalletPageHelper`'s `onboardWithJSON` method. Now the onboarding with JSON in e2e tests requires just one command: `await walletPageHelper.onboardWithJSON(<account>)`, where `account` can be either `account1`, `account2`, or `custom`. The `account1`'s and `account2`'s JSON data (body & password) is accessed via the `onboarding.ts` file. The `custom` option allows for onboarding wit a custom account and requires providing the `customJsonBody` and `customFilePassword` parameters.
- Loading branch information
1 parent
1265763
commit 5f45f7f
Showing
5 changed files
with
84 additions
and
124 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
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