-
Notifications
You must be signed in to change notification settings - Fork 0
Do not ignore SKIP as a new test result after re-test #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v7.3-merged-changes
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,8 +70,6 @@ def visit_test(self, test): | |
| if old is None: | ||
| test.message = self._create_add_message(test) | ||
| self.current.tests.append(test) | ||
| elif test.skipped: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe make it conditional using a flag passed to
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestions to the flag name? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe |
||
| old.message = self._create_skip_message(old, test) | ||
| else: | ||
| test.message = self._create_merge_message(test, old) | ||
| index = self.current.tests.index(old) | ||
|
|
@@ -129,13 +127,3 @@ def _format_old_status_and_message(self, test, merge_header): | |
| self._message_header("New"), | ||
| self._message_header("Old"), | ||
| ) | ||
|
|
||
| def _create_skip_message(self, test, new): | ||
| msg = ( | ||
| f"*HTML* {test_or_task('Test', self.rpa)} has been re-executed and " | ||
| f"results merged. Latter result had {self._status_text('SKIP')} " | ||
| f"status and was ignored. Message:\n{self._html(new.message)}" | ||
| ) | ||
| if test.message: | ||
| msg += f"<hr>Original message:\n{self._html(test.message)}" | ||
| return msg | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test fails for me: