Skip to content

Commit

Permalink
test(citrus-simulator-ui): change path of artifacts and ensure that d…
Browse files Browse the repository at this point in the history
…ebug script is reached.
  • Loading branch information
muellerfluri committed Sep 13, 2024
1 parent dea242b commit a919da1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ jobs:
echo "------------------------------are reports existent?-------------------------"
ls
working-directory: simulator-ui
continue-on-error: true
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: test-results
path: test-results/
path: simulator-ui/test-results/
retention-days: 30
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
path: simulator-ui/playwright-report/
retention-days: 30
2 changes: 1 addition & 1 deletion simulator-ui/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 3 : 0,
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
Expand Down

0 comments on commit a919da1

Please sign in to comment.