|
| 1 | +from seleniumbase import BaseCase |
| 2 | + |
| 3 | + |
| 4 | +class DocsSiteTests(BaseCase): |
| 5 | + def test_docs(self): |
| 6 | + self.open("https://seleniumbase.io/") |
| 7 | + self.assert_exact_text("SeleniumBase ReadMe", "h1") |
| 8 | + self.click('a[href="help_docs/features_list/"]') |
| 9 | + self.assert_exact_text("Features List", "h1") |
| 10 | + self.click('a[href="../../examples/ReadMe/"]') |
| 11 | + self.assert_exact_text("Running Example Tests", "h1") |
| 12 | + self.click('a[href="../../help_docs/customizing_test_runs/"]') |
| 13 | + self.assert_exact_text("Command Line Options", "h1") |
| 14 | + self.click('a[href="../../examples/example_logs/ReadMe/"]') |
| 15 | + self.assert_exact_text("Dashboard / Reports", "h1") |
| 16 | + self.click('a[href="../../../seleniumbase/console_scripts/ReadMe/"]') |
| 17 | + self.assert_exact_text("Console Scripts", "h1") |
| 18 | + self.click('a[href="../../../help_docs/syntax_formats/"]') |
| 19 | + self.assert_exact_text("Syntax Formats", "h1") |
| 20 | + self.click('a[href="../recorder_mode/"]') |
| 21 | + self.assert_exact_text("Recorder Mode", "h1") |
| 22 | + self.click('a[href="../method_summary/"]') |
| 23 | + self.assert_exact_text("API Reference", "h1") |
| 24 | + self.click('img[alt="logo"]') |
| 25 | + self.assert_exact_text("SeleniumBase ReadMe", "h1") |
0 commit comments