|
23 | 23 |
|
24 | 24 | </details>
|
25 | 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 | 26 | <details>
|
39 | 27 | <summary> 🔵 <code><b>my_first_test.py::MyTestClass::test_swag_labs</b></code></summary>
|
40 | 28 |
|
|
44 | 32 | | 2 | Click on the ``Backpack`` ``ADD TO CART`` button. | The button text changed to ``REMOVE``. |
|
45 | 33 | | 3 | Click on the cart icon. | The ``Backpack`` is seen in the cart. |
|
46 | 34 | | 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. | |
| 35 | +| 5 | Click on the ``FINISH`` button. | There is a ``Thank you`` message. | |
48 | 36 | | 6 | Log out from the website. | Logout was successful. |
|
49 | 37 |
|
50 | 38 | </details>
|
|
58 | 46 |
|
59 | 47 | </details>
|
60 | 48 |
|
| 49 | +<details> |
| 50 | +<summary> 🔵 <code><b>test_assert_elements.py::ListAssertTests::test_assert_list_of_elements</b></code></summary> |
| 51 | + |
| 52 | +| # | Step Description | Expected Result | |
| 53 | +| - | ---------------- | --------------- | |
| 54 | +| 1 | Open https://seleniumbase.io/demo_page. | | |
| 55 | +| 2 | Use ``self.assert_elements_present("head", "style", "script")`` to verify that multiple elements are present in the HTML. | The assertion is successful. | |
| 56 | +| 3 | Use ``self.assert_elements("h1", "h2", "h3")`` to verify that multiple elements are visible. | The assertion is successful. | |
| 57 | +| 4 | Use ``self.assert_elements(["#myDropdown", "#myButton", "#svgRect"])`` to verify that multiple elements are visible. | The assertion is successful. | |
| 58 | + |
| 59 | +</details> |
| 60 | + |
61 | 61 | <details>
|
62 | 62 | <summary> 🔵 <code><b>test_calculator.py::CalculatorTests::test_6_times_7_plus_12_equals_54</b></code></summary>
|
63 | 63 |
|
|
0 commit comments