browserstack-node-sdk 1.1.1 → 1.2.0

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/LICENSE.md CHANGED
@@ -0,0 +1,52 @@
1
+ BrowserStack Software License Agreement
2
+
3
+ The “Licensed Software” under this BrowserStack Software License Agreement (“Agreement”) shall be used by
4
+ you only if You agree to the following terms and conditions. Downloading the Licensed Software and indicating
5
+ your consent to the terms of this license constitutes a binding Agreement between BrowserStack and You. If
6
+ you do not agree with all of the terms of this Agreement, you must not use the Licensed Software and you must
7
+ delete all of copies of the Licensed Software from your computer, device and/or systems. These terms also apply
8
+ to any updates or upgrades to the Licensed Software.
9
+ 1. License: This Licensed Software shall remain the property of BrowserStack at all times.. The Licensed
10
+ Software is licensed, not sold. This Agreement only gives you some rights to use the Licensed Software.
11
+ You may install and use any number of copies of the Licensed Software to develop and test your
12
+ applications and distribution of the Licensed Software is limited to within your affiliates, employees and
13
+ independent contractors who are not competitors of BrowserStack. .
14
+ 2. Restrictions: You will not (and will not permit any third party) to: (a) rent, lease, provide access to or
15
+ sublicense the Licensed Software to a third party; (b) use the Licensed Software to provide, or incorporate
16
+ the Licensed Software into, any product or service provided to a third party; (c) copy or modify the
17
+ Licensed Software or any Documentation, or create any derivative work from any of the foregoing; (d)
18
+ remove or obscure any proprietary or other notices contained in the Licensed Software; or (e) You may
19
+ not reverse engineer, decompile, disassemble, modify, translate, or attempt to discover the source code of
20
+ the Licensed Software; (f) You may not work around any technical limitation in the Licensed Software;
21
+ (g) distribute, resell, or provide the Licensed Software for use, copying or modification to any competitors
22
+ of BrowserStack; or (h) You may use the Licensed Software along with the BrowserStack Services on the
23
+ BrowserStack platform only.
24
+ 3. Usage Data: You agree and acknowledge through this Agreement that BrowserStack will collect data such
25
+ as, but not limited to, use logs and error messages while using the Licensed Software.
26
+ 4. Term and Termination: This Agreement shall be for the term agreed to in the Terms or Service or Master
27
+ SAAS Subscription Agreement or any other Agreement entered into between the You and BrowserStack
28
+ for sue of BrowserStack Services and testing platform. BrowserStack can terminate this Agreement for
29
+ convenience by providing seven (7) days’ notice to You or may terminate upon immediate effect if You
30
+ commit a material breach of this Agreement.
31
+ 5. Confidentiality: All features and codes of the Licensed Software shall remain confidential. You
32
+ understand that any violation or breach of this term of the Agreement may cause irreparable damages to
33
+ BrowserStack. Thus, nothing in this Agreement shall limit Your liability with regard to violation of this
34
+ Clause.
35
+ 6. DISCLAIMER OF WARRANTY. THE LICENSED SOFTWARE IS LICENSED “AS-IS.” YOU BEAR
36
+ THE RISK OF USING IT. BROWSERSTACK GIVES NO EXPRESS WARRANTIES, GUARANTEES
37
+ OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS,
38
+ BROWSERSTACK EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
40
+ 7. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER
41
+ FROM BROWSERSTACK AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $1. YOU
42
+ CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS,
43
+ SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
44
+ 8. Indemnity: You are required to indemnify Browserstack for breach of any obligations and terms set forth
45
+ under this Agreement.
46
+ 9. Export Restrictions. You must comply with all domestic and international export laws and regulations that
47
+ apply to the Licensed Software, which include restrictions on destinations, end users, and end use.
48
+ 10. ENTIRE AGREEMENT. This Agreement, and the terms for supplements, updates, Internet-based
49
+ services and support services that you use, are the entire Agreement for the Licensed Software and
50
+ support services.
51
+ 11. APPLICABLE LAW. The laws and courts of State of California applies to interpretation of and claims
52
+ for breach of this Agreement.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # browserstack-node-sdk
2
+ Node SDK for browserstack selenium-webdriver tests
3
+
4
+ ## Running Jest, Mocha and Cucumber tests in multiple platforms using SDK
5
+
6
+ Add browserstack-node-sdk as a dev-dependency,
7
+
8
+ ```
9
+ npm i -D browserstack-node-sdk
10
+ ```
11
+
12
+ Add a browserstack.yml/yaml file at root of your jest project with your auth keys, browserstack configs and platforms.
13
+
14
+ See sample config file [here](browserstack.yml.sample)
15
+
16
+ Add a new command for running tests on browserstack in scripts tag of package.json,
17
+
18
+ ```
19
+ "scripts": {
20
+ # Jest tests
21
+ "jest-test": "jest ...args",
22
+ "browserstack-jest-test": "browserstack-node-sdk jest ...args",
23
+ # Mocha tests
24
+ "mocha-test": "mocha ...args",
25
+ "browserstack-mocha-test": "browserstack-node-sdk mocha ...args",
26
+ # Cucumber tests
27
+ "cucumber-test": "cucumber-js ...args",
28
+ "browserstack-cucumber-test": "browserstack-node-sdk cucumber-js ...args"
29
+ },
30
+ ```
31
+
32
+ Run tests on browserstack by running
33
+ ```
34
+ npm run browserstack-jest-test
35
+ # or
36
+ npm run browserstack-mocha-test
37
+ # or
38
+ npm run browserstack-cucumber-test
39
+
40
+ ```
41
+
42
+ Sample test scripts are available in the [jest-js-browserstack](https://github.com/browserstack/jest-js-browserstack/tree/sdk), [mocha-browserstack](https://github.com/browserstack/mocha-browserstack/tree/sdk) & [cucumber-js-browserstack](https://github.com/browserstack/cucumber-js-browserstack/tree/sdk) repositories.
@@ -0,0 +1,69 @@
1
+ # =============================
2
+ # Set BrowserStack Credentials
3
+ # =============================
4
+ # Add your BrowserStack userName and acccessKey here or set BROWSERSTACK_USERNAME and
5
+ # BROWSERSTACK_ACCESS_KEY as env variables
6
+ userName: YOUR_USERNAME
7
+ accessKey: YOUR_ACCESS_KEY
8
+ # ======================
9
+ # Organizing your tests
10
+ # ======================
11
+ # Use `projectName`, `buildName`, `name` capabilities to organise your tests
12
+ # `name` is the name of your test sessions and is automatically picked from your
13
+ # test name and doesn't need to be set manually when using BrowserStack SDK
14
+ # `buildName` is used to name your CI/CD job or the execution of your test suite.
15
+ # Ensure you add a dynamic identifier, like an incremental build number from your
16
+ # CI/CD or timestamp at the end of every build; otherwise tests from different
17
+ # executions will be grouped together on BrowserStack
18
+ buildName: browserstack-build-1
19
+ # Use `projectName` to set the name of your project. Example, Marketing Website
20
+ projectName: BrowserStack Samples
21
+ # =======================================
22
+ # Platforms (Browsers / Devices to test)
23
+ # =======================================
24
+ # Platforms object contains all the browser / device combinations you want to test on.
25
+ # Entire list available here -> (https://www.browserstack.com/list-of-browsers-and-platforms/automate)
26
+ platforms:
27
+ - os: OS X
28
+ osVersion: Big Sur
29
+ browser: Chrome
30
+ browserVersion: latest
31
+ - os: Windows
32
+ osVersion: 10
33
+ browser: Edge
34
+ browserVersion: latest
35
+ - device: iPhone 13
36
+ browserName: Safari
37
+ osVersion: 15
38
+ - device: Samsung Galaxy S22 Ultra
39
+ browserName: chrome # Try 'samsung' for Samsung browser
40
+ osVersion: 12.0
41
+ # =======================
42
+ # Parallels per Platform
43
+ # =======================
44
+ # The number of parallel threads to be used for each platform set.
45
+ # BrowserStack's SDK runner will select the best strategy based on the configured value
46
+ #
47
+ # Example 1 - If you have configured 3 platforms and set `parallelsPerPlatform` as 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStack
48
+ #
49
+ # Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack
50
+ parallelsPerPlatform: 1
51
+ # ==========================================
52
+ # BrowserStack Local
53
+ # (For localhost, staging/private websites)
54
+ # ==========================================
55
+ # Set browserStackLocal to true if your website under test is not accessible publicly over the internet
56
+ # Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction
57
+ browserstackLocal: false # <boolean> (Default false)
58
+ # browserStackLocalOptions:
59
+ # Options to be passed to BrowserStack local in-case of advanced configurations
60
+ # localIdentifier: # <string> (Default: null) Needed if you need to run multiple instances of local.
61
+ # forceLocal: true # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
62
+ # Entire list of arguments availabe here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections
63
+ # ===================
64
+ # Debugging features
65
+ # ===================
66
+ debug: false # <boolean> # Set to true if you need screenshots for every selenium command ran
67
+ networkLogs: false # <boolean> Set to true to enable HAR logs capturing
68
+ consoleLogs: errors # <string> Remote browser's console debug levels to be printed (Default: errors)
69
+ # Available options are `disable`, `errors`, `warnings`, `info`, `verbose` (Default: errors)
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"browserstack-node-sdk","version":"1.1.1","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","js-yaml":"^4.1.0","lodash":"^4.17.21","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
1
+ {"name":"browserstack-node-sdk","version":"1.2.0","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","emittery":"^0.11.0","jest-worker":"^28.1.0","chalk":"^4.1.2","js-yaml":"^4.1.0","lodash":"^4.17.21","throat":"^6.0.1","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a0_0x2a6065=a0_0x5f59;(function(_0xfc3a95,_0x3498a8){const _0x5e263e=a0_0x5f59,_0x33cd28=_0xfc3a95();while(!![]){try{const _0x2eec96=-parseInt(_0x5e263e(0x192))/0x1+-parseInt(_0x5e263e(0x1a1))/0x2+parseInt(_0x5e263e(0x18e))/0x3*(-parseInt(_0x5e263e(0x189))/0x4)+parseInt(_0x5e263e(0x18a))/0x5*(-parseInt(_0x5e263e(0x193))/0x6)+-parseInt(_0x5e263e(0x19e))/0x7+-parseInt(_0x5e263e(0x188))/0x8*(-parseInt(_0x5e263e(0x191))/0x9)+-parseInt(_0x5e263e(0x186))/0xa*(-parseInt(_0x5e263e(0x17f))/0xb);if(_0x2eec96===_0x3498a8)break;else _0x33cd28['push'](_0x33cd28['shift']());}catch(_0x25d7ee){_0x33cd28['push'](_0x33cd28['shift']());}}}(a0_0x183f,0xeea3c));function a0_0x183f(){const _0x31f68a=['8xNSFZj','21212PYxYzE','50WKjAZg','chalk','winstonLogger','\x20failed','750CyaUwQ','yellow','parallelsPerPlatform','11595807UBtmcp','1898910TEYwOF','976362gwUBQJ','stepsFailed','stepsAmbiguous','\x20ambiguous','exitCode','hubUrl','join','red','\x20steps','../../helpers/logger','platforms','4146436ejeLUS','bold','argv','1444078QYaCwl','stepsPending','stepsUndefined','stepsUnknown','\x20skipped','steps','\x20pending','getPlatformName','proxySettings','scenarios','forEach','****\x20RESULTS\x20****','\x20undefined','../utils/constants','log','green','22yWDfmD','push','../../helpers/BrowserStackSetup','../test-runner','config','\x20passed','cyan','29276810bBNOOg','exports'];a0_0x183f=function(){return _0x31f68a;};return a0_0x183f();}const logger=require(a0_0x2a6065(0x19c))[a0_0x2a6065(0x18c)],{default:BrowserStackSetup}=require(a0_0x2a6065(0x181)),helper=require('../../helpers/helper'),constants=require(a0_0x2a6065(0x1ae)),{parallelCucumberRun}=require(a0_0x2a6065(0x182)),chalk=require(a0_0x2a6065(0x18b));function printCucumberStats(_0x4ea492){const _0x2f3795=a0_0x2a6065;let _0x14cf38=0x0;if(_0x4ea492['length']==0x0)return _0x14cf38;return console[_0x2f3795(0x17d)](chalk['bold']['bgWhite'](_0x2f3795(0x1ac))),_0x4ea492[_0x2f3795(0x1ab)](_0x1bca5e=>{const _0x588eb0=_0x2f3795;let _0x171ce7=_0x1bca5e[0x0],_0x94b941=_0x1bca5e[0x1];console[_0x588eb0(0x17d)]('\x0a'+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](''+helper[_0x588eb0(0x1a8)](_0x171ce7)));let _0x33887e=_0x94b941[_0x588eb0(0x1aa)],_0x2f5cf2=_0x94b941[_0x588eb0(0x1a6)],_0x771849=_0x94b941['scenariosFailed'],_0x39660f=_0x94b941[_0x588eb0(0x194)],_0xafa74c=_0x94b941['stepsPassed'],_0x8837a3=_0x94b941['stepsSkipped'],_0x1e9b4b=_0x94b941[_0x588eb0(0x1a2)],_0x5c44b4=_0x94b941[_0x588eb0(0x1a3)],_0x50dcbe=_0x94b941[_0x588eb0(0x1a4)],_0x1529b3=_0x94b941[_0x588eb0(0x195)],_0x35ad01=_0x94b941['processSuccess'],_0x3a561a=_0x33887e+'\x20scenarios';const _0xbea13=_0x33887e-_0x771849>0x0?_0x33887e-_0x771849:0x0;if(_0x771849>0x0&&_0xbea13>0x0)_0x3a561a+='\x20('+chalk[_0x588eb0(0x19f)]['red'](_0x771849+_0x588eb0(0x18d))+',\x20'+chalk[_0x588eb0(0x19f)]['green'](_0xbea13+'\x20passed')+')';else(_0x771849>0x0||_0xbea13>0x0)&&(_0x3a561a+=_0x771849>0x0?'\x20('+chalk[_0x588eb0(0x19f)][_0x588eb0(0x19a)](_0x771849+_0x588eb0(0x18d))+')':'\x20('+chalk[_0x588eb0(0x19f)][_0x588eb0(0x17e)](_0xbea13+'\x20passed')+')');let _0xfd4b12=_0x2f5cf2+_0x588eb0(0x19b),_0x67ab38=[];_0x1529b3>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)]['red'](_0x1529b3+_0x588eb0(0x196)));_0x39660f>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x19a)](_0x39660f+_0x588eb0(0x18d)));_0xafa74c>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x17e)](_0xafa74c+_0x588eb0(0x184)));_0x1e9b4b>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](_0x1e9b4b+_0x588eb0(0x1a7)));_0x8837a3>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x185)](_0x8837a3+_0x588eb0(0x1a5)));_0x5c44b4>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](_0x5c44b4+_0x588eb0(0x1ad)));_0x50dcbe>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk['bold'][_0x588eb0(0x18f)](_0x50dcbe+_0x588eb0(0x1a5)));const _0x54b209=_0xfd4b12+'('+_0x67ab38[_0x588eb0(0x199)](',\x20')+')';console[_0x588eb0(0x17d)]('\x0a'+_0x3a561a+'\x0a'+_0x54b209+'\x0a'),_0x35ad01==![]&&(_0x14cf38=0x1);}),_0x14cf38;}function a0_0x5f59(_0x497874,_0x10f9c2){const _0x183fde=a0_0x183f();return a0_0x5f59=function(_0x5f5940,_0x372a58){_0x5f5940=_0x5f5940-0x17d;let _0x219835=_0x183fde[_0x5f5940];return _0x219835;},a0_0x5f59(_0x497874,_0x10f9c2);}function run(_0x2885f1,_0x5b2211){const _0x121f92=a0_0x2a6065,_0x463221=new BrowserStackSetup(),_0x5f103e=[];if(!_0x463221[_0x121f92(0x183)])return;const _0xacabd5=_0x463221[_0x121f92(0x183)][_0x121f92(0x190)];let _0xe957ca=helper['useW3C'](_0x463221[_0x121f92(0x183)]);_0x463221[_0x121f92(0x183)][_0x121f92(0x19d)][_0x121f92(0x1ab)]((_0x18a86f,_0xf1b556)=>{const _0x614bf4=_0x121f92;if(_0xe957ca)_0x5f103e['push'](helper['modifyBrowserStackW3CCaps'](_0x463221[_0x614bf4(0x183)],_0xf1b556));else _0x5f103e[_0x614bf4(0x180)](helper['modifyBrowserStackCaps'](_0x463221[_0x614bf4(0x183)],_0xf1b556));});let _0x2e8db7={'server':constants[_0x121f92(0x198)],'proxySettings':_0x463221['config'][_0x121f92(0x1a9)],'maxWorkers':_0xacabd5};parallelCucumberRun(_0x5f103e,_0x2e8db7,process[_0x121f92(0x1a0)])['then'](_0x155a55=>{const _0x3844ab=_0x121f92;let _0x4e98b0=printCucumberStats(_0x155a55);process[_0x3844ab(0x197)]=_0x4e98b0;});}module[a0_0x2a6065(0x187)]=run;
@@ -0,0 +1 @@
1
+ const a1_0x1767e1=a1_0x74f5;function a1_0x2521(){const _0x19b8f5=['testCaseStarted','gherkinDocument','keyword','bstack','incrementCounter','snippetBuilder','17365300vQksyb','cwd','eventDataCollector','102rqWlRo','text','result','isBstackHook','logTestCaseFinished','__platform','Executing\x20tests\x20for\x20','\x20\x20\x20\x20','36vENmMz','FAILED','testCaseStartedId','1299882OTDKzd','forEach','env','CONFIG','name','../../../helpers/helper','feature','testSteps','\x20-\x20','exports','status','SKIPPED','getTestCaseAttempt','includes','envelope','log','35TwugkR','testRunStarted','actionLocation','capability','@cucumber/cucumber','UNDEFINED','457015yWtNpK','11nUEXdK','testRunFinished','8581lDkMEe','PENDING','6516GjFrKH','uri','sourceLocation','eventBroadcaster','2199576vYUhjX','8jEVymo','testCaseFinished','31599564HUSIfd'];a1_0x2521=function(){return _0x19b8f5;};return a1_0x2521();}(function(_0xb9e0a5,_0x271707){const _0x394d70=a1_0x74f5,_0x5d1568=_0xb9e0a5();while(!![]){try{const _0x11be6b=-parseInt(_0x394d70(0xb5))/0x1*(-parseInt(_0x394d70(0x91))/0x2)+parseInt(_0x394d70(0x9c))/0x3+-parseInt(_0x394d70(0xbc))/0x4*(parseInt(_0x394d70(0xb2))/0x5)+-parseInt(_0x394d70(0xb7))/0x6*(parseInt(_0x394d70(0xac))/0x7)+-parseInt(_0x394d70(0xbb))/0x8*(-parseInt(_0x394d70(0x99))/0x9)+parseInt(_0x394d70(0x8e))/0xa*(parseInt(_0x394d70(0xb3))/0xb)+-parseInt(_0x394d70(0xbe))/0xc;if(_0x11be6b===_0x271707)break;else _0x5d1568['push'](_0x5d1568['shift']());}catch(_0x484787){_0x5d1568['push'](_0x5d1568['shift']());}}}(a1_0x2521,0xd83ce));function a1_0x74f5(_0x40c677,_0x2fd136){const _0x2521d2=a1_0x2521();return a1_0x74f5=function(_0x74f56f,_0x544a53){_0x74f56f=_0x74f56f-0x88;let _0x56321e=_0x2521d2[_0x74f56f];return _0x56321e;},a1_0x74f5(_0x40c677,_0x2fd136);}const {requireModule,getPlatformName}=require(a1_0x1767e1(0xa1)),{Formatter,formatterHelpers,Status}=requireModule(a1_0x1767e1(0xb0));class BrowserstackFormatter extends Formatter{constructor(_0x170097){const _0xcc277d=a1_0x1767e1;super(_0x170097),_0x170097[_0xcc277d(0xba)]['on'](_0xcc277d(0xaa),_0xf70d7a=>{const _0x3cceea=_0xcc277d;if(_0xf70d7a[_0x3cceea(0x88)])testSuites+=0x1;else{if(_0xf70d7a[_0x3cceea(0xad)]){let _0x4868ce;if(process[_0x3cceea(0x9e)][_0x3cceea(0x9f)]!==undefined){let _0x51468e=JSON['parse'](process[_0x3cceea(0x9e)][_0x3cceea(0x9f)]);_0x4868ce=_0x51468e[_0x3cceea(0xaf)];}_0x4868ce!==undefined&&(global['__platform']=getPlatformName(_0x4868ce),this[_0x3cceea(0xab)](_0x3cceea(0x97)+global[_0x3cceea(0x96)]+'\x0a'));}else{if(_0xf70d7a['testCaseFinished'])this[_0x3cceea(0x95)](_0xf70d7a[_0x3cceea(0xbd)]);else _0xf70d7a[_0x3cceea(0xb4)]&&this['logTestRunFinished'](_0xf70d7a['testRunFinished']);}}});}[a1_0x1767e1(0x95)](_0x1d9744){const _0x2b98ff=a1_0x1767e1;global[_0x2b98ff(0x96)]!==undefined&&this[_0x2b98ff(0xab)]('\x0a'+global['__platform']+'\x0a');const _0x1491a6=this[_0x2b98ff(0x90)][_0x2b98ff(0xa8)](_0x1d9744[_0x2b98ff(0x9b)]);this[_0x2b98ff(0xab)]('\x20\x20'+_0x1491a6[_0x2b98ff(0x89)][_0x2b98ff(0xa2)]['name']+_0x2b98ff(0xa4)+_0x1491a6['pickle'][_0x2b98ff(0xa0)]+'\x0a');const _0x634a33=formatterHelpers['parseTestCaseAttempt']({'cwd':this[_0x2b98ff(0x8f)],'snippetBuilder':this[_0x2b98ff(0x8d)],'supportCodeLibrary':this['supportCodeLibrary'],'testCaseAttempt':_0x1491a6});let _0x866062=![];_0x634a33[_0x2b98ff(0xa3)][_0x2b98ff(0x9d)](_0x3d41d3=>{const _0x5bf337=_0x2b98ff;_0x3d41d3['name']!=_0x5bf337(0x8b)&&!this[_0x5bf337(0x94)](_0x3d41d3)&&(totalTests+=0x1,this[_0x5bf337(0xab)](_0x5bf337(0x98)+_0x3d41d3[_0x5bf337(0x8a)]+(_0x3d41d3[_0x5bf337(0x92)]||'')+_0x5bf337(0xa4)+Status[_0x3d41d3[_0x5bf337(0x93)]['status']]+'\x0a'),this[_0x5bf337(0x8c)](Status[_0x3d41d3[_0x5bf337(0x93)][_0x5bf337(0xa6)]]),Status[_0x3d41d3['result'][_0x5bf337(0xa6)]]=='FAILED'&&(_0x866062=!![]));}),_0x866062&&(testSuitesFailed+=0x1),this[_0x2b98ff(0xab)]('\x0a');}['logTestRunFinished'](_0x4e525f){}[a1_0x1767e1(0x94)](_0x168982){const _0x175aea=a1_0x1767e1;if(_0x168982[_0x175aea(0xb9)]!==undefined)return![];if(_0x168982[_0x175aea(0xae)]&&_0x168982[_0x175aea(0xae)][_0x175aea(0xb8)][_0x175aea(0xa9)]('cucumber-js/test.setup.js'))return!![];return![];}[a1_0x1767e1(0x8c)](_0x124109){const _0xc99834=a1_0x1767e1;switch(_0x124109){case _0xc99834(0x9a):testsFailed+=0x1;break;case'PASSED':testsPassed+=0x1;break;case _0xc99834(0xa7):testsSkipped+=0x1;break;case _0xc99834(0xb6):testsPending+=0x1;break;case _0xc99834(0xb1):testsUndefined+=0x1;break;case'UNKNOWN':testsUnknown+=0x1;break;case'AMBIGUOUS':testsAmbiguous+=0x1;break;default:break;}}}module[a1_0x1767e1(0xa5)]=BrowserstackFormatter;
@@ -0,0 +1 @@
1
+ const a2_0x523729=a2_0x26c6;(function(_0x4b59cc,_0x23b610){const _0x43451b=a2_0x26c6,_0x30579a=_0x4b59cc();while(!![]){try{const _0x5b0d52=-parseInt(_0x43451b(0x1a7))/0x1*(parseInt(_0x43451b(0x1a4))/0x2)+parseInt(_0x43451b(0x17a))/0x3*(-parseInt(_0x43451b(0x19b))/0x4)+parseInt(_0x43451b(0x187))/0x5*(parseInt(_0x43451b(0x188))/0x6)+parseInt(_0x43451b(0x178))/0x7*(-parseInt(_0x43451b(0x1aa))/0x8)+parseInt(_0x43451b(0x1ab))/0x9+parseInt(_0x43451b(0x18a))/0xa+parseInt(_0x43451b(0x19f))/0xb;if(_0x5b0d52===_0x23b610)break;else _0x30579a['push'](_0x30579a['shift']());}catch(_0x350c4){_0x30579a['push'](_0x30579a['shift']());}}}(a2_0x5ac9,0xa6f7c));const {requireModule,getPlatformName}=require(a2_0x523729(0x184)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js');function a2_0x5ac9(){const _0x419492=['Executing\x20tests\x20for\x20','includes','gherkinDocument','sourceLocation','name','undefined','length','testCase','status','12vrpNgE','\x20\x20\x20\x20','getStepLineToPickledStepMap','result','7907845SSEtqs','feature','getTestCaseAttempt','eventBroadcaster','test-step-started','58QEmpcg','AMBIGUOUS','log','38363sCuzTj','test-run-finished','__platform','10064BCgYVr','7004169LVVqkJ','getTestCaseData','toUpperCase','\x20\x20\x20\x20BEFORE\x20-\x20','3031hIjjCu','FAILED','740241iyeViO','env','text','eventDataCollector','UNDEFINED','logTestCaseFinished','\x20\x20\x20\x20AFTER\x20-\x20','stepResults','test-case-finished','CONFIG','../../../helpers/helper','pickle','\x20-\x20','3198865mYnyWo','6AZQZhL','parse','9444730uiVXLB','capability','steps','uri','SKIPPED','actionLocation','cucumber-js/test_old.setup.js','exports'];a2_0x5ac9=function(){return _0x419492;};return a2_0x5ac9();}class BrowserstackFormatter extends Formatter{constructor(_0x37b362){const _0x1c1dd6=a2_0x523729;super(_0x37b362),_0x37b362[_0x1c1dd6(0x1a2)]['on']('test-run-started',()=>{const _0xdb7bd2=_0x1c1dd6;let _0x5c5407;if(process[_0xdb7bd2(0x17b)][_0xdb7bd2(0x183)]!==undefined){let _0x2a5bf5=JSON[_0xdb7bd2(0x189)](process[_0xdb7bd2(0x17b)][_0xdb7bd2(0x183)]);_0x5c5407=_0x2a5bf5[_0xdb7bd2(0x18b)];}_0x5c5407!==undefined&&(global[_0xdb7bd2(0x1a9)]=getPlatformName(_0x5c5407),console[_0xdb7bd2(0x1a6)](_0xdb7bd2(0x192)+global[_0xdb7bd2(0x1a9)]));}),_0x37b362[_0x1c1dd6(0x1a2)]['on']('test-case-started',()=>{testSuites+=0x1;}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x182),_0x73a847=>{const _0x3df218=_0x1c1dd6;this[_0x3df218(0x17f)](_0x73a847);}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x1a8),()=>{totalTests-=0x2;}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x1a3),()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x1dc3d1){const _0x409ab1=a2_0x523729;let _0x180292=![];function _0x4e7ec5(_0x55bed1){const _0xfd1609=a2_0x26c6;switch(_0x55bed1){case _0xfd1609(0x179):testsFailed+=0x1;break;case'PASSED':testsPassed+=0x1;break;case _0xfd1609(0x18e):testsSkipped+=0x1;break;case'PENDING':testsPending+=0x1;break;case _0xfd1609(0x17e):testsUndefined+=0x1;break;case'UNKNOWN':testsUnknown+=0x1;break;case _0xfd1609(0x1a5):testsAmbiguous+=0x1;break;default:break;}}global['__platform']!==undefined&&console[_0x409ab1(0x1a6)]('\x0a'+global[_0x409ab1(0x1a9)]+'\x0a');let _0x227de3=![];if(typeof this[_0x409ab1(0x17d)][_0x409ab1(0x1ac)]!==_0x409ab1(0x197)){var _0xfbf0a4=this[_0x409ab1(0x17d)][_0x409ab1(0x1ac)](_0x1dc3d1[_0x409ab1(0x195)]),_0x35669e=_0xfbf0a4['pickle'],_0x13a969=_0xfbf0a4['testCase'];console['log']('\x20\x20'+_0x35669e[_0x409ab1(0x196)]);var _0x4031d3=(0x0,pickleParser[_0x409ab1(0x19d)])(_0x35669e);_0x13a969[_0x409ab1(0x18c)]['forEach'](function(_0x251c2b){const _0xddaffc=_0x409ab1;if(_0x251c2b[_0xddaffc(0x18f)]&&_0x251c2b[_0xddaffc(0x195)])_0x180292=!![],console[_0xddaffc(0x1a6)](_0xddaffc(0x19c)+_0x4031d3[_0x251c2b['sourceLocation']['line']][_0xddaffc(0x17c)]+'\x20-\x20'+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]()),_0x4e7ec5(_0x251c2b['result'][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]());else _0x251c2b['actionLocation']&&(!_0x251c2b[_0xddaffc(0x18f)][_0xddaffc(0x18d)][_0xddaffc(0x193)](_0xddaffc(0x190))&&(_0x4e7ec5(_0x251c2b[_0xddaffc(0x19e)]['status'][_0xddaffc(0x1ad)]()),_0x180292?console[_0xddaffc(0x1a6)](_0xddaffc(0x180)+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]()):console['log'](_0xddaffc(0x1ae)+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]())));_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)]['toUpperCase']()==_0xddaffc(0x179)&&(_0x227de3=!![]);});}else{const _0x274084=this[_0x409ab1(0x17d)][_0x409ab1(0x1a1)](_0x1dc3d1);console[_0x409ab1(0x1a6)]('\x20\x20'+_0x274084[_0x409ab1(0x194)][_0x409ab1(0x1a0)][_0x409ab1(0x196)]+_0x409ab1(0x186)+_0x274084[_0x409ab1(0x185)]['name']);var _0x4031d3=(0x0,pickleParser[_0x409ab1(0x19d)])(_0x274084[_0x409ab1(0x185)]);let _0x873438=_0x274084[_0x409ab1(0x199)][_0x409ab1(0x18c)],_0x32f465=_0x274084[_0x409ab1(0x181)],_0x4b93ec=_0x873438[_0x409ab1(0x198)];for(let _0xbd1113=0x0;_0xbd1113<_0x4b93ec;_0xbd1113++){let _0x102f71=_0x873438[_0xbd1113];if(_0x102f71[_0x409ab1(0x18f)]&&_0x102f71[_0x409ab1(0x195)])_0x180292=!![],console['log'](_0x409ab1(0x19c)+_0x4031d3[_0x102f71[_0x409ab1(0x195)]['line']]['text']+_0x409ab1(0x186)+_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']()),_0x4e7ec5(_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]());else _0x102f71['actionLocation']&&(!_0x102f71['actionLocation'][_0x409ab1(0x18d)][_0x409ab1(0x193)](_0x409ab1(0x190))&&(_0x4e7ec5(_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]()),_0x180292?console[_0x409ab1(0x1a6)](_0x409ab1(0x180)+_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]()):console[_0x409ab1(0x1a6)]('\x20\x20\x20\x20BEFORE\x20-\x20'+_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']())));_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']()=='FAILED'&&(_0x227de3=!![]);}}_0x227de3&&(testSuitesFailed+=0x1),console[_0x409ab1(0x1a6)]('\x0a');}}function a2_0x26c6(_0xa5f302,_0x545f6e){const _0x5ac9d4=a2_0x5ac9();return a2_0x26c6=function(_0x26c672,_0x296eef){_0x26c672=_0x26c672-0x178;let _0xfd58c5=_0x5ac9d4[_0x26c672];return _0xfd58c5;},a2_0x26c6(_0xa5f302,_0x545f6e);}module[a2_0x523729(0x191)]=BrowserstackFormatter;
@@ -0,0 +1 @@
1
+ const a3_0x12f350=a3_0x19a9;(function(_0x34dc71,_0x184a04){const _0x187cb2=a3_0x19a9,_0x18a4c2=_0x34dc71();while(!![]){try{const _0x3ef5d6=parseInt(_0x187cb2(0x21e))/0x1*(parseInt(_0x187cb2(0x1e8))/0x2)+parseInt(_0x187cb2(0x1f7))/0x3*(-parseInt(_0x187cb2(0x210))/0x4)+parseInt(_0x187cb2(0x20a))/0x5*(-parseInt(_0x187cb2(0x1fe))/0x6)+parseInt(_0x187cb2(0x222))/0x7+parseInt(_0x187cb2(0x1ee))/0x8+-parseInt(_0x187cb2(0x20b))/0x9*(parseInt(_0x187cb2(0x207))/0xa)+parseInt(_0x187cb2(0x1f1))/0xb;if(_0x3ef5d6===_0x184a04)break;else _0x18a4c2['push'](_0x18a4c2['shift']());}catch(_0x544edf){_0x18a4c2['push'](_0x18a4c2['shift']());}}}(a3_0x55eb,0x78ec6));const {requireModule,modifyCommand}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),seleniumWebdriver=requireModule(a3_0x12f350(0x216)),cucumberModule=requireModule(a3_0x12f350(0x209));modifyCommand(),setKeepAlive();let Before=cucumberModule[a3_0x12f350(0x1f9)],After=cucumberModule[a3_0x12f350(0x218)],AfterStep=cucumberModule[a3_0x12f350(0x1fb)];this[a3_0x12f350(0x1fa)]=new seleniumWebdriver[(a3_0x12f350(0x1f0))]();function a3_0x19a9(_0x17abbe,_0x5f4a9f){const _0x55ebe0=a3_0x55eb();return a3_0x19a9=function(_0x19a9b5,_0x26b7da){_0x19a9b5=_0x19a9b5-0x1e7;let _0x922750=_0x55ebe0[_0x19a9b5];return _0x922750;},a3_0x19a9(_0x17abbe,_0x5f4a9f);}let configuration=process[a3_0x12f350(0x200)][a3_0x12f350(0x1fc)],server,caps,proxySettings;function a3_0x55eb(){const _0x360175=['@cucumber/cucumber/lib/index.js','611815dKbVdF','9thKRgu','then','bstack','name','Passed','4dEwBRL','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','usingWebDriverProxy','initQuit','push','__error_messages__','selenium-webdriver','usingServer','After','quit','__driver','pickle','\x0aError:\x20','\x20|\x20','81661JEejCx','error','failed','message','2091404TnxcXk','Failed:\x20','18WbvQHo','\x22}}','status','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','pickleStep','executeScript','6751624CBFiNh','quitCalled','Builder','1657007doAeGY','toLowerCase','text','join','parse','stringify','673170FMDIQl','info','Before','builder','AfterStep','CONFIG','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','42BntQvz','build','env','prototype','proxyUrl','server','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','result','capability','4520780PgeBta','session_'];a3_0x55eb=function(){return _0x360175;};return a3_0x55eb();}if(configuration!==undefined){let config=JSON[a3_0x12f350(0x1f5)](configuration);server=config[a3_0x12f350(0x203)],caps=config[a3_0x12f350(0x206)],proxySettings=config['proxySettings'];}this[a3_0x12f350(0x1fa)]['initBuild']=this[a3_0x12f350(0x1fa)][a3_0x12f350(0x1ff)],this[a3_0x12f350(0x1fa)][a3_0x12f350(0x1ff)]=()=>{const _0x4de049=a3_0x12f350;this[_0x4de049(0x1fa)]['withCapabilities'](caps),this[_0x4de049(0x1fa)][_0x4de049(0x217)](server);proxySettings&&proxySettings['proxyUrl']&&this[_0x4de049(0x1fa)][_0x4de049(0x212)](proxySettings[_0x4de049(0x202)]);const _0x2862df=this[_0x4de049(0x1fa)]['initBuild']();return _0x2862df[_0x4de049(0x213)]=_0x2862df['quit'],_0x2862df[_0x4de049(0x219)]=_0x27f007=>{const _0x1d0270=_0x4de049;if(_0x27f007===_0x1d0270(0x219)&&_0x2862df['quitCalled'])return _0x2862df[_0x1d0270(0x213)]();return _0x27f007!==_0x1d0270(0x219)&&(_0x2862df[_0x1d0270(0x1ef)]=!![]),new Promise(function(_0xb19054){_0xb19054();});},global[_0x4de049(0x21a)]=_0x2862df,_0x2862df;},seleniumWebdriver[a3_0x12f350(0x1f0)][a3_0x12f350(0x201)][a3_0x12f350(0x1ff)]=()=>{return this['builder']['build']();},Before({'name':a3_0x12f350(0x20d)},function(){const _0x1d68fd=a3_0x12f350;global[_0x1d68fd(0x215)]=[];}),After({'name':'bstack','timeout':0x2710},function(_0x36441c,_0x3f4b36){const _0x163515=a3_0x12f350;new Promise(async(_0x154c03,_0x1816bc)=>{const _0x1ba9a6=a3_0x19a9;let _0x420d13=![];try{await global[_0x1ba9a6(0x21a)][_0x1ba9a6(0x208)],_0x420d13=!![],await global['__driver'][_0x1ba9a6(0x1ed)](_0x1ba9a6(0x204)+_0x36441c[_0x1ba9a6(0x21b)][_0x1ba9a6(0x20e)]+'\x22}}'),_0x36441c[_0x1ba9a6(0x205)][_0x1ba9a6(0x1ea)][_0x1ba9a6(0x1f2)]()==_0x1ba9a6(0x220)?await global[_0x1ba9a6(0x21a)][_0x1ba9a6(0x1ed)](_0x1ba9a6(0x1eb)+JSON[_0x1ba9a6(0x1f6)](global[_0x1ba9a6(0x215)][_0x1ba9a6(0x1f4)](_0x1ba9a6(0x21d)))+'}}'):await global[_0x1ba9a6(0x21a)]['executeScript'](_0x1ba9a6(0x1fd));}catch(_0x46d9a5){}if(_0x420d13)try{await global[_0x1ba9a6(0x21a)]['quit']('quit'),_0x154c03();}catch(_0x5937ca){_0x1816bc(_0x5937ca);}else _0x1816bc();})[_0x163515(0x20c)](()=>_0x3f4b36());}),AfterStep({'name':a3_0x12f350(0x20d),'timeout':0x2710},function(_0x301cf2,_0x4b597e){const _0x40f6bc=async(_0x5b017f,_0x52cbdd)=>{const _0x36a04e=a3_0x19a9;await global['__driver'][_0x36a04e(0x1ed)](_0x36a04e(0x211)+_0x5b017f+',\x22level\x22:\x20\x22'+_0x52cbdd+_0x36a04e(0x1e9));};new Promise(async(_0x3fb3ad,_0x43a78b)=>{const _0xf1ba31=a3_0x19a9;try{_0x301cf2['result']['status']['toLowerCase']()==_0xf1ba31(0x220)?(global['__error_messages__'][_0xf1ba31(0x214)](_0x301cf2[_0xf1ba31(0x205)][_0xf1ba31(0x221)]),_0x301cf2[_0xf1ba31(0x1ec)]!==undefined?await _0x40f6bc(JSON[_0xf1ba31(0x1f6)](_0xf1ba31(0x1e7)+('\x22'+_0x301cf2[_0xf1ba31(0x1ec)][_0xf1ba31(0x1f3)]+'\x22\x20')+_0xf1ba31(0x21c)+_0x301cf2[_0xf1ba31(0x205)][_0xf1ba31(0x221)]),'error'):await _0x40f6bc(JSON[_0xf1ba31(0x1f6)](_0xf1ba31(0x1e7)+_0x301cf2[_0xf1ba31(0x205)]['message']),_0xf1ba31(0x21f))):_0x301cf2[_0xf1ba31(0x1ec)]!==undefined?await _0x40f6bc(JSON[_0xf1ba31(0x1f6)]('Passed:\x20'+('\x22'+_0x301cf2[_0xf1ba31(0x1ec)][_0xf1ba31(0x1f3)]+'\x22')),'info'):await _0x40f6bc(JSON['stringify'](_0xf1ba31(0x20f)),_0xf1ba31(0x1f8)),_0x3fb3ad();}catch(_0x2194ff){_0x43a78b(_0x2194ff);}})['then'](()=>_0x4b597e());});
@@ -0,0 +1 @@
1
+ function a4_0xf130(_0xe6430,_0x1b522f){const _0x365045=a4_0x3650();return a4_0xf130=function(_0xf13060,_0x3cce94){_0xf13060=_0xf13060-0x88;let _0x299ee9=_0x365045[_0xf13060];return _0x299ee9;},a4_0xf130(_0xe6430,_0x1b522f);}const a4_0x11d157=a4_0xf130;(function(_0x2d628f,_0x3bcc5b){const _0x2620bb=a4_0xf130,_0x3c0730=_0x2d628f();while(!![]){try{const _0x28d997=parseInt(_0x2620bb(0x98))/0x1+parseInt(_0x2620bb(0xaa))/0x2*(-parseInt(_0x2620bb(0x92))/0x3)+-parseInt(_0x2620bb(0x8a))/0x4*(parseInt(_0x2620bb(0x89))/0x5)+-parseInt(_0x2620bb(0x91))/0x6*(parseInt(_0x2620bb(0x90))/0x7)+parseInt(_0x2620bb(0xa7))/0x8*(-parseInt(_0x2620bb(0xa8))/0x9)+-parseInt(_0x2620bb(0x9c))/0xa+parseInt(_0x2620bb(0x9d))/0xb;if(_0x28d997===_0x3bcc5b)break;else _0x3c0730['push'](_0x3c0730['shift']());}catch(_0x48b037){_0x3c0730['push'](_0x3c0730['shift']());}}}(a4_0x3650,0xcc1d4));const {requireModule,modifyCommand}=require(a4_0x11d157(0xa6)),setKeepAlive=require('../../helpers/setKeepAlive'),seleniumWebdriver=requireModule('selenium-webdriver'),cucumberModule=requireModule(a4_0x11d157(0xa2));modifyCommand(),setKeepAlive();let Before=cucumberModule['Before'],After=cucumberModule[a4_0x11d157(0xa1)];function a4_0x3650(){const _0x5c5857=['16pEHNKO','6039180ekKYjZ','quitCalled','2930MsJVud','quit','then','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','name','usingWebDriverProxy','build','failed','stringify','\x20|\x20','executeScript','Builder','5IuIVNL','69460JyxCzC','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','result','pickle','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','CONFIG','271229rFciEy','150JCpzpx','1893kLszdv','capability','toLowerCase','usingServer','env','builder','1138711iLXmMz','bstack','proxySettings','proxyUrl','15280920CstMQf','49257208BMfnHB','initBuild','\x22}}','__driver','After','cucumber/lib/index.js','parse','server','join','../../helpers/helper'];a4_0x3650=function(){return _0x5c5857;};return a4_0x3650();}this['builder']=new seleniumWebdriver[(a4_0x11d157(0x88))]();let configuration=process[a4_0x11d157(0x96)][a4_0x11d157(0x8f)],server,caps,proxySettings;if(configuration!==undefined){let config=JSON[a4_0x11d157(0xa3)](configuration);server=config[a4_0x11d157(0xa4)],caps=config[a4_0x11d157(0x93)],proxySettings=config[a4_0x11d157(0x9a)];}this[a4_0x11d157(0x97)][a4_0x11d157(0x9e)]=this[a4_0x11d157(0x97)][a4_0x11d157(0xb0)],this[a4_0x11d157(0x97)][a4_0x11d157(0xb0)]=()=>{const _0x44eb18=a4_0x11d157;this['builder']['withCapabilities'](caps),this[_0x44eb18(0x97)][_0x44eb18(0x95)](server);proxySettings&&proxySettings[_0x44eb18(0x9b)]&&this['builder'][_0x44eb18(0xaf)](proxySettings[_0x44eb18(0x9b)]);const _0x584759=this[_0x44eb18(0x97)][_0x44eb18(0x9e)]();return _0x584759['initQuit']=_0x584759[_0x44eb18(0xab)],_0x584759[_0x44eb18(0xab)]=_0x1d3a1f=>{const _0x5157fa=_0x44eb18;if(_0x1d3a1f==='quit'&&_0x584759[_0x5157fa(0xa9)])return _0x584759['initQuit']();return _0x1d3a1f!==_0x5157fa(0xab)&&(_0x584759['quitCalled']=!![]),new Promise(function(_0x1b2485){_0x1b2485();});},global[_0x44eb18(0xa0)]=_0x584759,_0x584759;},seleniumWebdriver[a4_0x11d157(0x88)]['prototype']['build']=()=>{return this['builder']['build']();},Before({'name':a4_0x11d157(0x99)},function(){global['__error_messages__']=[];}),After({'name':a4_0x11d157(0x99),'timeout':0x2710},function(_0x34c451,_0x414ef6){const _0x37c88f=a4_0x11d157;new Promise(async(_0x497733,_0x3491f0)=>{const _0x2f8f27=a4_0xf130;let _0x3e2ea1=![];try{await global[_0x2f8f27(0xa0)]['session_'],_0x3e2ea1=!![],await global[_0x2f8f27(0xa0)][_0x2f8f27(0xb4)](_0x2f8f27(0xad)+_0x34c451[_0x2f8f27(0x8d)][_0x2f8f27(0xae)]+_0x2f8f27(0x9f)),_0x34c451[_0x2f8f27(0x8c)]['status'][_0x2f8f27(0x94)]()==_0x2f8f27(0xb1)?await global[_0x2f8f27(0xa0)]['executeScript'](_0x2f8f27(0x8e)+JSON[_0x2f8f27(0xb2)](global['__error_messages__'][_0x2f8f27(0xa5)](_0x2f8f27(0xb3)))+'}}'):await global[_0x2f8f27(0xa0)][_0x2f8f27(0xb4)](_0x2f8f27(0x8b));}catch(_0x2b9fb1){}if(_0x3e2ea1)try{await global[_0x2f8f27(0xa0)]['quit'](_0x2f8f27(0xab)),_0x497733();}catch(_0x5787c0){_0x3491f0(_0x5787c0);}else _0x3491f0();})[_0x37c88f(0xac)](()=>_0x414ef6());});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a0_0x54ae67=a0_0x19eb;function a0_0x19eb(_0x3c1af4,_0x48e7bb){const _0x59033f=a0_0x5903();return a0_0x19eb=function(_0x19eb36,_0xa0c7cb){_0x19eb36=_0x19eb36-0xc4;let _0x33a919=_0x59033f[_0x19eb36];return _0x33a919;},a0_0x19eb(_0x3c1af4,_0x48e7bb);}(function(_0x51d23b,_0x4969f7){const _0x468177=a0_0x19eb,_0x109917=_0x51d23b();while(!![]){try{const _0x29d6a3=parseInt(_0x468177(0xc7))/0x1+parseInt(_0x468177(0xc9))/0x2*(-parseInt(_0x468177(0xf3))/0x3)+parseInt(_0x468177(0xe7))/0x4+-parseInt(_0x468177(0xe6))/0x5*(parseInt(_0x468177(0xeb))/0x6)+parseInt(_0x468177(0x105))/0x7+parseInt(_0x468177(0x108))/0x8*(parseInt(_0x468177(0xf1))/0x9)+-parseInt(_0x468177(0xd6))/0xa;if(_0x29d6a3===_0x4969f7)break;else _0x109917['push'](_0x109917['shift']());}catch(_0x1db732){_0x109917['push'](_0x109917['shift']());}}}(a0_0x5903,0xb0ca0));const fs=require('fs'),path=require('path'),{spawn}=require(a0_0x54ae67(0xd1)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a0_0x54ae67(0xcc)),helper=require(a0_0x54ae67(0xf6)),getUserJestConfigs=(_0x16b877,_0x26d673)=>{const _0x236987=a0_0x54ae67,_0x65bfc5=_0x26d673['findIndex'](_0x53807f=>_0x53807f==_0x236987(0xcf));if(!helper['isUndefined'](_0x16b877[_0x236987(0xef)])){logger[_0x236987(0xdf)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x16b877['config']);const _0x4426d9=require(path[_0x236987(0x104)](process[_0x236987(0xea)](),_0x16b877['config']));return _0x26d673[_0x236987(0xfd)](_0x65bfc5,0x2),_0x4426d9||{};}return logger['info'](_0x236987(0xfe)),require(path[_0x236987(0x104)](process[_0x236987(0xea)](),_0x236987(0xfb)))['jest']||{};},getSerial=(_0x22b0e9,_0x1ab96d)=>{const _0x4d09ea=a0_0x54ae67;let _0x418576=_0x4d09ea(0xfc);return _0x22b0e9[_0x4d09ea(0xe3)]>0x1&&(!_0x1ab96d['runInBand']&&(helper[_0x4d09ea(0xc6)](_0x1ab96d[_0x4d09ea(0xde)])||_0x1ab96d[_0x4d09ea(0xde)]>0x1))&&(_0x418576=_0x4d09ea(0xe5)),_0x418576;},getMaxWorkers=(_0x382a96,_0x498ca7)=>{const _0x4db802=a0_0x54ae67;let _0x419a90=0x1;if(!helper[_0x4db802(0xc6)](_0x498ca7[_0x4db802(0xda)]))_0x419a90=parseInt(_0x498ca7['parallelsPerPlatform']);else!helper[_0x4db802(0xc6)](_0x382a96[_0x4db802(0xde)])&&(_0x419a90=_0x382a96[_0x4db802(0xde)]);return _0x419a90;};function run(_0x303155,_0x11dbb9){const _0x2aef17=a0_0x54ae67,_0x5b66cb=new BrowserStackSetup();if(!_0x5b66cb[_0x2aef17(0xef)])return;const _0x3e03e1=getUserJestConfigs(_0x303155,_0x11dbb9);logger[_0x2aef17(0xdf)](_0x2aef17(0xf4));const _0x383b9a={..._0x3e03e1};_0x383b9a[_0x2aef17(0x103)]={'server':_0x2aef17(0xd5),'environment':_0x3e03e1[_0x2aef17(0xf5)]};let _0x3cfea6=helper[_0x2aef17(0xe9)](_0x5b66cb[_0x2aef17(0xef)]);const _0x4f7d75=[];_0x5b66cb[_0x2aef17(0xef)][_0x2aef17(0x101)][_0x2aef17(0xff)]((_0x35ab37,_0x2395fe)=>{const _0xec7a46=_0x2aef17;if(_0x3cfea6)_0x4f7d75[_0xec7a46(0xe1)](helper['modifyBrowserStackW3CCaps'](_0x5b66cb['config'],_0x2395fe));else _0x4f7d75[_0xec7a46(0xe1)](helper[_0xec7a46(0xd0)](_0x5b66cb['config'],_0x2395fe));}),_0x383b9a['testEnvironmentOptions'][_0x2aef17(0xc8)]=_0x4f7d75,_0x383b9a[_0x2aef17(0x103)][_0x2aef17(0xdb)]=getSerial(_0x4f7d75,_0x303155),_0x383b9a['testEnvironmentOptions'][_0x2aef17(0xcd)]=getMaxWorkers(_0x303155,_0x5b66cb['config']),_0x383b9a[_0x2aef17(0x103)][_0x2aef17(0x106)]=_0x5b66cb[_0x2aef17(0xef)][_0x2aef17(0x106)];const _0x5ad2bd=_0x2aef17(0x100),_0x218770=__dirname+_0x2aef17(0xfa),_0x1d25fc=__dirname+_0x2aef17(0x102);_0x383b9a[_0x2aef17(0xf5)]=__dirname+'/customEnvironment.js',_0x383b9a[_0x2aef17(0xdd)]=_0x218770,_0x383b9a[_0x2aef17(0xed)]=[__dirname+_0x2aef17(0x107)],_0x383b9a['setupFiles']=[__dirname+_0x2aef17(0xd9)],_0x383b9a['reporters']=_0x383b9a[_0x2aef17(0xc5)]||[_0x2aef17(0xe0)];let _0x54c6e7=fs['readFileSync'](_0x1d25fc);fs[_0x2aef17(0xc4)](_0x383b9a[_0x2aef17(0xdd)],_0x2aef17(0xf9)+_0x54c6e7+_0x2aef17(0xe8)+_0x5b66cb[_0x2aef17(0xef)][_0x2aef17(0x101)][_0x2aef17(0xe3)]+_0x2aef17(0xd3)),logger[_0x2aef17(0xdf)](_0x2aef17(0xd2)+_0x5ad2bd+_0x2aef17(0xf0)),fs[_0x2aef17(0xc4)](_0x5ad2bd,_0x2aef17(0xec)+JSON[_0x2aef17(0xe4)](_0x383b9a)+_0x2aef17(0xcb)),logger[_0x2aef17(0xdf)](_0x2aef17(0xe2));const _0x1395db=spawn(/^win/['test'](process[_0x2aef17(0xd4)])?_0x2aef17(0xf8):_0x2aef17(0xf7),[_0x2aef17(0xcf),_0x5ad2bd,..._0x11dbb9[_0x2aef17(0xce)](0x1)],{'stdio':'inherit'});_0x1395db['on'](_0x2aef17(0xdc),async _0x5366a2=>{const _0x39962b=_0x2aef17;logger[_0x39962b(0xee)](_0x39962b(0xf2)+_0x5366a2),logger[_0x39962b(0xdf)](_0x39962b(0xd8)+_0x5ad2bd),fs[_0x39962b(0xca)](_0x5ad2bd),fs[_0x39962b(0xca)](_0x218770);});}function a0_0x5903(){const _0x4820b7=['\x0a\x20\x20\x20\x20','/customTestRunner.js','package.json','true','splice','Getting\x20your\x20jest\x20configs\x20from\x20package.json','forEach','jest_browserstack.config.js','platforms','/customTestRunnerTemplate.js','testEnvironmentOptions','join','5903198JcMQdE','proxySettings','/jest.setup.js','11247944DGDKWU','writeFileSync','reporters','isUndefined','954701pNTWPr','capabilities','70WUhXcZ','unlinkSync','\x0amodule.exports\x20=\x20config;','../../helpers/BrowserStackSetup','parallels__','slice','--config','modifyBrowserStackCaps','child_process','Creating\x20',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','platform','https://hub.browserstack.com/wd/hub','16135290KSLuQa','exports','Deleting\x20','/test_before.setup.js','parallelsPerPlatform','serial__','close','runner','maxWorkers','info','default','push','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','length','stringify','false','466075SaGFZQ','4436276wwpTRa','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','useW3C','cwd','54SVbvgq','const\x20config=','setupFilesAfterEnv','debug','config','\x20with\x20browserstack\x20jest\x20configs','9CHZahQ','child\x20process\x20exited\x20with\x20code\x20','97413yjRund','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testEnvironment','../../helpers/helper','jest','jest.cmd'];a0_0x5903=function(){return _0x4820b7;};return a0_0x5903();}module[a0_0x54ae67(0xd7)]=run;
2
+ 'use strict';function a5_0x57f9(_0x538c23,_0x22c329){const _0x1e12c3=a5_0x1e12();return a5_0x57f9=function(_0x57f967,_0x2f87c0){_0x57f967=_0x57f967-0x1f0;let _0x214e3f=_0x1e12c3[_0x57f967];return _0x214e3f;},a5_0x57f9(_0x538c23,_0x22c329);}const a5_0x6b29d1=a5_0x57f9;(function(_0x2eeb0d,_0x4e69d1){const _0x1a8c0b=a5_0x57f9,_0x8494b3=_0x2eeb0d();while(!![]){try{const _0x276fa6=parseInt(_0x1a8c0b(0x228))/0x1*(-parseInt(_0x1a8c0b(0x20b))/0x2)+parseInt(_0x1a8c0b(0x215))/0x3*(parseInt(_0x1a8c0b(0x214))/0x4)+-parseInt(_0x1a8c0b(0x1f8))/0x5*(parseInt(_0x1a8c0b(0x223))/0x6)+parseInt(_0x1a8c0b(0x206))/0x7*(-parseInt(_0x1a8c0b(0x20d))/0x8)+-parseInt(_0x1a8c0b(0x20f))/0x9*(parseInt(_0x1a8c0b(0x233))/0xa)+parseInt(_0x1a8c0b(0x22f))/0xb*(parseInt(_0x1a8c0b(0x224))/0xc)+-parseInt(_0x1a8c0b(0x1fe))/0xd*(-parseInt(_0x1a8c0b(0x21b))/0xe);if(_0x276fa6===_0x4e69d1)break;else _0x8494b3['push'](_0x8494b3['shift']());}catch(_0x2ca662){_0x8494b3['push'](_0x8494b3['shift']());}}}(a5_0x1e12,0xea148));const fs=require('fs'),path=require('path'),{spawn}=require(a5_0x6b29d1(0x1f2)),logger=require(a5_0x6b29d1(0x1fd))[a5_0x6b29d1(0x1f5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x6b29d1(0x22b)),constants=require('../utils/constants'),getUserJestConfigs=(_0x28441f,_0x17af73)=>{const _0x352cb0=a5_0x6b29d1,_0x4cde23=_0x17af73[_0x352cb0(0x202)](_0x4455d2=>_0x4455d2==_0x352cb0(0x222));if(!helper['isUndefined'](_0x28441f[_0x352cb0(0x21c)])){logger[_0x352cb0(0x22c)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x28441f[_0x352cb0(0x21c)]);const _0x395120=require(path[_0x352cb0(0x1f0)](process['cwd'](),_0x28441f[_0x352cb0(0x21c)]));return _0x17af73[_0x352cb0(0x21e)](_0x4cde23,0x2),_0x395120||{};}return logger[_0x352cb0(0x22c)]('Getting\x20your\x20jest\x20configs\x20from\x20package.json'),require(path[_0x352cb0(0x1f0)](process[_0x352cb0(0x200)](),'package.json'))[_0x352cb0(0x21f)]||{};},getSerial=(_0x556458,_0x399bd8)=>{const _0x28cabc=a5_0x6b29d1;let _0x291e9f=_0x28cabc(0x20a);return _0x556458['length']>0x1&&(!_0x399bd8[_0x28cabc(0x1fb)]&&(helper[_0x28cabc(0x22d)](_0x399bd8[_0x28cabc(0x226)])||_0x399bd8['maxWorkers']>0x1))&&(_0x291e9f=_0x28cabc(0x201)),_0x291e9f;},getMaxWorkers=(_0x274f18,_0x10e7f4)=>{const _0x42b590=a5_0x6b29d1;let _0x203016=0x1;if(!helper[_0x42b590(0x22d)](_0x10e7f4[_0x42b590(0x218)]))_0x203016=parseInt(_0x10e7f4['parallelsPerPlatform']);else!helper['isUndefined'](_0x274f18['maxWorkers'])&&(_0x203016=_0x274f18[_0x42b590(0x226)]);return _0x203016;};function run(_0xae944,_0x4a80c3){const _0x2dd8db=a5_0x6b29d1,_0x4690c3=new BrowserStackSetup();if(!_0x4690c3[_0x2dd8db(0x21c)])return;const _0x1a6e55=getUserJestConfigs(_0xae944,_0x4a80c3);logger[_0x2dd8db(0x22c)](_0x2dd8db(0x229));const _0x2658c1={..._0x1a6e55};_0x2658c1[_0x2dd8db(0x207)]={'server':constants[_0x2dd8db(0x213)],'environment':_0x1a6e55['testEnvironment']};let _0xf70ec7=helper['useW3C'](_0x4690c3[_0x2dd8db(0x21c)]);const _0x45cc4f=[];_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x20c)][_0x2dd8db(0x1fc)]((_0x3aa3b0,_0x51eec7)=>{const _0x475804=_0x2dd8db;if(_0xf70ec7)_0x45cc4f['push'](helper[_0x475804(0x20e)](_0x4690c3[_0x475804(0x21c)],_0x51eec7));else _0x45cc4f['push'](helper['modifyBrowserStackCaps'](_0x4690c3[_0x475804(0x21c)],_0x51eec7));}),_0x2658c1[_0x2dd8db(0x207)]['capabilities']=_0x45cc4f,_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x1ff)]=getSerial(_0x45cc4f,_0xae944),_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x1f9)]=getMaxWorkers(_0xae944,_0x4690c3[_0x2dd8db(0x21c)]),_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x217)]=_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x217)];const _0x5966a2=_0x2dd8db(0x1fa),_0x2c9f06=__dirname+_0x2dd8db(0x225),_0x416e95=__dirname+_0x2dd8db(0x1f7);_0x2658c1[_0x2dd8db(0x212)]=__dirname+'/customEnvironment.js',_0x2658c1[_0x2dd8db(0x208)]=_0x2c9f06,_0x2658c1[_0x2dd8db(0x203)]=[__dirname+_0x2dd8db(0x230)],_0x2658c1[_0x2dd8db(0x21a)]=[__dirname+_0x2dd8db(0x204)],_0x2658c1[_0x2dd8db(0x1f6)]=_0x2658c1[_0x2dd8db(0x1f6)]||['default'];let _0x20d8a8=fs[_0x2dd8db(0x216)](_0x416e95);fs[_0x2dd8db(0x210)](_0x2658c1['runner'],_0x2dd8db(0x211)+_0x20d8a8+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x20c)][_0x2dd8db(0x220)]+_0x2dd8db(0x219)),logger[_0x2dd8db(0x22c)](_0x2dd8db(0x22a)+_0x5966a2+_0x2dd8db(0x231)),fs[_0x2dd8db(0x210)](_0x5966a2,_0x2dd8db(0x1f3)+JSON[_0x2dd8db(0x1f4)](_0x2658c1)+_0x2dd8db(0x21d)),logger['info'](_0x2dd8db(0x1f1));const _0x4cc0bb=spawn(/^win/['test'](process[_0x2dd8db(0x209)])?_0x2dd8db(0x22e):_0x2dd8db(0x21f),[_0x2dd8db(0x222),_0x5966a2,..._0x4a80c3[_0x2dd8db(0x232)](0x1)],{'stdio':_0x2dd8db(0x205)});_0x4cc0bb['on']('close',async _0x2f712e=>{const _0x34cc1b=_0x2dd8db;logger[_0x34cc1b(0x221)]('child\x20process\x20exited\x20with\x20code\x20'+_0x2f712e),logger[_0x34cc1b(0x22c)]('Deleting\x20'+_0x5966a2),fs[_0x34cc1b(0x227)](_0x5966a2),fs[_0x34cc1b(0x227)](_0x2c9f06);});}function a5_0x1e12(){const _0x15b287=['Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Creating\x20','../../helpers/helper','info','isUndefined','jest.cmd','22BYBUfx','/jest.setup.js','\x20with\x20browserstack\x20jest\x20configs','slice','710WlBXoa','join','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','child_process','const\x20config=','stringify','winstonLogger','reporters','/customTestRunnerTemplate.js','70AOzgFd','parallels__','jest_browserstack.config.js','runInBand','forEach','../../helpers/logger','2821YOleVI','serial__','cwd','false','findIndex','setupFilesAfterEnv','/test_before.setup.js','inherit','7720573NYzIUu','testEnvironmentOptions','runner','platform','true','2oFuwQm','platforms','8LfyrRD','modifyBrowserStackW3CCaps','36999wyZInL','writeFileSync','\x0a\x20\x20\x20\x20','testEnvironment','hubUrl','1228CSuLVQ','8016GkxarQ','readFileSync','proxySettings','parallelsPerPlatform',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','setupFiles','264278xsvgyl','config','\x0amodule.exports\x20=\x20config;','splice','jest','length','debug','--config','713166jXGuJC','1393620HlRkyM','/customTestRunner.js','maxWorkers','unlinkSync','1131217nNumBx'];a5_0x1e12=function(){return _0x15b287;};return a5_0x1e12();}module['exports']=run;
@@ -1 +1 @@
1
- const a1_0x438aa8=a1_0x3bda;(function(_0x33111b,_0x46b311){const _0x392229=a1_0x3bda,_0x1b1c53=_0x33111b();while(!![]){try{const _0x16eb1f=parseInt(_0x392229(0x1a9))/0x1*(-parseInt(_0x392229(0x1a1))/0x2)+-parseInt(_0x392229(0x1b9))/0x3*(parseInt(_0x392229(0x1b8))/0x4)+-parseInt(_0x392229(0x1b6))/0x5*(-parseInt(_0x392229(0x1a0))/0x6)+parseInt(_0x392229(0x1b2))/0x7+-parseInt(_0x392229(0x1a3))/0x8*(-parseInt(_0x392229(0x191))/0x9)+parseInt(_0x392229(0x1b5))/0xa*(-parseInt(_0x392229(0x1b7))/0xb)+parseInt(_0x392229(0x193))/0xc*(-parseInt(_0x392229(0x192))/0xd);if(_0x16eb1f===_0x46b311)break;else _0x1b1c53['push'](_0x1b1c53['shift']());}catch(_0x46aaaf){_0x1b1c53['push'](_0x1b1c53['shift']());}}}(a1_0x4e27,0xd12b7));const helper=require(a1_0x438aa8(0x190)),_seleniumWebdriver=helper[a1_0x438aa8(0x19d)](),SeleniumEnvironmentNode=helper[a1_0x438aa8(0x1a2)]('jest-environment-node'),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x12e9d2){return _0x12e9d2&&_0x12e9d2['__esModule']?_0x12e9d2:{'default':_0x12e9d2};}function a1_0x4e27(){const _0x3b6539=['quit','testEnvironmentOptions','proxySettings','server','default','testContext','builder','setup','7063700EZvQIT','build','global','59660XHfTwO','25blcmpb','143qySUEc','6848nVWKSg','1098CCBVcI','test','initBuild','sessionNameProvided','initQuit','../../helpers/helper','27bcDcxY','299jabrqS','430356ZrXJLD','handleTestEvent','projectConfig','driver','Builder','test_start','sessionName','name','usingWebDriverProxy','configuration','requireSeleniumWebdriver','withCapabilities','proxyUrl','2031396doRmPb','1058IrVlxW','requireModule','2938872vJizDN','exports','quitCalled','__webdriver','usingServer','capability','2681DuZyaF'];a1_0x4e27=function(){return _0x3b6539;};return a1_0x4e27();}function a1_0x3bda(_0x12ac99,_0x1d42a0){const _0x4e270c=a1_0x4e27();return a1_0x3bda=function(_0x3bda6c,_0x3f991b){_0x3bda6c=_0x3bda6c-0x18f;let _0x4107bd=_0x4e270c[_0x3bda6c];return _0x4107bd;},a1_0x3bda(_0x12ac99,_0x1d42a0);}helper['modifyCommand']();class CustomEnvironment extends _jestEnvironmentNode2[a1_0x438aa8(0x1ae)]{constructor(_0x5ba744){const _0x5925ad=a1_0x438aa8;super(_0x5ba744),_0x5ba744[_0x5925ad(0x1ab)]=_0x5ba744[_0x5925ad(0x195)]?_0x5ba744[_0x5925ad(0x195)][_0x5925ad(0x1ab)]:_0x5ba744['testEnvironmentOptions'],this['configuration']=_0x5ba744[_0x5925ad(0x1ab)],this[_0x5925ad(0x1a8)]=_0x5ba744[_0x5925ad(0x195)]?_0x5ba744[_0x5925ad(0x195)][_0x5925ad(0x1a8)]:_0x5ba744[_0x5925ad(0x1a8)],this[_0x5925ad(0x1b0)]=new _seleniumWebdriver2['default'][(_0x5925ad(0x197))](),this[_0x5925ad(0x1b0)][_0x5925ad(0x1bb)]=this['builder'][_0x5925ad(0x1b3)],this['builder'][_0x5925ad(0x1b3)]=()=>{const _0x56b333=_0x5925ad;return this[_0x56b333(0x1b0)][_0x56b333(0x19e)](this[_0x56b333(0x1a8)]),this[_0x56b333(0x1b0)][_0x56b333(0x1a7)](this[_0x56b333(0x19c)][_0x56b333(0x1ad)]),this[_0x56b333(0x19c)][_0x56b333(0x1ac)][_0x56b333(0x19f)]&&this['builder'][_0x56b333(0x19b)](this[_0x56b333(0x19c)][_0x56b333(0x1ac)][_0x56b333(0x19f)]),this['global'][_0x56b333(0x196)]=this[_0x56b333(0x1b0)]['initBuild'](),this[_0x56b333(0x1b4)][_0x56b333(0x196)]['initQuit']=this[_0x56b333(0x1b4)][_0x56b333(0x196)][_0x56b333(0x1aa)],this[_0x56b333(0x1b4)]['driver'][_0x56b333(0x1aa)]=_0x2c6cb7=>{const _0x3e579f=_0x56b333;if(_0x2c6cb7===_0x3e579f(0x1aa)&&this['global']['driver'][_0x3e579f(0x1a5)])return this[_0x3e579f(0x1b4)][_0x3e579f(0x196)][_0x3e579f(0x18f)]();_0x2c6cb7!==_0x3e579f(0x1aa)&&(this[_0x3e579f(0x1b4)][_0x3e579f(0x196)][_0x3e579f(0x1a5)]=!![]);},this[_0x56b333(0x1b4)][_0x56b333(0x196)];},this[_0x5925ad(0x1b4)][_0x5925ad(0x1b0)]=this[_0x5925ad(0x1b0)],this[_0x5925ad(0x1b4)][_0x5925ad(0x1a6)]=_seleniumWebdriver2[_0x5925ad(0x1ae)],this['global'][_0x5925ad(0x1a6)][_0x5925ad(0x197)]['prototype'][_0x5925ad(0x1b3)]=()=>{const _0x531d51=_0x5925ad;return this[_0x531d51(0x1b0)][_0x531d51(0x1b3)]();},this[_0x5925ad(0x1a8)][_0x5925ad(0x19a)]||this[_0x5925ad(0x1a8)][_0x5925ad(0x199)]?this[_0x5925ad(0x1b4)][_0x5925ad(0x1bc)]=!![]:this[_0x5925ad(0x1b4)][_0x5925ad(0x1bc)]=![],this[_0x5925ad(0x1b4)]['cleanup']=async()=>{const _0x546f9e=_0x5925ad;await this[_0x546f9e(0x1b4)][_0x546f9e(0x196)][_0x546f9e(0x1aa)]();};}async['teardown'](){const _0x47d992=a1_0x438aa8;this[_0x47d992(0x1b4)]['__webdriver'][_0x47d992(0x197)]['prototype'][_0x47d992(0x1b3)]=this[_0x47d992(0x1b0)][_0x47d992(0x1bb)];}async[a1_0x438aa8(0x1b1)](){}async[a1_0x438aa8(0x194)](_0x16231d,_0x3870ad){const _0x5ec9c6=a1_0x438aa8,{name:_0x51a2b6}=_0x16231d;_0x51a2b6===_0x5ec9c6(0x198)&&(this[_0x5ec9c6(0x1b4)][_0x5ec9c6(0x1af)]=_0x16231d[_0x5ec9c6(0x1ba)]);}}module[a1_0x438aa8(0x1a4)]=CustomEnvironment;
1
+ const a6_0x36cd67=a6_0x2805;function a6_0x1ca2(){const _0x35b50c=['242790tdxtGH','__webdriver','quitCalled','requireSeleniumWebdriver','builder','testEnvironmentOptions','exports','name','15mXeweL','withCapabilities','usingWebDriverProxy','31WZwixQ','Builder','initQuit','quit','projectConfig','requireModule','usingServer','initBuild','101899fxYPFT','setup','7076799FJttZk','capability','1139388SOErVU','proxySettings','165Gbsxqz','build','196960oHXtJV','sessionNameProvided','modifyCommand','cleanup','teardown','configuration','232cWQaaq','2848176moQLtT','test_start','driver','jest-environment-node','prototype','server','12394gZgIaV','test','proxyUrl','global','default','../../helpers/helper','__esModule'];a6_0x1ca2=function(){return _0x35b50c;};return a6_0x1ca2();}(function(_0x1d2fb1,_0x13f5d1){const _0x14b585=a6_0x2805,_0x1f6571=_0x1d2fb1();while(!![]){try{const _0x39b80e=parseInt(_0x14b585(0x18a))/0x1*(parseInt(_0x14b585(0x178))/0x2)+-parseInt(_0x14b585(0x196))/0x3+-parseInt(_0x14b585(0x16b))/0x4*(-parseInt(_0x14b585(0x187))/0x5)+parseInt(_0x14b585(0x172))/0x6+parseInt(_0x14b585(0x192))/0x7*(-parseInt(_0x14b585(0x171))/0x8)+parseInt(_0x14b585(0x194))/0x9+-parseInt(_0x14b585(0x17f))/0xa*(parseInt(_0x14b585(0x198))/0xb);if(_0x39b80e===_0x13f5d1)break;else _0x1f6571['push'](_0x1f6571['shift']());}catch(_0x2f350a){_0x1f6571['push'](_0x1f6571['shift']());}}}(a6_0x1ca2,0x6a20c));function a6_0x2805(_0x2b2e71,_0x1115c3){const _0x1ca21e=a6_0x1ca2();return a6_0x2805=function(_0x2805c5,_0x427c29){_0x2805c5=_0x2805c5-0x16a;let _0x4361ec=_0x1ca21e[_0x2805c5];return _0x4361ec;},a6_0x2805(_0x2b2e71,_0x1115c3);}const helper=require(a6_0x36cd67(0x17d)),_seleniumWebdriver=helper[a6_0x36cd67(0x182)](),SeleniumEnvironmentNode=helper[a6_0x36cd67(0x18f)](a6_0x36cd67(0x175)),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x5b3230){const _0x16c800=a6_0x36cd67;return _0x5b3230&&_0x5b3230[_0x16c800(0x17e)]?_0x5b3230:{'default':_0x5b3230};}helper[a6_0x36cd67(0x16d)]();class CustomEnvironment extends _jestEnvironmentNode2['default']{constructor(_0xdcc57){const _0x252c1b=a6_0x36cd67;super(_0xdcc57),_0xdcc57['testEnvironmentOptions']=_0xdcc57[_0x252c1b(0x18e)]?_0xdcc57['projectConfig']['testEnvironmentOptions']:_0xdcc57[_0x252c1b(0x184)],this['configuration']=_0xdcc57['testEnvironmentOptions'],this[_0x252c1b(0x195)]=_0xdcc57[_0x252c1b(0x18e)]?_0xdcc57[_0x252c1b(0x18e)][_0x252c1b(0x195)]:_0xdcc57[_0x252c1b(0x195)],this[_0x252c1b(0x183)]=new _seleniumWebdriver2[(_0x252c1b(0x17c))]['Builder'](),this['builder'][_0x252c1b(0x191)]=this[_0x252c1b(0x183)][_0x252c1b(0x16a)],this[_0x252c1b(0x183)][_0x252c1b(0x16a)]=()=>{const _0x296e6b=_0x252c1b;return this[_0x296e6b(0x183)][_0x296e6b(0x188)](this['capability']),this[_0x296e6b(0x183)][_0x296e6b(0x190)](this[_0x296e6b(0x170)][_0x296e6b(0x177)]),this['configuration']['proxySettings']['proxyUrl']&&this[_0x296e6b(0x183)][_0x296e6b(0x189)](this[_0x296e6b(0x170)][_0x296e6b(0x197)][_0x296e6b(0x17a)]),this[_0x296e6b(0x17b)][_0x296e6b(0x174)]=this[_0x296e6b(0x183)][_0x296e6b(0x191)](),this['global'][_0x296e6b(0x174)][_0x296e6b(0x18c)]=this[_0x296e6b(0x17b)]['driver'][_0x296e6b(0x18d)],this[_0x296e6b(0x17b)][_0x296e6b(0x174)][_0x296e6b(0x18d)]=_0xb803c6=>{const _0x47d760=_0x296e6b;if(_0xb803c6==='quit'&&this[_0x47d760(0x17b)][_0x47d760(0x174)][_0x47d760(0x181)])return this['global'][_0x47d760(0x174)]['initQuit']();_0xb803c6!==_0x47d760(0x18d)&&(this['global']['driver'][_0x47d760(0x181)]=!![]);},this['global'][_0x296e6b(0x174)];},this[_0x252c1b(0x17b)][_0x252c1b(0x183)]=this[_0x252c1b(0x183)],this[_0x252c1b(0x17b)][_0x252c1b(0x180)]=_seleniumWebdriver2[_0x252c1b(0x17c)],this[_0x252c1b(0x17b)][_0x252c1b(0x180)][_0x252c1b(0x18b)][_0x252c1b(0x176)][_0x252c1b(0x16a)]=()=>{const _0x4d07a0=_0x252c1b;return this[_0x4d07a0(0x183)]['build']();},this[_0x252c1b(0x195)][_0x252c1b(0x186)]||this[_0x252c1b(0x195)]['sessionName']?this[_0x252c1b(0x17b)][_0x252c1b(0x16c)]=!![]:this[_0x252c1b(0x17b)]['sessionNameProvided']=![],this[_0x252c1b(0x17b)][_0x252c1b(0x16e)]=async()=>{const _0x1adee8=_0x252c1b;await this['global'][_0x1adee8(0x174)][_0x1adee8(0x18d)]();};}async[a6_0x36cd67(0x16f)](){const _0x348df5=a6_0x36cd67;this[_0x348df5(0x17b)][_0x348df5(0x180)]['Builder']['prototype'][_0x348df5(0x16a)]=this[_0x348df5(0x183)][_0x348df5(0x191)];}async[a6_0x36cd67(0x193)](){}async['handleTestEvent'](_0x15bb4e,_0x42f294){const _0x1d65fc=a6_0x36cd67,{name:_0x329dc6}=_0x15bb4e;_0x329dc6===_0x1d65fc(0x173)&&(this[_0x1d65fc(0x17b)]['testContext']=_0x15bb4e[_0x1d65fc(0x179)]);}}module[a6_0x36cd67(0x185)]=CustomEnvironment;
@@ -1 +1 @@
1
- 'use strict';function a2_0x58b4(){const _0x1d0434=['4047837NUzohp','testEnvironmentOptions','capabilities','exports','337060UPtSKB','defineProperty','9841554TsOIeb','forEach','2ScGppM','485YjIWZk','slice','320KNqQcP','1630596LxtXdI','serial','push','runTests','1177WzjbwH','freeze','_globalConfig','166338RuaWrF','length','false','__esModule','8279180IADPGR','parallels__','22812wXKTLy','context','config','default'];a2_0x58b4=function(){return _0x1d0434;};return a2_0x58b4();}const a2_0x536326=a2_0x520f;(function(_0x441f05,_0x2dc4ab){const _0xe9940c=a2_0x520f,_0x191e8d=_0x441f05();while(!![]){try{const _0x3ea02f=parseInt(_0xe9940c(0x174))/0x1+-parseInt(_0xe9940c(0x170))/0x2*(-parseInt(_0xe9940c(0x168))/0x3)+parseInt(_0xe9940c(0x164))/0x4*(-parseInt(_0xe9940c(0x171))/0x5)+parseInt(_0xe9940c(0x16e))/0x6+parseInt(_0xe9940c(0x17f))/0x7+parseInt(_0xe9940c(0x173))/0x8*(-parseInt(_0xe9940c(0x17b))/0x9)+parseInt(_0xe9940c(0x16c))/0xa*(-parseInt(_0xe9940c(0x178))/0xb);if(_0x3ea02f===_0x2dc4ab)break;else _0x191e8d['push'](_0x191e8d['shift']());}catch(_0x2189c6){_0x191e8d['push'](_0x191e8d['shift']());}}}(a2_0x58b4,0xdcab5));const {requireModule}=require('../../helpers/helper');Object[a2_0x536326(0x16d)](exports,a2_0x536326(0x17e),{'value':!![]}),exports[a2_0x536326(0x167)]=void 0x0;function _interopRequireDefault(_0x36e9d0){const _0x2f998e=a2_0x536326;return _0x36e9d0&&_0x36e9d0[_0x2f998e(0x17e)]?_0x36e9d0:{'default':_0x36e9d0};}const JestRunner=_interopRequireDefault(requireModule('jest-runner'))[a2_0x536326(0x167)];function a2_0x520f(_0x3737bc,_0x3ac526){const _0x58b4a4=a2_0x58b4();return a2_0x520f=function(_0x520f3b,_0x65f21){_0x520f3b=_0x520f3b-0x163;let _0x1aaa9c=_0x58b4a4[_0x520f3b];return _0x1aaa9c;},a2_0x520f(_0x3737bc,_0x3ac526);}class TestRunner extends JestRunner{constructor(..._0x122397){super(..._0x122397);}['runTests'](..._0x52ddd2){const _0x48cfd7=a2_0x536326,_0x43e319=_0x52ddd2[0x0],_0x3ff56d=_0x52ddd2[_0x52ddd2[_0x48cfd7(0x17c)]-0x1],_0x184c71=_0x43e319[0x0][_0x48cfd7(0x165)]['config']['testEnvironmentOptions'][_0x48cfd7(0x16a)],_0x53e2b0=_0x43e319[0x0]['context']['config'][_0x48cfd7(0x169)][_0x48cfd7(0x163)];_0x53e2b0&&(this[_0x48cfd7(0x17a)]=Object[_0x48cfd7(0x179)]({...this[_0x48cfd7(0x17a)],'maxWorkers':_0x53e2b0*_0x184c71[_0x48cfd7(0x17c)]}));if(_0x43e319[0x0][_0x48cfd7(0x165)][_0x48cfd7(0x166)]['testEnvironmentOptions']['serial__']==_0x48cfd7(0x17d))_0x3ff56d&&(_0x3ff56d[_0x48cfd7(0x175)]=![]);const _0x2f6aba=[];for(let _0x4269fa=0x0;_0x4269fa<_0x43e319[_0x48cfd7(0x17c)];_0x4269fa++){const _0x54079e=[];_0x184c71[_0x48cfd7(0x16f)](_0x1f1b21=>{const _0x469d57=_0x48cfd7;let _0x2a21d6={..._0x43e319[_0x4269fa]};_0x2a21d6[_0x469d57(0x165)]=Object[_0x469d57(0x179)]({..._0x2a21d6['context'],'config':{..._0x2a21d6['context'][_0x469d57(0x166)],'capability':_0x1f1b21}}),_0x54079e[_0x469d57(0x176)](_0x2a21d6);}),_0x2f6aba['push'](..._0x54079e);}return super[_0x48cfd7(0x177)](_0x2f6aba,..._0x52ddd2[_0x48cfd7(0x172)](0x1));}}module[a2_0x536326(0x16b)]=TestRunner;
1
+ 'use strict';function a7_0x2d55(_0x5021a1,_0x5db26e){const _0x376bb2=a7_0x376b();return a7_0x2d55=function(_0x2d55b1,_0x4306fd){_0x2d55b1=_0x2d55b1-0x144;let _0x1eeea8=_0x376bb2[_0x2d55b1];return _0x1eeea8;},a7_0x2d55(_0x5021a1,_0x5db26e);}const a7_0xdba02f=a7_0x2d55;(function(_0x2d4b99,_0x4b173d){const _0x5b283e=a7_0x2d55,_0x4af843=_0x2d4b99();while(!![]){try{const _0x1f0c5e=parseInt(_0x5b283e(0x15b))/0x1*(parseInt(_0x5b283e(0x148))/0x2)+-parseInt(_0x5b283e(0x14c))/0x3*(-parseInt(_0x5b283e(0x155))/0x4)+parseInt(_0x5b283e(0x15c))/0x5+parseInt(_0x5b283e(0x14a))/0x6*(-parseInt(_0x5b283e(0x14e))/0x7)+parseInt(_0x5b283e(0x149))/0x8+-parseInt(_0x5b283e(0x150))/0x9+-parseInt(_0x5b283e(0x14d))/0xa;if(_0x1f0c5e===_0x4b173d)break;else _0x4af843['push'](_0x4af843['shift']());}catch(_0x441b16){_0x4af843['push'](_0x4af843['shift']());}}}(a7_0x376b,0xdac8f));const {requireModule}=require('../../helpers/helper');Object[a7_0xdba02f(0x145)](exports,a7_0xdba02f(0x154),{'value':!![]}),exports[a7_0xdba02f(0x152)]=void 0x0;function _interopRequireDefault(_0x4424b4){const _0x3cf6dd=a7_0xdba02f;return _0x4424b4&&_0x4424b4[_0x3cf6dd(0x154)]?_0x4424b4:{'default':_0x4424b4};}const JestRunner=_interopRequireDefault(requireModule(a7_0xdba02f(0x159)))[a7_0xdba02f(0x152)];class TestRunner extends JestRunner{constructor(..._0x2c7cea){super(..._0x2c7cea);}['runTests'](..._0x59726e){const _0x3b1593=a7_0xdba02f,_0x4f4aad=_0x59726e[0x0],_0x437ce1=_0x59726e[_0x59726e['length']-0x1],_0x329d90=_0x4f4aad[0x0]['context'][_0x3b1593(0x15a)]['testEnvironmentOptions']['capabilities'],_0x2fb37e=_0x4f4aad[0x0]['context'][_0x3b1593(0x15a)][_0x3b1593(0x14f)]['parallels__'];_0x2fb37e&&(this['_globalConfig']=Object[_0x3b1593(0x156)]({...this[_0x3b1593(0x15d)],'maxWorkers':_0x2fb37e*_0x329d90[_0x3b1593(0x157)]}));if(_0x4f4aad[0x0][_0x3b1593(0x14b)]['config']['testEnvironmentOptions'][_0x3b1593(0x147)]==_0x3b1593(0x146))_0x437ce1&&(_0x437ce1[_0x3b1593(0x144)]=![]);const _0x3a89b9=[];for(let _0x286c3f=0x0;_0x286c3f<_0x4f4aad[_0x3b1593(0x157)];_0x286c3f++){const _0x67801f=[];_0x329d90['forEach'](_0x138554=>{const _0x12d0c3=_0x3b1593;let _0x4082d9={..._0x4f4aad[_0x286c3f]};_0x4082d9[_0x12d0c3(0x14b)]=Object[_0x12d0c3(0x156)]({..._0x4082d9[_0x12d0c3(0x14b)],'config':{..._0x4082d9[_0x12d0c3(0x14b)][_0x12d0c3(0x15a)],'capability':_0x138554}}),_0x67801f[_0x12d0c3(0x153)](_0x4082d9);}),_0x3a89b9[_0x3b1593(0x153)](..._0x67801f);}return super[_0x3b1593(0x151)](_0x3a89b9,..._0x59726e['slice'](0x1));}}function a7_0x376b(){const _0x51ccf4=['testEnvironmentOptions','2078613DQMrov','runTests','default','push','__esModule','12nnDKgN','freeze','length','exports','jest-runner','config','2033lKwKxZ','998025swvWaK','_globalConfig','serial','defineProperty','false','serial__','298lgXTHR','12264936vjsKZc','6HenWDp','context','959382XXregc','15974490YJsVcR','1893304RCIYGx'];a7_0x376b=function(){return _0x51ccf4;};return a7_0x376b();}module[a7_0xdba02f(0x158)]=TestRunner;
@@ -1 +1 @@
1
- (function(_0x52ab2e,_0x4623a4){const _0x3b0b03=a3_0x2528,_0x7ec1f3=_0x52ab2e();while(!![]){try{const _0x2b1e4a=-parseInt(_0x3b0b03(0x1e8))/0x1+parseInt(_0x3b0b03(0x1d9))/0x2+parseInt(_0x3b0b03(0x1e5))/0x3*(-parseInt(_0x3b0b03(0x1da))/0x4)+-parseInt(_0x3b0b03(0x1e9))/0x5+-parseInt(_0x3b0b03(0x1f0))/0x6*(parseInt(_0x3b0b03(0x1e7))/0x7)+-parseInt(_0x3b0b03(0x1f1))/0x8+parseInt(_0x3b0b03(0x1dd))/0x9;if(_0x2b1e4a===_0x4623a4)break;else _0x7ec1f3['push'](_0x7ec1f3['shift']());}catch(_0x1482ba){_0x7ec1f3['push'](_0x7ec1f3['shift']());}}}(a3_0x32f2,0x7634b));const failedResults=[];function a3_0x32f2(){const _0x434261=['22979061CHVRje','replace','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','message','executeScript','\x22,\x22level\x22:\x20\x22error\x22}}','undefined','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','186pFVFvv','slice','55167onfpHe','737481NXiQsq','3318485SRSuNE','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','\x22}}','session_','name','currentTest','\x22,\x22level\x22:\x20\x22info\x22}}','294FBxcOV','3413832JcRRbD','failedExpectations','quit','getState','stringify','length','currentTestName','addReporter','680264IMNgYK','12588xvIkkB','\x20|\x20','errors'];a3_0x32f2=function(){return _0x434261;};return a3_0x32f2();}function a3_0x2528(_0x3b5d8c,_0x4c5747){const _0x32f21f=a3_0x32f2();return a3_0x2528=function(_0x25287a,_0x4a65b7){_0x25287a=_0x25287a-0x1d8;let _0x8de9aa=_0x32f21f[_0x25287a];return _0x8de9aa;},a3_0x2528(_0x3b5d8c,_0x4c5747);}function stripUnicode(_0x3ff1fa){const _0x22be50=a3_0x2528;return _0x3ff1fa[_0x22be50(0x1de)](/\\u001b\[.*?m/g,'')[_0x22be50(0x1e6)](0x1,-0x1);}async function setContext(){const _0x2182b6=a3_0x2528;if(!sessionNameProvided){let _0x20f73a=expect[_0x2182b6(0x1f4)]()[_0x2182b6(0x1f7)];await driver[_0x2182b6(0x1e1)](_0x2182b6(0x1e4)+_0x20f73a+'\x22}}');}let _0x167988=null,_0x22d8cc=![];typeof jasmine!==_0x2182b6(0x1e3)?jasmine['currentTest'][_0x2182b6(0x1f2)]&&jasmine[_0x2182b6(0x1ee)][_0x2182b6(0x1f2)]['length']>0x0?(_0x22d8cc=!![],_0x167988=stripUnicode(JSON[_0x2182b6(0x1f5)](jasmine['currentTest'][_0x2182b6(0x1f2)][0x0][_0x2182b6(0x1e0)]))):_0x167988=jasmine['currentTest']['description']:testContext[_0x2182b6(0x1dc)]&&testContext['errors'][_0x2182b6(0x1f6)]>0x0?(_0x22d8cc=!![],_0x167988=stripUnicode(JSON[_0x2182b6(0x1f5)](testContext['errors'][0x0][0x0][_0x2182b6(0x1e0)]||testContext[_0x2182b6(0x1dc)][0x0][0x0]))):_0x167988=testContext[_0x2182b6(0x1ed)],_0x22d8cc?(failedResults['push'](_0x167988),await driver[_0x2182b6(0x1e1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+_0x167988+_0x2182b6(0x1eb)),await driver[_0x2182b6(0x1e1)](_0x2182b6(0x1df)+_0x167988+_0x2182b6(0x1e2))):(await driver[_0x2182b6(0x1e1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22'+_0x167988+_0x2182b6(0x1eb)),await driver['executeScript'](_0x2182b6(0x1ea)+_0x167988+_0x2182b6(0x1ef)));}beforeAll(async()=>{const _0x3d04fa=a3_0x2528;typeof jasmine!==_0x3d04fa(0x1e3)&&jasmine['getEnv']()[_0x3d04fa(0x1d8)]({'specStarted':_0x368a61=>{const _0x433dfb=_0x3d04fa;jasmine[_0x433dfb(0x1ee)]=_0x368a61;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0x28d694=a3_0x2528;await setContext(),await driver['quit'](_0x28d694(0x1f3));}),afterAll(async()=>{const _0x32f39c=a3_0x2528;try{await driver[_0x32f39c(0x1ec)],failedResults[_0x32f39c(0x1f6)]>0x0&&await driver[_0x32f39c(0x1e1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x32f39c(0x1db))+'\x22}}'),await driver[_0x32f39c(0x1f3)]('quit');}catch(_0x336b07){}});
1
+ (function(_0x3416a1,_0x318c75){const _0x339eb3=a8_0x326c,_0x5c7e47=_0x3416a1();while(!![]){try{const _0x2839f8=-parseInt(_0x339eb3(0x1d9))/0x1+-parseInt(_0x339eb3(0x1d8))/0x2+-parseInt(_0x339eb3(0x1e2))/0x3*(-parseInt(_0x339eb3(0x1e4))/0x4)+parseInt(_0x339eb3(0x1ed))/0x5+-parseInt(_0x339eb3(0x1da))/0x6*(parseInt(_0x339eb3(0x1eb))/0x7)+-parseInt(_0x339eb3(0x1f6))/0x8*(parseInt(_0x339eb3(0x1f8))/0x9)+parseInt(_0x339eb3(0x1db))/0xa;if(_0x2839f8===_0x318c75)break;else _0x5c7e47['push'](_0x5c7e47['shift']());}catch(_0x269099){_0x5c7e47['push'](_0x5c7e47['shift']());}}}(a8_0x9efe,0x3bcaf));function a8_0x9efe(){const _0x26ee34=['currentTest','length','getEnv','errors','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','name','21zadWjm','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22','68516YowGrn','undefined','stringify','addReporter','quit','\x20|\x20','executeScript','77dabCPu','slice','1040230WiGOrw','description','failedExpectations','message','\x22,\x22level\x22:\x20\x22error\x22}}','push','\x22}}','getState','currentTestName','64oeFehE','session_','442638QnVkLX','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x22,\x22level\x22:\x20\x22info\x22}}','513398vlRCnB','174091HXvSJj','128274tbVMqD','9763770XpQYbE'];a8_0x9efe=function(){return _0x26ee34;};return a8_0x9efe();}const failedResults=[];function a8_0x326c(_0x3d0449,_0x2b8f8a){const _0x9efea6=a8_0x9efe();return a8_0x326c=function(_0x326c3f,_0x5cd089){_0x326c3f=_0x326c3f-0x1d7;let _0x942bf8=_0x9efea6[_0x326c3f];return _0x942bf8;},a8_0x326c(_0x3d0449,_0x2b8f8a);}function stripUnicode(_0x46dfd1){const _0x305cdb=a8_0x326c;return _0x46dfd1['replace'](/\\u001b\[.*?m/g,'')[_0x305cdb(0x1ec)](0x1,-0x1);}async function setContext(){const _0x230ca5=a8_0x326c;if(!sessionNameProvided){let _0x228299=expect[_0x230ca5(0x1f4)]()[_0x230ca5(0x1f5)];await driver['executeScript'](_0x230ca5(0x1f9)+_0x228299+_0x230ca5(0x1f3));}let _0x1cba31=null,_0x15ff1f=![];typeof jasmine!==_0x230ca5(0x1e5)?jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ef)]&&jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ef)]['length']>0x0?(_0x15ff1f=!![],_0x1cba31=stripUnicode(JSON[_0x230ca5(0x1e6)](jasmine['currentTest'][_0x230ca5(0x1ef)][0x0][_0x230ca5(0x1f0)]))):_0x1cba31=jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ee)]:testContext[_0x230ca5(0x1df)]&&testContext[_0x230ca5(0x1df)][_0x230ca5(0x1dd)]>0x0?(_0x15ff1f=!![],_0x1cba31=stripUnicode(JSON[_0x230ca5(0x1e6)](testContext['errors'][0x0][0x0][_0x230ca5(0x1f0)]||testContext['errors'][0x0][0x0]))):_0x1cba31=testContext[_0x230ca5(0x1e1)],_0x15ff1f?(failedResults[_0x230ca5(0x1f2)](_0x1cba31),await driver[_0x230ca5(0x1ea)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+_0x1cba31+_0x230ca5(0x1f3)),await driver[_0x230ca5(0x1ea)](_0x230ca5(0x1e0)+_0x1cba31+_0x230ca5(0x1f1))):(await driver['executeScript'](_0x230ca5(0x1e3)+_0x1cba31+_0x230ca5(0x1f3)),await driver[_0x230ca5(0x1ea)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0x1cba31+_0x230ca5(0x1d7)));}beforeAll(async()=>{const _0x36ac04=a8_0x326c;typeof jasmine!==_0x36ac04(0x1e5)&&jasmine[_0x36ac04(0x1de)]()[_0x36ac04(0x1e7)]({'specStarted':_0x1c9bb9=>{const _0x6c2d8=_0x36ac04;jasmine[_0x6c2d8(0x1dc)]=_0x1c9bb9;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0x3c0433=a8_0x326c;await setContext(),await driver[_0x3c0433(0x1e8)](_0x3c0433(0x1e8));}),afterAll(async()=>{const _0x44f5a4=a8_0x326c;try{await driver[_0x44f5a4(0x1f7)],failedResults[_0x44f5a4(0x1dd)]>0x0&&await driver['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x44f5a4(0x1e9))+_0x44f5a4(0x1f3)),await driver[_0x44f5a4(0x1e8)](_0x44f5a4(0x1e8));}catch(_0x247e5a){}});
@@ -1 +1 @@
1
- const a4_0x413fa3=a4_0x2129;(function(_0x4abd52,_0x1908dc){const _0x5673dd=a4_0x2129,_0x531a1e=_0x4abd52();while(!![]){try{const _0x32a03d=parseInt(_0x5673dd(0x1d3))/0x1+-parseInt(_0x5673dd(0x1ca))/0x2*(parseInt(_0x5673dd(0x1ce))/0x3)+-parseInt(_0x5673dd(0x1c6))/0x4*(-parseInt(_0x5673dd(0x1cd))/0x5)+parseInt(_0x5673dd(0x1d5))/0x6*(-parseInt(_0x5673dd(0x1d4))/0x7)+parseInt(_0x5673dd(0x1d6))/0x8*(parseInt(_0x5673dd(0x1d2))/0x9)+parseInt(_0x5673dd(0x1d1))/0xa+parseInt(_0x5673dd(0x1c9))/0xb*(-parseInt(_0x5673dd(0x1c7))/0xc);if(_0x32a03d===_0x1908dc)break;else _0x531a1e['push'](_0x531a1e['shift']());}catch(_0x189b6d){_0x531a1e['push'](_0x531a1e['shift']());}}}(a4_0x392f,0x7eb42));const {requireModule}=require('../../helpers/helper');require(a4_0x413fa3(0x1d7))();const __wd__=requireModule(a4_0x413fa3(0x1d0));__wd__[a4_0x413fa3(0x1cf)]=__webdriver['until'],__wd__['By']=__webdriver['By'],__wd__[a4_0x413fa3(0x1cb)][a4_0x413fa3(0x1cc)]['build']=()=>{const _0x3b6cf3=a4_0x413fa3;return builder[_0x3b6cf3(0x1c8)]();};function a4_0x2129(_0x3a8574,_0x47899d){const _0x392f8b=a4_0x392f();return a4_0x2129=function(_0x212934,_0x536231){_0x212934=_0x212934-0x1c6;let _0x5b06eb=_0x392f8b[_0x212934];return _0x5b06eb;},a4_0x2129(_0x3a8574,_0x47899d);}function a4_0x392f(){const _0x322159=['150bSYxDu','until','selenium-webdriver','3884620MTKZoo','7451487rDvqOR','626018KRVcls','126jlDydH','58308dNYxDP','8koTjdD','../../helpers/setKeepAlive','41628GNoxbo','14783364iqsxDK','build','11CpYLCt','4156tuADHn','Builder','prototype','90rAnFBu'];a4_0x392f=function(){return _0x322159;};return a4_0x392f();}
1
+ const a9_0x4564ed=a9_0x4ace;(function(_0x11bb0b,_0x4af4ce){const _0x306083=a9_0x4ace,_0x10457c=_0x11bb0b();while(!![]){try{const _0x55a6a3=-parseInt(_0x306083(0x1c8))/0x1*(-parseInt(_0x306083(0x1ca))/0x2)+-parseInt(_0x306083(0x1d3))/0x3+parseInt(_0x306083(0x1d2))/0x4*(-parseInt(_0x306083(0x1d4))/0x5)+parseInt(_0x306083(0x1d0))/0x6+-parseInt(_0x306083(0x1ce))/0x7+-parseInt(_0x306083(0x1d1))/0x8+-parseInt(_0x306083(0x1cd))/0x9*(-parseInt(_0x306083(0x1cc))/0xa);if(_0x55a6a3===_0x4af4ce)break;else _0x10457c['push'](_0x10457c['shift']());}catch(_0x375a8d){_0x10457c['push'](_0x10457c['shift']());}}}(a9_0x15bd,0x785b2));function a9_0x4ace(_0x426a4a,_0x55e878){const _0x15bdc3=a9_0x15bd();return a9_0x4ace=function(_0x4ace80,_0x99036){_0x4ace80=_0x4ace80-0x1c4;let _0x335f50=_0x15bdc3[_0x4ace80];return _0x335f50;},a9_0x4ace(_0x426a4a,_0x55e878);}const {requireModule}=require(a9_0x4564ed(0x1c9));require(a9_0x4564ed(0x1c7))();const __wd__=requireModule(a9_0x4564ed(0x1c5));function a9_0x15bd(){const _0x2dfc7b=['92912OWWugf','prototype','370TGPFDg','221868AWNRKs','2673146FwlmZF','until','1488612FGNTVJ','78528sQqfmO','144580oqzHKp','531951MAoVlk','65jQAMnh','Builder','selenium-webdriver','build','../../helpers/setKeepAlive','8YsHOdI','../../helpers/helper'];a9_0x15bd=function(){return _0x2dfc7b;};return a9_0x15bd();}__wd__[a9_0x4564ed(0x1cf)]=__webdriver[a9_0x4564ed(0x1cf)],__wd__['By']=__webdriver['By'],__wd__[a9_0x4564ed(0x1c4)][a9_0x4564ed(0x1cb)][a9_0x4564ed(0x1c6)]=()=>{const _0x3f903c=a9_0x4564ed;return builder[_0x3f903c(0x1c6)]();};
@@ -0,0 +1 @@
1
+ const a10_0x143008=a10_0x2ea2;(function(_0x328989,_0x51e487){const _0x36d550=a10_0x2ea2,_0x1fcfdb=_0x328989();while(!![]){try{const _0x306fab=-parseInt(_0x36d550(0x84))/0x1*(parseInt(_0x36d550(0x95))/0x2)+-parseInt(_0x36d550(0xa6))/0x3*(parseInt(_0x36d550(0xc9))/0x4)+parseInt(_0x36d550(0x7d))/0x5+-parseInt(_0x36d550(0xc2))/0x6+parseInt(_0x36d550(0x9a))/0x7+-parseInt(_0x36d550(0xa7))/0x8+parseInt(_0x36d550(0xa9))/0x9;if(_0x306fab===_0x51e487)break;else _0x1fcfdb['push'](_0x1fcfdb['shift']());}catch(_0x1fccb2){_0x1fcfdb['push'](_0x1fcfdb['shift']());}}}(a10_0x17de,0x3bd6e));const path=require(a10_0x143008(0x91)),{requireModule,modifyCommand}=require(a10_0x143008(0x9c));function a10_0x17de(){const _0x13233e=['4129TozOLF','run','rootHooks','call','../cucumber-js/test_old.setup.js','beforeAll','testSuitesFailed','env','builder','_configuration','__sessionNameProvided','runMocha','testsAmbiguous','path','exports','CONFIG','cucumber-js','82UENcYh','supportCodePaths','quitCalled','beforeEach','@cucumber/cucumber/lib/cli/index.js','1873830cKjVra','afterAll','../../helpers/helper','initBuild','selenium-webdriver','Builder','mochaHooks','--format','quit','capability','assign','join','24DECFYR','2915784fXsMUC','stringify','9162855iALUwv','push','_mochaOpts','platform','success','server','usingWebDriverProxy','@cucumber/cucumber/lib/cli/configuration_builder.js','then','initQuit','indexOf','resolvePaths','testSuites','handleRequires','stderr','--parallel','_argv','cwd','build','mochaOpts','mocha/lib/cli/run-helpers.js','proxySettings','proxyUrl','default','../cucumber-js/formatter/custom_formatter.js','694476yijRAv','afterEach','cucumber/lib/cli/index.js','testsFailed','withCapabilities','../mocha/bstack-reporter/customReporter.js','usingServer','231368KLWYUo','../mocha/test.setup','_framework','testsPending','357805yOLVXp','_capability','../../helpers/setKeepAlive','totalTests','mocha','testsUnknown','unshift'];a10_0x17de=function(){return _0x13233e;};return a10_0x17de();}function a10_0x2ea2(_0x226ed2,_0x4086e7){const _0x17dec6=a10_0x17de();return a10_0x2ea2=function(_0x2ea2f1,_0x3b5888){_0x2ea2f1=_0x2ea2f1-0x7c;let _0x206322=_0x17dec6[_0x2ea2f1];return _0x206322;},a10_0x2ea2(_0x226ed2,_0x4086e7);}class Launcher{constructor(_0x4c8b4d,_0xcee19a,_0x107b12=[]){const _0x1aa98a=a10_0x143008;this[_0x1aa98a(0xcb)]=_0x4c8b4d,this['_configuration']=_0xcee19a['configuration'],this[_0x1aa98a(0xab)]=_0xcee19a[_0x1aa98a(0xbc)],this[_0x1aa98a(0x7e)]=this['_configuration'][_0x1aa98a(0xa3)],global['__platform__']=this[_0x1aa98a(0x8d)][_0x1aa98a(0xac)],this['_argv']=_0x107b12,global[_0x1aa98a(0xb5)]=0x0,global[_0x1aa98a(0x80)]=0x0,global['testsPassed']=0x0,global[_0x1aa98a(0xc5)]=0x0,global[_0x1aa98a(0x7c)]=0x0,global['testsSkipped']=0x0,global[_0x1aa98a(0x8a)]=0x0,global['testsUndefined']=0x0,global[_0x1aa98a(0x82)]=0x0,global[_0x1aa98a(0x90)]=0x0;}[a10_0x143008(0x85)](){return new Promise(async(_0xd22aa4,_0x136d08)=>{const _0x36be44=a10_0x2ea2;require(_0x36be44(0x7f))();if(this[_0x36be44(0xcb)]=='mocha'){const _0x32c572=requireModule(_0x36be44(0xbd)),_0x220889=requireModule(_0x36be44(0x81));modifyCommand();const _0x335722=require(_0x36be44(0xca))[_0x36be44(0xa0)];let _0x1e60a1={'beforeAll':[_0x335722['beforeAll']],'beforeEach':[],'afterAll':[_0x335722[_0x36be44(0x9b)]],'afterEach':[_0x335722[_0x36be44(0xc3)]]};const _0x5c111f=await _0x32c572[_0x36be44(0xb6)](this[_0x36be44(0xab)]['require']);Object[_0x36be44(0xa4)](this['_mochaOpts'],_0x5c111f);this[_0x36be44(0xab)][_0x36be44(0x86)]&&(this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0x89)]&&_0x1e60a1[_0x36be44(0x89)][_0x36be44(0xaa)](...this[_0x36be44(0xab)]['rootHooks']['beforeAll']),this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0x98)]&&_0x1e60a1[_0x36be44(0x89)][_0x36be44(0xaa)](...this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0x98)]),this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0x9b)]&&_0x1e60a1['beforeAll'][_0x36be44(0xaa)](...this[_0x36be44(0xab)][_0x36be44(0x86)]['afterAll']),this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0xc3)]&&_0x1e60a1['beforeAll'][_0x36be44(0xaa)](...this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0xc3)]));const _0x2d44ac={...this[_0x36be44(0xab)],'reporter':path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc7)),'parallel':![],'rootHooks':_0x1e60a1,'isWorker':!![]};let _0x73b3c8=new _0x220889(_0x2d44ac);_0x73b3c8['prevRun']=_0x73b3c8['run'],_0x73b3c8[_0x36be44(0x85)]=function(_0x4a41c7){return _0x73b3c8['prevRun'](_0xd22aa4);};const _0x244837=requireModule(_0x36be44(0x9e));this[_0x36be44(0x8c)]=new _0x244837[(_0x36be44(0x9f))](),this[_0x36be44(0x8c)][_0x36be44(0x9d)]=this['builder'][_0x36be44(0xbb)],this[_0x36be44(0x8c)][_0x36be44(0xbb)]=()=>{const _0x445719=_0x36be44;this['builder'][_0x445719(0xc6)](this[_0x445719(0x7e)]),this['builder'][_0x445719(0xc8)](this[_0x445719(0x8d)][_0x445719(0xae)]);this[_0x445719(0x8d)][_0x445719(0xbe)][_0x445719(0xbf)]&&this['builder'][_0x445719(0xaf)](this['_configuration'][_0x445719(0xbe)][_0x445719(0xbf)]);const _0x4fac13=this[_0x445719(0x8c)][_0x445719(0x9d)]();return _0x4fac13['initQuit']=_0x4fac13['quit'],_0x4fac13[_0x445719(0xa2)]=_0x281b63=>{const _0x314c43=_0x445719;if(_0x281b63===_0x314c43(0xa2)&&_0x4fac13[_0x314c43(0x97)])return _0x4fac13[_0x314c43(0xb2)]();return _0x281b63!==_0x314c43(0xa2)&&(_0x4fac13['quitCalled']=!![]),new Promise(function(_0x432423){_0x432423();});},global['__driver']=_0x4fac13,this[_0x445719(0x7e)]['name']?global['__sessionNameProvided']=!![]:global[_0x445719(0x8e)]=![],_0x4fac13;},_0x244837[_0x36be44(0x9f)]['prototype'][_0x36be44(0xbb)]=()=>{const _0x224f1f=_0x36be44;return this[_0x224f1f(0x8c)][_0x224f1f(0xbb)]();};const _0x8d9258=_0x32c572[_0x36be44(0x8f)](_0x73b3c8,_0x2d44ac);_0x8d9258&&_0x8d9258['catch'](_0x280243=>{_0x136d08(_0x280243);});}else{if(this[_0x36be44(0xcb)]==_0x36be44(0x94)){let _0x40c9bb;try{_0x40c9bb=requireModule(_0x36be44(0x99));}catch(_0x28cd93){_0x40c9bb=requireModule(_0x36be44(0xc4));}let _0x3bb0c0=this[_0x36be44(0xb9)];const _0x51c103=_0x3bb0c0[_0x36be44(0xb3)]('cucumber-js');_0x51c103>-0x1&&_0x3bb0c0['splice'](_0x51c103,0x1);try{const _0x1e8b23=requireModule('@cucumber/cucumber/lib/api/paths.js');let _0x55d003=_0x1e8b23[_0x36be44(0xb4)];_0x1e8b23[_0x36be44(0xb4)]=async function(..._0xab7814){let {unexpandedFeaturePaths:_0x44e0cc,featurePaths:_0x2070b2,requirePaths:_0x4869bd,importPaths:_0x4eb966}=await _0x55d003(..._0xab7814);return _0x4869bd=[path['join'](__dirname,'../cucumber-js/test.setup.js'),..._0x4869bd],{'unexpandedFeaturePaths':_0x44e0cc,'featurePaths':_0x2070b2,'requirePaths':_0x4869bd,'importPaths':_0x4eb966};},_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xa1)),_0x3bb0c0['push'](path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc1)));}catch(_0x2334d5){let _0x49fc83='../cucumber-js/test.setup.js',_0x146dd8;try{_0x146dd8=requireModule(_0x36be44(0xb0))[_0x36be44(0xc0)],_0x3bb0c0['push'](_0x36be44(0xa1)),_0x3bb0c0[_0x36be44(0xaa)](path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc1)));}catch(_0x71c589){_0x146dd8=requireModule('cucumber/lib/cli/configuration_builder.js')[_0x36be44(0xc0)],_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xa1)),_0x3bb0c0['push'](path[_0x36be44(0xa5)](__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js')),_0x49fc83=_0x36be44(0x88);}let _0x5b0914=_0x146dd8['prototype'][_0x36be44(0xbb)];_0x146dd8['prototype'][_0x36be44(0xbb)]=async function(){const _0x42630a=_0x36be44;let _0x3536d2=await _0x5b0914[_0x42630a(0x87)](this);return _0x3536d2[_0x42630a(0x96)][_0x42630a(0x83)](path['join'](__dirname,_0x49fc83)),_0x3536d2;};}_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xb8)),_0x3bb0c0[_0x36be44(0xaa)](''+this['_configuration']['maxWorkers']);let _0x57683b=new _0x40c9bb[(_0x36be44(0xc0))]({'argv':_0x3bb0c0,'cwd':process[_0x36be44(0xba)](),'stdout':process['stdout'],'stderr':process[_0x36be44(0xb7)],'env':process[_0x36be44(0x8b)]});process['env'][_0x36be44(0x93)]=JSON[_0x36be44(0xa8)](this[_0x36be44(0x8d)]),_0x57683b[_0x36be44(0x85)]()[_0x36be44(0xb1)](_0x40c3be=>{const _0x243d35=_0x36be44;let _0x2c33b8={'scenarios':testSuites,'steps':totalTests,'scenariosFailed':testSuitesFailed,'stepsFailed':testsFailed,'stepsPassed':testsPassed,'stepsSkipped':testsSkipped,'stepsPending':testsPending,'stepsUndefined':testsUndefined,'stepsUnknown':testsUnknown,'stepsAmbiguous':testsAmbiguous,'processSuccess':_0x40c3be[_0x243d35(0xad)]};_0xd22aa4(_0x2c33b8);})['catch'](_0x2c02a0=>{_0x136d08(_0x2c02a0);});}}});}}module[a10_0x143008(0x92)]=Launcher;
@@ -0,0 +1 @@
1
+ 'use strict';const a11_0x226428=a11_0x2f84;(function(_0x4a1bbd,_0x5b638c){const _0x29f033=a11_0x2f84,_0x305838=_0x4a1bbd();while(!![]){try{const _0x5affdb=-parseInt(_0x29f033(0x187))/0x1+parseInt(_0x29f033(0x17e))/0x2*(-parseInt(_0x29f033(0x182))/0x3)+parseInt(_0x29f033(0x189))/0x4*(parseInt(_0x29f033(0x18c))/0x5)+-parseInt(_0x29f033(0x197))/0x6*(-parseInt(_0x29f033(0x192))/0x7)+-parseInt(_0x29f033(0x181))/0x8+parseInt(_0x29f033(0x193))/0x9+parseInt(_0x29f033(0x196))/0xa;if(_0x5affdb===_0x5b638c)break;else _0x305838['push'](_0x305838['shift']());}catch(_0x18efdd){_0x305838['push'](_0x305838['shift']());}}}(a11_0x3f8a,0xb8d02));const {requireModule}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js'),color=Base['color'],Mocha=requireModule('mocha'),{EVENT_RUN_BEGIN,EVENT_RUN_END,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_TEST_BEGIN,EVENT_TEST_PENDING,EVENT_TEST_END}=Mocha['Runner'][a11_0x226428(0x171)];function a11_0x3f8a(){const _0x1cb1b1=['32319TBAkxc','1588590dYzXqS','_indents','results','9192630cTMANV','552Ncitbr','green','speed','increaseIndent','call','constants','__platform__','duration','bright\x20yellow','light','passed','\x20%s','forEach','%s\x20-\x20%s','consoleLog','push','fail','once','82dhZJTV','title','error','4544688DJGpnN','23610DrTnxJ','symbols','\x20\x20\x20\x20','COMPLETED','RUNNING','958352hmGFsY','state','334020ZKfzKv','decreaseIndent','pass','65TqZBdM','failCount','indent','parent','exports','fast'];a11_0x3f8a=function(){return _0x1cb1b1;};return a11_0x3f8a();}class MyReporter{constructor(_0x46b7ae,_0x5ab029){const _0x3e6213=a11_0x226428;Base[_0x3e6213(0x170)](this,_0x46b7ae,_0x5ab029),this['_indents']=0x0,this[_0x3e6213(0x18d)]=0x0;const _0x3d3524=_0x46b7ae['stats'];this[_0x3e6213(0x195)]=[],this['suiteCount']=0x0,_0x46b7ae[_0x3e6213(0x17d)](EVENT_RUN_BEGIN,()=>{const _0x4c1ff4=_0x3e6213;Base[_0x4c1ff4(0x17a)]();})['on'](EVENT_SUITE_BEGIN,_0x40807e=>{const _0x52e10d=_0x3e6213;if(_0x40807e[_0x52e10d(0x17f)]=='')return;this[_0x52e10d(0x16f)](),Base[_0x52e10d(0x17a)](this['indent']()+color(_0x52e10d(0x198),'%s\x20')+color('light',_0x52e10d(0x179)),_0x52e10d(0x186),_0x40807e[_0x52e10d(0x17f)],global[_0x52e10d(0x172)]),this[_0x52e10d(0x195)]=[];})['on'](EVENT_SUITE_END,_0x476278=>{const _0xa4ba7b=_0x3e6213;if(++this['suiteCount']%0x2==0x0)return;Base['consoleLog'](),Base[_0xa4ba7b(0x17a)](this[_0xa4ba7b(0x18e)]()+color(_0xa4ba7b(0x174),'%s\x20')+color('light',_0xa4ba7b(0x179)),_0xa4ba7b(0x185),_0x476278[_0xa4ba7b(0x17f)],global[_0xa4ba7b(0x172)]),this['results'][_0xa4ba7b(0x178)](_0x53e210=>{const _0x470621=_0xa4ba7b;if(_0x53e210['state']===_0x470621(0x176)){var _0x1c0598;_0x53e210[_0x470621(0x16e)]===_0x470621(0x191)?(_0x1c0598=indent()+color('checkmark','\x20\x20'+Base[_0x470621(0x183)]['ok'])+color(_0x470621(0x18b),_0x470621(0x177)),Base['consoleLog'](_0x1c0598,_0x53e210[_0x470621(0x17f)])):(_0x1c0598=this[_0x470621(0x18e)]()+color('checkmark','\x20\x20'+Base['symbols']['ok'])+color(_0x470621(0x18b),_0x470621(0x177))+color(_0x53e210[_0x470621(0x16e)],'\x20(%dms)'),Base[_0x470621(0x17a)](_0x1c0598,_0x53e210['title'],_0x53e210[_0x470621(0x173)]));}else Base[_0x470621(0x17a)](this[_0x470621(0x18e)]()+color(_0x470621(0x17c),'\x20\x20%d)\x20%s'),++this[_0x470621(0x18d)],_0x53e210[_0x470621(0x17f)]),this[_0x470621(0x16f)](),Base[_0x470621(0x17a)](this[_0x470621(0x18e)]()+_0x470621(0x184)+color(_0x470621(0x175),'%s'),_0x53e210[_0x470621(0x180)]),this[_0x470621(0x18a)]();}),this[_0xa4ba7b(0x18a)]();})['on'](EVENT_TEST_PASS,_0x200d8e=>{const _0x43aebd=_0x3e6213;this[_0x43aebd(0x195)][_0x43aebd(0x17b)]({'speed':_0x200d8e[_0x43aebd(0x16e)],'suite':_0x200d8e[_0x43aebd(0x18f)]['title'],'title':_0x200d8e[_0x43aebd(0x17f)],'duration':_0x200d8e[_0x43aebd(0x173)],'state':_0x200d8e[_0x43aebd(0x188)]});})['on'](EVENT_TEST_FAIL,(_0x2513fe,_0x13dde9)=>{const _0xa30992=_0x3e6213;this['results'][_0xa30992(0x17b)]({'title':_0x2513fe[_0xa30992(0x17f)],'suite':_0x2513fe[_0xa30992(0x18f)]['title'],'state':_0x2513fe[_0xa30992(0x188)],'error':_0x13dde9});})['on'](EVENT_TEST_PENDING,_0x2518a8=>{const _0x2e0e76=_0x3e6213;this[_0x2e0e76(0x195)][_0x2e0e76(0x17b)]({'title':_0x2518a8[_0x2e0e76(0x17f)],'suite':_0x2518a8[_0x2e0e76(0x18f)][_0x2e0e76(0x17f)],'state':_0x2518a8[_0x2e0e76(0x188)]});})['on'](EVENT_TEST_BEGIN,()=>{})['on'](EVENT_TEST_END,()=>{})['once'](EVENT_RUN_END,()=>{});}[a11_0x226428(0x18e)](){const _0x35e24d=a11_0x226428;return Array(this[_0x35e24d(0x194)])['join']('\x20\x20');}[a11_0x226428(0x16f)](){const _0x19a253=a11_0x226428;this[_0x19a253(0x194)]++;}[a11_0x226428(0x18a)](){this['_indents']--;}['done'](_0x1b6772,_0x9bd0e3){_0x9bd0e3({'failureCount':_0x1b6772,'results':this['results']});}}function a11_0x2f84(_0x189fd6,_0x40a7f7){const _0x3f8ad6=a11_0x3f8a();return a11_0x2f84=function(_0x2f8455,_0x4ec374){_0x2f8455=_0x2f8455-0x16e;let _0x2c50b1=_0x3f8ad6[_0x2f8455];return _0x2c50b1;},a11_0x2f84(_0x189fd6,_0x40a7f7);}module[a11_0x226428(0x190)]=MyReporter;
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a12_0x21a6db=a12_0x588e;(function(_0x170356,_0x1647dc){const _0x55f62d=a12_0x588e,_0x257250=_0x170356();while(!![]){try{const _0x33acef=-parseInt(_0x55f62d(0x222))/0x1+parseInt(_0x55f62d(0x20b))/0x2+-parseInt(_0x55f62d(0x20a))/0x3+-parseInt(_0x55f62d(0x1fe))/0x4*(-parseInt(_0x55f62d(0x1f9))/0x5)+parseInt(_0x55f62d(0x21a))/0x6*(parseInt(_0x55f62d(0x21c))/0x7)+parseInt(_0x55f62d(0x200))/0x8+parseInt(_0x55f62d(0x1f5))/0x9*(-parseInt(_0x55f62d(0x209))/0xa);if(_0x33acef===_0x1647dc)break;else _0x257250['push'](_0x257250['shift']());}catch(_0x2cdee8){_0x257250['push'](_0x257250['shift']());}}}(a12_0x5b69,0x50f14));const chalk=require(a12_0x21a6db(0x220)),logger=require(a12_0x21a6db(0x20c))[a12_0x21a6db(0x1fa)],{default:BrowserStackSetup}=require(a12_0x21a6db(0x212)),helper=require('../../helpers/helper'),constants=require(a12_0x21a6db(0x223)),{parallelTestRun}=require(a12_0x21a6db(0x201)),{requireModule}=require('../../helpers/helper');;const collectFiles=requireModule(a12_0x21a6db(0x21d));function getStats(_0x534588){const _0xb2bf77=a12_0x21a6db;let _0x5f2cf6=Object['keys'](_0x534588),_0x45deda=0x0,_0x2bea6e=0x0,_0x3182ed=0x0,_0x10828e=0x0,_0xd773fa=new Set();return _0x5f2cf6[_0xb2bf77(0x21f)](_0x2b1e73=>{const _0x4d1fa2=_0xb2bf77;_0x534588[_0x2b1e73][_0x4d1fa2(0x20f)]['forEach'](_0x4f60a3=>{const _0x595f09=_0x4d1fa2;_0xd773fa['add'](_0x4f60a3['suite']),_0x45deda++;switch(_0x4f60a3[_0x595f09(0x21b)]){case _0x595f09(0x203):_0x3182ed++;break;case _0x595f09(0x1ff):_0x2bea6e++;break;default:_0x10828e++;}});}),{'testSuites':_0xd773fa[_0xb2bf77(0x213)],'platforms':_0x5f2cf6,'totalTests':_0x45deda,'testsFailed':_0x2bea6e,'testsPassed':_0x3182ed,'testsPending':_0x10828e};}function printStats(_0x273e81){const _0x3311ae=a12_0x21a6db,{testSuites:_0x1905c6,platforms:_0xe7dc6a,totalTests:_0x18020e,testsFailed:_0xb6d790,testsPassed:_0x5bffb9,testsPending:_0x4179ad}=getStats(_0x273e81);if(_0xb6d790>0x0)process[_0x3311ae(0x1fd)]=Math[_0x3311ae(0x1fc)](_0xb6d790,0xff);const _0x2a57b1=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x216))+_0xe7dc6a[_0x3311ae(0x206)]),_0x29fe00=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x1f8))+_0x1905c6),_0x114d80=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x20e))+(_0xb6d790>0x0?chalk['bold'][_0x3311ae(0x218)](_0xb6d790+_0x3311ae(0x215))+',\x20':'')+(_0x4179ad>0x0?chalk['bold'][_0x3311ae(0x207)](_0x4179ad+_0x3311ae(0x208))+',\x20':'')+(_0x5bffb9>0x0?chalk[_0x3311ae(0x221)][_0x3311ae(0x1f7)](_0x5bffb9+_0x3311ae(0x1f4))+',\x20':''))+_0x18020e+_0x3311ae(0x204);console[_0x3311ae(0x217)](_0x3311ae(0x214)+_0x2a57b1+'\x0a'+_0x29fe00+'\x0a'+_0x114d80);}function a12_0x588e(_0x38c053,_0x1666df){const _0x5b69fc=a12_0x5b69();return a12_0x588e=function(_0x588e2c,_0x37a038){_0x588e2c=_0x588e2c-0x1f4;let _0x101ba3=_0x5b69fc[_0x588e2c];return _0x101ba3;},a12_0x588e(_0x38c053,_0x1666df);}function a12_0x5b69(){const _0xf80691=['failed','2233008TFIEDd','../test-runner','push','passed','\x20total','getPlatformName','length','yellow','\x20skipped','540wKzzYi','1913034QWTGOX','1123614GmWvDd','../../helpers/logger','config','Tests:\x20\x20\x20\x20\x20\x20\x20','results','test','useW3C','../../helpers/BrowserStackSetup','size','\x0a\x0a\x0a','\x20failed','Total\x20Platforms:\x20','log','red','proxySettings','162gAVZiy','state','152824mgnAOO','mocha/lib/cli/collect-files.js','exports','forEach','chalk','bold','215552ksqhFn','../utils/constants','\x20passed','68598UyYNgX','platforms','green','Total\x20Suites:\x20','829805gODPXc','winstonLogger','parallelsPerPlatform','min','exitCode','4zKjUjb'];a12_0x5b69=function(){return _0xf80691;};return a12_0x5b69();}function run(_0xd8e1be,_0x2084be){const _0x4af625=a12_0x21a6db,_0x588644=new BrowserStackSetup(),_0x33a567=[],_0xefcd8d=[];if(!_0x588644[_0x4af625(0x20d)])return;const _0x20291c=_0x588644[_0x4af625(0x20d)][_0x4af625(0x1f6)][_0x4af625(0x206)]*_0x588644[_0x4af625(0x20d)][_0x4af625(0x1fb)],{extension:extension=['js','cjs','mjs'],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4af625(0x210)]}=_0xd8e1be,_0x2d2e4c={..._0xd8e1be,'rootHooks':null},_0x361917=collectFiles({'ignore':ignore,'extension':extension,'file':file,'recursive':recursive,'sort':sort,'spec':spec});let _0x370d4d=helper[_0x4af625(0x211)](_0x588644[_0x4af625(0x20d)]);_0x588644[_0x4af625(0x20d)][_0x4af625(0x1f6)][_0x4af625(0x21f)]((_0x852e6b,_0x313e30)=>{const _0x54fdcb=_0x4af625;if(_0x370d4d)_0xefcd8d[_0x54fdcb(0x202)](helper['modifyBrowserStackW3CCaps'](_0x588644['config'],_0x313e30));else _0xefcd8d['push'](helper['modifyBrowserStackCaps'](_0x588644[_0x54fdcb(0x20d)],_0x313e30));}),_0x361917['forEach'](_0x8fc958=>{const _0x59cab3=_0x4af625,_0x3552ce=[];_0xefcd8d[_0x59cab3(0x21f)](_0x95ce45=>{const _0x1b5c5e=_0x59cab3;_0x3552ce[_0x1b5c5e(0x202)]({'mochaOpts':{..._0x2d2e4c,'spec':[_0x8fc958]},'configuration':{'server':constants['hubUrl'],'capability':_0x95ce45,'proxySettings':_0x588644[_0x1b5c5e(0x20d)][_0x1b5c5e(0x219)],'platform':helper[_0x1b5c5e(0x205)](_0x95ce45)}});}),_0x33a567['push'](..._0x3552ce);}),parallelTestRun(_0x33a567,_0x20291c)['then'](_0x43361b=>{printStats(_0x43361b);});}module[a12_0x21a6db(0x21e)]=run;
@@ -0,0 +1 @@
1
+ (function(_0x31f162,_0x295c1d){const _0x256edc=a13_0x1b86,_0x32e68f=_0x31f162();while(!![]){try{const _0x37fb53=parseInt(_0x256edc(0x15f))/0x1+-parseInt(_0x256edc(0x169))/0x2*(-parseInt(_0x256edc(0x17c))/0x3)+-parseInt(_0x256edc(0x180))/0x4*(-parseInt(_0x256edc(0x164))/0x5)+parseInt(_0x256edc(0x17d))/0x6*(-parseInt(_0x256edc(0x17f))/0x7)+parseInt(_0x256edc(0x15d))/0x8+-parseInt(_0x256edc(0x16b))/0x9+parseInt(_0x256edc(0x162))/0xa*(-parseInt(_0x256edc(0x171))/0xb);if(_0x37fb53===_0x295c1d)break;else _0x32e68f['push'](_0x32e68f['shift']());}catch(_0x92e518){_0x32e68f['push'](_0x32e68f['shift']());}}}(a13_0x5878,0xc8c2f),exports['mochaHooks']={'beforeAll'(){const _0x496a27=a13_0x1b86;global[_0x496a27(0x16e)]=[];},'afterEach'(_0x27be17){const _0x5ae935=a13_0x1b86;this[_0x5ae935(0x17a)](0x2710);const _0x6f0430=async(_0x33faf9,_0x595578)=>{const _0xe7a348=_0x5ae935;await global[_0xe7a348(0x166)][_0xe7a348(0x163)](_0xe7a348(0x173)+_0x33faf9+_0xe7a348(0x176)+_0x595578+_0xe7a348(0x16d));};new Promise(async _0x5adac0=>{const _0x1a6c6f=_0x5ae935;try{!global[_0x1a6c6f(0x170)]&&await global[_0x1a6c6f(0x166)]['executeScript'](_0x1a6c6f(0x161)+this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x167)]()[_0x1a6c6f(0x17b)](_0x1a6c6f(0x17e))+'\x22}}');const _0x4b5418=this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x181)]!=='passed';_0x4b5418?(global[_0x1a6c6f(0x16e)]['push'](this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x177)][_0x1a6c6f(0x183)][_0x1a6c6f(0x165)][_0x1a6c6f(0x15e)]),await _0x6f0430(JSON[_0x1a6c6f(0x175)](_0x1a6c6f(0x172)+this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x177)]['test'][_0x1a6c6f(0x165)][_0x1a6c6f(0x15e)]),_0x1a6c6f(0x168))):await _0x6f0430(JSON['stringify'](_0x1a6c6f(0x178)),_0x1a6c6f(0x179));}catch(_0x40125c){}try{await global[_0x1a6c6f(0x166)][_0x1a6c6f(0x182)](_0x1a6c6f(0x182));}catch(_0x192eba){}_0x5adac0();})[_0x5ae935(0x160)](()=>_0x27be17());},'afterAll'(_0x28e91c){const _0x5b7d12=a13_0x1b86;this['timeout'](0x2710),new Promise(async _0x34b5c0=>{const _0x3fbcfb=a13_0x1b86;let _0x594212=![];try{await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x16f)],_0x594212=!![],global[_0x3fbcfb(0x16e)][_0x3fbcfb(0x174)]>0x0?await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x163)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20'+JSON['stringify'](global['__error_messages__'][_0x3fbcfb(0x17b)]('\x20|\x20'))+'}}'):await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x163)](_0x3fbcfb(0x16c));}catch(_0x469d45){}if(_0x594212)try{await global['__driver']['quit'](_0x3fbcfb(0x182));}catch(_0x1972e3){}_0x34b5c0();})[_0x5b7d12(0x160)](()=>_0x28e91c());}});function a13_0x1b86(_0x5ceb45,_0x48e17b){const _0x587897=a13_0x5878();return a13_0x1b86=function(_0x1b8667,_0x229f77){_0x1b8667=_0x1b8667-0x15d;let _0x4d873e=_0x587897[_0x1b8667];return _0x4d873e;},a13_0x1b86(_0x5ceb45,_0x48e17b);}function a13_0x5878(){const _0x59ad26=['join','12093dOfJFN','2735046UXWuof','\x20-\x20','7MDUfWr','548ChKQom','state','quit','test','1804864JYZwhO','message','1319621hwLzwD','then','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','20nXiacN','executeScript','38805PZvcSX','err','__driver','titlePath','error','134AjeqlY','currentTest','13531491qZNjbx','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','\x22}}','__error_messages__','session_','__sessionNameProvided','532972RUTBTu','Failed:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','length','stringify',',\x22level\x22:\x20\x22','ctx','Passed','info','timeout'];a13_0x5878=function(){return _0x59ad26;};return a13_0x5878();}
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x52a6d0=a5_0xce1f;function a5_0xce1f(_0x376250,_0x29387e){const _0xea79cf=a5_0xea79();return a5_0xce1f=function(_0xce1f9b,_0x4f5e05){_0xce1f9b=_0xce1f9b-0xe2;let _0x5d3120=_0xea79cf[_0xce1f9b];return _0x5d3120;},a5_0xce1f(_0x376250,_0x29387e);}(function(_0x46893b,_0x5338a5){const _0x3180e0=a5_0xce1f,_0xd7b0e5=_0x46893b();while(!![]){try{const _0x350ffb=parseInt(_0x3180e0(0xf1))/0x1*(parseInt(_0x3180e0(0xf5))/0x2)+-parseInt(_0x3180e0(0xe2))/0x3*(parseInt(_0x3180e0(0xf4))/0x4)+parseInt(_0x3180e0(0xf6))/0x5+parseInt(_0x3180e0(0xe9))/0x6+parseInt(_0x3180e0(0xfa))/0x7*(-parseInt(_0x3180e0(0xeb))/0x8)+parseInt(_0x3180e0(0xe7))/0x9+-parseInt(_0x3180e0(0xe8))/0xa;if(_0x350ffb===_0x5338a5)break;else _0xd7b0e5['push'](_0xd7b0e5['shift']());}catch(_0x5e966b){_0xd7b0e5['push'](_0xd7b0e5['shift']());}}}(a5_0xea79,0xba536));const yargs=require(a5_0x52a6d0(0xff)),Constants=require('./utils/constants'),logger=require(a5_0x52a6d0(0xf3))[a5_0x52a6d0(0xfe)],argv=yargs['usage'](a5_0x52a6d0(0xe4))[a5_0x52a6d0(0xf7)]('v',a5_0x52a6d0(0xe3))[a5_0x52a6d0(0xe6)]('v')['alias']('h','help')['help'](a5_0x52a6d0(0xee))['showHelpOnFail'](![],Constants[a5_0x52a6d0(0xfb)][a5_0x52a6d0(0xf8)])[a5_0x52a6d0(0xe5)](a5_0x52a6d0(0xfd),Constants[a5_0x52a6d0(0xec)][a5_0x52a6d0(0xfc)],function(_0x3d70a1){const _0x322cdf=a5_0x52a6d0,_0x530acb=process[_0x322cdf(0xef)]['slice'](0x2);return require(_0x322cdf(0xed))(_0x3d70a1[_0x322cdf(0xef)],_0x530acb);})[a5_0x52a6d0(0xe5)](a5_0x52a6d0(0xf2),Constants[a5_0x52a6d0(0xf0)][a5_0x52a6d0(0xfc)],function(_0x1a8623){const _0xb374b1=a5_0x52a6d0;logger[_0xb374b1(0xea)](_0xb374b1(0xf9));})['wrap'](null)[a5_0x52a6d0(0xef)];function a5_0xea79(){const _0x6d8dfd=['3pbMCAX','version','usage:\x20$0\x20<command>','command','describe','8448885XElnoU','19427380WYTpRs','6489204VNyGJc','info','6536UoxxVi','JEST','./jest/command','help','argv','MOCHA','1cCbCme','mocha','../helpers/logger','1911104lyCoDi','1504238lhIKxO','6880815nKZdJI','alias','HELP','Coming\x20soon\x20🔥.','8267YrBYOS','VERSION','INFO','jest','winstonLogger','yargs'];a5_0xea79=function(){return _0x6d8dfd;};return a5_0xea79();}
2
+ 'use strict';const a14_0x1c1c88=a14_0x4f67;function a14_0x215c(){const _0x178c29=['1932198diRFNw','JEST','--package','312256bECglz','CUCUMBER','showHelpOnFail','--no-config','alias','version','--opts','18DIDBbM','inspect','./cucumber-js/command','INFO','./mocha/command','49158pTzlrV','mocha','440vDzgyD','./utils/constants','MOCHA','42HAUGBN','winstonLogger','usage','--no-package','../helpers/logger','25818089zyVCKY','argv','1920aJoCay','includes','16723qbuQkW','482599kFCFqx','mocha/lib/cli/run.js','push','yargs','command','--config','handler','wrap','Parsing\x20command\x20line\x20arguements','slice','jest','606450SkIIFP','debug','usage:\x20$0\x20<command>','VERSION','describe','help'];a14_0x215c=function(){return _0x178c29;};return a14_0x215c();}function a14_0x4f67(_0x1b145d,_0x5c3e9e){const _0x215cf0=a14_0x215c();return a14_0x4f67=function(_0x4f67c2,_0x29dd1f){_0x4f67c2=_0x4f67c2-0xd6;let _0x2a729e=_0x215cf0[_0x4f67c2];return _0x2a729e;},a14_0x4f67(_0x1b145d,_0x5c3e9e);}(function(_0x1007d2,_0xaa7ef2){const _0x12d6fd=a14_0x4f67,_0x3957ba=_0x1007d2();while(!![]){try{const _0x553e24=-parseInt(_0x12d6fd(0xf4))/0x1+-parseInt(_0x12d6fd(0xd6))/0x2+parseInt(_0x12d6fd(0xea))/0x3*(parseInt(_0x12d6fd(0xd9))/0x4)+-parseInt(_0x12d6fd(0xe7))/0x5*(parseInt(_0x12d6fd(0xe5))/0x6)+-parseInt(_0x12d6fd(0xf3))/0x7*(parseInt(_0x12d6fd(0xf1))/0x8)+-parseInt(_0x12d6fd(0xe0))/0x9*(parseInt(_0x12d6fd(0xff))/0xa)+parseInt(_0x12d6fd(0xef))/0xb;if(_0x553e24===_0xaa7ef2)break;else _0x3957ba['push'](_0x3957ba['shift']());}catch(_0x5cd7cb){_0x3957ba['push'](_0x3957ba['shift']());}}}(a14_0x215c,0x8c8af));const {requireModule}=require('../helpers/helper');if(process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)]('mocha')){if(!process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xdf)))process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf6)]('--no-opts');if(!process['argv'][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xf9)))process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf6)](a14_0x1c1c88(0xdc));if(!process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xd8)))process['argv'][a14_0x1c1c88(0xf6)](a14_0x1c1c88(0xed));}const yargs=require(a14_0x1c1c88(0xf7)),Constants=require(a14_0x1c1c88(0xe8)),logger=require(a14_0x1c1c88(0xee))[a14_0x1c1c88(0xeb)],_=yargs[a14_0x1c1c88(0xec)](a14_0x1c1c88(0x101))[a14_0x1c1c88(0xdd)]('v',a14_0x1c1c88(0xde))[a14_0x1c1c88(0x103)]('v')[a14_0x1c1c88(0xdd)]('h','help')['help'](a14_0x1c1c88(0x104))[a14_0x1c1c88(0xdb)](![],Constants[a14_0x1c1c88(0x102)]['HELP'])['command'](a14_0x1c1c88(0xfe),Constants[a14_0x1c1c88(0xd7)][a14_0x1c1c88(0xe3)],function(_0x1b4b3d){const _0x1c0100=a14_0x1c1c88,_0x568103=process['argv'][_0x1c0100(0xfd)](0x2);return require('./jest/command')(_0x1b4b3d[_0x1c0100(0xf0)],_0x568103);})[a14_0x1c1c88(0xf8)](a14_0x1c1c88(0xe6),Constants[a14_0x1c1c88(0xe9)][a14_0x1c1c88(0xe3)],_0x51d951=>{const _0x239935=a14_0x1c1c88;logger[_0x239935(0x100)](_0x239935(0xfc));const _0x2da441=requireModule(_0x239935(0xf5));delete _0x2da441[_0x239935(0xfa)],_0x2da441[_0x239935(0xf8)]=['$0\x20mocha\x20[spec..]',_0x239935(0xe1)],_0x2da441['handler']=function(_0x2908ba){const _0x4f6ed3=_0x239935;return require(_0x4f6ed3(0xe4))(_0x2908ba);},require(_0x239935(0xf7))[_0x239935(0xf8)](_0x2da441);})[a14_0x1c1c88(0xf8)]('cucumber-js',Constants[a14_0x1c1c88(0xda)][a14_0x1c1c88(0xe3)],function(_0x154b24){const _0x11d41c=a14_0x1c1c88,_0x43769=process['argv']['slice'](0x2);return require(_0x11d41c(0xe2))(_0x154b24['argv'],_0x43769);})[a14_0x1c1c88(0xfb)](null)[a14_0x1c1c88(0xf0)];
@@ -0,0 +1 @@
1
+ function a15_0x1c95(){const _0x435fb7=['test-file-success','then','getStderr','36wYaccN','2120016dOQpnJ','Worker','85604uPmyzP','429340IpAVSL','cucumberWorker','all','failureCount','pipe','236228cUatRS','parallelTestRun','results','getStdout','stderr','1731264vvWToz','jest-worker','107044CJcGhW','end','stdout','map','emit','46880PucmyP','20NMKBDS','length','9ZnOVfB','worker','test-file-failure','platform-run-failure','Workers\x20failed\x20to\x20exit\x20gracefully','test-file-start','json','platform-run-success','throat','emittery','parallelCucumberRun'];a15_0x1c95=function(){return _0x435fb7;};return a15_0x1c95();}const a15_0x32f788=a15_0x1674;(function(_0x5e60b8,_0x2b2308){const _0x5752eb=a15_0x1674,_0x417fba=_0x5e60b8();while(!![]){try{const _0x288a4b=parseInt(_0x5752eb(0x1ed))/0x1+-parseInt(_0x5752eb(0x1e7))/0x2*(-parseInt(_0x5752eb(0x1d6))/0x3)+parseInt(_0x5752eb(0x1d4))/0x4*(parseInt(_0x5752eb(0x1e8))/0x5)+-parseInt(_0x5752eb(0x1e5))/0x6+-parseInt(_0x5752eb(0x1f4))/0x7+-parseInt(_0x5752eb(0x1f2))/0x8+parseInt(_0x5752eb(0x1e4))/0x9*(parseInt(_0x5752eb(0x1d3))/0xa);if(_0x288a4b===_0x2b2308)break;else _0x417fba['push'](_0x417fba['shift']());}catch(_0x44834f){_0x417fba['push'](_0x417fba['shift']());}}}(a15_0x1c95,0x3796a));const Worker=require(a15_0x32f788(0x1f3))[a15_0x32f788(0x1e6)],Emittery=require(a15_0x32f788(0x1df)),throat=require(a15_0x32f788(0x1de));function a15_0x1674(_0x2c7dad,_0x3af114){const _0x1c9509=a15_0x1c95();return a15_0x1674=function(_0x16744a,_0x5a407a){_0x16744a=_0x16744a-0x1d3;let _0x2feaab=_0x1c9509[_0x16744a];return _0x2feaab;},a15_0x1674(_0x2c7dad,_0x3af114);}exports[a15_0x32f788(0x1ee)]=(_0x53bd34,_0x331ced)=>new Promise(_0x489b25=>{const _0x4ac5bf=a15_0x32f788,_0x3a1517={},_0x329aaa=new Worker(require['resolve']('./testWorker.js',{'exposedMethods':[_0x4ac5bf(0x1d7)],'forkOptions':{'serialization':_0x4ac5bf(0x1dc),'stdio':'pipe'},'numWorkers':_0x331ced})),_0x41592a=new Emittery();_0x41592a['on'](_0x4ac5bf(0x1e1),_0x505fc=>{const _0x4a8d77=_0x4ac5bf;_0x3a1517[_0x505fc[0x0]]?(_0x3a1517[_0x505fc[0x0]][_0x4a8d77(0x1eb)]=_0x3a1517[_0x505fc[0x0]]['failureCount']+_0x505fc[0x1]['failureCount'],_0x3a1517[_0x505fc[0x0]]['results']=[..._0x3a1517[_0x505fc[0x0]][_0x4a8d77(0x1ef)],..._0x505fc[0x1]['results']]):_0x3a1517[_0x505fc[0x0]]={'failureCount':_0x505fc[0x1][_0x4a8d77(0x1eb)],'results':[..._0x505fc[0x1][_0x4a8d77(0x1ef)]]};}),_0x41592a['on'](_0x4ac5bf(0x1d8),_0xe38918=>console['log'](_0xe38918[0x1]));if(_0x329aaa[_0x4ac5bf(0x1f0)]())_0x329aaa[_0x4ac5bf(0x1f0)]()[_0x4ac5bf(0x1ec)](process['stdout']);if(_0x329aaa[_0x4ac5bf(0x1e3)]())_0x329aaa[_0x4ac5bf(0x1e3)]()[_0x4ac5bf(0x1ec)](process[_0x4ac5bf(0x1f1)]);const _0x57618f=async()=>{const _0x53a4b4=_0x4ac5bf,{forceExited:_0x88a69f}=await _0x329aaa[_0x53a4b4(0x1f5)]();_0x88a69f&&console['error']('Workers\x20failed\x20to\x20exit\x20gracefully'),_0x489b25(_0x3a1517);},_0x268ff7=throat(_0x331ced),_0xba0258=_0x26146f=>_0x268ff7(async()=>{const _0x33e43d=_0x4ac5bf;return await _0x41592a[_0x33e43d(0x1f8)](_0x33e43d(0x1db),_0x26146f),_0x329aaa[_0x33e43d(0x1d7)](_0x26146f);});Promise[_0x4ac5bf(0x1ea)](_0x53bd34[_0x4ac5bf(0x1f7)](_0x2059de=>_0xba0258(_0x2059de)[_0x4ac5bf(0x1e2)](_0x54a521=>_0x41592a[_0x4ac5bf(0x1f8)](_0x4ac5bf(0x1e1),[_0x2059de['configuration']['platform'],_0x54a521]),_0x1f9043=>_0x41592a[_0x4ac5bf(0x1f8)](_0x4ac5bf(0x1d8),[_0x2059de,_0x1f9043]))))[_0x4ac5bf(0x1e2)](_0x57618f,_0x57618f);}),exports[a15_0x32f788(0x1e0)]=(_0xdf4654,_0x9dfb89,_0x1856f0)=>{return new Promise(_0x26d99c=>{const _0x3214a8=a15_0x1674,_0x3cd9ba=[],_0x213680=new Worker(require['resolve']('./testWorker.js',{'exposedMethods':['cucumberWorker'],'forkOptions':{'serialization':_0x3214a8(0x1dc),'stdio':_0x3214a8(0x1ec)},'numWorkers':_0xdf4654[_0x3214a8(0x1d5)]})),_0x37c8d6=new Emittery();_0x37c8d6['on'](_0x3214a8(0x1dd),_0x29f04=>{_0x3cd9ba['push']([_0x29f04[0x0],_0x29f04[0x1]]);}),_0x37c8d6['on'](_0x3214a8(0x1d9),_0xe7d8dd=>console['log'](_0xe7d8dd[0x1]));if(_0x213680[_0x3214a8(0x1f0)]())_0x213680['getStdout']()[_0x3214a8(0x1ec)](process[_0x3214a8(0x1f6)]);if(_0x213680['getStderr']())_0x213680[_0x3214a8(0x1e3)]()['pipe'](process[_0x3214a8(0x1f1)]);const _0x317877=async()=>{const _0x41a1bf=_0x3214a8,{forceExited:_0x45b5d3}=await _0x213680[_0x41a1bf(0x1f5)]();_0x45b5d3&&console['error'](_0x41a1bf(0x1da)),_0x26d99c(_0x3cd9ba);},_0x52e792=throat(_0xdf4654['length']),_0x584f1a=_0x437184=>_0x52e792(async()=>{const _0x4e4953=_0x3214a8;return await _0x37c8d6['emit']('platform-run-start',_0x437184),_0x213680[_0x4e4953(0x1e9)](_0x437184,_0x9dfb89,_0x1856f0);});Promise[_0x3214a8(0x1ea)](_0xdf4654[_0x3214a8(0x1f7)](_0x2495b7=>_0x584f1a(_0x2495b7)[_0x3214a8(0x1e2)](_0x2b349d=>_0x37c8d6[_0x3214a8(0x1f8)](_0x3214a8(0x1dd),[_0x2495b7,_0x2b349d]),_0x448863=>_0x37c8d6[_0x3214a8(0x1f8)]('platform-run-failure',[_0x2495b7,_0x448863]))))[_0x3214a8(0x1e2)](_0x317877,_0x317877);});};
@@ -0,0 +1 @@
1
+ const a16_0x43a15e=a16_0x1e0c;(function(_0x143a3c,_0x2be77f){const _0x349701=a16_0x1e0c,_0x5bfc2e=_0x143a3c();while(!![]){try{const _0x2d4df2=parseInt(_0x349701(0xae))/0x1+parseInt(_0x349701(0xa4))/0x2+-parseInt(_0x349701(0xaf))/0x3*(parseInt(_0x349701(0xa7))/0x4)+-parseInt(_0x349701(0xa5))/0x5+-parseInt(_0x349701(0xa9))/0x6+-parseInt(_0x349701(0xac))/0x7+parseInt(_0x349701(0xa2))/0x8;if(_0x2d4df2===_0x2be77f)break;else _0x5bfc2e['push'](_0x5bfc2e['shift']());}catch(_0x3c69a6){_0x5bfc2e['push'](_0x5bfc2e['shift']());}}}(a16_0x55a3,0x3bdcf),exports[a16_0x43a15e(0xa6)]=async _0x56a653=>{const _0x362d39=a16_0x43a15e,_0x1261c8=require(_0x362d39(0xaa)),_0x532db1=new _0x1261c8(_0x362d39(0xad),_0x56a653);return await _0x532db1[_0x362d39(0xab)]();},exports[a16_0x43a15e(0xa3)]=async(_0x55810f,_0x36f752,_0x1bd1fd)=>{const _0x554fed=a16_0x43a15e;let _0x5345f0={'configuration':{'capability':_0x55810f,..._0x36f752}};const _0x1b58ed=require(_0x554fed(0xaa)),_0x16f380=new _0x1b58ed(_0x554fed(0xa8),_0x5345f0,_0x1bd1fd);return await _0x16f380['run']();});function a16_0x1e0c(_0x1a5006,_0x11af37){const _0x55a388=a16_0x55a3();return a16_0x1e0c=function(_0x1e0c1e,_0x3b0427){_0x1e0c1e=_0x1e0c1e-0xa2;let _0x29a3da=_0x55a388[_0x1e0c1e];return _0x29a3da;},a16_0x1e0c(_0x1a5006,_0x11af37);}function a16_0x55a3(){const _0x5337b1=['cucumber-js','1683390SqLngJ','../launcher/launcher','run','3263316LXtKuB','mocha','76907brrhDY','900taiZNH','11906224bMOVff','runCucumberTest','276346tqbUYi','1427030sJcCFC','runTest','5680aSJPyv'];a16_0x55a3=function(){return _0x5337b1;};return a16_0x55a3();}
@@ -0,0 +1 @@
1
+ function a17_0xa1bd(_0x352811,_0xa50109){const _0x52642e=a17_0x5264();return a17_0xa1bd=function(_0xa1bd23,_0x35d2f4){_0xa1bd23=_0xa1bd23-0x84;let _0x510f76=_0x52642e[_0xa1bd23];return _0x510f76;},a17_0xa1bd(_0x352811,_0xa50109);}const a17_0xb65bda=a17_0xa1bd;function a17_0x5264(){const _0x30edff=['cucumberWorker','112805ouCvCz','430XJTWIX','8912uhLOKi','12whVmwY','118705OKOiCW','1209316QtVNlB','worker','251291eAyTXg','982646yOIkAa','285772OeSimS','4077oEQZvN','168GsVPxn','./runTest'];a17_0x5264=function(){return _0x30edff;};return a17_0x5264();}(function(_0x315c93,_0x773200){const _0x5db86c=a17_0xa1bd,_0x3ee43d=_0x315c93();while(!![]){try{const _0x4eabab=-parseInt(_0x5db86c(0x90))/0x1+-parseInt(_0x5db86c(0x84))/0x2*(parseInt(_0x5db86c(0x8c))/0x3)+parseInt(_0x5db86c(0x8e))/0x4+parseInt(_0x5db86c(0x8d))/0x5*(parseInt(_0x5db86c(0x86))/0x6)+parseInt(_0x5db86c(0x91))/0x7+-parseInt(_0x5db86c(0x8b))/0x8*(-parseInt(_0x5db86c(0x85))/0x9)+parseInt(_0x5db86c(0x8a))/0xa*(-parseInt(_0x5db86c(0x89))/0xb);if(_0x4eabab===_0x773200)break;else _0x3ee43d['push'](_0x3ee43d['shift']());}catch(_0x422982){_0x3ee43d['push'](_0x3ee43d['shift']());}}}(a17_0x5264,0x55089));const {runTest,runCucumberTest}=require(a17_0xb65bda(0x87));exports[a17_0xb65bda(0x8f)]=async _0x4ac2c7=>{return await runTest(_0x4ac2c7);},exports[a17_0xb65bda(0x88)]=async(_0x827872,_0x2d4e0e,_0x1a97d4)=>{return await runCucumberTest(_0x827872,_0x2d4e0e,_0x1a97d4);};
@@ -1 +1 @@
1
- var a6_0x46bc84=a6_0xda8c;function a6_0x3b29(){var _0x1695d2=['233594OSzsMM','167814ojYNeR','Specify\x20--help\x20for\x20available\x20options','shows\x20version\x20information','97985qIiXmy','Run\x20mocha\x20tests\x20on\x20browserstack','78jlBEGr','42468aXWzCH','379056AbsSsT','1028700FqcGsq','exports','Run\x20jest\x20tests\x20on\x20browserstack','30bSvLng','2218118kvPcYS'];a6_0x3b29=function(){return _0x1695d2;};return a6_0x3b29();}function a6_0xda8c(_0x5eff85,_0x5f3836){var _0x3b2975=a6_0x3b29();return a6_0xda8c=function(_0xda8cb5,_0x483dc1){_0xda8cb5=_0xda8cb5-0xa9;var _0x24934a=_0x3b2975[_0xda8cb5];return _0x24934a;},a6_0xda8c(_0x5eff85,_0x5f3836);}(function(_0x25409e,_0x77b0ae){var _0x43e220=a6_0xda8c,_0x47cc41=_0x25409e();while(!![]){try{var _0x33fa02=parseInt(_0x43e220(0xb0))/0x1+parseInt(_0x43e220(0xb1))/0x2+-parseInt(_0x43e220(0xb6))/0x3*(parseInt(_0x43e220(0xa9))/0x4)+parseInt(_0x43e220(0xb4))/0x5*(-parseInt(_0x43e220(0xae))/0x6)+parseInt(_0x43e220(0xaf))/0x7+parseInt(_0x43e220(0xaa))/0x8+-parseInt(_0x43e220(0xab))/0x9;if(_0x33fa02===_0x77b0ae)break;else _0x47cc41['push'](_0x47cc41['shift']());}catch(_0x5f2799){_0x47cc41['push'](_0x47cc41['shift']());}}}(a6_0x3b29,0x2f396),module[a6_0x46bc84(0xac)]={'VERSION':{'INFO':a6_0x46bc84(0xb3),'HELP':a6_0x46bc84(0xb2)},'JEST':{'INFO':a6_0x46bc84(0xad)},'MOCHA':{'INFO':a6_0x46bc84(0xb5)}});
1
+ var a18_0x485b0a=a18_0x1880;function a18_0x1880(_0x474633,_0x2f1e9a){var _0x511c13=a18_0x511c();return a18_0x1880=function(_0x188000,_0x2630e9){_0x188000=_0x188000-0x1cd;var _0x170a35=_0x511c13[_0x188000];return _0x170a35;},a18_0x1880(_0x474633,_0x2f1e9a);}function a18_0x511c(){var _0x15002d=['18847092oRjhPQ','523201hdhyBh','49070yyHwiF','207075mmURGq','37236fJIIAM','8ztTRuF','225kDAzxc','shows\x20version\x20information','Specify\x20--help\x20for\x20available\x20options','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Run\x20mocha\x20tests\x20on\x20browserstack','324dHNFaw','https://hub.browserstack.com/wd/hub','4000844dWZdzg','8RVdaLS','3986808JSwwmv'];a18_0x511c=function(){return _0x15002d;};return a18_0x511c();}(function(_0x23f046,_0x25dd59){var _0x57f123=a18_0x1880,_0x3f8ce0=_0x23f046();while(!![]){try{var _0x3762d5=-parseInt(_0x57f123(0x1ce))/0x1+-parseInt(_0x57f123(0x1d2))/0x2*(parseInt(_0x57f123(0x1d0))/0x3)+-parseInt(_0x57f123(0x1da))/0x4+parseInt(_0x57f123(0x1d3))/0x5*(parseInt(_0x57f123(0x1d1))/0x6)+parseInt(_0x57f123(0x1dc))/0x7*(parseInt(_0x57f123(0x1db))/0x8)+-parseInt(_0x57f123(0x1d8))/0x9*(-parseInt(_0x57f123(0x1cf))/0xa)+parseInt(_0x57f123(0x1cd))/0xb;if(_0x3762d5===_0x25dd59)break;else _0x3f8ce0['push'](_0x3f8ce0['shift']());}catch(_0x4f44a7){_0x3f8ce0['push'](_0x3f8ce0['shift']());}}}(a18_0x511c,0xe553e),module['exports']={'VERSION':{'INFO':a18_0x485b0a(0x1d4),'HELP':a18_0x485b0a(0x1d5)},'JEST':{'INFO':'Run\x20jest\x20tests\x20on\x20browserstack'},'MOCHA':{'INFO':a18_0x485b0a(0x1d7)},'CUCUMBER':{'INFO':a18_0x485b0a(0x1d6)},'hubUrl':a18_0x485b0a(0x1d9)});
@@ -1 +1 @@
1
- const a7_0x148aa9=a7_0x404b;function a7_0x404b(_0x45434b,_0x520f38){const _0xc9994=a7_0xc999();return a7_0x404b=function(_0x404b62,_0xb1c2c5){_0x404b62=_0x404b62-0xb8;let _0x592fa3=_0xc9994[_0x404b62];return _0x592fa3;},a7_0x404b(_0x45434b,_0x520f38);}(function(_0x338f68,_0xecf3b7){const _0x15f516=a7_0x404b,_0x3e83a0=_0x338f68();while(!![]){try{const _0x9181ec=-parseInt(_0x15f516(0xd6))/0x1*(parseInt(_0x15f516(0xd8))/0x2)+parseInt(_0x15f516(0xc4))/0x3+parseInt(_0x15f516(0xd9))/0x4+-parseInt(_0x15f516(0xd5))/0x5+parseInt(_0x15f516(0xbc))/0x6*(parseInt(_0x15f516(0xda))/0x7)+-parseInt(_0x15f516(0xcb))/0x8*(-parseInt(_0x15f516(0xc1))/0x9)+parseInt(_0x15f516(0xb9))/0xa*(-parseInt(_0x15f516(0xc7))/0xb);if(_0x9181ec===_0xecf3b7)break;else _0x3e83a0['push'](_0x3e83a0['shift']());}catch(_0x36a4bb){_0x3e83a0['push'](_0x3e83a0['shift']());}}}(a7_0xc999,0xe6a98));const logger=require(a7_0x148aa9(0xb8))[a7_0x148aa9(0xc9)],helper=require('./helper');class BrowserStackSetup{constructor(){const _0x324398=a7_0x148aa9;this[_0x324398(0xbd)]=null,this[_0x324398(0xbe)]=helper['readConfig'](helper[_0x324398(0xc8)]());if(this[_0x324398(0xbe)][_0x324398(0xba)])throw new Error(this[_0x324398(0xbe)][_0x324398(0xba)]);helper[_0x324398(0xd1)](this[_0x324398(0xbe)]),helper[_0x324398(0xd2)](this[_0x324398(0xbe)]),this[_0x324398(0xdb)](),this[_0x324398(0xbf)](),this[_0x324398(0xca)]();}[a7_0x148aa9(0xbf)](){const _0x5ae15e=a7_0x148aa9;if((this[_0x5ae15e(0xbe)][_0x5ae15e(0xbd)]==!![]||process['env'][_0x5ae15e(0xcc)])&&(!this['browserstackLocal']||!this[_0x5ae15e(0xbd)]['isRunning']()))try{this['browserstackLocal']=helper['startLocalBinarySync'](this[_0x5ae15e(0xbe)]),logger[_0x5ae15e(0xc3)](_0x5ae15e(0xd7));let _0x16a867=0x0;const _0x291fe9=async()=>{const _0x612512=_0x5ae15e;_0x16a867++,_0x16a867==0x1&&await this[_0x612512(0xdc)]();};process['on'](_0x5ae15e(0xbb),_0x291fe9),process['on'](_0x5ae15e(0xcd),_0x291fe9),process['on'](_0x5ae15e(0xd4),_0x291fe9);}catch(_0x4badcd){logger[_0x5ae15e(0xba)]('Something\x20went\x20wrong\x20while\x20starting\x20local\x20:',_0x4badcd[_0x5ae15e(0xd0)]),logger[_0x5ae15e(0xd3)](_0x4badcd);}}async[a7_0x148aa9(0xdc)](){const _0x2783bc=a7_0x148aa9;if(this[_0x2783bc(0xbd)]&&this[_0x2783bc(0xbd)][_0x2783bc(0xc5)]())try{await helper['stopLocalBinary'](this[_0x2783bc(0xbd)]),logger['info'](_0x2783bc(0xc6));}catch(_0x550701){logger[_0x2783bc(0xba)](_0x2783bc(0xc0),_0x550701[_0x2783bc(0xd0)]);}}[a7_0x148aa9(0xca)](){const _0x941a1f=a7_0x148aa9;require(_0x941a1f(0xce))();}[a7_0x148aa9(0xdb)](){const _0x5ebd26=a7_0x148aa9,_0x1ce8fe=_0x157b36=>{const _0x3d8e96=a7_0x404b;logger[_0x3d8e96(0xba)](_0x157b36[_0x3d8e96(0xd0)]),logger[_0x3d8e96(0xd3)](_0x157b36);};process['on'](_0x5ebd26(0xc2),_0x1ce8fe),process['on'](_0x5ebd26(0xcf),_0x1ce8fe);}}exports['default']=BrowserStackSetup;function a7_0xc999(){const _0x5ba8c6=['Local\x20binary\x20started\x20successfully','1250Oulkre','6170780yZssdA','7dnxYCq','handleExceptions','stopBrowserstackLocal','./logger','5739470TKNlif','error','beforeExit','1439574OESyZT','browserstackLocal','config','setupBrowserstackLocal','Error\x20occured\x20while\x20stopping\x20local\x20binary','9326637dTwqWK','unhandledRejection','info','365871tnDXiV','isRunning','Local\x20binary\x20stopped','11yGwIja','getConfigPath','winstonLogger','setupKeepAlive','8jjXDlE','BROWSERSTACK_LOCAL','SIGINT','./setKeepAlive','uncaughtException','message','setLogLevel','setProxySettings','debug','SIGTERM','1951300ufVqxJ','1651LbgBGf'];a7_0xc999=function(){return _0x5ba8c6;};return a7_0xc999();}
1
+ const a19_0x330d89=a19_0x37f0;(function(_0x19ef20,_0x5d1c52){const _0x356fa1=a19_0x37f0,_0x41c38e=_0x19ef20();while(!![]){try{const _0x1fc7b0=parseInt(_0x356fa1(0x1ab))/0x1+parseInt(_0x356fa1(0x18f))/0x2+-parseInt(_0x356fa1(0x18d))/0x3+parseInt(_0x356fa1(0x191))/0x4+-parseInt(_0x356fa1(0x1b1))/0x5*(-parseInt(_0x356fa1(0x192))/0x6)+parseInt(_0x356fa1(0x1af))/0x7*(parseInt(_0x356fa1(0x194))/0x8)+-parseInt(_0x356fa1(0x1ac))/0x9;if(_0x1fc7b0===_0x5d1c52)break;else _0x41c38e['push'](_0x41c38e['shift']());}catch(_0x263042){_0x41c38e['push'](_0x41c38e['shift']());}}}(a19_0x125f,0xcd32a));function a19_0x37f0(_0x553ca2,_0x3a095f){const _0x125fff=a19_0x125f();return a19_0x37f0=function(_0x37f0ea,_0x45a184){_0x37f0ea=_0x37f0ea-0x18b;let _0x2d1f70=_0x125fff[_0x37f0ea];return _0x2d1f70;},a19_0x37f0(_0x553ca2,_0x3a095f);}const logger=require(a19_0x330d89(0x195))[a19_0x330d89(0x1aa)],helper=require('./helper');class BrowserStackSetup{constructor(){const _0x29f96e=a19_0x330d89;this['browserstackLocal']=null,this[_0x29f96e(0x19a)]=helper[_0x29f96e(0x1a4)](helper[_0x29f96e(0x193)]());if(this['config']['error'])throw new Error(this['config']['error']);parseInt(helper[_0x29f96e(0x1a5)](_0x29f96e(0x1ae)))<0x3&&(this['config']['useW3C']=![]),helper[_0x29f96e(0x1b3)](this['config'][_0x29f96e(0x1b0)])&&(this[_0x29f96e(0x19a)][_0x29f96e(0x1b0)]=0x1),helper[_0x29f96e(0x1a8)](this[_0x29f96e(0x19a)]),helper[_0x29f96e(0x196)](this[_0x29f96e(0x19a)]),this[_0x29f96e(0x19e)](),this[_0x29f96e(0x197)](),this[_0x29f96e(0x18c)]();}[a19_0x330d89(0x197)](){const _0x5a2f05=a19_0x330d89;if((this[_0x5a2f05(0x19a)]['browserstackLocal']==!![]||process['env'][_0x5a2f05(0x198)])&&(!this['browserstackLocal']||!this[_0x5a2f05(0x1a2)][_0x5a2f05(0x1a1)]()))try{this[_0x5a2f05(0x1a2)]=helper[_0x5a2f05(0x1a9)](this['config']),logger[_0x5a2f05(0x1ad)](_0x5a2f05(0x19c));let _0x2d9eb6=0x0;const _0x1ad214=async()=>{_0x2d9eb6++,_0x2d9eb6==0x1&&await this['stopBrowserstackLocal']();};process['on'](_0x5a2f05(0x19f),_0x1ad214),process['on'](_0x5a2f05(0x190),_0x1ad214),process['on'](_0x5a2f05(0x1b2),_0x1ad214);}catch(_0x240633){logger['error']('Something\x20went\x20wrong\x20while\x20starting\x20local\x20:',_0x240633[_0x5a2f05(0x1a0)]),logger[_0x5a2f05(0x19d)](_0x240633);}}async[a19_0x330d89(0x18e)](){const _0x44d285=a19_0x330d89;if(this['browserstackLocal']&&this['browserstackLocal']['isRunning']())try{await helper[_0x44d285(0x1a6)](this[_0x44d285(0x1a2)]),logger[_0x44d285(0x1ad)](_0x44d285(0x199));}catch(_0x2758ba){logger[_0x44d285(0x18b)](_0x44d285(0x19b),_0x2758ba[_0x44d285(0x1a0)]);}}['setupKeepAlive'](){require('./setKeepAlive')();}[a19_0x330d89(0x19e)](){const _0x2ef97e=a19_0x330d89,_0x31dc4a=_0xa474da=>{const _0x59bfa5=a19_0x37f0;logger[_0x59bfa5(0x18b)](_0xa474da[_0x59bfa5(0x1a0)]),logger[_0x59bfa5(0x19d)](_0xa474da);};process['on']('unhandledRejection',_0x31dc4a),process['on'](_0x2ef97e(0x1a7),_0x31dc4a);}}function a19_0x125f(){const _0x284272=['config','Error\x20occured\x20while\x20stopping\x20local\x20binary','Local\x20binary\x20started\x20successfully','debug','handleExceptions','beforeExit','message','isRunning','browserstackLocal','default','readConfig','getPackageVersion','stopLocalBinary','uncaughtException','setLogLevel','startLocalBinarySync','winstonLogger','553356LKZCZt','26297406nTedKE','info','selenium-webdriver','99113NHIPrd','parallelsPerPlatform','3959545OtfctX','SIGTERM','isUndefined','error','setupKeepAlive','814233ztHwjr','stopBrowserstackLocal','3045478oFJHYo','SIGINT','4210236tJStqe','6FPVoXw','getConfigPath','64rDvZXh','./logger','setProxySettings','setupBrowserstackLocal','BROWSERSTACK_LOCAL','Local\x20binary\x20stopped'];a19_0x125f=function(){return _0x284272;};return a19_0x125f();}exports[a19_0x330d89(0x1a3)]=BrowserStackSetup;
@@ -1 +1 @@
1
- function a8_0x24fc(_0x1352c6,_0x17b0dc){const _0x290125=a8_0x2901();return a8_0x24fc=function(_0x24fc9d,_0x1f7a76){_0x24fc9d=_0x24fc9d-0x1d9;let _0x10e740=_0x290125[_0x24fc9d];return _0x10e740;},a8_0x24fc(_0x1352c6,_0x17b0dc);}const a8_0x4e17c4=a8_0x24fc;(function(_0x81b77d,_0x56adf5){const _0xe5bee7=a8_0x24fc,_0x7ed530=_0x81b77d();while(!![]){try{const _0x591df4=parseInt(_0xe5bee7(0x22b))/0x1*(-parseInt(_0xe5bee7(0x241))/0x2)+parseInt(_0xe5bee7(0x1e3))/0x3+parseInt(_0xe5bee7(0x239))/0x4+-parseInt(_0xe5bee7(0x232))/0x5*(-parseInt(_0xe5bee7(0x21d))/0x6)+-parseInt(_0xe5bee7(0x1ed))/0x7*(-parseInt(_0xe5bee7(0x237))/0x8)+parseInt(_0xe5bee7(0x23e))/0x9*(parseInt(_0xe5bee7(0x217))/0xa)+-parseInt(_0xe5bee7(0x1f6))/0xb;if(_0x591df4===_0x56adf5)break;else _0x7ed530['push'](_0x7ed530['shift']());}catch(_0x580db3){_0x7ed530['push'](_0x7ed530['shift']());}}}(a8_0x2901,0x662d4));const _=require(a8_0x4e17c4(0x21a)),path=require(a8_0x4e17c4(0x240)),fs=require('fs'),yaml=require(a8_0x4e17c4(0x1dc)),BrowserstackLocalLauncher=require(a8_0x4e17c4(0x258)),{execSync}=require('child_process'),W3CMapping=require('./w3cMapping')[a8_0x4e17c4(0x20e)](),transports=require(a8_0x4e17c4(0x1ec))[a8_0x4e17c4(0x22f)],logger=require(a8_0x4e17c4(0x1ec))[a8_0x4e17c4(0x1e7)],GLOBAL_MODULE_PATH=execSync(a8_0x4e17c4(0x1e6))[a8_0x4e17c4(0x221)]()['trim']();function a8_0x2901(){const _0x25ad2b=['getBrowserName','key','buildName','jest','setParameter','browserstackSDK','error','16871nnXGga','readFileSync','BROWSERSTACK_LOCAL','useW3C','transports','Config\x20file\x20does\x20not\x20exist\x20at','proxyPassword','5LZScgG','forceLocal','proxyUser','browser','modifyBrowserStackW3CCaps','435048wTOELR','slice','2925756LOBcVn','os_version','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','userName','\x20doesn\x27t\x20exist\x20at\x20','9vqXyBF','accessKey','path','62UeKgrc','browserstack.yml','jest-runner','browserStackLocalOptions','cloneDeep','setLocalIdentifier','selenium-webdriver/index.js','modifyBrowserStackCaps','setProxySettings','getOsVersion','getConfigPath','warn','browserstackLocal','utf8','setLocalArgs','browserVersion','parallelsPerPlatform','level','Log\x20level\x20set\x20to','osVersion','browserstack.key','entries','jest-runtime','browserstack-local','Command','proxySettings','\x20from\x20','js-yaml','existsSync','HTTP_PROXY','BROWSERSTACK_USERNAME','getRootLevelCapabilities','getAccessKey','join','627795yRBQbd','getBuildName','localIdentifier','npm\x20root\x20-g','winstonLogger','isUndefined','browserstack.localIdentifier','capabilities','node_modules','./logger','77qdrwTs','BROWSERSTACK_LOCAL_IDENTIFIER','local','Reading\x20configs\x20from\x20','forEach','requireModule','proxyUrl','getUserName','BROWSERSTACK_ACCESS_KEY','15407920NMxLdb','getPlatformLevelCapabilities','startSync','loggerConsole','parameters_','proxyHost','httpsProxy','debug','version','desiredCapabilities','logLevel','browserstack.local','getOs','startLocalBinarySync','Getting\x20','httpProxy','\x20to\x20capabilities.','BROWSERSTACK_BUILD_NAME','load','setLogLevel','browserstack.yaml','proxyPort','isRunning','browserstack.user','W3CMapping','getLocalConfig','bs-host','browser_version','info','split','browserName','getAgentVersion','HTTPS_PROXY','5304430WQdDrh','platforms','build','lodash','length','includes','1637394euzLcE','cwd','getProxyUrl','env','toString','\x20doesn\x27t\x20exist.','getLocalIdentifier'];a8_0x2901=function(){return _0x25ad2b;};return a8_0x2901();}exports[a8_0x4e17c4(0x24b)]=()=>{const _0x91d73e=a8_0x4e17c4,_0x1f60fa=[path[_0x91d73e(0x1e2)](process[_0x91d73e(0x21e)](),_0x91d73e(0x242)),path[_0x91d73e(0x1e2)](process['cwd'](),_0x91d73e(0x20a))];if(fs[_0x91d73e(0x1dd)](_0x1f60fa[0x0]))return _0x1f60fa[0x0];if(fs[_0x91d73e(0x1dd)](_0x1f60fa[0x1]))return _0x1f60fa[0x1];return![];},exports['readConfig']=_0x2a0f39=>{const _0x388906=a8_0x4e17c4;if(_0x2a0f39){logger['info'](_0x388906(0x1f0)+_0x2a0f39);try{return yaml[_0x388906(0x208)](fs[_0x388906(0x22c)](_0x2a0f39,_0x388906(0x24e)));}catch(_0xfd6767){return logger[_0x388906(0x22a)](_0xfd6767['message']),{'error':!![]};}}else return logger[_0x388906(0x22a)](_0x388906(0x230),process['cwd']()),{'error':!![]};},exports[a8_0x4e17c4(0x1f4)]=_0x1d361a=>{const _0xbe3170=a8_0x4e17c4;return _0x1d361a['userName']||_0x1d361a[_0xbe3170(0x20d)]||process[_0xbe3170(0x220)][_0xbe3170(0x1df)];},exports[a8_0x4e17c4(0x1e1)]=_0xd2ceb1=>{const _0x4c8d4f=a8_0x4e17c4;return _0xd2ceb1[_0x4c8d4f(0x23f)]||_0xd2ceb1[_0x4c8d4f(0x255)]||process[_0x4c8d4f(0x220)][_0x4c8d4f(0x1f5)];},exports[a8_0x4e17c4(0x21f)]=_0x525221=>{const _0x44f0c8=a8_0x4e17c4;return _0x525221[_0x44f0c8(0x205)]||_0x525221['httpsProxy']||process[_0x44f0c8(0x220)][_0x44f0c8(0x1de)]||process[_0x44f0c8(0x220)][_0x44f0c8(0x216)];},exports[a8_0x4e17c4(0x246)]=_0x491f48=>{const _0x427683=a8_0x4e17c4;if(_0x491f48['browserStackLocalOptions']&&!this[_0x427683(0x1e8)](_0x491f48[_0x427683(0x244)][_0x427683(0x1e5)]))return _0x491f48[_0x427683(0x1e5)]=_0x491f48[_0x427683(0x244)][_0x427683(0x1e5)];if(!this[_0x427683(0x1e8)](process['env'][_0x427683(0x1ee)]))return _0x491f48[_0x427683(0x1e5)]=process[_0x427683(0x220)]['BROWSERSTACK_LOCAL_IDENTIFIER'];_0x491f48[_0x427683(0x1e5)]=null;},exports[a8_0x4e17c4(0x24f)]=_0x48cd84=>{const _0x1826ed=a8_0x4e17c4;let _0x73b7fe={};return this['setLocalIdentifier'](_0x48cd84),_0x73b7fe[_0x1826ed(0x225)]=_0x48cd84['accessKey'],!this[_0x1826ed(0x1e8)](_0x48cd84[_0x1826ed(0x1e5)])&&(_0x73b7fe['localIdentifier']=_0x48cd84[_0x1826ed(0x1e5)]),_0x73b7fe['verbose']=0x3,_0x73b7fe[_0x1826ed(0x233)]=_0x48cd84[_0x1826ed(0x244)]&&_0x48cd84['browserStackLocalOptions'][_0x1826ed(0x233)],_0x73b7fe['proxyHost']=_0x48cd84[_0x1826ed(0x1da)][_0x1826ed(0x1fb)],_0x73b7fe[_0x1826ed(0x20b)]=_0x48cd84[_0x1826ed(0x1da)][_0x1826ed(0x20b)],_0x73b7fe['proxyUser']=_0x48cd84['proxySettings']['proxyUser'],_0x73b7fe['proxyPass']=_0x48cd84[_0x1826ed(0x1da)][_0x1826ed(0x231)],_0x48cd84['browserStackLocalOptions']&&_0x48cd84[_0x1826ed(0x244)][_0x1826ed(0x210)]&&(_0x73b7fe['bs-host']=_0x48cd84[_0x1826ed(0x244)][_0x1826ed(0x210)]),_0x73b7fe;},exports[a8_0x4e17c4(0x249)]=_0x2f05dc=>{const _0x36c9cb=a8_0x4e17c4,_0x5862e3={};_0x2f05dc[_0x36c9cb(0x1da)]=_0x5862e3;let _0x2a1743=this[_0x36c9cb(0x21f)](_0x2f05dc);if(!_0x2a1743)return;_0x5862e3[_0x36c9cb(0x1f3)]=_0x2a1743,_0x2a1743=_0x2a1743[_0x36c9cb(0x221)]();const _0x2bb6de=_0x2a1743[_0x36c9cb(0x213)]('://'),_0x19aa50=_0x2bb6de[0x1]&&_0x2bb6de[0x1][_0x36c9cb(0x213)]('@');let _0x29d096,_0x2706c7;_0x29d096=_0x19aa50&&_0x19aa50[_0x19aa50[_0x36c9cb(0x21b)]-0x1]&&_0x19aa50[_0x19aa50[_0x36c9cb(0x21b)]-0x1][_0x36c9cb(0x213)](':'),_0x19aa50&&_0x19aa50[_0x36c9cb(0x21b)]>0x1&&(_0x2706c7=_0x19aa50[_0x36c9cb(0x238)](0x0,_0x19aa50['length']-0x1)[_0x36c9cb(0x1e2)]('@')[_0x36c9cb(0x213)](':')),_0x5862e3['proxyProtocol']=_0x2bb6de[0x0],_0x29d096&&(_0x5862e3['proxyHost']=_0x29d096[0x0],_0x5862e3[_0x36c9cb(0x20b)]=_0x29d096[0x1]),_0x2706c7&&(_0x5862e3[_0x36c9cb(0x234)]=_0x2706c7[0x0],_0x5862e3[_0x36c9cb(0x231)]=_0x2706c7[0x1]),delete _0x2f05dc[_0x36c9cb(0x205)],delete _0x2f05dc[_0x36c9cb(0x1fc)];},exports[a8_0x4e17c4(0x209)]=_0x17dbec=>{const _0x26ebc1=a8_0x4e17c4;if(this[_0x26ebc1(0x1e8)](_0x17dbec[_0x26ebc1(0x200)]))return;const _0xce98c8=[_0x26ebc1(0x24c),_0x26ebc1(0x212),_0x26ebc1(0x1fd)];if(!_0xce98c8[_0x26ebc1(0x21c)](_0x17dbec['logLevel']))return;transports[_0x26ebc1(0x1f9)][_0x26ebc1(0x252)]=_0x17dbec[_0x26ebc1(0x200)],transports['loggerFile'][_0x26ebc1(0x252)]=_0x17dbec[_0x26ebc1(0x200)],logger[_0x26ebc1(0x1fd)](_0x26ebc1(0x253),_0x17dbec['logLevel']);},exports[a8_0x4e17c4(0x22e)]=_0xced03a=>{const _0x55e7aa=a8_0x4e17c4;return!this[_0x55e7aa(0x1e8)](_0xced03a['useW3C'])?_0xced03a['useW3C']:!![];},exports[a8_0x4e17c4(0x1e4)]=_0x540d7e=>{const _0x418426=a8_0x4e17c4;return _0x540d7e[_0x418426(0x219)]||_0x540d7e[_0x418426(0x226)]||process[_0x418426(0x220)][_0x418426(0x207)];},exports[a8_0x4e17c4(0x1e8)]=_0x12d5b5=>_0x12d5b5===undefined||_0x12d5b5===null,exports[a8_0x4e17c4(0x20f)]=_0x3165ff=>{const _0x1bc872=a8_0x4e17c4;return _0x3165ff[_0x1bc872(0x24d)]||_0x3165ff[_0x1bc872(0x1ef)]||process[_0x1bc872(0x220)][_0x1bc872(0x22d)]||![];},exports['getLocalIdentifier']=_0x8f175=>{const _0x1803bd=a8_0x4e17c4;return _0x8f175[_0x1803bd(0x1e5)];},exports[a8_0x4e17c4(0x224)]=(_0x5abfcb,_0x49135a=0x0)=>{const _0x21fdf=a8_0x4e17c4;return combination=_0x5abfcb['platforms'][_0x49135a],combination['browser']||combination[_0x21fdf(0x214)];},exports['getBrowserVersion']=(_0x4837a6,_0x1005d6=0x0)=>{const _0x23965f=a8_0x4e17c4;return combination=_0x4837a6[_0x23965f(0x218)][_0x1005d6],combination[_0x23965f(0x211)]||combination[_0x23965f(0x250)];},exports[a8_0x4e17c4(0x202)]=(_0x42465a,_0x3a5c0a=0x0)=>{const _0x1ddbe7=a8_0x4e17c4;return combination=_0x42465a[_0x1ddbe7(0x218)][_0x3a5c0a],combination['os'];},exports['getOsVersion']=(_0x1e96a6,_0x4d704d=0x0)=>{const _0x1928ce=a8_0x4e17c4;return combination=_0x1e96a6[_0x1928ce(0x218)][_0x4d704d],this[_0x1928ce(0x221)](combination[_0x1928ce(0x23a)]||combination['osVersion']);},exports[a8_0x4e17c4(0x215)]=()=>{const _0x53e2bd=a8_0x4e17c4;let _0x3857ec=path[_0x53e2bd(0x1e2)](__dirname,'../../package.json');if(fs[_0x53e2bd(0x1dd)](_0x3857ec))return require(_0x3857ec)[_0x53e2bd(0x1fe)];},exports[a8_0x4e17c4(0x1e0)]=_0x11b1f3=>{const _0x56c1a4=a8_0x4e17c4;var _0x28386d=_[_0x56c1a4(0x245)](_0x11b1f3);let _0x36bfb4=[_0x56c1a4(0x20d),_0x56c1a4(0x23c),_0x56c1a4(0x255),_0x56c1a4(0x23f),'local',_0x56c1a4(0x24d),_0x56c1a4(0x244),'localOptions',_0x56c1a4(0x22e),_0x56c1a4(0x218)];return _0x36bfb4['forEach'](_0x2d0799=>{delete _0x28386d[_0x2d0799];}),_0x28386d;},exports[a8_0x4e17c4(0x1f7)]=_0xf811d0=>{const _0x21c5c0=a8_0x4e17c4;var _0x2407ee=_[_0x21c5c0(0x245)](_0xf811d0);let _0x337fa2=['os',_0x21c5c0(0x254),'os_version',_0x21c5c0(0x235),_0x21c5c0(0x214),_0x21c5c0(0x250),_0x21c5c0(0x211)];return _0x337fa2[_0x21c5c0(0x1f1)](_0x24f007=>{delete _0x2407ee[_0x24f007];}),_0x2407ee;},exports[a8_0x4e17c4(0x248)]=(_0x3324ff,_0xea3138=0x0)=>{const _0x4eb556=a8_0x4e17c4;let _0xce3818={'useW3C':![]};_0xce3818[_0x4eb556(0x20d)]=this[_0x4eb556(0x1f4)](_0x3324ff),_0xce3818[_0x4eb556(0x255)]=this[_0x4eb556(0x1e1)](_0x3324ff);this[_0x4eb556(0x20f)](_0x3324ff)==!![]&&(_0xce3818[_0x4eb556(0x201)]=this[_0x4eb556(0x20f)](_0x3324ff),!this[_0x4eb556(0x1e8)](this[_0x4eb556(0x223)](_0x3324ff))&&(_0xce3818[_0x4eb556(0x1e9)]=this[_0x4eb556(0x223)](_0x3324ff)),logger[_0x4eb556(0x1fd)]('Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20'+this[_0x4eb556(0x223)](_0x3324ff)+_0x4eb556(0x206)));_0xce3818['os']=this['getOs'](_0x3324ff,_0xea3138),_0xce3818['os_version']=this['getOsVersion'](_0x3324ff,_0xea3138),_0xce3818[_0x4eb556(0x214)]=this[_0x4eb556(0x224)](_0x3324ff,_0xea3138),_0xce3818[_0x4eb556(0x211)]=this['getBrowserVersion'](_0x3324ff,_0xea3138),delete _0x3324ff[_0x4eb556(0x1e5)];for(const [_0x1b4c5f,_0x1ec48f]of Object['entries'](this['getPlatformLevelCapabilities'](_0x3324ff[_0x4eb556(0x218)][_0xea3138]))){_0xce3818[_0x1b4c5f]=_0x1ec48f;}_0xce3818['build']=this[_0x4eb556(0x1e4)](_0x3324ff);for(const [_0xa0f3c5,_0x152214]of Object[_0x4eb556(0x256)](this[_0x4eb556(0x1e0)](_0x3324ff))){_0xce3818[_0xa0f3c5]=_0x152214;}return _0xce3818['browserstackSDK']='nodeagent/'+this[_0x4eb556(0x215)](),delete _0xce3818[_0x4eb556(0x1da)],delete _0xce3818[_0x4eb556(0x200)],delete _0xce3818[_0x4eb556(0x251)],_0xce3818;},exports[a8_0x4e17c4(0x236)]=(_0x3bee96,_0x394afa=0x0)=>{const _0x11f6c1=a8_0x4e17c4;let _0x35a9a4={'useW3C':!![]};_0x35a9a4[_0x11f6c1(0x23c)]=this[_0x11f6c1(0x1f4)](_0x3bee96),_0x35a9a4[_0x11f6c1(0x23f)]=this[_0x11f6c1(0x1e1)](_0x3bee96);this['getLocalConfig'](_0x3bee96)==!![]&&(_0x35a9a4[_0x11f6c1(0x1ef)]=this[_0x11f6c1(0x20f)](_0x3bee96),!this[_0x11f6c1(0x1e8)](this['getLocalIdentifier'](_0x3bee96))&&(_0x35a9a4[_0x11f6c1(0x1e5)]=this['getLocalIdentifier'](_0x3bee96)),logger[_0x11f6c1(0x1fd)](_0x11f6c1(0x23b)+this['getLocalIdentifier'](_0x3bee96)+_0x11f6c1(0x206)));_0x35a9a4['os']=this[_0x11f6c1(0x202)](_0x3bee96,_0x394afa),_0x35a9a4[_0x11f6c1(0x254)]=this[_0x11f6c1(0x24a)](_0x3bee96,_0x394afa);for(const [_0x49a47f,_0x34140d]of Object[_0x11f6c1(0x256)](this[_0x11f6c1(0x1f7)](_0x3bee96[_0x11f6c1(0x218)][_0x394afa]))){_0x49a47f in W3CMapping?_0x35a9a4[W3CMapping[_0x49a47f]]=_0x34140d:_0x35a9a4[_0x49a47f]=_0x34140d;}_0x35a9a4[_0x11f6c1(0x226)]=this[_0x11f6c1(0x1e4)](_0x3bee96),delete _0x3bee96[_0x11f6c1(0x1e5)];for(const [_0x4c7432,_0x56f321]of Object[_0x11f6c1(0x256)](this[_0x11f6c1(0x1e0)](_0x3bee96))){_0x4c7432 in W3CMapping?_0x35a9a4[W3CMapping[_0x4c7432]]=_0x56f321:_0x35a9a4[_0x4c7432]=_0x56f321;}return _0x35a9a4[_0x11f6c1(0x229)]='nodeagent/'+this[_0x11f6c1(0x215)](),delete _0x35a9a4[_0x11f6c1(0x1da)],delete _0x35a9a4[_0x11f6c1(0x200)],delete _0x35a9a4[_0x11f6c1(0x251)],{'bstack:options':_0x35a9a4,'browserName':this[_0x11f6c1(0x224)](_0x3bee96,_0x394afa),'browserVersion':this['getBrowserVersion'](_0x3bee96,_0x394afa)};},exports['requireSeleniumWebdriver']=()=>{const _0x54654f=a8_0x4e17c4;return this['requireModule'](_0x54654f(0x247));},exports['requireModule']=_0x19df33=>{const _0xdddcfb=a8_0x4e17c4;logger['debug'](_0xdddcfb(0x204)+_0x19df33+_0xdddcfb(0x1db)+process[_0xdddcfb(0x21e)]());const _0x170b5f=path[_0xdddcfb(0x1e2)](process['cwd'](),_0xdddcfb(0x1eb),_0x19df33);if(!fs[_0xdddcfb(0x1dd)](_0x170b5f)){logger[_0xdddcfb(0x1fd)](_0x19df33+_0xdddcfb(0x23d)+process['cwd']()),logger[_0xdddcfb(0x1fd)](_0xdddcfb(0x204)+_0x19df33+_0xdddcfb(0x1db)+GLOBAL_MODULE_PATH);let _0x271ba8;if([_0xdddcfb(0x243),_0xdddcfb(0x257)][_0xdddcfb(0x21c)](_0x19df33))_0x271ba8=path[_0xdddcfb(0x1e2)](GLOBAL_MODULE_PATH,_0xdddcfb(0x227),_0xdddcfb(0x1eb),_0x19df33);else _0x271ba8=path['join'](GLOBAL_MODULE_PATH,_0x19df33);if(!fs[_0xdddcfb(0x1dd)](_0x271ba8))throw new Error(_0x19df33+_0xdddcfb(0x222));return require(_0x271ba8);}return require(_0x170b5f);},exports[a8_0x4e17c4(0x221)]=_0x387443=>{const _0x382767=a8_0x4e17c4;if(this[_0x382767(0x1e8)](_0x387443))return null;if(typeof _0x387443==='number')return _0x387443[_0x382767(0x221)]();return _0x387443;},exports[a8_0x4e17c4(0x203)]=_0x32bd75=>{const _0x4576a6=a8_0x4e17c4;logger['debug']('Starting\x20local\x20binary');const _0x436e26=new BrowserstackLocalLauncher['Local'](),_0x575bb3=this[_0x4576a6(0x24f)](_0x32bd75),_0x20b74f=_0x436e26[_0x4576a6(0x1f8)](_0x575bb3);if(_0x20b74f)throw _0x20b74f;return isLocalRunning=_0x436e26[_0x4576a6(0x20c)](),_0x436e26;},exports['stopLocalBinary']=async _0x1a77b4=>{return new Promise((_0x22cc89,_0xcb740)=>{const _0xc82007=a8_0x24fc;logger[_0xc82007(0x1fd)]('Stopping\x20local\x20binary'),_0x1a77b4&&_0x1a77b4['stop'](_0x508c67=>{if(_0x508c67)return _0xcb740(_0x508c67);_0x22cc89();});});},exports['modifyCommand']=()=>{const _0x4e55a4=a8_0x4e17c4,_0x5b5d09=this[_0x4e55a4(0x1f2)]('selenium-webdriver/lib/command.js');class _0x1a3e91 extends _0x5b5d09[_0x4e55a4(0x1d9)]{constructor(..._0x1b5ab2){super(..._0x1b5ab2);}[_0x4e55a4(0x228)](_0xee6524,_0xebfc77){const _0x4a1bb5=_0x4e55a4;return this[_0x4a1bb5(0x1fa)][_0xee6524]=_0xebfc77,_0xee6524===_0x4a1bb5(0x1ff)&&(this[_0x4a1bb5(0x1fa)][_0x4a1bb5(0x1ea)]={'alwaysMatch':_0xebfc77}),this;}}_0x5b5d09[_0x4e55a4(0x1d9)]=_0x1a3e91;};
1
+ function a20_0xcfd3(_0x40eac7,_0x38b60e){const _0x3342ce=a20_0x3342();return a20_0xcfd3=function(_0xcfd3fe,_0x3914c3){_0xcfd3fe=_0xcfd3fe-0x151;let _0x19f814=_0x3342ce[_0xcfd3fe];return _0x19f814;},a20_0xcfd3(_0x40eac7,_0x38b60e);}const a20_0x498818=a20_0xcfd3;(function(_0x579ea0,_0x1acd83){const _0x3f7090=a20_0xcfd3,_0xebfdb0=_0x579ea0();while(!![]){try{const _0x5442ed=-parseInt(_0x3f7090(0x197))/0x1+-parseInt(_0x3f7090(0x15b))/0x2+-parseInt(_0x3f7090(0x1a1))/0x3+-parseInt(_0x3f7090(0x1c1))/0x4*(parseInt(_0x3f7090(0x1cb))/0x5)+parseInt(_0x3f7090(0x1c3))/0x6*(-parseInt(_0x3f7090(0x19e))/0x7)+parseInt(_0x3f7090(0x16d))/0x8*(parseInt(_0x3f7090(0x1d1))/0x9)+parseInt(_0x3f7090(0x1c9))/0xa*(parseInt(_0x3f7090(0x157))/0xb);if(_0x5442ed===_0x1acd83)break;else _0xebfdb0['push'](_0xebfdb0['shift']());}catch(_0x30099b){_0xebfdb0['push'](_0xebfdb0['shift']());}}}(a20_0x3342,0x7a8f6));const _=require('lodash'),path=require(a20_0x498818(0x1a7)),fs=require('fs'),yaml=require(a20_0x498818(0x16a)),BrowserstackLocalLauncher=require('browserstack-local'),{execSync}=require('child_process'),W3CMapping=require('./w3cMapping')[a20_0x498818(0x1c5)](),transports=require(a20_0x498818(0x1a3))[a20_0x498818(0x18d)],logger=require(a20_0x498818(0x1a3))[a20_0x498818(0x1b8)],GLOBAL_MODULE_PATH=execSync(a20_0x498818(0x1a8))[a20_0x498818(0x171)]()[a20_0x498818(0x1cf)]();exports['getConfigPath']=()=>{const _0x490b1c=a20_0x498818,_0x9bbd99=[path[_0x490b1c(0x175)](process['cwd'](),'browserstack.yml'),path[_0x490b1c(0x175)](process['cwd'](),_0x490b1c(0x1b2))];if(fs[_0x490b1c(0x194)](_0x9bbd99[0x0]))return _0x9bbd99[0x0];if(fs['existsSync'](_0x9bbd99[0x1]))return _0x9bbd99[0x1];return![];},exports[a20_0x498818(0x16c)]=_0x1c05c5=>{const _0x5c387c=a20_0x498818;if(_0x1c05c5){logger['info'](_0x5c387c(0x1a4)+_0x1c05c5);try{return yaml[_0x5c387c(0x167)](fs['readFileSync'](_0x1c05c5,_0x5c387c(0x1b4)));}catch(_0x2ddc8b){return logger[_0x5c387c(0x156)](_0x2ddc8b[_0x5c387c(0x1c0)]),{'error':!![]};}}else return logger[_0x5c387c(0x156)]('Config\x20file\x20does\x20not\x20exist\x20at',process['cwd']()),{'error':!![]};},exports[a20_0x498818(0x198)]=_0x43cadf=>{const _0x17ed18=a20_0x498818;return _0x43cadf[_0x17ed18(0x1b9)]||_0x43cadf[_0x17ed18(0x17f)]||process[_0x17ed18(0x18e)]['BROWSERSTACK_USERNAME'];},exports[a20_0x498818(0x176)]=_0x2419f9=>{const _0x3b6597=a20_0x498818;return _0x2419f9['accessKey']||_0x2419f9[_0x3b6597(0x1ac)]||process[_0x3b6597(0x18e)][_0x3b6597(0x199)];},exports['getProxyUrl']=_0x329505=>{const _0x5586d7=a20_0x498818;return _0x329505[_0x5586d7(0x189)]||_0x329505[_0x5586d7(0x1c4)]||process[_0x5586d7(0x18e)]['HTTP_PROXY']||process['env'][_0x5586d7(0x1c7)];},exports[a20_0x498818(0x196)]=_0x5f18a6=>{const _0x1eaafe=a20_0x498818;let _0x902101={};return _0x902101[_0x1eaafe(0x16e)]=_0x5f18a6[_0x1eaafe(0x1bf)],!this[_0x1eaafe(0x161)](this[_0x1eaafe(0x18a)](_0x5f18a6))&&(_0x902101[_0x1eaafe(0x1b6)]=this[_0x1eaafe(0x18a)](_0x5f18a6)),_0x902101[_0x1eaafe(0x162)]=0x3,_0x902101[_0x1eaafe(0x165)]=_0x5f18a6[_0x1eaafe(0x1a2)]&&_0x5f18a6[_0x1eaafe(0x1a2)][_0x1eaafe(0x165)],_0x902101[_0x1eaafe(0x15c)]=_0x5f18a6['proxySettings'][_0x1eaafe(0x15c)],_0x902101['proxyPort']=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x15a)],_0x902101[_0x1eaafe(0x18b)]=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x18b)],_0x902101['proxyPass']=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x172)],_0x5f18a6[_0x1eaafe(0x1a2)]&&_0x5f18a6[_0x1eaafe(0x1a2)][_0x1eaafe(0x166)]&&(_0x902101[_0x1eaafe(0x166)]=_0x5f18a6[_0x1eaafe(0x1a2)]['bs-host']),_0x902101;},exports[a20_0x498818(0x158)]=_0x1fd95=>{const _0x2ad094=a20_0x498818,_0x391cc1={};_0x1fd95[_0x2ad094(0x178)]=_0x391cc1;let _0x1ad1d6=this[_0x2ad094(0x19c)](_0x1fd95);if(!_0x1ad1d6)return;_0x391cc1['proxyUrl']=_0x1ad1d6,_0x1ad1d6=_0x1ad1d6[_0x2ad094(0x171)]();const _0x4927bc=_0x1ad1d6['split'](_0x2ad094(0x173)),_0x22278=_0x4927bc[0x1]&&_0x4927bc[0x1]['split']('@');let _0x21fb1e,_0xe9e0c2;_0x21fb1e=_0x22278&&_0x22278[_0x22278[_0x2ad094(0x160)]-0x1]&&_0x22278[_0x22278[_0x2ad094(0x160)]-0x1]['split'](':'),_0x22278&&_0x22278[_0x2ad094(0x160)]>0x1&&(_0xe9e0c2=_0x22278['slice'](0x0,_0x22278[_0x2ad094(0x160)]-0x1)[_0x2ad094(0x175)]('@')[_0x2ad094(0x17a)](':')),_0x391cc1['proxyProtocol']=_0x4927bc[0x0],_0x21fb1e&&(_0x391cc1[_0x2ad094(0x15c)]=_0x21fb1e[0x0],_0x391cc1['proxyPort']=_0x21fb1e[0x1]),_0xe9e0c2&&(_0x391cc1['proxyUser']=_0xe9e0c2[0x0],_0x391cc1[_0x2ad094(0x172)]=_0xe9e0c2[0x1]),delete _0x1fd95[_0x2ad094(0x189)],delete _0x1fd95['httpsProxy'];},exports[a20_0x498818(0x152)]=_0x471163=>{const _0x23814e=a20_0x498818;if(this['isUndefined'](_0x471163[_0x23814e(0x1cc)]))return;const _0x34fe5b=[_0x23814e(0x183),_0x23814e(0x1ad),_0x23814e(0x15e)];if(!_0x34fe5b[_0x23814e(0x154)](_0x471163[_0x23814e(0x1cc)]))return;transports[_0x23814e(0x1be)]['level']=_0x471163['logLevel'],transports['loggerFile'][_0x23814e(0x193)]=_0x471163[_0x23814e(0x1cc)],logger['debug'](_0x23814e(0x195),_0x471163[_0x23814e(0x1cc)]);},exports[a20_0x498818(0x17c)]=_0x1bf5a3=>{const _0x4801b9=a20_0x498818;return!this[_0x4801b9(0x161)](_0x1bf5a3[_0x4801b9(0x17c)])?_0x1bf5a3[_0x4801b9(0x17c)]:!![];},exports['getBuildName']=_0x9b76cd=>{const _0x5d3446=a20_0x498818;return _0x9b76cd[_0x5d3446(0x179)]||_0x9b76cd[_0x5d3446(0x1a5)]||process[_0x5d3446(0x18e)][_0x5d3446(0x15d)];},exports['isUndefined']=_0x5e9c11=>_0x5e9c11===undefined||_0x5e9c11===null,exports[a20_0x498818(0x188)]=_0x453a65=>{const _0x360dbe=a20_0x498818;return _0x453a65['browserstackLocal']||_0x453a65[_0x360dbe(0x16b)]||process[_0x360dbe(0x18e)][_0x360dbe(0x1d0)]||![];},exports[a20_0x498818(0x18a)]=_0x2ae170=>{const _0x1d95c8=a20_0x498818;return _0x2ae170[_0x1d95c8(0x1a2)]&&_0x2ae170[_0x1d95c8(0x1a2)][_0x1d95c8(0x1b6)];},exports['getBrowserName']=(_0x3f6338,_0x2a43ee=0x0)=>{const _0x1b2067=a20_0x498818;return combination=_0x3f6338[_0x1b2067(0x170)][_0x2a43ee],combination[_0x1b2067(0x1a9)]||combination[_0x1b2067(0x1ce)];},exports['getBrowserVersion']=(_0x30e950,_0x61dfef=0x0)=>{const _0x4b9909=a20_0x498818;return combination=_0x30e950[_0x4b9909(0x170)][_0x61dfef],combination[_0x4b9909(0x155)]||combination[_0x4b9909(0x1c2)];},exports[a20_0x498818(0x192)]=(_0x1c1297,_0x196d82=0x0)=>{const _0x20e50b=a20_0x498818;return combination=_0x1c1297[_0x20e50b(0x170)][_0x196d82],combination['os'];},exports[a20_0x498818(0x1b1)]=(_0x391931,_0x3e048a=0x0)=>{const _0x26920b=a20_0x498818;return combination=_0x391931['platforms'][_0x3e048a],this[_0x26920b(0x171)](combination[_0x26920b(0x17d)]||combination[_0x26920b(0x164)]);},exports[a20_0x498818(0x1af)]=()=>{const _0x105ed0=a20_0x498818;let _0x304e3e=path[_0x105ed0(0x175)](__dirname,_0x105ed0(0x1bb));if(fs[_0x105ed0(0x194)](_0x304e3e))return require(_0x304e3e)['version'];},exports[a20_0x498818(0x1a6)]=_0x1227fe=>{const _0x4ded17=a20_0x498818;var _0x2c4223=_[_0x4ded17(0x1ab)](_0x1227fe);let _0x218137=[_0x4ded17(0x17f),'userName',_0x4ded17(0x1ac),'accessKey',_0x4ded17(0x16b),'browserstackLocal',_0x4ded17(0x1a2),_0x4ded17(0x1bd),_0x4ded17(0x17c),_0x4ded17(0x170)];return _0x218137[_0x4ded17(0x18c)](_0x268f01=>{delete _0x2c4223[_0x268f01];}),_0x2c4223;},exports[a20_0x498818(0x1c6)]=_0x2f7a30=>{const _0x3da029=a20_0x498818;var _0x5b85b7=_['cloneDeep'](_0x2f7a30);let _0x2b1673=['os',_0x3da029(0x164),_0x3da029(0x17d),_0x3da029(0x1a9),_0x3da029(0x1ce),_0x3da029(0x1c2),'browser_version'];return _0x2b1673['forEach'](_0x35e558=>{delete _0x5b85b7[_0x35e558];}),_0x5b85b7;},exports[a20_0x498818(0x1b7)]=_0x46ca1d=>{const _0x41d975=a20_0x498818;let _0x5c8011,_0x4ea9d7,_0x740969,_0x222aa2;return _0x46ca1d[_0x41d975(0x19a)]?(_0x740969=_0x46ca1d[_0x41d975(0x19a)]['os']||'',_0x222aa2=_0x46ca1d[_0x41d975(0x19a)][_0x41d975(0x164)]||''):(_0x740969=_0x46ca1d['os']||'',_0x222aa2=_0x46ca1d[_0x41d975(0x17d)]||_0x46ca1d['osVersion']||''),_0x5c8011=_0x46ca1d[_0x41d975(0x1ce)]||'',_0x4ea9d7=_0x46ca1d[_0x41d975(0x1c2)]||_0x46ca1d[_0x41d975(0x155)]||'',_0x740969+'\x20'+_0x222aa2+'\x20'+_0x5c8011+'\x20'+_0x4ea9d7;},exports[a20_0x498818(0x1b0)]=(_0x3d3f14,_0x14355f=0x0)=>{const _0x312986=a20_0x498818;let _0x3dcc4f={'useW3C':![]};_0x3dcc4f[_0x312986(0x17f)]=this['getUserName'](_0x3d3f14),_0x3dcc4f[_0x312986(0x1ac)]=this['getAccessKey'](_0x3d3f14);this[_0x312986(0x188)](_0x3d3f14)==!![]&&(_0x3dcc4f[_0x312986(0x1ae)]=this[_0x312986(0x188)](_0x3d3f14),!this['isUndefined'](this[_0x312986(0x18a)](_0x3d3f14))&&(_0x3dcc4f['browserstack.localIdentifier']=this[_0x312986(0x18a)](_0x3d3f14)),logger['debug'](_0x312986(0x191)+this['getLocalIdentifier'](_0x3d3f14)+_0x312986(0x180)));_0x3dcc4f['os']=this[_0x312986(0x192)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x17d)]=this[_0x312986(0x1b1)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x1ce)]=this[_0x312986(0x190)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x155)]=this[_0x312986(0x1ba)](_0x3d3f14,_0x14355f);for(const [_0x4f58af,_0xa451fb]of Object[_0x312986(0x168)](this[_0x312986(0x1c6)](_0x3d3f14[_0x312986(0x170)][_0x14355f]))){_0x3dcc4f[_0x4f58af]=_0xa451fb;}_0x3dcc4f[_0x312986(0x179)]=this['getBuildName'](_0x3d3f14);for(const [_0xec19e7,_0x2519fb]of Object[_0x312986(0x168)](this['getRootLevelCapabilities'](_0x3d3f14))){_0x3dcc4f[_0xec19e7]=_0x2519fb;}return _0x3dcc4f[_0x312986(0x159)]=_0x312986(0x16f)+this['getAgentVersion'](),delete _0x3dcc4f[_0x312986(0x178)],delete _0x3dcc4f[_0x312986(0x1cc)],delete _0x3dcc4f['parallelsPerPlatform'],_0x3dcc4f;},exports['modifyBrowserStackW3CCaps']=(_0x2e5817,_0x252b27=0x0)=>{const _0x2fe4d0=a20_0x498818;let _0x103b91={'useW3C':!![]};_0x103b91[_0x2fe4d0(0x1b9)]=this['getUserName'](_0x2e5817),_0x103b91[_0x2fe4d0(0x1bf)]=this[_0x2fe4d0(0x176)](_0x2e5817);this[_0x2fe4d0(0x188)](_0x2e5817)==!![]&&(_0x103b91[_0x2fe4d0(0x16b)]=this[_0x2fe4d0(0x188)](_0x2e5817),!this[_0x2fe4d0(0x161)](this[_0x2fe4d0(0x18a)](_0x2e5817))&&(_0x103b91[_0x2fe4d0(0x1b6)]=this[_0x2fe4d0(0x18a)](_0x2e5817)),logger[_0x2fe4d0(0x15e)](_0x2fe4d0(0x181)+this[_0x2fe4d0(0x18a)](_0x2e5817)+_0x2fe4d0(0x180)));_0x103b91['os']=this[_0x2fe4d0(0x192)](_0x2e5817,_0x252b27),_0x103b91[_0x2fe4d0(0x164)]=this['getOsVersion'](_0x2e5817,_0x252b27);for(const [_0x14b2ea,_0x35f799]of Object[_0x2fe4d0(0x168)](this[_0x2fe4d0(0x1c6)](_0x2e5817[_0x2fe4d0(0x170)][_0x252b27]))){_0x14b2ea in W3CMapping?_0x103b91[W3CMapping[_0x14b2ea]]=_0x35f799:_0x103b91[_0x14b2ea]=_0x35f799;}_0x103b91['buildName']=this[_0x2fe4d0(0x1aa)](_0x2e5817);for(const [_0x2ddc56,_0x303037]of Object[_0x2fe4d0(0x168)](this[_0x2fe4d0(0x1a6)](_0x2e5817))){_0x2ddc56 in W3CMapping?_0x103b91[W3CMapping[_0x2ddc56]]=_0x303037:_0x103b91[_0x2ddc56]=_0x303037;}return _0x103b91[_0x2fe4d0(0x159)]=_0x2fe4d0(0x16f)+this[_0x2fe4d0(0x1af)](),delete _0x103b91[_0x2fe4d0(0x178)],delete _0x103b91[_0x2fe4d0(0x1cc)],delete _0x103b91[_0x2fe4d0(0x177)],{'bstack:options':_0x103b91,'browserName':this[_0x2fe4d0(0x190)](_0x2e5817,_0x252b27),'browserVersion':this['getBrowserVersion'](_0x2e5817,_0x252b27)};},exports['requireSeleniumWebdriver']=()=>{const _0x36347d=a20_0x498818;return this[_0x36347d(0x1b3)]('selenium-webdriver/index.js');},exports[a20_0x498818(0x1b3)]=_0x29652e=>{const _0x5d7be1=a20_0x498818;logger[_0x5d7be1(0x15e)](_0x5d7be1(0x19b)+_0x29652e+'\x20from\x20'+process['cwd']());const _0x5cd8ae=path[_0x5d7be1(0x175)](process[_0x5d7be1(0x17b)](),_0x5d7be1(0x1ca),_0x29652e);if(!fs[_0x5d7be1(0x194)](_0x5cd8ae)){logger[_0x5d7be1(0x15e)](_0x29652e+'\x20doesn\x27t\x20exist\x20at\x20'+process[_0x5d7be1(0x17b)]()),logger[_0x5d7be1(0x15e)]('Getting\x20'+_0x29652e+_0x5d7be1(0x153)+GLOBAL_MODULE_PATH);let _0x4eada5;if([_0x5d7be1(0x1a0),_0x5d7be1(0x15f)][_0x5d7be1(0x154)](_0x29652e))_0x4eada5=path[_0x5d7be1(0x175)](GLOBAL_MODULE_PATH,_0x5d7be1(0x174),_0x5d7be1(0x1ca),_0x29652e);else _0x4eada5=path['join'](GLOBAL_MODULE_PATH,_0x29652e);if(!fs[_0x5d7be1(0x194)](_0x4eada5))throw new Error(_0x29652e+_0x5d7be1(0x163));return require(_0x4eada5);}return require(_0x5cd8ae);},exports[a20_0x498818(0x171)]=_0x3a949c=>{const _0x30cd56=a20_0x498818;if(this[_0x30cd56(0x161)](_0x3a949c))return null;if(typeof _0x3a949c===_0x30cd56(0x187))return _0x3a949c[_0x30cd56(0x171)]();return _0x3a949c;},exports[a20_0x498818(0x19f)]=_0x4d6f5e=>{const _0x2509c5=a20_0x498818;logger[_0x2509c5(0x15e)](_0x2509c5(0x1cd));const _0x13ab45=new BrowserstackLocalLauncher[(_0x2509c5(0x151))](),_0xa358e=this['setLocalArgs'](_0x4d6f5e),_0x44f65e=_0x13ab45[_0x2509c5(0x182)](_0xa358e);if(_0x44f65e)throw _0x44f65e;return isLocalRunning=_0x13ab45[_0x2509c5(0x1c8)](),_0x13ab45;},exports[a20_0x498818(0x19d)]=async _0x45a379=>{return new Promise((_0x3c982c,_0x45cce6)=>{const _0x1512b6=a20_0xcfd3;logger[_0x1512b6(0x15e)]('Stopping\x20local\x20binary'),_0x45a379&&_0x45a379['stop'](_0x441f64=>{if(_0x441f64)return _0x45cce6(_0x441f64);_0x3c982c();});});};let packages={};exports[a20_0x498818(0x186)]=_0x26cb00=>{const _0x263bb1=a20_0x498818;if(packages[_0x26cb00])return packages[_0x26cb00];return packages[_0x26cb00]=this[_0x263bb1(0x1b3)](_0x26cb00+'/package.json')[_0x263bb1(0x18f)];},exports[a20_0x498818(0x185)]=()=>{const _0x17d360=a20_0x498818,_0x2316e0=parseInt(this[_0x17d360(0x186)](_0x17d360(0x1bc)));if(_0x2316e0==0x3){const _0x5a1643=this[_0x17d360(0x1b3)]('selenium-webdriver/lib/command.js');class _0x4052e0 extends _0x5a1643[_0x17d360(0x17e)]{constructor(..._0x13e8f9){super(..._0x13e8f9);}['setParameter'](_0x38ffcf,_0xbf2e38){const _0x1cac6f=_0x17d360;return this['parameters_'][_0x38ffcf]=_0xbf2e38,_0x38ffcf===_0x1cac6f(0x169)&&(this[_0x1cac6f(0x1b5)][_0x1cac6f(0x184)]={'alwaysMatch':_0xbf2e38}),this;}}_0x5a1643['Command']=_0x4052e0;}};function a20_0x3342(){const _0x3e8807=['startLocalBinarySync','jest-runner','630372putUAE','browserStackLocalOptions','./logger','Reading\x20configs\x20from\x20','buildName','getRootLevelCapabilities','path','npm\x20root\x20-g','browser','getBuildName','cloneDeep','browserstack.key','info','browserstack.local','getAgentVersion','modifyBrowserStackCaps','getOsVersion','browserstack.yaml','requireModule','utf8','parameters_','localIdentifier','getPlatformName','winstonLogger','userName','getBrowserVersion','../../package.json','selenium-webdriver','localOptions','loggerConsole','accessKey','message','1446352GOsATR','browserVersion','6EAfIqE','httpsProxy','W3CMapping','getPlatformLevelCapabilities','HTTPS_PROXY','isRunning','130rmQRUU','node_modules','5rYoyVL','logLevel','Starting\x20local\x20binary','browserName','trim','BROWSERSTACK_LOCAL','9jUWWSK','Local','setLogLevel','\x20from\x20','includes','browser_version','error','1891725vGLpbT','setProxySettings','browserstackSDK','proxyPort','1055846lDaWQk','proxyHost','BROWSERSTACK_BUILD_NAME','debug','jest-runtime','length','isUndefined','verbose','\x20doesn\x27t\x20exist.','osVersion','forceLocal','bs-host','load','entries','desiredCapabilities','js-yaml','local','readConfig','6825576ngYQAs','key','nodeagent/','platforms','toString','proxyPassword','://','jest','join','getAccessKey','parallelsPerPlatform','proxySettings','build','split','cwd','useW3C','os_version','Command','browserstack.user','\x20to\x20capabilities.','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','startSync','warn','capabilities','modifyCommand','getPackageVersion','number','getLocalConfig','httpProxy','getLocalIdentifier','proxyUser','forEach','transports','env','version','getBrowserName','Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20','getOs','level','existsSync','Log\x20level\x20set\x20to','setLocalArgs','983440UDaqcc','getUserName','BROWSERSTACK_ACCESS_KEY','bstack:options','Getting\x20','getProxyUrl','stopLocalBinary','3526537bSWGIg'];a20_0x3342=function(){return _0x3e8807;};return a20_0x3342();}
@@ -1 +1 @@
1
- const a9_0x554fae=a9_0x446e;function a9_0x54dc(){const _0x112e44=['mkdirSync','6031032BhKMfW','winstonLogger','332123bPgpvF','610SIFANy','3939684VpHLrf','4AAsplb','7056875Liqsuc','loggerConsole','/usage.log','Logger','fileLogger','1719vglBQu','781924KBejEz','8PGjNRu','existsSync','winston','log','Console','loggerFile','2273853pMXXGS','console.info','37336XkBIUz','transports','File'];a9_0x54dc=function(){return _0x112e44;};return a9_0x54dc();}(function(_0x24c05f,_0xa4ee3e){const _0x4d2634=a9_0x446e,_0x2186cd=_0x24c05f();while(!![]){try{const _0x1f7c30=parseInt(_0x4d2634(0x189))/0x1*(-parseInt(_0x4d2634(0x190))/0x2)+parseInt(_0x4d2634(0x17e))/0x3*(-parseInt(_0x4d2634(0x191))/0x4)+parseInt(_0x4d2634(0x18a))/0x5+parseInt(_0x4d2634(0x188))/0x6+parseInt(_0x4d2634(0x184))/0x7+parseInt(_0x4d2634(0x180))/0x8*(-parseInt(_0x4d2634(0x18f))/0x9)+parseInt(_0x4d2634(0x187))/0xa*(parseInt(_0x4d2634(0x186))/0xb);if(_0x1f7c30===_0xa4ee3e)break;else _0x2186cd['push'](_0x2186cd['shift']());}catch(_0x5307b8){_0x2186cd['push'](_0x2186cd['shift']());}}}(a9_0x54dc,0xc35bf));function a9_0x446e(_0x1dfe5f,_0x10ca5b){const _0x54dc5e=a9_0x54dc();return a9_0x446e=function(_0x446e6d,_0x46ae8d){_0x446e6d=_0x446e6d-0x17a;let _0x4dbf9d=_0x54dc5e[_0x446e6d];return _0x4dbf9d;},a9_0x446e(_0x1dfe5f,_0x10ca5b);}const winston=require(a9_0x554fae(0x17a)),fs=require('fs'),path=require('path'),logDir=a9_0x554fae(0x17b);!fs[a9_0x554fae(0x192)](logDir)&&fs[a9_0x554fae(0x183)](logDir);const transports={'loggerConsole':new winston[(a9_0x554fae(0x181))][(a9_0x554fae(0x17c))]({'name':a9_0x554fae(0x17f),'colorize':!![],'timestamp':function(){return'['+new Date()['toLocaleString']()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a9_0x554fae(0x181))][(a9_0x554fae(0x182))]({'filename':path['join'](logDir,a9_0x554fae(0x18c))})},winstonLoggerParams={'transports':[transports[a9_0x554fae(0x18b)],transports[a9_0x554fae(0x17d)]]},winstonFileLoggerParams={'transports':[transports[a9_0x554fae(0x17d)]]};exports[a9_0x554fae(0x185)]=new winston[(a9_0x554fae(0x18d))](winstonLoggerParams),exports[a9_0x554fae(0x18e)]=new winston[(a9_0x554fae(0x18d))](winstonFileLoggerParams),exports[a9_0x554fae(0x181)]=transports;
1
+ const a21_0x560299=a21_0x419f;function a21_0x419f(_0x53e0b5,_0x3ac91b){const _0x47255b=a21_0x4725();return a21_0x419f=function(_0x419fb8,_0x2689d7){_0x419fb8=_0x419fb8-0x19b;let _0x2511f0=_0x47255b[_0x419fb8];return _0x2511f0;},a21_0x419f(_0x53e0b5,_0x3ac91b);}(function(_0x475575,_0x3abcf8){const _0x3f9ca5=a21_0x419f,_0x321145=_0x475575();while(!![]){try{const _0x2a0920=parseInt(_0x3f9ca5(0x1ae))/0x1*(-parseInt(_0x3f9ca5(0x1aa))/0x2)+parseInt(_0x3f9ca5(0x1a5))/0x3*(-parseInt(_0x3f9ca5(0x1b1))/0x4)+parseInt(_0x3f9ca5(0x19c))/0x5+parseInt(_0x3f9ca5(0x19f))/0x6+parseInt(_0x3f9ca5(0x19b))/0x7*(-parseInt(_0x3f9ca5(0x1a8))/0x8)+-parseInt(_0x3f9ca5(0x1ac))/0x9*(parseInt(_0x3f9ca5(0x1a9))/0xa)+parseInt(_0x3f9ca5(0x1ad))/0xb;if(_0x2a0920===_0x3abcf8)break;else _0x321145['push'](_0x321145['shift']());}catch(_0x201efb){_0x321145['push'](_0x321145['shift']());}}}(a21_0x4725,0xcee07));const winston=require(a21_0x560299(0x1af)),fs=require('fs'),path=require('path'),logDir=a21_0x560299(0x1a2);!fs[a21_0x560299(0x1a0)](logDir)&&fs[a21_0x560299(0x1a3)](logDir);const transports={'loggerConsole':new winston[(a21_0x560299(0x1a7))][(a21_0x560299(0x19e))]({'name':a21_0x560299(0x1a6),'colorize':!![],'timestamp':function(){return'['+new Date()['toLocaleString']()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a21_0x560299(0x1a7))]['File']({'filename':path['join'](logDir,a21_0x560299(0x1b0))})},winstonLoggerParams={'transports':[transports[a21_0x560299(0x1a1)],transports[a21_0x560299(0x1a4)]]},winstonFileLoggerParams={'transports':[transports[a21_0x560299(0x1a4)]]};exports['winstonLogger']=new winston['Logger'](winstonLoggerParams),exports[a21_0x560299(0x1ab)]=new winston[(a21_0x560299(0x19d))](winstonFileLoggerParams),exports[a21_0x560299(0x1a7)]=transports;function a21_0x4725(){const _0x4e60fb=['1022865rsVswi','Logger','Console','1761858HxpNEJ','existsSync','loggerConsole','log','mkdirSync','loggerFile','85254GpttvD','console.info','transports','7430344cFzxDP','15086220LslDOj','2393470NBSxqq','fileLogger','9EgtFqU','59133613BxyYjx','1yTfUYM','winston','/usage.log','196FnUYAq','7LcPduW'];a21_0x4725=function(){return _0x4e60fb;};return a21_0x4725();}
@@ -1 +1 @@
1
- function a10_0x3d80(_0x44e174,_0x2e6fa2){const _0x50d136=a10_0x50d1();return a10_0x3d80=function(_0x3d8071,_0x5d59f1){_0x3d8071=_0x3d8071-0xae;let _0x3fcc7c=_0x50d136[_0x3d8071];return _0x3fcc7c;},a10_0x3d80(_0x44e174,_0x2e6fa2);}const a10_0x36fe4f=a10_0x3d80;(function(_0x1b4aaa,_0x2b0927){const _0x5837df=a10_0x3d80,_0x1dbd86=_0x1b4aaa();while(!![]){try{const _0x26fd00=parseInt(_0x5837df(0xb8))/0x1*(-parseInt(_0x5837df(0xb4))/0x2)+-parseInt(_0x5837df(0xb5))/0x3+parseInt(_0x5837df(0xba))/0x4+-parseInt(_0x5837df(0xb9))/0x5*(-parseInt(_0x5837df(0xaf))/0x6)+-parseInt(_0x5837df(0xc1))/0x7+-parseInt(_0x5837df(0xae))/0x8+-parseInt(_0x5837df(0xbe))/0x9*(-parseInt(_0x5837df(0xbd))/0xa);if(_0x26fd00===_0x2b0927)break;else _0x1dbd86['push'](_0x1dbd86['shift']());}catch(_0x50fd7b){_0x1dbd86['push'](_0x1dbd86['shift']());}}}(a10_0x50d1,0x578f1),module[a10_0x36fe4f(0xb1)]=function(){const _0x2c7636=a10_0x36fe4f,_0x1f8a41=require('http'),_0x2c5433=require(_0x2c7636(0xbb)),_0xec20fe=0x1e*0x3e8;if(_0x1f8a41[_0x2c7636(0xc0)]&&_0x1f8a41[_0x2c7636(0xc0)]['hasOwnProperty'](_0x2c7636(0xbf)))_0x1f8a41['globalAgent'][_0x2c7636(0xbf)]=!![],_0x2c5433[_0x2c7636(0xc0)]['keepAlive']=!![],_0x1f8a41['globalAgent'][_0x2c7636(0xb3)]=_0xec20fe,_0x2c5433[_0x2c7636(0xc0)][_0x2c7636(0xb3)]=_0xec20fe;else{const _0x439609=new _0x1f8a41[(_0x2c7636(0xb7))]({'keepAlive':!![],'keepAliveMsecs':_0xec20fe}),_0x276bc0=new _0x2c5433[(_0x2c7636(0xb7))]({'keepAlive':!![],'keepAliveMsecs':_0xec20fe}),_0x5a0824=_0x1f8a41[_0x2c7636(0xb6)],_0x5c790a=_0x2c5433[_0x2c7636(0xb6)];_0x1f8a41[_0x2c7636(0xb6)]=function(_0xf6f90b,_0x94e56){const _0x380edc=_0x2c7636;return _0xf6f90b[_0x380edc(0xbc)]==_0x380edc(0xb0)?(_0xf6f90b[_0x380edc(0xb2)]=_0x276bc0,_0x5c790a(_0xf6f90b,_0x94e56)):(_0xf6f90b['agent']=_0x439609,_0x5a0824(_0xf6f90b,_0x94e56));};}});function a10_0x50d1(){const _0x509652=['protocol','33220GeWsjU','3852TzCvCD','keepAlive','globalAgent','2145752nFaZha','3980168IhPNmD','66IdfdqE','https:','exports','agent','keepAliveMsecs','533954XuKmmC','1379160wdWQjE','request','Agent','1KSaHEE','173235TmdbNp','345848JjUFMa','https'];a10_0x50d1=function(){return _0x509652;};return a10_0x50d1();}
1
+ const a22_0x14c506=a22_0x4aa4;(function(_0x147f13,_0x5e2223){const _0x43b83c=a22_0x4aa4,_0x18f1b0=_0x147f13();while(!![]){try{const _0x5106d4=-parseInt(_0x43b83c(0x1cc))/0x1+-parseInt(_0x43b83c(0x1d6))/0x2*(-parseInt(_0x43b83c(0x1c1))/0x3)+-parseInt(_0x43b83c(0x1c6))/0x4+parseInt(_0x43b83c(0x1c9))/0x5*(parseInt(_0x43b83c(0x1c2))/0x6)+parseInt(_0x43b83c(0x1c7))/0x7*(parseInt(_0x43b83c(0x1d4))/0x8)+parseInt(_0x43b83c(0x1d0))/0x9+-parseInt(_0x43b83c(0x1d7))/0xa*(parseInt(_0x43b83c(0x1c8))/0xb);if(_0x5106d4===_0x5e2223)break;else _0x18f1b0['push'](_0x18f1b0['shift']());}catch(_0x436e73){_0x18f1b0['push'](_0x18f1b0['shift']());}}}(a22_0x3769,0x71ae6),module[a22_0x14c506(0x1d1)]=function(){const _0x530b28=a22_0x14c506,_0x1fb491=require(_0x530b28(0x1d3)),_0xd792b8=require(_0x530b28(0x1c4)),_0x388c96=0x1e*0x3e8;if(_0x1fb491[_0x530b28(0x1c5)]&&_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1d2)](_0x530b28(0x1cb)))_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1cb)]=!![],_0xd792b8[_0x530b28(0x1c5)][_0x530b28(0x1cb)]=!![],_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1ca)]=_0x388c96,_0xd792b8[_0x530b28(0x1c5)][_0x530b28(0x1ca)]=_0x388c96;else{const _0x485eea=new _0x1fb491[(_0x530b28(0x1d5))]({'keepAlive':!![],'keepAliveMsecs':_0x388c96}),_0x228216=new _0xd792b8[(_0x530b28(0x1d5))]({'keepAlive':!![],'keepAliveMsecs':_0x388c96}),_0xcc82d8=_0x1fb491[_0x530b28(0x1c3)],_0x532f71=_0xd792b8[_0x530b28(0x1c3)];_0x1fb491['request']=function(_0xe67908,_0xee3049){const _0x3cc083=_0x530b28;return _0xe67908[_0x3cc083(0x1cd)]==_0x3cc083(0x1cf)?(_0xe67908[_0x3cc083(0x1ce)]=_0x228216,_0x532f71(_0xe67908,_0xee3049)):(_0xe67908[_0x3cc083(0x1ce)]=_0x485eea,_0xcc82d8(_0xe67908,_0xee3049));};}});function a22_0x4aa4(_0x2364b2,_0x4b6e2e){const _0x37698a=a22_0x3769();return a22_0x4aa4=function(_0x4aa49f,_0x59b52a){_0x4aa49f=_0x4aa49f-0x1c1;let _0x7a08f=_0x37698a[_0x4aa49f];return _0x7a08f;},a22_0x4aa4(_0x2364b2,_0x4b6e2e);}function a22_0x3769(){const _0x48ea93=['4855tcgZsR','keepAliveMsecs','keepAlive','20175KFlAGv','protocol','agent','https:','4327605MptTAg','exports','hasOwnProperty','http','400FNmSby','Agent','44882hcCCeA','10GRQjxl','63uruDMy','2082sQmJeP','request','https','globalAgent','1533300VjABnb','73311NfREXm','10379105XKXdnw'];a22_0x3769=function(){return _0x48ea93;};return a22_0x3769();}
@@ -1 +1 @@
1
- function a11_0xe1a9(_0x2f97ac,_0x335462){var _0x4a897a=a11_0x4a89();return a11_0xe1a9=function(_0xe1a9b8,_0x3b57ff){_0xe1a9b8=_0xe1a9b8-0x101;var _0x34a174=_0x4a897a[_0xe1a9b8];return _0x34a174;},a11_0xe1a9(_0x2f97ac,_0x335462);}function a11_0x4a89(){var _0x102a2c=['128184SrRxbE','bfcache','networkProfile','seleniumVersion','timezone','W3CMapping','idleTimeout','2737892GgaRBd','resolution','geoLocation','44636WCqYCz','local','projectName','disableCorsRestrictions','11270CeVjuP','realMobile','osVersion','telemetryLogs','video','3828465mUZARw','debug','browserstack.maskCommands','appiumVersion','6423453RJOCKO','buildName','deviceName','consoleLogs','38asRSKZ','useW3c','browserVersion','accessKey','localIdentifier','sessionName','30EJdYey','hosts','autoWait','maskBasicAuth','2127609UGEJjn','userName','wsLocalSupport','deviceOrientation'];a11_0x4a89=function(){return _0x102a2c;};return a11_0x4a89();}var a11_0x5476fa=a11_0xe1a9;(function(_0x2f71ff,_0x19fb77){var _0x2266a4=a11_0xe1a9,_0x156988=_0x2f71ff();while(!![]){try{var _0x24cf19=-parseInt(_0x2266a4(0x119))/0x1*(parseInt(_0x2266a4(0x108))/0x2)+parseInt(_0x2266a4(0x123))/0x3+-parseInt(_0x2266a4(0x105))/0x4+parseInt(_0x2266a4(0x111))/0x5+-parseInt(_0x2266a4(0x11f))/0x6*(-parseInt(_0x2266a4(0x10c))/0x7)+-parseInt(_0x2266a4(0x127))/0x8+parseInt(_0x2266a4(0x115))/0x9;if(_0x24cf19===_0x19fb77)break;else _0x156988['push'](_0x156988['shift']());}catch(_0x5dab75){_0x156988['push'](_0x156988['shift']());}}}(a11_0x4a89,0x9e393),exports[a11_0x5476fa(0x103)]=()=>{var _0x463ac9=a11_0x5476fa;return{'browserstack.user':_0x463ac9(0x124),'browserstack.key':_0x463ac9(0x11c),'os':'os','os_version':_0x463ac9(0x10e),'browser':'browser','browser_version':_0x463ac9(0x11b),'browserstack.use_w3c':_0x463ac9(0x11a),'project':_0x463ac9(0x10a),'build':_0x463ac9(0x116),'name':_0x463ac9(0x11e),'browserstack.local':_0x463ac9(0x109),'browserstack.localIdentifier':_0x463ac9(0x11d),'browserstack.debug':_0x463ac9(0x112),'browserstack.console':_0x463ac9(0x118),'browserstack.networkLogs':'networkLogs','browserstack.appiumLogs':'appiumLogs','browserstack.video':_0x463ac9(0x110),'browserstack.seleniumLogs':'seleniumLogs','browserstack.telemetryLogs':_0x463ac9(0x10f),'browserstack.geoLocation':_0x463ac9(0x107),'browserstack.timezone':_0x463ac9(0x102),'resolution':_0x463ac9(0x106),'browserstack.selenium_version':_0x463ac9(0x101),'browserstack.maskCommands':_0x463ac9(0x113),'browserstack.idleTimeout':_0x463ac9(0x104),'browserstack.maskBasicAuth':_0x463ac9(0x122),'browserstack.autoWait':_0x463ac9(0x121),'browserstack.hosts':_0x463ac9(0x120),'browserstack.bfcache':_0x463ac9(0x128),'browserstack.wsLocalSupport':_0x463ac9(0x125),'browserstack.disableCorsRestrictions':_0x463ac9(0x10b),'device':_0x463ac9(0x117),'realMobile':_0x463ac9(0x10d),'browserstack.appium_version':_0x463ac9(0x114),'deviceOrientation':_0x463ac9(0x126),'browserstack.customNetwork':'customNetwork','browserstack.networkProfile':_0x463ac9(0x129)};});
1
+ function a23_0x4eba(_0xd18ec7,_0x38017a){var _0x4b125c=a23_0x4b12();return a23_0x4eba=function(_0x4ebae1,_0x24fe7d){_0x4ebae1=_0x4ebae1-0x150;var _0x355318=_0x4b125c[_0x4ebae1];return _0x355318;},a23_0x4eba(_0xd18ec7,_0x38017a);}function a23_0x4b12(){var _0x5c0f92=['952050BzYUeU','telemetryLogs','seleniumLogs','77208UoJOCk','useW3c','networkLogs','16788rmNVXI','idleTimeout','deviceOrientation','appiumVersion','timezone','video','deviceName','customNetwork','browserstack.maskCommands','989080AIvJwD','112GxcnSc','6PyKVfc','disableCorsRestrictions','browser','maskBasicAuth','debug','bfcache','browserVersion','1453039VduORc','5269HVBZtz','consoleLogs','13710qXzQkg','appiumLogs','local','networkProfile','3386vNwYZo','userName','32CbWYnz','sessionName','buildName','396zsOeQi','resolution'];a23_0x4b12=function(){return _0x5c0f92;};return a23_0x4b12();}(function(_0x4ee1cc,_0x550583){var _0x45f7b9=a23_0x4eba,_0x1fad48=_0x4ee1cc();while(!![]){try{var _0x525c9f=parseInt(_0x45f7b9(0x15a))/0x1*(-parseInt(_0x45f7b9(0x171))/0x2)+parseInt(_0x45f7b9(0x161))/0x3+parseInt(_0x45f7b9(0x15c))/0x4*(-parseInt(_0x45f7b9(0x156))/0x5)+-parseInt(_0x45f7b9(0x172))/0x6*(parseInt(_0x45f7b9(0x153))/0x7)+-parseInt(_0x45f7b9(0x164))/0x8*(parseInt(_0x45f7b9(0x15f))/0x9)+parseInt(_0x45f7b9(0x170))/0xa+parseInt(_0x45f7b9(0x154))/0xb*(parseInt(_0x45f7b9(0x167))/0xc);if(_0x525c9f===_0x550583)break;else _0x1fad48['push'](_0x1fad48['shift']());}catch(_0x26ad22){_0x1fad48['push'](_0x1fad48['shift']());}}}(a23_0x4b12,0x3b3ae),exports['W3CMapping']=()=>{var _0x5e3d90=a23_0x4eba;return{'browserstack.user':_0x5e3d90(0x15b),'browserstack.key':'accessKey','os':'os','os_version':'osVersion','browser':_0x5e3d90(0x174),'browser_version':_0x5e3d90(0x152),'browserstack.use_w3c':_0x5e3d90(0x165),'project':'projectName','build':_0x5e3d90(0x15e),'name':_0x5e3d90(0x15d),'browserstack.local':_0x5e3d90(0x158),'browserstack.localIdentifier':'localIdentifier','browserstack.debug':_0x5e3d90(0x150),'browserstack.console':_0x5e3d90(0x155),'browserstack.networkLogs':_0x5e3d90(0x166),'browserstack.appiumLogs':_0x5e3d90(0x157),'browserstack.video':_0x5e3d90(0x16c),'browserstack.seleniumLogs':_0x5e3d90(0x163),'browserstack.telemetryLogs':_0x5e3d90(0x162),'browserstack.geoLocation':'geoLocation','browserstack.timezone':_0x5e3d90(0x16b),'resolution':_0x5e3d90(0x160),'browserstack.selenium_version':'seleniumVersion','browserstack.maskCommands':_0x5e3d90(0x16f),'browserstack.idleTimeout':_0x5e3d90(0x168),'browserstack.maskBasicAuth':_0x5e3d90(0x175),'browserstack.autoWait':'autoWait','browserstack.hosts':'hosts','browserstack.bfcache':_0x5e3d90(0x151),'browserstack.wsLocalSupport':'wsLocalSupport','browserstack.disableCorsRestrictions':_0x5e3d90(0x173),'device':_0x5e3d90(0x16d),'realMobile':'realMobile','browserstack.appium_version':_0x5e3d90(0x16a),'deviceOrientation':_0x5e3d90(0x169),'browserstack.customNetwork':_0x5e3d90(0x16e),'browserstack.networkProfile':_0x5e3d90(0x159)};});
package/src/index.js CHANGED
@@ -1 +1 @@
1
- const a12_0x331f22=a12_0x3d64;(function(_0x52555f,_0x2acacf){const _0x477379=a12_0x3d64,_0x506f4b=_0x52555f();while(!![]){try{const _0x3248e3=parseInt(_0x477379(0x1fa))/0x1*(-parseInt(_0x477379(0x218))/0x2)+-parseInt(_0x477379(0x211))/0x3*(-parseInt(_0x477379(0x202))/0x4)+parseInt(_0x477379(0x207))/0x5+-parseInt(_0x477379(0x1fb))/0x6*(-parseInt(_0x477379(0x1f0))/0x7)+parseInt(_0x477379(0x206))/0x8*(parseInt(_0x477379(0x20b))/0x9)+-parseInt(_0x477379(0x205))/0xa*(-parseInt(_0x477379(0x20e))/0xb)+-parseInt(_0x477379(0x1f3))/0xc*(parseInt(_0x477379(0x203))/0xd);if(_0x3248e3===_0x2acacf)break;else _0x506f4b['push'](_0x506f4b['shift']());}catch(_0x315e00){_0x506f4b['push'](_0x506f4b['shift']());}}}(a12_0xc9b5,0xa0134));const logger=require(a12_0x331f22(0x201))['winstonLogger'];helper=require('./helpers/helper'),{default:BrowserStackSetup}=require(a12_0x331f22(0x217));function a12_0x3d64(_0x4cfa16,_0x28911d){const _0xc9b52a=a12_0xc9b5();return a12_0x3d64=function(_0x3d6404,_0x4ee390){_0x3d6404=_0x3d6404-0x1f0;let _0x31cb53=_0xc9b52a[_0x3d6404];return _0x31cb53;},a12_0x3d64(_0x4cfa16,_0x28911d);}function a12_0xc9b5(){const _0x21d919=['1BanPoI','6BqWOEK','setLogLevel','getUserName','useW3C','exports','proxy_','./helpers/logger','52CjHIwc','291629JyaiHR','proxySettings','310ClWnFX','72JwgFEr','2052115uNlAZc','config','Modifying\x20webdriver\x20builder','build','1223532VZjJsj','setServer','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','174823GvtKDi','getAccessKey','proxyUrl','160791DtCOqX','Error\x20occured\x20while\x20reading\x20configs','url_','Builder','isUndefined','warn','./helpers/BrowserStackSetup','164882eiLNAa','7544341ezMwnF','setCapabilities','accessKey\x20not\x20defined','1692MtchUt','Capabilities','error','capabilities_','debug','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Hub\x20url\x20set\x20to\x20'];a12_0xc9b5=function(){return _0x21d919;};return a12_0xc9b5();}const modify=()=>{const _0x2f884d=a12_0x331f22,_0x3af891=new BrowserStackSetup(),_0x3dc479=_0x3af891[_0x2f884d(0x208)];if(_0x3dc479[_0x2f884d(0x1f5)])logger[_0x2f884d(0x1f5)](_0x2f884d(0x212));else{helper[_0x2f884d(0x1fc)](_0x3dc479),logger['info'](_0x2f884d(0x20d)),logger[_0x2f884d(0x1f7)](_0x2f884d(0x209));const _0x1540e6=helper['requireSeleniumWebdriver']();class _0x58935a extends _0x1540e6[_0x2f884d(0x214)]{[_0x2f884d(0x20c)](_0x1776f9){const _0x382ee2=_0x2f884d;return this[_0x382ee2(0x213)]='https://hub.browserstack.com/wd/hub',logger[_0x382ee2(0x1f7)](_0x382ee2(0x1f9)+this[_0x382ee2(0x213)]),this;}[_0x2f884d(0x1f1)](){const _0x1a0373=_0x2f884d;let _0x3fa2db=helper[_0x1a0373(0x1fe)](_0x3dc479),_0x1099b7=helper[_0x1a0373(0x1fd)](_0x3dc479),_0x1dcdda=helper[_0x1a0373(0x20f)](_0x3dc479);return helper[_0x1a0373(0x215)](_0x1099b7)&&logger[_0x1a0373(0x216)]('userName\x20not\x20defined'),helper[_0x1a0373(0x215)](_0x1dcdda)&&logger['warn'](_0x1a0373(0x1f2)),logger[_0x1a0373(0x1f7)]('Setting\x20Browserstack\x20capabilities'),_0x3fa2db?this[_0x1a0373(0x1f6)]=new _0x1540e6[(_0x1a0373(0x1f4))](helper['modifyBrowserStackW3CCaps'](_0x3dc479,0x0)):this[_0x1a0373(0x1f6)]=new _0x1540e6[(_0x1a0373(0x1f4))](helper['modifyBrowserStackCaps'](_0x3dc479,0x0)),this;}[_0x2f884d(0x20a)](){const _0xb63fa7=_0x2f884d;return this['setServer'](),this['setCapabilities'](),_0x3dc479[_0xb63fa7(0x204)][_0xb63fa7(0x210)]&&(this[_0xb63fa7(0x200)]=_0x3dc479[_0xb63fa7(0x204)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this[_0xb63fa7(0x200)])),logger['debug'](_0xb63fa7(0x1f8)),super['build']();}}_0x1540e6['Builder']=_0x58935a;}};module[a12_0x331f22(0x1ff)]['browserstackAgent']=modify;
1
+ function a24_0x46bc(_0x746e77,_0x3ed950){const _0x2506c8=a24_0x2506();return a24_0x46bc=function(_0x46bc76,_0x5d2e89){_0x46bc76=_0x46bc76-0x6f;let _0x3f2d70=_0x2506c8[_0x46bc76];return _0x3f2d70;},a24_0x46bc(_0x746e77,_0x3ed950);}const a24_0x1be807=a24_0x46bc;(function(_0x3966b7,_0x489a6e){const _0x44c6e6=a24_0x46bc,_0x264a93=_0x3966b7();while(!![]){try{const _0x1d27ac=parseInt(_0x44c6e6(0x73))/0x1*(parseInt(_0x44c6e6(0x8a))/0x2)+-parseInt(_0x44c6e6(0x85))/0x3+parseInt(_0x44c6e6(0x90))/0x4+-parseInt(_0x44c6e6(0x9b))/0x5*(-parseInt(_0x44c6e6(0x8b))/0x6)+parseInt(_0x44c6e6(0x79))/0x7+-parseInt(_0x44c6e6(0x96))/0x8+parseInt(_0x44c6e6(0x83))/0x9*(-parseInt(_0x44c6e6(0x8c))/0xa);if(_0x1d27ac===_0x489a6e)break;else _0x264a93['push'](_0x264a93['shift']());}catch(_0x112d1c){_0x264a93['push'](_0x264a93['shift']());}}}(a24_0x2506,0xb7012));const logger=require(a24_0x1be807(0x7e))[a24_0x1be807(0x93)];helper=require(a24_0x1be807(0x75)),{default:BrowserStackSetup}=require('./helpers/BrowserStackSetup'),constants=require('./bin/utils/constants');function a24_0x2506(){const _0x4dfe85=['Modifying\x20webdriver\x20builder','debug','setServer','8725710WikZHD','modifyBrowserStackCaps','url_','warn','proxyUrl','./helpers/logger','Capabilities','Hub\x20url\x20set\x20to\x20','setCapabilities','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','192537rbwMcj','config','1908837pogEfH','userName\x20not\x20defined','getAccessKey','Error\x20occured\x20while\x20reading\x20configs','requireSeleniumWebdriver','83254KrJOfC','192462gSVuOF','530tJquFM','getUserName','proxySettings','accessKey\x20not\x20defined','2565692tQtuRV','info','Setting\x20Browserstack\x20capabilities','winstonLogger','exports','proxy_','2458488BFbqDu','build','modifyBrowserStackW3CCaps','Builder','isUndefined','75yoLXWh','capabilities_','useW3C','error','Proxy\x20set\x20to\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','11OqLMjP','hubUrl','./helpers/helper'];a24_0x2506=function(){return _0x4dfe85;};return a24_0x2506();}const modify=()=>{const _0x2e8f07=a24_0x1be807,_0x408c0f=new BrowserStackSetup(),_0x527d34=_0x408c0f[_0x2e8f07(0x84)];if(_0x527d34[_0x2e8f07(0x70)])logger[_0x2e8f07(0x70)](_0x2e8f07(0x88));else{helper['setLogLevel'](_0x527d34),logger[_0x2e8f07(0x91)](_0x2e8f07(0x82)),logger['debug'](_0x2e8f07(0x76));const _0x405db9=helper[_0x2e8f07(0x89)]();class _0x594dc1 extends _0x405db9[_0x2e8f07(0x99)]{[_0x2e8f07(0x78)](_0x49195e){const _0x18dd69=_0x2e8f07;return this[_0x18dd69(0x7b)]=constants[_0x18dd69(0x74)],logger[_0x18dd69(0x77)](_0x18dd69(0x80)+this['url_']),this;}['setCapabilities'](){const _0x267317=_0x2e8f07;let _0x243229=helper[_0x267317(0x6f)](_0x527d34),_0x351e1f=helper[_0x267317(0x8d)](_0x527d34),_0x1b99a4=helper[_0x267317(0x87)](_0x527d34);return helper[_0x267317(0x9a)](_0x351e1f)&&logger['warn'](_0x267317(0x86)),helper[_0x267317(0x9a)](_0x1b99a4)&&logger[_0x267317(0x7c)](_0x267317(0x8f)),logger[_0x267317(0x77)](_0x267317(0x92)),_0x243229?this[_0x267317(0x9c)]=new _0x405db9[(_0x267317(0x7f))](helper[_0x267317(0x98)](_0x527d34,0x0)):this['capabilities_']=new _0x405db9['Capabilities'](helper[_0x267317(0x7a)](_0x527d34,0x0)),this;}[_0x2e8f07(0x97)](){const _0x30f42c=_0x2e8f07;return this[_0x30f42c(0x78)](),this[_0x30f42c(0x81)](),_0x527d34['proxySettings'][_0x30f42c(0x7d)]&&(this[_0x30f42c(0x95)]=_0x527d34[_0x30f42c(0x8e)][_0x30f42c(0x7d)],logger[_0x30f42c(0x77)](_0x30f42c(0x71)+this[_0x30f42c(0x95)])),logger[_0x30f42c(0x77)](_0x30f42c(0x72)),super[_0x30f42c(0x97)]();}}_0x405db9[_0x2e8f07(0x99)]=_0x594dc1;}};module[a24_0x1be807(0x94)]['browserstackAgent']=modify;