Skip to content

Commit

Permalink
[py] Correct flake8 in python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Apr 20, 2021
1 parent db6d118 commit 30be80b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ def test_clickable_element_true(driver, pages):
def test_clickable_element_false(driver, pages):
pages.load("simpleTest.html")
with pytest.raises(TimeoutException):
target = (By.ID, "hiddenline") # text, should not be clickable
target = (By.ID, "hiddenline") # text, should not be clickable
element = driver.find_element(*target) # grab element at locator
WebDriverWait(driver, 0.1).until(EC.element_to_be_clickable(element))

0 comments on commit 30be80b

Please sign in to comment.