Skip to content

Commit

Permalink
Swap test app with more stable demoqa.com (#210)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Kidman <carlos@qap.dev>
  • Loading branch information
ElSnoMan and Carlos Kidman authored Aug 24, 2021
1 parent 31fa941 commit 4c5fed8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ui/test_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ def test_element_should_not_be_clickable(py: Pylenium):


def test_element_should_be_visible(py: Pylenium):
py.visit('http://book.theautomatedtester.co.uk/chapter1')
py.get('#loadajax').click()
assert py.get('#ajaxdiv').should().be_visible()
py.visit(f"{DEMO_QA}/buttons")
assert py.contains("Click Me").should().be_visible()


def test_element_should_be_hidden(py: Pylenium):
Expand Down

0 comments on commit 4c5fed8

Please sign in to comment.