aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/from-import-beta-ui.spec.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-08-15 23:00:55 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-08-24 07:45:27 +0800
commit6670bc0e09dacaf9a91031a348d1a551ed1e3987 (patch)
treeb8cb8ac31a6e8943288de6632f8997cc0fefc92c /test/e2e/beta/from-import-beta-ui.spec.js
parenta430eed2d89bcadc93bad84859581fb4184ac0f7 (diff)
downloadtangerine-wallet-browser-6670bc0e09dacaf9a91031a348d1a551ed1e3987.tar.gz
tangerine-wallet-browser-6670bc0e09dacaf9a91031a348d1a551ed1e3987.tar.zst
tangerine-wallet-browser-6670bc0e09dacaf9a91031a348d1a551ed1e3987.zip
Fix e2e tests
Diffstat (limited to 'test/e2e/beta/from-import-beta-ui.spec.js')
-rw-r--r--test/e2e/beta/from-import-beta-ui.spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/beta/from-import-beta-ui.spec.js b/test/e2e/beta/from-import-beta-ui.spec.js
index 1261b6f95..f8a904263 100644
--- a/test/e2e/beta/from-import-beta-ui.spec.js
+++ b/test/e2e/beta/from-import-beta-ui.spec.js
@@ -314,12 +314,12 @@ describe('Using MetaMask with an existing account', function () {
})
it('finds the transaction in the transactions list', async function () {
- const transactions = await findElements(driver, By.css('.tx-list-item'))
+ const transactions = await findElements(driver, By.css('.transaction-list-item'))
assert.equal(transactions.length, 1)
- const txValues = await findElements(driver, By.css('.tx-list-value'))
+ const txValues = await findElements(driver, By.css('.transaction-list-item__amount--secondary'))
assert.equal(txValues.length, 1)
- assert.equal(await txValues[0].getText(), '1 ETH')
+ assert.equal(await txValues[0].getText(), '-1 ETH')
})
})