Fixed
Project:
UI Suite UIkit
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2026 at 10:06 UTC
Updated:
10 Nov 2026 at 11:51 UTC
Jump to comment: Most recent
The theme's functional tests (17 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:
I am logged in as the Drupal administrator (a one-time login link through Drush) and the Drupal caches are rebuilt (drush cache:rebuild) do what the pack's login by handle and flush all caches do. The other custom steps (70 in seven files) are specific to the theme and stay.cucumber.js has the old shape (name instead of username, no roles, no isAdmin), while the pack reads username, roles and isAdmin for the login and for I add the testing users.DRUSH, default ddev drush, run from DRUPAL_PROJECT_DIR). No CI job runs the 17 feature files (85 scenarios): .gitlab-ci.yml has the shared drupalci jobs only.DRUPAL_CORE: "11.4.8", a patch release, in the global variables and in the composer job; the comment on the composer job explains it (11.4.8 carries a Twig fix that 11.4.6 lacks).Related: #3635910 (Node.js 24).
cucumber.js and tests/step-definitions/ on the 1.0.x branch.I am logged in as the Drupal administrator and the Drupal caches are rebuilt duplicate what the pack provides.users block of cucumber.js (name, not username) and the jobs of .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.cucumber.js to the pack's shape: username in place of name, plus email, password, roles and isAdmin.flush all caches in place of I am logged in as the Drupal administrator and the Drupal caches are rebuilt where the behaviour matches; keep the rest.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 on a site the job builds, with a Drush wrapper for the steps that call Drush (DRUSH), modelled on the job of the UIkit Admin theme. Pin DRUPAL_CORE: "11.4.x-dev" instead of "11.4.8" in both places, and update the comment (the branch carries the same Twig fix). 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 ui_suite_uikit-1.0.7: https://www.drupal.org/project/ui_suite_uikit/releases/1.0.7 (merged in https://git.drupalcode.org/project/ui_suite_uikit/-/merge_requests/29)