redcap_cypress

v1.0.63
Step Definition Versions:

Browse Projects

I (should) see {int} row(s) displayed in the projects table

Parameters
num_rows (int) number of rows expected to be displayed in the Projects Table

Verifies the number of rows in the Browse Projects table.

Author: Adam De Fouw

I (should) see a row labeled {string} in the projects table

Parameters
project_name (string) name of the REDCap Project we are expecting to see

Verifies a specific project - by name - is displayed within the projects table.

Author: Adam De Fouw

I (should) see projects sorted correctly when I click on {string} to sort in either direction

Parameters
column_name (string) name of the Column we want to click on to change the sort direction

Clicks on a specific column to sort it in the opposite direction versus initial state.

Author: Adam De Fouw

Configuration Check

Parameters
link_label (string) the name of the link label in the Control Center panel
title (string) the title of the page visited (optional)

Verifies a Control Center link is visible and visitable.

Author: Adam De Fouw

Control Center

I {enableDisable} the Administrator Privilege {string} for the administrator {string}

Parameters
enableDisable
  • 'enable'
  • 'disable'
admin_user (string) the name of the user you are setting the privilege for

Enables the privilege for the administrator based upon user.

Author: Adam De Fouw

I enable the Administrator Privilege {string} for a new administrator

Parameters
privilege (string) the label of the privilege you want for the user

Enables the privilege for the administrator based upon user.

Author: Adam De Fouw

I click on the "{toDoTableIcons}" icon for the {toDoRequestTypes} request created for the project named {string} within the "{toDoTableTypes}" table

Parameters
toDoTableIcons
  • 'process request'
  • 'get more information'
  • 'add or edit a comment'
  • 'Move to low priority section'
  • 'archive request notification'
toDoRequestTypes
  • 'Move to prod'
  • 'Approve draft changes'
  • 'Copy project'
  • 'Delete project'
project_name (string) the text value of project name you want to target
toDoTableTypes
  • 'Pending Requests'
  • 'Low Priority Pending Requests'
  • 'Completed & Archived Requests'

Clicks on an icon within the To-Do-List page based upon Icon, Request Type, Project Name, and Table Name specified.

Author: Adam De Fouw

I (should) see the "{toDoRequestTypes}" request created for the project named {string} within the "{toDoTableTypes}" table

Parameters
toDoRequestTypes
  • 'Move to prod'
  • 'Approve draft changes'
  • 'Copy project'
project_name (string) the text value of project name you want to target
toDoTableTypes
  • 'Pending Requests'
  • 'Low Priority Pending Requests'
  • 'Completed & Archived Requests'

Identifies Request Type within the To-Do-List page based upon Project Name, and Table Name specified.

Author: Adam De Fouw

CSV

the downloaded CSV with filename {string}( should have)( has) {int} row(s)

Parameters
filename (string) the filename the downloaded CSV
num_rows (int) the number of row sthe CSV file should have

Verifies number of rows the CSV file should have.

Author: Tintin Nguyen

the downloaded CSV with filename {string}( should have)( has) the( ){headerOrNot}( row)(s) below

Parameters
filename (string) the filename the downloaded CSV
headerOrNot
  • 'header and'
  • 'header'
headings (DataTable) the DataTable of headings this file should have

Verifies headers and rows of the CSV file.

Author: Tintin Nguyen

the downloaded CSV with filename {string}( should have)( has) a value {string} for column {string}

Parameters
filename (string) the filename the downloaded CSV
value (string) the value of the column data we are verifying
column (string) the text name of the column data we are verifying

Verifies a row value exists for a given column within a CSV file.

Author: Tintin Nguyen

Data Access Groups

I click the X to delete the data access group named {string}

Parameters
event (string) name of the event displayed on the Record Home Page

Activates a pop-up confirming that user wants to delete all data on a specific even within a record.

Author: Adam De Fouw

I click on a table cell containing the text {string} in the {tableTypes} table and clear field and {enterType} enter {string}

Parameters
text (string) the text to locate the table cell
tableTypes
  • 'a'
  • 'logging'
  • 'browse users'
  • 'file repository'
  • 'administrators'
  • 'reports'
  • 'report data'
  • 'define events'
  • 'data access groups'
  • 'DAGs Switcher'
  • 'record status dashboard'
  • 'data collection instruments'
  • 'codebook'
  • 'import data display'
  • 'participant list'
  • 'user rights'
  • 'record locking'
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
  • 'click on'
new_text (string) new text to type

Clicks on a table cell that is identified by a particular text string specified.

Author: Adam De Fouw

I {clickType} {string} for user {string} in the DAG Switcher {baseElement}

Parameters
clickType
  • 'click on'
  • 'check'
  • 'uncheck'
dag (string) the name of the Data Access Group
user (string) the username of user to interact with
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' on the Add/Edit Branching Logic dialog box'
  • ' in the Add/Edit Branching Logic dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the open date picker widget'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Selects a checkbox field by its label.

Author: Adam De Fouw

Data Import

I upload a {string} format file located at {string}, by clicking the button near {string} to browse for the file, and clicking the button labeled {string} to upload the file

Parameters
format (string) the format of the file that is being uploaded (e.g. csv)
file_location (string) the location of the file being uploaded (e.g. import_files/core/filename.csv)
uplaod_label (string) text near the upload label
button_label (string) text on the button you click to upload

Imports well-formed REDCap data import file (of specific type) to a specific project given a Project ID.

Author: Adam De Fouw

I click the button labeled {string} to select and upload the following file(s) to the File Repository:

Parameters
button_label (string) the name on the button we click
null-null (dataTable) options - the filenames from the /fixtures/ directory that we want to upload

Imports file(s) to the File Repository.

Author: Adam De Fouw

I create a new project named {string} by clicking on "New Project" in the menu bar, selecting "{projectType}" from the dropdown, choosing file {string}, and clicking the "{projectRequestLabel}" button

Parameters
project_name (string) the desired name for the project
projectType
  • 'Practice / Just for fun'
  • 'Operational Support'
  • 'Research'
  • 'Quality Improvement'
  • 'Other'
cdisc_file (string) the fixture path to the CDISC XML file (relative path; fixtures are located in /cypress/fixtures/cdisc_files/)
projectRequestLabel
  • 'Create Project'
  • 'Send Request'

Creates a new REDCap project of a specific project type from a CDISC XML file.

Author: Adam De Fouw

Development Only

I want to pause

Pauses the Cypress session.

Author: Adam De Fouw

I want to export a snapshot of this feature here

Exports a snapshot of the current database structure at that point in the test and pauses. On subsequent runs, feature will attempt to login with the same user on the same page.

Author: Adam De Fouw

Download

Parameters
text (string) the text on the anchor element you want to click

Downloads a file from an anchor element with a specific text label.

Author: Adam De Fouw

Interactions

I select the submit option labeled "{instrumentSaveOptions}" on the Data Collection Instrument

Parameters
instrumentSaveOptions
  • 'Save & Stay'
  • 'Save & Exit Record'
  • 'Save & Go To Next Record'
  • 'Save & Exit Form'
  • 'Save & Go To Next Form'
  • 'Save & Go To Next Instance'
  • 'Save & Add New Instance'

Clicks a specific submit option to save a record on a Data Collection Instrument

Author: Adam De Fouw

I click on {articleType} {onlineDesignerButtons} {ordinal} button {labeledExactly} {string} {saveButtonRouteMonitoring} {baseElement} {iframeVisibility} {toDownloadFile}

Parameters
articleType
  • 'a'
  • 'the'
onlineDesignerButtons
  • '"Enable"'
  • '"Disable"'
  • '"Choose action"'
  • '"Survey settings"'
  • '"Automated Invitations"'
  • 'enabled survey icon'
  • '"View Report"'
  • '"Execute"'
  • '"Save"'
ordinal
  • 'first'
  • 'second'
  • 'third'
  • 'fourth'
  • 'fifth'
  • 'sixth'
  • 'seventh'
  • 'eighth'
  • 'ninth'
  • 'tenth'
  • 'eleventh'
  • 'twelfth'
  • 'thirteenth'
  • 'fourteenth'
  • 'fifteenth'
  • 'sixteenth'
  • 'seventeenth'
  • 'eighteenth'
  • 'nineteenth'
  • 'twentieth'
  • 'last'
labeledExactly
  • 'labeled'
  • 'labeled exactly'
  • 'in the row labeled'
  • 'for the instrument row labeled'
  • 'for the variable'
  • 'for the File Repository file named'
  • 'for Data Quality Rule #'
  • 'within the Record Locking Customization table for the Data Collection Instrument named'
saveButtonRouteMonitoring
  • ' on the dialog box for the Repeatable Instruments and Events module'
  • ' on the Designate Instruments for My Events page'
  • ' on the Online Designer page'
  • ' and cancel the confirmation window'
  • ' and accept the confirmation window'
  • ' in the dialog box to request a change in project status'
  • ' to rename an instrument'
  • ' in the "Add New Field" dialog box'
  • ' in the "Edit Field" dialog box'
  • ' and will leave the tab open when I return to the REDCap project'
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' on the Add/Edit Branching Logic dialog box'
  • ' in the Add/Edit Branching Logic dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the open date picker widget'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'
iframeVisibility
  • ''
  • ' in the iframe'
toDownloadFile
  • ' to download a file'
  • ' near "with records in rows" to download a file'
  • ' near "with records in columns" to download a file'

Clicks on a button element with a specific text label.

Author: Adam De Fouw

I click on the {onlineDesignerFieldIcons} {fileRepoIcons} {linkNames} {labeledExactly} {string} {saveButtonRouteMonitoring} {toDownloadFile} {baseElement}

Parameters
linkNames
  • 'link'
  • 'tab'
  • 'instrument'
  • 'icon'
text (string) the text on the anchor element you want to click
saveButtonRouteMonitoring
  • ''
  • ' on the dialog box for the Repeatable Instruments and Events module'
  • ' on the Designate Instruments for My Events page'
  • ' on the Online Designer page'
  • ' and cancel the confirmation window'
  • ' and accept the confirmation window'
  • ' in the dialog box to request a change in project status'
  • ' to rename an instrument'
  • ' in the "Add New Field" dialog box'
  • ' in the "Edit Field" dialog box'
  • ''
toDownloadFile
  • ' to download a file'
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Clicks on an anchor element with a specific text label.

Author: Adam De Fouw

I click on the button labeled {string} for the row labeled {string}

Parameters
text (string) the text on the button element you want to click
label (string) the lable of the row with the button you want to click

Clicks on a button element with a specific text title inside the table row label

Author: Tintin Nguyen

I {enterType} {string} into the input field labeled {string} {baseElement}

Parameters
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
  • 'click on'
label (string) the label of the field
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Author: Adam De Fouw

I {enterType} {string} into the textarea field labeled {string} {baseElement}

Parameters
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
text (string) the text to enter into the field
label (string) the label of the field
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Enters a specific text string into a field identified by a label. (NOTE: The field is not automatically cleared.)

Author: Adam De Fouw

I enter {string} into the data entry form field labeled {string}

Parameters
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
text (string) the text to enter into the field
label (string) the label of the field

Enters a specific text string into a field identified by a label. (NOTE: The field is not automatically cleared.)

Author: Adam De Fouw

I clear the field labeled {string}

Parameters
label (string) the label of the field to select

Clears the text from an input field based upon its label

Author: Adam De Fouw

I {clickType} the {checkBoxRadio} labeled {string} {baseElement}

Parameters
clickType
  • 'click on'
  • 'check'
  • 'uncheck'
checkBoxRadio
  • 'checkbox'
  • 'radio'
label (string) the label associated with the checkbox field
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Selects a checkbox field by its label

Author: Adam De Fouw

I click on the input element labeled {string}

Parameters
clickType
  • 'click on'
  • 'check'
  • 'uncheck'
elmType
  • 'input'
  • 'list item'
  • 'checkbox'
  • 'span'
label (string) the label associated with the checkbox field

Selects a checkbox field by its label

Author: Adam De Fouw

I set the input file field named {string} to the file at path {string}

Parameters
name (string) the name attribute of the input file field
path (string) the path of the file to upload
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Selects a file path to upload into input named name

Author: Tintin Nguyen

I enter {string} into the field identified by {string} for the label {string}

Parameters
text (string) the text to enter into the field
selector (string) the selector of the element to enter the text into
label (string) the label associated with the field

Selects an input field by its label and then by selector

Author: Tintin Nguyen

for this scenario, I will {confirmation} a confirmation window containing the text {string}

Parameters
confirmation
  • 'accept'
  • 'cancel'
window_text (string) text that is expected to appear in the confirmation window

Pre-emptively tell Cypress what to do about a confirmation window. NOTE: This step must come BEFORE step that clicks button.

Author: Adam De Fouw

I export all data in {string} format and expect {int} record

Parameters
value (string) type of export
num (int) expect this many records

Exports all data in selected export type

Author: Rushi Patel

I click the element containing the following text: {string}

Parameters
value (string) text that is inside the element

Clicks the element that contains the text specified

Author: Adam De Fouw

I select the radio option {string} for the field labeled {string}

Parameters
option (string) option we want to select from the radio options
field_label (string) the label on the field we want to select

Clicks the radio option on the field specified

Author: Adam De Fouw

I select the dropdown option {string} for the Data Collection Instrument field labeled {string}

Parameters
dropdown_option (string) option we want to select from the dropdown
field_label (string) the label on the field we want to select

Clicks the dropdown option on the field specified

Author: Adam De Fouw

I select the checkbox option {string} for the field labeled {string}

Parameters
checkbox_option (string) option we want to select from the dropdown
field_label (string) the label on the field we want to select

Clicks the dropdown option on the field specified

Author: Adam De Fouw

I select {string} on the {dropdownType} field labeled {string} {baseElement}

Parameters
text (string) the text to enter into the field
dropdownType
  • 'dropdown'
  • 'multiselect'
  • 'checkboxes'
  • 'radio'
label (string) the label of the field
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Selects a specific item from a dropdown

Author: Adam De Fouw

I wait for (another) {int} {timeType}

Parameters
timeType
  • 'seconds'
  • 'second'
  • 'minutes'
  • 'minute'

Waits for specified number of second(s)/minute(s) before allowing anything else to happen

Author: Adam De Fouw

I {enterType} {string} into the field with the placeholder text of {string}

Parameters
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
text (string) the text to enter into the field
placeholder (string) the text that is currently in the field as a placeholder

Enter text into a specific field

Author: Adam De Fouw

I close the iframe window

Closes iframe window on the To-Do List page

Author: Adam De Fouw

I click on the table heading column labeled {string}

Parameters
column (string) the text to enter into the field

Clicks on a specific table column

Author: Adam De Fouw

I click on the table heading column labeled {string}

Parameters
column (string) the text to enter into the field

Clicks on a specific table column

Author: Adam De Fouw

I enter a signature into the signature field

Parameters
column (string) the text to enter into the field

Clicks on a specific table column

Author: Adam De Fouw

I move the slider field labeled {string} to the position of {int}

Parameters
label (string) the label of the field
position (string) the desired position we want to move the slider to

Moves the slider to a specific position

Author: Adam De Fouw

I move the Hour slider for the open date picker widget to {int}

Parameters
hour (int) the desired hour position we want

Moves the slider to a specific position for the Hour slider

Author: Adam De Fouw

I move the Minute slider for the open date picker widget to {int}

Parameters
minute (int) the desired minute position we want

Moves the slider to a specific position for the Minute slider

Author: Adam De Fouw

I open the date picker widget on the field labeled {string}

Parameters
label (string) the label of the field

Open the date picker widget

Author: Adam De Fouw

I click on the {string} button for the field labeled {string}

Parameters
label (string) the label of the field

Open the date picker widget

Author: Adam De Fouw

Logging

I select the {string} option from the Filter by username dropdown field

Parameters
text (string) dropdown option

Select logging option from the Filter by username dropdown field

Author: Rushi Patel

I export all logging from the project and verify the result against expected logging results for this version of REDCap

Exports all logging from the Logging page

Author: Adam De Fouw

Login

I (attempt to) (am still) (login) (logged in) to REDCap with the user {string}

Parameters
user (string) the user we are logging in as (e.g. 'Test_User1' or 'Test_Admin' as specified in the cypress.env.json file)

Logs in to REDCap using a seeded user type.

Author: Adam De Fouw

I logout

Logs a given user out of REDCap

Author: Adam De Fouw

Longitudinal Events

I change the current Event Name from {string} to {string}

Parameters
current_name (string) the name of the event when this step is reached
proposed_name (string) the name of the event to change the current event name to

Changes the name of an event on the "Define My Events" page for a Longitudinal Project

Author: Adam De Fouw

I verify I cannot change the Event Name of {string} while in production

Parameters
current_name (string) the name of the event when this step is reached

Verifies the event name cannot be changed in production mode

Author: Adam De Fouw

I add an event named {string} with offset of {int} day(s) into the currently selected arm

Parameters
event_name (string) the name of the event

Adds an event via the "Define My Events" page for a Longitudinal Project

Author: Adam De Fouw

I click on the {editField} image for the event named {string}

Parameters
editEvent
  • 'Edit'
  • 'Delete'

Clicks on the image link of the action you want to perform on a event

Author: Adam De Fouw

I (should) (not) see a Data Collection Instrument named {string} for the Event named {string}

Parameters
instrument (string) the name of the instrument
event (string) the name of the event

Verifies an instrument exists within an event on a longitudinal project

Author: Adam De Fouw

I enable the Data Collection Instrument named {string} for the Event named {string}

Parameters
instrument_name (string) the name of the Data Collection Instrument we are enabling for a specific event
event_name (string) the name of the event to enable the Data Collection Instrument for

Enables a Data Collection Instrument for a specific Event within a Longitudinal Project. (Assumption: User is on "Designate Instruments for My Events" page.)

Author: Adam De Fouw

I disable the Data Collection Instrument named {string} for the Event named {string}

Parameters
instrument_name (string) the name of the Data Collection Instrument we are disabling for a specific event
event_name (string) the name of the event to disable the Data Collection Instrument for

Disables a Data Collection Instrument for a specific Event within a Longitudinal Project. (Assumption: User is on "Designate Instruments for My Events" page.)

Author: Adam De Fouw

I verify the Data Collection Instrument named {string} is enabled for the Event named {string}

Parameters
instrument_name (string) the name of the Data Collection Instrument we are disabling for a specific event
event_name (string) the name of the event to disable the Data Collection Instrument for

Verifies a Data Collection Instrument is enabled for a specific Event within a Longitudinal Project. (Assumption: User is on "Designate Instruments for My Events" page.)

Author: Adam De Fouw

I verify the Data Collection Instrument named {string} is disabled for the Event named {string}

Parameters
instrument_name (string) the name of the Data Collection Instrument we are disabling for a specific event
event_name (string) the name of the event to disable the Data Collection Instrument for

Verifies a Data Collection Instrument is disabled for a specific Event within a Longitudinal Project. (Assumption: User is on "Designate Instruments for My Events" page.)

Author: Adam De Fouw

I verify the Data Collection Instrument named {string} is unmodifiable for the Event named {string}

Parameters
instrument_name (string) the name of the Data Collection Instrument we are disabling for a specific event
event_name (string) the name of the event to disable the Data Collection Instrument for

Verifies a Data Collection Instrument is unmodifiable for a specific Event within a Longitudinal Project. (Assumption: User is on "Designate Instruments for My Events" page.)

Author: Adam De Fouw

Online Designer

I {enterType} Choice(s) of {string} in(to) the open "{addEditField}" dialog box

Parameters
enterType
  • 'verify'
  • 'enter'
  • 'clear field and enter'
  • 'click on'
choices (string) the choices in string format
addEditField
  • 'Add New Field'
  • 'Edit Field'

Author: Adam De Fouw

I enter {string} into the Field Label of the open "{addEditField}" dialog box

Parameters
label (string) the label of the field to edit
addEditField
  • 'Add New Field'
  • 'Edit Field'

Edits the field label of the open dialog box

Author: Adam De Fouw

I enter {string} into the Variable Name of the open "{addEditField}" dialog box

Parameters
variable_name (string) the variable_name of the field to edit
addEditField
  • 'Add New Field'
  • 'Edit Field'

Edits the variable name of the open dialog box

Author: Adam De Fouw

I enter the equation {string} into Calculation Equation of the open "{addEditField}" dialog box

Parameters
equation (string) the equation to enter
addEditField
  • 'Add New Field'
  • 'Edit Field'

Enters specified equation into a Calculated Field within an open "Edit Field" dialog box

Author: Adam De Fouw

I select {string} from the Field Type dropdown of the open "{addEditField}" dialog box

Parameters
label (string) the label of the field to edit
addEditField
  • 'Add New Field'
  • 'Edit Field'

Selects option from the Field Type dropdown in open "Edit Field" dialog box

Author: Adam De Fouw

I select {string} from the Validation dropdown of the open "{addEditField}" dialog box

Parameters
label (string) the label of the field to edit
addEditField
  • 'Add New Field'
  • 'Edit Field'

Selects option from the Validation dropdown in open "Edit Field" dialog box

Author: Adam De Fouw

I mark the field required

Marks a field as required within the Online Designer.

Author: Adam De Fouw

I mark the field as NOT required

Marks a field as NOT required within the Online Designer.

Author: Adam De Fouw

I mark the field as an identifier

Marks a field as required within the Online Designer.

Author: Adam De Fouw

I mark the field as NOT an identifier

Marks a field as NOT an identifier within the Online Designer.

Author: Adam De Fouw

I add an instrument below the instrument named {string}

Parameters
instrument (string) the name of the instrument you are adding an instrument below

Interactions - Clicks the Add Instrument Here button below a specific Instrument name

Author: Tintin Nguyen

I click on the Instrument Action {string} for the instrument named {string}

Parameters
action (string) the action label of the link that should be clicked
instrument (string) the name of the instrument that a form should be added below

Interactions - Clicks the "choose action" button and clicks an anchor link

Author: Tintin Nguyen

I drag on the instrument named {string} to the position {int}

Parameters
instrument (string) the naame of the instrument being drag-n-dropped
position (int) the position (index starting from 0) where the instrument should be placed

Interactions - Drag and drop the instrument to the int position

Author: Tintin Nguyen

I click on the {addField} input button below the field named {string}

Parameters
addField
  • 'Add Field'
  • 'Add Matrix of Fields'
  • 'Import from Field Bank'
target (string) the name of the field you want to add a field below

Clicks on one of the add field options below a specified field name

Author: Tintin Nguyen

I click on the {editField} image for the field named {string}

Parameters
editField
  • 'Edit'
  • 'Branching Logic'
  • 'Copy'
  • 'Move'
  • 'Delete Field'
field (string) the name of the field you want to edit

Clicks on the image link of the action you want to perform on a field

Author: Tintin Nguyen

I delete the field named {string}

Parameters
type (string) the type of edit action you want to perform on a field

Interactions - Clicks on the image link of the action you want to perform on a field

Author: Adam De Fouw

I move the field named {string} after the field named {string}

Parameters
field_name (string) name of field you want to move
after_field (string) name of field you want to move AFTER

Moves a field AFTER the field specified

Author: Adam De Fouw

I drag (on) the field variable named {string} {aboveBelow} the field variable named {string}

Parameters
field (string) the name of the field being drag-n-dropped
position (int) the position (index starting from 0) where the instrument should be placed

Interactions - Drag and drop the field to the int position

Author: Tintin Nguyen

I should see a field named {string} {beforeAfter} field named {string}

Parameters
fieldBefore (string) the field name that comes before
beforeAfter
  • 'before'
  • 'after'

Visually verifies that the fieldBefore is before fieldAfter

Author: Tintin Nguyen

I add a new {fieldType} field labeled {string} with variable name {string}

Parameters
fieldType
  • 'Text Box'
  • 'Notes Box'
  • 'Drop-down List'
  • 'Radio Buttons'
  • 'Checkboxes'
  • 'Yes - No'
  • 'True - False'
  • 'Signature'
  • 'File Upload'
  • 'Slider'
  • 'Descriptive Text'
  • 'Begin New Section'
  • 'Calculated Field'
variable_name (string) variable name

Creates a new field in the Online Designer

Author: Madilynn Peterson

I drag the instrument named {string} to the {ordinal} row

Parameters
instrument (string) the naame of the instrument being drag-n-dropped
ordinal
  • 'first'
  • 'second'
  • 'third'
  • 'fourth'
  • 'fifth'
  • 'sixth'
  • 'seventh'
  • 'eighth'
  • 'ninth'
  • 'tenth'
  • 'eleventh'
  • 'twelfth'
  • 'thirteenth'
  • 'fourteenth'
  • 'fifteenth'
  • 'sixteenth'
  • 'seventeenth'
  • 'eighteenth'
  • 'nineteenth'
  • 'twentieth'
  • 'last'

Interactions - Drag and drop the instrument to the int position

Author: Tintin Nguyen

I (should) see the instrument named {string} in the {ordinal} row

Parameters
instrument (string) the naame of the instrument being drag-n-dropped
ordinal
  • 'first'
  • 'second'
  • 'third'
  • 'fourth'
  • 'fifth'
  • 'sixth'
  • 'seventh'
  • 'eighth'
  • 'ninth'
  • 'last'

Interactions - Drag and drop the instrument to the int position

Author: Tintin Nguyen

I drag the field named {string} to the {ordinal} row

Parameters
field (string) the name of the field being drag-n-dropped
ordinal
  • 'first'
  • 'second'
  • 'third'
  • 'fourth'
  • 'fifth'
  • 'sixth'
  • 'seventh'
  • 'eighth'
  • 'ninth'
  • 'last'

Interactions - Drag and drop the field to the int position

Author: Tintin Nguyen

Parameters
field_label (string) the label of the field

Interactions - Clicks the reset link for a specific field label

Author: Adam De Fouw

I (should )see {string} within the field with variable name {string}

Parameters
text
  • 'Add Field'
  • 'Add Matrix of Fields'
  • 'Import from Field Bank'
variable_name (string) the name of the field you want to add a field below

Clicks on one of the add field options below a specified field name

Author: Adam De Fouw

Project Setup

I (should) see that repeatable instruments are {repeatability}

Parameters
repeatability
  • 'enabled'
  • 'disabled'
  • 'modifiable'
  • 'unchangeable'

Visually verifies Repeatable Instrument functionality is enabled or disabled in the project.

Author: Corey Debacker

I open the dialog box for the Repeatable Instruments and Events module

Opens the dialog box for the Repeatable Instruments and Events module on the Project Setup page.

Author: Adam De Fouw

Record Home Page

I click the (bubble) ("X" icon) (to) {addOrSelect} (a record for the) (for the row labeled) {string} (longitudinal) (instrument) on (the) (event) (column labeled) {string}{cellAction}

Parameters
addOrSelect
  • 'add'
  • 'select'
instrument (string) the name of the instrument you want to add a record to
event (string) the name of the event you want to add a record to
cellAction
  • ' and click the new instance link'
  • ' and click on the bubble'
  • ' and click the repeating instrument bubble for the first instance'
  • ' and click the repeating instrument bubble for the second instance'
  • ' and click the repeating instrument bubble for the third instance'

Clicks on an instrument / event pairing to add a record on the Record Home Page

Author: Adam De Fouw

Record Status Dashboard

I click on the bubble for the {string} data collection instrument for {recordIDEvent} {string}

Parameters
text (string) the text value of data collection instrument you want to target
recordIDEvent
  • 'record ID'
  • 'event'

Clicks on a bubble within the Record Status Dashboard based upon record ID and the data instrument specified.

Author: Adam De Fouw

I locate the bubble for the {string} instrument on event {string} for record ID {string} {cellAction}

Parameters
instrument (string) the data collection instrument you want to target
event (string) the event name you want to target
record_id (string) the value of the record_id you want to target
cellAction
  • ' and click the new instance link'
  • ' and click on the bubble'
  • ' and click the repeating instrument bubble for the first instance'
  • ' and click the repeating instrument bubble for the second instance'
  • ' and click the repeating instrument bubble for the third instance'

Clicks on a bubble within the Record Status Dashboard based upon record ID and the longitudinal data instrument specified within an event.

Author: Adam De Fouw

I select record ID {string} from arm name {string} on the (Add|View) / Edit record page

Parameters
record_id (string) the name of the record ID
arm_name (string) name of the arm as displayed in the dropdown menu (e.g. Arm 1: Arm 1)

Selects a specific record from the Add / Edit record page

Author: Adam De Fouw

Parameters
event (string) name of the event displayed on the Record Home Page

Activates a pop-up confirming that user wants to delete all data on a specific even within a record

Author: Adam De Fouw

Reporting

I should see the report with {int} rows

Parameters
number (int) the number of rows seen in a report

Visibility - Visually verifies that the report has the correct number of rows

Author: Tintin Nguyen

I should see the report with {int} distinct records

Parameters
count (int) the number of different records seen in a report

Visibility - Visually verifies that the report has the correct number of distinct records

Author: Tintin Nguyen

I should see the report with {int} repeating instrument rows

Parameters
count (int) the number of repeating instrument rows seen in a report

Visibility - Visually verifies that the report has the correct number of repeating instrument rows

Author: Tintin Nguyen

I should see the report with the column named {string} {ordering}

Parameters
name (string) the column name that should be ordered.
order (string) the order of the record IDs.

Visibility - Visually verifies that the report has record IDs in correct order

Author: Tintin Nguyen

I click on the button labeled {string} for the report named {string}

Parameters
button (string) the text on the button element you want to click
report (string) the name of the report you want to click buttons for

Interactions - Clicks on a button element with a specific text label for a specific report name

Author: Tintin Nguyen

Parameters
record (string) the name of the record you want to click the link for
text (string) the name of the event you want to click the record for

Interactions - Clicks on a button element with a specific text label for a specific report name

Author: Tintin Nguyen

Parameters
file (string) the text file name of image you are looking for
text (string) the text label of the table row you are looking for

Interactions - Clicks on the image of the table row with the text label

Author: Tintin Nguyen

I export data for the report named {string} in {string} format

Parameters
button (string) the text label of the Report you are looking for
report_name (string) the name of the report you want

Interactions - Opens the Export Data dialog for a specific Report Name

Author: Tintin Nguyen

I click on the download icon(s) to receive the file(s) for the {string} format in the dialog box

Parameters
format (string) the text format of the data export you are looking to receive

Interactions - Checks the hyperlinks and download formats for the data export

Author: Tintin Nguyen

I should (see) (have) (a) (latest downloaded) {string} file (that contains) (containing) (including) the (headings) (headings and rows) below

Parameters
format (string) the text format of the data export you are looking to receive
headings (DataTable) the DataTable of headings this file should have

Interactions - Checks the number of rows (excluding header) the file should have

Author: Tintin Nguyen

I should have a {string} file that contains {int} rows

Parameters
format (string) the text format of the data export you are looking to receive
count (int) the number of rows of data this file should have

Interactions - Checks the number of rows (excluding header) the file should have

Author: Tintin Nguyen

I should have a {string} file that contains {int} distinct records

Parameters
format (string) the text format of the data export you are looking to receive
count (int) the number of distinct records of data this file should have

Interactions - Checks the number of distinct records the file should have

Author: Tintin Nguyen

I should have a {string} file that contains {int} repeating instrument rows

Parameters
format (string) the text format of the data export you are looking to receive
count (int) the number of repeating instrument rows

Interactions - Checks the number of repeating instrument rows the file should have

Author: Tintin Nguyen

Survey

I enter the Username: {string} and password {string} for e-signature

Parameters
username (string) username
password (string) password

Enters credentials when enabling e-signature on survey

Author: Rushi Patel

I click on the survey option label containing {string} label

Parameters
survey_option_label (string) the label of the survey option specified
tag (string) (optional) the value of the tag specified

Clicks on a survey option label. Track it via an optional tag.

Author: Adam De Fouw

I return to the REDCap page I opened the survey from

Returns user to the REDCap page they were on before they exited to take a survey

Author: Adam De Fouw

User Rights

I assign an expiration date to user {string} with username of {string}

Parameters
name (string) the proper name of the user (e.g. Jane Doe)
username (string) the username assigned to the user (e.g. jdoe)

Assigns 'Expiration Date' user right to a given user

Author: Adam De Fouw

I remove the expired expiration date to user {string} with username of {string}

Parameters
name (string) the proper name of the user (e.g. Jane Doe)
username (string) the username assigned to the user (e.g. jdoe)

Removes 'Expiration Date' user right to a given user when provided a valid Project ID.

Author: Adam De Fouw

I {clickType} the User Right named "{userRightsChecks}"

Parameters
text (string) name of User Right

Assign the user right

Author: Rushi Patel

I select the User Right named {string} and choose {string}

Parameters
user_right (string) name of user right
option (string) name of the option to select

Assign user right to role/user

Author: Rushi Patel

I save changes within the context of User Rights

Click on the create add user button or save changes

Author: Rushi Patel

I {userRightAction} all Basic Rights within the open User Rights dialog box

Parameters
userRightAction
  • 'add'
  • 'remove'

Checks or Unchecks all Basic Rights within the User Rights dialog box.

Author: Adam De Fouw

I set Data Viewing Rights to {dataViewingRights} {editSurveyRights} for the instrument {string}

Parameters
dataViewingRights
  • 'No Access'
  • 'Read Only'
  • 'View & Edit'
  • 'Edit survey responses'
editSurveyRights
  • ' with Edit survey responses checked'
  • ' with Edit survey responses unchecked'
instrument (string) the label of the instrument for which to configure data entry rights

Selects a radio option for Data Entry Rights for the specified instrument within the user rights configuration dialog.

Author: Corey DeBacker

Visibility

I should NOT see {string} {baseElement}

Parameters
text (string) the text visually seen on screen
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Visually verifies that text does NOT exist within the HTML object.

Author: Adam De Fouw

I should see {string} in the title

Parameters
title (string) the HTML page title

Visually verifies that text does exist in the HTML page title.

Author: Adam De Fouw

I should see the {dropdownType} field labeled {string} with the option {string} selected {baseElement}

Parameters
dropdownType
  • 'dropdown'
  • 'multiselect'
  • 'checkboxes'
  • 'radio'
label (string) the label of the field
option (string) the option selected
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Selects a specific item from a dropdown

Author: Adam De Fouw

I should see the {dropdownType} field labeled {string} with the options below

Parameters
dropdownType
  • 'dropdown'
  • 'multiselect'
label (string) the label of the row the selector belongs to
options (dataTable) the Data Table of selectable options

Visibility - Visually verifies that the element selector has the options listed

Author: Tintin Nguyen

I should see a checkbox labeled {string} that is {check}

Parameters
label (string) the label associated with the checkbox field
check
  • 'checked'
  • 'unchecked'

Selects a checkbox field by its label

Author: Adam De Fouw

I should see the radio labeled {string} with option {string} {select}

Parameters
label (string) the text that should be displayed in an alert box
select
  • 'selected'
  • 'unselected'

Visually verifies that the alert box contains text

Author: Adam De Fouw

I (should )see a dialog containing the following text: {string}

Parameters
text (string) the text that should be displayed in a dialog box

Visually verifies that the dialog box contains text

Author: Adam De Fouw

I should see {string} in the data entry form field {string}

Parameters
field_value (string) the text that should be displayed in the field
field_name (string) the text that identifies the field in the form

Visually verifies the text within a data entry form field

Author: Adam De Fouw

I (should) see {articleType} {optionalString} {onlineDesignerButtons} {labeledElement} {labeledExactly} {string}{baseElement} {disabled}

Parameters
labeledElement
  • 'button'
  • 'link'
  • 'field'
  • 'section break'
label (string) the label of the link that should be seen on screen (matches partially)
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Verifies that a visible element of the specified type containing text exists

Author: Corey DeBacker

I should NOT see a {labeledElement} labeled {string} {baseElement}

Parameters
labeledElement
  • 'button'
  • 'link'
text (string) the label of the link that should not be seen on screen (matches partially)
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'

Verifies that there are no visible elements of the specified type with the label text

Author: Corey DeBacker

I (should) see a(n) {string} within the {string} row of the column labeled {string} {tableName}

Parameters
table_item (string) the item that you are searching for - includes "checkmark", "x", or any {string}
row_label (string) the label of the table row
column_label (string) the label of the table column
tableName
  • ''
  • ' of the User Rights table'
  • ' of the Reports table'
  • ' of the Participant List table'

Identifies specific text or special item within a cell on a table based upon row and column labels

Author: Adam De Fouw

I should see {string} in (the) {tableTypes} table

Parameters
text (string) text to look for
tableTypes
  • 'a'
  • 'logging'
  • 'browse users'
  • 'file repository'
  • 'administrators'
  • 'reports'
  • 'report data'
  • 'define events'
  • 'data access groups'
  • 'DAGs Switcher'
  • 'record status dashboard'
  • 'data collection instruments'
  • 'codebook'
  • 'import data display'
  • 'participant list'
  • 'user rights'
  • 'record locking'

Identify specific text within a table

Author: Rushi Patel

I (should) see Project status: "{projectStatus}"

Parameters
projectStatus
  • 'Production'
  • 'Development'
  • 'Analysis/Cleanup'

Identify project status

Author: Adam De Fouw

I (should) see (a) table {headerOrNot} row(s) containing the following values in (the) {tableTypes} table {baseElement}:

Parameters
headerOrNot
  • 'header and'
  • 'header'
tableTypes
  • 'a'
  • 'logging'
  • 'browse users'
  • 'file repository'
  • 'administrators'
  • 'reports'
  • 'report data'
  • 'define events'
  • 'data access groups'
  • 'DAGs Switcher'
  • 'record status dashboard'
  • 'data collection instruments'
  • 'codebook'
baseElement
  • ' on the tooltip'
  • ' in the tooltip'
  • ' on the role selector dropdown'
  • ' in the role selector dropdown'
  • ' on the dialog box'
  • ' in the dialog box'
  • ' within the data collection instrument list'
  • ' on the action popup'
  • ' in the action popup'
  • ' in the Edit survey responses column'
  • ' in the "Main project settings" section'
  • ' in the "Use surveys in this project?" row in the "Main project settings" section'
  • ' in the "Use longitudinal data collection with defined events?" row in the "Main project settings" section'
  • ' in the "Use the MyCap participant-facing mobile app?" row in the "Main project settings" section'
  • ' in the "Enable optional modules and customizations" section'
  • ' in the "Repeating instruments and events" row in the "Enable optional modules and customizations" section'
  • ' in the "Auto-numbering for records" row in the "Enable optional modules and customizations" section'
  • ' in the "Scheduling module (longitudinal only)" row in the "Enable optional modules and customizations" section'
  • ' in the "Randomization module" row in the "Enable optional modules and customizations" section'
  • ' in the "Designate an email field for communications (including survey invitations and alerts)" row in the "Enable optional modules and customizations" section'
  • ' in the "Twilio SMS and Voice Call services for surveys and alerts" row in the "Enable optional modules and customizations" section'
  • ' in the "SendGrid Template email services for Alerts & Notifications" row in the "Enable optional modules and customizations" section'
  • ' in the validation row labeled "Code Postal 5 caracteres (France)"'
  • ' in the validation row labeled "Date (D-M-Y)"'
  • ' in the validation row labeled "Date (M-D-Y)"'
  • ' in the validation row labeled "Date (Y-M-D)"'
  • ' in the validation row labeled "Datetime (D-M-Y H:M)"'
  • ' in the validation row labeled "Datetime (M-D-Y H:M)"'
  • ' in the validation row labeled "Datetime (Y-M-D H:M)"'
  • ' in the validation row labeled "Datetime w/ seconds (D-M-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (M-D-Y H:M:S)"'
  • ' in the validation row labeled "Datetime w/ seconds (Y-M-D H:M:S)"'
  • ' in the validation row labeled "Email"'
  • ' in the validation row labeled "Integer"'
  • ' in the validation row labeled "Letters only"'
  • ' in the validation row labeled "MRN (10 digits)"'
  • ' in the validation row labeled "MRN (generic)"'
  • ' in the validation row labeled "Number"'
  • ' in the validation row labeled "Number (1 decimal place - comma as decimal)"'
  • ' in the validation row labeled "Number (1 decimal place)"'
  • ' in the validation row labeled "Number (2 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (2 decimal places)"'
  • ' in the validation row labeled "Number (3 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (3 decimal places)"'
  • ' in the validation row labeled "Number (4 decimal places - comma as decimal)"'
  • ' in the validation row labeled "Number (4 decimal places)"'
  • ' in the validation row labeled "Number (comma as decimal)"'
  • ' in the validation row labeled "Phone (Australia)"'
  • ' in the validation row labeled "Phone (North America)"'
  • ' in the validation row labeled "Phone (UK)"'
  • ' in the validation row labeled "Postal Code (Australia)"'
  • ' in the validation row labeled "Postal Code (Canada)"'
  • ' in the validation row labeled "Postal Code (Germany)"'
  • ' in the validation row labeled "Social Security Number (U.S.)"'
  • ' in the validation row labeled "Time (HH:MM:SS)"'
  • ' in the validation row labeled "Time (HH:MM)"'
  • ' in the validation row labeled "Time (MM:SS)"'
  • ' in the validation row labeled "Vanderbilt MRN"'
  • ' in the validation row labeled "Zipcode (U.S.)"'
options (dataTable) the Data Table of values specified

Allows us to check tabular data rows within REDCap

Author: Adam De Fouw

I (should) see the pdf has loaded in the iframe

Allows us to check whether PDF has loaded in iframe

Author: Adam De Fouw

Visit Page

I visit the REDCap login page

Instructs Cypress to the REDCap login page

Author: Adam De Fouw