Skip to content

Commit

Permalink
Fixed commands, and some folders links
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjol committed Jun 3, 2024
1 parent 9dc4f4c commit f58c32a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions commands/backstopjs/backstopjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions commands/backstopjs/backstopjs-env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.backstopjs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions install.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f58c32a

Please sign in to comment.