Skip to content
Snippets Groups Projects

WS-797: Polishing QA process

Merged Nathan Hertz requested to merge WS-797-set-request-state-using-version-state into main
1 unresolved thread

Changes

Back-end

  • Added new determine_state method to CapabilityRequest that will determine request state automatically, based on the state of its versions
  • Capability execution state transitions now occur before the action is performed, so effectively the action is performed from the next state

UI

  • "Submit" button now appears based on the state of the selected version rather than the state of the request
  • The request's latest version is now selected by default in the dropdown
  • Removed extraneous QA-pass button

Completes WS-798 and WS-801

Edited by Nathan Hertz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
440 467 def update_state(self, state: CapabilityRequestState):
441 468 self.state = state.name
442 469
470 def determine_state(self):
  • Daniel Lyons approved this merge request

    approved this merge request

  • Janet Goldstein approved this merge request

    approved this merge request

  • Nathan Hertz added 9 commits

    added 9 commits

    • 0dc165ca - Added new method `determine_state` to the `CapabilityRequest` class that
    • 5cde5b2c - Made it so latest version is the default selected version in the UI;
    • 738aad52 - Removed extraneous QA-pass button
    • d59fcd44 - UI capability version fixes
    • 4d7fc754 - Capability version state is now correctly set to Complete and Failed
    • bc4d3648 - Test changed with renamed method
    • 7e896241 - Request state is now set to Complete only if the current version for the
    • a085ba9b - Latest version now updates in real-time again; other versions do not
    • cc3cb0b7 - Fixing tests; the method in the test was not supposed to be renamed

    Compare with previous version

  • Nathan Hertz added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading