froth-webdriverio-framework 6.0.26 → 6.0.27

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.
@@ -0,0 +1,34 @@
1
+ const path = require('path');
2
+
3
+ const SUITE_FILE = path.resolve(process.cwd(), process.env.SUITE);
4
+ console.log('====>SUITE_FILE:', SUITE_FILE);
5
+
6
+ exports.config = {
7
+ user: process.env.BROWSERSTACK_USERNAME || 'naveen_OSt3Pw',
8
+ key: process.env.BROWSERSTACK_ACCESS_KEY || Buffer.from('QjlSeDI4TVRLRnpSSjJRRVZLMWM=', 'base64').toString('utf-8'),
9
+
10
+ updateJob: false,
11
+ specs: require(SUITE_FILE).tests,
12
+ exclude: [],
13
+
14
+ logLevel: 'warn',
15
+ coloredLogs: true,
16
+ screenshotPath: './errorShots/',
17
+ baseUrl: '',
18
+ waitforTimeout: 10000,
19
+ connectionRetryTimeout: 120000,
20
+ connectionRetryCount: 3,
21
+ hostname: 'hub.browserstack.com',
22
+ services: [['browserstack']],
23
+
24
+ // before: function () {
25
+ // var chai = require('chai');
26
+ // global.expect = chai.expect;
27
+ // chai.Should();
28
+ // },
29
+ framework: 'mocha',
30
+ mochaOpts: {
31
+ ui: 'bdd',
32
+ timeout: 60000,
33
+ },
34
+ };
@@ -1,146 +1,35 @@
1
- const deepmerge = require('deepmerge')
2
- const fs = require('fs');
3
- const yaml = require('js-yaml');
4
- const path = require('path');
5
- const commonconfig = require('./commonconfig');
6
- console.log('=====wdios common config===== ');
7
- // Select platform at runtime
8
- const PLATFORM = process.env.PLATFORM || 'browserstack';
9
- console.log('====>PLATFORM:', PLATFORM);
10
-
11
- const configFile = process.env.YML_NAME;
12
-
13
- const resultdetails = {
14
- comments: [],
15
- excution_status: null, // Pass/Fail
16
- excution_time: null, // Execution time in milliseconds
17
- };
18
-
19
- // Load YAML file
20
- //const capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
21
-
22
- let capabilities;
23
-
24
- try {
25
- capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
26
- // Merge chrome-specific options if applicable
27
-
28
- } catch (e) {
29
- const errorMsg = `The capability file does not exist in the currently configured repository at path: ${path.resolve(process.cwd(), configFile)}: ${e.message},Please update the Capability by editing the file`;
30
- console.error(errorMsg);
31
- resultdetails.comments.push(errorMsg);
32
- resultdetails.excution_status = 'FAIL';
33
-
34
- try {
35
- exeDetails.updateExecuitonDetails(
36
- process.env.ORGANISATION_DOMAIN_URL,
37
- process.env.API_TOKEN,
38
- process.env.EXECUTION_ID,
39
- resultdetails
40
- );
41
- setTimeout(() => {
42
- console.log("30 seconds passed.");
43
- // You can call your API or exit the process here
44
- }, 30000);
45
- console.log('Execution details updated successfully.');
46
- } catch (err) {
47
- console.error('Failed to update execution details:', err.message);
48
- }
49
- process.exit(1);
50
- }
51
- console.log('====>capabilities:', capabilities);
52
-
53
- const SUITE_FILE = path.resolve(process.cwd(), process.env.SUITE);
54
- console.log('====>SUITE_FILE:', SUITE_FILE);
55
-
56
- if (!SUITE_FILE || !fs.existsSync(SUITE_FILE)) {
57
- let errorMsg = `The suite file does not exist in the currently configured repository at path: ${SUITE_FILE}. Please update the SUITE by editing the file`;
58
-
59
- console.error(errorMsg);
60
- resultdetails.comments.push(errorMsg);
61
- resultdetails.excution_status = 'FAIL';
62
-
63
- // Fire API call in background (non-blocking)
64
-
65
- try {
66
- exeDetails.updateExecuitonDetails(
67
- process.env.ORGANISATION_DOMAIN_URL,
68
- process.env.API_TOKEN,
69
- process.env.EXECUTION_ID,
70
- resultdetails
71
- );
72
- setTimeout(() => {
73
- console.log("30 seconds passed.");
74
- // You can call your API or exit the process here
75
- }, 30000);
76
- console.log('Execution details updated successfully.');
77
- } catch (err) {
78
- console.error('Failed to update execution details:', err.message);
1
+ const { config: baseConfig } = require('./baseconfig.js');
2
+
3
+ const parallelConfig = {
4
+ maxInstances: 10,
5
+ commonCapabilities: {
6
+ 'bstack:options': {
7
+ buildName: 'browserstack build',
8
+ source: 'webdriverio:sample-master:v1.2'
79
9
  }
80
- process.exit(1);
81
- }
82
-
83
- function setupPrerequisites() {
84
- console.log("inside this fuction first ");
85
- if (PLATFORM === 'browserstack') {
86
- process.env.BROWSERSTACK_USERNAME = capabilities.userName;
87
- capabilities.accessKey = Buffer.from(capabilities.accessKey, 'base64').toString('utf-8');
88
- process.env.BROWSERSTACK_ACCESS_KEY = capabilities.accessKey
89
-
90
- console.log('capabilities.platformName:', capabilities.platformName ?? 'web');
91
- process.env.BS_SESSION_TYPE = capabilities.platformName === 'android' || capabilities.platformName === 'ios' ? 'app-automate' : 'automate';
92
- capabilities.buildName = process.env.FROTH_TESTOPS_BUILD_NAME;
93
-
94
- }
95
-
96
- }
97
-
98
- const specificConfig = setupPrerequisites();
99
-
100
-
101
- exports.config = deepmerge(commonconfig,
102
-
10
+ },
11
+ services: [
12
+ [
13
+ 'browserstack',
14
+ { buildIdentifier: '#${BUILD_NUMBER}' },
15
+ ],
16
+ ],
17
+ capabilities: [
103
18
  {
104
- user: process.env.BROWSERSTACK_USERNAME,
105
- key: process.env.BROWSERSTACK_ACCESS_KEY,
106
- // debug: true,
107
- // execArgv: ['--inspect-brk'],
108
- services: PLATFORM === 'browserstack'
109
- ? ['browserstack']
110
- : PLATFORM === 'saucelabs'
111
- ? ['sauce']
112
- : [],
113
-
114
- //runner: 'local',
115
- specs: require(SUITE_FILE).tests,
116
-
117
- maxInstances: 1,
118
- // capabilities: [capabilities],
119
- capabilities: [{
120
- // capabilities for local Appium web tests on an Android Emulator
121
- platformName: 'Android',
122
- browserName: 'Chrome',
123
- 'appium:app': 'bs://30fdf3a163d0bad126f64a3d5713e9ab0086a41e',
124
- 'appium:deviceName': 'Samsung Galaxy S22 Ultra',
125
- 'appium:platformVersion': '12.0',
126
- 'appium:automationName': 'UiAutomator2'
127
- }],
19
+ browserName: 'chrome',
20
+ browserVersion: 'latest',
21
+ 'bstack:options': {
22
+ os: 'Windows',
23
+ osVersion: '10',
24
+ },
25
+ }
26
+ ],
27
+ };
128
28
 
129
- logLevel: 'info',
130
- coloredLogs: true,
131
- screenshotPath: './errorShots/',
132
- bail: 0,
133
- //baseUrl: 'https://example.com',
134
- waitforTimeout: 90000,
135
- connectionRetryTimeout: 90000,
136
- connectionRetryCount: 3,
29
+ exports.config = { ...baseConfig, ...parallelConfig };
137
30
 
138
- framework: 'mocha',
139
- reporters: ['spec'],
140
- maxInstances: 10,
141
- updateJob: false,
142
- mochaOpts: {
143
- ui: 'bdd',
144
- timeout: 300000
145
- }
146
- });
31
+ // Code to support common capabilities
32
+ exports.config.capabilities.forEach(function (caps) {
33
+ for (var i in exports.config.commonCapabilities)
34
+ caps[i] = { ...caps[i], ...exports.config.commonCapabilities[i]};
35
+ });
@@ -0,0 +1,146 @@
1
+ const deepmerge = require('deepmerge')
2
+ const fs = require('fs');
3
+ const yaml = require('js-yaml');
4
+ const path = require('path');
5
+ const commonconfig = require('./commonconfig');
6
+ console.log('=====wdios common config===== ');
7
+ // Select platform at runtime
8
+ const PLATFORM = process.env.PLATFORM || 'browserstack';
9
+ console.log('====>PLATFORM:', PLATFORM);
10
+
11
+ const configFile = process.env.YML_NAME;
12
+
13
+ const resultdetails = {
14
+ comments: [],
15
+ excution_status: null, // Pass/Fail
16
+ excution_time: null, // Execution time in milliseconds
17
+ };
18
+
19
+ // Load YAML file
20
+ //const capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
21
+
22
+ let capabilities;
23
+
24
+ try {
25
+ capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
26
+ // Merge chrome-specific options if applicable
27
+
28
+ } catch (e) {
29
+ const errorMsg = `The capability file does not exist in the currently configured repository at path: ${path.resolve(process.cwd(), configFile)}: ${e.message},Please update the Capability by editing the file`;
30
+ console.error(errorMsg);
31
+ resultdetails.comments.push(errorMsg);
32
+ resultdetails.excution_status = 'FAIL';
33
+
34
+ try {
35
+ exeDetails.updateExecuitonDetails(
36
+ process.env.ORGANISATION_DOMAIN_URL,
37
+ process.env.API_TOKEN,
38
+ process.env.EXECUTION_ID,
39
+ resultdetails
40
+ );
41
+ setTimeout(() => {
42
+ console.log("30 seconds passed.");
43
+ // You can call your API or exit the process here
44
+ }, 30000);
45
+ console.log('Execution details updated successfully.');
46
+ } catch (err) {
47
+ console.error('Failed to update execution details:', err.message);
48
+ }
49
+ process.exit(1);
50
+ }
51
+ console.log('====>capabilities:', capabilities);
52
+
53
+ const SUITE_FILE = path.resolve(process.cwd(), process.env.SUITE);
54
+ console.log('====>SUITE_FILE:', SUITE_FILE);
55
+
56
+ if (!SUITE_FILE || !fs.existsSync(SUITE_FILE)) {
57
+ let errorMsg = `The suite file does not exist in the currently configured repository at path: ${SUITE_FILE}. Please update the SUITE by editing the file`;
58
+
59
+ console.error(errorMsg);
60
+ resultdetails.comments.push(errorMsg);
61
+ resultdetails.excution_status = 'FAIL';
62
+
63
+ // Fire API call in background (non-blocking)
64
+
65
+ try {
66
+ exeDetails.updateExecuitonDetails(
67
+ process.env.ORGANISATION_DOMAIN_URL,
68
+ process.env.API_TOKEN,
69
+ process.env.EXECUTION_ID,
70
+ resultdetails
71
+ );
72
+ setTimeout(() => {
73
+ console.log("30 seconds passed.");
74
+ // You can call your API or exit the process here
75
+ }, 30000);
76
+ console.log('Execution details updated successfully.');
77
+ } catch (err) {
78
+ console.error('Failed to update execution details:', err.message);
79
+ }
80
+ process.exit(1);
81
+ }
82
+
83
+ function setupPrerequisites() {
84
+ console.log("inside this fuction first ");
85
+ if (PLATFORM === 'browserstack') {
86
+ process.env.BROWSERSTACK_USERNAME = capabilities.userName;
87
+ capabilities.accessKey = Buffer.from(capabilities.accessKey, 'base64').toString('utf-8');
88
+ process.env.BROWSERSTACK_ACCESS_KEY = capabilities.accessKey
89
+
90
+ console.log('capabilities.platformName:', capabilities.platformName ?? 'web');
91
+ process.env.BS_SESSION_TYPE = capabilities.platformName === 'android' || capabilities.platformName === 'ios' ? 'app-automate' : 'automate';
92
+ capabilities.buildName = process.env.FROTH_TESTOPS_BUILD_NAME;
93
+
94
+ }
95
+
96
+ }
97
+
98
+ const specificConfig = setupPrerequisites();
99
+
100
+
101
+ exports.config = deepmerge(commonconfig,
102
+
103
+ {
104
+ user: process.env.BROWSERSTACK_USERNAME,
105
+ key: process.env.BROWSERSTACK_ACCESS_KEY,
106
+ // debug: true,
107
+ // execArgv: ['--inspect-brk'],
108
+ services: PLATFORM === 'browserstack'
109
+ ? ['browserstack']
110
+ : PLATFORM === 'saucelabs'
111
+ ? ['sauce']
112
+ : [],
113
+
114
+ //runner: 'local',
115
+ specs: require(SUITE_FILE).tests,
116
+
117
+ maxInstances: 1,
118
+ // capabilities: [capabilities],
119
+ capabilities: [{
120
+ // capabilities for local Appium web tests on an Android Emulator
121
+ platformName: 'Android',
122
+ browserName: 'Chrome',
123
+ 'appium:app': 'bs://30fdf3a163d0bad126f64a3d5713e9ab0086a41e',
124
+ 'appium:deviceName': 'Samsung Galaxy S22 Ultra',
125
+ 'appium:platformVersion': '12.0',
126
+ 'appium:automationName': 'UiAutomator2'
127
+ }],
128
+
129
+ logLevel: 'info',
130
+ coloredLogs: true,
131
+ screenshotPath: './errorShots/',
132
+ bail: 0,
133
+ //baseUrl: 'https://example.com',
134
+ waitforTimeout: 90000,
135
+ connectionRetryTimeout: 90000,
136
+ connectionRetryCount: 3,
137
+
138
+ framework: 'mocha',
139
+ reporters: ['spec'],
140
+ maxInstances: 10,
141
+ updateJob: false,
142
+ mochaOpts: {
143
+ ui: 'bdd',
144
+ timeout: 300000
145
+ }
146
+ });
@@ -678,5 +678,105 @@
678
678
  "success": true,
679
679
  "failure": null,
680
680
  "worker": 6559
681
+ },
682
+ {
683
+ "name": "sdk:testhub",
684
+ "entryType": "measure",
685
+ "startTime": 652.0609179735184,
686
+ "duration": 1195.767060995102,
687
+ "detail": null,
688
+ "success": true,
689
+ "failure": null,
690
+ "worker": 53995
691
+ },
692
+ {
693
+ "name": "sdk:percy",
694
+ "entryType": "measure",
695
+ "startTime": 1853.463542997837,
696
+ "duration": 0.6448469758033752,
697
+ "detail": null,
698
+ "success": true,
699
+ "failure": null,
700
+ "worker": 53995
701
+ },
702
+ {
703
+ "name": "sdk:automate:local",
704
+ "entryType": "measure",
705
+ "startTime": 1854.539654970169,
706
+ "duration": 0.46737104654312134,
707
+ "detail": null,
708
+ "success": true,
709
+ "failure": null,
710
+ "worker": 53995
711
+ },
712
+ {
713
+ "name": "sdk:automate:hub-management",
714
+ "entryType": "measure",
715
+ "startTime": 4898.535274982452,
716
+ "duration": 2415.7501670122147,
717
+ "detail": null,
718
+ "success": true,
719
+ "failure": null,
720
+ "worker": 53995
721
+ },
722
+ {
723
+ "name": "sdk:automate:print-buildlink",
724
+ "entryType": "measure",
725
+ "startTime": 59351.238147974014,
726
+ "duration": 696.1430749893188,
727
+ "detail": null,
728
+ "success": true,
729
+ "failure": null,
730
+ "worker": 53995
731
+ },
732
+ {
733
+ "name": "sdk:testhub",
734
+ "entryType": "measure",
735
+ "startTime": 591.0196120142937,
736
+ "duration": 736.2066059708595,
737
+ "detail": null,
738
+ "success": true,
739
+ "failure": null,
740
+ "worker": 54754
741
+ },
742
+ {
743
+ "name": "sdk:percy",
744
+ "entryType": "measure",
745
+ "startTime": 1335.217038989067,
746
+ "duration": 1.058184027671814,
747
+ "detail": null,
748
+ "success": true,
749
+ "failure": null,
750
+ "worker": 54754
751
+ },
752
+ {
753
+ "name": "sdk:automate:local",
754
+ "entryType": "measure",
755
+ "startTime": 1339.2144489884377,
756
+ "duration": 0.7757580280303955,
757
+ "detail": null,
758
+ "success": true,
759
+ "failure": null,
760
+ "worker": 54754
761
+ },
762
+ {
763
+ "name": "sdk:automate:hub-management",
764
+ "entryType": "measure",
765
+ "startTime": 4391.944581985474,
766
+ "duration": 2111.0508360266685,
767
+ "detail": null,
768
+ "success": true,
769
+ "failure": null,
770
+ "worker": 54754
771
+ },
772
+ {
773
+ "name": "sdk:automate:print-buildlink",
774
+ "entryType": "measure",
775
+ "startTime": 33875.93326097727,
776
+ "duration": 648.1577300429344,
777
+ "detail": null,
778
+ "success": true,
779
+ "failure": null,
780
+ "worker": 54754
681
781
  }
682
782
  ]
package/log/sdk-cli.log CHANGED
@@ -2768,3 +2768,530 @@
2768
2768
  2025-12-08T04:24:45.917Z CLI info [naveen_OSt3Pw] [ypjvnapdcoqlgyohhlqjvszsnah6ebenqvv4s0t8] [b5e4e883-570c-4e99-8992-41e20e2027f5] [PRODUCTION] Making GET request to https://api.browserstack.com
2769
2769
  2025-12-08T04:24:46.253Z CLI info [naveen_OSt3Pw] [ypjvnapdcoqlgyohhlqjvszsnah6ebenqvv4s0t8] [b5e4e883-570c-4e99-8992-41e20e2027f5] [PRODUCTION] Making POST request to https://eds.browserstack.com
2770
2770
  2025-12-08T04:24:47.253Z CLI info [main] [naveen_OSt3Pw] [ypjvnapdcoqlgyohhlqjvszsnah6ebenqvv4s0t8] [b5e4e883-570c-4e99-8992-41e20e2027f5] Received graceful signal termination, performing cleanup
2771
+ 2025-12-09T04:25:31.316Z CLI info Config : {"userName":"[REDACTED]","accessKey":"[REDACTED]","platforms":[{"browserName":"chrome","browserVersion":"latest","os":"Windows","osVersion":"10","buildName":"browserstack build","source":"webdriverio:sample-master:v1.2","wdioService":"9.20.1"}],"isNonBstackA11yWDIO":false,"buildIdentifier":"#${BUILD_NUMBER}","accessibility":null,"testObservability":true,"testContextOptions":{"skipSessionName":false,"skipSessionStatus":false,"sessionNameOmitTestTitle":false,"sessionNamePrependTopLevelSuiteTitle":false,"sessionNameFormat":""},"buildTag":[]}
2772
+ 2025-12-09T04:25:31.424Z CLI info [testhub:module] [naveen_OSt3Pw] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Starting testhub from 53995:0
2773
+ 2025-12-09T04:25:31.426Z CLI info [naveen_OSt3Pw] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://sdk.browserstack.com
2774
+ 2025-12-09T04:25:32.618Z CLI info [testhub:module] [naveen_OSt3Pw] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] startBuild: response=vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq
2775
+ 2025-12-09T04:25:32.623Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://api.browserstack.com
2776
+ 2025-12-09T04:25:35.671Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making GET request to https://hub.browserstack.com
2777
+ 2025-12-09T04:25:36.959Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making GET request to https://hub-apse.browserstack.com
2778
+ 2025-12-09T04:25:38.085Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making GET request to https://hub-aps.browserstack.com
2779
+ 2025-12-09T04:25:38.111Z CLI info [sdk:service] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Driver initialized as primary driver: platformIndex=0
2780
+ 2025-12-09T04:25:38.430Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making GET request to https://hub-usw.browserstack.com
2781
+ 2025-12-09T04:25:45.111Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2782
+ event_type: 'CBTSessionCreated',
2783
+ test_run: {
2784
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2785
+ integrations: { browserstack: [Object] }
2786
+ }
2787
+ } to 53995:0
2788
+ 2025-12-09T04:25:45.116Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2789
+ event_type: 'TestRunStarted',
2790
+ test_run: {
2791
+ type: 'test',
2792
+ framework: 'WebdriverIO-mocha',
2793
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2794
+ name: 'tests login testops',
2795
+ body: {
2796
+ lang: 'ecmascript',
2797
+ code: 'async () => {\n' +
2798
+ ' await browser.url("https://uatrvrd.frothtestops.com/login")\n' +
2799
+ '\n' +
2800
+ ' Util.amendBrowserStackLog("Navigated to Login Page", "info");\n' +
2801
+ ' Util.captureLoadNavigation("Login Page");\n' +
2802
+ ' await browser.$("aria/Enter Email").click()\n' +
2803
+ ' await browser.$("aria/Enter Email").setValue("admin@roboticodigital.com")\n' +
2804
+ ' await browser.$("aria/Enter Password").click()\n' +
2805
+ ' await browser.$("aria/Enter Password").setValue("Welcome@123")\n' +
2806
+ ' await browser.$("aria/Login").click()\n' +
2807
+ ' await Util.captureLoadNavigation("Home Page");\n' +
2808
+ '\n' +
2809
+ ' await browser.$("#vertical-menu-btn").click()\n' +
2810
+ ' }'
2811
+ },
2812
+ identifier: 'tests login testops',
2813
+ scope: 'login testops - tests login testops',
2814
+ scopes: [ 'login testops' ],
2815
+ file_name: 'web/testops_login.js',
2816
+ vc_filepath: 'web/testops_login.js',
2817
+ location: 'web/testops_login.js',
2818
+ result: 'pending',
2819
+ duration_in_ms: null,
2820
+ started_at: '2025-12-09T04:25:45.052Z',
2821
+ failure: undefined,
2822
+ failure_type: undefined,
2823
+ failure_reason: undefined,
2824
+ retry_of: null,
2825
+ custom_metadata: undefined,
2826
+ tags: [],
2827
+ customRerunParam: { rerun_name: undefined },
2828
+ hooks: [],
2829
+ product_map: {
2830
+ observability: true,
2831
+ accessibility: false,
2832
+ percy: false,
2833
+ automate: true,
2834
+ app_automate: false
2835
+ }
2836
+ },
2837
+ logs: []
2838
+ } to 53995:0
2839
+ 2025-12-09T04:25:46.651Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Processing batch event [
2840
+ {
2841
+ event_type: 'CBTSessionCreated',
2842
+ test_run: {
2843
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2844
+ integrations: [Object]
2845
+ }
2846
+ },
2847
+ {
2848
+ event_type: 'TestRunStarted',
2849
+ test_run: {
2850
+ type: 'test',
2851
+ framework: 'WebdriverIO-mocha',
2852
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2853
+ name: 'tests login testops',
2854
+ body: [Object],
2855
+ identifier: 'tests login testops',
2856
+ scope: 'login testops - tests login testops',
2857
+ scopes: [Array],
2858
+ file_name: 'web/testops_login.js',
2859
+ vc_filepath: 'web/testops_login.js',
2860
+ location: 'web/testops_login.js',
2861
+ result: 'pending',
2862
+ duration_in_ms: null,
2863
+ started_at: '2025-12-09T04:25:45.052Z',
2864
+ failure: undefined,
2865
+ failure_type: undefined,
2866
+ failure_reason: undefined,
2867
+ retry_of: null,
2868
+ custom_metadata: undefined,
2869
+ tags: [],
2870
+ customRerunParam: [Object],
2871
+ hooks: [],
2872
+ product_map: [Object]
2873
+ },
2874
+ logs: []
2875
+ }
2876
+ ] to 53995:0
2877
+ 2025-12-09T04:25:46.655Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
2878
+ 2025-12-09T04:25:49.480Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2879
+ event_type: 'LogCreated',
2880
+ logs: [
2881
+ {
2882
+ testFrameworkName: 'WebdriverIO-mocha',
2883
+ testFrameworkVersion: '9.20.1',
2884
+ testFrameworkState: 'LOG',
2885
+ timestamp: '2025-12-09T04:25:49.444Z',
2886
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2887
+ kind: 'TEST_LOG',
2888
+ message: '"Annotation message inside amend2Browserstack:Navigated to Login Page"',
2889
+ level: 'INFO',
2890
+ fileName: '',
2891
+ fileSize: [Long],
2892
+ filePath: '',
2893
+ test_run_uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c'
2894
+ }
2895
+ ]
2896
+ } to 53995:0
2897
+ 2025-12-09T04:25:49.779Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2898
+ event_type: 'LogCreated',
2899
+ logs: [
2900
+ {
2901
+ testFrameworkName: 'WebdriverIO-mocha',
2902
+ testFrameworkVersion: '9.20.1',
2903
+ testFrameworkState: 'LOG',
2904
+ timestamp: '2025-12-09T04:25:49.731Z',
2905
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2906
+ kind: 'TEST_LOG',
2907
+ message: '"Annotation message inside amend2Browserstack:⏱ Page Load Time for Login Page: 4.07 seconds"',
2908
+ level: 'INFO',
2909
+ fileName: '',
2910
+ fileSize: [Long],
2911
+ filePath: '',
2912
+ test_run_uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c'
2913
+ }
2914
+ ]
2915
+ } to 53995:0
2916
+ 2025-12-09T04:25:49.993Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2917
+ event_type: 'LogCreated',
2918
+ logs: [
2919
+ {
2920
+ testFrameworkName: 'WebdriverIO-mocha',
2921
+ testFrameworkVersion: '9.20.1',
2922
+ testFrameworkState: 'LOG',
2923
+ timestamp: '2025-12-09T04:25:49.988Z',
2924
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2925
+ kind: 'TEST_LOG',
2926
+ message: '"⏱ Page Load Time for Login Page: 4.07 seconds"',
2927
+ level: 'INFO',
2928
+ fileName: '',
2929
+ fileSize: [Long],
2930
+ filePath: '',
2931
+ test_run_uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c'
2932
+ }
2933
+ ]
2934
+ } to 53995:0
2935
+ 2025-12-09T04:25:50.680Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Processing batch event [
2936
+ { event_type: 'LogCreated', logs: [ [Object] ] },
2937
+ { event_type: 'LogCreated', logs: [ [Object] ] },
2938
+ { event_type: 'LogCreated', logs: [ [Object] ] }
2939
+ ] to 53995:0
2940
+ 2025-12-09T04:25:50.683Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
2941
+ 2025-12-09T04:26:24.234Z CLI warn [TEST REPORTING AND ANALYTICS:webdriverio:mocha] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] TestRunFinished: event={"test_framework_name":"WebdriverIO-mocha","test_framework_version":"9.20.1","test_logs":[],"test_hooks_finished":{},"test_hooks_started":{},"test_uuid":"8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c","test_result":"failed","test_hook_last_started":"TestFrameworkState.TEST","test_id":"login testops - tests login testops","test_name":"tests login testops","test_code":"async () => {\n await browser.url(\"https://uatrvrd.frothtestops.com/login\")\n\n Util.amendBrowserStackLog(\"Navigated to Login Page\", \"info\");\n Util.captureLoadNavigation(\"Login Page\");\n await browser.$(\"aria/Enter Email\").click()\n await browser.$(\"aria/Enter Email\").setValue(\"admin@roboticodigital.com\")\n await browser.$(\"aria/Enter Password\").click()\n await browser.$(\"aria/Enter Password\").setValue(\"Welcome@123\")\n await browser.$(\"aria/Login\").click()\n await Util.captureLoadNavigation(\"Home Page\");\n\n await browser.$(\"#vertical-menu-btn\").click()\n }","test_file_path":"web/testops_login.js","test_location":"web/testops_login.js","test_scope":"login testops - tests login testops","test_scopes":["login testops"],"test_started_at":"2025-12-09T04:25:45.052Z","automate_session_name":"login testops - tests login testops","test_failure":[{"backtrace":["Can't call click on element with selector \"aria/Login\" because element wasn't found","Error: Can't call click on element with selector \"aria/Login\" because element wasn't found\n at async Context.<anonymous> (/Users/subhrasubudhi/WORKSPACES/WEBDRIVERIO/YTL_AF/WEBDRIVERIO/web/testops_login.js:13:5)"]}],"test_failure_reason":"Can't call click on element with selector \"aria/Login\" because element wasn't found","test_failure_type":"UnhandledError","test_ended_at":"2025-12-09T04:26:24.215Z","test_hook_last_finished":"TestFrameworkState.TEST","automate_session_status":"failed","automate_session_reason":"Can't call click on element with selector \"aria/Login\" because element wasn't found","test_deferred":true,"logs":[]}
2942
+ 2025-12-09T04:26:24.238Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Added the event {
2943
+ event_type: 'TestRunFinished',
2944
+ test_run: {
2945
+ type: 'test',
2946
+ framework: 'WebdriverIO-mocha',
2947
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
2948
+ name: 'tests login testops',
2949
+ body: {
2950
+ lang: 'ecmascript',
2951
+ code: 'async () => {\n' +
2952
+ ' await browser.url("https://uatrvrd.frothtestops.com/login")\n' +
2953
+ '\n' +
2954
+ ' Util.amendBrowserStackLog("Navigated to Login Page", "info");\n' +
2955
+ ' Util.captureLoadNavigation("Login Page");\n' +
2956
+ ' await browser.$("aria/Enter Email").click()\n' +
2957
+ ' await browser.$("aria/Enter Email").setValue("admin@roboticodigital.com")\n' +
2958
+ ' await browser.$("aria/Enter Password").click()\n' +
2959
+ ' await browser.$("aria/Enter Password").setValue("Welcome@123")\n' +
2960
+ ' await browser.$("aria/Login").click()\n' +
2961
+ ' await Util.captureLoadNavigation("Home Page");\n' +
2962
+ '\n' +
2963
+ ' await browser.$("#vertical-menu-btn").click()\n' +
2964
+ ' }'
2965
+ },
2966
+ identifier: 'tests login testops',
2967
+ scope: 'login testops - tests login testops',
2968
+ scopes: [ 'login testops' ],
2969
+ file_name: 'web/testops_login.js',
2970
+ vc_filepath: 'web/testops_login.js',
2971
+ location: 'web/testops_login.js',
2972
+ result: 'failed',
2973
+ duration_in_ms: 39163,
2974
+ started_at: '2025-12-09T04:25:45.052Z',
2975
+ finished_at: '2025-12-09T04:26:24.215Z',
2976
+ failure: [ [Object] ],
2977
+ failure_type: 'UnhandledError',
2978
+ failure_reason: `Can't call click on element with selector "aria/Login" because element wasn't found`,
2979
+ retry_of: null,
2980
+ custom_metadata: undefined,
2981
+ tags: [],
2982
+ customRerunParam: { rerun_name: undefined },
2983
+ hooks: [],
2984
+ product_map: {
2985
+ observability: true,
2986
+ accessibility: false,
2987
+ percy: false,
2988
+ automate: true,
2989
+ app_automate: false
2990
+ }
2991
+ },
2992
+ logs: []
2993
+ } to 53995:0
2994
+ 2025-12-09T04:26:24.711Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Processing batch event [
2995
+ {
2996
+ event_type: 'TestRunFinished',
2997
+ test_run: {
2998
+ type: 'test',
2999
+ framework: 'WebdriverIO-mocha',
3000
+ uuid: '8a6ec59c-3a37-49d9-9cd9-11e9f1b8d17c',
3001
+ name: 'tests login testops',
3002
+ body: [Object],
3003
+ identifier: 'tests login testops',
3004
+ scope: 'login testops - tests login testops',
3005
+ scopes: [Array],
3006
+ file_name: 'web/testops_login.js',
3007
+ vc_filepath: 'web/testops_login.js',
3008
+ location: 'web/testops_login.js',
3009
+ result: 'failed',
3010
+ duration_in_ms: 39163,
3011
+ started_at: '2025-12-09T04:25:45.052Z',
3012
+ finished_at: '2025-12-09T04:26:24.215Z',
3013
+ failure: [Array],
3014
+ failure_type: 'UnhandledError',
3015
+ failure_reason: `Can't call click on element with selector "aria/Login" because element wasn't found`,
3016
+ retry_of: null,
3017
+ custom_metadata: undefined,
3018
+ tags: [],
3019
+ customRerunParam: [Object],
3020
+ hooks: [],
3021
+ product_map: [Object]
3022
+ },
3023
+ logs: []
3024
+ }
3025
+ ] to 53995:0
3026
+ 2025-12-09T04:26:24.714Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
3027
+ 2025-12-09T04:26:29.247Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making PUT request to https://collector-observability.browserstack.com
3028
+ 2025-12-09T04:26:30.112Z CLI info [testhub:module] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] stopBuild: vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq request={"finished_at":"2025-12-09T04:26:29.247Z","finished_metadata":[],"custom_metadata":null} response={"data":""}
3029
+ 2025-12-09T04:26:30.117Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://api.browserstack.com
3030
+ 2025-12-09T04:26:30.119Z CLI info [TEST REPORTING AND ANALYTICS:module] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Visit https://automation.browserstack.com/builds/vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq to view build report, insights, and many more debugging information all at one place!
3031
+ 2025-12-09T04:26:30.453Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making GET request to https://api.browserstack.com
3032
+ 2025-12-09T04:26:30.820Z CLI info [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] [PRODUCTION] Making POST request to https://eds.browserstack.com
3033
+ 2025-12-09T04:26:32.053Z CLI info [main] [naveen_OSt3Pw] [vmbow0zmxj8nfyz5ukoum3yaqtzi9uuqhvrjlliq] [f17d2b92-4c2c-4b8e-88b0-7fd460fcba5b] Received graceful signal termination, performing cleanup
3034
+ 2025-12-09T04:27:41.509Z CLI info Config : {"userName":"[REDACTED]","accessKey":"[REDACTED]","platforms":[{"browserName":"chrome","browserVersion":"latest","os":"Windows","osVersion":"10","buildName":"browserstack build","source":"webdriverio:sample-master:v1.2","wdioService":"9.20.1"}],"isNonBstackA11yWDIO":false,"buildIdentifier":"#${BUILD_NUMBER}","accessibility":null,"testObservability":true,"testContextOptions":{"skipSessionName":false,"skipSessionStatus":false,"sessionNameOmitTestTitle":false,"sessionNamePrependTopLevelSuiteTitle":false,"sessionNameFormat":""},"buildTag":[]}
3035
+ 2025-12-09T04:27:41.596Z CLI info [testhub:module] [naveen_OSt3Pw] [644c7064-753c-4a34-a195-011637a9c046] Starting testhub from 54754:0
3036
+ 2025-12-09T04:27:41.597Z CLI info [naveen_OSt3Pw] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://sdk.browserstack.com
3037
+ 2025-12-09T04:27:42.330Z CLI info [testhub:module] [naveen_OSt3Pw] [644c7064-753c-4a34-a195-011637a9c046] startBuild: response=suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry
3038
+ 2025-12-09T04:27:42.336Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://api.browserstack.com
3039
+ 2025-12-09T04:27:45.397Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making GET request to https://hub.browserstack.com
3040
+ 2025-12-09T04:27:46.434Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making GET request to https://hub-apse.browserstack.com
3041
+ 2025-12-09T04:27:47.504Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making GET request to https://hub-aps.browserstack.com
3042
+ 2025-12-09T04:27:47.535Z CLI info [sdk:service] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Driver initialized as primary driver: platformIndex=0
3043
+ 2025-12-09T04:27:47.821Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making GET request to https://hub-usw.browserstack.com
3044
+ 2025-12-09T04:27:53.962Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3045
+ event_type: 'CBTSessionCreated',
3046
+ test_run: {
3047
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3048
+ integrations: { browserstack: [Object] }
3049
+ }
3050
+ } to 54754:0
3051
+ 2025-12-09T04:27:53.972Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3052
+ event_type: 'TestRunStarted',
3053
+ test_run: {
3054
+ type: 'test',
3055
+ framework: 'WebdriverIO-mocha',
3056
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3057
+ name: 'tests login testops',
3058
+ body: {
3059
+ lang: 'ecmascript',
3060
+ code: 'async () => {\n' +
3061
+ ' await browser.url("https://uatrvrd.frothtestops.com/login")\n' +
3062
+ '\n' +
3063
+ ' Util.amendBrowserStackLog("Navigated to Login Page", "info");\n' +
3064
+ ' Util.captureLoadNavigation("Login Page");\n' +
3065
+ ' await browser.$("aria/Enter Email").click()\n' +
3066
+ ' await browser.$("aria/Enter Email").setValue("admin@roboticodigital.com")\n' +
3067
+ ' await browser.$("aria/Enter Password").click()\n' +
3068
+ ' await browser.$("aria/Enter Password").setValue("Welcome@123")\n' +
3069
+ ' await browser.$("aria/Login").click()\n' +
3070
+ ' await Util.captureLoadNavigation("Home Page");\n' +
3071
+ '\n' +
3072
+ ' await browser.$("#vertical-menu-btn").click()\n' +
3073
+ ' }'
3074
+ },
3075
+ identifier: 'tests login testops',
3076
+ scope: 'login testops - tests login testops',
3077
+ scopes: [ 'login testops' ],
3078
+ file_name: 'web/testops_login.js',
3079
+ vc_filepath: 'web/testops_login.js',
3080
+ location: 'web/testops_login.js',
3081
+ result: 'pending',
3082
+ duration_in_ms: null,
3083
+ started_at: '2025-12-09T04:27:53.915Z',
3084
+ failure: undefined,
3085
+ failure_type: undefined,
3086
+ failure_reason: undefined,
3087
+ retry_of: null,
3088
+ custom_metadata: undefined,
3089
+ tags: [],
3090
+ customRerunParam: { rerun_name: undefined },
3091
+ hooks: [],
3092
+ product_map: {
3093
+ observability: true,
3094
+ accessibility: false,
3095
+ percy: false,
3096
+ automate: true,
3097
+ app_automate: false
3098
+ }
3099
+ },
3100
+ logs: []
3101
+ } to 54754:0
3102
+ 2025-12-09T04:27:54.338Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Processing batch event [
3103
+ {
3104
+ event_type: 'CBTSessionCreated',
3105
+ test_run: {
3106
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3107
+ integrations: [Object]
3108
+ }
3109
+ },
3110
+ {
3111
+ event_type: 'TestRunStarted',
3112
+ test_run: {
3113
+ type: 'test',
3114
+ framework: 'WebdriverIO-mocha',
3115
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3116
+ name: 'tests login testops',
3117
+ body: [Object],
3118
+ identifier: 'tests login testops',
3119
+ scope: 'login testops - tests login testops',
3120
+ scopes: [Array],
3121
+ file_name: 'web/testops_login.js',
3122
+ vc_filepath: 'web/testops_login.js',
3123
+ location: 'web/testops_login.js',
3124
+ result: 'pending',
3125
+ duration_in_ms: null,
3126
+ started_at: '2025-12-09T04:27:53.915Z',
3127
+ failure: undefined,
3128
+ failure_type: undefined,
3129
+ failure_reason: undefined,
3130
+ retry_of: null,
3131
+ custom_metadata: undefined,
3132
+ tags: [],
3133
+ customRerunParam: [Object],
3134
+ hooks: [],
3135
+ product_map: [Object]
3136
+ },
3137
+ logs: []
3138
+ }
3139
+ ] to 54754:0
3140
+ 2025-12-09T04:27:54.339Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
3141
+ 2025-12-09T04:27:55.531Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3142
+ event_type: 'LogCreated',
3143
+ logs: [
3144
+ {
3145
+ testFrameworkName: 'WebdriverIO-mocha',
3146
+ testFrameworkVersion: '9.20.1',
3147
+ testFrameworkState: 'LOG',
3148
+ timestamp: '2025-12-09T04:27:55.487Z',
3149
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3150
+ kind: 'TEST_LOG',
3151
+ message: '"Annotation message inside amend2Browserstack:Navigated to Login Page"',
3152
+ level: 'INFO',
3153
+ fileName: '',
3154
+ fileSize: [Long],
3155
+ filePath: '',
3156
+ test_run_uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e'
3157
+ }
3158
+ ]
3159
+ } to 54754:0
3160
+ 2025-12-09T04:27:56.339Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Processing batch event [ { event_type: 'LogCreated', logs: [ [Object] ] } ] to 54754:0
3161
+ 2025-12-09T04:27:56.340Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
3162
+ 2025-12-09T04:27:58.403Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3163
+ event_type: 'LogCreated',
3164
+ logs: [
3165
+ {
3166
+ testFrameworkName: 'WebdriverIO-mocha',
3167
+ testFrameworkVersion: '9.20.1',
3168
+ testFrameworkState: 'LOG',
3169
+ timestamp: '2025-12-09T04:27:58.396Z',
3170
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3171
+ kind: 'TEST_LOG',
3172
+ message: '"Annotation message inside amend2Browserstack:⏱ Page Load Time for Login Page: 4.03 seconds"',
3173
+ level: 'INFO',
3174
+ fileName: '',
3175
+ fileSize: [Long],
3176
+ filePath: '',
3177
+ test_run_uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e'
3178
+ }
3179
+ ]
3180
+ } to 54754:0
3181
+ 2025-12-09T04:27:58.650Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3182
+ event_type: 'LogCreated',
3183
+ logs: [
3184
+ {
3185
+ testFrameworkName: 'WebdriverIO-mocha',
3186
+ testFrameworkVersion: '9.20.1',
3187
+ testFrameworkState: 'LOG',
3188
+ timestamp: '2025-12-09T04:27:58.646Z',
3189
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3190
+ kind: 'TEST_LOG',
3191
+ message: '"⏱ Page Load Time for Login Page: 4.03 seconds"',
3192
+ level: 'INFO',
3193
+ fileName: '',
3194
+ fileSize: [Long],
3195
+ filePath: '',
3196
+ test_run_uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e'
3197
+ }
3198
+ ]
3199
+ } to 54754:0
3200
+ 2025-12-09T04:28:00.343Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Processing batch event [
3201
+ { event_type: 'LogCreated', logs: [ [Object] ] },
3202
+ { event_type: 'LogCreated', logs: [ [Object] ] }
3203
+ ] to 54754:0
3204
+ 2025-12-09T04:28:00.345Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
3205
+ 2025-12-09T04:28:08.579Z CLI warn [TEST REPORTING AND ANALYTICS:webdriverio:mocha] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] TestRunFinished: event={"test_framework_name":"WebdriverIO-mocha","test_framework_version":"9.20.1","test_logs":[],"test_hooks_finished":{},"test_hooks_started":{},"test_uuid":"ce9341ba-4a54-4066-95be-845353b0f96e","test_result":"failed","test_hook_last_started":"TestFrameworkState.TEST","test_id":"login testops - tests login testops","test_name":"tests login testops","test_code":"async () => {\n await browser.url(\"https://uatrvrd.frothtestops.com/login\")\n\n Util.amendBrowserStackLog(\"Navigated to Login Page\", \"info\");\n Util.captureLoadNavigation(\"Login Page\");\n await browser.$(\"aria/Enter Email\").click()\n await browser.$(\"aria/Enter Email\").setValue(\"admin@roboticodigital.com\")\n await browser.$(\"aria/Enter Password\").click()\n await browser.$(\"aria/Enter Password\").setValue(\"Welcome@123\")\n await browser.$(\"aria/Login\").click()\n await Util.captureLoadNavigation(\"Home Page\");\n\n await browser.$(\"#vertical-menu-btn\").click()\n }","test_file_path":"web/testops_login.js","test_location":"web/testops_login.js","test_scope":"login testops - tests login testops","test_scopes":["login testops"],"test_started_at":"2025-12-09T04:27:53.915Z","automate_session_name":"login testops - tests login testops","test_failure":[{"backtrace":["Can't call click on element with selector \"aria/Enter Email\" because element wasn't found","Error: Can't call click on element with selector \"aria/Enter Email\" because element wasn't found\n at async Context.<anonymous> (/Users/subhrasubudhi/WORKSPACES/WEBDRIVERIO/YTL_AF/WEBDRIVERIO/web/testops_login.js:9:5)"]}],"test_failure_reason":"Can't call click on element with selector \"aria/Enter Email\" because element wasn't found","test_failure_type":"UnhandledError","test_ended_at":"2025-12-09T04:28:08.568Z","test_hook_last_finished":"TestFrameworkState.TEST","automate_session_status":"failed","automate_session_reason":"Can't call click on element with selector \"aria/Enter Email\" because element wasn't found","test_deferred":true,"logs":[]}
3206
+ 2025-12-09T04:28:08.587Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Added the event {
3207
+ event_type: 'TestRunFinished',
3208
+ test_run: {
3209
+ type: 'test',
3210
+ framework: 'WebdriverIO-mocha',
3211
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3212
+ name: 'tests login testops',
3213
+ body: {
3214
+ lang: 'ecmascript',
3215
+ code: 'async () => {\n' +
3216
+ ' await browser.url("https://uatrvrd.frothtestops.com/login")\n' +
3217
+ '\n' +
3218
+ ' Util.amendBrowserStackLog("Navigated to Login Page", "info");\n' +
3219
+ ' Util.captureLoadNavigation("Login Page");\n' +
3220
+ ' await browser.$("aria/Enter Email").click()\n' +
3221
+ ' await browser.$("aria/Enter Email").setValue("admin@roboticodigital.com")\n' +
3222
+ ' await browser.$("aria/Enter Password").click()\n' +
3223
+ ' await browser.$("aria/Enter Password").setValue("Welcome@123")\n' +
3224
+ ' await browser.$("aria/Login").click()\n' +
3225
+ ' await Util.captureLoadNavigation("Home Page");\n' +
3226
+ '\n' +
3227
+ ' await browser.$("#vertical-menu-btn").click()\n' +
3228
+ ' }'
3229
+ },
3230
+ identifier: 'tests login testops',
3231
+ scope: 'login testops - tests login testops',
3232
+ scopes: [ 'login testops' ],
3233
+ file_name: 'web/testops_login.js',
3234
+ vc_filepath: 'web/testops_login.js',
3235
+ location: 'web/testops_login.js',
3236
+ result: 'failed',
3237
+ duration_in_ms: 14653,
3238
+ started_at: '2025-12-09T04:27:53.915Z',
3239
+ finished_at: '2025-12-09T04:28:08.568Z',
3240
+ failure: [ [Object] ],
3241
+ failure_type: 'UnhandledError',
3242
+ failure_reason: `Can't call click on element with selector "aria/Enter Email" because element wasn't found`,
3243
+ retry_of: null,
3244
+ custom_metadata: undefined,
3245
+ tags: [],
3246
+ customRerunParam: { rerun_name: undefined },
3247
+ hooks: [],
3248
+ product_map: {
3249
+ observability: true,
3250
+ accessibility: false,
3251
+ percy: false,
3252
+ automate: true,
3253
+ app_automate: false
3254
+ }
3255
+ },
3256
+ logs: []
3257
+ } to 54754:0
3258
+ 2025-12-09T04:28:10.345Z CLI info [testhub:request-queue-handler] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Processing batch event [
3259
+ {
3260
+ event_type: 'TestRunFinished',
3261
+ test_run: {
3262
+ type: 'test',
3263
+ framework: 'WebdriverIO-mocha',
3264
+ uuid: 'ce9341ba-4a54-4066-95be-845353b0f96e',
3265
+ name: 'tests login testops',
3266
+ body: [Object],
3267
+ identifier: 'tests login testops',
3268
+ scope: 'login testops - tests login testops',
3269
+ scopes: [Array],
3270
+ file_name: 'web/testops_login.js',
3271
+ vc_filepath: 'web/testops_login.js',
3272
+ location: 'web/testops_login.js',
3273
+ result: 'failed',
3274
+ duration_in_ms: 14653,
3275
+ started_at: '2025-12-09T04:27:53.915Z',
3276
+ finished_at: '2025-12-09T04:28:08.568Z',
3277
+ failure: [Array],
3278
+ failure_type: 'UnhandledError',
3279
+ failure_reason: `Can't call click on element with selector "aria/Enter Email" because element wasn't found`,
3280
+ retry_of: null,
3281
+ custom_metadata: undefined,
3282
+ tags: [],
3283
+ customRerunParam: [Object],
3284
+ hooks: [],
3285
+ product_map: [Object]
3286
+ },
3287
+ logs: []
3288
+ }
3289
+ ] to 54754:0
3290
+ 2025-12-09T04:28:10.346Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://collector-observability.browserstack.com
3291
+ 2025-12-09T04:28:14.116Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making PUT request to https://collector-observability.browserstack.com
3292
+ 2025-12-09T04:28:14.871Z CLI info [testhub:module] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] stopBuild: suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry request={"finished_at":"2025-12-09T04:28:14.115Z","finished_metadata":[],"custom_metadata":null} response={"data":""}
3293
+ 2025-12-09T04:28:14.875Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://api.browserstack.com
3294
+ 2025-12-09T04:28:14.878Z CLI info [TEST REPORTING AND ANALYTICS:module] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Visit https://automation.browserstack.com/builds/suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry to view build report, insights, and many more debugging information all at one place!
3295
+ 2025-12-09T04:28:15.214Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making GET request to https://api.browserstack.com
3296
+ 2025-12-09T04:28:15.529Z CLI info [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] [PRODUCTION] Making POST request to https://eds.browserstack.com
3297
+ 2025-12-09T04:28:16.498Z CLI info [main] [naveen_OSt3Pw] [suvzlzkfwu34ipb7ce6szxshycavbxywhqulgsry] [644c7064-753c-4a34-a195-011637a9c046] Received graceful signal termination, performing cleanup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "6.0.26",
3
+ "version": "6.0.27",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",
@@ -46,12 +46,10 @@
46
46
  "node-localstorage": "^3.0.5",
47
47
  "randexp": "^0.5.3",
48
48
  "ts-node": "^10.9.2",
49
- "typescript": "^5.4.5"
50
- },
51
- "devDependencies": {
49
+ "typescript": "^5.4.5",
52
50
  "@wdio/appium-service": "^9.21.0",
53
51
  "@wdio/cli": "^9.21.1",
54
52
  "appium": "^3.1.2",
55
53
  "webdriverio": "^9.21.0"
56
54
  }
57
- }
55
+ }