test(e2e): add smoke tests, workflow tests, and Docker integration fixes#811
Draft
thostetler wants to merge 1 commit intoadsabs:masterfrom
Draft
test(e2e): add smoke tests, workflow tests, and Docker integration fixes#811thostetler wants to merge 1 commit intoadsabs:masterfrom
thostetler wants to merge 1 commit intoadsabs:masterfrom
Conversation
459a7c7 to
9ec0f6b
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #811 +/- ##
========================================
+ Coverage 61.7% 62.0% +0.3%
========================================
Files 313 317 +4
Lines 36092 36536 +444
Branches 1600 1642 +42
========================================
+ Hits 22237 22618 +381
- Misses 13818 13881 +63
Partials 37 37
🚀 New features to boost your workflow:
|
adfc9b0 to
5e67123
Compare
Add comprehensive e2e test coverage using the Page Object Model pattern with Playwright running in Docker (stub + nectar + tests containers). - Implement POM base class with session cookie, scenario header, and navigation helpers shared across all page objects - Add page objects for all major pages: home, search, abstract, login, register, forgot-password, settings, libraries, notifications, classic-form, paper-form, journals-db, and feedback - Add public page smoke tests (home, search, classic form, paper form, journals DB, login, register, forgot password, feedback variants) - Add protected page smoke tests (libraries, notifications, settings) - Add abstract subpage smoke tests (citations, references, coreads, similar, export citation) - Add workflow tests: anonymous search, abstract tab navigation, auth-gated navigation with login redirect - Add middleware tests: session bootstrap, auth routing, verify routes - Extend stub backend with CORS headers, search/abstract API routes, and configurable bootstrap scenarios - Add Next.js afterFiles rewrites to proxy client-side API calls in Docker, avoiding cross-origin failures from unresolvable hostnames - Suppress Shepherd.js tour dialogs in tests via localStorage fixture - Add ServiceUnavailable component for 5xx errors in abstract pages - Fix empty-query facet requests firing on search page
5e67123 to
e04cd6d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds comprehensive e2e test coverage (45 tests) using the Page Object
Model pattern with Playwright running in Docker.
Changes:
Depends on PR #807 (POM foundation) — overlapping changes will resolve
once #807 is merged first.