Skip to content

Commit 01c6ea3

Browse files
committed
Update Case Plans examples
1 parent 94b869f commit 01c6ea3

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

examples/case_plans/my_first_test.MyTestClass.test_swag_labs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
| 2 | Click on the ``Backpack`` ``ADD TO CART`` button. | The button text changed to ``REMOVE``. |
77
| 3 | Click on the cart icon. | The ``Backpack`` is seen in the cart. |
88
| 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. |
9-
| 5 | Click on the ``FINISH`` button. | There is a ``Thank You`` message and a ``Pony Express`` delivery logo. |
9+
| 5 | Click on the ``FINISH`` button. | There is a ``Thank you`` message. |
1010
| 6 | Log out from the website. | Logout was successful. |

examples/case_plans/list_assert_test.MyTestClass.test_assert_list_of_elements.md renamed to examples/case_plans/test_assert_elements.ListAssertTests.test_assert_list_of_elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
``list_assert_test.py::MyTestClass::test_assert_list_of_elements``
1+
``test_assert_elements.py::ListAssertTests::test_assert_list_of_elements``
22
---
33
| # | Step Description | Expected Result |
44
| - | ---------------- | --------------- |

examples/case_summary.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@
2323

2424
</details>
2525

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-
3826
<details>
3927
<summary> 🔵 <code><b>my_first_test.py::MyTestClass::test_swag_labs</b></code></summary>
4028

@@ -44,7 +32,7 @@
4432
| 2 | Click on the ``Backpack`` ``ADD TO CART`` button. | The button text changed to ``REMOVE``. |
4533
| 3 | Click on the cart icon. | The ``Backpack`` is seen in the cart. |
4634
| 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. |
4836
| 6 | Log out from the website. | Logout was successful. |
4937

5038
</details>
@@ -58,6 +46,18 @@
5846

5947
</details>
6048

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+
6161
<details>
6262
<summary> 🔵 <code><b>test_calculator.py::CalculatorTests::test_6_times_7_plus_12_equals_54</b></code></summary>
6363

0 commit comments

Comments
 (0)