Skip to content

Instantly share code, notes, and snippets.

View aldefouw's full-sized avatar

Adam De Fouw aldefouw

  • Wisconsin
View GitHub Profile
@aldefouw
aldefouw / create_new_project.feature
Created July 26, 2023 19:10
Configuration: Create New Project
## STEPS TO CREATE A NEW PROJECT
Given I login to REDCap with the user "Test_Admin"
And I create a new project named "A.6.4.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_1.xml", and clicking the "Create Project" button
When I click on the link labeled "My Projects"
And I click on the link labeled "A.6.4.300.100"
@aldefouw
aldefouw / repeating_instruments_events.feature
Last active July 26, 2023 18:59
Configuration: Repeating Instruments & Events
## STEPS TO SETUP REPEATING INSTRUMENTS AND/OR EVENTS
Given I click on the link labeled "Project Setup"
Then I should see "Repeating instruments and events"
When I open the dialog box for the Repeatable Instruments and Events module
And I close the popup
And I select "-- not repeating --" on the dropdown field labeled "Event 1 (Arm 1: Arm 1)"
And I select "Repeat Instruments (repeat independently of each other)" on the dropdown field labeled "Event Three (Arm 1: Arm 1)"
And I select "Repeat Entire Event (repeat all instruments together)" on the dropdown field labeled "Event 2 (Arm 1: Arm 1)"
And I check the checkbox labeled "Survey"
@aldefouw
aldefouw / move_to_production.feature
Last active July 26, 2023 18:58
Configuration: Move project to production
## STEPS TO MOVE TO PRODUCTION
When I click on the link labeled "Project Setup"
And I click on the button labeled "Move project to production"
And I click on the radio labeled "Keep ALL data saved so far" in the dialog box
And I click on the button labeled "YES, Move to Production Status" in the dialog box to request a change in project status
Then I should see Project status: "Production"
@aldefouw
aldefouw / verify_table_rows_report_data.feature
Last active July 26, 2023 18:58
Verification: Report Rows
## STEPS TO VERIFY ROW(S) IN REPORT DATA
When I click on the link labeled "Data Exports, Reports, and Stats"
Then I should see a table row containing the following values in the reports table:
| A | All data (all records and fields) |
When I click on the button labeled "View Report"
#Specific row identifying multiple cells
Then I should see a table row containing the following values in the report data table:
@aldefouw
aldefouw / verify_table_rows_logging.feature
Last active July 26, 2023 18:46
Verification: Logging Table Rows
## STEPS TO VERIFY ROW(S) IN LOGS
# SINGLE ROW
Then I should see a table row containing the following values in the logging table:
| test_user1 | Manage/Design | Set up repeating instruments/events |
# MUTLIPLE ROWS
Then I should see table rows containing the following values in the logging table:
| test_user1 | Manage/Design | Set up repeating instruments/events |
| test_admin | Manage/Design | Move project to Production status |
@aldefouw
aldefouw / assign_user_rights.feature
Last active July 26, 2023 18:46
Configuration: Assign User Rights steps
## STEPS TO ASSIGN A USER TO A SPECIFIC ROLE
When I click on the link labeled "User Rights"
And I enter "Test_User1" into the field with the placeholder text of "Assign new user to role"
And I click on the button labeled "Assign to role"
And I select "1_FullRights" on the dropdown field labeled "Select Role" on the role selector dropdown
And I click on the button labeled exactly "Assign" on the role selector dropdown
Then I should see "Test User1" within the "1_FullRights" row of the column labeled "Username" of the User Rights table