Giter Site home page Giter Site logo

e2e-test's People

Contributors

andricdu avatar blabadi avatar ciaranschutte avatar d8660091 avatar dependabot[bot] avatar hlminh2000 avatar joneubank avatar p-saha avatar rosibaj avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

e2e-test's Issues

๐Ÿ› Join Program test failing

Describe the bug

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"

Steps To Reproduce

Run the test

Expected behaviour

The user should exist from being invited

All data is hardcoded

Detailed Description

All data is hardcoded causing tests to break:

  • UI will throw errors when there isn't specified elements in forms
  • UI will have a different DOM (visible elements) if a data file upload is incorrect

Possible Implementation

Update existing, failing Sample Registration test

The file format changed so the test is failing.
Update the test so that it passes successfully.

Exit Criteria

  • Write the test
  • If UI changes are required (anchors etc) make the changes
  • Make sure the test passes and get it to QA

Implement Link Test

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.

๐Ÿ› Login tests fail because of insecure browser

Describe the bug

Chrome driven programmatically from nightwatch is flagged as insecure and wont allow login to the platform bc google wont allow login

  • cant test login thru an automated system so chrome flags you as a robot

๐Ÿ› join program final action

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

Platform Selenium Testing

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

Interactive prompt broke

Fix interactive prompt selecting environments

There is no mapping between passed in env and test settings

๐Ÿ› Firefox tests are failing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.