diff --git a/commands/backstop/backstop b/commands/backstop/backstop index f9358a2..a6beb32 100755 --- a/commands/backstop/backstop +++ b/commands/backstop/backstop @@ -8,7 +8,7 @@ ## ExecRaw: true if [ "$1" == "openReport" -o "$1" == "remote" ]; then - echo "This does not work for backstop in ddev" + echo "This does not work for backstop in ddev. See ddev backstop-results command." exit 1 fi diff --git a/commands/host/backstop-results b/commands/host/backstop-results index e1eb7c6..d12e96e 100755 --- a/commands/host/backstop-results +++ b/commands/host/backstop-results @@ -8,12 +8,12 @@ case $OSTYPE in linux-gnu) - xdg-open tests/backstop/backstop_data/html_report/index.html + xdg-open ${DDEV_APPROOT}/tests/backstop/backstop_data/html_report/index.html ;; "darwin"*) - open tests/backstop/backstop_data/html_report/index.html + open ${DDEV_APPROOT}/tests/backstop/backstop_data/html_report/index.html ;; "win*"* | "msys"*) - start tests/backstop/backstop_data/html_report/index.html + start ${DDEV_APPROOT}/tests/backstop/backstop_data/html_report/index.html ;; esac