ATS-CMT-MTG-007Prepare minutes for committee review: Acceptance Test Set
MarkdownPrepare minutes for committee review: Acceptance Test Set
Coverage
Test Scenarios
10 scenarios proving CAP-CMT-MTG-007; 10 bound to an existing test.
01 Notes retain their recording attributionapinegativetest
- Proves
BR-CAP-CMT-MTG-007-01 - Preconditions
- One meeting is in progress and another remains draft.
- Steps
- Append a note to an agenda item in each.
- Expected
- The running meeting retains the note’s author and time; the draft meeting refuses the addition.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/integration/services/minutes.integration.spec.ts#records a note with who recorded it and when
02 Drafting eligibility follows meeting statusunitnegativetest
- Proves
BR-CAP-CMT-MTG-007-02 - Preconditions
- The minutes rule is evaluated without persistence.
- Steps
- Check first-draft eligibility for every meeting status.
- Expected
- Only in-progress and held meetings are eligible.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/unit/services/minutes-rule.spec.ts#drafts the minutes of a meeting in progress or held, and of no other
03 Assembly preserves agenda sequence and note orderapitest
- Proves
BR-CAP-CMT-MTG-007-03 - Preconditions
- A held meeting has notes on three agenda topics.
- Steps
- Assemble from its records twice, varying the input note order.
- Expected
- The heading, attendance and topic sections remain ordered and the same records produce the same draft text.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/unit/services/minutes-rule.spec.ts#writes the heading, the attendance, one section per item in the agenda’s order with its notes as recorded, and the decisions block
04 Assembly excludes executive-session note contentapitest
- Proves
BR-CAP-CMT-MTG-007-04 - Preconditions
- A held meeting includes an executive-session topic with a distinctive note.
- Steps
- Assemble its minutes.
- Expected
- The topic’s confidentiality notice appears and the distinctive note is absent.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/unit/services/minutes-rule.spec.ts#keeps an executive-session item’s notes out of the minutes (premise: the note was given)
05 Stored-text fingerprints are reproducibleunittest
- Proves
BR-CAP-CMT-MTG-007-05 - Preconditions
- A minutes body and a one-byte variant are available.
- Steps
- Hash the original twice and hash the variant.
- Expected
- The identical bodies match and the changed bytes produce another fingerprint.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/unit/services/minutes-rule.spec.ts#is the SHA-256 of the UTF-8 bytes, in hex
06 Body writes reject circulation and stale versionsapinegativetest
- Proves
BR-CAP-CMT-MTG-007-06 - Preconditions
- Fixtures include circulated minutes and a draft whose version has advanced.
- Steps
- Save new text into the circulated record and save the draft with its earlier version.
- Expected
- Both writes fail without replacing saved text.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/e2e/minutes.e2e.spec.ts#refuses a save of circulated minutes with 409, minutes_circulated
07 Size and content refusals preserve the prior bodyapinegativetest
- Proves
BR-CAP-CMT-MTG-007-07 - Preconditions
- A meeting has draft minutes.
- Steps
- Save multilingual text of exactly 2,000,000 bytes, then try an extra byte and an HTML-looking body.
- Expected
- The limit-sized body is stored and read back; the invalid replacements fail and preserve its fingerprint.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- react-console:acceptance/committees/playwright/journeys/meetings/CMT-ACC-0238.spec.ts#CMT-ACC-0238
08 Circulation validates body, meeting status and current lifecycleapinegativetest
- Proves
BR-CAP-CMT-MTG-007-08 - Preconditions
- Fixtures include a held meeting with saved draft text and another meeting still in progress.
- Steps
- Circulate both and try circulating the successful result again.
- Expected
- Only the held draft circulates; the service records its time and submits the configured participant notices.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/unit/services/minutes-rule.spec.ts#circulates a draft with a body of a held meeting
09 Returning to draft permits corrected circulationapitest
- Proves
BR-CAP-CMT-MTG-007-09 - Preconditions
- Minutes have already circulated.
- Steps
- Return them to draft, correct a name and circulate the changed body.
- Expected
- The new saved text has its recomputed fingerprint and receives new notification occasions.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- services-committees:modules/meetings/tests/integration/services/minutes.integration.spec.ts#reverts circulated minutes to a draft, clearing when they were circulated
10 Normalisation precedes saved-text hashingapitest
- Proves
BR-CAP-CMT-MTG-007-11 - Preconditions
- Draft minutes and an editable note topic exist.
- Steps
- Save the same multilingual body twice with a trailing newline and add a note with surrounding spaces.
- Expected
- The body is trimmed, repeated hashes match the trimmed bytes, and note text is stored without surrounding spaces.
- Data
- A disposable workspace with scheduled, running and held meetings, ordinary and confidential agenda topics, notes and managed file storage.
- Bound to
- Source
- react-console:acceptance/committees/playwright/journeys/meetings/CMT-ACC-0238.spec.ts#CMT-ACC-0238