Keep a single test using the UI to login and add a Cypress command to login
programatically because UI login is slow, cumbersome, and unnecessary.
https://docs.cypress.io/guides/getting-started/testing-your-app.html#Logging-in
Differential D3331
cypress: Fix "use UI to login" anti-pattern anlambert on Jun 22 2020, 1:55 PM. Authored by
Details
Keep a single test using the UI to login and add a Cypress command to login https://docs.cypress.io/guides/getting-started/testing-your-app.html#Logging-in
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3331 (id=11792)Rebasing onto 8e0fa87b22... Current branch diff-target is up to date. Changes applied before testcommit dc860b2a38b0b1ffd08b28e6a7250493122bd98b Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Mon Jun 22 13:54:22 2020 +0200 cypress: Fix "use UI to login" anti-pattern Keep a single test using the UI to login and add a Cypress command to login programatically because UI login is slow, cumbersome, and unnecessary. https://docs.cypress.io/guides/getting-started/testing-your-app.html#Logging-in See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/210/ for more details. |