Closed howard-e closed 3 months ago
createReviewPages.mjs
feels like it could be broken up a little to make it easier to read. Some sections become deeply nested.- The logging during testing is difficult to parse. I wonder if this could be helped with something simple like an emphasis color on the summary messages? This isn't essential but could be nice.
Good point on both, will take a pass at making that content easier to parse
createReviewPages.mjs
feels like it could be broken up a little to make it easier to read. Some sections become deeply nested.
@stalgiag I added several commits to break up the createReviewPages.mjs
into several smaller components. Let me know me know your thoughts there!
- The logging during testing is difficult to parse. I wonder if this could be helped with something simple like an emphasis color on the summary messages? This isn't essential but could be nice.
https://github.com/w3c/aria-at/pull/1105/commits/b33362270bd9f7684a37f9c45415c9bdb8a05c5c should address this. Please let me know if this aligns with what you were thinking. Also curious if you think this functionality should be set behind the test flag?
@stalgiag thanks for the feedback! Found a presumably long standing issue (but presentational) with how the assertionExceptions
logic is handled in when built with the json data that I've addressed in https://github.com/w3c/aria-at/pull/1105/commits/c66455fec3847d9e7ad887848fe0676663023988. The gist being that json filtered view could show all the assertionExceptions
if excluded in assertions.csv
instead of *-commands.csv
. The collected json view (which is also what the app uses) didn't have this issue.
Also re-confirmed these changes don't cause any critical issues when being imported into aria-at-app. (build log)
Preview Tests
This introduces tests which compare the snapshots of a 4 specific test plans which have been pulled into a dedicated
__mocks__
folder:This PR does significant restructuring of the
create-all-tests
and thereview-tests
scripts to make the results of those overall scripts testable (ie. content that gets added into the/build
folder).Additional tests can follow this PR to verify the many utilities and the harness output used in this project. To avoid ballooning this PR further, we can introduce this initial work and do the aforementioned tests as subsequent PRs to make future reviews easier.
Note: Also confirmed these changes don't cause any critical issues when being imported into aria-at-app. (build log)