aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2019-01-30 22:00:14 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-01-30 22:00:14 +0800
commit4c16f4baeeedded17017294e76823e76546c7995 (patch)
tree20ee77acaedf4c4492714dc20525985d06b6c09b /test
parent02bdbbbc3e2d349ddde5657069ec6dda15fc6668 (diff)
downloadtangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar.gz
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar.bz2
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar.lz
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar.xz
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.tar.zst
tangerine-wallet-browser-4c16f4baeeedded17017294e76823e76546c7995.zip
e2e: Use close instead of save for gas modal (#6066)
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-responsive-ui.spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-responsive-ui.spec.js b/test/e2e/beta/metamask-beta-responsive-ui.spec.js
index 98f0e02d5..099ed944e 100644
--- a/test/e2e/beta/metamask-beta-responsive-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-responsive-ui.spec.js
@@ -278,6 +278,7 @@ describe('MetaMask', function () {
const inputValue = await inputAmount.getAttribute('value')
assert.equal(inputValue, '1')
+ await delay(regularDelayMs)
})
it('opens and closes the gas modal', async function () {
@@ -288,7 +289,7 @@ describe('MetaMask', function () {
const gasModal = await driver.findElement(By.css('span .modal'))
- const save = await findElement(driver, By.xpath(`//button[contains(text(), 'Save')]`))
+ const save = await findElement(driver, By.css('.page-container__header-close-text'))
await save.click()
await driver.wait(until.stalenessOf(gasModal), 10000)
await delay(regularDelayMs)