Skip to content

Commit

Permalink
Remove visit of main page in start of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andmedoctopus committed Dec 29, 2023
1 parent e741974 commit e581276
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/click_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ class ClickElementsTest:
def test_click_links(self):
self.browser.links.find_by_text("FOO").click()
self.assertIn("BAR!", self.browser.html)
self.browser.visit(EXAMPLE_APP)

def test_click_element_by_css_selector(self):
self.browser.find_by_css('a[href="http://localhost:5000/foo"]').click()
self.assertIn("BAR!", self.browser.html)
self.browser.visit(EXAMPLE_APP)

def test_click_input_by_css_selector(self):
self.browser.find_by_css('input[name="send"]').click()
self.assertIn("My name is: Master Splinter", self.browser.html)
self.browser.visit(EXAMPLE_APP)

0 comments on commit e581276

Please sign in to comment.