Skip to content

Commit

Permalink
[py] Fixing check of type of a returned element in a test for all_of …
Browse files Browse the repository at this point in the history
…condition
  • Loading branch information
barancev committed Sep 6, 2019
1 parent 5183bd5 commit 56963e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_all_of_true(driver, pages):
EC.title_is("Hello WebDriver"),
EC.visibility_of_element_located((By.ID, "oneline"))))
assert results[0] is True
assert type(results[1]) is WebElement
assert isinstance(results[1], WebElement)


def test_all_of_false(driver, pages):
Expand Down

0 comments on commit 56963e2

Please sign in to comment.