browserstack-node-sdk 1.46.5 → 1.46.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.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.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.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/accessibilityRetryHelper.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/classLogger.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/playwright-helper.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x43ebd0=a44_0x298a;(function(_0xfe7583,_0x549687){const _0x41f021=a44_0x298a,_0x2f0b61=_0xfe7583();while(!![]){try{const _0x2af207=parseInt(_0x41f021(0x1f5))/0x1+parseInt(_0x41f021(0x22a))/0x2+parseInt(_0x41f021(0x23d))/0x3+-parseInt(_0x41f021(0x1df))/0x4*(-parseInt(_0x41f021(0x1b0))/0x5)+parseInt(_0x41f021(0x1e4))/0x6*(-parseInt(_0x41f021(0x21a))/0x7)+-parseInt(_0x41f021(0x219))/0x8+parseInt(_0x41f021(0x20b))/0x9*(-parseInt(_0x41f021(0x23a))/0xa);if(_0x2af207===_0x549687)break;else _0x2f0b61['push'](_0x2f0b61['shift']());}catch(_0x40878a){_0x2f0b61['push'](_0x2f0b61['shift']());}}}(a44_0x4f0f,0xa884a));function a44_0x4f0f(){const _0x589323=['qxhBq','vJqBO','message','sRDVk','LJmiv','Error\x20in\x20sending\x20trace\x20file:\x20%s','WLBDs','getInstance','onTestEnd','TmysO','sendTestLog','wigiu','endsWith','eVYWS','filePath','resolve','9TaKupn','filter','onStepEnd','playwright/lib/transform/transform.js','aFuLI','diLvt','hTYhw','nqWpr','@playwright/test/lib/common/transform.js','sXsUM','Qudgu','prototype','Total\x20duration\x20for\x20whole\x20build\x20is\x20','slice','3888744MLloTx','1477ksXnWa','performance-report-worker-','pHHTG','path','BppvT','mNarB','gvvip','getTime','EHcsN','@playwright/test/lib/transform/transform.js','../../../helpers/helper','1.38.0','ENgVz','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','validateFilePath','util','2396686jRpQGn','Arguments','fmDbc','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','requestSpyCallback','getProjectUtilsPath','getTestIdentifier','onStepBegin','trace','SogmQ','tags','findNestedKey','getTestRunIdentifier','toLowerCase','common','kKZKd','1559110IOYrko','@playwright/test','VvlYN','2846682OPXKuP','../../../helpers/test-observability/constants','qNkjK','env','okUOy','getPlaywrightLibPath','onTestBegin','RbqTS','compareVersions','EicNb','join','.json','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','beforeTestHook','jrTQr','sendSessionDetails','Trace\x20enabled','ZMPtY','_projectId','call','xcKWi','beforeWorkerHook','mrJPu','vYine','LogCreated','wBzCz','dgPUI','substr','DMhjB','./test-details','match','5NFKBoV','tOZps','DJoXV','winstonLogger','GyQdp','createReadStream','Test\x20timeout\x20of','TEST_ATTACHMENT','wASsF','startsWith','wuTBI','format','calculateTimesFromMultipleFiles','Found\x20key:\x20','EgWFH','../../v2/TestInfo','Ulthu','getTestTags','map','XSnFV','includes','AqWsX','VfpIX','readdirSync','BJoKm','../../../helpers/logger','isRunning','KIJRE','debug','../../../helpers/test-observability/utils','runner/loadUtils.js','addTraceFilePath','xxCKz','Tmvlt','ObfGb','getConfigLoaderPath','../../../helpers/test-observability/sessionHandler','\x20in\x20attachments','error','VaINz','playwright','attachments','extname','QMMff','IcAAi','test','TEST_LOG','37652gnDJvT','sendTraceZip','wVaXZ','stopAndGenerate','title','23694LrZztm','NssNL','doo11ySync','jhhRy','testUId','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','PvIHb','stack','HruwG','PLAYWRIGHT','JQCRh','1.35.0','length','NsDhH','uploadTraceZip','DoXsX','getForkProcessPath','8843evXYyY','name','Percentage\x20of\x20increased\x20time\x20is\x20','existsSync','../../../helpers/performance/performance-tester','ERROR'];a44_0x4f0f=function(){return _0x589323;};return a44_0x4f0f();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x43ebd0(0x1cd)),PerformanceTester=require(a44_0x43ebd0(0x1f9)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x43ebd0(0x23e)),helper=require(a44_0x43ebd0(0x224)),path=require(a44_0x43ebd0(0x21d)),logger=require(a44_0x43ebd0(0x1c9))[a44_0x43ebd0(0x1b3)],SessionHandler=require(a44_0x43ebd0(0x1d4)),TestDetails=require(a44_0x43ebd0(0x1ae)),util=require(a44_0x43ebd0(0x229)),TestInfo=require(a44_0x43ebd0(0x1bf));function a44_0x298a(_0x393734,_0x269f03){const _0x4f0f41=a44_0x4f0f();return a44_0x298a=function(_0x298a18,_0x1ea649){_0x298a18=_0x298a18-0x1a1;let _0x4641b8=_0x4f0f41[_0x298a18];return _0x4641b8;},a44_0x298a(_0x393734,_0x269f03);}let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x2f2721=a44_0x43ebd0,_0x2e1aaa={'pHHTG':function(_0x576448,_0x122b3d){return _0x576448(_0x122b3d);},'EicNb':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x2e1aaa[_0x2f2721(0x21c)](require,_0x2e1aaa[_0x2f2721(0x246)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x2e18cd=>{const _0x5a82ba=a44_0x43ebd0;return _0x2e18cd[_0x5a82ba(0x1af)](/@(\w+)/g)?.[_0x5a82ba(0x1c2)](_0x7c0ae4=>_0x7c0ae4[_0x5a82ba(0x218)](0x1))||[];};exports[a44_0x43ebd0(0x1c1)]=_0x37fbef=>{const _0x878835=a44_0x43ebd0,_0x763aa0={'hTYhw':function(_0x54a335,_0x41b642){return _0x54a335(_0x41b642);}};if(_0x37fbef['tags'])return _0x37fbef[_0x878835(0x234)]['map'](_0x591ea5=>_0x591ea5[_0x878835(0x1b9)]('@')?_0x591ea5[_0x878835(0x1ac)](0x1):_0x591ea5);return _0x763aa0[_0x878835(0x211)](getTagsFromTitle,_0x37fbef[_0x878835(0x1e3)]);},exports['calculatePerformance']=async()=>{const _0x11f920=a44_0x43ebd0,_0x2398d2={'xcKWi':function(_0x188f40,_0x16f8b9){return _0x188f40-_0x16f8b9;},'XSnFV':'performance-reporter.html','DJoXV':'onBegin','PvIHb':'endSession','wASsF':_0x11f920(0x243),'HruwG':_0x11f920(0x203),'BppvT':_0x11f920(0x231),'XmcnQ':_0x11f920(0x20d),'Qudgu':_0x11f920(0x1a6),'DoXsX':'afterWorkerHook','vbKDS':_0x11f920(0x24a),'ENgVz':'afterTestHook','NssNL':_0x11f920(0x1e6),'qxhBq':'processPageScreenshot','VPhLl':_0x11f920(0x24c),'aFuLI':'setupBrowserDetails','KIJRE':_0x11f920(0x22e),'QMMff':_0x11f920(0x205),'tOZps':function(_0x2535e8,_0x58f2e8){return _0x2535e8(_0x58f2e8);},'ZMPtY':function(_0x42eceb,_0x236424){return _0x42eceb/_0x236424;},'zIqjF':function(_0x313e57,_0x580b60){return _0x313e57+_0x580b60;},'VvlYN':function(_0x403e9a,_0x499d54){return _0x403e9a(_0x499d54);},'GyQdp':function(_0xdbf53c,_0x2b2412){return _0xdbf53c*_0x2b2412;},'sRDVk':function(_0xd67b69,_0x173000){return _0xd67b69+_0x173000;}};if(!process['env']['START_TIME'])return;const _0x4067df=_0x2398d2[_0x11f920(0x1a5)](new Date()[_0x11f920(0x221)](),new Date(process[_0x11f920(0x240)]['START_TIME'])['getTime']()),_0x188132=await PerformanceTester[_0x11f920(0x1e2)](_0x2398d2[_0x11f920(0x1c3)],[_0x2398d2[_0x11f920(0x1b2)],_0x2398d2[_0x11f920(0x1ea)],_0x2398d2[_0x11f920(0x1b8)],_0x2398d2[_0x11f920(0x1ec)],_0x2398d2[_0x11f920(0x21e)],_0x2398d2['XmcnQ']]),_0x56b376=fs[_0x11f920(0x1c7)]('.'),_0x2ec317=_0x56b376[_0x11f920(0x20c)](_0x2d4aac=>_0x2d4aac[_0x11f920(0x1b9)](_0x11f920(0x21b))&&_0x2d4aac[_0x11f920(0x207)](_0x11f920(0x248))),_0x5d94ac=await PerformanceTester[_0x11f920(0x1bc)](_0x2ec317,[_0x2398d2[_0x11f920(0x215)],_0x2398d2[_0x11f920(0x1f3)],_0x2398d2['vbKDS'],_0x2398d2[_0x11f920(0x226)],_0x2398d2[_0x11f920(0x1e5)],_0x2398d2[_0x11f920(0x1fb)],_0x2398d2['VPhLl'],_0x2398d2[_0x11f920(0x20f)],_0x2398d2[_0x11f920(0x1cb)],_0x2398d2[_0x11f920(0x1db)]]);_0x2398d2[_0x11f920(0x1b1)](debug,_0x11f920(0x217)+_0x2398d2[_0x11f920(0x1a2)](_0x4067df,0x3e8)+'\x20s'),_0x2398d2[_0x11f920(0x1b1)](debug,_0x11f920(0x249)+_0x2398d2['zIqjF'](_0x5d94ac,_0x188132)),_0x2398d2[_0x11f920(0x23c)](debug,_0x11f920(0x1f7)+_0x2398d2[_0x11f920(0x1b4)](_0x2398d2[_0x11f920(0x1a2)](_0x2398d2[_0x11f920(0x1fe)](_0x5d94ac,_0x188132),_0x4067df),0x64));},exports['getTransformPath']=()=>{const _0x1f00ce=a44_0x43ebd0,_0x240492={'GZKRl':function(_0x3a5f7e,_0x5dca78){return _0x3a5f7e(_0x5dca78);},'vYine':function(_0x479481,_0xa4fe2e){return _0x479481>=_0xa4fe2e;},'ObfGb':_0x1f00ce(0x225),'jhhRy':_0x1f00ce(0x20e),'Ulthu':_0x1f00ce(0x1d8),'dgPUI':_0x1f00ce(0x1ef),'AqWsX':_0x1f00ce(0x223),'nqWpr':_0x1f00ce(0x23b),'wuTBI':_0x1f00ce(0x213)},_0x5c5f76=_0x240492['GZKRl'](getFrameworkVersion,FRAMEWORKS[_0x1f00ce(0x1ed)]);if(_0x240492[_0x1f00ce(0x1a8)](helper['compareVersions'](_0x5c5f76,_0x240492[_0x1f00ce(0x1d2)]),0x0))return[_0x240492[_0x1f00ce(0x1e7)],_0x240492[_0x1f00ce(0x1c0)]];if(_0x240492[_0x1f00ce(0x1a8)](helper[_0x1f00ce(0x245)](_0x5c5f76,_0x240492[_0x1f00ce(0x1ab)]),0x0))return[_0x240492[_0x1f00ce(0x1c5)],_0x240492[_0x1f00ce(0x212)]];return[_0x240492[_0x1f00ce(0x1ba)],_0x240492[_0x1f00ce(0x212)]];},exports[a44_0x43ebd0(0x1d3)]=()=>{const _0x18abf3=a44_0x43ebd0,_0x2958a1={'jWwey':function(_0x7287b9,_0x3681fd){return _0x7287b9(_0x3681fd);},'EwwcC':function(_0x5540ee,_0x113482){return _0x5540ee>=_0x113482;},'jrTQr':'1.38.0','mvTaN':'playwright/lib/common/configLoader.js','OLrQQ':'playwright','XPPoX':'@playwright/test/lib/common/configLoader.js','JQCRh':'@playwright/test'},_0x2064b5=_0x2958a1['jWwey'](getFrameworkVersion,FRAMEWORKS[_0x18abf3(0x1ed)]);if(_0x2958a1['EwwcC'](helper[_0x18abf3(0x245)](_0x2064b5,_0x2958a1[_0x18abf3(0x24b)]),0x0))return[_0x2958a1['mvTaN'],_0x2958a1['OLrQQ']];return[_0x2958a1['XPPoX'],_0x2958a1[_0x18abf3(0x1ee)]];},exports['getLoadUtilsPath']=()=>{const _0x5b68ff=a44_0x43ebd0,_0x292bc7={};_0x292bc7[_0x5b68ff(0x1c8)]=_0x5b68ff(0x1ce);const _0x17e30e=_0x292bc7;return helper[_0x5b68ff(0x242)](_0x17e30e[_0x5b68ff(0x1c8)]);},exports[a44_0x43ebd0(0x22f)]=()=>{const _0xace31e=a44_0x43ebd0,_0x35881c={};_0x35881c[_0xace31e(0x239)]='runner/projectUtils.js';const _0xe746dc=_0x35881c;return helper[_0xace31e(0x242)](_0xe746dc[_0xace31e(0x239)]);},exports[a44_0x43ebd0(0x1f4)]=()=>{const _0x23ef4b=a44_0x43ebd0,_0x4261f7={'SogmQ':function(_0x5b9413,_0x1ee5dd){return _0x5b9413(_0x1ee5dd);},'VaINz':function(_0x5b136e,_0x2bff63){return _0x5b136e>=_0x2bff63;},'EgWFH':_0x23ef4b(0x225),'EHcsN':'lib','IcAAi':_0x23ef4b(0x238),'Tmvlt':'process.js','RbqTS':_0x23ef4b(0x1dd)},_0x458cbf=_0x4261f7[_0x23ef4b(0x233)](getFrameworkVersion,FRAMEWORKS[_0x23ef4b(0x1ed)]);if(_0x4261f7[_0x23ef4b(0x1d7)](helper[_0x23ef4b(0x245)](_0x458cbf,_0x4261f7[_0x23ef4b(0x1be)]),0x0))return path['join'](_0x4261f7[_0x23ef4b(0x222)],_0x4261f7[_0x23ef4b(0x1dc)],_0x4261f7[_0x23ef4b(0x1d1)]);return path[_0x23ef4b(0x247)](_0x4261f7[_0x23ef4b(0x244)],_0x4261f7['EHcsN'],_0x4261f7['IcAAi'],_0x4261f7['Tmvlt']);},exports['getFailureData']=(_0x5a62a0,{test_run_uuid:_0x46ff82})=>{const _0x3d8845=a44_0x43ebd0,_0x58281c={'VfpIX':_0x3d8845(0x1fa),'okUOy':_0x3d8845(0x1de),'LjoFI':function(_0x229a37,_0x53a4cd){return _0x229a37<=_0x53a4cd;},'vJqBO':function(_0x47fb47,_0x297ca7){return _0x47fb47(_0x297ca7);},'TmysO':_0x3d8845(0x1b6),'gvvip':function(_0x478a7a,_0x18bfdf){return _0x478a7a(_0x18bfdf);},'sXsUM':function(_0x206ffc,_0x320052){return _0x206ffc>=_0x320052;},'eVYWS':'1.42.0','YStFe':function(_0x257a2e,_0xd8eaef){return _0x257a2e>_0xd8eaef;},'DMhjB':function(_0x138d11,_0x3e5263,_0x4da981){return _0x138d11(_0x3e5263,_0x4da981);},'wBzCz':_0x3d8845(0x1dd)};if(!_0x5a62a0||_0x58281c['LjoFI'](_0x5a62a0[_0x3d8845(0x1f0)],0x0))return[];const _0x1d637f=_0x58281c[_0x3d8845(0x1fc)](removeAnsiColors,_0x5a62a0[0x0][_0x3d8845(0x1fd)]);if(_0x1d637f['startsWith'](_0x58281c[_0x3d8845(0x204)])){const _0x39739c=_0x5a62a0[0x0],_0x2cbef2=_0x58281c[_0x3d8845(0x220)](getFrameworkVersion,FRAMEWORKS[_0x3d8845(0x1ed)]);if((!_0x39739c[_0x3d8845(0x1eb)]||_0x58281c[_0x3d8845(0x214)](_0x2cbef2,_0x58281c[_0x3d8845(0x208)]))&&_0x58281c['YStFe'](_0x5a62a0['length'],0x1))return{'failureData':[{'backtrace':[_0x1d637f,_0x58281c[_0x3d8845(0x220)](removeAnsiColors,_0x5a62a0[0x1][_0x3d8845(0x1eb)])]}],'logs':_0x5a62a0['slice'](0x2)[_0x3d8845(0x1c2)](_0x309312=>{const _0x4f4b8c=_0x3d8845;return{'timestamp':new Date()['toISOString'](),'level':_0x58281c[_0x4f4b8c(0x1c6)],'message':''+_0x309312[_0x4f4b8c(0x1fd)],'kind':_0x58281c[_0x4f4b8c(0x241)],'http_response':{},'test_run_uuid':_0x46ff82};})};}return{'failureData':_0x58281c[_0x3d8845(0x1ad)](failureData,_0x5a62a0,_0x58281c[_0x3d8845(0x1aa)]),'logs':[]};},exports[a44_0x43ebd0(0x228)]=_0x3699cd=>{const _0x484d2b=a44_0x43ebd0,_0x181686={};_0x181686[_0x484d2b(0x23f)]=function(_0x48fa2e,_0x4b1b7d){return _0x48fa2e!==_0x4b1b7d;},_0x181686[_0x484d2b(0x22c)]='.zip',_0x181686[_0x484d2b(0x21f)]=function(_0x270307,_0x1206ac){return _0x270307>_0x1206ac;};const _0x2a01e4=_0x181686;if(_0x3699cd&&fs[_0x484d2b(0x1f8)](_0x3699cd)){if(_0x2a01e4[_0x484d2b(0x23f)](path[_0x484d2b(0x1da)](_0x3699cd)[_0x484d2b(0x237)](),_0x2a01e4['fmDbc']))return logger[_0x484d2b(0x1d6)](_0x484d2b(0x1e9)+_0x3699cd),![];const _0x1107e3=fs['statSync'](_0x3699cd)['size'];if(_0x2a01e4[_0x484d2b(0x21f)](_0x1107e3,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x484d2b(0x1d6)](_0x484d2b(0x227)+_0x1107e3+'\x20bytes'),![];return!![];}return![];},exports[a44_0x43ebd0(0x235)]=(_0x29f47e,_0x25f2a0)=>{const _0x43e719=a44_0x43ebd0,_0x15a447={};_0x15a447['mrJPu']=_0x43e719(0x22b);const _0x41498a=_0x15a447;logger[_0x43e719(0x1cc)]('Searching\x20for\x20key:\x20'+_0x25f2a0);if(_0x29f47e&&_0x29f47e['attachments']){const _0x5aebf0=_0x29f47e[_0x43e719(0x1d9)]['find'](_0xcbbab7=>_0xcbbab7[_0x43e719(0x1f6)]===_0x43e719(0x232));if(_0x5aebf0)return logger[_0x43e719(0x1cc)](_0x43e719(0x1bd)+_0x25f2a0+_0x43e719(0x1d5)),_0x5aebf0[_0x25f2a0];}else{if(_0x29f47e&&Object[_0x43e719(0x216)]['toString'][_0x43e719(0x1a4)](_0x29f47e)[_0x43e719(0x1c4)](_0x41498a[_0x43e719(0x1a7)]))for(const _0x4c0827 of _0x29f47e){if(_0x4c0827[_0x25f2a0])return logger[_0x43e719(0x1cc)](_0x43e719(0x1bd)+_0x25f2a0+'\x20in\x20arguments'),_0x4c0827[_0x25f2a0];}};return'';},exports[a44_0x43ebd0(0x1f2)]=async(_0x40ec86,_0x32699f)=>{const _0x5e9ad6=a44_0x43ebd0,_0x41eca3={};_0x41eca3['LqVjJ']=_0x5e9ad6(0x1a9),_0x41eca3['ecSRR']=_0x5e9ad6(0x1b7),_0x41eca3[_0x5e9ad6(0x1d0)]=_0x5e9ad6(0x1e0),_0x41eca3['LJmiv']=_0x5e9ad6(0x200);const _0x375060=_0x41eca3;try{const _0x3c1c9a={'event_type':_0x375060['LqVjJ'],'logs':[{'data':_0x40ec86?fs[_0x5e9ad6(0x1b5)](_0x40ec86):'','test_run_uuid':_0x32699f,'kind':_0x375060['ecSRR'],'fileName':_0x40ec86?path['basename'](_0x40ec86):''}]};return await SessionHandler['sendEventData'](_0x3c1c9a,0x0,_0x375060[_0x5e9ad6(0x1d0)]);}catch(_0x14df93){logger['error'](util['format'](_0x375060[_0x5e9ad6(0x1ff)],_0x14df93));}},exports[a44_0x43ebd0(0x1e0)]=async(_0x40f8da,_0x3f9b00)=>{const _0x15b69e=a44_0x43ebd0,_0x130abd={'WLBDs':_0x15b69e(0x21d),'kifsd':_0x15b69e(0x1a1),'wVaXZ':function(_0x501f4b){return _0x501f4b();},'diLvt':_0x15b69e(0x200)};try{logger[_0x15b69e(0x1cc)](_0x15b69e(0x22d)+_0x3f9b00);let _0x17850f=await exports[_0x15b69e(0x235)](_0x40f8da,_0x130abd[_0x15b69e(0x201)]);if(exports[_0x15b69e(0x228)](_0x17850f)){logger[_0x15b69e(0x1cc)](_0x130abd['kifsd']),_0x17850f=path[_0x15b69e(0x20a)](_0x17850f);const _0x1ee118={};_0x1ee118[_0x15b69e(0x1e8)]=_0x3f9b00,_0x1ee118[_0x15b69e(0x209)]=_0x17850f;const _0x273e38=_0x1ee118;_0x130abd[_0x15b69e(0x1e1)](getBrowserstackCLI)[_0x15b69e(0x202)]()[_0x15b69e(0x1ca)]()?TestInfo[_0x15b69e(0x1cf)](_0x273e38):TestDetails['addTraceFilePath'](_0x273e38);};}catch(_0x4c71cc){logger[_0x15b69e(0x1d6)](util[_0x15b69e(0x1bb)](_0x130abd[_0x15b69e(0x210)],_0x4c71cc));}},exports[a44_0x43ebd0(0x230)]=_0xdd3beb=>{const _0x1e1f12=a44_0x43ebd0,_0x2adf42={};_0x2adf42[_0x1e1f12(0x1f1)]=function(_0x58da68,_0x63ef9d){return _0x58da68+_0x63ef9d;},_0x2adf42['krAqJ']=function(_0x43d139,_0x48fd4c){return _0x43d139+_0x48fd4c;};const _0x1e6255=_0x2adf42;return _0x1e6255[_0x1e1f12(0x1f1)](_0x1e6255['krAqJ'](_0xdd3beb[_0x1e1f12(0x1a3)],'-'),_0xdd3beb['id']);},exports[a44_0x43ebd0(0x236)]=(_0x4fae5e,_0xb4510)=>{const _0x12f697=a44_0x43ebd0,_0x42c8af={};_0x42c8af[_0x12f697(0x206)]=function(_0x148412,_0x4b755e){return _0x148412+_0x4b755e;};const _0x46c739=_0x42c8af;return _0x46c739[_0x12f697(0x206)](_0x46c739[_0x12f697(0x206)](_0x4fae5e['id'],'-'),_0xb4510);};
|
|
1
|
+
const a44_0x4c0d33=a44_0x21dc;function a44_0x21dc(_0x54ba92,_0x4c66d1){const _0x2214a8=a44_0x2214();return a44_0x21dc=function(_0x21dc64,_0x1392a3){_0x21dc64=_0x21dc64-0x12c;let _0x559c51=_0x2214a8[_0x21dc64];return _0x559c51;},a44_0x21dc(_0x54ba92,_0x4c66d1);}(function(_0x34fc49,_0x30ce69){const _0xda4533=a44_0x21dc,_0x3fe145=_0x34fc49();while(!![]){try{const _0x2d1b41=parseInt(_0xda4533(0x172))/0x1*(parseInt(_0xda4533(0x146))/0x2)+-parseInt(_0xda4533(0x1db))/0x3+-parseInt(_0xda4533(0x1b1))/0x4+-parseInt(_0xda4533(0x1ad))/0x5+-parseInt(_0xda4533(0x14d))/0x6*(parseInt(_0xda4533(0x160))/0x7)+-parseInt(_0xda4533(0x13b))/0x8*(-parseInt(_0xda4533(0x186))/0x9)+-parseInt(_0xda4533(0x157))/0xa*(-parseInt(_0xda4533(0x1d7))/0xb);if(_0x2d1b41===_0x30ce69)break;else _0x3fe145['push'](_0x3fe145['shift']());}catch(_0x5304c8){_0x3fe145['push'](_0x3fe145['shift']());}}}(a44_0x2214,0x57ef5));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x4c0d33(0x1bf)),PerformanceTester=require(a44_0x4c0d33(0x162)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x4c0d33(0x1d5)),helper=require(a44_0x4c0d33(0x153)),path=require(a44_0x4c0d33(0x150)),logger=require(a44_0x4c0d33(0x1d1))[a44_0x4c0d33(0x16b)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x4c0d33(0x1be)),util=require(a44_0x4c0d33(0x182)),TestInfo=require(a44_0x4c0d33(0x1d9));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x1b442c=a44_0x4c0d33,_0x28de46={'bgjIr':function(_0x2fc5d4,_0x4c28b4){return _0x2fc5d4(_0x4c28b4);},'xHSmy':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x28de46[_0x1b442c(0x1c3)](require,_0x28de46[_0x1b442c(0x1c5)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x5dbc07=>{const _0x168d8f=a44_0x4c0d33;return _0x5dbc07[_0x168d8f(0x179)](/@(\w+)/g)?.['map'](_0x49fc91=>_0x49fc91['slice'](0x1))||[];};function a44_0x2214(){const _0x98599b=['ERROR','PNmKT','getForkProcessPath','GZjcL','startsWith','test','validateFilePath','VxyWm','runner/loadUtils.js','vgrQo','toLowerCase','stack','gfvUS','UZaGi','getLoadUtilsPath','filePath','dJwzE','playwright','gPBqI','@playwright/test/lib/common/transform.js','getTestRunIdentifier','uBnZj','htmFR','afterWorkerHook','cObEd','AYmlg','uGDxl','playwright/lib/transform/transform.js','DaWGi','ChCNn','2787620DyRQMo','beforeTestHook','endsWith','vkPJL','2470156tyCvzN','QkDvX','Found\x20key:\x20','length','rZdRo','@playwright/test','map','findNestedKey','IMBlx','doo11ySync','stopAndGenerate','MHsOW','OmhdY','./test-details','../../../helpers/test-observability/utils','cnsBE','nBkDn','cNTtG','bgjIr','getConfigLoaderPath','xHSmy','sendTraceZip','calculatePerformance','Trace\x20enabled','onStepEnd','hRTtc','addTraceFilePath','1.35.0','name','jpxsm','afterTestHook','performance-report-worker-','../../../helpers/logger','tags','xhdMe','cZvhV','../../../helpers/test-observability/constants','HEvBy','2175019ATzhUc','McdKa','../../v2/TestInfo','call','1776138WJHmjo','1.38.0','createReadStream','TmxJw','isRunning','process.js','includes','beforeWorkerHook','sendEventData','xoaoX','attachments','gPptv','_projectId','SGVca','env','prototype','toISOString','DLaIx','640568juDLkE','@playwright/test/lib/common/configLoader.js','sendSessionDetails','endSession','wKPoY','1.42.0','DPhUZ','lnAJd','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','TEST_ATTACHMENT','6JkxKoD','PLAYWRIGHT','title','LYupo','kOjJt','processPageScreenshot','extname','2503758kJwhpr','eEHAr','PkNtI','path','Percentage\x20of\x20increased\x20time\x20is\x20','jWpLc','../../../helpers/helper','voBqj','getTransformPath','getPlaywrightLibPath','100wCYjaw','size','trace','debug','substr','existsSync','readdirSync','cBdZT','lNkuE','7rZzhWx','Bmpku','../../../helpers/performance/performance-tester','WCbyN','yoMdA','slice','Total\x20duration\x20for\x20whole\x20build\x20is\x20','lib','Hzrsa','viTsk','common','winstonLogger','vYAfm','fdOwg','OymOU','message','compareVersions','wtijQ','135717YKYzlj','ZCWkl','.zip','AYguU','Error\x20in\x20sending\x20trace\x20file:\x20%s','Arguments','Test\x20timeout\x20of','match','getTestTags','runner/projectUtils.js','basename','Searching\x20for\x20key:\x20','onTestBegin','getFailureData','LogCreated','onBegin','util','getTime','error','START_TIME','18IdTnlw','calculateTimesFromMultipleFiles','filter','rDJvy','.json','resolve','testUId','ASZFw','format'];a44_0x2214=function(){return _0x98599b;};return a44_0x2214();}exports[a44_0x4c0d33(0x17a)]=_0x22fb36=>{const _0x43999c=a44_0x4c0d33,_0x1f15b7={'IHnDn':function(_0x2488d0,_0x215f70){return _0x2488d0(_0x215f70);}};if(_0x22fb36[_0x43999c(0x1d2)])return _0x22fb36['tags'][_0x43999c(0x1b7)](_0x4a7e79=>_0x4a7e79[_0x43999c(0x193)]('@')?_0x4a7e79[_0x43999c(0x15b)](0x1):_0x4a7e79);return _0x1f15b7['IHnDn'](getTagsFromTitle,_0x22fb36[_0x43999c(0x148)]);},exports[a44_0x4c0d33(0x1c7)]=async()=>{const _0x5332d0=a44_0x4c0d33,_0x324897={'dJwzE':function(_0x566515,_0x41fe48){return _0x566515-_0x41fe48;},'OymOU':'performance-reporter.html','cnsBE':_0x5332d0(0x181),'ASZFw':_0x5332d0(0x13e),'AFJHw':_0x5332d0(0x17e),'OmhdY':'onTestEnd','FtxTP':'onStepBegin','ZCWkl':_0x5332d0(0x1c9),'HEvBy':_0x5332d0(0x130),'QREJg':_0x5332d0(0x1a6),'nBkDn':_0x5332d0(0x1ae),'PkNtI':_0x5332d0(0x1cf),'jpxsm':_0x5332d0(0x1ba),'cZvhV':_0x5332d0(0x14b),'eEHAr':_0x5332d0(0x13d),'rZdRo':'setupBrowserDetails','htmFR':'requestSpyCallback','Uxepr':'sendTestLog','lnAJd':function(_0x2e5607,_0x2d7aef){return _0x2e5607(_0x2d7aef);},'viTsk':function(_0x3e060d,_0x47c012){return _0x3e060d/_0x47c012;},'wikkC':function(_0x13af18,_0x3c238e){return _0x13af18+_0x3c238e;},'vgrQo':function(_0x4c5a3a,_0x2dd6a4){return _0x4c5a3a(_0x2dd6a4);},'LYupo':function(_0x2e31f1,_0x34440b){return _0x2e31f1*_0x34440b;},'KxJQm':function(_0x98dc87,_0x501ad7){return _0x98dc87+_0x501ad7;}};if(!process['env'][_0x5332d0(0x185)])return;const _0x3faf53=_0x324897[_0x5332d0(0x19f)](new Date()[_0x5332d0(0x183)](),new Date(process[_0x5332d0(0x137)]['START_TIME'])[_0x5332d0(0x183)]()),_0x355284=await PerformanceTester[_0x5332d0(0x1bb)](_0x324897[_0x5332d0(0x16e)],[_0x324897[_0x5332d0(0x1c0)],_0x324897[_0x5332d0(0x18d)],_0x324897['AFJHw'],_0x324897[_0x5332d0(0x1bd)],_0x324897['FtxTP'],_0x324897[_0x5332d0(0x173)]]),_0x15bca1=fs[_0x5332d0(0x15d)]('.'),_0x9baf3b=_0x15bca1[_0x5332d0(0x188)](_0x287d7d=>_0x287d7d[_0x5332d0(0x193)](_0x5332d0(0x1d0))&&_0x287d7d[_0x5332d0(0x1af)](_0x5332d0(0x18a))),_0x1ceb00=await PerformanceTester[_0x5332d0(0x187)](_0x9baf3b,[_0x324897[_0x5332d0(0x1d6)],_0x324897['QREJg'],_0x324897[_0x5332d0(0x1c1)],_0x324897[_0x5332d0(0x14f)],_0x324897[_0x5332d0(0x1ce)],_0x324897[_0x5332d0(0x1d4)],_0x324897[_0x5332d0(0x14e)],_0x324897[_0x5332d0(0x1b5)],_0x324897[_0x5332d0(0x1a5)],_0x324897['Uxepr']]);_0x324897[_0x5332d0(0x142)](debug,_0x5332d0(0x166)+_0x324897[_0x5332d0(0x169)](_0x3faf53,0x3e8)+'\x20s'),_0x324897[_0x5332d0(0x142)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x324897['wikkC'](_0x1ceb00,_0x355284)),_0x324897[_0x5332d0(0x198)](debug,_0x5332d0(0x151)+_0x324897[_0x5332d0(0x149)](_0x324897[_0x5332d0(0x169)](_0x324897['KxJQm'](_0x1ceb00,_0x355284),_0x3faf53),0x64));},exports[a44_0x4c0d33(0x155)]=()=>{const _0x378f53=a44_0x4c0d33,_0x5e381e={'Bmpku':function(_0x15fc51,_0x285fff){return _0x15fc51(_0x285fff);},'McdKa':function(_0x3c13ad,_0x41746d){return _0x3c13ad>=_0x41746d;},'Hzrsa':'1.38.0','VxyWm':_0x378f53(0x1aa),'SGVca':_0x378f53(0x1a0),'DPhUZ':function(_0x168626,_0x51acc3){return _0x168626>=_0x51acc3;},'xhdMe':_0x378f53(0x1cc),'UZaGi':'@playwright/test/lib/transform/transform.js','hRTtc':_0x378f53(0x1b6),'QkDvX':_0x378f53(0x1a2)},_0xf593a6=_0x5e381e[_0x378f53(0x161)](getFrameworkVersion,FRAMEWORKS[_0x378f53(0x147)]);if(_0x5e381e[_0x378f53(0x1d8)](helper[_0x378f53(0x170)](_0xf593a6,_0x5e381e[_0x378f53(0x168)]),0x0))return[_0x5e381e[_0x378f53(0x196)],_0x5e381e[_0x378f53(0x136)]];if(_0x5e381e[_0x378f53(0x141)](helper[_0x378f53(0x170)](_0xf593a6,_0x5e381e[_0x378f53(0x1d3)]),0x0))return[_0x5e381e[_0x378f53(0x19c)],_0x5e381e['hRTtc']];return[_0x5e381e[_0x378f53(0x1b2)],_0x5e381e[_0x378f53(0x1ca)]];},exports[a44_0x4c0d33(0x1c4)]=()=>{const _0x1a4c59=a44_0x4c0d33,_0x3e234d={'Mqoym':function(_0x4c625d,_0x40bc04){return _0x4c625d(_0x40bc04);},'eymeH':function(_0x28a9b9,_0x2796e8){return _0x28a9b9>=_0x2796e8;},'yoMdA':_0x1a4c59(0x1dc),'mERqF':'playwright/lib/common/configLoader.js','AYmlg':_0x1a4c59(0x1a0),'DLaIx':_0x1a4c59(0x13c),'dThRR':'@playwright/test'},_0x55724b=_0x3e234d['Mqoym'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3e234d['eymeH'](helper['compareVersions'](_0x55724b,_0x3e234d[_0x1a4c59(0x164)]),0x0))return[_0x3e234d['mERqF'],_0x3e234d[_0x1a4c59(0x1a8)]];return[_0x3e234d[_0x1a4c59(0x13a)],_0x3e234d['dThRR']];},exports[a44_0x4c0d33(0x19d)]=()=>{const _0x1e09fc=a44_0x4c0d33,_0x22d613={};_0x22d613['rDJvy']=_0x1e09fc(0x197);const _0x2a8d24=_0x22d613;return helper[_0x1e09fc(0x156)](_0x2a8d24[_0x1e09fc(0x189)]);},exports['getProjectUtilsPath']=()=>{const _0x4e8e5c=a44_0x4c0d33,_0x3673c8={};_0x3673c8[_0x4e8e5c(0x1c2)]=_0x4e8e5c(0x17b);const _0xc2241b=_0x3673c8;return helper['getPlaywrightLibPath'](_0xc2241b['cNTtG']);},exports[a44_0x4c0d33(0x191)]=()=>{const _0x2d9c32=a44_0x4c0d33,_0x1b1504={'TcDeo':function(_0x372e29,_0x1d35e9){return _0x372e29(_0x1d35e9);},'uGDxl':function(_0x1b6897,_0x139ef6){return _0x1b6897>=_0x139ef6;},'wWAHy':'1.38.0','kOjJt':_0x2d9c32(0x167),'cBdZT':_0x2d9c32(0x16a),'gPptv':_0x2d9c32(0x12e),'yFgnx':'test'},_0x111bda=_0x1b1504['TcDeo'](getFrameworkVersion,FRAMEWORKS[_0x2d9c32(0x147)]);if(_0x1b1504[_0x2d9c32(0x1a9)](helper[_0x2d9c32(0x170)](_0x111bda,_0x1b1504['wWAHy']),0x0))return path['join'](_0x1b1504[_0x2d9c32(0x14a)],_0x1b1504[_0x2d9c32(0x15e)],_0x1b1504[_0x2d9c32(0x134)]);return path['join'](_0x1b1504['yFgnx'],_0x1b1504[_0x2d9c32(0x14a)],_0x1b1504[_0x2d9c32(0x15e)],_0x1b1504['gPptv']);},exports[a44_0x4c0d33(0x17f)]=(_0x57dea8,{test_run_uuid:_0x11a9be})=>{const _0x42add8=a44_0x4c0d33,_0x2bc07e={'LQYcY':_0x42add8(0x18f),'TmxJw':'TEST_LOG','cObEd':function(_0x56b60f,_0x125ef2){return _0x56b60f<=_0x125ef2;},'IMBlx':function(_0x2cbaf2,_0x37a35e){return _0x2cbaf2(_0x37a35e);},'jASBQ':_0x42add8(0x178),'DaWGi':function(_0x19e33f,_0x3c7ccb){return _0x19e33f>=_0x3c7ccb;},'AZgxY':_0x42add8(0x140),'wtijQ':function(_0x4bf22a,_0x36afc6){return _0x4bf22a>_0x36afc6;},'MHsOW':function(_0x2059d0,_0x244a60){return _0x2059d0(_0x244a60);},'vYAfm':function(_0x2a1359,_0x349335,_0x4e3d62){return _0x2a1359(_0x349335,_0x4e3d62);},'fdOwg':_0x42add8(0x194)};if(!_0x57dea8||_0x2bc07e[_0x42add8(0x1a7)](_0x57dea8[_0x42add8(0x1b4)],0x0))return[];const _0x88739=_0x2bc07e[_0x42add8(0x1b9)](removeAnsiColors,_0x57dea8[0x0][_0x42add8(0x16f)]);if(_0x88739[_0x42add8(0x193)](_0x2bc07e['jASBQ'])){const _0x567d43=_0x57dea8[0x0],_0xe7e798=_0x2bc07e[_0x42add8(0x1b9)](getFrameworkVersion,FRAMEWORKS[_0x42add8(0x147)]);if((!_0x567d43[_0x42add8(0x19a)]||_0x2bc07e[_0x42add8(0x1ab)](_0xe7e798,_0x2bc07e['AZgxY']))&&_0x2bc07e[_0x42add8(0x171)](_0x57dea8['length'],0x1))return{'failureData':[{'backtrace':[_0x88739,_0x2bc07e[_0x42add8(0x1bc)](removeAnsiColors,_0x57dea8[0x1][_0x42add8(0x19a)])]}],'logs':_0x57dea8[_0x42add8(0x165)](0x2)[_0x42add8(0x1b7)](_0x133436=>{const _0x475ee3=_0x42add8;return{'timestamp':new Date()[_0x475ee3(0x139)](),'level':_0x2bc07e['LQYcY'],'message':''+_0x133436[_0x475ee3(0x16f)],'kind':_0x2bc07e[_0x475ee3(0x12c)],'http_response':{},'test_run_uuid':_0x11a9be};})};}return{'failureData':_0x2bc07e[_0x42add8(0x16c)](failureData,_0x57dea8,_0x2bc07e[_0x42add8(0x16d)]),'logs':[]};},exports[a44_0x4c0d33(0x195)]=_0x1b8ebc=>{const _0x442eb3=a44_0x4c0d33,_0x2036e8={};_0x2036e8[_0x442eb3(0x154)]=function(_0x3ef5d3,_0x280cf8){return _0x3ef5d3!==_0x280cf8;},_0x2036e8[_0x442eb3(0x13f)]=_0x442eb3(0x174),_0x2036e8[_0x442eb3(0x1b0)]=function(_0x2d618c,_0x51225c){return _0x2d618c>_0x51225c;};const _0x6240b8=_0x2036e8;if(_0x1b8ebc&&fs[_0x442eb3(0x15c)](_0x1b8ebc)){if(_0x6240b8[_0x442eb3(0x154)](path[_0x442eb3(0x14c)](_0x1b8ebc)[_0x442eb3(0x199)](),_0x6240b8[_0x442eb3(0x13f)]))return logger[_0x442eb3(0x184)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x1b8ebc),![];const _0x614634=fs['statSync'](_0x1b8ebc)[_0x442eb3(0x158)];if(_0x6240b8[_0x442eb3(0x1b0)](_0x614634,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x442eb3(0x184)](_0x442eb3(0x144)+_0x614634+'\x20bytes'),![];return!![];}return![];},exports[a44_0x4c0d33(0x1b8)]=(_0x5746de,_0x29579b)=>{const _0x1a0e4f=a44_0x4c0d33,_0x3ec756={};_0x3ec756['LmnaT']=_0x1a0e4f(0x177);const _0x50127f=_0x3ec756;logger[_0x1a0e4f(0x15a)](_0x1a0e4f(0x17d)+_0x29579b);if(_0x5746de&&_0x5746de[_0x1a0e4f(0x133)]){const _0x469992=_0x5746de[_0x1a0e4f(0x133)]['find'](_0x4c7af0=>_0x4c7af0[_0x1a0e4f(0x1cd)]===_0x1a0e4f(0x159));if(_0x469992)return logger[_0x1a0e4f(0x15a)](_0x1a0e4f(0x1b3)+_0x29579b+'\x20in\x20attachments'),_0x469992[_0x29579b];}else{if(_0x5746de&&Object[_0x1a0e4f(0x138)]['toString'][_0x1a0e4f(0x1da)](_0x5746de)[_0x1a0e4f(0x12f)](_0x50127f['LmnaT']))for(const _0x28719d of _0x5746de){if(_0x28719d[_0x29579b])return logger[_0x1a0e4f(0x15a)]('Found\x20key:\x20'+_0x29579b+'\x20in\x20arguments'),_0x28719d[_0x29579b];}};return'';},exports['uploadTraceZip']=async(_0x4ee391,_0x388d17)=>{const _0x492ea0=a44_0x4c0d33,_0x340234={};_0x340234[_0x492ea0(0x1a4)]=_0x492ea0(0x180),_0x340234[_0x492ea0(0x1ac)]=_0x492ea0(0x145),_0x340234[_0x492ea0(0x132)]='sendTraceZip',_0x340234[_0x492ea0(0x1a1)]=_0x492ea0(0x176);const _0x4fead9=_0x340234;try{const _0x3ee538={'event_type':_0x4fead9[_0x492ea0(0x1a4)],'logs':[{'data':_0x4ee391?fs[_0x492ea0(0x1dd)](_0x4ee391):'','test_run_uuid':_0x388d17,'kind':_0x4fead9['ChCNn'],'fileName':_0x4ee391?path[_0x492ea0(0x17c)](_0x4ee391):''}]};return await SessionHandler[_0x492ea0(0x131)](_0x3ee538,0x0,_0x4fead9[_0x492ea0(0x132)]);}catch(_0x1cd2a9){logger[_0x492ea0(0x184)](util[_0x492ea0(0x18e)](_0x4fead9['gPBqI'],_0x1cd2a9));}},exports[a44_0x4c0d33(0x1c6)]=async(_0x4cd4e9,_0x316580)=>{const _0x54a5ab=a44_0x4c0d33,_0x23218c={'WCbyN':_0x54a5ab(0x150),'lNkuE':_0x54a5ab(0x1c8),'PNmKT':function(_0x203d68){return _0x203d68();},'jWpLc':_0x54a5ab(0x176)};try{logger[_0x54a5ab(0x15a)](_0x54a5ab(0x143)+_0x316580);let _0x150a17=await exports[_0x54a5ab(0x1b8)](_0x4cd4e9,_0x23218c[_0x54a5ab(0x163)]);if(exports[_0x54a5ab(0x195)](_0x150a17)){logger[_0x54a5ab(0x15a)](_0x23218c[_0x54a5ab(0x15f)]),_0x150a17=path[_0x54a5ab(0x18b)](_0x150a17);const _0x234651={};_0x234651[_0x54a5ab(0x18c)]=_0x316580,_0x234651[_0x54a5ab(0x19e)]=_0x150a17;const _0x283003=_0x234651;_0x23218c[_0x54a5ab(0x190)](getBrowserstackCLI)['getInstance']()[_0x54a5ab(0x12d)]()?TestInfo[_0x54a5ab(0x1cb)](_0x283003):TestDetails['addTraceFilePath'](_0x283003);};}catch(_0x15209c){logger[_0x54a5ab(0x184)](util[_0x54a5ab(0x18e)](_0x23218c[_0x54a5ab(0x152)],_0x15209c));}},exports['getTestIdentifier']=_0x4412e7=>{const _0x2647f2=a44_0x4c0d33,_0x210066={};_0x210066[_0x2647f2(0x19b)]=function(_0x2b51bc,_0x5a3e23){return _0x2b51bc+_0x5a3e23;},_0x210066[_0x2647f2(0x175)]=function(_0x33b2e0,_0x41e9ce){return _0x33b2e0+_0x41e9ce;};const _0x1087aa=_0x210066;return _0x1087aa['gfvUS'](_0x1087aa[_0x2647f2(0x175)](_0x4412e7[_0x2647f2(0x135)],'-'),_0x4412e7['id']);},exports[a44_0x4c0d33(0x1a3)]=(_0x33a9ab,_0x3a1869)=>{const _0x4087cc=a44_0x4c0d33,_0x324e6b={};_0x324e6b[_0x4087cc(0x192)]=function(_0x24538a,_0xb52c33){return _0x24538a+_0xb52c33;};const _0x1e38a6=_0x324e6b;return _0x1e38a6['GZjcL'](_0x1e38a6[_0x4087cc(0x192)](_0x33a9ab['id'],'-'),_0x3a1869);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a45_0x5797(){const _0x5f1250=['getCustomRerunParam','CMPBm','onTestEnd','oGcve','startMonitoring','filter','step','iOpFO','hyhkK','HookRunFinished','beforeAll\x20hook','getTestFramework','_testHooksMap','cwd','base64','IOWWp','SXrXe','lGtfu','PRE','test','relative','TEST_SCREENSHOT','vRlhF','bfcoj','TestRunFinished','TDoNS','LogCreated','RJGyV','_tags','getTime','format','rwOJX','startTime','all','937013xwNWsQ','getStepIdentifier','isRunning','test_run_uuid','splice','QBnbB','path','map','2256357kcNtve','hook','DGiuT','MZMUU','qqZKk','uvvPD','../../v2/state/testFrameworkState','419607ZGRejb','../../../helpers/performance/performance-tester','retry_of','beforeEach\x20hook','errors','onBegin','../../../helpers/test-observability/sessionHandler','meta','Expected\x20to\x20fail,\x20but\x20passed.','Test\x20Finished\x20with\x20unique\x20id\x20','olvcW','6fKCCYF','NrNhg','getStepsAndLogs','../../../helpers/test-observability/error-handler','INIT_TEST','cUAHd','readFileSync','After\x20Hooks','hxHVR','evBuD','Before\x20Hooks','status','lnSli','IpDbL','mkdirSync','parent','\x20is\x20triggered\x20for\x20test\x20','toISOString','sjyCm','../../v2/browserstackCLI','onStepBegin','4|2|7|3|5|0|1|6','duration','wlQLZ','onTestBegin','yNCiz','FhBAE','title','afterAll\x20hook','MTEPk','pQPJZ','steps','getTestUUID','Hook\x20Started\x20with\x20unique\x20id\x20','Error\x20in\x20calculating\x20performance:\x20','80xNSVnj','tUGuX','onStepEnd','988150JqlOIW','category','file','PXOnE','xXQYq','BEFORE_ALL','NNGtc','dwWNM','PLAYWRIGHT','xBGRK','kooIK','location','rcHKq','SSTYn','SnWHu','error','shutdown','getScope','4zqLeCo','printsToStdio','AFTER_EACH','Test\x20Started\x20with\x20unique\x20id\x20','708LFBsuK','object','existsSync','NHzDI','retry','VUkmu','attachments','hook_run_uuid','vuMNi','_trackedEvents','IHAhY','expanded','stack','failure','505180HaLNFb','104EIaxcA','BCmXM','HookRunStarted','.txt','backtrace','getInstance','GBMqc','length','onEnd','logs','toString','gvBSz','THoCG','Fkkpy','./test-details','mXuqH','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','statSync','result','cQqav','TEST_ATTACHMENT','timedOut','titlePath','bohgh','../../../helpers/helper','1186BOXhRB','../../../helpers/test-observability/requestQueueHandler','endSession','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','whTMm','BROWSERSTACK_LOG_LEVEL','tZMeI','util','Playwright','BROWSERSTACK_O11Y_PERF_MEASUREMENT','TEST','./pwUtils','trace_','reportLogs','hzbpy','startsWith','javascript','Pmwsl','AFTER_ALL','getHookType','lEHFi','FHXvr','WdpIw','CRqqd','pending','uuid','QBjJu','join','xTdze','_gitConfigPath','getHierarchy','RRRtY','SwDsM','performance-report-reporter.json','_tests','failed','BROWSERSTACK_TEST_RUN_ID','McZnH','expectedStatus','logLevel','options','ncWcz','utf8','NbJMC','LgUTH','qqZjJ','ZUtKg','\x20at\x20','startedAt','trackEvent','xVzcx','TuWVz','PmqHY','jjaxJ','Qtsgu','hRiES','addTestUIDAndReportLog','needToReportStep','reverse','setStepIdentifier','VYLfF','forEach','pqWIT','IphDm','../../v2/state/hookState','sendHookRunEvent','split','unknown','sendTestRunEvent','HRUpz','LUWLV','POST','qjZbO','passed','Trace\x20file\x20found\x20for\x20test:\x20','KuxvD','_gitConfigured','failure_type','event_type','finishedAt','iWEXA','PtjLF','ojWqn','yKNzD','YRgHN','uploadEventData','\x20-\x20','scQtj','_bs_hookIdentifier','MyReporter','screenshot','env','3037279EgyYGz','inspect','configureGit','59cHgdrU','kaipy','UrFKl','root','push','jPyer','message','test_run','hook_run','sDcKD','failure_reason'];a45_0x5797=function(){return _0x5f1250;};return a45_0x5797();}const a45_0x2fddf8=a45_0x4f90;function a45_0x4f90(_0x8aba6b,_0x2592e8){const _0x5797ea=a45_0x5797();return a45_0x4f90=function(_0x4f90a8,_0x3b44f2){_0x4f90a8=_0x4f90a8-0x8d;let _0x1e1c91=_0x5797ea[_0x4f90a8];return _0x1e1c91;},a45_0x4f90(_0x8aba6b,_0x2592e8);}(function(_0xf4d2a5,_0x1dd0c5){const _0x2b1482=a45_0x4f90,_0x395d47=_0xf4d2a5();while(!![]){try{const _0x1c31e7=-parseInt(_0x2b1482(0xc8))/0x1*(-parseInt(_0x2b1482(0x173))/0x2)+-parseInt(_0x2b1482(0xfd))/0x3*(-parseInt(_0x2b1482(0x147))/0x4)+parseInt(_0x2b1482(0x135))/0x5+parseInt(_0x2b1482(0x10f))/0x6*(parseInt(_0x2b1482(0xc5))/0x7)+-parseInt(_0x2b1482(0x15a))/0x8*(-parseInt(_0x2b1482(0x104))/0x9)+-parseInt(_0x2b1482(0x132))/0xa*(-parseInt(_0x2b1482(0xf5))/0xb)+-parseInt(_0x2b1482(0x14b))/0xc*(parseInt(_0x2b1482(0x159))/0xd);if(_0x1c31e7===_0x1dd0c5)break;else _0x395d47['push'](_0x395d47['shift']());}catch(_0x590ceb){_0x395d47['push'](_0x395d47['shift']());}}}(a45_0x5797,0x64f10));const RequestQueueHandler=require(a45_0x2fddf8(0x174)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x2fddf8(0x17e)),{v4:uuidv4}=require(a45_0x2fddf8(0x18c)),path=require(a45_0x2fddf8(0xfb)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a45_0x2fddf8(0x172)),TestDetails=require(a45_0x2fddf8(0x168)),fs=require('fs'),util=require(a45_0x2fddf8(0x17a)),{o11yClassErrorHandler}=require(a45_0x2fddf8(0x112)),PerformanceTester=require(a45_0x2fddf8(0x105)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a45_0x2fddf8(0x10a)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0x2fddf8(0x172)),BrowserstackCLI=require(a45_0x2fddf8(0x122)),TestFrameworkState=require(a45_0x2fddf8(0x103)),HookState=require(a45_0x2fddf8(0xa9)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');class MyReporter{constructor(_0x42fd6a){const _0x1696ca=a45_0x2fddf8,_0x3a4f7e={'VUkmu':_0x1696ca(0x124),'Fkkpy':_0x1696ca(0x194),'sjyCm':function(_0x55a3b5,_0x16bd00,_0x2e4564,_0x31ee2c){return _0x55a3b5(_0x16bd00,_0x2e4564,_0x31ee2c);}},_0x5851cc=_0x3a4f7e[_0x1696ca(0x150)][_0x1696ca(0xab)]('|');let _0xd7d11d=0x0;while(!![]){switch(_0x5851cc[_0xd7d11d++]){case'0':this['_gitConfigured']=![];continue;case'1':this['_gitConfigPath']=null;continue;case'2':process[_0x1696ca(0xc4)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x1696ca(0xd7)](_0x3a4f7e[_0x1696ca(0x167)]),process[_0x1696ca(0xc4)]['START_TIME']=new Date()[_0x1696ca(0x120)]());continue;case'3':this[_0x1696ca(0xdf)]={};continue;case'4':const _0x153de1={};_0x153de1[_0x1696ca(0x90)]=process[_0x1696ca(0xc4)][_0x1696ca(0x178)],_0x3a4f7e[_0x1696ca(0x121)](setLogLevel,_0x153de1,new Map(),new Map());continue;case'5':this[_0x1696ca(0x91)]=_0x42fd6a;continue;case'6':this[_0x1696ca(0x154)]=[];continue;case'7':this[_0x1696ca(0x195)]={};continue;}break;}}async[a45_0x2fddf8(0x109)](){const _0x13e641=a45_0x2fddf8,_0x76bbf6={};_0x76bbf6[_0x13e641(0x11b)]=_0x13e641(0x17b);const _0x16defe=_0x76bbf6;TestDetails['setup'](),await this[_0x13e641(0xc7)](),TestInfo['setup'](_0x16defe[_0x13e641(0x11b)]);if(BrowserstackCLI['getInstance']()['isRunning']()){await BrowserstackCLI[_0x13e641(0x15f)]()[_0x13e641(0xde)]()[_0x13e641(0x9a)](TestFrameworkState[_0x13e641(0x113)],HookState['PRE'],{});return;}}async[a45_0x2fddf8(0x127)](_0x875ab7,_0x19cbbd){const _0x957a04=a45_0x2fddf8,_0x41363a={'evBuD':function(_0x5b2d71,_0x3b8720){return _0x5b2d71(_0x3b8720);},'jjaxJ':function(_0x1878a8,_0x2c7a3a,_0x2f1996){return _0x1878a8(_0x2c7a3a,_0x2f1996);},'mXuqH':'TestRunStarted'};if(BrowserstackCLI[_0x957a04(0x15f)]()['isRunning']()){const _0x5cc850={};_0x5cc850[_0x957a04(0xe6)]=_0x875ab7,_0x5cc850[_0x957a04(0x16c)]=_0x19cbbd,await BrowserstackCLI[_0x957a04(0x15f)]()[_0x957a04(0xde)]()[_0x957a04(0x9a)](TestFrameworkState[_0x957a04(0x17d)],HookState['PRE'],_0x5cc850);return;}const _0x5524ca=_0x41363a[_0x957a04(0x118)](getTestIdentifier,_0x875ab7),_0x1a597a=TestDetails[_0x957a04(0x12f)](_0x41363a[_0x957a04(0x9e)](getTestRunIdentifier,_0x875ab7,_0x19cbbd[_0x957a04(0x14f)]));process[_0x957a04(0xc4)][_0x957a04(0x8d)]=_0x1a597a;const _0x2ff2bd={};_0x2ff2bd[_0x957a04(0x18c)]=_0x1a597a,_0x2ff2bd[_0x957a04(0x99)]=_0x19cbbd[_0x957a04(0xf3)],this[_0x957a04(0x195)][_0x5524ca]=_0x2ff2bd,_0x41363a[_0x957a04(0x118)](trace,_0x957a04(0x14a)+_0x5524ca),await this[_0x957a04(0xad)](_0x875ab7,_0x41363a[_0x957a04(0x169)],_0x19cbbd);}async['onStepBegin'](_0x2b33d0,_0x2a0467,_0x57ee59){const _0x34066d=a45_0x2fddf8,_0x2015c3={'NrNhg':function(_0x4044c1,_0x3dd105,_0x27107e){return _0x4044c1(_0x3dd105,_0x27107e);},'TDoNS':function(_0x2fbb44,_0xa1b418){return _0x2fbb44(_0xa1b418);},'LgUTH':_0x34066d(0x15c)};if(!this[_0x34066d(0xa2)](_0x57ee59,_0x2b33d0))return;if(BrowserstackCLI[_0x34066d(0x15f)]()[_0x34066d(0xf7)]()){const _0x1d2959=this[_0x34066d(0x186)](_0x57ee59[_0x34066d(0x12a)]),_0x1f1306=TestFrameworkState[_0x1d2959],_0x3f3f90={};_0x3f3f90[_0x34066d(0xe6)]=_0x2b33d0,_0x3f3f90[_0x34066d(0x16c)]=_0x2a0467,_0x3f3f90[_0x34066d(0xd9)]=_0x57ee59,await BrowserstackCLI[_0x34066d(0x15f)]()[_0x34066d(0xde)]()['trackEvent'](_0x1f1306,HookState[_0x34066d(0xe5)],_0x3f3f90);return;}const _0x4ef516=this[_0x34066d(0xa4)](_0x2b33d0,_0x57ee59);this[_0x34066d(0x195)][_0x4ef516]={'uuid':TestDetails[_0x34066d(0x12f)](_0x4ef516),'startedAt':_0x57ee59[_0x34066d(0xf3)]['toISOString']()};const _0x1b53eb=_0x2015c3[_0x34066d(0x110)](getTestRunIdentifier,_0x2b33d0,_0x2a0467['retry']);!this[_0x34066d(0xdf)][_0x1b53eb]&&(this[_0x34066d(0xdf)][_0x1b53eb]=[]),this[_0x34066d(0xdf)][_0x1b53eb]['push'](this[_0x34066d(0x195)][_0x4ef516]['uuid']),_0x2015c3[_0x34066d(0xec)](trace,_0x34066d(0x130)+_0x4ef516+_0x34066d(0x11f)+_0x1b53eb),await this[_0x34066d(0xaa)](_0x2b33d0,_0x57ee59,_0x2015c3[_0x34066d(0x95)],_0x2a0467);}async[a45_0x2fddf8(0x134)](_0x5d4bd5,_0x2b421b,_0x45f4be){const _0x462d13=a45_0x2fddf8,_0x541237={'ZUtKg':function(_0x4bc8fe,_0x5c863e){return _0x4bc8fe+_0x5c863e;},'uvvPD':function(_0x520036,_0x1e03dc){return _0x520036(_0x1e03dc);},'hzbpy':'HookRunFinished'};if(!this[_0x462d13(0xa2)](_0x45f4be,_0x5d4bd5))return;if(BrowserstackCLI[_0x462d13(0x15f)]()[_0x462d13(0xf7)]()){const _0x1fbe52=this['getHookType'](_0x45f4be['title']),_0x320003=TestFrameworkState[_0x1fbe52],_0x314eae={};_0x314eae[_0x462d13(0xe6)]=_0x5d4bd5,_0x314eae[_0x462d13(0x16c)]=_0x2b421b,_0x314eae[_0x462d13(0xd9)]=_0x45f4be,await BrowserstackCLI[_0x462d13(0x15f)]()[_0x462d13(0xde)]()[_0x462d13(0x9a)](_0x320003,HookState[_0x462d13(0xb0)],_0x314eae);return;}const _0x5bc590=this[_0x462d13(0xf6)](_0x5d4bd5,_0x45f4be);this[_0x462d13(0x195)][_0x5bc590]={...this[_0x462d13(0x195)][_0x5bc590]||{},'finishedAt':new Date(_0x541237[_0x462d13(0x97)](_0x45f4be[_0x462d13(0xf3)][_0x462d13(0xf0)](),_0x45f4be[_0x462d13(0x125)]))},_0x541237[_0x462d13(0x102)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x5bc590+'\x20is\x20triggered'),await this[_0x462d13(0xaa)](_0x5d4bd5,_0x45f4be,_0x541237[_0x462d13(0x181)],_0x2b421b);}async[a45_0x2fddf8(0xd5)](_0x31ed1d,_0x4ecff0){const _0x3844b7=a45_0x2fddf8,_0x5be161={'IMcML':function(_0x2cde49,_0xb681e9){return _0x2cde49===_0xb681e9;},'YHOLl':_0x3844b7(0xc3),'oGcve':_0x3844b7(0xe8),'SXrXe':_0x3844b7(0xe1),'xBGRK':function(_0x3371f2,_0xbfa000){return _0x3371f2(_0xbfa000);},'NNGtc':function(_0x5744ba,_0x19b979,_0x2d8beb){return _0x5744ba(_0x19b979,_0x2d8beb);},'vRlhF':function(_0x591a82,_0x1c5058){return _0x591a82(_0x1c5058);},'uXRcB':_0x3844b7(0xeb),'PkHTS':_0x3844b7(0x176),'tUGuX':function(_0x5237e5,_0x212f9a){return _0x5237e5(_0x212f9a);},'xVzcx':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','YygMp':function(_0x561345,_0x223db8){return _0x561345>_0x223db8;}};if(BrowserstackCLI['getInstance']()[_0x3844b7(0xf7)]()){const _0x4bd1a8={};_0x4bd1a8[_0x3844b7(0xe6)]=_0x31ed1d,_0x4bd1a8['result']=_0x4ecff0,this[_0x3844b7(0x154)][_0x3844b7(0xcc)](BrowserstackCLI[_0x3844b7(0x15f)]()[_0x3844b7(0xde)]()['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x4bd1a8));return;}const _0x5a813e=_0x5be161[_0x3844b7(0x13e)](getTestIdentifier,_0x31ed1d),_0xb72dff=TestDetails[_0x3844b7(0x12f)](_0x5be161[_0x3844b7(0x13b)](getTestRunIdentifier,_0x31ed1d,_0x4ecff0[_0x3844b7(0x14f)]));this[_0x3844b7(0x195)][_0x5a813e]={...this[_0x3844b7(0x195)][_0x5a813e]||{},'finishedAt':new Date()[_0x3844b7(0x120)]()},_0x5be161[_0x3844b7(0xe9)](debug,_0x3844b7(0x10d)+_0x5a813e);try{await this[_0x3844b7(0xad)](_0x31ed1d,_0x5be161['uXRcB'],_0x4ecff0);}catch(_0x338707){_0x5be161[_0x3844b7(0xe9)](debug,util[_0x3844b7(0xf1)](_0x5be161['PkHTS'],_0x338707[_0x3844b7(0x164)]()));}try{_0x5be161[_0x3844b7(0x133)](debug,_0x3844b7(0x16a)+_0xb72dff),await _0x5be161['NNGtc'](sendTraceZip,_0x4ecff0,_0xb72dff);}catch(_0x4deb0a){_0x5be161[_0x3844b7(0x13e)](debug,util[_0x3844b7(0xf1)](_0x5be161[_0x3844b7(0x9b)],_0x4deb0a[_0x3844b7(0x164)]()));}const _0x5123bc=[];_0x4ecff0[_0x3844b7(0x151)]&&_0x4ecff0['attachments'][_0x3844b7(0xfc)](_0x4b5c39=>{const _0x56949d=_0x3844b7;if(_0x5be161['IMcML'](_0x4b5c39['name'],_0x5be161['YHOLl'])){if(!_0x4b5c39[_0x56949d(0xfb)]||!fs[_0x56949d(0x14d)](_0x4b5c39[_0x56949d(0xfb)]))return;_0x5123bc[_0x56949d(0xcc)]({'test_run_uuid':_0xb72dff,'timestamp':fs[_0x56949d(0x16b)](_0x4b5c39[_0x56949d(0xfb)])['mtime'],'kind':_0x5be161[_0x56949d(0xd6)],'message':fs[_0x56949d(0x115)](_0x4b5c39[_0x56949d(0xfb)],{'encoding':_0x5be161[_0x56949d(0xe3)]})});}}),_0x5be161['YygMp'](_0x5123bc['length'],0x0)&&await MyReporter[_0x3844b7(0x180)](_0x5123bc);}async[a45_0x2fddf8(0x175)](){const _0x5402c0=a45_0x2fddf8;await RequestQueueHandler['getInstance']()[_0x5402c0(0x145)]();}async[a45_0x2fddf8(0x162)](_0x11e355){const _0xb515c2=a45_0x2fddf8,_0x56b074={'PXOnE':function(_0xe858d5){return _0xe858d5();},'McZnH':function(_0x477b0d,_0x3fe966){return _0x477b0d(_0x3fe966);}};await Promise[_0xb515c2(0xf4)](this[_0xb515c2(0x154)]),await this[_0xb515c2(0x175)]();try{process[_0xb515c2(0xc4)][_0xb515c2(0x17c)]&&await _0x56b074[_0xb515c2(0x138)](calculatePerformance);}catch(_0x3d2d13){_0x56b074[_0xb515c2(0x8e)](debug,_0xb515c2(0x131)+_0x3d2d13[_0xb515c2(0x164)]());}}static async[a45_0x2fddf8(0xa1)](_0x1b7e96,_0x5bc98a){const _0x1c4158=a45_0x2fddf8;_0x5bc98a[_0x1c4158(0xf8)]=TestDetails[_0x1c4158(0x12f)](_0x1b7e96),await this[_0x1c4158(0x180)]([_0x5bc98a]);}static async['reportLogs'](_0x4de19a){const _0x3bf547=a45_0x2fddf8,_0x702c72={};_0x702c72[_0x3bf547(0xdb)]=_0x3bf547(0xed);const _0x5b2ed9=_0x702c72;if(BrowserstackCLI[_0x3bf547(0x15f)]()[_0x3bf547(0xf7)]())return;const _0x58e9c1={};_0x58e9c1['event_type']=_0x5b2ed9[_0x3bf547(0xdb)],_0x58e9c1[_0x3bf547(0x163)]=_0x4de19a,await SessionHandler[_0x3bf547(0xbe)](_0x58e9c1);}async[a45_0x2fddf8(0xaa)](_0x18427e,_0x37ead8,_0x37a4ea,_0x5408bf){const _0x36f533=a45_0x2fddf8,_0x389663={'IpDbL':'hook','Pmwsl':_0x36f533(0x183),'AKoST':'pending','KuxvD':function(_0x3d685c,_0x3bda88){return _0x3d685c>=_0x3bda88;},'FHXvr':function(_0x21eaf7,_0x1b0650){return _0x21eaf7===_0x1b0650;},'RJGyV':_0x36f533(0xdc),'FinHB':function(_0x1a4c8c,_0x39c326){return _0x1a4c8c>_0x39c326;},'hRiES':_0x36f533(0x196),'pQPJZ':function(_0xd6c35b,_0x2ac5a1){return _0xd6c35b(_0x2ac5a1);},'QbXyP':function(_0x24ed1a,_0x4558f5,_0x58590c){return _0x24ed1a(_0x4558f5,_0x58590c);},'yNCiz':'err','GuImG':_0x36f533(0xb2)},_0x3efce7=this['getStepIdentifier'](_0x18427e,_0x37ead8),_0x2ca68a=this[_0x36f533(0x195)][_0x3efce7],_0x531ada={'uuid':_0x2ca68a[_0x36f533(0x18c)],'type':_0x389663[_0x36f533(0x11c)],'hook_type':this['getHookType'](_0x37ead8[_0x36f533(0x12a)]),'name':_0x37ead8[_0x36f533(0x12a)],'scope':this[_0x36f533(0x146)](_0x37ead8),'scopes':this[_0x36f533(0x191)](_0x18427e),'body':{'lang':_0x389663[_0x36f533(0x184)],'code':null},'identifier':_0x3efce7,'file_name':path[_0x36f533(0xe7)](process[_0x36f533(0xe0)](),_0x18427e[_0x36f533(0x140)]['file']),'location':path['relative'](process[_0x36f533(0xe0)](),_0x18427e['location']['file']),'result':_0x389663['AKoST'],'duration_in_ms':_0x389663[_0x36f533(0xb4)](_0x37ead8[_0x36f533(0x125)],0x0)?_0x37ead8['duration']:undefined,'vc_filepath':this[_0x36f533(0x190)]&&_0x18427e[_0x36f533(0x140)][_0x36f533(0x137)]?path[_0x36f533(0xe7)](this[_0x36f533(0x190)],_0x18427e[_0x36f533(0x140)][_0x36f533(0x137)]):undefined,'started_at':_0x2ca68a[_0x36f533(0x99)],'finished_at':_0x2ca68a['finishedAt'],'framework':FRAMEWORKS[_0x36f533(0x13d)]};if(_0x389663[_0x36f533(0x188)](_0x37a4ea,_0x389663[_0x36f533(0xee)])){const {steps:_0x3eef6e,logs:_0x3e9892}=this[_0x36f533(0x111)](_0x37ead8[_0x36f533(0x12e)],_0x2ca68a[_0x36f533(0x18c)],_0x389663[_0x36f533(0x11c)]);_0x3e9892&&_0x389663['FinHB'](_0x3e9892['length'],0x0)&&await MyReporter[_0x36f533(0x180)](_0x3e9892);const _0x58e7c0={};_0x58e7c0[_0x36f533(0x12e)]=_0x3eef6e,_0x531ada[_0x36f533(0x10b)]=_0x58e7c0;if(_0x37ead8[_0x36f533(0x144)]){_0x531ada[_0x36f533(0x16c)]=_0x389663[_0x36f533(0xa0)],_0x531ada[_0x36f533(0xd2)]=_0x389663[_0x36f533(0x12d)](removeAnsiColors,_0x37ead8[_0x36f533(0x144)][_0x36f533(0xce)]),_0x531ada[_0x36f533(0xb6)]=_0x389663['pQPJZ'](getFailureType,_0x37ead8['error']['message']);const _0xd52891=_0x389663['QbXyP'](failureData,_0x37ead8[_0x36f533(0x144)],_0x389663[_0x36f533(0x128)]);if(_0xd52891&&_0x389663[_0x36f533(0x188)](_0xd52891['length'],0x0)){const _0x4f55dd={};_0x4f55dd['backtrace']=[_0x531ada['failure_reason']],_0x4f55dd[_0x36f533(0x156)]=[],_0xd52891['push'](_0x4f55dd);}_0x531ada[_0x36f533(0x158)]=_0xd52891;}else _0x531ada[_0x36f533(0x16c)]=_0x389663['GuImG'];}const _0x266248={};_0x266248[_0x36f533(0xb7)]=_0x37a4ea,_0x266248[_0x36f533(0xd0)]=_0x531ada;const _0x1f7dcc=_0x266248;await SessionHandler[_0x36f533(0xbe)](_0x1f7dcc);}['getStepsAndLogs'](_0x443709,_0x53a9ef,_0x177fcf){const _0x3ce5d1=a45_0x2fddf8,_0x1a26f3={'QBjJu':function(_0x40aea9,_0x38c7bb){return _0x40aea9===_0x38c7bb;},'FhBAE':_0x3ce5d1(0xfe),'ncWcz':function(_0x1c3f49,_0xe9a8b2){return _0x1c3f49===_0xe9a8b2;},'wlQLZ':_0x3ce5d1(0x116),'noZIu':_0x3ce5d1(0x119),'bfcoj':function(_0x2a6536,_0x32fb6d){return _0x2a6536===_0x32fb6d;},'THoCG':_0x3ce5d1(0xe6),'XDjFN':_0x3ce5d1(0xf8),'QBnbB':_0x3ce5d1(0x152),'nwtsp':'TEST_STEP','lEHFi':'failed','xXQYq':'passed','SwDsM':function(_0x165766,_0x5243d4){return _0x165766(_0x5243d4);},'qqZjJ':function(_0x3869f5){return _0x3869f5();},'PmqHY':function(_0x36e64e,_0x538f58,_0x3168b3){return _0x36e64e(_0x538f58,_0x3168b3);}},_0x2809d3=[],_0xf78018=[],_0x13583c=_0x443709[_0x3ce5d1(0xd8)](_0x321cde=>{const _0xc7bacb=_0x3ce5d1;if(_0x1a26f3['QBjJu'](_0x321cde[_0xc7bacb(0x136)],_0x1a26f3[_0xc7bacb(0x129)])&&(_0x1a26f3['ncWcz'](_0x321cde[_0xc7bacb(0x12a)],_0x1a26f3[_0xc7bacb(0x126)])||_0x1a26f3[_0xc7bacb(0x18d)](_0x321cde[_0xc7bacb(0x12a)],_0x1a26f3['noZIu'])))return![];return!![];}),_0x195830=(_0x5c8354,_0x723c7=![])=>{const _0x2ecbf5=_0x3ce5d1;if(_0x1a26f3[_0x2ecbf5(0x92)](_0x5c8354['steps'][_0x2ecbf5(0x161)],0x0)){const _0x3ef9af=_0x1a26f3[_0x2ecbf5(0xea)](_0x177fcf,_0x1a26f3[_0x2ecbf5(0x166)])?_0x1a26f3['XDjFN']:_0x1a26f3[_0x2ecbf5(0xfa)];_0xf78018[_0x2ecbf5(0xcc)]({'kind':_0x1a26f3['nwtsp'],[_0x3ef9af]:_0x53a9ef,'message':_0x5c8354['title'],'timestamp':_0x5c8354[_0x2ecbf5(0xf3)][_0x2ecbf5(0x120)](),'level':_0x5c8354[_0x2ecbf5(0x144)]?_0x1a26f3[_0x2ecbf5(0x187)]:_0x1a26f3['xXQYq'],'duration':_0x5c8354[_0x2ecbf5(0x125)],'failure':_0x5c8354[_0x2ecbf5(0x144)]&&_0x5c8354[_0x2ecbf5(0x144)][_0x2ecbf5(0xce)]&&_0x1a26f3['SwDsM'](removeAnsiColors,_0x5c8354[_0x2ecbf5(0x144)][_0x2ecbf5(0xce)]),'failure_type':_0x1a26f3[_0x2ecbf5(0x193)](getFailureType,_0x5c8354[_0x2ecbf5(0x144)]&&_0x5c8354[_0x2ecbf5(0x144)]['message'])});}else{!_0x723c7&&_0x2809d3['push']({'id':_0x1a26f3[_0x2ecbf5(0x96)](uuidv4),'text':_0x5c8354[_0x2ecbf5(0x12a)],'keyword':undefined,'started_at':_0x5c8354[_0x2ecbf5(0xf3)][_0x2ecbf5(0x120)](),'duration':_0x5c8354[_0x2ecbf5(0x125)],'result':_0x5c8354[_0x2ecbf5(0x144)]?_0x1a26f3[_0x2ecbf5(0x187)]:_0x1a26f3[_0x2ecbf5(0x139)],'failure':_0x5c8354[_0x2ecbf5(0x144)]&&_0x5c8354[_0x2ecbf5(0x144)][_0x2ecbf5(0xce)]&&_0x1a26f3['SwDsM'](removeAnsiColors,_0x5c8354[_0x2ecbf5(0x144)][_0x2ecbf5(0xce)]),'failure_type':_0x1a26f3[_0x2ecbf5(0x193)](getFailureType,_0x5c8354[_0x2ecbf5(0x144)]&&_0x5c8354[_0x2ecbf5(0x144)]['message'])});for(const _0x2d592a of _0x5c8354['steps']){_0x1a26f3[_0x2ecbf5(0x9d)](_0x195830,_0x2d592a,!![]);}}};for(const _0x5f5cc5 of _0x13583c){_0x1a26f3[_0x3ce5d1(0x9d)](_0x195830,_0x5f5cc5,![]);}const _0x41ef78={};return _0x41ef78[_0x3ce5d1(0x12e)]=_0x2809d3,_0x41ef78['logs']=_0xf78018,_0x41ef78;}async[a45_0x2fddf8(0xad)](_0x28ab30,_0x4b9b29,_0x5a6866){const _0x379eec=a45_0x2fddf8,_0x32ab9e={'CRqqd':function(_0x2c00be,_0x11891c){return _0x2c00be(_0x11891c);},'ZvGLj':_0x379eec(0x16e),'IHAhY':function(_0x58f5a7,_0x28c94c){return _0x58f5a7(_0x28c94c);},'kaipy':_0x379eec(0xe6),'Qtsgu':_0x379eec(0x183),'nmHYQ':_0x379eec(0x18b),'IOWWp':function(_0x3ab84e,_0x3b756f,_0x39f314,_0x3d32ff,_0x134161){return _0x3ab84e(_0x3b756f,_0x39f314,_0x3d32ff,_0x134161);},'ojWqn':function(_0x419db1,_0x3ce915){return _0x419db1>_0x3ce915;},'iOpFO':function(_0x5c368d,_0x257726,_0x4eb9de){return _0x5c368d(_0x257726,_0x4eb9de);},'jQhia':function(_0x1c92e2,_0x122d76){return _0x1c92e2-_0x122d76;},'HmcTj':function(_0x2eff94,_0x59a8ce){return _0x2eff94===_0x59a8ce;},'kooIK':_0x379eec(0xeb),'IVOoy':function(_0x1a9448,_0x4e1a07){return _0x1a9448===_0x4e1a07;},'lGtfu':function(_0x441e4e,_0x1a6c6c){return _0x441e4e===_0x1a6c6c;},'LUWLV':'skipped','cUAHd':'passed','RRRtY':function(_0xd2c815,_0x22aa64){return _0xd2c815===_0x22aa64;},'SSTYn':'failed','VYLfF':function(_0x3e02a7,_0x2d5234){return _0x3e02a7===_0x2d5234;},'dwWNM':_0x379eec(0x16f),'yKNzD':function(_0x5d9578,_0x397377){return _0x5d9578===_0x397377;},'rwOJX':function(_0x5a3cec,_0x797e87){return _0x5a3cec===_0x797e87;},'HRUpz':_0x379eec(0x10c),'qqZKk':_0x379eec(0xfb),'hxHVR':'.browserstack','pUtRt':_0x379eec(0x93),'xTdze':function(_0x5f5d6f,_0x4ecd60){return _0x5f5d6f(_0x4ecd60);},'CMPBm':function(_0x52db5d,_0x1e27ab){return _0x52db5d!==_0x1e27ab;},'TuWVz':function(_0x5879ec,_0x53ec04){return _0x5879ec===_0x53ec04;}},_0x30e494=_0x32ab9e[_0x379eec(0x155)](getTestIdentifier,_0x28ab30),_0x4ec61f=this[_0x379eec(0x146)](_0x28ab30),_0x5070c8=this[_0x379eec(0x195)][_0x30e494],_0x163cb9=path[_0x379eec(0xe7)](process[_0x379eec(0xe0)](),_0x28ab30['location'][_0x379eec(0x137)]);await this[_0x379eec(0xc7)]();const _0x276247={'uuid':_0x5070c8[_0x379eec(0x18c)],'type':_0x32ab9e[_0x379eec(0xc9)],'name':_0x28ab30[_0x379eec(0x12a)],'body':{'lang':_0x32ab9e[_0x379eec(0x9f)],'code':_0x28ab30['fn'][_0x379eec(0x164)]()},'scope':_0x4ec61f,'scopes':this[_0x379eec(0x191)](_0x28ab30),'identifier':_0x30e494,'file_name':_0x163cb9,'location':_0x163cb9,'result':_0x32ab9e['nmHYQ'],'duration_in_ms':_0x5a6866&&_0x5a6866[_0x379eec(0x125)]?_0x5a6866[_0x379eec(0x125)]:null,'vc_filepath':this[_0x379eec(0x190)]&&_0x28ab30[_0x379eec(0x140)]['file']?path[_0x379eec(0xe7)](this[_0x379eec(0x190)],_0x28ab30[_0x379eec(0x140)]['file']):undefined,'started_at':_0x5070c8[_0x379eec(0x99)],'finished_at':_0x5070c8[_0x379eec(0xb8)],'framework':FRAMEWORKS[_0x379eec(0x13d)],'customRerunParam':{'rerun_name':this[_0x379eec(0xd3)](_0x28ab30)},'tags':_0x32ab9e[_0x379eec(0x18a)](getTestTags,_0x28ab30)};_0x32ab9e[_0x379eec(0xe2)](appendTesthubParams,_0x276247,_0x4b9b29,_0x28ab30,FRAMEWORKS['PLAYWRIGHT']);_0x5a6866&&_0x32ab9e[_0x379eec(0xbb)](_0x5a6866[_0x379eec(0x14f)],0x0)&&(_0x276247[_0x379eec(0x106)]=TestDetails['getTestUUID'](_0x32ab9e[_0x379eec(0xda)](getTestRunIdentifier,_0x28ab30,_0x32ab9e['jQhia'](_0x5a6866[_0x379eec(0x14f)],0x1))));if(_0x32ab9e['HmcTj'](_0x4b9b29,_0x32ab9e[_0x379eec(0x13f)])){_0x276247[_0x379eec(0x16c)]=_0x5a6866[_0x379eec(0x11a)];if(_0x32ab9e['IVOoy'](_0x5a6866[_0x379eec(0x11a)],_0x28ab30[_0x379eec(0x8f)]))_0x276247[_0x379eec(0x16c)]=_0x32ab9e[_0x379eec(0xe4)](_0x5a6866[_0x379eec(0x11a)],_0x32ab9e[_0x379eec(0xaf)])?_0x32ab9e[_0x379eec(0xaf)]:_0x32ab9e[_0x379eec(0x114)];else{(_0x32ab9e[_0x379eec(0xe4)](_0x276247[_0x379eec(0x16c)],_0x32ab9e[_0x379eec(0x114)])||_0x32ab9e[_0x379eec(0x192)](_0x276247[_0x379eec(0x16c)],_0x32ab9e[_0x379eec(0x142)])||_0x32ab9e[_0x379eec(0xa5)](_0x276247[_0x379eec(0x16c)],_0x32ab9e[_0x379eec(0x13c)]))&&(_0x276247[_0x379eec(0x16c)]=_0x32ab9e['SSTYn']);if(_0x32ab9e[_0x379eec(0xbc)](_0x5a6866[_0x379eec(0x11a)],_0x32ab9e[_0x379eec(0x114)])&&_0x32ab9e[_0x379eec(0xf2)](_0x28ab30['expectedStatus'],_0x32ab9e[_0x379eec(0x142)])){const _0x6510b4={};_0x6510b4[_0x379eec(0xce)]=_0x32ab9e[_0x379eec(0xae)],_0x6510b4[_0x379eec(0x157)]=_0x32ab9e[_0x379eec(0xae)],_0x5a6866[_0x379eec(0x144)]=_0x6510b4,_0x5a6866[_0x379eec(0x108)]=[_0x5a6866[_0x379eec(0x144)]];}}const _0x4494ff=_0x32ab9e[_0x379eec(0xda)](getTestRunIdentifier,_0x28ab30,_0x5a6866['retry']);_0x276247['hooks']=this[_0x379eec(0xdf)][_0x4494ff];const {steps:_0xbc1d0d,logs:_0x5a316b}=this[_0x379eec(0x111)](_0x5a6866[_0x379eec(0x12e)],_0x5070c8[_0x379eec(0x18c)],_0x32ab9e[_0x379eec(0xc9)]);await MyReporter['reportLogs'](_0x5a316b);const _0x431b30={};_0x431b30[_0x379eec(0x12e)]=_0xbc1d0d,_0x276247['meta']=_0x431b30;if(_0x5a6866[_0x379eec(0x144)]){_0x276247['failure_reason']=_0x32ab9e['IHAhY'](removeAnsiColors,_0x5a6866['error'][_0x379eec(0xce)]),_0x276247['failure_type']=_0x32ab9e['IHAhY'](getFailureType,_0x5a6866[_0x379eec(0x144)][_0x379eec(0xce)]);const _0x380659={};_0x380659[_0x379eec(0xf8)]=_0x5070c8['uuid'];const {failureData:_0x2df637,logs:_0x5567ff}=_0x32ab9e['iOpFO'](getFailureData,_0x5a6866[_0x379eec(0x108)],_0x380659);if(_0x2df637&&_0x32ab9e['yKNzD'](_0x2df637[_0x379eec(0x161)],0x0)){const _0x554ec8={};_0x554ec8[_0x379eec(0x15e)]=[_0x276247[_0x379eec(0xd2)]],_0x554ec8[_0x379eec(0x156)]=[],_0x2df637[_0x379eec(0xcc)](_0x554ec8);}_0x276247[_0x379eec(0x158)]=_0x2df637,_0x5567ff&&_0x32ab9e['ojWqn'](_0x5567ff['length'],0x0)&&await MyReporter[_0x379eec(0x180)](_0x5567ff);}}let _0x465b12=_0x32ab9e['iOpFO'](findNestedKey,_0x5a6866,_0x32ab9e[_0x379eec(0x101)]);if(_0x465b12&&_0x32ab9e[_0x379eec(0x155)](validateFilePath,_0x465b12))_0x32ab9e[_0x379eec(0x18a)](debug,_0x379eec(0xb3)+_0x5070c8[_0x379eec(0x18c)]+'\x20at\x20'+_0x465b12);else{const _0x2fa195=path[_0x379eec(0x18e)](helper['homedir'](),_0x32ab9e[_0x379eec(0x117)]);!fs[_0x379eec(0x14d)](_0x2fa195)&&fs[_0x379eec(0x11d)](_0x2fa195),fs[_0x379eec(0x14d)](path[_0x379eec(0x18e)](_0x2fa195,'trace_'+_0x5070c8[_0x379eec(0x18c)]+_0x379eec(0x15d)))&&(_0x465b12=fs[_0x379eec(0x115)](path[_0x379eec(0x18e)](_0x2fa195,_0x379eec(0x17f)+_0x5070c8[_0x379eec(0x18c)]+_0x379eec(0x15d)),_0x32ab9e['pUtRt']),_0x32ab9e[_0x379eec(0x18f)](debug,_0x379eec(0xb3)+_0x5070c8['uuid']+_0x379eec(0x98)+_0x465b12));}const _0x45371f={};_0x45371f[_0x379eec(0xb7)]=_0x4b9b29,_0x45371f[_0x379eec(0xcf)]=_0x276247;const _0x52766d=_0x45371f;_0x465b12&&_0x32ab9e[_0x379eec(0xd4)](_0x465b12,'')&&_0x32ab9e[_0x379eec(0x9c)](_0x4b9b29,_0x32ab9e[_0x379eec(0x13f)])&&(!_0x52766d[_0x379eec(0x163)]&&(_0x52766d[_0x379eec(0x163)]=[]),_0x465b12['split']('\x0a')[_0x379eec(0xa6)](_0xea36f3=>{const _0x1fadfb=_0x379eec;_0xea36f3&&_0x32ab9e[_0x1fadfb(0x18a)](validateFilePath,_0xea36f3)&&_0x52766d[_0x1fadfb(0x163)][_0x1fadfb(0xcc)]({'kind':_0x32ab9e['ZvGLj'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x5070c8['uuid'],'file_name':path['basename'](_0xea36f3),'file_size':fs[_0x1fadfb(0x16b)](_0xea36f3)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x379eec(0xbe)](_0x52766d);}[a45_0x2fddf8(0xd3)](_0x33167d){const _0x58d69e=a45_0x2fddf8,_0x323fa4={};_0x323fa4[_0x58d69e(0xa7)]=function(_0x2ce395,_0x4e65de){return _0x2ce395===_0x4e65de;},_0x323fa4['rcHKq']=function(_0x1ea197,_0x497bbb){return _0x1ea197>_0x497bbb;},_0x323fa4[_0x58d69e(0x15b)]=function(_0x25faa1,_0x28b3ef){return _0x25faa1+_0x28b3ef;},_0x323fa4['MZMUU']=function(_0x1d047a,_0x35de86){return _0x1d047a+_0x35de86;};const _0x16d0fa=_0x323fa4,_0x342b1c=_0x33167d[_0x58d69e(0x170)]()['map'](_0x55868f=>{const _0x1dcc66=_0x58d69e;if(_0x33167d[_0x1dcc66(0x11e)]&&_0x16d0fa[_0x1dcc66(0xa7)](_0x55868f,_0x33167d['parent'][_0x1dcc66(0x12a)])&&_0x33167d['parent'][_0x1dcc66(0xef)]&&_0x16d0fa['rcHKq'](_0x33167d[_0x1dcc66(0x11e)]['_tags'][_0x1dcc66(0x161)],0x0))return _0x16d0fa['BCmXM'](_0x16d0fa['MZMUU'](_0x55868f,'\x20'),_0x33167d[_0x1dcc66(0x11e)][_0x1dcc66(0xef)][_0x1dcc66(0x18e)]('\x20'));if(_0x16d0fa[_0x1dcc66(0xa7)](_0x55868f,_0x33167d[_0x1dcc66(0x12a)])&&_0x33167d['_tags']&&_0x16d0fa[_0x1dcc66(0x141)](_0x33167d[_0x1dcc66(0xef)][_0x1dcc66(0x161)],0x0))return _0x16d0fa[_0x1dcc66(0x15b)](_0x16d0fa[_0x1dcc66(0x100)](_0x55868f,'\x20'),_0x33167d['_tags'][_0x1dcc66(0x18e)]('\x20'));return _0x55868f;})['join']('\x20');return _0x342b1c;}static async['sendSessionDetails'](_0x51c725,_0x5dd712){const _0x79ef98=a45_0x2fddf8,_0xe81254={'GBMqc':function(_0x2377f7,_0x2cd8df){return _0x2377f7(_0x2cd8df);},'qjZbO':'CBTSessionCreated'},_0x124be1={'uuid':TestDetails[_0x79ef98(0x12f)](_0x51c725),'integrations':_0x5dd712},_0xeddcc0={};_0xeddcc0['depth']=null,_0xe81254[_0x79ef98(0x160)](debug,'Sending\x20session\x20details\x20for\x20'+_0x51c725+',\x20'+util[_0x79ef98(0xc6)](_0x5dd712,_0xeddcc0));const _0x1d10ed={};_0x1d10ed['event_type']=_0xe81254[_0x79ef98(0xb1)],_0x1d10ed[_0x79ef98(0xcf)]=_0x124be1,await SessionHandler['uploadEventData'](_0x1d10ed);}async[a45_0x2fddf8(0xc7)](){const _0x191fcd=a45_0x2fddf8,_0x490666={'gvBSz':function(_0x3342ad){return _0x3342ad();}};if(this['_gitConfigured'])return;const _0x7c30a3=await _0x490666[_0x191fcd(0x165)](getGitMetaData);_0x7c30a3&&(this[_0x191fcd(0x190)]=_0x7c30a3[_0x191fcd(0xcb)]),this[_0x191fcd(0xb5)]=!![];}[a45_0x2fddf8(0x191)](_0x443d74){const _0x409e1a=a45_0x2fddf8,_0x453bd8={};_0x453bd8['NbJMC']=function(_0x2e7113,_0x399637){return _0x2e7113!==_0x399637;};const _0x3f3976=_0x453bd8,_0x4bc645=[];if(_0x443d74&&_0x443d74[_0x409e1a(0x11e)]){let _0x48adaf=_0x443d74['parent'];while(_0x48adaf&&_0x3f3976[_0x409e1a(0x94)](_0x48adaf[_0x409e1a(0x12a)],'')){_0x4bc645[_0x409e1a(0xcc)](_0x48adaf['title']),_0x48adaf=_0x48adaf[_0x409e1a(0x11e)];}}return _0x4bc645[_0x409e1a(0xa3)]()[_0x409e1a(0xf9)](0x0,0x2),_0x4bc645;}[a45_0x2fddf8(0xa2)](_0x3e5275){const _0xaf5c56=a45_0x2fddf8,_0x7b8fc9={};_0x7b8fc9[_0xaf5c56(0x12c)]=function(_0x4285d3,_0x2b5c74){return _0x4285d3!==_0x2b5c74;},_0x7b8fc9[_0xaf5c56(0x179)]=_0xaf5c56(0xfe),_0x7b8fc9[_0xaf5c56(0x177)]=function(_0x530983,_0x4181a6){return _0x530983===_0x4181a6;},_0x7b8fc9[_0xaf5c56(0x10e)]=_0xaf5c56(0x107),_0x7b8fc9[_0xaf5c56(0x143)]=_0xaf5c56(0xdd),_0x7b8fc9[_0xaf5c56(0xa8)]=_0xaf5c56(0x12b),_0x7b8fc9['iWEXA']='afterEach\x20hook';const _0x19c17c=_0x7b8fc9;if(_0x19c17c[_0xaf5c56(0x12c)](_0x3e5275[_0xaf5c56(0x136)],_0x19c17c[_0xaf5c56(0x179)]))return![];if(_0x19c17c['whTMm']([_0x19c17c[_0xaf5c56(0x10e)],_0x19c17c['SnWHu'],_0x19c17c['IphDm'],_0x19c17c[_0xaf5c56(0xb9)]]['indexOf'](_0x3e5275['title']),-0x1))return![];return!![];}[a45_0x2fddf8(0xf6)](_0x4ebc0b,_0x2251c0){const _0x4605e4=a45_0x2fddf8,_0x18437c={'cQqav':function(_0x28c652,_0x31b273){return _0x28c652(_0x31b273);}},_0x2a7558=_0x2251c0[_0x4605e4(0xc1)];if(_0x2a7558)return _0x2a7558;return _0x2251c0[_0x4605e4(0x12a)]+'\x20for\x20'+_0x18437c[_0x4605e4(0x16d)](getTestIdentifier,_0x4ebc0b);}[a45_0x2fddf8(0xa4)](_0x76f5e7,_0x38844b){const _0x48e453=a45_0x2fddf8,_0x4d3ad5={'jPyer':function(_0x16927d,_0x41e3b3){return _0x16927d(_0x41e3b3);},'QNsdM':function(_0x23e561){return _0x23e561();}};let _0x1c4912=_0x38844b[_0x48e453(0x12a)]+'\x20for\x20'+_0x4d3ad5[_0x48e453(0xcd)](getTestIdentifier,_0x76f5e7);return this[_0x48e453(0x195)][_0x1c4912]&&(_0x1c4912=_0x1c4912+_0x48e453(0xbf)+_0x4d3ad5['QNsdM'](uuidv4)),_0x38844b[_0x48e453(0xc1)]=_0x1c4912,_0x1c4912;}[a45_0x2fddf8(0x186)]=_0x4d1518=>{const _0x47fc16=a45_0x2fddf8,_0x5b9da9={};_0x5b9da9[_0x47fc16(0xff)]=_0x47fc16(0x107),_0x5b9da9['vuMNi']='BEFORE_EACH',_0x5b9da9[_0x47fc16(0xd1)]=_0x47fc16(0xdd),_0x5b9da9[_0x47fc16(0x189)]=_0x47fc16(0x13a),_0x5b9da9['YRgHN']='afterEach\x20hook',_0x5b9da9[_0x47fc16(0x14e)]=_0x47fc16(0x149),_0x5b9da9[_0x47fc16(0xba)]=_0x47fc16(0x12b),_0x5b9da9['isbiS']=_0x47fc16(0x185),_0x5b9da9[_0x47fc16(0xca)]=_0x47fc16(0xac);const _0x3122b2=_0x5b9da9;if(_0x4d1518[_0x47fc16(0x182)](_0x3122b2['DGiuT']))return _0x3122b2[_0x47fc16(0x153)];else{if(_0x4d1518[_0x47fc16(0x182)](_0x3122b2[_0x47fc16(0xd1)]))return _0x3122b2[_0x47fc16(0x189)];else{if(_0x4d1518[_0x47fc16(0x182)](_0x3122b2[_0x47fc16(0xbd)]))return _0x3122b2['NHzDI'];else{if(_0x4d1518[_0x47fc16(0x182)](_0x3122b2[_0x47fc16(0xba)]))return _0x3122b2['isbiS'];}}}return _0x3122b2[_0x47fc16(0xca)];};[a45_0x2fddf8(0x146)]=_0x47cfe9=>{const _0x222e68=a45_0x2fddf8,_0x4d991d={};_0x4d991d[_0x222e68(0xc0)]=function(_0x5d8936,_0x149bb1){return _0x5d8936===_0x149bb1;},_0x4d991d['bohgh']=_0x222e68(0x14c);const _0x3fabb0=_0x4d991d;let _0x128216=_0x47cfe9['parent'];return _0x3fabb0['scQtj'](typeof _0x47cfe9[_0x222e68(0x11e)],_0x3fabb0[_0x222e68(0x171)])&&(_0x128216=_0x128216[_0x222e68(0x12a)]),_0x128216+_0x222e68(0xbf)+_0x47cfe9[_0x222e68(0x12a)];};[a45_0x2fddf8(0x148)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a45_0x2fddf8(0x109),a45_0x2fddf8(0x175),a45_0x2fddf8(0x127),a45_0x2fddf8(0xd5),a45_0x2fddf8(0x123),a45_0x2fddf8(0x134),'sendSessionDetails'],a45_0x2fddf8(0xc2));
|
|
1
|
+
const a45_0x16cbc6=a45_0x5982;(function(_0x4a2ea0,_0x318d62){const _0xdd8af0=a45_0x5982,_0x2e074f=_0x4a2ea0();while(!![]){try{const _0x25243c=-parseInt(_0xdd8af0(0xc0))/0x1*(-parseInt(_0xdd8af0(0x195))/0x2)+-parseInt(_0xdd8af0(0x150))/0x3*(parseInt(_0xdd8af0(0x12c))/0x4)+parseInt(_0xdd8af0(0xc7))/0x5+-parseInt(_0xdd8af0(0x143))/0x6+-parseInt(_0xdd8af0(0x180))/0x7+-parseInt(_0xdd8af0(0x13a))/0x8*(parseInt(_0xdd8af0(0xc5))/0x9)+parseInt(_0xdd8af0(0xe3))/0xa;if(_0x25243c===_0x318d62)break;else _0x2e074f['push'](_0x2e074f['shift']());}catch(_0x27f816){_0x2e074f['push'](_0x2e074f['shift']());}}}(a45_0x5808,0x919e9));function a45_0x5982(_0x41560b,_0x2723dd){const _0x580840=a45_0x5808();return a45_0x5982=function(_0x5982ae,_0x3bcff6){_0x5982ae=_0x5982ae-0x9c;let _0x329a88=_0x580840[_0x5982ae];return _0x329a88;},a45_0x5982(_0x41560b,_0x2723dd);}const RequestQueueHandler=require(a45_0x16cbc6(0x19d)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x16cbc6(0x10f)),{v4:uuidv4}=require(a45_0x16cbc6(0xcf)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x16cbc6(0x117)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x16cbc6(0x176)),fs=require('fs'),util=require(a45_0x16cbc6(0xaf)),{o11yClassErrorHandler}=require(a45_0x16cbc6(0x196)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x16cbc6(0x145)),helper=require(a45_0x16cbc6(0x190)),BrowserstackCLI=require(a45_0x16cbc6(0x15f)),TestFrameworkState=require(a45_0x16cbc6(0x133)),HookState=require(a45_0x16cbc6(0xb4)),TestInfo=require(a45_0x16cbc6(0x13f)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x16cbc6(0xfb));function a45_0x5808(){const _0x2bcf1f=['duration','JAnnT','xvcjN','EClps','BWEbJ','sendTestRunEvent','../../../../src/bin/utils/constants','rxTdT','dzYzP','HookRunStarted','INIT_TEST','performance-report-reporter.json','expanded','TEST','failure_reason','jAQbU','YzdZZ','PUTpP','afterEach\x20hook','HnTfY','Trace\x20file\x20found\x20for\x20test:\x20','event_type','Cmdnu','BrqIn','trackEvent','readFileSync','./pwUtils','TestRunFinished','OOiWZ','RcdeH','mtime','_testHooksMap','exports','getScope','../../../helpers/test-observability/utils','root','DPjEY','RfCTh','tYuQo','title','afterAll\x20hook','cwd','pUGrJ','AFTER_ALL','getHookType','atUAO','parent','Grbqs','IBRzm','sendHookRunEvent','mTyyu','javascript','qDOzu','wlVMK','YWeiS','1756fPeIvh','hExwc','path','addTestUIDAndReportLog','location','grWSw','Error\x20in\x20sending\x20trace\x20zip:\x20%s','../../v2/state/testFrameworkState','\x20is\x20triggered','ZVPNa','printsToStdio','JBUns','homedir','\x20at\x20','1711032FyEwAr','push','skipped','DiVUF','getHierarchy','../../v2/TestInfo','zCJri','SjBtg','shutdown','1538466wSFzTq','test','../../../helpers/testhub/utils','Eitur','aLNwS','KEOoX','WCFJm','JhEeP','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','SfXDi','length','aDvUN','After\x20Hooks','87kioxVG','onTestBegin','YZQaj','error','test_run_uuid','errors','tLcgF','message','base64','XoreH','sZYuC','startsWith','logs','startTime','isRunning','../../v2/browserstackCLI','\x20for\x20','ojtiC','yCgHj','uQPSE','status','_tags','POST','cfWUp','wHyma','KIYcD','bCFPp','odwRC','_gitConfigPath','eKMdv','pending','AFTER_EACH','failure','trace_','format','TEST_ATTACHMENT','titlePath','err','./test-details','failure_type','VkJKv','ltGuL','needToReportStep','fcHcN','retry_of','wBNdL','PMNxl','env','692951wSWDBJ','Hook\x20Started\x20with\x20unique\x20id\x20','getStepIdentifier','attachments','Sending\x20session\x20details\x20for\x20','configureGit','Before\x20Hooks','TvLBS','cdtpo','KmWuR','evsJq','TltsW','expectedStatus','\x20-\x20','oElhK','getTestUUID','../../../helpers/helper','getTime','Playwright','uploadEventData','screenshot','18066WbFgwc','../../../helpers/test-observability/error-handler','BROWSERSTACK_LOG_LEVEL','oGLak','FVFIq','onBegin','umSDp','.browserstack','../../../helpers/test-observability/requestQueueHandler','Test\x20Finished\x20with\x20unique\x20id\x20','BEFORE_ALL','QuEsZ','TEST_SCREENSHOT','Uexkt','pkYFs','setup','PRE','PLAYWRIGHT','ToyMz','UnEzZ','step','getStepsAndLogs','join','onTestEnd','toISOString','split','BEFORE_EACH','aRFUc','WcZHp','startedAt','YNmBM','mauJp','zkyIS','zacLh','uVgic','zUGVC','meta','object','file','util','hcRRv','toString','mOaMQ','existsSync','../../v2/state/hookState','reportLogs','result','hooks','hook_run_uuid','failed','2|7|6|5|0|4|1|3','ubBKr','HookRunFinished','fBSoG','\x20is\x20triggered\x20for\x20test\x20','wonpR','43AtKIzz','Error\x20in\x20calculating\x20performance:\x20','relative','fCFdf','.txt','36FpSjza','beforeEach\x20hook','5121485IuMmYJ','startMonitoring','anFiX','steps','_bs_hookIdentifier','TEST_STEP','onStepBegin','xWhoH','uuid','mkdirSync','size','hook','_gitConfigured','enxXW','onStepEnd','_trackedEvents','START_TIME','NdOuo','Expected\x20to\x20fail,\x20but\x20passed.','_tests','MyReporter','statSync','Test\x20Started\x20with\x20unique\x20id\x20','getCustomRerunParam','pbdpl','endSession','LgxPd','CMHHT','4073920HuyEiN','retry','depth','RQpAF','filter','backtrace','passed','reverse','finishedAt','forEach','bByAf','getInstance','getTestFramework','MKQyf','mVhZY','map','category','setStepIdentifier'];a45_0x5808=function(){return _0x2bcf1f;};return a45_0x5808();}class MyReporter{constructor(_0x59b1c9){const _0x5a7f94=a45_0x16cbc6,_0x33a795={'fBSoG':_0x5a7f94(0xba),'jEyTr':function(_0x5dc4f1,_0xf5abf0,_0x3c9bd8,_0x3b71d5){return _0x5dc4f1(_0xf5abf0,_0x3c9bd8,_0x3b71d5);},'pkYFs':_0x5a7f94(0x100)},_0x575e5c=_0x33a795[_0x5a7f94(0xbd)]['split']('|');let _0x1f295e=0x0;while(!![]){switch(_0x575e5c[_0x1f295e++]){case'0':this['options']=_0x59b1c9;continue;case'1':this[_0x5a7f94(0x16c)]=null;continue;case'2':const _0xf0544e={};_0xf0544e['logLevel']=process[_0x5a7f94(0x17f)][_0x5a7f94(0x197)],_0x33a795['jEyTr'](setLogLevel,_0xf0544e,new Map(),new Map());continue;case'3':this[_0x5a7f94(0xd6)]=[];continue;case'4':this[_0x5a7f94(0xd3)]=![];continue;case'5':this[_0x5a7f94(0x114)]={};continue;case'6':this[_0x5a7f94(0xda)]={};continue;case'7':process[_0x5a7f94(0x17f)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5a7f94(0xc8)](_0x33a795[_0x5a7f94(0x1a3)]),process['env'][_0x5a7f94(0xd7)]=new Date()[_0x5a7f94(0xa0)]());continue;}break;}}async['onBegin'](){const _0xefd8d1=a45_0x16cbc6,_0xf196d4={};_0xf196d4[_0xefd8d1(0xbb)]=_0xefd8d1(0x192);const _0x1d0e0c=_0xf196d4;TestDetails[_0xefd8d1(0x1a4)](),await this[_0xefd8d1(0x185)](),TestInfo[_0xefd8d1(0x1a4)](_0x1d0e0c[_0xefd8d1(0xbb)]);if(BrowserstackCLI['getInstance']()[_0xefd8d1(0x15e)]()){await BrowserstackCLI[_0xefd8d1(0xee)]()[_0xefd8d1(0xef)]()[_0xefd8d1(0x10d)](TestFrameworkState[_0xefd8d1(0xff)],HookState[_0xefd8d1(0x1a5)],{});return;}}async[a45_0x16cbc6(0x151)](_0x4c5301,_0x3afa3a){const _0x469a42=a45_0x16cbc6,_0xd125cc={'ToyMz':function(_0x3d82fa,_0x436157){return _0x3d82fa(_0x436157);},'AbppM':function(_0x3d81c8,_0x542fd9,_0x2b3725){return _0x3d81c8(_0x542fd9,_0x2b3725);},'VkJKv':function(_0x363585,_0x23f5ef){return _0x363585(_0x23f5ef);},'aemyr':'TestRunStarted'};if(BrowserstackCLI[_0x469a42(0xee)]()[_0x469a42(0x15e)]()){const _0x4d9654={};_0x4d9654['test']=_0x4c5301,_0x4d9654[_0x469a42(0xb6)]=_0x3afa3a,await BrowserstackCLI['getInstance']()[_0x469a42(0xef)]()[_0x469a42(0x10d)](TestFrameworkState[_0x469a42(0x102)],HookState['PRE'],_0x4d9654);return;}const _0x1c65c3=_0xd125cc[_0x469a42(0x1a7)](getTestIdentifier,_0x4c5301),_0x14e97c=TestDetails[_0x469a42(0x18f)](_0xd125cc['AbppM'](getTestRunIdentifier,_0x4c5301,_0x3afa3a[_0x469a42(0xe4)]));process[_0x469a42(0x17f)]['BROWSERSTACK_TEST_RUN_ID']=_0x14e97c;const _0x15f09d={};_0x15f09d[_0x469a42(0xcf)]=_0x14e97c,_0x15f09d[_0x469a42(0xa5)]=_0x3afa3a[_0x469a42(0x15d)],this[_0x469a42(0xda)][_0x1c65c3]=_0x15f09d,_0xd125cc[_0x469a42(0x178)](trace,_0x469a42(0xdd)+_0x1c65c3),await this[_0x469a42(0xfa)](_0x4c5301,_0xd125cc['aemyr'],_0x3afa3a);}async[a45_0x16cbc6(0xcd)](_0x3630f9,_0x45bfec,_0x33fd49){const _0x54ec32=a45_0x16cbc6,_0x3f0ed2={'RQpAF':function(_0x495a23,_0x1ce61d,_0x1597c0){return _0x495a23(_0x1ce61d,_0x1597c0);},'FVFIq':function(_0x323ab1,_0x8f637d){return _0x323ab1(_0x8f637d);},'QVklW':_0x54ec32(0xfe)};if(!this[_0x54ec32(0x17a)](_0x33fd49,_0x3630f9))return;if(BrowserstackCLI[_0x54ec32(0xee)]()[_0x54ec32(0x15e)]()){const _0x47ffdf=this[_0x54ec32(0x121)](_0x33fd49[_0x54ec32(0x11c)]),_0x114f84=TestFrameworkState[_0x47ffdf],_0x418a65={};_0x418a65[_0x54ec32(0x144)]=_0x3630f9,_0x418a65[_0x54ec32(0xb6)]=_0x45bfec,_0x418a65['step']=_0x33fd49,await BrowserstackCLI[_0x54ec32(0xee)]()['getTestFramework']()[_0x54ec32(0x10d)](_0x114f84,HookState[_0x54ec32(0x1a5)],_0x418a65);return;}const _0x1c536f=this[_0x54ec32(0xf4)](_0x3630f9,_0x33fd49);this[_0x54ec32(0xda)][_0x1c536f]={'uuid':TestDetails[_0x54ec32(0x18f)](_0x1c536f),'startedAt':_0x33fd49[_0x54ec32(0x15d)]['toISOString']()};const _0x1d18dc=_0x3f0ed2[_0x54ec32(0xe6)](getTestRunIdentifier,_0x3630f9,_0x45bfec['retry']);!this[_0x54ec32(0x114)][_0x1d18dc]&&(this[_0x54ec32(0x114)][_0x1d18dc]=[]),this['_testHooksMap'][_0x1d18dc][_0x54ec32(0x13b)](this[_0x54ec32(0xda)][_0x1c536f][_0x54ec32(0xcf)]),_0x3f0ed2[_0x54ec32(0x199)](trace,_0x54ec32(0x181)+_0x1c536f+_0x54ec32(0xbe)+_0x1d18dc),await this[_0x54ec32(0x126)](_0x3630f9,_0x33fd49,_0x3f0ed2['QVklW'],_0x45bfec);}async[a45_0x16cbc6(0xd5)](_0x335612,_0x5ccf3f,_0x4a7f6d){const _0xd9f79e=a45_0x16cbc6,_0x524316={'bCFPp':function(_0x5d2f9e,_0x3a82c4){return _0x5d2f9e+_0x3a82c4;},'fCFdf':function(_0x47bcc1,_0x312a1b){return _0x47bcc1(_0x312a1b);},'dzYzP':'HookRunFinished'};if(!this[_0xd9f79e(0x17a)](_0x4a7f6d,_0x335612))return;if(BrowserstackCLI['getInstance']()[_0xd9f79e(0x15e)]()){const _0x35f92b=this['getHookType'](_0x4a7f6d[_0xd9f79e(0x11c)]),_0x2dd55d=TestFrameworkState[_0x35f92b],_0x359e92={};_0x359e92['test']=_0x335612,_0x359e92['result']=_0x5ccf3f,_0x359e92[_0xd9f79e(0x9c)]=_0x4a7f6d,await BrowserstackCLI[_0xd9f79e(0xee)]()[_0xd9f79e(0xef)]()['trackEvent'](_0x2dd55d,HookState[_0xd9f79e(0x166)],_0x359e92);return;}const _0x23760a=this[_0xd9f79e(0x182)](_0x335612,_0x4a7f6d);this[_0xd9f79e(0xda)][_0x23760a]={...this[_0xd9f79e(0xda)][_0x23760a]||{},'finishedAt':new Date(_0x524316[_0xd9f79e(0x16a)](_0x4a7f6d[_0xd9f79e(0x15d)][_0xd9f79e(0x191)](),_0x4a7f6d['duration']))},_0x524316[_0xd9f79e(0xc3)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x23760a+_0xd9f79e(0x134)),await this['sendHookRunEvent'](_0x335612,_0x4a7f6d,_0x524316[_0xd9f79e(0xfd)],_0x5ccf3f);}async[a45_0x16cbc6(0x9f)](_0x3b85d6,_0x4f0947){const _0x484439=a45_0x16cbc6,_0x3943a4={'zCJri':function(_0x15ca5b,_0x575676){return _0x15ca5b===_0x575676;},'mTyyu':_0x484439(0x194),'NdOuo':_0x484439(0x1a1),'zkyIS':_0x484439(0x158),'wBNdL':function(_0x1d1112,_0x288c01){return _0x1d1112(_0x288c01);},'JBUns':function(_0x9c19e1,_0xa5d3d3,_0xbd945a){return _0x9c19e1(_0xa5d3d3,_0xbd945a);},'uQPSE':'TestRunFinished','rxTdT':_0x484439(0x14b),'enxXW':function(_0x5a1c09,_0x5e8c3a){return _0x5a1c09(_0x5e8c3a);},'WThqV':_0x484439(0x132),'KmWuR':function(_0x12e617,_0x8b0169){return _0x12e617>_0x8b0169;}};if(BrowserstackCLI[_0x484439(0xee)]()[_0x484439(0x15e)]()){const _0x456e2d={};_0x456e2d['test']=_0x3b85d6,_0x456e2d[_0x484439(0xb6)]=_0x4f0947,this[_0x484439(0xd6)][_0x484439(0x13b)](BrowserstackCLI[_0x484439(0xee)]()[_0x484439(0xef)]()[_0x484439(0x10d)](TestFrameworkState[_0x484439(0x102)],HookState[_0x484439(0x166)],_0x456e2d));return;}const _0x11907b=_0x3943a4[_0x484439(0x17d)](getTestIdentifier,_0x3b85d6),_0x5985be=TestDetails[_0x484439(0x18f)](_0x3943a4['JBUns'](getTestRunIdentifier,_0x3b85d6,_0x4f0947[_0x484439(0xe4)]));this[_0x484439(0xda)][_0x11907b]={...this['_tests'][_0x11907b]||{},'finishedAt':new Date()['toISOString']()},_0x3943a4[_0x484439(0x17d)](debug,_0x484439(0x19e)+_0x11907b);try{await this[_0x484439(0xfa)](_0x3b85d6,_0x3943a4[_0x484439(0x163)],_0x4f0947);}catch(_0x32828c){_0x3943a4[_0x484439(0x17d)](debug,util['format'](_0x3943a4[_0x484439(0xfc)],_0x32828c[_0x484439(0xb1)]()));}try{_0x3943a4[_0x484439(0xd4)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x5985be),await _0x3943a4[_0x484439(0x137)](sendTraceZip,_0x4f0947,_0x5985be);}catch(_0x55a4fe){_0x3943a4['wBNdL'](debug,util[_0x484439(0x172)](_0x3943a4['WThqV'],_0x55a4fe[_0x484439(0xb1)]()));}const _0x57cc24=[];_0x4f0947[_0x484439(0x183)]&&_0x4f0947[_0x484439(0x183)]['map'](_0x2a04e2=>{const _0x18056a=_0x484439;if(_0x3943a4[_0x18056a(0x140)](_0x2a04e2['name'],_0x3943a4[_0x18056a(0x127)])){if(!_0x2a04e2[_0x18056a(0x12e)]||!fs[_0x18056a(0xb3)](_0x2a04e2[_0x18056a(0x12e)]))return;_0x57cc24['push']({'test_run_uuid':_0x5985be,'timestamp':fs[_0x18056a(0xdc)](_0x2a04e2['path'])[_0x18056a(0x113)],'kind':_0x3943a4[_0x18056a(0xd8)],'message':fs[_0x18056a(0x10e)](_0x2a04e2[_0x18056a(0x12e)],{'encoding':_0x3943a4[_0x18056a(0xa8)]})});}}),_0x3943a4[_0x484439(0x189)](_0x57cc24[_0x484439(0x14d)],0x0)&&await MyReporter[_0x484439(0xb5)](_0x57cc24);}async[a45_0x16cbc6(0xe0)](){const _0x4b37b8=a45_0x16cbc6;await RequestQueueHandler[_0x4b37b8(0xee)]()[_0x4b37b8(0x142)]();}async['onEnd'](_0x2b3695){const _0x88aec8=a45_0x16cbc6,_0x404178={'hExwc':function(_0x355679){return _0x355679();},'LgxPd':function(_0x5bc5b9,_0x3169ff){return _0x5bc5b9(_0x3169ff);}};await Promise['all'](this[_0x88aec8(0xd6)]),await this['endSession']();try{process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x404178[_0x88aec8(0x12d)](calculatePerformance);}catch(_0x4f61e0){_0x404178[_0x88aec8(0xe1)](debug,_0x88aec8(0xc1)+_0x4f61e0['toString']());}}static async[a45_0x16cbc6(0x12f)](_0x4e4318,_0x5c50a3){const _0x96c598=a45_0x16cbc6;_0x5c50a3[_0x96c598(0x154)]=TestDetails[_0x96c598(0x18f)](_0x4e4318),await this[_0x96c598(0xb5)]([_0x5c50a3]);}static async[a45_0x16cbc6(0xb5)](_0x1278b7){const _0xd96c3f=a45_0x16cbc6,_0x432363={};_0x432363['PuXJM']='LogCreated';const _0xdfff24=_0x432363;if(BrowserstackCLI['getInstance']()[_0xd96c3f(0x15e)]())return;const _0x275063={};_0x275063[_0xd96c3f(0x10a)]=_0xdfff24['PuXJM'],_0x275063[_0xd96c3f(0x15c)]=_0x1278b7,await SessionHandler['uploadEventData'](_0x275063);}async[a45_0x16cbc6(0x126)](_0x13fd1b,_0x31bcd2,_0x2c9390,_0x4f5ebd){const _0x31ea60=a45_0x16cbc6,_0x226823={'evsJq':_0x31ea60(0xd2),'TltsW':_0x31ea60(0x128),'OOiWZ':_0x31ea60(0x16e),'xLbdX':function(_0x20eb68,_0x594a02){return _0x20eb68>=_0x594a02;},'umSDp':function(_0x5e1d66,_0x5bd205){return _0x5e1d66===_0x5bd205;},'UMIDj':_0x31ea60(0xbc),'tLcgF':function(_0x1bb9ec,_0x52d638){return _0x1bb9ec>_0x52d638;},'yCgHj':_0x31ea60(0xb9),'uVgic':function(_0x23676a,_0x42dab8){return _0x23676a(_0x42dab8);},'bByAf':function(_0x57ae13,_0x5266e0,_0x2b6deb){return _0x57ae13(_0x5266e0,_0x2b6deb);},'VsOdg':_0x31ea60(0x175),'pUGrJ':_0x31ea60(0xe9)},_0x57b041=this[_0x31ea60(0x182)](_0x13fd1b,_0x31bcd2),_0x2453a3=this[_0x31ea60(0xda)][_0x57b041],_0x2044ac={'uuid':_0x2453a3['uuid'],'type':_0x226823['evsJq'],'hook_type':this[_0x31ea60(0x121)](_0x31bcd2[_0x31ea60(0x11c)]),'name':_0x31bcd2[_0x31ea60(0x11c)],'scope':this[_0x31ea60(0x116)](_0x31bcd2),'scopes':this[_0x31ea60(0x13e)](_0x13fd1b),'body':{'lang':_0x226823[_0x31ea60(0x18b)],'code':null},'identifier':_0x57b041,'file_name':path['relative'](process[_0x31ea60(0x11e)](),_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]),'location':path['relative'](process['cwd'](),_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]),'result':_0x226823[_0x31ea60(0x111)],'duration_in_ms':_0x226823['xLbdX'](_0x31bcd2[_0x31ea60(0xf5)],0x0)?_0x31bcd2[_0x31ea60(0xf5)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x13fd1b['location'][_0x31ea60(0xae)]?path['relative'](this[_0x31ea60(0x16c)],_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]):undefined,'started_at':_0x2453a3[_0x31ea60(0xa5)],'finished_at':_0x2453a3[_0x31ea60(0xeb)],'framework':FRAMEWORKS[_0x31ea60(0x1a6)]};if(_0x226823['umSDp'](_0x2c9390,_0x226823['UMIDj'])){const {steps:_0x39cdf2,logs:_0x307be9}=this[_0x31ea60(0x9d)](_0x31bcd2[_0x31ea60(0xca)],_0x2453a3[_0x31ea60(0xcf)],_0x226823[_0x31ea60(0x18a)]);_0x307be9&&_0x226823[_0x31ea60(0x156)](_0x307be9['length'],0x0)&&await MyReporter['reportLogs'](_0x307be9);const _0x1c84e4={};_0x1c84e4[_0x31ea60(0xca)]=_0x39cdf2,_0x2044ac[_0x31ea60(0xac)]=_0x1c84e4;if(_0x31bcd2[_0x31ea60(0x153)]){_0x2044ac['result']=_0x226823[_0x31ea60(0x162)],_0x2044ac['failure_reason']=_0x226823[_0x31ea60(0xaa)](removeAnsiColors,_0x31bcd2[_0x31ea60(0x153)][_0x31ea60(0x157)]),_0x2044ac['failure_type']=_0x226823[_0x31ea60(0xaa)](getFailureType,_0x31bcd2[_0x31ea60(0x153)]['message']);const _0x3963a5=_0x226823[_0x31ea60(0xed)](failureData,_0x31bcd2['error'],_0x226823['VsOdg']);if(_0x3963a5&&_0x226823[_0x31ea60(0x19b)](_0x3963a5[_0x31ea60(0x14d)],0x0)){const _0x5519a0={};_0x5519a0[_0x31ea60(0xe8)]=[_0x2044ac[_0x31ea60(0x103)]],_0x5519a0[_0x31ea60(0x101)]=[],_0x3963a5[_0x31ea60(0x13b)](_0x5519a0);}_0x2044ac[_0x31ea60(0x170)]=_0x3963a5;}else _0x2044ac[_0x31ea60(0xb6)]=_0x226823[_0x31ea60(0x11f)];}const _0x1279e9={};_0x1279e9[_0x31ea60(0x10a)]=_0x2c9390,_0x1279e9['hook_run']=_0x2044ac;const _0x141c43=_0x1279e9;await SessionHandler[_0x31ea60(0x193)](_0x141c43);}['getStepsAndLogs'](_0x2cb417,_0x11d21c,_0x1eb61c){const _0x4733c3=a45_0x16cbc6,_0x43807a={'UnEzZ':function(_0x13940d,_0x146d70){return _0x13940d===_0x146d70;},'MWzis':'hook','YNmBM':function(_0x2775ae,_0x422944){return _0x2775ae===_0x422944;},'PMNxl':_0x4733c3(0x14f),'xpDrn':_0x4733c3(0x186),'jAQbU':function(_0x5d3d6c,_0x44ef45){return _0x5d3d6c===_0x44ef45;},'YhljZ':_0x4733c3(0x144),'zacLh':'test_run_uuid','cdtpo':_0x4733c3(0xb8),'BWEbJ':_0x4733c3(0xcc),'pCjFA':_0x4733c3(0xb9),'tYuQo':'passed','CfbZC':function(_0xb0a837,_0x2089aa){return _0xb0a837(_0x2089aa);},'qDOzu':function(_0x270ee9,_0x2c15fd){return _0x270ee9(_0x2c15fd);},'TRmjB':function(_0x3cb8e1){return _0x3cb8e1();},'KIYcD':function(_0x27b6bc,_0x5c70e9){return _0x27b6bc(_0x5c70e9);},'VWSVp':function(_0x22f507,_0x13750d){return _0x22f507(_0x13750d);},'zUGVC':function(_0x120aa3,_0x2532e6,_0x1da9a5){return _0x120aa3(_0x2532e6,_0x1da9a5);},'xWhoH':function(_0x471587,_0x48403f,_0x95dbf6){return _0x471587(_0x48403f,_0x95dbf6);}},_0x4fbb8c=[],_0x19dc70=[],_0x2b033c=_0x2cb417[_0x4733c3(0xe7)](_0x4fcb5f=>{const _0x3f19c7=_0x4733c3;if(_0x43807a['UnEzZ'](_0x4fcb5f['category'],_0x43807a['MWzis'])&&(_0x43807a[_0x3f19c7(0xa6)](_0x4fcb5f[_0x3f19c7(0x11c)],_0x43807a[_0x3f19c7(0x17e)])||_0x43807a[_0x3f19c7(0x1a8)](_0x4fcb5f[_0x3f19c7(0x11c)],_0x43807a['xpDrn'])))return![];return!![];}),_0xfd280b=(_0x13897f,_0x5bc3f7=![])=>{const _0x3f61c0=_0x4733c3;if(_0x43807a[_0x3f61c0(0xa6)](_0x13897f[_0x3f61c0(0xca)][_0x3f61c0(0x14d)],0x0)){const _0x4ddb2b=_0x43807a[_0x3f61c0(0x104)](_0x1eb61c,_0x43807a['YhljZ'])?_0x43807a[_0x3f61c0(0xa9)]:_0x43807a[_0x3f61c0(0x188)];_0x19dc70[_0x3f61c0(0x13b)]({'kind':_0x43807a[_0x3f61c0(0xf9)],[_0x4ddb2b]:_0x11d21c,'message':_0x13897f[_0x3f61c0(0x11c)],'timestamp':_0x13897f[_0x3f61c0(0x15d)][_0x3f61c0(0xa0)](),'level':_0x13897f['error']?_0x43807a['pCjFA']:_0x43807a[_0x3f61c0(0x11b)],'duration':_0x13897f[_0x3f61c0(0xf5)],'failure':_0x13897f[_0x3f61c0(0x153)]&&_0x13897f[_0x3f61c0(0x153)]['message']&&_0x43807a['CfbZC'](removeAnsiColors,_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)]),'failure_type':_0x43807a[_0x3f61c0(0x129)](getFailureType,_0x13897f[_0x3f61c0(0x153)]&&_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)])});}else{!_0x5bc3f7&&_0x4fbb8c[_0x3f61c0(0x13b)]({'id':_0x43807a['TRmjB'](uuidv4),'text':_0x13897f['title'],'keyword':undefined,'started_at':_0x13897f[_0x3f61c0(0x15d)][_0x3f61c0(0xa0)](),'duration':_0x13897f['duration'],'result':_0x13897f[_0x3f61c0(0x153)]?_0x43807a['pCjFA']:_0x43807a[_0x3f61c0(0x11b)],'failure':_0x13897f[_0x3f61c0(0x153)]&&_0x13897f['error'][_0x3f61c0(0x157)]&&_0x43807a[_0x3f61c0(0x169)](removeAnsiColors,_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)]),'failure_type':_0x43807a['VWSVp'](getFailureType,_0x13897f[_0x3f61c0(0x153)]&&_0x13897f['error'][_0x3f61c0(0x157)])});for(const _0x4ed661 of _0x13897f[_0x3f61c0(0xca)]){_0x43807a[_0x3f61c0(0xab)](_0xfd280b,_0x4ed661,!![]);}}};for(const _0x1dd71d of _0x2b033c){_0x43807a[_0x4733c3(0xce)](_0xfd280b,_0x1dd71d,![]);}const _0x4ce626={};return _0x4ce626[_0x4733c3(0xca)]=_0x4fbb8c,_0x4ce626[_0x4733c3(0x15c)]=_0x19dc70,_0x4ce626;}async[a45_0x16cbc6(0xfa)](_0x5f1627,_0x3f48f0,_0x4409eb){const _0x588159=a45_0x16cbc6,_0x51e16c={'Eitur':function(_0x558ef2,_0x3cbecb){return _0x558ef2(_0x3cbecb);},'Scuqb':_0x588159(0x173),'Grbqs':function(_0x1f3b12,_0x3f2183){return _0x1f3b12(_0x3f2183);},'DiVUF':'test','LAXnc':_0x588159(0x128),'YzdZZ':_0x588159(0x16e),'HgYoW':function(_0x4909bf,_0x272b5b,_0x30738c,_0x323f13,_0x3fbdbc){return _0x4909bf(_0x272b5b,_0x30738c,_0x323f13,_0x3fbdbc);},'qIvSq':function(_0x50fab2,_0x408ebf){return _0x50fab2>_0x408ebf;},'IBRzm':function(_0x38de58,_0x599a7b,_0x559561){return _0x38de58(_0x599a7b,_0x559561);},'XoreH':function(_0x49bb5a,_0x233682){return _0x49bb5a-_0x233682;},'HnTfY':function(_0xd9e499,_0x11c75d){return _0xd9e499===_0x11c75d;},'PUTpP':_0x588159(0x110),'DPjEY':function(_0x3d76d5,_0x14d152){return _0x3d76d5===_0x14d152;},'ojtiC':function(_0x337423,_0x4b0c51){return _0x337423===_0x4b0c51;},'aRFUc':_0x588159(0x13c),'WcZHp':_0x588159(0xe9),'xvcjN':function(_0x16098b,_0xac1eb3){return _0x16098b===_0xac1eb3;},'sZYuC':'failed','KEOoX':function(_0x17e5c8,_0xd6ca8c){return _0x17e5c8===_0xd6ca8c;},'RcdeH':'timedOut','wHyma':_0x588159(0xd9),'RfCTh':function(_0x4cccc5,_0x49f468,_0x23c323){return _0x4cccc5(_0x49f468,_0x23c323);},'YWeiS':function(_0x1952be,_0x2227db,_0x320d1f){return _0x1952be(_0x2227db,_0x320d1f);},'NhqLG':function(_0x547553,_0x20185f){return _0x547553>_0x20185f;},'grWSw':function(_0x441197,_0x407599,_0x4f1743){return _0x441197(_0x407599,_0x4f1743);},'EClps':'path','MKQyf':function(_0x1d1ac8,_0x461249){return _0x1d1ac8(_0x461249);},'fcHcN':function(_0x160ea8,_0x42f854){return _0x160ea8(_0x42f854);},'QuEsZ':_0x588159(0x19c),'ZXaKW':'utf8','Uexkt':function(_0x1da1c7,_0x569a40){return _0x1da1c7!==_0x569a40;}},_0xf88b70=_0x51e16c[_0x588159(0x124)](getTestIdentifier,_0x5f1627),_0xdcf004=this[_0x588159(0x116)](_0x5f1627),_0x4a9e86=this['_tests'][_0xf88b70],_0x47b713=path['relative'](process[_0x588159(0x11e)](),_0x5f1627[_0x588159(0x130)]['file']);await this[_0x588159(0x185)]();const _0x351cf4={'uuid':_0x4a9e86[_0x588159(0xcf)],'type':_0x51e16c['DiVUF'],'name':_0x5f1627[_0x588159(0x11c)],'body':{'lang':_0x51e16c['LAXnc'],'code':_0x5f1627['fn']['toString']()},'scope':_0xdcf004,'scopes':this[_0x588159(0x13e)](_0x5f1627),'identifier':_0xf88b70,'file_name':_0x47b713,'location':_0x47b713,'result':_0x51e16c[_0x588159(0x105)],'duration_in_ms':_0x4409eb&&_0x4409eb[_0x588159(0xf5)]?_0x4409eb['duration']:null,'vc_filepath':this['_gitConfigPath']&&_0x5f1627[_0x588159(0x130)][_0x588159(0xae)]?path[_0x588159(0xc2)](this[_0x588159(0x16c)],_0x5f1627[_0x588159(0x130)]['file']):undefined,'started_at':_0x4a9e86[_0x588159(0xa5)],'finished_at':_0x4a9e86[_0x588159(0xeb)],'framework':FRAMEWORKS[_0x588159(0x1a6)],'customRerunParam':{'rerun_name':this[_0x588159(0xde)](_0x5f1627)},'tags':_0x51e16c['Grbqs'](getTestTags,_0x5f1627)};_0x51e16c['HgYoW'](appendTesthubParams,_0x351cf4,_0x3f48f0,_0x5f1627,FRAMEWORKS[_0x588159(0x1a6)]);_0x4409eb&&_0x51e16c['qIvSq'](_0x4409eb[_0x588159(0xe4)],0x0)&&(_0x351cf4[_0x588159(0x17c)]=TestDetails[_0x588159(0x18f)](_0x51e16c[_0x588159(0x125)](getTestRunIdentifier,_0x5f1627,_0x51e16c[_0x588159(0x159)](_0x4409eb['retry'],0x1))));if(_0x51e16c['HnTfY'](_0x3f48f0,_0x51e16c['PUTpP'])){_0x351cf4[_0x588159(0xb6)]=_0x4409eb['status'];if(_0x51e16c[_0x588159(0x119)](_0x4409eb[_0x588159(0x164)],_0x5f1627[_0x588159(0x18c)]))_0x351cf4[_0x588159(0xb6)]=_0x51e16c[_0x588159(0x161)](_0x4409eb['status'],_0x51e16c[_0x588159(0xa3)])?_0x51e16c[_0x588159(0xa3)]:_0x51e16c[_0x588159(0xa4)];else{(_0x51e16c[_0x588159(0xf7)](_0x351cf4['result'],_0x51e16c[_0x588159(0xa4)])||_0x51e16c[_0x588159(0xf7)](_0x351cf4[_0x588159(0xb6)],_0x51e16c['sZYuC'])||_0x51e16c[_0x588159(0x148)](_0x351cf4[_0x588159(0xb6)],_0x51e16c[_0x588159(0x112)]))&&(_0x351cf4[_0x588159(0xb6)]=_0x51e16c['sZYuC']);if(_0x51e16c['xvcjN'](_0x4409eb[_0x588159(0x164)],_0x51e16c['WcZHp'])&&_0x51e16c[_0x588159(0x148)](_0x5f1627[_0x588159(0x18c)],_0x51e16c[_0x588159(0x15a)])){const _0x406f72={};_0x406f72['message']=_0x51e16c[_0x588159(0x168)],_0x406f72['stack']=_0x51e16c['wHyma'],_0x4409eb['error']=_0x406f72,_0x4409eb[_0x588159(0x155)]=[_0x4409eb['error']];}}const _0x540175=_0x51e16c[_0x588159(0x11a)](getTestRunIdentifier,_0x5f1627,_0x4409eb['retry']);_0x351cf4[_0x588159(0xb7)]=this[_0x588159(0x114)][_0x540175];const {steps:_0x213472,logs:_0x4a08ea}=this[_0x588159(0x9d)](_0x4409eb[_0x588159(0xca)],_0x4a9e86['uuid'],_0x51e16c[_0x588159(0x13d)]);await MyReporter[_0x588159(0xb5)](_0x4a08ea);const _0xb907a4={};_0xb907a4[_0x588159(0xca)]=_0x213472,_0x351cf4[_0x588159(0xac)]=_0xb907a4;if(_0x4409eb[_0x588159(0x153)]){_0x351cf4['failure_reason']=_0x51e16c[_0x588159(0x124)](removeAnsiColors,_0x4409eb['error'][_0x588159(0x157)]),_0x351cf4[_0x588159(0x177)]=_0x51e16c['Eitur'](getFailureType,_0x4409eb['error']['message']);const _0x5bfcbc={};_0x5bfcbc[_0x588159(0x154)]=_0x4a9e86[_0x588159(0xcf)];const {failureData:_0x3a8504,logs:_0x51ae2a}=_0x51e16c[_0x588159(0x12b)](getFailureData,_0x4409eb['errors'],_0x5bfcbc);if(_0x3a8504&&_0x51e16c[_0x588159(0xf7)](_0x3a8504['length'],0x0)){const _0xd7149b={};_0xd7149b[_0x588159(0xe8)]=[_0x351cf4['failure_reason']],_0xd7149b[_0x588159(0x101)]=[],_0x3a8504[_0x588159(0x13b)](_0xd7149b);}_0x351cf4['failure']=_0x3a8504,_0x51ae2a&&_0x51e16c['NhqLG'](_0x51ae2a[_0x588159(0x14d)],0x0)&&await MyReporter[_0x588159(0xb5)](_0x51ae2a);}}let _0x36f00f=_0x51e16c[_0x588159(0x131)](findNestedKey,_0x4409eb,_0x51e16c[_0x588159(0xf8)]);if(_0x36f00f&&_0x51e16c[_0x588159(0xf0)](validateFilePath,_0x36f00f))_0x51e16c[_0x588159(0x17b)](debug,_0x588159(0x109)+_0x4a9e86[_0x588159(0xcf)]+_0x588159(0x139)+_0x36f00f);else{const _0x32cc1a=path[_0x588159(0x9e)](helper[_0x588159(0x138)](),_0x51e16c[_0x588159(0x1a0)]);!fs[_0x588159(0xb3)](_0x32cc1a)&&fs[_0x588159(0xd0)](_0x32cc1a),fs[_0x588159(0xb3)](path[_0x588159(0x9e)](_0x32cc1a,_0x588159(0x171)+_0x4a9e86[_0x588159(0xcf)]+_0x588159(0xc4)))&&(_0x36f00f=fs[_0x588159(0x10e)](path[_0x588159(0x9e)](_0x32cc1a,_0x588159(0x171)+_0x4a9e86['uuid']+_0x588159(0xc4)),_0x51e16c['ZXaKW']),_0x51e16c[_0x588159(0x17b)](debug,_0x588159(0x109)+_0x4a9e86[_0x588159(0xcf)]+'\x20at\x20'+_0x36f00f));}const _0x2c2ceb={};_0x2c2ceb['event_type']=_0x3f48f0,_0x2c2ceb['test_run']=_0x351cf4;const _0x3c4f46=_0x2c2ceb;_0x36f00f&&_0x51e16c[_0x588159(0x1a2)](_0x36f00f,'')&&_0x51e16c[_0x588159(0x108)](_0x3f48f0,_0x51e16c[_0x588159(0x106)])&&(!_0x3c4f46[_0x588159(0x15c)]&&(_0x3c4f46[_0x588159(0x15c)]=[]),_0x36f00f[_0x588159(0xa1)]('\x0a')[_0x588159(0xec)](_0x26e862=>{const _0x5cc767=_0x588159;_0x26e862&&_0x51e16c[_0x5cc767(0x146)](validateFilePath,_0x26e862)&&_0x3c4f46['logs'][_0x5cc767(0x13b)]({'kind':_0x51e16c['Scuqb'],'timestamp':new Date()[_0x5cc767(0xa0)](),'test_run_uuid':_0x4a9e86[_0x5cc767(0xcf)],'file_name':path['basename'](_0x26e862),'file_size':fs[_0x5cc767(0xdc)](_0x26e862)[_0x5cc767(0xd1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x588159(0x193)](_0x3c4f46);}[a45_0x16cbc6(0xde)](_0x3fbe4e){const _0x4903ad=a45_0x16cbc6,_0x5bce6a={};_0x5bce6a[_0x4903ad(0x135)]=function(_0x4d32a3,_0x26ca40){return _0x4d32a3===_0x26ca40;},_0x5bce6a[_0x4903ad(0xbf)]=function(_0x2883d6,_0x5beeb8){return _0x2883d6>_0x5beeb8;},_0x5bce6a[_0x4903ad(0x10c)]=function(_0x1fd980,_0x42f201){return _0x1fd980+_0x42f201;},_0x5bce6a['WCFJm']=function(_0x49e87d,_0x365458){return _0x49e87d+_0x365458;},_0x5bce6a[_0x4903ad(0x12a)]=function(_0x5d6cc8,_0x57e2d7){return _0x5d6cc8>_0x57e2d7;};const _0xad091a=_0x5bce6a,_0x2f8650=_0x3fbe4e[_0x4903ad(0x174)]()[_0x4903ad(0xf2)](_0x228ffd=>{const _0x13636c=_0x4903ad;if(_0x3fbe4e[_0x13636c(0x123)]&&_0xad091a[_0x13636c(0x135)](_0x228ffd,_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x11c)])&&_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x165)]&&_0xad091a[_0x13636c(0xbf)](_0x3fbe4e[_0x13636c(0x123)]['_tags'][_0x13636c(0x14d)],0x0))return _0xad091a[_0x13636c(0x10c)](_0xad091a['WCFJm'](_0x228ffd,'\x20'),_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x165)][_0x13636c(0x9e)]('\x20'));if(_0xad091a[_0x13636c(0x135)](_0x228ffd,_0x3fbe4e[_0x13636c(0x11c)])&&_0x3fbe4e[_0x13636c(0x165)]&&_0xad091a['wlVMK'](_0x3fbe4e[_0x13636c(0x165)]['length'],0x0))return _0xad091a[_0x13636c(0x149)](_0xad091a[_0x13636c(0x10c)](_0x228ffd,'\x20'),_0x3fbe4e['_tags'][_0x13636c(0x9e)]('\x20'));return _0x228ffd;})[_0x4903ad(0x9e)]('\x20');return _0x2f8650;}static async['sendSessionDetails'](_0x1e0627,_0x5e50af){const _0x5be6cb=a45_0x16cbc6,_0x43994c={'mjmBh':function(_0xd80cda,_0x83cda4){return _0xd80cda(_0x83cda4);},'TvLBS':'CBTSessionCreated'},_0x3b4998={'uuid':TestDetails[_0x5be6cb(0x18f)](_0x1e0627),'integrations':_0x5e50af},_0x4cf33f={};_0x4cf33f[_0x5be6cb(0xe5)]=null,_0x43994c['mjmBh'](debug,_0x5be6cb(0x184)+_0x1e0627+',\x20'+util['inspect'](_0x5e50af,_0x4cf33f));const _0xb76f8d={};_0xb76f8d[_0x5be6cb(0x10a)]=_0x43994c[_0x5be6cb(0x187)],_0xb76f8d['test_run']=_0x3b4998,await SessionHandler['uploadEventData'](_0xb76f8d);}async['configureGit'](){const _0x15e893=a45_0x16cbc6,_0x4d6251={'aDvUN':function(_0x3a4133){return _0x3a4133();}};if(this['_gitConfigured'])return;const _0x26b569=await _0x4d6251[_0x15e893(0x14e)](getGitMetaData);_0x26b569&&(this[_0x15e893(0x16c)]=_0x26b569[_0x15e893(0x118)]),this['_gitConfigured']=!![];}['getHierarchy'](_0x13051c){const _0x364812=a45_0x16cbc6,_0x11ec41={};_0x11ec41[_0x364812(0xa7)]=function(_0x166e8a,_0x4daaca){return _0x166e8a!==_0x4daaca;};const _0x107a17=_0x11ec41,_0x1d4194=[];if(_0x13051c&&_0x13051c[_0x364812(0x123)]){let _0x2c4e95=_0x13051c[_0x364812(0x123)];while(_0x2c4e95&&_0x107a17[_0x364812(0xa7)](_0x2c4e95[_0x364812(0x11c)],'')){_0x1d4194[_0x364812(0x13b)](_0x2c4e95[_0x364812(0x11c)]),_0x2c4e95=_0x2c4e95['parent'];}}return _0x1d4194[_0x364812(0xea)]()['splice'](0x0,0x2),_0x1d4194;}[a45_0x16cbc6(0x17a)](_0xe25706){const _0xceb1f7=a45_0x16cbc6,_0x1d21a9={};_0x1d21a9[_0xceb1f7(0x16d)]=function(_0x28d4ed,_0x5da3cc){return _0x28d4ed!==_0x5da3cc;},_0x1d21a9[_0xceb1f7(0x14c)]=_0xceb1f7(0xd2),_0x1d21a9['cfWUp']=function(_0x3c130f,_0x3ad4a8){return _0x3c130f===_0x3ad4a8;},_0x1d21a9[_0xceb1f7(0x141)]='beforeEach\x20hook',_0x1d21a9[_0xceb1f7(0x16b)]='beforeAll\x20hook',_0x1d21a9[_0xceb1f7(0x122)]=_0xceb1f7(0x11d),_0x1d21a9[_0xceb1f7(0x10b)]=_0xceb1f7(0x107);const _0x5c5d25=_0x1d21a9;if(_0x5c5d25[_0xceb1f7(0x16d)](_0xe25706[_0xceb1f7(0xf3)],_0x5c5d25[_0xceb1f7(0x14c)]))return![];if(_0x5c5d25[_0xceb1f7(0x167)]([_0x5c5d25[_0xceb1f7(0x141)],_0x5c5d25[_0xceb1f7(0x16b)],_0x5c5d25['atUAO'],_0x5c5d25[_0xceb1f7(0x10b)]]['indexOf'](_0xe25706[_0xceb1f7(0x11c)]),-0x1))return![];return!![];}[a45_0x16cbc6(0x182)](_0x19c0dd,_0x5d481f){const _0x30074d=a45_0x16cbc6,_0x23c44b={'mVhZY':function(_0x2c2cf1,_0x33aa47){return _0x2c2cf1(_0x33aa47);}},_0x1d17f6=_0x5d481f[_0x30074d(0xcb)];if(_0x1d17f6)return _0x1d17f6;return _0x5d481f[_0x30074d(0x11c)]+_0x30074d(0x160)+_0x23c44b[_0x30074d(0xf1)](getTestIdentifier,_0x19c0dd);}[a45_0x16cbc6(0xf4)](_0x4f0075,_0x490897){const _0xc29c2c=a45_0x16cbc6,_0x4eabfe={'JAnnT':function(_0x680500,_0x36061d){return _0x680500(_0x36061d);},'mOaMQ':function(_0x190e7a){return _0x190e7a();}};let _0x32fc13=_0x490897[_0xc29c2c(0x11c)]+_0xc29c2c(0x160)+_0x4eabfe[_0xc29c2c(0xf6)](getTestIdentifier,_0x4f0075);return this['_tests'][_0x32fc13]&&(_0x32fc13=_0x32fc13+'\x20-\x20'+_0x4eabfe[_0xc29c2c(0xb2)](uuidv4)),_0x490897[_0xc29c2c(0xcb)]=_0x32fc13,_0x32fc13;}[a45_0x16cbc6(0x121)]=_0x387d95=>{const _0x37c634=a45_0x16cbc6,_0x51d77c={};_0x51d77c[_0x37c634(0x147)]=_0x37c634(0xc6),_0x51d77c[_0x37c634(0xb0)]=_0x37c634(0xa2),_0x51d77c[_0x37c634(0x18e)]='beforeAll\x20hook',_0x51d77c[_0x37c634(0xe2)]=_0x37c634(0x19f),_0x51d77c['pbdpl']=_0x37c634(0x107),_0x51d77c[_0x37c634(0x198)]=_0x37c634(0x16f),_0x51d77c[_0x37c634(0x179)]='afterAll\x20hook',_0x51d77c['anFiX']=_0x37c634(0x120),_0x51d77c['JhEeP']='unknown';const _0x2a0e64=_0x51d77c;if(_0x387d95['startsWith'](_0x2a0e64[_0x37c634(0x147)]))return _0x2a0e64['hcRRv'];else{if(_0x387d95['startsWith'](_0x2a0e64[_0x37c634(0x18e)]))return _0x2a0e64[_0x37c634(0xe2)];else{if(_0x387d95[_0x37c634(0x15b)](_0x2a0e64[_0x37c634(0xdf)]))return _0x2a0e64[_0x37c634(0x198)];else{if(_0x387d95[_0x37c634(0x15b)](_0x2a0e64[_0x37c634(0x179)]))return _0x2a0e64[_0x37c634(0xc9)];}}}return _0x2a0e64[_0x37c634(0x14a)];};[a45_0x16cbc6(0x116)]=_0x8a8179=>{const _0x24e0f3=a45_0x16cbc6,_0x80392b={};_0x80392b[_0x24e0f3(0x152)]=function(_0x17b9a0,_0x3d28f8){return _0x17b9a0===_0x3d28f8;},_0x80392b['FRRDe']=_0x24e0f3(0xad);const _0x3bb93b=_0x80392b;let _0xab30d4=_0x8a8179['parent'];return _0x3bb93b['YZQaj'](typeof _0x8a8179['parent'],_0x3bb93b['FRRDe'])&&(_0xab30d4=_0xab30d4[_0x24e0f3(0x11c)]),_0xab30d4+_0x24e0f3(0x18d)+_0x8a8179[_0x24e0f3(0x11c)];};[a45_0x16cbc6(0x136)](){return![];}}module[a45_0x16cbc6(0x115)]=o11yClassErrorHandler(MyReporter,[a45_0x16cbc6(0x19a),a45_0x16cbc6(0xe0),a45_0x16cbc6(0x151),a45_0x16cbc6(0x9f),'onStepBegin',a45_0x16cbc6(0xd5),'sendSessionDetails'],a45_0x16cbc6(0xdb));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x41fe65=a46_0x4675;(function(_0x539320,_0x464ee1){const _0x37cac0=a46_0x4675,_0x418e18=_0x539320();while(!![]){try{const _0x1ff45f=-parseInt(_0x37cac0(0x22f))/0x1*(parseInt(_0x37cac0(0x23e))/0x2)+-parseInt(_0x37cac0(0x206))/0x3*(parseInt(_0x37cac0(0x214))/0x4)+parseInt(_0x37cac0(0x23a))/0x5+parseInt(_0x37cac0(0x1f3))/0x6*(parseInt(_0x37cac0(0x22c))/0x7)+parseInt(_0x37cac0(0x1f8))/0x8+-parseInt(_0x37cac0(0x226))/0x9+parseInt(_0x37cac0(0x21f))/0xa*(parseInt(_0x37cac0(0x21b))/0xb);if(_0x1ff45f===_0x464ee1)break;else _0x418e18['push'](_0x418e18['shift']());}catch(_0x272c46){_0x418e18['push'](_0x418e18['shift']());}}}(a46_0x349a,0x5db24));function a46_0x4675(_0x34290a,_0x190132){const _0x349afe=a46_0x349a();return a46_0x4675=function(_0x46759b,_0x449708){_0x46759b=_0x46759b-0x1e7;let _0x155f33=_0x349afe[_0x46759b];return _0x155f33;},a46_0x4675(_0x34290a,_0x190132);}const fs=require('fs'),path=require(a46_0x41fe65(0x23f)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a46_0x41fe65(0x229)),logger=require(a46_0x41fe65(0x20e))[a46_0x41fe65(0x203)],{getLogDir}=require(a46_0x41fe65(0x20e)),util=require('util'),helper=require(a46_0x41fe65(0x229));class TestDetails{static [a46_0x41fe65(0x21c)]={};static['setup'](){const _0x3e68a1=a46_0x41fe65;this[_0x3e68a1(0x208)]();const _0xd6f568={};_0xd6f568[_0x3e68a1(0x1fc)]=!![],fs[_0x3e68a1(0x21e)](this[_0x3e68a1(0x1f0)](),_0xd6f568);const _0x598b87={};_0x598b87['recursive']=!![],fs[_0x3e68a1(0x21e)](this[_0x3e68a1(0x227)](),_0x598b87);}static[a46_0x41fe65(0x212)](){const _0x43d491=a46_0x41fe65,_0x2d5a94={};_0x2d5a94[_0x43d491(0x215)]=function(_0x58fb54,_0xf25b29){return _0x58fb54+_0xf25b29;};const _0x922194=_0x2d5a94;return _0x922194[_0x43d491(0x215)](_0x922194[_0x43d491(0x215)](TEMP_STORE_DIR_NAME,'-'),process[_0x43d491(0x1f2)][_0x43d491(0x218)]);}static[a46_0x41fe65(0x1ed)](){const _0x5eaf3f=a46_0x41fe65,_0x1827da={};_0x1827da['kGePf']=function(_0x1f04ab,_0x136f60){return _0x1f04ab+_0x136f60;},_0x1827da['ObbOi']=_0x5eaf3f(0x221);const _0x5c62de=_0x1827da;return path[_0x5eaf3f(0x241)](_0x5c62de[_0x5eaf3f(0x204)](_0x5c62de[_0x5eaf3f(0x204)](TEMP_STORE_DIR_NAME,'-'),process[_0x5eaf3f(0x1f2)][_0x5eaf3f(0x218)]||_0x5c62de[_0x5eaf3f(0x1e9)]));}static[a46_0x41fe65(0x227)](){const _0x49e3a7=a46_0x41fe65,_0x1e214c={};_0x1e214c[_0x49e3a7(0x210)]='traceZipPaths';const _0x48d625=_0x1e214c;return path[_0x49e3a7(0x241)](this['getStoreDirPath'](),_0x48d625['Xkztl']);}static[a46_0x41fe65(0x1f0)](){const _0x4adcfd=a46_0x41fe65;return TestDetails[_0x4adcfd(0x212)]();}static[a46_0x41fe65(0x20a)](_0xdbb1b0){const _0x2ed257=a46_0x41fe65,_0x18d512={};_0x18d512[_0x2ed257(0x1f6)]=function(_0x22268f,_0xda4e50){return _0x22268f+_0xda4e50;},_0x18d512[_0x2ed257(0x239)]='.json';const _0x30770c=_0x18d512;return path[_0x2ed257(0x241)](this[_0x2ed257(0x1f0)](),_0x30770c[_0x2ed257(0x1f6)](_0xdbb1b0,_0x30770c[_0x2ed257(0x239)]));}static[a46_0x41fe65(0x1eb)](_0x464f0b){const _0x55b66c=a46_0x41fe65,_0x210a1b={};_0x210a1b[_0x55b66c(0x228)]=function(_0x1d7ba0,_0x362530){return _0x1d7ba0+_0x362530;},_0x210a1b[_0x55b66c(0x1ec)]=function(_0xfc194,_0x58070b){return _0xfc194+_0x58070b;},_0x210a1b[_0x55b66c(0x233)]=function(_0x2eaeab,_0x446ad4){return _0x2eaeab+_0x446ad4;};const _0x253971=_0x210a1b;return _0x253971['ICxey'](_0x253971[_0x55b66c(0x228)](_0x253971[_0x55b66c(0x1ec)](_0x253971[_0x55b66c(0x233)](this['getProjectIdFromTestInfo'](_0x464f0b),'-'),this[_0x55b66c(0x22b)](_0x464f0b)),'-'),_0x464f0b['retry']);}static[a46_0x41fe65(0x20f)](_0x51e7d4){const _0x28f7ed=a46_0x41fe65,_0xb60574={'Rtvhx':function(_0x329ac2,_0x1bd61b,_0x58db7c){return _0x329ac2(_0x1bd61b,_0x58db7c);},'jFWWx':_0x28f7ed(0x1f9),'nhvGs':_0x28f7ed(0x22d),'bDoBP':function(_0x1bc689,_0x215cf4,_0x288263){return _0x1bc689(_0x215cf4,_0x288263);},'KeTCE':_0x28f7ed(0x1f5),'IvGDI':'__projectId'};return _0xb60574['Rtvhx'](nestedKeyValue,_0x51e7d4,[_0xb60574[_0x28f7ed(0x1ff)],_0xb60574[_0x28f7ed(0x20d)]])||_0xb60574['bDoBP'](nestedKeyValue,_0x51e7d4,[_0xb60574[_0x28f7ed(0x1ea)],_0xb60574[_0x28f7ed(0x23d)]]);}static[a46_0x41fe65(0x22b)](_0x1a40ea){const _0x46cb66=a46_0x41fe65,_0x691012={'eBbUd':function(_0x4a8755,_0xf3d922,_0x3308b2){return _0x4a8755(_0xf3d922,_0x3308b2);},'kBhND':'_test'};return _0x691012[_0x46cb66(0x21a)](nestedKeyValue,_0x1a40ea,[_0x691012['kBhND'],'id'])||_0x1a40ea[_0x46cb66(0x22a)];}static['getTestUUID'](_0x54358b){const _0x43def6=a46_0x41fe65,_0x33accd={'YFepL':function(_0x37c34a,_0x1255f4){return _0x37c34a===_0x1255f4;},'UddZX':_0x43def6(0x205),'BqvOM':function(_0x43de7f){return _0x43de7f();}};if(this['tests'][_0x54358b]&&_0x33accd[_0x43def6(0x1fe)](typeof this[_0x43def6(0x21c)][_0x54358b][_0x43def6(0x1f4)],_0x33accd[_0x43def6(0x222)]))return this['tests'][_0x54358b]['uuid'];const _0x4cc487=this[_0x43def6(0x20a)](_0x54358b);if(_0x4cc487&&fs[_0x43def6(0x242)](_0x4cc487)){const _0x46a4a3=JSON[_0x43def6(0x23b)](fs[_0x43def6(0x1f7)](_0x4cc487)['toString']());return this[_0x43def6(0x21c)][_0x54358b]=_0x46a4a3,this[_0x43def6(0x21c)][_0x54358b][_0x43def6(0x1f4)];}return this[_0x43def6(0x21c)][_0x54358b]={'uuid':_0x33accd[_0x43def6(0x223)](uuidv4)},fs[_0x43def6(0x211)](_0x4cc487,JSON[_0x43def6(0x20c)](this[_0x43def6(0x21c)][_0x54358b])),this[_0x43def6(0x21c)][_0x54358b][_0x43def6(0x1f4)];}static[a46_0x41fe65(0x1ef)](_0x44ccec){const _0x39e383=a46_0x41fe65,_0x48b579=path[_0x39e383(0x241)](this[_0x39e383(0x1f0)](),_0x44ccec+'_platformDetails.json');if(_0x48b579&&fs[_0x39e383(0x242)](_0x48b579))return fs['readFileSync'](_0x48b579)[_0x39e383(0x200)]();}static[a46_0x41fe65(0x20b)](_0x6e6cb,_0x9ffe3e){const _0x5e00f0=a46_0x41fe65,_0x22a104=path['join'](this[_0x5e00f0(0x1f0)](),_0x9ffe3e+_0x5e00f0(0x201));fs[_0x5e00f0(0x211)](_0x22a104,_0x6e6cb[_0x5e00f0(0x200)]());}static[a46_0x41fe65(0x208)](){const _0x28d9a4=a46_0x41fe65,_0x5081be={};_0x5081be[_0x28d9a4(0x1fc)]=!![],_0x5081be[_0x28d9a4(0x219)]=!![],fs[_0x28d9a4(0x225)](this['getDirPath'](),_0x5081be);}static['getTestDetails'](_0x387471){const _0x2117e7=a46_0x41fe65;if(this['tests'][_0x387471])return this[_0x2117e7(0x21c)][_0x387471];const _0x436c51=this['getFilePath'](_0x387471);if(_0x436c51&&fs[_0x2117e7(0x242)](_0x436c51)){const _0x219995=JSON[_0x2117e7(0x23b)](fs[_0x2117e7(0x1f7)](_0x436c51)[_0x2117e7(0x200)]());return this[_0x2117e7(0x21c)][_0x387471]=_0x219995,_0x219995;}return{};}static[a46_0x41fe65(0x216)](_0x138bcf,_0x47c94b){const _0x5c011a=a46_0x41fe65,_0xcf850d=this[_0x5c011a(0x20a)](_0x138bcf);if(_0xcf850d&&fs['existsSync'](_0xcf850d)){const _0x272c09=JSON[_0x5c011a(0x23b)](fs[_0x5c011a(0x1f7)](_0xcf850d)['toString']()),_0x97d742={..._0x272c09,..._0x47c94b};this[_0x5c011a(0x21c)][_0x138bcf]=_0x97d742;}else this[_0x5c011a(0x21c)][_0x138bcf]=_0x47c94b;fs['writeFileSync'](_0xcf850d,this[_0x5c011a(0x21c)][_0x138bcf]);}static[a46_0x41fe65(0x22e)](_0x99f083){const _0x2dc923=a46_0x41fe65,_0x2bfb66={};_0x2bfb66[_0x2dc923(0x220)]=_0x2dc923(0x235);const _0x429a52=_0x2bfb66;try{const _0x5371cf=process[_0x2dc923(0x224)],_0x2ec2d5=path[_0x2dc923(0x241)](TestDetails[_0x2dc923(0x227)](),_0x5371cf+_0x2dc923(0x238));let _0x586e12=[];_0x2ec2d5&&fs[_0x2dc923(0x242)](_0x2ec2d5)&&(_0x586e12=JSON['parse'](fs[_0x2dc923(0x1f7)](_0x2ec2d5)[_0x2dc923(0x200)]())),!_0x586e12[_0x2dc923(0x237)](_0x15d8ea=>_0x15d8ea[_0x2dc923(0x240)]===_0x99f083[_0x2dc923(0x240)])&&(_0x586e12['push'](_0x99f083),fs[_0x2dc923(0x211)](_0x2ec2d5,JSON[_0x2dc923(0x20c)](_0x586e12)));}catch(_0x43dea5){logger['error'](_0x429a52[_0x2dc923(0x220)],_0x43dea5);}}static[a46_0x41fe65(0x217)](){const _0x300655=a46_0x41fe65,_0x552a1a={};_0x552a1a[_0x300655(0x1ee)]=_0x300655(0x238),_0x552a1a[_0x300655(0x1e7)]=_0x300655(0x1e8);const _0x255b4b=_0x552a1a,_0x2750fc=[];try{const _0x9b4f34=TestDetails[_0x300655(0x227)]();if(_0x9b4f34&&!fs[_0x300655(0x242)](_0x9b4f34))return _0x2750fc;const _0x424fdc=fs[_0x300655(0x1fd)](_0x9b4f34);_0x424fdc[_0x300655(0x202)](_0x55d9de=>{const _0x559797=_0x300655;if(_0x55d9de&&_0x55d9de[_0x559797(0x231)](_0x255b4b[_0x559797(0x1ee)])){const _0x447481=JSON[_0x559797(0x23b)](fs[_0x559797(0x1f7)](path[_0x559797(0x241)](_0x9b4f34,_0x55d9de))[_0x559797(0x200)]());_0x2750fc[_0x559797(0x23c)](..._0x447481);}});}catch(_0x47984d){logger[_0x300655(0x213)](util['format'](_0x255b4b[_0x300655(0x1e7)],_0x47984d));}const _0x5721c9={};return _0x2750fc[_0x300655(0x202)](_0x453e1e=>{const _0x120ac8=_0x300655;_0x5721c9[_0x453e1e[_0x120ac8(0x240)]]=_0x453e1e;}),Object[_0x300655(0x21d)](_0x5721c9);}static[a46_0x41fe65(0x234)](_0x239dbf,_0x5b55d7){const _0x2398fc=a46_0x41fe65,_0x2544dd={};_0x2544dd[_0x2398fc(0x232)]='.browserstack',_0x2544dd['WeTXy']=_0x2398fc(0x230);const _0x1c2496=_0x2544dd;try{const _0x4aa7f1=path['join'](helper[_0x2398fc(0x1fb)](),_0x1c2496[_0x2398fc(0x232)]);if(!fs[_0x2398fc(0x242)](_0x4aa7f1)){const _0xd95334={};_0xd95334['recursive']=!![],fs[_0x2398fc(0x21e)](_0x4aa7f1,_0xd95334);}fs['appendFileSync'](path[_0x2398fc(0x241)](_0x4aa7f1,_0x2398fc(0x236)+_0x5b55d7+_0x2398fc(0x207)),_0x239dbf+'\x0a',_0x1c2496['WeTXy']);}catch(_0x2f0992){console[_0x2398fc(0x213)](_0x2398fc(0x1fa)+_0x2f0992[_0x2398fc(0x209)]);}}}module[a46_0x41fe65(0x1f1)]=TestDetails;function a46_0x349a(){const _0x44bbc4=['4LTyEOy','AnXZI','setTestDetails','getTraceFilePaths','BS_TESTOPS_BUILD_HASHED_ID','force','eBbUd','164879VsBpXC','tests','values','mkdirSync','570FkkviT','xAXRn','default','UddZX','BqvOM','pid','rmSync','4480785gjCpDV','getTraceZipDir','ICxey','../../../helpers/helper','testId','getTestIdFromTestInfo','7BDPvRz','_projectId','addTraceFilePath','539787WiFDKp','utf8','endsWith','YVbZm','WTtei','appendToTracePaths','Error\x20handling\x20trace\x20file\x20paths:\x20','trace_','some','_traceZipPaths.json','opcmh','1688970NYGNxV','parse','push','IvGDI','2InEIdf','path','filePath','join','existsSync','wULRB','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ObbOi','KeTCE','getTestRunIdFromTestInfo','liSvH','getStoreDirPath','DuAeH','getAccessibilityPlatformValidation','getDirPath','exports','env','2025258jnWcGJ','uuid','project','yFtpf','readFileSync','3382552uPedBI','_test','Error\x20writing\x20trace\x20file:\x20','homedir','recursive','readdirSync','YFepL','jFWWx','toString','_platformDetails.json','forEach','winstonLogger','kGePf','string','1593291HGpXuH','.txt','shutdown','message','getFilePath','setAccessibilityPlatformValidation','stringify','nhvGs','../../../helpers/logger','getProjectIdFromTestInfo','Xkztl','writeFileSync','getStoreDirName','error'];a46_0x349a=function(){return _0x44bbc4;};return a46_0x349a();}
|
|
1
|
+
const a46_0x5b61fd=a46_0xfaaf;(function(_0x2500bc,_0x3e4a69){const _0x20c853=a46_0xfaaf,_0x21088d=_0x2500bc();while(!![]){try{const _0x2d33a1=parseInt(_0x20c853(0x151))/0x1+parseInt(_0x20c853(0x14e))/0x2+parseInt(_0x20c853(0x11b))/0x3+parseInt(_0x20c853(0x134))/0x4+-parseInt(_0x20c853(0x100))/0x5+-parseInt(_0x20c853(0x131))/0x6+-parseInt(_0x20c853(0x10b))/0x7*(parseInt(_0x20c853(0x14f))/0x8);if(_0x2d33a1===_0x3e4a69)break;else _0x21088d['push'](_0x21088d['shift']());}catch(_0x444e08){_0x21088d['push'](_0x21088d['shift']());}}}(a46_0x29c8,0x63791));const fs=require('fs'),path=require(a46_0x5b61fd(0x10c)),{v4:uuidv4}=require(a46_0x5b61fd(0x130)),{TEMP_STORE_DIR_NAME}=require(a46_0x5b61fd(0x127)),{nestedKeyValue}=require(a46_0x5b61fd(0x13a)),logger=require(a46_0x5b61fd(0x154))[a46_0x5b61fd(0x11a)],{getLogDir}=require(a46_0x5b61fd(0x154)),util=require('util'),helper=require(a46_0x5b61fd(0x13a));function a46_0x29c8(){const _0x45bd78=['retry','_traceZipPaths.json','readFileSync','Kfjpc','toString','trace_','getTestIdFromTestInfo','setTestDetails','mkdirSync','ftinh','force','fWFFR','rmSync','366334wyJMSd','8HQskvC','getFilePath','199341cLXRVj','FqbFK','eLdMz','../../../helpers/logger','getDirPath','forEach','cLLaY','getTraceZipDir','readdirSync','1534460SWWAHw','JZCHw','utf8','kmnKv','endsWith','tTgiK','kebvq','Error\x20writing\x20trace\x20file:\x20','addTraceFilePath','format','setAccessibilityPlatformValidation','508249POteNp','path','parse','eOmYN','MYbrN','error','appendFileSync','getStoreDirPath','getTestUUID','filePath','values','testId','writeFileSync','env','getTestDetails','winstonLogger','2199720BNDBUn','setup','_projectId','existsSync','ZbuUZ','_platformDetails.json','getAccessibilityPlatformValidation','zTEMg','gNsTJ','zCxlj','Error\x20reading\x20trace\x20file\x20paths:\x20%s','NWAlK','../../../helpers/test-observability/constants','recursive','wYWwW','push','join','shutdown','tests','traceZipPaths','some','uuid','4107030crVigM','getStoreDirName','appendToTracePaths','1422788pYYDTN','pid','getProjectIdFromTestInfo','Error\x20handling\x20trace\x20file\x20paths:\x20','getTestRunIdFromTestInfo','TOsJn','../../../helpers/helper','YXNSy','jhkwe','string','stringify','CfTRK','message'];a46_0x29c8=function(){return _0x45bd78;};return a46_0x29c8();}class TestDetails{static [a46_0x5b61fd(0x12d)]={};static[a46_0x5b61fd(0x11c)](){const _0x5d06c9=a46_0x5b61fd;this[_0x5d06c9(0x12c)]();const _0x223620={};_0x223620['recursive']=!![],fs[_0x5d06c9(0x149)](this[_0x5d06c9(0x155)](),_0x223620);const _0x3186ef={};_0x3186ef['recursive']=!![],fs[_0x5d06c9(0x149)](this['getTraceZipDir'](),_0x3186ef);}static[a46_0x5b61fd(0x132)](){const _0x408a07=a46_0x5b61fd,_0x155232={};_0x155232[_0x408a07(0x153)]=function(_0x3f7c57,_0x405c52){return _0x3f7c57+_0x405c52;};const _0x170b14=_0x155232;return _0x170b14[_0x408a07(0x153)](_0x170b14[_0x408a07(0x153)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']);}static[a46_0x5b61fd(0x112)](){const _0x411df6=a46_0x5b61fd,_0x5746e9={};_0x5746e9[_0x411df6(0x122)]=function(_0xd1fab0,_0x59e4f3){return _0xd1fab0+_0x59e4f3;},_0x5746e9[_0x411df6(0x106)]=function(_0x3b4547,_0x5f303c){return _0x3b4547+_0x5f303c;},_0x5746e9[_0x411df6(0x10e)]='default';const _0x568c05=_0x5746e9;return path[_0x411df6(0x12b)](_0x568c05[_0x411df6(0x122)](_0x568c05[_0x411df6(0x106)](TEMP_STORE_DIR_NAME,'-'),process[_0x411df6(0x118)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x568c05[_0x411df6(0x10e)]));}static[a46_0x5b61fd(0xfe)](){const _0x234d81=a46_0x5b61fd,_0x3f40f5={};_0x3f40f5[_0x234d81(0x13b)]=_0x234d81(0x12e);const _0x3a2534=_0x3f40f5;return path[_0x234d81(0x12b)](this[_0x234d81(0x112)](),_0x3a2534[_0x234d81(0x13b)]);}static[a46_0x5b61fd(0x155)](){return TestDetails['getStoreDirName']();}static[a46_0x5b61fd(0x150)](_0x990810){const _0x556867=a46_0x5b61fd,_0x870412={};_0x870412[_0x556867(0x124)]=function(_0x361aa8,_0x2a1ad6){return _0x361aa8+_0x2a1ad6;},_0x870412[_0x556867(0x14a)]='.json';const _0x39b133=_0x870412;return path[_0x556867(0x12b)](this[_0x556867(0x155)](),_0x39b133['zCxlj'](_0x990810,_0x39b133[_0x556867(0x14a)]));}static[a46_0x5b61fd(0x138)](_0xb1271c){const _0x2ab0a3=a46_0x5b61fd,_0x2f3cc0={};_0x2f3cc0[_0x2ab0a3(0x144)]=function(_0x17337b,_0x306946){return _0x17337b+_0x306946;},_0x2f3cc0['fWFFR']=function(_0x1f30f7,_0x583745){return _0x1f30f7+_0x583745;},_0x2f3cc0['NWAlK']=function(_0x380b55,_0x4043c5){return _0x380b55+_0x4043c5;};const _0x8ba5aa=_0x2f3cc0;return _0x8ba5aa[_0x2ab0a3(0x144)](_0x8ba5aa[_0x2ab0a3(0x144)](_0x8ba5aa[_0x2ab0a3(0x14c)](_0x8ba5aa[_0x2ab0a3(0x126)](this[_0x2ab0a3(0x136)](_0xb1271c),'-'),this[_0x2ab0a3(0x147)](_0xb1271c)),'-'),_0xb1271c[_0x2ab0a3(0x141)]);}static[a46_0x5b61fd(0x136)](_0x4a743b){const _0x217432=a46_0x5b61fd,_0x1424e8={'gNsTJ':function(_0x20ccfc,_0x4b1b69,_0x200670){return _0x20ccfc(_0x4b1b69,_0x200670);},'kmnKv':'_test','jhkwe':_0x217432(0x11d),'JZCHw':'project','FqbFK':'__projectId'};return _0x1424e8['gNsTJ'](nestedKeyValue,_0x4a743b,[_0x1424e8[_0x217432(0x103)],_0x1424e8[_0x217432(0x13c)]])||_0x1424e8[_0x217432(0x123)](nestedKeyValue,_0x4a743b,[_0x1424e8[_0x217432(0x101)],_0x1424e8[_0x217432(0x152)]]);}static[a46_0x5b61fd(0x147)](_0x3a9fca){const _0x8b13fb=a46_0x5b61fd,_0x19fcfa={'jfNoa':function(_0x23db01,_0x38b216,_0x4bc9be){return _0x23db01(_0x38b216,_0x4bc9be);},'woITg':'_test'};return _0x19fcfa['jfNoa'](nestedKeyValue,_0x3a9fca,[_0x19fcfa['woITg'],'id'])||_0x3a9fca[_0x8b13fb(0x116)];}static[a46_0x5b61fd(0x113)](_0x5912d5){const _0x45aa02=a46_0x5b61fd,_0x549b7a={'MYbrN':function(_0xfb8653,_0x5cd69c){return _0xfb8653===_0x5cd69c;},'CfTRK':_0x45aa02(0x13d),'GrExv':function(_0x25d389){return _0x25d389();}};if(this[_0x45aa02(0x12d)][_0x5912d5]&&_0x549b7a[_0x45aa02(0x10f)](typeof this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)],_0x549b7a[_0x45aa02(0x13f)]))return this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];const _0x5f3b5d=this[_0x45aa02(0x150)](_0x5912d5);if(_0x5f3b5d&&fs[_0x45aa02(0x11e)](_0x5f3b5d)){const _0x59f4f9=JSON[_0x45aa02(0x10d)](fs[_0x45aa02(0x143)](_0x5f3b5d)[_0x45aa02(0x145)]());return this[_0x45aa02(0x12d)][_0x5912d5]=_0x59f4f9,this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];}return this[_0x45aa02(0x12d)][_0x5912d5]={'uuid':_0x549b7a['GrExv'](uuidv4)},fs[_0x45aa02(0x117)](_0x5f3b5d,JSON[_0x45aa02(0x13e)](this[_0x45aa02(0x12d)][_0x5912d5])),this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];}static[a46_0x5b61fd(0x121)](_0x441025){const _0x156232=a46_0x5b61fd,_0x53a0cf=path['join'](this[_0x156232(0x155)](),_0x441025+'_platformDetails.json');if(_0x53a0cf&&fs['existsSync'](_0x53a0cf))return fs[_0x156232(0x143)](_0x53a0cf)['toString']();}static[a46_0x5b61fd(0x10a)](_0x1c84b8,_0x5b63d9){const _0x581ac0=a46_0x5b61fd,_0x42acc1=path[_0x581ac0(0x12b)](this['getDirPath'](),_0x5b63d9+_0x581ac0(0x120));fs[_0x581ac0(0x117)](_0x42acc1,_0x1c84b8[_0x581ac0(0x145)]());}static[a46_0x5b61fd(0x12c)](){const _0x19b112=a46_0x5b61fd,_0x4beda6={};_0x4beda6[_0x19b112(0x128)]=!![],_0x4beda6[_0x19b112(0x14b)]=!![],fs[_0x19b112(0x14d)](this[_0x19b112(0x155)](),_0x4beda6);}static[a46_0x5b61fd(0x119)](_0x474b4b){const _0x17ee82=a46_0x5b61fd;if(this['tests'][_0x474b4b])return this[_0x17ee82(0x12d)][_0x474b4b];const _0x27a70f=this['getFilePath'](_0x474b4b);if(_0x27a70f&&fs[_0x17ee82(0x11e)](_0x27a70f)){const _0x4a710d=JSON[_0x17ee82(0x10d)](fs[_0x17ee82(0x143)](_0x27a70f)['toString']());return this[_0x17ee82(0x12d)][_0x474b4b]=_0x4a710d,_0x4a710d;}return{};}static[a46_0x5b61fd(0x148)](_0x2b958d,_0x37e334){const _0x4a48a9=a46_0x5b61fd,_0x347aef=this['getFilePath'](_0x2b958d);if(_0x347aef&&fs[_0x4a48a9(0x11e)](_0x347aef)){const _0x45d0d2=JSON[_0x4a48a9(0x10d)](fs[_0x4a48a9(0x143)](_0x347aef)[_0x4a48a9(0x145)]()),_0x19fa9e={..._0x45d0d2,..._0x37e334};this[_0x4a48a9(0x12d)][_0x2b958d]=_0x19fa9e;}else this[_0x4a48a9(0x12d)][_0x2b958d]=_0x37e334;fs[_0x4a48a9(0x117)](_0x347aef,this[_0x4a48a9(0x12d)][_0x2b958d]);}static[a46_0x5b61fd(0x108)](_0x1c30f0){const _0x521816=a46_0x5b61fd,_0x3e4d3f={};_0x3e4d3f[_0x521816(0x105)]=_0x521816(0x137);const _0x5372b9=_0x3e4d3f;try{const _0x5ee65e=process[_0x521816(0x135)],_0x2ac4a6=path['join'](TestDetails[_0x521816(0xfe)](),_0x5ee65e+_0x521816(0x142));let _0x1c6c97=[];_0x2ac4a6&&fs['existsSync'](_0x2ac4a6)&&(_0x1c6c97=JSON[_0x521816(0x10d)](fs[_0x521816(0x143)](_0x2ac4a6)['toString']())),!_0x1c6c97[_0x521816(0x12f)](_0x24f71f=>_0x24f71f[_0x521816(0x114)]===_0x1c30f0[_0x521816(0x114)])&&(_0x1c6c97[_0x521816(0x12a)](_0x1c30f0),fs[_0x521816(0x117)](_0x2ac4a6,JSON[_0x521816(0x13e)](_0x1c6c97)));}catch(_0x586495){logger[_0x521816(0x110)](_0x5372b9[_0x521816(0x105)],_0x586495);}}static['getTraceFilePaths'](){const _0x1f9a6b=a46_0x5b61fd,_0x16702b={};_0x16702b[_0x1f9a6b(0xfd)]=_0x1f9a6b(0x142),_0x16702b[_0x1f9a6b(0x11f)]=_0x1f9a6b(0x125);const _0x128406=_0x16702b,_0x17c71d=[];try{const _0x205a91=TestDetails['getTraceZipDir']();if(_0x205a91&&!fs[_0x1f9a6b(0x11e)](_0x205a91))return _0x17c71d;const _0x351782=fs[_0x1f9a6b(0xff)](_0x205a91);_0x351782[_0x1f9a6b(0xfc)](_0x541994=>{const _0x2e84ae=_0x1f9a6b;if(_0x541994&&_0x541994[_0x2e84ae(0x104)](_0x128406[_0x2e84ae(0xfd)])){const _0x502acd=JSON[_0x2e84ae(0x10d)](fs[_0x2e84ae(0x143)](path[_0x2e84ae(0x12b)](_0x205a91,_0x541994))[_0x2e84ae(0x145)]());_0x17c71d[_0x2e84ae(0x12a)](..._0x502acd);}});}catch(_0x492cc0){logger[_0x1f9a6b(0x110)](util[_0x1f9a6b(0x109)](_0x128406[_0x1f9a6b(0x11f)],_0x492cc0));}const _0x1e8707={};return _0x17c71d[_0x1f9a6b(0xfc)](_0x30be38=>{const _0x58e069=_0x1f9a6b;_0x1e8707[_0x30be38[_0x58e069(0x114)]]=_0x30be38;}),Object[_0x1f9a6b(0x115)](_0x1e8707);}static[a46_0x5b61fd(0x133)](_0x4c9c3f,_0x2ebc55){const _0x278bcc=a46_0x5b61fd,_0x1b204e={};_0x1b204e[_0x278bcc(0x129)]='.browserstack',_0x1b204e[_0x278bcc(0x139)]=_0x278bcc(0x102);const _0x27f1a7=_0x1b204e;try{const _0x24244a=path[_0x278bcc(0x12b)](helper['homedir'](),_0x27f1a7['wYWwW']);if(!fs[_0x278bcc(0x11e)](_0x24244a)){const _0x2336ac={};_0x2336ac[_0x278bcc(0x128)]=!![],fs[_0x278bcc(0x149)](_0x24244a,_0x2336ac);}fs[_0x278bcc(0x111)](path[_0x278bcc(0x12b)](_0x24244a,_0x278bcc(0x146)+_0x2ebc55+'.txt'),_0x4c9c3f+'\x0a',_0x27f1a7[_0x278bcc(0x139)]);}catch(_0x149a5f){console[_0x278bcc(0x110)](_0x278bcc(0x107)+_0x149a5f[_0x278bcc(0x140)]);}}}function a46_0xfaaf(_0x50beb7,_0x2429bb){const _0x29c8b7=a46_0x29c8();return a46_0xfaaf=function(_0xfaaf27,_0x37635f){_0xfaaf27=_0xfaaf27-0xfc;let _0x4619ae=_0x29c8b7[_0xfaaf27];return _0x4619ae;},a46_0xfaaf(_0x50beb7,_0x2429bb);}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x34b748=a47_0x187c;(function(_0x268fcb,_0x2f5c57){const _0x3dc7a1=a47_0x187c,_0x13d598=_0x268fcb();while(!![]){try{const _0x497b21=parseInt(_0x3dc7a1(0xba))/0x1+-parseInt(_0x3dc7a1(0xa5))/0x2+parseInt(_0x3dc7a1(0x10f))/0x3+parseInt(_0x3dc7a1(0x118))/0x4+-parseInt(_0x3dc7a1(0xa3))/0x5+-parseInt(_0x3dc7a1(0xcc))/0x6*(parseInt(_0x3dc7a1(0xb8))/0x7)+parseInt(_0x3dc7a1(0xeb))/0x8;if(_0x497b21===_0x2f5c57)break;else _0x13d598['push'](_0x13d598['shift']());}catch(_0x5e8a59){_0x13d598['push'](_0x13d598['shift']());}}}(a47_0x3c38,0x4c35e));function a47_0x187c(_0x333e9f,_0x529f10){const _0x3c38e6=a47_0x3c38();return a47_0x187c=function(_0x187c51,_0x41bdd2){_0x187c51=_0x187c51-0x77;let _0x10e23b=_0x3c38e6[_0x187c51];return _0x10e23b;},a47_0x187c(_0x333e9f,_0x529f10);}function a47_0x3c38(){const _0x445b36=['MVagy','browserName','IArRE','./accessibility-helper','../../helpers/helper','vvnXN','browserstack','../../helpers/test-observability/utils','bStackParams','currentTest','platform','1495808oUrKEv','ATS_WSS_URL_REGEX','EMDqi','titlePath','sessionId','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Device\x20Model\x20is\x20not\x20available','fromEntries','Page\x20Scan\x20result=','channel','trackEvent','../../helpers/test-observability/error-handler','QHSwr','../../helpers/accessibility-automation/accessibilityRetryHelper.js','VqjeN','NFmmN','Setting\x20session\x20id\x20received\x20from\x20BS\x20','_onMessage','zUjfi','crConnection.js','tglFw','url','bsSessionId','testInfo','getInstance','FOOzh','ExCyZ','zsUXi','platformName','Performing\x20scan\x20for\x20','Error\x20in\x20importing\x20connection\x20','Dvbub','debug','EiIss','GZnFL','dispatch','469305SAFhAl','patchConnection','wsEndpoint','client','platformVersion','../../bin/playwright/accessibility-helper','apply','tIUte','BNnOU','998204YSnUQj','chromium','lib','assign','includes','project','isRemote','bFLed','isRunning','bstackPerformA11yScan','rXReL','yKVFF','yIEZI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','browser_version','vuzYI','../../helpers/logger','mayFd','PLAYWRIGHT_DISPATCH','oBGvv','__driver','OdmfH','dgLkm','Not\x20able\x20to\x20import\x20Connection','currentSessionDetails','sendMessageToServer','kkyMq','eICaa','format','accessibilityPlatform','safari','patch','LTAMJ','emrMt','MptuH','connection.js','_browserType','iUafH','pwPage','local_grid','edge','CDiKy','oOqXU','browser','../v2/browserstackCLI','playwright-','HVOPL','SyfzQ','__workerDetails','LLnEI','product','Error\x20in\x20importing\x20crConnection','BSTACK_URL','cMtVa','zUkNA','BROWSERSTACK_TEST_OBSERVABILITY','performScan','OhOcY','winstonLogger','info','patchCRConnection','toString','automate','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','getAutomationFramework','FvCWI','setupBrowserDetails','575200EkBEio','util','692090XbNPgY','POST','message','capabilities','platformDetails','query','unknown_grid','hbpZX','platform_version','join','parse','aBEEu','vBklw','sessionError','bKJMm','Connection','cloudProvider','getDetails','chrome','21bWeFom','YxdEo','287603DFIRBN','../v2/state/hookState.js','XGftY','function','reportSessionLinkingIssue','bsParams','MQTyJ','prototype','params','exports','XdEPj','CRConnection','defineProperty','lDQpU','YCgWX','shouldWrapCommand','wIlYm','use','214644AvLBTg','../../helpers/accessibility-automation/scripts','model','_defaultConnectOptions','gzCNL','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','NeFBd','OyqZV','LhVgw','tcxpH','fLKBG','NPLPu','_name','nUugU','FHfHr','Driver\x20Scan\x20result=','UkJdD','version','ruryP','etqhG'];a47_0x3c38=function(){return _0x445b36;};return a47_0x3c38();}const path=require('path'),url=require(a47_0x34b748(0x100)),util=require(a47_0x34b748(0xa4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x34b748(0xe4)),{o11yErrorHandler}=require(a47_0x34b748(0xf6)),{debug,getPlatformDetails}=require(a47_0x34b748(0xe7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a47_0x34b748(0x128))[a47_0x34b748(0x9a)],scripts=require(a47_0x34b748(0xcd)),{browserStackExecuteDriver}=require(a47_0x34b748(0x114)),AccessibilityHelper=require(a47_0x34b748(0xe3)),constants=require('../utils/constants'),BrowserstackCLI=require(a47_0x34b748(0x8c)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a47_0x34b748(0xbb)),{performScanWithRetry}=require(a47_0x34b748(0xf8)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x1ac8e1=>{const _0x5982d2=a47_0x34b748,_0x4e776e={};_0x4e776e[_0x5982d2(0xda)]='chrome',_0x4e776e['MVagy']=_0x5982d2(0x88),_0x4e776e[_0x5982d2(0x91)]='firefox',_0x4e776e['CDiKy']=_0x5982d2(0x7e);const _0x4cf755=_0x4e776e;if(_0x1ac8e1['includes'](_0x4cf755[_0x5982d2(0xda)]))return _0x4cf755[_0x5982d2(0xda)];if(_0x1ac8e1[_0x5982d2(0x11c)](_0x4cf755[_0x5982d2(0xe0)]))return _0x4cf755[_0x5982d2(0xe0)];if(_0x1ac8e1[_0x5982d2(0x11c)](_0x4cf755[_0x5982d2(0x91)]))return _0x4cf755['LLnEI'];if(_0x1ac8e1['includes'](_0x4cf755['CDiKy']))return _0x4cf755[_0x5982d2(0x89)];},getBrowserFromWSEndpoint=_0x351080=>{const _0x4bcb88=a47_0x34b748,_0x24b3d3={'buedR':_0x4bcb88(0xb7),'BrvpX':function(_0xdffbcc,_0x41a41e){return _0xdffbcc(_0x41a41e);}};try{const _0x5dbab8=url[_0x4bcb88(0xaf)](_0x351080),_0x266961=new URLSearchParams(_0x5dbab8[_0x4bcb88(0xaa)]),_0x37d8cf=Object[_0x4bcb88(0xf2)](_0x266961['entries']()),_0x33cbd2=JSON[_0x4bcb88(0xaf)](_0x37d8cf['caps']);if(_0x33cbd2&&(_0x33cbd2[_0x4bcb88(0x8b)]||_0x33cbd2[_0x4bcb88(0xe1)]))return _0x33cbd2[_0x4bcb88(0x8b)]||_0x33cbd2[_0x4bcb88(0xe1)];return _0x24b3d3['buedR'];}catch(_0x3b15f1){_0x24b3d3['BrvpX'](debug,_0x4bcb88(0xd1)+_0x3b15f1[_0x4bcb88(0x9d)]());}},getCloudProviderFromWsEndpoint=_0x132a18=>{const _0xe88ddd=a47_0x34b748,_0x1554c5={};_0x1554c5[_0xe88ddd(0x127)]=_0xe88ddd(0xe6),_0x1554c5[_0xe88ddd(0x7b)]=_0xe88ddd(0xab);const _0x4404db=_0x1554c5;if(_0x132a18[_0xe88ddd(0x11c)](constants[_0xe88ddd(0x94)])||_0x132a18[_0xe88ddd(0x11c)](constants['BSTACK_ATS_URL']))return _0x4404db['vuzYI'];return _0x4404db[_0xe88ddd(0x7b)];},a47_0xc4ff6d={};a47_0xc4ff6d[a47_0x34b748(0xb5)]=undefined,a47_0xc4ff6d[a47_0x34b748(0x101)]=undefined,a47_0xc4ff6d[a47_0x34b748(0x8b)]=undefined,a47_0xc4ff6d[a47_0x34b748(0x126)]=undefined,a47_0xc4ff6d[a47_0x34b748(0xea)]=undefined,a47_0xc4ff6d[a47_0x34b748(0xad)]=undefined,a47_0xc4ff6d['product']=undefined,a47_0xc4ff6d[a47_0x34b748(0xa8)]={};class PlaywrightSessionDetails{static [a47_0x34b748(0x78)]=a47_0xc4ff6d;constructor(){const _0x20b32f=a47_0x34b748,_0x3a32fe={};_0x3a32fe[_0x20b32f(0xb3)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x234a5d=_0x3a32fe;throw new Error(_0x234a5d[_0x20b32f(0xb3)]);}static ['sessionError']=null;static[a47_0x34b748(0xa2)](_0x3ce927,_0x35d194,_0x4bfe9e=null){const _0x280a3e=a47_0x34b748,_0x56b6f0={'NFmmN':function(_0x4d052f,_0x1f8573){return _0x4d052f===_0x1f8573;},'QHSwr':_0x280a3e(0xbd),'JySuC':_0x280a3e(0xf0),'GZnFL':_0x280a3e(0xf1),'oOqXU':_0x280a3e(0x87),'MQTyJ':function(_0x427ffe,_0x34a2f9,_0x133aaa){return _0x427ffe(_0x34a2f9,_0x133aaa);},'YxdEo':_0x280a3e(0x84),'yKVFF':_0x280a3e(0xcf),'gzCNL':function(_0x3f1875,_0xc3e636,_0x34c8e9){return _0x3f1875(_0xc3e636,_0x34c8e9);},'EMDqi':_0x280a3e(0x11d),'yIEZI':_0x280a3e(0xcb),'emrMt':'connectOptions','cMtVa':function(_0x47813a,_0x29ac0b){return _0x47813a(_0x29ac0b);},'IIlao':function(_0x2b4759,_0x3dd6fd){return _0x2b4759===_0x3dd6fd;},'LhVgw':'browserstack','bFLed':'turboscale','hDrhM':_0x280a3e(0x9e),'vBklw':function(_0xed4230,_0x53b066){return _0xed4230(_0x53b066);},'vvnXN':function(_0x235ae6,_0x3d2b9c){return _0x235ae6+_0x3d2b9c;},'MptuH':_0x280a3e(0x8d),'kkyMq':function(_0x5954ba){return _0x5954ba();},'Dvbub':_0x280a3e(0xa2)},_0x3fa6c9=this;return _0x56b6f0[_0x280a3e(0xd0)](o11yErrorHandler,async function _0x43b2ad(_0x14bbe6,_0x5c20ba,_0x3438a0=null){const _0x46ee26=_0x280a3e;let _0x36ff7a=_0x14bbe6[_0x46ee26(0xd8)],_0x36fd52=null;_0x14bbe6&&_0x56b6f0[_0x46ee26(0xfa)](typeof _0x14bbe6[_0x46ee26(0xdd)],_0x56b6f0[_0x46ee26(0xf7)])?_0x36fd52=_0x14bbe6['version']():logger[_0x46ee26(0x10b)](_0x56b6f0['JySuC']);let _0x3a0ccf=null;_0x14bbe6&&_0x56b6f0[_0x46ee26(0xfa)](typeof _0x14bbe6[_0x46ee26(0xce)],_0x56b6f0['QHSwr'])?_0x3a0ccf=_0x14bbe6[_0x46ee26(0xce)]():logger['debug'](_0x56b6f0[_0x46ee26(0x10d)]);let _0x2c9e00=null,_0x227897=null,_0x29adfa=null,_0x13a92e=_0x56b6f0[_0x46ee26(0x8a)];if(_0x14bbe6['_connection'][_0x46ee26(0x11e)]()||global[_0x46ee26(0x7d)]){let _0x55302b=null;_0x56b6f0[_0x46ee26(0xc0)](nestedKeyValue,_0x14bbe6,[_0x56b6f0[_0x46ee26(0xb9)],_0x56b6f0[_0x46ee26(0x123)]])?_0x55302b=_0x14bbe6[_0x46ee26(0x84)][_0x46ee26(0xcf)]:_0x55302b=_0x56b6f0[_0x46ee26(0xd0)](nestedKeyValue,_0x5c20ba,[_0x56b6f0[_0x46ee26(0xed)],_0x56b6f0[_0x46ee26(0x124)],_0x56b6f0[_0x46ee26(0x81)]]);const _0x9bbdfa=_0x3438a0||_0x55302b&&_0x55302b[_0x46ee26(0x111)];_0x9bbdfa&&(_0x13a92e=_0x56b6f0[_0x46ee26(0x95)](getCloudProviderFromWsEndpoint,_0x9bbdfa),_0x56b6f0['IIlao'](_0x13a92e,_0x56b6f0[_0x46ee26(0xd4)])&&(_0x29adfa=constants[_0x46ee26(0xec)]['test'](_0x9bbdfa)?_0x56b6f0[_0x46ee26(0x11f)]:_0x56b6f0['hDrhM'],_0x36ff7a=_0x56b6f0[_0x46ee26(0xb1)](getBrowserFromWSEndpoint,_0x9bbdfa)||_0x36ff7a,_0x2c9e00=_0x3fa6c9[_0x46ee26(0x78)]['platform'],_0x227897=_0x3fa6c9[_0x46ee26(0x78)][_0x46ee26(0xad)]));}else{_0x5c20ba&&_0x5c20ba[_0x46ee26(0x11d)][_0x46ee26(0xcb)][_0x46ee26(0xf4)]?_0x36ff7a=_0x56b6f0[_0x46ee26(0xb1)](getBrowserNameFromChannel,_0x5c20ba[_0x46ee26(0x11d)][_0x46ee26(0xcb)][_0x46ee26(0xf4)]):_0x36ff7a=_0x56b6f0[_0x46ee26(0xe5)](_0x56b6f0[_0x46ee26(0x82)],_0x36ff7a['toLowerCase']());const _0x3c1215=await _0x56b6f0[_0x46ee26(0x7a)](getPlatformDetails);_0x2c9e00=_0x3c1215[_0x46ee26(0x107)],_0x227897=_0x3c1215[_0x46ee26(0x113)];}const _0x2ec655={};_0x2ec655['browser']=_0x36ff7a,_0x2ec655[_0x46ee26(0x126)]=_0x36fd52,_0x2ec655['capabilities']={},_0x2ec655[_0x46ee26(0xea)]=_0x2c9e00,_0x2ec655[_0x46ee26(0xad)]=_0x227897,_0x2ec655[_0x46ee26(0x92)]=_0x29adfa;const _0x42974f=_0x2ec655;_0x3a0ccf&&(_0x42974f['capabilities']['deviceModel']=_0x3a0ccf);const _0x26f542={};_0x26f542[_0x46ee26(0xb5)]=_0x13a92e,_0x3fa6c9['currentSessionDetails']=Object[_0x46ee26(0x11b)]({},_0x3fa6c9[_0x46ee26(0x78)],_0x26f542,_0x42974f);},_0x56b6f0[_0x280a3e(0x10a)])(_0x3ce927,_0x35d194,_0x4bfe9e);}static[a47_0x34b748(0x7f)](){const _0x2b19f7=a47_0x34b748;this[_0x2b19f7(0x110)](),this[_0x2b19f7(0x9c)]();}static['patchConnection'](){const _0x4304eb=a47_0x34b748,_0x54dee8={'SyfzQ':function(_0x47672c,_0x1e8cd9,_0x484e04){return _0x47672c(_0x1e8cd9,_0x484e04);},'DIrjH':_0x4304eb(0xe9),'HVOPL':_0x4304eb(0x102),'LRRAo':_0x4304eb(0xee),'tIUte':_0x4304eb(0x90),'tcxpH':_0x4304eb(0x86),'XGftY':function(_0x1ec358,_0xfcad23){return _0x1ec358===_0xfcad23;},'fLKBG':'Page','zUjfi':function(_0x36a88c,_0x136234,_0x3a04d5,_0x1dab26){return _0x36a88c(_0x136234,_0x3a04d5,_0x1dab26);},'EiIss':function(_0x304649,_0x4e03d8){return _0x304649||_0x4e03d8;},'aBEEu':function(_0x1572aa,_0x1b1c06){return _0x1572aa(_0x1b1c06);},'BNnOU':_0x4304eb(0x11a),'OdmfH':_0x4304eb(0x112),'XXWTz':_0x4304eb(0x83),'tglFw':_0x4304eb(0x77),'FvCWI':function(_0x4796a3,_0x23109b){return _0x4796a3(_0x23109b);},'zUkNA':function(_0x39c60f,_0x193396){return _0x39c60f!=_0x193396;},'iUafH':function(_0x1bd5a8){return _0x1bd5a8();},'OhOcY':'sendMessageToServer','XdEPj':function(_0x22d63a,_0x4c53c5){return _0x22d63a(_0x4c53c5);},'oBGvv':_0x4304eb(0x10e)},_0x2cf4b4=this;if(!this[_0x4304eb(0xb4)])try{const _0x480765=path[_0x4304eb(0xae)](_0x54dee8[_0x4304eb(0x117)],_0x54dee8[_0x4304eb(0x12d)],_0x54dee8['XXWTz']),_0x5032f6=_0x54dee8[_0x4304eb(0xb0)](importFileFromPWCore,_0x480765);!_0x5032f6?_0x54dee8['aBEEu'](debug,_0x54dee8[_0x4304eb(0xff)]):this[_0x4304eb(0xb4)]=_0x5032f6[_0x4304eb(0xb4)];}catch(_0x4510ca){_0x54dee8['FvCWI'](debug,_0x4304eb(0x109)+_0x4510ca['toString']());}const _0x4145c3=this[_0x4304eb(0xb4)];try{if(_0x54dee8[_0x4304eb(0x96)](_0x4145c3,null)){const _0x3523ad=_0x4145c3['prototype']['dispatch'],_0x219281=_0x4145c3[_0x4304eb(0xc1)][_0x4304eb(0x79)];_0x54dee8[_0x4304eb(0x85)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x4145c3['prototype'],_0x54dee8[_0x4304eb(0x99)],{'get':function(){const _0x1596c0=_0x4304eb,_0x2f0c16={'rXReL':function(_0x13a14b,_0x20a824,_0x28f3d8){const _0x54367d=a47_0x187c;return _0x54dee8[_0x54367d(0x8f)](_0x13a14b,_0x20a824,_0x28f3d8);},'rqpgf':_0x54dee8['DIrjH'],'lDQpU':_0x54dee8[_0x1596c0(0x8e)],'ExCyZ':_0x54dee8['LRRAo'],'IArRE':function(_0x52869c,_0x4d4bf8,_0x3e13d4){const _0x457092=_0x1596c0;return _0x54dee8[_0x457092(0x8f)](_0x52869c,_0x4d4bf8,_0x3e13d4);},'VqjeN':_0x54dee8[_0x1596c0(0x116)],'zsUXi':_0x54dee8[_0x1596c0(0xd5)],'NPLPu':function(_0x716438,_0x326ad7){const _0x5439d0=_0x1596c0;return _0x54dee8[_0x5439d0(0xbc)](_0x716438,_0x326ad7);},'dgLkm':_0x54dee8[_0x1596c0(0xd6)],'FOOzh':function(_0x450085,_0x210b5b,_0x537d6b,_0x450a6a){const _0x251d6c=_0x1596c0;return _0x54dee8[_0x251d6c(0xfd)](_0x450085,_0x210b5b,_0x537d6b,_0x450a6a);}};return async function(){const _0x1f79f7=_0x1596c0;try{if(!global['bstackPerformA11yScan']&&global[_0x1f79f7(0x7d)]&&_0x2f0c16[_0x1f79f7(0x122)](nestedKeyValue,global[_0x1f79f7(0x90)],[_0x2f0c16['rqpgf'],_0x2f0c16[_0x1f79f7(0xc7)],_0x2f0c16[_0x1f79f7(0x105)]])&&_0x2f0c16['IArRE'](shouldScanTestForAccessibility,global[_0x1f79f7(0x90)]['currentTest'][_0x1f79f7(0x102)][_0x1f79f7(0xee)],!![])&&scripts[_0x1f79f7(0xc9)](arguments[0x1])){logger[_0x1f79f7(0x10b)](_0x1f79f7(0x108)+arguments[0x1]),global[_0x1f79f7(0x121)]=!![];const _0x5b0368=_0x2f0c16[_0x1f79f7(0x122)](nestedKeyValue,global,[_0x2f0c16[_0x1f79f7(0xf9)],_0x2f0c16[_0x1f79f7(0x106)]]);_0x5b0368&&logger[_0x1f79f7(0x9b)](_0x1f79f7(0xf3)+util[_0x1f79f7(0x7c)](await _0x2f0c16[_0x1f79f7(0xe2)](performScanWithRetry,_0x5b0368,arguments[0x1]))),_0x2f0c16[_0x1f79f7(0xd7)](arguments[0x0]['_type'],_0x2f0c16[_0x1f79f7(0x12e)])&&global[_0x1f79f7(0x12c)]&&logger[_0x1f79f7(0x9b)](_0x1f79f7(0xdb)+util[_0x1f79f7(0x7c)](await _0x2f0c16[_0x1f79f7(0x104)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x1f79f7(0x98)])));}}catch(_0x568d59){logger[_0x1f79f7(0x10b)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x1f79f7(0x7c)](_0x568d59));}return global[_0x1f79f7(0x121)]=![],_0x219281['apply'](this,arguments);};}}),!_0x54dee8[_0x4304eb(0xc4)](isFalse,process['env'][_0x4304eb(0x97)])&&Object['defineProperty'](_0x4145c3[_0x4304eb(0xc1)],_0x54dee8[_0x4304eb(0x12b)],{'get':function(){return async function _0x47cefc(_0x19906b){const _0x493b73=a47_0x187c;if(BrowserstackCLI[_0x493b73(0x103)]()[_0x493b73(0x120)]()){const _0x3f100={};_0x3f100['message']=_0x19906b,await BrowserstackCLI['getInstance']()[_0x493b73(0xa0)]()[_0x493b73(0xf5)](AutomationFrameworkState[_0x493b73(0x12a)],HookState[_0x493b73(0xa6)],_0x3f100);}else{const _0x25adf9=_0x19906b&&_0x19906b[_0x493b73(0xc2)]&&_0x19906b[_0x493b73(0xc2)][_0x493b73(0xbf)];if(_0x25adf9){const _0x1bcc9c=_0x25adf9[_0x493b73(0xef)],_0x4bdd23=_0x25adf9[_0x493b73(0xa9)];_0x54dee8[_0x493b73(0x10c)](!_0x1bcc9c,!_0x4bdd23)&&await ClientTroubleShootingService[_0x493b73(0xbe)](),_0x4bdd23&&(_0x54dee8[_0x493b73(0xb0)](debug,_0x493b73(0x125)+_0x4bdd23['toString']()),_0x2cf4b4[_0x493b73(0x78)]['platform']=_0x4bdd23['platformName'],_0x2cf4b4[_0x493b73(0x78)][_0x493b73(0xad)]=_0x4bdd23[_0x493b73(0x113)]),_0x1bcc9c&&(_0x54dee8[_0x493b73(0xb0)](debug,_0x493b73(0xfb)+_0x1bcc9c),_0x2cf4b4[_0x493b73(0x78)][_0x493b73(0x101)]=_0x1bcc9c);}}return _0x3523ad[_0x493b73(0x115)](this,arguments);};}});}}catch(_0x46d319){_0x54dee8[_0x4304eb(0xa1)](debug,_0x4304eb(0x9f)+_0x46d319),_0x2cf4b4[_0x4304eb(0xb2)]=_0x46d319[_0x4304eb(0x9d)]();}}static[a47_0x34b748(0x9c)](){const _0x4a73a9=a47_0x34b748,_0x44f18a={'LTAMJ':function(_0x16af98,_0x566bf2){return _0x16af98(_0x566bf2);},'pqvLg':function(_0x10df32,_0x2920f3){return _0x10df32(_0x2920f3);},'etqhG':function(_0x45fac2){return _0x45fac2();},'UkJdD':'lib','NeFBd':'server','vnWcw':_0x4a73a9(0x119),'OyqZV':_0x4a73a9(0xfe),'hbpZX':function(_0x141a55,_0x492a00){return _0x141a55(_0x492a00);},'YCgWX':'Not\x20able\x20to\x20import\x20crConnection','WSigT':_0x4a73a9(0x93),'wIlYm':function(_0x5293b2,_0x2bcb61){return _0x5293b2!=_0x2bcb61;},'mayFd':_0x4a73a9(0xfc)},_0x452f97=this;if(_0x44f18a[_0x4a73a9(0xdf)](isAccessibilityAutomationSession)){let _0x4dc07c=null;try{const _0x4d9909=path[_0x4a73a9(0xae)](_0x44f18a[_0x4a73a9(0xdc)],_0x44f18a[_0x4a73a9(0xd2)],_0x44f18a['vnWcw'],_0x44f18a[_0x4a73a9(0xd3)]),_0x18fe74=_0x44f18a[_0x4a73a9(0xac)](importFileFromPWCore,_0x4d9909);!_0x18fe74?_0x44f18a[_0x4a73a9(0xac)](debug,_0x44f18a[_0x4a73a9(0xc8)]):_0x4dc07c=_0x18fe74[_0x4a73a9(0xc5)];}catch(_0x4be204){_0x44f18a[_0x4a73a9(0xac)](debug,_0x44f18a['WSigT']);}try{if(_0x44f18a[_0x4a73a9(0xca)](_0x4dc07c,null)){const _0x5393eb=_0x4dc07c[_0x4a73a9(0xc1)][_0x4a73a9(0xfc)];Object[_0x4a73a9(0xc6)](_0x4dc07c['prototype'],_0x44f18a[_0x4a73a9(0x129)],{'get':function(){const _0x38fda3={'ruryP':function(_0x51d414,_0x510b27){const _0xea3fdf=a47_0x187c;return _0x44f18a[_0xea3fdf(0x80)](_0x51d414,_0x510b27);},'nUugU':function(_0x398c02,_0x3eb749){return _0x44f18a['pqvLg'](_0x398c02,_0x3eb749);}};return async function _0x320913(_0x5e1b90){const _0x85cf6f=a47_0x187c;try{if(BrowserstackCLI[_0x85cf6f(0x103)]()[_0x85cf6f(0x120)]()){const _0x27d02a={};_0x27d02a[_0x85cf6f(0xa7)]=_0x5e1b90,await BrowserstackCLI['getInstance']()[_0x85cf6f(0xa0)]()[_0x85cf6f(0xf5)](AutomationFrameworkState[_0x85cf6f(0x12a)],HookState['POST'],_0x27d02a),delete _0x5e1b90[_0x85cf6f(0xe8)];}else{const _0x20c347=_0x5e1b90[_0x85cf6f(0xe8)];if(_0x20c347){delete _0x5e1b90[_0x85cf6f(0xe8)];const _0x18a346=_0x20c347['sessionId'],_0x4ae051=_0x20c347['platformDetails'];_0x4ae051&&(_0x38fda3[_0x85cf6f(0xde)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x4ae051[_0x85cf6f(0x9d)]()),_0x452f97[_0x85cf6f(0x78)][_0x85cf6f(0xea)]=_0x4ae051[_0x85cf6f(0x107)],_0x452f97['currentSessionDetails'][_0x85cf6f(0xad)]=_0x4ae051[_0x85cf6f(0x113)]),_0x18a346&&(_0x38fda3[_0x85cf6f(0xd9)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x18a346),_0x452f97[_0x85cf6f(0x78)][_0x85cf6f(0x101)]=_0x18a346);}}}catch(_0x142508){_0x38fda3[_0x85cf6f(0xd9)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x142508[_0x85cf6f(0x9d)]());}return _0x5393eb[_0x85cf6f(0x115)](this,arguments);};}});}}catch(_0x457155){_0x44f18a[_0x4a73a9(0x80)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x457155),_0x452f97[_0x4a73a9(0xb2)]=_0x457155[_0x4a73a9(0x9d)]();}}}static[a47_0x34b748(0xb6)](){return this['currentSessionDetails'];}}module[a47_0x34b748(0xc3)]=PlaywrightSessionDetails;
|
|
1
|
+
const a47_0x1cfb4a=a47_0x16a2;function a47_0x4815(){const _0x415d24=['Page','XLXgm','EOdgo','chrome','Page\x20Scan\x20result=','server','100352irIDfo','JZWte','params','_defaultConnectOptions','Not\x20able\x20to\x20import\x20Connection','parse','vqmIO','../../helpers/accessibility-automation/helper','platform','2zkiXCX','oUfei','CzteX','wvUcu','VkjYk','browser_version','turboscale','YxxDy','4450041sZpaRr','lvJKe','platformName','aMAWU','Device\x20Model\x20is\x20not\x20available','66115Zkkymv','PLAYWRIGHT_DISPATCH','browserName','OkSFu','test','unknown_grid','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','accessibilityPlatform','isRemote','BSTACK_ATS_URL','AyoHH','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','ClGam','BYaYO','FeXgT','bsParams','bstackPerformA11yScan','Wbnzt','WcUjO','PldDX','Connection','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','dtenM','DdHuq','isRunning','sessionId','currentTest','8RzQKyR','256718DZRsMU','VmqHg','qaZYz','zFRqG','wKlPH','join','trmoN','_browserType','../v2/state/hookState.js','WBTSY','crConnection.js','safari','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','reportSessionLinkingIssue','Driver\x20Scan\x20result=','getDetails','aLYiN','client','Not\x20able\x20to\x20import\x20crConnection','PDrPj','nSsOa','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','aYFwo','70nZNBBN','POST','_onMessage','aZeCC','_name','QnloL','JROEB','lib','toString','setupBrowserDetails','KHbCC','automate','QgimB','toLowerCase','../v2/browserstackCLI','../../bin/playwright/accessibility-helper','bwLXe','GXjFy','url','BSTACK_URL','wsEndpoint','247008MAxSvk','patchCRConnection','browserstack','awpZj','includes','dispatch','bsSessionId','lJIHi','channel','entries','BlOLM','patchConnection','use','info','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','JwJjT','NWLBJ','__driver','getInstance','../../helpers/test-observability/error-handler','759870LTarBk','8TPrcVq','1116615rlEOym','LQtbq','assign','shouldWrapCommand','model','cloudProvider','_type','platformVersion','../utils/constants','Error\x20in\x20importing\x20connection\x20','jqHCi','winstonLogger','yOFuS','../v2/state/automationFrameworkState.js','Dqbmx','UezmL','testInfo','hQbUw','dPXWR','../../helpers/test-observability/utils','patch','platform_version','COSpp','titlePath','browser','bStackParams','ptfoD','performScan','KXpUX','capabilities','prototype','ZFNzn','getAutomationFramework','format','sessionError','query','debug','firefox','Hyfze','ftIuu','__workerDetails','../../helpers/helper','KixsZ','apply','OhwGK','bNylL','Error\x20in\x20finding\x20platform\x20details\x20','version','Setting\x20session\x20id\x20received\x20from\x20BS\x20','JUHkv','currentSessionDetails','pwPage','./accessibility-helper','MangR','platformDetails','Error\x20in\x20importing\x20crConnection','message','BROWSERSTACK_TEST_OBSERVABILITY','product','../utils/clientTroubleshootingService.js','tveQd','_connection','zkmCH','defineProperty','env','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Failed\x20to\x20perform\x20scan\x20'];a47_0x4815=function(){return _0x415d24;};return a47_0x4815();}(function(_0x18c6e3,_0x19dcb4){const _0x7f3784=a47_0x16a2,_0x356994=_0x18c6e3();while(!![]){try{const _0x43cb48=-parseInt(_0x7f3784(0x7c))/0x1+parseInt(_0x7f3784(0x85))/0x2*(parseInt(_0x7f3784(0xf0))/0x3)+-parseInt(_0x7f3784(0xad))/0x4*(-parseInt(_0x7f3784(0xee))/0x5)+parseInt(_0x7f3784(0xda))/0x6+parseInt(_0x7f3784(0x92))/0x7+-parseInt(_0x7f3784(0xef))/0x8*(parseInt(_0x7f3784(0x8d))/0x9)+-parseInt(_0x7f3784(0xc5))/0xa*(-parseInt(_0x7f3784(0xae))/0xb);if(_0x43cb48===_0x19dcb4)break;else _0x356994['push'](_0x356994['shift']());}catch(_0x429cd8){_0x356994['push'](_0x356994['shift']());}}}(a47_0x4815,0x481a3));const path=require('path'),url=require(a47_0x1cfb4a(0xd7)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x1cfb4a(0x119)),{o11yErrorHandler}=require(a47_0x1cfb4a(0xed)),{debug,getPlatformDetails}=require(a47_0x1cfb4a(0x103)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x1cfb4a(0x83)),logger=require('../../helpers/logger')[a47_0x1cfb4a(0xfb)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a47_0x1cfb4a(0xd4)),AccessibilityHelper=require(a47_0x1cfb4a(0x124)),constants=require(a47_0x1cfb4a(0xf8)),BrowserstackCLI=require(a47_0x1cfb4a(0xd3)),AutomationFrameworkState=require(a47_0x1cfb4a(0xfd)),HookState=require(a47_0x1cfb4a(0xb6)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x1cfb4a(0x12b)),getBrowserNameFromChannel=_0x4e8afe=>{const _0x134b21=a47_0x1cfb4a,_0x18bb59={};_0x18bb59[_0x134b21(0x11d)]='chrome',_0x18bb59[_0x134b21(0xe9)]='edge',_0x18bb59['aLYiN']=_0x134b21(0x115),_0x18bb59['aZeCC']=_0x134b21(0xb9);const _0x244d8f=_0x18bb59;if(_0x4e8afe['includes'](_0x244d8f[_0x134b21(0x11d)]))return _0x244d8f['bNylL'];if(_0x4e8afe[_0x134b21(0xde)](_0x244d8f[_0x134b21(0xe9)]))return _0x244d8f[_0x134b21(0xe9)];if(_0x4e8afe[_0x134b21(0xde)](_0x244d8f[_0x134b21(0xbe)]))return _0x244d8f[_0x134b21(0xbe)];if(_0x4e8afe['includes'](_0x244d8f[_0x134b21(0xc8)]))return _0x244d8f[_0x134b21(0xc8)];},getBrowserFromWSEndpoint=_0x3b6679=>{const _0x4bebd5=a47_0x1cfb4a,_0x4f6db9={'QnloL':_0x4bebd5(0x79),'WBTSY':function(_0x124f62,_0x453fde){return _0x124f62(_0x453fde);}};try{const _0x545dce=url[_0x4bebd5(0x81)](_0x3b6679),_0x266756=new URLSearchParams(_0x545dce[_0x4bebd5(0x113)]),_0x467fe1=Object['fromEntries'](_0x266756[_0x4bebd5(0xe3)]()),_0x14f966=JSON[_0x4bebd5(0x81)](_0x467fe1['caps']);if(_0x14f966&&(_0x14f966[_0x4bebd5(0x108)]||_0x14f966[_0x4bebd5(0x94)]))return _0x14f966[_0x4bebd5(0x108)]||_0x14f966['browserName'];return _0x4f6db9[_0x4bebd5(0xca)];}catch(_0x57156c){_0x4f6db9[_0x4bebd5(0xb7)](debug,_0x4bebd5(0xba)+_0x57156c['toString']());}},getCloudProviderFromWsEndpoint=_0x4eb890=>{const _0x3aab27=a47_0x1cfb4a,_0x22f74d={};_0x22f74d['KXpUX']='browserstack',_0x22f74d['wUpbH']=_0x3aab27(0x97);const _0x40626d=_0x22f74d;if(_0x4eb890[_0x3aab27(0xde)](constants[_0x3aab27(0xd8)])||_0x4eb890[_0x3aab27(0xde)](constants[_0x3aab27(0x9b)]))return _0x40626d[_0x3aab27(0x10c)];return _0x40626d['wUpbH'];},a47_0x17cde5={};a47_0x17cde5[a47_0x1cfb4a(0xf5)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0xe0)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x108)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x8a)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x84)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x105)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x12a)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x10d)]={};class PlaywrightSessionDetails{static [a47_0x1cfb4a(0x122)]=a47_0x17cde5;constructor(){const _0x56b5fc=a47_0x1cfb4a,_0x2e3e1e={};_0x2e3e1e[_0x56b5fc(0x106)]=_0x56b5fc(0xe8);const _0x424a2a=_0x2e3e1e;throw new Error(_0x424a2a[_0x56b5fc(0x106)]);}static [a47_0x1cfb4a(0x112)]=null;static['setupBrowserDetails'](_0x3c70b2,_0x3238e1,_0x3e244d=null){const _0x3ac7ae=a47_0x1cfb4a,_0x2239b2={'ClGam':function(_0xe3289b,_0x5c37f7){return _0xe3289b===_0x5c37f7;},'JUHkv':'function','boQUE':_0x3ac7ae(0x98),'vqmIO':function(_0x1cb9f5,_0xd42619){return _0x1cb9f5===_0xd42619;},'fjwJD':_0x3ac7ae(0x91),'EOdgo':'local_grid','BlOLM':function(_0x57fc5d,_0x32b851,_0x5ddf21){return _0x57fc5d(_0x32b851,_0x5ddf21);},'QgimB':_0x3ac7ae(0xb5),'JZWte':_0x3ac7ae(0x7f),'zFRqG':_0x3ac7ae(0x73),'DdHuq':'use','qaZYz':'connectOptions','Wbnzt':function(_0x5bf1ba,_0x466f25){return _0x5bf1ba(_0x466f25);},'aYFwo':_0x3ac7ae(0xdc),'lJIHi':_0x3ac7ae(0x8b),'ZeepL':_0x3ac7ae(0xd0),'thMGX':function(_0x5da1a4,_0x441694){return _0x5da1a4(_0x441694);},'MuuZC':function(_0x5dd58e,_0x4db52b){return _0x5dd58e(_0x4db52b);},'nSsOa':function(_0x589cf7,_0x5f200e){return _0x589cf7+_0x5f200e;},'McEyF':'playwright-','wvUcu':function(_0x17ba6c){return _0x17ba6c();},'BgmMz':function(_0x262e77,_0x5a64ee,_0x4ecbf9){return _0x262e77(_0x5a64ee,_0x4ecbf9);},'BYaYO':_0x3ac7ae(0xce)},_0x3e27cd=this;return _0x2239b2['BgmMz'](o11yErrorHandler,async function _0x41bcce(_0x34f960,_0x347b25,_0x3b7a72=null){const _0x498bf9=_0x3ac7ae;let _0x1727cb=_0x34f960[_0x498bf9(0xc9)],_0x2c8dc7=null;_0x34f960&&_0x2239b2[_0x498bf9(0x9e)](typeof _0x34f960[_0x498bf9(0x11f)],_0x2239b2[_0x498bf9(0x121)])?_0x2c8dc7=_0x34f960['version']():logger[_0x498bf9(0x114)](_0x2239b2['boQUE']);let _0x501932=null;_0x34f960&&_0x2239b2[_0x498bf9(0x82)](typeof _0x34f960[_0x498bf9(0xf4)],_0x2239b2[_0x498bf9(0x121)])?_0x501932=_0x34f960[_0x498bf9(0xf4)]():logger[_0x498bf9(0x114)](_0x2239b2['fjwJD']);let _0x3ced75=null,_0x238b21=null,_0x18747e=null,_0xb605ce=_0x2239b2[_0x498bf9(0x78)];if(_0x34f960[_0x498bf9(0x12d)][_0x498bf9(0x9a)]()||global[_0x498bf9(0x99)]){let _0x433dac=null;_0x2239b2[_0x498bf9(0xe4)](nestedKeyValue,_0x34f960,[_0x2239b2[_0x498bf9(0xd1)],_0x2239b2[_0x498bf9(0x7d)]])?_0x433dac=_0x34f960['_browserType'][_0x498bf9(0x7f)]:_0x433dac=_0x2239b2[_0x498bf9(0xe4)](nestedKeyValue,_0x347b25,[_0x2239b2[_0x498bf9(0xb1)],_0x2239b2[_0x498bf9(0xa9)],_0x2239b2[_0x498bf9(0xb0)]]);const _0x110cc5=_0x3b7a72||_0x433dac&&_0x433dac[_0x498bf9(0xd9)];_0x110cc5&&(_0xb605ce=_0x2239b2[_0x498bf9(0xa3)](getCloudProviderFromWsEndpoint,_0x110cc5),_0x2239b2[_0x498bf9(0x82)](_0xb605ce,_0x2239b2[_0x498bf9(0xc4)])&&(_0x18747e=constants['ATS_WSS_URL_REGEX'][_0x498bf9(0x96)](_0x110cc5)?_0x2239b2[_0x498bf9(0xe1)]:_0x2239b2['ZeepL'],_0x1727cb=_0x2239b2['thMGX'](getBrowserFromWSEndpoint,_0x110cc5)||_0x1727cb,_0x3ced75=_0x3e27cd[_0x498bf9(0x122)][_0x498bf9(0x84)],_0x238b21=_0x3e27cd['currentSessionDetails'][_0x498bf9(0x105)]));}else{_0x347b25&&_0x347b25[_0x498bf9(0x73)][_0x498bf9(0xe6)]['channel']?_0x1727cb=_0x2239b2['MuuZC'](getBrowserNameFromChannel,_0x347b25[_0x498bf9(0x73)][_0x498bf9(0xe6)][_0x498bf9(0xe2)]):_0x1727cb=_0x2239b2[_0x498bf9(0xc2)](_0x2239b2['McEyF'],_0x1727cb[_0x498bf9(0xd2)]());const _0x23f511=await _0x2239b2[_0x498bf9(0x88)](getPlatformDetails);_0x3ced75=_0x23f511['platformName'],_0x238b21=_0x23f511['platformVersion'];}const _0x31b6d1={};_0x31b6d1[_0x498bf9(0x108)]=_0x1727cb,_0x31b6d1[_0x498bf9(0x8a)]=_0x2c8dc7,_0x31b6d1[_0x498bf9(0x10d)]={},_0x31b6d1[_0x498bf9(0x84)]=_0x3ced75,_0x31b6d1[_0x498bf9(0x105)]=_0x238b21,_0x31b6d1['product']=_0x18747e;const _0x1caed5=_0x31b6d1;_0x501932&&(_0x1caed5[_0x498bf9(0x10d)]['deviceModel']=_0x501932);const _0x45844f={};_0x45844f[_0x498bf9(0xf5)]=_0xb605ce,_0x3e27cd[_0x498bf9(0x122)]=Object[_0x498bf9(0xf2)]({},_0x3e27cd[_0x498bf9(0x122)],_0x45844f,_0x1caed5);},_0x2239b2[_0x3ac7ae(0x9f)])(_0x3c70b2,_0x3238e1,_0x3e244d);}static[a47_0x1cfb4a(0x104)](){const _0x19bcd0=a47_0x1cfb4a;this['patchConnection'](),this[_0x19bcd0(0xdb)]();}static[a47_0x1cfb4a(0xe5)](){const _0x1cdaf3=a47_0x1cfb4a,_0x3788d7={'IyBYQ':function(_0x1ff226,_0x271398,_0x3b132e){return _0x1ff226(_0x271398,_0x3b132e);},'pYWDF':_0x1cdaf3(0xac),'KixsZ':_0x1cdaf3(0x100),'AyoHH':_0x1cdaf3(0x107),'oUfei':function(_0x45ff35,_0x529bb8,_0x2fa97a){return _0x45ff35(_0x529bb8,_0x2fa97a);},'VXMib':_0x1cdaf3(0x118),'PldDX':_0x1cdaf3(0x123),'yOFuS':function(_0x4abe78,_0x1aafad){return _0x4abe78===_0x1aafad;},'djnjf':_0x1cdaf3(0x76),'JROEB':function(_0x39884a,_0x400cd0,_0x2563c3,_0x2009af){return _0x39884a(_0x400cd0,_0x2563c3,_0x2009af);},'dtenM':function(_0x11c9a,_0x24bdef){return _0x11c9a||_0x24bdef;},'wKlPH':function(_0x213541,_0x5afc69){return _0x213541(_0x5afc69);},'CzteX':function(_0x1c1149,_0x5ba8ce){return _0x1c1149(_0x5ba8ce);},'FeXgT':_0x1cdaf3(0xcc),'tveQd':_0x1cdaf3(0xbf),'Dqbmx':'connection.js','UJKjA':function(_0x290750,_0x1f2cc4){return _0x290750(_0x1f2cc4);},'zkmCH':function(_0x47894c,_0x503bb2){return _0x47894c(_0x503bb2);},'aMAWU':_0x1cdaf3(0x80),'Hyfze':function(_0x5bcd38,_0x2ffba2){return _0x5bcd38!=_0x2ffba2;},'UezmL':function(_0x2a015a){return _0x2a015a();},'WcUjO':'sendMessageToServer','VkjYk':function(_0x1de271,_0x3ed442){return _0x1de271(_0x3ed442);},'awpZj':_0x1cdaf3(0xdf),'NWLBJ':function(_0x2d0f6e,_0x29c733){return _0x2d0f6e(_0x29c733);}},_0x11778a=this;if(!this[_0x1cdaf3(0xa6)])try{const _0x34e5c6=path['join'](_0x3788d7[_0x1cdaf3(0xa0)],_0x3788d7[_0x1cdaf3(0x12c)],_0x3788d7[_0x1cdaf3(0xfe)]),_0x358dfc=_0x3788d7['UJKjA'](importFileFromPWCore,_0x34e5c6);!_0x358dfc?_0x3788d7[_0x1cdaf3(0x12e)](debug,_0x3788d7[_0x1cdaf3(0x90)]):this[_0x1cdaf3(0xa6)]=_0x358dfc[_0x1cdaf3(0xa6)];}catch(_0x1d53d1){_0x3788d7[_0x1cdaf3(0x87)](debug,_0x1cdaf3(0xf9)+_0x1d53d1[_0x1cdaf3(0xcd)]());}const _0x30598a=this[_0x1cdaf3(0xa6)];try{if(_0x3788d7[_0x1cdaf3(0x116)](_0x30598a,null)){const _0x657617=_0x30598a[_0x1cdaf3(0x10e)]['dispatch'],_0x36d15e=_0x30598a['prototype']['sendMessageToServer'];_0x3788d7[_0x1cdaf3(0xff)](isAccessibilityAutomationSession)&&Object[_0x1cdaf3(0x71)](_0x30598a[_0x1cdaf3(0x10e)],_0x3788d7[_0x1cdaf3(0xa4)],{'get':function(){const _0x237d38=_0x1cdaf3,_0x50c669={'VmqHg':function(_0xafb735,_0x3adfbf,_0x33bd05){return _0x3788d7['IyBYQ'](_0xafb735,_0x3adfbf,_0x33bd05);},'LGpPp':_0x3788d7['pYWDF'],'dPXWR':_0x3788d7[_0x237d38(0x11a)],'MangR':_0x3788d7[_0x237d38(0x9c)],'trmoN':function(_0xfc6567,_0x477220,_0x3178df){const _0x51d8ca=_0x237d38;return _0x3788d7[_0x51d8ca(0x86)](_0xfc6567,_0x477220,_0x3178df);},'OhwGK':_0x3788d7['VXMib'],'PDrPj':_0x3788d7[_0x237d38(0xa5)],'ptfoD':function(_0x2744cd,_0x2b7d16){const _0x50851e=_0x237d38;return _0x3788d7[_0x50851e(0xfc)](_0x2744cd,_0x2b7d16);},'XLXgm':_0x3788d7['djnjf'],'ZdnEx':function(_0xeeeb47,_0x3aa442,_0x5ba231,_0x2ab273){const _0x527605=_0x237d38;return _0x3788d7[_0x527605(0xcb)](_0xeeeb47,_0x3aa442,_0x5ba231,_0x2ab273);}};return async function(){const _0x158d04=_0x237d38;try{if(!global['bstackPerformA11yScan']&&global[_0x158d04(0x99)]&&_0x50c669['VmqHg'](nestedKeyValue,global['__workerDetails'],[_0x50c669['LGpPp'],_0x50c669[_0x158d04(0x102)],_0x50c669[_0x158d04(0x125)]])&&_0x50c669['trmoN'](shouldScanTestForAccessibility,global[_0x158d04(0x118)][_0x158d04(0xac)][_0x158d04(0x100)]['titlePath'],!![])&&scripts[_0x158d04(0xf3)](arguments[0x1])){logger[_0x158d04(0x114)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x158d04(0xa2)]=!![];const _0x389795=_0x50c669[_0x158d04(0xaf)](nestedKeyValue,global,[_0x50c669[_0x158d04(0x11c)],_0x50c669[_0x158d04(0xc1)]]);_0x389795&&logger[_0x158d04(0xe7)](_0x158d04(0x7a)+util[_0x158d04(0x111)](await _0x50c669[_0x158d04(0xb4)](performScanWithRetry,_0x389795,arguments[0x1]))),_0x50c669[_0x158d04(0x10a)](arguments[0x0][_0x158d04(0xf6)],_0x50c669[_0x158d04(0x77)])&&global[_0x158d04(0xeb)]&&logger['info'](_0x158d04(0xbc)+util[_0x158d04(0x111)](await _0x50c669['ZdnEx'](performScanWithRetry,global[_0x158d04(0xeb)],arguments[0x1],scripts[_0x158d04(0x10b)])));}}catch(_0x249672){logger[_0x158d04(0x114)](_0x158d04(0x75)+util[_0x158d04(0x111)](_0x249672));}return global['bstackPerformA11yScan']=![],_0x36d15e[_0x158d04(0x11b)](this,arguments);};}}),!_0x3788d7[_0x1cdaf3(0x89)](isFalse,process[_0x1cdaf3(0x72)][_0x1cdaf3(0x129)])&&Object[_0x1cdaf3(0x71)](_0x30598a[_0x1cdaf3(0x10e)],_0x3788d7[_0x1cdaf3(0xdd)],{'get':function(){return async function _0x5b8e34(_0x2c6e2a){const _0x543771=a47_0x16a2;if(BrowserstackCLI['getInstance']()[_0x543771(0xaa)]()){const _0xa94de8={};_0xa94de8[_0x543771(0x128)]=_0x2c6e2a,await BrowserstackCLI[_0x543771(0xec)]()[_0x543771(0x110)]()['trackEvent'](AutomationFrameworkState[_0x543771(0x93)],HookState[_0x543771(0xc6)],_0xa94de8);}else{const _0x34af7c=_0x2c6e2a&&_0x2c6e2a['params']&&_0x2c6e2a[_0x543771(0x7e)][_0x543771(0xa1)];if(_0x34af7c){const _0x1d8352=_0x34af7c[_0x543771(0xab)],_0x1ba9ac=_0x34af7c['platformDetails'];_0x3788d7[_0x543771(0xa8)](!_0x1d8352,!_0x1ba9ac)&&await ClientTroubleShootingService[_0x543771(0xbb)](),_0x1ba9ac&&(_0x3788d7[_0x543771(0xb2)](debug,_0x543771(0xa7)+_0x1ba9ac['toString']()),_0x11778a['currentSessionDetails']['platform']=_0x1ba9ac['platformName'],_0x11778a[_0x543771(0x122)][_0x543771(0x105)]=_0x1ba9ac[_0x543771(0xf7)]),_0x1d8352&&(_0x3788d7['CzteX'](debug,_0x543771(0x120)+_0x1d8352),_0x11778a[_0x543771(0x122)]['bsSessionId']=_0x1d8352);}}return _0x657617[_0x543771(0x11b)](this,arguments);};}});}}catch(_0x264362){_0x3788d7[_0x1cdaf3(0xea)](debug,_0x1cdaf3(0x9d)+_0x264362),_0x11778a[_0x1cdaf3(0x112)]=_0x264362[_0x1cdaf3(0xcd)]();}}static[a47_0x1cfb4a(0xdb)](){const _0x6924e3=a47_0x1cfb4a,_0x3fa82e={'ZFNzn':function(_0x3a2808,_0x1bcff0){return _0x3a2808(_0x1bcff0);},'jqHCi':function(_0x2932bf,_0x47550c){return _0x2932bf(_0x47550c);},'rIBUh':function(_0x216a18){return _0x216a18();},'YxxDy':_0x6924e3(0xcc),'GXjFy':_0x6924e3(0x7b),'OkSFu':'chromium','bYPhg':_0x6924e3(0xb8),'LQtbq':function(_0x5e7e24,_0x4f1a6e){return _0x5e7e24(_0x4f1a6e);},'bwLXe':function(_0x4be0a6,_0x3ebd69){return _0x4be0a6(_0x3ebd69);},'hQbUw':_0x6924e3(0xc0),'ftIuu':function(_0x28f0d2,_0x54a3be){return _0x28f0d2(_0x54a3be);},'qQwMf':_0x6924e3(0x127),'KHbCC':function(_0x37e595,_0x377808){return _0x37e595!=_0x377808;},'lvJKe':_0x6924e3(0xc7)},_0x12f32d=this;if(_0x3fa82e['rIBUh'](isAccessibilityAutomationSession)){let _0x34137d=null;try{const _0x65b397=path[_0x6924e3(0xb3)](_0x3fa82e[_0x6924e3(0x8c)],_0x3fa82e[_0x6924e3(0xd6)],_0x3fa82e[_0x6924e3(0x95)],_0x3fa82e['bYPhg']),_0x5e179b=_0x3fa82e[_0x6924e3(0xf1)](importFileFromPWCore,_0x65b397);!_0x5e179b?_0x3fa82e[_0x6924e3(0xd5)](debug,_0x3fa82e[_0x6924e3(0x101)]):_0x34137d=_0x5e179b['CRConnection'];}catch(_0x350937){_0x3fa82e[_0x6924e3(0x117)](debug,_0x3fa82e['qQwMf']);}try{if(_0x3fa82e[_0x6924e3(0xcf)](_0x34137d,null)){const _0x5536d5=_0x34137d[_0x6924e3(0x10e)][_0x6924e3(0xc7)];Object[_0x6924e3(0x71)](_0x34137d[_0x6924e3(0x10e)],_0x3fa82e[_0x6924e3(0x8e)],{'get':function(){return async function _0x2349fa(_0x1a7a28){const _0x57c532=a47_0x16a2;try{if(BrowserstackCLI[_0x57c532(0xec)]()['isRunning']()){const _0x158737={};_0x158737[_0x57c532(0x128)]=_0x1a7a28,await BrowserstackCLI[_0x57c532(0xec)]()[_0x57c532(0x110)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x57c532(0xc6)],_0x158737),delete _0x1a7a28[_0x57c532(0x109)];}else{const _0x491788=_0x1a7a28[_0x57c532(0x109)];if(_0x491788){delete _0x1a7a28[_0x57c532(0x109)];const _0x802ff9=_0x491788[_0x57c532(0xab)],_0x73b09=_0x491788[_0x57c532(0x126)];_0x73b09&&(_0x3fa82e['ZFNzn'](debug,_0x57c532(0xc3)+_0x73b09['toString']()),_0x12f32d[_0x57c532(0x122)][_0x57c532(0x84)]=_0x73b09[_0x57c532(0x8f)],_0x12f32d[_0x57c532(0x122)][_0x57c532(0x105)]=_0x73b09['platformVersion']),_0x802ff9&&(_0x3fa82e[_0x57c532(0x10f)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x802ff9),_0x12f32d['currentSessionDetails'][_0x57c532(0xe0)]=_0x802ff9);}}}catch(_0x2d4105){_0x3fa82e[_0x57c532(0xfa)](debug,_0x57c532(0x11e)+_0x2d4105[_0x57c532(0xcd)]());}return _0x5536d5[_0x57c532(0x11b)](this,arguments);};}});}}catch(_0x273043){_0x3fa82e[_0x6924e3(0xfa)](debug,_0x6924e3(0x74)+_0x273043),_0x12f32d[_0x6924e3(0x112)]=_0x273043[_0x6924e3(0xcd)]();}}}static[a47_0x1cfb4a(0xbd)](){return this['currentSessionDetails'];}}function a47_0x16a2(_0x302328,_0x35c1f6){const _0x48158d=a47_0x4815();return a47_0x16a2=function(_0x16a296,_0xe77ddf){_0x16a296=_0x16a296-0x71;let _0x1075c7=_0x48158d[_0x16a296];return _0x1075c7;},a47_0x16a2(_0x302328,_0x35c1f6);}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a48_0x3c5b93=a48_0x26fa;(function(_0x5b02a3,_0x2f8f5f){const _0x3a5793=a48_0x26fa,_0x3f9f81=_0x5b02a3();while(!![]){try{const _0x4e6787=-parseInt(_0x3a5793(0x1a8))/0x1*(parseInt(_0x3a5793(0x1ed))/0x2)+-parseInt(_0x3a5793(0x1af))/0x3+parseInt(_0x3a5793(0x214))/0x4+parseInt(_0x3a5793(0x1be))/0x5+-parseInt(_0x3a5793(0x1c5))/0x6+-parseInt(_0x3a5793(0x1e5))/0x7*(parseInt(_0x3a5793(0x1d2))/0x8)+parseInt(_0x3a5793(0x205))/0x9*(parseInt(_0x3a5793(0x212))/0xa);if(_0x4e6787===_0x2f8f5f)break;else _0x3f9f81['push'](_0x3f9f81['shift']());}catch(_0x2aab27){_0x3f9f81['push'](_0x3f9f81['shift']());}}}(a48_0x47ce,0x468b3));const fs=require('fs'),path=require(a48_0x3c5b93(0x206)),util=require(a48_0x3c5b93(0x1eb)),spawn=require('child_process')['spawn'],{requireModule}=require(a48_0x3c5b93(0x1d7)),PerformanceTester=require(a48_0x3c5b93(0x18f)),PerformanceEvents=require(a48_0x3c5b93(0x1c0))[a48_0x3c5b93(0x1c8)],helper=require(a48_0x3c5b93(0x1d7)),utilities=require(a48_0x3c5b93(0x19b)),{default:BrowserStackSetup}=require(a48_0x3c5b93(0x1bf)),{FRAMEWORKS}=require(a48_0x3c5b93(0x20c)),runIntegrations=require('./integrations/command'),yargs=require(a48_0x3c5b93(0x1f0)),Constants=require(a48_0x3c5b93(0x18b)),BrowserstackCLI=require(a48_0x3c5b93(0x1ee)),logger=require('../helpers/logger')['winstonLogger'],origArgs=Object[a48_0x3c5b93(0x194)]([],process[a48_0x3c5b93(0x215)]),captureError=async(_0x229dc2,_0x301029,_0x31cd68,_0x4ba9d3=null)=>{const _0x162933=a48_0x3c5b93,_0x1ac69b={'jLtIG':function(_0x6dcc24,_0x2ac2db,_0x35c7f4,_0x3a87ff){return _0x6dcc24(_0x2ac2db,_0x35c7f4,_0x3a87ff);},'Bwshi':_0x162933(0x1a5)};try{logger[_0x162933(0x1f2)](_0x162933(0x20f)+origArgs['join']('\x20')),await _0x1ac69b['jLtIG'](_0x229dc2,_0x301029,_0x4ba9d3,_0x31cd68);}catch(_0x45acb0){process[_0x162933(0x1e0)]=0x1,logger[_0x162933(0x1ca)](util[_0x162933(0x199)](_0x45acb0));const _0x2e9c34={'globalException':util[_0x162933(0x199)]('%j',_0x45acb0)};PerformanceTester[_0x162933(0x1db)](PerformanceEvents[_0x162933(0x1f9)],![],util[_0x162933(0x199)](_0x45acb0));if(helper['isUndefined'](global['config'])&&helper['isUndefined'](global[_0x162933(0x192)]))return;try{utilities['fireFunnelTestEvent'](_0x1ac69b[_0x162933(0x1e3)],_0x2e9c34,global[_0x162933(0x1df)],global['framework']);}catch(_0x18ebd3){logger[_0x162933(0x1b9)](_0x162933(0x1f5)+_0x18ebd3['stack']);}try{await helper[_0x162933(0x1a2)](global['config']);}catch(_0x155465){logger[_0x162933(0x1b9)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x155465[_0x162933(0x1e8)]);}await BrowserstackCLI[_0x162933(0x1d6)]()['stop'](),PerformanceTester['end'](PerformanceEvents[_0x162933(0x1f9)],![],util[_0x162933(0x199)](_0x45acb0));}finally{PerformanceTester[_0x162933(0x20e)](PerformanceEvents[_0x162933(0x1ec)]);}};function a48_0x47ce(){const _0x4e307c=['slice','wrap','Show\x20help','.local-not-set.json','qUtXO','992abhAJO','join','--opts','rijZZ','getInstance','../helpers/helper','homedir','unlinkSync','mocha/lib/cli/commands.js','end','message','JEST','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','config','exitCode','jest','.browserstack','Bwshi','AuUQR','29204OEIFBt','eChcC','AhYFW','stack','XRPEi','mgofa','util','SDK_CLEANUP','4RZDASl','./v2/browserstackCLI','load\x20[subcommand]','yargs','CxXYy','info','existsSync','find','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','gsweS','oFqRL','FiJkx','SDK_SETUP','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','boolean','BROWSERSTACK_CONFIG_FILE_PATH','env','demandCommand','Runs\x20the\x20binary\x20with\x20load\x20command','handler','--no-package','MOCHA','QcYYz','INFO','7862166bCymqn','path','XEXxg','run','NYPaY','showHelpOnFail','BubdI','../helpers/test-observability/constants','includes','start','Running\x20SDK\x20with\x20args\x20','rAlNj','xdfTv','10tFhYtE','./codeceptjs/command','2187428dJigJi','argv','../../ats/src/index','--no-config','version','playwright','gbpdL','strict','parserConfiguration','--config','--package','./utils/constants','HST','ELVxG','ats','../helpers/performance/performance-tester','./nightwatch/command','CODECEPTJS','framework','--mochaRequire','assign','./jest/command','VERSION','usage:\x20$0\x20<command>\x20[args]','codeceptjs','format','push','../helpers/utilities','ZWYNh','dot-notation','PLAYWRIGHT','IyOrG','getConfigPath','describe','sendLogs','mocha/lib/cli/cli.js','VANILLA','SDKTestSuccessful','setTestObservabilityDisable','alias','241561vbfEDU','vanilla','./vanilla-js/command','INTEGRATIONS','NIGHTWATCH','help','UsoPc','554019tyyFKt','mocha','ahtLe','./load/index','HELP','pQaYK','cucumber-js','jmmKR','IJxnI','wMnLo','debug','setBrowserStackAutomationDisable','--require','./playwright/command','RUVeG','1832865KivyTr','../helpers/BrowserStackSetup','../helpers/performance/constants','--no-opts','sqXEW','command','usage','1877604yfUVaN','nightwatch','DdtGc','EVENTS','aGnJQ','error','mGTrT','kfFkL'];a48_0x47ce=function(){return _0x4e307c;};return a48_0x47ce();}try{const browserstackFolderPath=path[a48_0x3c5b93(0x1d3)](helper[a48_0x3c5b93(0x1d8)](),a48_0x3c5b93(0x1e2));if(fs[a48_0x3c5b93(0x1f3)](browserstackFolderPath)){const filePath=path[a48_0x3c5b93(0x1d3)](browserstackFolderPath,a48_0x3c5b93(0x1d0));fs[a48_0x3c5b93(0x1f3)](filePath)&&fs[a48_0x3c5b93(0x1d9)](filePath);}}catch(a48_0x288a5b){logger[a48_0x3c5b93(0x1b9)](a48_0x3c5b93(0x1de)+a48_0x288a5b[a48_0x3c5b93(0x1dc)]);}process[a48_0x3c5b93(0x215)][a48_0x3c5b93(0x20d)](a48_0x3c5b93(0x1b0))&&(!process['argv'][a48_0x3c5b93(0x20d)](a48_0x3c5b93(0x1d4))&&process[a48_0x3c5b93(0x215)][a48_0x3c5b93(0x19a)](a48_0x3c5b93(0x1c1)),!process[a48_0x3c5b93(0x215)][a48_0x3c5b93(0x1f4)](_0xa12a0=>_0xa12a0[a48_0x3c5b93(0x20d)](a48_0x3c5b93(0x189)))&&process[a48_0x3c5b93(0x215)][a48_0x3c5b93(0x19a)](a48_0x3c5b93(0x217)),!process[a48_0x3c5b93(0x215)]['includes'](a48_0x3c5b93(0x18a))&&process['argv'][a48_0x3c5b93(0x19a)](a48_0x3c5b93(0x201)),helper['findAndReplace'](process[a48_0x3c5b93(0x215)],a48_0x3c5b93(0x1bb),a48_0x3c5b93(0x193)));PerformanceTester[a48_0x3c5b93(0x20e)](PerformanceEvents[a48_0x3c5b93(0x1f9)]);const a48_0xe0e44f={};function a48_0x26fa(_0x13a040,_0x5d9cc7){const _0x47ce67=a48_0x47ce();return a48_0x26fa=function(_0x26faa5,_0x1deeab){_0x26faa5=_0x26faa5-0x189;let _0x58c35e=_0x47ce67[_0x26faa5];return _0x58c35e;},a48_0x26fa(_0x13a040,_0x5d9cc7);}a48_0xe0e44f[a48_0x3c5b93(0x19d)]=![];const argv=yargs[a48_0x3c5b93(0x21c)](a48_0xe0e44f)[a48_0x3c5b93(0x1c4)](a48_0x3c5b93(0x197))[a48_0x3c5b93(0x1a7)]('v',a48_0x3c5b93(0x218))[a48_0x3c5b93(0x1a1)]('v')[a48_0x3c5b93(0x1a7)]('h',a48_0x3c5b93(0x1ad))[a48_0x3c5b93(0x1ad)](a48_0x3c5b93(0x1ad))[a48_0x3c5b93(0x20a)](!![],Constants[a48_0x3c5b93(0x196)][a48_0x3c5b93(0x1b3)])['command'](a48_0x3c5b93(0x1e1),Constants[a48_0x3c5b93(0x1dd)][a48_0x3c5b93(0x204)],function(_0x21f929){const _0x1dad0e=a48_0x3c5b93,_0x2f22c3={'pQaYK':_0x1dad0e(0x1e1),'ZWYNh':function(_0x122aa9,_0x53afef,_0x610d38,_0x258ec5,_0x5d26c4){return _0x122aa9(_0x53afef,_0x610d38,_0x258ec5,_0x5d26c4);},'QcYYz':function(_0x5e87ad,_0x1800ec){return _0x5e87ad(_0x1800ec);},'TOiuU':_0x1dad0e(0x195)},_0x4e5ae5=process['argv'][_0x1dad0e(0x1cd)](0x2);helper[_0x1dad0e(0x1a6)](),helper[_0x1dad0e(0x1ba)]();const _0x5608f3=new BrowserStackSetup(_0x21f929[_0x1dad0e(0x215)],_0x2f22c3[_0x1dad0e(0x1b4)]);return _0x2f22c3[_0x1dad0e(0x19c)](captureError,_0x2f22c3[_0x1dad0e(0x203)](require,_0x2f22c3['TOiuU']),_0x21f929[_0x1dad0e(0x215)],_0x5608f3,_0x4e5ae5);})[a48_0x3c5b93(0x1c3)](a48_0x3c5b93(0x1b0),Constants[a48_0x3c5b93(0x202)][a48_0x3c5b93(0x204)],_0x244b80=>{const _0x3079e0=a48_0x3c5b93,_0x12338b={'EQiQo':function(_0x5b6bce,_0x4ad2ca,_0x58b305,_0x49ab8a){return _0x5b6bce(_0x4ad2ca,_0x58b305,_0x49ab8a);},'XRPEi':function(_0x3de147,_0x4a9e24){return _0x3de147(_0x4a9e24);},'SijOR':'./mocha/command','RUVeG':_0x3079e0(0x1b0),'NYPaY':'Parsing\x20command\x20line\x20arguments','eChcC':function(_0xc4aebe,_0x31fcac,_0x9d6c60){return _0xc4aebe(_0x31fcac,_0x9d6c60);},'kNvUY':'mocha/lib/cli/run.js','UsoPc':function(_0x217473,_0xc738d1,_0x330bf2){return _0x217473(_0xc738d1,_0x330bf2);},'kfFkL':_0x3079e0(0x1da),'BubdI':function(_0x82ee0e,_0xdf35ef,_0x396256){return _0x82ee0e(_0xdf35ef,_0x396256);},'FiJkx':_0x3079e0(0x1a3),'xdfTv':function(_0x56e4af){return _0x56e4af();}};process[_0x3079e0(0x215)]=process[_0x3079e0(0x215)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper[_0x3079e0(0x1ba)]();const _0x2a6b96=new BrowserStackSetup(_0x244b80['argv'],_0x12338b[_0x3079e0(0x1bd)]);logger['debug'](_0x12338b[_0x3079e0(0x209)]);const _0x1274df=_0x12338b[_0x3079e0(0x1e6)](requireModule,_0x12338b['kNvUY'],_0x12338b[_0x3079e0(0x1bd)]),_0x355042=_0x12338b[_0x3079e0(0x1ae)](requireModule,_0x12338b[_0x3079e0(0x1cc)],_0x12338b[_0x3079e0(0x1bd)]);delete _0x1274df[_0x3079e0(0x200)],_0x1274df[_0x3079e0(0x200)]=function(_0x548fcb){const _0x2620b6=_0x3079e0;return _0x12338b['EQiQo'](captureError,_0x12338b[_0x2620b6(0x1e9)](require,_0x12338b['SijOR']),_0x548fcb,_0x2a6b96);},_0x355042[_0x3079e0(0x208)]=_0x1274df;const {main:_0xda4812}=_0x12338b[_0x3079e0(0x20b)](requireModule,_0x12338b[_0x3079e0(0x1f8)],_0x12338b['RUVeG']);_0x12338b[_0x3079e0(0x211)](_0xda4812);})[a48_0x3c5b93(0x1c3)](a48_0x3c5b93(0x1b5),Constants['CUCUMBER'][a48_0x3c5b93(0x204)],function(_0x1f9416){const _0xb5d81e=a48_0x3c5b93,_0x19f744={'ahtLe':_0xb5d81e(0x1b5),'gbpdL':function(_0x328658,_0x52a32e,_0x4e6e3a,_0x1ae3b1,_0xf6fdb){return _0x328658(_0x52a32e,_0x4e6e3a,_0x1ae3b1,_0xf6fdb);},'DdtGc':function(_0x548954,_0x496d91){return _0x548954(_0x496d91);},'rAlNj':'./cucumber-js/command'},_0x1acd98=process['argv'][_0xb5d81e(0x1cd)](0x2),_0x18f509=new BrowserStackSetup(_0x1f9416[_0xb5d81e(0x215)],_0x19f744[_0xb5d81e(0x1b1)]);return _0x19f744[_0xb5d81e(0x21a)](captureError,_0x19f744[_0xb5d81e(0x1c7)](require,_0x19f744[_0xb5d81e(0x210)]),_0x1f9416[_0xb5d81e(0x215)],_0x18f509,_0x1acd98);})[a48_0x3c5b93(0x1c3)]('node',Constants[a48_0x3c5b93(0x1a4)][a48_0x3c5b93(0x204)],function(_0x27863b){const _0x4f44a0=a48_0x3c5b93,_0x10c09a={'oFqRL':_0x4f44a0(0x1a9),'OxOmU':function(_0x203b59,_0x59fda4,_0xd6e743,_0x53c387,_0x52af1b){return _0x203b59(_0x59fda4,_0xd6e743,_0x53c387,_0x52af1b);},'ujxgI':function(_0x26a99b,_0x2720d4){return _0x26a99b(_0x2720d4);},'AhYFW':_0x4f44a0(0x1aa)},_0x39a160=process[_0x4f44a0(0x215)][_0x4f44a0(0x1cd)](0x2),_0x37f425=new BrowserStackSetup(_0x27863b[_0x4f44a0(0x215)],_0x10c09a[_0x4f44a0(0x1f7)]);return _0x10c09a['OxOmU'](captureError,_0x10c09a['ujxgI'](require,_0x10c09a[_0x4f44a0(0x1e7)]),_0x27863b[_0x4f44a0(0x215)],_0x37f425,_0x39a160);})['command'](a48_0x3c5b93(0x1c6),Constants[a48_0x3c5b93(0x1ac)]['INFO'],function(_0x33a09d){const _0x486af6=a48_0x3c5b93,_0x401124={'sqXEW':function(_0x10eb00,_0x3caf35,_0x4211f0,_0x5a89c8,_0x181c9a){return _0x10eb00(_0x3caf35,_0x4211f0,_0x5a89c8,_0x181c9a);},'IJxnI':function(_0xd17ebb,_0x5aedef){return _0xd17ebb(_0x5aedef);},'jmmKR':_0x486af6(0x190)},_0x18d63a=process['argv'][_0x486af6(0x1cd)](0x2),_0x3b1cfb=new BrowserStackSetup(_0x33a09d['argv']);return _0x401124[_0x486af6(0x1c2)](captureError,_0x401124[_0x486af6(0x1b7)](require,_0x401124[_0x486af6(0x1b6)]),_0x33a09d[_0x486af6(0x215)],_0x3b1cfb,_0x18d63a);})[a48_0x3c5b93(0x1c3)](a48_0x3c5b93(0x198),Constants[a48_0x3c5b93(0x191)][a48_0x3c5b93(0x204)],function(_0x2930b4){const _0x53cc3a=a48_0x3c5b93,_0x59d77f={'XEXxg':_0x53cc3a(0x198),'AuUQR':function(_0x950b89,_0x4d3a20,_0x56654f,_0x128de8,_0xea2a94){return _0x950b89(_0x4d3a20,_0x56654f,_0x128de8,_0xea2a94);},'qUtXO':function(_0x5bef50,_0x39146b){return _0x5bef50(_0x39146b);},'ttqdc':_0x53cc3a(0x213)},_0x338a0e=process[_0x53cc3a(0x215)]['slice'](0x2),_0xd365=new BrowserStackSetup(_0x2930b4[_0x53cc3a(0x215)],_0x59d77f[_0x53cc3a(0x207)]);return _0x59d77f[_0x53cc3a(0x1e4)](captureError,_0x59d77f[_0x53cc3a(0x1d1)](require,_0x59d77f['ttqdc']),_0x2930b4['argv'],_0xd365,_0x338a0e);})[a48_0x3c5b93(0x1c3)]('ats',Constants[a48_0x3c5b93(0x18c)][a48_0x3c5b93(0x204)],function(_0x1bc2a7){const _0x1f63d0=a48_0x3c5b93,_0x1ea476={'qUgEA':function(_0xe7cbe7,_0x33e38c,_0x21c857){return _0xe7cbe7(_0x33e38c,_0x21c857);},'ELVxG':function(_0x49d919,_0x3ff25d){return _0x49d919(_0x3ff25d);},'rijZZ':_0x1f63d0(0x216)},_0x670268=process['argv']['slice'](0x2);return _0x1ea476['qUgEA'](captureError,_0x1ea476[_0x1f63d0(0x18d)](require,_0x1ea476[_0x1f63d0(0x1d5)]),_0x1bc2a7);})[a48_0x3c5b93(0x1c3)]('integrations',Constants[a48_0x3c5b93(0x1ab)][a48_0x3c5b93(0x204)],function(_0x35851b){const _0x192c2b={'fmFCf':function(_0x260274,_0x58e765){return _0x260274(_0x58e765);}};return _0x192c2b['fmFCf'](runIntegrations,_0x35851b);})[a48_0x3c5b93(0x1c3)](a48_0x3c5b93(0x219),Constants[a48_0x3c5b93(0x19e)][a48_0x3c5b93(0x204)],function(_0xb36ec8){const _0x48a184=a48_0x3c5b93,_0x4b2157={'rXprQ':function(_0x569688,_0x3debed,_0x95b7c9,_0x551854,_0x165151){return _0x569688(_0x3debed,_0x95b7c9,_0x551854,_0x165151);},'mGTrT':function(_0x2660ab,_0xa0b9ba){return _0x2660ab(_0xa0b9ba);},'eJARp':_0x48a184(0x1bc)},_0xeb768e=process[_0x48a184(0x215)][_0x48a184(0x1cd)](0x2);helper[_0x48a184(0x1a0)](process[_0x48a184(0x215)])&&(process[_0x48a184(0x1fd)][_0x48a184(0x1fc)]=helper[_0x48a184(0x1a0)](process[_0x48a184(0x215)]));helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x475a9c=new BrowserStackSetup(_0xb36ec8[_0x48a184(0x215)],FRAMEWORKS[_0x48a184(0x19e)]);return _0x4b2157['rXprQ'](captureError,_0x4b2157[_0x48a184(0x1cb)](require,_0x4b2157['eJARp']),_0xb36ec8[_0x48a184(0x215)],_0x475a9c,_0xeb768e);})[a48_0x3c5b93(0x1c3)](a48_0x3c5b93(0x1ef),a48_0x3c5b93(0x1ff),function(_0x2f3365){const _0x3422f7=a48_0x3c5b93,_0x30edcd={};_0x30edcd[_0x3422f7(0x19f)]='help',_0x30edcd[_0x3422f7(0x1ea)]=_0x3422f7(0x1fb),_0x30edcd[_0x3422f7(0x1f1)]=_0x3422f7(0x1cf);const _0x2f2905=_0x30edcd;return _0x2f3365[_0x3422f7(0x1ad)](![])['option'](_0x2f2905[_0x3422f7(0x19f)],{'alias':'h','type':_0x2f2905[_0x3422f7(0x1ea)],'describe':_0x2f2905[_0x3422f7(0x1f1)]})[_0x3422f7(0x21b)](![])['exitProcess'](![]);},function(_0x1fb50f){const _0x3e5163=a48_0x3c5b93,_0x525453={'gsweS':function(_0x53bed7,_0x9d70ed,_0x887d07){return _0x53bed7(_0x9d70ed,_0x887d07);},'wMnLo':function(_0x26f3df,_0x5713ef){return _0x26f3df(_0x5713ef);},'aGnJQ':_0x3e5163(0x1b2)},_0x488e9c={};return _0x488e9c[_0x3e5163(0x215)]=_0x1fb50f,_0x525453[_0x3e5163(0x1f6)](captureError,_0x525453[_0x3e5163(0x1b8)](require,_0x525453[_0x3e5163(0x1c9)]),_0x488e9c);})[a48_0x3c5b93(0x1fe)](0x1,a48_0x3c5b93(0x1fa))[a48_0x3c5b93(0x1ce)](null)['argv'];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x3c5b93(0x18e)&&console[a48_0x3c5b93(0x1ca)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a48_0x711458=a48_0x3c12;(function(_0x17597f,_0x63349f){const _0x294a56=a48_0x3c12,_0x34b1fa=_0x17597f();while(!![]){try{const _0x49caf5=-parseInt(_0x294a56(0xa5))/0x1*(parseInt(_0x294a56(0xf4))/0x2)+-parseInt(_0x294a56(0xf0))/0x3+-parseInt(_0x294a56(0x125))/0x4*(-parseInt(_0x294a56(0xa2))/0x5)+-parseInt(_0x294a56(0xd3))/0x6+parseInt(_0x294a56(0x121))/0x7*(parseInt(_0x294a56(0x11d))/0x8)+-parseInt(_0x294a56(0x11e))/0x9+-parseInt(_0x294a56(0xcb))/0xa*(-parseInt(_0x294a56(0xe3))/0xb);if(_0x49caf5===_0x63349f)break;else _0x34b1fa['push'](_0x34b1fa['shift']());}catch(_0x18c02b){_0x34b1fa['push'](_0x34b1fa['shift']());}}}(a48_0xd19b,0x7fbf2));const fs=require('fs'),path=require(a48_0x711458(0xb7)),util=require(a48_0x711458(0x9f)),spawn=require(a48_0x711458(0x110))[a48_0x711458(0xb9)],{requireModule}=require(a48_0x711458(0xc2)),PerformanceTester=require(a48_0x711458(0xf1)),PerformanceEvents=require(a48_0x711458(0xe1))[a48_0x711458(0xdc)],helper=require(a48_0x711458(0xc2)),utilities=require(a48_0x711458(0xa1)),{default:BrowserStackSetup}=require(a48_0x711458(0x126)),{FRAMEWORKS}=require(a48_0x711458(0xd5)),runIntegrations=require(a48_0x711458(0x120)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require('../helpers/logger')[a48_0x711458(0xfd)],origArgs=Object[a48_0x711458(0xf7)]([],process[a48_0x711458(0xdf)]),captureError=async(_0x1201d5,_0x1dbc49,_0x42b840,_0x57d1bf=null)=>{const _0x1a2547=a48_0x711458,_0x4b8dd6={'JomBC':function(_0x458a42,_0x9662b9,_0x56bca0,_0x493286){return _0x458a42(_0x9662b9,_0x56bca0,_0x493286);},'sBnDH':_0x1a2547(0x103)};try{logger[_0x1a2547(0xfc)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x1a2547(0x10e)]('\x20')),await _0x4b8dd6[_0x1a2547(0xb5)](_0x1201d5,_0x1dbc49,_0x57d1bf,_0x42b840);}catch(_0x360969){process[_0x1a2547(0xad)]=0x1,logger[_0x1a2547(0xf8)](util['format'](_0x360969));const _0x4d2983={'globalException':util[_0x1a2547(0xc6)]('%j',_0x360969)};PerformanceTester[_0x1a2547(0xed)](PerformanceEvents[_0x1a2547(0xf3)],![],util[_0x1a2547(0xc6)](_0x360969));if(helper['isUndefined'](global['config'])&&helper[_0x1a2547(0xee)](global[_0x1a2547(0xe8)]))return;try{utilities[_0x1a2547(0xeb)](_0x4b8dd6[_0x1a2547(0xce)],_0x4d2983,global[_0x1a2547(0xc1)],global[_0x1a2547(0xe8)]);}catch(_0x3113be){logger[_0x1a2547(0x99)](_0x1a2547(0xcd)+_0x3113be[_0x1a2547(0x98)]);}try{await helper[_0x1a2547(0xc9)](global[_0x1a2547(0xc1)]);}catch(_0x1624c7){logger[_0x1a2547(0x99)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1624c7[_0x1a2547(0x98)]);}await BrowserstackCLI['getInstance']()[_0x1a2547(0x9c)](),PerformanceTester['end'](PerformanceEvents[_0x1a2547(0xf3)],![],util[_0x1a2547(0xc6)](_0x360969));}finally{PerformanceTester[_0x1a2547(0x111)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a48_0x711458(0x108)](),'.browserstack');if(fs[a48_0x711458(0xe5)](browserstackFolderPath)){const filePath=path[a48_0x711458(0x10e)](browserstackFolderPath,a48_0x711458(0xc4));fs[a48_0x711458(0xe5)](filePath)&&fs['unlinkSync'](filePath);}}catch(a48_0x2b3c6d){logger[a48_0x711458(0x99)](a48_0x711458(0x11f)+a48_0x2b3c6d[a48_0x711458(0xef)]);}process[a48_0x711458(0xdf)]['includes'](a48_0x711458(0xbc))&&(!process['argv'][a48_0x711458(0x102)](a48_0x711458(0xbe))&&process[a48_0x711458(0xdf)][a48_0x711458(0xa4)](a48_0x711458(0xa6)),!process[a48_0x711458(0xdf)][a48_0x711458(0x101)](_0x4c3b43=>_0x4c3b43['includes'](a48_0x711458(0xb0)))&&process[a48_0x711458(0xdf)]['push'](a48_0x711458(0xb6)),!process['argv'][a48_0x711458(0x102)]('--package')&&process[a48_0x711458(0xdf)][a48_0x711458(0xa4)](a48_0x711458(0xcc)),helper['findAndReplace'](process['argv'],a48_0x711458(0xe6),a48_0x711458(0x118)));PerformanceTester[a48_0x711458(0x111)](PerformanceEvents[a48_0x711458(0xf3)]);function a48_0xd19b(){const _0x38d639=['debug','mkHaR','option','stop','help','FkSDc','util','fRnyf','../helpers/utilities','5lCLrCG','uTFAb','push','1yIxcnw','--no-opts','PLAYWRIGHT','Runs\x20the\x20binary\x20with\x20load\x20command','showHelpOnFail','xbJwl','NrrWT','xGznU','exitCode','mocha/lib/cli/cli.js','run','--config','usage','oOIXs','cucumber-js','slice','JomBC','--no-config','path','usage:\x20$0\x20<command>\x20[args]','spawn','dsiaG','./vanilla-js/command','mocha','mocha/lib/cli/commands.js','--opts','OPwMJ','VERSION','config','../helpers/helper','setTestObservabilityDisable','.local-not-set.json','HELP','format','rkpCI','XdqNJ','sendLogs','ChCcW','3252860MJGElx','--no-package','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','sBnDH','playwright','handler','codeceptjs','xVhpJ','5669424sdALgE','VANILLA','../helpers/test-observability/constants','alias','./load/index','Show\x20help','lzurA','Parsing\x20command\x20line\x20arguments','BROWSERSTACK_CONFIG_FILE_PATH','EVENTS','tfJhL','nightwatch','argv','NIGHTWATCH','../helpers/performance/constants','./codeceptjs/command','99djhYpy','HST','existsSync','--require','hEljs','framework','strict','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','fireFunnelTestEvent','INFO','end','isUndefined','message','551994xiTxLb','../helpers/performance/performance-tester','vanilla','SDK_SETUP','1882634IVrzPu','ZgDyG','rJfwE','assign','error','CUCUMBER','NyLMq','command','info','winstonLogger','xtPdN','ats','ueufY','find','includes','SDKTestSuccessful','env','HiFED','LQxCd','jest','homedir','../../ats/src/index','describe','mocha/lib/cli/run.js','gRZrS','dot-notation','join','./jest/command','child_process','start','XJNAK','kGDkr','pWLmD','iuMxu','CTnlc','gAisz','--mochaRequire','version','demandCommand','boolean','integrations','2144hkfxup','7755804zUducR','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./integrations/command','11368anqCco','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setBrowserStackAutomationDisable','dCoBX','369676XgbAAK','../helpers/BrowserStackSetup','getConfigPath','stack'];a48_0xd19b=function(){return _0x38d639;};return a48_0xd19b();}function a48_0x3c12(_0x526e13,_0xcaea18){const _0xd19b6f=a48_0xd19b();return a48_0x3c12=function(_0x3c123e,_0xc01673){_0x3c123e=_0x3c123e-0x97;let _0x84221e=_0xd19b6f[_0x3c123e];return _0x84221e;},a48_0x3c12(_0x526e13,_0xcaea18);}const a48_0x2c97ab={};a48_0x2c97ab[a48_0x711458(0x10d)]=![];const argv=yargs['parserConfiguration'](a48_0x2c97ab)[a48_0x711458(0xb1)](a48_0x711458(0xb8))[a48_0x711458(0xd6)]('v',a48_0x711458(0x119))[a48_0x711458(0x10a)]('v')[a48_0x711458(0xd6)]('h',a48_0x711458(0x9d))[a48_0x711458(0x9d)](a48_0x711458(0x9d))[a48_0x711458(0xa9)](!![],Constants[a48_0x711458(0xc0)][a48_0x711458(0xc5)])['command'](a48_0x711458(0x107),Constants['JEST'][a48_0x711458(0xec)],function(_0x9fdd8b){const _0x343c3f=a48_0x711458,_0xd5931c={'gRZrS':'jest','dCoBX':function(_0x3da6a5,_0x558de0,_0x4b8d13,_0x12bc26,_0x279f31){return _0x3da6a5(_0x558de0,_0x4b8d13,_0x12bc26,_0x279f31);},'EequB':function(_0x5c5a05,_0x18a20f){return _0x5c5a05(_0x18a20f);},'Rzrvh':_0x343c3f(0x10f)},_0x1aeeee=process[_0x343c3f(0xdf)]['slice'](0x2);helper[_0x343c3f(0xc3)](),helper['setBrowserStackAutomationDisable']();const _0x50c7b9=new BrowserStackSetup(_0x9fdd8b[_0x343c3f(0xdf)],_0xd5931c[_0x343c3f(0x10c)]);return _0xd5931c[_0x343c3f(0x124)](captureError,_0xd5931c['EequB'](require,_0xd5931c['Rzrvh']),_0x9fdd8b[_0x343c3f(0xdf)],_0x50c7b9,_0x1aeeee);})[a48_0x711458(0xfb)](a48_0x711458(0xbc),Constants['MOCHA'][a48_0x711458(0xec)],_0xb7586e=>{const _0x47fe90=a48_0x711458,_0x384adf={'tfJhL':function(_0x56004e,_0x3144d2,_0x2c252c,_0x5aa6bd){return _0x56004e(_0x3144d2,_0x2c252c,_0x5aa6bd);},'PLjGj':function(_0xd58690,_0x426fab){return _0xd58690(_0x426fab);},'rkpCI':'./mocha/command','OPwMJ':_0x47fe90(0xbc),'hCRLN':_0x47fe90(0xda),'LQxCd':function(_0x26d584,_0x5cc427,_0x595126){return _0x26d584(_0x5cc427,_0x595126);},'lzurA':_0x47fe90(0x10b),'oOIXs':function(_0x2ff73b,_0x36ad37,_0x3574c5){return _0x2ff73b(_0x36ad37,_0x3574c5);},'DbmyN':_0x47fe90(0xbd),'kGDkr':_0x47fe90(0xae),'xZtEv':function(_0x1f3072){return _0x1f3072();}};process[_0x47fe90(0xdf)]=process[_0x47fe90(0xdf)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper[_0x47fe90(0x123)]();const _0x1963e9=new BrowserStackSetup(_0xb7586e[_0x47fe90(0xdf)],_0x384adf[_0x47fe90(0xbf)]);logger['debug'](_0x384adf['hCRLN']);const _0x350fa9=_0x384adf[_0x47fe90(0x106)](requireModule,_0x384adf[_0x47fe90(0xd9)],_0x384adf[_0x47fe90(0xbf)]),_0x51a35b=_0x384adf[_0x47fe90(0xb2)](requireModule,_0x384adf['DbmyN'],_0x384adf[_0x47fe90(0xbf)]);delete _0x350fa9[_0x47fe90(0xd0)],_0x350fa9['handler']=function(_0x316746){const _0x12f311=_0x47fe90;return _0x384adf[_0x12f311(0xdd)](captureError,_0x384adf['PLjGj'](require,_0x384adf[_0x12f311(0xc7)]),_0x316746,_0x1963e9);},_0x51a35b[_0x47fe90(0xaf)]=_0x350fa9;const {main:_0x3172cf}=_0x384adf['oOIXs'](requireModule,_0x384adf[_0x47fe90(0x113)],_0x384adf[_0x47fe90(0xbf)]);_0x384adf['xZtEv'](_0x3172cf);})[a48_0x711458(0xfb)]('cucumber-js',Constants[a48_0x711458(0xf9)][a48_0x711458(0xec)],function(_0x520136){const _0x5d9214=a48_0x711458,_0x29d16f={'NyLMq':_0x5d9214(0xb3),'HiFED':function(_0x526130,_0x112a68,_0x1ca4b3,_0x57e8ab,_0xb1c194){return _0x526130(_0x112a68,_0x1ca4b3,_0x57e8ab,_0xb1c194);},'XLoPB':function(_0x4e4974,_0x6dac90){return _0x4e4974(_0x6dac90);},'NrrWT':'./cucumber-js/command'},_0xcf33d7=process[_0x5d9214(0xdf)]['slice'](0x2),_0x3044fe=new BrowserStackSetup(_0x520136[_0x5d9214(0xdf)],_0x29d16f[_0x5d9214(0xfa)]);return _0x29d16f[_0x5d9214(0x105)](captureError,_0x29d16f['XLoPB'](require,_0x29d16f[_0x5d9214(0xab)]),_0x520136[_0x5d9214(0xdf)],_0x3044fe,_0xcf33d7);})[a48_0x711458(0xfb)]('node',Constants[a48_0x711458(0xd4)][a48_0x711458(0xec)],function(_0x4127ac){const _0x27b879=a48_0x711458,_0x456071={'uTFAb':_0x27b879(0xf2),'xtPdN':function(_0x246ef5,_0x4d1a96,_0x54c8ef,_0xfecd6c,_0x50b967){return _0x246ef5(_0x4d1a96,_0x54c8ef,_0xfecd6c,_0x50b967);},'FkSDc':function(_0x1578da,_0xef8dba){return _0x1578da(_0xef8dba);},'xGznU':_0x27b879(0xbb)},_0x323c55=process[_0x27b879(0xdf)][_0x27b879(0xb4)](0x2),_0x1760cb=new BrowserStackSetup(_0x4127ac[_0x27b879(0xdf)],_0x456071[_0x27b879(0xa3)]);return _0x456071[_0x27b879(0xfe)](captureError,_0x456071[_0x27b879(0x9e)](require,_0x456071[_0x27b879(0xac)]),_0x4127ac[_0x27b879(0xdf)],_0x1760cb,_0x323c55);})[a48_0x711458(0xfb)](a48_0x711458(0xde),Constants[a48_0x711458(0xe0)][a48_0x711458(0xec)],function(_0x5c2530){const _0x20fc78=a48_0x711458,_0x1254a4={'XdqNJ':function(_0x3a92d8,_0xacecac,_0x23d5f5,_0x2ded38,_0x4b3aa9){return _0x3a92d8(_0xacecac,_0x23d5f5,_0x2ded38,_0x4b3aa9);},'CTnlc':function(_0x57f8e4,_0x397727){return _0x57f8e4(_0x397727);},'pWLmD':'./nightwatch/command'},_0x33a864=process[_0x20fc78(0xdf)]['slice'](0x2),_0x1f3061=new BrowserStackSetup(_0x5c2530[_0x20fc78(0xdf)]);return _0x1254a4[_0x20fc78(0xc8)](captureError,_0x1254a4[_0x20fc78(0x116)](require,_0x1254a4[_0x20fc78(0x114)]),_0x5c2530['argv'],_0x1f3061,_0x33a864);})[a48_0x711458(0xfb)](a48_0x711458(0xd1),Constants['CODECEPTJS'][a48_0x711458(0xec)],function(_0x3af6e5){const _0x3c3e26=a48_0x711458,_0x28f94c={'wJfIr':_0x3c3e26(0xd1),'XJNAK':function(_0x5b50e6,_0x4f6ef7,_0x42628c,_0x15def0,_0x4a69d4){return _0x5b50e6(_0x4f6ef7,_0x42628c,_0x15def0,_0x4a69d4);},'ZgDyG':function(_0x22ba47,_0x425f0e){return _0x22ba47(_0x425f0e);},'ueufY':_0x3c3e26(0xe2)},_0x3edbd5=process[_0x3c3e26(0xdf)][_0x3c3e26(0xb4)](0x2),_0x139caf=new BrowserStackSetup(_0x3af6e5[_0x3c3e26(0xdf)],_0x28f94c['wJfIr']);return _0x28f94c[_0x3c3e26(0x112)](captureError,_0x28f94c[_0x3c3e26(0xf5)](require,_0x28f94c[_0x3c3e26(0x100)]),_0x3af6e5[_0x3c3e26(0xdf)],_0x139caf,_0x3edbd5);})[a48_0x711458(0xfb)]('ats',Constants[a48_0x711458(0xe4)][a48_0x711458(0xec)],function(_0x44cbc3){const _0x5e5848=a48_0x711458,_0x21ad04={'dsiaG':function(_0x5ba02e,_0xa9f117,_0x379031){return _0x5ba02e(_0xa9f117,_0x379031);},'xVhpJ':function(_0x3b215d,_0x4d90fe){return _0x3b215d(_0x4d90fe);},'gAisz':_0x5e5848(0x109)},_0x218c14=process[_0x5e5848(0xdf)]['slice'](0x2);return _0x21ad04[_0x5e5848(0xba)](captureError,_0x21ad04[_0x5e5848(0xd2)](require,_0x21ad04[_0x5e5848(0x117)]),_0x44cbc3);})[a48_0x711458(0xfb)](a48_0x711458(0x11c),Constants['INTEGRATIONS'][a48_0x711458(0xec)],function(_0x42b45b){const _0x5f2a7f=a48_0x711458,_0xbe7e86={'iuMxu':function(_0x51b59c,_0x4eb295){return _0x51b59c(_0x4eb295);}};return _0xbe7e86[_0x5f2a7f(0x115)](runIntegrations,_0x42b45b);})[a48_0x711458(0xfb)](a48_0x711458(0xcf),Constants[a48_0x711458(0xa7)][a48_0x711458(0xec)],function(_0x135bc1){const _0x446e07=a48_0x711458,_0x3c03ee={'hEljs':function(_0x20372e,_0x4c587b,_0x3f21d7,_0x2e46d1,_0x4bd889){return _0x20372e(_0x4c587b,_0x3f21d7,_0x2e46d1,_0x4bd889);},'xbJwl':function(_0x4bce75,_0x4fa2d7){return _0x4bce75(_0x4fa2d7);},'ObCsz':'./playwright/command'},_0x537d2b=process[_0x446e07(0xdf)][_0x446e07(0xb4)](0x2);helper['getConfigPath'](process['argv'])&&(process[_0x446e07(0x104)][_0x446e07(0xdb)]=helper[_0x446e07(0x97)](process[_0x446e07(0xdf)]));helper[_0x446e07(0xc3)](),helper[_0x446e07(0x123)]();const _0x41b712=new BrowserStackSetup(_0x135bc1[_0x446e07(0xdf)],FRAMEWORKS[_0x446e07(0xa7)]);return _0x3c03ee[_0x446e07(0xe7)](captureError,_0x3c03ee[_0x446e07(0xaa)](require,_0x3c03ee['ObCsz']),_0x135bc1['argv'],_0x41b712,_0x537d2b);})['command']('load\x20[subcommand]',a48_0x711458(0xa8),function(_0x7826b0){const _0x3c913b=a48_0x711458,_0x5b7525={};_0x5b7525[_0x3c913b(0xca)]=_0x3c913b(0x9d),_0x5b7525[_0x3c913b(0xf6)]=_0x3c913b(0x11b),_0x5b7525['mkHaR']=_0x3c913b(0xd8);const _0x4bb47e=_0x5b7525;return _0x7826b0[_0x3c913b(0x9d)](![])[_0x3c913b(0x9b)](_0x4bb47e[_0x3c913b(0xca)],{'alias':'h','type':_0x4bb47e[_0x3c913b(0xf6)],'describe':_0x4bb47e[_0x3c913b(0x9a)]})[_0x3c913b(0xe9)](![])['exitProcess'](![]);},function(_0x4fb95d){const _0x4f9094=a48_0x711458,_0x3c9c7c={'JhsPA':function(_0x4c17aa,_0x2470e5,_0x5a9130){return _0x4c17aa(_0x2470e5,_0x5a9130);},'fRnyf':function(_0x1f3ab8,_0x20d35b){return _0x1f3ab8(_0x20d35b);},'EEysY':_0x4f9094(0xd7)},_0x19117c={};return _0x19117c[_0x4f9094(0xdf)]=_0x4fb95d,_0x3c9c7c['JhsPA'](captureError,_0x3c9c7c[_0x4f9094(0xa0)](require,_0x3c9c7c['EEysY']),_0x19117c);})[a48_0x711458(0x11a)](0x1,a48_0x711458(0x122))['wrap'](null)[a48_0x711458(0xdf)];!helper[a48_0x711458(0xee)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x711458(0xff)&&console['error'](a48_0x711458(0xea));
|