DevExpress / DevExpress/testcafe-browser-provider-browserstack
Error: Cannot find module 'browserstack-config.json'
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 85
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
I have a .env file:
BROWSERSTACK_CAPABILITIES_CONFIG_PATH="./browserstack-config.json"
the browserstack-config.json is in the top level directory in the project, when I run the tests with this environment variable the following error is thrown:
Error: Cannot find module './browserstack-config.json'
Removing the environment variable successfully runs the tests, am I missing something?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with BROWSERSTACK_CAPABILITIES_CONFIG_PATH set in .env and inspect how the provider resolves browserstack-config.json from the project root. Done means the top-level configuration file is discovered through the environment variable and the tests run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100