Update tests to accomodate token list menu additions.

feature/default_network_editable
Dan 7 years ago
parent cc61372260
commit 13e0b42359
  1. 3
      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'))

Loading…
Cancel
Save