2.0.20

Image
Release Webship-js 2.0.20

Webship-js 2.0.20 is out: a field is filled where a person sees it when a label also names hidden copies of it, and the pack check loads 65 step packs.

  • A field is filled where a person sees it. When an exact label names several fields, as on a page that keeps closed dialogs in its markup with a copy of a form in each, the steps now act on the one copy that is visible. Two visible fields under one label are still refused as a real ambiguity, and fields that are all hidden still say so (#667, #668).
  • The pack check loads 65 step packs, FastAPI, Immich, Material UI and Headless UI among them, each resolving alone and beside the visual comparison pack with no undefined or ambiguous step.

Upgrading from 2.0.19

  • Nothing to do. A scenario that failed on a strict match where only one field was visible now passes.

Changed

  • The steps that find a field by its label (#667, #668): I fill in "…" with "…" and the other fill steps, I check "…", I uncheck "…", I select radio button "…", and I select "…" from "…" use the visible element when the label names several.
    • Two or more visible: the action refuses them as a strict match, as before.
    • None visible: the field is reported as on the page but hidden, as before.
    • The placeholder and name lookups, additionally select, and the steps that read a field's value or state are unchanged.
  • Tests: a page with fields repeated in hidden dialogs, a feature that fills, selects, checks, unchecks and chooses a radio button on the visible copies while the hidden copies keep their values, and two must-fail scenarios for the two errors that stay.

Added

  • The pack check loads the FastAPI (#660), Immich (#662), Material UI (#664) and Headless UI (#666) step packs.