aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-28 00:20:44 +0800
committerDan <danjm.com@gmail.com>2018-06-28 00:20:44 +0800
commit0cdfbb450364d986bd9bee680f16b8a3ab236fbe (patch)
tree5f25230c7166dd230cc7164862e37d310e692d59 /test
parent0b2db451eebf30ec7cc60f84291709ec11480ed9 (diff)
downloadtangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar.gz
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar.bz2
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar.lz
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar.xz
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.tar.zst
tangerine-wallet-browser-0cdfbb450364d986bd9bee680f16b8a3ab236fbe.zip
Update condition for backspace in customize gas step of token factory send test (e2e beta).
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 44610975a..669cc8fce 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -751,7 +751,10 @@ describe('MetaMask', function () {
await gasLimitInput.sendKeys(Key.chord(Key.CONTROL, 'a'))
await gasLimitInput.sendKeys('60000')
await gasLimitInput.sendKeys(Key.chord(Key.CONTROL, 'e'))
- if (process.env.SELENIUM_BROWSER === 'firefox') {
+
+ // Needed for different behaviour of input in different versions of firefox
+ const gasLimitInputValue = await gasLimitInput.getAttribute('value')
+ if (gasLimitInputValue === '600001') {
await gasLimitInput.sendKeys(Key.BACK_SPACE)
}