Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: skip flakiness upload for forks (#5978)
Ross Wollmanca7cd7a677a9
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 2ccf85ecc6..251a0863e2 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -43,7 +43,7 @@ jobs:BROWSER: ${{ matrix.browser }}FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: always()with:@@ -71,7 +71,7 @@ jobs:BROWSER: ${{ matrix.browser }}FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: ${{ always() }}with:@@ -102,7 +102,7 @@ jobs:BROWSER: ${{ matrix.browser }}FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))shell: bash- uses: actions/upload-artifact@v1if: ${{ always() }}@@ -157,7 +157,7 @@ jobs:HEADFUL: 1FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: ${{ always() }}with:@@ -191,7 +191,7 @@ jobs:PWMODE: "${{ matrix.mode }}"FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: ${{ always() }}with:@@ -224,7 +224,7 @@ jobs:BROWSER: ${{ matrix.browser }}FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: ${{ always() }}with:@@ -254,7 +254,7 @@ jobs:- name: Run page testsrun: npx folio test/page -p browserName=chromium --workers=1 --forbid-only --timeout=120000 --global-timeout=5400000 --retries=3 --reporter=dot,json- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json- if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))+ if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))- uses: actions/upload-artifact@v1if: ${{ always() }}with: