Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhance e2e (end-to-end) tests for search page #3988

Open
tdonohue opened this issue Feb 13, 2025 · 0 comments
Open

Enhance e2e (end-to-end) tests for search page #3988

tdonohue opened this issue Feb 13, 2025 · 0 comments
Labels
bug help wanted Needs a volunteer to claim to move forward testing framework Related specifically to Unit or Integration (e2e) Tests

Comments

@tdonohue
Copy link
Member

tdonohue commented Feb 13, 2025

Describe the bug

Enhance the existing e2e tests in search.cy.ts to include testing of additional search page features (e.g. https://demo.dspace.org/search). These features may include:

  • Verify filters work as expected. Add tests for different types of filters (e.g. date, author, subject). Ensure the search box under each filter works properly.
  • Verify filters can be removed one-by-one after added
  • Verify "Reset filters" button works
  • Verify results per page & sort options work in the "Settings" section of sidebar.
  • Verify pagination works properly
  • Verify "Show more" under one result can be expanded / contracted.
  • Verify thumbnails display
  • Verify title and thumbnail can be clicked to go to the Item / Entity page
  • On grid layout, verify "Show More" expands the card
  • On grid layout, verify "View" button brings you to the Item / Entity page

Expected behavior

The Search page actions should be more fully tested

Related work

Subticket of #3978

@tdonohue tdonohue added bug needs triage New issue needs triage and/or scheduling labels Feb 13, 2025
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Feb 13, 2025
@tdonohue tdonohue added help wanted Needs a volunteer to claim to move forward testing framework Related specifically to Unit or Integration (e2e) Tests and removed needs triage New issue needs triage and/or scheduling labels Feb 13, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug help wanted Needs a volunteer to claim to move forward testing framework Related specifically to Unit or Integration (e2e) Tests
Projects
Status: 📋 To Do
Development

No branches or pull requests

1 participant