task: #3636738 Use @webship-js/drupal-core-steps 2.1 for the webship-js suite and refresh the dependencies
Summary
The UI Suite UIkit functional tests (webship-js, Cucumber) now load the public step pack @webship-js/drupal-core-steps (^2.1.0), so the shared Drupal steps (login by handle, the testing users, named pages, messages, listings, the editor, the media library, access control and site structure) are available to the suite and maintained in the pack.
package.json: adds@webship-js/drupal-core-steps^2.1.0as a devDependency and atest:dryscript (cucumber-js --config cucumber.js --dry-run).webship-jsstays at^2.0.6, the version the pack declares as its peer dependency.cucumber.js: loads the step glob of the pack between webship-js's own steps and the project's own, and gives the users registry the pack's shape:usernameinstead ofname(none of the project's own steps reads the registry)..gitlab-ci.yml:DRUPAL_COREfollows the 11.4 branch (11.4.x-dev) instead of the fixed11.4.8, in the global variables and in thecomposerjob.
No custom step is removed: the project has no login by handle or testing-users step of its own, and the dry run reports no ambiguous step. The project has no webship-js job in CI, because its suite runs against a DDEV test site (LAUNCH_URL), so the dry run is the test:dry script and not a CI step. It tracks no lock file (.gitignore covers package-lock.json and yarn.lock) and its Node requirement was already >= 24.0.
Issue: https://www.drupal.org/node/3636738
Test notes
Locally with Node 24, npm install resolves webship-js 2.0.6, @webship-js/drupal-core-steps 2.1.0 and @cucumber/cucumber 12.9.0, and leaves no untracked files. The dry run (cucumber-js --config cucumber.js --dry-run, the test:dry script) covers 129 scenarios and 1068 steps, with no undefined and no ambiguous steps.
AI-Generated: Yes (configuration and step cleanup; reviewed by Rajab Natshah.)
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release