browserstack-node-sdk 1.49.12 → 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 +2 -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_0x2c1469=a44_0xd21b;(function(_0x5463fe,_0x22d494){const _0xdc14b4=a44_0xd21b,_0x5107a8=_0x5463fe();while(!![]){try{const _0xf91332=parseInt(_0xdc14b4(0xd7))/0x1*(-parseInt(_0xdc14b4(0x128))/0x2)+-parseInt(_0xdc14b4(0xeb))/0x3+parseInt(_0xdc14b4(0x131))/0x4+-parseInt(_0xdc14b4(0xdc))/0x5*(-parseInt(_0xdc14b4(0x14b))/0x6)+-parseInt(_0xdc14b4(0x110))/0x7+parseInt(_0xdc14b4(0x137))/0x8*(parseInt(_0xdc14b4(0x103))/0x9)+parseInt(_0xdc14b4(0xf2))/0xa*(parseInt(_0xdc14b4(0x143))/0xb);if(_0xf91332===_0x22d494)break;else _0x5107a8['push'](_0x5107a8['shift']());}catch(_0x4aaa70){_0x5107a8['push'](_0x5107a8['shift']());}}}(a44_0x3f82,0x91402));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x2c1469(0xe9)),PerformanceTester=require(a44_0x2c1469(0x118)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x2c1469(0x155)),helper=require(a44_0x2c1469(0xb9)),path=require(a44_0x2c1469(0xf1)),logger=require(a44_0x2c1469(0x15a))[a44_0x2c1469(0x11a)],SessionHandler=require(a44_0x2c1469(0xcd)),TestDetails=require(a44_0x2c1469(0xfd)),util=require(a44_0x2c1469(0xe4)),TestInfo=require(a44_0x2c1469(0xfb));function a44_0x3f82(){const _0x20462a=['Trace\x20file\x20size\x20exceeds\x20100MB:\x20','jDjVL','iBTyC','findNestedKey','endsWith','vRYzn','Test\x20timeout\x20of','getFailureData','beforeWorkerHook','tags','onStepBegin','24116QmHeEK','getLoadUtilsPath','NSqGO','toISOString','getTestIdentifier','TYnfU','Error\x20in\x20sending\x20trace\x20file:\x20%s','getInstance','sendTraceZip','4715732KHlGVk','getTime','call','START_TIME','uqJFB','resolve','40vaRSuj','getForkProcessPath','XeIzz','stopAndGenerate','join','ERROR','JVZrD','extname','Percentage\x20of\x20increased\x20time\x20is\x20','Feiye','cXpjC','uploadTraceZip','66JmzCZG','toLowerCase','PKxVF','error','existsSync','playwright/lib/transform/transform.js','LogCreated','TjZdT','833358cNLKFD','1.38.0','SVOGP','1.42.0','playwright','format','getPlaywrightLibPath','includes','AaVil','xUPxO','../../../helpers/test-observability/constants','sendTestLog','onBegin','toString','getTransformPath','../../../helpers/logger','Searching\x20for\x20key:\x20','processPageScreenshot','sTama','afterWorkerHook','validateFilePath','MueXT','thDKn','QvCbW','TEST_ATTACHMENT','RyMWy','endSession','PLAYWRIGHT','KZrju','\x20in\x20arguments','getTestRunIdentifier','afterTestHook','.json','eUUPi','rwpYD','../../../helpers/helper','runner/projectUtils.js','message','EEaGS','fXrNA','testUId','yqPgo','onUCk','env','calculateTimesFromMultipleFiles','VQIRs','prototype','getConfigLoaderPath','xrujV','Jfjrt','EuPlA','map','IRRFI','beforeTestHook','isRunning','../../../helpers/test-observability/sessionHandler','@playwright/test/lib/transform/transform.js','debug','slice','requestSpyCallback','.zip','doo11ySync','Rjgfe','HTEnQ','yPqgS','57Mhvgty','rgPdO','xqKwX','sendEventData','match','30pAiSYd','WYuLD','../../v2/browserstackCLI','SvnRc','performance-reporter.html','readdirSync','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','gPAsS','util','startsWith','PolCx','onTestBegin','UpHxo','../../../helpers/test-observability/utils','test','2728821FnRYJL','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','RcJpF','stack','createReadStream','compareVersions','path','790100KblZRB','setupBrowserDetails','process.js','@playwright/test','ihncr','WLGtF','performance-report-worker-','title','RAvZV','../../v2/TestInfo','\x20bytes','./test-details','addTraceFilePath','KWIHp','find','TEST_LOG','jWrSI','305955BpuRxb','filter','XzLsY','gOxYR','fcEsW','trace','zqiVp','name','lyVpA','_projectId','nUvqy','Arguments','substr','3251269oelFzA','rZZeh','MZjcG','AJkUR','xPrLb','MtUGf','FttqH','getTestTags','../../../helpers/performance/performance-tester','length','winstonLogger','VyCot','lib'];a44_0x3f82=function(){return _0x20462a;};return a44_0x3f82();}let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x525111=a44_0x2c1469,_0x177329={'Rjgfe':function(_0x551793,_0x113df8){return _0x551793(_0x113df8);},'xqKwX':_0x525111(0xde)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x177329[_0x525111(0xd4)](require,_0x177329[_0x525111(0xd9)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x149f53=>{const _0x406b24=a44_0x2c1469;return _0x149f53[_0x406b24(0xdb)](/@(\w+)/g)?.['map'](_0x2cdbd6=>_0x2cdbd6[_0x406b24(0xd0)](0x1))||[];};function a44_0xd21b(_0x41acac,_0x18a9a8){const _0x3f8285=a44_0x3f82();return a44_0xd21b=function(_0xd21b9c,_0x40c78a){_0xd21b9c=_0xd21b9c-0xa8;let _0x442a80=_0x3f8285[_0xd21b9c];return _0x442a80;},a44_0xd21b(_0x41acac,_0x18a9a8);}exports[a44_0x2c1469(0x117)]=_0x1862bd=>{const _0x3817d3=a44_0x2c1469,_0x3292b6={'pmQqN':function(_0x25a5aa,_0x17c9d5){return _0x25a5aa(_0x17c9d5);}};if(_0x1862bd[_0x3817d3(0x126)])return _0x1862bd[_0x3817d3(0x126)][_0x3817d3(0xc9)](_0x528ba5=>_0x528ba5[_0x3817d3(0xe5)]('@')?_0x528ba5[_0x3817d3(0x10f)](0x1):_0x528ba5);return _0x3292b6['pmQqN'](getTagsFromTitle,_0x1862bd[_0x3817d3(0xf9)]);},exports['calculatePerformance']=async()=>{const _0x4a1f41=a44_0x2c1469,_0x39f446={'PolCx':function(_0x1a6062,_0x25a6c1){return _0x1a6062-_0x25a6c1;},'MZjcG':_0x4a1f41(0xe0),'VQIRs':_0x4a1f41(0x157),'SvnRc':_0x4a1f41(0xb0),'PKxVF':_0x4a1f41(0xe7),'XeIzz':'onTestEnd','fsFDJ':_0x4a1f41(0x127),'HTEnQ':'onStepEnd','yqPgo':_0x4a1f41(0x125),'zqiVp':_0x4a1f41(0xa9),'jWrSI':_0x4a1f41(0xcb),'DqrJN':_0x4a1f41(0xb5),'DdJHe':_0x4a1f41(0xd3),'arDhK':_0x4a1f41(0x15c),'ihncr':'sendSessionDetails','yPqgS':_0x4a1f41(0xf3),'bZqRW':_0x4a1f41(0xd1),'nUvqy':_0x4a1f41(0x156),'xPrLb':function(_0xedc40c,_0x4373f5){return _0xedc40c(_0x4373f5);},'AJkUR':function(_0x8339ba,_0x516cd6){return _0x8339ba/_0x516cd6;},'AaVil':function(_0x4b5f80,_0x1c2b7f){return _0x4b5f80+_0x1c2b7f;},'fXrNA':function(_0x3bdf54,_0xd05a17){return _0x3bdf54*_0xd05a17;}};if(!process[_0x4a1f41(0xc1)][_0x4a1f41(0x134)])return;const _0x29d40f=_0x39f446[_0x4a1f41(0xe6)](new Date()[_0x4a1f41(0x132)](),new Date(process[_0x4a1f41(0xc1)][_0x4a1f41(0x134)])[_0x4a1f41(0x132)]()),_0x4df1ee=await PerformanceTester[_0x4a1f41(0x13a)](_0x39f446[_0x4a1f41(0x112)],[_0x39f446[_0x4a1f41(0xc3)],_0x39f446[_0x4a1f41(0xdf)],_0x39f446[_0x4a1f41(0x145)],_0x39f446[_0x4a1f41(0x139)],_0x39f446['fsFDJ'],_0x39f446[_0x4a1f41(0xd5)]]),_0x967428=fs[_0x4a1f41(0xe1)]('.'),_0x54490c=_0x967428[_0x4a1f41(0x104)](_0x2017c0=>_0x2017c0['startsWith'](_0x4a1f41(0xf8))&&_0x2017c0[_0x4a1f41(0x121)](_0x4a1f41(0xb6))),_0x4f7809=await PerformanceTester[_0x4a1f41(0xc2)](_0x54490c,[_0x39f446[_0x4a1f41(0xbf)],_0x39f446[_0x4a1f41(0x109)],_0x39f446[_0x4a1f41(0x102)],_0x39f446['DqrJN'],_0x39f446['DdJHe'],_0x39f446['arDhK'],_0x39f446[_0x4a1f41(0xf6)],_0x39f446[_0x4a1f41(0xd6)],_0x39f446['bZqRW'],_0x39f446[_0x4a1f41(0x10d)]]);_0x39f446[_0x4a1f41(0x114)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x39f446[_0x4a1f41(0x113)](_0x29d40f,0x3e8)+'\x20s'),_0x39f446[_0x4a1f41(0x114)](debug,_0x4a1f41(0xec)+_0x39f446[_0x4a1f41(0x153)](_0x4f7809,_0x4df1ee)),_0x39f446[_0x4a1f41(0x114)](debug,_0x4a1f41(0x13f)+_0x39f446[_0x4a1f41(0xbd)](_0x39f446['AJkUR'](_0x39f446['AaVil'](_0x4f7809,_0x4df1ee),_0x29d40f),0x64));},exports[a44_0x2c1469(0x159)]=()=>{const _0xea97f8=a44_0x2c1469,_0x85ecd0={'rZZeh':function(_0x237dd4,_0x4222b3){return _0x237dd4(_0x4222b3);},'eUUPi':function(_0x215aa3,_0x1df8c0){return _0x215aa3>=_0x1df8c0;},'XzLsY':_0xea97f8(0x14c),'iHlRm':_0xea97f8(0x148),'gOxYR':_0xea97f8(0x14f),'cuyyP':'1.35.0','Feiye':_0xea97f8(0xce),'KWIHp':_0xea97f8(0xf5),'WYuLD':'@playwright/test/lib/common/transform.js'},_0x44bf3a=_0x85ecd0[_0xea97f8(0x111)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x85ecd0[_0xea97f8(0xb7)](helper[_0xea97f8(0xf0)](_0x44bf3a,_0x85ecd0[_0xea97f8(0x105)]),0x0))return[_0x85ecd0['iHlRm'],_0x85ecd0[_0xea97f8(0x106)]];if(_0x85ecd0[_0xea97f8(0xb7)](helper[_0xea97f8(0xf0)](_0x44bf3a,_0x85ecd0['cuyyP']),0x0))return[_0x85ecd0[_0xea97f8(0x140)],_0x85ecd0[_0xea97f8(0xff)]];return[_0x85ecd0[_0xea97f8(0xdd)],_0x85ecd0[_0xea97f8(0xff)]];},exports[a44_0x2c1469(0xc5)]=()=>{const _0x50c166=a44_0x2c1469,_0x118fe={'sTama':function(_0x45640d,_0x1c0bed){return _0x45640d(_0x1c0bed);},'Vgckd':function(_0x5016ab,_0x58859e){return _0x5016ab>=_0x58859e;},'NSqGO':'1.38.0','GBRmr':'playwright/lib/common/configLoader.js','ahvHD':_0x50c166(0x14f),'thDKn':'@playwright/test/lib/common/configLoader.js','IRRFI':_0x50c166(0xf5)},_0x111acb=_0x118fe[_0x50c166(0xa8)](getFrameworkVersion,FRAMEWORKS[_0x50c166(0xb1)]);if(_0x118fe['Vgckd'](helper['compareVersions'](_0x111acb,_0x118fe[_0x50c166(0x12a)]),0x0))return[_0x118fe['GBRmr'],_0x118fe['ahvHD']];return[_0x118fe[_0x50c166(0xac)],_0x118fe[_0x50c166(0xca)]];},exports[a44_0x2c1469(0x129)]=()=>{const _0x1e36b5=a44_0x2c1469,_0x1ea246={};_0x1ea246[_0x1e36b5(0x11e)]='runner/loadUtils.js';const _0x58b799=_0x1ea246;return helper[_0x1e36b5(0x151)](_0x58b799[_0x1e36b5(0x11e)]);},exports['getProjectUtilsPath']=()=>{const _0x4547de=a44_0x2c1469,_0x3416aa={};_0x3416aa[_0x4547de(0xfa)]=_0x4547de(0xba);const _0x425999=_0x3416aa;return helper[_0x4547de(0x151)](_0x425999[_0x4547de(0xfa)]);},exports[a44_0x2c1469(0x138)]=()=>{const _0x5a7db8=a44_0x2c1469,_0x2b8b11={'zngHd':function(_0x34e7e4,_0x31734d){return _0x34e7e4(_0x31734d);},'onUCk':function(_0x4f1315,_0x28fa9c){return _0x4f1315>=_0x28fa9c;},'gPAsS':_0x5a7db8(0x14c),'cXpjC':_0x5a7db8(0x11c),'FttqH':'common','rgPdO':_0x5a7db8(0xf4),'QvCbW':_0x5a7db8(0xea)},_0x4a6724=_0x2b8b11['zngHd'](getFrameworkVersion,FRAMEWORKS[_0x5a7db8(0xb1)]);if(_0x2b8b11[_0x5a7db8(0xc0)](helper[_0x5a7db8(0xf0)](_0x4a6724,_0x2b8b11[_0x5a7db8(0xe3)]),0x0))return path[_0x5a7db8(0x13b)](_0x2b8b11['cXpjC'],_0x2b8b11[_0x5a7db8(0x116)],_0x2b8b11[_0x5a7db8(0xd8)]);return path['join'](_0x2b8b11[_0x5a7db8(0xad)],_0x2b8b11[_0x5a7db8(0x141)],_0x2b8b11[_0x5a7db8(0x116)],_0x2b8b11['rgPdO']);},exports[a44_0x2c1469(0x124)]=(_0x5e6a98,{test_run_uuid:_0x4d439d})=>{const _0x52180a=a44_0x2c1469,_0x24b0da={'fcEsW':_0x52180a(0x13c),'xrujV':_0x52180a(0x101),'CLQGu':function(_0x4e4e55,_0x16727b){return _0x4e4e55<=_0x16727b;},'EEaGS':function(_0x2e6f10,_0x2ea63c){return _0x2e6f10(_0x2ea63c);},'Xkdgk':_0x52180a(0x123),'QtEGU':function(_0x2f2101,_0x3db9f6){return _0x2f2101(_0x3db9f6);},'MueXT':function(_0x287846,_0x27783b){return _0x287846>=_0x27783b;},'vRYzn':_0x52180a(0x14e),'RyMWy':function(_0x22a862,_0x229ccf){return _0x22a862>_0x229ccf;},'tPunN':function(_0x15e6aa,_0x1160cd){return _0x15e6aa(_0x1160cd);},'VyCot':function(_0x418b1d,_0x200c53,_0xb1c8af){return _0x418b1d(_0x200c53,_0xb1c8af);},'SVOGP':_0x52180a(0xea)};if(!_0x5e6a98||_0x24b0da['CLQGu'](_0x5e6a98[_0x52180a(0x119)],0x0))return[];const _0x1dc68c=_0x24b0da[_0x52180a(0xbc)](removeAnsiColors,_0x5e6a98[0x0]['message']);if(_0x1dc68c[_0x52180a(0xe5)](_0x24b0da['Xkdgk'])){const _0x204d28=_0x5e6a98[0x0],_0x5c9ad7=_0x24b0da['QtEGU'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x204d28['stack']||_0x24b0da[_0x52180a(0xab)](_0x5c9ad7,_0x24b0da[_0x52180a(0x122)]))&&_0x24b0da[_0x52180a(0xaf)](_0x5e6a98[_0x52180a(0x119)],0x1))return{'failureData':[{'backtrace':[_0x1dc68c,_0x24b0da['tPunN'](removeAnsiColors,_0x5e6a98[0x1][_0x52180a(0xee)])]}],'logs':_0x5e6a98[_0x52180a(0xd0)](0x2)[_0x52180a(0xc9)](_0x562457=>{const _0x1ac8bc=_0x52180a;return{'timestamp':new Date()[_0x1ac8bc(0x12b)](),'level':_0x24b0da[_0x1ac8bc(0x107)],'message':''+_0x562457[_0x1ac8bc(0xbb)],'kind':_0x24b0da[_0x1ac8bc(0xc6)],'http_response':{},'test_run_uuid':_0x4d439d};})};}return{'failureData':_0x24b0da[_0x52180a(0x11b)](failureData,_0x5e6a98,_0x24b0da[_0x52180a(0x14d)]),'logs':[]};},exports[a44_0x2c1469(0xaa)]=_0x43e500=>{const _0x624e94=a44_0x2c1469,_0x132ce4={};_0x132ce4['KZrju']=function(_0x1bdd6f,_0x3d1139){return _0x1bdd6f!==_0x3d1139;},_0x132ce4[_0x624e94(0xed)]=_0x624e94(0xd2),_0x132ce4['TYnfU']=function(_0x197efa,_0x52d205){return _0x197efa>_0x52d205;};const _0x296a2e=_0x132ce4;if(_0x43e500&&fs[_0x624e94(0x147)](_0x43e500)){if(_0x296a2e[_0x624e94(0xb2)](path[_0x624e94(0x13e)](_0x43e500)[_0x624e94(0x144)](),_0x296a2e['RcJpF']))return logger[_0x624e94(0x146)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x43e500),![];const _0x22b992=fs['statSync'](_0x43e500)['size'];if(_0x296a2e[_0x624e94(0x12d)](_0x22b992,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x624e94(0x11d)+_0x22b992+_0x624e94(0xfc)),![];return!![];}return![];},exports['findNestedKey']=(_0x4a73eb,_0x1d7e79)=>{const _0x25a769=a44_0x2c1469,_0x339682={};_0x339682[_0x25a769(0xc8)]=_0x25a769(0x10e);const _0x5e5fab=_0x339682;logger['debug'](_0x25a769(0x15b)+_0x1d7e79);if(_0x4a73eb&&_0x4a73eb['attachments']){const _0x41f4fc=_0x4a73eb['attachments'][_0x25a769(0x100)](_0xe07d6d=>_0xe07d6d[_0x25a769(0x10a)]===_0x25a769(0x108));if(_0x41f4fc)return logger[_0x25a769(0xcf)]('Found\x20key:\x20'+_0x1d7e79+'\x20in\x20attachments'),_0x41f4fc[_0x1d7e79];}else{if(_0x4a73eb&&Object[_0x25a769(0xc4)][_0x25a769(0x158)][_0x25a769(0x133)](_0x4a73eb)[_0x25a769(0x152)](_0x5e5fab[_0x25a769(0xc8)]))for(const _0x12a338 of _0x4a73eb){if(_0x12a338[_0x1d7e79])return logger[_0x25a769(0xcf)]('Found\x20key:\x20'+_0x1d7e79+_0x25a769(0xb3)),_0x12a338[_0x1d7e79];}};return'';},exports[a44_0x2c1469(0x142)]=async(_0x35ffe2,_0x55a951)=>{const _0x1ebf10=a44_0x2c1469,_0x28b775={};_0x28b775[_0x1ebf10(0x10b)]=_0x1ebf10(0x149),_0x28b775[_0x1ebf10(0xe8)]=_0x1ebf10(0xae),_0x28b775['xUPxO']='sendTraceZip',_0x28b775[_0x1ebf10(0xc7)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0xa0c6e7=_0x28b775;try{const _0x5ec793={'event_type':_0xa0c6e7[_0x1ebf10(0x10b)],'logs':[{'data':_0x35ffe2?fs[_0x1ebf10(0xef)](_0x35ffe2):'','test_run_uuid':_0x55a951,'kind':_0xa0c6e7[_0x1ebf10(0xe8)],'fileName':_0x35ffe2?path['basename'](_0x35ffe2):''}]};return await SessionHandler[_0x1ebf10(0xda)](_0x5ec793,0x0,_0xa0c6e7[_0x1ebf10(0x154)]);}catch(_0x2ba1fb){logger[_0x1ebf10(0x146)](util['format'](_0xa0c6e7[_0x1ebf10(0xc7)],_0x2ba1fb));}},exports[a44_0x2c1469(0x130)]=async(_0x58a9f3,_0x2b7531)=>{const _0x22cf19=a44_0x2c1469,_0x332e64={'MtUGf':_0x22cf19(0xf1),'WLGtF':'Trace\x20enabled','rwpYD':function(_0x2210bd){return _0x2210bd();},'JVZrD':_0x22cf19(0x12e)};try{logger['debug'](_0x22cf19(0xe2)+_0x2b7531);let _0x1d94c=await exports[_0x22cf19(0x120)](_0x58a9f3,_0x332e64[_0x22cf19(0x115)]);if(exports['validateFilePath'](_0x1d94c)){logger[_0x22cf19(0xcf)](_0x332e64[_0x22cf19(0xf7)]),_0x1d94c=path[_0x22cf19(0x136)](_0x1d94c);const _0xa785b2={};_0xa785b2[_0x22cf19(0xbe)]=_0x2b7531,_0xa785b2['filePath']=_0x1d94c;const _0x5368ae=_0xa785b2;_0x332e64[_0x22cf19(0xb8)](getBrowserstackCLI)[_0x22cf19(0x12f)]()[_0x22cf19(0xcc)]()?TestInfo[_0x22cf19(0xfe)](_0x5368ae):TestDetails[_0x22cf19(0xfe)](_0x5368ae);};}catch(_0x8f04b8){logger[_0x22cf19(0x146)](util[_0x22cf19(0x150)](_0x332e64[_0x22cf19(0x13d)],_0x8f04b8));}},exports[a44_0x2c1469(0x12c)]=_0x19aee7=>{const _0x261856=a44_0x2c1469,_0x472846={};_0x472846[_0x261856(0x11f)]=function(_0xec013,_0x57f6a9){return _0xec013+_0x57f6a9;},_0x472846[_0x261856(0x14a)]=function(_0x4c0a23,_0x1891fd){return _0x4c0a23+_0x1891fd;};const _0x2c94d9=_0x472846;return _0x2c94d9[_0x261856(0x11f)](_0x2c94d9['TjZdT'](_0x19aee7[_0x261856(0x10c)],'-'),_0x19aee7['id']);},exports[a44_0x2c1469(0xb4)]=(_0x65d90,_0x5f28ad)=>{const _0x353709=a44_0x2c1469,_0x4812dd={};_0x4812dd[_0x353709(0x135)]=function(_0x222187,_0x1bb062){return _0x222187+_0x1bb062;};const _0x248ae3=_0x4812dd;return _0x248ae3['uqJFB'](_0x248ae3['uqJFB'](_0x65d90['id'],'-'),_0x5f28ad);};
|
|
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
|
-
function a45_0x17ed(_0x27c6b9,_0x2b7d2d){const _0x490d4f=a45_0x490d();return a45_0x17ed=function(_0x17ed0d,_0x426764){_0x17ed0d=_0x17ed0d-0x18c;let _0x34d70e=_0x490d4f[_0x17ed0d];return _0x34d70e;},a45_0x17ed(_0x27c6b9,_0x2b7d2d);}const a45_0x1460a7=a45_0x17ed;(function(_0x2f44b1,_0x162092){const _0x5a39ed=a45_0x17ed,_0x152b1c=_0x2f44b1();while(!![]){try{const _0x58546f=-parseInt(_0x5a39ed(0x1f2))/0x1*(-parseInt(_0x5a39ed(0x1e1))/0x2)+-parseInt(_0x5a39ed(0x1d8))/0x3+-parseInt(_0x5a39ed(0x1a1))/0x4+-parseInt(_0x5a39ed(0x261))/0x5+parseInt(_0x5a39ed(0x272))/0x6*(-parseInt(_0x5a39ed(0x1eb))/0x7)+-parseInt(_0x5a39ed(0x27e))/0x8*(parseInt(_0x5a39ed(0x191))/0x9)+parseInt(_0x5a39ed(0x19a))/0xa;if(_0x58546f===_0x162092)break;else _0x152b1c['push'](_0x152b1c['shift']());}catch(_0x521f53){_0x152b1c['push'](_0x152b1c['shift']());}}}(a45_0x490d,0x1b061));const RequestQueueHandler=require(a45_0x1460a7(0x1bf)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x1460a7(0x29f)),{v4:uuidv4}=require(a45_0x1460a7(0x23c)),path=require(a45_0x1460a7(0x202)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x1460a7(0x295)),{getGitMetaData,setLogLevel}=require(a45_0x1460a7(0x277)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a45_0x1460a7(0x224)),{o11yClassErrorHandler}=require(a45_0x1460a7(0x1c0)),PerformanceTester=require(a45_0x1460a7(0x1d3)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a45_0x1460a7(0x26b)),{appendTesthubParams}=require(a45_0x1460a7(0x20e)),helper=require(a45_0x1460a7(0x277)),BrowserstackCLI=require(a45_0x1460a7(0x254)),TestFrameworkState=require(a45_0x1460a7(0x221)),HookState=require('../../v2/state/hookState'),TestInfo=require(a45_0x1460a7(0x264)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x1460a7(0x1b4));class MyReporter{constructor(_0x141c3a){const _0x166139=a45_0x1460a7,_0x2221f8={'tLbWx':'6|0|3|1|4|5|2|7','kARns':_0x166139(0x1c7),'nRgNH':function(_0x254f66,_0x65941a,_0x20ee42,_0x45401b){return _0x254f66(_0x65941a,_0x20ee42,_0x45401b);}},_0x542718=_0x2221f8[_0x166139(0x222)]['split']('|');let _0x4364a6=0x0;while(!![]){switch(_0x542718[_0x4364a6++]){case'0':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x166139(0x1d0)](_0x2221f8['kARns']),process[_0x166139(0x22c)][_0x166139(0x1f5)]=new Date()[_0x166139(0x1e0)]());continue;case'1':this['_testHooksMap']={};continue;case'2':this[_0x166139(0x1ad)]=null;continue;case'3':this[_0x166139(0x21f)]={};continue;case'4':this[_0x166139(0x282)]=_0x141c3a;continue;case'5':this['_gitConfigured']=![];continue;case'6':const _0x3e2199={};_0x3e2199['logLevel']=process[_0x166139(0x22c)][_0x166139(0x253)],_0x2221f8[_0x166139(0x293)](setLogLevel,_0x3e2199,new Map(),new Map());continue;case'7':this['_trackedEvents']=[];continue;}break;}}async[a45_0x1460a7(0x243)](){const _0x302554=a45_0x1460a7,_0x15873c={};_0x15873c['HhVmD']=_0x302554(0x1d1);const _0x387482=_0x15873c;TestDetails[_0x302554(0x242)](),await this[_0x302554(0x256)](),TestInfo[_0x302554(0x242)](_0x387482[_0x302554(0x1dc)]);if(BrowserstackCLI['getInstance']()[_0x302554(0x248)]()){await BrowserstackCLI[_0x302554(0x201)]()[_0x302554(0x22b)]()['trackEvent'](TestFrameworkState[_0x302554(0x294)],HookState[_0x302554(0x1ff)],{});return;}}async[a45_0x1460a7(0x216)](_0x4b1591,_0x49bbc1){const _0xb211d5=a45_0x1460a7,_0x515be7={'AhDwF':function(_0x32a0c4,_0x1603ef){return _0x32a0c4(_0x1603ef);},'QleZL':function(_0x3105da,_0x1f40d4,_0x50ede6){return _0x3105da(_0x1f40d4,_0x50ede6);},'iFWJk':function(_0x27fab6,_0x25d90d){return _0x27fab6(_0x25d90d);},'SUawY':'TestRunStarted'};if(BrowserstackCLI['getInstance']()[_0xb211d5(0x248)]()){const _0x4395da={};_0x4395da[_0xb211d5(0x280)]=_0x4b1591,_0x4395da[_0xb211d5(0x22f)]=_0x49bbc1,await BrowserstackCLI[_0xb211d5(0x201)]()[_0xb211d5(0x22b)]()[_0xb211d5(0x260)](TestFrameworkState[_0xb211d5(0x214)],HookState[_0xb211d5(0x1ff)],_0x4395da);return;}const _0x28a7d2=_0x515be7[_0xb211d5(0x22d)](getTestIdentifier,_0x4b1591),_0x180fd7=TestDetails[_0xb211d5(0x1de)](_0x515be7[_0xb211d5(0x213)](getTestRunIdentifier,_0x4b1591,_0x49bbc1[_0xb211d5(0x1a3)]));process[_0xb211d5(0x22c)][_0xb211d5(0x210)]=_0x180fd7;const _0x35f396={};_0x35f396['uuid']=_0x180fd7,_0x35f396[_0xb211d5(0x205)]=_0x49bbc1[_0xb211d5(0x219)],this[_0xb211d5(0x21f)][_0x28a7d2]=_0x35f396,_0x515be7['iFWJk'](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x28a7d2),await this[_0xb211d5(0x1d5)](_0x4b1591,_0x515be7[_0xb211d5(0x238)],_0x49bbc1);}async[a45_0x1460a7(0x1a9)](_0x2e1c39,_0x45dfbd,_0x490713){const _0x37d2ce=a45_0x1460a7,_0x1acffa={'edKAG':function(_0x2ca869,_0x1add91,_0x190d38){return _0x2ca869(_0x1add91,_0x190d38);},'PtwXE':function(_0x1ea3cc,_0x2c0dca){return _0x1ea3cc(_0x2c0dca);},'dJCfZ':_0x37d2ce(0x21a)};if(!this[_0x37d2ce(0x276)](_0x490713,_0x2e1c39))return;if(BrowserstackCLI[_0x37d2ce(0x201)]()['isRunning']()){const _0x4267a9=this[_0x37d2ce(0x211)](_0x490713[_0x37d2ce(0x1dd)]),_0x35028e=TestFrameworkState[_0x4267a9],_0x5c22c9={};_0x5c22c9[_0x37d2ce(0x280)]=_0x2e1c39,_0x5c22c9[_0x37d2ce(0x22f)]=_0x45dfbd,_0x5c22c9[_0x37d2ce(0x1ac)]=_0x490713,await BrowserstackCLI[_0x37d2ce(0x201)]()[_0x37d2ce(0x22b)]()[_0x37d2ce(0x260)](_0x35028e,HookState[_0x37d2ce(0x1ff)],_0x5c22c9);return;}const _0x398ce4=this[_0x37d2ce(0x19d)](_0x2e1c39,_0x490713);this[_0x37d2ce(0x21f)][_0x398ce4]={'uuid':TestDetails['getTestUUID'](_0x398ce4),'startedAt':_0x490713['startTime'][_0x37d2ce(0x1e0)]()};const _0x4f8abe=_0x1acffa[_0x37d2ce(0x271)](getTestRunIdentifier,_0x2e1c39,_0x45dfbd[_0x37d2ce(0x1a3)]);!this[_0x37d2ce(0x231)][_0x4f8abe]&&(this[_0x37d2ce(0x231)][_0x4f8abe]=[]),this[_0x37d2ce(0x231)][_0x4f8abe][_0x37d2ce(0x250)](this[_0x37d2ce(0x21f)][_0x398ce4][_0x37d2ce(0x23c)]),_0x1acffa[_0x37d2ce(0x299)](trace,_0x37d2ce(0x292)+_0x398ce4+_0x37d2ce(0x252)+_0x4f8abe),await this[_0x37d2ce(0x192)](_0x2e1c39,_0x490713,_0x1acffa[_0x37d2ce(0x29d)],_0x45dfbd);}async['onStepEnd'](_0x1b3bdc,_0x1f5a64,_0x4ed46a){const _0x3e8158=a45_0x1460a7,_0x312c6f={'TOQZl':function(_0x49b4cf,_0x427c9b){return _0x49b4cf+_0x427c9b;},'NoeDZ':function(_0x409f12,_0x276277){return _0x409f12(_0x276277);},'AzycJ':'HookRunFinished'};if(!this[_0x3e8158(0x276)](_0x4ed46a,_0x1b3bdc))return;if(BrowserstackCLI[_0x3e8158(0x201)]()[_0x3e8158(0x248)]()){const _0xd1c16d=this[_0x3e8158(0x211)](_0x4ed46a[_0x3e8158(0x1dd)]),_0x1850d6=TestFrameworkState[_0xd1c16d],_0x540d89={};_0x540d89[_0x3e8158(0x280)]=_0x1b3bdc,_0x540d89[_0x3e8158(0x22f)]=_0x1f5a64,_0x540d89[_0x3e8158(0x1ac)]=_0x4ed46a,await BrowserstackCLI[_0x3e8158(0x201)]()[_0x3e8158(0x22b)]()[_0x3e8158(0x260)](_0x1850d6,HookState[_0x3e8158(0x1ef)],_0x540d89);return;}const _0x587502=this[_0x3e8158(0x19f)](_0x1b3bdc,_0x4ed46a);this[_0x3e8158(0x21f)][_0x587502]={...this['_tests'][_0x587502]||{},'finishedAt':new Date(_0x312c6f[_0x3e8158(0x25f)](_0x4ed46a['startTime'][_0x3e8158(0x24c)](),_0x4ed46a[_0x3e8158(0x1b5)]))},_0x312c6f['NoeDZ'](trace,_0x3e8158(0x1f3)+_0x587502+_0x3e8158(0x227)),await this[_0x3e8158(0x192)](_0x1b3bdc,_0x4ed46a,_0x312c6f[_0x3e8158(0x1ca)],_0x1f5a64);}async[a45_0x1460a7(0x1b1)](_0x364fbc,_0x2705e0){const _0x11140f=a45_0x1460a7,_0x384ed3={'hXthu':function(_0x45e345,_0x44fdef){return _0x45e345===_0x44fdef;},'RiISV':_0x11140f(0x286),'lHXjf':_0x11140f(0x247),'xnJNJ':_0x11140f(0x251),'IpsZP':function(_0x2e3dd7,_0x5513d6){return _0x2e3dd7(_0x5513d6);},'OaFmH':function(_0x318cf6,_0x359b76,_0x21bf57){return _0x318cf6(_0x359b76,_0x21bf57);},'vleiZ':function(_0x256ee,_0x195104){return _0x256ee(_0x195104);},'wmGUt':_0x11140f(0x25b),'efStg':_0x11140f(0x24b),'PiKaz':function(_0x42d4bd,_0x23c142){return _0x42d4bd(_0x23c142);},'DnFzd':function(_0x21a5fd,_0x5ebed9,_0x396830){return _0x21a5fd(_0x5ebed9,_0x396830);},'CLfrO':function(_0x417479,_0x53cfb9){return _0x417479(_0x53cfb9);},'rDGdf':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','nTheW':function(_0xf58861,_0x1f8531){return _0xf58861>_0x1f8531;}};if(BrowserstackCLI[_0x11140f(0x201)]()[_0x11140f(0x248)]()){const _0x1cde3b={};_0x1cde3b[_0x11140f(0x280)]=_0x364fbc,_0x1cde3b[_0x11140f(0x22f)]=_0x2705e0,this['_trackedEvents']['push'](BrowserstackCLI['getInstance']()[_0x11140f(0x22b)]()['trackEvent'](TestFrameworkState['TEST'],HookState[_0x11140f(0x1ef)],_0x1cde3b));return;}const _0x522e4f=_0x384ed3[_0x11140f(0x1e4)](getTestIdentifier,_0x364fbc),_0xd9aa13=TestDetails[_0x11140f(0x1de)](_0x384ed3[_0x11140f(0x190)](getTestRunIdentifier,_0x364fbc,_0x2705e0['retry']));this[_0x11140f(0x21f)][_0x522e4f]={...this[_0x11140f(0x21f)][_0x522e4f]||{},'finishedAt':new Date()[_0x11140f(0x1e0)]()},_0x384ed3[_0x11140f(0x1fa)](debug,_0x11140f(0x226)+_0x522e4f);try{await this['sendTestRunEvent'](_0x364fbc,_0x384ed3[_0x11140f(0x1f4)],_0x2705e0);}catch(_0x561ef9){_0x384ed3[_0x11140f(0x1fa)](debug,util[_0x11140f(0x230)](_0x384ed3[_0x11140f(0x1c8)],_0x561ef9['toString']()));}try{_0x384ed3[_0x11140f(0x1e2)](debug,_0x11140f(0x1f0)+_0xd9aa13),await _0x384ed3[_0x11140f(0x24d)](sendTraceZip,_0x2705e0,_0xd9aa13);}catch(_0x5450b1){_0x384ed3[_0x11140f(0x204)](debug,util['format'](_0x384ed3[_0x11140f(0x26c)],_0x5450b1[_0x11140f(0x288)]()));}const _0xc1f1b5=[];_0x2705e0[_0x11140f(0x27d)]&&_0x2705e0[_0x11140f(0x27d)][_0x11140f(0x2a4)](_0x2edc66=>{const _0x5ddced=_0x11140f;if(_0x384ed3[_0x5ddced(0x236)](_0x2edc66[_0x5ddced(0x1a2)],_0x384ed3[_0x5ddced(0x2a5)])){if(!_0x2edc66[_0x5ddced(0x202)]||!fs['existsSync'](_0x2edc66['path']))return;_0xc1f1b5[_0x5ddced(0x250)]({'test_run_uuid':_0xd9aa13,'timestamp':fs[_0x5ddced(0x20b)](_0x2edc66[_0x5ddced(0x202)])[_0x5ddced(0x255)],'kind':_0x384ed3['lHXjf'],'message':fs[_0x5ddced(0x2a7)](_0x2edc66[_0x5ddced(0x202)],{'encoding':_0x384ed3[_0x5ddced(0x232)]})});}}),_0x384ed3[_0x11140f(0x1b3)](_0xc1f1b5[_0x11140f(0x25c)],0x0)&&await MyReporter['reportLogs'](_0xc1f1b5);}async[a45_0x1460a7(0x244)](){const _0x5ecb00=a45_0x1460a7;await RequestQueueHandler[_0x5ecb00(0x201)]()['shutdown']();}async[a45_0x1460a7(0x1ce)](_0x32b353){const _0x2419fb=a45_0x1460a7,_0xbdf22f={'NnXMY':function(_0x2fade9){return _0x2fade9();},'ZqVOM':function(_0x23ea94,_0x293477){return _0x23ea94(_0x293477);}};await Promise[_0x2419fb(0x240)](this[_0x2419fb(0x24f)]),await this[_0x2419fb(0x244)]();try{process['env'][_0x2419fb(0x25d)]&&await _0xbdf22f[_0x2419fb(0x18f)](calculatePerformance);}catch(_0x5e6dad){_0xbdf22f[_0x2419fb(0x269)](debug,_0x2419fb(0x1f7)+_0x5e6dad[_0x2419fb(0x288)]());}}static async[a45_0x1460a7(0x1cb)](_0x4d8d06,_0x2102e6){const _0x297a6d=a45_0x1460a7;_0x2102e6[_0x297a6d(0x29b)]=TestDetails['getTestUUID'](_0x4d8d06),await this['reportLogs']([_0x2102e6]);}static async[a45_0x1460a7(0x217)](_0x557e74){const _0x413b4c=a45_0x1460a7,_0x454a5a={};_0x454a5a[_0x413b4c(0x18e)]=_0x413b4c(0x1a5);const _0x2b8ff2=_0x454a5a;if(BrowserstackCLI[_0x413b4c(0x201)]()[_0x413b4c(0x248)]())return;const _0x2f4aea={};_0x2f4aea[_0x413b4c(0x259)]=_0x2b8ff2[_0x413b4c(0x18e)],_0x2f4aea[_0x413b4c(0x21b)]=_0x557e74,await SessionHandler[_0x413b4c(0x289)](_0x2f4aea);}async[a45_0x1460a7(0x192)](_0x5c34c5,_0x511b53,_0x6cbfcf,_0x17740c){const _0x3b6ca9=a45_0x1460a7,_0xe477ef={'fXmPN':'hook','WHXuw':_0x3b6ca9(0x235),'kkZsy':'pending','BOzKk':function(_0x5411bd,_0x3165c2){return _0x5411bd>=_0x3165c2;},'gKjYj':function(_0x31bccf,_0x374fdc){return _0x31bccf===_0x374fdc;},'UswBE':_0x3b6ca9(0x1c2),'vUfMo':function(_0x14f1fe,_0x42ba24){return _0x14f1fe>_0x42ba24;},'lJLdL':'failed','GTxkI':function(_0x1b9287,_0x54d10c){return _0x1b9287(_0x54d10c);},'lqOsP':function(_0x2c06fb,_0x506317,_0x275395){return _0x2c06fb(_0x506317,_0x275395);},'YGVkj':'err','ictLX':function(_0x50a571,_0x1a57ec){return _0x50a571===_0x1a57ec;},'cOkdz':_0x3b6ca9(0x1f6)},_0xa444ee=this[_0x3b6ca9(0x19f)](_0x5c34c5,_0x511b53),_0xd43f59=this[_0x3b6ca9(0x21f)][_0xa444ee],_0x50c48b={'uuid':_0xd43f59[_0x3b6ca9(0x23c)],'type':_0xe477ef[_0x3b6ca9(0x27a)],'hook_type':this['getHookType'](_0x511b53[_0x3b6ca9(0x1dd)]),'name':_0x511b53[_0x3b6ca9(0x1dd)],'scope':this[_0x3b6ca9(0x24a)](_0x511b53),'scopes':this[_0x3b6ca9(0x1a0)](_0x5c34c5),'body':{'lang':_0xe477ef[_0x3b6ca9(0x1d7)],'code':null},'identifier':_0xa444ee,'file_name':path[_0x3b6ca9(0x275)](process[_0x3b6ca9(0x1c1)](),_0x5c34c5['location'][_0x3b6ca9(0x193)]),'location':path['relative'](process['cwd'](),_0x5c34c5[_0x3b6ca9(0x287)][_0x3b6ca9(0x193)]),'result':_0xe477ef[_0x3b6ca9(0x27f)],'duration_in_ms':_0xe477ef['BOzKk'](_0x511b53[_0x3b6ca9(0x1b5)],0x0)?_0x511b53[_0x3b6ca9(0x1b5)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x5c34c5['location'][_0x3b6ca9(0x193)]?path[_0x3b6ca9(0x275)](this[_0x3b6ca9(0x1ad)],_0x5c34c5[_0x3b6ca9(0x287)]['file']):undefined,'started_at':_0xd43f59[_0x3b6ca9(0x205)],'finished_at':_0xd43f59[_0x3b6ca9(0x1da)],'framework':FRAMEWORKS[_0x3b6ca9(0x2a3)]};if(_0xe477ef[_0x3b6ca9(0x1a6)](_0x6cbfcf,_0xe477ef[_0x3b6ca9(0x22e)])){const {steps:_0x564100,logs:_0x112654}=this['getStepsAndLogs'](_0x511b53[_0x3b6ca9(0x209)],_0xd43f59[_0x3b6ca9(0x23c)],_0xe477ef[_0x3b6ca9(0x27a)]);_0x112654&&_0xe477ef['vUfMo'](_0x112654[_0x3b6ca9(0x25c)],0x0)&&await MyReporter['reportLogs'](_0x112654);const _0x39a0ba={};_0x39a0ba[_0x3b6ca9(0x209)]=_0x564100,_0x50c48b[_0x3b6ca9(0x23a)]=_0x39a0ba;if(_0x511b53[_0x3b6ca9(0x1f8)]){_0x50c48b[_0x3b6ca9(0x22f)]=_0xe477ef[_0x3b6ca9(0x23f)],_0x50c48b['failure_reason']=_0xe477ef[_0x3b6ca9(0x26f)](removeAnsiColors,_0x511b53['error'][_0x3b6ca9(0x18c)]),_0x50c48b[_0x3b6ca9(0x220)]=_0xe477ef['GTxkI'](getFailureType,_0x511b53[_0x3b6ca9(0x1f8)][_0x3b6ca9(0x18c)]);const _0x583b01=_0xe477ef['lqOsP'](failureData,_0x511b53[_0x3b6ca9(0x1f8)],_0xe477ef[_0x3b6ca9(0x246)]);if(_0x583b01&&_0xe477ef[_0x3b6ca9(0x273)](_0x583b01[_0x3b6ca9(0x25c)],0x0)){const _0x13ed97={};_0x13ed97['backtrace']=[_0x50c48b[_0x3b6ca9(0x245)]],_0x13ed97[_0x3b6ca9(0x1c4)]=[],_0x583b01['push'](_0x13ed97);}_0x50c48b[_0x3b6ca9(0x218)]=_0x583b01;}else _0x50c48b['result']=_0xe477ef[_0x3b6ca9(0x18d)];}const _0x33d71b={};_0x33d71b['event_type']=_0x6cbfcf,_0x33d71b[_0x3b6ca9(0x1cf)]=_0x50c48b;const _0x1d37e4=_0x33d71b;await SessionHandler['uploadEventData'](_0x1d37e4);}[a45_0x1460a7(0x25e)](_0x98815a,_0x4c8a15,_0x4bedea){const _0x5ab9b2=a45_0x1460a7,_0x67295={'zOjZK':function(_0x37dc19,_0x165b0f){return _0x37dc19===_0x165b0f;},'wknmN':_0x5ab9b2(0x21c),'ItGcf':'After\x20Hooks','PTYbg':_0x5ab9b2(0x20d),'PWidX':function(_0x416add,_0x13bf60){return _0x416add===_0x13bf60;},'WHuCu':function(_0x387adf,_0x237665){return _0x387adf===_0x237665;},'zAlZa':_0x5ab9b2(0x280),'ibtHa':'test_run_uuid','KEEeb':_0x5ab9b2(0x29a),'BENkB':_0x5ab9b2(0x239),'HrHzf':'failed','XUoES':_0x5ab9b2(0x1f6),'KjjBV':function(_0xc786c0,_0x301f3e){return _0xc786c0(_0x301f3e);},'GLyEA':function(_0x25dcd2,_0x4b14d3){return _0x25dcd2(_0x4b14d3);},'hdLCY':function(_0x3204c5){return _0x3204c5();},'bSHez':function(_0x380676,_0x3f8422){return _0x380676(_0x3f8422);},'lKWZw':function(_0x4cc551,_0x143195,_0x41d5ed){return _0x4cc551(_0x143195,_0x41d5ed);}},_0x2cd963=[],_0x36ff6d=[],_0x3531e5=_0x98815a[_0x5ab9b2(0x207)](_0x58a918=>{const _0x503331=_0x5ab9b2;if(_0x67295[_0x503331(0x1df)](_0x58a918[_0x503331(0x1c3)],_0x67295[_0x503331(0x1b0)])&&(_0x67295[_0x503331(0x1df)](_0x58a918[_0x503331(0x1dd)],_0x67295[_0x503331(0x27b)])||_0x67295[_0x503331(0x1df)](_0x58a918['title'],_0x67295[_0x503331(0x1ea)])))return![];return!![];}),_0x5a17be=(_0xb1839f,_0x1342ea=![])=>{const _0x166e9a=_0x5ab9b2;if(_0x67295[_0x166e9a(0x208)](_0xb1839f[_0x166e9a(0x209)][_0x166e9a(0x25c)],0x0)){const _0x24b4ee=_0x67295[_0x166e9a(0x2a8)](_0x4bedea,_0x67295[_0x166e9a(0x268)])?_0x67295[_0x166e9a(0x199)]:_0x67295[_0x166e9a(0x1fd)];_0x36ff6d['push']({'kind':_0x67295[_0x166e9a(0x28e)],[_0x24b4ee]:_0x4c8a15,'message':_0xb1839f[_0x166e9a(0x1dd)],'timestamp':_0xb1839f[_0x166e9a(0x219)][_0x166e9a(0x1e0)](),'level':_0xb1839f['error']?_0x67295[_0x166e9a(0x1c9)]:_0x67295['XUoES'],'duration':_0xb1839f['duration'],'failure':_0xb1839f['error']&&_0xb1839f[_0x166e9a(0x1f8)]['message']&&_0x67295['KjjBV'](removeAnsiColors,_0xb1839f[_0x166e9a(0x1f8)][_0x166e9a(0x18c)]),'failure_type':_0x67295['GLyEA'](getFailureType,_0xb1839f[_0x166e9a(0x1f8)]&&_0xb1839f['error']['message'])});}else{!_0x1342ea&&_0x2cd963['push']({'id':_0x67295[_0x166e9a(0x1fe)](uuidv4),'text':_0xb1839f['title'],'keyword':undefined,'started_at':_0xb1839f[_0x166e9a(0x219)][_0x166e9a(0x1e0)](),'duration':_0xb1839f['duration'],'result':_0xb1839f[_0x166e9a(0x1f8)]?_0x67295[_0x166e9a(0x1c9)]:_0x67295[_0x166e9a(0x1e8)],'failure':_0xb1839f[_0x166e9a(0x1f8)]&&_0xb1839f[_0x166e9a(0x1f8)][_0x166e9a(0x18c)]&&_0x67295[_0x166e9a(0x1db)](removeAnsiColors,_0xb1839f[_0x166e9a(0x1f8)]['message']),'failure_type':_0x67295['bSHez'](getFailureType,_0xb1839f[_0x166e9a(0x1f8)]&&_0xb1839f['error'][_0x166e9a(0x18c)])});for(const _0x313a8d of _0xb1839f[_0x166e9a(0x209)]){_0x67295[_0x166e9a(0x20c)](_0x5a17be,_0x313a8d,!![]);}}};for(const _0x532698 of _0x3531e5){_0x67295[_0x5ab9b2(0x20c)](_0x5a17be,_0x532698,![]);}const _0x544a70={};return _0x544a70[_0x5ab9b2(0x209)]=_0x2cd963,_0x544a70['logs']=_0x36ff6d,_0x544a70;}async[a45_0x1460a7(0x1d5)](_0x3a1a9f,_0x3ef753,_0x31a24f){const _0xa04b88=a45_0x1460a7,_0x37cf60={'NEhRw':function(_0x1db3f8,_0x21914f){return _0x1db3f8(_0x21914f);},'WjpDI':_0xa04b88(0x1e9),'iEMTk':_0xa04b88(0x280),'FzXkk':_0xa04b88(0x235),'UUKtN':_0xa04b88(0x212),'hdrEF':function(_0x4c3c03,_0x3ce2c0){return _0x4c3c03(_0x3ce2c0);},'CNtND':function(_0x2c1a5a,_0x4d3191,_0x543582,_0x2051d9,_0x4c0662){return _0x2c1a5a(_0x4d3191,_0x543582,_0x2051d9,_0x4c0662);},'SsXwH':function(_0x17299b,_0x5ae730){return _0x17299b>_0x5ae730;},'ImKvE':function(_0x530585,_0x2dd982,_0x39ad08){return _0x530585(_0x2dd982,_0x39ad08);},'FwFcD':function(_0x1043f7,_0x3ec74b){return _0x1043f7-_0x3ec74b;},'hYmkc':function(_0x506969,_0x5695d2){return _0x506969===_0x5695d2;},'cPMWZ':_0xa04b88(0x25b),'bHeNg':function(_0x3a536a,_0x53f8f3){return _0x3a536a===_0x53f8f3;},'NRMKe':'skipped','XLXPU':_0xa04b88(0x1f6),'BBPbS':function(_0x321b94,_0x4e933){return _0x321b94===_0x4e933;},'vbnSb':function(_0x4763c7,_0x2d5fd8){return _0x4763c7===_0x2d5fd8;},'kgcgQ':'failed','zixQp':function(_0x3e263a,_0x5c6bc7){return _0x3e263a===_0x5c6bc7;},'uUujq':_0xa04b88(0x22a),'YFxma':'Expected\x20to\x20fail,\x20but\x20passed.','EwBrj':function(_0x5a82a,_0x5dc73,_0x4a28c7){return _0x5a82a(_0x5dc73,_0x4a28c7);},'RDLjt':function(_0x35ed40,_0x45779e){return _0x35ed40(_0x45779e);},'KDSoD':function(_0xcd95c7,_0x36923a){return _0xcd95c7===_0x36923a;},'IZrSw':function(_0x54b501,_0x14c1e0){return _0x54b501>_0x14c1e0;},'iryYJ':function(_0x37eddf,_0x34b5ae,_0x44fd9c){return _0x37eddf(_0x34b5ae,_0x44fd9c);},'xjAxz':_0xa04b88(0x202),'wNpal':function(_0x483145,_0x272d6a){return _0x483145(_0x272d6a);},'dEYkx':_0xa04b88(0x194),'mQlCG':_0xa04b88(0x20a),'QZXYf':function(_0x5c8948,_0x59e0ab){return _0x5c8948!==_0x59e0ab;},'rCoSU':function(_0x45a844,_0x391e36){return _0x45a844===_0x391e36;}},_0x58f374=_0x37cf60[_0xa04b88(0x215)](getTestIdentifier,_0x3a1a9f),_0x23d148=this[_0xa04b88(0x24a)](_0x3a1a9f),_0x17159d=this[_0xa04b88(0x21f)][_0x58f374],_0x523946=path[_0xa04b88(0x275)](process[_0xa04b88(0x1c1)](),_0x3a1a9f[_0xa04b88(0x287)][_0xa04b88(0x193)]);await this[_0xa04b88(0x256)]();const _0x58e9e9={'uuid':_0x17159d[_0xa04b88(0x23c)],'type':_0x37cf60[_0xa04b88(0x279)],'name':_0x3a1a9f[_0xa04b88(0x1dd)],'body':{'lang':_0x37cf60[_0xa04b88(0x225)],'code':_0x3a1a9f['fn'][_0xa04b88(0x288)]()},'scope':_0x23d148,'scopes':this[_0xa04b88(0x1a0)](_0x3a1a9f),'identifier':_0x58f374,'file_name':_0x523946,'location':_0x523946,'result':_0x37cf60[_0xa04b88(0x285)],'duration_in_ms':_0x31a24f&&_0x31a24f[_0xa04b88(0x1b5)]?_0x31a24f[_0xa04b88(0x1b5)]:null,'vc_filepath':this[_0xa04b88(0x1ad)]&&_0x3a1a9f[_0xa04b88(0x287)][_0xa04b88(0x193)]?path['relative'](this[_0xa04b88(0x1ad)],_0x3a1a9f[_0xa04b88(0x287)][_0xa04b88(0x193)]):undefined,'started_at':_0x17159d['startedAt'],'finished_at':_0x17159d['finishedAt'],'framework':FRAMEWORKS[_0xa04b88(0x2a3)],'customRerunParam':{'rerun_name':this[_0xa04b88(0x234)](_0x3a1a9f)},'tags':_0x37cf60[_0xa04b88(0x26d)](getTestTags,_0x3a1a9f)};_0x37cf60[_0xa04b88(0x198)](appendTesthubParams,_0x58e9e9,_0x3ef753,_0x3a1a9f,FRAMEWORKS[_0xa04b88(0x2a3)]);_0x31a24f&&_0x37cf60[_0xa04b88(0x26e)](_0x31a24f[_0xa04b88(0x1a3)],0x0)&&(_0x58e9e9[_0xa04b88(0x1cd)]=TestDetails[_0xa04b88(0x1de)](_0x37cf60['ImKvE'](getTestRunIdentifier,_0x3a1a9f,_0x37cf60[_0xa04b88(0x1f1)](_0x31a24f[_0xa04b88(0x1a3)],0x1))));if(_0x37cf60[_0xa04b88(0x23e)](_0x3ef753,_0x37cf60[_0xa04b88(0x297)])){_0x58e9e9[_0xa04b88(0x22f)]=_0x31a24f[_0xa04b88(0x1ec)];if(_0x37cf60[_0xa04b88(0x290)](_0x31a24f[_0xa04b88(0x1ec)],_0x3a1a9f[_0xa04b88(0x1af)]))_0x58e9e9[_0xa04b88(0x22f)]=_0x37cf60['hYmkc'](_0x31a24f[_0xa04b88(0x1ec)],_0x37cf60[_0xa04b88(0x223)])?_0x37cf60[_0xa04b88(0x223)]:_0x37cf60[_0xa04b88(0x265)];else{(_0x37cf60[_0xa04b88(0x1aa)](_0x58e9e9[_0xa04b88(0x22f)],_0x37cf60[_0xa04b88(0x265)])||_0x37cf60[_0xa04b88(0x19b)](_0x58e9e9[_0xa04b88(0x22f)],_0x37cf60[_0xa04b88(0x274)])||_0x37cf60['zixQp'](_0x58e9e9['result'],_0x37cf60[_0xa04b88(0x2a9)]))&&(_0x58e9e9[_0xa04b88(0x22f)]=_0x37cf60['kgcgQ']);if(_0x37cf60[_0xa04b88(0x1aa)](_0x31a24f['status'],_0x37cf60[_0xa04b88(0x265)])&&_0x37cf60[_0xa04b88(0x2a6)](_0x3a1a9f[_0xa04b88(0x1af)],_0x37cf60[_0xa04b88(0x274)])){const _0x3bd4c5={};_0x3bd4c5[_0xa04b88(0x18c)]=_0x37cf60[_0xa04b88(0x296)],_0x3bd4c5[_0xa04b88(0x1e5)]=_0x37cf60[_0xa04b88(0x296)],_0x31a24f[_0xa04b88(0x1f8)]=_0x3bd4c5,_0x31a24f[_0xa04b88(0x1ed)]=[_0x31a24f[_0xa04b88(0x1f8)]];}}const _0x406701=_0x37cf60['EwBrj'](getTestRunIdentifier,_0x3a1a9f,_0x31a24f[_0xa04b88(0x1a3)]);_0x58e9e9[_0xa04b88(0x262)]=this[_0xa04b88(0x231)][_0x406701];const {steps:_0x4c9e89,logs:_0x589e36}=this[_0xa04b88(0x25e)](_0x31a24f['steps'],_0x17159d['uuid'],_0x37cf60[_0xa04b88(0x279)]);await MyReporter[_0xa04b88(0x217)](_0x589e36);const _0x2cab8a={};_0x2cab8a[_0xa04b88(0x209)]=_0x4c9e89,_0x58e9e9[_0xa04b88(0x23a)]=_0x2cab8a;if(_0x31a24f[_0xa04b88(0x1f8)]){_0x58e9e9[_0xa04b88(0x245)]=_0x37cf60['RDLjt'](removeAnsiColors,_0x31a24f['error'][_0xa04b88(0x18c)]),_0x58e9e9['failure_type']=_0x37cf60[_0xa04b88(0x26d)](getFailureType,_0x31a24f[_0xa04b88(0x1f8)][_0xa04b88(0x18c)]);const _0x3aa6c6={};_0x3aa6c6[_0xa04b88(0x29b)]=_0x17159d[_0xa04b88(0x23c)];const {failureData:_0x1afa5e,logs:_0x55e591}=_0x37cf60[_0xa04b88(0x1bd)](getFailureData,_0x31a24f[_0xa04b88(0x1ed)],_0x3aa6c6);if(_0x1afa5e&&_0x37cf60[_0xa04b88(0x197)](_0x1afa5e[_0xa04b88(0x25c)],0x0)){const _0x5126a1={};_0x5126a1[_0xa04b88(0x1b9)]=[_0x58e9e9['failure_reason']],_0x5126a1[_0xa04b88(0x1c4)]=[],_0x1afa5e[_0xa04b88(0x250)](_0x5126a1);}_0x58e9e9[_0xa04b88(0x218)]=_0x1afa5e,_0x55e591&&_0x37cf60[_0xa04b88(0x267)](_0x55e591['length'],0x0)&&await MyReporter[_0xa04b88(0x217)](_0x55e591);}}let _0x4a54d7=_0x37cf60[_0xa04b88(0x20f)](findNestedKey,_0x31a24f,_0x37cf60[_0xa04b88(0x1d6)]);if(_0x4a54d7&&_0x37cf60['hdrEF'](validateFilePath,_0x4a54d7))_0x37cf60['wNpal'](debug,_0xa04b88(0x1a8)+_0x17159d[_0xa04b88(0x23c)]+_0xa04b88(0x195)+_0x4a54d7);else{const _0x49debb=path[_0xa04b88(0x1cc)](helper[_0xa04b88(0x23d)](),_0x37cf60[_0xa04b88(0x1ba)]);!fs[_0xa04b88(0x1ab)](_0x49debb)&&fs[_0xa04b88(0x1ee)](_0x49debb),fs[_0xa04b88(0x1ab)](path[_0xa04b88(0x1cc)](_0x49debb,_0xa04b88(0x257)+_0x17159d['uuid']+_0xa04b88(0x200)))&&(_0x4a54d7=fs[_0xa04b88(0x2a7)](path[_0xa04b88(0x1cc)](_0x49debb,_0xa04b88(0x257)+_0x17159d[_0xa04b88(0x23c)]+_0xa04b88(0x200)),_0x37cf60[_0xa04b88(0x1a4)]),_0x37cf60[_0xa04b88(0x26d)](debug,_0xa04b88(0x1a8)+_0x17159d[_0xa04b88(0x23c)]+_0xa04b88(0x195)+_0x4a54d7));}const _0x1cbea3={};_0x1cbea3['event_type']=_0x3ef753,_0x1cbea3[_0xa04b88(0x266)]=_0x58e9e9;const _0x28d4dd=_0x1cbea3;_0x4a54d7&&_0x37cf60[_0xa04b88(0x21e)](_0x4a54d7,'')&&_0x37cf60['rCoSU'](_0x3ef753,_0x37cf60['cPMWZ'])&&(!_0x28d4dd[_0xa04b88(0x21b)]&&(_0x28d4dd[_0xa04b88(0x21b)]=[]),_0x4a54d7['split']('\x0a')['forEach'](_0xccc8d=>{const _0x4dc6ef=_0xa04b88;_0xccc8d&&_0x37cf60[_0x4dc6ef(0x215)](validateFilePath,_0xccc8d)&&_0x28d4dd['logs']['push']({'kind':_0x37cf60[_0x4dc6ef(0x1c5)],'timestamp':new Date()[_0x4dc6ef(0x1e0)](),'test_run_uuid':_0x17159d[_0x4dc6ef(0x23c)],'file_name':path[_0x4dc6ef(0x1bb)](_0xccc8d),'file_size':fs[_0x4dc6ef(0x20b)](_0xccc8d)[_0x4dc6ef(0x1b2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0xa04b88(0x289)](_0x28d4dd);}[a45_0x1460a7(0x234)](_0x5cb1fa){const _0x36a5c4=a45_0x1460a7,_0x33401d={};_0x33401d[_0x36a5c4(0x206)]=function(_0x17a063,_0x26457b){return _0x17a063===_0x26457b;},_0x33401d[_0x36a5c4(0x1f9)]=function(_0xf305fa,_0x4752b2){return _0xf305fa>_0x4752b2;},_0x33401d[_0x36a5c4(0x283)]=function(_0x28997e,_0x200e48){return _0x28997e+_0x200e48;},_0x33401d['jWsid']=function(_0x7bc18d,_0x22a6a6){return _0x7bc18d+_0x22a6a6;},_0x33401d[_0x36a5c4(0x258)]=function(_0x393115,_0xfb43d){return _0x393115>_0xfb43d;},_0x33401d[_0x36a5c4(0x1fb)]=function(_0x53aa0c,_0x1b15f3){return _0x53aa0c+_0x1b15f3;};const _0x4e58df=_0x33401d,_0x4d6a12=_0x5cb1fa[_0x36a5c4(0x228)]()['map'](_0x41cc38=>{const _0x52505d=_0x36a5c4;if(_0x5cb1fa['parent']&&_0x4e58df['nCvDF'](_0x41cc38,_0x5cb1fa[_0x52505d(0x1b8)][_0x52505d(0x1dd)])&&_0x5cb1fa[_0x52505d(0x1b8)][_0x52505d(0x1fc)]&&_0x4e58df[_0x52505d(0x1f9)](_0x5cb1fa[_0x52505d(0x1b8)][_0x52505d(0x1fc)][_0x52505d(0x25c)],0x0))return _0x4e58df[_0x52505d(0x283)](_0x4e58df[_0x52505d(0x25a)](_0x41cc38,'\x20'),_0x5cb1fa[_0x52505d(0x1b8)][_0x52505d(0x1fc)][_0x52505d(0x1cc)]('\x20'));if(_0x4e58df[_0x52505d(0x206)](_0x41cc38,_0x5cb1fa[_0x52505d(0x1dd)])&&_0x5cb1fa[_0x52505d(0x1fc)]&&_0x4e58df[_0x52505d(0x258)](_0x5cb1fa[_0x52505d(0x1fc)][_0x52505d(0x25c)],0x0))return _0x4e58df['fNXpN'](_0x4e58df[_0x52505d(0x283)](_0x41cc38,'\x20'),_0x5cb1fa[_0x52505d(0x1fc)][_0x52505d(0x1cc)]('\x20'));return _0x41cc38;})[_0x36a5c4(0x1cc)]('\x20');return _0x4d6a12;}static async[a45_0x1460a7(0x1be)](_0x41af5c,_0x256853){const _0x44e4c4=a45_0x1460a7,_0xd39b7b={'MsVmd':function(_0x45f8f4,_0x30e262){return _0x45f8f4(_0x30e262);},'xLwBX':_0x44e4c4(0x1d4)},_0x3dac54={'uuid':TestDetails['getTestUUID'](_0x41af5c),'integrations':_0x256853},_0x3d4366={};_0x3d4366['depth']=null,_0xd39b7b[_0x44e4c4(0x1b7)](debug,_0x44e4c4(0x249)+_0x41af5c+',\x20'+util['inspect'](_0x256853,_0x3d4366));const _0x1b2cfb={};_0x1b2cfb[_0x44e4c4(0x259)]=_0xd39b7b[_0x44e4c4(0x2a0)],_0x1b2cfb[_0x44e4c4(0x266)]=_0x3dac54,await SessionHandler[_0x44e4c4(0x289)](_0x1b2cfb);}async[a45_0x1460a7(0x256)](){const _0x57e895=a45_0x1460a7,_0x4fea25={'ceMVL':function(_0x11e80f){return _0x11e80f();}};if(this[_0x57e895(0x291)])return;const _0x5af03a=await _0x4fea25[_0x57e895(0x29c)](getGitMetaData);_0x5af03a&&(this['_gitConfigPath']=_0x5af03a[_0x57e895(0x237)]),this[_0x57e895(0x291)]=!![];}['getHierarchy'](_0x4efbcd){const _0x473d07=a45_0x1460a7,_0x804580={};_0x804580[_0x473d07(0x23b)]=function(_0x2dd131,_0x38abbe){return _0x2dd131!==_0x38abbe;};const _0x40df3a=_0x804580,_0x275185=[];if(_0x4efbcd&&_0x4efbcd[_0x473d07(0x1b8)]){let _0x522217=_0x4efbcd[_0x473d07(0x1b8)];while(_0x522217&&_0x40df3a[_0x473d07(0x23b)](_0x522217[_0x473d07(0x1dd)],'')){_0x275185[_0x473d07(0x250)](_0x522217[_0x473d07(0x1dd)]),_0x522217=_0x522217[_0x473d07(0x1b8)];}}return _0x275185[_0x473d07(0x28c)]()[_0x473d07(0x278)](0x0,0x2),_0x275185;}[a45_0x1460a7(0x276)](_0x28298f){const _0x6d5a2a=a45_0x1460a7,_0x298592={};_0x298592['ERNnR']=function(_0x14fbbc,_0x12d7ee){return _0x14fbbc!==_0x12d7ee;},_0x298592['WkWfs']='hook',_0x298592[_0x6d5a2a(0x263)]=function(_0x578bd1,_0x5f08f8){return _0x578bd1===_0x5f08f8;},_0x298592[_0x6d5a2a(0x1e6)]=_0x6d5a2a(0x1e3),_0x298592[_0x6d5a2a(0x298)]=_0x6d5a2a(0x1d9),_0x298592[_0x6d5a2a(0x1a7)]=_0x6d5a2a(0x2aa),_0x298592['hqSHw']=_0x6d5a2a(0x229);const _0x1c417d=_0x298592;if(_0x1c417d[_0x6d5a2a(0x196)](_0x28298f['category'],_0x1c417d[_0x6d5a2a(0x1e7)]))return![];if(_0x1c417d[_0x6d5a2a(0x263)]([_0x1c417d[_0x6d5a2a(0x1e6)],_0x1c417d['DftpZ'],_0x1c417d[_0x6d5a2a(0x1a7)],_0x1c417d[_0x6d5a2a(0x281)]][_0x6d5a2a(0x1c6)](_0x28298f[_0x6d5a2a(0x1dd)]),-0x1))return![];return!![];}[a45_0x1460a7(0x19f)](_0x50d98d,_0x173af9){const _0x7f39a0=a45_0x1460a7,_0x642502={'LfBrh':function(_0x52e219,_0x318600){return _0x52e219(_0x318600);}},_0x24c24f=_0x173af9['_bs_hookIdentifier'];if(_0x24c24f)return _0x24c24f;return _0x173af9[_0x7f39a0(0x1dd)]+_0x7f39a0(0x28f)+_0x642502['LfBrh'](getTestIdentifier,_0x50d98d);}[a45_0x1460a7(0x19d)](_0x4f776e,_0x205ccf){const _0x147467=a45_0x1460a7,_0x4f2dbd={'OmFSt':function(_0x4b8077,_0x3667ee){return _0x4b8077(_0x3667ee);},'kAUnb':function(_0x3c0df2){return _0x3c0df2();}};let _0x580334=_0x205ccf[_0x147467(0x1dd)]+_0x147467(0x28f)+_0x4f2dbd['OmFSt'](getTestIdentifier,_0x4f776e);return this['_tests'][_0x580334]&&(_0x580334=_0x580334+_0x147467(0x26a)+_0x4f2dbd['kAUnb'](uuidv4)),_0x205ccf['_bs_hookIdentifier']=_0x580334,_0x580334;}[a45_0x1460a7(0x211)]=_0x53d37b=>{const _0x438b37=a45_0x1460a7,_0x1dd7ed={};_0x1dd7ed[_0x438b37(0x270)]=_0x438b37(0x1e3),_0x1dd7ed['aXaMQ']=_0x438b37(0x21d),_0x1dd7ed[_0x438b37(0x19c)]='beforeAll\x20hook',_0x1dd7ed[_0x438b37(0x2a1)]=_0x438b37(0x284),_0x1dd7ed['arPOT']=_0x438b37(0x229),_0x1dd7ed[_0x438b37(0x1ae)]=_0x438b37(0x19e),_0x1dd7ed['Irmtq']=_0x438b37(0x2aa),_0x1dd7ed['JWhsX']=_0x438b37(0x241),_0x1dd7ed[_0x438b37(0x1d2)]='unknown';const _0x41afb2=_0x1dd7ed;if(_0x53d37b[_0x438b37(0x28a)](_0x41afb2[_0x438b37(0x270)]))return _0x41afb2[_0x438b37(0x29e)];else{if(_0x53d37b[_0x438b37(0x28a)](_0x41afb2[_0x438b37(0x19c)]))return _0x41afb2['YhtTe'];else{if(_0x53d37b['startsWith'](_0x41afb2[_0x438b37(0x28d)]))return _0x41afb2[_0x438b37(0x1ae)];else{if(_0x53d37b[_0x438b37(0x28a)](_0x41afb2[_0x438b37(0x24e)]))return _0x41afb2[_0x438b37(0x27c)];}}}return _0x41afb2[_0x438b37(0x1d2)];};[a45_0x1460a7(0x24a)]=_0x570e54=>{const _0x2c6e6b=a45_0x1460a7,_0x49fab7={};_0x49fab7['bhKnH']=function(_0x46a837,_0x434458){return _0x46a837===_0x434458;},_0x49fab7[_0x2c6e6b(0x2a2)]=_0x2c6e6b(0x28b);const _0x331951=_0x49fab7;let _0x2f4eb4=_0x570e54[_0x2c6e6b(0x1b8)];return _0x331951[_0x2c6e6b(0x203)](typeof _0x570e54['parent'],_0x331951[_0x2c6e6b(0x2a2)])&&(_0x2f4eb4=_0x2f4eb4[_0x2c6e6b(0x1dd)]),_0x2f4eb4+_0x2c6e6b(0x26a)+_0x570e54['title'];};[a45_0x1460a7(0x1b6)](){return![];}}module[a45_0x1460a7(0x1bc)]=o11yClassErrorHandler(MyReporter,[a45_0x1460a7(0x243),a45_0x1460a7(0x244),a45_0x1460a7(0x216),'onTestEnd',a45_0x1460a7(0x1a9),'onStepEnd','sendSessionDetails'],a45_0x1460a7(0x233));function a45_0x490d(){const _0x31bb76=['232RuLYyN','kkZsy','test','hqSHw','options','qFdzq','BEFORE_ALL','UUKtN','screenshot','location','toString','uploadEventData','startsWith','object','reverse','arPOT','BENkB','\x20for\x20','bHeNg','_gitConfigured','Hook\x20Started\x20with\x20unique\x20id\x20','nRgNH','INIT_TEST','../../../helpers/test-observability/utils','YFxma','cPMWZ','DftpZ','PtwXE','hook_run_uuid','test_run_uuid','ceMVL','dJCfZ','aXaMQ','./pwUtils','xLwBX','YhtTe','avjEk','PLAYWRIGHT','map','RiISV','zixQp','readFileSync','WHuCu','uUujq','afterAll\x20hook','message','cOkdz','opupa','NnXMY','OaFmH','20781isZFNe','sendHookRunEvent','file','.browserstack','\x20at\x20','ERNnR','KDSoD','CNtND','ibtHa','5150570YmLRHw','vbnSb','vyQJg','setStepIdentifier','AFTER_EACH','getStepIdentifier','getHierarchy','198148ZgULJF','name','retry','mQlCG','LogCreated','gKjYj','VEcVo','Trace\x20file\x20found\x20for\x20test:\x20','onStepBegin','BBPbS','existsSync','step','_gitConfigPath','MkcpX','expectedStatus','wknmN','onTestEnd','size','nTheW','../../../../src/bin/utils/constants','duration','printsToStdio','MsVmd','parent','backtrace','dEYkx','basename','exports','EwBrj','sendSessionDetails','../../../helpers/test-observability/requestQueueHandler','../../../helpers/test-observability/error-handler','cwd','HookRunFinished','category','expanded','WjpDI','indexOf','performance-report-reporter.json','efStg','HrHzf','AzycJ','addTestUIDAndReportLog','join','retry_of','onEnd','hook_run','startMonitoring','Playwright','BZNxw','../../../helpers/performance/performance-tester','CBTSessionCreated','sendTestRunEvent','xjAxz','WHXuw','120555iNiZHo','beforeAll\x20hook','finishedAt','KjjBV','HhVmD','title','getTestUUID','zOjZK','toISOString','4HXQvij','PiKaz','beforeEach\x20hook','IpsZP','stack','lKMeV','WkWfs','XUoES','TEST_ATTACHMENT','PTYbg','32473iKCuTx','status','errors','mkdirSync','POST','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','FwFcD','53971jsUjZK','Hook\x20Finished\x20with\x20unique\x20id\x20','wmGUt','START_TIME','passed','Error\x20in\x20calculating\x20performance:\x20','error','CVzRl','vleiZ','fNXpN','_tags','KEEeb','hdLCY','PRE','.txt','getInstance','path','bhKnH','CLfrO','startedAt','nCvDF','filter','PWidX','steps','utf8','statSync','lKWZw','Before\x20Hooks','../../../helpers/testhub/utils','iryYJ','BROWSERSTACK_TEST_RUN_ID','getHookType','pending','QleZL','TEST','NEhRw','onTestBegin','reportLogs','failure','startTime','HookRunStarted','logs','hook','BEFORE_EACH','QZXYf','_tests','failure_type','../../v2/state/testFrameworkState','tLbWx','NRMKe','util','FzXkk','Test\x20Finished\x20with\x20unique\x20id\x20','\x20is\x20triggered','titlePath','afterEach\x20hook','timedOut','getTestFramework','env','AhDwF','UswBE','result','format','_testHooksMap','xnJNJ','MyReporter','getCustomRerunParam','javascript','hXthu','root','SUawY','TEST_STEP','meta','BHAnK','uuid','homedir','hYmkc','lJLdL','all','AFTER_ALL','setup','onBegin','endSession','failure_reason','YGVkj','TEST_SCREENSHOT','isRunning','Sending\x20session\x20details\x20for\x20','getScope','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','getTime','DnFzd','Irmtq','_trackedEvents','push','base64','\x20is\x20triggered\x20for\x20test\x20','BROWSERSTACK_LOG_LEVEL','../../v2/browserstackCLI','mtime','configureGit','trace_','pxdRr','event_type','jWsid','TestRunFinished','length','BROWSERSTACK_O11Y_PERF_MEASUREMENT','getStepsAndLogs','TOQZl','trackEvent','1105480twtjko','hooks','qzJeN','../../v2/TestInfo','XLXPU','test_run','IZrSw','zAlZa','ZqVOM','\x20-\x20','../../../helpers/test-observability/sessionHandler','rDGdf','hdrEF','SsXwH','GTxkI','nndGZ','edKAG','174LNtMAn','ictLX','kgcgQ','relative','needToReportStep','../../../helpers/helper','splice','iEMTk','fXmPN','ItGcf','JWhsX','attachments'];a45_0x490d=function(){return _0x31bb76;};return a45_0x490d();}
|
|
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
|
-
function a46_0x5c2e(){const _0x55a978=['getAccessibilityPlatformValidation','IGdET','getTestRunIdFromTestInfo','Error\x20handling\x20trace\x20file\x20paths:\x20','gqPeg','anPWq','getTraceFilePaths','parse','appendToTracePaths','env','readFileSync','testId','bvAPz','_projectId','_platformDetails.json','_test','endsWith','getTraceZipDir','message','join','1196401CAkrFy','7926384wyFUkw','path','recursive','writeFileSync','filePath','BS_TESTOPS_BUILD_HASHED_ID','aniIk','kIqaN','ryPgy','shutdown','tYdqg','.json','setTestDetails','getStoreDirPath','traceZipPaths','Gslno','RAPIe','UghXq','push','2602821jjlJaC','project','.browserstack','mkdirSync','MlxGi','wGLWB','getFilePath','getTestDetails','setAccessibilityPlatformValidation','__projectId','../../../helpers/logger','default','values','util','4709736fIEvOn','format','retry','getProjectIdFromTestInfo','bWGVJ','OhKlp','addTraceFilePath','6930340yuPEbd','uuid','XPuVQ','stringify','Ggahw','_traceZipPaths.json','Kspqq','string','utf8','toString','KmkXs','3658724MFUOJL','getStoreDirName','fQHXB','../../../helpers/helper','XHEXY','getTestUUID','lpwjM','Error\x20reading\x20trace\x20file\x20paths:\x20%s','rcOuR','../../../helpers/test-observability/constants','forEach','pid','.txt','Error\x20writing\x20trace\x20file:\x20','existsSync','getDirPath','force','readdirSync','VGmSh','appendFileSync','tests','some','21880285RVoddb','QQrEb','getTestIdFromTestInfo'];a46_0x5c2e=function(){return _0x55a978;};return a46_0x5c2e();}const a46_0xfe6ce1=a46_0x1e7a;(function(_0x2ebbec,_0x119ca0){const _0x480b97=a46_0x1e7a,_0x24551f=_0x2ebbec();while(!![]){try{const _0x51c129=parseInt(_0x480b97(0x14c))/0x1+-parseInt(_0x480b97(0x11f))/0x2+parseInt(_0x480b97(0x160))/0x3+parseInt(_0x480b97(0x16e))/0x4+parseInt(_0x480b97(0x175))/0x5+parseInt(_0x480b97(0x14d))/0x6+-parseInt(_0x480b97(0x135))/0x7;if(_0x51c129===_0x119ca0)break;else _0x24551f['push'](_0x24551f['shift']());}catch(_0x104c9a){_0x24551f['push'](_0x24551f['shift']());}}}(a46_0x5c2e,0xf28b1));function a46_0x1e7a(_0x2db885,_0x4f9e27){const _0x5c2e77=a46_0x5c2e();return a46_0x1e7a=function(_0x1e7adf,_0x1e0697){_0x1e7adf=_0x1e7adf-0x11e;let _0x3ba9eb=_0x5c2e77[_0x1e7adf];return _0x3ba9eb;},a46_0x1e7a(_0x2db885,_0x4f9e27);}const fs=require('fs'),path=require(a46_0xfe6ce1(0x14e)),{v4:uuidv4}=require(a46_0xfe6ce1(0x176)),{TEMP_STORE_DIR_NAME}=require(a46_0xfe6ce1(0x128)),{nestedKeyValue}=require(a46_0xfe6ce1(0x122)),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a46_0xfe6ce1(0x16a)),util=require(a46_0xfe6ce1(0x16d)),helper=require('../../../helpers/helper');class TestDetails{static [a46_0xfe6ce1(0x133)]={};static['setup'](){const _0x23b3a2=a46_0xfe6ce1;this[_0x23b3a2(0x156)]();const _0x303dd3={};_0x303dd3['recursive']=!![],fs[_0x23b3a2(0x163)](this[_0x23b3a2(0x12e)](),_0x303dd3);const _0x4b8c6c={};_0x4b8c6c['recursive']=!![],fs[_0x23b3a2(0x163)](this[_0x23b3a2(0x149)](),_0x4b8c6c);}static[a46_0xfe6ce1(0x120)](){const _0x1f3854=a46_0xfe6ce1,_0x4f76fb={};_0x4f76fb['IGdET']=function(_0x38aaaa,_0x51670e){return _0x38aaaa+_0x51670e;},_0x4f76fb[_0x1f3854(0x17b)]=function(_0x1afa80,_0x3ac96c){return _0x1afa80+_0x3ac96c;};const _0x343ee7=_0x4f76fb;return _0x343ee7[_0x1f3854(0x139)](_0x343ee7[_0x1f3854(0x17b)](TEMP_STORE_DIR_NAME,'-'),process[_0x1f3854(0x141)][_0x1f3854(0x152)]);}static[a46_0xfe6ce1(0x15a)](){const _0x4acdbd=a46_0xfe6ce1,_0x27fe86={};_0x27fe86[_0x4acdbd(0x11e)]=function(_0x20b165,_0x11eb6e){return _0x20b165+_0x11eb6e;},_0x27fe86[_0x4acdbd(0x15c)]=function(_0x44fd3f,_0x4a3c8c){return _0x44fd3f+_0x4a3c8c;},_0x27fe86[_0x4acdbd(0x155)]=_0x4acdbd(0x16b);const _0x323f80=_0x27fe86;return path['join'](_0x323f80[_0x4acdbd(0x11e)](_0x323f80[_0x4acdbd(0x15c)](TEMP_STORE_DIR_NAME,'-'),process[_0x4acdbd(0x141)][_0x4acdbd(0x152)]||_0x323f80['ryPgy']));}static['getTraceZipDir'](){const _0x43e714=a46_0xfe6ce1,_0x133618={};_0x133618['aniIk']=_0x43e714(0x15b);const _0x6b212d=_0x133618;return path[_0x43e714(0x14b)](this[_0x43e714(0x15a)](),_0x6b212d[_0x43e714(0x153)]);}static['getDirPath'](){const _0x4999e6=a46_0xfe6ce1;return TestDetails[_0x4999e6(0x120)]();}static[a46_0xfe6ce1(0x166)](_0x5bebad){const _0x593583=a46_0xfe6ce1,_0x21d934={};_0x21d934[_0x593583(0x13c)]=function(_0x22559b,_0x445a77){return _0x22559b+_0x445a77;},_0x21d934['QQrEb']=_0x593583(0x158);const _0x46cd15=_0x21d934;return path[_0x593583(0x14b)](this['getDirPath'](),_0x46cd15[_0x593583(0x13c)](_0x5bebad,_0x46cd15[_0x593583(0x136)]));}static[a46_0xfe6ce1(0x13a)](_0x56da6d){const _0x5832ee=a46_0xfe6ce1,_0x4c7cd1={};_0x4c7cd1[_0x5832ee(0x123)]=function(_0x5f58c7,_0xf670e5){return _0x5f58c7+_0xf670e5;},_0x4c7cd1[_0x5832ee(0x125)]=function(_0x829503,_0x121baf){return _0x829503+_0x121baf;};const _0x50dc63=_0x4c7cd1;return _0x50dc63[_0x5832ee(0x123)](_0x50dc63['XHEXY'](_0x50dc63[_0x5832ee(0x125)](_0x50dc63[_0x5832ee(0x125)](this[_0x5832ee(0x171)](_0x56da6d),'-'),this[_0x5832ee(0x137)](_0x56da6d)),'-'),_0x56da6d[_0x5832ee(0x170)]);}static[a46_0xfe6ce1(0x171)](_0xd191a9){const _0x1e8280=a46_0xfe6ce1,_0x52ae63={'OhKlp':function(_0x5bd53c,_0x246a93,_0x4e71ac){return _0x5bd53c(_0x246a93,_0x4e71ac);},'fQHXB':'_test','kIqaN':_0x1e8280(0x145),'VGmSh':_0x1e8280(0x161),'bWGVJ':_0x1e8280(0x169)};return _0x52ae63[_0x1e8280(0x173)](nestedKeyValue,_0xd191a9,[_0x52ae63[_0x1e8280(0x121)],_0x52ae63[_0x1e8280(0x154)]])||_0x52ae63[_0x1e8280(0x173)](nestedKeyValue,_0xd191a9,[_0x52ae63[_0x1e8280(0x131)],_0x52ae63[_0x1e8280(0x172)]]);}static[a46_0xfe6ce1(0x137)](_0x3553d4){const _0x4f7cfe=a46_0xfe6ce1,_0x14da23={'wGLWB':function(_0x5e43f8,_0x5acd41,_0x5155d0){return _0x5e43f8(_0x5acd41,_0x5155d0);},'UghXq':_0x4f7cfe(0x147)};return _0x14da23[_0x4f7cfe(0x165)](nestedKeyValue,_0x3553d4,[_0x14da23[_0x4f7cfe(0x15e)],'id'])||_0x3553d4[_0x4f7cfe(0x143)];}static[a46_0xfe6ce1(0x124)](_0x3452b8){const _0xa834cc=a46_0xfe6ce1,_0x29505e={'XPuVQ':function(_0x440533,_0x3b47a2){return _0x440533===_0x3b47a2;},'MlxGi':_0xa834cc(0x17c),'bvAPz':function(_0x59040f){return _0x59040f();}};if(this[_0xa834cc(0x133)][_0x3452b8]&&_0x29505e[_0xa834cc(0x177)](typeof this[_0xa834cc(0x133)][_0x3452b8][_0xa834cc(0x176)],_0x29505e[_0xa834cc(0x164)]))return this[_0xa834cc(0x133)][_0x3452b8][_0xa834cc(0x176)];const _0x5de815=this[_0xa834cc(0x166)](_0x3452b8);if(_0x5de815&&fs[_0xa834cc(0x12d)](_0x5de815)){const _0x1ae6a6=JSON['parse'](fs[_0xa834cc(0x142)](_0x5de815)['toString']());return this[_0xa834cc(0x133)][_0x3452b8]=_0x1ae6a6,this[_0xa834cc(0x133)][_0x3452b8][_0xa834cc(0x176)];}return this[_0xa834cc(0x133)][_0x3452b8]={'uuid':_0x29505e[_0xa834cc(0x144)](uuidv4)},fs[_0xa834cc(0x150)](_0x5de815,JSON[_0xa834cc(0x178)](this[_0xa834cc(0x133)][_0x3452b8])),this[_0xa834cc(0x133)][_0x3452b8]['uuid'];}static[a46_0xfe6ce1(0x138)](_0x4bb0a6){const _0xf3a2f6=a46_0xfe6ce1,_0x275b40=path['join'](this[_0xf3a2f6(0x12e)](),_0x4bb0a6+_0xf3a2f6(0x146));if(_0x275b40&&fs['existsSync'](_0x275b40))return fs[_0xf3a2f6(0x142)](_0x275b40)[_0xf3a2f6(0x17e)]();}static[a46_0xfe6ce1(0x168)](_0x59816a,_0x2ad6a9){const _0x46c0da=a46_0xfe6ce1,_0x55f1d9=path['join'](this[_0x46c0da(0x12e)](),_0x2ad6a9+_0x46c0da(0x146));fs[_0x46c0da(0x150)](_0x55f1d9,_0x59816a[_0x46c0da(0x17e)]());}static[a46_0xfe6ce1(0x156)](){const _0x287cd9=a46_0xfe6ce1,_0x442fac={};_0x442fac[_0x287cd9(0x14f)]=!![],_0x442fac[_0x287cd9(0x12f)]=!![],fs['rmSync'](this[_0x287cd9(0x12e)](),_0x442fac);}static[a46_0xfe6ce1(0x167)](_0x545e70){const _0xbf4351=a46_0xfe6ce1;if(this[_0xbf4351(0x133)][_0x545e70])return this[_0xbf4351(0x133)][_0x545e70];const _0x5065a5=this[_0xbf4351(0x166)](_0x545e70);if(_0x5065a5&&fs['existsSync'](_0x5065a5)){const _0x39f2a3=JSON[_0xbf4351(0x13f)](fs[_0xbf4351(0x142)](_0x5065a5)[_0xbf4351(0x17e)]());return this['tests'][_0x545e70]=_0x39f2a3,_0x39f2a3;}return{};}static[a46_0xfe6ce1(0x159)](_0x3764e9,_0xcc1242){const _0x3eb03b=a46_0xfe6ce1,_0x3be4c1=this[_0x3eb03b(0x166)](_0x3764e9);if(_0x3be4c1&&fs[_0x3eb03b(0x12d)](_0x3be4c1)){const _0x350ae5=JSON['parse'](fs[_0x3eb03b(0x142)](_0x3be4c1)[_0x3eb03b(0x17e)]()),_0x1e288c={..._0x350ae5,..._0xcc1242};this[_0x3eb03b(0x133)][_0x3764e9]=_0x1e288c;}else this['tests'][_0x3764e9]=_0xcc1242;fs[_0x3eb03b(0x150)](_0x3be4c1,this[_0x3eb03b(0x133)][_0x3764e9]);}static[a46_0xfe6ce1(0x174)](_0x5263f6){const _0x438402=a46_0xfe6ce1,_0x57a800={};_0x57a800[_0x438402(0x15d)]=_0x438402(0x13b);const _0x358ddd=_0x57a800;try{const _0x41d505=process[_0x438402(0x12a)],_0xabb081=path[_0x438402(0x14b)](TestDetails[_0x438402(0x149)](),_0x41d505+_0x438402(0x17a));let _0x4ba63b=[];_0xabb081&&fs['existsSync'](_0xabb081)&&(_0x4ba63b=JSON[_0x438402(0x13f)](fs['readFileSync'](_0xabb081)['toString']())),!_0x4ba63b[_0x438402(0x134)](_0x5a6c76=>_0x5a6c76[_0x438402(0x151)]===_0x5263f6[_0x438402(0x151)])&&(_0x4ba63b[_0x438402(0x15f)](_0x5263f6),fs[_0x438402(0x150)](_0xabb081,JSON[_0x438402(0x178)](_0x4ba63b)));}catch(_0x112ce1){logger['error'](_0x358ddd[_0x438402(0x15d)],_0x112ce1);}}static[a46_0xfe6ce1(0x13e)](){const _0x161d7f=a46_0xfe6ce1,_0x58117e={};_0x58117e[_0x161d7f(0x179)]=_0x161d7f(0x17a),_0x58117e['anPWq']=_0x161d7f(0x126);const _0x352c63=_0x58117e,_0x81a2c8=[];try{const _0x5cfd3f=TestDetails[_0x161d7f(0x149)]();if(_0x5cfd3f&&!fs[_0x161d7f(0x12d)](_0x5cfd3f))return _0x81a2c8;const _0x3bebe7=fs[_0x161d7f(0x130)](_0x5cfd3f);_0x3bebe7['forEach'](_0x297d03=>{const _0x12a4c6=_0x161d7f;if(_0x297d03&&_0x297d03[_0x12a4c6(0x148)](_0x352c63[_0x12a4c6(0x179)])){const _0x3c6dec=JSON[_0x12a4c6(0x13f)](fs[_0x12a4c6(0x142)](path[_0x12a4c6(0x14b)](_0x5cfd3f,_0x297d03))[_0x12a4c6(0x17e)]());_0x81a2c8[_0x12a4c6(0x15f)](..._0x3c6dec);}});}catch(_0x4d1790){logger['error'](util[_0x161d7f(0x16f)](_0x352c63[_0x161d7f(0x13d)],_0x4d1790));}const _0x516761={};return _0x81a2c8[_0x161d7f(0x129)](_0x3a00d9=>{const _0x994cb5=_0x161d7f;_0x516761[_0x3a00d9[_0x994cb5(0x151)]]=_0x3a00d9;}),Object[_0x161d7f(0x16c)](_0x516761);}static[a46_0xfe6ce1(0x140)](_0x37fbb7,_0x166918){const _0x2aa404=a46_0xfe6ce1,_0x98fc3e={};_0x98fc3e[_0x2aa404(0x127)]=_0x2aa404(0x162),_0x98fc3e[_0x2aa404(0x157)]=_0x2aa404(0x17d);const _0x4fa2d6=_0x98fc3e;try{const _0x574263=path[_0x2aa404(0x14b)](helper['homedir'](),_0x4fa2d6[_0x2aa404(0x127)]);if(!fs['existsSync'](_0x574263)){const _0xbe9fdc={};_0xbe9fdc[_0x2aa404(0x14f)]=!![],fs['mkdirSync'](_0x574263,_0xbe9fdc);}fs[_0x2aa404(0x132)](path[_0x2aa404(0x14b)](_0x574263,'trace_'+_0x166918+_0x2aa404(0x12b)),_0x37fbb7+'\x0a',_0x4fa2d6['tYdqg']);}catch(_0x3a3851){console['error'](_0x2aa404(0x12c)+_0x3a3851[_0x2aa404(0x14a)]);}}}module['exports']=TestDetails;
|
|
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_0x41408a=a47_0xf987;(function(_0x269ad9,_0x138f34){const _0x44c75f=a47_0xf987,_0x3b7366=_0x269ad9();while(!![]){try{const _0x4fc7bd=parseInt(_0x44c75f(0x154))/0x1+-parseInt(_0x44c75f(0x111))/0x2+-parseInt(_0x44c75f(0x105))/0x3*(parseInt(_0x44c75f(0x101))/0x4)+-parseInt(_0x44c75f(0x197))/0x5*(parseInt(_0x44c75f(0x119))/0x6)+parseInt(_0x44c75f(0x1a1))/0x7+parseInt(_0x44c75f(0xff))/0x8+-parseInt(_0x44c75f(0x102))/0x9;if(_0x4fc7bd===_0x138f34)break;else _0x3b7366['push'](_0x3b7366['shift']());}catch(_0xb6d8a){_0x3b7366['push'](_0x3b7366['shift']());}}}(a47_0x763b,0x7a3dd));const path=require(a47_0x41408a(0x199)),url=require('url'),util=require(a47_0x41408a(0x198)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x41408a(0x16c)),{o11yErrorHandler}=require(a47_0x41408a(0x19c)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a47_0x41408a(0x13b))[a47_0x41408a(0x156)],scripts=require(a47_0x41408a(0x110)),{browserStackExecuteDriver}=require(a47_0x41408a(0x1a7)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a47_0x41408a(0x145)),BrowserstackCLI=require(a47_0x41408a(0x132)),AutomationFrameworkState=require(a47_0x41408a(0x15e)),HookState=require(a47_0x41408a(0x160)),{performScanWithRetry}=require(a47_0x41408a(0x185)),ClientTroubleShootingService=require(a47_0x41408a(0x14c)),getBrowserNameFromChannel=_0x5dd1aa=>{const _0x3bd0e0=a47_0x41408a,_0x409689={};_0x409689[_0x3bd0e0(0x181)]=_0x3bd0e0(0x109),_0x409689[_0x3bd0e0(0x137)]=_0x3bd0e0(0x1a3),_0x409689['npiRh']=_0x3bd0e0(0xea),_0x409689[_0x3bd0e0(0x179)]='safari';const _0x47759a=_0x409689;if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x181)]))return _0x47759a[_0x3bd0e0(0x181)];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x137)]))return _0x47759a[_0x3bd0e0(0x137)];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x166)]))return _0x47759a['npiRh'];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x179)]))return _0x47759a['PYYJd'];},getBrowserFromWSEndpoint=_0x3ca479=>{const _0x15f3b3=a47_0x41408a,_0x38e0a0={'mkHwt':'chrome','FyXym':function(_0x3d113d,_0x11588e){return _0x3d113d(_0x11588e);}};try{const _0x31b3b4=url[_0x15f3b3(0x18a)](_0x3ca479),_0xdbc35c=new URLSearchParams(_0x31b3b4[_0x15f3b3(0x140)]),_0x11fdf6=Object[_0x15f3b3(0x112)](_0xdbc35c['entries']()),_0x3c5bd8=JSON[_0x15f3b3(0x18a)](_0x11fdf6['caps']);if(_0x3c5bd8&&(_0x3c5bd8['browser']||_0x3c5bd8[_0x15f3b3(0x158)]))return _0x3c5bd8[_0x15f3b3(0x165)]||_0x3c5bd8['browserName'];return _0x38e0a0[_0x15f3b3(0x14e)];}catch(_0x20aad6){_0x38e0a0[_0x15f3b3(0xf3)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x20aad6[_0x15f3b3(0x169)]());}},getCloudProviderFromWsEndpoint=_0x5abf20=>{const _0x4899ac=a47_0x41408a,_0x4b28f9={};_0x4b28f9[_0x4899ac(0x149)]=_0x4899ac(0x159),_0x4b28f9['giVMr']=_0x4899ac(0x108);const _0x43296c=_0x4b28f9;if(_0x5abf20[_0x4899ac(0x182)](constants[_0x4899ac(0x18b)])||_0x5abf20[_0x4899ac(0x182)](constants[_0x4899ac(0x155)]))return _0x43296c['cvFRU'];return _0x43296c[_0x4899ac(0x139)];},a47_0x4345f7={};function a47_0x763b(){const _0x19ea9e=['../v2/state/automationFrameworkState.js','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../v2/state/hookState.js','version','PLAYWRIGHT_DISPATCH','message','_connection','browser','npiRh','dispatch','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','toString','bvPUQ','capabilities','../../helpers/helper','RbvQx','CduFp','VKqCd','defineProperty','local_grid','TIUxK','Page','pVkza','jhUqo','bsSessionId','connection.js','UITWk','PYYJd','getAutomationFramework','patchCRConnection','currentTest','POST','ULuuj','Page\x20Scan\x20result=','testInfo','Vivic','includes','bStackParams','pgHxH','../../helpers/accessibility-automation/accessibilityRetryHelper.js','DugLz','browser_version','KZSrr','exports','parse','BSTACK_URL','FcUel','yBbaH','crConnection.js','zHPNg','LQNdW','params','patch','wGLqV','sendMessageToServer','fAeQj','xQYBt','350465tyEYvz','util','path','OLpgC','platform','../../helpers/test-observability/error-handler','bstackPerformA11yScan','aCXPx','GylNX','setupBrowserDetails','4151938EfcgeP','_type','edge','debug','titlePath','Error\x20in\x20importing\x20crConnection','../../bin/playwright/accessibility-helper','dsoGt','isRunning','firefox','bsParams','BADkK','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','_onMessage','format','playwright-','toKhy','CsENL','FyXym','WclJK','lib','platformDetails','getInstance','tkZJh','product','platform_version','Device\x20Model\x20is\x20not\x20available','bCUTN','join','wrvnn','6211200uadMGj','fHJrN','1660zWCOym','9797139IorlpB','chromium','sessionError','471ACvoNk','getDetails','XcGXt','unknown_grid','chrome','isRemote','Pcjub','SnTAL','Connection','project','BFGqq','../../helpers/accessibility-automation/scripts','37688eFuCTt','fromEntries','_defaultConnectOptions','assign','Performing\x20scan\x20for\x20','cmTIp','njcFJ','prototype','6YkopOY','UHdWC','automate','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','HhsIN','trackEvent','info','rgcam','wPuno','nVcqD','_browserType','platformVersion','Not\x20able\x20to\x20import\x20Connection','turboscale','function','bBhQu','use','apply','test','BfqTz','sessionId','wsEndpoint','patchConnection','Error\x20in\x20finding\x20platform\x20details\x20','model','../v2/browserstackCLI','__workerDetails','Not\x20able\x20to\x20import\x20crConnection','THkKC','server','cuPVc','currentSessionDetails','giVMr','BveeP','../../helpers/logger','sYFtP','kuSro','CRConnection','mnvYZ','query','platformName','deviceModel','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','jcNVC','../utils/constants','__driver','gHkQL','MWhWu','cvFRU','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','wSZNc','../utils/clientTroubleshootingService.js','MQRfP','mkHwt','KOdIk','BROWSERSTACK_TEST_OBSERVABILITY','channel','qeukd','lZnUu','373830kHuZNb','BSTACK_ATS_URL','winstonLogger','eGWHi','browserName','browserstack','Gmibh','TyfeH','ATS_WSS_URL_REGEX','OvQpg'];a47_0x763b=function(){return _0x19ea9e;};return a47_0x763b();}function a47_0xf987(_0x1384a5,_0x575164){const _0x763bb1=a47_0x763b();return a47_0xf987=function(_0xf9877d,_0x1f0006){_0xf9877d=_0xf9877d-0xe8;let _0x105f51=_0x763bb1[_0xf9877d];return _0x105f51;},a47_0xf987(_0x1384a5,_0x575164);}a47_0x4345f7['cloudProvider']=undefined,a47_0x4345f7['bsSessionId']=undefined,a47_0x4345f7[a47_0x41408a(0x165)]=undefined,a47_0x4345f7[a47_0x41408a(0x187)]=undefined,a47_0x4345f7[a47_0x41408a(0x19b)]=undefined,a47_0x4345f7[a47_0x41408a(0xfa)]=undefined,a47_0x4345f7[a47_0x41408a(0xf9)]=undefined,a47_0x4345f7[a47_0x41408a(0x16b)]={};class PlaywrightSessionDetails{static [a47_0x41408a(0x138)]=a47_0x4345f7;constructor(){const _0x405776=a47_0x41408a,_0x5f5088={};_0x5f5088[_0x405776(0x15d)]=_0x405776(0xed);const _0x229c56=_0x5f5088;throw new Error(_0x229c56[_0x405776(0x15d)]);}static [a47_0x41408a(0x104)]=null;static[a47_0x41408a(0x1a0)](_0x2e8438,_0x7c026c,_0x460779=null){const _0x188d25=a47_0x41408a,_0x2a3263={'sYFtP':function(_0x2774b8,_0x2df79c){return _0x2774b8===_0x2df79c;},'fAeQj':_0x188d25(0x127),'mpDTA':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','MQRfP':_0x188d25(0xfb),'nQyWt':_0x188d25(0x171),'iqIkW':function(_0x56d971,_0x44c1a1,_0x4ff4d7){return _0x56d971(_0x44c1a1,_0x4ff4d7);},'xQYBt':_0x188d25(0x123),'MWhWu':_0x188d25(0x113),'mnvYZ':function(_0x250763,_0x4b03ac,_0x1a8e47){return _0x250763(_0x4b03ac,_0x1a8e47);},'lZnUu':_0x188d25(0x10e),'bCUTN':_0x188d25(0x129),'BfqTz':'connectOptions','HhsIN':function(_0x8fbf66,_0x5a1da8){return _0x8fbf66(_0x5a1da8);},'OYQcz':function(_0x573711,_0x1bc852){return _0x573711===_0x1bc852;},'wGLqV':_0x188d25(0x159),'bBhQu':_0x188d25(0x126),'rgcam':_0x188d25(0x11b),'CduFp':function(_0x5bb1fd,_0x3f3758){return _0x5bb1fd(_0x3f3758);},'pVkza':function(_0x3de946,_0xa9e431){return _0x3de946+_0xa9e431;},'Gmibh':_0x188d25(0xf0),'toKhy':function(_0x52f913){return _0x52f913();},'DOUap':function(_0x1afe21,_0x2eebae,_0xee3c48){return _0x1afe21(_0x2eebae,_0xee3c48);},'KZSrr':_0x188d25(0x1a0)},_0x134e66=this;return _0x2a3263['DOUap'](o11yErrorHandler,async function _0x242101(_0x49beef,_0x65874c,_0x29e9c2=null){const _0x45f0b5=_0x188d25;let _0x4be19a=_0x49beef['_name'],_0x2e2dc9=null;_0x49beef&&_0x2a3263[_0x45f0b5(0x13c)](typeof _0x49beef[_0x45f0b5(0x161)],_0x2a3263[_0x45f0b5(0x195)])?_0x2e2dc9=_0x49beef[_0x45f0b5(0x161)]():logger['debug'](_0x2a3263['mpDTA']);let _0xf37f9f=null;_0x49beef&&_0x2a3263[_0x45f0b5(0x13c)](typeof _0x49beef[_0x45f0b5(0x131)],_0x2a3263[_0x45f0b5(0x195)])?_0xf37f9f=_0x49beef[_0x45f0b5(0x131)]():logger[_0x45f0b5(0x1a4)](_0x2a3263[_0x45f0b5(0x14d)]);let _0x31885c=null,_0x2e5a69=null,_0x22333c=null,_0x16553c=_0x2a3263['nQyWt'];if(_0x49beef[_0x45f0b5(0x164)][_0x45f0b5(0x10a)]()||global['accessibilityPlatform']){let _0x4f7707=null;_0x2a3263['iqIkW'](nestedKeyValue,_0x49beef,[_0x2a3263[_0x45f0b5(0x196)],_0x2a3263[_0x45f0b5(0x148)]])?_0x4f7707=_0x49beef[_0x45f0b5(0x123)][_0x45f0b5(0x113)]:_0x4f7707=_0x2a3263[_0x45f0b5(0x13f)](nestedKeyValue,_0x65874c,[_0x2a3263[_0x45f0b5(0x153)],_0x2a3263[_0x45f0b5(0xfc)],_0x2a3263[_0x45f0b5(0x12c)]]);const _0x3b0e7=_0x29e9c2||_0x4f7707&&_0x4f7707[_0x45f0b5(0x12e)];_0x3b0e7&&(_0x16553c=_0x2a3263['HhsIN'](getCloudProviderFromWsEndpoint,_0x3b0e7),_0x2a3263['OYQcz'](_0x16553c,_0x2a3263[_0x45f0b5(0x193)])&&(_0x22333c=constants[_0x45f0b5(0x15c)][_0x45f0b5(0x12b)](_0x3b0e7)?_0x2a3263[_0x45f0b5(0x128)]:_0x2a3263[_0x45f0b5(0x120)],_0x4be19a=_0x2a3263[_0x45f0b5(0x11d)](getBrowserFromWSEndpoint,_0x3b0e7)||_0x4be19a,_0x31885c=_0x134e66[_0x45f0b5(0x138)][_0x45f0b5(0x19b)],_0x2e5a69=_0x134e66[_0x45f0b5(0x138)][_0x45f0b5(0xfa)]));}else{_0x65874c&&_0x65874c[_0x45f0b5(0x10e)][_0x45f0b5(0x129)][_0x45f0b5(0x151)]?_0x4be19a=_0x2a3263[_0x45f0b5(0x16e)](getBrowserNameFromChannel,_0x65874c[_0x45f0b5(0x10e)][_0x45f0b5(0x129)][_0x45f0b5(0x151)]):_0x4be19a=_0x2a3263[_0x45f0b5(0x174)](_0x2a3263[_0x45f0b5(0x15a)],_0x4be19a['toLowerCase']());const _0x22c743=await _0x2a3263[_0x45f0b5(0xf1)](getPlatformDetails);_0x31885c=_0x22c743['platformName'],_0x2e5a69=_0x22c743[_0x45f0b5(0x124)];}const _0x305446={};_0x305446[_0x45f0b5(0x165)]=_0x4be19a,_0x305446[_0x45f0b5(0x187)]=_0x2e2dc9,_0x305446[_0x45f0b5(0x16b)]={},_0x305446[_0x45f0b5(0x19b)]=_0x31885c,_0x305446[_0x45f0b5(0xfa)]=_0x2e5a69,_0x305446[_0x45f0b5(0xf9)]=_0x22333c;const _0x3934b1=_0x305446;_0xf37f9f&&(_0x3934b1[_0x45f0b5(0x16b)][_0x45f0b5(0x142)]=_0xf37f9f);const _0x223984={};_0x223984['cloudProvider']=_0x16553c,_0x134e66[_0x45f0b5(0x138)]=Object[_0x45f0b5(0x114)]({},_0x134e66[_0x45f0b5(0x138)],_0x223984,_0x3934b1);},_0x2a3263[_0x188d25(0x188)])(_0x2e8438,_0x7c026c,_0x460779);}static[a47_0x41408a(0x192)](){const _0x2425d2=a47_0x41408a;this[_0x2425d2(0x12f)](),this[_0x2425d2(0x17b)]();}static['patchConnection'](){const _0x19ede5=a47_0x41408a,_0x22adf8={'pgHxH':function(_0x24e0eb,_0x34fb93,_0x4ac260){return _0x24e0eb(_0x34fb93,_0x4ac260);},'fHJrN':_0x19ede5(0x17c),'SnTAL':_0x19ede5(0x180),'bvPUQ':_0x19ede5(0x1a5),'kuSro':_0x19ede5(0x133),'KDHGk':'pwPage','cKSGH':function(_0x133c7b,_0x160d3b,_0x2b7c7b){return _0x133c7b(_0x160d3b,_0x2b7c7b);},'XcGXt':function(_0x333017,_0x41abc9){return _0x333017===_0x41abc9;},'VKqCd':_0x19ede5(0x173),'WclJK':function(_0x5952f9,_0x2f5b6b,_0x502cd5,_0x3a69ef){return _0x5952f9(_0x2f5b6b,_0x502cd5,_0x3a69ef);},'BFGqq':function(_0x916404,_0x28ebba){return _0x916404||_0x28ebba;},'cmTIp':function(_0x46a1d5,_0x231f4e){return _0x46a1d5(_0x231f4e);},'RbvQx':function(_0x317f92,_0x2b45bd){return _0x317f92(_0x2b45bd);},'CsENL':_0x19ede5(0xf5),'UITWk':'client','eGWHi':_0x19ede5(0x177),'TyfeH':function(_0x2d7a59,_0x420e23){return _0x2d7a59(_0x420e23);},'njcFJ':function(_0x2b9e9d,_0x4626d2){return _0x2b9e9d(_0x4626d2);},'BADkK':_0x19ede5(0x125),'SlBDs':function(_0x22416c,_0x1a6c49){return _0x22416c!=_0x1a6c49;},'zEqAe':function(_0x18c582){return _0x18c582();},'TIUxK':_0x19ede5(0x194),'tkZJh':_0x19ede5(0x167)},_0x55983e=this;if(!this[_0x19ede5(0x10d)])try{const _0x379ade=path[_0x19ede5(0xfd)](_0x22adf8[_0x19ede5(0xf2)],_0x22adf8[_0x19ede5(0x178)],_0x22adf8[_0x19ede5(0x157)]),_0x3847e4=_0x22adf8[_0x19ede5(0x15b)](importFileFromPWCore,_0x379ade);!_0x3847e4?_0x22adf8[_0x19ede5(0x117)](debug,_0x22adf8[_0x19ede5(0xec)]):this['Connection']=_0x3847e4[_0x19ede5(0x10d)];}catch(_0x32f821){_0x22adf8[_0x19ede5(0x116)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x32f821[_0x19ede5(0x169)]());}const _0x499445=this[_0x19ede5(0x10d)];try{if(_0x22adf8['SlBDs'](_0x499445,null)){const _0x12ca09=_0x499445[_0x19ede5(0x118)]['dispatch'],_0xe44da4=_0x499445[_0x19ede5(0x118)]['sendMessageToServer'];_0x22adf8['zEqAe'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x499445['prototype'],_0x22adf8[_0x19ede5(0x172)],{'get':function(){const _0x37ced3=_0x19ede5,_0xe02683={'gHkQL':function(_0x1f5ecf,_0x2f839e,_0x1ad3d3){const _0x47cfaa=a47_0xf987;return _0x22adf8[_0x47cfaa(0x184)](_0x1f5ecf,_0x2f839e,_0x1ad3d3);},'jhUqo':_0x22adf8[_0x37ced3(0x100)],'OLpgC':_0x22adf8[_0x37ced3(0x10c)],'nVcqD':_0x22adf8[_0x37ced3(0x16a)],'LQNdW':_0x22adf8[_0x37ced3(0x13d)],'Smlbs':_0x22adf8['KDHGk'],'GylNX':function(_0x200db7,_0x29b638,_0x40e214){return _0x22adf8['cKSGH'](_0x200db7,_0x29b638,_0x40e214);},'qeukd':function(_0x488e03,_0xcbeb26){const _0x2443a9=_0x37ced3;return _0x22adf8[_0x2443a9(0x107)](_0x488e03,_0xcbeb26);},'JkRHG':_0x22adf8[_0x37ced3(0x16f)],'UHdWC':function(_0x59af39,_0xea5394,_0x5e509e,_0x5b791f){const _0x9478bf=_0x37ced3;return _0x22adf8[_0x9478bf(0xf4)](_0x59af39,_0xea5394,_0x5e509e,_0x5b791f);}};return async function(){const _0x22b032=_0x37ced3;try{if(!global[_0x22b032(0x19d)]&&global['accessibilityPlatform']&&_0xe02683[_0x22b032(0x147)](nestedKeyValue,global[_0x22b032(0x133)],[_0xe02683[_0x22b032(0x175)],_0xe02683[_0x22b032(0x19a)],_0xe02683[_0x22b032(0x122)]])&&_0xe02683[_0x22b032(0x147)](shouldScanTestForAccessibility,global['__workerDetails'][_0x22b032(0x17c)][_0x22b032(0x180)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x22b032(0x1a4)](_0x22b032(0x115)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x4ffb57=_0xe02683[_0x22b032(0x147)](nestedKeyValue,global,[_0xe02683[_0x22b032(0x190)],_0xe02683['Smlbs']]);_0x4ffb57&&logger[_0x22b032(0x11f)](_0x22b032(0x17f)+util['format'](await _0xe02683[_0x22b032(0x19f)](performScanWithRetry,_0x4ffb57,arguments[0x1]))),_0xe02683[_0x22b032(0x152)](arguments[0x0][_0x22b032(0x1a2)],_0xe02683['JkRHG'])&&global[_0x22b032(0x146)]&&logger[_0x22b032(0x11f)]('Driver\x20Scan\x20result='+util[_0x22b032(0xef)](await _0xe02683[_0x22b032(0x11a)](performScanWithRetry,global['__driver'],arguments[0x1],scripts['performScan'])));}}catch(_0x168d85){logger[_0x22b032(0x1a4)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x22b032(0xef)](_0x168d85));}return global[_0x22b032(0x19d)]=![],_0xe44da4['apply'](this,arguments);};}}),!_0x22adf8[_0x19ede5(0x117)](isFalse,process['env'][_0x19ede5(0x150)])&&Object[_0x19ede5(0x170)](_0x499445[_0x19ede5(0x118)],_0x22adf8[_0x19ede5(0xf8)],{'get':function(){const _0x4c8191={'LFAar':function(_0x2d666e,_0x5bc52e){const _0x4a39e8=a47_0xf987;return _0x22adf8[_0x4a39e8(0x10f)](_0x2d666e,_0x5bc52e);},'scUTb':function(_0x547bc9,_0x3b11de){return _0x22adf8['cmTIp'](_0x547bc9,_0x3b11de);},'THkKC':function(_0x3fa587,_0x9357df){const _0x312163=a47_0xf987;return _0x22adf8[_0x312163(0x16d)](_0x3fa587,_0x9357df);}};return async function _0x27f273(_0x4cbeb3){const _0x2d72ed=a47_0xf987;if(BrowserstackCLI[_0x2d72ed(0xf7)]()['isRunning']()){const _0x4b7064={};_0x4b7064['message']=_0x4cbeb3,await BrowserstackCLI[_0x2d72ed(0xf7)]()[_0x2d72ed(0x17a)]()[_0x2d72ed(0x11e)](AutomationFrameworkState[_0x2d72ed(0x162)],HookState[_0x2d72ed(0x17d)],_0x4b7064);}else{const _0x2d7244=_0x4cbeb3&&_0x4cbeb3[_0x2d72ed(0x191)]&&_0x4cbeb3[_0x2d72ed(0x191)][_0x2d72ed(0xeb)];if(_0x2d7244){const _0x2b17a1=_0x2d7244[_0x2d72ed(0x12d)],_0xd27b12=_0x2d7244['platformDetails'];_0x4c8191['LFAar'](!_0x2b17a1,!_0xd27b12)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0xd27b12&&(_0x4c8191['scUTb'](debug,_0x2d72ed(0x143)+_0xd27b12[_0x2d72ed(0x169)]()),_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0x19b)]=_0xd27b12[_0x2d72ed(0x141)],_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0xfa)]=_0xd27b12[_0x2d72ed(0x124)]),_0x2b17a1&&(_0x4c8191[_0x2d72ed(0x135)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2b17a1),_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0x176)]=_0x2b17a1);}}return _0x12ca09[_0x2d72ed(0x12a)](this,arguments);};}});}}catch(_0x3c8ad2){_0x22adf8[_0x19ede5(0x117)](debug,_0x19ede5(0x11c)+_0x3c8ad2),_0x55983e[_0x19ede5(0x104)]=_0x3c8ad2[_0x19ede5(0x169)]();}}static['patchCRConnection'](){const _0x39c5ef=a47_0x41408a,_0x3f26e7={'yBbaH':function(_0xa80c17,_0x3c26ae){return _0xa80c17(_0x3c26ae);},'wSZNc':function(_0x3bf174,_0x1dab1b){return _0x3bf174(_0x1dab1b);},'wPuno':function(_0x5b0c24){return _0x5b0c24();},'FcUel':_0x39c5ef(0xf5),'DugLz':_0x39c5ef(0x136),'zHPNg':_0x39c5ef(0x103),'BveeP':_0x39c5ef(0x18e),'wrvnn':function(_0x5f3e8d,_0x36842e){return _0x5f3e8d(_0x36842e);},'dsoGt':_0x39c5ef(0x134),'kKkDS':function(_0x3a1483,_0x34c046){return _0x3a1483(_0x34c046);},'aCXPx':_0x39c5ef(0x1a6),'KOdIk':function(_0x56cdff,_0x2fe6d3){return _0x56cdff!=_0x2fe6d3;},'jcNVC':_0x39c5ef(0xee),'ULuuj':function(_0xf7c1a6,_0x2245d6){return _0xf7c1a6(_0x2245d6);}},_0x3d548c=this;if(_0x3f26e7[_0x39c5ef(0x121)](isAccessibilityAutomationSession)){let _0x547891=null;try{const _0x93e5ae=path[_0x39c5ef(0xfd)](_0x3f26e7[_0x39c5ef(0x18c)],_0x3f26e7[_0x39c5ef(0x186)],_0x3f26e7[_0x39c5ef(0x18f)],_0x3f26e7[_0x39c5ef(0x13a)]),_0x2deece=_0x3f26e7['wrvnn'](importFileFromPWCore,_0x93e5ae);!_0x2deece?_0x3f26e7[_0x39c5ef(0xfe)](debug,_0x3f26e7[_0x39c5ef(0xe8)]):_0x547891=_0x2deece[_0x39c5ef(0x13e)];}catch(_0x8bb107){_0x3f26e7['kKkDS'](debug,_0x3f26e7[_0x39c5ef(0x19e)]);}try{if(_0x3f26e7[_0x39c5ef(0x14f)](_0x547891,null)){const _0x145dd1=_0x547891[_0x39c5ef(0x118)][_0x39c5ef(0xee)];Object[_0x39c5ef(0x170)](_0x547891[_0x39c5ef(0x118)],_0x3f26e7[_0x39c5ef(0x144)],{'get':function(){const _0x6eb1a8={'myfxG':function(_0x26775a,_0x178916){const _0x3fa8de=a47_0xf987;return _0x3f26e7[_0x3fa8de(0x18d)](_0x26775a,_0x178916);},'Pcjub':function(_0x5a104d,_0x5e9300){const _0x18ac70=a47_0xf987;return _0x3f26e7[_0x18ac70(0x14b)](_0x5a104d,_0x5e9300);}};return async function _0x2357fe(_0x4fd849){const _0x4691ee=a47_0xf987;try{if(BrowserstackCLI[_0x4691ee(0xf7)]()[_0x4691ee(0xe9)]()){const _0x571432={};_0x571432[_0x4691ee(0x163)]=_0x4fd849,await BrowserstackCLI[_0x4691ee(0xf7)]()[_0x4691ee(0x17a)]()['trackEvent'](AutomationFrameworkState[_0x4691ee(0x162)],HookState[_0x4691ee(0x17d)],_0x571432),delete _0x4fd849[_0x4691ee(0x183)];}else{const _0xc596aa=_0x4fd849[_0x4691ee(0x183)];if(_0xc596aa){delete _0x4fd849[_0x4691ee(0x183)];const _0x43130b=_0xc596aa[_0x4691ee(0x12d)],_0x274453=_0xc596aa[_0x4691ee(0xf6)];_0x274453&&(_0x6eb1a8['myfxG'](debug,_0x4691ee(0x168)+_0x274453[_0x4691ee(0x169)]()),_0x3d548c[_0x4691ee(0x138)]['platform']=_0x274453[_0x4691ee(0x141)],_0x3d548c[_0x4691ee(0x138)][_0x4691ee(0xfa)]=_0x274453[_0x4691ee(0x124)]),_0x43130b&&(_0x6eb1a8[_0x4691ee(0x10b)](debug,_0x4691ee(0x15f)+_0x43130b),_0x3d548c['currentSessionDetails'][_0x4691ee(0x176)]=_0x43130b);}}}catch(_0x3abe72){_0x6eb1a8['myfxG'](debug,_0x4691ee(0x130)+_0x3abe72[_0x4691ee(0x169)]());}return _0x145dd1['apply'](this,arguments);};}});}}catch(_0x4d29b4){_0x3f26e7[_0x39c5ef(0x17e)](debug,_0x39c5ef(0x14a)+_0x4d29b4),_0x3d548c[_0x39c5ef(0x104)]=_0x4d29b4[_0x39c5ef(0x169)]();}}}static[a47_0x41408a(0x106)](){return this['currentSessionDetails'];}}module[a47_0x41408a(0x189)]=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;
|