Skip to content

Commit

Permalink
Integtest failed test case check will skip infobox class (#5108)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Oct 14, 2024
1 parent fded093 commit 96af19d
Showing 1 changed file with 1 addition and 1 deletion.
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):
failed_test.append("No Failed Test")
else:
soup = BeautifulSoup(result_content, "html.parser")
Expand Down

0 comments on commit 96af19d

Please sign in to comment.