Title: Cannot integrate webdriver-io boilerplate project with Browserstack · Issue #18 · browserstack/webdriverio-browserstack · GitHub
Open Graph Title: Cannot integrate webdriver-io boilerplate project with Browserstack · Issue #18 · browserstack/webdriverio-browserstack
X Title: Cannot integrate webdriver-io boilerplate project with Browserstack · Issue #18 · browserstack/webdriverio-browserstack
Description: 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 || 'xxxxxxxxxxxxxx...
Open Graph Description: 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....
X Description: 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: proc...
Opengraph URL: https://github.com/browserstack/webdriverio-browserstack/issues/18
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot integrate webdriver-io boilerplate project with Browserstack","articleBody":"Hi, I am trying to integrate Browserstack with https://github.com/webdriverio/appium-boilerplate/.\r\nI have created new conf.js file \r\n\r\n`exports.config = {\r\n services: ['browserstack'],\r\n user: process.env.BROWSERSTACK_USERNAME || 'xxxxxxxxxxxxxxxxxxxxxxxx',\r\n key: process.env.BROWSERSTACK_ACCESS_KEY || '000000000000000000000',\r\n browserstackLocal: true,\r\n updateJob: false,\r\n specs: [\r\n './tests/specs/app*.spec.js',\r\n ],\r\n exclude: [],\r\n\r\n capabilities: [{\r\n name: 'single_appium_test',\r\n build: 'webdriver-browserstack',\r\n device: 'Samsung Galaxy S7',\r\n browserName: 'android',\r\n app: process.env.BROWSERSTACK_APP_ID || 'bs://xxxxxxxxxxxxxxxxxxxxxxxxxxxx',\r\n appPackage: 'com.wdiodemoapp',\r\n appActivity: 'com.wdiodemoapp.MainActivity',\r\n 'browserstack.debug': true\r\n }],\r\n logLevel: 'verbose',\r\n coloredLogs: true,\r\n screenshotPath: './errorShots/',\r\n baseUrl: '',\r\n waitforTimeout: 10000,\r\n connectionRetryTimeout: 90000,\r\n connectionRetryCount: 3,\r\n\r\n framework: 'mocha',\r\n mochaOpts: {\r\n ui: 'bdd',\r\n timeout: 20000\r\n }\r\n};\r\n`\r\nWhen I am running tests I am getting errors in console:\r\n`\u003e appium-boilerplate@5.0.0 android.browserstack C:\\Source\\appium-boilerplate-master\r\n\u003e wdio ./config/wdio.android.browserstack.conf.js\r\n\r\n2019-03-13T15:21:42.248Z DEBUG wdio-config: @wdio/sync found, running tests synchronous\r\n2019-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' ],\r\n '$0': 'node_modules\\\\@wdio\\\\cli\\\\bin\\\\wdio.js' }\r\n\r\nTest Suites: 0 passed, 6 total (0% completed)\r\nTime: 🕓 0.09s\r\n\r\nTest Suites: 0 passed, 6 total (0% completed)\r\nTime: 🕗 0.13s\r\n\r\n\r\n RUNNING 0-3 in android - \\tests\\specs\\app.swipe.spec.js\r\n RUNNING 0-4 in android - \\tests\\specs\\app.webview.spec.js\r\n RUNNING 0-5 in android - \\tests\\specs\\app.webview.xpath.spec.js\r\n\r\nStdout:\r\n2019-03-13T15:21:43.043Z INFO wdio-local-runner: Start worker 0-5 with arg: ./config/wdio.android.browserstack.conf.js\r\n2019-03-13T15:21:43.204Z DEBUG wdio-local-runner: Runner 0-1 finished with exit code 1\r\n2019-03-13T15:21:43.214Z DEBUG wdio-local-runner: Runner 0-0 finished with exit code 1\r\n2019-03-13T15:21:43.230Z DEBUG wdio-local-runner: Runner 0-2 finished with exit code 1\r\n2019-03-13T15:21:43.246Z DEBUG wdio-local-runner: Runner 0-3 finished with exit code 1\r\n\r\nStderr:\r\n[0-0]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-1]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-2]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-2]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-3]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-4]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n[0-5]\r\nC:\\Source\\appium-boilerplate-master\\node_modules\\loglevel\\lib\\loglevel.js:186\r\n throw \"log.setLevel() called with invalid level: \" + level;\r\n ^\r\nlog.setLevel() called with invalid level: verbose\r\n\r\nTest Suites: 0 passed, 6 failed, 6 total (100% completed)\r\nTime: 🕕 0.37s\r\n\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! appium-boilerplate@5.0.0 android.browserstack: `wdio ./config/wdio.android.browserstack.conf.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the appium-boilerplate@5.0.0 android.browserstack script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! C:\\Users\\user\\AppData\\Roaming\\npm-cache\\_logs\\2019-03-13T15_21_43_294Z-debug.log\r\n`\r\n\r\n[logs-debug.txt](https://github.com/browserstack/webdriverio-browserstack/files/2962172/logs-debug.txt)\r\n\r\nHow can i make these tests run in Browserstack?\r\n","author":{"url":"https://github.com/sergiybuch","@type":"Person","name":"sergiybuch"},"datePublished":"2019-03-13T15:26:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/18/webdriverio-browserstack/issues/18"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ccc31655-b49c-f46c-59d7-247a9ffe5adc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD48:2B78D3:1E3CF68:28F355D:6A537520 |
| html-safe-nonce | 78878445937b84f57d6d5e98fbaae33b93d599f007fe070e158e13433e5ab753 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDQ4OjJCNzhEMzoxRTNDRjY4OjI4RjM1NUQ6NkE1Mzc1MjAiLCJ2aXNpdG9yX2lkIjoiNTAxMzY0MDY2NjQzNTI1MzUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bdc3979af71756e3eefe086f41df4f79ed1c9aa1c843c3787a1f4bc340e4bb1f |
| hovercard-subject-tag | issue:420563395 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/webdriverio-browserstack/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f05221a5972a41ac7a670f8411bfc5c745a97bf999e4bda892089209698f343/browserstack/webdriverio-browserstack/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f05221a5972a41ac7a670f8411bfc5c745a97bf999e4bda892089209698f343/browserstack/webdriverio-browserstack/issues/18 |
| og:image:alt | 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.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sergiybuch |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/webdriverio-browserstack git https://github.com/browserstack/webdriverio-browserstack.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 52861139 |
| octolytics-dimension-repository_nwo | browserstack/webdriverio-browserstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52861139 |
| octolytics-dimension-repository_network_root_nwo | browserstack/webdriverio-browserstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width