Webship-js is an Automated Functional Acceptance Testing tool. Helps to ease and speed the work with the End-to-end testing features in web apps or projects. Utilizing Playwright and Cucumber-js. Having custom and advanced general step definitions.
All you need to know is at webship-js Docs.
npm install webship-js
The install script of the package scaffolds the test project. When npm skips it (npm warns that webship-js has "install scripts not yet covered by allowScripts", or --ignore-scripts is set), scaffold it with:
npx init-webship-js
npm install-scripts approve webship-js lets the install script run on the next installs.
The install scaffolds the test project (cucumber.js, playwright.config.ts, tests/) with a starter feature that opens the home page of your site:
LAUNCH_URL=https://your-site.example npm test
Without LAUNCH_URL the suite opens http://localhost:8080.