aldefouw / redcap_rsvc

REDCap Regulatory & Software Validation Committee (RSVC) - Automated validation feature test scripts
GNU General Public License v3.0
3 stars 8 forks source link

C.4.18.200 - Data Quality create rules #185

Open aldefouw opened 10 months ago

aldefouw commented 10 months ago

Feature: C.4.18.200 - Data Quality create rules

Feature Location: https://github.com/aldefouw/redcap_rsvc/blob/v13.1.37/Feature%20Tests/C/Data%20Quality/C.4.18.200%20-%20Data%20Quality%20create%20rules.feature

Task: Review Gherkin and adjust feature as necessary for syntax accuracy and test correctness.

trasuli0207 commented 6 months ago

@aldefouw commenting to get assigned :)

Also jotting down some notes:

C.4.18.200

4bbakers commented 3 months ago

@aldefouw

Manual updated to include the longitutial part. See https://github.com/4bbakers/redcap_rsvc/blob/v14.3.4/Feature%20Tests/C/Data%20Quality_18/C.4.18.200%20-%20Data%20Quality%20create%20rules.feature

15 ##SETUP_Designer When I click on the link labeled "Designer" And I click on the instrument labeled "Data Types" And I click on the Edit image for the field labeled "Integer" And I select the dropdown option "----None----" from the field labeled "Validation" And I click on the button labeled "Save" Then I should see the field labeled "Integer"

36 When I enter "Integer" for the field labeled "Rule Name" And I enter "[event_1_arm_1][integer]='1999'" for the field labeled "Logic Editor" And I click on the button labeled "Update & Close Editor" in the dialog box And I click on the button labeled "Add"

VERIFY

    Then I should see a table header and rows including the following values in the Data Quality Rules table:
        | Rule # | Rule Name | Rule Logic (Show discrepancy only if...) |
        | 3      | Integer   | [event_1_arm_1][integer]='1999'                         |