Skip to content

Add search and restricted view Playwright tests#209

Merged
eumalin merged 2 commits into
mainfrom
firebird/test-coverage-search-restricted
May 21, 2026
Merged

Add search and restricted view Playwright tests#209
eumalin merged 2 commits into
mainfrom
firebird/test-coverage-search-restricted

Conversation

@eumalin
Copy link
Copy Markdown
Contributor

@eumalin eumalin commented May 19, 2026

Adds Playwright coverage for two untested areas.

The search tests cover the full in panel flow, including the AJAX round trip, URL updating with q1, and clearing results.

The restricted view tests pin down what an anonymous user should and shouldn't see on ic_currently_held and ic_not_held, including the no access warning, the search form still being available, and the reader toolbar being absent.

@eumalin eumalin marked this pull request as ready for review May 19, 2026 15:14
@eumalin eumalin requested a review from carylwyatt May 19, 2026 15:14
Comment thread pt/web/firebird/tests/restricted_view.spec.js
Comment thread pt/web/firebird/tests/restricted_view.spec.js Outdated
Comment thread pt/web/firebird/tests/search.spec.js Outdated
Comment thread pt/web/firebird/tests/search.spec.js Outdated
Comment thread pt/web/firebird/tests/search.spec.js Outdated
Copy link
Copy Markdown
Member

@carylwyatt carylwyatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for the additional tests!

@eumalin eumalin merged commit 04a729a into main May 21, 2026
2 checks passed
@eumalin eumalin deleted the firebird/test-coverage-search-restricted branch May 21, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants