Generate html source script to support aria-at-app #646
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preview Tests
https://github.com/w3c/aria-at-app's TestRenderer depends on test example html artifacts which contains scripts. This previously existed in the
build
folder, now removed by #621. This PR adds those required artifacts without the need to commit the build folder.npm run build
already creates these files in the (now, local) build folder. They're copied over to the source folder location of the example, ie.tests/<testplan>/reference/<path>/<testplan>.<script>.html
.These files are updated by:
npm run build
before commit and push, ORGenerate and commit files
workflow runsnpm run build
, and has had the language updated to reflect the change. (This will not run if there are no updated files and it will not cause unintended merge conflicts through clashing generated files as previously experienced; line endings for those files are ignored to help ensure this)npm run build
will also remove the html script artifacts which are no longer being generated (most likely due to script being removed fromtests/<testplan>/data/js/<script>.js
cc @s3ththompson @richnoah