Skip to content

ATS-CMT-MTG-014Collect conflict-of-interest disclosures from voting members each period: Acceptance Test Set

Markdown

ATS-CMT-MTG-014

Collect conflict-of-interest disclosures from voting members each period: Acceptance Test Set

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-CMT-MTG-014

KindAcceptance test setProduct areaCommitteesModuleMeetings, Decisions and RecruitmentRevision1

Read atservices-committees 36129c24react-console baf6dae3

Test Scenarios

7 scenarios proving CAP-CMT-MTG-014; 7 bound to an existing test.

01 The annual run opens one disclosure per voting memberapitest
Proves
BR-CAP-CMT-MTG-014-01
Preconditions
An association with annual disclosures and three voting members.
Steps
Run the daily job twice.
Expected
Three disclosures for the year exist after the first run, each holder told once; the second run opens nothing.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/decisions/tests/integration/services/disclosures.integration.spec.ts#opens one obligation per voting appointment
02 Periods follow the association’s settingunittest
Proves
BR-CAP-CMT-MTG-014-02
Preconditions
Appointments of fixed and open-ended tenure.
Steps
Compute the period under annual and per-term settings across years.
Expected
Annual periods are calendar years; per-term periods are the tenure, an open-ended one year by year; none owes nothing.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/decisions/tests/unit/services/disclosure-period.spec.ts#is an open-ended tenure’s next year once the first has ended
Source
services-committees:modules/decisions/tests/unit/services/disclosure-period.spec.ts#is the calendar year of the day, due on 31 January
03 A director seated in March has until Aprilunittest
Proves
BR-CAP-CMT-MTG-014-03
Preconditions
An annual period and a director seated on 1 March.
Steps
Compute the due date; and for one seated on 20 December.
Expected
The first is due thirty days after 1 March; the second is due on the year’s last day.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/decisions/tests/unit/services/disclosure-period.spec.ts#is due 30 days after an appointment seated during the year
Source
services-committees:modules/decisions/tests/unit/services/disclosure-period.spec.ts#is due 30 days after an appointment seated during the year
04 The disclosure form starts onceapinegativetest
Proves
BR-CAP-CMT-MTG-014-04
Preconditions
A disclosure owed.
Steps
Request it twice; request one already accepted; request with Submissions unreachable.
Expected
The form starts once and the repeat answers as it is; the accepted one and the unreachable case are refused.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/decisions/tests/integration/services/disclosures.integration.spec.ts#starts the form for the appointee, about the disclosure, once however often it is requested
Source
services-committees:modules/decisions/tests/integration/services/disclosures.integration.spec.ts#starts the form for the appointee, about the disclosure, once however often it is requested
05 A reviewed disclosure carries its interestsapitest
Proves
BR-CAP-CMT-MTG-014-05
Preconditions
A submitted disclosure.
Steps
Deliver an accept and later a flag from Submissions.
Expected
It reads accepted, then flagged, with the interests and the reviewer each time.
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#accepts the disclosure with the summary its decision’s basis carried
06 Only holders of the sensitive key read disclosuresapinegativetest
Proves
BR-CAP-CMT-MTG-014-06
Preconditions
Two disclosures; a reader with and one without the disclosures key.
Steps
List the register as each.
Expected
The first lists both; the second is refused.
Data
A committee with a seated roster in a disposable workspace
Bound to
services-committees:modules/recruitment/tests/e2e/submissions.e2e.spec.ts#lists both obligations to a caller holding the register’s key
services-committees:modules/recruitment/tests/e2e/submissions.e2e.spec.ts#refuses the register to a caller without its sensitive key, 403
Source
services-committees:modules/recruitment/tests/e2e/submissions.e2e.spec.ts#lists both obligations to a caller holding the register’s key
07 Another association reads no disclosureapinegativetest
Proves
BR-CAP-CMT-MTG-014-08
Preconditions
A disclosure in one workspace.
Steps
List and read it from another.
Expected
Nothing is found.
Data
A committee with a seated roster in a disposable workspace
Bound to
Source
services-committees:modules/decisions/tests/integration/services/disclosures.integration.spec.ts#lists none of it to tenant B

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.