browserstack-node-sdk 1.35.3 → 1.35.4
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 -60
- 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
|
-
|
|
1
|
+
const a39_0x2e7fed=a39_0x35e1;(function(_0x1aefb1,_0x339322){const _0x2e99e3=a39_0x35e1,_0x5de7a4=_0x1aefb1();while(!![]){try{const _0x2a5d79=-parseInt(_0x2e99e3(0x1c3))/0x1+parseInt(_0x2e99e3(0x1e5))/0x2+parseInt(_0x2e99e3(0x1d7))/0x3+-parseInt(_0x2e99e3(0x1ea))/0x4+parseInt(_0x2e99e3(0x1bf))/0x5+-parseInt(_0x2e99e3(0x1d2))/0x6+-parseInt(_0x2e99e3(0x1e6))/0x7*(parseInt(_0x2e99e3(0x1c5))/0x8);if(_0x2a5d79===_0x339322)break;else _0x5de7a4['push'](_0x5de7a4['shift']());}catch(_0x355c45){_0x5de7a4['push'](_0x5de7a4['shift']());}}}(a39_0x5eec,0x7d4bd));function a39_0x5eec(){const _0x2d6430=['__workerDetails','ktioM','599244jbSbWo','14yOtOpD','runner/dispatcher.js','getAccessibilityResultsSummary','BXJrN','874568czWXQA','join','stringify','evaluate','ZwrMC','apply','pwPage','XsWnS','format','util','o11ySyncDone','dOOdU','mockContextNewPage','doo11ySync','ImUMN','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','ZzXxm','PwgUu','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','4454700apmKDz','nMfKE','browserContext.js','client','149165aDgFgK','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','99896FqltkF','dxFHm','hJWFu','performScan','../../helpers/test-observability/error-handler','../../helpers/helper','JiBqa','oRUEo','BZTji','newPage','mockIsWorkerRedundant','ObservabilitySync:','env','1740468LDPXsk','MmMzc','annotate','./accessibility-helper','prototype','16530QDKTML','lmdSM','fbqkF','defineProperty','getAccessibilityResults','BROWSERSTACK_TEST_OBSERVABILITY','browserstack_executor:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','Unable\x20to\x20import\x20context\x20for\x20page','../../helpers/performance/performance-tester','Dispatcher'];a39_0x5eec=function(){return _0x2d6430;};return a39_0x5eec();}const path=require('path'),util=require(a39_0x2e7fed(0x1f3)),logger=require('../../helpers/logger'),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a39_0x2e7fed(0x1ca)),{o11yErrorHandler}=require(a39_0x2e7fed(0x1c9)),AccessibilityHelper=require(a39_0x2e7fed(0x1d5)),PerformanceTester=require(a39_0x2e7fed(0x1e1)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x3a749a){const _0x2e6ed1=a39_0x2e7fed,_0xe11f47={'hJWFu':function(_0x4f5de6,_0x511f2f,_0x173d8d){return _0x4f5de6(_0x511f2f,_0x173d8d);},'oRUEo':_0x2e6ed1(0x1e3),'ImUMN':_0x2e6ed1(0x1f4),'fMCSL':_0x2e6ed1(0x1d4),'WQGXA':_0x2e6ed1(0x1df)};if(_0xe11f47[_0x2e6ed1(0x1c7)](nestedKeyValue,global,[_0xe11f47[_0x2e6ed1(0x1cc)],_0xe11f47[_0x2e6ed1(0x1ba)]]))return;await _0x3a749a[_0x2e6ed1(0x1ed)](_0x4f0604=>{},_0x2e6ed1(0x1dd)+JSON[_0x2e6ed1(0x1ec)]({'action':_0xe11f47['fMCSL'],'arguments':{'data':_0x2e6ed1(0x1d0)+Date['now'](),'level':_0xe11f47['WQGXA']}})),global[_0x2e6ed1(0x1e3)][_0x2e6ed1(0x1f4)]=!![];},a39_0x2e7fed(0x1b9)));function a39_0x35e1(_0x2d2d6a,_0x1347d7){const _0x5eec32=a39_0x5eec();return a39_0x35e1=function(_0x35e17c,_0x5b71c3){_0x35e17c=_0x35e17c-0x1b8;let _0xa071bf=_0x5eec32[_0x35e17c];return _0xa071bf;},a39_0x35e1(_0x2d2d6a,_0x1347d7);}exports[a39_0x2e7fed(0x1b8)]=()=>{const _0x4b7466=a39_0x2e7fed,_0x242a03={'XsWnS':function(_0x2ad637,_0x1a5a79){return _0x2ad637(_0x1a5a79);},'BZTji':function(_0x5bcb1b,_0x4b5336){return _0x5bcb1b(_0x4b5336);},'JiBqa':function(_0x5aef93,_0x7d581){return _0x5aef93(_0x7d581);},'dxFHm':function(_0xfbddad,_0x58ff5f,_0x4a3b73){return _0xfbddad(_0x58ff5f,_0x4a3b73);},'MmMzc':_0x4b7466(0x1e3),'ZwrMC':'lib','lmdSM':_0x4b7466(0x1c2),'BXJrN':_0x4b7466(0x1c1),'ktioM':_0x4b7466(0x1e0),'PwgUu':_0x4b7466(0x1ce)},_0x433cbf=path[_0x4b7466(0x1eb)](_0x242a03[_0x4b7466(0x1ee)],_0x242a03[_0x4b7466(0x1d8)],_0x242a03[_0x4b7466(0x1e9)]),_0x39b1da=_0x242a03[_0x4b7466(0x1cd)](importFileFromPWCore,_0x433cbf);if(!_0x39b1da){logger[_0x4b7466(0x1df)](_0x242a03[_0x4b7466(0x1e4)]);return;}const _0x2ce4bb=_0x39b1da['BrowserContext'],_0x107973=_0x2ce4bb[_0x4b7466(0x1d6)],_0x3e22ab=_0x107973[_0x4b7466(0x1ce)];Object[_0x4b7466(0x1da)](_0x107973,_0x242a03[_0x4b7466(0x1bd)],{'get':function(){return async function _0x511027(){const _0x4cbee4=a39_0x35e1,_0x320ae8=await _0x3e22ab[_0x4cbee4(0x1ef)](this,arguments);try{!_0x242a03[_0x4cbee4(0x1f1)](isFalse,process[_0x4cbee4(0x1d1)][_0x4cbee4(0x1dc)])&&await _0x242a03[_0x4cbee4(0x1cd)](doo11ySync,_0x320ae8),!_0x242a03[_0x4cbee4(0x1cb)](isFalse,process[_0x4cbee4(0x1d1)][_0x4cbee4(0x1de)])&&(_0x320ae8[_0x4cbee4(0x1db)]=async()=>{const _0x314748=_0x4cbee4;return await AccessibilityHelper[_0x314748(0x1db)](_0x320ae8);},_0x320ae8[_0x4cbee4(0x1e8)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x320ae8);},_0x320ae8[_0x4cbee4(0x1c8)]=async()=>{return await AccessibilityHelper['performScan'](_0x320ae8);});}catch(_0x4f4d62){logger[_0x4cbee4(0x1df)](_0x4cbee4(0x1bb)+util[_0x4cbee4(0x1f2)](_0x4f4d62));}return _0x242a03[_0x4cbee4(0x1c6)](nestedKeyValue,global,[_0x242a03[_0x4cbee4(0x1d3)]])&&(global['__workerDetails'][_0x4cbee4(0x1f0)]=_0x320ae8),_0x320ae8;};}});},exports[a39_0x2e7fed(0x1cf)]=()=>{const _0x2624ef=a39_0x2e7fed,_0x26db17={'fbqkF':function(_0xc743d9,_0x209385){return _0xc743d9(_0x209385);},'nMfKE':_0x2624ef(0x1e7),'dOOdU':_0x2624ef(0x1c4),'ZzXxm':'_isWorkerRedundant'};try{const _0x251725=requirePWModule[_0x2624ef(0x1ef)](null,_0x26db17[_0x2624ef(0x1d9)](getPlaywrightLibPath,_0x26db17[_0x2624ef(0x1c0)]));if(!_0x251725){logger[_0x2624ef(0x1df)](_0x26db17[_0x2624ef(0x1f5)]);return;}const _0x29f5b1=_0x251725[_0x2624ef(0x1e2)],_0x1693db=_0x29f5b1[_0x2624ef(0x1d6)],_0x52b7a6=_0x1693db['_isWorkerRedundant'];Object[_0x2624ef(0x1da)](_0x1693db,_0x26db17[_0x2624ef(0x1bc)],{'get':function(){return function _0x3c887f(){return _0x52b7a6['apply'](this,arguments),!![];};}});}catch(_0x4713c3){logger[_0x2624ef(0x1df)](_0x2624ef(0x1be)+util['format'](_0x4713c3));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40_0x5bb86a=a40_0xd2c0;(function(_0x36f90c,_0x46d151){const _0x18f92c=a40_0xd2c0,_0x34d42b=_0x36f90c();while(!![]){try{const _0x134a4b=parseInt(_0x18f92c(0xda))/0x1*(parseInt(_0x18f92c(0xa0))/0x2)+parseInt(_0x18f92c(0xe5))/0x3*(-parseInt(_0x18f92c(0x116))/0x4)+-parseInt(_0x18f92c(0xd4))/0x5+-parseInt(_0x18f92c(0xd0))/0x6+parseInt(_0x18f92c(0xa1))/0x7+parseInt(_0x18f92c(0x122))/0x8*(parseInt(_0x18f92c(0xe0))/0x9)+parseInt(_0x18f92c(0xe8))/0xa;if(_0x134a4b===_0x46d151)break;else _0x34d42b['push'](_0x34d42b['shift']());}catch(_0x5129c9){_0x34d42b['push'](_0x34d42b['shift']());}}}(a40_0x3ffb,0xcda20));function a40_0xd2c0(_0x59868f,_0x2ebf52){const _0x3ffbec=a40_0x3ffb();return a40_0xd2c0=function(_0xd2c02b,_0x3f2e46){_0xd2c02b=_0xd2c02b-0x7c;let _0x445aa3=_0x3ffbec[_0xd2c02b];return _0x445aa3;},a40_0xd2c0(_0x59868f,_0x2ebf52);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a40_0x5bb86a(0xb9)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a40_0x5bb86a(0xbb)),path=require(a40_0x5bb86a(0x10f)),logger=require(a40_0x5bb86a(0x85))[a40_0x5bb86a(0xef)],SessionHandler=require(a40_0x5bb86a(0xa9)),TestDetails=require(a40_0x5bb86a(0xe2)),util=require(a40_0x5bb86a(0xab)),getTagsFromTitle=_0x48dec8=>{const _0x32e402=a40_0x5bb86a;return _0x48dec8[_0x32e402(0xb4)](/@(\w+)/g)?.['map'](_0x13becd=>_0x13becd['slice'](0x1))||[];};function a40_0x3ffb(){const _0x282fc4=['PcpeM','extname','runner/projectUtils.js','GbhPu','runner/loadUtils.js','Fxscv','stack','join','beforeWorkerHook','\x20bytes','@playwright/test','1.42.0','18574HojVVG','143899KlkTTO','map','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','qWHLL','mDNCK','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','onTestBegin','TAtYm','../../../helpers/test-observability/sessionHandler','call','util','GAudg','zgnuq','vudVo','UUCcM','Qtwir','Hoibl','geCkL','statSync','match','USmSQ','START_TIME','khhTA','getFailureData','../../../helpers/performance/performance-tester','playwright/lib/common/configLoader.js','../../../helpers/helper','doo11ySync','slice','includes','message','OfGev','qIAlk','onStepBegin','cLrkQ','beforeTestHook','calculateTimesFromMultipleFiles','ltmfV','zHbxw','env','title','toISOString','CWpzK','getTestTags','Total\x20duration\x20for\x20whole\x20build\x20is\x20','compareVersions','sendEventData','2407470mVitoi','MCCMS','getProjectUtilsPath','getForkProcessPath','5922810lGFNZK','name','EWSUL','PLAYWRIGHT','Error\x20in\x20sending\x20trace\x20file:\x20%s','sendSessionDetails','175uEDtbP','debug','LZkld','KMdWg','yQCXt','getTransformPath','189lPZVWr','Found\x20key:\x20','./test-details','CmqRU','ahlBR','2190831AwwvlC','size','process.js','11221630gKsKHY','onBegin','test','Trace\x20enabled','existsSync','oPtDZ','.zip','winstonLogger','format','playwright','hfMNC','sendTestLog','Searching\x20for\x20key:\x20','ERROR','performance-report-worker-','kWKbe','tags','find','toLowerCase','hTRkn','getLoadUtilsPath','startsWith','getPlaywrightLibPath','readdirSync','Arguments','kwXwj','TEST_ATTACHMENT','substr','jhYXb','onStepEnd','.json','rwLRu','Aeleu','filter','DyNlL','attachments','@playwright/test/lib/transform/transform.js','validateFilePath','sendTraceZip','path','1.38.0','AMzJQ','pYaHz','common','afterTestHook','uDOLV','4HWquTu','LogCreated','hxxgb','CQhuJ','stopAndGenerate','Test\x20timeout\x20of','jCdYl','OAfAs','lib','filePath','trace','toString','148728rdOjZs','CFnIP','iQiaS','error','getConfigLoaderPath','CgSkf','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','onTestEnd','oxxqA','vPFbS','@playwright/test/lib/common/configLoader.js','findNestedKey','nQGmR','../../../helpers/logger','mpVRb','setupBrowserDetails','pGAWT','processPageScreenshot','dPOHA','endSession','gnYRi','testUId','@playwright/test/lib/common/transform.js','calculatePerformance','rMTDQ','basename','uuRxC','jwpdP'];a40_0x3ffb=function(){return _0x282fc4;};return a40_0x3ffb();}exports[a40_0x5bb86a(0xcc)]=_0x249a66=>{const _0x4c31aa=a40_0x5bb86a,_0x1af7f0={'nGtXr':function(_0x1ace77,_0x55808f){return _0x1ace77(_0x55808f);}};if(_0x249a66['tags'])return _0x249a66[_0x4c31aa(0xf8)][_0x4c31aa(0xa2)](_0x5aae57=>_0x5aae57['startsWith']('@')?_0x5aae57[_0x4c31aa(0x103)](0x1):_0x5aae57);return _0x1af7f0['nGtXr'](getTagsFromTitle,_0x249a66[_0x4c31aa(0xc9)]);},exports[a40_0x5bb86a(0x8f)]=async()=>{const _0x13d8ee=a40_0x5bb86a,_0x12ee16={'mDNCK':function(_0x4e754d,_0x49a353){return _0x4e754d-_0x49a353;},'Aeleu':'performance-reporter.html','GAudg':_0x13d8ee(0xe9),'JwsEk':_0x13d8ee(0x8b),'KWGBW':_0x13d8ee(0xa7),'rMTDQ':_0x13d8ee(0x7f),'nQGmR':_0x13d8ee(0xc2),'uSQhZ':_0x13d8ee(0x105),'mpVRb':_0x13d8ee(0x9c),'elzdm':'afterWorkerHook','TAtYm':_0x13d8ee(0xc4),'bbqrP':_0x13d8ee(0x114),'qaApO':_0x13d8ee(0xbc),'Hoibl':_0x13d8ee(0x89),'ltmfV':_0x13d8ee(0xd9),'ABtAO':_0x13d8ee(0x87),'YSAaA':'requestSpyCallback','pGAWT':_0x13d8ee(0xf3),'CWpzK':function(_0x5e83c4,_0x5a4adf){return _0x5e83c4(_0x5a4adf);},'oPtDZ':function(_0xc46157,_0x866755){return _0xc46157/_0x866755;},'CQhuJ':function(_0xca55c9,_0x417387){return _0xca55c9+_0x417387;},'rhphi':function(_0x8c9671,_0x297b8b){return _0x8c9671*_0x297b8b;}};if(!process[_0x13d8ee(0xc8)]['START_TIME'])return;const _0x4a037f=_0x12ee16[_0x13d8ee(0xa5)](new Date()['getTime'](),new Date(process['env'][_0x13d8ee(0xb6)])['getTime']()),_0x34f9af=await PerformanceTester[_0x13d8ee(0x11a)](_0x12ee16[_0x13d8ee(0x108)],[_0x12ee16[_0x13d8ee(0xac)],_0x12ee16['JwsEk'],_0x12ee16['KWGBW'],_0x12ee16[_0x13d8ee(0x90)],_0x12ee16[_0x13d8ee(0x84)],_0x12ee16['uSQhZ']]),_0x583c77=fs[_0x13d8ee(0xff)]('.'),_0x2240c8=_0x583c77[_0x13d8ee(0x109)](_0x33bd7c=>_0x33bd7c[_0x13d8ee(0xfd)](_0x13d8ee(0xf6))&&_0x33bd7c['endsWith'](_0x13d8ee(0x106))),_0x4a7614=await PerformanceTester[_0x13d8ee(0xc5)](_0x2240c8,[_0x12ee16[_0x13d8ee(0x86)],_0x12ee16['elzdm'],_0x12ee16[_0x13d8ee(0xa8)],_0x12ee16['bbqrP'],_0x12ee16['qaApO'],_0x12ee16[_0x13d8ee(0xb1)],_0x12ee16[_0x13d8ee(0xc6)],_0x12ee16['ABtAO'],_0x12ee16['YSAaA'],_0x12ee16[_0x13d8ee(0x88)]]);_0x12ee16[_0x13d8ee(0xcb)](debug,_0x13d8ee(0xcd)+_0x12ee16[_0x13d8ee(0xed)](_0x4a037f,0x3e8)+'\x20s'),_0x12ee16['CWpzK'](debug,_0x13d8ee(0xa6)+_0x12ee16[_0x13d8ee(0x119)](_0x4a7614,_0x34f9af)),_0x12ee16[_0x13d8ee(0xcb)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x12ee16['rhphi'](_0x12ee16['oPtDZ'](_0x12ee16['CQhuJ'](_0x4a7614,_0x34f9af),_0x4a037f),0x64));},exports[a40_0x5bb86a(0xdf)]=()=>{const _0x2e96f4=a40_0x5bb86a,_0x598143={'gnYRi':function(_0x5567bd,_0xed4193){return _0x5567bd(_0xed4193);},'hTRkn':function(_0x3be7ee,_0x4458a5){return _0x3be7ee>=_0x4458a5;},'bFiJO':_0x2e96f4(0x110),'OfGev':'playwright/lib/transform/transform.js','CgSkf':_0x2e96f4(0xf1),'KMdWg':'1.35.0','khhTA':_0x2e96f4(0x10c),'jwpdP':'@playwright/test','AMzJQ':_0x2e96f4(0x8e)},_0x46dc6c=_0x598143[_0x2e96f4(0x8c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x598143[_0x2e96f4(0xfb)](helper[_0x2e96f4(0xce)](_0x46dc6c,_0x598143['bFiJO']),0x0))return[_0x598143[_0x2e96f4(0xc0)],_0x598143[_0x2e96f4(0x7d)]];if(_0x598143[_0x2e96f4(0xfb)](helper['compareVersions'](_0x46dc6c,_0x598143[_0x2e96f4(0xdd)]),0x0))return[_0x598143[_0x2e96f4(0xb7)],_0x598143[_0x2e96f4(0x93)]];return[_0x598143[_0x2e96f4(0x111)],_0x598143['jwpdP']];},exports[a40_0x5bb86a(0x7c)]=()=>{const _0x266ffa=a40_0x5bb86a,_0x2a6695={'CmqRU':function(_0x48f01b,_0x29bf46){return _0x48f01b(_0x29bf46);},'LWszj':function(_0x6418e5,_0x3142f5){return _0x6418e5>=_0x3142f5;},'hfMNC':_0x266ffa(0x110),'MCCMS':_0x266ffa(0xba),'cLrkQ':_0x266ffa(0xf1),'dPOHA':_0x266ffa(0x82),'uDOLV':_0x266ffa(0x9e)},_0x33b9fd=_0x2a6695[_0x266ffa(0xe3)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x2a6695['LWszj'](helper[_0x266ffa(0xce)](_0x33b9fd,_0x2a6695[_0x266ffa(0xf2)]),0x0))return[_0x2a6695[_0x266ffa(0xd1)],_0x2a6695[_0x266ffa(0xc3)]];return[_0x2a6695[_0x266ffa(0x8a)],_0x2a6695[_0x266ffa(0x115)]];},exports[a40_0x5bb86a(0xfc)]=()=>{const _0x28cde3=a40_0x5bb86a,_0x318082={};_0x318082['zHbxw']=_0x28cde3(0x98);const _0x20d4bc=_0x318082;return helper[_0x28cde3(0xfe)](_0x20d4bc[_0x28cde3(0xc7)]);},exports[a40_0x5bb86a(0xd2)]=()=>{const _0x57993a=a40_0x5bb86a,_0x38fb1d={};_0x38fb1d[_0x57993a(0x101)]=_0x57993a(0x96);const _0x256c4b=_0x38fb1d;return helper['getPlaywrightLibPath'](_0x256c4b[_0x57993a(0x101)]);},exports[a40_0x5bb86a(0xd3)]=()=>{const _0x131b77=a40_0x5bb86a,_0x301f81={'jhYXb':function(_0xd0f96b,_0x3f3c26){return _0xd0f96b(_0x3f3c26);},'hxxgb':function(_0x2b4dd1,_0x2dd0b7){return _0x2b4dd1>=_0x2dd0b7;},'vPFbS':_0x131b77(0x110),'DyNlL':_0x131b77(0x11e),'qWHLL':_0x131b77(0x113),'LZkld':_0x131b77(0xe7),'UUCcM':_0x131b77(0xea)},_0x23e4ee=_0x301f81[_0x131b77(0x104)](getFrameworkVersion,FRAMEWORKS[_0x131b77(0xd7)]);if(_0x301f81[_0x131b77(0x118)](helper[_0x131b77(0xce)](_0x23e4ee,_0x301f81[_0x131b77(0x81)]),0x0))return path[_0x131b77(0x9b)](_0x301f81[_0x131b77(0x10a)],_0x301f81[_0x131b77(0xa4)],_0x301f81[_0x131b77(0xdc)]);return path['join'](_0x301f81[_0x131b77(0xaf)],_0x301f81[_0x131b77(0x10a)],_0x301f81['qWHLL'],_0x301f81[_0x131b77(0xdc)]);},exports[a40_0x5bb86a(0xb8)]=(_0x54cfe0,{test_run_uuid:_0x14f7e6})=>{const _0x482fe7=a40_0x5bb86a,_0x4ec6e4={'ZqzLr':_0x482fe7(0xf5),'pYaHz':'TEST_LOG','GbhPu':function(_0xd56f6,_0x3e5f10){return _0xd56f6<=_0x3e5f10;},'Fxscv':function(_0x51b076,_0x5b2f58){return _0x51b076(_0x5b2f58);},'kWKbe':_0x482fe7(0x11b),'OAfAs':function(_0x726815,_0x9f9132){return _0x726815(_0x9f9132);},'yQCXt':function(_0x70f5db,_0xebce97){return _0x70f5db>=_0xebce97;},'iQiaS':_0x482fe7(0x9f),'ahlBR':function(_0x489cca,_0x24fcdc){return _0x489cca>_0x24fcdc;},'oxxqA':function(_0x341215,_0x22074c,_0x1ff3c9){return _0x341215(_0x22074c,_0x1ff3c9);},'geCkL':_0x482fe7(0xea)};if(!_0x54cfe0||_0x4ec6e4[_0x482fe7(0x97)](_0x54cfe0['length'],0x0))return[];const _0x499683=_0x4ec6e4[_0x482fe7(0x99)](removeAnsiColors,_0x54cfe0[0x0][_0x482fe7(0xbf)]);if(_0x499683[_0x482fe7(0xfd)](_0x4ec6e4[_0x482fe7(0xf7)])){const _0x23ae09=_0x54cfe0[0x0],_0x579fa9=_0x4ec6e4[_0x482fe7(0x11d)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x23ae09['stack']||_0x4ec6e4[_0x482fe7(0xde)](_0x579fa9,_0x4ec6e4[_0x482fe7(0x124)]))&&_0x4ec6e4[_0x482fe7(0xe4)](_0x54cfe0['length'],0x1))return{'failureData':[{'backtrace':[_0x499683,_0x4ec6e4[_0x482fe7(0x99)](removeAnsiColors,_0x54cfe0[0x1][_0x482fe7(0x9a)])]}],'logs':_0x54cfe0[_0x482fe7(0xbd)](0x2)[_0x482fe7(0xa2)](_0x175143=>{const _0x235df0=_0x482fe7;return{'timestamp':new Date()[_0x235df0(0xca)](),'level':_0x4ec6e4['ZqzLr'],'message':''+_0x175143[_0x235df0(0xbf)],'kind':_0x4ec6e4[_0x235df0(0x112)],'http_response':{},'test_run_uuid':_0x14f7e6};})};}return{'failureData':_0x4ec6e4[_0x482fe7(0x80)](failureData,_0x54cfe0,_0x4ec6e4[_0x482fe7(0xb2)]),'logs':[]};},exports['validateFilePath']=_0x22de1e=>{const _0x47484f=a40_0x5bb86a,_0x492c6d={};_0x492c6d[_0x47484f(0x11c)]=function(_0x1715b9,_0x4b35d1){return _0x1715b9!==_0x4b35d1;},_0x492c6d[_0x47484f(0xae)]=_0x47484f(0xee),_0x492c6d[_0x47484f(0x123)]=function(_0x4c512a,_0x227eca){return _0x4c512a>_0x227eca;};const _0x79e35=_0x492c6d;if(_0x22de1e&&fs[_0x47484f(0xec)](_0x22de1e)){if(_0x79e35[_0x47484f(0x11c)](path[_0x47484f(0x95)](_0x22de1e)[_0x47484f(0xfa)](),_0x79e35[_0x47484f(0xae)]))return logger['error'](_0x47484f(0x7e)+_0x22de1e),![];const _0x4e3152=fs[_0x47484f(0xb3)](_0x22de1e)[_0x47484f(0xe6)];if(_0x79e35['CFnIP'](_0x4e3152,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x47484f(0x125)](_0x47484f(0xa3)+_0x4e3152+_0x47484f(0x9d)),![];return!![];}return![];},exports[a40_0x5bb86a(0x83)]=(_0x3811ea,_0x52cd19)=>{const _0x1d69ee=a40_0x5bb86a,_0x4adec0={};_0x4adec0[_0x1d69ee(0xd6)]=_0x1d69ee(0x100);const _0x303ebd=_0x4adec0;logger[_0x1d69ee(0xdb)](_0x1d69ee(0xf4)+_0x52cd19);if(_0x3811ea[_0x1d69ee(0x10b)]){const _0x1a1a44=_0x3811ea[_0x1d69ee(0x10b)][_0x1d69ee(0xf9)](_0x42b8bd=>_0x42b8bd[_0x1d69ee(0xd5)]===_0x1d69ee(0x120));if(_0x1a1a44)return logger['debug']('Found\x20key:\x20'+_0x52cd19+'\x20in\x20attachments'),_0x1a1a44[_0x52cd19];}else{if(Object['prototype'][_0x1d69ee(0x121)][_0x1d69ee(0xaa)](_0x3811ea)[_0x1d69ee(0xbe)](_0x303ebd[_0x1d69ee(0xd6)]))for(const _0x2b8a7d of _0x3811ea){if(_0x2b8a7d[_0x52cd19])return logger[_0x1d69ee(0xdb)](_0x1d69ee(0xe1)+_0x52cd19+'\x20in\x20arguments'),_0x2b8a7d[_0x52cd19];}}return'';},exports['uploadTraceZip']=async(_0x77f76c,_0x46c640)=>{const _0x3f5fb4=a40_0x5bb86a,_0xb15e2a={};_0xb15e2a[_0x3f5fb4(0x92)]=_0x3f5fb4(0x117),_0xb15e2a[_0x3f5fb4(0xb5)]=_0x3f5fb4(0x102),_0xb15e2a['PcpeM']=_0x3f5fb4(0x10e),_0xb15e2a['qIAlk']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x7e1a2e=_0xb15e2a;try{const _0x7a0c2e={'event_type':_0x7e1a2e[_0x3f5fb4(0x92)],'logs':[{'data':_0x77f76c?fs['createReadStream'](_0x77f76c):'','test_run_uuid':_0x46c640,'kind':_0x7e1a2e[_0x3f5fb4(0xb5)],'fileName':_0x77f76c?path[_0x3f5fb4(0x91)](_0x77f76c):''}]};return await SessionHandler[_0x3f5fb4(0xcf)](_0x7a0c2e,0x0,_0x7e1a2e[_0x3f5fb4(0x94)]);}catch(_0x142e00){logger[_0x3f5fb4(0x125)](util['format'](_0x7e1a2e[_0x3f5fb4(0xc1)],_0x142e00));}},exports[a40_0x5bb86a(0x10e)]=async(_0x96b701,_0x53e464)=>{const _0xbc99b7=a40_0x5bb86a,_0x104577={};_0x104577[_0xbc99b7(0xad)]=_0xbc99b7(0x10f),_0x104577[_0xbc99b7(0x107)]=_0xbc99b7(0xeb),_0x104577[_0xbc99b7(0xb0)]=_0xbc99b7(0xd8);const _0x1bead8=_0x104577;try{logger[_0xbc99b7(0xdb)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x53e464);const _0x4a4764=await exports[_0xbc99b7(0x83)](_0x96b701,_0x1bead8[_0xbc99b7(0xad)]);if(exports[_0xbc99b7(0x10d)](_0x4a4764)){logger[_0xbc99b7(0xdb)](_0x1bead8[_0xbc99b7(0x107)]);const _0x3bc09a={};_0x3bc09a[_0xbc99b7(0x8d)]=_0x53e464,_0x3bc09a[_0xbc99b7(0x11f)]=_0x4a4764;const _0x32f1ae=_0x3bc09a;TestDetails['addTraceFilePath'](_0x32f1ae);};}catch(_0xe916bd){logger[_0xbc99b7(0x125)](util[_0xbc99b7(0xf0)](_0x1bead8[_0xbc99b7(0xb0)],_0xe916bd));}};
|
|
1
|
+
const a40_0x59fc1a=a40_0x1df8;function a40_0x1df8(_0x417a80,_0x3ac0f6){const _0x51440e=a40_0x5144();return a40_0x1df8=function(_0x1df80a,_0x4598a9){_0x1df80a=_0x1df80a-0x171;let _0x4ec11e=_0x51440e[_0x1df80a];return _0x4ec11e;},a40_0x1df8(_0x417a80,_0x3ac0f6);}(function(_0x1e584f,_0x44fca5){const _0x4ee37b=a40_0x1df8,_0x493560=_0x1e584f();while(!![]){try{const _0x203c62=parseInt(_0x4ee37b(0x198))/0x1+-parseInt(_0x4ee37b(0x191))/0x2*(parseInt(_0x4ee37b(0x1f1))/0x3)+parseInt(_0x4ee37b(0x1b4))/0x4+-parseInt(_0x4ee37b(0x1f7))/0x5*(-parseInt(_0x4ee37b(0x1dd))/0x6)+-parseInt(_0x4ee37b(0x20d))/0x7+-parseInt(_0x4ee37b(0x1df))/0x8+parseInt(_0x4ee37b(0x1e8))/0x9*(parseInt(_0x4ee37b(0x173))/0xa);if(_0x203c62===_0x44fca5)break;else _0x493560['push'](_0x493560['shift']());}catch(_0x72cef5){_0x493560['push'](_0x493560['shift']());}}}(a40_0x5144,0xa314d));function a40_0x5144(){const _0x4c7840=['1935eJFVLP','iBePK','1.38.0','ylNmN','pKGLV','env','TEST_ATTACHMENT','1.35.0','aNOUp','584553BjpiNy','filePath','join','../../../helpers/test-observability/sessionHandler','.zip','format','25WJEjnS','bzOBe','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','name','call','addTraceFilePath','phLTQ','UINKS','basename','qNSzf','length','gucGO','Gsivi','onStepBegin','@playwright/test/lib/common/configLoader.js','beforeTestHook','klUho','createReadStream','RVEgO','vnhWR','processPageScreenshot','Percentage\x20of\x20increased\x20time\x20is\x20','952693LmaupU','find','tSSnx','debug','23960UBpyWJ','qxvqS','includes','hyOyJ','ZgJKY','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','winstonLogger','slice','ZJqdS','readdirSync','testUId','xxomD','odmpY','afterTestHook','runner/projectUtils.js','BHrbP','XfQck','oPfmA','../../../helpers/logger','sendTestLog','xQSrP','toString','afterWorkerHook','beforeWorkerHook','jEHHb','HFgeh','gAAbL','WOIzv','common','tags','8GYyFps','ytKlk','calculatePerformance','lib','onTestBegin','Error\x20in\x20sending\x20trace\x20file:\x20%s','./test-details','882011PTKhPo','1.42.0','Total\x20duration\x20for\x20whole\x20build\x20is\x20','getProjectUtilsPath','substr','Arguments','ePVVu','util','attachments','map','HkazW','message','stack','qfoum','\x20in\x20arguments','sendSessionDetails','LwfuH','startsWith','FKKio','../../../helpers/test-observability/utils','sendTraceZip','XAFnY','calculateTimesFromMultipleFiles','AbaZL','toLowerCase','compareVersions','endSession','Searching\x20for\x20key:\x20','221080tiyFIi','FCnjk','../../../helpers/test-observability/constants','trace','START_TIME','Soqhi','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','getLoadUtilsPath','SbeOz','statSync','playwright','../../../helpers/helper','KkIeq','@playwright/test/lib/transform/transform.js','THQso','doo11ySync','QIeMS','FyBia','Trace\x20enabled','getTime','HADpl','ZRgzy','LyKMU','error','validateFilePath','../../../helpers/performance/performance-tester','sendEventData','mUjNH','runner/loadUtils.js','vRmgf','.json','getForkProcessPath','uploadTraceZip','filter','fJkEf','gmNSf','@playwright/test','lviNM','test','RKONU','getTestTags','718326SZUwux','Found\x20key:\x20','3740336VBZAsm','TdBji','existsSync','VzIJr','ERROR','PLAYWRIGHT','onStepEnd','onBegin','jZPal'];a40_0x5144=function(){return _0x4c7840;};return a40_0x5144();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x59fc1a(0x1ab)),PerformanceTester=require(a40_0x59fc1a(0x1cd)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x59fc1a(0x1b6)),helper=require(a40_0x59fc1a(0x1bf)),path=require('path'),logger=require(a40_0x59fc1a(0x185))[a40_0x59fc1a(0x179)],SessionHandler=require(a40_0x59fc1a(0x1f4)),TestDetails=require(a40_0x59fc1a(0x197)),util=require(a40_0x59fc1a(0x19f)),getTagsFromTitle=_0x19e02a=>{return _0x19e02a['match'](/@(\w+)/g)?.['map'](_0x2a87ad=>_0x2a87ad['slice'](0x1))||[];};exports[a40_0x59fc1a(0x1dc)]=_0x59faae=>{const _0x334860=a40_0x59fc1a,_0x64d72f={'Nniik':function(_0x58c3bd,_0x1fe274){return _0x58c3bd(_0x1fe274);}};if(_0x59faae[_0x334860(0x190)])return _0x59faae['tags'][_0x334860(0x1a1)](_0x3af1c9=>_0x3af1c9[_0x334860(0x1a9)]('@')?_0x3af1c9[_0x334860(0x19c)](0x1):_0x3af1c9);return _0x64d72f['Nniik'](getTagsFromTitle,_0x59faae['title']);},exports[a40_0x59fc1a(0x193)]=async()=>{const _0x1171c1=a40_0x59fc1a,_0x596e1f={'VzIJr':function(_0x379215,_0x23a433){return _0x379215-_0x23a433;},'jEHHb':'performance-reporter.html','ytKlk':_0x1171c1(0x1e6),'QIeMS':_0x1171c1(0x1b2),'xxomD':_0x1171c1(0x195),'LwfuH':'onTestEnd','gAAbL':_0x1171c1(0x204),'Soqhi':_0x1171c1(0x1e5),'AbaZL':_0x1171c1(0x18a),'FKKio':_0x1171c1(0x189),'kLFhA':_0x1171c1(0x206),'NhFRQ':_0x1171c1(0x180),'fJkEf':_0x1171c1(0x1c3),'gucGO':_0x1171c1(0x20b),'RVEgO':_0x1171c1(0x1a7),'qxvqS':'setupBrowserDetails','BHrbP':'requestSpyCallback','ZJqdS':_0x1171c1(0x186),'vnhWR':function(_0x53dd7e,_0x252306){return _0x53dd7e(_0x252306);},'oPfmA':function(_0x574af9,_0x2dd143){return _0x574af9/_0x2dd143;},'vRmgf':function(_0x305c34,_0x37c321){return _0x305c34(_0x37c321);},'jrAPK':function(_0x1b8648,_0x3702fb){return _0x1b8648+_0x3702fb;},'gmNSf':function(_0x287b00,_0x13f511){return _0x287b00*_0x13f511;}};if(!process[_0x1171c1(0x1ed)][_0x1171c1(0x1b8)])return;const _0x4df035=_0x596e1f[_0x1171c1(0x1e2)](new Date()['getTime'](),new Date(process[_0x1171c1(0x1ed)]['START_TIME'])[_0x1171c1(0x1c7)]()),_0x2b11b0=await PerformanceTester['stopAndGenerate'](_0x596e1f[_0x1171c1(0x18b)],[_0x596e1f[_0x1171c1(0x192)],_0x596e1f[_0x1171c1(0x1c4)],_0x596e1f[_0x1171c1(0x17e)],_0x596e1f[_0x1171c1(0x1a8)],_0x596e1f[_0x1171c1(0x18d)],_0x596e1f[_0x1171c1(0x1b9)]]),_0x534467=fs[_0x1171c1(0x17c)]('.'),_0x5ca53e=_0x534467[_0x1171c1(0x1d5)](_0x20cb3e=>_0x20cb3e[_0x1171c1(0x1a9)]('performance-report-worker-')&&_0x20cb3e['endsWith'](_0x1171c1(0x1d2))),_0x411321=await PerformanceTester[_0x1171c1(0x1ae)](_0x5ca53e,[_0x596e1f[_0x1171c1(0x1af)],_0x596e1f[_0x1171c1(0x1aa)],_0x596e1f['kLFhA'],_0x596e1f['NhFRQ'],_0x596e1f[_0x1171c1(0x1d6)],_0x596e1f[_0x1171c1(0x202)],_0x596e1f[_0x1171c1(0x209)],_0x596e1f[_0x1171c1(0x174)],_0x596e1f[_0x1171c1(0x182)],_0x596e1f[_0x1171c1(0x17b)]]);_0x596e1f[_0x1171c1(0x20a)](debug,_0x1171c1(0x19a)+_0x596e1f[_0x1171c1(0x184)](_0x4df035,0x3e8)+'\x20s'),_0x596e1f[_0x1171c1(0x1d1)](debug,_0x1171c1(0x1f9)+_0x596e1f['jrAPK'](_0x411321,_0x2b11b0)),_0x596e1f[_0x1171c1(0x1d1)](debug,_0x1171c1(0x20c)+_0x596e1f[_0x1171c1(0x1d7)](_0x596e1f[_0x1171c1(0x184)](_0x596e1f['jrAPK'](_0x411321,_0x2b11b0),_0x4df035),0x64));},exports['getTransformPath']=()=>{const _0x554165=a40_0x59fc1a,_0x5262e8={'mUjNH':function(_0x18cad8,_0x3345b0){return _0x18cad8(_0x3345b0);},'hyOyJ':function(_0x273fe3,_0x44af89){return _0x273fe3>=_0x44af89;},'SbeOz':'1.38.0','XfQck':'playwright/lib/transform/transform.js','qfoum':_0x554165(0x1be),'bzOBe':_0x554165(0x1ef),'LVaVE':_0x554165(0x1c1),'iBePK':_0x554165(0x1d8),'YpYRs':'@playwright/test/lib/common/transform.js'},_0xa9bc3d=_0x5262e8[_0x554165(0x1cf)](getFrameworkVersion,FRAMEWORKS[_0x554165(0x1e4)]);if(_0x5262e8[_0x554165(0x176)](helper[_0x554165(0x1b1)](_0xa9bc3d,_0x5262e8[_0x554165(0x1bc)]),0x0))return[_0x5262e8[_0x554165(0x183)],_0x5262e8[_0x554165(0x1a5)]];if(_0x5262e8[_0x554165(0x176)](helper[_0x554165(0x1b1)](_0xa9bc3d,_0x5262e8[_0x554165(0x1f8)]),0x0))return[_0x5262e8['LVaVE'],_0x5262e8[_0x554165(0x1e9)]];return[_0x5262e8['YpYRs'],_0x5262e8[_0x554165(0x1e9)]];},exports['getConfigLoaderPath']=()=>{const _0x9c4549=a40_0x59fc1a,_0x365e70={'ytbco':function(_0x5f5c6d,_0x2cf864){return _0x5f5c6d(_0x2cf864);},'WOIzv':function(_0x2565c6,_0x2d2cbf){return _0x2565c6>=_0x2d2cbf;},'THQso':_0x9c4549(0x1ea),'eNlhT':'playwright/lib/common/configLoader.js','klUho':'playwright','tSSnx':_0x9c4549(0x205),'ZgJKY':_0x9c4549(0x1d8)},_0x1f71b1=_0x365e70['ytbco'](getFrameworkVersion,FRAMEWORKS[_0x9c4549(0x1e4)]);if(_0x365e70[_0x9c4549(0x18e)](helper[_0x9c4549(0x1b1)](_0x1f71b1,_0x365e70[_0x9c4549(0x1c2)]),0x0))return[_0x365e70['eNlhT'],_0x365e70[_0x9c4549(0x207)]];return[_0x365e70[_0x9c4549(0x171)],_0x365e70[_0x9c4549(0x177)]];},exports[a40_0x59fc1a(0x1bb)]=()=>{const _0x326f15=a40_0x59fc1a,_0xfc887f={};_0xfc887f[_0x326f15(0x1ad)]=_0x326f15(0x1d0);const _0x1a2f8b=_0xfc887f;return helper['getPlaywrightLibPath'](_0x1a2f8b[_0x326f15(0x1ad)]);},exports[a40_0x59fc1a(0x19b)]=()=>{const _0x3df66e=a40_0x59fc1a,_0x553c40={};_0x553c40['jZPal']=_0x3df66e(0x181);const _0x1bd88f=_0x553c40;return helper['getPlaywrightLibPath'](_0x1bd88f[_0x3df66e(0x1e7)]);},exports[a40_0x59fc1a(0x1d3)]=()=>{const _0x1e642d=a40_0x59fc1a,_0x17a2b6={'UINKS':function(_0x3926b7,_0x138f9d){return _0x3926b7(_0x138f9d);},'iGbqC':function(_0x3b31b4,_0x479dfc){return _0x3b31b4>=_0x479dfc;},'ZRgzy':_0x1e642d(0x1ea),'LyKMU':_0x1e642d(0x194),'pKGLV':_0x1e642d(0x18f),'TdBji':'process.js','odmpY':_0x1e642d(0x1da)},_0xc2ee1b=_0x17a2b6[_0x1e642d(0x1fe)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x17a2b6['iGbqC'](helper[_0x1e642d(0x1b1)](_0xc2ee1b,_0x17a2b6[_0x1e642d(0x1c9)]),0x0))return path[_0x1e642d(0x1f3)](_0x17a2b6['LyKMU'],_0x17a2b6[_0x1e642d(0x1ec)],_0x17a2b6[_0x1e642d(0x1e0)]);return path[_0x1e642d(0x1f3)](_0x17a2b6[_0x1e642d(0x17f)],_0x17a2b6[_0x1e642d(0x1ca)],_0x17a2b6[_0x1e642d(0x1ec)],_0x17a2b6['TdBji']);},exports['getFailureData']=(_0x366bc6,{test_run_uuid:_0x1e5ff9})=>{const _0x1998bb=a40_0x59fc1a,_0x2eb989={'HkazW':_0x1998bb(0x1e3),'phLTQ':'TEST_LOG','lviNM':function(_0x15cc2b,_0x3ccf1f){return _0x15cc2b<=_0x3ccf1f;},'aNOUp':function(_0x4fd6d5,_0x4a5b46){return _0x4fd6d5(_0x4a5b46);},'JExIf':'Test\x20timeout\x20of','drret':function(_0x2c384d,_0x521a43){return _0x2c384d>=_0x521a43;},'sajsk':_0x1998bb(0x199),'LZStT':function(_0xfa659a,_0x5b3baa){return _0xfa659a>_0x5b3baa;},'SCjIc':function(_0x4a1e73,_0x57b6a0,_0x483382){return _0x4a1e73(_0x57b6a0,_0x483382);},'qNSzf':'test'};if(!_0x366bc6||_0x2eb989[_0x1998bb(0x1d9)](_0x366bc6[_0x1998bb(0x201)],0x0))return[];const _0x33df9b=_0x2eb989[_0x1998bb(0x1f0)](removeAnsiColors,_0x366bc6[0x0][_0x1998bb(0x1a3)]);if(_0x33df9b[_0x1998bb(0x1a9)](_0x2eb989['JExIf'])){const _0x4e9e8e=_0x366bc6[0x0],_0x439b67=_0x2eb989['aNOUp'](getFrameworkVersion,FRAMEWORKS[_0x1998bb(0x1e4)]);if((!_0x4e9e8e[_0x1998bb(0x1a4)]||_0x2eb989['drret'](_0x439b67,_0x2eb989['sajsk']))&&_0x2eb989['LZStT'](_0x366bc6[_0x1998bb(0x201)],0x1))return{'failureData':[{'backtrace':[_0x33df9b,_0x2eb989[_0x1998bb(0x1f0)](removeAnsiColors,_0x366bc6[0x1][_0x1998bb(0x1a4)])]}],'logs':_0x366bc6[_0x1998bb(0x17a)](0x2)[_0x1998bb(0x1a1)](_0x14490f=>{const _0x10ba28=_0x1998bb;return{'timestamp':new Date()['toISOString'](),'level':_0x2eb989[_0x10ba28(0x1a2)],'message':''+_0x14490f[_0x10ba28(0x1a3)],'kind':_0x2eb989[_0x10ba28(0x1fd)],'http_response':{},'test_run_uuid':_0x1e5ff9};})};}return{'failureData':_0x2eb989['SCjIc'](failureData,_0x366bc6,_0x2eb989[_0x1998bb(0x200)]),'logs':[]};},exports[a40_0x59fc1a(0x1cc)]=_0x1474da=>{const _0x428f0d=a40_0x59fc1a,_0x56e594={};_0x56e594['HADpl']=function(_0x31a1be,_0x474edc){return _0x31a1be!==_0x474edc;},_0x56e594['vQvmG']=_0x428f0d(0x1f5),_0x56e594[_0x428f0d(0x19e)]=function(_0x1a9a41,_0x132e7b){return _0x1a9a41>_0x132e7b;};const _0x4b71ab=_0x56e594;if(_0x1474da&&fs[_0x428f0d(0x1e1)](_0x1474da)){if(_0x4b71ab[_0x428f0d(0x1c8)](path['extname'](_0x1474da)[_0x428f0d(0x1b0)](),_0x4b71ab['vQvmG']))return logger[_0x428f0d(0x1cb)](_0x428f0d(0x1ba)+_0x1474da),![];const _0x2a44c0=fs[_0x428f0d(0x1bd)](_0x1474da)['size'];if(_0x4b71ab[_0x428f0d(0x19e)](_0x2a44c0,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x428f0d(0x1cb)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2a44c0+'\x20bytes'),![];return!![];}return![];},exports['findNestedKey']=(_0x5e6ad6,_0x3354f3)=>{const _0x2dcea3=a40_0x59fc1a,_0x15629c={};_0x15629c['HFgeh']=_0x2dcea3(0x19d);const _0xe5511f=_0x15629c;logger['debug'](_0x2dcea3(0x1b3)+_0x3354f3);if(_0x5e6ad6[_0x2dcea3(0x1a0)]){const _0x5020fe=_0x5e6ad6[_0x2dcea3(0x1a0)][_0x2dcea3(0x20e)](_0x2f9e3d=>_0x2f9e3d[_0x2dcea3(0x1fa)]===_0x2dcea3(0x1b7));if(_0x5020fe)return logger[_0x2dcea3(0x172)](_0x2dcea3(0x1de)+_0x3354f3+'\x20in\x20attachments'),_0x5020fe[_0x3354f3];}else{if(Object['prototype'][_0x2dcea3(0x188)][_0x2dcea3(0x1fb)](_0x5e6ad6)[_0x2dcea3(0x175)](_0xe5511f[_0x2dcea3(0x18c)]))for(const _0x149970 of _0x5e6ad6){if(_0x149970[_0x3354f3])return logger[_0x2dcea3(0x172)](_0x2dcea3(0x1de)+_0x3354f3+_0x2dcea3(0x1a6)),_0x149970[_0x3354f3];}}return'';},exports[a40_0x59fc1a(0x1d4)]=async(_0x2e4dbc,_0x2a173d)=>{const _0x565eee=a40_0x59fc1a,_0xef165c={};_0xef165c['KkIeq']='LogCreated',_0xef165c['FyBia']=_0x565eee(0x1ee),_0xef165c[_0x565eee(0x187)]='sendTraceZip',_0xef165c[_0x565eee(0x203)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x4aca9a=_0xef165c;try{const _0x32894d={'event_type':_0x4aca9a[_0x565eee(0x1c0)],'logs':[{'data':_0x2e4dbc?fs[_0x565eee(0x208)](_0x2e4dbc):'','test_run_uuid':_0x2a173d,'kind':_0x4aca9a[_0x565eee(0x1c5)],'fileName':_0x2e4dbc?path[_0x565eee(0x1ff)](_0x2e4dbc):''}]};return await SessionHandler[_0x565eee(0x1ce)](_0x32894d,0x0,_0x4aca9a[_0x565eee(0x187)]);}catch(_0x59f51f){logger[_0x565eee(0x1cb)](util[_0x565eee(0x1f6)](_0x4aca9a['Gsivi'],_0x59f51f));}},exports[a40_0x59fc1a(0x1ac)]=async(_0x1b4be7,_0x3054a2)=>{const _0x146ad0=a40_0x59fc1a,_0xbe452d={};_0xbe452d[_0x146ad0(0x1db)]='path',_0xbe452d[_0x146ad0(0x1eb)]=_0x146ad0(0x1c6),_0xbe452d[_0x146ad0(0x1b5)]=_0x146ad0(0x196);const _0x567e34=_0xbe452d;try{logger[_0x146ad0(0x172)](_0x146ad0(0x178)+_0x3054a2);const _0x57fff8=await exports['findNestedKey'](_0x1b4be7,_0x567e34[_0x146ad0(0x1db)]);if(exports[_0x146ad0(0x1cc)](_0x57fff8)){logger[_0x146ad0(0x172)](_0x567e34[_0x146ad0(0x1eb)]);const _0x1edb6d={};_0x1edb6d[_0x146ad0(0x17d)]=_0x3054a2,_0x1edb6d[_0x146ad0(0x1f2)]=_0x57fff8;const _0x587cc4=_0x1edb6d;TestDetails[_0x146ad0(0x1fc)](_0x587cc4);};}catch(_0x2eb65a){logger[_0x146ad0(0x1cb)](util[_0x146ad0(0x1f6)](_0x567e34[_0x146ad0(0x1b5)],_0x2eb65a));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x24882e=a41_0x1433;function a41_0x9538(){const _0x3523df=['6|3|0|5|2|4|1','root','getInstance','15684PgAMwt','configureGit','../../../helpers/testhub/testhubHandler','object','hiadO','HYwcC','oqzRh','BEFORE_EACH','nMxLy','../../../helpers/test-observability/requestQueueHandler','NGKqd','fANJf','TestRunFinished','trace_','2710862MpBqpV','_bs_hookIdentifier','_testHooksMap','rfrhF','CDfrj','failure_reason','After\x20Hooks','getCustomRerunParam','\x20is\x20triggered\x20for\x20test\x20','sendHookRunEvent','nQSmg','sendSessionDetails','forEach','pNmGW','MwYhk','dDzET','xtKvi','readFileSync','onTestEnd','lhOyO','10551905KrIkuS','shutdown','hooks','MLyoo','map','AOrVX','UgXlz','screenshot','existsSync','roLaY','\x20for\x20','DvCju','rvXjT','reverse','JcCqN','join','getTestRunIdentifier','getTime','fglZu','21uCPots','Expected\x20to\x20fail,\x20but\x20passed.','NixCs','BOanN','exports','reportLogs','LpUcx','Sending\x20session\x20details\x20for\x20','onEnd','utf8','ImXRO','getHierarchy','duOOy','KMBhG','test_run','ZQMsb','title','xdztO','Hook\x20Finished\x20with\x20unique\x20id\x20','base64','VNRWS','ADtiP','mtime','TEST_SCREENSHOT','setup','_tests','indexOf','wVIyW','AvxSg','857678NkTsdJ','test_run_uuid','getHookType','beforeEach\x20hook','format','env','GTgeX','parent','AXtLo','./pwUtils','qECZp','endSession','_tags','attachments','760845GRAZiY','dQoRW','9MKKNkF','../../../helpers/test-observability/sessionHandler','oEdCk','onBegin','errors','gNuoc','START_TIME','XIsyr','qNHIE','37107860nPLPlk','eRqrx','javascript','basename','performance-report-reporter.json','logLevel','EBCTa','sendTestRunEvent','addTestUIDAndReportLog','Test\x20Started\x20with\x20unique\x20id\x20','pending','iAzyj','gSles','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','name','retry','cwd','ptMjE','PLAYWRIGHT_TRACE_LOGS','getScope','push','JiQUX','onTestBegin','../../../helpers/test-observability/error-handler','PqDwB','hook_run_uuid','getTestUUID','test','failed','Trace\x20file\x20found\x20for\x20test:\x20','../../../helpers/helper','ggmoG','hook_run','finishedAt','wPNxX','mTOoN','uCYGM','toString','cQyYg','split','meta','./test-details','uuid','AJVPG','yOdDw','Xzyso','duration','getStepIdentifier','aFPPt','NjChS','lsitn','startTime','AFTER_ALL','zgZMt','path','\x20at\x20','TEST_STEP','mkdirSync','BROWSERSTACK_LOG_LEVEL','length','NvoNb','getTestIdentifier','startsWith','FWoUe','util','event_type','Test\x20Finished\x20with\x20unique\x20id\x20','titlePath','expanded','MxFZx','gtYnX','backtrace','etktD','BROWSERSTACK_O11Y_PERF_MEASUREMENT','hook','7451952EJcHYd','OCrnz','_gitConfigured','startMonitoring','stack','BROWSERSTACK_TEST_RUN_ID','YpeHl','HookRunFinished','YkULN','Error\x20in\x20sending\x20trace\x20zip:\x20%s','_gitConfigPath','result','uMMgv','error','qLEgE','VydOb','file','euEhI','tuYDJ','getStepsAndLogs','LDuhL','beforeAll\x20hook','passed','nRIiX','.txt','qzUcD','startedAt','afterEach\x20hook','IQzZx','sumGx','xvKEx','cojTV','onStepEnd','smmPN','hejWE','needToReportStep','afterAll\x20hook','status','rVbad','message','DYTdi','TEST_ATTACHMENT','MyReporter','steps','6TBRcvX','expectedStatus','VPTCd','cclBI','toISOString','category','PLAYWRIGHT','AohsW','relative','UHAkQ','retry_of','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','lSoPY','uploadEventData','iKemu','onStepBegin','unknown','err','location','setStepIdentifier','bGNCm','Error\x20in\x20calculating\x20performance:\x20','djlcE','CBTSessionCreated','FDfOb','../../../helpers/testhub/utils','logs','failure_type','mIAcn','eYVHn','pNlQc','wbTzZ','depth','.browserstack','uvLgQ'];a41_0x9538=function(){return _0x3523df;};return a41_0x9538();}(function(_0x4dc74d,_0xa438c0){const _0x49aa95=a41_0x1433,_0x3008db=_0x4dc74d();while(!![]){try{const _0x4dcd37=parseInt(_0x49aa95(0x18e))/0x1+-parseInt(_0x49aa95(0x14a))/0x2+-parseInt(_0x49aa95(0x171))/0x3*(parseInt(_0x49aa95(0x13c))/0x4)+-parseInt(_0x49aa95(0x19c))/0x5*(-parseInt(_0x49aa95(0x116))/0x6)+-parseInt(_0x49aa95(0x15e))/0x7+-parseInt(_0x49aa95(0x1f2))/0x8+-parseInt(_0x49aa95(0x19e))/0x9*(-parseInt(_0x49aa95(0x1a7))/0xa);if(_0x4dcd37===_0xa438c0)break;else _0x3008db['push'](_0x3008db['shift']());}catch(_0x506d5e){_0x3008db['push'](_0x3008db['shift']());}}}(a41_0x9538,0xdb71e));function a41_0x1433(_0x1c17f8,_0x37e9c7){const _0x953884=a41_0x9538();return a41_0x1433=function(_0x1433d4,_0x15f75b){_0x1433d4=_0x1433d4-0x108;let _0x427e9d=_0x953884[_0x1433d4];return _0x427e9d;},a41_0x1433(_0x1c17f8,_0x37e9c7);}const RequestQueueHandler=require(a41_0x24882e(0x145)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x24882e(0x197)),{v4:uuidv4}=require(a41_0x24882e(0x1d1)),path=require(a41_0x24882e(0x1dd)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x24882e(0x1c5)),TestDetails=require(a41_0x24882e(0x1d0)),fs=require('fs'),util=require(a41_0x24882e(0x1e7)),{o11yClassErrorHandler}=require(a41_0x24882e(0x1be)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a41_0x24882e(0x19f)),{appendTesthubParams}=require(a41_0x24882e(0x12f)),TestHubHandler=require(a41_0x24882e(0x13e)),helper=require(a41_0x24882e(0x1c5));class MyReporter{constructor(_0x6f63cb){const _0x485db0=a41_0x24882e,_0xcd6862={'rvXjT':_0x485db0(0x139),'smmPN':_0x485db0(0x1ab),'ZQMsb':function(_0x5687c4,_0x1ad13c,_0x15d3b2,_0x22c3d5){return _0x5687c4(_0x1ad13c,_0x15d3b2,_0x22c3d5);}},_0x1e2acd=_0xcd6862[_0x485db0(0x16a)][_0x485db0(0x1ce)]('|');let _0x20fb33=0x0;while(!![]){switch(_0x1e2acd[_0x20fb33++]){case'0':this[_0x485db0(0x18a)]={};continue;case'1':this[_0x485db0(0x1fc)]=null;continue;case'2':this['options']=_0x6f63cb;continue;case'3':process['env'][_0x485db0(0x1f0)]&&(PerformanceTester[_0x485db0(0x1f5)](_0xcd6862[_0x485db0(0x10b)]),process[_0x485db0(0x193)][_0x485db0(0x1a4)]=new Date()['toISOString']());continue;case'4':this['_gitConfigured']=![];continue;case'5':this[_0x485db0(0x14c)]={};continue;case'6':const _0x38e586={};_0x38e586[_0x485db0(0x1ac)]=process[_0x485db0(0x193)][_0x485db0(0x1e1)],_0xcd6862[_0x485db0(0x180)](setLogLevel,_0x38e586,new Map(),new Map());continue;}break;}}async[a41_0x24882e(0x1a1)](){const _0x460197=a41_0x24882e;TestDetails[_0x460197(0x189)](),await this[_0x460197(0x13d)]();}async['onTestBegin'](_0x299066,_0x140f00){const _0x2f133a=a41_0x24882e,_0x118224={'iLctd':function(_0xd3b297,_0x70f21){return _0xd3b297(_0x70f21);},'nMxLy':'TestRunStarted'},_0x4b7b43=this[_0x2f133a(0x1e4)](_0x299066),_0x17fee4=TestDetails[_0x2f133a(0x1c1)](this['getTestRunIdentifier'](_0x299066,_0x140f00[_0x2f133a(0x1b6)]));process[_0x2f133a(0x193)][_0x2f133a(0x1f7)]=_0x17fee4;const _0x25a5d4={};_0x25a5d4[_0x2f133a(0x1d1)]=_0x17fee4,_0x25a5d4[_0x2f133a(0x20c)]=_0x140f00[_0x2f133a(0x1da)],this[_0x2f133a(0x18a)][_0x4b7b43]=_0x25a5d4,_0x118224['iLctd'](trace,_0x2f133a(0x1b0)+_0x4b7b43),await this[_0x2f133a(0x1ae)](_0x299066,_0x118224[_0x2f133a(0x144)],_0x140f00);}async[a41_0x24882e(0x125)](_0x44674d,_0x1ae7fd,_0x274ed5){const _0xaabbdf=a41_0x24882e,_0x2db5cd={'lSoPY':function(_0x3174b1,_0x4f2653){return _0x3174b1(_0x4f2653);},'MxFZx':'HookRunStarted'};if(!this[_0xaabbdf(0x10d)](_0x274ed5,_0x44674d))return;const _0x303121=this[_0xaabbdf(0x129)](_0x44674d,_0x274ed5);this['_tests'][_0x303121]={'uuid':TestDetails['getTestUUID'](_0x303121),'startedAt':_0x274ed5['startTime'][_0xaabbdf(0x11a)]()};const _0x2ec775=this[_0xaabbdf(0x16e)](_0x44674d,_0x1ae7fd[_0xaabbdf(0x1b6)]);!this[_0xaabbdf(0x14c)][_0x2ec775]&&(this[_0xaabbdf(0x14c)][_0x2ec775]=[]),this['_testHooksMap'][_0x2ec775][_0xaabbdf(0x1bb)](this['_tests'][_0x303121]['uuid']),_0x2db5cd[_0xaabbdf(0x122)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x303121+_0xaabbdf(0x152)+_0x2ec775),await this[_0xaabbdf(0x153)](_0x44674d,_0x274ed5,_0x2db5cd[_0xaabbdf(0x1ec)],_0x1ae7fd);}async[a41_0x24882e(0x10a)](_0x37e7eb,_0x159c71,_0x1dfed3){const _0x58dad0=a41_0x24882e,_0x4453d6={'fANJf':function(_0x5ec898,_0x3aefe1){return _0x5ec898+_0x3aefe1;},'uvLgQ':function(_0x2353dd,_0x3b63da){return _0x2353dd(_0x3b63da);},'sumGx':_0x58dad0(0x1f9)};if(!this[_0x58dad0(0x10d)](_0x1dfed3,_0x37e7eb))return;const _0x10a165=this[_0x58dad0(0x1d6)](_0x37e7eb,_0x1dfed3);this[_0x58dad0(0x18a)][_0x10a165]={...this[_0x58dad0(0x18a)][_0x10a165]||{},'finishedAt':new Date(_0x4453d6[_0x58dad0(0x147)](_0x1dfed3[_0x58dad0(0x1da)][_0x58dad0(0x16f)](),_0x1dfed3[_0x58dad0(0x1d5)]))},_0x4453d6[_0x58dad0(0x138)](trace,_0x58dad0(0x183)+_0x10a165+'\x20is\x20triggered'),await this[_0x58dad0(0x153)](_0x37e7eb,_0x1dfed3,_0x4453d6[_0x58dad0(0x20f)],_0x159c71);}async[a41_0x24882e(0x15c)](_0x5df3ce,_0x723fba){const _0x1c2d80=a41_0x24882e,_0x2e2ea3={'ImXRO':function(_0x307aa6,_0x30ef26){return _0x307aa6===_0x30ef26;},'fglZu':_0x1c2d80(0x165),'jgRVw':_0x1c2d80(0x188),'rfrhF':_0x1c2d80(0x184),'iKemu':function(_0x30c938,_0x51f521){return _0x30c938(_0x51f521);},'Xzyso':_0x1c2d80(0x148),'dQoRW':_0x1c2d80(0x121),'euEhI':function(_0x27ffb2,_0xdede11){return _0x27ffb2(_0xdede11);},'iAzyj':function(_0xaeb545,_0x469cb1,_0x5a4e71){return _0xaeb545(_0x469cb1,_0x5a4e71);},'FWoUe':function(_0x19e987,_0x4bff15){return _0x19e987(_0x4bff15);},'nQSmg':_0x1c2d80(0x1fb),'VNRWS':function(_0x33d575,_0x1b8f07){return _0x33d575>_0x1b8f07;}},_0x2c66c2=this['getTestIdentifier'](_0x5df3ce),_0x4418f6=TestDetails['getTestUUID'](this[_0x1c2d80(0x16e)](_0x5df3ce,_0x723fba[_0x1c2d80(0x1b6)]));this[_0x1c2d80(0x18a)][_0x2c66c2]={...this[_0x1c2d80(0x18a)][_0x2c66c2]||{},'finishedAt':new Date()[_0x1c2d80(0x11a)]()},_0x2e2ea3[_0x1c2d80(0x124)](trace,_0x1c2d80(0x1e9)+_0x2c66c2);try{await this['sendTestRunEvent'](_0x5df3ce,_0x2e2ea3[_0x1c2d80(0x1d4)],_0x723fba);}catch(_0x534c71){_0x2e2ea3[_0x1c2d80(0x124)](debug,util[_0x1c2d80(0x192)](_0x2e2ea3[_0x1c2d80(0x19d)],_0x534c71[_0x1c2d80(0x1cc)]()));}try{_0x2e2ea3[_0x1c2d80(0x203)](debug,_0x1c2d80(0x1b4)+_0x4418f6),await _0x2e2ea3[_0x1c2d80(0x1b2)](sendTraceZip,_0x723fba,_0x4418f6);}catch(_0x299db9){_0x2e2ea3[_0x1c2d80(0x1e6)](debug,util[_0x1c2d80(0x192)](_0x2e2ea3[_0x1c2d80(0x154)],_0x299db9[_0x1c2d80(0x1cc)]()));}const _0x6621d4=[];_0x723fba['attachments']&&_0x723fba[_0x1c2d80(0x19b)][_0x1c2d80(0x162)](_0x18f309=>{const _0x56c968=_0x1c2d80;if(_0x2e2ea3[_0x56c968(0x17b)](_0x18f309[_0x56c968(0x1b5)],_0x2e2ea3[_0x56c968(0x170)])){if(!_0x18f309['path']||!fs[_0x56c968(0x166)](_0x18f309['path']))return;_0x6621d4[_0x56c968(0x1bb)]({'test_run_uuid':_0x4418f6,'timestamp':fs['statSync'](_0x18f309[_0x56c968(0x1dd)])[_0x56c968(0x187)],'kind':_0x2e2ea3['jgRVw'],'message':fs[_0x56c968(0x15b)](_0x18f309[_0x56c968(0x1dd)],{'encoding':_0x2e2ea3[_0x56c968(0x14d)]})});}}),_0x2e2ea3[_0x1c2d80(0x185)](_0x6621d4[_0x1c2d80(0x1e2)],0x0)&&await MyReporter[_0x1c2d80(0x176)](_0x6621d4);}async[a41_0x24882e(0x199)](){const _0x34aa36=a41_0x24882e;await RequestQueueHandler[_0x34aa36(0x13b)]()[_0x34aa36(0x15f)]();}async[a41_0x24882e(0x179)](_0xf5d600){const _0x56ccc9=a41_0x24882e,_0x5cc48d={'qECZp':function(_0x566a1e){return _0x566a1e();},'KOyUF':function(_0x414f25,_0x25bf08){return _0x414f25(_0x25bf08);}};await this[_0x56ccc9(0x199)]();try{process['env'][_0x56ccc9(0x1f0)]&&await _0x5cc48d[_0x56ccc9(0x198)](calculatePerformance);}catch(_0x21d9e3){_0x5cc48d['KOyUF'](debug,_0x56ccc9(0x12b)+_0x21d9e3[_0x56ccc9(0x1cc)]());}}static async[a41_0x24882e(0x1af)](_0x4898d7,_0x3d7ada){const _0x3a2af7=a41_0x24882e;_0x3d7ada[_0x3a2af7(0x18f)]=TestDetails[_0x3a2af7(0x1c1)](_0x4898d7),await this['reportLogs']([_0x3d7ada]);}static async[a41_0x24882e(0x176)](_0x269f55){const _0x5f4356=a41_0x24882e,_0x1658c0={};_0x1658c0[_0x5f4356(0x1c6)]='LogCreated';const _0x920799=_0x1658c0,_0x1abf5c={};_0x1abf5c[_0x5f4356(0x1e8)]=_0x920799[_0x5f4356(0x1c6)],_0x1abf5c[_0x5f4356(0x130)]=_0x269f55,await SessionHandler[_0x5f4356(0x123)](_0x1abf5c);}async[a41_0x24882e(0x153)](_0x2c0061,_0x436d1c,_0x432c7a,_0x479fec){const _0x3c2fc6=a41_0x24882e,_0x2d02f6={'yOdDw':'hook','UgXlz':_0x3c2fc6(0x1a9),'OCrnz':_0x3c2fc6(0x1b1),'zohVY':function(_0x3e54e0,_0x18bdf6){return _0x3e54e0>=_0x18bdf6;},'KMBhG':function(_0xe55497,_0x173e77){return _0xe55497===_0x173e77;},'cojTV':_0x3c2fc6(0x1f9),'ziOzv':function(_0x64c043,_0x45d5f5){return _0x64c043>_0x45d5f5;},'AXtLo':_0x3c2fc6(0x1c3),'IQzZx':function(_0xfc960a,_0x287b17){return _0xfc960a(_0x287b17);},'PqDwB':function(_0x35080d,_0x57141a,_0x53d1d4){return _0x35080d(_0x57141a,_0x53d1d4);},'MLyoo':_0x3c2fc6(0x127),'pNlQc':function(_0x3eb324,_0x15d631){return _0x3eb324===_0x15d631;},'wPNxX':'passed'},_0x5174b7=this[_0x3c2fc6(0x1d6)](_0x2c0061,_0x436d1c),_0x2aba2d=this['_tests'][_0x5174b7],_0x50ae45={'uuid':_0x2aba2d['uuid'],'type':_0x2d02f6[_0x3c2fc6(0x1d3)],'hook_type':this[_0x3c2fc6(0x190)](_0x436d1c[_0x3c2fc6(0x181)]),'name':_0x436d1c['title'],'scope':this[_0x3c2fc6(0x1ba)](_0x436d1c),'scopes':this[_0x3c2fc6(0x17c)](_0x2c0061),'body':{'lang':_0x2d02f6[_0x3c2fc6(0x164)],'code':null},'identifier':_0x5174b7,'file_name':path[_0x3c2fc6(0x11e)](process[_0x3c2fc6(0x1b7)](),_0x2c0061[_0x3c2fc6(0x128)][_0x3c2fc6(0x202)]),'location':path[_0x3c2fc6(0x11e)](process[_0x3c2fc6(0x1b7)](),_0x2c0061[_0x3c2fc6(0x128)]['file']),'result':_0x2d02f6[_0x3c2fc6(0x1f3)],'duration_in_ms':_0x2d02f6['zohVY'](_0x436d1c['duration'],0x0)?_0x436d1c[_0x3c2fc6(0x1d5)]:undefined,'vc_filepath':this[_0x3c2fc6(0x1fc)]&&_0x2c0061[_0x3c2fc6(0x128)]['file']?path[_0x3c2fc6(0x11e)](this[_0x3c2fc6(0x1fc)],_0x2c0061[_0x3c2fc6(0x128)][_0x3c2fc6(0x202)]):undefined,'started_at':_0x2aba2d[_0x3c2fc6(0x20c)],'finished_at':_0x2aba2d[_0x3c2fc6(0x1c8)],'framework':FRAMEWORKS[_0x3c2fc6(0x11c)]};if(_0x2d02f6[_0x3c2fc6(0x17e)](_0x432c7a,_0x2d02f6[_0x3c2fc6(0x109)])){const {steps:_0x34ad1b,logs:_0x4ece73}=this[_0x3c2fc6(0x205)](_0x436d1c[_0x3c2fc6(0x115)],_0x2aba2d[_0x3c2fc6(0x1d1)],_0x2d02f6[_0x3c2fc6(0x1d3)]);_0x4ece73&&_0x2d02f6['ziOzv'](_0x4ece73[_0x3c2fc6(0x1e2)],0x0)&&await MyReporter[_0x3c2fc6(0x176)](_0x4ece73);const _0x1f3294={};_0x1f3294[_0x3c2fc6(0x115)]=_0x34ad1b,_0x50ae45[_0x3c2fc6(0x1cf)]=_0x1f3294;if(_0x436d1c[_0x3c2fc6(0x1ff)]){_0x50ae45[_0x3c2fc6(0x1fd)]=_0x2d02f6[_0x3c2fc6(0x196)],_0x50ae45['failure_reason']=_0x2d02f6[_0x3c2fc6(0x20e)](removeAnsiColors,_0x436d1c[_0x3c2fc6(0x1ff)][_0x3c2fc6(0x111)]),_0x50ae45[_0x3c2fc6(0x131)]=_0x2d02f6[_0x3c2fc6(0x20e)](getFailureType,_0x436d1c[_0x3c2fc6(0x1ff)][_0x3c2fc6(0x111)]);const _0x502874=_0x2d02f6[_0x3c2fc6(0x1bf)](failureData,_0x436d1c[_0x3c2fc6(0x1ff)],_0x2d02f6[_0x3c2fc6(0x161)]);if(_0x502874&&_0x2d02f6[_0x3c2fc6(0x134)](_0x502874[_0x3c2fc6(0x1e2)],0x0)){const _0x5a833b={};_0x5a833b['backtrace']=[_0x50ae45[_0x3c2fc6(0x14f)]],_0x5a833b['expanded']=[],_0x502874['push'](_0x5a833b);}_0x50ae45['failure']=_0x502874;}else _0x50ae45[_0x3c2fc6(0x1fd)]=_0x2d02f6[_0x3c2fc6(0x1c9)];}const _0x58fe7a={};_0x58fe7a['event_type']=_0x432c7a,_0x58fe7a[_0x3c2fc6(0x1c7)]=_0x50ae45;const _0x5f3be2=_0x58fe7a;await SessionHandler[_0x3c2fc6(0x123)](_0x5f3be2);}[a41_0x24882e(0x205)](_0x15458d,_0x17f324,_0xbc1d27){const _0x36ac30=a41_0x24882e,_0x5e6d6b={'NixCs':function(_0x3d33c4,_0x26f4d4){return _0x3d33c4===_0x26f4d4;},'oEdCk':_0x36ac30(0x1f1),'AvxSg':function(_0x4d178b,_0x57cf4e){return _0x4d178b===_0x57cf4e;},'FDfOb':_0x36ac30(0x150),'YkULN':'Before\x20Hooks','RZtHT':_0x36ac30(0x1c2),'fdPJX':'test_run_uuid','xtKvi':_0x36ac30(0x1c0),'rjuvH':_0x36ac30(0x1df),'etktD':'failed','ADtiP':_0x36ac30(0x208),'kftez':function(_0x16afd6,_0x3f9955){return _0x16afd6(_0x3f9955);},'BhSQy':function(_0x41b8f0,_0x39eec8){return _0x41b8f0(_0x39eec8);},'CavYq':function(_0x1b949e){return _0x1b949e();},'tuYDJ':function(_0x91c776,_0x257765){return _0x91c776(_0x257765);},'uCYGM':function(_0x5eb641,_0x188a71,_0x4fd769){return _0x5eb641(_0x188a71,_0x4fd769);}},_0x1b2ff6=[],_0x321617=[],_0x49a49a=_0x15458d['filter'](_0x23ca0c=>{const _0xfae9f1=_0x36ac30;if(_0x5e6d6b[_0xfae9f1(0x173)](_0x23ca0c[_0xfae9f1(0x11b)],_0x5e6d6b[_0xfae9f1(0x1a0)])&&(_0x5e6d6b[_0xfae9f1(0x18d)](_0x23ca0c[_0xfae9f1(0x181)],_0x5e6d6b[_0xfae9f1(0x12e)])||_0x5e6d6b[_0xfae9f1(0x18d)](_0x23ca0c[_0xfae9f1(0x181)],_0x5e6d6b[_0xfae9f1(0x1fa)])))return![];return!![];}),_0x26cee5=(_0x36468b,_0x4ebc46=![])=>{const _0x812dac=_0x36ac30;if(_0x5e6d6b[_0x812dac(0x173)](_0x36468b[_0x812dac(0x115)]['length'],0x0)){const _0x293c34=_0x5e6d6b[_0x812dac(0x18d)](_0xbc1d27,_0x5e6d6b['RZtHT'])?_0x5e6d6b['fdPJX']:_0x5e6d6b[_0x812dac(0x15a)];_0x321617[_0x812dac(0x1bb)]({'kind':_0x5e6d6b['rjuvH'],[_0x293c34]:_0x17f324,'message':_0x36468b['title'],'timestamp':_0x36468b[_0x812dac(0x1da)][_0x812dac(0x11a)](),'level':_0x36468b['error']?_0x5e6d6b[_0x812dac(0x1ef)]:_0x5e6d6b[_0x812dac(0x186)],'duration':_0x36468b['duration'],'failure':_0x36468b['error']&&_0x36468b['error'][_0x812dac(0x111)]&&_0x5e6d6b['kftez'](removeAnsiColors,_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)]),'failure_type':_0x5e6d6b['BhSQy'](getFailureType,_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)])});}else{!_0x4ebc46&&_0x1b2ff6[_0x812dac(0x1bb)]({'id':_0x5e6d6b['CavYq'](uuidv4),'text':_0x36468b['title'],'keyword':undefined,'started_at':_0x36468b['startTime']['toISOString'](),'duration':_0x36468b[_0x812dac(0x1d5)],'result':_0x36468b[_0x812dac(0x1ff)]?_0x5e6d6b[_0x812dac(0x1ef)]:_0x5e6d6b[_0x812dac(0x186)],'failure':_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)]['message']&&_0x5e6d6b[_0x812dac(0x204)](removeAnsiColors,_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)]),'failure_type':_0x5e6d6b[_0x812dac(0x204)](getFailureType,_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)])});for(const _0x323fe0 of _0x36468b[_0x812dac(0x115)]){_0x5e6d6b[_0x812dac(0x1cb)](_0x26cee5,_0x323fe0,!![]);}}};for(const _0x57ac16 of _0x49a49a){_0x5e6d6b[_0x36ac30(0x1cb)](_0x26cee5,_0x57ac16,![]);}const _0xe4e622={};return _0xe4e622[_0x36ac30(0x115)]=_0x1b2ff6,_0xe4e622[_0x36ac30(0x130)]=_0x321617,_0xe4e622;}async[a41_0x24882e(0x1ae)](_0x552bde,_0x469bda,_0x29fae6){const _0x10da6c=a41_0x24882e,_0x487efd={'hejWE':function(_0x38ad67,_0x17a017){return _0x38ad67(_0x17a017);},'XIsyr':_0x10da6c(0x113),'oqzRh':_0x10da6c(0x1b9),'ptMjE':_0x10da6c(0x1c2),'gNuoc':_0x10da6c(0x1a9),'djlcE':_0x10da6c(0x1b1),'aFPPt':function(_0x4edf4c,_0x5ef832){return _0x4edf4c(_0x5ef832);},'lsPbI':function(_0x42c2ac,_0x4cf235,_0x273581,_0x171201,_0x82cdb8){return _0x42c2ac(_0x4cf235,_0x273581,_0x171201,_0x82cdb8);},'MwYhk':function(_0x46e12a,_0xb1ba8b){return _0x46e12a>_0xb1ba8b;},'hiadO':function(_0x31c9cc,_0x15b8ac){return _0x31c9cc-_0x15b8ac;},'gtYnX':function(_0x2e4695,_0x5107b5){return _0x2e4695===_0x5107b5;},'lhOyO':'TestRunFinished','AohsW':function(_0x4269f8,_0x53ec0d){return _0x4269f8===_0x53ec0d;},'XSOeA':'skipped','roLaY':_0x10da6c(0x208),'qzUcD':function(_0x33c15c,_0x66ef04){return _0x33c15c===_0x66ef04;},'FTSDX':function(_0x3f1100,_0x2abc61){return _0x3f1100===_0x2abc61;},'qLEgE':_0x10da6c(0x1c3),'DYTdi':function(_0x59a15e,_0x1bf858){return _0x59a15e===_0x1bf858;},'mTOoN':'timedOut','NjChS':function(_0x776f4e,_0xb780a1){return _0x776f4e===_0xb780a1;},'VydOb':_0x10da6c(0x172),'cQyYg':function(_0x2a1348,_0x1463c1){return _0x2a1348(_0x1463c1);},'uMMgv':function(_0x381897,_0x320aef,_0x3a5ce9){return _0x381897(_0x320aef,_0x3a5ce9);},'qKrnd':function(_0x3cd3d0,_0x1398cc){return _0x3cd3d0>_0x1398cc;},'NvoNb':'path','crJJf':function(_0xb0dc3,_0x45ff78){return _0xb0dc3(_0x45ff78);},'dDzET':_0x10da6c(0x137),'xdztO':_0x10da6c(0x17a),'mldIn':function(_0x25e25b,_0x5a2275){return _0x25e25b!==_0x5a2275;}},_0x1314a0=this[_0x10da6c(0x1e4)](_0x552bde),_0x26a6cf=this['getScope'](_0x552bde),_0x2010d3=this[_0x10da6c(0x18a)][_0x1314a0],_0x202c11=path[_0x10da6c(0x11e)](process[_0x10da6c(0x1b7)](),_0x552bde[_0x10da6c(0x128)]['file']);await this['configureGit']();const _0x2fc82d={'uuid':_0x2010d3[_0x10da6c(0x1d1)],'type':_0x487efd[_0x10da6c(0x1b8)],'name':_0x552bde[_0x10da6c(0x181)],'body':{'lang':_0x487efd[_0x10da6c(0x1a3)],'code':_0x552bde['fn'][_0x10da6c(0x1cc)]()},'scope':_0x26a6cf,'scopes':this[_0x10da6c(0x17c)](_0x552bde),'identifier':_0x1314a0,'file_name':_0x202c11,'location':_0x202c11,'result':_0x487efd[_0x10da6c(0x12c)],'duration_in_ms':_0x29fae6&&_0x29fae6[_0x10da6c(0x1d5)]?_0x29fae6[_0x10da6c(0x1d5)]:null,'vc_filepath':this[_0x10da6c(0x1fc)]&&_0x552bde[_0x10da6c(0x128)][_0x10da6c(0x202)]?path[_0x10da6c(0x11e)](this['_gitConfigPath'],_0x552bde[_0x10da6c(0x128)][_0x10da6c(0x202)]):undefined,'started_at':_0x2010d3['startedAt'],'finished_at':_0x2010d3['finishedAt'],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x10da6c(0x151)](_0x552bde)},'tags':_0x487efd[_0x10da6c(0x1d7)](getTestTags,_0x552bde)};_0x487efd['lsPbI'](appendTesthubParams,_0x2fc82d,_0x469bda,_0x552bde,FRAMEWORKS[_0x10da6c(0x11c)]);_0x29fae6&&_0x487efd[_0x10da6c(0x158)](_0x29fae6[_0x10da6c(0x1b6)],0x0)&&(_0x2fc82d[_0x10da6c(0x120)]=TestDetails[_0x10da6c(0x1c1)](this[_0x10da6c(0x16e)](_0x552bde,_0x487efd[_0x10da6c(0x140)](_0x29fae6['retry'],0x1))));if(_0x487efd['gtYnX'](_0x469bda,_0x487efd[_0x10da6c(0x15d)])){_0x2fc82d[_0x10da6c(0x1fd)]=_0x29fae6[_0x10da6c(0x10f)];if(_0x487efd['AohsW'](_0x29fae6[_0x10da6c(0x10f)],_0x552bde[_0x10da6c(0x117)]))_0x2fc82d[_0x10da6c(0x1fd)]=_0x487efd[_0x10da6c(0x11d)](_0x29fae6[_0x10da6c(0x10f)],_0x487efd['XSOeA'])?_0x487efd['XSOeA']:_0x487efd[_0x10da6c(0x167)];else{(_0x487efd[_0x10da6c(0x20b)](_0x2fc82d[_0x10da6c(0x1fd)],_0x487efd['roLaY'])||_0x487efd['FTSDX'](_0x2fc82d[_0x10da6c(0x1fd)],_0x487efd['qLEgE'])||_0x487efd[_0x10da6c(0x112)](_0x2fc82d['result'],_0x487efd[_0x10da6c(0x1ca)]))&&(_0x2fc82d[_0x10da6c(0x1fd)]=_0x487efd[_0x10da6c(0x200)]);if(_0x487efd[_0x10da6c(0x1ed)](_0x29fae6[_0x10da6c(0x10f)],_0x487efd['roLaY'])&&_0x487efd[_0x10da6c(0x1d8)](_0x552bde[_0x10da6c(0x117)],_0x487efd['qLEgE'])){const _0x3a83af={};_0x3a83af[_0x10da6c(0x111)]=_0x487efd[_0x10da6c(0x201)],_0x3a83af[_0x10da6c(0x1f6)]=_0x487efd[_0x10da6c(0x201)],_0x29fae6[_0x10da6c(0x1ff)]=_0x3a83af,_0x29fae6[_0x10da6c(0x1a2)]=[_0x29fae6[_0x10da6c(0x1ff)]];}}const _0x2f9391=this['getTestRunIdentifier'](_0x552bde,_0x29fae6[_0x10da6c(0x1b6)]);_0x2fc82d[_0x10da6c(0x160)]=this[_0x10da6c(0x14c)][_0x2f9391];const {steps:_0x1fbbea,logs:_0x11906f}=this[_0x10da6c(0x205)](_0x29fae6[_0x10da6c(0x115)],_0x2010d3[_0x10da6c(0x1d1)],_0x487efd[_0x10da6c(0x1b8)]);await MyReporter[_0x10da6c(0x176)](_0x11906f);const _0x52a239={};_0x52a239['steps']=_0x1fbbea,_0x2fc82d[_0x10da6c(0x1cf)]=_0x52a239;if(_0x29fae6['error']){_0x2fc82d[_0x10da6c(0x14f)]=_0x487efd[_0x10da6c(0x1d7)](removeAnsiColors,_0x29fae6['error'][_0x10da6c(0x111)]),_0x2fc82d[_0x10da6c(0x131)]=_0x487efd[_0x10da6c(0x1cd)](getFailureType,_0x29fae6[_0x10da6c(0x1ff)]['message']);const _0x113cc5={};_0x113cc5[_0x10da6c(0x18f)]=_0x2010d3[_0x10da6c(0x1d1)];const {failureData:_0x34aa4a,logs:_0x46dfbb}=_0x487efd[_0x10da6c(0x1fe)](getFailureData,_0x29fae6['errors'],_0x113cc5);if(_0x34aa4a&&_0x487efd[_0x10da6c(0x1d8)](_0x34aa4a[_0x10da6c(0x1e2)],0x0)){const _0x4ed151={};_0x4ed151[_0x10da6c(0x1ee)]=[_0x2fc82d[_0x10da6c(0x14f)]],_0x4ed151[_0x10da6c(0x1eb)]=[],_0x34aa4a['push'](_0x4ed151);}_0x2fc82d['failure']=_0x34aa4a,_0x46dfbb&&_0x487efd['qKrnd'](_0x46dfbb[_0x10da6c(0x1e2)],0x0)&&await MyReporter['reportLogs'](_0x46dfbb);}}let _0x1fcdaf=_0x487efd[_0x10da6c(0x1fe)](findNestedKey,_0x29fae6,_0x487efd[_0x10da6c(0x1e3)]);if(_0x1fcdaf&&_0x487efd['crJJf'](validateFilePath,_0x1fcdaf))_0x487efd['crJJf'](debug,_0x10da6c(0x1c4)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x1de)+_0x1fcdaf);else{const _0x1f473c=path[_0x10da6c(0x16d)](helper['homedir'](),_0x487efd[_0x10da6c(0x159)]);!fs[_0x10da6c(0x166)](_0x1f473c)&&fs[_0x10da6c(0x1e0)](_0x1f473c),fs[_0x10da6c(0x166)](path['join'](_0x1f473c,'trace_'+_0x2010d3['uuid']+_0x10da6c(0x20a)))&&(_0x1fcdaf=fs[_0x10da6c(0x15b)](path[_0x10da6c(0x16d)](_0x1f473c,_0x10da6c(0x149)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x20a)),_0x487efd[_0x10da6c(0x182)]),_0x487efd[_0x10da6c(0x10c)](debug,_0x10da6c(0x1c4)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x1de)+_0x1fcdaf));}const _0x3cea63={};_0x3cea63[_0x10da6c(0x1e8)]=_0x469bda,_0x3cea63['test_run']=_0x2fc82d;const _0x10123a=_0x3cea63;_0x1fcdaf&&_0x487efd['mldIn'](_0x1fcdaf,'')&&_0x487efd['qzUcD'](_0x469bda,_0x487efd[_0x10da6c(0x15d)])&&(!_0x10123a[_0x10da6c(0x130)]&&(_0x10123a[_0x10da6c(0x130)]=[]),_0x1fcdaf[_0x10da6c(0x1ce)]('\x0a')[_0x10da6c(0x156)](_0x5b75b7=>{const _0x1b610a=_0x10da6c;_0x5b75b7&&_0x487efd[_0x1b610a(0x10c)](validateFilePath,_0x5b75b7)&&_0x10123a[_0x1b610a(0x130)][_0x1b610a(0x1bb)]({'kind':_0x487efd[_0x1b610a(0x1a5)],'timestamp':new Date()[_0x1b610a(0x11a)](),'test_run_uuid':_0x2010d3[_0x1b610a(0x1d1)],'file_name':path[_0x1b610a(0x1aa)](_0x5b75b7),'file_size':fs['statSync'](_0x5b75b7)['size'],'attachment_type':_0x487efd[_0x1b610a(0x142)]});})),await SessionHandler[_0x10da6c(0x123)](_0x10123a);}[a41_0x24882e(0x151)](_0x45a0a0){const _0x243789=a41_0x24882e,_0x304d4a={};_0x304d4a[_0x243789(0x17d)]=function(_0x3c50b3,_0x5bec78){return _0x3c50b3===_0x5bec78;},_0x304d4a['nRIiX']=function(_0x4c828d,_0x700185){return _0x4c828d>_0x700185;},_0x304d4a['bGNCm']=function(_0x2df0a5,_0x196a1a){return _0x2df0a5+_0x196a1a;},_0x304d4a[_0x243789(0x163)]=function(_0x201fa7,_0x441a27){return _0x201fa7===_0x441a27;},_0x304d4a[_0x243789(0x169)]=function(_0x43aa4d,_0x357ba1){return _0x43aa4d>_0x357ba1;},_0x304d4a[_0x243789(0x177)]=function(_0x15234c,_0x3ff7ec){return _0x15234c+_0x3ff7ec;};const _0x24f4b5=_0x304d4a,_0x4f1e8b=_0x45a0a0[_0x243789(0x1ea)]()[_0x243789(0x162)](_0x19a9e6=>{const _0x3a3418=_0x243789;if(_0x45a0a0[_0x3a3418(0x195)]&&_0x24f4b5['duOOy'](_0x19a9e6,_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x181)])&&_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x19a)]&&_0x24f4b5[_0x3a3418(0x209)](_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x19a)][_0x3a3418(0x1e2)],0x0))return _0x24f4b5[_0x3a3418(0x12a)](_0x24f4b5[_0x3a3418(0x12a)](_0x19a9e6,'\x20'),_0x45a0a0[_0x3a3418(0x195)]['_tags'][_0x3a3418(0x16d)]('\x20'));if(_0x24f4b5[_0x3a3418(0x163)](_0x19a9e6,_0x45a0a0['title'])&&_0x45a0a0[_0x3a3418(0x19a)]&&_0x24f4b5[_0x3a3418(0x169)](_0x45a0a0[_0x3a3418(0x19a)][_0x3a3418(0x1e2)],0x0))return _0x24f4b5[_0x3a3418(0x177)](_0x24f4b5[_0x3a3418(0x177)](_0x19a9e6,'\x20'),_0x45a0a0[_0x3a3418(0x19a)][_0x3a3418(0x16d)]('\x20'));return _0x19a9e6;})['join']('\x20');return _0x4f1e8b;}static async[a41_0x24882e(0x155)](_0x68af80,_0x5816cf){const _0x3d45d9=a41_0x24882e,_0x26fcb3={'GTgeX':function(_0x4cf33b,_0x2ac480){return _0x4cf33b(_0x2ac480);},'JcCqN':_0x3d45d9(0x12d)},_0x51f78c={'uuid':TestDetails[_0x3d45d9(0x1c1)](_0x68af80),'integrations':_0x5816cf},_0x305532={};_0x305532[_0x3d45d9(0x136)]=null,_0x26fcb3[_0x3d45d9(0x194)](debug,_0x3d45d9(0x178)+_0x68af80+',\x20'+util['inspect'](_0x5816cf,_0x305532));const _0x36047f={};_0x36047f['event_type']=_0x26fcb3[_0x3d45d9(0x16c)],_0x36047f[_0x3d45d9(0x17f)]=_0x51f78c,await SessionHandler[_0x3d45d9(0x123)](_0x36047f);}async[a41_0x24882e(0x13d)](){const _0x9cd2e9=a41_0x24882e,_0x21f890={'qNHIE':function(_0x52e080){return _0x52e080();}};if(this[_0x9cd2e9(0x1f4)])return;const _0x3187e3=await _0x21f890[_0x9cd2e9(0x1a6)](getGitMetaData);_0x3187e3&&(this['_gitConfigPath']=_0x3187e3[_0x9cd2e9(0x13a)]),this['_gitConfigured']=!![];}[a41_0x24882e(0x17c)](_0x3c8f75){const _0x77a653=a41_0x24882e,_0x2256d4={};_0x2256d4['xvKEx']=function(_0x3fee44,_0x4f2feb){return _0x3fee44!==_0x4f2feb;};const _0x62702a=_0x2256d4,_0xb4ac81=[];if(_0x3c8f75&&_0x3c8f75[_0x77a653(0x195)]){let _0x418c1c=_0x3c8f75[_0x77a653(0x195)];while(_0x418c1c&&_0x62702a[_0x77a653(0x108)](_0x418c1c[_0x77a653(0x181)],'')){_0xb4ac81[_0x77a653(0x1bb)](_0x418c1c[_0x77a653(0x181)]),_0x418c1c=_0x418c1c[_0x77a653(0x195)];}}return _0xb4ac81[_0x77a653(0x16b)]()['splice'](0x0,0x2),_0xb4ac81;}[a41_0x24882e(0x10d)](_0x212d52){const _0x571b5a=a41_0x24882e,_0x5b6c77={};_0x5b6c77['wbTzZ']=function(_0xd09597,_0x502654){return _0xd09597!==_0x502654;},_0x5b6c77[_0x571b5a(0x11f)]='hook',_0x5b6c77[_0x571b5a(0x141)]=function(_0xf74dd0,_0x3fa8cd){return _0xf74dd0===_0x3fa8cd;},_0x5b6c77[_0x571b5a(0x157)]=_0x571b5a(0x191),_0x5b6c77[_0x571b5a(0x1b3)]=_0x571b5a(0x207),_0x5b6c77[_0x571b5a(0x1d2)]='afterAll\x20hook',_0x5b6c77[_0x571b5a(0x1d9)]=_0x571b5a(0x20d);const _0x2c6484=_0x5b6c77;if(_0x2c6484[_0x571b5a(0x135)](_0x212d52['category'],_0x2c6484[_0x571b5a(0x11f)]))return![];if(_0x2c6484[_0x571b5a(0x141)]([_0x2c6484[_0x571b5a(0x157)],_0x2c6484[_0x571b5a(0x1b3)],_0x2c6484[_0x571b5a(0x1d2)],_0x2c6484[_0x571b5a(0x1d9)]][_0x571b5a(0x18b)](_0x212d52['title']),-0x1))return![];return!![];}[a41_0x24882e(0x1d6)](_0x11c9c0,_0x141a11){const _0x412b5c=a41_0x24882e,_0x290825=_0x141a11[_0x412b5c(0x14b)];if(_0x290825)return _0x290825;return _0x141a11[_0x412b5c(0x181)]+_0x412b5c(0x168)+this[_0x412b5c(0x1e4)](_0x11c9c0);}[a41_0x24882e(0x129)](_0x4bf3e8,_0x2efcbd){const _0x43b28b=a41_0x24882e,_0x43ec45={'kQcBs':function(_0xf2733a){return _0xf2733a();}};let _0x419d3d=_0x2efcbd[_0x43b28b(0x181)]+_0x43b28b(0x168)+this[_0x43b28b(0x1e4)](_0x4bf3e8);return this[_0x43b28b(0x18a)][_0x419d3d]&&(_0x419d3d=_0x419d3d+'\x20-\x20'+_0x43ec45['kQcBs'](uuidv4)),_0x2efcbd[_0x43b28b(0x14b)]=_0x419d3d,_0x419d3d;}[a41_0x24882e(0x1e4)]=_0x143302=>{const _0x3ab095=a41_0x24882e,_0x12356d={};_0x12356d[_0x3ab095(0x174)]=function(_0x2f0b33,_0xb527e9){return _0x2f0b33+_0xb527e9;},_0x12356d['YpeHl']=function(_0x561d33,_0x45643f){return _0x561d33+_0x45643f;};const _0x22396b=_0x12356d;return _0x22396b[_0x3ab095(0x174)](_0x22396b[_0x3ab095(0x1f8)](_0x143302['_projectId'],'-'),_0x143302['id']);};[a41_0x24882e(0x16e)]=(_0x38e733,_0x551fc0)=>{const _0x39a8b6=a41_0x24882e,_0x4d4187={};_0x4d4187['JiQUX']=function(_0x389f52,_0x3e1826){return _0x389f52+_0x3e1826;},_0x4d4187[_0x39a8b6(0x133)]=function(_0x5c289a,_0x5f33a1){return _0x5c289a+_0x5f33a1;};const _0x1236b3=_0x4d4187;return _0x1236b3[_0x39a8b6(0x1bc)](_0x1236b3[_0x39a8b6(0x133)](this[_0x39a8b6(0x1e4)](_0x38e733),'-'),_0x551fc0);};[a41_0x24882e(0x190)]=_0xb2b580=>{const _0x4ec6fd=a41_0x24882e,_0x17e7c0={};_0x17e7c0[_0x4ec6fd(0x132)]=_0x4ec6fd(0x191),_0x17e7c0[_0x4ec6fd(0x18c)]=_0x4ec6fd(0x143),_0x17e7c0[_0x4ec6fd(0x1ad)]=_0x4ec6fd(0x207),_0x17e7c0[_0x4ec6fd(0x206)]='BEFORE_ALL',_0x17e7c0[_0x4ec6fd(0x118)]=_0x4ec6fd(0x20d),_0x17e7c0[_0x4ec6fd(0x1a8)]='AFTER_EACH',_0x17e7c0[_0x4ec6fd(0x146)]=_0x4ec6fd(0x10e),_0x17e7c0[_0x4ec6fd(0x119)]=_0x4ec6fd(0x1db),_0x17e7c0['zgZMt']=_0x4ec6fd(0x126);const _0x2f6904=_0x17e7c0;if(_0xb2b580['startsWith'](_0x2f6904['mIAcn']))return _0x2f6904[_0x4ec6fd(0x18c)];else{if(_0xb2b580[_0x4ec6fd(0x1e5)](_0x2f6904[_0x4ec6fd(0x1ad)]))return _0x2f6904[_0x4ec6fd(0x206)];else{if(_0xb2b580[_0x4ec6fd(0x1e5)](_0x2f6904['VPTCd']))return _0x2f6904[_0x4ec6fd(0x1a8)];else{if(_0xb2b580['startsWith'](_0x2f6904[_0x4ec6fd(0x146)]))return _0x2f6904[_0x4ec6fd(0x119)];}}}return _0x2f6904[_0x4ec6fd(0x1dc)];};[a41_0x24882e(0x1ba)]=_0x4f88b4=>{const _0x573f01=a41_0x24882e,_0x329678={};_0x329678[_0x573f01(0x110)]=function(_0x3aeb0f,_0x247555){return _0x3aeb0f===_0x247555;},_0x329678[_0x573f01(0x14e)]=_0x573f01(0x13f);const _0x37ff58=_0x329678;let _0x526a34=_0x4f88b4['parent'];return _0x37ff58[_0x573f01(0x110)](typeof _0x4f88b4[_0x573f01(0x195)],_0x37ff58[_0x573f01(0x14e)])&&(_0x526a34=_0x526a34[_0x573f01(0x181)]),_0x526a34+'\x20-\x20'+_0x4f88b4['title'];};['printsToStdio'](){return![];}}module[a41_0x24882e(0x175)]=o11yClassErrorHandler(MyReporter,[a41_0x24882e(0x1a1),a41_0x24882e(0x199),a41_0x24882e(0x1bd),a41_0x24882e(0x15c),a41_0x24882e(0x125),a41_0x24882e(0x10a),a41_0x24882e(0x155)],a41_0x24882e(0x114));
|
|
1
|
+
const a41_0x3bb438=a41_0xe086;function a41_0x3ccd(){const _0x4c7ca5=['\x20is\x20triggered\x20for\x20test\x20','TCcXd','VxsbN','logs','BEFORE_EACH','name','../../../helpers/test-observability/error-handler','_gitConfigPath','uWXUc','getTestRunIdentifier','dKwsv','_testHooksMap','test_run_uuid','RnKdY','hEpgg','trace_','mkdirSync','getTestUUID','TEST_ATTACHMENT','screenshot','getHierarchy','4342212xfCwBp','hNidl','onEnd','sendTestRunEvent','9318iIGrES','getCustomRerunParam','7373585kzEMlv','90648pdvWWb','XqEWj','YORDO','onUWF','join','beforeAll\x20hook','toString','ESzXR','tbMtb','failure','ilWfY','onTestEnd','TestRunFinished','status','RMvyK','\x20at\x20','RHaJi','TestRunStarted','ttXdt','event_type','efOQb','NFIYa','finishedAt','configureGit','YWkZq','reportLogs','AFTER_EACH','message','cwd','retry_of','parent','startsWith','hook','onBegin','BZmwf','depth','env','sendSessionDetails','IQXPZ','Tlbep','attachments','splice','77wgSVOP','PXGxJ','PLAYWRIGHT_TRACE_LOGS','rWWvm','nYLIe','reverse','WUpbR','format','skipped','vGIWe','_tests','VSJdp','MyReporter','getScope','\x20for\x20','Fclvo','getStepsAndLogs','split','../../../helpers/test-observability/constants','AFTER_ALL','failure_reason','BEFORE_ALL','LMXpS','../../../helpers/performance/performance-tester','YoaqA','JvQPF','CedZX','../../../helpers/test-observability/requestQueueHandler','CykWR','filter','NpTdl','options','QsXxd','startedAt','homedir','failure_type','indexOf','4IWBync','PuCQJ','nNyGh','uClgf','.txt','duration','onStepEnd','../../../helpers/test-observability/utils','getInstance','existsSync','statSync','ClJZO','../../../helpers/helper','wQUwK','errors','onTestBegin','WQxua','HookRunStarted','steps','stack','uuid','../../../helpers/testhub/utils','vrZnQ','relative','wGbVM','afterEach\x20hook','retry','BROWSERSTACK_O11Y_PERF_MEASUREMENT','LZvhH','location','error','result','RQdew','akWqB','PGoyd','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','test','Error\x20in\x20calculating\x20performance:\x20','readFileSync','timedOut','BROWSERSTACK_TEST_RUN_ID','zWadW','PLAYWRIGHT','_projectId','failed','hook_run','test_run','../../../helpers/test-observability/sessionHandler','YrJDH','Before\x20Hooks','getStepIdentifier','category','MPzsZ','IFQWw','Hook\x20Started\x20with\x20unique\x20id\x20','javascript','length','oHHCE','GDfMh','35169564DmMtxV','expectedStatus','\x20-\x20','UzvIJ','zZRon','EfvDu','onStepBegin','_gitConfigured','VGJaB','needToReportStep','toISOString','dRLcs','hook_run_uuid','6005493fLoacE','hvNrx','map','getTestIdentifier','AWZUe','titlePath','DcHGt','KBCOT','4181808vgTbcp','uCboT','Nqyuh','MqTFO','logLevel','xYLUx','bnvYM','title','getHookType','hfWba','106KKqJxm','yQHuU','Trace\x20file\x20found\x20for\x20test:\x20','ZLWoI','uzoFs','OLfKg','LxbCr','11xAcKgE','uxIsZ','forEach','path','HookRunFinished','uploadEventData','startTime','devTZ','ovpld','unknown','utf8','file','YeRmA','afterAll\x20hook','OSUKZ','passed','endSession','PnqAR','util','Test\x20Finished\x20with\x20unique\x20id\x20','Hook\x20Finished\x20with\x20unique\x20id\x20','bbjfv','MfzCZ','10wuCGwm','exports','iqPkK','Sending\x20session\x20details\x20for\x20','fVwgp','LRESh','./pwUtils','meta','expanded','GItZj','aNJYZ','../../../helpers/testhub/testhubHandler','XYlyc','_tags','PRGqC','LogCreated','ljzlM','beforeEach\x20hook','Weevg','ycqhf','_bs_hookIdentifier','rqbJe','backtrace','base64','hbYkt','iAtGi','Hbvgt','pending','push','getTime','performance-report-reporter.json','RCAfC','sendHookRunEvent','Error\x20in\x20sending\x20trace\x20zip:\x20%s','zqoYo','hooks'];a41_0x3ccd=function(){return _0x4c7ca5;};return a41_0x3ccd();}function a41_0xe086(_0x558605,_0x502d6a){const _0x3ccdfb=a41_0x3ccd();return a41_0xe086=function(_0xe08615,_0x437715){_0xe08615=_0xe08615-0xb5;let _0x5f5d79=_0x3ccdfb[_0xe08615];return _0x5f5d79;},a41_0xe086(_0x558605,_0x502d6a);}(function(_0x24cd33,_0x2fb58e){const _0x5ae8ab=a41_0xe086,_0x14db12=_0x24cd33();while(!![]){try{const _0x3d3708=-parseInt(_0x5ae8ab(0xc6))/0x1*(parseInt(_0x5ae8ab(0x121))/0x2)+-parseInt(_0x5ae8ab(0x11d))/0x3+parseInt(_0x5ae8ab(0x173))/0x4*(-parseInt(_0x5ae8ab(0x123))/0x5)+parseInt(_0x5ae8ab(0xbc))/0x6+parseInt(_0x5ae8ab(0x14e))/0x7*(-parseInt(_0x5ae8ab(0x124))/0x8)+-parseInt(_0x5ae8ab(0x1bb))/0x9*(-parseInt(_0x5ae8ab(0xe4))/0xa)+parseInt(_0x5ae8ab(0xcd))/0xb*(parseInt(_0x5ae8ab(0x1ae))/0xc);if(_0x3d3708===_0x2fb58e)break;else _0x14db12['push'](_0x14db12['shift']());}catch(_0x1d54d6){_0x14db12['push'](_0x14db12['shift']());}}}(a41_0x3ccd,0xb82fa));const RequestQueueHandler=require(a41_0x3bb438(0x169)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x3bb438(0xea)),{v4:uuidv4}=require(a41_0x3bb438(0x187)),path=require(a41_0x3bb438(0xd0)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x3bb438(0x17a)),{getGitMetaData,setLogLevel}=require(a41_0x3bb438(0x17f)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x3bb438(0xdf)),{o11yClassErrorHandler}=require(a41_0x3bb438(0x10e)),PerformanceTester=require(a41_0x3bb438(0x165)),{FRAMEWORKS}=require(a41_0x3bb438(0x160)),SessionHandler=require(a41_0x3bb438(0x1a2)),{appendTesthubParams}=require(a41_0x3bb438(0x188)),TestHubHandler=require(a41_0x3bb438(0xef)),helper=require(a41_0x3bb438(0x17f));class MyReporter{constructor(_0x34a7a8){const _0x33ce06=a41_0x3bb438,_0x9fca16={'xYLUx':'5|0|3|6|1|2|4','qHxwb':_0x33ce06(0x102),'jZvLC':function(_0x4a0279,_0x16ec4e,_0x41bbe5,_0x1572a6){return _0x4a0279(_0x16ec4e,_0x41bbe5,_0x1572a6);}},_0x1de9cb=_0x9fca16[_0x33ce06(0xc1)][_0x33ce06(0x15f)]('|');let _0x355432=0x0;while(!![]){switch(_0x1de9cb[_0x355432++]){case'0':process[_0x33ce06(0x148)][_0x33ce06(0x18e)]&&(PerformanceTester['startMonitoring'](_0x9fca16['qHxwb']),process[_0x33ce06(0x148)]['START_TIME']=new Date()['toISOString']());continue;case'1':this[_0x33ce06(0x16d)]=_0x34a7a8;continue;case'2':this[_0x33ce06(0x1b5)]=![];continue;case'3':this[_0x33ce06(0x158)]={};continue;case'4':this[_0x33ce06(0x10f)]=null;continue;case'5':const _0x35b127={};_0x35b127[_0x33ce06(0xc0)]=process['env']['BROWSERSTACK_LOG_LEVEL'],_0x9fca16['jZvLC'](setLogLevel,_0x35b127,new Map(),new Map());continue;case'6':this[_0x33ce06(0x113)]={};continue;}break;}}async['onBegin'](){const _0x489588=a41_0x3bb438;TestDetails['setup'](),await this[_0x489588(0x13b)]();}async[a41_0x3bb438(0x182)](_0x2af253,_0x11578e){const _0x4a7f6f=a41_0x3bb438,_0x392110={'PnqAR':function(_0x5c0c39,_0x243049){return _0x5c0c39(_0x243049);},'VxsbN':_0x4a7f6f(0x135)},_0x4522b7=this[_0x4a7f6f(0xb7)](_0x2af253),_0x32a397=TestDetails[_0x4a7f6f(0x119)](this[_0x4a7f6f(0x111)](_0x2af253,_0x11578e['retry']));process[_0x4a7f6f(0x148)][_0x4a7f6f(0x19b)]=_0x32a397;const _0x4b4f33={};_0x4b4f33[_0x4a7f6f(0x187)]=_0x32a397,_0x4b4f33[_0x4a7f6f(0x16f)]=_0x11578e[_0x4a7f6f(0xd3)],this[_0x4a7f6f(0x158)][_0x4522b7]=_0x4b4f33,_0x392110[_0x4a7f6f(0xde)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x4522b7),await this[_0x4a7f6f(0x120)](_0x2af253,_0x392110[_0x4a7f6f(0x10a)],_0x11578e);}async[a41_0x3bb438(0x1b4)](_0x54c40e,_0xaa444,_0x514b06){const _0x1b8d81=a41_0x3bb438,_0x4a0412={'ovpld':function(_0x38b583,_0x2c22e8){return _0x38b583(_0x2c22e8);},'ljzlM':_0x1b8d81(0x184)};if(!this[_0x1b8d81(0x1b7)](_0x514b06,_0x54c40e))return;const _0x54f891=this['setStepIdentifier'](_0x54c40e,_0x514b06);this[_0x1b8d81(0x158)][_0x54f891]={'uuid':TestDetails[_0x1b8d81(0x119)](_0x54f891),'startedAt':_0x514b06[_0x1b8d81(0xd3)][_0x1b8d81(0x1b8)]()};const _0x245591=this['getTestRunIdentifier'](_0x54c40e,_0xaa444[_0x1b8d81(0x18d)]);!this[_0x1b8d81(0x113)][_0x245591]&&(this[_0x1b8d81(0x113)][_0x245591]=[]),this[_0x1b8d81(0x113)][_0x245591]['push'](this[_0x1b8d81(0x158)][_0x54f891][_0x1b8d81(0x187)]),_0x4a0412[_0x1b8d81(0xd5)](trace,_0x1b8d81(0x1a9)+_0x54f891+_0x1b8d81(0x108)+_0x245591),await this[_0x1b8d81(0x104)](_0x54c40e,_0x514b06,_0x4a0412[_0x1b8d81(0xf4)],_0xaa444);}async['onStepEnd'](_0x3c434e,_0x2dd0df,_0x27f007){const _0x369115=a41_0x3bb438,_0x404750={'IFQWw':function(_0x4f5b47,_0x420e51){return _0x4f5b47+_0x420e51;},'muqNr':function(_0x6f2bb,_0x1f54c1){return _0x6f2bb(_0x1f54c1);},'sIAkf':_0x369115(0xd1)};if(!this[_0x369115(0x1b7)](_0x27f007,_0x3c434e))return;const _0x1215c3=this[_0x369115(0x1a5)](_0x3c434e,_0x27f007);this[_0x369115(0x158)][_0x1215c3]={...this['_tests'][_0x1215c3]||{},'finishedAt':new Date(_0x404750[_0x369115(0x1a8)](_0x27f007[_0x369115(0xd3)][_0x369115(0x101)](),_0x27f007[_0x369115(0x178)]))},_0x404750['muqNr'](trace,_0x369115(0xe1)+_0x1215c3+'\x20is\x20triggered'),await this[_0x369115(0x104)](_0x3c434e,_0x27f007,_0x404750['sIAkf'],_0x2dd0df);}async[a41_0x3bb438(0x12f)](_0x5f3b30,_0x308c0a){const _0x2c5191=a41_0x3bb438,_0x265f04={'ZEEOq':function(_0xd8fe82,_0x5d713e){return _0xd8fe82===_0x5d713e;},'RQdew':_0x2c5191(0x11b),'pvYcB':'TEST_SCREENSHOT','Hbvgt':_0x2c5191(0xfb),'NpTdl':function(_0x22ea1c,_0xee8c35){return _0x22ea1c(_0xee8c35);},'Nvcyh':_0x2c5191(0x130),'EfvDu':function(_0x3e3b20,_0x269609){return _0x3e3b20(_0x269609);},'ttXdt':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','WQxua':function(_0x24cf82,_0x46e843){return _0x24cf82(_0x46e843);},'hiXMD':function(_0xbe871f,_0xbcb466,_0x61e6c0){return _0xbe871f(_0xbcb466,_0x61e6c0);},'nRtJl':function(_0x5be761,_0x2ead6d){return _0x5be761(_0x2ead6d);},'iAtGi':_0x2c5191(0x105),'Tlbep':function(_0x13e4fd,_0x2def05){return _0x13e4fd>_0x2def05;}},_0x45dc1d=this[_0x2c5191(0xb7)](_0x5f3b30),_0x60623e=TestDetails[_0x2c5191(0x119)](this[_0x2c5191(0x111)](_0x5f3b30,_0x308c0a[_0x2c5191(0x18d)]));this[_0x2c5191(0x158)][_0x45dc1d]={...this[_0x2c5191(0x158)][_0x45dc1d]||{},'finishedAt':new Date()[_0x2c5191(0x1b8)]()},_0x265f04[_0x2c5191(0x16c)](trace,_0x2c5191(0xe0)+_0x45dc1d);try{await this[_0x2c5191(0x120)](_0x5f3b30,_0x265f04['Nvcyh'],_0x308c0a);}catch(_0x3c7906){_0x265f04[_0x2c5191(0x1b3)](debug,util['format'](_0x265f04[_0x2c5191(0x136)],_0x3c7906['toString']()));}try{_0x265f04[_0x2c5191(0x183)](debug,_0x2c5191(0x196)+_0x60623e),await _0x265f04['hiXMD'](sendTraceZip,_0x308c0a,_0x60623e);}catch(_0x597320){_0x265f04['nRtJl'](debug,util[_0x2c5191(0x155)](_0x265f04[_0x2c5191(0xfd)],_0x597320[_0x2c5191(0x12a)]()));}const _0x536690=[];_0x308c0a[_0x2c5191(0x14c)]&&_0x308c0a[_0x2c5191(0x14c)][_0x2c5191(0xb6)](_0x3de68b=>{const _0x2feb6e=_0x2c5191;if(_0x265f04['ZEEOq'](_0x3de68b[_0x2feb6e(0x10d)],_0x265f04[_0x2feb6e(0x193)])){if(!_0x3de68b['path']||!fs[_0x2feb6e(0x17c)](_0x3de68b['path']))return;_0x536690['push']({'test_run_uuid':_0x60623e,'timestamp':fs[_0x2feb6e(0x17d)](_0x3de68b[_0x2feb6e(0xd0)])['mtime'],'kind':_0x265f04['pvYcB'],'message':fs[_0x2feb6e(0x199)](_0x3de68b['path'],{'encoding':_0x265f04[_0x2feb6e(0xfe)]})});}}),_0x265f04[_0x2c5191(0x14b)](_0x536690[_0x2c5191(0x1ab)],0x0)&&await MyReporter['reportLogs'](_0x536690);}async['endSession'](){const _0x1dd1d3=a41_0x3bb438;await RequestQueueHandler[_0x1dd1d3(0x17b)]()['shutdown']();}async[a41_0x3bb438(0x11f)](_0x501b6f){const _0x2a0459=a41_0x3bb438,_0x3618fe={'ycqhf':function(_0x272cf2){return _0x272cf2();},'Fclvo':function(_0x299464,_0x6dff83){return _0x299464(_0x6dff83);}};await this[_0x2a0459(0xdd)]();try{process[_0x2a0459(0x148)][_0x2a0459(0x18e)]&&await _0x3618fe[_0x2a0459(0xf7)](calculatePerformance);}catch(_0x4668f2){_0x3618fe[_0x2a0459(0x15d)](debug,_0x2a0459(0x198)+_0x4668f2['toString']());}}static async['addTestUIDAndReportLog'](_0x2f87e9,_0x2a8ff6){const _0x4e4f3a=a41_0x3bb438;_0x2a8ff6[_0x4e4f3a(0x114)]=TestDetails[_0x4e4f3a(0x119)](_0x2f87e9),await this[_0x4e4f3a(0x13d)]([_0x2a8ff6]);}static async[a41_0x3bb438(0x13d)](_0x236005){const _0x43add7=a41_0x3bb438,_0x27cfd0={};_0x27cfd0[_0x43add7(0xe6)]=_0x43add7(0xf3);const _0x1c33d9=_0x27cfd0,_0x1bc9e6={};_0x1bc9e6[_0x43add7(0x137)]=_0x1c33d9[_0x43add7(0xe6)],_0x1bc9e6['logs']=_0x236005,await SessionHandler[_0x43add7(0xd2)](_0x1bc9e6);}async[a41_0x3bb438(0x104)](_0x36f68e,_0x3da08b,_0x466d60,_0x488e6b){const _0x17a173=a41_0x3bb438,_0x4ad1a7={'TCcXd':_0x17a173(0x144),'akWqB':'javascript','YVhLD':_0x17a173(0xff),'xdRlq':function(_0x32d73a,_0x2e6787){return _0x32d73a>=_0x2e6787;},'ClJZO':function(_0x577283,_0x1ea0ef){return _0x577283===_0x1ea0ef;},'RHaJi':'HookRunFinished','mTkIN':function(_0x40c1d6,_0x5d01f6){return _0x40c1d6>_0x5d01f6;},'zqoYo':_0x17a173(0x19f),'dRLcs':function(_0x5d1745,_0x52aa98){return _0x5d1745(_0x52aa98);},'WulDz':function(_0x244efe,_0x6b3786){return _0x244efe(_0x6b3786);},'AWZUe':function(_0x208e43,_0x18a4c1,_0x527988){return _0x208e43(_0x18a4c1,_0x527988);},'PGoyd':'err','VGJaB':function(_0x3a4bd8,_0xb71ea3){return _0x3a4bd8===_0xb71ea3;},'ilWfY':_0x17a173(0xdc)},_0x58f2fc=this[_0x17a173(0x1a5)](_0x36f68e,_0x3da08b),_0x55bb71=this['_tests'][_0x58f2fc],_0x12cb92={'uuid':_0x55bb71[_0x17a173(0x187)],'type':_0x4ad1a7[_0x17a173(0x109)],'hook_type':this[_0x17a173(0xc4)](_0x3da08b[_0x17a173(0xc3)]),'name':_0x3da08b['title'],'scope':this['getScope'](_0x3da08b),'scopes':this[_0x17a173(0x11c)](_0x36f68e),'body':{'lang':_0x4ad1a7[_0x17a173(0x194)],'code':null},'identifier':_0x58f2fc,'file_name':path[_0x17a173(0x18a)](process[_0x17a173(0x140)](),_0x36f68e[_0x17a173(0x190)][_0x17a173(0xd8)]),'location':path['relative'](process['cwd'](),_0x36f68e['location'][_0x17a173(0xd8)]),'result':_0x4ad1a7['YVhLD'],'duration_in_ms':_0x4ad1a7['xdRlq'](_0x3da08b[_0x17a173(0x178)],0x0)?_0x3da08b['duration']:undefined,'vc_filepath':this[_0x17a173(0x10f)]&&_0x36f68e[_0x17a173(0x190)][_0x17a173(0xd8)]?path[_0x17a173(0x18a)](this['_gitConfigPath'],_0x36f68e[_0x17a173(0x190)][_0x17a173(0xd8)]):undefined,'started_at':_0x55bb71[_0x17a173(0x16f)],'finished_at':_0x55bb71[_0x17a173(0x13a)],'framework':FRAMEWORKS[_0x17a173(0x19d)]};if(_0x4ad1a7[_0x17a173(0x17e)](_0x466d60,_0x4ad1a7[_0x17a173(0x134)])){const {steps:_0x49ec78,logs:_0x1dce30}=this[_0x17a173(0x15e)](_0x3da08b[_0x17a173(0x185)],_0x55bb71[_0x17a173(0x187)],_0x4ad1a7[_0x17a173(0x109)]);_0x1dce30&&_0x4ad1a7['mTkIN'](_0x1dce30[_0x17a173(0x1ab)],0x0)&&await MyReporter['reportLogs'](_0x1dce30);const _0x1a6b0={};_0x1a6b0[_0x17a173(0x185)]=_0x49ec78,_0x12cb92[_0x17a173(0xeb)]=_0x1a6b0;if(_0x3da08b['error']){_0x12cb92[_0x17a173(0x192)]=_0x4ad1a7[_0x17a173(0x106)],_0x12cb92[_0x17a173(0x162)]=_0x4ad1a7[_0x17a173(0x1b9)](removeAnsiColors,_0x3da08b[_0x17a173(0x191)][_0x17a173(0x13f)]),_0x12cb92[_0x17a173(0x171)]=_0x4ad1a7['WulDz'](getFailureType,_0x3da08b['error'][_0x17a173(0x13f)]);const _0x3a38df=_0x4ad1a7[_0x17a173(0xb8)](failureData,_0x3da08b[_0x17a173(0x191)],_0x4ad1a7[_0x17a173(0x195)]);if(_0x3a38df&&_0x4ad1a7[_0x17a173(0x1b6)](_0x3a38df[_0x17a173(0x1ab)],0x0)){const _0x28ce9f={};_0x28ce9f[_0x17a173(0xfa)]=[_0x12cb92[_0x17a173(0x162)]],_0x28ce9f[_0x17a173(0xec)]=[],_0x3a38df[_0x17a173(0x100)](_0x28ce9f);}_0x12cb92[_0x17a173(0x12d)]=_0x3a38df;}else _0x12cb92[_0x17a173(0x192)]=_0x4ad1a7[_0x17a173(0x12e)];}const _0x9a659={};_0x9a659[_0x17a173(0x137)]=_0x466d60,_0x9a659[_0x17a173(0x1a0)]=_0x12cb92;const _0x3b1e4d=_0x9a659;await SessionHandler[_0x17a173(0xd2)](_0x3b1e4d);}[a41_0x3bb438(0x15e)](_0x2a1088,_0x35c61f,_0x466ba9){const _0x2cbfdf=a41_0x3bb438,_0x1b713a={'WUpbR':function(_0xe1918f,_0x33208d){return _0xe1918f===_0x33208d;},'RCAfC':'hook','CykWR':function(_0x2a51f9,_0x486858){return _0x2a51f9===_0x486858;},'KBCOT':'After\x20Hooks','wQUwK':function(_0x4ed1ae,_0x5c7a7e){return _0x4ed1ae===_0x5c7a7e;},'uxIsZ':_0x2cbfdf(0x1a4),'bnvYM':function(_0x2c36df,_0x1b4212){return _0x2c36df===_0x1b4212;},'dKwsv':'test','YORDO':_0x2cbfdf(0x114),'LRESh':_0x2cbfdf(0x1ba),'BZmwf':'TEST_STEP','Weevg':_0x2cbfdf(0x19f),'MPzsZ':_0x2cbfdf(0xdc),'aNJYZ':function(_0x4343ae,_0x65d62c){return _0x4343ae(_0x65d62c);},'swuJU':function(_0x117681,_0x1c454c){return _0x117681(_0x1c454c);},'yqCLV':function(_0x514637){return _0x514637();},'hfWba':function(_0x4202ed,_0x404f3f){return _0x4202ed(_0x404f3f);},'rsuyr':function(_0x49fc69,_0x129490){return _0x49fc69(_0x129490);},'kdVgE':function(_0x2399c4,_0x15de13,_0x4cf239){return _0x2399c4(_0x15de13,_0x4cf239);}},_0x58e568=[],_0x1e90e7=[],_0xbd90c1=_0x2a1088[_0x2cbfdf(0x16b)](_0x3cc331=>{const _0x93333c=_0x2cbfdf;if(_0x1b713a[_0x93333c(0x154)](_0x3cc331['category'],_0x1b713a[_0x93333c(0x103)])&&(_0x1b713a[_0x93333c(0x16a)](_0x3cc331['title'],_0x1b713a[_0x93333c(0xbb)])||_0x1b713a[_0x93333c(0x180)](_0x3cc331[_0x93333c(0xc3)],_0x1b713a[_0x93333c(0xce)])))return![];return!![];}),_0x3e6ea5=(_0x4f0566,_0x26a832=![])=>{const _0x369dec=_0x2cbfdf;if(_0x1b713a['wQUwK'](_0x4f0566[_0x369dec(0x185)][_0x369dec(0x1ab)],0x0)){const _0x3a57f9=_0x1b713a[_0x369dec(0xc2)](_0x466ba9,_0x1b713a[_0x369dec(0x112)])?_0x1b713a[_0x369dec(0x126)]:_0x1b713a[_0x369dec(0xe9)];_0x1e90e7['push']({'kind':_0x1b713a[_0x369dec(0x146)],[_0x3a57f9]:_0x35c61f,'message':_0x4f0566['title'],'timestamp':_0x4f0566[_0x369dec(0xd3)][_0x369dec(0x1b8)](),'level':_0x4f0566['error']?_0x1b713a['Weevg']:_0x1b713a[_0x369dec(0x1a7)],'duration':_0x4f0566[_0x369dec(0x178)],'failure':_0x4f0566['error']&&_0x4f0566[_0x369dec(0x191)][_0x369dec(0x13f)]&&_0x1b713a[_0x369dec(0xee)](removeAnsiColors,_0x4f0566['error'][_0x369dec(0x13f)]),'failure_type':_0x1b713a['swuJU'](getFailureType,_0x4f0566[_0x369dec(0x191)]&&_0x4f0566[_0x369dec(0x191)]['message'])});}else{!_0x26a832&&_0x58e568['push']({'id':_0x1b713a['yqCLV'](uuidv4),'text':_0x4f0566['title'],'keyword':undefined,'started_at':_0x4f0566[_0x369dec(0xd3)]['toISOString'](),'duration':_0x4f0566[_0x369dec(0x178)],'result':_0x4f0566['error']?_0x1b713a[_0x369dec(0xf6)]:_0x1b713a[_0x369dec(0x1a7)],'failure':_0x4f0566[_0x369dec(0x191)]&&_0x4f0566[_0x369dec(0x191)][_0x369dec(0x13f)]&&_0x1b713a[_0x369dec(0xc5)](removeAnsiColors,_0x4f0566[_0x369dec(0x191)]['message']),'failure_type':_0x1b713a['rsuyr'](getFailureType,_0x4f0566[_0x369dec(0x191)]&&_0x4f0566[_0x369dec(0x191)]['message'])});for(const _0x56b8a4 of _0x4f0566[_0x369dec(0x185)]){_0x1b713a['kdVgE'](_0x3e6ea5,_0x56b8a4,!![]);}}};for(const _0xdbb90e of _0xbd90c1){_0x1b713a['kdVgE'](_0x3e6ea5,_0xdbb90e,![]);}const _0x1ecf00={};return _0x1ecf00['steps']=_0x58e568,_0x1ecf00['logs']=_0x1e90e7,_0x1ecf00;}async['sendTestRunEvent'](_0x7bffd1,_0x32d968,_0x3086ee){const _0x5957e9=a41_0x3bb438,_0x58158d={'GItZj':function(_0x59eb36,_0x4b896b){return _0x59eb36(_0x4b896b);},'YWkZq':_0x5957e9(0x11a),'rqbJe':_0x5957e9(0x150),'PRGqC':_0x5957e9(0x197),'fkwIn':_0x5957e9(0x1aa),'hEpgg':_0x5957e9(0xff),'vOWEW':function(_0x423777,_0x411be9){return _0x423777(_0x411be9);},'bbjfv':function(_0x6d2b52,_0x288441,_0x3d201b,_0xc33be3,_0x10bacd){return _0x6d2b52(_0x288441,_0x3d201b,_0xc33be3,_0x10bacd);},'zZRon':function(_0x3fb681,_0x5cd83f){return _0x3fb681>_0x5cd83f;},'zWadW':function(_0x54e826,_0x49a65f){return _0x54e826-_0x49a65f;},'uzoFs':function(_0x5a4291,_0x3ee982){return _0x5a4291===_0x3ee982;},'ESzXR':_0x5957e9(0x130),'tbMtb':function(_0x42393c,_0x7bf773){return _0x42393c===_0x7bf773;},'devTZ':_0x5957e9(0x156),'efOQb':_0x5957e9(0xdc),'yQHuU':function(_0x3180a6,_0x2464aa){return _0x3180a6===_0x2464aa;},'XqEWj':_0x5957e9(0x19f),'dOTnp':_0x5957e9(0x19a),'MXLxF':function(_0x2b6334,_0x153cc8){return _0x2b6334===_0x153cc8;},'IQXPZ':function(_0x11d096,_0x1afaf3){return _0x11d096===_0x1afaf3;},'YoaqA':'Expected\x20to\x20fail,\x20but\x20passed.','RnKdY':function(_0x4dce84,_0x3a2705){return _0x4dce84(_0x3a2705);},'KWGAH':function(_0x43b004,_0xe57ebc){return _0x43b004(_0xe57ebc);},'nNyGh':function(_0x690d29,_0x5efd70,_0x273ef7){return _0x690d29(_0x5efd70,_0x273ef7);},'oHHCE':function(_0x3f5b0b,_0xed31e3){return _0x3f5b0b===_0xed31e3;},'hNidl':_0x5957e9(0xd0),'Nqyuh':'.browserstack','DcHGt':_0x5957e9(0xd7),'OSUKZ':function(_0x1af9f2,_0x555506){return _0x1af9f2!==_0x555506;}},_0x512707=this[_0x5957e9(0xb7)](_0x7bffd1),_0x2f8d55=this[_0x5957e9(0x15b)](_0x7bffd1),_0x313ad0=this[_0x5957e9(0x158)][_0x512707],_0x124595=path['relative'](process[_0x5957e9(0x140)](),_0x7bffd1[_0x5957e9(0x190)][_0x5957e9(0xd8)]);await this['configureGit']();const _0x5bb9bf={'uuid':_0x313ad0[_0x5957e9(0x187)],'type':_0x58158d[_0x5957e9(0xf2)],'name':_0x7bffd1[_0x5957e9(0xc3)],'body':{'lang':_0x58158d['fkwIn'],'code':_0x7bffd1['fn']['toString']()},'scope':_0x2f8d55,'scopes':this[_0x5957e9(0x11c)](_0x7bffd1),'identifier':_0x512707,'file_name':_0x124595,'location':_0x124595,'result':_0x58158d[_0x5957e9(0x116)],'duration_in_ms':_0x3086ee&&_0x3086ee[_0x5957e9(0x178)]?_0x3086ee['duration']:null,'vc_filepath':this[_0x5957e9(0x10f)]&&_0x7bffd1[_0x5957e9(0x190)][_0x5957e9(0xd8)]?path[_0x5957e9(0x18a)](this['_gitConfigPath'],_0x7bffd1[_0x5957e9(0x190)][_0x5957e9(0xd8)]):undefined,'started_at':_0x313ad0['startedAt'],'finished_at':_0x313ad0[_0x5957e9(0x13a)],'framework':FRAMEWORKS[_0x5957e9(0x19d)],'customRerunParam':{'rerun_name':this[_0x5957e9(0x122)](_0x7bffd1)},'tags':_0x58158d['vOWEW'](getTestTags,_0x7bffd1)};_0x58158d[_0x5957e9(0xe2)](appendTesthubParams,_0x5bb9bf,_0x32d968,_0x7bffd1,FRAMEWORKS[_0x5957e9(0x19d)]);_0x3086ee&&_0x58158d['zZRon'](_0x3086ee[_0x5957e9(0x18d)],0x0)&&(_0x5bb9bf[_0x5957e9(0x141)]=TestDetails[_0x5957e9(0x119)](this[_0x5957e9(0x111)](_0x7bffd1,_0x58158d[_0x5957e9(0x19c)](_0x3086ee['retry'],0x1))));if(_0x58158d[_0x5957e9(0xca)](_0x32d968,_0x58158d[_0x5957e9(0x12b)])){_0x5bb9bf[_0x5957e9(0x192)]=_0x3086ee[_0x5957e9(0x131)];if(_0x58158d['tbMtb'](_0x3086ee['status'],_0x7bffd1['expectedStatus']))_0x5bb9bf[_0x5957e9(0x192)]=_0x58158d['tbMtb'](_0x3086ee[_0x5957e9(0x131)],_0x58158d[_0x5957e9(0xd4)])?_0x58158d[_0x5957e9(0xd4)]:_0x58158d[_0x5957e9(0x138)];else{(_0x58158d[_0x5957e9(0xc7)](_0x5bb9bf['result'],_0x58158d[_0x5957e9(0x138)])||_0x58158d['tbMtb'](_0x5bb9bf['result'],_0x58158d[_0x5957e9(0x125)])||_0x58158d[_0x5957e9(0x12c)](_0x5bb9bf['result'],_0x58158d['dOTnp']))&&(_0x5bb9bf[_0x5957e9(0x192)]=_0x58158d[_0x5957e9(0x125)]);if(_0x58158d['MXLxF'](_0x3086ee[_0x5957e9(0x131)],_0x58158d[_0x5957e9(0x138)])&&_0x58158d[_0x5957e9(0x14a)](_0x7bffd1[_0x5957e9(0x1af)],_0x58158d[_0x5957e9(0x125)])){const _0x1f2136={};_0x1f2136['message']=_0x58158d[_0x5957e9(0x166)],_0x1f2136[_0x5957e9(0x186)]=_0x58158d[_0x5957e9(0x166)],_0x3086ee[_0x5957e9(0x191)]=_0x1f2136,_0x3086ee['errors']=[_0x3086ee['error']];}}const _0x117afd=this[_0x5957e9(0x111)](_0x7bffd1,_0x3086ee[_0x5957e9(0x18d)]);_0x5bb9bf[_0x5957e9(0x107)]=this['_testHooksMap'][_0x117afd];const {steps:_0x302b9a,logs:_0x472c08}=this[_0x5957e9(0x15e)](_0x3086ee['steps'],_0x313ad0[_0x5957e9(0x187)],_0x58158d['PRGqC']);await MyReporter['reportLogs'](_0x472c08);const _0x503225={};_0x503225[_0x5957e9(0x185)]=_0x302b9a,_0x5bb9bf[_0x5957e9(0xeb)]=_0x503225;if(_0x3086ee[_0x5957e9(0x191)]){_0x5bb9bf['failure_reason']=_0x58158d[_0x5957e9(0x115)](removeAnsiColors,_0x3086ee[_0x5957e9(0x191)][_0x5957e9(0x13f)]),_0x5bb9bf[_0x5957e9(0x171)]=_0x58158d['KWGAH'](getFailureType,_0x3086ee[_0x5957e9(0x191)][_0x5957e9(0x13f)]);const _0x4bb8a9={};_0x4bb8a9[_0x5957e9(0x114)]=_0x313ad0['uuid'];const {failureData:_0x166fd5,logs:_0x44060f}=_0x58158d[_0x5957e9(0x175)](getFailureData,_0x3086ee[_0x5957e9(0x181)],_0x4bb8a9);if(_0x166fd5&&_0x58158d[_0x5957e9(0x1ac)](_0x166fd5[_0x5957e9(0x1ab)],0x0)){const _0x47e190={};_0x47e190[_0x5957e9(0xfa)]=[_0x5bb9bf[_0x5957e9(0x162)]],_0x47e190[_0x5957e9(0xec)]=[],_0x166fd5[_0x5957e9(0x100)](_0x47e190);}_0x5bb9bf[_0x5957e9(0x12d)]=_0x166fd5,_0x44060f&&_0x58158d[_0x5957e9(0x1b2)](_0x44060f[_0x5957e9(0x1ab)],0x0)&&await MyReporter['reportLogs'](_0x44060f);}}let _0x57d19e=_0x58158d['nNyGh'](findNestedKey,_0x3086ee,_0x58158d[_0x5957e9(0x11e)]);if(_0x57d19e&&_0x58158d[_0x5957e9(0x115)](validateFilePath,_0x57d19e))_0x58158d[_0x5957e9(0xed)](debug,_0x5957e9(0xc8)+_0x313ad0[_0x5957e9(0x187)]+_0x5957e9(0x133)+_0x57d19e);else{const _0xba33e4=path[_0x5957e9(0x128)](helper[_0x5957e9(0x170)](),_0x58158d[_0x5957e9(0xbe)]);!fs[_0x5957e9(0x17c)](_0xba33e4)&&fs[_0x5957e9(0x118)](_0xba33e4),fs['existsSync'](path[_0x5957e9(0x128)](_0xba33e4,_0x5957e9(0x117)+_0x313ad0[_0x5957e9(0x187)]+_0x5957e9(0x177)))&&(_0x57d19e=fs[_0x5957e9(0x199)](path[_0x5957e9(0x128)](_0xba33e4,_0x5957e9(0x117)+_0x313ad0[_0x5957e9(0x187)]+'.txt'),_0x58158d[_0x5957e9(0xba)]),_0x58158d[_0x5957e9(0xed)](debug,_0x5957e9(0xc8)+_0x313ad0[_0x5957e9(0x187)]+'\x20at\x20'+_0x57d19e));}const _0xefbec2={};_0xefbec2[_0x5957e9(0x137)]=_0x32d968,_0xefbec2[_0x5957e9(0x1a1)]=_0x5bb9bf;const _0x2ff74f=_0xefbec2;_0x57d19e&&_0x58158d[_0x5957e9(0xdb)](_0x57d19e,'')&&_0x58158d[_0x5957e9(0xca)](_0x32d968,_0x58158d[_0x5957e9(0x12b)])&&(!_0x2ff74f[_0x5957e9(0x10b)]&&(_0x2ff74f[_0x5957e9(0x10b)]=[]),_0x57d19e[_0x5957e9(0x15f)]('\x0a')[_0x5957e9(0xcf)](_0x41b596=>{const _0x2df6c8=_0x5957e9;_0x41b596&&_0x58158d[_0x2df6c8(0xed)](validateFilePath,_0x41b596)&&_0x2ff74f[_0x2df6c8(0x10b)][_0x2df6c8(0x100)]({'kind':_0x58158d[_0x2df6c8(0x13c)],'timestamp':new Date()[_0x2df6c8(0x1b8)](),'test_run_uuid':_0x313ad0['uuid'],'file_name':path['basename'](_0x41b596),'file_size':fs[_0x2df6c8(0x17d)](_0x41b596)['size'],'attachment_type':_0x58158d[_0x2df6c8(0xf9)]});})),await SessionHandler[_0x5957e9(0xd2)](_0x2ff74f);}['getCustomRerunParam'](_0x10a960){const _0x6567a2=a41_0x3bb438,_0x112442={};_0x112442[_0x6567a2(0x1ad)]=function(_0x4519f2,_0x3b1c80){return _0x4519f2===_0x3b1c80;},_0x112442[_0x6567a2(0x189)]=function(_0x133208,_0x4645fe){return _0x133208>_0x4645fe;},_0x112442[_0x6567a2(0x1a3)]=function(_0x1e7f72,_0x137b92){return _0x1e7f72+_0x137b92;},_0x112442[_0x6567a2(0xcc)]=function(_0x1b8502,_0x4ab1d9){return _0x1b8502===_0x4ab1d9;},_0x112442[_0x6567a2(0x174)]=function(_0x500e9e,_0x4756d9){return _0x500e9e>_0x4756d9;},_0x112442[_0x6567a2(0x159)]=function(_0x47fa3c,_0x5bcc95){return _0x47fa3c+_0x5bcc95;};const _0x1d22c4=_0x112442,_0xaeabba=_0x10a960[_0x6567a2(0xb9)]()[_0x6567a2(0xb6)](_0x2fe77c=>{const _0x189fea=_0x6567a2;if(_0x10a960['parent']&&_0x1d22c4[_0x189fea(0x1ad)](_0x2fe77c,_0x10a960[_0x189fea(0x142)][_0x189fea(0xc3)])&&_0x10a960[_0x189fea(0x142)][_0x189fea(0xf1)]&&_0x1d22c4[_0x189fea(0x189)](_0x10a960[_0x189fea(0x142)][_0x189fea(0xf1)][_0x189fea(0x1ab)],0x0))return _0x1d22c4[_0x189fea(0x1a3)](_0x1d22c4['YrJDH'](_0x2fe77c,'\x20'),_0x10a960[_0x189fea(0x142)][_0x189fea(0xf1)][_0x189fea(0x128)]('\x20'));if(_0x1d22c4[_0x189fea(0xcc)](_0x2fe77c,_0x10a960[_0x189fea(0xc3)])&&_0x10a960['_tags']&&_0x1d22c4[_0x189fea(0x174)](_0x10a960['_tags']['length'],0x0))return _0x1d22c4[_0x189fea(0x159)](_0x1d22c4[_0x189fea(0x159)](_0x2fe77c,'\x20'),_0x10a960[_0x189fea(0xf1)]['join']('\x20'));return _0x2fe77c;})[_0x6567a2(0x128)]('\x20');return _0xaeabba;}static async[a41_0x3bb438(0x149)](_0x1f436a,_0x509bb8){const _0x1c5031=a41_0x3bb438,_0x715cb6={'LMXpS':function(_0x6bdb59,_0x11964e){return _0x6bdb59(_0x11964e);},'NFIYa':'CBTSessionCreated'},_0x2e03d3={'uuid':TestDetails[_0x1c5031(0x119)](_0x1f436a),'integrations':_0x509bb8},_0x4489ab={};_0x4489ab[_0x1c5031(0x147)]=null,_0x715cb6[_0x1c5031(0x164)](debug,_0x1c5031(0xe7)+_0x1f436a+',\x20'+util['inspect'](_0x509bb8,_0x4489ab));const _0x2eaac5={};_0x2eaac5[_0x1c5031(0x137)]=_0x715cb6[_0x1c5031(0x139)],_0x2eaac5[_0x1c5031(0x1a1)]=_0x2e03d3,await SessionHandler[_0x1c5031(0xd2)](_0x2eaac5);}async[a41_0x3bb438(0x13b)](){const _0x193e09=a41_0x3bb438,_0x49a3b4={'fVwgp':function(_0x13ff87){return _0x13ff87();}};if(this[_0x193e09(0x1b5)])return;const _0x1a4eb2=await _0x49a3b4[_0x193e09(0xe8)](getGitMetaData);_0x1a4eb2&&(this[_0x193e09(0x10f)]=_0x1a4eb2['root']),this['_gitConfigured']=!![];}[a41_0x3bb438(0x11c)](_0x31ff21){const _0x20c966=a41_0x3bb438,_0x4f57b4={};_0x4f57b4[_0x20c966(0xbf)]=function(_0x13b83a,_0x2042d0){return _0x13b83a!==_0x2042d0;};const _0x4c8030=_0x4f57b4,_0x50601e=[];if(_0x31ff21&&_0x31ff21[_0x20c966(0x142)]){let _0x184114=_0x31ff21[_0x20c966(0x142)];while(_0x184114&&_0x4c8030[_0x20c966(0xbf)](_0x184114[_0x20c966(0xc3)],'')){_0x50601e[_0x20c966(0x100)](_0x184114[_0x20c966(0xc3)]),_0x184114=_0x184114[_0x20c966(0x142)];}}return _0x50601e[_0x20c966(0x153)]()[_0x20c966(0x14d)](0x0,0x2),_0x50601e;}['needToReportStep'](_0x2e4055){const _0x42c12f=a41_0x3bb438,_0x24de21={};_0x24de21[_0x42c12f(0x167)]=function(_0x17a99d,_0x1e3dd7){return _0x17a99d!==_0x1e3dd7;},_0x24de21[_0x42c12f(0x157)]='hook',_0x24de21[_0x42c12f(0x176)]=function(_0x425d14,_0x50c6f4){return _0x425d14===_0x50c6f4;},_0x24de21[_0x42c12f(0x1b1)]=_0x42c12f(0xf5),_0x24de21[_0x42c12f(0x110)]=_0x42c12f(0x129),_0x24de21[_0x42c12f(0x16e)]='afterAll\x20hook',_0x24de21[_0x42c12f(0x168)]=_0x42c12f(0x18c);const _0x4fe815=_0x24de21;if(_0x4fe815['JvQPF'](_0x2e4055[_0x42c12f(0x1a6)],_0x4fe815[_0x42c12f(0x157)]))return![];if(_0x4fe815['uClgf']([_0x4fe815[_0x42c12f(0x1b1)],_0x4fe815['uWXUc'],_0x4fe815['QsXxd'],_0x4fe815[_0x42c12f(0x168)]][_0x42c12f(0x172)](_0x2e4055['title']),-0x1))return![];return!![];}[a41_0x3bb438(0x1a5)](_0x51d34d,_0x19fbb5){const _0x15c682=a41_0x3bb438,_0x2790aa=_0x19fbb5[_0x15c682(0xf8)];if(_0x2790aa)return _0x2790aa;return _0x19fbb5[_0x15c682(0xc3)]+_0x15c682(0x15c)+this[_0x15c682(0xb7)](_0x51d34d);}['setStepIdentifier'](_0xebebe3,_0x44626d){const _0x7ecea8=a41_0x3bb438,_0x5052b8={'MfzCZ':function(_0x462e68){return _0x462e68();}};let _0x42c6f8=_0x44626d[_0x7ecea8(0xc3)]+_0x7ecea8(0x15c)+this[_0x7ecea8(0xb7)](_0xebebe3);return this[_0x7ecea8(0x158)][_0x42c6f8]&&(_0x42c6f8=_0x42c6f8+_0x7ecea8(0x1b0)+_0x5052b8[_0x7ecea8(0xe3)](uuidv4)),_0x44626d[_0x7ecea8(0xf8)]=_0x42c6f8,_0x42c6f8;}['getTestIdentifier']=_0x4cbd07=>{const _0x2739a3=a41_0x3bb438,_0x10cebd={};_0x10cebd['LZvhH']=function(_0x4f541f,_0x3ddc45){return _0x4f541f+_0x3ddc45;};const _0x527732=_0x10cebd;return _0x527732[_0x2739a3(0x18f)](_0x527732[_0x2739a3(0x18f)](_0x4cbd07[_0x2739a3(0x19e)],'-'),_0x4cbd07['id']);};[a41_0x3bb438(0x111)]=(_0x3b24dc,_0x42a7f8)=>{const _0x3103d2=a41_0x3bb438,_0x199ede={};_0x199ede[_0x3103d2(0xbd)]=function(_0x257a5c,_0xbc2248){return _0x257a5c+_0xbc2248;},_0x199ede[_0x3103d2(0xf0)]=function(_0x414a37,_0x23d933){return _0x414a37+_0x23d933;};const _0x284429=_0x199ede;return _0x284429[_0x3103d2(0xbd)](_0x284429['XYlyc'](this[_0x3103d2(0xb7)](_0x3b24dc),'-'),_0x42a7f8);};[a41_0x3bb438(0xc4)]=_0x5822e8=>{const _0x31e822=a41_0x3bb438,_0x2872cc={};_0x2872cc[_0x31e822(0xcb)]=_0x31e822(0xf5),_0x2872cc[_0x31e822(0x14f)]=_0x31e822(0x10c),_0x2872cc[_0x31e822(0xfc)]=_0x31e822(0x129),_0x2872cc[_0x31e822(0x18b)]=_0x31e822(0x163),_0x2872cc[_0x31e822(0x152)]=_0x31e822(0x18c),_0x2872cc[_0x31e822(0xd9)]=_0x31e822(0x13e),_0x2872cc['ZLWoI']=_0x31e822(0xda),_0x2872cc[_0x31e822(0x127)]=_0x31e822(0x161),_0x2872cc[_0x31e822(0x151)]=_0x31e822(0xd6);const _0x247f16=_0x2872cc;if(_0x5822e8[_0x31e822(0x143)](_0x247f16[_0x31e822(0xcb)]))return _0x247f16[_0x31e822(0x14f)];else{if(_0x5822e8[_0x31e822(0x143)](_0x247f16[_0x31e822(0xfc)]))return _0x247f16['wGbVM'];else{if(_0x5822e8[_0x31e822(0x143)](_0x247f16[_0x31e822(0x152)]))return _0x247f16[_0x31e822(0xd9)];else{if(_0x5822e8['startsWith'](_0x247f16[_0x31e822(0xc9)]))return _0x247f16[_0x31e822(0x127)];}}}return _0x247f16[_0x31e822(0x151)];};[a41_0x3bb438(0x15b)]=_0x326dd3=>{const _0x55b1d8=a41_0x3bb438,_0x4badbb={};_0x4badbb[_0x55b1d8(0x132)]=function(_0x5e0b05,_0x38f9ef){return _0x5e0b05===_0x38f9ef;},_0x4badbb[_0x55b1d8(0xb5)]='object';const _0x2686a9=_0x4badbb;let _0x110aa3=_0x326dd3[_0x55b1d8(0x142)];return _0x2686a9[_0x55b1d8(0x132)](typeof _0x326dd3[_0x55b1d8(0x142)],_0x2686a9[_0x55b1d8(0xb5)])&&(_0x110aa3=_0x110aa3[_0x55b1d8(0xc3)]),_0x110aa3+_0x55b1d8(0x1b0)+_0x326dd3['title'];};['printsToStdio'](){return![];}}module[a41_0x3bb438(0xe5)]=o11yClassErrorHandler(MyReporter,[a41_0x3bb438(0x145),a41_0x3bb438(0xdd),a41_0x3bb438(0x182),a41_0x3bb438(0x12f),a41_0x3bb438(0x1b4),a41_0x3bb438(0x179),a41_0x3bb438(0x149)],a41_0x3bb438(0x15a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42_0x42700a=a42_0x33e4;(function(_0x25344c,_0x1f370d){const _0x5933bf=a42_0x33e4,_0x2a54ab=_0x25344c();while(!![]){try{const _0x58e59c=-parseInt(_0x5933bf(0x185))/0x1+-parseInt(_0x5933bf(0x177))/0x2*(parseInt(_0x5933bf(0x1bc))/0x3)+parseInt(_0x5933bf(0x16c))/0x4*(parseInt(_0x5933bf(0x17f))/0x5)+-parseInt(_0x5933bf(0x198))/0x6+parseInt(_0x5933bf(0x1b4))/0x7+-parseInt(_0x5933bf(0x166))/0x8+parseInt(_0x5933bf(0x192))/0x9;if(_0x58e59c===_0x1f370d)break;else _0x2a54ab['push'](_0x2a54ab['shift']());}catch(_0x2bb09a){_0x2a54ab['push'](_0x2a54ab['shift']());}}}(a42_0x16ed,0x5ebc6));function a42_0x16ed(){const _0x54f273=['xlpWm','qvpFH','xVmyL','traceZipPaths','27BXRHKK','message','getStoreDirName','getTestRunIdFromTestInfo','uuid','error','SiZwY','3939352jxZHSn','appendFileSync','parse','writeFileSync','arrDo','string','4CwHTsr','PSwYh','env','push','readFileSync','rmSync','setup','path','../../../helpers/helper','cwd','FIsvj','2818BcyHSY','project','NEWJL','getStoreDirPath','tests','recursive','setTestDetails','existsSync','3105325QdbxCf','stringify','filePath','qmSmf','BS_TESTOPS_BUILD_HASHED_ID','NIQzO','487542iuwuGT','util','zfqYS','dUFwH','Error\x20handling\x20trace\x20file\x20paths:\x20','readdirSync','forEach','_test','getProjectIdFromTestInfo','winstonLogger','join','_platformDetails.json','toString','8773191knWuZv','utf8','RSrnF','.txt','GPFrB','getTestIdFromTestInfo','4651716VqxOUU','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Error\x20writing\x20trace\x20file:\x20','getFilePath','retry','testId','default','dirPath','traceZipDir','kGJKB','.json','split','getAccessibilityPlatformValidation','_projectId','appendToTracePaths','FMdgP','IGhzW','mkdirSync','HNGJq','vRkCV','hgLVt','TpDJz','getTraceFilePaths','pid','../../../helpers/test-observability/constants','Ktnwq','../../../helpers/logger','_traceZipPaths.json','3920714kYyyMB','getTraceZipDir','values','trace_'];a42_0x16ed=function(){return _0x54f273;};return a42_0x16ed();}const fs=require('fs'),path=require(a42_0x42700a(0x173)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x42700a(0x1b0)),{nestedKeyValue}=require(a42_0x42700a(0x174)),logger=require(a42_0x42700a(0x1b2))[a42_0x42700a(0x18e)],util=require(a42_0x42700a(0x186)),helper=require('../../../helpers/helper');function a42_0x33e4(_0x253dc2,_0x5dee4b){const _0x16edd9=a42_0x16ed();return a42_0x33e4=function(_0x33e4ff,_0x179e67){_0x33e4ff=_0x33e4ff-0x163;let _0x519a20=_0x16edd9[_0x33e4ff];return _0x519a20;},a42_0x33e4(_0x253dc2,_0x5dee4b);}class TestDetails{static [a42_0x42700a(0x17b)]={};static ['dirPath']=path[a42_0x42700a(0x18f)](process[a42_0x42700a(0x175)](),TestDetails[a42_0x42700a(0x1be)]());static [a42_0x42700a(0x1a0)]=path['join'](TestDetails[a42_0x42700a(0x19f)],a42_0x42700a(0x1bb));static[a42_0x42700a(0x172)](){const _0x2cdcda=a42_0x42700a,_0x44bb30={};_0x44bb30['PSwYh']='3|1|4|2|0',_0x44bb30['Ktnwq']=_0x2cdcda(0x1bb);const _0x4f4ecb=_0x44bb30,_0x4b4889=_0x4f4ecb[_0x2cdcda(0x16d)][_0x2cdcda(0x1a3)]('|');let _0x3b8042=0x0;while(!![]){switch(_0x4b4889[_0x3b8042++]){case'0':const _0x2bdd43={};_0x2bdd43['recursive']=!![],fs['mkdirSync'](this['traceZipDir'],_0x2bdd43);continue;case'1':this[_0x2cdcda(0x1a0)]=path[_0x2cdcda(0x18f)](this[_0x2cdcda(0x19f)],_0x4f4ecb[_0x2cdcda(0x1b1)]);continue;case'2':const _0x26c9ed={};_0x26c9ed[_0x2cdcda(0x17c)]=!![],fs[_0x2cdcda(0x1a9)](this[_0x2cdcda(0x19f)],_0x26c9ed);continue;case'3':this[_0x2cdcda(0x19f)]=path[_0x2cdcda(0x18f)](process[_0x2cdcda(0x175)](),TestDetails[_0x2cdcda(0x1be)]());continue;case'4':this['shutdown']();continue;}break;}}static[a42_0x42700a(0x1be)](){const _0x52423d=a42_0x42700a,_0x335a5b={};_0x335a5b[_0x52423d(0x179)]=function(_0x58a40f,_0x13f55d){return _0x58a40f+_0x13f55d;},_0x335a5b[_0x52423d(0x1a1)]=function(_0x218e04,_0x14ae07){return _0x218e04+_0x14ae07;};const _0x21c4a6=_0x335a5b;return _0x21c4a6['NEWJL'](_0x21c4a6[_0x52423d(0x1a1)](TEMP_STORE_DIR_NAME,'-'),process[_0x52423d(0x16e)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x42700a(0x17a)](){const _0x489fd0=a42_0x42700a,_0x52b406={};_0x52b406['vRkCV']=function(_0x54b46b,_0x3e45d4){return _0x54b46b+_0x3e45d4;},_0x52b406[_0x489fd0(0x194)]=function(_0x4f3629,_0x1e8be9){return _0x4f3629+_0x1e8be9;},_0x52b406[_0x489fd0(0x184)]=_0x489fd0(0x19e);const _0x1cd075=_0x52b406;return path['join'](process[_0x489fd0(0x175)](),_0x1cd075[_0x489fd0(0x1ab)](_0x1cd075[_0x489fd0(0x194)](TEMP_STORE_DIR_NAME,'-'),process[_0x489fd0(0x16e)][_0x489fd0(0x183)]||_0x1cd075[_0x489fd0(0x184)]));}static[a42_0x42700a(0x1b5)](){const _0x5cb3be=a42_0x42700a,_0x42652a={};_0x42652a[_0x5cb3be(0x188)]=_0x5cb3be(0x1bb);const _0x6c1e08=_0x42652a;return path[_0x5cb3be(0x18f)](this[_0x5cb3be(0x17a)](),_0x6c1e08[_0x5cb3be(0x188)]);}static[a42_0x42700a(0x19b)](_0x14fc61){const _0x919fef=a42_0x42700a,_0x402598={};_0x402598[_0x919fef(0x16a)]=function(_0xa5c500,_0x30351a){return _0xa5c500+_0x30351a;},_0x402598['xlpWm']=_0x919fef(0x1a2);const _0x48de4e=_0x402598;return path['join'](this['dirPath'],_0x48de4e[_0x919fef(0x16a)](_0x14fc61,_0x48de4e[_0x919fef(0x1b8)]));}static[a42_0x42700a(0x1bf)](_0x4ad98b){const _0xd70179=a42_0x42700a,_0x12b58e={};_0x12b58e[_0xd70179(0x165)]=function(_0x285bab,_0x11591c){return _0x285bab+_0x11591c;},_0x12b58e[_0xd70179(0x176)]=function(_0x52bc25,_0x5b1446){return _0x52bc25+_0x5b1446;};const _0x447f63=_0x12b58e;return _0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x176)](this['getProjectIdFromTestInfo'](_0x4ad98b),'-'),this[_0xd70179(0x197)](_0x4ad98b)),'-'),_0x4ad98b[_0xd70179(0x19c)]);}static[a42_0x42700a(0x18d)](_0x156c38){const _0x2c031c=a42_0x42700a,_0x2b6647={'cvywS':function(_0x49703e,_0xe008fb,_0xc2a3eb){return _0x49703e(_0xe008fb,_0xc2a3eb);},'qmSmf':_0x2c031c(0x18c),'zFaYL':_0x2c031c(0x1a5),'HNGJq':function(_0x5640ea,_0x527c18,_0x27a1b6){return _0x5640ea(_0x527c18,_0x27a1b6);},'YBoQr':_0x2c031c(0x178),'xVmyL':'__projectId'};return _0x2b6647['cvywS'](nestedKeyValue,_0x156c38,[_0x2b6647[_0x2c031c(0x182)],_0x2b6647['zFaYL']])||_0x2b6647[_0x2c031c(0x1aa)](nestedKeyValue,_0x156c38,[_0x2b6647['YBoQr'],_0x2b6647[_0x2c031c(0x1ba)]]);}static[a42_0x42700a(0x197)](_0x2a2237){const _0x543b44=a42_0x42700a,_0x391a32={'zfqYS':function(_0x56181e,_0x41973f,_0x30999e){return _0x56181e(_0x41973f,_0x30999e);},'OjvjR':_0x543b44(0x18c)};return _0x391a32[_0x543b44(0x187)](nestedKeyValue,_0x2a2237,[_0x391a32['OjvjR'],'id'])||_0x2a2237[_0x543b44(0x19d)];}static['getTestUUID'](_0x50808a){const _0x317f30=a42_0x42700a,_0x3da02c={'GPFrB':function(_0x1e5814,_0x202205){return _0x1e5814===_0x202205;},'gyawy':_0x317f30(0x16b),'adlYJ':function(_0x448d85){return _0x448d85();}};if(this[_0x317f30(0x17b)][_0x50808a]&&_0x3da02c[_0x317f30(0x196)](typeof this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)],_0x3da02c['gyawy']))return this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];const _0x1f7b30=this[_0x317f30(0x19b)](_0x50808a);if(_0x1f7b30&&fs[_0x317f30(0x17e)](_0x1f7b30)){const _0x201654=JSON['parse'](fs[_0x317f30(0x170)](_0x1f7b30)[_0x317f30(0x191)]());return this[_0x317f30(0x17b)][_0x50808a]=_0x201654,this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];}return this[_0x317f30(0x17b)][_0x50808a]={'uuid':_0x3da02c['adlYJ'](uuidv4)},fs[_0x317f30(0x169)](_0x1f7b30,JSON[_0x317f30(0x180)](this[_0x317f30(0x17b)][_0x50808a])),this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];}static[a42_0x42700a(0x1a4)](_0x1f977a){const _0x1a7569=a42_0x42700a,_0x1f0dda=path[_0x1a7569(0x18f)](this[_0x1a7569(0x19f)],_0x1f977a+'_platformDetails.json');if(_0x1f0dda&&fs[_0x1a7569(0x17e)](_0x1f0dda))return fs[_0x1a7569(0x170)](_0x1f0dda)[_0x1a7569(0x191)]();}static['setAccessibilityPlatformValidation'](_0x3e532a,_0x1d583c){const _0x5e08a4=a42_0x42700a,_0xf02d65=path[_0x5e08a4(0x18f)](this[_0x5e08a4(0x19f)],_0x1d583c+_0x5e08a4(0x190));fs[_0x5e08a4(0x169)](_0xf02d65,_0x3e532a['toString']());}static['shutdown'](){const _0x237fd5=a42_0x42700a,_0x41117f={};_0x41117f['recursive']=!![],_0x41117f['force']=!![],fs[_0x237fd5(0x171)](this[_0x237fd5(0x19f)],_0x41117f);}static['getTestDetails'](_0x3f9cb2){const _0x54f549=a42_0x42700a;if(this[_0x54f549(0x17b)][_0x3f9cb2])return this['tests'][_0x3f9cb2];const _0x292ec2=this[_0x54f549(0x19b)](_0x3f9cb2);if(_0x292ec2&&fs['existsSync'](_0x292ec2)){const _0xf7bf9=JSON[_0x54f549(0x168)](fs[_0x54f549(0x170)](_0x292ec2)[_0x54f549(0x191)]());return this[_0x54f549(0x17b)][_0x3f9cb2]=_0xf7bf9,_0xf7bf9;}return{};}static[a42_0x42700a(0x17d)](_0x6da8a8,_0x5e11e4){const _0x15e6cf=a42_0x42700a,_0x2214a1=this['getFilePath'](_0x6da8a8);if(_0x2214a1&&fs['existsSync'](_0x2214a1)){const _0x26cc6c=JSON[_0x15e6cf(0x168)](fs['readFileSync'](_0x2214a1)[_0x15e6cf(0x191)]()),_0x2431cc={..._0x26cc6c,..._0x5e11e4};this[_0x15e6cf(0x17b)][_0x6da8a8]=_0x2431cc;}else this['tests'][_0x6da8a8]=_0x5e11e4;fs[_0x15e6cf(0x169)](_0x2214a1,this[_0x15e6cf(0x17b)][_0x6da8a8]);}static['addTraceFilePath'](_0x4fff5e){const _0x27cf5b=a42_0x42700a,_0x3fdd8f={};_0x3fdd8f[_0x27cf5b(0x1a8)]=_0x27cf5b(0x189);const _0x54d136=_0x3fdd8f;try{const _0x58dbc7=process[_0x27cf5b(0x1af)],_0x189d13=path[_0x27cf5b(0x18f)](TestDetails[_0x27cf5b(0x1b5)](),_0x58dbc7+_0x27cf5b(0x1b3));let _0x17fff2=[];_0x189d13&&fs[_0x27cf5b(0x17e)](_0x189d13)&&(_0x17fff2=JSON[_0x27cf5b(0x168)](fs['readFileSync'](_0x189d13)[_0x27cf5b(0x191)]())),!_0x17fff2['some'](_0x4033bc=>_0x4033bc[_0x27cf5b(0x181)]===_0x4fff5e[_0x27cf5b(0x181)])&&(_0x17fff2[_0x27cf5b(0x16f)](_0x4fff5e),fs[_0x27cf5b(0x169)](_0x189d13,JSON['stringify'](_0x17fff2)));}catch(_0x1297e2){logger[_0x27cf5b(0x164)](_0x54d136[_0x27cf5b(0x1a8)],_0x1297e2);}}static[a42_0x42700a(0x1ae)](){const _0x48fb2c=a42_0x42700a,_0x1fc7cc={};_0x1fc7cc[_0x48fb2c(0x1ad)]=_0x48fb2c(0x1b3),_0x1fc7cc[_0x48fb2c(0x1a7)]=_0x48fb2c(0x199);const _0x456c70=_0x1fc7cc,_0x427925=[];try{const _0x5a7a53=TestDetails[_0x48fb2c(0x1b5)]();if(_0x5a7a53&&!fs[_0x48fb2c(0x17e)](_0x5a7a53))return _0x427925;const _0x1c595f=fs[_0x48fb2c(0x18a)](_0x5a7a53);_0x1c595f[_0x48fb2c(0x18b)](_0x18ef36=>{const _0x2ebd1d=_0x48fb2c;if(_0x18ef36&&_0x18ef36['endsWith'](_0x456c70['TpDJz'])){const _0x5d5836=JSON['parse'](fs['readFileSync'](path[_0x2ebd1d(0x18f)](_0x5a7a53,_0x18ef36))[_0x2ebd1d(0x191)]());_0x427925[_0x2ebd1d(0x16f)](..._0x5d5836);}});}catch(_0x5f5e05){logger['error'](util['format'](_0x456c70['FMdgP'],_0x5f5e05));}const _0x383746={};return _0x427925[_0x48fb2c(0x18b)](_0x1976c7=>{const _0x531eb6=_0x48fb2c;_0x383746[_0x1976c7[_0x531eb6(0x181)]]=_0x1976c7;}),Object[_0x48fb2c(0x1b6)](_0x383746);}static[a42_0x42700a(0x1a6)](_0x448157,_0x583060){const _0x16b81e=a42_0x42700a,_0x536ae2={};_0x536ae2[_0x16b81e(0x1b9)]='.browserstack',_0x536ae2['hgLVt']=_0x16b81e(0x193);const _0x3dee03=_0x536ae2;try{const _0x2c0681=path[_0x16b81e(0x18f)](helper['homedir'](),_0x3dee03[_0x16b81e(0x1b9)]);if(!fs[_0x16b81e(0x17e)](_0x2c0681)){const _0x39ad52={};_0x39ad52[_0x16b81e(0x17c)]=!![],fs['mkdirSync'](_0x2c0681,_0x39ad52);}fs[_0x16b81e(0x167)](path['join'](_0x2c0681,_0x16b81e(0x1b7)+_0x583060+_0x16b81e(0x195)),_0x448157+'\x0a',_0x3dee03[_0x16b81e(0x1ac)]);}catch(_0x23947b){console[_0x16b81e(0x164)](_0x16b81e(0x19a)+_0x23947b[_0x16b81e(0x1bd)]);}}}module['exports']=TestDetails;
|
|
1
|
+
const a42_0x32d926=a42_0x47c5;(function(_0x16ab04,_0x4670b5){const _0x448981=a42_0x47c5,_0x2946af=_0x16ab04();while(!![]){try{const _0x52400a=-parseInt(_0x448981(0x1aa))/0x1*(-parseInt(_0x448981(0x1ca))/0x2)+-parseInt(_0x448981(0x1c7))/0x3+-parseInt(_0x448981(0x1a6))/0x4+-parseInt(_0x448981(0x1c3))/0x5+-parseInt(_0x448981(0x1da))/0x6+-parseInt(_0x448981(0x1c1))/0x7+parseInt(_0x448981(0x1f6))/0x8*(parseInt(_0x448981(0x1b3))/0x9);if(_0x52400a===_0x4670b5)break;else _0x2946af['push'](_0x2946af['shift']());}catch(_0x42eded){_0x2946af['push'](_0x2946af['shift']());}}}(a42_0x305f,0x2c54a));const fs=require('fs'),path=require(a42_0x32d926(0x1bf)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x32d926(0x1bc)),{nestedKeyValue}=require(a42_0x32d926(0x1dc)),logger=require('../../../helpers/logger')[a42_0x32d926(0x1cb)],util=require('util'),helper=require(a42_0x32d926(0x1dc));function a42_0x47c5(_0x4840c8,_0xb1512e){const _0x305f54=a42_0x305f();return a42_0x47c5=function(_0x47c5f6,_0x421e71){_0x47c5f6=_0x47c5f6-0x1a1;let _0x238414=_0x305f54[_0x47c5f6];return _0x238414;},a42_0x47c5(_0x4840c8,_0xb1512e);}function a42_0x305f(){const _0x3136d9=['recursive','appendToTracePaths','184559zIddfP','uuid','lpnNH','_platformDetails.json','setAccessibilityPlatformValidation','project','homedir','shutdown','getFilePath','16146EuLQAD','writeFileSync','rmSync','XYinl','utf8','giPKQ','cwd','MBPQd','push','../../../helpers/test-observability/constants','tests','getAccessibilityPlatformValidation','path','NCFIG','557039RXmNjR','BS_TESTOPS_BUILD_HASHED_ID','1480210uoUQXy','getStoreDirPath','stringify','getStoreDirName','721458SFOoWo','readdirSync','lLGDj','2qbQGuE','winstonLogger','message','getTestDetails','parse','mkdirSync','pid','_test','ZdopR','pIrgW','forEach','addTraceFilePath','yjTrb','error','LYNPi','kdCaI','1224426LhovIS','readFileSync','../../../helpers/helper','toString','nZPWK','appendFileSync','hWnkB','split','_traceZipPaths.json','setTestDetails','retry','dirPath','YeqSC','RUOwk','traceZipDir','Error\x20reading\x20trace\x20file\x20paths:\x20%s','filePath','mAUlm','Error\x20handling\x20trace\x20file\x20paths:\x20','getProjectIdFromTestInfo','env','.txt','some','aoAjp','getTestRunIdFromTestInfo','join','KxQNQ','zWyJD','3664hSTExn','getTraceZipDir','testId','setup','getTestIdFromTestInfo','tLkny','existsSync','umAwq','17828LffzLn','traceZipPaths'];a42_0x305f=function(){return _0x3136d9;};return a42_0x305f();}class TestDetails{static [a42_0x32d926(0x1bd)]={};static [a42_0x32d926(0x1e5)]=path[a42_0x32d926(0x1f3)](process[a42_0x32d926(0x1b9)](),TestDetails[a42_0x32d926(0x1c6)]());static [a42_0x32d926(0x1e8)]=path[a42_0x32d926(0x1f3)](TestDetails[a42_0x32d926(0x1e5)],a42_0x32d926(0x1a7));static[a42_0x32d926(0x1a1)](){const _0x9b6787=a42_0x32d926,_0x5eab01={};_0x5eab01['MBPQd']='3|2|4|0|1',_0x5eab01[_0x9b6787(0x1d3)]=_0x9b6787(0x1a7);const _0x1de18a=_0x5eab01,_0x5c197c=_0x1de18a[_0x9b6787(0x1ba)][_0x9b6787(0x1e1)]('|');let _0x4718a9=0x0;while(!![]){switch(_0x5c197c[_0x4718a9++]){case'0':const _0x297c66={};_0x297c66[_0x9b6787(0x1a8)]=!![],fs[_0x9b6787(0x1cf)](this[_0x9b6787(0x1e5)],_0x297c66);continue;case'1':const _0x125559={};_0x125559[_0x9b6787(0x1a8)]=!![],fs[_0x9b6787(0x1cf)](this[_0x9b6787(0x1e8)],_0x125559);continue;case'2':this[_0x9b6787(0x1e8)]=path['join'](this['dirPath'],_0x1de18a[_0x9b6787(0x1d3)]);continue;case'3':this[_0x9b6787(0x1e5)]=path[_0x9b6787(0x1f3)](process[_0x9b6787(0x1b9)](),TestDetails[_0x9b6787(0x1c6)]());continue;case'4':this[_0x9b6787(0x1b1)]();continue;}break;}}static[a42_0x32d926(0x1c6)](){const _0x2081c1=a42_0x32d926,_0x53195a={};_0x53195a['yjTrb']=function(_0x26fcc6,_0x1a981f){return _0x26fcc6+_0x1a981f;};const _0x119bd4=_0x53195a;return _0x119bd4[_0x2081c1(0x1d6)](_0x119bd4[_0x2081c1(0x1d6)](TEMP_STORE_DIR_NAME,'-'),process[_0x2081c1(0x1ee)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x32d926(0x1c4)](){const _0xf57be=a42_0x32d926,_0x12ac29={};_0x12ac29['KxQNQ']=function(_0x54959c,_0xa1dab2){return _0x54959c+_0xa1dab2;},_0x12ac29['HnduT']=function(_0x6d95d2,_0x3c6816){return _0x6d95d2+_0x3c6816;},_0x12ac29['YeqSC']='default';const _0x485947=_0x12ac29;return path[_0xf57be(0x1f3)](process['cwd'](),_0x485947[_0xf57be(0x1f4)](_0x485947['HnduT'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0xf57be(0x1c2)]||_0x485947[_0xf57be(0x1e6)]));}static[a42_0x32d926(0x1f7)](){const _0x1962fe=a42_0x32d926,_0x139064={};_0x139064['XYinl']='traceZipPaths';const _0x2da412=_0x139064;return path['join'](this[_0x1962fe(0x1c4)](),_0x2da412[_0x1962fe(0x1b6)]);}static[a42_0x32d926(0x1b2)](_0x3e3045){const _0x1b9fd3=a42_0x32d926,_0x4ce006={};_0x4ce006['kdCaI']=function(_0x2e94c2,_0x41ef76){return _0x2e94c2+_0x41ef76;},_0x4ce006[_0x1b9fd3(0x1a5)]='.json';const _0x1304fd=_0x4ce006;return path[_0x1b9fd3(0x1f3)](this[_0x1b9fd3(0x1e5)],_0x1304fd[_0x1b9fd3(0x1d9)](_0x3e3045,_0x1304fd['umAwq']));}static[a42_0x32d926(0x1f2)](_0xb5b3b4){const _0x60074e=a42_0x32d926,_0xc72f87={};_0xc72f87[_0x60074e(0x1b8)]=function(_0x559ec5,_0x152d61){return _0x559ec5+_0x152d61;},_0xc72f87['mAUlm']=function(_0x33569b,_0x58a925){return _0x33569b+_0x58a925;};const _0x263e9e=_0xc72f87;return _0x263e9e[_0x60074e(0x1b8)](_0x263e9e[_0x60074e(0x1b8)](_0x263e9e[_0x60074e(0x1eb)](_0x263e9e[_0x60074e(0x1b8)](this[_0x60074e(0x1ed)](_0xb5b3b4),'-'),this['getTestIdFromTestInfo'](_0xb5b3b4)),'-'),_0xb5b3b4[_0x60074e(0x1e4)]);}static[a42_0x32d926(0x1ed)](_0x557844){const _0x3ad008=a42_0x32d926,_0x806ed8={'aoAjp':function(_0xeb4a75,_0x9f00f1,_0x5265f2){return _0xeb4a75(_0x9f00f1,_0x5265f2);},'NCFIG':_0x3ad008(0x1d1),'ZdopR':'_projectId','lpnNH':_0x3ad008(0x1af),'uKmZv':'__projectId'};return _0x806ed8['aoAjp'](nestedKeyValue,_0x557844,[_0x806ed8[_0x3ad008(0x1c0)],_0x806ed8[_0x3ad008(0x1d2)]])||_0x806ed8[_0x3ad008(0x1f1)](nestedKeyValue,_0x557844,[_0x806ed8[_0x3ad008(0x1ac)],_0x806ed8['uKmZv']]);}static[a42_0x32d926(0x1a2)](_0x49a944){const _0x3d5cda=a42_0x32d926,_0x1cbf2f={'RUOwk':function(_0x40db5e,_0x44621e,_0x419a98){return _0x40db5e(_0x44621e,_0x419a98);},'JseiH':_0x3d5cda(0x1d1)};return _0x1cbf2f[_0x3d5cda(0x1e7)](nestedKeyValue,_0x49a944,[_0x1cbf2f['JseiH'],'id'])||_0x49a944[_0x3d5cda(0x1f8)];}static['getTestUUID'](_0x2d5a5e){const _0x2e16ac=a42_0x32d926,_0x266430={'nZPWK':function(_0x355e31,_0x3e4580){return _0x355e31===_0x3e4580;},'ifhmn':'string','vnSHA':function(_0x14c144){return _0x14c144();}};if(this['tests'][_0x2d5a5e]&&_0x266430[_0x2e16ac(0x1de)](typeof this[_0x2e16ac(0x1bd)][_0x2d5a5e][_0x2e16ac(0x1ab)],_0x266430['ifhmn']))return this[_0x2e16ac(0x1bd)][_0x2d5a5e][_0x2e16ac(0x1ab)];const _0x107174=this['getFilePath'](_0x2d5a5e);if(_0x107174&&fs['existsSync'](_0x107174)){const _0x5f44c7=JSON[_0x2e16ac(0x1ce)](fs[_0x2e16ac(0x1db)](_0x107174)[_0x2e16ac(0x1dd)]());return this[_0x2e16ac(0x1bd)][_0x2d5a5e]=_0x5f44c7,this['tests'][_0x2d5a5e][_0x2e16ac(0x1ab)];}return this[_0x2e16ac(0x1bd)][_0x2d5a5e]={'uuid':_0x266430['vnSHA'](uuidv4)},fs[_0x2e16ac(0x1b4)](_0x107174,JSON[_0x2e16ac(0x1c5)](this[_0x2e16ac(0x1bd)][_0x2d5a5e])),this[_0x2e16ac(0x1bd)][_0x2d5a5e][_0x2e16ac(0x1ab)];}static[a42_0x32d926(0x1be)](_0x2f9802){const _0x51b2bb=a42_0x32d926,_0x25fddd=path[_0x51b2bb(0x1f3)](this[_0x51b2bb(0x1e5)],_0x2f9802+_0x51b2bb(0x1ad));if(_0x25fddd&&fs[_0x51b2bb(0x1a4)](_0x25fddd))return fs[_0x51b2bb(0x1db)](_0x25fddd)[_0x51b2bb(0x1dd)]();}static[a42_0x32d926(0x1ae)](_0x1e87be,_0x962cd2){const _0x29f1bc=a42_0x32d926,_0x2c0bb9=path['join'](this['dirPath'],_0x962cd2+_0x29f1bc(0x1ad));fs[_0x29f1bc(0x1b4)](_0x2c0bb9,_0x1e87be[_0x29f1bc(0x1dd)]());}static[a42_0x32d926(0x1b1)](){const _0x1f46e2=a42_0x32d926,_0x573da7={};_0x573da7[_0x1f46e2(0x1a8)]=!![],_0x573da7['force']=!![],fs[_0x1f46e2(0x1b5)](this[_0x1f46e2(0x1e5)],_0x573da7);}static[a42_0x32d926(0x1cd)](_0x4b0ba7){const _0x407fde=a42_0x32d926;if(this['tests'][_0x4b0ba7])return this[_0x407fde(0x1bd)][_0x4b0ba7];const _0x1fd052=this['getFilePath'](_0x4b0ba7);if(_0x1fd052&&fs[_0x407fde(0x1a4)](_0x1fd052)){const _0x534397=JSON[_0x407fde(0x1ce)](fs[_0x407fde(0x1db)](_0x1fd052)[_0x407fde(0x1dd)]());return this[_0x407fde(0x1bd)][_0x4b0ba7]=_0x534397,_0x534397;}return{};}static[a42_0x32d926(0x1e3)](_0x26a65c,_0x39e65e){const _0x6104fc=a42_0x32d926,_0x23d7bf=this[_0x6104fc(0x1b2)](_0x26a65c);if(_0x23d7bf&&fs[_0x6104fc(0x1a4)](_0x23d7bf)){const _0x1c9daa=JSON[_0x6104fc(0x1ce)](fs[_0x6104fc(0x1db)](_0x23d7bf)[_0x6104fc(0x1dd)]()),_0x5c7cd9={..._0x1c9daa,..._0x39e65e};this[_0x6104fc(0x1bd)][_0x26a65c]=_0x5c7cd9;}else this[_0x6104fc(0x1bd)][_0x26a65c]=_0x39e65e;fs[_0x6104fc(0x1b4)](_0x23d7bf,this[_0x6104fc(0x1bd)][_0x26a65c]);}static[a42_0x32d926(0x1d5)](_0x28f12a){const _0x3db7fd=a42_0x32d926,_0x3ff51c={};_0x3ff51c[_0x3db7fd(0x1f5)]=_0x3db7fd(0x1ec);const _0x24365a=_0x3ff51c;try{const _0x235128=process[_0x3db7fd(0x1d0)],_0x84d357=path['join'](TestDetails[_0x3db7fd(0x1f7)](),_0x235128+_0x3db7fd(0x1e2));let _0x8b268f=[];_0x84d357&&fs[_0x3db7fd(0x1a4)](_0x84d357)&&(_0x8b268f=JSON[_0x3db7fd(0x1ce)](fs[_0x3db7fd(0x1db)](_0x84d357)[_0x3db7fd(0x1dd)]())),!_0x8b268f[_0x3db7fd(0x1f0)](_0x4f1960=>_0x4f1960[_0x3db7fd(0x1ea)]===_0x28f12a[_0x3db7fd(0x1ea)])&&(_0x8b268f[_0x3db7fd(0x1bb)](_0x28f12a),fs[_0x3db7fd(0x1b4)](_0x84d357,JSON['stringify'](_0x8b268f)));}catch(_0x57e616){logger[_0x3db7fd(0x1d7)](_0x24365a[_0x3db7fd(0x1f5)],_0x57e616);}}static['getTraceFilePaths'](){const _0xf733a1=a42_0x32d926,_0x3c445c={};_0x3c445c[_0xf733a1(0x1a3)]='_traceZipPaths.json',_0x3c445c[_0xf733a1(0x1c9)]=_0xf733a1(0x1e9);const _0x416800=_0x3c445c,_0x75a7c6=[];try{const _0x20d6f4=TestDetails[_0xf733a1(0x1f7)]();if(_0x20d6f4&&!fs['existsSync'](_0x20d6f4))return _0x75a7c6;const _0x6a605a=fs[_0xf733a1(0x1c8)](_0x20d6f4);_0x6a605a[_0xf733a1(0x1d4)](_0x3111a2=>{const _0x10dc77=_0xf733a1;if(_0x3111a2&&_0x3111a2['endsWith'](_0x416800[_0x10dc77(0x1a3)])){const _0x469d17=JSON[_0x10dc77(0x1ce)](fs['readFileSync'](path[_0x10dc77(0x1f3)](_0x20d6f4,_0x3111a2))[_0x10dc77(0x1dd)]());_0x75a7c6[_0x10dc77(0x1bb)](..._0x469d17);}});}catch(_0x5d4bf9){logger[_0xf733a1(0x1d7)](util['format'](_0x416800[_0xf733a1(0x1c9)],_0x5d4bf9));}const _0x57d3e3={};return _0x75a7c6[_0xf733a1(0x1d4)](_0x1932e5=>{const _0x32299f=_0xf733a1;_0x57d3e3[_0x1932e5[_0x32299f(0x1ea)]]=_0x1932e5;}),Object['values'](_0x57d3e3);}static[a42_0x32d926(0x1a9)](_0xe180e0,_0x189388){const _0x36abb6=a42_0x32d926,_0x15159a={};_0x15159a['hWnkB']='.browserstack',_0x15159a[_0x36abb6(0x1d8)]=_0x36abb6(0x1b7);const _0x394af0=_0x15159a;try{const _0x32cda2=path[_0x36abb6(0x1f3)](helper[_0x36abb6(0x1b0)](),_0x394af0[_0x36abb6(0x1e0)]);if(!fs[_0x36abb6(0x1a4)](_0x32cda2)){const _0x128a69={};_0x128a69['recursive']=!![],fs['mkdirSync'](_0x32cda2,_0x128a69);}fs[_0x36abb6(0x1df)](path[_0x36abb6(0x1f3)](_0x32cda2,'trace_'+_0x189388+_0x36abb6(0x1ef)),_0xe180e0+'\x0a',_0x394af0['LYNPi']);}catch(_0xcfe97d){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0xcfe97d[_0x36abb6(0x1cc)]);}}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x522d3b=a43_0x543d;(function(_0x550cef,_0xb1c44d){const _0x525046=a43_0x543d,_0x289f1c=_0x550cef();while(!![]){try{const _0x18eb38=-parseInt(_0x525046(0x1f7))/0x1+-parseInt(_0x525046(0x24f))/0x2*(parseInt(_0x525046(0x1e9))/0x3)+-parseInt(_0x525046(0x1b3))/0x4+-parseInt(_0x525046(0x1c0))/0x5*(-parseInt(_0x525046(0x208))/0x6)+-parseInt(_0x525046(0x1ca))/0x7+parseInt(_0x525046(0x251))/0x8+-parseInt(_0x525046(0x24e))/0x9;if(_0x18eb38===_0xb1c44d)break;else _0x289f1c['push'](_0x289f1c['shift']());}catch(_0x44577c){_0x289f1c['push'](_0x289f1c['shift']());}}}(a43_0x1495,0x24a31));const path=require('path'),url=require('url'),util=require(a43_0x522d3b(0x1f0)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x522d3b(0x1fc)),{debug,getPlatformDetails}=require(a43_0x522d3b(0x1f1)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x522d3b(0x1b2)),logger=require(a43_0x522d3b(0x1c5))[a43_0x522d3b(0x21f)],scripts=require(a43_0x522d3b(0x1d8)),{browserStackExecuteDriver}=require(a43_0x522d3b(0x1e4)),AccessibilityHelper=require(a43_0x522d3b(0x1c9)),constants=require(a43_0x522d3b(0x1bd)),getBrowserNameFromChannel=_0x237c65=>{const _0x2024b6=a43_0x522d3b,_0x1383aa={};_0x1383aa[_0x2024b6(0x224)]=_0x2024b6(0x205),_0x1383aa[_0x2024b6(0x221)]=_0x2024b6(0x1f2),_0x1383aa[_0x2024b6(0x1c1)]=_0x2024b6(0x249),_0x1383aa[_0x2024b6(0x1b5)]=_0x2024b6(0x1e2);const _0x1c9a7f=_0x1383aa;if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x224)]))return _0x1c9a7f[_0x2024b6(0x224)];if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x221)]))return _0x1c9a7f[_0x2024b6(0x221)];if(_0x237c65['includes'](_0x1c9a7f[_0x2024b6(0x1c1)]))return _0x1c9a7f[_0x2024b6(0x1c1)];if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x1b5)]))return _0x1c9a7f['SzvAM'];},getBrowserFromWSEndpoint=_0x99b28c=>{const _0x3e9b0f=a43_0x522d3b,_0x393a5d={'ajhiq':_0x3e9b0f(0x205),'uqrAD':function(_0x1d6129,_0xb2f9e4){return _0x1d6129(_0xb2f9e4);}};try{const _0x34665a=url[_0x3e9b0f(0x261)](_0x99b28c),_0x3d81f5=new URLSearchParams(_0x34665a[_0x3e9b0f(0x22d)]),_0x3dffd9=Object[_0x3e9b0f(0x1b4)](_0x3d81f5['entries']()),_0x22d377=JSON[_0x3e9b0f(0x261)](_0x3dffd9[_0x3e9b0f(0x253)]);if(_0x22d377&&(_0x22d377[_0x3e9b0f(0x217)]||_0x22d377[_0x3e9b0f(0x242)]))return _0x22d377[_0x3e9b0f(0x217)]||_0x22d377[_0x3e9b0f(0x242)];return _0x393a5d[_0x3e9b0f(0x203)];}catch(_0x49f944){_0x393a5d[_0x3e9b0f(0x1ea)](debug,_0x3e9b0f(0x1d0)+_0x49f944[_0x3e9b0f(0x1ee)]());}},getCloudProviderFromWsEndpoint=_0x23e275=>{const _0x50795f=a43_0x522d3b,_0x5bb50e={};_0x5bb50e[_0x50795f(0x25e)]=_0x50795f(0x1f8),_0x5bb50e[_0x50795f(0x1cf)]=_0x50795f(0x209),_0x5bb50e[_0x50795f(0x1fd)]='browserstack',_0x5bb50e['xdAlr']=_0x50795f(0x20b);const _0x70ed72=_0x5bb50e;if(_0x23e275[_0x50795f(0x258)](_0x70ed72[_0x50795f(0x25e)])||_0x23e275['includes'](_0x70ed72[_0x50795f(0x1cf)]))return _0x70ed72['RgIbB'];return _0x70ed72[_0x50795f(0x212)];},a43_0x35a0ca={};function a43_0x543d(_0x493d86,_0x3735c1){const _0x1495ce=a43_0x1495();return a43_0x543d=function(_0x543d6b,_0x3c78f3){_0x543d6b=_0x543d6b-0x1b2;let _0x3e0da0=_0x1495ce[_0x543d6b];return _0x3e0da0;},a43_0x543d(_0x493d86,_0x3735c1);}a43_0x35a0ca[a43_0x522d3b(0x231)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x216)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x217)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x20a)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x23a)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x21a)]=undefined,a43_0x35a0ca['product']=undefined,a43_0x35a0ca[a43_0x522d3b(0x228)]={};class PlaywrightSessionDetails{static [a43_0x522d3b(0x236)]=a43_0x35a0ca;constructor(){const _0x13877a=a43_0x522d3b,_0x24e680={};_0x24e680[_0x13877a(0x206)]=_0x13877a(0x234);const _0x33f51a=_0x24e680;throw new Error(_0x33f51a[_0x13877a(0x206)]);}static [a43_0x522d3b(0x21e)]=null;static[a43_0x522d3b(0x23e)](_0x1f486e,_0x5da241,_0x469903=null){const _0x3f0085=a43_0x522d3b,_0x253a7a={'iomca':function(_0x28a9e3,_0x14138e){return _0x28a9e3===_0x14138e;},'fRrAl':'function','Ktfqv':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','fhGZe':function(_0x23cbb1,_0x1431df){return _0x23cbb1===_0x1431df;},'SYlOQ':_0x3f0085(0x1c8),'ofXAm':'local_grid','LjQmF':function(_0x2896c0,_0x7166d7,_0x4e2864){return _0x2896c0(_0x7166d7,_0x4e2864);},'ivKFn':_0x3f0085(0x1f5),'hHfEM':_0x3f0085(0x246),'puRZW':_0x3f0085(0x256),'cnNbd':'use','WhnAQ':'connectOptions','VPiDS':function(_0x18c84a,_0x5cc702){return _0x18c84a(_0x5cc702);},'ABRdA':_0x3f0085(0x240),'aNZhx':_0x3f0085(0x1e7),'kinNr':_0x3f0085(0x254),'Dtcby':function(_0x4d6543,_0x4a6f9a){return _0x4d6543(_0x4a6f9a);},'tiINM':function(_0x15f541,_0x57f4f0){return _0x15f541+_0x57f4f0;},'udqeY':_0x3f0085(0x25a),'GdAMY':function(_0x2673ee){return _0x2673ee();},'deled':function(_0x4c55e7,_0x2e56f8,_0x1ebe4e){return _0x4c55e7(_0x2e56f8,_0x1ebe4e);},'PPCcU':_0x3f0085(0x23e)},_0x321b0f=this;return _0x253a7a[_0x3f0085(0x211)](o11yErrorHandler,async function _0x568013(_0x31e57c,_0x494677,_0x7417fa=null){const _0x1ee8c2=_0x3f0085;let _0x10af91=_0x31e57c[_0x1ee8c2(0x1be)],_0x25d65f=null;_0x31e57c&&_0x253a7a[_0x1ee8c2(0x1f4)](typeof _0x31e57c[_0x1ee8c2(0x1bf)],_0x253a7a[_0x1ee8c2(0x1d9)])?_0x25d65f=_0x31e57c[_0x1ee8c2(0x1bf)]():logger[_0x1ee8c2(0x262)](_0x253a7a[_0x1ee8c2(0x1fb)]);let _0xdcc96e=null;_0x31e57c&&_0x253a7a['fhGZe'](typeof _0x31e57c['model'],_0x253a7a[_0x1ee8c2(0x1d9)])?_0xdcc96e=_0x31e57c[_0x1ee8c2(0x223)]():logger[_0x1ee8c2(0x262)](_0x253a7a[_0x1ee8c2(0x20c)]);let _0xffc6a4=null,_0x18a86b=null,_0x2ab6f1=null,_0x38dece=_0x253a7a[_0x1ee8c2(0x21b)];if(_0x31e57c[_0x1ee8c2(0x24d)][_0x1ee8c2(0x232)]()||global[_0x1ee8c2(0x248)]){let _0x53d56e=null;_0x253a7a['LjQmF'](nestedKeyValue,_0x31e57c,[_0x253a7a[_0x1ee8c2(0x1cd)],_0x253a7a[_0x1ee8c2(0x220)]])?_0x53d56e=_0x31e57c[_0x1ee8c2(0x1f5)][_0x1ee8c2(0x246)]:_0x53d56e=_0x253a7a['LjQmF'](nestedKeyValue,_0x494677,[_0x253a7a[_0x1ee8c2(0x215)],_0x253a7a[_0x1ee8c2(0x255)],_0x253a7a[_0x1ee8c2(0x21d)]]);const _0xbabc69=_0x7417fa||_0x53d56e&&_0x53d56e[_0x1ee8c2(0x1ba)];_0xbabc69&&(_0x38dece=_0x253a7a[_0x1ee8c2(0x229)](getCloudProviderFromWsEndpoint,_0xbabc69),_0x253a7a[_0x1ee8c2(0x22b)](_0x38dece,_0x253a7a[_0x1ee8c2(0x225)])&&(_0x2ab6f1=constants[_0x1ee8c2(0x24b)][_0x1ee8c2(0x218)](_0xbabc69)?_0x253a7a[_0x1ee8c2(0x20d)]:_0x253a7a[_0x1ee8c2(0x227)],_0x10af91=_0x253a7a['VPiDS'](getBrowserFromWSEndpoint,_0xbabc69)||_0x10af91,_0xffc6a4=_0x321b0f[_0x1ee8c2(0x236)][_0x1ee8c2(0x23a)],_0x18a86b=_0x321b0f[_0x1ee8c2(0x236)][_0x1ee8c2(0x21a)]));}else{_0x494677&&_0x494677['project'][_0x1ee8c2(0x1dd)]['channel']?_0x10af91=_0x253a7a[_0x1ee8c2(0x241)](getBrowserNameFromChannel,_0x494677[_0x1ee8c2(0x256)][_0x1ee8c2(0x1dd)][_0x1ee8c2(0x1f9)]):_0x10af91=_0x253a7a[_0x1ee8c2(0x1b6)](_0x253a7a[_0x1ee8c2(0x22f)],_0x10af91[_0x1ee8c2(0x1ff)]());const _0x440e39=await _0x253a7a[_0x1ee8c2(0x204)](getPlatformDetails);_0xffc6a4=_0x440e39['platformName'],_0x18a86b=_0x440e39[_0x1ee8c2(0x25b)];}const _0x36e692={};_0x36e692[_0x1ee8c2(0x217)]=_0x10af91,_0x36e692[_0x1ee8c2(0x20a)]=_0x25d65f,_0x36e692[_0x1ee8c2(0x228)]={},_0x36e692[_0x1ee8c2(0x23a)]=_0xffc6a4,_0x36e692[_0x1ee8c2(0x21a)]=_0x18a86b,_0x36e692[_0x1ee8c2(0x1d7)]=_0x2ab6f1;const _0x4cff21=_0x36e692;_0xdcc96e&&(_0x4cff21[_0x1ee8c2(0x228)][_0x1ee8c2(0x230)]=_0xdcc96e);const _0x6dadd0={};_0x6dadd0[_0x1ee8c2(0x231)]=_0x38dece,_0x321b0f[_0x1ee8c2(0x236)]=Object[_0x1ee8c2(0x1d4)]({},_0x321b0f[_0x1ee8c2(0x236)],_0x6dadd0,_0x4cff21);},_0x253a7a[_0x3f0085(0x22e)])(_0x1f486e,_0x5da241,_0x469903);}static['patch'](){const _0x217648=a43_0x522d3b;this[_0x217648(0x245)](),this['patchCRConnection']();}static[a43_0x522d3b(0x245)](){const _0x21314b=a43_0x522d3b,_0x40ca99={'sIJYH':function(_0x2257a7,_0x4ca33d,_0x11592b){return _0x2257a7(_0x4ca33d,_0x11592b);},'qxryN':_0x21314b(0x24c),'VauyZ':_0x21314b(0x1bc),'EjtmY':_0x21314b(0x247),'HlJKY':function(_0x2c4632,_0x59a126,_0x473ecf){return _0x2c4632(_0x59a126,_0x473ecf);},'BDSXn':_0x21314b(0x1d6),'gtewO':_0x21314b(0x1dc),'RIooe':function(_0xdfa14c,_0x280013){return _0xdfa14c===_0x280013;},'iqNlS':_0x21314b(0x260),'WcbNg':function(_0x4b3871,_0x465783,_0xd67493,_0x5a669f){return _0x4b3871(_0x465783,_0xd67493,_0x5a669f);},'iqGIM':function(_0x4f7252,_0x4ca5ec){return _0x4f7252(_0x4ca5ec);},'AbgXP':_0x21314b(0x23b),'BNnvN':_0x21314b(0x25c),'wruNo':_0x21314b(0x22c),'UMHBQ':'Not\x20able\x20to\x20import\x20Connection','hWamd':function(_0x18d06a,_0x3810a3){return _0x18d06a!=_0x3810a3;},'bMycE':function(_0x4cc685){return _0x4cc685();},'DLpXZ':_0x21314b(0x1e3),'JjFWb':function(_0x178a37,_0x57d308){return _0x178a37(_0x57d308);},'BfPlf':'dispatch'},_0x2fef71=this;if(!this['Connection'])try{const _0x45e336=path[_0x21314b(0x21c)](_0x40ca99['AbgXP'],_0x40ca99['BNnvN'],_0x40ca99[_0x21314b(0x25f)]),_0x418b70=_0x40ca99['iqGIM'](importFileFromPWCore,_0x45e336);!_0x418b70?_0x40ca99['iqGIM'](debug,_0x40ca99['UMHBQ']):this[_0x21314b(0x1fe)]=_0x418b70[_0x21314b(0x1fe)];}catch(_0x44fd12){_0x40ca99[_0x21314b(0x1b7)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x44fd12[_0x21314b(0x1ee)]());}const _0xfd0bde=this[_0x21314b(0x1fe)];try{if(_0x40ca99[_0x21314b(0x1ce)](_0xfd0bde,null)){const _0x472ca7=_0xfd0bde[_0x21314b(0x239)]['dispatch'],_0x3b2b28=_0xfd0bde['prototype'][_0x21314b(0x1e3)];_0x40ca99[_0x21314b(0x1df)](isAccessibilityAutomationSession)&&Object[_0x21314b(0x25d)](_0xfd0bde['prototype'],_0x40ca99[_0x21314b(0x1d1)],{'get':function(){return async function(){const _0x4a3ca6=a43_0x543d;try{if(!global[_0x4a3ca6(0x1eb)]&&global[_0x4a3ca6(0x248)]&&_0x40ca99[_0x4a3ca6(0x257)](nestedKeyValue,global[_0x4a3ca6(0x1d6)],[_0x40ca99[_0x4a3ca6(0x1cb)],_0x40ca99[_0x4a3ca6(0x1d2)],_0x40ca99[_0x4a3ca6(0x213)]])&&_0x40ca99[_0x4a3ca6(0x207)](shouldScanTestForAccessibility,global[_0x4a3ca6(0x1d6)]['currentTest'][_0x4a3ca6(0x1bc)][_0x4a3ca6(0x247)],!![])&&scripts[_0x4a3ca6(0x252)](arguments[0x1])){logger[_0x4a3ca6(0x262)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x4a3ca6(0x1eb)]=!![];const _0x50be33=_0x40ca99[_0x4a3ca6(0x207)](nestedKeyValue,global,[_0x40ca99[_0x4a3ca6(0x24a)],_0x40ca99[_0x4a3ca6(0x1da)]]),_0x74c882={};_0x74c882['method']=arguments[0x1],_0x50be33&&logger[_0x4a3ca6(0x262)](util[_0x4a3ca6(0x1c7)](await AccessibilityHelper[_0x4a3ca6(0x1b8)](_0x50be33,_0x74c882)));if(_0x40ca99[_0x4a3ca6(0x23d)](arguments[0x0][_0x4a3ca6(0x22a)],_0x40ca99[_0x4a3ca6(0x243)])&&global['__driver']){const _0x537173={};_0x537173[_0x4a3ca6(0x20e)]=arguments[0x1],await _0x40ca99[_0x4a3ca6(0x238)](browserStackExecuteDriver,global[_0x4a3ca6(0x1fa)],scripts[_0x4a3ca6(0x1b8)],_0x537173);}}}catch(_0x33e163){logger[_0x4a3ca6(0x262)](_0x4a3ca6(0x201)+util[_0x4a3ca6(0x1c7)](_0x33e163));}return global['bstackPerformA11yScan']=![],_0x3b2b28['apply'](this,arguments);};}}),!_0x40ca99[_0x21314b(0x214)](isFalse,process[_0x21314b(0x1c2)][_0x21314b(0x219)])&&Object[_0x21314b(0x25d)](_0xfd0bde[_0x21314b(0x239)],_0x40ca99['BfPlf'],{'get':function(){const _0x5a9367={'AMTym':function(_0x3f0af0,_0x3e65e6){const _0x1d6034=a43_0x543d;return _0x40ca99[_0x1d6034(0x1b7)](_0x3f0af0,_0x3e65e6);},'lgnCc':function(_0x5015b3,_0x283ff9){const _0x5f1773=a43_0x543d;return _0x40ca99[_0x5f1773(0x1b7)](_0x5015b3,_0x283ff9);}};return function _0x3936b7(_0x4dbcd7){const _0x24c417=a43_0x543d,_0x58ce27=_0x4dbcd7&&_0x4dbcd7[_0x24c417(0x1f3)]&&_0x4dbcd7[_0x24c417(0x1f3)][_0x24c417(0x1ef)];if(_0x58ce27){const _0x2fb4ce=_0x58ce27[_0x24c417(0x259)],_0x4ea783=_0x58ce27[_0x24c417(0x233)];_0x4ea783&&(_0x5a9367[_0x24c417(0x222)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x4ea783[_0x24c417(0x1ee)]()),_0x2fef71[_0x24c417(0x236)][_0x24c417(0x23a)]=_0x4ea783[_0x24c417(0x1d5)],_0x2fef71[_0x24c417(0x236)]['platform_version']=_0x4ea783['platformVersion']),_0x2fb4ce&&(_0x5a9367[_0x24c417(0x23c)](debug,_0x24c417(0x23f)+_0x2fb4ce),_0x2fef71[_0x24c417(0x236)]['bsSessionId']=_0x2fb4ce);}return _0x472ca7[_0x24c417(0x202)](this,arguments);};}});}}catch(_0x37dbfc){_0x40ca99[_0x21314b(0x214)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x37dbfc),_0x2fef71[_0x21314b(0x21e)]=_0x37dbfc[_0x21314b(0x1ee)]();}}static[a43_0x522d3b(0x250)](){const _0x999cc3=a43_0x522d3b,_0x11a398={'UokqV':function(_0x5a9efa,_0x44b67a){return _0x5a9efa(_0x44b67a);},'KQUYR':function(_0x280a6f,_0x179c2e){return _0x280a6f(_0x179c2e);},'zcvMR':function(_0x28bc98){return _0x28bc98();},'MSKUR':_0x999cc3(0x23b),'gwOtf':_0x999cc3(0x20f),'guNhp':_0x999cc3(0x1ec),'HhJtr':_0x999cc3(0x1db),'doGcy':function(_0x15c53d,_0x32928c){return _0x15c53d(_0x32928c);},'UFatG':_0x999cc3(0x210),'RrlYz':_0x999cc3(0x200),'Iravy':function(_0x357f64,_0x3d1465){return _0x357f64!=_0x3d1465;},'rESjC':_0x999cc3(0x1e1)},_0x212f3f=this;if(_0x11a398[_0x999cc3(0x1cc)](isAccessibilityAutomationSession)){let _0x12eac9=null;try{const _0x3168b4=path[_0x999cc3(0x21c)](_0x11a398[_0x999cc3(0x1bb)],_0x11a398[_0x999cc3(0x1e8)],_0x11a398[_0x999cc3(0x1c4)],_0x11a398[_0x999cc3(0x1c6)]),_0x1086f2=_0x11a398[_0x999cc3(0x1e6)](importFileFromPWCore,_0x3168b4);!_0x1086f2?_0x11a398['doGcy'](debug,_0x11a398[_0x999cc3(0x1ed)]):_0x12eac9=_0x1086f2['CRConnection'];}catch(_0x3231c9){_0x11a398[_0x999cc3(0x226)](debug,_0x11a398[_0x999cc3(0x1f6)]);}try{if(_0x11a398[_0x999cc3(0x237)](_0x12eac9,null)){const _0x42b045=_0x12eac9['prototype'][_0x999cc3(0x1e1)];Object[_0x999cc3(0x25d)](_0x12eac9[_0x999cc3(0x239)],_0x11a398['rESjC'],{'get':function(){const _0xdb5ce={'LhMlw':function(_0x45e4dc,_0x27b280){return _0x11a398['UokqV'](_0x45e4dc,_0x27b280);},'cbYly':function(_0x28606c,_0x9b2962){const _0x112098=a43_0x543d;return _0x11a398[_0x112098(0x1e5)](_0x28606c,_0x9b2962);}};return function _0x399848(_0x2773ee){const _0x2f9b1b=a43_0x543d;try{const _0x4cc5dd=_0x2773ee['bStackParams'];if(_0x4cc5dd){delete _0x2773ee['bStackParams'];const _0x338476=_0x4cc5dd[_0x2f9b1b(0x259)],_0x45e923=_0x4cc5dd[_0x2f9b1b(0x233)];_0x45e923&&(_0xdb5ce[_0x2f9b1b(0x1b9)](debug,_0x2f9b1b(0x1c3)+_0x45e923['toString']()),_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x23a)]=_0x45e923[_0x2f9b1b(0x1d5)],_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x21a)]=_0x45e923[_0x2f9b1b(0x25b)]),_0x338476&&(_0xdb5ce[_0x2f9b1b(0x1d3)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x338476),_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x216)]=_0x338476);}}catch(_0x5922ad){_0xdb5ce['LhMlw'](debug,_0x2f9b1b(0x1e0)+_0x5922ad['toString']());}return _0x42b045[_0x2f9b1b(0x202)](this,arguments);};}});}}catch(_0x47d035){_0x11a398['doGcy'](debug,_0x999cc3(0x244)+_0x47d035),_0x212f3f[_0x999cc3(0x21e)]=_0x47d035[_0x999cc3(0x1ee)]();}}}static[a43_0x522d3b(0x1de)](){const _0x34a97d=a43_0x522d3b;return this[_0x34a97d(0x236)];}}module[a43_0x522d3b(0x235)]=PlaywrightSessionDetails;function a43_0x1495(){const _0x9d58a5=['format','Device\x20Model\x20is\x20not\x20available','./accessibility-helper','1310652yDCEOu','qxryN','zcvMR','ivKFn','hWamd','zNWvY','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','DLpXZ','VauyZ','cbYly','assign','platformName','__workerDetails','product','../../helpers/accessibility-automation/scripts','fRrAl','gtewO','crConnection.js','pwPage','use','getDetails','bMycE','Error\x20in\x20finding\x20platform\x20details\x20','_onMessage','safari','sendMessageToServer','../../bin/playwright/accessibility-helper','KQUYR','UokqV','turboscale','gwOtf','15BPZrgD','uqrAD','bstackPerformA11yScan','chromium','UFatG','toString','bsParams','util','../../helpers/test-observability/utils','edge','params','iomca','_browserType','RrlYz','51143qZqzQl','browserstack.com','channel','__driver','Ktfqv','../../helpers/test-observability/error-handler','RgIbB','Connection','toLowerCase','Error\x20in\x20importing\x20crConnection','Failed\x20to\x20perform\x20scan\x20','apply','ajhiq','GdAMY','chrome','asgGZ','HlJKY','6iFUhZJ','browserstack-ats.com','browser_version','unknown_grid','SYlOQ','aNZhx','method','server','Not\x20able\x20to\x20import\x20crConnection','deled','xdAlr','EjtmY','JjFWb','puRZW','bsSessionId','browser','test','BROWSERSTACK_TEST_OBSERVABILITY','platform_version','ofXAm','join','WhnAQ','sessionError','winstonLogger','hHfEM','wlFAw','AMTym','model','Svaew','ABRdA','doGcy','kinNr','capabilities','VPiDS','_type','fhGZe','connection.js','query','PPCcU','udqeY','deviceModel','cloudProvider','isRemote','platformDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','exports','currentSessionDetails','Iravy','WcbNg','prototype','platform','lib','lgnCc','RIooe','setupBrowserDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','browserstack','Dtcby','browserName','iqNlS','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','patchConnection','_defaultConnectOptions','titlePath','accessibilityPlatform','firefox','BDSXn','ATS_WSS_URL_REGEX','currentTest','_connection','340164QZvOlW','43114OFIFnf','patchCRConnection','2254248xpSCLz','shouldWrapCommand','caps','automate','cnNbd','project','sIJYH','includes','sessionId','playwright-','platformVersion','client','defineProperty','ZuPpp','wruNo','Page','parse','debug','../../helpers/accessibility-automation/helper','151608qlHLZy','fromEntries','SzvAM','tiINM','iqGIM','performScan','LhMlw','wsEndpoint','MSKUR','testInfo','../utils/constants','_name','version','1450730uxYAAA','XAsEN','env','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','guNhp','../../helpers/logger','HhJtr'];a43_0x1495=function(){return _0x9d58a5;};return a43_0x1495();}
|
|
1
|
+
const a43_0x3440d9=a43_0x5c51;function a43_0x6e3a(){const _0x8f5342=['bstackPerformA11yScan','winstonLogger','deviceModel','fromEntries','method','byHxI','setupBrowserDetails','bStackParams','platformName','../../helpers/accessibility-automation/scripts','VgxAu','1280voJnIb','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','jBlTP','accessibilityPlatform','util','LugAS','includes','patchCRConnection','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','chrome','kEEPW','playwright-','browserName','browser_version','vqhfS','GhMiD','sendMessageToServer','performScan','caps','wsEndpoint','use','QVedJ','bVOxY','toLowerCase','currentTest','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','shouldWrapCommand','isRemote','MFhNJ','nnvgN','428QvOMNV','MhBhx','GXWeH','aFMsW','534Wvyldq','1928pvnHsH','OEyXG','url','FhlXf','automate','cBXrB','VQVwh','local_grid','fhKAH','defineProperty','bsParams','eiSGR','product','BFLiA','mppsq','../../helpers/test-observability/error-handler','browserstack','JXjgg','unknown_grid','VdrPR','MnCIb','testInfo','_browserType','ATS_WSS_URL_REGEX','lWnFJ','CRConnection','LPRnb','vufbk','turboscale','ofeOC','rSFDn','cecBl','LykmV','format','browser','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','DIdGr','pwPage','sessionId','edge','platformVersion','safari','connectOptions','dnMkz','test','cloudProvider','channel','./accessibility-helper','UEhtS','../utils/constants','project','prototype','MEmiL','join','platform_version','debug','../../bin/playwright/accessibility-helper','hgSQV','NStrj','jYNAv','nJCDB','version','params','_onMessage','559974jvqZNa','dispatch','knCgP','fRnlt','bYxpH','dJBaw','bkJtB','10gGhaoM','2649438izpwJY','patch','sessionError','1013016bzaAeF','currentSessionDetails','platform','Error\x20in\x20finding\x20platform\x20details\x20','Performing\x20scan\x20for\x20','lib','IQUXF','platformDetails','apply','wgpgK','env','_name','server','bsSessionId','fvQcz','Device\x20Model\x20is\x20not\x20available','CwTAm','toString','ctqKY','Failed\x20to\x20perform\x20scan\x20','KpGHm','zzFpN','gHuqL','ApclB','zoHZl','SFuBb','patchConnection','ooxMz','LSMsn','ZpqWy','1327xRZbYH','9905jPYsmS','Page','browserstack.com','titlePath','query','DRztG','__workerDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','eWffV','Error\x20in\x20importing\x20connection\x20','wGNoP','3312573HjJpKv','hMZMz','tawsD','path','_defaultConnectOptions','parse','model','HelWd','nqacO','Connection','../../helpers/test-observability/utils','capabilities','_connection','HlcbX','../../helpers/logger','entries','Not\x20able\x20to\x20import\x20crConnection','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','FTQKJ','_type','dqkIm'];a43_0x6e3a=function(){return _0x8f5342;};return a43_0x6e3a();}function a43_0x5c51(_0xf910da,_0x5ac687){const _0x6e3aa7=a43_0x6e3a();return a43_0x5c51=function(_0x5c5196,_0x16dd2a){_0x5c5196=_0x5c5196-0x16a;let _0x288cb5=_0x6e3aa7[_0x5c5196];return _0x288cb5;},a43_0x5c51(_0xf910da,_0x5ac687);}(function(_0x406a16,_0x73cee){const _0x59ed3e=a43_0x5c51,_0x545660=_0x406a16();while(!![]){try{const _0x2fb223=parseInt(_0x59ed3e(0x193))/0x1*(parseInt(_0x59ed3e(0x1e2))/0x2)+-parseInt(_0x59ed3e(0x175))/0x3+-parseInt(_0x59ed3e(0x1de))/0x4*(-parseInt(_0x59ed3e(0x1c0))/0x5)+-parseInt(_0x59ed3e(0x16a))/0x6+-parseInt(_0x59ed3e(0x194))/0x7*(parseInt(_0x59ed3e(0x1e3))/0x8)+parseInt(_0x59ed3e(0x172))/0x9+parseInt(_0x59ed3e(0x171))/0xa*(parseInt(_0x59ed3e(0x1a0))/0xb);if(_0x2fb223===_0x73cee)break;else _0x545660['push'](_0x545660['shift']());}catch(_0x5ebbd5){_0x545660['push'](_0x545660['shift']());}}}(a43_0x6e3a,0x3219a));const path=require(a43_0x3440d9(0x1a3)),url=require(a43_0x3440d9(0x1e5)),util=require(a43_0x3440d9(0x1c4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x3440d9(0x1f2)),{debug,getPlatformDetails}=require(a43_0x3440d9(0x1aa)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0x3440d9(0x1ae))[a43_0x3440d9(0x1b6)],scripts=require(a43_0x3440d9(0x1be)),{browserStackExecuteDriver}=require(a43_0x3440d9(0x21b)),AccessibilityHelper=require(a43_0x3440d9(0x212)),constants=require(a43_0x3440d9(0x214)),getBrowserNameFromChannel=_0x3cc86d=>{const _0x42ff84=a43_0x3440d9,_0x235c71={};_0x235c71[_0x42ff84(0x16c)]='chrome',_0x235c71[_0x42ff84(0x1e9)]=_0x42ff84(0x20a),_0x235c71[_0x42ff84(0x1ca)]='firefox',_0x235c71[_0x42ff84(0x1a1)]=_0x42ff84(0x20c);const _0x2ed793=_0x235c71;if(_0x3cc86d[_0x42ff84(0x1c6)](_0x2ed793[_0x42ff84(0x16c)]))return _0x2ed793['knCgP'];if(_0x3cc86d[_0x42ff84(0x1c6)](_0x2ed793[_0x42ff84(0x1e9)]))return _0x2ed793[_0x42ff84(0x1e9)];if(_0x3cc86d[_0x42ff84(0x1c6)](_0x2ed793[_0x42ff84(0x1ca)]))return _0x2ed793['kEEPW'];if(_0x3cc86d[_0x42ff84(0x1c6)](_0x2ed793['hMZMz']))return _0x2ed793[_0x42ff84(0x1a1)];},getBrowserFromWSEndpoint=_0x1baa04=>{const _0x39bae3=a43_0x3440d9,_0x4b5d43={'GFdLF':_0x39bae3(0x1c9),'cBXrB':function(_0x5ad109,_0x166d6b){return _0x5ad109(_0x166d6b);}};try{const _0x255800=url[_0x39bae3(0x1a5)](_0x1baa04),_0x506b46=new URLSearchParams(_0x255800[_0x39bae3(0x198)]),_0x2e9e1e=Object[_0x39bae3(0x1b8)](_0x506b46[_0x39bae3(0x1af)]()),_0x46d88d=JSON[_0x39bae3(0x1a5)](_0x2e9e1e[_0x39bae3(0x1d2)]);if(_0x46d88d&&(_0x46d88d[_0x39bae3(0x205)]||_0x46d88d['browserName']))return _0x46d88d[_0x39bae3(0x205)]||_0x46d88d[_0x39bae3(0x1cc)];return _0x4b5d43['GFdLF'];}catch(_0x52cae4){_0x4b5d43[_0x39bae3(0x1e8)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x52cae4[_0x39bae3(0x186)]());}},getCloudProviderFromWsEndpoint=_0x596d29=>{const _0x30c60c=a43_0x3440d9,_0x114911={};_0x114911[_0x30c60c(0x1a8)]=_0x30c60c(0x196),_0x114911['bYxpH']='browserstack-ats.com',_0x114911['tIsTz']=_0x30c60c(0x1f3),_0x114911[_0x30c60c(0x18e)]=_0x30c60c(0x1f5);const _0x17465f=_0x114911;if(_0x596d29[_0x30c60c(0x1c6)](_0x17465f[_0x30c60c(0x1a8)])||_0x596d29[_0x30c60c(0x1c6)](_0x17465f[_0x30c60c(0x16e)]))return _0x17465f['tIsTz'];return _0x17465f[_0x30c60c(0x18e)];},a43_0x546552={};a43_0x546552[a43_0x3440d9(0x210)]=undefined,a43_0x546552[a43_0x3440d9(0x182)]=undefined,a43_0x546552[a43_0x3440d9(0x205)]=undefined,a43_0x546552['browser_version']=undefined,a43_0x546552[a43_0x3440d9(0x177)]=undefined,a43_0x546552[a43_0x3440d9(0x219)]=undefined,a43_0x546552[a43_0x3440d9(0x1ef)]=undefined,a43_0x546552[a43_0x3440d9(0x1ab)]={};class PlaywrightSessionDetails{static [a43_0x3440d9(0x176)]=a43_0x546552;constructor(){const _0x2d3a11={};_0x2d3a11['zofcy']='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x2c187e=_0x2d3a11;throw new Error(_0x2c187e['zofcy']);}static ['sessionError']=null;static[a43_0x3440d9(0x1bb)](_0x586453,_0x56f5a8,_0x562786=null){const _0x368665=a43_0x3440d9,_0x27f40d={'vqhfS':function(_0x16613d,_0x57410a){return _0x16613d===_0x57410a;},'nJCDB':'function','nDZmD':_0x368665(0x1c8),'BFLiA':function(_0x485181,_0x193741){return _0x485181===_0x193741;},'IQUXF':_0x368665(0x184),'ApclB':_0x368665(0x1ea),'zzFpN':function(_0x223687,_0x7e3879,_0x44c8ff){return _0x223687(_0x7e3879,_0x44c8ff);},'MEmiL':_0x368665(0x1f9),'HlcbX':_0x368665(0x1a4),'GhMiD':_0x368665(0x215),'JXjgg':_0x368665(0x1d4),'qcWIx':_0x368665(0x20d),'fvQcz':function(_0x8e3eb2,_0x398cf4){return _0x8e3eb2(_0x398cf4);},'KpGHm':_0x368665(0x1f3),'JKkVp':_0x368665(0x1ff),'ZRBdU':_0x368665(0x1e7),'NwBqG':function(_0x3e8148,_0x4878a2){return _0x3e8148+_0x4878a2;},'QVedJ':_0x368665(0x1cb),'aFMsW':function(_0x3c93d4){return _0x3c93d4();},'tawsD':'setupBrowserDetails'},_0x15aae2=this;return _0x27f40d['zzFpN'](o11yErrorHandler,async function _0x5ef874(_0x488de1,_0x17ba8a,_0x58e117=null){const _0x528783=_0x368665;let _0x63d4a7=_0x488de1[_0x528783(0x180)],_0x5f1b97=null;_0x488de1&&_0x27f40d[_0x528783(0x1ce)](typeof _0x488de1[_0x528783(0x220)],_0x27f40d[_0x528783(0x21f)])?_0x5f1b97=_0x488de1[_0x528783(0x220)]():logger[_0x528783(0x21a)](_0x27f40d['nDZmD']);let _0x1d4308=null;_0x488de1&&_0x27f40d[_0x528783(0x1f0)](typeof _0x488de1[_0x528783(0x1a6)],_0x27f40d['nJCDB'])?_0x1d4308=_0x488de1[_0x528783(0x1a6)]():logger[_0x528783(0x21a)](_0x27f40d[_0x528783(0x17b)]);let _0x1d657e=null,_0x3fee09=null,_0x497915=null,_0x59968f=_0x27f40d[_0x528783(0x18c)];if(_0x488de1[_0x528783(0x1ac)][_0x528783(0x1db)]()||global[_0x528783(0x1c3)]){let _0xb17813=null;_0x27f40d[_0x528783(0x18a)](nestedKeyValue,_0x488de1,[_0x27f40d[_0x528783(0x217)],_0x27f40d[_0x528783(0x1ad)]])?_0xb17813=_0x488de1[_0x528783(0x1f9)][_0x528783(0x1a4)]:_0xb17813=_0x27f40d['zzFpN'](nestedKeyValue,_0x17ba8a,[_0x27f40d[_0x528783(0x1cf)],_0x27f40d[_0x528783(0x1f4)],_0x27f40d['qcWIx']]);const _0x7fd43=_0x58e117||_0xb17813&&_0xb17813[_0x528783(0x1d3)];_0x7fd43&&(_0x59968f=_0x27f40d[_0x528783(0x183)](getCloudProviderFromWsEndpoint,_0x7fd43),_0x27f40d[_0x528783(0x1ce)](_0x59968f,_0x27f40d[_0x528783(0x189)])&&(_0x497915=constants[_0x528783(0x1fa)][_0x528783(0x20f)](_0x7fd43)?_0x27f40d['JKkVp']:_0x27f40d['ZRBdU'],_0x63d4a7=_0x27f40d[_0x528783(0x183)](getBrowserFromWSEndpoint,_0x7fd43)||_0x63d4a7,_0x1d657e=_0x15aae2[_0x528783(0x176)]['platform'],_0x3fee09=_0x15aae2[_0x528783(0x176)][_0x528783(0x219)]));}else{_0x17ba8a&&_0x17ba8a[_0x528783(0x215)][_0x528783(0x1d4)][_0x528783(0x211)]?_0x63d4a7=_0x27f40d[_0x528783(0x183)](getBrowserNameFromChannel,_0x17ba8a[_0x528783(0x215)][_0x528783(0x1d4)]['channel']):_0x63d4a7=_0x27f40d['NwBqG'](_0x27f40d[_0x528783(0x1d5)],_0x63d4a7[_0x528783(0x1d7)]());const _0x4f9f6f=await _0x27f40d[_0x528783(0x1e1)](getPlatformDetails);_0x1d657e=_0x4f9f6f['platformName'],_0x3fee09=_0x4f9f6f[_0x528783(0x20b)];}const _0x4c9b0a={};_0x4c9b0a[_0x528783(0x205)]=_0x63d4a7,_0x4c9b0a[_0x528783(0x1cd)]=_0x5f1b97,_0x4c9b0a[_0x528783(0x1ab)]={},_0x4c9b0a[_0x528783(0x177)]=_0x1d657e,_0x4c9b0a['platform_version']=_0x3fee09,_0x4c9b0a[_0x528783(0x1ef)]=_0x497915;const _0x332b95=_0x4c9b0a;_0x1d4308&&(_0x332b95[_0x528783(0x1ab)][_0x528783(0x1b7)]=_0x1d4308);const _0x1f829f={};_0x1f829f[_0x528783(0x210)]=_0x59968f,_0x15aae2['currentSessionDetails']=Object['assign']({},_0x15aae2['currentSessionDetails'],_0x1f829f,_0x332b95);},_0x27f40d[_0x368665(0x1a2)])(_0x586453,_0x56f5a8,_0x562786);}static[a43_0x3440d9(0x173)](){const _0x3ba30e=a43_0x3440d9;this[_0x3ba30e(0x18f)](),this[_0x3ba30e(0x1c7)]();}static[a43_0x3440d9(0x18f)](){const _0x25f6c7=a43_0x3440d9,_0x386681={'fhKAH':function(_0x485d9e,_0x3a79cc,_0x474764){return _0x485d9e(_0x3a79cc,_0x474764);},'FTQKJ':_0x25f6c7(0x1d8),'bVOxY':_0x25f6c7(0x1f8),'ofeOC':_0x25f6c7(0x197),'MhBhx':function(_0x204eac,_0x496ec3,_0xbd9ec0){return _0x204eac(_0x496ec3,_0xbd9ec0);},'ctqKY':function(_0x581c39,_0x32036b,_0x33e052){return _0x581c39(_0x32036b,_0x33e052);},'CwTAm':_0x25f6c7(0x19a),'dJBaw':_0x25f6c7(0x208),'wgpgK':function(_0x49aa85,_0x5021b5){return _0x49aa85===_0x5021b5;},'gHuqL':_0x25f6c7(0x195),'nnvgN':function(_0x5190f1,_0x17d01b,_0x317722,_0x3307e7){return _0x5190f1(_0x17d01b,_0x317722,_0x3307e7);},'fRnlt':function(_0x23b2a3,_0x35532b){return _0x23b2a3(_0x35532b);},'HelWd':_0x25f6c7(0x17a),'LPRnb':'client','GXWeH':'connection.js','iRHNB':function(_0x1199fb,_0x48976d){return _0x1199fb(_0x48976d);},'DIdGr':'Not\x20able\x20to\x20import\x20Connection','bkJtB':function(_0x45ae4d,_0x3f54b7){return _0x45ae4d(_0x3f54b7);},'hgSQV':function(_0x172f39,_0x36ff14){return _0x172f39!=_0x36ff14;},'FhlXf':function(_0x1b0a9c){return _0x1b0a9c();},'vufbk':_0x25f6c7(0x1d0),'LykmV':_0x25f6c7(0x16b),'DRztG':function(_0x1d43f6,_0x244346){return _0x1d43f6(_0x244346);}},_0x17d6dc=this;if(!this[_0x25f6c7(0x1a9)])try{const _0xb04cec=path['join'](_0x386681[_0x25f6c7(0x1a7)],_0x386681[_0x25f6c7(0x1fd)],_0x386681[_0x25f6c7(0x1e0)]),_0x6664d6=_0x386681['iRHNB'](importFileFromPWCore,_0xb04cec);!_0x6664d6?_0x386681['fRnlt'](debug,_0x386681[_0x25f6c7(0x207)]):this[_0x25f6c7(0x1a9)]=_0x6664d6[_0x25f6c7(0x1a9)];}catch(_0x37d8a3){_0x386681[_0x25f6c7(0x170)](debug,_0x25f6c7(0x19e)+_0x37d8a3['toString']());}const _0x5c91ef=this[_0x25f6c7(0x1a9)];try{if(_0x386681[_0x25f6c7(0x21c)](_0x5c91ef,null)){const _0x35f5f6=_0x5c91ef[_0x25f6c7(0x216)][_0x25f6c7(0x16b)],_0x543ac4=_0x5c91ef['prototype'][_0x25f6c7(0x1d0)];_0x386681[_0x25f6c7(0x1e6)](isAccessibilityAutomationSession)&&Object[_0x25f6c7(0x1ec)](_0x5c91ef['prototype'],_0x386681[_0x25f6c7(0x1fe)],{'get':function(){const _0x150819=_0x25f6c7,_0x4530a3={'yGqPQ':function(_0x30567c,_0x20d69d,_0x4dc989){const _0x106af6=a43_0x5c51;return _0x386681[_0x106af6(0x1eb)](_0x30567c,_0x20d69d,_0x4dc989);},'OEyXG':_0x386681[_0x150819(0x1b2)],'byHxI':_0x386681[_0x150819(0x1d6)],'dnMkz':_0x386681[_0x150819(0x200)],'ooxMz':function(_0x1e6460,_0x50408e,_0x215dae){const _0x102825=_0x150819;return _0x386681[_0x102825(0x1df)](_0x1e6460,_0x50408e,_0x215dae);},'VdrPR':function(_0x826ada,_0x54d441,_0x5dbcdc){const _0x426898=_0x150819;return _0x386681[_0x426898(0x187)](_0x826ada,_0x54d441,_0x5dbcdc);},'TLjrX':_0x386681[_0x150819(0x185)],'wGNoP':_0x386681[_0x150819(0x16f)],'UEhtS':function(_0x1b93a8,_0x4025b9){const _0x145336=_0x150819;return _0x386681[_0x145336(0x17e)](_0x1b93a8,_0x4025b9);},'MFhNJ':_0x386681[_0x150819(0x18b)],'NStrj':function(_0x2d2f43,_0x3410f2,_0x188f60,_0x19d32b){const _0x497544=_0x150819;return _0x386681[_0x497544(0x1dd)](_0x2d2f43,_0x3410f2,_0x188f60,_0x19d32b);}};return async function(){const _0x219675=_0x150819;try{if(!global[_0x219675(0x1b5)]&&global[_0x219675(0x1c3)]&&_0x4530a3['yGqPQ'](nestedKeyValue,global[_0x219675(0x19a)],[_0x4530a3[_0x219675(0x1e4)],_0x4530a3[_0x219675(0x1ba)],_0x4530a3[_0x219675(0x20e)]])&&_0x4530a3[_0x219675(0x190)](shouldScanTestForAccessibility,global[_0x219675(0x19a)][_0x219675(0x1d8)]['testInfo']['titlePath'],!![])&&scripts[_0x219675(0x1da)](arguments[0x1])){logger[_0x219675(0x21a)](_0x219675(0x179)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x15b2db=_0x4530a3[_0x219675(0x1f6)](nestedKeyValue,global,[_0x4530a3['TLjrX'],_0x4530a3[_0x219675(0x19f)]]),_0x64c64e={};_0x64c64e[_0x219675(0x1b9)]=arguments[0x1],_0x15b2db&&logger[_0x219675(0x21a)](util[_0x219675(0x204)](await AccessibilityHelper[_0x219675(0x1d1)](_0x15b2db,_0x64c64e)));if(_0x4530a3[_0x219675(0x213)](arguments[0x0][_0x219675(0x1b3)],_0x4530a3[_0x219675(0x1dc)])&&global['__driver']){const _0x10071c={};_0x10071c[_0x219675(0x1b9)]=arguments[0x1],await _0x4530a3[_0x219675(0x21d)](browserStackExecuteDriver,global['__driver'],scripts[_0x219675(0x1d1)],_0x10071c);}}}catch(_0x4dc3c3){logger[_0x219675(0x21a)](_0x219675(0x188)+util[_0x219675(0x204)](_0x4dc3c3));}return global[_0x219675(0x1b5)]=![],_0x543ac4[_0x219675(0x17d)](this,arguments);};}}),!_0x386681['bkJtB'](isFalse,process[_0x25f6c7(0x17f)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x5c91ef[_0x25f6c7(0x216)],_0x386681[_0x25f6c7(0x203)],{'get':function(){const _0xd69c2a={'ZpqWy':function(_0x5324f7,_0x44f617){const _0x3788ac=a43_0x5c51;return _0x386681[_0x3788ac(0x16d)](_0x5324f7,_0x44f617);},'LSMsn':function(_0x14b5df,_0x1cb8b6){const _0x19815a=a43_0x5c51;return _0x386681[_0x19815a(0x16d)](_0x14b5df,_0x1cb8b6);}};return function _0x220d47(_0x5d6e8a){const _0x17ae74=a43_0x5c51,_0x38f2ad=_0x5d6e8a&&_0x5d6e8a[_0x17ae74(0x221)]&&_0x5d6e8a[_0x17ae74(0x221)][_0x17ae74(0x1ed)];if(_0x38f2ad){const _0x5c717f=_0x38f2ad['sessionId'],_0x375e90=_0x38f2ad[_0x17ae74(0x17c)];_0x375e90&&(_0xd69c2a[_0x17ae74(0x192)](debug,_0x17ae74(0x1b1)+_0x375e90[_0x17ae74(0x186)]()),_0x17d6dc['currentSessionDetails'][_0x17ae74(0x177)]=_0x375e90[_0x17ae74(0x1bd)],_0x17d6dc[_0x17ae74(0x176)][_0x17ae74(0x219)]=_0x375e90['platformVersion']),_0x5c717f&&(_0xd69c2a[_0x17ae74(0x191)](debug,_0x17ae74(0x19b)+_0x5c717f),_0x17d6dc[_0x17ae74(0x176)][_0x17ae74(0x182)]=_0x5c717f);}return _0x35f5f6[_0x17ae74(0x17d)](this,arguments);};}});}}catch(_0x2552ba){_0x386681[_0x25f6c7(0x199)](debug,_0x25f6c7(0x206)+_0x2552ba),_0x17d6dc[_0x25f6c7(0x174)]=_0x2552ba[_0x25f6c7(0x186)]();}}static[a43_0x3440d9(0x1c7)](){const _0x1e799b=a43_0x3440d9,_0x4b62fa={'QxELc':function(_0x2ae411,_0xb66105){return _0x2ae411(_0xb66105);},'VaFsg':function(_0x53aa93,_0x3f1745){return _0x53aa93(_0x3f1745);},'VgxAu':function(_0x67e3dc,_0xc0ca48){return _0x67e3dc(_0xc0ca48);},'rSFDn':function(_0x55b584){return _0x55b584();},'cecBl':'lib','tSCvi':_0x1e799b(0x181),'dqkIm':'chromium','jYNAv':'crConnection.js','mppsq':function(_0x210f07,_0x2e46d7){return _0x210f07(_0x2e46d7);},'jBlTP':function(_0x4ad4d0,_0x2e2aaa){return _0x4ad4d0(_0x2e2aaa);},'zoHZl':_0x1e799b(0x1b0),'MnCIb':function(_0x43015b,_0x23376e){return _0x43015b(_0x23376e);},'eiSGR':'Error\x20in\x20importing\x20crConnection','eWffV':function(_0x3bdd59,_0x3994b5){return _0x3bdd59!=_0x3994b5;},'LugAS':_0x1e799b(0x222),'lWnFJ':function(_0x3c1e49,_0x4e71f5){return _0x3c1e49(_0x4e71f5);}},_0x31c87c=this;if(_0x4b62fa[_0x1e799b(0x201)](isAccessibilityAutomationSession)){let _0x52db58=null;try{const _0x33a906=path[_0x1e799b(0x218)](_0x4b62fa[_0x1e799b(0x202)],_0x4b62fa['tSCvi'],_0x4b62fa[_0x1e799b(0x1b4)],_0x4b62fa[_0x1e799b(0x21e)]),_0x148a4f=_0x4b62fa[_0x1e799b(0x1f1)](importFileFromPWCore,_0x33a906);!_0x148a4f?_0x4b62fa[_0x1e799b(0x1c2)](debug,_0x4b62fa[_0x1e799b(0x18d)]):_0x52db58=_0x148a4f[_0x1e799b(0x1fc)];}catch(_0x4f7975){_0x4b62fa[_0x1e799b(0x1f7)](debug,_0x4b62fa[_0x1e799b(0x1ee)]);}try{if(_0x4b62fa[_0x1e799b(0x19d)](_0x52db58,null)){const _0x250945=_0x52db58['prototype'][_0x1e799b(0x222)];Object[_0x1e799b(0x1ec)](_0x52db58[_0x1e799b(0x216)],_0x4b62fa[_0x1e799b(0x1c5)],{'get':function(){return function _0x90bd0d(_0x1c6c1c){const _0x513e40=a43_0x5c51;try{const _0x5ba349=_0x1c6c1c['bStackParams'];if(_0x5ba349){delete _0x1c6c1c[_0x513e40(0x1bc)];const _0x20b9c4=_0x5ba349[_0x513e40(0x209)],_0x2c20c7=_0x5ba349['platformDetails'];_0x2c20c7&&(_0x4b62fa['QxELc'](debug,_0x513e40(0x1d9)+_0x2c20c7[_0x513e40(0x186)]()),_0x31c87c[_0x513e40(0x176)]['platform']=_0x2c20c7['platformName'],_0x31c87c[_0x513e40(0x176)][_0x513e40(0x219)]=_0x2c20c7[_0x513e40(0x20b)]),_0x20b9c4&&(_0x4b62fa['VaFsg'](debug,_0x513e40(0x19c)+_0x20b9c4),_0x31c87c[_0x513e40(0x176)][_0x513e40(0x182)]=_0x20b9c4);}}catch(_0x43f307){_0x4b62fa[_0x513e40(0x1bf)](debug,_0x513e40(0x178)+_0x43f307[_0x513e40(0x186)]());}return _0x250945['apply'](this,arguments);};}});}}catch(_0x241afb){_0x4b62fa[_0x1e799b(0x1fb)](debug,_0x1e799b(0x1c1)+_0x241afb),_0x31c87c['sessionError']=_0x241afb[_0x1e799b(0x186)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x147972=a44_0xf0cb;(function(_0x480ecb,_0x2233a6){const _0xeeab75=a44_0xf0cb,_0x409edb=_0x480ecb();while(!![]){try{const _0x3bac04=-parseInt(_0xeeab75(0x22e))/0x1*(-parseInt(_0xeeab75(0x221))/0x2)+parseInt(_0xeeab75(0x241))/0x3*(-parseInt(_0xeeab75(0x224))/0x4)+-parseInt(_0xeeab75(0x211))/0x5*(-parseInt(_0xeeab75(0x1dd))/0x6)+-parseInt(_0xeeab75(0x206))/0x7+-parseInt(_0xeeab75(0x249))/0x8*(-parseInt(_0xeeab75(0x1fa))/0x9)+parseInt(_0xeeab75(0x1f5))/0xa*(parseInt(_0xeeab75(0x1fc))/0xb)+parseInt(_0xeeab75(0x208))/0xc*(-parseInt(_0xeeab75(0x1f9))/0xd);if(_0x3bac04===_0x2233a6)break;else _0x409edb['push'](_0x409edb['shift']());}catch(_0x915d59){_0x409edb['push'](_0x409edb['shift']());}}}(a44_0x4436,0x27fcf));function a44_0xf0cb(_0x468fe6,_0xf174e4){const _0x44368b=a44_0x4436();return a44_0xf0cb=function(_0xf0cbb2,_0x17266d){_0xf0cbb2=_0xf0cbb2-0x1d8;let _0x2f2ddb=_0x44368b[_0xf0cbb2];return _0x2f2ddb;},a44_0xf0cb(_0x468fe6,_0xf174e4);}function a44_0x4436(){const _0x16e7b3=['Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/performance/constants','9omENrq','Running\x20SDK\x20with\x20args\x20','argv','push','jest','vONRf','mocha/lib/cli/cli.js','codeceptjs','8ZKdjGM','handler','./nightwatch/command','./playwright/command','homedir','VeKeg','LzpKu','showHelpOnFail','cucumber-js','18BECYVi','framework','../helpers/utilities','BXyCo','ECodx','debug','ats','startMonitoring','JEST','isUndefined','niCQR','start','./utils/constants','dAMJu','--no-package','join','yargs','QhGFv','node','usage:\x20$0\x20<command>\x20[args]','find','--package','../helpers/helper','NIGHTWATCH','80jtuNxV','../helpers/performance/performance-tester','SDKTestSuccessful','end','91aJrybq','91215lEzGTi','INFO','46805dVfBJt','mocha/lib/cli/run.js','dbrnw','PLAYWRIGHT','--mochaRequire','run','--opts','globalException','dot-notation','BNPRA','643685yxzHkd','efAeB','241188AGKCBg','SDK_CLEANUP','command','./cucumber-js/command','msoJP','./jest/command','wwjyV','info','mocha/lib/cli/commands.js','519410fObQTo','../helpers/logger','VERSION','nightwatch','VANILLA','./vanilla-js/command','zLArd','format','YrPay','message','assign','help','--require','HST','IkCFq','mocha','63098hnDGzb','EfNSb','../../ats/src/index','240300yHqdmh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','version','existsSync','MOCHA','ThlMs','omsFS','IhoNN','./mocha/command','path','7MxIwwD','wrap','fireFunnelTestEvent','.browserstack','NCoCp','HtnNu','CUCUMBER','./codeceptjs/command','includes','error','SDK_SETUP','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','slice','unlinkSync','parserConfiguration','integrations','pLEcs'];a44_0x4436=function(){return _0x16e7b3;};return a44_0x4436();}const fs=require('fs'),path=require(a44_0x147972(0x22d)),util=require('util'),{requireModule}=require(a44_0x147972(0x1f3)),PerformanceTester=require(a44_0x147972(0x1f6)),PerformanceEvents=require(a44_0x147972(0x240))['EVENTS'],helper=require(a44_0x147972(0x1f3)),utilities=require(a44_0x147972(0x1df)),runIntegrations=require('./integrations/command'),yargs=require(a44_0x147972(0x1ed)),Constants=require(a44_0x147972(0x1e9)),logger=require(a44_0x147972(0x212))['winstonLogger'],origArgs=Object[a44_0x147972(0x21b)]([],process[a44_0x147972(0x243)]),captureError=async(_0x9a0ea5,_0x300ab3,_0x4a2fdb=null)=>{const _0x45ad14=a44_0x147972,_0x29c4b6={'KKFpx':function(_0xb0de70,_0xba1fcf,_0x219f6d){return _0xb0de70(_0xba1fcf,_0x219f6d);},'BdoQX':_0x45ad14(0x1f7)};try{logger[_0x45ad14(0x20f)](_0x45ad14(0x242)+origArgs[_0x45ad14(0x1ec)]('\x20')),await _0x29c4b6['KKFpx'](_0x9a0ea5,_0x300ab3,_0x4a2fdb);}catch(_0x3866e1){process['exitCode']=0x1,logger[_0x45ad14(0x237)](util[_0x45ad14(0x218)](_0x3866e1));const _0x51bb27={};_0x51bb27[_0x45ad14(0x203)]=_0x3866e1['message'];const _0x4ebef5=_0x51bb27;PerformanceTester[_0x45ad14(0x1f8)](PerformanceEvents['SDK_SETUP'],![],util[_0x45ad14(0x218)](_0x3866e1));if(helper[_0x45ad14(0x1e6)](global['config'])&&helper[_0x45ad14(0x1e6)](global['framework']))return;try{utilities[_0x45ad14(0x230)](_0x29c4b6['BdoQX'],_0x4ebef5,global['config'],global[_0x45ad14(0x1de)]);}catch(_0x214b01){logger[_0x45ad14(0x1e2)](_0x45ad14(0x225)+_0x214b01['stack']);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x45ad14(0x218)](_0x3866e1));}finally{PerformanceTester[_0x45ad14(0x1e8)](PerformanceEvents[_0x45ad14(0x209)]);}};try{const browserstackFolderPath=path[a44_0x147972(0x1ec)](helper[a44_0x147972(0x1d8)](),a44_0x147972(0x231));if(fs[a44_0x147972(0x227)](browserstackFolderPath)){const filePath=path[a44_0x147972(0x1ec)](browserstackFolderPath,'.local-not-set.json');fs[a44_0x147972(0x227)](filePath)&&fs[a44_0x147972(0x23b)](filePath);}}catch(a44_0x2a51af){logger[a44_0x147972(0x1e2)](a44_0x147972(0x239)+a44_0x2a51af[a44_0x147972(0x21a)]);}process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x220))&&(!process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x202))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)]('--no-opts'),!process[a44_0x147972(0x243)][a44_0x147972(0x1f1)](_0x25d1f6=>_0x25d1f6[a44_0x147972(0x236)]('--config'))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)]('--no-config'),!process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x1f2))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)](a44_0x147972(0x1eb)),helper['findAndReplace'](process[a44_0x147972(0x243)],a44_0x147972(0x21d),a44_0x147972(0x200)));PerformanceTester[a44_0x147972(0x1e4)](),PerformanceTester['start'](PerformanceEvents[a44_0x147972(0x238)]);const a44_0x4b0d25={};a44_0x4b0d25[a44_0x147972(0x204)]=![];const argv=yargs[a44_0x147972(0x23c)](a44_0x4b0d25)['usage'](a44_0x147972(0x1f0))['alias']('v',a44_0x147972(0x226))['describe']('v')['alias']('h',a44_0x147972(0x21c))['help'](a44_0x147972(0x21c))[a44_0x147972(0x1db)](!![],Constants[a44_0x147972(0x213)]['HELP'])['command'](a44_0x147972(0x245),Constants[a44_0x147972(0x1e5)][a44_0x147972(0x1fb)],function(_0x148304){const _0x1277bf=a44_0x147972,_0x5774a5={'IkCFq':function(_0x3ebf41,_0x402dca,_0x45c395,_0x443e92){return _0x3ebf41(_0x402dca,_0x45c395,_0x443e92);},'BXyCo':function(_0x11ba41,_0x1998b1){return _0x11ba41(_0x1998b1);},'NCoCp':_0x1277bf(0x20d)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x2a0252=process[_0x1277bf(0x243)][_0x1277bf(0x23a)](0x2);return _0x5774a5[_0x1277bf(0x21f)](captureError,_0x5774a5[_0x1277bf(0x1e0)](require,_0x5774a5[_0x1277bf(0x232)]),_0x148304['argv'],_0x2a0252);})[a44_0x147972(0x20a)]('mocha',Constants[a44_0x147972(0x228)][a44_0x147972(0x1fb)],_0x1a6a50=>{const _0x9669af=a44_0x147972,_0x2a7021={'ECodx':function(_0xbe6d27,_0x558d79,_0x228a5e){return _0xbe6d27(_0x558d79,_0x228a5e);},'HtnNu':function(_0x343001,_0x50b266){return _0x343001(_0x50b266);},'ThlMs':_0x9669af(0x22c),'LLrSi':'Parsing\x20command\x20line\x20arguements','pLEcs':function(_0xc46b6f,_0x403ee0,_0x343f50){return _0xc46b6f(_0x403ee0,_0x343f50);},'vONRf':_0x9669af(0x1fd),'QhGFv':_0x9669af(0x220),'wwjyV':function(_0xc6876d,_0x22f2a9,_0x395678){return _0xc6876d(_0x22f2a9,_0x395678);},'BNPRA':_0x9669af(0x210),'RzvTM':_0x9669af(0x247),'niCQR':function(_0x5b7d8b){return _0x5b7d8b();}};logger['debug'](_0x2a7021['LLrSi']);const _0x2a9ff2=_0x2a7021[_0x9669af(0x23e)](requireModule,_0x2a7021[_0x9669af(0x246)],_0x2a7021['QhGFv']),_0xe6e3f4=_0x2a7021[_0x9669af(0x20e)](requireModule,_0x2a7021[_0x9669af(0x205)],_0x2a7021[_0x9669af(0x1ee)]);process['argv']=process[_0x9669af(0x243)]['slice'](0x1),delete _0x2a9ff2[_0x9669af(0x24a)],_0x2a9ff2[_0x9669af(0x24a)]=function(_0xa1e32f){const _0x36e497=_0x9669af;return _0x2a7021[_0x36e497(0x1e1)](captureError,_0x2a7021[_0x36e497(0x233)](require,_0x2a7021[_0x36e497(0x229)]),_0xa1e32f);},_0xe6e3f4[_0x9669af(0x201)]=_0x2a9ff2;const {main:_0x5372e3}=_0x2a7021[_0x9669af(0x1e1)](requireModule,_0x2a7021['RzvTM'],_0x2a7021[_0x9669af(0x1ee)]);_0x2a7021[_0x9669af(0x1e7)](_0x5372e3);})[a44_0x147972(0x20a)](a44_0x147972(0x1dc),Constants[a44_0x147972(0x234)][a44_0x147972(0x1fb)],function(_0x189e6c){const _0x2ac9e6=a44_0x147972,_0x48b7b3={'EfNSb':function(_0x5d1492,_0x214283,_0x2c066c,_0x316415){return _0x5d1492(_0x214283,_0x2c066c,_0x316415);},'dAMJu':function(_0x4c433f,_0xcf308a){return _0x4c433f(_0xcf308a);},'JUCnc':_0x2ac9e6(0x20b)},_0x2f0b44=process['argv'][_0x2ac9e6(0x23a)](0x2);return _0x48b7b3[_0x2ac9e6(0x222)](captureError,_0x48b7b3[_0x2ac9e6(0x1ea)](require,_0x48b7b3['JUCnc']),_0x189e6c['argv'],_0x2f0b44);})[a44_0x147972(0x20a)](a44_0x147972(0x1ef),Constants[a44_0x147972(0x215)][a44_0x147972(0x1fb)],function(_0x302ea7){const _0x143aad=a44_0x147972,_0x5dcdee={'omsFS':function(_0x257043,_0xa73c1e,_0x7b7b1f,_0x21b89e){return _0x257043(_0xa73c1e,_0x7b7b1f,_0x21b89e);},'zLArd':function(_0x34bf58,_0x35888c){return _0x34bf58(_0x35888c);},'iUMQW':_0x143aad(0x216)},_0x4f736b=process[_0x143aad(0x243)][_0x143aad(0x23a)](0x2);return _0x5dcdee[_0x143aad(0x22a)](captureError,_0x5dcdee[_0x143aad(0x217)](require,_0x5dcdee['iUMQW']),_0x302ea7['argv'],_0x4f736b);})['command'](a44_0x147972(0x214),Constants[a44_0x147972(0x1f4)][a44_0x147972(0x1fb)],function(_0x20b119){const _0x3b35a4=a44_0x147972,_0x5a5fa7={'ILrwq':function(_0x501925,_0x30f8cf,_0x20116c,_0x4b585c){return _0x501925(_0x30f8cf,_0x20116c,_0x4b585c);},'FytsZ':function(_0x1840fe,_0x3b9e54){return _0x1840fe(_0x3b9e54);},'VeKeg':_0x3b35a4(0x24b)},_0x533bf7=process[_0x3b35a4(0x243)][_0x3b35a4(0x23a)](0x2);return _0x5a5fa7['ILrwq'](captureError,_0x5a5fa7['FytsZ'](require,_0x5a5fa7[_0x3b35a4(0x1d9)]),_0x20b119[_0x3b35a4(0x243)],_0x533bf7);})['command'](a44_0x147972(0x248),Constants['CODECEPTJS'][a44_0x147972(0x1fb)],function(_0x2846c1){const _0x2c295c=a44_0x147972,_0x4be8f1={'IhoNN':function(_0x3ed5d5,_0x32e75c,_0x2abddb,_0x1922c0){return _0x3ed5d5(_0x32e75c,_0x2abddb,_0x1922c0);},'XnzpR':function(_0x420a36,_0x2c51d8){return _0x420a36(_0x2c51d8);},'dbrnw':_0x2c295c(0x235)},_0x4a69be=process[_0x2c295c(0x243)][_0x2c295c(0x23a)](0x2);return _0x4be8f1[_0x2c295c(0x22b)](captureError,_0x4be8f1['XnzpR'](require,_0x4be8f1[_0x2c295c(0x1fe)]),_0x2846c1['argv'],_0x4a69be);})['command'](a44_0x147972(0x1e3),Constants[a44_0x147972(0x21e)][a44_0x147972(0x1fb)],function(_0x39fe93){const _0x2680f7=a44_0x147972,_0x5e5566={'YrPay':function(_0x576312,_0xa3b1a9,_0x38bbfc){return _0x576312(_0xa3b1a9,_0x38bbfc);},'LzpKu':function(_0x184607,_0x288b9f){return _0x184607(_0x288b9f);},'msoJP':_0x2680f7(0x223)},_0x5a9bd4=process[_0x2680f7(0x243)][_0x2680f7(0x23a)](0x2);return _0x5e5566[_0x2680f7(0x219)](captureError,_0x5e5566[_0x2680f7(0x1da)](require,_0x5e5566[_0x2680f7(0x20c)]),_0x39fe93);})[a44_0x147972(0x20a)](a44_0x147972(0x23d),Constants['INTEGRATIONS'][a44_0x147972(0x1fb)],function(_0x2a12e3){const _0x50e504={'ovmvq':function(_0x3126a2,_0x5d28bf){return _0x3126a2(_0x5d28bf);}};return _0x50e504['ovmvq'](runIntegrations,_0x2a12e3);})[a44_0x147972(0x20a)]('playwright',Constants[a44_0x147972(0x1ff)]['INFO'],function(_0x5dfffe){const _0x4bff06=a44_0x147972,_0x214477={'IuNDW':function(_0x56109d,_0xf8ed18,_0x154ef9,_0x38cbac){return _0x56109d(_0xf8ed18,_0x154ef9,_0x38cbac);},'WvMWt':function(_0x3522f9,_0x16fc08){return _0x3522f9(_0x16fc08);},'efAeB':_0x4bff06(0x24c)},_0x34ad2b=process[_0x4bff06(0x243)][_0x4bff06(0x23a)](0x2);return _0x214477['IuNDW'](captureError,_0x214477['WvMWt'](require,_0x214477[_0x4bff06(0x207)]),_0x5dfffe['argv'],_0x34ad2b);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a44_0x147972(0x22f)](null)[a44_0x147972(0x243)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x147972(0x1e3)&&console[a44_0x147972(0x237)](a44_0x147972(0x23f));
|
|
2
|
+
'use strict';const a44_0x16673a=a44_0x3b34;function a44_0x3b34(_0x4a1d0d,_0x51a6e5){const _0x1c4149=a44_0x1c41();return a44_0x3b34=function(_0x3b34,_0x2bec23){_0x3b34=_0x3b34-0x115;let _0x435144=_0x1c4149[_0x3b34];return _0x435144;},a44_0x3b34(_0x4a1d0d,_0x51a6e5);}function a44_0x1c41(){const _0x3d0c66=['push','iXVRp','debug','command','--no-package','nZcAm','start','959MUbmcT','homedir','error','./integrations/command','1498UiAEHz','assign','854264SHcRTW','--no-config','globalException','SDKTestSuccessful','findAndReplace','../helpers/helper','INTEGRATIONS','demandCommand','7925820cpeFPl','mocha/lib/cli/cli.js','tqVdj','version','JrPxy','wOOil','jAvYm','fireFunnelTestEvent','--no-opts','PLAYWRIGHT','7GsoITp','codeceptjs','playwright','util','help','framework','./jest/command','end','WVkcj','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','JTSYa','config','mocha','exitCode','isUndefined','CUCUMBER','path','CyBUo','NXzCL','NzQeA','handler','ahTHu','../helpers/utilities','run','./vanilla-js/command','mocha/lib/cli/run.js','info','2220723HuRuHJ','yargs','JEST','EVENTS','./nightwatch/command','ats','cucumber-js','11cPYvMu','NIGHTWATCH','5399896VTBDPW','VANILLA','showHelpOnFail','SDK_SETUP','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','parserConfiguration','alias','unlinkSync','--package','CODECEPTJS','GtdOm','existsSync','./mocha/command','./codeceptjs/command','QCdlg','message','UNGuq','--config','Parsing\x20command\x20line\x20arguements','../helpers/logger','bRTBk','argv','3284481xeUSeZ','Running\x20SDK\x20with\x20args\x20','startMonitoring','lVHyK','node','./playwright/command','nMKnY','setTestObservabilityDisable','10AlwTuM','SDK_CLEANUP','./utils/constants','slice','--require','10740050BMeiqE','integrations','format','SgdPE','PzaLV','VERSION','stack','INFO','dot-notation','usage','RafNf','nightwatch','includes','join'];a44_0x1c41=function(){return _0x3d0c66;};return a44_0x1c41();}(function(_0x291546,_0x559b43){const _0x24f4d2=a44_0x3b34,_0x1a5a99=_0x291546();while(!![]){try{const _0x5b1f72=-parseInt(_0x24f4d2(0x12a))/0x1*(-parseInt(_0x24f4d2(0x12e))/0x2)+parseInt(_0x24f4d2(0x17c))/0x3+parseInt(_0x24f4d2(0x130))/0x4*(-parseInt(_0x24f4d2(0x184))/0x5)+parseInt(_0x24f4d2(0x138))/0x6+-parseInt(_0x24f4d2(0x142))/0x7*(parseInt(_0x24f4d2(0x166))/0x8)+-parseInt(_0x24f4d2(0x15d))/0x9+parseInt(_0x24f4d2(0x115))/0xa*(-parseInt(_0x24f4d2(0x164))/0xb);if(_0x5b1f72===_0x559b43)break;else _0x1a5a99['push'](_0x1a5a99['shift']());}catch(_0x1b870e){_0x1a5a99['push'](_0x1a5a99['shift']());}}}(a44_0x1c41,0xada31));const fs=require('fs'),path=require(a44_0x16673a(0x152)),util=require(a44_0x16673a(0x145)),{requireModule}=require(a44_0x16673a(0x135)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require('../helpers/performance/constants')[a44_0x16673a(0x160)],helper=require('../helpers/helper'),utilities=require(a44_0x16673a(0x158)),runIntegrations=require(a44_0x16673a(0x12d)),yargs=require(a44_0x16673a(0x15e)),Constants=require(a44_0x16673a(0x186)),logger=require(a44_0x16673a(0x179))['winstonLogger'],origArgs=Object[a44_0x16673a(0x12f)]([],process[a44_0x16673a(0x17b)]),captureError=async(_0xab1b77,_0x1a8d4e,_0x47e22d=null)=>{const _0x7e894d=a44_0x16673a,_0x1c885b={'tqVdj':function(_0x3527e4,_0xb0350f,_0x197c82){return _0x3527e4(_0xb0350f,_0x197c82);},'FKTXd':_0x7e894d(0x133)};try{logger[_0x7e894d(0x15c)](_0x7e894d(0x17d)+origArgs[_0x7e894d(0x122)]('\x20')),await _0x1c885b[_0x7e894d(0x13a)](_0xab1b77,_0x1a8d4e,_0x47e22d);}catch(_0x4c0aea){process[_0x7e894d(0x14f)]=0x1,logger[_0x7e894d(0x12c)](util[_0x7e894d(0x117)](_0x4c0aea));const _0x1c768f={};_0x1c768f[_0x7e894d(0x132)]=_0x4c0aea[_0x7e894d(0x175)];const _0x35f2f9=_0x1c768f;PerformanceTester['end'](PerformanceEvents[_0x7e894d(0x169)],![],util[_0x7e894d(0x117)](_0x4c0aea));if(helper[_0x7e894d(0x150)](global[_0x7e894d(0x14d)])&&helper['isUndefined'](global['framework']))return;try{utilities[_0x7e894d(0x13f)](_0x1c885b['FKTXd'],_0x35f2f9,global['config'],global[_0x7e894d(0x147)]);}catch(_0x38c6c1){logger[_0x7e894d(0x125)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x38c6c1[_0x7e894d(0x11b)]);}PerformanceTester[_0x7e894d(0x149)](PerformanceEvents[_0x7e894d(0x169)],![],util[_0x7e894d(0x117)](_0x4c0aea));}finally{PerformanceTester['start'](PerformanceEvents[_0x7e894d(0x185)]);}};try{const browserstackFolderPath=path['join'](helper[a44_0x16673a(0x12b)](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x16673a(0x122)](browserstackFolderPath,'.local-not-set.json');fs[a44_0x16673a(0x171)](filePath)&&fs[a44_0x16673a(0x16d)](filePath);}}catch(a44_0x1af35e){logger[a44_0x16673a(0x125)](a44_0x16673a(0x14b)+a44_0x1af35e[a44_0x16673a(0x175)]);}process[a44_0x16673a(0x17b)][a44_0x16673a(0x121)](a44_0x16673a(0x14e))&&(!process[a44_0x16673a(0x17b)]['includes']('--opts')&&process[a44_0x16673a(0x17b)][a44_0x16673a(0x123)](a44_0x16673a(0x140)),!process[a44_0x16673a(0x17b)]['find'](_0x5157a3=>_0x5157a3[a44_0x16673a(0x121)](a44_0x16673a(0x177)))&&process[a44_0x16673a(0x17b)][a44_0x16673a(0x123)](a44_0x16673a(0x131)),!process[a44_0x16673a(0x17b)][a44_0x16673a(0x121)](a44_0x16673a(0x16e))&&process[a44_0x16673a(0x17b)][a44_0x16673a(0x123)](a44_0x16673a(0x127)),helper[a44_0x16673a(0x134)](process[a44_0x16673a(0x17b)],a44_0x16673a(0x188),'--mochaRequire'));PerformanceTester[a44_0x16673a(0x17e)](),PerformanceTester[a44_0x16673a(0x129)](PerformanceEvents[a44_0x16673a(0x169)]);const a44_0x39b24c={};a44_0x39b24c[a44_0x16673a(0x11d)]=![];const argv=yargs[a44_0x16673a(0x16b)](a44_0x39b24c)[a44_0x16673a(0x11e)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x16673a(0x16c)]('v',a44_0x16673a(0x13b))['describe']('v')['alias']('h',a44_0x16673a(0x146))['help'](a44_0x16673a(0x146))[a44_0x16673a(0x168)](!![],Constants[a44_0x16673a(0x11a)]['HELP'])[a44_0x16673a(0x126)]('jest',Constants[a44_0x16673a(0x15f)]['INFO'],function(_0x421afa){const _0x49f36c=a44_0x16673a,_0x1ca3ca={'nZcAm':function(_0x4517f4,_0x3cf789,_0x1f7c70,_0x3bc0d8){return _0x4517f4(_0x3cf789,_0x1f7c70,_0x3bc0d8);},'JSvSO':function(_0x575e8c,_0xdb7c07){return _0x575e8c(_0xdb7c07);},'NthAA':_0x49f36c(0x148)};helper[_0x49f36c(0x183)](),helper['setBrowserStackAutomationDisable']();const _0x5eb901=process[_0x49f36c(0x17b)][_0x49f36c(0x187)](0x2);return _0x1ca3ca[_0x49f36c(0x128)](captureError,_0x1ca3ca['JSvSO'](require,_0x1ca3ca['NthAA']),_0x421afa[_0x49f36c(0x17b)],_0x5eb901);})['command'](a44_0x16673a(0x14e),Constants['MOCHA'][a44_0x16673a(0x11c)],_0x2ee27c=>{const _0x47f468=a44_0x16673a,_0x5984ca={'UNGuq':function(_0x5a974c,_0x1b20b1,_0x4a31ed){return _0x5a974c(_0x1b20b1,_0x4a31ed);},'URees':function(_0x5301fe,_0x4c9058){return _0x5301fe(_0x4c9058);},'GtdOm':_0x47f468(0x172),'NzQeA':_0x47f468(0x178),'LTUCr':_0x47f468(0x15b),'iXVRp':_0x47f468(0x14e),'JTSYa':'mocha/lib/cli/commands.js','HYNvk':_0x47f468(0x139),'WVkcj':function(_0x2d4362){return _0x2d4362();}};logger[_0x47f468(0x125)](_0x5984ca[_0x47f468(0x155)]);const _0x1b960f=_0x5984ca['UNGuq'](requireModule,_0x5984ca['LTUCr'],_0x5984ca[_0x47f468(0x124)]),_0x5dee60=_0x5984ca[_0x47f468(0x176)](requireModule,_0x5984ca[_0x47f468(0x14c)],_0x5984ca['iXVRp']);process[_0x47f468(0x17b)]=process[_0x47f468(0x17b)][_0x47f468(0x187)](0x1),delete _0x1b960f[_0x47f468(0x156)],_0x1b960f['handler']=function(_0x382b0a){const _0x2e50a3=_0x47f468;return _0x5984ca['UNGuq'](captureError,_0x5984ca['URees'](require,_0x5984ca[_0x2e50a3(0x170)]),_0x382b0a);},_0x5dee60[_0x47f468(0x159)]=_0x1b960f;const {main:_0x45af77}=_0x5984ca['UNGuq'](requireModule,_0x5984ca['HYNvk'],_0x5984ca[_0x47f468(0x124)]);_0x5984ca[_0x47f468(0x14a)](_0x45af77);})[a44_0x16673a(0x126)](a44_0x16673a(0x163),Constants[a44_0x16673a(0x151)][a44_0x16673a(0x11c)],function(_0x1c2fae){const _0x29572c=a44_0x16673a,_0x53f755={'lVHyK':function(_0x31f40b,_0x30343b,_0x41a600,_0x12c88d){return _0x31f40b(_0x30343b,_0x41a600,_0x12c88d);},'NrZxX':function(_0x4db074,_0x4b2742){return _0x4db074(_0x4b2742);},'pPYLR':'./cucumber-js/command'},_0x261537=process[_0x29572c(0x17b)]['slice'](0x2);return _0x53f755[_0x29572c(0x17f)](captureError,_0x53f755['NrZxX'](require,_0x53f755['pPYLR']),_0x1c2fae[_0x29572c(0x17b)],_0x261537);})[a44_0x16673a(0x126)](a44_0x16673a(0x180),Constants[a44_0x16673a(0x167)]['INFO'],function(_0xa20549){const _0x6d76ff=a44_0x16673a,_0x1251c0={'wOOil':function(_0x4f29d6,_0x3698d0,_0x54592e,_0x41605d){return _0x4f29d6(_0x3698d0,_0x54592e,_0x41605d);},'ZnGef':function(_0xd73565,_0x2d942c){return _0xd73565(_0x2d942c);},'TKkmj':_0x6d76ff(0x15a)},_0x510e83=process['argv'][_0x6d76ff(0x187)](0x2);return _0x1251c0[_0x6d76ff(0x13d)](captureError,_0x1251c0['ZnGef'](require,_0x1251c0['TKkmj']),_0xa20549[_0x6d76ff(0x17b)],_0x510e83);})[a44_0x16673a(0x126)](a44_0x16673a(0x120),Constants[a44_0x16673a(0x165)][a44_0x16673a(0x11c)],function(_0x53f7b1){const _0x3a84a4=a44_0x16673a,_0x53cb2a={'SgdPE':function(_0x50fffd,_0x30ebf6,_0x3b45c3,_0x2f9279){return _0x50fffd(_0x30ebf6,_0x3b45c3,_0x2f9279);},'CyBUo':function(_0x2264af,_0x160faa){return _0x2264af(_0x160faa);},'dePZe':_0x3a84a4(0x161)},_0x226eac=process[_0x3a84a4(0x17b)][_0x3a84a4(0x187)](0x2);return _0x53cb2a[_0x3a84a4(0x118)](captureError,_0x53cb2a[_0x3a84a4(0x153)](require,_0x53cb2a['dePZe']),_0x53f7b1[_0x3a84a4(0x17b)],_0x226eac);})[a44_0x16673a(0x126)](a44_0x16673a(0x143),Constants[a44_0x16673a(0x16f)][a44_0x16673a(0x11c)],function(_0x17ad1e){const _0x338d57=a44_0x16673a,_0x166138={'bRTBk':function(_0x677312,_0x11c93c,_0x243e0f,_0x4206d0){return _0x677312(_0x11c93c,_0x243e0f,_0x4206d0);},'ahTHu':function(_0x3dceae,_0x483abf){return _0x3dceae(_0x483abf);},'jAvYm':_0x338d57(0x173)},_0xe3aa1b=process['argv'][_0x338d57(0x187)](0x2);return _0x166138[_0x338d57(0x17a)](captureError,_0x166138[_0x338d57(0x157)](require,_0x166138[_0x338d57(0x13e)]),_0x17ad1e[_0x338d57(0x17b)],_0xe3aa1b);})[a44_0x16673a(0x126)]('ats',Constants['HST'][a44_0x16673a(0x11c)],function(_0x59574c){const _0x98683f=a44_0x16673a,_0x2d0809={'RafNf':function(_0x53770b,_0x46f605,_0x4f574e){return _0x53770b(_0x46f605,_0x4f574e);},'NXzCL':function(_0x36d846,_0x573add){return _0x36d846(_0x573add);},'QCdlg':'../../ats/src/index'},_0x1db7b1=process[_0x98683f(0x17b)][_0x98683f(0x187)](0x2);return _0x2d0809[_0x98683f(0x11f)](captureError,_0x2d0809[_0x98683f(0x154)](require,_0x2d0809[_0x98683f(0x174)]),_0x59574c);})[a44_0x16673a(0x126)](a44_0x16673a(0x116),Constants[a44_0x16673a(0x136)]['INFO'],function(_0x5cd3d0){const _0xc41d5b={'YeFHJ':function(_0x7ea33d,_0x20338c){return _0x7ea33d(_0x20338c);}};return _0xc41d5b['YeFHJ'](runIntegrations,_0x5cd3d0);})[a44_0x16673a(0x126)](a44_0x16673a(0x144),Constants[a44_0x16673a(0x141)][a44_0x16673a(0x11c)],function(_0xb2b807){const _0x3515c0=a44_0x16673a,_0x1b9165={'nMKnY':function(_0x508414,_0x59764c,_0x3343ea,_0x2b23d2){return _0x508414(_0x59764c,_0x3343ea,_0x2b23d2);},'JrPxy':function(_0x365f4d,_0x568279){return _0x365f4d(_0x568279);},'PzaLV':_0x3515c0(0x181)},_0x7a78f8=process[_0x3515c0(0x17b)][_0x3515c0(0x187)](0x2);return _0x1b9165[_0x3515c0(0x182)](captureError,_0x1b9165[_0x3515c0(0x13c)](require,_0x1b9165[_0x3515c0(0x119)]),_0xb2b807[_0x3515c0(0x17b)],_0x7a78f8);})[a44_0x16673a(0x137)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')['wrap'](null)[a44_0x16673a(0x17b)];!helper[a44_0x16673a(0x150)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x16673a(0x162)&&console[a44_0x16673a(0x12c)](a44_0x16673a(0x16a));
|