@wdio/browserstack-service 9.0.0-alpha.0 → 9.0.0-alpha.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/build/insights-handler.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -46,11 +46,14 @@ In order to authorize to the BrowserStack service your config needs to contain a
|
|
|
46
46
|
|
|
47
47
|
### testObservability
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Test Observability is an advanced test reporting tool that gives insights to improve your automation tests and helps you debug faster. It’s enabled by default by setting the `testObservability` flag as `true` for all users of browserstack-service. You can disable this by setting the `testObservability` flag to `false`.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Once your tests finish running, you can visit [Test Observability](https://observability.browserstack.com/) to debug your builds with additional insights like Unique Error Analysis, Automatic Flaky Test Detection, and more.
|
|
52
|
+
|
|
53
|
+
You can use Test Observability even if you don’t run your tests on the BrowserStack infrastructure. Even if you run your tests on a CI, a local machine, or even on other cloud service providers, Test Observability can still generate intelligent test reports and advanced analytics on your tests.
|
|
54
|
+
|
|
55
|
+
If you want to use Test Observability without running your tests on BrowserStack infrastructure, you can set your config as follows:
|
|
52
56
|
|
|
53
|
-
You can set your config in the following manner if you do not want to run tests on BrowserStack Automate or App Automate (infrastructure) but still want to use Test Observability (note that `user` and `key` are now defined under the scope of the `browserstack` service):
|
|
54
57
|
|
|
55
58
|
```js
|
|
56
59
|
// wdio.conf.js
|
|
@@ -71,7 +74,7 @@ export const config = {
|
|
|
71
74
|
};
|
|
72
75
|
```
|
|
73
76
|
|
|
74
|
-
[
|
|
77
|
+
You can explore all the features of Test Observability in [this sandbox](https://observability-demo.browserstack.com/) or read more about it [here](https://www.browserstack.com/docs/test-observability/overview/what-is-test-observability).
|
|
75
78
|
|
|
76
79
|
### browserstackLocal
|
|
77
80
|
Set this to true to enable routing connections from BrowserStack cloud through your computer.
|
|
@@ -80,7 +83,7 @@ Type: `Boolean`<br />
|
|
|
80
83
|
Default: `false`
|
|
81
84
|
|
|
82
85
|
### forcedStop
|
|
83
|
-
Set this to true to kill the BrowserStack Local process on complete, without waiting for the BrowserStack Local stop callback to be called. This is experimental and should not be used by all. Mostly necessary as a
|
|
86
|
+
Set this to true to kill the BrowserStack Local process on complete, without waiting for the BrowserStack Local stop callback to be called. This is experimental and should not be used by all. Mostly necessary as a workaround for [this issue](https://github.com/browserstack/browserstack-local-nodejs/issues/41).
|
|
84
87
|
|
|
85
88
|
Type: `Boolean`<br />
|
|
86
89
|
Default: `false`
|
|
@@ -671,7 +671,7 @@ class _InsightsHandler {
|
|
|
671
671
|
}
|
|
672
672
|
testData.finished_at = (new Date()).toISOString();
|
|
673
673
|
testData.result = result;
|
|
674
|
-
testData.duration_in_ms = world.result.duration.nanos / 1000000; // send duration in ms
|
|
674
|
+
testData.duration_in_ms = world.result.duration.seconds * 1000 + world.result.duration.nanos / 1000000; // send duration in ms
|
|
675
675
|
if (result === 'failed') {
|
|
676
676
|
testData.failure = [
|
|
677
677
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/browserstack-service",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.64+3cfecb6e4",
|
|
4
4
|
"description": "WebdriverIO service for better Browserstack integration",
|
|
5
5
|
"author": "Adam Bjerstedt <abjerstedt@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browserstack-service",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@percy/appium-app": "^2.0.1",
|
|
34
34
|
"@percy/selenium-webdriver": "^2.0.3",
|
|
35
35
|
"@types/gitconfiglocal": "^2.0.1",
|
|
36
|
-
"@wdio/logger": "9.0.0-alpha.
|
|
37
|
-
"@wdio/reporter": "9.0.0-alpha.
|
|
38
|
-
"@wdio/types": "9.0.0-alpha.
|
|
36
|
+
"@wdio/logger": "9.0.0-alpha.64+3cfecb6e4",
|
|
37
|
+
"@wdio/reporter": "9.0.0-alpha.64+3cfecb6e4",
|
|
38
|
+
"@wdio/types": "9.0.0-alpha.64+3cfecb6e4",
|
|
39
39
|
"browserstack-local": "^1.5.1",
|
|
40
40
|
"chalk": "^5.3.0",
|
|
41
41
|
"csv-writer": "^1.6.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"git-repo-info": "^2.1.1",
|
|
44
44
|
"gitconfiglocal": "^2.1.0",
|
|
45
45
|
"uuid": "^9.0.0",
|
|
46
|
-
"webdriverio": "9.0.0-alpha.
|
|
46
|
+
"webdriverio": "9.0.0-alpha.64+3cfecb6e4",
|
|
47
47
|
"winston-transport": "^4.5.0",
|
|
48
48
|
"yauzl": "^3.0.0"
|
|
49
49
|
},
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^20.1.0",
|
|
55
55
|
"@types/yauzl": "^2.10.3",
|
|
56
|
-
"@wdio/globals": "9.0.0-alpha.
|
|
56
|
+
"@wdio/globals": "9.0.0-alpha.64+3cfecb6e4"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "3cfecb6e45e7d38a1e86766d79d83822160c8e45"
|
|
62
62
|
}
|