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)
committerDaniel KutyƂa <daniel.kutyla@contractors.roche.com>
Fri, 23 Apr 2021 11:02:57 +0000 (13:02 +0200)
commitecdb95a4396dd239e762c4aef55675a69f0a04cc
treea2f7bcea91c9369baae24ff8b5f83043174b3a2b
parent9852ab8e036b1044c97967b4c0e6b1ba80981966
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