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

Display AT Version for finalized reports when TestPlanVersion is RECOMMENDED #1052

Merged
merged 35 commits into from
May 8, 2024

Conversation

howard-e
Copy link
Contributor

@howard-e howard-e commented Apr 9, 2024

This PR now displays an AT version on the following report pages when the TestPlanVersion it is linked to is in the RECOMMENDED phase.

/report/<id>

  • Includes AT version for each AT + Browser h2 heading

/report/<id>/targets/<id>

  • Now includes AT Version in title of page
  • Now includes AT Version in h1 on page
  • Now includes AT Version in navigation breadcrumb for current location

This follows discussions from #792 (comment):

  • When a test plan version is promoted to recommended, the AT version should be included in the title (eg. from "Alert with NVDA and Firefox" to "Alert with NVDA 2023.3 and Firefox")
  • When upgrading a report to recommended, the first required AT version will be what’s displayed. Otherwise it will be what’s specified by the test admin when adding new reports to the test queue for a test plan that has already been recommended.

alflennik and others added 30 commits April 3, 2024 13:37
…mendedAtVersion

# Conflicts:
#	server/tests/integration/graphql.test.js
…ress #792

* Add resolver for finding firstRequiredAtVersion for a RECOMMENDED TestPlanVersion, given an atId

* Update tests

* Fix graphql call when including "firstRequiredAtVersion" under "testPlanVersions"

* Update description of firstRequiredAtVersion

* Rename resolver
Base automatically changed from trackFirstRequiredAtVersion to primaryTestPlanRun April 24, 2024 21:05
@howard-e howard-e marked this pull request as ready for review April 25, 2024 16:39
@howard-e howard-e requested a review from alflennik April 25, 2024 16:39
Base automatically changed from primaryTestPlanRun to trends May 2, 2024 21:00
# Conflicts:
#	client/components/AddTestToQueueWithConfirmation/index.jsx
#	server/graphql-schema.js
#	server/resolvers/TestPlanVersion/index.js
#	server/tests/integration/graphql.test.js
Copy link
Contributor

@alflennik alflennik left a comment

Choose a reason for hiding this comment

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

Code looks good, tests are passing, verified the new UI is showing as intended, also nice job on the resolver that was really easy to follow. Happy to approve!

@alflennik alflennik merged commit 19900a4 into trends May 8, 2024
2 checks passed
@alflennik alflennik deleted the trackRecommendedAtVersion branch May 8, 2024 18:50
@howard-e howard-e mentioned this pull request Jun 20, 2024
howard-e added a commit that referenced this pull request Jun 20, 2024
This includes work to support #791 and #792.

Includes the following changes:
* #1055
* #1001
* #1065
* #1052 
* #1087
* #1098 
* #1092
* #1131
* #1124

---------

Co-authored-by: Howard Edwards <howarde.edwards@gmail.com>
Co-authored-by: Paul Clue <67766160+Paul-Clue@users.noreply.github.com>
Co-authored-by: alflennik <alflennik@users.noreply.github.com>
howard-e added a commit that referenced this pull request Jun 24, 2024
Includes the following changes:
* #1123, addresses #791 and #792 with:
  * #1055
  * #1001
  * #1065
  * #1052 
  * #1087
  * #1098 
  * #1092
  * #1131
  * #1124
* #1128, addresses #1100
* #1102, addresses #957
* #1132
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.

2 participants