browserstack-node-sdk 1.50.0 → 1.50.1
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
|
-
const
|
|
1
|
+
function a43_0x5408(_0x56ebe2,_0x2906f3){const _0x2c99c9=a43_0x2c99();return a43_0x5408=function(_0x5408a9,_0x14af06){_0x5408a9=_0x5408a9-0xc5;let _0x59591a=_0x2c99c9[_0x5408a9];return _0x59591a;},a43_0x5408(_0x56ebe2,_0x2906f3);}const a43_0x335b27=a43_0x5408;(function(_0x27b9db,_0x54adee){const _0xd22bbd=a43_0x5408,_0x1c0a7c=_0x27b9db();while(!![]){try{const _0x2b8d3b=-parseInt(_0xd22bbd(0xfe))/0x1*(parseInt(_0xd22bbd(0x112))/0x2)+-parseInt(_0xd22bbd(0xe6))/0x3+-parseInt(_0xd22bbd(0xd7))/0x4*(-parseInt(_0xd22bbd(0xd3))/0x5)+-parseInt(_0xd22bbd(0xea))/0x6*(-parseInt(_0xd22bbd(0xec))/0x7)+parseInt(_0xd22bbd(0xee))/0x8+parseInt(_0xd22bbd(0xcb))/0x9*(-parseInt(_0xd22bbd(0x10d))/0xa)+-parseInt(_0xd22bbd(0xeb))/0xb;if(_0x2b8d3b===_0x54adee)break;else _0x1c0a7c['push'](_0x1c0a7c['shift']());}catch(_0x43bb1a){_0x1c0a7c['push'](_0x1c0a7c['shift']());}}}(a43_0x2c99,0x35c04));const path=require(a43_0x335b27(0xce)),util=require(a43_0x335b27(0xd8)),logger=require(a43_0x335b27(0xc9)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x335b27(0xef)),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x335b27(0xdf)),BrowserstackCLI=require(a43_0x335b27(0xf4)),CustomTagManager=require(a43_0x335b27(0x10a)),uploadAttachmentsManager=require(a43_0x335b27(0x111)),{performScanWithRetry}=require(a43_0x335b27(0xc5)),doo11ySync=PerformanceTester[a43_0x335b27(0xf8)](PerformanceO11yEvents[a43_0x335b27(0xc8)],o11yErrorHandler(async function doo11ySync(_0x4a0829){const _0x325a28=a43_0x335b27,_0x272596={'uzYUT':function(_0x16c860,_0x2df60b,_0xd6dc7b){return _0x16c860(_0x2df60b,_0xd6dc7b);},'bowTA':'__workerDetails','nHlGe':'o11ySyncDone','whuVe':_0x325a28(0x102),'uVRzf':_0x325a28(0xe1)};if(_0x272596[_0x325a28(0x100)](nestedKeyValue,global,[_0x272596['bowTA'],_0x272596[_0x325a28(0xed)]]))return;await _0x4a0829[_0x325a28(0x113)](_0x3bba5f=>{},_0x325a28(0x10e)+JSON[_0x325a28(0xf6)]({'action':_0x272596['whuVe'],'arguments':{'data':'ObservabilitySync:'+Date[_0x325a28(0x104)](),'level':_0x272596[_0x325a28(0x10b)]}})),global[_0x325a28(0xd0)]['o11ySyncDone']=!![];},a43_0x335b27(0xf1)));exports[a43_0x335b27(0xe4)]=()=>{const _0x3615c0=a43_0x335b27,_0x57aaeb={'TyKbp':function(_0x571de9,_0x1728af,_0x2df80d,_0x4a0673,_0x25faca){return _0x571de9(_0x1728af,_0x2df80d,_0x4a0673,_0x25faca);},'fdPSO':function(_0x4bcd00,_0x1a68c4){return _0x4bcd00(_0x1a68c4);},'xiLeM':function(_0xd1a07c,_0x4ca251){return _0xd1a07c(_0x4ca251);},'ybaml':function(_0x44bb8e,_0x23e20d){return _0x44bb8e(_0x23e20d);},'QSpMS':_0x3615c0(0x107),'TNDqp':function(_0x5596e3,_0x4ce617,_0x47f9c4){return _0x5596e3(_0x4ce617,_0x47f9c4);},'RpWdS':_0x3615c0(0xd0),'WLULp':_0x3615c0(0xfb),'djbru':'client','BFcor':_0x3615c0(0x105),'RwGva':_0x3615c0(0xd5),'NSVOD':_0x3615c0(0x109)},_0x683e46=path[_0x3615c0(0x103)](_0x57aaeb[_0x3615c0(0x101)],_0x57aaeb[_0x3615c0(0xf0)],_0x57aaeb[_0x3615c0(0xdd)]),_0x5b2a16=_0x57aaeb[_0x3615c0(0xfd)](importFileFromPWCore,_0x683e46);if(!_0x5b2a16){logger[_0x3615c0(0xe1)](_0x57aaeb[_0x3615c0(0x108)]);return;}const _0x4abae3=_0x5b2a16[_0x3615c0(0x10f)],_0x2e6529=_0x4abae3[_0x3615c0(0xe0)],_0x4bfa38=_0x2e6529[_0x3615c0(0x109)];Object[_0x3615c0(0xe2)](_0x2e6529,_0x57aaeb[_0x3615c0(0x115)],{'get':function(){const _0x165915=_0x3615c0,_0x3df420={'OnKbg':function(_0x16d89e,_0x348e4b,_0x33a120,_0x4e2367,_0x335070){const _0x37c361=a43_0x5408;return _0x57aaeb[_0x37c361(0xe9)](_0x16d89e,_0x348e4b,_0x33a120,_0x4e2367,_0x335070);},'kxYRo':function(_0x582fe5,_0x192aa0){return _0x57aaeb['fdPSO'](_0x582fe5,_0x192aa0);},'yvdqR':function(_0x50afdc,_0x5b20c8){const _0x6f7ce9=a43_0x5408;return _0x57aaeb[_0x6f7ce9(0xdb)](_0x50afdc,_0x5b20c8);},'yiiFf':function(_0x27e964,_0x158e73){const _0x557131=a43_0x5408;return _0x57aaeb[_0x557131(0xff)](_0x27e964,_0x158e73);},'sgGSq':_0x57aaeb['QSpMS'],'UMAnU':function(_0x21182a,_0x4dc1c3,_0x178a6e){return _0x57aaeb['TNDqp'](_0x21182a,_0x4dc1c3,_0x178a6e);},'cODWB':_0x57aaeb[_0x165915(0xf5)]};return async function _0x4fb739(){const _0x5f08b5=_0x165915,_0x19a007={'lzizS':function(_0x2998cd,_0x13376d,_0x2d99bd,_0x1cfb29,_0x31d8cd){const _0x3f4041=a43_0x5408;return _0x3df420[_0x3f4041(0xf3)](_0x2998cd,_0x13376d,_0x2d99bd,_0x1cfb29,_0x31d8cd);}},_0x3c7d1e=await _0x4bfa38[_0x5f08b5(0x110)](this,arguments);try{!BrowserstackCLI[_0x5f08b5(0x10c)]()[_0x5f08b5(0xd2)]()&&!_0x3df420[_0x5f08b5(0x114)](isFalse,process[_0x5f08b5(0xd9)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x3df420[_0x5f08b5(0xdc)](doo11ySync,_0x3c7d1e);BrowserstackCLI[_0x5f08b5(0x10c)]()['isRunning']()&&(_0x3c7d1e['setCustomTags']=async(_0x2e3cca,_0x3289ca,_0x214891=![])=>{await CustomTagManager['setCustomTags'](_0x2e3cca,_0x3289ca,_0x214891);},_0x3c7d1e[_0x5f08b5(0xca)]=async(_0x2dd4fc,_0x4097a1=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x2dd4fc,_0x4097a1);});if(!_0x3df420[_0x5f08b5(0x116)](isFalse,process['env'][_0x5f08b5(0xc7)])){const _0x35f10a=_0x3df420['sgGSq']['split']('|');let _0x3b4008=0x0;while(!![]){switch(_0x35f10a[_0x3b4008++]){case'0':_0x3c7d1e[_0x5f08b5(0x106)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x3c7d1e);};continue;case'1':_0x3c7d1e[_0x5f08b5(0xe3)]=async()=>{const _0x131937=_0x5f08b5;global[_0x131937(0xe8)]=!![];};continue;case'2':_0x3c7d1e[_0x5f08b5(0xcd)]=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0x3c7d1e);};continue;case'3':_0x3c7d1e[_0x5f08b5(0xda)]=async()=>{const _0x1d7d08=_0x5f08b5;global[_0x1d7d08(0xe8)]=![];};continue;case'4':_0x3c7d1e[_0x5f08b5(0xe5)]=async()=>{const _0x383973=_0x5f08b5;return await _0x19a007[_0x383973(0xf9)](performScanWithRetry,_0x3c7d1e,null,null,!![]);};continue;}break;}}}catch(_0x541c4a){logger['debug'](_0x5f08b5(0xd1)+util[_0x5f08b5(0xcc)](_0x541c4a));}return _0x3df420[_0x5f08b5(0xe7)](nestedKeyValue,global,[_0x3df420[_0x5f08b5(0xf7)]])&&(global[_0x5f08b5(0xd0)][_0x5f08b5(0xde)]=_0x3c7d1e),_0x3c7d1e;};}});},exports[a43_0x335b27(0xc6)]=()=>{const _0x214a55=a43_0x335b27,_0x4d9498={'xhOst':function(_0x41beee,_0x1f4b41){return _0x41beee(_0x1f4b41);},'hRFBX':_0x214a55(0xd4),'cdHqR':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','vnxTY':_0x214a55(0xd6)};try{const _0x429318=requirePWModule[_0x214a55(0x110)](null,_0x4d9498[_0x214a55(0xcf)](getPlaywrightLibPath,_0x4d9498[_0x214a55(0xfa)]));if(!_0x429318){logger['debug'](_0x4d9498[_0x214a55(0xf2)]);return;}const _0x4c7ecb=_0x429318['Dispatcher'],_0x2eb966=_0x4c7ecb['prototype'],_0x4e4d46=_0x2eb966[_0x214a55(0xd6)];Object['defineProperty'](_0x2eb966,_0x4d9498[_0x214a55(0xfc)],{'get':function(){return function _0x4b7258(){return _0x4e4d46['apply'](this,arguments),!![];};}});}catch(_0x26577d){logger[_0x214a55(0xe1)]('Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20'+util[_0x214a55(0xcc)](_0x26577d));}};function a43_0x2c99(){const _0x47d4db=['fdPSO','2zFvhQL','ybaml','uzYUT','WLULp','annotate','join','now','browserContext.js','getAccessibilityResultsSummary','2|0|4|1|3','RwGva','newPage','../v2/customTagManager','uVRzf','getInstance','1160jCAiWz','browserstack_executor:\x20','BrowserContext','apply','../v2/uploadAttachmentsManager','59532snmCKj','evaluate','kxYRo','NSVOD','yiiFf','../../helpers/accessibility-automation/accessibilityRetryHelper','mockIsWorkerRedundant','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SYNC','../../helpers/logger','uploadAttachment','13428eOXRju','format','getAccessibilityResults','path','xhOst','__workerDetails','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','isRunning','1706450aypOYi','runner/dispatcher.js','Unable\x20to\x20import\x20context\x20for\x20page','_isWorkerRedundant','4vGybkc','util','env','stopA11yScanning','xiLeM','yvdqR','BFcor','pwPage','../../helpers/performance/constants','prototype','debug','defineProperty','startA11yScanning','mockContextNewPage','performScan','378006SuQeCG','UMAnU','bstackA11yShouldScan','TyKbp','216222aJmARe','1242659BsbBdN','63IjJYXx','nHlGe','208928xxQKvt','../../helpers/test-observability/error-handler','djbru','doo11ySync','cdHqR','OnKbg','../v2/browserstackCLI','RpWdS','stringify','cODWB','measureWrapper','lzizS','hRFBX','lib','vnxTY'];a43_0x2c99=function(){return _0x47d4db;};return a43_0x2c99();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x28400f=a44_0x1d25;(function(_0x3d6956,_0x4aab50){const _0x28928d=a44_0x1d25,_0x11b8c2=_0x3d6956();while(!![]){try{const _0x3cbf15=parseInt(_0x28928d(0x172))/0x1*(-parseInt(_0x28928d(0x146))/0x2)+parseInt(_0x28928d(0x18f))/0x3*(-parseInt(_0x28928d(0x127))/0x4)+parseInt(_0x28928d(0x11c))/0x5*(-parseInt(_0x28928d(0x159))/0x6)+parseInt(_0x28928d(0x15b))/0x7+-parseInt(_0x28928d(0x12c))/0x8*(parseInt(_0x28928d(0x134))/0x9)+parseInt(_0x28928d(0x157))/0xa+parseInt(_0x28928d(0x145))/0xb;if(_0x3cbf15===_0x4aab50)break;else _0x11b8c2['push'](_0x11b8c2['shift']());}catch(_0x120df4){_0x11b8c2['push'](_0x11b8c2['shift']());}}}(a44_0x53eb,0xa8491));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x28400f(0x181)),PerformanceTester=require(a44_0x28400f(0x137)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x28400f(0x105)),helper=require(a44_0x28400f(0x10b)),path=require('path'),logger=require(a44_0x28400f(0x118))['winstonLogger'],SessionHandler=require(a44_0x28400f(0x13e)),TestDetails=require('./test-details'),util=require('util'),TestInfo=require(a44_0x28400f(0x162));let BrowserstackCLIInstance=null;function a44_0x53eb(){const _0xa73227=['slice','path','../../../helpers/test-observability/sessionHandler','getPlaywrightLibPath','wMOhC','addTraceFilePath','getFailureData','uIaiN','wiTzK','15540822BSySCH','3994TEzvds','sendTraceZip','tags','existsSync','match','PLAYWRIGHT','lURip','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','@playwright/test/lib/transform/transform.js','muECM','stack','IlEja','Error\x20in\x20sending\x20trace\x20file:\x20%s','getTestRunIdentifier','Searching\x20for\x20key:\x20','ERROR','\x20bytes','4405020XJydWR','playwright','6mPGvLE','Test\x20timeout\x20of','991774WlIsSG','zgqqr','_projectId','getInstance','readdirSync','resolve','playwright/lib/common/configLoader.js','../../v2/TestInfo','calculateTimesFromMultipleFiles','jbCzQ','isRunning','UkSbG','cgOCc','uuYqi','rCpmO','wrMlW','test','rdRpW','afterTestHook','jULay','format','doo11ySync','env','166cxYJRT','CHIPQ','title','onStepBegin','EUDDs','wPUQq','fBvOB','startsWith','basename','PgWrr','AdfNV','validateFilePath','requestSpyCallback','abmxv','AowxP','../../../helpers/test-observability/utils','TEST_ATTACHMENT','PTEVl','runner/projectUtils.js','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','endSession','VYvNY','getTransformPath','RefDC','common','join','VBMga','DTWBw','VYAge','519pyTPMG','getTestIdentifier','CRQuT','PKGML','gUrAS','FMMkA','jaWUQ','substr','XuQLx','\x20in\x20arguments','sPEzz','calculatePerformance','length','call','beforeWorkerHook','gwnXC','afterWorkerHook','Arguments','includes','NhwIF','lib','Total\x20duration\x20for\x20whole\x20build\x20is\x20','1.38.0','filePath','filter','ekCjx','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','\x20in\x20attachments','rIvZU','lMuzM','LogCreated','Percentage\x20of\x20increased\x20time\x20is\x20','stopAndGenerate','HmrBt','setupBrowserDetails','compareVersions','../../../helpers/test-observability/constants','@playwright/test','runner/loadUtils.js','bbWLF','uploadTraceZip','find','../../../helpers/helper','mUKAq','prototype','hnzso','jQHnu','onTestBegin','getLoadUtilsPath','getTime','LlUwR','playwright/lib/transform/transform.js','paLwI','CzZgu','attachments','../../../helpers/logger','@playwright/test/lib/common/configLoader.js','nICXh','slTlT','2583785uKXSCY','trace','IzokY','map','QtCdu','../../v2/browserstackCLI','debug','DuGWK','size','juJmS','JRobQ','5676LjlntX','.json','START_TIME','error','fyxyi','1695544PnGSzF','gUoQW','gQsxv','1.42.0','QNQyb','sendSessionDetails','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','getConfigLoaderPath','9RgvZmx','message','onBegin','../../../helpers/performance/performance-tester','findNestedKey','CHYBQ','JrlSg','beforeTestHook'];a44_0x53eb=function(){return _0xa73227;};return a44_0x53eb();}function getBrowserstackCLI(){const _0x462292=a44_0x28400f,_0x968685={'AdfNV':function(_0x46ea6d,_0x5beb58){return _0x46ea6d(_0x5beb58);},'EUDDs':_0x462292(0x121)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x968685[_0x462292(0x17c)](require,_0x968685[_0x462292(0x176)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x2f73fa=>{const _0x10c78e=a44_0x28400f;return _0x2f73fa[_0x10c78e(0x14a)](/@(\w+)/g)?.[_0x10c78e(0x11f)](_0x2bdacf=>_0x2bdacf[_0x10c78e(0x13c)](0x1))||[];};function a44_0x1d25(_0xebff88,_0x175d6d){const _0x53eb65=a44_0x53eb();return a44_0x1d25=function(_0x1d259d,_0x4d7720){_0x1d259d=_0x1d259d-0x104;let _0x59093a=_0x53eb65[_0x1d259d];return _0x59093a;},a44_0x1d25(_0xebff88,_0x175d6d);}exports['getTestTags']=_0x23aae5=>{const _0x32ed86=a44_0x28400f,_0x1eb270={'AowxP':function(_0x1cb78e,_0x3b4f0f){return _0x1cb78e(_0x3b4f0f);}};if(_0x23aae5[_0x32ed86(0x148)])return _0x23aae5[_0x32ed86(0x148)][_0x32ed86(0x11f)](_0x35af5f=>_0x35af5f[_0x32ed86(0x179)]('@')?_0x35af5f[_0x32ed86(0x196)](0x1):_0x35af5f);return _0x1eb270[_0x32ed86(0x180)](getTagsFromTitle,_0x23aae5[_0x32ed86(0x174)]);},exports[a44_0x28400f(0x19a)]=async()=>{const _0x4ef18e=a44_0x28400f,_0x847e52={'zgqqr':function(_0x158616,_0x54f7c8){return _0x158616-_0x54f7c8;},'rCpmO':'performance-reporter.html','nICXh':_0x4ef18e(0x136),'FMMkA':_0x4ef18e(0x186),'gUoQW':_0x4ef18e(0x110),'Kmkwm':'onTestEnd','COVnz':_0x4ef18e(0x175),'aXWOi':'onStepEnd','CHYBQ':_0x4ef18e(0x19d),'RefDC':_0x4ef18e(0x19f),'AFMRa':_0x4ef18e(0x13b),'DTWBw':_0x4ef18e(0x16d),'QQBvH':_0x4ef18e(0x170),'XuQLx':'processPageScreenshot','VDAcr':_0x4ef18e(0x131),'abmxv':_0x4ef18e(0x1b1),'qlBBM':_0x4ef18e(0x17e),'PTEVl':'sendTestLog','sPEzz':function(_0x3ba421,_0x1b287a){return _0x3ba421(_0x1b287a);},'zmYJW':function(_0x3ba358,_0x42bb8b){return _0x3ba358/_0x42bb8b;},'CCNJU':function(_0x21ab4c,_0x32f462){return _0x21ab4c(_0x32f462);},'hnzso':function(_0x1f0fa4,_0x4f4dfd){return _0x1f0fa4+_0x4f4dfd;},'slTlT':function(_0xe2da3f,_0x32a1fc){return _0xe2da3f*_0x32a1fc;},'jbCzQ':function(_0x23d2e7,_0x46aec8){return _0x23d2e7/_0x46aec8;}};if(!process['env']['START_TIME'])return;const _0x39213a=_0x847e52[_0x4ef18e(0x15c)](new Date()['getTime'](),new Date(process[_0x4ef18e(0x171)][_0x4ef18e(0x129)])[_0x4ef18e(0x112)]()),_0x1d9fd8=await PerformanceTester[_0x4ef18e(0x1af)](_0x847e52[_0x4ef18e(0x169)],[_0x847e52[_0x4ef18e(0x11a)],_0x847e52[_0x4ef18e(0x194)],_0x847e52[_0x4ef18e(0x12d)],_0x847e52['Kmkwm'],_0x847e52['COVnz'],_0x847e52['aXWOi']]),_0x3af76a=fs[_0x4ef18e(0x15f)]('.'),_0x440b58=_0x3af76a[_0x4ef18e(0x1a7)](_0x515d85=>_0x515d85[_0x4ef18e(0x179)]('performance-report-worker-')&&_0x515d85['endsWith'](_0x4ef18e(0x128))),_0x5f46c5=await PerformanceTester[_0x4ef18e(0x163)](_0x440b58,[_0x847e52[_0x4ef18e(0x139)],_0x847e52[_0x4ef18e(0x189)],_0x847e52['AFMRa'],_0x847e52[_0x4ef18e(0x18d)],_0x847e52['QQBvH'],_0x847e52[_0x4ef18e(0x197)],_0x847e52['VDAcr'],_0x847e52[_0x4ef18e(0x17f)],_0x847e52['qlBBM'],_0x847e52[_0x4ef18e(0x183)]]);_0x847e52[_0x4ef18e(0x199)](debug,_0x4ef18e(0x1a4)+_0x847e52['zmYJW'](_0x39213a,0x3e8)+'\x20s'),_0x847e52['CCNJU'](debug,_0x4ef18e(0x132)+_0x847e52[_0x4ef18e(0x10e)](_0x5f46c5,_0x1d9fd8)),_0x847e52['CCNJU'](debug,_0x4ef18e(0x1ae)+_0x847e52[_0x4ef18e(0x11b)](_0x847e52[_0x4ef18e(0x164)](_0x847e52[_0x4ef18e(0x10e)](_0x5f46c5,_0x1d9fd8),_0x39213a),0x64));},exports[a44_0x28400f(0x188)]=()=>{const _0x489419=a44_0x28400f,_0x495f7f={'sSsOC':function(_0x2214c2,_0xcc9fc9){return _0x2214c2(_0xcc9fc9);},'yYDLK':function(_0x292d88,_0x549014){return _0x292d88>=_0x549014;},'paLwI':'1.38.0','cgOCc':_0x489419(0x114),'JrlSg':_0x489419(0x158),'LPjqc':function(_0x258c70,_0x419597){return _0x258c70>=_0x419597;},'uuYqi':'1.35.0','LdThm':_0x489419(0x14e),'wiTzK':'@playwright/test','lURip':'@playwright/test/lib/common/transform.js'},_0x1cd0fb=_0x495f7f['sSsOC'](getFrameworkVersion,FRAMEWORKS[_0x489419(0x14b)]);if(_0x495f7f['yYDLK'](helper['compareVersions'](_0x1cd0fb,_0x495f7f[_0x489419(0x115)]),0x0))return[_0x495f7f[_0x489419(0x167)],_0x495f7f[_0x489419(0x13a)]];if(_0x495f7f['LPjqc'](helper['compareVersions'](_0x1cd0fb,_0x495f7f[_0x489419(0x168)]),0x0))return[_0x495f7f['LdThm'],_0x495f7f[_0x489419(0x144)]];return[_0x495f7f[_0x489419(0x14c)],_0x495f7f[_0x489419(0x144)]];},exports[a44_0x28400f(0x133)]=()=>{const _0x16eeec=a44_0x28400f,_0x393b91={'juJmS':function(_0x4b1bfa,_0x5014e8){return _0x4b1bfa(_0x5014e8);},'LlUwR':function(_0x3ca498,_0x5bb242){return _0x3ca498>=_0x5bb242;},'QNQyb':_0x16eeec(0x1a5),'lMuzM':_0x16eeec(0x161),'gQswH':'playwright','gCQKS':_0x16eeec(0x119),'jULay':_0x16eeec(0x106)},_0x595ffe=_0x393b91[_0x16eeec(0x125)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x393b91[_0x16eeec(0x113)](helper[_0x16eeec(0x104)](_0x595ffe,_0x393b91[_0x16eeec(0x130)]),0x0))return[_0x393b91[_0x16eeec(0x1ac)],_0x393b91['gQswH']];return[_0x393b91['gCQKS'],_0x393b91[_0x16eeec(0x16e)]];},exports[a44_0x28400f(0x111)]=()=>{const _0x4c3ba7=a44_0x28400f,_0x53f56a={};_0x53f56a[_0x4c3ba7(0x18e)]=_0x4c3ba7(0x107);const _0x2723b9=_0x53f56a;return helper[_0x4c3ba7(0x13f)](_0x2723b9[_0x4c3ba7(0x18e)]);},exports['getProjectUtilsPath']=()=>{const _0x35eed8=a44_0x28400f,_0x1872be={};_0x1872be[_0x35eed8(0x140)]=_0x35eed8(0x184);const _0x4d751f=_0x1872be;return helper[_0x35eed8(0x13f)](_0x4d751f[_0x35eed8(0x140)]);},exports['getForkProcessPath']=()=>{const _0x5f355c=a44_0x28400f,_0x170cb1={'NhwIF':function(_0x251ee3,_0x26de78){return _0x251ee3(_0x26de78);},'JRobQ':function(_0x5c2d17,_0x5cfcb2){return _0x5c2d17>=_0x5cfcb2;},'IzokY':_0x5f355c(0x1a5),'rdRpW':_0x5f355c(0x1a3),'jQHnu':_0x5f355c(0x18a),'bbWLF':'process.js','CzZgu':_0x5f355c(0x16b)},_0x4b9918=_0x170cb1[_0x5f355c(0x1a2)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x170cb1[_0x5f355c(0x126)](helper[_0x5f355c(0x104)](_0x4b9918,_0x170cb1[_0x5f355c(0x11e)]),0x0))return path[_0x5f355c(0x18b)](_0x170cb1[_0x5f355c(0x16c)],_0x170cb1[_0x5f355c(0x10f)],_0x170cb1['bbWLF']);return path[_0x5f355c(0x18b)](_0x170cb1[_0x5f355c(0x116)],_0x170cb1['rdRpW'],_0x170cb1[_0x5f355c(0x10f)],_0x170cb1[_0x5f355c(0x108)]);},exports[a44_0x28400f(0x142)]=(_0x39da73,{test_run_uuid:_0x112a18})=>{const _0xf53c44=a44_0x28400f,_0x1bc1a6={'wrMlW':_0xf53c44(0x155),'ekCjx':'TEST_LOG','jaWUQ':function(_0x440d6b,_0x2c7508){return _0x440d6b<=_0x2c7508;},'gUrAS':function(_0x2949e7,_0x20cf95){return _0x2949e7(_0x20cf95);},'wPUQq':_0xf53c44(0x15a),'CRQuT':function(_0x12daf5,_0x3000e1){return _0x12daf5(_0x3000e1);},'cCaoK':function(_0x2fab86,_0x2f9b9c){return _0x2fab86>=_0x2f9b9c;},'fBvOB':_0xf53c44(0x12f),'PKGML':function(_0x59ef25,_0x52d20a){return _0x59ef25>_0x52d20a;},'PgWrr':function(_0x38d25d,_0x31f63e,_0x1e17a2){return _0x38d25d(_0x31f63e,_0x1e17a2);},'CHIPQ':_0xf53c44(0x16b)};if(!_0x39da73||_0x1bc1a6[_0xf53c44(0x195)](_0x39da73[_0xf53c44(0x19b)],0x0))return[];const _0x452504=_0x1bc1a6[_0xf53c44(0x193)](removeAnsiColors,_0x39da73[0x0]['message']);if(_0x452504[_0xf53c44(0x179)](_0x1bc1a6[_0xf53c44(0x177)])){const _0x219f32=_0x39da73[0x0],_0x47704e=_0x1bc1a6[_0xf53c44(0x191)](getFrameworkVersion,FRAMEWORKS[_0xf53c44(0x14b)]);if((!_0x219f32[_0xf53c44(0x150)]||_0x1bc1a6['cCaoK'](_0x47704e,_0x1bc1a6[_0xf53c44(0x178)]))&&_0x1bc1a6[_0xf53c44(0x192)](_0x39da73[_0xf53c44(0x19b)],0x1))return{'failureData':[{'backtrace':[_0x452504,_0x1bc1a6[_0xf53c44(0x191)](removeAnsiColors,_0x39da73[0x1]['stack'])]}],'logs':_0x39da73['slice'](0x2)[_0xf53c44(0x11f)](_0x4ffc04=>{const _0x55859d=_0xf53c44;return{'timestamp':new Date()['toISOString'](),'level':_0x1bc1a6[_0x55859d(0x16a)],'message':''+_0x4ffc04[_0x55859d(0x135)],'kind':_0x1bc1a6[_0x55859d(0x1a8)],'http_response':{},'test_run_uuid':_0x112a18};})};}return{'failureData':_0x1bc1a6[_0xf53c44(0x17b)](failureData,_0x39da73,_0x1bc1a6[_0xf53c44(0x173)]),'logs':[]};},exports[a44_0x28400f(0x17d)]=_0x5950ed=>{const _0x47de58=a44_0x28400f,_0x30a5cf={};_0x30a5cf[_0x47de58(0x187)]=function(_0x3bc53d,_0xc108){return _0x3bc53d!==_0xc108;},_0x30a5cf['DuGWK']='.zip',_0x30a5cf[_0x47de58(0x151)]=function(_0x2f3976,_0x4f5821){return _0x2f3976>_0x4f5821;};const _0x19a067=_0x30a5cf;if(_0x5950ed&&fs[_0x47de58(0x149)](_0x5950ed)){if(_0x19a067['VYvNY'](path['extname'](_0x5950ed)['toLowerCase'](),_0x19a067[_0x47de58(0x123)]))return logger['error'](_0x47de58(0x1a9)+_0x5950ed),![];const _0x1ed8e9=fs['statSync'](_0x5950ed)[_0x47de58(0x124)];if(_0x19a067[_0x47de58(0x151)](_0x1ed8e9,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x47de58(0x185)+_0x1ed8e9+_0x47de58(0x156)),![];return!![];}return![];},exports['findNestedKey']=(_0x3e8f71,_0x547294)=>{const _0x1518c8=a44_0x28400f,_0x182d78={};_0x182d78[_0x1518c8(0x10c)]=_0x1518c8(0x1a0);const _0x1810b3=_0x182d78;logger['debug'](_0x1518c8(0x154)+_0x547294);if(_0x3e8f71&&_0x3e8f71[_0x1518c8(0x117)]){const _0x3826d2=_0x3e8f71['attachments'][_0x1518c8(0x10a)](_0x48ef0f=>_0x48ef0f['name']===_0x1518c8(0x11d));if(_0x3826d2)return logger[_0x1518c8(0x122)]('Found\x20key:\x20'+_0x547294+_0x1518c8(0x1aa)),_0x3826d2[_0x547294];}else{if(_0x3e8f71&&Object[_0x1518c8(0x10d)]['toString'][_0x1518c8(0x19c)](_0x3e8f71)[_0x1518c8(0x1a1)](_0x1810b3[_0x1518c8(0x10c)]))for(const _0x966286 of _0x3e8f71){if(_0x966286[_0x547294])return logger[_0x1518c8(0x122)]('Found\x20key:\x20'+_0x547294+_0x1518c8(0x198)),_0x966286[_0x547294];}};return'';},exports[a44_0x28400f(0x109)]=async(_0x59926f,_0x3582bf)=>{const _0x2c0c85=a44_0x28400f,_0x4bf217={};_0x4bf217[_0x2c0c85(0x1b0)]=_0x2c0c85(0x1ad),_0x4bf217[_0x2c0c85(0x12e)]=_0x2c0c85(0x182),_0x4bf217['UkSbG']=_0x2c0c85(0x147),_0x4bf217[_0x2c0c85(0x12b)]=_0x2c0c85(0x152);const _0x44f176=_0x4bf217;try{const _0x43367b={'event_type':_0x44f176[_0x2c0c85(0x1b0)],'logs':[{'data':_0x59926f?fs['createReadStream'](_0x59926f):'','test_run_uuid':_0x3582bf,'kind':_0x44f176['gQsxv'],'fileName':_0x59926f?path[_0x2c0c85(0x17a)](_0x59926f):''}]};return await SessionHandler['sendEventData'](_0x43367b,0x0,_0x44f176[_0x2c0c85(0x166)]);}catch(_0x2448b0){logger[_0x2c0c85(0x12a)](util[_0x2c0c85(0x16f)](_0x44f176[_0x2c0c85(0x12b)],_0x2448b0));}},exports[a44_0x28400f(0x147)]=async(_0x28e0d9,_0x2dbd0a)=>{const _0x3d8d2d=a44_0x28400f,_0x1c797d={'rIvZU':_0x3d8d2d(0x13d),'muECM':'Trace\x20enabled','VBMga':function(_0x15f8ca){return _0x15f8ca();},'QtCdu':_0x3d8d2d(0x152)};try{logger[_0x3d8d2d(0x122)](_0x3d8d2d(0x14d)+_0x2dbd0a);let _0x4eaaae=await exports[_0x3d8d2d(0x138)](_0x28e0d9,_0x1c797d[_0x3d8d2d(0x1ab)]);if(exports[_0x3d8d2d(0x17d)](_0x4eaaae)){logger['debug'](_0x1c797d[_0x3d8d2d(0x14f)]),_0x4eaaae=path[_0x3d8d2d(0x160)](_0x4eaaae);const _0x106bd1={};_0x106bd1['testUId']=_0x2dbd0a,_0x106bd1[_0x3d8d2d(0x1a6)]=_0x4eaaae;const _0x10ea13=_0x106bd1;_0x1c797d[_0x3d8d2d(0x18c)](getBrowserstackCLI)[_0x3d8d2d(0x15e)]()[_0x3d8d2d(0x165)]()?TestInfo[_0x3d8d2d(0x141)](_0x10ea13):TestDetails[_0x3d8d2d(0x141)](_0x10ea13);};}catch(_0x331ea6){logger['error'](util[_0x3d8d2d(0x16f)](_0x1c797d[_0x3d8d2d(0x120)],_0x331ea6));}},exports[a44_0x28400f(0x190)]=_0x4fc51a=>{const _0x7b7c91=a44_0x28400f,_0x1b13be={};_0x1b13be[_0x7b7c91(0x19e)]=function(_0x3f036e,_0x152890){return _0x3f036e+_0x152890;};const _0x26f173=_0x1b13be;return _0x26f173[_0x7b7c91(0x19e)](_0x26f173[_0x7b7c91(0x19e)](_0x4fc51a[_0x7b7c91(0x15d)],'-'),_0x4fc51a['id']);},exports[a44_0x28400f(0x153)]=(_0x4eb05d,_0x4246b3)=>{const _0x368402=a44_0x28400f,_0x39390a={};_0x39390a[_0x368402(0x143)]=function(_0x4f02bb,_0x10b13d){return _0x4f02bb+_0x10b13d;};const _0x3b0860=_0x39390a;return _0x3b0860[_0x368402(0x143)](_0x3b0860[_0x368402(0x143)](_0x4eb05d['id'],'-'),_0x4246b3);};
|
|
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 +1 @@
|
|
|
1
|
-
const a45_0x3db7f9=a45_0x2188;function a45_0x2188(_0x36343c,_0x4412c9){const _0x501c46=a45_0x501c();return a45_0x2188=function(_0x21888c,_0x1a4993){_0x21888c=_0x21888c-0xed;let _0x2e5441=_0x501c46[_0x21888c];return _0x2e5441;},a45_0x2188(_0x36343c,_0x4412c9);}(function(_0x559c14,_0x4bf4df){const _0x432eff=a45_0x2188,_0x172734=_0x559c14();while(!![]){try{const _0x37207e=-parseInt(_0x432eff(0x162))/0x1*(parseInt(_0x432eff(0x1a6))/0x2)+-parseInt(_0x432eff(0x1de))/0x3+parseInt(_0x432eff(0x1dd))/0x4*(parseInt(_0x432eff(0x199))/0x5)+-parseInt(_0x432eff(0xf7))/0x6+-parseInt(_0x432eff(0xee))/0x7+-parseInt(_0x432eff(0x103))/0x8+parseInt(_0x432eff(0x11b))/0x9*(parseInt(_0x432eff(0x12f))/0xa);if(_0x37207e===_0x4bf4df)break;else _0x172734['push'](_0x172734['shift']());}catch(_0x3b61e4){_0x172734['push'](_0x172734['shift']());}}}(a45_0x501c,0xdf9d3));function a45_0x501c(){const _0x149011=['Playwright','Halko','../../v2/TestInfo','oigfN','Error\x20in\x20calculating\x20performance:\x20','DfzEO','oVYef','../../../../src/bin/utils/constants','parent','EBsuc','MXwYN','getStepsAndLogs','poelv','FGEFj','_gitConfigured','ncBNd','YuSrB','test_run_uuid','logLevel','levsg','Before\x20Hooks','xKNuy','getTestFramework','BHRbA','hpolg','COmZs','ABgnD','VDjLq','utQFC','result','options','IzCYJ','obNrP','qTmJd','getTestUUID','../../v2/state/hookState','TestRunStarted','readFileSync','shutdown','BEFORE_EACH','uuid','MUrqK','hooks','needToReportStep','_bs_hookIdentifier','wqbif','err','afterAll\x20hook','env','386638rQHOVL','oAxjG','path','vyueY','expectedStatus','setup','category','iJXCP','jJGgA','_gitConfigPath','test_run','Sending\x20session\x20details\x20for\x20','KovlG','mkdirSync','attachments','vLglF','../../../helpers/helper','util','_tags','iCbPJ','AFTER_EACH','screenshot','DnpFz','bKycy','onStepEnd','qZujz','retry','Hook\x20Started\x20with\x20unique\x20id\x20','depth','onBegin','setStepIdentifier','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','nblQt','_trackedEvents','rOQRO','yGruY','mfqtt','onTestEnd','BROWSERSTACK_LOG_LEVEL','onStepBegin','zQUgn','POST','steps','failure','trace_','getCustomRerunParam','KAAVz','PLAYWRIGHT','../../v2/browserstackCLI','split','status','expanded','cwd','eTvqh','DviSb','17275RhHUli','pioAQ','pYSfz','addTestUIDAndReportLog','lCbha','\x20is\x20triggered\x20for\x20test\x20','Test\x20Started\x20with\x20unique\x20id\x20','configureGit','../../../helpers/test-observability/utils','joJfi','BgvyU','base64','existsSync','4MnuQKq','ESbXw','format','performance-report-reporter.json','errors','basename','IhTAU','vbnAv','size','reportLogs','meta','CeOzt','pAAPl','failure_reason','PwkAI','finishedAt','getTime','BROWSERSTACK_TEST_RUN_ID','oYsFJ','uploadEventData','ercmQ','onEnd','onTestBegin','mSmFt','CzXUK','Hook\x20Finished\x20with\x20unique\x20id\x20','test','duration','yIwHy','logs','hook','IxEGz','filter','endSession','umLMu','Trace\x20file\x20found\x20for\x20test:\x20','hMEZi','exports','beforeEach\x20hook','map','getStepIdentifier','object','tKfNi','cxZqf','UuEvx','hook_run_uuid','statSync','qIBLe','zhJFH','bHpWC','SnsbW','SqkDF','name','Xzxee','dSExq','244Rxvzov','5428923RTQhvf','skipped','relative','event_type','Fiueh','txjEd','QoFep','taRmq','TyHCI','\x20for\x20','getHookType','IBzee','sendTestRunEvent','BROWSERSTACK_O11Y_PERF_MEASUREMENT','.txt','After\x20Hooks','printsToStdio','_testHooksMap','Expected\x20to\x20fail,\x20but\x20passed.','afterEach\x20hook','length','file','getScope','beforeAll\x20hook','error','TEST','BjQoR','passed','yvzmL','all','SnHgH','step','join','5651366OdInxG','CBTSessionCreated','sendHookRunEvent','startedAt','0|5|2|1|6|7|3|4','toISOString','QkrkJ','INIT_TEST','isRunning','3009636cxLeXZ','TestRunFinished','title','../../../helpers/test-observability/requestQueueHandler','KvjKx','hook_run','MyReporter','iRsJp','OdwgV','\x20is\x20triggered','YhKgS','backtrace','5620648zsFxQz','mcdqy','retry_of','location','push','yYenH','rwkwG','failed','pending','trackEvent','TEST_ATTACHMENT','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','../../../helpers/testhub/utils','ZiVLI','getHierarchy','PRE','apkxx','stack','startMonitoring','toString','BGFDj','failure_type','startsWith','XikrI','90DWhCLr','timedOut','TEST_SCREENSHOT','CTXXL','aBExG','aGsWZ','message','./test-details','utf8','../../../helpers/performance/performance-tester','./pwUtils','homedir','splice','NwhgY','gZHPU','_tests','BEFORE_ALL','getInstance','indexOf','ysVoM','5299610hAjyVE','sendSessionDetails'];a45_0x501c=function(){return _0x149011;};return a45_0x501c();}const RequestQueueHandler=require(a45_0x3db7f9(0xfa)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x3db7f9(0x125)),{v4:uuidv4}=require(a45_0x3db7f9(0x159)),path=require(a45_0x3db7f9(0x164)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x3db7f9(0x1a1)),{getGitMetaData,setLogLevel}=require(a45_0x3db7f9(0x172)),TestDetails=require(a45_0x3db7f9(0x122)),fs=require('fs'),util=require(a45_0x3db7f9(0x173)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x3db7f9(0x124)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x3db7f9(0x10f)),helper=require(a45_0x3db7f9(0x172)),BrowserstackCLI=require(a45_0x3db7f9(0x192)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a45_0x3db7f9(0x154)),TestInfo=require(a45_0x3db7f9(0x133)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x3db7f9(0x138));class MyReporter{constructor(_0x430478){const _0x585a7f=a45_0x3db7f9,_0xf157b5={'RVshf':_0x585a7f(0xf2),'DrUuq':function(_0x55cd90,_0x43b1ca,_0x1a637b,_0x1f8d5e){return _0x55cd90(_0x43b1ca,_0x1a637b,_0x1f8d5e);},'DviSb':_0x585a7f(0x1a9)},_0x2c01fe=_0xf157b5['RVshf'][_0x585a7f(0x193)]('|');let _0x4dcb01=0x0;while(!![]){switch(_0x2c01fe[_0x4dcb01++]){case'0':const _0x953db1={};_0x953db1[_0x585a7f(0x143)]=process['env'][_0x585a7f(0x188)],_0xf157b5['DrUuq'](setLogLevel,_0x953db1,new Map(),new Map());continue;case'1':this[_0x585a7f(0x1ef)]={};continue;case'2':this[_0x585a7f(0x12a)]={};continue;case'3':this[_0x585a7f(0x16b)]=null;continue;case'4':this['_trackedEvents']=[];continue;case'5':process[_0x585a7f(0x161)][_0x585a7f(0x1eb)]&&(PerformanceTester[_0x585a7f(0x115)](_0xf157b5[_0x585a7f(0x198)]),process[_0x585a7f(0x161)]['START_TIME']=new Date()[_0x585a7f(0xf3)]());continue;case'6':this[_0x585a7f(0x14f)]=_0x430478;continue;case'7':this[_0x585a7f(0x13f)]=![];continue;}break;}}async[a45_0x3db7f9(0x17f)](){const _0x4b0475=a45_0x3db7f9,_0x560f72={};_0x560f72['uRoWq']=_0x4b0475(0x131);const _0x466bf2=_0x560f72;TestDetails[_0x4b0475(0x167)](),await this[_0x4b0475(0x1a0)](),TestInfo[_0x4b0475(0x167)](_0x466bf2['uRoWq']);if(BrowserstackCLI[_0x4b0475(0x12c)]()['isRunning']()){await BrowserstackCLI[_0x4b0475(0x12c)]()[_0x4b0475(0x147)]()['trackEvent'](TestFrameworkState[_0x4b0475(0xf5)],HookState['PRE'],{});return;}}async[a45_0x3db7f9(0x1bc)](_0x48e8ec,_0x48f467){const _0xaefdca=a45_0x3db7f9,_0x35d95e={'oubNn':function(_0x28c9b9,_0x1cecac){return _0x28c9b9(_0x1cecac);},'BHRbA':function(_0x925107,_0x5c1f52,_0x11b204){return _0x925107(_0x5c1f52,_0x11b204);},'zQUgn':function(_0x99c6f6,_0x226800){return _0x99c6f6(_0x226800);},'yYenH':_0xaefdca(0x155)};if(BrowserstackCLI[_0xaefdca(0x12c)]()[_0xaefdca(0xf6)]()){const _0x198851={};_0x198851['test']=_0x48e8ec,_0x198851[_0xaefdca(0x14e)]=_0x48f467,await BrowserstackCLI[_0xaefdca(0x12c)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0xaefdca(0x1f7)],HookState['PRE'],_0x198851);return;}const _0x514c7d=_0x35d95e['oubNn'](getTestIdentifier,_0x48e8ec),_0x564875=TestDetails[_0xaefdca(0x153)](_0x35d95e[_0xaefdca(0x148)](getTestRunIdentifier,_0x48e8ec,_0x48f467[_0xaefdca(0x17c)]));process[_0xaefdca(0x161)][_0xaefdca(0x1b7)]=_0x564875;const _0x31686f={};_0x31686f['uuid']=_0x564875,_0x31686f[_0xaefdca(0xf1)]=_0x48f467['startTime'],this[_0xaefdca(0x12a)][_0x514c7d]=_0x31686f,_0x35d95e[_0xaefdca(0x18a)](trace,_0xaefdca(0x19f)+_0x514c7d),await this[_0xaefdca(0x1ea)](_0x48e8ec,_0x35d95e[_0xaefdca(0x108)],_0x48f467);}async['onStepBegin'](_0x2d7a97,_0x3383f8,_0x99d992){const _0x18ed11=a45_0x3db7f9,_0x2695e6={'UGrAG':function(_0xc7ae9,_0x37396c,_0x5bc4ab){return _0xc7ae9(_0x37396c,_0x5bc4ab);},'MXwYN':function(_0x4fe0c3,_0xef3fc6){return _0x4fe0c3(_0xef3fc6);},'KdGku':'HookRunStarted'};if(!this['needToReportStep'](_0x99d992,_0x2d7a97))return;if(BrowserstackCLI[_0x18ed11(0x12c)]()[_0x18ed11(0xf6)]()){const _0x4fdfe9=this[_0x18ed11(0x1e8)](_0x99d992['title']),_0x1879ff=TestFrameworkState[_0x4fdfe9],_0x3dce75={};_0x3dce75[_0x18ed11(0x1c0)]=_0x2d7a97,_0x3dce75[_0x18ed11(0x14e)]=_0x3383f8,_0x3dce75[_0x18ed11(0x1fd)]=_0x99d992,await BrowserstackCLI[_0x18ed11(0x12c)]()['getTestFramework']()[_0x18ed11(0x10c)](_0x1879ff,HookState[_0x18ed11(0x112)],_0x3dce75);return;}const _0x5efe27=this[_0x18ed11(0x180)](_0x2d7a97,_0x99d992);this[_0x18ed11(0x12a)][_0x5efe27]={'uuid':TestDetails['getTestUUID'](_0x5efe27),'startedAt':_0x99d992['startTime'][_0x18ed11(0xf3)]()};const _0x3a7cb2=_0x2695e6['UGrAG'](getTestRunIdentifier,_0x2d7a97,_0x3383f8[_0x18ed11(0x17c)]);!this[_0x18ed11(0x1ef)][_0x3a7cb2]&&(this[_0x18ed11(0x1ef)][_0x3a7cb2]=[]),this[_0x18ed11(0x1ef)][_0x3a7cb2][_0x18ed11(0x107)](this[_0x18ed11(0x12a)][_0x5efe27]['uuid']),_0x2695e6[_0x18ed11(0x13b)](trace,_0x18ed11(0x17d)+_0x5efe27+_0x18ed11(0x19e)+_0x3a7cb2),await this['sendHookRunEvent'](_0x2d7a97,_0x99d992,_0x2695e6['KdGku'],_0x3383f8);}async[a45_0x3db7f9(0x17a)](_0x16736f,_0x4f50af,_0x3849e9){const _0x25ff63=a45_0x3db7f9,_0x31264f={'wRnLj':function(_0x13e25a,_0x25d231){return _0x13e25a+_0x25d231;},'vbnAv':function(_0x1f2920,_0x185cec){return _0x1f2920(_0x185cec);},'CeOzt':'HookRunFinished'};if(!this[_0x25ff63(0x15c)](_0x3849e9,_0x16736f))return;if(BrowserstackCLI[_0x25ff63(0x12c)]()[_0x25ff63(0xf6)]()){const _0x25cf9e=this['getHookType'](_0x3849e9[_0x25ff63(0xf9)]),_0x13bafe=TestFrameworkState[_0x25cf9e],_0x574f96={};_0x574f96[_0x25ff63(0x1c0)]=_0x16736f,_0x574f96[_0x25ff63(0x14e)]=_0x4f50af,_0x574f96[_0x25ff63(0x1fd)]=_0x3849e9,await BrowserstackCLI[_0x25ff63(0x12c)]()[_0x25ff63(0x147)]()[_0x25ff63(0x10c)](_0x13bafe,HookState[_0x25ff63(0x18b)],_0x574f96);return;}const _0x54e94c=this[_0x25ff63(0x1ce)](_0x16736f,_0x3849e9);this[_0x25ff63(0x12a)][_0x54e94c]={...this['_tests'][_0x54e94c]||{},'finishedAt':new Date(_0x31264f['wRnLj'](_0x3849e9['startTime'][_0x25ff63(0x1b6)](),_0x3849e9[_0x25ff63(0x1c1)]))},_0x31264f[_0x25ff63(0x1ad)](trace,_0x25ff63(0x1bf)+_0x54e94c+_0x25ff63(0x100)),await this[_0x25ff63(0xf0)](_0x16736f,_0x3849e9,_0x31264f[_0x25ff63(0x1b1)],_0x4f50af);}async[a45_0x3db7f9(0x187)](_0x25dc30,_0x5902f2){const _0x8e22b=a45_0x3db7f9,_0x4d6f9c={'CTXXL':function(_0x3ea480,_0x40d8f5){return _0x3ea480===_0x40d8f5;},'oYsFJ':_0x8e22b(0x177),'SnsbW':_0x8e22b(0x11d),'XikrI':_0x8e22b(0x1a4),'CzXUK':function(_0x245503,_0x1ad49d){return _0x245503(_0x1ad49d);},'COmZs':function(_0x1bbc9c,_0x3ccc6f,_0x2bbb14){return _0x1bbc9c(_0x3ccc6f,_0x2bbb14);},'TyHCI':function(_0x456cbf,_0x449201){return _0x456cbf(_0x449201);},'KAAVz':_0x8e22b(0xf8),'utQFC':_0x8e22b(0x10e),'rwkwG':function(_0x2a7d44,_0x42302d,_0x1b8d1b){return _0x2a7d44(_0x42302d,_0x1b8d1b);},'YuSrB':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','tKfNi':function(_0x3532d5,_0x8a168c){return _0x3532d5>_0x8a168c;}};if(BrowserstackCLI[_0x8e22b(0x12c)]()[_0x8e22b(0xf6)]()){const _0x22f1f1={};_0x22f1f1[_0x8e22b(0x1c0)]=_0x25dc30,_0x22f1f1[_0x8e22b(0x14e)]=_0x5902f2,this[_0x8e22b(0x183)][_0x8e22b(0x107)](BrowserstackCLI['getInstance']()[_0x8e22b(0x147)]()[_0x8e22b(0x10c)](TestFrameworkState[_0x8e22b(0x1f7)],HookState[_0x8e22b(0x18b)],_0x22f1f1));return;}const _0x8bd845=_0x4d6f9c[_0x8e22b(0x1be)](getTestIdentifier,_0x25dc30),_0x37f082=TestDetails['getTestUUID'](_0x4d6f9c[_0x8e22b(0x14a)](getTestRunIdentifier,_0x25dc30,_0x5902f2[_0x8e22b(0x17c)]));this[_0x8e22b(0x12a)][_0x8bd845]={...this[_0x8e22b(0x12a)][_0x8bd845]||{},'finishedAt':new Date()[_0x8e22b(0xf3)]()},_0x4d6f9c[_0x8e22b(0x1e6)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x8bd845);try{await this[_0x8e22b(0x1ea)](_0x25dc30,_0x4d6f9c[_0x8e22b(0x190)],_0x5902f2);}catch(_0x3a0aa9){_0x4d6f9c['TyHCI'](debug,util[_0x8e22b(0x1a8)](_0x4d6f9c[_0x8e22b(0x14d)],_0x3a0aa9[_0x8e22b(0x116)]()));}try{_0x4d6f9c[_0x8e22b(0x1e6)](debug,_0x8e22b(0x181)+_0x37f082),await _0x4d6f9c[_0x8e22b(0x109)](sendTraceZip,_0x5902f2,_0x37f082);}catch(_0x49ba6f){_0x4d6f9c['TyHCI'](debug,util[_0x8e22b(0x1a8)](_0x4d6f9c[_0x8e22b(0x141)],_0x49ba6f[_0x8e22b(0x116)]()));}const _0x52a929=[];_0x5902f2[_0x8e22b(0x170)]&&_0x5902f2['attachments'][_0x8e22b(0x1cd)](_0x518468=>{const _0x2628fb=_0x8e22b;if(_0x4d6f9c[_0x2628fb(0x11e)](_0x518468[_0x2628fb(0x1da)],_0x4d6f9c[_0x2628fb(0x1b8)])){if(!_0x518468['path']||!fs[_0x2628fb(0x1a5)](_0x518468[_0x2628fb(0x164)]))return;_0x52a929[_0x2628fb(0x107)]({'test_run_uuid':_0x37f082,'timestamp':fs[_0x2628fb(0x1d4)](_0x518468['path'])['mtime'],'kind':_0x4d6f9c[_0x2628fb(0x1d8)],'message':fs[_0x2628fb(0x156)](_0x518468[_0x2628fb(0x164)],{'encoding':_0x4d6f9c[_0x2628fb(0x11a)]})});}}),_0x4d6f9c[_0x8e22b(0x1d0)](_0x52a929[_0x8e22b(0x1f2)],0x0)&&await MyReporter['reportLogs'](_0x52a929);}async[a45_0x3db7f9(0x1c7)](){const _0x122b6a=a45_0x3db7f9;await RequestQueueHandler['getInstance']()[_0x122b6a(0x157)]();}async[a45_0x3db7f9(0x1bb)](_0x523f05){const _0x53d54e=a45_0x3db7f9,_0x22adeb={'qZujz':function(_0x53a7d2){return _0x53a7d2();},'DnpFz':function(_0x2d1135,_0x3a23fa){return _0x2d1135(_0x3a23fa);}};await Promise[_0x53d54e(0x1fb)](this[_0x53d54e(0x183)]),await this['endSession']();try{process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x22adeb[_0x53d54e(0x17b)](calculatePerformance);}catch(_0x11f165){_0x22adeb[_0x53d54e(0x178)](debug,_0x53d54e(0x135)+_0x11f165[_0x53d54e(0x116)]());}}static async[a45_0x3db7f9(0x19c)](_0xa1be41,_0x574592){const _0x136e04=a45_0x3db7f9;_0x574592[_0x136e04(0x142)]=TestDetails[_0x136e04(0x153)](_0xa1be41),await this[_0x136e04(0x1af)]([_0x574592]);}static async[a45_0x3db7f9(0x1af)](_0x141f92){const _0x5c2345=a45_0x3db7f9,_0xd8866a={};_0xd8866a['umLMu']='LogCreated';const _0x2d8879=_0xd8866a;if(BrowserstackCLI[_0x5c2345(0x12c)]()['isRunning']())return;const _0x3f4f12={};_0x3f4f12[_0x5c2345(0x1e1)]=_0x2d8879[_0x5c2345(0x1c8)],_0x3f4f12[_0x5c2345(0x1c3)]=_0x141f92,await SessionHandler[_0x5c2345(0x1b9)](_0x3f4f12);}async[a45_0x3db7f9(0xf0)](_0x5357a2,_0x648e4b,_0x24c6b7,_0x5970ae){const _0x33d742=a45_0x3db7f9,_0x245fd5={'ysVoM':_0x33d742(0x1c4),'SnHgH':'javascript','foBqP':_0x33d742(0x10b),'YhKgS':function(_0x3fbee8,_0x5c3da9){return _0x3fbee8>=_0x5c3da9;},'eTvqh':function(_0x120a75,_0x1a3465){return _0x120a75===_0x1a3465;},'iJXCP':'HookRunFinished','gZHPU':function(_0x5303ca,_0x37253a){return _0x5303ca>_0x37253a;},'pYSfz':_0x33d742(0x10a),'miZcl':function(_0x19735b,_0x24b077){return _0x19735b(_0x24b077);},'ESbXw':function(_0x47d7bc,_0x3e1a45){return _0x47d7bc(_0x3e1a45);},'VDjLq':function(_0x1fca67,_0x282c95,_0x430ce8){return _0x1fca67(_0x282c95,_0x430ce8);},'kNQvb':_0x33d742(0x15f),'bHpWC':_0x33d742(0x1f9)},_0x200d89=this['getStepIdentifier'](_0x5357a2,_0x648e4b),_0x558262=this[_0x33d742(0x12a)][_0x200d89],_0x3c9efb={'uuid':_0x558262[_0x33d742(0x159)],'type':_0x245fd5[_0x33d742(0x12e)],'hook_type':this[_0x33d742(0x1e8)](_0x648e4b[_0x33d742(0xf9)]),'name':_0x648e4b['title'],'scope':this[_0x33d742(0x1f4)](_0x648e4b),'scopes':this[_0x33d742(0x111)](_0x5357a2),'body':{'lang':_0x245fd5[_0x33d742(0x1fc)],'code':null},'identifier':_0x200d89,'file_name':path[_0x33d742(0x1e0)](process[_0x33d742(0x196)](),_0x5357a2[_0x33d742(0x106)][_0x33d742(0x1f3)]),'location':path[_0x33d742(0x1e0)](process[_0x33d742(0x196)](),_0x5357a2[_0x33d742(0x106)]['file']),'result':_0x245fd5['foBqP'],'duration_in_ms':_0x245fd5[_0x33d742(0x101)](_0x648e4b[_0x33d742(0x1c1)],0x0)?_0x648e4b[_0x33d742(0x1c1)]:undefined,'vc_filepath':this[_0x33d742(0x16b)]&&_0x5357a2[_0x33d742(0x106)][_0x33d742(0x1f3)]?path[_0x33d742(0x1e0)](this[_0x33d742(0x16b)],_0x5357a2[_0x33d742(0x106)]['file']):undefined,'started_at':_0x558262[_0x33d742(0xf1)],'finished_at':_0x558262[_0x33d742(0x1b5)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x245fd5[_0x33d742(0x197)](_0x24c6b7,_0x245fd5[_0x33d742(0x169)])){const {steps:_0x44a3a9,logs:_0x5dce70}=this[_0x33d742(0x13c)](_0x648e4b[_0x33d742(0x18c)],_0x558262[_0x33d742(0x159)],_0x245fd5[_0x33d742(0x12e)]);_0x5dce70&&_0x245fd5[_0x33d742(0x129)](_0x5dce70[_0x33d742(0x1f2)],0x0)&&await MyReporter[_0x33d742(0x1af)](_0x5dce70);const _0x3f1ef1={};_0x3f1ef1[_0x33d742(0x18c)]=_0x44a3a9,_0x3c9efb[_0x33d742(0x1b0)]=_0x3f1ef1;if(_0x648e4b[_0x33d742(0x1f6)]){_0x3c9efb[_0x33d742(0x14e)]=_0x245fd5[_0x33d742(0x19b)],_0x3c9efb[_0x33d742(0x1b3)]=_0x245fd5['miZcl'](removeAnsiColors,_0x648e4b['error'][_0x33d742(0x121)]),_0x3c9efb[_0x33d742(0x118)]=_0x245fd5[_0x33d742(0x1a7)](getFailureType,_0x648e4b[_0x33d742(0x1f6)][_0x33d742(0x121)]);const _0x37e112=_0x245fd5[_0x33d742(0x14c)](failureData,_0x648e4b[_0x33d742(0x1f6)],_0x245fd5['kNQvb']);if(_0x37e112&&_0x245fd5[_0x33d742(0x197)](_0x37e112[_0x33d742(0x1f2)],0x0)){const _0x4efbbc={};_0x4efbbc[_0x33d742(0x102)]=[_0x3c9efb[_0x33d742(0x1b3)]],_0x4efbbc[_0x33d742(0x195)]=[],_0x37e112[_0x33d742(0x107)](_0x4efbbc);}_0x3c9efb[_0x33d742(0x18d)]=_0x37e112;}else _0x3c9efb[_0x33d742(0x14e)]=_0x245fd5[_0x33d742(0x1d7)];}const _0x19df7f={};_0x19df7f[_0x33d742(0x1e1)]=_0x24c6b7,_0x19df7f[_0x33d742(0xfc)]=_0x3c9efb;const _0x4f0fcf=_0x19df7f;await SessionHandler['uploadEventData'](_0x4f0fcf);}[a45_0x3db7f9(0x13c)](_0x4de181,_0x13bedd,_0x2e2c87){const _0x252654=a45_0x3db7f9,_0x2bf60b={'BgvyU':function(_0x5f2d5f,_0x4f3b89){return _0x5f2d5f===_0x4f3b89;},'aGsWZ':'hook','mBRMT':function(_0x3794e1,_0x41aa23){return _0x3794e1===_0x41aa23;},'BjQoR':_0x252654(0x1ed),'rOQRO':function(_0x1f52ea,_0x5ed281){return _0x1f52ea===_0x5ed281;},'tbEqH':_0x252654(0x145),'ONmrm':function(_0x171ef6,_0x4865df){return _0x171ef6===_0x4865df;},'IzCYJ':function(_0x390a92,_0x54dffd){return _0x390a92===_0x54dffd;},'KoqtG':_0x252654(0x1c0),'apkxx':_0x252654(0x142),'MUrqK':_0x252654(0x1d3),'rEqYz':'TEST_STEP','pAAPl':'failed','PwkAI':_0x252654(0x1f9),'mcdqy':function(_0x1de90c,_0x212ff7){return _0x1de90c(_0x212ff7);},'vLglF':function(_0x10d075,_0x164387){return _0x10d075(_0x164387);},'txjEd':function(_0x26c6f4){return _0x26c6f4();},'wqbif':function(_0x5cbc44,_0x24b493){return _0x5cbc44(_0x24b493);},'BGFDj':function(_0x124e95,_0x325170,_0x296a2d){return _0x124e95(_0x325170,_0x296a2d);},'hpolg':function(_0x3710a7,_0x43f37a,_0x407b13){return _0x3710a7(_0x43f37a,_0x407b13);}},_0x2dffb0=[],_0x269188=[],_0x122f2=_0x4de181[_0x252654(0x1c6)](_0x4db0dc=>{const _0x5bf456=_0x252654;if(_0x2bf60b[_0x5bf456(0x1a3)](_0x4db0dc['category'],_0x2bf60b[_0x5bf456(0x120)])&&(_0x2bf60b['mBRMT'](_0x4db0dc[_0x5bf456(0xf9)],_0x2bf60b[_0x5bf456(0x1f8)])||_0x2bf60b[_0x5bf456(0x184)](_0x4db0dc[_0x5bf456(0xf9)],_0x2bf60b['tbEqH'])))return![];return!![];}),_0x5a445c=(_0x5dff5b,_0x19944f=![])=>{const _0x3e2a10=_0x252654;if(_0x2bf60b['ONmrm'](_0x5dff5b['steps']['length'],0x0)){const _0x5918ce=_0x2bf60b[_0x3e2a10(0x150)](_0x2e2c87,_0x2bf60b['KoqtG'])?_0x2bf60b[_0x3e2a10(0x113)]:_0x2bf60b[_0x3e2a10(0x15a)];_0x269188[_0x3e2a10(0x107)]({'kind':_0x2bf60b['rEqYz'],[_0x5918ce]:_0x13bedd,'message':_0x5dff5b[_0x3e2a10(0xf9)],'timestamp':_0x5dff5b['startTime'][_0x3e2a10(0xf3)](),'level':_0x5dff5b[_0x3e2a10(0x1f6)]?_0x2bf60b[_0x3e2a10(0x1b2)]:_0x2bf60b['PwkAI'],'duration':_0x5dff5b[_0x3e2a10(0x1c1)],'failure':_0x5dff5b[_0x3e2a10(0x1f6)]&&_0x5dff5b['error'][_0x3e2a10(0x121)]&&_0x2bf60b[_0x3e2a10(0x104)](removeAnsiColors,_0x5dff5b['error']['message']),'failure_type':_0x2bf60b[_0x3e2a10(0x171)](getFailureType,_0x5dff5b[_0x3e2a10(0x1f6)]&&_0x5dff5b[_0x3e2a10(0x1f6)]['message'])});}else{!_0x19944f&&_0x2dffb0['push']({'id':_0x2bf60b[_0x3e2a10(0x1e3)](uuidv4),'text':_0x5dff5b[_0x3e2a10(0xf9)],'keyword':undefined,'started_at':_0x5dff5b['startTime'][_0x3e2a10(0xf3)](),'duration':_0x5dff5b['duration'],'result':_0x5dff5b[_0x3e2a10(0x1f6)]?_0x2bf60b[_0x3e2a10(0x1b2)]:_0x2bf60b[_0x3e2a10(0x1b4)],'failure':_0x5dff5b[_0x3e2a10(0x1f6)]&&_0x5dff5b[_0x3e2a10(0x1f6)][_0x3e2a10(0x121)]&&_0x2bf60b[_0x3e2a10(0x15e)](removeAnsiColors,_0x5dff5b[_0x3e2a10(0x1f6)]['message']),'failure_type':_0x2bf60b['vLglF'](getFailureType,_0x5dff5b[_0x3e2a10(0x1f6)]&&_0x5dff5b['error']['message'])});for(const _0x4d6e63 of _0x5dff5b['steps']){_0x2bf60b[_0x3e2a10(0x117)](_0x5a445c,_0x4d6e63,!![]);}}};for(const _0x18edbc of _0x122f2){_0x2bf60b[_0x252654(0x149)](_0x5a445c,_0x18edbc,![]);}const _0x1deffd={};return _0x1deffd[_0x252654(0x18c)]=_0x2dffb0,_0x1deffd['logs']=_0x269188,_0x1deffd;}async[a45_0x3db7f9(0x1ea)](_0x47f635,_0x9185f0,_0x4d9f9){const _0x2708bc=a45_0x3db7f9,_0x4e0471={'yGruY':function(_0x18f89a,_0x453be3){return _0x18f89a(_0x453be3);},'mfqtt':_0x2708bc(0x10d),'obNrP':_0x2708bc(0x1c0),'cmZUg':'javascript','rMNJN':_0x2708bc(0x10b),'IBzee':function(_0xd1d385,_0x4505f5,_0x2a5847,_0x532c7,_0x19acce){return _0xd1d385(_0x4505f5,_0x2a5847,_0x532c7,_0x19acce);},'taRmq':function(_0x43cb8b,_0x302af2){return _0x43cb8b>_0x302af2;},'pioAQ':function(_0x58f2ca,_0x237baa,_0x17640b){return _0x58f2ca(_0x237baa,_0x17640b);},'cxZqf':function(_0x310e42,_0x456806){return _0x310e42-_0x456806;},'UuEvx':function(_0x248784,_0x264d7d){return _0x248784===_0x264d7d;},'OdwgV':_0x2708bc(0xf8),'KvjKx':function(_0x45912b,_0x1e50a5){return _0x45912b===_0x1e50a5;},'dSExq':function(_0x33d397,_0x522d13){return _0x33d397===_0x522d13;},'yvzmL':_0x2708bc(0x1df),'aBExG':_0x2708bc(0x1f9),'nPdxL':function(_0x464002,_0x133c76){return _0x464002===_0x133c76;},'oVYef':_0x2708bc(0x10a),'oAxjG':_0x2708bc(0x11c),'jJGgA':function(_0x48278d,_0x4c33cc){return _0x48278d===_0x4c33cc;},'qIBLe':_0x2708bc(0x1f0),'joJfi':function(_0xe23678,_0x3cb219,_0x15cae2){return _0xe23678(_0x3cb219,_0x15cae2);},'lCbha':function(_0x5b225d,_0x109061,_0x19de93){return _0x5b225d(_0x109061,_0x19de93);},'dJgCE':function(_0x3bc8af,_0xf15c5f){return _0x3bc8af>_0xf15c5f;},'QoFep':_0x2708bc(0x164),'QkrkJ':function(_0x3a95d2,_0x1fec45){return _0x3a95d2(_0x1fec45);},'SqkDF':'.browserstack','gjtyE':_0x2708bc(0x123),'dYxvA':function(_0x35e397,_0x585653){return _0x35e397(_0x585653);},'poelv':function(_0x231674,_0x560b9b){return _0x231674!==_0x560b9b;}},_0x3e9a7a=_0x4e0471[_0x2708bc(0x185)](getTestIdentifier,_0x47f635),_0x4731fd=this[_0x2708bc(0x1f4)](_0x47f635),_0x20df9d=this[_0x2708bc(0x12a)][_0x3e9a7a],_0x2c9e0f=path[_0x2708bc(0x1e0)](process[_0x2708bc(0x196)](),_0x47f635[_0x2708bc(0x106)][_0x2708bc(0x1f3)]);await this[_0x2708bc(0x1a0)]();const _0x164898={'uuid':_0x20df9d['uuid'],'type':_0x4e0471[_0x2708bc(0x151)],'name':_0x47f635['title'],'body':{'lang':_0x4e0471['cmZUg'],'code':_0x47f635['fn'][_0x2708bc(0x116)]()},'scope':_0x4731fd,'scopes':this[_0x2708bc(0x111)](_0x47f635),'identifier':_0x3e9a7a,'file_name':_0x2c9e0f,'location':_0x2c9e0f,'result':_0x4e0471['rMNJN'],'duration_in_ms':_0x4d9f9&&_0x4d9f9[_0x2708bc(0x1c1)]?_0x4d9f9['duration']:null,'vc_filepath':this[_0x2708bc(0x16b)]&&_0x47f635['location'][_0x2708bc(0x1f3)]?path[_0x2708bc(0x1e0)](this[_0x2708bc(0x16b)],_0x47f635['location'][_0x2708bc(0x1f3)]):undefined,'started_at':_0x20df9d[_0x2708bc(0xf1)],'finished_at':_0x20df9d[_0x2708bc(0x1b5)],'framework':FRAMEWORKS[_0x2708bc(0x191)],'customRerunParam':{'rerun_name':this[_0x2708bc(0x18f)](_0x47f635)},'tags':_0x4e0471[_0x2708bc(0x185)](getTestTags,_0x47f635)};_0x4e0471[_0x2708bc(0x1e9)](appendTesthubParams,_0x164898,_0x9185f0,_0x47f635,FRAMEWORKS[_0x2708bc(0x191)]);_0x4d9f9&&_0x4e0471[_0x2708bc(0x1e5)](_0x4d9f9['retry'],0x0)&&(_0x164898[_0x2708bc(0x105)]=TestDetails[_0x2708bc(0x153)](_0x4e0471[_0x2708bc(0x19a)](getTestRunIdentifier,_0x47f635,_0x4e0471[_0x2708bc(0x1d1)](_0x4d9f9['retry'],0x1))));if(_0x4e0471[_0x2708bc(0x1d2)](_0x9185f0,_0x4e0471[_0x2708bc(0xff)])){_0x164898[_0x2708bc(0x14e)]=_0x4d9f9['status'];if(_0x4e0471[_0x2708bc(0xfb)](_0x4d9f9['status'],_0x47f635[_0x2708bc(0x166)]))_0x164898['result']=_0x4e0471[_0x2708bc(0x1dc)](_0x4d9f9[_0x2708bc(0x194)],_0x4e0471[_0x2708bc(0x1fa)])?_0x4e0471['yvzmL']:_0x4e0471[_0x2708bc(0x11f)];else{(_0x4e0471[_0x2708bc(0x1d2)](_0x164898[_0x2708bc(0x14e)],_0x4e0471[_0x2708bc(0x11f)])||_0x4e0471['nPdxL'](_0x164898[_0x2708bc(0x14e)],_0x4e0471['oVYef'])||_0x4e0471['KvjKx'](_0x164898[_0x2708bc(0x14e)],_0x4e0471[_0x2708bc(0x163)]))&&(_0x164898[_0x2708bc(0x14e)]=_0x4e0471[_0x2708bc(0x137)]);if(_0x4e0471[_0x2708bc(0x1d2)](_0x4d9f9[_0x2708bc(0x194)],_0x4e0471[_0x2708bc(0x11f)])&&_0x4e0471[_0x2708bc(0x16a)](_0x47f635[_0x2708bc(0x166)],_0x4e0471[_0x2708bc(0x137)])){const _0x43c56a={};_0x43c56a['message']=_0x4e0471[_0x2708bc(0x1d5)],_0x43c56a[_0x2708bc(0x114)]=_0x4e0471['qIBLe'],_0x4d9f9['error']=_0x43c56a,_0x4d9f9[_0x2708bc(0x1aa)]=[_0x4d9f9[_0x2708bc(0x1f6)]];}}const _0x4e0389=_0x4e0471[_0x2708bc(0x1a2)](getTestRunIdentifier,_0x47f635,_0x4d9f9[_0x2708bc(0x17c)]);_0x164898[_0x2708bc(0x15b)]=this[_0x2708bc(0x1ef)][_0x4e0389];const {steps:_0x217b71,logs:_0x1b4b9c}=this[_0x2708bc(0x13c)](_0x4d9f9[_0x2708bc(0x18c)],_0x20df9d[_0x2708bc(0x159)],_0x4e0471[_0x2708bc(0x151)]);await MyReporter[_0x2708bc(0x1af)](_0x1b4b9c);const _0x16a24c={};_0x16a24c[_0x2708bc(0x18c)]=_0x217b71,_0x164898[_0x2708bc(0x1b0)]=_0x16a24c;if(_0x4d9f9[_0x2708bc(0x1f6)]){_0x164898[_0x2708bc(0x1b3)]=_0x4e0471[_0x2708bc(0x185)](removeAnsiColors,_0x4d9f9[_0x2708bc(0x1f6)][_0x2708bc(0x121)]),_0x164898[_0x2708bc(0x118)]=_0x4e0471[_0x2708bc(0x185)](getFailureType,_0x4d9f9[_0x2708bc(0x1f6)][_0x2708bc(0x121)]);const _0x201079={};_0x201079['test_run_uuid']=_0x20df9d[_0x2708bc(0x159)];const {failureData:_0x1a6331,logs:_0x508d67}=_0x4e0471[_0x2708bc(0x19d)](getFailureData,_0x4d9f9[_0x2708bc(0x1aa)],_0x201079);if(_0x1a6331&&_0x4e0471['jJGgA'](_0x1a6331[_0x2708bc(0x1f2)],0x0)){const _0x55f4f3={};_0x55f4f3[_0x2708bc(0x102)]=[_0x164898[_0x2708bc(0x1b3)]],_0x55f4f3['expanded']=[],_0x1a6331[_0x2708bc(0x107)](_0x55f4f3);}_0x164898[_0x2708bc(0x18d)]=_0x1a6331,_0x508d67&&_0x4e0471['dJgCE'](_0x508d67[_0x2708bc(0x1f2)],0x0)&&await MyReporter['reportLogs'](_0x508d67);}}let _0x1c8546=_0x4e0471[_0x2708bc(0x1a2)](findNestedKey,_0x4d9f9,_0x4e0471[_0x2708bc(0x1e4)]);if(_0x1c8546&&_0x4e0471[_0x2708bc(0xf4)](validateFilePath,_0x1c8546))_0x4e0471['yGruY'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x20df9d['uuid']+'\x20at\x20'+_0x1c8546);else{const _0x58b1eb=path[_0x2708bc(0xed)](helper[_0x2708bc(0x126)](),_0x4e0471[_0x2708bc(0x1d9)]);!fs[_0x2708bc(0x1a5)](_0x58b1eb)&&fs[_0x2708bc(0x16f)](_0x58b1eb),fs['existsSync'](path[_0x2708bc(0xed)](_0x58b1eb,_0x2708bc(0x18e)+_0x20df9d[_0x2708bc(0x159)]+_0x2708bc(0x1ec)))&&(_0x1c8546=fs[_0x2708bc(0x156)](path[_0x2708bc(0xed)](_0x58b1eb,'trace_'+_0x20df9d['uuid']+'.txt'),_0x4e0471['gjtyE']),_0x4e0471['dYxvA'](debug,_0x2708bc(0x1c9)+_0x20df9d[_0x2708bc(0x159)]+'\x20at\x20'+_0x1c8546));}const _0x50e624={};_0x50e624[_0x2708bc(0x1e1)]=_0x9185f0,_0x50e624[_0x2708bc(0x16c)]=_0x164898;const _0x2cc294=_0x50e624;_0x1c8546&&_0x4e0471[_0x2708bc(0x13d)](_0x1c8546,'')&&_0x4e0471[_0x2708bc(0xfb)](_0x9185f0,_0x4e0471[_0x2708bc(0xff)])&&(!_0x2cc294[_0x2708bc(0x1c3)]&&(_0x2cc294['logs']=[]),_0x1c8546[_0x2708bc(0x193)]('\x0a')['forEach'](_0x32f57a=>{const _0xdabfe0=_0x2708bc;_0x32f57a&&_0x4e0471['yGruY'](validateFilePath,_0x32f57a)&&_0x2cc294[_0xdabfe0(0x1c3)]['push']({'kind':_0x4e0471[_0xdabfe0(0x186)],'timestamp':new Date()[_0xdabfe0(0xf3)](),'test_run_uuid':_0x20df9d[_0xdabfe0(0x159)],'file_name':path[_0xdabfe0(0x1ab)](_0x32f57a),'file_size':fs['statSync'](_0x32f57a)[_0xdabfe0(0x1ae)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler['uploadEventData'](_0x2cc294);}[a45_0x3db7f9(0x18f)](_0xa3b22b){const _0x48e0ad=a45_0x3db7f9,_0x87acf9={};_0x87acf9[_0x48e0ad(0x13e)]=function(_0x443aab,_0x3fcf70){return _0x443aab===_0x3fcf70;},_0x87acf9[_0x48e0ad(0x140)]=function(_0x1caebf,_0x299349){return _0x1caebf>_0x299349;},_0x87acf9[_0x48e0ad(0x1db)]=function(_0x4cc1c9,_0x527d4a){return _0x4cc1c9+_0x527d4a;},_0x87acf9[_0x48e0ad(0x1c2)]=function(_0x5426a5,_0x4cff81){return _0x5426a5===_0x4cff81;},_0x87acf9[_0x48e0ad(0x175)]=function(_0x478271,_0x29eecb){return _0x478271+_0x29eecb;};const _0x467072=_0x87acf9,_0x39a01c=_0xa3b22b['titlePath']()[_0x48e0ad(0x1cd)](_0xa8a843=>{const _0x3b1f2b=_0x48e0ad;if(_0xa3b22b[_0x3b1f2b(0x139)]&&_0x467072[_0x3b1f2b(0x13e)](_0xa8a843,_0xa3b22b[_0x3b1f2b(0x139)][_0x3b1f2b(0xf9)])&&_0xa3b22b[_0x3b1f2b(0x139)][_0x3b1f2b(0x174)]&&_0x467072['ncBNd'](_0xa3b22b['parent']['_tags'][_0x3b1f2b(0x1f2)],0x0))return _0x467072[_0x3b1f2b(0x1db)](_0x467072[_0x3b1f2b(0x1db)](_0xa8a843,'\x20'),_0xa3b22b[_0x3b1f2b(0x139)][_0x3b1f2b(0x174)][_0x3b1f2b(0xed)]('\x20'));if(_0x467072[_0x3b1f2b(0x1c2)](_0xa8a843,_0xa3b22b[_0x3b1f2b(0xf9)])&&_0xa3b22b[_0x3b1f2b(0x174)]&&_0x467072[_0x3b1f2b(0x140)](_0xa3b22b[_0x3b1f2b(0x174)][_0x3b1f2b(0x1f2)],0x0))return _0x467072[_0x3b1f2b(0x175)](_0x467072[_0x3b1f2b(0x1db)](_0xa8a843,'\x20'),_0xa3b22b['_tags'][_0x3b1f2b(0xed)]('\x20'));return _0xa8a843;})[_0x48e0ad(0xed)]('\x20');return _0x39a01c;}static async[a45_0x3db7f9(0x130)](_0x7fc030,_0x57ba5f){const _0x452a37=a45_0x3db7f9,_0x8c9d27={'levsg':function(_0x4ca2e3,_0x2f7624){return _0x4ca2e3(_0x2f7624);},'EBsuc':_0x452a37(0xef)},_0x4b6a53={'uuid':TestDetails[_0x452a37(0x153)](_0x7fc030),'integrations':_0x57ba5f},_0x15da37={};_0x15da37[_0x452a37(0x17e)]=null,_0x8c9d27[_0x452a37(0x144)](debug,_0x452a37(0x16d)+_0x7fc030+',\x20'+util['inspect'](_0x57ba5f,_0x15da37));const _0x594c7a={};_0x594c7a[_0x452a37(0x1e1)]=_0x8c9d27[_0x452a37(0x13a)],_0x594c7a[_0x452a37(0x16c)]=_0x4b6a53,await SessionHandler[_0x452a37(0x1b9)](_0x594c7a);}async[a45_0x3db7f9(0x1a0)](){const _0x919979=a45_0x3db7f9,_0x32d918={'wsBOE':function(_0xb18214){return _0xb18214();}};if(this[_0x919979(0x13f)])return;const _0x40eb62=await _0x32d918['wsBOE'](getGitMetaData);_0x40eb62&&(this[_0x919979(0x16b)]=_0x40eb62['root']),this[_0x919979(0x13f)]=!![];}['getHierarchy'](_0x38b8e7){const _0x4d57f3=a45_0x3db7f9,_0x51ec16={};_0x51ec16[_0x4d57f3(0x165)]=function(_0x4ecd33,_0x3e86e9){return _0x4ecd33!==_0x3e86e9;};const _0x2dcbe9=_0x51ec16,_0xefb61c=[];if(_0x38b8e7&&_0x38b8e7[_0x4d57f3(0x139)]){let _0x2c556b=_0x38b8e7[_0x4d57f3(0x139)];while(_0x2c556b&&_0x2dcbe9[_0x4d57f3(0x165)](_0x2c556b[_0x4d57f3(0xf9)],'')){_0xefb61c['push'](_0x2c556b[_0x4d57f3(0xf9)]),_0x2c556b=_0x2c556b[_0x4d57f3(0x139)];}}return _0xefb61c['reverse']()[_0x4d57f3(0x127)](0x0,0x2),_0xefb61c;}[a45_0x3db7f9(0x15c)](_0x26cc57){const _0x57f5b7=a45_0x3db7f9,_0x1b9c6a={};_0x1b9c6a['Fiueh']=function(_0x1afd8f,_0x17ef69){return _0x1afd8f!==_0x17ef69;},_0x1b9c6a[_0x57f5b7(0x1d6)]=_0x57f5b7(0x1c4),_0x1b9c6a[_0x57f5b7(0xfe)]=function(_0x404dc7,_0x531f72){return _0x404dc7===_0x531f72;},_0x1b9c6a[_0x57f5b7(0x16e)]=_0x57f5b7(0x1cc),_0x1b9c6a[_0x57f5b7(0x110)]=_0x57f5b7(0x1f5),_0x1b9c6a[_0x57f5b7(0x1ac)]='afterAll\x20hook',_0x1b9c6a[_0x57f5b7(0x128)]=_0x57f5b7(0x1f1);const _0x4cad68=_0x1b9c6a;if(_0x4cad68[_0x57f5b7(0x1e2)](_0x26cc57[_0x57f5b7(0x168)],_0x4cad68['zhJFH']))return![];if(_0x4cad68[_0x57f5b7(0xfe)]([_0x4cad68[_0x57f5b7(0x16e)],_0x4cad68[_0x57f5b7(0x110)],_0x4cad68[_0x57f5b7(0x1ac)],_0x4cad68[_0x57f5b7(0x128)]][_0x57f5b7(0x12d)](_0x26cc57['title']),-0x1))return![];return!![];}[a45_0x3db7f9(0x1ce)](_0x510eac,_0x1f5ff4){const _0xc38166=a45_0x3db7f9,_0x496ba9={'IxEGz':function(_0x9087c9,_0x445cd6){return _0x9087c9(_0x445cd6);}},_0x39fe2d=_0x1f5ff4[_0xc38166(0x15d)];if(_0x39fe2d)return _0x39fe2d;return _0x1f5ff4[_0xc38166(0xf9)]+'\x20for\x20'+_0x496ba9[_0xc38166(0x1c5)](getTestIdentifier,_0x510eac);}[a45_0x3db7f9(0x180)](_0x3547c7,_0x282321){const _0x1a19e6=a45_0x3db7f9,_0x353edb={'hMEZi':function(_0x4c4a75,_0x298726){return _0x4c4a75(_0x298726);},'NeTyt':function(_0x17006e){return _0x17006e();}};let _0x512736=_0x282321[_0x1a19e6(0xf9)]+_0x1a19e6(0x1e7)+_0x353edb[_0x1a19e6(0x1ca)](getTestIdentifier,_0x3547c7);return this[_0x1a19e6(0x12a)][_0x512736]&&(_0x512736=_0x512736+'\x20-\x20'+_0x353edb['NeTyt'](uuidv4)),_0x282321[_0x1a19e6(0x15d)]=_0x512736,_0x512736;}[a45_0x3db7f9(0x1e8)]=_0x3a0561=>{const _0x117104=a45_0x3db7f9,_0x29df8f={};_0x29df8f[_0x117104(0x132)]=_0x117104(0x1cc),_0x29df8f['oigfN']=_0x117104(0x158),_0x29df8f[_0x117104(0x1ba)]=_0x117104(0x1f5),_0x29df8f[_0x117104(0x152)]=_0x117104(0x12b),_0x29df8f['mSmFt']=_0x117104(0x1f1),_0x29df8f['nblQt']=_0x117104(0x176),_0x29df8f[_0x117104(0x14b)]=_0x117104(0x160),_0x29df8f[_0x117104(0x136)]='AFTER_ALL',_0x29df8f['nPYeD']='unknown';const _0xc21a37=_0x29df8f;if(_0x3a0561[_0x117104(0x119)](_0xc21a37['Halko']))return _0xc21a37[_0x117104(0x134)];else{if(_0x3a0561[_0x117104(0x119)](_0xc21a37[_0x117104(0x1ba)]))return _0xc21a37[_0x117104(0x152)];else{if(_0x3a0561[_0x117104(0x119)](_0xc21a37[_0x117104(0x1bd)]))return _0xc21a37[_0x117104(0x182)];else{if(_0x3a0561[_0x117104(0x119)](_0xc21a37[_0x117104(0x14b)]))return _0xc21a37['DfzEO'];}}}return _0xc21a37['nPYeD'];};['getScope']=_0x5ede18=>{const _0x46b9ee=a45_0x3db7f9,_0x303bd8={};_0x303bd8[_0x46b9ee(0x179)]=function(_0x3e0c65,_0x168fd0){return _0x3e0c65===_0x168fd0;},_0x303bd8[_0x46b9ee(0x146)]=_0x46b9ee(0x1cf);const _0x244731=_0x303bd8;let _0x2e38a0=_0x5ede18['parent'];return _0x244731[_0x46b9ee(0x179)](typeof _0x5ede18[_0x46b9ee(0x139)],_0x244731[_0x46b9ee(0x146)])&&(_0x2e38a0=_0x2e38a0['title']),_0x2e38a0+'\x20-\x20'+_0x5ede18['title'];};[a45_0x3db7f9(0x1ee)](){return![];}}module[a45_0x3db7f9(0x1cb)]=o11yClassErrorHandler(MyReporter,[a45_0x3db7f9(0x17f),a45_0x3db7f9(0x1c7),'onTestBegin',a45_0x3db7f9(0x187),a45_0x3db7f9(0x189),a45_0x3db7f9(0x17a),a45_0x3db7f9(0x130)],a45_0x3db7f9(0xfd));
|
|
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 +1 @@
|
|
|
1
|
-
const a46_0x8432f1=a46_0x38df;(function(_0x1ef900,_0x398fbd){const _0x270228=a46_0x38df,_0x2ab065=_0x1ef900();while(!![]){try{const _0x14a505=parseInt(_0x270228(0x1e4))/0x1+-parseInt(_0x270228(0x1f7))/0x2+-parseInt(_0x270228(0x1f5))/0x3+-parseInt(_0x270228(0x1e2))/0x4*(-parseInt(_0x270228(0x205))/0x5)+-parseInt(_0x270228(0x218))/0x6+parseInt(_0x270228(0x21d))/0x7*(parseInt(_0x270228(0x1e1))/0x8)+parseInt(_0x270228(0x1eb))/0x9*(parseInt(_0x270228(0x211))/0xa);if(_0x14a505===_0x398fbd)break;else _0x2ab065['push'](_0x2ab065['shift']());}catch(_0x52c25a){_0x2ab065['push'](_0x2ab065['shift']());}}}(a46_0x26b9,0x5709f));const fs=require('fs'),path=require(a46_0x8432f1(0x20f)),{v4:uuidv4}=require(a46_0x8432f1(0x1f4)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x8432f1(0x1e5))[a46_0x8432f1(0x22b)],{getLogDir}=require('../../../helpers/logger'),util=require(a46_0x8432f1(0x228)),helper=require(a46_0x8432f1(0x226));class TestDetails{static [a46_0x8432f1(0x1f1)]={};static[a46_0x8432f1(0x219)](){const _0x1afee2=a46_0x8432f1;this[_0x1afee2(0x1ea)]();const _0x2e8ad2={};_0x2e8ad2['recursive']=!![],fs[_0x1afee2(0x1e3)](this[_0x1afee2(0x1d8)](),_0x2e8ad2);const _0x51ecf6={};_0x51ecf6[_0x1afee2(0x231)]=!![],fs[_0x1afee2(0x1e3)](this[_0x1afee2(0x1ec)](),_0x51ecf6);}static[a46_0x8432f1(0x1e9)](){const _0x3e41b8=a46_0x8432f1,_0x182ff8={};_0x182ff8[_0x3e41b8(0x225)]=function(_0x56fb16,_0x3a3e30){return _0x56fb16+_0x3a3e30;},_0x182ff8['iGFHF']=function(_0x4753e0,_0x1000b9){return _0x4753e0+_0x1000b9;};const _0x4d7350=_0x182ff8;return _0x4d7350[_0x3e41b8(0x225)](_0x4d7350[_0x3e41b8(0x214)](TEMP_STORE_DIR_NAME,'-'),process[_0x3e41b8(0x208)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a46_0x8432f1(0x1e6)](){const _0x1c9eb5=a46_0x8432f1,_0x526182={};_0x526182[_0x1c9eb5(0x222)]=function(_0x4beb6b,_0x1ce013){return _0x4beb6b+_0x1ce013;},_0x526182[_0x1c9eb5(0x203)]=function(_0x54c3c4,_0x518867){return _0x54c3c4+_0x518867;},_0x526182[_0x1c9eb5(0x1fd)]=_0x1c9eb5(0x1dc);const _0xaa91a6=_0x526182;return path[_0x1c9eb5(0x221)](_0xaa91a6[_0x1c9eb5(0x222)](_0xaa91a6[_0x1c9eb5(0x203)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x1c9eb5(0x21a)]||_0xaa91a6['pSjrC']));}static['getTraceZipDir'](){const _0xab4b4f=a46_0x8432f1,_0x380097={};_0x380097[_0xab4b4f(0x223)]='traceZipPaths';const _0x2c5d9d=_0x380097;return path['join'](this['getStoreDirPath'](),_0x2c5d9d[_0xab4b4f(0x223)]);}static['getDirPath'](){const _0x5ec76=a46_0x8432f1;return TestDetails[_0x5ec76(0x1e9)]();}static['getFilePath'](_0x38b3f2){const _0x4beaab=a46_0x8432f1,_0x18b06a={};_0x18b06a['DTXwx']=function(_0x4a0b34,_0x1aece8){return _0x4a0b34+_0x1aece8;},_0x18b06a[_0x4beaab(0x204)]=_0x4beaab(0x233);const _0x343329=_0x18b06a;return path['join'](this[_0x4beaab(0x1d8)](),_0x343329['DTXwx'](_0x38b3f2,_0x343329[_0x4beaab(0x204)]));}static[a46_0x8432f1(0x1f6)](_0xeea320){const _0x9f50a8=a46_0x8432f1,_0x1eb759={};_0x1eb759[_0x9f50a8(0x1f0)]=function(_0x6a8584,_0x552c1a){return _0x6a8584+_0x552c1a;},_0x1eb759[_0x9f50a8(0x1fc)]=function(_0x5bb254,_0x2bffec){return _0x5bb254+_0x2bffec;},_0x1eb759['MwhAZ']=function(_0x3a60a4,_0x157ff2){return _0x3a60a4+_0x157ff2;};const _0x503be0=_0x1eb759;return _0x503be0[_0x9f50a8(0x1f0)](_0x503be0[_0x9f50a8(0x1fc)](_0x503be0[_0x9f50a8(0x1df)](_0x503be0[_0x9f50a8(0x1fc)](this[_0x9f50a8(0x1e0)](_0xeea320),'-'),this[_0x9f50a8(0x21b)](_0xeea320)),'-'),_0xeea320['retry']);}static[a46_0x8432f1(0x1e0)](_0x3e677a){const _0x5bdca5=a46_0x8432f1,_0x2af4b1={'rUYZY':function(_0x4251ab,_0x183b85,_0x3967b6){return _0x4251ab(_0x183b85,_0x3967b6);},'CKlxi':'_test','wcRoI':_0x5bdca5(0x1ee),'TuMdU':_0x5bdca5(0x1f2),'sCsGY':_0x5bdca5(0x21e)};return _0x2af4b1[_0x5bdca5(0x20c)](nestedKeyValue,_0x3e677a,[_0x2af4b1[_0x5bdca5(0x22c)],_0x2af4b1['wcRoI']])||_0x2af4b1[_0x5bdca5(0x20c)](nestedKeyValue,_0x3e677a,[_0x2af4b1[_0x5bdca5(0x201)],_0x2af4b1[_0x5bdca5(0x1e8)]]);}static[a46_0x8432f1(0x21b)](_0x59a581){const _0x193057=a46_0x8432f1,_0x508eab={'pYARI':function(_0x371c85,_0x59e209,_0x41dcd8){return _0x371c85(_0x59e209,_0x41dcd8);},'KyxOp':'_test'};return _0x508eab[_0x193057(0x227)](nestedKeyValue,_0x59a581,[_0x508eab['KyxOp'],'id'])||_0x59a581['testId'];}static['getTestUUID'](_0x21a0a1){const _0x3e90a9=a46_0x8432f1,_0x3bfd9c={'McPcv':function(_0x477850,_0x3d4491){return _0x477850===_0x3d4491;},'oLynm':_0x3e90a9(0x217),'mOhDo':function(_0x21f60f){return _0x21f60f();}};if(this[_0x3e90a9(0x1f1)][_0x21a0a1]&&_0x3bfd9c[_0x3e90a9(0x210)](typeof this['tests'][_0x21a0a1][_0x3e90a9(0x1f4)],_0x3bfd9c['oLynm']))return this[_0x3e90a9(0x1f1)][_0x21a0a1]['uuid'];const _0x36e4ab=this['getFilePath'](_0x21a0a1);if(_0x36e4ab&&fs[_0x3e90a9(0x1f3)](_0x36e4ab)){const _0x313a47=JSON[_0x3e90a9(0x20e)](fs['readFileSync'](_0x36e4ab)[_0x3e90a9(0x20a)]());return this['tests'][_0x21a0a1]=_0x313a47,this['tests'][_0x21a0a1][_0x3e90a9(0x1f4)];}return this[_0x3e90a9(0x1f1)][_0x21a0a1]={'uuid':_0x3bfd9c[_0x3e90a9(0x1fe)](uuidv4)},fs['writeFileSync'](_0x36e4ab,JSON[_0x3e90a9(0x22d)](this[_0x3e90a9(0x1f1)][_0x21a0a1])),this['tests'][_0x21a0a1][_0x3e90a9(0x1f4)];}static[a46_0x8432f1(0x209)](_0x3bcf4a){const _0x715ca2=a46_0x8432f1,_0x3e06ba=path['join'](this[_0x715ca2(0x1d8)](),_0x3bcf4a+_0x715ca2(0x1ed));if(_0x3e06ba&&fs[_0x715ca2(0x1f3)](_0x3e06ba))return fs[_0x715ca2(0x1fa)](_0x3e06ba)[_0x715ca2(0x20a)]();}static[a46_0x8432f1(0x1f8)](_0x4edc5a,_0x2382a5){const _0x382391=a46_0x8432f1,_0x5089ed=path['join'](this[_0x382391(0x1d8)](),_0x2382a5+_0x382391(0x1ed));fs[_0x382391(0x21f)](_0x5089ed,_0x4edc5a[_0x382391(0x20a)]());}static[a46_0x8432f1(0x1ea)](){const _0x214120=a46_0x8432f1,_0x1b17ca={};_0x1b17ca[_0x214120(0x231)]=!![],_0x1b17ca[_0x214120(0x232)]=!![],fs['rmSync'](this[_0x214120(0x1d8)](),_0x1b17ca);}static['getTestDetails'](_0x589257){const _0x58f8d8=a46_0x8432f1;if(this['tests'][_0x589257])return this[_0x58f8d8(0x1f1)][_0x589257];const _0xa130c1=this[_0x58f8d8(0x1dd)](_0x589257);if(_0xa130c1&&fs[_0x58f8d8(0x1f3)](_0xa130c1)){const _0x23ea79=JSON[_0x58f8d8(0x20e)](fs['readFileSync'](_0xa130c1)[_0x58f8d8(0x20a)]());return this['tests'][_0x589257]=_0x23ea79,_0x23ea79;}return{};}static[a46_0x8432f1(0x200)](_0x46ac37,_0x4b9e21){const _0x221e9e=a46_0x8432f1,_0x4b5135=this[_0x221e9e(0x1dd)](_0x46ac37);if(_0x4b5135&&fs[_0x221e9e(0x1f3)](_0x4b5135)){const _0x40ad60=JSON['parse'](fs[_0x221e9e(0x1fa)](_0x4b5135)[_0x221e9e(0x20a)]()),_0x37d9bd={..._0x40ad60,..._0x4b9e21};this['tests'][_0x46ac37]=_0x37d9bd;}else this[_0x221e9e(0x1f1)][_0x46ac37]=_0x4b9e21;fs['writeFileSync'](_0x4b5135,this[_0x221e9e(0x1f1)][_0x46ac37]);}static[a46_0x8432f1(0x1db)](_0x5ee340){const _0x1fb382=a46_0x8432f1,_0x246707={};_0x246707[_0x1fb382(0x1fb)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x253551=_0x246707;try{const _0x420ecc=process['pid'],_0x20b1f1=path[_0x1fb382(0x221)](TestDetails['getTraceZipDir'](),_0x420ecc+'_traceZipPaths.json');let _0x151950=[];_0x20b1f1&&fs[_0x1fb382(0x1f3)](_0x20b1f1)&&(_0x151950=JSON[_0x1fb382(0x20e)](fs['readFileSync'](_0x20b1f1)[_0x1fb382(0x20a)]())),!_0x151950[_0x1fb382(0x213)](_0x2c6842=>_0x2c6842['filePath']===_0x5ee340[_0x1fb382(0x22a)])&&(_0x151950['push'](_0x5ee340),fs[_0x1fb382(0x21f)](_0x20b1f1,JSON[_0x1fb382(0x22d)](_0x151950)));}catch(_0x5ef260){logger[_0x1fb382(0x22f)](_0x253551[_0x1fb382(0x1fb)],_0x5ef260);}}static[a46_0x8432f1(0x216)](){const _0x4bfda4=a46_0x8432f1,_0x516e17={};_0x516e17[_0x4bfda4(0x1ff)]=_0x4bfda4(0x207),_0x516e17[_0x4bfda4(0x21c)]=_0x4bfda4(0x1e7);const _0x4780b0=_0x516e17,_0x541598=[];try{const _0x5ba49e=TestDetails[_0x4bfda4(0x1ec)]();if(_0x5ba49e&&!fs['existsSync'](_0x5ba49e))return _0x541598;const _0x57d0a2=fs[_0x4bfda4(0x1de)](_0x5ba49e);_0x57d0a2['forEach'](_0x4e667b=>{const _0x3a8793=_0x4bfda4;if(_0x4e667b&&_0x4e667b[_0x3a8793(0x1d9)](_0x4780b0[_0x3a8793(0x1ff)])){const _0x371fb1=JSON[_0x3a8793(0x20e)](fs['readFileSync'](path[_0x3a8793(0x221)](_0x5ba49e,_0x4e667b))[_0x3a8793(0x20a)]());_0x541598[_0x3a8793(0x22e)](..._0x371fb1);}});}catch(_0x14cd6f){logger[_0x4bfda4(0x22f)](util[_0x4bfda4(0x215)](_0x4780b0[_0x4bfda4(0x21c)],_0x14cd6f));}const _0x3e8140={};return _0x541598[_0x4bfda4(0x206)](_0x45ad1b=>{const _0x35c5e6=_0x4bfda4;_0x3e8140[_0x45ad1b[_0x35c5e6(0x22a)]]=_0x45ad1b;}),Object[_0x4bfda4(0x202)](_0x3e8140);}static[a46_0x8432f1(0x224)](_0x11e748,_0x21a498){const _0x274d3c=a46_0x8432f1,_0x3cb2f0={};_0x3cb2f0[_0x274d3c(0x229)]=_0x274d3c(0x234),_0x3cb2f0[_0x274d3c(0x1da)]=_0x274d3c(0x20d);const _0x1f4a49=_0x3cb2f0;try{const _0x435c2a=path[_0x274d3c(0x221)](helper[_0x274d3c(0x1f9)](),_0x1f4a49[_0x274d3c(0x229)]);if(!fs['existsSync'](_0x435c2a)){const _0x3da01b={};_0x3da01b[_0x274d3c(0x231)]=!![],fs[_0x274d3c(0x1e3)](_0x435c2a,_0x3da01b);}fs[_0x274d3c(0x1ef)](path[_0x274d3c(0x221)](_0x435c2a,_0x274d3c(0x212)+_0x21a498+_0x274d3c(0x20b)),_0x11e748+'\x0a',_0x1f4a49[_0x274d3c(0x1da)]);}catch(_0x2d86ec){console[_0x274d3c(0x22f)](_0x274d3c(0x220)+_0x2d86ec[_0x274d3c(0x230)]);}}}module['exports']=TestDetails;function a46_0x38df(_0x56357e,_0x42b88a){const _0x26b969=a46_0x26b9();return a46_0x38df=function(_0x38df32,_0x100e59){_0x38df32=_0x38df32-0x1d8;let _0x301be3=_0x26b969[_0x38df32];return _0x301be3;},a46_0x38df(_0x56357e,_0x42b88a);}function a46_0x26b9(){const _0x2936b9=['.browserstack','getDirPath','endsWith','SjDUh','addTraceFilePath','default','getFilePath','readdirSync','MwhAZ','getProjectIdFromTestInfo','16sklgav','7420nGgvIP','mkdirSync','338955eSuLXk','../../../helpers/logger','getStoreDirPath','Error\x20reading\x20trace\x20file\x20paths:\x20%s','sCsGY','getStoreDirName','shutdown','10409229dUIaiE','getTraceZipDir','_platformDetails.json','_projectId','appendFileSync','VQvWu','tests','project','existsSync','uuid','1938630elAgtk','getTestRunIdFromTestInfo','806330kkuONV','setAccessibilityPlatformValidation','homedir','readFileSync','ZfnuV','KCtJS','pSjrC','mOhDo','bEZBe','setTestDetails','TuMdU','values','glZwx','NJtRL','1550nmbmjy','forEach','_traceZipPaths.json','env','getAccessibilityPlatformValidation','toString','.txt','rUYZY','utf8','parse','path','McPcv','10GNUrAU','trace_','some','iGFHF','format','getTraceFilePaths','string','4004952mLcRId','setup','BS_TESTOPS_BUILD_HASHED_ID','getTestIdFromTestInfo','CHgRM','9772puUyFo','__projectId','writeFileSync','Error\x20writing\x20trace\x20file:\x20','join','gyIuB','HOrYS','appendToTracePaths','oOMRs','../../../helpers/helper','pYARI','util','jMIxw','filePath','winstonLogger','CKlxi','stringify','push','error','message','recursive','force','.json'];a46_0x26b9=function(){return _0x2936b9;};return a46_0x26b9();}
|
|
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 +1 @@
|
|
|
1
|
-
const a47_0x3e22a0=a47_0x3672;(function(_0x197523,_0x2e53a1){const _0x3c25a8=a47_0x3672,_0x4b4297=_0x197523();while(!![]){try{const _0x2336aa=parseInt(_0x3c25a8(0x216))/0x1+-parseInt(_0x3c25a8(0x1da))/0x2+-parseInt(_0x3c25a8(0x1fe))/0x3*(-parseInt(_0x3c25a8(0x205))/0x4)+parseInt(_0x3c25a8(0x19d))/0x5+parseInt(_0x3c25a8(0x1e1))/0x6+-parseInt(_0x3c25a8(0x1c9))/0x7+-parseInt(_0x3c25a8(0x245))/0x8;if(_0x2336aa===_0x2e53a1)break;else _0x4b4297['push'](_0x4b4297['shift']());}catch(_0x1529c1){_0x4b4297['push'](_0x4b4297['shift']());}}}(a47_0x1b9e,0x7a987));const path=require(a47_0x3e22a0(0x1dc)),url=require('url'),util=require(a47_0x3e22a0(0x1e2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x3e22a0(0x1ee)),{o11yErrorHandler}=require(a47_0x3e22a0(0x1a8)),{debug,getPlatformDetails}=require(a47_0x3e22a0(0x1bb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x3e22a0(0x241)),logger=require('../../helpers/logger')[a47_0x3e22a0(0x196)],scripts=require(a47_0x3e22a0(0x242)),{browserStackExecuteDriver}=require(a47_0x3e22a0(0x1c2)),AccessibilityHelper=require(a47_0x3e22a0(0x21e)),constants=require('../utils/constants'),BrowserstackCLI=require(a47_0x3e22a0(0x1e7)),AutomationFrameworkState=require(a47_0x3e22a0(0x20a)),HookState=require(a47_0x3e22a0(0x1cb)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x3e22a0(0x1b1)),getBrowserNameFromChannel=_0x5c8971=>{const _0x4dba58=a47_0x3e22a0,_0x476ac3={};_0x476ac3[_0x4dba58(0x218)]='chrome',_0x476ac3[_0x4dba58(0x19a)]=_0x4dba58(0x20e),_0x476ac3['xvDQs']=_0x4dba58(0x1f3),_0x476ac3[_0x4dba58(0x233)]=_0x4dba58(0x232);const _0xb61e27=_0x476ac3;if(_0x5c8971[_0x4dba58(0x1f1)](_0xb61e27[_0x4dba58(0x218)]))return _0xb61e27['agtaM'];if(_0x5c8971[_0x4dba58(0x1f1)](_0xb61e27['mbOei']))return _0xb61e27[_0x4dba58(0x19a)];if(_0x5c8971[_0x4dba58(0x1f1)](_0xb61e27[_0x4dba58(0x195)]))return _0xb61e27['xvDQs'];if(_0x5c8971[_0x4dba58(0x1f1)](_0xb61e27[_0x4dba58(0x233)]))return _0xb61e27['QtMqR'];},getBrowserFromWSEndpoint=_0x2fa1fb=>{const _0x5848bb=a47_0x3e22a0,_0x2b51b9={'GSrmh':_0x5848bb(0x23d),'fqGYQ':function(_0x57e7b7,_0x14e0b1){return _0x57e7b7(_0x14e0b1);}};try{const _0x8270fc=url['parse'](_0x2fa1fb),_0x35396c=new URLSearchParams(_0x8270fc[_0x5848bb(0x1bf)]),_0x421440=Object[_0x5848bb(0x247)](_0x35396c['entries']()),_0x5941a2=JSON[_0x5848bb(0x198)](_0x421440[_0x5848bb(0x1e6)]);if(_0x5941a2&&(_0x5941a2[_0x5848bb(0x1d1)]||_0x5941a2[_0x5848bb(0x1b2)]))return _0x5941a2['browser']||_0x5941a2[_0x5848bb(0x1b2)];return _0x2b51b9[_0x5848bb(0x227)];}catch(_0x2bb345){_0x2b51b9['fqGYQ'](debug,_0x5848bb(0x197)+_0x2bb345[_0x5848bb(0x234)]());}},getCloudProviderFromWsEndpoint=_0x4f1621=>{const _0x397e09=a47_0x3e22a0,_0x2afa19={};_0x2afa19[_0x397e09(0x204)]='browserstack',_0x2afa19['CgZAj']='unknown_grid';const _0x4ada63=_0x2afa19;if(_0x4f1621['includes'](constants[_0x397e09(0x1a9)])||_0x4f1621['includes'](constants[_0x397e09(0x1fd)]))return _0x4ada63['WyAoe'];return _0x4ada63[_0x397e09(0x1d8)];},a47_0x72461b={};function a47_0x3672(_0x2ad9a0,_0xf4a04){const _0x1b9e09=a47_0x1b9e();return a47_0x3672=function(_0x3672ea,_0x5a1b3a){_0x3672ea=_0x3672ea-0x191;let _0x3c984b=_0x1b9e09[_0x3672ea];return _0x3c984b;},a47_0x3672(_0x2ad9a0,_0xf4a04);}a47_0x72461b[a47_0x3e22a0(0x1b5)]=undefined,a47_0x72461b[a47_0x3e22a0(0x1c4)]=undefined,a47_0x72461b[a47_0x3e22a0(0x1d1)]=undefined,a47_0x72461b[a47_0x3e22a0(0x1cd)]=undefined,a47_0x72461b[a47_0x3e22a0(0x21c)]=undefined,a47_0x72461b[a47_0x3e22a0(0x1b9)]=undefined,a47_0x72461b[a47_0x3e22a0(0x22c)]=undefined,a47_0x72461b[a47_0x3e22a0(0x1a0)]={};class PlaywrightSessionDetails{static [a47_0x3e22a0(0x1d5)]=a47_0x72461b;constructor(){const _0x3dbbd4=a47_0x3e22a0,_0x2dbe8b={};_0x2dbe8b[_0x3dbbd4(0x1d0)]=_0x3dbbd4(0x1d4);const _0x512181=_0x2dbe8b;throw new Error(_0x512181[_0x3dbbd4(0x1d0)]);}static [a47_0x3e22a0(0x221)]=null;static[a47_0x3e22a0(0x1e5)](_0x27c957,_0x22188a,_0x245ba3=null){const _0x2fef03=a47_0x3e22a0,_0x569dc8={'nPbqX':function(_0x3489c3,_0x174c26){return _0x3489c3===_0x174c26;},'iDGKh':'function','olFmj':_0x2fef03(0x224),'aMOjW':function(_0x5b16d0,_0x41bdc0){return _0x5b16d0===_0x41bdc0;},'AglVn':_0x2fef03(0x1e0),'LfQZR':_0x2fef03(0x191),'WORVZ':function(_0x52591e,_0x491514,_0x57a4c8){return _0x52591e(_0x491514,_0x57a4c8);},'pKNnP':'_browserType','bLoYA':'_defaultConnectOptions','WPiRM':_0x2fef03(0x243),'GCyBs':'use','sapHc':_0x2fef03(0x21b),'FKCAl':function(_0x31d7f1,_0x207043){return _0x31d7f1(_0x207043);},'XQIzB':_0x2fef03(0x1ae),'GNEdn':_0x2fef03(0x23b),'nNiGH':_0x2fef03(0x1de),'IWFiT':function(_0x1404bf,_0x443853){return _0x1404bf(_0x443853);},'qzjwE':function(_0x472b68,_0x2a7e8a){return _0x472b68+_0x2a7e8a;},'yjIDX':_0x2fef03(0x231),'SpaVj':function(_0x50f552){return _0x50f552();},'PUtQy':_0x2fef03(0x1e5)},_0x161fce=this;return _0x569dc8['WORVZ'](o11yErrorHandler,async function _0x50fde8(_0x3e8e03,_0x408379,_0x2af0ab=null){const _0x46ca43=_0x2fef03;let _0xdc2558=_0x3e8e03['_name'],_0x36c738=null;_0x3e8e03&&_0x569dc8[_0x46ca43(0x1db)](typeof _0x3e8e03[_0x46ca43(0x1fc)],_0x569dc8[_0x46ca43(0x1ca)])?_0x36c738=_0x3e8e03[_0x46ca43(0x1fc)]():logger[_0x46ca43(0x23c)](_0x569dc8[_0x46ca43(0x1c1)]);let _0x20e910=null;_0x3e8e03&&_0x569dc8['aMOjW'](typeof _0x3e8e03[_0x46ca43(0x22f)],_0x569dc8[_0x46ca43(0x1ca)])?_0x20e910=_0x3e8e03['model']():logger['debug'](_0x569dc8[_0x46ca43(0x1d6)]);let _0x3f69cd=null,_0x3c0888=null,_0x439273=null,_0x4242d0=_0x569dc8[_0x46ca43(0x1d3)];if(_0x3e8e03[_0x46ca43(0x219)][_0x46ca43(0x1ec)]()||global[_0x46ca43(0x22d)]){let _0x1130bc=null;_0x569dc8[_0x46ca43(0x1aa)](nestedKeyValue,_0x3e8e03,[_0x569dc8[_0x46ca43(0x1be)],_0x569dc8[_0x46ca43(0x1e9)]])?_0x1130bc=_0x3e8e03['_browserType'][_0x46ca43(0x1af)]:_0x1130bc=_0x569dc8[_0x46ca43(0x1aa)](nestedKeyValue,_0x408379,[_0x569dc8['WPiRM'],_0x569dc8[_0x46ca43(0x1a3)],_0x569dc8[_0x46ca43(0x192)]]);const _0x5b3467=_0x2af0ab||_0x1130bc&&_0x1130bc[_0x46ca43(0x194)];_0x5b3467&&(_0x4242d0=_0x569dc8[_0x46ca43(0x1a7)](getCloudProviderFromWsEndpoint,_0x5b3467),_0x569dc8['nPbqX'](_0x4242d0,_0x569dc8[_0x46ca43(0x23a)])&&(_0x439273=constants[_0x46ca43(0x207)]['test'](_0x5b3467)?_0x569dc8[_0x46ca43(0x210)]:_0x569dc8[_0x46ca43(0x1d2)],_0xdc2558=_0x569dc8[_0x46ca43(0x19b)](getBrowserFromWSEndpoint,_0x5b3467)||_0xdc2558,_0x3f69cd=_0x161fce[_0x46ca43(0x1d5)][_0x46ca43(0x21c)],_0x3c0888=_0x161fce[_0x46ca43(0x1d5)][_0x46ca43(0x1b9)]));}else{_0x408379&&_0x408379['project'][_0x46ca43(0x19e)]['channel']?_0xdc2558=_0x569dc8[_0x46ca43(0x19b)](getBrowserNameFromChannel,_0x408379[_0x46ca43(0x243)][_0x46ca43(0x19e)]['channel']):_0xdc2558=_0x569dc8[_0x46ca43(0x20c)](_0x569dc8[_0x46ca43(0x1df)],_0xdc2558[_0x46ca43(0x1c5)]());const _0x24c6f8=await _0x569dc8[_0x46ca43(0x215)](getPlatformDetails);_0x3f69cd=_0x24c6f8[_0x46ca43(0x248)],_0x3c0888=_0x24c6f8['platformVersion'];}const _0x311ff3={};_0x311ff3[_0x46ca43(0x1d1)]=_0xdc2558,_0x311ff3['browser_version']=_0x36c738,_0x311ff3[_0x46ca43(0x1a0)]={},_0x311ff3[_0x46ca43(0x21c)]=_0x3f69cd,_0x311ff3['platform_version']=_0x3c0888,_0x311ff3[_0x46ca43(0x22c)]=_0x439273;const _0x586a9a=_0x311ff3;_0x20e910&&(_0x586a9a['capabilities']['deviceModel']=_0x20e910);const _0xa06bc6={};_0xa06bc6[_0x46ca43(0x1b5)]=_0x4242d0,_0x161fce[_0x46ca43(0x1d5)]=Object[_0x46ca43(0x1b6)]({},_0x161fce[_0x46ca43(0x1d5)],_0xa06bc6,_0x586a9a);},_0x569dc8[_0x2fef03(0x1f6)])(_0x27c957,_0x22188a,_0x245ba3);}static[a47_0x3e22a0(0x1a5)](){const _0x35acc6=a47_0x3e22a0;this[_0x35acc6(0x225)](),this[_0x35acc6(0x244)]();}static['patchConnection'](){const _0x1491db=a47_0x3e22a0,_0x2d9696={'VoDYH':function(_0x534d47,_0x599424,_0x4f7025){return _0x534d47(_0x599424,_0x4f7025);},'fSXBp':_0x1491db(0x235),'eGwHN':_0x1491db(0x1cc),'VjjCo':_0x1491db(0x1ab),'CZqhu':function(_0x1d230d,_0x514d5f,_0x530984){return _0x1d230d(_0x514d5f,_0x530984);},'JhCTf':_0x1491db(0x1c8),'WmJRW':_0x1491db(0x193),'MnmwS':function(_0x4a6df9,_0x1048f9){return _0x4a6df9===_0x1048f9;},'IeZyR':_0x1491db(0x1cf),'eplxZ':function(_0xbf2f9c,_0x14ec3b,_0x370c8f,_0x178c8a){return _0xbf2f9c(_0x14ec3b,_0x370c8f,_0x178c8a);},'zQzwc':function(_0x119bcc,_0x3e712e){return _0x119bcc||_0x3e712e;},'RaDdC':function(_0x137d34,_0x36e9f){return _0x137d34(_0x36e9f);},'VrERq':_0x1491db(0x1ef),'FyrKR':'client','YbtlI':_0x1491db(0x238),'AKMxY':function(_0xe00c11,_0x56bfc5){return _0xe00c11(_0x56bfc5);},'UsRXZ':'Not\x20able\x20to\x20import\x20Connection','fqRDc':function(_0x4a9307,_0x33584d){return _0x4a9307(_0x33584d);},'HFTiW':function(_0x6fd4b9,_0x2cf51e){return _0x6fd4b9!=_0x2cf51e;},'lfHkm':function(_0x2ad13b){return _0x2ad13b();},'inclB':_0x1491db(0x1ea),'KZwsu':function(_0x5d304d,_0xc9cf2d){return _0x5d304d(_0xc9cf2d);},'zttOe':'dispatch'},_0x252f51=this;if(!this[_0x1491db(0x1fa)])try{const _0x5c0e1d=path['join'](_0x2d9696[_0x1491db(0x21a)],_0x2d9696[_0x1491db(0x1a1)],_0x2d9696[_0x1491db(0x211)]),_0x270bdf=_0x2d9696[_0x1491db(0x1d9)](importFileFromPWCore,_0x5c0e1d);!_0x270bdf?_0x2d9696[_0x1491db(0x1fb)](debug,_0x2d9696[_0x1491db(0x239)]):this[_0x1491db(0x1fa)]=_0x270bdf[_0x1491db(0x1fa)];}catch(_0x5998b5){_0x2d9696[_0x1491db(0x1f7)](debug,_0x1491db(0x1c0)+_0x5998b5[_0x1491db(0x234)]());}const _0x225e8e=this[_0x1491db(0x1fa)];try{if(_0x2d9696[_0x1491db(0x1ad)](_0x225e8e,null)){const _0x174228=_0x225e8e['prototype'][_0x1491db(0x217)],_0x84e15d=_0x225e8e['prototype'][_0x1491db(0x1ea)];_0x2d9696[_0x1491db(0x237)](isAccessibilityAutomationSession)&&Object[_0x1491db(0x202)](_0x225e8e[_0x1491db(0x246)],_0x2d9696[_0x1491db(0x1ce)],{'get':function(){return async function(){const _0x4f67b3=a47_0x3672;try{if(!global[_0x4f67b3(0x1a2)]&&global[_0x4f67b3(0x22d)]&&_0x2d9696[_0x4f67b3(0x240)](nestedKeyValue,global['__workerDetails'],[_0x2d9696[_0x4f67b3(0x213)],_0x2d9696[_0x4f67b3(0x1f8)],_0x2d9696[_0x4f67b3(0x1ac)]])&&_0x2d9696[_0x4f67b3(0x1a4)](shouldScanTestForAccessibility,global[_0x4f67b3(0x1c8)]['currentTest'][_0x4f67b3(0x1cc)][_0x4f67b3(0x1ab)],!![])&&scripts[_0x4f67b3(0x1eb)](arguments[0x1])){logger[_0x4f67b3(0x23c)](_0x4f67b3(0x19f)+arguments[0x1]),global[_0x4f67b3(0x1a2)]=!![];const _0x5d3351=_0x2d9696[_0x4f67b3(0x1a4)](nestedKeyValue,global,[_0x2d9696['JhCTf'],_0x2d9696[_0x4f67b3(0x1e3)]]);_0x5d3351&&logger[_0x4f67b3(0x1ff)]('Page\x20Scan\x20result='+util[_0x4f67b3(0x22b)](await _0x2d9696[_0x4f67b3(0x1a4)](performScanWithRetry,_0x5d3351,arguments[0x1]))),_0x2d9696[_0x4f67b3(0x19c)](arguments[0x0][_0x4f67b3(0x1dd)],_0x2d9696['IeZyR'])&&global[_0x4f67b3(0x226)]&&logger['info'](_0x4f67b3(0x1f2)+util[_0x4f67b3(0x22b)](await _0x2d9696[_0x4f67b3(0x23f)](performScanWithRetry,global[_0x4f67b3(0x226)],arguments[0x1],scripts['performScan'])));}}catch(_0x50e373){logger[_0x4f67b3(0x23c)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x4f67b3(0x22b)](_0x50e373));}return global[_0x4f67b3(0x1a2)]=![],_0x84e15d['apply'](this,arguments);};}}),!_0x2d9696[_0x1491db(0x222)](isFalse,process[_0x1491db(0x1c6)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x1491db(0x202)](_0x225e8e[_0x1491db(0x246)],_0x2d9696['zttOe'],{'get':function(){return async function _0x287593(_0x383791){const _0x80be9f=a47_0x3672;if(BrowserstackCLI[_0x80be9f(0x228)]()[_0x80be9f(0x23e)]()){const _0x424c2b={};_0x424c2b[_0x80be9f(0x1ed)]=_0x383791,await BrowserstackCLI['getInstance']()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x80be9f(0x212)],HookState[_0x80be9f(0x1f9)],_0x424c2b);}else{const _0xf53f2e=_0x383791&&_0x383791[_0x80be9f(0x208)]&&_0x383791[_0x80be9f(0x208)]['bsParams'];if(_0xf53f2e){const _0x5a9b6f=_0xf53f2e['sessionId'],_0x706591=_0xf53f2e[_0x80be9f(0x201)];_0x2d9696[_0x80be9f(0x203)](!_0x5a9b6f,!_0x706591)&&await ClientTroubleShootingService[_0x80be9f(0x1f5)](),_0x706591&&(_0x2d9696[_0x80be9f(0x1fb)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x706591['toString']()),_0x252f51['currentSessionDetails']['platform']=_0x706591[_0x80be9f(0x248)],_0x252f51['currentSessionDetails'][_0x80be9f(0x1b9)]=_0x706591[_0x80be9f(0x1bc)]),_0x5a9b6f&&(_0x2d9696[_0x80be9f(0x1fb)](debug,_0x80be9f(0x200)+_0x5a9b6f),_0x252f51[_0x80be9f(0x1d5)]['bsSessionId']=_0x5a9b6f);}}return _0x174228[_0x80be9f(0x223)](this,arguments);};}});}}catch(_0x3665cb){_0x2d9696[_0x1491db(0x1f7)](debug,_0x1491db(0x1c7)+_0x3665cb),_0x252f51[_0x1491db(0x221)]=_0x3665cb['toString']();}}static['patchCRConnection'](){const _0x21f36a=a47_0x3e22a0,_0x11f4cc={'XlAxb':function(_0x3ffecb,_0x55501c){return _0x3ffecb(_0x55501c);},'oTGKm':function(_0x345f29,_0x21d3e1){return _0x345f29(_0x21d3e1);},'Zkhcq':function(_0x303c08){return _0x303c08();},'ytimg':'lib','RmEjK':_0x21f36a(0x20f),'RxxnI':_0x21f36a(0x1b4),'eDIVZ':_0x21f36a(0x1b8),'fbOof':function(_0xc73b55,_0x3da4fc){return _0xc73b55(_0x3da4fc);},'zqNFz':_0x21f36a(0x1b7),'pknRM':function(_0x5efab6,_0x3a4954){return _0x5efab6(_0x3a4954);},'WitWg':_0x21f36a(0x1f4),'CiNYn':function(_0x394a78,_0x1d0a50){return _0x394a78!=_0x1d0a50;},'hftuq':'_onMessage','OClOy':function(_0xc0da1c,_0x22cec3){return _0xc0da1c(_0x22cec3);}},_0x13f8ec=this;if(_0x11f4cc[_0x21f36a(0x230)](isAccessibilityAutomationSession)){let _0x1c18fc=null;try{const _0x710dab=path[_0x21f36a(0x22e)](_0x11f4cc[_0x21f36a(0x1f0)],_0x11f4cc[_0x21f36a(0x199)],_0x11f4cc[_0x21f36a(0x206)],_0x11f4cc[_0x21f36a(0x1d7)]),_0x3246a6=_0x11f4cc[_0x21f36a(0x21d)](importFileFromPWCore,_0x710dab);!_0x3246a6?_0x11f4cc[_0x21f36a(0x229)](debug,_0x11f4cc['zqNFz']):_0x1c18fc=_0x3246a6['CRConnection'];}catch(_0x1a7242){_0x11f4cc[_0x21f36a(0x1e4)](debug,_0x11f4cc[_0x21f36a(0x1c3)]);}try{if(_0x11f4cc[_0x21f36a(0x1a6)](_0x1c18fc,null)){const _0x3c49d7=_0x1c18fc[_0x21f36a(0x246)]['_onMessage'];Object[_0x21f36a(0x202)](_0x1c18fc[_0x21f36a(0x246)],_0x11f4cc['hftuq'],{'get':function(){const _0x146fc9={'VolZn':function(_0x190355,_0x1d6ae0){const _0x391e2d=a47_0x3672;return _0x11f4cc[_0x391e2d(0x21d)](_0x190355,_0x1d6ae0);},'Crnis':function(_0x4afe4c,_0x575396){const _0x44d1e1=a47_0x3672;return _0x11f4cc[_0x44d1e1(0x20b)](_0x4afe4c,_0x575396);},'RSOxJ':function(_0x80bada,_0xeb7768){const _0x4f66dc=a47_0x3672;return _0x11f4cc[_0x4f66dc(0x21d)](_0x80bada,_0xeb7768);}};return async function _0x37cac2(_0x4ea0d7){const _0x445b20=a47_0x3672;try{if(BrowserstackCLI['getInstance']()[_0x445b20(0x23e)]()){const _0x19eb99={};_0x19eb99['message']=_0x4ea0d7,await BrowserstackCLI[_0x445b20(0x228)]()[_0x445b20(0x1b3)]()[_0x445b20(0x214)](AutomationFrameworkState[_0x445b20(0x212)],HookState[_0x445b20(0x1f9)],_0x19eb99),delete _0x4ea0d7[_0x445b20(0x236)];}else{const _0x35e155=_0x4ea0d7['bStackParams'];if(_0x35e155){delete _0x4ea0d7[_0x445b20(0x236)];const _0x3cb636=_0x35e155[_0x445b20(0x22a)],_0x23335a=_0x35e155[_0x445b20(0x201)];_0x23335a&&(_0x146fc9[_0x445b20(0x21f)](debug,_0x445b20(0x1e8)+_0x23335a[_0x445b20(0x234)]()),_0x13f8ec[_0x445b20(0x1d5)]['platform']=_0x23335a[_0x445b20(0x248)],_0x13f8ec[_0x445b20(0x1d5)][_0x445b20(0x1b9)]=_0x23335a[_0x445b20(0x1bc)]),_0x3cb636&&(_0x146fc9['Crnis'](debug,_0x445b20(0x1b0)+_0x3cb636),_0x13f8ec[_0x445b20(0x1d5)][_0x445b20(0x1c4)]=_0x3cb636);}}}catch(_0x44282a){_0x146fc9[_0x445b20(0x220)](debug,_0x445b20(0x209)+_0x44282a[_0x445b20(0x234)]());}return _0x3c49d7['apply'](this,arguments);};}});}}catch(_0x2b1225){_0x11f4cc['OClOy'](debug,_0x21f36a(0x1bd)+_0x2b1225),_0x13f8ec['sessionError']=_0x2b1225[_0x21f36a(0x234)]();}}}static[a47_0x3e22a0(0x20d)](){const _0x1fccf9=a47_0x3e22a0;return this[_0x1fccf9(0x1d5)];}}function a47_0x1b9e(){const _0x1c1bf5=['params','Error\x20in\x20finding\x20platform\x20details\x20','../v2/state/automationFrameworkState.js','oTGKm','qzjwE','getDetails','edge','server','GNEdn','YbtlI','PLAYWRIGHT_DISPATCH','fSXBp','trackEvent','SpaVj','824997xrcJEQ','dispatch','agtaM','_connection','VrERq','connectOptions','platform','XlAxb','./accessibility-helper','VolZn','RSOxJ','sessionError','KZwsu','apply','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','patchConnection','__driver','GSrmh','getInstance','fbOof','sessionId','format','product','accessibilityPlatform','join','model','Zkhcq','playwright-','safari','QtMqR','toString','currentTest','bStackParams','lfHkm','connection.js','UsRXZ','XQIzB','turboscale','debug','chrome','isRunning','eplxZ','VoDYH','../../helpers/accessibility-automation/helper','../../helpers/accessibility-automation/scripts','project','patchCRConnection','5961024uaLigc','prototype','fromEntries','platformName','local_grid','sapHc','pwPage','wsEndpoint','xvDQs','winstonLogger','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','parse','RmEjK','mbOei','IWFiT','MnmwS','1244290HSCYji','use','Performing\x20scan\x20for\x20','capabilities','FyrKR','bstackPerformA11yScan','GCyBs','CZqhu','patch','CiNYn','FKCAl','../../helpers/test-observability/error-handler','BSTACK_URL','WORVZ','titlePath','VjjCo','HFTiW','browserstack','_defaultConnectOptions','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../utils/clientTroubleshootingService.js','browserName','getAutomationFramework','chromium','cloudProvider','assign','Not\x20able\x20to\x20import\x20crConnection','crConnection.js','platform_version','exports','../../helpers/test-observability/utils','platformVersion','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','pKNnP','query','Error\x20in\x20importing\x20connection\x20','olFmj','../../bin/playwright/accessibility-helper','WitWg','bsSessionId','toLowerCase','env','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','__workerDetails','2250479dHXlvs','iDGKh','../v2/state/hookState.js','testInfo','browser_version','inclB','Page','MpIVZ','browser','nNiGH','LfQZR','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','currentSessionDetails','AglVn','eDIVZ','CgZAj','AKMxY','945996WYQzmv','nPbqX','path','_type','automate','yjIDX','Device\x20Model\x20is\x20not\x20available','274170nEKIyR','util','WmJRW','pknRM','setupBrowserDetails','caps','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','bLoYA','sendMessageToServer','shouldWrapCommand','isRemote','message','../../helpers/helper','lib','ytimg','includes','Driver\x20Scan\x20result=','firefox','Error\x20in\x20importing\x20crConnection','reportSessionLinkingIssue','PUtQy','fqRDc','eGwHN','POST','Connection','RaDdC','version','BSTACK_ATS_URL','1383336SsxIRc','info','Setting\x20session\x20id\x20received\x20from\x20BS\x20','platformDetails','defineProperty','zQzwc','WyAoe','8revOSs','RxxnI','ATS_WSS_URL_REGEX'];a47_0x1b9e=function(){return _0x1c1bf5;};return a47_0x1b9e();}module[a47_0x3e22a0(0x1ba)]=PlaywrightSessionDetails;
|
|
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;
|