|
| 1 | +<h2>Summary of existing Case Plans</h2> |
| 2 | + |
| 3 | +| | | | |
| 4 | +| - | -: | - | |
| 5 | +| 🔵 | 14 | Case Plans with customized tables | |
| 6 | +| ⭕ | 0 | Case Plans using boilerplate code | |
| 7 | +| 🚧 | 0 | Case Plans that are missing tables | |
| 8 | + |
| 9 | +-------- |
| 10 | + |
| 11 | +<h3>🔎 (Click rows to expand) 🔍</h3> |
| 12 | + |
| 13 | +<details> |
| 14 | +<summary> 🔵 <code><b>basic_test.py::MyTestClass::test_basics</b></code></summary> |
| 15 | + |
| 16 | +| # | Step Description | Expected Result | |
| 17 | +| - | ---------------- | --------------- | |
| 18 | +| 1 | Log in to https://www.saucedemo.com with ``standard_user``. | Login was successful. | |
| 19 | +| 2 | Click on the ``Backpack`` ``ADD TO CART`` button. | The button text changed to ``REMOVE``. | |
| 20 | +| 3 | Click on the cart icon. | The ``Backpack`` is seen in the cart. | |
| 21 | +| 4 | Remove the ``Backpack`` from the cart. | The ``Backpack`` is no longer in the cart. | |
| 22 | +| 5 | Log out from the website. | Logout was successful. | |
| 23 | + |
| 24 | +</details> |
| 25 | + |
| 26 | +<details> |
| 27 | +<summary> 🔵 <code><b>list_assert_test.py::MyTestClass::test_assert_list_of_elements</b></code></summary> |
| 28 | + |
| 29 | +| # | Step Description | Expected Result | |
| 30 | +| - | ---------------- | --------------- | |
| 31 | +| 1 | Open https://seleniumbase.io/demo_page. | | |
| 32 | +| 2 | Use ``self.assert_elements_present("head", "style", "script")`` to verify that multiple elements are present in the HTML. | The assertion is successful. | |
| 33 | +| 3 | Use ``self.assert_elements("h1", "h2", "h3")`` to verify that multiple elements are visible. | The assertion is successful. | |
| 34 | +| 4 | Use ``self.assert_elements(["#myDropdown", "#myButton", "#svgRect"])`` to verify that multiple elements are visible. | The assertion is successful. | |
| 35 | + |
| 36 | +</details> |
| 37 | + |
| 38 | +<details> |
| 39 | +<summary> 🔵 <code><b>my_first_test.py::MyTestClass::test_swag_labs</b></code></summary> |
| 40 | + |
| 41 | +| # | Step Description | Expected Result | |
| 42 | +| - | ---------------- | --------------- | |
| 43 | +| 1 | Log in to https://www.saucedemo.com with ``standard_user``. | Login was successful. | |
| 44 | +| 2 | Click on the ``Backpack`` ``ADD TO CART`` button. | The button text changed to ``REMOVE``. | |
| 45 | +| 3 | Click on the cart icon. | The ``Backpack`` is seen in the cart. | |
| 46 | +| 4 | Click on the ``CHECKOUT`` button. <br /> Enter user details and click ``CONTINUE``. | The ``Backpack`` is seen in the cart on the ``CHECKOUT: OVERVIEW`` page. | |
| 47 | +| 5 | Click on the ``FINISH`` button. | There is a ``Thank You`` message and a ``Pony Express`` delivery logo. | |
| 48 | +| 6 | Log out from the website. | Logout was successful. | |
| 49 | + |
| 50 | +</details> |
| 51 | + |
| 52 | +<details> |
| 53 | +<summary> 🔵 <code><b>shadow_root_test.py::ShadowRootTest::test_shadow_root</b></code></summary> |
| 54 | + |
| 55 | +| # | Step Description | Expected Result | |
| 56 | +| - | ---------------- | --------------- | |
| 57 | +| 1 | Open https://seleniumbase.io/other/shadow_dom. <br /> Click each tab and verify the text contained within the Shadow Root sections. | Tab 1 text: ``Content Panel 1`` <br /> Tab 2 text: ``Content Panel 2`` <br /> Tab 3 text: ``Content Panel 3`` | |
| 58 | + |
| 59 | +</details> |
| 60 | + |
| 61 | +<details> |
| 62 | +<summary> 🔵 <code><b>test_calculator.py::CalculatorTests::test_6_times_7_plus_12_equals_54</b></code></summary> |
| 63 | + |
| 64 | +| # | Step Description | Expected Result | |
| 65 | +| - | ---------------- | --------------- | |
| 66 | +| 1 | Open https://seleniumbase.io/apps/calculator. <br /> Perform the following calculation: ``6 × 7 + 12`` | The output is ``54`` after pressing ``=`` | |
| 67 | + |
| 68 | +</details> |
| 69 | + |
| 70 | +<details> |
| 71 | +<summary> 🔵 <code><b>test_demo_site.py::DemoSiteTests::test_demo_site</b></code></summary> |
| 72 | + |
| 73 | +| # | Step Description | Expected Result | |
| 74 | +| - | ---------------- | --------------- | |
| 75 | +| 1 | Open https://seleniumbase.io/demo_page | | |
| 76 | +| 2 | Assert the title of the current web page. <br /> Assert that a given element is visible on the page. <br /> Assert that a text substring appears in an element's text. | The assertions were successful. | |
| 77 | +| 3 | Type text into various text fields and then verify. | The assertions were successful. | |
| 78 | +| 4 | Verify that a hover dropdown link changes page text. | The assertion was successful. | |
| 79 | +| 5 | Verify that a button click changes text on the page. | The assertion was successful. | |
| 80 | +| 6 | Verify that an SVG element is located on the page. | The assertion was successful. | |
| 81 | +| 7 | Verify that a slider control updates a progress bar. | The assertion was successful. | |
| 82 | +| 8 | Verify that a "select" option updates a meter bar. | The assertion was successful. | |
| 83 | +| 9 | Assert an element located inside an iFrame. | The assertion was successful. | |
| 84 | +| 10 | Assert text located inside an iFrame. | The assertion was successful. | |
| 85 | +| 11 | Verify that clicking a radio button selects it. | The assertion was successful. | |
| 86 | +| 12 | Verify that clicking an empty checkbox makes it selected. | The assertion was successful. | |
| 87 | +| 13 | Verify clicking on multiple elements with one call. | The assertions were successful. | |
| 88 | +| 14 | Verify that clicking an iFrame checkbox selects it. | The assertions were successful. | |
| 89 | +| 15 | Verify that Drag and Drop works. | The assertion was successful. | |
| 90 | +| 16 | Assert link text. | The assertion was successful. | |
| 91 | +| 17 | Verify clicking on link text. | The action was successful. | |
| 92 | +| 18 | Assert exact text in an element. | The assertion was successful. | |
| 93 | +| 19 | Highlight a page element. | The action was successful. | |
| 94 | +| 20 | Verify that Demo Mode works. | The assertion was successful. | |
| 95 | + |
| 96 | +</details> |
| 97 | + |
| 98 | +<details> |
| 99 | +<summary> 🔵 <code><b>test_login.py::SwagLabsLoginTests::test_swag_labs_login</b></code></summary> |
| 100 | + |
| 101 | +| # | Step Description | Expected Result | |
| 102 | +| - | ---------------- | --------------- | |
| 103 | +| 1 | Log in to https://www.saucedemo.com with ``standard_user``. | Login was successful. | |
| 104 | +| 2 | Log out from the website. | Logout was successful. | |
| 105 | + |
| 106 | +</details> |
| 107 | + |
| 108 | +<details> |
| 109 | +<summary> 🔵 <code><b>test_mfa_login.py::TestMFALogin::test_mfa_login</b></code></summary> |
| 110 | + |
| 111 | +| # | Step Description | Expected Result | |
| 112 | +| - | ---------------- | --------------- | |
| 113 | +| 1 | Open https://seleniumbase.io/realworld/login <br /> Enter credentials and Sign In. | Sign In was successful. | |
| 114 | +| 2 | Click the ``This Page`` button. <br /> Save a screenshot to the logs. | | |
| 115 | +| 3 | Click to Sign Out | Sign Out was successful. | |
| 116 | + |
| 117 | +</details> |
| 118 | + |
| 119 | +<details> |
| 120 | +<summary> 🔵 <code><b>visual_testing/layout_test.py::VisualLayoutTests::test_applitools_layout_change</b></code></summary> |
| 121 | + |
| 122 | +| # | Step Description | Expected Result | |
| 123 | +| - | ---------------- | --------------- | |
| 124 | +| 1 | Open https://applitools.com/helloworld?diff1. <br /> Call ``check_window()`` with ``baseline=True``. <br /> Click the button that changes the text of an element. <br /> Call ``check_window()`` three times for ``level=1``, ``level=2``, and ``level=3``. | No issues are detected because a text change should not affect ``check_window()`` | |
| 125 | +| 2 | Click the button that makes a hidden element visible. <br /> Call ``check_window()`` three times for ``level=1``, ``level=2``, and ``level=3``, but wrap the third call with ``self.assert_raises(Exception):``. | No exceptions are raised because the first two calls should pass and the third one was wrapped with ``self.assert_raises(Exception):``. | |
| 126 | + |
| 127 | +</details> |
| 128 | + |
| 129 | +<details> |
| 130 | +<summary> 🔵 <code><b>visual_testing/python_home_test.py::VisualLayoutTests::test_python_home_layout_change</b></code></summary> |
| 131 | + |
| 132 | +| # | Step Description | Expected Result | |
| 133 | +| - | ---------------- | --------------- | |
| 134 | +| 1 | Open https://python.org/. <br /> Call ``check_window()`` with ``baseline=True``. | | |
| 135 | +| 2 | Remove the ``Donate`` button using ``remove_element(SELECTOR)``. <br /> Call ``check_window()`` with ``level=0``. | The test detects that the ``Donate`` button was removed. The test does not fail because the check was set to ``level=0`` (print-only). <br /> A ``side_by_side_NAME.html`` file appears in the specific ``latest_logs/`` folder of the test. | |
| 136 | + |
| 137 | +</details> |
| 138 | + |
| 139 | +<details> |
| 140 | +<summary> 🔵 <code><b>visual_testing/test_layout_fail.py::VisualLayout_FixtureTests::test_python_home_change</b></code></summary> |
| 141 | + |
| 142 | +| # | Step Description | Expected Result | |
| 143 | +| - | ---------------- | --------------- | |
| 144 | +| 1 | Open https://python.org/. <br /> Call ``check_window()`` with ``baseline=True``. | | |
| 145 | +| 2 | Remove the ``Donate`` button using ``remove_element(SELECTOR)``. <br /> Call ``check_window()`` with ``level=3``. | The test fails because the ``Donate`` button was removed. <br /> A ``side_by_side.html`` file appears in the specific ``latest_logs/`` folder of the test. | |
| 146 | + |
| 147 | +</details> |
| 148 | + |
| 149 | +<details> |
| 150 | +<summary> 🔵 <code><b>visual_testing/test_layout_fail.py::VisualLayoutFailureTests::test_applitools_change</b></code></summary> |
| 151 | + |
| 152 | +| # | Step Description | Expected Result | |
| 153 | +| - | ---------------- | --------------- | |
| 154 | +| 1 | Open https://applitools.com/helloworld?diff1. <br /> Call ``check_window()`` with ``baseline=True``. | | |
| 155 | +| 2 | Click the button that makes a hidden element visible. <br /> Call ``check_window()`` with ``level=3``. | The test fails because the element attribute has changed. <br /> A ``side_by_side.html`` file appears in the specific ``latest_logs/`` folder of the test. | |
| 156 | + |
| 157 | +</details> |
| 158 | + |
| 159 | +<details> |
| 160 | +<summary> 🔵 <code><b>visual_testing/test_layout_fail.py::VisualLayoutFailureTests::test_xkcd_logo_change</b></code></summary> |
| 161 | + |
| 162 | +| # | Step Description | Expected Result | |
| 163 | +| - | ---------------- | --------------- | |
| 164 | +| 1 | Open https://xkcd.com/554/. <br /> Call ``check_window()`` with ``baseline=True``. | | |
| 165 | +| 2 | Resize the logo using ``set_attribute()``. <br /> Call ``check_window()`` with ``level=3``. | The test fails because the logo has changed. <br /> A ``side_by_side.html`` file appears in the specific ``latest_logs/`` folder of the test. | |
| 166 | + |
| 167 | +</details> |
| 168 | + |
| 169 | +<details> |
| 170 | +<summary> 🔵 <code><b>visual_testing/xkcd_visual_test.py::VisualLayoutTests::test_xkcd_layout_change</b></code></summary> |
| 171 | + |
| 172 | +| # | Step Description | Expected Result | |
| 173 | +| - | ---------------- | --------------- | |
| 174 | +| 1 | Open https://xkcd.com/554/. <br /> Call ``check_window()`` with ``baseline=True``. | | |
| 175 | +| 2 | Resize the logo using ``set_attribute()``. <br /> Call ``check_window()`` with ``level=0``. | The test detects that the logo has changed. The test does not fail because the check was set to ``level=0`` (print-only). <br /> A ``side_by_side_NAME.html`` file appears in the specific ``latest_logs/`` folder of the test. | |
| 176 | + |
| 177 | +</details> |
0 commit comments