Closed howard-e closed 5 months ago
I got this error with the query
query {
testPlanVersions {
id
title
versionString
firstRequiredAtVersion(atId: 1) {
id
}
}
}
Any idea what might be causing this?
This is with a fresh database and the sample data.
I got this error with the query
query { testPlanVersions { id title versionString firstRequiredAtVersion(atId: 1) { id } } }
Any idea what might be causing this?
This is with a fresh database and the sample data.
https://github.com/w3c/aria-at-app/pull/1051/commits/21a0c72ac25921d84de96cee99ad3125a41d3cfa should fix this. Because of how the testPlanVersionsResolver
is done, the testPlanReports
and phase
variables were being left out which would then throw the error.
This PR adds support for tracking "First Required AT Versions as outlined in #792.
firstRequiredAtVersion
on graphql schema'sTestPlanVersion
. When provided an AT id, given that a report has been generated for that test plan version with that AT, it will follow defined rules to return the first required AT version for a TestPlanVersion once it has gotten to RECOMMENDED.Since this is work is also dependent on a "primary test plan run", this is branched off of the work being done on #1001.