(sb: BaseCase)
| 4 | |
| 5 | # "sb" pytest fixture test in a method with no class |
| 6 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…