Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed Aug 13, 2024
1 parent d51d009 commit 5552f11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ jobs:
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install
- name: Add config
run: cp e2e_tests/.env.example e2e_tests/.env
- name: Run Playwright tests
run: npm run e2e-test
env:
DELIUS_USERNAME: ${{ secrets.E2E_DELIUS_USERNAME }}
DELIUS_PASSWORD: ${{ secrets.E2E_DELIUS_PASSWORD }}
- name: Publish HTML report
if: always()
uses: JamesIves/github-pages-deploy-action@94f3c658273cf92fb48ef99e5fbc02bd2dc642b2 # v4
Expand Down
4 changes: 2 additions & 2 deletions .zap/autorun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ env:
users:
- name: "TestUser"
credentials:
username: "$ZAP_USERNAME"
password: "$ZAP_PASSWORD"
username: "$E2E_DELIUS_USERNAME"
password: "$E2E_DELIUS_PASSWORD"
parameters:
failOnError: true
failOnWarning: false
Expand Down
4 changes: 2 additions & 2 deletions e2e_tests/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ DELIUS_URL=https://ndelius.test.probation.service.justice.gov.uk
MANAGE_A_SUPERVISION_URL=https://manage-a-supervision-dev.hmpps.service.justice.gov.uk

# Credentials
DELIUS_USERNAME=example
DELIUS_PASSWORD=example
#DELIUS_USERNAME=example
#DELIUS_PASSWORD=example

0 comments on commit 5552f11

Please sign in to comment.