Skip to content

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

test: fix docker flakiness dashboard uploads

Max Schmitt0450b20712b6
diff --git a/.github/workflows/tests_docker.yml b/.github/workflows/tests_docker.yml
index cae5189705..dfae4ae055 100644
--- a/.github/workflows/tests_docker.yml
+++ b/.github/workflows/tests_docker.yml
@@ -61,7 +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
- - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
+ - run: sudo ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
- uses: actions/upload-artifact@v1
if: ${{ always() }}