aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-19 07:35:38 +0800
committerDan <danjm.com@gmail.com>2018-06-27 21:31:26 +0800
commit13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e (patch)
treecf90ccd9537ba779e2a9490beec437f93202b4b4
parentcc61372260ed8e2f6b22e3fc57a37289382d9ff9 (diff)
downloadtangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar.gz
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar.bz2
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar.lz
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar.xz
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.tar.zst
tangerine-wallet-browser-13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e.zip
Update tests to accomodate token list menu additions.
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 451437ab1..548515760 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -804,8 +804,9 @@ describe('MetaMask', function () {
const [hideTokenEllipsis] = await findElements(driver, By.css('.token-list-item__ellipsis'))
hideTokenEllipsis.click()
- const byTokenMenuDropdownOption = By.css('.token-menu-dropdown__option')
+ const byTokenMenuDropdownOption = By.css('.menu__item--clickable')
const tokenMenuDropdownOption = await driver.wait(until.elementLocated(byTokenMenuDropdownOption))
+
tokenMenuDropdownOption.click()
const confirmHideModal = await findElement(driver, By.css('span .modal'))