Skip to content

2.0.11

Latest

Choose a tag to compare

@Natshah Natshah released this 16 Nov 17:05
· 32 commits to 2.0.x since this release
0702353

What changed since 2.0.10

Found and fixed in a testing round that took every one of the 425 built-in steps through a feature, in Chromium, Firefox and WebKit, on Node 20, 22 and 24.

Fixed

  • #387 The text, element and wait assertions fail with what was looked for, what was found, the page and a hint, instead of a raw 45-second timeout (#363).
  • #389 Running one feature or one scenario named on the command line runs that one alone, as the docs say (#388).
  • #386 A scenario tagged @mobile or @desktop opens at that breakpoint; the tags were documented and did nothing (#385).
  • #384 The datetime steps find the inputs of a datetime field by its label or legend, and fail when one is missing (#383).
  • #382, #348 The XML steps have the parser and XPath engine they need, and resolve namespace prefixes and the default namespace, so they work on real sitemaps and feeds (#358, #347).
  • #379 The three zip archive steps of the file download steps are implemented (#361).
  • #378 The WYSIWYG step fills the editor of the field that is named, not the first editor of the page (#377).
  • #372, #350, #353 the response should not be in XML format, … YAML format and the YAML should not use the namespace can fail (#356, #349, #352).
  • #371, #370, #369 The relative position steps: names split on the word "and" only, over compares the z-index the right way round, centered in the viewport works with the default fluid viewport (#346, #345, #344).
  • #368 A wait with no unit is a wait in seconds, not an ambiguous step (#367).
  • #364 The smart wait polls from Node, so it does not count its own polling as a pending timer (#362).
  • #351 A step finds an element by its label or its selector without a 30-second wait (#341).
  • #360, #391 A new project reaches a green first run; the docs say to run npx init-webship-js when npm skips the install script (#355, #390).
  • #374 The HTML report: no third-party icon, the project's own version, and "Local" for a local run (#373).
  • #357 The step examples name only steps that exist, and a check keeps it so (#340).

Changed

  • #366, #359, #354 Feature coverage for every built-in step: 425 of 425 are now exercised by a feature (275 before).
  • #339, #376 The GitHub Actions workflow: pull requests and manual runs, least-privilege permissions, a concurrency group per run, a time limit, cached installs, and the HTML report, screenshots and videos as artifacts (#338, #375).
  • #337 Issue and pull request templates (#336).

Install: npm install --save-dev webship-js@2.0.11, then npx init-webship-js for a new project.