CCTC-team / redcap_cypress

REDCap Cypress Test Framework
MIT License
0 stars 0 forks source link

7. Design Forms using Data Dictionary & Online Designer #37

Open MintooXavier opened 3 months ago

MintooXavier commented 3 months ago

Brief description: This feature is used to design CRFs by uploading a data dictionary or design it using the front-end (online designer).

User spec: https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/user_requirement_specification/core/07-online_designer.spec

Feature link: https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.100%20-%20New%20Instruments%20via%20Data%20Dictionary.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.200%20-%20Create%20Instrument.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.300%20-%20Rename%20Instrument.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.400%20-%20Copy%20Instrument.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.500%20-%20Delete%20Instrument.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.600%20-%20Reorder%20Instrument.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.700%20-%20Field%20Textbox.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.800%20-%20Field%20Notes.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.900%20-%20Field%20Calculated.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1000%20-%20Field%20Multiple%20Choice.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1100%20-%20Field%20Radio.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1200%20-%20Field%20Checkbox.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1300%20-%20Field%20Signature.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1400%20-%20Field%20File%20Upload.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1500%20-%20Field%20Descriptive%20Text.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1600%20-%20Field%20New%20Section.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1700%20-%20Identifier%20Fields.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1800%20-%20Required%20Fields.feature https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature%20Tests/B/Online%20Designer_7/B.6.7.1900%20-%20Field%20Management.feature

Pre review:

Post review:

MintooXavier commented 2 months ago

Scripts Pre-reviewed:

  1. B.6.7.100 - New Instruments via Data Dictionary
  2. B.6.7.200 - Create Instrument
  3. B.6.7.300 - Rename Instrument
  4. B.6.7.400 - Copy Instrument
  5. B.6.7.500 - Delete Instrument
  6. B.6.7.600 - Reorder Instrument
  7. B.6.7.700 - Field Textbox
  8. B.6.7.800 - Field Notes
  9. B.6.7.900 - Field Calculated
  10. B.6.7.1000 - Field Multiple Choice
  11. B.6.7.1100 - Field Multiple Choice Radio - script missing
  12. B.6.7.1200 - Field Checkbox
  13. B.6.7.1300 - Field Signature
  14. B.6.7.1400 - Field File Upload
  15. B.6.7.1500 - Field Descriptive Text
  16. B.6.7.1600 - Field New Section
  17. B.6.7.1700 - Identifier Fields - Assign user rights twice else doesn't work for me
  18. B.6.7.1800 - Required Fields
  19. B.6.7.1900 - Field Management - Assign user rights twice else doesn't work for me
MintooXavier commented 2 months ago
  1. B.6.7.500 - Delete Instrument

    • Added steps to verify instrument is deleted
    • First instrument’s field count increases from 45 to 46 because of Record ID
    • Script modified and pushed to MX_v13.1.37
  2. B.6.7.600 - Reorder Instrument

    • Changed steps to verify initial instrument order because when viewing in a table the order doesn’t matter
    • Script modified and pushed to MX_v13.1.37
  3. B.6.7.1100 - Field Multiple Choice Radio

    • Script missing
    • Script added and pushed to MX_v13.1.37
MintooXavier commented 2 months ago

All scripts pass

MintooXavier commented 2 months ago

ATS team accepted the changes