MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / test_sb_fixture_with_no_class

Function test_sb_fixture_with_no_class

examples/sb_fixture_tests.py:6–15  ·  view source on GitHub ↗
(sb: BaseCase)

Source from the content-addressed store, hash-verified

4
5# "sb" pytest fixture test in a method with no class
6def test_sb_fixture_with_no_class(sb: BaseCase):
7 sb.goto("seleniumbase.io/simple/login")
8 sb.type("#username", "demo_user")
9 sb.type("#password", "secret_pass")
10 sb.click('a:contains("Sign in")')
11 sb.assert_exact_text("Welcome!", "h1")
12 sb.assert_element("img#image1")
13 sb.highlight("#image1")
14 sb.click_link("Sign out")
15 sb.assert_text("signed out", "#top_message")
16
17
18# "sb" pytest fixture test in a method inside a class

Callers

nothing calls this directly

Calls 8

gotoMethod · 0.45
typeMethod · 0.45
clickMethod · 0.45
assert_exact_textMethod · 0.45
assert_elementMethod · 0.45
highlightMethod · 0.45
click_linkMethod · 0.45
assert_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…