Problem/Motivation
On the Varbase Project Template 10.1.x (Drupal ~11.4), running ddev init-full-automated-testing to bootstrap the Varbase functional testing suite (webship-js: Playwright + Cucumber-js) never creates any of the per-role testing users.
Root cause: inside the DDEV web container, sibling ddev web commands are not on PATH. The script calls the users-provisioning script as a bare command, add-testing-users, instead of by path. That resolves to nothing (which add-testing-users → not found), and the call is guarded with || true, so it fails silently. None of the per-role testing users (Editor/Content admin/SEO admin/Site admin/Super admin) are ever created, so the Varbase functional testing suite — which logs in as those roles — cannot run.
Steps to reproduce
- ddev start
- ddev drush sql:drop -y
- ddev init-full-automated-testing
- No testing users exist after init.
Proposed resolution
.ddev/commands/web/init-full-automated-testing: call the users-provisioning script by its absolute container path instead of a bare command name, e.g.bash "/var/www/html/.ddev/commands/web/add-testing-users" || true, so it actually resolves and runs.
Related: an earlier version of this issue also reported init-full-automated-testing aborting on a non-fatal oEmbed fetch during drush site:install. That was root-caused to the dead Vimeo demo video shipped by varbase_media_demo, and has been fixed and released separately in varbase_media_demo 10.1.1 (issues #3608459 and #3609161). With that fix released, the init script needs no oEmbed handling — set -e fail-fast is correct as-is — so it is intentionally not part of this issue.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release varbase_project-10.1.2
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
ddev init-full-automated-testingnow correctly provisions the per-role testing users on varbase_project 10.1.x.
Issue fork varbase_project-3611208
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #7
rajab natshah✅ Released varbase_project-10.1.2.
Comment #8
rajab natshahComment #9
rajab natshah