diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..558542830 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,13 @@ +# build folder +/build/**/*.json -diff -merge +/build/**/*.html linguist-generated=true +/build/*.json -diff -merge +/build/*.html linguist-generated=true +/build/index.html -diff -merge +/build/index.html linguist-generated=true +/build/review/*.html -diff -merge +/build/review/*.html linguist-generated=true +/build/tests/*/*.html -diff -merge +/build/tests/*/*.html linguist-generated=true +/build/tests/*/*.json -diff -merge +/build/tests/*/*.json linguist-generated=true diff --git a/.github/workflows/generate-and-commit-files.yml b/.github/workflows/generate-and-commit-files.yml index 3169972d7..c5218e634 100644 --- a/.github/workflows/generate-and-commit-files.yml +++ b/.github/workflows/generate-and-commit-files.yml @@ -19,11 +19,14 @@ jobs: - name: Install dependencies run: npm ci - - name: Generate test files - run: npm run create-all-tests + # - name: Generate test files + # run: npm run create-all-tests - - name: Generate review files - run: npm run review-tests + # - name: Generate review files + # run: npm run review-tests + + - name: Generate test and review files + run: npm run build - uses: stefanzweifel/git-auto-commit-action@v4 with: diff --git a/.github/workflows/update-pr.yml b/.github/workflows/update-pr.yml index a8c4c1450..c406d3800 100644 --- a/.github/workflows/update-pr.yml +++ b/.github/workflows/update-pr.yml @@ -11,6 +11,6 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" head-branch-regex: '.*' title-template: '' - body-template: '[Preview Tests](https://raw.githack.com/w3c/aria-at/%headbranch%/index.html)' + body-template: '[Preview Tests](https://raw.githack.com/howard-e/aria-at/%headbranch%/build/index.html)' body-update-action: prefix body-uppercase-head-match: false diff --git a/.gitignore b/.gitignore index 4b7ecdfe3..0a9dad60a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,12 @@ /node_modules - .#* - .DS_* + +# Ignore locally generated files files +/index.html +/review +/tests/*/*.html +/tests/*/*.json + +# Preserve all the contents of /tests/resources +!/tests/resources/* diff --git a/index.html b/build/index.html similarity index 62% rename from index.html rename to build/index.html index 64f2750cc..fafe882c1 100644 --- a/index.html +++ b/build/index.html @@ -40,7 +40,7 @@

Test Patterns for Review

Index Review 26 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -48,7 +48,7 @@

Test Patterns for Review

Index Review 24 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -56,7 +56,7 @@

Test Patterns for Review

Index Review 30 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -64,7 +64,7 @@

Test Patterns for Review

Index Review 38 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -72,7 +72,7 @@

Test Patterns for Review

Index Review 26 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -80,7 +80,7 @@

Test Patterns for Review

Index Review 40 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -88,7 +88,7 @@

Test Patterns for Review

Index Review 29 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements @@ -96,7 +96,7 @@

Test Patterns for Review

Index Review 29 - c938c54 Generate test and review files automatically + 21930e4 Merge remote-tracking branch 'origin/generated-tests-improvements' into generated-tests-improvements diff --git a/review/checkbox-tri-state.html b/build/review/checkbox-tri-state.html similarity index 98% rename from review/checkbox-tri-state.html rename to build/review/checkbox-tri-state.html index 8892b275b..1049b0a18 100644 --- a/review/checkbox-tri-state.html +++ b/build/review/checkbox-tri-state.html @@ -301,7 +301,7 @@

Test 1: Navigate forwards to a partially checked checkbox in reading mode
  • Mode: reading
  • Applies to: jaws, nvda
  • -
  • Lasted edited: Thu May 27 03:32:53 2021 +0000
  • +
  • Lasted edited:
  • Tests: