Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change format of generated test files to be comparable #333

Merged
merged 7 commits into from
Dec 1, 2020
Merged

Conversation

rmeritz
Copy link
Contributor

@rmeritz rmeritz commented Nov 16, 2020

Preview Tests

See the annotated file in this issue for more infomation about the reason for this change: #305

  • Inline the relevant script and remove scripts.js
  • Inline all the test data and remove the test json file
  • Inline the relevant command and remove commands.json

Copy link
Contributor

@spectranaut spectranaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is works great, and the changes are very simple and straightforward.

@@ -6,18 +6,81 @@
<link rel="help" href="https://w3c.github.io/aria/#checkbox">
<link rel="help" href="https://w3c.github.io/aria/#aria-checked">

<script src="scripts.js"></script>
<script>
var scripts = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a bit strange, it might be nice to not include it if it's not necessary. but because they are generate files I suppose it doesn't matter, and this is not blocking.

@jscholes
Copy link
Contributor

@rmeritz or @spectranaut, as a test developer, is there anything I have to do to comply with these changes for PRs that haven't yet been merged? E.g. #330.

@rmeritz
Copy link
Contributor Author

rmeritz commented Nov 18, 2020

@jscholes - Nope these changes don't affect anything about the test writing. Once this PR is merged when you regenerate the generated files will have a different format but you don't need to worry about it at all. Thanks for checking though.

They are needed to generate the reivew pages.
I think it once running once for all PRs and once for all PR targets
(which is to support forks).

And then the two commits were collbering each other.
@rmeritz rmeritz merged commit 24efd48 into master Dec 1, 2020
@rmeritz rmeritz deleted the test-html branch December 1, 2020 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants