cypress: Fix "use UI to login" anti-pattern
Closed
requested to merge generated-differential-D3331-source into generated-differential-D3331-target
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
Migrated from D3331 (view on Phabricator)
Merge request reports
Activity
Build is green
Patch application report for D3331 (id=11792)
Rebasing onto 8e0fa87b...
Current branch diff-target is up to date.
Changes applied before test
commit 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.
Please register or sign in to reply