From e5812766109a534919c252ab50537f1936f1b307 Mon Sep 17 00:00:00 2001 From: Andmedoctopus Date: Fri, 29 Dec 2023 12:51:21 +0200 Subject: [PATCH] Remove visit of main page in start of tests --- tests/click_elements.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/click_elements.py b/tests/click_elements.py index 41f265cdd..938a244f4 100644 --- a/tests/click_elements.py +++ b/tests/click_elements.py @@ -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)