-
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
Mark as final button should not be shown in the test queue report status column unless at least one run of a plan is complete #787
Comments
@jscholes would like to make sure you concur with all the above requirements. |
@mcking65 Yes, these look good to me. |
PR #807 will make the button appear and disappear at the correct times, but only with the current behavior of the system, it does not implement a requirement that all tests be filled out. We should keep this issue open until that larger feature is implemented. |
Tested in sandbox and verified that mark as final is only available when:
I have forgotten how to login with another role that is not admin. I did not verify that the button is only when the above are all true and the user is an admin. Assuming no regression in availability based on role, this is fixed. Thank you, thank you!!! This issue can be closed when the fix is deployed to prod. |
#755 suppresses display of the "mark as Final" button when there are conflicts, but the button still appears in other circumstances where a report can't be finalized. In those other circumstances, an error dialog is shown when the button is activated. This creates odd inconsistencies, such as the following, where one row has the button and another does not, but it is not useful or needed in either row.
Change the display logic so that "Mark as Final" is shown only if all the following are true:
An incomplete run is a run that is assigned and does not have a complete set of results.
If a report has one complete run and no incomplete runs, the button could appear. Assigning another person to run the test plan for the same report would cause the button to disappear.
If a report has some incomplete runs, deleting all the incomplete runs would cause the button to appear as long as there is at least one complete run and no conflicts.
I don't think we want to force two complete runs even though that is what we normally require. The admin should be able to decide if one run is sufficient, which we may allow in the event of automated re-runs where 0 differences from prior comparables were present.
The text was updated successfully, but these errors were encountered: