Clone the Site Kit repo in a folder with a space in its path and install the dependencies.
Verify the googlesitekit/vrt:* image does not exist on your machine.
Run test:visualtest
See the above error
Additional Context
OS: macOS 14.1
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
The bin/backstop script (also callable via the backstopjs npm script) should run consistently regardless of the presence of whitespace in its absolute path to the file
Bug Description
When using a local environment like Local, WordPress lives in a
Local Sites
folder that has a space in it's name.This space in the path name causes
bin/backstop
to fail building the docker image with following error:Steps to reproduce
googlesitekit/vrt:*
image does not exist on your machine.test:visualtest
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
bin/backstop
script (also callable via thebackstopjs
npm script) should run consistently regardless of the presence of whitespace in its absolute path to the fileImplementation Brief
bin/backstop
to address all ShellCheck errors and warnings, particularly https://www.shellcheck.net/wiki/SC2086Test Coverage
QA Brief
docker rmi googlesitekit/vrt:6.1.1
to remove the VRT image from your system's Docker imagesnpm install
, thennpm run backstopjs
from the command line to build the docker imageChangelog entry