percy / percy-webdriverio

Visual testing with WebdriverIO and Percy
https://percy.io
MIT License
25 stars 22 forks source link

fix for replace build dir inside webdriverio dir #1053

Closed shantanuk-browserstack closed 9 months ago

shantanuk-browserstack commented 9 months ago

To get the correct location of package.json inside the webdriverio directory, we were replacing the webdriverio/build directory in path to webdriver/package.json.

When using this in buildkite pipeline, this was causing the error Error: Cannot find module as buildkite by default creates the build directory, the code was replacing this directory.

ninadbstack commented 9 months ago

The error was in bitbucket pipeline can you update in description ?