Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: fix docker tests upload (#9643)

Andrey Lushnikov083b54a64ea0
diff --git a/.github/workflows/tests_docker.yml b/.github/workflows/tests_docker.yml
index 024850881a..04b6dbd682 100644
--- a/.github/workflows/tests_docker.yml
+++ b/.github/workflows/tests_docker.yml
@@ -61,9 +61,7 @@ jobs:
run: docker exec playwright-docker-${{ matrix.tag }}-test npm run build
- name: Run "npm run test" inside docker
run: docker exec -e INSIDE_DOCKER=1 -e CI=1 playwright-docker-${{ matrix.tag }}-test xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" npm run test
- - name: Make all writable for uploading the test-results
- run: sudo chmod -R 777 .
- - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
+ - run: sudo chmod -R 777 . && ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
- uses: actions/upload-artifact@v1
if: ${{ always() }}