browserstack-node-sdk 1.34.56 → 1.34.57
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/ai-sdk-node/bundle.js +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-observability.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 -1
- 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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.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/metadata.js +1 -1
- package/src/helpers/patchHelper.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.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 a41_0x1bd18f=a41_0x5186;(function(_0x39d502,_0x9e47bc){const _0x2107f8=a41_0x5186,_0x131ae1=_0x39d502();while(!![]){try{const _0x23969e=-parseInt(_0x2107f8(0x242))/0x1*(parseInt(_0x2107f8(0x278))/0x2)+parseInt(_0x2107f8(0x202))/0x3*(-parseInt(_0x2107f8(0x21f))/0x4)+-parseInt(_0x2107f8(0x290))/0x5*(parseInt(_0x2107f8(0x24a))/0x6)+-parseInt(_0x2107f8(0x20b))/0x7*(parseInt(_0x2107f8(0x258))/0x8)+-parseInt(_0x2107f8(0x28c))/0x9+parseInt(_0x2107f8(0x2c7))/0xa+-parseInt(_0x2107f8(0x27d))/0xb*(-parseInt(_0x2107f8(0x244))/0xc);if(_0x23969e===_0x9e47bc)break;else _0x131ae1['push'](_0x131ae1['shift']());}catch(_0x658e0){_0x131ae1['push'](_0x131ae1['shift']());}}}(a41_0x5188,0x93c6f));const RequestQueueHandler=require(a41_0x1bd18f(0x21b)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x1bd18f(0x2bb)),{v4:uuidv4}=require(a41_0x1bd18f(0x22d)),path=require(a41_0x1bd18f(0x294)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x1bd18f(0x2dd)),{getGitMetaData,setLogLevel}=require(a41_0x1bd18f(0x29a)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x1bd18f(0x2af)),{o11yClassErrorHandler}=require(a41_0x1bd18f(0x280)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a41_0x1bd18f(0x295)),SessionHandler=require(a41_0x1bd18f(0x2d8)),{appendTesthubParams}=require(a41_0x1bd18f(0x27c)),TestHubHandler=require(a41_0x1bd18f(0x23e)),helper=require(a41_0x1bd18f(0x29a));class MyReporter{constructor(_0x4a510c){const _0x1d6add=a41_0x1bd18f,_0x1cdff9={'tNjgk':_0x1d6add(0x211),'MSHBm':'performance-report-reporter.json','CaHay':function(_0x33ebf5,_0x406b34,_0x4e5ca0,_0x31e193){return _0x33ebf5(_0x406b34,_0x4e5ca0,_0x31e193);}},_0x569f30=_0x1cdff9[_0x1d6add(0x231)][_0x1d6add(0x1ec)]('|');let _0x371056=0x0;while(!![]){switch(_0x569f30[_0x371056++]){case'0':this[_0x1d6add(0x26a)]={};continue;case'1':process[_0x1d6add(0x296)][_0x1d6add(0x205)]&&(PerformanceTester[_0x1d6add(0x2b4)](_0x1cdff9[_0x1d6add(0x284)]),process['env'][_0x1d6add(0x1ff)]=new Date()[_0x1d6add(0x22f)]());continue;case'2':const _0x3c3a6e={};_0x3c3a6e[_0x1d6add(0x24d)]=process[_0x1d6add(0x296)][_0x1d6add(0x1ef)],_0x1cdff9[_0x1d6add(0x2ad)](setLogLevel,_0x3c3a6e,new Map(),new Map());continue;case'3':this[_0x1d6add(0x276)]=![];continue;case'4':this[_0x1d6add(0x219)]=_0x4a510c;continue;case'5':this[_0x1d6add(0x2c1)]={};continue;case'6':this['_gitConfigPath']=null;continue;}break;}}async[a41_0x1bd18f(0x243)](){const _0x31d6d6=a41_0x1bd18f;TestDetails[_0x31d6d6(0x24c)](),await this['configureGit']();}async[a41_0x1bd18f(0x245)](_0x5a00cf,_0xffdea8){const _0x3845d8=a41_0x1bd18f,_0x3d91d6={'gKplm':function(_0x3e28df,_0x3cf299){return _0x3e28df(_0x3cf299);},'hEjrU':'TestRunStarted'},_0x2cb228=this[_0x3845d8(0x213)](_0x5a00cf),_0x1f3906=TestDetails[_0x3845d8(0x246)](this['getTestRunIdentifier'](_0x5a00cf,_0xffdea8['retry']));process['env'][_0x3845d8(0x1f2)]=_0x1f3906;const _0x4cf260={};_0x4cf260[_0x3845d8(0x22d)]=_0x1f3906,_0x4cf260[_0x3845d8(0x267)]=_0xffdea8[_0x3845d8(0x25c)],this['_tests'][_0x2cb228]=_0x4cf260,_0x3d91d6[_0x3845d8(0x286)](trace,_0x3845d8(0x2f1)+_0x2cb228),await this[_0x3845d8(0x232)](_0x5a00cf,_0x3d91d6[_0x3845d8(0x2b5)],_0xffdea8);}async['onStepBegin'](_0x547c4a,_0x27fcc2,_0xe07e1d){const _0x1e465a=a41_0x1bd18f,_0x3a5693={'EULvb':function(_0x3e7f08,_0x214857){return _0x3e7f08(_0x214857);},'fVVnI':_0x1e465a(0x289)};if(!this[_0x1e465a(0x2db)](_0xe07e1d,_0x547c4a))return;const _0x320a11=this[_0x1e465a(0x2c0)](_0x547c4a,_0xe07e1d);this['_tests'][_0x320a11]={'uuid':TestDetails[_0x1e465a(0x246)](_0x320a11),'startedAt':_0xe07e1d[_0x1e465a(0x25c)][_0x1e465a(0x22f)]()};const _0x1e0ea5=this[_0x1e465a(0x26b)](_0x547c4a,_0x27fcc2[_0x1e465a(0x2d2)]);!this[_0x1e465a(0x2c1)][_0x1e0ea5]&&(this[_0x1e465a(0x2c1)][_0x1e0ea5]=[]),this[_0x1e465a(0x2c1)][_0x1e0ea5][_0x1e465a(0x207)](this[_0x1e465a(0x26a)][_0x320a11][_0x1e465a(0x22d)]),_0x3a5693[_0x1e465a(0x2c4)](trace,_0x1e465a(0x1f5)+_0x320a11+'\x20is\x20triggered\x20for\x20test\x20'+_0x1e0ea5),await this[_0x1e465a(0x2bf)](_0x547c4a,_0xe07e1d,_0x3a5693[_0x1e465a(0x253)],_0x27fcc2);}async[a41_0x1bd18f(0x1fd)](_0x36750a,_0x24f5f8,_0x420355){const _0x2d9bf5=a41_0x1bd18f,_0x1600a5={'mfwbg':function(_0x5c00d6,_0x14056b){return _0x5c00d6+_0x14056b;},'WRUtE':function(_0x3c878e,_0x318006){return _0x3c878e(_0x318006);},'fUFYw':_0x2d9bf5(0x2f0)};if(!this['needToReportStep'](_0x420355,_0x36750a))return;const _0x12cb1a=this[_0x2d9bf5(0x1f0)](_0x36750a,_0x420355);this['_tests'][_0x12cb1a]={...this[_0x2d9bf5(0x26a)][_0x12cb1a]||{},'finishedAt':new Date(_0x1600a5[_0x2d9bf5(0x2e7)](_0x420355[_0x2d9bf5(0x25c)][_0x2d9bf5(0x24b)](),_0x420355[_0x2d9bf5(0x2ca)]))},_0x1600a5[_0x2d9bf5(0x2d6)](trace,_0x2d9bf5(0x238)+_0x12cb1a+_0x2d9bf5(0x277)),await this[_0x2d9bf5(0x2bf)](_0x36750a,_0x420355,_0x1600a5[_0x2d9bf5(0x264)],_0x24f5f8);}async[a41_0x1bd18f(0x275)](_0x23b5b4,_0xf3d605){const _0x1c2ffd=a41_0x1bd18f,_0x514127={'grdjS':function(_0x33f7db,_0xf9dbc5){return _0x33f7db===_0xf9dbc5;},'eTmUD':'screenshot','Ibbkn':'TEST_SCREENSHOT','rEjeA':_0x1c2ffd(0x216),'qxHvB':function(_0x1991c8,_0x46e74a){return _0x1991c8(_0x46e74a);},'GfiXe':_0x1c2ffd(0x288),'GpTsI':function(_0x2c327f,_0x1d569c){return _0x2c327f(_0x1d569c);},'Ktnsd':_0x1c2ffd(0x23a),'ooyRp':function(_0x88e38c,_0x5e8ca7){return _0x88e38c(_0x5e8ca7);},'RcOtR':function(_0x26f281,_0x2b00a9,_0x45e505){return _0x26f281(_0x2b00a9,_0x45e505);},'PGlmD':function(_0x266c9d,_0x4a1afa){return _0x266c9d(_0x4a1afa);},'EMhEA':_0x1c2ffd(0x2da),'YXdTG':function(_0x44b04b,_0x21a30d){return _0x44b04b>_0x21a30d;}},_0x27f5c8=this[_0x1c2ffd(0x213)](_0x23b5b4),_0x503305=TestDetails[_0x1c2ffd(0x246)](this[_0x1c2ffd(0x26b)](_0x23b5b4,_0xf3d605[_0x1c2ffd(0x2d2)]));this[_0x1c2ffd(0x26a)][_0x27f5c8]={...this[_0x1c2ffd(0x26a)][_0x27f5c8]||{},'finishedAt':new Date()[_0x1c2ffd(0x22f)]()},_0x514127[_0x1c2ffd(0x2a1)](trace,_0x1c2ffd(0x2ea)+_0x27f5c8);try{await this[_0x1c2ffd(0x232)](_0x23b5b4,_0x514127[_0x1c2ffd(0x2f2)],_0xf3d605);}catch(_0x551a01){_0x514127[_0x1c2ffd(0x28d)](debug,util[_0x1c2ffd(0x25f)](_0x514127['Ktnsd'],_0x551a01[_0x1c2ffd(0x229)]()));}try{_0x514127['ooyRp'](debug,_0x1c2ffd(0x27a)+_0x503305),await _0x514127['RcOtR'](sendTraceZip,_0xf3d605,_0x503305);}catch(_0x5502bd){_0x514127[_0x1c2ffd(0x251)](debug,util[_0x1c2ffd(0x25f)](_0x514127[_0x1c2ffd(0x271)],_0x5502bd[_0x1c2ffd(0x229)]()));}const _0x8fad1b=[];_0xf3d605[_0x1c2ffd(0x2a3)]&&_0xf3d605['attachments']['map'](_0x4451d2=>{const _0x3735b0=_0x1c2ffd;if(_0x514127[_0x3735b0(0x266)](_0x4451d2[_0x3735b0(0x2e0)],_0x514127[_0x3735b0(0x2b3)])){if(!_0x4451d2[_0x3735b0(0x294)]||!fs[_0x3735b0(0x249)](_0x4451d2[_0x3735b0(0x294)]))return;_0x8fad1b[_0x3735b0(0x207)]({'test_run_uuid':_0x503305,'timestamp':fs[_0x3735b0(0x2c6)](_0x4451d2[_0x3735b0(0x294)])[_0x3735b0(0x2d9)],'kind':_0x514127[_0x3735b0(0x234)],'message':fs[_0x3735b0(0x260)](_0x4451d2[_0x3735b0(0x294)],{'encoding':_0x514127[_0x3735b0(0x2be)]})});}}),_0x514127[_0x1c2ffd(0x21a)](_0x8fad1b[_0x1c2ffd(0x297)],0x0)&&await MyReporter[_0x1c2ffd(0x224)](_0x8fad1b);}async['endSession'](){const _0x2f6608=a41_0x1bd18f;await RequestQueueHandler[_0x2f6608(0x2de)]()[_0x2f6608(0x204)]();}async[a41_0x1bd18f(0x210)](_0x521b45){const _0x5d0fd9=a41_0x1bd18f,_0x113552={'kVymz':function(_0xe3f275){return _0xe3f275();},'TbdaF':function(_0x3ceb41,_0x4a0443){return _0x3ceb41(_0x4a0443);}};await this[_0x5d0fd9(0x2c3)]();try{process[_0x5d0fd9(0x296)][_0x5d0fd9(0x205)]&&await _0x113552[_0x5d0fd9(0x248)](calculatePerformance);}catch(_0x1b6862){_0x113552[_0x5d0fd9(0x298)](debug,_0x5d0fd9(0x1eb)+_0x1b6862['toString']());}}static async['addTestUIDAndReportLog'](_0x4b7e30,_0xc070e8){const _0x2fc241=a41_0x1bd18f;_0xc070e8[_0x2fc241(0x29f)]=TestDetails['getTestUUID'](_0x4b7e30),await this[_0x2fc241(0x224)]([_0xc070e8]);}static async[a41_0x1bd18f(0x224)](_0x2461a6){const _0x51cad1=a41_0x1bd18f,_0x2c83ba={};_0x2c83ba['CbYPj']=_0x51cad1(0x257);const _0x180674=_0x2c83ba,_0x27e013={};_0x27e013[_0x51cad1(0x20e)]=_0x180674[_0x51cad1(0x1f6)],_0x27e013[_0x51cad1(0x217)]=_0x2461a6,await SessionHandler[_0x51cad1(0x221)](_0x27e013);}async[a41_0x1bd18f(0x2bf)](_0x2ef9b0,_0x1e9b91,_0x131e29,_0x40a592){const _0x1057f1=a41_0x1bd18f,_0xceb4a9={'CFoIH':_0x1057f1(0x270),'sKNoa':_0x1057f1(0x2e5),'itjRU':'pending','eCrSp':function(_0x577127,_0x3289bf){return _0x577127>=_0x3289bf;},'KUflJ':function(_0x270bd5,_0x3f916b){return _0x270bd5===_0x3f916b;},'gPdop':_0x1057f1(0x2f0),'bVJai':function(_0x209ec4,_0x317772){return _0x209ec4>_0x317772;},'UmQpB':'failed','Ltcjs':function(_0x1348ee,_0x2a9ba1){return _0x1348ee(_0x2a9ba1);},'XSxtL':function(_0x3d315e,_0xc5733,_0x5582d3){return _0x3d315e(_0xc5733,_0x5582d3);},'VdZWg':'err','YakuI':function(_0x5e4288,_0x4caa08){return _0x5e4288===_0x4caa08;},'fGqMz':_0x1057f1(0x226)},_0x16090d=this[_0x1057f1(0x1f0)](_0x2ef9b0,_0x1e9b91),_0x23822f=this[_0x1057f1(0x26a)][_0x16090d],_0x3f6211={'uuid':_0x23822f['uuid'],'type':_0xceb4a9[_0x1057f1(0x261)],'hook_type':this['getHookType'](_0x1e9b91[_0x1057f1(0x208)]),'name':_0x1e9b91['title'],'scope':this['getScope'](_0x1e9b91),'scopes':this[_0x1057f1(0x2b0)](_0x2ef9b0),'body':{'lang':_0xceb4a9[_0x1057f1(0x247)],'code':null},'identifier':_0x16090d,'file_name':path['relative'](process[_0x1057f1(0x236)](),_0x2ef9b0[_0x1057f1(0x256)]['file']),'location':path[_0x1057f1(0x2a0)](process[_0x1057f1(0x236)](),_0x2ef9b0['location'][_0x1057f1(0x22e)]),'result':_0xceb4a9[_0x1057f1(0x225)],'duration_in_ms':_0xceb4a9[_0x1057f1(0x25a)](_0x1e9b91[_0x1057f1(0x2ca)],0x0)?_0x1e9b91[_0x1057f1(0x2ca)]:undefined,'vc_filepath':this[_0x1057f1(0x1fc)]&&_0x2ef9b0['location'][_0x1057f1(0x22e)]?path[_0x1057f1(0x2a0)](this[_0x1057f1(0x1fc)],_0x2ef9b0['location'][_0x1057f1(0x22e)]):undefined,'started_at':_0x23822f['startedAt'],'finished_at':_0x23822f[_0x1057f1(0x268)],'framework':FRAMEWORKS[_0x1057f1(0x20a)]};if(_0xceb4a9['KUflJ'](_0x131e29,_0xceb4a9['gPdop'])){const {steps:_0x1ea08b,logs:_0x4cfdd2}=this[_0x1057f1(0x250)](_0x1e9b91[_0x1057f1(0x272)],_0x23822f[_0x1057f1(0x22d)],_0xceb4a9['CFoIH']);_0x4cfdd2&&_0xceb4a9[_0x1057f1(0x24f)](_0x4cfdd2[_0x1057f1(0x297)],0x0)&&await MyReporter[_0x1057f1(0x224)](_0x4cfdd2);const _0x942de1={};_0x942de1['steps']=_0x1ea08b,_0x3f6211[_0x1057f1(0x212)]=_0x942de1;if(_0x1e9b91[_0x1057f1(0x291)]){_0x3f6211[_0x1057f1(0x2a2)]=_0xceb4a9[_0x1057f1(0x2ee)],_0x3f6211[_0x1057f1(0x2cd)]=_0xceb4a9['Ltcjs'](removeAnsiColors,_0x1e9b91[_0x1057f1(0x291)][_0x1057f1(0x299)]),_0x3f6211['failure_type']=_0xceb4a9['Ltcjs'](getFailureType,_0x1e9b91['error']['message']);const _0x3a87b2=_0xceb4a9[_0x1057f1(0x23f)](failureData,_0x1e9b91[_0x1057f1(0x291)],_0xceb4a9[_0x1057f1(0x2b8)]);if(_0x3a87b2&&_0xceb4a9['YakuI'](_0x3a87b2['length'],0x0)){const _0x36212a={};_0x36212a[_0x1057f1(0x255)]=[_0x3f6211[_0x1057f1(0x2cd)]],_0x36212a[_0x1057f1(0x24e)]=[],_0x3a87b2[_0x1057f1(0x207)](_0x36212a);}_0x3f6211[_0x1057f1(0x287)]=_0x3a87b2;}else _0x3f6211['result']=_0xceb4a9[_0x1057f1(0x235)];}const _0x4aab7b={};_0x4aab7b[_0x1057f1(0x20e)]=_0x131e29,_0x4aab7b[_0x1057f1(0x2c2)]=_0x3f6211;const _0x2ac3bc=_0x4aab7b;await SessionHandler[_0x1057f1(0x221)](_0x2ac3bc);}['getStepsAndLogs'](_0x4ffa48,_0x156a0a,_0xa968f4){const _0x115d5d=a41_0x1bd18f,_0x2235e0={'Kydef':function(_0x230d47,_0x102ab1){return _0x230d47===_0x102ab1;},'RuBkP':'hook','tYbqb':function(_0x1b5435,_0xcf0c28){return _0x1b5435===_0xcf0c28;},'haxew':'After\x20Hooks','vjNON':function(_0x4baf6e,_0x217a15){return _0x4baf6e===_0x217a15;},'qHBsU':_0x115d5d(0x2bd),'OEXPA':function(_0x579def,_0x854741){return _0x579def===_0x854741;},'tTgmm':function(_0x3f9ae6,_0xaf114b){return _0x3f9ae6===_0xaf114b;},'vdRSZ':_0x115d5d(0x2ed),'hWzfw':'test_run_uuid','TRGEd':_0x115d5d(0x2e8),'CoLfn':'TEST_STEP','FLjBX':_0x115d5d(0x2d0),'unzcX':_0x115d5d(0x226),'vVCfJ':function(_0x574738,_0x41c656){return _0x574738(_0x41c656);},'WcFyE':function(_0x46f10a){return _0x46f10a();},'yreXW':function(_0x23307a,_0x3bf85b,_0x5b6d2b){return _0x23307a(_0x3bf85b,_0x5b6d2b);}},_0x3638c4=[],_0x4bdc57=[],_0x18416c=_0x4ffa48[_0x115d5d(0x2b1)](_0x55998c=>{const _0x306da1=_0x115d5d;if(_0x2235e0[_0x306da1(0x2a6)](_0x55998c[_0x306da1(0x25b)],_0x2235e0[_0x306da1(0x1f7)])&&(_0x2235e0[_0x306da1(0x2e6)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x227)])||_0x2235e0[_0x306da1(0x239)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x237)])))return![];return!![];}),_0x23911f=(_0x4ebb83,_0x258dfe=![])=>{const _0xf27833=_0x115d5d;if(_0x2235e0[_0xf27833(0x2eb)](_0x4ebb83['steps'][_0xf27833(0x297)],0x0)){const _0x5e8683=_0x2235e0[_0xf27833(0x252)](_0xa968f4,_0x2235e0[_0xf27833(0x1f4)])?_0x2235e0['hWzfw']:_0x2235e0[_0xf27833(0x23b)];_0x4bdc57[_0xf27833(0x207)]({'kind':_0x2235e0[_0xf27833(0x21e)],[_0x5e8683]:_0x156a0a,'message':_0x4ebb83[_0xf27833(0x208)],'timestamp':_0x4ebb83['startTime']['toISOString'](),'level':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0['FLjBX']:_0x2235e0[_0xf27833(0x2aa)],'duration':_0x4ebb83[_0xf27833(0x2ca)],'failure':_0x4ebb83['error']&&_0x4ebb83[_0xf27833(0x291)]['message']&&_0x2235e0['vVCfJ'](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)]['message'])});}else{!_0x258dfe&&_0x3638c4['push']({'id':_0x2235e0[_0xf27833(0x2ba)](uuidv4),'text':_0x4ebb83[_0xf27833(0x208)],'keyword':undefined,'started_at':_0x4ebb83[_0xf27833(0x25c)][_0xf27833(0x22f)](),'duration':_0x4ebb83[_0xf27833(0x2ca)],'result':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0[_0xf27833(0x1ee)]:_0x2235e0[_0xf27833(0x2aa)],'failure':_0x4ebb83['error']&&_0x4ebb83['error'][_0xf27833(0x299)]&&_0x2235e0[_0xf27833(0x2d5)](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)])});for(const _0xd0dba2 of _0x4ebb83[_0xf27833(0x272)]){_0x2235e0[_0xf27833(0x2b9)](_0x23911f,_0xd0dba2,!![]);}}};for(const _0xd1a9de of _0x18416c){_0x2235e0[_0x115d5d(0x2b9)](_0x23911f,_0xd1a9de,![]);}const _0xca327={};return _0xca327[_0x115d5d(0x272)]=_0x3638c4,_0xca327['logs']=_0x4bdc57,_0xca327;}async[a41_0x1bd18f(0x232)](_0x4e3e14,_0xe8ca10,_0xe4f8c4){const _0x4ef5c0=a41_0x1bd18f,_0x3afd73={'dDZTT':function(_0x270c78,_0x4ba144){return _0x270c78(_0x4ba144);},'mTlVV':'TEST_ATTACHMENT','ktwdy':_0x4ef5c0(0x228),'UlFjB':_0x4ef5c0(0x2ed),'okBUv':_0x4ef5c0(0x2e5),'oKSan':'pending','WxGHO':function(_0x35257a,_0x133e56){return _0x35257a(_0x133e56);},'oybfd':function(_0x19daab,_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476){return _0x19daab(_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476);},'Upweg':function(_0x52c0fa,_0x5db66a){return _0x52c0fa>_0x5db66a;},'kAhLA':function(_0x4830cb,_0x53c80e){return _0x4830cb-_0x53c80e;},'USomX':function(_0x1b41ae,_0x4ff6d8){return _0x1b41ae===_0x4ff6d8;},'zMFSk':_0x4ef5c0(0x288),'mhDmt':function(_0x5cd960,_0x3d6eb3){return _0x5cd960===_0x3d6eb3;},'YUGrR':'skipped','THWBm':_0x4ef5c0(0x226),'FuFjo':function(_0x16c370,_0x271e9f){return _0x16c370===_0x271e9f;},'EvvVK':_0x4ef5c0(0x2d0),'HErhC':_0x4ef5c0(0x20f),'QCXAv':function(_0x1a9d30,_0x21d918){return _0x1a9d30===_0x21d918;},'sllCj':'Expected\x20to\x20fail,\x20but\x20passed.','XCVsz':function(_0x23301d,_0x1b15c4){return _0x23301d(_0x1b15c4);},'nQczi':function(_0x3590f7,_0x1d88e3){return _0x3590f7(_0x1d88e3);},'Okhev':function(_0x379050,_0x4290ef,_0x4c46b0){return _0x379050(_0x4290ef,_0x4c46b0);},'TEVjI':function(_0x442333,_0x3d323a){return _0x442333===_0x3d323a;},'rqaCZ':function(_0x49881d,_0xfab5d3,_0x5ae3a1){return _0x49881d(_0xfab5d3,_0x5ae3a1);},'ilvdn':_0x4ef5c0(0x294),'cUPST':'.browserstack','iakJZ':_0x4ef5c0(0x22a),'YcaBc':function(_0x216668,_0x26f7ad){return _0x216668(_0x26f7ad);},'FmNZy':function(_0x3d95a1,_0x2327d2){return _0x3d95a1!==_0x2327d2;}},_0x26e713=this[_0x4ef5c0(0x213)](_0x4e3e14),_0x1b99a3=this[_0x4ef5c0(0x214)](_0x4e3e14),_0x3fc124=this[_0x4ef5c0(0x26a)][_0x26e713],_0xfd129=path['relative'](process[_0x4ef5c0(0x236)](),_0x4e3e14[_0x4ef5c0(0x256)][_0x4ef5c0(0x22e)]);await this[_0x4ef5c0(0x263)]();const _0x1fa886={'uuid':_0x3fc124[_0x4ef5c0(0x22d)],'type':_0x3afd73[_0x4ef5c0(0x29c)],'name':_0x4e3e14[_0x4ef5c0(0x208)],'body':{'lang':_0x3afd73[_0x4ef5c0(0x220)],'code':_0x4e3e14['fn'][_0x4ef5c0(0x229)]()},'scope':_0x1b99a3,'scopes':this[_0x4ef5c0(0x2b0)](_0x4e3e14),'identifier':_0x26e713,'file_name':_0xfd129,'location':_0xfd129,'result':_0x3afd73[_0x4ef5c0(0x2b2)],'duration_in_ms':_0xe4f8c4&&_0xe4f8c4[_0x4ef5c0(0x2ca)]?_0xe4f8c4[_0x4ef5c0(0x2ca)]:null,'vc_filepath':this['_gitConfigPath']&&_0x4e3e14[_0x4ef5c0(0x256)]['file']?path['relative'](this[_0x4ef5c0(0x1fc)],_0x4e3e14['location'][_0x4ef5c0(0x22e)]):undefined,'started_at':_0x3fc124['startedAt'],'finished_at':_0x3fc124[_0x4ef5c0(0x268)],'framework':FRAMEWORKS[_0x4ef5c0(0x20a)],'customRerunParam':{'rerun_name':this[_0x4ef5c0(0x274)](_0x4e3e14)},'tags':_0x3afd73['WxGHO'](getTestTags,_0x4e3e14)};_0x3afd73[_0x4ef5c0(0x2e4)](appendTesthubParams,_0x1fa886,_0xe8ca10,_0x4e3e14,FRAMEWORKS[_0x4ef5c0(0x20a)]);_0xe4f8c4&&_0x3afd73[_0x4ef5c0(0x2a5)](_0xe4f8c4['retry'],0x0)&&(_0x1fa886['retry_of']=TestDetails[_0x4ef5c0(0x246)](this['getTestRunIdentifier'](_0x4e3e14,_0x3afd73[_0x4ef5c0(0x2a4)](_0xe4f8c4[_0x4ef5c0(0x2d2)],0x1))));if(_0x3afd73['USomX'](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])){_0x1fa886[_0x4ef5c0(0x2a2)]=_0xe4f8c4[_0x4ef5c0(0x273)];if(_0x3afd73[_0x4ef5c0(0x29b)](_0xe4f8c4[_0x4ef5c0(0x273)],_0x4e3e14[_0x4ef5c0(0x281)]))_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x2a8)](_0xe4f8c4['status'],_0x3afd73[_0x4ef5c0(0x1ed)])?_0x3afd73['YUGrR']:_0x3afd73['THWBm'];else{(_0x3afd73['FuFjo'](_0x1fa886['result'],_0x3afd73[_0x4ef5c0(0x2ac)])||_0x3afd73[_0x4ef5c0(0x2e9)](_0x1fa886[_0x4ef5c0(0x2a2)],_0x3afd73[_0x4ef5c0(0x241)])||_0x3afd73[_0x4ef5c0(0x2a8)](_0x1fa886['result'],_0x3afd73['HErhC']))&&(_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x241)]);if(_0x3afd73[_0x4ef5c0(0x1f1)](_0xe4f8c4['status'],_0x3afd73['THWBm'])&&_0x3afd73[_0x4ef5c0(0x2a8)](_0x4e3e14[_0x4ef5c0(0x281)],_0x3afd73[_0x4ef5c0(0x241)])){const _0x5501a1={};_0x5501a1[_0x4ef5c0(0x299)]=_0x3afd73[_0x4ef5c0(0x25d)],_0x5501a1[_0x4ef5c0(0x2a9)]=_0x3afd73[_0x4ef5c0(0x25d)],_0xe4f8c4[_0x4ef5c0(0x291)]=_0x5501a1,_0xe4f8c4[_0x4ef5c0(0x22b)]=[_0xe4f8c4[_0x4ef5c0(0x291)]];}}const _0x1f138c=this['getTestRunIdentifier'](_0x4e3e14,_0xe4f8c4[_0x4ef5c0(0x2d2)]);_0x1fa886[_0x4ef5c0(0x200)]=this[_0x4ef5c0(0x2c1)][_0x1f138c];const {steps:_0x25c5d8,logs:_0x4e3579}=this['getStepsAndLogs'](_0xe4f8c4[_0x4ef5c0(0x272)],_0x3fc124[_0x4ef5c0(0x22d)],_0x3afd73[_0x4ef5c0(0x29c)]);await MyReporter[_0x4ef5c0(0x224)](_0x4e3579);const _0x28f381={};_0x28f381[_0x4ef5c0(0x272)]=_0x25c5d8,_0x1fa886[_0x4ef5c0(0x212)]=_0x28f381;if(_0xe4f8c4[_0x4ef5c0(0x291)]){_0x1fa886[_0x4ef5c0(0x2cd)]=_0x3afd73[_0x4ef5c0(0x218)](removeAnsiColors,_0xe4f8c4['error'][_0x4ef5c0(0x299)]),_0x1fa886[_0x4ef5c0(0x2ce)]=_0x3afd73[_0x4ef5c0(0x1f9)](getFailureType,_0xe4f8c4[_0x4ef5c0(0x291)]['message']);const _0x255c9c={};_0x255c9c[_0x4ef5c0(0x29f)]=_0x3fc124['uuid'];const {failureData:_0x3fa053,logs:_0x3424b9}=_0x3afd73['Okhev'](getFailureData,_0xe4f8c4[_0x4ef5c0(0x22b)],_0x255c9c);if(_0x3fa053&&_0x3afd73['TEVjI'](_0x3fa053[_0x4ef5c0(0x297)],0x0)){const _0x3c6675={};_0x3c6675[_0x4ef5c0(0x255)]=[_0x1fa886[_0x4ef5c0(0x2cd)]],_0x3c6675[_0x4ef5c0(0x24e)]=[],_0x3fa053['push'](_0x3c6675);}_0x1fa886[_0x4ef5c0(0x287)]=_0x3fa053,_0x3424b9&&_0x3afd73[_0x4ef5c0(0x2a5)](_0x3424b9[_0x4ef5c0(0x297)],0x0)&&await MyReporter[_0x4ef5c0(0x224)](_0x3424b9);}}let _0x17bcbb=_0x3afd73[_0x4ef5c0(0x2ef)](findNestedKey,_0xe4f8c4,_0x3afd73[_0x4ef5c0(0x282)]);if(_0x17bcbb&&_0x3afd73[_0x4ef5c0(0x1f9)](validateFilePath,_0x17bcbb))_0x3afd73[_0x4ef5c0(0x20d)](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb);else{const _0x59359c=path['join'](helper['homedir'](),_0x3afd73[_0x4ef5c0(0x240)]);!fs['existsSync'](_0x59359c)&&fs[_0x4ef5c0(0x215)](_0x59359c),fs[_0x4ef5c0(0x249)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)))&&(_0x17bcbb=fs[_0x4ef5c0(0x260)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)),_0x3afd73[_0x4ef5c0(0x2ec)]),_0x3afd73['YcaBc'](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb));}const _0x148434={};_0x148434[_0x4ef5c0(0x20e)]=_0xe8ca10,_0x148434[_0x4ef5c0(0x2d4)]=_0x1fa886;const _0x1f9217=_0x148434;_0x17bcbb&&_0x3afd73['FmNZy'](_0x17bcbb,'')&&_0x3afd73[_0x4ef5c0(0x2a8)](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])&&(!_0x1f9217[_0x4ef5c0(0x217)]&&(_0x1f9217[_0x4ef5c0(0x217)]=[]),_0x17bcbb['split']('\x0a')[_0x4ef5c0(0x27b)](_0x1525bf=>{const _0x8fa03c=_0x4ef5c0;_0x1525bf&&_0x3afd73[_0x8fa03c(0x20d)](validateFilePath,_0x1525bf)&&_0x1f9217[_0x8fa03c(0x217)][_0x8fa03c(0x207)]({'kind':_0x3afd73['mTlVV'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x3fc124[_0x8fa03c(0x22d)],'file_name':path[_0x8fa03c(0x2e2)](_0x1525bf),'file_size':fs[_0x8fa03c(0x2c6)](_0x1525bf)['size'],'attachment_type':_0x3afd73[_0x8fa03c(0x259)]});})),await SessionHandler[_0x4ef5c0(0x221)](_0x1f9217);}[a41_0x1bd18f(0x274)](_0x1131ac){const _0x443efc=a41_0x1bd18f,_0x33fd4c={};_0x33fd4c[_0x443efc(0x1ea)]=function(_0x3a0342,_0x396a94){return _0x3a0342===_0x396a94;},_0x33fd4c[_0x443efc(0x2e1)]=function(_0x2e0692,_0x31d4ec){return _0x2e0692>_0x31d4ec;},_0x33fd4c[_0x443efc(0x26d)]=function(_0x310dfe,_0xf2bcc5){return _0x310dfe+_0xf2bcc5;},_0x33fd4c[_0x443efc(0x265)]=function(_0x52a2b8,_0x39c79a){return _0x52a2b8===_0x39c79a;},_0x33fd4c[_0x443efc(0x203)]=function(_0x1df34d,_0x11e957){return _0x1df34d+_0x11e957;};const _0x52f2f3=_0x33fd4c,_0x1c41e1=_0x1131ac[_0x443efc(0x28a)]()[_0x443efc(0x2dc)](_0x416e6b=>{const _0x34eb8f=_0x443efc;if(_0x1131ac['parent']&&_0x52f2f3['biBdm'](_0x416e6b,_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x208)])&&_0x1131ac[_0x34eb8f(0x2ab)]['_tags']&&_0x52f2f3[_0x34eb8f(0x2e1)](_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x21d)][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x26d)](_0x416e6b,'\x20'),_0x1131ac['parent'][_0x34eb8f(0x21d)]['join']('\x20'));if(_0x52f2f3['qXsQX'](_0x416e6b,_0x1131ac['title'])&&_0x1131ac[_0x34eb8f(0x21d)]&&_0x52f2f3['QxugF'](_0x1131ac['_tags'][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x203)](_0x416e6b,'\x20'),_0x1131ac[_0x34eb8f(0x21d)]['join']('\x20'));return _0x416e6b;})[_0x443efc(0x2c8)]('\x20');return _0x1c41e1;}static async['sendSessionDetails'](_0xed2066,_0x3e60e2){const _0x6390b2=a41_0x1bd18f,_0x2c6943={'EHNXP':function(_0x182c26,_0x24b92d){return _0x182c26(_0x24b92d);},'vlVTk':'CBTSessionCreated'},_0x40c1ff={'uuid':TestDetails[_0x6390b2(0x246)](_0xed2066),'integrations':_0x3e60e2},_0x1cefbf={};_0x1cefbf['depth']=null,_0x2c6943['EHNXP'](debug,_0x6390b2(0x2e3)+_0xed2066+',\x20'+util[_0x6390b2(0x222)](_0x3e60e2,_0x1cefbf));const _0x52a7b3={};_0x52a7b3[_0x6390b2(0x20e)]=_0x2c6943[_0x6390b2(0x29e)],_0x52a7b3[_0x6390b2(0x2d4)]=_0x40c1ff,await SessionHandler['uploadEventData'](_0x52a7b3);}async[a41_0x1bd18f(0x263)](){const _0x11d155=a41_0x1bd18f,_0x2cef17={'OxRLW':function(_0x59c0a0){return _0x59c0a0();}};if(this[_0x11d155(0x276)])return;const _0x4befcb=await _0x2cef17[_0x11d155(0x206)](getGitMetaData);_0x4befcb&&(this[_0x11d155(0x1fc)]=_0x4befcb[_0x11d155(0x23c)]),this[_0x11d155(0x276)]=!![];}[a41_0x1bd18f(0x2b0)](_0x5ef48c){const _0x52c2e9=a41_0x1bd18f,_0x425a2c={};_0x425a2c['Bzgym']=function(_0x3e5066,_0x51e40e){return _0x3e5066!==_0x51e40e;};const _0x33125f=_0x425a2c,_0x17a12d=[];if(_0x5ef48c&&_0x5ef48c['parent']){let _0x49c955=_0x5ef48c[_0x52c2e9(0x2ab)];while(_0x49c955&&_0x33125f[_0x52c2e9(0x2cf)](_0x49c955['title'],'')){_0x17a12d[_0x52c2e9(0x207)](_0x49c955[_0x52c2e9(0x208)]),_0x49c955=_0x49c955['parent'];}}return _0x17a12d[_0x52c2e9(0x2d7)]()[_0x52c2e9(0x254)](0x0,0x2),_0x17a12d;}['needToReportStep'](_0x4db65b){const _0xecabfe=a41_0x1bd18f,_0xa8f67d={};_0xa8f67d[_0xecabfe(0x223)]=function(_0x797ef0,_0xcc266f){return _0x797ef0!==_0xcc266f;},_0xa8f67d[_0xecabfe(0x2d1)]=_0xecabfe(0x270),_0xa8f67d[_0xecabfe(0x27e)]=function(_0x1b96ac,_0x3a7ac1){return _0x1b96ac===_0x3a7ac1;},_0xa8f67d[_0xecabfe(0x293)]='beforeEach\x20hook',_0xa8f67d[_0xecabfe(0x2bc)]=_0xecabfe(0x2b6),_0xa8f67d['KllHx']=_0xecabfe(0x26e),_0xa8f67d[_0xecabfe(0x283)]=_0xecabfe(0x1fa);const _0x4ba71f=_0xa8f67d;if(_0x4ba71f[_0xecabfe(0x223)](_0x4db65b[_0xecabfe(0x25b)],_0x4ba71f[_0xecabfe(0x2d1)]))return![];if(_0x4ba71f[_0xecabfe(0x27e)]([_0x4ba71f[_0xecabfe(0x293)],_0x4ba71f[_0xecabfe(0x2bc)],_0x4ba71f['KllHx'],_0x4ba71f['xgpEk']][_0xecabfe(0x2cb)](_0x4db65b['title']),-0x1))return![];return!![];}[a41_0x1bd18f(0x1f0)](_0x48d0e6,_0x544f8c){const _0x5abe45=a41_0x1bd18f,_0x4cf105=_0x544f8c[_0x5abe45(0x26f)];if(_0x4cf105)return _0x4cf105;return _0x544f8c[_0x5abe45(0x208)]+_0x5abe45(0x1f3)+this[_0x5abe45(0x213)](_0x48d0e6);}['setStepIdentifier'](_0x53fb8a,_0x419946){const _0x26a431=a41_0x1bd18f,_0x1b3584={'ZiaTJ':function(_0x5b26ab){return _0x5b26ab();}};let _0x5a0b02=_0x419946[_0x26a431(0x208)]+_0x26a431(0x1f3)+this['getTestIdentifier'](_0x53fb8a);return this[_0x26a431(0x26a)][_0x5a0b02]&&(_0x5a0b02=_0x5a0b02+'\x20-\x20'+_0x1b3584[_0x26a431(0x2c9)](uuidv4)),_0x419946[_0x26a431(0x26f)]=_0x5a0b02,_0x5a0b02;}[a41_0x1bd18f(0x213)]=_0x33a3bf=>{const _0x10b5f9=a41_0x1bd18f,_0x3eeede={};_0x3eeede['FOHIX']=function(_0x1bf9a3,_0x5e82a1){return _0x1bf9a3+_0x5e82a1;},_0x3eeede[_0x10b5f9(0x230)]=function(_0x583b35,_0x32dd4b){return _0x583b35+_0x32dd4b;};const _0x199fa0=_0x3eeede;return _0x199fa0[_0x10b5f9(0x1fe)](_0x199fa0['Ujvxq'](_0x33a3bf[_0x10b5f9(0x27f)],'-'),_0x33a3bf['id']);};[a41_0x1bd18f(0x26b)]=(_0x7c9964,_0x3659f3)=>{const _0x3f044e=a41_0x1bd18f,_0x574d52={};_0x574d52[_0x3f044e(0x21c)]=function(_0x5ced39,_0x11fcdd){return _0x5ced39+_0x11fcdd;},_0x574d52[_0x3f044e(0x28b)]=function(_0x51080d,_0x18bdf2){return _0x51080d+_0x18bdf2;};const _0x1f6ae4=_0x574d52;return _0x1f6ae4[_0x3f044e(0x21c)](_0x1f6ae4['kCPoJ'](this[_0x3f044e(0x213)](_0x7c9964),'-'),_0x3659f3);};[a41_0x1bd18f(0x1fb)]=_0x5fbefd=>{const _0x5394c1=a41_0x1bd18f,_0x415137={};_0x415137[_0x5394c1(0x28f)]=_0x5394c1(0x201),_0x415137[_0x5394c1(0x2a7)]=_0x5394c1(0x20c),_0x415137['mMOKs']=_0x5394c1(0x2b6),_0x415137[_0x5394c1(0x285)]=_0x5394c1(0x22c),_0x415137[_0x5394c1(0x2cc)]=_0x5394c1(0x1fa),_0x415137[_0x5394c1(0x1f8)]=_0x5394c1(0x26c),_0x415137[_0x5394c1(0x2ae)]='afterAll\x20hook',_0x415137[_0x5394c1(0x233)]=_0x5394c1(0x2df),_0x415137['JQHPs']=_0x5394c1(0x23d);const _0x4c6a1=_0x415137;if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x28f)]))return _0x4c6a1[_0x5394c1(0x2a7)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1['mMOKs']))return _0x4c6a1['fmXVi'];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2cc)]))return _0x4c6a1[_0x5394c1(0x1f8)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2ae)]))return _0x4c6a1['yodCn'];}}}return _0x4c6a1['JQHPs'];};[a41_0x1bd18f(0x214)]=_0x13950f=>{const _0x5c1e44=a41_0x1bd18f,_0x5d6fdf={};_0x5d6fdf['vZiRk']=function(_0x19a7b7,_0x3bb613){return _0x19a7b7===_0x3bb613;},_0x5d6fdf[_0x5c1e44(0x2d3)]='object';const _0x12adc1=_0x5d6fdf;let _0xc00991=_0x13950f[_0x5c1e44(0x2ab)];return _0x12adc1['vZiRk'](typeof _0x13950f['parent'],_0x12adc1['NTdpc'])&&(_0xc00991=_0xc00991[_0x5c1e44(0x208)]),_0xc00991+'\x20-\x20'+_0x13950f[_0x5c1e44(0x208)];};[a41_0x1bd18f(0x2b7)](){return![];}}function a41_0x5188(){const _0x179576=['getCustomRerunParam','onTestEnd','_gitConfigured','\x20is\x20triggered','19402OspNjo','Trace\x20file\x20found\x20for\x20test:\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','forEach','../../../helpers/testhub/utils','804023gphRff','kZTRB','_projectId','../../../helpers/test-observability/error-handler','expectedStatus','ilvdn','xgpEk','MSHBm','fmXVi','gKplm','failure','TestRunFinished','HookRunStarted','titlePath','kCPoJ','9800775JJbvvb','GpTsI','onStepBegin','lzMWa','20sTZzCm','error','.txt','OBTuL','path','../../../helpers/test-observability/constants','env','length','TbdaF','message','../../../helpers/helper','USomX','UlFjB','exports','vlVTk','test_run_uuid','relative','qxHvB','result','attachments','kAhLA','Upweg','Kydef','xECzP','mhDmt','stack','unzcX','parent','THWBm','CaHay','qRFan','util','getHierarchy','filter','oKSan','eTmUD','startMonitoring','hEjrU','beforeAll\x20hook','printsToStdio','VdZWg','yreXW','WcFyE','./pwUtils','IHijS','Before\x20Hooks','rEjeA','sendHookRunEvent','setStepIdentifier','_testHooksMap','hook_run','endSession','EULvb','startsWith','statSync','400530FbNCZW','join','ZiaTJ','duration','indexOf','dwjiX','failure_reason','failure_type','Bzgym','failed','bUymF','retry','NTdpc','test_run','vVCfJ','WRUtE','reverse','../../../helpers/test-observability/sessionHandler','mtime','Error\x20in\x20sending\x20trace\x20zip:\x20%s','needToReportStep','map','../../../helpers/test-observability/utils','getInstance','AFTER_ALL','name','QxugF','basename','Sending\x20session\x20details\x20for\x20','oybfd','javascript','tYbqb','mfwbg','hook_run_uuid','FuFjo','Test\x20Finished\x20with\x20unique\x20id\x20','OEXPA','iakJZ','test','UmQpB','rqaCZ','HookRunFinished','Test\x20Started\x20with\x20unique\x20id\x20','GfiXe','biBdm','Error\x20in\x20calculating\x20performance:\x20','split','YUGrR','FLjBX','BROWSERSTACK_LOG_LEVEL','getStepIdentifier','QCXAv','BROWSERSTACK_TEST_RUN_ID','\x20for\x20','vdRSZ','Hook\x20Started\x20with\x20unique\x20id\x20','CbYPj','RuBkP','RvbCj','nQczi','afterEach\x20hook','getHookType','_gitConfigPath','onStepEnd','FOHIX','START_TIME','hooks','beforeEach\x20hook','1068XTMPAl','LDWTc','shutdown','BROWSERSTACK_O11Y_PERF_MEASUREMENT','OxRLW','push','title','zMFSk','PLAYWRIGHT','3049242ttHtOk','BEFORE_EACH','dDZTT','event_type','timedOut','onEnd','2|1|0|5|4|3|6','meta','getTestIdentifier','getScope','mkdirSync','base64','logs','XCVsz','options','YXdTG','../../../helpers/test-observability/requestQueueHandler','ttpwT','_tags','CoLfn','716oSYzjN','okBUv','uploadEventData','inspect','npbwq','reportLogs','itjRU','passed','haxew','PLAYWRIGHT_TRACE_LOGS','toString','utf8','errors','BEFORE_ALL','uuid','file','toISOString','Ujvxq','tNjgk','sendTestRunEvent','yodCn','Ibbkn','fGqMz','cwd','qHBsU','Hook\x20Finished\x20with\x20unique\x20id\x20','vjNON','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','TRGEd','root','unknown','../../../helpers/testhub/testhubHandler','XSxtL','cUPST','EvvVK','78rqReMW','onBegin','708uiGQMG','onTestBegin','getTestUUID','sKNoa','kVymz','existsSync','1449984YvGORv','getTime','setup','logLevel','expanded','bVJai','getStepsAndLogs','PGlmD','tTgmm','fVVnI','splice','backtrace','location','LogCreated','16DPLQjX','ktwdy','eCrSp','category','startTime','sllCj','sendSessionDetails','format','readFileSync','CFoIH','trace_','configureGit','fUFYw','qXsQX','grdjS','startedAt','finishedAt','\x20at\x20','_tests','getTestRunIdentifier','AFTER_EACH','WekRx','afterAll\x20hook','_bs_hookIdentifier','hook','EMhEA','steps','status'];a41_0x5188=function(){return _0x179576;};return a41_0x5188();}function a41_0x5186(_0xb1efdf,_0x485380){const _0x5188cc=a41_0x5188();return a41_0x5186=function(_0x5186d5,_0x57b88b){_0x5186d5=_0x5186d5-0x1ea;let _0x2ea6e4=_0x5188cc[_0x5186d5];return _0x2ea6e4;},a41_0x5186(_0xb1efdf,_0x485380);}module[a41_0x1bd18f(0x29d)]=o11yClassErrorHandler(MyReporter,[a41_0x1bd18f(0x243),a41_0x1bd18f(0x2c3),'onTestBegin',a41_0x1bd18f(0x275),a41_0x1bd18f(0x28e),a41_0x1bd18f(0x1fd),a41_0x1bd18f(0x25e)],'MyReporter');
|
|
1
|
+
const a41_0x319577=a41_0x1784;function a41_0x1784(_0x4a7d09,_0x38d075){const _0x1a3b6a=a41_0x1a3b();return a41_0x1784=function(_0x1784d2,_0x3fd5d3){_0x1784d2=_0x1784d2-0x1a6;let _0x16f373=_0x1a3b6a[_0x1784d2];return _0x16f373;},a41_0x1784(_0x4a7d09,_0x38d075);}(function(_0x2357bc,_0x1ea178){const _0x1f0a8b=a41_0x1784,_0x4c1856=_0x2357bc();while(!![]){try{const _0x32be52=-parseInt(_0x1f0a8b(0x1ef))/0x1*(parseInt(_0x1f0a8b(0x232))/0x2)+parseInt(_0x1f0a8b(0x213))/0x3+-parseInt(_0x1f0a8b(0x244))/0x4*(-parseInt(_0x1f0a8b(0x1b3))/0x5)+-parseInt(_0x1f0a8b(0x1ac))/0x6*(-parseInt(_0x1f0a8b(0x1e1))/0x7)+parseInt(_0x1f0a8b(0x228))/0x8+parseInt(_0x1f0a8b(0x258))/0x9+parseInt(_0x1f0a8b(0x287))/0xa*(-parseInt(_0x1f0a8b(0x26a))/0xb);if(_0x32be52===_0x1ea178)break;else _0x4c1856['push'](_0x4c1856['shift']());}catch(_0x47451d){_0x4c1856['push'](_0x4c1856['shift']());}}}(a41_0x1a3b,0x363dc));const RequestQueueHandler=require(a41_0x319577(0x241)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x319577(0x1b5)),{v4:uuidv4}=require('uuid'),path=require(a41_0x319577(0x24c)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x319577(0x24f)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x319577(0x253)),{o11yClassErrorHandler}=require(a41_0x319577(0x29e)),PerformanceTester=require(a41_0x319577(0x221)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a41_0x319577(0x1d1)),TestHubHandler=require(a41_0x319577(0x1d6)),helper=require(a41_0x319577(0x24f));function a41_0x1a3b(){const _0x4f1e12=['TifGr','env','\x20-\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','parent','zlGGh','NkuxS','startsWith','PLAYWRIGHT_TRACE_LOGS','176prhyRJ','czayS','pending','shutdown','\x20is\x20triggered','mkNXu','bHYwM','attachments','oBWaR','ZKvXs','format','object','name','.txt','getStepsAndLogs','kzNCr','YoqgR','base64','expanded','getTestUUID','HookRunFinished','_tags','startMonitoring','pYVdq','forEach','printsToStdio','AAxwr','getHookType','inspect','4|5|3|2|1|6|0','screenshot','getCustomRerunParam','eQNWv','MEoyA','EboAO','GMmHU','1275039tACfek','onTestEnd','rXLiz','hook','RSmLr','getTestRunIdentifier','xziaM','adGIA','yZCby','event_type','basename','QXRTp','length','MaSlv','../../../helpers/performance/performance-tester','bnHjV','aPGIr','title','sendSessionDetails','pbftX','javascript','471264qybhBy','reportLogs','uuid','NYxLU','Sending\x20session\x20details\x20for\x20','mtime','qgXYp','\x20for\x20','OyasF','QxGJA','1866iazuEW','sendHookRunEvent','backtrace','filter','Test\x20Started\x20with\x20unique\x20id\x20','onBegin','hqcCE','setStepIdentifier','WMlec','IZmXX','_testHooksMap','failure','aNRUA','uITAy','eFoZB','../../../helpers/test-observability/requestQueueHandler','JmrSQ','coqzc','502828KIOIxK','yWTTU','tujXg','splice','errors','XdJKC','fpOBe','message','path','trace_','_gitConfigured','../../../helpers/helper','location','KIfqd','jGalt','util','retry_of','cmNbm','beforeEach\x20hook','GLIYp','1968219FHKTsY','.browserstack','HQpkz','BROWSERSTACK_O11Y_PERF_MEASUREMENT','beforeAll\x20hook','VlKrO','ABdUp','atXFk','depth','Hook\x20Started\x20with\x20unique\x20id\x20','afterAll\x20hook','ASCpw','cwd','_tests','category','bxVRe','indexOf','result','2662CSjcTO','MvVPm','HbqEo','sendTestRunEvent','afterEach\x20hook','_gitConfigPath','logLevel','\x20is\x20triggered\x20for\x20test\x20','split','meta','ZRCoY','pxayR','file','AFTER_EACH','wXnNj','baWNU','LogCreated','passed','toString','JmMJW','qIHix','utf8','csQrs','XbquT','toISOString','cdwIz','BRRVr','OlxVl','unknown','30890YBcqjz','err','mkdirSync','VGVnw','bmPKT','TEST_ATTACHMENT','reverse','TEST_STEP','fehlo','retry','statSync','getTime','yMMLm','TestRunStarted','MyReporter','failed','BUjEz','PLAYWRIGHT','finishedAt','steps','test','status','KiHTX','../../../helpers/test-observability/error-handler','uploadEventData','hook_run','configureGit','yJUqC','tWdwF','startedAt','HookRunStarted','readFileSync','BROWSERSTACK_LOG_LEVEL','join','addTestUIDAndReportLog','iSLPy','test_run_uuid','existsSync','XxVcv','getHierarchy','HKpMw','skipped','map','_bs_hookIdentifier','6258idXNzN','push','ZygUj','BEFORE_ALL','BROWSERSTACK_TEST_RUN_ID','needToReportStep','endSession','5lqnJGK','YLzYG','./pwUtils','hblmx','mSHbs','udDEo','GOZBh','duration','cYyYc','AFTER_ALL','Expected\x20to\x20fail,\x20but\x20passed.','StgLV','Trace\x20file\x20found\x20for\x20test:\x20','tAVrD','kDoab','ylBeN','getTestIdentifier','error','startTime','XwxHA','dHyFo','getInstance','onTestBegin','exports','jKhQY','relative','czdxv','smkYq','TEST_SCREENSHOT','logs','../../../helpers/testhub/utils','YNhRN','timedOut','ImwJE','CFYYE','../../../helpers/testhub/testhubHandler','\x20at\x20','Error\x20in\x20calculating\x20performance:\x20','failure_reason','getScope','failure_type','wTEKf','test_run','ppaua','TestRunFinished','ihlWO','2051CvUCYk','getStepIdentifier','UZcgw','PIJnA','onStepEnd'];a41_0x1a3b=function(){return _0x4f1e12;};return a41_0x1a3b();}class MyReporter{constructor(_0x2b9e52){const _0x5d6cb3=a41_0x319577,_0x88ad3d={'CFYYE':_0x5d6cb3(0x20c),'OlxVl':function(_0x24360c,_0xb8b8dc,_0x28ebcb,_0x17b9a3){return _0x24360c(_0xb8b8dc,_0x28ebcb,_0x17b9a3);},'WpbLo':'performance-report-reporter.json'},_0x2b8c40=_0x88ad3d[_0x5d6cb3(0x1d5)][_0x5d6cb3(0x272)]('|');let _0x4287af=0x0;while(!![]){switch(_0x2b8c40[_0x4287af++]){case'0':this[_0x5d6cb3(0x26f)]=null;continue;case'1':this['options']=_0x2b9e52;continue;case'2':this[_0x5d6cb3(0x23c)]={};continue;case'3':this[_0x5d6cb3(0x265)]={};continue;case'4':const _0x9b71e7={};_0x9b71e7[_0x5d6cb3(0x270)]=process[_0x5d6cb3(0x1e7)][_0x5d6cb3(0x2a7)],_0x88ad3d[_0x5d6cb3(0x285)](setLogLevel,_0x9b71e7,new Map(),new Map());continue;case'5':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5d6cb3(0x205)](_0x88ad3d['WpbLo']),process['env']['START_TIME']=new Date()['toISOString']());continue;case'6':this[_0x5d6cb3(0x24e)]=![];continue;}break;}}async['onBegin'](){const _0x4fbdca=a41_0x319577;TestDetails['setup'](),await this[_0x4fbdca(0x2a1)]();}async[a41_0x319577(0x1c9)](_0x3784d9,_0x5bd4ae){const _0x33b6d4=a41_0x319577,_0x2ff364={'ihlWO':function(_0x128908,_0x241bf5){return _0x128908(_0x241bf5);},'SuMLE':_0x33b6d4(0x294)},_0x3a7856=this[_0x33b6d4(0x1c3)](_0x3784d9),_0x1b528d=TestDetails[_0x33b6d4(0x202)](this[_0x33b6d4(0x218)](_0x3784d9,_0x5bd4ae[_0x33b6d4(0x290)]));process[_0x33b6d4(0x1e7)][_0x33b6d4(0x1b0)]=_0x1b528d;const _0x1ff523={};_0x1ff523[_0x33b6d4(0x22a)]=_0x1b528d,_0x1ff523[_0x33b6d4(0x2a4)]=_0x5bd4ae[_0x33b6d4(0x1c5)],this['_tests'][_0x3a7856]=_0x1ff523,_0x2ff364[_0x33b6d4(0x1e0)](trace,_0x33b6d4(0x236)+_0x3a7856),await this['sendTestRunEvent'](_0x3784d9,_0x2ff364['SuMLE'],_0x5bd4ae);}async['onStepBegin'](_0x28d46f,_0x349fef,_0x2da143){const _0x5e19=a41_0x319577,_0x3737a8={'iSLPy':function(_0x47fa88,_0x1126d4){return _0x47fa88(_0x1126d4);},'YoqgR':_0x5e19(0x2a5)};if(!this[_0x5e19(0x1b1)](_0x2da143,_0x28d46f))return;const _0x934d3c=this[_0x5e19(0x239)](_0x28d46f,_0x2da143);this['_tests'][_0x934d3c]={'uuid':TestDetails[_0x5e19(0x202)](_0x934d3c),'startedAt':_0x2da143[_0x5e19(0x1c5)]['toISOString']()};const _0x22f88a=this['getTestRunIdentifier'](_0x28d46f,_0x349fef[_0x5e19(0x290)]);!this[_0x5e19(0x23c)][_0x22f88a]&&(this[_0x5e19(0x23c)][_0x22f88a]=[]),this['_testHooksMap'][_0x22f88a][_0x5e19(0x1ad)](this[_0x5e19(0x265)][_0x934d3c][_0x5e19(0x22a)]),_0x3737a8[_0x5e19(0x2aa)](trace,_0x5e19(0x261)+_0x934d3c+_0x5e19(0x271)+_0x22f88a),await this[_0x5e19(0x233)](_0x28d46f,_0x2da143,_0x3737a8[_0x5e19(0x1ff)],_0x349fef);}async[a41_0x319577(0x1e5)](_0x173ec3,_0x4ee304,_0x2c2d2e){const _0x2d7a9d=a41_0x319577,_0x4bcc6e={'MaSlv':function(_0x36d63f,_0x5adc4c){return _0x36d63f+_0x5adc4c;},'fehlo':function(_0x2f067e,_0x335b2f){return _0x2f067e(_0x335b2f);},'YLzYG':_0x2d7a9d(0x203)};if(!this['needToReportStep'](_0x2c2d2e,_0x173ec3))return;const _0x1c851d=this['getStepIdentifier'](_0x173ec3,_0x2c2d2e);this[_0x2d7a9d(0x265)][_0x1c851d]={...this[_0x2d7a9d(0x265)][_0x1c851d]||{},'finishedAt':new Date(_0x4bcc6e[_0x2d7a9d(0x220)](_0x2c2d2e[_0x2d7a9d(0x1c5)][_0x2d7a9d(0x292)](),_0x2c2d2e[_0x2d7a9d(0x1ba)]))},_0x4bcc6e[_0x2d7a9d(0x28f)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x1c851d+_0x2d7a9d(0x1f3)),await this[_0x2d7a9d(0x233)](_0x173ec3,_0x2c2d2e,_0x4bcc6e[_0x2d7a9d(0x1b4)],_0x4ee304);}async[a41_0x319577(0x214)](_0x50362f,_0x38a9ee){const _0x1c879d=a41_0x319577,_0x374ef8={'pOzRz':function(_0x12b51e,_0x1f948f){return _0x12b51e===_0x1f948f;},'WMlec':_0x1c879d(0x20d),'pYVdq':_0x1c879d(0x1cf),'ABdUp':_0x1c879d(0x200),'aNRUA':function(_0x7d8b8e,_0x5e25a7){return _0x7d8b8e(_0x5e25a7);},'mkNXu':_0x1c879d(0x1df),'hblmx':function(_0x4d5fee,_0x4c50f2){return _0x4d5fee(_0x4c50f2);},'ZygUj':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','QxGJA':function(_0x2e1c99,_0xf9f7f6){return _0x2e1c99(_0xf9f7f6);},'kzNCr':function(_0x3957e3,_0x465a7c,_0x132b7f){return _0x3957e3(_0x465a7c,_0x132b7f);},'yMMLm':function(_0x26a282,_0x376980){return _0x26a282(_0x376980);},'tAVrD':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','tWdwF':function(_0x23537c,_0x4525f7){return _0x23537c>_0x4525f7;}},_0x2b1e81=this['getTestIdentifier'](_0x50362f),_0x26b3ea=TestDetails[_0x1c879d(0x202)](this[_0x1c879d(0x218)](_0x50362f,_0x38a9ee[_0x1c879d(0x290)]));this[_0x1c879d(0x265)][_0x2b1e81]={...this['_tests'][_0x2b1e81]||{},'finishedAt':new Date()[_0x1c879d(0x282)]()},_0x374ef8[_0x1c879d(0x23e)](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x2b1e81);try{await this[_0x1c879d(0x26d)](_0x50362f,_0x374ef8[_0x1c879d(0x1f4)],_0x38a9ee);}catch(_0x395c19){_0x374ef8[_0x1c879d(0x1b6)](debug,util[_0x1c879d(0x1f9)](_0x374ef8[_0x1c879d(0x1ae)],_0x395c19[_0x1c879d(0x27c)]()));}try{_0x374ef8[_0x1c879d(0x231)](debug,_0x1c879d(0x1e9)+_0x26b3ea),await _0x374ef8[_0x1c879d(0x1fe)](sendTraceZip,_0x38a9ee,_0x26b3ea);}catch(_0x3faf53){_0x374ef8[_0x1c879d(0x293)](debug,util['format'](_0x374ef8[_0x1c879d(0x1c0)],_0x3faf53[_0x1c879d(0x27c)]()));}const _0x3b6936=[];_0x38a9ee[_0x1c879d(0x1f6)]&&_0x38a9ee[_0x1c879d(0x1f6)][_0x1c879d(0x1aa)](_0x111a0b=>{const _0x3e11fd=_0x1c879d;if(_0x374ef8['pOzRz'](_0x111a0b[_0x3e11fd(0x1fb)],_0x374ef8[_0x3e11fd(0x23a)])){if(!_0x111a0b['path']||!fs[_0x3e11fd(0x2ac)](_0x111a0b['path']))return;_0x3b6936[_0x3e11fd(0x1ad)]({'test_run_uuid':_0x26b3ea,'timestamp':fs['statSync'](_0x111a0b[_0x3e11fd(0x24c)])[_0x3e11fd(0x22d)],'kind':_0x374ef8[_0x3e11fd(0x206)],'message':fs[_0x3e11fd(0x2a6)](_0x111a0b[_0x3e11fd(0x24c)],{'encoding':_0x374ef8[_0x3e11fd(0x25e)]})});}}),_0x374ef8[_0x1c879d(0x2a3)](_0x3b6936[_0x1c879d(0x21f)],0x0)&&await MyReporter[_0x1c879d(0x229)](_0x3b6936);}async[a41_0x319577(0x1b2)](){const _0x4bb6e6=a41_0x319577;await RequestQueueHandler[_0x4bb6e6(0x1c8)]()[_0x4bb6e6(0x1f2)]();}async['onEnd'](_0x597916){const _0x3bf169=a41_0x319577,_0x3f1e65={'VlKrO':function(_0x4f3c1d){return _0x4f3c1d();},'XbquT':function(_0x56e228,_0x360217){return _0x56e228(_0x360217);}};await this[_0x3bf169(0x1b2)]();try{process['env'][_0x3bf169(0x25b)]&&await _0x3f1e65[_0x3bf169(0x25d)](calculatePerformance);}catch(_0x43ead4){_0x3f1e65[_0x3bf169(0x281)](debug,_0x3bf169(0x1d8)+_0x43ead4[_0x3bf169(0x27c)]());}}static async[a41_0x319577(0x2a9)](_0x4c0892,_0xd78c6c){const _0x2f9944=a41_0x319577;_0xd78c6c[_0x2f9944(0x2ab)]=TestDetails[_0x2f9944(0x202)](_0x4c0892),await this['reportLogs']([_0xd78c6c]);}static async[a41_0x319577(0x229)](_0x4bfb80){const _0x415e36=a41_0x319577,_0x381b0c={};_0x381b0c['bmPKT']=_0x415e36(0x27a);const _0x30461f=_0x381b0c,_0x24e04b={};_0x24e04b[_0x415e36(0x21c)]=_0x30461f[_0x415e36(0x28b)],_0x24e04b[_0x415e36(0x1d0)]=_0x4bfb80,await SessionHandler['uploadEventData'](_0x24e04b);}async[a41_0x319577(0x233)](_0x2a9954,_0x50d7d2,_0x1d4cef,_0x344991){const _0xce8c9b=a41_0x319577,_0x1b24ed={'ylBeN':_0xce8c9b(0x216),'bnHjV':_0xce8c9b(0x227),'yZCby':_0xce8c9b(0x1f1),'UZcgw':function(_0x55a5e6,_0x3880c9){return _0x55a5e6>=_0x3880c9;},'Bbumq':function(_0x1e846e,_0x3ce787){return _0x1e846e===_0x3ce787;},'XdJKC':_0xce8c9b(0x203),'RExHK':function(_0x1cabfc,_0xccc966){return _0x1cabfc>_0xccc966;},'PIJnA':_0xce8c9b(0x296),'EboAO':function(_0x44e382,_0x20edf6){return _0x44e382(_0x20edf6);},'uITAy':function(_0x2e7968,_0x2efe94,_0x1119a2){return _0x2e7968(_0x2efe94,_0x1119a2);},'BUjEz':_0xce8c9b(0x288),'pLZUa':function(_0x1c34e4,_0x4eaf4c){return _0x1c34e4===_0x4eaf4c;},'ZRCoY':_0xce8c9b(0x27b)},_0x1223cb=this[_0xce8c9b(0x1e2)](_0x2a9954,_0x50d7d2),_0x5e4339=this['_tests'][_0x1223cb],_0x11711f={'uuid':_0x5e4339[_0xce8c9b(0x22a)],'type':_0x1b24ed[_0xce8c9b(0x1c2)],'hook_type':this[_0xce8c9b(0x20a)](_0x50d7d2[_0xce8c9b(0x224)]),'name':_0x50d7d2[_0xce8c9b(0x224)],'scope':this[_0xce8c9b(0x1da)](_0x50d7d2),'scopes':this[_0xce8c9b(0x1a7)](_0x2a9954),'body':{'lang':_0x1b24ed[_0xce8c9b(0x222)],'code':null},'identifier':_0x1223cb,'file_name':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'location':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'result':_0x1b24ed[_0xce8c9b(0x21b)],'duration_in_ms':_0x1b24ed[_0xce8c9b(0x1e3)](_0x50d7d2['duration'],0x0)?_0x50d7d2['duration']:undefined,'vc_filepath':this[_0xce8c9b(0x26f)]&&_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]?path['relative'](this[_0xce8c9b(0x26f)],_0x2a9954['location'][_0xce8c9b(0x276)]):undefined,'started_at':_0x5e4339[_0xce8c9b(0x2a4)],'finished_at':_0x5e4339[_0xce8c9b(0x299)],'framework':FRAMEWORKS[_0xce8c9b(0x298)]};if(_0x1b24ed['Bbumq'](_0x1d4cef,_0x1b24ed[_0xce8c9b(0x249)])){const {steps:_0x208e65,logs:_0x3e737f}=this['getStepsAndLogs'](_0x50d7d2[_0xce8c9b(0x29a)],_0x5e4339[_0xce8c9b(0x22a)],_0x1b24ed[_0xce8c9b(0x1c2)]);_0x3e737f&&_0x1b24ed['RExHK'](_0x3e737f[_0xce8c9b(0x21f)],0x0)&&await MyReporter[_0xce8c9b(0x229)](_0x3e737f);const _0x467192={};_0x467192[_0xce8c9b(0x29a)]=_0x208e65,_0x11711f[_0xce8c9b(0x273)]=_0x467192;if(_0x50d7d2[_0xce8c9b(0x1c4)]){_0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x1e4)],_0x11711f[_0xce8c9b(0x1d9)]=_0x1b24ed[_0xce8c9b(0x211)](removeAnsiColors,_0x50d7d2[_0xce8c9b(0x1c4)]['message']),_0x11711f[_0xce8c9b(0x1db)]=_0x1b24ed[_0xce8c9b(0x211)](getFailureType,_0x50d7d2[_0xce8c9b(0x1c4)][_0xce8c9b(0x24b)]);const _0x4c93ff=_0x1b24ed[_0xce8c9b(0x23f)](failureData,_0x50d7d2['error'],_0x1b24ed[_0xce8c9b(0x297)]);if(_0x4c93ff&&_0x1b24ed['pLZUa'](_0x4c93ff[_0xce8c9b(0x21f)],0x0)){const _0x3fa751={};_0x3fa751[_0xce8c9b(0x234)]=[_0x11711f[_0xce8c9b(0x1d9)]],_0x3fa751['expanded']=[],_0x4c93ff[_0xce8c9b(0x1ad)](_0x3fa751);}_0x11711f[_0xce8c9b(0x23d)]=_0x4c93ff;}else _0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x274)];}const _0x3e1582={};_0x3e1582[_0xce8c9b(0x21c)]=_0x1d4cef,_0x3e1582[_0xce8c9b(0x2a0)]=_0x11711f;const _0x1b7376=_0x3e1582;await SessionHandler[_0xce8c9b(0x29f)](_0x1b7376);}['getStepsAndLogs'](_0x417ac5,_0x42f1dd,_0x4a0640){const _0x4b70aa=a41_0x319577,_0x501aa7={'cdwIz':function(_0x416c34,_0x3b000a){return _0x416c34===_0x3b000a;},'osWAE':_0x4b70aa(0x216),'ZKvXs':function(_0x5b96c9,_0x153d02){return _0x5b96c9===_0x153d02;},'KiHTX':'After\x20Hooks','pbftX':'Before\x20Hooks','aPGIr':function(_0x403113,_0x457d07){return _0x403113===_0x457d07;},'wXnNj':'test','YNhRN':_0x4b70aa(0x2ab),'smkYq':'hook_run_uuid','eUvPJ':_0x4b70aa(0x28e),'pxayR':_0x4b70aa(0x296),'VGVnw':'passed','HnwVK':function(_0x3bd8fa,_0x37c66b){return _0x3bd8fa(_0x37c66b);},'qIHix':function(_0x1b965f,_0x43b437){return _0x1b965f(_0x43b437);},'cmNbm':function(_0xafdd92){return _0xafdd92();},'QXRTp':function(_0x34eeb6,_0x553a1e){return _0x34eeb6(_0x553a1e);},'HbqEo':function(_0x1b41ae,_0x16cc6f,_0x40a6e3){return _0x1b41ae(_0x16cc6f,_0x40a6e3);},'yJUqC':function(_0x303b2f,_0x16b582,_0x2972ed){return _0x303b2f(_0x16b582,_0x2972ed);}},_0x3169e3=[],_0x1f0bc5=[],_0x2a3c01=_0x417ac5[_0x4b70aa(0x235)](_0x282548=>{const _0x30894e=_0x4b70aa;if(_0x501aa7['cdwIz'](_0x282548['category'],_0x501aa7['osWAE'])&&(_0x501aa7[_0x30894e(0x1f8)](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x29d)])||_0x501aa7['ZKvXs'](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x226)])))return![];return!![];}),_0x59465b=(_0x18fd27,_0x48742b=![])=>{const _0x5cc75b=_0x4b70aa;if(_0x501aa7[_0x5cc75b(0x283)](_0x18fd27[_0x5cc75b(0x29a)][_0x5cc75b(0x21f)],0x0)){const _0x328d99=_0x501aa7[_0x5cc75b(0x223)](_0x4a0640,_0x501aa7[_0x5cc75b(0x278)])?_0x501aa7[_0x5cc75b(0x1d2)]:_0x501aa7[_0x5cc75b(0x1ce)];_0x1f0bc5[_0x5cc75b(0x1ad)]({'kind':_0x501aa7['eUvPJ'],[_0x328d99]:_0x42f1dd,'message':_0x18fd27['title'],'timestamp':_0x18fd27[_0x5cc75b(0x1c5)][_0x5cc75b(0x282)](),'level':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'duration':_0x18fd27[_0x5cc75b(0x1ba)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27['error'][_0x5cc75b(0x24b)]),'failure_type':_0x501aa7[_0x5cc75b(0x27e)](getFailureType,_0x18fd27['error']&&_0x18fd27['error'][_0x5cc75b(0x24b)])});}else{!_0x48742b&&_0x3169e3[_0x5cc75b(0x1ad)]({'id':_0x501aa7[_0x5cc75b(0x255)](uuidv4),'text':_0x18fd27[_0x5cc75b(0x224)],'keyword':undefined,'started_at':_0x18fd27[_0x5cc75b(0x1c5)]['toISOString'](),'duration':_0x18fd27[_0x5cc75b(0x1ba)],'result':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27[_0x5cc75b(0x1c4)]['message']),'failure_type':_0x501aa7[_0x5cc75b(0x21e)](getFailureType,_0x18fd27['error']&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)])});for(const _0x2d2bf5 of _0x18fd27['steps']){_0x501aa7[_0x5cc75b(0x26c)](_0x59465b,_0x2d2bf5,!![]);}}};for(const _0x16ff9e of _0x2a3c01){_0x501aa7[_0x4b70aa(0x2a2)](_0x59465b,_0x16ff9e,![]);}const _0x1cf93d={};return _0x1cf93d[_0x4b70aa(0x29a)]=_0x3169e3,_0x1cf93d['logs']=_0x1f0bc5,_0x1cf93d;}async['sendTestRunEvent'](_0x5d4580,_0x2e2057,_0x3da7da){const _0x39e6df=a41_0x319577,_0x338a92={'dHyFo':function(_0x3b9ffa,_0x93f5ef){return _0x3b9ffa(_0x93f5ef);},'kDoab':_0x39e6df(0x28c),'XwxHA':_0x39e6df(0x1ee),'atXFk':_0x39e6df(0x29b),'HKpMw':'javascript','GLIYp':'pending','mSHbs':function(_0x43ea74,_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01){return _0x43ea74(_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01);},'coqzc':function(_0x34a91d,_0x21c514){return _0x34a91d>_0x21c514;},'czayS':function(_0x8e4cc9,_0x31cafa){return _0x8e4cc9-_0x31cafa;},'zlGGh':function(_0x2b222e,_0x5a638b){return _0x2b222e===_0x5a638b;},'BRRVr':'TestRunFinished','adGIA':function(_0x2ee957,_0x527aaf){return _0x2ee957===_0x527aaf;},'jGalt':function(_0x583cf9,_0x4d442b){return _0x583cf9===_0x4d442b;},'HQpkz':_0x39e6df(0x1a9),'baWNU':_0x39e6df(0x27b),'ppaua':_0x39e6df(0x296),'GMmHU':function(_0x2ded39,_0x4c963f){return _0x2ded39===_0x4c963f;},'tujXg':_0x39e6df(0x1d3),'RSmLr':_0x39e6df(0x1bd),'TifGr':function(_0x3831f9,_0x5638eb,_0x64ac5c){return _0x3831f9(_0x5638eb,_0x64ac5c);},'MvVPm':function(_0x10a0c4,_0x13508b){return _0x10a0c4===_0x13508b;},'XxVcv':function(_0x5ccd10,_0x2b9bc5){return _0x5ccd10>_0x2b9bc5;},'OEmnB':'path','bxVRe':function(_0x2c3b27,_0x1d19ba){return _0x2c3b27(_0x1d19ba);},'mkvdL':_0x39e6df(0x259),'AAxwr':_0x39e6df(0x27f),'KIfqd':function(_0x1d401f,_0x2f926d){return _0x1d401f(_0x2f926d);},'FSgtw':function(_0x27db9d,_0x28a892){return _0x27db9d!==_0x28a892;}},_0x454c8d=this[_0x39e6df(0x1c3)](_0x5d4580),_0x4d1f34=this['getScope'](_0x5d4580),_0x372f74=this['_tests'][_0x454c8d],_0x4755a4=path[_0x39e6df(0x1cc)](process[_0x39e6df(0x264)](),_0x5d4580[_0x39e6df(0x250)]['file']);await this[_0x39e6df(0x2a1)]();const _0x92a60a={'uuid':_0x372f74['uuid'],'type':_0x338a92[_0x39e6df(0x25f)],'name':_0x5d4580['title'],'body':{'lang':_0x338a92[_0x39e6df(0x1a8)],'code':_0x5d4580['fn'][_0x39e6df(0x27c)]()},'scope':_0x4d1f34,'scopes':this['getHierarchy'](_0x5d4580),'identifier':_0x454c8d,'file_name':_0x4755a4,'location':_0x4755a4,'result':_0x338a92[_0x39e6df(0x257)],'duration_in_ms':_0x3da7da&&_0x3da7da[_0x39e6df(0x1ba)]?_0x3da7da[_0x39e6df(0x1ba)]:null,'vc_filepath':this[_0x39e6df(0x26f)]&&_0x5d4580['location']['file']?path[_0x39e6df(0x1cc)](this['_gitConfigPath'],_0x5d4580[_0x39e6df(0x250)]['file']):undefined,'started_at':_0x372f74[_0x39e6df(0x2a4)],'finished_at':_0x372f74['finishedAt'],'framework':FRAMEWORKS[_0x39e6df(0x298)],'customRerunParam':{'rerun_name':this[_0x39e6df(0x20e)](_0x5d4580)},'tags':_0x338a92[_0x39e6df(0x1c7)](getTestTags,_0x5d4580)};_0x338a92[_0x39e6df(0x1b7)](appendTesthubParams,_0x92a60a,_0x2e2057,_0x5d4580,FRAMEWORKS[_0x39e6df(0x298)]);_0x3da7da&&_0x338a92[_0x39e6df(0x243)](_0x3da7da[_0x39e6df(0x290)],0x0)&&(_0x92a60a[_0x39e6df(0x254)]=TestDetails[_0x39e6df(0x202)](this[_0x39e6df(0x218)](_0x5d4580,_0x338a92[_0x39e6df(0x1f0)](_0x3da7da[_0x39e6df(0x290)],0x1))));if(_0x338a92['zlGGh'](_0x2e2057,_0x338a92[_0x39e6df(0x284)])){_0x92a60a[_0x39e6df(0x269)]=_0x3da7da[_0x39e6df(0x29c)];if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x5d4580['expectedStatus']))_0x92a60a['result']=_0x338a92[_0x39e6df(0x252)](_0x3da7da['status'],_0x338a92[_0x39e6df(0x25a)])?_0x338a92[_0x39e6df(0x25a)]:_0x338a92['baWNU'];else{(_0x338a92[_0x39e6df(0x1eb)](_0x92a60a['result'],_0x338a92[_0x39e6df(0x279)])||_0x338a92['zlGGh'](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x1de)])||_0x338a92[_0x39e6df(0x212)](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x246)]))&&(_0x92a60a['result']=_0x338a92[_0x39e6df(0x1de)]);if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x338a92[_0x39e6df(0x279)])&&_0x338a92[_0x39e6df(0x212)](_0x5d4580['expectedStatus'],_0x338a92[_0x39e6df(0x1de)])){const _0xe2def4={};_0xe2def4['message']=_0x338a92[_0x39e6df(0x217)],_0xe2def4['stack']=_0x338a92[_0x39e6df(0x217)],_0x3da7da[_0x39e6df(0x1c4)]=_0xe2def4,_0x3da7da[_0x39e6df(0x248)]=[_0x3da7da[_0x39e6df(0x1c4)]];}}const _0x182352=this['getTestRunIdentifier'](_0x5d4580,_0x3da7da[_0x39e6df(0x290)]);_0x92a60a['hooks']=this[_0x39e6df(0x23c)][_0x182352];const {steps:_0x18ae18,logs:_0x31d12a}=this[_0x39e6df(0x1fd)](_0x3da7da[_0x39e6df(0x29a)],_0x372f74[_0x39e6df(0x22a)],_0x338a92[_0x39e6df(0x25f)]);await MyReporter[_0x39e6df(0x229)](_0x31d12a);const _0x2cacf2={};_0x2cacf2[_0x39e6df(0x29a)]=_0x18ae18,_0x92a60a[_0x39e6df(0x273)]=_0x2cacf2;if(_0x3da7da[_0x39e6df(0x1c4)]){_0x92a60a[_0x39e6df(0x1d9)]=_0x338a92[_0x39e6df(0x1c7)](removeAnsiColors,_0x3da7da['error']['message']),_0x92a60a[_0x39e6df(0x1db)]=_0x338a92['dHyFo'](getFailureType,_0x3da7da[_0x39e6df(0x1c4)][_0x39e6df(0x24b)]);const _0x3fa913={};_0x3fa913[_0x39e6df(0x2ab)]=_0x372f74['uuid'];const {failureData:_0x16e7d5,logs:_0x15786a}=_0x338a92[_0x39e6df(0x1e6)](getFailureData,_0x3da7da[_0x39e6df(0x248)],_0x3fa913);if(_0x16e7d5&&_0x338a92[_0x39e6df(0x26b)](_0x16e7d5[_0x39e6df(0x21f)],0x0)){const _0x3fa830={};_0x3fa830[_0x39e6df(0x234)]=[_0x92a60a['failure_reason']],_0x3fa830[_0x39e6df(0x201)]=[],_0x16e7d5[_0x39e6df(0x1ad)](_0x3fa830);}_0x92a60a[_0x39e6df(0x23d)]=_0x16e7d5,_0x15786a&&_0x338a92[_0x39e6df(0x1a6)](_0x15786a['length'],0x0)&&await MyReporter[_0x39e6df(0x229)](_0x15786a);}}let _0xf013f6=_0x338a92[_0x39e6df(0x1e6)](findNestedKey,_0x3da7da,_0x338a92['OEmnB']);if(_0xf013f6&&_0x338a92[_0x39e6df(0x267)](validateFilePath,_0xf013f6))_0x338a92[_0x39e6df(0x267)](debug,_0x39e6df(0x1bf)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6);else{const _0x4d6021=path[_0x39e6df(0x2a8)](helper['homedir'](),_0x338a92['mkvdL']);!fs[_0x39e6df(0x2ac)](_0x4d6021)&&fs[_0x39e6df(0x289)](_0x4d6021),fs[_0x39e6df(0x2ac)](path['join'](_0x4d6021,_0x39e6df(0x24d)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1fc)))&&(_0xf013f6=fs[_0x39e6df(0x2a6)](path[_0x39e6df(0x2a8)](_0x4d6021,_0x39e6df(0x24d)+_0x372f74['uuid']+_0x39e6df(0x1fc)),_0x338a92[_0x39e6df(0x209)]),_0x338a92[_0x39e6df(0x251)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6));}const _0x27ca92={};_0x27ca92[_0x39e6df(0x21c)]=_0x2e2057,_0x27ca92[_0x39e6df(0x1dd)]=_0x92a60a;const _0x2cf72a=_0x27ca92;_0xf013f6&&_0x338a92['FSgtw'](_0xf013f6,'')&&_0x338a92[_0x39e6df(0x252)](_0x2e2057,_0x338a92['BRRVr'])&&(!_0x2cf72a[_0x39e6df(0x1d0)]&&(_0x2cf72a[_0x39e6df(0x1d0)]=[]),_0xf013f6['split']('\x0a')[_0x39e6df(0x207)](_0x267be9=>{const _0x38517d=_0x39e6df;_0x267be9&&_0x338a92[_0x38517d(0x1c7)](validateFilePath,_0x267be9)&&_0x2cf72a[_0x38517d(0x1d0)][_0x38517d(0x1ad)]({'kind':_0x338a92[_0x38517d(0x1c1)],'timestamp':new Date()[_0x38517d(0x282)](),'test_run_uuid':_0x372f74['uuid'],'file_name':path[_0x38517d(0x21d)](_0x267be9),'file_size':fs[_0x38517d(0x291)](_0x267be9)['size'],'attachment_type':_0x338a92[_0x38517d(0x1c6)]});})),await SessionHandler[_0x39e6df(0x29f)](_0x2cf72a);}[a41_0x319577(0x20e)](_0x53cfbb){const _0x570901=a41_0x319577,_0x185b8c={};_0x185b8c[_0x570901(0x210)]=function(_0x3decc1,_0x3999f2){return _0x3decc1===_0x3999f2;},_0x185b8c[_0x570901(0x22e)]=function(_0x1edc2a,_0x1304da){return _0x1edc2a>_0x1304da;},_0x185b8c['wTEKf']=function(_0x32f5a4,_0x511286){return _0x32f5a4+_0x511286;},_0x185b8c[_0x570901(0x1be)]=function(_0x570fbc,_0x5e8bc4){return _0x570fbc===_0x5e8bc4;};const _0x2ea3e5=_0x185b8c,_0x35f7ca=_0x53cfbb['titlePath']()[_0x570901(0x1aa)](_0x5e9728=>{const _0x4b2de7=_0x570901;if(_0x53cfbb[_0x4b2de7(0x1ea)]&&_0x2ea3e5['MEoyA'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x1ea)][_0x4b2de7(0x224)])&&_0x53cfbb['parent'][_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x1ea)]['_tags'][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5['wTEKf'](_0x2ea3e5[_0x4b2de7(0x1dc)](_0x5e9728,'\x20'),_0x53cfbb['parent'][_0x4b2de7(0x204)]['join']('\x20'));if(_0x2ea3e5['StgLV'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x224)])&&_0x53cfbb[_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x204)][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5[_0x4b2de7(0x1dc)](_0x2ea3e5['wTEKf'](_0x5e9728,'\x20'),_0x53cfbb['_tags']['join']('\x20'));return _0x5e9728;})[_0x570901(0x2a8)]('\x20');return _0x35f7ca;}static async[a41_0x319577(0x225)](_0xf2b41c,_0x2799b9){const _0x505e68=a41_0x319577,_0x5eb075={'GOZBh':function(_0x2afd2f,_0x180e00){return _0x2afd2f(_0x180e00);},'ImwJE':'CBTSessionCreated'},_0x5a7cfa={'uuid':TestDetails[_0x505e68(0x202)](_0xf2b41c),'integrations':_0x2799b9},_0x410aa5={};_0x410aa5[_0x505e68(0x260)]=null,_0x5eb075[_0x505e68(0x1b9)](debug,_0x505e68(0x22c)+_0xf2b41c+',\x20'+util[_0x505e68(0x20b)](_0x2799b9,_0x410aa5));const _0x3534fd={};_0x3534fd[_0x505e68(0x21c)]=_0x5eb075[_0x505e68(0x1d4)],_0x3534fd[_0x505e68(0x1dd)]=_0x5a7cfa,await SessionHandler['uploadEventData'](_0x3534fd);}async[a41_0x319577(0x2a1)](){const _0x19414a=a41_0x319577,_0x5e65ec={'OjxAG':function(_0xcc7218){return _0xcc7218();}};if(this['_gitConfigured'])return;const _0x47940c=await _0x5e65ec['OjxAG'](getGitMetaData);_0x47940c&&(this[_0x19414a(0x26f)]=_0x47940c['root']),this[_0x19414a(0x24e)]=!![];}[a41_0x319577(0x1a7)](_0x2b9b18){const _0x2ee509=a41_0x319577,_0x5419a3={};_0x5419a3[_0x2ee509(0x27d)]=function(_0xcb901,_0x4c1a74){return _0xcb901!==_0x4c1a74;};const _0x21b23d=_0x5419a3,_0x3d5b09=[];if(_0x2b9b18&&_0x2b9b18[_0x2ee509(0x1ea)]){let _0xf6121=_0x2b9b18[_0x2ee509(0x1ea)];while(_0xf6121&&_0x21b23d[_0x2ee509(0x27d)](_0xf6121['title'],'')){_0x3d5b09['push'](_0xf6121['title']),_0xf6121=_0xf6121[_0x2ee509(0x1ea)];}}return _0x3d5b09[_0x2ee509(0x28d)]()[_0x2ee509(0x247)](0x0,0x2),_0x3d5b09;}[a41_0x319577(0x1b1)](_0x16aadb){const _0x47d1f8=a41_0x319577,_0x58a25f={};_0x58a25f['wmdLE']=function(_0x31805a,_0x12fddd){return _0x31805a!==_0x12fddd;},_0x58a25f[_0x47d1f8(0x20f)]=_0x47d1f8(0x216),_0x58a25f[_0x47d1f8(0x245)]=function(_0x44e48c,_0x44f840){return _0x44e48c===_0x44f840;},_0x58a25f['czdxv']='beforeEach\x20hook',_0x58a25f['jKhQY']=_0x47d1f8(0x25c),_0x58a25f['udDEo']=_0x47d1f8(0x262),_0x58a25f[_0x47d1f8(0x215)]=_0x47d1f8(0x26e);const _0x2181e6=_0x58a25f;if(_0x2181e6['wmdLE'](_0x16aadb[_0x47d1f8(0x266)],_0x2181e6['eQNWv']))return![];if(_0x2181e6['yWTTU']([_0x2181e6[_0x47d1f8(0x1cd)],_0x2181e6[_0x47d1f8(0x1cb)],_0x2181e6[_0x47d1f8(0x1b8)],_0x2181e6['rXLiz']][_0x47d1f8(0x268)](_0x16aadb[_0x47d1f8(0x224)]),-0x1))return![];return!![];}[a41_0x319577(0x1e2)](_0x18f55a,_0x488a21){const _0x5b03d6=a41_0x319577,_0x68cde3=_0x488a21[_0x5b03d6(0x1ab)];if(_0x68cde3)return _0x68cde3;return _0x488a21[_0x5b03d6(0x224)]+_0x5b03d6(0x22f)+this[_0x5b03d6(0x1c3)](_0x18f55a);}['setStepIdentifier'](_0x1ef187,_0x5551f3){const _0x5bc0d8=a41_0x319577,_0x4bd0b7={'ErRxJ':function(_0xe1dfe7){return _0xe1dfe7();}};let _0x3f4e3e=_0x5551f3[_0x5bc0d8(0x224)]+_0x5bc0d8(0x22f)+this[_0x5bc0d8(0x1c3)](_0x1ef187);return this[_0x5bc0d8(0x265)][_0x3f4e3e]&&(_0x3f4e3e=_0x3f4e3e+_0x5bc0d8(0x1e8)+_0x4bd0b7['ErRxJ'](uuidv4)),_0x5551f3[_0x5bc0d8(0x1ab)]=_0x3f4e3e,_0x3f4e3e;}[a41_0x319577(0x1c3)]=_0x411c14=>{const _0x2a9b0d=a41_0x319577,_0x19ef3c={};_0x19ef3c[_0x2a9b0d(0x22b)]=function(_0x5eba94,_0x482975){return _0x5eba94+_0x482975;},_0x19ef3c[_0x2a9b0d(0x219)]=function(_0x3a75d5,_0x2e50f8){return _0x3a75d5+_0x2e50f8;};const _0x1ccac5=_0x19ef3c;return _0x1ccac5[_0x2a9b0d(0x22b)](_0x1ccac5[_0x2a9b0d(0x219)](_0x411c14['_projectId'],'-'),_0x411c14['id']);};['getTestRunIdentifier']=(_0x261b63,_0x36a510)=>{const _0xcb5e41=a41_0x319577,_0x5b1f4d={};_0x5b1f4d[_0xcb5e41(0x1f5)]=function(_0x1cb26d,_0x2de731){return _0x1cb26d+_0x2de731;};const _0x34e6b5=_0x5b1f4d;return _0x34e6b5[_0xcb5e41(0x1f5)](_0x34e6b5[_0xcb5e41(0x1f5)](this[_0xcb5e41(0x1c3)](_0x261b63),'-'),_0x36a510);};[a41_0x319577(0x20a)]=_0x1b6f52=>{const _0x5a83e1=a41_0x319577,_0x264fd3={};_0x264fd3['csQrs']=_0x5a83e1(0x256),_0x264fd3[_0x5a83e1(0x23b)]='BEFORE_EACH',_0x264fd3[_0x5a83e1(0x242)]=_0x5a83e1(0x25c),_0x264fd3[_0x5a83e1(0x1f7)]=_0x5a83e1(0x1af),_0x264fd3[_0x5a83e1(0x238)]='afterEach\x20hook',_0x264fd3[_0x5a83e1(0x240)]=_0x5a83e1(0x277),_0x264fd3[_0x5a83e1(0x230)]=_0x5a83e1(0x262),_0x264fd3['ASCpw']=_0x5a83e1(0x1bc),_0x264fd3[_0x5a83e1(0x1ec)]=_0x5a83e1(0x286);const _0x2a9c7d=_0x264fd3;if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x280)]))return _0x2a9c7d['IZmXX'];else{if(_0x1b6f52['startsWith'](_0x2a9c7d[_0x5a83e1(0x242)]))return _0x2a9c7d['oBWaR'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x238)]))return _0x2a9c7d['eFoZB'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x230)]))return _0x2a9c7d[_0x5a83e1(0x263)];}}}return _0x2a9c7d['NkuxS'];};[a41_0x319577(0x1da)]=_0x417136=>{const _0x1345aa=a41_0x319577,_0x238a09={};_0x238a09[_0x1345aa(0x1bb)]=function(_0x4307a1,_0x18ebde){return _0x4307a1===_0x18ebde;},_0x238a09[_0x1345aa(0x24a)]=_0x1345aa(0x1fa);const _0x4769a0=_0x238a09;let _0x4e45a4=_0x417136[_0x1345aa(0x1ea)];return _0x4769a0[_0x1345aa(0x1bb)](typeof _0x417136[_0x1345aa(0x1ea)],_0x4769a0['fpOBe'])&&(_0x4e45a4=_0x4e45a4[_0x1345aa(0x224)]),_0x4e45a4+'\x20-\x20'+_0x417136['title'];};[a41_0x319577(0x208)](){return![];}}module[a41_0x319577(0x1ca)]=o11yClassErrorHandler(MyReporter,[a41_0x319577(0x237),a41_0x319577(0x1b2),'onTestBegin',a41_0x319577(0x214),'onStepBegin','onStepEnd',a41_0x319577(0x225)],a41_0x319577(0x295));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a42_0x3f58(_0x230eb1,_0x2883ae){const _0x17450f=a42_0x1745();return a42_0x3f58=function(_0x3f58d6,_0x171ae4){_0x3f58d6=_0x3f58d6-0x18b;let _0x35e3b3=_0x17450f[_0x3f58d6];return _0x35e3b3;},a42_0x3f58(_0x230eb1,_0x2883ae);}function a42_0x1745(){const _0x20ec28=['shutdown','getTraceZipDir','hupDx','readFileSync','nHzOE','homedir','getTestUUID','Error\x20reading\x20trace\x20file\x20paths:\x20%s','jdafw','1|0|2|3|4','964952PgAJGH','RfLBY','7430CjDZRZ','LCSCx','MZdWn','.txt','exports','_projectId','_platformDetails.json','_test','../../../helpers/test-observability/constants','BS_TESTOPS_BUILD_HASHED_ID','appendFileSync','cwd','mkdirSync','getProjectIdFromTestInfo','LmNQi','setAccessibilityPlatformValidation','Qwtyx','DIVYm','BBGJX','_traceZipPaths.json','Error\x20handling\x20trace\x20file\x20paths:\x20','getStoreDirName','join','bAKzh','forEach','UsVLu','split','jmWko','dirPath','yDWgK','error','54YJHNtw','2143855IwEtJS','32021PIIUPR','endsWith','toString','ilPNV','addTraceFilePath','traceZipDir','env','getTestIdFromTestInfo','trace_','tests','ICYvl','1020FoQhRu','getTestRunIdFromTestInfo','../../../helpers/helper','values','testId','9866YvbGyJ','writeFileSync','getTestDetails','171269MoWErL','qRsSe','ypLMR','2700IhpcfF','MMiqG','retry','stringify','setup','VkTDm','filePath','pcuDW','51ukhUSI','jBYkJ','readdirSync','recursive','2556696nJnblh','getFilePath','getStoreDirPath','push','existsSync','parse','getAccessibilityPlatformValidation','../../../helpers/logger','format','Error\x20writing\x20trace\x20file:\x20','uuid','getTraceFilePaths','project','traceZipPaths','pid','iOFbd','__projectId','vAryd','nzhBm','oAWJY'];a42_0x1745=function(){return _0x20ec28;};return a42_0x1745();}const a42_0x22a91c=a42_0x3f58;(function(_0x1f4e64,_0x39b207){const _0x2a8b19=a42_0x3f58,_0x437255=_0x1f4e64();while(!![]){try{const _0x23d2f5=-parseInt(_0x2a8b19(0x1b5))/0x1*(parseInt(_0x2a8b19(0x1a7))/0x2)+parseInt(_0x2a8b19(0x1ad))/0x3*(parseInt(_0x2a8b19(0x1a2))/0x4)+-parseInt(_0x2a8b19(0x196))/0x5+-parseInt(_0x2a8b19(0x1b9))/0x6+-parseInt(_0x2a8b19(0x1aa))/0x7+parseInt(_0x2a8b19(0x1d7))/0x8*(-parseInt(_0x2a8b19(0x195))/0x9)+parseInt(_0x2a8b19(0x1d9))/0xa*(parseInt(_0x2a8b19(0x197))/0xb);if(_0x23d2f5===_0x39b207)break;else _0x437255['push'](_0x437255['shift']());}catch(_0x4cf31d){_0x437255['push'](_0x437255['shift']());}}}(a42_0x1745,0x8347a));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a42_0x22a91c(0x1c3)),{TEMP_STORE_DIR_NAME}=require(a42_0x22a91c(0x1e1)),{nestedKeyValue}=require(a42_0x22a91c(0x1a4)),logger=require(a42_0x22a91c(0x1c0))['winstonLogger'],util=require('util'),helper=require(a42_0x22a91c(0x1a4));class TestDetails{static ['tests']={};static [a42_0x22a91c(0x192)]=path[a42_0x22a91c(0x18c)](process[a42_0x22a91c(0x1e4)](),TestDetails[a42_0x22a91c(0x18b)]());static [a42_0x22a91c(0x19c)]=path[a42_0x22a91c(0x18c)](TestDetails[a42_0x22a91c(0x192)],a42_0x22a91c(0x1c6));static[a42_0x22a91c(0x1b1)](){const _0x695230=a42_0x22a91c,_0x18fb4a={};_0x18fb4a[_0x695230(0x1e7)]=_0x695230(0x1d6),_0x18fb4a[_0x695230(0x1d1)]='traceZipPaths';const _0x31f94=_0x18fb4a,_0x52d740=_0x31f94['LmNQi'][_0x695230(0x190)]('|');let _0x48ad62=0x0;while(!![]){switch(_0x52d740[_0x48ad62++]){case'0':this[_0x695230(0x19c)]=path[_0x695230(0x18c)](this[_0x695230(0x192)],_0x31f94[_0x695230(0x1d1)]);continue;case'1':this[_0x695230(0x192)]=path[_0x695230(0x18c)](process['cwd'](),TestDetails[_0x695230(0x18b)]());continue;case'2':this[_0x695230(0x1cd)]();continue;case'3':const _0x5f1838={};_0x5f1838[_0x695230(0x1b8)]=!![],fs['mkdirSync'](this[_0x695230(0x192)],_0x5f1838);continue;case'4':const _0x1f0590={};_0x1f0590['recursive']=!![],fs[_0x695230(0x1e5)](this[_0x695230(0x19c)],_0x1f0590);continue;}break;}}static['getStoreDirName'](){const _0x5d5144=a42_0x22a91c,_0x5149e9={};_0x5149e9[_0x5d5144(0x1e9)]=function(_0x3f9e87,_0x13c919){return _0x3f9e87+_0x13c919;},_0x5149e9[_0x5d5144(0x1ea)]=function(_0x553b2e,_0x33ad93){return _0x553b2e+_0x33ad93;};const _0xea505f=_0x5149e9;return _0xea505f[_0x5d5144(0x1e9)](_0xea505f[_0x5d5144(0x1ea)](TEMP_STORE_DIR_NAME,'-'),process[_0x5d5144(0x19d)][_0x5d5144(0x1e2)]);}static[a42_0x22a91c(0x1bb)](){const _0x33e928=a42_0x22a91c,_0x56a894={};_0x56a894[_0x33e928(0x191)]=function(_0x5ac996,_0x28b473){return _0x5ac996+_0x28b473;},_0x56a894[_0x33e928(0x1cb)]='default';const _0x44cc8d=_0x56a894;return path[_0x33e928(0x18c)](process[_0x33e928(0x1e4)](),_0x44cc8d[_0x33e928(0x191)](_0x44cc8d[_0x33e928(0x191)](TEMP_STORE_DIR_NAME,'-'),process[_0x33e928(0x19d)][_0x33e928(0x1e2)]||_0x44cc8d['nzhBm']));}static[a42_0x22a91c(0x1ce)](){const _0x1b778d=a42_0x22a91c,_0x38c2a0={};_0x38c2a0[_0x1b778d(0x1ab)]=_0x1b778d(0x1c6);const _0x202035=_0x38c2a0;return path[_0x1b778d(0x18c)](this[_0x1b778d(0x1bb)](),_0x202035['qRsSe']);}static[a42_0x22a91c(0x1ba)](_0x4fdcb5){const _0x24a25f=a42_0x22a91c,_0x13806b={};_0x13806b[_0x24a25f(0x18f)]=function(_0x2f1a4c,_0x2cf10f){return _0x2f1a4c+_0x2cf10f;},_0x13806b[_0x24a25f(0x193)]='.json';const _0x2871a6=_0x13806b;return path[_0x24a25f(0x18c)](this[_0x24a25f(0x192)],_0x2871a6[_0x24a25f(0x18f)](_0x4fdcb5,_0x2871a6[_0x24a25f(0x193)]));}static[a42_0x22a91c(0x1a3)](_0x1d2762){const _0x49a8fe=a42_0x22a91c,_0x16ae41={};_0x16ae41[_0x49a8fe(0x18d)]=function(_0x225ad7,_0x35627d){return _0x225ad7+_0x35627d;},_0x16ae41['BBGJX']=function(_0x3affe7,_0x430ed3){return _0x3affe7+_0x430ed3;},_0x16ae41[_0x49a8fe(0x1ac)]=function(_0x4d543a,_0x570f56){return _0x4d543a+_0x570f56;};const _0xd52138=_0x16ae41;return _0xd52138['bAKzh'](_0xd52138[_0x49a8fe(0x1eb)](_0xd52138['bAKzh'](_0xd52138['ypLMR'](this[_0x49a8fe(0x1e6)](_0x1d2762),'-'),this[_0x49a8fe(0x19e)](_0x1d2762)),'-'),_0x1d2762[_0x49a8fe(0x1af)]);}static['getProjectIdFromTestInfo'](_0x22b0f0){const _0x38ad13=a42_0x22a91c,_0x1bd2e0={'ilPNV':function(_0x323b9e,_0x3340d7,_0x55f5d3){return _0x323b9e(_0x3340d7,_0x55f5d3);},'pcuDW':_0x38ad13(0x1e0),'jdafw':_0x38ad13(0x1de),'MZdWn':_0x38ad13(0x1c5),'QmUeJ':_0x38ad13(0x1c9)};return _0x1bd2e0['ilPNV'](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1b4)],_0x1bd2e0[_0x38ad13(0x1d5)]])||_0x1bd2e0[_0x38ad13(0x19a)](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1db)],_0x1bd2e0['QmUeJ']]);}static[a42_0x22a91c(0x19e)](_0x5ce931){const _0x2143c7=a42_0x22a91c,_0x1556e3={'jBYkJ':function(_0x3cfcc4,_0x1a0790,_0x1f9fae){return _0x3cfcc4(_0x1a0790,_0x1f9fae);},'RfLBY':'_test'};return _0x1556e3[_0x2143c7(0x1b6)](nestedKeyValue,_0x5ce931,[_0x1556e3[_0x2143c7(0x1d8)],'id'])||_0x5ce931[_0x2143c7(0x1a6)];}static[a42_0x22a91c(0x1d3)](_0x190431){const _0x2c6d76=a42_0x22a91c,_0x5dd961={'oAWJY':function(_0x5e0fe8,_0x1fa8e7){return _0x5e0fe8===_0x1fa8e7;},'vAryd':'string','iOFbd':function(_0x466965){return _0x466965();}};if(this['tests'][_0x190431]&&_0x5dd961[_0x2c6d76(0x1cc)](typeof this['tests'][_0x190431][_0x2c6d76(0x1c3)],_0x5dd961[_0x2c6d76(0x1ca)]))return this[_0x2c6d76(0x1a0)][_0x190431]['uuid'];const _0x27cbad=this[_0x2c6d76(0x1ba)](_0x190431);if(_0x27cbad&&fs[_0x2c6d76(0x1bd)](_0x27cbad)){const _0x39e6c9=JSON[_0x2c6d76(0x1be)](fs[_0x2c6d76(0x1d0)](_0x27cbad)[_0x2c6d76(0x199)]());return this[_0x2c6d76(0x1a0)][_0x190431]=_0x39e6c9,this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}return this['tests'][_0x190431]={'uuid':_0x5dd961[_0x2c6d76(0x1c8)](uuidv4)},fs[_0x2c6d76(0x1a8)](_0x27cbad,JSON[_0x2c6d76(0x1b0)](this['tests'][_0x190431])),this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}static[a42_0x22a91c(0x1bf)](_0x6abd19){const _0x1dc8e2=a42_0x22a91c,_0x424c5d=path['join'](this[_0x1dc8e2(0x192)],_0x6abd19+_0x1dc8e2(0x1df));if(_0x424c5d&&fs['existsSync'](_0x424c5d))return fs[_0x1dc8e2(0x1d0)](_0x424c5d)[_0x1dc8e2(0x199)]();}static[a42_0x22a91c(0x1e8)](_0x32b65b,_0x3c5391){const _0x45c429=a42_0x22a91c,_0x36548a=path['join'](this[_0x45c429(0x192)],_0x3c5391+_0x45c429(0x1df));fs[_0x45c429(0x1a8)](_0x36548a,_0x32b65b[_0x45c429(0x199)]());}static['shutdown'](){const _0x1b0c01=a42_0x22a91c,_0x36db97={};_0x36db97['recursive']=!![],_0x36db97['force']=!![],fs['rmSync'](this[_0x1b0c01(0x192)],_0x36db97);}static[a42_0x22a91c(0x1a9)](_0x3d198a){const _0x5af64c=a42_0x22a91c;if(this['tests'][_0x3d198a])return this[_0x5af64c(0x1a0)][_0x3d198a];const _0xc09961=this[_0x5af64c(0x1ba)](_0x3d198a);if(_0xc09961&&fs['existsSync'](_0xc09961)){const _0x459397=JSON[_0x5af64c(0x1be)](fs['readFileSync'](_0xc09961)[_0x5af64c(0x199)]());return this[_0x5af64c(0x1a0)][_0x3d198a]=_0x459397,_0x459397;}return{};}static['setTestDetails'](_0x17cc8e,_0x2390a9){const _0x52f4d5=a42_0x22a91c,_0x6c8a3c=this[_0x52f4d5(0x1ba)](_0x17cc8e);if(_0x6c8a3c&&fs[_0x52f4d5(0x1bd)](_0x6c8a3c)){const _0x41a8b0=JSON[_0x52f4d5(0x1be)](fs[_0x52f4d5(0x1d0)](_0x6c8a3c)[_0x52f4d5(0x199)]()),_0x4599fb={..._0x41a8b0,..._0x2390a9};this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x4599fb;}else this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x2390a9;fs['writeFileSync'](_0x6c8a3c,this['tests'][_0x17cc8e]);}static[a42_0x22a91c(0x19b)](_0x5c321e){const _0x59e02b=a42_0x22a91c,_0x215624={};_0x215624[_0x59e02b(0x1cf)]=_0x59e02b(0x1ed);const _0x5e16a5=_0x215624;try{const _0x14c179=process[_0x59e02b(0x1c7)],_0x3cbd2f=path[_0x59e02b(0x18c)](TestDetails[_0x59e02b(0x1ce)](),_0x14c179+_0x59e02b(0x1ec));let _0x489979=[];_0x3cbd2f&&fs['existsSync'](_0x3cbd2f)&&(_0x489979=JSON[_0x59e02b(0x1be)](fs[_0x59e02b(0x1d0)](_0x3cbd2f)[_0x59e02b(0x199)]())),!_0x489979['some'](_0x28199d=>_0x28199d['filePath']===_0x5c321e['filePath'])&&(_0x489979[_0x59e02b(0x1bc)](_0x5c321e),fs[_0x59e02b(0x1a8)](_0x3cbd2f,JSON['stringify'](_0x489979)));}catch(_0x80eb5a){logger[_0x59e02b(0x194)](_0x5e16a5[_0x59e02b(0x1cf)],_0x80eb5a);}}static[a42_0x22a91c(0x1c4)](){const _0x2b13a8=a42_0x22a91c,_0x489d28={};_0x489d28[_0x2b13a8(0x1ae)]=_0x2b13a8(0x1ec),_0x489d28[_0x2b13a8(0x1a1)]=_0x2b13a8(0x1d4);const _0x1e468b=_0x489d28,_0x37154b=[];try{const _0x388ecb=TestDetails[_0x2b13a8(0x1ce)]();if(_0x388ecb&&!fs['existsSync'](_0x388ecb))return _0x37154b;const _0x23c982=fs[_0x2b13a8(0x1b7)](_0x388ecb);_0x23c982['forEach'](_0x277bbd=>{const _0x3a3e58=_0x2b13a8;if(_0x277bbd&&_0x277bbd[_0x3a3e58(0x198)](_0x1e468b[_0x3a3e58(0x1ae)])){const _0x4f6c54=JSON[_0x3a3e58(0x1be)](fs['readFileSync'](path['join'](_0x388ecb,_0x277bbd))[_0x3a3e58(0x199)]());_0x37154b[_0x3a3e58(0x1bc)](..._0x4f6c54);}});}catch(_0x39b815){logger[_0x2b13a8(0x194)](util[_0x2b13a8(0x1c1)](_0x1e468b[_0x2b13a8(0x1a1)],_0x39b815));}const _0x1f848a={};return _0x37154b[_0x2b13a8(0x18e)](_0x102d6d=>{const _0x53e439=_0x2b13a8;_0x1f848a[_0x102d6d[_0x53e439(0x1b3)]]=_0x102d6d;}),Object[_0x2b13a8(0x1a5)](_0x1f848a);}static['appendToTracePaths'](_0x390210,_0xe4f182){const _0x168261=a42_0x22a91c,_0x36c233={};_0x36c233[_0x168261(0x1da)]='.browserstack',_0x36c233[_0x168261(0x1b2)]='utf8';const _0x3fa1cb=_0x36c233;try{const _0x75ff95=path[_0x168261(0x18c)](helper[_0x168261(0x1d2)](),_0x3fa1cb[_0x168261(0x1da)]);if(!fs[_0x168261(0x1bd)](_0x75ff95)){const _0x28c03a={};_0x28c03a['recursive']=!![],fs['mkdirSync'](_0x75ff95,_0x28c03a);}fs[_0x168261(0x1e3)](path[_0x168261(0x18c)](_0x75ff95,_0x168261(0x19f)+_0xe4f182+_0x168261(0x1dc)),_0x390210+'\x0a',_0x3fa1cb['VkTDm']);}catch(_0x4a0682){console[_0x168261(0x194)](_0x168261(0x1c2)+_0x4a0682['message']);}}}module[a42_0x22a91c(0x1dd)]=TestDetails;
|
|
1
|
+
function a42_0x5a2a(_0x3ce757,_0x3f3b79){const _0x112563=a42_0x1125();return a42_0x5a2a=function(_0x5a2a39,_0xa63f9f){_0x5a2a39=_0x5a2a39-0xdf;let _0x56d3fd=_0x112563[_0x5a2a39];return _0x56d3fd;},a42_0x5a2a(_0x3ce757,_0x3f3b79);}const a42_0x429806=a42_0x5a2a;function a42_0x1125(){const _0x51d12e=['getStoreDirName','getStoreDirPath','tests','string','muqcf','oJUhY','aDZXy','IIoQC','join','uuid','.json','EYXOI','16KmKOFl','getTestIdFromTestInfo','existsSync','shutdown','../../../helpers/helper','_traceZipPaths.json','getTestDetails','setAccessibilityPlatformValidation','jNJPV','getProjectIdFromTestInfo','1521023cIRlWy','75192SqGAVP','904KvgPsm','938IgPaVb','getFilePath','homedir','split','3039903pjUAYW','../../../helpers/logger','readFileSync','../../../helpers/test-observability/constants','431916twjsVV','.txt','mkdirSync','dZKPr','.browserstack','filePath','6yIMlJh','appendToTracePaths','2423995kkLMWY','_projectId','utf8','env','readdirSync','traceZipPaths','error','qcXbd','uhEEo','appendFileSync','LdAOh','setTestDetails','wgRHh','Error\x20reading\x20trace\x20file\x20paths:\x20%s','arlam','Tldxx','values','_test','JCTEk','cwd','qCKny','toString','TIbFI','__projectId','_platformDetails.json','bIyHH','recursive','addTraceFilePath','BS_TESTOPS_BUILD_HASHED_ID','ICuXP','getTraceZipDir','setup','path','GgmSj','winstonLogger','stringify','exports','force','17345860vLiJzv','lPyBh','format','dirPath','testId','getAccessibilityPlatformValidation','getTestUUID','rmSync','some','util','push','QKMcL','0|2|4|3|1','HoIfO','traceZipDir','parse','getTestRunIdFromTestInfo','Fcshf','writeFileSync','zOpds'];a42_0x1125=function(){return _0x51d12e;};return a42_0x1125();}(function(_0x5c3486,_0x596f89){const _0x2378c7=a42_0x5a2a,_0x5939f0=_0x5c3486();while(!![]){try{const _0x2f69ee=-parseInt(_0x2378c7(0x105))/0x1*(-parseInt(_0x2378c7(0x106))/0x2)+-parseInt(_0x2378c7(0x10e))/0x3*(-parseInt(_0x2378c7(0xf9))/0x4)+parseInt(_0x2378c7(0x116))/0x5+-parseInt(_0x2378c7(0x114))/0x6*(-parseInt(_0x2378c7(0x103))/0x7)+-parseInt(_0x2378c7(0x104))/0x8+parseInt(_0x2378c7(0x10a))/0x9+-parseInt(_0x2378c7(0x13c))/0xa;if(_0x2f69ee===_0x596f89)break;else _0x5939f0['push'](_0x5939f0['shift']());}catch(_0x3982fb){_0x5939f0['push'](_0x5939f0['shift']());}}}(a42_0x1125,0x48336));const fs=require('fs'),path=require(a42_0x429806(0x136)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x429806(0x10d)),{nestedKeyValue}=require(a42_0x429806(0xfd)),logger=require(a42_0x429806(0x10b))[a42_0x429806(0x138)],util=require(a42_0x429806(0xe2)),helper=require(a42_0x429806(0xfd));class TestDetails{static [a42_0x429806(0xef)]={};static [a42_0x429806(0x13f)]=path[a42_0x429806(0xf5)](process[a42_0x429806(0x129)](),TestDetails['getStoreDirName']());static [a42_0x429806(0xe7)]=path[a42_0x429806(0xf5)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x429806(0x135)](){const _0x578e65=a42_0x429806,_0x3f9ed9={};_0x3f9ed9['HoIfO']=_0x578e65(0xe5),_0x3f9ed9[_0x578e65(0x122)]=_0x578e65(0x11b);const _0x42d682=_0x3f9ed9,_0x5676ae=_0x42d682[_0x578e65(0xe6)][_0x578e65(0x109)]('|');let _0x35687c=0x0;while(!![]){switch(_0x5676ae[_0x35687c++]){case'0':this[_0x578e65(0x13f)]=path[_0x578e65(0xf5)](process[_0x578e65(0x129)](),TestDetails[_0x578e65(0xed)]());continue;case'1':const _0x4fd389={};_0x4fd389['recursive']=!![],fs['mkdirSync'](this[_0x578e65(0xe7)],_0x4fd389);continue;case'2':this[_0x578e65(0xe7)]=path['join'](this[_0x578e65(0x13f)],_0x42d682['wgRHh']);continue;case'3':const _0x5b7ca3={};_0x5b7ca3[_0x578e65(0x130)]=!![],fs[_0x578e65(0x110)](this[_0x578e65(0x13f)],_0x5b7ca3);continue;case'4':this[_0x578e65(0xfc)]();continue;}break;}}static[a42_0x429806(0xed)](){const _0x1b9dd8=a42_0x429806,_0x1736e8={};_0x1736e8['JCTEk']=function(_0x209c45,_0x22945a){return _0x209c45+_0x22945a;},_0x1736e8[_0x1b9dd8(0xf4)]=function(_0x526d36,_0x1ce1ab){return _0x526d36+_0x1ce1ab;};const _0x403055=_0x1736e8;return _0x403055[_0x1b9dd8(0x128)](_0x403055[_0x1b9dd8(0xf4)](TEMP_STORE_DIR_NAME,'-'),process[_0x1b9dd8(0x119)][_0x1b9dd8(0x132)]);}static[a42_0x429806(0xee)](){const _0x400664=a42_0x429806,_0x4c8f8c={};_0x4c8f8c[_0x400664(0x12f)]=function(_0x5aa7b2,_0x42bca9){return _0x5aa7b2+_0x42bca9;},_0x4c8f8c[_0x400664(0x125)]='default';const _0x5b995d=_0x4c8f8c;return path[_0x400664(0xf5)](process[_0x400664(0x129)](),_0x5b995d[_0x400664(0x12f)](_0x5b995d[_0x400664(0x12f)](TEMP_STORE_DIR_NAME,'-'),process[_0x400664(0x119)][_0x400664(0x132)]||_0x5b995d[_0x400664(0x125)]));}static['getTraceZipDir'](){const _0x180c3e=a42_0x429806,_0x3bd28d={};_0x3bd28d[_0x180c3e(0x11d)]=_0x180c3e(0x11b);const _0x390c9c=_0x3bd28d;return path['join'](this['getStoreDirPath'](),_0x390c9c[_0x180c3e(0x11d)]);}static[a42_0x429806(0x107)](_0x4cd3c7){const _0x15c539=a42_0x429806,_0x292c71={};_0x292c71[_0x15c539(0x137)]=function(_0x21b5ca,_0x566c10){return _0x21b5ca+_0x566c10;},_0x292c71[_0x15c539(0xea)]=_0x15c539(0xf7);const _0x1c1d2f=_0x292c71;return path[_0x15c539(0xf5)](this[_0x15c539(0x13f)],_0x1c1d2f[_0x15c539(0x137)](_0x4cd3c7,_0x1c1d2f[_0x15c539(0xea)]));}static[a42_0x429806(0xe9)](_0xf441e3){const _0x177117=a42_0x429806,_0x359066={};_0x359066[_0x177117(0xf3)]=function(_0x5c0f05,_0x57ec4c){return _0x5c0f05+_0x57ec4c;},_0x359066[_0x177117(0xe4)]=function(_0x596751,_0x2fc1ce){return _0x596751+_0x2fc1ce;};const _0x3c72d2=_0x359066;return _0x3c72d2[_0x177117(0xf3)](_0x3c72d2[_0x177117(0xe4)](_0x3c72d2[_0x177117(0xf3)](_0x3c72d2['aDZXy'](this['getProjectIdFromTestInfo'](_0xf441e3),'-'),this[_0x177117(0xfa)](_0xf441e3)),'-'),_0xf441e3['retry']);}static[a42_0x429806(0x102)](_0x2e579c){const _0x8e9a31=a42_0x429806,_0x96739d={'muqcf':function(_0x189d9e,_0x3b76b6,_0x26aec6){return _0x189d9e(_0x3b76b6,_0x26aec6);},'ICuXP':_0x8e9a31(0x127),'lPyBh':_0x8e9a31(0x117),'EYXOI':'project','XNBMV':_0x8e9a31(0x12d)};return _0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0x133)],_0x96739d[_0x8e9a31(0x13d)]])||_0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0xf8)],_0x96739d['XNBMV']]);}static[a42_0x429806(0xfa)](_0x2be041){const _0x1cbb0b=a42_0x429806,_0x3a18d9={'arlam':function(_0x5bbd43,_0x1813c2,_0x7e1271){return _0x5bbd43(_0x1813c2,_0x7e1271);},'LdAOh':_0x1cbb0b(0x127)};return _0x3a18d9[_0x1cbb0b(0x124)](nestedKeyValue,_0x2be041,[_0x3a18d9[_0x1cbb0b(0x120)],'id'])||_0x2be041[_0x1cbb0b(0x140)];}static[a42_0x429806(0xdf)](_0x1c0d9e){const _0x40c3aa=a42_0x429806,_0x2e7434={'zOpds':function(_0xd33cfe,_0x203e54){return _0xd33cfe===_0x203e54;},'oJUhY':_0x40c3aa(0xf0),'TIbFI':function(_0x3de7be){return _0x3de7be();}};if(this['tests'][_0x1c0d9e]&&_0x2e7434[_0x40c3aa(0xec)](typeof this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)],_0x2e7434[_0x40c3aa(0xf2)]))return this[_0x40c3aa(0xef)][_0x1c0d9e][_0x40c3aa(0xf6)];const _0x5b2dad=this[_0x40c3aa(0x107)](_0x1c0d9e);if(_0x5b2dad&&fs['existsSync'](_0x5b2dad)){const _0x3f0bf7=JSON[_0x40c3aa(0xe8)](fs[_0x40c3aa(0x10c)](_0x5b2dad)[_0x40c3aa(0x12b)]());return this[_0x40c3aa(0xef)][_0x1c0d9e]=_0x3f0bf7,this[_0x40c3aa(0xef)][_0x1c0d9e]['uuid'];}return this['tests'][_0x1c0d9e]={'uuid':_0x2e7434[_0x40c3aa(0x12c)](uuidv4)},fs[_0x40c3aa(0xeb)](_0x5b2dad,JSON[_0x40c3aa(0x139)](this[_0x40c3aa(0xef)][_0x1c0d9e])),this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)];}static[a42_0x429806(0x141)](_0x495f31){const _0x55b426=a42_0x429806,_0x15185e=path[_0x55b426(0xf5)](this[_0x55b426(0x13f)],_0x495f31+_0x55b426(0x12e));if(_0x15185e&&fs['existsSync'](_0x15185e))return fs[_0x55b426(0x10c)](_0x15185e)[_0x55b426(0x12b)]();}static[a42_0x429806(0x100)](_0x2ce7cb,_0xbe9382){const _0x32c100=a42_0x429806,_0x39a44c=path['join'](this['dirPath'],_0xbe9382+_0x32c100(0x12e));fs[_0x32c100(0xeb)](_0x39a44c,_0x2ce7cb[_0x32c100(0x12b)]());}static['shutdown'](){const _0x185168=a42_0x429806,_0x394ce9={};_0x394ce9[_0x185168(0x130)]=!![],_0x394ce9[_0x185168(0x13b)]=!![],fs[_0x185168(0xe0)](this['dirPath'],_0x394ce9);}static[a42_0x429806(0xff)](_0x19d5ee){const _0x49e84d=a42_0x429806;if(this[_0x49e84d(0xef)][_0x19d5ee])return this['tests'][_0x19d5ee];const _0x2141a3=this[_0x49e84d(0x107)](_0x19d5ee);if(_0x2141a3&&fs[_0x49e84d(0xfb)](_0x2141a3)){const _0x2caf82=JSON[_0x49e84d(0xe8)](fs['readFileSync'](_0x2141a3)[_0x49e84d(0x12b)]());return this['tests'][_0x19d5ee]=_0x2caf82,_0x2caf82;}return{};}static[a42_0x429806(0x121)](_0x20b0d0,_0x483dbd){const _0x18cbce=a42_0x429806,_0xf5a5e7=this[_0x18cbce(0x107)](_0x20b0d0);if(_0xf5a5e7&&fs['existsSync'](_0xf5a5e7)){const _0x17b3ac=JSON[_0x18cbce(0xe8)](fs[_0x18cbce(0x10c)](_0xf5a5e7)[_0x18cbce(0x12b)]()),_0x476d1f={..._0x17b3ac,..._0x483dbd};this[_0x18cbce(0xef)][_0x20b0d0]=_0x476d1f;}else this[_0x18cbce(0xef)][_0x20b0d0]=_0x483dbd;fs[_0x18cbce(0xeb)](_0xf5a5e7,this[_0x18cbce(0xef)][_0x20b0d0]);}static[a42_0x429806(0x131)](_0x455479){const _0x37ed85=a42_0x429806,_0x41e18f={};_0x41e18f['dZKPr']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x12bfc5=_0x41e18f;try{const _0x29dbe6=process['pid'],_0x5c16fa=path['join'](TestDetails[_0x37ed85(0x134)](),_0x29dbe6+_0x37ed85(0xfe));let _0x351239=[];_0x5c16fa&&fs[_0x37ed85(0xfb)](_0x5c16fa)&&(_0x351239=JSON['parse'](fs[_0x37ed85(0x10c)](_0x5c16fa)[_0x37ed85(0x12b)]())),!_0x351239[_0x37ed85(0xe1)](_0x1a80d2=>_0x1a80d2[_0x37ed85(0x113)]===_0x455479[_0x37ed85(0x113)])&&(_0x351239[_0x37ed85(0xe3)](_0x455479),fs[_0x37ed85(0xeb)](_0x5c16fa,JSON[_0x37ed85(0x139)](_0x351239)));}catch(_0x2e24b3){logger[_0x37ed85(0x11c)](_0x12bfc5[_0x37ed85(0x111)],_0x2e24b3);}}static['getTraceFilePaths'](){const _0x4185bf=a42_0x429806,_0x48bb43={};_0x48bb43['fRarm']=_0x4185bf(0xfe),_0x48bb43[_0x4185bf(0x11e)]=_0x4185bf(0x123);const _0x3371d0=_0x48bb43,_0x26c2ac=[];try{const _0x334485=TestDetails['getTraceZipDir']();if(_0x334485&&!fs['existsSync'](_0x334485))return _0x26c2ac;const _0x3282f6=fs[_0x4185bf(0x11a)](_0x334485);_0x3282f6['forEach'](_0x4cd168=>{const _0x1f870e=_0x4185bf;if(_0x4cd168&&_0x4cd168['endsWith'](_0x3371d0['fRarm'])){const _0x87cd1c=JSON[_0x1f870e(0xe8)](fs[_0x1f870e(0x10c)](path[_0x1f870e(0xf5)](_0x334485,_0x4cd168))[_0x1f870e(0x12b)]());_0x26c2ac[_0x1f870e(0xe3)](..._0x87cd1c);}});}catch(_0x308978){logger[_0x4185bf(0x11c)](util[_0x4185bf(0x13e)](_0x3371d0[_0x4185bf(0x11e)],_0x308978));}const _0x26f641={};return _0x26c2ac['forEach'](_0x5e0129=>{const _0xfdf231=_0x4185bf;_0x26f641[_0x5e0129[_0xfdf231(0x113)]]=_0x5e0129;}),Object[_0x4185bf(0x126)](_0x26f641);}static[a42_0x429806(0x115)](_0x38467e,_0x38998e){const _0x584daf=a42_0x429806,_0x161697={};_0x161697['qCKny']=_0x584daf(0x112),_0x161697[_0x584daf(0x101)]=_0x584daf(0x118);const _0x240628=_0x161697;try{const _0x314b31=path[_0x584daf(0xf5)](helper[_0x584daf(0x108)](),_0x240628[_0x584daf(0x12a)]);if(!fs[_0x584daf(0xfb)](_0x314b31)){const _0x2e2025={};_0x2e2025[_0x584daf(0x130)]=!![],fs[_0x584daf(0x110)](_0x314b31,_0x2e2025);}fs[_0x584daf(0x11f)](path[_0x584daf(0xf5)](_0x314b31,'trace_'+_0x38998e+_0x584daf(0x10f)),_0x38467e+'\x0a',_0x240628[_0x584daf(0x101)]);}catch(_0x438ce4){console[_0x584daf(0x11c)]('Error\x20writing\x20trace\x20file:\x20'+_0x438ce4['message']);}}}module[a42_0x429806(0x13a)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0xb04031=a43_0x57ec;(function(_0x34c865,_0x3c25f3){const _0x964ffe=a43_0x57ec,_0x1db24c=_0x34c865();while(!![]){try{const _0x3250d1=parseInt(_0x964ffe(0x1c9))/0x1*(-parseInt(_0x964ffe(0x1d1))/0x2)+parseInt(_0x964ffe(0x1b1))/0x3+parseInt(_0x964ffe(0x172))/0x4+-parseInt(_0x964ffe(0x1a1))/0x5+-parseInt(_0x964ffe(0x1e6))/0x6*(-parseInt(_0x964ffe(0x17a))/0x7)+parseInt(_0x964ffe(0x191))/0x8+parseInt(_0x964ffe(0x1c7))/0x9;if(_0x3250d1===_0x3c25f3)break;else _0x1db24c['push'](_0x1db24c['shift']());}catch(_0x548bfc){_0x1db24c['push'](_0x1db24c['shift']());}}}(a43_0x40cb,0xebfa9));function a43_0x40cb(){const _0xe95d24=['PtzrD','kgfpo','fKniY','browser','_defaultConnectOptions','Pcwdr','HFiIK','parse','params','GOBDe','NcoBH','AiqVp','url','ATS_WSS_URL_REGEX','project','qypyD','apply','winstonLogger','ydYvW','testInfo','currentSessionDetails','client','browserstack.com','XcnWu','vQMIL','format','unknown_grid','pwPage','_connection','../../helpers/accessibility-automation/scripts','function','VQYum','JGEIi','server','RBJrU','Ogkpl','platformDetails','browser_version','Error\x20in\x20importing\x20crConnection','../../helpers/helper','uKrll','zTbSw','RfoMU','platform_version','7094336nKLTgO','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bsParams','platform','Error\x20in\x20finding\x20platform\x20details\x20','env','performScan','automate','42574KEAxvN','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','edge','platformVersion','nFhvr','local_grid','ujttx','query','product','debug','util','turboscale','exports','boCPs','connectOptions','giCNj','join','shouldWrapCommand','accessibilityPlatform','aoBdK','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','__driver','3412224UCjSls','ouwLe','zfhIu','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','titlePath','bStackParams','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','QVRKD','./accessibility-helper','bstackPerformA11yScan','browserName','cloudProvider','DWAkS','platformName','ercuU','setupBrowserDetails','8895125EWkAoM','getDetails','kNThP','Gteft','browserstack-ats.com','caps','_browserType','test','Efnqs','toString','xPpiL','ToCCq','bsSessionId','iDSnC','nCFgZ','ZmPsT','992829xzgglp','includes','dispatch','YSuSV','use','patch','FOqGU','DROkV','isRemote','Error\x20in\x20importing\x20connection\x20','__workerDetails','../utils/constants','QGEJe','method','sessionError','mvrjv','Device\x20Model\x20is\x20not\x20available','defineProperty','Not\x20able\x20to\x20import\x20crConnection','version','path','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','7684236SYvEus','qaSIi','925119YMuHKc','xbkzb','lib','channel','prototype','model','WNuvL','Connection','2rxVHUv','jeuYj','AUgdv','../../helpers/logger','_name','LFcuX','sessionId','browserstack','mxKKH','DEYIr','sendMessageToServer','OxDTR','MEEWN','chrome','_type','eRyBx','YqdWX','AOxqJ','PqvTY','_onMessage','Failed\x20to\x20perform\x20scan\x20','282abxEpO','capabilities','deviceModel','kpyVg','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','patchCRConnection','CRConnection','patchConnection'];a43_0x40cb=function(){return _0xe95d24;};return a43_0x40cb();}function a43_0x57ec(_0x433950,_0x1ac22e){const _0x40cb05=a43_0x40cb();return a43_0x57ec=function(_0x57ec7f,_0x37dae1){_0x57ec7f=_0x57ec7f-0x16f;let _0x121bf6=_0x40cb05[_0x57ec7f];return _0x121bf6;},a43_0x57ec(_0x433950,_0x1ac22e);}const path=require(a43_0xb04031(0x1c5)),url=require(a43_0xb04031(0x1fa)),util=require(a43_0xb04031(0x184)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0xb04031(0x215)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0xb04031(0x18f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0xb04031(0x1d4))[a43_0xb04031(0x1ff)],scripts=require(a43_0xb04031(0x20b)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0xb04031(0x199)),constants=require(a43_0xb04031(0x1bc)),getBrowserNameFromChannel=_0x4ee454=>{const _0x41d9d5=a43_0xb04031,_0x462d80={};_0x462d80[_0x41d9d5(0x19d)]=_0x41d9d5(0x1de),_0x462d80['nCFgZ']=_0x41d9d5(0x17c),_0x462d80[_0x41d9d5(0x1b4)]='firefox',_0x462d80[_0x41d9d5(0x1dd)]='safari';const _0x374a6e=_0x462d80;if(_0x4ee454['includes'](_0x374a6e[_0x41d9d5(0x19d)]))return _0x374a6e[_0x41d9d5(0x19d)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1af)]))return _0x374a6e[_0x41d9d5(0x1af)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1b4)]))return _0x374a6e[_0x41d9d5(0x1b4)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e['MEEWN']))return _0x374a6e[_0x41d9d5(0x1dd)];},getBrowserFromWSEndpoint=_0x482cbe=>{const _0x535abb=a43_0xb04031,_0x97997={'lwupt':_0x535abb(0x1de),'zRUpg':function(_0x291301,_0xdc37e2){return _0x291301(_0xdc37e2);}};try{const _0x3af1e2=url[_0x535abb(0x1f5)](_0x482cbe),_0x11c0db=new URLSearchParams(_0x3af1e2[_0x535abb(0x181)]),_0x46ce4a=Object['fromEntries'](_0x11c0db['entries']()),_0x10827c=JSON[_0x535abb(0x1f5)](_0x46ce4a[_0x535abb(0x1a6)]);if(_0x10827c&&(_0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)]))return _0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)];return _0x97997['lwupt'];}catch(_0x3e4756){_0x97997['zRUpg'](debug,_0x535abb(0x1ea)+_0x3e4756[_0x535abb(0x1aa)]());}},getCloudProviderFromWsEndpoint=_0x3b8b6c=>{const _0x118fa8=a43_0xb04031,_0xa1d406={};_0xa1d406['AOxqJ']=_0x118fa8(0x204),_0xa1d406[_0x118fa8(0x206)]=_0x118fa8(0x1a5),_0xa1d406['WYPsw']=_0x118fa8(0x1d8),_0xa1d406[_0x118fa8(0x1bd)]=_0x118fa8(0x208);const _0x1e22b0=_0xa1d406;if(_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x1e2)])||_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x206)]))return _0x1e22b0['WYPsw'];return _0x1e22b0[_0x118fa8(0x1bd)];},a43_0x1d54c7={};a43_0x1d54c7[a43_0xb04031(0x19c)]=undefined,a43_0x1d54c7['bsSessionId']=undefined,a43_0x1d54c7[a43_0xb04031(0x1f1)]=undefined,a43_0x1d54c7[a43_0xb04031(0x213)]=undefined,a43_0x1d54c7[a43_0xb04031(0x175)]=undefined,a43_0x1d54c7['platform_version']=undefined,a43_0x1d54c7['product']=undefined,a43_0x1d54c7['capabilities']={};class PlaywrightSessionDetails{static [a43_0xb04031(0x202)]=a43_0x1d54c7;constructor(){const _0x1a295c=a43_0xb04031,_0x39b242={};_0x39b242[_0x1a295c(0x216)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x31cbd9=_0x39b242;throw new Error(_0x31cbd9[_0x1a295c(0x216)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x32f4f4,_0x59694b,_0xa9d33a=null){const _0x18db03=a43_0xb04031,_0x22e920={'EPQHu':function(_0x5e5422,_0x1d429c){return _0x5e5422===_0x1d429c;},'Pcwdr':_0x18db03(0x20c),'fKniY':_0x18db03(0x173),'giCNj':function(_0x4dd1e6,_0x13431f){return _0x4dd1e6===_0x13431f;},'XcnWu':_0x18db03(0x1c1),'IVScj':_0x18db03(0x17f),'PqvTY':function(_0x3aa848,_0x183893,_0x424d97){return _0x3aa848(_0x183893,_0x424d97);},'DROkV':_0x18db03(0x1a7),'NubJo':'_defaultConnectOptions','lRqsv':_0x18db03(0x1fc),'HFiIK':'use','OxDTR':_0x18db03(0x188),'YqdWX':function(_0x2b9bbc,_0x566db4){return _0x2b9bbc(_0x566db4);},'oIKLr':function(_0x360841,_0x348906){return _0x360841===_0x348906;},'CFtZu':'browserstack','iDSnC':_0x18db03(0x185),'NcoBH':_0x18db03(0x179),'LFcuX':function(_0x3898ea,_0x57e0e5){return _0x3898ea(_0x57e0e5);},'boCPs':function(_0x54439a,_0x2737f4){return _0x54439a+_0x2737f4;},'kpyVg':'playwright-','nFhvr':function(_0x1c308c){return _0x1c308c();},'VQYum':_0x18db03(0x1a0)},_0x143217=this;return _0x22e920[_0x18db03(0x1e3)](o11yErrorHandler,async function _0x5acb29(_0xfe098b,_0x45ae2f,_0x5a39d1=null){const _0x1e4f41=_0x18db03;let _0xcc17a6=_0xfe098b[_0x1e4f41(0x1d5)],_0x1c56fc=null;_0xfe098b&&_0x22e920['EPQHu'](typeof _0xfe098b[_0x1e4f41(0x1c4)],_0x22e920[_0x1e4f41(0x1f3)])?_0x1c56fc=_0xfe098b['version']():logger[_0x1e4f41(0x183)](_0x22e920[_0x1e4f41(0x1f0)]);let _0x3b79f2=null;_0xfe098b&&_0x22e920[_0x1e4f41(0x189)](typeof _0xfe098b['model'],_0x22e920[_0x1e4f41(0x1f3)])?_0x3b79f2=_0xfe098b[_0x1e4f41(0x1ce)]():logger['debug'](_0x22e920[_0x1e4f41(0x205)]);let _0x2ee69b=null,_0x3db110=null,_0x5a309e=null,_0x22745e=_0x22e920['IVScj'];if(_0xfe098b[_0x1e4f41(0x20a)][_0x1e4f41(0x1b9)]()||global[_0x1e4f41(0x18c)]){let _0x4a33de=null;_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0xfe098b,[_0x22e920[_0x1e4f41(0x1b8)],_0x22e920['NubJo']])?_0x4a33de=_0xfe098b[_0x1e4f41(0x1a7)][_0x1e4f41(0x1f2)]:_0x4a33de=_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0x45ae2f,[_0x22e920['lRqsv'],_0x22e920[_0x1e4f41(0x1f4)],_0x22e920[_0x1e4f41(0x1dc)]]);const _0x2f069c=_0x5a39d1||_0x4a33de&&_0x4a33de['wsEndpoint'];_0x2f069c&&(_0x22745e=_0x22e920['YqdWX'](getCloudProviderFromWsEndpoint,_0x2f069c),_0x22e920['oIKLr'](_0x22745e,_0x22e920['CFtZu'])&&(_0x5a309e=constants[_0x1e4f41(0x1fb)][_0x1e4f41(0x1a8)](_0x2f069c)?_0x22e920[_0x1e4f41(0x1ae)]:_0x22e920[_0x1e4f41(0x1f8)],_0xcc17a6=_0x22e920[_0x1e4f41(0x1d6)](getBrowserFromWSEndpoint,_0x2f069c)||_0xcc17a6,_0x2ee69b=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x175)],_0x3db110=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x171)]));}else{_0x45ae2f&&_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)][_0x1e4f41(0x1cc)]?_0xcc17a6=_0x22e920[_0x1e4f41(0x1e1)](getBrowserNameFromChannel,_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)]['channel']):_0xcc17a6=_0x22e920[_0x1e4f41(0x187)](_0x22e920[_0x1e4f41(0x1e9)],_0xcc17a6['toLowerCase']());const _0x517012=await _0x22e920[_0x1e4f41(0x17e)](getPlatformDetails);_0x2ee69b=_0x517012[_0x1e4f41(0x19e)],_0x3db110=_0x517012[_0x1e4f41(0x17d)];}const _0x1787ac={};_0x1787ac['browser']=_0xcc17a6,_0x1787ac[_0x1e4f41(0x213)]=_0x1c56fc,_0x1787ac[_0x1e4f41(0x1e7)]={},_0x1787ac['platform']=_0x2ee69b,_0x1787ac[_0x1e4f41(0x171)]=_0x3db110,_0x1787ac[_0x1e4f41(0x182)]=_0x5a309e;const _0x20d288=_0x1787ac;_0x3b79f2&&(_0x20d288[_0x1e4f41(0x1e7)][_0x1e4f41(0x1e8)]=_0x3b79f2);const _0x4e4b76={};_0x4e4b76[_0x1e4f41(0x19c)]=_0x22745e,_0x143217[_0x1e4f41(0x202)]=Object['assign']({},_0x143217[_0x1e4f41(0x202)],_0x4e4b76,_0x20d288);},_0x22e920[_0x18db03(0x20d)])(_0x32f4f4,_0x59694b,_0xa9d33a);}static[a43_0xb04031(0x1b6)](){const _0xa51e85=a43_0xb04031;this[_0xa51e85(0x1ed)](),this[_0xa51e85(0x1eb)]();}static[a43_0xb04031(0x1ed)](){const _0x4e4d6c=a43_0xb04031,_0xe495dc={'ercuU':function(_0x366eab,_0x2951d9,_0x196658){return _0x366eab(_0x2951d9,_0x196658);},'ydYvW':'currentTest','lOuWV':_0x4e4d6c(0x201),'Efnqs':_0x4e4d6c(0x195),'aoBdK':'__workerDetails','xbkzb':_0x4e4d6c(0x209),'FOqGU':function(_0x5266d1,_0x12b998){return _0x5266d1===_0x12b998;},'kgfpo':'Page','DEYIr':function(_0x6f5c96,_0x3f9b9c,_0x49c6a5,_0x5e7f4d){return _0x6f5c96(_0x3f9b9c,_0x49c6a5,_0x5e7f4d);},'RfoMU':function(_0x4381d3,_0x47e531){return _0x4381d3(_0x47e531);},'JGEIi':'lib','ToCCq':_0x4e4d6c(0x203),'PtzrD':'connection.js','ihBpy':'Not\x20able\x20to\x20import\x20Connection','ouwLe':function(_0x45731b,_0x375fc4){return _0x45731b!=_0x375fc4;},'jeuYj':function(_0x1ec278){return _0x1ec278();},'RBJrU':_0x4e4d6c(0x1db),'GOBDe':function(_0x4bf8ed,_0x12811a){return _0x4bf8ed(_0x12811a);},'kNThP':'dispatch','MuhNS':function(_0x497089,_0x1ca4da){return _0x497089(_0x1ca4da);}},_0x358061=this;if(!this['Connection'])try{const _0x51d408=path[_0x4e4d6c(0x18a)](_0xe495dc[_0x4e4d6c(0x20e)],_0xe495dc[_0x4e4d6c(0x1ac)],_0xe495dc[_0x4e4d6c(0x1ee)]),_0x22c531=_0xe495dc[_0x4e4d6c(0x170)](importFileFromPWCore,_0x51d408);!_0x22c531?_0xe495dc['RfoMU'](debug,_0xe495dc['ihBpy']):this['Connection']=_0x22c531[_0x4e4d6c(0x1d0)];}catch(_0xdc1de7){_0xe495dc[_0x4e4d6c(0x170)](debug,_0x4e4d6c(0x1ba)+_0xdc1de7['toString']());}const _0x18e314=this[_0x4e4d6c(0x1d0)];try{if(_0xe495dc[_0x4e4d6c(0x192)](_0x18e314,null)){const _0x3df506=_0x18e314['prototype'][_0x4e4d6c(0x1b3)],_0x29c916=_0x18e314['prototype'][_0x4e4d6c(0x1db)];_0xe495dc[_0x4e4d6c(0x1d2)](isAccessibilityAutomationSession)&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x210)],{'get':function(){const _0x1dd9f7=_0x4e4d6c,_0x523869={'eRyBx':function(_0x13a7b3,_0x38acb2,_0x47ac18){const _0x271a72=a43_0x57ec;return _0xe495dc[_0x271a72(0x19f)](_0x13a7b3,_0x38acb2,_0x47ac18);},'Ogkpl':_0xe495dc[_0x1dd9f7(0x200)],'zfhIu':_0xe495dc['lOuWV'],'wSjGs':_0xe495dc[_0x1dd9f7(0x1a9)],'mvrjv':function(_0x539a57,_0x1e2b4b,_0x5308dc){const _0x9e64bf=_0x1dd9f7;return _0xe495dc[_0x9e64bf(0x19f)](_0x539a57,_0x1e2b4b,_0x5308dc);},'QVRKD':_0xe495dc[_0x1dd9f7(0x18d)],'xPpiL':_0xe495dc[_0x1dd9f7(0x1ca)],'zTbSw':function(_0x336b40,_0x41dc0f){const _0x2dc168=_0x1dd9f7;return _0xe495dc[_0x2dc168(0x1b7)](_0x336b40,_0x41dc0f);},'ZmPsT':_0xe495dc[_0x1dd9f7(0x1ef)],'qaSIi':function(_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082){const _0x1d266d=_0x1dd9f7;return _0xe495dc[_0x1d266d(0x1da)](_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082);}};return async function(){const _0x24edf6=_0x1dd9f7;try{if(!global[_0x24edf6(0x19a)]&&global[_0x24edf6(0x18c)]&&_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global[_0x24edf6(0x1bb)],[_0x523869[_0x24edf6(0x211)],_0x523869[_0x24edf6(0x193)],_0x523869['wSjGs']])&&_0x523869[_0x24edf6(0x1c0)](shouldScanTestForAccessibility,global[_0x24edf6(0x1bb)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x24edf6(0x18b)](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x24edf6(0x19a)]=!![];const _0x215b41=_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global,[_0x523869[_0x24edf6(0x198)],_0x523869[_0x24edf6(0x1ab)]]),_0x28a8a8={};_0x28a8a8[_0x24edf6(0x1be)]=arguments[0x1],_0x215b41&&logger[_0x24edf6(0x183)](util[_0x24edf6(0x207)](await AccessibilityHelper['performScan'](_0x215b41,_0x28a8a8)));if(_0x523869[_0x24edf6(0x16f)](arguments[0x0][_0x24edf6(0x1df)],_0x523869[_0x24edf6(0x1b0)])&&global[_0x24edf6(0x190)]){const _0x3171a2={};_0x3171a2[_0x24edf6(0x1be)]=arguments[0x1],await _0x523869[_0x24edf6(0x1c8)](browserStackExecuteDriver,global['__driver'],scripts[_0x24edf6(0x178)],_0x3171a2);}}}catch(_0x4d2176){logger[_0x24edf6(0x183)](_0x24edf6(0x1e5)+util[_0x24edf6(0x207)](_0x4d2176));}return global['bstackPerformA11yScan']=![],_0x29c916[_0x24edf6(0x1fe)](this,arguments);};}}),!_0xe495dc[_0x4e4d6c(0x1f7)](isFalse,process[_0x4e4d6c(0x177)][_0x4e4d6c(0x18e)])&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x1a3)],{'get':function(){const _0x10468f={'BEpfZ':function(_0x11653f,_0x51ec09){const _0xe92bab=a43_0x57ec;return _0xe495dc[_0xe92bab(0x170)](_0x11653f,_0x51ec09);},'COAyt':function(_0x32bcdc,_0x497d4b){const _0x4f42e5=a43_0x57ec;return _0xe495dc[_0x4f42e5(0x170)](_0x32bcdc,_0x497d4b);}};return function _0x2aac61(_0x58e788){const _0x2902d9=a43_0x57ec,_0x1e75bd=_0x58e788&&_0x58e788[_0x2902d9(0x1f6)]&&_0x58e788[_0x2902d9(0x1f6)][_0x2902d9(0x174)];if(_0x1e75bd){const _0x2c9b82=_0x1e75bd['sessionId'],_0x28d44c=_0x1e75bd[_0x2902d9(0x212)];_0x28d44c&&(_0x10468f['BEpfZ'](debug,_0x2902d9(0x194)+_0x28d44c[_0x2902d9(0x1aa)]()),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x175)]=_0x28d44c[_0x2902d9(0x19e)],_0x358061[_0x2902d9(0x202)][_0x2902d9(0x171)]=_0x28d44c[_0x2902d9(0x17d)]),_0x2c9b82&&(_0x10468f['COAyt'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2c9b82),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x1ad)]=_0x2c9b82);}return _0x3df506['apply'](this,arguments);};}});}}catch(_0x3ac7c7){_0xe495dc['MuhNS'](debug,_0x4e4d6c(0x17b)+_0x3ac7c7),_0x358061[_0x4e4d6c(0x1bf)]=_0x3ac7c7[_0x4e4d6c(0x1aa)]();}}static['patchCRConnection'](){const _0x2c1c7a=a43_0xb04031,_0xd439d8={'mxKKH':function(_0x2afc68,_0x31b318){return _0x2afc68(_0x31b318);},'RRtji':function(_0x2dc38c){return _0x2dc38c();},'ujttx':_0x2c1c7a(0x1cb),'qypyD':_0x2c1c7a(0x20f),'VBMXT':'chromium','NOiZb':'crConnection.js','AUgdv':_0x2c1c7a(0x1c3),'pLPZq':_0x2c1c7a(0x214),'WNuvL':function(_0x1c0dab,_0x2ebfac){return _0x1c0dab!=_0x2ebfac;},'AiqVp':_0x2c1c7a(0x1e4),'GHRNS':function(_0x560206,_0x416583){return _0x560206(_0x416583);}},_0x448a2a=this;if(_0xd439d8['RRtji'](isAccessibilityAutomationSession)){let _0x447c7c=null;try{const _0x2c0061=path['join'](_0xd439d8[_0x2c1c7a(0x180)],_0xd439d8[_0x2c1c7a(0x1fd)],_0xd439d8['VBMXT'],_0xd439d8['NOiZb']),_0x2c04c4=_0xd439d8[_0x2c1c7a(0x1d9)](importFileFromPWCore,_0x2c0061);!_0x2c04c4?_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8[_0x2c1c7a(0x1d3)]):_0x447c7c=_0x2c04c4[_0x2c1c7a(0x1ec)];}catch(_0xfbb673){_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8['pLPZq']);}try{if(_0xd439d8[_0x2c1c7a(0x1cf)](_0x447c7c,null)){const _0x311470=_0x447c7c[_0x2c1c7a(0x1cd)]['_onMessage'];Object[_0x2c1c7a(0x1c2)](_0x447c7c[_0x2c1c7a(0x1cd)],_0xd439d8[_0x2c1c7a(0x1f9)],{'get':function(){const _0x42d3fc={'Gteft':function(_0x556ced,_0x13bdf7){return _0xd439d8['mxKKH'](_0x556ced,_0x13bdf7);}};return function _0x2a2599(_0x29eee8){const _0x5505db=a43_0x57ec;try{const _0x4f08e4=_0x29eee8[_0x5505db(0x196)];if(_0x4f08e4){delete _0x29eee8[_0x5505db(0x196)];const _0x53354f=_0x4f08e4[_0x5505db(0x1d7)],_0x4632cc=_0x4f08e4['platformDetails'];_0x4632cc&&(_0x42d3fc[_0x5505db(0x1a4)](debug,_0x5505db(0x197)+_0x4632cc[_0x5505db(0x1aa)]()),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x175)]=_0x4632cc[_0x5505db(0x19e)],_0x448a2a[_0x5505db(0x202)][_0x5505db(0x171)]=_0x4632cc[_0x5505db(0x17d)]),_0x53354f&&(_0x42d3fc[_0x5505db(0x1a4)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x53354f),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x1ad)]=_0x53354f);}}catch(_0x40791f){_0x42d3fc['Gteft'](debug,_0x5505db(0x176)+_0x40791f[_0x5505db(0x1aa)]());}return _0x311470[_0x5505db(0x1fe)](this,arguments);};}});}}catch(_0x13a65c){_0xd439d8['GHRNS'](debug,_0x2c1c7a(0x1c6)+_0x13a65c),_0x448a2a[_0x2c1c7a(0x1bf)]=_0x13a65c[_0x2c1c7a(0x1aa)]();}}}static[a43_0xb04031(0x1a2)](){const _0x10a561=a43_0xb04031;return this[_0x10a561(0x202)];}}module[a43_0xb04031(0x186)]=PlaywrightSessionDetails;
|
|
1
|
+
const a43_0x7ce662=a43_0x500a;(function(_0x2f3c6d,_0x41635e){const _0x314ec8=a43_0x500a,_0x4e75de=_0x2f3c6d();while(!![]){try{const _0x2d3043=-parseInt(_0x314ec8(0x97))/0x1*(-parseInt(_0x314ec8(0xc8))/0x2)+parseInt(_0x314ec8(0x72))/0x3*(-parseInt(_0x314ec8(0xa2))/0x4)+parseInt(_0x314ec8(0x88))/0x5+parseInt(_0x314ec8(0x70))/0x6*(parseInt(_0x314ec8(0xc6))/0x7)+parseInt(_0x314ec8(0xe1))/0x8*(parseInt(_0x314ec8(0x107))/0x9)+parseInt(_0x314ec8(0xed))/0xa+-parseInt(_0x314ec8(0xeb))/0xb;if(_0x2d3043===_0x41635e)break;else _0x4e75de['push'](_0x4e75de['shift']());}catch(_0x2301a6){_0x4e75de['push'](_0x4e75de['shift']());}}}(a43_0x224b,0x8544c));function a43_0x224b(){const _0x48b64c=['tPWGV','project','debug','includes','wsEndpoint','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','sessionError','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Page','VipUh','fromEntries','CRConnection','Error\x20in\x20finding\x20platform\x20details\x20','xDKgA','8RlRzpE','util','browser','format','eTwVD','bsSessionId','tXMkb','dispatch','fSaZa','VssBB','16558300gRatAO','getDetails','1448200dwYOLf','currentSessionDetails','accessibilityPlatform','exports','OUkYg','HgIUV','playwright-','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','_type','params','function','platform_version','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','join','connection.js','ztADX','platformVersion','lAxuV','safari','../../helpers/test-observability/error-handler','zVBkl','_name','_defaultConnectOptions','byDJa','performScan','use','1166229Gabxcd','aNnYF','defineProperty','yGmLE','ZSQZz','toLowerCase','Error\x20in\x20importing\x20crConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Oxozg','patchConnection','EgWgA','browserstack','UUXni','browserstack-ats.com','FUZWJ','jDfgn','JZveb','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','NvGVm','platformName','2857524gkAegQ','currentTest','75291JUjSft','XQazm','PcqBP','firefox','pKprK','WNOqv','parse','sendMessageToServer','QFqbr','local_grid','crConnection.js','lLwyW','platform','VSaqs','isRemote','rirVz','zPHgA','_browserType','yIQpu','product','../../helpers/test-observability/utils','bstackPerformA11yScan','3487525LnKQso','sessionId','titlePath','bShbW','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','IzJFY','../../helpers/accessibility-automation/scripts','LMlcx','bStackParams','AitxS','deviceModel','query','qPSZJ','mcePH','patch','678299xWgEKC','prototype','_onMessage','edge','setupBrowserDetails','capabilities','__workerDetails','chromium','../../bin/playwright/accessibility-helper','ATS_WSS_URL_REGEX','WwlAq','12KaoSpq','lib','chrome','browserstack.com','shouldWrapCommand','kTzNI','thCCR','model','unknown_grid','testInfo','ukYSj','bsParams','gGyjx','caps','../utils/constants','../../helpers/accessibility-automation/helper','ssYSl','../../helpers/logger','cloudProvider','apply','htAiM','path','platformDetails','BROWSERSTACK_TEST_OBSERVABILITY','browserName','yyxir','toString','connectOptions','Error\x20in\x20importing\x20connection\x20','MAhvY','__driver','YToYd','assign','browser_version','version','GJqIQ','7tVgBAf','hqjnX','2bOwzBk','Device\x20Model\x20is\x20not\x20available','Connection','PYAUI','TDUcy','Wpmpx','method','FrZoj','msUaK','Not\x20able\x20to\x20import\x20crConnection','winstonLogger'];a43_0x224b=function(){return _0x48b64c;};return a43_0x224b();}function a43_0x500a(_0x580a4c,_0x25dd69){const _0x224b21=a43_0x224b();return a43_0x500a=function(_0x500ae4,_0x383816){_0x500ae4=_0x500ae4-0x66;let _0x334416=_0x224b21[_0x500ae4];return _0x334416;},a43_0x500a(_0x580a4c,_0x25dd69);}const path=require(a43_0x7ce662(0xb7)),url=require('url'),util=require(a43_0x7ce662(0xe2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x7ce662(0x100)),{debug,getPlatformDetails}=require(a43_0x7ce662(0x86)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x7ce662(0xb1)),logger=require(a43_0x7ce662(0xb3))[a43_0x7ce662(0xd2)],scripts=require(a43_0x7ce662(0x8e)),{browserStackExecuteDriver}=require(a43_0x7ce662(0x9f)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x7ce662(0xb0)),getBrowserNameFromChannel=_0x1253cd=>{const _0x5adab4=a43_0x7ce662,_0x52c906={};_0x52c906[_0x5adab4(0x111)]=_0x5adab4(0xa4),_0x52c906['PcqBP']=_0x5adab4(0x9a),_0x52c906['yyxir']=_0x5adab4(0x75),_0x52c906[_0x5adab4(0xb6)]=_0x5adab4(0xff);const _0xfbdd16=_0x52c906;if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16['EgWgA']))return _0xfbdd16[_0x5adab4(0x111)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0x74)]))return _0xfbdd16[_0x5adab4(0x74)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0xbb)]))return _0xfbdd16['yyxir'];if(_0x1253cd['includes'](_0xfbdd16[_0x5adab4(0xb6)]))return _0xfbdd16[_0x5adab4(0xb6)];},getBrowserFromWSEndpoint=_0x5d4c2b=>{const _0xd2da64=a43_0x7ce662,_0x524972={'emTGd':_0xd2da64(0xa4),'YToYd':function(_0x671aa4,_0x42e357){return _0x671aa4(_0x42e357);}};try{const _0x4503f7=url['parse'](_0x5d4c2b),_0xc0fc28=new URLSearchParams(_0x4503f7[_0xd2da64(0x93)]),_0xa93c5c=Object[_0xd2da64(0xdd)](_0xc0fc28['entries']()),_0x563167=JSON[_0xd2da64(0x78)](_0xa93c5c[_0xd2da64(0xaf)]);if(_0x563167&&(_0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)]))return _0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)];return _0x524972['emTGd'];}catch(_0x297721){_0x524972[_0xd2da64(0xc1)](debug,_0xd2da64(0xd8)+_0x297721[_0xd2da64(0xbc)]());}},getCloudProviderFromWsEndpoint=_0x9acae3=>{const _0x54d446=a43_0x7ce662,_0x389c97={};_0x389c97[_0x54d446(0xcd)]=_0x54d446(0xa5),_0x389c97['kTzNI']=_0x54d446(0x68),_0x389c97[_0x54d446(0xe0)]=_0x54d446(0x66),_0x389c97[_0x54d446(0xc5)]=_0x54d446(0xaa);const _0x9ef357=_0x389c97;if(_0x9acae3[_0x54d446(0xd6)](_0x9ef357['Wpmpx'])||_0x9acae3['includes'](_0x9ef357[_0x54d446(0xa7)]))return _0x9ef357[_0x54d446(0xe0)];return _0x9ef357['GJqIQ'];},a43_0x3e6aeb={};a43_0x3e6aeb[a43_0x7ce662(0xb4)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe6)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xc3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0x7e)]=undefined,a43_0x3e6aeb['platform_version']=undefined,a43_0x3e6aeb['product']=undefined,a43_0x3e6aeb[a43_0x7ce662(0x9c)]={};class PlaywrightSessionDetails{static [a43_0x7ce662(0xee)]=a43_0x3e6aeb;constructor(){const _0x48d2ff=a43_0x7ce662,_0x19968a={};_0x19968a[_0x48d2ff(0x69)]=_0x48d2ff(0x10e);const _0x4f211a=_0x19968a;throw new Error(_0x4f211a[_0x48d2ff(0x69)]);}static [a43_0x7ce662(0xd9)]=null;static[a43_0x7ce662(0x9b)](_0x21ccf0,_0x92925e,_0x218f38=null){const _0x3f2a3e=a43_0x7ce662,_0xfe3e24={'HgIUV':function(_0x1a7227,_0xaa06cb){return _0x1a7227===_0xaa06cb;},'LMlcx':_0x3f2a3e(0xf7),'mcePH':_0x3f2a3e(0x8c),'byDJa':function(_0x58eee7,_0x37f224){return _0x58eee7===_0x37f224;},'hqjnX':_0x3f2a3e(0xc9),'jDfgn':_0x3f2a3e(0x7b),'rirVz':function(_0x4315d6,_0x4a61ad,_0xcb62ba){return _0x4315d6(_0x4a61ad,_0xcb62ba);},'VSaqs':_0x3f2a3e(0x83),'AitxS':_0x3f2a3e(0x103),'gnpVo':'project','XQazm':_0x3f2a3e(0x106),'FrZoj':_0x3f2a3e(0xbd),'ukYSj':function(_0x1d5580,_0x1c83dd){return _0x1d5580(_0x1c83dd);},'OUkYg':'browserstack','bShbW':'turboscale','eTwVD':'automate','TDUcy':function(_0x303bdf,_0x2e9714){return _0x303bdf(_0x2e9714);},'MAhvY':function(_0x4bc66e,_0x44befc){return _0x4bc66e+_0x44befc;},'gACjH':_0x3f2a3e(0xf3),'ZSQZz':function(_0x521c56){return _0x521c56();},'qPSZJ':function(_0x9ede08,_0xab2fee,_0x6bca12){return _0x9ede08(_0xab2fee,_0x6bca12);},'JjpbV':_0x3f2a3e(0x9b)},_0x2bc16f=this;return _0xfe3e24[_0x3f2a3e(0x94)](o11yErrorHandler,async function _0x11c36e(_0x2152c7,_0x4debb5,_0x467c98=null){const _0x3f1619=_0x3f2a3e;let _0x3f8078=_0x2152c7[_0x3f1619(0x102)],_0x1213ed=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0xf2)](typeof _0x2152c7['version'],_0xfe3e24[_0x3f1619(0x8f)])?_0x1213ed=_0x2152c7[_0x3f1619(0xc4)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0x95)]);let _0x2995f4=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0x104)](typeof _0x2152c7[_0x3f1619(0xa9)],_0xfe3e24[_0x3f1619(0x8f)])?_0x2995f4=_0x2152c7[_0x3f1619(0xa9)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0xc7)]);let _0x1a71de=null,_0x14f634=null,_0x3a3679=null,_0x29986b=_0xfe3e24[_0x3f1619(0x6a)];if(_0x2152c7['_connection'][_0x3f1619(0x80)]()||global[_0x3f1619(0xef)]){let _0x3a491c=null;_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x2152c7,[_0xfe3e24[_0x3f1619(0x7f)],_0xfe3e24[_0x3f1619(0x91)]])?_0x3a491c=_0x2152c7[_0x3f1619(0x83)][_0x3f1619(0x103)]:_0x3a491c=_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x4debb5,[_0xfe3e24['gnpVo'],_0xfe3e24[_0x3f1619(0x73)],_0xfe3e24[_0x3f1619(0xcf)]]);const _0x5927d2=_0x467c98||_0x3a491c&&_0x3a491c[_0x3f1619(0xd7)];_0x5927d2&&(_0x29986b=_0xfe3e24[_0x3f1619(0xac)](getCloudProviderFromWsEndpoint,_0x5927d2),_0xfe3e24[_0x3f1619(0xf2)](_0x29986b,_0xfe3e24[_0x3f1619(0xf1)])&&(_0x3a3679=constants[_0x3f1619(0xa0)]['test'](_0x5927d2)?_0xfe3e24[_0x3f1619(0x8b)]:_0xfe3e24[_0x3f1619(0xe5)],_0x3f8078=_0xfe3e24['TDUcy'](getBrowserFromWSEndpoint,_0x5927d2)||_0x3f8078,_0x1a71de=_0x2bc16f[_0x3f1619(0xee)][_0x3f1619(0x7e)],_0x14f634=_0x2bc16f['currentSessionDetails'][_0x3f1619(0xf8)]));}else{_0x4debb5&&_0x4debb5['project'][_0x3f1619(0x106)]['channel']?_0x3f8078=_0xfe3e24[_0x3f1619(0xcc)](getBrowserNameFromChannel,_0x4debb5[_0x3f1619(0xd4)][_0x3f1619(0x106)]['channel']):_0x3f8078=_0xfe3e24[_0x3f1619(0xbf)](_0xfe3e24['gACjH'],_0x3f8078[_0x3f1619(0x10c)]());const _0x50fe1d=await _0xfe3e24[_0x3f1619(0x10b)](getPlatformDetails);_0x1a71de=_0x50fe1d[_0x3f1619(0x6f)],_0x14f634=_0x50fe1d[_0x3f1619(0xfd)];}const _0x1b0c8a={};_0x1b0c8a[_0x3f1619(0xe3)]=_0x3f8078,_0x1b0c8a['browser_version']=_0x1213ed,_0x1b0c8a[_0x3f1619(0x9c)]={},_0x1b0c8a[_0x3f1619(0x7e)]=_0x1a71de,_0x1b0c8a[_0x3f1619(0xf8)]=_0x14f634,_0x1b0c8a[_0x3f1619(0x85)]=_0x3a3679;const _0x18b044=_0x1b0c8a;_0x2995f4&&(_0x18b044[_0x3f1619(0x9c)][_0x3f1619(0x92)]=_0x2995f4);const _0x521547={};_0x521547[_0x3f1619(0xb4)]=_0x29986b,_0x2bc16f[_0x3f1619(0xee)]=Object[_0x3f1619(0xc2)]({},_0x2bc16f[_0x3f1619(0xee)],_0x521547,_0x18b044);},_0xfe3e24['JjpbV'])(_0x21ccf0,_0x92925e,_0x218f38);}static[a43_0x7ce662(0x96)](){const _0x3254a1=a43_0x7ce662;this[_0x3254a1(0x110)](),this['patchCRConnection']();}static[a43_0x7ce662(0x110)](){const _0x13512b=a43_0x7ce662,_0x4e2055={'Oxozg':function(_0x4eb5c6,_0x3a4de2,_0x11ddf8){return _0x4eb5c6(_0x3a4de2,_0x11ddf8);},'NvGVm':_0x13512b(0x71),'QFqbr':_0x13512b(0xab),'PYAUI':_0x13512b(0x8a),'UUXni':_0x13512b(0x9d),'IzJFY':'pwPage','pKprK':function(_0x17692a,_0x4062ca){return _0x17692a===_0x4062ca;},'ztADX':_0x13512b(0xdb),'lLwyW':function(_0x44fe5e,_0x398bf3,_0x5cbed9,_0x3e6f84){return _0x44fe5e(_0x398bf3,_0x5cbed9,_0x3e6f84);},'WwlAq':function(_0x1a0087,_0x335c2d){return _0x1a0087(_0x335c2d);},'aNnYF':function(_0x557a75,_0x34241f){return _0x557a75(_0x34241f);},'RvfHs':_0x13512b(0xa3),'ikjKC':'client','FPuzS':_0x13512b(0xfb),'fSaZa':function(_0xd3ea7c,_0x43390c){return _0xd3ea7c(_0x43390c);},'zPHgA':'Not\x20able\x20to\x20import\x20Connection','yIQpu':function(_0x4fbb0f,_0x2b9543){return _0x4fbb0f!=_0x2b9543;},'tXMkb':function(_0x14dd1f){return _0x14dd1f();},'zVBkl':_0x13512b(0x79),'msUaK':function(_0x31f188,_0x140b0f){return _0x31f188(_0x140b0f);},'MQcnI':'dispatch','thCCR':function(_0x867c56,_0x25a53f){return _0x867c56(_0x25a53f);}},_0x507a46=this;if(!this[_0x13512b(0xca)])try{const _0x52812c=path[_0x13512b(0xfa)](_0x4e2055['RvfHs'],_0x4e2055['ikjKC'],_0x4e2055['FPuzS']),_0x325178=_0x4e2055[_0x13512b(0xe9)](importFileFromPWCore,_0x52812c);!_0x325178?_0x4e2055[_0x13512b(0xa1)](debug,_0x4e2055[_0x13512b(0x82)]):this[_0x13512b(0xca)]=_0x325178['Connection'];}catch(_0x215859){_0x4e2055[_0x13512b(0xa1)](debug,_0x13512b(0xbe)+_0x215859[_0x13512b(0xbc)]());}const _0x431209=this['Connection'];try{if(_0x4e2055[_0x13512b(0x84)](_0x431209,null)){const _0x5c7fa3=_0x431209['prototype'][_0x13512b(0xe8)],_0xe359db=_0x431209[_0x13512b(0x98)][_0x13512b(0x79)];_0x4e2055[_0x13512b(0xe7)](isAccessibilityAutomationSession)&&Object[_0x13512b(0x109)](_0x431209[_0x13512b(0x98)],_0x4e2055[_0x13512b(0x101)],{'get':function(){return async function(){const _0x358703=a43_0x500a;try{if(!global[_0x358703(0x87)]&&global['accessibilityPlatform']&&_0x4e2055['Oxozg'](nestedKeyValue,global['__workerDetails'],[_0x4e2055[_0x358703(0x6e)],_0x4e2055[_0x358703(0x7a)],_0x4e2055[_0x358703(0xcb)]])&&_0x4e2055[_0x358703(0x10f)](shouldScanTestForAccessibility,global['__workerDetails'][_0x358703(0x71)][_0x358703(0xab)]['titlePath'],!![])&&scripts[_0x358703(0xa6)](arguments[0x1])){logger[_0x358703(0xd5)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x358703(0x87)]=!![];const _0x1dc30f=_0x4e2055[_0x358703(0x10f)](nestedKeyValue,global,[_0x4e2055[_0x358703(0x67)],_0x4e2055[_0x358703(0x8d)]]),_0x5acefc={};_0x5acefc[_0x358703(0xce)]=arguments[0x1],_0x1dc30f&&logger[_0x358703(0xd5)](util['format'](await AccessibilityHelper[_0x358703(0x105)](_0x1dc30f,_0x5acefc)));if(_0x4e2055[_0x358703(0x76)](arguments[0x0][_0x358703(0xf5)],_0x4e2055[_0x358703(0xfc)])&&global[_0x358703(0xc0)]){const _0xa592d9={};_0xa592d9[_0x358703(0xce)]=arguments[0x1],await _0x4e2055[_0x358703(0x7d)](browserStackExecuteDriver,global[_0x358703(0xc0)],scripts[_0x358703(0x105)],_0xa592d9);}}}catch(_0x27b510){logger[_0x358703(0xd5)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x358703(0xe4)](_0x27b510));}return global[_0x358703(0x87)]=![],_0xe359db[_0x358703(0xb5)](this,arguments);};}}),!_0x4e2055[_0x13512b(0xd0)](isFalse,process['env'][_0x13512b(0xb9)])&&Object[_0x13512b(0x109)](_0x431209['prototype'],_0x4e2055['MQcnI'],{'get':function(){return function _0x546304(_0x2a93d8){const _0x11a745=a43_0x500a,_0x611ff8=_0x2a93d8&&_0x2a93d8[_0x11a745(0xf6)]&&_0x2a93d8['params'][_0x11a745(0xad)];if(_0x611ff8){const _0x5549b4=_0x611ff8[_0x11a745(0x89)],_0x2311e5=_0x611ff8[_0x11a745(0xb8)];_0x2311e5&&(_0x4e2055[_0x11a745(0xa1)](debug,_0x11a745(0x6d)+_0x2311e5[_0x11a745(0xbc)]()),_0x507a46[_0x11a745(0xee)]['platform']=_0x2311e5[_0x11a745(0x6f)],_0x507a46[_0x11a745(0xee)][_0x11a745(0xf8)]=_0x2311e5['platformVersion']),_0x5549b4&&(_0x4e2055[_0x11a745(0x108)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x5549b4),_0x507a46['currentSessionDetails'][_0x11a745(0xe6)]=_0x5549b4);}return _0x5c7fa3[_0x11a745(0xb5)](this,arguments);};}});}}catch(_0x3fbd45){_0x4e2055[_0x13512b(0xa8)](debug,_0x13512b(0xda)+_0x3fbd45),_0x507a46[_0x13512b(0xd9)]=_0x3fbd45[_0x13512b(0xbc)]();}}static['patchCRConnection'](){const _0x406810=a43_0x7ce662,_0x1504e5={'gGyjx':function(_0x462b6e,_0x21beac){return _0x462b6e(_0x21beac);},'VipUh':function(_0x4e0b11,_0x47d7e5){return _0x4e0b11(_0x47d7e5);},'ssYSl':function(_0x287de1,_0x2a8fc3){return _0x287de1(_0x2a8fc3);},'PdXWO':function(_0x4fb984){return _0x4fb984();},'tPWGV':_0x406810(0xa3),'VssBB':'server','uTTwl':_0x406810(0x9e),'yGmLE':_0x406810(0x7c),'WlkgA':function(_0x43a0a8,_0xe3f95){return _0x43a0a8(_0xe3f95);},'lAxuV':_0x406810(0xd1),'jPPrj':function(_0x57bd65,_0x54f0cb){return _0x57bd65(_0x54f0cb);},'WNOqv':_0x406810(0x10d),'ejkbh':function(_0x3cbd86,_0x365887){return _0x3cbd86!=_0x365887;},'JZveb':_0x406810(0x99)},_0x5908a2=this;if(_0x1504e5['PdXWO'](isAccessibilityAutomationSession)){let _0xf83ea5=null;try{const _0x16128e=path[_0x406810(0xfa)](_0x1504e5[_0x406810(0xd3)],_0x1504e5[_0x406810(0xea)],_0x1504e5['uTTwl'],_0x1504e5[_0x406810(0x10a)]),_0x1f0ac9=_0x1504e5['WlkgA'](importFileFromPWCore,_0x16128e);!_0x1f0ac9?_0x1504e5['VipUh'](debug,_0x1504e5[_0x406810(0xfe)]):_0xf83ea5=_0x1f0ac9[_0x406810(0xde)];}catch(_0x174d86){_0x1504e5['jPPrj'](debug,_0x1504e5[_0x406810(0x77)]);}try{if(_0x1504e5['ejkbh'](_0xf83ea5,null)){const _0x4ca2a1=_0xf83ea5[_0x406810(0x98)][_0x406810(0x99)];Object[_0x406810(0x109)](_0xf83ea5[_0x406810(0x98)],_0x1504e5[_0x406810(0x6b)],{'get':function(){return function _0x2544bf(_0x20ece2){const _0x529364=a43_0x500a;try{const _0x36f078=_0x20ece2[_0x529364(0x90)];if(_0x36f078){delete _0x20ece2[_0x529364(0x90)];const _0x224d81=_0x36f078[_0x529364(0x89)],_0x264106=_0x36f078['platformDetails'];_0x264106&&(_0x1504e5[_0x529364(0xae)](debug,_0x529364(0x6c)+_0x264106['toString']()),_0x5908a2[_0x529364(0xee)][_0x529364(0x7e)]=_0x264106[_0x529364(0x6f)],_0x5908a2[_0x529364(0xee)][_0x529364(0xf8)]=_0x264106[_0x529364(0xfd)]),_0x224d81&&(_0x1504e5[_0x529364(0xdc)](debug,_0x529364(0xf4)+_0x224d81),_0x5908a2[_0x529364(0xee)][_0x529364(0xe6)]=_0x224d81);}}catch(_0x42d1a3){_0x1504e5[_0x529364(0xb2)](debug,_0x529364(0xdf)+_0x42d1a3[_0x529364(0xbc)]());}return _0x4ca2a1[_0x529364(0xb5)](this,arguments);};}});}}catch(_0x373fb5){_0x1504e5[_0x406810(0xae)](debug,_0x406810(0xf9)+_0x373fb5),_0x5908a2[_0x406810(0xd9)]=_0x373fb5[_0x406810(0xbc)]();}}}static[a43_0x7ce662(0xec)](){const _0x108e17=a43_0x7ce662;return this[_0x108e17(0xee)];}}module[a43_0x7ce662(0xf0)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x2ae1ed=a44_0x486b;(function(_0x57c096,_0x5365b3){const _0x138fa4=a44_0x486b,_0x15298f=_0x57c096();while(!![]){try{const _0x420ce2=parseInt(_0x138fa4(0x189))/0x1*(parseInt(_0x138fa4(0x1df))/0x2)+-parseInt(_0x138fa4(0x1a3))/0x3+-parseInt(_0x138fa4(0x16c))/0x4*(parseInt(_0x138fa4(0x183))/0x5)+-parseInt(_0x138fa4(0x1ab))/0x6*(parseInt(_0x138fa4(0x174))/0x7)+parseInt(_0x138fa4(0x18f))/0x8+-parseInt(_0x138fa4(0x195))/0x9*(parseInt(_0x138fa4(0x1e3))/0xa)+parseInt(_0x138fa4(0x1c9))/0xb*(parseInt(_0x138fa4(0x1cd))/0xc);if(_0x420ce2===_0x5365b3)break;else _0x15298f['push'](_0x15298f['shift']());}catch(_0x1e011e){_0x15298f['push'](_0x15298f['shift']());}}}(a44_0x3bc4,0x1dee3));function a44_0x486b(_0x496ef3,_0x2bee53){const _0x3bc443=a44_0x3bc4();return a44_0x486b=function(_0x486b34,_0x5e75ae){_0x486b34=_0x486b34-0x16a;let _0x44a76e=_0x3bc443[_0x486b34];return _0x44a76e;},a44_0x486b(_0x496ef3,_0x2bee53);}const fs=require('fs'),path=require(a44_0x2ae1ed(0x1c8)),util=require(a44_0x2ae1ed(0x1b4)),{requireModule}=require(a44_0x2ae1ed(0x171)),PerformanceTester=require(a44_0x2ae1ed(0x199)),PerformanceEvents=require('../helpers/performance/constants')[a44_0x2ae1ed(0x1b9)],helper=require(a44_0x2ae1ed(0x171)),utilities=require(a44_0x2ae1ed(0x1b2)),runIntegrations=require(a44_0x2ae1ed(0x184)),yargs=require(a44_0x2ae1ed(0x19d)),Constants=require('./utils/constants'),logger=require('../helpers/logger')[a44_0x2ae1ed(0x180)],origArgs=Object[a44_0x2ae1ed(0x1da)]([],process[a44_0x2ae1ed(0x1bd)]),captureError=async(_0x1b50c6,_0x2b8956,_0x177ac1=null)=>{const _0xbe2af3=a44_0x2ae1ed,_0xed2cf={'gkYky':function(_0xdbfc9c,_0x113051,_0x2f2656){return _0xdbfc9c(_0x113051,_0x2f2656);},'TGcNS':'SDKTestSuccessful'};try{logger[_0xbe2af3(0x16f)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0xbe2af3(0x192)]('\x20')),await _0xed2cf[_0xbe2af3(0x175)](_0x1b50c6,_0x2b8956,_0x177ac1);}catch(_0x3e1f44){process[_0xbe2af3(0x17a)]=0x1,logger[_0xbe2af3(0x1b8)](util['format'](_0x3e1f44));const _0x3ff984={};_0x3ff984['globalException']=_0x3e1f44[_0xbe2af3(0x1d4)];const _0x19fd9c=_0x3ff984;PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));if(helper[_0xbe2af3(0x187)](global['config'])&&helper['isUndefined'](global['framework']))return;try{utilities[_0xbe2af3(0x186)](_0xed2cf['TGcNS'],_0x19fd9c,global[_0xbe2af3(0x1db)],global[_0xbe2af3(0x19a)]);}catch(_0x572f70){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x572f70[_0xbe2af3(0x1d7)]);}PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));}finally{PerformanceTester[_0xbe2af3(0x1a9)](PerformanceEvents[_0xbe2af3(0x1dc)]);}};try{const browserstackFolderPath=path[a44_0x2ae1ed(0x192)](helper[a44_0x2ae1ed(0x1ba)](),a44_0x2ae1ed(0x1e1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x2ae1ed(0x192)](browserstackFolderPath,a44_0x2ae1ed(0x197));fs[a44_0x2ae1ed(0x1a6)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x460970){logger[a44_0x2ae1ed(0x1aa)](a44_0x2ae1ed(0x16e)+a44_0x460970['message']);}process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x188))&&(!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1c5))&&process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x1a4)),!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1dd)](_0x41a9c0=>_0x41a9c0[a44_0x2ae1ed(0x1ca)]('--config'))&&process[a44_0x2ae1ed(0x1bd)]['push'](a44_0x2ae1ed(0x1e6)),!process['argv'][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1a7))&&process['argv'][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x178)),helper[a44_0x2ae1ed(0x1e7)](process[a44_0x2ae1ed(0x1bd)],a44_0x2ae1ed(0x1d1),a44_0x2ae1ed(0x19c)));PerformanceTester[a44_0x2ae1ed(0x1b1)](),PerformanceTester[a44_0x2ae1ed(0x1a9)](PerformanceEvents[a44_0x2ae1ed(0x1af)]);const a44_0x57c245={};function a44_0x3bc4(){const _0x999920=['QWRQf','.browserstack','../../ats/src/index','210lJnxwz','cucumber-js','setBrowserStackAutomationDisable','--no-config','findAndReplace','xxYFU','CTqdR','12GRIKsl','usage','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','info','./playwright/command','../helpers/helper','VANILLA','ats','105inqAdt','gkYky','version','ZJCtH','--no-package','WxFjb','exitCode','command','jXmTm','slice','demandCommand','eWPpR','winstonLogger','xmWri','SNSDd','348295huZElF','./integrations/command','mocha/lib/cli/run.js','fireFunnelTestEvent','isUndefined','mocha','6yNTJiL','integrations','lvouB','handler','./vanilla-js/command','SZCBj','73496TMOIcf','push','help','join','oZjXK','run','8406vXiVVk','CODECEPTJS','.local-not-set.json','describe','../helpers/performance/performance-tester','framework','PLAYWRIGHT','--mochaRequire','yargs','alias','./cucumber-js/command','INFO','./mocha/command','end','325320nXkkAA','--no-opts','parserConfiguration','existsSync','--package','./jest/command','start','debug','51396CEGKPC','XLHbe','mocha/lib/cli/cli.js','KzMci','SDK_SETUP','lsRkU','startMonitoring','../helpers/utilities','HST','util','DBeyW','rLyFF','showHelpOnFail','error','EVENTS','homedir','rnVZz','CUCUMBER','argv','mocha/lib/cli/commands.js','cidCo','playwright','NIGHTWATCH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','IaygV','GaoVS','--opts','VERSION','node','path','488345XbjBIU','includes','jest','codeceptjs','156oFHJca','setTestObservabilityDisable','JEST','format','--require','ruCfW','vkoYr','message','DyAnN','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','stack','INTEGRATIONS','qxbCS','assign','config','SDK_CLEANUP','find','dot-notation','598WgXKvu'];a44_0x3bc4=function(){return _0x999920;};return a44_0x3bc4();}a44_0x57c245[a44_0x2ae1ed(0x1de)]=![];const argv=yargs[a44_0x2ae1ed(0x1a5)](a44_0x57c245)[a44_0x2ae1ed(0x16d)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x2ae1ed(0x19e)]('v',a44_0x2ae1ed(0x176))[a44_0x2ae1ed(0x198)]('v')[a44_0x2ae1ed(0x19e)]('h',a44_0x2ae1ed(0x191))['help'](a44_0x2ae1ed(0x191))[a44_0x2ae1ed(0x1b7)](!![],Constants[a44_0x2ae1ed(0x1c6)]['HELP'])[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cb),Constants[a44_0x2ae1ed(0x1cf)][a44_0x2ae1ed(0x1a0)],function(_0x25f19d){const _0x1f05f5=a44_0x2ae1ed,_0x196272={'PuUnJ':function(_0x1c2c9e,_0x4c254b,_0xb630f6,_0x2b1ef2){return _0x1c2c9e(_0x4c254b,_0xb630f6,_0x2b1ef2);},'rLyFF':function(_0x1d3f26,_0x35698f){return _0x1d3f26(_0x35698f);},'cidCo':_0x1f05f5(0x1a8)};helper[_0x1f05f5(0x1ce)](),helper[_0x1f05f5(0x1e5)]();const _0x26390f=process['argv'][_0x1f05f5(0x17d)](0x2);return _0x196272['PuUnJ'](captureError,_0x196272[_0x1f05f5(0x1b6)](require,_0x196272[_0x1f05f5(0x1bf)]),_0x25f19d[_0x1f05f5(0x1bd)],_0x26390f);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x188),Constants['MOCHA']['INFO'],_0x4badab=>{const _0x3eb46e=a44_0x2ae1ed,_0x42af54={'ZJCtH':function(_0x593c99,_0xedb2ab,_0x3aae4d){return _0x593c99(_0xedb2ab,_0x3aae4d);},'xxYFU':function(_0x38b73d,_0x4afc13){return _0x38b73d(_0x4afc13);},'vQpGs':_0x3eb46e(0x1a1),'IaygV':'Parsing\x20command\x20line\x20arguements','lsRkU':_0x3eb46e(0x185),'SNSDd':_0x3eb46e(0x188),'DyAnN':function(_0x29c43e,_0x3a47d5,_0x5d17a4){return _0x29c43e(_0x3a47d5,_0x5d17a4);},'PMAXd':_0x3eb46e(0x1be),'lvouB':function(_0x26ccf1,_0x59f3df,_0x2d0458){return _0x26ccf1(_0x59f3df,_0x2d0458);},'GaoVS':_0x3eb46e(0x1ad),'qPzqM':function(_0x11b998){return _0x11b998();}};logger[_0x3eb46e(0x1aa)](_0x42af54[_0x3eb46e(0x1c3)]);const _0x3617bd=_0x42af54[_0x3eb46e(0x177)](requireModule,_0x42af54[_0x3eb46e(0x1b0)],_0x42af54[_0x3eb46e(0x182)]),_0x613b94=_0x42af54[_0x3eb46e(0x1d5)](requireModule,_0x42af54['PMAXd'],_0x42af54[_0x3eb46e(0x182)]);process[_0x3eb46e(0x1bd)]=process[_0x3eb46e(0x1bd)]['slice'](0x1),delete _0x3617bd[_0x3eb46e(0x18c)],_0x3617bd[_0x3eb46e(0x18c)]=function(_0x2551e0){const _0x5ef7da=_0x3eb46e;return _0x42af54[_0x5ef7da(0x177)](captureError,_0x42af54[_0x5ef7da(0x16a)](require,_0x42af54['vQpGs']),_0x2551e0);},_0x613b94[_0x3eb46e(0x194)]=_0x3617bd;const {main:_0x46ee6d}=_0x42af54[_0x3eb46e(0x18b)](requireModule,_0x42af54[_0x3eb46e(0x1c4)],_0x42af54['SNSDd']);_0x42af54['qPzqM'](_0x46ee6d);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1e4),Constants[a44_0x2ae1ed(0x1bc)]['INFO'],function(_0xeb13f4){const _0xebe815=a44_0x2ae1ed,_0x5df896={'jXmTm':function(_0x20edcd,_0x5a813,_0x3f39e0,_0x1ceb8f){return _0x20edcd(_0x5a813,_0x3f39e0,_0x1ceb8f);},'rnVZz':function(_0x2bec55,_0x481ef5){return _0x2bec55(_0x481ef5);},'MQIdT':_0xebe815(0x19f)},_0x178f71=process[_0xebe815(0x1bd)][_0xebe815(0x17d)](0x2);return _0x5df896[_0xebe815(0x17c)](captureError,_0x5df896[_0xebe815(0x1bb)](require,_0x5df896['MQIdT']),_0xeb13f4[_0xebe815(0x1bd)],_0x178f71);})['command'](a44_0x2ae1ed(0x1c7),Constants[a44_0x2ae1ed(0x172)][a44_0x2ae1ed(0x1a0)],function(_0x500760){const _0x59a99e=a44_0x2ae1ed,_0x315ffe={'QWRQf':function(_0x376e1b,_0x2b28ca,_0x17d7df,_0x5cf875){return _0x376e1b(_0x2b28ca,_0x17d7df,_0x5cf875);},'KzMci':function(_0xa19b39,_0x39fc6c){return _0xa19b39(_0x39fc6c);},'XLHbe':_0x59a99e(0x18d)},_0x19e745=process['argv'][_0x59a99e(0x17d)](0x2);return _0x315ffe[_0x59a99e(0x1e0)](captureError,_0x315ffe[_0x59a99e(0x1ae)](require,_0x315ffe[_0x59a99e(0x1ac)]),_0x500760[_0x59a99e(0x1bd)],_0x19e745);})['command']('nightwatch',Constants[a44_0x2ae1ed(0x1c1)][a44_0x2ae1ed(0x1a0)],function(_0x4e8bde){const _0xfa9a36=a44_0x2ae1ed,_0x33d0f6={'oZjXK':function(_0x415e14,_0x3410e6,_0x1a17e3,_0x1917a5){return _0x415e14(_0x3410e6,_0x1a17e3,_0x1917a5);},'eWPpR':function(_0x2c28af,_0x50ecab){return _0x2c28af(_0x50ecab);},'LPBzh':'./nightwatch/command'},_0x379f5a=process[_0xfa9a36(0x1bd)][_0xfa9a36(0x17d)](0x2);return _0x33d0f6[_0xfa9a36(0x193)](captureError,_0x33d0f6[_0xfa9a36(0x17f)](require,_0x33d0f6['LPBzh']),_0x4e8bde['argv'],_0x379f5a);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cc),Constants[a44_0x2ae1ed(0x196)]['INFO'],function(_0x331fa7){const _0x4e1972=a44_0x2ae1ed,_0xe4bf8e={'qxbCS':function(_0x469fb1,_0x59037b,_0xa5f261,_0x327017){return _0x469fb1(_0x59037b,_0xa5f261,_0x327017);},'VzAzp':function(_0x1d9dd1,_0x1fdf6b){return _0x1d9dd1(_0x1fdf6b);},'KbDIj':'./codeceptjs/command'},_0x2d3b4e=process[_0x4e1972(0x1bd)][_0x4e1972(0x17d)](0x2);return _0xe4bf8e[_0x4e1972(0x1d9)](captureError,_0xe4bf8e['VzAzp'](require,_0xe4bf8e['KbDIj']),_0x331fa7['argv'],_0x2d3b4e);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x173),Constants[a44_0x2ae1ed(0x1b3)]['INFO'],function(_0x424cea){const _0x1d8632=a44_0x2ae1ed,_0x513216={'WxFjb':function(_0x3d4f85,_0x36e167,_0x3098d5){return _0x3d4f85(_0x36e167,_0x3098d5);},'vkoYr':function(_0x1e13ad,_0xdbfffa){return _0x1e13ad(_0xdbfffa);},'DBeyW':_0x1d8632(0x1e2)},_0x325d5e=process[_0x1d8632(0x1bd)][_0x1d8632(0x17d)](0x2);return _0x513216[_0x1d8632(0x179)](captureError,_0x513216[_0x1d8632(0x1d3)](require,_0x513216[_0x1d8632(0x1b5)]),_0x424cea);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x18a),Constants[a44_0x2ae1ed(0x1d8)][a44_0x2ae1ed(0x1a0)],function(_0x3a2eda){const _0x5f3703=a44_0x2ae1ed,_0x560bca={'CTqdR':function(_0x3d44ff,_0x4818a0){return _0x3d44ff(_0x4818a0);}};return _0x560bca[_0x5f3703(0x16b)](runIntegrations,_0x3a2eda);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1c0),Constants[a44_0x2ae1ed(0x19b)][a44_0x2ae1ed(0x1a0)],function(_0x4088d4){const _0x2400c9=a44_0x2ae1ed,_0x29458b={'ruCfW':function(_0x3860a8,_0x1980ae,_0x5525df,_0x42f2b8){return _0x3860a8(_0x1980ae,_0x5525df,_0x42f2b8);},'xmWri':function(_0x17817e,_0x17d608){return _0x17817e(_0x17d608);},'SZCBj':_0x2400c9(0x170)},_0x2ccd95=process[_0x2400c9(0x1bd)]['slice'](0x2);return _0x29458b[_0x2400c9(0x1d2)](captureError,_0x29458b[_0x2400c9(0x181)](require,_0x29458b[_0x2400c9(0x18e)]),_0x4088d4[_0x2400c9(0x1bd)],_0x2ccd95);})[a44_0x2ae1ed(0x17e)](0x1,a44_0x2ae1ed(0x1c2))['wrap'](null)['argv'];!helper[a44_0x2ae1ed(0x187)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x2ae1ed(0x173)&&console[a44_0x2ae1ed(0x1b8)](a44_0x2ae1ed(0x1d6));
|
|
2
|
+
'use strict';const a44_0x680e5a=a44_0x36af;(function(_0x4d3dbc,_0x1d87da){const _0x1f3991=a44_0x36af,_0x3e9561=_0x4d3dbc();while(!![]){try{const _0x2b3fe3=parseInt(_0x1f3991(0xb2))/0x1+-parseInt(_0x1f3991(0xb7))/0x2*(-parseInt(_0x1f3991(0xf5))/0x3)+-parseInt(_0x1f3991(0xa2))/0x4+parseInt(_0x1f3991(0xd9))/0x5+-parseInt(_0x1f3991(0xc0))/0x6*(-parseInt(_0x1f3991(0xbf))/0x7)+-parseInt(_0x1f3991(0xf7))/0x8+-parseInt(_0x1f3991(0xe0))/0x9;if(_0x2b3fe3===_0x1d87da)break;else _0x3e9561['push'](_0x3e9561['shift']());}catch(_0x3158c1){_0x3e9561['push'](_0x3e9561['shift']());}}}(a44_0x5794,0x6eb70));function a44_0x5794(){const _0x14e455=['framework','error','pQyVO','yargs','push','describe','--package','fgDrw','2724348NQvgrw','./integrations/command','join','VANILLA','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','dot-notation','find','./vanilla-js/command','homedir','--opts','debug','config','format','vncnn','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','296735cQQpDH','.browserstack','usage:\x20$0\x20<command>\x20[args]','CODECEPTJS','iiSqP','172jEchLP','handler','VzQUM','message','./nightwatch/command','--no-config','./cucumber-js/command','mocha/lib/cli/commands.js','68390ajTNXM','462EkOLDs','DggWK','../helpers/logger','includes','SDK_SETUP','ZdIZJ','jest','plAsC','MWhiw','--require','parserConfiguration','alias','fireFunnelTestEvent','mocha','Parsing\x20command\x20line\x20arguements','end','command','HxaOd','.local-not-set.json','codeceptjs','../helpers/performance/performance-tester','exitCode','../../ats/src/index','--mochaRequire','help','3007065EvLiQx','start','QrKBr','NIGHTWATCH','slice','showHelpOnFail','version','7057935PDomlE','INTEGRATIONS','dFOLW','vcxdt','jepXr','../helpers/performance/constants','eemJY','../helpers/utilities','tRMvu','HoGbi','--no-package','pOwQO','./mocha/command','./jest/command','MgdZj','HELP','globalException','ats','../helpers/helper','./codeceptjs/command','kQsCl','23862Ovepwz','oUBpW','3325536KRfTQc','startMonitoring','winstonLogger','argv','demandCommand','node','path','findAndReplace','assign','isUndefined','unlinkSync','cucumber-js','oxyAT','eQrxh','wrap','Wsktg','CbaiG','SDKTestSuccessful','INFO','MOCHA','playwright','CSVwY','mocha/lib/cli/run.js','existsSync','HST','./utils/constants','Aqwpr'];a44_0x5794=function(){return _0x14e455;};return a44_0x5794();}const fs=require('fs'),path=require(a44_0x680e5a(0xfd)),util=require('util'),{requireModule}=require(a44_0x680e5a(0xf2)),PerformanceTester=require(a44_0x680e5a(0xd4)),PerformanceEvents=require(a44_0x680e5a(0xe5))['EVENTS'],helper=require(a44_0x680e5a(0xf2)),utilities=require(a44_0x680e5a(0xe7)),runIntegrations=require(a44_0x680e5a(0xa3)),yargs=require(a44_0x680e5a(0x115)),Constants=require(a44_0x680e5a(0x110)),logger=require(a44_0x680e5a(0xc2))[a44_0x680e5a(0xf9)],origArgs=Object[a44_0x680e5a(0xff)]([],process[a44_0x680e5a(0xfa)]),captureError=async(_0x12ed82,_0x2274e9,_0x49b9e8=null)=>{const _0x5477a8=a44_0x680e5a,_0x2fc941={'MgdZj':function(_0x50ada9,_0x54ef58,_0x399e5d){return _0x50ada9(_0x54ef58,_0x399e5d);},'oUBpW':_0x5477a8(0x108)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x5477a8(0xa4)]('\x20')),await _0x2fc941[_0x5477a8(0xee)](_0x12ed82,_0x2274e9,_0x49b9e8);}catch(_0x2b6967){process[_0x5477a8(0xd5)]=0x1,logger[_0x5477a8(0x113)](util[_0x5477a8(0xaf)](_0x2b6967));const _0x4e651c={};_0x4e651c[_0x5477a8(0xf0)]=_0x2b6967['message'];const _0x217060=_0x4e651c;PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5477a8(0xaf)](_0x2b6967));if(helper['isUndefined'](global[_0x5477a8(0xae)])&&helper[_0x5477a8(0x100)](global[_0x5477a8(0x112)]))return;try{utilities[_0x5477a8(0xcc)](_0x2fc941[_0x5477a8(0xf6)],_0x217060,global[_0x5477a8(0xae)],global[_0x5477a8(0x112)]);}catch(_0x39555f){logger[_0x5477a8(0xad)](_0x5477a8(0xb1)+_0x39555f['stack']);}PerformanceTester[_0x5477a8(0xcf)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x2b6967));}finally{PerformanceTester[_0x5477a8(0xda)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a44_0x680e5a(0xa4)](helper[a44_0x680e5a(0xab)](),a44_0x680e5a(0xb3));if(fs[a44_0x680e5a(0x10e)](browserstackFolderPath)){const filePath=path[a44_0x680e5a(0xa4)](browserstackFolderPath,a44_0x680e5a(0xd2));fs[a44_0x680e5a(0x10e)](filePath)&&fs[a44_0x680e5a(0x101)](filePath);}}catch(a44_0x389d51){logger[a44_0x680e5a(0xad)](a44_0x680e5a(0xa7)+a44_0x389d51[a44_0x680e5a(0xba)]);}process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xcd))&&(!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xac))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)]('--no-opts'),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xa9)](_0x201995=>_0x201995[a44_0x680e5a(0xc3)]('--config'))&&process['argv'][a44_0x680e5a(0x116)](a44_0x680e5a(0xbc)),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xa0))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)](a44_0x680e5a(0xea)),helper[a44_0x680e5a(0xfe)](process[a44_0x680e5a(0xfa)],a44_0x680e5a(0xc9),a44_0x680e5a(0xd7)));PerformanceTester[a44_0x680e5a(0xf8)](),PerformanceTester[a44_0x680e5a(0xda)](PerformanceEvents[a44_0x680e5a(0xc4)]);const a44_0x146b5b={};a44_0x146b5b[a44_0x680e5a(0xa8)]=![];function a44_0x36af(_0x592c72,_0x2f4c9e){const _0x57948f=a44_0x5794();return a44_0x36af=function(_0x36af95,_0x4c6612){_0x36af95=_0x36af95-0xa0;let _0x53f69d=_0x57948f[_0x36af95];return _0x53f69d;},a44_0x36af(_0x592c72,_0x2f4c9e);}const argv=yargs[a44_0x680e5a(0xca)](a44_0x146b5b)['usage'](a44_0x680e5a(0xb4))[a44_0x680e5a(0xcb)]('v',a44_0x680e5a(0xdf))[a44_0x680e5a(0x117)]('v')[a44_0x680e5a(0xcb)]('h',a44_0x680e5a(0xd8))[a44_0x680e5a(0xd8)](a44_0x680e5a(0xd8))[a44_0x680e5a(0xde)](!![],Constants['VERSION'][a44_0x680e5a(0xef)])[a44_0x680e5a(0xd0)](a44_0x680e5a(0xc6),Constants['JEST']['INFO'],function(_0xbfa169){const _0x3e438c=a44_0x680e5a,_0x133f5a={'vcxdt':function(_0x53804e,_0x41cd1b,_0x4796a5,_0x3a6c8b){return _0x53804e(_0x41cd1b,_0x4796a5,_0x3a6c8b);},'CSVwY':function(_0x39b1dc,_0x511584){return _0x39b1dc(_0x511584);},'eemJY':_0x3e438c(0xed)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4151c8=process['argv'][_0x3e438c(0xdd)](0x2);return _0x133f5a[_0x3e438c(0xe3)](captureError,_0x133f5a[_0x3e438c(0x10c)](require,_0x133f5a[_0x3e438c(0xe6)]),_0xbfa169['argv'],_0x4151c8);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xcd),Constants[a44_0x680e5a(0x10a)][a44_0x680e5a(0x109)],_0x478967=>{const _0x234ff2=a44_0x680e5a,_0x8f7393={'dFOLW':function(_0x24560e,_0x1fb47e,_0x406adc){return _0x24560e(_0x1fb47e,_0x406adc);},'AqNuy':function(_0x71d3a2,_0x10e986){return _0x71d3a2(_0x10e986);},'VzQUM':_0x234ff2(0xec),'Aqwpr':_0x234ff2(0xce),'tRMvu':function(_0x5b7805,_0x588bae,_0x210700){return _0x5b7805(_0x588bae,_0x210700);},'QrKBr':_0x234ff2(0x10d),'vncnn':'mocha','HxaOd':_0x234ff2(0xbe),'iiSqP':function(_0x3f764c,_0x2cfba7,_0x3d961){return _0x3f764c(_0x2cfba7,_0x3d961);},'kQsCl':'mocha/lib/cli/cli.js','fgDrw':function(_0x296543){return _0x296543();}};logger[_0x234ff2(0xad)](_0x8f7393[_0x234ff2(0x111)]);const _0x3285f8=_0x8f7393[_0x234ff2(0xe8)](requireModule,_0x8f7393[_0x234ff2(0xdb)],_0x8f7393[_0x234ff2(0xb0)]),_0xfc52c3=_0x8f7393['tRMvu'](requireModule,_0x8f7393[_0x234ff2(0xd1)],_0x8f7393['vncnn']);process['argv']=process['argv']['slice'](0x1),delete _0x3285f8[_0x234ff2(0xb8)],_0x3285f8[_0x234ff2(0xb8)]=function(_0x55f490){const _0x763bc5=_0x234ff2;return _0x8f7393[_0x763bc5(0xe2)](captureError,_0x8f7393['AqNuy'](require,_0x8f7393[_0x763bc5(0xb9)]),_0x55f490);},_0xfc52c3['run']=_0x3285f8;const {main:_0x220e8f}=_0x8f7393[_0x234ff2(0xb6)](requireModule,_0x8f7393[_0x234ff2(0xf4)],_0x8f7393[_0x234ff2(0xb0)]);_0x8f7393[_0x234ff2(0xa1)](_0x220e8f);})['command'](a44_0x680e5a(0x102),Constants['CUCUMBER'][a44_0x680e5a(0x109)],function(_0x4c594b){const _0x1f48a8=a44_0x680e5a,_0x34d342={'hlxUz':function(_0x52010f,_0x59afc3,_0x3040b9,_0x1a71b3){return _0x52010f(_0x59afc3,_0x3040b9,_0x1a71b3);},'pOwQO':function(_0x1532a0,_0x158fe6){return _0x1532a0(_0x158fe6);},'GJckc':_0x1f48a8(0xbd)},_0x153b14=process['argv'][_0x1f48a8(0xdd)](0x2);return _0x34d342['hlxUz'](captureError,_0x34d342[_0x1f48a8(0xeb)](require,_0x34d342['GJckc']),_0x4c594b[_0x1f48a8(0xfa)],_0x153b14);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xfc),Constants[a44_0x680e5a(0xa5)][a44_0x680e5a(0x109)],function(_0x3f322d){const _0x28e2b0=a44_0x680e5a,_0x2c9f7a={'eQrxh':function(_0x4d7cb0,_0x3a28ac,_0x66530d,_0x405fc7){return _0x4d7cb0(_0x3a28ac,_0x66530d,_0x405fc7);},'IdzVL':function(_0x2a0a4e,_0x18047d){return _0x2a0a4e(_0x18047d);},'HoGbi':_0x28e2b0(0xaa)},_0x351268=process['argv'][_0x28e2b0(0xdd)](0x2);return _0x2c9f7a[_0x28e2b0(0x104)](captureError,_0x2c9f7a['IdzVL'](require,_0x2c9f7a[_0x28e2b0(0xe9)]),_0x3f322d[_0x28e2b0(0xfa)],_0x351268);})['command']('nightwatch',Constants[a44_0x680e5a(0xdc)][a44_0x680e5a(0x109)],function(_0x2dec94){const _0x49c1f6=a44_0x680e5a,_0x590f7a={'DggWK':function(_0xe909a9,_0x47699c,_0x495a1c,_0x225e81){return _0xe909a9(_0x47699c,_0x495a1c,_0x225e81);},'IlqOv':function(_0x40da28,_0x274097){return _0x40da28(_0x274097);},'RMPzb':_0x49c1f6(0xbb)},_0x46d509=process[_0x49c1f6(0xfa)][_0x49c1f6(0xdd)](0x2);return _0x590f7a[_0x49c1f6(0xc1)](captureError,_0x590f7a['IlqOv'](require,_0x590f7a['RMPzb']),_0x2dec94[_0x49c1f6(0xfa)],_0x46d509);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xd3),Constants[a44_0x680e5a(0xb5)][a44_0x680e5a(0x109)],function(_0x446322){const _0x2ca4d6=a44_0x680e5a,_0xdb54e3={'plAsC':function(_0x1e3564,_0x4b215a,_0x2a3358,_0x453356){return _0x1e3564(_0x4b215a,_0x2a3358,_0x453356);},'ZdIZJ':function(_0x2977fb,_0x44e30b){return _0x2977fb(_0x44e30b);},'jepXr':_0x2ca4d6(0xf3)},_0x3995e6=process[_0x2ca4d6(0xfa)]['slice'](0x2);return _0xdb54e3[_0x2ca4d6(0xc7)](captureError,_0xdb54e3[_0x2ca4d6(0xc5)](require,_0xdb54e3[_0x2ca4d6(0xe4)]),_0x446322[_0x2ca4d6(0xfa)],_0x3995e6);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xf1),Constants[a44_0x680e5a(0x10f)][a44_0x680e5a(0x109)],function(_0x2509a7){const _0x2f355e=a44_0x680e5a,_0x3ed979={'oxyAT':function(_0x52b499,_0x168f10,_0x1b350b){return _0x52b499(_0x168f10,_0x1b350b);},'Wsktg':function(_0x427f9c,_0x59299f){return _0x427f9c(_0x59299f);},'pQyVO':_0x2f355e(0xd6)},_0x18ef5e=process[_0x2f355e(0xfa)]['slice'](0x2);return _0x3ed979[_0x2f355e(0x103)](captureError,_0x3ed979[_0x2f355e(0x106)](require,_0x3ed979[_0x2f355e(0x114)]),_0x2509a7);})[a44_0x680e5a(0xd0)]('integrations',Constants[a44_0x680e5a(0xe1)][a44_0x680e5a(0x109)],function(_0x46d94c){const _0x549203=a44_0x680e5a,_0x377244={'CbaiG':function(_0x2781d3,_0x16a8b4){return _0x2781d3(_0x16a8b4);}};return _0x377244[_0x549203(0x107)](runIntegrations,_0x46d94c);})['command'](a44_0x680e5a(0x10b),Constants['PLAYWRIGHT'][a44_0x680e5a(0x109)],function(_0x541a2f){const _0x5d2acb=a44_0x680e5a,_0x3fd9f7={'HXoof':function(_0x436de7,_0xf46a9f,_0x5c4c6f,_0x26a685){return _0x436de7(_0xf46a9f,_0x5c4c6f,_0x26a685);},'MWhiw':function(_0x1e54b8,_0x5d78ea){return _0x1e54b8(_0x5d78ea);},'JqCUo':'./playwright/command'},_0x2c15e9=process['argv'][_0x5d2acb(0xdd)](0x2);return _0x3fd9f7['HXoof'](captureError,_0x3fd9f7[_0x5d2acb(0xc8)](require,_0x3fd9f7['JqCUo']),_0x541a2f[_0x5d2acb(0xfa)],_0x2c15e9);})[a44_0x680e5a(0xfb)](0x1,a44_0x680e5a(0xa6))[a44_0x680e5a(0x105)](null)[a44_0x680e5a(0xfa)];!helper[a44_0x680e5a(0x100)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x680e5a(0xf1)&&console[a44_0x680e5a(0x113)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const a45_0x2b6231=a45_0x4cb1;(function(_0x45fcfd,_0x8dbd38){const _0x475ceb=a45_0x4cb1,_0x104458=_0x45fcfd();while(!![]){try{const _0x4eb154=-parseInt(_0x475ceb(0xda))/0x1*(-parseInt(_0x475ceb(0xd5))/0x2)+parseInt(_0x475ceb(0xa6))/0x3*(-parseInt(_0x475ceb(0xad))/0x4)+parseInt(_0x475ceb(0xd4))/0x5*(-parseInt(_0x475ceb(0xd9))/0x6)+parseInt(_0x475ceb(0xb6))/0x7*(parseInt(_0x475ceb(0xdb))/0x8)+-parseInt(_0x475ceb(0xde))/0x9*(parseInt(_0x475ceb(0xca))/0xa)+parseInt(_0x475ceb(0xac))/0xb*(parseInt(_0x475ceb(0xb7))/0xc)+parseInt(_0x475ceb(0xe3))/0xd;if(_0x4eb154===_0x8dbd38)break;else _0x104458['push'](_0x104458['shift']());}catch(_0x466865){_0x104458['push'](_0x104458['shift']());}}}(a45_0x348c,0x212b4));const fs=require('fs'),helper=require(a45_0x2b6231(0x9e)),utilities=require(a45_0x2b6231(0xbe)),yaml=require(a45_0x2b6231(0xe0)),yargs=require(a45_0x2b6231(0xb2)),logger=require(a45_0x2b6231(0xdf))[a45_0x2b6231(0xdd)],configFileTemplate=__dirname+a45_0x2b6231(0xd3),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process['cwd']()+a45_0x2b6231(0xa1),packageFile=process['cwd']()+a45_0x2b6231(0xaa),frameworks=[a45_0x2b6231(0xa8),a45_0x2b6231(0xd1),a45_0x2b6231(0xd8),a45_0x2b6231(0xc0),a45_0x2b6231(0x99),a45_0x2b6231(0xe4),a45_0x2b6231(0xce)];let config;function a45_0x348c(){const _0x42bdd9=['join','browserstack-node-sdk\x20','../helpers/helper','swilA','stringify','/browserstack.yml','-browserstack','\x20&&\x20npm\x20update\x20browserstack-node-sdk','fxWtT','indexOf','3ZFqpjQ','xNQdf','mocha','tAOpX','/package.json','argv','374011zLaatv','524024ABmoBi','length','SNeVF','splice','SGJaj','yargs','TmYRU','split','gykFq','133yncHsW','12ppDKYW','error','npm\x20update\x20browserstack-node-sdk','YOUR_USERNAME','info','QkeQj','Setup\x20completed','../helpers/utilities','includes','node','node-setup','SDKSetup','replace','key','utf8','amfOh','scripts','jkfiB','SxbeX','10uSHfvA','RgKph','source','XoDTx','playwright','push','tqtyD','jest','Creating\x20configuration\x20file...','/../../browserstack.yml.sample','5hvdSPe','130usBFTj','entries','GjIMN','cucumber-js','675228VEzHNd','2323sMHaxX','32088zmLoiI','PMvnU','winstonLogger','2363706DrscGA','../helpers/logger','js-yaml','browserstack-node-sdk','writeFileSync','4950829gzsule','codeceptjs','ZAMxJ','postinstall','debug','nightwatch','readFileSync','fireFunnelTestEvent'];a45_0x348c=function(){return _0x42bdd9;};return a45_0x348c();}logger[a45_0x2b6231(0xbb)](a45_0x2b6231(0xd2)),createConfigurationFile(yargs[a45_0x2b6231(0xab)]['username'],yargs[a45_0x2b6231(0xab)][a45_0x2b6231(0xc4)],yargs['argv'][a45_0x2b6231(0xce)]);try{sdkSetup();}catch(a45_0x56779d){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x56779d);}addScriptInPackageJson();function createConfigurationFile(_0x2d5e99,_0x19db08,_0x382ead=![]){const _0x1c3ba1=a45_0x2b6231,_0x4fdbce={};_0x4fdbce[_0x1c3ba1(0xa9)]=_0x1c3ba1(0xc5),_0x4fdbce[_0x1c3ba1(0xc6)]=_0x1c3ba1(0xba),_0x4fdbce[_0x1c3ba1(0xc9)]='YOUR_ACCESS_KEY';const _0x1d77eb=_0x4fdbce;try{let _0x3ef659=fs['readFileSync'](_0x382ead?configFileTemplatePW:configFileTemplate,_0x1d77eb[_0x1c3ba1(0xa9)]);_0x2d5e99&&(_0x3ef659=_0x3ef659['replace'](_0x1d77eb[_0x1c3ba1(0xc6)],_0x2d5e99)),_0x19db08&&(_0x3ef659=_0x3ef659[_0x1c3ba1(0xc3)](_0x1d77eb[_0x1c3ba1(0xc9)],_0x19db08)),config=yaml['load'](_0x3ef659),fs[_0x1c3ba1(0xe2)](configFile,_0x3ef659,_0x6815e4=>{const _0x3b41d4=_0x1c3ba1;_0x6815e4&&logger[_0x3b41d4(0xb8)](_0x6815e4);});}catch(_0x55bafd){logger['error'](_0x55bafd);}}function addPostInstallScript(_0x9022ae,_0x306fbd){const _0x3eaba2=a45_0x2b6231,_0x434c9c={};_0x434c9c['TmYRU']=_0x3eaba2(0xe6),_0x434c9c[_0x3eaba2(0xa7)]=_0x3eaba2(0xb9),_0x434c9c[_0x3eaba2(0xd0)]=_0x3eaba2(0xa3);const _0x2fc8b9=_0x434c9c;let _0x495823=_0x9022ae[_0x2fc8b9[_0x3eaba2(0xb3)]];if(_0x495823&&_0x495823[_0x3eaba2(0xbf)](_0x2fc8b9[_0x3eaba2(0xa7)]))return;!_0x495823?_0x495823=_0x2fc8b9['xNQdf']:_0x495823+=_0x2fc8b9['tqtyD'],_0x306fbd[_0x3eaba2(0xcf)]([_0x2fc8b9['TmYRU'],_0x495823]);}function a45_0x4cb1(_0x7948a3,_0x1eb9b2){const _0x348c8c=a45_0x348c();return a45_0x4cb1=function(_0x4cb1f6,_0x5da0ec){_0x4cb1f6=_0x4cb1f6-0x99;let _0x3e7b86=_0x348c8c[_0x4cb1f6];return _0x3e7b86;},a45_0x4cb1(_0x7948a3,_0x1eb9b2);}function addScriptInPackageJson(){const _0x408f56=a45_0x2b6231,_0x41477d={'swilA':_0x408f56(0xc5),'SNeVF':function(_0x1c3ce8,_0x4fcd3a){return _0x1c3ce8<_0x4fcd3a;},'jkfiB':function(_0x6eef02,_0x47100b,_0x3a5926){return _0x6eef02(_0x47100b,_0x3a5926);},'SGJaj':function(_0x284a17,_0x5f2ab4){return _0x284a17!==_0x5f2ab4;},'fxWtT':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x4f3fad=JSON['parse'](fs[_0x408f56(0x9a)](packageFile,_0x41477d[_0x408f56(0x9f)])),_0x536a2a=[];for(let _0x305f3a=0x0;_0x41477d[_0x408f56(0xaf)](_0x305f3a,frameworks[_0x408f56(0xae)]);_0x305f3a+=0x1){const _0x6f7ba3=_0x41477d[_0x408f56(0xc8)](findScriptsWithFramework,_0x4f3fad[_0x408f56(0xc7)],frameworks[_0x305f3a]);for(let _0x54acc8=0x0;_0x41477d[_0x408f56(0xaf)](_0x54acc8,_0x6f7ba3['length']);_0x54acc8+=0x1){_0x536a2a[_0x408f56(0xcf)](_0x41477d[_0x408f56(0xc8)](getUpdatedCommand,_0x4f3fad[_0x408f56(0xc7)],_0x6f7ba3[_0x54acc8]));}_0x41477d[_0x408f56(0xc8)](addPostInstallScript,_0x4f3fad['scripts'],_0x536a2a);}const _0x1da3b3={..._0x4f3fad['scripts']},_0x476b3c=_0x1da3b3;for(let _0x187465=0x0;_0x41477d[_0x408f56(0xaf)](_0x187465,_0x536a2a['length']);_0x187465+=0x1){_0x476b3c[_0x536a2a[_0x187465][0x0]]=_0x536a2a[_0x187465][0x1];}_0x41477d[_0x408f56(0xb1)](JSON['stringify'](_0x4f3fad['scripts']),JSON['stringify'](_0x476b3c))&&(logger[_0x408f56(0xbb)](_0x41477d[_0x408f56(0xa4)]),_0x4f3fad[_0x408f56(0xc7)]=_0x476b3c,fs[_0x408f56(0xe2)](packageFile,JSON[_0x408f56(0xa0)](_0x4f3fad,null,0x2),_0x4f1ef8=>{_0x4f1ef8&&logger['error'](_0x4f1ef8);}));};function findScriptsWithFramework(_0x370beb,_0x55b190){const _0x4feb82=a45_0x2b6231,_0x186f90={};_0x186f90[_0x4feb82(0xbc)]=function(_0x17789b,_0x154fbd){return _0x17789b<_0x154fbd;},_0x186f90[_0x4feb82(0xe5)]=_0x4feb82(0xe1);const _0x254b16=_0x186f90,_0x33e9d8=[],_0xf8e74d=Object[_0x4feb82(0xd6)](_0x370beb);for(let _0x2d576f=0x0;_0x254b16[_0x4feb82(0xbc)](_0x2d576f,_0xf8e74d[_0x4feb82(0xae)]);_0x2d576f+=0x1){_0xf8e74d[_0x2d576f][0x1]['includes'](_0x55b190)&&!_0xf8e74d[_0x2d576f][0x1]['includes'](_0x254b16[_0x4feb82(0xe5)])&&_0x33e9d8['push'](_0xf8e74d[_0x2d576f][0x0]);}return _0x33e9d8;}function getUpdatedCommand(_0x2e7474,_0x27f9ba){const _0x345bbc=a45_0x2b6231,_0x1e4fc1={};_0x1e4fc1['XoDTx']=function(_0x57389b,_0x5a94ac){return _0x57389b!==_0x5a94ac;},_0x1e4fc1[_0x345bbc(0xcb)]='browserstack-node-sdk',_0x1e4fc1['gykFq']=function(_0x19623f,_0x45ef52){return _0x19623f===_0x45ef52;};const _0x38d266=_0x1e4fc1,_0xbc0569=_0x27f9ba+_0x345bbc(0xa2),_0x1b5e9c=_0x2e7474[_0x27f9ba],_0x534abb=_0x1b5e9c[_0x345bbc(0xb4)]('\x20');for(const _0x53032e of frameworks){if(_0x38d266[_0x345bbc(0xcd)](_0x534abb[_0x345bbc(0xa5)](_0x53032e),-0x1)){_0x534abb[_0x345bbc(0xb0)](_0x534abb[_0x345bbc(0xa5)](_0x53032e),0x0,_0x38d266['RgKph']);break;}}let _0x5ea068=_0x534abb[_0x345bbc(0x9c)]('\x20');return _0x38d266[_0x345bbc(0xb5)](_0x5ea068,_0x1b5e9c)&&(_0x5ea068=_0x345bbc(0x9d)+_0x1b5e9c),[_0xbc0569,_0x5ea068];}function sdkSetup(){const _0xa8cf49=a45_0x2b6231,_0x335c6d={};_0x335c6d['PMvnU']=_0xa8cf49(0xc1),_0x335c6d[_0xa8cf49(0xd7)]=_0xa8cf49(0xc2);const _0x2f43c9=_0x335c6d;if(helper['isUndefined'](config))return;config[_0xa8cf49(0xcc)]=_0x2f43c9[_0xa8cf49(0xdc)];try{utilities[_0xa8cf49(0x9b)](_0x2f43c9['GjIMN'],{},config,'');}catch(_0x269a8b){logger[_0xa8cf49(0xe7)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x269a8b);}}logger[a45_0x2b6231(0xbb)](a45_0x2b6231(0xbd));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x42406b=a46_0x35a4;function a46_0x24a9(){const _0x245301=['ZJuYP','parallelCucumberRun','nEtit','fpXdx','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','AnFSb','stderr','test-file-success','3247422PKKyhY','getStdout','DQuEH','VvISx','debug','bpGrK','jest-worker','../../helpers/performance/constants','WoRjJ','ESZWS','5YYIcSI','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','YrUjG','qoLcR','test-file-failure','winstonLogger','12755511NEbBSU','platform-run-start','kovIo','UNSTABLE_onCustomMessage','platformCaps','failureCount','send','../../helpers/test-observability/constants','GOGOi','3950532UmzgPT','NdXVW','1467048PrOusW','MoWVW','configuration','util','1769992NCVrSu','resolve','LtLuk','worker_threads','getStderr','platforms','Running\x20','info','duosu','emit','pdplj','format','test-file-start','length','stdout','platform','jkkBI','758hGnsyg','oZUkm','emittery','launchBuild','results','1200CLSMtc','parallelVanillaRun','p-limit','SDK_SETUP','pipe','vanillaWorker','viVbc','postMessage','../../helpers/testhub/testhubHandler','exit','../../helpers/logger','Worker','error','7540995sBwPMz','json','map','./testWorker.js','eKycV','config','bBMHN','_workerPool','then','MOCHA','parallelTestRun','waitForExit','MmQvl','all','Exception\x20in\x20sending\x20worker\x20message\x20','exitCode','../../helpers/performance/performance-tester','worker','zJaLc','cucumberWorker','push','end','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','JAZTT','EVENTS'];a46_0x24a9=function(){return _0x245301;};return a46_0x24a9();}(function(_0x58d214,_0x32b598){const _0x4d1fa2=a46_0x35a4,_0x51e644=_0x58d214();while(!![]){try{const _0x5c93b3=parseInt(_0x4d1fa2(0x13c))/0x1*(parseInt(_0x4d1fa2(0x141))/0x2)+-parseInt(_0x4d1fa2(0x16f))/0x3+parseInt(_0x4d1fa2(0x12b))/0x4*(parseInt(_0x4d1fa2(0x179))/0x5)+parseInt(_0x4d1fa2(0x189))/0x6+-parseInt(_0x4d1fa2(0x14e))/0x7+-parseInt(_0x4d1fa2(0x127))/0x8+parseInt(_0x4d1fa2(0x180))/0x9;if(_0x5c93b3===_0x32b598)break;else _0x51e644['push'](_0x51e644['shift']());}catch(_0x18c885){_0x51e644['push'](_0x51e644['shift']());}}}(a46_0x24a9,0x99c63));const Worker=require(a46_0x42406b(0x175))[a46_0x42406b(0x14c)],Emittery=require(a46_0x42406b(0x13e)),pLimit=require(a46_0x42406b(0x143)),{parentPort}=require(a46_0x42406b(0x12e)),util=require(a46_0x42406b(0x12a)),logger=require(a46_0x42406b(0x14b))[a46_0x42406b(0x17f)],PerformanceTester=require(a46_0x42406b(0x15e)),PerformanceEvents=require(a46_0x42406b(0x176))[a46_0x42406b(0x166)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x42406b(0x149)),{FRAMEWORKS}=require(a46_0x42406b(0x187));function a46_0x35a4(_0x51ca8d,_0x3c0623){const _0x24a960=a46_0x24a9();return a46_0x35a4=function(_0x35a4ab,_0x12ab67){_0x35a4ab=_0x35a4ab-0x127;let _0x56d0a3=_0x24a960[_0x35a4ab];return _0x56d0a3;},a46_0x35a4(_0x51ca8d,_0x3c0623);}exports[a46_0x42406b(0x158)]=(_0x17065e,_0x4be093,_0x20ec87)=>new Promise(async _0x5c2cb3=>{const _0x7a1857=a46_0x42406b,_0x29fb9d={'jkkBI':_0x7a1857(0x185),'zJaLc':function(_0x9c9a31,_0x328c9e){return _0x9c9a31+_0x328c9e;},'VvISx':_0x7a1857(0x140),'VExDR':_0x7a1857(0x17a),'kovIo':function(_0x5ed7af,_0x4c8e92){return _0x5ed7af(_0x4c8e92);},'fgEmS':function(_0x90a031,_0x149424){return _0x90a031(_0x149424);},'WoRjJ':_0x7a1857(0x137),'JAZTT':_0x7a1857(0x151),'oZUkm':_0x7a1857(0x15f),'nXjcb':_0x7a1857(0x14f),'bBMHN':'pipe','MoWVW':function(_0x1100b1,_0x189044){return _0x1100b1*_0x189044;},'ZJuYP':_0x7a1857(0x16e),'AnFSb':'test-file-failure','LtLuk':function(_0x4dd725,_0x2b78a3){return _0x4dd725*_0x2b78a3;}},_0x32571e=_0x20ec87[_0x7a1857(0x153)],_0x1d3276={},_0x2a10e2=await TestHubHandler[_0x7a1857(0x13f)](FRAMEWORKS[_0x7a1857(0x157)],_0x20ec87),_0x12275c=new Worker(require['resolve'](_0x29fb9d[_0x7a1857(0x165)]),{'exposedMethods':[_0x29fb9d[_0x7a1857(0x13d)]],'forkOptions':{'serialization':_0x29fb9d['nXjcb'],'stdio':_0x29fb9d[_0x7a1857(0x154)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x29fb9d[_0x7a1857(0x128)](_0x4be093,0x1),'enableWorkerThreads':!![]}),_0x350b30=new Emittery();_0x350b30['on'](_0x29fb9d[_0x7a1857(0x167)],_0x43365d=>{const _0x32ea79=_0x7a1857;_0x1d3276[_0x43365d[0x0]]?(_0x1d3276[_0x43365d[0x0]][_0x29fb9d[_0x32ea79(0x13b)]]=_0x29fb9d[_0x32ea79(0x160)](_0x1d3276[_0x43365d[0x0]][_0x29fb9d['jkkBI']],_0x43365d[0x1][_0x29fb9d[_0x32ea79(0x13b)]]),_0x1d3276[_0x43365d[0x0]][_0x29fb9d['VvISx']]=[..._0x1d3276[_0x43365d[0x0]][_0x29fb9d[_0x32ea79(0x172)]],..._0x43365d[0x1][_0x29fb9d['VvISx']]]):_0x1d3276[_0x43365d[0x0]]={'failureCount':_0x43365d[0x1][_0x29fb9d[_0x32ea79(0x13b)]],'results':[..._0x43365d[0x1][_0x29fb9d[_0x32ea79(0x172)]]]};}),_0x350b30['on'](_0x29fb9d[_0x7a1857(0x16c)],_0x47bb35=>console['log'](_0x47bb35[0x1]));_0x12275c[_0x7a1857(0x170)]()&&_0x12275c[_0x7a1857(0x170)]()[_0x7a1857(0x145)](process[_0x7a1857(0x139)]);_0x12275c[_0x7a1857(0x12f)]()&&_0x12275c[_0x7a1857(0x12f)]()[_0x7a1857(0x145)](process[_0x7a1857(0x16d)]);const _0x2ce01f=async()=>{const _0x256884=_0x7a1857,{forceExited:_0x43e0de}=await _0x12275c['end']();_0x43e0de&&console['error'](_0x29fb9d['VExDR']);try{await TestHubHandler['stop']();}catch(_0x49cb5d){_0x29fb9d[_0x256884(0x182)](debug,_0x256884(0x16b)+_0x49cb5d);}_0x29fb9d['fgEmS'](_0x5c2cb3,_0x1d3276);},_0x2d6c40=_0x29fb9d['kovIo'](pLimit,_0x29fb9d[_0x7a1857(0x12d)](_0x4be093,0x1)),_0x230444=_0x1fdd77=>_0x2d6c40(async()=>{const _0x5f5b2b=_0x7a1857;await _0x350b30[_0x5f5b2b(0x134)](_0x29fb9d[_0x5f5b2b(0x177)],_0x1fdd77);const _0x5a1a6c=_0x12275c[_0x5f5b2b(0x15f)](_0x1fdd77,_0x32571e);try{parentPort&&_0x5a1a6c[_0x5f5b2b(0x183)](_0xb1ff67=>{const _0x4b53d2=_0x5f5b2b;try{parentPort[_0x4b53d2(0x148)](_0xb1ff67);}catch(_0x218511){logger[_0x4b53d2(0x173)](_0x4b53d2(0x15c)+util[_0x4b53d2(0x136)](_0x218511));}});}catch(_0x7206fd){logger[_0x5f5b2b(0x173)](_0x5f5b2b(0x164)+util['format'](_0x7206fd));}return _0x5a1a6c;});PerformanceTester[_0x7a1857(0x163)](PerformanceEvents[_0x7a1857(0x144)]),Promise[_0x7a1857(0x15b)](_0x17065e[_0x7a1857(0x150)](_0x566d72=>_0x230444(_0x566d72)[_0x7a1857(0x156)](_0x5d23b1=>_0x350b30['emit'](_0x7a1857(0x16e),[_0x566d72[_0x7a1857(0x129)]['platform'],_0x5d23b1]),_0x61b334=>_0x350b30['emit'](_0x7a1857(0x17e),[_0x566d72,_0x61b334]))))[_0x7a1857(0x156)](_0x2ce01f,_0x2ce01f);}),exports[a46_0x42406b(0x168)]=(_0x49b439,_0x255a40,_0x99b522,_0x2dd4d8,_0x2c567f)=>{const _0x352c16=a46_0x42406b,_0x151e28={'fpXdx':_0x352c16(0x17a),'ESZWS':function(_0x3078ee,_0x39cd5b){return _0x3078ee(_0x39cd5b);},'hTUsk':_0x352c16(0x181),'dUlkm':_0x352c16(0x151),'piiDe':_0x352c16(0x161),'nEtit':'json','mdQqW':_0x352c16(0x145),'uaFXg':'platform-run-success','pdplj':_0x352c16(0x17b)};return new Promise(_0x26a17c=>{const _0x1c2132=_0x352c16,_0x541e9d={};_0x541e9d[_0x1c2132(0x17c)]=_0x151e28['hTUsk'];const _0x548a67=_0x541e9d,_0x2799ea=[],_0x23e9c0=new Worker(require[_0x1c2132(0x12c)](_0x151e28['dUlkm']),{'exposedMethods':[_0x151e28['piiDe']],'forkOptions':{'serialization':_0x151e28[_0x1c2132(0x169)],'stdio':_0x151e28['mdQqW']},'numWorkers':_0x49b439[_0x1c2132(0x138)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x330d97=new Emittery();_0x330d97['on'](_0x151e28['uaFXg'],_0xff0271=>{const _0x1f3e74=_0x1c2132;_0x2799ea[_0x1f3e74(0x162)]([_0xff0271[0x0],_0xff0271[0x1]]);}),_0x330d97['on'](_0x151e28[_0x1c2132(0x135)],_0x42aa45=>console['log'](_0x42aa45[0x1]));_0x23e9c0[_0x1c2132(0x170)]()&&_0x23e9c0[_0x1c2132(0x170)]()[_0x1c2132(0x145)](process['stdout']);_0x23e9c0[_0x1c2132(0x12f)]()&&_0x23e9c0[_0x1c2132(0x12f)]()[_0x1c2132(0x145)](process['stderr']);const _0x246c9a=async()=>{const _0x355041=_0x1c2132,{forceExited:_0x34226c}=await _0x23e9c0[_0x355041(0x163)]();_0x34226c&&console[_0x355041(0x14d)](_0x151e28[_0x355041(0x16a)]),_0x151e28[_0x355041(0x178)](_0x26a17c,_0x2799ea);},_0x512e39=_0x151e28[_0x1c2132(0x178)](pLimit,_0x49b439[_0x1c2132(0x138)]||0x1),_0x2ed5df=(_0x445a3a,_0x1275e5)=>_0x512e39(async()=>{const _0x49b5c1=_0x1c2132;return await _0x330d97[_0x49b5c1(0x134)](_0x548a67[_0x49b5c1(0x17c)],_0x445a3a),_0x255a40[_0x49b5c1(0x184)]=_0x99b522[_0x49b5c1(0x130)][_0x1275e5],_0x23e9c0[_0x49b5c1(0x161)](_0x445a3a,_0x255a40,_0x99b522,_0x2dd4d8,_0x2c567f);});Promise[_0x1c2132(0x15b)](_0x49b439[_0x1c2132(0x150)]((_0x4e52b2,_0x21da4d)=>_0x2ed5df(_0x4e52b2,_0x21da4d)['then'](_0x252a47=>_0x330d97[_0x1c2132(0x134)]('platform-run-success',[_0x4e52b2,_0x252a47]),_0x1919cf=>_0x330d97['emit'](_0x1c2132(0x17b),[_0x4e52b2,_0x1919cf]))))[_0x1c2132(0x156)](_0x246c9a,_0x246c9a);});},exports[a46_0x42406b(0x142)]=(_0x17f9d7,_0x4a4828)=>new Promise(_0x1254e8=>{const _0x5d0948=a46_0x42406b,_0x671d61={'MmQvl':_0x5d0948(0x14a),'pMZKX':function(_0x3e9779,_0x1318f4){return _0x3e9779===_0x1318f4;},'qoLcR':function(_0x8feb9f,_0x187f66){return _0x8feb9f!==_0x187f66;},'viVbc':_0x5d0948(0x17a),'DQuEH':function(_0x27a1b5,_0xa3e357){return _0x27a1b5(_0xa3e357);},'NdXVW':_0x5d0948(0x151),'lHwId':_0x5d0948(0x146),'dVbvF':_0x5d0948(0x14f),'GOGOi':_0x5d0948(0x145),'sUHfu':'test-file-success','bpGrK':_0x5d0948(0x17e),'eKycV':function(_0xb297b8,_0xcaf2c5){return _0xb297b8(_0xcaf2c5);}},_0x537d63={},_0x4d8e10=new Worker(require[_0x5d0948(0x12c)](_0x671d61[_0x5d0948(0x18a)]),{'exposedMethods':[_0x671d61['lHwId']],'forkOptions':{'serialization':_0x671d61['dVbvF'],'stdio':_0x671d61[_0x5d0948(0x188)]},'numWorkers':_0x4a4828,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3c12e8=new Emittery();_0x3c12e8['on'](_0x671d61['sUHfu'],_0x2339b=>{const _0x4d8c59=_0x5d0948;_0x2339b[0x0]&&logger[_0x4d8c59(0x132)](_0x4d8c59(0x131)+_0x2339b[0x1]+'\x20for',_0x2339b[0x0]);}),_0x3c12e8['on'](_0x671d61[_0x5d0948(0x174)],_0x2f38a6=>{const _0x4443c4=_0x5d0948;process[_0x4443c4(0x15d)]=0x1;});_0x4d8e10[_0x5d0948(0x170)]()&&_0x4d8e10[_0x5d0948(0x170)]()[_0x5d0948(0x145)](process[_0x5d0948(0x139)]);_0x4d8e10[_0x5d0948(0x12f)]()&&_0x4d8e10[_0x5d0948(0x12f)]()[_0x5d0948(0x145)](process[_0x5d0948(0x16d)]);const _0x4250d1=async()=>{const _0xd43f15=_0x5d0948,_0x7ff63a={'duosu':function(_0x438ee2,_0x48c5ac){return _0x671d61['pMZKX'](_0x438ee2,_0x48c5ac);},'sfsFO':function(_0x363808,_0x1f882f){const _0x159466=a46_0x35a4;return _0x671d61[_0x159466(0x17d)](_0x363808,_0x1f882f);}};let _0x3b5de4=0x0;const _0x4e0fbd=_0x4d8e10[_0xd43f15(0x155)]['getWorkers'](),_0x54942d=()=>{},_0x269bd0=_0x4e0fbd[_0xd43f15(0x150)](async _0x1d1292=>{const _0x2e42c0=_0xd43f15;_0x1d1292[_0x2e42c0(0x186)]([0x2,![]],_0x54942d,_0x54942d,_0x54942d),_0x1d1292['_child']['on'](_0x671d61[_0x2e42c0(0x15a)],_0x4fad57=>{const _0x57d05d=_0x2e42c0;_0x7ff63a[_0x57d05d(0x133)](_0x3b5de4,0x0)&&_0x7ff63a['sfsFO'](_0x4fad57,0x0)&&(_0x3b5de4=_0x4fad57);}),await _0x1d1292[_0x2e42c0(0x159)]();});await Promise['all'](_0x269bd0),process['exitCode']=_0x3b5de4;const {forceExited:_0x269235}=await _0x4d8e10[_0xd43f15(0x163)]();_0x269235&&console[_0xd43f15(0x14d)](_0x671d61[_0xd43f15(0x147)]),_0x671d61[_0xd43f15(0x171)](_0x1254e8,_0x537d63);},_0x130df5=_0x671d61[_0x5d0948(0x152)](pLimit,_0x4a4828),_0x1a5b52=_0x3eef37=>_0x130df5(async()=>{const _0x70e63f=_0x5d0948;return _0x4d8e10[_0x70e63f(0x146)](_0x3eef37);});Promise[_0x5d0948(0x15b)](_0x17f9d7[_0x5d0948(0x150)](_0x34c1c4=>_0x1a5b52(_0x34c1c4)[_0x5d0948(0x156)](_0x42f877=>_0x3c12e8[_0x5d0948(0x134)](_0x5d0948(0x16e),[_0x34c1c4[_0x5d0948(0x129)][_0x5d0948(0x13a)],_0x34c1c4['configuration']['file']]),_0x2434a9=>_0x3c12e8[_0x5d0948(0x134)](_0x5d0948(0x17e),[_0x34c1c4,_0x2434a9]))))[_0x5d0948(0x156)](_0x4250d1,_0x4250d1);});
|
|
1
|
+
const a46_0x584013=a46_0x2266;(function(_0x4cf86f,_0x29e3b5){const _0x3311b9=a46_0x2266,_0xe67007=_0x4cf86f();while(!![]){try{const _0x47c519=-parseInt(_0x3311b9(0xd3))/0x1*(parseInt(_0x3311b9(0x103))/0x2)+parseInt(_0x3311b9(0xf9))/0x3+-parseInt(_0x3311b9(0xc5))/0x4+parseInt(_0x3311b9(0xcf))/0x5+parseInt(_0x3311b9(0x109))/0x6+parseInt(_0x3311b9(0x10c))/0x7+parseInt(_0x3311b9(0x108))/0x8*(parseInt(_0x3311b9(0x11a))/0x9);if(_0x47c519===_0x29e3b5)break;else _0xe67007['push'](_0xe67007['shift']());}catch(_0x10908c){_0xe67007['push'](_0xe67007['shift']());}}}(a46_0x11e1,0xb220c));function a46_0x11e1(){const _0xd100b2=['all','YOCLx','../../helpers/testhub/testhubHandler','config','rSqam','\x20for','launchBuild','MVXre','configuration','SKLQX','push','FumDc','platform-run-start','fITwI','pipe','util','ViWbA','CVmQS','llSVU','file','../../helpers/performance/constants','map','platformCaps','results','postMessage','_child','waitForExit','error','emittery','stop','EGfup','DpjfL','YBMbK','Workers\x20failed\x20to\x20exit\x20gracefully','95391JgXQzL','winstonLogger','EVENTS','FGLSf','getStdout','cxors','MOpHW','exit','platforms','parallelTestRun','2693146smlnkR','../../helpers/logger','failureCount','iadXo','getStderr','18352UIrIZS','177474OwICAJ','resolve','FpGxf','3409455gdCjRU','erDgl','cSyku','then','debug','length','SDK_SETUP','platform','Running\x20','WRnJO','cyAtp','p-limit','test-file-failure','vanillaWorker','4401SfhXXZ','../../helpers/performance/performance-tester','worker_threads','jest-worker','worker','parallelVanillaRun','./testWorker.js','platform-run-success','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','end','Exception\x20in\x20sending\x20worker\x20message\x20','emit','gyUHW','RlDBd','test-file-success','stdout','parallelCucumberRun','uteaD','json','aGexi','1445088siUzhY','NhXwx','_workerPool','stderr','bBQmv','cibiJ','Bosxi','info','../../helpers/test-observability/utils','platform-run-failure','3836250VQVBhA','exitCode','UnJKG','log','1ZsILTG','format','Worker','cucumberWorker'];a46_0x11e1=function(){return _0xd100b2;};return a46_0x11e1();}function a46_0x2266(_0x45ec47,_0x53a85d){const _0x11e171=a46_0x11e1();return a46_0x2266=function(_0x226699,_0x3760f1){_0x226699=_0x226699-0xba;let _0x4cacfd=_0x11e171[_0x226699];return _0x4cacfd;},a46_0x2266(_0x45ec47,_0x53a85d);}const Worker=require(a46_0x584013(0x11d))[a46_0x584013(0xd5)],Emittery=require(a46_0x584013(0xf3)),pLimit=require(a46_0x584013(0x117)),{parentPort}=require(a46_0x584013(0x11c)),util=require(a46_0x584013(0xe6)),logger=require(a46_0x584013(0x104))[a46_0x584013(0xfa)],PerformanceTester=require(a46_0x584013(0x11b)),PerformanceEvents=require(a46_0x584013(0xeb))[a46_0x584013(0xfb)],{debug}=require(a46_0x584013(0xcd)),TestHubHandler=require(a46_0x584013(0xd9)),{FRAMEWORKS}=require('../../helpers/test-observability/constants');exports[a46_0x584013(0x102)]=(_0x1590d1,_0x16bbac,_0x455285)=>new Promise(async _0x210419=>{const _0x340751=a46_0x584013,_0x49d888={'gyUHW':_0x340751(0x105),'FumDc':function(_0x3e89ad,_0x467116){return _0x3e89ad+_0x467116;},'uteaD':_0x340751(0xee),'gmQov':'Workers\x20failed\x20to\x20exit\x20gracefully','CVmQS':function(_0xf32b0e,_0x4c5006){return _0xf32b0e(_0x4c5006);},'EGfup':'test-file-start','PfLhY':_0x340751(0x120),'zGRSu':_0x340751(0x11e),'fITwI':'json','FGLSf':_0x340751(0xe5),'YBMbK':function(_0x54f4a3,_0x4cd767){return _0x54f4a3*_0x4cd767;},'Uxdbm':_0x340751(0xbf),'rSqam':_0x340751(0x118),'ODDpB':function(_0x4293b6,_0x590af6){return _0x4293b6(_0x590af6);},'aGexi':function(_0x45eabd,_0x757edc){return _0x45eabd*_0x757edc;}},_0x427f70=_0x455285[_0x340751(0xda)],_0x2496b1={},_0x5ad71d=await TestHubHandler[_0x340751(0xdd)](FRAMEWORKS['MOCHA'],_0x455285),_0x27d63b=new Worker(require['resolve'](_0x49d888['PfLhY']),{'exposedMethods':[_0x49d888['zGRSu']],'forkOptions':{'serialization':_0x49d888[_0x340751(0xe4)],'stdio':_0x49d888[_0x340751(0xfc)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x49d888[_0x340751(0xf7)](_0x16bbac,0x1),'enableWorkerThreads':!![]}),_0x3b872b=new Emittery();_0x3b872b['on'](_0x49d888['Uxdbm'],_0x1012dd=>{const _0x3a82af=_0x340751;_0x2496b1[_0x1012dd[0x0]]?(_0x2496b1[_0x1012dd[0x0]][_0x49d888['gyUHW']]=_0x49d888[_0x3a82af(0xe2)](_0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xbd)]],_0x1012dd[0x1][_0x49d888[_0x3a82af(0xbd)]]),_0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xc2)]]=[..._0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xc2)]],..._0x1012dd[0x1][_0x49d888['uteaD']]]):_0x2496b1[_0x1012dd[0x0]]={'failureCount':_0x1012dd[0x1][_0x49d888[_0x3a82af(0xbd)]],'results':[..._0x1012dd[0x1][_0x49d888[_0x3a82af(0xc2)]]]};}),_0x3b872b['on'](_0x49d888[_0x340751(0xdb)],_0x6759c2=>console[_0x340751(0xd2)](_0x6759c2[0x1]));_0x27d63b[_0x340751(0xfd)]()&&_0x27d63b[_0x340751(0xfd)]()[_0x340751(0xe5)](process[_0x340751(0xc0)]);_0x27d63b[_0x340751(0x107)]()&&_0x27d63b[_0x340751(0x107)]()[_0x340751(0xe5)](process['stderr']);const _0x2a1de5=async()=>{const _0x474096=_0x340751,{forceExited:_0x61433}=await _0x27d63b[_0x474096(0xba)]();_0x61433&&console['error'](_0x49d888['gmQov']);try{await TestHubHandler[_0x474096(0xf4)]();}catch(_0x5ed399){_0x49d888[_0x474096(0xe8)](debug,_0x474096(0x122)+_0x5ed399);}_0x49d888['CVmQS'](_0x210419,_0x2496b1);},_0x4c7830=_0x49d888['ODDpB'](pLimit,_0x49d888[_0x340751(0xc4)](_0x16bbac,0x1)),_0x1c1bc7=_0x21f679=>_0x4c7830(async()=>{const _0x13188d=_0x340751;await _0x3b872b[_0x13188d(0xbc)](_0x49d888[_0x13188d(0xf5)],_0x21f679);const _0x348431=_0x27d63b[_0x13188d(0x11e)](_0x21f679,_0x427f70);try{parentPort&&_0x348431['UNSTABLE_onCustomMessage'](_0x234341=>{const _0x59cb4f=_0x13188d;try{parentPort[_0x59cb4f(0xef)](_0x234341);}catch(_0x2aacf1){logger[_0x59cb4f(0x110)](_0x59cb4f(0xbb)+util[_0x59cb4f(0xd4)](_0x2aacf1));}});}catch(_0x3c68be){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x3c68be));}return _0x348431;});PerformanceTester[_0x340751(0xba)](PerformanceEvents[_0x340751(0x112)]),Promise['all'](_0x1590d1[_0x340751(0xec)](_0x1deedf=>_0x1c1bc7(_0x1deedf)[_0x340751(0x10f)](_0x4410ef=>_0x3b872b['emit']('test-file-success',[_0x1deedf[_0x340751(0xdf)]['platform'],_0x4410ef]),_0x40cbd1=>_0x3b872b['emit'](_0x340751(0x118),[_0x1deedf,_0x40cbd1]))))[_0x340751(0x10f)](_0x2a1de5,_0x2a1de5);}),exports[a46_0x584013(0xc1)]=(_0x554d17,_0x202cf8,_0x454d6e,_0x39b777,_0x589b0c)=>{const _0x3d0967=a46_0x584013,_0x6ac591={'YyrJu':_0x3d0967(0xf8),'UnJKG':function(_0x37f13b,_0x537395){return _0x37f13b(_0x537395);},'llSVU':_0x3d0967(0xe3),'cyAtp':_0x3d0967(0x120),'FpGxf':_0x3d0967(0xd6),'iadXo':_0x3d0967(0xc3),'cxors':_0x3d0967(0xe5),'yDHNl':_0x3d0967(0x121),'MOpHW':_0x3d0967(0xce),'tdMqt':function(_0x571daa,_0x41080f){return _0x571daa(_0x41080f);}};return new Promise(_0x3e7741=>{const _0x4b259b=_0x3d0967,_0x346768={'amxqA':_0x6ac591['YyrJu'],'WRnJO':function(_0x1a31f4,_0x101d36){const _0x3a53be=a46_0x2266;return _0x6ac591[_0x3a53be(0xd1)](_0x1a31f4,_0x101d36);},'bBQmv':_0x6ac591[_0x4b259b(0xe9)]},_0xbfa383=[],_0x30cb3b=new Worker(require[_0x4b259b(0x10a)](_0x6ac591[_0x4b259b(0x116)]),{'exposedMethods':[_0x6ac591[_0x4b259b(0x10b)]],'forkOptions':{'serialization':_0x6ac591[_0x4b259b(0x106)],'stdio':_0x6ac591[_0x4b259b(0xfe)]},'numWorkers':_0x554d17[_0x4b259b(0x111)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x292b88=new Emittery();_0x292b88['on'](_0x6ac591['yDHNl'],_0x52228f=>{const _0x118da5=_0x4b259b;_0xbfa383[_0x118da5(0xe1)]([_0x52228f[0x0],_0x52228f[0x1]]);}),_0x292b88['on'](_0x6ac591[_0x4b259b(0xff)],_0x1607e0=>console[_0x4b259b(0xd2)](_0x1607e0[0x1]));_0x30cb3b[_0x4b259b(0xfd)]()&&_0x30cb3b[_0x4b259b(0xfd)]()[_0x4b259b(0xe5)](process[_0x4b259b(0xc0)]);_0x30cb3b[_0x4b259b(0x107)]()&&_0x30cb3b[_0x4b259b(0x107)]()[_0x4b259b(0xe5)](process[_0x4b259b(0xc8)]);const _0x12984b=async()=>{const _0x50ace5=_0x4b259b,{forceExited:_0x52ed58}=await _0x30cb3b['end']();_0x52ed58&&console['error'](_0x346768['amxqA']),_0x346768[_0x50ace5(0x115)](_0x3e7741,_0xbfa383);},_0x592fca=_0x6ac591['tdMqt'](pLimit,_0x554d17[_0x4b259b(0x111)]||0x1),_0x11161d=(_0x448620,_0x1f2022)=>_0x592fca(async()=>{const _0x5cca1a=_0x4b259b;return await _0x292b88['emit'](_0x346768[_0x5cca1a(0xc9)],_0x448620),_0x202cf8[_0x5cca1a(0xed)]=_0x454d6e[_0x5cca1a(0x101)][_0x1f2022],_0x30cb3b[_0x5cca1a(0xd6)](_0x448620,_0x202cf8,_0x454d6e,_0x39b777,_0x589b0c);});Promise[_0x4b259b(0xd7)](_0x554d17[_0x4b259b(0xec)]((_0x333162,_0x5474fa)=>_0x11161d(_0x333162,_0x5474fa)[_0x4b259b(0x10f)](_0x50c932=>_0x292b88[_0x4b259b(0xbc)]('platform-run-success',[_0x333162,_0x50c932]),_0x591616=>_0x292b88[_0x4b259b(0xbc)](_0x4b259b(0xce),[_0x333162,_0x591616]))))['then'](_0x12984b,_0x12984b);});},exports[a46_0x584013(0x11f)]=(_0x2a4110,_0xba3b1b)=>new Promise(_0x558a41=>{const _0x30ea50=a46_0x584013,_0x4d2893={'cSyku':function(_0x3c943b,_0x28bf5e){return _0x3c943b===_0x28bf5e;},'ZcTHf':function(_0x2d9229,_0x21feab){return _0x2d9229!==_0x21feab;},'DpjfL':_0x30ea50(0x100),'MUauw':_0x30ea50(0xf8),'cibiJ':function(_0x3ea8f8,_0x30893b){return _0x3ea8f8(_0x30893b);},'erDgl':'./testWorker.js','MVXre':_0x30ea50(0x119),'Bosxi':_0x30ea50(0xc3),'ViWbA':_0x30ea50(0xe5),'SKLQX':_0x30ea50(0xbf),'RlDBd':_0x30ea50(0x118)},_0x20ce49={},_0x3b2abf=new Worker(require[_0x30ea50(0x10a)](_0x4d2893[_0x30ea50(0x10d)]),{'exposedMethods':[_0x4d2893[_0x30ea50(0xde)]],'forkOptions':{'serialization':_0x4d2893[_0x30ea50(0xcb)],'stdio':_0x4d2893[_0x30ea50(0xe7)]},'numWorkers':_0xba3b1b,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x315156=new Emittery();_0x315156['on'](_0x4d2893[_0x30ea50(0xe0)],_0x2bccd5=>{const _0x1c7dc3=_0x30ea50;_0x2bccd5[0x0]&&logger[_0x1c7dc3(0xcc)](_0x1c7dc3(0x114)+_0x2bccd5[0x1]+_0x1c7dc3(0xdc),_0x2bccd5[0x0]);}),_0x315156['on'](_0x4d2893[_0x30ea50(0xbe)],_0x24f481=>{const _0x4695d4=_0x30ea50;process[_0x4695d4(0xd0)]=0x1;});_0x3b2abf['getStdout']()&&_0x3b2abf['getStdout']()[_0x30ea50(0xe5)](process[_0x30ea50(0xc0)]);_0x3b2abf['getStderr']()&&_0x3b2abf[_0x30ea50(0x107)]()[_0x30ea50(0xe5)](process[_0x30ea50(0xc8)]);const _0x5cd4b0=async()=>{const _0x597786=_0x30ea50,_0x353bf8={'NhXwx':function(_0x1ef8be,_0x6f8a27){const _0x51fb3d=a46_0x2266;return _0x4d2893[_0x51fb3d(0x10e)](_0x1ef8be,_0x6f8a27);},'fhHpF':function(_0x23475d,_0x456db6){return _0x4d2893['ZcTHf'](_0x23475d,_0x456db6);},'YOCLx':_0x4d2893[_0x597786(0xf6)]};let _0x31cd94=0x0;const _0x15bddc=_0x3b2abf[_0x597786(0xc7)]['getWorkers'](),_0xa890cd=()=>{},_0x318d4d=_0x15bddc[_0x597786(0xec)](async _0x539375=>{const _0x1cd0c8=_0x597786;_0x539375['send']([0x2,![]],_0xa890cd,_0xa890cd,_0xa890cd),_0x539375[_0x1cd0c8(0xf0)]['on'](_0x353bf8[_0x1cd0c8(0xd8)],_0x2c07c5=>{const _0x35f4f1=_0x1cd0c8;_0x353bf8[_0x35f4f1(0xc6)](_0x31cd94,0x0)&&_0x353bf8['fhHpF'](_0x2c07c5,0x0)&&(_0x31cd94=_0x2c07c5);}),await _0x539375[_0x1cd0c8(0xf1)]();});await Promise[_0x597786(0xd7)](_0x318d4d),process[_0x597786(0xd0)]=_0x31cd94;const {forceExited:_0x1638e9}=await _0x3b2abf[_0x597786(0xba)]();_0x1638e9&&console[_0x597786(0xf2)](_0x4d2893['MUauw']),_0x4d2893[_0x597786(0xca)](_0x558a41,_0x20ce49);},_0x362230=_0x4d2893[_0x30ea50(0xca)](pLimit,_0xba3b1b),_0x596ef1=_0x553de8=>_0x362230(async()=>{const _0x5b36ea=_0x30ea50;return _0x3b2abf[_0x5b36ea(0x119)](_0x553de8);});Promise[_0x30ea50(0xd7)](_0x2a4110[_0x30ea50(0xec)](_0x356754=>_0x596ef1(_0x356754)[_0x30ea50(0x10f)](_0x1931e1=>_0x315156[_0x30ea50(0xbc)](_0x30ea50(0xbf),[_0x356754[_0x30ea50(0xdf)][_0x30ea50(0x113)],_0x356754[_0x30ea50(0xdf)][_0x30ea50(0xea)]]),_0x5b9cad=>_0x315156[_0x30ea50(0xbc)](_0x30ea50(0x118),[_0x356754,_0x5b9cad]))))[_0x30ea50(0x10f)](_0x5cd4b0,_0x5cd4b0);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47_0x9a6063=a47_0x1734;(function(_0x465f85,_0x46dbae){const _0x30a846=a47_0x1734,_0x2548d2=_0x465f85();while(!![]){try{const _0x180e63=-parseInt(_0x30a846(0x147))/0x1+parseInt(_0x30a846(0x143))/0x2+-parseInt(_0x30a846(0x142))/0x3+parseInt(_0x30a846(0x13c))/0x4*(-parseInt(_0x30a846(0x14b))/0x5)+parseInt(_0x30a846(0x146))/0x6*(-parseInt(_0x30a846(0x14f))/0x7)+-parseInt(_0x30a846(0x14c))/0x8*(parseInt(_0x30a846(0x133))/0x9)+parseInt(_0x30a846(0x13e))/0xa*(parseInt(_0x30a846(0x140))/0xb);if(_0x180e63===_0x46dbae)break;else _0x2548d2['push'](_0x2548d2['shift']());}catch(_0x3c9461){_0x2548d2['push'](_0x2548d2['shift']());}}}(a47_0x1189,0x5d9e9));function a47_0x1734(_0x300ecd,_0x43a435){const _0x1189a4=a47_0x1189();return a47_0x1734=function(_0x1734ef,_0x243e80){_0x1734ef=_0x1734ef-0x133;let _0x52ac01=_0x1189a4[_0x1734ef];return _0x52ac01;},a47_0x1734(_0x300ecd,_0x43a435);}const PerformanceEvents=require(a47_0x9a6063(0x14d))[a47_0x9a6063(0x151)],PerformanceTester=require(a47_0x9a6063(0x149)),{sleep}=require(a47_0x9a6063(0x152));function a47_0x1189(){const _0x1177bd=['vanilla','runVanillaTest','139002GsqPQU','475053qRrbHq','mSYFS','../../helpers/performance/performance-tester','stopMonitoring','1775QRsiuN','1000zsEkHN','../../helpers/performance/constants','cyKAR','147JFAqTX','end','EVENTS','../../helpers/test-observability/utils','12294iXeOiA','lzqKd','../launcher/launcher','configuration','QZefD','mocha','fAmTI','QLSUw','run','7172IyxbqJ','runCucumberTest','40pOSOkY','SDK_POST_TEST','6976332qtCnPL','fAIzM','1275495oVJpQN','81214yrNFPH'];a47_0x1189=function(){return _0x1177bd;};return a47_0x1189();}exports['runTest']=async(_0x292754,_0x4dccfa)=>{const _0x351eee=a47_0x9a6063,_0x51e923={'QLSUw':function(_0xc235e9,_0x5e0273){return _0xc235e9(_0x5e0273);},'dCQEg':_0x351eee(0x135),'fAIzM':_0x351eee(0x138)};PerformanceTester['startMonitoring']();const _0x599f66=_0x51e923[_0x351eee(0x13a)](require,_0x51e923['dCQEg']),_0x1d6b76=new _0x599f66(_0x51e923[_0x351eee(0x141)],_0x292754,_0x4dccfa),_0x224fbd=await _0x1d6b76[_0x351eee(0x13b)]();return PerformanceTester[_0x351eee(0x150)](PerformanceEvents[_0x351eee(0x13f)]),await _0x51e923[_0x351eee(0x13a)](sleep,0x3e8),PerformanceTester[_0x351eee(0x14a)](),_0x224fbd;},exports[a47_0x9a6063(0x13d)]=async(_0x33d42f,_0x1d2f6c,_0x4d0628,_0x44a831,_0x41962e)=>{const _0x4de120=a47_0x9a6063,_0x469106={'QZefD':function(_0x252824,_0x1105c6){return _0x252824(_0x1105c6);},'fAmTI':_0x4de120(0x135),'cyKAR':'cucumber-js'},_0x14fb9d={'capability':_0x33d42f,..._0x1d2f6c},_0x5b7c88={};_0x5b7c88[_0x4de120(0x136)]=_0x14fb9d,_0x5b7c88['formatter']=_0x41962e;const _0x38eee4=_0x5b7c88,_0x4c8589=_0x469106[_0x4de120(0x137)](require,_0x469106[_0x4de120(0x139)]),_0x2807e8=new _0x4c8589(_0x469106[_0x4de120(0x14e)],_0x38eee4,_0x4d0628,_0x44a831);return await _0x2807e8[_0x4de120(0x13b)]();},exports[a47_0x9a6063(0x145)]=async _0x3b2c99=>{const _0x1b0531=a47_0x9a6063,_0x35098d={'CRMCe':function(_0x5cecc8,_0x4e19a5){return _0x5cecc8(_0x4e19a5);},'lzqKd':_0x1b0531(0x135),'mSYFS':_0x1b0531(0x144)},_0x392753=_0x35098d['CRMCe'](require,_0x35098d[_0x1b0531(0x134)]),_0x369919=new _0x392753(_0x35098d[_0x1b0531(0x148)],_0x3b2c99);return await _0x369919['run']();};
|