aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:28:56 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:28:57 +0800
commitdc6f6addb9551c599dfef6a75bf59e8531a26d82 (patch)
tree13e12c6323b977012beadf76d5f20f1835a6bfe7 /test
parent4e91fc863987fa002aa4184316282ebac9945735 (diff)
downloadtangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar.gz
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar.bz2
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar.lz
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar.xz
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.tar.zst
tangerine-wallet-browser-dc6f6addb9551c599dfef6a75bf59e8531a26d82.zip
e2e: Wait a bit before clicking through privacy screen
The network connection can take a bit so we need to wait for the spinner to go away.
Diffstat (limited to 'test')
-rw-r--r--test/e2e/firefox/metamask.spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/e2e/firefox/metamask.spec.js b/test/e2e/firefox/metamask.spec.js
index 26e5dfb40..1bb76a6b5 100644
--- a/test/e2e/firefox/metamask.spec.js
+++ b/test/e2e/firefox/metamask.spec.js
@@ -59,6 +59,7 @@ describe('', function () {
})
it('shows privacy notice', async () => {
+ await delay(300)
const privacy = await driver.findElement(By.css('.terms-header')).getText()
assert.equal(privacy, 'PRIVACY NOTICE', 'shows privacy notice')
await driver.findElement(By.css('button')).click()