Skip to content
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

Integtest failed test case check will skip infobox class #5108

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/report_workflow/test_report_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def get_failed_tests(base_path: str, test_number: str, test_type: str, component
return failed_test

if result_content:
if ("infoBox success" in result_content) and ("<h2>Failed tests</h2>" not in result_content):
if ("<h2>Failed tests</h2>" not in result_content):
peterzhuamazon marked this conversation as resolved.
Show resolved Hide resolved
failed_test.append("No Failed Test")
else:
soup = BeautifulSoup(result_content, "html.parser")
Expand Down
Loading