Skip to content

Commit 7ee9dc8

Browse files
ElSnoManCarlos Kidman
andauthored
Consolidate similar tests (#237)
Co-authored-by: Carlos Kidman <carlos@qap.dev>
1 parent cd88d45 commit 7ee9dc8

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/ui/test_pydriver.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ def test_viewport(py: Pylenium):
7272
assert {"width": 1280, "height": 800} == py.window_size
7373

7474

75-
def test_get_xpath(py: Pylenium):
76-
py.visit("https://google.com")
77-
py.getx('//*[@name="q"]').type("QA at the Point", py.Keys.ENTER)
78-
assert py.should().contain_title("QA at the Point")
79-
80-
81-
def test_find_xpath(py: Pylenium):
82-
py.visit(f"{THE_INTERNET}/checkboxes")
83-
assert py.findx('//input[@type="checkbox"]').should().be_greater_than(1)
84-
85-
8675
def test_hover_and_click_to_page_transition(py: Pylenium):
8776
py.visit("https://qap.dev")
8877
py.get('a[href="/about"]').hover().get('a[href="/leadership"][class*=Header]').click()
@@ -138,15 +127,7 @@ def test_loading_extension_to_browser(py: Pylenium, project_root):
138127
def test_should_not_find(py: Pylenium):
139128
py.visit("https://google.com")
140129
assert py.should().not_find("select")
141-
142-
143-
def test_should_not_find_xpath(py: Pylenium):
144-
py.visit("https://google.com")
145130
assert py.should().not_findx("//select")
146-
147-
148-
def test_should_not_contain(py: Pylenium):
149-
py.visit("https://google.com")
150131
assert py.should().not_contain("foobar")
151132

152133

0 commit comments

Comments
 (0)