-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(e2e): set up tests on mainnet (#6229)
### Description - Moves E2E testing to mainnet. - Removes `Verify.spec` & `FiatConnectTransferOut.spec.js`. - Moves secret management from GH to GCP. - Adjusts the `waitForElementByText` util function to take an object param. - Wraps all use cases with a `e2e/src/*.spec.js`, use cases changed: - `e2e/src/usecases/ChooseYourAdventure.js` - `e2e/src/usecases/HomeFeed.js` ### Test plan To test locally, populate the `e2e/example.env` and rename for `e2e/.env`. - [x] Tested locally on iOS & Android - [x] Tested CI on iOS and on Android ### Related issues - Fixes ACT-1419 ### Backwards compatibility Yes ### Network scalability Yes --------- Co-authored-by: Joe Bergeron <jbergero@alum.mit.edu> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
- Loading branch information
1 parent
f39abe8
commit e2346ec
Showing
48 changed files
with
354 additions
and
831 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
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
E2E_TEST_FAUCET_SECRET="" | ||
E2E_WALLET_CONNECT_PROJECT_ID="" | ||
E2E_DEFAULT_RECIPIENT_MNEMONIC="" | ||
E2E_DEFAULT_RECIPIENT_PRIVATE_KEY="" | ||
E2E_WALLET_MNEMONIC="" | ||
E2E_WALLET_PRIVATE_KEY="" | ||
E2E_WALLET_SINGLE_VERIFIED_MNEMONIC="" | ||
E2E_WALLET_MULTIPLE_VERIFIED_MNEMONIC="" | ||
E2E_WALLET_12_WORDS_MNEMONIC="" |
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,4 +1,4 @@ | ||
export const E2E_TEST_WALLET = '0x6131a6d616a4be3737b38988847270a64bc10caa' | ||
export const E2E_TEST_WALLET_SECURE_SEND = '0x86b8f44386cb2d457db79c3dab8cf42f9d8a3fc0' | ||
export const E2E_TEST_FAUCET = '0xe5F5363e31351C38ac82DBAdeaD91Fd5a7B08846' | ||
export const E2E_TEST_WALLET = '0xebf95355cc5ea643179a02337f3f943fd8dd2bcb' | ||
export const E2E_TEST_WALLET_SECURE_SEND = '0x06f4b680c6cb1aeec4a3ce12c63ea18acb136aa3' | ||
export const E2E_TEST_FAUCET = '0xa694b396cd6f73e4003da8f97f4b12e498b3f2ec' | ||
export const REFILL_TOKENS = ['CELO', 'cUSD', 'cEUR'] |
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,9 +1,7 @@ | ||
import ChooseYourAdventure from './usecases/ChooseYourAdventure' | ||
import NewAccountOnboarding from './usecases/NewAccountOnboarding' | ||
import RestoreAccountOnboarding from './usecases/RestoreAccountOnboarding' | ||
|
||
describe('Account Setup', () => { | ||
describe('New Account', NewAccountOnboarding) | ||
describe('Restore', RestoreAccountOnboarding) | ||
describe('Choose Your Adventure', ChooseYourAdventure) | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import ChooseYourAdventure from './usecases/ChooseYourAdventure' | ||
|
||
describe('Choose your adventure', ChooseYourAdventure) |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.