diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..1df651a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.idea +.DS_Store \ No newline at end of file diff --git a/Feature Tests/A/Add manage users/A.2.2.100 - Add Manage Users - Create Users.feature b/Feature Tests/A/Add Manage Users/A.2.2.100 - Create Users.feature similarity index 96% rename from Feature Tests/A/Add manage users/A.2.2.100 - Add Manage Users - Create Users.feature rename to Feature Tests/A/Add Manage Users/A.2.2.100 - Create Users.feature index a9863d8a..b82fb5a2 100644 --- a/Feature Tests/A/Add manage users/A.2.2.100 - Add Manage Users - Create Users.feature +++ b/Feature Tests/A/Add Manage Users/A.2.2.100 - Create Users.feature @@ -85,7 +85,7 @@ Then I should NOT see "Control Center" #FUNCTIONAL_REQUIREMENT ##VERIFY: Admin only can make project -When I create a new project named "A.2.2.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 create a new project named "A.2.2.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 And I click on the button labeled "I Agree" in the dialog box Then I should see "Request Sent" When I logout @@ -111,6 +111,6 @@ Then I should see "New Project" #FUNCTIONAL_REQUIREMENT ##VERIFY: User can make project -When I create a new project named "A.2.2.100.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 create a new project named "A.2.2.100.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 And I click on the button labeled "I Agree" in the dialog box Then I should see "Project Setup" diff --git a/Feature Tests/A/Add manage users/ A.2.2.200 - Add Manage Users - Suspend - Unsuspend.feature b/Feature Tests/A/Add Manage Users/A.2.2.200 - Suspend - Unsuspend.feature similarity index 100% rename from Feature Tests/A/Add manage users/ A.2.2.200 - Add Manage Users - Suspend - Unsuspend.feature rename to Feature Tests/A/Add Manage Users/A.2.2.200 - Suspend - Unsuspend.feature diff --git a/Feature Tests/A/Add manage users/A.2.2.300 - Add Manage Users - Search by Criteria.feature b/Feature Tests/A/Add Manage Users/A.2.2.300 - Search by Criteria.feature similarity index 100% rename from Feature Tests/A/Add manage users/A.2.2.300 - Add Manage Users - Search by Criteria.feature rename to Feature Tests/A/Add Manage Users/A.2.2.300 - Search by Criteria.feature diff --git a/Feature Tests/A/Add Manage Users/A.2.2.400 - Delete.feature b/Feature Tests/A/Add Manage Users/A.2.2.400 - Delete.feature new file mode 100644 index 00000000..7f0c4ad8 --- /dev/null +++ b/Feature Tests/A/Add Manage Users/A.2.2.400 - Delete.feature @@ -0,0 +1,66 @@ +Feature: A.2.2.400 Add/Manage users + + As a REDCap end user + I want to see that Delete Users is functioning as expected. + + Scenario: A.2.2.400.100 Delete User Function + + #SETUP_USER +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Browse Users" +Then I should see "User Search: Search for user by username, first name, last name, or primary email" + +##ACTION_MANUAL_TESTING: Verify Delete_User is already created. If Delete_User is not created, skip to Create Delete_User (Line 21). +#When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" +# And I click on the button labeled "Search" +#Then I should see "Delete_User" +# And I should see "Editable user attributes" + +#Manual skip to Functional Requirement test (Line 41: ##ACTION Cancel delete user ) +##ACTION_AUTOMATED_TESTING: Create Delete_User +When I click on the link labeled "Add Users (Table-based Only)" +Then I should see "Create single user" + +When I enter "Delete_User" into the input field labeled "Username:" + And I enter "User_firstname" into the input field labeled "First name:" + And I enter "User_lastname" into the input field labeled "Last name:" + And I enter "Delete_User@test.edu" into the input field labeled "Primary email:" + And I click on the button labeled "Save" +Then I should see "User has been successfully saved." + +When I click on the link labeled "Browse Users" +Then I should see "User Search: Search for user by username, first name, last name, or primary email" + +When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" + And I click on the button labeled "Search" +Then I should see "Editable user attributes" + And I should see "Delete_User" + +#FUNCTIONAL REQUIREMENT +##ACTION Cancel delete user +When I click on the button labeled "Delete user from system" and cancel the confirmation window +Then I should NOT see "The user 'Delete_User' has now been removed and deleted from all REDCap projects" + +When I click on the link labeled "Browse Users" +Then I should see "User Search: Search for user by username, first name, last name, or primary email" + +#VERIFY User exist +When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" + And I click on the button labeled "Search" +Then I should see "Editable user attributes" + And I should see "Delete_User" + +#FUNCTIONAL REQUIREMENT +##ACTION Delete user +When I click on the button labeled "Delete user from system" and accept the confirmation window +Then I should see "The user 'Delete_User' has now been removed and deleted from all REDCap projects" + And I click on the button labeled "Close" + +#VERIFY User does not exist +When I click on the link labeled "Browse Users" +Then I should see "User Search: Search for user by username, first name, last name, or primary email" + +When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" + And I click on the button labeled "Search" +Then I should see "User does not exist!" diff --git a/Feature Tests/A/Add Manage Users/A.2.2.500 - REDUNDANT Tabular View.feature b/Feature Tests/A/Add Manage Users/A.2.2.500 - REDUNDANT Tabular View.feature new file mode 100644 index 00000000..43b7ef0f --- /dev/null +++ b/Feature Tests/A/Add Manage Users/A.2.2.500 - REDUNDANT Tabular View.feature @@ -0,0 +1,7 @@ +Feature: A.2.2.500 Add/Manage users + + As a REDCap end user + I want to see that Users in tabular form is functioning as expected + + Scenario: A.2.2.500.100 Users in tabular form + This feature test is REDUNDANT and can be viewed in A.2.2.300.100 diff --git a/Feature Tests/A/Add Manage Users/A.2.2.600 - Account Lockout.feature b/Feature Tests/A/Add Manage Users/A.2.2.600 - Account Lockout.feature new file mode 100644 index 00000000..6cfe68c0 --- /dev/null +++ b/Feature Tests/A/Add Manage Users/A.2.2.600 - Account Lockout.feature @@ -0,0 +1,82 @@ +Feature: A.2.2.600 Add/Manage users + + As a REDCap end user + I want to see that Users failed login lockout is functioning as expected. + + Scenario: A.2.2.600.100 User account locked out after too many attempts +#SETUP +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Security & Authentication" +Then I should see "Security & Authentication Configuration" + +#FUNCTIONAL REQUIREMENT +##ACTION Setup the failed login attempts +When I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." + And I enter "1" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." + And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." + And I enter "2" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" +Given I logout + +##ACTION Login with bad password; first failed attempt at logging in +Given I enter "Test_User1" into the input field labeled "Username:" + And I enter "test" into the input field labeled "Password:" + And I click on the button labeled "Log In" +Then I should see "ERROR: You entered an invalid user name or password!" + +##ACTION Try to login again with a bad password; we will be locked out +Given I enter "Test_User1" into the input field labeled "Username:" + And I enter "test" into the input field labeled "Password:" + And I click on the button labeled "Log In" +##VERIFY Timeout / lockout We only have to wait for 2 minute total this time +Then I should see "ACCESS DENIED!" + +Given I wait for 2 minutes + +##VERIFY Login after timeout/lockout +Given I login to REDCap with the user "Test_User1" +Then I see "My Projects" +Given I logout + +#SETUP +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Security & Authentication" +Then I should see "Security & Authentication Configuration" + +##ACTION Change failed login attempts settings +When I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." + And I enter "2" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." + And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." + And I enter "1" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" +Given I logout + +##ACTION Login with bad password; first failed attempt at logging in +Given I enter "Test_User1" into the input field labeled "Username:" + And I enter "test" into the input field labeled "Password:" + And I click on the button labeled "Log In" +Then I should see "ERROR" + +##ACTION Login with bad password; failed attempt at logging in +Given I enter "Test_User1" into the input field labeled "Username:" + And I enter "test" into the input field labeled "Password:" + And I click on the button labeled "Log In" +Then I should see "ERROR" + +##ACTION Try to login again with a bad password and we will be locked out +Given I enter "Test_User1" into the input field labeled "Username:" + And I enter "test" into the input field labeled "Password:" + And I click on the button labeled "Log In" +##VERIFY Timeout / lockout; We only have to wait for 1 minute total this time +Then I should see "ACCESS DENIED!" + +Given I wait for 1 minute + +##VERIFY Login after timeout/lockout +Given I login to REDCap with the user "Test_User1" +Then I see "My Projects" +Given I logout diff --git a/Feature Tests/A/Add Manage Users/A.2.2.700 - REDUNDANT -Account Lockout Time Change.feature b/Feature Tests/A/Add Manage Users/A.2.2.700 - REDUNDANT -Account Lockout Time Change.feature new file mode 100644 index 00000000..ee17033c --- /dev/null +++ b/Feature Tests/A/Add Manage Users/A.2.2.700 - REDUNDANT -Account Lockout Time Change.feature @@ -0,0 +1,7 @@ +Feature: A.2.2.700 Add/Manage users + +As a REDCap end user +I want to see that Users failed login lockout is functioning as expected. + +Scenario: A.2.2.700.100 User account locked time +This feature test is REDUNDANT and can be viewed in A.2.2.600.100 diff --git a/Feature Tests/A/Add Manage Users/A.2.2.800 - Auto-Logout Inactivity Time.feature b/Feature Tests/A/Add Manage Users/A.2.2.800 - Auto-Logout Inactivity Time.feature new file mode 100644 index 00000000..87165462 --- /dev/null +++ b/Feature Tests/A/Add Manage Users/A.2.2.800 - Auto-Logout Inactivity Time.feature @@ -0,0 +1,89 @@ +Feature: A.2.2.800 Add/Manage users + +As a REDCap end user +I want to see that amount of inactivity time before auto logout time is functioning as expected. + +Scenario: A.2.2.800.100 User account locked time +#SETUP control center Auto logout time +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Security & Authentication" +Then I should see "Security & Authentication Configuration" + +When I clear the field labeled "Auto logout time" + And I enter "4" into the input field labeled "Auto logout time" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#SETUP timeout warning +Given I login to REDCap with the user "Test_User1" +Then I should see"My Projects" + +#FUNCTIONAL REQUIREMENT +##ACTION wait for timeout warning +Given I wait for 2 minutes +##VERIFY warning +Then I should see a dialog containing the following text: "REDCap Auto Logout Warning" + +##ACTION wait for login expiration +Given I wait for another 2 minutes +##VERIFY login expiration message +Then I should see a dialog containing the following text: "Due to inactivity, your REDCap session has expired" + +##ACTION re-login +Given I click on the button labeled "Log In" in the dialog box +Then I should see "Please log in with your user name and password." + +Given I login to REDCap with the user "Test_User1" +##VERIFY Can login +Then I should see"My Projects" + +#SETUP control center Auto logout time +Given I logout + +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Security & Authentication" +Then I should see "Security & Authentication Configuration" + +When I clear the field labeled "Auto logout time" + And I enter "3" into the input field labeled "Auto logout time" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#FUNCTIONAL REQUIREMENT +##ACTION wait for timeout warning +Given I login to REDCap with the user "Test_User1" + And I wait for 2 minutes +##VERIFY warning +Then I should see a dialog containing the following text: "REDCap Auto Logout Warning" + +##ACTION wait for login expiration +Given I wait for 1 minute +##VERIFY login expiration message +Then I should see a dialog containing the following text: "Due to inactivity, your REDCap session has expired" + +##ACTION re-login +Given I click on the button labeled "Log In" in the dialog box +Then I should see "Please log in with your user name and password." + +Given I login to REDCap with the user "Test_User1" +##VERIFY Can login +Then I should see"My Projects" + +Given I logout + +#SETUP control center Auto logout time +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Security & Authentication" +Then I should see "Security & Authentication Configuration" + +When I clear the field labeled "Auto logout time" + And I enter "20" into the input field labeled "Auto logout time" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" diff --git a/Feature Tests/A/Add manage users/A.2.2.400 - Add Manage Users - Delete.feature b/Feature Tests/A/Add manage users/A.2.2.400 - Add Manage Users - Delete.feature deleted file mode 100644 index 358ec76d..00000000 --- a/Feature Tests/A/Add manage users/A.2.2.400 - Add Manage Users - Delete.feature +++ /dev/null @@ -1,55 +0,0 @@ -Feature: A.2.2.400 Add/Manage users - - As a REDCap end user - I want to see that Delete Users is functioning as expected. - - Scenario: A.2.2.400.100 Delete User Function - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Add Users (Table-based Only)" - Then I should see "Create single user" - -#SETUP_USER - When I enter "Delete_User" into the input field labeled "Username:" - And I enter "User_firstname" into the input field labeled "First name:" - And I enter "User_lastname" into the input field labeled "Last name:" - And I enter "Delete_User@test.edu" into the input field labeled "Primary email:" - And I click on the button labeled "Save" - Then I should see "User has been successfully saved." - - When I click on the link labeled "Browse Users" - Then I should see "User Search: Search for user by username, first name, last name, or primary email" - - When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" - And I click on the button labeled "Search" - Then I should see "Editable user attributes" - And I should see "Delete_User" - -#FUNCTIONAL REQUIREMENT -##ACTION Cancel delete user - When I click on the button labeled "Delete user from system" and cancel the confirmation window - Then I should NOT see "The user 'Delete_User' has now been removed and deleted from all REDCap projects" - - When I click on the link labeled "Browse Users" - Then I should see "User Search: Search for user by username, first name, last name, or primary email" - -#VERIFY User exist - When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" - And I click on the button labeled "Search" - Then I should see "Editable user attributes" - And I should see "Delete_User" - -#FUNCTIONAL REQUIREMENT -##ACTION Delete user - When I click on the button labeled "Delete user from system" and accept the confirmation window - Then I should see "The user 'Delete_User' has now been removed and deleted from all REDCap projects" - And I click on the button labeled "Close" - -#VERIFY User does not exist - When I click on the link labeled "Browse Users" - Then I should see "User Search: Search for user by username, first name, last name, or primary email" - - When I enter "Delete_User" into the input field labeled "User Search: Search for user by username, first name, last name, or primary email" - And I click on the button labeled "Search" - Then I should see "User does not exist!" diff --git a/Feature Tests/A/Add manage users/A.2.2.500 - Add Manage Users - Tabular View.feature b/Feature Tests/A/Add manage users/A.2.2.500 - Add Manage Users - Tabular View.feature deleted file mode 100644 index c71c8558..00000000 --- a/Feature Tests/A/Add manage users/A.2.2.500 - Add Manage Users - Tabular View.feature +++ /dev/null @@ -1,22 +0,0 @@ -Feature: A.2.2.500 Add/Manage users - - As a REDCap end user - I want to see that Users in tabular form is functioning as expected - - Scenario: A.2.2.500.100 Users in tabular form - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Browse Users" - Then I should see "User Search: Search for user by username, first name, last name, or primary email" - -#FUNCTIONAL REQUIREMENT -##ACTION View Users in tabular form - When I click on the link labeled "View User List By Criteria" - And I select "All users" on the dropdown field labeled "Display only:" - And I click on the button labeled "Display User List" - -#VERIFY View Users in tabular form - Then I should see a table header and rows containing the following values in the browse users table: - | Username | First Name | Last Name | Email | - | test_admin | Admin | User | test_admin@test.edu | - diff --git a/Feature Tests/A/Add manage users/A.2.2.600 - Add Manage Users - Account Lockout.feature b/Feature Tests/A/Add manage users/A.2.2.600 - Add Manage Users - Account Lockout.feature deleted file mode 100644 index 362d531c..00000000 --- a/Feature Tests/A/Add manage users/A.2.2.600 - Add Manage Users - Account Lockout.feature +++ /dev/null @@ -1,69 +0,0 @@ -Feature: A.2.2.600 Add/Manage users - - As a REDCap end user - I want to see that Users failed login lockout is functioning as expected. - - Scenario: A.2.2.600.100 User account locked out after too many attempts - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - When I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I enter "1" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I enter "2" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ERROR: You entered an invalid user name or password!" - - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ACCESS DENIED!" - - Given I wait for 2 minutes - - Given I login to REDCap with the user "Test_User1" - And I see "My Projects" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - When I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I enter "2" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I enter "1" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ERROR" - - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ERROR" - - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ACCESS DENIED!" - - Given I wait for 1 minute - - Given I login to REDCap with the user "Test_User1" - And I see "My Projects" - Given I logout - diff --git a/Feature Tests/A/Add manage users/A.2.2.700 - Add Manage Users - Account Lockout Time Change.feature b/Feature Tests/A/Add manage users/A.2.2.700 - Add Manage Users - Account Lockout Time Change.feature deleted file mode 100644 index 7d4bf03f..00000000 --- a/Feature Tests/A/Add manage users/A.2.2.700 - Add Manage Users - Account Lockout Time Change.feature +++ /dev/null @@ -1,72 +0,0 @@ -Feature: A.2.2.700 Add/Manage users - - As a REDCap end user - I want to see that Users failed login lockout is functioning as expected. - - Scenario: A.2.2.700.100 User account locked time - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - Given I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - When I enter "1" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I enter "2" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - And I logout - - #Login with bad password; first failed attempt at logging in - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ERROR: You entered an invalid user name or password!" - - #Try to login again with a bad password; we will be locked out - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ACCESS DENIED!" - - #Try logging in again after 1 minute - Given I wait for 1 minute - Given I attempt to login to REDCap with the user "Test_User1" - Then I should see "ACCESS DENIED!" - - #2 minutes of waiting total; now we can login - Given I wait for another 1 minute - When I attempt to login to REDCap with the user "Test_User1" - Then I should see "My Projects" - And I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "Control Center" - Then I click on the link labeled "Security & Authentication" - And I should see "Security & Authentication Configuration" - - Given I clear the field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - When I enter "1" into the input field labeled "Number of failed login attempts before user is locked out for a specified amount of time, which is set below." - And I clear the field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I enter "1" into the input field labeled "Amount of time user will be locked out after having failed login attempts exceeding the limit set above." - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - And I logout - - #Login with bad password; first failed attempt at logging in - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ERROR: You entered an invalid user name or password!" - - #Try to login again with a bad password and we will be locked out - Given I enter "Test_User1" into the input field labeled "Username:" - And I enter "test" into the input field labeled "Password:" - And I click on the button labeled "Log In" - Then I should see "ACCESS DENIED!" - - #We only have to wait for 1 minute total this time - Given I wait for 1 minute - When I attempt to login to REDCap with the user "Test_User1" - Then I should see "My Projects" - And I logout diff --git a/Feature Tests/A/Add manage users/A.2.2.800 - Add Manage Users - Auto-Logout Inactivity Time.feature b/Feature Tests/A/Add manage users/A.2.2.800 - Add Manage Users - Auto-Logout Inactivity Time.feature deleted file mode 100644 index 0934ca92..00000000 --- a/Feature Tests/A/Add manage users/A.2.2.800 - Add Manage Users - Auto-Logout Inactivity Time.feature +++ /dev/null @@ -1,70 +0,0 @@ -Feature: A.2.2.800 Add/Manage users - - As a REDCap end user - I want to see that amount of inactivity time before auto logout time is functioning as expected. - - Scenario: A.2.2.800.100 User account locked time - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - When I clear the field labeled "Auto logout time" - And I enter "4" into the input field labeled "Auto logout time" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - And I see "My Projects" - - Given I wait for 2 minutes - Then I should see a dialog containing the following text: "REDCap Auto Logout Warning" - - Given I wait for another 2 minutes - Then I should see a dialog containing the following text: "Due to inactivity, your REDCap session has expired" - - Given I click on the button labeled "Log In" in the dialog box - Then I should see "Please log in with your user name and password." - - Given I login to REDCap with the user "Test_User1" - And I see "My Projects" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - When I clear the field labeled "Auto logout time" - And I enter "3" into the input field labeled "Auto logout time" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - Given I wait for 2 minutes - Then I should see a dialog containing the following text: "REDCap Auto Logout Warning" - - Given I wait for 1 minute - Then I should see a dialog containing the following text: "Due to inactivity, your REDCap session has expired" - - Given I click on the button labeled "Log In" in the dialog box - Then I should see "Please log in with your user name and password." - - Given I login to REDCap with the user "Test_User1" - And I see "My Projects" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Security & Authentication" - Then I should see "Security & Authentication Configuration" - - When I clear the field labeled "Auto logout time" - And I enter "20" into the input field labeled "Auto logout time" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - diff --git a/Feature Tests/A/Assign administrators/A.2.3.100 - Assign Administrators and Account Managers - Administrators Table.feature b/Feature Tests/A/Assign Administrators/A.2.3.100 - Administrators Table.feature similarity index 100% rename from Feature Tests/A/Assign administrators/A.2.3.100 - Assign Administrators and Account Managers - Administrators Table.feature rename to Feature Tests/A/Assign Administrators/A.2.3.100 - Administrators Table.feature diff --git a/Feature Tests/A/Assign administrators/A.2.3.200 - Assign Administrators and Account Managers - Add Remove Admins.feature b/Feature Tests/A/Assign Administrators/A.2.3.200 - Add Remove Admins.feature similarity index 100% rename from Feature Tests/A/Assign administrators/A.2.3.200 - Assign Administrators and Account Managers - Add Remove Admins.feature rename to Feature Tests/A/Assign Administrators/A.2.3.200 - Add Remove Admins.feature diff --git a/Feature Tests/A/Assign Administrators/A.2.3.300 - Super Users and Account Managers.feature b/Feature Tests/A/Assign Administrators/A.2.3.300 - Super Users and Account Managers.feature new file mode 100644 index 00000000..2d945fc8 --- /dev/null +++ b/Feature Tests/A/Assign Administrators/A.2.3.300 - Super Users and Account Managers.feature @@ -0,0 +1,79 @@ +Feature: A.2.3.300 Assign administrators and account managers + + As a REDCap end user + I want to see that Assign Super Users / Account Managers is functioning as expected + +Scenario: A.2.3.300.100 Modify and Revoke Admin's User Rights +#SETUP control center +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + +#FUNCTIONAL REQUIREMENT +##ACTION Add administrator #A.2.3.200.100 +When I enter "Test_User1" into the field with the placeholder text of "Search users to add as admin" + And I enable the Administrator Privilege "Set administrator privileges" for a new administrator + And I click on the button labeled "Add" +Then I should see 'The user "Test_User1" has now been granted one or more administrator privileges' + And I click on the button labeled "OK" + And I should see "Test_User1" + +##VERIFY added administrator +When I click on the link labeled "Control Center" + And I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + And I enable the Administrator Privilege "Manage user accounts" for the administrator "Test_User1" + And I enable the Administrator Privilege "Modify system configuration pages" for the administrator "Test_User1" + +Given I logout + +##VERIFY new administrator access to control center +Given I login to REDCap with the user "Test_User1" +When I click on the link labeled "Control Center" +Then I should see "Control Center Home" + And I should see a link labeled "Browse Projects" + And I should see a link labeled "Browse Users" + And I should see a link labeled "Multi-Language Management" + And I should see a link labeled "General Configuration" + +Given I logout + +##ACTION change new admins rights +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + +Given I enable the Administrator Privilege "Access to Control Center dashboards" for the administrator "Test_User1" +When I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" + And I disable the Administrator Privilege "Manage user accounts" for the administrator "Test_User1" + And I disable the Administrator Privilege "Modify system configuration pages" for the administrator "Test_User1" + And I logout + +##VERIFY limited admin rights +Given I login to REDCap with the user "Test_User1" +Then I should see a link labeled "Control Center" + +Given I logout + +##ACTION Remove new admin #A.2.3.200.100 +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + +Given I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" +Then I should see a dialog containing the following text: "Please be aware that you have unchecked ALL the administrator privileges for this user" + +Given I click on the button labeled "Close" in the dialog box + When I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + And I should NOT see "Test_User1" + +Given I logout + +##VERIFY user is no longer admin. +When I login to REDCap with the user "Test_User1" +Then I should NOT see a link labeled "Control Center" + diff --git a/Feature Tests/A/Assign administrators/A.2.3.400 - Assign Administrators and Account Managers.feature b/Feature Tests/A/Assign Administrators/A.2.3.400 - Assign Administrators and Account Managers.feature similarity index 52% rename from Feature Tests/A/Assign administrators/A.2.3.400 - Assign Administrators and Account Managers.feature rename to Feature Tests/A/Assign Administrators/A.2.3.400 - Assign Administrators and Account Managers.feature index 7bbabf26..3b01f7cf 100644 --- a/Feature Tests/A/Assign administrators/A.2.3.400 - Assign Administrators and Account Managers.feature +++ b/Feature Tests/A/Assign Administrators/A.2.3.400 - Assign Administrators and Account Managers.feature @@ -1,15 +1,18 @@ Feature: A.2.3.400 Assign administrators and account managers - As a REDCap end user - I want to see that Assign Super Users / Account Managers is functioning as expected +As a REDCap end user +I want to see that Assign Super Users / Account Managers is functioning as expected - Scenario: A.2.3.400.100 Give and remove user maximum user privileges - Given I login to REDCap with the user "Test_Admin" +Scenario: A.2.3.400.100 Give and remove user maximum user privileges + #SETUP control center +Given I login to REDCap with the user "Test_Admin" And I click on the link labeled "Control Center" And I click on the link labeled "Administrator Privileges" - Then I should see "Set administrator privileges" +Then I should see "Set administrator privileges" - When I enter "Test_User1" into the field with the placeholder text of "Search users to add as admin" +#FUNCTIONAL REQUIREMENT +##ACTION Add administrator #A.2.3.200.100 and #A.2.3.300.100 +When I enter "Test_User1" into the field with the placeholder text of "Search users to add as admin" And I enable the Administrator Privilege "Set administrator privileges" for a new administrator And I enable the Administrator Privilege "Access to all projects and data" for a new administrator And I enable the Administrator Privilege "Manage user accounts" for a new administrator @@ -18,35 +21,63 @@ Feature: A.2.3.400 Assign administrators and account managers And I enable the Administrator Privilege "Modify system configuration pages" for a new administrator And I enable the Administrator Privilege "Access to Control Center dashboards" for a new administrator And I click on the button labeled "Add" - Then I should see 'The user "Test_User1" has now been granted one or more administrator privileges' +##VERIFY added administrator +Then I should see 'The user "Test_User1" has now been granted one or more administrator privileges' And I click on the button labeled "OK" in the dialog box - Given I logout - And I login to REDCap with the user "Test_User1" +Given I logout + +##VERIFY new administrator access to control center +Given I login to REDCap with the user "Test_User1" And I click on the link labeled "Control Center" - Then I should see "Control Center Home" +Then I should see "Control Center Home" And I should see a link labeled "Browse Projects" And I should see a link labeled "Browse Users" And I should see a link labeled "General Configuration" - Given I logout - And I login to REDCap with the user "Test_Admin" +Given I logout + +##ACTION change new admins rights +Given I login to REDCap with the user "Test_Admin" And I click on the link labeled "Control Center" And I click on the link labeled "Administrator Privilege" - Then I should see "Set administrator privileges" - When I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" +Then I should see "Set administrator privileges" + +When I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" And I disable the Administrator Privilege "Access to all projects and data" for the administrator "Test_User1" And I disable the Administrator Privilege "Manage user accounts" for the administrator "Test_User1" And I disable the Administrator Privilege "Perform REDCap upgrades" for the administrator "Test_User1" And I disable the Administrator Privilege "Install, upgrade, and configure" for the administrator "Test_User1" And I disable the Administrator Privilege "Modify system configuration pages" for the administrator "Test_User1" And I disable the Administrator Privilege "Access to Control Center dashboards" for the administrator "Test_User1" - Then I should see a dialog containing the following text: "NOTICE" +Then I should see a dialog containing the following text: "NOTICE" And I should see a dialog containing the following text: "Please be aware that you have unchecked ALL the administrator privileges for this user" And I click on the button labeled "Close" in the dialog box - Given I logout - And I login to REDCap with the user "Test_User1" +Given I logout + +##VERIFY limited admin rights +Given I login to REDCap with the user "Test_User1" Then I should NOT see "Control Panel" And I logout +##ACTION Remove new admin #A.2.3.200.100 +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + +Given I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" +Then I should see a dialog containing the following text: "Please be aware that you have unchecked ALL the administrator privileges for this user" + +Given I click on the button labeled "Close" in the dialog box + When I click on the link labeled "Administrator Privileges" +Then I should see "Set administrator privileges" + And I should NOT see "Test_User1" + +Given I logout + +##VERIFY user is no longer admin. +When I login to REDCap with the user "Test_User1" +Then I should NOT see a link labeled "Control Center" + diff --git a/Feature Tests/A/Assign administrators/A.2.3.300 - Assign Administrators and Account Managers - Super Users and Account Managers.feature b/Feature Tests/A/Assign administrators/A.2.3.300 - Assign Administrators and Account Managers - Super Users and Account Managers.feature deleted file mode 100644 index 45dcfaa9..00000000 --- a/Feature Tests/A/Assign administrators/A.2.3.300 - Assign Administrators and Account Managers - Super Users and Account Managers.feature +++ /dev/null @@ -1,47 +0,0 @@ -Feature: A.2.3.300 Assign administrators and account managers - - As a REDCap end user - I want to see that Assign Super Users / Account Managers is functioning as expected - - Scenario: A.2.3.300.100 Modify and Revoke Admin's User Rights - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Administrator Privileges" - Then I should see "Set administrator privileges" - - When I enter "Test_User1" into the field with the placeholder text of "Search users to add as admin" - And I enable the Administrator Privilege "Set administrator privileges" for a new administrator - And I click on the button labeled "Add" - Then I should see 'The user "Test_User1" has now been granted one or more administrator privileges' - And I click on the button labeled "OK" - And I should see "Test_User1" - - When I click on the link labeled "Control Center" - And I click on the link labeled "Administrator Privileges" - Then I should see "Set administrator privileges" - And I enable the Administrator Privilege "Manage user accounts" for the administrator "Test_User1" - And I enable the Administrator Privilege "Modify system configuration pages" for the administrator "Test_User1" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "Control Center" - Then I should see "Control Center Home" - And I should see a link labeled "Browse Projects" - And I should see a link labeled "Browse Users" - And I should see a link labeled "Multi-Language Management" - And I should see a link labeled "General Configuration" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "Administrator Privileges" - Then I should see "Set administrator privileges" - - Given I enable the Administrator Privilege "Access to Control Center dashboards" for the administrator "Test_User1" - When I disable the Administrator Privilege "Set administrator privileges" for the administrator "Test_User1" - And I disable the Administrator Privilege "Manage user accounts" for the administrator "Test_User1" - And I disable the Administrator Privilege "Modify system configuration pages" for the administrator "Test_User1" - And I logout - And I login to REDCap with the user "Test_User1" - Then I should see a link labeled "Control Center" - diff --git a/Feature Tests/A/Browse projects/ A.1.5.100 - Browse Projects.feature b/Feature Tests/A/Browse Projects/ A.1.5.100 - Browse Projects.feature similarity index 100% rename from Feature Tests/A/Browse projects/ A.1.5.100 - Browse Projects.feature rename to Feature Tests/A/Browse Projects/ A.1.5.100 - Browse Projects.feature diff --git a/Feature Tests/A/Field Validation/A.4.8.100 - Enable field validation.feature b/Feature Tests/A/Field Validation/A.4.8.100 - Enable field validation.feature new file mode 100644 index 00000000..7053a5da --- /dev/null +++ b/Feature Tests/A/Field Validation/A.4.8.100 - Enable field validation.feature @@ -0,0 +1,103 @@ +Feature: Control Center: The system shall support the enabling/disabling of field validation types. (Date (Y-M-D) | Datetime (Y-M-D H:M) | Datetime w/seconds (Y-M-D H:M:S) | Email | Integer | Number | Number (1 decimal place - comma as decimal) | Time (HH:MM)) + +As a REDCap end user +I want to see that Field validation is functioning as expected + +Scenario: A.4.8.100.100 Control center Enable/disable field validation +#SETUP +Given I login to REDCap with the user "Test_Admin" + And I create a new project named "A.4.8.100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml", and clicking the "Create Project" button + +#SETUP_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" + +#FUNCTIONAL REQUIREMENT +##ACTION - Verify field validation Disable +When I click on the link labeled "Control Center" + And I click on the link labeled "Field Validation Types" +Then I should see "Validation Types Currently Available for Use in All Projects" + +When I click on the button labeled "Disable" for the field labeled "Date (D-M-Y)" + And I click on the button labeled "Disable" for the field labeled "Datetime (M-D-Y H:M)" + And I click on the button labeled "Disable" for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" + And I click on the button labeled "Disable" for the field labeled "Email" + And I click on the button labeled "Disable" for the field labeled "Integer" + And I click on the button labeled "Disable" for the field labeled "Number" + And I click on the button labeled "Disable" for the field labeled "Number (1 decimal place - comma as decimal)" + And I click on the button labeled "Disable" for the field labeled "Time (HH:MM)" +Then I should see the disabled icon for the field labeled "Date (D-M-Y)" + And I should see the disabled icon for the field labeled "Datetime (M-D-Y H:M)" + And I should see the disabled icon for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" + And I should see the disabled icon for the field labeled "Email" And I should see the disabled icon for the field labeled "Integer" + And I should see the disabled icon for the field labeled "Number" + And I should see the disabled icon for the field labeled "Number (1 decimal place - comma as decimal)" + And I should see the disabled icon for the field labeled "Time (HH:MM)" + +##VERIFY: options not available on validation dropdown field +When I click on the link labeled "My Projects" + And I click on the link labeled "A.4.8.100.100" + And I click on the link labeled "Designer" + And I click on the button labeled "Enter Draft Mode" +Then I should see "The project is now in Draft Mode." + +When I click on the instrument labeled "Data Types" + And I click on the button labeled "Add Field" at the bottom of the instrument + And I select the dropdown option labeled "Text Box" from the dropdown field with the placeholder text "Select a Type of Field" +Then I should see the field labeled "Validation?" + +When I click on the dropdown field for the field labeled "Validation?" +Then I should see the dropdown option "None" + And I should NOT see the dropdown option "Date (D-M-Y)" + And I should NOT see the dropdown option " Datetime (M-D-Y H:M)" + And I should NOT see the dropdown option " Datetime w/seconds (Y-M-D H:M:S)" + And I should NOT see the dropdown option "Email" + And I should NOT see the dropdown option "Integer" + And I should NOT see the dropdown option "Number" + And I should NOT see the dropdown option "Number (1 decimal place - comma as decimal)" + And I should NOT see the dropdown option "Time (HH:MM)" + + #SETUP + Given I click on the button labeled "Cancel" + And I click on the link labeled "Control Center" + And I click on the link labeled "Field Validation Types" +Then I should see "Validation Types Currently Available for Use in All Projects" + +When I click on the button labeled "Enable" for the field labeled "Date (D-M-Y)" + And I click on the button labeled "Enable" for the field labeled "Datetime (M-D-Y H:M)" + And I click on the button labeled "Enable" for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" + And I click on the button labeled "Enable" for the field labeled "Email" + And I click on the button labeled "Enable" for the field labeled "Integer" + And I click on the button labeled "Enable" for the field labeled "Number" + And I click on the button labeled "Enable" for the field labeled "Number (1 decimal place - comma as decimal)" + And I click on the button labeled "Enable" for the field labeled "Time (HH:MM)" +Then I should see the green checkmark icon for the field labeled "Date (D-M-Y)" + And I should see the green checkmark icon for the field labeled "Datetime (M-D-Y H:M)" + And I should see the green checkmark icon for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" + And I should see the green checkmark icon for the field labeled "Email" + And I should see the green checkmark icon for the field labeled "Integer" + And I should see the green checkmark icon for the field labeled "Number" + And I should see the green checkmark icon for the field labeled "Number (1 decimal place - comma as decimal)" + And I should see the green checkmark icon for the field labeled "Time (HH:MM)" + +#FUNCTIONAL REQUIREMENT +##ACTION - Verify field validation Enable +##VERIFY: options are available on validation dropdown field + +When I click on the link labeled "My Projects" + And I click on the link labeled "A.4.8.100.100" And I click on the link labeled "Designer" + And I click on the instrument labeled "Data Types" + And I click on the button labeled "Add Field" at the bottom of the instrument + And I select the dropdown option labeled "Text Box" from the dropdown field with the placeholder text "Select a Type of Field" Then I should see the field labeled "Validation?" + And I click on the dropdown field for the field labeled "Validation?" +Then I should see the dropdown option "Date (D-M-Y)" + And I should see the dropdown option " Datetime (M-D-Y H:M)" + And I should see the dropdown option " Datetime w/seconds (Y-M-D H:M:S)" + And I should see the dropdown option "Email" + And I should see the dropdown option "Integer" + And I should see the dropdown option "Number" + And I should see the dropdown option "Number (1 decimal place - comma as decimal)" + And I should see the dropdown option "Time (HH:MM)" And I click on the button labeled "Cancel" diff --git a/Feature Tests/A/Field validation/A.4.8.100 - Enable field validation.feature b/Feature Tests/A/Field validation/A.4.8.100 - Enable field validation.feature deleted file mode 100644 index 92a593e5..00000000 --- a/Feature Tests/A/Field validation/A.4.8.100 - Enable field validation.feature +++ /dev/null @@ -1,100 +0,0 @@ -Feature: Control Center: The system shall support the enabling/disabling of field validation types. (Date (Y-M-D) | Datetime (Y-M-D H:M) | Datetime w/seconds (Y-M-D H:M:S) | Email | Integer | Number | Number (1 decimal place - comma as decimal) | Time (HH:MM)) - -As a REDCap end user -I want to see that Field validation is functioning as expected - -Scenario: A.4.8.100.100 Control center Enable/disable field validation -#SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "A.4.8.100.100 " by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml", and clicking the "Create Project" button - -#SETUP_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" - -#FUNCTIONAL REQUIREMENT -##ACTION - Verify field validation Disable -When I click on the link labeled "Control Center" -And I click on the link labeled "Field Validation Types" -Then I should see "Validation Types Currently Available for Use in All Projects" - -When I click on the button labeled "Disable" for the field labeled "Date (D-M-Y)" -And I click on the button labeled "Disable" for the field labeled "Datetime (M-D-Y H:M)" -And I click on the button labeled "Disable" for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" -And I click on the button labeled "Disable" for the field labeled "Email" -And I click on the button labeled "Disable" for the field labeled "Integer" -And I click on the button labeled "Disable" for the field labeled "Number" -And I click on the button labeled "Disable" for the field labeled "Number (1 decimal place - comma as decimal)" -And I click on the button labeled "Disable" for the field labeled "Time (HH:MM)" -Then I should see the disabled icon for the field labeled "Date (D-M-Y)" -And I should see the disabled icon for the field labeled "Datetime (M-D-Y H:M)" -And I should see the disabled icon for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" -And I should see the disabled icon for the field labeled "Email" And I should see the disabled icon for the field labeled "Integer" -And I should see the disabled icon for the field labeled "Number" -And I should see the disabled icon for the field labeled "Number (1 decimal place - comma as decimal)" - And I should see the disabled icon for the field labeled "Time (HH:MM)" - -##VERIFY: options not available on validation dropdown field -When I click on the link labeled "My Projects" -And I click on the link labeled "A.4.8.100.100" -And I click on the link labeled "Designer" -And I click on the button labeled "Enter Draft Mode" -Then I should see "The project is now in Draft Mode." -When I click on the instrument labeled "Data Types" -And I click on the button labeled "Add Field" at the bottom of the instrument -And I select the dropdown option labeled "Text Box" from the dropdown field with the placeholder text "Select a Type of Field" -Then I should see the field labeled "Validation?" - -When I click on the dropdown field for the field labeled "Validation?" -Then I should NOT see the dropdown option "Date (D-M-Y)" -And I should NOT see the dropdown option " Datetime (M-D-Y H:M)" -And I should NOT see the dropdown option " Datetime w/seconds (Y-M-D H:M:S)" -And I should NOT see the dropdown option "Email" -And I should NOT see the dropdown option "Integer" -And I should NOT see the dropdown option "Number" - And I should NOT see the dropdown option "Number (1 decimal place - comma as decimal)" -And I should NOT see the dropdown option "Time (HH:MM)" - - #SETUP -Given I click on the button labeled "Cancel" - When I click on the link labeled "Control Center" - And I click on the link labeled "Field Validation Types" -Then I should see "Validation Types Currently Available for Use in All Projects" - When I click on the button labeled "Enable" for the field labeled "Date (D-M-Y)" -And I click on the button labeled "Enable" for the field labeled "Datetime (M-D-Y H:M)" - And I click on the button labeled "Enable" for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" - And I click on the button labeled "Enable" for the field labeled "Email" -And I click on the button labeled "Enable" for the field labeled "Integer" -And I click on the button labeled "Enable" for the field labeled "Number" -And I click on the button labeled "Enable" for the field labeled "Number (1 decimal place - comma as decimal)" -And I click on the button labeled "Enable" for the field labeled "Time (HH:MM)" -Then I should see the green checkmark icon for the field labeled "Date (D-M-Y)" - And I should see the green checkmark icon for the field labeled "Datetime (M-D-Y H:M)" -And I should see the green checkmark icon for the field labeled "Datetime w/seconds (Y-M-D H:M:S)" -And I should see the green checkmark icon for the field labeled "Email" -And I should see the green checkmark icon for the field labeled "Integer" - And I should see the green checkmark icon for the field labeled "Number" -And I should see the green checkmark icon for the field labeled "Number (1 decimal place - comma as decimal)" -And I should see the green checkmark icon for the field labeled "Time (HH:MM)" - -#FUNCTIONAL REQUIREMENT -##ACTION - Verify field validation Enable -##VERIFY: options are available on validation dropdown field - -When I click on the link labeled "My Projects" -And I click on the link labeled "A.4.8.100.100" And I click on the link labeled "Designer" -And I click on the instrument labeled "Data Types" -And I click on the button labeled "Add Field" at the bottom of the instrument -And I select the dropdown option labeled "Text Box" from the dropdown field with the placeholder text "Select a Type of Field" Then I should see the field labeled "Validation?" -When I click on the dropdown field for the field labeled "Validation?" -Then I should see the dropdown option "Date (D-M-Y)" -And I should see the dropdown option " Datetime (M-D-Y H:M)" -And I should see the dropdown option " Datetime w/seconds (Y-M-D H:M:S)" -And I should see the dropdown option "Email" - And I should see the dropdown option "Integer" -And I should see the dropdown option "Number" -And I should see the dropdown option "Number (1 decimal place - comma as decimal)" -And I should see the dropdown option "Time (HH:MM)" And I click on the button labeled "Cancel" diff --git a/Feature Tests/A/File Repository/A.3.26.100 - public file share.feature b/Feature Tests/A/File Repository/A.3.26.100 - Public File Share.feature similarity index 80% rename from Feature Tests/A/File Repository/A.3.26.100 - public file share.feature rename to Feature Tests/A/File Repository/A.3.26.100 - Public File Share.feature index 4355d599..1d77e015 100644 --- a/Feature Tests/A/File Repository/A.3.26.100 - public file share.feature +++ b/Feature Tests/A/File Repository/A.3.26.100 - Public File Share.feature @@ -4,24 +4,27 @@ As a REDCap end user I want to see that file repository is functioning as expected Scenario: C.3.26.100.100 Enable/Disable file repository public links via Control Center -#SETUP Given I login to REDCap with the user "Test_Admin" -When I create a "New Project" named "A.3.26.100.100", select "Practice / Just for Fun" from the dropdown, choose file "Project_1.xml" and click on the "Create Project" button -And I click on the link labeled "My Projects" +#SETUP +Given I login to REDCap with the user "Test_Admin" +And I create a new project named "A.3.26.100.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 +And I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.100.100" And I click the link labeled "Designer" And I click the button labeled "Survey Settings" for the instrument "Consent" -And I click on the button labeled "Auto-Archiver enabled + e-Consent Framework" Then I click the button labeled "Save Changes" +And I click on the button labeled "Auto-Archiver enabled + e-Consent Framework" +Then I click the button labeled "Save Changes" ##SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" ##ACTION Upload to top tier file repo (all users will see file) - using the Select files to upload button When I click on the link labeled "File Repository" -When I upload a "csv" format file located at "import_files/testusers_bulk_upload.csv", by clicking the button near "Select files to upload" to browse for the file, and clicking the button labeled "Open" to upload the file ##VERIFY_FiRe file uploaded in folder +When I upload a "csv" format file located at "import_files/testusers_bulk_upload.csv", by clicking the button near "Select files to upload" to browse for the file, and clicking the button labeled "Open" to upload the file +##VERIFY_FiRe file uploaded in folder Then I should see "testusers_bulk_upload.csv" #FUNCTIONAL_REQUIREMENT @@ -40,7 +43,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.100.100" When I click on the link labeled "File Repository." And I click on the file share icon for "testusers_bulk_upload.csv" -Then I should see Send the file securely using Send-It" +Then I should see "Send the file securely using Send-It" And I should NOT see "Share a public link to view the file" #FUNCTIONAL_REQUIREMENT @@ -54,8 +57,11 @@ Then I should see "Your system configuration values have now been changed!" ##VERIFY Project settings shareability in File Repository When I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.100.100" - And I click on the link labeled "File Repository." +And I click on the link labeled "File Repository." And I click on the file share icon for "testusers_bulk_upload.csv" Then I should see Send the file securely using Send-It" -Then I should see "Share a public link to view the file" +And I should see "Share a public link to view the file" And I click on the button labeled "Close" in the dialog box + + + diff --git a/Feature Tests/A/Project Setup/A.6.4.100 - Manage project creation deletion and settings - User Create Projects.feature b/Feature Tests/A/Project Setup/A.6.4.100 - Manage project creation deletion and settings - User Create Projects.feature deleted file mode 100644 index 88d647a2..00000000 --- a/Feature Tests/A/Project Setup/A.6.4.100 - Manage project creation deletion and settings - User Create Projects.feature +++ /dev/null @@ -1,50 +0,0 @@ -Feature: A.6.4.100 Manage project creation, deletion, and settings - - Manage project creation, deletion, and settings - Control Center: The system shall support the option to limit the creation of new projects to administrators. - - Scenario: A.6.4.100.100 User's ability to create new projects - - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - - When I select "No, only Administrators can create new projects" on the dropdown field labeled "Allow normal users to create new projects?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - - # BEGIN: STEPS FOR ATS - # - EMAIL ADDRESS SET FOR REDCAP ADMIN - without it, project request behavior does not work properly - # - CUSTOM MESSAGE SET - Makes the dialog box pop up when requesting a project - Given I click on the link labeled "General Configuration" - Then I should see "General Configuration" - - When I enter "redcap@test.instance" into the input field labeled "Email Address of REDCap Administrator" - And I enter "You are now creating a test project" into the textarea field labeled "Custom message when creating/copying project" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed" - # END: STEPS FOR ATS ### - - Given I logout - - Given I login to REDCap with the user "Test_User1" - And I create a new project named "A.6.4.100.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 "Send Request" button - And I click on the button labeled "I Agree" in the dialog box - Then I should see "Request Sent!" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - - When I select "Yes, normal users can create new projects" on the dropdown field labeled "Allow normal users to create new projects?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - And I create a new project named "A.6.4.100.101" 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 - And I click on the button labeled "I Agree" in the dialog box - Then I should see "Your new REDCap project has been created" diff --git a/Feature Tests/A/Project Setup/A.6.4.100 - User Create Projects.feature b/Feature Tests/A/Project Setup/A.6.4.100 - User Create Projects.feature new file mode 100644 index 00000000..0f504bbd --- /dev/null +++ b/Feature Tests/A/Project Setup/A.6.4.100 - User Create Projects.feature @@ -0,0 +1,59 @@ +Feature: A.6.4.100 Manage project creation, deletion, and settings. Control Center: The system shall support the option to limit the creation of new projects to administrators. + +As a REDCap end user +I want to see that manage project functions is functioning as expected + + Scenario: A.6.4.100.100 User's ability to create new projects +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "User Settings" +Then I should see "System-level User Settings" + +#FUNCTIONAL REQUIREMENT +##ACTION Admin only can make project +When I select "No, only Administrators can create new projects" on the dropdown field labeled "Allow normal users to create new projects?" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +# Manual tester skips next step. +# BEGIN: STEPS FOR ATS +# - EMAIL ADDRESS SET FOR REDCAP ADMIN - without it, project request behavior does not work properly +# - CUSTOM MESSAGE SET - Makes the dialog box pop up when requesting a project +Given I click on the link labeled "General Configuration" +Then I should see "General Configuration" + +When I enter "redcap@test.instance" into the input field labeled "Email Address of REDCap Administrator" + And I enter "You are now creating a test project" into the textarea field labeled "Custom message when creating/copying project" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed" +# END: STEPS FOR ATS ### + +Given I logout + +##VERIFY User can create new project with request to Admin +Given I login to REDCap with the user "Test_User1" + And I create a new project named "A.6.4.100.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 "Send Request" button + And I click on the button labeled "I Agree" in the dialog box +Then I should see "Request Sent!" + +Given I logout + +#FUNCTIONAL REQUIREMENT +##ACTION Normal user can make new project +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "User Settings" +Then I should see "System-level User Settings" + +When I select "Yes, normal users can create new projects" on the dropdown field labeled "Allow normal users to create new projects?" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +##VERIFY User can create new project without request +Given I login to REDCap with the user "Test_User1" + And I create a new project named "A.6.4.100.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 + And I click on the button labeled "I Agree" in the dialog box +Then I should see "Your new REDCap project has been created" diff --git a/Feature Tests/A/Project Setup/A.6.4.1500 - enable survey control center.feature b/Feature Tests/A/Project Setup/A.6.4.1500 - Manage Survey User..feature similarity index 100% rename from Feature Tests/A/Project Setup/A.6.4.1500 - enable survey control center.feature rename to Feature Tests/A/Project Setup/A.6.4.1500 - Manage Survey User..feature diff --git a/Feature Tests/A/Project Setup/A.6.4.1600 - survey edit enable control center.feature b/Feature Tests/A/Project Setup/A.6.4.1600 - Edit Survey Responses.feature similarity index 84% rename from Feature Tests/A/Project Setup/A.6.4.1600 - survey edit enable control center.feature rename to Feature Tests/A/Project Setup/A.6.4.1600 - Edit Survey Responses.feature index 2c81eda3..b8dd030f 100644 --- a/Feature Tests/A/Project Setup/A.6.4.1600 - survey edit enable control center.feature +++ b/Feature Tests/A/Project Setup/A.6.4.1600 - Edit Survey Responses.feature @@ -4,9 +4,10 @@ Feature: Control Center: The system shall allow users to edit survey responses t I want to see that allow edit survey response is functioning as expected Scenario: A.6.4.1600.100 +#PARENT to A.6.4.300.100 User's ability to edit survey responses #SETUP_DEV Given I login to REDCap with the user "Test_Admin" -And I create a new project named "A.6.4.1600.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 +And I create a new project named "A.6.4.1600.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 #FUNCTIONAL REQUIREMENT ##ACTION Admin Disable edit survey response function in control center @@ -34,7 +35,7 @@ Then I should see "Your system configuration values have now been changed!" ##VERIFY: Admin Go to user rights and look for the edit survey checkbox (should be there) Given I click on the link labeled "My Projects" When I click on the link labeled "A.6.4.1600.100" -nd I click on the link labeled "User Rights" +And I click on the link labeled "User Rights" And I click on the link labeled "test_admin" And I click on the button labeled "Edit user privileges" Then I should see the checkbox labeled "Edit user privileges" for the instrument labeled "Survey" @@ -45,12 +46,13 @@ When I click on the checkbox labeled "Edit user privileges" for the instrument l And I click on the button labeled "Save Changes" Then I should see "User "test_admin" was successfully edited" -#SETUP Check edit survey function in a record +#SETUP +#A.6.4.300.100 User's ability to edit survey responses Given I click the link labeled "Record Status Dashboard" And I click the bubble for the "Survey" longitudinal instrument on event "Event Three" for record "1" And I click on the button labeled "Survey options" And I select the option labeled "Open survey" And I enter "SURVEY RESPONSE" in the field labeled "Name" And I click on the button labeled "Submit" - Then I should see "Thank you for taking this survey" And I click on the button labeled "Close survey" + Then I should see "Thank you for taking the survey" And I click on the button labeled "Close survey" ##VERIFY_RSD Given I click on the button labeled "Leave without saving changes" @@ -68,4 +70,7 @@ Then I should see "EDITED SURVEY RESPONSE" in the field labeled "Name" ##VERIFY_LOG When I click the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | | test_admin | Update record 1 | name_survey = 'EDITED SURVEY RESPONSE ' | | [survey respondent] | Update Response 1 | name_survey = 'SURVEY RESPONSE ' | +Then I should see a table header and rows including the following values in the logging table: + | Username | Action | List of Data Changes OR Fields Exported | + | test_admin | Update record 1 | name_survey = 'EDITED SURVEY RESPONSE ' | + | [survey respondent] | Update Response 1 | name_survey = 'SURVEY RESPONSE ' | diff --git a/Feature Tests/A/Project Setup/A.6.4.200 - Manage project creation deletion and settings - Move to Production.feature b/Feature Tests/A/Project Setup/A.6.4.200 - Manage project creation deletion and settings - Move to Production.feature deleted file mode 100644 index 4bfbb9f7..00000000 --- a/Feature Tests/A/Project Setup/A.6.4.200 - Manage project creation deletion and settings - Move to Production.feature +++ /dev/null @@ -1,100 +0,0 @@ -Feature: A.6.4.200 Manage project creation, deletion, and settings - - As a REDCap end user - I want to see that project management features are functioning as expected - - Scenario: A.6.4.200.100 User requests admin move project to production - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.200.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.200.100" - And 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 - When 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 - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "No, only Administrators can move projects to production" on the dropdown field labeled "Allow normal users to move projects to production?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.200.100" - And I click on the link labeled "Project Setup" - Then I should see a button labeled "Move project to production" - - When 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, Request Admin to Move to Production Status" in the dialog box to request a change in project status - Then I should see "Request pending" - And I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | - | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Send request to move project to production status | - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.200.100" - And I click on the link labeled "Control Center" - And I click on the link labeled "To-Do List" - - Then I should see "Pending Requests" - - Given I should see the "Move to prod" request created for the project named "A.6.4.200.100" within the "Pending Requests" table - When I click on the "process request" icon for the "Move to prod" request created for the project named "A.6.4.200.100" within the "Pending Requests" table - Then I should see "Move Project To Production Status" in the iframe - - Given I click on the radio labeled "Keep ALL data saved so far." in the dialog box in the iframe - When I click on the button labeled "YES, Move to Production Status" in the dialog box in the iframe - And I close the iframe window - Then I should see the "Move to prod" request created for the project named "A.6.4.200.100" within the "Completed & Archived Requests" table - - Given I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.200.100" - Then I should see Project status: "Production" - And I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | - | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Move project to Production status | - - Scenario: A.6.4.200.200 User moves project to production - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.200.200" 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.200.200" - And 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 - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Yes, normal users can move projects to production" on the dropdown field labeled "Allow normal users to move projects to production?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.200.200" - And I click on the link labeled "Project Setup" - Then I should see a button labeled "Move project to production" - - Given 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" - Given I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | - | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Move project to Production status | diff --git a/Feature Tests/A/Project Setup/A.6.4.200 - Move to Production.feature b/Feature Tests/A/Project Setup/A.6.4.200 - Move to Production.feature new file mode 100644 index 00000000..b331be44 --- /dev/null +++ b/Feature Tests/A/Project Setup/A.6.4.200 - Move to Production.feature @@ -0,0 +1,98 @@ +Feature: A.6.4.200 Manage project creation, deletion, and settings + + As a REDCap end user + I want to see that project management features are functioning as expected + +Scenario: A.6.4.200.100 User requests admin move project to production +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "User Settings" +Then I should see "System-level User Settings" + +When I select "No, only Administrators can move projects to production" on the dropdown field labeled "Allow normal users to move projects to production?" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#SETUP_DEV +Given I login to REDCap with the user "Test_User1" + And I create a new project named "A.6.4.200.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 +Then I should see "Project Setup" + +#FUNCTIONAL REQUIREMENT +##ACTION User request move to production +When 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, Request Admin to Move to Production Status" in the dialog box to request a change in project status +##VERIFY +Then I should see "Request pending" + +##VERIFY_LOG +When I click on the link labeled "Logging" +Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Send request to move project to production status | + +Given I logout + +##ACTION Admin moves project to production +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "My Projects" + And I click on the link labeled "A.6.4.200.100" + And I click on the link labeled "Control Center" + And I click on the link labeled "To-Do List" +Then I should see "Pending Requests" + And I should see the "Move to prod" request created for the project named "A.6.4.200.100" within the "Pending Requests" table + +When I click on the "process request" icon for the "Move to prod" request created for the project named "A.6.4.200.100" within the "Pending Requests" table +Then I should see "Move Project To Production Status" in the iframe + +When I click on the radio labeled "Keep ALL data saved so far." in the dialog box in the iframe + And I click on the button labeled "YES, Move to Production Status" in the dialog box in the iframe + And I close the iframe window +Then I should see the "Move to prod" request created for the project named "A.6.4.200.100" within the "Completed & Archived Requests" table + +##VERIFY +When I click on the link labeled "My Projects" + And I click on the link labeled "A.6.4.200.100" +Then I should see Project status: "Production" + +##VERIFY_LOG +When I click on the link labeled "Logging" +Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Move project to Production status | + + +Scenario: A.6.4.200.200 User moves project to production +#SETUP_CONTROL_CENTER +When I click on the link labeled "Control Center" + And I click on the link labeled "User Settings" +Then I should see "System-level User Settings" + +When I select "Yes, normal users can move projects to production" on the dropdown field labeled "Allow normal users to move projects to production?" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#SETUP_DEV +Given I login to REDCap with the user "Test_Admin" + And I create a new project named "A.6.4.200.200" 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 +Then I should see "Project Setup" + +#FUNCTIONAL REQUIREMENT +##ACTION User moves project into production +When I should see a 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 +##VERIFY_PRODUCTION +Then I should see Project status: "Production" + +##VERIFY_LOG +When I click on the link labeled "Logging" +Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Move project to Production status | diff --git a/Feature Tests/A/Project Setup/A.6.4.300 - Manage project creation deletion and settings - Edit Survey Responses.feature b/Feature Tests/A/Project Setup/A.6.4.300 - Manage project creation deletion and settings - Edit Survey Responses.feature deleted file mode 100644 index 74d9cb44..00000000 --- a/Feature Tests/A/Project Setup/A.6.4.300 - Manage project creation deletion and settings - Edit Survey Responses.feature +++ /dev/null @@ -1,57 +0,0 @@ -Feature: A.6.4.300 Manage project creation, deletion, and settings - - Manage project creation, deletion, and settings - Control Center: The system shall support enabling users to edit survey responses. - - Scenario: A.6.4.300.100 User's ability to edit survey responses - - 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" - - 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" - - And 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 - When 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 - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Enabled" on the dropdown field labeled "Allow users to edit survey responses?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - And I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.300.100" - And I click on the link labeled "Record Status Dashboard" - And I locate the bubble for the "Survey" instrument on event "Event 1" for record ID "1" and click on the bubble - #Then I should see "Survey response is editable" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Disabled" on the dropdown field labeled "Allow users to edit survey responses?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - And I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.300.100" - And I click on the link labeled "Record Status Dashboard" - And I locate the bubble for the "Survey" instrument on event "Event 1" for record ID "1" and click on the bubble - #Then I should see "Survey response is read-only" - diff --git a/Feature Tests/A/Project Setup/A.6.4.300 - REDUNDANT Edit Survey Responses.feature b/Feature Tests/A/Project Setup/A.6.4.300 - REDUNDANT Edit Survey Responses.feature new file mode 100644 index 00000000..49216841 --- /dev/null +++ b/Feature Tests/A/Project Setup/A.6.4.300 - REDUNDANT Edit Survey Responses.feature @@ -0,0 +1,10 @@ +Feature: A.6.4.300 Manage project creation, deletion, and settings + + Manage project creation, deletion, and settings + Control Center: The system shall support enabling users to edit survey responses. + + Scenario: A.6.4.300.100 User's ability to edit survey responses + +#REDUNDANT - Tested in A.6.4.1600.100 +#CHILD + diff --git a/Feature Tests/A/Project Setup/A.6.4.400 - Manage project creation deletion and settings - Draft Mode.feature b/Feature Tests/A/Project Setup/A.6.4.400 - Draft Mode.feature similarity index 76% rename from Feature Tests/A/Project Setup/A.6.4.400 - Manage project creation deletion and settings - Draft Mode.feature rename to Feature Tests/A/Project Setup/A.6.4.400 - Draft Mode.feature index 75fcdb75..ee11456f 100644 --- a/Feature Tests/A/Project Setup/A.6.4.400 - Manage project creation deletion and settings - Draft Mode.feature +++ b/Feature Tests/A/Project Setup/A.6.4.400 - Draft Mode.feature @@ -1,13 +1,15 @@ -Feature: A.6.4.400 Manage project creation, deletion, and settings +Feature: A.6.4.400 Manage project creation, deletion, and settings. Control Center: The system shall allow production Draft Mode changes to be approved automatically under certain conditions. - Manage project creation, deletion, and settings - Control Center: The system shall allow production Draft Mode changes to be approved automatically under certain conditions. +As a REDCap end user + I want to see that manage project functions is functioning as expected Scenario: A.6.4.400.100 User's ability to approve draft changes without administrative approval +#SETUP Given I login to REDCap with the user "Test_Admin" And I create a new project named "A.6.4.400.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 +#SETUP_CONTROL_CENTER # BEGIN: STEPS FOR ATS # - EMAIL ADDRESS SET FOR REDCAP ADMIN - without it, project request behavior does not work properly Given I click on the link labeled "Control Center" @@ -19,6 +21,7 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Then I should see "Your system configuration values have now been changed" # END: STEPS FOR ATS ### +#SETUP_USER When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" @@ -29,18 +32,22 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings When 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 +#SETUP_PRODUCTION Given 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" +##VERIFY_LOG And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Move project to Production status | +#FUNCTIONAL REQUIREMENT +#SETUP_CONTROL_CENTER Never allow user to automatically approve changes When I click on the link labeled "Control Center" And I click on the link labeled "User Settings" Then I should see "System-level User Settings" @@ -49,12 +56,15 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Then I should see "Your system configuration values have now been changed!" Given I logout +#FUNCTIONAL REQUIREMENT +#User submit change request Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" And I click on the link labeled "Designer" And I click on the button labeled "Enter Draft Mode" Then I should see "The project is now in Draft Mode" +##VERIFY_LOG And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: @@ -65,7 +75,8 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings When I click on the button labeled "Submit Changes for Review" And I click on the button labeled "Submit" in the dialog box Then I should see "Awaiting review of project changes" - And I click on the link labeled "Logging" +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | @@ -73,6 +84,8 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Given I logout +#FUNCTIONAL REQUIREMENT +#Admin rejects changes Given I login to REDCap with the user "Test_Admin" When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" @@ -85,10 +98,13 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Then I should see "Project Changes Rejected / User Notified" Given I logout +#FUNCTIONAL REQUIREMENT +#User submit change request Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" - And I click on the link labeled "Logging" +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | @@ -102,7 +118,8 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings When I click on the button labeled "Submit Changes for Review" And I click on the button labeled "Submit" in the dialog box Then I should see "Awaiting review of project changes" - And I click on the link labeled "Logging" +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | @@ -110,6 +127,8 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Given I logout +#FUNCTIONAL REQUIREMENT +#Admin commits changes Given I login to REDCap with the user "Test_Admin" When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" @@ -125,7 +144,8 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" And I click on the link labeled "A.6.4.400.100" - And I click on the link labeled "Logging" +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | @@ -134,27 +154,10 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the link labeled "Designer" Then I should see "Enter Draft Mode" - - Scenario: A.6.4.400.200 User's ability to approve draft changes without administrative approval if no existing fields were modified - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.400.200" 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.400.200" - - And 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 - When 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 - - Given 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" - - When I click on the link labeled "Control Center" +##A.6.4.400.200 User's ability to approve draft changes without administrative approval if no existing fields were modified +##SETUP_CONTROL_CENTER Allow user to approve changes automatically + Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" And I click on the link labeled "User Settings" Then I should see "System-level User Settings" When I select "Yes, if no existing fields were modified" on the dropdown field labeled "Allow production Draft Mode changes to be approved automatically under certain conditions?" @@ -162,24 +165,37 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Then I should see "Your system configuration values have now been changed!" Given I logout +#FUNCTIONAL REQUIREMENT +#User Modifies field and submit changes - request sent to admin Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.200" + And I click on the link labeled "A.6.4.400.100" And I click on the link labeled "Designer" And I click on the button labeled "Enter Draft Mode" Then I should see "The project is now in Draft Mode" When I click on the link labeled "Data Types" - And I click on the Edit image for the field named "Radio Button Manual" + And I click on the Edit image for the field named "Radio" And I enter Choices of "102, Choice102" into the open "Edit Field" dialog box And I click on the button labeled "Save" And I click on the button labeled "Submit Changes for Review" And I click on the button labeled "Submit" in the dialog box + Then I should see "Awaiting review of project changes" + +##VERIFY_LOG +When I click on the link labeled "Logging" + + Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Request approval for production project modifications| + Given I logout +#FUNCTIONAL REQUIREMENT +#Admin remove changes Given I login to REDCap with the user "Test_Admin" When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.200" + And I click on the link labeled "A.6.4.400.100" And I click on the link labeled "Designer" Then I should see "REVIEW CHANGES?" @@ -187,17 +203,21 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "Remove All Drafted Changes" And I click on the button labeled "Remove All Drafted Changes" in the dialog box Then I should see "Project Changes Removed / User Notified" + + ##VERIFY_LOG +When I click on the link labeled "Logging" + + Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Remove production project modifications| + Given I logout +#FUNCTIONAL REQUIREMENT +#User modifies by adding field and submitting changes - changes automatically accepted Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.200" - And I click on the link labeled "Logging" - - Then I should see a table header and rows containing the following values in the logging table: - | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | - | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Remove production project modifications | - + And I click on the link labeled "A.6.4.400.100" And I click on the link labeled "Designer" And I click on the button labeled "Enter Draft Mode" Then I should see "The project is now in Draft Mode" @@ -212,41 +232,27 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "Close" in the dialog box And I click on the link labeled "Logging" + ##VERIFY_LOG Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Approve production project modifications (automatic) | | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Create project field | - Scenario: A.6.4.400.300 User's ability to approve draft changes without administrative approval if no critical issues exist - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.400.300" 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.400.300" - And 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 - When 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 - - Given 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" - +## A.6.4.400.300 User's ability to approve draft changes without administrative approval if no critical issues exist +##SETUP_CONTROL_CENTER Allow user to approve changes automatically if project has no records OR if has records and no critical issues exist + Given I login to REDCap with the user "Test_Admin" When I click on the link labeled "Control Center" And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Yes, if project has no records OR if has records and no critical issues exist" on the dropdown field labeled "Allow production Draft Mode changes to be approved automatically under certain conditions?" + And I select "Yes, if project has no records OR if has records and no critical issues exist" on the dropdown field labeled "Allow production Draft Mode changes to be approved automatically under certain conditions?" And I click on the button labeled "Save Changes" Then I should see "Your system configuration values have now been changed!" Given I logout +#FUNCTIONAL REQUIREMENT +#User automatically submit changes with no change Given I login to REDCap with the user "Test_User1" When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.300" + And I click on the link labeled "A.6.4.400.100" And I click on the link labeled "Designer" And I click on the button labeled "Enter Draft Mode" Then I should see "The project is now in Draft Mode" @@ -255,33 +261,31 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "Submit" in the dialog box Then I should see "Changes Were Made Automatically" And I click on the button labeled "Close" in the dialog box - - And I click on the button labeled "Enter Draft Mode" - Then I should see "The project is now in Draft Mode" - - And I click on the link labeled "Logging" +##VERIFY_LOG + And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | - | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Approve production project modifications (automatic) | - - When I click on the link labeled "Designer" + | mm/dd/yyyy hh:mm | test_user1 | Manage/Design | Approve production project modifications (automatic) | - #We were already in DRAFT MODE. See line 231. - #And I click on the button labeled "Enter Draft Mode" - #Then I should see "The project is now in Draft Mode" - - When I click on the link labeled "Data Types" +#FUNCTIONAL REQUIREMENT +#User creates critical modification to field and request change +When I click on the link labeled "Designer" + And I click on the button labeled "Enter Draft Mode" + Then I should see "The project is now in Draft Mode" + +When I click on the link labeled "Data Types" And I click on the Edit image for the field named "Radio Button Manual" - #We are deleting the third option and renaming "100, Choice100" to "101, Choice100" in one step + #We are deleting the third option and renaming "100, Choice100" to "101, Choice100" in one step. This is a critical change And I clear field and enter Choices of "9..9, Choice99{enter}101, Choice100" into the open "Edit Field" dialog box And I click on the button labeled "Save" And I click on the button labeled "Submit Changes for Review" And I click on the button labeled "Submit" in the dialog box Then I should see "Awaiting review of project changes" - And I click on the link labeled "Logging" +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | @@ -289,9 +293,9 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Given I logout +#FUNCTIONAL REQUIREMENT +#Admin removes All Drafted Changes Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.300" And I click on the link labeled "Designer" Then I should see "REVIEW CHANGES?" @@ -300,17 +304,20 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "Remove All Drafted Changes" And I click on the button labeled "Remove All Drafted Changes" in the dialog box Then I should see "Project Changes Removed / User Notified" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.300" - And I click on the link labeled "Logging" + +##VERIFY_LOG +And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Remove production project modifications | + Given I logout + + +#FUNCTIONAL REQUIREMENT +#User creates critical modification to field and request change +Given I login to REDCap with the user "Test_User1" And I click on the link labeled "Designer" And I click on the button labeled "Enter Draft Mode" Then I should see "The project is now in Draft Mode" @@ -333,9 +340,9 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings Given I logout +#FUNCTIONAL REQUIREMENT +#Admin Commit Changes Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.300" And I click on the link labeled "Designer" Then I should see "REVIEW CHANGES?" @@ -344,27 +351,21 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "COMMIT CHANGES" And I click on the button labeled "COMMIT CHANGES" in the dialog box Then I should see "Project Changes Committed / User Notified" - Given I logout - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.400.300" +##VERIFY_LOG And I click on the link labeled "Logging" Then I should see a table header and rows containing the following values in the logging table: | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Approve production project modifications | - - And I click on the link labeled "Designer" - And I click on the button labeled "Enter Draft Mode" - Then I should see "The project is now in Draft Mode" - - When I click on the link labeled "Data Types" - And I click on the Edit image for the field named "Radio Button Manual" - Then I should see a dialog containing the following text: "Edit Field" - When I verify Choice of "101, Choice100" in the open "Edit Field" dialog box - Then I click on the button labeled "Cancel" in the dialog box - + +##VERIFY_CODEBOOK + And I click on the link labeled "Codebook" + Then I should see a table header and rows containing the following values in the logging table: + | # | Variable / Field Name | Field Label | Field Attributes (Field Type, Validation, Choices, Calculations, etc.) | + | 14 | [radio_button_manual] | Radio Button Manual |radio 9..9 Choice99 101 Choice100 | + + ##VERIFY_DE When I click on the link labeled "Data Exports, Reports, and Stats" Given I see a table rows containing the following values in the reports table: @@ -388,6 +389,16 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings When I click on the link labeled "Designer" + Given I logout + + +#FUNCTIONAL REQUIREMENT +#User creates non-critical modification to field and automatically committed +Given I login to REDCap with the user "Test_User1" + And I click on the link labeled "Designer" + And I click on the button labeled "Enter Draft Mode" + Then I should see "The project is now in Draft Mode" + When I click on the link labeled "Data Types" And I click on the Edit image for the field named "Radio Button Manual" @@ -399,3 +410,10 @@ Feature: A.6.4.400 Manage project creation, deletion, and settings And I click on the button labeled "Submit" in the dialog box Then I should see "Changes Were Made Automatically" And I click on the button labeled "Close" in the dialog box + +##VERIFY_LOG + And I click on the link labeled "Logging" + + Then I should see a table header and rows containing the following values in the logging table: + | Time / Date | Username | Action | List of Data ChangesOR Fields Exported | + | mm/dd/yyyy hh:mm | test_admin | Manage/Design | Approve production project modifications (automatic) | diff --git a/Feature Tests/A/Project Setup/A.6.4.500 - Manage project creation deletion and settings - Repeatable Instruments.feature b/Feature Tests/A/Project Setup/A.6.4.500 - Manage project creation deletion and settings - Repeatable Instruments.feature deleted file mode 100644 index 7c064f3f..00000000 --- a/Feature Tests/A/Project Setup/A.6.4.500 - Manage project creation deletion and settings - Repeatable Instruments.feature +++ /dev/null @@ -1,194 +0,0 @@ -Feature: A.6.4.500 Manage project creation, deletion, and settings - - Manage project creation, deletion, and settings - Control Center: The system shall support the option to limit adding or modifying repeatable instruments while in production to administrators. - - Scenario: A.6.4.500.100 User's ability to add or modify repeatable instrument while in production mode - - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.500.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.500.100" - And 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 - When 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 - - Given 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" - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "No, only Administrators can modify the repeating instance setup in production" on the dropdown field labeled "Allow normal users to modify the 'Repeating Instruments & Events' settings for projects while in production status?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.500.100" - And I click on the link labeled "Project Setup" - Then I should see that repeatable instruments are unchangeable - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.500.100" - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Yes, normal users can modify the repeating instance setup in production" on the dropdown field labeled "Allow normal users to modify the 'Repeating Instruments & Events' settings for projects while in production status?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.500.100" - And 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 check the checkbox labeled "Survey" - And I click on the button labeled "Save" - Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." - - Given I click on the button labeled "Close" in the dialog box - And I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Set up repeating instruments/events | - - Given I click on the link labeled "Add / Edit Records" - Given I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page - And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" - - And I enter "MyName" into the data entry form field labeled "Name" - Given I select the submit option labeled "Save & Add New Instance" on the Data Collection Instrument - And I enter "MyOtherName" into the data entry form field labeled "Name" - Given I select the submit option labeled "Save & Exit Form" on the Data Collection Instrument - - And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" and click the repeating instrument bubble for the first instance - Then I see "Current instance:" - - Given I click on the link labeled "Record ID 1" - And I click the bubble to select a record for the "Data Types" longitudinal instrument on event "Event 1" - Then I should NOT see "Current instance:" - - Given I click on the link labeled "Data Exports, Reports, and Stats" - When I see a dialog containing the following text: "Save your changes?" - Then I click on the button labeled "Leave without saving changes" in the dialog box - - Given I 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" - - Then I should see table rows containing the following values in the report data table: - | Event Three (Arm 1: Arm 1) | Survey | 1 | Name MyName | - | Event Three (Arm 1: Arm 1) | Survey | 2 | Name MyOtherName | - And I should NOT see "Data Types" - - 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 "Repeat Instruments (repeat independently of each other)" on the dropdown field labeled "Event 1 (Arm 1: Arm 1)" - And I check the checkbox labeled "Data Types" - And I select "-- not repeating --" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" - And I click on the button labeled "Save" - Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." - - Given I click on the button labeled "Close" in the dialog box - When I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Set up repeating instruments/events | - - Given I click on the link labeled "Add / Edit Records" - And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page - And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" - Then I should NOT see "Current instance:" - And I click on the button labeled "Cancel" - Then I see "data entry cancelled - not saved" - And I click the bubble to select a record for the "Data Types" longitudinal instrument on event "Event 1" - Then I see "Current instance:" - - Given I click on the link labeled "Data Exports, Reports, and Stats" - When I see a dialog containing the following text: "Save your changes?" - Then I click on the button labeled "Leave without saving changes" in the dialog box - - Given I 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" - - Then I should see a table row containing the following values in the report data table: - | Event 2 (Arm 1: Arm 1) | | 1 | | | Name | email@test.edu | Unverified | - And I should NOT see "MyOtherName" - - When I click on the link labeled "Project Setup" - And 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 2 (Arm 1: Arm 1)" - And I select "Repeat Entire Event (repeat all instruments together)" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" - And I click on the button labeled "Save" - Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." - - Given I click on the button labeled "Close" in the dialog box - And I click on the link labeled "Logging" - Then I should see a table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Set up repeating instruments/events | - - Given I click on the link labeled "Add / Edit Records" - And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page - Then I should NOT see "(#3)" - - When I click on the button labeled "Add new" - And I click the bubble to add a record for the "Survey" longitudinal instrument on event "(#3)" - Then I should see "Editing existing Record ID 1" - - When I clear field and enter "My repeat event name" into the data entry form field labeled "Name" - And I select the submit option labeled "Save & Exit Form" on the Data Collection Instrument - Then I should see "(#3)" - - And I click on the link labeled "Data Exports, Reports, and Stats" - Given I see a table row containing the following values in the reports table: - | A | All data (all records and fields) | - And I click on the button labeled "View Report" - And I should see a "1" within the "Event Three (Arm 1: Arm 1)" row of the column labeled "Repeat Instance" of the Reports table - And I should see "My repeat event name" - - When I click on the link labeled "Project Setup" - And 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 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 click on the button labeled "Save" - Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." - - Given I click on the button labeled "Close" in the dialog box - When I click on the link labeled "Data Exports, Reports, and Stats" - Given I see a table row containing the following values in the reports table: - | A | All data (all records and fields) | - And I click on the button labeled "View Report" - And I should see a "1" within the "Event 2 (Arm 1: Arm 1)" row of the column labeled "Repeat Instance" of the Reports table - And I should see "" within the "Event Three (Arm 1: Arm 1)" row of the column labeled "Repeat Instance" of the Reports table - And I should NOT see "My repeat event name" - - Given I click on the link labeled "Add / Edit Records" - And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page - And I click the X to delete all data related to the event named "Event 2" - And I click on the button labeled "Delete this instance of this event" in the dialog box - Then I should see "successfully deleted entire event of data" - And I should NOT see "(#2)" - diff --git a/Feature Tests/A/Project Setup/A.6.4.500 - Repeatable Instruments.feature b/Feature Tests/A/Project Setup/A.6.4.500 - Repeatable Instruments.feature new file mode 100644 index 00000000..8dea2869 --- /dev/null +++ b/Feature Tests/A/Project Setup/A.6.4.500 - Repeatable Instruments.feature @@ -0,0 +1,265 @@ +Feature: Control Center: The system shall support the option to limit adding or modifying repeatable instruments while in production to administrators + +As a REDCap end user +I want to see that repeatable function is functioning as expected + +Scenario: A.6.4.500.100 User's ability to add or modify repeatable instrument while in production mode +#SETUP_PROJECT +Given I login to REDCap with the user "Test_Admin" +And I create a new project named "A.6.4.500.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.500.100" +#SETUP_USER +And 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 + +#SETUP_PRODUCTION +Given 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" + +#FUNCTIONAL REQUIREMENT - Only admins can modify repeating instance setup in production +#SETUP_CONTROL_CENTER +When I click on the link labeled "Control Center" +And I click on the link labeled "User Settings" + +Then I should see "System-level User Settings" + +When I select "No, only Administrators can modify the repeating instance setup in production" on the dropdown field labeled "Allow normal users to modify the 'Repeating Instruments & Events' settings for projects while in production status?" +And I click on the button labeled "Save Changes" + +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#FUNCTIONAL REQUIREMENT +#User unable to see repeatable instruments +Given I login to REDCap with the user "Test_User1" +When I click on the link labeled "My Projects" +And I click on the link labeled "A.6.4.500.100" +And I click on the link labeled "Project Setup" + +Then I should see a button labeled "Modify" on the field labeled "Repeating instruments and events" + #And I should see that I am unable to click on Modify + +Given I logout + +#FUNCTIONAL REQUIREMENT - normal users can modify the repeating instance setup in production +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" +When I click on the link labeled "My Projects" +And I click on the link labeled "A.6.4.500.100" +And I click on the link labeled "Control Center" +And I click on the link labeled "User Settings" + +Then I should see "System-level User Settings" + +When I select "Yes, normal users can modify the repeating instance setup in production" on the dropdown field labeled "Allow normal users to modify the 'Repeating Instruments & Events' settings for projects while in production status?" +And I click on the button labeled "Save Changes" + +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#FUNCTIONAL REQUIREMENT +#User modifies repeat instrument +Given I login to REDCap with the user "Test_User1" +When I click on the link labeled "My Projects" +And I click on the link labeled "A.6.4.500.100" +And 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 check the checkbox labeled "Survey" +And I click on the button labeled "Save" + +Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." + +Given I click on the button labeled "Close" in the dialog box + +##VERIFY_LOG +And I click on the link labeled "Logging" + +Then I should see a table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Set up repeating instruments/events | + +#Verify record home page +When I click on the link labeled "Add / Edit Records" +And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page +And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" +And I enter "MyName" into the data entry form field labeled "Name" +And I select the submit option labeled "Save & Add New Instance" on the Data Collection Instrument +And I enter "MyOtherName" into the data entry form field labeled "Name" +And I select the submit option labeled "Save & Exit Form" on the Data Collection Instrument + +##VERIFY_DE +Given I click on the link labeled "Data Exports, Reports, and Stats" + +Then I 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" + +Then I should see table rows containing the following values in the report data table: + | Record ID | Event Name | Repeat Instrument | Repeat Instance | name_survey | + | 1 | Event Three (Arm 1: Arm 1) | Survey | 1 | Name MyName | + | 1 | Event Three (Arm 1: Arm 1) | Survey | 2 | Name MyOtherName | +And I should NOT see "Data Types" + +#FUNCTIONAL REQUIREMENT +#User deletes repeatable instance +Given I click on the link labeled "Add / Edit Records" +And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page +And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" instance "2" +And I click on the button labeled "Delete data for THIS FORM only" + +Then I should see a dialog containing the following text: "Delete all data on this form" + +Given I click on the button labeled "Delete data for THIS FORM only" in the dialog box + +Then I should NOT see "(#2)" + +#FUNCTIONAL REQUIREMENT +#User modifies repeat instrument to capture orphaned data +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 "Repeat Instruments (repeat independently of each other)" on the dropdown field labeled "Event 1 (Arm 1: Arm 1)" +And I check the checkbox labeled "Data Types" +And I select "-- not repeating --" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" +And I click on the button labeled "Save" + +Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." + +When I click on the button labeled "Close" in the dialog box + + ##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see a table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Set up repeating instruments/events | + +#Verify record home page +Given I click on the link labeled "Add / Edit Records" +And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page +And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" + +Then I should NOT see "Current instance:" + +When I click on the button labeled "Cancel" +And I click on the button labeled "OK" in the dialog box + +Then I see "data entry cancelled - not saved" + +When I click the bubble to select a record for the "Data Types" longitudinal instrument on event "Event 1" + +Then I see "Current instance:" + +##VERIFY_DE +Given I click on the link labeled "Data Exports, Reports, and Stats" + +Then I 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" + +Then I should see a table row containing the following values in the report data table: + | Event 2 (Arm 1: Arm 1) | | 1 | | | Name | email@test.edu | Unverified | +And I should NOT see "MyOtherName" + +#FUNCTIONAL REQUIREMENT +#User modifies repeat event +When I click on the link labeled "Project Setup" +And 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 2 (Arm 1: Arm 1)" +And I select "Repeat Entire Event (repeat all instruments together)" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" +And I click on the button labeled "Save" + +Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." + +Given I click on the button labeled "Close" in the dialog box + + ##VERIFY_LOG +And I click on the link labeled "Logging" + +Then I should see a table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Set up repeating instruments/events | + + + #Verify record home page +Given I click on the link labeled "Add / Edit Records" +And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page + +Then I should NOT see "(#2)" + +When I click on the button labeled "Add new" +And I click the bubble to add a record for the "Survey" longitudinal instrument on event "(#3)" + +Then I should see "Editing existing Record ID 1" + +When I clear field and enter "My repeat event name" into the data entry form field labeled "Name" +And I select the submit option labeled "Save & Exit Form" on the Data Collection Instrument + +Then I should see "(#2)" + +##VERIFY_DE +When I click on the link labeled "Data Exports, Reports, and Stats" +And I see a table row containing the following values in the reports table: + | A | All data (all records and fields) | +And I click on the button labeled "View Report" +Then I should see a table row containing the following values in the report data table: + | Event Three (Arm 1: Arm 1) | My repeat event name | + +#FUNCTIONAL REQUIREMENT +#User modifies repeat event to see orphaned event +When I click on the link labeled "Project Setup" +And I open the dialog box for the Repeatable Instruments and Events module +And I close the popup +And I select "Repeat Entire Event (repeat all instruments together)" on the dropdown field labeled "Event 2 (Arm 1: Arm 1)" +And I select "-- not repeating --" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" +And I click on the button labeled "Save" + +Then I should see a dialog containing the following text: "Your settings for repeating instruments and/or events have been successfully saved." + +Given I click on the button labeled "Close" in the dialog box + +##VERIFY_DE +When I click on the link labeled "Data Exports, Reports, and Stats" + +Then I 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" + +Then I should see a "1" within the "Event 2 (Arm 1: Arm 1)" row of the column labeled "Repeat Instance" of the Reports table +And I should see "" within the "Event Three (Arm 1: Arm 1)" row of the column labeled "Repeat Instance" of the Reports table +And I should NOT see "My repeat event name" + +#FUNCTIONAL REQUIREMENT +#User deletes repeatable event +Given I click on the link labeled "Add / Edit Records" +And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page +And I click the X to delete all data related to the event named "Event 2" +And I click on the button labeled "Delete this instance of this event" in the dialog box + +Then I should see "successfully deleted entire event of data" +And I should NOT see "(#2)" diff --git a/Feature Tests/A/Project Setup/A.6.4.600 - Events and Arms in Production.feature b/Feature Tests/A/Project Setup/A.6.4.600 - Events and Arms in Production.feature new file mode 100644 index 00000000..a5887d58 --- /dev/null +++ b/Feature Tests/A/Project Setup/A.6.4.600 - Events and Arms in Production.feature @@ -0,0 +1,291 @@ +Feature: A.6.4.600 Manage project creation, deletion, and settings. Control Center: The system shall support the option to limit adding or modifying events and arms while in production to administrators. Note: user can add instrument to event in production. + +As a REDCap end user +I want to see that manage project is functioning as expected + +Scenario: A.6.4.600.100 User's ability to add or modify events and arms while in production mode +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" +And I click on the link labeled "Control Center" +And I click on the link labeled "User Settings" +And I select "No, only Administrators can add/modify events in production" on the dropdown field labeled "Allow normal users to add or modify events and arms on the Define My Events page for longitudinal projects while in production status?" +And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +#SETUP_DEV +When I create a new project named "A.6.4.600.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 + +#SETUP_USER +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 +When 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 +Given I logout + +#FUNCTIONAL REQUIREMENT +##ACTION - User Adds new arm in Development mode +Given I login to REDCap with the user "Test_User1" +And I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" + +Then I should see a link labeled "Add New Arm" + +When I click on the link labeled "Add New Arm" +And I enter "Arm 3" into the input field labeled "Arm name:" +And I click on the button labeled "Save" + +Then I should see "Arm name: Arm 3" + +When I add an event named "Event 1" with offset of 0 days into the currently selected arm + +Then I should see "Event 1" in the define events table + +##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Create event (Event: Event 1, Arm: Arm 3, Days Offset: 0, Offset Range: -0/+0) | + | test_user1 | Manage/Design | Create arm (Arm 3: Arm 3) | + +#FUNCTIONAL REQUIREMENT +##ACTION - User Rename Arm in Development mode +When I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" +And I click on the link labeled "Arm Two" +And I click on the link labeled "Rename Arm 2" +And I clear field and enter "Arm 2" into the input field labeled "Arm name" +And I click on the button labeled "Save" + +Then I should see "Arm name: Arm 2" + +When I click on the Edit image for the event named "Event 1" +#And I change the current Event Name from "Event 1" to "Event One" +And I clear field and enter "Event One" into the input field labeled "1" +And I click on the button labeled "Save" + +Then I should see "Event One" + +##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Edit event (Event: Event One, Arm: Arm 1, Days Offset: 1, Offset Range: -0/+0 | + | test_user1 | Manage/Design | Edit arm name/number (Arm 2: Arm 2) | + +#FUNCTIONAL REQUIREMENT +##ACTION - User Adds event with days offset in development mode +Given I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" +And I click on the link labeled "Arm 1" +And I add an event named "Event 4" with offset of 4 days into the currently selected arm +Then I should see "Event 4" in the define events table + +#VERIFY_RSD +When I click on the link labeled "Record Status Dashboard" +Then I should see "Arm 3: Arm 3" +And I should see "Arm 2: Arm 2" + +When I click on the link labeled "Arm 2" +Then I should see "Event One" + +When I click on the link labeled "Arm 1" +Then I should see "Event 4" + +#FUNCTIONAL REQUIREMENT +##ACTION - User designates instruments in development mode +Given I click on the link labeled "Project Setup" +When I click on the button labeled "Designate Instruments for My Events" +And I click on the link labeled "Arm 1" +And I click on the button labeled "Begin Editing" +And I disable the Data Collection Instrument named "Data Types" for the Event named "Event 1" +And I enable the Data Collection Instrument named "Consent" for the Event named "Event 2" +And I enable the Data Collection Instrument named "Text Validation" for the Event named "Event 4" +And I click on the button labeled "Save" on the Designate Instruments for My Events page + +Then I verify the Data Collection Instrument named "Data Types" is disabled for the Event named "Event 1" +And I verify the Data Collection Instrument named "Consent" is enabled for the Event named "Event 1" +And I verify the Data Collection Instrument named "Text Validation" is enabled for the Event named "Event 4" +And I click on the button labeled "Save" on the Designate Instruments for My Events page + +When I click on the link labeled "Arm 3" +And I click on the button labeled "Begin Editing" +And I enable the Data Collection Instrument named "Consent" for the Event named "Event 1" +And I click on the button labeled "Save" on the Designate Instruments for My Events page + +Then I verify the Data Collection Instrument named "Consent" is enabled for the Event named "Event 1" + +#VERIFY_RSD +When I click on the link labeled "Record Status Dashboard" +And I click on the link labeled "Arm 1" + +Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 1" +And I should see a Data Collection Instrument named "Text Validation" for the Event named "Event 1" + +When I click on the link labeled "Arm 3" +Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 1" + +##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Perform instrument-event mappings | + +#SETUP_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" + +#FUNCTIONAL REQUIREMENT +##ACTION - User verifies no ability to modify events +When I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" + +Then I should see "Events cannot be modified in production" +And I should NOT see a button labeled "Add new arm" +And I should NOT see a button labeled "Add new event" + +When I click on the button labeled "Upload or download arms/events" + +Then I should see "Download arms (CSV)" +And I should see "Download events (CSV)" +And I should NOT see "Upload arms (CSV)" +And I should NOT see "Upload events (CSV)" + +When I click on the button labeled "Designate Instruments for My Events" + +Then I should see "Events cannot be modified in production" +And I should NOT see a button labeled "Begin Editing" + +When I click on the button labeled "Upload or download instrument mappings" + +Then I should see "Download instrument-event mappings (CSV)" +And I should NOT see "Upload instrument-event mappings (CSV)" + +Given I logout + +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" +And I click on the link labeled "Control Center" +And I click on the link labeled "User Settings" +And I select "Yes, normal users can add/modify events in production" on the dropdown field labeled "Allow normal users to add or modify events and arms on the Define My Events page for longitudinal projects while in production status?" +And I click on the button labeled "Save Changes" + +Then I should see "Your system configuration values have now been changed!" + +Given I logout + +#FUNCTIONAL REQUIREMENT +##ACTION - User verifies has the ability to modify events + +Given I login to REDCap with the user "Test_User1" +When I click on the link labeled "My Projects" +And I click on the link labeled "A.6.4.600.100" +And I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" + +Then I should see a link labeled "Add New Arm" +And I should see a link labeled "Add new event" + +When I click on the link labeled "Add New Arm" +And I enter "Arm 4" into the input field labeled "Arm name:" +And I click on the button labeled "Save" +And I add an event named "Event 1" with offset of 0 days into the currently selected arm + +Then I should see "Arm 4" +And I should see "Event 1" in the define events table + +##ACTION - User renames arms and events +When I click on the link labeled "Arm 2" +And I click on the link labeled "Rename Arm 2" + +Then I should see "Sorry, but arms can only be renamed by REDCap administrators" + +When I click on the button labeled "Close" in the dialog box + +Then I should see "Arm 2" + +When I click on the link labeled "Arm 2" +hen I click on the Edit image for the event named "Event 1" + +Then I should see a dialog containing the following text: "Sorry, but events can only be renamed by REDCap administrators when a project is in production status" + +When I click on the button labeled "Close" in the dialog box + +#VERIFY_RSD +When I click on the link labeled "Record Status Dashboard" +And I click on the link labeled "Arm 1" + +Then I should see a link labeled "Arm 1" +And I should see a link labeled "Event 2" +And I should see a link labeled "Arm 2" +And I should see a link labeled "Arm 4" + +##ACTION - User unable to undesignated events +When I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" +And I click on the link labeled "Arm 1" +And I click on the button labeled "Begin Editing" + +Then I should see "only REDCap administrators are allowed to uncheck any instruments that are already designated" + +When I verify the Data Collection Instrument named "Data Types" is unmodifiable for the Event named "Event One" + +##ACTION - User unable to Upload designated instruments +When I click on the button labeled "Upload or download instrument mappings" +And I click on the link labeled "Upload instrument-event mappings (CSV)" +And I upload a "csv" format file located at "import_files/instrument_designation.csv", by clicking the button near "Select your CSV" to browse for the file, and clicking the button labeled "Upload" to upload the file + +Then I should see a dialog containing the following text: "ERROR" +And I click on the button labeled "Close" in the dialog box + + ##ACTION - User designates instruments in production mode +Given I click on the link labeled "Arm 1" +And I click on the button labeled "Begin Editing" +When I enable the Data Collection Instrument named "Data Types" for the Event named "Event 4" +And I click on the button labeled "Save" on the Designate Instruments for My Events page + +Then I verify the Data Collection Instrument named "Data Types" is enabled for the Event named "Event 4" + +##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_user1 | Manage/Design | Perform instrument-event mappings | + +Given I logout + +#FUNCTIONAL REQUIREMENT +##ACTION - Admin Renames arms and events +Given I login to REDCap with the user "Test_Admin" +And I click on the link labeled "Project Setup" +And I click on the button labeled "Define My Events" +And I click on the link labeled "Arm 1" +Then I should see "Rename Arm 1" + +When I click on the link labeled "Rename Arm 1" +And I clear field and enter "Arm One" into the input field labeled "Arm name" +And I click on the button labeled "Save" +And I click on the Edit image for the event named "Event 4" +And I change the current Event Name from "Event 4" to "Event Four" +And I click on the button labeled "Save" on the Designate Instruments for My Events page + +Then I should see "Arm name: Arm One" +And I should see "Event Four" + +##VERIFY_LOG +When I click on the link labeled "Logging" + +Then I should see table header and rows containing the following values in the logging table: + | Username | Action | List of Data ChangesOR Fields Exported | + | test_admin | Manage/Design | Edit event | + | test_admin | Manage/Design | Event Four, Arm: Arm One | + | test_admin | Manage/Design | Edit arm name/number | + | test_admin | Manage/Design | Arm 1: Arm One | diff --git a/Feature Tests/A/Project Setup/A.6.4.600 - Manage project creation deletion and settings - Events and Arms in Production.feature b/Feature Tests/A/Project Setup/A.6.4.600 - Manage project creation deletion and settings - Events and Arms in Production.feature deleted file mode 100644 index 3ac84596..00000000 --- a/Feature Tests/A/Project Setup/A.6.4.600 - Manage project creation deletion and settings - Events and Arms in Production.feature +++ /dev/null @@ -1,374 +0,0 @@ -Feature: A.6.4.600 Manage project creation, deletion, and settings - - Manage project creation, deletion, and settings - Control Center: The system shall support the option to limit adding or modifying events and arms while in production to administrators. Note: user can add instrument to event in production. - - Scenario: A.6.4.600.100 User's ability to add or modify events and arms while in production mode - - Given I login to REDCap with the user "Test_Admin" - And I create a new project named "A.6.4.600.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.600.100" - Then I should see Project status: "Development" - - 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 - When 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 - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.600.100" - And I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - - Given I should see a link labeled "Add New Arm" - When I click on the link labeled "Add New Arm" - And I enter "Arm 3" into the input field labeled "Arm name:" - And I click on the button labeled "Save" - Then I should see "Arm name: Arm 3" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Create arm | - | test_user1 | Manage/Design | Arm 3: Arm 3 | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 3" - - Given I add an event named "Event 1" with offset of 0 days into the currently selected arm - Then I should see "Event 1" in the define events table - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Create arm | - | test_user1 | Manage/Design | Arm 3: Arm 3 | - | test_user1 | Manage/Design | Create event | - | test_user1 | Manage/Design | Event: Event 1, Arm: Arm 3, Days Offset: 0, Offset Range: -0/+0 | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm Two" - And I click on the link labeled "Rename Arm 2" - Then I should see a button labeled "Save" - - Given I clear field and enter "Arm 2" into the input field labeled "Arm name" - And I click on the button labeled "Save" - Then I should see "Arm name: Arm 2" - - When I click on the link labeled "Logging" - - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Edit arm name/number | - | test_user1 | Manage/Design | Arm 2: Arm 2 | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 2" - And I click on the Edit image for the event named "Event 1" - - And I change the current Event Name from "Event 1" to "Event One" - And I click on the button labeled "Save" - Then I should see "Event One" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Edit event | - | test_user1 | Manage/Design | Event One, Arm: Arm 2 | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 1" - Then I should see a button labeled "Add new event" - - Given I add an event named "Event 4" with offset of 4 days into the currently selected arm - Then I should see "Event 4" in the define events table - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Create arm | - | test_user1 | Manage/Design | Arm 2: Arm 2 | - | test_user1 | Manage/Design | Create event | - | test_user1 | Manage/Design | Event: Event 4, Arm: Arm 1, Days Offset: 4, Offset Range: -0/+0 | - - When I click on the link labeled "Record Status Dashboard" - Then I should see "Arm 3: Arm 3" - And I should see "Arm 2: Arm 2" - - When I click on the link labeled "Arm 2" - Then I should see "Event One" - - When I click on the link labeled "Arm 1" - Then I should see "Event 4" - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 1" - And I click on the button labeled "Begin Editing" - And I disable the Data Collection Instrument named "Data Types" for the Event named "Event 1" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Data Types" is disabled for the Event named "Event 1" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 1" - Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 1" - - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Perform instrument-event mappings | - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 1" - And I click on the button labeled "Begin Editing" - And I enable the Data Collection Instrument named "Consent" for the Event named "Event 2" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Consent" is enabled for the Event named "Event 1" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 1" - Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 2" - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 1" - And I click on the button labeled "Begin Editing" - And I enable the Data Collection Instrument named "Text Validation" for the Event named "Event 4" - - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Text Validation" is enabled for the Event named "Event 4" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 1" - Then I should see a Data Collection Instrument named "Text Validation" for the Event named "Event 4" - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 3" - When I click on the button labeled "Begin Editing" - And I enable the Data Collection Instrument named "Consent" for the Event named "Event 1" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Consent" is enabled for the Event named "Event 1" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 3" - Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 1" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.600.100" - And 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" - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "No, only Administrators can add/modify events in production" on the dropdown field labeled "Allow normal users to add or modify events and arms on the Define My Events page for longitudinal projects while in production status?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.600.100" - And I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - Then I should see "Events cannot be modified in production" - And I should NOT see a button labeled "Add new arm" - And I should NOT see a button labeled "Add new event" - - When I click on the button labeled "Upload or download arms/events" - Then I should see "Download arms (CSV)" - And I should see "Download events (CSV)" - But I should NOT see "Upload arms (CSV)" - And I should NOT see "Upload events (CSV)" - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Designate Instruments for My Events" - And I should see "Events cannot be modified in production" - And I should NOT see a button labeled "Begin Editing" - - When I click on the button labeled "Upload or download instrument mappings" - Then I should see "Download instrument-event mappings (CSV)" - But I should NOT see "Upload instrument-event mappings (CSV)" - Given I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "Yes, normal users can add/modify events in production" on the dropdown field labeled "Allow normal users to add or modify events and arms on the Define My Events page for longitudinal projects while in production status?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - Given I logout - - Given I login to REDCap with the user "Test_User1" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.600.100" - And I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - - Given I should see a link labeled "Add New Arm" - When I click on the link labeled "Add New Arm" - And I enter "Arm 4" into the input field labeled "Arm name:" - And I click on the button labeled "Save" - Then I should see "Arm name: Arm 4" - And I click on the link labeled "Arm 4" - - Given I add an event named "Event 1" with offset of 0 days into the currently selected arm - Then I should see "Event 1" in the define events table - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Create arm | - | test_user1 | Manage/Design | Arm 4: Arm 4 | - | test_user1 | Manage/Design | Create event | - | test_user1 | Manage/Design | Event: Event 1, Arm: Arm 4, Days Offset: 0, Offset Range: -0/+0 | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 2" - And I click on the link labeled "Rename Arm 2" - Then I should see "Sorry, but arms can only be renamed by REDCap administrators" - And I click on the button labeled "Close" in the dialog box - Then I should see "Arm 2" - - When I click on the link labeled "Record Status Dashboard" - Then I should see a link labeled "Arm 2" - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 1" - - When I click on the Edit image for the event named "Event 2" - Then I should see a dialog containing the following text: "Sorry, but events can only be renamed by REDCap administrators when a project is in production status" - And I click on the button labeled "Close" in the dialog box - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 1" - Then I should see "Event 2" - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - # NOTE: This is listed as Arm 1 in the manual test. "Event One" does not exist as an event in Arm 1 - so I used Arm 2. - And I click on the link labeled "Arm 2" - And I click on the button labeled "Begin Editing" - Then I should see "only REDCap administrators are allowed to uncheck any instruments that are already designated" - Then I verify the Data Collection Instrument named "Data Types" is unmodifiable for the Event named "Event One" - - When I click on the button labeled "Upload or download instrument mappings" - And I click on the link labeled "Upload instrument-event mappings (CSV)" - And I upload a "csv" format file located at "import_files/instrument_designation.csv", by clicking the button near "Select your CSV" to browse for the file, and clicking the button labeled "Upload" to upload the file - - Then I should see a dialog containing the following text: "ERROR" - And I click on the button labeled "Close" in the dialog box - - Given I click on the link labeled "Arm 1" - And I click on the button labeled "Begin Editing" - When I enable the Data Collection Instrument named "Data Types" for the Event named "Event 4" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Data Types" is enabled for the Event named "Event 4" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 1" - Then I should see a Data Collection Instrument named "Data Types" for the Event named "Event 4" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_user1 | Manage/Design | Perform instrument-event mappings | - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 4" - And I click on the button labeled "Begin Editing" - And I enable the Data Collection Instrument named "Consent" for the Event named "Event 1" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Consent" is enabled for the Event named "Event 1" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 4" - Then I should see a Data Collection Instrument named "Consent" for the Event named "Event 1" - And I logout - - Given I login to REDCap with the user "Test_Admin" - When I click on the link labeled "My Projects" - And I click on the link labeled "A.6.4.600.100" - And I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm 1" - Then I should see "Rename Arm 1" - - When I click on the link labeled "Rename Arm 1" - Then I should see a button labeled "Save" - - Given I clear field and enter "Arm One" into the input field labeled "Arm name" - And I click on the button labeled "Save" - Then I should see "Arm name: Arm One" - - When I click on the link labeled "Record Status Dashboard" - Then I should see "Arm 1: Arm One" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_admin | Manage/Design | Edit arm name/number | - | test_admin | Manage/Design | Arm 1: Arm One | - - Given I click on the link labeled "Project Setup" - And I click on the button labeled "Define My Events" - And I click on the link labeled "Arm One" - And I click on the Edit image for the event named "Event 4" - And I change the current Event Name from "Event 4" to "Event Four" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I should see "Event Four" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm One" - Then I should see "Event Four" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_admin | Manage/Design | Edit event | - | test_admin | Manage/Design | Event Four, Arm: Arm One | - - Given I click on the link labeled "Project Setup" - When I click on the button labeled "Designate Instruments for My Events" - And I click on the link labeled "Arm 2" - And I click on the button labeled "Begin Editing" - And I disable the Data Collection Instrument named "Data Types" for the Event named "Event One" - And I click on the button labeled "Save" on the Designate Instruments for My Events page - Then I verify the Data Collection Instrument named "Data Types" is disabled for the Event named "Event One" - - When I click on the link labeled "Record Status Dashboard" - And I click on the link labeled "Arm 2" - Then I should not see a Data Collection Instrument named "Data Types" for the Event named "Event One" - - When I click on the link labeled "Logging" - Then I should see table header and rows containing the following values in the logging table: - | Username | Action | List of Data ChangesOR Fields Exported | - | test_admin | Manage/Design | Perform instrument-event mappings | - - When I click on the link labeled "Control Center" - And I click on the link labeled "User Settings" - Then I should see "System-level User Settings" - When I select "No, only Administrators can add/modify events in production" on the dropdown field labeled "Allow normal users to add or modify events and arms on the Define My Events page for longitudinal projects while in production status?" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" diff --git a/Feature Tests/A/Project Setup/A.6.4.700 - Manage project creation deletion and settings - Blank Slate Projects.feature b/Feature Tests/A/Project Setup/A.6.4.700 - Blank Slate Projects.feature similarity index 84% rename from Feature Tests/A/Project Setup/A.6.4.700 - Manage project creation deletion and settings - Blank Slate Projects.feature rename to Feature Tests/A/Project Setup/A.6.4.700 - Blank Slate Projects.feature index 5e3be9b5..7f88c7ca 100644 --- a/Feature Tests/A/Project Setup/A.6.4.700 - Manage project creation deletion and settings - Blank Slate Projects.feature +++ b/Feature Tests/A/Project Setup/A.6.4.700 - Blank Slate Projects.feature @@ -1,7 +1,7 @@ -Feature: A.6.4.700 Manage project creation, deletion, and settings +Feature: A.6.4.700 Manage project creation, deletion, and settings. User Interface General: The system shall support the ability to create new projects from a blank slate. - Manage project creation, deletion, and settings - User Interface General: The system shall support the ability to create new projects from a blank slate. +As a REDCap end user + I want to see that create project is functioning as expected Scenario: A.6.4.700.100 Create blank new project Given I login to REDCap with the user "Test_User1" diff --git a/Feature Tests/A/Project status/A.6.11.100 - limit project status.feature b/Feature Tests/A/Project Status/A.6.11.100 - Administrative Controls in Control Center.feature similarity index 73% rename from Feature Tests/A/Project status/A.6.11.100 - limit project status.feature rename to Feature Tests/A/Project Status/A.6.11.100 - Administrative Controls in Control Center.feature index bbf7b549..f27374c1 100644 --- a/Feature Tests/A/Project status/A.6.11.100 - limit project status.feature +++ b/Feature Tests/A/Project Status/A.6.11.100 - Administrative Controls in Control Center.feature @@ -6,7 +6,7 @@ I want to see that My Project is functioning as expected Scenario: A.6.11.100.100 Production status setting in control center #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "A.6.11.100.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 +And I create a new project named "A.6.11.100.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 ##USER_RIGHTS When I click on the link labeled "User Rights" @@ -34,19 +34,22 @@ And I click on the link labeled "A.6.11.100.100" ##ACTION: Test user requests move to production And 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 button labeled "Keep ALL data saved so far" in the dialog box +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, Request Admin to Move to Production Status" in the dialog box ##VERIFY Then I should see "Success! Your request to move the project to production status has been sent to a REDCap administrator. " ##VERIFY_LOG -When I click on the button labeled "Logging" - Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | | test_user1 | Manage/Design | Send request to move project to production status| +When I click on the button labeled "Logging" +Then I should see a table header and rows containing the following values in the logging table: + | Username | Action | List of Data Changes OR Fields Exported | + | test_user1 | Manage/Design | Send request to move project to production status| ##ACTION: cancel request When I click on the link labeled "Project Setup" And I click on the button labeled "Cancel request" -And I click on the button labeled "Submit" in the dialog box Then I should see "Project status: Development" +And I click on the button labeled "Submit" in the dialog box +Then I should see "Project status: Development" And I logout #SETUP @@ -55,7 +58,9 @@ Given I login to REDCap with the user "Test_Admin" And I click on the link labeled "User Settings" Then I should see "System-level User Settings" When I select "Yes, normal users can move projects to production" on the dropdown field labeled "Allow normal users to move projects to production?" -And I click on the button labeled "Save Changes" ##VERIFY Then I should see "Your system configuration values have now been changed!" +And I click on the button labeled "Save Changes" +##VERIFY +Then I should see "Your system configuration values have now been changed!" And I logout #SETUP @@ -66,13 +71,15 @@ Given I login to REDCap with the user "Test_User1" ##ACTION: Test user move to production And 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 button labeled "Keep ALL data saved so far" in the dialog box +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 ##VERIFY Then I should see "Project status: Production" ##VERIFY_LOG -When I click on the button labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | | test_user1 | Manage/Design | Move project to Production status | +When I click on the button labeled "Logging" +And I should see a table header and rows containing the following values in the logging table: + | Username | Action | List of Data Changes OR Fields Exported | + | test_user1 | Manage/Design | Move project to Production status | diff --git a/Feature Tests/A/Security Settings/A.2.12.100 - System Status.feature b/Feature Tests/A/Security Settings/A.2.12.100 - System Status.feature new file mode 100644 index 00000000..08306074 --- /dev/null +++ b/Feature Tests/A/Security Settings/A.2.12.100 - System Status.feature @@ -0,0 +1,46 @@ +Feature: A.2.12.100 Security Settings- The system shall support changing the system status between online and offline. + +As a REDCap end user +I want to see that system status is functioning as expected + +Scenario: A.2.12.100.100 System Status Online/Offline +#SETUP_CONTROL_CENTER +Given I login to REDCap with the user "Test_Admin" + And I click on the link labeled "Control Center" + And I click on the link labeled "General Configuration" +Then I should see "Server configuration settings" + And I should see "System Status" + And I should see the dropdown field labeled "System Status" with the option "SYSTEM ONLINE" selected + +#FUNCTIONAL REQUIREMENT +##ACTION Move SYSTEM OFFLINE +Given I select "SYSTEM OFFLINE" on the dropdown field labeled "System Status" + And I enter "This is a test. The Vanderbilt REDCap System is offline and will be back online shortly." into the textarea field labeled "Custom message to display to users when system is offline" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + When I logout + +##VERIFY #Test REDCap offline for Standard User +Given I login to REDCap with the user "Test_User1" +Then I should see "This is a test. The Vanderbilt REDCap System is offline and will be back online shortly." + And I logout + +##VERIFY #Test REDCap offline for Admin User +Given I login to REDCap with the user "Test_Admin" +Then I should see "REDCap and all its projects are currently OFFLINE and are not accessible to normal users." + + When I click on the link labeled "Control Center" + And I click on the link labeled "General Configuration" +Then I should see "Server configuration settings" + And I should see "System Status" + +#FUNCTIONAL REQUIREMENT +##ACTION Move SYSTEM ONLINE +Given I select "SYSTEM ONLINE" on the dropdown field labeled "System Status" + And I click on the button labeled "Save Changes" +Then I should see "Your system configuration values have now been changed!" + +##VERIFY #Test REDCap online for "Test_User1" +Given I login to REDCap with the user "Test_User1" + Then I should see "My Projects" + diff --git a/Feature Tests/A/Security settings/A.2.12.100 - Security Settings - System Status.feature b/Feature Tests/A/Security settings/A.2.12.100 - Security Settings - System Status.feature deleted file mode 100644 index 32661c3d..00000000 --- a/Feature Tests/A/Security settings/A.2.12.100 - Security Settings - System Status.feature +++ /dev/null @@ -1,39 +0,0 @@ -Feature: A.2.12.100 Security Settings- The system shall support changing the system status between online and offline. - - As a REDCap end user - I want to see that system status is functioning as expected - - Scenario: A.2.12.100.100 System Status Online/Offline - Given I login to REDCap with the user "Test_Admin" - And I click on the link labeled "Control Center" - And I click on the link labeled "General Configuration" - Then I should see "Server configuration settings" - And I should see "System Status" - And I should see the dropdown field labeled "System Status" with the option "SYSTEM ONLINE" selected - - Given I select "SYSTEM OFFLINE" on the dropdown field labeled "System Status" - And I enter "This is a test. The Vanderbilt REDCap System is offline and will be back online shortly." into the textarea field labeled "Custom message to display to users when system is offline" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - When I logout - - #Test REDCap offline for Standard User - Given I login to REDCap with the user "Test_User1" - Then I should see "This is a test. The Vanderbilt REDCap System is offline and will be back online shortly." - And I logout - - #Test REDCap offline for Admin User - Given I login to REDCap with the user "Test_Admin" - Then I should see "REDCap and all its projects are currently OFFLINE and are not accessible to normal users." - And I click on the link labeled "Control Center" - And I click on the link labeled "General Configuration" - Then I should see "Server configuration settings" - Then I should see "System Status" - Given I select "SYSTEM ONLINE" on the dropdown field labeled "System Status" - And I click on the button labeled "Save Changes" - Then I should see "Your system configuration values have now been changed!" - - #Test REDCap online for "Test_User1" - Given I login to REDCap with the user "Test_User1" - Then I should see "My Projects" - diff --git a/Feature Tests/B/Assign user rights/B.2.6.100 - Assign User Rights - Basic Privileges.feature b/Feature Tests/B/Assign User Rights/B.2.6.100 - Basic Privileges.feature similarity index 98% rename from Feature Tests/B/Assign user rights/B.2.6.100 - Assign User Rights - Basic Privileges.feature rename to Feature Tests/B/Assign User Rights/B.2.6.100 - Basic Privileges.feature index 3a373c3e..57be1745 100644 --- a/Feature Tests/B/Assign user rights/B.2.6.100 - Assign User Rights - Basic Privileges.feature +++ b/Feature Tests/B/Assign User Rights/B.2.6.100 - Basic Privileges.feature @@ -13,7 +13,7 @@ And I click on the link labeled "My Projects" And I click on the link labeled "B.2.6.100.100" And 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" @@ -216,3 +216,5 @@ And I logout ##VERIFY: Verify User has no access to project Given I login to REDCap with the user "Test_User1" +Then I should see "My Projects" +And I should NOT see "B.2.6.100.100" diff --git a/Feature Tests/B/Assign user rights/B.2.6.200 - Assign User Rights - Data Entry Form Access.feature b/Feature Tests/B/Assign User Rights/B.2.6.200 - Data Entry Form Access.feature similarity index 87% rename from Feature Tests/B/Assign user rights/B.2.6.200 - Assign User Rights - Data Entry Form Access.feature rename to Feature Tests/B/Assign User Rights/B.2.6.200 - Data Entry Form Access.feature index 5400175d..a2e0a35e 100644 --- a/Feature Tests/B/Assign user rights/B.2.6.200 - Assign User Rights - Data Entry Form Access.feature +++ b/Feature Tests/B/Assign User Rights/B.2.6.200 - Data Entry Form Access.feature @@ -11,15 +11,16 @@ And I create a new project named "B.2.6.200.100" by clicking on "New Project" in 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" When I click on the link labeled "User Rights" And I click on the button labeled "Upload or download users, roles, and assignments" Then I should see "Upload users (CSV)" -Then I should see a dialog containing the following text: "Upload users (CSV)" +When I click on the button labeled "Upload users (CSV)" +Then I should see a dialog containing the following text: "Upload users (CSV)" Given I upload a "csv" format file located at "import_files/user list for project 1.csv", by clicking the button near "Select your CSV" to browse for the file, and clicking the button labeled "Upload" to upload the file Then I should see a dialog containing the following text: "Upload users (CSV) - Confirm" @@ -35,16 +36,16 @@ Then I should see a dialog containing the following text: "SUCCESS!" And I close the popup And I should see a table header and rows including the following values in the table: -|Role name | Username | -| | test_admin | -| | test_user1 | -| | test_user2 | -| | test_user3 | -| | test_user4 | -| 1_FullRights | | | -| 2_Edit_RemoveID| | | -| 3_ReadOnly_Deidentified | | -| 4_NoAccess_Noexport | | +|Role name | Username | +| | test_admin | +| | test_user1 | +| | test_user2 | +| | test_user3 | +| | test_user4 | +| 1_FullRights | | +| 2_Edit_RemoveID | | +| 3_ReadOnly_Deidentified | | +| 4_NoAccess_Noexport | | When I click on the link labeled "test_user1" And I click on the button labeled "Edit user privileges" @@ -59,15 +60,22 @@ And I save changes within the context of User Rights And I click on the button labeled "Logging" Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | -| test_admin | Add user | user = 'test_user1' | - +| test_admin | Update user | user = 'test_user1' | +| test_admin | Add user | user = 'test_user1' | ##ACTION #CROSS-FEATURE B.2.23.100: Verify Logging Filter by user name When I select the "test_admin" option from the Filter by username dropdown field ##VERIFY_LOG #CROSS-FEATURE: Verify Logging Filter by user name Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | -| test_admin | Update user | user = 'test_user1' | +| test_admin | Update user | user = 'test_user1' | +| test_admin | Add user | user = 'test_user1' | + +##ACTION #CROSS-FEATURE B.2.23.100: Verify Logging Filter by user name +When I select the "test_user1" option from the Filter by username dropdown field +##VERIFY_LOG #CROSS-FEATURE: Verify Logging Filter by user name +Then I should see "No logged events to display" + And I logout Given I login to REDCap with the user "Test_User1" @@ -86,7 +94,7 @@ Then I should see a dialog containing the following text: "Editing existing user When I set Data Viewing Rights to Read Only for the instrument "Text Validation" And I save changes within the context of User Rights -Then I should see " User "test_user1" was successfully edited" +Then I should see "successfully edited" Given I click on the link labeled "Add / Edit Records" And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page @@ -108,7 +116,7 @@ When I set Data Viewing Rights to View & Edit for the instrument "Text Validatio When I select Data Viewing Rights to View & Edit for the instrument "Text Validation" And I verify Data Viewing Rights to View & Edit with Edit survey responses is checked for the instrument "Survey" And I save changes within the context of User Rights -Then I should see "User "test_user1" was successfully edited" +Then I should see "successfully edited" Given I click on the link labeled "Add / Edit Records" And I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page @@ -124,7 +132,6 @@ Then I should see "Record Home Page" ##VERIFY: Edit survey responses for the instrument When I click the bubble for the "Survey" longitudinal instrument on event "Event 3" -And I click on the button labeled "Save & Stay" And I select the dropdown option labeled "Open survey" And I click on the button labeled "Submit" And I click on the button labeled "Close survey" diff --git a/Feature Tests/B/Assign user rights/B.2.6.300 - Assign User Rights - Data Export Rights.feature b/Feature Tests/B/Assign User Rights/B.2.6.300 - Data Export Rights.feature similarity index 95% rename from Feature Tests/B/Assign user rights/B.2.6.300 - Assign User Rights - Data Export Rights.feature rename to Feature Tests/B/Assign User Rights/B.2.6.300 - Data Export Rights.feature index ec92c595..9e1a3ae4 100644 --- a/Feature Tests/B/Assign user rights/B.2.6.300 - Assign User Rights - Data Export Rights.feature +++ b/Feature Tests/B/Assign User Rights/B.2.6.300 - Data Export Rights.feature @@ -6,13 +6,13 @@ I want to see that data export rights is functioning as expected Scenario: B.2.6.300.100 Data Export Rights #SETUP_PRODUCTION Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.6.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 +And I create a new project named "B.2.6.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 "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 -Then I see "Project status: Production" +Then I should see "Project status: Production" ##USER_RIGHTS When I click on the link labeled "User Rights" @@ -144,4 +144,4 @@ And I click on the link labeled "B.2.6.300.100" ##ACTION: And I click on the link labeled "Data Exports, Reports, and Stats" ##VERIFY -Then I should NOT see "Export Data" +Then I should not see the button labeled "Export Data" diff --git a/Feature Tests/B/Assign user rights/B.2.6.400 - Assign User Rights - Creating Copying Deleting Roles.feature b/Feature Tests/B/Assign User Rights/B.2.6.400 - Creating Copying Deleting Roles.feature similarity index 94% rename from Feature Tests/B/Assign user rights/B.2.6.400 - Assign User Rights - Creating Copying Deleting Roles.feature rename to Feature Tests/B/Assign User Rights/B.2.6.400 - Creating Copying Deleting Roles.feature index f39ad502..17349312 100644 --- a/Feature Tests/B/Assign user rights/B.2.6.400 - Assign User Rights - Creating Copying Deleting Roles.feature +++ b/Feature Tests/B/Assign User Rights/B.2.6.400 - Creating Copying Deleting Roles.feature @@ -6,7 +6,7 @@ I want to see that assign user rights is functioning as expected Scenario: B.2.6.400.100 Create, Copy, & Delete User Roles #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.6.400.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 +And I create a new project named "B.2.6.400.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 #FUNCTIONAL REQUIREMENT: ##ACTION: User Rights Create role diff --git a/Feature Tests/B/Assign user rights/B.2.6.500 - Assign User Rights - Adding and Removing Users from Roles.feature b/Feature Tests/B/Assign User Rights/B.2.6.500 - Adding and Removing Users from Roles.feature similarity index 96% rename from Feature Tests/B/Assign user rights/B.2.6.500 - Assign User Rights - Adding and Removing Users from Roles.feature rename to Feature Tests/B/Assign User Rights/B.2.6.500 - Adding and Removing Users from Roles.feature index a3b8b9d3..ef86c676 100644 --- a/Feature Tests/B/Assign user rights/B.2.6.500 - Assign User Rights - Adding and Removing Users from Roles.feature +++ b/Feature Tests/B/Assign User Rights/B.2.6.500 - Adding and Removing Users from Roles.feature @@ -6,7 +6,7 @@ I want to see that assign user rights is functioning as expected Scenario: B.2.6.500.100 Cancel, Assign, Re-assign, & Remove User Roles #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.6.500.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 +And I create a new project named "B.2.6.500.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 #SETUP_USER_RIGHTS When I click on the link labeled "User Rights" diff --git a/Feature Tests/B/Branching logic/B.4.9.100 - branching logic.feature b/Feature Tests/B/Branching Logic/B.4.9.100 - Branching Logic.feature similarity index 93% rename from Feature Tests/B/Branching logic/B.4.9.100 - branching logic.feature rename to Feature Tests/B/Branching Logic/B.4.9.100 - Branching Logic.feature index 1cb92b91..14e838ba 100644 --- a/Feature Tests/B/Branching logic/B.4.9.100 - branching logic.feature +++ b/Feature Tests/B/Branching Logic/B.4.9.100 - Branching Logic.feature @@ -17,7 +17,6 @@ And I verify I see "Branching logic: [record_id] = '999'" on the field labeled " And I verify I see "Branching logic: [record_id] = '999'" on the field labeled "Text2" And I verify I see "Branching logic: [record_id] = '999'" on the field labeled "Notes Box" - #FUNCTIONAL_REQUIREMENT: survey mode When I click on the link labeled "Survey Distribution Tools" And I click on the button labeled "Open public survey" @@ -28,7 +27,7 @@ And I should NOT see the field labeled "Notes box" And I should see the field labeled "Calculated Field" And I should see the field labeled "Multiple Choice dropdown Auto" And I should see the field labeled "Multiple Choice dropdown Manual" -#M: Close the survey page +#Manual: Close the survey page #FUNCTIONAL_REQUIREMENT: data entry mode When I click the link labeled "Add/Edit Records" @@ -46,18 +45,18 @@ And I should see the field labeled "Calculated Field" And I should see the field labeled "Multiple Choice dropdown Auto" And I should see the field labeled "Multiple Choice dropdown Manual" -##ACTION: change branching logic +##ACTION: change branching logic for one When I click on the link labeled "Designer" And I click on the button labeled "Leave without saving changes" in the dialog box And I click on the instrument labeled "Data Types" And I click on the Branching Logic icon for the field labeled "Name" -And I enter " [record_id] <> '999'" in the field labeled "Advanced Branching Logic Syntax" +And I enter "[record_id] <> '999'" in the field labeled "Advanced Branching Logic Syntax" And I click on the button labeled "Update & Close Editor" And I click on the button labeled "Save" And I click on the button labeled "No" in the dialog box Then I should see "Branching logic: [record_id] <> '999'" on the field labeled "Name" -##ACTION: change branching logic +##ACTION: change branching logic for all When I click on the Branching Logic icon for the field labeled "Text2" And I enter " [record_id] <> '999'" in the field labeled "Advanced Branching Logic Syntax" And I click on the button labeled "Update & Close Editor" @@ -75,7 +74,7 @@ And I should see the field labeled "Notes box" And I should see the field labeled "Calculated Field" And I should see the field labeled "Multiple Choice dropdown Auto" And I should see the field labeled "Multiple Choice dropdown Manual" -#M: Close tab +#Manual: Close tab #FUNCTIONAL_REQUIREMENT: data entry mode When I click the link labeled "Add/Edit Records" @@ -90,17 +89,19 @@ And I should see the field labeled "Multiple Choice dropdown Auto" And I should see the field labeled "Multiple Choice dropdown Manual" ##ACTION +#FUNCTIONAL_REQUIREMENT: Radio logic When I click on the link labeled "Designer" And I click on the button labeled "Leave without saving changes" in the dialog box And I click on the instrument labeled "Data Types" And I click on the Branching Logic icon for the field labeled "Descriptive Text with File" -And I click on the radio button labeled "Drag-N-Drop Logic Builder" +And I click on the radio labeled "Drag-N-Drop Logic Builder" And I drag the field choice labeled "radio_button_manual = Choice101 (101)" to the box labeled "Show the field only if" And I click on the button labeled "Save" Then I should see "Branching logic: [radio_button_manual] = '101'" on the field labeled "Descriptive Text with File" +#FUNCTIONAL_REQUIREMENT: Checkbox logic When I click on the Branching Logic icon for the field labeled "Required" -And I click on the radio button labeled "Drag-N-Drop Logic Builder" +And I click on the radio labeled "Drag-N-Drop Logic Builder" And I drag the field choice labeled "checkbox = Checkbox (3)" to the box labeled "Show the field only if" And I click on the button labeled "Save" Then I should see "Branching logic: [checkbox(3)] = '1'" on the field labeled "Required" @@ -119,7 +120,7 @@ Then I should see the field labeled "Required" When I deselect the multi-select option labeled "Checkbox3" on the field labeled "Checkbox" Then I should NOT see the field labeled "Required" -#M: Close the survey page +#Manual: Close the survey page ##VERIFY_LOG When I click on the link labeled "Logging" diff --git a/Feature Tests/B/Data Access Groups/B.2.10.100 - Data Access Group - Create Edit Delete.feature b/Feature Tests/B/Data Access Groups/B.2.10.100 - Create Edit Delete.feature similarity index 92% rename from Feature Tests/B/Data Access Groups/B.2.10.100 - Data Access Group - Create Edit Delete.feature rename to Feature Tests/B/Data Access Groups/B.2.10.100 - Create Edit Delete.feature index b3d870f6..206deb19 100644 --- a/Feature Tests/B/Data Access Groups/B.2.10.100 - Data Access Group - Create Edit Delete.feature +++ b/Feature Tests/B/Data Access Groups/B.2.10.100 - Create Edit Delete.feature @@ -6,7 +6,7 @@ I want to see that Data Access Groups is functioning as expected Scenario: B.2.10.100.100 Create, Edit & Delete DAGs #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.10.100.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 +And I create a new project named "B.2.10.100.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 "DAGs" Then I should see "Assign user to a group" diff --git a/Feature Tests/B/Data Access Groups/B.2.10.200 - Data Access Group - Add Remove Users.feature b/Feature Tests/B/Data Access Groups/B.2.10.200 - Add Remove Users.feature similarity index 97% rename from Feature Tests/B/Data Access Groups/B.2.10.200 - Data Access Group - Add Remove Users.feature rename to Feature Tests/B/Data Access Groups/B.2.10.200 - Add Remove Users.feature index a140aab8..97451e44 100644 --- a/Feature Tests/B/Data Access Groups/B.2.10.200 - Data Access Group - Add Remove Users.feature +++ b/Feature Tests/B/Data Access Groups/B.2.10.200 - Add Remove Users.feature @@ -6,7 +6,7 @@ I want to see that Data Access Groups is functioning as expected Scenario: B.2.10.200.100 Assign & Remove User to DAG #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.10.200.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 +And I create a new project named "B.2.10.200.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 #SETUP_RECORD_DAG_ASSIGN When I click on "Record Status Dashboard" diff --git a/Feature Tests/B/Data Access Groups/B.2.10.300 - Data Access Group - Multiple DAGs.feature b/Feature Tests/B/Data Access Groups/B.2.10.300 - Multiple DAGs.feature similarity index 97% rename from Feature Tests/B/Data Access Groups/B.2.10.300 - Data Access Group - Multiple DAGs.feature rename to Feature Tests/B/Data Access Groups/B.2.10.300 - Multiple DAGs.feature index 10bcc66d..f1f98540 100644 --- a/Feature Tests/B/Data Access Groups/B.2.10.300 - Data Access Group - Multiple DAGs.feature +++ b/Feature Tests/B/Data Access Groups/B.2.10.300 - Multiple DAGs.feature @@ -6,7 +6,7 @@ I want to see that Data Access Groups is functioning as expected Scenario: B.2.10.300.100 Assign user multiple DAGs and DAG Switcher #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.10.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 +And I create a new project named "B.2.10.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 #SETUP_RECORD_DAG_ASSIGN When I click on "Record Status Dashboard" diff --git a/Feature Tests/B/Data Access Groups/B.2.10.400 - Data Access Group - User and Record Restrictions.feature b/Feature Tests/B/Data Access Groups/B.2.10.400 - User and Record Restrictions.feature similarity index 97% rename from Feature Tests/B/Data Access Groups/B.2.10.400 - Data Access Group - User and Record Restrictions.feature rename to Feature Tests/B/Data Access Groups/B.2.10.400 - User and Record Restrictions.feature index 7d94f94f..497ee3d8 100644 --- a/Feature Tests/B/Data Access Groups/B.2.10.400 - Data Access Group - User and Record Restrictions.feature +++ b/Feature Tests/B/Data Access Groups/B.2.10.400 - User and Record Restrictions.feature @@ -5,7 +5,7 @@ I want to see that Data Access Groups is functioning as expected Scenario: B.2.10.400.100 User restriction for records in DAGs -#SETUP_NOTE: Will reference unique Group ID numbers located on DAG page. These numbers are specific the PID +#SETUP_NOTE: Will reference unique Group ID numbers located on DAG page. These numbers are specific to the PID #SETUP Given I login to REDCap with the user "Test_Admin" @@ -65,7 +65,7 @@ Then I should see a dialog containing the following text: "Editing existing user ##ACTION: Set user access to View & Edit + Edit survey responses When I set Data Viewing Rights to View & Edit for the instrument "Text Validation" And I set Data Viewing Rights to View & Edit with Edit survey responses checked for the instrument "Consent" - And I save changes within the context of User Rights +And I save changes within the context of User Rights #ASSIGN RECORDS TO SPECIFIC DAGs # -- Record ID 3 - TestGroup1 -- @@ -194,7 +194,8 @@ Then I should see a table header and rows containing the following values in the When I click on the link labeled "Record Status Dashboard" Then I should see a table header and rows containing the following values in the record status dashboard table: | Record ID | -| 3 TestGroup1 | +| 3 | +| 1-1 | ##VERIFY_FR: When I click on the link labeled "File Repository" @@ -262,12 +263,8 @@ Then I should see "Thank you for taking the survey." When I click on the button labeled "Close survey" Then I should see "You may now close this tab/window" -Given I am still logged in to REDCap with the user "Test_User4" -When I click on the link labeled "My Projects" -And I click on the link labeled "B.2.10.400.100" - ##VERIFY_RSD: -And I click on the link labeled "Record Status Dashboard" +When I click on the link labeled "Record Status Dashboard" Then I should see a table header and rows containing the following values in the record status dashboard table: | Record ID | | 2-1 TestGroup2 | diff --git a/Feature Tests/B/Data Access Groups/B.2.10.500 - Data Access Group - Assign Records to DAG.feature b/Feature Tests/B/Data Access Groups/B.2.10.500 - Data Access Group - Assign Records to DAG.feature deleted file mode 100644 index c47b0bb5..00000000 --- a/Feature Tests/B/Data Access Groups/B.2.10.500 - Data Access Group - Assign Records to DAG.feature +++ /dev/null @@ -1,28 +0,0 @@ -Feature: User Interface: The system shall provide the ability to assign records to a DAG from the Record Home page - -As a REDCap end user -I want to see that Data Access Groups is functioning as expected - -Scenario: B.2.10.500.100 Assign DAG to record -#SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.10.500.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 "Record Status Dashboard" -And I click on the link labeled "2" -Then I should see the "Record Home Page" - -#FUNCTIONAL REQUIREMENT -##ACTION: Assign Record DAG -When I select the dropdown option labeled "Assign to Data Access Group" from the dropdown "Choose action for record" -And I select the dropdown option labeled "TestGroup1" from the dropdown with the placeholder text of "[No Assignment]" in the dialog box -And I click on the button labeled "Assign to Data Access Group" in the dialog box - -##VERIFY -Then I should see "Record ID 2 was successfully assigned to a Data Access Group!" -And I should see "Arm 1: Arm 1 - TestGroup1" -##VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin | Update record 2 | Assign record to Data Access Group (redcap_data_access_group = 'testgroup1') | diff --git a/Feature Tests/B/Data Access Groups/B.2.10.500 - REDUNDANT.Assign Records to DAG.feature b/Feature Tests/B/Data Access Groups/B.2.10.500 - REDUNDANT.Assign Records to DAG.feature new file mode 100644 index 00000000..e4b29a96 --- /dev/null +++ b/Feature Tests/B/Data Access Groups/B.2.10.500 - REDUNDANT.Assign Records to DAG.feature @@ -0,0 +1,3 @@ +Feature: User Interface: The system shall provide the ability to assign records to a DAG from the Record Home page +Scenario: B.2.10.500.100 Assign DAG to record +This feature test is REDUNDANT and can be viewed in B.2.10.600. diff --git a/Feature Tests/B/Data Access Groups/B.2.10.600 - Data Access Group - Unique DAGs.feature b/Feature Tests/B/Data Access Groups/B.2.10.600 - B.2.10.600 - Unique DAGs.feature similarity index 92% rename from Feature Tests/B/Data Access Groups/B.2.10.600 - Data Access Group - Unique DAGs.feature rename to Feature Tests/B/Data Access Groups/B.2.10.600 - B.2.10.600 - Unique DAGs.feature index 16b0d96f..ac87dc69 100644 --- a/Feature Tests/B/Data Access Groups/B.2.10.600 - Data Access Group - Unique DAGs.feature +++ b/Feature Tests/B/Data Access Groups/B.2.10.600 - B.2.10.600 - Unique DAGs.feature @@ -7,14 +7,15 @@ Scenario: B.2.10.600.100 Unique DAGs #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.10.600.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 +And I create a new project named "B.2.10.600.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 "Record Status Dashboard" And I click on the link labeled "3" Then I should see the "Record Home Page" #FUNCTIONAL REQUIREMENT -##ACTION: Assign Record DAG_testgroup1 +##ACTION: Assign Record DAG_testgroup1 +##REDUNDANT #B.2.10.500 Assign Records to a DAG When I select the dropdown option labeled "Assign to Data Access Group" from the dropdown "Choose action for record" And I select the dropdown option labeled "TestGroup1" from the dropdown with the placeholder text of "[No Assignment]" in the dialog box And I click on the button labeled "Assign to Data Access Group" in the dialog box diff --git a/Feature Tests/B/Data import/B.3.16.100 - Data import template.feature b/Feature Tests/B/Data Import/B.3.16.100 - Import Templates - Columns & Rows.feature similarity index 95% rename from Feature Tests/B/Data import/B.3.16.100 - Data import template.feature rename to Feature Tests/B/Data Import/B.3.16.100 - Import Templates - Columns & Rows.feature index 99311e10..ec10da35 100644 --- a/Feature Tests/B/Data import/B.3.16.100 - Data import template.feature +++ b/Feature Tests/B/Data Import/B.3.16.100 - Import Templates - Columns & Rows.feature @@ -9,7 +9,7 @@ And I create a new project named "B.3.16.100.100" by clicking on "New Project" i #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.1000 - Data import access.feature b/Feature Tests/B/Data Import/B.3.16.1000 - Access Restrictions.feature similarity index 88% rename from Feature Tests/B/Data import/B.3.16.1000 - Data import access.feature rename to Feature Tests/B/Data Import/B.3.16.1000 - Access Restrictions.feature index a99b810b..05b5aa47 100644 --- a/Feature Tests/B/Data import/B.3.16.1000 - Data import access.feature +++ b/Feature Tests/B/Data Import/B.3.16.1000 - Access Restrictions.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.16.1000.100" by clicking on "New Project" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -62,3 +62,9 @@ When I click on the button labeled "View Report" Then I should see a table header and rows including the following values in the report data table: | Record ID| Email | | 5 | email@test.edu| + +#VERIFY_LOG +When I click on the button labeled "Logging" +Then I should see a table header and rows including the following values in the logging table: +| Username | Action | List of Data Changes OR Fields Exported | +| test_admin| Create record (import) | Create record (import) diff --git a/Feature Tests/B/Data Import/B.3.16.1200 - Overwrite Existing Data.feature b/Feature Tests/B/Data Import/B.3.16.1200 - Overwrite Existing Data.feature new file mode 100644 index 00000000..46c25665 --- /dev/null +++ b/Feature Tests/B/Data Import/B.3.16.1200 - Overwrite Existing Data.feature @@ -0,0 +1,78 @@ +Feature: User Interface: The system shall provide the option to allow blank values to overwrite existing saved values. + +As a REDCap end user +I want to see that Data import is functioning as expected + +Scenario: B.3.16.1200.100 Data import overwrite existing values with blank + +#SETUP +Given I login to REDCap with the user "Test_Admin" +And I create a new project named "B.3.16.1200.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 + +#SETUP_PRODUCTION +When 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 +And I click on the button labeled "Ok" in the pop-up box +Then I should see "Project Status: Production" + +##Verify Data present +Given I 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" + + Then I should see a table header and rows containing the following values in the report data table: + | Record ID | Event Name | Repeat Instrument | Repeat Instance | Data Access Group | Survey Identifier | Name | Email | + | 1 | Event 1 (Arm 1: Arm 1) | | | | | | email@test.edu | + +#FUNCTIONAL REQUIREMENT +##ACTION: Import new data, ignoring blank values +When I click on the link labeled "Data Import Tool" +And I click on the tab labeled "CVS import" +Then I should see the button labeled "Choose File" + +When I click on the button labeled "Choose File" +And I select the file labeled "B3161200100_ACCURATE" +And I click on the button labeled "Upload File" + +##VERIFY +Then I should see "Your document was uploaded successfully" + +When I click on the button labeled "Import Data" +Then I should see "Import Successful!" + +##Verify Data present +Given I 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" + + Then I should see a table header and rows containing the following values in the report data table: + | Record ID | Event Name | Repeat Instrument | Repeat Instance | Data Access Group | Survey Identifier | Name | Email | + | 1 | Event 1 (Arm 1: Arm 1) | | | | | | email@test.edu | + +#FUNCTIONAL REQUIREMENT +##ACTION: Import new data, overwrite blank values +When I click on the link labeled "Data Import Tool" +And I click on the tab labeled "CVS import" +Then I should see the button labeled "Choose File" + +When I click on the button labeled "Choose File" +And I select "Yes, blank values in the file will overwrite existing values" on the dropdown field labeled "Allow blank values to overwrite existing saved values?" +Given I click on the button labeled "Yes, I understand" in the dialog box +And I select the file labeled "B3161200100_ACCURATE" +And I click on the button labeled "Upload File" + +##VERIFY +Then I should see "Your document was uploaded successfully" + +When I click on the button labeled "Import Data" +Then I should see "Import Successful!" + +##Verify Data was overwritten with a blank +Given I 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" + + Then I should see a table header and rows containing the following values in the report data table: + | Record ID | Event Name | Repeat Instrument | Repeat Instance | Data Access Group | Survey Identifier | Name | Email | + | 1 | Event 1 (Arm 1: Arm 1) | | | | | | | diff --git a/Feature Tests/B/Data import/B.3.16.1300 - Data import dag.feature b/Feature Tests/B/Data Import/B.3.16.1300 - Data Import - DAGs.feature similarity index 97% rename from Feature Tests/B/Data import/B.3.16.1300 - Data import dag.feature rename to Feature Tests/B/Data Import/B.3.16.1300 - Data Import - DAGs.feature index 0d4b92d8..1a352a49 100644 --- a/Feature Tests/B/Data import/B.3.16.1300 - Data import dag.feature +++ b/Feature Tests/B/Data Import/B.3.16.1300 - Data Import - DAGs.feature @@ -26,7 +26,7 @@ Then I should see a table header and rows containing the following values in the #SETUP_PRODUCTION Given 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.200 - Data import create modify records.feature b/Feature Tests/B/Data Import/B.3.16.200 - Create & Modify Records.feature similarity index 97% rename from Feature Tests/B/Data import/B.3.16.200 - Data import create modify records.feature rename to Feature Tests/B/Data Import/B.3.16.200 - Create & Modify Records.feature index 6e4cc519..c3755d99 100644 --- a/Feature Tests/B/Data import/B.3.16.200 - Data import create modify records.feature +++ b/Feature Tests/B/Data Import/B.3.16.200 - Create & Modify Records.feature @@ -7,7 +7,7 @@ And I create a new project named "B.3.16.200.100" by clicking on "New Project" i #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.300 b/Feature Tests/B/Data Import/B.3.16.300 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Data import/B.3.16.300 rename to Feature Tests/B/Data Import/B.3.16.300 - REDUNDANT.feature diff --git a/Feature Tests/B/Data import/B.3.16.400 - Data import field validation.feature b/Feature Tests/B/Data Import/B.3.16.400 - Field Validation.feature similarity index 97% rename from Feature Tests/B/Data import/B.3.16.400 - Data import field validation.feature rename to Feature Tests/B/Data Import/B.3.16.400 - Field Validation.feature index 5df2a5a4..47075e99 100644 --- a/Feature Tests/B/Data import/B.3.16.400 - Data import field validation.feature +++ b/Feature Tests/B/Data Import/B.3.16.400 - Field Validation.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.16.400.100" by clicking on "New Project" i #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.500 - Data import codes.feature b/Feature Tests/B/Data Import/B.3.16.500 - Choices for Radios, Dropdowns, Checkboxes.feature similarity index 97% rename from Feature Tests/B/Data import/B.3.16.500 - Data import codes.feature rename to Feature Tests/B/Data Import/B.3.16.500 - Choices for Radios, Dropdowns, Checkboxes.feature index 576f26bf..591f69dd 100644 --- a/Feature Tests/B/Data import/B.3.16.500 - Data import codes.feature +++ b/Feature Tests/B/Data Import/B.3.16.500 - Choices for Radios, Dropdowns, Checkboxes.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.16.500.100" by clicking on "New Project" i #SETUP_PRODUCTION  When I click on the button labeled "Move project to production"   -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box  +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  Then I see " Project status:  Production"  diff --git a/Feature Tests/B/Data import/B.3.16.600 - Data import survey id timestamp.feature b/Feature Tests/B/Data Import/B.3.16.600 - Survey Data Import.feature similarity index 95% rename from Feature Tests/B/Data import/B.3.16.600 - Data import survey id timestamp.feature rename to Feature Tests/B/Data Import/B.3.16.600 - Survey Data Import.feature index 17581aca..54cf2dfa 100644 --- a/Feature Tests/B/Data import/B.3.16.600 - Data import survey id timestamp.feature +++ b/Feature Tests/B/Data Import/B.3.16.600 - Survey Data Import.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.16.600.100" by clicking on "New Project" i #SETUP_PRODUCTION  When I click on the button labeled "Move project to production"   -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box  +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  Then I should see "Project status:  Production"  diff --git a/Feature Tests/B/Data import/B.3.16.700 - Data import longitudinal.feature b/Feature Tests/B/Data Import/B.3.16.700 - Longitudinal Data Import.feature similarity index 94% rename from Feature Tests/B/Data import/B.3.16.700 - Data import longitudinal.feature rename to Feature Tests/B/Data Import/B.3.16.700 - Longitudinal Data Import.feature index 70f02381..3b2350e5 100644 --- a/Feature Tests/B/Data import/B.3.16.700 - Data import longitudinal.feature +++ b/Feature Tests/B/Data Import/B.3.16.700 - Longitudinal Data Import.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.16.700.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.800 - Data import repeat.feature b/Feature Tests/B/Data Import/B.3.16.800 - Repeat Instrument Import.feature similarity index 97% rename from Feature Tests/B/Data import/B.3.16.800 - Data import repeat.feature rename to Feature Tests/B/Data Import/B.3.16.800 - Repeat Instrument Import.feature index 9814caa4..cb98fab0 100644 --- a/Feature Tests/B/Data import/B.3.16.800 - Data import repeat.feature +++ b/Feature Tests/B/Data Import/B.3.16.800 - Repeat Instrument Import.feature @@ -18,7 +18,7 @@ Then I should see "Successfully saved!" #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Delete ALL data in the project" in the dialog box +And I click on the radio labeled "Delete ALL data in the project" in the dialog box And I click on the button labeled "YES, Move to Production Status" in the dialog box And I click on the button labeled "Ok" in the pop-up box Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.900 - Data import locked.feature b/Feature Tests/B/Data Import/B.3.16.900 - Import Restrictions.feature similarity index 96% rename from Feature Tests/B/Data import/B.3.16.900 - Data import locked.feature rename to Feature Tests/B/Data Import/B.3.16.900 - Import Restrictions.feature index cd7acc50..318c7047 100644 --- a/Feature Tests/B/Data import/B.3.16.900 - Data import locked.feature +++ b/Feature Tests/B/Data Import/B.3.16.900 - Import Restrictions.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.16.900.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Data import/B.3.16.1200 - Data import overwrite.feature b/Feature Tests/B/Data import/B.3.16.1200 - Data import overwrite.feature deleted file mode 100644 index 09519f66..00000000 --- a/Feature Tests/B/Data import/B.3.16.1200 - Data import overwrite.feature +++ /dev/null @@ -1,42 +0,0 @@ -Feature: User Interface: The system shall provide the option to allow blank values to overwrite existing saved values. - -As a REDCap end user -I want to see that Data import is functioning as expected - -Scenario: B.3.16.1200.100 Data import overwrite existing values with blank - -#SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.3.16.1200.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 - -#SETUP_PRODUCTION -When I click on the button labeled "Move project to production" -And I click on the radio button 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 -And I click on the button labeled "Ok" in the pop-up box -Then I should see "Project Status: Production" - -#FUNCTIONAL REQUIREMENT -##ACTION: Error during import -When I click on the link labeled "Data Import Tool" -And I click on the tab labeled "CVS import" -Then I should see the button labeled "Choose File" - -When I click on the button labeled "Choose File" -And I select the file labeled "B3161200100_INACCURATE" -And I click on the button labeled "Upload File" -##VERIFY -Then I should see "ERROR:" -And I click on the link labeled "RETURN TO PREVIOUS PAGE" - -#FUNCTIONAL REQUIREMENT -##ACTION: w DAGs -When I click on the button labeled "Choose File" -And I select the file labeled "B3161200100_ACCURATE" -And I click on the button labeled "Upload File" - -##VERIFY -Then I should see "Your document was uploaded successfully" - -When I click on the button labeled "Import Data" -Then I should see "Import Successful!" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.100 - create record.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.100 - Create Record.feature similarity index 92% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.100 - create record.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.100 - Create Record.feature index eb8b4041..dc18bb96 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.100 - create record.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.100 - Create Record.feature @@ -10,7 +10,7 @@ And I create a new project named " B.3.14.100.100 " by clicking on "New Project" 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" @@ -27,7 +27,7 @@ Then I should see "Test User1" ##ACTION: create record When I click the link labeled "Add/Edit Records" And I click the button labeled "Add new record for the arm selected above" -And I click the bubble labeled "Text Validation for event "Event 1" +And I click the bubble labeled "Text Validation" for event "Event 1" And I click the button labeled "Save and Exit Form" ##VERIFY Then I should see "Record ID 7 successfully added" @@ -66,8 +66,8 @@ Then I should NOT see the button labeled "Add new record for the arm selected ab ##VERIFY Can edit existing record When I click on the dropdown field with the placeholder text of "select record" And I select the dropdown option labeled "1" -And I click the bubble labeled "Text Validation for event "Event 1" -And I enter "Edit" on the field labeled "Name" +And I click the bubble labeled "Text Validation" for event "Event 1" +And I enter "EDIT" on the field labeled "Name" And I click on the button labeled "Save & Exit Form" Then I should see "Record ID 1 successfully edited" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1000 - Delete Form Data.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1000 - Delete Form Data.feature similarity index 97% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1000 - Delete Form Data.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1000 - Delete Form Data.feature index 984359e3..ddb47ed3 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1000 - Delete Form Data.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1000 - Delete Form Data.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.14.000.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1100 -Delete Record Data.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1100 - Delete Record Data.feature similarity index 87% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1100 -Delete Record Data.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1100 - Delete Record Data.feature index ba2de3c7..ca9c72f6 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1100 -Delete Record Data.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1100 - Delete Record Data.feature @@ -7,12 +7,12 @@ Scenario: B.3.14.1100.100 Delete all data in an event for a given record #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.3.14.1100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml" and clicking the "Create Project" button +And I create a new project named "B.3.14.1100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -40,8 +40,7 @@ When I click on the link labeled "Logging" Then I should see table rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported| | test_user1 | Update record 1 | calc_test = ''| -| test_user1 | Update record 1 |calculated_field = '' | -| test_user1 | Update record 1 |calculated_field_2 = ''| +| test_user1 | Update record 1 |consent_complete = '' | | test_user1 | Update record 1 |data_types_complete = '' | | test_user1 | Update record 1 |dob = '' | | test_user1 | Update record 1 |email = '' | @@ -55,5 +54,6 @@ Then I should see a table row containing the following values in the reports tab | A | All data (all records and fields) | When I click on the button labeled "View Report" -Then I should NOT see data for event "Event 1" for record "1" - +Then I should NOT see a table row including the following values in in the logging table: +| record_id | redcap_event_name | name | +| 1 | Event 1 (Arm 1: Arm 1) | Name | diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1200 - Delete Record.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1200 - Delete Record.feature similarity index 92% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1200 - Delete Record.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1200 - Delete Record.feature index 572b4d99..9e4c2e1a 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.1200 - Delete Record.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.1200 - Delete Record.feature @@ -7,12 +7,12 @@ Scenario: B.3.14.1200.100 Delete record #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.3.14.1200.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml" and clicking the "Create Project" button +And I create a new project named "B.3.14.1200.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_3.14.xml", and clicking the "Create Project" button #SETUP_PRODUCTION When click on the link labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.200 - Field Type Data Entry.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.200 - Field Type Data Entry.feature similarity index 97% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.200 - Field Type Data Entry.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.200 - Field Type Data Entry.feature index cd2fdad8..8b504c9c 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.200 - Field Type Data Entry.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.200 - Field Type Data Entry.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.3.14.200.100" And 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.300 - Multiple choice-radio button.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.300 - Radio button behavior.feature similarity index 96% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.300 - Multiple choice-radio button.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.300 - Radio button behavior.feature index 6589cff4..e97d5286 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.300 - Multiple choice-radio button.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.300 - Radio button behavior.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.14.300.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.400 - Date time fields.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.400 - Datetime Fields.feature similarity index 73% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.400 - Date time fields.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.400 - Datetime Fields.feature index d6f535ed..3d1f922b 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.400 - Date time fields.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.400 - Datetime Fields.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.14.400.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -38,4 +38,13 @@ When I click on the button labeled "Today" for the field labeled "date YMD" ##VERIFY Then I should see today's date in the field labeled "date YMD" +When I select the submit option labeled "Save & Exit Form" on the Data Collection Instrument +Then I should see "Adding new Record ID 7." +##VERIFY_LOG +When I click on the link labeled "Logging" +Then I should see a table header and rows including the following values in the logging table: +| Username | Action | List of Data Changes OR Fields Exported | +| test_admin | Create record 7 | date_ymd = '2023-12-27',| +| test_admin | Create record 7 | time_hhmmss = '15:33:55',| +| test_admin | Create record 7 | datetime_ymd_hmss = '2023-08-01 00:00:00',| diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.500 - Leave without save.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.500 - Leave without Save.feature similarity index 97% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.500 - Leave without save.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.500 - Leave without Save.feature index 6cb316e7..bda59c0d 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.500 - Leave without save.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.500 - Leave without Save.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.14.500.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.600 - Save options.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.600 - Save Options.feature similarity index 93% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.600 - Save options.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.600 - Save Options.feature index 6139bc37..41b12465 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.600 - Save options.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.600 - Save Options.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.14.600.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -32,6 +32,11 @@ Then I should see "Record ID 7" data entry cancelled - not saved." ##VERIFY_LOG When I click on the link labeled "Logging" +Then I should NOT see table rows including the following values in the logging table: +| Username | Action | List of Data Changes +OR Fields Exported | +| test_user1 | Manage/Design | Move project to Production status | + Then I should NOT see table rows including the following values in the logging table: | Username | Action | | test_user1 | Create record 7 | @@ -105,6 +110,7 @@ Then I should see "Now displaying the next record: Record ID 11" When I click on the link labeled "Logging" Then I should see table rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | +| test_user1 | Update record 11 | name = 'NEXT RECORD '| | test_user1 | Update record 10 | name = 'SAVE & GO TO NEXT RECORD '| | test_user1 | Create record 9 | name = 'SAVE & EXIT RECORD' | | test_user1 | Create record 8 | name = 'SAVE & GO TO NEXT FORM' | @@ -122,3 +128,4 @@ Then I should see a table header and rows including the following values in the | 8 | Event 1 (Arm 1: Arm 1) | SAVE & GO TO NEXT FORM| | 9 | Event 1 (Arm 1: Arm 1) | SAVE AND EXIT RECORD| | 10 | Event 1 (Arm 1: Arm 1) | SAVE & GO TO NEXT RECORD| +| 11 | Event 1 (Arm 1: Arm 1) | NEXT RECORD| diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.700 - Form status option.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.700 - Form status options.feature similarity index 97% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.700 - Form status option.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.700 - Form status options.feature index 2145f573..2ba0cd8e 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.700 - Form status option.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.700 - Form status options.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.14.700.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.800 - Display record status dashboard.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.800 - Record Status Dashboard.feature similarity index 100% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.800 - Display record status dashboard.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.800 - Record Status Dashboard.feature diff --git a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.900 - Rename record.feature b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.900 - Rename Record.feature similarity index 96% rename from Feature Tests/B/Direct data entry with data collection instrument/B.3.14.900 - Rename record.feature rename to Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.900 - Rename Record.feature index 0ba04393..72687a4a 100644 --- a/Feature Tests/B/Direct data entry with data collection instrument/B.3.14.900 - Rename record.feature +++ b/Feature Tests/B/Direct Data Entry - Data Collection Instrument/B.3.14.900 - Rename Record.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.14.900.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.100 - Enable Form into Survey.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.100 - Enable Instrument as Survey.feature similarity index 95% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.100 - Enable Form into Survey.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.100 - Enable Instrument as Survey.feature index 8900a42d..57f87dd4 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.100 - Enable Form into Survey.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.100 - Enable Instrument as Survey.feature @@ -6,7 +6,7 @@ I want to see that Manage project user access is functioning as expected Scenario: B.3.15.100.100 Enable/Disable survey in Online Designer #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.3.15.100.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 +And I create a new project named "B.3.15.100.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 "Project Setup" #PARENT #B.6.4.1300.100 @@ -14,7 +14,7 @@ Then I should see a button labeled "Disable" on the field labeled "Use surveys i #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1000 - Survey participant list.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1000 - Survey Participant List.feature similarity index 95% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.1000 - Survey participant list.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.1000 - Survey Participant List.feature index 5f9e28aa..769bc14e 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1000 - Survey participant list.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1000 - Survey Participant List.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.15.1000.100" by clicking on "New Project" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1100 - Survey track response.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1100 - Survey Response Tracking.feature similarity index 74% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.1100 - Survey track response.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.1100 - Survey Response Tracking.feature index 43b3d983..18749cf7 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1100 - Survey track response.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1100 - Survey Response Tracking.feature @@ -5,7 +5,6 @@ I want to see that Survey Feature is functioning as expected Scenario: B.3.15.1100.100 Tracking survey responders - #SETUP Given I login to REDCap with the user "Test_User1" And I create a new project named "B.3.15.1100.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 @@ -13,7 +12,7 @@ And I create a new project named "B.3.15.1100.100" by clicking on "New Project" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -29,12 +28,13 @@ And I should see a grey bubble for the column labeled "Responded?" for record "2 #FUNCTIONAL_REQUIREMENT ##ACTION When I click the link icon for record "1" -And I click on the button labeled "Survey Options" -And I click on the dropdown option labeled "Open survey" -And I click on the button labeled "Submit" -And I click on the button labeled "Close survey" -And I click on the button labeled "Leave without saving changes" in the dialog box -And I click on the link labeled "Survey Invitation Log" +Then I should see "Survey" +And I should see "Name" + +When I click on the button labeled "Submit" +Then I should see "Close survey" + +When I click on the link labeled "Survey Distribution Tools" And I click on the button labeled "Participant List" And I select "Survey" from the dropdown labeled "Participant List belonging to" -Then I should see a green checkmark for the column labeled "Responded?" for record "1" +Then green checkmark for the column labeled "Responded?" for record "1" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1200 - Disabled survey removes survey metadata.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1200 - Disabled Survey Behavior.feature similarity index 97% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.1200 - Disabled survey removes survey metadata.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.1200 - Disabled Survey Behavior.feature index d02c4987..a9357fa6 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1200 - Disabled survey removes survey metadata.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1200 - Disabled Survey Behavior.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.15.1200.100" by clicking on "New Project" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1300 - Public survey link.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1300 - Public Survey Link.feature similarity index 94% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.1300 - Public survey link.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.1300 - Public Survey Link.feature index f3d3dda7..35a23709 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.1300 - Public survey link.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.1300 - Public Survey Link.feature @@ -6,7 +6,7 @@ I want to see that Manage project user access is functioning as expected Scenario: B.3.15.1300.100 Public survey link #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.3.15.1300.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 +And I create a new project named "B.3.15.1300.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 #FUNCTIONAL REQUIREMENT ##ACTION - 1st instrument is not set-up as survey diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.200 - Survey status.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.200 - Survey Status.feature similarity index 95% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.200 - Survey status.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.200 - Survey Status.feature index 7b2641a1..a1028c4a 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.200 - Survey status.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.200 - Survey Status.feature @@ -6,11 +6,11 @@ I want to see that Manage project user access is functioning as expected Scenario: B.3.15.200.100 Survey Online/Offline Status #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.3.15.200.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 +And I create a new project named "B.3.15.200.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 #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see " Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.300 - Survey distribution participant list.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.300 - Survey Distribution Participant List.feature similarity index 95% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.300 - Survey distribution participant list.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.300 - Survey Distribution Participant List.feature index ba188504..3efc802d 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.300 - Survey distribution participant list.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.300 - Survey Distribution Participant List.feature @@ -10,7 +10,7 @@ And I create a new project named "B.3.15.300.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.400 - Survey open from form.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.400 - Open Survey from Form.feature similarity index 96% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.400 - Survey open from form.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.400 - Open Survey from Form.feature index bded2108..c4d58318 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.400 - Survey open from form.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.400 - Open Survey from Form.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.15.400.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.500 - Survey mode alerts form mode.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.500 - Survey Alerts and Prompts.feature similarity index 97% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.500 - Survey mode alerts form mode.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.500 - Survey Alerts and Prompts.feature index 355e84c4..4d92454a 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.500 - Survey mode alerts form mode.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.500 - Survey Alerts and Prompts.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.15.500.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.800 - Survey edit.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.800 - Edit Survey Responses.feature similarity index 97% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.800 - Survey edit.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.800 - Edit Survey Responses.feature index f70cfaa4..828b33f5 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.800 - Survey edit.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.800 - Edit Survey Responses.feature @@ -11,7 +11,7 @@ And I create a new project named "B.3.15.800.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.900 - Survey status.feature b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.900 - Survey Response Status.feature similarity index 97% rename from Feature Tests/B/Direct data entry through the survey feature/B.3.15.900 - Survey status.feature rename to Feature Tests/B/Direct Data Entry - Survey/B.3.15.900 - Survey Response Status.feature index 1a8fa248..b4da46b4 100644 --- a/Feature Tests/B/Direct data entry through the survey feature/B.3.15.900 - Survey status.feature +++ b/Feature Tests/B/Direct Data Entry - Survey/B.3.15.900 - Survey Response Status.feature @@ -12,7 +12,7 @@ And I create a new project named "B.3.15.900.100" by clicking on "New Project" i #SETUP_PRODUCTION When I cclick on the link labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Draft mode/B.4.20.100 - .feature b/Feature Tests/B/Draft Mode/B.4.20.100 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Draft mode/B.4.20.100 - .feature rename to Feature Tests/B/Draft Mode/B.4.20.100 - REDUNDANT.feature diff --git a/Feature Tests/B/Draft mode/B.4.20.300 - Change requires draft mode.feature b/Feature Tests/B/Draft Mode/B.4.20.300 - Instrument Behavior.feature similarity index 96% rename from Feature Tests/B/Draft mode/B.4.20.300 - Change requires draft mode.feature rename to Feature Tests/B/Draft Mode/B.4.20.300 - Instrument Behavior.feature index 3e2c2550..435a3a8c 100644 --- a/Feature Tests/B/Draft mode/B.4.20.300 - Change requires draft mode.feature +++ b/Feature Tests/B/Draft Mode/B.4.20.300 - Instrument Behavior.feature @@ -12,7 +12,7 @@ And I create a new project named "B.4.20.300.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see Project Status: "Production" diff --git a/Feature Tests/B/Draft mode/B.4.20.400 - Draft summary.feature b/Feature Tests/B/Draft Mode/B.4.20.400 - Draft Mode Summary.feature similarity index 96% rename from Feature Tests/B/Draft mode/B.4.20.400 - Draft summary.feature rename to Feature Tests/B/Draft Mode/B.4.20.400 - Draft Mode Summary.feature index fdd6207e..38d18d3c 100644 --- a/Feature Tests/B/Draft mode/B.4.20.400 - Draft summary.feature +++ b/Feature Tests/B/Draft Mode/B.4.20.400 - Draft Mode Summary.feature @@ -12,7 +12,7 @@ And I create a new project named "B.4.20.400.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see Project Status: "Production" diff --git a/Feature Tests/B/Draft mode/B.4.20.500 - .feature b/Feature Tests/B/Draft Mode/B.4.20.500 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Draft mode/B.4.20.500 - .feature rename to Feature Tests/B/Draft Mode/B.4.20.500 - REDUNDANT.feature diff --git a/Feature Tests/B/Draft mode/B.4.20.600 - .feature b/Feature Tests/B/Draft Mode/B.4.20.600 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Draft mode/B.4.20.600 - .feature rename to Feature Tests/B/Draft Mode/B.4.20.600 - REDUNDANT.feature diff --git a/Feature Tests/B/Draft mode/B.4.20.700 - .feature b/Feature Tests/B/Draft Mode/B.4.20.700 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Draft mode/B.4.20.700 - .feature rename to Feature Tests/B/Draft Mode/B.4.20.700 - REDUNDANT.feature diff --git a/Feature Tests/B/Draft mode/B.4.20.800 - Draft warning.feature b/Feature Tests/B/Draft Mode/B.4.20.800 - Draft warning.feature similarity index 97% rename from Feature Tests/B/Draft mode/B.4.20.800 - Draft warning.feature rename to Feature Tests/B/Draft Mode/B.4.20.800 - Draft warning.feature index 47ecffdd..9ae7b943 100644 --- a/Feature Tests/B/Draft mode/B.4.20.800 - Draft warning.feature +++ b/Feature Tests/B/Draft Mode/B.4.20.800 - Draft warning.feature @@ -12,7 +12,7 @@ And I create a new project named "B.4.20.800.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see Project Status: "Production" diff --git a/Feature Tests/B/Draft mode/B.4.20.900 - Draft version control.feature b/Feature Tests/B/Draft Mode/B.4.20.900 - Draft version control.feature similarity index 96% rename from Feature Tests/B/Draft mode/B.4.20.900 - Draft version control.feature rename to Feature Tests/B/Draft Mode/B.4.20.900 - Draft version control.feature index 2f2344a0..edafcc66 100644 --- a/Feature Tests/B/Draft mode/B.4.20.900 - Draft version control.feature +++ b/Feature Tests/B/Draft Mode/B.4.20.900 - Draft version control.feature @@ -12,7 +12,7 @@ And I create a new project named "B.4.20.900.100" by clicking on "New Project" i #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see Project Status: "Production" diff --git a/Feature Tests/B/Export data/B.5.21.100 - Export PHI.feature b/Feature Tests/B/Export Data/B.5.21.100 - Export PHI.feature similarity index 77% rename from Feature Tests/B/Export data/B.5.21.100 - Export PHI.feature rename to Feature Tests/B/Export Data/B.5.21.100 - Export PHI.feature index 34497a89..3361e5c4 100644 --- a/Feature Tests/B/Export data/B.5.21.100 - Export PHI.feature +++ b/Feature Tests/B/Export Data/B.5.21.100 - Export PHI.feature @@ -6,7 +6,7 @@ I want to see that export data is functioning as expected Scenario: B.5.21.100.100 Limit identified data export #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.5.21.100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml" and clicking the "Create Project" button +And I create a new project named "B.5.21.100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml", and clicking the "Create Project" button #SETUP_USER_RIGHTS When I click on the link labeled "User Rights" @@ -14,47 +14,47 @@ And I enter "Test_User1" into the field with the placeholder text of "Assign new And I click on the button labeled "Assign to role" And I select "4_NoAccess_Noexport" 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 "3_ReadOnly_Deidentified" row of the column labeled "Username" of the User Rights table +Then I should see a table header and rows including the following values in the logging table: +| Role name | Username | +| 4_NoAccess_Noexport | test_user1 | ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" Then I should see a table header and rows containing the following values in the codebook table: | Variable/Field Name | Field Label| Field Attributes (Field/Type, Validation, Choices, Calculations, etc. | -| [identifier] | Identifier |text, Identifier | -| [identifier_2] | Identifier 2 |text, Identifier | -| [ptname] | Name |text | -| [radio ] | radio | radio, Identifier | - +| [identifier] | Identifier |text, Identifier | +| [identifier_2] | Identifier 2 |text, Identifier | +| [ptname] | Name |text | +| [radio ] | radio | radio, Identifier | ##ACTION: change identifier status When I click on the link labeled "Project Setup" And I click on the link labeled "Check for identifiers" Then I should see a table header and rows containing the following values in the codebook table: | Variable Name | Field Label| Identifier?| -| identifier | Identifier |check icon | -| identifier_2 | Identifier 2|check icon | -| ptname | Name | | -| radio | radio | check icon| +| identifier | Identifier | select checkbox | +| identifier_2 | Identifier 2|select checkbox | +| ptname | Name | deselect checkbox | +| radio | radio | select checkbox| When I deselect the checkbox labeled "Identifier?" for the variable labeled "identifier_2" And I select the checkbox labeled "Identifier?" for the variable labeled "ptname" And I click on the button labeled "Update Identifiers" Then I should see a table header and rows containing the following values in the codebook table: | Variable Name | Field Label| Identifier?| -| identifier | Identifier |check icon | -| identifier_2 | Identifier 2 | | -| ptname | Name | check icon| -| radio | radio | check icon| +| identifier | Identifier | select checkbox | +| identifier_2 | Identifier 2| deselect checkbox | +| ptname | Name | select checkbox | +| radio | radio | select checkbox| ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" Then I should see a table header and rows containing the following values in the codebook table: | Variable/Field Name | Field Label| Field Attributes (Field/Type, Validation, Choices, Calculations, etc. | -| [identifier] | Identifier |text, Identifier | -| [identifier_2] | Identifier 2 |text | -| [ptname] | Name | text, Identifier | -| [radio ] | radio | radio, Identifier | - +| [identifier] | Identifier |text, Identifier | +| [identifier_2] | Identifier 2 |text | +| [ptname] | Name | text, Identifier | +| [radio ] | radio | radio, Identifier | ##VERIFY_DE When I click on the link labeled "Data Exports, Reports, and Stats" @@ -63,7 +63,7 @@ Then I should see a table row containing the following values in the reports tab ##ACTION: export all Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -72,7 +72,7 @@ Given I click on the download icons to receive the files for the "CSV / Microsof ##VERIFY: User can see all variables, including identifier, identifier_2 and name, survey_timestamp, radio button Then I should have a "csv" file that contains the headings below | record_id | redcap_repeat_instrument | redcap_repeat_instance | redcap_data_access_group | redcap_survey_identifier | data_types_timestamp | pt_name | textbox | radio | notesbox | identifier | identifier_2 | date_ymd | datetime_ymd_hmss | date_types_complete | -#M: Close the report +#Manual: Close the report And I click on the button labeled "Close" in the dialog box @@ -81,7 +81,7 @@ And I click on the button labeled "Close" in the dialog box When I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table And I click on the checkbox button labeled "Remove All Identifier Fields (tagged in Data Dictionary)" And I click on the checkbox button labeled "Hash the Record ID field (converts record name to an unrecognizable value)" -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -91,7 +91,7 @@ Given I click on the download icons to receive the files for the "CSV / Microsof Then I should have a "csv" file that contains the headings below | record_id | redcap_repeat_instrument | redcap_repeat_instance | redcap_data_access_group | data_types_timestamp | textbox | notesbox | identifier_2 | date_ymd | datetime_ymd_hmss | date_types_complete | -#M: Close the report & refresh page +#Manual: Close the report & refresh page And I click on the button labeled "Close" in the dialog box @@ -102,7 +102,7 @@ And I deselect the checkbox button labeled "Remove All Identifier Fields (tagged And I deselect the checkbox button labeled "Hash the Record ID field (converts record name to an unrecognizable value)" And I click on the checkbox button labeled "Remove unvalidated Text fields (i.e. Text fields other than dates, numbers, etc.)" And I click on the checkbox button labeled "Remove Notes/Essay box fields" -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -111,7 +111,7 @@ Given I click on the download icons to receive the files for the "CSV / Microsof Then I should have a "csv" file that contains the headings below | record_id | redcap_repeat_instrument | redcap_repeat_instance | redcap_data_access_group | redcap_survey_identifier | data_types_timestamp | radio | date_ymd | datetime_ymd_hmss | date_types_complete | -#M: Close the report & refresh page +#Manual: Close the report & refresh page And I click on the button labeled "Close" in the dialog box @@ -119,7 +119,7 @@ FUNCTIONAL_REQUIREMENT ##ACTION: remove date, datetime fields When I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table And I click on the checkbox button labeled "Remove all date and datetime fields" -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -128,7 +128,7 @@ Given I click on the download icons to receive the files for the "CSV / Microsof Then I should have a "csv" file that contains the headings below | record_id | redcap_repeat_instrument | redcap_repeat_instance | redcap_data_access_group | redcap_survey_identifier | data_types_timestamp | pt_name | textbox | radio | notesbox | identifier | identifier_2 | date_types_complete | -#M: Close the report & refresh page +#Manual: Close the report & refresh page And I click on the button labeled "Close" in the dialog box @@ -148,27 +148,28 @@ And I click on the button labeled "Close Survey" And I click on the button labeled "Leave without saving changes" in the dialog box Then I should see "Record Home Page" And I should see a Completed Survey Response Icon for the field the instrument labeled "Data Types" + FUNCTIONAL_REQUIREMENT ##ACTION: shift all dates Given I click on the link labeled "Data Exports, Reports, and Stats" When I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table And I click on the checkbox button labeled "Shift all dates by value between 0 and 364 days" And I click on the checkbox button labeled "Also shift all survey completion timestamps by value between 0 and 364 days" -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" And I should see "All dates within your data have been DATE SHIFTED to an unknown value between 0 and 364 days." Given I click on the download icons to receive the files for the "CSV / Microsoft Excel (raw data)" format in the dialog box ##VERIFY: -#MUser can see all variables with dates shifted ([date_ymd]=! 2023-08-22) AND ([date_ymd_hmss]=! 2023-08-23 11:48:01) +#Manual User can see all variables with dates shifted ([date_ymd]=! 2023-08-22) AND ([date_ymd_hmss]=! 2023-08-23 11:48:01) Then I should have a "csv" file And I verify that the timestamp in the column labeled "data_types_timestamp" for record 5 has shifted And I verify that the date in the column labeled "date_ymd" for record 5 has shifted And I verify that the datetime in the column labeled "date_ymd_hmss" for record 5 has shifted -#M: Close the report & refresh page +#Manual: Close the report & refresh page And I click on the button labeled "Close" in the dialog box And I logout diff --git a/Feature Tests/B/Export data/B.5.21.200 - Export format.feature b/Feature Tests/B/Export Data/B.5.21.200 - Export Data to External Format.feature similarity index 87% rename from Feature Tests/B/Export data/B.5.21.200 - Export format.feature rename to Feature Tests/B/Export Data/B.5.21.200 - Export Data to External Format.feature index b73fd70e..fd60db18 100644 --- a/Feature Tests/B/Export data/B.5.21.200 - Export format.feature +++ b/Feature Tests/B/Export Data/B.5.21.200 - Export Data to External Format.feature @@ -7,7 +7,7 @@ Scenario: B.5.21.200.100 Export data format #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.5.21.200.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 +And I create a new project named "B.5.21.200.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 #FUNCTIONAL_REQUIREMENT ##ACTION: export CSV raw @@ -16,7 +16,7 @@ Then I should see a table row containing the following values in the reports tab | A | All data (all records and fields) | Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -29,7 +29,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export CSV (labels) Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (labels)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (labels)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -42,7 +42,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export SPSS Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "SPSS Statistical Software" in the dialog box +And I click on the radio labeled "SPSS Statistical Software" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -55,7 +55,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export SAS Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "SAS Statistical Software" in the dialog box +And I click on the radio labeled "SAS Statistical Software" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -68,7 +68,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export R Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "R Statistical Software" in the dialog box +And I click on the radio labeled "R Statistical Software" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -81,7 +81,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export STATA Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "Stata Statistical Software" in the dialog box +And I click on the radio labeled "Stata Statistical Software" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -94,7 +94,7 @@ And I click on the button labeled "Close" in the dialog box #FUNCTIONAL_REQUIREMENT ##ACTION: export XML Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CDISC ODM (XML)" in the dialog box +And I click on the radio labeled "CDISC ODM (XML)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" diff --git a/Feature Tests/B/Export data/B.5.21.300 - Export fields.feature b/Feature Tests/B/Export Data/B.5.21.300 - Export All Fields.feature similarity index 88% rename from Feature Tests/B/Export data/B.5.21.300 - Export fields.feature rename to Feature Tests/B/Export Data/B.5.21.300 - Export All Fields.feature index 7281f93b..d66b43df 100644 --- a/Feature Tests/B/Export data/B.5.21.300 - Export fields.feature +++ b/Feature Tests/B/Export Data/B.5.21.300 - Export All Fields.feature @@ -6,7 +6,7 @@ I want to see that export data is functioning as expected Scenario: B.5.21.300.100 Export all fields #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.5.21.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml" and clicking the "Create Project" button +And I create a new project named "B.5.21.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml", and clicking the "Create Project" button #FUNCTIONAL_REQUIREMENT ##ACTION: export CSV and confirm column @@ -15,7 +15,7 @@ Then I should see a table row containing the following values in the reports tab | A | All data (all records and fields) | Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" diff --git a/Feature Tests/B/Export data/B.5.21.400 - Export select forms.feature b/Feature Tests/B/Export Data/B.5.21.400 - Export Specific Forms.feature similarity index 89% rename from Feature Tests/B/Export data/B.5.21.400 - Export select forms.feature rename to Feature Tests/B/Export Data/B.5.21.400 - Export Specific Forms.feature index 0a323292..c9717289 100644 --- a/Feature Tests/B/Export data/B.5.21.400 - Export select forms.feature +++ b/Feature Tests/B/Export Data/B.5.21.400 - Export Specific Forms.feature @@ -7,7 +7,7 @@ Scenario: B.5.21.400.100 Export select forms #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.5.21.400.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 +And I create a new project named "B.5.21.400.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 #FUNCTIONAL_REQUIREMENT ##ACTION: export CSV and confirm column @@ -19,7 +19,7 @@ Given I click on the "Make custom selections" button for "Selected instruments a When I select the dropdown option labeled "Text Validation" from the dropdown labeled "Instruments" And I select the dropdown option labeled "Event (Arm 1: Arm 1)" from the dropdown labeled "Events" And I click on the button labeled "Export Data" -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" diff --git a/Feature Tests/B/Export data/B.5.21.500 - Export.feature b/Feature Tests/B/Export Data/B.5.21.500 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Export data/B.5.21.500 - Export.feature rename to Feature Tests/B/Export Data/B.5.21.500 - REDUNDANT.feature diff --git a/Feature Tests/B/Export data/B.5.21.600 - Export access.feature b/Feature Tests/B/Export Data/B.5.21.600 - User Access Restrictions.feature similarity index 92% rename from Feature Tests/B/Export data/B.5.21.600 - Export access.feature rename to Feature Tests/B/Export Data/B.5.21.600 - User Access Restrictions.feature index d01bdde9..480b484d 100644 --- a/Feature Tests/B/Export data/B.5.21.600 - Export access.feature +++ b/Feature Tests/B/Export Data/B.5.21.600 - User Access Restrictions.feature @@ -7,7 +7,7 @@ Scenario: B.5.21.600.100 Restrict users from exporting data #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.5.21.600.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml" and clicking the "Create Project" button +And I create a new project named "B.5.21.600.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_5.21.xml", and clicking the "Create Project" button #FUNCTIONAL_REQUIREMENT ##ACTION: export CSV and confirm can export @@ -17,7 +17,7 @@ Then I should see a table row containing the following values in the reports tab #VERIFY: can export Given I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" diff --git a/Feature Tests/B/Field validation/B.4.8.200 - Text validation.feature b/Feature Tests/B/Field Validation/B.4.8.200 - Text Validation.feature similarity index 100% rename from Feature Tests/B/Field validation/B.4.8.200 - Text validation.feature rename to Feature Tests/B/Field Validation/B.4.8.200 - Text Validation.feature diff --git a/Feature Tests/B/Field validation/B.4.8.300 - Field Ranges.features b/Feature Tests/B/Field Validation/B.4.8.300 - Field Ranges.feature similarity index 99% rename from Feature Tests/B/Field validation/B.4.8.300 - Field Ranges.features rename to Feature Tests/B/Field Validation/B.4.8.300 - Field Ranges.feature index f4109c69..9b898e74 100644 --- a/Feature Tests/B/Field validation/B.4.8.300 - Field Ranges.features +++ b/Feature Tests/B/Field Validation/B.4.8.300 - Field Ranges.feature @@ -8,12 +8,12 @@ Scenario: B.4.8.300.100 Field range validation #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.4.8.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_4.8.xml" and clicking the "Create Project" button +And I create a new project named "B.4.8.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_4.8.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/B/Logging Module/B.2.23.100 - Logging - Record Changes.feature b/Feature Tests/B/Logging Module/B.2.23.100 - Record Changes.feature similarity index 85% rename from Feature Tests/B/Logging Module/B.2.23.100 - Logging - Record Changes.feature rename to Feature Tests/B/Logging Module/B.2.23.100 - Record Changes.feature index d0fda40c..608dc923 100644 --- a/Feature Tests/B/Logging Module/B.2.23.100 - Logging - Record Changes.feature +++ b/Feature Tests/B/Logging Module/B.2.23.100 - Record Changes.feature @@ -6,12 +6,12 @@ I want to see that Logging Module is functioning as expected Scenario: B.2.23.100.100 Logging module records changes #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.23.100.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 +And I create a new project named "B.2.23.100.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Logging Module/B.2.23.200 - Logging - Export Audit Trail.feature b/Feature Tests/B/Logging Module/B.2.23.200 - Export Audit Trail.feature similarity index 85% rename from Feature Tests/B/Logging Module/B.2.23.200 - Logging - Export Audit Trail.feature rename to Feature Tests/B/Logging Module/B.2.23.200 - Export Audit Trail.feature index 94cf2f0f..3e04ea61 100644 --- a/Feature Tests/B/Logging Module/B.2.23.200 - Logging - Export Audit Trail.feature +++ b/Feature Tests/B/Logging Module/B.2.23.200 - Export Audit Trail.feature @@ -6,14 +6,14 @@ I want to see that Logging Module is functioning as expected Scenario: B.2.23.200.100 Logging module export #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.23.200.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 +And I create a new project named "B.2.23.200.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 "B.2.23.200.100" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Logging Module/B.2.23.300 - Logging - Filtering Ability.feature b/Feature Tests/B/Logging Module/B.2.23.300 - Filtering Ability.feature similarity index 86% rename from Feature Tests/B/Logging Module/B.2.23.300 - Logging - Filtering Ability.feature rename to Feature Tests/B/Logging Module/B.2.23.300 - Filtering Ability.feature index d35827ae..648002c9 100644 --- a/Feature Tests/B/Logging Module/B.2.23.300 - Logging - Filtering Ability.feature +++ b/Feature Tests/B/Logging Module/B.2.23.300 - Filtering Ability.feature @@ -6,14 +6,14 @@ I want to see that Logging Module is functioning as expected Scenario: B.2.23.300.100 Logging module filter function #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.23.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 +And I create a new project named "B.2.23.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 "B.2.23.300.100" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Logging Module/B.2.23.400 - Logging - Module Security.feature b/Feature Tests/B/Logging Module/B.2.23.400 - Module Security.feature similarity index 89% rename from Feature Tests/B/Logging Module/B.2.23.400 - Logging - Module Security.feature rename to Feature Tests/B/Logging Module/B.2.23.400 - Module Security.feature index 647d4199..db5cc20e 100644 --- a/Feature Tests/B/Logging Module/B.2.23.400 - Logging - Module Security.feature +++ b/Feature Tests/B/Logging Module/B.2.23.400 - Module Security.feature @@ -6,14 +6,14 @@ I want to see that Logging Module is functioning as expected Scenario: B.2.23.400.100 Logging module security #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.2.23.400.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 +And I create a new project named "B.2.23.400.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 "B.2.23.400.100" #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see "Project status: Production" diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.100 - Longitudinal.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.100 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Longitudinal Project Setup/B.4.27.100 - Longitudinal.feature rename to Feature Tests/B/Longitudinal Project Setup/B.4.27.100 - REDUNDANT.feature diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.200 - Longitudinal.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.200 - REDUNDANT.feature similarity index 100% rename from Feature Tests/B/Longitudinal Project Setup/B.4.27.200 - Longitudinal.feature rename to Feature Tests/B/Longitudinal Project Setup/B.4.27.200 - REDUNDANT.feature diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Longitudinal.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Enable & Disable Longitudinal Data Collection.feature similarity index 95% rename from Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Longitudinal.feature rename to Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Enable & Disable Longitudinal Data Collection.feature index 90962c64..bf1d2943 100644 --- a/Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Longitudinal.feature +++ b/Feature Tests/B/Longitudinal Project Setup/B.4.27.300 - Enable & Disable Longitudinal Data Collection.feature @@ -6,7 +6,7 @@ I want to see that Project Setup is functioning as expected Scenario: B.4.27.300.100 Change project longitudinal status ##SETUP_DEV Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.4.27.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 +And I create a new project named "B.4.27.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 ##ACTION Verify event exist ##VERIFY_RSD When I click on the link labeled "Record Status Dashboard" @@ -51,7 +51,7 @@ Then I should see a table header and rows including the following values in the ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Longitudinal Events.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Event Designation.feature similarity index 94% rename from Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Longitudinal Events.feature rename to Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Event Designation.feature index f950353e..2811e641 100644 --- a/Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Longitudinal Events.feature +++ b/Feature Tests/B/Longitudinal Project Setup/B.4.27.400 - Event Designation.feature @@ -6,12 +6,12 @@ I want to see that Project Setup is functioning as expected Scenario: B.4.27.400.100 Ability to designate data collection instruments for defined events in each arm ##SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.4.27.400.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 +And I create a new project named "B.4.27.400.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 ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - Longitudinal Arms.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - Longitudinal Arms.feature deleted file mode 100644 index 1ff08706..00000000 --- a/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - Longitudinal Arms.feature +++ /dev/null @@ -1,79 +0,0 @@ -Feature: User Interface: Longitudinal Project Settings: The system shall support multiple study arms and the ability to define unique event schedules for each arm. - -As a REDCap end user -I want to see that Project Setup is functioning as expected - -Scenario: B.4.27.500.100 Create unique event schedules for multiple arms -#A.6.4.600 -##SETUP_DEV -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.4.27.500.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 "Project Setup" -And I click on the button labeled "Define My Events" -Then I should see a link labeled "Add New Arm" - -#FUNCTIONAL_REQUIREMENT -##ACTION ADDING NEW ARM -When I click on the link labeled "Add New Arm" -And I enter "Arm 3" in the field labeled "Arm name: " -And I click on the button labeled "Save" -#VERIFY -Then I should see "Arm 3: Arm 3" - -##ACTION ADD NEW EVENT TO NEW ARM -When I enter "Event 1" into the input field labeled "Event Label" -And I enter "1" in the input field labeled "Days Offset" -And I click on the button labeled "Add new event" -Then I should see "Event 1" - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/Design | Create event| -| test_admin| Manage/Design | Create arm | - -#FUNCTIONAL_REQUIREMENT -##ACTION ADD NEW EVENT TO EXISTING ARM -Given I click on the link labeled "Project Setup" -And I click on the button labeled "Define My Events" -And I click on the link labeled "Arm 1" -Then I should see the button labeled "Add new event" - -When I enter "Event 4" into the input field labeled "Event Label" -And I enter "4" in the input field labeled "Days Offset" -And I click on the button labeled "Add new event" -##VERIFY Then I should see "Event 4" - -##VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/Design | Create event| - -#FUNCTIONAL_REQUIREMENT -##ACTION DESIGNATE INSTRUMENTS - #REDUNDANT #A.6.4.600 -Given I click on the link labeled "Project Setup" -When I click on the button labeled "Designate Instruments for My Events" -And I click on the link labeled "Arm 1" -#VERIFY -Then I should see the Data Collection Instrument named "Data Types" enabled for the Event named "Event 1" -And I should see the Data Collection Instrument named "Data Types" enabled for the Event named "Event 2" -And I should NOT see the Data Collection Instrument named "Data Types" enabled for the Event named "Event Three" - -##ACTION: DESIGNATE INSTRUMENTS different arm- #REDUNDANT #A.6.4.600 -When I click on the link labeled "Arm 2" -##VERIFY -Then I should see the Data Collection Instrument named "Data Types" enabled for the Event named "Event 1" - -##VERIFY_RSD -When I click on the link labeled "Record Status Dashboard" -And I click on the link labeled "Arm 1" -Then I should see Data Collection Instrument named "Data Types" for the Event named "Event 1" -And I should see Data Collection Instrument named "Data Types" for the Event named "Event 2" -And I should NOT see Data Collection Instrument named "Data Types" for the Event named "Event Three" - -When I click on the link labeled "Arm 2" -Then I should see Data Collection Instrument named "Data Types" for the Event named "Event 1" - diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - REDUNDANT.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - REDUNDANT.feature new file mode 100644 index 00000000..54cbbb37 --- /dev/null +++ b/Feature Tests/B/Longitudinal Project Setup/B.4.27.500 - REDUNDANT.feature @@ -0,0 +1,5 @@ +Feature: User Interface: Longitudinal Project Settings: The system shall support multiple study arms and the ability to define unique event schedules for each arm. +Scenario: B.4.27.500.100 Create unique event schedules for multiple arms +#REDUNDANT +#A.6.4.600 +This feature test is REDUNDANT and can be viewed in A.6.4.600 diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - Longitudinal repeat.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - Longitudinal repeat.feature deleted file mode 100644 index 23ac939f..00000000 --- a/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - Longitudinal repeat.feature +++ /dev/null @@ -1,171 +0,0 @@ -Feature: User Interface: Longitudinal Project Settings: The system shall support the ability to create repeating events and instruments within events. - -As a REDCap end user -I want to see that Manage project user access is functioning as expected - -Scenario: B.4.27.600.100 Repeat instrument and event -#A.6.4.500.100 -##SETUP_DEV -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.4.27.600.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 "Project Setup" -Then I should see "Repeating instruments and events" - -#FUNCTIONAL_REQUIREMENT -##ACTION Repeat Instruments -When I click on the button labeled "Modify" for the field labeled "Repeatable Instruments and events" -And I select "not repeating" on the dropdown field labeled "Event 1 (Arm 1: Arm 1)" in the dialog box -And I select "Repeat Instruments (repeat independently of each other)" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" in the dialog box -And I check the checkbox labeled "Survey" for the event labeled "Event Three (Arm 1: Arm 1)" in the dialog box -And I click on the button labeled "Save" in the dialog box -#VERIFY -Then I should see "Successfully saved" -And I click on the button labeled "Close" in the dialog box - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin | Manage/Design | Set up repeating instruments/events | - -##ACTION Verify repeat instrument function in record -Given I click on the link labeled "Add/Edit Records" -And I select "1" on the dropdown field labeled "Choose an existing Record ID" -And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" -And I enter "MyName" in the field labeled "Name" -And I click the button labeled "Save & Add New Instance" -And I enter "MyOtherName" in the field labeled "Name" -And I click the button labeled "Save & Exit Record" -Then I should see "Record ID 1 successfully edited" - -When I click on the link labeled "Record Status Dashboard" -And I click the bubble for the "Survey" longitudinal instrument on event "Event Three" for record "1" -And I click the bubble for instance "1" -#VERIFY -Then I should see "Current instance: " - -When I click on the link labeled "Record Status Dashboard" -And I click the bubble for the "Data Types" longitudinal instrument on event "Event 1" for record "1" -Then I should NOT see "Current instance:" - -##VERIFY_DE -When I click on the link labeled "Data Export, Reports, and Stats" -Then I should see "A All data (records and fields)" -And I click the button labeled "View Report" -Then I should NOT see repeat instrument "Data Types" for "Event 1 (Arm 1: Arm 1)" -And I should see repeat instrument "Survey" for "Event Three (Arm 1: Arm 1)" -And I should see "MyOtherName" - -#FUNCTIONAL_REQUIREMENT -##ACTION Not repeating instrument -When 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 select "Repeat Instruments (repeat independently of each other)" on the dropdown field labeled "Event 1 (Arm 1: Arm 1)" -And I check the checkbox labeled "Data Types" -And I select "not repeating" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" -And I click on the button labeled "Save" -#VERIFY -Then I see "Successfully saved!" -And I click on the button labeled "Close" in the dialog box - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/Design | Set up repeating instruments/events | - -##ACTION Verify no repeat instance in record -Given I click on the link labeled "Add/Edit Records" -And I select "1" on the dropdown field labeled "Choose an existing Record ID" -And I click the bubble to select a record for the "Survey" longitudinal instrument on event "Event Three" -Then I should NOT see "Current instance:" -#VERIFY -When I click the button labeled "Cancel" -Then I should see "data entry cancelled - not saved" - -When I click the bubble for the "Data Types" longitudinal instrument on event "Event 1" -Then I should see "Current instance:" - -##VERIFY_DE -When I click on the link labeled "Data Export, Reports, and Stats" -Then I should see "A All data (records and fields)" - -When I click the button labeled "View Report" -Then I should see repeat instrument instance for instrument "Data Types" for "Event 1 (Arm 1: Arm 1)" -And I should NOT see repeat instrument instance for instrument "Survey" for "Event Three (Arm 1: Arm 1)" -And I should NOT see "MyOtherName" -And I should see repeat event instance for event "Event 2 (Arm 1: Arm 1)" -And I should NOT see repeat event instance for event "Event Three (Arm 1: Arm 1)" - -#FUNCTIONAL_REQUIREMENT -##ACTION Repeat event -When I click on the link labeled "Project Setup" -And I open the dialog box for the Repeatable Instruments and Events module -And I select "Not repeating" on the dropdown field labeled "Event 2 (Arm 1: Arm 1)" -And I select "Repeat Entire Event" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" -And I click on the button labeled "Save" -#VERIFY -Then I see "Successfully saved!" -And I click on the button labeled "Close" in the dialog box - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/Design | Set up repeating instruments/events | - -##ACTION Verify repeat event function in record -Given I click on the link labeled "Add/Edit Records" -And I select "1" on the dropdown field labeled "Choose an existing Record ID" -Then I should see "(#2)" - -When I click on "Add new" -And I click the bubble for the "Survey" longitudinal instrument on event "Event Three" instance "2" -And I enter "My repeat event name" in the field labeled "Name" -And I click the button "Save & Exit Form" -Then I should see "(#2)" - -##VERIFY_DE -And I click on the link labeled "Data Export, Reports, and Stats" -Then I should see "A All data (records and fields)" -And I click the button labeled "View Report" -Then I should NOT see repeat event instance for event "Event 2 (Arm 1: Arm 1)" -And I should see repeat event instance for event "Event Three (Arm 1: Arm 1)" -And I should see "My repeat event name" - -#FUNCTIONAL_REQUIREMENT -##ACTION No Repeat event -When I click on the link labeled "Project Setup" -And I open the dialog box for the Repeatable Instruments and Events module -And I select "Repeat Entire Event" on the dropdown field labeled "Event 2 (Arm 1: Arm 1)" -And I select "Not repeating" on the dropdown field labeled "Event Three (Arm 1: Arm 1)" -And I click on the button labeled "Save" -##VERIFY -Then I should see "Successfully saved" - -##VERIFY_DE -When I click on the link labeled "Data Export, Reports, and Stats" -Then I should see "A All data (records and fields) -And I click the button labeled "View Report" -Then I should see repeat event instance for event "Event 2 (Arm 1: Arm 1)" -And I should see repeat event instance for event "Event Three (Arm 1: Arm 1)" -And I should NOT see "My repeat event name" - -#FUNCTIONAL_REQUIREMENT -##ACTION Delete repeat event -Given I click on the link labeled "Add/Edit Records" -And I select "1" on the dropdown field labeled "Choose an existing Record ID" -And I click the X to delete all data related to the event named "Event 2 (Arm 1: Arm 1)" instance "2" -And I click on the button labeled "Delete this instance of this event" in the dialog box -##VERIFY -Then I should NOT see "(#2)" - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | -| test_admin| Update record 1 (Event 2 (Arm 1: Arm 1)) | - diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - REDUNDANT.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - REDUNDANT.feature new file mode 100644 index 00000000..2be3be32 --- /dev/null +++ b/Feature Tests/B/Longitudinal Project Setup/B.4.27.600 - REDUNDANT.feature @@ -0,0 +1,4 @@ +Feature: User Interface: Longitudinal Project Settings: The system shall support the ability to create repeating events and instruments within events. +Scenario: B.4.27.600.100 Repeat instrument and event +#A.6.4.500.100 +This feature test is REDUNDANT and can be viewed in A.6.4.500.100 diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - Longitudinal Admin Required.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - Longitudinal Admin Required.feature deleted file mode 100644 index 67478364..00000000 --- a/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - Longitudinal Admin Required.feature +++ /dev/null @@ -1,57 +0,0 @@ -Feature: User Interface: Longitudinal Project Settings: The system shall require administrators to delete events for longitudinal projects while in production - -As a REDCap end user -I want to see that Manage project user access is functioning as expected - -Scenario: B.4.27.700.100 Admin delete events and arm in Define My Events -#SETUP -Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.4.27.700.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 - -#SETUP_PRODUCTION -When I click on the button labeled "Move project to production" -And I click on the radio button 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 -Then I see "Project status: Production" - -#FUNCTIONALREQUIREMENT -##ACTION User unable to delete event -When I click on the link labeled "Project Setup" -And I click on the button labeled "Define My Events" -##VERIFY -Then I should see "Events cannot be modified in production" -And I should NOT see the delete icon for the event labeled "1" -And I logout - -#SETUP -Given I login to REDCap with the user "Test_Admin" -When I click on the link labeled "Project Setup" -And I click on the button labeled "Define My Events" -Then I should see the delete icon for the event labeled "Event 2" for arm "Arm 1: Arm 1" with a unique event ID - -#FUNCTIONALREQUIREMENT -##ACTION Admin deletes event -When I click on the delete icon for the event labeled "Event 1" for arm "Arm 1: Arm 1" -And I click on the button labeled "OK" in the pop-up box -And I click on the button labeled "OK" in the pop-up box -Then I should NOT see the event labeled "Event 1" for arm "Arm 1: Arm 1" - -#VERIFY_LOG -When I click on the button labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/design | Delete event (Event: Event 1, Arm: Arm 1) | - -##ACTION Delete Arm -Given I click on the link labeled "Project Setup" -And I click on the button labeled "Define My Events" -And I click on the link labeled "Delete Arm 1" -And I click on the button labeled "OK" in the pop-up box -#VERIFY -Then I should NOT see "Arm 1" - -#VERIFY_LOG -When I click on the button labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/design | Delete arm (Arm 1: Arm 1) diff --git a/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - REDUNDANT.feature b/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - REDUNDANT.feature new file mode 100644 index 00000000..a2fc868f --- /dev/null +++ b/Feature Tests/B/Longitudinal Project Setup/B.4.27.700 - REDUNDANT.feature @@ -0,0 +1,3 @@ +Feature: User Interface: Longitudinal Project Settings: The system shall require administrators to delete events for longitudinal projects while in production +Scenario: B.4.27.700.100 Admin delete events and arm in Define My Events +This feature test is REDUNDANT and can be viewed in A.6.4.500 diff --git a/Feature Tests/B/My Projects/B.6.13.100 - My project dashboard.feature b/Feature Tests/B/My Projects/B.6.13.100 - My Projects Dashboard.feature similarity index 100% rename from Feature Tests/B/My Projects/B.6.13.100 - My project dashboard.feature rename to Feature Tests/B/My Projects/B.6.13.100 - My Projects Dashboard.feature diff --git a/Feature Tests/B/My Projects/B.6.13.200 - My project dashboard archive hide.feature b/Feature Tests/B/My Projects/B.6.13.200 - Archived Projects.feature similarity index 91% rename from Feature Tests/B/My Projects/B.6.13.200 - My project dashboard archive hide.feature rename to Feature Tests/B/My Projects/B.6.13.200 - Archived Projects.feature index 8ae4bad8..867e73f5 100644 --- a/Feature Tests/B/My Projects/B.6.13.200 - My project dashboard archive hide.feature +++ b/Feature Tests/B/My Projects/B.6.13.200 - Archived Projects.feature @@ -5,7 +5,7 @@ I want to see that My Project is functioning as expected Scenario: B.6.13.200.100 Hide archived projects Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.13.200.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 +And I create a new project named "B.6.13.200.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 "Other Functionality" And I click on the button "Mark project as Completed" And I click on the button "Mark project as Completed" in the dialog box diff --git a/Feature Tests/B/Online Designer/B.6.7.100 - Forms - Data Dictionary and Online Designer.feature b/Feature Tests/B/Online Designer/B.6.7.100 - New Instruments via Data Dictionary.feature similarity index 100% rename from Feature Tests/B/Online Designer/B.6.7.100 - Forms - Data Dictionary and Online Designer.feature rename to Feature Tests/B/Online Designer/B.6.7.100 - New Instruments via Data Dictionary.feature diff --git a/Feature Tests/B/Online Designer/B.6.7.1000 - Field Multiple Choice.feature b/Feature Tests/B/Online Designer/B.6.7.1000 - Field Multiple Choice.feature index cce0fac1..6feca25e 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1000 - Field Multiple Choice.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1000 - Field Multiple Choice.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1000.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1100 - Field Radio.feature b/Feature Tests/B/Online Designer/B.6.7.1100 - Field Radio.feature new file mode 100644 index 00000000..7a688105 --- /dev/null +++ b/Feature Tests/B/Online Designer/B.6.7.1100 - Field Radio.feature @@ -0,0 +1,77 @@ +Feature: Field Creation: The system shall support the creation and manual coding for multiple choice radio buttons (single answer). + +As a REDCap end user +I want to see that Project Designer is functioning as expected + +Scenario: B.6.7.1100.100 Creation of multiple choice radio buttons (single answer) through the Online Designer + +#SETUP +Given I login to REDCap with the user "Test_Admin" +And I create a new project named "B.6.7.1100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button + +##SETUP_PRODUCTION +When I click on the link labeled "My Projects" +And I click on the link labeled "B.6.7.1100.100" +When I click on the button labeled "Project Setup" +And I click on the button labeled "Move project to production" +And I click on the radio button 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 +Then I should see "Project Status: Production" + +When I click on the link labeled "Designer" +And I click on the button labeled "Enter Draft Mode" +Then I should see "The project is now in Draft Mode" + +#FUNCTIONAL_REQUIREMENT +##ACTION: Radio field creation +Given When I click on the instrument labeled "Form 1" +And I click on the button labeled "Add Field" at the bottom of the instrument +And I click on the dropdown field labeled "Select a Type of Field" +And I add a new Multiple Choice - Radio Buttons (Single Answer) field labeled "Radio Button Manual" with the variable name "radio_button_manual" +And I enter "9..9, Choice99" on the first row of the input field labeled "Choices (one choice per line)" +And I enter "100, Choice100" on the second row of the input field labeled "Choices (one choice per line)" +And I enter "101, Choice101" on the third row of the input field labeled "Choices (one choice per line)" +And I enter "Abc123, Choice Abc123" on the fourth row of the input field labeled "Choices (one choice per line)" +And I click on the button labeled "Save" +Then I should see the field labeled "Radio Button Manual" +And I should see the radio button options "Choice99","Choice100", "Choice101, Choice ABc123" + +##SETUP_PRODUCTION +When I click on the button labeled "Submit Changes for Review" +And I click on the button labeled "Submit" in the dialog box +Then I should see "Changes Were Made Automatically" +When I click on the button labeled "Close" in the dialog box + +##VERIFY_CODEBOOK +When I click on the link labeled "Codebook" +Then I should see a table row containing the following values in the codebook table: +| [radio_button_manual] | Radio Button Manual | radio | + +##VERIFY_LOG +When I click on the link labeled "Logging" +Then I should see a table header and rows including the following values in the logging table: +| Username | Action | List of Data Changes OR Fields Exported | +| test_admin | Manage/Design | Create project field | + +Scenario: B.6.7.1100.200 Creation of multiple choice radio buttons (single answer) through Data Dictionary upload (#CROSSFUNCTIONAL - B.6.7.100.100) + +#SETUP +Given I login to REDCap with the user "Test_Admin" +And I create a new project named "B.6.7.1100.200" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button + +#FUNCTIONAL_REQUIREMENT +##ACTION: Upload data dictionary +When I click on the link labeled "Dictionary" +And I click on the button labeled "Choose File" +And I select the file labeled "Project1xml_DataDictionary.csv" +And I click on the button labeled "Upload File" +Then I should see "Your document was uploaded successfully and awaits your confirmation below." + +When I click on the button labeled "Commit Changes" +Then I should see "Changes Made Successfully!" + +##VERIFY_CODEBOOK +When I click on the link labeled "Codebook" +Then I should see a table row containing the following values in the codebook table: +| [radio_button_manual] | Radio Button Manual | radio | + diff --git a/Feature Tests/B/Online Designer/B.6.7.1200 - Field checkbox.feature b/Feature Tests/B/Online Designer/B.6.7.1200 - Field Checkbox.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.1200 - Field checkbox.feature rename to Feature Tests/B/Online Designer/B.6.7.1200 - Field Checkbox.feature index 3dc0fc74..7ee69e15 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1200 - Field checkbox.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1200 - Field Checkbox.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1200.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1300 - Field signature.feature b/Feature Tests/B/Online Designer/B.6.7.1300 - Field Signature.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.1300 - Field signature.feature rename to Feature Tests/B/Online Designer/B.6.7.1300 - Field Signature.feature index 8e8f80ae..54692016 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1300 - Field signature.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1300 - Field Signature.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1300.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1400 - Field file upload.feature b/Feature Tests/B/Online Designer/B.6.7.1400 - Field File Upload.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.1400 - Field file upload.feature rename to Feature Tests/B/Online Designer/B.6.7.1400 - Field File Upload.feature index 06b83370..7994c2ff 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1400 - Field file upload.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1400 - Field File Upload.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1400.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1500 - Field descriptive.feature b/Feature Tests/B/Online Designer/B.6.7.1500 - Field Descriptive Text.feature similarity index 96% rename from Feature Tests/B/Online Designer/B.6.7.1500 - Field descriptive.feature rename to Feature Tests/B/Online Designer/B.6.7.1500 - Field Descriptive Text.feature index f4a46363..54875693 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1500 - Field descriptive.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1500 - Field Descriptive Text.feature @@ -15,7 +15,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1500.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -25,7 +25,7 @@ Then I should see "The project is now in Draft Mode" #FUNCTIONAL_REQUIREMENT ##ACTION: Signature field creation -Given When I click on the instrument labeled "Form 1" +Given I click on the instrument labeled "Form 1" And I click on the button labeled "Add Field" at the bottom of the instrument When I click on the dropdown field labeled "Select a Type of Field" And I add a new Descriptive Text (with optional Image/Video/Audio/File Attachment) labeled "Descriptive Text with File" with the variable name "descriptive_text_file" diff --git a/Feature Tests/B/Online Designer/B.6.7.1600 - Field section.feature b/Feature Tests/B/Online Designer/B.6.7.1600 - Field New Section.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.1600 - Field section.feature rename to Feature Tests/B/Online Designer/B.6.7.1600 - Field New Section.feature index 6c37dfbd..5f9ea233 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1600 - Field section.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1600 - Field New Section.feature @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1600.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1700 - Field identifier.feature b/Feature Tests/B/Online Designer/B.6.7.1700 - Identifier Fields.feature similarity index 100% rename from Feature Tests/B/Online Designer/B.6.7.1700 - Field identifier.feature rename to Feature Tests/B/Online Designer/B.6.7.1700 - Identifier Fields.feature diff --git a/Feature Tests/B/Online Designer/B.6.7.1800 - Field required.feature b/Feature Tests/B/Online Designer/B.6.7.1800 - Required Fields.feature similarity index 94% rename from Feature Tests/B/Online Designer/B.6.7.1800 - Field required.feature rename to Feature Tests/B/Online Designer/B.6.7.1800 - Required Fields.feature index 2073bf09..e19a347d 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1800 - Field required.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1800 - Required Fields.feature @@ -7,14 +7,14 @@ Scenario: B.6.7.1800.100 Designating field as required through the Online Design #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.7.1800.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 +And I create a new project named "B.6.7.1800.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 ##SETUP_PRODUCTION When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.1800.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.1900 - Field management.feature b/Feature Tests/B/Online Designer/B.6.7.1900 - Field Management.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.1900 - Field management.feature rename to Feature Tests/B/Online Designer/B.6.7.1900 - Field Management.feature index 22f97a91..31c47b87 100644 --- a/Feature Tests/B/Online Designer/B.6.7.1900 - Field management.feature +++ b/Feature Tests/B/Online Designer/B.6.7.1900 - Field Management.feature @@ -20,7 +20,7 @@ Then I should see "Test User1" within the "1_FullRights" row of the column label ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" And I logout @@ -133,7 +133,7 @@ Then I should see "Project Changes Committed/User Notified" ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" -Then I should see a table row containing the following values in the codebook table: +Then I should see a table row including the following values in the codebook table: | Variable / Field Name |Field Label |Field Attributes (Field Type, Validation, Choices, Calculations, etc.) | | [add] | Add Field | text | | [radio_button_manual]| Radio Button Manual| Choice Abc123| diff --git a/Feature Tests/B/Online Designer/B.6.7.200 - Forms - Create Instrument.feature b/Feature Tests/B/Online Designer/B.6.7.200 - Create Instrument.feature similarity index 100% rename from Feature Tests/B/Online Designer/B.6.7.200 - Forms - Create Instrument.feature rename to Feature Tests/B/Online Designer/B.6.7.200 - Create Instrument.feature diff --git a/Feature Tests/B/Online Designer/B.6.7.300 - Forms - Rename Instruments.feature b/Feature Tests/B/Online Designer/B.6.7.300 - Rename Instrument.feature similarity index 97% rename from Feature Tests/B/Online Designer/B.6.7.300 - Forms - Rename Instruments.feature rename to Feature Tests/B/Online Designer/B.6.7.300 - Rename Instrument.feature index 4b76580a..3b060f30 100644 --- a/Feature Tests/B/Online Designer/B.6.7.300 - Forms - Rename Instruments.feature +++ b/Feature Tests/B/Online Designer/B.6.7.300 - Rename Instrument.feature @@ -38,7 +38,7 @@ Then I should see a table header and rows including the following values in the ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.400 - Forms - Copy Instruments.feature b/Feature Tests/B/Online Designer/B.6.7.400 - Copy Instrument.feature similarity index 92% rename from Feature Tests/B/Online Designer/B.6.7.400 - Forms - Copy Instruments.feature rename to Feature Tests/B/Online Designer/B.6.7.400 - Copy Instrument.feature index 93e0cf67..481a888c 100644 --- a/Feature Tests/B/Online Designer/B.6.7.400 - Forms - Copy Instruments.feature +++ b/Feature Tests/B/Online Designer/B.6.7.400 - Copy Instrument.feature @@ -7,12 +7,12 @@ Scenario: B.6.7.400.100 Copy instrument ##SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.7.400.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 +And I create a new project named "B.6.7.400.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 ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.500 - Forms - Delete instruments.feature b/Feature Tests/B/Online Designer/B.6.7.500 - Delete Instrument.feature similarity index 50% rename from Feature Tests/B/Online Designer/B.6.7.500 - Forms - Delete instruments.feature rename to Feature Tests/B/Online Designer/B.6.7.500 - Delete Instrument.feature index d85949ea..fb7827b1 100644 --- a/Feature Tests/B/Online Designer/B.6.7.500 - Forms - Delete instruments.feature +++ b/Feature Tests/B/Online Designer/B.6.7.500 - Delete Instrument.feature @@ -12,7 +12,7 @@ And I create a new project named "B.6.7.500.100" by clicking on "New Project" in ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -45,47 +45,4 @@ Then I should see a table header and rows including the following values in the Scenario: B.6.7.500.200 Delete instrument from Data Dictionary #REDUNDANT #B.6.7.100.100 -B.6.7.600 -Design forms Using Data Dictionary and Online Designer -Form Creation: The system shall support the ability to re-order data collection instruments. -As a REDCap end user -I want to see that Project Designer is functioning as expected - -Scenario: B.6.7.600.100 Reorder instrument from online designer - -#SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.7.600.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 "B.6.7.600.100" - -##SETUP_PRODUCTION -When I click on the button labeled "Project Setup" -And I click on the button labeled "Move project to production" -And I click on the radio button 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 -Then I should see "Project Status: Production" - -When I click on the link labeled "Designer" -And I click on the button labeled "Enter Draft Mode" -Then I should see "The project is now in Draft Mode" - -#FUNCTIONAL_REQUIREMENT -##ACTION -When I drag on the instrument labeled "Data Types" to position 0 -#The item below always passes when Saved! is hidden -Then I should see "Saved!" -And I should see the instrument labeled "Data Types" in position 0 - -When I click on the button labeled "Submit Changes for Review" -And I click on the button labeled "Submit" in the dialog box -Then I should see "Changes Were Made Automatically" -And I click on the button labeled "Close" in the dialog box - -#VERIFY_LOG -When I click on the link labeled "Logging" -Then I should see a table header and rows including the following values in the logging table: -| Username | Action | List of Data Changes OR Fields Exported | -| test_admin| Manage/Design | Reorder data collection instruments | diff --git a/Feature Tests/B/Online Designer/B.6.7.600 - Forms - Reorder Instruments.feature b/Feature Tests/B/Online Designer/B.6.7.600 - Reorder Instrument.feature similarity index 95% rename from Feature Tests/B/Online Designer/B.6.7.600 - Forms - Reorder Instruments.feature rename to Feature Tests/B/Online Designer/B.6.7.600 - Reorder Instrument.feature index 1b7c4917..464b3e56 100644 --- a/Feature Tests/B/Online Designer/B.6.7.600 - Forms - Reorder Instruments.feature +++ b/Feature Tests/B/Online Designer/B.6.7.600 - Reorder Instrument.feature @@ -15,7 +15,7 @@ And I click on the link labeled "B.6.7.600.100" ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Online Designer/B.6.7.800 - Field Notes.feature b/Feature Tests/B/Online Designer/B.6.7.800 - Field Notes.feature index 43426a00..9b423b2d 100644 --- a/Feature Tests/B/Online Designer/B.6.7.800 - Field Notes.feature +++ b/Feature Tests/B/Online Designer/B.6.7.800 - Field Notes.feature @@ -7,14 +7,14 @@ Scenario: B.6.7.800.100 Note box field creation in Online Designer #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named " B.6.7.800.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button +And I create a new project named "B.6.7.800.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button ##SETUP_PRODUCTION When I click on the link labeled "My Projects" And I click on the link labeled "B.6.7.800.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -48,10 +48,10 @@ Then I should see a table header and rows including the following values in the | Username | Action | List of Data Changes OR Fields Exported | | test_admin | Manage/Design | Create project field | -Scenario: B.6.7.800.200 Note box field creation in Data Dictionary +#Scenario: B.6.7.800.200 Note box field creation in Data Dictionary #SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.7.700.200" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button +#Given I login to REDCap with the user "Test_Admin" +#And I create a new project named "B.6.7.700.200" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button #FUNCTIONAL_REQUIREMENT ##ACTION: Upload data dictionary @@ -67,4 +67,8 @@ Then I should see "Changes Made Successfully!" ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" Then I should see a table row containing the following values in the codebook table: +| Variable / Field Name | Field Label | Field Attributes (Field Type, Validation, Choices, Calculations, etc.) | +| [notesbox] | Notes box | notes | | [notesbox2] | Notes box 2 | notes | + + diff --git a/Feature Tests/B/Online Designer/B.6.7.900 - Field Calculated.feature b/Feature Tests/B/Online Designer/B.6.7.900 - Field Calculated.feature index 10eefc25..e7b50d3f 100644 --- a/Feature Tests/B/Online Designer/B.6.7.900 - Field Calculated.feature +++ b/Feature Tests/B/Online Designer/B.6.7.900 - Field Calculated.feature @@ -9,11 +9,9 @@ Given I login to REDCap with the user "Test_Admin" And I create a new project named "B.6.7.900.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button ##SETUP_PRODUCTION -When I click on the link labeled "My Projects" -And I click on the link labeled "B.6.7.900.100" When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -42,6 +40,7 @@ When I click on the button labeled "Close" in the dialog box ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" Then I should see a table row containing the following values in the codebook table: +| Variable / Field Name | Field Label | Field Attributes (Field Type, Validation, Choices, Calculations, etc.) | | [calculated_field] | Calculated Field | calc | ##VERIFY_LOG @@ -50,17 +49,17 @@ Then I should see a table header and rows including the following values in the | Username | Action | List of Data Changes OR Fields Exported | | test_user1 | Manage/Design | Create project field | -. Scenario: B.6.7.900.200 Creation of calculated field through Data Dictionary upload +#Scenario: B.6.7.900.200 Creation of calculated field through Data Dictionary upload #SETUP -Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.7.900.200" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button +#Given I login to REDCap with the user "Test_Admin" +#And I create a new project named "B.6.7.900.200" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing "Empty project", and clicking the "Create Project" button #FUNCTIONAL_REQUIREMENT ##ACTION: Upload data dictionary When I click on the link labeled "Dictionary" And I click on the button labeled "Choose File" -And I select the file labeled "Project1xml_DataDictionary.csv" +And I select the file labeled "B67900_DataDictionary.csv" And I click on the button labeled "Upload File" Then I should see "Your document was uploaded successfully and awaits your confirmation below." @@ -70,10 +69,12 @@ Then I should see "Changes Made Successfully!" ##VERIFY_CODEBOOK When I click on the link labeled "Codebook" Then I should see a table row containing the following values in the codebook table: +| Variable / Field Name | Field Label | Field Attributes (Field Type, Validation, Choices, Calculations, etc.) | | [calculated_field] | Calculated Field | calc | +| [calculated_field2]| Calculated Field 2 | calc | ##VERIFY_LOG When I click on the link labeled "Logging" Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | -| test_admin | Manage/Design | Create project field | +| test_admin | Manage/Design | Upload data dictionary | diff --git a/Feature Tests/B/Project Setup/B.6.4.1000 - Project copy.feature b/Feature Tests/B/Project Setup/B.6.4.1000 - Project Copy.feature similarity index 98% rename from Feature Tests/B/Project Setup/B.6.4.1000 - Project copy.feature rename to Feature Tests/B/Project Setup/B.6.4.1000 - Project Copy.feature index 4aa06776..172be9ac 100644 --- a/Feature Tests/B/Project Setup/B.6.4.1000 - Project copy.feature +++ b/Feature Tests/B/Project Setup/B.6.4.1000 - Project Copy.feature @@ -42,7 +42,7 @@ Given I click on the link labeled "My Projects" And I click on the link labeled "B.6.4.1000.100" And 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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in dev.feature b/Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in Development Mode.feature similarity index 88% rename from Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in dev.feature rename to Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in Development Mode.feature index 6f14c56b..de7c0796 100644 --- a/Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in dev.feature +++ b/Feature Tests/B/Project Setup/B.6.4.1100 - Erase data in Development Mode.feature @@ -6,7 +6,7 @@ I want to see that Project Setup is functioning as expected Scenario: B.6.4.1100.100 Erase all data only in development as User ##SETUP_DEV Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.4.1100.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 +And I create a new project named "B.6.4.1100.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 ##ACTION Verify record exist ##VERIFY_RSD When I click on the link labeled "Record Status Dashboard" @@ -30,7 +30,7 @@ Then I should see "No records exist yet" ##SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -44,10 +44,10 @@ And I logout Scenario: B.6.4.1100.200 Erase all data in production mode as Admin ##SETUP_PRODUCTION Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.4.1100.200.PROD" 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 +And I create a new project named "B.6.4.1100.200.PROD" 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 button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Project Setup/B.6.4.1200 - Delete project.feature b/Feature Tests/B/Project Setup/B.6.4.1200 - Delete Project.feature similarity index 91% rename from Feature Tests/B/Project Setup/B.6.4.1200 - Delete project.feature rename to Feature Tests/B/Project Setup/B.6.4.1200 - Delete Project.feature index 80d4c189..e11ebe98 100644 --- a/Feature Tests/B/Project Setup/B.6.4.1200 - Delete project.feature +++ b/Feature Tests/B/Project Setup/B.6.4.1200 - Delete Project.feature @@ -7,7 +7,7 @@ Scenario: B.6.4.1200.100 Projects in development can be deleted by user ##SETUP_DEV Given I login to REDCap with the user "Test_User1" And I create a new project named "B.6.4.1200.100.DEV" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown -And I click on the radio button labeled "Empty project (blank slate)" +And I click on the radio labeled "Empty project (blank slate)" And I click on the button labeled "Create Project" Then I should see "B.6.4.1200.100.DEV" @@ -30,7 +30,7 @@ Scenario: B.6.4.1200.200 Projects in production with no records can be deleted b ##SETUP_PRODUCTION Given I login to REDCap with the user "Test_User1" Given I create a new project named "B.6.4.1200.200.PROD" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown -And I click on the radio button labeled "Empty project (blank slate)" +And I click on the radio labeled "Empty project (blank slate)" And I click on the button labeled "Create Project" Then I should see "B.6.4.1200.200.PROD" @@ -38,7 +38,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled " B.6.4.1200.200.PROD" And I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -59,13 +59,13 @@ And I click on the button labeled "Close" in the dialog box Scenario: B.6.4.1200.300 Projects in production with records require admin ##SETUP_PRODUCTION Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.4.1200.300.PROD" 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 +And I create a new project named "B.6.4.1200.300.PROD" 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 " B.6.4.1200.300.PROD" And I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" diff --git a/Feature Tests/B/Project Setup/B.6.4.1300 - Project level survey.feature b/Feature Tests/B/Project Setup/B.6.4.1300 - Enable & Disable Survey.feature similarity index 100% rename from Feature Tests/B/Project Setup/B.6.4.1300 - Project level survey.feature rename to Feature Tests/B/Project Setup/B.6.4.1300 - Enable & Disable Survey.feature diff --git a/Feature Tests/B/Project Setup/B.6.4.1400 - Repeat survey.feature b/Feature Tests/B/Project Setup/B.6.4.1400 - Repeating Surveys.feature similarity index 95% rename from Feature Tests/B/Project Setup/B.6.4.1400 - Repeat survey.feature rename to Feature Tests/B/Project Setup/B.6.4.1400 - Repeating Surveys.feature index a60b52f5..862a5f9e 100644 --- a/Feature Tests/B/Project Setup/B.6.4.1400 - Repeat survey.feature +++ b/Feature Tests/B/Project Setup/B.6.4.1400 - Repeating Surveys.feature @@ -6,14 +6,14 @@ I want to see that Manage project user access is functioning as expected Scenario: B.6.4.1400.100 Ability to create repeating surveys #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.4.1400.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 +And I create a new project named "B.6.4.1400.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 #VERIFY_SETUP repeat instrument When I click on the link labeled "Project Setup" Then I should see a button labeled "Modify" on the field labeled "Repeating instruments and events" #SETUP_PRODUCTION When I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I see " Project status: Production" diff --git a/Feature Tests/B/Project Setup/B.6.4.800 - Project setup title.feature b/Feature Tests/B/Project Setup/B.6.4.800 - Project Title.feature similarity index 91% rename from Feature Tests/B/Project Setup/B.6.4.800 - Project setup title.feature rename to Feature Tests/B/Project Setup/B.6.4.800 - Project Title.feature index 694590d2..c6e9f364 100644 --- a/Feature Tests/B/Project Setup/B.6.4.800 - Project setup title.feature +++ b/Feature Tests/B/Project Setup/B.6.4.800 - Project Title.feature @@ -6,7 +6,7 @@ I want to see that Project Setup is functioning as expected Scenario: B.6.4.800.100 Customize project title #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.4.800.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 +And I create a new project named "B.6.4.800.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 "B.6.4.800.100" And I click on the link labeled "Project Setup" diff --git a/Feature Tests/B/Project Setup/B.6.4.900 - Project setup purpose.feature b/Feature Tests/B/Project Setup/B.6.4.900 - Project Purpose.feature similarity index 93% rename from Feature Tests/B/Project Setup/B.6.4.900 - Project setup purpose.feature rename to Feature Tests/B/Project Setup/B.6.4.900 - Project Purpose.feature index fc247d2b..03a3823f 100644 --- a/Feature Tests/B/Project Setup/B.6.4.900 - Project setup purpose.feature +++ b/Feature Tests/B/Project Setup/B.6.4.900 - Project Purpose.feature @@ -6,7 +6,7 @@ I want to see that Project Setup is functioning as expected Scenario: B.6.4.900.100 Change project purpose designation #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.4.900.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 +And I create a new project named "B.6.4.900.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 "B.6.4.900.100" And I click on the link labeled "Project Setup" @@ -24,7 +24,7 @@ Then I should see a table header and rows including the following values in the | test_user1 | Manage/Design | Modify project settings | ##ACTION #CROSS-FEATURE B.2.23.100: Verify Logging Filter by event manage/design -When I select the dropdown option labeled "Manage/Design" from the dropdown field labeled "Filter by event:" with the placeholder text of ""All event types" +When I select the dropdown option labeled "Manage/Design" from the dropdown field labeled "Filter by event:" with the placeholder text of "All event types" ##VERIFY_LOG #CROSS-FEATURE: Verify Logging Filter by event manage/design Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | diff --git a/Feature Tests/B/Project status/B.6.11.200 - Move project status.feature b/Feature Tests/B/Project Status/B.6.11.200 - Move project status.feature similarity index 93% rename from Feature Tests/B/Project status/B.6.11.200 - Move project status.feature rename to Feature Tests/B/Project Status/B.6.11.200 - Move project status.feature index c6c78a2a..f3a3c6c0 100644 --- a/Feature Tests/B/Project status/B.6.11.200 - Move project status.feature +++ b/Feature Tests/B/Project Status/B.6.11.200 - Move project status.feature @@ -7,13 +7,13 @@ Scenario: B.6.11.200.100 Move project from development to production to analysis #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.11.200.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 +And I create a new project named "B.6.11.200.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 #FUNCTIONAL REQUIREMENT ##ACTION: 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 button labeled "Keep ALL data saved so far" in the dialog box +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 ##VERIFY Then I should see "Project status: Production" diff --git a/Feature Tests/B/Project status/B.6.11.300 - Data management during project status change.feature b/Feature Tests/B/Project Status/B.6.11.300 - Data management during project status change.feature similarity index 83% rename from Feature Tests/B/Project status/B.6.11.300 - Data management during project status change.feature rename to Feature Tests/B/Project Status/B.6.11.300 - Data management during project status change.feature index 651b524e..5474adf4 100644 --- a/Feature Tests/B/Project status/B.6.11.300 - Data management during project status change.feature +++ b/Feature Tests/B/Project Status/B.6.11.300 - Data management during project status change.feature @@ -6,7 +6,7 @@ I want to see that My Project is functioning as expected Scenario: B.6.11.300.100 Move project from development to production while keeping data #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "B.6.11.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 +And I create a new project named "B.6.11.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 #FUNCTIONAL REQUIREMENT ##ACTION: move to production @@ -14,7 +14,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.11.300.100" And 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 button labeled "Keep ALL data saved so far" in the dialog box +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 ##VERIFY Then I should see "Project status: Production" @@ -27,7 +27,7 @@ Then I should see "1" Scenario: B.6.11.300.200 Move project from development to production while deleting data #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "B.6.11.300.200" 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 +And I create a new project named "B.6.11.300.200" 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 #FUNCTIONAL REQUIREMENT ##ACTION: move to production @@ -35,7 +35,7 @@ When I click on the link labeled "My Projects" And I click on the link labeled "B.6.11.300.200" And 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 button labeled "Delete ALL data" in the dialog box +And I click on the radio labeled "Delete ALL data" in the dialog box And I click on the button labeled "Yes, Move to Production Status" in the dialog box And I click on the button labeled "OK" in the pop-up box ##VERIFY diff --git a/Feature Tests/C/Data Quality/C.4.18.100 - Data Quality default rules.feature b/Feature Tests/C/Data Quality/C.4.18.100 - Data Quality default rules.feature index f0fcaf9a..91a7fda5 100644 --- a/Feature Tests/C/Data Quality/C.4.18.100 - Data Quality default rules.feature +++ b/Feature Tests/C/Data Quality/C.4.18.100 - Data Quality default rules.feature @@ -7,12 +7,12 @@ Scenario: C.4.18.100.100 Default data quality rules #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.100.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Data Quality/C.4.18.1000 - Data Quality realtime.feature b/Feature Tests/C/Data Quality/C.4.18.1000 - Data Quality realtime.feature index e85831ea..ea17ae2a 100644 --- a/Feature Tests/C/Data Quality/C.4.18.1000 - Data Quality realtime.feature +++ b/Feature Tests/C/Data Quality/C.4.18.1000 - Data Quality realtime.feature @@ -7,12 +7,12 @@ Scenario: C.4.18.1000.100 Real-time rule execution #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.1000.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.1000.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -23,11 +23,11 @@ Then I should see "Data Quality Rules" When I enter "Integer" for the field labeled "Rule Name" And I enter "[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 "Execute in real time on data entry forms" button +And I select the checkbox labeled "Execute in real time on data entry forms" And I click on the button labeled "Add" Then I should see a table header and rows containing the following values in the Data Quality Rules table: -| Rule # | Rule Name | Rule Logic (Show discrepancy only if...) | -| 3 | Integer | [integer]<>'1999' | +| Rule # | Rule Name | Rule Logic (Show discrepancy only if...) | Real-time execution | +| 3 | Integer | [integer]<>'1999' | Enabled | #FUNCTIONAL_REQUIREMENT ##ACTION: System shall support the ability to run custom data quality rules real time @@ -35,7 +35,9 @@ When I click the link labeled "Add/Edit Records" And I click on the button labeled "Add new record for the arm selected above" And I click the bubble labeled "Data Types" for event "Event 1" And I enter "2000" in the field labeled "Integer" -And I click on the button labeled "Close" in the dialog box +Then I should see "The value you provided is outside the suggested range" + +When I click on the button labeled "Close" in the dialog box And I click the button labeled "Save and Exit Form" Then I should see "WARNING: Data Quality rules were violated!" And I click on the button labeled "Close" in the dialog box diff --git a/Feature Tests/C/Data Quality/C.4.18.1100 - Data Quality.feature b/Feature Tests/C/Data Quality/C.4.18.1100 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Data Quality/C.4.18.1100 - Data Quality.feature rename to Feature Tests/C/Data Quality/C.4.18.1100 - REDUNDANT.feature diff --git a/Feature Tests/C/Data Quality/C.4.18.1200 - Data Quality.feature b/Feature Tests/C/Data Quality/C.4.18.1200 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Data Quality/C.4.18.1200 - Data Quality.feature rename to Feature Tests/C/Data Quality/C.4.18.1200 - REDUNDANT.feature diff --git a/Feature Tests/C/Data Quality/C.4.18.1300 - Data Quality DAG.feature b/Feature Tests/C/Data Quality/C.4.18.1300 - Data Quality DAG.feature index 55157f5a..ce0d0a9d 100644 --- a/Feature Tests/C/Data Quality/C.4.18.1300 - Data Quality DAG.feature +++ b/Feature Tests/C/Data Quality/C.4.18.1300 - Data Quality DAG.feature @@ -8,12 +8,12 @@ Scenario: C.4.18.1300.100 DAG limits rule viewing #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.1300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.1300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Data Quality/C.4.18.1400 - Data Quality support user rights.feature b/Feature Tests/C/Data Quality/C.4.18.1400 - Data Quality support user rights.feature index f51cef48..6424d11c 100644 --- a/Feature Tests/C/Data Quality/C.4.18.1400 - Data Quality support user rights.feature +++ b/Feature Tests/C/Data Quality/C.4.18.1400 - Data Quality support user rights.feature @@ -7,12 +7,12 @@ Scenario: C.4.18.1400.100 User access limit rule viewing #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.1400.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.1400.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Data Quality/C.4.18.200 - Data Quality create rules.feature b/Feature Tests/C/Data Quality/C.4.18.200 - Data Quality create rules.feature index 4c7a81cb..906a4b6b 100644 --- a/Feature Tests/C/Data Quality/C.4.18.200 - Data Quality create rules.feature +++ b/Feature Tests/C/Data Quality/C.4.18.200 - Data Quality create rules.feature @@ -8,12 +8,12 @@ Scenario: C.4.18.200.100 Data quality rule creation #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.200.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.200.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project_418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Data Quality/C.4.18.300 - Data Quality execute rules.feature b/Feature Tests/C/Data Quality/C.4.18.300 - Data Quality execute rules.feature index 3f0fea12..78f60f81 100644 --- a/Feature Tests/C/Data Quality/C.4.18.300 - Data Quality execute rules.feature +++ b/Feature Tests/C/Data Quality/C.4.18.300 - Data Quality execute rules.feature @@ -7,11 +7,11 @@ Scenario: C.4.18.300.100 Executing data quality rule #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.300.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" #FUNCTIONAL REQUIREMENT diff --git a/Feature Tests/C/Data Quality/C.4.18.400 - Data Quality.feature b/Feature Tests/C/Data Quality/C.4.18.400 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Data Quality/C.4.18.400 - Data Quality.feature rename to Feature Tests/C/Data Quality/C.4.18.400 - REDUNDANT.feature diff --git a/Feature Tests/C/Data Quality/C.4.18.500 - Data Quality disrepancies.feature b/Feature Tests/C/Data Quality/C.4.18.500 - Data Quality disrepancies.feature index 51ed5e29..78560f87 100644 --- a/Feature Tests/C/Data Quality/C.4.18.500 - Data Quality disrepancies.feature +++ b/Feature Tests/C/Data Quality/C.4.18.500 - Data Quality disrepancies.feature @@ -7,11 +7,11 @@ Scenario: C.4.18.500.100 View discrepancies #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.500.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.500.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 ##ACTION executing all rules. diff --git a/Feature Tests/C/Data Quality/C.4.18.600 - Data Quality exclude rules.feature b/Feature Tests/C/Data Quality/C.4.18.600 - Data Quality exclude rules.feature index d955dcd9..2d40757f 100644 --- a/Feature Tests/C/Data Quality/C.4.18.600 - Data Quality exclude rules.feature +++ b/Feature Tests/C/Data Quality/C.4.18.600 - Data Quality exclude rules.feature @@ -7,11 +7,11 @@ Scenario: C.4.18.600.100 Exclude discrepancies #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.4.18.600.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.600.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 ##ACTION executing all rules. diff --git a/Feature Tests/C/Data Quality/C.4.18.700 - Data Quality edit rules.feature b/Feature Tests/C/Data Quality/C.4.18.700 - Data Quality edit rules.feature index f49b1024..ed540831 100644 --- a/Feature Tests/C/Data Quality/C.4.18.700 - Data Quality edit rules.feature +++ b/Feature Tests/C/Data Quality/C.4.18.700 - Data Quality edit rules.feature @@ -7,13 +7,14 @@ Scenario: C.4.18.700.100 Edit rule #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "C.4.18.700.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml" and clicking the "Create Project" button +And I create a new project named "C.4.18.700.100" by clicking on "New Project" in the menu bar, selecting "Practice / Just for fun" from the dropdown, choosing file "Project418.xml", and clicking the "Create Project" button #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 + #USER_RIGHTS When I click on the link labeled "User Rights" And I click on the link labeled "Test_User1" @@ -35,7 +36,7 @@ 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 | [integer]='1' | +| 3 | Integer | [integer]='1' | #FUNCTIONAL_REQUIREMENT ##ACTION executing rule @@ -64,7 +65,6 @@ And I deselect the checkbox labeled "Create & edit rules" for the field labeled And I click on the button labeled "Save Changes" Then I should see "User "test_user1" was successfully edited" - #FUNCTIONAL_REQUIREMENT ##ACTION: cannot add rule and can execute rules When I click on the link labeled "Data Quality" diff --git a/Feature Tests/C/Data Quality/C.4.18.800 - Data Quality.feature b/Feature Tests/C/Data Quality/C.4.18.800 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Data Quality/C.4.18.800 - Data Quality.feature rename to Feature Tests/C/Data Quality/C.4.18.800 - REDUNDANT.feature diff --git a/Feature Tests/C/Data Quality/C.4.18.900 - Data Quality.feature b/Feature Tests/C/Data Quality/C.4.18.900 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Data Quality/C.4.18.900 - Data Quality.feature rename to Feature Tests/C/Data Quality/C.4.18.900 - REDUNDANT.feature diff --git a/Feature Tests/C/File Repository/C.3.26.200 - File Repository viewing.feature b/Feature Tests/C/File Repository/C.3.26.200 - View Access & User Rights.feature similarity index 94% rename from Feature Tests/C/File Repository/C.3.26.200 - File Repository viewing.feature rename to Feature Tests/C/File Repository/C.3.26.200 - View Access & User Rights.feature index 1963ff09..7520863b 100644 --- a/Feature Tests/C/File Repository/C.3.26.200 - File Repository viewing.feature +++ b/Feature Tests/C/File Repository/C.3.26.200 - View Access & User Rights.feature @@ -7,7 +7,7 @@ Scenario: C.3.26.200.100 Limit user view and export access based on User Rights #SETUP Given I login to REDCap with the user "Test_Admin" -When I create a "New Project" named "A.3.26.200.100", select "Practice / Just for Fun" from the dropdown, choose file "Project_1.xml" and click on the "Create Project" button +When I create a new project named "A.3.26.200.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 And I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.200.100" @@ -50,16 +50,16 @@ Then I should see a dialog containing the following text: "SUCCESS!" And I close the popup And I should see a table header and rows including the following values in the table: -|Role name | Username | -| | test_admin | -| | test_user1 | -| | test_user2 | -| | test_user3 | -| | test_user4 | -| 1_FullRights | | | -| 2_Edit_RemoveID| | | -| 3_ReadOnly_Deidentified | | -| 4_NoAccess_Noexport | | +|Role name | Username | +| | test_admin | +| | test_user1 | +| | test_user2 | +| | test_user3 | +| | test_user4 | +| 1_FullRights | | +| 2_Edit_RemoveID| | +| 3_ReadOnly_Deidentified | | +| 4_NoAccess_Noexport | | ##SETUP Assign to roles When I click on the link labeled "Test_User1" @@ -85,6 +85,15 @@ And I click on the button labeled "Assign to role" And I should see the dropdown field labeled "Select Role" with the option "3_ReadOnly_Deidentified" selected And I click on the button labeled "Assign" Then I should see "Test_User4" user assigned "3_ReadOnly_Deidentified" role +And I should see a table header and rows including the following values in the table: +|Role name | Username | +| | test_admin | +| 1_FullRights | test_user1 | +| 1_FullRights | test_user2 | +| 2_Edit_RemoveID| | +| 3_ReadOnly_Deidentified | test_user3 | +| 3_ReadOnly_Deidentified | test_user4 | +| 4_NoAccess_Noexport | | ##SETUP DAG: Assign User to DAG When I select "Test_User1" from "Assign User" dropdown @@ -93,7 +102,8 @@ And I click on the button labeled "Assign" Then I should see "Test_User1" assigned to "TestGroup1" When I select "Test_User2" from "Assign User" dropdown -And I select "TestGroup2" from "DAG" dropdown +And I select "TestGroup2" from "DAG" dropdown +And I click on the button labeled "Assign" Then I should see "Test_User2" assigned to "TestGroup2" When I select "Test_User3" from "Assign User" dropdown @@ -112,7 +122,6 @@ And I click on the button labeled "Add new record for the arm selected above" And I click on the bubble labeled "Consent" for event "Event 1" Then I should see "Adding new Record ID" - When I click on the button labeled "Save & Stay" And I select the dropdown option labeled "Open survey" from the dropdown button with the placeholder text of "Survey options" And I click on the button labeled "Next Page" @@ -135,7 +144,6 @@ Then I should see "user list for project 1.csv" And I should see "Role1_Folder" And I should see "TestGroup1_Folder" - ##ACTION Upload to top tier file repo (all users will see file) - using the Select files to upload button When I click on the link labeled "File Repository" When I upload a "csv" format file located at "import_files/testusers_bulk_upload.csv", by clicking the button near "Select files to upload" to browse for the file, and clicking the button labeled "Open" to upload the file @@ -143,7 +151,6 @@ When I upload a "csv" format file located at "import_files/testusers_bulk_upload ##VERIFY_FiRe file uploaded in folder Then I should see "testusers_bulk_upload.csv" - #FUNCTIONAL_REQUIREMENT ##ACTION Upload to DAG folder When I click on the link labeled "TestGroup1_Folder" @@ -194,7 +201,6 @@ And I click on the button labeled "Leave without saving changes" in the dialog b Then I should see a Completed Survey Response icon for the Data Collection Instrument labeled "Consent" for event "Event 1" And I should see "TestGroup2" - #FUNCTIONAL_REQUIREMENT When I click on the link labeled "File Repository" ##ACTION Unable to access DAG folder @@ -234,7 +240,6 @@ Name | Record | And I logout - #FUNCTIONAL_REQUIREMENT Given I login to REDCap with the user "Test_User3" When I click on the link labeled "File Repository" @@ -273,7 +278,6 @@ Name | Record | And I logout - #FUNCTIONAL_REQUIREMENT ##ACTION Download to top tier file Given I login to REDCap with the user "Test_User4" diff --git a/Feature Tests/C/File Repository/C.3.26.300 - File Repository folders.feature b/Feature Tests/C/File Repository/C.3.26.300 - Storage & Organization.feature similarity index 90% rename from Feature Tests/C/File Repository/C.3.26.300 - File Repository folders.feature rename to Feature Tests/C/File Repository/C.3.26.300 - Storage & Organization.feature index 2abfa48b..1da61489 100644 --- a/Feature Tests/C/File Repository/C.3.26.300 - File Repository folders.feature +++ b/Feature Tests/C/File Repository/C.3.26.300 - Storage & Organization.feature @@ -7,14 +7,14 @@ Scenario: C.3.26.300.100 Automatic uploading of data export logs into the data e #SETUP Given I login to REDCap with the user "Test_Admin" -When I create a "New Project" named "C.3.26.300.100", select "Practice / Just for Fun" from the dropdown, choose file "Project_1.xml" and click on the "Create Project" button -And I click on the link labeled "My Projects" +And I create a new project named "C.3.26.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 +And I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.300.100" #SETUP Export data automatically placed in file repo Given I click on the link labeled "Data Exports, Reports, and Stats" And I click on the "Export Data" button for "All data (all records and fields)" report in the My Reports & Exports table -And I click on the radio button labeled "CSV / Microsoft Excel (raw data)" in the dialog box +And I click on the radio labeled "CSV / Microsoft Excel (raw data)" in the dialog box And I click on the button labeled "Export Data" in the dialog box Then I should see a dialog containing the following text: "Data export was successful!" @@ -35,8 +35,8 @@ Scenario: C.3.26.300.300 Recycle bin function - permanently force delete #SETUP Given I login to REDCap with the user "Test_Admin" -When I create a "New Project" named "C.3.26.300.300", select "Practice / Just for Fun" from the dropdown, choose file "Project_1.xml" and click on the "Create Project" button -And I click on the link labeled "My Projects" +And I create a new project named "C.3.26.300.300" 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 +And I click on the link labeled "My Projects" And I click on the link labeled "A.3.26.300.300" ##ACTION Upload to top tier file repo diff --git a/Feature Tests/C/File Repository/C.3.26.400 - File Repository.feature b/Feature Tests/C/File Repository/C.3.26.400 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/File Repository/C.3.26.400 - File Repository.feature rename to Feature Tests/C/File Repository/C.3.26.400 - REDUNDANT.feature diff --git a/Feature Tests/C/File Repository/C.3.26.500 - File Repository.feature b/Feature Tests/C/File Repository/C.3.26.500 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/File Repository/C.3.26.500 - File Repository.feature rename to Feature Tests/C/File Repository/C.3.26.500 - REDUNDANT.feature diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.100 - Lock status.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.100 - Lock status.feature similarity index 97% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.100 - Lock status.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.100 - Lock status.feature index c6fc1965..d668b12b 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.100 - Lock status.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.100 - Lock status.feature @@ -7,12 +7,12 @@ Scenario: C.2.19.100.100 Display locked and e-signed status #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.100.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 +And I create a new project named "C.2.19.100.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.200 - Lock form display.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.200 - Lock form display.feature similarity index 97% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.200 - Lock form display.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.200 - Lock form display.feature index bcf971c5..8d6de079 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.200 - Lock form display.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.200 - Lock form display.feature @@ -7,12 +7,12 @@ Scenario: C.2.19.100.100 Display locked and e-signed status #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.100.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 +And I create a new project named "C.2.19.100.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.300 - Locking record filter.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.300 - Locking record filter.feature similarity index 94% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.300 - Locking record filter.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.300 - Locking record filter.feature index 2795924f..c0c7d46c 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.300 - Locking record filter.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.300 - Locking record filter.feature @@ -6,12 +6,12 @@ I want to see that Record locking and E-signatures is functioning as expected Scenario: C.2.19.300.100 Record locking and E-signatures filtering #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.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 +And I create a new project named "C.2.19.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.400 - Lock status display.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.400 - Lock status display.feature similarity index 96% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.400 - Lock status display.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.400 - Lock status display.feature index 272c50b2..b674163e 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.400 - Lock status display.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.400 - Lock status display.feature @@ -6,12 +6,12 @@ I want to see that Record locking and E-signatures is functioning as expected Scenario: C.2.19.400.100 display lock status #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.400.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 +And I create a new project named "C.2.19.400.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -22,7 +22,7 @@ And I click on the button labeled "Add with custom rights" Then I should see "Adding new user "test_user1"" When I click on the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Locking / Unlocking" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Locking / Unlocking" for the field labeled "Lock / Unlock Records (instrument level)" And I click on the checkbox for the field labeled "Lock/Unlock *Entire* Records (record level)" And I click on the button labeled "Add user" And I click on the checkbox for the field labeled "Logging" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.500 - esign display.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.500 - eSign display.feature similarity index 93% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.500 - esign display.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.500 - eSign display.feature index dcbe39f2..e9eb8dae 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.500 - esign display.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.500 - eSign display.feature @@ -7,12 +7,12 @@ Scenario: C.2.19.500.100 Display e-signature #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.500.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 +And I create a new project named "C.2.19.500.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -24,7 +24,7 @@ Then I should see "Adding new user "test_user1"" When I click on the checkbox for the field labeled "Logging" And I click on the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" And I click on the button labeled "Close" in the dialog box And I click on the button labeled "Add user" Then I should see "User "test_user1" was successfully added" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.600 - Locking module navigation.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.600 - Locking module navigation.feature similarity index 87% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.600 - Locking module navigation.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.600 - Locking module navigation.feature index 56655797..de9a0716 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.600 - Locking module navigation.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.600 - Locking module navigation.feature @@ -7,12 +7,12 @@ Scenario: C.2.19.600.100 Navigate to record #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.600.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 +And I create a new project named "C.2.19.600.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -23,7 +23,7 @@ And I click on the button labeled "Add with custom rights" Then I should see "Adding new user "test_user1"" When I click on the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" And I click on the button labeled "Close" in the dialog box And I click on the checkbox for the field labeled "Lock/Unlock *Entire* Records (record level)" And I click on the button labeled "Add user" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.700 - esign customization.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.700 - eSign customization.feature similarity index 97% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.700 - esign customization.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.700 - eSign customization.feature index 30947c8b..ea12db4f 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.700 - esign customization.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.700 - eSign customization.feature @@ -6,12 +6,12 @@ I want to see that Record locking and E-signatures is functioning as expected Scenario: C.2.19.700.100 Customize Record Locking display and text #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.2.19.700.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 +And I create a new project named "C.2.19.700.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.800 - Esign and Lock.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.800 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.800 - Esign and Lock.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.800 - REDUNDANT.feature diff --git a/Feature Tests/C/Record locking and E-signatures/C.2.19.900 - Esign and Lock access.feature b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.900 - eSign and Lock access.feature similarity index 89% rename from Feature Tests/C/Record locking and E-signatures/C.2.19.900 - Esign and Lock access.feature rename to Feature Tests/C/Record Locking & E-Signatures/C.2.19.900 - eSign and Lock access.feature index d056fadd..601e7aa2 100644 --- a/Feature Tests/C/Record locking and E-signatures/C.2.19.900 - Esign and Lock access.feature +++ b/Feature Tests/C/Record Locking & E-Signatures/C.2.19.900 - eSign and Lock access.feature @@ -7,7 +7,7 @@ Scenario: C.2.19.900.100 Enable user rights for Record Locking Customization mod #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "C.2.19.900.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 +And I create a new project named "C.2.19.900.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 #USER_RIGHTS When I click on the link labeled "User Rights" @@ -16,7 +16,7 @@ And I click on the button labeled "Edit user privileges" Then I should see "Editing existing user "test_user1"" When I click on the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" And I click on the button labeled "Close" in the dialog box And I click on the checkbox for the field labeled "Lock/Unlock *Entire* Records (record level)" And I click on the button labeled "Save changes" @@ -44,7 +44,7 @@ And I click on the button labeled "Edit user privileges" Then I should see "Editing existing user "test_user1"" When I deselect the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Disabled" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Disabled" for the field labeled "Lock / Unlock Records (instrument level)" And I verify the checkbox for the field labeled "Lock/Unlock *Entire* Records (record level)" is not checked And I click on the button labeled "Save Changes" Then I should see "User "test_user1" was successfully edited" @@ -61,7 +61,7 @@ And I should NOT see the link labeled "Customize and Manage the Record Locking a ##SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -87,7 +87,7 @@ And I verify the checkbox for the field labeled "Lock/Unlock *Entire* Records (r ##USER_RIGHTS When I click on the checkbox for the field labeled "Record Locking Customization" -And I click on the radio button labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" +And I click on the radio labeled "Locking / Unlocking with E-signature authority" for the field labeled "Lock / Unlock Records (instrument level)" And I click on the button labeled "Close" in the dialog box And I click on the checkbox for the field labeled "Lock/Unlock *Entire* Records (record level)" And I click on the button labeled "Save Changes" diff --git a/Feature Tests/C/Reporting/C.5.22.100 - Report access.feature b/Feature Tests/C/Reporting/C.5.22.100 - Report Access.feature similarity index 95% rename from Feature Tests/C/Reporting/C.5.22.100 - Report access.feature rename to Feature Tests/C/Reporting/C.5.22.100 - Report Access.feature index 22eec027..6864d1d5 100644 --- a/Feature Tests/C/Reporting/C.5.22.100 - Report access.feature +++ b/Feature Tests/C/Reporting/C.5.22.100 - Report Access.feature @@ -3,14 +3,16 @@ Feature: User Interface: The system shall support the ability to assign the User As a REDCap end user I want to see that Reporting is functioning as expected +Scenario: C.5.22.100.100 - MISSING SCENARIO TITLE + #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named "C.5.22.100.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 +And I create a new project named "C.5.22.100.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" @@ -22,13 +24,13 @@ And I select the dropdown option labeled "TestGroup1" from the dropdown button w And I click on the button labeled "Assign to Data Access Group" in the dialog box Then I should see "Record ID 1 was successfully assigned to a Data Access Group1" -#SETUP: Assign record 1 to DAG1 +#SETUP: Assign record 2 to DAG2 When I click on the link labeled "Record Status Dashboard" And I click on record "2" And I select the dropdown option labeled "Assign to Data Access Group" from the dropdown button with the placeholder text of "Choose action for record" -And I select the dropdown option labeled "TestGroup1" from the dropdown button with the placeholder text of "[No Assignment]" in the dialog box +And I select the dropdown option labeled "TestGroup2" from the dropdown button with the placeholder text of "[No Assignment]" in the dialog box And I click on the button labeled "Assign to Data Access Group" in the dialog box -Then I should see "Record ID 2 was successfully assigned to a Data Access Group1" +Then I should see "Record ID 2 was successfully assigned to a Data Access Group2" #USER_RIGHTS When I click on the link labeled "User Rights" @@ -140,7 +142,7 @@ Then I should see "Edit Existing Report: "C.5.22.100.100 REPORT" When I click on the radio button labeled "Custom user access" for the field labeled "View Access" And I select "test_user1" from the dropdown field labeled "Selected users" And I select "test_user2" from the dropdown field labeled "Selected users" -And I click on the radio button labeled "Custom user access" for the field labeled "Edit Access" +And I click on the radio labeled "Custom user access" for the field labeled "Edit Access" And I select "test_user1" from the dropdown field labeled "Selected users" And I click on the button labeled "Save Report" Then I should see "Your report has been saved!" in the dialog box @@ -205,4 +207,4 @@ And I should NOT see record "3" And I should NOT see record "4" ##VERIFY: Edit Report button And I should see a button labeled "Edit Report" -And I logout \ No newline at end of file +And I logout diff --git a/Feature Tests/C/Reporting/C.5.22.200 - Report management.feature b/Feature Tests/C/Reporting/C.5.22.200 - Report Management.feature similarity index 93% rename from Feature Tests/C/Reporting/C.5.22.200 - Report management.feature rename to Feature Tests/C/Reporting/C.5.22.200 - Report Management.feature index 3406923f..51e6293c 100644 --- a/Feature Tests/C/Reporting/C.5.22.200 - Report management.feature +++ b/Feature Tests/C/Reporting/C.5.22.200 - Report Management.feature @@ -3,14 +3,16 @@ Feature: User Interface: The system shall support the ability to create, modify As a REDCap end user I want to see that Reporting is functioning as expected +Scenario: C.5.22.200.100 - MISSING SCENARIO TITLE + #SETUP Given I login to REDCap with the user "Test_User1" -And I create a new project named "C.5.22.200.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 +And I create a new project named "C.5.22.200.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 #SETUP_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 button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project status: Production" diff --git a/Feature Tests/C/e-Consent framework/C.3.24.100 - eConsent enable.feature b/Feature Tests/C/e-Consent framework/C.3.24.100 - eConsent enable.feature index e40a4e81..f9aedc2a 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.100 - eConsent enable.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.100 - eConsent enable.feature @@ -12,7 +12,7 @@ And I create a new project named " C.3.24.100.100" by clicking on "New Project" #SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -20,7 +20,7 @@ Then I should see "Project Status: Production" ##ACTION: e-consent survey settings - disabled When I click on the link labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Disabled" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Disabled" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" @@ -54,7 +54,7 @@ Then I should see a table header and rows including the following values in the #FUNCTIONAL_REQUIREMENTauto-archive enabled When I click on the link labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver enabled" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver enabled" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" @@ -90,7 +90,7 @@ Then I should see a table header and rows including the following values in the ##ACTION: e-consent survey settings - auto-archive and e-consent When I click on the link labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" diff --git a/Feature Tests/C/e-Consent framework/C.3.24.200 - eConsent footer.feature b/Feature Tests/C/e-Consent framework/C.3.24.200 - eConsent footer.feature index 98ef66c0..f13723e3 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.200 - eConsent footer.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.200 - eConsent footer.feature @@ -12,14 +12,14 @@ And I create a new project named " C.3.24.200.100" by clicking on "New Project" #SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" #SETUP_eConsent When I click on the button labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I verify I see "version test" in the field labeled "e-Consent version:" And I verify I see "fname "Name"" in the field labeled "First name field:" And I verify I see "lname "Name"" in the field labeled "Last name field:" @@ -46,7 +46,7 @@ Then I should see "Consent" And I verify I see "Name" in the field labeled "1) Name" And I verify I see "Name" in the field labeled "2) Name" And I verify I see "email@test.edu" in the field labeled "3) Email" -And I verify I see "2023-09-03" in the field labeled "4) DOB" +And I verify I see "2023-12-18" in the field labeled "4) DOB" #Date will be today's date. And I enter a signature in the field labeled "5) Signature" And I verify I see "signature_consent_2" in the field labeled "6) Signature" And I verify I see "signature_consent_3" in the field labeled "7) Signature" @@ -300,7 +300,7 @@ Then I should have a pdf file with the following values in the footer: "Version: #SETUP_eConsent_change field When I click on the button labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I enter "UPDATED VERSION TEST" in the field labeled "e-Consent version:" And I verify I see "fname "Name"" in the field labeled "First name field:" And I verify I see "lname "Name"" in the field labeled "Last name field:" @@ -359,7 +359,7 @@ Then I should have a pdf file with the following values in the footer: "Name Nam #SETUP_eConsent_change field When I click on the button labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver enabled" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver enabled" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" diff --git a/Feature Tests/C/e-Consent framework/C.3.24.300 - eConsent status.feature b/Feature Tests/C/e-Consent framework/C.3.24.300 - eConsent status.feature index 808a74ae..b3a7d427 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.300 - eConsent status.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.300 - eConsent status.feature @@ -12,7 +12,7 @@ And I create a new project named " C.3.24.300.100" by clicking on "New Project" #SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -27,7 +27,7 @@ Then I should see "Successfully saved!" #SETUP_eConsent When I click on the button labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" diff --git a/Feature Tests/C/e-Consent framework/C.3.24.400 - eConsent.feature b/Feature Tests/C/e-Consent framework/C.3.24.400 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/e-Consent framework/C.3.24.400 - eConsent.feature rename to Feature Tests/C/e-Consent framework/C.3.24.400 - REDUNDANT.feature diff --git a/Feature Tests/C/e-Consent framework/C.3.24.500 - eConsent.feature b/Feature Tests/C/e-Consent framework/C.3.24.500 - REDUNDANT.feature similarity index 100% rename from Feature Tests/C/e-Consent framework/C.3.24.500 - eConsent.feature rename to Feature Tests/C/e-Consent framework/C.3.24.500 - REDUNDANT.feature diff --git a/Feature Tests/C/e-Consent framework/C.3.24.600 - eConsent edit.feature b/Feature Tests/C/e-Consent framework/C.3.24.600 - eConsent edit.feature index 8b232f42..916d3967 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.600 - eConsent edit.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.600 - eConsent edit.feature @@ -7,19 +7,19 @@ Scenario: C.3.24.600.100 Enable/disable edit ability for e-Consent framework #SETUP Given I login to REDCap with the user "Test_Admin" -And I create a new project named " C.3.24.600.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 +And I create a new project named "C.3.24.600.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 #SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" ##ACTION: e-consent survey settings - auto-archive and e-consent When I click on the link labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" @@ -55,7 +55,7 @@ Then I should see "1 File" for the field labeled "PDF Survey Archive" When I click on the link labeled "PDF Survey Archive" And I click on the link on the PDF link for record "5" Then I should have a pdf file with the following values in the report: "1) Name" is "Consent Name" -#M: Close document +#Manual: Close document ##ACTION: edit survey response When I click on the link labeled "Record Status Dashboard" @@ -80,7 +80,7 @@ Then I should see "1 File" for the field labeled "PDF Survey Archive" When I click on the link labeled "PDF Survey Archive" And I click on the link on the PDF link for record "5" Then I should have a pdf file with the following values in the report: I should NOT see "1) Name" is "Consent 2 Name" -#M: Close document +#Manual: Close document ##ACTION: disable e-consent survey settings - auto-archive and e-consent When I click on the link labeled "Designer" @@ -99,4 +99,3 @@ When I click on the link labeled "Logging" Then I should see a table header and rows including the following values in the logging table: | Username | Action | List of Data Changes OR Fields Exported | | test_admin | Manage/Design | Modify survey info | - diff --git a/Feature Tests/C/e-Consent framework/C.3.24.700 - eConsent.feature b/Feature Tests/C/e-Consent framework/C.3.24.700 - REDUNDANT.feature similarity index 98% rename from Feature Tests/C/e-Consent framework/C.3.24.700 - eConsent.feature rename to Feature Tests/C/e-Consent framework/C.3.24.700 - REDUNDANT.feature index 6b93a586..dc853d97 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.700 - eConsent.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.700 - REDUNDANT.feature @@ -1,3 +1,3 @@ Feature: User Interface: The e-Consent framework shall support a certification page at the end of the survey that displays an in-line PDF copy of their survey responses. -This feature test is REDUNDANT and can be viewed in C.3.24.200.100 \ No newline at end of file +This feature test is REDUNDANT and can be viewed in C.3.24.200.100 diff --git a/Feature Tests/C/e-Consent framework/C.3.24.800 - eConsent repeat.feature b/Feature Tests/C/e-Consent framework/C.3.24.800 - eConsent repeat.feature index 50f3981e..d2e5fc80 100644 --- a/Feature Tests/C/e-Consent framework/C.3.24.800 - eConsent repeat.feature +++ b/Feature Tests/C/e-Consent framework/C.3.24.800 - eConsent repeat.feature @@ -12,7 +12,7 @@ And I create a new project named "C.3.24.800.100" by clicking on "New Project" i #SETUP_PRODUCTION When I click on the button labeled "Project Setup" And I click on the button labeled "Move project to production" -And I click on the radio button labeled "Keep ALL data saved so far" in the dialog box +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 Then I should see "Project Status: Production" @@ -27,7 +27,7 @@ Then I should see "Successfully saved!" #SETUP_eConsent When I click on the button labeled "Designer" And I click on the button labeled "Survey settings" for the instrument labeled "Consent" -And I click on the radio button labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" +And I click on the radio labeled "Auto-Archiver + e-Consent Framework" for the field labeled "e-Consent Framework" And I click on the button labeled "Save Changes" Then I should see "Your survey settings were successfully saved!" diff --git a/Files/.keep b/Files/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/Files/.keep @@ -0,0 +1 @@ + diff --git a/Files/cdisc/.keep b/Files/cdisc/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/Files/cdisc/.keep @@ -0,0 +1 @@ + diff --git a/Files/cdisc/B.3.16.600Project.xml b/Files/cdisc/B.3.16.600Project.xml new file mode 100644 index 00000000..3e3980cd --- /dev/null +++ b/Files/cdisc/B.3.16.600Project.xml @@ -0,0 +1,263 @@ + + + + + P3 600 test + This file contains the metadata, events, and data for REDCap project "P3 600 test". + P3 600 test + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Survey Identifier + + + Survey Timestamp + + + Survey Timestamp + + + Name + + + Text box + + + radio + + + + Notes box + + + Identifier + + + Identifier 2 + + + date YMD + + + datetime YMD HMSS + + + Complete? + + + + Choice99 + Choice100 + Choice101 + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Consent.xml b/Files/cdisc/Consent.xml new file mode 100644 index 00000000..f2afd98f --- /dev/null +++ b/Files/cdisc/Consent.xml @@ -0,0 +1,152 @@ + + + + + Consent + This file contains the metadata, events, and data for REDCap project "Consent". + Consent + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Survey Timestamp + + + Survey Timestamp + + + Name + + + Name + + + Email + + + DOB + + + Signature + + + Signature + + + Signature + + + Signature + + + Signature + + + Complete? + + + + Incomplete + Unverified + Complete + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project418.xml b/Files/cdisc/Project418.xml new file mode 100644 index 00000000..b8998969 --- /dev/null +++ b/Files/cdisc/Project418.xml @@ -0,0 +1,1480 @@ + + + + + project_4.18.xml + This file contains the metadata, events, and data for REDCap project "project_4.18.xml". + project_4.18.xml + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + NI, No information + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Name + + + Email + + + Complete? + + + + Name + + + Text box + + + Text2 + + + radio + + + + Notes box + + + Multiple Choice Dropdown Manual + + + + Multiple Choice dropdown Auto + + + + Radio Button Auto + + + + Radio Button Manual + + + + Branching + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Calc Test + + + Calculated Field + + + Signature + + + File Upload + + + Descriptive Text with File + + + Descriptive Text + + + Required + + + Identifier + + + Identifier + + + Edit Field + + + date YMD + + + date MDY + + + date DMY + + + time HH:MM:SS + + + time HH:M + + + time MM:SS + + + datetime YMD HMSS + + + datetime YMD HM + + 2023-08-01 01:01 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + 2023-08-31 01:59 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + + datetime MDY HMSS + + + datetime DMY HMSS + + + Integer + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - period as decimal + + 0.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + 3.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - comma as decimal + + 0,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + 3,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + + Letters only + + + MRN (10 Digits) + + + MRN (generic) + + + Social Security Number (US) + + + Phone (North America) + + + Phone (Australia) + + + Phone (UK) + + + Zipcode (US) + + + Postal code 5 (France) + + + Postal Code (Australia) + + + Postal Code (Canada) + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + DOB + + + Signature + + + Complete? + + + + Testing dd upload + + + Complete? + + + + Incomplete + Unverified + Complete + + + Choice99 + Choice100 + Choice101 + + + DDChoice5 + DDChoice6 + DDChoice7 + + + DDChoice1 + DDChoice2 + DDChoice3 + + + Choice1 + Choice2 + Choice.3 + + + Choice99 + Choice100 + Choice101 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_1.xml b/Files/cdisc/Project_1.xml new file mode 100644 index 00000000..fb5f7119 --- /dev/null +++ b/Files/cdisc/Project_1.xml @@ -0,0 +1,919 @@ + + + + + project_1.xml + This file contains the metadata, events, and data for REDCap project "project_1.xml". + project_1.xml + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Name + + + Email + + + Complete? + + + + Name + + + Text box + + + Text2 + + + radio + + + + Notes box + + + Multiple Choice Dropdown Manual + + + + Multiple Choice dropdown Auto + + + + Radio Button Auto + + + + Radio Button Manual + + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Calc Test + + + Calculated Field + + + Signature + + + File Upload + + + Descriptive Text with File + + + Descriptive Text + + + Required + + + Identifier + + + Identifier + + + Edit Field + + + date YMD + + + date MDY + + + date DMY + + + time HH:MM:SS + + + time HH:M + + + time MM:SS + + + datetime YMD HMSS + + + datetime YMD HM + + 2023-08-01 01:01 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + 2023-08-31 01:59 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + + datetime MDY HMSS + + + datetime DMY HMSS + + + Integer + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - period as decimal + + 0.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + 3.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - comma as decimal + + 0,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + 3,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + + Letters only + + + MRN (10 Digits) + + + MRN (generic) + + + Social Security Number (US) + + + Phone (North America) + + + Phone (Australia) + + + Phone (UK) + + + Zipcode (US) + + + Postal code 5 (France) + + + Postal Code (Australia) + + + Postal Code (Canada) + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + DOB + + + Signature + + + Complete? + + + + Incomplete + Unverified + Complete + + + Choice99 + Choice100 + Choice101 + + + DDChoice5 + DDChoice6 + DDChoice7 + + + DDChoice1 + DDChoice2 + DDChoice3 + + + Choice1 + Choice2 + Choice.3 + + + Choice99 + Choice100 + Choice101 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_3.14.xml b/Files/cdisc/Project_3.14.xml new file mode 100644 index 00000000..3a7aa31f --- /dev/null +++ b/Files/cdisc/Project_3.14.xml @@ -0,0 +1,629 @@ + + + + + 3.14 XML UPDATE + This file contains the metadata, events, and data for REDCap project "3.14 XML UPDATE". + 3.14 XML UPDATE + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Name + + + Email + + + Complete? + + + + radio + + + + Multiple Choice Dropdown Manual + + + + Notes box 2 + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Signature + + + File Upload + + + True/False + + + + Yes/No + + + + Slider + + + Required + + + Calc Test + + + date YMD + + + time HH:MM:SS + + + datetime YMD HMSS + + + Complete? + + + + Name + + + Email + + + Complete? + + + + Name + + + Email + + + DOB + + + Signature + + + Complete? + + + + Testing dd upload + + + Complete? + + + + Name + + + Email + + + Complete? + + + + Incomplete + Unverified + Complete + + + Choice99 + Choice100 + Choice101 + + + DDChoice5 + DDChoice7 + DDChoice6 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + True + False + + + Yes + No + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_3.16.xml b/Files/cdisc/Project_3.16.xml new file mode 100644 index 00000000..606a4f28 --- /dev/null +++ b/Files/cdisc/Project_3.16.xml @@ -0,0 +1,256 @@ + + + + + 16 Data Import PM Temp + This file contains the metadata, events, and data for REDCap project "16 Data Import PM Temp". + 16 Data Import PM Temp + 1 + + + 0 + 0 + email + 0 + + + + 0 + + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Name + + + Email + + + Complete? + + + + Name + + + Date of birth + + + Role + + + Notes + + + Calculated Field + + + Multiple Choice dropdown Auto + + + + Multiple Choice Dropdown Manual + + + + Radio Button Auto + + + + Radio Button Manual + + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Signature + + + File Upload + + + Descriptive Text with File + + + + Descriptive Text + + + Required Integer + + + Identifier SSN + + + Phone Number + + + Slider + + 10 + The value you provided is outside the suggested range (no limit - 10). This value is admissible, but you may wish to double check it. + + + + Date Time hh:mm + + + Date Time hh:mm:ss + + + Complete? + + + + Form with descriptive text field and no data. + + + Complete? + + + + Phone (UK) + + + Complete? + + + + Incomplete + Unverified + Complete + + + DDChoice1 + DDChoice2 + DDChoice3 + + + DDChoice5 + DDChoice6 + DDChoice7 + + + Choice1 + Choice2 + Choice.3 + + + Choice99 + Choice100 + Choice101 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_4.8.xml b/Files/cdisc/Project_4.8.xml new file mode 100644 index 00000000..2af5af5f --- /dev/null +++ b/Files/cdisc/Project_4.8.xml @@ -0,0 +1,857 @@ + + + + + B.4.8.200_CREATE_NEW_XML + This file contains the metadata, events, and data for REDCap project "B.4.8.200_CREATE_NEW_XML". + B.4.8.200_CREATE_NEW_XML + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Name + + + Email + + + Complete? + + + + radio + + + + Multiple Choice Dropdown Manual + + + + Calc Test + + + Calculated Field + + + Notes box 2 + + + Text BoxNotes Bbox + + + Name + + + Text2 + + + Text box + + + Notes box + + + Calculated Field + + + Multiple Choice dropdown Auto + + + + Multiple Choice Dropdown Manual + + + + Radio Button Auto + + + + Radio Button Manual + + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Signature + + + File Upload + + + Descriptive Text with File + + + Descriptive Text + + + Required + + + Identifier + + + Identifier + + + Edit Field + + + date YMD + + 2023-08-01 + The value you provided is outside the suggested range (2023-08-01 - 2023-08-31). This value is admissible, but you may wish to double check it. + + + 2023-08-31 + The value you provided is outside the suggested range (2023-08-01 - 2023-08-31). This value is admissible, but you may wish to double check it. + + + + Datetime + + 2023-09-01 01:01 + The value you provided is outside the suggested range (2023-09-01 01:01 - 2023-09-30 01:59). This value is admissible, but you may wish to double check it. + + + 2023-09-30 01:59 + The value you provided is outside the suggested range (2023-09-01 01:01 - 2023-09-30 01:59). This value is admissible, but you may wish to double check it. + + + + Datetime YMD HMSS + + 2023-09-01 11:01:01 + The value you provided is outside the suggested range (2023-09-01 11:01:01 - 2023-09-30 11:01:01). This value is admissible, but you may wish to double check it. + + + 2023-09-30 11:01:01 + The value you provided is outside the suggested range (2023-09-01 11:01:01 - 2023-09-30 11:01:01). This value is admissible, but you may wish to double check it. + + + + Integer + + 1 + The value you provided is outside the suggested range (1 - 100). This value is admissible, but you may wish to double check it. + + + 100 + The value you provided is outside the suggested range (1 - 100). This value is admissible, but you may wish to double check it. + + + + Number + + 1 + The value you provided is outside the suggested range (1 - 5). This value is admissible, but you may wish to double check it. + + + 5 + The value you provided is outside the suggested range (1 - 5). This value is admissible, but you may wish to double check it. + + + + Number Decimal + + 1.0 + The value you provided is outside the suggested range (1.0 - 5.0). This value is admissible, but you may wish to double check it. + + + 5.0 + The value you provided is outside the suggested range (1.0 - 5.0). This value is admissible, but you may wish to double check it. + + + + Number Comma + + 1,0 + The value you provided is outside the suggested range (1,0 - 2,0). This value is admissible, but you may wish to double check it. + + + 2,0 + The value you provided is outside the suggested range (1,0 - 2,0). This value is admissible, but you may wish to double check it. + + + + Time HH:MM + + 08:05 + The value you provided is outside the suggested range (08:05 - 23:00). This value is admissible, but you may wish to double check it. + + + 23:00 + The value you provided is outside the suggested range (08:05 - 23:00). This value is admissible, but you may wish to double check it. + + + + Time MM:SS + + 02:01 + The value you provided is outside the suggested range (02:01 - 59:00). This value is admissible, but you may wish to double check it. + + + 59:00 + The value you provided is outside the suggested range (02:01 - 59:00). This value is admissible, but you may wish to double check it. + + + + Time HH:MM:SS + + 08:01:01 + The value you provided is outside the suggested range (08:01:01 - 23:00:00). This value is admissible, but you may wish to double check it. + + + 23:00:00 + The value you provided is outside the suggested range (08:01:01 - 23:00:00). This value is admissible, but you may wish to double check it. + + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + DOB + + + Signature + + + Complete? + + + + Testing dd upload + + + Complete? + + + + Name + + + Email + + + Complete? + + + + Incomplete + Unverified + Complete + + + Choice99 + Choice100 + Choice101 + + + DDChoice5 + DDChoice7 + DDChoice6 + + + DDChoice1 + DDChoice2 + DDChoice3 + + + DDChoice5 + DDChoice6 + DDChoice7 + + + Choice1 + Choice2 + Choice.3 + + + Choice99 + Choice100 + Choice101 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_4.9.xml b/Files/cdisc/Project_4.9.xml new file mode 100644 index 00000000..40cf6244 --- /dev/null +++ b/Files/cdisc/Project_4.9.xml @@ -0,0 +1,869 @@ + + + + + B.4.9.100.100 + This file contains the metadata, events, and data for REDCap project "B.4.9.100.100". + B.4.9.100.100 + 1 + [user-dag-label] + + 1 + 1 + email + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + REDCap Secure Messaging + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Survey Timestamp + + + Survey Timestamp + + + Name + + + Text box + + + Text2 + + + radio + + + + Notes box + + + Multiple Choice Dropdown Manual + + + + Multiple Choice dropdown Auto + + + + Radio Button Auto + + + + Radio Button Manual + + + + Checkbox + + + + Checkbox + + + + Checkbox + + + + Calc Test + + + Calculated Field + + + Signature + + + File Upload + + + Descriptive Text with File + + + Descriptive Text + + + Required + + + Identifier + + + Identifier + + + Edit Field + + + date YMD + + + date MDY + + + date DMY + + + time HH:MM:SS + + + time HH:M + + + time MM:SS + + + datetime YMD HMSS + + + datetime YMD HM + + 2023-08-01 01:01 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + 2023-08-31 01:59 + The value you provided is outside the suggested range (2023-08-01 01:01 - 2023-08-31 01:59). This value is admissible, but you may wish to double check it. + + + + datetime MDY HMSS + + + datetime DMY HMSS + + + Integer + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers + + 0 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + 2 + The value you provided is outside the suggested range (0 - 2). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - period as decimal + + 0.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + 3.0 + The value you provided is outside the suggested range (0.0 - 3.0). This value is admissible, but you may wish to double check it. + + + + Numbers 1 decimal place - comma as decimal + + 0,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + 3,0 + The value you provided is outside the suggested range (0,0 - 3,0). This value is admissible, but you may wish to double check it. + + + + Letters only + + + MRN (10 Digits) + + + MRN (generic) + + + Social Security Number (US) + + + Phone (North America) + + + Phone (Australia) + + + Phone (UK) + + + Zipcode (US) + + + Postal code 5 (France) + + + Postal Code (Australia) + + + Postal Code (Canada) + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + Complete? + + + + Survey Timestamp + + + Name + + + Email + + + DOB + + + Signature + + + Complete? + + + + Choice99 + Choice100 + Choice101 + + + DDChoice5 + DDChoice6 + DDChoice7 + + + DDChoice1 + DDChoice2 + DDChoice3 + + + Choice1 + Choice2 + Choice.3 + + + Choice99 + Choice100 + Choice101 + + + Checked + Unchecked + + + Checked + Unchecked + + + Checked + Unchecked + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/cdisc/Project_5.21.xml b/Files/cdisc/Project_5.21.xml new file mode 100644 index 00000000..8fe017c0 --- /dev/null +++ b/Files/cdisc/Project_5.21.xml @@ -0,0 +1,315 @@ + + + + + Project_5.21 + This file contains the metadata, events, and data for REDCap project "Project_5.21". + Project_5.21 + 1 + + + 0 + 1 + + 1 + 0 + 0 + 1 + + 0 + 0 + + + + 0 + + ALL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Record ID + + + Data Access Group + + + Survey Identifier + + + Survey Timestamp + + + Survey Timestamp + + + Name + + + Text box + + + radio + + + + Notes box + + + Identifier + + + Identifier 2 + + + date YMD + + + datetime YMD HMSS + + + Complete? + + + + Choice99 + Choice100 + Choice101 + + + Incomplete + Unverified + Complete + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Files/dictionaries/.keep b/Files/dictionaries/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/Files/dictionaries/.keep @@ -0,0 +1 @@ + diff --git a/Files/dictionaries/B67800200_DataDictionary.csv b/Files/dictionaries/B67800200_DataDictionary.csv new file mode 100644 index 00000000..15c86c9b --- /dev/null +++ b/Files/dictionaries/B67800200_DataDictionary.csv @@ -0,0 +1,4 @@ +Variable / Field Name,Form Name,Section Header,Field Type,Field Label,"Choices, Calculations, OR Slider Labels",Field Note,Text Validation Type OR Show Slider Number,Text Validation Min,Text Validation Max,Identifier?,Branching Logic (Show field only if...),Required Field?,Custom Alignment,Question Number (surveys only),Matrix Group Name,Matrix Ranking?,Field Annotation +record_id,form_1,,text,Record ID,,,,,,,,,,,,, +notesbox,form_1,,notes,Notes Box,,,,,,,,,,,,, +notesbox2,form_1,,notes,Notes box 2,,,,,,,,,,,,, diff --git a/Files/dictionaries/B67900_DataDictionary.csv b/Files/dictionaries/B67900_DataDictionary.csv new file mode 100644 index 00000000..d943d5d9 --- /dev/null +++ b/Files/dictionaries/B67900_DataDictionary.csv @@ -0,0 +1,4 @@ +Variable / Field Name,Form Name,Section Header,Field Type,Field Label,"Choices, Calculations, OR Slider Labels",Field Note,Text Validation Type OR Show Slider Number,Text Validation Min,Text Validation Max,Identifier?,Branching Logic (Show field only if...),Required Field?,Custom Alignment,Question Number (surveys only),Matrix Group Name,Matrix Ranking?,Field Annotation +record_id,form_1,,text,Record ID,,,,,,,,,,,,, +calculated_field,form_1,,calc,Calculated Field,3*2,,,,,,,,,,,, +calculated_field2,form_1,,calc,Calculated Field 2,4*5,,,,,,,,,,,, diff --git a/Files/dictionaries/Project1xml_DataDictionary.csv b/Files/dictionaries/Project1xml_DataDictionary.csv new file mode 100644 index 00000000..c2d47ccb --- /dev/null +++ b/Files/dictionaries/Project1xml_DataDictionary.csv @@ -0,0 +1,55 @@ +"Variable / Field Name","Form Name","Section Header","Field Type","Field Label","Choices, Calculations, OR Slider Labels","Field Note","Text Validation Type OR Show Slider Number","Text Validation Min","Text Validation Max",Identifier?,"Branching Logic (Show field only if...)","Required Field?","Custom Alignment","Question Number (surveys only)","Matrix Group Name","Matrix Ranking?","Field Annotation" +record_id,text_validation,,text,"Record ID",,,,,,,,,,,,, +name,text_validation,,text,Name,,,,,,,,,,,,," @DEFAULT=""Name """ +email,text_validation,,text,Email,,,email,,,,,,,,,," @DEFAULT=""email@test.edu""" +ptname,data_types,,text,Name,,,,,,,,,,,,," @DEFAULT=""[name]""" +textbox,data_types,,text,"Text box",,,,,,,,,,,,," @DEFAULT=""text box""" +text2,data_types,,text,Text2,,,,,,,,,,,,," @DEFAULT=""text2""" +radio,data_types,,radio,radio,"9..9, Choice99 | 100, Choice100 | 101, Choice101",,,,,,,,,,,, +notesbox,data_types,,notes,"Notes box",,,,,,,,,,,,," @DEFAULT=""note box""" +multiple_dropdown_manual,data_types,,dropdown,"Multiple Choice Dropdown Manual","5, DDChoice5 | 7, DDChoice6 | 6, DDChoice7",,,,,,,,,,,," @DEFAULT=""5""" +multiple_dropdown_auto,data_types,,dropdown,"Multiple Choice dropdown Auto","1, DDChoice1 | 2, DDChoice2 | 3, DDChoice3",,,,,,,,,,,," @DEFAULT=""1""" +multiple_radio_auto,data_types,,radio,"Radio Button Auto","1, Choice1 | 2, Choice2 | 3, Choice.3",,,,,,,,,,,," @DEFAULT=""1""" +radio_button_manual,data_types,,radio,"Radio Button Manual","9..9, Choice99 | 100, Choice100 | 101, Choice101",,,,,,,,,,,," @DEFAULT=""100""" +checkbox,data_types,,checkbox,Checkbox,"1, Checkbox1 | 2, Checkbox2 | 3, Checkbox3",,,,,,,,,,,," @DEFAULT=""1""" +calc_test,data_types,,calc,"Calc Test",3*2,,,,,,,,,,,, +calculated_field,data_types,,calc,"Calculated Field",3*2,,,,,,,,,,,, +signature,data_types,,file,Signature,,,signature,,,,,,,,,, +file_upload,data_types,,file,"File Upload",,,,,,,,,,,,, +descriptive_text_file,data_types," ",descriptive,"Descriptive Text with File",,,,,,,,,,,,, +descriptive_text,data_types,,descriptive,"Descriptive Text",,,,,,,,,,,,, +required,data_types,,text,Required,,,,,,,,y,,,,," @DEFAULT=""required""" +identifier,data_types,,text,Identifier,,,,,,y,,,,,,," @DEFAULT=""PHI""" +identifier_2,data_types,,text,Identifier,,,,,,y,,,,,,," @DEFAULT=""PHI2""" +edit_field,data_types,,text,"Edit Field",,,,,,,,,,,,," @DEFAULT=""Edit Field""" +date_ymd,data_types,Date,text,"date YMD",,,date_ymd,,,,,,,,,," @TODAY" +date_mdy,data_types,,text,"date MDY",,,date_mdy,,,,,,,,,," @TODAY" +date_dmy,data_types,,text,"date DMY",,,date_dmy,,,,,,,,,," @TODAY" +time_hhmmss,data_types,Time,text,"time HH:MM:SS",,,time_hh_mm_ss,,,,,,,,,," @NOW" +time_hhmm,data_types,,text,"time HH:M",,,time,,,,,,,,,," @NOW" +time_mmss,data_types,,text,"time MM:SS",,,time_mm_ss,,,,,,,,,," @NOW" +datetime_ymd_hmss,data_types,DateTime,text,"datetime YMD HMSS",,,datetime_seconds_ymd,,,,,,,,,," @NOW" +datetime_ymd_hm,data_types,,text,"datetime YMD HM",,,datetime_ymd,"2023-08-01 01:01","2023-08-31 01:59",,,,,,,," @DEFAULT='2023-08-01 01:02'" +datetime_mdy_hmss,data_types,,text,"datetime MDY HMSS",,,datetime_seconds_mdy,,,,,,,,,," @NOW" +datetime_dmy_hmss,data_types,,text,"datetime DMY HMSS",,,datetime_seconds_dmy,,,,,,,,,," @NOW" +integer,data_types,"Integer, number, and letters",text,"Integer ",,,integer,0,2,,,,,,,," @DEFAULT='1'" +number,data_types,,text,Numbers,,,number,0,2,,,,,,,," @DEFAULT='1'" +number_1_period,data_types,,text,"Numbers 1 decimal place - period as decimal ",,,number_1dp,0.0,3.0,,,,,,,," @DEFAULT='2.2'" +number_1_comma,data_types,,text,"Numbers 1 decimal place - comma as decimal ",,,number_1dp_comma_decimal,"0,0","3,0",,,,,,,," @DEFAULT='2,0'" +letters,data_types,,text,"Letters only",,,alpha_only,,,,,,,,,," @DEFAULT='ABCxyz'" +mrn_10_digits,data_types,,text,"MRN (10 Digits)",,,mrn_10d,,,,,,,,,," @DEFAULT='1234567890'" +mrn,data_types,,text,"MRN (generic)",,,mrn_generic,,,,,,,,,," @DEFAULT='A123456789'" +ssn,data_types,,text,"Social Security Number (US)",,,ssn,,,,,,,,,," @DEFAULT='123-12-1234'" +phone_north_america,data_types,Phone,text,"Phone (North America)",,,phone,,,,,,,,,," @DEFAULT='555-867-5309'" +phone_australia,data_types,,text,"Phone (Australia)",,,phone_australia,,,,,,,,,," @DEFAULT='(02) 1234 5678'" +phone_uk,data_types,,text,"Phone (UK)",,,phone_uk,,,,,,,,,," @DEFAULT='+44 7911 123456'" +zipcode_us,data_types,"Postal codes",text,"Zipcode (US)",,,zipcode,,,,,,,,,," @DEFAULT='90210'" +postal_5,data_types,,text,"Postal code 5 (France)",,,postalcode_french,,,,,,,,,," @DEFAULT='69008'" +postal_code_australia,data_types,,text,"Postal Code (Australia)",,,postalcode_australia,,,,,,,,,," @DEFAULT='5000'" +postal_code_canada,data_types,,text,"Postal Code (Canada)",,,postalcode_canada,,,,,,,,,," @DEFAULT='A0A 0A0'" +name_survey,survey,,text,Name,,,,,,,,,,,,," @DEFAULT=""Name """ +email_survey,survey,,text,Email,,,email,,,,,,,,,," @DEFAULT=""email@test.edu""" +name_consent,consent,,text,Name,,,,,,,,,,,,," @DEFAULT=""Name """ +email_consent,consent,,text,Email,,,email,,,,,,,,,," @DEFAULT=""email@test.edu""" +dob,consent,,text,DOB,,,date_ymd,,,,,,,,,," @TODAY" +signature_consent,consent,,file,"Signature ",,,signature,,,,,,,,,, diff --git a/Files/import/.keep b/Files/import/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/Files/import/.keep @@ -0,0 +1 @@ + diff --git a/Files/import/B.3.16.1000_New Record.csv b/Files/import/B.3.16.1000_New Record.csv new file mode 100644 index 00000000..3981191b --- /dev/null +++ b/Files/import/B.3.16.1000_New Record.csv @@ -0,0 +1,16 @@ +record_id,redcap_event_name,redcap_repeat_instrument,redcap_repeat_instance,redcap_data_access_group,redcap_survey_identifier,name,email,text_validation_complete,ptname,textbox,text2,radio,notesbox,multiple_dropdown_manual,multiple_dropdown_auto,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,calc_test,calculated_field,signature,file_upload,required,identifier,identifier_2,edit_field,date_ymd,date_mdy,date_dmy,time_hhmmss,time_hhmm,time_mmss,datetime_ymd_hmss,datetime_ymd_hm,datetime_mdy_hmss,datetime_dmy_hmss,integer,number,number_1_period,number_1_comma,letters,mrn_10_digits,mrn,ssn,phone_north_america,phone_australia,phone_uk,zipcode_us,postal_5,postal_code_australia,postal_code_canada,data_types_complete,survey_timestamp,name_survey,email_survey,survey_complete,consent_timestamp,name_consent,email_consent,dob,signature_consent,consent_complete +5,event_1_arm_1,,,,,,email@test.edu,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Name ,email@test.edu,4/14/23,,2 +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, \ No newline at end of file diff --git a/Files/import/B.3.16.1300_DataImport_Dag.csv b/Files/import/B.3.16.1300_DataImport_Dag.csv new file mode 100644 index 00000000..ec0c4c2a --- /dev/null +++ b/Files/import/B.3.16.1300_DataImport_Dag.csv @@ -0,0 +1,4 @@ +record_id,redcap_data_access_group,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,test_group1,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,test_group1,Brenda,brenda@noreply.edu,2,George,2/25/43,,,,,,,,,,,,,,,,, +300,test_group1,Paul,paul@noreply.edu,2,Ringo,7/7/40,drummer,The Beatles were an English rock band formed in Liverpool in 1960.,1,7,3,100,1,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, \ No newline at end of file diff --git a/Files/import/B.3.16.1300_DataImport_Rows.csv b/Files/import/B.3.16.1300_DataImport_Rows.csv new file mode 100644 index 00000000..0dc293e5 --- /dev/null +++ b/Files/import/B.3.16.1300_DataImport_Rows.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,02/25/1943,,,,,,,,,,,,,,,,, +300,Paul,paul@noreply.edu,2,Ringo,07/07/1940,drummer,The Beatles were an English rock band formed in Liverpool in 1960.,1,7,3,100,1,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, diff --git a/Files/import/B.3.16.400_DataImport_Rows Bad.csv b/Files/import/B.3.16.400_DataImport_Rows Bad.csv new file mode 100644 index 00000000..78133472 --- /dev/null +++ b/Files/import/B.3.16.400_DataImport_Rows Bad.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,2/25/43,,,,,,,,,,,,,,,,, +300,Paul,ringo@noreply,2,Ringo,40/7/7,drummer,,1,7,99,100,1,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, \ No newline at end of file diff --git a/Files/import/B.3.16.400_DataImport_Rows Corrected.csv b/Files/import/B.3.16.400_DataImport_Rows Corrected.csv new file mode 100644 index 00000000..be74e39e --- /dev/null +++ b/Files/import/B.3.16.400_DataImport_Rows Corrected.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,2/25/43,,,,,,,,,,,,,,,,, +300,Paul,ringo@noreply.edu,2,Ringo,7/7/40,drummer,,1,7,2,100,1,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, \ No newline at end of file diff --git a/Files/import/B.3.16.500_DataImport_Rows Bad.csv b/Files/import/B.3.16.500_DataImport_Rows Bad.csv new file mode 100644 index 00000000..80012106 --- /dev/null +++ b/Files/import/B.3.16.500_DataImport_Rows Bad.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,2/25/43,,,,,,,,,,,,,,,,, +300,Paul,paul@noreply.edu,2,Ringo,7/7/40,drummer,The Beatles were an English rock band formed in Liverpool in 1960.,99,99,99,222,99,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, \ No newline at end of file diff --git a/Files/import/B.3.16.500_DataImport_Rows Corrected.csv b/Files/import/B.3.16.500_DataImport_Rows Corrected.csv new file mode 100644 index 00000000..9b314368 --- /dev/null +++ b/Files/import/B.3.16.500_DataImport_Rows Corrected.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,2/25/43,,,,,,,,,,,,,,,,, +300,Paul,paul@noreply.edu,2,Ringo,7/7/40,drummer,The Beatles were an English rock band formed in Liverpool in 1960.,3,5,2,101,0,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, \ No newline at end of file diff --git a/Files/import/B.3.16.500_DataImport_Rows.csv b/Files/import/B.3.16.500_DataImport_Rows.csv new file mode 100644 index 00000000..8f005905 --- /dev/null +++ b/Files/import/B.3.16.500_DataImport_Rows.csv @@ -0,0 +1,4 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +100,Rob,rob@noreply.edu,1,,,,,,,,,,,,,,,,,,, +200,Brenda,brenda@noreply.edu,2,George,2/25/1943,,,,,,,,,,,,,,,,, +300,Paul,paul@noreply.edu,2,Ringo,7/7/1940,drummer,The Beatles were an English rock band formed in Liverpool in 1960.,1,7,3,100,1,1,1,8675309,123-45-6789,555-555-5555,5,2,0,, diff --git a/Files/import/B.3.16.600_DataImport.csv b/Files/import/B.3.16.600_DataImport.csv new file mode 100644 index 00000000..65aac821 --- /dev/null +++ b/Files/import/B.3.16.600_DataImport.csv @@ -0,0 +1,7 @@ +record_id,redcap_survey_identifier,data_types_timestamp,ptname,textbox,radio,notesbox,identifier,identifier_2,date_ymd,datetime_ymd_hmss,data_types_complete +1,,8/18/23 12:53,My Name,text box1,99,note box1,PHI,PHI2,8/18/23,8/18/23 12:53,2 +2,,8/18/23 12:54,Your Name,text box2,100,note box2,PHI,PHI2,8/18/23,8/18/23 12:53,2 +3,,8/18/23 12:54,That name,text box3,101,note box3,PHI,PHI2,8/18/23,8/18/23 12:54,2 +4,Joe,8/18/23 12:53,My Name,text box1,99,note box1,PHI,PHI2,8/18/23,8/18/23 12:53,2 +5,Jane,8/18/23 12:54,Your Name,text box2,100,note box2,PHI,PHI2,8/18/23,8/18/23 12:53,2 +6,John,8/18/23 12:54,That name,text box3,101,note box3,PHI,PHI2,8/18/23,8/18/23 12:54,2 \ No newline at end of file diff --git a/Files/import/B.3.16.900.100_ImportChangedLocked.csv b/Files/import/B.3.16.900.100_ImportChangedLocked.csv new file mode 100644 index 00000000..14cfc32a --- /dev/null +++ b/Files/import/B.3.16.900.100_ImportChangedLocked.csv @@ -0,0 +1,2 @@ +record_id,redcap_event_name,name,email,text_validation_complete,ptname +1,event_1_arm_1,Name Locked,email@test.edu,, \ No newline at end of file diff --git a/Files/import/B.3.16.900.100_ImportChangedUnlocked.csv b/Files/import/B.3.16.900.100_ImportChangedUnlocked.csv new file mode 100644 index 00000000..18c1c493 --- /dev/null +++ b/Files/import/B.3.16.900.100_ImportChangedUnlocked.csv @@ -0,0 +1,2 @@ +record_id,redcap_event_name,name,email,text_validation_complete,ptname +1,event_1_arm_1,Name,email@test.edu,, \ No newline at end of file diff --git a/Files/import/B.6.7.1500_Upload File.png b/Files/import/B.6.7.1500_Upload File.png new file mode 100644 index 00000000..4be05db0 Binary files /dev/null and b/Files/import/B.6.7.1500_Upload File.png differ diff --git a/Files/import/B3161200100_ACCURATE.csv b/Files/import/B3161200100_ACCURATE.csv new file mode 100644 index 00000000..18eb5999 --- /dev/null +++ b/Files/import/B3161200100_ACCURATE.csv @@ -0,0 +1,6 @@ +record_id,redcap_event_name,redcap_repeat_instrument,redcap_repeat_instance,redcap_data_access_group,redcap_survey_identifier,name,email,text_validation_complete +1,event_1_arm_1,,,,,,,0 +1,event_three_arm_1,,,,,,, +2,event_1_arm_1,,,,,,,2 +3,event_1_arm_1,,,,,,,0 +4,event_1_arm_1,,,,,New Name,,0 diff --git a/Files/import/B316200100_ImportTemplate_ImportRecord.csv b/Files/import/B316200100_ImportTemplate_ImportRecord.csv new file mode 100644 index 00000000..dcf69d6c --- /dev/null +++ b/Files/import/B316200100_ImportTemplate_ImportRecord.csv @@ -0,0 +1,2 @@ +record_id,name,email,text_validation_complete,ptname,bdate,role,notesbox,multiple_dropdown_auto,multiple_dropdown_manual,multiple_radio_auto,radio_button_manual,checkbox___1,checkbox___2,checkbox___3,required,identifier_ssn,identifier_phone,slider,date_time_hh_mm,date_time_hh_mm_ss,data_types_complete,data_dictionary_form_complete,phone,demo_branching_complete +1,Joe,joe@test.edu,,,,,,,,,,,,,,,,,,,,,, diff --git a/Files/import/B316200100_ImportTemplate_ImportRecord_Column.csv b/Files/import/B316200100_ImportTemplate_ImportRecord_Column.csv new file mode 100644 index 00000000..a5897030 --- /dev/null +++ b/Files/import/B316200100_ImportTemplate_ImportRecord_Column.csv @@ -0,0 +1,26 @@ +Variable / Field Name,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record,Record +record_id,1,2,,,,,,,,,,,,,,,,,, +name,Jack,Jill,,,,,,,,,,,,,,,,,, +email,jack@test.edu,jill@test.edu,,,,,,,,,,,,,,,,,, +text_validation_complete,,,,,,,,,,,,,,,,,,,, +ptname,,,,,,,,,,,,,,,,,,,, +bdate,,,,,,,,,,,,,,,,,,,, +role,,,,,,,,,,,,,,,,,,,, +notesbox,,,,,,,,,,,,,,,,,,,, +multiple_dropdown_auto,,,,,,,,,,,,,,,,,,,, +multiple_dropdown_manual,,,,,,,,,,,,,,,,,,,, +multiple_radio_auto,,,,,,,,,,,,,,,,,,,, +radio_button_manual,,,,,,,,,,,,,,,,,,,, +checkbox___1,,,,,,,,,,,,,,,,,,,, +checkbox___2,,,,,,,,,,,,,,,,,,,, +checkbox___3,,,,,,,,,,,,,,,,,,,, +required,,,,,,,,,,,,,,,,,,,, +identifier_ssn,,,,,,,,,,,,,,,,,,,, +identifier_phone,,,,,,,,,,,,,,,,,,,, +slider,,,,,,,,,,,,,,,,,,,, +date_time_hh_mm,,,,,,,,,,,,,,,,,,,, +date_time_hh_mm_ss,,,,,,,,,,,,,,,,,,,, +data_types_complete,,,,,,,,,,,,,,,,,,,, +data_dictionary_form_complete,,,,,,,,,,,,,,,,,,,, +phone,,,,,,,,,,,,,,,,,,,, +demo_branching_complete,,,,,,,,,,,,,,,,,,,, diff --git a/Files/import/B316800100_WOUT_REPEATS.csv b/Files/import/B316800100_WOUT_REPEATS.csv new file mode 100644 index 00000000..420142dd --- /dev/null +++ b/Files/import/B316800100_WOUT_REPEATS.csv @@ -0,0 +1,2 @@ +record_id,redcap_event_name,name,email,text_validation_complete,ptname,consent_complete +4,event_1_arm_1,NewName,,,, diff --git a/Files/import/B316800100_W_REPEATS.csv b/Files/import/B316800100_W_REPEATS.csv new file mode 100644 index 00000000..0dd2a704 --- /dev/null +++ b/Files/import/B316800100_W_REPEATS.csv @@ -0,0 +1,3 @@ +record_id,redcap_event_name,redcap_repeat_instrument,redcap_repeat_instance,redcap_data_access_group,name,email,text_validation_complete +4,event_1_arm_1,text_validation,1,,NewName,, +4,event_1_arm_1,text_validation,2,,OtherNewName,, diff --git a/Files/import/File_Upload.png b/Files/import/File_Upload.png new file mode 100644 index 00000000..ff2eab5f Binary files /dev/null and b/Files/import/File_Upload.png differ diff --git a/Files/import/instrument designation.csv b/Files/import/instrument designation.csv new file mode 100644 index 00000000..63ebf6ed --- /dev/null +++ b/Files/import/instrument designation.csv @@ -0,0 +1,14 @@ +arm_num,unique_event_name,form +1,event_1_arm_1,survey +1,event_1_arm_1,consent +1,event_2_arm_1,text_validation +1,event_2_arm_1,data_types +1,event_2_arm_1,consent +1,event_three_arm_1,survey +1,event_three_arm_1,consent +1,event_4_arm_1,text_validation +1,event_4_arm_1,data_types +1,event_4_arm_1,consent +2,event_one_arm_2,data_types +3,event_1_arm_3,consent +4,event_1_arm_4,consent diff --git a/Files/import/testusers_bulk_upload.csv b/Files/import/testusers_bulk_upload.csv new file mode 100644 index 00000000..911f75a2 --- /dev/null +++ b/Files/import/testusers_bulk_upload.csv @@ -0,0 +1,5 @@ +Username, First name, Last name, Email address +Test_Admin,Admin,Test,test_admin@redcap.edu +Test_User2,User2,Test,Test_User2@redcap.edu +Test_User3,User3,Test,Test_User3@redcap.edu +Test_User4,User4,Test,Test_User4@redcap.edu diff --git a/Files/import/user list for project 1.csv b/Files/import/user list for project 1.csv new file mode 100644 index 00000000..47af47d6 --- /dev/null +++ b/Files/import/user list for project 1.csv @@ -0,0 +1,6 @@ +username,expiration,data_access_group,data_access_group_id,design,user_rights,data_access_groups,reports,stats_and_charts,manage_survey_participants,calendar,data_import_tool,data_comparison_tool,logging,file_repository,data_quality_create,data_quality_execute,api_export,api_import,record_create,record_rename,record_delete,lock_records_all_forms,lock_records,lock_records_customization,mycap_participants,random_setup,random_dashboard,random_perform,forms,forms_export +test_admin,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,"text_validation:1,data_types:1,survey:3,consent:3","text_validation:1,data_types:1,survey:1,consent:1" +test_user1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,"text_validation:1,data_types:1,survey:3,consent:3","text_validation:1,data_types:1,survey:1,consent:1" +test_user2,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,"text_validation:1,data_types:1,survey:3,consent:3","text_validation:3,data_types:3,survey:3,consent:3" +test_user3,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,"text_validation:2,data_types:2,survey:2,consent:2","text_validation:2,data_types:2,survey:2,consent:2" +test_user4,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,"text_validation:0,data_types:0,survey:0,consent:0","text_validation:0,data_types:0,survey:0,consent:0"