|
@@ -34,7 +34,7 @@ class TestAutomationMainSuite:
|
|
def test_AutomatedReviewTestSuite(self, request, workspace, launcher_platform, rhi, atomsampleviewer_log_monitor):
|
|
def test_AutomatedReviewTestSuite(self, request, workspace, launcher_platform, rhi, atomsampleviewer_log_monitor):
|
|
# Script call setup.
|
|
# Script call setup.
|
|
test_script = '_AutomatedReviewTestSuite_.bv.lua'
|
|
test_script = '_AutomatedReviewTestSuite_.bv.lua'
|
|
- test_script_path = os.path.join(workspace.paths.engine_root(), 'AtomSampleViewer', 'Scripts', test_script)
|
|
|
|
|
|
+ test_script_path = os.path.join(workspace.paths.project(), 'Scripts', test_script)
|
|
if not os.path.exists(test_script_path):
|
|
if not os.path.exists(test_script_path):
|
|
raise AtomSampleViewerException(f'Test script does not exist in path: {test_script_path}')
|
|
raise AtomSampleViewerException(f'Test script does not exist in path: {test_script_path}')
|
|
cmd = os.path.join(workspace.paths.build_directory(),
|
|
cmd = os.path.join(workspace.paths.build_directory(),
|
|
@@ -57,7 +57,7 @@ class TestAutomationMainSuite:
|
|
unexpected_lines=unexpected_lines, halt_on_unexpected=True, timeout=200)
|
|
unexpected_lines=unexpected_lines, halt_on_unexpected=True, timeout=200)
|
|
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.engine_root(), "AtomSampleViewer", "Scripts", "ExpectedScreenshots")
|
|
|
|
|
|
+ workspace.paths.project(), "Scripts", "ExpectedScreenshots")
|
|
test_screenshots_path = os.path.join(
|
|
test_screenshots_path = os.path.join(
|
|
workspace.paths.project(), "user", "Scripts", "Screenshots")
|
|
workspace.paths.project(), "user", "Scripts", "Screenshots")
|
|
raise AtomSampleViewerException(
|
|
raise AtomSampleViewerException(
|