aldefouw / redcap_cypress Goto Github PK
View Code? Open in Web Editor NEWREDCap Cypress Test Framework
License: MIT License
REDCap Cypress Test Framework
License: MIT License
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/post-production/reporting.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
@dr01d3r brought up a good point about external dependencies like mail.
For instance, Manage User tests will likely look at approving an account's email address.
In our next meeting we should discuss how we want to handle this external dependency.
For REDCap, we could do something like this:
Apache or IIS with virtual hosts:
Question is ... should we?
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/data/entry_via_survey.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: ?
Test Environment: ?
We're running into time limits on CircleCI. Not going to be fun to make this move, but necessary.
Operating System: ?
Test Environment: ?
Operating System: ?
Test Environment: ?
Operating System: Windows Server 2016
Test Environment: IIS10 / PHP7 / MySQL8
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/data/compare.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/post-production/export_data.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/post-production/draft_mode.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/log/logging.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/project/my_projects.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v11.1.5/cypress/features/core/log/logging.feature
Task:
Write the test specs in Gherkin DSL following manual test script as guide
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/pre-requisite/assign_super_users.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
As we discussed this week with Kyle and others, there are several possible approaches for covering multiple versions of REDCap. It sounds like you'd appreciate the thoughts and feedback from various people.
REDCap versions affect the framework in at least two places:
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/data/entry_via_instrument.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/pre-requisite/design_forms.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/project/status.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: ?
Test Environment: MacOSX
I must admit I forgot this library existed... I'm afraid I might do the same again if I don't stumble upon it again for another year or so, and possibly re-implement parts of it as future needs arise. Could/should any existing tests people have written using this framework be incorporated into REDCap Core, the module framework, and/or specific modules so they are automatically available to all REDCap users (and perhaps even automatically run during updates)? I know none of the above are trivial, but I'm curious to hear your thoughts.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v11.1.5/cypress/features/core/data-integrity/data_quality.feature
Looks close:
https://github.com/CCTC-team/redcap_cypress/blob/CD_v11.1.5/cypress/features/core/data-integrity/data_quality.feature
Task:
Write the test specs in Gherkin DSL following manual test script as guide
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: Linux ???
Test Environment: Docker ???
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v11.1.5/cypress/features/core/data-integrity/record_locking_e_sig.feature
Mintoo's looks close:
https://github.com/CCTC-team/redcap_cypress/blob/MX_v11.1.5/cypress/features/core/data-integrity/record_locking_e_sig.feature
Task:
Write the test specs in Gherkin DSL following manual test script as guide
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/data-integrity/record_locking_e_sig.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/data/import.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/pre-requisite/add_manage_users.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
If a test uncovers a security vulnerability, it shouldn't be available to the public. Maybe we see if vandy would fund a private instance of circle ci (or whatever could be web-scraped/mined but a malicious user looking to exploit a system with phi).
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/development/branching_logic.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System:
OSX 10.14
Test Environment: ?
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v11.1.5/cypress/features/core/pre-requisite/configuration_check.feature
Task:
Write the test specs in Gherkin DSL following manual test script as guide
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/data-integrity/data_quality.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: ?
Test Environment: ?
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/development/data_access_groups.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: ?
Test Environment: ?
Users are configured within the project like this right now:
"users": {
"admin": {
"user": "test_admin",
"pass": "Testing123"
},
"standard": {
"user": "test_user",
"pass": "Testing123"
},
"standard2": {
"user": "test_user2",
"pass": "Testing123"
}
}
We need to use to cy.mysql_db()
to automatically seed the users as the ones defined within this environment variable setup.
Should not be too hard since we can use REGEX replacement in the second "replace" parameter of cy.mysq_db()
. Something like this:
REDCAP_USER/username
Where REDCAP_USER is the magic constant and username is the name passed in from a Cypress environment variable.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v11.1.5/cypress/features/core/data/compare.feature
Looks close:
https://github.com/CCTC-team/redcap_cypress/blob/MX_v11.1.5/cypress/features/core/data/compare.feature
Task:
Write the test specs in Gherkin DSL following manual test script as guide
Contact Adam De Fouw ([email protected]) with any questions.
A general need to improve data seeding process has been identified.
The biggest problem is that patch version specific files are currently needed in order to run tests. The goal is to use the REDCap native installation files instead.
We are working to improve this on this branch:
https://github.com/aldefouw/redcap_cypress/tree/seed-test
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/development/field_validation.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: CentOS 7 / PHP 7
Test Environment:
MacOSX 10.13 host operating system running Docker Container running CentOS 7 / PHP 7
For cross-platform compatibility, need to convert them to JavasScript.
This would allow us to write the code that would work on Windows, MacOSX, & Linux:
https://www.npmjs.com/package/commander
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/pre-requisite/manage_project.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Shouldn't be too bad.
Basically just need to create a Windows version of /dictionaries/read_file.sh.
Operating System: ?
Test Environment: ?
The process for creating a project from CDISC ODM is currently requiring a project ID.
See the method definition for more details:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/support/commands.js#L390-L407
We should probably move towards something more robust.
It would be nice if we could specify the project name and then looked up the project ID in the database ... will require some thought.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/master/cypress/integration/core/project/security_settings.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
File Location:
https://github.com/aldefouw/redcap_cypress/blob/v9.1.3/cypress/integration/core/pre-requisite/assign_user_rights.js
Task:
Write the test specs as outlined in manual test script
Please see CORE Validation Test Scripts project for more info:
https://github.com/aldefouw/redcap_cypress/projects
Contact Adam De Fouw ([email protected]) with any questions.
Operating System: CentOS 7 / PHP 7
Test Environment:
MacOSX Catalina 10.15 host operating system running Docker Container running CentOS 7 / PHP 7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.