ATS-CRM-DQ-008Dismiss false matches and reopen review: Acceptance Scenarios
MarkdownDismiss false matches and reopen review: Acceptance Scenarios
Coverage
Test Scenarios
8 scenarios proving CAP-CRM-DQ-008; 8 bound to an existing test.
01 Dismissal retains attribution and the reviewed evidenceapitest
- Proves
BR-CAP-CRM-DQ-008-01 - Preconditions
- An open pair awaits review.
- Steps
- Dismiss it using a note padded with spaces.
- Expected
- The stored dismissal has trimmed note, author, time and fingerprint and moves from open to dismissed work.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js#dismisses the pair, stamping who said so, when, and the note as trimmed
02 Repeated dismissal preserves the first reviewerapitest
- Proves
BR-CAP-CRM-DQ-008-02 - Preconditions
- Prepare a dismissed pair and group.
- Steps
- Dismiss both again.
- Expected
- Both succeed without writes and retain the earlier identity, permitted name, time and note.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js#tells the second request the pair was already dismissed, with the earlier who, when and note (D-34)
06 Only new strong evidence reopens a dismissalunittest
- Proves
BR-CAP-CRM-DQ-008-06 - Preconditions
- An existing pair is dismissed.
- Steps
- Correct a name typo and then add a shared phone.
- Expected
- The typo leaves the decision intact; the new phone reopens it with an explanation.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/unit/services/matching/fingerprint.spec.js#leaves a pair dismissed when a name typo is fixed and nothing strong changes
07 Review authority controls decisionsapinegativetest
- Proves
BR-CAP-CRM-DQ-008-09 - Preconditions
- Prepare reader and reviewer callers.
- Steps
- Attempt dismissal and restoration as both.
- Expected
- The reviewer succeeds and the reader is refused.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js#answers 403 to that reader dismissing a pair, which is a decision and not a read