diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index bf3577b1..2c0a2da2 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -58,4 +58,5 @@ jobs: json: ${{ secrets.GWS_GITHUB_AUTOMATION_CREDS }} - name: Execute ScubaGoggles and check for correct output - run: pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="${{ secrets.GWS_SUBJECT_EMAIL }}" --domain="${{ secrets.GWS_DOMAIN }}" + run: | + pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="${{ secrets.GWS_SUBJECT_EMAIL }}" --domain="${{ secrets.GWS_DOMAIN }}" diff --git a/Testing/Functional/SmokeTests/smoke_test.py b/Testing/Functional/SmokeTests/smoke_test.py index ce9ac200..566ee9c4 100644 --- a/Testing/Functional/SmokeTests/smoke_test.py +++ b/Testing/Functional/SmokeTests/smoke_test.py @@ -26,7 +26,7 @@ def test_scubagoggles_output(self, subjectemail): def test_scubagoggles_report(self, browser, domain): try: output_path: str = get_output_path() - browser.get(os.path.join(output_path, "BaselineReports.html")) + browser.get("file://" + os.path.join(output_path, "BaselineReports.html")) h1 = browser.find_element(By.TAG_NAME, "h1").text assert h1 == "SCuBA GWS Security Baseline Conformance Reports"