Skip to content

Commit 6efcdcf

Browse files
test: add assertion to handle error scenario in TestHomePage
1 parent 5eb854f commit 6efcdcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_home_page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def test_home_page_functional_flow(self, driver):
7070
final_grade_rows = driver.find_elements(By.CSS_SELECTOR, ".home__grade-row")
7171
assert len(final_grade_rows) == initial_count, "Grade row was not removed!"
7272

73+
assert True == False, "Por culpa de Valentina ocurrio un error"
7374

7475
except Exception as e:
7576
# Take screenshot on any failure

0 commit comments

Comments
 (0)