browserstack-node-sdk 1.50.1 → 1.50.2
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
|
|
1
|
+
function a43_0x347a(_0xbd0279,_0x154713){const _0x484850=a43_0x4848();return a43_0x347a=function(_0x347a13,_0x22c8dc){_0x347a13=_0x347a13-0x152;let _0x3bd553=_0x484850[_0x347a13];return _0x3bd553;},a43_0x347a(_0xbd0279,_0x154713);}const a43_0x4a33c7=a43_0x347a;(function(_0x3da3d8,_0x4846df){const _0x2bfe0f=a43_0x347a,_0xc7512f=_0x3da3d8();while(!![]){try{const _0x471380=-parseInt(_0x2bfe0f(0x15b))/0x1*(-parseInt(_0x2bfe0f(0x169))/0x2)+-parseInt(_0x2bfe0f(0x196))/0x3*(parseInt(_0x2bfe0f(0x178))/0x4)+-parseInt(_0x2bfe0f(0x166))/0x5*(-parseInt(_0x2bfe0f(0x193))/0x6)+-parseInt(_0x2bfe0f(0x155))/0x7+parseInt(_0x2bfe0f(0x171))/0x8*(-parseInt(_0x2bfe0f(0x157))/0x9)+-parseInt(_0x2bfe0f(0x18d))/0xa*(-parseInt(_0x2bfe0f(0x180))/0xb)+-parseInt(_0x2bfe0f(0x164))/0xc*(-parseInt(_0x2bfe0f(0x19e))/0xd);if(_0x471380===_0x4846df)break;else _0xc7512f['push'](_0xc7512f['shift']());}catch(_0x390c1b){_0xc7512f['push'](_0xc7512f['shift']());}}}(a43_0x4848,0xc73dc));function a43_0x4848(){const _0xbb1bf7=['sTBQY','FmWZX','NTWAr','11000388byhBHT','browserContext.js','12220947JRxOJX','getAccessibilityResults','../../helpers/performance/performance-tester','vOROP','345059hZWcFc','client','browserstack_executor:\x20','BTRyT','uploadAttachment','yJHAt','Knerb','__workerDetails','../../helpers/accessibility-automation/accessibilityRetryHelper','290976JQdvvI','format','486060ZmkHXg','BrowserContext','bKKJp','6ZKNeCW','startA11yScanning','o11ySyncDone','TvgxK','BROWSERSTACK_TEST_ACCESSIBILITY_YML','env','setCustomTags','YvZlr','8SKghzL','measureWrapper','newPage','apply','../../helpers/test-observability/error-handler','0|4|1|3|2','../v2/customTagManager','4496zDdUwV','stopA11yScanning','hrruP','_isWorkerRedundant','../../helpers/helper','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','ObservabilitySync:','YZXCr','66BgJluB','now','prototype','stringify','hviYy','pwPage','mockContextNewPage','getAccessibilityResultsSummary','../../helpers/logger','OUOow','gKuGM','join','getInstance','506370BxvbbK','isRunning','split','MRARM','BROWSERSTACK_TEST_OBSERVABILITY','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','12naWZRY','xJooy','GVnmP','309iPLgCv','runner/dispatcher.js','bstackA11yShouldScan','JamxJ','debug','util','../../helpers/performance/constants','mockIsWorkerRedundant','1248sjFjDt','../v2/uploadAttachmentsManager','performScan'];a43_0x4848=function(){return _0xbb1bf7;};return a43_0x4848();}const path=require('path'),util=require(a43_0x4a33c7(0x19b)),logger=require(a43_0x4a33c7(0x188)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a43_0x4a33c7(0x17c)),{o11yErrorHandler}=require(a43_0x4a33c7(0x175)),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require(a43_0x4a33c7(0x159)),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x4a33c7(0x19c)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a43_0x4a33c7(0x177)),uploadAttachmentsManager=require(a43_0x4a33c7(0x19f)),{performScanWithRetry}=require(a43_0x4a33c7(0x163)),doo11ySync=PerformanceTester[a43_0x4a33c7(0x172)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x3ec13c){const _0x101093=a43_0x4a33c7,_0xec457b={'OUOow':function(_0x295371,_0x1ca1d4,_0x4a50eb){return _0x295371(_0x1ca1d4,_0x4a50eb);},'vOROP':_0x101093(0x162),'bluZX':_0x101093(0x16b),'GVnmP':'annotate','gKuGM':'debug'};if(_0xec457b[_0x101093(0x189)](nestedKeyValue,global,[_0xec457b[_0x101093(0x15a)],_0xec457b['bluZX']]))return;await _0x3ec13c['evaluate'](_0x42b1ed=>{},_0x101093(0x15d)+JSON[_0x101093(0x183)]({'action':_0xec457b[_0x101093(0x195)],'arguments':{'data':_0x101093(0x17e)+Date[_0x101093(0x181)](),'level':_0xec457b[_0x101093(0x18a)]}})),global[_0x101093(0x162)][_0x101093(0x16b)]=!![];},'doo11ySync'));exports[a43_0x4a33c7(0x186)]=()=>{const _0x59b416=a43_0x4a33c7,_0x5ee269={'BTRyT':function(_0x331690,_0x44686,_0x591918,_0x221cb7,_0xa1e363){return _0x331690(_0x44686,_0x591918,_0x221cb7,_0xa1e363);},'NTWAr':function(_0x1fddd5,_0x55183a){return _0x1fddd5(_0x55183a);},'sTBQY':_0x59b416(0x176),'xJooy':function(_0xc91b9,_0x5a42f1,_0x318296){return _0xc91b9(_0x5a42f1,_0x318296);},'hrruP':_0x59b416(0x162),'FmWZX':'lib','yJHAt':_0x59b416(0x15c),'YvZlr':_0x59b416(0x156),'DljBD':function(_0x19733d,_0x37666c){return _0x19733d(_0x37666c);},'Knerb':'Unable\x20to\x20import\x20context\x20for\x20page','hviYy':_0x59b416(0x173)},_0x517d76=path[_0x59b416(0x18b)](_0x5ee269[_0x59b416(0x153)],_0x5ee269[_0x59b416(0x160)],_0x5ee269[_0x59b416(0x170)]),_0x321055=_0x5ee269['DljBD'](importFileFromPWCore,_0x517d76);if(!_0x321055){logger[_0x59b416(0x19a)](_0x5ee269[_0x59b416(0x161)]);return;}const _0x48c9a7=_0x321055[_0x59b416(0x167)],_0x2ae688=_0x48c9a7[_0x59b416(0x182)],_0x34f9b5=_0x2ae688['newPage'];Object['defineProperty'](_0x2ae688,_0x5ee269[_0x59b416(0x184)],{'get':function(){return async function _0x3ad7d1(){const _0x5af0dc=a43_0x347a,_0x44cd1e={'MRARM':function(_0x5461a8,_0x3c7726,_0x2f3a21,_0x126f62,_0xd76589){const _0x1f7554=a43_0x347a;return _0x5ee269[_0x1f7554(0x15e)](_0x5461a8,_0x3c7726,_0x2f3a21,_0x126f62,_0xd76589);}},_0x142960=await _0x34f9b5[_0x5af0dc(0x174)](this,arguments);try{!BrowserstackCLI[_0x5af0dc(0x18c)]()['isRunning']()&&!_0x5ee269['NTWAr'](isFalse,process[_0x5af0dc(0x16e)][_0x5af0dc(0x191)])&&await _0x5ee269[_0x5af0dc(0x154)](doo11ySync,_0x142960);BrowserstackCLI['getInstance']()[_0x5af0dc(0x18e)]()&&(_0x142960[_0x5af0dc(0x16f)]=async(_0x29e9ef,_0x3d7f9c,_0x19d5bb=![])=>{const _0x39b145=_0x5af0dc;await CustomTagManager[_0x39b145(0x16f)](_0x29e9ef,_0x3d7f9c,_0x19d5bb);},_0x142960[_0x5af0dc(0x15f)]=async(_0x33a652,_0x3d5f19=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x33a652,_0x3d5f19);});if(!_0x5ee269[_0x5af0dc(0x154)](isFalse,process['env'][_0x5af0dc(0x16d)])){const _0x3de307=_0x5ee269[_0x5af0dc(0x152)][_0x5af0dc(0x18f)]('|');let _0x3ed789=0x0;while(!![]){switch(_0x3de307[_0x3ed789++]){case'0':_0x142960['getAccessibilityResults']=async()=>{const _0x59287f=_0x5af0dc;return await AccessibilityHelper[_0x59287f(0x158)](_0x142960);};continue;case'1':_0x142960[_0x5af0dc(0x1a0)]=async()=>{const _0x21a5c5=_0x5af0dc;return await _0x44cd1e[_0x21a5c5(0x190)](performScanWithRetry,_0x142960,null,null,!![]);};continue;case'2':_0x142960[_0x5af0dc(0x179)]=async()=>{global['bstackA11yShouldScan']=![];};continue;case'3':_0x142960[_0x5af0dc(0x16a)]=async()=>{const _0x17e245=_0x5af0dc;global[_0x17e245(0x198)]=!![];};continue;case'4':_0x142960[_0x5af0dc(0x187)]=async()=>{const _0x224aef=_0x5af0dc;return await AccessibilityHelper[_0x224aef(0x187)](_0x142960);};continue;}break;}}}catch(_0x77b2fb){logger[_0x5af0dc(0x19a)](_0x5af0dc(0x17d)+util[_0x5af0dc(0x165)](_0x77b2fb));}return _0x5ee269[_0x5af0dc(0x194)](nestedKeyValue,global,[_0x5ee269[_0x5af0dc(0x17a)]])&&(global[_0x5af0dc(0x162)][_0x5af0dc(0x185)]=_0x142960),_0x142960;};}});},exports[a43_0x4a33c7(0x19d)]=()=>{const _0x38dd38=a43_0x4a33c7,_0x1788f4={'bKKJp':function(_0x3dee59,_0x5c691f){return _0x3dee59(_0x5c691f);},'TvgxK':_0x38dd38(0x197),'YZXCr':_0x38dd38(0x192),'JamxJ':_0x38dd38(0x17b)};try{const _0x274a8a=requirePWModule['apply'](null,_0x1788f4[_0x38dd38(0x168)](getPlaywrightLibPath,_0x1788f4[_0x38dd38(0x16c)]));if(!_0x274a8a){logger[_0x38dd38(0x19a)](_0x1788f4[_0x38dd38(0x17f)]);return;}const _0x211b67=_0x274a8a['Dispatcher'],_0x3c5bc6=_0x211b67[_0x38dd38(0x182)],_0x3c422f=_0x3c5bc6[_0x38dd38(0x17b)];Object['defineProperty'](_0x3c5bc6,_0x1788f4[_0x38dd38(0x199)],{'get':function(){return function _0x3ccb1f(){return _0x3c422f['apply'](this,arguments),!![];};}});}catch(_0x5a3638){logger['debug']('Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20'+util[_0x38dd38(0x165)](_0x5a3638));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x1b0298=a44_0x3a60;(function(_0x1a0c3f,_0x22e838){const _0x308bf3=a44_0x3a60,_0xfbf482=_0x1a0c3f();while(!![]){try{const _0x4e61aa=-parseInt(_0x308bf3(0x182))/0x1+-parseInt(_0x308bf3(0x147))/0x2+-parseInt(_0x308bf3(0x170))/0x3+parseInt(_0x308bf3(0x141))/0x4*(parseInt(_0x308bf3(0x1d2))/0x5)+-parseInt(_0x308bf3(0x1e5))/0x6*(parseInt(_0x308bf3(0x1eb))/0x7)+parseInt(_0x308bf3(0x19c))/0x8*(parseInt(_0x308bf3(0x188))/0x9)+parseInt(_0x308bf3(0x1cc))/0xa;if(_0x4e61aa===_0x22e838)break;else _0xfbf482['push'](_0xfbf482['shift']());}catch(_0x13aab8){_0xfbf482['push'](_0xfbf482['shift']());}}}(a44_0x3225,0xc1e39));function a44_0x3a60(_0xfe634a,_0x4765e0){const _0x322511=a44_0x3225();return a44_0x3a60=function(_0x3a60bb,_0xdda620){_0x3a60bb=_0x3a60bb-0x141;let _0x50efaf=_0x322511[_0x3a60bb];return _0x50efaf;},a44_0x3a60(_0xfe634a,_0x4765e0);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x1b0298(0x197)),PerformanceTester=require(a44_0x1b0298(0x1c5)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x1b0298(0x16c)),helper=require('../../../helpers/helper'),path=require(a44_0x1b0298(0x153)),logger=require('../../../helpers/logger')[a44_0x1b0298(0x17e)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x1b0298(0x16e)),util=require(a44_0x1b0298(0x1ad)),TestInfo=require(a44_0x1b0298(0x1b2));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x3e8101=a44_0x1b0298,_0x14c6c6={'DFLiH':function(_0x552bca,_0x132220){return _0x552bca(_0x132220);},'TFmIe':_0x3e8101(0x1c0)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x14c6c6[_0x3e8101(0x1c3)](require,_0x14c6c6['TFmIe'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x58b06e=>{const _0x365682=a44_0x1b0298;return _0x58b06e[_0x365682(0x189)](/@(\w+)/g)?.[_0x365682(0x199)](_0x30ae9b=>_0x30ae9b['slice'](0x1))||[];};function a44_0x3225(){const _0x2957d1=['24lGruGw','oQheG','1.38.0','AjsbG','onTestEnd','Percentage\x20of\x20increased\x20time\x20is\x20','2233196ejDArv','722696KeSItd','sVwwl','calculatePerformance','join','MDsnS','getTestTags','95730HxKsfv','TEST_ATTACHMENT','Total\x20duration\x20for\x20whole\x20build\x20is\x20','ayMpM','debug','KGNrT','runner/loadUtils.js','playwright/lib/common/configLoader.js','tags','Found\x20key:\x20','fellH','playwright/lib/transform/transform.js','path','LEGAp','runner/projectUtils.js','sendSessionDetails','startsWith','ZllUU','TEST_LOG','onTestBegin','setupBrowserDetails','addTraceFilePath','iTupd','attachments','getTestIdentifier','TFwpF','Fjcws','rPZYN','error','fqaOK','@playwright/test/lib/transform/transform.js','getPlaywrightLibPath','LHJcg','@playwright/test','common','Lrwcx','iDcih','../../../helpers/test-observability/constants','aRTOs','./test-details','gAqDO','2975475OkEUXE','aUbaA','OdTGu','extname','Test\x20timeout\x20of','START_TIME','filter','sendTraceZip','sendTestLog','stack','\x20in\x20arguments','1.35.0','SCOnR','onStepEnd','winstonLogger','substr','toISOString','XpuWP','1003400BaOZWH','endSession','PLAYWRIGHT','GXRZf','FbtDL','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','9oTzhSI','match','rznvM','toLowerCase','EvOeu','validateFilePath','onStepBegin','KpqPk','beforeWorkerHook','existsSync','test','GtkQP','ozLNu','GzrTJ','kosxS','../../../helpers/test-observability/utils','NBYbt','map','UbbeB','eWWaj','1476696fPUZqz','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','length','stopAndGenerate','pqMfa','ERROR','1.42.0','AOoEg','calculateTimesFromMultipleFiles','HEAOT','basename','performance-reporter.html','Pwvif','MgcsK','Arguments','GSnYA','find','util','UzmQF','rBNWF','resolve','.json','../../v2/TestInfo','yBWyE','slice','getTime','ndlGG','env','\x20bytes','performance-report-worker-','\x20in\x20attachments','sendEventData','cmmPR','OvdUk','obmDC','afterWorkerHook','../../v2/browserstackCLI','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','endsWith','DFLiH','createReadStream','../../../helpers/performance/performance-tester','uIqXR','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','message','rWorf','VrYtc','format','28447400IYDMhD','EMOoM','NrKZY','doo11ySync','afterTestHook','findNestedKey','30Ymanvz','URZzW','process.js','size','getTransformPath','Trace\x20enabled','FarbM','@playwright/test/lib/common/configLoader.js','oRsPf','statSync','filePath','zVzVf','prototype','playwright','TgYVE','compareVersions','HOeVF','rpesA','wgVLF'];a44_0x3225=function(){return _0x2957d1;};return a44_0x3225();}exports[a44_0x1b0298(0x146)]=_0xcd1c4d=>{const _0x491912=a44_0x1b0298,_0xc8e4b8={'ZllUU':function(_0x22b64b,_0x5c2cbe){return _0x22b64b(_0x5c2cbe);}};if(_0xcd1c4d[_0x491912(0x14f)])return _0xcd1c4d[_0x491912(0x14f)][_0x491912(0x199)](_0x939d52=>_0x939d52[_0x491912(0x157)]('@')?_0x939d52[_0x491912(0x17f)](0x1):_0x939d52);return _0xc8e4b8[_0x491912(0x158)](getTagsFromTitle,_0xcd1c4d['title']);},exports[a44_0x1b0298(0x143)]=async()=>{const _0x30f215=a44_0x1b0298,_0x19723f={'iDcih':function(_0x12e1ef,_0x4d61e1){return _0x12e1ef-_0x4d61e1;},'MgcsK':_0x30f215(0x1a7),'NSDPm':'onBegin','zuMzI':_0x30f215(0x183),'pqMfa':_0x30f215(0x15a),'XpuWP':_0x30f215(0x1e9),'SQXcs':_0x30f215(0x18e),'cmmPR':_0x30f215(0x17d),'Lrwcx':_0x30f215(0x190),'HOeVF':_0x30f215(0x1bf),'yBWyE':'beforeTestHook','KpqPk':_0x30f215(0x1d0),'TFwpF':_0x30f215(0x1cf),'VyRYc':'processPageScreenshot','FbtDL':_0x30f215(0x156),'LHJcg':_0x30f215(0x15b),'iTupd':'requestSpyCallback','ayMpM':_0x30f215(0x178),'UzmQF':function(_0x54d359,_0x36b1e0){return _0x54d359(_0x36b1e0);},'rBNWF':function(_0x26f702,_0x29d2d0){return _0x26f702/_0x29d2d0;},'Fjcws':function(_0xc82155,_0x538a19){return _0xc82155+_0x538a19;},'KapbM':function(_0x592882,_0x31ff31){return _0x592882(_0x31ff31);},'oQheG':function(_0x4e39ca,_0x23526b){return _0x4e39ca*_0x23526b;},'rPZYN':function(_0x4edf48,_0x47c999){return _0x4edf48/_0x47c999;},'JNhNw':function(_0x20ae9b,_0x3bb073){return _0x20ae9b+_0x3bb073;}};if(!process[_0x30f215(0x1b7)][_0x30f215(0x175)])return;const _0x582df3=_0x19723f[_0x30f215(0x16b)](new Date()['getTime'](),new Date(process[_0x30f215(0x1b7)][_0x30f215(0x175)])[_0x30f215(0x1b5)]()),_0x4c3f9e=await PerformanceTester[_0x30f215(0x19f)](_0x19723f[_0x30f215(0x1a9)],[_0x19723f['NSDPm'],_0x19723f['zuMzI'],_0x19723f[_0x30f215(0x1a0)],_0x19723f[_0x30f215(0x181)],_0x19723f['SQXcs'],_0x19723f[_0x30f215(0x1bc)]]),_0x386a62=fs['readdirSync']('.'),_0x3f5336=_0x386a62[_0x30f215(0x176)](_0x15be53=>_0x15be53[_0x30f215(0x157)](_0x30f215(0x1b9))&&_0x15be53[_0x30f215(0x1c2)](_0x30f215(0x1b1))),_0x5bfb35=await PerformanceTester[_0x30f215(0x1a4)](_0x3f5336,[_0x19723f[_0x30f215(0x16a)],_0x19723f[_0x30f215(0x1e2)],_0x19723f[_0x30f215(0x1b3)],_0x19723f[_0x30f215(0x18f)],_0x19723f[_0x30f215(0x160)],_0x19723f['VyRYc'],_0x19723f[_0x30f215(0x186)],_0x19723f[_0x30f215(0x167)],_0x19723f[_0x30f215(0x15d)],_0x19723f[_0x30f215(0x14a)]]);_0x19723f[_0x30f215(0x1ae)](debug,_0x30f215(0x149)+_0x19723f[_0x30f215(0x1af)](_0x582df3,0x3e8)+'\x20s'),_0x19723f[_0x30f215(0x1ae)](debug,_0x30f215(0x1c1)+_0x19723f[_0x30f215(0x161)](_0x5bfb35,_0x4c3f9e)),_0x19723f['KapbM'](debug,_0x30f215(0x1ea)+_0x19723f[_0x30f215(0x1e6)](_0x19723f[_0x30f215(0x162)](_0x19723f['JNhNw'](_0x5bfb35,_0x4c3f9e),_0x582df3),0x64));},exports[a44_0x1b0298(0x1d6)]=()=>{const _0x31d7b5=a44_0x1b0298,_0x2858df={'uIqXR':function(_0x35772d,_0x321a35){return _0x35772d(_0x321a35);},'NrKZY':function(_0x1a4bfe,_0x1ce37){return _0x1a4bfe>=_0x1ce37;},'obmDC':_0x31d7b5(0x1e7),'zVzVf':_0x31d7b5(0x152),'eWWaj':_0x31d7b5(0x1df),'UbbeB':_0x31d7b5(0x17b),'IEBKC':_0x31d7b5(0x165),'ADbDU':_0x31d7b5(0x168),'fellH':'@playwright/test/lib/common/transform.js'},_0xd9e3d9=_0x2858df[_0x31d7b5(0x1c6)](getFrameworkVersion,FRAMEWORKS[_0x31d7b5(0x184)]);if(_0x2858df[_0x31d7b5(0x1ce)](helper[_0x31d7b5(0x1e1)](_0xd9e3d9,_0x2858df[_0x31d7b5(0x1be)]),0x0))return[_0x2858df[_0x31d7b5(0x1dd)],_0x2858df[_0x31d7b5(0x19b)]];if(_0x2858df[_0x31d7b5(0x1ce)](helper['compareVersions'](_0xd9e3d9,_0x2858df[_0x31d7b5(0x19a)]),0x0))return[_0x2858df['IEBKC'],_0x2858df['ADbDU']];return[_0x2858df[_0x31d7b5(0x151)],_0x2858df['ADbDU']];},exports['getConfigLoaderPath']=()=>{const _0x32692f=a44_0x1b0298,_0x541cc3={'wgVLF':function(_0x3eb4dd,_0x5776cc){return _0x3eb4dd(_0x5776cc);},'GtkQP':function(_0x19e7c6,_0x4f7559){return _0x19e7c6>=_0x4f7559;},'uNTvQ':'1.38.0','MDsnS':_0x32692f(0x14e),'PqJKE':_0x32692f(0x1df),'URZzW':_0x32692f(0x1d9),'kosxS':_0x32692f(0x168)},_0x78454=_0x541cc3[_0x32692f(0x1e4)](getFrameworkVersion,FRAMEWORKS[_0x32692f(0x184)]);if(_0x541cc3[_0x32692f(0x193)](helper[_0x32692f(0x1e1)](_0x78454,_0x541cc3['uNTvQ']),0x0))return[_0x541cc3[_0x32692f(0x145)],_0x541cc3['PqJKE']];return[_0x541cc3[_0x32692f(0x1d3)],_0x541cc3[_0x32692f(0x196)]];},exports['getLoadUtilsPath']=()=>{const _0x893990=a44_0x1b0298,_0x241e97={};_0x241e97[_0x893990(0x1c9)]=_0x893990(0x14d);const _0x8fb789=_0x241e97;return helper[_0x893990(0x166)](_0x8fb789[_0x893990(0x1c9)]);},exports['getProjectUtilsPath']=()=>{const _0x1b0634=a44_0x1b0298,_0x216c4e={};_0x216c4e[_0x1b0634(0x164)]=_0x1b0634(0x155);const _0x52f4c6=_0x216c4e;return helper[_0x1b0634(0x166)](_0x52f4c6[_0x1b0634(0x164)]);},exports['getForkProcessPath']=()=>{const _0x38db7f=a44_0x1b0298,_0x3bc393={'NBYbt':function(_0x1642b3,_0x1c8a17){return _0x1642b3(_0x1c8a17);},'Pwvif':function(_0x2a35e1,_0x42aa76){return _0x2a35e1>=_0x42aa76;},'aUbaA':_0x38db7f(0x1e7),'ndlGG':'lib','SCOnR':_0x38db7f(0x169),'KGNrT':_0x38db7f(0x1d4),'oRsPf':_0x38db7f(0x192)},_0x481a88=_0x3bc393[_0x38db7f(0x198)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3bc393[_0x38db7f(0x1a8)](helper['compareVersions'](_0x481a88,_0x3bc393[_0x38db7f(0x171)]),0x0))return path[_0x38db7f(0x144)](_0x3bc393[_0x38db7f(0x1b6)],_0x3bc393[_0x38db7f(0x17c)],_0x3bc393[_0x38db7f(0x14c)]);return path[_0x38db7f(0x144)](_0x3bc393[_0x38db7f(0x1da)],_0x3bc393[_0x38db7f(0x1b6)],_0x3bc393[_0x38db7f(0x17c)],_0x3bc393[_0x38db7f(0x14c)]);},exports['getFailureData']=(_0x84ded5,{test_run_uuid:_0x6efa2a})=>{const _0x24d835=a44_0x1b0298,_0x1f5ab8={'YnBon':_0x24d835(0x1a1),'EvOeu':_0x24d835(0x159),'sVwwl':function(_0x35cd01,_0x111b9b){return _0x35cd01<=_0x111b9b;},'EMOoM':function(_0x4ee187,_0x16af03){return _0x4ee187(_0x16af03);},'hDLfK':_0x24d835(0x174),'VrYtc':function(_0x263410,_0x1a6f64){return _0x263410(_0x1a6f64);},'fucZP':function(_0x57c36e,_0x1b08f6){return _0x57c36e>=_0x1b08f6;},'rznvM':_0x24d835(0x1a2),'LzBaq':function(_0x59c7b3,_0x39ee1f){return _0x59c7b3>_0x39ee1f;},'SWHKe':function(_0x394868,_0x44a9e5){return _0x394868(_0x44a9e5);},'LEGAp':function(_0x1de16e,_0x4c9a84,_0x363c10){return _0x1de16e(_0x4c9a84,_0x363c10);},'KGFwn':'test'};if(!_0x84ded5||_0x1f5ab8[_0x24d835(0x142)](_0x84ded5['length'],0x0))return[];const _0x506c62=_0x1f5ab8[_0x24d835(0x1cd)](removeAnsiColors,_0x84ded5[0x0]['message']);if(_0x506c62['startsWith'](_0x1f5ab8['hDLfK'])){const _0x46cd12=_0x84ded5[0x0],_0x52b6bc=_0x1f5ab8[_0x24d835(0x1ca)](getFrameworkVersion,FRAMEWORKS[_0x24d835(0x184)]);if((!_0x46cd12[_0x24d835(0x179)]||_0x1f5ab8['fucZP'](_0x52b6bc,_0x1f5ab8[_0x24d835(0x18a)]))&&_0x1f5ab8['LzBaq'](_0x84ded5[_0x24d835(0x19e)],0x1))return{'failureData':[{'backtrace':[_0x506c62,_0x1f5ab8['SWHKe'](removeAnsiColors,_0x84ded5[0x1][_0x24d835(0x179)])]}],'logs':_0x84ded5[_0x24d835(0x1b4)](0x2)[_0x24d835(0x199)](_0x5474fb=>{const _0x54edeb=_0x24d835;return{'timestamp':new Date()[_0x54edeb(0x180)](),'level':_0x1f5ab8['YnBon'],'message':''+_0x5474fb[_0x54edeb(0x1c8)],'kind':_0x1f5ab8[_0x54edeb(0x18c)],'http_response':{},'test_run_uuid':_0x6efa2a};})};}return{'failureData':_0x1f5ab8[_0x24d835(0x154)](failureData,_0x84ded5,_0x1f5ab8['KGFwn']),'logs':[]};},exports[a44_0x1b0298(0x18d)]=_0xeb0a6e=>{const _0x4fe6c5=a44_0x1b0298,_0x438dac={};_0x438dac[_0x4fe6c5(0x1d8)]=function(_0x217a83,_0x54b1ae){return _0x217a83!==_0x54b1ae;},_0x438dac['GzrTJ']='.zip',_0x438dac[_0x4fe6c5(0x1bd)]=function(_0x9307bd,_0x40beb7){return _0x9307bd>_0x40beb7;};const _0x28491a=_0x438dac;if(_0xeb0a6e&&fs[_0x4fe6c5(0x191)](_0xeb0a6e)){if(_0x28491a[_0x4fe6c5(0x1d8)](path[_0x4fe6c5(0x173)](_0xeb0a6e)[_0x4fe6c5(0x18b)](),_0x28491a[_0x4fe6c5(0x195)]))return logger['error'](_0x4fe6c5(0x19d)+_0xeb0a6e),![];const _0x261435=fs[_0x4fe6c5(0x1db)](_0xeb0a6e)[_0x4fe6c5(0x1d5)];if(_0x28491a[_0x4fe6c5(0x1bd)](_0x261435,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x4fe6c5(0x187)+_0x261435+_0x4fe6c5(0x1b8)),![];return!![];}return![];},exports[a44_0x1b0298(0x1d1)]=(_0x22b748,_0x354dbf)=>{const _0x2b4a3a=a44_0x1b0298,_0x1ded05={};_0x1ded05[_0x2b4a3a(0x1ab)]=_0x2b4a3a(0x1aa);const _0x2be937=_0x1ded05;logger['debug']('Searching\x20for\x20key:\x20'+_0x354dbf);if(_0x22b748&&_0x22b748[_0x2b4a3a(0x15e)]){const _0x1c7c48=_0x22b748['attachments'][_0x2b4a3a(0x1ac)](_0x15d601=>_0x15d601['name']==='trace');if(_0x1c7c48)return logger[_0x2b4a3a(0x14b)](_0x2b4a3a(0x150)+_0x354dbf+_0x2b4a3a(0x1ba)),_0x1c7c48[_0x354dbf];}else{if(_0x22b748&&Object[_0x2b4a3a(0x1de)]['toString']['call'](_0x22b748)['includes'](_0x2be937[_0x2b4a3a(0x1ab)]))for(const _0x10d7bf of _0x22b748){if(_0x10d7bf[_0x354dbf])return logger[_0x2b4a3a(0x14b)](_0x2b4a3a(0x150)+_0x354dbf+_0x2b4a3a(0x17a)),_0x10d7bf[_0x354dbf];}};return'';},exports['uploadTraceZip']=async(_0x15aaa8,_0x1c71e6)=>{const _0x285ebe=a44_0x1b0298,_0x5522cd={};_0x5522cd[_0x285ebe(0x185)]='LogCreated',_0x5522cd[_0x285ebe(0x1e0)]=_0x285ebe(0x148),_0x5522cd[_0x285ebe(0x1e3)]=_0x285ebe(0x177),_0x5522cd[_0x285ebe(0x16d)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x15339e=_0x5522cd;try{const _0x13c539={'event_type':_0x15339e['GXRZf'],'logs':[{'data':_0x15aaa8?fs[_0x285ebe(0x1c4)](_0x15aaa8):'','test_run_uuid':_0x1c71e6,'kind':_0x15339e[_0x285ebe(0x1e0)],'fileName':_0x15aaa8?path[_0x285ebe(0x1a6)](_0x15aaa8):''}]};return await SessionHandler[_0x285ebe(0x1bb)](_0x13c539,0x0,_0x15339e[_0x285ebe(0x1e3)]);}catch(_0x12d7e8){logger[_0x285ebe(0x163)](util[_0x285ebe(0x1cb)](_0x15339e['aRTOs'],_0x12d7e8));}},exports[a44_0x1b0298(0x177)]=async(_0xac7dbb,_0x149eb8)=>{const _0x5d8bc7=a44_0x1b0298,_0x1c49ac={'HEAOT':_0x5d8bc7(0x153),'DJbXl':_0x5d8bc7(0x1d7),'mCOST':function(_0x26261a){return _0x26261a();},'OdTGu':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x5d8bc7(0x14b)](_0x5d8bc7(0x1c7)+_0x149eb8);let _0x1d13c7=await exports[_0x5d8bc7(0x1d1)](_0xac7dbb,_0x1c49ac[_0x5d8bc7(0x1a5)]);if(exports[_0x5d8bc7(0x18d)](_0x1d13c7)){logger[_0x5d8bc7(0x14b)](_0x1c49ac['DJbXl']),_0x1d13c7=path[_0x5d8bc7(0x1b0)](_0x1d13c7);const _0x1e9738={};_0x1e9738['testUId']=_0x149eb8,_0x1e9738[_0x5d8bc7(0x1dc)]=_0x1d13c7;const _0x2e68b5=_0x1e9738;_0x1c49ac['mCOST'](getBrowserstackCLI)['getInstance']()['isRunning']()?TestInfo[_0x5d8bc7(0x15c)](_0x2e68b5):TestDetails['addTraceFilePath'](_0x2e68b5);};}catch(_0x6f7bd7){logger[_0x5d8bc7(0x163)](util[_0x5d8bc7(0x1cb)](_0x1c49ac[_0x5d8bc7(0x172)],_0x6f7bd7));}},exports[a44_0x1b0298(0x15f)]=_0x24b3a7=>{const _0x4f0d22=a44_0x1b0298,_0x247fd6={};_0x247fd6[_0x4f0d22(0x16f)]=function(_0x345b54,_0x52021d){return _0x345b54+_0x52021d;},_0x247fd6[_0x4f0d22(0x1a3)]=function(_0x242a12,_0x206bc5){return _0x242a12+_0x206bc5;};const _0x2325c7=_0x247fd6;return _0x2325c7['gAqDO'](_0x2325c7[_0x4f0d22(0x1a3)](_0x24b3a7['_projectId'],'-'),_0x24b3a7['id']);},exports['getTestRunIdentifier']=(_0x30be78,_0x539d12)=>{const _0x2e9676=a44_0x1b0298,_0x4d5492={};_0x4d5492[_0x2e9676(0x1e8)]=function(_0x4465ae,_0x463ba4){return _0x4465ae+_0x463ba4;},_0x4d5492[_0x2e9676(0x194)]=function(_0x16764e,_0x4e3786){return _0x16764e+_0x4e3786;};const _0x5397fa=_0x4d5492;return _0x5397fa[_0x2e9676(0x1e8)](_0x5397fa[_0x2e9676(0x194)](_0x30be78['id'],'-'),_0x539d12);};
|
|
1
|
+
function a44_0x24ce(_0x4968ad,_0x44b861){const _0x2a9795=a44_0x2a97();return a44_0x24ce=function(_0x24ceab,_0x1e2d1d){_0x24ceab=_0x24ceab-0x8c;let _0x2e13c9=_0x2a9795[_0x24ceab];return _0x2e13c9;},a44_0x24ce(_0x4968ad,_0x44b861);}const a44_0x2a9b41=a44_0x24ce;(function(_0xab1e42,_0x181297){const _0x14ee56=a44_0x24ce,_0x574a17=_0xab1e42();while(!![]){try{const _0x4e21d4=parseInt(_0x14ee56(0x12d))/0x1*(-parseInt(_0x14ee56(0xe7))/0x2)+parseInt(_0x14ee56(0x133))/0x3*(-parseInt(_0x14ee56(0x114))/0x4)+parseInt(_0x14ee56(0x112))/0x5+parseInt(_0x14ee56(0x10c))/0x6*(parseInt(_0x14ee56(0xf8))/0x7)+-parseInt(_0x14ee56(0xb5))/0x8*(-parseInt(_0x14ee56(0x12a))/0x9)+-parseInt(_0x14ee56(0xb3))/0xa+parseInt(_0x14ee56(0xca))/0xb;if(_0x4e21d4===_0x181297)break;else _0x574a17['push'](_0x574a17['shift']());}catch(_0x4ccf38){_0x574a17['push'](_0x574a17['shift']());}}}(a44_0x2a97,0xdb915));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a44_0x2a9b41(0xa3)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x2a9b41(0xa7)),helper=require(a44_0x2a9b41(0x111)),path=require(a44_0x2a9b41(0xb0)),logger=require(a44_0x2a9b41(0xe5))[a44_0x2a9b41(0xdc)],SessionHandler=require(a44_0x2a9b41(0xbd)),TestDetails=require('./test-details'),util=require(a44_0x2a9b41(0x103)),TestInfo=require(a44_0x2a9b41(0x119));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x5034a6=a44_0x2a9b41,_0x326097={'fGBpl':function(_0x14d267,_0x14053b){return _0x14d267(_0x14053b);},'QkJTl':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x326097['fGBpl'](require,_0x326097[_0x5034a6(0xbb)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x10bf3a=>{const _0x5873c3=a44_0x2a9b41;return _0x10bf3a['match'](/@(\w+)/g)?.['map'](_0x254a5e=>_0x254a5e[_0x5873c3(0xf9)](0x1))||[];};exports[a44_0x2a9b41(0xb8)]=_0x477125=>{const _0x4b07f5=a44_0x2a9b41,_0x20604a={'nzXGD':function(_0xff7b92,_0x3ee268){return _0xff7b92(_0x3ee268);}};if(_0x477125[_0x4b07f5(0x12f)])return _0x477125['tags'][_0x4b07f5(0x10d)](_0x421128=>_0x421128[_0x4b07f5(0xda)]('@')?_0x421128[_0x4b07f5(0xbf)](0x1):_0x421128);return _0x20604a[_0x4b07f5(0x107)](getTagsFromTitle,_0x477125[_0x4b07f5(0x129)]);},exports[a44_0x2a9b41(0x11f)]=async()=>{const _0x5712df=a44_0x2a9b41,_0x54a30d={'jKqJQ':function(_0x4230e9,_0x1f7201){return _0x4230e9-_0x1f7201;},'jNQHR':'performance-reporter.html','Haoey':'onBegin','qlAnG':_0x5712df(0x9a),'xZjrf':_0x5712df(0x98),'vSbrt':_0x5712df(0xc1),'TzUfa':_0x5712df(0xe3),'WkIWF':'onStepEnd','czaqt':_0x5712df(0x102),'adXEH':_0x5712df(0xd6),'bJCVn':_0x5712df(0xfd),'RktTL':_0x5712df(0xc6),'EAbUs':_0x5712df(0x92),'ilyuz':_0x5712df(0x130),'Khmgm':_0x5712df(0x9b),'oBYiI':'setupBrowserDetails','cExOU':_0x5712df(0x96),'qkmQU':'sendTestLog','dTFNX':function(_0x9acf19,_0x2e93b0){return _0x9acf19(_0x2e93b0);},'OxPvM':function(_0x18b6e8,_0x3e11f7){return _0x18b6e8/_0x3e11f7;},'caGwL':function(_0x8131b2,_0x667f40){return _0x8131b2+_0x667f40;},'ufKnL':function(_0x2ffb87,_0x4f6072){return _0x2ffb87*_0x4f6072;},'CcQzC':function(_0x4ba24b,_0x4f54ef){return _0x4ba24b/_0x4f54ef;}};if(!process[_0x5712df(0xab)][_0x5712df(0x125)])return;const _0x5beffe=_0x54a30d['jKqJQ'](new Date()[_0x5712df(0xa1)](),new Date(process[_0x5712df(0xab)][_0x5712df(0x125)])[_0x5712df(0xa1)]()),_0x41a953=await PerformanceTester['stopAndGenerate'](_0x54a30d[_0x5712df(0xbe)],[_0x54a30d['Haoey'],_0x54a30d['qlAnG'],_0x54a30d[_0x5712df(0xeb)],_0x54a30d[_0x5712df(0xef)],_0x54a30d[_0x5712df(0xcc)],_0x54a30d['WkIWF']]),_0x544013=fs[_0x5712df(0xa5)]('.'),_0x19f806=_0x544013[_0x5712df(0x94)](_0x26e490=>_0x26e490[_0x5712df(0xda)](_0x5712df(0xaf))&&_0x26e490[_0x5712df(0xea)](_0x5712df(0xce))),_0x38e734=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x19f806,[_0x54a30d[_0x5712df(0xcb)],_0x54a30d[_0x5712df(0xe8)],_0x54a30d[_0x5712df(0xb9)],_0x54a30d['RktTL'],_0x54a30d[_0x5712df(0x11c)],_0x54a30d[_0x5712df(0x91)],_0x54a30d[_0x5712df(0xd2)],_0x54a30d[_0x5712df(0x10a)],_0x54a30d[_0x5712df(0xf2)],_0x54a30d[_0x5712df(0xed)]]);_0x54a30d['dTFNX'](debug,_0x5712df(0xd4)+_0x54a30d[_0x5712df(0xc0)](_0x5beffe,0x3e8)+'\x20s'),_0x54a30d[_0x5712df(0x97)](debug,_0x5712df(0xe1)+_0x54a30d[_0x5712df(0xf3)](_0x38e734,_0x41a953)),_0x54a30d['dTFNX'](debug,_0x5712df(0xb2)+_0x54a30d[_0x5712df(0xa8)](_0x54a30d[_0x5712df(0x122)](_0x54a30d['caGwL'](_0x38e734,_0x41a953),_0x5beffe),0x64));},exports[a44_0x2a9b41(0x9d)]=()=>{const _0xaea1e5=a44_0x2a9b41,_0x537245={'QpMib':function(_0x3deac4,_0x53b25a){return _0x3deac4(_0x53b25a);},'cUQLH':function(_0x328ded,_0x15d3a1){return _0x328ded>=_0x15d3a1;},'AdpfB':'1.38.0','JkjLp':_0xaea1e5(0xd7),'OxLCm':_0xaea1e5(0x120),'JEeWk':'1.35.0','WhdPT':_0xaea1e5(0x11b),'gSZUd':_0xaea1e5(0xec),'NHbWO':_0xaea1e5(0xee)},_0x3555e2=_0x537245[_0xaea1e5(0xc2)](getFrameworkVersion,FRAMEWORKS[_0xaea1e5(0xf5)]);if(_0x537245[_0xaea1e5(0x127)](helper['compareVersions'](_0x3555e2,_0x537245['AdpfB']),0x0))return[_0x537245[_0xaea1e5(0xd0)],_0x537245[_0xaea1e5(0x104)]];if(_0x537245[_0xaea1e5(0x127)](helper[_0xaea1e5(0xc4)](_0x3555e2,_0x537245[_0xaea1e5(0xe6)]),0x0))return[_0x537245['WhdPT'],_0x537245[_0xaea1e5(0x101)]];return[_0x537245['NHbWO'],_0x537245[_0xaea1e5(0x101)]];},exports[a44_0x2a9b41(0x8e)]=()=>{const _0x178605=a44_0x2a9b41,_0x1af2a5={'BclAk':function(_0x5386c8,_0x41c0ae){return _0x5386c8(_0x41c0ae);},'vPfvz':function(_0xcecd22,_0x46fb07){return _0xcecd22>=_0x46fb07;},'baNWi':_0x178605(0x124),'VoxjX':_0x178605(0xb7),'NHGDe':'playwright','MNYUo':_0x178605(0xfc),'Gigtz':'@playwright/test'},_0x31b06c=_0x1af2a5[_0x178605(0x118)](getFrameworkVersion,FRAMEWORKS[_0x178605(0xf5)]);if(_0x1af2a5[_0x178605(0xf7)](helper[_0x178605(0xc4)](_0x31b06c,_0x1af2a5[_0x178605(0x10e)]),0x0))return[_0x1af2a5[_0x178605(0x12c)],_0x1af2a5[_0x178605(0xd1)]];return[_0x1af2a5[_0x178605(0xdd)],_0x1af2a5['Gigtz']];},exports[a44_0x2a9b41(0x126)]=()=>{const _0x120306=a44_0x2a9b41,_0x2401f0={};_0x2401f0[_0x120306(0x123)]=_0x120306(0xe0);const _0x3f1050=_0x2401f0;return helper[_0x120306(0xcd)](_0x3f1050[_0x120306(0x123)]);},exports[a44_0x2a9b41(0xc9)]=()=>{const _0x304b33=a44_0x2a9b41,_0x1a7c95={};_0x1a7c95['IuRgg']=_0x304b33(0xdf);const _0x50c164=_0x1a7c95;return helper[_0x304b33(0xcd)](_0x50c164[_0x304b33(0x10b)]);},exports[a44_0x2a9b41(0xa6)]=()=>{const _0x12ef62=a44_0x2a9b41,_0x17f142={'ENWXb':function(_0x1d55c0,_0x4843c9){return _0x1d55c0(_0x4843c9);},'bQUAK':function(_0x42f37f,_0x5ac7d1){return _0x42f37f>=_0x5ac7d1;},'JqemL':_0x12ef62(0x124),'AoegO':_0x12ef62(0xb4),'dddXl':_0x12ef62(0x113),'rItdV':'process.js','Hwjrt':_0x12ef62(0xe9)},_0x150a54=_0x17f142[_0x12ef62(0x11e)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x17f142[_0x12ef62(0x11d)](helper[_0x12ef62(0xc4)](_0x150a54,_0x17f142['JqemL']),0x0))return path['join'](_0x17f142['AoegO'],_0x17f142[_0x12ef62(0xff)],_0x17f142[_0x12ef62(0x8d)]);return path['join'](_0x17f142[_0x12ef62(0xb1)],_0x17f142[_0x12ef62(0x117)],_0x17f142['dddXl'],_0x17f142['rItdV']);},exports['getFailureData']=(_0x4079f2,{test_run_uuid:_0x3ea915})=>{const _0x244120=a44_0x2a9b41,_0x41c458={'AQNfL':'ERROR','ACKRE':_0x244120(0xf0),'HBbRH':function(_0x2b8ec7,_0x442f05){return _0x2b8ec7<=_0x442f05;},'bDjPp':function(_0x4712fb,_0x587685){return _0x4712fb(_0x587685);},'pZlOr':_0x244120(0xba),'NIKvI':function(_0x53ea1c,_0x5f1532){return _0x53ea1c>=_0x5f1532;},'lCgPG':_0x244120(0xd5),'tSGhc':function(_0x4c8f5b,_0x472def){return _0x4c8f5b>_0x472def;},'XrlNk':function(_0x243207,_0x84d9fa){return _0x243207(_0x84d9fa);},'QULrU':function(_0x4493a9,_0x5f1889,_0x6bfaf6){return _0x4493a9(_0x5f1889,_0x6bfaf6);},'FwkrI':'test'};if(!_0x4079f2||_0x41c458[_0x244120(0x116)](_0x4079f2['length'],0x0))return[];const _0x70121b=_0x41c458['bDjPp'](removeAnsiColors,_0x4079f2[0x0][_0x244120(0x108)]);if(_0x70121b[_0x244120(0xda)](_0x41c458[_0x244120(0xa0)])){const _0x22393d=_0x4079f2[0x0],_0x1fd8a6=_0x41c458['bDjPp'](getFrameworkVersion,FRAMEWORKS[_0x244120(0xf5)]);if((!_0x22393d[_0x244120(0x12b)]||_0x41c458[_0x244120(0xcf)](_0x1fd8a6,_0x41c458[_0x244120(0x90)]))&&_0x41c458[_0x244120(0xfa)](_0x4079f2['length'],0x1))return{'failureData':[{'backtrace':[_0x70121b,_0x41c458['XrlNk'](removeAnsiColors,_0x4079f2[0x1][_0x244120(0x12b)])]}],'logs':_0x4079f2[_0x244120(0xf9)](0x2)[_0x244120(0x10d)](_0xaa4745=>{const _0x28b986=_0x244120;return{'timestamp':new Date()[_0x28b986(0xfb)](),'level':_0x41c458[_0x28b986(0xf6)],'message':''+_0xaa4745[_0x28b986(0x108)],'kind':_0x41c458[_0x28b986(0xad)],'http_response':{},'test_run_uuid':_0x3ea915};})};}return{'failureData':_0x41c458['QULrU'](failureData,_0x4079f2,_0x41c458[_0x244120(0x134)]),'logs':[]};},exports[a44_0x2a9b41(0xd9)]=_0x820d13=>{const _0x2793de=a44_0x2a9b41,_0x244866={};_0x244866['dsACj']=function(_0x557810,_0x499e75){return _0x557810!==_0x499e75;},_0x244866[_0x2793de(0x106)]='.zip',_0x244866['HwTaQ']=function(_0xa682db,_0x22a16){return _0xa682db>_0x22a16;};const _0x5f1200=_0x244866;if(_0x820d13&&fs['existsSync'](_0x820d13)){if(_0x5f1200['dsACj'](path[_0x2793de(0x100)](_0x820d13)['toLowerCase'](),_0x5f1200[_0x2793de(0x106)]))return logger[_0x2793de(0xa4)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x820d13),![];const _0x191597=fs[_0x2793de(0xac)](_0x820d13)[_0x2793de(0x9c)];if(_0x5f1200['HwTaQ'](_0x191597,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x2793de(0xa4)](_0x2793de(0xde)+_0x191597+_0x2793de(0xc8)),![];return!![];}return![];},exports['findNestedKey']=(_0x30418d,_0x3938a7)=>{const _0x41aeec=a44_0x2a9b41,_0x592562={};_0x592562['mUtOO']='Arguments';const _0x391c9d=_0x592562;logger['debug'](_0x41aeec(0x109)+_0x3938a7);if(_0x30418d&&_0x30418d[_0x41aeec(0xf4)]){const _0x1fa16e=_0x30418d[_0x41aeec(0xf4)][_0x41aeec(0x115)](_0x5c1cce=>_0x5c1cce[_0x41aeec(0x105)]===_0x41aeec(0x110));if(_0x1fa16e)return logger[_0x41aeec(0x99)](_0x41aeec(0xaa)+_0x3938a7+'\x20in\x20attachments'),_0x1fa16e[_0x3938a7];}else{if(_0x30418d&&Object[_0x41aeec(0xc3)]['toString'][_0x41aeec(0xe4)](_0x30418d)[_0x41aeec(0xd8)](_0x391c9d[_0x41aeec(0xa2)]))for(const _0x41bacc of _0x30418d){if(_0x41bacc[_0x3938a7])return logger['debug'](_0x41aeec(0xaa)+_0x3938a7+'\x20in\x20arguments'),_0x41bacc[_0x3938a7];}};return'';},exports[a44_0x2a9b41(0xdb)]=async(_0x33be7b,_0x133d63)=>{const _0x22289c=a44_0x2a9b41,_0x1467a4={};_0x1467a4['fLbmZ']='LogCreated',_0x1467a4[_0x22289c(0xbc)]=_0x22289c(0xae),_0x1467a4[_0x22289c(0x128)]=_0x22289c(0xa9),_0x1467a4[_0x22289c(0x121)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x19fff4=_0x1467a4;try{const _0x52839b={'event_type':_0x19fff4[_0x22289c(0x9e)],'logs':[{'data':_0x33be7b?fs['createReadStream'](_0x33be7b):'','test_run_uuid':_0x133d63,'kind':_0x19fff4[_0x22289c(0xbc)],'fileName':_0x33be7b?path['basename'](_0x33be7b):''}]};return await SessionHandler['sendEventData'](_0x52839b,0x0,_0x19fff4[_0x22289c(0x128)]);}catch(_0x283268){logger[_0x22289c(0xa4)](util[_0x22289c(0x132)](_0x19fff4['vToov'],_0x283268));}},exports[a44_0x2a9b41(0xa9)]=async(_0x30d41b,_0x52cd9)=>{const _0x20e30e=a44_0x2a9b41,_0x38022a={'wCMuw':_0x20e30e(0xb0),'IpxlX':'Trace\x20enabled','QWoAd':function(_0x11a325){return _0x11a325();},'aCWlQ':_0x20e30e(0xb6)};try{logger[_0x20e30e(0x99)](_0x20e30e(0xd3)+_0x52cd9);let _0x2b51f1=await exports[_0x20e30e(0x131)](_0x30d41b,_0x38022a[_0x20e30e(0x12e)]);if(exports[_0x20e30e(0xd9)](_0x2b51f1)){logger['debug'](_0x38022a[_0x20e30e(0xc7)]),_0x2b51f1=path[_0x20e30e(0x8c)](_0x2b51f1);const _0x19d363={};_0x19d363[_0x20e30e(0xfe)]=_0x52cd9,_0x19d363[_0x20e30e(0xc5)]=_0x2b51f1;const _0x4744b7=_0x19d363;_0x38022a['QWoAd'](getBrowserstackCLI)[_0x20e30e(0xf1)]()['isRunning']()?TestInfo[_0x20e30e(0xe2)](_0x4744b7):TestDetails[_0x20e30e(0xe2)](_0x4744b7);};}catch(_0x588386){logger[_0x20e30e(0xa4)](util[_0x20e30e(0x132)](_0x38022a[_0x20e30e(0x93)],_0x588386));}},exports['getTestIdentifier']=_0xd7a454=>{const _0x54f5f2=a44_0x2a9b41,_0xf3d474={};_0xf3d474[_0x54f5f2(0x11a)]=function(_0x15a2c8,_0x8e06d6){return _0x15a2c8+_0x8e06d6;},_0xf3d474[_0x54f5f2(0x95)]=function(_0x2f744d,_0x15a7a9){return _0x2f744d+_0x15a7a9;};const _0x4b2820=_0xf3d474;return _0x4b2820[_0x54f5f2(0x11a)](_0x4b2820['HyQjF'](_0xd7a454[_0x54f5f2(0x10f)],'-'),_0xd7a454['id']);},exports[a44_0x2a9b41(0x9f)]=(_0x4a954e,_0x4537af)=>{const _0x1af109=a44_0x2a9b41,_0x394254={};_0x394254[_0x1af109(0x8f)]=function(_0x2b87bc,_0xc707ee){return _0x2b87bc+_0xc707ee;};const _0x265c5a=_0x394254;return _0x265c5a[_0x1af109(0x8f)](_0x265c5a[_0x1af109(0x8f)](_0x4a954e['id'],'-'),_0x4537af);};function a44_0x2a97(){const _0x13c4ed=['getTestRunIdentifier','pZlOr','getTime','mUtOO','../../../helpers/performance/performance-tester','error','readdirSync','getForkProcessPath','../../../helpers/test-observability/constants','ufKnL','sendTraceZip','Found\x20key:\x20','env','statSync','ACKRE','TEST_ATTACHMENT','performance-report-worker-','path','Hwjrt','Percentage\x20of\x20increased\x20time\x20is\x20','10810840aUZXlf','lib','864IFWHjD','Error\x20in\x20sending\x20trace\x20file:\x20%s','playwright/lib/common/configLoader.js','getTestTags','bJCVn','Test\x20timeout\x20of','QkJTl','ebxew','../../../helpers/test-observability/sessionHandler','jNQHR','substr','OxPvM','onTestEnd','QpMib','prototype','compareVersions','filePath','afterTestHook','IpxlX','\x20bytes','getProjectUtilsPath','20796061kleDnh','czaqt','TzUfa','getPlaywrightLibPath','.json','NIKvI','JkjLp','NHGDe','Khmgm','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','Total\x20duration\x20for\x20whole\x20build\x20is\x20','1.42.0','afterWorkerHook','playwright/lib/transform/transform.js','includes','validateFilePath','startsWith','uploadTraceZip','winstonLogger','MNYUo','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','runner/projectUtils.js','runner/loadUtils.js','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','addTraceFilePath','onStepBegin','call','../../../helpers/logger','JEeWk','4hkCOkq','adXEH','test','endsWith','xZjrf','@playwright/test','qkmQU','@playwright/test/lib/common/transform.js','vSbrt','TEST_LOG','getInstance','cExOU','caGwL','attachments','PLAYWRIGHT','AQNfL','vPfvz','7afHoOp','slice','tSGhc','toISOString','@playwright/test/lib/common/configLoader.js','beforeTestHook','testUId','dddXl','extname','gSZUd','beforeWorkerHook','util','OxLCm','name','lydOI','nzXGD','message','Searching\x20for\x20key:\x20','oBYiI','IuRgg','5322396gGdkxa','map','baNWi','_projectId','trace','../../../helpers/helper','5784645ZhZLPx','common','140AWgSev','find','HBbRH','AoegO','BclAk','../../v2/TestInfo','ljcWP','@playwright/test/lib/transform/transform.js','EAbUs','bQUAK','ENWXb','calculatePerformance','playwright','vToov','CcQzC','caNKq','1.38.0','START_TIME','getLoadUtilsPath','cUQLH','TYVrM','title','44865FWyjZS','stack','VoxjX','479939lWjGTE','wCMuw','tags','processPageScreenshot','findNestedKey','format','131367jJXcsS','FwkrI','resolve','rItdV','getConfigLoaderPath','tEpFi','lCgPG','ilyuz','doo11ySync','aCWlQ','filter','HyQjF','requestSpyCallback','dTFNX','onTestBegin','debug','endSession','sendSessionDetails','size','getTransformPath','fLbmZ'];a44_0x2a97=function(){return _0x13c4ed;};return a44_0x2a97();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45_0xf2a4f0=a45_0x3095;(function(_0x317c29,_0x2ac0d3){const _0x3efe5d=a45_0x3095,_0x5251db=_0x317c29();while(!![]){try{const _0x173502=parseInt(_0x3efe5d(0x1c5))/0x1+-parseInt(_0x3efe5d(0x1ef))/0x2+-parseInt(_0x3efe5d(0x223))/0x3+parseInt(_0x3efe5d(0x16d))/0x4+parseInt(_0x3efe5d(0x17a))/0x5*(parseInt(_0x3efe5d(0x186))/0x6)+-parseInt(_0x3efe5d(0x205))/0x7+-parseInt(_0x3efe5d(0x13a))/0x8;if(_0x173502===_0x2ac0d3)break;else _0x5251db['push'](_0x5251db['shift']());}catch(_0x16674c){_0x5251db['push'](_0x5251db['shift']());}}}(a45_0x41e9,0xdd89d));const RequestQueueHandler=require(a45_0xf2a4f0(0x1ff)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0xf2a4f0(0x1f2)),{v4:uuidv4}=require(a45_0xf2a4f0(0x15b)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0xf2a4f0(0x14c)),fs=require('fs'),util=require(a45_0xf2a4f0(0x168)),{o11yClassErrorHandler}=require(a45_0xf2a4f0(0x1e3)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0xf2a4f0(0x197)),BrowserstackCLI=require(a45_0xf2a4f0(0x161)),TestFrameworkState=require(a45_0xf2a4f0(0x1c9)),HookState=require('../../v2/state/hookState'),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');function a45_0x3095(_0x219121,_0x3939bc){const _0x41e912=a45_0x41e9();return a45_0x3095=function(_0x3095f3,_0x4ac826){_0x3095f3=_0x3095f3-0x12b;let _0x37b64c=_0x41e912[_0x3095f3];return _0x37b64c;},a45_0x3095(_0x219121,_0x3939bc);}function a45_0x41e9(){const _0x460e37=['After\x20Hooks','env','cEkHH','AFTER_ALL','HookRunFinished','hooks','format','startMonitoring','object','dfZGu','KvREJ','file','getScope','iZyZb','1256112rVojuf','uploadEventData','startedAt','logs','mlgoE','\x20for\x20','duration','KNMJL','\x20-\x20','screenshot','steps','retry_of','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','error','RqIxz','sXkow','errors','TEST','map','OKBSy','\x20at\x20','lbuUl','YaZZl','ggYqJ','JPsPs','getTime','PlwtE','ZMkSi','RsaLm','onTestEnd','4694512aqTvdk','TEST_SCREENSHOT','join','_gitConfigured','BEFORE_ALL','finishedAt','POST','getStepsAndLogs','PLAYWRIGHT','onEnd','_bs_hookIdentifier','Nzxry','relative','ZlePE','EJGZS','failure_type','wUWGm','wmMmU','./test-details','Test\x20Finished\x20with\x20unique\x20id\x20','Playwright','rLJQN','HookRunStarted','DNPxK','splice','RMMfQ','axlUM','sendHookRunEvent','retry','push','PFjfb','_trackedEvents','Sending\x20session\x20details\x20for\x20','uuid','nOfZs','TestRunStarted','DdyqG','startTime','LYbmg','../../v2/browserstackCLI','NcgsC','cKkZA','failed','getTestFramework','toISOString','PMail','util','hPFKJ','oCxmL','hook_run','existsSync','1451788KSNtPZ','cwd','logLevel','upJDN','XokKl','path','expanded','cKWtx','hook','KsngD','indexOf','Test\x20Started\x20with\x20unique\x20id\x20','skipped','5cbGLCj','AZqJh','rIWqa','addTestUIDAndReportLog','lzuff','gFees','3|7|4|0|6|5|2|1','HAOdc','root','javascript','test_run_uuid','AwCut','8440104muniXO','tYvjr','mtime','err','UjIfk','MnJqI','TEwJU','xymTW','TestRunFinished','fSfAx','needToReportStep','afterEach\x20hook','getStepIdentifier','AFTER_EACH','sOPvw','basename','test_run','../../../helpers/helper','UdIeO','wASQC','setStepIdentifier','Eviav','QsmsH','MyReporter','endSession','failure','WnBwe','onTestBegin','RSDex','filter','location','configureGit','trace_','attachments','Guhpr','sjRMV','XJcfd','getInstance','base64','all','sendSessionDetails','MDljN','PRE','_tags','message','reportLogs','OTchC','LogCreated','split','sendTestRunEvent','ykQtW','DoAfJ','homedir','onBegin','NMrAx','meta','Hook\x20Finished\x20with\x20unique\x20id\x20','aHldV','result','xVSID','ZeKeb','Cvyfo','BEFORE_EACH','1725842BRjbQL','toString','ldjlc','BROWSERSTACK_LOG_LEVEL','../../v2/state/testFrameworkState','PmuiD','ufLjj','BROWSERSTACK_TEST_RUN_ID','UJYXC','BElrl','printsToStdio','Error\x20in\x20sending\x20trace\x20zip:\x20%s','step','Expected\x20to\x20fail,\x20but\x20passed.','getTestUUID','NKtgQ','size','kMhTv','wWNLw','trackEvent','QoSpl','BPRKs','backtrace','Error\x20in\x20calculating\x20performance:\x20','hQrJu','title','getHierarchy','_tests','BROWSERSTACK_O11Y_PERF_MEASUREMENT','unknown','../../../helpers/test-observability/error-handler','fMyOR','rZSIf','beforeAll\x20hook','lkDwO','exports','options','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','_testHooksMap','event_type','titlePath','TEST_STEP','2247788sOpwWE','.txt','utf8','./pwUtils','aTaYj','status','otCSv','onStepEnd','isRunning','\x20is\x20triggered','getHookType','mkdirSync','AabwH','passed','afterAll\x20hook','statSync','../../../helpers/test-observability/requestQueueHandler','Hook\x20Started\x20with\x20unique\x20id\x20','parent','startsWith','XOjWC','almsC','3210480VeufFm','foIGB','svAfC','cpfqm','name','test','kvKsx','FsWzx','mXjxe','failure_reason','getCustomRerunParam','readFileSync','_gitConfigPath','length','pending','Trace\x20file\x20found\x20for\x20test:\x20'];a45_0x41e9=function(){return _0x460e37;};return a45_0x41e9();}class MyReporter{constructor(_0x2592da){const _0x3b0142=a45_0xf2a4f0,_0x2a0aa9={'hfOFe':_0x3b0142(0x180),'WSlkv':function(_0x1cb551,_0x2d45ec,_0x153591,_0x80d587){return _0x1cb551(_0x2d45ec,_0x153591,_0x80d587);},'KvREJ':'performance-report-reporter.json'},_0x4d379b=_0x2a0aa9['hfOFe'][_0x3b0142(0x1b6)]('|');let _0x1db751=0x0;while(!![]){switch(_0x4d379b[_0x1db751++]){case'0':this[_0x3b0142(0x1eb)]={};continue;case'1':this[_0x3b0142(0x159)]=[];continue;case'2':this[_0x3b0142(0x211)]=null;continue;case'3':const _0x32a656={};_0x32a656[_0x3b0142(0x16f)]=process['env'][_0x3b0142(0x1c8)],_0x2a0aa9['WSlkv'](setLogLevel,_0x32a656,new Map(),new Map());continue;case'4':this[_0x3b0142(0x1e0)]={};continue;case'5':this[_0x3b0142(0x13d)]=![];continue;case'6':this[_0x3b0142(0x1e9)]=_0x2592da;continue;case'7':process['env'][_0x3b0142(0x1e1)]&&(PerformanceTester[_0x3b0142(0x21c)](_0x2a0aa9[_0x3b0142(0x21f)]),process[_0x3b0142(0x216)]['START_TIME']=new Date()['toISOString']());continue;}break;}}async[a45_0xf2a4f0(0x1bb)](){const _0x592f98=a45_0xf2a4f0,_0x568689={};_0x568689[_0x592f98(0x12b)]=_0x592f98(0x14e);const _0x179d1e=_0x568689;TestDetails['setup'](),await this['configureGit'](),TestInfo['setup'](_0x179d1e[_0x592f98(0x12b)]);if(BrowserstackCLI['getInstance']()[_0x592f98(0x1f7)]()){await BrowserstackCLI[_0x592f98(0x1ab)]()[_0x592f98(0x165)]()[_0x592f98(0x1d8)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async[a45_0xf2a4f0(0x1a1)](_0x127c70,_0x2e00ae){const _0x53ee4c=a45_0xf2a4f0,_0xbd1e50={'rIWqa':function(_0x2805a2,_0x5b934e){return _0x2805a2(_0x5b934e);},'lEXdt':function(_0x9013c4,_0x796327,_0x11223f){return _0x9013c4(_0x796327,_0x11223f);},'dfZGu':_0x53ee4c(0x15d)};if(BrowserstackCLI['getInstance']()[_0x53ee4c(0x1f7)]()){const _0x2dca2f={};_0x2dca2f[_0x53ee4c(0x20a)]=_0x127c70,_0x2dca2f['result']=_0x2e00ae,await BrowserstackCLI[_0x53ee4c(0x1ab)]()[_0x53ee4c(0x165)]()['trackEvent'](TestFrameworkState[_0x53ee4c(0x12d)],HookState[_0x53ee4c(0x1b0)],_0x2dca2f);return;}const _0x5bdef9=_0xbd1e50[_0x53ee4c(0x17c)](getTestIdentifier,_0x127c70),_0x432142=TestDetails['getTestUUID'](_0xbd1e50['lEXdt'](getTestRunIdentifier,_0x127c70,_0x2e00ae[_0x53ee4c(0x156)]));process[_0x53ee4c(0x216)][_0x53ee4c(0x1cc)]=_0x432142;const _0x606b6b={};_0x606b6b['uuid']=_0x432142,_0x606b6b[_0x53ee4c(0x225)]=_0x2e00ae['startTime'],this['_tests'][_0x5bdef9]=_0x606b6b,_0xbd1e50['rIWqa'](trace,_0x53ee4c(0x178)+_0x5bdef9),await this[_0x53ee4c(0x1b7)](_0x127c70,_0xbd1e50[_0x53ee4c(0x21e)],_0x2e00ae);}async['onStepBegin'](_0x3dc9e5,_0xea4c0,_0x1c12cc){const _0x59babf=a45_0xf2a4f0,_0x34f8b8={'rLJQN':function(_0x4ef23f,_0x2eefc8,_0x5ed4fb){return _0x4ef23f(_0x2eefc8,_0x5ed4fb);},'hfVkV':function(_0x344bdf,_0x21e04f){return _0x344bdf(_0x21e04f);},'hPFKJ':_0x59babf(0x150)};if(!this[_0x59babf(0x190)](_0x1c12cc,_0x3dc9e5))return;if(BrowserstackCLI['getInstance']()[_0x59babf(0x1f7)]()){const _0x32689b=this[_0x59babf(0x1f9)](_0x1c12cc[_0x59babf(0x1de)]),_0x49f517=TestFrameworkState[_0x32689b],_0x1af3ad={};_0x1af3ad[_0x59babf(0x20a)]=_0x3dc9e5,_0x1af3ad[_0x59babf(0x1c0)]=_0xea4c0,_0x1af3ad[_0x59babf(0x1d1)]=_0x1c12cc,await BrowserstackCLI[_0x59babf(0x1ab)]()[_0x59babf(0x165)]()[_0x59babf(0x1d8)](_0x49f517,HookState[_0x59babf(0x1b0)],_0x1af3ad);return;}const _0x87d0c5=this[_0x59babf(0x19a)](_0x3dc9e5,_0x1c12cc);this[_0x59babf(0x1e0)][_0x87d0c5]={'uuid':TestDetails[_0x59babf(0x1d3)](_0x87d0c5),'startedAt':_0x1c12cc['startTime'][_0x59babf(0x166)]()};const _0x3c249e=_0x34f8b8[_0x59babf(0x14f)](getTestRunIdentifier,_0x3dc9e5,_0xea4c0[_0x59babf(0x156)]);!this[_0x59babf(0x1eb)][_0x3c249e]&&(this[_0x59babf(0x1eb)][_0x3c249e]=[]),this[_0x59babf(0x1eb)][_0x3c249e][_0x59babf(0x157)](this[_0x59babf(0x1e0)][_0x87d0c5][_0x59babf(0x15b)]),_0x34f8b8['hfVkV'](trace,_0x59babf(0x200)+_0x87d0c5+'\x20is\x20triggered\x20for\x20test\x20'+_0x3c249e),await this['sendHookRunEvent'](_0x3dc9e5,_0x1c12cc,_0x34f8b8[_0x59babf(0x169)],_0xea4c0);}async[a45_0xf2a4f0(0x1f6)](_0x285ed0,_0x5c809c,_0x23baba){const _0x550cff=a45_0xf2a4f0,_0x279f4d={'mQfHd':function(_0x1ce5de,_0x341ad5){return _0x1ce5de+_0x341ad5;},'owTDG':function(_0x5be9ca,_0x416965){return _0x5be9ca(_0x416965);},'WnBwe':'HookRunFinished'};if(!this[_0x550cff(0x190)](_0x23baba,_0x285ed0))return;if(BrowserstackCLI[_0x550cff(0x1ab)]()[_0x550cff(0x1f7)]()){const _0x43f85b=this[_0x550cff(0x1f9)](_0x23baba[_0x550cff(0x1de)]),_0xeaaddf=TestFrameworkState[_0x43f85b],_0xe0949b={};_0xe0949b[_0x550cff(0x20a)]=_0x285ed0,_0xe0949b[_0x550cff(0x1c0)]=_0x5c809c,_0xe0949b[_0x550cff(0x1d1)]=_0x23baba,await BrowserstackCLI[_0x550cff(0x1ab)]()[_0x550cff(0x165)]()[_0x550cff(0x1d8)](_0xeaaddf,HookState[_0x550cff(0x140)],_0xe0949b);return;}const _0x39ea9f=this[_0x550cff(0x192)](_0x285ed0,_0x23baba);this['_tests'][_0x39ea9f]={...this[_0x550cff(0x1e0)][_0x39ea9f]||{},'finishedAt':new Date(_0x279f4d['mQfHd'](_0x23baba['startTime'][_0x550cff(0x135)](),_0x23baba[_0x550cff(0x229)]))},_0x279f4d['owTDG'](trace,_0x550cff(0x1be)+_0x39ea9f+_0x550cff(0x1f8)),await this[_0x550cff(0x155)](_0x285ed0,_0x23baba,_0x279f4d[_0x550cff(0x1a0)],_0x5c809c);}async[a45_0xf2a4f0(0x139)](_0x124977,_0x5cbc77){const _0x14cb7b=a45_0xf2a4f0,_0x2c5eca={'FsWzx':function(_0x5c6543,_0x342f5c){return _0x5c6543===_0x342f5c;},'kZtFb':_0x14cb7b(0x22c),'AZqJh':_0x14cb7b(0x13b),'cpfqm':_0x14cb7b(0x1ac),'QsmsH':function(_0x1c692b,_0x1df60a){return _0x1c692b(_0x1df60a);},'wUWGm':function(_0x356cde,_0x461088,_0x47bda1){return _0x356cde(_0x461088,_0x47bda1);},'xAoxA':_0x14cb7b(0x18e),'HAOdc':function(_0x1ab8a1,_0x3bcb18){return _0x1ab8a1(_0x3bcb18);},'vLIjQ':_0x14cb7b(0x1ea),'tYvjr':function(_0x5391c3,_0x2be069){return _0x5391c3(_0x2be069);},'nOfZs':function(_0x3ef98a,_0x46808c,_0x300c65){return _0x3ef98a(_0x46808c,_0x300c65);},'xVSID':_0x14cb7b(0x1d0),'tpCmW':function(_0x1c67d8,_0xfbf50b){return _0x1c67d8>_0xfbf50b;}};if(BrowserstackCLI[_0x14cb7b(0x1ab)]()[_0x14cb7b(0x1f7)]()){const _0x3fdd90={};_0x3fdd90[_0x14cb7b(0x20a)]=_0x124977,_0x3fdd90[_0x14cb7b(0x1c0)]=_0x5cbc77,this['_trackedEvents'][_0x14cb7b(0x157)](BrowserstackCLI[_0x14cb7b(0x1ab)]()['getTestFramework']()[_0x14cb7b(0x1d8)](TestFrameworkState[_0x14cb7b(0x12d)],HookState[_0x14cb7b(0x140)],_0x3fdd90));return;}const _0xa821d9=_0x2c5eca[_0x14cb7b(0x19c)](getTestIdentifier,_0x124977),_0x443b4c=TestDetails[_0x14cb7b(0x1d3)](_0x2c5eca[_0x14cb7b(0x14a)](getTestRunIdentifier,_0x124977,_0x5cbc77[_0x14cb7b(0x156)]));this[_0x14cb7b(0x1e0)][_0xa821d9]={...this[_0x14cb7b(0x1e0)][_0xa821d9]||{},'finishedAt':new Date()['toISOString']()},_0x2c5eca[_0x14cb7b(0x19c)](debug,_0x14cb7b(0x14d)+_0xa821d9);try{await this[_0x14cb7b(0x1b7)](_0x124977,_0x2c5eca['xAoxA'],_0x5cbc77);}catch(_0x2c345d){_0x2c5eca[_0x14cb7b(0x181)](debug,util['format'](_0x2c5eca['vLIjQ'],_0x2c345d[_0x14cb7b(0x1c6)]()));}try{_0x2c5eca[_0x14cb7b(0x187)](debug,_0x14cb7b(0x22f)+_0x443b4c),await _0x2c5eca[_0x14cb7b(0x15c)](sendTraceZip,_0x5cbc77,_0x443b4c);}catch(_0x18d56c){_0x2c5eca[_0x14cb7b(0x181)](debug,util[_0x14cb7b(0x21b)](_0x2c5eca[_0x14cb7b(0x1c1)],_0x18d56c[_0x14cb7b(0x1c6)]()));}const _0x129aa7=[];_0x5cbc77[_0x14cb7b(0x1a7)]&&_0x5cbc77[_0x14cb7b(0x1a7)]['map'](_0x34ecf6=>{const _0x328f5f=_0x14cb7b;if(_0x2c5eca[_0x328f5f(0x20c)](_0x34ecf6[_0x328f5f(0x209)],_0x2c5eca['kZtFb'])){if(!_0x34ecf6[_0x328f5f(0x172)]||!fs[_0x328f5f(0x16c)](_0x34ecf6[_0x328f5f(0x172)]))return;_0x129aa7['push']({'test_run_uuid':_0x443b4c,'timestamp':fs[_0x328f5f(0x1fe)](_0x34ecf6[_0x328f5f(0x172)])[_0x328f5f(0x188)],'kind':_0x2c5eca[_0x328f5f(0x17b)],'message':fs[_0x328f5f(0x210)](_0x34ecf6[_0x328f5f(0x172)],{'encoding':_0x2c5eca[_0x328f5f(0x208)]})});}}),_0x2c5eca['tpCmW'](_0x129aa7[_0x14cb7b(0x212)],0x0)&&await MyReporter[_0x14cb7b(0x1b3)](_0x129aa7);}async[a45_0xf2a4f0(0x19e)](){const _0x1fc426=a45_0xf2a4f0;await RequestQueueHandler[_0x1fc426(0x1ab)]()['shutdown']();}async[a45_0xf2a4f0(0x143)](_0x11be70){const _0x164930=a45_0xf2a4f0,_0x409f20={'tIwKA':function(_0x467467){return _0x467467();},'ZeKeb':function(_0x23931b,_0x5ac6f2){return _0x23931b(_0x5ac6f2);}};await Promise[_0x164930(0x1ad)](this[_0x164930(0x159)]),await this[_0x164930(0x19e)]();try{process[_0x164930(0x216)][_0x164930(0x1e1)]&&await _0x409f20['tIwKA'](calculatePerformance);}catch(_0x35fa55){_0x409f20[_0x164930(0x1c2)](debug,_0x164930(0x1dc)+_0x35fa55['toString']());}}static async[a45_0xf2a4f0(0x17d)](_0x7d90a5,_0x5049bc){const _0x12c0ed=a45_0xf2a4f0;_0x5049bc[_0x12c0ed(0x184)]=TestDetails[_0x12c0ed(0x1d3)](_0x7d90a5),await this['reportLogs']([_0x5049bc]);}static async[a45_0xf2a4f0(0x1b3)](_0x3212ca){const _0x177586=a45_0xf2a4f0,_0x54ca46={};_0x54ca46['OPJBI']=_0x177586(0x1b5);const _0x1439e2=_0x54ca46;if(BrowserstackCLI[_0x177586(0x1ab)]()[_0x177586(0x1f7)]())return;const _0xd0663f={};_0xd0663f[_0x177586(0x1ec)]=_0x1439e2['OPJBI'],_0xd0663f[_0x177586(0x226)]=_0x3212ca,await SessionHandler[_0x177586(0x224)](_0xd0663f);}async[a45_0xf2a4f0(0x155)](_0x42d2fa,_0x4eb264,_0x28f4dd,_0x4ec81b){const _0x5def99=a45_0xf2a4f0,_0x1bdde6={'RaiIB':_0x5def99(0x175),'LDQzs':_0x5def99(0x183),'FujzZ':_0x5def99(0x213),'ufLjj':function(_0xc71bb0,_0xf316b){return _0xc71bb0>=_0xf316b;},'kvKsx':function(_0x579ecb,_0x47fe25){return _0x579ecb===_0x47fe25;},'OTchC':_0x5def99(0x219),'wmMmU':function(_0x324c96,_0x3799bb){return _0x324c96>_0x3799bb;},'iZyZb':_0x5def99(0x164),'svAfC':function(_0x526fbf,_0x49ed4a){return _0x526fbf(_0x49ed4a);},'UdIeO':function(_0x546727,_0x26f74d){return _0x546727(_0x26f74d);},'oCxmL':function(_0x22f475,_0x28a7f8,_0x113288){return _0x22f475(_0x28a7f8,_0x113288);},'UJYXC':_0x5def99(0x189),'DoAfJ':_0x5def99(0x1fc)},_0x25e28e=this[_0x5def99(0x192)](_0x42d2fa,_0x4eb264),_0x3593b9=this[_0x5def99(0x1e0)][_0x25e28e],_0x16fb03={'uuid':_0x3593b9[_0x5def99(0x15b)],'type':_0x1bdde6['RaiIB'],'hook_type':this['getHookType'](_0x4eb264[_0x5def99(0x1de)]),'name':_0x4eb264[_0x5def99(0x1de)],'scope':this[_0x5def99(0x221)](_0x4eb264),'scopes':this[_0x5def99(0x1df)](_0x42d2fa),'body':{'lang':_0x1bdde6['LDQzs'],'code':null},'identifier':_0x25e28e,'file_name':path[_0x5def99(0x146)](process['cwd'](),_0x42d2fa[_0x5def99(0x1a4)]['file']),'location':path[_0x5def99(0x146)](process[_0x5def99(0x16e)](),_0x42d2fa[_0x5def99(0x1a4)][_0x5def99(0x220)]),'result':_0x1bdde6['FujzZ'],'duration_in_ms':_0x1bdde6[_0x5def99(0x1cb)](_0x4eb264[_0x5def99(0x229)],0x0)?_0x4eb264['duration']:undefined,'vc_filepath':this['_gitConfigPath']&&_0x42d2fa[_0x5def99(0x1a4)]['file']?path[_0x5def99(0x146)](this[_0x5def99(0x211)],_0x42d2fa[_0x5def99(0x1a4)][_0x5def99(0x220)]):undefined,'started_at':_0x3593b9[_0x5def99(0x225)],'finished_at':_0x3593b9[_0x5def99(0x13f)],'framework':FRAMEWORKS[_0x5def99(0x142)]};if(_0x1bdde6['kvKsx'](_0x28f4dd,_0x1bdde6[_0x5def99(0x1b4)])){const {steps:_0x8e0d7a,logs:_0x3bb2fb}=this['getStepsAndLogs'](_0x4eb264[_0x5def99(0x22d)],_0x3593b9[_0x5def99(0x15b)],_0x1bdde6['RaiIB']);_0x3bb2fb&&_0x1bdde6[_0x5def99(0x14b)](_0x3bb2fb[_0x5def99(0x212)],0x0)&&await MyReporter[_0x5def99(0x1b3)](_0x3bb2fb);const _0x239187={};_0x239187[_0x5def99(0x22d)]=_0x8e0d7a,_0x16fb03[_0x5def99(0x1bd)]=_0x239187;if(_0x4eb264[_0x5def99(0x230)]){_0x16fb03['result']=_0x1bdde6[_0x5def99(0x222)],_0x16fb03['failure_reason']=_0x1bdde6[_0x5def99(0x207)](removeAnsiColors,_0x4eb264['error'][_0x5def99(0x1b2)]),_0x16fb03[_0x5def99(0x149)]=_0x1bdde6[_0x5def99(0x198)](getFailureType,_0x4eb264[_0x5def99(0x230)]['message']);const _0x27c1b1=_0x1bdde6[_0x5def99(0x16a)](failureData,_0x4eb264[_0x5def99(0x230)],_0x1bdde6[_0x5def99(0x1cd)]);if(_0x27c1b1&&_0x1bdde6[_0x5def99(0x20b)](_0x27c1b1[_0x5def99(0x212)],0x0)){const _0x335e7d={};_0x335e7d[_0x5def99(0x1db)]=[_0x16fb03['failure_reason']],_0x335e7d[_0x5def99(0x173)]=[],_0x27c1b1[_0x5def99(0x157)](_0x335e7d);}_0x16fb03[_0x5def99(0x19f)]=_0x27c1b1;}else _0x16fb03['result']=_0x1bdde6[_0x5def99(0x1b9)];}const _0x131602={};_0x131602[_0x5def99(0x1ec)]=_0x28f4dd,_0x131602[_0x5def99(0x16b)]=_0x16fb03;const _0x31202b=_0x131602;await SessionHandler[_0x5def99(0x224)](_0x31202b);}[a45_0xf2a4f0(0x141)](_0x4e163a,_0x2b57d6,_0x162918){const _0x221196=a45_0xf2a4f0,_0x1af6ea={'BElrl':function(_0x2faac6,_0xb19cc3){return _0x2faac6===_0xb19cc3;},'cKWtx':_0x221196(0x175),'vxqdM':_0x221196(0x215),'NKtgQ':'Before\x20Hooks','RqIxz':function(_0x5e5cb1,_0xb9ca55){return _0x5e5cb1===_0xb9ca55;},'lbuUl':function(_0x4bf620,_0x27bd99){return _0x4bf620===_0x27bd99;},'KsngD':'test','fjWtz':'test_run_uuid','cKkZA':'hook_run_uuid','sjRMV':_0x221196(0x1ee),'RSDex':_0x221196(0x164),'sOPvw':_0x221196(0x1fc),'DNPxK':function(_0x4e28ce,_0x3a3295){return _0x4e28ce(_0x3a3295);},'YaZZl':function(_0x226887,_0x53d795){return _0x226887(_0x53d795);},'KNMJL':function(_0x446289){return _0x446289();},'PmuiD':function(_0x310515,_0x459bbb){return _0x310515(_0x459bbb);},'RsaLm':function(_0x1326ed,_0x1fb631,_0x2d85f8){return _0x1326ed(_0x1fb631,_0x2d85f8);}},_0x32c0bf=[],_0x451dd6=[],_0x207def=_0x4e163a[_0x221196(0x1a3)](_0x3700e3=>{const _0x376ac6=_0x221196;if(_0x1af6ea[_0x376ac6(0x1ce)](_0x3700e3['category'],_0x1af6ea[_0x376ac6(0x174)])&&(_0x1af6ea[_0x376ac6(0x1ce)](_0x3700e3[_0x376ac6(0x1de)],_0x1af6ea['vxqdM'])||_0x1af6ea[_0x376ac6(0x1ce)](_0x3700e3[_0x376ac6(0x1de)],_0x1af6ea[_0x376ac6(0x1d4)])))return![];return!![];}),_0x303297=(_0x39fd31,_0x529c04=![])=>{const _0x1ecec8=_0x221196;if(_0x1af6ea[_0x1ecec8(0x231)](_0x39fd31[_0x1ecec8(0x22d)][_0x1ecec8(0x212)],0x0)){const _0x1b2994=_0x1af6ea[_0x1ecec8(0x131)](_0x162918,_0x1af6ea[_0x1ecec8(0x176)])?_0x1af6ea['fjWtz']:_0x1af6ea[_0x1ecec8(0x163)];_0x451dd6['push']({'kind':_0x1af6ea[_0x1ecec8(0x1a9)],[_0x1b2994]:_0x2b57d6,'message':_0x39fd31[_0x1ecec8(0x1de)],'timestamp':_0x39fd31[_0x1ecec8(0x15f)][_0x1ecec8(0x166)](),'level':_0x39fd31['error']?_0x1af6ea[_0x1ecec8(0x1a2)]:_0x1af6ea[_0x1ecec8(0x194)],'duration':_0x39fd31[_0x1ecec8(0x229)],'failure':_0x39fd31['error']&&_0x39fd31[_0x1ecec8(0x230)][_0x1ecec8(0x1b2)]&&_0x1af6ea[_0x1ecec8(0x151)](removeAnsiColors,_0x39fd31[_0x1ecec8(0x230)][_0x1ecec8(0x1b2)]),'failure_type':_0x1af6ea[_0x1ecec8(0x132)](getFailureType,_0x39fd31['error']&&_0x39fd31['error'][_0x1ecec8(0x1b2)])});}else{!_0x529c04&&_0x32c0bf[_0x1ecec8(0x157)]({'id':_0x1af6ea[_0x1ecec8(0x22a)](uuidv4),'text':_0x39fd31[_0x1ecec8(0x1de)],'keyword':undefined,'started_at':_0x39fd31[_0x1ecec8(0x15f)][_0x1ecec8(0x166)](),'duration':_0x39fd31[_0x1ecec8(0x229)],'result':_0x39fd31['error']?_0x1af6ea['RSDex']:_0x1af6ea['sOPvw'],'failure':_0x39fd31[_0x1ecec8(0x230)]&&_0x39fd31[_0x1ecec8(0x230)][_0x1ecec8(0x1b2)]&&_0x1af6ea[_0x1ecec8(0x1ca)](removeAnsiColors,_0x39fd31[_0x1ecec8(0x230)]['message']),'failure_type':_0x1af6ea[_0x1ecec8(0x132)](getFailureType,_0x39fd31[_0x1ecec8(0x230)]&&_0x39fd31['error']['message'])});for(const _0x76d945 of _0x39fd31[_0x1ecec8(0x22d)]){_0x1af6ea[_0x1ecec8(0x138)](_0x303297,_0x76d945,!![]);}}};for(const _0x38b16a of _0x207def){_0x1af6ea['RsaLm'](_0x303297,_0x38b16a,![]);}const _0x3914de={};return _0x3914de['steps']=_0x32c0bf,_0x3914de['logs']=_0x451dd6,_0x3914de;}async['sendTestRunEvent'](_0x44a118,_0x263da4,_0x184bd1){const _0x4ba081=a45_0xf2a4f0,_0x247e91={'PlwtE':function(_0x3c33c0,_0x14c0aa){return _0x3c33c0(_0x14c0aa);},'RQwZh':'TEST_ATTACHMENT','Nzxry':function(_0x3a7a39,_0x406d41){return _0x3a7a39(_0x406d41);},'JPsPs':_0x4ba081(0x20a),'PFjfb':_0x4ba081(0x183),'kMhTv':_0x4ba081(0x213),'wWNLw':function(_0x519348,_0x26ef23,_0x6933be,_0x50a683,_0x47c77f){return _0x519348(_0x26ef23,_0x6933be,_0x50a683,_0x47c77f);},'hDilL':function(_0x12154f,_0x70edc1){return _0x12154f>_0x70edc1;},'cEkHH':function(_0xea8523,_0x410abb,_0x268740){return _0xea8523(_0x410abb,_0x268740);},'OKBSy':function(_0x15c239,_0x159a0a){return _0x15c239-_0x159a0a;},'XOjWC':function(_0x2a2835,_0x1cb306){return _0x2a2835===_0x1cb306;},'NMrAx':'TestRunFinished','PMail':function(_0xc52d0b,_0x3add6a){return _0xc52d0b===_0x3add6a;},'AabwH':_0x4ba081(0x179),'BPRKs':_0x4ba081(0x1fc),'Cvyfo':function(_0x4730cf,_0x4557f3){return _0x4730cf===_0x4557f3;},'mlgoE':'failed','hQrJu':'timedOut','almsC':function(_0x136eb5,_0x1754c6){return _0x136eb5===_0x1754c6;},'fSfAx':_0x4ba081(0x1d2),'TEwJU':function(_0x274b11,_0x2fe49d){return _0x274b11(_0x2fe49d);},'ldjlc':function(_0x496d09,_0x1bfbbd){return _0x496d09>_0x1bfbbd;},'ppyyC':_0x4ba081(0x172),'mXjxe':function(_0x49f4d7,_0x1236d8){return _0x49f4d7(_0x1236d8);},'Eviav':'.browserstack','kJVke':_0x4ba081(0x1f1),'bAQPn':function(_0x44a9db,_0x12e35d){return _0x44a9db!==_0x12e35d;},'xJsdH':function(_0x185316,_0x30664f){return _0x185316===_0x30664f;}},_0x31bf1f=_0x247e91[_0x4ba081(0x145)](getTestIdentifier,_0x44a118),_0x17b8da=this[_0x4ba081(0x221)](_0x44a118),_0xbe002e=this['_tests'][_0x31bf1f],_0x526a70=path[_0x4ba081(0x146)](process[_0x4ba081(0x16e)](),_0x44a118['location'][_0x4ba081(0x220)]);await this[_0x4ba081(0x1a5)]();const _0x3effce={'uuid':_0xbe002e[_0x4ba081(0x15b)],'type':_0x247e91[_0x4ba081(0x134)],'name':_0x44a118['title'],'body':{'lang':_0x247e91[_0x4ba081(0x158)],'code':_0x44a118['fn']['toString']()},'scope':_0x17b8da,'scopes':this[_0x4ba081(0x1df)](_0x44a118),'identifier':_0x31bf1f,'file_name':_0x526a70,'location':_0x526a70,'result':_0x247e91[_0x4ba081(0x1d6)],'duration_in_ms':_0x184bd1&&_0x184bd1['duration']?_0x184bd1['duration']:null,'vc_filepath':this[_0x4ba081(0x211)]&&_0x44a118[_0x4ba081(0x1a4)]['file']?path[_0x4ba081(0x146)](this[_0x4ba081(0x211)],_0x44a118[_0x4ba081(0x1a4)][_0x4ba081(0x220)]):undefined,'started_at':_0xbe002e['startedAt'],'finished_at':_0xbe002e[_0x4ba081(0x13f)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x4ba081(0x20f)](_0x44a118)},'tags':_0x247e91[_0x4ba081(0x145)](getTestTags,_0x44a118)};_0x247e91[_0x4ba081(0x1d7)](appendTesthubParams,_0x3effce,_0x263da4,_0x44a118,FRAMEWORKS[_0x4ba081(0x142)]);_0x184bd1&&_0x247e91['hDilL'](_0x184bd1[_0x4ba081(0x156)],0x0)&&(_0x3effce[_0x4ba081(0x22e)]=TestDetails[_0x4ba081(0x1d3)](_0x247e91[_0x4ba081(0x217)](getTestRunIdentifier,_0x44a118,_0x247e91[_0x4ba081(0x12f)](_0x184bd1[_0x4ba081(0x156)],0x1))));if(_0x247e91[_0x4ba081(0x203)](_0x263da4,_0x247e91['NMrAx'])){_0x3effce[_0x4ba081(0x1c0)]=_0x184bd1[_0x4ba081(0x1f4)];if(_0x247e91[_0x4ba081(0x203)](_0x184bd1['status'],_0x44a118['expectedStatus']))_0x3effce[_0x4ba081(0x1c0)]=_0x247e91[_0x4ba081(0x167)](_0x184bd1[_0x4ba081(0x1f4)],_0x247e91[_0x4ba081(0x1fb)])?_0x247e91[_0x4ba081(0x1fb)]:_0x247e91[_0x4ba081(0x1da)];else{(_0x247e91['Cvyfo'](_0x3effce[_0x4ba081(0x1c0)],_0x247e91[_0x4ba081(0x1da)])||_0x247e91[_0x4ba081(0x203)](_0x3effce[_0x4ba081(0x1c0)],_0x247e91['mlgoE'])||_0x247e91[_0x4ba081(0x1c3)](_0x3effce[_0x4ba081(0x1c0)],_0x247e91[_0x4ba081(0x1dd)]))&&(_0x3effce[_0x4ba081(0x1c0)]=_0x247e91[_0x4ba081(0x227)]);if(_0x247e91[_0x4ba081(0x204)](_0x184bd1[_0x4ba081(0x1f4)],_0x247e91[_0x4ba081(0x1da)])&&_0x247e91[_0x4ba081(0x204)](_0x44a118['expectedStatus'],_0x247e91[_0x4ba081(0x227)])){const _0x22f5e8={};_0x22f5e8['message']=_0x247e91[_0x4ba081(0x18f)],_0x22f5e8['stack']=_0x247e91[_0x4ba081(0x18f)],_0x184bd1['error']=_0x22f5e8,_0x184bd1[_0x4ba081(0x12c)]=[_0x184bd1[_0x4ba081(0x230)]];}}const _0x102323=_0x247e91[_0x4ba081(0x217)](getTestRunIdentifier,_0x44a118,_0x184bd1[_0x4ba081(0x156)]);_0x3effce[_0x4ba081(0x21a)]=this[_0x4ba081(0x1eb)][_0x102323];const {steps:_0x875857,logs:_0x4b0a70}=this['getStepsAndLogs'](_0x184bd1[_0x4ba081(0x22d)],_0xbe002e['uuid'],_0x247e91[_0x4ba081(0x134)]);await MyReporter[_0x4ba081(0x1b3)](_0x4b0a70);const _0x701e9b={};_0x701e9b['steps']=_0x875857,_0x3effce[_0x4ba081(0x1bd)]=_0x701e9b;if(_0x184bd1[_0x4ba081(0x230)]){_0x3effce[_0x4ba081(0x20e)]=_0x247e91[_0x4ba081(0x145)](removeAnsiColors,_0x184bd1[_0x4ba081(0x230)][_0x4ba081(0x1b2)]),_0x3effce[_0x4ba081(0x149)]=_0x247e91[_0x4ba081(0x18c)](getFailureType,_0x184bd1['error'][_0x4ba081(0x1b2)]);const _0x1bd7a0={};_0x1bd7a0[_0x4ba081(0x184)]=_0xbe002e[_0x4ba081(0x15b)];const {failureData:_0x34eb79,logs:_0x10ccfb}=_0x247e91[_0x4ba081(0x217)](getFailureData,_0x184bd1[_0x4ba081(0x12c)],_0x1bd7a0);if(_0x34eb79&&_0x247e91[_0x4ba081(0x167)](_0x34eb79[_0x4ba081(0x212)],0x0)){const _0x1cb879={};_0x1cb879[_0x4ba081(0x1db)]=[_0x3effce[_0x4ba081(0x20e)]],_0x1cb879[_0x4ba081(0x173)]=[],_0x34eb79['push'](_0x1cb879);}_0x3effce[_0x4ba081(0x19f)]=_0x34eb79,_0x10ccfb&&_0x247e91[_0x4ba081(0x1c7)](_0x10ccfb[_0x4ba081(0x212)],0x0)&&await MyReporter[_0x4ba081(0x1b3)](_0x10ccfb);}}let _0x3f9244=_0x247e91[_0x4ba081(0x217)](findNestedKey,_0x184bd1,_0x247e91['ppyyC']);if(_0x3f9244&&_0x247e91[_0x4ba081(0x20d)](validateFilePath,_0x3f9244))_0x247e91[_0x4ba081(0x136)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0xbe002e[_0x4ba081(0x15b)]+'\x20at\x20'+_0x3f9244);else{const _0x18b247=path['join'](helper[_0x4ba081(0x1ba)](),_0x247e91[_0x4ba081(0x19b)]);!fs[_0x4ba081(0x16c)](_0x18b247)&&fs[_0x4ba081(0x1fa)](_0x18b247),fs['existsSync'](path[_0x4ba081(0x13c)](_0x18b247,'trace_'+_0xbe002e['uuid']+_0x4ba081(0x1f0)))&&(_0x3f9244=fs[_0x4ba081(0x210)](path['join'](_0x18b247,_0x4ba081(0x1a6)+_0xbe002e['uuid']+_0x4ba081(0x1f0)),_0x247e91['kJVke']),_0x247e91[_0x4ba081(0x145)](debug,_0x4ba081(0x214)+_0xbe002e['uuid']+_0x4ba081(0x130)+_0x3f9244));}const _0x27ea56={};_0x27ea56[_0x4ba081(0x1ec)]=_0x263da4,_0x27ea56[_0x4ba081(0x196)]=_0x3effce;const _0x476106=_0x27ea56;_0x3f9244&&_0x247e91['bAQPn'](_0x3f9244,'')&&_0x247e91['xJsdH'](_0x263da4,_0x247e91[_0x4ba081(0x1bc)])&&(!_0x476106['logs']&&(_0x476106[_0x4ba081(0x226)]=[]),_0x3f9244[_0x4ba081(0x1b6)]('\x0a')['forEach'](_0x433cef=>{const _0x423cf7=_0x4ba081;_0x433cef&&_0x247e91[_0x423cf7(0x136)](validateFilePath,_0x433cef)&&_0x476106[_0x423cf7(0x226)][_0x423cf7(0x157)]({'kind':_0x247e91['RQwZh'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xbe002e[_0x423cf7(0x15b)],'file_name':path[_0x423cf7(0x195)](_0x433cef),'file_size':fs[_0x423cf7(0x1fe)](_0x433cef)[_0x423cf7(0x1d5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler['uploadEventData'](_0x476106);}[a45_0xf2a4f0(0x20f)](_0x25858f){const _0x3a1535=a45_0xf2a4f0,_0x28d879={};_0x28d879['aTaYj']=function(_0x1064f2,_0x33c7d4){return _0x1064f2===_0x33c7d4;},_0x28d879[_0x3a1535(0x185)]=function(_0x7081de,_0x559927){return _0x7081de>_0x559927;},_0x28d879[_0x3a1535(0x147)]=function(_0x1e17a5,_0x1019e){return _0x1e17a5+_0x1019e;},_0x28d879[_0x3a1535(0x17f)]=function(_0xd542aa,_0x3ff9fc){return _0xd542aa+_0x3ff9fc;},_0x28d879[_0x3a1535(0x199)]=function(_0x5e2a53,_0x4706ed){return _0x5e2a53>_0x4706ed;},_0x28d879[_0x3a1535(0x18d)]=function(_0x9003d8,_0x3e2dd5){return _0x9003d8+_0x3e2dd5;},_0x28d879[_0x3a1535(0x206)]=function(_0x14701e,_0x4c2f23){return _0x14701e+_0x4c2f23;};const _0x46a2fb=_0x28d879,_0x2c93e9=_0x25858f[_0x3a1535(0x1ed)]()[_0x3a1535(0x12e)](_0x1a9e10=>{const _0x453de6=_0x3a1535;if(_0x25858f[_0x453de6(0x201)]&&_0x46a2fb['aTaYj'](_0x1a9e10,_0x25858f[_0x453de6(0x201)][_0x453de6(0x1de)])&&_0x25858f[_0x453de6(0x201)][_0x453de6(0x1b1)]&&_0x46a2fb[_0x453de6(0x185)](_0x25858f[_0x453de6(0x201)]['_tags']['length'],0x0))return _0x46a2fb['ZlePE'](_0x46a2fb[_0x453de6(0x17f)](_0x1a9e10,'\x20'),_0x25858f[_0x453de6(0x201)][_0x453de6(0x1b1)][_0x453de6(0x13c)]('\x20'));if(_0x46a2fb[_0x453de6(0x1f3)](_0x1a9e10,_0x25858f['title'])&&_0x25858f['_tags']&&_0x46a2fb['wASQC'](_0x25858f[_0x453de6(0x1b1)][_0x453de6(0x212)],0x0))return _0x46a2fb[_0x453de6(0x18d)](_0x46a2fb[_0x453de6(0x206)](_0x1a9e10,'\x20'),_0x25858f[_0x453de6(0x1b1)][_0x453de6(0x13c)]('\x20'));return _0x1a9e10;})[_0x3a1535(0x13c)]('\x20');return _0x2c93e9;}static async[a45_0xf2a4f0(0x1ae)](_0x550e76,_0x3df10f){const _0x25a145=a45_0xf2a4f0,_0x5f2aea={'ggYqJ':function(_0x176677,_0x29ff82){return _0x176677(_0x29ff82);},'ZMkSi':'CBTSessionCreated'},_0x1f3765={'uuid':TestDetails['getTestUUID'](_0x550e76),'integrations':_0x3df10f},_0x584233={};_0x584233['depth']=null,_0x5f2aea[_0x25a145(0x133)](debug,_0x25a145(0x15a)+_0x550e76+',\x20'+util['inspect'](_0x3df10f,_0x584233));const _0x3c2710={};_0x3c2710['event_type']=_0x5f2aea[_0x25a145(0x137)],_0x3c2710[_0x25a145(0x196)]=_0x1f3765,await SessionHandler[_0x25a145(0x224)](_0x3c2710);}async[a45_0xf2a4f0(0x1a5)](){const _0x44cd8f=a45_0xf2a4f0,_0x56e757={'NcgsC':function(_0x57bc6b){return _0x57bc6b();}};if(this[_0x44cd8f(0x13d)])return;const _0x416474=await _0x56e757[_0x44cd8f(0x162)](getGitMetaData);_0x416474&&(this[_0x44cd8f(0x211)]=_0x416474[_0x44cd8f(0x182)]),this[_0x44cd8f(0x13d)]=!![];}[a45_0xf2a4f0(0x1df)](_0x274d35){const _0x19c632=a45_0xf2a4f0,_0x28dbbe={};_0x28dbbe[_0x19c632(0x153)]=function(_0x351838,_0x55f834){return _0x351838!==_0x55f834;};const _0x410ab6=_0x28dbbe,_0x243215=[];if(_0x274d35&&_0x274d35[_0x19c632(0x201)]){let _0x508160=_0x274d35['parent'];while(_0x508160&&_0x410ab6[_0x19c632(0x153)](_0x508160[_0x19c632(0x1de)],'')){_0x243215[_0x19c632(0x157)](_0x508160['title']),_0x508160=_0x508160[_0x19c632(0x201)];}}return _0x243215['reverse']()[_0x19c632(0x152)](0x0,0x2),_0x243215;}[a45_0xf2a4f0(0x190)](_0x172ac9){const _0x37d07d=a45_0xf2a4f0,_0x34ae73={};_0x34ae73['axlUM']=function(_0x1e1add,_0x159640){return _0x1e1add!==_0x159640;},_0x34ae73['qSTHB']=_0x37d07d(0x175),_0x34ae73[_0x37d07d(0x160)]=function(_0x2b4eb4,_0x514a44){return _0x2b4eb4===_0x514a44;},_0x34ae73[_0x37d07d(0x1a8)]='beforeEach\x20hook',_0x34ae73[_0x37d07d(0x1e4)]=_0x37d07d(0x1e6),_0x34ae73['MDljN']=_0x37d07d(0x1fd),_0x34ae73[_0x37d07d(0x148)]=_0x37d07d(0x191);const _0x5409af=_0x34ae73;if(_0x5409af[_0x37d07d(0x154)](_0x172ac9['category'],_0x5409af['qSTHB']))return![];if(_0x5409af[_0x37d07d(0x160)]([_0x5409af[_0x37d07d(0x1a8)],_0x5409af[_0x37d07d(0x1e4)],_0x5409af[_0x37d07d(0x1af)],_0x5409af[_0x37d07d(0x148)]][_0x37d07d(0x177)](_0x172ac9[_0x37d07d(0x1de)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x94e4e4,_0xff5e9d){const _0x5e0be0=a45_0xf2a4f0,_0x661a8f={'aHldV':function(_0x264005,_0x5b52a5){return _0x264005(_0x5b52a5);}},_0x119ca8=_0xff5e9d[_0x5e0be0(0x144)];if(_0x119ca8)return _0x119ca8;return _0xff5e9d['title']+'\x20for\x20'+_0x661a8f[_0x5e0be0(0x1bf)](getTestIdentifier,_0x94e4e4);}[a45_0xf2a4f0(0x19a)](_0xcab7c2,_0x3ae5a3){const _0x30ad74=a45_0xf2a4f0,_0x56f8ca={'QoSpl':function(_0x82c8bf,_0xdf4c6f){return _0x82c8bf(_0xdf4c6f);},'ykQtW':function(_0x53bbd9){return _0x53bbd9();}};let _0x4d5b7c=_0x3ae5a3[_0x30ad74(0x1de)]+_0x30ad74(0x228)+_0x56f8ca[_0x30ad74(0x1d9)](getTestIdentifier,_0xcab7c2);return this[_0x30ad74(0x1e0)][_0x4d5b7c]&&(_0x4d5b7c=_0x4d5b7c+_0x30ad74(0x22b)+_0x56f8ca[_0x30ad74(0x1b8)](uuidv4)),_0x3ae5a3[_0x30ad74(0x144)]=_0x4d5b7c,_0x4d5b7c;}[a45_0xf2a4f0(0x1f9)]=_0x555824=>{const _0x319492=a45_0xf2a4f0,_0x43ccb1={};_0x43ccb1[_0x319492(0x171)]='beforeEach\x20hook',_0x43ccb1[_0x319492(0x1aa)]=_0x319492(0x1c4),_0x43ccb1['otCSv']=_0x319492(0x1e6),_0x43ccb1[_0x319492(0x18a)]=_0x319492(0x13e),_0x43ccb1[_0x319492(0x1e5)]=_0x319492(0x191),_0x43ccb1[_0x319492(0x1e7)]=_0x319492(0x193),_0x43ccb1[_0x319492(0x170)]=_0x319492(0x1fd),_0x43ccb1[_0x319492(0x15e)]=_0x319492(0x218),_0x43ccb1['lzuff']=_0x319492(0x1e2);const _0x38525b=_0x43ccb1;if(_0x555824[_0x319492(0x202)](_0x38525b[_0x319492(0x171)]))return _0x38525b[_0x319492(0x1aa)];else{if(_0x555824[_0x319492(0x202)](_0x38525b[_0x319492(0x1f5)]))return _0x38525b[_0x319492(0x18a)];else{if(_0x555824[_0x319492(0x202)](_0x38525b[_0x319492(0x1e5)]))return _0x38525b[_0x319492(0x1e7)];else{if(_0x555824[_0x319492(0x202)](_0x38525b[_0x319492(0x170)]))return _0x38525b[_0x319492(0x15e)];}}}return _0x38525b[_0x319492(0x17e)];};[a45_0xf2a4f0(0x221)]=_0x3a3bbc=>{const _0x8c0bc1=a45_0xf2a4f0,_0x5994d1={};_0x5994d1['EPdYk']=function(_0x31ec15,_0x21de23){return _0x31ec15===_0x21de23;},_0x5994d1[_0x8c0bc1(0x18b)]=_0x8c0bc1(0x21d);const _0x1ac856=_0x5994d1;let _0x2c99cf=_0x3a3bbc[_0x8c0bc1(0x201)];return _0x1ac856['EPdYk'](typeof _0x3a3bbc['parent'],_0x1ac856[_0x8c0bc1(0x18b)])&&(_0x2c99cf=_0x2c99cf[_0x8c0bc1(0x1de)]),_0x2c99cf+_0x8c0bc1(0x22b)+_0x3a3bbc['title'];};[a45_0xf2a4f0(0x1cf)](){return![];}}module[a45_0xf2a4f0(0x1e8)]=o11yClassErrorHandler(MyReporter,['onBegin',a45_0xf2a4f0(0x19e),a45_0xf2a4f0(0x1a1),'onTestEnd','onStepBegin',a45_0xf2a4f0(0x1f6),'sendSessionDetails'],a45_0xf2a4f0(0x19d));
|
|
1
|
+
const a45_0x470961=a45_0x24e4;(function(_0x225470,_0x4362e1){const _0x16fa02=a45_0x24e4,_0xf716f3=_0x225470();while(!![]){try{const _0x53358e=-parseInt(_0x16fa02(0x112))/0x1*(parseInt(_0x16fa02(0x136))/0x2)+parseInt(_0x16fa02(0xd8))/0x3*(-parseInt(_0x16fa02(0xaf))/0x4)+-parseInt(_0x16fa02(0xc7))/0x5*(parseInt(_0x16fa02(0xf5))/0x6)+parseInt(_0x16fa02(0x151))/0x7+parseInt(_0x16fa02(0x171))/0x8+-parseInt(_0x16fa02(0x186))/0x9+parseInt(_0x16fa02(0x92))/0xa;if(_0x53358e===_0x4362e1)break;else _0xf716f3['push'](_0xf716f3['shift']());}catch(_0x4d399f){_0xf716f3['push'](_0xf716f3['shift']());}}}(a45_0x1108,0xa2fef));function a45_0x1108(){const _0x23958c=['kMnml','ATVXB','bIemd','3jeWebH','mNQmF','xgYkB','BROWSERSTACK_LOG_LEVEL','wsnTH','event_type','hMwdf','MbEMW','mkdirSync','utf8','TEST_STEP','../../../helpers/helper','join','aHaPu','passed','result','_trackedEvents','mbUnn','retry','qnvng','TestRunStarted','RUmIc','GUmLa','WXBuU','shutdown','util','cwd','logLevel','reportLogs','3826908wufBqZ','yvykL','ngPYV','steps','gYine','performance-report-reporter.json','.browserstack','Fovup','BROWSERSTACK_O11Y_PERF_MEASUREMENT','cUdhU','Test\x20Finished\x20with\x20unique\x20id\x20','uploadEventData','getTestFramework','uuid','getCustomRerunParam','statSync','MyReporter','split','ImzBp','object','onBegin','gPwiY','location','TEST_ATTACHMENT','bonJX','file','attachments','SaQov','relative','1011xTLQFb','depth','Mmwaz','JLrBb','cevEq','qgrTF','getHookType','Wvwfy','map','szxdO','jQeWs','format','root','hooks','filter','TIYce','../../../helpers/test-observability/requestQueueHandler','readFileSync','step','fVfRP','logs','redQR','gFxxc','Error\x20in\x20sending\x20trace\x20zip:\x20%s','cmRgK','getInstance','splice','nHYZo','MFQIN','test_run','Trace\x20file\x20found\x20for\x20test:\x20','oHfwG','_bs_hookIdentifier','After\x20Hooks','path','MOvYU','1290mrzYyP','Error\x20in\x20calculating\x20performance:\x20','Playwright','uluUS','titlePath','duration','FDvUh','TestRunFinished','ZwxAF','AoAmp','stack','MNsfK','skuOX','HOnWx','omQaT','../../../helpers/test-observability/sessionHandler','FRCpS','../../../helpers/performance/performance-tester','lSneA','trace_','sendTestRunEvent','onStepEnd','failure','failure_reason','startTime','6|5|1|2|7|0|3|4','length','3696406iDLmtf','../../../../src/bin/utils/constants','env','test_run_uuid','existsSync','retry_of','message','UtNDN','oYggY','getScope','xXDSK','TEST','UUnRu','../../../helpers/test-observability/constants','START_TIME','afterAll\x20hook','cfmGy','IeSLX','pARfn','LAeHb','addTestUIDAndReportLog','XHrnH','CBTSessionCreated','hook_run_uuid','backtrace','Hook\x20Finished\x20with\x20unique\x20id\x20','Test\x20Started\x20with\x20unique\x20id\x20','HpLRY','trackEvent','zwtIW','wgWZD','MaysR','3225360WxHoTW','_gitConfigured','URAdT','unknown','expanded','rWAKW','beforeAll\x20hook','cTJNh','hIiZa','iVjQU','../../../helpers/test-observability/utils','gzgay','endSession','veGOW','toISOString','\x20for\x20','meta','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','HookRunStarted','base64','exports','7536402oroZht','hiMcg','ALSej','qNHwY','basename','xSZaP','screenshot','push','bBKff','DBtaX','KXjMB','../../v2/TestInfo','QdcEL','pending','Kvcvu','LLNul','finishedAt','\x20is\x20triggered','hook','wHjdh','../../v2/state/testFrameworkState','goqFG','getStepIdentifier','sendSessionDetails','toString','BEFORE_ALL','isRunning','POST','javascript','iXTWM','Before\x20Hooks','MAsDF','29973070hkGTbM','startsWith','expectedStatus','../../v2/state/hookState','_tags','Nofoa','KnVgB','BGfna','afterEach\x20hook','setStepIdentifier','category','title','name','DQxXV','startedAt','Hook\x20Started\x20with\x20unique\x20id\x20','_gitConfigPath','XUVTJ','HMVpn','WNeeq','getTestUUID','HookRunFinished','../../../helpers/test-observability/error-handler','beforeEach\x20hook','JVTlq','../../../helpers/testhub/utils','AgXzH','getHierarchy','mVPXb','1983180VzxhQJ','jvxqT','onStepBegin','failed','TEST_SCREENSHOT','PRE','sXGbz','SzqPd','hqjum','printsToStdio','QzxIF','status','getStepsAndLogs','lslDt','onTestBegin','HeNlp','BROWSERSTACK_TEST_RUN_ID','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','Expected\x20to\x20fail,\x20but\x20passed.','SugTf','configureGit','_testHooksMap','onTestEnd','error','10TgwZXr','QDYKR','_tests','sendHookRunEvent','\x20at\x20','parent','needToReportStep','homedir','tXkFY','WieMB','test','all','../../v2/browserstackCLI','Sending\x20session\x20details\x20for\x20'];a45_0x1108=function(){return _0x23958c;};return a45_0x1108();}const RequestQueueHandler=require(a45_0x470961(0x122)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a45_0x470961(0x102)),path=require(a45_0x470961(0x134)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x470961(0x17b)),{getGitMetaData,setLogLevel}=require(a45_0x470961(0xe3)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a45_0x470961(0xf1)),{o11yClassErrorHandler}=require(a45_0x470961(0xa8)),PerformanceTester=require(a45_0x470961(0x147)),{FRAMEWORKS}=require(a45_0x470961(0x15e)),SessionHandler=require(a45_0x470961(0x145)),{appendTesthubParams}=require(a45_0x470961(0xab)),helper=require(a45_0x470961(0xe3)),BrowserstackCLI=require(a45_0x470961(0xd3)),TestFrameworkState=require(a45_0x470961(0x86)),HookState=require(a45_0x470961(0x95)),TestInfo=require(a45_0x470961(0x191)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x470961(0x152));class MyReporter{constructor(_0x18a726){const _0x1c3ef5=a45_0x470961,_0x289bce={'IeSLX':_0x1c3ef5(0x14f),'omQaT':_0x1c3ef5(0xfa),'BbLZU':function(_0x267327,_0x45f558,_0x3e40c4,_0x1da95b){return _0x267327(_0x45f558,_0x3e40c4,_0x1da95b);}},_0xe54859=_0x289bce[_0x1c3ef5(0x162)][_0x1c3ef5(0x106)]('|');let _0x141e10=0x0;while(!![]){switch(_0xe54859[_0x141e10++]){case'0':this[_0x1c3ef5(0x172)]=![];continue;case'1':this[_0x1c3ef5(0xc9)]={};continue;case'2':this[_0x1c3ef5(0xc4)]={};continue;case'3':this[_0x1c3ef5(0xa2)]=null;continue;case'4':this[_0x1c3ef5(0xe8)]=[];continue;case'5':process['env'][_0x1c3ef5(0xfd)]&&(PerformanceTester['startMonitoring'](_0x289bce[_0x1c3ef5(0x144)]),process[_0x1c3ef5(0x153)][_0x1c3ef5(0x15f)]=new Date()[_0x1c3ef5(0x17f)]());continue;case'6':const _0x25fc20={};_0x25fc20[_0x1c3ef5(0xf3)]=process[_0x1c3ef5(0x153)][_0x1c3ef5(0xdb)],_0x289bce['BbLZU'](setLogLevel,_0x25fc20,new Map(),new Map());continue;case'7':this['options']=_0x18a726;continue;}break;}}async[a45_0x470961(0x109)](){const _0xc6b0a4=a45_0x470961,_0x1b48bc={};_0x1b48bc[_0xc6b0a4(0x17e)]=_0xc6b0a4(0x138);const _0x56212b=_0x1b48bc;TestDetails['setup'](),await this[_0xc6b0a4(0xc3)](),TestInfo['setup'](_0x56212b['veGOW']);if(BrowserstackCLI[_0xc6b0a4(0x12b)]()[_0xc6b0a4(0x8c)]()){await BrowserstackCLI['getInstance']()[_0xc6b0a4(0x101)]()[_0xc6b0a4(0x16d)](TestFrameworkState['INIT_TEST'],HookState[_0xc6b0a4(0xb4)],{});return;}}async[a45_0x470961(0xbd)](_0xbf2fcd,_0x252016){const _0x4e914d=a45_0x470961,_0x131eb9={'gzgay':function(_0x48c759,_0x265bcd){return _0x48c759(_0x265bcd);},'LAeHb':function(_0x9a5da7,_0x31036d,_0x39df07){return _0x9a5da7(_0x31036d,_0x39df07);},'jvxqT':_0x4e914d(0xec)};if(BrowserstackCLI[_0x4e914d(0x12b)]()['isRunning']()){const _0x42f57c={};_0x42f57c[_0x4e914d(0xd1)]=_0xbf2fcd,_0x42f57c[_0x4e914d(0xe7)]=_0x252016,await BrowserstackCLI['getInstance']()[_0x4e914d(0x101)]()[_0x4e914d(0x16d)](TestFrameworkState['TEST'],HookState[_0x4e914d(0xb4)],_0x42f57c);return;}const _0x4074a0=_0x131eb9[_0x4e914d(0x17c)](getTestIdentifier,_0xbf2fcd),_0x19df38=TestDetails[_0x4e914d(0xa6)](_0x131eb9[_0x4e914d(0x164)](getTestRunIdentifier,_0xbf2fcd,_0x252016['retry']));process[_0x4e914d(0x153)][_0x4e914d(0xbf)]=_0x19df38;const _0x3ebcfa={};_0x3ebcfa[_0x4e914d(0x102)]=_0x19df38,_0x3ebcfa[_0x4e914d(0xa0)]=_0x252016[_0x4e914d(0x14e)],this[_0x4e914d(0xc9)][_0x4074a0]=_0x3ebcfa,_0x131eb9[_0x4e914d(0x17c)](trace,_0x4e914d(0x16b)+_0x4074a0),await this[_0x4e914d(0x14a)](_0xbf2fcd,_0x131eb9[_0x4e914d(0xb0)],_0x252016);}async['onStepBegin'](_0x2132a4,_0x8a18cd,_0x51aeff){const _0x3034f6=a45_0x470961,_0x45e5e0={'SugTf':function(_0x1aabdd,_0x1d61b2,_0x9caa3d){return _0x1aabdd(_0x1d61b2,_0x9caa3d);},'UDjWl':function(_0x4af4ed,_0x4c1ad8){return _0x4af4ed(_0x4c1ad8);},'QzxIF':_0x3034f6(0x183)};if(!this[_0x3034f6(0xcd)](_0x51aeff,_0x2132a4))return;if(BrowserstackCLI[_0x3034f6(0x12b)]()['isRunning']()){const _0x5395a9=this[_0x3034f6(0x118)](_0x51aeff[_0x3034f6(0x9d)]),_0x434627=TestFrameworkState[_0x5395a9],_0x581d77={};_0x581d77[_0x3034f6(0xd1)]=_0x2132a4,_0x581d77[_0x3034f6(0xe7)]=_0x8a18cd,_0x581d77[_0x3034f6(0x124)]=_0x51aeff,await BrowserstackCLI[_0x3034f6(0x12b)]()[_0x3034f6(0x101)]()[_0x3034f6(0x16d)](_0x434627,HookState[_0x3034f6(0xb4)],_0x581d77);return;}const _0x491a33=this[_0x3034f6(0x9b)](_0x2132a4,_0x51aeff);this[_0x3034f6(0xc9)][_0x491a33]={'uuid':TestDetails['getTestUUID'](_0x491a33),'startedAt':_0x51aeff['startTime'][_0x3034f6(0x17f)]()};const _0xd013a3=_0x45e5e0[_0x3034f6(0xc2)](getTestRunIdentifier,_0x2132a4,_0x8a18cd[_0x3034f6(0xea)]);!this[_0x3034f6(0xc4)][_0xd013a3]&&(this['_testHooksMap'][_0xd013a3]=[]),this['_testHooksMap'][_0xd013a3][_0x3034f6(0x18d)](this[_0x3034f6(0xc9)][_0x491a33][_0x3034f6(0x102)]),_0x45e5e0['UDjWl'](trace,_0x3034f6(0xa1)+_0x491a33+'\x20is\x20triggered\x20for\x20test\x20'+_0xd013a3),await this['sendHookRunEvent'](_0x2132a4,_0x51aeff,_0x45e5e0[_0x3034f6(0xb9)],_0x8a18cd);}async[a45_0x470961(0x14b)](_0x19a67b,_0x42bcc3,_0x499838){const _0x2c31e0=a45_0x470961,_0x4af261={'MbEMW':function(_0x4a4910,_0x1c08c0){return _0x4a4910+_0x1c08c0;},'zGmlt':function(_0x1ca8de,_0x180dc7){return _0x1ca8de(_0x180dc7);},'hqjum':_0x2c31e0(0xa7)};if(!this[_0x2c31e0(0xcd)](_0x499838,_0x19a67b))return;if(BrowserstackCLI[_0x2c31e0(0x12b)]()[_0x2c31e0(0x8c)]()){const _0x2159aa=this['getHookType'](_0x499838[_0x2c31e0(0x9d)]),_0x13864b=TestFrameworkState[_0x2159aa],_0x1a917c={};_0x1a917c[_0x2c31e0(0xd1)]=_0x19a67b,_0x1a917c['result']=_0x42bcc3,_0x1a917c['step']=_0x499838,await BrowserstackCLI[_0x2c31e0(0x12b)]()[_0x2c31e0(0x101)]()[_0x2c31e0(0x16d)](_0x13864b,HookState[_0x2c31e0(0x8d)],_0x1a917c);return;}const _0x5124a3=this[_0x2c31e0(0x88)](_0x19a67b,_0x499838);this[_0x2c31e0(0xc9)][_0x5124a3]={...this['_tests'][_0x5124a3]||{},'finishedAt':new Date(_0x4af261[_0x2c31e0(0xdf)](_0x499838[_0x2c31e0(0x14e)]['getTime'](),_0x499838[_0x2c31e0(0x13b)]))},_0x4af261['zGmlt'](trace,_0x2c31e0(0x16a)+_0x5124a3+_0x2c31e0(0x83)),await this['sendHookRunEvent'](_0x19a67b,_0x499838,_0x4af261[_0x2c31e0(0xb7)],_0x42bcc3);}async[a45_0x470961(0xc5)](_0x965755,_0x2f81a7){const _0x1db870=a45_0x470961,_0x1abc59={'mbUnn':function(_0x1ac4a1,_0x569f9d){return _0x1ac4a1===_0x569f9d;},'hIiZa':_0x1db870(0x18c),'SvbGd':_0x1db870(0xb3),'gPwiY':_0x1db870(0x184),'zwtIW':function(_0x4f2df2,_0xc19f03){return _0x4f2df2(_0xc19f03);},'UtNDN':function(_0x7ac846,_0x21ea42,_0x585ab8){return _0x7ac846(_0x21ea42,_0x585ab8);},'wgWZD':_0x1db870(0x13d),'jQeWs':_0x1db870(0xc0),'cpCCL':function(_0x3de9bd,_0x2736d8){return _0x3de9bd(_0x2736d8);},'KDScF':function(_0x5cc683,_0x362acd,_0x1bfff0){return _0x5cc683(_0x362acd,_0x1bfff0);},'Nofoa':function(_0x593ce6,_0x2e0346){return _0x593ce6(_0x2e0346);},'skuOX':_0x1db870(0x129),'AgXzH':function(_0x175027,_0x649952){return _0x175027>_0x649952;}};if(BrowserstackCLI['getInstance']()[_0x1db870(0x8c)]()){const _0x1d5fe5={};_0x1d5fe5[_0x1db870(0xd1)]=_0x965755,_0x1d5fe5[_0x1db870(0xe7)]=_0x2f81a7,this['_trackedEvents'][_0x1db870(0x18d)](BrowserstackCLI[_0x1db870(0x12b)]()[_0x1db870(0x101)]()['trackEvent'](TestFrameworkState[_0x1db870(0x15c)],HookState[_0x1db870(0x8d)],_0x1d5fe5));return;}const _0x2977ed=_0x1abc59[_0x1db870(0x16e)](getTestIdentifier,_0x965755),_0x150b6a=TestDetails[_0x1db870(0xa6)](_0x1abc59[_0x1db870(0x158)](getTestRunIdentifier,_0x965755,_0x2f81a7[_0x1db870(0xea)]));this['_tests'][_0x2977ed]={...this[_0x1db870(0xc9)][_0x2977ed]||{},'finishedAt':new Date()[_0x1db870(0x17f)]()},_0x1abc59[_0x1db870(0x16e)](debug,_0x1db870(0xff)+_0x2977ed);try{await this[_0x1db870(0x14a)](_0x965755,_0x1abc59[_0x1db870(0x16f)],_0x2f81a7);}catch(_0x4db9b0){_0x1abc59[_0x1db870(0x16e)](debug,util[_0x1db870(0x11d)](_0x1abc59[_0x1db870(0x11c)],_0x4db9b0[_0x1db870(0x8a)]()));}try{_0x1abc59['cpCCL'](debug,_0x1db870(0x182)+_0x150b6a),await _0x1abc59['KDScF'](sendTraceZip,_0x2f81a7,_0x150b6a);}catch(_0x1d143f){_0x1abc59[_0x1db870(0x97)](debug,util[_0x1db870(0x11d)](_0x1abc59[_0x1db870(0x142)],_0x1d143f[_0x1db870(0x8a)]()));}const _0xd55ab4=[];_0x2f81a7[_0x1db870(0x10f)]&&_0x2f81a7[_0x1db870(0x10f)]['map'](_0x1ec2c6=>{const _0x2e8010=_0x1db870;if(_0x1abc59[_0x2e8010(0xe9)](_0x1ec2c6[_0x2e8010(0x9e)],_0x1abc59[_0x2e8010(0x179)])){if(!_0x1ec2c6['path']||!fs[_0x2e8010(0x155)](_0x1ec2c6[_0x2e8010(0x134)]))return;_0xd55ab4[_0x2e8010(0x18d)]({'test_run_uuid':_0x150b6a,'timestamp':fs[_0x2e8010(0x104)](_0x1ec2c6[_0x2e8010(0x134)])['mtime'],'kind':_0x1abc59['SvbGd'],'message':fs[_0x2e8010(0x123)](_0x1ec2c6[_0x2e8010(0x134)],{'encoding':_0x1abc59[_0x2e8010(0x10a)]})});}}),_0x1abc59[_0x1db870(0xac)](_0xd55ab4[_0x1db870(0x150)],0x0)&&await MyReporter['reportLogs'](_0xd55ab4);}async[a45_0x470961(0x17d)](){const _0x526c1b=a45_0x470961;await RequestQueueHandler[_0x526c1b(0x12b)]()[_0x526c1b(0xf0)]();}async['onEnd'](_0x524937){const _0x139887=a45_0x470961,_0x5452b0={'ngPYV':function(_0xc26e02){return _0xc26e02();},'bBKff':function(_0x4409c5,_0x4bbb8a){return _0x4409c5(_0x4bbb8a);}};await Promise[_0x139887(0xd2)](this['_trackedEvents']),await this[_0x139887(0x17d)]();try{process[_0x139887(0x153)][_0x139887(0xfd)]&&await _0x5452b0[_0x139887(0xf7)](calculatePerformance);}catch(_0x5f14aa){_0x5452b0[_0x139887(0x18e)](debug,_0x139887(0x137)+_0x5f14aa[_0x139887(0x8a)]());}}static async[a45_0x470961(0x165)](_0x217568,_0x37c8e7){const _0x85e14e=a45_0x470961;_0x37c8e7[_0x85e14e(0x154)]=TestDetails[_0x85e14e(0xa6)](_0x217568),await this[_0x85e14e(0xf4)]([_0x37c8e7]);}static async[a45_0x470961(0xf4)](_0xd837d8){const _0x5654b5=a45_0x470961,_0x12621b={};_0x12621b['BzmeB']='LogCreated';const _0x1c7f35=_0x12621b;if(BrowserstackCLI[_0x5654b5(0x12b)]()[_0x5654b5(0x8c)]())return;const _0x93b26a={};_0x93b26a[_0x5654b5(0xdd)]=_0x1c7f35['BzmeB'],_0x93b26a['logs']=_0xd837d8,await SessionHandler['uploadEventData'](_0x93b26a);}async[a45_0x470961(0xca)](_0x4ba270,_0x32faff,_0x7a619d,_0x587f7c){const _0x1be5f6=a45_0x470961,_0x50cc9c={'QDYKR':'hook','MaysR':_0x1be5f6(0x8e),'gFxxc':_0x1be5f6(0x193),'MFQIN':function(_0x212ee1,_0x1cca01){return _0x212ee1>=_0x1cca01;},'GUmLa':function(_0x2cb5a3,_0x144756){return _0x2cb5a3===_0x144756;},'bIemd':'HookRunFinished','Wvwfy':function(_0x45582e,_0xc4bc67){return _0x45582e>_0xc4bc67;},'SaQov':_0x1be5f6(0xb2),'XUVTJ':function(_0x6c76ef,_0xbaec46){return _0x6c76ef(_0xbaec46);},'WXBuU':function(_0x3fa0e0,_0x17e684){return _0x3fa0e0(_0x17e684);},'KnVgB':function(_0x2eddd2,_0x15249b,_0x1fe61f){return _0x2eddd2(_0x15249b,_0x1fe61f);},'KZbHb':'err','QdcEL':_0x1be5f6(0xe6)},_0x4281ce=this[_0x1be5f6(0x88)](_0x4ba270,_0x32faff),_0x141200=this[_0x1be5f6(0xc9)][_0x4281ce],_0x2ccbf2={'uuid':_0x141200['uuid'],'type':_0x50cc9c['QDYKR'],'hook_type':this[_0x1be5f6(0x118)](_0x32faff[_0x1be5f6(0x9d)]),'name':_0x32faff[_0x1be5f6(0x9d)],'scope':this['getScope'](_0x32faff),'scopes':this['getHierarchy'](_0x4ba270),'body':{'lang':_0x50cc9c[_0x1be5f6(0x170)],'code':null},'identifier':_0x4281ce,'file_name':path[_0x1be5f6(0x111)](process['cwd'](),_0x4ba270[_0x1be5f6(0x10b)][_0x1be5f6(0x10e)]),'location':path['relative'](process['cwd'](),_0x4ba270[_0x1be5f6(0x10b)][_0x1be5f6(0x10e)]),'result':_0x50cc9c[_0x1be5f6(0x128)],'duration_in_ms':_0x50cc9c[_0x1be5f6(0x12e)](_0x32faff[_0x1be5f6(0x13b)],0x0)?_0x32faff[_0x1be5f6(0x13b)]:undefined,'vc_filepath':this[_0x1be5f6(0xa2)]&&_0x4ba270['location'][_0x1be5f6(0x10e)]?path[_0x1be5f6(0x111)](this[_0x1be5f6(0xa2)],_0x4ba270[_0x1be5f6(0x10b)][_0x1be5f6(0x10e)]):undefined,'started_at':_0x141200[_0x1be5f6(0xa0)],'finished_at':_0x141200[_0x1be5f6(0x196)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x50cc9c['GUmLa'](_0x7a619d,_0x50cc9c[_0x1be5f6(0xd7)])){const {steps:_0x496163,logs:_0x44d598}=this[_0x1be5f6(0xbb)](_0x32faff[_0x1be5f6(0xf8)],_0x141200['uuid'],_0x50cc9c[_0x1be5f6(0xc8)]);_0x44d598&&_0x50cc9c[_0x1be5f6(0x119)](_0x44d598[_0x1be5f6(0x150)],0x0)&&await MyReporter[_0x1be5f6(0xf4)](_0x44d598);const _0x3e448b={};_0x3e448b[_0x1be5f6(0xf8)]=_0x496163,_0x2ccbf2['meta']=_0x3e448b;if(_0x32faff[_0x1be5f6(0xc6)]){_0x2ccbf2[_0x1be5f6(0xe7)]=_0x50cc9c[_0x1be5f6(0x110)],_0x2ccbf2[_0x1be5f6(0x14d)]=_0x50cc9c[_0x1be5f6(0xa3)](removeAnsiColors,_0x32faff[_0x1be5f6(0xc6)][_0x1be5f6(0x157)]),_0x2ccbf2['failure_type']=_0x50cc9c[_0x1be5f6(0xef)](getFailureType,_0x32faff[_0x1be5f6(0xc6)][_0x1be5f6(0x157)]);const _0x1678ec=_0x50cc9c[_0x1be5f6(0x98)](failureData,_0x32faff['error'],_0x50cc9c['KZbHb']);if(_0x1678ec&&_0x50cc9c[_0x1be5f6(0xee)](_0x1678ec[_0x1be5f6(0x150)],0x0)){const _0x1a3ced={};_0x1a3ced[_0x1be5f6(0x169)]=[_0x2ccbf2['failure_reason']],_0x1a3ced[_0x1be5f6(0x175)]=[],_0x1678ec[_0x1be5f6(0x18d)](_0x1a3ced);}_0x2ccbf2[_0x1be5f6(0x14c)]=_0x1678ec;}else _0x2ccbf2[_0x1be5f6(0xe7)]=_0x50cc9c[_0x1be5f6(0x192)];}const _0x3caa4f={};_0x3caa4f[_0x1be5f6(0xdd)]=_0x7a619d,_0x3caa4f['hook_run']=_0x2ccbf2;const _0x2a384b=_0x3caa4f;await SessionHandler['uploadEventData'](_0x2a384b);}[a45_0x470961(0xbb)](_0x1320f1,_0x77ef9a,_0x57d89c){const _0x50f7c1=a45_0x470961,_0x117f75={'FRCpS':function(_0x452f89,_0x41f983){return _0x452f89===_0x41f983;},'MOvYU':'hook','ZwxAF':_0x50f7c1(0x133),'DBtaX':function(_0x3af7e3,_0xa32c85){return _0x3af7e3===_0xa32c85;},'bWPsP':_0x50f7c1(0x90),'TIYce':_0x50f7c1(0xd1),'HeNlp':_0x50f7c1(0x154),'nHYZo':_0x50f7c1(0x168),'ATVXB':_0x50f7c1(0xe2),'JLrBb':'failed','MNsfK':'passed','gYine':function(_0x146225,_0x3fcde3){return _0x146225(_0x3fcde3);},'hMwdf':function(_0x31316f,_0x51c112){return _0x31316f(_0x51c112);},'DQxXV':function(_0x3a0fed){return _0x3a0fed();},'oYggY':function(_0xdf9b2d,_0x4eebab,_0x468bf4){return _0xdf9b2d(_0x4eebab,_0x468bf4);},'KXjMB':function(_0x59af32,_0xe5dd98,_0x2676dc){return _0x59af32(_0xe5dd98,_0x2676dc);}},_0x4f551b=[],_0x26db31=[],_0x11a263=_0x1320f1[_0x50f7c1(0x120)](_0x43a96f=>{const _0x1a09f9=_0x50f7c1;if(_0x117f75[_0x1a09f9(0x146)](_0x43a96f[_0x1a09f9(0x9c)],_0x117f75[_0x1a09f9(0x135)])&&(_0x117f75[_0x1a09f9(0x146)](_0x43a96f[_0x1a09f9(0x9d)],_0x117f75[_0x1a09f9(0x13e)])||_0x117f75[_0x1a09f9(0x18f)](_0x43a96f['title'],_0x117f75['bWPsP'])))return![];return!![];}),_0xf0c2eb=(_0x5bfa69,_0x5822d6=![])=>{const _0x22f35d=_0x50f7c1;if(_0x117f75[_0x22f35d(0x18f)](_0x5bfa69[_0x22f35d(0xf8)]['length'],0x0)){const _0x3f8d70=_0x117f75[_0x22f35d(0x18f)](_0x57d89c,_0x117f75[_0x22f35d(0x121)])?_0x117f75[_0x22f35d(0xbe)]:_0x117f75[_0x22f35d(0x12d)];_0x26db31[_0x22f35d(0x18d)]({'kind':_0x117f75[_0x22f35d(0xd6)],[_0x3f8d70]:_0x77ef9a,'message':_0x5bfa69[_0x22f35d(0x9d)],'timestamp':_0x5bfa69[_0x22f35d(0x14e)][_0x22f35d(0x17f)](),'level':_0x5bfa69['error']?_0x117f75[_0x22f35d(0x115)]:_0x117f75['MNsfK'],'duration':_0x5bfa69[_0x22f35d(0x13b)],'failure':_0x5bfa69[_0x22f35d(0xc6)]&&_0x5bfa69[_0x22f35d(0xc6)][_0x22f35d(0x157)]&&_0x117f75[_0x22f35d(0xf9)](removeAnsiColors,_0x5bfa69[_0x22f35d(0xc6)][_0x22f35d(0x157)]),'failure_type':_0x117f75[_0x22f35d(0xde)](getFailureType,_0x5bfa69[_0x22f35d(0xc6)]&&_0x5bfa69[_0x22f35d(0xc6)][_0x22f35d(0x157)])});}else{!_0x5822d6&&_0x4f551b[_0x22f35d(0x18d)]({'id':_0x117f75[_0x22f35d(0x9f)](uuidv4),'text':_0x5bfa69[_0x22f35d(0x9d)],'keyword':undefined,'started_at':_0x5bfa69['startTime'][_0x22f35d(0x17f)](),'duration':_0x5bfa69[_0x22f35d(0x13b)],'result':_0x5bfa69[_0x22f35d(0xc6)]?_0x117f75[_0x22f35d(0x115)]:_0x117f75[_0x22f35d(0x141)],'failure':_0x5bfa69['error']&&_0x5bfa69[_0x22f35d(0xc6)]['message']&&_0x117f75[_0x22f35d(0xf9)](removeAnsiColors,_0x5bfa69[_0x22f35d(0xc6)][_0x22f35d(0x157)]),'failure_type':_0x117f75[_0x22f35d(0xde)](getFailureType,_0x5bfa69[_0x22f35d(0xc6)]&&_0x5bfa69['error']['message'])});for(const _0x2ef313 of _0x5bfa69[_0x22f35d(0xf8)]){_0x117f75[_0x22f35d(0x159)](_0xf0c2eb,_0x2ef313,!![]);}}};for(const _0x12c2a0 of _0x11a263){_0x117f75[_0x50f7c1(0x190)](_0xf0c2eb,_0x12c2a0,![]);}const _0x5800b4={};return _0x5800b4[_0x50f7c1(0xf8)]=_0x4f551b,_0x5800b4[_0x50f7c1(0x126)]=_0x26db31,_0x5800b4;}async[a45_0x470961(0x14a)](_0x122d67,_0x5e8368,_0xc090f1){const _0x817119=a45_0x470961,_0x43f83f={'qNHwY':function(_0xdcaf7a,_0x362129){return _0xdcaf7a(_0x362129);},'jKMYE':_0x817119(0x10c),'qgrTF':function(_0x491396,_0x1ef105){return _0x491396(_0x1ef105);},'szxdO':_0x817119(0xd1),'wHjdh':_0x817119(0x8e),'UUnRu':_0x817119(0x193),'aHaPu':function(_0xfe4ab1,_0x1a2a7d,_0x571a1c,_0x9cd0be,_0x3d0cc4){return _0xfe4ab1(_0x1a2a7d,_0x571a1c,_0x9cd0be,_0x3d0cc4);},'mVPXb':function(_0x567164,_0x1c84f0){return _0x567164>_0x1c84f0;},'xSZaP':function(_0x9d0278,_0x21628e,_0x41cc76){return _0x9d0278(_0x21628e,_0x41cc76);},'cTJNh':function(_0x18523f,_0x25f3c4){return _0x18523f-_0x25f3c4;},'LLNul':function(_0x2419a0,_0x597c97){return _0x2419a0===_0x597c97;},'BGfna':'TestRunFinished','XHrnH':function(_0x47591a,_0x21bee9){return _0x47591a===_0x21bee9;},'xXDSK':function(_0x53d649,_0x255a42){return _0x53d649===_0x255a42;},'AoAmp':'skipped','cUdhU':_0x817119(0xe6),'Fovup':_0x817119(0xb2),'RUmIc':'timedOut','pARfn':_0x817119(0xc1),'ALSej':function(_0x31eb48,_0x8d40df){return _0x31eb48(_0x8d40df);},'hiMcg':function(_0x360781,_0x44d78c){return _0x360781(_0x44d78c);},'SHLor':function(_0x461224,_0x17283a){return _0x461224>_0x17283a;},'rWAKW':_0x817119(0x134),'qnvng':function(_0x3cee64,_0x577328){return _0x3cee64(_0x577328);},'FDvUh':function(_0x10f617,_0x49530e){return _0x10f617(_0x49530e);},'OZBCt':_0x817119(0xfb),'WNeeq':_0x817119(0xe1),'jFcrD':function(_0x48dfa8,_0x5c809c){return _0x48dfa8(_0x5c809c);},'vwMZz':function(_0x2bc530,_0x198ceb){return _0x2bc530!==_0x198ceb;}},_0x453443=_0x43f83f[_0x817119(0x117)](getTestIdentifier,_0x122d67),_0x4b7473=this[_0x817119(0x15a)](_0x122d67),_0x1e856d=this[_0x817119(0xc9)][_0x453443],_0xe3774c=path[_0x817119(0x111)](process[_0x817119(0xf2)](),_0x122d67[_0x817119(0x10b)][_0x817119(0x10e)]);await this[_0x817119(0xc3)]();const _0x41e205={'uuid':_0x1e856d[_0x817119(0x102)],'type':_0x43f83f['szxdO'],'name':_0x122d67[_0x817119(0x9d)],'body':{'lang':_0x43f83f[_0x817119(0x85)],'code':_0x122d67['fn'][_0x817119(0x8a)]()},'scope':_0x4b7473,'scopes':this[_0x817119(0xad)](_0x122d67),'identifier':_0x453443,'file_name':_0xe3774c,'location':_0xe3774c,'result':_0x43f83f[_0x817119(0x15d)],'duration_in_ms':_0xc090f1&&_0xc090f1['duration']?_0xc090f1['duration']:null,'vc_filepath':this['_gitConfigPath']&&_0x122d67[_0x817119(0x10b)]['file']?path[_0x817119(0x111)](this[_0x817119(0xa2)],_0x122d67[_0x817119(0x10b)][_0x817119(0x10e)]):undefined,'started_at':_0x1e856d['startedAt'],'finished_at':_0x1e856d[_0x817119(0x196)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x122d67)},'tags':_0x43f83f[_0x817119(0x117)](getTestTags,_0x122d67)};_0x43f83f[_0x817119(0xe5)](appendTesthubParams,_0x41e205,_0x5e8368,_0x122d67,FRAMEWORKS['PLAYWRIGHT']);_0xc090f1&&_0x43f83f[_0x817119(0xae)](_0xc090f1[_0x817119(0xea)],0x0)&&(_0x41e205[_0x817119(0x156)]=TestDetails['getTestUUID'](_0x43f83f[_0x817119(0x18b)](getTestRunIdentifier,_0x122d67,_0x43f83f[_0x817119(0x178)](_0xc090f1['retry'],0x1))));if(_0x43f83f['LLNul'](_0x5e8368,_0x43f83f[_0x817119(0x99)])){_0x41e205[_0x817119(0xe7)]=_0xc090f1['status'];if(_0x43f83f[_0x817119(0x166)](_0xc090f1[_0x817119(0xba)],_0x122d67[_0x817119(0x94)]))_0x41e205[_0x817119(0xe7)]=_0x43f83f[_0x817119(0x15b)](_0xc090f1[_0x817119(0xba)],_0x43f83f[_0x817119(0x13f)])?_0x43f83f['AoAmp']:_0x43f83f[_0x817119(0xfe)];else{(_0x43f83f[_0x817119(0x195)](_0x41e205['result'],_0x43f83f[_0x817119(0xfe)])||_0x43f83f[_0x817119(0x166)](_0x41e205[_0x817119(0xe7)],_0x43f83f[_0x817119(0xfc)])||_0x43f83f[_0x817119(0x166)](_0x41e205[_0x817119(0xe7)],_0x43f83f[_0x817119(0xed)]))&&(_0x41e205[_0x817119(0xe7)]=_0x43f83f[_0x817119(0xfc)]);if(_0x43f83f['XHrnH'](_0xc090f1['status'],_0x43f83f[_0x817119(0xfe)])&&_0x43f83f[_0x817119(0x195)](_0x122d67[_0x817119(0x94)],_0x43f83f[_0x817119(0xfc)])){const _0x22ba6d={};_0x22ba6d['message']=_0x43f83f[_0x817119(0x163)],_0x22ba6d[_0x817119(0x140)]=_0x43f83f['pARfn'],_0xc090f1[_0x817119(0xc6)]=_0x22ba6d,_0xc090f1['errors']=[_0xc090f1['error']];}}const _0x4e09fb=_0x43f83f[_0x817119(0x18b)](getTestRunIdentifier,_0x122d67,_0xc090f1[_0x817119(0xea)]);_0x41e205[_0x817119(0x11f)]=this[_0x817119(0xc4)][_0x4e09fb];const {steps:_0x793a28,logs:_0x5f5786}=this[_0x817119(0xbb)](_0xc090f1[_0x817119(0xf8)],_0x1e856d[_0x817119(0x102)],_0x43f83f[_0x817119(0x11b)]);await MyReporter['reportLogs'](_0x5f5786);const _0x1f54ff={};_0x1f54ff[_0x817119(0xf8)]=_0x793a28,_0x41e205[_0x817119(0x181)]=_0x1f54ff;if(_0xc090f1[_0x817119(0xc6)]){_0x41e205['failure_reason']=_0x43f83f[_0x817119(0x188)](removeAnsiColors,_0xc090f1[_0x817119(0xc6)]['message']),_0x41e205['failure_type']=_0x43f83f[_0x817119(0x187)](getFailureType,_0xc090f1[_0x817119(0xc6)][_0x817119(0x157)]);const _0x5734e6={};_0x5734e6['test_run_uuid']=_0x1e856d[_0x817119(0x102)];const {failureData:_0x322324,logs:_0xf0b621}=_0x43f83f[_0x817119(0x18b)](getFailureData,_0xc090f1['errors'],_0x5734e6);if(_0x322324&&_0x43f83f[_0x817119(0x166)](_0x322324[_0x817119(0x150)],0x0)){const _0x29eba5={};_0x29eba5['backtrace']=[_0x41e205['failure_reason']],_0x29eba5['expanded']=[],_0x322324[_0x817119(0x18d)](_0x29eba5);}_0x41e205['failure']=_0x322324,_0xf0b621&&_0x43f83f['SHLor'](_0xf0b621[_0x817119(0x150)],0x0)&&await MyReporter['reportLogs'](_0xf0b621);}}let _0x5704be=_0x43f83f[_0x817119(0x18b)](findNestedKey,_0xc090f1,_0x43f83f[_0x817119(0x176)]);if(_0x5704be&&_0x43f83f[_0x817119(0xeb)](validateFilePath,_0x5704be))_0x43f83f[_0x817119(0x13c)](debug,_0x817119(0x130)+_0x1e856d[_0x817119(0x102)]+'\x20at\x20'+_0x5704be);else{const _0xc31227=path[_0x817119(0xe4)](helper[_0x817119(0xce)](),_0x43f83f['OZBCt']);!fs[_0x817119(0x155)](_0xc31227)&&fs[_0x817119(0xe0)](_0xc31227),fs[_0x817119(0x155)](path[_0x817119(0xe4)](_0xc31227,'trace_'+_0x1e856d[_0x817119(0x102)]+'.txt'))&&(_0x5704be=fs[_0x817119(0x123)](path[_0x817119(0xe4)](_0xc31227,_0x817119(0x149)+_0x1e856d[_0x817119(0x102)]+'.txt'),_0x43f83f[_0x817119(0xa5)]),_0x43f83f['jFcrD'](debug,_0x817119(0x130)+_0x1e856d[_0x817119(0x102)]+_0x817119(0xcb)+_0x5704be));}const _0x275a94={};_0x275a94[_0x817119(0xdd)]=_0x5e8368,_0x275a94[_0x817119(0x12f)]=_0x41e205;const _0x3c35e8=_0x275a94;_0x5704be&&_0x43f83f['vwMZz'](_0x5704be,'')&&_0x43f83f['XHrnH'](_0x5e8368,_0x43f83f['BGfna'])&&(!_0x3c35e8[_0x817119(0x126)]&&(_0x3c35e8[_0x817119(0x126)]=[]),_0x5704be[_0x817119(0x106)]('\x0a')['forEach'](_0x4f511e=>{const _0x5433b4=_0x817119;_0x4f511e&&_0x43f83f[_0x5433b4(0x189)](validateFilePath,_0x4f511e)&&_0x3c35e8[_0x5433b4(0x126)][_0x5433b4(0x18d)]({'kind':_0x43f83f['jKMYE'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x1e856d[_0x5433b4(0x102)],'file_name':path[_0x5433b4(0x18a)](_0x4f511e),'file_size':fs[_0x5433b4(0x104)](_0x4f511e)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x817119(0x100)](_0x3c35e8);}[a45_0x470961(0x103)](_0x333b60){const _0x2b2959=a45_0x470961,_0x207d15={};_0x207d15[_0x2b2959(0xd9)]=function(_0x11bc46,_0x5ec03d){return _0x11bc46===_0x5ec03d;},_0x207d15[_0x2b2959(0x125)]=function(_0x27ed0f,_0x23073d){return _0x27ed0f>_0x23073d;},_0x207d15[_0x2b2959(0x87)]=function(_0x43e4b7,_0x2632dd){return _0x43e4b7+_0x2632dd;},_0x207d15['mTEnv']=function(_0x2a98a2,_0x281784){return _0x2a98a2+_0x281784;},_0x207d15['oHfwG']=function(_0x4394ca,_0x1998aa){return _0x4394ca===_0x1998aa;},_0x207d15[_0x2b2959(0xdc)]=function(_0x8bf62d,_0x158f52){return _0x8bf62d>_0x158f52;},_0x207d15[_0x2b2959(0x194)]=function(_0x4e397d,_0x2b6de5){return _0x4e397d+_0x2b6de5;},_0x207d15['Mmwaz']=function(_0x2b8d09,_0x415a86){return _0x2b8d09+_0x415a86;};const _0xfecf6f=_0x207d15,_0x22c39f=_0x333b60[_0x2b2959(0x13a)]()[_0x2b2959(0x11a)](_0x418ce5=>{const _0x112681=_0x2b2959;if(_0x333b60['parent']&&_0xfecf6f[_0x112681(0xd9)](_0x418ce5,_0x333b60['parent'][_0x112681(0x9d)])&&_0x333b60[_0x112681(0xcc)][_0x112681(0x96)]&&_0xfecf6f[_0x112681(0x125)](_0x333b60[_0x112681(0xcc)][_0x112681(0x96)][_0x112681(0x150)],0x0))return _0xfecf6f[_0x112681(0x87)](_0xfecf6f['mTEnv'](_0x418ce5,'\x20'),_0x333b60['parent'][_0x112681(0x96)]['join']('\x20'));if(_0xfecf6f[_0x112681(0x131)](_0x418ce5,_0x333b60[_0x112681(0x9d)])&&_0x333b60['_tags']&&_0xfecf6f[_0x112681(0xdc)](_0x333b60[_0x112681(0x96)][_0x112681(0x150)],0x0))return _0xfecf6f[_0x112681(0x194)](_0xfecf6f[_0x112681(0x114)](_0x418ce5,'\x20'),_0x333b60[_0x112681(0x96)][_0x112681(0xe4)]('\x20'));return _0x418ce5;})[_0x2b2959(0xe4)]('\x20');return _0x22c39f;}static async[a45_0x470961(0x89)](_0x22a25a,_0x28499d){const _0x3b7495=a45_0x470961,_0x1827e8={'iXTWM':function(_0x3de21d,_0x2532e2){return _0x3de21d(_0x2532e2);},'yvykL':_0x3b7495(0x167)},_0x38993d={'uuid':TestDetails[_0x3b7495(0xa6)](_0x22a25a),'integrations':_0x28499d},_0x314e9a={};_0x314e9a[_0x3b7495(0x113)]=null,_0x1827e8[_0x3b7495(0x8f)](debug,_0x3b7495(0xd4)+_0x22a25a+',\x20'+util['inspect'](_0x28499d,_0x314e9a));const _0x5d803={};_0x5d803[_0x3b7495(0xdd)]=_0x1827e8[_0x3b7495(0xf6)],_0x5d803[_0x3b7495(0x12f)]=_0x38993d,await SessionHandler[_0x3b7495(0x100)](_0x5d803);}async[a45_0x470961(0xc3)](){const _0x450cf6=a45_0x470961,_0x113760={'bonJX':function(_0x2d5887){return _0x2d5887();}};if(this[_0x450cf6(0x172)])return;const _0x5e6854=await _0x113760[_0x450cf6(0x10d)](getGitMetaData);_0x5e6854&&(this['_gitConfigPath']=_0x5e6854[_0x450cf6(0x11e)]),this[_0x450cf6(0x172)]=!![];}[a45_0x470961(0xad)](_0x1acef2){const _0x3bb332=a45_0x470961,_0x5ce5db={};_0x5ce5db['JVTlq']=function(_0x9df483,_0x54e818){return _0x9df483!==_0x54e818;};const _0x2bb871=_0x5ce5db,_0x2e8b59=[];if(_0x1acef2&&_0x1acef2[_0x3bb332(0xcc)]){let _0x273120=_0x1acef2[_0x3bb332(0xcc)];while(_0x273120&&_0x2bb871[_0x3bb332(0xaa)](_0x273120[_0x3bb332(0x9d)],'')){_0x2e8b59[_0x3bb332(0x18d)](_0x273120[_0x3bb332(0x9d)]),_0x273120=_0x273120[_0x3bb332(0xcc)];}}return _0x2e8b59['reverse']()[_0x3bb332(0x12c)](0x0,0x2),_0x2e8b59;}[a45_0x470961(0xcd)](_0x102444){const _0xf2769f=a45_0x470961,_0x40c9e4={};_0x40c9e4[_0xf2769f(0xcf)]=function(_0x3753ee,_0x4db1e2){return _0x3753ee!==_0x4db1e2;},_0x40c9e4[_0xf2769f(0x116)]=_0xf2769f(0x84),_0x40c9e4['HpLRY']=function(_0x4809d0,_0x2f6cbf){return _0x4809d0===_0x2f6cbf;},_0x40c9e4[_0xf2769f(0x12a)]='beforeEach\x20hook',_0x40c9e4[_0xf2769f(0x148)]='beforeAll\x20hook',_0x40c9e4[_0xf2769f(0x91)]=_0xf2769f(0x160),_0x40c9e4['ImzBp']=_0xf2769f(0x9a);const _0x515e7e=_0x40c9e4;if(_0x515e7e[_0xf2769f(0xcf)](_0x102444[_0xf2769f(0x9c)],_0x515e7e[_0xf2769f(0x116)]))return![];if(_0x515e7e[_0xf2769f(0x16c)]([_0x515e7e[_0xf2769f(0x12a)],_0x515e7e[_0xf2769f(0x148)],_0x515e7e[_0xf2769f(0x91)],_0x515e7e[_0xf2769f(0x107)]]['indexOf'](_0x102444[_0xf2769f(0x9d)]),-0x1))return![];return!![];}[a45_0x470961(0x88)](_0x36e5fc,_0x1a7d29){const _0x2141ff=a45_0x470961,_0x206d50={'URAdT':function(_0x3cd0c6,_0x595316){return _0x3cd0c6(_0x595316);}},_0x383c51=_0x1a7d29[_0x2141ff(0x132)];if(_0x383c51)return _0x383c51;return _0x1a7d29[_0x2141ff(0x9d)]+_0x2141ff(0x180)+_0x206d50[_0x2141ff(0x173)](getTestIdentifier,_0x36e5fc);}['setStepIdentifier'](_0x2756dd,_0x578709){const _0x2fa458=a45_0x470961,_0x5ea87f={'kMnml':function(_0x4d8fb6,_0x215540){return _0x4d8fb6(_0x215540);},'SzqPd':function(_0x21163a){return _0x21163a();}};let _0xfa11e0=_0x578709['title']+'\x20for\x20'+_0x5ea87f[_0x2fa458(0xd5)](getTestIdentifier,_0x2756dd);return this['_tests'][_0xfa11e0]&&(_0xfa11e0=_0xfa11e0+'\x20-\x20'+_0x5ea87f[_0x2fa458(0xb6)](uuidv4)),_0x578709[_0x2fa458(0x132)]=_0xfa11e0,_0xfa11e0;}[a45_0x470961(0x118)]=_0xd3277d=>{const _0x1cba1d=a45_0x470961,_0x2a4a4a={};_0x2a4a4a[_0x1cba1d(0x139)]=_0x1cba1d(0xa9),_0x2a4a4a[_0x1cba1d(0xbc)]='BEFORE_EACH',_0x2a4a4a['FZbdP']=_0x1cba1d(0x177),_0x2a4a4a[_0x1cba1d(0x143)]=_0x1cba1d(0x8b),_0x2a4a4a['HMVpn']=_0x1cba1d(0x9a),_0x2a4a4a[_0x1cba1d(0xb5)]='AFTER_EACH',_0x2a4a4a[_0x1cba1d(0x17a)]=_0x1cba1d(0x160),_0x2a4a4a['redQR']='AFTER_ALL',_0x2a4a4a[_0x1cba1d(0x161)]=_0x1cba1d(0x174);const _0x253dca=_0x2a4a4a;if(_0xd3277d[_0x1cba1d(0x93)](_0x253dca[_0x1cba1d(0x139)]))return _0x253dca[_0x1cba1d(0xbc)];else{if(_0xd3277d[_0x1cba1d(0x93)](_0x253dca['FZbdP']))return _0x253dca[_0x1cba1d(0x143)];else{if(_0xd3277d['startsWith'](_0x253dca[_0x1cba1d(0xa4)]))return _0x253dca[_0x1cba1d(0xb5)];else{if(_0xd3277d['startsWith'](_0x253dca[_0x1cba1d(0x17a)]))return _0x253dca[_0x1cba1d(0x127)];}}}return _0x253dca['cfmGy'];};[a45_0x470961(0x15a)]=_0x11f10f=>{const _0x5144ae=a45_0x470961,_0x42ab37={};_0x42ab37[_0x5144ae(0xda)]=function(_0x1ea868,_0x444692){return _0x1ea868===_0x444692;},_0x42ab37[_0x5144ae(0xd0)]=_0x5144ae(0x108);const _0x5edfc5=_0x42ab37;let _0x335a22=_0x11f10f[_0x5144ae(0xcc)];return _0x5edfc5['xgYkB'](typeof _0x11f10f[_0x5144ae(0xcc)],_0x5edfc5[_0x5144ae(0xd0)])&&(_0x335a22=_0x335a22[_0x5144ae(0x9d)]),_0x335a22+'\x20-\x20'+_0x11f10f[_0x5144ae(0x9d)];};[a45_0x470961(0xb8)](){return![];}}function a45_0x24e4(_0x18c97b,_0x4086c6){const _0x11085e=a45_0x1108();return a45_0x24e4=function(_0x24e428,_0x2bf4ef){_0x24e428=_0x24e428-0x83;let _0x4eebeb=_0x11085e[_0x24e428];return _0x4eebeb;},a45_0x24e4(_0x18c97b,_0x4086c6);}module[a45_0x470961(0x185)]=o11yClassErrorHandler(MyReporter,[a45_0x470961(0x109),'endSession',a45_0x470961(0xbd),a45_0x470961(0xc5),a45_0x470961(0xb1),'onStepEnd',a45_0x470961(0x89)],a45_0x470961(0x105));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x307fd0=a46_0x917a;function a46_0x917a(_0x3f28f6,_0x1f8ffb){const _0x521e72=a46_0x521e();return a46_0x917a=function(_0x917ab3,_0x2d2e5f){_0x917ab3=_0x917ab3-0x13a;let _0x427ad5=_0x521e72[_0x917ab3];return _0x427ad5;},a46_0x917a(_0x3f28f6,_0x1f8ffb);}(function(_0x2d6338,_0x1522f4){const _0x323a5f=a46_0x917a,_0x2c6a6d=_0x2d6338();while(!![]){try{const _0x1a898c=parseInt(_0x323a5f(0x172))/0x1+-parseInt(_0x323a5f(0x167))/0x2+parseInt(_0x323a5f(0x170))/0x3*(parseInt(_0x323a5f(0x184))/0x4)+parseInt(_0x323a5f(0x150))/0x5*(parseInt(_0x323a5f(0x149))/0x6)+parseInt(_0x323a5f(0x177))/0x7+-parseInt(_0x323a5f(0x174))/0x8+-parseInt(_0x323a5f(0x16b))/0x9*(parseInt(_0x323a5f(0x189))/0xa);if(_0x1a898c===_0x1522f4)break;else _0x2c6a6d['push'](_0x2c6a6d['shift']());}catch(_0x1b3f32){_0x2c6a6d['push'](_0x2c6a6d['shift']());}}}(a46_0x521e,0x4a915));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a46_0x307fd0(0x193)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x307fd0(0x17d))['winstonLogger'],{getLogDir}=require(a46_0x307fd0(0x17d)),util=require('util'),helper=require(a46_0x307fd0(0x158));function a46_0x521e(){const _0xc60e7=['mAmFG','2200444fdGwOZ','filePath','_projectId','EYtOY','message','1850HENMFy','Error\x20handling\x20trace\x20file\x20paths:\x20','nUEre','kzBMs','string','.txt','mMoJV','force','getTestRunIdFromTestInfo','_test','uuid','vbIVI','_traceZipPaths.json','getTraceZipDir','getAccessibilityPlatformValidation','BS_TESTOPS_BUILD_HASHED_ID','existsSync','forEach','gkmBr','toString','push','homedir','getTraceFilePaths','nPLHE','setup','sEzmZ','1482HkLcLg','exports','retry','lATgR','default','BWITq','getTestDetails','9155YCuTUm','VXzZq','join','getDirPath','getStoreDirName','writeFileSync','appendToTracePaths','project','../../../helpers/helper','ahnJy','traceZipPaths','bsTcG','getTestUUID','tests','setTestDetails','__projectId','mkdirSync','MWgVg','getProjectIdFromTestInfo','getStoreDirPath','parse','error','AzGdU','157152LDcyVL','flkIZ','BdcPX','values','30375hhZhBG','_platformDetails.json','setAccessibilityPlatformValidation','env','pid','3APvgXS','appendFileSync','106860WvOKAQ','shutdown','1916808GGubyl','readdirSync','cYabx','971271bTgdCW','Error\x20writing\x20trace\x20file:\x20','.json','getFilePath','utf8','endsWith','../../../helpers/logger','testId','getTestIdFromTestInfo','readFileSync','recursive','.browserstack'];a46_0x521e=function(){return _0xc60e7;};return a46_0x521e();}class TestDetails{static [a46_0x307fd0(0x15d)]={};static[a46_0x307fd0(0x147)](){const _0x1f92db=a46_0x307fd0;this[_0x1f92db(0x173)]();const _0x3fd4be={};_0x3fd4be[_0x1f92db(0x181)]=!![],fs['mkdirSync'](this[_0x1f92db(0x153)](),_0x3fd4be);const _0x20e7ec={};_0x20e7ec[_0x1f92db(0x181)]=!![],fs['mkdirSync'](this[_0x1f92db(0x13c)](),_0x20e7ec);}static[a46_0x307fd0(0x154)](){const _0x566948=a46_0x307fd0,_0x5e6e8b={};_0x5e6e8b['VXzZq']=function(_0x30776f,_0xa833e0){return _0x30776f+_0xa833e0;};const _0x191bf0=_0x5e6e8b;return _0x191bf0[_0x566948(0x151)](_0x191bf0[_0x566948(0x151)](TEMP_STORE_DIR_NAME,'-'),process[_0x566948(0x16e)][_0x566948(0x13e)]);}static[a46_0x307fd0(0x163)](){const _0x40eb77=a46_0x307fd0,_0x181853={};_0x181853['cYabx']=function(_0x516c84,_0x5d191f){return _0x516c84+_0x5d191f;},_0x181853['vbIVI']=function(_0x4082a4,_0x2d31d9){return _0x4082a4+_0x2d31d9;},_0x181853['EYtOY']=_0x40eb77(0x14d);const _0x4c765f=_0x181853;return path['join'](_0x4c765f[_0x40eb77(0x176)](_0x4c765f[_0x40eb77(0x13a)](TEMP_STORE_DIR_NAME,'-'),process[_0x40eb77(0x16e)][_0x40eb77(0x13e)]||_0x4c765f[_0x40eb77(0x187)]));}static[a46_0x307fd0(0x13c)](){const _0xbf919a=a46_0x307fd0,_0x85c0ae={};_0x85c0ae[_0xbf919a(0x14e)]=_0xbf919a(0x15a);const _0x1fb638=_0x85c0ae;return path[_0xbf919a(0x152)](this['getStoreDirPath'](),_0x1fb638[_0xbf919a(0x14e)]);}static[a46_0x307fd0(0x153)](){const _0x59a23f=a46_0x307fd0;return TestDetails[_0x59a23f(0x154)]();}static['getFilePath'](_0x275b7b){const _0x2a62d5=a46_0x307fd0,_0x2b6b64={};_0x2b6b64[_0x2a62d5(0x18b)]=function(_0x2a94f5,_0x8b7325){return _0x2a94f5+_0x8b7325;},_0x2b6b64['JEvaL']=_0x2a62d5(0x179);const _0x3e5245=_0x2b6b64;return path[_0x2a62d5(0x152)](this[_0x2a62d5(0x153)](),_0x3e5245[_0x2a62d5(0x18b)](_0x275b7b,_0x3e5245['JEvaL']));}static[a46_0x307fd0(0x191)](_0x2f17da){const _0x4f2796=a46_0x307fd0,_0x45cffd={};_0x45cffd[_0x4f2796(0x18c)]=function(_0xe4af0b,_0x3b369f){return _0xe4af0b+_0x3b369f;},_0x45cffd['drAfb']=function(_0x1ecfd5,_0x215e15){return _0x1ecfd5+_0x215e15;};const _0x556fd9=_0x45cffd;return _0x556fd9['kzBMs'](_0x556fd9[_0x4f2796(0x18c)](_0x556fd9[_0x4f2796(0x18c)](_0x556fd9['drAfb'](this[_0x4f2796(0x162)](_0x2f17da),'-'),this[_0x4f2796(0x17f)](_0x2f17da)),'-'),_0x2f17da[_0x4f2796(0x14b)]);}static[a46_0x307fd0(0x162)](_0x1cd287){const _0x3c1192=a46_0x307fd0,_0x1b2137={'MWgVg':function(_0x43c806,_0x47eee5,_0x7fc66e){return _0x43c806(_0x47eee5,_0x7fc66e);},'lATgR':_0x3c1192(0x192),'sEzmZ':_0x3c1192(0x186),'gkmBr':_0x3c1192(0x157),'AzGdU':_0x3c1192(0x15f)};return _0x1b2137[_0x3c1192(0x161)](nestedKeyValue,_0x1cd287,[_0x1b2137[_0x3c1192(0x14c)],_0x1b2137[_0x3c1192(0x148)]])||_0x1b2137[_0x3c1192(0x161)](nestedKeyValue,_0x1cd287,[_0x1b2137[_0x3c1192(0x141)],_0x1b2137[_0x3c1192(0x166)]]);}static[a46_0x307fd0(0x17f)](_0x18108f){const _0x41ffb6=a46_0x307fd0,_0x408f6f={'oWXLU':function(_0x2f07ca,_0x2ff445,_0x3fb371){return _0x2f07ca(_0x2ff445,_0x3fb371);},'uQanK':_0x41ffb6(0x192)};return _0x408f6f['oWXLU'](nestedKeyValue,_0x18108f,[_0x408f6f['uQanK'],'id'])||_0x18108f[_0x41ffb6(0x17e)];}static[a46_0x307fd0(0x15c)](_0x4bce32){const _0x2efb2e=a46_0x307fd0,_0x4ea6e9={'nPLHE':function(_0x50c568,_0x1f80f1){return _0x50c568===_0x1f80f1;},'mAmFG':_0x2efb2e(0x18d),'ahnJy':function(_0x5e7e34){return _0x5e7e34();}};if(this[_0x2efb2e(0x15d)][_0x4bce32]&&_0x4ea6e9[_0x2efb2e(0x146)](typeof this['tests'][_0x4bce32][_0x2efb2e(0x193)],_0x4ea6e9[_0x2efb2e(0x183)]))return this[_0x2efb2e(0x15d)][_0x4bce32]['uuid'];const _0x32ffca=this['getFilePath'](_0x4bce32);if(_0x32ffca&&fs[_0x2efb2e(0x13f)](_0x32ffca)){const _0x418c2e=JSON['parse'](fs[_0x2efb2e(0x180)](_0x32ffca)['toString']());return this[_0x2efb2e(0x15d)][_0x4bce32]=_0x418c2e,this[_0x2efb2e(0x15d)][_0x4bce32][_0x2efb2e(0x193)];}return this[_0x2efb2e(0x15d)][_0x4bce32]={'uuid':_0x4ea6e9[_0x2efb2e(0x159)](uuidv4)},fs['writeFileSync'](_0x32ffca,JSON['stringify'](this[_0x2efb2e(0x15d)][_0x4bce32])),this[_0x2efb2e(0x15d)][_0x4bce32][_0x2efb2e(0x193)];}static[a46_0x307fd0(0x13d)](_0x193992){const _0x222a10=a46_0x307fd0,_0x4f9782=path[_0x222a10(0x152)](this[_0x222a10(0x153)](),_0x193992+'_platformDetails.json');if(_0x4f9782&&fs[_0x222a10(0x13f)](_0x4f9782))return fs[_0x222a10(0x180)](_0x4f9782)['toString']();}static[a46_0x307fd0(0x16d)](_0x19699c,_0x4876e7){const _0x5b9904=a46_0x307fd0,_0x4ee370=path[_0x5b9904(0x152)](this[_0x5b9904(0x153)](),_0x4876e7+_0x5b9904(0x16c));fs[_0x5b9904(0x155)](_0x4ee370,_0x19699c[_0x5b9904(0x142)]());}static[a46_0x307fd0(0x173)](){const _0x45d3a0=a46_0x307fd0,_0x2db2c3={};_0x2db2c3[_0x45d3a0(0x181)]=!![],_0x2db2c3[_0x45d3a0(0x190)]=!![],fs['rmSync'](this['getDirPath'](),_0x2db2c3);}static[a46_0x307fd0(0x14f)](_0x34105b){const _0x24c18a=a46_0x307fd0;if(this[_0x24c18a(0x15d)][_0x34105b])return this[_0x24c18a(0x15d)][_0x34105b];const _0x366ecb=this[_0x24c18a(0x17a)](_0x34105b);if(_0x366ecb&&fs[_0x24c18a(0x13f)](_0x366ecb)){const _0x343959=JSON[_0x24c18a(0x164)](fs[_0x24c18a(0x180)](_0x366ecb)[_0x24c18a(0x142)]());return this[_0x24c18a(0x15d)][_0x34105b]=_0x343959,_0x343959;}return{};}static[a46_0x307fd0(0x15e)](_0x4d517f,_0x3bd77b){const _0x55e34c=a46_0x307fd0,_0x2b7d8f=this[_0x55e34c(0x17a)](_0x4d517f);if(_0x2b7d8f&&fs[_0x55e34c(0x13f)](_0x2b7d8f)){const _0x1b575a=JSON[_0x55e34c(0x164)](fs[_0x55e34c(0x180)](_0x2b7d8f)[_0x55e34c(0x142)]()),_0xeff255={..._0x1b575a,..._0x3bd77b};this[_0x55e34c(0x15d)][_0x4d517f]=_0xeff255;}else this[_0x55e34c(0x15d)][_0x4d517f]=_0x3bd77b;fs[_0x55e34c(0x155)](_0x2b7d8f,this[_0x55e34c(0x15d)][_0x4d517f]);}static['addTraceFilePath'](_0x4aa590){const _0x4585bc=a46_0x307fd0,_0x5167e8={};_0x5167e8[_0x4585bc(0x15b)]=_0x4585bc(0x18a);const _0x52b941=_0x5167e8;try{const _0x3ea333=process[_0x4585bc(0x16f)],_0x11d0fb=path[_0x4585bc(0x152)](TestDetails[_0x4585bc(0x13c)](),_0x3ea333+_0x4585bc(0x13b));let _0x49e9ff=[];_0x11d0fb&&fs[_0x4585bc(0x13f)](_0x11d0fb)&&(_0x49e9ff=JSON['parse'](fs[_0x4585bc(0x180)](_0x11d0fb)[_0x4585bc(0x142)]())),!_0x49e9ff['some'](_0x1dacbb=>_0x1dacbb[_0x4585bc(0x185)]===_0x4aa590['filePath'])&&(_0x49e9ff[_0x4585bc(0x143)](_0x4aa590),fs['writeFileSync'](_0x11d0fb,JSON['stringify'](_0x49e9ff)));}catch(_0x147e75){logger[_0x4585bc(0x165)](_0x52b941[_0x4585bc(0x15b)],_0x147e75);}}static[a46_0x307fd0(0x145)](){const _0x5ed715=a46_0x307fd0,_0x460260={};_0x460260['mMoJV']='_traceZipPaths.json',_0x460260['jGGzZ']='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x3646a0=_0x460260,_0x17de20=[];try{const _0x10c0f8=TestDetails['getTraceZipDir']();if(_0x10c0f8&&!fs[_0x5ed715(0x13f)](_0x10c0f8))return _0x17de20;const _0x5f7895=fs[_0x5ed715(0x175)](_0x10c0f8);_0x5f7895['forEach'](_0x1254ed=>{const _0x40eaf0=_0x5ed715;if(_0x1254ed&&_0x1254ed[_0x40eaf0(0x17c)](_0x3646a0[_0x40eaf0(0x18f)])){const _0x3ad5f0=JSON[_0x40eaf0(0x164)](fs[_0x40eaf0(0x180)](path[_0x40eaf0(0x152)](_0x10c0f8,_0x1254ed))[_0x40eaf0(0x142)]());_0x17de20[_0x40eaf0(0x143)](..._0x3ad5f0);}});}catch(_0x3ee391){logger[_0x5ed715(0x165)](util['format'](_0x3646a0['jGGzZ'],_0x3ee391));}const _0x1a575a={};return _0x17de20[_0x5ed715(0x140)](_0x2ab71e=>{const _0x3338b8=_0x5ed715;_0x1a575a[_0x2ab71e[_0x3338b8(0x185)]]=_0x2ab71e;}),Object[_0x5ed715(0x16a)](_0x1a575a);}static[a46_0x307fd0(0x156)](_0x9a909e,_0x1a95cb){const _0x29b292=a46_0x307fd0,_0x2955fb={};_0x2955fb[_0x29b292(0x169)]=_0x29b292(0x182),_0x2955fb['flkIZ']=_0x29b292(0x17b);const _0x2b998c=_0x2955fb;try{const _0x544274=path[_0x29b292(0x152)](helper[_0x29b292(0x144)](),_0x2b998c[_0x29b292(0x169)]);if(!fs[_0x29b292(0x13f)](_0x544274)){const _0x237160={};_0x237160[_0x29b292(0x181)]=!![],fs[_0x29b292(0x160)](_0x544274,_0x237160);}fs[_0x29b292(0x171)](path['join'](_0x544274,'trace_'+_0x1a95cb+_0x29b292(0x18e)),_0x9a909e+'\x0a',_0x2b998c[_0x29b292(0x168)]);}catch(_0x88137b){console[_0x29b292(0x165)](_0x29b292(0x178)+_0x88137b[_0x29b292(0x188)]);}}}module[a46_0x307fd0(0x14a)]=TestDetails;
|
|
1
|
+
const a46_0xb8448c=a46_0x1b35;function a46_0x1b35(_0x13a3d2,_0x2a86c8){const _0x39090c=a46_0x3909();return a46_0x1b35=function(_0x1b3511,_0xf8736d){_0x1b3511=_0x1b3511-0x1d3;let _0xe568a=_0x39090c[_0x1b3511];return _0xe568a;},a46_0x1b35(_0x13a3d2,_0x2a86c8);}(function(_0x384a0b,_0x5eb9b6){const _0x515deb=a46_0x1b35,_0x25a339=_0x384a0b();while(!![]){try{const _0x1a5a65=-parseInt(_0x515deb(0x1dc))/0x1*(parseInt(_0x515deb(0x209))/0x2)+parseInt(_0x515deb(0x226))/0x3+-parseInt(_0x515deb(0x1ec))/0x4+parseInt(_0x515deb(0x215))/0x5+parseInt(_0x515deb(0x1f6))/0x6+parseInt(_0x515deb(0x1f1))/0x7*(-parseInt(_0x515deb(0x1e9))/0x8)+parseInt(_0x515deb(0x20a))/0x9;if(_0x1a5a65===_0x5eb9b6)break;else _0x25a339['push'](_0x25a339['shift']());}catch(_0x4cee4e){_0x25a339['push'](_0x25a339['shift']());}}}(a46_0x3909,0xbb313));const fs=require('fs'),path=require(a46_0xb8448c(0x220)),{v4:uuidv4}=require(a46_0xb8448c(0x1d9)),{TEMP_STORE_DIR_NAME}=require(a46_0xb8448c(0x20b)),{nestedKeyValue}=require(a46_0xb8448c(0x1ff)),logger=require(a46_0xb8448c(0x213))[a46_0xb8448c(0x20e)],{getLogDir}=require('../../../helpers/logger'),util=require(a46_0xb8448c(0x204)),helper=require(a46_0xb8448c(0x1ff));class TestDetails{static ['tests']={};static[a46_0xb8448c(0x1e6)](){const _0x535e41=a46_0xb8448c;this['shutdown']();const _0x13b39b={};_0x13b39b['recursive']=!![],fs[_0x535e41(0x1ea)](this['getDirPath'](),_0x13b39b);const _0x29be3b={};_0x29be3b['recursive']=!![],fs['mkdirSync'](this[_0x535e41(0x21a)](),_0x29be3b);}static[a46_0xb8448c(0x20d)](){const _0x945f37=a46_0xb8448c,_0x3f2ec6={};_0x3f2ec6[_0x945f37(0x20c)]=function(_0x1db04c,_0x53d4d2){return _0x1db04c+_0x53d4d2;};const _0x23c692=_0x3f2ec6;return _0x23c692[_0x945f37(0x20c)](_0x23c692[_0x945f37(0x20c)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x945f37(0x1fd)]);}static[a46_0xb8448c(0x229)](){const _0x3c2207=a46_0xb8448c,_0x15e753={};_0x15e753['LbqIf']=function(_0x96bdf3,_0x44979a){return _0x96bdf3+_0x44979a;},_0x15e753[_0x3c2207(0x208)]=_0x3c2207(0x216);const _0x19e74e=_0x15e753;return path[_0x3c2207(0x1fa)](_0x19e74e[_0x3c2207(0x1ef)](_0x19e74e[_0x3c2207(0x1ef)](TEMP_STORE_DIR_NAME,'-'),process[_0x3c2207(0x22a)][_0x3c2207(0x1fd)]||_0x19e74e[_0x3c2207(0x208)]));}static[a46_0xb8448c(0x21a)](){const _0x32042c=a46_0xb8448c,_0x5b5faf={};_0x5b5faf['lXfkl']='traceZipPaths';const _0x1c13f1=_0x5b5faf;return path[_0x32042c(0x1fa)](this['getStoreDirPath'](),_0x1c13f1[_0x32042c(0x1f5)]);}static[a46_0xb8448c(0x1f3)](){return TestDetails['getStoreDirName']();}static[a46_0xb8448c(0x20f)](_0x1fc2d1){const _0x21e5b3=a46_0xb8448c,_0x5974e2={};_0x5974e2[_0x21e5b3(0x222)]=function(_0x3b3b06,_0x33db4d){return _0x3b3b06+_0x33db4d;},_0x5974e2[_0x21e5b3(0x1ed)]='.json';const _0x1125ea=_0x5974e2;return path[_0x21e5b3(0x1fa)](this['getDirPath'](),_0x1125ea[_0x21e5b3(0x222)](_0x1fc2d1,_0x1125ea[_0x21e5b3(0x1ed)]));}static['getTestRunIdFromTestInfo'](_0x277d8b){const _0x4236b1=a46_0xb8448c,_0x153f2f={};_0x153f2f[_0x4236b1(0x217)]=function(_0x307b24,_0xf3cebc){return _0x307b24+_0xf3cebc;},_0x153f2f[_0x4236b1(0x1f9)]=function(_0x37d23f,_0x43657a){return _0x37d23f+_0x43657a;},_0x153f2f[_0x4236b1(0x225)]=function(_0x220112,_0x5afcb6){return _0x220112+_0x5afcb6;};const _0x1b92ff=_0x153f2f;return _0x1b92ff[_0x4236b1(0x217)](_0x1b92ff['uxoNf'](_0x1b92ff['ElvrN'](_0x1b92ff[_0x4236b1(0x225)](this[_0x4236b1(0x228)](_0x277d8b),'-'),this[_0x4236b1(0x22b)](_0x277d8b)),'-'),_0x277d8b[_0x4236b1(0x223)]);}static['getProjectIdFromTestInfo'](_0x585224){const _0x3099a9=a46_0xb8448c,_0x428e09={'dSMkB':function(_0x59dcf0,_0x2fd042,_0x3dde92){return _0x59dcf0(_0x2fd042,_0x3dde92);},'cAgSx':_0x3099a9(0x1de),'QsHfO':_0x3099a9(0x1da),'xDQbZ':function(_0x2643b0,_0x56cd9e,_0x474f0a){return _0x2643b0(_0x56cd9e,_0x474f0a);},'MIVgA':_0x3099a9(0x211),'bgkNQ':'__projectId'};return _0x428e09[_0x3099a9(0x214)](nestedKeyValue,_0x585224,[_0x428e09[_0x3099a9(0x224)],_0x428e09['QsHfO']])||_0x428e09[_0x3099a9(0x1d7)](nestedKeyValue,_0x585224,[_0x428e09[_0x3099a9(0x21c)],_0x428e09[_0x3099a9(0x1f8)]]);}static[a46_0xb8448c(0x22b)](_0x2a425d){const _0x4d341e=a46_0xb8448c,_0x3074f3={'EkElZ':function(_0x50e982,_0x3be7cf,_0xe84c0e){return _0x50e982(_0x3be7cf,_0xe84c0e);},'hdEYZ':_0x4d341e(0x1de)};return _0x3074f3[_0x4d341e(0x210)](nestedKeyValue,_0x2a425d,[_0x3074f3[_0x4d341e(0x221)],'id'])||_0x2a425d['testId'];}static[a46_0xb8448c(0x201)](_0x5df3d0){const _0x224716=a46_0xb8448c,_0x1d23c8={'lSurx':function(_0xec6f5f,_0x3cb22c){return _0xec6f5f===_0x3cb22c;},'RTIUK':_0x224716(0x1e8),'OBfgr':function(_0x17ce4a){return _0x17ce4a();}};if(this[_0x224716(0x1f7)][_0x5df3d0]&&_0x1d23c8[_0x224716(0x203)](typeof this['tests'][_0x5df3d0][_0x224716(0x1d9)],_0x1d23c8[_0x224716(0x1d4)]))return this[_0x224716(0x1f7)][_0x5df3d0]['uuid'];const _0x24d8b4=this[_0x224716(0x20f)](_0x5df3d0);if(_0x24d8b4&&fs['existsSync'](_0x24d8b4)){const _0x4d4880=JSON[_0x224716(0x1dd)](fs[_0x224716(0x205)](_0x24d8b4)[_0x224716(0x22c)]());return this['tests'][_0x5df3d0]=_0x4d4880,this[_0x224716(0x1f7)][_0x5df3d0][_0x224716(0x1d9)];}return this[_0x224716(0x1f7)][_0x5df3d0]={'uuid':_0x1d23c8[_0x224716(0x1e3)](uuidv4)},fs[_0x224716(0x1e1)](_0x24d8b4,JSON['stringify'](this[_0x224716(0x1f7)][_0x5df3d0])),this[_0x224716(0x1f7)][_0x5df3d0][_0x224716(0x1d9)];}static[a46_0xb8448c(0x1d6)](_0x169ea4){const _0x2345f0=a46_0xb8448c,_0x48a25b=path[_0x2345f0(0x1fa)](this[_0x2345f0(0x1f3)](),_0x169ea4+_0x2345f0(0x1df));if(_0x48a25b&&fs['existsSync'](_0x48a25b))return fs['readFileSync'](_0x48a25b)[_0x2345f0(0x22c)]();}static['setAccessibilityPlatformValidation'](_0x291c16,_0xc1f82b){const _0x48e292=a46_0xb8448c,_0x19ecfd=path[_0x48e292(0x1fa)](this[_0x48e292(0x1f3)](),_0xc1f82b+_0x48e292(0x1df));fs[_0x48e292(0x1e1)](_0x19ecfd,_0x291c16[_0x48e292(0x22c)]());}static[a46_0xb8448c(0x1fb)](){const _0x4faa3e=a46_0xb8448c,_0xf4e1fb={};_0xf4e1fb[_0x4faa3e(0x22e)]=!![],_0xf4e1fb[_0x4faa3e(0x22d)]=!![],fs[_0x4faa3e(0x207)](this[_0x4faa3e(0x1f3)](),_0xf4e1fb);}static['getTestDetails'](_0x153da6){const _0x2e2620=a46_0xb8448c;if(this[_0x2e2620(0x1f7)][_0x153da6])return this[_0x2e2620(0x1f7)][_0x153da6];const _0x4a0e35=this[_0x2e2620(0x20f)](_0x153da6);if(_0x4a0e35&&fs[_0x2e2620(0x21d)](_0x4a0e35)){const _0x3f05c4=JSON[_0x2e2620(0x1dd)](fs['readFileSync'](_0x4a0e35)[_0x2e2620(0x22c)]());return this[_0x2e2620(0x1f7)][_0x153da6]=_0x3f05c4,_0x3f05c4;}return{};}static['setTestDetails'](_0x418b4f,_0x7540e7){const _0x38410d=a46_0xb8448c,_0x194a39=this['getFilePath'](_0x418b4f);if(_0x194a39&&fs[_0x38410d(0x21d)](_0x194a39)){const _0x488318=JSON[_0x38410d(0x1dd)](fs[_0x38410d(0x205)](_0x194a39)[_0x38410d(0x22c)]()),_0x54f870={..._0x488318,..._0x7540e7};this[_0x38410d(0x1f7)][_0x418b4f]=_0x54f870;}else this[_0x38410d(0x1f7)][_0x418b4f]=_0x7540e7;fs['writeFileSync'](_0x194a39,this[_0x38410d(0x1f7)][_0x418b4f]);}static['addTraceFilePath'](_0x340214){const _0x14353e=a46_0xb8448c,_0x4be460={};_0x4be460[_0x14353e(0x1e0)]=_0x14353e(0x1e4);const _0x56ab6d=_0x4be460;try{const _0x1ccdc1=process[_0x14353e(0x1d3)],_0x3eeba1=path[_0x14353e(0x1fa)](TestDetails[_0x14353e(0x21a)](),_0x1ccdc1+'_traceZipPaths.json');let _0x40c8c0=[];_0x3eeba1&&fs[_0x14353e(0x21d)](_0x3eeba1)&&(_0x40c8c0=JSON[_0x14353e(0x1dd)](fs[_0x14353e(0x205)](_0x3eeba1)[_0x14353e(0x22c)]())),!_0x40c8c0[_0x14353e(0x219)](_0x134f8f=>_0x134f8f[_0x14353e(0x21b)]===_0x340214[_0x14353e(0x21b)])&&(_0x40c8c0['push'](_0x340214),fs['writeFileSync'](_0x3eeba1,JSON[_0x14353e(0x1fc)](_0x40c8c0)));}catch(_0x25c058){logger[_0x14353e(0x1f4)](_0x56ab6d[_0x14353e(0x1e0)],_0x25c058);}}static[a46_0xb8448c(0x1f0)](){const _0x284c92=a46_0xb8448c,_0x1aa0de={};_0x1aa0de[_0x284c92(0x206)]=_0x284c92(0x1e2),_0x1aa0de[_0x284c92(0x1d8)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x4e6fe9=_0x1aa0de,_0x3a46e7=[];try{const _0x4f8de8=TestDetails[_0x284c92(0x21a)]();if(_0x4f8de8&&!fs['existsSync'](_0x4f8de8))return _0x3a46e7;const _0x21a8eb=fs[_0x284c92(0x1f2)](_0x4f8de8);_0x21a8eb['forEach'](_0x201e5c=>{const _0x5d8e39=_0x284c92;if(_0x201e5c&&_0x201e5c[_0x5d8e39(0x21e)](_0x4e6fe9[_0x5d8e39(0x206)])){const _0x1245ae=JSON['parse'](fs[_0x5d8e39(0x205)](path[_0x5d8e39(0x1fa)](_0x4f8de8,_0x201e5c))[_0x5d8e39(0x22c)]());_0x3a46e7[_0x5d8e39(0x1ee)](..._0x1245ae);}});}catch(_0x2c728f){logger[_0x284c92(0x1f4)](util['format'](_0x4e6fe9[_0x284c92(0x1d8)],_0x2c728f));}const _0x310b2e={};return _0x3a46e7[_0x284c92(0x1e7)](_0x31796f=>{const _0x185f8f=_0x284c92;_0x310b2e[_0x31796f[_0x185f8f(0x21b)]]=_0x31796f;}),Object[_0x284c92(0x227)](_0x310b2e);}static[a46_0xb8448c(0x1db)](_0x4bec82,_0x1d968d){const _0x56f5c4=a46_0xb8448c,_0x39d3b7={};_0x39d3b7[_0x56f5c4(0x200)]='.browserstack',_0x39d3b7[_0x56f5c4(0x1e5)]='utf8';const _0x30788c=_0x39d3b7;try{const _0x106676=path[_0x56f5c4(0x1fa)](helper[_0x56f5c4(0x218)](),_0x30788c[_0x56f5c4(0x200)]);if(!fs['existsSync'](_0x106676)){const _0x202f94={};_0x202f94['recursive']=!![],fs[_0x56f5c4(0x1ea)](_0x106676,_0x202f94);}fs[_0x56f5c4(0x1fe)](path[_0x56f5c4(0x1fa)](_0x106676,_0x56f5c4(0x202)+_0x1d968d+_0x56f5c4(0x212)),_0x4bec82+'\x0a',_0x30788c['zOude']);}catch(_0x3c1441){console[_0x56f5c4(0x1f4)](_0x56f5c4(0x21f)+_0x3c1441[_0x56f5c4(0x1eb)]);}}}module[a46_0xb8448c(0x1d5)]=TestDetails;function a46_0x3909(){const _0x596e04=['Error\x20writing\x20trace\x20file:\x20','path','hdEYZ','ieaHn','retry','cAgSx','ssKzg','937239gklmyL','values','getProjectIdFromTestInfo','getStoreDirPath','env','getTestIdFromTestInfo','toString','force','recursive','pid','RTIUK','exports','getAccessibilityPlatformValidation','xDQbZ','GdEaA','uuid','_projectId','appendToTracePaths','1IEWZUr','parse','_test','_platformDetails.json','cZEMe','writeFileSync','_traceZipPaths.json','OBfgr','Error\x20handling\x20trace\x20file\x20paths:\x20','zOude','setup','forEach','string','1250432emgtCd','mkdirSync','message','2823888YDBjlK','jqhNy','push','LbqIf','getTraceFilePaths','28erjCBh','readdirSync','getDirPath','error','lXfkl','1440822QhLcbM','tests','bgkNQ','ElvrN','join','shutdown','stringify','BS_TESTOPS_BUILD_HASHED_ID','appendFileSync','../../../helpers/helper','QbukS','getTestUUID','trace_','lSurx','util','readFileSync','MajOr','rmSync','rDaCC','1982402JojSDg','11103183QwIupD','../../../helpers/test-observability/constants','rxsRM','getStoreDirName','winstonLogger','getFilePath','EkElZ','project','.txt','../../../helpers/logger','dSMkB','6514455slGBDR','default','uxoNf','homedir','some','getTraceZipDir','filePath','MIVgA','existsSync','endsWith'];a46_0x3909=function(){return _0x596e04;};return a46_0x3909();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x3b971c=a47_0x1257;(function(_0x51920f,_0x5e5f50){const _0xc2ce82=a47_0x1257,_0x33e129=_0x51920f();while(!![]){try{const _0x11c14e=-parseInt(_0xc2ce82(0x1bc))/0x1*(parseInt(_0xc2ce82(0x219))/0x2)+-parseInt(_0xc2ce82(0x211))/0x3*(parseInt(_0xc2ce82(0x1d7))/0x4)+-parseInt(_0xc2ce82(0x245))/0x5+parseInt(_0xc2ce82(0x1e8))/0x6*(-parseInt(_0xc2ce82(0x1cc))/0x7)+parseInt(_0xc2ce82(0x238))/0x8+parseInt(_0xc2ce82(0x213))/0x9*(-parseInt(_0xc2ce82(0x243))/0xa)+parseInt(_0xc2ce82(0x1e5))/0xb;if(_0x11c14e===_0x5e5f50)break;else _0x33e129['push'](_0x33e129['shift']());}catch(_0x144993){_0x33e129['push'](_0x33e129['shift']());}}}(a47_0x28a7,0x487c7));const path=require(a47_0x3b971c(0x1c5)),url=require(a47_0x3b971c(0x223)),util=require(a47_0x3b971c(0x1ed)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x3b971c(0x225)),{o11yErrorHandler}=require(a47_0x3b971c(0x1f6)),{debug,getPlatformDetails}=require(a47_0x3b971c(0x1e7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x3b971c(0x1c9)),logger=require('../../helpers/logger')['winstonLogger'],scripts=require(a47_0x3b971c(0x250)),{browserStackExecuteDriver}=require(a47_0x3b971c(0x25b)),AccessibilityHelper=require(a47_0x3b971c(0x203)),constants=require(a47_0x3b971c(0x269)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a47_0x3b971c(0x1e4)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a47_0x3b971c(0x25c)),ClientTroubleShootingService=require(a47_0x3b971c(0x237)),getBrowserNameFromChannel=_0x4938d6=>{const _0x457f96=a47_0x3b971c,_0x2f0c09={};_0x2f0c09['yLvQu']=_0x457f96(0x207),_0x2f0c09['uSwNX']=_0x457f96(0x20a),_0x2f0c09['JQdfI']=_0x457f96(0x228),_0x2f0c09[_0x457f96(0x216)]='safari';const _0x142f33=_0x2f0c09;if(_0x4938d6[_0x457f96(0x260)](_0x142f33[_0x457f96(0x1ef)]))return _0x142f33[_0x457f96(0x1ef)];if(_0x4938d6[_0x457f96(0x260)](_0x142f33[_0x457f96(0x1c4)]))return _0x142f33['uSwNX'];if(_0x4938d6[_0x457f96(0x260)](_0x142f33[_0x457f96(0x1df)]))return _0x142f33['JQdfI'];if(_0x4938d6[_0x457f96(0x260)](_0x142f33['PTsIW']))return _0x142f33[_0x457f96(0x216)];},getBrowserFromWSEndpoint=_0x52bb9d=>{const _0x2d2b4d=a47_0x3b971c,_0x365f1b={'WhMTw':'chrome','UcmIw':function(_0x3e879e,_0x411f11){return _0x3e879e(_0x411f11);}};try{const _0x19108a=url[_0x2d2b4d(0x1f2)](_0x52bb9d),_0x308df4=new URLSearchParams(_0x19108a[_0x2d2b4d(0x1c3)]),_0xa6e024=Object[_0x2d2b4d(0x1bd)](_0x308df4['entries']()),_0x5dbfc9=JSON['parse'](_0xa6e024[_0x2d2b4d(0x22e)]);if(_0x5dbfc9&&(_0x5dbfc9[_0x2d2b4d(0x1c8)]||_0x5dbfc9['browserName']))return _0x5dbfc9[_0x2d2b4d(0x1c8)]||_0x5dbfc9['browserName'];return _0x365f1b[_0x2d2b4d(0x240)];}catch(_0x34bb5e){_0x365f1b['UcmIw'](debug,_0x2d2b4d(0x20c)+_0x34bb5e[_0x2d2b4d(0x23f)]());}},getCloudProviderFromWsEndpoint=_0x58ff0b=>{const _0x2284e3=a47_0x3b971c,_0x1c2533={};_0x1c2533[_0x2284e3(0x1c1)]=_0x2284e3(0x263),_0x1c2533[_0x2284e3(0x1d2)]='unknown_grid';const _0x43c43e=_0x1c2533;if(_0x58ff0b[_0x2284e3(0x260)](constants[_0x2284e3(0x22d)])||_0x58ff0b['includes'](constants[_0x2284e3(0x21e)]))return _0x43c43e[_0x2284e3(0x1c1)];return _0x43c43e['xyShP'];},a47_0x566b4d={};a47_0x566b4d[a47_0x3b971c(0x264)]=undefined,a47_0x566b4d['bsSessionId']=undefined,a47_0x566b4d[a47_0x3b971c(0x1c8)]=undefined,a47_0x566b4d['browser_version']=undefined,a47_0x566b4d[a47_0x3b971c(0x1ee)]=undefined,a47_0x566b4d[a47_0x3b971c(0x1d0)]=undefined,a47_0x566b4d[a47_0x3b971c(0x24f)]=undefined,a47_0x566b4d[a47_0x3b971c(0x266)]={};function a47_0x28a7(){const _0x2c5b0a=['_type','patchConnection','url','QdQXN','../../helpers/helper','KiOIP','_browserType','firefox','apply','HJOkp','prototype','_defaultConnectOptions','BSTACK_URL','caps','QWkyy','MAONm','currentSessionDetails','bsParams','dispatch','Evogt','WtSFL','_connection','../utils/clientTroubleshootingService.js','1662568aiJYfT','POST','pqBvz','gRjWi','trackEvent','igILP','wBKXt','toString','WhMTw','TwqNT','IOgIQ','3350070acfEIV','isRunning','1721705pypVQh','Not\x20able\x20to\x20import\x20Connection','currentTest','BROWSERSTACK_TEST_OBSERVABILITY','Connection','format','crConnection.js','performScan','__workerDetails','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','product','../../helpers/accessibility-automation/scripts','bStackParams','connection.js','NjGXT','version','lzZeV','isRemote','SYhkn','testInfo','UOywd','johSv','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/accessibilityRetryHelper.js','env','lib','ItyXF','includes','AmrqC','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','browserstack','cloudProvider','platformName','capabilities','sessionError','turboscale','../utils/constants','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','qaBpG','nqEDa','__driver','local_grid','assign','fYUwz','pwPage','lCcWx','20332SpSiGz','fromEntries','channel','WZgfQ','hYhfx','kQJkK','client','query','uSwNX','path','Vptrm','server','browser','../../helpers/accessibility-automation/helper','sessionId','Error\x20in\x20importing\x20crConnection','1229263pnSDGk','NXCBX','join','wKPDu','platform_version','kKqUB','xyShP','accessibilityPlatform','dhguR','params','Failed\x20to\x20perform\x20scan\x20','229456XdnTlh','Performing\x20scan\x20for\x20','Device\x20Model\x20is\x20not\x20available','defineProperty','platformVersion','chromium','FYeha','uywKf','JQdfI','getAutomationFramework','project','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../v2/state/automationFrameworkState.js','16550721yEqVFT','message','../../helpers/test-observability/utils','6fXBDsY','reportSessionLinkingIssue','browser_version','ATS_WSS_URL_REGEX','AkbWf','util','platform','yLvQu','veaBV','patchCRConnection','parse','patch','iQuzt','Error\x20in\x20finding\x20platform\x20details\x20','../../helpers/test-observability/error-handler','_onMessage','zNZOI','platformDetails','PLAYWRIGHT_DISPATCH','use','getDetails','exports','Page\x20Scan\x20result=','ZdAGX','VpyIP','ueTsd','info','./accessibility-helper','AXNFg','JtcVT','nEaRN','chrome','titlePath','connectOptions','edge','model','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','bPMIf','UdfqR','GHzVQ','bstackPerformA11yScan','24kiZGyP','bsSessionId','9tNLFSP','XPeEp','getInstance','PTsIW','toLowerCase','HxbKN','10FfrMUE','XhgjB','Fkzoj','setupBrowserDetails','ZmEHn','BSTACK_ATS_URL','automate','ToNAc'];a47_0x28a7=function(){return _0x2c5b0a;};return a47_0x28a7();}class PlaywrightSessionDetails{static ['currentSessionDetails']=a47_0x566b4d;constructor(){const _0xa44512=a47_0x3b971c,_0x1d0219={};_0x1d0219[_0xa44512(0x1d4)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1a5b9f=_0x1d0219;throw new Error(_0x1a5b9f['dhguR']);}static [a47_0x3b971c(0x267)]=null;static[a47_0x3b971c(0x21c)](_0x178511,_0x38f8a7,_0xeab23=null){const _0x111d5c=a47_0x3b971c,_0xe129ba={'GHzVQ':function(_0x369590,_0x9488ec){return _0x369590===_0x9488ec;},'igILP':'function','WZgfQ':_0x111d5c(0x262),'wKPDu':function(_0xc10b8d,_0x45314a){return _0xc10b8d===_0x45314a;},'MAONm':_0x111d5c(0x1d9),'HxbKN':_0x111d5c(0x1b7),'VpyIP':function(_0x36f61d,_0xb7a66d,_0x3da3c6){return _0x36f61d(_0xb7a66d,_0x3da3c6);},'NXCBX':_0x111d5c(0x227),'QWkyy':'_defaultConnectOptions','qWpxT':function(_0x619e53,_0x157b31,_0x40931a){return _0x619e53(_0x157b31,_0x40931a);},'TwqNT':_0x111d5c(0x1e1),'FgCvz':_0x111d5c(0x1fb),'ISyXa':_0x111d5c(0x209),'Vptrm':function(_0x370d65,_0x2a33ed){return _0x370d65(_0x2a33ed);},'eFGDY':_0x111d5c(0x263),'nqEDa':_0x111d5c(0x268),'dpWeh':_0x111d5c(0x21f),'KiOIP':function(_0x5ad884){return _0x5ad884();},'XPeEp':function(_0x385eeb,_0xc092e9){return _0x385eeb(_0xc092e9);},'wBKXt':function(_0x17eb7b,_0x543725){return _0x17eb7b+_0x543725;},'UOywd':'playwright-','PzqYR':function(_0x221f0a,_0x27e572,_0xb7bc53){return _0x221f0a(_0x27e572,_0xb7bc53);},'FCodX':_0x111d5c(0x21c)},_0x35d0c7=this;return _0xe129ba['PzqYR'](o11yErrorHandler,async function _0x7e4726(_0x1b941a,_0x115fe1,_0x2ebc94=null){const _0x281f53=_0x111d5c;let _0x123a95=_0x1b941a['_name'],_0xa15ffa=null;_0x1b941a&&_0xe129ba['GHzVQ'](typeof _0x1b941a[_0x281f53(0x254)],_0xe129ba['igILP'])?_0xa15ffa=_0x1b941a[_0x281f53(0x254)]():logger['debug'](_0xe129ba[_0x281f53(0x1bf)]);let _0x9708d4=null;_0x1b941a&&_0xe129ba[_0x281f53(0x1cf)](typeof _0x1b941a[_0x281f53(0x20b)],_0xe129ba[_0x281f53(0x23d)])?_0x9708d4=_0x1b941a['model']():logger['debug'](_0xe129ba[_0x281f53(0x230)]);let _0x12e671=null,_0xe47235=null,_0x354d75=null,_0x51e1c0=_0xe129ba[_0x281f53(0x218)];if(_0x1b941a[_0x281f53(0x236)][_0x281f53(0x256)]()||global[_0x281f53(0x1d3)]){let _0x349868=null;_0xe129ba[_0x281f53(0x200)](nestedKeyValue,_0x1b941a,[_0xe129ba[_0x281f53(0x1cd)],_0xe129ba[_0x281f53(0x22f)]])?_0x349868=_0x1b941a[_0x281f53(0x227)][_0x281f53(0x22c)]:_0x349868=_0xe129ba['qWpxT'](nestedKeyValue,_0x115fe1,[_0xe129ba[_0x281f53(0x241)],_0xe129ba['FgCvz'],_0xe129ba['ISyXa']]);const _0x25d564=_0x2ebc94||_0x349868&&_0x349868['wsEndpoint'];if(_0x25d564){_0x51e1c0=_0xe129ba[_0x281f53(0x1c6)](getCloudProviderFromWsEndpoint,_0x25d564);if(_0xe129ba[_0x281f53(0x20f)](_0x51e1c0,_0xe129ba['eFGDY']))_0x354d75=constants[_0x281f53(0x1eb)]['test'](_0x25d564)?_0xe129ba[_0x281f53(0x26c)]:_0xe129ba['dpWeh'],_0x123a95=_0xe129ba['Vptrm'](getBrowserFromWSEndpoint,_0x25d564)||_0x123a95,_0x12e671=_0x35d0c7['currentSessionDetails']['platform'],_0xe47235=_0x35d0c7[_0x281f53(0x231)][_0x281f53(0x1d0)];else{const _0x5c7bd1=await _0xe129ba[_0x281f53(0x226)](getPlatformDetails);_0x12e671=_0x5c7bd1[_0x281f53(0x265)],_0xe47235=_0x5c7bd1['platformVersion'];}}}else{_0x115fe1&&_0x115fe1[_0x281f53(0x1e1)]['use'][_0x281f53(0x1be)]?_0x123a95=_0xe129ba[_0x281f53(0x214)](getBrowserNameFromChannel,_0x115fe1[_0x281f53(0x1e1)][_0x281f53(0x1fb)][_0x281f53(0x1be)]):_0x123a95=_0xe129ba[_0x281f53(0x23e)](_0xe129ba[_0x281f53(0x259)],_0x123a95[_0x281f53(0x217)]());const _0x3a6afb=await _0xe129ba[_0x281f53(0x226)](getPlatformDetails);_0x12e671=_0x3a6afb[_0x281f53(0x265)],_0xe47235=_0x3a6afb[_0x281f53(0x1db)];}const _0x1b0697={};_0x1b0697[_0x281f53(0x1c8)]=_0x123a95,_0x1b0697[_0x281f53(0x1ea)]=_0xa15ffa,_0x1b0697[_0x281f53(0x266)]={},_0x1b0697[_0x281f53(0x1ee)]=_0x12e671,_0x1b0697[_0x281f53(0x1d0)]=_0xe47235,_0x1b0697[_0x281f53(0x24f)]=_0x354d75;const _0x5501ae=_0x1b0697;_0x9708d4&&(_0x5501ae['capabilities']['deviceModel']=_0x9708d4);const _0x40abb3={};_0x40abb3[_0x281f53(0x264)]=_0x51e1c0,_0x35d0c7['currentSessionDetails']=Object[_0x281f53(0x1b8)]({},_0x35d0c7[_0x281f53(0x231)],_0x40abb3,_0x5501ae);},_0xe129ba['FCodX'])(_0x178511,_0x38f8a7,_0xeab23);}static[a47_0x3b971c(0x1f3)](){const _0x4a7eb9=a47_0x3b971c;this[_0x4a7eb9(0x222)](),this[_0x4a7eb9(0x1f1)]();}static['patchConnection'](){const _0x16d430=a47_0x3b971c,_0x5d4e73={'XhgjB':function(_0xa8b6c5,_0x4d2e40,_0x8e7359){return _0xa8b6c5(_0x4d2e40,_0x8e7359);},'IOgIQ':_0x16d430(0x247),'Evogt':_0x16d430(0x258),'AXNFg':_0x16d430(0x208),'SYhkn':'__workerDetails','uvlEU':_0x16d430(0x1ba),'WtSFL':function(_0xdb715f,_0x228764,_0x833697){return _0xdb715f(_0x228764,_0x833697);},'NjGXT':function(_0x2b9ac1,_0x3600b1){return _0x2b9ac1===_0x3600b1;},'ahvOz':'Page','gRjWi':function(_0x58ea4b,_0x3db184,_0x455217,_0x43ef18){return _0x58ea4b(_0x3db184,_0x455217,_0x43ef18);},'qaBpG':function(_0x4a61ac,_0x191c1e){return _0x4a61ac||_0x191c1e;},'VbElK':function(_0x38c1fa,_0xbd8345){return _0x38c1fa(_0xbd8345);},'ueTsd':function(_0x4045f1,_0x14525a){return _0x4045f1(_0x14525a);},'ZdtPH':'lib','UdfqR':_0x16d430(0x1c2),'zNZOI':_0x16d430(0x252),'JQzeC':function(_0x515556,_0x36adef){return _0x515556(_0x36adef);},'LojdV':_0x16d430(0x246),'AkbWf':function(_0x48c447,_0x2dbc8a){return _0x48c447(_0x2dbc8a);},'ZdAGX':function(_0x2d3a46,_0x38a971){return _0x2d3a46!=_0x38a971;},'KSptY':function(_0x51f787){return _0x51f787();},'ToNAc':'sendMessageToServer','johSv':'dispatch'},_0x51f958=this;if(!this['Connection'])try{const _0x5b0a33=path[_0x16d430(0x1ce)](_0x5d4e73['ZdtPH'],_0x5d4e73[_0x16d430(0x20e)],_0x5d4e73[_0x16d430(0x1f8)]),_0x6f9d59=_0x5d4e73['JQzeC'](importFileFromPWCore,_0x5b0a33);!_0x6f9d59?_0x5d4e73[_0x16d430(0x201)](debug,_0x5d4e73['LojdV']):this[_0x16d430(0x249)]=_0x6f9d59[_0x16d430(0x249)];}catch(_0x130cb8){_0x5d4e73[_0x16d430(0x1ec)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x130cb8[_0x16d430(0x23f)]());}const _0x4f4199=this[_0x16d430(0x249)];try{if(_0x5d4e73[_0x16d430(0x1ff)](_0x4f4199,null)){const _0x22c216=_0x4f4199[_0x16d430(0x22b)][_0x16d430(0x233)],_0x2b8b81=_0x4f4199[_0x16d430(0x22b)]['sendMessageToServer'];_0x5d4e73['KSptY'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x4f4199[_0x16d430(0x22b)],_0x5d4e73[_0x16d430(0x220)],{'get':function(){const _0x2f18ae=_0x16d430,_0x5b092b={'FYeha':function(_0x22dbd6,_0x141854,_0x424e2b){const _0xa23704=a47_0x1257;return _0x5d4e73[_0xa23704(0x21a)](_0x22dbd6,_0x141854,_0x424e2b);},'kKqUB':_0x5d4e73[_0x2f18ae(0x242)],'ZVATP':_0x5d4e73[_0x2f18ae(0x234)],'uywKf':_0x5d4e73[_0x2f18ae(0x204)],'BHBtf':function(_0x1b2840,_0x1c6c9e,_0x3c1d47){const _0x1fd20f=_0x2f18ae;return _0x5d4e73[_0x1fd20f(0x21a)](_0x1b2840,_0x1c6c9e,_0x3c1d47);},'nEaRN':_0x5d4e73[_0x2f18ae(0x257)],'hYhfx':_0x5d4e73['uvlEU'],'pqBvz':function(_0x26035e,_0x5a2336,_0x3ad243){const _0x2e6174=_0x2f18ae;return _0x5d4e73[_0x2e6174(0x235)](_0x26035e,_0x5a2336,_0x3ad243);},'Fkzoj':function(_0x239e63,_0x25a383){const _0x18e142=_0x2f18ae;return _0x5d4e73[_0x18e142(0x253)](_0x239e63,_0x25a383);},'lzZeV':_0x5d4e73['ahvOz'],'AmrqC':function(_0x562f4a,_0x5b6f19,_0x384efe,_0x2c2445){const _0x354e1d=_0x2f18ae;return _0x5d4e73[_0x354e1d(0x23b)](_0x562f4a,_0x5b6f19,_0x384efe,_0x2c2445);}};return async function(){const _0x4b6f34=_0x2f18ae;try{if(!global[_0x4b6f34(0x210)]&&global[_0x4b6f34(0x1d3)]&&_0x5b092b[_0x4b6f34(0x1dd)](nestedKeyValue,global[_0x4b6f34(0x24d)],[_0x5b092b[_0x4b6f34(0x1d1)],_0x5b092b['ZVATP'],_0x5b092b[_0x4b6f34(0x1de)]])&&_0x5b092b['BHBtf'](shouldScanTestForAccessibility,global[_0x4b6f34(0x24d)][_0x4b6f34(0x247)][_0x4b6f34(0x258)][_0x4b6f34(0x208)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug'](_0x4b6f34(0x1d8)+arguments[0x1]),global[_0x4b6f34(0x210)]=!![];const _0x4e47d0=_0x5b092b[_0x4b6f34(0x1dd)](nestedKeyValue,global,[_0x5b092b[_0x4b6f34(0x206)],_0x5b092b[_0x4b6f34(0x1c0)]]);_0x4e47d0&&logger['info'](_0x4b6f34(0x1fe)+util['format'](await _0x5b092b[_0x4b6f34(0x23a)](performScanWithRetry,_0x4e47d0,arguments[0x1]))),_0x5b092b[_0x4b6f34(0x21b)](arguments[0x0][_0x4b6f34(0x221)],_0x5b092b[_0x4b6f34(0x255)])&&global[_0x4b6f34(0x1b6)]&&logger[_0x4b6f34(0x202)]('Driver\x20Scan\x20result='+util[_0x4b6f34(0x24a)](await _0x5b092b[_0x4b6f34(0x261)](performScanWithRetry,global[_0x4b6f34(0x1b6)],arguments[0x1],scripts[_0x4b6f34(0x24c)])));}}catch(_0x55b046){logger['debug'](_0x4b6f34(0x1d6)+util[_0x4b6f34(0x24a)](_0x55b046));}return global['bstackPerformA11yScan']=![],_0x2b8b81['apply'](this,arguments);};}}),!_0x5d4e73['AkbWf'](isFalse,process[_0x16d430(0x25d)][_0x16d430(0x248)])&&Object[_0x16d430(0x1da)](_0x4f4199['prototype'],_0x5d4e73[_0x16d430(0x25a)],{'get':function(){return async function _0x1d2471(_0x2de732){const _0x59e50c=a47_0x1257;if(BrowserstackCLI['getInstance']()[_0x59e50c(0x244)]()){const _0x1af5aa={};_0x1af5aa[_0x59e50c(0x1e6)]=_0x2de732,await BrowserstackCLI[_0x59e50c(0x215)]()[_0x59e50c(0x1e0)]()[_0x59e50c(0x23c)](AutomationFrameworkState[_0x59e50c(0x1fa)],HookState[_0x59e50c(0x239)],_0x1af5aa);}else{const _0x1790de=_0x2de732&&_0x2de732[_0x59e50c(0x1d5)]&&_0x2de732[_0x59e50c(0x1d5)][_0x59e50c(0x232)];if(_0x1790de){const _0xedde3e=_0x1790de[_0x59e50c(0x1ca)],_0x5a7b48=_0x1790de['platformDetails'];_0x5d4e73[_0x59e50c(0x26b)](!_0xedde3e,!_0x5a7b48)&&await ClientTroubleShootingService[_0x59e50c(0x1e9)](),_0x5a7b48&&(_0x5d4e73['VbElK'](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x5a7b48[_0x59e50c(0x23f)]()),_0x51f958[_0x59e50c(0x231)][_0x59e50c(0x1ee)]=_0x5a7b48[_0x59e50c(0x265)],_0x51f958['currentSessionDetails'][_0x59e50c(0x1d0)]=_0x5a7b48[_0x59e50c(0x1db)]),_0xedde3e&&(_0x5d4e73[_0x59e50c(0x201)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xedde3e),_0x51f958[_0x59e50c(0x231)]['bsSessionId']=_0xedde3e);}}return _0x22c216[_0x59e50c(0x229)](this,arguments);};}});}}catch(_0xb0a73e){_0x5d4e73['AkbWf'](debug,_0x16d430(0x1e3)+_0xb0a73e),_0x51f958[_0x16d430(0x267)]=_0xb0a73e[_0x16d430(0x23f)]();}}static[a47_0x3b971c(0x1f1)](){const _0x537eb0=a47_0x3b971c,_0x5df28c={'HJOkp':function(_0x48dc97,_0x28f0e5){return _0x48dc97(_0x28f0e5);},'bPMIf':function(_0x285190,_0x102461){return _0x285190(_0x102461);},'veaBV':function(_0x3e8068){return _0x3e8068();},'lCcWx':_0x537eb0(0x25e),'rAJcE':_0x537eb0(0x1c7),'ZmEHn':_0x537eb0(0x1dc),'JtcVT':_0x537eb0(0x24b),'QdQXN':function(_0x1448f7,_0x38af02){return _0x1448f7(_0x38af02);},'bMiHp':'Not\x20able\x20to\x20import\x20crConnection','ItyXF':_0x537eb0(0x1cb),'fYUwz':function(_0x179da2,_0x566e84){return _0x179da2!=_0x566e84;},'iQuzt':_0x537eb0(0x1f7),'NVrVk':function(_0x88107b,_0x4ddada){return _0x88107b(_0x4ddada);}},_0x55a335=this;if(_0x5df28c[_0x537eb0(0x1f0)](isAccessibilityAutomationSession)){let _0x89764d=null;try{const _0x264b64=path[_0x537eb0(0x1ce)](_0x5df28c[_0x537eb0(0x1bb)],_0x5df28c['rAJcE'],_0x5df28c[_0x537eb0(0x21d)],_0x5df28c[_0x537eb0(0x205)]),_0x313812=_0x5df28c[_0x537eb0(0x224)](importFileFromPWCore,_0x264b64);!_0x313812?_0x5df28c['bPMIf'](debug,_0x5df28c['bMiHp']):_0x89764d=_0x313812['CRConnection'];}catch(_0x7a0720){_0x5df28c[_0x537eb0(0x20d)](debug,_0x5df28c[_0x537eb0(0x25f)]);}try{if(_0x5df28c[_0x537eb0(0x1b9)](_0x89764d,null)){const _0x45d4b7=_0x89764d[_0x537eb0(0x22b)][_0x537eb0(0x1f7)];Object[_0x537eb0(0x1da)](_0x89764d['prototype'],_0x5df28c[_0x537eb0(0x1f4)],{'get':function(){return async function _0xac0eb2(_0x21e030){const _0x156575=a47_0x1257;try{if(BrowserstackCLI[_0x156575(0x215)]()['isRunning']()){const _0x2064c9={};_0x2064c9[_0x156575(0x1e6)]=_0x21e030,await BrowserstackCLI[_0x156575(0x215)]()['getAutomationFramework']()[_0x156575(0x23c)](AutomationFrameworkState[_0x156575(0x1fa)],HookState['POST'],_0x2064c9),delete _0x21e030[_0x156575(0x251)];}else{const _0x510f6d=_0x21e030['bStackParams'];if(_0x510f6d){delete _0x21e030[_0x156575(0x251)];const _0x567768=_0x510f6d[_0x156575(0x1ca)],_0x466bdc=_0x510f6d[_0x156575(0x1f9)];_0x466bdc&&(_0x5df28c[_0x156575(0x22a)](debug,_0x156575(0x1e2)+_0x466bdc[_0x156575(0x23f)]()),_0x55a335[_0x156575(0x231)][_0x156575(0x1ee)]=_0x466bdc[_0x156575(0x265)],_0x55a335[_0x156575(0x231)][_0x156575(0x1d0)]=_0x466bdc[_0x156575(0x1db)]),_0x567768&&(_0x5df28c[_0x156575(0x20d)](debug,_0x156575(0x26a)+_0x567768),_0x55a335[_0x156575(0x231)][_0x156575(0x212)]=_0x567768);}}}catch(_0x24812e){_0x5df28c['HJOkp'](debug,_0x156575(0x1f5)+_0x24812e[_0x156575(0x23f)]());}return _0x45d4b7['apply'](this,arguments);};}});}}catch(_0x895fe6){_0x5df28c['NVrVk'](debug,_0x537eb0(0x24e)+_0x895fe6),_0x55a335[_0x537eb0(0x267)]=_0x895fe6[_0x537eb0(0x23f)]();}}}static[a47_0x3b971c(0x1fc)](){const _0x206303=a47_0x3b971c;return this[_0x206303(0x231)];}}function a47_0x1257(_0x18b106,_0x397bda){const _0x28a7b2=a47_0x28a7();return a47_0x1257=function(_0x12579a,_0x1d450f){_0x12579a=_0x12579a-0x1b6;let _0x3d7dba=_0x28a7b2[_0x12579a];return _0x3d7dba;},a47_0x1257(_0x18b106,_0x397bda);}module[a47_0x3b971c(0x1fd)]=PlaywrightSessionDetails;
|
|
1
|
+
function a47_0x8609(_0x4d0489,_0x5166e7){const _0x319c41=a47_0x319c();return a47_0x8609=function(_0x86090b,_0x2c012d){_0x86090b=_0x86090b-0x153;let _0x768801=_0x319c41[_0x86090b];return _0x768801;},a47_0x8609(_0x4d0489,_0x5166e7);}const a47_0x54481c=a47_0x8609;(function(_0x5505f2,_0x163a7c){const _0xeadbe2=a47_0x8609,_0x2ae15c=_0x5505f2();while(!![]){try{const _0x424040=-parseInt(_0xeadbe2(0x181))/0x1*(parseInt(_0xeadbe2(0x193))/0x2)+-parseInt(_0xeadbe2(0x1a5))/0x3+-parseInt(_0xeadbe2(0x1e8))/0x4+parseInt(_0xeadbe2(0x1e2))/0x5*(-parseInt(_0xeadbe2(0x194))/0x6)+parseInt(_0xeadbe2(0x1f7))/0x7+parseInt(_0xeadbe2(0x1d7))/0x8+parseInt(_0xeadbe2(0x1f0))/0x9;if(_0x424040===_0x163a7c)break;else _0x2ae15c['push'](_0x2ae15c['shift']());}catch(_0x1c522d){_0x2ae15c['push'](_0x2ae15c['shift']());}}}(a47_0x319c,0x6b2a6));const path=require(a47_0x54481c(0x1d4)),url=require(a47_0x54481c(0x1e1)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x54481c(0x1e9)),{o11yErrorHandler}=require(a47_0x54481c(0x18d)),{debug,getPlatformDetails}=require(a47_0x54481c(0x16a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x54481c(0x195)),logger=require(a47_0x54481c(0x173))[a47_0x54481c(0x185)],scripts=require(a47_0x54481c(0x15b)),{browserStackExecuteDriver}=require(a47_0x54481c(0x1f1)),AccessibilityHelper=require(a47_0x54481c(0x1b7)),constants=require('../utils/constants'),BrowserstackCLI=require(a47_0x54481c(0x1ca)),AutomationFrameworkState=require(a47_0x54481c(0x1ef)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a47_0x54481c(0x1c2)),ClientTroubleShootingService=require(a47_0x54481c(0x16e)),getBrowserNameFromChannel=_0x2f2fa1=>{const _0x960692=a47_0x54481c,_0xf3b06d={};_0xf3b06d[_0x960692(0x1bd)]=_0x960692(0x1a7),_0xf3b06d['PoBtA']='edge',_0xf3b06d[_0x960692(0x158)]='firefox',_0xf3b06d[_0x960692(0x175)]='safari';const _0x4d0d44=_0xf3b06d;if(_0x2f2fa1[_0x960692(0x1c3)](_0x4d0d44[_0x960692(0x1bd)]))return _0x4d0d44[_0x960692(0x1bd)];if(_0x2f2fa1[_0x960692(0x1c3)](_0x4d0d44[_0x960692(0x1aa)]))return _0x4d0d44[_0x960692(0x1aa)];if(_0x2f2fa1[_0x960692(0x1c3)](_0x4d0d44[_0x960692(0x158)]))return _0x4d0d44[_0x960692(0x158)];if(_0x2f2fa1[_0x960692(0x1c3)](_0x4d0d44[_0x960692(0x175)]))return _0x4d0d44[_0x960692(0x175)];},getBrowserFromWSEndpoint=_0x2c433d=>{const _0x2edc13=a47_0x54481c,_0x25b33c={'OCmQI':_0x2edc13(0x1a7),'aRyqk':function(_0x3b7bc7,_0x87e9f){return _0x3b7bc7(_0x87e9f);}};try{const _0x26123b=url['parse'](_0x2c433d),_0x33ca4b=new URLSearchParams(_0x26123b['query']),_0x28bc12=Object[_0x2edc13(0x163)](_0x33ca4b[_0x2edc13(0x1da)]()),_0x3c674e=JSON[_0x2edc13(0x18f)](_0x28bc12['caps']);if(_0x3c674e&&(_0x3c674e[_0x2edc13(0x1cb)]||_0x3c674e['browserName']))return _0x3c674e[_0x2edc13(0x1cb)]||_0x3c674e['browserName'];return _0x25b33c[_0x2edc13(0x1ba)];}catch(_0xa6a3fd){_0x25b33c['aRyqk'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0xa6a3fd[_0x2edc13(0x162)]());}},getCloudProviderFromWsEndpoint=_0x30802f=>{const _0x501275=a47_0x54481c,_0x258efb={};_0x258efb[_0x501275(0x1d6)]=_0x501275(0x15d),_0x258efb[_0x501275(0x157)]=_0x501275(0x1a1);const _0x57f5b6=_0x258efb;if(_0x30802f[_0x501275(0x1c3)](constants['BSTACK_URL'])||_0x30802f['includes'](constants[_0x501275(0x1f9)]))return _0x57f5b6[_0x501275(0x1d6)];return _0x57f5b6[_0x501275(0x157)];},a47_0x5252e4={};a47_0x5252e4['cloudProvider']=undefined,a47_0x5252e4['bsSessionId']=undefined,a47_0x5252e4[a47_0x54481c(0x1cb)]=undefined,a47_0x5252e4[a47_0x54481c(0x17f)]=undefined,a47_0x5252e4[a47_0x54481c(0x18a)]=undefined,a47_0x5252e4['platform_version']=undefined,a47_0x5252e4[a47_0x54481c(0x179)]=undefined,a47_0x5252e4[a47_0x54481c(0x171)]={};function a47_0x319c(){const _0x1e8867=['turboscale','../../helpers/accessibility-automation/accessibilityRetryHelper.js','includes','POST','_name','platformVersion','sessionId','Performing\x20scan\x20for\x20','eIWja','../v2/browserstackCLI','browser','toLowerCase','__workerDetails','jdhRp','qviQs','_defaultConnectOptions','BROWSERSTACK_TEST_OBSERVABILITY','sendMessageToServer','xDtTE','path','message','hQGlN','4332112ENiiLc','platformName','format','entries','platformDetails','TbhAl','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','use','zkMvi','accessibilityPlatform','url','1180tSxkBf','getInstance','bsParams','JpaMs','Not\x20able\x20to\x20import\x20crConnection','bstackPerformA11yScan','1627700WwdwJh','../../helpers/helper','setupBrowserDetails','xsEze','VXziO','Error\x20in\x20importing\x20crConnection','izhrQ','../v2/state/automationFrameworkState.js','7441893WWPkMw','../../bin/playwright/accessibility-helper','server','env','currentSessionDetails','ydvTm','tYAYt','2334612gNeqQA','wsEndpoint','BSTACK_ATS_URL','WezQk','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','pQcwV','Connection','LYjze','APmNq','Device\x20Model\x20is\x20not\x20available','_browserType','ZPMxN','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','patchConnection','LeoUK','UroWj','tZupN','XuHpV','ectQP','info','../../helpers/accessibility-automation/scripts','ATS_WSS_URL_REGEX','browserstack','rirqv','BxJxi','getAutomationFramework','connection.js','toString','fromEntries','dispatch','patchCRConnection','blWns','mdKBg','titlePath','HhjtJ','../../helpers/test-observability/utils','Driver\x20Scan\x20result=','bsSessionId','project','../utils/clientTroubleshootingService.js','join','function','capabilities','bStackParams','../../helpers/logger','testInfo','uGGZR','wHGtF','oZPCG','mnMSK','product','isRemote','Failed\x20to\x20perform\x20scan\x20','ATGWz','UbuCn','automate','browser_version','sessionError','1NzEUSA','pwPage','OejBe','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','winstonLogger','XIERV','SUVeO','VBvGJ','performScan','platform','chromium','params','../../helpers/test-observability/error-handler','dGhEJ','parse','__driver','exports','test','421548EkBvLK','942PhpmXo','../../helpers/accessibility-automation/helper','GudYT','reportSessionLinkingIssue','model','lib','trackEvent','htSqp','ZizVT','_type','channel','iYPYs','LBrAX','unknown_grid','FeRXp','PNvTK','playwright-','1824618XTbyiG','Page','chrome','cloudProvider','yaAAv','PoBtA','platform_version','xrNYX','eMwkX','crConnection.js','PqrDB','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','YtYEv','defineProperty','HiLkO','Error\x20in\x20finding\x20platform\x20details\x20','prototype','PLAYWRIGHT_DISPATCH','./accessibility-helper','_connection','version','OCmQI','isRunning','rDvvv','Kxcbr','_onMessage','apply','currentTest'];a47_0x319c=function(){return _0x1e8867;};return a47_0x319c();}class PlaywrightSessionDetails{static [a47_0x54481c(0x1f4)]=a47_0x5252e4;constructor(){const _0x45ca0c=a47_0x54481c,_0x304500={};_0x304500['xDtTE']=_0x45ca0c(0x1b0);const _0x522929=_0x304500;throw new Error(_0x522929[_0x45ca0c(0x1d3)]);}static [a47_0x54481c(0x180)]=null;static[a47_0x54481c(0x1ea)](_0x6e1946,_0x4e8c71,_0x366dee=null){const _0x1820a1=a47_0x54481c,_0x4ef10d={'AXARK':function(_0x1dec19,_0x2f95a7){return _0x1dec19===_0x2f95a7;},'ydvTm':_0x1820a1(0x170),'HiLkO':_0x1820a1(0x184),'GudYT':function(_0x355818,_0x13c032){return _0x355818===_0x13c032;},'HisLP':_0x1820a1(0x200),'RsctJ':'local_grid','BxJxi':function(_0x211fbe,_0x3da91f,_0x3fae65){return _0x211fbe(_0x3da91f,_0x3fae65);},'hImcZ':_0x1820a1(0x201),'TbhAl':_0x1820a1(0x1d0),'pQcwV':function(_0x2e5c44,_0x138ffa,_0x433653){return _0x2e5c44(_0x138ffa,_0x433653);},'hiUru':_0x1820a1(0x16d),'NxxKA':'use','yaAAv':'connectOptions','ectQP':function(_0x59d8a3,_0x4d9ef6){return _0x59d8a3(_0x4d9ef6);},'ANgPT':_0x1820a1(0x15d),'VqpCt':_0x1820a1(0x1c1),'YtYEv':_0x1820a1(0x17e),'mnMSK':function(_0x2712a5){return _0x2712a5();},'LeoUK':function(_0x166756,_0x3c9343){return _0x166756(_0x3c9343);},'ATGWz':function(_0x2174b6,_0x6b80a5){return _0x2174b6+_0x6b80a5;},'ZPMxN':_0x1820a1(0x1a4),'UcPXf':function(_0x18a5a3,_0x5d897e,_0x54e210){return _0x18a5a3(_0x5d897e,_0x54e210);},'rDvvv':_0x1820a1(0x1ea)},_0x4b36da=this;return _0x4ef10d['UcPXf'](o11yErrorHandler,async function _0x57ff95(_0x5a3cee,_0x120225,_0x1c580d=null){const _0x22a40e=_0x1820a1;let _0x577e31=_0x5a3cee[_0x22a40e(0x1c5)],_0x2f4147=null;_0x5a3cee&&_0x4ef10d['AXARK'](typeof _0x5a3cee['version'],_0x4ef10d[_0x22a40e(0x1f5)])?_0x2f4147=_0x5a3cee[_0x22a40e(0x1b9)]():logger['debug'](_0x4ef10d[_0x22a40e(0x1b3)]);let _0x759aa3=null;_0x5a3cee&&_0x4ef10d[_0x22a40e(0x196)](typeof _0x5a3cee[_0x22a40e(0x198)],_0x4ef10d[_0x22a40e(0x1f5)])?_0x759aa3=_0x5a3cee[_0x22a40e(0x198)]():logger['debug'](_0x4ef10d['HisLP']);let _0x1371b7=null,_0xfef756=null,_0x3be065=null,_0x61e877=_0x4ef10d['RsctJ'];if(_0x5a3cee[_0x22a40e(0x1b8)][_0x22a40e(0x17a)]()||global[_0x22a40e(0x1e0)]){let _0x2f5b9c=null;_0x4ef10d[_0x22a40e(0x15f)](nestedKeyValue,_0x5a3cee,[_0x4ef10d['hImcZ'],_0x4ef10d[_0x22a40e(0x1dc)]])?_0x2f5b9c=_0x5a3cee[_0x22a40e(0x201)]['_defaultConnectOptions']:_0x2f5b9c=_0x4ef10d[_0x22a40e(0x1fc)](nestedKeyValue,_0x120225,[_0x4ef10d['hiUru'],_0x4ef10d['NxxKA'],_0x4ef10d[_0x22a40e(0x1a9)]]);const _0x141e4b=_0x1c580d||_0x2f5b9c&&_0x2f5b9c[_0x22a40e(0x1f8)];if(_0x141e4b){_0x61e877=_0x4ef10d[_0x22a40e(0x159)](getCloudProviderFromWsEndpoint,_0x141e4b);if(_0x4ef10d['GudYT'](_0x61e877,_0x4ef10d['ANgPT']))_0x3be065=constants[_0x22a40e(0x15c)][_0x22a40e(0x192)](_0x141e4b)?_0x4ef10d['VqpCt']:_0x4ef10d[_0x22a40e(0x1b1)],_0x577e31=_0x4ef10d[_0x22a40e(0x159)](getBrowserFromWSEndpoint,_0x141e4b)||_0x577e31,_0x1371b7=_0x4b36da[_0x22a40e(0x1f4)][_0x22a40e(0x18a)],_0xfef756=_0x4b36da[_0x22a40e(0x1f4)][_0x22a40e(0x1ab)];else{const _0x5b8a69=await _0x4ef10d[_0x22a40e(0x178)](getPlatformDetails);_0x1371b7=_0x5b8a69[_0x22a40e(0x1d8)],_0xfef756=_0x5b8a69['platformVersion'];}}}else{_0x120225&&_0x120225[_0x22a40e(0x16d)][_0x22a40e(0x1de)][_0x22a40e(0x19e)]?_0x577e31=_0x4ef10d[_0x22a40e(0x155)](getBrowserNameFromChannel,_0x120225['project'][_0x22a40e(0x1de)][_0x22a40e(0x19e)]):_0x577e31=_0x4ef10d[_0x22a40e(0x17c)](_0x4ef10d[_0x22a40e(0x202)],_0x577e31[_0x22a40e(0x1cc)]());const _0x5b4859=await _0x4ef10d[_0x22a40e(0x178)](getPlatformDetails);_0x1371b7=_0x5b4859[_0x22a40e(0x1d8)],_0xfef756=_0x5b4859['platformVersion'];}const _0x2ed1d8={};_0x2ed1d8[_0x22a40e(0x1cb)]=_0x577e31,_0x2ed1d8[_0x22a40e(0x17f)]=_0x2f4147,_0x2ed1d8[_0x22a40e(0x171)]={},_0x2ed1d8[_0x22a40e(0x18a)]=_0x1371b7,_0x2ed1d8[_0x22a40e(0x1ab)]=_0xfef756,_0x2ed1d8[_0x22a40e(0x179)]=_0x3be065;const _0xb4b3=_0x2ed1d8;_0x759aa3&&(_0xb4b3['capabilities']['deviceModel']=_0x759aa3);const _0x45390a={};_0x45390a[_0x22a40e(0x1a8)]=_0x61e877,_0x4b36da[_0x22a40e(0x1f4)]=Object['assign']({},_0x4b36da['currentSessionDetails'],_0x45390a,_0xb4b3);},_0x4ef10d[_0x1820a1(0x1bc)])(_0x6e1946,_0x4e8c71,_0x366dee);}static['patch'](){const _0x44a3a0=a47_0x54481c;this[_0x44a3a0(0x154)](),this[_0x44a3a0(0x165)]();}static[a47_0x54481c(0x154)](){const _0x4a6629=a47_0x54481c,_0x47e8ad={'zkMvi':function(_0x13a1f6,_0x304924,_0x2c5f79){return _0x13a1f6(_0x304924,_0x2c5f79);},'eIWja':_0x4a6629(0x1c0),'PqrDB':'testInfo','XIERV':_0x4a6629(0x168),'WezQk':function(_0x74e130,_0x52a612,_0x1478aa){return _0x74e130(_0x52a612,_0x1478aa);},'oZPCG':_0x4a6629(0x1cd),'wHGtF':_0x4a6629(0x182),'xrNYX':function(_0x56392c,_0x569f23){return _0x56392c===_0x569f23;},'LWXuN':_0x4a6629(0x1a6),'FeRXp':function(_0x1c872e,_0x2df837,_0xdb9d82,_0x47933e){return _0x1c872e(_0x2df837,_0xdb9d82,_0x47933e);},'ZizVT':function(_0x1f6130,_0xd8a366){return _0x1f6130||_0xd8a366;},'LBrAX':function(_0x5583d2,_0x3544b8){return _0x5583d2(_0x3544b8);},'OejBe':_0x4a6629(0x199),'GvacW':'client','VBvGJ':_0x4a6629(0x161),'izhrQ':function(_0x11863b,_0x559a9d){return _0x11863b(_0x559a9d);},'eMwkX':'Not\x20able\x20to\x20import\x20Connection','BTQWf':function(_0xfe5d28,_0x4a05b6){return _0xfe5d28!=_0x4a05b6;},'tYAYt':function(_0x51c72a){return _0x51c72a();},'iYPYs':_0x4a6629(0x1d2),'dEZgE':_0x4a6629(0x164)},_0x43285f=this;if(!this['Connection'])try{const _0x538414=path[_0x4a6629(0x16f)](_0x47e8ad[_0x4a6629(0x183)],_0x47e8ad['GvacW'],_0x47e8ad[_0x4a6629(0x188)]),_0x4d2d68=_0x47e8ad['izhrQ'](importFileFromPWCore,_0x538414);!_0x4d2d68?_0x47e8ad[_0x4a6629(0x1ee)](debug,_0x47e8ad[_0x4a6629(0x1ad)]):this['Connection']=_0x4d2d68['Connection'];}catch(_0x26b2cf){_0x47e8ad[_0x4a6629(0x1ee)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x26b2cf[_0x4a6629(0x162)]());}const _0x5ad8bd=this[_0x4a6629(0x1fd)];try{if(_0x47e8ad['BTQWf'](_0x5ad8bd,null)){const _0xa94906=_0x5ad8bd[_0x4a6629(0x1b5)]['dispatch'],_0x176591=_0x5ad8bd['prototype'][_0x4a6629(0x1d2)];_0x47e8ad[_0x4a6629(0x1f6)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x5ad8bd[_0x4a6629(0x1b5)],_0x47e8ad[_0x4a6629(0x19f)],{'get':function(){const _0x4f5e04=_0x4a6629,_0x306885={'VXziO':function(_0x449f62,_0x534f1d,_0x1ac618){const _0x138407=a47_0x8609;return _0x47e8ad[_0x138407(0x1df)](_0x449f62,_0x534f1d,_0x1ac618);},'LYjze':_0x47e8ad[_0x4f5e04(0x1c9)],'PNvTK':_0x47e8ad[_0x4f5e04(0x1af)],'SUVeO':_0x47e8ad[_0x4f5e04(0x186)],'APmNq':function(_0x568ad1,_0x262e92,_0x3396db){const _0x4138d3=_0x4f5e04;return _0x47e8ad[_0x4138d3(0x1fa)](_0x568ad1,_0x262e92,_0x3396db);},'dGhEJ':function(_0x49b818,_0x196d01,_0x46a5a2){const _0x1925a5=_0x4f5e04;return _0x47e8ad[_0x1925a5(0x1df)](_0x49b818,_0x196d01,_0x46a5a2);},'UroWj':_0x47e8ad[_0x4f5e04(0x177)],'JpaMs':_0x47e8ad[_0x4f5e04(0x176)],'jdhRp':function(_0x2f234a,_0x1cc36c){const _0x73fc08=_0x4f5e04;return _0x47e8ad[_0x73fc08(0x1ac)](_0x2f234a,_0x1cc36c);},'ESWRb':_0x47e8ad['LWXuN'],'UbuCn':function(_0x34594b,_0x256ff4,_0x51ec60,_0x16702b){const _0x2173ef=_0x4f5e04;return _0x47e8ad[_0x2173ef(0x1a2)](_0x34594b,_0x256ff4,_0x51ec60,_0x16702b);}};return async function(){const _0x3fb980=_0x4f5e04;try{if(!global[_0x3fb980(0x1e7)]&&global[_0x3fb980(0x1e0)]&&_0x306885[_0x3fb980(0x1ec)](nestedKeyValue,global[_0x3fb980(0x1cd)],[_0x306885[_0x3fb980(0x1fe)],_0x306885[_0x3fb980(0x1a3)],_0x306885[_0x3fb980(0x187)]])&&_0x306885[_0x3fb980(0x1ff)](shouldScanTestForAccessibility,global[_0x3fb980(0x1cd)][_0x3fb980(0x1c0)][_0x3fb980(0x174)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug'](_0x3fb980(0x1c8)+arguments[0x1]),global[_0x3fb980(0x1e7)]=!![];const _0x54844b=_0x306885[_0x3fb980(0x18e)](nestedKeyValue,global,[_0x306885[_0x3fb980(0x156)],_0x306885[_0x3fb980(0x1e5)]]);_0x54844b&&logger['info']('Page\x20Scan\x20result='+util[_0x3fb980(0x1d9)](await _0x306885[_0x3fb980(0x1ec)](performScanWithRetry,_0x54844b,arguments[0x1]))),_0x306885[_0x3fb980(0x1ce)](arguments[0x0][_0x3fb980(0x19d)],_0x306885['ESWRb'])&&global[_0x3fb980(0x190)]&&logger[_0x3fb980(0x15a)](_0x3fb980(0x16b)+util[_0x3fb980(0x1d9)](await _0x306885[_0x3fb980(0x17d)](performScanWithRetry,global[_0x3fb980(0x190)],arguments[0x1],scripts[_0x3fb980(0x189)])));}}catch(_0x272bc5){logger['debug'](_0x3fb980(0x17b)+util[_0x3fb980(0x1d9)](_0x272bc5));}return global[_0x3fb980(0x1e7)]=![],_0x176591[_0x3fb980(0x1bf)](this,arguments);};}}),!_0x47e8ad[_0x4a6629(0x1ee)](isFalse,process[_0x4a6629(0x1f3)][_0x4a6629(0x1d1)])&&Object[_0x4a6629(0x1b2)](_0x5ad8bd[_0x4a6629(0x1b5)],_0x47e8ad['dEZgE'],{'get':function(){return async function _0x6849ac(_0x1ea3f5){const _0x1ec233=a47_0x8609;if(BrowserstackCLI[_0x1ec233(0x1e3)]()[_0x1ec233(0x1bb)]()){const _0xec037e={};_0xec037e[_0x1ec233(0x1d5)]=_0x1ea3f5,await BrowserstackCLI[_0x1ec233(0x1e3)]()[_0x1ec233(0x160)]()[_0x1ec233(0x19a)](AutomationFrameworkState[_0x1ec233(0x1b6)],HookState[_0x1ec233(0x1c4)],_0xec037e);}else{const _0x5a0870=_0x1ea3f5&&_0x1ea3f5[_0x1ec233(0x18c)]&&_0x1ea3f5[_0x1ec233(0x18c)][_0x1ec233(0x1e4)];if(_0x5a0870){const _0x16a4e8=_0x5a0870['sessionId'],_0x4d0e2e=_0x5a0870[_0x1ec233(0x1db)];_0x47e8ad[_0x1ec233(0x19c)](!_0x16a4e8,!_0x4d0e2e)&&await ClientTroubleShootingService[_0x1ec233(0x197)](),_0x4d0e2e&&(_0x47e8ad['LBrAX'](debug,_0x1ec233(0x153)+_0x4d0e2e[_0x1ec233(0x162)]()),_0x43285f[_0x1ec233(0x1f4)]['platform']=_0x4d0e2e[_0x1ec233(0x1d8)],_0x43285f['currentSessionDetails'][_0x1ec233(0x1ab)]=_0x4d0e2e[_0x1ec233(0x1c6)]),_0x16a4e8&&(_0x47e8ad[_0x1ec233(0x1a0)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x16a4e8),_0x43285f[_0x1ec233(0x1f4)][_0x1ec233(0x16c)]=_0x16a4e8);}}return _0xa94906[_0x1ec233(0x1bf)](this,arguments);};}});}}catch(_0x2a1c7f){_0x47e8ad[_0x4a6629(0x1a0)](debug,_0x4a6629(0x1fb)+_0x2a1c7f),_0x43285f[_0x4a6629(0x180)]=_0x2a1c7f[_0x4a6629(0x162)]();}}static[a47_0x54481c(0x165)](){const _0xb335c8=a47_0x54481c,_0x34b600={'xsEze':function(_0x1e82f4,_0x1d0915){return _0x1e82f4(_0x1d0915);},'QjjQO':function(_0x104fef){return _0x104fef();},'mdKBg':_0xb335c8(0x199),'UKKjo':_0xb335c8(0x1f2),'HhjtJ':_0xb335c8(0x18b),'mBDtB':_0xb335c8(0x1ae),'SlTdf':function(_0x3a571a,_0x493bf1){return _0x3a571a(_0x493bf1);},'CEkkZ':_0xb335c8(0x1e6),'OGbHb':_0xb335c8(0x1ed),'htSqp':function(_0x19b235,_0x4a511d){return _0x19b235!=_0x4a511d;},'blWns':_0xb335c8(0x1be),'qviQs':function(_0x2a432e,_0x2cf084){return _0x2a432e(_0x2cf084);}},_0x2b5ed5=this;if(_0x34b600['QjjQO'](isAccessibilityAutomationSession)){let _0x52061f=null;try{const _0x299522=path[_0xb335c8(0x16f)](_0x34b600[_0xb335c8(0x167)],_0x34b600['UKKjo'],_0x34b600[_0xb335c8(0x169)],_0x34b600['mBDtB']),_0x165916=_0x34b600[_0xb335c8(0x1eb)](importFileFromPWCore,_0x299522);!_0x165916?_0x34b600['SlTdf'](debug,_0x34b600['CEkkZ']):_0x52061f=_0x165916['CRConnection'];}catch(_0x54494d){_0x34b600[_0xb335c8(0x1eb)](debug,_0x34b600['OGbHb']);}try{if(_0x34b600[_0xb335c8(0x19b)](_0x52061f,null)){const _0x30a180=_0x52061f[_0xb335c8(0x1b5)][_0xb335c8(0x1be)];Object[_0xb335c8(0x1b2)](_0x52061f[_0xb335c8(0x1b5)],_0x34b600[_0xb335c8(0x166)],{'get':function(){const _0x17d39a={'rirqv':function(_0x43702e,_0x530286){const _0x2ad9e2=a47_0x8609;return _0x34b600[_0x2ad9e2(0x1eb)](_0x43702e,_0x530286);},'aIXWQ':function(_0x35fc1c,_0x1a952f){const _0x1e350a=a47_0x8609;return _0x34b600[_0x1e350a(0x1eb)](_0x35fc1c,_0x1a952f);}};return async function _0x43c318(_0x3c224d){const _0x589581=a47_0x8609;try{if(BrowserstackCLI[_0x589581(0x1e3)]()[_0x589581(0x1bb)]()){const _0x39dfb0={};_0x39dfb0[_0x589581(0x1d5)]=_0x3c224d,await BrowserstackCLI[_0x589581(0x1e3)]()[_0x589581(0x160)]()[_0x589581(0x19a)](AutomationFrameworkState[_0x589581(0x1b6)],HookState[_0x589581(0x1c4)],_0x39dfb0),delete _0x3c224d[_0x589581(0x172)];}else{const _0x156be0=_0x3c224d[_0x589581(0x172)];if(_0x156be0){delete _0x3c224d['bStackParams'];const _0x199cfb=_0x156be0[_0x589581(0x1c7)],_0x3e4a0d=_0x156be0[_0x589581(0x1db)];_0x3e4a0d&&(_0x17d39a[_0x589581(0x15e)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x3e4a0d[_0x589581(0x162)]()),_0x2b5ed5[_0x589581(0x1f4)][_0x589581(0x18a)]=_0x3e4a0d[_0x589581(0x1d8)],_0x2b5ed5[_0x589581(0x1f4)]['platform_version']=_0x3e4a0d['platformVersion']),_0x199cfb&&(_0x17d39a[_0x589581(0x15e)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x199cfb),_0x2b5ed5[_0x589581(0x1f4)][_0x589581(0x16c)]=_0x199cfb);}}}catch(_0x4cf6bf){_0x17d39a['aIXWQ'](debug,_0x589581(0x1b4)+_0x4cf6bf[_0x589581(0x162)]());}return _0x30a180['apply'](this,arguments);};}});}}catch(_0x6ae5bb){_0x34b600[_0xb335c8(0x1cf)](debug,_0xb335c8(0x1dd)+_0x6ae5bb),_0x2b5ed5[_0xb335c8(0x180)]=_0x6ae5bb[_0xb335c8(0x162)]();}}}static['getDetails'](){const _0x1a1acc=a47_0x54481c;return this[_0x1a1acc(0x1f4)];}}module[a47_0x54481c(0x191)]=PlaywrightSessionDetails;
|