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

  1. Build varbase_project 9.2.x locally with DDEV.
  2. There is no ddev init-full-automated-testing command and no test / test:chromium npm 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-testing command that installs Varbase (classic profile) with the same components and provisioning the CI functional job uses.
  • test, test:chromium, test:firefox, test:webkit, test:headed npm scripts running cucumber-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)
Command icon 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

rajab natshah created an issue. See original summary.

  • rajab natshah committed ac1ccb7b on 10.1.x-automated-testing
    test: #3608527 Add init-full-automated-testing DDEV command for local...

  • rajab natshah committed 8a1abfe8 on 9.2.x
    test: #3608527 Support local DDEV + webship-js automated testing
    

  • rajab natshah committed 89aa5f2d on 9.2.x
    test: #3608527 Provision the testing users, RTL locale and LB perms in...
rajab natshah’s picture

Issue summary: View changes
Issue tags: +varbase-9.2.0, +varbase_project-9.2.0
rajab natshah’s picture

Status: Active » Needs review
rajab natshah’s picture

✅ Released varbase-9.2.0

rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Issue summary: View changes
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.