Update comments

This commit is contained in:
Michael Mintz 2022-10-02 01:11:11 -04:00
parent bf6f843d3f
commit 71730deb72
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class SwagLabsTests(BaseCase):
self.assert_element_absent("span.shopping_cart_badge")
def tearDown(self):
self.save_teardown_screenshot()
self.save_teardown_screenshot() # Only if a test fails
# Reset App State and Logout if the controls are present
try:
self.js_click_if_present("a#reset_sidebar_link")

View File

@ -66,7 +66,7 @@ class SwagLabsTests(BaseCase):
self.assert_element_absent("span.shopping_cart_badge")
def tearDown(self):
self.save_teardown_screenshot()
self.save_teardown_screenshot() # Only if a test fails
# Reset App State and Logout if the controls are present
try:
self.js_click_if_present("a#reset_sidebar_link")