Webship-js 2.0.19 is out: a project can let one known missing file through the JavaScript error checks by its address, step packs can sign the API steps' requests, and the pack check loads 61 step packs.
A project can now let one known missing file through the JavaScript error checks by its address, and a step pack can sign the requests of the API steps from its own steps. The pack check now loads 61 step packs.
Added
- A console message keeps the address it came from (#653, #655).
- A browser logs the same text for every resource that fails to load ("Failed to load resource: … 404 (Not Found)"), so a pattern on the text alone could only tolerate all of them or none.
ignoreandJavaScript errors should not match "…"now read a console message both as its text and as<text> @ <address>. A pattern can name one resource exactly, for example\(Not Found\) @ https?://[^/]+/vite\.svg$, while the error mode staysfailfor everything else.- A pattern that names only the text matches as before, and the reports print the address after the text.
api.setHeader(name, value)(#654, #656), exported next togetApiResponseandsetPlaceholder.- A pack's own step, a sign-in for example, can set a header for the API steps that follow it, the way
I set the header "…" to "…"does. - Placeholders in the value are replaced when a request is sent, and the next scenario starts without the header. A header has one value per name in any letter case, and
nullremoves it.
- A pack's own step, a sign-in for example, can set a header for the API steps that follow it, the way
- The pack check loads 61 step packs: Vikunja (#640), Kanboard (#642), Svelte (#644), Vue (#647), Wekan (#648), Taiga (#650) and Angular (#652). Each pack resolves alone and beside the visual comparison pack: no undefined step and no ambiguous step.
Upgrading from 2.0.18
- Nothing to do. Existing
ignorepatterns and error-pattern steps match as before.