Fixed
Project:
Webship Portal
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2026 at 09:59 UTC
Updated:
10 Nov 2026 at 11:48 UTC
Jump to comment: Most recent
The site template's functional tests (10 feature files) 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:
DRUSH, default ddev drush, run from DRUPAL_PROJECT_DIR): I am logged in as a user with the "..." role creates an account and signs in with a one-time link, and I go to the edit form of "..." resolves the path alias with php:eval.cucumber.js has no users registry, so the pack's login by handle and I add the testing users have nothing to read.recipe job), but no job runs the 10 feature files (37 scenarios). package.json has the test script only, with no packageManager.Related: #3635932 (Node.js 24).
cucumber.js and tests/step-definitions/portal.steps.js on the 1.0.x branch.I am logged in as a user with the "..." role and I go to the edit form of "..." call ddev drush, and cucumber.js has no users block..gitlab-ci.yml: none runs the suite.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. List the content editor and administrator accounts that tests/features/03-01-01-roles.feature signs in as.I am logged in as a user with the "..." role by the pack's login by handle, and I go to the edit form of "..." by a step that needs no Drush; keep the other five.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.webship-js-test CI job that runs the suite against the site the recipe job installs, with Node 24 and Playwright, modelled on the job of the Drupal Website API Starter site template. Check the Composer and npm constraints against the current releases and name the ones that change in the merge request.1.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 #3
rajab natshah✅ Released webship_portal-1.0.8: https://www.drupal.org/project/webship_portal/releases/1.0.8 (merged in https://git.drupalcode.org/project/webship_portal/-/merge_requests/37)