17500: Allows Cypress tests to navigate using the app's router.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 19 Apr 2021 20:59:19 +0000 (17:59 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 19 Apr 2021 20:59:19 +0000 (17:59 -0300)
commit409d38425d383c81606220782f1abe9cd014aab5
tree29c467428194b14da6a46d3b7f6e5671729f221f
parentba850047c085520c9604ffa6cb2e763b5500d135
17500: Allows Cypress tests to navigate using the app's router.

* Provides direct access to the browser's history so tests can push new URLs
  instead of using cy.visit() that makes the entire app to reload.
* Also, sets larger timeout on cy.loginAs() command as sometimes the first time
  it's used takes more than 4000ms to respond, making tests fail.
* Updates tests that use visit() or doSearch() so that they use the quicker and
  more reliable goToPath() command.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
cypress/integration/collection.spec.js
cypress/integration/delete-multiple-files.spec.js
cypress/integration/favorites.spec.js
cypress/integration/page-not-found.spec.js
cypress/integration/project.spec.js
cypress/integration/side-panel.spec.js
cypress/support/commands.js
src/index.tsx