Skip to content

Commit

Permalink
Part of new test disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirPodolian committed Jan 28, 2025
1 parent 57e3ed6 commit d3c2f91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/web_tests/test_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ def test_element_locator_check(mouse_event_page, driver_wrapper):
for locator in locators:
assert Element(locator).is_displayed()
assert Element(f'text={locator}').is_displayed()
if locator == choose_lang_button_name: # Move to separate test
assert not Element('.dropdown-content').is_displayed()
Element(locator).scroll_into_view().click()
Element('.dropdown-content').wait_visibility()
# if locator == choose_lang_button_name: # TODO: Move to separate test
# assert not Element('.dropdown-content').is_displayed()
# Element(locator).scroll_into_view().click()
# Element('.dropdown-content').wait_visibility()

for invalid_prefix in invalid_prefixes:
with contextlib.suppress(InvalidSelectorException):
Expand Down

0 comments on commit d3c2f91

Please sign in to comment.