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

Mark as final button should not be shown for runs in the test queue that have conflicts #755

Closed
mcking65 opened this issue Aug 29, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mcking65
Copy link

It should not be possible to mark a report final if conflicts exist. There are test plans with conflicts in the test queue in staging, and the mark as final button is present.

image showing a mark as final button next to 7 conflicts

@mcking65 mcking65 added the bug Something isn't working label Aug 29, 2023
@mcking65 mcking65 changed the title Mark as final button showing when conflicts exist in test queue Mark as final button should not be shown when conflicts exist in test queue Aug 30, 2023
@mcking65 mcking65 changed the title Mark as final button should not be shown when conflicts exist in test queue Mark as final button should not be shown for runs in the test queue that have conflicts Aug 30, 2023
howard-e added a commit that referenced this issue Aug 30, 2023
@howard-e
Copy link
Contributor

fffdb62 has been pushed to #688 and the sandbox and staging environments.

@mcking65
Copy link
Author

Tested in staging and this specific issue is resolved. During testing, found similar problems that I documented in #787.

This issue can be closed as resolved after deployment.

@ccanash
Copy link
Contributor

ccanash commented Oct 3, 2023

Released to prod

@ccanash ccanash closed this as completed Oct 3, 2023
@ccanash ccanash moved this from In staging/sandbox to In production / Completed in MVP support of ARIA-AT Working Mode by ARIA-AT App - 2023 H1 Project Oct 3, 2023
alflennik added a commit that referenced this issue Oct 18, 2023
* Fix bug that would allow testPlanVersion to be updated to RECOMMENDED before the associated reports were all marked as final (but the tests were 100% done in the Test Queue)

* Refine raise an issue behavior (#753)

* Refine raise an issue behavior

* Address feedback

* Fixed squished dot icon

* Address last feedback

* Hide closed issues on datamgmt page

* Fix for test results not being automatically saved when navigating through Test Run

* Filter and sort functionality for Data Management table (#750)

* First pass on functioning sort buttons for DataManagePage

* Functioning sort

* Filter functionality for DataManagement

* Refactor filter buttons on DataManagement to reduce complexity

* Filter buttons as separate component

* DataManagement page, break sort out into dedicated hook

* DataManagement page, dedicated hook for filtering

* DataManagement, add constant for test plan version phases to simplify hooks code

* Add relevant dynamic aria attributes to DataManagement column sort elements

* Add relevant dynamic aria attributes to DataManagement filter buttons

* unit tests for SortableTableHeader

* unit tests for FilterButtons

* unit tests for useDataManagementTableSorting hook

* Add unit tests for useDataManagementTableFiltering hook

* Filter buttons only show buttons that have have label, handle testPlans with multiple versions, ...

useDataManagementTableFiltering don't generate label for buttons that have no associated plans

* Break out overall phase derivation logic into dedicated hooks, functional filter and sort

* Simplify useDerivedTestPlanOverallPhase

* Additional unit tests for additional hooks and to test scenarios with multiple test plan versions for a single test plan

hook rename

* Different UX click interaction sequence with SortableTableHeader

* Correct interpretation of alphabetical ascending/descending

* Rename DataManagement/hooks.js to filterSortHooks

* Move sorting and filtering enums to more specific locations based on use

* Fix file locations in unit tests, DataManagement, FilterButtons, SortableTableHeader

* Smaller margin between buttons, FilterButtons

* First pass on functioning sort buttons for DataManagePage

* Functioning sort

* Filter functionality for DataManagement

* Refactor filter buttons on DataManagement to reduce complexity

* Filter buttons as separate component

* DataManagement page, break sort out into dedicated hook

* DataManagement page, dedicated hook for filtering

* DataManagement, add constant for test plan version phases to simplify hooks code

* Add relevant dynamic aria attributes to DataManagement column sort elements

* Add relevant dynamic aria attributes to DataManagement filter buttons

* unit tests for SortableTableHeader

* unit tests for FilterButtons

* unit tests for useDataManagementTableSorting hook

* Add unit tests for useDataManagementTableFiltering hook

* Filter buttons only show buttons that have have label, handle testPlans with multiple versions, ...

useDataManagementTableFiltering don't generate label for buttons that have no associated plans

* Break out overall phase derivation logic into dedicated hooks, functional filter and sort

* Simplify useDerivedTestPlanOverallPhase

* Additional unit tests for additional hooks and to test scenarios with multiple test plan versions for a single test plan

hook rename

* Different UX click interaction sequence with SortableTableHeader

* Correct interpretation of alphabetical ascending/descending

* Rename DataManagement/hooks.js to filterSortHooks

* Move sorting and filtering enums to more specific locations based on use

* Fix file locations in unit tests, DataManagement, FilterButtons, SortableTableHeader

* Smaller margin between buttons, FilterButtons

* Cleanup after rebase

* Render SortableTableHeader inside <table> for test to dismiss warning

* Add AriaLiveRegionProvider, Update DataManagement table to use it

* Allow SortableTableHeader component to work without AriaLiveRegionProvider

* Explicitly support 'DEPRECATED' phase for `TestPlanVersion.phase` (#749)

* Start to support for sunset phase

* Explicitly use 'DEPRECATED' phase for TestPlanVersion.phase

* Add checks to prevent test plan versions in R&D or Deprecated from being shown in data management dropdown

* Remove duplicate updateTestPlanVersion call

* Reuse phase variable

* Add copy for deprecated reports with DisclaimerInfo component

* Exclude 'DEPRECATED' testPlanVersions on DataManagement page query

* Ensure only reports marked as final are displayed on /embed/reports/<pattern>

* Fix test

* Update failing test

* Adjust semantic structure on Data Management Page (#752)

* Adjust cell items for data management row to use list-related roles; update aria-labels

* Address PR feedback

* Remove width:max-content

* Address PR feedback

* Formatting

* Address feedback

* Adjust BasicModal to support AtAndBrowserDetailsModal closing

* Stop assign menu dropdown from creating unintended bottom space with the parent container

* Formatting

* Close #755

* Close #754

* Remove superfluous header from TestPlanReportStatusDialog (#766)

* Revise required reports conditions (#764)

* Revise required reports approach

* Update tests

* Revert dev.env

* Update Version History Page (#767)

* Apply correct sort order for Timeline for All Versions section

* Update headings used on Versions page

* Add aria-labelledby's for tables

* Add &nbsp; for applicable spaces so the text is properly announced by NVDA

* Add migration to add missing deprecatedAt dates and to also properly set the candidatePhaseReachedAt dates to more practical dates after the migrations (if candidatePhaseReachedAt < draftPhaseReachedAt, set it candidatePhaseReachedAt to draftPhaseReachedAt + 1day)

* Test Plan Versions Page: Use standard testPlanVersions descending sort and show all phases being included in Version Summary

* Switch issues search support for checking against hidden body content instead

* Fix TestPlanReportStatusDialog using d (day of the week) and y (era)

* Explicit check for older date when deprecating existing RD test plan versions during import

* Update hidden message content in github issue

* Update query for anon user on TestRun page

* Keep overall status pill from drifting to center of cell

* Fix R&D only TestPlanVersion's table not being shown

* Use aria-label for heading to prevent space being announced

* Update date format used in aria-label

* Make version history a drop down

* comment out unused variable

* Fix responsiveness

* Remove comments and logs

* Changes after merge

* Fix icon color

* Fix padding for timeline heading

* Fix console errors and delete comments

* Fix conflicts that caused error

* Implement required changes from review

---------

Co-authored-by: Howard Edwards <[email protected]>
Co-authored-by: Alexander Flenniken <[email protected]>
Co-authored-by: Stalgia Grigg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

3 participants