Problem/Motivation
The webship-js cucumber suite added to varbase_project 9.2.x runs in GitLab CI, but there is no turnkey way to build, install and run it locally with DDEV the way the 11.0.x branch supports (ddev init-full-automated-testing + ddev yarn test:chromium).
Steps to reproduce
- Build
varbase_project9.2.x locally with DDEV. - There is no
ddev init-full-automated-testingcommand and notest/test:chromiumnpm scripts, so running the cucumber suite locally requires reproducing the CI before_script by hand.
Proposed resolution
Add, mirroring 11.0.x:
- A
.ddev/commands/web/init-full-automated-testingcommand that installs Varbase (classic profile) with the same components and provisioning the CI functional job uses. test,test:chromium,test:firefox,test:webkit,test:headednpm scripts runningcucumber-js --config cucumber.js --tags "not @wip".
Remaining tasks
- ✅ File an issue about this project
- ❌ Addition/Change/Update/Fix to this project
- ➖ 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-9.2.0
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
test: #3608527 Support local DDEV + webship-js automated testing (init-full-automated-testing + provision testing users, RTL locale and Layout Builder permissions)
Issue fork varbase_project-3608527
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 #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah✅ Released varbase-9.2.0
Comment #10
rajab natshah✅ Released varbase_project-9.2.0