Skip to content

Commit

Permalink
Merge pull request #28 from DEFRA/failure-investigation
Browse files Browse the repository at this point in the history
Failure investigation
  • Loading branch information
feedmypixel authored Dec 18, 2024
2 parents 3d04f98 + 2cc8401 commit ee7f676
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/journey-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,20 @@ jobs:
run: |
npm run test:github
npm run report
- name: upload artifact
- name: debug
if: failure()
run: |
docker compose logs > logs.txt
docker ps
- name: Upload allure report
if: failure()
uses: actions/upload-artifact@v4
with:
name: allure-report
path: ./allure-report
- name: debug
- name: Upload docker compose logs
if: failure()
run: |
docker compose logs > logs.txt
docker ps
uses: actions/upload-artifact@v4
with:
name: docker-compose-logs
path: ./logs.txt
6 changes: 3 additions & 3 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ export const config = {
context,
{ error, result, duration, passed, retries }
) {
if (error) {
await browser.takeScreenshot()
}
// if (error) {
await browser.takeScreenshot()
// }
},

/**
Expand Down

0 comments on commit ee7f676

Please sign in to comment.