@@ -34,15 +34,19 @@ runs:
3434 shell : bash
3535 working-directory : " ./code-for-e2e-tests"
3636 run : |
37+ echo "::group::Installing dependencies"
3738 npm ci --ignore-scripts
39+ echo "::endgroup::"
3840
3941 - name : " Get current week number and playwright version"
4042 shell : bash
4143 working-directory : " ./code-for-e2e-tests"
4244 id : cache_key_values
4345 run : |
46+ echo "::group::Get current week number and playwright version"
4447 echo "week_num=$(date -u +'%Y-%V')" | tee -a $GITHUB_OUTPUT
4548 echo "playwright_version=$(npm view @playwright/test version)" | tee -a $GITHUB_OUTPUT
49+ echo "::endgroup::"
4650
4751 - name : " Cache Playwright browsers"
4852 uses : actions/cache@v4
@@ -56,28 +60,36 @@ runs:
5660 shell : bash
5761 working-directory : " ./code-for-e2e-tests"
5862 run : |
63+ echo "::group::Install Playwright browsers (Chromium, Firefox)"
5964 npx playwright install chromium firefox --with-deps
65+ echo "::endgroup::"
6066
6167 - name : " Install Playwright browsers (Webkit)"
6268 if : ${{ inputs.cross_browser == 'true' }}
6369 shell : bash
6470 working-directory : " ./code-for-e2e-tests"
6571 run : |
72+ echo "::group::Install Playwright browsers (Webkit)"
6673 npx playwright install webkit --with-deps
74+ echo "::endgroup::"
6775
6876 - name : " Run Playwright tests"
6977 if : ${{ inputs.cross_browser == 'false' }}
7078 shell : bash
7179 working-directory : " ./code-for-e2e-tests"
7280 run : |
81+ echo "::group::Run Playwright tests"
7382 npm run e2e
83+ echo "::endgroup::"
7484
7585 - name : " Run Playwright tests (cross browser)"
7686 if : ${{ inputs.cross_browser == 'true' }}
7787 shell : bash
7888 working-directory : " ./code-for-e2e-tests"
7989 run : |
90+ echo "::group::Run Playwright tests (cross browser)"
8091 npm run e2e -- --config=playwright.config.cross-browser.ts
92+ echo "::endgroup::"
8193
8294 - name : " Upload report"
8395 uses : actions/upload-artifact@v5
0 commit comments