diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-17 08:59:11 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-17 08:59:11 +0800 |
commit | b369560569df435ba2644638413264b3490e2093 (patch) | |
tree | bb718fd97424e8eb6e9839458368a6d76a840d39 /test/e2e/beta | |
parent | 285814646fa147560ffe6a8903eec7220eff09bb (diff) | |
download | tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar.gz tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar.bz2 tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar.lz tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar.xz tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.tar.zst tangerine-wallet-browser-b369560569df435ba2644638413264b3490e2093.zip |
fix e2e tests
Diffstat (limited to 'test/e2e/beta')
-rw-r--r-- | test/e2e/beta/from-import-beta-ui.spec.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/e2e/beta/from-import-beta-ui.spec.js b/test/e2e/beta/from-import-beta-ui.spec.js index 5582d4697..6f06cd82f 100644 --- a/test/e2e/beta/from-import-beta-ui.spec.js +++ b/test/e2e/beta/from-import-beta-ui.spec.js @@ -359,7 +359,10 @@ describe('Using MetaMask with an existing account', function () { }) it('should open the TREZOR Connect popup', async () => { - const connectButtons = await findElements(driver, By.xpath(`//button[contains(text(), 'Connect to Trezor')]`)) + const trezorButton = await findElements(driver, By.css('.hw-connect__btn')) + await trezorButton[1].click() + await delay(regularDelayMs) + const connectButtons = await findElements(driver, By.xpath(`//button[contains(text(), 'Connect')]`)) await connectButtons[0].click() await delay(regularDelayMs) const allWindows = await driver.getAllWindowHandles() |