-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot integrate webdriver-io boilerplate project with Browserstack #18
Comments
I made some changes in my package.json and now I am getting this error: ` |
Looks like Browserstack does not work with projects that has page objects structure. |
Are you still able to integrate webdriverio with browserstack? @sergiybuch |
Hi, I am trying to integrate Browserstack with https://github.com/webdriverio/appium-boilerplate/.
I have created new conf.js file
`exports.config = {
services: ['browserstack'],
user: process.env.BROWSERSTACK_USERNAME || 'xxxxxxxxxxxxxxxxxxxxxxxx',
key: process.env.BROWSERSTACK_ACCESS_KEY || '000000000000000000000',
browserstackLocal: true,
updateJob: false,
specs: [
'./tests/specs/app*.spec.js',
],
exclude: [],
};
When I am running tests I am getting errors in console:
> [email protected] android.browserstack C:\Source\appium-boilerplate-master2019-03-13T15:21:42.248Z DEBUG wdio-config: @wdio/sync found, running tests synchronous
2019-03-13T15:21:42.880Z DEBUG wdio-cli:run: Run suite with config ./config/wdio.android.browserstack.conf.js and params { _: [ './config/wdio.android.browserstack.conf.js' ],
'$0': 'node_modules\@wdio\cli\bin\wdio.js' }
Test Suites: 0 passed, 6 total (0% completed)
Time: 🕓 0.09s
Test Suites: 0 passed, 6 total (0% completed)
Time: 🕗 0.13s
RUNNING 0-3 in android - \tests\specs\app.swipe.spec.js
RUNNING 0-4 in android - \tests\specs\app.webview.spec.js
RUNNING 0-5 in android - \tests\specs\app.webview.xpath.spec.js
Stdout:
2019-03-13T15:21:43.043Z INFO wdio-local-runner: Start worker 0-5 with arg: ./config/wdio.android.browserstack.conf.js
2019-03-13T15:21:43.204Z DEBUG wdio-local-runner: Runner 0-1 finished with exit code 1
2019-03-13T15:21:43.214Z DEBUG wdio-local-runner: Runner 0-0 finished with exit code 1
2019-03-13T15:21:43.230Z DEBUG wdio-local-runner: Runner 0-2 finished with exit code 1
2019-03-13T15:21:43.246Z DEBUG wdio-local-runner: Runner 0-3 finished with exit code 1
Stderr:
[0-0]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-1]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-2]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-2]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-3]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-4]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
[0-5]
C:\Source\appium-boilerplate-master\node_modules\loglevel\lib\loglevel.js:186
throw "log.setLevel() called with invalid level: " + level;
^
log.setLevel() called with invalid level: verbose
Test Suites: 0 passed, 6 failed, 6 total (100% completed)
Time: 🕕 0.37s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] android.browserstack:
wdio ./config/wdio.android.browserstack.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] android.browserstack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-03-13T15_21_43_294Z-debug.log
`
logs-debug.txt
How can i make these tests run in Browserstack?
The text was updated successfully, but these errors were encountered: