test(e2e): cover summary generation navigation resume
This commit is contained in:
@ -19,3 +19,11 @@ The E2E executable rejects nonliteral/nonloopback destination URLs and installs
|
||||
The Firefox journey covers admin login/account creation, new-user login, explicit OpenFIGI search/selection/follow, language/ranking/model preferences and fake-backed generation. It checks the saved provider/model snapshot against the actual model recorded by the fake summary service. It compares counts and hashes for `articles`, `article_symbols` and `scrape_jobs`, verifies retired routes are 404, reads the authenticated aggregate history, verifies its single-source counters, and rejects fixture article fields and actual candidate IDs in that outcome. HTTP success through the real application is required; API/provider routes are not mocked in the browser.
|
||||
|
||||
`npm run test:e2e` alone still fails closed without a valid running stack manifest. Use `make test-e2e` for complete lifecycle management. The scenario has no automatic retry. Browser traces and logs can contain disposable credentials and are deliberately kept inside the cleaned workspace.
|
||||
|
||||
Ticket #27 has a focused browser scenario with real login and client-side navigation, and mocked generation/preference/summary endpoints. The mock keeps the job running until the test explicitly completes it. The scenario checks the restored banner after leaving and returning to the Dashboard, polling by job id, exactly one generation POST, and the final summary, aggregate outcome and refreshed history. Run it independently (without the unrelated source assertions) from the project root:
|
||||
|
||||
```sh
|
||||
TRADARR_E2E_GREP='ticket #27:' make test-e2e
|
||||
```
|
||||
|
||||
`TRADARR_E2E_GREP` is an optional Playwright title regular expression; without it the complete E2E suite still runs.
|
||||
|
||||
Reference in New Issue
Block a user