Fixed
Project:
UIkit Admin
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2026 at 10:07 UTC
Updated:
10 Nov 2026 at 13:25 UTC
Jump to comment: Most recent
The theme's functional tests (24 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:
tests/step-definitions/uikit_admin.steps.js. Accounts are made and signed in through Drush and environment variables (I am logged in as the Drupal administrator, I am logged in as the user "...", the user "..." exists and the user "qa-..." with the role "..." exists), because cucumber.js has no users registry for the pack's login by handle and I add the testing users to read.package.json lists webship-js (^2.0.6) under dependencies, not devDependencies.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).8.x-3.x, a Drupal 8 and 9 theme (core ~8.0 || ~9.0) with no CI. The supported 4.0.x (release 4.0.4) requires Drupal core ^11.4.8 || ^12.Related: #3635912 (Node.js 24 and Yarn 4.18.1).
cucumber.js and tests/step-definitions/uikit_admin.steps.js on the 4.0.x branch.cucumber.js has no users block.package.json (dependencies) and .gitlab-ci.yml (DRUPAL_CORE), and compare the default branch 8.x-3.x with 4.0.x.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; it moves from dependencies to the devDependencies with the pack.username, email, password, roles, isAdmin) to cucumber.js.I add the testing users in place of the Drush-based account steps 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.4.0.x and mark 8.x-3.x unsupported. 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.4.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 #7
rajab natshah✅ Released uikit_admin-4.0.5: https://www.drupal.org/project/uikit_admin/releases/4.0.5 (merged in https://git.drupalcode.org/project/uikit_admin/-/merge_requests/17)