-
Notifications
You must be signed in to change notification settings - Fork 15
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
Allow import-tests to account for both the old and new build structure when importing from aria-at #309
Conversation
…f the aria-at repo since the introduction of the new way of generating the test files
@howard-e Sorry I somehow missed this PR! I checked out the branch, and merged develop into it, and then I triggered it by calling I got the following error:
|
Thanks for pointing this out @alflennik
because of the presence of these I will adjust the PR to make an explicit check for the validity of the test plans based on Additionally, the cleanup task on aria-at when running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested very old commits and was able to import them no problem, and I tested the newest commit and was able to import all 16 test plans. I also confirmed I can run the import script from the command line, a cron job and through the HTTP API, and it worked in all three cases 🤩
Code changes look good as well!
93a86da
to
537dd5d
Compare
537dd5d
to
5d026fe
Compare
Thanks for the review @alflennik! Closing in favor of an updated |
Given the changes introduced by w3c/aria-at#451, the
import-tests.js
has to account for both the old and new structure when importing tests from https://github.com/w3c/aria-at. Otherwise, rows would be inserted into theTestPlanVersion
table without theTestPlanVersion.tests
column being populated.Notes
TestPlanVersion
table and observe that rows related to both 'versions' of the https://github.com/w3c/aria-at that have been imported have theirtests
columns populated.