Please rename the feature file to '20_copy_project.feature'.
Add User Spec
Changes to feature file
Delete steps 6-11.
After login, write steps to create project
Add step 'I click on the button labeled "Add New Alert"' before step 17. Make sure all clicks are recorded.
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.
Change Step 18 to 'I enter "" into the input field labeled "Title of this alert:" - give name of the alert in ""'
Change Step 19 to 'I select "Text Validation [Any event]" on the dropdown field labeled "when" '. Similarly change the rest.
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)
Data Quality Rule - instead of uploading, enter one or two DQRs
Steps 57-60 not required.
Step 61 - Specify which Enable button, please the text next to it.
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.
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: