Bug 33423 - Cypress - Using UI to login is against best practice
Summary: Cypress - Using UI to login is against best practice
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on: 32030
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-05 14:17 UTC by Pedro Amorim
Modified: 2024-02-12 13:54 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2023-04-05 14:17:36 UTC
https://docs.cypress.io/guides/references/best-practices#Organizing-Tests-Logging-In-Controlling-State

We should update the way we login in for our cypress tests using the logging in recipes in the above link (if possible?), and not login through UI, as we are at the moment.
Comment 1 Pedro Amorim 2024-02-12 13:54:48 UTC
Still relevant I believe.