Fixed
Project:
Webship Project
Version:
12.0.2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2026 at 09:54 UTC
Updated:
10 Nov 2026 at 12:29 UTC
Jump to comment: Most recent
The project template's functional tests (1 feature file) run on webship-js, with the step definitions and the settings kept in the project itself (cucumber.js, tests/step-definitions/).
The public step pack @webship-js/drupal-core-steps 2.1 (npm, GitHub) now ships, for any Drupal core site:
loginWait) and Given I add the testing users from the users registryI should be denied access to "...")Local copies drift from the pack and duplicate its maintenance. In this project:
tests/step-definitions/custom.js defines no step, so no custom step can be ambiguous with the pack.cucumber.js has no users registry, although a comment in .gitlab-ci.yml says that the test accounts the CI job creates match worldParameters.users.composer.json requires drupal/coder at ^8.3 in require-dev, while 9.0.1 is released.11.0.x: it requires Drupal core ~11.4.0 and webship/webship at 11.0.x-dev, its yarn.lock is in the Yarn 1 format and resolves webship-js 2.0.4, engines.node is >= 20.0 and CI uses node:20. The supported 12.0.x (release 12.0.2) requires webship/webship at ~12.0, has no lock file and uses node:24.Related: #3635933 (Node.js 24 and Yarn 4.18.1).
cucumber.js, tests/step-definitions/custom.js and tests/features/ on the 12.0.x branch.cucumber.js has no users block, and custom.js defines no step.11.0.x with 12.0.x (composer.json, package.json, yarn.lock, .gitlab-ci.yml), and read require-dev in composer.json.The pack's 2.1.0 is on npm.
@webship-js/drupal-core-steps (^2.1.0) to the package.json devDependencies and its step glob (node_modules/@webship-js/drupal-core-steps/tests/step-definitions/**/*.js) to cucumber.js, between webship-js's own glob and the project's own. webship-js stays at ^2.0.6.username, email, password, roles, isAdmin) to cucumber.js. Use the accounts .gitlab-ci.yml creates.test:dry script (cucumber-js --dry-run) and a dry run in CI before the browser job, so an undefined or ambiguous step fails early.12.0.x. Move drupal/coder to ^9.0 and check that the phpcs job still passes. Check the other constraints against the current releases.12.0.x branch from an issue fork, pipeline green, then a release.AI-Generated: Yes (issue text)
@webship-js/drupal-core-steps step pack; CI runs a dry run first.
Comments
Comment #2
rajab natshahComment #6
rajab natshah✅ Released webship_project-12.0.3: https://www.drupal.org/project/webship_project/releases/12.0.3 (merged in https://git.drupalcode.org/project/webship_project/-/merge_requests/13)