aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-03-29 05:24:13 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-03-29 21:43:20 +0800
commit99f53f582704f8bb65b5b321ebe91c5bfd5fe952 (patch)
tree03cdc52e281d62d181e504633e33b3876cdc015f /test/e2e
parent643ddcb7d79d26e278f7edba902d928b12813309 (diff)
downloadtangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar.gz
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar.bz2
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar.lz
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar.xz
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.tar.zst
tangerine-wallet-browser-99f53f582704f8bb65b5b321ebe91c5bfd5fe952.zip
e2e: Update Contract Interaction wording
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index c205ef071..89193046e 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -1040,8 +1040,7 @@ describe('MetaMask', function () {
return confirmedTxes.length === 1
}, 10000)
const txStatuses = await findElements(driver, By.css('.transaction-list-item__action'))
- const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Sent\sToken|Failed/), 10000)
- assert.equal(await tx.getText(), 'Sent Tokens')
+ await driver.wait(until.elementTextMatches(txStatuses[0], /Contract\sInteraction/i), 10000)
})
})
@@ -1125,7 +1124,7 @@ describe('MetaMask', function () {
const txValues = await findElements(driver, By.css('.transaction-list-item__amount--primary'))
await driver.wait(until.elementTextMatches(txValues[0], /-7\s*TST/))
const txStatuses = await findElements(driver, By.css('.transaction-list-item__action'))
- await driver.wait(until.elementTextMatches(txStatuses[0], /Sent\sToken/), 10000)
+ await driver.wait(until.elementTextMatches(txStatuses[0], /Contract\sInteraction/), 10000)
const walletBalance = await findElement(driver, By.css('.wallet-balance'))
await walletBalance.click()