From 235fff70e7addf39f90ed8ab514333ebd67846a5 Mon Sep 17 00:00:00 2001 From: Brandon Tabaska Date: Tue, 18 Jun 2024 16:25:13 -0400 Subject: [PATCH 1/3] initial commit --- .github/workflows/ci-frontend-a11y.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci-frontend-a11y.yml b/.github/workflows/ci-frontend-a11y.yml index 8930c324f..fcf85e0c0 100644 --- a/.github/workflows/ci-frontend-a11y.yml +++ b/.github/workflows/ci-frontend-a11y.yml @@ -42,6 +42,16 @@ jobs: - name: Start server and log output run: npm run start & + - name: Start API Server for search results + run: | + cd ../api + make init db-seed-local start & + cd ..frontend + # ensure the API wait script is executable + chmod +x ../api/bin/wait-for-api.sh + ../api/bin/wait-for-api.sh + shell: bash + - name: Wait for frontend to be ready run: | # Ensure the server wait script is executable From c3bb36034f7e7dec1a83c08b92e36f39dc0c953f Mon Sep 17 00:00:00 2001 From: Brandon Tabaska Date: Thu, 20 Jun 2024 11:28:19 -0400 Subject: [PATCH 2/3] adding changes to pa11y.json files --- frontend/.pa11yci-desktop.json | 3 +++ frontend/.pa11yci-mobile.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/frontend/.pa11yci-desktop.json b/frontend/.pa11yci-desktop.json index 2f477b7bc..5f38da73a 100644 --- a/frontend/.pa11yci-desktop.json +++ b/frontend/.pa11yci-desktop.json @@ -8,6 +8,9 @@ "ignoreHTTPSErrors": true, "args": ["--disable-dev-shm-usage", "--no-sandbox"] }, + "headers": { + "Cookie": "_ff={%22showSearchV0%22:true}" + }, "actions": [ "wait for element #main-content to be visible", "screen capture screenshots-output/desktop-main-view.png" diff --git a/frontend/.pa11yci-mobile.json b/frontend/.pa11yci-mobile.json index 36e8032fa..b0dcbd2f9 100644 --- a/frontend/.pa11yci-mobile.json +++ b/frontend/.pa11yci-mobile.json @@ -8,6 +8,9 @@ "ignoreHTTPSErrors": true, "args": ["--disable-dev-shm-usage", "--no-sandbox"] }, + "headers": { + "Cookie": "_ff={%22showSearchV0%22:true}" + }, "viewport": { "width": 390, "height": 844, From 79ba97ec3e5fe3da55129051b9f7a2ff77cafe31 Mon Sep 17 00:00:00 2001 From: Brandon Tabaska Date: Fri, 21 Jun 2024 13:58:29 -0400 Subject: [PATCH 3/3] fixing small typo --- .github/workflows/ci-frontend-a11y.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-frontend-a11y.yml b/.github/workflows/ci-frontend-a11y.yml index fcf85e0c0..dab69f8a3 100644 --- a/.github/workflows/ci-frontend-a11y.yml +++ b/.github/workflows/ci-frontend-a11y.yml @@ -46,7 +46,7 @@ jobs: run: | cd ../api make init db-seed-local start & - cd ..frontend + cd ../frontend # ensure the API wait script is executable chmod +x ../api/bin/wait-for-api.sh ../api/bin/wait-for-api.sh