browserstack-node-sdk 1.49.10 → 1.49.11
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/jestTestFramework.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/loadTestModule.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/v2/utils/jest-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
|
-
function a44_0x3c24(){const _0x5dbabf=['@playwright/test','calculateTimesFromMultipleFiles','imkpB','endsWith','trace','QblbE','isRunning','DGTnm','vdNsq','psVzl','HSOdi','GxwGy','Percentage\x20of\x20increased\x20time\x20is\x20','177MdSDCR','testUId','cPOZn','statSync','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','708888yzUxEC','PLAYWRIGHT','uuvdJ','onTestEnd','5917710RYcdnF','kbATy','extname','compareVersions','toLowerCase','msKeY','853748rRhIqy','Test\x20timeout\x20of','WzyTc','1236Dazgpz','ExZum','ZyLXv','debug','beforeWorkerHook','YbDzz','rObkJ','onTestBegin','GVsrn','csnyd','xQRJV','resolve','XffqC','cyNSi','63788MAbMXb','getTime','_projectId','filePath','Error\x20in\x20sending\x20trace\x20file:\x20%s','runner/loadUtils.js','ItEvH','EhKMl','basename','.zip','size','siHLV','aodJI','OTfvn','validateFilePath','wtXae','GbxHY','beforeTestHook','Cjzcg','addTraceFilePath','5zXtzpY','TsMNy','MSuHs','eLMrR','stack','@playwright/test/lib/transform/transform.js','START_TIME','13455104mCvZmx','Gdkfo','startsWith','HTMDE','\x20in\x20attachments','../../../helpers/test-observability/utils','../../../helpers/logger','TmfBy','rwZty','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','OduzP','jsYOy','POocs','DwiZA','getLoadUtilsPath','ENhrb','readdirSync','XVfJd','filter','zsPje','setupBrowserDetails','getTransformPath','1.38.0','includes','\x20bytes','common','Searching\x20for\x20key:\x20','qCUOB','Total\x20duration\x20for\x20whole\x20build\x20is\x20','playwright','Arguments','runner/projectUtils.js','UWOmg','fTLcn','473bhkkCr','SwiOJ','NUjDK','vIRDe','TsGYt','wgLYL','KSaeH','OphEa','../../v2/TestInfo','getTestIdentifier','prototype','slice','URwey','util','message','JsMXl','onBegin','findNestedKey','performance-reporter.html','join','xQqYn','../../v2/browserstackCLI','sendTestLog','../../../helpers/performance/performance-tester','nbVar','mPVVa','lpuBV','sendTraceZip','tags','WwASM','lib','yZFcs','Trace\x20enabled','../../../helpers/test-observability/sessionHandler','sendEventData','Found\x20key:\x20','VIuea','attachments','TALzs','264876PmLeFZ','9xMdVAh','FBUfR','NLSnv','733fWKMXV','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','onStepBegin','../../../helpers/test-observability/constants','../../../helpers/helper','doo11ySync','playwright/lib/common/configLoader.js','path','map','1.42.0','1.35.0','processPageScreenshot','wUFjB','@playwright/test/lib/common/transform.js','format','uploadTraceZip','getFailureData','pORfZ','OYEqK','error','test','aHOUk','RvVxL','24HuhGaN','@playwright/test/lib/common/configLoader.js','UpQmu','TEST_LOG','./test-details','jDVLD','env','call'];a44_0x3c24=function(){return _0x5dbabf;};return a44_0x3c24();}const a44_0x49fb0f=a44_0x41d6;(function(_0xbe16bc,_0xb02738){const _0x26230b=a44_0x41d6,_0x23ef08=_0xbe16bc();while(!![]){try{const _0x2c05a3=parseInt(_0x26230b(0x1df))/0x1*(-parseInt(_0x26230b(0x169))/0x2)+-parseInt(_0x26230b(0x157))/0x3*(-parseInt(_0x26230b(0x177))/0x4)+parseInt(_0x26230b(0x18b))/0x5*(-parseInt(_0x26230b(0x15c))/0x6)+parseInt(_0x26230b(0x166))/0x7*(-parseInt(_0x26230b(0x142))/0x8)+parseInt(_0x26230b(0x1dc))/0x9*(parseInt(_0x26230b(0x160))/0xa)+-parseInt(_0x26230b(0x1b4))/0xb*(-parseInt(_0x26230b(0x1db))/0xc)+-parseInt(_0x26230b(0x192))/0xd;if(_0x2c05a3===_0xb02738)break;else _0x23ef08['push'](_0x23ef08['shift']());}catch(_0x1bab52){_0x23ef08['push'](_0x23ef08['shift']());}}}(a44_0x3c24,0x7c72d));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x49fb0f(0x197)),PerformanceTester=require(a44_0x49fb0f(0x1cb)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x49fb0f(0x1e2)),helper=require(a44_0x49fb0f(0x1e3)),path=require('path'),logger=require(a44_0x49fb0f(0x198))['winstonLogger'],SessionHandler=require(a44_0x49fb0f(0x1d5)),TestDetails=require(a44_0x49fb0f(0x146)),util=require(a44_0x49fb0f(0x1c1)),TestInfo=require(a44_0x49fb0f(0x1bc));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x2697c9=a44_0x49fb0f,_0x2606ba={'UpQmu':function(_0x4848f3,_0x24027f){return _0x4848f3(_0x24027f);},'wgLYL':_0x2697c9(0x1c9)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x2606ba[_0x2697c9(0x144)](require,_0x2606ba[_0x2697c9(0x1b9)])),BrowserstackCLIInstance;}function a44_0x41d6(_0x174dd1,_0x443d69){const _0x3c24d2=a44_0x3c24();return a44_0x41d6=function(_0x41d683,_0x36e44d){_0x41d683=_0x41d683-0x136;let _0x5af4e3=_0x3c24d2[_0x41d683];return _0x5af4e3;},a44_0x41d6(_0x174dd1,_0x443d69);}const getTagsFromTitle=_0x3c4cb0=>{const _0x26608d=a44_0x49fb0f;return _0x3c4cb0['match'](/@(\w+)/g)?.[_0x26608d(0x1e7)](_0x1f07c7=>_0x1f07c7[_0x26608d(0x1bf)](0x1))||[];};exports['getTestTags']=_0x11b799=>{const _0x3f2785=a44_0x49fb0f,_0x2bdaa6={'jDGUo':function(_0x35b41,_0x181d7a){return _0x35b41(_0x181d7a);}};if(_0x11b799[_0x3f2785(0x1d0)])return _0x11b799[_0x3f2785(0x1d0)][_0x3f2785(0x1e7)](_0xcefbb4=>_0xcefbb4['startsWith']('@')?_0xcefbb4['substr'](0x1):_0xcefbb4);return _0x2bdaa6['jDGUo'](getTagsFromTitle,_0x11b799['title']);},exports['calculatePerformance']=async()=>{const _0x685412=a44_0x49fb0f,_0x5002e1={'HTMDE':function(_0x46b72d,_0x4d386b){return _0x46b72d-_0x4d386b;},'XffqC':_0x685412(0x1c6),'Cjzcg':_0x685412(0x1c4),'Qssly':'endSession','HSOdi':_0x685412(0x170),'qCUOB':_0x685412(0x15f),'FBUfR':_0x685412(0x1e1),'zsPje':'onStepEnd','pORfZ':_0x685412(0x16d),'iXIXy':'afterWorkerHook','DGTnm':_0x685412(0x188),'eLMrR':'afterTestHook','GxwGy':_0x685412(0x1e4),'EhKMl':_0x685412(0x136),'SwiOJ':'sendSessionDetails','ExZum':_0x685412(0x1a6),'NUjDK':'requestSpyCallback','cPOZn':_0x685412(0x1ca),'vdNsq':function(_0x5f5bb7,_0x1abc4a){return _0x5f5bb7(_0x1abc4a);},'URwey':function(_0x3cf79b,_0x33f262){return _0x3cf79b/_0x33f262;},'OduzP':function(_0x487012,_0x1fbf4a){return _0x487012+_0x1fbf4a;},'vIRDe':function(_0xdcea6f,_0x225ba9){return _0xdcea6f*_0x225ba9;},'msKeY':function(_0x50709c,_0x2e0f40){return _0x50709c/_0x2e0f40;},'aHOUk':function(_0x21477e,_0x45dc7c){return _0x21477e+_0x45dc7c;}};if(!process['env'][_0x685412(0x191)])return;const _0x1aa390=_0x5002e1[_0x685412(0x195)](new Date()[_0x685412(0x178)](),new Date(process[_0x685412(0x148)][_0x685412(0x191)])[_0x685412(0x178)]()),_0x46838d=await PerformanceTester['stopAndGenerate'](_0x5002e1[_0x685412(0x175)],[_0x5002e1[_0x685412(0x189)],_0x5002e1['Qssly'],_0x5002e1[_0x685412(0x154)],_0x5002e1[_0x685412(0x1ad)],_0x5002e1[_0x685412(0x1dd)],_0x5002e1[_0x685412(0x1a5)]]),_0x5472e8=fs[_0x685412(0x1a2)]('.'),_0x559a81=_0x5472e8[_0x685412(0x1a4)](_0xe07fc6=>_0xe07fc6[_0x685412(0x194)]('performance-report-worker-')&&_0xe07fc6[_0x685412(0x14d)]('.json')),_0xe52377=await PerformanceTester[_0x685412(0x14b)](_0x559a81,[_0x5002e1[_0x685412(0x13c)],_0x5002e1['iXIXy'],_0x5002e1[_0x685412(0x151)],_0x5002e1[_0x685412(0x18e)],_0x5002e1[_0x685412(0x155)],_0x5002e1[_0x685412(0x17e)],_0x5002e1[_0x685412(0x1b5)],_0x5002e1[_0x685412(0x16a)],_0x5002e1[_0x685412(0x1b6)],_0x5002e1[_0x685412(0x159)]]);_0x5002e1['vdNsq'](debug,_0x685412(0x1ae)+_0x5002e1[_0x685412(0x1c0)](_0x1aa390,0x3e8)+'\x20s'),_0x5002e1[_0x685412(0x152)](debug,_0x685412(0x19b)+_0x5002e1[_0x685412(0x19c)](_0xe52377,_0x46838d)),_0x5002e1[_0x685412(0x152)](debug,_0x685412(0x156)+_0x5002e1[_0x685412(0x1b7)](_0x5002e1[_0x685412(0x165)](_0x5002e1[_0x685412(0x140)](_0xe52377,_0x46838d),_0x1aa390),0x64));},exports[a44_0x49fb0f(0x1a7)]=()=>{const _0x503413=a44_0x49fb0f,_0x174295={'OFtgQ':function(_0x13ad2c,_0x1d983a){return _0x13ad2c(_0x1d983a);},'wUFjB':function(_0x4d3fc4,_0x50cc72){return _0x4d3fc4>=_0x50cc72;},'ItEvH':_0x503413(0x1a8),'fTLcn':'playwright/lib/transform/transform.js','TmfBy':_0x503413(0x1af),'rwZty':_0x503413(0x1e9),'RvVxL':_0x503413(0x190),'mPVVa':_0x503413(0x14a),'yZFcs':_0x503413(0x138)},_0x2534ef=_0x174295['OFtgQ'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x174295['wUFjB'](helper[_0x503413(0x163)](_0x2534ef,_0x174295[_0x503413(0x17d)]),0x0))return[_0x174295[_0x503413(0x1b3)],_0x174295[_0x503413(0x199)]];if(_0x174295[_0x503413(0x137)](helper['compareVersions'](_0x2534ef,_0x174295[_0x503413(0x19a)]),0x0))return[_0x174295[_0x503413(0x141)],_0x174295[_0x503413(0x1cd)]];return[_0x174295[_0x503413(0x1d3)],_0x174295[_0x503413(0x1cd)]];},exports['getConfigLoaderPath']=()=>{const _0x3f45a4=a44_0x49fb0f,_0x2c49e4={'JsMXl':function(_0xefcde3,_0x88ba7d){return _0xefcde3(_0x88ba7d);},'psVzl':function(_0x5dad79,_0x34ec4c){return _0x5dad79>=_0x34ec4c;},'kbATy':_0x3f45a4(0x1a8),'WwASM':_0x3f45a4(0x1e5),'xQRJV':_0x3f45a4(0x1af),'QblbE':_0x3f45a4(0x143),'UWOmg':_0x3f45a4(0x14a)},_0xd20d17=_0x2c49e4[_0x3f45a4(0x1c3)](getFrameworkVersion,FRAMEWORKS[_0x3f45a4(0x15d)]);if(_0x2c49e4[_0x3f45a4(0x153)](helper['compareVersions'](_0xd20d17,_0x2c49e4[_0x3f45a4(0x161)]),0x0))return[_0x2c49e4[_0x3f45a4(0x1d1)],_0x2c49e4[_0x3f45a4(0x173)]];return[_0x2c49e4[_0x3f45a4(0x14f)],_0x2c49e4[_0x3f45a4(0x1b2)]];},exports[a44_0x49fb0f(0x1a0)]=()=>{const _0x3ca225=a44_0x49fb0f,_0x4aa718={};_0x4aa718[_0x3ca225(0x14c)]=_0x3ca225(0x17c);const _0x136ec8=_0x4aa718;return helper['getPlaywrightLibPath'](_0x136ec8[_0x3ca225(0x14c)]);},exports['getProjectUtilsPath']=()=>{const _0x2b70ef=a44_0x49fb0f,_0x11fd85={};_0x11fd85['POocs']=_0x2b70ef(0x1b1);const _0x24e7b4=_0x11fd85;return helper['getPlaywrightLibPath'](_0x24e7b4[_0x2b70ef(0x19e)]);},exports['getForkProcessPath']=()=>{const _0x26c443=a44_0x49fb0f,_0x339c58={'ENhrb':function(_0x4c90df,_0x4ad169){return _0x4c90df(_0x4ad169);},'rObkJ':function(_0x4c652e,_0x4240df){return _0x4c652e>=_0x4240df;},'TsGYt':_0x26c443(0x1a8),'aodJI':_0x26c443(0x1d2),'OphEa':_0x26c443(0x1ab),'MSuHs':'process.js','nbVar':_0x26c443(0x13f)},_0x59bee8=_0x339c58[_0x26c443(0x1a1)](getFrameworkVersion,FRAMEWORKS[_0x26c443(0x15d)]);if(_0x339c58[_0x26c443(0x16f)](helper[_0x26c443(0x163)](_0x59bee8,_0x339c58[_0x26c443(0x1b8)]),0x0))return path['join'](_0x339c58['aodJI'],_0x339c58[_0x26c443(0x1bb)],_0x339c58[_0x26c443(0x18d)]);return path[_0x26c443(0x1c7)](_0x339c58[_0x26c443(0x1cc)],_0x339c58[_0x26c443(0x183)],_0x339c58[_0x26c443(0x1bb)],_0x339c58['MSuHs']);},exports[a44_0x49fb0f(0x13b)]=(_0x23af85,{test_run_uuid:_0x2229ff})=>{const _0x6f2190=a44_0x49fb0f,_0x242a47={'KSaeH':'ERROR','csnyd':_0x6f2190(0x145),'siHLV':function(_0x52f3af,_0x546108){return _0x52f3af<=_0x546108;},'GbxHY':function(_0x4fbc9e,_0x1cca9d){return _0x4fbc9e(_0x1cca9d);},'TALzs':_0x6f2190(0x167),'TsMNy':function(_0x132b75,_0x4cb3dc){return _0x132b75(_0x4cb3dc);},'ZyLXv':function(_0x215be6,_0x4fc574){return _0x215be6>=_0x4fc574;},'ocuWQ':_0x6f2190(0x1e8),'XVfJd':function(_0x30ccfb,_0x11415c){return _0x30ccfb>_0x11415c;},'GVsrn':function(_0x173549,_0x1c894e,_0x52dc95){return _0x173549(_0x1c894e,_0x52dc95);},'pAUPx':'test'};if(!_0x23af85||_0x242a47[_0x6f2190(0x182)](_0x23af85['length'],0x0))return[];const _0x174876=_0x242a47[_0x6f2190(0x187)](removeAnsiColors,_0x23af85[0x0][_0x6f2190(0x1c2)]);if(_0x174876[_0x6f2190(0x194)](_0x242a47[_0x6f2190(0x1da)])){const _0x2d0e31=_0x23af85[0x0],_0x273044=_0x242a47[_0x6f2190(0x18c)](getFrameworkVersion,FRAMEWORKS[_0x6f2190(0x15d)]);if((!_0x2d0e31[_0x6f2190(0x18f)]||_0x242a47[_0x6f2190(0x16b)](_0x273044,_0x242a47['ocuWQ']))&&_0x242a47[_0x6f2190(0x1a3)](_0x23af85['length'],0x1))return{'failureData':[{'backtrace':[_0x174876,_0x242a47[_0x6f2190(0x187)](removeAnsiColors,_0x23af85[0x1]['stack'])]}],'logs':_0x23af85[_0x6f2190(0x1bf)](0x2)[_0x6f2190(0x1e7)](_0x1957e7=>{const _0x16cfc5=_0x6f2190;return{'timestamp':new Date()['toISOString'](),'level':_0x242a47[_0x16cfc5(0x1ba)],'message':''+_0x1957e7[_0x16cfc5(0x1c2)],'kind':_0x242a47[_0x16cfc5(0x172)],'http_response':{},'test_run_uuid':_0x2229ff};})};}return{'failureData':_0x242a47[_0x6f2190(0x171)](failureData,_0x23af85,_0x242a47['pAUPx']),'logs':[]};},exports[a44_0x49fb0f(0x185)]=_0xc5d938=>{const _0x194ff5=a44_0x49fb0f,_0x7f081={};_0x7f081[_0x194ff5(0x1ce)]=function(_0x37ad25,_0x36075e){return _0x37ad25!==_0x36075e;},_0x7f081[_0x194ff5(0x184)]=_0x194ff5(0x180),_0x7f081[_0x194ff5(0x16e)]=function(_0x2c3df2,_0x8e4195){return _0x2c3df2>_0x8e4195;};const _0x270698=_0x7f081;if(_0xc5d938&&fs['existsSync'](_0xc5d938)){if(_0x270698[_0x194ff5(0x1ce)](path[_0x194ff5(0x162)](_0xc5d938)[_0x194ff5(0x164)](),_0x270698[_0x194ff5(0x184)]))return logger['error'](_0x194ff5(0x15b)+_0xc5d938),![];const _0x12da4a=fs[_0x194ff5(0x15a)](_0xc5d938)[_0x194ff5(0x181)];if(_0x270698[_0x194ff5(0x16e)](_0x12da4a,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x194ff5(0x13e)](_0x194ff5(0x1e0)+_0x12da4a+_0x194ff5(0x1aa)),![];return!![];}return![];},exports[a44_0x49fb0f(0x1c5)]=(_0x199261,_0x4f72a7)=>{const _0x577059=a44_0x49fb0f,_0x2c3385={};_0x2c3385[_0x577059(0x19f)]=_0x577059(0x1b0);const _0x4d3b00=_0x2c3385;logger[_0x577059(0x16c)](_0x577059(0x1ac)+_0x4f72a7);if(_0x199261&&_0x199261[_0x577059(0x1d9)]){const _0x204814=_0x199261['attachments']['find'](_0x36e9c9=>_0x36e9c9['name']===_0x577059(0x14e));if(_0x204814)return logger['debug'](_0x577059(0x1d7)+_0x4f72a7+_0x577059(0x196)),_0x204814[_0x4f72a7];}else{if(_0x199261&&Object[_0x577059(0x1be)]['toString'][_0x577059(0x149)](_0x199261)[_0x577059(0x1a9)](_0x4d3b00[_0x577059(0x19f)]))for(const _0x4a134e of _0x199261){if(_0x4a134e[_0x4f72a7])return logger['debug'](_0x577059(0x1d7)+_0x4f72a7+'\x20in\x20arguments'),_0x4a134e[_0x4f72a7];}};return'';},exports[a44_0x49fb0f(0x13a)]=async(_0x1bc244,_0x28b736)=>{const _0xdc34fd=a44_0x49fb0f,_0x496fa5={};_0x496fa5[_0xdc34fd(0x186)]='LogCreated',_0x496fa5[_0xdc34fd(0x13d)]='TEST_ATTACHMENT',_0x496fa5[_0xdc34fd(0x1c8)]=_0xdc34fd(0x1cf),_0x496fa5['WzyTc']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x286d18=_0x496fa5;try{const _0x74bc56={'event_type':_0x286d18['wtXae'],'logs':[{'data':_0x1bc244?fs['createReadStream'](_0x1bc244):'','test_run_uuid':_0x28b736,'kind':_0x286d18[_0xdc34fd(0x13d)],'fileName':_0x1bc244?path[_0xdc34fd(0x17f)](_0x1bc244):''}]};return await SessionHandler[_0xdc34fd(0x1d6)](_0x74bc56,0x0,_0x286d18['xQqYn']);}catch(_0x4d8b72){logger[_0xdc34fd(0x13e)](util[_0xdc34fd(0x139)](_0x286d18[_0xdc34fd(0x168)],_0x4d8b72));}},exports[a44_0x49fb0f(0x1cf)]=async(_0x10d1c2,_0x25d761)=>{const _0xd41579=a44_0x49fb0f,_0x1fb754={'Gdkfo':_0xd41579(0x1e6),'uuvdJ':_0xd41579(0x1d4),'jDVLD':function(_0xb8bc30){return _0xb8bc30();},'cyNSi':_0xd41579(0x17b)};try{logger[_0xd41579(0x16c)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x25d761);let _0x6e7c7b=await exports[_0xd41579(0x1c5)](_0x10d1c2,_0x1fb754[_0xd41579(0x193)]);if(exports[_0xd41579(0x185)](_0x6e7c7b)){logger[_0xd41579(0x16c)](_0x1fb754[_0xd41579(0x15e)]),_0x6e7c7b=path[_0xd41579(0x174)](_0x6e7c7b);const _0x311a1a={};_0x311a1a[_0xd41579(0x158)]=_0x25d761,_0x311a1a[_0xd41579(0x17a)]=_0x6e7c7b;const _0x3903b1=_0x311a1a;_0x1fb754[_0xd41579(0x147)](getBrowserstackCLI)['getInstance']()[_0xd41579(0x150)]()?TestInfo['addTraceFilePath'](_0x3903b1):TestDetails[_0xd41579(0x18a)](_0x3903b1);};}catch(_0x473f6f){logger[_0xd41579(0x13e)](util[_0xd41579(0x139)](_0x1fb754[_0xd41579(0x176)],_0x473f6f));}},exports[a44_0x49fb0f(0x1bd)]=_0x3aa8ee=>{const _0x1fc3be=a44_0x49fb0f,_0x1d800e={};_0x1d800e['jsYOy']=function(_0x34fbc9,_0x33c5b0){return _0x34fbc9+_0x33c5b0;},_0x1d800e[_0x1fc3be(0x1de)]=function(_0x230d3c,_0x570f6a){return _0x230d3c+_0x570f6a;};const _0xf300e0=_0x1d800e;return _0xf300e0[_0x1fc3be(0x19d)](_0xf300e0[_0x1fc3be(0x1de)](_0x3aa8ee[_0x1fc3be(0x179)],'-'),_0x3aa8ee['id']);},exports['getTestRunIdentifier']=(_0x2c05fc,_0x450207)=>{const _0x4925db=a44_0x49fb0f,_0x5ef298={};_0x5ef298['VIuea']=function(_0xc403b6,_0x2d56bf){return _0xc403b6+_0x2d56bf;};const _0x1a53bf=_0x5ef298;return _0x1a53bf['VIuea'](_0x1a53bf[_0x4925db(0x1d8)](_0x2c05fc['id'],'-'),_0x450207);};
|
|
1
|
+
const a44_0x9c7145=a44_0x2a8b;(function(_0x1cb130,_0x4e238c){const _0x4228b5=a44_0x2a8b,_0x41d126=_0x1cb130();while(!![]){try{const _0x4b232d=parseInt(_0x4228b5(0x1e4))/0x1+parseInt(_0x4228b5(0x1cf))/0x2+parseInt(_0x4228b5(0x1d4))/0x3+-parseInt(_0x4228b5(0x1ad))/0x4+-parseInt(_0x4228b5(0x1e0))/0x5+parseInt(_0x4228b5(0x1ba))/0x6+-parseInt(_0x4228b5(0x19c))/0x7*(-parseInt(_0x4228b5(0x18e))/0x8);if(_0x4b232d===_0x4e238c)break;else _0x41d126['push'](_0x41d126['shift']());}catch(_0x299c46){_0x41d126['push'](_0x41d126['shift']());}}}(a44_0x41b2,0xb1f73));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x9c7145(0x1ff)),PerformanceTester=require(a44_0x9c7145(0x213)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x9c7145(0x224)),helper=require('../../../helpers/helper'),path=require(a44_0x9c7145(0x1b2)),logger=require('../../../helpers/logger')[a44_0x9c7145(0x216)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x9c7145(0x21c)),util=require(a44_0x9c7145(0x1ea)),TestInfo=require(a44_0x9c7145(0x1db));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x229757={'flDqp':function(_0x5a7e4c,_0x41a834){return _0x5a7e4c(_0x41a834);},'QpjxM':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x229757['flDqp'](require,_0x229757['QpjxM'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x36528d=>{const _0x4f7e4a=a44_0x9c7145;return _0x36528d[_0x4f7e4a(0x1a3)](/@(\w+)/g)?.['map'](_0x4a7078=>_0x4a7078[_0x4f7e4a(0x201)](0x1))||[];};exports['getTestTags']=_0x115b47=>{const _0x2214c4=a44_0x9c7145,_0x1d0c34={'fmVnf':function(_0x394cc0,_0x57141f){return _0x394cc0(_0x57141f);}};if(_0x115b47[_0x2214c4(0x198)])return _0x115b47['tags'][_0x2214c4(0x1ca)](_0x2f03b9=>_0x2f03b9[_0x2214c4(0x21b)]('@')?_0x2f03b9[_0x2214c4(0x1a0)](0x1):_0x2f03b9);return _0x1d0c34[_0x2214c4(0x1ab)](getTagsFromTitle,_0x115b47[_0x2214c4(0x227)]);},exports[a44_0x9c7145(0x1f0)]=async()=>{const _0x2f6cf3=a44_0x9c7145,_0x240410={'lHwzO':function(_0x3e8500,_0x49ff7c){return _0x3e8500-_0x49ff7c;},'OFFzX':_0x2f6cf3(0x20c),'NHlZq':_0x2f6cf3(0x1da),'riRRr':_0x2f6cf3(0x1c7),'jCnFv':'onTestBegin','cEzhS':_0x2f6cf3(0x1b3),'DcWMf':_0x2f6cf3(0x192),'oMtnd':_0x2f6cf3(0x1bc),'bDKeU':_0x2f6cf3(0x21d),'JTzRM':_0x2f6cf3(0x1e1),'gHWIu':_0x2f6cf3(0x19a),'SOkrJ':_0x2f6cf3(0x1ef),'SWPQv':_0x2f6cf3(0x1d5),'yUhaJ':_0x2f6cf3(0x1b0),'UgkLn':_0x2f6cf3(0x1e7),'onpcY':_0x2f6cf3(0x1ce),'nwYtR':_0x2f6cf3(0x1c4),'JxAXx':_0x2f6cf3(0x18d),'bRmep':function(_0x1fe58b,_0x559dda){return _0x1fe58b(_0x559dda);},'TnONf':function(_0x2a5084,_0x1f4931){return _0x2a5084/_0x1f4931;},'oqcJl':function(_0xee1b2f,_0x38f1b3){return _0xee1b2f(_0x38f1b3);},'McJpb':function(_0x29193a,_0x3fd4dc){return _0x29193a+_0x3fd4dc;},'SHvCB':function(_0x47829b,_0x25d70d){return _0x47829b(_0x25d70d);},'lsUmE':function(_0x289b98,_0x1a1516){return _0x289b98*_0x1a1516;},'KWCRE':function(_0x147dcd,_0x565348){return _0x147dcd/_0x565348;},'kdpSE':function(_0x350940,_0x182168){return _0x350940+_0x182168;}};if(!process['env'][_0x2f6cf3(0x1ed)])return;const _0x3487b1=_0x240410[_0x2f6cf3(0x186)](new Date()[_0x2f6cf3(0x19b)](),new Date(process[_0x2f6cf3(0x1e9)][_0x2f6cf3(0x1ed)])[_0x2f6cf3(0x19b)]()),_0x35c46b=await PerformanceTester[_0x2f6cf3(0x226)](_0x240410[_0x2f6cf3(0x1c5)],[_0x240410['NHlZq'],_0x240410[_0x2f6cf3(0x184)],_0x240410['jCnFv'],_0x240410['cEzhS'],_0x240410['DcWMf'],_0x240410['oMtnd']]),_0x5b939c=fs['readdirSync']('.'),_0x24374c=_0x5b939c['filter'](_0x31ab24=>_0x31ab24[_0x2f6cf3(0x21b)](_0x2f6cf3(0x205))&&_0x31ab24[_0x2f6cf3(0x1af)](_0x2f6cf3(0x1b5))),_0x123f8e=await PerformanceTester[_0x2f6cf3(0x1f4)](_0x24374c,[_0x240410[_0x2f6cf3(0x217)],_0x240410['JTzRM'],_0x240410[_0x2f6cf3(0x220)],_0x240410[_0x2f6cf3(0x1f8)],_0x240410[_0x2f6cf3(0x1a2)],_0x240410[_0x2f6cf3(0x1be)],_0x240410[_0x2f6cf3(0x1d3)],_0x240410['onpcY'],_0x240410[_0x2f6cf3(0x1d1)],_0x240410[_0x2f6cf3(0x18b)]]);_0x240410[_0x2f6cf3(0x1e2)](debug,_0x2f6cf3(0x210)+_0x240410[_0x2f6cf3(0x189)](_0x3487b1,0x3e8)+'\x20s'),_0x240410[_0x2f6cf3(0x200)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x240410[_0x2f6cf3(0x21f)](_0x123f8e,_0x35c46b)),_0x240410[_0x2f6cf3(0x195)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x240410[_0x2f6cf3(0x20a)](_0x240410['KWCRE'](_0x240410[_0x2f6cf3(0x203)](_0x123f8e,_0x35c46b),_0x3487b1),0x64));},exports['getTransformPath']=()=>{const _0x2ef59b=a44_0x9c7145,_0x490cd1={'FFoGP':function(_0x3a2906,_0x23b31c){return _0x3a2906(_0x23b31c);},'qYHWO':function(_0x1d8e50,_0x37dd0b){return _0x1d8e50>=_0x37dd0b;},'UsJsO':_0x2ef59b(0x17d),'IXOqk':_0x2ef59b(0x18a),'pbDME':'playwright','hTetQ':'1.35.0','XuJak':'@playwright/test/lib/transform/transform.js','apdmC':_0x2ef59b(0x1a4),'OuTrj':'@playwright/test/lib/common/transform.js'},_0x5f3e46=_0x490cd1[_0x2ef59b(0x1cd)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x490cd1[_0x2ef59b(0x17b)](helper['compareVersions'](_0x5f3e46,_0x490cd1[_0x2ef59b(0x1f2)]),0x0))return[_0x490cd1['IXOqk'],_0x490cd1[_0x2ef59b(0x190)]];if(_0x490cd1['qYHWO'](helper['compareVersions'](_0x5f3e46,_0x490cd1[_0x2ef59b(0x211)]),0x0))return[_0x490cd1[_0x2ef59b(0x1aa)],_0x490cd1[_0x2ef59b(0x207)]];return[_0x490cd1[_0x2ef59b(0x1bd)],_0x490cd1[_0x2ef59b(0x207)]];},exports[a44_0x9c7145(0x1cb)]=()=>{const _0xa3abe4=a44_0x9c7145,_0x366e1f={'ouhUa':function(_0xe74093,_0xb9ba03){return _0xe74093(_0xb9ba03);},'ZQtst':function(_0x47ee12,_0x23de47){return _0x47ee12>=_0x23de47;},'avqPC':_0xa3abe4(0x17d),'IDJlR':_0xa3abe4(0x19f),'JxPXN':'playwright','dLZBz':_0xa3abe4(0x1d6),'WeeAN':_0xa3abe4(0x1a4)},_0x19618f=_0x366e1f[_0xa3abe4(0x1b4)](getFrameworkVersion,FRAMEWORKS[_0xa3abe4(0x1b1)]);if(_0x366e1f[_0xa3abe4(0x1fa)](helper[_0xa3abe4(0x20e)](_0x19618f,_0x366e1f[_0xa3abe4(0x188)]),0x0))return[_0x366e1f[_0xa3abe4(0x17f)],_0x366e1f['JxPXN']];return[_0x366e1f[_0xa3abe4(0x206)],_0x366e1f[_0xa3abe4(0x1cc)]];},exports[a44_0x9c7145(0x228)]=()=>{const _0x5a9d63=a44_0x9c7145,_0x3e117={};_0x3e117[_0x5a9d63(0x1b8)]=_0x5a9d63(0x1df);const _0x152585=_0x3e117;return helper[_0x5a9d63(0x212)](_0x152585[_0x5a9d63(0x1b8)]);},exports[a44_0x9c7145(0x1e5)]=()=>{const _0x30446e=a44_0x9c7145,_0x149016={};_0x149016[_0x30446e(0x1d0)]=_0x30446e(0x1fb);const _0x27a09c=_0x149016;return helper['getPlaywrightLibPath'](_0x27a09c[_0x30446e(0x1d0)]);},exports[a44_0x9c7145(0x176)]=()=>{const _0x56e5ee=a44_0x9c7145,_0x2523ce={'xUHSB':function(_0x35c26b,_0x135698){return _0x35c26b(_0x135698);},'kOqbY':function(_0x5218e0,_0x2523bc){return _0x5218e0>=_0x2523bc;},'KsnRU':_0x56e5ee(0x17d),'COeVR':_0x56e5ee(0x1de),'ynROM':_0x56e5ee(0x1a5),'okFOY':_0x56e5ee(0x1ac),'GWmuU':_0x56e5ee(0x1d7)},_0x43f230=_0x2523ce[_0x56e5ee(0x1ee)](getFrameworkVersion,FRAMEWORKS[_0x56e5ee(0x1b1)]);if(_0x2523ce[_0x56e5ee(0x219)](helper[_0x56e5ee(0x20e)](_0x43f230,_0x2523ce['KsnRU']),0x0))return path[_0x56e5ee(0x20d)](_0x2523ce[_0x56e5ee(0x1c8)],_0x2523ce['ynROM'],_0x2523ce[_0x56e5ee(0x1c2)]);return path[_0x56e5ee(0x20d)](_0x2523ce[_0x56e5ee(0x20f)],_0x2523ce[_0x56e5ee(0x1c8)],_0x2523ce[_0x56e5ee(0x185)],_0x2523ce[_0x56e5ee(0x1c2)]);},exports[a44_0x9c7145(0x1bb)]=(_0x251576,{test_run_uuid:_0x9a77ba})=>{const _0x31b2b4=a44_0x9c7145,_0xa61a9f={'NsnMl':_0x31b2b4(0x209),'kanHO':_0x31b2b4(0x1dc),'AYplU':function(_0x20958d,_0x468e30){return _0x20958d<=_0x468e30;},'FbSdA':function(_0x25dcd5,_0x408e18){return _0x25dcd5(_0x408e18);},'QJWGX':_0x31b2b4(0x1ae),'VJNxV':function(_0x549389,_0xdfce7e){return _0x549389(_0xdfce7e);},'Uzkae':function(_0x1a4026,_0x247d67){return _0x1a4026>=_0x247d67;},'iPbCR':_0x31b2b4(0x181),'koDmN':function(_0x4c701c,_0x2a4268){return _0x4c701c>_0x2a4268;},'QVGGG':function(_0x4c04f9,_0x4c82a2){return _0x4c04f9(_0x4c82a2);},'WksyQ':function(_0x266cde,_0x243473,_0x308fe7){return _0x266cde(_0x243473,_0x308fe7);},'sTDxl':_0x31b2b4(0x1d7)};if(!_0x251576||_0xa61a9f[_0x31b2b4(0x1a9)](_0x251576[_0x31b2b4(0x202)],0x0))return[];const _0x26aba4=_0xa61a9f[_0x31b2b4(0x1f3)](removeAnsiColors,_0x251576[0x0][_0x31b2b4(0x1e6)]);if(_0x26aba4['startsWith'](_0xa61a9f[_0x31b2b4(0x178)])){const _0x2c31fb=_0x251576[0x0],_0x13eaa8=_0xa61a9f[_0x31b2b4(0x1fc)](getFrameworkVersion,FRAMEWORKS[_0x31b2b4(0x1b1)]);if((!_0x2c31fb[_0x31b2b4(0x17c)]||_0xa61a9f[_0x31b2b4(0x1c3)](_0x13eaa8,_0xa61a9f[_0x31b2b4(0x1c0)]))&&_0xa61a9f[_0x31b2b4(0x1d2)](_0x251576['length'],0x1))return{'failureData':[{'backtrace':[_0x26aba4,_0xa61a9f[_0x31b2b4(0x187)](removeAnsiColors,_0x251576[0x1][_0x31b2b4(0x17c)])]}],'logs':_0x251576[_0x31b2b4(0x201)](0x2)[_0x31b2b4(0x1ca)](_0x3c2e9e=>{const _0x59323d=_0x31b2b4;return{'timestamp':new Date()[_0x59323d(0x182)](),'level':_0xa61a9f['NsnMl'],'message':''+_0x3c2e9e[_0x59323d(0x1e6)],'kind':_0xa61a9f['kanHO'],'http_response':{},'test_run_uuid':_0x9a77ba};})};}return{'failureData':_0xa61a9f[_0x31b2b4(0x1c9)](failureData,_0x251576,_0xa61a9f[_0x31b2b4(0x225)]),'logs':[]};},exports[a44_0x9c7145(0x1d9)]=_0x82474b=>{const _0x116a79=a44_0x9c7145,_0x55e67b={};_0x55e67b[_0x116a79(0x183)]=function(_0x3489f6,_0x558606){return _0x3489f6!==_0x558606;},_0x55e67b['AQHpH']=_0x116a79(0x221),_0x55e67b['LmZrk']=function(_0x54d729,_0x243390){return _0x54d729>_0x243390;};const _0x567766=_0x55e67b;if(_0x82474b&&fs[_0x116a79(0x193)](_0x82474b)){if(_0x567766[_0x116a79(0x183)](path[_0x116a79(0x1a7)](_0x82474b)[_0x116a79(0x218)](),_0x567766['AQHpH']))return logger['error'](_0x116a79(0x1e8)+_0x82474b),![];const _0x2ce294=fs[_0x116a79(0x1d8)](_0x82474b)[_0x116a79(0x204)];if(_0x567766[_0x116a79(0x208)](_0x2ce294,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x116a79(0x19e)](_0x116a79(0x1eb)+_0x2ce294+_0x116a79(0x1b7)),![];return!![];}return![];},exports[a44_0x9c7145(0x1bf)]=(_0x1be437,_0x1202ba)=>{const _0x380691=a44_0x9c7145,_0x3ef6ac={};_0x3ef6ac[_0x380691(0x1c1)]=_0x380691(0x1f7);const _0x1a109a=_0x3ef6ac;logger[_0x380691(0x17a)](_0x380691(0x196)+_0x1202ba);if(_0x1be437&&_0x1be437[_0x380691(0x180)]){const _0x2235d0=_0x1be437[_0x380691(0x180)][_0x380691(0x222)](_0x44bbd9=>_0x44bbd9[_0x380691(0x191)]===_0x380691(0x179));if(_0x2235d0)return logger['debug']('Found\x20key:\x20'+_0x1202ba+_0x380691(0x1f1)),_0x2235d0[_0x1202ba];}else{if(_0x1be437&&Object[_0x380691(0x177)]['toString'][_0x380691(0x214)](_0x1be437)['includes'](_0x1a109a['BVFDi']))for(const _0x2fe116 of _0x1be437){if(_0x2fe116[_0x1202ba])return logger['debug'](_0x380691(0x1f6)+_0x1202ba+_0x380691(0x1f5)),_0x2fe116[_0x1202ba];}};return'';},exports[a44_0x9c7145(0x215)]=async(_0x2185ff,_0x42939a)=>{const _0x2b9298=a44_0x9c7145,_0x151628={};_0x151628[_0x2b9298(0x199)]=_0x2b9298(0x1f9),_0x151628['uqygo']='TEST_ATTACHMENT',_0x151628[_0x2b9298(0x1dd)]=_0x2b9298(0x19d),_0x151628[_0x2b9298(0x1c6)]=_0x2b9298(0x1b6);const _0x5d8b78=_0x151628;try{const _0x50aa49={'event_type':_0x5d8b78[_0x2b9298(0x199)],'logs':[{'data':_0x2185ff?fs[_0x2b9298(0x18c)](_0x2185ff):'','test_run_uuid':_0x42939a,'kind':_0x5d8b78['uqygo'],'fileName':_0x2185ff?path[_0x2b9298(0x20b)](_0x2185ff):''}]};return await SessionHandler[_0x2b9298(0x1fe)](_0x50aa49,0x0,_0x5d8b78[_0x2b9298(0x1dd)]);}catch(_0x2d9966){logger[_0x2b9298(0x19e)](util['format'](_0x5d8b78['eSLCh'],_0x2d9966));}},exports[a44_0x9c7145(0x19d)]=async(_0x57cb91,_0xcb92bb)=>{const _0x46f095=a44_0x9c7145,_0x2d13a0={'JMjmA':_0x46f095(0x1b2),'clrWB':_0x46f095(0x1b9),'BAWAL':function(_0x11b9a1){return _0x11b9a1();},'bCpbD':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x46f095(0x17a)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0xcb92bb);let _0xf4fd7f=await exports[_0x46f095(0x1bf)](_0x57cb91,_0x2d13a0[_0x46f095(0x18f)]);if(exports['validateFilePath'](_0xf4fd7f)){logger[_0x46f095(0x17a)](_0x2d13a0[_0x46f095(0x223)]),_0xf4fd7f=path[_0x46f095(0x197)](_0xf4fd7f);const _0x393899={};_0x393899['testUId']=_0xcb92bb,_0x393899[_0x46f095(0x21a)]=_0xf4fd7f;const _0x3df3d7=_0x393899;_0x2d13a0[_0x46f095(0x17e)](getBrowserstackCLI)[_0x46f095(0x1a8)]()['isRunning']()?TestInfo[_0x46f095(0x1a1)](_0x3df3d7):TestDetails['addTraceFilePath'](_0x3df3d7);};}catch(_0x3a03db){logger['error'](util[_0x46f095(0x1ec)](_0x2d13a0['bCpbD'],_0x3a03db));}},exports[a44_0x9c7145(0x1a6)]=_0xec6a07=>{const _0x162244=a44_0x9c7145,_0x37ad8a={};_0x37ad8a[_0x162244(0x1fd)]=function(_0x180959,_0x4c6a53){return _0x180959+_0x4c6a53;};const _0x12ad25=_0x37ad8a;return _0x12ad25[_0x162244(0x1fd)](_0x12ad25[_0x162244(0x1fd)](_0xec6a07[_0x162244(0x21e)],'-'),_0xec6a07['id']);},exports[a44_0x9c7145(0x194)]=(_0x26cae3,_0x347467)=>{const _0x45f413=a44_0x9c7145,_0x19f649={};_0x19f649[_0x45f413(0x1e3)]=function(_0x4cfc1b,_0x3caace){return _0x4cfc1b+_0x3caace;};const _0x37cd2b=_0x19f649;return _0x37cd2b[_0x45f413(0x1e3)](_0x37cd2b['aSCQr'](_0x26cae3['id'],'-'),_0x347467);};function a44_0x2a8b(_0xa22223,_0x11b8ba){const _0x41b282=a44_0x41b2();return a44_0x2a8b=function(_0x2a8b57,_0x4aa67e){_0x2a8b57=_0x2a8b57-0x176;let _0x4a093=_0x41b282[_0x2a8b57];return _0x4a093;},a44_0x2a8b(_0xa22223,_0x11b8ba);}function a44_0x41b2(){const _0x69ef4=['playwright/lib/transform/transform.js','JxAXx','createReadStream','sendTestLog','87712yFCOzN','JMjmA','pbDME','name','onStepBegin','existsSync','getTestRunIdentifier','SHvCB','Searching\x20for\x20key:\x20','resolve','tags','TrVsP','beforeTestHook','getTime','203aHRagW','sendTraceZip','error','playwright/lib/common/configLoader.js','substr','addTraceFilePath','SWPQv','match','@playwright/test','common','getTestIdentifier','extname','getInstance','AYplU','XuJak','fmVnf','process.js','5358444AVoJCn','Test\x20timeout\x20of','endsWith','processPageScreenshot','PLAYWRIGHT','path','onTestEnd','ouhUa','.json','Error\x20in\x20sending\x20trace\x20file:\x20%s','\x20bytes','MjOWH','Trace\x20enabled','7123062LxlNyI','getFailureData','onStepEnd','OuTrj','yUhaJ','findNestedKey','iPbCR','BVFDi','okFOY','Uzkae','requestSpyCallback','OFFzX','eSLCh','endSession','COeVR','WksyQ','map','getConfigLoaderPath','WeeAN','FFoGP','setupBrowserDetails','1204102kzNmEA','LZzbs','nwYtR','koDmN','UgkLn','2246226SIaLGG','doo11ySync','@playwright/test/lib/common/configLoader.js','test','statSync','validateFilePath','onBegin','../../v2/TestInfo','TEST_LOG','xPZgM','lib','runner/loadUtils.js','7268145bINPxV','afterWorkerHook','bRmep','aSCQr','666261gPKcDr','getProjectUtilsPath','message','sendSessionDetails','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','env','util','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','format','START_TIME','xUHSB','afterTestHook','calculatePerformance','\x20in\x20attachments','UsJsO','FbSdA','calculateTimesFromMultipleFiles','\x20in\x20arguments','Found\x20key:\x20','Arguments','SOkrJ','LogCreated','ZQtst','runner/projectUtils.js','VJNxV','EFyaz','sendEventData','../../../helpers/test-observability/utils','oqcJl','slice','length','kdpSE','size','performance-report-worker-','dLZBz','apdmC','LmZrk','ERROR','lsUmE','basename','performance-reporter.html','join','compareVersions','GWmuU','Total\x20duration\x20for\x20whole\x20build\x20is\x20','hTetQ','getPlaywrightLibPath','../../../helpers/performance/performance-tester','call','uploadTraceZip','winstonLogger','bDKeU','toLowerCase','kOqbY','filePath','startsWith','./test-details','beforeWorkerHook','_projectId','McJpb','gHWIu','.zip','find','clrWB','../../../helpers/test-observability/constants','sTDxl','stopAndGenerate','title','getLoadUtilsPath','getForkProcessPath','prototype','QJWGX','trace','debug','qYHWO','stack','1.38.0','BAWAL','IDJlR','attachments','1.42.0','toISOString','rfwct','riRRr','ynROM','lHwzO','QVGGG','avqPC','TnONf'];a44_0x41b2=function(){return _0x69ef4;};return a44_0x41b2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45_0x294f8e=a45_0x8bd9;function a45_0x8bd9(_0x32b76f,_0x250e41){const _0x4dffee=a45_0x4dff();return a45_0x8bd9=function(_0x8bd935,_0x540e9d){_0x8bd935=_0x8bd935-0x1bf;let _0x57d9b7=_0x4dffee[_0x8bd935];return _0x57d9b7;},a45_0x8bd9(_0x32b76f,_0x250e41);}(function(_0x375d8c,_0x92aaea){const _0x2196be=a45_0x8bd9,_0x4d187e=_0x375d8c();while(!![]){try{const _0x54b4a5=-parseInt(_0x2196be(0x22e))/0x1*(-parseInt(_0x2196be(0x25a))/0x2)+-parseInt(_0x2196be(0x1e5))/0x3+parseInt(_0x2196be(0x2b6))/0x4+-parseInt(_0x2196be(0x24c))/0x5*(parseInt(_0x2196be(0x1dd))/0x6)+-parseInt(_0x2196be(0x1bf))/0x7*(parseInt(_0x2196be(0x258))/0x8)+parseInt(_0x2196be(0x1cc))/0x9*(-parseInt(_0x2196be(0x1f8))/0xa)+parseInt(_0x2196be(0x29b))/0xb;if(_0x54b4a5===_0x92aaea)break;else _0x4d187e['push'](_0x4d187e['shift']());}catch(_0x3a4b03){_0x4d187e['push'](_0x4d187e['shift']());}}}(a45_0x4dff,0x7dffc));const RequestQueueHandler=require(a45_0x294f8e(0x287)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a45_0x294f8e(0x2c0)),path=require(a45_0x294f8e(0x2ad)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require('./test-details'),fs=require('fs'),util=require(a45_0x294f8e(0x25e)),{o11yClassErrorHandler}=require(a45_0x294f8e(0x22d)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x294f8e(0x1c0)),SessionHandler=require(a45_0x294f8e(0x1f1)),{appendTesthubParams}=require(a45_0x294f8e(0x20a)),helper=require('../../../helpers/helper'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a45_0x294f8e(0x270)),HookState=require('../../v2/state/hookState'),TestInfo=require(a45_0x294f8e(0x298)),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');function a45_0x4dff(){const _0x42d21c=['LogCreated','getHookType','exports','ehWyY','AFTER_EACH','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','_trackedEvents','Trace\x20file\x20found\x20for\x20test:\x20','HMAUK','PRE','BROWSERSTACK_O11Y_PERF_MEASUREMENT','path','getCustomRerunParam','WLVuW','error','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','_gitConfigPath','yCzMZ','onTestBegin','cwd','3163032SPLDkX','printsToStdio','forEach','performance-report-reporter.json','HookRunStarted','readFileSync','FINrt','pfgek','options','RsvTR','uuid','shutdown','aTVzP','Dylmz','QhZPz','event_type','Bdgsy','QePMP','mkdirSync','OamqZ','CYfHj','DsxLs','onEnd','\x20is\x20triggered\x20for\x20test\x20','passed','javascript','result','50771EnhgKb','../../../helpers/test-observability/constants','_testHooksMap','oBukr','AcKLF','message','Test\x20Started\x20with\x20unique\x20id\x20','retry_of','Hook\x20Finished\x20with\x20unique\x20id\x20','\x20at\x20','dzSQj','TEST','RVhWc','404982oiTJyS','test','VEERi','NpRQf','trackEvent','Error\x20in\x20calculating\x20performance:\x20','UPAlq','Expected\x20to\x20fail,\x20but\x20passed.','indexOf','uQTyQ','hooks','onTestEnd','jTSDK','uploadEventData','GeHVz','startsWith','failed','342PPLmEe','VPiom','hlrrh','isRunning','JHMCV','CBTSessionCreated','wDaUg','env','983805lrUPJp','unknown','JDNPN','IyRov','jnPVL','toISOString','pJzYO','failure_type','map','errors','name','lUyyS','../../../helpers/test-observability/sessionHandler','BllvX','HQHCX','jtIls','getStepIdentifier','err','NCoKG','40EMdPTu','getTestFramework','\x20is\x20triggered','_bs_hookIdentifier','eeYIq','status','FfoLk','FJcpc','hErYO','rYiAg','onStepEnd','CFzbF','trace_','TEST_ATTACHMENT','configureGit','file','TFzBF','test_run_uuid','../../../helpers/testhub/utils','getHierarchy','logs','duration','addTestUIDAndReportLog','QprUv','basename','Playwright','Hook\x20Started\x20with\x20unique\x20id\x20','YSSAo','Mbjcb','split','daEwt','cDnST','sendTestRunEvent','EukSW','afterAll\x20hook','GbjKP','existsSync','reportLogs','getScope','EBvDO','object','backtrace','gSUvv','_gitConfigured','vrKaQ','setup','utf8','onStepBegin','\x20-\x20','finishedAt','AOETJ','mtime','homedir','../../../helpers/test-observability/error-handler','7dWjUPw','AFTER_ALL','cOKCk','zRUmO','Error\x20in\x20sending\x20trace\x20zip:\x20%s','iCEUY','endSession','MYreO','join','category','.txt','title','getTestUUID','DuZIm','TestRunFinished','qxJPT','failure_reason','IuQpZ','retry','hook_run_uuid','location','getStepsAndLogs','reverse','needToReportStep','.browserstack','_tests','TEST_STEP','TkBWS','fjTEn','parent','21605NPjyep','BROWSERSTACK_TEST_RUN_ID','kfJYZ','beforeEach\x20hook','fXihi','expanded','getInstance','ODbRA','cxwPl','beforeAll\x20hook','steps','aGyBY','664tEjouc','SMhNh','198838RRyiCL','rZpMi','beNZJ','QrPQH','util','GIOIh','relative','sendHookRunEvent','hook','FidjF','afterEach\x20hook','iOezN','JRVWv','depth','startTime','fBgyr','Rhdyu','onBegin','HookRunFinished','jBAqa','Sending\x20session\x20details\x20for\x20','format','../../v2/state/testFrameworkState','TqSDI','\x20for\x20','oXrlq','_tags','failure','After\x20Hooks','TEST_SCREENSHOT','BpQap','yyQpU','FOFju','PLAYWRIGHT','expectedStatus','woUZk','qPfCL','inspect','length','pending','POST','logLevel','base64','sendSessionDetails','stack','../../../helpers/test-observability/requestQueueHandler','skipped','push','TestRunStarted','LDUce','MyReporter','size','startedAt','setStepIdentifier','startMonitoring','root','fJCsV','UwEke','toString','hook_run','attachments','BEFORE_ALL','../../v2/TestInfo','lUQjz','meta','4241864rZBciL','step','test_run','SGriK','all','Before\x20Hooks','YQKKI'];a45_0x4dff=function(){return _0x42d21c;};return a45_0x4dff();}class MyReporter{constructor(_0x226c2d){const _0x1553af=a45_0x294f8e,_0x314160={'jtIls':'2|1|4|6|0|5|3|7','aGyBY':_0x1553af(0x2b9),'NCoKG':function(_0x370291,_0x5d9845,_0x104b4e,_0x260b72){return _0x370291(_0x5d9845,_0x104b4e,_0x260b72);}},_0x1787de=_0x314160[_0x1553af(0x1f4)]['split']('|');let _0x4b0924=0x0;while(!![]){switch(_0x1787de[_0x4b0924++]){case'0':this[_0x1553af(0x2be)]=_0x226c2d;continue;case'1':process[_0x1553af(0x1e4)][_0x1553af(0x2ac)]&&(PerformanceTester[_0x1553af(0x290)](_0x314160[_0x1553af(0x257)]),process[_0x1553af(0x1e4)]['START_TIME']=new Date()[_0x1553af(0x1ea)]());continue;case'2':const _0x5ca58a={};_0x5ca58a[_0x1553af(0x283)]=process[_0x1553af(0x1e4)]['BROWSERSTACK_LOG_LEVEL'],_0x314160[_0x1553af(0x1f7)](setLogLevel,_0x5ca58a,new Map(),new Map());continue;case'3':this['_gitConfigPath']=null;continue;case'4':this[_0x1553af(0x247)]={};continue;case'5':this[_0x1553af(0x223)]=![];continue;case'6':this['_testHooksMap']={};continue;case'7':this[_0x1553af(0x2a8)]=[];continue;}break;}}async[a45_0x294f8e(0x26b)](){const _0x234cda=a45_0x294f8e,_0x11b13d={};_0x11b13d[_0x234cda(0x253)]=_0x234cda(0x211);const _0x307dfc=_0x11b13d;TestDetails[_0x234cda(0x225)](),await this[_0x234cda(0x206)](),TestInfo[_0x234cda(0x225)](_0x307dfc[_0x234cda(0x253)]);if(BrowserstackCLI[_0x234cda(0x252)]()[_0x234cda(0x1e0)]()){await BrowserstackCLI[_0x234cda(0x252)]()[_0x234cda(0x1f9)]()[_0x234cda(0x1d0)](TestFrameworkState['INIT_TEST'],HookState[_0x234cda(0x2ab)],{});return;}}async[a45_0x294f8e(0x2b4)](_0x9fa2fb,_0x455f0e){const _0xefdc7b=a45_0x294f8e,_0x763176={'fJCsV':function(_0x3e0b18,_0x5d0bbf){return _0x3e0b18(_0x5d0bbf);},'ygYEF':function(_0x47d391,_0x10e0d7,_0x1084f0){return _0x47d391(_0x10e0d7,_0x1084f0);},'pqDHU':_0xefdc7b(0x28a)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x26db0d={};_0x26db0d[_0xefdc7b(0x1cd)]=_0x9fa2fb,_0x26db0d[_0xefdc7b(0x2d0)]=_0x455f0e,await BrowserstackCLI[_0xefdc7b(0x252)]()[_0xefdc7b(0x1f9)]()[_0xefdc7b(0x1d0)](TestFrameworkState[_0xefdc7b(0x1ca)],HookState['PRE'],_0x26db0d);return;}const _0x30d707=_0x763176[_0xefdc7b(0x292)](getTestIdentifier,_0x9fa2fb),_0x48547d=TestDetails[_0xefdc7b(0x23a)](_0x763176['ygYEF'](getTestRunIdentifier,_0x9fa2fb,_0x455f0e['retry']));process[_0xefdc7b(0x1e4)][_0xefdc7b(0x24d)]=_0x48547d;const _0x43cc51={};_0x43cc51[_0xefdc7b(0x2c0)]=_0x48547d,_0x43cc51[_0xefdc7b(0x28e)]=_0x455f0e[_0xefdc7b(0x268)],this[_0xefdc7b(0x247)][_0x30d707]=_0x43cc51,_0x763176['fJCsV'](trace,_0xefdc7b(0x1c5)+_0x30d707),await this[_0xefdc7b(0x218)](_0x9fa2fb,_0x763176['pqDHU'],_0x455f0e);}async[a45_0x294f8e(0x227)](_0x4107f2,_0x24c529,_0x1821d3){const _0x271eff=a45_0x294f8e,_0x1167c5={'Ygyve':function(_0x2978ac,_0xdba7cf,_0x3589aa){return _0x2978ac(_0xdba7cf,_0x3589aa);},'yCzMZ':function(_0x1918b1,_0x57a5c6){return _0x1918b1(_0x57a5c6);},'LDUce':_0x271eff(0x2ba)};if(!this[_0x271eff(0x245)](_0x1821d3,_0x4107f2))return;if(BrowserstackCLI['getInstance']()[_0x271eff(0x1e0)]()){const _0x25d931=this[_0x271eff(0x2a3)](_0x1821d3[_0x271eff(0x239)]),_0x269a15=TestFrameworkState[_0x25d931],_0x3ae8de={};_0x3ae8de[_0x271eff(0x1cd)]=_0x4107f2,_0x3ae8de[_0x271eff(0x2d0)]=_0x24c529,_0x3ae8de[_0x271eff(0x29c)]=_0x1821d3,await BrowserstackCLI[_0x271eff(0x252)]()[_0x271eff(0x1f9)]()[_0x271eff(0x1d0)](_0x269a15,HookState[_0x271eff(0x2ab)],_0x3ae8de);return;}const _0x292b5f=this[_0x271eff(0x28f)](_0x4107f2,_0x1821d3);this[_0x271eff(0x247)][_0x292b5f]={'uuid':TestDetails[_0x271eff(0x23a)](_0x292b5f),'startedAt':_0x1821d3[_0x271eff(0x268)][_0x271eff(0x1ea)]()};const _0x29415c=_0x1167c5['Ygyve'](getTestRunIdentifier,_0x4107f2,_0x24c529[_0x271eff(0x240)]);!this[_0x271eff(0x1c1)][_0x29415c]&&(this[_0x271eff(0x1c1)][_0x29415c]=[]),this[_0x271eff(0x1c1)][_0x29415c]['push'](this[_0x271eff(0x247)][_0x292b5f][_0x271eff(0x2c0)]),_0x1167c5[_0x271eff(0x2b3)](trace,_0x271eff(0x212)+_0x292b5f+_0x271eff(0x2cd)+_0x29415c),await this[_0x271eff(0x261)](_0x4107f2,_0x1821d3,_0x1167c5[_0x271eff(0x28b)],_0x24c529);}async[a45_0x294f8e(0x202)](_0x1ff039,_0x415cbf,_0x89ab4a){const _0x30048d=a45_0x294f8e,_0x4eca10={'QhZPz':function(_0x284889,_0x3e6c36){return _0x284889+_0x3e6c36;},'SGriK':function(_0x567a2e,_0x2f48ec){return _0x567a2e(_0x2f48ec);},'yyQpU':_0x30048d(0x26c)};if(!this['needToReportStep'](_0x89ab4a,_0x1ff039))return;if(BrowserstackCLI[_0x30048d(0x252)]()[_0x30048d(0x1e0)]()){const _0x2e20a2=this[_0x30048d(0x2a3)](_0x89ab4a[_0x30048d(0x239)]),_0x368ad4=TestFrameworkState[_0x2e20a2],_0x26f79d={};_0x26f79d['test']=_0x1ff039,_0x26f79d['result']=_0x415cbf,_0x26f79d[_0x30048d(0x29c)]=_0x89ab4a,await BrowserstackCLI['getInstance']()[_0x30048d(0x1f9)]()['trackEvent'](_0x368ad4,HookState[_0x30048d(0x282)],_0x26f79d);return;}const _0x1c1c56=this[_0x30048d(0x1f5)](_0x1ff039,_0x89ab4a);this[_0x30048d(0x247)][_0x1c1c56]={...this[_0x30048d(0x247)][_0x1c1c56]||{},'finishedAt':new Date(_0x4eca10[_0x30048d(0x2c4)](_0x89ab4a[_0x30048d(0x268)]['getTime'](),_0x89ab4a[_0x30048d(0x20d)]))},_0x4eca10[_0x30048d(0x29e)](trace,_0x30048d(0x1c7)+_0x1c1c56+_0x30048d(0x1fa)),await this[_0x30048d(0x261)](_0x1ff039,_0x89ab4a,_0x4eca10[_0x30048d(0x279)],_0x415cbf);}async[a45_0x294f8e(0x1d7)](_0x2ceed1,_0x34a75b){const _0x395578=a45_0x294f8e,_0x395064={'TqSDI':function(_0x467f7a,_0x5e5f16){return _0x467f7a===_0x5e5f16;},'bFeqY':'screenshot','CqjbW':_0x395578(0x277),'nuwIH':_0x395578(0x284),'TCkjH':function(_0x169feb,_0x46f204){return _0x169feb(_0x46f204);},'qdBFP':function(_0x40e584,_0x338b5b,_0x5838ed){return _0x40e584(_0x338b5b,_0x5838ed);},'TkBWS':function(_0x60a37f,_0x36b06d){return _0x60a37f(_0x36b06d);},'kOhuD':_0x395578(0x23c),'VPiom':function(_0x4234fb,_0x4e52be){return _0x4234fb(_0x4e52be);},'oBukr':_0x395578(0x2b1),'OLCqZ':function(_0x2703c4,_0x53d9c3){return _0x2703c4(_0x53d9c3);},'VEERi':_0x395578(0x232),'gSUvv':function(_0x513f60,_0x2b800a){return _0x513f60>_0x2b800a;}};if(BrowserstackCLI[_0x395578(0x252)]()[_0x395578(0x1e0)]()){const _0x2de87c={};_0x2de87c['test']=_0x2ceed1,_0x2de87c['result']=_0x34a75b,this['_trackedEvents'][_0x395578(0x289)](BrowserstackCLI[_0x395578(0x252)]()['getTestFramework']()[_0x395578(0x1d0)](TestFrameworkState['TEST'],HookState[_0x395578(0x282)],_0x2de87c));return;}const _0x9d074a=_0x395064['TCkjH'](getTestIdentifier,_0x2ceed1),_0x5f44a4=TestDetails[_0x395578(0x23a)](_0x395064['qdBFP'](getTestRunIdentifier,_0x2ceed1,_0x34a75b[_0x395578(0x240)]));this[_0x395578(0x247)][_0x9d074a]={...this[_0x395578(0x247)][_0x9d074a]||{},'finishedAt':new Date()[_0x395578(0x1ea)]()},_0x395064[_0x395578(0x249)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x9d074a);try{await this[_0x395578(0x218)](_0x2ceed1,_0x395064['kOhuD'],_0x34a75b);}catch(_0xa78f0){_0x395064[_0x395578(0x1de)](debug,util[_0x395578(0x26f)](_0x395064[_0x395578(0x1c2)],_0xa78f0[_0x395578(0x294)]()));}try{_0x395064['OLCqZ'](debug,_0x395578(0x2a7)+_0x5f44a4),await _0x395064['qdBFP'](sendTraceZip,_0x34a75b,_0x5f44a4);}catch(_0xc9d427){_0x395064['OLCqZ'](debug,util[_0x395578(0x26f)](_0x395064[_0x395578(0x1ce)],_0xc9d427[_0x395578(0x294)]()));}const _0x5e6be4=[];_0x34a75b[_0x395578(0x296)]&&_0x34a75b['attachments'][_0x395578(0x1ed)](_0x5e0765=>{const _0x3b8667=_0x395578;if(_0x395064[_0x3b8667(0x271)](_0x5e0765[_0x3b8667(0x1ef)],_0x395064['bFeqY'])){if(!_0x5e0765[_0x3b8667(0x2ad)]||!fs['existsSync'](_0x5e0765[_0x3b8667(0x2ad)]))return;_0x5e6be4[_0x3b8667(0x289)]({'test_run_uuid':_0x5f44a4,'timestamp':fs['statSync'](_0x5e0765['path'])[_0x3b8667(0x22b)],'kind':_0x395064['CqjbW'],'message':fs[_0x3b8667(0x2bb)](_0x5e0765['path'],{'encoding':_0x395064['nuwIH']})});}}),_0x395064[_0x395578(0x222)](_0x5e6be4[_0x395578(0x280)],0x0)&&await MyReporter[_0x395578(0x21d)](_0x5e6be4);}async[a45_0x294f8e(0x234)](){const _0xeb2ffd=a45_0x294f8e;await RequestQueueHandler[_0xeb2ffd(0x252)]()[_0xeb2ffd(0x2c1)]();}async[a45_0x294f8e(0x2cc)](_0x50b40d){const _0x4be3af=a45_0x294f8e,_0x1bf0fb={'EukSW':function(_0x318190){return _0x318190();},'daEwt':function(_0x543c33,_0x2469a3){return _0x543c33(_0x2469a3);}};await Promise[_0x4be3af(0x29f)](this['_trackedEvents']),await this[_0x4be3af(0x234)]();try{process[_0x4be3af(0x1e4)][_0x4be3af(0x2ac)]&&await _0x1bf0fb[_0x4be3af(0x219)](calculatePerformance);}catch(_0x67d2b3){_0x1bf0fb[_0x4be3af(0x216)](debug,_0x4be3af(0x1d1)+_0x67d2b3['toString']());}}static async[a45_0x294f8e(0x20e)](_0x1c1937,_0x56228b){const _0x26140e=a45_0x294f8e;_0x56228b[_0x26140e(0x209)]=TestDetails[_0x26140e(0x23a)](_0x1c1937),await this[_0x26140e(0x21d)]([_0x56228b]);}static async['reportLogs'](_0x13833b){const _0x21539c=a45_0x294f8e,_0x29bdef={};_0x29bdef[_0x21539c(0x1e9)]=_0x21539c(0x2a2);const _0x106b80=_0x29bdef;if(BrowserstackCLI['getInstance']()[_0x21539c(0x1e0)]())return;const _0x3f7930={};_0x3f7930['event_type']=_0x106b80[_0x21539c(0x1e9)],_0x3f7930[_0x21539c(0x20c)]=_0x13833b,await SessionHandler[_0x21539c(0x1d9)](_0x3f7930);}async[a45_0x294f8e(0x261)](_0x413ab8,_0x26f35f,_0x3086af,_0x719a7e){const _0x3e8b6c=a45_0x294f8e,_0x2b9fc4={'FJcpc':'hook','pfgek':_0x3e8b6c(0x2cf),'Zuton':_0x3e8b6c(0x281),'TFzBF':function(_0xe0fa6e,_0x2ba19e){return _0xe0fa6e>=_0x2ba19e;},'ehWyY':function(_0x20ff1b,_0x1c1333){return _0x20ff1b===_0x1c1333;},'kqKnp':'HookRunFinished','sbyuw':function(_0x9990b4,_0x17b010){return _0x9990b4>_0x17b010;},'aTVzP':'failed','GIOIh':function(_0x363c12,_0x29f207){return _0x363c12(_0x29f207);},'dzSQj':function(_0x3cee4b,_0x180479){return _0x3cee4b(_0x180479);},'Rhdyu':function(_0x26d1a5,_0x1092e7,_0x227f25){return _0x26d1a5(_0x1092e7,_0x227f25);},'QprUv':_0x3e8b6c(0x1f6),'HMAUK':_0x3e8b6c(0x2ce)},_0x897196=this['getStepIdentifier'](_0x413ab8,_0x26f35f),_0x76b85b=this['_tests'][_0x897196],_0x5a791f={'uuid':_0x76b85b[_0x3e8b6c(0x2c0)],'type':_0x2b9fc4['FJcpc'],'hook_type':this[_0x3e8b6c(0x2a3)](_0x26f35f[_0x3e8b6c(0x239)]),'name':_0x26f35f['title'],'scope':this['getScope'](_0x26f35f),'scopes':this[_0x3e8b6c(0x20b)](_0x413ab8),'body':{'lang':_0x2b9fc4[_0x3e8b6c(0x2bd)],'code':null},'identifier':_0x897196,'file_name':path[_0x3e8b6c(0x260)](process[_0x3e8b6c(0x2b5)](),_0x413ab8[_0x3e8b6c(0x242)][_0x3e8b6c(0x207)]),'location':path['relative'](process[_0x3e8b6c(0x2b5)](),_0x413ab8[_0x3e8b6c(0x242)][_0x3e8b6c(0x207)]),'result':_0x2b9fc4['Zuton'],'duration_in_ms':_0x2b9fc4[_0x3e8b6c(0x208)](_0x26f35f[_0x3e8b6c(0x20d)],0x0)?_0x26f35f[_0x3e8b6c(0x20d)]:undefined,'vc_filepath':this[_0x3e8b6c(0x2b2)]&&_0x413ab8[_0x3e8b6c(0x242)]['file']?path[_0x3e8b6c(0x260)](this[_0x3e8b6c(0x2b2)],_0x413ab8[_0x3e8b6c(0x242)][_0x3e8b6c(0x207)]):undefined,'started_at':_0x76b85b[_0x3e8b6c(0x28e)],'finished_at':_0x76b85b['finishedAt'],'framework':FRAMEWORKS[_0x3e8b6c(0x27b)]};if(_0x2b9fc4[_0x3e8b6c(0x2a5)](_0x3086af,_0x2b9fc4['kqKnp'])){const {steps:_0x4ff3e0,logs:_0x27e926}=this['getStepsAndLogs'](_0x26f35f[_0x3e8b6c(0x256)],_0x76b85b[_0x3e8b6c(0x2c0)],_0x2b9fc4[_0x3e8b6c(0x1ff)]);_0x27e926&&_0x2b9fc4['sbyuw'](_0x27e926[_0x3e8b6c(0x280)],0x0)&&await MyReporter[_0x3e8b6c(0x21d)](_0x27e926);const _0x511e23={};_0x511e23[_0x3e8b6c(0x256)]=_0x4ff3e0,_0x5a791f[_0x3e8b6c(0x29a)]=_0x511e23;if(_0x26f35f[_0x3e8b6c(0x2b0)]){_0x5a791f[_0x3e8b6c(0x2d0)]=_0x2b9fc4[_0x3e8b6c(0x2c2)],_0x5a791f[_0x3e8b6c(0x23e)]=_0x2b9fc4[_0x3e8b6c(0x25f)](removeAnsiColors,_0x26f35f['error'][_0x3e8b6c(0x1c4)]),_0x5a791f['failure_type']=_0x2b9fc4[_0x3e8b6c(0x1c9)](getFailureType,_0x26f35f[_0x3e8b6c(0x2b0)][_0x3e8b6c(0x1c4)]);const _0x3bf7f0=_0x2b9fc4[_0x3e8b6c(0x26a)](failureData,_0x26f35f[_0x3e8b6c(0x2b0)],_0x2b9fc4[_0x3e8b6c(0x20f)]);if(_0x3bf7f0&&_0x2b9fc4['ehWyY'](_0x3bf7f0[_0x3e8b6c(0x280)],0x0)){const _0x59a9e9={};_0x59a9e9[_0x3e8b6c(0x221)]=[_0x5a791f[_0x3e8b6c(0x23e)]],_0x59a9e9[_0x3e8b6c(0x251)]=[],_0x3bf7f0[_0x3e8b6c(0x289)](_0x59a9e9);}_0x5a791f['failure']=_0x3bf7f0;}else _0x5a791f[_0x3e8b6c(0x2d0)]=_0x2b9fc4[_0x3e8b6c(0x2aa)];}const _0x21a038={};_0x21a038[_0x3e8b6c(0x2c5)]=_0x3086af,_0x21a038[_0x3e8b6c(0x295)]=_0x5a791f;const _0x78ba0f=_0x21a038;await SessionHandler[_0x3e8b6c(0x1d9)](_0x78ba0f);}[a45_0x294f8e(0x243)](_0x55ce9f,_0x118b00,_0x5a0e1a){const _0x36b45c=a45_0x294f8e,_0x5298b1={'uQTyQ':function(_0x260269,_0x207fe2){return _0x260269===_0x207fe2;},'iCEUY':_0x36b45c(0x262),'cDnST':_0x36b45c(0x276),'QrPQH':_0x36b45c(0x2a0),'eeGLV':_0x36b45c(0x1cd),'DuZIm':'test_run_uuid','rRPVo':_0x36b45c(0x241),'zRUmO':_0x36b45c(0x248),'beNZJ':_0x36b45c(0x1dc),'Bdgsy':_0x36b45c(0x2ce),'EBvDO':function(_0x4baf47,_0x1eb82d){return _0x4baf47(_0x1eb82d);},'CYfHj':function(_0x2d9c1,_0x47520d){return _0x2d9c1(_0x47520d);},'WvenO':function(_0x28e053){return _0x28e053();},'PzZJG':function(_0x49fa3c,_0x48ae0e){return _0x49fa3c(_0x48ae0e);},'hCdrb':function(_0x3e8327,_0x55a32e){return _0x3e8327(_0x55a32e);},'cxwPl':function(_0x2adbd7,_0x4407b5,_0x5642ca){return _0x2adbd7(_0x4407b5,_0x5642ca);}},_0x428c8a=[],_0x5702e3=[],_0x1c176c=_0x55ce9f['filter'](_0x3ed069=>{const _0x567ad7=_0x36b45c;if(_0x5298b1[_0x567ad7(0x1d5)](_0x3ed069[_0x567ad7(0x237)],_0x5298b1[_0x567ad7(0x233)])&&(_0x5298b1[_0x567ad7(0x1d5)](_0x3ed069[_0x567ad7(0x239)],_0x5298b1[_0x567ad7(0x217)])||_0x5298b1[_0x567ad7(0x1d5)](_0x3ed069['title'],_0x5298b1[_0x567ad7(0x25d)])))return![];return!![];}),_0x13efbe=(_0x22da5f,_0x18ddc0=![])=>{const _0x7a177e=_0x36b45c;if(_0x5298b1['uQTyQ'](_0x22da5f[_0x7a177e(0x256)][_0x7a177e(0x280)],0x0)){const _0x2492e0=_0x5298b1[_0x7a177e(0x1d5)](_0x5a0e1a,_0x5298b1['eeGLV'])?_0x5298b1[_0x7a177e(0x23b)]:_0x5298b1['rRPVo'];_0x5702e3[_0x7a177e(0x289)]({'kind':_0x5298b1[_0x7a177e(0x231)],[_0x2492e0]:_0x118b00,'message':_0x22da5f[_0x7a177e(0x239)],'timestamp':_0x22da5f[_0x7a177e(0x268)][_0x7a177e(0x1ea)](),'level':_0x22da5f['error']?_0x5298b1[_0x7a177e(0x25c)]:_0x5298b1['Bdgsy'],'duration':_0x22da5f[_0x7a177e(0x20d)],'failure':_0x22da5f[_0x7a177e(0x2b0)]&&_0x22da5f[_0x7a177e(0x2b0)]['message']&&_0x5298b1[_0x7a177e(0x21f)](removeAnsiColors,_0x22da5f['error'][_0x7a177e(0x1c4)]),'failure_type':_0x5298b1[_0x7a177e(0x2ca)](getFailureType,_0x22da5f['error']&&_0x22da5f[_0x7a177e(0x2b0)][_0x7a177e(0x1c4)])});}else{!_0x18ddc0&&_0x428c8a[_0x7a177e(0x289)]({'id':_0x5298b1['WvenO'](uuidv4),'text':_0x22da5f[_0x7a177e(0x239)],'keyword':undefined,'started_at':_0x22da5f[_0x7a177e(0x268)][_0x7a177e(0x1ea)](),'duration':_0x22da5f['duration'],'result':_0x22da5f[_0x7a177e(0x2b0)]?_0x5298b1[_0x7a177e(0x25c)]:_0x5298b1[_0x7a177e(0x2c6)],'failure':_0x22da5f[_0x7a177e(0x2b0)]&&_0x22da5f[_0x7a177e(0x2b0)][_0x7a177e(0x1c4)]&&_0x5298b1['PzZJG'](removeAnsiColors,_0x22da5f[_0x7a177e(0x2b0)][_0x7a177e(0x1c4)]),'failure_type':_0x5298b1['hCdrb'](getFailureType,_0x22da5f['error']&&_0x22da5f[_0x7a177e(0x2b0)][_0x7a177e(0x1c4)])});for(const _0x4fd962 of _0x22da5f['steps']){_0x5298b1[_0x7a177e(0x254)](_0x13efbe,_0x4fd962,!![]);}}};for(const _0x521a36 of _0x1c176c){_0x5298b1[_0x36b45c(0x254)](_0x13efbe,_0x521a36,![]);}const _0x305dfc={};return _0x305dfc[_0x36b45c(0x256)]=_0x428c8a,_0x305dfc['logs']=_0x5702e3,_0x305dfc;}async['sendTestRunEvent'](_0x4e057d,_0x429a69,_0x55b50d){const _0x485802=a45_0x294f8e,_0x30a79f={'jNfmN':function(_0x546f33,_0x378814){return _0x546f33(_0x378814);},'OamqZ':_0x485802(0x205),'FfoLk':function(_0x29842f,_0x39cd0b){return _0x29842f(_0x39cd0b);},'fXihi':_0x485802(0x1cd),'AOETJ':_0x485802(0x2cf),'lUQjz':'pending','jTSDK':function(_0x2ae6ef,_0x5bcf16){return _0x2ae6ef(_0x5bcf16);},'JDNPN':function(_0x2aa551,_0x28af9,_0x82551,_0x3d40d7,_0x17db4){return _0x2aa551(_0x28af9,_0x82551,_0x3d40d7,_0x17db4);},'UPAlq':function(_0x210acd,_0x1a5a1a){return _0x210acd>_0x1a5a1a;},'RVhWc':function(_0xd8b86c,_0x368e76,_0x276812){return _0xd8b86c(_0x368e76,_0x276812);},'JRVWv':function(_0x7e9510,_0x34d156){return _0x7e9510-_0x34d156;},'BpQap':function(_0x83225e,_0x43b8c0){return _0x83225e===_0x43b8c0;},'IyRov':_0x485802(0x23c),'DsxLs':function(_0x210753,_0x1bb940){return _0x210753===_0x1bb940;},'MYreO':_0x485802(0x288),'qxJPT':'passed','kfJYZ':_0x485802(0x1dc),'FidjF':function(_0xe0358f,_0x4c24c6){return _0xe0358f===_0x4c24c6;},'fBgyr':'timedOut','CFzbF':function(_0x51c2f6,_0xc4d631){return _0x51c2f6===_0xc4d631;},'Mbjcb':_0x485802(0x1d3),'iOezN':function(_0x39f07d,_0x2fe72c,_0x43f54b){return _0x39f07d(_0x2fe72c,_0x43f54b);},'BllvX':function(_0x2aae8a,_0x4c85ee){return _0x2aae8a(_0x4c85ee);},'qPfCL':function(_0x5a14e4,_0x57f074){return _0x5a14e4===_0x57f074;},'wepcu':_0x485802(0x2ad),'wDaUg':function(_0x53ad25,_0x45cd89){return _0x53ad25(_0x45cd89);},'YSSAo':_0x485802(0x246),'hErYO':_0x485802(0x226),'HQHCX':function(_0x31ca23,_0x5c1891){return _0x31ca23!==_0x5c1891;},'LWNqb':function(_0x3464b8,_0x1fe6da){return _0x3464b8===_0x1fe6da;}},_0x583929=_0x30a79f[_0x485802(0x1fe)](getTestIdentifier,_0x4e057d),_0x1d365e=this[_0x485802(0x21e)](_0x4e057d),_0x2626fe=this[_0x485802(0x247)][_0x583929],_0x21a04e=path[_0x485802(0x260)](process[_0x485802(0x2b5)](),_0x4e057d[_0x485802(0x242)][_0x485802(0x207)]);await this[_0x485802(0x206)]();const _0x352222={'uuid':_0x2626fe[_0x485802(0x2c0)],'type':_0x30a79f['fXihi'],'name':_0x4e057d[_0x485802(0x239)],'body':{'lang':_0x30a79f[_0x485802(0x22a)],'code':_0x4e057d['fn'][_0x485802(0x294)]()},'scope':_0x1d365e,'scopes':this[_0x485802(0x20b)](_0x4e057d),'identifier':_0x583929,'file_name':_0x21a04e,'location':_0x21a04e,'result':_0x30a79f[_0x485802(0x299)],'duration_in_ms':_0x55b50d&&_0x55b50d[_0x485802(0x20d)]?_0x55b50d[_0x485802(0x20d)]:null,'vc_filepath':this[_0x485802(0x2b2)]&&_0x4e057d[_0x485802(0x242)]['file']?path['relative'](this[_0x485802(0x2b2)],_0x4e057d['location']['file']):undefined,'started_at':_0x2626fe[_0x485802(0x28e)],'finished_at':_0x2626fe[_0x485802(0x229)],'framework':FRAMEWORKS[_0x485802(0x27b)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x4e057d)},'tags':_0x30a79f[_0x485802(0x1d8)](getTestTags,_0x4e057d)};_0x30a79f[_0x485802(0x1e7)](appendTesthubParams,_0x352222,_0x429a69,_0x4e057d,FRAMEWORKS['PLAYWRIGHT']);_0x55b50d&&_0x30a79f[_0x485802(0x1d2)](_0x55b50d[_0x485802(0x240)],0x0)&&(_0x352222[_0x485802(0x1c6)]=TestDetails[_0x485802(0x23a)](_0x30a79f[_0x485802(0x1cb)](getTestRunIdentifier,_0x4e057d,_0x30a79f[_0x485802(0x266)](_0x55b50d[_0x485802(0x240)],0x1))));if(_0x30a79f[_0x485802(0x278)](_0x429a69,_0x30a79f['IyRov'])){_0x352222[_0x485802(0x2d0)]=_0x55b50d['status'];if(_0x30a79f[_0x485802(0x2cb)](_0x55b50d[_0x485802(0x1fd)],_0x4e057d[_0x485802(0x27c)]))_0x352222[_0x485802(0x2d0)]=_0x30a79f[_0x485802(0x2cb)](_0x55b50d[_0x485802(0x1fd)],_0x30a79f[_0x485802(0x235)])?_0x30a79f[_0x485802(0x235)]:_0x30a79f[_0x485802(0x23d)];else{(_0x30a79f[_0x485802(0x2cb)](_0x352222['result'],_0x30a79f[_0x485802(0x23d)])||_0x30a79f['DsxLs'](_0x352222['result'],_0x30a79f[_0x485802(0x24e)])||_0x30a79f[_0x485802(0x263)](_0x352222['result'],_0x30a79f[_0x485802(0x269)]))&&(_0x352222[_0x485802(0x2d0)]=_0x30a79f[_0x485802(0x24e)]);if(_0x30a79f[_0x485802(0x2cb)](_0x55b50d[_0x485802(0x1fd)],_0x30a79f[_0x485802(0x23d)])&&_0x30a79f[_0x485802(0x203)](_0x4e057d[_0x485802(0x27c)],_0x30a79f[_0x485802(0x24e)])){const _0x466b8d={};_0x466b8d[_0x485802(0x1c4)]=_0x30a79f[_0x485802(0x214)],_0x466b8d[_0x485802(0x286)]=_0x30a79f[_0x485802(0x214)],_0x55b50d[_0x485802(0x2b0)]=_0x466b8d,_0x55b50d[_0x485802(0x1ee)]=[_0x55b50d[_0x485802(0x2b0)]];}}const _0x26633c=_0x30a79f[_0x485802(0x265)](getTestRunIdentifier,_0x4e057d,_0x55b50d['retry']);_0x352222[_0x485802(0x1d6)]=this[_0x485802(0x1c1)][_0x26633c];const {steps:_0x344bba,logs:_0x3c6cf2}=this[_0x485802(0x243)](_0x55b50d['steps'],_0x2626fe[_0x485802(0x2c0)],_0x30a79f[_0x485802(0x250)]);await MyReporter['reportLogs'](_0x3c6cf2);const _0x3e4141={};_0x3e4141['steps']=_0x344bba,_0x352222['meta']=_0x3e4141;if(_0x55b50d['error']){_0x352222[_0x485802(0x23e)]=_0x30a79f[_0x485802(0x1f2)](removeAnsiColors,_0x55b50d[_0x485802(0x2b0)]['message']),_0x352222[_0x485802(0x1ec)]=_0x30a79f['jNfmN'](getFailureType,_0x55b50d[_0x485802(0x2b0)]['message']);const _0x413691={};_0x413691[_0x485802(0x209)]=_0x2626fe['uuid'];const {failureData:_0x4d69ae,logs:_0x45f57a}=_0x30a79f['RVhWc'](getFailureData,_0x55b50d[_0x485802(0x1ee)],_0x413691);if(_0x4d69ae&&_0x30a79f[_0x485802(0x27e)](_0x4d69ae['length'],0x0)){const _0x2c2ba3={};_0x2c2ba3[_0x485802(0x221)]=[_0x352222[_0x485802(0x23e)]],_0x2c2ba3['expanded']=[],_0x4d69ae['push'](_0x2c2ba3);}_0x352222[_0x485802(0x275)]=_0x4d69ae,_0x45f57a&&_0x30a79f[_0x485802(0x1d2)](_0x45f57a[_0x485802(0x280)],0x0)&&await MyReporter[_0x485802(0x21d)](_0x45f57a);}}let _0x1e73d4=_0x30a79f[_0x485802(0x265)](findNestedKey,_0x55b50d,_0x30a79f['wepcu']);if(_0x1e73d4&&_0x30a79f['BllvX'](validateFilePath,_0x1e73d4))_0x30a79f[_0x485802(0x1e3)](debug,_0x485802(0x2a9)+_0x2626fe[_0x485802(0x2c0)]+_0x485802(0x1c8)+_0x1e73d4);else{const _0x19a01f=path[_0x485802(0x236)](helper[_0x485802(0x22c)](),_0x30a79f[_0x485802(0x213)]);!fs['existsSync'](_0x19a01f)&&fs[_0x485802(0x2c8)](_0x19a01f),fs[_0x485802(0x21c)](path[_0x485802(0x236)](_0x19a01f,'trace_'+_0x2626fe['uuid']+_0x485802(0x238)))&&(_0x1e73d4=fs['readFileSync'](path[_0x485802(0x236)](_0x19a01f,_0x485802(0x204)+_0x2626fe[_0x485802(0x2c0)]+_0x485802(0x238)),_0x30a79f[_0x485802(0x200)]),_0x30a79f[_0x485802(0x1fe)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x2626fe[_0x485802(0x2c0)]+_0x485802(0x1c8)+_0x1e73d4));}const _0x1bcef8={};_0x1bcef8[_0x485802(0x2c5)]=_0x429a69,_0x1bcef8[_0x485802(0x29d)]=_0x352222;const _0x4a19ab=_0x1bcef8;_0x1e73d4&&_0x30a79f[_0x485802(0x1f3)](_0x1e73d4,'')&&_0x30a79f['LWNqb'](_0x429a69,_0x30a79f[_0x485802(0x1e8)])&&(!_0x4a19ab[_0x485802(0x20c)]&&(_0x4a19ab['logs']=[]),_0x1e73d4[_0x485802(0x215)]('\x0a')[_0x485802(0x2b8)](_0x988e24=>{const _0x246787=_0x485802;_0x988e24&&_0x30a79f['jNfmN'](validateFilePath,_0x988e24)&&_0x4a19ab[_0x246787(0x20c)][_0x246787(0x289)]({'kind':_0x30a79f[_0x246787(0x2c9)],'timestamp':new Date()[_0x246787(0x1ea)](),'test_run_uuid':_0x2626fe['uuid'],'file_name':path[_0x246787(0x210)](_0x988e24),'file_size':fs['statSync'](_0x988e24)[_0x246787(0x28d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler['uploadEventData'](_0x4a19ab);}[a45_0x294f8e(0x2ae)](_0x35d00d){const _0x44a273=a45_0x294f8e,_0x120e75={};_0x120e75[_0x44a273(0x24a)]=function(_0x8d6c4d,_0xe5ef8){return _0x8d6c4d===_0xe5ef8;},_0x120e75[_0x44a273(0x26d)]=function(_0x4c37ac,_0x2b530d){return _0x4c37ac>_0x2b530d;},_0x120e75[_0x44a273(0x293)]=function(_0xf9bd1e,_0x6b7b15){return _0xf9bd1e+_0x6b7b15;},_0x120e75['IODOA']=function(_0x5be7cd,_0x5546bb){return _0x5be7cd===_0x5546bb;},_0x120e75[_0x44a273(0x21b)]=function(_0x533aa1,_0x122f77){return _0x533aa1>_0x122f77;};const _0x27f15d=_0x120e75,_0x1cdabb=_0x35d00d['titlePath']()[_0x44a273(0x1ed)](_0x239898=>{const _0x480365=_0x44a273;if(_0x35d00d[_0x480365(0x24b)]&&_0x27f15d[_0x480365(0x24a)](_0x239898,_0x35d00d['parent'][_0x480365(0x239)])&&_0x35d00d[_0x480365(0x24b)]['_tags']&&_0x27f15d[_0x480365(0x26d)](_0x35d00d[_0x480365(0x24b)][_0x480365(0x274)][_0x480365(0x280)],0x0))return _0x27f15d[_0x480365(0x293)](_0x27f15d[_0x480365(0x293)](_0x239898,'\x20'),_0x35d00d[_0x480365(0x24b)][_0x480365(0x274)]['join']('\x20'));if(_0x27f15d['IODOA'](_0x239898,_0x35d00d[_0x480365(0x239)])&&_0x35d00d['_tags']&&_0x27f15d[_0x480365(0x21b)](_0x35d00d['_tags'][_0x480365(0x280)],0x0))return _0x27f15d[_0x480365(0x293)](_0x27f15d[_0x480365(0x293)](_0x239898,'\x20'),_0x35d00d[_0x480365(0x274)][_0x480365(0x236)]('\x20'));return _0x239898;})[_0x44a273(0x236)]('\x20');return _0x1cdabb;}static async[a45_0x294f8e(0x285)](_0x1a2cbb,_0x4c6dd0){const _0x1f5073=a45_0x294f8e,_0x5a0bdb={'vrKaQ':function(_0x2306a4,_0x228cee){return _0x2306a4(_0x228cee);},'eeYIq':_0x1f5073(0x1e2)},_0x2a0bac={'uuid':TestDetails[_0x1f5073(0x23a)](_0x1a2cbb),'integrations':_0x4c6dd0},_0x259472={};_0x259472[_0x1f5073(0x267)]=null,_0x5a0bdb[_0x1f5073(0x224)](debug,_0x1f5073(0x26e)+_0x1a2cbb+',\x20'+util[_0x1f5073(0x27f)](_0x4c6dd0,_0x259472));const _0x2556f4={};_0x2556f4[_0x1f5073(0x2c5)]=_0x5a0bdb[_0x1f5073(0x1fc)],_0x2556f4['test_run']=_0x2a0bac,await SessionHandler['uploadEventData'](_0x2556f4);}async[a45_0x294f8e(0x206)](){const _0x4243f5=a45_0x294f8e,_0x21d084={'VsaRV':function(_0x2ee3c1){return _0x2ee3c1();}};if(this[_0x4243f5(0x223)])return;const _0x3f8279=await _0x21d084['VsaRV'](getGitMetaData);_0x3f8279&&(this[_0x4243f5(0x2b2)]=_0x3f8279[_0x4243f5(0x291)]),this['_gitConfigured']=!![];}['getHierarchy'](_0x7fb8a6){const _0x5590d5=a45_0x294f8e,_0x28e944={};_0x28e944[_0x5590d5(0x2af)]=function(_0xa18cdd,_0x4071fc){return _0xa18cdd!==_0x4071fc;};const _0x39eb38=_0x28e944,_0x1e41b8=[];if(_0x7fb8a6&&_0x7fb8a6['parent']){let _0x32b94a=_0x7fb8a6[_0x5590d5(0x24b)];while(_0x32b94a&&_0x39eb38[_0x5590d5(0x2af)](_0x32b94a[_0x5590d5(0x239)],'')){_0x1e41b8[_0x5590d5(0x289)](_0x32b94a[_0x5590d5(0x239)]),_0x32b94a=_0x32b94a[_0x5590d5(0x24b)];}}return _0x1e41b8[_0x5590d5(0x244)]()['splice'](0x0,0x2),_0x1e41b8;}['needToReportStep'](_0x2741bd){const _0x5a91a6=a45_0x294f8e,_0x5991e4={};_0x5991e4['rZpMi']=function(_0x347231,_0x5b68a4){return _0x347231!==_0x5b68a4;},_0x5991e4['pUDef']=_0x5a91a6(0x262),_0x5991e4[_0x5a91a6(0x1df)]=function(_0x44409d,_0x4a6877){return _0x44409d===_0x4a6877;},_0x5991e4[_0x5a91a6(0x201)]=_0x5a91a6(0x24f),_0x5991e4[_0x5a91a6(0x1c3)]=_0x5a91a6(0x255),_0x5991e4[_0x5a91a6(0x2c3)]=_0x5a91a6(0x21a),_0x5991e4[_0x5a91a6(0x1eb)]=_0x5a91a6(0x264);const _0x879daf=_0x5991e4;if(_0x879daf[_0x5a91a6(0x25b)](_0x2741bd[_0x5a91a6(0x237)],_0x879daf['pUDef']))return![];if(_0x879daf['hlrrh']([_0x879daf[_0x5a91a6(0x201)],_0x879daf[_0x5a91a6(0x1c3)],_0x879daf[_0x5a91a6(0x2c3)],_0x879daf[_0x5a91a6(0x1eb)]][_0x5a91a6(0x1d4)](_0x2741bd[_0x5a91a6(0x239)]),-0x1))return![];return!![];}[a45_0x294f8e(0x1f5)](_0x2e2676,_0x4a0e89){const _0x1e4468=a45_0x294f8e,_0x546ab9={'woUZk':function(_0x1a8aa9,_0x26a4f8){return _0x1a8aa9(_0x26a4f8);}},_0x388184=_0x4a0e89[_0x1e4468(0x1fb)];if(_0x388184)return _0x388184;return _0x4a0e89[_0x1e4468(0x239)]+_0x1e4468(0x272)+_0x546ab9[_0x1e4468(0x27d)](getTestIdentifier,_0x2e2676);}['setStepIdentifier'](_0x4531f6,_0x2f58c8){const _0x295771=a45_0x294f8e,_0x4d1f32={'FOFju':function(_0x26ac58,_0x5147e3){return _0x26ac58(_0x5147e3);},'FINrt':function(_0x297a93){return _0x297a93();}};let _0x343a47=_0x2f58c8['title']+_0x295771(0x272)+_0x4d1f32[_0x295771(0x27a)](getTestIdentifier,_0x4531f6);return this['_tests'][_0x343a47]&&(_0x343a47=_0x343a47+_0x295771(0x228)+_0x4d1f32[_0x295771(0x2bc)](uuidv4)),_0x2f58c8[_0x295771(0x1fb)]=_0x343a47,_0x343a47;}[a45_0x294f8e(0x2a3)]=_0x1d16be=>{const _0x18d590=a45_0x294f8e,_0x2691f0={};_0x2691f0[_0x18d590(0x2bf)]=_0x18d590(0x24f),_0x2691f0[_0x18d590(0x2a1)]='BEFORE_EACH',_0x2691f0[_0x18d590(0x23f)]=_0x18d590(0x255),_0x2691f0['QePMP']=_0x18d590(0x297),_0x2691f0[_0x18d590(0x259)]=_0x18d590(0x264),_0x2691f0[_0x18d590(0x273)]=_0x18d590(0x2a6),_0x2691f0[_0x18d590(0x1da)]=_0x18d590(0x21a),_0x2691f0[_0x18d590(0x1f0)]=_0x18d590(0x22f),_0x2691f0['cOKCk']=_0x18d590(0x1e6);const _0x45f737=_0x2691f0;if(_0x1d16be[_0x18d590(0x1db)](_0x45f737['RsvTR']))return _0x45f737[_0x18d590(0x2a1)];else{if(_0x1d16be[_0x18d590(0x1db)](_0x45f737['IuQpZ']))return _0x45f737[_0x18d590(0x2c7)];else{if(_0x1d16be[_0x18d590(0x1db)](_0x45f737[_0x18d590(0x259)]))return _0x45f737[_0x18d590(0x273)];else{if(_0x1d16be[_0x18d590(0x1db)](_0x45f737[_0x18d590(0x1da)]))return _0x45f737['lUyyS'];}}}return _0x45f737[_0x18d590(0x230)];};[a45_0x294f8e(0x21e)]=_0x351056=>{const _0x29d97e=a45_0x294f8e,_0x55a794={};_0x55a794[_0x29d97e(0x1e1)]=function(_0x298469,_0x360680){return _0x298469===_0x360680;},_0x55a794[_0x29d97e(0x1cf)]=_0x29d97e(0x220);const _0x3cb156=_0x55a794;let _0x5477f8=_0x351056['parent'];return _0x3cb156[_0x29d97e(0x1e1)](typeof _0x351056[_0x29d97e(0x24b)],_0x3cb156[_0x29d97e(0x1cf)])&&(_0x5477f8=_0x5477f8['title']),_0x5477f8+_0x29d97e(0x228)+_0x351056[_0x29d97e(0x239)];};[a45_0x294f8e(0x2b7)](){return![];}}module[a45_0x294f8e(0x2a4)]=o11yClassErrorHandler(MyReporter,[a45_0x294f8e(0x26b),a45_0x294f8e(0x234),a45_0x294f8e(0x2b4),a45_0x294f8e(0x1d7),'onStepBegin',a45_0x294f8e(0x202),a45_0x294f8e(0x285)],a45_0x294f8e(0x28c));
|
|
1
|
+
const a45_0x330fd7=a45_0x4093;(function(_0x3af1e8,_0x4f4c2a){const _0x1cedf3=a45_0x4093,_0x5aed8a=_0x3af1e8();while(!![]){try{const _0x289851=-parseInt(_0x1cedf3(0x19d))/0x1*(-parseInt(_0x1cedf3(0x252))/0x2)+parseInt(_0x1cedf3(0x144))/0x3+-parseInt(_0x1cedf3(0x189))/0x4*(parseInt(_0x1cedf3(0x194))/0x5)+-parseInt(_0x1cedf3(0x1fc))/0x6+parseInt(_0x1cedf3(0x191))/0x7*(-parseInt(_0x1cedf3(0x151))/0x8)+-parseInt(_0x1cedf3(0x1ec))/0x9+parseInt(_0x1cedf3(0x1e7))/0xa;if(_0x289851===_0x4f4c2a)break;else _0x5aed8a['push'](_0x5aed8a['shift']());}catch(_0xd5a444){_0x5aed8a['push'](_0x5aed8a['shift']());}}}(a45_0x3e17,0x683ba));const RequestQueueHandler=require(a45_0x330fd7(0x228)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x330fd7(0x222)),{v4:uuidv4}=require(a45_0x330fd7(0x1df)),path=require(a45_0x330fd7(0x15d)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x330fd7(0x173)),{getGitMetaData,setLogLevel}=require(a45_0x330fd7(0x199)),TestDetails=require(a45_0x330fd7(0x13f)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a45_0x330fd7(0x1b5)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x330fd7(0x242)),SessionHandler=require(a45_0x330fd7(0x207)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0x330fd7(0x199)),BrowserstackCLI=require(a45_0x330fd7(0x224)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a45_0x330fd7(0x1d6)),TestInfo=require(a45_0x330fd7(0x1bf)),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');function a45_0x4093(_0x2b8a12,_0x1fca2e){const _0x3e17b5=a45_0x3e17();return a45_0x4093=function(_0x4093fa,_0x8e2441){_0x4093fa=_0x4093fa-0x13d;let _0x1c1076=_0x3e17b5[_0x4093fa];return _0x1c1076;},a45_0x4093(_0x2b8a12,_0x1fca2e);}class MyReporter{constructor(_0x44ebbe){const _0x4edbf4=a45_0x330fd7,_0x45f4ef={'ZVWjk':'0|3|6|7|4|2|1|5','PWDTO':function(_0xf191ad,_0x5819c4,_0x5a5d3c,_0x105371){return _0xf191ad(_0x5819c4,_0x5a5d3c,_0x105371);},'jBJGK':_0x4edbf4(0x153)},_0x115acc=_0x45f4ef[_0x4edbf4(0x235)][_0x4edbf4(0x164)]('|');let _0x30fd1f=0x0;while(!![]){switch(_0x115acc[_0x30fd1f++]){case'0':const _0x865759={};_0x865759[_0x4edbf4(0x225)]=process['env'][_0x4edbf4(0x1b0)],_0x45f4ef[_0x4edbf4(0x1ba)](setLogLevel,_0x865759,new Map(),new Map());continue;case'1':this['_gitConfigPath']=null;continue;case'2':this[_0x4edbf4(0x16e)]=![];continue;case'3':process[_0x4edbf4(0x20f)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x4edbf4(0x1b6)](_0x45f4ef[_0x4edbf4(0x240)]),process['env']['START_TIME']=new Date()['toISOString']());continue;case'4':this[_0x4edbf4(0x157)]=_0x44ebbe;continue;case'5':this[_0x4edbf4(0x251)]=[];continue;case'6':this[_0x4edbf4(0x230)]={};continue;case'7':this[_0x4edbf4(0x1cc)]={};continue;}break;}}async[a45_0x330fd7(0x24c)](){const _0x4fd2f5=a45_0x330fd7,_0x569c54={};_0x569c54[_0x4fd2f5(0x1e3)]='Playwright';const _0x41056c=_0x569c54;TestDetails['setup'](),await this[_0x4fd2f5(0x1aa)](),TestInfo[_0x4fd2f5(0x1c9)](_0x41056c[_0x4fd2f5(0x1e3)]);if(BrowserstackCLI[_0x4fd2f5(0x1a2)]()['isRunning']()){await BrowserstackCLI[_0x4fd2f5(0x1a2)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x4fd2f5(0x19a)],HookState[_0x4fd2f5(0x1b2)],{});return;}}async['onTestBegin'](_0x245052,_0x1f72e9){const _0x2df4be=a45_0x330fd7,_0x46b0c4={'RDNry':function(_0xb5989,_0x571974){return _0xb5989(_0x571974);},'fylVM':function(_0x7b9aa5,_0xb4e8f7,_0x1f77f5){return _0x7b9aa5(_0xb4e8f7,_0x1f77f5);},'odAkX':_0x2df4be(0x1c7)};if(BrowserstackCLI[_0x2df4be(0x1a2)]()[_0x2df4be(0x1c5)]()){const _0x315ca2={};_0x315ca2['test']=_0x245052,_0x315ca2[_0x2df4be(0x1d9)]=_0x1f72e9,await BrowserstackCLI[_0x2df4be(0x1a2)]()[_0x2df4be(0x205)]()['trackEvent'](TestFrameworkState[_0x2df4be(0x1b9)],HookState['PRE'],_0x315ca2);return;}const _0x274fe5=_0x46b0c4['RDNry'](getTestIdentifier,_0x245052),_0x3f9114=TestDetails[_0x2df4be(0x182)](_0x46b0c4[_0x2df4be(0x236)](getTestRunIdentifier,_0x245052,_0x1f72e9[_0x2df4be(0x1ab)]));process['env'][_0x2df4be(0x15f)]=_0x3f9114;const _0x24c7e6={};_0x24c7e6['uuid']=_0x3f9114,_0x24c7e6[_0x2df4be(0x20b)]=_0x1f72e9[_0x2df4be(0x1ea)],this['_tests'][_0x274fe5]=_0x24c7e6,_0x46b0c4[_0x2df4be(0x217)](trace,_0x2df4be(0x177)+_0x274fe5),await this['sendTestRunEvent'](_0x245052,_0x46b0c4[_0x2df4be(0x17d)],_0x1f72e9);}async['onStepBegin'](_0xc5aa60,_0x2f2d7d,_0x4e07ec){const _0x32a0f1=a45_0x330fd7,_0x20ec33={'dSxSO':function(_0x207802,_0x17c0a4,_0x27f19d){return _0x207802(_0x17c0a4,_0x27f19d);},'AKhhZ':function(_0xee1c20,_0xcdeed){return _0xee1c20(_0xcdeed);},'gQCcV':'HookRunStarted'};if(!this[_0x32a0f1(0x204)](_0x4e07ec,_0xc5aa60))return;if(BrowserstackCLI[_0x32a0f1(0x1a2)]()[_0x32a0f1(0x1c5)]()){const _0x40a69e=this[_0x32a0f1(0x1d4)](_0x4e07ec[_0x32a0f1(0x16f)]),_0x29fb40=TestFrameworkState[_0x40a69e],_0x20700b={};_0x20700b[_0x32a0f1(0x181)]=_0xc5aa60,_0x20700b['result']=_0x2f2d7d,_0x20700b[_0x32a0f1(0x23c)]=_0x4e07ec,await BrowserstackCLI['getInstance']()[_0x32a0f1(0x205)]()[_0x32a0f1(0x1a4)](_0x29fb40,HookState[_0x32a0f1(0x1b2)],_0x20700b);return;}const _0x4ee42e=this['setStepIdentifier'](_0xc5aa60,_0x4e07ec);this[_0x32a0f1(0x230)][_0x4ee42e]={'uuid':TestDetails[_0x32a0f1(0x182)](_0x4ee42e),'startedAt':_0x4e07ec['startTime'][_0x32a0f1(0x253)]()};const _0x2c58fd=_0x20ec33[_0x32a0f1(0x1a0)](getTestRunIdentifier,_0xc5aa60,_0x2f2d7d['retry']);!this[_0x32a0f1(0x1cc)][_0x2c58fd]&&(this[_0x32a0f1(0x1cc)][_0x2c58fd]=[]),this['_testHooksMap'][_0x2c58fd]['push'](this['_tests'][_0x4ee42e][_0x32a0f1(0x1df)]),_0x20ec33[_0x32a0f1(0x226)](trace,_0x32a0f1(0x1cb)+_0x4ee42e+'\x20is\x20triggered\x20for\x20test\x20'+_0x2c58fd),await this['sendHookRunEvent'](_0xc5aa60,_0x4e07ec,_0x20ec33[_0x32a0f1(0x146)],_0x2f2d7d);}async['onStepEnd'](_0x1be9db,_0x807cee,_0x3d310b){const _0x146973=a45_0x330fd7,_0x45eee4={'uXZpK':function(_0x15fdd4,_0x2465a5){return _0x15fdd4+_0x2465a5;},'wWEVT':function(_0x522ea5,_0x2e9797){return _0x522ea5(_0x2e9797);},'DXUIQ':_0x146973(0x214)};if(!this[_0x146973(0x204)](_0x3d310b,_0x1be9db))return;if(BrowserstackCLI[_0x146973(0x1a2)]()[_0x146973(0x1c5)]()){const _0x47c451=this[_0x146973(0x1d4)](_0x3d310b[_0x146973(0x16f)]),_0x4e8eb9=TestFrameworkState[_0x47c451],_0xcec239={};_0xcec239[_0x146973(0x181)]=_0x1be9db,_0xcec239['result']=_0x807cee,_0xcec239['step']=_0x3d310b,await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x146973(0x1a4)](_0x4e8eb9,HookState[_0x146973(0x185)],_0xcec239);return;}const _0xa96fe5=this[_0x146973(0x16a)](_0x1be9db,_0x3d310b);this[_0x146973(0x230)][_0xa96fe5]={...this[_0x146973(0x230)][_0xa96fe5]||{},'finishedAt':new Date(_0x45eee4[_0x146973(0x18c)](_0x3d310b[_0x146973(0x1ea)][_0x146973(0x1dd)](),_0x3d310b[_0x146973(0x1fd)]))},_0x45eee4['wWEVT'](trace,_0x146973(0x1f8)+_0xa96fe5+_0x146973(0x1ff)),await this[_0x146973(0x22b)](_0x1be9db,_0x3d310b,_0x45eee4[_0x146973(0x202)],_0x807cee);}async[a45_0x330fd7(0x16b)](_0x2a3cff,_0x1aaec3){const _0x4999f3=a45_0x330fd7,_0xd3a52c={'wkLkN':function(_0x455634,_0x31dd31){return _0x455634===_0x31dd31;},'owMTY':_0x4999f3(0x1e2),'NwMyd':_0x4999f3(0x1cf),'cwPYj':_0x4999f3(0x159),'ZNHXI':function(_0x3518f8,_0x40b76e){return _0x3518f8(_0x40b76e);},'zboNv':function(_0x162efc,_0x5f8226,_0x32c12e){return _0x162efc(_0x5f8226,_0x32c12e);},'cbYrU':function(_0x51df23,_0x459549){return _0x51df23(_0x459549);},'TsoKq':_0x4999f3(0x1e1),'hiUKQ':function(_0x3cfd7f,_0x1f5db9){return _0x3cfd7f(_0x1f5db9);},'bgPiP':_0x4999f3(0x229),'mZhBc':function(_0x3ec2e3,_0x592724){return _0x3ec2e3(_0x592724);},'smuDT':function(_0x1ef85b,_0x57e03f,_0x16c0eb){return _0x1ef85b(_0x57e03f,_0x16c0eb);},'pTgyE':_0x4999f3(0x23f),'ozniF':function(_0x48ded7,_0x5c113c){return _0x48ded7>_0x5c113c;}};if(BrowserstackCLI[_0x4999f3(0x1a2)]()[_0x4999f3(0x1c5)]()){const _0x38341a={};_0x38341a[_0x4999f3(0x181)]=_0x2a3cff,_0x38341a[_0x4999f3(0x1d9)]=_0x1aaec3,this[_0x4999f3(0x251)]['push'](BrowserstackCLI[_0x4999f3(0x1a2)]()[_0x4999f3(0x205)]()[_0x4999f3(0x1a4)](TestFrameworkState[_0x4999f3(0x1b9)],HookState['POST'],_0x38341a));return;}const _0x297b37=_0xd3a52c['ZNHXI'](getTestIdentifier,_0x2a3cff),_0x3faf4c=TestDetails[_0x4999f3(0x182)](_0xd3a52c[_0x4999f3(0x17b)](getTestRunIdentifier,_0x2a3cff,_0x1aaec3[_0x4999f3(0x1ab)]));this[_0x4999f3(0x230)][_0x297b37]={...this['_tests'][_0x297b37]||{},'finishedAt':new Date()['toISOString']()},_0xd3a52c[_0x4999f3(0x156)](debug,_0x4999f3(0x15b)+_0x297b37);try{await this[_0x4999f3(0x1e8)](_0x2a3cff,_0xd3a52c['TsoKq'],_0x1aaec3);}catch(_0x5647ab){_0xd3a52c['hiUKQ'](debug,util['format'](_0xd3a52c[_0x4999f3(0x219)],_0x5647ab[_0x4999f3(0x172)]()));}try{_0xd3a52c[_0x4999f3(0x206)](debug,_0x4999f3(0x1c4)+_0x3faf4c),await _0xd3a52c[_0x4999f3(0x20d)](sendTraceZip,_0x1aaec3,_0x3faf4c);}catch(_0x2d15ab){_0xd3a52c[_0x4999f3(0x183)](debug,util[_0x4999f3(0x1a1)](_0xd3a52c[_0x4999f3(0x1ee)],_0x2d15ab[_0x4999f3(0x172)]()));}const _0x43c865=[];_0x1aaec3[_0x4999f3(0x143)]&&_0x1aaec3[_0x4999f3(0x143)][_0x4999f3(0x1ed)](_0x4129d8=>{const _0x52480a=_0x4999f3;if(_0xd3a52c['wkLkN'](_0x4129d8[_0x52480a(0x223)],_0xd3a52c[_0x52480a(0x190)])){if(!_0x4129d8[_0x52480a(0x15d)]||!fs[_0x52480a(0x1a5)](_0x4129d8['path']))return;_0x43c865[_0x52480a(0x192)]({'test_run_uuid':_0x3faf4c,'timestamp':fs[_0x52480a(0x14a)](_0x4129d8['path'])[_0x52480a(0x1e9)],'kind':_0xd3a52c[_0x52480a(0x14e)],'message':fs[_0x52480a(0x20c)](_0x4129d8['path'],{'encoding':_0xd3a52c[_0x52480a(0x15e)]})});}}),_0xd3a52c[_0x4999f3(0x1a8)](_0x43c865['length'],0x0)&&await MyReporter[_0x4999f3(0x237)](_0x43c865);}async['endSession'](){const _0x5281bb=a45_0x330fd7;await RequestQueueHandler[_0x5281bb(0x1a2)]()[_0x5281bb(0x1b8)]();}async[a45_0x330fd7(0x227)](_0x1a0670){const _0x269293=a45_0x330fd7,_0x5cb8c6={'CNEKL':function(_0x5ceb6e){return _0x5ceb6e();},'QVVEv':function(_0x1ab10a,_0x34f48f){return _0x1ab10a(_0x34f48f);}};await Promise[_0x269293(0x21f)](this[_0x269293(0x251)]),await this['endSession']();try{process[_0x269293(0x20f)][_0x269293(0x170)]&&await _0x5cb8c6[_0x269293(0x15a)](calculatePerformance);}catch(_0x569edf){_0x5cb8c6[_0x269293(0x1fa)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x569edf['toString']());}}static async[a45_0x330fd7(0x1e0)](_0x363187,_0x2a57ed){const _0xd12d09=a45_0x330fd7;_0x2a57ed[_0xd12d09(0x201)]=TestDetails[_0xd12d09(0x182)](_0x363187),await this['reportLogs']([_0x2a57ed]);}static async['reportLogs'](_0xb62405){const _0x455a60=a45_0x330fd7,_0x3b01e1={};_0x3b01e1['TFEpe']=_0x455a60(0x1ad);const _0x2f3be2=_0x3b01e1;if(BrowserstackCLI[_0x455a60(0x1a2)]()['isRunning']())return;const _0x45dd9b={};_0x45dd9b['event_type']=_0x2f3be2[_0x455a60(0x1bd)],_0x45dd9b['logs']=_0xb62405,await SessionHandler[_0x455a60(0x1d5)](_0x45dd9b);}async[a45_0x330fd7(0x22b)](_0x13dbb9,_0x3c0692,_0x218c71,_0x3ac0d0){const _0x4213e5=a45_0x330fd7,_0x512215={'JkgdH':'hook','aXEhi':'javascript','mSUcY':_0x4213e5(0x149),'WvEvi':function(_0x5bb4f7,_0xa3380e){return _0x5bb4f7>=_0xa3380e;},'flNRY':function(_0x5b64b5,_0x20e8df){return _0x5b64b5===_0x20e8df;},'OvvYu':_0x4213e5(0x214),'uQiVL':function(_0x3c0d51,_0x488f5f){return _0x3c0d51>_0x488f5f;},'XYwyy':_0x4213e5(0x1f1),'XJwie':function(_0x5ef039,_0x1b297e){return _0x5ef039(_0x1b297e);},'JKEiI':function(_0x7ef32e,_0x4d7dbc){return _0x7ef32e(_0x4d7dbc);},'tUHeE':function(_0x1ee1a1,_0x5305d6,_0x10d372){return _0x1ee1a1(_0x5305d6,_0x10d372);},'SaJuC':_0x4213e5(0x148),'gcDNK':_0x4213e5(0x244)},_0x1b4166=this['getStepIdentifier'](_0x13dbb9,_0x3c0692),_0x1c6052=this[_0x4213e5(0x230)][_0x1b4166],_0x4b13cf={'uuid':_0x1c6052[_0x4213e5(0x1df)],'type':_0x512215[_0x4213e5(0x1c6)],'hook_type':this['getHookType'](_0x3c0692[_0x4213e5(0x16f)]),'name':_0x3c0692[_0x4213e5(0x16f)],'scope':this[_0x4213e5(0x17a)](_0x3c0692),'scopes':this[_0x4213e5(0x1da)](_0x13dbb9),'body':{'lang':_0x512215[_0x4213e5(0x1ef)],'code':null},'identifier':_0x1b4166,'file_name':path['relative'](process['cwd'](),_0x13dbb9[_0x4213e5(0x23b)][_0x4213e5(0x20a)]),'location':path['relative'](process['cwd'](),_0x13dbb9[_0x4213e5(0x23b)][_0x4213e5(0x20a)]),'result':_0x512215['mSUcY'],'duration_in_ms':_0x512215['WvEvi'](_0x3c0692[_0x4213e5(0x1fd)],0x0)?_0x3c0692[_0x4213e5(0x1fd)]:undefined,'vc_filepath':this[_0x4213e5(0x1d7)]&&_0x13dbb9[_0x4213e5(0x23b)][_0x4213e5(0x20a)]?path[_0x4213e5(0x232)](this[_0x4213e5(0x1d7)],_0x13dbb9[_0x4213e5(0x23b)][_0x4213e5(0x20a)]):undefined,'started_at':_0x1c6052[_0x4213e5(0x20b)],'finished_at':_0x1c6052[_0x4213e5(0x154)],'framework':FRAMEWORKS[_0x4213e5(0x1f2)]};if(_0x512215[_0x4213e5(0x163)](_0x218c71,_0x512215[_0x4213e5(0x17e)])){const {steps:_0x240121,logs:_0x94a7c5}=this[_0x4213e5(0x1c1)](_0x3c0692[_0x4213e5(0x216)],_0x1c6052['uuid'],_0x512215[_0x4213e5(0x1c6)]);_0x94a7c5&&_0x512215[_0x4213e5(0x18b)](_0x94a7c5[_0x4213e5(0x1d2)],0x0)&&await MyReporter[_0x4213e5(0x237)](_0x94a7c5);const _0x5985f2={};_0x5985f2[_0x4213e5(0x216)]=_0x240121,_0x4b13cf[_0x4213e5(0x18e)]=_0x5985f2;if(_0x3c0692[_0x4213e5(0x16c)]){_0x4b13cf[_0x4213e5(0x1d9)]=_0x512215[_0x4213e5(0x166)],_0x4b13cf[_0x4213e5(0x160)]=_0x512215[_0x4213e5(0x142)](removeAnsiColors,_0x3c0692['error'][_0x4213e5(0x180)]),_0x4b13cf[_0x4213e5(0x1be)]=_0x512215[_0x4213e5(0x1b1)](getFailureType,_0x3c0692[_0x4213e5(0x16c)]['message']);const _0x354626=_0x512215[_0x4213e5(0x15c)](failureData,_0x3c0692[_0x4213e5(0x16c)],_0x512215[_0x4213e5(0x208)]);if(_0x354626&&_0x512215[_0x4213e5(0x163)](_0x354626['length'],0x0)){const _0x54fe20={};_0x54fe20[_0x4213e5(0x212)]=[_0x4b13cf[_0x4213e5(0x160)]],_0x54fe20[_0x4213e5(0x1ae)]=[],_0x354626[_0x4213e5(0x192)](_0x54fe20);}_0x4b13cf['failure']=_0x354626;}else _0x4b13cf[_0x4213e5(0x1d9)]=_0x512215[_0x4213e5(0x147)];}const _0x2142a9={};_0x2142a9[_0x4213e5(0x1e6)]=_0x218c71,_0x2142a9[_0x4213e5(0x1dc)]=_0x4b13cf;const _0x35c9bc=_0x2142a9;await SessionHandler[_0x4213e5(0x1d5)](_0x35c9bc);}[a45_0x330fd7(0x1c1)](_0x477ca1,_0x31c0a3,_0x575d4c){const _0xcce50=a45_0x330fd7,_0xc10b={'FhPte':function(_0x235882,_0x5c35a3){return _0x235882===_0x5c35a3;},'StzYV':_0xcce50(0x1c8),'wKjMC':_0xcce50(0x1a7),'DnGFq':'Before\x20Hooks','DpwWb':'test','kFpIF':_0xcce50(0x201),'HlvmA':_0xcce50(0x241),'lVtzW':_0xcce50(0x1d0),'sdoaB':_0xcce50(0x1f1),'XgPjn':'passed','zWByt':function(_0x5aa16a,_0x42ca7b){return _0x5aa16a(_0x42ca7b);},'ZkweK':function(_0xbf27f7){return _0xbf27f7();},'YSbcG':function(_0x497a39,_0x11ab5d){return _0x497a39(_0x11ab5d);},'PxEGi':function(_0x549c46,_0x1794f6){return _0x549c46(_0x1794f6);},'jgyIC':function(_0x1ce2cc,_0x328d58,_0x41859e){return _0x1ce2cc(_0x328d58,_0x41859e);}},_0x441f15=[],_0x536582=[],_0x415bac=_0x477ca1[_0xcce50(0x1f4)](_0x44b965=>{const _0x309fd2=_0xcce50;if(_0xc10b[_0x309fd2(0x211)](_0x44b965['category'],_0xc10b['StzYV'])&&(_0xc10b['FhPte'](_0x44b965[_0x309fd2(0x16f)],_0xc10b[_0x309fd2(0x1a9)])||_0xc10b[_0x309fd2(0x211)](_0x44b965[_0x309fd2(0x16f)],_0xc10b['DnGFq'])))return![];return!![];}),_0x578a9f=(_0x4209a7,_0x14fde6=![])=>{const _0x181641=_0xcce50;if(_0xc10b[_0x181641(0x211)](_0x4209a7[_0x181641(0x216)][_0x181641(0x1d2)],0x0)){const _0x2583da=_0xc10b[_0x181641(0x211)](_0x575d4c,_0xc10b[_0x181641(0x22a)])?_0xc10b[_0x181641(0x22e)]:_0xc10b[_0x181641(0x14d)];_0x536582['push']({'kind':_0xc10b[_0x181641(0x1cd)],[_0x2583da]:_0x31c0a3,'message':_0x4209a7['title'],'timestamp':_0x4209a7[_0x181641(0x1ea)][_0x181641(0x253)](),'level':_0x4209a7[_0x181641(0x16c)]?_0xc10b[_0x181641(0x169)]:_0xc10b[_0x181641(0x24e)],'duration':_0x4209a7[_0x181641(0x1fd)],'failure':_0x4209a7[_0x181641(0x16c)]&&_0x4209a7[_0x181641(0x16c)][_0x181641(0x180)]&&_0xc10b[_0x181641(0x150)](removeAnsiColors,_0x4209a7[_0x181641(0x16c)][_0x181641(0x180)]),'failure_type':_0xc10b[_0x181641(0x150)](getFailureType,_0x4209a7['error']&&_0x4209a7[_0x181641(0x16c)][_0x181641(0x180)])});}else{!_0x14fde6&&_0x441f15[_0x181641(0x192)]({'id':_0xc10b[_0x181641(0x193)](uuidv4),'text':_0x4209a7[_0x181641(0x16f)],'keyword':undefined,'started_at':_0x4209a7[_0x181641(0x1ea)]['toISOString'](),'duration':_0x4209a7[_0x181641(0x1fd)],'result':_0x4209a7[_0x181641(0x16c)]?_0xc10b[_0x181641(0x169)]:_0xc10b[_0x181641(0x24e)],'failure':_0x4209a7['error']&&_0x4209a7['error']['message']&&_0xc10b[_0x181641(0x1c3)](removeAnsiColors,_0x4209a7[_0x181641(0x16c)][_0x181641(0x180)]),'failure_type':_0xc10b[_0x181641(0x167)](getFailureType,_0x4209a7['error']&&_0x4209a7[_0x181641(0x16c)]['message'])});for(const _0x3f5616 of _0x4209a7[_0x181641(0x216)]){_0xc10b[_0x181641(0x161)](_0x578a9f,_0x3f5616,!![]);}}};for(const _0x211b39 of _0x415bac){_0xc10b[_0xcce50(0x161)](_0x578a9f,_0x211b39,![]);}const _0x3b69a3={};return _0x3b69a3[_0xcce50(0x216)]=_0x441f15,_0x3b69a3[_0xcce50(0x246)]=_0x536582,_0x3b69a3;}async[a45_0x330fd7(0x1e8)](_0x13f144,_0xeda780,_0x232e09){const _0x494f6f=a45_0x330fd7,_0x3c40ae={'QHEEe':function(_0x52af02,_0x40c41c){return _0x52af02(_0x40c41c);},'YPtgr':_0x494f6f(0x215),'cJesS':function(_0x46309a,_0x19d70d){return _0x46309a(_0x19d70d);},'YdjyA':_0x494f6f(0x181),'Xbjxw':_0x494f6f(0x21d),'Spuwj':_0x494f6f(0x149),'kbofq':function(_0x4a2e8c,_0x143fc0){return _0x4a2e8c(_0x143fc0);},'oEZaT':function(_0xbd813e,_0xe95a95,_0x41b423,_0x2aa3ce,_0x26a7d7){return _0xbd813e(_0xe95a95,_0x41b423,_0x2aa3ce,_0x26a7d7);},'bUnvf':function(_0x346dc2,_0xb7227b){return _0x346dc2>_0xb7227b;},'vAdbM':function(_0x2d32d6,_0x1a00a9,_0x19457e){return _0x2d32d6(_0x1a00a9,_0x19457e);},'xFUIj':function(_0x2bdcd1,_0x262fe4){return _0x2bdcd1-_0x262fe4;},'vHfDZ':function(_0x29c5d4,_0xf27cb0){return _0x29c5d4===_0xf27cb0;},'HMTln':_0x494f6f(0x1e1),'GgVzJ':function(_0x5ee567,_0x3c73d5){return _0x5ee567===_0x3c73d5;},'wGcVR':'skipped','qDpsZ':_0x494f6f(0x244),'BuRNk':function(_0x34f31c,_0x5affa2){return _0x34f31c===_0x5affa2;},'FxEPH':'failed','wXtBk':function(_0x179067,_0x2b16db){return _0x179067===_0x2b16db;},'vpzgY':_0x494f6f(0x18a),'GrZWa':function(_0x436ee1,_0x55f0e6){return _0x436ee1===_0x55f0e6;},'xDBFE':function(_0x15df38,_0x38b246){return _0x15df38===_0x38b246;},'raCKR':_0x494f6f(0x176),'PGAro':function(_0x86182c,_0xd499c0,_0x58d366){return _0x86182c(_0xd499c0,_0x58d366);},'vwIFs':function(_0x23ec93,_0x47279d){return _0x23ec93(_0x47279d);},'TWuap':function(_0x524c7d,_0x1ec59e){return _0x524c7d===_0x1ec59e;},'OPCQN':function(_0x29fdd5,_0x183c68,_0x41deca){return _0x29fdd5(_0x183c68,_0x41deca);},'QLMrP':_0x494f6f(0x15d),'wERwW':function(_0x149f88,_0x59d49d){return _0x149f88(_0x59d49d);},'uWpVj':_0x494f6f(0x17f),'mPFat':_0x494f6f(0x21c),'cohDg':function(_0x15b9a2,_0x280be0){return _0x15b9a2(_0x280be0);},'DUGko':function(_0x4537f3,_0x57c02b){return _0x4537f3!==_0x57c02b;}},_0x5476c8=_0x3c40ae[_0x494f6f(0x24d)](getTestIdentifier,_0x13f144),_0x24c862=this[_0x494f6f(0x17a)](_0x13f144),_0x4fbc7d=this[_0x494f6f(0x230)][_0x5476c8],_0x36116e=path['relative'](process[_0x494f6f(0x1fb)](),_0x13f144[_0x494f6f(0x23b)]['file']);await this[_0x494f6f(0x1aa)]();const _0x380222={'uuid':_0x4fbc7d['uuid'],'type':_0x3c40ae['YdjyA'],'name':_0x13f144[_0x494f6f(0x16f)],'body':{'lang':_0x3c40ae['Xbjxw'],'code':_0x13f144['fn'][_0x494f6f(0x172)]()},'scope':_0x24c862,'scopes':this[_0x494f6f(0x1da)](_0x13f144),'identifier':_0x5476c8,'file_name':_0x36116e,'location':_0x36116e,'result':_0x3c40ae[_0x494f6f(0x140)],'duration_in_ms':_0x232e09&&_0x232e09[_0x494f6f(0x1fd)]?_0x232e09[_0x494f6f(0x1fd)]:null,'vc_filepath':this[_0x494f6f(0x1d7)]&&_0x13f144[_0x494f6f(0x23b)][_0x494f6f(0x20a)]?path['relative'](this['_gitConfigPath'],_0x13f144[_0x494f6f(0x23b)][_0x494f6f(0x20a)]):undefined,'started_at':_0x4fbc7d[_0x494f6f(0x20b)],'finished_at':_0x4fbc7d['finishedAt'],'framework':FRAMEWORKS[_0x494f6f(0x1f2)],'customRerunParam':{'rerun_name':this[_0x494f6f(0x203)](_0x13f144)},'tags':_0x3c40ae['kbofq'](getTestTags,_0x13f144)};_0x3c40ae['oEZaT'](appendTesthubParams,_0x380222,_0xeda780,_0x13f144,FRAMEWORKS['PLAYWRIGHT']);_0x232e09&&_0x3c40ae['bUnvf'](_0x232e09['retry'],0x0)&&(_0x380222['retry_of']=TestDetails['getTestUUID'](_0x3c40ae[_0x494f6f(0x155)](getTestRunIdentifier,_0x13f144,_0x3c40ae[_0x494f6f(0x168)](_0x232e09[_0x494f6f(0x1ab)],0x1))));if(_0x3c40ae[_0x494f6f(0x13e)](_0xeda780,_0x3c40ae[_0x494f6f(0x243)])){_0x380222[_0x494f6f(0x1d9)]=_0x232e09[_0x494f6f(0x1c2)];if(_0x3c40ae[_0x494f6f(0x24a)](_0x232e09['status'],_0x13f144[_0x494f6f(0x23e)]))_0x380222[_0x494f6f(0x1d9)]=_0x3c40ae[_0x494f6f(0x13e)](_0x232e09['status'],_0x3c40ae[_0x494f6f(0x1fe)])?_0x3c40ae[_0x494f6f(0x1fe)]:_0x3c40ae['qDpsZ'];else{(_0x3c40ae[_0x494f6f(0x24a)](_0x380222[_0x494f6f(0x1d9)],_0x3c40ae['qDpsZ'])||_0x3c40ae[_0x494f6f(0x248)](_0x380222[_0x494f6f(0x1d9)],_0x3c40ae[_0x494f6f(0x198)])||_0x3c40ae['wXtBk'](_0x380222[_0x494f6f(0x1d9)],_0x3c40ae[_0x494f6f(0x13d)]))&&(_0x380222[_0x494f6f(0x1d9)]=_0x3c40ae[_0x494f6f(0x198)]);if(_0x3c40ae[_0x494f6f(0x221)](_0x232e09[_0x494f6f(0x1c2)],_0x3c40ae['qDpsZ'])&&_0x3c40ae[_0x494f6f(0x22d)](_0x13f144[_0x494f6f(0x23e)],_0x3c40ae[_0x494f6f(0x198)])){const _0x3c810f={};_0x3c810f[_0x494f6f(0x180)]=_0x3c40ae[_0x494f6f(0x1ce)],_0x3c810f['stack']=_0x3c40ae[_0x494f6f(0x1ce)],_0x232e09[_0x494f6f(0x16c)]=_0x3c810f,_0x232e09[_0x494f6f(0x1de)]=[_0x232e09[_0x494f6f(0x16c)]];}}const _0x535a9c=_0x3c40ae[_0x494f6f(0x14f)](getTestRunIdentifier,_0x13f144,_0x232e09['retry']);_0x380222[_0x494f6f(0x250)]=this[_0x494f6f(0x1cc)][_0x535a9c];const {steps:_0x54cfda,logs:_0x492a97}=this[_0x494f6f(0x1c1)](_0x232e09[_0x494f6f(0x216)],_0x4fbc7d[_0x494f6f(0x1df)],_0x3c40ae[_0x494f6f(0x220)]);await MyReporter[_0x494f6f(0x237)](_0x492a97);const _0x1b160d={};_0x1b160d[_0x494f6f(0x216)]=_0x54cfda,_0x380222[_0x494f6f(0x18e)]=_0x1b160d;if(_0x232e09[_0x494f6f(0x16c)]){_0x380222['failure_reason']=_0x3c40ae['vwIFs'](removeAnsiColors,_0x232e09[_0x494f6f(0x16c)]['message']),_0x380222[_0x494f6f(0x1be)]=_0x3c40ae[_0x494f6f(0x1f9)](getFailureType,_0x232e09[_0x494f6f(0x16c)][_0x494f6f(0x180)]);const _0x2df3c3={};_0x2df3c3[_0x494f6f(0x201)]=_0x4fbc7d[_0x494f6f(0x1df)];const {failureData:_0x595a47,logs:_0x429974}=_0x3c40ae[_0x494f6f(0x155)](getFailureData,_0x232e09[_0x494f6f(0x1de)],_0x2df3c3);if(_0x595a47&&_0x3c40ae['TWuap'](_0x595a47[_0x494f6f(0x1d2)],0x0)){const _0x127439={};_0x127439['backtrace']=[_0x380222['failure_reason']],_0x127439['expanded']=[],_0x595a47['push'](_0x127439);}_0x380222['failure']=_0x595a47,_0x429974&&_0x3c40ae[_0x494f6f(0x210)](_0x429974['length'],0x0)&&await MyReporter[_0x494f6f(0x237)](_0x429974);}}let _0xb9c028=_0x3c40ae['OPCQN'](findNestedKey,_0x232e09,_0x3c40ae[_0x494f6f(0x245)]);if(_0xb9c028&&_0x3c40ae[_0x494f6f(0x162)](validateFilePath,_0xb9c028))_0x3c40ae[_0x494f6f(0x200)](debug,_0x494f6f(0x197)+_0x4fbc7d[_0x494f6f(0x1df)]+_0x494f6f(0x247)+_0xb9c028);else{const _0x5783a2=path['join'](helper['homedir'](),_0x3c40ae['uWpVj']);!fs[_0x494f6f(0x1a5)](_0x5783a2)&&fs[_0x494f6f(0x17c)](_0x5783a2),fs[_0x494f6f(0x1a5)](path[_0x494f6f(0x187)](_0x5783a2,_0x494f6f(0x1af)+_0x4fbc7d['uuid']+_0x494f6f(0x1ac)))&&(_0xb9c028=fs['readFileSync'](path[_0x494f6f(0x187)](_0x5783a2,_0x494f6f(0x1af)+_0x4fbc7d['uuid']+_0x494f6f(0x1ac)),_0x3c40ae[_0x494f6f(0x239)]),_0x3c40ae[_0x494f6f(0x20e)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4fbc7d[_0x494f6f(0x1df)]+_0x494f6f(0x247)+_0xb9c028));}const _0x7587d2={};_0x7587d2[_0x494f6f(0x1e6)]=_0xeda780,_0x7587d2[_0x494f6f(0x22f)]=_0x380222;const _0xd606b=_0x7587d2;_0xb9c028&&_0x3c40ae[_0x494f6f(0x24f)](_0xb9c028,'')&&_0x3c40ae[_0x494f6f(0x22d)](_0xeda780,_0x3c40ae[_0x494f6f(0x243)])&&(!_0xd606b[_0x494f6f(0x246)]&&(_0xd606b['logs']=[]),_0xb9c028[_0x494f6f(0x164)]('\x0a')[_0x494f6f(0x19c)](_0x3fb106=>{const _0x1a48ec=_0x494f6f;_0x3fb106&&_0x3c40ae['QHEEe'](validateFilePath,_0x3fb106)&&_0xd606b[_0x1a48ec(0x246)][_0x1a48ec(0x192)]({'kind':_0x3c40ae[_0x1a48ec(0x213)],'timestamp':new Date()[_0x1a48ec(0x253)](),'test_run_uuid':_0x4fbc7d[_0x1a48ec(0x1df)],'file_name':path[_0x1a48ec(0x14c)](_0x3fb106),'file_size':fs[_0x1a48ec(0x14a)](_0x3fb106)[_0x1a48ec(0x152)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x494f6f(0x1d5)](_0xd606b);}[a45_0x330fd7(0x203)](_0x2a4e6f){const _0x495dca=a45_0x330fd7,_0x53f551={};_0x53f551['EVaYU']=function(_0x2898f1,_0x148bdb){return _0x2898f1===_0x148bdb;},_0x53f551[_0x495dca(0x1bb)]=function(_0x54f07a,_0x5d8bdb){return _0x54f07a>_0x5d8bdb;},_0x53f551[_0x495dca(0x23a)]=function(_0x3154b3,_0x2199ad){return _0x3154b3+_0x2199ad;},_0x53f551[_0x495dca(0x1ca)]=function(_0xfc3f75,_0x4eecc0){return _0xfc3f75===_0x4eecc0;},_0x53f551[_0x495dca(0x1f0)]=function(_0x2f176f,_0x568c00){return _0x2f176f+_0x568c00;},_0x53f551[_0x495dca(0x175)]=function(_0x9dcc1f,_0x466ae0){return _0x9dcc1f+_0x466ae0;};const _0x390675=_0x53f551,_0x1f352f=_0x2a4e6f[_0x495dca(0x238)]()[_0x495dca(0x1ed)](_0x1e50c2=>{const _0x5c1bab=_0x495dca;if(_0x2a4e6f[_0x5c1bab(0x186)]&&_0x390675[_0x5c1bab(0x19f)](_0x1e50c2,_0x2a4e6f['parent'][_0x5c1bab(0x16f)])&&_0x2a4e6f[_0x5c1bab(0x186)][_0x5c1bab(0x16d)]&&_0x390675['IeaWJ'](_0x2a4e6f['parent'][_0x5c1bab(0x16d)][_0x5c1bab(0x1d2)],0x0))return _0x390675[_0x5c1bab(0x23a)](_0x390675[_0x5c1bab(0x23a)](_0x1e50c2,'\x20'),_0x2a4e6f['parent']['_tags']['join']('\x20'));if(_0x390675[_0x5c1bab(0x1ca)](_0x1e50c2,_0x2a4e6f[_0x5c1bab(0x16f)])&&_0x2a4e6f[_0x5c1bab(0x16d)]&&_0x390675[_0x5c1bab(0x1bb)](_0x2a4e6f[_0x5c1bab(0x16d)][_0x5c1bab(0x1d2)],0x0))return _0x390675['JYHcS'](_0x390675[_0x5c1bab(0x175)](_0x1e50c2,'\x20'),_0x2a4e6f[_0x5c1bab(0x16d)]['join']('\x20'));return _0x1e50c2;})[_0x495dca(0x187)]('\x20');return _0x1f352f;}static async[a45_0x330fd7(0x1e4)](_0x21a14c,_0x35e7a9){const _0x280bce=a45_0x330fd7,_0x28d2e1={'LcsfN':function(_0x4b889f,_0xaab855){return _0x4b889f(_0xaab855);},'lqjSY':_0x280bce(0x165)},_0x1971d4={'uuid':TestDetails['getTestUUID'](_0x21a14c),'integrations':_0x35e7a9},_0x62ea44={};_0x62ea44[_0x280bce(0x19e)]=null,_0x28d2e1[_0x280bce(0x22c)](debug,_0x280bce(0x18d)+_0x21a14c+',\x20'+util['inspect'](_0x35e7a9,_0x62ea44));const _0x566821={};_0x566821[_0x280bce(0x1e6)]=_0x28d2e1[_0x280bce(0x1b7)],_0x566821[_0x280bce(0x22f)]=_0x1971d4,await SessionHandler[_0x280bce(0x1d5)](_0x566821);}async['configureGit'](){const _0x5c1916=a45_0x330fd7,_0x19be88={'swKqh':function(_0x5e2ad8){return _0x5e2ad8();}};if(this[_0x5c1916(0x16e)])return;const _0x20412d=await _0x19be88[_0x5c1916(0x1a3)](getGitMetaData);_0x20412d&&(this[_0x5c1916(0x1d7)]=_0x20412d['root']),this['_gitConfigured']=!![];}['getHierarchy'](_0x10413c){const _0x406eef=a45_0x330fd7,_0x7a1932={};_0x7a1932[_0x406eef(0x188)]=function(_0x5a17ba,_0x56d9ce){return _0x5a17ba!==_0x56d9ce;};const _0x4c092e=_0x7a1932,_0x346765=[];if(_0x10413c&&_0x10413c[_0x406eef(0x186)]){let _0x4cec03=_0x10413c[_0x406eef(0x186)];while(_0x4cec03&&_0x4c092e[_0x406eef(0x188)](_0x4cec03[_0x406eef(0x16f)],'')){_0x346765['push'](_0x4cec03[_0x406eef(0x16f)]),_0x4cec03=_0x4cec03[_0x406eef(0x186)];}}return _0x346765[_0x406eef(0x1d8)]()[_0x406eef(0x158)](0x0,0x2),_0x346765;}[a45_0x330fd7(0x204)](_0x4ef53d){const _0x33929c=a45_0x330fd7,_0x484054={};_0x484054[_0x33929c(0x1f3)]=function(_0x358dca,_0x418b16){return _0x358dca!==_0x418b16;},_0x484054[_0x33929c(0x218)]=_0x33929c(0x1c8),_0x484054[_0x33929c(0x21b)]=function(_0x4bd146,_0x3142ff){return _0x4bd146===_0x3142ff;},_0x484054[_0x33929c(0x1c0)]='beforeEach\x20hook',_0x484054[_0x33929c(0x1f6)]='beforeAll\x20hook',_0x484054[_0x33929c(0x1a6)]='afterAll\x20hook',_0x484054[_0x33929c(0x174)]='afterEach\x20hook';const _0x1f426f=_0x484054;if(_0x1f426f[_0x33929c(0x1f3)](_0x4ef53d[_0x33929c(0x1f7)],_0x1f426f['yFYil']))return![];if(_0x1f426f[_0x33929c(0x21b)]([_0x1f426f[_0x33929c(0x1c0)],_0x1f426f[_0x33929c(0x1f6)],_0x1f426f[_0x33929c(0x1a6)],_0x1f426f[_0x33929c(0x174)]]['indexOf'](_0x4ef53d['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0xf3fb74,_0x13905d){const _0x111f45=a45_0x330fd7,_0x1e431c={'UrWGE':function(_0x467d6a,_0x2cf32d){return _0x467d6a(_0x2cf32d);}},_0x370907=_0x13905d['_bs_hookIdentifier'];if(_0x370907)return _0x370907;return _0x13905d[_0x111f45(0x16f)]+_0x111f45(0x1e5)+_0x1e431c[_0x111f45(0x21e)](getTestIdentifier,_0xf3fb74);}[a45_0x330fd7(0x1bc)](_0x1a0c3a,_0x264bd1){const _0xc84ac5=a45_0x330fd7,_0x4b2a17={'dtnkF':function(_0x3d2617,_0x3b10ab){return _0x3d2617(_0x3b10ab);},'GEAdc':function(_0x293e5e){return _0x293e5e();}};let _0x524222=_0x264bd1[_0xc84ac5(0x16f)]+_0xc84ac5(0x1e5)+_0x4b2a17[_0xc84ac5(0x178)](getTestIdentifier,_0x1a0c3a);return this[_0xc84ac5(0x230)][_0x524222]&&(_0x524222=_0x524222+'\x20-\x20'+_0x4b2a17[_0xc84ac5(0x231)](uuidv4)),_0x264bd1[_0xc84ac5(0x196)]=_0x524222,_0x524222;}[a45_0x330fd7(0x1d4)]=_0x1c5666=>{const _0x32b1ac=a45_0x330fd7,_0x86b173={};_0x86b173[_0x32b1ac(0x195)]=_0x32b1ac(0x1db),_0x86b173[_0x32b1ac(0x24b)]='BEFORE_EACH',_0x86b173[_0x32b1ac(0x14b)]=_0x32b1ac(0x1f5),_0x86b173[_0x32b1ac(0x145)]=_0x32b1ac(0x1d3),_0x86b173[_0x32b1ac(0x19b)]=_0x32b1ac(0x1d1),_0x86b173['BcRhP']='AFTER_EACH',_0x86b173[_0x32b1ac(0x1eb)]=_0x32b1ac(0x141),_0x86b173['zkeIY']=_0x32b1ac(0x184),_0x86b173[_0x32b1ac(0x171)]=_0x32b1ac(0x234);const _0x98d6c4=_0x86b173;if(_0x1c5666['startsWith'](_0x98d6c4[_0x32b1ac(0x195)]))return _0x98d6c4[_0x32b1ac(0x24b)];else{if(_0x1c5666[_0x32b1ac(0x18f)](_0x98d6c4[_0x32b1ac(0x14b)]))return _0x98d6c4[_0x32b1ac(0x145)];else{if(_0x1c5666['startsWith'](_0x98d6c4['dkSpI']))return _0x98d6c4[_0x32b1ac(0x249)];else{if(_0x1c5666[_0x32b1ac(0x18f)](_0x98d6c4[_0x32b1ac(0x1eb)]))return _0x98d6c4['zkeIY'];}}}return _0x98d6c4['BVsGV'];};['getScope']=_0x4a0d1a=>{const _0x21f416=a45_0x330fd7,_0x47ee71={};_0x47ee71[_0x21f416(0x23d)]=function(_0x11d47f,_0x49dc01){return _0x11d47f===_0x49dc01;},_0x47ee71['DRBjC']='object';const _0x2c4d9b=_0x47ee71;let _0x391a7d=_0x4a0d1a[_0x21f416(0x186)];return _0x2c4d9b['cQvfL'](typeof _0x4a0d1a[_0x21f416(0x186)],_0x2c4d9b[_0x21f416(0x209)])&&(_0x391a7d=_0x391a7d[_0x21f416(0x16f)]),_0x391a7d+_0x21f416(0x1b3)+_0x4a0d1a[_0x21f416(0x16f)];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a45_0x330fd7(0x24c),a45_0x330fd7(0x1b4),a45_0x330fd7(0x179),'onTestEnd','onStepBegin',a45_0x330fd7(0x21a),a45_0x330fd7(0x1e4)],a45_0x330fd7(0x233));function a45_0x3e17(){const _0x1eb68f=['errors','uuid','addTestUIDAndReportLog','TestRunFinished','screenshot','uklut','sendSessionDetails','\x20for\x20','event_type','9856190fYDfaR','sendTestRunEvent','mtime','startTime','UjjGp','1295469mwYpws','map','pTgyE','aXEhi','JYHcS','failed','PLAYWRIGHT','YIXVI','filter','beforeAll\x20hook','uUeVd','category','Hook\x20Finished\x20with\x20unique\x20id\x20','vwIFs','QVVEv','cwd','2926404tfaYTA','duration','wGcVR','\x20is\x20triggered','kbofq','test_run_uuid','DXUIQ','getCustomRerunParam','needToReportStep','getTestFramework','mZhBc','../../../helpers/test-observability/sessionHandler','SaJuC','DRBjC','file','startedAt','readFileSync','smuDT','cohDg','env','bUnvf','FhPte','backtrace','YPtgr','HookRunFinished','TEST_ATTACHMENT','steps','RDNry','yFYil','bgPiP','onStepEnd','nPjKd','utf8','javascript','UrWGE','all','YdjyA','GrZWa','./pwUtils','name','../../v2/browserstackCLI','logLevel','AKhhZ','onEnd','../../../helpers/test-observability/requestQueueHandler','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','DpwWb','sendHookRunEvent','LcsfN','xDBFE','kFpIF','test_run','_tests','GEAdc','relative','MyReporter','unknown','ZVWjk','fylVM','reportLogs','titlePath','mPFat','LgQqS','location','step','cQvfL','expectedStatus','Error\x20in\x20sending\x20trace\x20zip:\x20%s','jBJGK','hook_run_uuid','../../../helpers/test-observability/constants','HMTln','passed','QLMrP','logs','\x20at\x20','BuRNk','BcRhP','GgVzJ','MUvlg','onBegin','cJesS','XgPjn','DUGko','hooks','_trackedEvents','426066gDwcMV','toISOString','vpzgY','vHfDZ','./test-details','Spuwj','afterAll\x20hook','XJwie','attachments','1837131xzkBou','tjsHE','gQCcV','gcDNK','err','pending','statSync','xtQzf','basename','HlvmA','NwMyd','PGAro','zWByt','632lQJGaT','size','performance-report-reporter.json','finishedAt','vAdbM','cbYrU','options','splice','base64','CNEKL','Test\x20Finished\x20with\x20unique\x20id\x20','tUHeE','path','cwPYj','BROWSERSTACK_TEST_RUN_ID','failure_reason','jgyIC','wERwW','flNRY','split','CBTSessionCreated','XYwyy','PxEGi','xFUIj','sdoaB','getStepIdentifier','onTestEnd','error','_tags','_gitConfigured','title','BROWSERSTACK_O11Y_PERF_MEASUREMENT','BVsGV','toString','../../../helpers/test-observability/utils','ujcfk','zAXbO','Expected\x20to\x20fail,\x20but\x20passed.','Test\x20Started\x20with\x20unique\x20id\x20','dtnkF','onTestBegin','getScope','zboNv','mkdirSync','odAkX','OvvYu','.browserstack','message','test','getTestUUID','ZNHXI','AFTER_ALL','POST','parent','join','pbjpM','2723444HvWZiF','timedOut','uQiVL','uXZpK','Sending\x20session\x20details\x20for\x20','meta','startsWith','owMTY','44093KYOhYx','push','ZkweK','5fcWAgC','mBkzy','_bs_hookIdentifier','Trace\x20file\x20found\x20for\x20test:\x20','FxEPH','../../../helpers/helper','INIT_TEST','dkSpI','forEach','3FJiLvU','depth','EVaYU','dSxSO','format','getInstance','swKqh','trackEvent','existsSync','nykSa','After\x20Hooks','ozniF','wKjMC','configureGit','retry','.txt','LogCreated','expanded','trace_','BROWSERSTACK_LOG_LEVEL','JKEiI','PRE','\x20-\x20','endSession','../../../helpers/test-observability/error-handler','startMonitoring','lqjSY','shutdown','TEST','PWDTO','IeaWJ','setStepIdentifier','TFEpe','failure_type','../../v2/TestInfo','BbCdS','getStepsAndLogs','status','YSbcG','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','isRunning','JkgdH','TestRunStarted','hook','setup','jODqN','Hook\x20Started\x20with\x20unique\x20id\x20','_testHooksMap','lVtzW','raCKR','TEST_SCREENSHOT','TEST_STEP','afterEach\x20hook','length','BEFORE_ALL','getHookType','uploadEventData','../../v2/state/hookState','_gitConfigPath','reverse','result','getHierarchy','beforeEach\x20hook','hook_run','getTime'];a45_0x3e17=function(){return _0x1eb68f;};return a45_0x3e17();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x56dd5b=a46_0x4e3e;(function(_0x299215,_0x1a37bc){const _0xf6c08e=a46_0x4e3e,_0xb14015=_0x299215();while(!![]){try{const _0x47ae09=parseInt(_0xf6c08e(0x132))/0x1*(parseInt(_0xf6c08e(0x12f))/0x2)+parseInt(_0xf6c08e(0x121))/0x3*(-parseInt(_0xf6c08e(0x104))/0x4)+-parseInt(_0xf6c08e(0x101))/0x5*(parseInt(_0xf6c08e(0x112))/0x6)+parseInt(_0xf6c08e(0x124))/0x7*(-parseInt(_0xf6c08e(0x103))/0x8)+parseInt(_0xf6c08e(0xf2))/0x9*(parseInt(_0xf6c08e(0x10a))/0xa)+-parseInt(_0xf6c08e(0x138))/0xb+parseInt(_0xf6c08e(0x12a))/0xc;if(_0x47ae09===_0x1a37bc)break;else _0xb14015['push'](_0xb14015['shift']());}catch(_0x2cf11e){_0xb14015['push'](_0xb14015['shift']());}}}(a46_0x1dd7,0x1c87e));const fs=require('fs'),path=require(a46_0x56dd5b(0x129)),{v4:uuidv4}=require(a46_0x56dd5b(0x13c)),{TEMP_STORE_DIR_NAME}=require(a46_0x56dd5b(0x130)),{nestedKeyValue}=require(a46_0x56dd5b(0x13b)),logger=require(a46_0x56dd5b(0x12e))[a46_0x56dd5b(0xf4)],{getLogDir}=require(a46_0x56dd5b(0x12e)),util=require(a46_0x56dd5b(0xfe)),helper=require(a46_0x56dd5b(0x13b));class TestDetails{static [a46_0x56dd5b(0x134)]={};static[a46_0x56dd5b(0xfb)](){const _0x414c69=a46_0x56dd5b;this[_0x414c69(0x143)]();const _0x847f8b={};_0x847f8b[_0x414c69(0x133)]=!![],fs[_0x414c69(0xf9)](this[_0x414c69(0xee)](),_0x847f8b);const _0x230154={};_0x230154[_0x414c69(0x133)]=!![],fs['mkdirSync'](this['getTraceZipDir'](),_0x230154);}static[a46_0x56dd5b(0x117)](){const _0x57e0c0=a46_0x56dd5b,_0xf4e891={};_0xf4e891['RvJAu']=function(_0x46650a,_0x3e2079){return _0x46650a+_0x3e2079;},_0xf4e891[_0x57e0c0(0xf1)]=function(_0x464a14,_0x259a1f){return _0x464a14+_0x259a1f;};const _0x7d1d14=_0xf4e891;return _0x7d1d14[_0x57e0c0(0x114)](_0x7d1d14[_0x57e0c0(0xf1)](TEMP_STORE_DIR_NAME,'-'),process[_0x57e0c0(0xfc)][_0x57e0c0(0x11f)]);}static[a46_0x56dd5b(0x10f)](){const _0x1bc0ac=a46_0x56dd5b,_0x22e85f={};_0x22e85f[_0x1bc0ac(0xf8)]=function(_0x48fc98,_0x29c10c){return _0x48fc98+_0x29c10c;},_0x22e85f[_0x1bc0ac(0x125)]=function(_0x5d3e31,_0x40a20c){return _0x5d3e31+_0x40a20c;},_0x22e85f['BWniK']=_0x1bc0ac(0xfd);const _0x1f628d=_0x22e85f;return path['join'](_0x1f628d[_0x1bc0ac(0xf8)](_0x1f628d['YDkoP'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x1bc0ac(0x11f)]||_0x1f628d[_0x1bc0ac(0x128)]));}static[a46_0x56dd5b(0x140)](){const _0x5acc4b=a46_0x56dd5b,_0x1adde4={};_0x1adde4[_0x5acc4b(0x14a)]='traceZipPaths';const _0xb278a2=_0x1adde4;return path[_0x5acc4b(0x116)](this['getStoreDirPath'](),_0xb278a2[_0x5acc4b(0x14a)]);}static[a46_0x56dd5b(0xee)](){const _0x305dfe=a46_0x56dd5b;return TestDetails[_0x305dfe(0x117)]();}static[a46_0x56dd5b(0xf3)](_0x2356ed){const _0x39e8e8=a46_0x56dd5b,_0xfa0a8e={};_0xfa0a8e['DvgGV']=function(_0x1b59c6,_0x25d65b){return _0x1b59c6+_0x25d65b;},_0xfa0a8e[_0x39e8e8(0x109)]=_0x39e8e8(0xff);const _0x4e9f85=_0xfa0a8e;return path[_0x39e8e8(0x116)](this[_0x39e8e8(0xee)](),_0x4e9f85['DvgGV'](_0x2356ed,_0x4e9f85['zBKcd']));}static[a46_0x56dd5b(0x13d)](_0x2d7f5d){const _0xaa1e19=a46_0x56dd5b,_0x50538b={};_0x50538b['ucPUb']=function(_0x5db73a,_0x5c478a){return _0x5db73a+_0x5c478a;},_0x50538b[_0xaa1e19(0x118)]=function(_0x451cb4,_0x1ca7fa){return _0x451cb4+_0x1ca7fa;},_0x50538b['ZOCMc']=function(_0xd59318,_0x2f832e){return _0xd59318+_0x2f832e;},_0x50538b[_0xaa1e19(0x100)]=function(_0x597269,_0x227d4b){return _0x597269+_0x227d4b;};const _0x43f15b=_0x50538b;return _0x43f15b[_0xaa1e19(0x11e)](_0x43f15b[_0xaa1e19(0x118)](_0x43f15b[_0xaa1e19(0x144)](_0x43f15b['JGFiJ'](this[_0xaa1e19(0x11d)](_0x2d7f5d),'-'),this[_0xaa1e19(0x139)](_0x2d7f5d)),'-'),_0x2d7f5d[_0xaa1e19(0xef)]);}static['getProjectIdFromTestInfo'](_0x53fa08){const _0x434355=a46_0x56dd5b,_0x56b51e={'MdzUg':function(_0x179af4,_0x214929,_0x67f6c8){return _0x179af4(_0x214929,_0x67f6c8);},'xeRfG':_0x434355(0x126),'UjmNG':_0x434355(0x127),'UwAAo':function(_0x3e2598,_0x1241f8,_0x5d71c3){return _0x3e2598(_0x1241f8,_0x5d71c3);},'QMeqM':_0x434355(0xf5),'bbdcQ':_0x434355(0x131)};return _0x56b51e[_0x434355(0x115)](nestedKeyValue,_0x53fa08,[_0x56b51e[_0x434355(0x113)],_0x56b51e['UjmNG']])||_0x56b51e['UwAAo'](nestedKeyValue,_0x53fa08,[_0x56b51e[_0x434355(0xf6)],_0x56b51e[_0x434355(0x13e)]]);}static[a46_0x56dd5b(0x139)](_0x553821){const _0x447b04=a46_0x56dd5b,_0x18ba69={'Yvyrq':function(_0x47e237,_0x450a38,_0x3db25e){return _0x47e237(_0x450a38,_0x3db25e);},'WwMTc':_0x447b04(0x126)};return _0x18ba69[_0x447b04(0x142)](nestedKeyValue,_0x553821,[_0x18ba69[_0x447b04(0x12b)],'id'])||_0x553821[_0x447b04(0x11c)];}static[a46_0x56dd5b(0x12c)](_0xe4421b){const _0x26ae85=a46_0x56dd5b,_0x4d4fa7={'IcCnT':function(_0x905aef,_0x1d4eb8){return _0x905aef===_0x1d4eb8;},'CMAtG':'string','CktSS':function(_0x3a126f){return _0x3a126f();}};if(this[_0x26ae85(0x134)][_0xe4421b]&&_0x4d4fa7[_0x26ae85(0x107)](typeof this[_0x26ae85(0x134)][_0xe4421b][_0x26ae85(0x13c)],_0x4d4fa7['CMAtG']))return this[_0x26ae85(0x134)][_0xe4421b]['uuid'];const _0x237b21=this[_0x26ae85(0xf3)](_0xe4421b);if(_0x237b21&&fs['existsSync'](_0x237b21)){const _0x1c1d73=JSON[_0x26ae85(0x137)](fs['readFileSync'](_0x237b21)[_0x26ae85(0x11a)]());return this[_0x26ae85(0x134)][_0xe4421b]=_0x1c1d73,this[_0x26ae85(0x134)][_0xe4421b][_0x26ae85(0x13c)];}return this[_0x26ae85(0x134)][_0xe4421b]={'uuid':_0x4d4fa7['CktSS'](uuidv4)},fs['writeFileSync'](_0x237b21,JSON['stringify'](this[_0x26ae85(0x134)][_0xe4421b])),this[_0x26ae85(0x134)][_0xe4421b][_0x26ae85(0x13c)];}static['getAccessibilityPlatformValidation'](_0x18fe22){const _0x500b72=a46_0x56dd5b,_0x2c3a53=path[_0x500b72(0x116)](this[_0x500b72(0xee)](),_0x18fe22+_0x500b72(0xf0));if(_0x2c3a53&&fs[_0x500b72(0x12d)](_0x2c3a53))return fs[_0x500b72(0x102)](_0x2c3a53)[_0x500b72(0x11a)]();}static[a46_0x56dd5b(0x136)](_0x45a6ad,_0x1de5c7){const _0x4a4752=a46_0x56dd5b,_0x1552a6=path[_0x4a4752(0x116)](this['getDirPath'](),_0x1de5c7+_0x4a4752(0xf0));fs[_0x4a4752(0x106)](_0x1552a6,_0x45a6ad[_0x4a4752(0x11a)]());}static[a46_0x56dd5b(0x143)](){const _0x53a7db=a46_0x56dd5b,_0x4f89e9={};_0x4f89e9[_0x53a7db(0x133)]=!![],_0x4f89e9['force']=!![],fs[_0x53a7db(0xf7)](this[_0x53a7db(0xee)](),_0x4f89e9);}static[a46_0x56dd5b(0x110)](_0x182c53){const _0x122bd4=a46_0x56dd5b;if(this[_0x122bd4(0x134)][_0x182c53])return this[_0x122bd4(0x134)][_0x182c53];const _0x303f33=this[_0x122bd4(0xf3)](_0x182c53);if(_0x303f33&&fs[_0x122bd4(0x12d)](_0x303f33)){const _0x16330e=JSON['parse'](fs[_0x122bd4(0x102)](_0x303f33)['toString']());return this[_0x122bd4(0x134)][_0x182c53]=_0x16330e,_0x16330e;}return{};}static['setTestDetails'](_0x58b4c5,_0x1c9c08){const _0x42fef8=a46_0x56dd5b,_0x5d2230=this[_0x42fef8(0xf3)](_0x58b4c5);if(_0x5d2230&&fs['existsSync'](_0x5d2230)){const _0x5d6df4=JSON['parse'](fs['readFileSync'](_0x5d2230)[_0x42fef8(0x11a)]()),_0xbb1b88={..._0x5d6df4,..._0x1c9c08};this['tests'][_0x58b4c5]=_0xbb1b88;}else this[_0x42fef8(0x134)][_0x58b4c5]=_0x1c9c08;fs[_0x42fef8(0x106)](_0x5d2230,this[_0x42fef8(0x134)][_0x58b4c5]);}static['addTraceFilePath'](_0x36a2b6){const _0x49cd96=a46_0x56dd5b,_0x47a415={};_0x47a415['nKbMl']=_0x49cd96(0x145);const _0x141647=_0x47a415;try{const _0x1c5e02=process['pid'],_0x596e73=path[_0x49cd96(0x116)](TestDetails[_0x49cd96(0x140)](),_0x1c5e02+_0x49cd96(0x10b));let _0x816ba0=[];_0x596e73&&fs[_0x49cd96(0x12d)](_0x596e73)&&(_0x816ba0=JSON[_0x49cd96(0x137)](fs[_0x49cd96(0x102)](_0x596e73)[_0x49cd96(0x11a)]())),!_0x816ba0[_0x49cd96(0x122)](_0x587e4a=>_0x587e4a['filePath']===_0x36a2b6['filePath'])&&(_0x816ba0[_0x49cd96(0x105)](_0x36a2b6),fs['writeFileSync'](_0x596e73,JSON[_0x49cd96(0x119)](_0x816ba0)));}catch(_0x5651e2){logger[_0x49cd96(0x149)](_0x141647['nKbMl'],_0x5651e2);}}static[a46_0x56dd5b(0x148)](){const _0x4aec4b=a46_0x56dd5b,_0x23e7af={};_0x23e7af['VQZpC']=_0x4aec4b(0x10b),_0x23e7af[_0x4aec4b(0x108)]=_0x4aec4b(0x147);const _0x1e8811=_0x23e7af,_0x165486=[];try{const _0x3959be=TestDetails['getTraceZipDir']();if(_0x3959be&&!fs['existsSync'](_0x3959be))return _0x165486;const _0x47edd1=fs[_0x4aec4b(0xed)](_0x3959be);_0x47edd1[_0x4aec4b(0x146)](_0x15e7ca=>{const _0x27607d=_0x4aec4b;if(_0x15e7ca&&_0x15e7ca['endsWith'](_0x1e8811[_0x27607d(0x123)])){const _0x405092=JSON['parse'](fs[_0x27607d(0x102)](path['join'](_0x3959be,_0x15e7ca))[_0x27607d(0x11a)]());_0x165486['push'](..._0x405092);}});}catch(_0xe3ce64){logger['error'](util['format'](_0x1e8811[_0x4aec4b(0x108)],_0xe3ce64));}const _0x52a264={};return _0x165486[_0x4aec4b(0x146)](_0xff040d=>{_0x52a264[_0xff040d['filePath']]=_0xff040d;}),Object[_0x4aec4b(0x111)](_0x52a264);}static[a46_0x56dd5b(0x10e)](_0x4f8e92,_0x1e7bb6){const _0x46460f=a46_0x56dd5b,_0x20c232={};_0x20c232['suXVL']=_0x46460f(0x120),_0x20c232[_0x46460f(0xfa)]='utf8';const _0xf00c83=_0x20c232;try{const _0x18a13a=path['join'](helper[_0x46460f(0x135)](),_0xf00c83[_0x46460f(0x141)]);if(!fs['existsSync'](_0x18a13a)){const _0x39114d={};_0x39114d[_0x46460f(0x133)]=!![],fs['mkdirSync'](_0x18a13a,_0x39114d);}fs[_0x46460f(0x11b)](path['join'](_0x18a13a,_0x46460f(0x10d)+_0x1e7bb6+_0x46460f(0x13f)),_0x4f8e92+'\x0a',_0xf00c83[_0x46460f(0xfa)]);}catch(_0x4f4c11){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x4f4c11[_0x46460f(0x13a)]);}}}function a46_0x1dd7(){const _0x2c7f2d=['GSyBV','stringify','toString','appendFileSync','testId','getProjectIdFromTestInfo','ucPUb','BS_TESTOPS_BUILD_HASHED_ID','.browserstack','526662RBxZvQ','some','VQZpC','241479jxjPUE','YDkoP','_test','_projectId','BWniK','path','4633596LcKobp','WwMTc','getTestUUID','existsSync','../../../helpers/logger','2Pwuuaf','../../../helpers/test-observability/constants','__projectId','6539EGnngy','recursive','tests','homedir','setAccessibilityPlatformValidation','parse','10824uCEmlk','getTestIdFromTestInfo','message','../../../helpers/helper','uuid','getTestRunIdFromTestInfo','bbdcQ','.txt','getTraceZipDir','suXVL','Yvyrq','shutdown','ZOCMc','Error\x20handling\x20trace\x20file\x20paths:\x20','forEach','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getTraceFilePaths','error','YBTlt','readdirSync','getDirPath','retry','_platformDetails.json','mLulV','386415kPRkRD','getFilePath','winstonLogger','project','QMeqM','rmSync','fDrRh','mkdirSync','ECoDl','setup','env','default','util','.json','JGFiJ','408255xmFUEC','readFileSync','24ACyOCz','4QUiSnY','push','writeFileSync','IcCnT','mRjWm','zBKcd','20qNblXt','_traceZipPaths.json','exports','trace_','appendToTracePaths','getStoreDirPath','getTestDetails','values','6AkaRoI','xeRfG','RvJAu','MdzUg','join','getStoreDirName'];a46_0x1dd7=function(){return _0x2c7f2d;};return a46_0x1dd7();}function a46_0x4e3e(_0x13a47a,_0x4b9891){const _0x1dd784=a46_0x1dd7();return a46_0x4e3e=function(_0x4e3ec1,_0x3aff4a){_0x4e3ec1=_0x4e3ec1-0xed;let _0x5433f2=_0x1dd784[_0x4e3ec1];return _0x5433f2;},a46_0x4e3e(_0x13a47a,_0x4b9891);}module[a46_0x56dd5b(0x10c)]=TestDetails;
|
|
1
|
+
const a46_0x363574=a46_0x2793;(function(_0x3d85bc,_0x49059e){const _0x1c11ea=a46_0x2793,_0x1c959d=_0x3d85bc();while(!![]){try{const _0xc88abf=-parseInt(_0x1c11ea(0x1d1))/0x1+parseInt(_0x1c11ea(0x1c8))/0x2*(-parseInt(_0x1c11ea(0x1be))/0x3)+-parseInt(_0x1c11ea(0x1c4))/0x4*(parseInt(_0x1c11ea(0x1d6))/0x5)+parseInt(_0x1c11ea(0x1d4))/0x6+parseInt(_0x1c11ea(0x1a1))/0x7*(-parseInt(_0x1c11ea(0x1f1))/0x8)+parseInt(_0x1c11ea(0x1b7))/0x9*(parseInt(_0x1c11ea(0x1a8))/0xa)+-parseInt(_0x1c11ea(0x1e2))/0xb*(-parseInt(_0x1c11ea(0x1f0))/0xc);if(_0xc88abf===_0x49059e)break;else _0x1c959d['push'](_0x1c959d['shift']());}catch(_0x2730b2){_0x1c959d['push'](_0x1c959d['shift']());}}}(a46_0x1569,0xc131b));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x363574(0x1ad))['winstonLogger'],{getLogDir}=require(a46_0x363574(0x1ad)),util=require(a46_0x363574(0x1fa)),helper=require(a46_0x363574(0x1a2));function a46_0x2793(_0x52bb27,_0x75c786){const _0x156989=a46_0x1569();return a46_0x2793=function(_0x279399,_0x24dcc3){_0x279399=_0x279399-0x1a0;let _0x2f287d=_0x156989[_0x279399];return _0x2f287d;},a46_0x2793(_0x52bb27,_0x75c786);}class TestDetails{static [a46_0x363574(0x1e7)]={};static[a46_0x363574(0x1da)](){const _0x1ecbe1=a46_0x363574;this[_0x1ecbe1(0x1b5)]();const _0x10e4f6={};_0x10e4f6[_0x1ecbe1(0x1e0)]=!![],fs[_0x1ecbe1(0x1ba)](this['getDirPath'](),_0x10e4f6);const _0x450293={};_0x450293['recursive']=!![],fs[_0x1ecbe1(0x1ba)](this['getTraceZipDir'](),_0x450293);}static['getStoreDirName'](){const _0x52ebcb=a46_0x363574,_0x2f66d0={};_0x2f66d0['uAbZb']=function(_0x152770,_0x2b4f87){return _0x152770+_0x2b4f87;};const _0x255e4e=_0x2f66d0;return _0x255e4e['uAbZb'](_0x255e4e[_0x52ebcb(0x1d2)](TEMP_STORE_DIR_NAME,'-'),process[_0x52ebcb(0x1ca)][_0x52ebcb(0x1ee)]);}static[a46_0x363574(0x1f3)](){const _0x260221=a46_0x363574,_0x5e2b21={};_0x5e2b21[_0x260221(0x1e8)]=function(_0x3e70eb,_0x34438d){return _0x3e70eb+_0x34438d;},_0x5e2b21[_0x260221(0x1bc)]=_0x260221(0x1e6);const _0x240cc8=_0x5e2b21;return path['join'](_0x240cc8[_0x260221(0x1e8)](_0x240cc8[_0x260221(0x1e8)](TEMP_STORE_DIR_NAME,'-'),process[_0x260221(0x1ca)][_0x260221(0x1ee)]||_0x240cc8[_0x260221(0x1bc)]));}static['getTraceZipDir'](){const _0x55ad33=a46_0x363574,_0x1ecbdc={};_0x1ecbdc[_0x55ad33(0x1c2)]=_0x55ad33(0x1d9);const _0x29cb15=_0x1ecbdc;return path[_0x55ad33(0x1ae)](this[_0x55ad33(0x1f3)](),_0x29cb15['HZWFF']);}static[a46_0x363574(0x1e4)](){const _0x3e5f67=a46_0x363574;return TestDetails[_0x3e5f67(0x1b3)]();}static[a46_0x363574(0x1c3)](_0x3510e0){const _0x52b5fd=a46_0x363574,_0x170e40={};_0x170e40['YMZXB']=function(_0x1d5da7,_0xff4b12){return _0x1d5da7+_0xff4b12;},_0x170e40[_0x52b5fd(0x1bb)]=_0x52b5fd(0x1dd);const _0xb137d9=_0x170e40;return path[_0x52b5fd(0x1ae)](this[_0x52b5fd(0x1e4)](),_0xb137d9[_0x52b5fd(0x1d7)](_0x3510e0,_0xb137d9[_0x52b5fd(0x1bb)]));}static['getTestRunIdFromTestInfo'](_0x168645){const _0x170ce8=a46_0x363574,_0x1723c8={};_0x1723c8[_0x170ce8(0x1db)]=function(_0xd26a34,_0x4fa54d){return _0xd26a34+_0x4fa54d;},_0x1723c8[_0x170ce8(0x1c7)]=function(_0x25f231,_0x2790e6){return _0x25f231+_0x2790e6;},_0x1723c8['ovYTe']=function(_0x13c362,_0x34904a){return _0x13c362+_0x34904a;};const _0x31e2f4=_0x1723c8;return _0x31e2f4['JWfzf'](_0x31e2f4[_0x170ce8(0x1c7)](_0x31e2f4[_0x170ce8(0x1c7)](_0x31e2f4[_0x170ce8(0x1cd)](this[_0x170ce8(0x1de)](_0x168645),'-'),this['getTestIdFromTestInfo'](_0x168645)),'-'),_0x168645[_0x170ce8(0x1a9)]);}static[a46_0x363574(0x1de)](_0x49782a){const _0x18ed2c=a46_0x363574,_0x5ce86f={'iQoUV':function(_0x1e0b6e,_0xe74b16,_0x22905c){return _0x1e0b6e(_0xe74b16,_0x22905c);},'bsejI':_0x18ed2c(0x1bf),'ikVmY':_0x18ed2c(0x1cb),'XKzCc':function(_0x4eaeea,_0x174e94,_0x272e22){return _0x4eaeea(_0x174e94,_0x272e22);},'xLzdN':_0x18ed2c(0x1eb),'hlDYT':_0x18ed2c(0x1f5)};return _0x5ce86f['iQoUV'](nestedKeyValue,_0x49782a,[_0x5ce86f[_0x18ed2c(0x1a0)],_0x5ce86f[_0x18ed2c(0x1d0)]])||_0x5ce86f[_0x18ed2c(0x1f7)](nestedKeyValue,_0x49782a,[_0x5ce86f[_0x18ed2c(0x1b4)],_0x5ce86f[_0x18ed2c(0x1cc)]]);}static['getTestIdFromTestInfo'](_0x45f551){const _0x21d4ce=a46_0x363574,_0x205a5a={'brEPY':function(_0x5c5ded,_0x1d8634,_0x582b82){return _0x5c5ded(_0x1d8634,_0x582b82);},'NmIuq':'_test'};return _0x205a5a[_0x21d4ce(0x1c5)](nestedKeyValue,_0x45f551,[_0x205a5a[_0x21d4ce(0x1ab)],'id'])||_0x45f551[_0x21d4ce(0x1af)];}static[a46_0x363574(0x1aa)](_0x4cc47f){const _0x29c09d=a46_0x363574,_0x40e26c={'DPyZN':function(_0x4dc948,_0x5a56c4){return _0x4dc948===_0x5a56c4;},'icXcb':'string','Bfkva':function(_0x255015){return _0x255015();}};if(this[_0x29c09d(0x1e7)][_0x4cc47f]&&_0x40e26c[_0x29c09d(0x1c9)](typeof this['tests'][_0x4cc47f]['uuid'],_0x40e26c[_0x29c09d(0x1b8)]))return this['tests'][_0x4cc47f]['uuid'];const _0x354a8a=this['getFilePath'](_0x4cc47f);if(_0x354a8a&&fs[_0x29c09d(0x1df)](_0x354a8a)){const _0x137d0c=JSON[_0x29c09d(0x1f2)](fs['readFileSync'](_0x354a8a)['toString']());return this[_0x29c09d(0x1e7)][_0x4cc47f]=_0x137d0c,this[_0x29c09d(0x1e7)][_0x4cc47f][_0x29c09d(0x1bd)];}return this['tests'][_0x4cc47f]={'uuid':_0x40e26c[_0x29c09d(0x1e3)](uuidv4)},fs[_0x29c09d(0x1d3)](_0x354a8a,JSON['stringify'](this[_0x29c09d(0x1e7)][_0x4cc47f])),this['tests'][_0x4cc47f][_0x29c09d(0x1bd)];}static[a46_0x363574(0x1ed)](_0x128a5e){const _0x180fac=a46_0x363574,_0x1ad027=path['join'](this[_0x180fac(0x1e4)](),_0x128a5e+_0x180fac(0x1ac));if(_0x1ad027&&fs['existsSync'](_0x1ad027))return fs[_0x180fac(0x1e9)](_0x1ad027)[_0x180fac(0x1a5)]();}static[a46_0x363574(0x1e1)](_0x1c0df8,_0x54e56b){const _0x2bd456=a46_0x363574,_0xc84071=path['join'](this[_0x2bd456(0x1e4)](),_0x54e56b+_0x2bd456(0x1ac));fs[_0x2bd456(0x1d3)](_0xc84071,_0x1c0df8[_0x2bd456(0x1a5)]());}static[a46_0x363574(0x1b5)](){const _0x3b6047=a46_0x363574,_0x5e340a={};_0x5e340a[_0x3b6047(0x1e0)]=!![],_0x5e340a[_0x3b6047(0x1a3)]=!![],fs[_0x3b6047(0x1c6)](this[_0x3b6047(0x1e4)](),_0x5e340a);}static['getTestDetails'](_0x2a0867){const _0x4705b8=a46_0x363574;if(this[_0x4705b8(0x1e7)][_0x2a0867])return this[_0x4705b8(0x1e7)][_0x2a0867];const _0x3c6f93=this[_0x4705b8(0x1c3)](_0x2a0867);if(_0x3c6f93&&fs[_0x4705b8(0x1df)](_0x3c6f93)){const _0x104d76=JSON[_0x4705b8(0x1f2)](fs['readFileSync'](_0x3c6f93)[_0x4705b8(0x1a5)]());return this[_0x4705b8(0x1e7)][_0x2a0867]=_0x104d76,_0x104d76;}return{};}static[a46_0x363574(0x1b6)](_0x2e54f4,_0x5307ab){const _0xbc60ea=a46_0x363574,_0x221816=this['getFilePath'](_0x2e54f4);if(_0x221816&&fs[_0xbc60ea(0x1df)](_0x221816)){const _0x3af05f=JSON[_0xbc60ea(0x1f2)](fs[_0xbc60ea(0x1e9)](_0x221816)[_0xbc60ea(0x1a5)]()),_0xc4176b={..._0x3af05f,..._0x5307ab};this['tests'][_0x2e54f4]=_0xc4176b;}else this['tests'][_0x2e54f4]=_0x5307ab;fs['writeFileSync'](_0x221816,this[_0xbc60ea(0x1e7)][_0x2e54f4]);}static['addTraceFilePath'](_0x1d6194){const _0x415cb8=a46_0x363574,_0x3bddb9={};_0x3bddb9['rDFrX']=_0x415cb8(0x1b1);const _0x39f28e=_0x3bddb9;try{const _0x2cf3ec=process['pid'],_0x18809e=path['join'](TestDetails[_0x415cb8(0x1a4)](),_0x2cf3ec+_0x415cb8(0x1ef));let _0x168f5f=[];_0x18809e&&fs[_0x415cb8(0x1df)](_0x18809e)&&(_0x168f5f=JSON['parse'](fs[_0x415cb8(0x1e9)](_0x18809e)['toString']())),!_0x168f5f[_0x415cb8(0x1c0)](_0x2698d8=>_0x2698d8[_0x415cb8(0x1f4)]===_0x1d6194[_0x415cb8(0x1f4)])&&(_0x168f5f[_0x415cb8(0x1cf)](_0x1d6194),fs[_0x415cb8(0x1d3)](_0x18809e,JSON['stringify'](_0x168f5f)));}catch(_0x351395){logger[_0x415cb8(0x1d8)](_0x39f28e[_0x415cb8(0x1b9)],_0x351395);}}static[a46_0x363574(0x1c1)](){const _0x1735df=a46_0x363574,_0x176324={};_0x176324[_0x1735df(0x1b0)]=_0x1735df(0x1ef),_0x176324['fbcsO']=_0x1735df(0x1dc);const _0x13a725=_0x176324,_0x45c29c=[];try{const _0x384898=TestDetails['getTraceZipDir']();if(_0x384898&&!fs[_0x1735df(0x1df)](_0x384898))return _0x45c29c;const _0x417a89=fs['readdirSync'](_0x384898);_0x417a89['forEach'](_0x4466fb=>{const _0x278075=_0x1735df;if(_0x4466fb&&_0x4466fb['endsWith'](_0x13a725[_0x278075(0x1b0)])){const _0x589df7=JSON['parse'](fs['readFileSync'](path[_0x278075(0x1ae)](_0x384898,_0x4466fb))['toString']());_0x45c29c[_0x278075(0x1cf)](..._0x589df7);}});}catch(_0x2da2f7){logger[_0x1735df(0x1d8)](util[_0x1735df(0x1b2)](_0x13a725['fbcsO'],_0x2da2f7));}const _0x1aa2b4={};return _0x45c29c[_0x1735df(0x1a7)](_0x63fc86=>{const _0x1b48f6=_0x1735df;_0x1aa2b4[_0x63fc86[_0x1b48f6(0x1f4)]]=_0x63fc86;}),Object['values'](_0x1aa2b4);}static[a46_0x363574(0x1e5)](_0xd7847b,_0x2195e1){const _0x5de087=a46_0x363574,_0x5c4a44={};_0x5c4a44[_0x5de087(0x1ea)]='.browserstack',_0x5c4a44['ctfwl']=_0x5de087(0x1ec);const _0x284972=_0x5c4a44;try{const _0x3b41a2=path[_0x5de087(0x1ae)](helper['homedir'](),_0x284972[_0x5de087(0x1ea)]);if(!fs[_0x5de087(0x1df)](_0x3b41a2)){const _0x94758e={};_0x94758e[_0x5de087(0x1e0)]=!![],fs[_0x5de087(0x1ba)](_0x3b41a2,_0x94758e);}fs[_0x5de087(0x1a6)](path[_0x5de087(0x1ae)](_0x3b41a2,_0x5de087(0x1ce)+_0x2195e1+_0x5de087(0x1d5)),_0xd7847b+'\x0a',_0x284972[_0x5de087(0x1f8)]);}catch(_0x4e6438){console[_0x5de087(0x1d8)](_0x5de087(0x1f9)+_0x4e6438['message']);}}}function a46_0x1569(){const _0x2c297f=['Wvmqp','project','utf8','getAccessibilityPlatformValidation','BS_TESTOPS_BUILD_HASHED_ID','_traceZipPaths.json','105348iuuvmP','7032zgBGsY','parse','getStoreDirPath','filePath','__projectId','exports','XKzCc','ctfwl','Error\x20writing\x20trace\x20file:\x20','util','bsejI','77gPWkcQ','../../../helpers/helper','force','getTraceZipDir','toString','appendFileSync','forEach','3370bfbcuv','retry','getTestUUID','NmIuq','_platformDetails.json','../../../helpers/logger','join','testId','QHbHj','Error\x20handling\x20trace\x20file\x20paths:\x20','format','getStoreDirName','xLzdN','shutdown','setTestDetails','12303ZAXttJ','icXcb','rDFrX','mkdirSync','lhCFL','HZzvA','uuid','3RhjTwH','_test','some','getTraceFilePaths','HZWFF','getFilePath','24zlUvoQ','brEPY','rmSync','ugxut','980188kPDHhB','DPyZN','env','_projectId','hlDYT','ovYTe','trace_','push','ikVmY','783703VhyWBB','uAbZb','writeFileSync','3903486lCDYJa','.txt','1223545GfStzi','YMZXB','error','traceZipPaths','setup','JWfzf','Error\x20reading\x20trace\x20file\x20paths:\x20%s','.json','getProjectIdFromTestInfo','existsSync','recursive','setAccessibilityPlatformValidation','3047KITydN','Bfkva','getDirPath','appendToTracePaths','default','tests','MkCNK','readFileSync'];a46_0x1569=function(){return _0x2c297f;};return a46_0x1569();}module[a46_0x363574(0x1f6)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x1a4e3c=a47_0x29ba;(function(_0x4866c1,_0x51c91c){const _0x824874=a47_0x29ba,_0x44b401=_0x4866c1();while(!![]){try{const _0x3d20f2=parseInt(_0x824874(0x1a1))/0x1*(-parseInt(_0x824874(0x132))/0x2)+parseInt(_0x824874(0x1dd))/0x3+parseInt(_0x824874(0x12f))/0x4*(-parseInt(_0x824874(0x198))/0x5)+parseInt(_0x824874(0x1c4))/0x6*(parseInt(_0x824874(0x168))/0x7)+-parseInt(_0x824874(0x18c))/0x8+parseInt(_0x824874(0x1ae))/0x9*(parseInt(_0x824874(0x166))/0xa)+-parseInt(_0x824874(0x1c6))/0xb;if(_0x3d20f2===_0x51c91c)break;else _0x44b401['push'](_0x44b401['shift']());}catch(_0x89967){_0x44b401['push'](_0x44b401['shift']());}}}(a47_0x4de5,0x2eb59));const path=require(a47_0x1a4e3c(0x1cb)),url=require(a47_0x1a4e3c(0x1b9)),util=require(a47_0x1a4e3c(0x16d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x1a4e3c(0x175)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a47_0x1a4e3c(0x1ca)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x1a4e3c(0x18a)),logger=require(a47_0x1a4e3c(0x1c0))['winstonLogger'],scripts=require(a47_0x1a4e3c(0x15c)),{browserStackExecuteDriver}=require(a47_0x1a4e3c(0x186)),AccessibilityHelper=require(a47_0x1a4e3c(0x1de)),constants=require(a47_0x1a4e3c(0x15a)),BrowserstackCLI=require(a47_0x1a4e3c(0x1c8)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a47_0x1a4e3c(0x17a)),{performScanWithRetry}=require(a47_0x1a4e3c(0x137)),ClientTroubleShootingService=require(a47_0x1a4e3c(0x161)),getBrowserNameFromChannel=_0x373b89=>{const _0x276927=a47_0x1a4e3c,_0x5537b3={};_0x5537b3[_0x276927(0x162)]=_0x276927(0x1b7),_0x5537b3['izOrc']=_0x276927(0x14c),_0x5537b3['rADDM']=_0x276927(0x1cc),_0x5537b3[_0x276927(0x182)]=_0x276927(0x167);const _0x22fe4e=_0x5537b3;if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x162)]))return _0x22fe4e[_0x276927(0x162)];if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x18e)]))return _0x22fe4e[_0x276927(0x18e)];if(_0x373b89['includes'](_0x22fe4e[_0x276927(0x1c5)]))return _0x22fe4e['rADDM'];if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x182)]))return _0x22fe4e[_0x276927(0x182)];},getBrowserFromWSEndpoint=_0x5e34ff=>{const _0x573d82=a47_0x1a4e3c,_0xa93509={'QviRm':_0x573d82(0x1b7),'glBCJ':function(_0x2184ad,_0x698c96){return _0x2184ad(_0x698c96);}};try{const _0x3aa622=url['parse'](_0x5e34ff),_0x339ffb=new URLSearchParams(_0x3aa622[_0x573d82(0x16b)]),_0x576356=Object[_0x573d82(0x15d)](_0x339ffb[_0x573d82(0x19a)]()),_0x19c2d8=JSON[_0x573d82(0x131)](_0x576356[_0x573d82(0x1b5)]);if(_0x19c2d8&&(_0x19c2d8[_0x573d82(0x124)]||_0x19c2d8['browserName']))return _0x19c2d8[_0x573d82(0x124)]||_0x19c2d8[_0x573d82(0x196)];return _0xa93509[_0x573d82(0x174)];}catch(_0x4baeac){_0xa93509[_0x573d82(0x1bc)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x4baeac[_0x573d82(0x14e)]());}},getCloudProviderFromWsEndpoint=_0x3b0e44=>{const _0xa94ae3=a47_0x1a4e3c,_0x56e94a={};_0x56e94a['eqfiv']=_0xa94ae3(0x1bf),_0x56e94a['taohJ']=_0xa94ae3(0x127);const _0xd18205=_0x56e94a;if(_0x3b0e44['includes'](constants[_0xa94ae3(0x17d)])||_0x3b0e44[_0xa94ae3(0x19b)](constants[_0xa94ae3(0x1be)]))return _0xd18205[_0xa94ae3(0x1ce)];return _0xd18205[_0xa94ae3(0x151)];},a47_0x5c9e4c={};a47_0x5c9e4c['cloudProvider']=undefined,a47_0x5c9e4c['bsSessionId']=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x124)]=undefined,a47_0x5c9e4c['browser_version']=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x140)]=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x1d3)]=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x1da)]=undefined,a47_0x5c9e4c['capabilities']={};class PlaywrightSessionDetails{static [a47_0x1a4e3c(0x1d1)]=a47_0x5c9e4c;constructor(){const _0x353fdf=a47_0x1a4e3c,_0x339ed8={};_0x339ed8[_0x353fdf(0x123)]=_0x353fdf(0x1db);const _0x30922b=_0x339ed8;throw new Error(_0x30922b['kJIcC']);}static [a47_0x1a4e3c(0x1a9)]=null;static[a47_0x1a4e3c(0x155)](_0x52c251,_0x573a07,_0x5ca1f1=null){const _0x1386fa=a47_0x1a4e3c,_0x143136={'JQcsG':function(_0x1f8a2f,_0x4017f2){return _0x1f8a2f===_0x4017f2;},'cggQW':_0x1386fa(0x13e),'jhYhh':_0x1386fa(0x1a0),'WOBSs':_0x1386fa(0x1b8),'tsdhU':_0x1386fa(0x1b2),'YOBBc':function(_0x1348a5,_0x388653,_0x16db5c){return _0x1348a5(_0x388653,_0x16db5c);},'HorRh':_0x1386fa(0x1c2),'EPMwY':_0x1386fa(0x133),'pDHxI':_0x1386fa(0x153),'BInRt':_0x1386fa(0x12d),'UOoWA':'connectOptions','ZBPgE':function(_0x41749e,_0x33e5e2){return _0x41749e(_0x33e5e2);},'jzbgF':_0x1386fa(0x1bf),'uzpjl':_0x1386fa(0x165),'fXzkf':'automate','PTNln':function(_0x13d30d,_0x1dd709){return _0x13d30d(_0x1dd709);},'Gjlam':function(_0x3425a8,_0x2f6004){return _0x3425a8(_0x2f6004);},'eFAXD':function(_0x269375,_0x137bae){return _0x269375+_0x137bae;},'PgRAi':_0x1386fa(0x192),'edRDv':function(_0x80760){return _0x80760();},'QbDro':_0x1386fa(0x155)},_0x349b92=this;return _0x143136[_0x1386fa(0x17e)](o11yErrorHandler,async function _0xfd28cf(_0x28e90b,_0x1665c1,_0x1e483a=null){const _0x17b264=_0x1386fa;let _0x2ee88c=_0x28e90b[_0x17b264(0x135)],_0x20e7bb=null;_0x28e90b&&_0x143136[_0x17b264(0x1a4)](typeof _0x28e90b['version'],_0x143136['cggQW'])?_0x20e7bb=_0x28e90b[_0x17b264(0x1b6)]():logger[_0x17b264(0x16f)](_0x143136[_0x17b264(0x1a6)]);let _0x11ef5b=null;_0x28e90b&&_0x143136['JQcsG'](typeof _0x28e90b[_0x17b264(0x179)],_0x143136[_0x17b264(0x17c)])?_0x11ef5b=_0x28e90b['model']():logger[_0x17b264(0x16f)](_0x143136[_0x17b264(0x19d)]);let _0x30633e=null,_0x569c8b=null,_0x38644e=null,_0x345daf=_0x143136[_0x17b264(0x1cf)];if(_0x28e90b[_0x17b264(0x17b)][_0x17b264(0x164)]()||global[_0x17b264(0x156)]){let _0x100e68=null;_0x143136[_0x17b264(0x17e)](nestedKeyValue,_0x28e90b,[_0x143136[_0x17b264(0x143)],_0x143136['EPMwY']])?_0x100e68=_0x28e90b[_0x17b264(0x1c2)][_0x17b264(0x133)]:_0x100e68=_0x143136[_0x17b264(0x17e)](nestedKeyValue,_0x1665c1,[_0x143136[_0x17b264(0x1b3)],_0x143136['BInRt'],_0x143136[_0x17b264(0x1d5)]]);const _0x30a3e9=_0x1e483a||_0x100e68&&_0x100e68[_0x17b264(0x141)];_0x30a3e9&&(_0x345daf=_0x143136[_0x17b264(0x145)](getCloudProviderFromWsEndpoint,_0x30a3e9),_0x143136[_0x17b264(0x1a4)](_0x345daf,_0x143136['jzbgF'])&&(_0x38644e=constants['ATS_WSS_URL_REGEX']['test'](_0x30a3e9)?_0x143136[_0x17b264(0x172)]:_0x143136[_0x17b264(0x180)],_0x2ee88c=_0x143136['PTNln'](getBrowserFromWSEndpoint,_0x30a3e9)||_0x2ee88c,_0x30633e=_0x349b92[_0x17b264(0x1d1)][_0x17b264(0x140)],_0x569c8b=_0x349b92[_0x17b264(0x1d1)]['platform_version']));}else{_0x1665c1&&_0x1665c1['project'][_0x17b264(0x12d)]['channel']?_0x2ee88c=_0x143136['Gjlam'](getBrowserNameFromChannel,_0x1665c1['project'][_0x17b264(0x12d)]['channel']):_0x2ee88c=_0x143136['eFAXD'](_0x143136['PgRAi'],_0x2ee88c[_0x17b264(0x125)]());const _0x415ba1=await _0x143136[_0x17b264(0x139)](getPlatformDetails);_0x30633e=_0x415ba1['platformName'],_0x569c8b=_0x415ba1[_0x17b264(0x1ab)];}const _0x1c7e90={};_0x1c7e90[_0x17b264(0x124)]=_0x2ee88c,_0x1c7e90[_0x17b264(0x171)]=_0x20e7bb,_0x1c7e90[_0x17b264(0x1d6)]={},_0x1c7e90[_0x17b264(0x140)]=_0x30633e,_0x1c7e90[_0x17b264(0x1d3)]=_0x569c8b,_0x1c7e90[_0x17b264(0x1da)]=_0x38644e;const _0x4bb48f=_0x1c7e90;_0x11ef5b&&(_0x4bb48f[_0x17b264(0x1d6)]['deviceModel']=_0x11ef5b);const _0x247422={};_0x247422[_0x17b264(0x193)]=_0x345daf,_0x349b92[_0x17b264(0x1d1)]=Object[_0x17b264(0x14a)]({},_0x349b92[_0x17b264(0x1d1)],_0x247422,_0x4bb48f);},_0x143136[_0x1386fa(0x160)])(_0x52c251,_0x573a07,_0x5ca1f1);}static[a47_0x1a4e3c(0x185)](){const _0x4e0ca5=a47_0x1a4e3c;this[_0x4e0ca5(0x12b)](),this['patchCRConnection']();}static['patchConnection'](){const _0x1648e1=a47_0x1a4e3c,_0xc56ec9={'ISOkr':function(_0x12126e,_0x11d2a5,_0x20cd44){return _0x12126e(_0x11d2a5,_0x20cd44);},'RroTO':_0x1648e1(0x1bd),'cJwSq':_0x1648e1(0x134),'fbPYy':_0x1648e1(0x154),'zLvbD':'__workerDetails','xzVfA':'pwPage','MHirs':function(_0x351ca6,_0x5c7853){return _0x351ca6===_0x5c7853;},'byYJn':_0x1648e1(0x1b4),'VYbhr':function(_0x11187c,_0x13d69a,_0x5b583c,_0x3e4a37){return _0x11187c(_0x13d69a,_0x5b583c,_0x3e4a37);},'uHpTX':function(_0x502c0f,_0x5cc1a9){return _0x502c0f||_0x5cc1a9;},'FETmr':function(_0x2f824f,_0x414b25){return _0x2f824f(_0x414b25);},'QPvxF':function(_0xfb3090,_0x1c718b){return _0xfb3090(_0x1c718b);},'iZytt':_0x1648e1(0x1bb),'lTtnw':_0x1648e1(0x159),'Vtdro':_0x1648e1(0x15e),'NWOsH':_0x1648e1(0x199),'dPBml':function(_0x4134f9,_0x3efd05){return _0x4134f9!=_0x3efd05;},'piSFj':function(_0xe2e5a){return _0xe2e5a();},'zquGB':'sendMessageToServer','tiorn':function(_0x58a01d,_0x2e28e0){return _0x58a01d(_0x2e28e0);},'VLxEP':_0x1648e1(0x178)},_0x5633c5=this;if(!this['Connection'])try{const _0x27e341=path[_0x1648e1(0x181)](_0xc56ec9[_0x1648e1(0x152)],_0xc56ec9[_0x1648e1(0x163)],_0xc56ec9[_0x1648e1(0x122)]),_0x5786b3=_0xc56ec9[_0x1648e1(0x1c3)](importFileFromPWCore,_0x27e341);!_0x5786b3?_0xc56ec9[_0x1648e1(0x1c3)](debug,_0xc56ec9[_0x1648e1(0x1dc)]):this[_0x1648e1(0x1a5)]=_0x5786b3[_0x1648e1(0x1a5)];}catch(_0x29801b){_0xc56ec9[_0x1648e1(0x14b)](debug,_0x1648e1(0x1b1)+_0x29801b[_0x1648e1(0x14e)]());}const _0x2a1e0f=this['Connection'];try{if(_0xc56ec9[_0x1648e1(0x1a3)](_0x2a1e0f,null)){const _0x2ef6a2=_0x2a1e0f[_0x1648e1(0x170)][_0x1648e1(0x178)],_0x31a443=_0x2a1e0f['prototype'][_0x1648e1(0x1a7)];_0xc56ec9[_0x1648e1(0x1d7)](isAccessibilityAutomationSession)&&Object[_0x1648e1(0x126)](_0x2a1e0f['prototype'],_0xc56ec9[_0x1648e1(0x157)],{'get':function(){const _0x27fe99=_0x1648e1,_0x3a9249={'pWMBo':function(_0x474306,_0x31ae30,_0x57a60b){const _0x3e8b33=a47_0x29ba;return _0xc56ec9[_0x3e8b33(0x16a)](_0x474306,_0x31ae30,_0x57a60b);},'QZPJo':_0xc56ec9[_0x27fe99(0x1b0)],'AgsAh':_0xc56ec9['cJwSq'],'Yuwkj':_0xc56ec9[_0x27fe99(0x184)],'QzEDS':function(_0x16ad2d,_0x318246,_0x5c2bd2){const _0xf186db=_0x27fe99;return _0xc56ec9[_0xf186db(0x16a)](_0x16ad2d,_0x318246,_0x5c2bd2);},'fonem':_0xc56ec9['zLvbD'],'pMUBm':_0xc56ec9['xzVfA'],'OzRNx':function(_0xe4e850,_0x4f4b69,_0x57a08f){const _0x40d876=_0x27fe99;return _0xc56ec9[_0x40d876(0x16a)](_0xe4e850,_0x4f4b69,_0x57a08f);},'BkNcU':function(_0x55401e,_0x220922){const _0x13a405=_0x27fe99;return _0xc56ec9[_0x13a405(0x146)](_0x55401e,_0x220922);},'uLDOe':_0xc56ec9['byYJn'],'AelIR':function(_0x214f20,_0x146c49,_0xd278c7,_0x3a1e40){const _0x25b7dd=_0x27fe99;return _0xc56ec9[_0x25b7dd(0x128)](_0x214f20,_0x146c49,_0xd278c7,_0x3a1e40);}};return async function(){const _0x8d21dd=_0x27fe99;try{if(!global[_0x8d21dd(0x173)]&&global[_0x8d21dd(0x156)]&&_0x3a9249[_0x8d21dd(0x1c1)](nestedKeyValue,global[_0x8d21dd(0x149)],[_0x3a9249[_0x8d21dd(0x1ad)],_0x3a9249[_0x8d21dd(0x1c7)],_0x3a9249['Yuwkj']])&&_0x3a9249[_0x8d21dd(0x195)](shouldScanTestForAccessibility,global['__workerDetails'][_0x8d21dd(0x1bd)][_0x8d21dd(0x134)]['titlePath'],!![])&&scripts[_0x8d21dd(0x177)](arguments[0x1])){logger[_0x8d21dd(0x16f)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x8d21dd(0x173)]=!![];const _0x271bef=_0x3a9249[_0x8d21dd(0x1c1)](nestedKeyValue,global,[_0x3a9249[_0x8d21dd(0x1e0)],_0x3a9249[_0x8d21dd(0x144)]]);_0x271bef&&logger[_0x8d21dd(0x158)](_0x8d21dd(0x1ac)+util[_0x8d21dd(0x14d)](await _0x3a9249[_0x8d21dd(0x1df)](performScanWithRetry,_0x271bef,arguments[0x1]))),_0x3a9249['BkNcU'](arguments[0x0][_0x8d21dd(0x138)],_0x3a9249[_0x8d21dd(0x18f)])&&global[_0x8d21dd(0x194)]&&logger[_0x8d21dd(0x158)](_0x8d21dd(0x1aa)+util[_0x8d21dd(0x14d)](await _0x3a9249['AelIR'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x8d21dd(0x15b)])));}}catch(_0x3f7bd4){logger['debug'](_0x8d21dd(0x187)+util['format'](_0x3f7bd4));}return global[_0x8d21dd(0x173)]=![],_0x31a443[_0x8d21dd(0x1a8)](this,arguments);};}}),!_0xc56ec9[_0x1648e1(0x130)](isFalse,process[_0x1648e1(0x142)][_0x1648e1(0x19f)])&&Object[_0x1648e1(0x126)](_0x2a1e0f[_0x1648e1(0x170)],_0xc56ec9[_0x1648e1(0x191)],{'get':function(){return async function _0x38f526(_0x1d295a){const _0x31df0b=a47_0x29ba;if(BrowserstackCLI[_0x31df0b(0x176)]()[_0x31df0b(0x1d0)]()){const _0x5da7a9={};_0x5da7a9[_0x31df0b(0x13c)]=_0x1d295a,await BrowserstackCLI[_0x31df0b(0x176)]()[_0x31df0b(0x19c)]()[_0x31df0b(0x189)](AutomationFrameworkState[_0x31df0b(0x13d)],HookState[_0x31df0b(0x1cd)],_0x5da7a9);}else{const _0x235d0f=_0x1d295a&&_0x1d295a[_0x31df0b(0x1d4)]&&_0x1d295a[_0x31df0b(0x1d4)][_0x31df0b(0x190)];if(_0x235d0f){const _0x1326b6=_0x235d0f[_0x31df0b(0x12e)],_0x52e0fd=_0x235d0f[_0x31df0b(0x16c)];_0xc56ec9['uHpTX'](!_0x1326b6,!_0x52e0fd)&&await ClientTroubleShootingService[_0x31df0b(0x188)](),_0x52e0fd&&(_0xc56ec9['FETmr'](debug,_0x31df0b(0x1d2)+_0x52e0fd['toString']()),_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x140)]=_0x52e0fd['platformName'],_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x1d3)]=_0x52e0fd[_0x31df0b(0x1ab)]),_0x1326b6&&(_0xc56ec9[_0x31df0b(0x1c3)](debug,_0x31df0b(0x147)+_0x1326b6),_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x129)]=_0x1326b6);}}return _0x2ef6a2['apply'](this,arguments);};}});}}catch(_0x2feab9){_0xc56ec9[_0x1648e1(0x14b)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x2feab9),_0x5633c5[_0x1648e1(0x1a9)]=_0x2feab9[_0x1648e1(0x14e)]();}}static[a47_0x1a4e3c(0x1ba)](){const _0x465edc=a47_0x1a4e3c,_0x53ff21={'qohhT':function(_0x10aa74,_0x378ec5){return _0x10aa74(_0x378ec5);},'NwgBI':function(_0x271f71){return _0x271f71();},'JRevT':_0x465edc(0x1bb),'wrOJM':'server','YzIzo':_0x465edc(0x19e),'tubem':'crConnection.js','xqQWs':function(_0x433095,_0x2499e5){return _0x433095(_0x2499e5);},'JVdYO':_0x465edc(0x1d8),'LelVx':function(_0x53592a,_0x1ccca8){return _0x53592a(_0x1ccca8);},'YOovW':_0x465edc(0x12a),'VhKmR':function(_0x10e972,_0x123017){return _0x10e972!=_0x123017;},'JRdYj':'_onMessage'},_0x509789=this;if(_0x53ff21[_0x465edc(0x136)](isAccessibilityAutomationSession)){let _0x619d15=null;try{const _0x1f12c3=path['join'](_0x53ff21[_0x465edc(0x15f)],_0x53ff21[_0x465edc(0x150)],_0x53ff21[_0x465edc(0x1c9)],_0x53ff21[_0x465edc(0x12c)]),_0x379b0c=_0x53ff21['qohhT'](importFileFromPWCore,_0x1f12c3);!_0x379b0c?_0x53ff21[_0x465edc(0x13a)](debug,_0x53ff21[_0x465edc(0x13b)]):_0x619d15=_0x379b0c[_0x465edc(0x16e)];}catch(_0x52d54e){_0x53ff21[_0x465edc(0x1af)](debug,_0x53ff21['YOovW']);}try{if(_0x53ff21[_0x465edc(0x169)](_0x619d15,null)){const _0x2e7cf0=_0x619d15[_0x465edc(0x170)][_0x465edc(0x1a2)];Object[_0x465edc(0x126)](_0x619d15['prototype'],_0x53ff21['JRdYj'],{'get':function(){return async function _0x2a00b4(_0x6dc1de){const _0x275f7=a47_0x29ba;try{if(BrowserstackCLI['getInstance']()[_0x275f7(0x1d0)]()){const _0x406807={};_0x406807[_0x275f7(0x13c)]=_0x6dc1de,await BrowserstackCLI[_0x275f7(0x176)]()[_0x275f7(0x19c)]()[_0x275f7(0x189)](AutomationFrameworkState[_0x275f7(0x13d)],HookState[_0x275f7(0x1cd)],_0x406807),delete _0x6dc1de[_0x275f7(0x14f)];}else{const _0x64ff53=_0x6dc1de[_0x275f7(0x14f)];if(_0x64ff53){delete _0x6dc1de[_0x275f7(0x14f)];const _0x340d93=_0x64ff53[_0x275f7(0x12e)],_0x50eac4=_0x64ff53[_0x275f7(0x16c)];_0x50eac4&&(_0x53ff21[_0x275f7(0x18d)](debug,_0x275f7(0x197)+_0x50eac4['toString']()),_0x509789[_0x275f7(0x1d1)]['platform']=_0x50eac4[_0x275f7(0x18b)],_0x509789['currentSessionDetails'][_0x275f7(0x1d3)]=_0x50eac4['platformVersion']),_0x340d93&&(_0x53ff21['qohhT'](debug,_0x275f7(0x183)+_0x340d93),_0x509789['currentSessionDetails'][_0x275f7(0x129)]=_0x340d93);}}}catch(_0x2d7cea){_0x53ff21[_0x275f7(0x18d)](debug,_0x275f7(0x148)+_0x2d7cea['toString']());}return _0x2e7cf0[_0x275f7(0x1a8)](this,arguments);};}});}}catch(_0x89a8fd){_0x53ff21[_0x465edc(0x1af)](debug,_0x465edc(0x1d9)+_0x89a8fd),_0x509789[_0x465edc(0x1a9)]=_0x89a8fd[_0x465edc(0x14e)]();}}}static[a47_0x1a4e3c(0x17f)](){const _0x2d3bf4=a47_0x1a4e3c;return this[_0x2d3bf4(0x1d1)];}}function a47_0x29ba(_0x88b1ad,_0x5d5ac5){const _0x4de597=a47_0x4de5();return a47_0x29ba=function(_0x29ba1e,_0xb8ee9c){_0x29ba1e=_0x29ba1e-0x122;let _0x5dffe5=_0x4de597[_0x29ba1e];return _0x5dffe5;},a47_0x29ba(_0x88b1ad,_0x5d5ac5);}function a47_0x4de5(){const _0x12ae66=['chromium','BROWSERSTACK_TEST_OBSERVABILITY','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','2ymMoYY','_onMessage','dPBml','JQcsG','Connection','jhYhh','sendMessageToServer','apply','sessionError','Driver\x20Scan\x20result=','platformVersion','Page\x20Scan\x20result=','QZPJo','54hmrdCp','LelVx','RroTO','Error\x20in\x20importing\x20connection\x20','local_grid','pDHxI','Page','caps','version','chrome','Device\x20Model\x20is\x20not\x20available','url','patchCRConnection','lib','glBCJ','currentTest','BSTACK_ATS_URL','browserstack','../../helpers/logger','pWMBo','_browserType','QPvxF','1992282GGzJIx','rADDM','295207HmdQgx','AgsAh','../v2/browserstackCLI','YzIzo','../../helpers/test-observability/utils','path','firefox','POST','eqfiv','tsdhU','isRunning','currentSessionDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','platform_version','params','UOoWA','capabilities','piSFj','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','product','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','NWOsH','636954EhMjVW','./accessibility-helper','OzRNx','fonem','Vtdro','kJIcC','browser','toLowerCase','defineProperty','unknown_grid','VYbhr','bsSessionId','Error\x20in\x20importing\x20crConnection','patchConnection','tubem','use','sessionId','4xPXzEb','tiorn','parse','334114wSGJtD','_defaultConnectOptions','testInfo','_name','NwgBI','../../helpers/accessibility-automation/accessibilityRetryHelper.js','_type','edRDv','xqQWs','JVdYO','message','PLAYWRIGHT_DISPATCH','function','exports','platform','wsEndpoint','env','HorRh','pMUBm','ZBPgE','MHirs','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20finding\x20platform\x20details\x20','__workerDetails','assign','FETmr','edge','format','toString','bStackParams','wrOJM','taohJ','iZytt','project','titlePath','setupBrowserDetails','accessibilityPlatform','zquGB','info','client','../utils/constants','performScan','../../helpers/accessibility-automation/scripts','fromEntries','connection.js','JRevT','QbDro','../utils/clientTroubleshootingService.js','ABlWU','lTtnw','isRemote','turboscale','262070lujbrS','safari','7AGfmEp','VhKmR','ISOkr','query','platformDetails','util','CRConnection','debug','prototype','browser_version','uzpjl','bstackPerformA11yScan','QviRm','../../helpers/helper','getInstance','shouldWrapCommand','dispatch','model','../v2/state/hookState.js','_connection','cggQW','BSTACK_URL','YOBBc','getDetails','fXzkf','join','kfDKZ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','fbPYy','patch','../../bin/playwright/accessibility-helper','Failed\x20to\x20perform\x20scan\x20','reportSessionLinkingIssue','trackEvent','../../helpers/accessibility-automation/helper','platformName','1186688KLLMkT','qohhT','izOrc','uLDOe','bsParams','VLxEP','playwright-','cloudProvider','__driver','QzEDS','browserName','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','4995OyYIbD','Not\x20able\x20to\x20import\x20Connection','entries','includes','getAutomationFramework','WOBSs'];a47_0x4de5=function(){return _0x12ae66;};return a47_0x4de5();}module[a47_0x1a4e3c(0x13f)]=PlaywrightSessionDetails;
|
|
1
|
+
function a47_0x13ba(){const _0xc5c086=['_browserType','platform_version','__workerDetails','channel','Not\x20able\x20to\x20import\x20Connection','HSAMy','lib','format','winstonLogger','accessibilityPlatform','bsSessionId','391600kMYpaQ','QbHyn','playwright-','params','use','5phfAPo','EWBjG','Performing\x20scan\x20for\x20','automate','CFFTX','currentTest','project','sendMessageToServer','3984hOGQBQ','ZNqXA','tqVvO','MddPX','platformDetails','connection.js','4gooxRb','OWIWN','product','CRConnection','deviceModel','kRWUg','1412160IZdzaz','xwavd','chrome','getInstance','crConnection.js','fqNii','NnozZ','sMtNV','version','nsHVe','defineProperty','RxCgl','assign','IhZQt','dispatch','ATS_WSS_URL_REGEX','server','wsEndpoint','../utils/clientTroubleshootingService.js','_type','../../helpers/logger','toString','JVTpV','rteyd','NxziN','parse','Error\x20in\x20importing\x20connection\x20','POST','shouldWrapCommand','caps','bstackPerformA11yScan','LJndU','turboscale','gYlQS','test','env','getAutomationFramework','dCJrk','titlePath','sCuIC','platformVersion','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Page\x20Scan\x20result=','path','_onMessage','sessionId','xuAar','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../v2/browserstackCLI','ikLey','__driver','DemGE','fromEntries','30SZvqLZ','sJpdw','UpOvt','debug','JvUKc','../../helpers/test-observability/error-handler','../../helpers/test-observability/utils','mjFxv','ixnEI','_defaultConnectOptions','BSoLV','patch','trackEvent','3036930INAnzk','qARsQ','hJuON','JbdzW','iFYtv','BROWSERSTACK_TEST_OBSERVABILITY','isRunning','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','unknown_grid','currentSessionDetails','BSTACK_ATS_URL','platform','PLAYWRIGHT_DISPATCH','browser_version','byGZf','apply','4306496vtSVSQ','3731AQFcVO','HaMCF','query','xkUhy','platformName','Setting\x20session\x20id\x20received\x20from\x20BS\x20','patchConnection','testInfo','bsParams','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','setupBrowserDetails','includes','1088989LLuAjf','url','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','prototype','yTZGb','chromium','hIhGy','cloudProvider','MuSya','toLowerCase','edge','join','capabilities','model','fMScK','local_grid','KsNcs','pwPage','../../helpers/accessibility-automation/scripts','browserName','_name','7780086CDWpqf','getDetails','browser','../v2/state/automationFrameworkState.js','igefV','util','safari','WadBl','client','./accessibility-helper','info','bStackParams','sessionError','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ndiuD','connectOptions','../utils/constants','_connection','browserstack','patchCRConnection','Connection','../../bin/playwright/accessibility-helper'];a47_0x13ba=function(){return _0xc5c086;};return a47_0x13ba();}const a47_0x29eaa4=a47_0x4a6c;(function(_0x424ce6,_0x40caf4){const _0x56ef3d=a47_0x4a6c,_0x4c4721=_0x424ce6();while(!![]){try{const _0x746cf9=-parseInt(_0x56ef3d(0x1ba))/0x1+parseInt(_0x56ef3d(0x1cd))/0x2*(parseInt(_0x56ef3d(0x1d3))/0x3)+parseInt(_0x56ef3d(0x225))/0x4+parseInt(_0x56ef3d(0x1bf))/0x5*(parseInt(_0x56ef3d(0x215))/0x6)+-parseInt(_0x56ef3d(0x226))/0x7*(parseInt(_0x56ef3d(0x1c7))/0x8)+-parseInt(_0x56ef3d(0x199))/0x9+-parseInt(_0x56ef3d(0x208))/0xa*(parseInt(_0x56ef3d(0x232))/0xb);if(_0x746cf9===_0x40caf4)break;else _0x4c4721['push'](_0x4c4721['shift']());}catch(_0xf0e850){_0x4c4721['push'](_0x4c4721['shift']());}}}(a47_0x13ba,0xac4c6));const path=require(a47_0x29eaa4(0x1fe)),url=require(a47_0x29eaa4(0x233)),util=require(a47_0x29eaa4(0x19e)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a47_0x29eaa4(0x20d)),{debug,getPlatformDetails}=require(a47_0x29eaa4(0x20e)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a47_0x29eaa4(0x1e7))[a47_0x29eaa4(0x1b7)],scripts=require(a47_0x29eaa4(0x196)),{browserStackExecuteDriver}=require(a47_0x29eaa4(0x1ae)),AccessibilityHelper=require(a47_0x29eaa4(0x1a2)),constants=require(a47_0x29eaa4(0x1a9)),BrowserstackCLI=require(a47_0x29eaa4(0x203)),AutomationFrameworkState=require(a47_0x29eaa4(0x19c)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x29eaa4(0x1e5)),getBrowserNameFromChannel=_0x25d19b=>{const _0x3c59c2=a47_0x29eaa4,_0x47dbc6={};_0x47dbc6[_0x3c59c2(0x1d4)]=_0x3c59c2(0x1d5),_0x47dbc6[_0x3c59c2(0x1bb)]=_0x3c59c2(0x18e),_0x47dbc6[_0x3c59c2(0x1d8)]='firefox',_0x47dbc6[_0x3c59c2(0x1d2)]=_0x3c59c2(0x19f);const _0x3cf8e8=_0x47dbc6;if(_0x25d19b['includes'](_0x3cf8e8[_0x3c59c2(0x1d4)]))return _0x3cf8e8['xwavd'];if(_0x25d19b[_0x3c59c2(0x231)](_0x3cf8e8[_0x3c59c2(0x1bb)]))return _0x3cf8e8[_0x3c59c2(0x1bb)];if(_0x25d19b[_0x3c59c2(0x231)](_0x3cf8e8[_0x3c59c2(0x1d8)]))return _0x3cf8e8[_0x3c59c2(0x1d8)];if(_0x25d19b[_0x3c59c2(0x231)](_0x3cf8e8['kRWUg']))return _0x3cf8e8['kRWUg'];},getBrowserFromWSEndpoint=_0x35f77a=>{const _0x82bf92=a47_0x29eaa4,_0x3a9b16={'EWBjG':_0x82bf92(0x1d5),'fMScK':function(_0x6e2409,_0x1f34d7){return _0x6e2409(_0x1f34d7);}};try{const _0x34e88d=url[_0x82bf92(0x1ec)](_0x35f77a),_0x3d9736=new URLSearchParams(_0x34e88d[_0x82bf92(0x228)]),_0x50317f=Object[_0x82bf92(0x207)](_0x3d9736['entries']()),_0x222786=JSON[_0x82bf92(0x1ec)](_0x50317f[_0x82bf92(0x1f0)]);if(_0x222786&&(_0x222786['browser']||_0x222786[_0x82bf92(0x197)]))return _0x222786[_0x82bf92(0x19b)]||_0x222786['browserName'];return _0x3a9b16[_0x82bf92(0x1c0)];}catch(_0x30101d){_0x3a9b16[_0x82bf92(0x192)](debug,_0x82bf92(0x1fc)+_0x30101d[_0x82bf92(0x1e8)]());}},getCloudProviderFromWsEndpoint=_0x1c6474=>{const _0x2c3e9d=a47_0x29eaa4,_0x257d82={};_0x257d82[_0x2c3e9d(0x217)]=_0x2c3e9d(0x1ab),_0x257d82[_0x2c3e9d(0x204)]=_0x2c3e9d(0x21d);const _0x155f87=_0x257d82;if(_0x1c6474[_0x2c3e9d(0x231)](constants['BSTACK_URL'])||_0x1c6474['includes'](constants[_0x2c3e9d(0x21f)]))return _0x155f87[_0x2c3e9d(0x217)];return _0x155f87['ikLey'];},a47_0x51a71e={};function a47_0x4a6c(_0x239dab,_0x5c5f05){const _0x13bab9=a47_0x13ba();return a47_0x4a6c=function(_0x4a6c73,_0x4eb493){_0x4a6c73=_0x4a6c73-0x18c;let _0x4461e9=_0x13bab9[_0x4a6c73];return _0x4461e9;},a47_0x4a6c(_0x239dab,_0x5c5f05);}a47_0x51a71e['cloudProvider']=undefined,a47_0x51a71e[a47_0x29eaa4(0x1b9)]=undefined,a47_0x51a71e[a47_0x29eaa4(0x19b)]=undefined,a47_0x51a71e['browser_version']=undefined,a47_0x51a71e[a47_0x29eaa4(0x220)]=undefined,a47_0x51a71e['platform_version']=undefined,a47_0x51a71e[a47_0x29eaa4(0x1cf)]=undefined,a47_0x51a71e[a47_0x29eaa4(0x190)]={};class PlaywrightSessionDetails{static [a47_0x29eaa4(0x21e)]=a47_0x51a71e;constructor(){const _0x4ce4a0=a47_0x29eaa4,_0x36ecb0={};_0x36ecb0['wfFac']=_0x4ce4a0(0x234);const _0x15805b=_0x36ecb0;throw new Error(_0x15805b['wfFac']);}static [a47_0x29eaa4(0x1a5)]=null;static[a47_0x29eaa4(0x230)](_0x54fd00,_0x128164,_0x49b54d=null){const _0x339a24=a47_0x29eaa4,_0x4354b3={'JbdzW':function(_0x5ade63,_0x4db38d){return _0x5ade63===_0x4db38d;},'HaMCF':'function','byGZf':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','IkVcA':'Device\x20Model\x20is\x20not\x20available','NnozZ':_0x339a24(0x193),'JVTpV':function(_0x26ee51,_0x18b2f5,_0x1d334f){return _0x26ee51(_0x18b2f5,_0x1d334f);},'LshZc':_0x339a24(0x1af),'IhZQt':_0x339a24(0x211),'WadBl':'project','GaAto':'use','qARsQ':_0x339a24(0x1a8),'xkUhy':function(_0x3e5028,_0xbdfced){return _0x3e5028(_0xbdfced);},'rteyd':function(_0x5b0a1,_0x331f9c){return _0x5b0a1===_0x331f9c;},'QjfgF':_0x339a24(0x1ab),'JScCh':_0x339a24(0x1f3),'mhARU':_0x339a24(0x1c2),'CmHqO':function(_0x3b279c,_0x17bc5f){return _0x3b279c+_0x17bc5f;},'TuFNb':_0x339a24(0x1bc),'FQPKT':function(_0x1d79fc){return _0x1d79fc();},'NxziN':'setupBrowserDetails'},_0x40d0ab=this;return _0x4354b3[_0x339a24(0x1e9)](o11yErrorHandler,async function _0x1978bc(_0x336cfb,_0x86e3e2,_0x41b8b7=null){const _0x37eb2b=_0x339a24;let _0x42923c=_0x336cfb[_0x37eb2b(0x198)],_0x4efea8=null;_0x336cfb&&_0x4354b3[_0x37eb2b(0x218)](typeof _0x336cfb[_0x37eb2b(0x1db)],_0x4354b3[_0x37eb2b(0x227)])?_0x4efea8=_0x336cfb[_0x37eb2b(0x1db)]():logger['debug'](_0x4354b3[_0x37eb2b(0x223)]);let _0x110390=null;_0x336cfb&&_0x4354b3[_0x37eb2b(0x218)](typeof _0x336cfb[_0x37eb2b(0x191)],_0x4354b3['HaMCF'])?_0x110390=_0x336cfb[_0x37eb2b(0x191)]():logger[_0x37eb2b(0x20b)](_0x4354b3['IkVcA']);let _0x51babf=null,_0x3260d0=null,_0x3d9981=null,_0x265403=_0x4354b3[_0x37eb2b(0x1d9)];if(_0x336cfb[_0x37eb2b(0x1aa)]['isRemote']()||global[_0x37eb2b(0x1b8)]){let _0x42c6a1=null;_0x4354b3[_0x37eb2b(0x1e9)](nestedKeyValue,_0x336cfb,[_0x4354b3['LshZc'],_0x4354b3[_0x37eb2b(0x1e0)]])?_0x42c6a1=_0x336cfb[_0x37eb2b(0x1af)][_0x37eb2b(0x211)]:_0x42c6a1=_0x4354b3[_0x37eb2b(0x1e9)](nestedKeyValue,_0x86e3e2,[_0x4354b3[_0x37eb2b(0x1a0)],_0x4354b3['GaAto'],_0x4354b3[_0x37eb2b(0x216)]]);const _0x3c7f28=_0x41b8b7||_0x42c6a1&&_0x42c6a1[_0x37eb2b(0x1e4)];_0x3c7f28&&(_0x265403=_0x4354b3[_0x37eb2b(0x229)](getCloudProviderFromWsEndpoint,_0x3c7f28),_0x4354b3[_0x37eb2b(0x1ea)](_0x265403,_0x4354b3['QjfgF'])&&(_0x3d9981=constants[_0x37eb2b(0x1e2)][_0x37eb2b(0x1f5)](_0x3c7f28)?_0x4354b3['JScCh']:_0x4354b3['mhARU'],_0x42923c=_0x4354b3[_0x37eb2b(0x229)](getBrowserFromWSEndpoint,_0x3c7f28)||_0x42923c,_0x51babf=_0x40d0ab[_0x37eb2b(0x21e)][_0x37eb2b(0x220)],_0x3260d0=_0x40d0ab[_0x37eb2b(0x21e)]['platform_version']));}else{_0x86e3e2&&_0x86e3e2[_0x37eb2b(0x1c5)][_0x37eb2b(0x1be)]['channel']?_0x42923c=_0x4354b3[_0x37eb2b(0x229)](getBrowserNameFromChannel,_0x86e3e2[_0x37eb2b(0x1c5)]['use'][_0x37eb2b(0x1b2)]):_0x42923c=_0x4354b3['CmHqO'](_0x4354b3['TuFNb'],_0x42923c[_0x37eb2b(0x18d)]());const _0x4eda48=await _0x4354b3['FQPKT'](getPlatformDetails);_0x51babf=_0x4eda48[_0x37eb2b(0x22a)],_0x3260d0=_0x4eda48['platformVersion'];}const _0x243d9c={};_0x243d9c['browser']=_0x42923c,_0x243d9c[_0x37eb2b(0x222)]=_0x4efea8,_0x243d9c['capabilities']={},_0x243d9c[_0x37eb2b(0x220)]=_0x51babf,_0x243d9c['platform_version']=_0x3260d0,_0x243d9c['product']=_0x3d9981;const _0x2b8ff4=_0x243d9c;_0x110390&&(_0x2b8ff4[_0x37eb2b(0x190)][_0x37eb2b(0x1d1)]=_0x110390);const _0x28b768={};_0x28b768[_0x37eb2b(0x239)]=_0x265403,_0x40d0ab[_0x37eb2b(0x21e)]=Object[_0x37eb2b(0x1df)]({},_0x40d0ab[_0x37eb2b(0x21e)],_0x28b768,_0x2b8ff4);},_0x4354b3[_0x339a24(0x1eb)])(_0x54fd00,_0x128164,_0x49b54d);}static[a47_0x29eaa4(0x213)](){const _0x4f0431=a47_0x29eaa4;this[_0x4f0431(0x22c)](),this['patchCRConnection']();}static[a47_0x29eaa4(0x22c)](){const _0x2e2615=a47_0x29eaa4,_0x24e927={'qKVtc':function(_0x390516,_0x3b30d5,_0x478cf7){return _0x390516(_0x3b30d5,_0x478cf7);},'xuAar':_0x2e2615(0x1c4),'xGmEB':_0x2e2615(0x22d),'JPWuC':_0x2e2615(0x1f9),'gYlQS':function(_0x4b84d0,_0x520f51,_0xdd6373){return _0x4b84d0(_0x520f51,_0xdd6373);},'ZRmVe':function(_0x10f4aa,_0x23aa99,_0xc9d4a9){return _0x10f4aa(_0x23aa99,_0xc9d4a9);},'iFYtv':'__workerDetails','BSoLV':_0x2e2615(0x195),'DemGE':function(_0x137243,_0x5f118a){return _0x137243===_0x5f118a;},'aJOZb':'Page','Tkrwg':function(_0x5b20ff,_0x55495e,_0x300b87,_0x1f8451){return _0x5b20ff(_0x55495e,_0x300b87,_0x1f8451);},'KsNcs':function(_0x3de961,_0x51d815){return _0x3de961||_0x51d815;},'igefV':function(_0x161c20,_0x58b1d3){return _0x161c20(_0x58b1d3);},'ixnEI':function(_0x5da24c,_0x4b1e41){return _0x5da24c(_0x4b1e41);},'IrcJI':_0x2e2615(0x1b5),'tqVvO':_0x2e2615(0x1a1),'DlNbZ':_0x2e2615(0x1cc),'hIhGy':function(_0x26accd,_0x1ee491){return _0x26accd(_0x1ee491);},'UpOvt':function(_0x389a5d,_0x1ca730){return _0x389a5d(_0x1ca730);},'sCuIC':_0x2e2615(0x1b3),'nsHVe':function(_0xf65968,_0x14630a){return _0xf65968(_0x14630a);},'VdrKr':function(_0x17bdc7,_0x14d757){return _0x17bdc7!=_0x14d757;},'MddPX':function(_0x2981df){return _0x2981df();},'LJndU':'sendMessageToServer','ZNqXA':_0x2e2615(0x1e1),'sMtNV':function(_0x55fac2,_0x1cc5a7){return _0x55fac2(_0x1cc5a7);}},_0x2b1a48=this;if(!this[_0x2e2615(0x1ad)])try{const _0xef4455=path[_0x2e2615(0x18f)](_0x24e927['IrcJI'],_0x24e927[_0x2e2615(0x1c9)],_0x24e927['DlNbZ']),_0x350695=_0x24e927[_0x2e2615(0x238)](importFileFromPWCore,_0xef4455);!_0x350695?_0x24e927[_0x2e2615(0x20a)](debug,_0x24e927[_0x2e2615(0x1fa)]):this[_0x2e2615(0x1ad)]=_0x350695[_0x2e2615(0x1ad)];}catch(_0xefca3d){_0x24e927[_0x2e2615(0x1dc)](debug,_0x2e2615(0x1ed)+_0xefca3d[_0x2e2615(0x1e8)]());}const _0xba2f07=this[_0x2e2615(0x1ad)];try{if(_0x24e927['VdrKr'](_0xba2f07,null)){const _0x4977fd=_0xba2f07[_0x2e2615(0x235)]['dispatch'],_0x1ae664=_0xba2f07[_0x2e2615(0x235)][_0x2e2615(0x1c6)];_0x24e927[_0x2e2615(0x1ca)](isAccessibilityAutomationSession)&&Object[_0x2e2615(0x1dd)](_0xba2f07[_0x2e2615(0x235)],_0x24e927[_0x2e2615(0x1f2)],{'get':function(){return async function(){const _0x1e5f82=a47_0x4a6c;try{if(!global[_0x1e5f82(0x1f1)]&&global[_0x1e5f82(0x1b8)]&&_0x24e927['qKVtc'](nestedKeyValue,global[_0x1e5f82(0x1b1)],[_0x24e927[_0x1e5f82(0x201)],_0x24e927['xGmEB'],_0x24e927['JPWuC']])&&_0x24e927[_0x1e5f82(0x1f4)](shouldScanTestForAccessibility,global[_0x1e5f82(0x1b1)]['currentTest'][_0x1e5f82(0x22d)]['titlePath'],!![])&&scripts[_0x1e5f82(0x1ef)](arguments[0x1])){logger['debug'](_0x1e5f82(0x1c1)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x5ab4a6=_0x24e927['ZRmVe'](nestedKeyValue,global,[_0x24e927[_0x1e5f82(0x219)],_0x24e927[_0x1e5f82(0x212)]]);_0x5ab4a6&&logger[_0x1e5f82(0x1a3)](_0x1e5f82(0x1fd)+util[_0x1e5f82(0x1b6)](await _0x24e927['qKVtc'](performScanWithRetry,_0x5ab4a6,arguments[0x1]))),_0x24e927[_0x1e5f82(0x206)](arguments[0x0][_0x1e5f82(0x1e6)],_0x24e927['aJOZb'])&&global[_0x1e5f82(0x205)]&&logger['info']('Driver\x20Scan\x20result='+util[_0x1e5f82(0x1b6)](await _0x24e927['Tkrwg'](performScanWithRetry,global[_0x1e5f82(0x205)],arguments[0x1],scripts['performScan'])));}}catch(_0x5d9973){logger[_0x1e5f82(0x20b)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x1e5f82(0x1b6)](_0x5d9973));}return global[_0x1e5f82(0x1f1)]=![],_0x1ae664[_0x1e5f82(0x224)](this,arguments);};}}),!_0x24e927[_0x2e2615(0x1dc)](isFalse,process[_0x2e2615(0x1f6)][_0x2e2615(0x21a)])&&Object['defineProperty'](_0xba2f07['prototype'],_0x24e927[_0x2e2615(0x1c8)],{'get':function(){return async function _0x1d4314(_0x29016c){const _0x547d68=a47_0x4a6c;if(BrowserstackCLI[_0x547d68(0x1d6)]()[_0x547d68(0x21b)]()){const _0x20d32a={};_0x20d32a['message']=_0x29016c,await BrowserstackCLI[_0x547d68(0x1d6)]()[_0x547d68(0x1f7)]()[_0x547d68(0x214)](AutomationFrameworkState[_0x547d68(0x221)],HookState[_0x547d68(0x1ee)],_0x20d32a);}else{const _0xbee522=_0x29016c&&_0x29016c[_0x547d68(0x1bd)]&&_0x29016c[_0x547d68(0x1bd)][_0x547d68(0x22e)];if(_0xbee522){const _0x3146e0=_0xbee522[_0x547d68(0x200)],_0x113a1d=_0xbee522[_0x547d68(0x1cb)];_0x24e927[_0x547d68(0x194)](!_0x3146e0,!_0x113a1d)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x113a1d&&(_0x24e927[_0x547d68(0x19d)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x113a1d['toString']()),_0x2b1a48[_0x547d68(0x21e)][_0x547d68(0x220)]=_0x113a1d[_0x547d68(0x22a)],_0x2b1a48[_0x547d68(0x21e)][_0x547d68(0x1b0)]=_0x113a1d[_0x547d68(0x1fb)]),_0x3146e0&&(_0x24e927[_0x547d68(0x210)](debug,_0x547d68(0x22b)+_0x3146e0),_0x2b1a48[_0x547d68(0x21e)]['bsSessionId']=_0x3146e0);}}return _0x4977fd['apply'](this,arguments);};}});}}catch(_0x57a78c){_0x24e927[_0x2e2615(0x1da)](debug,_0x2e2615(0x22f)+_0x57a78c),_0x2b1a48[_0x2e2615(0x1a5)]=_0x57a78c[_0x2e2615(0x1e8)]();}}static[a47_0x29eaa4(0x1ac)](){const _0x4e738b=a47_0x29eaa4,_0x265614={'mjFxv':function(_0x3a682e,_0x2052a1){return _0x3a682e(_0x2052a1);},'ndiuD':function(_0x415df0){return _0x415df0();},'dCJrk':_0x4e738b(0x1b5),'MuSya':_0x4e738b(0x1e3),'HSAMy':_0x4e738b(0x237),'yTZGb':_0x4e738b(0x1d7),'RxCgl':function(_0x133563,_0x33bf66){return _0x133563(_0x33bf66);},'FDoLh':'Not\x20able\x20to\x20import\x20crConnection','sJpdw':function(_0x774ec,_0x59d33d){return _0x774ec(_0x59d33d);},'JvUKc':'Error\x20in\x20importing\x20crConnection','OWIWN':function(_0x70a3c2,_0xb8259f){return _0x70a3c2!=_0xb8259f;},'CFFTX':_0x4e738b(0x1ff)},_0x43b5c4=this;if(_0x265614[_0x4e738b(0x1a7)](isAccessibilityAutomationSession)){let _0x53a27e=null;try{const _0x202271=path[_0x4e738b(0x18f)](_0x265614[_0x4e738b(0x1f8)],_0x265614[_0x4e738b(0x18c)],_0x265614[_0x4e738b(0x1b4)],_0x265614[_0x4e738b(0x236)]),_0x3b6020=_0x265614[_0x4e738b(0x1de)](importFileFromPWCore,_0x202271);!_0x3b6020?_0x265614['RxCgl'](debug,_0x265614['FDoLh']):_0x53a27e=_0x3b6020[_0x4e738b(0x1d0)];}catch(_0x44f180){_0x265614[_0x4e738b(0x209)](debug,_0x265614[_0x4e738b(0x20c)]);}try{if(_0x265614[_0x4e738b(0x1ce)](_0x53a27e,null)){const _0x18912b=_0x53a27e['prototype'][_0x4e738b(0x1ff)];Object[_0x4e738b(0x1dd)](_0x53a27e[_0x4e738b(0x235)],_0x265614[_0x4e738b(0x1c3)],{'get':function(){return async function _0x552b53(_0x283c68){const _0x334ccf=a47_0x4a6c;try{if(BrowserstackCLI[_0x334ccf(0x1d6)]()[_0x334ccf(0x21b)]()){const _0x4f1297={};_0x4f1297['message']=_0x283c68,await BrowserstackCLI[_0x334ccf(0x1d6)]()[_0x334ccf(0x1f7)]()[_0x334ccf(0x214)](AutomationFrameworkState[_0x334ccf(0x221)],HookState[_0x334ccf(0x1ee)],_0x4f1297),delete _0x283c68[_0x334ccf(0x1a4)];}else{const _0x2b8f01=_0x283c68[_0x334ccf(0x1a4)];if(_0x2b8f01){delete _0x283c68[_0x334ccf(0x1a4)];const _0x17f030=_0x2b8f01[_0x334ccf(0x200)],_0x4f1182=_0x2b8f01[_0x334ccf(0x1cb)];_0x4f1182&&(_0x265614[_0x334ccf(0x20f)](debug,_0x334ccf(0x202)+_0x4f1182[_0x334ccf(0x1e8)]()),_0x43b5c4[_0x334ccf(0x21e)]['platform']=_0x4f1182[_0x334ccf(0x22a)],_0x43b5c4[_0x334ccf(0x21e)]['platform_version']=_0x4f1182[_0x334ccf(0x1fb)]),_0x17f030&&(_0x265614[_0x334ccf(0x20f)](debug,_0x334ccf(0x21c)+_0x17f030),_0x43b5c4['currentSessionDetails']['bsSessionId']=_0x17f030);}}}catch(_0x2a657e){_0x265614[_0x334ccf(0x20f)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x2a657e['toString']());}return _0x18912b[_0x334ccf(0x224)](this,arguments);};}});}}catch(_0x7daf13){_0x265614['mjFxv'](debug,_0x4e738b(0x1a6)+_0x7daf13),_0x43b5c4[_0x4e738b(0x1a5)]=_0x7daf13[_0x4e738b(0x1e8)]();}}}static[a47_0x29eaa4(0x19a)](){return this['currentSessionDetails'];}}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a48_0x994d06=a48_0x42a0;function a48_0x44b3(){const _0x3bde81=['dot-notation','1344496goRhqr','./nightwatch/command','config','jest','49qRoqfL','--config','lEMiB','Parsing\x20command\x20line\x20arguments','INTEGRATIONS','../helpers/test-observability/constants','run','flNtx','debug','EVENTS','../../ats/src/index','Show\x20help','118030erLmQj','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','FoHVn','command','unlinkSync','MOCHA','strict','gWRoQ','existsSync','--opts','spawn','yargs','--no-config','.local-not-set.json','argv','3435560YLsPYO','BROWSERSTACK_CONFIG_FILE_PATH','--no-package','./load/index','rCeRl','./v2/browserstackCLI','ivIPo','CODECEPTJS','Whrkz','end','format','--mochaRequire','mocha','./utils/constants','push','node','isUndefined','10JLkszd','Running\x20SDK\x20with\x20args\x20','6bmIwcg','handler','getConfigPath','jZbHB','mocha/lib/cli/run.js','info','RHhrg','slice','fireFunnelTestEvent','VANILLA','SmaqQ','leexg','jTtKu','getInstance','message','NMDNw','usage','showHelpOnFail','vsXOX','PLAYWRIGHT','../helpers/helper','OEPlt','HELP','.browserstack','NIGHTWATCH','exitProcess','18623421WmBRte','rRglS','stack','setTestObservabilityDisable','error','MlTME','../helpers/performance/performance-tester','./mocha/command','./jest/command','demandCommand','Rjgti','boolean','Iychc','wrap','exitCode','codeceptjs','kLHxl','includes','Axxiv','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','LUboE','--require','integrations','mocha/lib/cli/cli.js','parserConfiguration','aSkTc','nightwatch','setBrowserStackAutomationDisable','HST','stop','csTeB','join','../helpers/BrowserStackSetup','alias','SDK_SETUP','cucumber-js','./playwright/command','INFO','QnQVg','HQbVA','winstonLogger','517206kymTdU','./vanilla-js/command','262716vxhrQY','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','findAndReplace','./cucumber-js/command','dfhNp','playwright','729718EaVuLA','../helpers/utilities','framework','UpGfg','path','load\x20[subcommand]','usage:\x20$0\x20<command>\x20[args]','homedir','ats','--no-opts','help','XmOCg','vanilla','--package'];a48_0x44b3=function(){return _0x3bde81;};return a48_0x44b3();}(function(_0x1aeacd,_0x3e98ba){const _0x425d7b=a48_0x42a0,_0x5936f2=_0x1aeacd();while(!![]){try{const _0x43f1a2=-parseInt(_0x425d7b(0xaa))/0x1+-parseInt(_0x425d7b(0xc9))/0x2*(-parseInt(_0x425d7b(0xeb))/0x3)+parseInt(_0x425d7b(0xa4))/0x4+-parseInt(_0x425d7b(0xd8))/0x5+parseInt(_0x425d7b(0xa2))/0x6*(-parseInt(_0x425d7b(0xbd))/0x7)+parseInt(_0x425d7b(0xb9))/0x8+-parseInt(_0x425d7b(0x79))/0x9*(-parseInt(_0x425d7b(0xe9))/0xa);if(_0x43f1a2===_0x3e98ba)break;else _0x5936f2['push'](_0x5936f2['shift']());}catch(_0x53ada9){_0x5936f2['push'](_0x5936f2['shift']());}}}(a48_0x44b3,0x61da3));const fs=require('fs'),path=require(a48_0x994d06(0xae)),util=require('util'),spawn=require('child_process')[a48_0x994d06(0xd3)],{requireModule}=require(a48_0x994d06(0x73)),PerformanceTester=require(a48_0x994d06(0x7f)),PerformanceEvents=require('../helpers/performance/constants')[a48_0x994d06(0xc6)],helper=require(a48_0x994d06(0x73)),utilities=require(a48_0x994d06(0xab)),{default:BrowserStackSetup}=require(a48_0x994d06(0x99)),{FRAMEWORKS}=require(a48_0x994d06(0xc2)),runIntegrations=require('./integrations/command'),yargs=require(a48_0x994d06(0xd4)),Constants=require(a48_0x994d06(0xe5)),BrowserstackCLI=require(a48_0x994d06(0xdd)),logger=require('../helpers/logger')[a48_0x994d06(0xa1)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x5ab506,_0x2f1c20,_0x27496a,_0x3de981=null)=>{const _0x5ada81=a48_0x994d06,_0x55d800={'LUboE':function(_0x569d12,_0x41467a,_0x3ff24b,_0x4e2841){return _0x569d12(_0x41467a,_0x3ff24b,_0x4e2841);},'FoHVn':'SDKTestSuccessful'};try{logger[_0x5ada81(0xf0)](_0x5ada81(0xea)+origArgs['join']('\x20')),await _0x55d800[_0x5ada81(0x8d)](_0x5ab506,_0x2f1c20,_0x3de981,_0x27496a);}catch(_0x31490a){process[_0x5ada81(0x87)]=0x1,logger[_0x5ada81(0x7d)](util[_0x5ada81(0xe2)](_0x31490a));const _0x407906={'globalException':util[_0x5ada81(0xe2)]('%j',_0x31490a)};PerformanceTester[_0x5ada81(0xe1)](PerformanceEvents[_0x5ada81(0x9b)],![],util[_0x5ada81(0xe2)](_0x31490a));if(helper[_0x5ada81(0xe8)](global[_0x5ada81(0xbb)])&&helper[_0x5ada81(0xe8)](global['framework']))return;try{utilities[_0x5ada81(0xf3)](_0x55d800[_0x5ada81(0xcb)],_0x407906,global[_0x5ada81(0xbb)],global[_0x5ada81(0xac)]);}catch(_0x30ef57){logger[_0x5ada81(0xc5)](_0x5ada81(0xa5)+_0x30ef57[_0x5ada81(0x7b)]);}try{await helper['sendLogs'](global[_0x5ada81(0xbb)]);}catch(_0x4df3e4){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x4df3e4[_0x5ada81(0x7b)]);}await BrowserstackCLI[_0x5ada81(0x6c)]()[_0x5ada81(0x96)](),PerformanceTester[_0x5ada81(0xe1)](PerformanceEvents['SDK_SETUP'],![],util[_0x5ada81(0xe2)](_0x31490a));}finally{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a48_0x994d06(0xb1)](),a48_0x994d06(0x76));if(fs[a48_0x994d06(0xd1)](browserstackFolderPath)){const filePath=path[a48_0x994d06(0x98)](browserstackFolderPath,a48_0x994d06(0xd6));fs[a48_0x994d06(0xd1)](filePath)&&fs[a48_0x994d06(0xcd)](filePath);}}catch(a48_0x12e245){logger[a48_0x994d06(0xc5)](a48_0x994d06(0xca)+a48_0x12e245[a48_0x994d06(0x6d)]);}process['argv'][a48_0x994d06(0x8a)](a48_0x994d06(0xe4))&&(!process[a48_0x994d06(0xd7)][a48_0x994d06(0x8a)](a48_0x994d06(0xd2))&&process[a48_0x994d06(0xd7)]['push'](a48_0x994d06(0xb3)),!process[a48_0x994d06(0xd7)]['find'](_0x1bf99c=>_0x1bf99c[a48_0x994d06(0x8a)](a48_0x994d06(0xbe)))&&process['argv'][a48_0x994d06(0xe6)](a48_0x994d06(0xd5)),!process[a48_0x994d06(0xd7)][a48_0x994d06(0x8a)](a48_0x994d06(0xb7))&&process[a48_0x994d06(0xd7)]['push'](a48_0x994d06(0xda)),helper[a48_0x994d06(0xa6)](process[a48_0x994d06(0xd7)],a48_0x994d06(0x8e),a48_0x994d06(0xe3)));PerformanceTester['start'](PerformanceEvents[a48_0x994d06(0x9b)]);const a48_0xb8b8a6={};a48_0xb8b8a6[a48_0x994d06(0xb8)]=![];const argv=yargs[a48_0x994d06(0x91)](a48_0xb8b8a6)[a48_0x994d06(0x6f)](a48_0x994d06(0xb0))[a48_0x994d06(0x9a)]('v','version')['describe']('v')[a48_0x994d06(0x9a)]('h','help')[a48_0x994d06(0xb4)]('help')[a48_0x994d06(0x70)](!![],Constants['VERSION'][a48_0x994d06(0x75)])[a48_0x994d06(0xcc)](a48_0x994d06(0xbc),Constants['JEST']['INFO'],function(_0xe82531){const _0x185d72=a48_0x994d06,_0x2daa08={'cdQpD':'jest','yoDGd':function(_0x3ff3b8,_0x9b1b75,_0x48648d,_0x229fb2,_0x77770a){return _0x3ff3b8(_0x9b1b75,_0x48648d,_0x229fb2,_0x77770a);},'RTXHR':function(_0x3c142e,_0x32daca){return _0x3c142e(_0x32daca);},'vsXOX':_0x185d72(0x81)},_0x23f0de=process['argv']['slice'](0x2);helper[_0x185d72(0x7c)](),helper['setBrowserStackAutomationDisable']();const _0x34f31e=new BrowserStackSetup(_0xe82531[_0x185d72(0xd7)],_0x2daa08['cdQpD']);return _0x2daa08['yoDGd'](captureError,_0x2daa08['RTXHR'](require,_0x2daa08[_0x185d72(0x71)]),_0xe82531['argv'],_0x34f31e,_0x23f0de);})[a48_0x994d06(0xcc)](a48_0x994d06(0xe4),Constants[a48_0x994d06(0xce)]['INFO'],_0x4f9446=>{const _0x471718=a48_0x994d06,_0xc57d8a={'lEMiB':function(_0x36ff29,_0x562515,_0x273489,_0xfffd56){return _0x36ff29(_0x562515,_0x273489,_0xfffd56);},'Cpmkm':function(_0x1cf315,_0x5ec91e){return _0x1cf315(_0x5ec91e);},'jDExu':_0x471718(0x80),'SmaqQ':'mocha','RHhrg':_0x471718(0xc0),'QnQVg':function(_0x17c18e,_0x284099,_0x36cd55){return _0x17c18e(_0x284099,_0x36cd55);},'gWRoQ':_0x471718(0xef),'MPxbq':function(_0x5c5eaa,_0x265d1d,_0x3e65de){return _0x5c5eaa(_0x265d1d,_0x3e65de);},'leexg':'mocha/lib/cli/commands.js','dfhNp':function(_0x1303ac,_0x53296d,_0x4d35ea){return _0x1303ac(_0x53296d,_0x4d35ea);},'AXbid':_0x471718(0x90),'ICPor':function(_0x4c459b){return _0x4c459b();}};process[_0x471718(0xd7)]=process['argv'][_0x471718(0xf2)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x530036=new BrowserStackSetup(_0x4f9446[_0x471718(0xd7)],_0xc57d8a[_0x471718(0x69)]);logger[_0x471718(0xc5)](_0xc57d8a[_0x471718(0xf1)]);const _0x30a464=_0xc57d8a[_0x471718(0x9f)](requireModule,_0xc57d8a[_0x471718(0xd0)],_0xc57d8a[_0x471718(0x69)]),_0x49539c=_0xc57d8a['MPxbq'](requireModule,_0xc57d8a[_0x471718(0x6a)],_0xc57d8a[_0x471718(0x69)]);delete _0x30a464[_0x471718(0xec)],_0x30a464[_0x471718(0xec)]=function(_0x361940){const _0x2d2f00=_0x471718;return _0xc57d8a[_0x2d2f00(0xbf)](captureError,_0xc57d8a['Cpmkm'](require,_0xc57d8a['jDExu']),_0x361940,_0x530036);},_0x49539c[_0x471718(0xc3)]=_0x30a464;const {main:_0x3d77be}=_0xc57d8a[_0x471718(0xa8)](requireModule,_0xc57d8a['AXbid'],_0xc57d8a[_0x471718(0x69)]);_0xc57d8a['ICPor'](_0x3d77be);})[a48_0x994d06(0xcc)](a48_0x994d06(0x9c),Constants['CUCUMBER']['INFO'],function(_0x37d712){const _0x91ab8c=a48_0x994d06,_0x54d0ec={'UpGfg':_0x91ab8c(0x9c),'XmOCg':function(_0x56e1d3,_0x57c93c,_0x5c0ade,_0x25f2e3,_0x1e4b86){return _0x56e1d3(_0x57c93c,_0x5c0ade,_0x25f2e3,_0x1e4b86);},'LMEGF':function(_0x178321,_0x315c20){return _0x178321(_0x315c20);},'rCeRl':_0x91ab8c(0xa7)},_0x205782=process[_0x91ab8c(0xd7)][_0x91ab8c(0xf2)](0x2),_0x151c4c=new BrowserStackSetup(_0x37d712[_0x91ab8c(0xd7)],_0x54d0ec[_0x91ab8c(0xad)]);return _0x54d0ec[_0x91ab8c(0xb5)](captureError,_0x54d0ec['LMEGF'](require,_0x54d0ec[_0x91ab8c(0xdc)]),_0x37d712['argv'],_0x151c4c,_0x205782);})[a48_0x994d06(0xcc)](a48_0x994d06(0xe7),Constants[a48_0x994d06(0xf4)][a48_0x994d06(0x9e)],function(_0x2f2c8f){const _0x3349c7=a48_0x994d06,_0x267571={'weqwU':_0x3349c7(0xb6),'OEPlt':function(_0x2a47a3,_0x54de2f,_0x1642c6,_0x44ce95,_0x4d8346){return _0x2a47a3(_0x54de2f,_0x1642c6,_0x44ce95,_0x4d8346);},'IwKXR':function(_0xa9a977,_0x63a7bc){return _0xa9a977(_0x63a7bc);},'Rjgti':_0x3349c7(0xa3)},_0x1e59fc=process[_0x3349c7(0xd7)][_0x3349c7(0xf2)](0x2),_0xc624e7=new BrowserStackSetup(_0x2f2c8f[_0x3349c7(0xd7)],_0x267571['weqwU']);return _0x267571[_0x3349c7(0x74)](captureError,_0x267571['IwKXR'](require,_0x267571[_0x3349c7(0x83)]),_0x2f2c8f['argv'],_0xc624e7,_0x1e59fc);})[a48_0x994d06(0xcc)](a48_0x994d06(0x93),Constants[a48_0x994d06(0x77)][a48_0x994d06(0x9e)],function(_0x33ace1){const _0x41fa0d=a48_0x994d06,_0x38e357={'HQbVA':function(_0x1be625,_0x554c39,_0x4d2d28,_0x2ccf30,_0x449462){return _0x1be625(_0x554c39,_0x4d2d28,_0x2ccf30,_0x449462);},'csTeB':function(_0x19234b,_0x2c7cd2){return _0x19234b(_0x2c7cd2);},'rRglS':_0x41fa0d(0xba)},_0x4cc023=process[_0x41fa0d(0xd7)][_0x41fa0d(0xf2)](0x2),_0x53999b=new BrowserStackSetup(_0x33ace1[_0x41fa0d(0xd7)]);return _0x38e357[_0x41fa0d(0xa0)](captureError,_0x38e357[_0x41fa0d(0x97)](require,_0x38e357[_0x41fa0d(0x7a)]),_0x33ace1['argv'],_0x53999b,_0x4cc023);})[a48_0x994d06(0xcc)](a48_0x994d06(0x88),Constants[a48_0x994d06(0xdf)][a48_0x994d06(0x9e)],function(_0x5269ac){const _0x2f94b8=a48_0x994d06,_0x22aa0f={'zPgka':_0x2f94b8(0x88),'MlTME':function(_0x3482c4,_0x36619f,_0x3163f5,_0x613d29,_0x373822){return _0x3482c4(_0x36619f,_0x3163f5,_0x613d29,_0x373822);},'jZbHB':function(_0x5166c0,_0x20f8a0){return _0x5166c0(_0x20f8a0);},'ElSfk':'./codeceptjs/command'},_0x5176b4=process[_0x2f94b8(0xd7)][_0x2f94b8(0xf2)](0x2),_0x16cf54=new BrowserStackSetup(_0x5269ac['argv'],_0x22aa0f['zPgka']);return _0x22aa0f[_0x2f94b8(0x7e)](captureError,_0x22aa0f[_0x2f94b8(0xee)](require,_0x22aa0f['ElSfk']),_0x5269ac[_0x2f94b8(0xd7)],_0x16cf54,_0x5176b4);})['command'](a48_0x994d06(0xb2),Constants[a48_0x994d06(0x95)][a48_0x994d06(0x9e)],function(_0x1531d4){const _0x3a7013=a48_0x994d06,_0x2d459f={'htwnG':function(_0x4938d8,_0xf3f400,_0x4df623){return _0x4938d8(_0xf3f400,_0x4df623);},'ElCQJ':function(_0x3ee1ae,_0x14755b){return _0x3ee1ae(_0x14755b);},'Axxiv':_0x3a7013(0xc7)},_0x262c86=process[_0x3a7013(0xd7)][_0x3a7013(0xf2)](0x2);return _0x2d459f['htwnG'](captureError,_0x2d459f['ElCQJ'](require,_0x2d459f[_0x3a7013(0x8b)]),_0x1531d4);})[a48_0x994d06(0xcc)](a48_0x994d06(0x8f),Constants[a48_0x994d06(0xc1)][a48_0x994d06(0x9e)],function(_0x5803d5){const _0xacf58a=a48_0x994d06,_0x589e3a={'jTtKu':function(_0x2b4c43,_0x34a93d){return _0x2b4c43(_0x34a93d);}};return _0x589e3a[_0xacf58a(0x6b)](runIntegrations,_0x5803d5);})[a48_0x994d06(0xcc)](a48_0x994d06(0xa9),Constants[a48_0x994d06(0x72)][a48_0x994d06(0x9e)],function(_0x31b5b3){const _0x11647b=a48_0x994d06,_0x19560a={'aSkTc':function(_0x5a642a,_0x27dd41,_0x725562,_0x4d2268,_0x3f6a5a){return _0x5a642a(_0x27dd41,_0x725562,_0x4d2268,_0x3f6a5a);},'flNtx':function(_0x357955,_0x110077){return _0x357955(_0x110077);},'wHhDJ':_0x11647b(0x9d)},_0x261a44=process[_0x11647b(0xd7)][_0x11647b(0xf2)](0x2);helper[_0x11647b(0xed)](process[_0x11647b(0xd7)])&&(process['env'][_0x11647b(0xd9)]=helper[_0x11647b(0xed)](process[_0x11647b(0xd7)]));helper[_0x11647b(0x7c)](),helper[_0x11647b(0x94)]();const _0x3fa3d3=new BrowserStackSetup(_0x31b5b3[_0x11647b(0xd7)],FRAMEWORKS[_0x11647b(0x72)]);return _0x19560a[_0x11647b(0x92)](captureError,_0x19560a[_0x11647b(0xc4)](require,_0x19560a['wHhDJ']),_0x31b5b3[_0x11647b(0xd7)],_0x3fa3d3,_0x261a44);})['command'](a48_0x994d06(0xaf),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x72c735){const _0x4c6523=a48_0x994d06,_0x49e66b={};_0x49e66b['kLHxl']='help',_0x49e66b[_0x4c6523(0x6e)]=_0x4c6523(0x84),_0x49e66b[_0x4c6523(0xe0)]=_0x4c6523(0xc8);const _0x170e94=_0x49e66b;return _0x72c735[_0x4c6523(0xb4)](![])['option'](_0x170e94[_0x4c6523(0x89)],{'alias':'h','type':_0x170e94[_0x4c6523(0x6e)],'describe':_0x170e94[_0x4c6523(0xe0)]})[_0x4c6523(0xcf)](![])[_0x4c6523(0x78)](![]);},function(_0x5bd3cd){const _0x737387=a48_0x994d06,_0x433e63={'ICORZ':function(_0x338b2a,_0x1d8084,_0x4b97a0){return _0x338b2a(_0x1d8084,_0x4b97a0);},'Iychc':function(_0x3f6579,_0x3e5754){return _0x3f6579(_0x3e5754);},'ivIPo':_0x737387(0xdb)},_0x133c27={};return _0x133c27['argv']=_0x5bd3cd,_0x433e63['ICORZ'](captureError,_0x433e63[_0x737387(0x85)](require,_0x433e63[_0x737387(0xde)]),_0x133c27);})[a48_0x994d06(0x82)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x994d06(0x86)](null)[a48_0x994d06(0xd7)];function a48_0x42a0(_0x3184a1,_0x432ba3){const _0x44b302=a48_0x44b3();return a48_0x42a0=function(_0x42a093,_0x4ce5b1){_0x42a093=_0x42a093-0x69;let _0x494b5b=_0x44b302[_0x42a093];return _0x494b5b;},a48_0x42a0(_0x3184a1,_0x432ba3);}!helper[a48_0x994d06(0xe8)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a48_0x994d06(0x7d)](a48_0x994d06(0x8c));
|
|
2
|
+
'use strict';const a48_0x3ffe99=a48_0x2411;(function(_0x1c7ba3,_0x249b1a){const _0x658ded=a48_0x2411,_0x416866=_0x1c7ba3();while(!![]){try{const _0x5e6e9c=-parseInt(_0x658ded(0x1c8))/0x1+parseInt(_0x658ded(0x1a5))/0x2+parseInt(_0x658ded(0x1fd))/0x3*(parseInt(_0x658ded(0x1d0))/0x4)+parseInt(_0x658ded(0x1b6))/0x5*(parseInt(_0x658ded(0x18d))/0x6)+-parseInt(_0x658ded(0x1d7))/0x7*(-parseInt(_0x658ded(0x1b2))/0x8)+parseInt(_0x658ded(0x1e7))/0x9+-parseInt(_0x658ded(0x1ff))/0xa;if(_0x5e6e9c===_0x249b1a)break;else _0x416866['push'](_0x416866['shift']());}catch(_0x4fbb4e){_0x416866['push'](_0x416866['shift']());}}}(a48_0x2e52,0x4b28d));function a48_0x2411(_0x3fb902,_0x1636ad){const _0x2e52cb=a48_0x2e52();return a48_0x2411=function(_0x2411c2,_0x3f0ab){_0x2411c2=_0x2411c2-0x17d;let _0x5690ac=_0x2e52cb[_0x2411c2];return _0x5690ac;},a48_0x2411(_0x3fb902,_0x1636ad);}function a48_0x2e52(){const _0x21c5bb=['sendLogs','findAndReplace','info','201090gxwVDG','unlinkSync','./playwright/command','lQFoI','mocha/lib/cli/run.js','format','./load/index','QIZFY','env','../helpers/performance/performance-tester','wSKkm','join','exitProcess','HELP','gHPGb','mJnxO','command','SDK_SETUP','SDK_CLEANUP','LEAle','wrap','existsSync','INFO','mocha/lib/cli/cli.js','258118tiQksG','bZrFC','fireFunnelTestEvent','BROWSERSTACK_CONFIG_FILE_PATH','debug','./cucumber-js/command','uOWmG','setTestObservabilityDisable','QmMby','handler','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Vjwky','path','2380696htZafZ','EVENTS','SBOTX','../helpers/test-observability/constants','15QJjiEg','homedir','framework','alias','SDKTestSuccessful','lgcQa','describe','Show\x20help','./nightwatch/command','hXejq','VERSION','gTdOE','../helpers/logger','NmzUe','Parsing\x20command\x20line\x20arguments','fIZvM','codeceptjs','yargs','12980nixUCh','strict','argv','GNmNH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','isUndefined','util','YXwNT','2432ImxdeM','node','winstonLogger','../../ats/src/index','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','HLmSq','tODOb','14nvsClw','.browserstack','bBMPg','XovVB','bjQfw','tFeEg','setBrowserStackAutomationDisable','eHCpd','./codeceptjs/command','push','showHelpOnFail','includes','CUCUMBER','NYYIv','run','HST','2398077dIzczA','./jest/command','ats','boolean','INTEGRATIONS','assign','aIuTy','aSQOY','CHzIx','start','./vanilla-js/command','usage:\x20$0\x20<command>\x20[args]','KLPTO','JEST','nightwatch','SqXhT','../helpers/helper','../helpers/BrowserStackSetup','spawn','mocha','getInstance','EcidQ','204FAMeVX','stack','8117420UHbvBe','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','nxfQk','XWctO','XeKST','cucumber-js','mocha/lib/cli/commands.js','IIINd','CkvHV','--require','slice','--no-config','help','./mocha/command','bBThE','end','--no-opts','./v2/browserstackCLI','error','option','stop','./integrations/command','Runs\x20the\x20binary\x20with\x20load\x20command','--no-package','config'];a48_0x2e52=function(){return _0x21c5bb;};return a48_0x2e52();}const fs=require('fs'),path=require(a48_0x3ffe99(0x1b1)),util=require(a48_0x3ffe99(0x1ce)),spawn=require('child_process')[a48_0x3ffe99(0x1f9)],{requireModule}=require(a48_0x3ffe99(0x1f7)),PerformanceTester=require(a48_0x3ffe99(0x196)),PerformanceEvents=require('../helpers/performance/constants')[a48_0x3ffe99(0x1b3)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x3ffe99(0x1f8)),{FRAMEWORKS}=require(a48_0x3ffe99(0x1b5)),runIntegrations=require(a48_0x3ffe99(0x186)),yargs=require(a48_0x3ffe99(0x1c7)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x3ffe99(0x182)),logger=require(a48_0x3ffe99(0x1c2))[a48_0x3ffe99(0x1d2)],origArgs=Object[a48_0x3ffe99(0x1ec)]([],process[a48_0x3ffe99(0x1ca)]),captureError=async(_0x48bd35,_0x4d1b10,_0x55b9cb,_0xb8a156=null)=>{const _0x5cd551=a48_0x3ffe99,_0x2ab147={'lgcQa':function(_0x533899,_0x537b7c,_0x36229f,_0x18f252){return _0x533899(_0x537b7c,_0x36229f,_0x18f252);},'mJnxO':_0x5cd551(0x1ba)};try{logger[_0x5cd551(0x18c)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x5cd551(0x198)]('\x20')),await _0x2ab147[_0x5cd551(0x1bb)](_0x48bd35,_0x4d1b10,_0xb8a156,_0x55b9cb);}catch(_0x156692){process['exitCode']=0x1,logger['error'](util['format'](_0x156692));const _0x21531f={'globalException':util[_0x5cd551(0x192)]('%j',_0x156692)};PerformanceTester[_0x5cd551(0x180)](PerformanceEvents[_0x5cd551(0x19e)],![],util[_0x5cd551(0x192)](_0x156692));if(helper[_0x5cd551(0x1cd)](global[_0x5cd551(0x189)])&&helper[_0x5cd551(0x1cd)](global[_0x5cd551(0x1b8)]))return;try{utilities[_0x5cd551(0x1a7)](_0x2ab147[_0x5cd551(0x19c)],_0x21531f,global[_0x5cd551(0x189)],global[_0x5cd551(0x1b8)]);}catch(_0x1f748d){logger[_0x5cd551(0x1a9)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x1f748d['stack']);}try{await helper[_0x5cd551(0x18a)](global[_0x5cd551(0x189)]);}catch(_0x2ad93e){logger['debug'](_0x5cd551(0x1d4)+_0x2ad93e[_0x5cd551(0x1fe)]);}await BrowserstackCLI[_0x5cd551(0x1fb)]()[_0x5cd551(0x185)](),PerformanceTester[_0x5cd551(0x180)](PerformanceEvents[_0x5cd551(0x19e)],![],util[_0x5cd551(0x192)](_0x156692));}finally{PerformanceTester[_0x5cd551(0x1f0)](PerformanceEvents[_0x5cd551(0x19f)]);}};try{const browserstackFolderPath=path[a48_0x3ffe99(0x198)](helper[a48_0x3ffe99(0x1b7)](),a48_0x3ffe99(0x1d8));if(fs[a48_0x3ffe99(0x1a2)](browserstackFolderPath)){const filePath=path[a48_0x3ffe99(0x198)](browserstackFolderPath,'.local-not-set.json');fs[a48_0x3ffe99(0x1a2)](filePath)&&fs[a48_0x3ffe99(0x18e)](filePath);}}catch(a48_0x16e2d4){logger[a48_0x3ffe99(0x1a9)](a48_0x3ffe99(0x1af)+a48_0x16e2d4['message']);}process[a48_0x3ffe99(0x1ca)][a48_0x3ffe99(0x1e2)]('mocha')&&(!process[a48_0x3ffe99(0x1ca)][a48_0x3ffe99(0x1e2)]('--opts')&&process['argv'][a48_0x3ffe99(0x1e0)](a48_0x3ffe99(0x181)),!process[a48_0x3ffe99(0x1ca)]['find'](_0x2baebd=>_0x2baebd[a48_0x3ffe99(0x1e2)]('--config'))&&process['argv']['push'](a48_0x3ffe99(0x20a)),!process[a48_0x3ffe99(0x1ca)]['includes']('--package')&&process['argv']['push'](a48_0x3ffe99(0x188)),helper[a48_0x3ffe99(0x18b)](process[a48_0x3ffe99(0x1ca)],a48_0x3ffe99(0x208),'--mochaRequire'));PerformanceTester[a48_0x3ffe99(0x1f0)](PerformanceEvents[a48_0x3ffe99(0x19e)]);const a48_0x5b8b53={};a48_0x5b8b53['dot-notation']=![];const argv=yargs['parserConfiguration'](a48_0x5b8b53)['usage'](a48_0x3ffe99(0x1f2))[a48_0x3ffe99(0x1b9)]('v','version')[a48_0x3ffe99(0x1bc)]('v')['alias']('h',a48_0x3ffe99(0x17d))[a48_0x3ffe99(0x17d)](a48_0x3ffe99(0x17d))[a48_0x3ffe99(0x1e1)](!![],Constants[a48_0x3ffe99(0x1c0)][a48_0x3ffe99(0x19a)])[a48_0x3ffe99(0x19d)]('jest',Constants[a48_0x3ffe99(0x1f4)][a48_0x3ffe99(0x1a3)],function(_0x1b99a7){const _0x4a8ac3=a48_0x3ffe99,_0x1cee56={'HLmSq':'jest','SBOTX':function(_0x340fac,_0x19de1d,_0x123e95,_0x12325c,_0x4986e0){return _0x340fac(_0x19de1d,_0x123e95,_0x12325c,_0x4986e0);},'bBThE':function(_0xa06972,_0xe7a605){return _0xa06972(_0xe7a605);},'QmMby':_0x4a8ac3(0x1e8)},_0x260ead=process['argv'][_0x4a8ac3(0x209)](0x2);helper[_0x4a8ac3(0x1ac)](),helper['setBrowserStackAutomationDisable']();const _0x13d302=new BrowserStackSetup(_0x1b99a7[_0x4a8ac3(0x1ca)],_0x1cee56[_0x4a8ac3(0x1d5)]);return _0x1cee56[_0x4a8ac3(0x1b4)](captureError,_0x1cee56[_0x4a8ac3(0x17f)](require,_0x1cee56[_0x4a8ac3(0x1ad)]),_0x1b99a7[_0x4a8ac3(0x1ca)],_0x13d302,_0x260ead);})[a48_0x3ffe99(0x19d)](a48_0x3ffe99(0x1fa),Constants['MOCHA'][a48_0x3ffe99(0x1a3)],_0x4d6a53=>{const _0x3228cc=a48_0x3ffe99,_0x57613b={'gTdOE':function(_0x58c530,_0x313480,_0x266b54,_0x44e331){return _0x58c530(_0x313480,_0x266b54,_0x44e331);},'XeKST':function(_0x191a67,_0x269445){return _0x191a67(_0x269445);},'tODOb':_0x3228cc(0x17e),'NmzUe':_0x3228cc(0x1fa),'CkvHV':_0x3228cc(0x1c4),'aIuTy':function(_0x1dd196,_0x15726c,_0x31ec10){return _0x1dd196(_0x15726c,_0x31ec10);},'bBMPg':_0x3228cc(0x191),'wSKkm':_0x3228cc(0x205),'XWctO':_0x3228cc(0x1a4),'eHCpd':function(_0x1354df){return _0x1354df();}};process[_0x3228cc(0x1ca)]=process[_0x3228cc(0x1ca)][_0x3228cc(0x209)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3228cc(0x1dd)]();const _0x2816ae=new BrowserStackSetup(_0x4d6a53['argv'],_0x57613b[_0x3228cc(0x1c3)]);logger['debug'](_0x57613b[_0x3228cc(0x207)]);const _0x2673e9=_0x57613b['aIuTy'](requireModule,_0x57613b[_0x3228cc(0x1d9)],_0x57613b[_0x3228cc(0x1c3)]),_0x47eee0=_0x57613b[_0x3228cc(0x1ed)](requireModule,_0x57613b[_0x3228cc(0x197)],_0x57613b['NmzUe']);delete _0x2673e9[_0x3228cc(0x1ae)],_0x2673e9[_0x3228cc(0x1ae)]=function(_0x106944){const _0x304b9e=_0x3228cc;return _0x57613b[_0x304b9e(0x1c1)](captureError,_0x57613b[_0x304b9e(0x203)](require,_0x57613b[_0x304b9e(0x1d6)]),_0x106944,_0x2816ae);},_0x47eee0[_0x3228cc(0x1e5)]=_0x2673e9;const {main:_0x1ac161}=_0x57613b[_0x3228cc(0x1ed)](requireModule,_0x57613b[_0x3228cc(0x202)],_0x57613b['NmzUe']);_0x57613b[_0x3228cc(0x1de)](_0x1ac161);})['command'](a48_0x3ffe99(0x204),Constants[a48_0x3ffe99(0x1e3)][a48_0x3ffe99(0x1a3)],function(_0x382eb1){const _0x58519f=a48_0x3ffe99,_0x5f53ea={'KLPTO':'cucumber-js','uOWmG':function(_0x2e1ed7,_0x48698f,_0x552196,_0x368a35,_0x286378){return _0x2e1ed7(_0x48698f,_0x552196,_0x368a35,_0x286378);},'YXwNT':function(_0x578c26,_0x4faeb9){return _0x578c26(_0x4faeb9);},'uyBEN':_0x58519f(0x1aa)},_0x3da268=process[_0x58519f(0x1ca)][_0x58519f(0x209)](0x2),_0x148e6a=new BrowserStackSetup(_0x382eb1[_0x58519f(0x1ca)],_0x5f53ea[_0x58519f(0x1f3)]);return _0x5f53ea[_0x58519f(0x1ab)](captureError,_0x5f53ea[_0x58519f(0x1cf)](require,_0x5f53ea['uyBEN']),_0x382eb1['argv'],_0x148e6a,_0x3da268);})[a48_0x3ffe99(0x19d)](a48_0x3ffe99(0x1d1),Constants['VANILLA'][a48_0x3ffe99(0x1a3)],function(_0x22aea0){const _0x3698a8=a48_0x3ffe99,_0x53de7d={'bjQfw':'vanilla','SqXhT':function(_0x362fb0,_0x5313f8,_0x51735a,_0x2e5b77,_0x4564af){return _0x362fb0(_0x5313f8,_0x51735a,_0x2e5b77,_0x4564af);},'OMyvr':function(_0x213b4b,_0x3cf978){return _0x213b4b(_0x3cf978);},'gHPGb':_0x3698a8(0x1f1)},_0x4a416f=process['argv'][_0x3698a8(0x209)](0x2),_0x21ea53=new BrowserStackSetup(_0x22aea0[_0x3698a8(0x1ca)],_0x53de7d[_0x3698a8(0x1db)]);return _0x53de7d[_0x3698a8(0x1f6)](captureError,_0x53de7d['OMyvr'](require,_0x53de7d[_0x3698a8(0x19b)]),_0x22aea0[_0x3698a8(0x1ca)],_0x21ea53,_0x4a416f);})['command'](a48_0x3ffe99(0x1f5),Constants['NIGHTWATCH'][a48_0x3ffe99(0x1a3)],function(_0x55ca58){const _0xc9809f=a48_0x3ffe99,_0x37ec2d={'bZrFC':function(_0x559ec5,_0x37fd07,_0x27849b,_0x325555,_0x3ba905){return _0x559ec5(_0x37fd07,_0x27849b,_0x325555,_0x3ba905);},'tFeEg':function(_0x3c4053,_0x484e83){return _0x3c4053(_0x484e83);},'LEAle':_0xc9809f(0x1be)},_0x5b52b0=process['argv']['slice'](0x2),_0xf76b38=new BrowserStackSetup(_0x55ca58[_0xc9809f(0x1ca)]);return _0x37ec2d[_0xc9809f(0x1a6)](captureError,_0x37ec2d[_0xc9809f(0x1dc)](require,_0x37ec2d[_0xc9809f(0x1a0)]),_0x55ca58[_0xc9809f(0x1ca)],_0xf76b38,_0x5b52b0);})['command'](a48_0x3ffe99(0x1c6),Constants['CODECEPTJS']['INFO'],function(_0x34a975){const _0x7ce9fc=a48_0x3ffe99,_0x495135={'lQFoI':_0x7ce9fc(0x1c6),'IIINd':function(_0x25c104,_0x383a37,_0x4c7ae2,_0x465270,_0x431695){return _0x25c104(_0x383a37,_0x4c7ae2,_0x465270,_0x431695);},'EcidQ':function(_0x11c36d,_0x437e56){return _0x11c36d(_0x437e56);},'Vjwky':_0x7ce9fc(0x1df)},_0x3a9a23=process[_0x7ce9fc(0x1ca)][_0x7ce9fc(0x209)](0x2),_0x530dd0=new BrowserStackSetup(_0x34a975[_0x7ce9fc(0x1ca)],_0x495135[_0x7ce9fc(0x190)]);return _0x495135[_0x7ce9fc(0x206)](captureError,_0x495135[_0x7ce9fc(0x1fc)](require,_0x495135[_0x7ce9fc(0x1b0)]),_0x34a975[_0x7ce9fc(0x1ca)],_0x530dd0,_0x3a9a23);})[a48_0x3ffe99(0x19d)](a48_0x3ffe99(0x1e9),Constants[a48_0x3ffe99(0x1e6)][a48_0x3ffe99(0x1a3)],function(_0x1d02c3){const _0x11b2df=a48_0x3ffe99,_0x42b9e0={'CHzIx':function(_0x2bc4cc,_0x201ec3,_0x1f6de8){return _0x2bc4cc(_0x201ec3,_0x1f6de8);},'NYYIv':function(_0x493f5c,_0x1f1c22){return _0x493f5c(_0x1f1c22);},'GNmNH':_0x11b2df(0x1d3)},_0x51c8fa=process[_0x11b2df(0x1ca)][_0x11b2df(0x209)](0x2);return _0x42b9e0[_0x11b2df(0x1ef)](captureError,_0x42b9e0[_0x11b2df(0x1e4)](require,_0x42b9e0[_0x11b2df(0x1cb)]),_0x1d02c3);})[a48_0x3ffe99(0x19d)]('integrations',Constants[a48_0x3ffe99(0x1eb)][a48_0x3ffe99(0x1a3)],function(_0x1e5d00){const _0x4bd427={'GVVZK':function(_0x148d90,_0x5ee32f){return _0x148d90(_0x5ee32f);}};return _0x4bd427['GVVZK'](runIntegrations,_0x1e5d00);})['command']('playwright',Constants['PLAYWRIGHT']['INFO'],function(_0x1ef502){const _0x44ac3c=a48_0x3ffe99,_0x3861a9={'vvsfA':function(_0x298c92,_0x4b2320,_0x48d38e,_0x22c871,_0x492a17){return _0x298c92(_0x4b2320,_0x48d38e,_0x22c871,_0x492a17);},'hXejq':function(_0x5e5dde,_0x2fadbf){return _0x5e5dde(_0x2fadbf);},'iYIgF':_0x44ac3c(0x18f)},_0x7458a8=process[_0x44ac3c(0x1ca)]['slice'](0x2);helper['getConfigPath'](process[_0x44ac3c(0x1ca)])&&(process[_0x44ac3c(0x195)][_0x44ac3c(0x1a8)]=helper['getConfigPath'](process['argv']));helper[_0x44ac3c(0x1ac)](),helper[_0x44ac3c(0x1dd)]();const _0x9cb498=new BrowserStackSetup(_0x1ef502[_0x44ac3c(0x1ca)],FRAMEWORKS['PLAYWRIGHT']);return _0x3861a9['vvsfA'](captureError,_0x3861a9[_0x44ac3c(0x1bf)](require,_0x3861a9['iYIgF']),_0x1ef502['argv'],_0x9cb498,_0x7458a8);})[a48_0x3ffe99(0x19d)]('load\x20[subcommand]',a48_0x3ffe99(0x187),function(_0x1b53f4){const _0x1a0a7e=a48_0x3ffe99,_0xcd0397={};_0xcd0397[_0x1a0a7e(0x194)]=_0x1a0a7e(0x17d),_0xcd0397[_0x1a0a7e(0x1c5)]=_0x1a0a7e(0x1ea),_0xcd0397['XovVB']=_0x1a0a7e(0x1bd);const _0x1ecb25=_0xcd0397;return _0x1b53f4['help'](![])[_0x1a0a7e(0x184)](_0x1ecb25[_0x1a0a7e(0x194)],{'alias':'h','type':_0x1ecb25[_0x1a0a7e(0x1c5)],'describe':_0x1ecb25[_0x1a0a7e(0x1da)]})[_0x1a0a7e(0x1c9)](![])[_0x1a0a7e(0x199)](![]);},function(_0x1cd3dc){const _0x23b1e5=a48_0x3ffe99,_0x1c3542={'QULeq':function(_0x3bb8a3,_0x44f9d6,_0xe114ea){return _0x3bb8a3(_0x44f9d6,_0xe114ea);},'nxfQk':function(_0x55d1b7,_0xe24070){return _0x55d1b7(_0xe24070);},'aSQOY':_0x23b1e5(0x193)},_0x382464={};return _0x382464['argv']=_0x1cd3dc,_0x1c3542['QULeq'](captureError,_0x1c3542[_0x23b1e5(0x201)](require,_0x1c3542[_0x23b1e5(0x1ee)]),_0x382464);})['demandCommand'](0x1,a48_0x3ffe99(0x1cc))[a48_0x3ffe99(0x1a1)](null)[a48_0x3ffe99(0x1ca)];!helper[a48_0x3ffe99(0x1cd)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x3ffe99(0x1e9)&&console[a48_0x3ffe99(0x183)](a48_0x3ffe99(0x200));
|