Preliminary checklist
Expected Behavior
According to the Readme you can change the test directory:
https://github.com/mmunz/ddev-backstopjs?tab=readme-ov-file#change-backstop-tests-directory
I just did that and the config is read from then / data is generated there, as expected.
I would expect the backstop-results to also consider this change.
Actual Behavior
However the backstop-results command had hard-coded path in https://github.com/mmunz/ddev-backstopjs/blob/main/commands/host/backstop-results
Error when getting information for file “.../tests/backstop/backstop_data/html_report/index.html”: No such file or directory
Failed to run backstop-results ; error=exit status 4
Steps To Reproduce
- change volume mapping in docker-compose.backstop.yaml according to Readme
- run
ddev restart
- run
ddev backstop init
- run
ddev backstop reference
- run
ddev backstop test
- run
ddev backstop-results
Anything else?
No response
Preliminary checklist
Expected Behavior
According to the Readme you can change the test directory:
https://github.com/mmunz/ddev-backstopjs?tab=readme-ov-file#change-backstop-tests-directory
I just did that and the config is read from then / data is generated there, as expected.
I would expect the
backstop-resultsto also consider this change.Actual Behavior
However the
backstop-resultscommand had hard-coded path in https://github.com/mmunz/ddev-backstopjs/blob/main/commands/host/backstop-resultsSteps To Reproduce
ddev restartddev backstop initddev backstop referenceddev backstop testddev backstop-resultsAnything else?
No response