icgc-argo / e2e-test Goto Github PK
View Code? Open in Web Editor NEWEnd to end testing of The ICGC ARGO platform
License: GNU Affero General Public License v3.0
End to end testing of The ICGC ARGO platform
License: GNU Affero General Public License v3.0
Join Program test is failing because user does not exist in Ego
Fails on clicking "Join Now" after invite
{timestamp: "2020-08-25T23:43:11.690+0000", status: 404, error: "Not Found",โฆ}
error: "Not Found"
message: "The 'User' entity with id '9f1f8350-7cf6-44b9-aa55-fc89ab0d6f16' does not exist"
path: "/oauth/update-ego-token"
status: 404
timestamp: "2020-08-25T23:43:11.690+0000"
Run the test
The user should exist from being invited
All data is hardcoded causing tests to break:
The file format changed so the test is failing.
Update the test so that it passes successfully.
Add tests for broken links and checking where links are being directed to, and if they are going to the right pages. I.e. making sure links are redirecting to the proper pages.
Wiki test specs:
https://wiki.oicr.on.ca/display/icgcargotech/Automated+Testing+Plan
Test is 2.0- Edit/Update a Program.
Convert to typescript:
Chrome driven programmatically from nightwatch is flagged as insecure and wont allow login to the platform bc google wont allow login
The test for the final action of join program is not yet working, we have disabled this test in the meantime but this is something we want to re-enable
Wiki test specs:
https://wiki.oicr.on.ca/display/icgcargotech/Automated+Testing+Plan
Test number 6.0
Note: you cannot upload files through selelnium. Use the sample_registration example to use the API to submit the data to get around this.
Login as any user, and go to access token page
be able to generate an access token
specs: https://wiki.oicr.on.ca/display/icgcargotech/Automated+Testing+Plan
We have some selenium testing set up - we need to implement more selenium tests for the platform.
https://wiki.oicr.on.ca/display/icgcargotech/Automated+Testing+Plan
Edit Program *
-- list the fields that you want edited
Sample Registration update the current test *
Clinical Data upload for each file type *
-- link files on wiki page
Clinical Data Validate *
Clinical Data Sign-off and Approval
User token generation https://platform-ui.qa.argo.cancercollaboratory.org/user
Expected behavior on all state
Fix interactive prompt selecting environments
There is no mapping between passed in env and test settings
geckodriver
(the driver for running headless FF) isn't able to fill out forms properly. This is happening on both local run and Browserstack (which we do not know what they use for automation).
For now we will disable testing on FF for the nightly run, but this is an issue we can revisit at a later time once teh driver is fixed itself in firefox.
https://wiki.oicr.on.ca/display/icgcargotech/Automated+Testing+Plan
test 7.0
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.