Bug 38461 - Table features needs to be covered by e2e tests - Cypress
Summary: Table features needs to be covered by e2e tests - Cypress
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 36640 38503 38506
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-15 21:16 UTC by Jonathan Druart
Modified: 2024-11-21 13:50 UTC (History)
0 users

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


Attachments
Bug 38461: Add tests for 'Clear filter' (7.77 KB, patch)
2024-11-21 13:49 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 38461: Use buildSampleObjects (8.38 KB, patch)
2024-11-21 13:50 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2024-11-15 21:16:35 UTC
We need UI tests for the table features. We have different kinds of table and a lot of features that must be covered by tests.

3 types of table:
* Tables using the REST API (kohaTable)
* Tables not using the REST API (KohaTable)
* Tables using dataTables constructor directly (should be removed by bug 38255)

Features:
* Save state
 * Copy shareable link
 * Save configuration state on page change
 * Save search state on page change: 
* Export
* Search (and the 'Clear filters' button)
* Columns filters
* External filters
* etc.


Specific tables:
* Patrons search
* Items list (catalogue/detail.pl)
* Items search
* Pending requests (should not be different but it is)

* Libraries ("classic" using kohaTable)
Comment 1 Jonathan Druart 2024-11-21 13:49:59 UTC
Created attachment 174877 [details] [review]
Bug 38461: Add tests for 'Clear filter'
Comment 2 Jonathan Druart 2024-11-21 13:50:02 UTC
Created attachment 174878 [details] [review]
Bug 38461: Use buildSampleObjects