From f58c32ad145a08a6db4d672e916a7d41eeb89ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20L=C3=B3pez?= Date: Mon, 3 Jun 2024 10:50:05 +0200 Subject: [PATCH] Fixed commands, and some folders links --- commands/backstopjs/backstopjs | 6 +++--- commands/backstopjs/backstopjs-env | 6 +++--- docker-compose.backstopjs.yaml | 2 +- install.yaml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/commands/backstopjs/backstopjs b/commands/backstopjs/backstopjs index 81a2dfe..aea8816 100755 --- a/commands/backstopjs/backstopjs +++ b/commands/backstopjs/backstopjs @@ -2,9 +2,9 @@ #ddev-generated -## Description: Run backstop -## Usage: backstop [args] -## Example: "ddev backstop version" +## Description: Run backstopjs +## Usage: backstopjs [args] +## Example: "ddev backstopjs version" ## ExecRaw: true if [ "$1" == "openReport" -o "$1" == "remote" ]; then diff --git a/commands/backstopjs/backstopjs-env b/commands/backstopjs/backstopjs-env index 0208c43..5cefd3c 100755 --- a/commands/backstopjs/backstopjs-env +++ b/commands/backstopjs/backstopjs-env @@ -2,9 +2,9 @@ #ddev-generated -## Description: Run backstop environemnt tests -## Usage: backstop-env [env] [args] -## Example: "ddev backstop-env pro version" +## Description: Run backstopjs environemnt tests +## Usage: backstopjs-env [env] [args] +## Example: "ddev backstopjs-env pro version" ## ExecRaw: true if [ "$1" == "openReport" -o "$1" == "remote" ]; then diff --git a/docker-compose.backstopjs.yaml b/docker-compose.backstopjs.yaml index 0ca8b57..9331451 100644 --- a/docker-compose.backstopjs.yaml +++ b/docker-compose.backstopjs.yaml @@ -2,7 +2,7 @@ services: # This is the service name used when running ddev commands accepting the # --service flag. - backstop: + backstopjs: # This is the name of the container. It is recommended to follow the same # name convention used in the main docker-compose.yml file. container_name: ddev-${DDEV_SITENAME}-backstopjs diff --git a/install.yaml b/install.yaml index 5491b47..75ba02a 100644 --- a/install.yaml +++ b/install.yaml @@ -1,9 +1,9 @@ name: backstopjs pre_install_actions: - - test -d ${DDEV_APPROOT}/tests/backstop || mkdir -p ${DDEV_APPROOT}/tests/backstop - - test -f "${DDEV_APPROOT}/tests/backstop/.gitignore" || printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore - - grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/backstop/.gitignore && printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore + - test -d ${DDEV_APPROOT}/tests/functional/backstopjs || mkdir -p ${DDEV_APPROOT}/tests/functional/backstopjs + - test -f "${DDEV_APPROOT}/tests/functional/backstopjs/.gitignore" || printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/functional/backstopjs/.gitignore + - grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/functional/backstopjs/.gitignore && printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/functional/backstopjs/.gitignore # list of files and directories listed that are copied into project .ddev directory