Koha-clms/t/cypress/integration
Jonathan Druart 7e05bda48e
Bug 36355: Prevent csrf.ts to fail if DB has libraries with long name
If one library has a long name the "Delete" button will not appear on
the screen and the cypress test will fail
 Timed out retrying after 10050ms: `cy.click()` failed because the center of this element is hidden from view

We can either increase the size of the screen or force the click even if
the button is not visible.

Test plan:
Edit a library and set info with long name, address, etc.
Run the cypress test:
  yarn cypress run --spec t/cypress/integration/Auth/csrf.ts
Note the failure, you can watch the video and notice that the delete
button is not on the screen (t/cypress/videos/csrf.ts.mp4)
Apply the patch, try again
=> Succes

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-20 18:39:41 +01:00
..
Auth Bug 36355: Prevent csrf.ts to fail if DB has libraries with long name 2024-03-20 18:39:41 +01:00
ERM Bug 35329: Add cypress tests 2024-03-01 11:01:21 +01:00
Preservation Bug 35940: Close modal before typing 2024-02-01 16:45:19 +01:00
InfiniteScrollSelect_spec.ts Bug 36012: Add 'waits' to cypress test 2024-03-08 18:58:19 +01:00
KohaTable_spec.ts Bug 34466: Cypress tests 2023-09-01 11:07:32 -03:00