CCTC-team / redcap_cypress

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

20. Copy Project #39

Open MintooXavier opened 3 weeks ago

MintooXavier commented 3 weeks ago

Brief description: This feature is used to test the copy project functionality.

User spec: https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/user_requirement_specification/non_core/20_copy_project.spec

Feature link: https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/manual_scripts/Copy_Project.feature

Pre review:

Post review:

MintooXavier commented 3 weeks ago
  1. Please rename the feature file to '20_copy_project.feature'.
  2. Add User Spec

Changes to feature file

  1. Delete steps 6-11.
  2. After login, write steps to create project
  3. Add step 'I click on the button labeled "Add New Alert"' before step 17. Make sure all clicks are recorded.
  4. Step 17 - Specify what can be seen.. 'Create new alert'.. Text 'popup' is not visible. Similar changes need to be applied in the code throughout.
  5. Change Step 18 to 'I enter "" into the input field labeled "Title of this alert:" - give name of the alert in ""'
  6. Change Step 19 to 'I select "Text Validation [Any event]" on the dropdown field labeled "when" '. Similarly change the rest.
  7. Step 32 - Data Quality is a link and not button. Similar changes need to be applied in the code throughout. Check if it is button or link (tabs are links)
  8. Data Quality Rule - instead of uploading, enter one or two DQRs
  9. Steps 57-60 not required.
  10. Step 61 - Specify which Enable button, please the text next to it.
  11. After you copy the project, create another project with the metadata and verify both projects are the same. i.e. contains same instruments, events, alerts, etc. Whatever you created in the project have to be checked as well.
  12. Change the steps definitions using the link: https://aldefouw.github.io/redcap_cypress/

@TanDBPRO : Pre review completed