diff options
Update tests to accomodate token list menu additions.
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 3 |
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')) |