Skip to content

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

devops: fix Docker test-result uploads

Max Schmitt299d3d60743f
diff --git a/.github/workflows/tests_docker.yml b/.github/workflows/tests_docker.yml
index dfae4ae055..024850881a 100644
--- a/.github/workflows/tests_docker.yml
+++ b/.github/workflows/tests_docker.yml
@@ -61,7 +61,9 @@ 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
- - run: sudo ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
+ - name: Make all writable for uploading the test-results
+ run: sudo chmod -R 777 .
+ - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
- uses: actions/upload-artifact@v1
if: ${{ always() }}