Skip to content

Commit

Permalink
fix: add browser logs to debug issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Nov 8, 2024
1 parent 52a8296 commit 9f26ea7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/desktop-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ on:
description: 'Playwright workers to start'
required: true
type: number
default: 4
default: 16

concurrency:
group: ${{ github.workflow }}
Expand All @@ -61,10 +61,9 @@ jobs:
runs-on: [self-hosted, Linux, X64, qa-desktop]
container:
image: mcr.microsoft.com/playwright:v1.47.1-noble
options: --cpus 8
options: --cpus 16

env:
SESSION_DESKTOP_ROOT: '$GITHUB_WORKSPACE/desktop'
# PLAYWRIGHT_CUSTOM_REPORTER: 1
PLAYWRIGHT_REPEAT_COUNT: ${{ github.event.inputs.PLAYWRIGHT_REPEAT_COUNT }}
PLAYWRIGHT_RETRIES_COUNT: ${{ github.event.inputs.PLAYWRIGHT_RETRIES_COUNT }}
Expand All @@ -75,7 +74,6 @@ jobs:
- uses: actions/checkout@v4
- name: Runner Details
run: |
echo "SESSION_DESKTOP_ROOT ${{ env.SESSION_DESKTOP_ROOT }}"
echo "PLAYWRIGHT_REPO ${{ github.event.inputs.PLAYWRIGHT_REPO }}"
echo "BRANCH_TO_CHECKOUT_PW ${{ github.event.inputs.BRANCH_TO_CHECKOUT_PW }}"
echo "SESSION_DESKTOP_REPO ${{ github.event.inputs.SESSION_DESKTOP_REPO }}"
Expand Down Expand Up @@ -158,7 +156,7 @@ jobs:
- name: Run the Desktop tests
run: |
cd $GITHUB_WORKSPACE/playwright
yarn test -g "Create User"
SESSION_DESKTOP_ROOT=$GITHUB_WORKSPACE/desktop nice ionice xvfb-run --auto-servernum --server-num=1 --server-args='-screen 0, 1920x1080x24' yarn test
- name: Kill all running electron app
if: always()
Expand Down

0 comments on commit 9f26ea7

Please sign in to comment.