From 5a1545b3e49be0f5954e8e1b7bb0f2a96961eba3 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Fri, 29 Mar 2019 02:37:30 -0230 Subject: Run from-import e2e tests with additional account, to avoid conflict with accounts in earlier test runs --- test/e2e/beta/from-import-beta-ui.spec.js | 6 +++--- test/e2e/beta/run-all.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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' -- cgit v1.2.3