task: #3636731 Use @webship-js/drupal-core-steps 2.1 for the webship-js suite and refresh the dependencies

Summary

The webship-js suite runs on the public step pack @webship-js/drupal-core-steps (^2.1.0) instead of local copies of the steps it provides, and CI runs a dry run before the browser job, so an undefined or ambiguous step fails early.

Changes

  • package.json: adds @webship-js/drupal-core-steps ^2.1.0 to the devDependencies, moves webship-js from ^2.0.0 to ^2.0.6 (the pack's peer range) and adds the test:dry script, the test command with --dry-run.
  • cucumber.js: adds the pack's step glob between the webship-js glob and the project's own. The users registry already has the pack's shape (username, email, password, roles, isAdmin).
  • tests/step-definitions/cucumber-ui.steps.js: removes the custom login by handle and I add the testing users steps, which match the same sentences as the pack's. The project's own steps stay.
  • .gitlab-ci.yml: the webship-js-test job runs cucumber-js --dry-run before the suite, so an undefined or ambiguous step fails early.
  • .gitlab-ci.yml: the browser job uninstalls the Update Manager after the module install; its error message "There is a security update available for your version of Drupal" made the pack's I add the testing users fail, so the users the suite logs in as were never created. The suite does not use the Update Manager.
  • Nothing else changes in the pipeline or in the Yarn files: this branch already runs on Node 24 and Yarn 4.18.1, points Drupal core's own Yarn away from the project's .yarnrc.yml and commits no lock file.

Dry run on Node 24.22.2 from a fresh clone of this branch: 27 scenarios, 131 steps, none undefined or ambiguous.

Issue

Issue: https://www.drupal.org/node/3636731

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
Edited by Rajab Natshah

Merge request reports

Loading
Loading