diff --git a/.github/workflows/journey-tests.yml b/.github/workflows/journey-tests.yml index 5e61663..4301738 100644 --- a/.github/workflows/journey-tests.yml +++ b/.github/workflows/journey-tests.yml @@ -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 diff --git a/wdio.conf.js b/wdio.conf.js index 030cd24..4e84272 100644 --- a/wdio.conf.js +++ b/wdio.conf.js @@ -185,9 +185,9 @@ export const config = { context, { error, result, duration, passed, retries } ) { - if (error) { - await browser.takeScreenshot() - } + // if (error) { + await browser.takeScreenshot() + // } }, /**