|
@@ -47,9 +47,12 @@ class TestAutomationMainSuite:
|
|
# Execute test.
|
|
# Execute test.
|
|
process_utils.safe_check_call(cmd, stderr=subprocess.STDOUT, encoding='UTF-8', shell=True)
|
|
process_utils.safe_check_call(cmd, stderr=subprocess.STDOUT, encoding='UTF-8', shell=True)
|
|
try:
|
|
try:
|
|
- unexpected_lines = ["Script: Screenshot check failed. Diff score"] # "Diff score" ensures legit failure.
|
|
|
|
|
|
+ unexpected_lines = ["Script: Screenshot check failed. Diff score", # "Diff score" ensures legit failure.
|
|
|
|
+ "Trace::Error",
|
|
|
|
+ "Trace::Assert",
|
|
|
|
+ "Traceback (most recent call last):"]
|
|
atomsampleviewer_log_monitor.monitor_log_for_lines(
|
|
atomsampleviewer_log_monitor.monitor_log_for_lines(
|
|
- unexpected_lines=unexpected_lines, halt_on_unexpected=True, timeout=200)
|
|
|
|
|
|
+ unexpected_lines=unexpected_lines, halt_on_unexpected=True, timeout=240)
|
|
except ly_test_tools.log.log_monitor.LogMonitorException as e:
|
|
except ly_test_tools.log.log_monitor.LogMonitorException as e:
|
|
expected_screenshots_path = os.path.join(
|
|
expected_screenshots_path = os.path.join(
|
|
workspace.paths.project(), "Scripts", "ExpectedScreenshots")
|
|
workspace.paths.project(), "Scripts", "ExpectedScreenshots")
|