From 13e0b42359bcc51e8ed4f342a5e3d3edb4cb4c3e Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 18 Jun 2018 21:05:38 -0230 Subject: [PATCH] Update tests to accomodate token list menu additions. --- test/e2e/beta/metamask-beta-ui.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'))