Active
Project:
Smoke
Version:
1.4.18
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2026 at 16:46 UTC
Updated:
29 Jun 2026 at 16:46 UTC
Jump to comment: Most recent
First, let me say that I'm really impressed with the idea of this module, and it's exactly what I've been looking for so long!
But I need some help, as I stuck with initial setup.
I'm running DDEV 1.25.2 on Windows 10 + WSL2 (Ubuntu 20.04). Docker is installed inside WSL2.
I've tried to install the module as recommended, but I'm getting the error on:
ddev drush smoke --run:
[ERROR] Chromium could not be launched. Install browser and system deps.
Run ddev drush smoke:setup or install browser deps:
ddev exec "sudo npx playwright install-deps chromium"
Let me share my setup logs:
ddev composer require drupal/smoke
ddev drush en smoke -y
ddev drush smoke:setup
Smoke — Setup
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ Checking environment...
✓ DDEV detected.
▸ Checking Node.js...
✓ Node.js v24.15.0
▸ Installing npm dependencies...
✓ Dependencies installed.
▸ Checking Chromium browser...
✓ Chromium already installed.
▸ Ensuring system dependencies...
✓ System dependencies installed.
▸ Configuring webform for smoke tests...
Webform machine name for smoke tests (e.g. contact_us, smoke_test) [smoke_test]:
> contact
✓ Webform contact already exists.
✓ Legacy smoke_test webform removed.
✓ Smoke will use webform: contact.
▸ Generating test config...
✓ Config written.
✓ Playwright suites + config copied to project root (for VS Code).
▸ Verifying smoke_bot test user...
✓ smoke_bot ready.
[error] Non-existent permission(s) assigned to role "Smoke Test Bot" (smoke_bot) were removed. Invalid permission(s): create page content, edit own page content, delete own page content.
✓ Content permissions granted to smoke_bot.
✓ DDEV post-start hook installed — config auto-regenerates on ddev start.
▸ Composer scripts...
Add smoke tests to composer post-update-cmd and post-install-cmd? (tests must pass after composer install/update) (yes/no) [no]:
>
✓ Skipped — add manually if needed (see README).
✓ Project root has @playwright/test (container).
✓ Created .nvmrc with Node 24 for host npm install.
✓ Host command installed — run ddev smoke-ide-setup on your host once (container + global Playwright + IDE).
▸ Verifying test suites...
✓ 35 tests found.
▸ Running global Playwright setup (container)...
✓ Global Playwright setup done.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup complete.
I've tried to execute the command one more time
ddev exec "sudo npx playwright install-deps chromium"
And got this:
Installing dependencies...
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Hit:3 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease
Hit:4 https://packages.sury.org/php trixie InRelease
Hit:5 https://archive.mariadb.org/mariadb-11.8/repo/debian trixie InRelease
Hit:6 http://deb.debian.org/debian-security trixie-security InRelease
Get:7 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian trixie InRelease [10.2 kB]
Hit:8 http://packages.blackfire.io/debian any InRelease
Get:9 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian trixie InRelease [10.2 kB]
Get:10 https://dl.cloudsmith.io/public/symfony/stable/deb/debian trixie InRelease [11.0 kB]
Fetched 78.7 kB in 2s (45.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libasound2t64 is already the newest version (1.2.14-1).
libatk-bridge2.0-0t64 is already the newest version (2.56.2-1+deb13u1).
libatk1.0-0t64 is already the newest version (2.56.2-1+deb13u1).
libatspi2.0-0t64 is already the newest version (2.56.2-1+deb13u1).
libcairo2 is already the newest version (1.18.4-1+b1).
libcups2t64 is already the newest version (2.4.10-3+deb13u2).
libdbus-1-3 is already the newest version (1.16.2-2).
libdrm2 is already the newest version (2.4.124-2).
libgbm1 is already the newest version (25.0.7-2).
libglib2.0-0t64 is already the newest version (2.84.4-3~deb13u3).
libnspr4 is already the newest version (2:4.36-1).
libnss3 is already the newest version (2:3.110-1+deb13u2).
libpango-1.0-0 is already the newest version (1.56.3-1).
libx11-6 is already the newest version (2:1.8.12-1).
libxcb1 is already the newest version (1.17.0-2+b1).
libxcomposite1 is already the newest version (1:0.4.6-1).
libxdamage1 is already the newest version (1:1.1.6-1+b2).
libxext6 is already the newest version (2:1.3.4-1+b3).
libxfixes3 is already the newest version (1:6.0.0-2+b4).
libxkbcommon0 is already the newest version (1.7.0-2).
libxrandr2 is already the newest version (2:1.5.4-1+b3).
xvfb is already the newest version (2:21.1.16-1.3+deb13u3).
fonts-noto-color-emoji is already the newest version (2.051-0+deb13u1).
fonts-unifont is already the newest version (1:15.1.01-1).
libfontconfig1 is already the newest version (2.15.0-2.3).
libfreetype6 is already the newest version (2.13.3+dfsg-1+deb13u1).
xfonts-scalable is already the newest version (1:1.0.3-1.3).
fonts-liberation is already the newest version (1:2.1.5-3).
fonts-ipafont-gothic is already the newest version (00303-23).
fonts-wqy-zenhei is already the newest version (0.9.45-8).
fonts-tlwg-loma-otf is already the newest version (1:0.7.3-1).
fonts-freefont-ttf is already the newest version (20211204+svn4273-2).
0 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.
Here are my DDEV details:
ddev version
ITEM VALUE
DDEV version v1.25.2
architecture amd64
cgo_enabled 0
db ddev/ddev-dbserver-mariadb-11.8:v1.25.2
ddev-environment wsl2
ddev-ssh-agent ddev/ddev-ssh-agent:v1.25.2
docker 28.1.1
docker-api 1.49
docker-buildx 0.23.0
docker-compose v5.1.3
docker-platform wsl2-docker-ce
global-ddev-dir /home/user/.ddev
go-version go1.26.2
mutagen 0.18.1
os linux
router ddev/ddev-traefik-router:v1.25.2
web ddev/ddev-webserver:v1.25.2
xhgui-image ddev/ddev-xhgui:v1.25.2Any advice would be highly appreciated!
Comments