Skip to content

test_create_new_entry_button fails intermittently #587

Description

@peterzahemszky

"test_create_new_entry_button" fails on CI with an error message similar to

ElementClickInterceptedException: Element is not clickable because another element obscures it
ERROR: test_create_new_entry_button (selenium_tests.test_user_accounting.TestUserAccounting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/simphony-remote/simphony-remote/selenium_tests/AdminDriverTest.py", line 83, in tearDown
    self.logout()
  File "/home/runner/work/simphony-remote/simphony-remote/selenium_tests/RemoteAppDriverTest.py", line 272, in logout
    self.click_first_element_located(By.ID, "user-menu")
  File "/home/runner/work/simphony-remote/simphony-remote/selenium_tests/RemoteAppDriverTest.py", line 177, in click_first_element_located
    element.click()
  File "/home/runner/work/simphony-remote/simphony-remote/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/runner/work/simphony-remote/simphony-remote/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/home/runner/work/simphony-remote/simphony-remote/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/runner/work/simphony-remote/simphony-remote/venv/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <li id="user-menu" class="dropdown user user-menu"> is not clickable at point (1100,25) because another element <div class="modal modal-display modal-fade-leave-active modal-fade-leave-to"> obscures it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions