browserstack-node-sdk 1.32.11 → 1.32.13
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/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -0
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40_0x1b7aae=a40_0x3140;(function(_0x4d47cf,_0x1df063){const _0x5d6626=a40_0x3140,_0x5536bb=_0x4d47cf();while(!![]){try{const _0x116a4c=-parseInt(_0x5d6626(0x1b1))/0x1*(-parseInt(_0x5d6626(0x1b9))/0x2)+-parseInt(_0x5d6626(0x19e))/0x3*(parseInt(_0x5d6626(0x1ab))/0x4)+-parseInt(_0x5d6626(0x18a))/0x5+-parseInt(_0x5d6626(0x1b5))/0x6+parseInt(_0x5d6626(0x1bd))/0x7*(parseInt(_0x5d6626(0x1ac))/0x8)+-parseInt(_0x5d6626(0x1a9))/0x9*(-parseInt(_0x5d6626(0x1bc))/0xa)+parseInt(_0x5d6626(0x185))/0xb*(parseInt(_0x5d6626(0x1a5))/0xc);if(_0x116a4c===_0x1df063)break;else _0x5536bb['push'](_0x5536bb['shift']());}catch(_0xf554cf){_0x5536bb['push'](_0x5536bb['shift']());}}}(a40_0x5037,0x3def0));const fs=require('fs'),path=require(a40_0x1b7aae(0x1a1)),{v4:uuidv4}=require(a40_0x1b7aae(0x1a6)),{TEMP_STORE_DIR_NAME}=require(a40_0x1b7aae(0x1b8)),{nestedKeyValue}=require(a40_0x1b7aae(0x1a8));function a40_0x5037(){const _0x5cd8a7=['retry','recursive','existsSync','getProjectIdFromTestInfo','testId','join','cHBKG','exports','FpZUI','readFileSync','getTestIdFromTestInfo','gsVwf','getTestRunIdFromTestInfo','6IzVkHq','project','shutdown','path','_test','setup','BS_TESTOPS_BUILD_HASHED_ID','708FohtXZ','uuid','getStoreDirName','../../../helpers/helper','4887buBZQh','dirPath','420128UYJJyc','24GxxmXZ','getTestDetails','getFilePath','string','__projectId','1dfMdRq','aIzWM','pIEdN','NhUCA','2679468ToZzyW','parse','NPNpp','../../../helpers/test-observability/constants','77306qoarqs','awoFv','eXagr','3680pjaJRu','380394dMGkhJ','tests','VqKGn','force','127787VggXgJ','cwd','.json','qsiCq','rnAQV','882920NkRLtb','ucudY','toString','env','mkdirSync','setTestDetails','wIojw'];a40_0x5037=function(){return _0x5cd8a7;};return a40_0x5037();}function a40_0x3140(_0x2d3ec7,_0x55515d){const _0x5037d7=a40_0x5037();return a40_0x3140=function(_0x314083,_0x518e70){_0x314083=_0x314083-0x183;let _0x4a4880=_0x5037d7[_0x314083];return _0x4a4880;},a40_0x3140(_0x2d3ec7,_0x55515d);}class TestDetails{static [a40_0x1b7aae(0x1be)]={};static [a40_0x1b7aae(0x1aa)]=path[a40_0x1b7aae(0x196)](process[a40_0x1b7aae(0x186)](),TestDetails['getStoreDirName']());static[a40_0x1b7aae(0x1a3)](){const _0x19a816=a40_0x1b7aae;this[_0x19a816(0x1a0)]();const _0x3c143d={};_0x3c143d[_0x19a816(0x192)]=!![],fs[_0x19a816(0x18e)](this[_0x19a816(0x1aa)],_0x3c143d);}static[a40_0x1b7aae(0x1a7)](){const _0x3c472f=a40_0x1b7aae,_0x2f8673={};_0x2f8673[_0x3c472f(0x1b7)]=function(_0x5bde53,_0x1d3474){return _0x5bde53+_0x1d3474;};const _0x1aa854=_0x2f8673;return _0x1aa854[_0x3c472f(0x1b7)](_0x1aa854[_0x3c472f(0x1b7)](TEMP_STORE_DIR_NAME,'-'),process[_0x3c472f(0x18d)][_0x3c472f(0x1a4)]);}static[a40_0x1b7aae(0x1ae)](_0x2ad82f){const _0x5134f=a40_0x1b7aae,_0x52574d={};_0x52574d[_0x5134f(0x1b4)]=function(_0x879641,_0x559a59){return _0x879641+_0x559a59;},_0x52574d[_0x5134f(0x188)]=_0x5134f(0x187);const _0x1f8927=_0x52574d;return path[_0x5134f(0x196)](this[_0x5134f(0x1aa)],_0x1f8927['NhUCA'](_0x2ad82f,_0x1f8927['qsiCq']));}static[a40_0x1b7aae(0x19d)](_0x556953){const _0x5b9f76=a40_0x1b7aae,_0x80a625={};_0x80a625['FpZUI']=function(_0x4af173,_0x380ec9){return _0x4af173+_0x380ec9;},_0x80a625[_0x5b9f76(0x189)]=function(_0x51f58f,_0x208a75){return _0x51f58f+_0x208a75;};const _0x34abec=_0x80a625;return _0x34abec[_0x5b9f76(0x199)](_0x34abec[_0x5b9f76(0x199)](_0x34abec['rnAQV'](_0x34abec[_0x5b9f76(0x189)](this[_0x5b9f76(0x194)](_0x556953),'-'),this[_0x5b9f76(0x19b)](_0x556953)),'-'),_0x556953[_0x5b9f76(0x191)]);}static[a40_0x1b7aae(0x194)](_0x23bbf1){const _0x59e7fb=a40_0x1b7aae,_0x277a6e={'aIzWM':function(_0x16c011,_0x281792,_0x1b337e){return _0x16c011(_0x281792,_0x1b337e);},'cHBKG':_0x59e7fb(0x1a2),'wIojw':'_projectId','awoFv':_0x59e7fb(0x19f),'cmEwD':_0x59e7fb(0x1b0)};return _0x277a6e[_0x59e7fb(0x1b2)](nestedKeyValue,_0x23bbf1,[_0x277a6e[_0x59e7fb(0x197)],_0x277a6e[_0x59e7fb(0x190)]])||_0x277a6e[_0x59e7fb(0x1b2)](nestedKeyValue,_0x23bbf1,[_0x277a6e[_0x59e7fb(0x1ba)],_0x277a6e['cmEwD']]);}static['getTestIdFromTestInfo'](_0x487521){const _0x559fd2=a40_0x1b7aae,_0x330989={'pIEdN':function(_0x18df17,_0x17f8ff,_0x24b2e5){return _0x18df17(_0x17f8ff,_0x24b2e5);},'ucudY':_0x559fd2(0x1a2)};return _0x330989[_0x559fd2(0x1b3)](nestedKeyValue,_0x487521,[_0x330989[_0x559fd2(0x18b)],'id'])||_0x487521[_0x559fd2(0x195)];}static['getTestUUID'](_0x186732){const _0x31a185=a40_0x1b7aae,_0x8e18ca={'VqKGn':function(_0x31afda,_0x28e5b4){return _0x31afda===_0x28e5b4;},'gsVwf':_0x31a185(0x1af),'eXagr':function(_0xf31aa){return _0xf31aa();}};if(this[_0x31a185(0x1be)][_0x186732]&&_0x8e18ca[_0x31a185(0x183)](typeof this[_0x31a185(0x1be)][_0x186732][_0x31a185(0x1a6)],_0x8e18ca[_0x31a185(0x19c)]))return this[_0x31a185(0x1be)][_0x186732][_0x31a185(0x1a6)];const _0x40bb5b=this[_0x31a185(0x1ae)](_0x186732);if(fs[_0x31a185(0x193)](_0x40bb5b)){const _0x517174=JSON[_0x31a185(0x1b6)](fs[_0x31a185(0x19a)](_0x40bb5b)[_0x31a185(0x18c)]());return this['tests'][_0x186732]=_0x517174,this[_0x31a185(0x1be)][_0x186732][_0x31a185(0x1a6)];}return this['tests'][_0x186732]={'uuid':_0x8e18ca[_0x31a185(0x1bb)](uuidv4)},fs['writeFileSync'](_0x40bb5b,JSON['stringify'](this['tests'][_0x186732])),this[_0x31a185(0x1be)][_0x186732]['uuid'];}static[a40_0x1b7aae(0x1a0)](){const _0x247300=a40_0x1b7aae,_0x51b006={};_0x51b006[_0x247300(0x192)]=!![],_0x51b006[_0x247300(0x184)]=!![],fs['rmSync'](this['dirPath'],_0x51b006);}static[a40_0x1b7aae(0x1ad)](_0x3619df){const _0x2e4153=a40_0x1b7aae;if(this[_0x2e4153(0x1be)][_0x3619df])return this[_0x2e4153(0x1be)][_0x3619df];const _0x4ee80a=this[_0x2e4153(0x1ae)](_0x3619df);if(fs[_0x2e4153(0x193)](_0x4ee80a)){const _0x56d839=JSON['parse'](fs[_0x2e4153(0x19a)](_0x4ee80a)['toString']());return this['tests'][_0x3619df]=_0x56d839,_0x56d839;}return{};}static[a40_0x1b7aae(0x18f)](_0x35b942,_0x1bdfd9){const _0x3d8a3e=a40_0x1b7aae,_0x2e3b1c=this['getFilePath'](_0x35b942);if(fs[_0x3d8a3e(0x193)](_0x2e3b1c)){const _0x4c4d1a=JSON[_0x3d8a3e(0x1b6)](fs[_0x3d8a3e(0x19a)](_0x2e3b1c)[_0x3d8a3e(0x18c)]()),_0x12402d={..._0x4c4d1a,..._0x1bdfd9};this[_0x3d8a3e(0x1be)][_0x35b942]=_0x12402d;}else this['tests'][_0x35b942]=_0x1bdfd9;fs['writeFileSync'](_0x2e3b1c,this['tests'][_0x35b942]);}}module[a40_0x1b7aae(0x198)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40_0x1e9a6a=a40_0x17b4;(function(_0x451320,_0xcf977b){const _0x13965d=a40_0x17b4,_0x24077f=_0x451320();while(!![]){try{const _0x399563=parseInt(_0x13965d(0x1a2))/0x1*(-parseInt(_0x13965d(0x1fe))/0x2)+-parseInt(_0x13965d(0x188))/0x3*(-parseInt(_0x13965d(0x1c0))/0x4)+parseInt(_0x13965d(0x1cd))/0x5+parseInt(_0x13965d(0x1b9))/0x6+-parseInt(_0x13965d(0x203))/0x7+-parseInt(_0x13965d(0x216))/0x8+-parseInt(_0x13965d(0x1bb))/0x9*(-parseInt(_0x13965d(0x1b6))/0xa);if(_0x399563===_0xcf977b)break;else _0x24077f['push'](_0x24077f['shift']());}catch(_0x228aab){_0x24077f['push'](_0x24077f['shift']());}}}(a40_0x591d,0xc77c7));const path=require(a40_0x1e9a6a(0x1ea)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a40_0x1e9a6a(0x1f7)),{o11yErrorHandler}=require(a40_0x1e9a6a(0x1fb)),{debug,getPlatformDetails}=require(a40_0x1e9a6a(0x1f0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a40_0x1e9a6a(0x1f4)),logger=require(a40_0x1e9a6a(0x19a))[a40_0x1e9a6a(0x1d6)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),getBrowserNameFromChannel=_0x5315b8=>{const _0xf7d32c=a40_0x1e9a6a,_0x2c7d4f={};_0x2c7d4f[_0xf7d32c(0x1db)]=_0xf7d32c(0x1bc),_0x2c7d4f[_0xf7d32c(0x1ef)]=_0xf7d32c(0x1e2),_0x2c7d4f['JdnRc']=_0xf7d32c(0x1c7),_0x2c7d4f[_0xf7d32c(0x190)]=_0xf7d32c(0x1ad);const _0x4f7328=_0x2c7d4f;if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1db)]))return _0x4f7328[_0xf7d32c(0x1db)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1ef)]))return _0x4f7328[_0xf7d32c(0x1ef)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1e4)]))return _0x4f7328[_0xf7d32c(0x1e4)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x190)]))return _0x4f7328[_0xf7d32c(0x190)];},getBrowserFromWSEndpoint=_0x318eb2=>{const _0x4b7fad=a40_0x1e9a6a,_0x18d8fb={'JdqZb':'chrome','RYqvi':function(_0x2844d0,_0x35f552){return _0x2844d0(_0x35f552);}};try{const _0x2fbc41=url[_0x4b7fad(0x1c8)](_0x318eb2),_0x494177=new URLSearchParams(_0x2fbc41[_0x4b7fad(0x1d2)]),_0x44a987=Object[_0x4b7fad(0x19f)](_0x494177[_0x4b7fad(0x197)]()),_0x5cfdcf=JSON[_0x4b7fad(0x1c8)](_0x44a987['caps']);if(_0x5cfdcf&&(_0x5cfdcf['browser']||_0x5cfdcf[_0x4b7fad(0x208)]))return _0x5cfdcf[_0x4b7fad(0x19c)]||_0x5cfdcf[_0x4b7fad(0x208)];return _0x18d8fb[_0x4b7fad(0x20a)];}catch(_0x14c262){_0x18d8fb[_0x4b7fad(0x1aa)](debug,_0x4b7fad(0x20d)+_0x14c262[_0x4b7fad(0x217)]());}},getCloudProviderFromWsEndpoint=_0x314ca8=>{const _0x3515a7=a40_0x1e9a6a,_0x22a712={};_0x22a712[_0x3515a7(0x1b8)]=_0x3515a7(0x1f1),_0x22a712['eOwdV']=_0x3515a7(0x218),_0x22a712[_0x3515a7(0x1bd)]='unknown_grid';const _0x3b62f6=_0x22a712;if(_0x314ca8[_0x3515a7(0x204)](_0x3b62f6[_0x3515a7(0x1b8)]))return _0x3b62f6['eOwdV'];return _0x3b62f6['gBFOJ'];},a40_0x58b354={};a40_0x58b354[a40_0x1e9a6a(0x1ac)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x202)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x19c)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x206)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x1c5)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x192)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x182)]=undefined,a40_0x58b354['capabilities']={};function a40_0x17b4(_0x582b92,_0x5abeb2){const _0x591d5d=a40_0x591d();return a40_0x17b4=function(_0x17b467,_0x3b0843){_0x17b467=_0x17b467-0x181;let _0x43fda8=_0x591d5d[_0x17b467];return _0x43fda8;},a40_0x17b4(_0x582b92,_0x5abeb2);}class PlaywrightSessionDetails{static [a40_0x1e9a6a(0x193)]=a40_0x58b354;constructor(){const _0x13f2d9=a40_0x1e9a6a,_0x5531ac={};_0x5531ac[_0x13f2d9(0x1c6)]=_0x13f2d9(0x1d5);const _0x345d4c=_0x5531ac;throw new Error(_0x345d4c[_0x13f2d9(0x1c6)]);}static [a40_0x1e9a6a(0x1ae)]=null;static[a40_0x1e9a6a(0x1d4)](_0x3ca5a7,_0x6b6e29,_0x2e2d45=null){const _0x2fe624=a40_0x1e9a6a,_0x71c737={'jracV':'local_grid','wBwAb':function(_0x4f9081,_0x223795,_0x1e1c2a){return _0x4f9081(_0x223795,_0x1e1c2a);},'CxPcg':_0x2fe624(0x1e6),'oDAgu':'use','YHfcg':_0x2fe624(0x1a7),'iYxWw':function(_0x5460cf,_0x2b2b7e){return _0x5460cf(_0x2b2b7e);},'SlKEp':function(_0x1d0d4c,_0x43fb4a){return _0x1d0d4c===_0x43fb4a;},'dHMMm':'browserstack','rEoua':_0x2fe624(0x1c2),'AcBYC':function(_0x84046e,_0x2fcc17){return _0x84046e(_0x2fcc17);},'epYyX':function(_0x5911aa,_0x2c9a00){return _0x5911aa(_0x2c9a00);},'yVyYL':function(_0x2fb9fa,_0x139fb5){return _0x2fb9fa+_0x139fb5;},'MNXsO':'playwright-','KDpsi':function(_0x1ad417){return _0x1ad417();}},_0x46b0f7=this;return _0x71c737['epYyX'](o11yErrorHandler,async function _0x5852fc(_0xb68edd,_0x1cd6bc,_0x549ba3=null){const _0x578c0b=_0x2fe624;let _0xe75274=_0xb68edd['_name'];const _0x1b4cc0=_0xb68edd['version']();let _0x19c816=null,_0x3b3860=null,_0x21b521=null,_0x1af86c=_0x71c737[_0x578c0b(0x1ab)];if(_0xb68edd[_0x578c0b(0x1a5)][_0x578c0b(0x1a4)]()||global['accessibilityPlatform']){const _0x297305=_0xb68edd[_0x578c0b(0x21d)][_0x578c0b(0x1d0)]||_0x71c737[_0x578c0b(0x1a1)](nestedKeyValue,_0x1cd6bc,[_0x71c737[_0x578c0b(0x1df)],_0x71c737['oDAgu'],_0x71c737[_0x578c0b(0x201)]]),_0x56731a=_0x549ba3||_0x297305&&_0x297305[_0x578c0b(0x1d9)];_0x56731a&&(_0x1af86c=_0x71c737[_0x578c0b(0x19e)](getCloudProviderFromWsEndpoint,_0x56731a),_0x71c737[_0x578c0b(0x207)](_0x1af86c,_0x71c737[_0x578c0b(0x21b)])&&(_0x21b521=_0x71c737[_0x578c0b(0x1d3)],_0xe75274=_0x71c737['AcBYC'](getBrowserFromWSEndpoint,_0x56731a)||_0xe75274,_0x19c816=_0x46b0f7[_0x578c0b(0x193)][_0x578c0b(0x1c5)],_0x3b3860=_0x46b0f7[_0x578c0b(0x193)][_0x578c0b(0x192)]));}else{_0x1cd6bc&&_0x1cd6bc['project'][_0x578c0b(0x212)][_0x578c0b(0x1d1)]?_0xe75274=_0x71c737[_0x578c0b(0x1e9)](getBrowserNameFromChannel,_0x1cd6bc[_0x578c0b(0x1e6)][_0x578c0b(0x212)]['channel']):_0xe75274=_0x71c737[_0x578c0b(0x1d8)](_0x71c737['MNXsO'],_0xe75274[_0x578c0b(0x213)]());const _0x22da4d=await _0x71c737['KDpsi'](getPlatformDetails);_0x19c816=_0x22da4d[_0x578c0b(0x1be)],_0x3b3860=_0x22da4d[_0x578c0b(0x1c4)];}const _0x6300e3={};_0x6300e3['browser']=_0xe75274,_0x6300e3['browser_version']=_0x1b4cc0,_0x6300e3[_0x578c0b(0x1e0)]={},_0x6300e3[_0x578c0b(0x1c5)]=_0x19c816,_0x6300e3[_0x578c0b(0x192)]=_0x3b3860,_0x6300e3[_0x578c0b(0x182)]=_0x21b521;const _0x14b53d=_0x6300e3,_0x6a81ea={};_0x6a81ea[_0x578c0b(0x1ac)]=_0x1af86c,_0x46b0f7[_0x578c0b(0x193)]=Object[_0x578c0b(0x20b)]({},_0x46b0f7[_0x578c0b(0x193)],_0x6a81ea,_0x14b53d);})(_0x3ca5a7,_0x6b6e29,_0x2e2d45);}static[a40_0x1e9a6a(0x1ff)](){const _0x55b4dd=a40_0x1e9a6a;this[_0x55b4dd(0x18a)](),this[_0x55b4dd(0x1c1)]();}static[a40_0x1e9a6a(0x18a)](){const _0x55b8ca=a40_0x1e9a6a,_0x5dd929={'owjKO':function(_0x2395bc,_0x1c3eaf,_0x8e83e1){return _0x2395bc(_0x1c3eaf,_0x8e83e1);},'XVShX':_0x55b8ca(0x1f9),'RCyTT':_0x55b8ca(0x215),'IEVJj':_0x55b8ca(0x200),'PsjxX':function(_0xe2bdce,_0x5a3a8f){return _0xe2bdce===_0x5a3a8f;},'ajzPd':_0x55b8ca(0x1fa),'VwNvl':function(_0x3a9d6e,_0x1a64dd,_0x240e54,_0x4807da){return _0x3a9d6e(_0x1a64dd,_0x240e54,_0x4807da);},'crIKg':function(_0x5d4ded,_0x4208a0){return _0x5d4ded(_0x4208a0);},'XpjFe':function(_0x9e05b7,_0x1a0693){return _0x9e05b7(_0x1a0693);},'MqTnb':_0x55b8ca(0x1f3),'XZqtf':_0x55b8ca(0x191),'pqlWL':_0x55b8ca(0x20f),'LUqWX':function(_0x2a7f1e,_0x3de178){return _0x2a7f1e(_0x3de178);},'dYHOc':_0x55b8ca(0x1ce),'FXEzc':function(_0x205c43,_0xbaa969){return _0x205c43!=_0xbaa969;},'WNFdZ':function(_0x371c9b){return _0x371c9b();},'dBLBe':_0x55b8ca(0x1fc),'DXJhC':function(_0x4f80ad,_0x5bddb0){return _0x4f80ad(_0x5bddb0);},'bIJhH':_0x55b8ca(0x1d7),'vrMsM':function(_0x269153,_0x2b5101){return _0x269153(_0x2b5101);}},_0x3632fd=this;if(!this[_0x55b8ca(0x195)])try{const _0x287f4c=path['join'](_0x5dd929['MqTnb'],_0x5dd929[_0x55b8ca(0x194)],_0x5dd929[_0x55b8ca(0x185)]),_0x156a3e=_0x5dd929['LUqWX'](importFileFromPWCore,_0x287f4c);!_0x156a3e?_0x5dd929[_0x55b8ca(0x1da)](debug,_0x5dd929[_0x55b8ca(0x21a)]):this[_0x55b8ca(0x195)]=_0x156a3e[_0x55b8ca(0x195)];}catch(_0x2e0e0d){_0x5dd929[_0x55b8ca(0x1da)](debug,_0x55b8ca(0x20c)+_0x2e0e0d[_0x55b8ca(0x217)]());}const _0xe9f087=this[_0x55b8ca(0x195)];try{if(_0x5dd929[_0x55b8ca(0x1b3)](_0xe9f087,null)){const _0x2bff8f=_0xe9f087['prototype'][_0x55b8ca(0x1d7)],_0x1b69e2=_0xe9f087[_0x55b8ca(0x1e8)]['sendMessageToServer'];_0x5dd929[_0x55b8ca(0x1ca)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0xe9f087[_0x55b8ca(0x1e8)],_0x5dd929['dBLBe'],{'get':function(){const _0x343316=_0x55b8ca,_0x160a97={'wNOEv':function(_0x310e53,_0x468eef,_0x3ecf65){return _0x5dd929['owjKO'](_0x310e53,_0x468eef,_0x3ecf65);},'KroZf':_0x5dd929[_0x343316(0x1ec)],'ATYPS':_0x5dd929[_0x343316(0x1a3)],'OYvTI':_0x5dd929['IEVJj'],'PCQAc':function(_0x34ba9d,_0x1f99d8){const _0xcaed31=_0x343316;return _0x5dd929[_0xcaed31(0x1ba)](_0x34ba9d,_0x1f99d8);},'UtgYo':_0x5dd929[_0x343316(0x1e3)],'GvIOD':function(_0xdd248e,_0x164093,_0x47ade0,_0x1d6b43){const _0x1cf66f=_0x343316;return _0x5dd929[_0x1cf66f(0x1ed)](_0xdd248e,_0x164093,_0x47ade0,_0x1d6b43);}};return async function(){const _0x3f1b89=_0x343316;try{if(!global[_0x3f1b89(0x205)]&&global['accessibilityPlatform']&&_0x160a97[_0x3f1b89(0x1de)](nestedKeyValue,global[_0x3f1b89(0x1af)],[_0x160a97[_0x3f1b89(0x18f)],_0x160a97['ATYPS'],_0x160a97['OYvTI']])&&_0x160a97[_0x3f1b89(0x1de)](shouldScanTestForAccessibility,global['__workerDetails'][_0x3f1b89(0x1f9)][_0x3f1b89(0x215)][_0x3f1b89(0x200)],!![])&&scripts[_0x3f1b89(0x1b0)](arguments[0x1])){logger[_0x3f1b89(0x1b5)](_0x3f1b89(0x20e)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x20b0cb={};_0x20b0cb[_0x3f1b89(0x211)]=arguments[0x1],global[_0x3f1b89(0x189)]&&logger[_0x3f1b89(0x1b5)](util[_0x3f1b89(0x1c3)](await AccessibilityHelper[_0x3f1b89(0x198)](global[_0x3f1b89(0x189)],_0x20b0cb)));if(_0x160a97['PCQAc'](arguments[0x0][_0x3f1b89(0x1e7)],_0x160a97[_0x3f1b89(0x1ee)])&&global[_0x3f1b89(0x1a8)]){const _0x23b2ed={};_0x23b2ed[_0x3f1b89(0x211)]=arguments[0x1],await _0x160a97[_0x3f1b89(0x1b7)](browserStackExecuteDriver,global[_0x3f1b89(0x1a8)],scripts[_0x3f1b89(0x198)],_0x23b2ed);}}}catch(_0x2e112d){logger['debug'](_0x3f1b89(0x1b4)+util['format'](_0x2e112d));}return global[_0x3f1b89(0x205)]=![],_0x1b69e2['apply'](this,arguments);};}}),!_0x5dd929[_0x55b8ca(0x18d)](isFalse,process[_0x55b8ca(0x1a6)][_0x55b8ca(0x21c)])&&Object[_0x55b8ca(0x1c9)](_0xe9f087['prototype'],_0x5dd929[_0x55b8ca(0x183)],{'get':function(){const _0x7e85c5={'xLJbL':function(_0x589ae8,_0x1751e2){return _0x5dd929['crIKg'](_0x589ae8,_0x1751e2);},'sHPgD':function(_0x39bf9b,_0x509985){const _0x3538d2=a40_0x17b4;return _0x5dd929[_0x3538d2(0x1f6)](_0x39bf9b,_0x509985);}};return function _0x3e581f(_0x86d25e){const _0x500e1f=a40_0x17b4,_0x252dce=_0x86d25e&&_0x86d25e[_0x500e1f(0x181)]&&_0x86d25e[_0x500e1f(0x181)][_0x500e1f(0x1bf)];if(_0x252dce){const _0x96adaa=_0x252dce[_0x500e1f(0x18b)],_0x29f0c5=_0x252dce[_0x500e1f(0x196)];_0x29f0c5&&(_0x7e85c5['xLJbL'](debug,_0x500e1f(0x1a9)+_0x29f0c5[_0x500e1f(0x217)]()),_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x1c5)]=_0x29f0c5[_0x500e1f(0x1be)],_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x192)]=_0x29f0c5[_0x500e1f(0x1c4)]),_0x96adaa&&(_0x7e85c5[_0x500e1f(0x1dd)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x96adaa),_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x202)]=_0x96adaa);}return _0x2bff8f['apply'](this,arguments);};}});}}catch(_0x43cb7c){_0x5dd929[_0x55b8ca(0x18e)](debug,_0x55b8ca(0x1fd)+_0x43cb7c),_0x3632fd['sessionError']=_0x43cb7c[_0x55b8ca(0x217)]();}}static[a40_0x1e9a6a(0x1c1)](){const _0x441f3c=a40_0x1e9a6a,_0x51c31e={'sqofu':function(_0x1ef306,_0xd2dc69){return _0x1ef306(_0xd2dc69);},'yaUKR':function(_0x3530eb,_0x24024f){return _0x3530eb(_0x24024f);},'MLcwS':function(_0x504dc5){return _0x504dc5();},'hmdsb':_0x441f3c(0x1f3),'Rgpoq':_0x441f3c(0x219),'kXNck':_0x441f3c(0x1f5),'zeSSF':_0x441f3c(0x199),'EbBKc':_0x441f3c(0x19b),'zdIqi':_0x441f3c(0x1b1),'cQUyt':function(_0x3a17a7,_0x57be33){return _0x3a17a7!=_0x57be33;},'GnbPF':_0x441f3c(0x1e1)},_0x3ecae6=this;if(_0x51c31e[_0x441f3c(0x187)](isAccessibilityAutomationSession)){let _0x423c7d=null;try{const _0x13855a=path[_0x441f3c(0x209)](_0x51c31e[_0x441f3c(0x1dc)],_0x51c31e[_0x441f3c(0x186)],_0x51c31e[_0x441f3c(0x210)],_0x51c31e[_0x441f3c(0x1a0)]),_0x1aa7f9=_0x51c31e[_0x441f3c(0x19d)](importFileFromPWCore,_0x13855a);!_0x1aa7f9?_0x51c31e[_0x441f3c(0x1cf)](debug,_0x51c31e['EbBKc']):_0x423c7d=_0x1aa7f9[_0x441f3c(0x1cc)];}catch(_0x455f11){_0x51c31e[_0x441f3c(0x1cf)](debug,_0x51c31e[_0x441f3c(0x1f2)]);}try{if(_0x51c31e['cQUyt'](_0x423c7d,null)){const _0x13d392=_0x423c7d['prototype'][_0x441f3c(0x1e1)];Object[_0x441f3c(0x1c9)](_0x423c7d[_0x441f3c(0x1e8)],_0x51c31e['GnbPF'],{'get':function(){const _0x5ad7e4={'eagoP':function(_0x50f63e,_0x2f379f){const _0x360cbc=a40_0x17b4;return _0x51c31e[_0x360cbc(0x1cf)](_0x50f63e,_0x2f379f);},'GySEH':function(_0x31e231,_0x489079){const _0x249af6=a40_0x17b4;return _0x51c31e[_0x249af6(0x1cf)](_0x31e231,_0x489079);},'zlmzg':function(_0x22878d,_0x468794){const _0x542cb3=a40_0x17b4;return _0x51c31e[_0x542cb3(0x19d)](_0x22878d,_0x468794);}};return function _0x480200(_0xb164df){const _0x508ec1=a40_0x17b4;try{const _0x58a5ba=_0xb164df[_0x508ec1(0x1cb)];if(_0x58a5ba){delete _0xb164df['bStackParams'];const _0x263fac=_0x58a5ba['sessionId'],_0x163ba9=_0x58a5ba[_0x508ec1(0x196)];_0x163ba9&&(_0x5ad7e4[_0x508ec1(0x1b2)](debug,_0x508ec1(0x18c)+_0x163ba9[_0x508ec1(0x217)]()),_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x1c5)]=_0x163ba9[_0x508ec1(0x1be)],_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x192)]=_0x163ba9['platformVersion']),_0x263fac&&(_0x5ad7e4['GySEH'](debug,_0x508ec1(0x1f8)+_0x263fac),_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x202)]=_0x263fac);}}catch(_0x598ee6){_0x5ad7e4[_0x508ec1(0x214)](debug,_0x508ec1(0x184)+_0x598ee6[_0x508ec1(0x217)]());}return _0x13d392['apply'](this,arguments);};}});}}catch(_0x1f5444){_0x51c31e[_0x441f3c(0x1cf)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1f5444),_0x3ecae6[_0x441f3c(0x1ae)]=_0x1f5444['toString']();}}}static[a40_0x1e9a6a(0x1eb)](){const _0x55d692=a40_0x1e9a6a;return this[_0x55d692(0x193)];}}module[a40_0x1e9a6a(0x1e5)]=PlaywrightSessionDetails;function a40_0x591d(){const _0x310b00=['winstonLogger','dispatch','yVyYL','wsEndpoint','crIKg','rqPvY','hmdsb','sHPgD','wNOEv','CxPcg','capabilities','_onMessage','edge','ajzPd','JdnRc','exports','project','_type','prototype','epYyX','path','getDetails','XVShX','VwNvl','UtgYo','fNrVG','../../helpers/test-observability/utils','browserstack.com','zdIqi','lib','../../helpers/accessibility-automation/helper','chromium','XpjFe','../../helpers/helper','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentTest','Page','../../helpers/test-observability/error-handler','sendMessageToServer','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','620696qpWRpW','patch','titlePath','YHfcg','bsSessionId','2512916ckkHBT','includes','bstackPerformA11yScan','browser_version','SlKEp','browserName','join','JdqZb','assign','Error\x20in\x20importing\x20connection\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Performing\x20scan\x20for\x20','connection.js','kXNck','method','use','toLowerCase','zlmzg','testInfo','6803136OboBWf','toString','browserstack','server','dYHOc','dHMMm','BROWSERSTACK_TEST_OBSERVABILITY','_browserType','params','product','bIJhH','Error\x20in\x20finding\x20platform\x20details\x20','pqlWL','Rgpoq','MLcwS','3LxyTkQ','pageFixture','patchConnection','sessionId','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','DXJhC','vrMsM','KroZf','OdQij','client','platform_version','currentSessionDetails','XZqtf','Connection','platformDetails','entries','performScan','crConnection.js','../../helpers/logger','Not\x20able\x20to\x20import\x20crConnection','browser','yaUKR','iYxWw','fromEntries','zeSSF','wBwAb','2iMdVaG','RCyTT','isRemote','_connection','env','connectOptions','__driver','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','RYqvi','jracV','cloudProvider','safari','sessionError','__workerDetails','shouldWrapCommand','Error\x20in\x20importing\x20crConnection','eagoP','FXEzc','Failed\x20to\x20perform\x20scan\x20','debug','6849100bAkTFn','GvIOD','Huntt','9232164JCMubF','PsjxX','9nHlpqz','chrome','gBFOJ','platformName','bsParams','313064vAtUha','patchCRConnection','automate','format','platformVersion','platform','ZcgAF','firefox','parse','defineProperty','WNFdZ','bStackParams','CRConnection','1726505GXXmdZ','Not\x20able\x20to\x20import\x20Connection','sqofu','_defaultConnectOptions','channel','query','rEoua','setupBrowserDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods'];a40_0x591d=function(){return _0x310b00;};return a40_0x591d();}
|
|
1
|
+
const a41_0xbe6751=a41_0x51c2;(function(_0x3ad318,_0x156519){const _0x368f63=a41_0x51c2,_0x5a44e2=_0x3ad318();while(!![]){try{const _0x4d1fd5=parseInt(_0x368f63(0x1b3))/0x1*(-parseInt(_0x368f63(0x22e))/0x2)+parseInt(_0x368f63(0x1d2))/0x3*(-parseInt(_0x368f63(0x19b))/0x4)+-parseInt(_0x368f63(0x21c))/0x5*(parseInt(_0x368f63(0x1f2))/0x6)+-parseInt(_0x368f63(0x1fc))/0x7+-parseInt(_0x368f63(0x206))/0x8+parseInt(_0x368f63(0x1aa))/0x9*(parseInt(_0x368f63(0x191))/0xa)+parseInt(_0x368f63(0x1e4))/0xb*(parseInt(_0x368f63(0x215))/0xc);if(_0x4d1fd5===_0x156519)break;else _0x5a44e2['push'](_0x5a44e2['shift']());}catch(_0x339134){_0x5a44e2['push'](_0x5a44e2['shift']());}}}(a41_0x514d,0x2849b));function a41_0x514d(){const _0x5e7755=['10BJxzAi','prototype','JTorM','10qvwkpK','IaNYi','_type','entries','parse','server','__workerDetails','vWBVP','thOOx','PJbBR','4GhFllc','CViRB','Error\x20in\x20finding\x20platform\x20details\x20','SNDRi','bsSessionId','_onMessage','safari','clTiH','StzCU','ixrSL','./accessibility-helper','local_grid','method','query','patch','2497914eguNJl','OCMHa','setupBrowserDetails','lib','TcAVs','Error\x20in\x20importing\x20connection\x20','qRAPB','fjGIA','DNWgg','25279SnwjgG','JpPEx','CRConnection','Page','ZayRF','unknown_grid','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','XtIFo','QJxAF','sessionId','accessibilityPlatform','BROWSERSTACK_TEST_OBSERVABILITY','JEAQo','Failed\x20to\x20perform\x20scan\x20','NuWZI','browserstack.com','browserstack','platform_version','defineProperty','kCoLf','Not\x20able\x20to\x20import\x20Connection','isRemote','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','params','kERHp','Performing\x20scan\x20for\x20','apply','patchCRConnection','bZHma','soMyQ','__driver','16737Twvppf','includes','channel','chrome','util','sYXLj','iQJtN','url','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','IrbYl','firefox','format','bStackParams','pWxQb','toString','ljpCK','product','connection.js','6666laeQkx','KrCWh','platform','project','bsParams','crConnection.js','currentTest','bstackPerformA11yScan','oMEdX','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../../helpers/accessibility-automation/helper','xNYQf','capabilities','automate','1643754AxVUUK','sendMessageToServer','cloudProvider','join','chromium','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','_browserType','env','htLgt','../../helpers/accessibility-automation/scripts','604198GSrmuF','use','debug','performScan','exports','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','eBZzl','RbKzc','HOXMz','McigK','1824784OVBgXb','UwDGY','qvzmA','currentSessionDetails','pwPage','VAKYO','YQoDf','WnLmd','YYadp','dispatch','IDDnh','Connection','platformName','ZlXLH','Not\x20able\x20to\x20import\x20crConnection','12036xTEikx','Error\x20in\x20importing\x20crConnection','client','browser','ibzma','platformVersion','winstonLogger','5UBtoIm','_defaultConnectOptions','KSAtu','browser_version','browserName','CWiAM','testInfo','_name','pIGDE','cTFGf','sessionError','version','BtQdW','Setting\x20session\x20id\x20received\x20from\x20BS\x20','LSpPT','../../bin/playwright/accessibility-helper','VescN','iAtBU'];a41_0x514d=function(){return _0x5e7755;};return a41_0x514d();}const path=require('path'),url=require(a41_0xbe6751(0x1d9)),util=require(a41_0xbe6751(0x1d6)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0xbe6751(0x1ee)),logger=require('../../helpers/logger')[a41_0xbe6751(0x21b)],scripts=require(a41_0xbe6751(0x1fb)),{browserStackExecuteDriver}=require(a41_0xbe6751(0x22b)),AccessibilityHelper=require(a41_0xbe6751(0x1a5)),getBrowserNameFromChannel=_0x3e6a92=>{const _0x2d4f7d=a41_0xbe6751,_0x4e245d={};_0x4e245d[_0x2d4f7d(0x1db)]=_0x2d4f7d(0x1d5),_0x4e245d['VescN']='edge',_0x4e245d[_0x2d4f7d(0x19e)]=_0x2d4f7d(0x1dc),_0x4e245d[_0x2d4f7d(0x1e1)]=_0x2d4f7d(0x1a1);const _0x144885=_0x4e245d;if(_0x3e6a92[_0x2d4f7d(0x1d3)](_0x144885[_0x2d4f7d(0x1db)]))return _0x144885[_0x2d4f7d(0x1db)];if(_0x3e6a92[_0x2d4f7d(0x1d3)](_0x144885[_0x2d4f7d(0x22c)]))return _0x144885[_0x2d4f7d(0x22c)];if(_0x3e6a92[_0x2d4f7d(0x1d3)](_0x144885[_0x2d4f7d(0x19e)]))return _0x144885['SNDRi'];if(_0x3e6a92[_0x2d4f7d(0x1d3)](_0x144885['ljpCK']))return _0x144885[_0x2d4f7d(0x1e1)];},getBrowserFromWSEndpoint=_0x5a4bb3=>{const _0x3ad0a0=a41_0xbe6751,_0x195428={'IDDnh':'chrome','fjGIA':function(_0x22013e,_0x24f6d7){return _0x22013e(_0x24f6d7);}};try{const _0x4b3f7c=url['parse'](_0x5a4bb3),_0x57f91f=new URLSearchParams(_0x4b3f7c[_0x3ad0a0(0x1a8)]),_0x325b78=Object['fromEntries'](_0x57f91f[_0x3ad0a0(0x194)]()),_0x3b4b3c=JSON[_0x3ad0a0(0x195)](_0x325b78['caps']);if(_0x3b4b3c&&(_0x3b4b3c[_0x3ad0a0(0x218)]||_0x3b4b3c[_0x3ad0a0(0x220)]))return _0x3b4b3c[_0x3ad0a0(0x218)]||_0x3b4b3c[_0x3ad0a0(0x220)];return _0x195428[_0x3ad0a0(0x210)];}catch(_0x57f05e){_0x195428[_0x3ad0a0(0x1b1)](debug,_0x3ad0a0(0x1b9)+_0x57f05e[_0x3ad0a0(0x1e0)]());}},getCloudProviderFromWsEndpoint=_0x22453d=>{const _0x51d747=a41_0xbe6751,_0x22e12c={};_0x22e12c[_0x51d747(0x1ba)]=_0x51d747(0x1c2),_0x22e12c['JEAQo']='browserstack',_0x22e12c[_0x51d747(0x1ec)]=_0x51d747(0x1b8);const _0x101998=_0x22e12c;if(_0x22453d[_0x51d747(0x1d3)](_0x101998[_0x51d747(0x1ba)]))return _0x101998[_0x51d747(0x1bf)];return _0x101998[_0x51d747(0x1ec)];},a41_0x16a6aa={};a41_0x16a6aa[a41_0xbe6751(0x1f4)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x19f)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x218)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x21f)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x1e6)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x1c4)]=undefined,a41_0x16a6aa[a41_0xbe6751(0x1e2)]=undefined,a41_0x16a6aa['capabilities']={};class PlaywrightSessionDetails{static [a41_0xbe6751(0x209)]=a41_0x16a6aa;constructor(){const _0x26a207=a41_0xbe6751,_0x1d4a24={};_0x1d4a24['RbKzc']=_0x26a207(0x1f7);const _0x1f6ec6=_0x1d4a24;throw new Error(_0x1f6ec6[_0x26a207(0x203)]);}static [a41_0xbe6751(0x226)]=null;static[a41_0xbe6751(0x1ac)](_0x520e5a,_0x577a97,_0x3f9e20=null){const _0x51ef67=a41_0xbe6751,_0x66f018={'mOzWL':_0x51ef67(0x1a6),'CWiAM':function(_0x1e4f0b,_0x175ab6,_0x58a5d8){return _0x1e4f0b(_0x175ab6,_0x58a5d8);},'pIGDE':_0x51ef67(0x1e7),'iQJtN':_0x51ef67(0x1fd),'eBZzl':'connectOptions','WvBkB':function(_0x1d9bed,_0x368a27){return _0x1d9bed(_0x368a27);},'wFTIh':function(_0x359b2b,_0x5b2ec8){return _0x359b2b===_0x5b2ec8;},'sYXLj':_0x51ef67(0x1c3),'VAKYO':_0x51ef67(0x1f1),'kCoLf':function(_0x454ea5,_0x919f89){return _0x454ea5(_0x919f89);},'KrCWh':function(_0x563cb7,_0x4e9634){return _0x563cb7(_0x4e9634);},'JfEvO':function(_0x44497d,_0x53a555){return _0x44497d+_0x53a555;},'HOXMz':'playwright-','PexnO':function(_0x5ccdc9){return _0x5ccdc9();},'ZlXLH':function(_0x5cf3ba,_0x47dfb6){return _0x5cf3ba(_0x47dfb6);}},_0x224ad1=this;return _0x66f018[_0x51ef67(0x213)](o11yErrorHandler,async function _0x42ffc9(_0x394058,_0xc14853,_0x18fb08=null){const _0x25175f=_0x51ef67;let _0x56de04=_0x394058[_0x25175f(0x223)];const _0xe6fb1d=_0x394058[_0x25175f(0x227)]();let _0x2ab215=null,_0x49ae19=null,_0x506f1a=null,_0x50b246=_0x66f018['mOzWL'];if(_0x394058['_connection'][_0x25175f(0x1c8)]()||global[_0x25175f(0x1bd)]){const _0x234e7d=_0x394058[_0x25175f(0x1f8)][_0x25175f(0x21d)]||_0x66f018[_0x25175f(0x221)](nestedKeyValue,_0xc14853,[_0x66f018[_0x25175f(0x224)],_0x66f018[_0x25175f(0x1d8)],_0x66f018[_0x25175f(0x202)]]),_0x6ffa41=_0x18fb08||_0x234e7d&&_0x234e7d['wsEndpoint'];_0x6ffa41&&(_0x50b246=_0x66f018['WvBkB'](getCloudProviderFromWsEndpoint,_0x6ffa41),_0x66f018['wFTIh'](_0x50b246,_0x66f018[_0x25175f(0x1d7)])&&(_0x506f1a=_0x66f018[_0x25175f(0x20b)],_0x56de04=_0x66f018[_0x25175f(0x1c6)](getBrowserFromWSEndpoint,_0x6ffa41)||_0x56de04,_0x2ab215=_0x224ad1[_0x25175f(0x209)][_0x25175f(0x1e6)],_0x49ae19=_0x224ad1['currentSessionDetails'][_0x25175f(0x1c4)]));}else{_0xc14853&&_0xc14853[_0x25175f(0x1e7)][_0x25175f(0x1fd)][_0x25175f(0x1d4)]?_0x56de04=_0x66f018[_0x25175f(0x1e5)](getBrowserNameFromChannel,_0xc14853[_0x25175f(0x1e7)]['use'][_0x25175f(0x1d4)]):_0x56de04=_0x66f018['JfEvO'](_0x66f018[_0x25175f(0x204)],_0x56de04['toLowerCase']());const _0x1bc2a0=await _0x66f018['PexnO'](getPlatformDetails);_0x2ab215=_0x1bc2a0[_0x25175f(0x212)],_0x49ae19=_0x1bc2a0[_0x25175f(0x21a)];}const _0x36c9af={};_0x36c9af[_0x25175f(0x218)]=_0x56de04,_0x36c9af[_0x25175f(0x21f)]=_0xe6fb1d,_0x36c9af[_0x25175f(0x1f0)]={},_0x36c9af['platform']=_0x2ab215,_0x36c9af[_0x25175f(0x1c4)]=_0x49ae19,_0x36c9af['product']=_0x506f1a;const _0x39497f=_0x36c9af,_0x4b85e1={};_0x4b85e1[_0x25175f(0x1f4)]=_0x50b246,_0x224ad1[_0x25175f(0x209)]=Object['assign']({},_0x224ad1[_0x25175f(0x209)],_0x4b85e1,_0x39497f);})(_0x520e5a,_0x577a97,_0x3f9e20);}static[a41_0xbe6751(0x1a9)](){const _0x34ab20=a41_0xbe6751;this['patchConnection'](),this[_0x34ab20(0x1ce)]();}static['patchConnection'](){const _0x26b41c=a41_0xbe6751,_0x39f2b4={'TWtFp':function(_0x39fd7d,_0x52cbae,_0x35c43){return _0x39fd7d(_0x52cbae,_0x35c43);},'JTorM':_0x26b41c(0x1ea),'cTFGf':_0x26b41c(0x222),'htLgt':'titlePath','dRnrK':'__workerDetails','thOOx':_0x26b41c(0x20a),'clTiH':function(_0x52801b,_0x3fa896){return _0x52801b===_0x3fa896;},'xNYQf':_0x26b41c(0x1b6),'QIKjl':function(_0x1a351b,_0x30b6cd,_0x10b252,_0x5ab9eb){return _0x1a351b(_0x30b6cd,_0x10b252,_0x5ab9eb);},'ixrSL':function(_0x3e74dd,_0x3c7006){return _0x3e74dd(_0x3c7006);},'GgziG':_0x26b41c(0x1ad),'WnLmd':_0x26b41c(0x217),'LSpPT':_0x26b41c(0x1e3),'gJCND':function(_0x52f2d8,_0x3c7e59){return _0x52f2d8(_0x3c7e59);},'VZVFX':function(_0x22a787,_0x29975e){return _0x22a787(_0x29975e);},'PqiMe':_0x26b41c(0x1c7),'OCMHa':function(_0x2934a3,_0x4d7a49){return _0x2934a3(_0x4d7a49);},'BtQdW':function(_0x5c4705,_0x50f47c){return _0x5c4705!=_0x50f47c;},'ZayRF':function(_0x1b89ce){return _0x1b89ce();},'bCdIz':_0x26b41c(0x1f3),'bZHma':_0x26b41c(0x20f)},_0x4f08e6=this;if(!this['Connection'])try{const _0x38166b=path['join'](_0x39f2b4['GgziG'],_0x39f2b4[_0x26b41c(0x20d)],_0x39f2b4[_0x26b41c(0x22a)]),_0x36e4cb=_0x39f2b4['gJCND'](importFileFromPWCore,_0x38166b);!_0x36e4cb?_0x39f2b4['VZVFX'](debug,_0x39f2b4['PqiMe']):this[_0x26b41c(0x211)]=_0x36e4cb['Connection'];}catch(_0x1348cd){_0x39f2b4[_0x26b41c(0x1ab)](debug,_0x26b41c(0x1af)+_0x1348cd[_0x26b41c(0x1e0)]());}const _0x102406=this[_0x26b41c(0x211)];try{if(_0x39f2b4[_0x26b41c(0x228)](_0x102406,null)){const _0x4c5da9=_0x102406['prototype'][_0x26b41c(0x20f)],_0x3305de=_0x102406[_0x26b41c(0x22f)][_0x26b41c(0x1f3)];_0x39f2b4[_0x26b41c(0x1b7)](isAccessibilityAutomationSession)&&Object[_0x26b41c(0x1c5)](_0x102406['prototype'],_0x39f2b4['bCdIz'],{'get':function(){const _0x2de641=_0x26b41c,_0x20931b={'UwDGY':function(_0x39ece4,_0x33c107,_0x49c23b){return _0x39f2b4['TWtFp'](_0x39ece4,_0x33c107,_0x49c23b);},'vCaXg':_0x39f2b4[_0x2de641(0x190)],'CViRB':_0x39f2b4[_0x2de641(0x225)],'PJbBR':_0x39f2b4[_0x2de641(0x1fa)],'DNWgg':_0x39f2b4['dRnrK'],'JpPEx':_0x39f2b4[_0x2de641(0x199)],'QJxAF':function(_0x2f9792,_0x3ad755){const _0x1465f2=_0x2de641;return _0x39f2b4[_0x1465f2(0x1a2)](_0x2f9792,_0x3ad755);},'bbpsY':_0x39f2b4[_0x2de641(0x1ef)],'kERHp':function(_0x2fcb68,_0x1983d2,_0x2fb90b,_0x23b926){return _0x39f2b4['QIKjl'](_0x2fcb68,_0x1983d2,_0x2fb90b,_0x23b926);}};return async function(){const _0x3fc0c8=_0x2de641;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x20931b[_0x3fc0c8(0x207)](nestedKeyValue,global[_0x3fc0c8(0x197)],[_0x20931b['vCaXg'],_0x20931b[_0x3fc0c8(0x19c)],_0x20931b[_0x3fc0c8(0x19a)]])&&_0x20931b[_0x3fc0c8(0x207)](shouldScanTestForAccessibility,global[_0x3fc0c8(0x197)]['currentTest'][_0x3fc0c8(0x222)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x3fc0c8(0x1fe)](_0x3fc0c8(0x1cc)+arguments[0x1]),global[_0x3fc0c8(0x1eb)]=!![];const _0xba27ce=_0x20931b[_0x3fc0c8(0x207)](nestedKeyValue,global,[_0x20931b[_0x3fc0c8(0x1b2)],_0x20931b[_0x3fc0c8(0x1b4)]]),_0x255b54={};_0x255b54['method']=arguments[0x1],_0xba27ce&&logger['debug'](util[_0x3fc0c8(0x1dd)](await AccessibilityHelper[_0x3fc0c8(0x1ff)](_0xba27ce,_0x255b54)));if(_0x20931b[_0x3fc0c8(0x1bb)](arguments[0x0][_0x3fc0c8(0x193)],_0x20931b['bbpsY'])&&global[_0x3fc0c8(0x1d1)]){const _0x2aa1d8={};_0x2aa1d8[_0x3fc0c8(0x1a7)]=arguments[0x1],await _0x20931b[_0x3fc0c8(0x1cb)](browserStackExecuteDriver,global[_0x3fc0c8(0x1d1)],scripts[_0x3fc0c8(0x1ff)],_0x2aa1d8);}}}catch(_0x2feb1b){logger['debug'](_0x3fc0c8(0x1c0)+util['format'](_0x2feb1b));}return global[_0x3fc0c8(0x1eb)]=![],_0x3305de[_0x3fc0c8(0x1cd)](this,arguments);};}}),!_0x39f2b4['OCMHa'](isFalse,process[_0x26b41c(0x1f9)][_0x26b41c(0x1be)])&&Object['defineProperty'](_0x102406[_0x26b41c(0x22f)],_0x39f2b4[_0x26b41c(0x1cf)],{'get':function(){const _0x4fa529={'qRAPB':function(_0x353d69,_0x51661c){const _0x3dd2ad=a41_0x51c2;return _0x39f2b4[_0x3dd2ad(0x1a4)](_0x353d69,_0x51661c);}};return function _0x2d3e15(_0x1465d2){const _0x1a870e=a41_0x51c2,_0x1a8b7f=_0x1465d2&&_0x1465d2['params']&&_0x1465d2[_0x1a870e(0x1ca)][_0x1a870e(0x1e8)];if(_0x1a8b7f){const _0x19670a=_0x1a8b7f[_0x1a870e(0x1bc)],_0xb5c176=_0x1a8b7f['platformDetails'];_0xb5c176&&(_0x4fa529[_0x1a870e(0x1b0)](debug,_0x1a870e(0x1c9)+_0xb5c176[_0x1a870e(0x1e0)]()),_0x4f08e6[_0x1a870e(0x209)][_0x1a870e(0x1e6)]=_0xb5c176['platformName'],_0x4f08e6[_0x1a870e(0x209)]['platform_version']=_0xb5c176[_0x1a870e(0x21a)]),_0x19670a&&(_0x4fa529[_0x1a870e(0x1b0)](debug,_0x1a870e(0x229)+_0x19670a),_0x4f08e6['currentSessionDetails'][_0x1a870e(0x19f)]=_0x19670a);}return _0x4c5da9['apply'](this,arguments);};}});}}catch(_0x28db27){_0x39f2b4['ixrSL'](debug,_0x26b41c(0x201)+_0x28db27),_0x4f08e6['sessionError']=_0x28db27[_0x26b41c(0x1e0)]();}}static[a41_0xbe6751(0x1ce)](){const _0x5d450a=a41_0xbe6751,_0x482690={'pWxQb':function(_0x4d6ce2,_0x12fab8){return _0x4d6ce2(_0x12fab8);},'iAtBU':function(_0x45f354,_0x174c79){return _0x45f354(_0x174c79);},'soMyQ':function(_0x12cefb,_0x3c730c){return _0x12cefb(_0x3c730c);},'McigK':function(_0x517ec1){return _0x517ec1();},'TcAVs':'lib','YYadp':_0x5d450a(0x196),'NuWZI':_0x5d450a(0x1f6),'StzCU':_0x5d450a(0x1e9),'IaNYi':_0x5d450a(0x214),'KSAtu':function(_0x3ca13e,_0x53cdd6){return _0x3ca13e(_0x53cdd6);},'ibzma':_0x5d450a(0x216),'qvzmA':function(_0x4460fa,_0x19c317){return _0x4460fa!=_0x19c317;},'vWBVP':'_onMessage','YQoDf':function(_0x1ce17d,_0x135f71){return _0x1ce17d(_0x135f71);}},_0x4f2f69=this;if(_0x482690[_0x5d450a(0x205)](isAccessibilityAutomationSession)){let _0x416564=null;try{const _0x4190b4=path[_0x5d450a(0x1f5)](_0x482690[_0x5d450a(0x1ae)],_0x482690[_0x5d450a(0x20e)],_0x482690[_0x5d450a(0x1c1)],_0x482690[_0x5d450a(0x1a3)]),_0x3846c3=_0x482690['pWxQb'](importFileFromPWCore,_0x4190b4);!_0x3846c3?_0x482690[_0x5d450a(0x22d)](debug,_0x482690[_0x5d450a(0x192)]):_0x416564=_0x3846c3[_0x5d450a(0x1b5)];}catch(_0x430fda){_0x482690[_0x5d450a(0x21e)](debug,_0x482690[_0x5d450a(0x219)]);}try{if(_0x482690[_0x5d450a(0x208)](_0x416564,null)){const _0x24344a=_0x416564[_0x5d450a(0x22f)][_0x5d450a(0x1a0)];Object['defineProperty'](_0x416564[_0x5d450a(0x22f)],_0x482690[_0x5d450a(0x198)],{'get':function(){return function _0x361bde(_0x2d708a){const _0x193465=a41_0x51c2;try{const _0xa67fae=_0x2d708a['bStackParams'];if(_0xa67fae){delete _0x2d708a[_0x193465(0x1de)];const _0x23df21=_0xa67fae['sessionId'],_0x40ec8e=_0xa67fae['platformDetails'];_0x40ec8e&&(_0x482690[_0x193465(0x1df)](debug,_0x193465(0x1ed)+_0x40ec8e[_0x193465(0x1e0)]()),_0x4f2f69[_0x193465(0x209)][_0x193465(0x1e6)]=_0x40ec8e[_0x193465(0x212)],_0x4f2f69[_0x193465(0x209)][_0x193465(0x1c4)]=_0x40ec8e[_0x193465(0x21a)]),_0x23df21&&(_0x482690['iAtBU'](debug,_0x193465(0x1da)+_0x23df21),_0x4f2f69[_0x193465(0x209)]['bsSessionId']=_0x23df21);}}catch(_0x1f898e){_0x482690[_0x193465(0x1d0)](debug,_0x193465(0x19d)+_0x1f898e[_0x193465(0x1e0)]());}return _0x24344a[_0x193465(0x1cd)](this,arguments);};}});}}catch(_0x272502){_0x482690[_0x5d450a(0x20c)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x272502),_0x4f2f69[_0x5d450a(0x226)]=_0x272502[_0x5d450a(0x1e0)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}function a41_0x51c2(_0xcbd3cb,_0x23e173){const _0x514d87=a41_0x514d();return a41_0x51c2=function(_0x51c231,_0x329be6){_0x51c231=_0x51c231-0x190;let _0x4b356c=_0x514d87[_0x51c231];return _0x4b356c;},a41_0x51c2(_0xcbd3cb,_0x23e173);}module[a41_0xbe6751(0x200)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a41_0x5d92d7=a41_0x52d4;(function(_0x538d8c,_0x427f3f){const _0x424f78=a41_0x52d4,_0x168b76=_0x538d8c();while(!![]){try{const _0x1a0e04=-parseInt(_0x424f78(0x1aa))/0x1*(parseInt(_0x424f78(0x1b3))/0x2)+parseInt(_0x424f78(0x1c3))/0x3+-parseInt(_0x424f78(0x1c9))/0x4*(parseInt(_0x424f78(0x1ce))/0x5)+parseInt(_0x424f78(0x1c0))/0x6+-parseInt(_0x424f78(0x18a))/0x7+-parseInt(_0x424f78(0x198))/0x8+-parseInt(_0x424f78(0x1e3))/0x9*(-parseInt(_0x424f78(0x187))/0xa);if(_0x1a0e04===_0x427f3f)break;else _0x168b76['push'](_0x168b76['shift']());}catch(_0x321456){_0x168b76['push'](_0x168b76['shift']());}}}(a41_0xd90d,0x64fcc));const fs=require('fs'),path=require(a41_0x5d92d7(0x1cf)),util=require('util'),{performance}=require(a41_0x5d92d7(0x1a3)),{requireModule}=require(a41_0x5d92d7(0x18e)),helper=require(a41_0x5d92d7(0x18e)),runIntegrations=require('./integrations/command'),captureError=async(_0x2d79dd,_0x1595b4,_0x56f0b4=null)=>{const _0x3d7802=a41_0x5d92d7,_0x12ec5a={'rsfwb':function(_0x5f5b44,_0x4ed2b4,_0x3da9f6){return _0x5f5b44(_0x4ed2b4,_0x3da9f6);},'puXcb':_0x3d7802(0x1a2)};try{await _0x12ec5a[_0x3d7802(0x1cb)](_0x2d79dd,_0x1595b4,_0x56f0b4);}catch(_0x4a004a){process['exitCode']=0x1,logger[_0x3d7802(0x1bd)](util[_0x3d7802(0x1e6)](_0x4a004a));const _0xb7b034={};_0xb7b034[_0x3d7802(0x1c1)]=_0x4a004a['message'];const _0x44a34e=_0xb7b034;if(helper[_0x3d7802(0x1d4)](global['config'])&&helper[_0x3d7802(0x1d4)](global[_0x3d7802(0x1e5)]))return;try{helper['fireFunnelTestEvent'](_0x12ec5a[_0x3d7802(0x1c2)],_0x44a34e,global[_0x3d7802(0x1dd)],global[_0x3d7802(0x1e5)]);}catch(_0x84b04c){logger[_0x3d7802(0x1a7)](_0x3d7802(0x1d8)+_0x84b04c);}}};function a41_0x52d4(_0x421392,_0x391f98){const _0xd90dd7=a41_0xd90d();return a41_0x52d4=function(_0x52d47f,_0x189d4f){_0x52d47f=_0x52d47f-0x182;let _0x32b14b=_0xd90dd7[_0x52d47f];return _0x32b14b;},a41_0x52d4(_0x421392,_0x391f98);}try{const browserstackFolderPath=path['join'](helper[a41_0x5d92d7(0x1a4)](),a41_0x5d92d7(0x188));if(fs[a41_0x5d92d7(0x1dc)](browserstackFolderPath)){const filePath=path[a41_0x5d92d7(0x196)](browserstackFolderPath,'.local-not-set.json');fs[a41_0x5d92d7(0x1dc)](filePath)&&fs[a41_0x5d92d7(0x1de)](filePath);}}catch(a41_0x45ab9d){logger[a41_0x5d92d7(0x1a7)](a41_0x5d92d7(0x1d7)+a41_0x45ab9d[a41_0x5d92d7(0x1a9)]);}process[a41_0x5d92d7(0x18b)]['includes'](a41_0x5d92d7(0x1a1))&&(!process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x19b)](a41_0x5d92d7(0x1d2))&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)](a41_0x5d92d7(0x19e)),!process[a41_0x5d92d7(0x18b)]['includes']('--config')&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)]('--no-config'),!process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x19b)](a41_0x5d92d7(0x1ba))&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)](a41_0x5d92d7(0x1bc)));const yargs=require(a41_0x5d92d7(0x1b1)),Constants=require(a41_0x5d92d7(0x195)),PerformanceTester=require('../helpers/performance-tester'),logger=require(a41_0x5d92d7(0x1b8))[a41_0x5d92d7(0x1ac)];PerformanceTester[a41_0x5d92d7(0x18c)](),performance[a41_0x5d92d7(0x1d3)]('sdk:setup-start');const a41_0x43681e={};a41_0x43681e['dot-notation']=![];function a41_0xd90d(){const _0x449e9c=['existsSync','config','unlinkSync','./cucumber-js/command','parserConfiguration','VERSION','AARze','18589707VFdKeI','HxCKV','framework','format','describe','HOUti','wrap','nightwatch','handler','./mocha/command','10cbypMZ','.browserstack','XOBYT','3916059SXNxRQ','argv','startMonitoring','push','../helpers/helper','./codeceptjs/command','ats','mocha/lib/cli/commands.js','TytAj','showHelpOnFail','CUCUMBER','./utils/constants','join','alias','3113616tfQEHc','jest','HELP','includes','nsnmQ','mocha/lib/cli/run.js','--no-opts','jQGtz','mocha/lib/cli/cli.js','mocha','SDKTestSuccessful','perf_hooks','homedir','./playwright/command','smrkE','debug','HST','message','83JLJXxJ','command','winstonLogger','JWzrP','version','bcCyg','NnMnt','yargs','NIGHTWATCH','17858tAsxtv','GmXHp','./nightwatch/command','niITs','QCHEV','../helpers/logger','cucumber-js','--package','NXmFa','--no-package','error','IBqUh','yTQSn','3342384PayRSC','globalException','puXcb','864636WdWTBz','help','PLAYWRIGHT','CnNZX','Imctg','VANILLA','3229636DfBQZG','../../ats/src/index','rsfwb','CyxHi','integrations','5fbaqkW','path','./jest/command','INFO','--opts','mark','isUndefined','DtbxM','JEST','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','KtpgE','slice','codeceptjs'];a41_0xd90d=function(){return _0x449e9c;};return a41_0xd90d();}const argv=yargs[a41_0x5d92d7(0x1e0)](a41_0x43681e)['usage']('usage:\x20$0\x20<command>\x20[args]')[a41_0x5d92d7(0x197)]('v',a41_0x5d92d7(0x1ae))[a41_0x5d92d7(0x1e7)]('v')[a41_0x5d92d7(0x197)]('h',a41_0x5d92d7(0x1c4))[a41_0x5d92d7(0x1c4)](a41_0x5d92d7(0x1c4))[a41_0x5d92d7(0x193)](!![],Constants[a41_0x5d92d7(0x1e1)][a41_0x5d92d7(0x19a)])[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x199),Constants[a41_0x5d92d7(0x1d6)][a41_0x5d92d7(0x1d1)],function(_0xde2a6){const _0x4cceae=a41_0x5d92d7,_0x202d7b={'AxFXh':function(_0x761192,_0x416281,_0x2d6239,_0x47d8fd){return _0x761192(_0x416281,_0x2d6239,_0x47d8fd);},'bcCyg':function(_0x113ddd,_0x5aa388){return _0x113ddd(_0x5aa388);},'XOJIo':_0x4cceae(0x1d0)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x1713f5=process[_0x4cceae(0x18b)][_0x4cceae(0x1da)](0x2);return _0x202d7b['AxFXh'](captureError,_0x202d7b[_0x4cceae(0x1af)](require,_0x202d7b['XOJIo']),_0xde2a6['argv'],_0x1713f5);})['command'](a41_0x5d92d7(0x1a1),Constants['MOCHA'][a41_0x5d92d7(0x1d1)],_0x481655=>{const _0x10a303=a41_0x5d92d7,_0x26c891={'LGpGT':function(_0x4767a2,_0x1d2f62,_0x3c3dcc){return _0x4767a2(_0x1d2f62,_0x3c3dcc);},'TxaFT':function(_0x1f5d2e,_0x2e3716){return _0x1f5d2e(_0x2e3716);},'QCHEV':_0x10a303(0x186),'smrkE':'Parsing\x20command\x20line\x20arguements','HxCKV':function(_0x5a5082,_0x35a030){return _0x5a5082(_0x35a030);},'NXmFa':_0x10a303(0x19d),'XOBYT':function(_0x3d49ec,_0x3497b8){return _0x3d49ec(_0x3497b8);},'TytAj':_0x10a303(0x191),'GmXHp':_0x10a303(0x1a0),'yTQSn':function(_0x1cd037){return _0x1cd037();}};logger[_0x10a303(0x1a7)](_0x26c891[_0x10a303(0x1a6)]);const _0x2b0954=_0x26c891[_0x10a303(0x1e4)](requireModule,_0x26c891[_0x10a303(0x1bb)]),_0x37b563=_0x26c891[_0x10a303(0x189)](requireModule,_0x26c891[_0x10a303(0x192)]);process[_0x10a303(0x18b)]=process[_0x10a303(0x18b)][_0x10a303(0x1da)](0x1),delete _0x2b0954[_0x10a303(0x185)],_0x2b0954['handler']=function(_0x4ff097){const _0x4cbce2=_0x10a303;return _0x26c891['LGpGT'](captureError,_0x26c891['TxaFT'](require,_0x26c891[_0x4cbce2(0x1b7)]),_0x4ff097);},_0x37b563['run']=_0x2b0954;const {main:_0x505db8}=_0x26c891[_0x10a303(0x189)](requireModule,_0x26c891[_0x10a303(0x1b4)]);_0x26c891[_0x10a303(0x1bf)](_0x505db8);})[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x1b9),Constants[a41_0x5d92d7(0x194)][a41_0x5d92d7(0x1d1)],function(_0x307c28){const _0x24a556=a41_0x5d92d7,_0x16afa9={'JWzrP':function(_0x18d94c,_0x559b25,_0x448c30,_0x440500){return _0x18d94c(_0x559b25,_0x448c30,_0x440500);},'YmxxR':function(_0x2a0ae1,_0x4435c6){return _0x2a0ae1(_0x4435c6);},'CnNZX':_0x24a556(0x1df)},_0x3f1812=process[_0x24a556(0x18b)][_0x24a556(0x1da)](0x2);return _0x16afa9[_0x24a556(0x1ad)](captureError,_0x16afa9['YmxxR'](require,_0x16afa9[_0x24a556(0x1c6)]),_0x307c28[_0x24a556(0x18b)],_0x3f1812);})[a41_0x5d92d7(0x1ab)]('node',Constants[a41_0x5d92d7(0x1c8)][a41_0x5d92d7(0x1d1)],function(_0x492f4e){const _0x3c8981=a41_0x5d92d7,_0x5d5d92={'dSdBn':function(_0x276ec0,_0x719535,_0x56c91b,_0x204380){return _0x276ec0(_0x719535,_0x56c91b,_0x204380);},'jQGtz':function(_0x206656,_0x9bf697){return _0x206656(_0x9bf697);},'nsnmQ':'./vanilla-js/command'},_0x5ea32e=process[_0x3c8981(0x18b)]['slice'](0x2);return _0x5d5d92['dSdBn'](captureError,_0x5d5d92[_0x3c8981(0x19f)](require,_0x5d5d92[_0x3c8981(0x19c)]),_0x492f4e[_0x3c8981(0x18b)],_0x5ea32e);})['command'](a41_0x5d92d7(0x184),Constants[a41_0x5d92d7(0x1b2)][a41_0x5d92d7(0x1d1)],function(_0x251ed0){const _0x3a351f=a41_0x5d92d7,_0x5e48b7={'HOUti':function(_0x1aadcd,_0x230ba9,_0x3f1412,_0x3e4c1a){return _0x1aadcd(_0x230ba9,_0x3f1412,_0x3e4c1a);},'codis':function(_0x553ff8,_0x163072){return _0x553ff8(_0x163072);},'AARze':_0x3a351f(0x1b5)},_0x1d6557=process[_0x3a351f(0x18b)][_0x3a351f(0x1da)](0x2);return _0x5e48b7[_0x3a351f(0x182)](captureError,_0x5e48b7['codis'](require,_0x5e48b7[_0x3a351f(0x1e2)]),_0x251ed0[_0x3a351f(0x18b)],_0x1d6557);})['command'](a41_0x5d92d7(0x1db),Constants['CODECEPTJS'][a41_0x5d92d7(0x1d1)],function(_0x5f8929){const _0x22cf92=a41_0x5d92d7,_0x11d200={'DtbxM':function(_0xcb211e,_0x2d1901,_0x3cfea6,_0x10358f){return _0xcb211e(_0x2d1901,_0x3cfea6,_0x10358f);},'KtpgE':function(_0x528a8a,_0x528f89){return _0x528a8a(_0x528f89);},'ViVot':_0x22cf92(0x18f)},_0x1c03c8=process[_0x22cf92(0x18b)][_0x22cf92(0x1da)](0x2);return _0x11d200[_0x22cf92(0x1d5)](captureError,_0x11d200[_0x22cf92(0x1d9)](require,_0x11d200['ViVot']),_0x5f8929[_0x22cf92(0x18b)],_0x1c03c8);})['command']('ats',Constants[a41_0x5d92d7(0x1a8)][a41_0x5d92d7(0x1d1)],function(_0x821dd5){const _0x2f280d=a41_0x5d92d7,_0x304314={'oYjDF':function(_0x3036be,_0x4f4eab,_0x3cb24a){return _0x3036be(_0x4f4eab,_0x3cb24a);},'IBqUh':function(_0x1d3dc0,_0x429d9b){return _0x1d3dc0(_0x429d9b);},'Imctg':_0x2f280d(0x1ca)},_0x1f6eee=process[_0x2f280d(0x18b)][_0x2f280d(0x1da)](0x2);return _0x304314['oYjDF'](captureError,_0x304314[_0x2f280d(0x1be)](require,_0x304314[_0x2f280d(0x1c7)]),_0x821dd5);})[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x1cd),Constants['INTEGRATIONS'][a41_0x5d92d7(0x1d1)],function(_0x41d223){const _0x2b797b=a41_0x5d92d7,_0x4889f2={'CyxHi':function(_0x5b8588,_0x50a57d){return _0x5b8588(_0x50a57d);}};return _0x4889f2[_0x2b797b(0x1cc)](runIntegrations,_0x41d223);})[a41_0x5d92d7(0x1ab)]('playwright',Constants[a41_0x5d92d7(0x1c5)]['INFO'],function(_0x4119e6){const _0xb06839=a41_0x5d92d7,_0x222fa6={'NnMnt':function(_0x261e2b,_0x1d457d,_0x23d0ad,_0xa6f696){return _0x261e2b(_0x1d457d,_0x23d0ad,_0xa6f696);},'niITs':function(_0x4083a7,_0x53fd28){return _0x4083a7(_0x53fd28);},'qIhUi':_0xb06839(0x1a5)},_0x3d51e6=process[_0xb06839(0x18b)][_0xb06839(0x1da)](0x2);return _0x222fa6[_0xb06839(0x1b0)](captureError,_0x222fa6[_0xb06839(0x1b6)](require,_0x222fa6['qIhUi']),_0x4119e6[_0xb06839(0x18b)],_0x3d51e6);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a41_0x5d92d7(0x183)](null)[a41_0x5d92d7(0x18b)];!helper[a41_0x5d92d7(0x1d4)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a41_0x5d92d7(0x190)&&console[a41_0x5d92d7(0x1bd)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a42_0x1cefb2=a42_0x4920;(function(_0x1dba91,_0x378002){const _0x656c9f=a42_0x4920,_0x56a776=_0x1dba91();while(!![]){try{const _0x550ef=-parseInt(_0x656c9f(0x1d8))/0x1+-parseInt(_0x656c9f(0x1e3))/0x2+-parseInt(_0x656c9f(0x21d))/0x3+-parseInt(_0x656c9f(0x1ea))/0x4*(-parseInt(_0x656c9f(0x1f4))/0x5)+-parseInt(_0x656c9f(0x201))/0x6*(parseInt(_0x656c9f(0x22a))/0x7)+parseInt(_0x656c9f(0x227))/0x8+parseInt(_0x656c9f(0x1f9))/0x9*(parseInt(_0x656c9f(0x230))/0xa);if(_0x550ef===_0x378002)break;else _0x56a776['push'](_0x56a776['shift']());}catch(_0x48e711){_0x56a776['push'](_0x56a776['shift']());}}}(a42_0x2395,0x28f41));const fs=require('fs'),path=require(a42_0x1cefb2(0x1f7)),util=require(a42_0x1cefb2(0x200)),{performance}=require(a42_0x1cefb2(0x20d)),{requireModule}=require(a42_0x1cefb2(0x1d4)),helper=require(a42_0x1cefb2(0x1d4)),runIntegrations=require(a42_0x1cefb2(0x1cc)),captureError=async(_0x19b183,_0x4314bc,_0x48168c=null)=>{const _0x1a3f86=a42_0x1cefb2,_0x302a94={'PNbax':function(_0x1fe410,_0x352f67,_0x869284){return _0x1fe410(_0x352f67,_0x869284);},'pLaDb':_0x1a3f86(0x1c2)};try{await _0x302a94[_0x1a3f86(0x205)](_0x19b183,_0x4314bc,_0x48168c);}catch(_0x506975){process['exitCode']=0x1,logger[_0x1a3f86(0x203)](util[_0x1a3f86(0x1cb)](_0x506975));const _0x58c1fd={};_0x58c1fd[_0x1a3f86(0x228)]=_0x506975[_0x1a3f86(0x221)];const _0x5cc985=_0x58c1fd;if(helper[_0x1a3f86(0x1da)](global[_0x1a3f86(0x1f2)])&&helper[_0x1a3f86(0x1da)](global['framework']))return;try{helper[_0x1a3f86(0x1fd)](_0x302a94[_0x1a3f86(0x218)],_0x5cc985,global[_0x1a3f86(0x1f2)],global[_0x1a3f86(0x20b)]);}catch(_0x57593f){logger[_0x1a3f86(0x1d6)](_0x1a3f86(0x217)+_0x57593f);}}};try{const browserstackFolderPath=path[a42_0x1cefb2(0x1c4)](helper[a42_0x1cefb2(0x211)](),a42_0x1cefb2(0x22f));if(fs[a42_0x1cefb2(0x212)](browserstackFolderPath)){const filePath=path[a42_0x1cefb2(0x1c4)](browserstackFolderPath,a42_0x1cefb2(0x1c6));fs[a42_0x1cefb2(0x212)](filePath)&&fs[a42_0x1cefb2(0x233)](filePath);}}catch(a42_0x4f0527){logger[a42_0x1cefb2(0x1d6)](a42_0x1cefb2(0x208)+a42_0x4f0527['message']);}process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x229)]('mocha')&&(!process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x229)]('--opts')&&process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x236)](a42_0x1cefb2(0x1c3)),!process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x229)]('--config')&&process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x236)](a42_0x1cefb2(0x22b)),!process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x229)](a42_0x1cefb2(0x1e8))&&process[a42_0x1cefb2(0x204)][a42_0x1cefb2(0x236)](a42_0x1cefb2(0x1fc)));const yargs=require(a42_0x1cefb2(0x22c)),Constants=require(a42_0x1cefb2(0x1ec)),PerformanceTester=require('../helpers/performance-tester'),logger=require(a42_0x1cefb2(0x1f5))[a42_0x1cefb2(0x1db)];PerformanceTester[a42_0x1cefb2(0x235)](),performance[a42_0x1cefb2(0x213)](a42_0x1cefb2(0x220));const a42_0x4d68e4={};function a42_0x4920(_0x3a5da8,_0x7e4050){const _0x2395d0=a42_0x2395();return a42_0x4920=function(_0x492073,_0x10c78e){_0x492073=_0x492073-0x1c2;let _0x1ff3eb=_0x2395d0[_0x492073];return _0x1ff3eb;},a42_0x4920(_0x3a5da8,_0x7e4050);}a42_0x4d68e4['dot-notation']=![];function a42_0x2395(){const _0x5cab1d=['mocha','sdk:setup-start','message','INFO','dLPyc','INTEGRATIONS','nightwatch','pAFpN','238008pzeKqc','globalException','includes','51191EIsrZX','--no-config','yargs','hjMBX','NIGHTWATCH','.browserstack','710UHlAAI','VtGfa','FYhdX','unlinkSync','CUCUMBER','startMonitoring','push','SDKTestSuccessful','--no-opts','join','XcmZp','.local-not-set.json','integrations','setTestObservabilityDisable','./jest/command','BZAjP','format','./integrations/command','handler','usage:\x20$0\x20<command>\x20[args]','SCAZP','CODECEPTJS','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','usage','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/helper','pkGsU','debug','PLAYWRIGHT','216494UngshU','VERSION','isUndefined','winstonLogger','HST','JPKYO','DAnme','run','version','./vanilla-js/command','gKrbs','81640NyppZC','lenuC','HELP','KOYTf','MOCHA','--package','cgDFE','69508yQsMWh','nlKAY','./utils/constants','./mocha/command','slice','wrap','mocha/lib/cli/cli.js','dEcjp','config','describe','10FtHGwb','../helpers/logger','setBrowserStackAutomationDisable','path','command','51039wXNiiL','mocha/lib/cli/commands.js','tFzeK','--no-package','fireFunnelTestEvent','help','cucumber-js','util','12ivpVwX','ats','error','argv','PNbax','Parsing\x20command\x20line\x20arguements','raafn','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','showHelpOnFail','Xraom','framework','LbkIr','perf_hooks','dPjEr','uvEGU','HjZZE','homedir','existsSync','mark','alias','Mnnov','XQgEh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pLaDb','./cucumber-js/command','YNBgE','StzRK','JEST','82383rrFSVt','jest'];a42_0x2395=function(){return _0x5cab1d;};return a42_0x2395();}const argv=yargs['parserConfiguration'](a42_0x4d68e4)[a42_0x1cefb2(0x1d2)](a42_0x1cefb2(0x1ce))[a42_0x1cefb2(0x214)]('v',a42_0x1cefb2(0x1e0))[a42_0x1cefb2(0x1f3)]('v')['alias']('h',a42_0x1cefb2(0x1fe))[a42_0x1cefb2(0x1fe)](a42_0x1cefb2(0x1fe))[a42_0x1cefb2(0x209)](!![],Constants[a42_0x1cefb2(0x1d9)][a42_0x1cefb2(0x1e5)])['command'](a42_0x1cefb2(0x21e),Constants[a42_0x1cefb2(0x21c)]['INFO'],function(_0x390b79){const _0x43300a=a42_0x1cefb2,_0x1b95c4={'Mnnov':function(_0x53afe4,_0x5436b9,_0x2ffb19,_0x1aef81){return _0x53afe4(_0x5436b9,_0x2ffb19,_0x1aef81);},'tFzeK':function(_0x533728,_0x4ae01e){return _0x533728(_0x4ae01e);},'HjZZE':_0x43300a(0x1c9)};helper[_0x43300a(0x1c8)](),helper[_0x43300a(0x1f6)]();const _0x420b8e=process[_0x43300a(0x204)]['slice'](0x2);return _0x1b95c4[_0x43300a(0x215)](captureError,_0x1b95c4[_0x43300a(0x1fb)](require,_0x1b95c4[_0x43300a(0x210)]),_0x390b79[_0x43300a(0x204)],_0x420b8e);})['command'](a42_0x1cefb2(0x21f),Constants[a42_0x1cefb2(0x1e7)][a42_0x1cefb2(0x222)],_0x1680b7=>{const _0x3175a3=a42_0x1cefb2,_0x294def={'SwDJh':function(_0x18d78a,_0x4114d5,_0x490560){return _0x18d78a(_0x4114d5,_0x490560);},'FYhdX':function(_0x5e4625,_0x12d22c){return _0x5e4625(_0x12d22c);},'gKrbs':_0x3175a3(0x1ed),'cgDFE':_0x3175a3(0x206),'dLPyc':function(_0x4fd21a,_0x223821){return _0x4fd21a(_0x223821);},'nlKAY':'mocha/lib/cli/run.js','pAFpN':_0x3175a3(0x1fa),'KOYTf':_0x3175a3(0x1f0),'COTOs':function(_0x454bbd){return _0x454bbd();}};logger[_0x3175a3(0x1d6)](_0x294def[_0x3175a3(0x1e9)]);const _0x32e206=_0x294def[_0x3175a3(0x223)](requireModule,_0x294def[_0x3175a3(0x1eb)]),_0x309a8f=_0x294def[_0x3175a3(0x223)](requireModule,_0x294def[_0x3175a3(0x226)]);process[_0x3175a3(0x204)]=process['argv'][_0x3175a3(0x1ee)](0x1),delete _0x32e206[_0x3175a3(0x1cd)],_0x32e206[_0x3175a3(0x1cd)]=function(_0x22221d){const _0x4d0542=_0x3175a3;return _0x294def['SwDJh'](captureError,_0x294def[_0x4d0542(0x232)](require,_0x294def[_0x4d0542(0x1e2)]),_0x22221d);},_0x309a8f[_0x3175a3(0x1df)]=_0x32e206;const {main:_0x55e9ba}=_0x294def[_0x3175a3(0x232)](requireModule,_0x294def[_0x3175a3(0x1e6)]);_0x294def['COTOs'](_0x55e9ba);})[a42_0x1cefb2(0x1f8)](a42_0x1cefb2(0x1ff),Constants[a42_0x1cefb2(0x234)][a42_0x1cefb2(0x222)],function(_0x407a2d){const _0x365b14=a42_0x1cefb2,_0x23e69c={'dEcjp':function(_0x5a74cd,_0x40324b,_0x5eb232,_0x57e964){return _0x5a74cd(_0x40324b,_0x5eb232,_0x57e964);},'XcmZp':function(_0x3ef750,_0x8c8c44){return _0x3ef750(_0x8c8c44);},'LbkIr':_0x365b14(0x219)},_0x4985a=process[_0x365b14(0x204)]['slice'](0x2);return _0x23e69c[_0x365b14(0x1f1)](captureError,_0x23e69c[_0x365b14(0x1c5)](require,_0x23e69c[_0x365b14(0x20c)]),_0x407a2d[_0x365b14(0x204)],_0x4985a);})['command']('node',Constants['VANILLA'][a42_0x1cefb2(0x222)],function(_0x2f7e14){const _0x5539f2=a42_0x1cefb2,_0x28db94={'DAnme':function(_0x40a78a,_0x508f1e,_0x1d1c1d,_0x7d5a50){return _0x40a78a(_0x508f1e,_0x1d1c1d,_0x7d5a50);},'lenuC':function(_0x3b37d1,_0xac8a60){return _0x3b37d1(_0xac8a60);},'pkGsU':_0x5539f2(0x1e1)},_0x3c7455=process[_0x5539f2(0x204)][_0x5539f2(0x1ee)](0x2);return _0x28db94[_0x5539f2(0x1de)](captureError,_0x28db94[_0x5539f2(0x1e4)](require,_0x28db94[_0x5539f2(0x1d5)]),_0x2f7e14['argv'],_0x3c7455);})[a42_0x1cefb2(0x1f8)](a42_0x1cefb2(0x225),Constants[a42_0x1cefb2(0x22e)]['INFO'],function(_0xd43f7f){const _0x267492=a42_0x1cefb2,_0x3ceeb4={'JPKYO':function(_0x3991ca,_0x5f3c6a,_0x2234fd,_0x5eb915){return _0x3991ca(_0x5f3c6a,_0x2234fd,_0x5eb915);},'BZAjP':function(_0x4b41ae,_0x3a69ba){return _0x4b41ae(_0x3a69ba);},'dPjEr':'./nightwatch/command'},_0x30ec40=process[_0x267492(0x204)]['slice'](0x2);return _0x3ceeb4[_0x267492(0x1dd)](captureError,_0x3ceeb4[_0x267492(0x1ca)](require,_0x3ceeb4[_0x267492(0x20e)]),_0xd43f7f['argv'],_0x30ec40);})['command']('codeceptjs',Constants[a42_0x1cefb2(0x1d0)][a42_0x1cefb2(0x222)],function(_0xa980c2){const _0x564d75=a42_0x1cefb2,_0x5b5bbd={'StzRK':function(_0x14d1a0,_0x59f63b,_0x57f3ed,_0x2c4290){return _0x14d1a0(_0x59f63b,_0x57f3ed,_0x2c4290);},'SCAZP':function(_0xac0527,_0x42e21e){return _0xac0527(_0x42e21e);},'YNBgE':'./codeceptjs/command'},_0x1435c9=process['argv'][_0x564d75(0x1ee)](0x2);return _0x5b5bbd[_0x564d75(0x21b)](captureError,_0x5b5bbd[_0x564d75(0x1cf)](require,_0x5b5bbd[_0x564d75(0x21a)]),_0xa980c2[_0x564d75(0x204)],_0x1435c9);})[a42_0x1cefb2(0x1f8)](a42_0x1cefb2(0x202),Constants[a42_0x1cefb2(0x1dc)]['INFO'],function(_0x3f3064){const _0x1a151a=a42_0x1cefb2,_0x30f09d={'raafn':function(_0x2de430,_0x4d6697,_0xf6d3f3){return _0x2de430(_0x4d6697,_0xf6d3f3);},'LNLDG':function(_0x271f56,_0x3b1875){return _0x271f56(_0x3b1875);},'hjMBX':'../../ats/src/index'},_0x234761=process['argv']['slice'](0x2);return _0x30f09d[_0x1a151a(0x207)](captureError,_0x30f09d['LNLDG'](require,_0x30f09d[_0x1a151a(0x22d)]),_0x3f3064);})[a42_0x1cefb2(0x1f8)](a42_0x1cefb2(0x1c7),Constants[a42_0x1cefb2(0x224)][a42_0x1cefb2(0x222)],function(_0x25f13e){const _0x58d53c=a42_0x1cefb2,_0x19e0f0={'Xraom':function(_0x3b3981,_0x1c6e9e){return _0x3b3981(_0x1c6e9e);}};return _0x19e0f0[_0x58d53c(0x20a)](runIntegrations,_0x25f13e);})['command']('playwright',Constants[a42_0x1cefb2(0x1d7)]['INFO'],function(_0x3fb06b){const _0x1e8133=a42_0x1cefb2,_0x321d05={'uvEGU':function(_0x3dca50,_0x186123,_0x5165c1,_0x2f8c59){return _0x3dca50(_0x186123,_0x5165c1,_0x2f8c59);},'XQgEh':function(_0xdba10c,_0x2d77a5){return _0xdba10c(_0x2d77a5);},'VtGfa':'./playwright/command'},_0x4050ae=process[_0x1e8133(0x204)][_0x1e8133(0x1ee)](0x2);return _0x321d05[_0x1e8133(0x20f)](captureError,_0x321d05[_0x1e8133(0x216)](require,_0x321d05[_0x1e8133(0x231)]),_0x3fb06b['argv'],_0x4050ae);})['demandCommand'](0x1,a42_0x1cefb2(0x1d1))[a42_0x1cefb2(0x1ef)](null)[a42_0x1cefb2(0x204)];!helper[a42_0x1cefb2(0x1da)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a42_0x1cefb2(0x202)&&console[a42_0x1cefb2(0x203)](a42_0x1cefb2(0x1d3));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
const a43_0x440e9e=a43_0x5e83;function a43_0x9ecc(){const _0x2a7e6f=['dnsXl','length','utf8','\x20&&\x20npm\x20update\x20browserstack-node-sdk','writeFileSync','1967520CUUGEM','9kTWfWe','scripts','eXJkH','info','/package.json','smGZP','mocha','username','cwd','../helpers/helper','hZcys','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','winstonLogger','parse','replace','2421300bZiAqa','kgaFm','load','../helpers/logger','/browserstack.yml','push','readFileSync','includes','node-setup','error','FLbVZ','codeceptjs','/../../browserstack.pw.yml.sample','postinstall','jest','Setup\x20completed','entries','yegmz','isUndefined','YOUR_USERNAME','node','cucumber-js','86556FXuGiD','iJycx','-browserstack','656574rznxFj','DOfEM','3037280SYnTrd','EIOUC','argv','indexOf','9XAlcCY','4PypRof','source','cVqyu','split','debug','178671kFgbXs','browserstack-node-sdk\x20','YOUR_ACCESS_KEY','SDKSetup','ISzoI','2304GqmIzE','stringify','fireFunnelTestEvent','splice','browserstack-node-sdk','kSaLW','OhGZR','1099cODEwx','2827hJogin','eSgHQ','SfbMq','xvDdg','playwright'];a43_0x9ecc=function(){return _0x2a7e6f;};return a43_0x9ecc();}(function(_0x4944c1,_0x13444e){const _0x2e99d8=a43_0x5e83,_0x1df2c9=_0x4944c1();while(!![]){try{const _0x4d4931=-parseInt(_0x2e99d8(0x1bb))/0x1+parseInt(_0x2e99d8(0x1af))/0x2*(-parseInt(_0x2e99d8(0x1b5))/0x3)+-parseInt(_0x2e99d8(0x1b6))/0x4*(parseInt(_0x2e99d8(0x1b1))/0x5)+parseInt(_0x2e99d8(0x1e2))/0x6+parseInt(_0x2e99d8(0x1c7))/0x7*(-parseInt(_0x2e99d8(0x1c0))/0x8)+parseInt(_0x2e99d8(0x1d3))/0x9*(parseInt(_0x2e99d8(0x1d2))/0xa)+-parseInt(_0x2e99d8(0x1c8))/0xb*(-parseInt(_0x2e99d8(0x1ac))/0xc);if(_0x4d4931===_0x13444e)break;else _0x1df2c9['push'](_0x1df2c9['shift']());}catch(_0x4077a5){_0x1df2c9['push'](_0x1df2c9['shift']());}}}(a43_0x9ecc,0x9bb8f));const fs=require('fs'),helper=require(a43_0x440e9e(0x1dc)),yaml=require('js-yaml'),yargs=require('yargs'),logger=require(a43_0x440e9e(0x1e5))[a43_0x440e9e(0x1df)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a43_0x440e9e(0x1ee),configFile=process[a43_0x440e9e(0x1db)]()+a43_0x440e9e(0x1e6),packageFile=process[a43_0x440e9e(0x1db)]()+a43_0x440e9e(0x1d7),frameworks=[a43_0x440e9e(0x1d9),a43_0x440e9e(0x1a4),a43_0x440e9e(0x1ab),a43_0x440e9e(0x1aa),'nightwatch',a43_0x440e9e(0x1ed),a43_0x440e9e(0x1cc)];let config;logger[a43_0x440e9e(0x1d6)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a43_0x440e9e(0x1b3)][a43_0x440e9e(0x1da)],yargs[a43_0x440e9e(0x1b3)]['key'],yargs[a43_0x440e9e(0x1b3)][a43_0x440e9e(0x1cc)]);function a43_0x5e83(_0x183d33,_0x32d1ae){const _0x9ecc56=a43_0x9ecc();return a43_0x5e83=function(_0x5e8360,_0x22e0d3){_0x5e8360=_0x5e8360-0x1a4;let _0x49ea36=_0x9ecc56[_0x5e8360];return _0x49ea36;},a43_0x5e83(_0x183d33,_0x32d1ae);}try{sdkSetup();}catch(a43_0x6402dd){logger[a43_0x440e9e(0x1ba)](a43_0x440e9e(0x1de)+a43_0x6402dd);}addScriptInPackageJson();function createConfigurationFile(_0xf5a35d,_0x4c45d9,_0x167223=![]){const _0x3d900f=a43_0x440e9e,_0x20edb1={};_0x20edb1[_0x3d900f(0x1d8)]=_0x3d900f(0x1cf),_0x20edb1[_0x3d900f(0x1cb)]=_0x3d900f(0x1a9),_0x20edb1['yegmz']=_0x3d900f(0x1bd);const _0x2f60b0=_0x20edb1;try{let _0x5852f4=fs[_0x3d900f(0x1e8)](_0x167223?configFileTemplatePW:configFileTemplate,_0x2f60b0[_0x3d900f(0x1d8)]);_0xf5a35d&&(_0x5852f4=_0x5852f4[_0x3d900f(0x1e1)](_0x2f60b0[_0x3d900f(0x1cb)],_0xf5a35d)),_0x4c45d9&&(_0x5852f4=_0x5852f4[_0x3d900f(0x1e1)](_0x2f60b0[_0x3d900f(0x1a7)],_0x4c45d9)),config=yaml[_0x3d900f(0x1e4)](_0x5852f4),fs[_0x3d900f(0x1d1)](configFile,_0x5852f4,_0x304c4e=>{_0x304c4e&&logger['error'](_0x304c4e);});}catch(_0x234c33){logger[_0x3d900f(0x1eb)](_0x234c33);}}function addPostInstallScript(_0x30acd8,_0x42bb3a){const _0x40de7c=a43_0x440e9e,_0x5fd2d9={};_0x5fd2d9['kSaLW']=_0x40de7c(0x1ef),_0x5fd2d9[_0x40de7c(0x1c6)]='npm\x20update\x20browserstack-node-sdk',_0x5fd2d9[_0x40de7c(0x1b8)]=_0x40de7c(0x1d0);const _0x490856=_0x5fd2d9;let _0x1316a7=_0x30acd8[_0x490856[_0x40de7c(0x1c5)]];if(_0x1316a7&&_0x1316a7[_0x40de7c(0x1e9)](_0x490856[_0x40de7c(0x1c6)]))return;!_0x1316a7?_0x1316a7=_0x490856[_0x40de7c(0x1c6)]:_0x1316a7+=_0x490856['cVqyu'],_0x42bb3a['push']([_0x490856['kSaLW'],_0x1316a7]);}function addScriptInPackageJson(){const _0x5c89b3=a43_0x440e9e,_0x44ec03={'eSgHQ':_0x5c89b3(0x1cf),'DOfEM':function(_0x23d53d,_0x4652f7){return _0x23d53d<_0x4652f7;},'ISzoI':function(_0x3fd0c0,_0x18e336,_0x5b2793){return _0x3fd0c0(_0x18e336,_0x5b2793);},'dnsXl':function(_0x5c9048,_0x5f3306){return _0x5c9048!==_0x5f3306;},'kgaFm':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x12724d=JSON[_0x5c89b3(0x1e0)](fs[_0x5c89b3(0x1e8)](packageFile,_0x44ec03[_0x5c89b3(0x1c9)])),_0x585eb9=[];for(let _0x424f45=0x0;_0x44ec03[_0x5c89b3(0x1b0)](_0x424f45,frameworks[_0x5c89b3(0x1ce)]);_0x424f45+=0x1){const _0x54a7b4=_0x44ec03[_0x5c89b3(0x1bf)](findScriptsWithFramework,_0x12724d[_0x5c89b3(0x1d4)],frameworks[_0x424f45]);for(let _0x10607f=0x0;_0x44ec03[_0x5c89b3(0x1b0)](_0x10607f,_0x54a7b4[_0x5c89b3(0x1ce)]);_0x10607f+=0x1){_0x585eb9['push'](_0x44ec03[_0x5c89b3(0x1bf)](getUpdatedCommand,_0x12724d[_0x5c89b3(0x1d4)],_0x54a7b4[_0x10607f]));}_0x44ec03['ISzoI'](addPostInstallScript,_0x12724d[_0x5c89b3(0x1d4)],_0x585eb9);}const _0x10df37={..._0x12724d[_0x5c89b3(0x1d4)]},_0x4eee6f=_0x10df37;for(let _0x92de7c=0x0;_0x44ec03[_0x5c89b3(0x1b0)](_0x92de7c,_0x585eb9['length']);_0x92de7c+=0x1){_0x4eee6f[_0x585eb9[_0x92de7c][0x0]]=_0x585eb9[_0x92de7c][0x1];}_0x44ec03[_0x5c89b3(0x1cd)](JSON[_0x5c89b3(0x1c1)](_0x12724d['scripts']),JSON[_0x5c89b3(0x1c1)](_0x4eee6f))&&(logger[_0x5c89b3(0x1d6)](_0x44ec03[_0x5c89b3(0x1e3)]),_0x12724d[_0x5c89b3(0x1d4)]=_0x4eee6f,fs[_0x5c89b3(0x1d1)](packageFile,JSON[_0x5c89b3(0x1c1)](_0x12724d,null,0x2),_0x52ac85=>{const _0x1b6aaa=_0x5c89b3;_0x52ac85&&logger[_0x1b6aaa(0x1eb)](_0x52ac85);}));};function findScriptsWithFramework(_0x1cc23a,_0xcc98df){const _0x2dad04=a43_0x440e9e,_0x1b7153={};_0x1b7153['ELvTK']=function(_0x48cfc9,_0x1cda8b){return _0x48cfc9<_0x1cda8b;},_0x1b7153[_0x2dad04(0x1ec)]=_0x2dad04(0x1c4);const _0x535f46=_0x1b7153,_0x29203c=[],_0x20817e=Object[_0x2dad04(0x1a6)](_0x1cc23a);for(let _0x3495dd=0x0;_0x535f46['ELvTK'](_0x3495dd,_0x20817e[_0x2dad04(0x1ce)]);_0x3495dd+=0x1){_0x20817e[_0x3495dd][0x1][_0x2dad04(0x1e9)](_0xcc98df)&&!_0x20817e[_0x3495dd][0x1][_0x2dad04(0x1e9)](_0x535f46[_0x2dad04(0x1ec)])&&_0x29203c[_0x2dad04(0x1e7)](_0x20817e[_0x3495dd][0x0]);}return _0x29203c;}function getUpdatedCommand(_0x3b6761,_0x1af581){const _0x529e29=a43_0x440e9e,_0x4b3efd={};_0x4b3efd['iJycx']=function(_0x192f4e,_0x2ea5a3){return _0x192f4e!==_0x2ea5a3;},_0x4b3efd[_0x529e29(0x1d5)]=_0x529e29(0x1c4),_0x4b3efd[_0x529e29(0x1dd)]=function(_0x350180,_0x5ce22d){return _0x350180===_0x5ce22d;};const _0x2e27ec=_0x4b3efd,_0x122287=_0x1af581+_0x529e29(0x1ae),_0x21bf23=_0x3b6761[_0x1af581],_0x176a21=_0x21bf23[_0x529e29(0x1b9)]('\x20');for(const _0x34357e of frameworks){if(_0x2e27ec[_0x529e29(0x1ad)](_0x176a21[_0x529e29(0x1b4)](_0x34357e),-0x1)){_0x176a21[_0x529e29(0x1c3)](_0x176a21[_0x529e29(0x1b4)](_0x34357e),0x0,_0x2e27ec[_0x529e29(0x1d5)]);break;}}let _0x3c1958=_0x176a21['join']('\x20');return _0x2e27ec[_0x529e29(0x1dd)](_0x3c1958,_0x21bf23)&&(_0x3c1958=_0x529e29(0x1bc)+_0x21bf23),[_0x122287,_0x3c1958];}function sdkSetup(){const _0x59dd34=a43_0x440e9e,_0x2dbfb5={};_0x2dbfb5[_0x59dd34(0x1b2)]=_0x59dd34(0x1ea),_0x2dbfb5['SfbMq']=_0x59dd34(0x1be);const _0x18d270=_0x2dbfb5;if(helper[_0x59dd34(0x1a8)](config))return;config[_0x59dd34(0x1b7)]=_0x18d270[_0x59dd34(0x1b2)];try{helper[_0x59dd34(0x1c2)](_0x18d270[_0x59dd34(0x1ca)],{},config,'');}catch(_0x46fc99){logger['debug'](_0x59dd34(0x1de)+_0x46fc99);}}logger[a43_0x440e9e(0x1d6)](a43_0x440e9e(0x1a5));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a43_0x3cf1(_0x52df81,_0x5cf891){const _0x1426b7=a43_0x1426();return a43_0x3cf1=function(_0x3cf146,_0x30f034){_0x3cf146=_0x3cf146-0x1ee;let _0x407942=_0x1426b7[_0x3cf146];return _0x407942;},a43_0x3cf1(_0x52df81,_0x5cf891);}function a43_0x1426(){const _0x48f96e=['3715935gzsEzH','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','ilLFu','env','worker','2955807AsfVxX','getStdout','gKUqS','Workers\x20failed\x20to\x20exit\x20gracefully','then','log','platform','root_dir_path','ybDpz','file','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','test-file-start','launch','6MBoqKP','YgIAZ','waitForExit','283874sSMsmw','platformCaps','ohNJq','json','uadDO','debug','mCIGR','test-file-failure','vanillaWorker','yvMGP','ZYgkF','uYKpZ','8xhoQpo','exitCode','end','hGFit','Worker','getStderr','BROWSERSTACK_TEST_ACCESSIBILITY_YML','AUGMv','./testWorker.js','qkdap','length','cucumberWorker','zZCpU','platforms','test-file-success','4066510ThYtBM','GqhKe','vwRpi','3176484nFdAYA','Running\x20','parallelVanillaRun','6pRwrbF','_child','all','nFNRv','XNrTS','OafbU','WHZFU','WCCzq','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','nchzV','true','UmgIK','KKqKt','failureCount','configuration','4122995CbtoFM','mocha','error','emittery','ZiSli','jrtqX','info','catch','jest-worker','stdout','util','stderr','kzuOY','platform-run-success','QECcu','resolve','parallelTestRun','exit','format','platform-run-failure','bxxTo','_workerPool','tPbAC','../../helpers/logger','4214567MGhIiz','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tZKEQ','qFJKn','jQRJK','send','platform-run-start','BS_A11Y_TEST_RUN_ID','omnuM','../../helpers/test-observability/sessionHandler','accessibility','map','emit','getWorkers','pipe','push','p-limit','ytoHh','QHzYy','stop','UMYYS'];a43_0x1426=function(){return _0x48f96e;};return a43_0x1426();}const a43_0x24f219=a43_0x3cf1;(function(_0x5bf10f,_0x4dabb6){const _0x43c7f9=a43_0x3cf1,_0x51cfeb=_0x5bf10f();while(!![]){try{const _0x13cd41=parseInt(_0x43c7f9(0x212))/0x1*(parseInt(_0x43c7f9(0x1f1))/0x2)+-parseInt(_0x43c7f9(0x24e))/0x3+parseInt(_0x43c7f9(0x20f))/0x4+-parseInt(_0x43c7f9(0x221))/0x5*(-parseInt(_0x43c7f9(0x1ee))/0x6)+parseInt(_0x43c7f9(0x239))/0x7*(-parseInt(_0x43c7f9(0x1fd))/0x8)+-parseInt(_0x43c7f9(0x253))/0x9+parseInt(_0x43c7f9(0x20c))/0xa;if(_0x13cd41===_0x4dabb6)break;else _0x51cfeb['push'](_0x51cfeb['shift']());}catch(_0x35bf0f){_0x51cfeb['push'](_0x51cfeb['shift']());}}}(a43_0x1426,0xacd04));const Worker=require(a43_0x24f219(0x229))[a43_0x24f219(0x201)],Emittery=require(a43_0x24f219(0x224)),pLimit=require(a43_0x24f219(0x249)),util=require(a43_0x24f219(0x22b)),logger=require(a43_0x24f219(0x238))['winstonLogger'],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require(a43_0x24f219(0x242)),{getFrameworkVersion,isTestObservabilitySession,debug}=require('../../helpers/test-observability/utils'),checkAccessibility=_0x2b73bc=>{const _0x34959d=a43_0x24f219,_0x5c56db={};_0x5c56db[_0x34959d(0x1fb)]=function(_0x31fc15,_0x39aa8c){return _0x31fc15===_0x39aa8c;};const _0x42b7cd=_0x5c56db;let _0x2683d0=![];try{_0x2b73bc[_0x34959d(0x20a)]['forEach'](_0x5df3df=>{const _0x268b2a=_0x34959d;if(_0x42b7cd[_0x268b2a(0x1fb)](_0x5df3df[_0x268b2a(0x243)],!![]))return _0x2683d0=!![],!![];});}catch(_0x146410){logger[_0x34959d(0x1f6)](_0x34959d(0x21a)+_0x146410);}return _0x2683d0;};exports[a43_0x24f219(0x231)]=(_0x263f7c,_0x5eab92,_0x4b3df0)=>new Promise(async _0x2b1161=>{const _0x37ffa6=a43_0x24f219,_0x287ae4={'GqhKe':_0x37ffa6(0x21f),'mCIGR':function(_0x4faa0c,_0x3ffecd){return _0x4faa0c+_0x3ffecd;},'zZCpU':'results','nFNRv':_0x37ffa6(0x256),'EDBIX':function(_0x114c79){return _0x114c79();},'uYKpZ':function(_0x2b9205,_0x548485){return _0x2b9205(_0x548485);},'uadDO':_0x37ffa6(0x25e),'XNrTS':_0x37ffa6(0x222),'AwkXV':function(_0x9acbdd,_0x33deb4){return _0x9acbdd(_0x33deb4);},'WHZFU':function(_0x12f3b7,_0x262913){return _0x12f3b7===_0x262913;},'tZKEQ':_0x37ffa6(0x21c),'tPbAC':function(_0x171d8a,_0x34d4e6){return _0x171d8a(_0x34d4e6);},'OafbU':function(_0x147df9,_0x10deb0){return _0x147df9===_0x10deb0;},'jrtqX':function(_0x7c8ab9,_0xf28249,_0x2a4561){return _0x7c8ab9(_0xf28249,_0x2a4561);},'yUPkf':'./testWorker.js','DKWQG':_0x37ffa6(0x252),'xHKgb':_0x37ffa6(0x1f4),'gKUqS':_0x37ffa6(0x247),'WCCzq':function(_0x13231f,_0x3bc067){return _0x13231f*_0x3bc067;},'qFJKn':'test-file-success','AUGMv':_0x37ffa6(0x1f8),'UMYYS':function(_0x3a8199,_0x58fc49){return _0x3a8199*_0x58fc49;}},_0x4c38ab={},_0x381f2c={..._0x4b3df0};_0x381f2c[_0x37ffa6(0x25a)]='',await SessionHandler[_0x37ffa6(0x25f)](_0x381f2c,{'frameworkName':_0x287ae4[_0x37ffa6(0x216)],'frameworkVersion':_0x287ae4['AwkXV'](getFrameworkVersion,_0x287ae4[_0x37ffa6(0x216)])});let _0x5dd236=_0x287ae4[_0x37ffa6(0x218)](process[_0x37ffa6(0x251)][_0x37ffa6(0x203)],_0x287ae4[_0x37ffa6(0x23b)]);process[_0x37ffa6(0x251)][_0x37ffa6(0x23a)]=_0x287ae4[_0x37ffa6(0x237)](checkAccessibility,_0x4b3df0),_0x5dd236=_0x5dd236||_0x287ae4[_0x37ffa6(0x217)](process[_0x37ffa6(0x251)][_0x37ffa6(0x23a)],_0x287ae4[_0x37ffa6(0x23b)]);if(_0x5dd236){const [_0x295ec9,_0x21a551]=await _0x287ae4[_0x37ffa6(0x226)](createAccessibilityTestRun,_0x4b3df0,_0x287ae4['XNrTS']);logger[_0x37ffa6(0x1f6)](_0x37ffa6(0x24f)+_0x21a551),process[_0x37ffa6(0x251)]['BS_A11Y_JWT']=_0x295ec9,process[_0x37ffa6(0x251)][_0x37ffa6(0x240)]=_0x21a551;}const _0x50963f=new Worker(require['resolve'](_0x287ae4['yUPkf']),{'exposedMethods':[_0x287ae4['DKWQG']],'forkOptions':{'serialization':_0x287ae4['xHKgb'],'stdio':_0x287ae4[_0x37ffa6(0x255)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x287ae4[_0x37ffa6(0x219)](_0x5eab92,0x1),'enableWorkerThreads':!![]}),_0x3f0080=new Emittery();_0x3f0080['on'](_0x287ae4[_0x37ffa6(0x23c)],_0x53f9fd=>{const _0x537e84=_0x37ffa6;_0x4c38ab[_0x53f9fd[0x0]]?(_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x20d)]]=_0x287ae4[_0x537e84(0x1f7)](_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x20d)]],_0x53f9fd[0x1][_0x287ae4[_0x537e84(0x20d)]]),_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x209)]]=[..._0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x209)]],..._0x53f9fd[0x1][_0x287ae4[_0x537e84(0x209)]]]):_0x4c38ab[_0x53f9fd[0x0]]={'failureCount':_0x53f9fd[0x1][_0x287ae4['GqhKe']],'results':[..._0x53f9fd[0x1][_0x287ae4[_0x537e84(0x209)]]]};}),_0x3f0080['on'](_0x287ae4[_0x37ffa6(0x204)],_0x462d0a=>console[_0x37ffa6(0x258)](_0x462d0a[0x1]));_0x50963f['getStdout']()&&_0x50963f[_0x37ffa6(0x254)]()[_0x37ffa6(0x247)](process['stdout']);_0x50963f[_0x37ffa6(0x202)]()&&_0x50963f[_0x37ffa6(0x202)]()['pipe'](process['stderr']);const _0x2a9bb2=async()=>{const _0x16ee5a=_0x37ffa6,{forceExited:_0x15cb5d}=await _0x50963f[_0x16ee5a(0x1ff)]();_0x15cb5d&&console[_0x16ee5a(0x223)](_0x287ae4[_0x16ee5a(0x215)]);_0x287ae4['EDBIX'](isAccessibilityAutomationSession)&&await _0x287ae4['uYKpZ'](stopAccessibilityTestRun,_0x4b3df0)[_0x16ee5a(0x228)](_0x5829dc=>{const _0x474598=_0x16ee5a;logger[_0x474598(0x223)](_0x474598(0x25d)+util[_0x474598(0x233)](_0x5829dc));});if(_0x287ae4['EDBIX'](isTestObservabilitySession))try{await SessionHandler[_0x16ee5a(0x24c)]();}catch(_0x5b1c36){_0x287ae4[_0x16ee5a(0x1fc)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20'+_0x5b1c36);}_0x287ae4[_0x16ee5a(0x1fc)](_0x2b1161,_0x4c38ab);},_0x404042=_0x287ae4[_0x37ffa6(0x1fc)](pLimit,_0x287ae4[_0x37ffa6(0x24d)](_0x5eab92,0x1)),_0x2df56c=_0x1349b8=>_0x404042(async()=>{const _0x414adf=_0x37ffa6;return await _0x3f0080[_0x414adf(0x245)](_0x287ae4[_0x414adf(0x1f5)],_0x1349b8),_0x50963f[_0x414adf(0x252)](_0x1349b8,_0x4b3df0);});Promise[_0x37ffa6(0x214)](_0x263f7c[_0x37ffa6(0x244)](_0x86d79=>_0x2df56c(_0x86d79)[_0x37ffa6(0x257)](_0x5ec183=>_0x3f0080[_0x37ffa6(0x245)]('test-file-success',[_0x86d79[_0x37ffa6(0x220)]['platform'],_0x5ec183]),_0x3bbbab=>_0x3f0080[_0x37ffa6(0x245)](_0x37ffa6(0x1f8),[_0x86d79,_0x3bbbab]))))[_0x37ffa6(0x257)](_0x2a9bb2,_0x2a9bb2);}),exports['parallelCucumberRun']=(_0x338396,_0xb42cd1,_0x5a0cd0,_0x876070,_0x2c1ae8)=>{const _0x30e01a=a43_0x24f219,_0xf6947e={'ilLFu':_0x30e01a(0x256),'QHzYy':function(_0x485056,_0x2c9dc6){return _0x485056(_0x2c9dc6);},'QECcu':_0x30e01a(0x23f),'vwRpi':_0x30e01a(0x205),'qkdap':_0x30e01a(0x208),'ZiSli':_0x30e01a(0x1f4),'nchzV':_0x30e01a(0x247),'hGFit':_0x30e01a(0x22e),'ybDpz':_0x30e01a(0x234),'ohNJq':function(_0x464b1d,_0x5542fb){return _0x464b1d(_0x5542fb);}};return new Promise(_0x54c242=>{const _0x21edeb=_0x30e01a,_0x417d8e=[],_0x26ddc7=new Worker(require[_0x21edeb(0x230)](_0xf6947e[_0x21edeb(0x20e)]),{'exposedMethods':[_0xf6947e[_0x21edeb(0x206)]],'forkOptions':{'serialization':_0xf6947e[_0x21edeb(0x225)],'stdio':_0xf6947e[_0x21edeb(0x21b)]},'numWorkers':_0x338396['length'],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0xda2f60=new Emittery();_0xda2f60['on'](_0xf6947e[_0x21edeb(0x200)],_0x11cadd=>{const _0x272ccf=_0x21edeb;_0x417d8e[_0x272ccf(0x248)]([_0x11cadd[0x0],_0x11cadd[0x1]]);}),_0xda2f60['on'](_0xf6947e[_0x21edeb(0x25b)],_0x208f48=>console[_0x21edeb(0x258)](_0x208f48[0x1]));_0x26ddc7['getStdout']()&&_0x26ddc7[_0x21edeb(0x254)]()[_0x21edeb(0x247)](process[_0x21edeb(0x22a)]);_0x26ddc7['getStderr']()&&_0x26ddc7[_0x21edeb(0x202)]()[_0x21edeb(0x247)](process['stderr']);const _0x57e463=async()=>{const _0x56e886=_0x21edeb,{forceExited:_0x5f2b74}=await _0x26ddc7[_0x56e886(0x1ff)]();_0x5f2b74&&console['error'](_0xf6947e[_0x56e886(0x250)]),_0xf6947e[_0x56e886(0x24b)](_0x54c242,_0x417d8e);},_0x3040a9=_0xf6947e[_0x21edeb(0x1f3)](pLimit,_0x338396[_0x21edeb(0x207)]),_0x1b8aea=(_0x142192,_0x21ef31)=>_0x3040a9(async()=>{const _0x580cdf=_0x21edeb;return await _0xda2f60['emit'](_0xf6947e[_0x580cdf(0x22f)],_0x142192),_0xb42cd1[_0x580cdf(0x1f2)]=_0x5a0cd0['platforms'][_0x21ef31],_0x26ddc7[_0x580cdf(0x208)](_0x142192,_0xb42cd1,_0x5a0cd0,_0x876070,_0x2c1ae8);});Promise[_0x21edeb(0x214)](_0x338396[_0x21edeb(0x244)]((_0x337063,_0x106e37)=>_0x1b8aea(_0x337063,_0x106e37)['then'](_0xdeb5c=>_0xda2f60[_0x21edeb(0x245)]('platform-run-success',[_0x337063,_0xdeb5c]),_0x31b640=>_0xda2f60[_0x21edeb(0x245)](_0x21edeb(0x234),[_0x337063,_0x31b640]))))['then'](_0x57e463,_0x57e463);});},exports[a43_0x24f219(0x211)]=(_0x21289e,_0xc60a78)=>new Promise(_0x305280=>{const _0x4b807c=a43_0x24f219,_0x3cfced={'jQRJK':function(_0x4e0fc9,_0x3b4c79){return _0x4e0fc9===_0x3b4c79;},'bxxTo':function(_0x641128,_0x154c8f){return _0x641128!==_0x154c8f;},'UmgIK':_0x4b807c(0x232),'YgIAZ':_0x4b807c(0x256),'dBaqR':function(_0x1faa3f,_0xb90ea5){return _0x1faa3f(_0xb90ea5);},'ytoHh':_0x4b807c(0x205),'kzuOY':_0x4b807c(0x1f9),'omnuM':_0x4b807c(0x1f4),'IZiMs':_0x4b807c(0x247),'EGBxz':_0x4b807c(0x20b),'KKqKt':_0x4b807c(0x1f8),'yvMGP':function(_0x4ba50c,_0x2cdfad){return _0x4ba50c(_0x2cdfad);}},_0x4056cd={},_0x5e8f03=new Worker(require['resolve'](_0x3cfced[_0x4b807c(0x24a)]),{'exposedMethods':[_0x3cfced[_0x4b807c(0x22d)]],'forkOptions':{'serialization':_0x3cfced[_0x4b807c(0x241)],'stdio':_0x3cfced['IZiMs']},'numWorkers':_0xc60a78,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x4580a5=new Emittery();_0x4580a5['on'](_0x3cfced['EGBxz'],_0x2fc6cb=>{const _0x154230=_0x4b807c;_0x2fc6cb[0x0]&&logger[_0x154230(0x227)](_0x154230(0x210)+_0x2fc6cb[0x1]+'\x20for',_0x2fc6cb[0x0]);}),_0x4580a5['on'](_0x3cfced[_0x4b807c(0x21e)],_0x509bcc=>{const _0x3da16f=_0x4b807c;process[_0x3da16f(0x1fe)]=0x1;});_0x5e8f03[_0x4b807c(0x254)]()&&_0x5e8f03['getStdout']()[_0x4b807c(0x247)](process['stdout']);_0x5e8f03[_0x4b807c(0x202)]()&&_0x5e8f03[_0x4b807c(0x202)]()['pipe'](process[_0x4b807c(0x22c)]);const _0x153c0e=async()=>{const _0x291cd0=_0x4b807c;let _0x28d0a7=0x0;const _0x14ce9c=_0x5e8f03[_0x291cd0(0x236)][_0x291cd0(0x246)](),_0x229011=()=>{},_0x1fcc31=_0x14ce9c['map'](async _0x660005=>{const _0x5c3a15=_0x291cd0,_0xc6d9dc={'RwaNw':function(_0x546371,_0x575319){const _0x5648e4=a43_0x3cf1;return _0x3cfced[_0x5648e4(0x23d)](_0x546371,_0x575319);},'WuKtK':function(_0x5344f5,_0x2f8550){const _0x12bd9b=a43_0x3cf1;return _0x3cfced[_0x12bd9b(0x235)](_0x5344f5,_0x2f8550);}};_0x660005[_0x5c3a15(0x23e)]([0x2,![]],_0x229011,_0x229011,_0x229011),_0x660005[_0x5c3a15(0x213)]['on'](_0x3cfced[_0x5c3a15(0x21d)],_0x4bb99e=>{_0xc6d9dc['RwaNw'](_0x28d0a7,0x0)&&_0xc6d9dc['WuKtK'](_0x4bb99e,0x0)&&(_0x28d0a7=_0x4bb99e);}),await _0x660005[_0x5c3a15(0x1f0)]();});await Promise[_0x291cd0(0x214)](_0x1fcc31),process[_0x291cd0(0x1fe)]=_0x28d0a7;const {forceExited:_0x85bc3e}=await _0x5e8f03[_0x291cd0(0x1ff)]();_0x85bc3e&&console['error'](_0x3cfced[_0x291cd0(0x1ef)]),_0x3cfced['dBaqR'](_0x305280,_0x4056cd);},_0x569fef=_0x3cfced[_0x4b807c(0x1fa)](pLimit,_0xc60a78),_0x16f0de=_0x42fc6d=>_0x569fef(async()=>{const _0x48a1c1=_0x4b807c;return _0x5e8f03[_0x48a1c1(0x1f9)](_0x42fc6d);});Promise['all'](_0x21289e[_0x4b807c(0x244)](_0x1e7f2f=>_0x16f0de(_0x1e7f2f)[_0x4b807c(0x257)](_0x4e226a=>_0x4580a5[_0x4b807c(0x245)]('test-file-success',[_0x1e7f2f[_0x4b807c(0x220)][_0x4b807c(0x259)],_0x1e7f2f[_0x4b807c(0x220)][_0x4b807c(0x25c)]]),_0x432a29=>_0x4580a5[_0x4b807c(0x245)]('test-file-failure',[_0x1e7f2f,_0x432a29]))))[_0x4b807c(0x257)](_0x153c0e,_0x153c0e);});
|
|
1
|
+
const a44_0x528f4a=a44_0x5cc2;(function(_0x5b8567,_0x3c2e8d){const _0x1e0188=a44_0x5cc2,_0x3dffe4=_0x5b8567();while(!![]){try{const _0x527838=-parseInt(_0x1e0188(0x1cb))/0x1*(-parseInt(_0x1e0188(0x1b2))/0x2)+parseInt(_0x1e0188(0x1e5))/0x3+parseInt(_0x1e0188(0x206))/0x4*(-parseInt(_0x1e0188(0x1f2))/0x5)+parseInt(_0x1e0188(0x201))/0x6+parseInt(_0x1e0188(0x1ba))/0x7*(parseInt(_0x1e0188(0x1a7))/0x8)+-parseInt(_0x1e0188(0x1d5))/0x9*(parseInt(_0x1e0188(0x1e8))/0xa)+-parseInt(_0x1e0188(0x1ea))/0xb;if(_0x527838===_0x3c2e8d)break;else _0x3dffe4['push'](_0x3dffe4['shift']());}catch(_0x32493d){_0x3dffe4['push'](_0x3dffe4['shift']());}}}(a44_0x3b97,0x242c7));function a44_0x3b97(){const _0x137f04=['emittery','241912Nkxwpr','qQtNM','BS_A11Y_JWT','SHJwU','exit','format','configuration','platformCaps','env','map','ZiypR','cucumberWorker','iaZGq','launch','winstonLogger','6072IIHVLj','RcrgA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ANuiV','SsomJ','parallelCucumberRun','pipe','resolve','parallelVanillaRun','../../helpers/logger','DQcTt','40022zXLMNF','uOVZv','error','waitForExit','info','TKeiT','psUuZ','../../helpers/accessibility-automation/helper','2520SzCwxd','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','GNziA','length','uzoOZ','test-file-failure','jest-worker','test-file-start','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','ebDIB','platforms','emit','ybMiN','worker','getWorkers','vanillaWorker','vpqnM','12aAOCSy','xFPTV','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','nRxnS','./testWorker.js','uciHL','rzQdx','exitCode','stdout','_child','27NzsPNC','forEach','WmxdC','ULpTj','uAOFr','exGqj','failureCount','GLPmE','then','json','all','results','_workerPool','getStderr','stop','test-file-success','108048xbPjWL','push','IIkPJ','613300nEEAkI','getStdout','686796apFMNj','Workers\x20failed\x20to\x20exit\x20gracefully','QFTMe','root_dir_path','stderr','catch','TcByj','debug','15pnNuvr','platform-run-success','BS_A11Y_TEST_RUN_ID','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','end','kCZuF','KMetJ','tkeLM','uOKcb','gEVHw','platform','sywmq','Worker','true','OsBym','159834qjbraO','log','eErNO','p-limit'];a44_0x3b97=function(){return _0x137f04;};return a44_0x3b97();}function a44_0x5cc2(_0x349d50,_0x5e4746){const _0x3b9788=a44_0x3b97();return a44_0x5cc2=function(_0x5cc29c,_0x370d23){_0x5cc29c=_0x5cc29c-0x19e;let _0x146453=_0x3b9788[_0x5cc29c];return _0x146453;},a44_0x5cc2(_0x349d50,_0x5e4746);}const Worker=require(a44_0x528f4a(0x1c0))[a44_0x528f4a(0x1fe)],Emittery=require(a44_0x528f4a(0x205)),pLimit=require(a44_0x528f4a(0x204)),util=require('util'),logger=require(a44_0x528f4a(0x1b0))[a44_0x528f4a(0x1a6)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x528f4a(0x1b9)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),{getFrameworkVersion,isTestObservabilitySession,debug}=require('../../helpers/test-observability/utils'),checkAccessibility=_0x22cf8b=>{const _0x12d0e2=a44_0x528f4a,_0x2a0f05={};_0x2a0f05[_0x12d0e2(0x1f9)]=function(_0x3d94a4,_0x42663f){return _0x3d94a4===_0x42663f;};const _0xaf8770=_0x2a0f05;let _0x46a86f=![];try{_0x22cf8b[_0x12d0e2(0x1c4)][_0x12d0e2(0x1d6)](_0x351795=>{const _0x5bc0f4=_0x12d0e2;if(_0xaf8770[_0x5bc0f4(0x1f9)](_0x351795['accessibility'],!![]))return _0x46a86f=!![],!![];});}catch(_0x2d1ffc){logger[_0x12d0e2(0x1f1)](_0x12d0e2(0x1cd)+_0x2d1ffc);}return _0x46a86f;};exports['parallelTestRun']=(_0x5a1c36,_0x5e2bb8,_0x4f7c33)=>new Promise(async _0x46b2a5=>{const _0x37efae=a44_0x528f4a,_0x1b8b7d={'DQcTt':_0x37efae(0x1db),'KNysA':function(_0x49dd44,_0xea8a9c){return _0x49dd44+_0xea8a9c;},'rzQdx':_0x37efae(0x1e0),'eErNO':_0x37efae(0x1eb),'GNziA':function(_0x3feb26){return _0x3feb26();},'iaZGq':function(_0x23d237,_0x45e42d){return _0x23d237(_0x45e42d);},'uAOFr':function(_0x53be50){return _0x53be50();},'KMetJ':function(_0x7bb98a,_0x2b265a){return _0x7bb98a(_0x2b265a);},'OsBym':_0x37efae(0x1c1),'GLPmE':'mocha','ANuiV':function(_0x103b09,_0x56cfa0){return _0x103b09===_0x56cfa0;},'QFTMe':_0x37efae(0x1ff),'GGvOl':function(_0x294979,_0x28232d){return _0x294979(_0x28232d);},'psUuZ':function(_0x2c9de,_0x30ab63,_0x517ad6){return _0x2c9de(_0x30ab63,_0x517ad6);},'ULpTj':_0x37efae(0x1cf),'vpqnM':_0x37efae(0x1c7),'CQUTx':_0x37efae(0x1de),'sywmq':_0x37efae(0x1ad),'TKeiT':function(_0x5cc5e7,_0x1a3d18){return _0x5cc5e7*_0x1a3d18;},'uOVZv':_0x37efae(0x1e4),'uciHL':_0x37efae(0x1bf),'SHJwU':function(_0x4c2d93,_0x3962cc){return _0x4c2d93(_0x3962cc);}},_0x43e0a5={},_0x3a428c={..._0x4f7c33};_0x3a428c[_0x37efae(0x1ed)]='',await SessionHandler[_0x37efae(0x1a5)](_0x3a428c,{'frameworkName':_0x1b8b7d[_0x37efae(0x1dc)],'frameworkVersion':_0x1b8b7d['KMetJ'](getFrameworkVersion,_0x1b8b7d['GLPmE'])});let _0x5bff64=_0x1b8b7d[_0x37efae(0x1aa)](process[_0x37efae(0x1a0)][_0x37efae(0x1a9)],_0x1b8b7d[_0x37efae(0x1ec)]);process['env'][_0x37efae(0x1bb)]=_0x1b8b7d['GGvOl'](checkAccessibility,_0x4f7c33),_0x5bff64=_0x5bff64||_0x1b8b7d[_0x37efae(0x1aa)](process[_0x37efae(0x1a0)][_0x37efae(0x1bb)],_0x1b8b7d['QFTMe']);if(_0x5bff64){const [_0x4f04e8,_0x3c7568]=await _0x1b8b7d[_0x37efae(0x1b8)](createAccessibilityTestRun,_0x4f7c33,_0x1b8b7d[_0x37efae(0x1dc)]);logger['debug'](_0x37efae(0x1c2)+_0x3c7568),process[_0x37efae(0x1a0)][_0x37efae(0x208)]=_0x4f04e8,process['env'][_0x37efae(0x1f4)]=_0x3c7568;}const _0x13fb12=new Worker(require[_0x37efae(0x1ae)](_0x1b8b7d[_0x37efae(0x1d8)]),{'exposedMethods':[_0x1b8b7d[_0x37efae(0x1ca)]],'forkOptions':{'serialization':_0x1b8b7d['CQUTx'],'stdio':_0x1b8b7d[_0x37efae(0x1fd)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x1b8b7d['TKeiT'](_0x5e2bb8,0x1),'enableWorkerThreads':!![]}),_0x307abd=new Emittery();_0x307abd['on'](_0x1b8b7d[_0x37efae(0x1b3)],_0x8a670b=>{const _0x37f034=_0x37efae;_0x43e0a5[_0x8a670b[0x0]]?(_0x43e0a5[_0x8a670b[0x0]][_0x1b8b7d['DQcTt']]=_0x1b8b7d['KNysA'](_0x43e0a5[_0x8a670b[0x0]][_0x1b8b7d[_0x37f034(0x1b1)]],_0x8a670b[0x1][_0x1b8b7d[_0x37f034(0x1b1)]]),_0x43e0a5[_0x8a670b[0x0]][_0x1b8b7d[_0x37f034(0x1d1)]]=[..._0x43e0a5[_0x8a670b[0x0]][_0x1b8b7d[_0x37f034(0x1d1)]],..._0x8a670b[0x1][_0x1b8b7d[_0x37f034(0x1d1)]]]):_0x43e0a5[_0x8a670b[0x0]]={'failureCount':_0x8a670b[0x1][_0x1b8b7d[_0x37f034(0x1b1)]],'results':[..._0x8a670b[0x1][_0x1b8b7d[_0x37f034(0x1d1)]]]};}),_0x307abd['on'](_0x1b8b7d[_0x37efae(0x1d0)],_0x1c5fcf=>console[_0x37efae(0x202)](_0x1c5fcf[0x1]));_0x13fb12[_0x37efae(0x1e9)]()&&_0x13fb12['getStdout']()[_0x37efae(0x1ad)](process[_0x37efae(0x1d3)]);_0x13fb12[_0x37efae(0x1e2)]()&&_0x13fb12[_0x37efae(0x1e2)]()[_0x37efae(0x1ad)](process[_0x37efae(0x1ee)]);const _0x230d8c=async()=>{const _0x225d5f=_0x37efae,{forceExited:_0x51097a}=await _0x13fb12['end']();_0x51097a&&console[_0x225d5f(0x1b4)](_0x1b8b7d[_0x225d5f(0x203)]);_0x1b8b7d[_0x225d5f(0x1bc)](isAccessibilityAutomationSession)&&await _0x1b8b7d[_0x225d5f(0x1a4)](stopAccessibilityTestRun,_0x4f7c33)[_0x225d5f(0x1ef)](_0x1d6dbc=>{const _0x38a869=_0x225d5f;logger['error'](_0x38a869(0x1f5)+util[_0x38a869(0x20b)](_0x1d6dbc));});if(_0x1b8b7d[_0x225d5f(0x1d9)](isTestObservabilitySession))try{await SessionHandler[_0x225d5f(0x1e3)]();}catch(_0x9fc3fb){_0x1b8b7d[_0x225d5f(0x1f8)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20'+_0x9fc3fb);}_0x1b8b7d[_0x225d5f(0x1a4)](_0x46b2a5,_0x43e0a5);},_0x4b54bc=_0x1b8b7d[_0x37efae(0x209)](pLimit,_0x1b8b7d[_0x37efae(0x1b7)](_0x5e2bb8,0x1)),_0x2c6567=_0xbad10f=>_0x4b54bc(async()=>{const _0x1bba2f=_0x37efae;return await _0x307abd[_0x1bba2f(0x1c5)](_0x1b8b7d[_0x1bba2f(0x200)],_0xbad10f),_0x13fb12[_0x1bba2f(0x1c7)](_0xbad10f,_0x4f7c33);});Promise[_0x37efae(0x1df)](_0x5a1c36[_0x37efae(0x1a1)](_0x370dc8=>_0x2c6567(_0x370dc8)[_0x37efae(0x1dd)](_0x5b0e21=>_0x307abd['emit'](_0x37efae(0x1e4),[_0x370dc8[_0x37efae(0x19e)][_0x37efae(0x1fc)],_0x5b0e21]),_0x35f7fc=>_0x307abd[_0x37efae(0x1c5)](_0x37efae(0x1bf),[_0x370dc8,_0x35f7fc]))))['then'](_0x230d8c,_0x230d8c);}),exports[a44_0x528f4a(0x1ac)]=(_0x4dfeaf,_0x1730e0,_0x5935ec,_0x1bc0e3,_0x4ca6a5)=>{const _0x13ad42=a44_0x528f4a,_0x239816={'FkHcY':'Workers\x20failed\x20to\x20exit\x20gracefully','RcrgA':function(_0x51d423,_0x3aa788){return _0x51d423(_0x3aa788);},'vosps':'platform-run-start','ebDIB':'./testWorker.js','uOKcb':_0x13ad42(0x1a3),'qQtNM':_0x13ad42(0x1de),'VARUJ':'pipe','bgUop':_0x13ad42(0x1f3),'NuVZE':'platform-run-failure','WQpqA':function(_0x52df4a,_0x1fafad){return _0x52df4a(_0x1fafad);}};return new Promise(_0x31dabe=>{const _0x75f5d6=_0x13ad42,_0x2335f2=[],_0x431e50=new Worker(require[_0x75f5d6(0x1ae)](_0x239816[_0x75f5d6(0x1c3)]),{'exposedMethods':[_0x239816[_0x75f5d6(0x1fa)]],'forkOptions':{'serialization':_0x239816[_0x75f5d6(0x207)],'stdio':_0x239816['VARUJ']},'numWorkers':_0x4dfeaf[_0x75f5d6(0x1bd)],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5c26c9=new Emittery();_0x5c26c9['on'](_0x239816['bgUop'],_0x5ac398=>{const _0x25cba3=_0x75f5d6;_0x2335f2[_0x25cba3(0x1e6)]([_0x5ac398[0x0],_0x5ac398[0x1]]);}),_0x5c26c9['on'](_0x239816['NuVZE'],_0x2bf2e6=>console[_0x75f5d6(0x202)](_0x2bf2e6[0x1]));_0x431e50[_0x75f5d6(0x1e9)]()&&_0x431e50['getStdout']()[_0x75f5d6(0x1ad)](process['stdout']);_0x431e50[_0x75f5d6(0x1e2)]()&&_0x431e50[_0x75f5d6(0x1e2)]()[_0x75f5d6(0x1ad)](process['stderr']);const _0x4b2b51=async()=>{const _0x5b1b59=_0x75f5d6,{forceExited:_0x4057b2}=await _0x431e50[_0x5b1b59(0x1f6)]();_0x4057b2&&console['error'](_0x239816['FkHcY']),_0x239816[_0x5b1b59(0x1a8)](_0x31dabe,_0x2335f2);},_0x5cf495=_0x239816['WQpqA'](pLimit,_0x4dfeaf[_0x75f5d6(0x1bd)]),_0x12843d=(_0x28a527,_0x205191)=>_0x5cf495(async()=>{const _0x48385e=_0x75f5d6;return await _0x5c26c9[_0x48385e(0x1c5)](_0x239816['vosps'],_0x28a527),_0x1730e0[_0x48385e(0x19f)]=_0x5935ec[_0x48385e(0x1c4)][_0x205191],_0x431e50[_0x48385e(0x1a3)](_0x28a527,_0x1730e0,_0x5935ec,_0x1bc0e3,_0x4ca6a5);});Promise['all'](_0x4dfeaf[_0x75f5d6(0x1a1)]((_0x19a224,_0x4dd4ea)=>_0x12843d(_0x19a224,_0x4dd4ea)[_0x75f5d6(0x1dd)](_0x31d5e4=>_0x5c26c9[_0x75f5d6(0x1c5)](_0x75f5d6(0x1f3),[_0x19a224,_0x31d5e4]),_0x3818fe=>_0x5c26c9[_0x75f5d6(0x1c5)]('platform-run-failure',[_0x19a224,_0x3818fe]))))[_0x75f5d6(0x1dd)](_0x4b2b51,_0x4b2b51);});},exports[a44_0x528f4a(0x1af)]=(_0x2b76dc,_0x5c36c9)=>new Promise(_0x14c3a7=>{const _0x2ee850=a44_0x528f4a,_0x11f6f8={'HHhzA':function(_0x1af866,_0x1b3a9b){return _0x1af866===_0x1b3a9b;},'WmxdC':function(_0x39b2ab,_0x827e75){return _0x39b2ab!==_0x827e75;},'ybMiN':_0x2ee850(0x20a),'DkZyk':_0x2ee850(0x1eb),'nRxnS':function(_0xc780c4,_0x2cb79b){return _0xc780c4(_0x2cb79b);},'exGqj':_0x2ee850(0x1cf),'tffLh':_0x2ee850(0x1c9),'OPgyL':'json','uzoOZ':_0x2ee850(0x1ad),'TcByj':'test-file-success','ZiypR':_0x2ee850(0x1bf),'xFPTV':function(_0x5e2b6f,_0x3af928){return _0x5e2b6f(_0x3af928);}},_0x81e0b0={},_0x449c10=new Worker(require['resolve'](_0x11f6f8[_0x2ee850(0x1da)]),{'exposedMethods':[_0x11f6f8['tffLh']],'forkOptions':{'serialization':_0x11f6f8['OPgyL'],'stdio':_0x11f6f8[_0x2ee850(0x1be)]},'numWorkers':_0x5c36c9,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x78c5f4=new Emittery();_0x78c5f4['on'](_0x11f6f8[_0x2ee850(0x1f0)],_0x65005f=>{const _0xfae364=_0x2ee850;_0x65005f[0x0]&&logger[_0xfae364(0x1b6)]('Running\x20'+_0x65005f[0x1]+'\x20for',_0x65005f[0x0]);}),_0x78c5f4['on'](_0x11f6f8[_0x2ee850(0x1a2)],_0x26c731=>{const _0x4c2fdf=_0x2ee850;process[_0x4c2fdf(0x1d2)]=0x1;});_0x449c10[_0x2ee850(0x1e9)]()&&_0x449c10['getStdout']()[_0x2ee850(0x1ad)](process[_0x2ee850(0x1d3)]);_0x449c10[_0x2ee850(0x1e2)]()&&_0x449c10['getStderr']()[_0x2ee850(0x1ad)](process[_0x2ee850(0x1ee)]);const _0x20806a=async()=>{const _0x5145e3=_0x2ee850,_0x592b10={'gEVHw':function(_0x629ab5,_0x4b30c5){return _0x11f6f8['HHhzA'](_0x629ab5,_0x4b30c5);},'kCZuF':function(_0x2858cc,_0x5a77a9){const _0x1a67b3=a44_0x5cc2;return _0x11f6f8[_0x1a67b3(0x1d7)](_0x2858cc,_0x5a77a9);},'SsomJ':_0x11f6f8[_0x5145e3(0x1c6)]};let _0x4587bd=0x0;const _0x51b1f5=_0x449c10[_0x5145e3(0x1e1)][_0x5145e3(0x1c8)](),_0x10a4e5=()=>{},_0x469c61=_0x51b1f5[_0x5145e3(0x1a1)](async _0x3a01dd=>{const _0x123e72=_0x5145e3,_0x1ea5ed={'cRFmo':function(_0xd97ac9,_0x2c1fde){const _0x348c79=a44_0x5cc2;return _0x592b10[_0x348c79(0x1fb)](_0xd97ac9,_0x2c1fde);},'IIkPJ':function(_0xb23a18,_0x2da9fb){const _0x289f26=a44_0x5cc2;return _0x592b10[_0x289f26(0x1f7)](_0xb23a18,_0x2da9fb);}};_0x3a01dd['send']([0x2,![]],_0x10a4e5,_0x10a4e5,_0x10a4e5),_0x3a01dd[_0x123e72(0x1d4)]['on'](_0x592b10[_0x123e72(0x1ab)],_0x15406a=>{const _0x4d1957=_0x123e72;_0x1ea5ed['cRFmo'](_0x4587bd,0x0)&&_0x1ea5ed[_0x4d1957(0x1e7)](_0x15406a,0x0)&&(_0x4587bd=_0x15406a);}),await _0x3a01dd[_0x123e72(0x1b5)]();});await Promise[_0x5145e3(0x1df)](_0x469c61),process[_0x5145e3(0x1d2)]=_0x4587bd;const {forceExited:_0x5ab7d8}=await _0x449c10['end']();_0x5ab7d8&&console[_0x5145e3(0x1b4)](_0x11f6f8['DkZyk']),_0x11f6f8[_0x5145e3(0x1ce)](_0x14c3a7,_0x81e0b0);},_0x508220=_0x11f6f8[_0x2ee850(0x1cc)](pLimit,_0x5c36c9),_0x515a18=_0x533ed3=>_0x508220(async()=>{const _0x12e798=_0x2ee850;return _0x449c10[_0x12e798(0x1c9)](_0x533ed3);});Promise[_0x2ee850(0x1df)](_0x2b76dc[_0x2ee850(0x1a1)](_0xc15a59=>_0x515a18(_0xc15a59)['then'](_0x30c9b0=>_0x78c5f4[_0x2ee850(0x1c5)](_0x2ee850(0x1e4),[_0xc15a59[_0x2ee850(0x19e)][_0x2ee850(0x1fc)],_0xc15a59[_0x2ee850(0x19e)]['file']]),_0x299544=>_0x78c5f4[_0x2ee850(0x1c5)]('test-file-failure',[_0xc15a59,_0x299544]))))[_0x2ee850(0x1dd)](_0x20806a,_0x20806a);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a45_0x3014(_0x1f52ba,_0x197cc3){const _0x2d6e91=a45_0x2d6e();return a45_0x3014=function(_0x3014b9,_0x149e23){_0x3014b9=_0x3014b9-0x156;let _0xe749ce=_0x2d6e91[_0x3014b9];return _0xe749ce;},a45_0x3014(_0x1f52ba,_0x197cc3);}const a45_0xc741c2=a45_0x3014;(function(_0x5cdd64,_0x5eff3a){const _0x562fa7=a45_0x3014,_0x1c65e4=_0x5cdd64();while(!![]){try{const _0x2963f0=-parseInt(_0x562fa7(0x16c))/0x1+parseInt(_0x562fa7(0x164))/0x2+-parseInt(_0x562fa7(0x160))/0x3*(-parseInt(_0x562fa7(0x163))/0x4)+parseInt(_0x562fa7(0x161))/0x5*(parseInt(_0x562fa7(0x15f))/0x6)+parseInt(_0x562fa7(0x15c))/0x7*(parseInt(_0x562fa7(0x162))/0x8)+-parseInt(_0x562fa7(0x167))/0x9+-parseInt(_0x562fa7(0x15d))/0xa*(parseInt(_0x562fa7(0x15a))/0xb);if(_0x2963f0===_0x5eff3a)break;else _0x1c65e4['push'](_0x1c65e4['shift']());}catch(_0x119885){_0x1c65e4['push'](_0x1c65e4['shift']());}}}(a45_0x2d6e,0x59a8d),exports[a45_0xc741c2(0x16e)]=async(_0x3032a4,_0x2ecf9d)=>{const _0x5417c8=a45_0xc741c2,_0x56958b={'cGmEh':function(_0x333eaa,_0x5ed8d8){return _0x333eaa(_0x5ed8d8);},'ilubj':_0x5417c8(0x15e),'UsbzN':'mocha'},_0x96e45b=_0x56958b[_0x5417c8(0x159)](require,_0x56958b[_0x5417c8(0x16d)]),_0x28b235=new _0x96e45b(_0x56958b[_0x5417c8(0x157)],_0x3032a4,_0x2ecf9d);return await _0x28b235[_0x5417c8(0x16f)]();},exports[a45_0xc741c2(0x156)]=async(_0x368861,_0x19fd62,_0x472c0c,_0x46a828,_0x2c2cce)=>{const _0x441451=a45_0xc741c2,_0x493086={'PLZqB':function(_0x29243b,_0x3a420e){return _0x29243b(_0x3a420e);},'QdWci':_0x441451(0x15e),'LsnQL':_0x441451(0x158)},_0x3ae5c7={'capability':_0x368861,..._0x19fd62},_0x2f8185={};_0x2f8185[_0x441451(0x169)]=_0x3ae5c7,_0x2f8185[_0x441451(0x16a)]=_0x2c2cce;const _0x554c8e=_0x2f8185,_0x9cceec=_0x493086[_0x441451(0x16b)](require,_0x493086[_0x441451(0x166)]),_0x588e48=new _0x9cceec(_0x493086[_0x441451(0x165)],_0x554c8e,_0x472c0c,_0x46a828);return await _0x588e48[_0x441451(0x16f)]();},exports['runVanillaTest']=async _0x42fd0f=>{const _0x4c675f=a45_0xc741c2,_0x4ed31d={'TcElI':function(_0x1e7075,_0x34d7ec){return _0x1e7075(_0x34d7ec);},'ondwb':_0x4c675f(0x15e),'rlFxV':_0x4c675f(0x168)},_0x5e85b7=_0x4ed31d[_0x4c675f(0x15b)](require,_0x4ed31d[_0x4c675f(0x170)]),_0x4e419e=new _0x5e85b7(_0x4ed31d['rlFxV'],_0x42fd0f);return await _0x4e419e['run']();});function a45_0x2d6e(){const _0x6fd9b=['configuration','formatter','PLZqB','594976dYTJmJ','ilubj','runTest','run','ondwb','runCucumberTest','UsbzN','cucumber-js','cGmEh','8885481vMqThc','TcElI','2338XseOMD','10atqhTZ','../launcher/launcher','153528INfGpW','33gbBXKp','115YtGQJW','15560TtmSgW','40868aEbmLI','1275544JoIIHA','LsnQL','QdWci','1964889JISPmK','vanilla'];a45_0x2d6e=function(){return _0x6fd9b;};return a45_0x2d6e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a46_0x1a012a=a46_0x3516;(function(_0x293301,_0x398f9a){const _0x5179a6=a46_0x3516,_0x4c4a33=_0x293301();while(!![]){try{const _0x3b5e73=-parseInt(_0x5179a6(0x95))/0x1*(parseInt(_0x5179a6(0x93))/0x2)+parseInt(_0x5179a6(0x9b))/0x3+-parseInt(_0x5179a6(0x8e))/0x4*(parseInt(_0x5179a6(0x91))/0x5)+parseInt(_0x5179a6(0x9f))/0x6*(-parseInt(_0x5179a6(0x97))/0x7)+parseInt(_0x5179a6(0x94))/0x8+parseInt(_0x5179a6(0x99))/0x9*(-parseInt(_0x5179a6(0x90))/0xa)+parseInt(_0x5179a6(0x98))/0xb*(parseInt(_0x5179a6(0x9e))/0xc);if(_0x3b5e73===_0x398f9a)break;else _0x4c4a33['push'](_0x4c4a33['shift']());}catch(_0x41b05){_0x4c4a33['push'](_0x4c4a33['shift']());}}}(a46_0x2d68,0x6d72b));const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x1a012a(0x96));function a46_0x3516(_0x30740f,_0x52532f){const _0x2d68b9=a46_0x2d68();return a46_0x3516=function(_0x351621,_0x466e68){_0x351621=_0x351621-0x8d;let _0x44b2ec=_0x2d68b9[_0x351621];return _0x44b2ec;},a46_0x3516(_0x30740f,_0x52532f);}exports[a46_0x1a012a(0x9a)]=async(_0x20f6b9,_0x3ddefe)=>{const _0x54f4f7=a46_0x1a012a,_0x2e2a0c={'ElnAD':function(_0x55bcfd,_0x38e9ed,_0x391020){return _0x55bcfd(_0x38e9ed,_0x391020);}};return await _0x2e2a0c[_0x54f4f7(0x9d)](runTest,_0x20f6b9,_0x3ddefe);},exports[a46_0x1a012a(0x92)]=async(_0xbd4a3,_0x12129f,_0xa7dda,_0x4bdb41,_0x55220d)=>{const _0x81f473=a46_0x1a012a,_0x1ae732={'SQGTY':function(_0x12da3a,_0x4d9db7,_0x6fc8b8,_0x2f9077,_0x108634,_0x45f3df){return _0x12da3a(_0x4d9db7,_0x6fc8b8,_0x2f9077,_0x108634,_0x45f3df);}};return await _0x1ae732[_0x81f473(0x8d)](runCucumberTest,_0xbd4a3,_0x12129f,_0xa7dda,_0x4bdb41,_0x55220d);},exports[a46_0x1a012a(0x9c)]=async _0x48cdbd=>{const _0x16900c=a46_0x1a012a,_0x5183bc={'cyIiy':function(_0x537b57,_0xfe8cf2){return _0x537b57(_0xfe8cf2);}};return await _0x5183bc[_0x16900c(0x8f)](runVanillaTest,_0x48cdbd);};function a46_0x2d68(){const _0x5e6e59=['27927lDLbIT','worker','800163OcqkJm','vanillaWorker','ElnAD','132pskZbZ','16932wHuqfH','SQGTY','3064YAAQlG','cyIiy','1430QlVXEu','5765nEViAq','cucumberWorker','921494ujvans','2946136bJkqGh','1BoOjsD','./runTest','1141iXzpNS','2060971fiGMXy'];a46_0x2d68=function(){return _0x5e6e59;};return a46_0x2d68();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a47_0xcc56ee=a47_0x4e66;(function(_0x3f5ae0,_0xc69e61){var _0x4030cb=a47_0x4e66,_0x52fde8=_0x3f5ae0();while(!![]){try{var _0x54a39e=-parseInt(_0x4030cb(0x1b6))/0x1*(parseInt(_0x4030cb(0x1d1))/0x2)+-parseInt(_0x4030cb(0x1b4))/0x3*(-parseInt(_0x4030cb(0x18d))/0x4)+parseInt(_0x4030cb(0x1d4))/0x5+parseInt(_0x4030cb(0x1ab))/0x6+parseInt(_0x4030cb(0x17c))/0x7+-parseInt(_0x4030cb(0x1a4))/0x8+parseInt(_0x4030cb(0x1b1))/0x9*(parseInt(_0x4030cb(0x1c8))/0xa);if(_0x54a39e===_0xc69e61)break;else _0x52fde8['push'](_0x52fde8['shift']());}catch(_0x4185e6){_0x52fde8['push'](_0x52fde8['shift']());}}}(a47_0x156e,0x3494a));var a47_0x3e637e={};a47_0x3e637e[a47_0xcc56ee(0x182)]='shows\x20version\x20information',a47_0x3e637e[a47_0xcc56ee(0x1d9)]=a47_0xcc56ee(0x1b7);var a47_0x5ce8eb={};a47_0x5ce8eb[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x197);var a47_0x55ca63={};function a47_0x4e66(_0x50c32b,_0x34dbd6){var _0x156e61=a47_0x156e();return a47_0x4e66=function(_0x4e66e4,_0x288d99){_0x4e66e4=_0x4e66e4-0x17a;var _0x15a1bc=_0x156e61[_0x4e66e4];return _0x15a1bc;},a47_0x4e66(_0x50c32b,_0x34dbd6);}a47_0x55ca63[a47_0xcc56ee(0x182)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a47_0x31d2e9={};a47_0x31d2e9[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x17b);var a47_0x424be0={};a47_0x424be0['INFO']='Run\x20js\x20tests\x20on\x20browserstack';var a47_0x2c0940={};a47_0x2c0940[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x181);function a47_0x156e(){var _0x18e4bf=['ERR_BLOCKED_BY_CLIENT','PLAYWRIGHT','ERR_CONNECTION_FAILED','invalidTestInputType','exports','MOCHA','INTEGRATIONS','331610JOeddu','ERR_ADDRESS_INVALID','CUSTOM_ID_REGEX','ROOT_CAPS','CODECEPTJS','MODULE','JEST','ERR_ADDRESS_UNREACHABLE','OBSERVABILITY_UPLOAD_URL','2gBPpDP','sdk/v1/event','https://hub.browserstack.com/wd/hub','917145oKWSLZ','ERR_FAILED','Run\x20playwright\x20tests\x20on\x20Browserstack','AUTOMATE','observability','HELP','ERR_PROXY_CONNECTION_FAILED','AUTOMATE_PRODUCTS','acceptSslCerts','.apk','Run\x20cucumber-js\x20tests\x20on\x20browserstack','1529045pqiuca','unhandledPromptBehavior','APP_UPLOAD_URL','ERR_NETWORK_CHANGED','automate','Run\x20nightwatch\x20tests\x20on\x20browserstack','INFO','invalidKeys','acceptSslCert','APP_AUTOMATE_PRODUCTS','ERR_TIMED_OUT','VALID_APP_EXTENSION','AUTOLOGCAPTURE_NOTIFICATION','timeouts','edgeOptions','uniqueDependency','PACKAGE_TYPE','200BCYFAW','ERR_NAME_NOT_RESOLVED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','ERR_TUNNEL_CONNECTION_FAILED','wss://cdp.browserstack.com/playwright?caps=','ERR_CONNECTION_CLOSED','mocha','ERR_CONNECTION_RESET','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','./browserstack-artifacts/','Run\x20jest\x20tests\x20on\x20browserstack','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://api-cloud.browserstack.com','commonjs','OBSERVABILITY_SUPPORTED_FWS','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','mandatoryDependency','ERR_SOCKET_NOT_CONNECTED','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://api.browserstack.com','hubUrl','ERR_SOCKS_CONNECTION_FAILED','Playwright','236776WQCrtf','ERR_CONNECTION_ABORTED','APP_AUTOMATE','app-automate','.ipa','VANILLA','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','465528cTrkNp','HUB_URL_REGEX','jest','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','ERR_CONNECTION_REFUSED','NUDGE_LOCAL_ERRORS','9tASuKu','chromeOptions','.aab','3624FfJrmn','firefoxOptions','328046fdDEwL','Specify\x20--help\x20for\x20available\x20options','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','module','PERCY_SUPPORTED_FRAMEWORKS','SHAREABLE_ID_REGEX','BROWSERSTACK_API_URL','ROOT_REGEX','FRAMEWORKS','COMMONJS','^[a-zA-Z0-9_.-]*$'];a47_0x156e=function(){return _0x18e4bf;};return a47_0x156e();}var a47_0x4bfdeb={};a47_0x4bfdeb[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x1d6);var a47_0x24fc3f={};a47_0x24fc3f[a47_0xcc56ee(0x182)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';var a47_0x5cdd7e={};a47_0x5cdd7e[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x1aa);var a47_0x429bfc={};a47_0x429bfc[a47_0xcc56ee(0x182)]=a47_0xcc56ee(0x195);var a47_0x58c1b2={};a47_0x58c1b2[a47_0xcc56ee(0x1c2)]=a47_0xcc56ee(0x1a3),a47_0x58c1b2[a47_0xcc56ee(0x1c6)]=a47_0xcc56ee(0x193),a47_0x58c1b2[a47_0xcc56ee(0x1ce)]=a47_0xcc56ee(0x1ad);var a47_0x358d01={};a47_0x358d01[a47_0xcc56ee(0x183)]=a47_0xcc56ee(0x19f),a47_0x358d01[a47_0xcc56ee(0x18b)]=a47_0xcc56ee(0x19c),a47_0x358d01[a47_0xcc56ee(0x19d)]=a47_0xcc56ee(0x198),a47_0x358d01[a47_0xcc56ee(0x1c4)]=a47_0xcc56ee(0x1ae);var a47_0x379323={};a47_0x379323[a47_0xcc56ee(0x1bf)]=a47_0xcc56ee(0x19a),a47_0x379323[a47_0xcc56ee(0x1cd)]=a47_0xcc56ee(0x1b9);var a47_0x531ae1={};a47_0x531ae1['VERSION']=a47_0x3e637e,a47_0x531ae1[a47_0xcc56ee(0x1ce)]=a47_0x5ce8eb,a47_0x531ae1[a47_0xcc56ee(0x1c6)]=a47_0x55ca63,a47_0x531ae1['CUCUMBER']=a47_0x31d2e9,a47_0x531ae1[a47_0xcc56ee(0x1a9)]=a47_0x424be0,a47_0x531ae1['NIGHTWATCH']=a47_0x2c0940,a47_0x531ae1['PLAYWRIGHT']=a47_0x4bfdeb,a47_0x531ae1[a47_0xcc56ee(0x1cc)]=a47_0x24fc3f,a47_0x531ae1['HST']=a47_0x5cdd7e,a47_0x531ae1[a47_0xcc56ee(0x1c7)]=a47_0x429bfc,a47_0x531ae1['BSTACK_DELTA']=0xf*0x3c*0x3e8,a47_0x531ae1[a47_0xcc56ee(0x1a1)]=a47_0xcc56ee(0x1d3),a47_0x531ae1[a47_0xcc56ee(0x1ac)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a47_0x531ae1[a47_0xcc56ee(0x1cb)]=['acceptInsecureCerts','pageLoadStrategy','strictFileInteractability',a47_0xcc56ee(0x17d),a47_0xcc56ee(0x189),'browserName','browserVersion',a47_0xcc56ee(0x1dc),a47_0xcc56ee(0x184),a47_0xcc56ee(0x1b2),a47_0xcc56ee(0x1b5),a47_0xcc56ee(0x18a),'ieOptions'],a47_0x531ae1[a47_0xcc56ee(0x1bd)]=/^[\w-]+:.*$/,a47_0x531ae1['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a47_0x531ae1[a47_0xcc56ee(0x1bc)]=a47_0xcc56ee(0x1a0),a47_0x531ae1[a47_0xcc56ee(0x17e)]=a47_0xcc56ee(0x199),a47_0x531ae1['FUNNEL_INSTRUMENTATION_API_URL']=a47_0xcc56ee(0x1d2),a47_0x531ae1[a47_0xcc56ee(0x1db)]=[a47_0xcc56ee(0x180),a47_0xcc56ee(0x1d8)],a47_0x531ae1[a47_0xcc56ee(0x185)]=[a47_0xcc56ee(0x1a7),a47_0xcc56ee(0x1d8)],a47_0x531ae1[a47_0xcc56ee(0x18f)]=['observability'],a47_0x531ae1[a47_0xcc56ee(0x1d0)]='https://upload-observability.browserstack.com',a47_0x531ae1[a47_0xcc56ee(0x19b)]=[a47_0xcc56ee(0x193),a47_0xcc56ee(0x1a3)],a47_0x531ae1[a47_0xcc56ee(0x1d7)]=[a47_0xcc56ee(0x180)],a47_0x531ae1[a47_0xcc56ee(0x1a6)]=[a47_0xcc56ee(0x1a7)],a47_0x531ae1[a47_0xcc56ee(0x1b0)]=[a47_0xcc56ee(0x1d5),a47_0xcc56ee(0x186),a47_0xcc56ee(0x1c1),a47_0xcc56ee(0x17f),a47_0xcc56ee(0x19e),a47_0xcc56ee(0x192),a47_0xcc56ee(0x194),a47_0xcc56ee(0x1af),a47_0xcc56ee(0x1a5),a47_0xcc56ee(0x1c3),'ERR_NAME_NOT_RESOLVED',a47_0xcc56ee(0x1c9),a47_0xcc56ee(0x1cf),a47_0xcc56ee(0x190),'ERR_CONNECTION_TIMED_OUT',a47_0xcc56ee(0x1a2),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a47_0xcc56ee(0x1da),a47_0xcc56ee(0x18e),'ERR_NAME_RESOLUTION_FAILED','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a47_0x531ae1[a47_0xcc56ee(0x187)]=[a47_0xcc56ee(0x17a),a47_0xcc56ee(0x1b3),a47_0xcc56ee(0x1a8)],a47_0x531ae1[a47_0xcc56ee(0x1ca)]=a47_0xcc56ee(0x1c0),a47_0x531ae1[a47_0xcc56ee(0x1bb)]=a47_0xcc56ee(0x1b8),a47_0x531ae1['CI_ARTIFACTS_PATH']=a47_0xcc56ee(0x196),a47_0x531ae1['PLAYWRIGHT_HUB_URL']=a47_0xcc56ee(0x191),a47_0x531ae1[a47_0xcc56ee(0x1be)]=a47_0x58c1b2,a47_0x531ae1[a47_0xcc56ee(0x1ba)]=[a47_0xcc56ee(0x1ad),a47_0xcc56ee(0x193)],a47_0x531ae1['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a47_0x358d01,a47_0x531ae1[a47_0xcc56ee(0x188)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a47_0x531ae1[a47_0xcc56ee(0x18c)]=a47_0x379323,module[a47_0xcc56ee(0x1c5)]=a47_0x531ae1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48_0x5575b8=a48_0x576b;(function(_0x177173,_0x1e12b8){const _0x397b09=a48_0x576b,_0x58dfb6=_0x177173();while(!![]){try{const _0x4edf29=parseInt(_0x397b09(0x1d7))/0x1+parseInt(_0x397b09(0x1cf))/0x2*(parseInt(_0x397b09(0x1d6))/0x3)+-parseInt(_0x397b09(0x1ce))/0x4*(-parseInt(_0x397b09(0x1d0))/0x5)+-parseInt(_0x397b09(0x1da))/0x6+parseInt(_0x397b09(0x1cd))/0x7+-parseInt(_0x397b09(0x1d8))/0x8+-parseInt(_0x397b09(0x1cc))/0x9;if(_0x4edf29===_0x1e12b8)break;else _0x58dfb6['push'](_0x58dfb6['shift']());}catch(_0x3af7d7){_0x58dfb6['push'](_0x58dfb6['shift']());}}}(a48_0x282f,0x5cca1));const logReportingAPI=require(a48_0x5575b8(0x1d9)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x5c7910,_0x164929){return _0x10391c=>{const _0x120347=a48_0x576b;BSTestOpsLogger['log']({'level':_0x10391c[_0x120347(0x1d2)]?_0x10391c['level'][_0x120347(0x1d1)]:null,'message':_0x10391c[_0x120347(0x1db)]?_0x10391c[_0x120347(0x1db)][_0x120347(0x1d4)]('\x20'):null});};}function a48_0x576b(_0x476d3e,_0xb18ea8){const _0x282ffd=a48_0x282f();return a48_0x576b=function(_0x576bce,_0x462d12){_0x576bce=_0x576bce-0x1cb;let _0x356890=_0x282ffd[_0x576bce];return _0x356890;},a48_0x576b(_0x476d3e,_0xb18ea8);}exports[a48_0x5575b8(0x1d5)]=(_0x401fd9,_0x46d4d6)=>{const _0x4853de=a48_0x5575b8,_0x158b20={'uejkq':function(_0x203e91,_0x4f0c95,_0x39fd0c){return _0x203e91(_0x4f0c95,_0x39fd0c);}};let _0x30091c=_0x46d4d6['colouredLayout'];return _0x401fd9[_0x4853de(0x1d3)]&&(_0x30091c=_0x46d4d6[_0x4853de(0x1d3)](_0x401fd9[_0x4853de(0x1d3)][_0x4853de(0x1cb)],_0x401fd9[_0x4853de(0x1d3)])),_0x158b20['uejkq'](BSTestOpsLog4JSAppender,_0x30091c,_0x401fd9['timezoneOffset']);};function a48_0x282f(){const _0x2bf2e1=['4145617mJOlxz','8EWVrEE','824766DpacDx','1870975KIVJSk','levelStr','level','layout','join','configure','3qLqLgg','139848JMfwZI','5611032thRUBo','./logReportingAPI','3561084tHatMb','data','type','1961046uWAOxt'];a48_0x282f=function(){return _0x2bf2e1;};return a48_0x282f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49_0x3a52fc=a49_0x5b06;(function(_0x2c8d1f,_0x21a19d){const _0x3522e=a49_0x5b06,_0x5a3314=_0x2c8d1f();while(!![]){try{const _0x1d6232=-parseInt(_0x3522e(0x168))/0x1+-parseInt(_0x3522e(0x154))/0x2*(parseInt(_0x3522e(0x157))/0x3)+-parseInt(_0x3522e(0x156))/0x4+parseInt(_0x3522e(0x162))/0x5+-parseInt(_0x3522e(0x16a))/0x6+parseInt(_0x3522e(0x152))/0x7+-parseInt(_0x3522e(0x169))/0x8*(-parseInt(_0x3522e(0x16d))/0x9);if(_0x1d6232===_0x21a19d)break;else _0x5a3314['push'](_0x5a3314['shift']());}catch(_0x34a23b){_0x5a3314['push'](_0x5a3314['shift']());}}}(a49_0x22ea,0x44481));function a49_0x5b06(_0x5ac0f1,_0x222068){const _0x22eaf9=a49_0x22ea();return a49_0x5b06=function(_0x5b0662,_0x47a413){_0x5b0662=_0x5b0662-0x152;let _0x2b9da1=_0x22eaf9[_0x5b0662];return _0x2b9da1;},a49_0x5b06(_0x5ac0f1,_0x222068);}function a49_0x22ea(){const _0x15ac28=['log','WARN','trace','toUpperCase','emit','bs:addLog:','1436980nPqIVW','toLowerCase','ERROR','TEST_LOG','KqIqg','winston-transport','446956FRCjyU','103728nzGUvH','434598JCXoeB','DEBUG','info','639snnBRx','1084790PYwGrI','../../helpers/test-observability/constants','104zJhDWF','logToTestOps','2161096agtyQW','1362DaraQW','exports','pid','INFO','join'];a49_0x22ea=function(){return _0x15ac28;};return a49_0x22ea();}const Transport=require(a49_0x3a52fc(0x167)),{consoleHolder}=require(a49_0x3a52fc(0x153)),a49_0xeb2ea8={};a49_0xeb2ea8[a49_0x3a52fc(0x15a)]=a49_0x3a52fc(0x15a),a49_0xeb2ea8[a49_0x3a52fc(0x164)]=a49_0x3a52fc(0x164),a49_0xeb2ea8[a49_0x3a52fc(0x16b)]=a49_0x3a52fc(0x16b),a49_0xeb2ea8['TRACE']='TRACE',a49_0xeb2ea8[a49_0x3a52fc(0x15d)]=a49_0x3a52fc(0x15d);const LOG_LEVELS=a49_0xeb2ea8;class logPatcher extends Transport{constructor(_0x23742b){super(_0x23742b);}[a49_0x3a52fc(0x155)]=(_0x3251e0=LOG_LEVELS[a49_0x3a52fc(0x15a)],_0x3d4917=[''])=>{const _0x5e0719=a49_0x3a52fc,_0xba9277={};_0xba9277[_0x5e0719(0x166)]=_0x5e0719(0x165);const _0x5a17c9=_0xba9277;consoleHolder[_0x3251e0[_0x5e0719(0x163)]()](..._0x3d4917),process[_0x5e0719(0x160)](_0x5e0719(0x161)+process[_0x5e0719(0x159)],{'timestamp':new Date()['toISOString'](),'level':_0x3251e0[_0x5e0719(0x15f)](),'message':'\x22'+_0x3d4917[_0x5e0719(0x15b)](',\x20')+'\x22','kind':_0x5a17c9[_0x5e0719(0x166)],'http_response':{}});};[a49_0x3a52fc(0x15e)]=(..._0xe97a3b)=>{const _0x543746=a49_0x3a52fc;this[_0x543746(0x155)](LOG_LEVELS['TRACE'],_0xe97a3b);};['debug']=(..._0x482f68)=>{const _0x536f4b=a49_0x3a52fc;this[_0x536f4b(0x155)](LOG_LEVELS[_0x536f4b(0x16b)],_0x482f68);};[a49_0x3a52fc(0x16c)]=(..._0x2503b3)=>{const _0x494367=a49_0x3a52fc;this[_0x494367(0x155)](LOG_LEVELS['INFO'],_0x2503b3);};['warn']=(..._0x1741ed)=>{const _0x56f5b4=a49_0x3a52fc;this[_0x56f5b4(0x155)](LOG_LEVELS['WARN'],_0x1741ed);};['error']=(..._0x706309)=>{this['logToTestOps'](LOG_LEVELS['ERROR'],_0x706309);};[a49_0x3a52fc(0x15c)]=(..._0x3bccd3)=>{const _0x45d640=a49_0x3a52fc;this[_0x45d640(0x155)](LOG_LEVELS['INFO'],_0x3bccd3);};};module[a49_0x3a52fc(0x158)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x31e513=a50_0x468b;(function(_0x3fcbeb,_0xbfe352){const _0x2934b3=a50_0x468b,_0x25291e=_0x3fcbeb();while(!![]){try{const _0x55b104=parseInt(_0x2934b3(0xbb))/0x1*(parseInt(_0x2934b3(0xb6))/0x2)+-parseInt(_0x2934b3(0xcd))/0x3*(-parseInt(_0x2934b3(0xca))/0x4)+parseInt(_0x2934b3(0xcc))/0x5+-parseInt(_0x2934b3(0xba))/0x6*(-parseInt(_0x2934b3(0xd1))/0x7)+parseInt(_0x2934b3(0xc2))/0x8*(-parseInt(_0x2934b3(0xd0))/0x9)+parseInt(_0x2934b3(0xc0))/0xa*(parseInt(_0x2934b3(0xc8))/0xb)+-parseInt(_0x2934b3(0xc6))/0xc;if(_0x55b104===_0xbfe352)break;else _0x25291e['push'](_0x25291e['shift']());}catch(_0x4afd88){_0x25291e['push'](_0x25291e['shift']());}}}(a50_0x5339,0xef301));const Transport=require(a50_0x31e513(0xbe)),{consoleHolder}=require(a50_0x31e513(0xd3)),a50_0x5c5bc0={};a50_0x5c5bc0[a50_0x31e513(0xb1)]='INFO',a50_0x5c5bc0[a50_0x31e513(0xb4)]='ERROR',a50_0x5c5bc0[a50_0x31e513(0xc5)]=a50_0x31e513(0xc5),a50_0x5c5bc0[a50_0x31e513(0xc3)]=a50_0x31e513(0xc3),a50_0x5c5bc0[a50_0x31e513(0xb2)]=a50_0x31e513(0xb2);const LOG_LEVELS=a50_0x5c5bc0;function a50_0x468b(_0x3d7898,_0x1245d1){const _0x5339d1=a50_0x5339();return a50_0x468b=function(_0x468b82,_0x2dbec2){_0x468b82=_0x468b82-0xb0;let _0x2a3832=_0x5339d1[_0x468b82];return _0x2a3832;},a50_0x468b(_0x3d7898,_0x1245d1);}function a50_0x5339(){const _0xe54c3c=['winston-transport','level','19730ubeYzY','debug','5440VBrqsW','TRACE','error','DEBUG','51680544dBmHuT','emit','2596iCaJPQ','toUpperCase','4kOmgjS','trace','3755095PqoYJR','4394523WWCofD','bs:addLog:','toISOString','2853hPUBXT','11322857nAOVAP','object','../../helpers/test-observability/constants','EjswC','INFO','WARN','SzFhF','ERROR','pid','1516UKbAxj','Yudeg','TdAbb','logToTestOps','6rGhEDJ','1587LhjUmO','TEST_LOG','toLowerCase'];a50_0x5339=function(){return _0xe54c3c;};return a50_0x5339();}class logReportingAPI extends Transport{constructor(_0x522f11){super(_0x522f11);}['log'](_0x2d3a11,_0x12b2ca){const _0x32834a=a50_0x31e513,_0x41635b={'TczGR':'logged','TdAbb':function(_0x3eecc7,_0x17e80a){return _0x3eecc7(_0x17e80a);},'SzFhF':function(_0xadad46,_0x4acf35){return _0xadad46===_0x4acf35;},'Yudeg':_0x32834a(0xd2),'WdAeM':function(_0x3872dd){return _0x3872dd();}};_0x41635b[_0x32834a(0xb8)](setImmediate,()=>{const _0xdc617d=_0x32834a;this[_0xdc617d(0xc7)](_0x41635b['TczGR'],_0x2d3a11);}),_0x41635b[_0x32834a(0xb3)](typeof _0x2d3a11,_0x41635b[_0x32834a(0xb7)])?this[_0x32834a(0xb9)](_0x2d3a11[_0x32834a(0xbf)]||LOG_LEVELS[_0x32834a(0xb1)],_0x2d3a11['message'],![]):this['logToTestOps'](LOG_LEVELS['INFO'],_0x2d3a11),_0x12b2ca&&_0x41635b['WdAeM'](_0x12b2ca);}[a50_0x31e513(0xb9)]=(_0x12c58d=LOG_LEVELS[a50_0x31e513(0xb1)],_0x53e464='',_0x2fe1c2=!![])=>{const _0x352fe3=a50_0x31e513,_0x50aabc={};_0x50aabc[_0x352fe3(0xb0)]=_0x352fe3(0xbc);const _0x5ac1fc=_0x50aabc;_0x2fe1c2&&consoleHolder[_0x12c58d[_0x352fe3(0xbd)]()](_0x53e464),process[_0x352fe3(0xc7)](_0x352fe3(0xce)+process[_0x352fe3(0xb5)],{'timestamp':new Date()[_0x352fe3(0xcf)](),'level':_0x12c58d[_0x352fe3(0xc9)](),'message':_0x53e464,'kind':_0x5ac1fc[_0x352fe3(0xb0)],'http_response':{}});};[a50_0x31e513(0xcb)]=(_0x4fe019,_0x526100)=>{const _0x1e1408=a50_0x31e513;this[_0x1e1408(0xb9)](LOG_LEVELS['TRACE'],_0x4fe019);};[a50_0x31e513(0xc1)]=(_0x275e8e,_0x2a9c86)=>{const _0x446ec5=a50_0x31e513;this[_0x446ec5(0xb9)](LOG_LEVELS[_0x446ec5(0xc5)],_0x275e8e);};['info']=(_0x52f43e,_0x213d0f)=>{const _0x134c98=a50_0x31e513;this[_0x134c98(0xb9)](LOG_LEVELS[_0x134c98(0xb1)],_0x52f43e);};['warn']=(_0x302c84,_0x24468d)=>{const _0x3cabdf=a50_0x31e513;this[_0x3cabdf(0xb9)](LOG_LEVELS[_0x3cabdf(0xb2)],_0x302c84);};[a50_0x31e513(0xc4)]=(_0x8bcffe,_0x21e169)=>{const _0x2bf056=a50_0x31e513;this[_0x2bf056(0xb9)](LOG_LEVELS[_0x2bf056(0xb4)],_0x8bcffe);};};module['exports']=logReportingAPI;
|