From 3ba6eeede7cd4afe83610f0d333c1aa8ffce7676 Mon Sep 17 00:00:00 2001 From: Bill Seremetis Date: Tue, 7 Jul 2026 14:06:45 +0300 Subject: [PATCH 1/2] Update test script with drush_endpoint reminder Add reminder to enable drush_endpoint module if needed. --- commands/host/tests | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/host/tests b/commands/host/tests index d0433d7..f354509 100755 --- a/commands/host/tests +++ b/commands/host/tests @@ -64,6 +64,9 @@ if [ -f "${DDEV_APPROOT}/cypress.config.js" ]; then echo "If getting X related errors run xhost ${bold}first${normal}!" echo " xhost +local:" echo + echo "You might need to enable drush_endpoint module ${bold}first${normal}!" + echo " drush en drush_endpoint" + echo fi # --------------------------------------------------------------------------- From 1143844a44b87be833bca1c4a4839e2aa0b4e763 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 11:15:15 +0000 Subject: [PATCH 2/2] docs: sync with PR #154 changes Co-Authored-By: Claude --- docs/host-commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/host-commands.md b/docs/host-commands.md index 45ff304..4c949af 100644 --- a/docs/host-commands.md +++ b/docs/host-commands.md @@ -36,7 +36,7 @@ These commands run on the developer's host machine (via `ddev `), from - `remote-files` — Pulls the latest files (skipping the DB) from the upstream provider via `ddev pull --skip-db -y`. - `sanity-check` — Runs a suite of Drupal/Composer/DDEV/Upsun health checks (version constraints, performance settings, extensions, safe-uninstall, composer audit, Solr, Upsun project config, APCu, CDN, botbuster) by sourcing scripts from `commands/host/_lib/`. Supports `-s` (silent), `-b`/`--best-practices`, `-o`/`--offline`; exits 2 on critical errors (used to block pushes), 1 on regular errors. - `teamwork-operations` — Interactive fzf "Teamwork Operations Centre" dispatching to `open-issue`, `tw-comment`, `tw-timelog`, `tw-description`, `tw-new`, `tw-batch-card-maker`, plus branch creation/switching helpers. Aliases: `tw`. -- `tests` — Detects which test suites (Backstop, Behat, Bruno, Cypress, PHPUnit) are configured in the project and prints the commands to run each. +- `tests` — Detects which test suites (Backstop, Behat, Bruno, Cypress, PHPUnit) are configured in the project and prints the commands to run each; for Cypress it also reminds you to run `xhost +local:` and enable the `drush_endpoint` module first. - `timew` — Tags the current Timewarrior interval with the branch's `T-` task and the project directory name. - `timewarrior-timelog` — Pulls the Timewarrior summary for the current task and pipes it into `tw-timelog` to log time to Teamwork. Aliases: `twl`. - `travel-mode` — Finds and deletes (after confirmation) all unsanitized DB dump files under `.ddev/.downloads/` across every project in a chosen folder, then suggests a `ddev delete --all` cleanup.