Skip to content

2.0.13

Choose a tag to compare

@Natshah Natshah released this 18 Nov 07:54
· 50 commits to 2.0.x since this release
45cc692

What changed since 2.0.12

Found by testing the step packs on their real platforms (round 5 of the Webship-js testing rounds: Magento, PrestaShop, Craft CMS and Odoo) and by the automated tests of webship.co. Each fix comes with a test that failed first; CI green.

What a suite may notice

  • I follow "…" follows the first link of that name a person can see. A suite that followed a link found only in a closed menu now fails within 5 seconds, with a message that says every match is hidden.

Fixed

  • #517 I click, I press, I click "…" in the "…" row and I follow find a link or a button whose text has white space around or inside it, the way menu templates print it; they waited out a 30-second timeout (#515).
  • #518 I check and I uncheck, and I check the checkbox, I uncheck the checkbox and I choose the radio button, click the label of a box that part of its own label covers (a toggle switch) or that is hidden (a box drawn by its label), as a person does, and confirm the state. webship.js exports the new setChecked() helper (#516).
  • #520 I follow "…" passes over a hidden copy of the link in a closed menu, and says so within 5 seconds when every match is hidden, instead of Playwright's raw 30-second timeout (#511).
  • #521 A page load that Chromium aborts with net::ERR_NETWORK_CHANGED (a Docker network started or stopped on the machine, as every DDEV start and stop does) is loaded once more, with one line in the log. Nothing else is retried, and a second abort still fails the step (#519).
  • #514 npx init-webship-js leaves webship-js where the project declares it (devDependencies or peerDependencies) instead of adding a second entry under dependencies (#512).

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