diff options
author | Dan Miller <danjm.com@gmail.com> | 2019-03-29 13:07:30 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-03-29 21:43:39 +0800 |
commit | 5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3 (patch) | |
tree | 6c4c38f968edb9c65cc550fb2d8c135e6a2b00f0 /test | |
parent | d927a3c20a1b8d47baaf215ef88d9a1a88c3851a (diff) | |
download | tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar.gz tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar.bz2 tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar.lz tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar.xz tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.tar.zst tangerine-wallet-browser-5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3.zip |
Run from-import e2e tests with additional account, to avoid conflict with accounts in earlier test runs
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/beta/from-import-beta-ui.spec.js | 6 | ||||
-rwxr-xr-x | test/e2e/beta/run-all.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/e2e/beta/from-import-beta-ui.spec.js b/test/e2e/beta/from-import-beta-ui.spec.js index 962ca690a..a913caa79 100644 --- a/test/e2e/beta/from-import-beta-ui.spec.js +++ b/test/e2e/beta/from-import-beta-ui.spec.js @@ -24,8 +24,8 @@ describe('Using MetaMask with an existing account', function () { let extensionId let driver - const testSeedPhrase = 'phrase upgrade clock rough situate wedding elder clever doctor stamp excess tent' - const testAddress = '0xE18035BF8712672935FDB4e5e431b1a0183d2DFC' + const testSeedPhrase = 'forum vessel pink push lonely enact gentle tail admit parrot grunt dress' + const testAddress = '0x0Cc5261AB8cE458dc977078A3623E2BaDD27afD3' const testPrivateKey2 = '14abe6f4aab7f9f626fe981c864d0adeb5685f289ac9270c27b8fd790b4235d6' const regularDelayMs = 1000 const largeDelayMs = regularDelayMs * 2 @@ -312,7 +312,7 @@ describe('Using MetaMask with an existing account', function () { it('should show the correct account name', async () => { const [accountName] = await findElements(driver, By.css('.account-name')) - assert.equal(await accountName.getText(), 'Account 3') + assert.equal(await accountName.getText(), 'Account 4') await delay(regularDelayMs) }) diff --git a/test/e2e/beta/run-all.sh b/test/e2e/beta/run-all.sh index f2705da4c..dace0c346 100755 --- a/test/e2e/beta/run-all.sh +++ b/test/e2e/beta/run-all.sh @@ -8,4 +8,4 @@ export PATH="$PATH:./node_modules/.bin" shell-parallel -s 'npm run ganache:start -- -b 2' -x 'sleep 5 && static-server test/e2e/beta/contract-test --port 8080' -x 'sleep 5 && mocha test/e2e/beta/metamask-beta-ui.spec' shell-parallel -s 'npm run ganache:start -- -b 2' -x 'sleep 5 && static-server test/e2e/beta/contract-test --port 8080' -x 'sleep 5 && mocha test/e2e/beta/metamask-beta-responsive-ui.spec' -shell-parallel -s 'npm run ganache:start -- -d -b 2' -x 'sleep 5 && mocha test/e2e/beta/from-import-beta-ui.spec' +shell-parallel -s 'npm run ganache:start -- -d -b 2 --account=0x53CB0AB5226EEBF4D872113D98332C1555DC304443BEE1CF759D15798D3C55A9,25000000000000000000' -x 'sleep 5 && mocha test/e2e/beta/from-import-beta-ui.spec' |