Skip to content

ATS-CMT-MTG-019Apply review decisions from Submissions exactly once: Acceptance Test Set

Markdown

ATS-CMT-MTG-019

Apply review decisions from Submissions exactly once: Acceptance Test Set

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-CMT-MTG-019

KindAcceptance test setProduct areaCommitteesModuleMeetings, Decisions and RecruitmentRevision1

Read atservices-committees 36129c24react-console baf6dae3

Test Scenarios

8 scenarios proving CAP-CMT-MTG-019; 8 bound to an existing test.

01 A replayed decision changes nothingapitest
Proves
BR-CAP-CMT-MTG-019-01
Preconditions
A seat-application decision applied once.
Steps
Deliver it again.
Expected
It answers as a duplicate; no second appointment or acknowledgement is made.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#answers the replay succeeded, a duplicate
02 An appointed applicant is offered the seatapitest
Proves
BR-CAP-CMT-MTG-019-02
Preconditions
An open opening and an applicant who is a contact.
Steps
Deliver an appoint decision.
Expected
A pending appointment sourced from the decision awaits the applicant; the applicant accepts it in the portal.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#makes a pending appointment awaiting the applicant’s acceptance, sourced from the decision
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#makes a pending appointment awaiting the applicant’s acceptance, sourced from the decision
03 Alternates and declines are recordedapitest
Proves
BR-CAP-CMT-MTG-019-03
Preconditions
An open opening.
Steps
Deliver an alternate and a decline decision; list the opening’s alternates.
Expected
The alternate is listed; the decline changes nothing else.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#records the alternate on the opening
04 Every kind of decision does what it saysapitest
Proves
BR-CAP-CMT-MTG-019-04
Preconditions
A nomination, two pending appointments and two disclosures.
Steps
Deliver slate, approve, reject, accept and flag decisions.
Expected
All five apply: the nomination slated with the rules’ draft decision, one appointment appointed, one declined, the disclosures accepted and flagged.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#opens the rules’ decision of kind appointment carrying the nominee, as a draft
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#applies all five
05 An undeclared outcome is refused, not guessedapinegativetest
Proves
BR-CAP-CMT-MTG-019-05
Preconditions
A nomination.
Steps
Deliver an outcome code nominations do not declare.
Expected
It is recorded refused and acknowledged rejected by owner with the reason.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#refuses a code the kind does not declare, recorded refused
06 A superseding decision undoes what it canapinegativetest
Proves
BR-CAP-CMT-MTG-019-06
Preconditions
An applied appoint decision whose appointment is pending, and one whose appointment was accepted.
Steps
Deliver a superseding decision for each.
Expected
The pending appointment is declined and the earlier decision marked reversed; the accepted one stands and the supersession is refused.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#leaves an accepted appointment appointed when its decision is superseded
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#records the irreversible supersession refused, the earlier decision still applied
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#declines the pending appointment the superseded decision made
07 An acknowledgement that cannot be sent is kept and retriedapitest
Proves
BR-CAP-CMT-MTG-019-07
Preconditions
Submissions unreachable for acknowledgements.
Steps
Apply a decision; make Submissions reachable and run the hourly sweep.
Expected
The acknowledgement is kept with why, then sent and the outbox emptied.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#enqueues the acknowledgement processed, naming the appointment, in the same transaction
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#enqueues the acknowledgement processed, naming the appointment, in the same transaction
08 A malformed decision document is failedunitnegativetest
Proves
BR-CAP-CMT-MTG-019-08
Preconditions
Documents of version 2, of another type and missing their link.
Steps
Parse each.
Expected
Each is refused naming the field.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/recruitment/tests/integration/services/submission-decisions.integration.spec.ts#answers the document that is not v1 failed, naming the field

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.