Repository navigation
2.0.13
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 "…" rowandI followfind 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 checkandI uncheck, andI check the checkbox,I uncheck the checkboxandI 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.jsexports the newsetChecked()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-jsleaves webship-js where the project declares it (devDependenciesorpeerDependencies) instead of adding a second entry underdependencies(#512).
Install: npm install --save-dev webship-js@2.0.13, then npx init-webship-js for a new project.