MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.08k stars 4.93k forks source link

Fix "Update Network: should update added rpc url for exis..." flaky tests #27422

Open hjetpoluru opened 2 months ago

hjetpoluru commented 2 months ago

https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/102184/workflows/bfe4044c-c8e3-4592-b72b-6442957fc42a/jobs/3807212/tests

Build - Regular Browser - Firefox Test scenario - Update Network: should update added rpc url for existing network Test Path - /test/e2e/tests/network/update-network.spec.ts

ElementClickInterceptedError: Element <button class="mm-box mm-picker-network multichain-app-header__contents__network-picker mm-box--margin-2 mm-box--padding-right-4 mm-box--padding-left-2 mm-box--display-none mm-box--sm:display-flex mm-box--gap-2 mm-box--align-items-center mm-box--background-color-background-alternative mm-box--rounded-pill"> is not clickable at point (218,125) because another element <div class="popover-bg"> obscures it
  (Ran on CircleCI Node 13 of 24, Job test-e2e-firefox)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:524:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:601:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:529:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:745:17)
    at async element.click (test/e2e/webdriver/driver.js:94:9)
    at async Driver.clickElement (test/e2e/webdriver/driver.js:579:9)
    at async /home/circleci/project/test/e2e/tests/network/update-network.spec.ts:2:9037
    at async withFixtures (test/e2e/helpers.js:217:5)
    at async Context.<anonymous> (test/e2e/tests/network/update-network.spec.ts:2:7120)

image

hjetpoluru commented 1 month ago

Fixed in PR https://github.com/MetaMask/metamask-extension/pull/27437

hjetpoluru commented 1 month ago

It has flaked again and re-opening the issue.