We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deac888 commit 509196bCopy full SHA for 509196b
seleniumbase/fixtures/base_case.py
@@ -4453,10 +4453,10 @@ def save_teardown_screenshot(self):
4453
will still be taken after the last step of your tearDown(), where
4454
you should be calling "super(SubClassOfBaseCase, self).tearDown()"
4455
"""
4456
- test_id = self.__get_test_id()
4457
- test_logpath = self.log_path + "/" + test_id
4458
- self.__create_log_path_as_needed(test_logpath)
4459
if self.__has_exception() or self.save_screenshot_after_test:
+ test_id = self.__get_test_id()
+ test_logpath = self.log_path + "/" + test_id
+ self.__create_log_path_as_needed(test_logpath)
4460
self.__set_last_page_screenshot()
4461
if self.is_pytest:
4462
self.__add_pytest_html_extra()
0 commit comments