Commit 2bcd183d authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Minor update

parent ce6f0ed4
# webdriverio-browserstack
[WebdriverIO](http://webdriver.io/) Integration with BrowserStack.
[WebdriverIO](http://webdriver.io/) UI Testing og Dataporten Auth Engine
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
<img src = "http://webdriver.io/images/webdriverio.png" height = "100">
## Setup
* Clone the repo
* Install dependencies `npm install`
......@@ -21,12 +24,12 @@
* You can view your test results on the [BrowserStack automate dashboard](https://www.browserstack.com/automate)
* To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/node#setting-os-and-browser)
* You can export the environment variables for the Username and Access Key of your BrowserStack account
```
export BROWSERSTACK_USERNAME=<browserstack-username> &&
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
```
## Additional Resources
* [Documentation for writing automate test scripts in Node](https://www.browserstack.com/automate/node)
* [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)
......
......@@ -21,26 +21,31 @@ exports.config = {
},
capabilities: [
{
os: "WINDOWS", os_version: "10",
browser: "chrome",
browser_version: "62"
},
// {
// os: "WINDOWS", os_version: "10",
// browser: "chrome",
// browser_version: "62"
// },
// {
// os: "WINDOWS", os_version: "10",
// browser: "firefox",
// browser_version: "57"
// },
// {
// os: "WINDOWS", os_version: "10",
// os: "WINDOWS", os_version: "7",
// browser: "chrome",
// browser_version: "14"
// browser_version: "20"
// },
{
os: "WINDOWS", os_version: "7",
browser: "IE",
browser_version: "9"
},
// {
// os: "WINDOWS", os_version: "7",
// browser: "IE",
// browser_version: "8"
// },
// }, // PROBLEMS
// {
// os: "WINDOWS", os_version: "7",
// browser: "firefox",
......@@ -69,7 +74,7 @@ exports.config = {
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 25000
timeout: 35000
}
}
......
......@@ -14,9 +14,9 @@
}
},
"ajv": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.3.0.tgz",
"integrity": "sha1-RBT/dKUIecII7l/cgm4ywwNUnto=",
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.0.tgz",
"integrity": "sha1-6yhAdG6dxIvV4GOjbj/UAMXqtak=",
"requires": {
"co": "4.6.0",
"fast-deep-equal": "1.0.0",
......@@ -203,9 +203,9 @@
}
},
"chardet": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.0.tgz",
"integrity": "sha1-C74TVaxE16PtSpJXB8TvcPgZD2w="
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz",
"integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
},
"cli-cursor": {
"version": "2.1.0",
......@@ -413,7 +413,7 @@
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.1.0.tgz",
"integrity": "sha512-E44iT5QVOUJBKij4IIV3uvxuNlbKS38Tw1HiupxEIHPv9qtC2PrDYohbXV5U+1jnfIXttny8gUhj+oZvflFlzA==",
"requires": {
"chardet": "0.4.0",
"chardet": "0.4.2",
"iconv-lite": "0.4.19",
"tmp": "0.0.33"
}
......@@ -547,7 +547,7 @@
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz",
"integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=",
"requires": {
"ajv": "5.3.0",
"ajv": "5.5.0",
"har-schema": "2.0.0"
}
},
......@@ -1293,9 +1293,9 @@
"integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g=="
},
"validator": {
"version": "9.1.1",
"resolved": "https://registry.npmjs.org/validator/-/validator-9.1.1.tgz",
"integrity": "sha512-1TGGX1GKilfmcEa9rm+9nI9AqIUQK8oj4jZI0DmTGLTPM5jmowBBhyBIHCks73+P1QPZk2i6oOYUq583uOetHQ=="
"version": "9.1.2",
"resolved": "https://registry.npmjs.org/validator/-/validator-9.1.2.tgz",
"integrity": "sha512-1Tml6crNdsSC61jHssWksQxq6C7MmSFCCmf99Eb+l/V/cwVlw4/Pg3YXBP1WKcHLsyqe3E+iJXUZgoTTQFcqQg=="
},
"verror": {
"version": "1.10.0",
......@@ -1351,9 +1351,9 @@
}
},
"webdriverio": {
"version": "4.9.8",
"resolved": "https://registry.npmjs.org/webdriverio/-/webdriverio-4.9.8.tgz",
"integrity": "sha1-kHGA5xXTueFsq+ILrVmFS+weRPo=",
"version": "4.9.10",
"resolved": "https://registry.npmjs.org/webdriverio/-/webdriverio-4.9.10.tgz",
"integrity": "sha1-bhEWxw0CHwyouqpcVnte0zdJfNM=",
"requires": {
"archiver": "2.1.0",
"babel-runtime": "6.26.0",
......@@ -1374,7 +1374,7 @@
"safe-buffer": "5.1.1",
"supports-color": "5.0.0",
"url": "0.11.0",
"validator": "9.1.1",
"validator": "9.1.2",
"wdio-dot-reporter": "0.0.9",
"wgxpath": "1.0.0"
}
......
......@@ -26,7 +26,7 @@
"browserstack-local": "^1.0.0",
"moment": "^2.19.2",
"uuid": "^3.1.0",
"webdriverio": "^4.0.5"
"webdriverio": "^4.9.10"
},
"devDependencies": {
"wdio-mocha-framework": "^0.2.11"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment