browserstack-node-sdk 1.46.8 → 1.47.0
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/generated/sdk-messages_pb.d.ts +18 -0
- package/generated/sdk-messages_pb.js +147 -3
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -0
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x2bb216=a44_0x5793;(function(_0x1fee44,_0x2cd4f2){const _0x92d06f=a44_0x5793,_0xf3d3e1=_0x1fee44();while(!![]){try{const _0x184dfe=-parseInt(_0x92d06f(0x1c5))/0x1*(parseInt(_0x92d06f(0x1cc))/0x2)+parseInt(_0x92d06f(0x201))/0x3*(parseInt(_0x92d06f(0x1d6))/0x4)+parseInt(_0x92d06f(0x231))/0x5*(parseInt(_0x92d06f(0x1e2))/0x6)+-parseInt(_0x92d06f(0x228))/0x7*(parseInt(_0x92d06f(0x22a))/0x8)+parseInt(_0x92d06f(0x1ad))/0x9*(-parseInt(_0x92d06f(0x244))/0xa)+parseInt(_0x92d06f(0x1e6))/0xb*(-parseInt(_0x92d06f(0x205))/0xc)+parseInt(_0x92d06f(0x22e))/0xd;if(_0x184dfe===_0x2cd4f2)break;else _0xf3d3e1['push'](_0xf3d3e1['shift']());}catch(_0x1e7051){_0xf3d3e1['push'](_0xf3d3e1['shift']());}}}(a44_0x162a,0x54a0e));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a44_0x2bb216(0x20b)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x2bb216(0x1ee)),helper=require(a44_0x2bb216(0x217)),path=require('path'),logger=require(a44_0x2bb216(0x21e))[a44_0x2bb216(0x1f1)],SessionHandler=require(a44_0x2bb216(0x233)),TestDetails=require('./test-details'),util=require(a44_0x2bb216(0x1c7)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function a44_0x5793(_0x1c4e97,_0x6badd5){const _0x162a66=a44_0x162a();return a44_0x5793=function(_0x579314,_0x115580){_0x579314=_0x579314-0x1a5;let _0x167871=_0x162a66[_0x579314];return _0x167871;},a44_0x5793(_0x1c4e97,_0x6badd5);}function getBrowserstackCLI(){const _0x7f053b=a44_0x2bb216,_0x53487a={'ycZWk':function(_0x38ec6e,_0x406e94){return _0x38ec6e(_0x406e94);},'CFBKE':_0x7f053b(0x1b2)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x53487a['ycZWk'](require,_0x53487a[_0x7f053b(0x203)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x30e971=>{const _0x38dfd7=a44_0x2bb216;return _0x30e971[_0x38dfd7(0x20d)](/@(\w+)/g)?.[_0x38dfd7(0x1e4)](_0x423238=>_0x423238[_0x38dfd7(0x212)](0x1))||[];};exports[a44_0x2bb216(0x1d3)]=_0x4a44c0=>{const _0x11cc5b=a44_0x2bb216,_0x22ce86={'AceKc':function(_0x2545c9,_0x140f8b){return _0x2545c9(_0x140f8b);}};if(_0x4a44c0[_0x11cc5b(0x224)])return _0x4a44c0[_0x11cc5b(0x224)]['map'](_0x429e69=>_0x429e69[_0x11cc5b(0x1f2)]('@')?_0x429e69[_0x11cc5b(0x1cb)](0x1):_0x429e69);return _0x22ce86[_0x11cc5b(0x222)](getTagsFromTitle,_0x4a44c0[_0x11cc5b(0x1b6)]);},exports[a44_0x2bb216(0x1ae)]=async()=>{const _0x1facb8=a44_0x2bb216,_0x51a41a={'ecGak':function(_0x5e28ee,_0x33a2cb){return _0x5e28ee-_0x33a2cb;},'hasPE':'performance-reporter.html','wPnbP':_0x1facb8(0x1f6),'MskLi':_0x1facb8(0x24a),'HljpK':'onTestBegin','ajiYo':_0x1facb8(0x1f9),'abKcU':_0x1facb8(0x1a5),'LEvUc':'onStepEnd','hltKL':_0x1facb8(0x1e8),'DiXBg':_0x1facb8(0x249),'GVVYf':_0x1facb8(0x219),'ITdfk':_0x1facb8(0x221),'EIoor':_0x1facb8(0x1db),'XprvW':'processPageScreenshot','XwJvY':_0x1facb8(0x1e0),'PSAXC':_0x1facb8(0x1ea),'EaGvg':_0x1facb8(0x1e7),'tqkAU':_0x1facb8(0x1b5),'inedX':function(_0x202964,_0x3e3d9d){return _0x202964(_0x3e3d9d);},'vSbiv':function(_0xcf7629,_0x8cd458){return _0xcf7629/_0x8cd458;},'arVLT':function(_0x3810af,_0x528e1e){return _0x3810af+_0x528e1e;},'ZTCAu':function(_0x391774,_0x4f2b15){return _0x391774*_0x4f2b15;},'XFmuk':function(_0xf0048d,_0x211cc5){return _0xf0048d+_0x211cc5;}};if(!process[_0x1facb8(0x1dd)]['START_TIME'])return;const _0xde9e15=_0x51a41a['ecGak'](new Date()[_0x1facb8(0x1f4)](),new Date(process['env'][_0x1facb8(0x1fb)])[_0x1facb8(0x1f4)]()),_0x204215=await PerformanceTester['stopAndGenerate'](_0x51a41a[_0x1facb8(0x202)],[_0x51a41a[_0x1facb8(0x1c3)],_0x51a41a['MskLi'],_0x51a41a['HljpK'],_0x51a41a['ajiYo'],_0x51a41a['abKcU'],_0x51a41a[_0x1facb8(0x1ff)]]),_0x3eaf10=fs['readdirSync']('.'),_0x561c4b=_0x3eaf10['filter'](_0x59ae27=>_0x59ae27[_0x1facb8(0x1f2)](_0x1facb8(0x200))&&_0x59ae27['endsWith'](_0x1facb8(0x223))),_0x168942=await PerformanceTester[_0x1facb8(0x1f8)](_0x561c4b,[_0x51a41a[_0x1facb8(0x24b)],_0x51a41a[_0x1facb8(0x1fa)],_0x51a41a[_0x1facb8(0x1ce)],_0x51a41a['ITdfk'],_0x51a41a[_0x1facb8(0x1f7)],_0x51a41a[_0x1facb8(0x240)],_0x51a41a[_0x1facb8(0x20e)],_0x51a41a[_0x1facb8(0x1be)],_0x51a41a[_0x1facb8(0x24d)],_0x51a41a[_0x1facb8(0x241)]]);_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1bd)+_0x51a41a[_0x1facb8(0x207)](_0xde9e15,0x3e8)+'\x20s'),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1de)+_0x51a41a[_0x1facb8(0x214)](_0x168942,_0x204215)),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1c6)+_0x51a41a['ZTCAu'](_0x51a41a['vSbiv'](_0x51a41a[_0x1facb8(0x1eb)](_0x168942,_0x204215),_0xde9e15),0x64));},exports[a44_0x2bb216(0x229)]=()=>{const _0x836bfc=a44_0x2bb216,_0x325bff={'uffHH':function(_0x31c295,_0x202266){return _0x31c295(_0x202266);},'LhZfY':function(_0x300930,_0x32ea07){return _0x300930>=_0x32ea07;},'zLdEY':'1.38.0','GxMQq':_0x836bfc(0x1d1),'hhZYt':_0x836bfc(0x1d0),'vpklr':_0x836bfc(0x20f),'RceRD':'@playwright/test/lib/transform/transform.js','vPBVS':'@playwright/test','iTHGl':_0x836bfc(0x1d2)},_0x5b4564=_0x325bff[_0x836bfc(0x1ca)](getFrameworkVersion,FRAMEWORKS[_0x836bfc(0x1df)]);if(_0x325bff[_0x836bfc(0x1a9)](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x1c8)]),0x0))return[_0x325bff[_0x836bfc(0x1bb)],_0x325bff[_0x836bfc(0x1cd)]];if(_0x325bff['LhZfY'](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x206)]),0x0))return[_0x325bff[_0x836bfc(0x236)],_0x325bff[_0x836bfc(0x237)]];return[_0x325bff['iTHGl'],_0x325bff[_0x836bfc(0x237)]];},exports['getConfigLoaderPath']=()=>{const _0x2508a0=a44_0x2bb216,_0x5e19ce={'GHAlU':function(_0x156ff6,_0x1f8052){return _0x156ff6(_0x1f8052);},'BjPMx':function(_0x44b5ca,_0x315157){return _0x44b5ca>=_0x315157;},'UuhFW':_0x2508a0(0x1af),'yTxha':'playwright/lib/common/configLoader.js','rLOrX':_0x2508a0(0x1d0),'bZoYh':_0x2508a0(0x1f0),'sjJdX':_0x2508a0(0x23b)},_0x4e33c1=_0x5e19ce['GHAlU'](getFrameworkVersion,FRAMEWORKS[_0x2508a0(0x1df)]);if(_0x5e19ce['BjPMx'](helper[_0x2508a0(0x225)](_0x4e33c1,_0x5e19ce[_0x2508a0(0x243)]),0x0))return[_0x5e19ce[_0x2508a0(0x24f)],_0x5e19ce[_0x2508a0(0x21d)]];return[_0x5e19ce[_0x2508a0(0x1d5)],_0x5e19ce[_0x2508a0(0x1ed)]];},exports['getLoadUtilsPath']=()=>{const _0x2d7ff8=a44_0x2bb216,_0x31a790={};_0x31a790[_0x2d7ff8(0x239)]=_0x2d7ff8(0x1b7);const _0x7f2f0b=_0x31a790;return helper[_0x2d7ff8(0x234)](_0x7f2f0b['QcMgy']);},exports[a44_0x2bb216(0x245)]=()=>{const _0x3f3be2=a44_0x2bb216,_0x5e56b7={};_0x5e56b7['DSEJS']='runner/projectUtils.js';const _0x43f479=_0x5e56b7;return helper[_0x3f3be2(0x234)](_0x43f479[_0x3f3be2(0x247)]);},exports['getForkProcessPath']=()=>{const _0x1be312=a44_0x2bb216,_0x246cf0={'AymnK':function(_0x52c4cd,_0xb6ea35){return _0x52c4cd(_0xb6ea35);},'PAtnw':function(_0x46c99b,_0x13d136){return _0x46c99b>=_0x13d136;},'YHQxj':_0x1be312(0x1af),'vxqSf':_0x1be312(0x22b),'Yylqu':_0x1be312(0x1f5),'WAjKV':_0x1be312(0x1e3),'Amkuj':_0x1be312(0x23c)},_0x15e38c=_0x246cf0['AymnK'](getFrameworkVersion,FRAMEWORKS[_0x1be312(0x1df)]);if(_0x246cf0[_0x1be312(0x1d9)](helper['compareVersions'](_0x15e38c,_0x246cf0[_0x1be312(0x1ab)]),0x0))return path['join'](_0x246cf0[_0x1be312(0x210)],_0x246cf0['Yylqu'],_0x246cf0[_0x1be312(0x1b8)]);return path[_0x1be312(0x1dc)](_0x246cf0[_0x1be312(0x24c)],_0x246cf0['vxqSf'],_0x246cf0[_0x1be312(0x22c)],_0x246cf0[_0x1be312(0x1b8)]);},exports[a44_0x2bb216(0x1a6)]=(_0x1ea25a,{test_run_uuid:_0x503fd3})=>{const _0x3b1863=a44_0x2bb216,_0x50a9c0={'hidTH':'ERROR','owkQo':_0x3b1863(0x24e),'XxyQa':function(_0x934dea,_0x24183c){return _0x934dea<=_0x24183c;},'ZQSSy':function(_0x191492,_0x4ee144){return _0x191492(_0x4ee144);},'ktUjP':_0x3b1863(0x1f3),'mcKjB':function(_0x4f235e,_0x493172){return _0x4f235e>=_0x493172;},'CEfPN':_0x3b1863(0x209),'gzvUy':function(_0x1aceb5,_0x535909){return _0x1aceb5>_0x535909;},'mHzZI':function(_0x43491b,_0x47d885,_0x180efb){return _0x43491b(_0x47d885,_0x180efb);},'WvcMU':'test'};if(!_0x1ea25a||_0x50a9c0['XxyQa'](_0x1ea25a[_0x3b1863(0x1ac)],0x0))return[];const _0x49d7b5=_0x50a9c0['ZQSSy'](removeAnsiColors,_0x1ea25a[0x0][_0x3b1863(0x1fc)]);if(_0x49d7b5['startsWith'](_0x50a9c0['ktUjP'])){const _0x411365=_0x1ea25a[0x0],_0x5ca712=_0x50a9c0[_0x3b1863(0x1aa)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x411365['stack']||_0x50a9c0['mcKjB'](_0x5ca712,_0x50a9c0[_0x3b1863(0x1bf)]))&&_0x50a9c0['gzvUy'](_0x1ea25a[_0x3b1863(0x1ac)],0x1))return{'failureData':[{'backtrace':[_0x49d7b5,_0x50a9c0[_0x3b1863(0x1aa)](removeAnsiColors,_0x1ea25a[0x1][_0x3b1863(0x220)])]}],'logs':_0x1ea25a[_0x3b1863(0x212)](0x2)[_0x3b1863(0x1e4)](_0x414a4b=>{const _0x37a72d=_0x3b1863;return{'timestamp':new Date()[_0x37a72d(0x242)](),'level':_0x50a9c0[_0x37a72d(0x218)],'message':''+_0x414a4b[_0x37a72d(0x1fc)],'kind':_0x50a9c0[_0x37a72d(0x20c)],'http_response':{},'test_run_uuid':_0x503fd3};})};}return{'failureData':_0x50a9c0['mHzZI'](failureData,_0x1ea25a,_0x50a9c0['WvcMU']),'logs':[]};},exports['validateFilePath']=_0x16fa41=>{const _0x1aa427=a44_0x2bb216,_0x2cad1e={};_0x2cad1e[_0x1aa427(0x238)]=function(_0x1c8598,_0x4ff5c9){return _0x1c8598!==_0x4ff5c9;},_0x2cad1e[_0x1aa427(0x23a)]=_0x1aa427(0x1d4),_0x2cad1e[_0x1aa427(0x21b)]=function(_0x3503a8,_0x36c994){return _0x3503a8>_0x36c994;};const _0x107502=_0x2cad1e;if(_0x16fa41&&fs['existsSync'](_0x16fa41)){if(_0x107502[_0x1aa427(0x238)](path[_0x1aa427(0x22f)](_0x16fa41)[_0x1aa427(0x1d8)](),_0x107502[_0x1aa427(0x23a)]))return logger[_0x1aa427(0x1b1)](_0x1aa427(0x1a7)+_0x16fa41),![];const _0x57147f=fs[_0x1aa427(0x216)](_0x16fa41)[_0x1aa427(0x246)];if(_0x107502[_0x1aa427(0x21b)](_0x57147f,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x1aa427(0x1ef)+_0x57147f+'\x20bytes'),![];return!![];}return![];},exports[a44_0x2bb216(0x1bc)]=(_0x2dcb5f,_0x52e36b)=>{const _0x59e3d5=a44_0x2bb216,_0x2ea8ce={};_0x2ea8ce[_0x59e3d5(0x20a)]=_0x59e3d5(0x1c1);const _0x24ae50=_0x2ea8ce;logger[_0x59e3d5(0x1c0)]('Searching\x20for\x20key:\x20'+_0x52e36b);if(_0x2dcb5f&&_0x2dcb5f['attachments']){const _0x3d9ed4=_0x2dcb5f['attachments'][_0x59e3d5(0x1b4)](_0x20cea9=>_0x20cea9['name']==='trace');if(_0x3d9ed4)return logger[_0x59e3d5(0x1c0)]('Found\x20key:\x20'+_0x52e36b+_0x59e3d5(0x1b9)),_0x3d9ed4[_0x52e36b];}else{if(_0x2dcb5f&&Object[_0x59e3d5(0x227)]['toString'][_0x59e3d5(0x1cf)](_0x2dcb5f)[_0x59e3d5(0x235)](_0x24ae50[_0x59e3d5(0x20a)]))for(const _0x1a7e45 of _0x2dcb5f){if(_0x1a7e45[_0x52e36b])return logger[_0x59e3d5(0x1c0)](_0x59e3d5(0x1b0)+_0x52e36b+'\x20in\x20arguments'),_0x1a7e45[_0x52e36b];}};return'';},exports['uploadTraceZip']=async(_0x3cb79f,_0x2df43e)=>{const _0x4f3bce=a44_0x2bb216,_0x265d94={};_0x265d94[_0x4f3bce(0x211)]=_0x4f3bce(0x23f),_0x265d94[_0x4f3bce(0x232)]=_0x4f3bce(0x248),_0x265d94[_0x4f3bce(0x208)]='sendTraceZip',_0x265d94[_0x4f3bce(0x204)]=_0x4f3bce(0x22d);const _0x14f04e=_0x265d94;try{const _0x143cf1={'event_type':_0x14f04e[_0x4f3bce(0x211)],'logs':[{'data':_0x3cb79f?fs[_0x4f3bce(0x21f)](_0x3cb79f):'','test_run_uuid':_0x2df43e,'kind':_0x14f04e[_0x4f3bce(0x232)],'fileName':_0x3cb79f?path[_0x4f3bce(0x1a8)](_0x3cb79f):''}]};return await SessionHandler[_0x4f3bce(0x1ec)](_0x143cf1,0x0,_0x14f04e['AgtqY']);}catch(_0x59ae28){logger[_0x4f3bce(0x1b1)](util[_0x4f3bce(0x1fe)](_0x14f04e[_0x4f3bce(0x204)],_0x59ae28));}},exports['sendTraceZip']=async(_0x23f2cc,_0x55a7a4)=>{const _0x566f2d=a44_0x2bb216,_0x140523={'jrxLB':_0x566f2d(0x1d7),'dgmjS':_0x566f2d(0x23e),'yjIre':function(_0x19ebcf){return _0x19ebcf();},'TqwXO':_0x566f2d(0x22d)};try{logger[_0x566f2d(0x1c0)](_0x566f2d(0x1ba)+_0x55a7a4);let _0x535593=await exports['findNestedKey'](_0x23f2cc,_0x140523[_0x566f2d(0x215)]);if(exports['validateFilePath'](_0x535593)){logger[_0x566f2d(0x1c0)](_0x140523[_0x566f2d(0x23d)]),_0x535593=path[_0x566f2d(0x1da)](_0x535593);const _0x337294={};_0x337294[_0x566f2d(0x1c9)]=_0x55a7a4,_0x337294[_0x566f2d(0x1fd)]=_0x535593;const _0x110a4b=_0x337294;_0x140523[_0x566f2d(0x226)](getBrowserstackCLI)[_0x566f2d(0x1b3)]()[_0x566f2d(0x1c4)]()?TestInfo[_0x566f2d(0x1e5)](_0x110a4b):TestDetails['addTraceFilePath'](_0x110a4b);};}catch(_0x7386ab){logger[_0x566f2d(0x1b1)](util[_0x566f2d(0x1fe)](_0x140523[_0x566f2d(0x21c)],_0x7386ab));}},exports[a44_0x2bb216(0x213)]=_0x469822=>{const _0x2963b3=a44_0x2bb216,_0x368fe5={};_0x368fe5[_0x2963b3(0x1c2)]=function(_0x511672,_0x3266f1){return _0x511672+_0x3266f1;},_0x368fe5[_0x2963b3(0x21a)]=function(_0xec452d,_0x22597c){return _0xec452d+_0x22597c;};const _0x3894f6=_0x368fe5;return _0x3894f6[_0x2963b3(0x1c2)](_0x3894f6['FHNQs'](_0x469822['_projectId'],'-'),_0x469822['id']);},exports[a44_0x2bb216(0x1e1)]=(_0x138a8c,_0x2f3080)=>{const _0x1a75ec=a44_0x2bb216,_0x39a69b={};_0x39a69b[_0x1a75ec(0x230)]=function(_0x2b4593,_0x3fdd55){return _0x2b4593+_0x3fdd55;};const _0x1d8088=_0x39a69b;return _0x1d8088['YKxvd'](_0x1d8088[_0x1a75ec(0x230)](_0x138a8c['id'],'-'),_0x2f3080);};function a44_0x162a(){const _0x2b94fa=['EaGvg','TEST_LOG','yTxha','onStepBegin','getFailureData','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','basename','LhZfY','ZQSSy','YHQxj','length','9783vEtLwT','calculatePerformance','1.38.0','Found\x20key:\x20','error','../../v2/browserstackCLI','getInstance','find','sendTestLog','title','runner/loadUtils.js','WAjKV','\x20in\x20attachments','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','GxMQq','findNestedKey','Total\x20duration\x20for\x20whole\x20build\x20is\x20','PSAXC','CEfPN','debug','Arguments','xPwql','wPnbP','isRunning','166280GLwNiq','Percentage\x20of\x20increased\x20time\x20is\x20','util','zLdEY','testUId','uffHH','substr','2qOKudS','hhZYt','GVVYf','call','playwright','playwright/lib/transform/transform.js','@playwright/test/lib/common/transform.js','getTestTags','.zip','bZoYh','192300fKODfj','path','toLowerCase','PAtnw','resolve','doo11ySync','join','env','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','PLAYWRIGHT','sendSessionDetails','getTestRunIdentifier','115698BjgPNa','process.js','map','addTraceFilePath','979YaPLIk','requestSpyCallback','beforeWorkerHook','inedX','setupBrowserDetails','XFmuk','sendEventData','sjJdX','../../../helpers/test-observability/constants','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','@playwright/test/lib/common/configLoader.js','winstonLogger','startsWith','Test\x20timeout\x20of','getTime','common','onBegin','EIoor','calculateTimesFromMultipleFiles','onTestEnd','DiXBg','START_TIME','message','filePath','format','LEvUc','performance-report-worker-','6SoDIfR','hasPE','CFBKE','DVPpb','26052gLAMLz','vpklr','vSbiv','AgtqY','1.42.0','KzUBu','../../../helpers/performance/performance-tester','owkQo','match','XwJvY','1.35.0','vxqSf','AmSfU','slice','getTestIdentifier','arVLT','jrxLB','statSync','../../../helpers/helper','hidTH','beforeTestHook','FHNQs','bUWzR','TqwXO','rLOrX','../../../helpers/logger','createReadStream','stack','afterTestHook','AceKc','.json','tags','compareVersions','yjIre','prototype','18508xfcfzI','getTransformPath','1528kUCDHO','lib','Yylqu','Error\x20in\x20sending\x20trace\x20file:\x20%s','9266829NLhtbt','extname','YKxvd','135RzuZvc','CGbjH','../../../helpers/test-observability/sessionHandler','getPlaywrightLibPath','includes','RceRD','vPBVS','XFUIQ','QcMgy','ROGEy','@playwright/test','test','dgmjS','Trace\x20enabled','LogCreated','XprvW','tqkAU','toISOString','UuhFW','1090TAWfwg','getProjectUtilsPath','size','DSEJS','TEST_ATTACHMENT','afterWorkerHook','endSession','hltKL','Amkuj'];a44_0x162a=function(){return _0x2b94fa;};return a44_0x162a();}
|
|
1
|
+
function a44_0x1b6f(_0x6d1244,_0x4c23fd){const _0x2bd1a4=a44_0x2bd1();return a44_0x1b6f=function(_0x1b6fa5,_0xf4e3d){_0x1b6fa5=_0x1b6fa5-0x15d;let _0x444fd6=_0x2bd1a4[_0x1b6fa5];return _0x444fd6;},a44_0x1b6f(_0x6d1244,_0x4c23fd);}const a44_0x48d1f5=a44_0x1b6f;(function(_0x957ad0,_0x49bbce){const _0xcbb3a6=a44_0x1b6f,_0x3fec9f=_0x957ad0();while(!![]){try{const _0x16a2c5=parseInt(_0xcbb3a6(0x1a9))/0x1+parseInt(_0xcbb3a6(0x1c7))/0x2*(-parseInt(_0xcbb3a6(0x195))/0x3)+-parseInt(_0xcbb3a6(0x184))/0x4*(parseInt(_0xcbb3a6(0x1c8))/0x5)+parseInt(_0xcbb3a6(0x211))/0x6*(parseInt(_0xcbb3a6(0x17e))/0x7)+parseInt(_0xcbb3a6(0x202))/0x8*(-parseInt(_0xcbb3a6(0x178))/0x9)+parseInt(_0xcbb3a6(0x1af))/0xa+parseInt(_0xcbb3a6(0x1a3))/0xb;if(_0x16a2c5===_0x49bbce)break;else _0x3fec9f['push'](_0x3fec9f['shift']());}catch(_0x56741f){_0x3fec9f['push'](_0x3fec9f['shift']());}}}(a44_0x2bd1,0xd37e4));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x48d1f5(0x16f)),PerformanceTester=require(a44_0x48d1f5(0x1e1)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x48d1f5(0x1b3)),helper=require(a44_0x48d1f5(0x182)),path=require(a44_0x48d1f5(0x1fa)),logger=require(a44_0x48d1f5(0x165))[a44_0x48d1f5(0x1aa)],SessionHandler=require(a44_0x48d1f5(0x18e)),TestDetails=require('./test-details'),util=require(a44_0x48d1f5(0x19f)),TestInfo=require(a44_0x48d1f5(0x1f8));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x8e602e=a44_0x48d1f5,_0x1a40f7={'JfMuz':function(_0x4e1ad5,_0x1138c1){return _0x4e1ad5(_0x1138c1);},'OclpA':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x1a40f7[_0x8e602e(0x1fc)](require,_0x1a40f7[_0x8e602e(0x1b6)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x399e51=>{const _0x441e45=a44_0x48d1f5;return _0x399e51[_0x441e45(0x1f5)](/@(\w+)/g)?.['map'](_0x4ff6bd=>_0x4ff6bd[_0x441e45(0x1c1)](0x1))||[];};function a44_0x2bd1(){const _0x2e8fcd=['call','HSgCa','playwright','346215UgaTyJ','nEHfa','doo11ySync','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','afterTestHook','PLAYWRIGHT','@playwright/test/lib/common/configLoader.js','AjnRy','statSync','OXnzR','util','title','getTestRunIdentifier','addTraceFilePath','24090792qMruJo','error','@playwright/test/lib/common/transform.js','HXqDK','performance-report-worker-','UZAXZ','417422EuSdPT','winstonLogger','runner/loadUtils.js','NgOIA','PHShG','uCGBx','12410970yEwAZu','TEST_LOG','playwright/lib/transform/transform.js','onBegin','../../../helpers/test-observability/constants','format','OmnIu','OclpA','DhqjB','sendTraceZip','getFailureData','@playwright/test/lib/transform/transform.js','lHFYp','kvtVL','process.js','filePath','ifjuj','TEST_ATTACHMENT','slice','1.42.0','performance-reporter.html','getConfigLoaderPath','PuUpw','map','26CnvHFt','6108755ktYMJY','stopAndGenerate','compareVersions','MWnOw','ZxFCp','sDFTw','LogCreated','playwright/lib/common/configLoader.js','JSfwl','sendEventData','yByGZ','ObYdD','afterWorkerHook','xkbMA','QuTgS','Percentage\x20of\x20increased\x20time\x20is\x20','calculateTimesFromMultipleFiles','requestSpyCallback','bgaHf','stack','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','message','sBkDL','substr','resolve','../../../helpers/performance/performance-tester','tags','OUMpc','TPbUV','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','endsWith','getLoadUtilsPath','jppNK','FyeIV','1.35.0','uploadTraceZip','fjwYL','createReadStream','GminI','JLLaF','.json','beforeWorkerHook','filter','endSession','kbYeQ','match','gUYkC','uAFak','../../v2/TestInfo','QOIrj','path','ERROR','JfMuz','Trace\x20enabled','env','prototype','qEuIN','test','8iafMBJ','lib','getInstance','\x20bytes','xhmbq','yAAGW','getProjectUtilsPath','payKV','_projectId','CIFgf','brelb','Test\x20timeout\x20of','Total\x20duration\x20for\x20whole\x20build\x20is\x20','Found\x20key:\x20','getPlaywrightLibPath','1410ItbdRy','RafhA','find','BeHDk','readdirSync','getTransformPath','KkrMQ','length','AZbsC','PcWRW','trace','../../../helpers/logger','onTestBegin','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','startsWith','Arguments','GNQgS','findNestedKey','VBjzu','existsSync','testUId','../../../helpers/test-observability/utils','RNerP','START_TIME','calculatePerformance','@playwright/test','validateFilePath','tQHcl','\x20in\x20attachments','join','2395566BLcUlu','name','VaStO','lJrKk','processPageScreenshot','sendTestLog','175OiEywG','onTestEnd','debug','getForkProcessPath','../../../helpers/helper','attachments','4NgxWHc','rqmEZ','sjrqU','nJjQb','GafIg','ZfEOr','isRunning','extname','runner/projectUtils.js','getTime','../../../helpers/test-observability/sessionHandler','common','CafNT','1.38.0'];a44_0x2bd1=function(){return _0x2e8fcd;};return a44_0x2bd1();}exports['getTestTags']=_0xd68b65=>{const _0x25ff8b=a44_0x48d1f5,_0x4a880a={'CIFgf':function(_0x5611c4,_0x37e6b6){return _0x5611c4(_0x37e6b6);}};if(_0xd68b65[_0x25ff8b(0x1e2)])return _0xd68b65[_0x25ff8b(0x1e2)][_0x25ff8b(0x1c6)](_0x3bb767=>_0x3bb767[_0x25ff8b(0x168)]('@')?_0x3bb767[_0x25ff8b(0x1df)](0x1):_0x3bb767);return _0x4a880a[_0x25ff8b(0x20b)](getTagsFromTitle,_0xd68b65[_0x25ff8b(0x1a0)]);},exports[a44_0x48d1f5(0x172)]=async()=>{const _0x2dda24=a44_0x48d1f5,_0xccc0e1={'CBGmf':function(_0x404fb8,_0x304599){return _0x404fb8-_0x304599;},'uCGBx':_0x2dda24(0x1c3),'tQHcl':_0x2dda24(0x1b2),'DusuV':_0x2dda24(0x1f3),'jppNK':_0x2dda24(0x166),'bgaHf':_0x2dda24(0x17f),'gUYkC':'onStepBegin','sDFTw':'onStepEnd','yAAGW':_0x2dda24(0x1f1),'sBkDL':_0x2dda24(0x1d4),'nJjQb':'beforeTestHook','lUWPt':_0x2dda24(0x199),'BeHDk':_0x2dda24(0x197),'sjrqU':_0x2dda24(0x17c),'WZUha':'sendSessionDetails','NuiZq':'setupBrowserDetails','xkbMA':_0x2dda24(0x1d9),'HXqDK':_0x2dda24(0x17d),'GafIg':function(_0x4f5086,_0x4a409a){return _0x4f5086(_0x4a409a);},'xhmbq':function(_0xfb9b19,_0x831706){return _0xfb9b19/_0x831706;},'ydCby':function(_0x5140c3,_0x26d514){return _0x5140c3(_0x26d514);},'payKV':function(_0x366207,_0x990734){return _0x366207+_0x990734;},'RafhA':function(_0x325481,_0x55ea1d){return _0x325481*_0x55ea1d;},'QOIrj':function(_0x4e38e3,_0x542808){return _0x4e38e3+_0x542808;}};if(!process['env'][_0x2dda24(0x171)])return;const _0x1f07bf=_0xccc0e1['CBGmf'](new Date()[_0x2dda24(0x18d)](),new Date(process[_0x2dda24(0x1fe)][_0x2dda24(0x171)])[_0x2dda24(0x18d)]()),_0x1329b3=await PerformanceTester[_0x2dda24(0x1c9)](_0xccc0e1[_0x2dda24(0x1ae)],[_0xccc0e1[_0x2dda24(0x175)],_0xccc0e1['DusuV'],_0xccc0e1[_0x2dda24(0x1e8)],_0xccc0e1[_0x2dda24(0x1da)],_0xccc0e1[_0x2dda24(0x1f6)],_0xccc0e1[_0x2dda24(0x1cd)]]),_0x5f4d0f=fs[_0x2dda24(0x15e)]('.'),_0x52b1e6=_0x5f4d0f[_0x2dda24(0x1f2)](_0x170408=>_0x170408['startsWith'](_0x2dda24(0x1a7))&&_0x170408[_0x2dda24(0x1e6)](_0x2dda24(0x1f0))),_0x44e870=await PerformanceTester[_0x2dda24(0x1d8)](_0x52b1e6,[_0xccc0e1[_0x2dda24(0x207)],_0xccc0e1[_0x2dda24(0x1de)],_0xccc0e1[_0x2dda24(0x187)],_0xccc0e1['lUWPt'],_0xccc0e1[_0x2dda24(0x15d)],_0xccc0e1[_0x2dda24(0x186)],_0xccc0e1['WZUha'],_0xccc0e1['NuiZq'],_0xccc0e1[_0x2dda24(0x1d5)],_0xccc0e1[_0x2dda24(0x1a6)]]);_0xccc0e1['GafIg'](debug,_0x2dda24(0x20e)+_0xccc0e1[_0x2dda24(0x206)](_0x1f07bf,0x3e8)+'\x20s'),_0xccc0e1['ydCby'](debug,_0x2dda24(0x1e5)+_0xccc0e1[_0x2dda24(0x209)](_0x44e870,_0x1329b3)),_0xccc0e1[_0x2dda24(0x188)](debug,_0x2dda24(0x1d7)+_0xccc0e1[_0x2dda24(0x212)](_0xccc0e1[_0x2dda24(0x206)](_0xccc0e1[_0x2dda24(0x1f9)](_0x44e870,_0x1329b3),_0x1f07bf),0x64));},exports[a44_0x48d1f5(0x15f)]=()=>{const _0x45bd88=a44_0x48d1f5,_0x57ef32={'IjQOP':function(_0x14b603,_0x4dd08e){return _0x14b603(_0x4dd08e);},'OmnIu':function(_0x4ea7b6,_0x50d1ea){return _0x4ea7b6>=_0x50d1ea;},'PuUpw':_0x45bd88(0x191),'VBjzu':_0x45bd88(0x1b1),'reQXA':_0x45bd88(0x194),'GdCwF':function(_0x36fe3c,_0x45f459){return _0x36fe3c>=_0x45f459;},'AZbsC':_0x45bd88(0x1ea),'kbYeQ':_0x45bd88(0x1ba),'PHShG':_0x45bd88(0x173),'TPbUV':_0x45bd88(0x1a5)},_0x3e7f26=_0x57ef32['IjQOP'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x57ef32[_0x45bd88(0x1b5)](helper[_0x45bd88(0x1ca)](_0x3e7f26,_0x57ef32[_0x45bd88(0x1c5)]),0x0))return[_0x57ef32[_0x45bd88(0x16c)],_0x57ef32['reQXA']];if(_0x57ef32['GdCwF'](helper[_0x45bd88(0x1ca)](_0x3e7f26,_0x57ef32[_0x45bd88(0x162)]),0x0))return[_0x57ef32[_0x45bd88(0x1f4)],_0x57ef32[_0x45bd88(0x1ad)]];return[_0x57ef32[_0x45bd88(0x1e4)],_0x57ef32[_0x45bd88(0x1ad)]];},exports[a44_0x48d1f5(0x1c4)]=()=>{const _0x3868fd=a44_0x48d1f5,_0x1a828d={'uAFak':function(_0x1f9c21,_0x4ad658){return _0x1f9c21(_0x4ad658);},'jeEoA':function(_0x37b829,_0x2a7307){return _0x37b829>=_0x2a7307;},'UZAXZ':_0x3868fd(0x191),'VaStO':_0x3868fd(0x1cf),'HSgCa':'playwright','ZxFCp':_0x3868fd(0x19b),'IHVBh':'@playwright/test'},_0x4ad388=_0x1a828d[_0x3868fd(0x1f7)](getFrameworkVersion,FRAMEWORKS[_0x3868fd(0x19a)]);if(_0x1a828d['jeEoA'](helper[_0x3868fd(0x1ca)](_0x4ad388,_0x1a828d[_0x3868fd(0x1a8)]),0x0))return[_0x1a828d[_0x3868fd(0x17a)],_0x1a828d[_0x3868fd(0x193)]];return[_0x1a828d[_0x3868fd(0x1cc)],_0x1a828d['IHVBh']];},exports[a44_0x48d1f5(0x1e7)]=()=>{const _0xf8aa0=a44_0x48d1f5,_0x44473a={};_0x44473a[_0xf8aa0(0x170)]=_0xf8aa0(0x1ab);const _0x20d90e=_0x44473a;return helper[_0xf8aa0(0x210)](_0x20d90e[_0xf8aa0(0x170)]);},exports[a44_0x48d1f5(0x208)]=()=>{const _0x13baa5=a44_0x48d1f5,_0x4743b2={};_0x4743b2['UsILQ']=_0x13baa5(0x18c);const _0x394e74=_0x4743b2;return helper[_0x13baa5(0x210)](_0x394e74['UsILQ']);},exports[a44_0x48d1f5(0x181)]=()=>{const _0x71e445=a44_0x48d1f5,_0x18c985={'AjnRy':function(_0x566201,_0x378fd6){return _0x566201(_0x378fd6);},'ifjuj':function(_0xde0ec0,_0xfef4d3){return _0xde0ec0>=_0xfef4d3;},'FyeIV':_0x71e445(0x191),'MWnOw':_0x71e445(0x203),'OXnzR':_0x71e445(0x18f),'GminI':_0x71e445(0x1bd),'lJrKk':_0x71e445(0x201)},_0x4920ab=_0x18c985[_0x71e445(0x19c)](getFrameworkVersion,FRAMEWORKS[_0x71e445(0x19a)]);if(_0x18c985[_0x71e445(0x1bf)](helper[_0x71e445(0x1ca)](_0x4920ab,_0x18c985[_0x71e445(0x1e9)]),0x0))return path['join'](_0x18c985[_0x71e445(0x1cb)],_0x18c985[_0x71e445(0x19e)],_0x18c985[_0x71e445(0x1ee)]);return path[_0x71e445(0x177)](_0x18c985[_0x71e445(0x17b)],_0x18c985[_0x71e445(0x1cb)],_0x18c985[_0x71e445(0x19e)],_0x18c985[_0x71e445(0x1ee)]);},exports[a44_0x48d1f5(0x1b9)]=(_0x3b6f5c,{test_run_uuid:_0x51c92a})=>{const _0x38c9f5=a44_0x48d1f5,_0x2a9398={'lHFYp':_0x38c9f5(0x1fb),'YuSDI':_0x38c9f5(0x1b0),'qkNVy':function(_0x122b2e,_0x304884){return _0x122b2e<=_0x304884;},'JSfwl':function(_0x4d13c3,_0xfc26e6){return _0x4d13c3(_0xfc26e6);},'KkrMQ':_0x38c9f5(0x20d),'upmlQ':function(_0x1fd615,_0x1771fa){return _0x1fd615>=_0x1771fa;},'brelb':_0x38c9f5(0x1c2),'Opwvb':function(_0x8c1249,_0x56caee){return _0x8c1249>_0x56caee;},'CtqZH':function(_0x262e21,_0x4c4b49,_0x25df3d){return _0x262e21(_0x4c4b49,_0x25df3d);},'NgOIA':_0x38c9f5(0x201)};if(!_0x3b6f5c||_0x2a9398['qkNVy'](_0x3b6f5c[_0x38c9f5(0x161)],0x0))return[];const _0x454912=_0x2a9398['JSfwl'](removeAnsiColors,_0x3b6f5c[0x0][_0x38c9f5(0x1dd)]);if(_0x454912[_0x38c9f5(0x168)](_0x2a9398[_0x38c9f5(0x160)])){const _0x3481c9=_0x3b6f5c[0x0],_0x4082c2=_0x2a9398['JSfwl'](getFrameworkVersion,FRAMEWORKS[_0x38c9f5(0x19a)]);if((!_0x3481c9[_0x38c9f5(0x1db)]||_0x2a9398['upmlQ'](_0x4082c2,_0x2a9398[_0x38c9f5(0x20c)]))&&_0x2a9398['Opwvb'](_0x3b6f5c[_0x38c9f5(0x161)],0x1))return{'failureData':[{'backtrace':[_0x454912,_0x2a9398[_0x38c9f5(0x1d0)](removeAnsiColors,_0x3b6f5c[0x1][_0x38c9f5(0x1db)])]}],'logs':_0x3b6f5c[_0x38c9f5(0x1c1)](0x2)[_0x38c9f5(0x1c6)](_0x2482bc=>{const _0x3091ec=_0x38c9f5;return{'timestamp':new Date()['toISOString'](),'level':_0x2a9398[_0x3091ec(0x1bb)],'message':''+_0x2482bc['message'],'kind':_0x2a9398['YuSDI'],'http_response':{},'test_run_uuid':_0x51c92a};})};}return{'failureData':_0x2a9398['CtqZH'](failureData,_0x3b6f5c,_0x2a9398[_0x38c9f5(0x1ac)]),'logs':[]};},exports[a44_0x48d1f5(0x174)]=_0x2a761e=>{const _0x4b41f7=a44_0x48d1f5,_0x24a2e3={};_0x24a2e3[_0x4b41f7(0x1d2)]=function(_0x5b2630,_0x8cbf02){return _0x5b2630!==_0x8cbf02;},_0x24a2e3[_0x4b41f7(0x189)]='.zip',_0x24a2e3[_0x4b41f7(0x1b7)]=function(_0x3120cb,_0xba9787){return _0x3120cb>_0xba9787;};const _0x4766f5=_0x24a2e3;if(_0x2a761e&&fs[_0x4b41f7(0x16d)](_0x2a761e)){if(_0x4766f5[_0x4b41f7(0x1d2)](path[_0x4b41f7(0x18b)](_0x2a761e)['toLowerCase'](),_0x4766f5[_0x4b41f7(0x189)]))return logger[_0x4b41f7(0x1a4)](_0x4b41f7(0x1dc)+_0x2a761e),![];const _0x1c91c0=fs[_0x4b41f7(0x19d)](_0x2a761e)['size'];if(_0x4766f5['DhqjB'](_0x1c91c0,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x4b41f7(0x167)+_0x1c91c0+_0x4b41f7(0x205)),![];return!![];}return![];},exports[a44_0x48d1f5(0x16b)]=(_0x5f0800,_0x181ac2)=>{const _0x4fd23d=a44_0x48d1f5,_0x210923={};_0x210923[_0x4fd23d(0x190)]=_0x4fd23d(0x169);const _0x4684d7=_0x210923;logger[_0x4fd23d(0x180)]('Searching\x20for\x20key:\x20'+_0x181ac2);if(_0x5f0800&&_0x5f0800['attachments']){const _0x42c892=_0x5f0800[_0x4fd23d(0x183)][_0x4fd23d(0x213)](_0x316871=>_0x316871[_0x4fd23d(0x179)]===_0x4fd23d(0x164));if(_0x42c892)return logger[_0x4fd23d(0x180)](_0x4fd23d(0x20f)+_0x181ac2+_0x4fd23d(0x176)),_0x42c892[_0x181ac2];}else{if(_0x5f0800&&Object[_0x4fd23d(0x1ff)]['toString'][_0x4fd23d(0x192)](_0x5f0800)['includes'](_0x4684d7[_0x4fd23d(0x190)]))for(const _0x402ca7 of _0x5f0800){if(_0x402ca7[_0x181ac2])return logger[_0x4fd23d(0x180)](_0x4fd23d(0x20f)+_0x181ac2+'\x20in\x20arguments'),_0x402ca7[_0x181ac2];}};return'';},exports[a44_0x48d1f5(0x1eb)]=async(_0x3aa8c2,_0x4d164d)=>{const _0x52a428=a44_0x48d1f5,_0x5e064a={};_0x5e064a[_0x52a428(0x196)]=_0x52a428(0x1ce),_0x5e064a['QuTgS']=_0x52a428(0x1c0),_0x5e064a[_0x52a428(0x200)]=_0x52a428(0x1b8),_0x5e064a[_0x52a428(0x1ef)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x28d174=_0x5e064a;try{const _0x1eab04={'event_type':_0x28d174[_0x52a428(0x196)],'logs':[{'data':_0x3aa8c2?fs[_0x52a428(0x1ed)](_0x3aa8c2):'','test_run_uuid':_0x4d164d,'kind':_0x28d174[_0x52a428(0x1d6)],'fileName':_0x3aa8c2?path['basename'](_0x3aa8c2):''}]};return await SessionHandler[_0x52a428(0x1d1)](_0x1eab04,0x0,_0x28d174[_0x52a428(0x200)]);}catch(_0x3759f1){logger[_0x52a428(0x1a4)](util['format'](_0x28d174['JLLaF'],_0x3759f1));}},exports[a44_0x48d1f5(0x1b8)]=async(_0xc0d46e,_0x11c0ad)=>{const _0x5c4f45=a44_0x48d1f5,_0x35353c={'ObYdD':_0x5c4f45(0x1fa),'fjwYL':_0x5c4f45(0x1fd),'GNQgS':function(_0xfff3ef){return _0xfff3ef();},'PcWRW':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger['debug'](_0x5c4f45(0x198)+_0x11c0ad);let _0x2e49e9=await exports[_0x5c4f45(0x16b)](_0xc0d46e,_0x35353c[_0x5c4f45(0x1d3)]);if(exports['validateFilePath'](_0x2e49e9)){logger[_0x5c4f45(0x180)](_0x35353c[_0x5c4f45(0x1ec)]),_0x2e49e9=path[_0x5c4f45(0x1e0)](_0x2e49e9);const _0x17ba4a={};_0x17ba4a[_0x5c4f45(0x16e)]=_0x11c0ad,_0x17ba4a[_0x5c4f45(0x1be)]=_0x2e49e9;const _0x3afeae=_0x17ba4a;_0x35353c[_0x5c4f45(0x16a)](getBrowserstackCLI)[_0x5c4f45(0x204)]()[_0x5c4f45(0x18a)]()?TestInfo['addTraceFilePath'](_0x3afeae):TestDetails[_0x5c4f45(0x1a2)](_0x3afeae);};}catch(_0x139309){logger['error'](util[_0x5c4f45(0x1b4)](_0x35353c[_0x5c4f45(0x163)],_0x139309));}},exports['getTestIdentifier']=_0x156aaa=>{const _0x3bc111=a44_0x48d1f5,_0x18413b={};_0x18413b[_0x3bc111(0x1bc)]=function(_0x32580d,_0x15bd5){return _0x32580d+_0x15bd5;},_0x18413b['rqmEZ']=function(_0x5103ff,_0x5c79c4){return _0x5103ff+_0x5c79c4;};const _0x49b051=_0x18413b;return _0x49b051[_0x3bc111(0x1bc)](_0x49b051[_0x3bc111(0x185)](_0x156aaa[_0x3bc111(0x20a)],'-'),_0x156aaa['id']);},exports[a44_0x48d1f5(0x1a1)]=(_0x37b43c,_0x433f0e)=>{const _0x5c9323=a44_0x48d1f5,_0x2b4004={};_0x2b4004[_0x5c9323(0x1e3)]=function(_0x1682c6,_0x39bcc5){return _0x1682c6+_0x39bcc5;};const _0xcead1=_0x2b4004;return _0xcead1[_0x5c9323(0x1e3)](_0xcead1[_0x5c9323(0x1e3)](_0x37b43c['id'],'-'),_0x433f0e);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45_0x5b18f4=a45_0x18ee;function a45_0x50b0(){const _0x3110fc=['ZnTVV','28yKOcfN','onTestEnd','eyafg','CHohD','LjDwK','retry_of','SdVkY','POST','steps','JHGEf','2FjJVWE','stack','failure_type','XjUxu','EhPym','_bs_hookIdentifier','YkpLm','HhJWP','location','retry','OBdLm','YAbhf','status','MSNrz','Sending\x20session\x20details\x20for\x20','timedOut','onBegin','_gitConfigured','depth','duration','Test\x20Started\x20with\x20unique\x20id\x20','test_run_uuid','TMUoD','sendTestRunEvent','teNsw','UYYqC','JKdcG','.browserstack','hook','13457670ETXeTr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','Playwright','kLOLy','BEFORE_EACH','../../../helpers/test-observability/sessionHandler','join','exports','BROWSERSTACK_TEST_RUN_ID','unknown','PLAYWRIGHT','expanded','failure','test','151923PxKRfD','lLHOV','26859789fuKZak','expectedStatus','../../v2/browserstackCLI','jPdqL','BROWSERSTACK_LOG_LEVEL','statSync','GsbGE','wRKqs','PRE','getCustomRerunParam','utf8','startsWith','getTime','jbJlU','YRKfU','GxnSv','MUPke','AFTER_ALL','object','\x20for\x20','indexOf','Expected\x20to\x20fail,\x20but\x20passed.','nnSyP','OkWZJ','jiTpz','sendHookRunEvent','path','ToOOP','Error\x20in\x20calculating\x20performance:\x20','pJlCA','EijhK','setStepIdentifier','uuid','endSession','Before\x20Hooks','format','onEnd','onTestBegin','TestRunFinished','gFXnW','OWFgB','PXdWJ','CBTSessionCreated','backtrace','getTestFramework','cTdKS','../../../helpers/test-observability/constants','START_TIME','root','After\x20Hooks','logs','opafn','FmVoG','_gitConfigPath','file','setup','.txt','result','../../../../src/bin/utils/constants','startTime','ZwCTL','\x20is\x20triggered','shutdown','skipped','finishedAt','Jjzfq','PzNmB','JNxjd','YLCIx','eRsLJ','reportLogs','nCZlP','luqMz','needToReportStep','../../../helpers/performance/performance-tester','TEST','failure_reason','message','cwd','vZnOO','../../../helpers/testhub/utils','_tags','HookRunFinished','BROWSERSTACK_O11Y_PERF_MEASUREMENT','xBdWi','getHookType','1230760nVSneX','UmqNa','getStepsAndLogs','aIaMe','size','pJeJr','passed','5745180WsjUBk','length','_testHooksMap','qTLef','getTestUUID','pIbpf','AFTER_EACH','getInstance','../../v2/state/testFrameworkState','mtime','options','104860kwuHmU','vkFrL','uploadEventData','MVEiw','CoUMb','HookRunStarted','env','afterAll\x20hook','./pwUtils','reverse','./test-details','\x20at\x20','sjaZu','xHCum','split','FMiDw','cNcDV','pteQT','EnNqJ','TestRunStarted','HgPqI','foSHq','ASRYo','DWgnZ','getScope','mzmmq','iusCa','dTfcr','ToBLC','Trace\x20file\x20found\x20for\x20test:\x20','gGONJ','Hook\x20Started\x20with\x20unique\x20id\x20','QnIvc','title','YjXjw','nmUmX','isjLr','IzgxH','qRTym','rqRcJ','pending','test_run','wrWTc','performance-report-reporter.json','step','sendSessionDetails','map','HXjQj','isRunning','rqGeT','lPVvh','rbHBX','uuOez','Nulnp','CuCng','OVpfN','iCCyS','util','iFTZO','UjyfE','toISOString','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','afterEach\x20hook','relative','homedir','../../v2/TestInfo','startedAt','56UgNsAw','failed','beforeAll\x20hook','6jSVNzX','Prwmo','\x20-\x20','toString','_trackedEvents','meta','qAihw','XzobQ','addTestUIDAndReportLog','error','errors','base64','ctxsI','Eegpy','configureGit','trackEvent','JPEXz','parent','wIilx','_tests','TEST_ATTACHMENT','titlePath','4318857BTqxFS','err','vQLCL','getStepIdentifier','Test\x20Finished\x20with\x20unique\x20id\x20','splice','cTZmG','logLevel','aPKSm','AGpqd','ngtxd','javascript','onStepBegin','../../v2/state/hookState','wDgDu','../../../helpers/test-observability/utils','existsSync','onStepEnd','pJAxK','../../../helpers/helper','attachments','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','push','XmdLO','category','trace_','readFileSync','5|3|7|2|4|6|0|1'];a45_0x50b0=function(){return _0x3110fc;};return a45_0x50b0();}(function(_0x4c6752,_0x23b27a){const _0x48a163=a45_0x18ee,_0x470e6b=_0x4c6752();while(!![]){try{const _0x3fed64=parseInt(_0x48a163(0xe6))/0x1*(-parseInt(_0x48a163(0x169))/0x2)+parseInt(_0x48a163(0x111))/0x3*(-parseInt(_0x48a163(0xdc))/0x4)+-parseInt(_0x48a163(0x170))/0x5*(parseInt(_0x48a163(0xa9))/0x6)+parseInt(_0x48a163(0x17b))/0x7*(parseInt(_0x48a163(0xa6))/0x8)+-parseInt(_0x48a163(0xbf))/0x9+parseInt(_0x48a163(0x103))/0xa+parseInt(_0x48a163(0x113))/0xb;if(_0x3fed64===_0x23b27a)break;else _0x470e6b['push'](_0x470e6b['shift']());}catch(_0x4e416c){_0x470e6b['push'](_0x470e6b['shift']());}}}(a45_0x50b0,0xa597e));function a45_0x18ee(_0x108e35,_0x5edee3){const _0x50b050=a45_0x50b0();return a45_0x18ee=function(_0x18ee45,_0x1453f1){_0x18ee45=_0x18ee45-0x87;let _0x23ddc0=_0x50b050[_0x18ee45];return _0x23ddc0;},a45_0x18ee(_0x108e35,_0x5edee3);}const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x5b18f4(0x183)),{v4:uuidv4}=require(a45_0x5b18f4(0x133)),path=require(a45_0x5b18f4(0x12d)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x5b18f4(0xce)),{getGitMetaData,setLogLevel}=require(a45_0x5b18f4(0xd2)),TestDetails=require(a45_0x5b18f4(0x185)),fs=require('fs'),util=require(a45_0x5b18f4(0x9c)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x5b18f4(0x15d)),{FRAMEWORKS}=require(a45_0x5b18f4(0x141)),SessionHandler=require(a45_0x5b18f4(0x108)),{appendTesthubParams}=require(a45_0x5b18f4(0x163)),helper=require(a45_0x5b18f4(0xd2)),BrowserstackCLI=require(a45_0x5b18f4(0x115)),TestFrameworkState=require(a45_0x5b18f4(0x178)),HookState=require(a45_0x5b18f4(0xcc)),TestInfo=require(a45_0x5b18f4(0xa4)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x5b18f4(0x14d));class MyReporter{constructor(_0x1512d8){const _0x497cce=a45_0x5b18f4,_0x310f4e={'cNcDV':_0x497cce(0xda),'mzmmq':_0x497cce(0x8e),'nmUmX':function(_0x1fab95,_0x3cb4d9,_0x4023fd,_0x3a2568){return _0x1fab95(_0x3cb4d9,_0x4023fd,_0x3a2568);}},_0x29fb8f=_0x310f4e[_0x497cce(0x18b)]['split']('|');let _0x1b4289=0x0;while(!![]){switch(_0x29fb8f[_0x1b4289++]){case'0':this[_0x497cce(0x148)]=null;continue;case'1':this[_0x497cce(0xad)]=[];continue;case'2':this['_testHooksMap']={};continue;case'3':process[_0x497cce(0x181)][_0x497cce(0x166)]&&(PerformanceTester['startMonitoring'](_0x310f4e[_0x497cce(0x194)]),process[_0x497cce(0x181)][_0x497cce(0x142)]=new Date()[_0x497cce(0x9f)]());continue;case'4':this[_0x497cce(0x17a)]=_0x1512d8;continue;case'5':const _0x5abcaa={};_0x5abcaa[_0x497cce(0xc6)]=process[_0x497cce(0x181)][_0x497cce(0x117)],_0x310f4e[_0x497cce(0x19e)](setLogLevel,_0x5abcaa,new Map(),new Map());continue;case'6':this['_gitConfigured']=![];continue;case'7':this[_0x497cce(0xbc)]={};continue;}break;}}async[a45_0x5b18f4(0xf6)](){const _0x3702f2=a45_0x5b18f4,_0xb5a7d7={};_0xb5a7d7[_0x3702f2(0x18a)]=_0x3702f2(0x105);const _0x1f1f50=_0xb5a7d7;TestDetails[_0x3702f2(0x14a)](),await this[_0x3702f2(0xb7)](),TestInfo['setup'](_0x1f1f50[_0x3702f2(0x18a)]);if(BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x93)]()){await BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x13f)]()[_0x3702f2(0xb8)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async[a45_0x5b18f4(0x138)](_0x2a06c3,_0x4c40f4){const _0x45814d=a45_0x5b18f4,_0x3b397e={'wIilx':function(_0x1d9f83,_0x715d84){return _0x1d9f83(_0x715d84);},'JHGEf':function(_0xd339d5,_0x274d0b,_0x3da39f){return _0xd339d5(_0x274d0b,_0x3da39f);},'sjaZu':_0x45814d(0x18e)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1dbaa1={};_0x1dbaa1[_0x45814d(0x110)]=_0x2a06c3,_0x1dbaa1['result']=_0x4c40f4,await BrowserstackCLI['getInstance']()[_0x45814d(0x13f)]()['trackEvent'](TestFrameworkState[_0x45814d(0x15e)],HookState['PRE'],_0x1dbaa1);return;}const _0x49e3a7=_0x3b397e[_0x45814d(0xbb)](getTestIdentifier,_0x2a06c3),_0x188e58=TestDetails[_0x45814d(0x174)](_0x3b397e[_0x45814d(0xe5)](getTestRunIdentifier,_0x2a06c3,_0x4c40f4[_0x45814d(0xef)]));process[_0x45814d(0x181)][_0x45814d(0x10b)]=_0x188e58;const _0x58ef1e={};_0x58ef1e[_0x45814d(0x133)]=_0x188e58,_0x58ef1e[_0x45814d(0xa5)]=_0x4c40f4[_0x45814d(0x14e)],this[_0x45814d(0xbc)][_0x49e3a7]=_0x58ef1e,_0x3b397e[_0x45814d(0xbb)](trace,_0x45814d(0xfa)+_0x49e3a7),await this[_0x45814d(0xfd)](_0x2a06c3,_0x3b397e[_0x45814d(0x187)],_0x4c40f4);}async[a45_0x5b18f4(0xcb)](_0x300918,_0x1a2c2f,_0x128447){const _0x4c292f=a45_0x5b18f4,_0x1123bb={'GxnSv':function(_0x1b91f2,_0x27b914,_0x360ae6){return _0x1b91f2(_0x27b914,_0x360ae6);},'YxMNg':function(_0x4060d4,_0xb65e6b){return _0x4060d4(_0xb65e6b);},'qRTym':_0x4c292f(0x180)};if(!this[_0x4c292f(0x15c)](_0x128447,_0x300918))return;if(BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x93)]()){const _0x68a8ca=this[_0x4c292f(0x168)](_0x128447[_0x4c292f(0x19c)]),_0x536c3d=TestFrameworkState[_0x68a8ca],_0xe1972e={};_0xe1972e['test']=_0x300918,_0xe1972e[_0x4c292f(0x14c)]=_0x1a2c2f,_0xe1972e[_0x4c292f(0x8f)]=_0x128447,await BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x13f)]()[_0x4c292f(0xb8)](_0x536c3d,HookState[_0x4c292f(0x11b)],_0xe1972e);return;}const _0x2a4363=this['setStepIdentifier'](_0x300918,_0x128447);this[_0x4c292f(0xbc)][_0x2a4363]={'uuid':TestDetails['getTestUUID'](_0x2a4363),'startedAt':_0x128447[_0x4c292f(0x14e)][_0x4c292f(0x9f)]()};const _0x3e05f8=_0x1123bb[_0x4c292f(0x122)](getTestRunIdentifier,_0x300918,_0x1a2c2f[_0x4c292f(0xef)]);!this[_0x4c292f(0x172)][_0x3e05f8]&&(this[_0x4c292f(0x172)][_0x3e05f8]=[]),this['_testHooksMap'][_0x3e05f8]['push'](this[_0x4c292f(0xbc)][_0x2a4363][_0x4c292f(0x133)]),_0x1123bb['YxMNg'](trace,_0x4c292f(0x19a)+_0x2a4363+'\x20is\x20triggered\x20for\x20test\x20'+_0x3e05f8),await this['sendHookRunEvent'](_0x300918,_0x128447,_0x1123bb[_0x4c292f(0x89)],_0x1a2c2f);}async[a45_0x5b18f4(0xd0)](_0x434173,_0x1bb70f,_0x2f250b){const _0x2f7fb0=a45_0x5b18f4,_0x8db3fa={'uuOez':function(_0x4392c0,_0x4d3e80){return _0x4392c0+_0x4d3e80;},'teNsw':function(_0x9bcf08,_0xd1438a){return _0x9bcf08(_0xd1438a);},'CoUMb':_0x2f7fb0(0x165)};if(!this[_0x2f7fb0(0x15c)](_0x2f250b,_0x434173))return;if(BrowserstackCLI[_0x2f7fb0(0x177)]()[_0x2f7fb0(0x93)]()){const _0x36f616=this['getHookType'](_0x2f250b[_0x2f7fb0(0x19c)]),_0x23912f=TestFrameworkState[_0x36f616],_0x3467c7={};_0x3467c7[_0x2f7fb0(0x110)]=_0x434173,_0x3467c7[_0x2f7fb0(0x14c)]=_0x1bb70f,_0x3467c7[_0x2f7fb0(0x8f)]=_0x2f250b,await BrowserstackCLI['getInstance']()[_0x2f7fb0(0x13f)]()[_0x2f7fb0(0xb8)](_0x23912f,HookState[_0x2f7fb0(0xe3)],_0x3467c7);return;}const _0x57c54c=this[_0x2f7fb0(0xc2)](_0x434173,_0x2f250b);this[_0x2f7fb0(0xbc)][_0x57c54c]={...this[_0x2f7fb0(0xbc)][_0x57c54c]||{},'finishedAt':new Date(_0x8db3fa[_0x2f7fb0(0x97)](_0x2f250b['startTime'][_0x2f7fb0(0x11f)](),_0x2f250b[_0x2f7fb0(0xf9)]))},_0x8db3fa[_0x2f7fb0(0xfe)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x57c54c+_0x2f7fb0(0x150)),await this[_0x2f7fb0(0x12c)](_0x434173,_0x2f250b,_0x8db3fa[_0x2f7fb0(0x17f)],_0x1bb70f);}async[a45_0x5b18f4(0xdd)](_0x412191,_0x5a605a){const _0xaf0cf6=a45_0x5b18f4,_0x28b826={'cTZmG':function(_0x1dce00,_0x1fad6c){return _0x1dce00===_0x1fad6c;},'EnNqJ':'screenshot','CuCng':'TEST_SCREENSHOT','Prwmo':_0xaf0cf6(0xb4),'PXdWJ':function(_0x391a4f,_0x5000cd){return _0x391a4f(_0x5000cd);},'pIbpf':function(_0x2648a5,_0x297031,_0x293ce6){return _0x2648a5(_0x297031,_0x293ce6);},'JKdcG':_0xaf0cf6(0x139),'nnSyP':function(_0x479e5d,_0x1773d9){return _0x479e5d(_0x1773d9);},'hXeHO':_0xaf0cf6(0xd4),'YLCIx':function(_0x4210bd,_0x1ff18f){return _0x4210bd(_0x1ff18f);},'pJeJr':_0xaf0cf6(0x104),'ToBLC':function(_0x21872d,_0x59863a){return _0x21872d>_0x59863a;}};if(BrowserstackCLI['getInstance']()[_0xaf0cf6(0x93)]()){const _0x414761={};_0x414761[_0xaf0cf6(0x110)]=_0x412191,_0x414761[_0xaf0cf6(0x14c)]=_0x5a605a,this['_trackedEvents'][_0xaf0cf6(0xd5)](BrowserstackCLI['getInstance']()[_0xaf0cf6(0x13f)]()[_0xaf0cf6(0xb8)](TestFrameworkState['TEST'],HookState['POST'],_0x414761));return;}const _0x500288=_0x28b826[_0xaf0cf6(0x13c)](getTestIdentifier,_0x412191),_0x213dc3=TestDetails[_0xaf0cf6(0x174)](_0x28b826[_0xaf0cf6(0x175)](getTestRunIdentifier,_0x412191,_0x5a605a['retry']));this['_tests'][_0x500288]={...this[_0xaf0cf6(0xbc)][_0x500288]||{},'finishedAt':new Date()['toISOString']()},_0x28b826['PXdWJ'](debug,_0xaf0cf6(0xc3)+_0x500288);try{await this[_0xaf0cf6(0xfd)](_0x412191,_0x28b826[_0xaf0cf6(0x100)],_0x5a605a);}catch(_0x37a3a8){_0x28b826['nnSyP'](debug,util['format'](_0x28b826['hXeHO'],_0x37a3a8['toString']()));}try{_0x28b826[_0xaf0cf6(0x129)](debug,_0xaf0cf6(0xa0)+_0x213dc3),await _0x28b826[_0xaf0cf6(0x175)](sendTraceZip,_0x5a605a,_0x213dc3);}catch(_0x4daa4c){_0x28b826[_0xaf0cf6(0x157)](debug,util[_0xaf0cf6(0x136)](_0x28b826[_0xaf0cf6(0x16e)],_0x4daa4c['toString']()));}const _0x128708=[];_0x5a605a['attachments']&&_0x5a605a[_0xaf0cf6(0xd3)]['map'](_0x5ef84a=>{const _0xcb2944=_0xaf0cf6;if(_0x28b826[_0xcb2944(0xc5)](_0x5ef84a['name'],_0x28b826[_0xcb2944(0x18d)])){if(!_0x5ef84a[_0xcb2944(0x12d)]||!fs[_0xcb2944(0xcf)](_0x5ef84a['path']))return;_0x128708[_0xcb2944(0xd5)]({'test_run_uuid':_0x213dc3,'timestamp':fs[_0xcb2944(0x118)](_0x5ef84a[_0xcb2944(0x12d)])[_0xcb2944(0x179)],'kind':_0x28b826[_0xcb2944(0x99)],'message':fs[_0xcb2944(0xd9)](_0x5ef84a[_0xcb2944(0x12d)],{'encoding':_0x28b826[_0xcb2944(0xaa)]})});}}),_0x28b826[_0xaf0cf6(0x197)](_0x128708['length'],0x0)&&await MyReporter['reportLogs'](_0x128708);}async[a45_0x5b18f4(0x134)](){const _0x8798fd=a45_0x5b18f4;await RequestQueueHandler[_0x8798fd(0x177)]()[_0x8798fd(0x151)]();}async[a45_0x5b18f4(0x137)](_0x21f036){const _0x52dca6=a45_0x5b18f4,_0x1b4277={'iCCyS':function(_0x3d2ea8){return _0x3d2ea8();},'OVpfN':function(_0x3a7269,_0x2de0ab){return _0x3a7269(_0x2de0ab);}};await Promise['all'](this[_0x52dca6(0xad)]),await this[_0x52dca6(0x134)]();try{process[_0x52dca6(0x181)][_0x52dca6(0x166)]&&await _0x1b4277[_0x52dca6(0x9b)](calculatePerformance);}catch(_0x2ce190){_0x1b4277[_0x52dca6(0x9a)](debug,_0x52dca6(0x12f)+_0x2ce190[_0x52dca6(0xac)]());}}static async[a45_0x5b18f4(0xb1)](_0xbc43ab,_0x578c52){const _0x15e38a=a45_0x5b18f4;_0x578c52[_0x15e38a(0xfb)]=TestDetails[_0x15e38a(0x174)](_0xbc43ab),await this[_0x15e38a(0x159)]([_0x578c52]);}static async['reportLogs'](_0x356e33){const _0x24b8b7=a45_0x5b18f4,_0x527d5a={};_0x527d5a['ZnTVV']='LogCreated';const _0x32547f=_0x527d5a;if(BrowserstackCLI[_0x24b8b7(0x177)]()['isRunning']())return;const _0x4de86b={};_0x4de86b['event_type']=_0x32547f[_0x24b8b7(0xdb)],_0x4de86b[_0x24b8b7(0x145)]=_0x356e33,await SessionHandler[_0x24b8b7(0x17d)](_0x4de86b);}async[a45_0x5b18f4(0x12c)](_0xedb763,_0x13c83b,_0x52ddd0,_0x4b52d7){const _0x15a91c=a45_0x5b18f4,_0x2ccb7a={'jbJlU':_0x15a91c(0x102),'OWFgB':_0x15a91c(0xca),'ctxsI':'pending','dTfcr':function(_0x3506f0,_0x1f9faf){return _0x3506f0>=_0x1f9faf;},'DWgnZ':function(_0x35472a,_0x51e17c){return _0x35472a===_0x51e17c;},'rVbtc':_0x15a91c(0x165),'luqMz':function(_0x3ada30,_0x4a333a){return _0x3ada30>_0x4a333a;},'AGpqd':_0x15a91c(0xa7),'EijhK':function(_0x476ab0,_0x2ba232){return _0x476ab0(_0x2ba232);},'opafn':function(_0x25075b,_0x213b01,_0x532720){return _0x25075b(_0x213b01,_0x532720);},'kLOLy':_0x15a91c(0xc0),'iusCa':function(_0x5f22ee,_0x17a369){return _0x5f22ee===_0x17a369;},'rqGeT':_0x15a91c(0x16f)},_0x179393=this[_0x15a91c(0xc2)](_0xedb763,_0x13c83b),_0x55366c=this[_0x15a91c(0xbc)][_0x179393],_0x325ed0={'uuid':_0x55366c[_0x15a91c(0x133)],'type':_0x2ccb7a[_0x15a91c(0x120)],'hook_type':this[_0x15a91c(0x168)](_0x13c83b[_0x15a91c(0x19c)]),'name':_0x13c83b[_0x15a91c(0x19c)],'scope':this[_0x15a91c(0x193)](_0x13c83b),'scopes':this['getHierarchy'](_0xedb763),'body':{'lang':_0x2ccb7a[_0x15a91c(0x13b)],'code':null},'identifier':_0x179393,'file_name':path[_0x15a91c(0xa2)](process[_0x15a91c(0x161)](),_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]),'location':path[_0x15a91c(0xa2)](process['cwd'](),_0xedb763[_0x15a91c(0xee)]['file']),'result':_0x2ccb7a[_0x15a91c(0xb5)],'duration_in_ms':_0x2ccb7a[_0x15a91c(0x196)](_0x13c83b[_0x15a91c(0xf9)],0x0)?_0x13c83b[_0x15a91c(0xf9)]:undefined,'vc_filepath':this[_0x15a91c(0x148)]&&_0xedb763[_0x15a91c(0xee)]['file']?path['relative'](this['_gitConfigPath'],_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]):undefined,'started_at':_0x55366c['startedAt'],'finished_at':_0x55366c[_0x15a91c(0x153)],'framework':FRAMEWORKS[_0x15a91c(0x10d)]};if(_0x2ccb7a[_0x15a91c(0x192)](_0x52ddd0,_0x2ccb7a['rVbtc'])){const {steps:_0x5827a3,logs:_0x2dacb9}=this[_0x15a91c(0x16b)](_0x13c83b[_0x15a91c(0xe4)],_0x55366c[_0x15a91c(0x133)],_0x2ccb7a['jbJlU']);_0x2dacb9&&_0x2ccb7a[_0x15a91c(0x15b)](_0x2dacb9['length'],0x0)&&await MyReporter[_0x15a91c(0x159)](_0x2dacb9);const _0x597f85={};_0x597f85[_0x15a91c(0xe4)]=_0x5827a3,_0x325ed0[_0x15a91c(0xae)]=_0x597f85;if(_0x13c83b[_0x15a91c(0xb2)]){_0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0xc8)],_0x325ed0[_0x15a91c(0x15f)]=_0x2ccb7a[_0x15a91c(0x131)](removeAnsiColors,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]),_0x325ed0[_0x15a91c(0xe8)]=_0x2ccb7a[_0x15a91c(0x131)](getFailureType,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]);const _0x423196=_0x2ccb7a[_0x15a91c(0x146)](failureData,_0x13c83b['error'],_0x2ccb7a[_0x15a91c(0x106)]);if(_0x423196&&_0x2ccb7a[_0x15a91c(0x195)](_0x423196['length'],0x0)){const _0x445e88={};_0x445e88['backtrace']=[_0x325ed0[_0x15a91c(0x15f)]],_0x445e88[_0x15a91c(0x10e)]=[],_0x423196['push'](_0x445e88);}_0x325ed0['failure']=_0x423196;}else _0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0x94)];}const _0x2b4911={};_0x2b4911['event_type']=_0x52ddd0,_0x2b4911['hook_run']=_0x325ed0;const _0x4e3f16=_0x2b4911;await SessionHandler[_0x15a91c(0x17d)](_0x4e3f16);}[a45_0x5b18f4(0x16b)](_0x26be08,_0x191e39,_0x54c905){const _0xfafe5c=a45_0x5b18f4,_0x4c555a={'SdVkY':function(_0xce86d0,_0x5a8faa){return _0xce86d0===_0x5a8faa;},'YjXjw':_0xfafe5c(0x102),'pJAxK':_0xfafe5c(0x144),'HXjQj':function(_0x574167,_0x571087){return _0x574167===_0x571087;},'SwQSR':_0xfafe5c(0x135),'nCZlP':_0xfafe5c(0x110),'xBdWi':_0xfafe5c(0xfb),'Nulnp':'hook_run_uuid','JNxjd':'TEST_STEP','ZksPi':_0xfafe5c(0xa7),'FmVoG':'passed','aPKSm':function(_0xd40d3e,_0x2e0d9e){return _0xd40d3e(_0x2e0d9e);},'pJlCA':function(_0x459a92,_0x35ad23){return _0x459a92(_0x35ad23);},'rqRcJ':function(_0xa1db9c){return _0xa1db9c();},'qXXhp':function(_0x591bb2,_0x1ff1fe){return _0x591bb2(_0x1ff1fe);},'MVEiw':function(_0x3f6287,_0x5331d3,_0x28fe1a){return _0x3f6287(_0x5331d3,_0x28fe1a);},'XjUxu':function(_0x4d22c8,_0x1eec51,_0x8c3bbf){return _0x4d22c8(_0x1eec51,_0x8c3bbf);}},_0xc94d30=[],_0x3b5ce7=[],_0x2cde11=_0x26be08['filter'](_0x4f64c2=>{const _0xd6ba6=_0xfafe5c;if(_0x4c555a['SdVkY'](_0x4f64c2[_0xd6ba6(0xd7)],_0x4c555a[_0xd6ba6(0x19d)])&&(_0x4c555a[_0xd6ba6(0xe2)](_0x4f64c2['title'],_0x4c555a[_0xd6ba6(0xd1)])||_0x4c555a[_0xd6ba6(0x92)](_0x4f64c2[_0xd6ba6(0x19c)],_0x4c555a['SwQSR'])))return![];return!![];}),_0x1ef8a3=(_0x1b3f6e,_0x3ca09b=![])=>{const _0x439c43=_0xfafe5c;if(_0x4c555a[_0x439c43(0x92)](_0x1b3f6e[_0x439c43(0xe4)][_0x439c43(0x171)],0x0)){const _0x4869c7=_0x4c555a[_0x439c43(0x92)](_0x54c905,_0x4c555a[_0x439c43(0x15a)])?_0x4c555a[_0x439c43(0x167)]:_0x4c555a[_0x439c43(0x98)];_0x3b5ce7[_0x439c43(0xd5)]({'kind':_0x4c555a[_0x439c43(0x156)],[_0x4869c7]:_0x191e39,'message':_0x1b3f6e['title'],'timestamp':_0x1b3f6e[_0x439c43(0x14e)]['toISOString'](),'level':_0x1b3f6e['error']?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'duration':_0x1b3f6e[_0x439c43(0xf9)],'failure':_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a[_0x439c43(0xc7)](removeAnsiColors,_0x1b3f6e['error'][_0x439c43(0x160)]),'failure_type':_0x4c555a[_0x439c43(0x130)](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});}else{!_0x3ca09b&&_0xc94d30[_0x439c43(0xd5)]({'id':_0x4c555a[_0x439c43(0x8a)](uuidv4),'text':_0x1b3f6e[_0x439c43(0x19c)],'keyword':undefined,'started_at':_0x1b3f6e['startTime'][_0x439c43(0x9f)](),'duration':_0x1b3f6e[_0x439c43(0xf9)],'result':_0x1b3f6e[_0x439c43(0xb2)]?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'failure':_0x1b3f6e['error']&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a['qXXhp'](removeAnsiColors,_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]),'failure_type':_0x4c555a['pJlCA'](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});for(const _0x10a31d of _0x1b3f6e[_0x439c43(0xe4)]){_0x4c555a[_0x439c43(0x17e)](_0x1ef8a3,_0x10a31d,!![]);}}};for(const _0x24b5e2 of _0x2cde11){_0x4c555a[_0xfafe5c(0xe9)](_0x1ef8a3,_0x24b5e2,![]);}const _0x2c0423={};return _0x2c0423[_0xfafe5c(0xe4)]=_0xc94d30,_0x2c0423[_0xfafe5c(0x145)]=_0x3b5ce7,_0x2c0423;}async['sendTestRunEvent'](_0x4a818e,_0x7c09,_0x264198){const _0x485a27=a45_0x5b18f4,_0x417789={'wDgDu':function(_0x5e05ca,_0x2fb75c){return _0x5e05ca(_0x2fb75c);},'YRKfU':_0x485a27(0xbd),'pteQT':_0x485a27(0x110),'bOVas':_0x485a27(0xca),'RiBuS':_0x485a27(0x8b),'foSHq':function(_0x22d8d2,_0x1e13a0){return _0x22d8d2(_0x1e13a0);},'HgPqI':function(_0x1928a5,_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f){return _0x1928a5(_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f);},'HhJWP':function(_0x118bae,_0x22c7d5){return _0x118bae>_0x22c7d5;},'eyafg':function(_0x1bcd59,_0x502176,_0x35d25e){return _0x1bcd59(_0x502176,_0x35d25e);},'TMUoD':function(_0x8b93c7,_0x35ab33){return _0x8b93c7-_0x35ab33;},'YAbhf':function(_0x21e41e,_0x4f5e84){return _0x21e41e===_0x4f5e84;},'JPEXz':_0x485a27(0x139),'ASRYo':function(_0x28229f,_0x368652){return _0x28229f===_0x368652;},'cTdKS':function(_0x5531da,_0x3aa572){return _0x5531da===_0x3aa572;},'UjyfE':_0x485a27(0x152),'gGONJ':_0x485a27(0x16f),'Eegpy':function(_0xb0dd11,_0x15b7a5){return _0xb0dd11===_0x15b7a5;},'YkpLm':_0x485a27(0xa7),'qTLef':_0x485a27(0xf5),'lPVvh':function(_0x3ebf0d,_0x5d165b){return _0x3ebf0d===_0x5d165b;},'UmqNa':function(_0x1e42fd,_0x1542a7){return _0x1e42fd===_0x1542a7;},'rbHBX':_0x485a27(0x128),'qAihw':function(_0x19e0c0,_0x2a0ae0){return _0x19e0c0(_0x2a0ae0);},'IzgxH':_0x485a27(0x12d),'mpLOD':function(_0x1af0e3,_0x339373){return _0x1af0e3(_0x339373);},'MUPke':function(_0x3f4297,_0x2b9b8d){return _0x3f4297(_0x2b9b8d);},'jPdqL':_0x485a27(0x101),'wrWTc':_0x485a27(0x11d),'QnIvc':function(_0x85feaf,_0x299316){return _0x85feaf(_0x299316);},'xHCum':function(_0x23d8e,_0x27a6f3){return _0x23d8e!==_0x27a6f3;}},_0x1e38cd=_0x417789['wDgDu'](getTestIdentifier,_0x4a818e),_0x472383=this[_0x485a27(0x193)](_0x4a818e),_0xa52236=this[_0x485a27(0xbc)][_0x1e38cd],_0x41a59b=path[_0x485a27(0xa2)](process[_0x485a27(0x161)](),_0x4a818e[_0x485a27(0xee)]['file']);await this[_0x485a27(0xb7)]();const _0x7005b1={'uuid':_0xa52236[_0x485a27(0x133)],'type':_0x417789[_0x485a27(0x18c)],'name':_0x4a818e[_0x485a27(0x19c)],'body':{'lang':_0x417789['bOVas'],'code':_0x4a818e['fn'][_0x485a27(0xac)]()},'scope':_0x472383,'scopes':this['getHierarchy'](_0x4a818e),'identifier':_0x1e38cd,'file_name':_0x41a59b,'location':_0x41a59b,'result':_0x417789['RiBuS'],'duration_in_ms':_0x264198&&_0x264198['duration']?_0x264198[_0x485a27(0xf9)]:null,'vc_filepath':this[_0x485a27(0x148)]&&_0x4a818e['location']['file']?path[_0x485a27(0xa2)](this[_0x485a27(0x148)],_0x4a818e[_0x485a27(0xee)][_0x485a27(0x149)]):undefined,'started_at':_0xa52236[_0x485a27(0xa5)],'finished_at':_0xa52236[_0x485a27(0x153)],'framework':FRAMEWORKS[_0x485a27(0x10d)],'customRerunParam':{'rerun_name':this[_0x485a27(0x11c)](_0x4a818e)},'tags':_0x417789[_0x485a27(0x190)](getTestTags,_0x4a818e)};_0x417789[_0x485a27(0x18f)](appendTesthubParams,_0x7005b1,_0x7c09,_0x4a818e,FRAMEWORKS[_0x485a27(0x10d)]);_0x264198&&_0x417789[_0x485a27(0xed)](_0x264198[_0x485a27(0xef)],0x0)&&(_0x7005b1[_0x485a27(0xe1)]=TestDetails[_0x485a27(0x174)](_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x417789[_0x485a27(0xfc)](_0x264198['retry'],0x1))));if(_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])){_0x7005b1[_0x485a27(0x14c)]=_0x264198[_0x485a27(0xf2)];if(_0x417789[_0x485a27(0x191)](_0x264198[_0x485a27(0xf2)],_0x4a818e['expectedStatus']))_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0x140)](_0x264198['status'],_0x417789['UjyfE'])?_0x417789[_0x485a27(0x9e)]:_0x417789[_0x485a27(0x199)];else{(_0x417789[_0x485a27(0xb6)](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x199)])||_0x417789[_0x485a27(0xb6)](_0x7005b1['result'],_0x417789[_0x485a27(0xec)])||_0x417789['ASRYo'](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x173)]))&&(_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0xec)]);if(_0x417789[_0x485a27(0x95)](_0x264198[_0x485a27(0xf2)],_0x417789[_0x485a27(0x199)])&&_0x417789[_0x485a27(0x16a)](_0x4a818e[_0x485a27(0x114)],_0x417789[_0x485a27(0xec)])){const _0x568b36={};_0x568b36[_0x485a27(0x160)]=_0x417789[_0x485a27(0x96)],_0x568b36[_0x485a27(0xe7)]=_0x417789['rbHBX'],_0x264198[_0x485a27(0xb2)]=_0x568b36,_0x264198[_0x485a27(0xb3)]=[_0x264198[_0x485a27(0xb2)]];}}const _0x14d073=_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x264198[_0x485a27(0xef)]);_0x7005b1['hooks']=this[_0x485a27(0x172)][_0x14d073];const {steps:_0x2e7622,logs:_0x4dd16d}=this[_0x485a27(0x16b)](_0x264198[_0x485a27(0xe4)],_0xa52236['uuid'],_0x417789[_0x485a27(0x18c)]);await MyReporter[_0x485a27(0x159)](_0x4dd16d);const _0x2b7f9f={};_0x2b7f9f[_0x485a27(0xe4)]=_0x2e7622,_0x7005b1[_0x485a27(0xae)]=_0x2b7f9f;if(_0x264198[_0x485a27(0xb2)]){_0x7005b1['failure_reason']=_0x417789[_0x485a27(0xaf)](removeAnsiColors,_0x264198[_0x485a27(0xb2)]['message']),_0x7005b1['failure_type']=_0x417789[_0x485a27(0xaf)](getFailureType,_0x264198['error'][_0x485a27(0x160)]);const _0x4b5a30={};_0x4b5a30['test_run_uuid']=_0xa52236[_0x485a27(0x133)];const {failureData:_0x30b48c,logs:_0x14334b}=_0x417789[_0x485a27(0xde)](getFailureData,_0x264198[_0x485a27(0xb3)],_0x4b5a30);if(_0x30b48c&&_0x417789[_0x485a27(0xf1)](_0x30b48c[_0x485a27(0x171)],0x0)){const _0x167185={};_0x167185[_0x485a27(0x13e)]=[_0x7005b1[_0x485a27(0x15f)]],_0x167185[_0x485a27(0x10e)]=[],_0x30b48c[_0x485a27(0xd5)](_0x167185);}_0x7005b1[_0x485a27(0x10f)]=_0x30b48c,_0x14334b&&_0x417789[_0x485a27(0xed)](_0x14334b[_0x485a27(0x171)],0x0)&&await MyReporter['reportLogs'](_0x14334b);}}let _0x2d0540=_0x417789[_0x485a27(0xde)](findNestedKey,_0x264198,_0x417789[_0x485a27(0x88)]);if(_0x2d0540&&_0x417789['mpLOD'](validateFilePath,_0x2d0540))_0x417789[_0x485a27(0x123)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540);else{const _0x24975c=path[_0x485a27(0x109)](helper[_0x485a27(0xa3)](),_0x417789[_0x485a27(0x116)]);!fs['existsSync'](_0x24975c)&&fs['mkdirSync'](_0x24975c),fs[_0x485a27(0xcf)](path['join'](_0x24975c,_0x485a27(0xd8)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x14b)))&&(_0x2d0540=fs[_0x485a27(0xd9)](path[_0x485a27(0x109)](_0x24975c,'trace_'+_0xa52236['uuid']+_0x485a27(0x14b)),_0x417789[_0x485a27(0x8d)]),_0x417789[_0x485a27(0x19b)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540));}const _0x358c0e={};_0x358c0e['event_type']=_0x7c09,_0x358c0e[_0x485a27(0x8c)]=_0x7005b1;const _0x1c677c=_0x358c0e;_0x2d0540&&_0x417789[_0x485a27(0x188)](_0x2d0540,'')&&_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])&&(!_0x1c677c['logs']&&(_0x1c677c['logs']=[]),_0x2d0540[_0x485a27(0x189)]('\x0a')['forEach'](_0x22be95=>{const _0x2fee39=_0x485a27;_0x22be95&&_0x417789[_0x2fee39(0xcd)](validateFilePath,_0x22be95)&&_0x1c677c[_0x2fee39(0x145)][_0x2fee39(0xd5)]({'kind':_0x417789[_0x2fee39(0x121)],'timestamp':new Date()[_0x2fee39(0x9f)](),'test_run_uuid':_0xa52236[_0x2fee39(0x133)],'file_name':path['basename'](_0x22be95),'file_size':fs['statSync'](_0x22be95)[_0x2fee39(0x16d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x485a27(0x17d)](_0x1c677c);}[a45_0x5b18f4(0x11c)](_0x3fd8a0){const _0x2ae58d=a45_0x5b18f4,_0x35fb5a={};_0x35fb5a['PzNmB']=function(_0x9b6bb9,_0x4c41ce){return _0x9b6bb9===_0x4c41ce;},_0x35fb5a['eRsLJ']=function(_0x676223,_0x277862){return _0x676223>_0x277862;},_0x35fb5a[_0x2ae58d(0xdf)]=function(_0x57a52a,_0xe6583d){return _0x57a52a+_0xe6583d;};const _0x9ac24d=_0x35fb5a,_0x21acf3=_0x3fd8a0[_0x2ae58d(0xbe)]()[_0x2ae58d(0x91)](_0x1731ba=>{const _0x25ff45=_0x2ae58d;if(_0x3fd8a0['parent']&&_0x9ac24d[_0x25ff45(0x155)](_0x1731ba,_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x19c)])&&_0x3fd8a0['parent'][_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d[_0x25ff45(0xdf)](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)]['join']('\x20'));if(_0x9ac24d['PzNmB'](_0x1731ba,_0x3fd8a0['title'])&&_0x3fd8a0[_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0['_tags'][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d['CHohD'](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0x164)]['join']('\x20'));return _0x1731ba;})[_0x2ae58d(0x109)]('\x20');return _0x21acf3;}static async['sendSessionDetails'](_0x491dac,_0x20c974){const _0x4271b9=a45_0x5b18f4,_0x730216={'RZsGZ':function(_0x45f872,_0x5d7064){return _0x45f872(_0x5d7064);},'lLHOV':_0x4271b9(0x13d)},_0x547f24={'uuid':TestDetails[_0x4271b9(0x174)](_0x491dac),'integrations':_0x20c974},_0x2de7db={};_0x2de7db[_0x4271b9(0xf8)]=null,_0x730216['RZsGZ'](debug,_0x4271b9(0xf4)+_0x491dac+',\x20'+util['inspect'](_0x20c974,_0x2de7db));const _0x1866f6={};_0x1866f6['event_type']=_0x730216[_0x4271b9(0x112)],_0x1866f6['test_run']=_0x547f24,await SessionHandler[_0x4271b9(0x17d)](_0x1866f6);}async['configureGit'](){const _0x26dcfb=a45_0x5b18f4,_0x22e35b={'vkFrL':function(_0x31e370){return _0x31e370();}};if(this[_0x26dcfb(0xf7)])return;const _0x404ee1=await _0x22e35b[_0x26dcfb(0x17c)](getGitMetaData);_0x404ee1&&(this['_gitConfigPath']=_0x404ee1[_0x26dcfb(0x143)]),this[_0x26dcfb(0xf7)]=!![];}['getHierarchy'](_0x4c1f3b){const _0x39dc51=a45_0x5b18f4,_0x19e80f={};_0x19e80f[_0x39dc51(0x12b)]=function(_0x49cf56,_0x8a14a7){return _0x49cf56!==_0x8a14a7;};const _0xf5deac=_0x19e80f,_0x16ad03=[];if(_0x4c1f3b&&_0x4c1f3b['parent']){let _0x56bde2=_0x4c1f3b[_0x39dc51(0xba)];while(_0x56bde2&&_0xf5deac[_0x39dc51(0x12b)](_0x56bde2[_0x39dc51(0x19c)],'')){_0x16ad03['push'](_0x56bde2[_0x39dc51(0x19c)]),_0x56bde2=_0x56bde2[_0x39dc51(0xba)];}}return _0x16ad03[_0x39dc51(0x184)]()[_0x39dc51(0xc4)](0x0,0x2),_0x16ad03;}[a45_0x5b18f4(0x15c)](_0x3b3145){const _0x26078b=a45_0x5b18f4,_0x2791dd={};_0x2791dd[_0x26078b(0x87)]=function(_0x11d4d0,_0x1da187){return _0x11d4d0!==_0x1da187;},_0x2791dd[_0x26078b(0x14f)]=_0x26078b(0x102),_0x2791dd[_0x26078b(0x12a)]=function(_0x331858,_0x71fb29){return _0x331858===_0x71fb29;},_0x2791dd[_0x26078b(0x12e)]='beforeEach\x20hook',_0x2791dd[_0x26078b(0xe0)]=_0x26078b(0xa8),_0x2791dd[_0x26078b(0x119)]=_0x26078b(0x182),_0x2791dd[_0x26078b(0xd6)]=_0x26078b(0xa1);const _0x18b506=_0x2791dd;if(_0x18b506[_0x26078b(0x87)](_0x3b3145[_0x26078b(0xd7)],_0x18b506[_0x26078b(0x14f)]))return![];if(_0x18b506['OkWZJ']([_0x18b506['ToOOP'],_0x18b506[_0x26078b(0xe0)],_0x18b506[_0x26078b(0x119)],_0x18b506['XmdLO']][_0x26078b(0x127)](_0x3b3145[_0x26078b(0x19c)]),-0x1))return![];return!![];}[a45_0x5b18f4(0xc2)](_0x2b368f,_0x3a37b9){const _0x292f34=a45_0x5b18f4,_0x231b10={'Jjzfq':function(_0x182d2f,_0x872c4){return _0x182d2f(_0x872c4);}},_0x457116=_0x3a37b9[_0x292f34(0xeb)];if(_0x457116)return _0x457116;return _0x3a37b9[_0x292f34(0x19c)]+'\x20for\x20'+_0x231b10[_0x292f34(0x154)](getTestIdentifier,_0x2b368f);}[a45_0x5b18f4(0x132)](_0x45a9f2,_0x46f31c){const _0x7b0edc=a45_0x5b18f4,_0x20c4b7={'gFXnW':function(_0x429864,_0x215eb7){return _0x429864(_0x215eb7);},'vZnOO':function(_0xe677ad){return _0xe677ad();}};let _0x3ca7f8=_0x46f31c[_0x7b0edc(0x19c)]+_0x7b0edc(0x126)+_0x20c4b7[_0x7b0edc(0x13a)](getTestIdentifier,_0x45a9f2);return this[_0x7b0edc(0xbc)][_0x3ca7f8]&&(_0x3ca7f8=_0x3ca7f8+_0x7b0edc(0xab)+_0x20c4b7[_0x7b0edc(0x162)](uuidv4)),_0x46f31c[_0x7b0edc(0xeb)]=_0x3ca7f8,_0x3ca7f8;}[a45_0x5b18f4(0x168)]=_0x143b44=>{const _0x4a2f35=a45_0x5b18f4,_0x3449d3={};_0x3449d3[_0x4a2f35(0xf3)]='beforeEach\x20hook',_0x3449d3[_0x4a2f35(0x9d)]=_0x4a2f35(0x107),_0x3449d3[_0x4a2f35(0xc9)]='beforeAll\x20hook',_0x3449d3[_0x4a2f35(0xf0)]='BEFORE_ALL',_0x3449d3[_0x4a2f35(0x11a)]=_0x4a2f35(0xa1),_0x3449d3[_0x4a2f35(0xc1)]=_0x4a2f35(0x176),_0x3449d3[_0x4a2f35(0xff)]=_0x4a2f35(0x182),_0x3449d3[_0x4a2f35(0x16c)]=_0x4a2f35(0x124),_0x3449d3['oqBwG']=_0x4a2f35(0x10c);const _0x1cdbb2=_0x3449d3;if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xf3)]))return _0x1cdbb2[_0x4a2f35(0x9d)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xc9)]))return _0x1cdbb2['OBdLm'];else{if(_0x143b44['startsWith'](_0x1cdbb2['wRKqs']))return _0x1cdbb2[_0x4a2f35(0xc1)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2['UYYqC']))return _0x1cdbb2[_0x4a2f35(0x16c)];}}}return _0x1cdbb2['oqBwG'];};[a45_0x5b18f4(0x193)]=_0x264e39=>{const _0x4e95e8=a45_0x5b18f4,_0x306669={};_0x306669['XzobQ']=function(_0x19961d,_0x4609c8){return _0x19961d===_0x4609c8;},_0x306669['EhPym']=_0x4e95e8(0x125);const _0x189411=_0x306669;let _0x49b0cc=_0x264e39['parent'];return _0x189411[_0x4e95e8(0xb0)](typeof _0x264e39[_0x4e95e8(0xba)],_0x189411[_0x4e95e8(0xea)])&&(_0x49b0cc=_0x49b0cc[_0x4e95e8(0x19c)]),_0x49b0cc+_0x4e95e8(0xab)+_0x264e39['title'];};['printsToStdio'](){return![];}}module[a45_0x5b18f4(0x10a)]=o11yClassErrorHandler(MyReporter,[a45_0x5b18f4(0xf6),a45_0x5b18f4(0x134),a45_0x5b18f4(0x138),a45_0x5b18f4(0xdd),'onStepBegin','onStepEnd',a45_0x5b18f4(0x90)],'MyReporter');
|
|
1
|
+
function a45_0x302f(_0x21e142,_0x2c83e7){const _0x2125da=a45_0x2125();return a45_0x302f=function(_0x302fef,_0x32796c){_0x302fef=_0x302fef-0x108;let _0x20a66d=_0x2125da[_0x302fef];return _0x20a66d;},a45_0x302f(_0x21e142,_0x2c83e7);}const a45_0x102c9c=a45_0x302f;function a45_0x2125(){const _0x1d7ea4=['readFileSync','zsorG','needToReportStep','onBegin','getStepIdentifier','iCkWp','Error\x20in\x20calculating\x20performance:\x20','RMrkP','stack','RkLeR','ngsWP','sendSessionDetails','oOHLR','ZBcJw','cwd','PchYn','./pwUtils','../../../helpers/test-observability/constants','yAlhS','hook_run','../../../helpers/test-observability/sessionHandler','startedAt','utuqn','pending','_tests','UqRUO','startMonitoring','jFixb','FOxrQ','duFZC','fsrnd','onStepBegin','VcAWT','UGyzI','Test\x20Finished\x20with\x20unique\x20id\x20','afterAll\x20hook','XwbTk','QTgql','ezrhv','reportLogs','vNmcG','RoahY','status','beforeEach\x20hook','DSAjt','mkdirSync','NHZTO','location','MGWvo','POST','base64','MyReporter','parent','forEach','xVSVO','basename','FlcxO','JJjya','meta','getCustomRerunParam','errors','PRE','mejHD','3208YJRLCQ','knBSO','czSoc','BEFORE_EACH','../../../helpers/test-observability/error-handler','HookRunStarted','path','15953470uAuhXy','GWtnv','logs','onTestBegin','PcCtz','Test\x20Started\x20with\x20unique\x20id\x20','EjfTj','cqWPc','nPpWF','EKSKf','tLNdE','Fevdt','\x20is\x20triggered','125702bCuXiB','map','trace_','JOvzk','length','kltmg','titlePath','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','uuid','After\x20Hooks','env','\x20at\x20','xELey','backtrace','../../../../src/bin/utils/constants','KSaja','ENCQy','sendTestRunEvent','message','onEnd','Hook\x20Finished\x20with\x20unique\x20id\x20','ZNlWa','expectedStatus','join','ZtICP','onTestEnd','Trace\x20file\x20found\x20for\x20test:\x20','rORgt','VYLPt','Before\x20Hooks','WMrNQ','depth','./test-details','failed','../../../helpers/testhub/utils','sendHookRunEvent','iLLjF','\x20for\x20','onStepEnd','nSkaT','push','homedir','split','printsToStdio','gzDak','jdjaT','rLhmy','nYXTc','\x20-\x20','_trackedEvents','test_run_uuid','AhKUp','mebTK','step','performance-report-reporter.json','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','8491TAsONh','.txt','vQVfF','LogCreated','getTestUUID','../../../helpers/test-observability/requestQueueHandler','Nbjsx','BROWSERSTACK_LOG_LEVEL','file','_bs_hookIdentifier','tXbsn','.browserstack','KcnKn','shutdown','HbPUy','BsHpJ','size','utf8','test_run','TMEiE','_gitConfigured','whYtb','TestRunFinished','HxiFj','VXzQg','getHierarchy','HTKqD','test','AFTER_ALL','135jSyLGW','Ngwqh','HookRunFinished','INIT_TEST','toString','75342kMmDYp','result','PLAYWRIGHT','addTestUIDAndReportLog','beforeAll\x20hook','ldBVq','_gitConfigPath','NIHWG','AFTER_EACH','mMHTU','TEST_ATTACHMENT','VYbvb','rgjeQ','steps','3iufzXl','HLtKP','HIXky','PqemO','5401305VnpfJz','screenshot','xEUuJ','Playwright','attachments','options','expanded','toISOString','duration','title','category','428fGxZnr','hook','_testHooksMap','ugWsc','trackEvent','format','wSNsq','failure_reason','jNLov','inspect','event_type','javascript','statSync','failure','unknown','reverse','root','startsWith','existsSync','bBzvg','relative','afterEach\x20hook','finishedAt','TEST','QaiQp','SVPYY','../../../helpers/helper','LCyjU','cFVoB','getHookType','XlEvX','sCpvG','indexOf','getTime','jZPlV','FCjSy','jxdlp','getStepsAndLogs','mSxug','setup','Sending\x20session\x20details\x20for\x20','BROWSERSTACK_TEST_RUN_ID','configureGit','../../v2/browserstackCLI','hooks','passed','PqoyB','rjyVf','startTime','setStepIdentifier','_tags','SDYtY','uploadEventData','102495OTZmjJ','mtime','skipped','failure_type','XqyfN','../../v2/TestInfo','oHjnZ','lgLMw','endSession','name','11HZUISb','\x20is\x20triggered\x20for\x20test\x20','../../v2/state/hookState','Hook\x20Started\x20with\x20unique\x20id\x20','HVrcM','logLevel','GVgCL','getInstance','error','BROWSERSTACK_O11Y_PERF_MEASUREMENT','retry','getTestFramework','exports','pXPWn','isRunning','fBgLz','all'];a45_0x2125=function(){return _0x1d7ea4;};return a45_0x2125();}(function(_0x6e6d36,_0x49a6c8){const _0xb3dcb=a45_0x302f,_0x44a2da=_0x6e6d36();while(!![]){try{const _0x1d8a84=-parseInt(_0xb3dcb(0x12f))/0x1*(parseInt(_0xb3dcb(0x1e1))/0x2)+parseInt(_0xb3dcb(0x11c))/0x3*(-parseInt(_0xb3dcb(0x13e))/0x4)+-parseInt(_0xb3dcb(0x173))/0x5+parseInt(_0xb3dcb(0x121))/0x6+-parseInt(_0xb3dcb(0x219))/0x7*(parseInt(_0xb3dcb(0x1cd))/0x8)+-parseInt(_0xb3dcb(0x133))/0x9+parseInt(_0xb3dcb(0x1d4))/0xa*(parseInt(_0xb3dcb(0x17d))/0xb);if(_0x1d8a84===_0x49a6c8)break;else _0x44a2da['push'](_0x44a2da['shift']());}catch(_0x3a19cc){_0x44a2da['push'](_0x44a2da['shift']());}}}(a45_0x2125,0x4b117));const RequestQueueHandler=require(a45_0x102c9c(0x21e)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x102c9c(0x19e)),{v4:uuidv4}=require(a45_0x102c9c(0x1e9)),path=require(a45_0x102c9c(0x1d3)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a45_0x102c9c(0x158)),TestDetails=require(a45_0x102c9c(0x201)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a45_0x102c9c(0x1d1)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x102c9c(0x19f)),SessionHandler=require(a45_0x102c9c(0x1a2)),{appendTesthubParams}=require(a45_0x102c9c(0x203)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a45_0x102c9c(0x169)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a45_0x102c9c(0x17f)),TestInfo=require(a45_0x102c9c(0x178)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x102c9c(0x1ef));class MyReporter{constructor(_0xcdd8a1){const _0x34818d=a45_0x102c9c,_0x88ff5b={'MGWvo':'5|4|6|2|7|1|3|0','VYLPt':_0x34818d(0x217),'TIyCv':function(_0x4ae099,_0x2e844d,_0xd98b50,_0x5775be){return _0x4ae099(_0x2e844d,_0xd98b50,_0x5775be);}},_0x4c0104=_0x88ff5b[_0x34818d(0x1be)][_0x34818d(0x20b)]('|');let _0x4c04c1=0x0;while(!![]){switch(_0x4c0104[_0x4c04c1++]){case'0':this[_0x34818d(0x212)]=[];continue;case'1':this[_0x34818d(0x113)]=![];continue;case'2':this[_0x34818d(0x140)]={};continue;case'3':this[_0x34818d(0x127)]=null;continue;case'4':process[_0x34818d(0x1eb)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x34818d(0x1a8)](_0x88ff5b[_0x34818d(0x1fd)]),process[_0x34818d(0x1eb)]['START_TIME']=new Date()[_0x34818d(0x13a)]());continue;case'5':const _0xd7704f={};_0xd7704f[_0x34818d(0x182)]=process[_0x34818d(0x1eb)][_0x34818d(0x220)],_0x88ff5b['TIyCv'](setLogLevel,_0xd7704f,new Map(),new Map());continue;case'6':this['_tests']={};continue;case'7':this[_0x34818d(0x138)]=_0xcdd8a1;continue;}break;}}async[a45_0x102c9c(0x191)](){const _0x131e18=a45_0x102c9c,_0xc2f853={};_0xc2f853[_0x131e18(0x159)]=_0x131e18(0x136);const _0x2cb90e=_0xc2f853;TestDetails[_0x131e18(0x165)](),await this[_0x131e18(0x168)](),TestInfo[_0x131e18(0x165)](_0x2cb90e[_0x131e18(0x159)]);if(BrowserstackCLI['getInstance']()[_0x131e18(0x18b)]()){await BrowserstackCLI[_0x131e18(0x184)]()[_0x131e18(0x188)]()['trackEvent'](TestFrameworkState[_0x131e18(0x11f)],HookState[_0x131e18(0x1cb)],{});return;}}async[a45_0x102c9c(0x1d7)](_0x4b1694,_0x31fa33){const _0x3e43a8=a45_0x102c9c,_0x1b941b={'iLLjF':function(_0x30ed81,_0x35b0f3){return _0x30ed81(_0x35b0f3);},'ZNlWa':function(_0x433c54,_0x1727d5,_0x167276){return _0x433c54(_0x1727d5,_0x167276);},'Kfybm':function(_0x5a9536,_0x4780fb){return _0x5a9536(_0x4780fb);},'MBOjw':'TestRunStarted'};if(BrowserstackCLI[_0x3e43a8(0x184)]()[_0x3e43a8(0x18b)]()){const _0x1da213={};_0x1da213[_0x3e43a8(0x11a)]=_0x4b1694,_0x1da213['result']=_0x31fa33,await BrowserstackCLI[_0x3e43a8(0x184)]()[_0x3e43a8(0x188)]()[_0x3e43a8(0x142)](TestFrameworkState['TEST'],HookState[_0x3e43a8(0x1cb)],_0x1da213);return;}const _0x549e35=_0x1b941b[_0x3e43a8(0x205)](getTestIdentifier,_0x4b1694),_0x56560f=TestDetails['getTestUUID'](_0x1b941b[_0x3e43a8(0x1f6)](getTestRunIdentifier,_0x4b1694,_0x31fa33[_0x3e43a8(0x187)]));process[_0x3e43a8(0x1eb)][_0x3e43a8(0x167)]=_0x56560f;const _0x34f184={};_0x34f184[_0x3e43a8(0x1e9)]=_0x56560f,_0x34f184['startedAt']=_0x31fa33[_0x3e43a8(0x16e)],this['_tests'][_0x549e35]=_0x34f184,_0x1b941b['Kfybm'](trace,_0x3e43a8(0x1d9)+_0x549e35),await this['sendTestRunEvent'](_0x4b1694,_0x1b941b['MBOjw'],_0x31fa33);}async[a45_0x102c9c(0x1ad)](_0x2e2e7a,_0x258016,_0x368621){const _0x1c8014=a45_0x102c9c,_0x1c3dd3={'HVrcM':function(_0x3ff5fa,_0x44524a,_0x515014){return _0x3ff5fa(_0x44524a,_0x515014);},'XlEvX':function(_0xaea164,_0x5b1e50){return _0xaea164(_0x5b1e50);},'XwbTk':_0x1c8014(0x1d2)};if(!this[_0x1c8014(0x190)](_0x368621,_0x2e2e7a))return;if(BrowserstackCLI[_0x1c8014(0x184)]()[_0x1c8014(0x18b)]()){const _0x16d8f5=this[_0x1c8014(0x15b)](_0x368621['title']),_0x4d933c=TestFrameworkState[_0x16d8f5],_0x5de414={};_0x5de414[_0x1c8014(0x11a)]=_0x2e2e7a,_0x5de414[_0x1c8014(0x122)]=_0x258016,_0x5de414[_0x1c8014(0x216)]=_0x368621,await BrowserstackCLI[_0x1c8014(0x184)]()['getTestFramework']()[_0x1c8014(0x142)](_0x4d933c,HookState[_0x1c8014(0x1cb)],_0x5de414);return;}const _0x23dff1=this[_0x1c8014(0x16f)](_0x2e2e7a,_0x368621);this[_0x1c8014(0x1a6)][_0x23dff1]={'uuid':TestDetails[_0x1c8014(0x21d)](_0x23dff1),'startedAt':_0x368621[_0x1c8014(0x16e)][_0x1c8014(0x13a)]()};const _0x353032=_0x1c3dd3[_0x1c8014(0x181)](getTestRunIdentifier,_0x2e2e7a,_0x258016['retry']);!this[_0x1c8014(0x140)][_0x353032]&&(this[_0x1c8014(0x140)][_0x353032]=[]),this[_0x1c8014(0x140)][_0x353032]['push'](this[_0x1c8014(0x1a6)][_0x23dff1]['uuid']),_0x1c3dd3[_0x1c8014(0x15c)](trace,_0x1c8014(0x180)+_0x23dff1+_0x1c8014(0x17e)+_0x353032),await this[_0x1c8014(0x204)](_0x2e2e7a,_0x368621,_0x1c3dd3[_0x1c8014(0x1b2)],_0x258016);}async[a45_0x102c9c(0x207)](_0xb0defa,_0x431079,_0x34e365){const _0x25e3f2=a45_0x102c9c,_0x1340e7={'QaiQp':function(_0x2f1c96,_0x10b5b3){return _0x2f1c96+_0x10b5b3;},'KcnKn':function(_0x5139bc,_0x5641a5){return _0x5139bc(_0x5641a5);},'cqWPc':_0x25e3f2(0x11e)};if(!this['needToReportStep'](_0x34e365,_0xb0defa))return;if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x2b087c=this[_0x25e3f2(0x15b)](_0x34e365['title']),_0x88d6a7=TestFrameworkState[_0x2b087c],_0x419e5d={};_0x419e5d[_0x25e3f2(0x11a)]=_0xb0defa,_0x419e5d[_0x25e3f2(0x122)]=_0x431079,_0x419e5d[_0x25e3f2(0x216)]=_0x34e365,await BrowserstackCLI['getInstance']()[_0x25e3f2(0x188)]()[_0x25e3f2(0x142)](_0x88d6a7,HookState[_0x25e3f2(0x1bf)],_0x419e5d);return;}const _0x3dc60b=this[_0x25e3f2(0x192)](_0xb0defa,_0x34e365);this[_0x25e3f2(0x1a6)][_0x3dc60b]={...this[_0x25e3f2(0x1a6)][_0x3dc60b]||{},'finishedAt':new Date(_0x1340e7[_0x25e3f2(0x156)](_0x34e365[_0x25e3f2(0x16e)][_0x25e3f2(0x15f)](),_0x34e365[_0x25e3f2(0x13b)]))},_0x1340e7[_0x25e3f2(0x10b)](trace,_0x25e3f2(0x1f5)+_0x3dc60b+_0x25e3f2(0x1e0)),await this[_0x25e3f2(0x204)](_0xb0defa,_0x34e365,_0x1340e7[_0x25e3f2(0x1db)],_0x431079);}async[a45_0x102c9c(0x1fa)](_0x1f88b1,_0x3b9ad1){const _0x10cee5=a45_0x102c9c,_0x205254={'ZpuxX':function(_0x589c04,_0x2e4987){return _0x589c04===_0x2e4987;},'PqemO':_0x10cee5(0x134),'tLNdE':'TEST_SCREENSHOT','YZgOE':_0x10cee5(0x1c0),'Ngwqh':function(_0xbd41dc,_0x4927c5){return _0xbd41dc(_0x4927c5);},'bBzvg':function(_0x1fb202,_0x2d5fc4,_0x5912a6){return _0x1fb202(_0x2d5fc4,_0x5912a6);},'HIXky':function(_0x4f4aeb,_0x20da0b){return _0x4f4aeb(_0x20da0b);},'RoahY':'TestRunFinished','DSAjt':_0x10cee5(0x1e8),'BIgrT':function(_0x547fbd,_0x41526d){return _0x547fbd(_0x41526d);},'pYnaY':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','lgLMw':function(_0x2c3aed,_0x3e338a){return _0x2c3aed>_0x3e338a;}};if(BrowserstackCLI[_0x10cee5(0x184)]()[_0x10cee5(0x18b)]()){const _0x4419b8={};_0x4419b8[_0x10cee5(0x11a)]=_0x1f88b1,_0x4419b8['result']=_0x3b9ad1,this['_trackedEvents']['push'](BrowserstackCLI['getInstance']()[_0x10cee5(0x188)]()[_0x10cee5(0x142)](TestFrameworkState[_0x10cee5(0x155)],HookState[_0x10cee5(0x1bf)],_0x4419b8));return;}const _0x2311de=_0x205254[_0x10cee5(0x11d)](getTestIdentifier,_0x1f88b1),_0x4c342a=TestDetails[_0x10cee5(0x21d)](_0x205254[_0x10cee5(0x151)](getTestRunIdentifier,_0x1f88b1,_0x3b9ad1['retry']));this['_tests'][_0x2311de]={...this[_0x10cee5(0x1a6)][_0x2311de]||{},'finishedAt':new Date()[_0x10cee5(0x13a)]()},_0x205254[_0x10cee5(0x131)](debug,_0x10cee5(0x1b0)+_0x2311de);try{await this['sendTestRunEvent'](_0x1f88b1,_0x205254[_0x10cee5(0x1b7)],_0x3b9ad1);}catch(_0x24542d){_0x205254[_0x10cee5(0x131)](debug,util[_0x10cee5(0x143)](_0x205254[_0x10cee5(0x1ba)],_0x24542d['toString']()));}try{_0x205254['HIXky'](debug,_0x10cee5(0x218)+_0x4c342a),await _0x205254['bBzvg'](sendTraceZip,_0x3b9ad1,_0x4c342a);}catch(_0x3fd4a3){_0x205254['BIgrT'](debug,util[_0x10cee5(0x143)](_0x205254['pYnaY'],_0x3fd4a3[_0x10cee5(0x120)]()));}const _0x48b3d6=[];_0x3b9ad1[_0x10cee5(0x137)]&&_0x3b9ad1[_0x10cee5(0x137)][_0x10cee5(0x1e2)](_0x3e9af7=>{const _0x1aa0e6=_0x10cee5;if(_0x205254['ZpuxX'](_0x3e9af7[_0x1aa0e6(0x17c)],_0x205254[_0x1aa0e6(0x132)])){if(!_0x3e9af7[_0x1aa0e6(0x1d3)]||!fs['existsSync'](_0x3e9af7[_0x1aa0e6(0x1d3)]))return;_0x48b3d6[_0x1aa0e6(0x209)]({'test_run_uuid':_0x4c342a,'timestamp':fs['statSync'](_0x3e9af7[_0x1aa0e6(0x1d3)])[_0x1aa0e6(0x174)],'kind':_0x205254[_0x1aa0e6(0x1de)],'message':fs[_0x1aa0e6(0x18e)](_0x3e9af7[_0x1aa0e6(0x1d3)],{'encoding':_0x205254['YZgOE']})});}}),_0x205254[_0x10cee5(0x17a)](_0x48b3d6[_0x10cee5(0x1e5)],0x0)&&await MyReporter[_0x10cee5(0x1b5)](_0x48b3d6);}async[a45_0x102c9c(0x17b)](){const _0x16ce15=a45_0x102c9c;await RequestQueueHandler['getInstance']()[_0x16ce15(0x10c)]();}async[a45_0x102c9c(0x1f4)](_0x19d104){const _0x49d5cf=a45_0x102c9c,_0x1e0a76={'jFixb':function(_0x2ebef3){return _0x2ebef3();},'oHjnZ':function(_0xbc961a,_0x3262c3){return _0xbc961a(_0x3262c3);}};await Promise[_0x49d5cf(0x18d)](this[_0x49d5cf(0x212)]),await this[_0x49d5cf(0x17b)]();try{process['env'][_0x49d5cf(0x186)]&&await _0x1e0a76[_0x49d5cf(0x1a9)](calculatePerformance);}catch(_0x17a0c0){_0x1e0a76[_0x49d5cf(0x179)](debug,_0x49d5cf(0x194)+_0x17a0c0['toString']());}}static async[a45_0x102c9c(0x124)](_0x5aa2f0,_0x34cf36){const _0x4f6de8=a45_0x102c9c;_0x34cf36[_0x4f6de8(0x213)]=TestDetails[_0x4f6de8(0x21d)](_0x5aa2f0),await this['reportLogs']([_0x34cf36]);}static async[a45_0x102c9c(0x1b5)](_0x4a17d3){const _0x36e10d=a45_0x102c9c,_0x2171ea={};_0x2171ea[_0x36e10d(0x162)]=_0x36e10d(0x21c);const _0x40a6e3=_0x2171ea;if(BrowserstackCLI[_0x36e10d(0x184)]()[_0x36e10d(0x18b)]())return;const _0x235317={};_0x235317[_0x36e10d(0x148)]=_0x40a6e3['jxdlp'],_0x235317[_0x36e10d(0x1d6)]=_0x4a17d3,await SessionHandler[_0x36e10d(0x172)](_0x235317);}async[a45_0x102c9c(0x204)](_0x2e3f38,_0x4375b6,_0x179f89,_0xae3df4){const _0x5ab669=a45_0x102c9c,_0x1854b2={'phnqK':_0x5ab669(0x13f),'AhKUp':_0x5ab669(0x149),'PcCtz':_0x5ab669(0x1a5),'ZVkdZ':function(_0x22e583,_0x169e20){return _0x22e583>=_0x169e20;},'ngsWP':function(_0x5d66dd,_0x11d728){return _0x5d66dd===_0x11d728;},'duFZC':'HookRunFinished','rgjeQ':function(_0x4d5466,_0x5e2eac){return _0x4d5466>_0x5e2eac;},'mejHD':_0x5ab669(0x202),'HbPUy':function(_0x107e01,_0x52cb4f){return _0x107e01(_0x52cb4f);},'vNmcG':function(_0x2d425b,_0xc248d6,_0xc37697){return _0x2d425b(_0xc248d6,_0xc37697);},'whYtb':'err','EjfTj':_0x5ab669(0x16b)},_0x43b6c9=this['getStepIdentifier'](_0x2e3f38,_0x4375b6),_0x32d5a6=this[_0x5ab669(0x1a6)][_0x43b6c9],_0x462daa={'uuid':_0x32d5a6[_0x5ab669(0x1e9)],'type':_0x1854b2['phnqK'],'hook_type':this[_0x5ab669(0x15b)](_0x4375b6[_0x5ab669(0x13c)]),'name':_0x4375b6[_0x5ab669(0x13c)],'scope':this['getScope'](_0x4375b6),'scopes':this[_0x5ab669(0x118)](_0x2e3f38),'body':{'lang':_0x1854b2[_0x5ab669(0x214)],'code':null},'identifier':_0x43b6c9,'file_name':path[_0x5ab669(0x152)](process[_0x5ab669(0x19c)](),_0x2e3f38['location']['file']),'location':path[_0x5ab669(0x152)](process[_0x5ab669(0x19c)](),_0x2e3f38[_0x5ab669(0x1bd)][_0x5ab669(0x221)]),'result':_0x1854b2[_0x5ab669(0x1d8)],'duration_in_ms':_0x1854b2['ZVkdZ'](_0x4375b6[_0x5ab669(0x13b)],0x0)?_0x4375b6[_0x5ab669(0x13b)]:undefined,'vc_filepath':this[_0x5ab669(0x127)]&&_0x2e3f38['location'][_0x5ab669(0x221)]?path[_0x5ab669(0x152)](this[_0x5ab669(0x127)],_0x2e3f38[_0x5ab669(0x1bd)][_0x5ab669(0x221)]):undefined,'started_at':_0x32d5a6['startedAt'],'finished_at':_0x32d5a6['finishedAt'],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x1854b2[_0x5ab669(0x198)](_0x179f89,_0x1854b2[_0x5ab669(0x1ab)])){const {steps:_0x4b4b1e,logs:_0x584944}=this[_0x5ab669(0x163)](_0x4375b6[_0x5ab669(0x12e)],_0x32d5a6[_0x5ab669(0x1e9)],_0x1854b2['phnqK']);_0x584944&&_0x1854b2[_0x5ab669(0x12d)](_0x584944[_0x5ab669(0x1e5)],0x0)&&await MyReporter[_0x5ab669(0x1b5)](_0x584944);const _0x1d56e4={};_0x1d56e4['steps']=_0x4b4b1e,_0x462daa[_0x5ab669(0x1c8)]=_0x1d56e4;if(_0x4375b6[_0x5ab669(0x185)]){_0x462daa['result']=_0x1854b2[_0x5ab669(0x1cc)],_0x462daa[_0x5ab669(0x145)]=_0x1854b2[_0x5ab669(0x10d)](removeAnsiColors,_0x4375b6[_0x5ab669(0x185)]['message']),_0x462daa[_0x5ab669(0x176)]=_0x1854b2[_0x5ab669(0x10d)](getFailureType,_0x4375b6[_0x5ab669(0x185)]['message']);const _0x54c78f=_0x1854b2[_0x5ab669(0x1b6)](failureData,_0x4375b6[_0x5ab669(0x185)],_0x1854b2[_0x5ab669(0x114)]);if(_0x54c78f&&_0x1854b2[_0x5ab669(0x198)](_0x54c78f[_0x5ab669(0x1e5)],0x0)){const _0x5b2807={};_0x5b2807[_0x5ab669(0x1ee)]=[_0x462daa[_0x5ab669(0x145)]],_0x5b2807[_0x5ab669(0x139)]=[],_0x54c78f[_0x5ab669(0x209)](_0x5b2807);}_0x462daa[_0x5ab669(0x14b)]=_0x54c78f;}else _0x462daa[_0x5ab669(0x122)]=_0x1854b2[_0x5ab669(0x1da)];}const _0x2b438a={};_0x2b438a['event_type']=_0x179f89,_0x2b438a[_0x5ab669(0x1a1)]=_0x462daa;const _0x40fb88=_0x2b438a;await SessionHandler[_0x5ab669(0x172)](_0x40fb88);}[a45_0x102c9c(0x163)](_0x3fbd85,_0x2fe8c8,_0x415949){const _0x223b3f=a45_0x102c9c,_0x5eaf88={'UqRUO':function(_0x2e0b2f,_0x183f7c){return _0x2e0b2f===_0x183f7c;},'kltmg':_0x223b3f(0x13f),'XeyeE':function(_0xa8beae,_0x1a4b72){return _0xa8beae===_0x1a4b72;},'EKSKf':_0x223b3f(0x1ea),'ENCQy':_0x223b3f(0x1fe),'ezrhv':function(_0x4ce039,_0x489eb4){return _0x4ce039===_0x489eb4;},'KSaja':'test','GVgCL':_0x223b3f(0x213),'FOxrQ':'hook_run_uuid','RkLeR':'TEST_STEP','fsrnd':_0x223b3f(0x202),'rORgt':_0x223b3f(0x16b),'JOvzk':function(_0x317b32,_0x1bedb2){return _0x317b32(_0x1bedb2);},'PchYn':function(_0x16f380){return _0x16f380();},'xELey':function(_0x200b51,_0x466c04){return _0x200b51(_0x466c04);},'CfMZA':function(_0xb83340,_0x5c45e2){return _0xb83340(_0x5c45e2);},'pwurC':function(_0x7fdbf8,_0x32821c,_0x20054b){return _0x7fdbf8(_0x32821c,_0x20054b);},'jZPlV':function(_0x391a8d,_0x3dc1a9,_0x3cb682){return _0x391a8d(_0x3dc1a9,_0x3cb682);}},_0x3dd9fc=[],_0xc13fcd=[],_0x432a71=_0x3fbd85['filter'](_0x1117ba=>{const _0x481488=_0x223b3f;if(_0x5eaf88[_0x481488(0x1a7)](_0x1117ba[_0x481488(0x13d)],_0x5eaf88[_0x481488(0x1e6)])&&(_0x5eaf88['XeyeE'](_0x1117ba[_0x481488(0x13c)],_0x5eaf88[_0x481488(0x1dd)])||_0x5eaf88['UqRUO'](_0x1117ba[_0x481488(0x13c)],_0x5eaf88[_0x481488(0x1f1)])))return![];return!![];}),_0x1a9c4b=(_0x5e2b17,_0x225477=![])=>{const _0x3cc0a5=_0x223b3f;if(_0x5eaf88['ezrhv'](_0x5e2b17[_0x3cc0a5(0x12e)][_0x3cc0a5(0x1e5)],0x0)){const _0x327e33=_0x5eaf88[_0x3cc0a5(0x1b4)](_0x415949,_0x5eaf88[_0x3cc0a5(0x1f0)])?_0x5eaf88[_0x3cc0a5(0x183)]:_0x5eaf88[_0x3cc0a5(0x1aa)];_0xc13fcd[_0x3cc0a5(0x209)]({'kind':_0x5eaf88[_0x3cc0a5(0x197)],[_0x327e33]:_0x2fe8c8,'message':_0x5e2b17[_0x3cc0a5(0x13c)],'timestamp':_0x5e2b17[_0x3cc0a5(0x16e)][_0x3cc0a5(0x13a)](),'level':_0x5e2b17[_0x3cc0a5(0x185)]?_0x5eaf88[_0x3cc0a5(0x1ac)]:_0x5eaf88['rORgt'],'duration':_0x5e2b17['duration'],'failure':_0x5e2b17['error']&&_0x5e2b17[_0x3cc0a5(0x185)]['message']&&_0x5eaf88['JOvzk'](removeAnsiColors,_0x5e2b17[_0x3cc0a5(0x185)][_0x3cc0a5(0x1f3)]),'failure_type':_0x5eaf88[_0x3cc0a5(0x1e4)](getFailureType,_0x5e2b17[_0x3cc0a5(0x185)]&&_0x5e2b17[_0x3cc0a5(0x185)][_0x3cc0a5(0x1f3)])});}else{!_0x225477&&_0x3dd9fc[_0x3cc0a5(0x209)]({'id':_0x5eaf88[_0x3cc0a5(0x19d)](uuidv4),'text':_0x5e2b17[_0x3cc0a5(0x13c)],'keyword':undefined,'started_at':_0x5e2b17[_0x3cc0a5(0x16e)]['toISOString'](),'duration':_0x5e2b17[_0x3cc0a5(0x13b)],'result':_0x5e2b17['error']?_0x5eaf88[_0x3cc0a5(0x1ac)]:_0x5eaf88[_0x3cc0a5(0x1fc)],'failure':_0x5e2b17[_0x3cc0a5(0x185)]&&_0x5e2b17[_0x3cc0a5(0x185)][_0x3cc0a5(0x1f3)]&&_0x5eaf88[_0x3cc0a5(0x1ed)](removeAnsiColors,_0x5e2b17[_0x3cc0a5(0x185)][_0x3cc0a5(0x1f3)]),'failure_type':_0x5eaf88['CfMZA'](getFailureType,_0x5e2b17[_0x3cc0a5(0x185)]&&_0x5e2b17['error'][_0x3cc0a5(0x1f3)])});for(const _0x220083 of _0x5e2b17[_0x3cc0a5(0x12e)]){_0x5eaf88['pwurC'](_0x1a9c4b,_0x220083,!![]);}}};for(const _0x23dbdd of _0x432a71){_0x5eaf88[_0x223b3f(0x160)](_0x1a9c4b,_0x23dbdd,![]);}const _0x11329b={};return _0x11329b[_0x223b3f(0x12e)]=_0x3dd9fc,_0x11329b[_0x223b3f(0x1d6)]=_0xc13fcd,_0x11329b;}async[a45_0x102c9c(0x1f2)](_0x2b1b6c,_0x3d74c9,_0x4552fb){const _0x32d22a=a45_0x102c9c,_0x40baaa={'SVPYY':function(_0x127c6a,_0x1269c8){return _0x127c6a(_0x1269c8);},'bxCYC':_0x32d22a(0x12b),'VcAWT':function(_0x2c6a1e,_0x377eb0){return _0x2c6a1e(_0x377eb0);},'cFVoB':_0x32d22a(0x11a),'rjyVf':'javascript','zsorG':_0x32d22a(0x1a5),'BsHpJ':function(_0x47ee2e,_0x11ac57){return _0x47ee2e(_0x11ac57);},'Nbjsx':function(_0x5c723c,_0x5ee75e,_0x46b85a,_0x108784,_0x5c13b2){return _0x5c723c(_0x5ee75e,_0x46b85a,_0x108784,_0x5c13b2);},'pXPWn':function(_0x96ea75,_0x32a2ee){return _0x96ea75>_0x32a2ee;},'oOHLR':function(_0x105689,_0x31132f,_0x531ae1){return _0x105689(_0x31132f,_0x531ae1);},'hXnav':function(_0x13df09,_0x49afc5){return _0x13df09-_0x49afc5;},'xVSVO':function(_0x11a2db,_0x439f9c){return _0x11a2db===_0x439f9c;},'wSNsq':_0x32d22a(0x115),'FCjSy':function(_0x53917b,_0x40331b){return _0x53917b===_0x40331b;},'gzDak':_0x32d22a(0x175),'nPpWF':_0x32d22a(0x16b),'ycOoY':function(_0x4f9c7c,_0x412045){return _0x4f9c7c===_0x412045;},'vQVfF':_0x32d22a(0x202),'xEUuJ':function(_0x23eeeb,_0x13b4bb){return _0x23eeeb===_0x13b4bb;},'VXzQg':'timedOut','TMEiE':function(_0x22f7ed,_0x45c8a2){return _0x22f7ed===_0x45c8a2;},'Fevdt':'Expected\x20to\x20fail,\x20but\x20passed.','JJjya':function(_0xd54d2f,_0x59a593,_0xe9bea0){return _0xd54d2f(_0x59a593,_0xe9bea0);},'ZtICP':function(_0x31508d,_0xc2d087){return _0x31508d>_0xc2d087;},'iCkWp':function(_0x153a44,_0x394e00,_0x5369af){return _0x153a44(_0x394e00,_0x5369af);},'knBSO':_0x32d22a(0x1d3),'fBgLz':_0x32d22a(0x10a),'RMrkP':_0x32d22a(0x110),'mebTK':function(_0x97af7b,_0x3e36c5){return _0x97af7b(_0x3e36c5);},'XdKmn':function(_0x67d604,_0x5ae9a6){return _0x67d604!==_0x5ae9a6;}},_0x4cfa4b=_0x40baaa[_0x32d22a(0x1ae)](getTestIdentifier,_0x2b1b6c),_0x387dce=this['getScope'](_0x2b1b6c),_0x4d63c5=this[_0x32d22a(0x1a6)][_0x4cfa4b],_0x158b21=path[_0x32d22a(0x152)](process[_0x32d22a(0x19c)](),_0x2b1b6c[_0x32d22a(0x1bd)][_0x32d22a(0x221)]);await this[_0x32d22a(0x168)]();const _0x3cf90b={'uuid':_0x4d63c5[_0x32d22a(0x1e9)],'type':_0x40baaa[_0x32d22a(0x15a)],'name':_0x2b1b6c[_0x32d22a(0x13c)],'body':{'lang':_0x40baaa[_0x32d22a(0x16d)],'code':_0x2b1b6c['fn'][_0x32d22a(0x120)]()},'scope':_0x387dce,'scopes':this['getHierarchy'](_0x2b1b6c),'identifier':_0x4cfa4b,'file_name':_0x158b21,'location':_0x158b21,'result':_0x40baaa[_0x32d22a(0x18f)],'duration_in_ms':_0x4552fb&&_0x4552fb[_0x32d22a(0x13b)]?_0x4552fb[_0x32d22a(0x13b)]:null,'vc_filepath':this[_0x32d22a(0x127)]&&_0x2b1b6c[_0x32d22a(0x1bd)][_0x32d22a(0x221)]?path[_0x32d22a(0x152)](this[_0x32d22a(0x127)],_0x2b1b6c[_0x32d22a(0x1bd)][_0x32d22a(0x221)]):undefined,'started_at':_0x4d63c5[_0x32d22a(0x1a3)],'finished_at':_0x4d63c5[_0x32d22a(0x154)],'framework':FRAMEWORKS[_0x32d22a(0x123)],'customRerunParam':{'rerun_name':this[_0x32d22a(0x1c9)](_0x2b1b6c)},'tags':_0x40baaa[_0x32d22a(0x10e)](getTestTags,_0x2b1b6c)};_0x40baaa[_0x32d22a(0x21f)](appendTesthubParams,_0x3cf90b,_0x3d74c9,_0x2b1b6c,FRAMEWORKS[_0x32d22a(0x123)]);_0x4552fb&&_0x40baaa[_0x32d22a(0x18a)](_0x4552fb['retry'],0x0)&&(_0x3cf90b['retry_of']=TestDetails[_0x32d22a(0x21d)](_0x40baaa[_0x32d22a(0x19a)](getTestRunIdentifier,_0x2b1b6c,_0x40baaa['hXnav'](_0x4552fb[_0x32d22a(0x187)],0x1))));if(_0x40baaa[_0x32d22a(0x1c4)](_0x3d74c9,_0x40baaa['wSNsq'])){_0x3cf90b[_0x32d22a(0x122)]=_0x4552fb[_0x32d22a(0x1b8)];if(_0x40baaa[_0x32d22a(0x1c4)](_0x4552fb[_0x32d22a(0x1b8)],_0x2b1b6c[_0x32d22a(0x1f7)]))_0x3cf90b[_0x32d22a(0x122)]=_0x40baaa[_0x32d22a(0x161)](_0x4552fb[_0x32d22a(0x1b8)],_0x40baaa[_0x32d22a(0x20d)])?_0x40baaa['gzDak']:_0x40baaa[_0x32d22a(0x1dc)];else{(_0x40baaa['ycOoY'](_0x3cf90b[_0x32d22a(0x122)],_0x40baaa[_0x32d22a(0x1dc)])||_0x40baaa['xVSVO'](_0x3cf90b[_0x32d22a(0x122)],_0x40baaa[_0x32d22a(0x21b)])||_0x40baaa[_0x32d22a(0x135)](_0x3cf90b[_0x32d22a(0x122)],_0x40baaa[_0x32d22a(0x117)]))&&(_0x3cf90b['result']=_0x40baaa['vQVfF']);if(_0x40baaa[_0x32d22a(0x112)](_0x4552fb[_0x32d22a(0x1b8)],_0x40baaa['nPpWF'])&&_0x40baaa['xEUuJ'](_0x2b1b6c[_0x32d22a(0x1f7)],_0x40baaa[_0x32d22a(0x21b)])){const _0x23bbe0={};_0x23bbe0[_0x32d22a(0x1f3)]=_0x40baaa[_0x32d22a(0x1df)],_0x23bbe0[_0x32d22a(0x196)]=_0x40baaa['Fevdt'],_0x4552fb['error']=_0x23bbe0,_0x4552fb[_0x32d22a(0x1ca)]=[_0x4552fb[_0x32d22a(0x185)]];}}const _0x4dc6be=_0x40baaa[_0x32d22a(0x1c7)](getTestRunIdentifier,_0x2b1b6c,_0x4552fb[_0x32d22a(0x187)]);_0x3cf90b[_0x32d22a(0x16a)]=this[_0x32d22a(0x140)][_0x4dc6be];const {steps:_0x119685,logs:_0x4e1d64}=this[_0x32d22a(0x163)](_0x4552fb[_0x32d22a(0x12e)],_0x4d63c5[_0x32d22a(0x1e9)],_0x40baaa[_0x32d22a(0x15a)]);await MyReporter['reportLogs'](_0x4e1d64);const _0x37d7d9={};_0x37d7d9[_0x32d22a(0x12e)]=_0x119685,_0x3cf90b[_0x32d22a(0x1c8)]=_0x37d7d9;if(_0x4552fb[_0x32d22a(0x185)]){_0x3cf90b['failure_reason']=_0x40baaa[_0x32d22a(0x1ae)](removeAnsiColors,_0x4552fb[_0x32d22a(0x185)][_0x32d22a(0x1f3)]),_0x3cf90b['failure_type']=_0x40baaa[_0x32d22a(0x1ae)](getFailureType,_0x4552fb[_0x32d22a(0x185)][_0x32d22a(0x1f3)]);const _0x2752d1={};_0x2752d1[_0x32d22a(0x213)]=_0x4d63c5[_0x32d22a(0x1e9)];const {failureData:_0x312870,logs:_0xbc8c19}=_0x40baaa[_0x32d22a(0x1c7)](getFailureData,_0x4552fb['errors'],_0x2752d1);if(_0x312870&&_0x40baaa['TMEiE'](_0x312870['length'],0x0)){const _0xed46bf={};_0xed46bf['backtrace']=[_0x3cf90b[_0x32d22a(0x145)]],_0xed46bf[_0x32d22a(0x139)]=[],_0x312870[_0x32d22a(0x209)](_0xed46bf);}_0x3cf90b[_0x32d22a(0x14b)]=_0x312870,_0xbc8c19&&_0x40baaa[_0x32d22a(0x1f9)](_0xbc8c19['length'],0x0)&&await MyReporter['reportLogs'](_0xbc8c19);}}let _0x5fe837=_0x40baaa[_0x32d22a(0x193)](findNestedKey,_0x4552fb,_0x40baaa[_0x32d22a(0x1ce)]);if(_0x5fe837&&_0x40baaa[_0x32d22a(0x157)](validateFilePath,_0x5fe837))_0x40baaa['BsHpJ'](debug,_0x32d22a(0x1fb)+_0x4d63c5[_0x32d22a(0x1e9)]+'\x20at\x20'+_0x5fe837);else{const _0xf71ab4=path[_0x32d22a(0x1f8)](helper[_0x32d22a(0x20a)](),_0x40baaa[_0x32d22a(0x18c)]);!fs[_0x32d22a(0x150)](_0xf71ab4)&&fs[_0x32d22a(0x1bb)](_0xf71ab4),fs[_0x32d22a(0x150)](path[_0x32d22a(0x1f8)](_0xf71ab4,_0x32d22a(0x1e3)+_0x4d63c5['uuid']+_0x32d22a(0x21a)))&&(_0x5fe837=fs[_0x32d22a(0x18e)](path[_0x32d22a(0x1f8)](_0xf71ab4,_0x32d22a(0x1e3)+_0x4d63c5['uuid']+'.txt'),_0x40baaa[_0x32d22a(0x195)]),_0x40baaa[_0x32d22a(0x215)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d63c5[_0x32d22a(0x1e9)]+_0x32d22a(0x1ec)+_0x5fe837));}const _0x40309a={};_0x40309a[_0x32d22a(0x148)]=_0x3d74c9,_0x40309a[_0x32d22a(0x111)]=_0x3cf90b;const _0x5e818b=_0x40309a;_0x5fe837&&_0x40baaa['XdKmn'](_0x5fe837,'')&&_0x40baaa[_0x32d22a(0x135)](_0x3d74c9,_0x40baaa[_0x32d22a(0x144)])&&(!_0x5e818b['logs']&&(_0x5e818b['logs']=[]),_0x5fe837[_0x32d22a(0x20b)]('\x0a')[_0x32d22a(0x1c3)](_0x109abe=>{const _0x1aa619=_0x32d22a;_0x109abe&&_0x40baaa[_0x1aa619(0x157)](validateFilePath,_0x109abe)&&_0x5e818b[_0x1aa619(0x1d6)][_0x1aa619(0x209)]({'kind':_0x40baaa['bxCYC'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x4d63c5[_0x1aa619(0x1e9)],'file_name':path[_0x1aa619(0x1c5)](_0x109abe),'file_size':fs[_0x1aa619(0x14a)](_0x109abe)[_0x1aa619(0x10f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x32d22a(0x172)](_0x5e818b);}[a45_0x102c9c(0x1c9)](_0x40a9c2){const _0x3a58b1=a45_0x102c9c,_0x135191={};_0x135191[_0x3a58b1(0x1a4)]=function(_0x16fd77,_0x709aaa){return _0x16fd77===_0x709aaa;},_0x135191['GWtnv']=function(_0x4a7de2,_0x378932){return _0x4a7de2>_0x378932;},_0x135191[_0x3a58b1(0x164)]=function(_0x256559,_0x486f47){return _0x256559+_0x486f47;},_0x135191[_0x3a58b1(0x171)]=function(_0x497346,_0x13382a){return _0x497346+_0x13382a;},_0x135191[_0x3a58b1(0x12a)]=function(_0x4193b9,_0x361555){return _0x4193b9===_0x361555;},_0x135191['NHZTO']=function(_0x4f1d4c,_0x407895){return _0x4f1d4c>_0x407895;},_0x135191[_0x3a58b1(0x15d)]=function(_0xd2f8ca,_0x49e791){return _0xd2f8ca+_0x49e791;};const _0x330650=_0x135191,_0x215f95=_0x40a9c2[_0x3a58b1(0x1e7)]()[_0x3a58b1(0x1e2)](_0x2c1598=>{const _0x54dd79=_0x3a58b1;if(_0x40a9c2[_0x54dd79(0x1c2)]&&_0x330650[_0x54dd79(0x1a4)](_0x2c1598,_0x40a9c2[_0x54dd79(0x1c2)][_0x54dd79(0x13c)])&&_0x40a9c2[_0x54dd79(0x1c2)][_0x54dd79(0x170)]&&_0x330650[_0x54dd79(0x1d5)](_0x40a9c2[_0x54dd79(0x1c2)]['_tags'][_0x54dd79(0x1e5)],0x0))return _0x330650[_0x54dd79(0x164)](_0x330650[_0x54dd79(0x171)](_0x2c1598,'\x20'),_0x40a9c2[_0x54dd79(0x1c2)][_0x54dd79(0x170)][_0x54dd79(0x1f8)]('\x20'));if(_0x330650['mMHTU'](_0x2c1598,_0x40a9c2[_0x54dd79(0x13c)])&&_0x40a9c2['_tags']&&_0x330650[_0x54dd79(0x1bc)](_0x40a9c2[_0x54dd79(0x170)]['length'],0x0))return _0x330650['SDYtY'](_0x330650[_0x54dd79(0x15d)](_0x2c1598,'\x20'),_0x40a9c2[_0x54dd79(0x170)][_0x54dd79(0x1f8)]('\x20'));return _0x2c1598;})[_0x3a58b1(0x1f8)]('\x20');return _0x215f95;}static async[a45_0x102c9c(0x199)](_0xde0382,_0xb6b795){const _0x27c757=a45_0x102c9c,_0x29142b={'PqoyB':function(_0x82cc40,_0x11f0af){return _0x82cc40(_0x11f0af);},'HxiFj':'CBTSessionCreated'},_0x2bb955={'uuid':TestDetails[_0x27c757(0x21d)](_0xde0382),'integrations':_0xb6b795},_0x3c7a7e={};_0x3c7a7e[_0x27c757(0x200)]=null,_0x29142b[_0x27c757(0x16c)](debug,_0x27c757(0x166)+_0xde0382+',\x20'+util[_0x27c757(0x147)](_0xb6b795,_0x3c7a7e));const _0xe72faf={};_0xe72faf[_0x27c757(0x148)]=_0x29142b[_0x27c757(0x116)],_0xe72faf['test_run']=_0x2bb955,await SessionHandler[_0x27c757(0x172)](_0xe72faf);}async[a45_0x102c9c(0x168)](){const _0x1de8f2=a45_0x102c9c,_0x230493={'nSkaT':function(_0xf00d33){return _0xf00d33();}};if(this[_0x1de8f2(0x113)])return;const _0xb7cc16=await _0x230493[_0x1de8f2(0x208)](getGitMetaData);_0xb7cc16&&(this[_0x1de8f2(0x127)]=_0xb7cc16[_0x1de8f2(0x14e)]),this[_0x1de8f2(0x113)]=!![];}[a45_0x102c9c(0x118)](_0x9b55ee){const _0x4563a3=a45_0x102c9c,_0x553c03={};_0x553c03[_0x4563a3(0x130)]=function(_0x9ec2ae,_0x3b5a90){return _0x9ec2ae!==_0x3b5a90;};const _0xd844d2=_0x553c03,_0x44e58e=[];if(_0x9b55ee&&_0x9b55ee[_0x4563a3(0x1c2)]){let _0x5bbfbe=_0x9b55ee[_0x4563a3(0x1c2)];while(_0x5bbfbe&&_0xd844d2[_0x4563a3(0x130)](_0x5bbfbe['title'],'')){_0x44e58e[_0x4563a3(0x209)](_0x5bbfbe[_0x4563a3(0x13c)]),_0x5bbfbe=_0x5bbfbe[_0x4563a3(0x1c2)];}}return _0x44e58e[_0x4563a3(0x14d)]()['splice'](0x0,0x2),_0x44e58e;}[a45_0x102c9c(0x190)](_0x90a0a){const _0x258fc7=a45_0x102c9c,_0x98a0fe={};_0x98a0fe[_0x258fc7(0x20e)]=function(_0x5d96e8,_0x4f69aa){return _0x5d96e8!==_0x4f69aa;},_0x98a0fe['rLhmy']='hook',_0x98a0fe[_0x258fc7(0x119)]=function(_0x411684,_0x2098dc){return _0x411684===_0x2098dc;},_0x98a0fe[_0x258fc7(0x141)]=_0x258fc7(0x1b9),_0x98a0fe[_0x258fc7(0x109)]=_0x258fc7(0x125),_0x98a0fe['nYXTc']=_0x258fc7(0x1b1),_0x98a0fe[_0x258fc7(0x177)]='afterEach\x20hook';const _0x588be7=_0x98a0fe;if(_0x588be7['jdjaT'](_0x90a0a['category'],_0x588be7[_0x258fc7(0x20f)]))return![];if(_0x588be7[_0x258fc7(0x119)]([_0x588be7['ugWsc'],_0x588be7['tXbsn'],_0x588be7[_0x258fc7(0x210)],_0x588be7[_0x258fc7(0x177)]][_0x258fc7(0x15e)](_0x90a0a[_0x258fc7(0x13c)]),-0x1))return![];return!![];}[a45_0x102c9c(0x192)](_0x318a8a,_0x1635f8){const _0x426d03=a45_0x102c9c,_0x5de647={'FYRHw':function(_0x25052e,_0x307609){return _0x25052e(_0x307609);}},_0xa1cd28=_0x1635f8[_0x426d03(0x108)];if(_0xa1cd28)return _0xa1cd28;return _0x1635f8['title']+'\x20for\x20'+_0x5de647['FYRHw'](getTestIdentifier,_0x318a8a);}[a45_0x102c9c(0x16f)](_0x356ad2,_0x41e84f){const _0x16b8a7=a45_0x102c9c,_0x58c02e={'IZgVo':function(_0x669d6d,_0x1d5424){return _0x669d6d(_0x1d5424);},'czSoc':function(_0x69269f){return _0x69269f();}};let _0x3902f2=_0x41e84f['title']+_0x16b8a7(0x206)+_0x58c02e['IZgVo'](getTestIdentifier,_0x356ad2);return this[_0x16b8a7(0x1a6)][_0x3902f2]&&(_0x3902f2=_0x3902f2+'\x20-\x20'+_0x58c02e[_0x16b8a7(0x1cf)](uuidv4)),_0x41e84f[_0x16b8a7(0x108)]=_0x3902f2,_0x3902f2;}[a45_0x102c9c(0x15b)]=_0x59f6d6=>{const _0x2e49ce=a45_0x102c9c,_0x8edf40={};_0x8edf40['QTgql']=_0x2e49ce(0x1b9),_0x8edf40[_0x2e49ce(0x1ff)]=_0x2e49ce(0x1d0),_0x8edf40[_0x2e49ce(0x1a0)]='beforeAll\x20hook',_0x8edf40[_0x2e49ce(0x128)]='BEFORE_ALL',_0x8edf40[_0x2e49ce(0x1c6)]=_0x2e49ce(0x153),_0x8edf40[_0x2e49ce(0x126)]=_0x2e49ce(0x129),_0x8edf40['jNLov']=_0x2e49ce(0x1b1),_0x8edf40[_0x2e49ce(0x1af)]=_0x2e49ce(0x11b),_0x8edf40[_0x2e49ce(0x19b)]=_0x2e49ce(0x14c);const _0x21a69b=_0x8edf40;if(_0x59f6d6[_0x2e49ce(0x14f)](_0x21a69b[_0x2e49ce(0x1b3)]))return _0x21a69b[_0x2e49ce(0x1ff)];else{if(_0x59f6d6['startsWith'](_0x21a69b[_0x2e49ce(0x1a0)]))return _0x21a69b[_0x2e49ce(0x128)];else{if(_0x59f6d6[_0x2e49ce(0x14f)](_0x21a69b[_0x2e49ce(0x1c6)]))return _0x21a69b[_0x2e49ce(0x126)];else{if(_0x59f6d6[_0x2e49ce(0x14f)](_0x21a69b[_0x2e49ce(0x146)]))return _0x21a69b['UGyzI'];}}}return _0x21a69b[_0x2e49ce(0x19b)];};['getScope']=_0x2ed4e6=>{const _0x6ac9c3=a45_0x102c9c,_0x442930={};_0x442930['xZNcv']=function(_0x59820f,_0xd9a866){return _0x59820f===_0xd9a866;},_0x442930[_0x6ac9c3(0x12c)]='object';const _0x429abc=_0x442930;let _0x302dc5=_0x2ed4e6['parent'];return _0x429abc['xZNcv'](typeof _0x2ed4e6[_0x6ac9c3(0x1c2)],_0x429abc[_0x6ac9c3(0x12c)])&&(_0x302dc5=_0x302dc5[_0x6ac9c3(0x13c)]),_0x302dc5+_0x6ac9c3(0x211)+_0x2ed4e6[_0x6ac9c3(0x13c)];};[a45_0x102c9c(0x20c)](){return![];}}module[a45_0x102c9c(0x189)]=o11yClassErrorHandler(MyReporter,['onBegin',a45_0x102c9c(0x17b),a45_0x102c9c(0x1d7),a45_0x102c9c(0x1fa),a45_0x102c9c(0x1ad),a45_0x102c9c(0x207),'sendSessionDetails'],a45_0x102c9c(0x1c1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x523b80=a46_0x16da;(function(_0x5f2360,_0x4f3a82){const _0x4f26b9=a46_0x16da,_0x92e758=_0x5f2360();while(!![]){try{const _0x290d66=parseInt(_0x4f26b9(0x1b7))/0x1+parseInt(_0x4f26b9(0x1c5))/0x2+parseInt(_0x4f26b9(0x1ee))/0x3*(parseInt(_0x4f26b9(0x1ca))/0x4)+-parseInt(_0x4f26b9(0x1df))/0x5+parseInt(_0x4f26b9(0x1cb))/0x6*(parseInt(_0x4f26b9(0x1a3))/0x7)+-parseInt(_0x4f26b9(0x1c0))/0x8*(parseInt(_0x4f26b9(0x1aa))/0x9)+parseInt(_0x4f26b9(0x1f1))/0xa*(parseInt(_0x4f26b9(0x1da))/0xb);if(_0x290d66===_0x4f3a82)break;else _0x92e758['push'](_0x92e758['shift']());}catch(_0x33506b){_0x92e758['push'](_0x92e758['shift']());}}}(a46_0xf02c,0x768ed));const fs=require('fs'),path=require(a46_0x523b80(0x1af)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a46_0x523b80(0x1bf)),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a46_0x523b80(0x1e7)),util=require(a46_0x523b80(0x1a0)),helper=require(a46_0x523b80(0x1bf));class TestDetails{static [a46_0x523b80(0x1b8)]={};static[a46_0x523b80(0x1f2)](){const _0x273e78=a46_0x523b80;this['shutdown']();const _0x35bd9f={};_0x35bd9f['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1d3)](),_0x35bd9f);const _0x35907d={};_0x35907d['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1cc)](),_0x35907d);}static[a46_0x523b80(0x1b5)](){const _0x304cd1=a46_0x523b80,_0x5aa4ac={};_0x5aa4ac[_0x304cd1(0x1e6)]=function(_0x9adc3d,_0x113684){return _0x9adc3d+_0x113684;},_0x5aa4ac['HbNFV']=function(_0x1a98d3,_0x579f25){return _0x1a98d3+_0x579f25;};const _0x389f54=_0x5aa4ac;return _0x389f54['rcZTJ'](_0x389f54[_0x304cd1(0x1d5)](TEMP_STORE_DIR_NAME,'-'),process[_0x304cd1(0x1ae)][_0x304cd1(0x198)]);}static[a46_0x523b80(0x1eb)](){const _0x403dbc=a46_0x523b80,_0x1f2715={};_0x1f2715['EHrQy']=function(_0x164571,_0x36b1e0){return _0x164571+_0x36b1e0;},_0x1f2715['dZLms']=function(_0x3c4e6e,_0x1e9d9d){return _0x3c4e6e+_0x1e9d9d;},_0x1f2715['JMZkF']=_0x403dbc(0x1bb);const _0xf4b788=_0x1f2715;return path[_0x403dbc(0x1c9)](_0xf4b788[_0x403dbc(0x1f3)](_0xf4b788[_0x403dbc(0x197)](TEMP_STORE_DIR_NAME,'-'),process[_0x403dbc(0x1ae)]['BS_TESTOPS_BUILD_HASHED_ID']||_0xf4b788[_0x403dbc(0x1ed)]));}static['getTraceZipDir'](){const _0x1d423b=a46_0x523b80,_0x4e1eb4={};_0x4e1eb4[_0x1d423b(0x1ea)]=_0x1d423b(0x1bc);const _0x541444=_0x4e1eb4;return path[_0x1d423b(0x1c9)](this[_0x1d423b(0x1eb)](),_0x541444[_0x1d423b(0x1ea)]);}static[a46_0x523b80(0x1d3)](){return TestDetails['getStoreDirName']();}static[a46_0x523b80(0x1d0)](_0x2ac8de){const _0x4ec2f1=a46_0x523b80,_0x197b81={};_0x197b81['ZDgrL']=function(_0x17cb10,_0x32ae2d){return _0x17cb10+_0x32ae2d;},_0x197b81['kYuHM']=_0x4ec2f1(0x1a5);const _0xc80a88=_0x197b81;return path[_0x4ec2f1(0x1c9)](this[_0x4ec2f1(0x1d3)](),_0xc80a88[_0x4ec2f1(0x194)](_0x2ac8de,_0xc80a88['kYuHM']));}static[a46_0x523b80(0x1e9)](_0x3d0c92){const _0x2ee463=a46_0x523b80,_0x2849c9={};_0x2849c9[_0x2ee463(0x19f)]=function(_0x17a757,_0x394392){return _0x17a757+_0x394392;},_0x2849c9[_0x2ee463(0x1ce)]=function(_0x2792bc,_0x27bc7a){return _0x2792bc+_0x27bc7a;},_0x2849c9[_0x2ee463(0x1a1)]=function(_0x3678bd,_0x3fae35){return _0x3678bd+_0x3fae35;};const _0x175554=_0x2849c9;return _0x175554['mLJCS'](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1a1)](this['getProjectIdFromTestInfo'](_0x3d0c92),'-'),this['getTestIdFromTestInfo'](_0x3d0c92)),'-'),_0x3d0c92[_0x2ee463(0x193)]);}static['getProjectIdFromTestInfo'](_0x584959){const _0x252fcb=a46_0x523b80,_0x37dc1e={'Bgznr':function(_0x4ab89f,_0x2e25a2,_0x3e695d){return _0x4ab89f(_0x2e25a2,_0x3e695d);},'mgeHT':'_test','RhHEJ':_0x252fcb(0x1a9),'boPNo':_0x252fcb(0x1c8),'ioVnH':_0x252fcb(0x1ac)};return _0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1e0)],_0x37dc1e[_0x252fcb(0x1b9)]])||_0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1dc)],_0x37dc1e[_0x252fcb(0x19b)]]);}static['getTestIdFromTestInfo'](_0x5671d0){const _0x59c7d6=a46_0x523b80,_0x658814={'GzIDa':function(_0x308efc,_0x563ced,_0x584911){return _0x308efc(_0x563ced,_0x584911);},'TTume':_0x59c7d6(0x1be)};return _0x658814[_0x59c7d6(0x1a7)](nestedKeyValue,_0x5671d0,[_0x658814[_0x59c7d6(0x1d4)],'id'])||_0x5671d0[_0x59c7d6(0x1c4)];}static[a46_0x523b80(0x1c7)](_0x48191a){const _0x114cdc=a46_0x523b80,_0x5e4600={'LdaXp':function(_0x4370bd,_0x3b5e20){return _0x4370bd===_0x3b5e20;},'rtoTb':'string','dOsnV':function(_0xa7b8c1){return _0xa7b8c1();}};if(this[_0x114cdc(0x1b8)][_0x48191a]&&_0x5e4600[_0x114cdc(0x1b0)](typeof this[_0x114cdc(0x1b8)][_0x48191a]['uuid'],_0x5e4600[_0x114cdc(0x1a6)]))return this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];const _0x9810cd=this[_0x114cdc(0x1d0)](_0x48191a);if(_0x9810cd&&fs[_0x114cdc(0x1b1)](_0x9810cd)){const _0x1629b3=JSON[_0x114cdc(0x19a)](fs['readFileSync'](_0x9810cd)[_0x114cdc(0x1e3)]());return this[_0x114cdc(0x1b8)][_0x48191a]=_0x1629b3,this['tests'][_0x48191a][_0x114cdc(0x1ec)];}return this[_0x114cdc(0x1b8)][_0x48191a]={'uuid':_0x5e4600[_0x114cdc(0x1e8)](uuidv4)},fs['writeFileSync'](_0x9810cd,JSON['stringify'](this['tests'][_0x48191a])),this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];}static[a46_0x523b80(0x1e5)](_0x4a3db8){const _0xd23f80=a46_0x523b80,_0x37816a=path['join'](this[_0xd23f80(0x1d3)](),_0x4a3db8+_0xd23f80(0x1f0));if(_0x37816a&&fs[_0xd23f80(0x1b1)](_0x37816a))return fs[_0xd23f80(0x1d7)](_0x37816a)[_0xd23f80(0x1e3)]();}static[a46_0x523b80(0x1d9)](_0x237251,_0x26a898){const _0x3bf092=a46_0x523b80,_0x21bc4b=path[_0x3bf092(0x1c9)](this[_0x3bf092(0x1d3)](),_0x26a898+_0x3bf092(0x1f0));fs[_0x3bf092(0x19c)](_0x21bc4b,_0x237251[_0x3bf092(0x1e3)]());}static[a46_0x523b80(0x1dd)](){const _0x59b633=a46_0x523b80,_0x27ca65={};_0x27ca65[_0x59b633(0x1a2)]=!![],_0x27ca65[_0x59b633(0x196)]=!![],fs[_0x59b633(0x1ab)](this[_0x59b633(0x1d3)](),_0x27ca65);}static[a46_0x523b80(0x1cf)](_0xc351b6){const _0x2d5a90=a46_0x523b80;if(this['tests'][_0xc351b6])return this[_0x2d5a90(0x1b8)][_0xc351b6];const _0x594c71=this[_0x2d5a90(0x1d0)](_0xc351b6);if(_0x594c71&&fs[_0x2d5a90(0x1b1)](_0x594c71)){const _0x4bb2ad=JSON['parse'](fs[_0x2d5a90(0x1d7)](_0x594c71)[_0x2d5a90(0x1e3)]());return this['tests'][_0xc351b6]=_0x4bb2ad,_0x4bb2ad;}return{};}static[a46_0x523b80(0x1b2)](_0x150d26,_0x1e6420){const _0xafb3bd=a46_0x523b80,_0x154370=this[_0xafb3bd(0x1d0)](_0x150d26);if(_0x154370&&fs[_0xafb3bd(0x1b1)](_0x154370)){const _0x91b5da=JSON[_0xafb3bd(0x19a)](fs[_0xafb3bd(0x1d7)](_0x154370)[_0xafb3bd(0x1e3)]()),_0x3c96da={..._0x91b5da,..._0x1e6420};this[_0xafb3bd(0x1b8)][_0x150d26]=_0x3c96da;}else this[_0xafb3bd(0x1b8)][_0x150d26]=_0x1e6420;fs[_0xafb3bd(0x19c)](_0x154370,this[_0xafb3bd(0x1b8)][_0x150d26]);}static[a46_0x523b80(0x1b4)](_0x9f1bb5){const _0x3b93cc=a46_0x523b80,_0x3d5674={};_0x3d5674[_0x3b93cc(0x1d2)]=_0x3b93cc(0x19e);const _0x581a8e=_0x3d5674;try{const _0x19783f=process[_0x3b93cc(0x1c6)],_0x49ab82=path[_0x3b93cc(0x1c9)](TestDetails['getTraceZipDir'](),_0x19783f+'_traceZipPaths.json');let _0x4ef746=[];_0x49ab82&&fs[_0x3b93cc(0x1b1)](_0x49ab82)&&(_0x4ef746=JSON[_0x3b93cc(0x19a)](fs[_0x3b93cc(0x1d7)](_0x49ab82)[_0x3b93cc(0x1e3)]())),!_0x4ef746['some'](_0x3631ad=>_0x3631ad[_0x3b93cc(0x1d6)]===_0x9f1bb5[_0x3b93cc(0x1d6)])&&(_0x4ef746[_0x3b93cc(0x1e2)](_0x9f1bb5),fs['writeFileSync'](_0x49ab82,JSON['stringify'](_0x4ef746)));}catch(_0x573143){logger[_0x3b93cc(0x1c1)](_0x581a8e[_0x3b93cc(0x1d2)],_0x573143);}}static[a46_0x523b80(0x1c3)](){const _0x1dde9f=a46_0x523b80,_0x38f831={};_0x38f831[_0x1dde9f(0x1d8)]='_traceZipPaths.json',_0x38f831[_0x1dde9f(0x1e4)]=_0x1dde9f(0x1db);const _0x1c51b3=_0x38f831,_0x5bb5cf=[];try{const _0x1da47e=TestDetails[_0x1dde9f(0x1cc)]();if(_0x1da47e&&!fs[_0x1dde9f(0x1b1)](_0x1da47e))return _0x5bb5cf;const _0x15c8f1=fs[_0x1dde9f(0x1c2)](_0x1da47e);_0x15c8f1[_0x1dde9f(0x1b6)](_0x2f215d=>{const _0x5705fb=_0x1dde9f;if(_0x2f215d&&_0x2f215d[_0x5705fb(0x1b3)](_0x1c51b3[_0x5705fb(0x1d8)])){const _0x325921=JSON['parse'](fs['readFileSync'](path[_0x5705fb(0x1c9)](_0x1da47e,_0x2f215d))[_0x5705fb(0x1e3)]());_0x5bb5cf['push'](..._0x325921);}});}catch(_0x2717e1){logger[_0x1dde9f(0x1c1)](util['format'](_0x1c51b3[_0x1dde9f(0x1e4)],_0x2717e1));}const _0x522c0b={};return _0x5bb5cf['forEach'](_0x57ecc8=>{const _0x5cab5b=_0x1dde9f;_0x522c0b[_0x57ecc8[_0x5cab5b(0x1d6)]]=_0x57ecc8;}),Object['values'](_0x522c0b);}static[a46_0x523b80(0x19d)](_0x24c6f6,_0x53905a){const _0x39c218=a46_0x523b80,_0x5ed54f={};_0x5ed54f[_0x39c218(0x1a8)]=_0x39c218(0x1ba),_0x5ed54f[_0x39c218(0x195)]=_0x39c218(0x1ef);const _0xafd15f=_0x5ed54f;try{const _0x53545b=path[_0x39c218(0x1c9)](helper[_0x39c218(0x1a4)](),_0xafd15f[_0x39c218(0x1a8)]);if(!fs[_0x39c218(0x1b1)](_0x53545b)){const _0x478119={};_0x478119['recursive']=!![],fs['mkdirSync'](_0x53545b,_0x478119);}fs[_0x39c218(0x1ad)](path['join'](_0x53545b,'trace_'+_0x53905a+_0x39c218(0x1d1)),_0x24c6f6+'\x0a',_0xafd15f[_0x39c218(0x195)]);}catch(_0x3b708e){console[_0x39c218(0x1c1)](_0x39c218(0x199)+_0x3b708e[_0x39c218(0x1cd)]);}}}function a46_0x16da(_0x2affd4,_0x14f3b6){const _0xf02c98=a46_0xf02c();return a46_0x16da=function(_0x16da3b,_0x27f63e){_0x16da3b=_0x16da3b-0x193;let _0x1c2b86=_0xf02c98[_0x16da3b];return _0x1c2b86;},a46_0x16da(_0x2affd4,_0x14f3b6);}module[a46_0x523b80(0x1bd)]=TestDetails;function a46_0xf02c(){const _0x2e6190=['4508VSqMJk','homedir','.json','rtoTb','GzIDa','grUyr','_projectId','4946778HsgtFR','rmSync','__projectId','appendFileSync','env','path','LdaXp','existsSync','setTestDetails','endsWith','addTraceFilePath','getStoreDirName','forEach','258203WoSkUy','tests','RhHEJ','.browserstack','default','traceZipPaths','exports','_test','../../../helpers/helper','8lBmvsZ','error','readdirSync','getTraceFilePaths','testId','1591030tfurzQ','pid','getTestUUID','project','join','2016eUGWoc','1242pubAFB','getTraceZipDir','message','feMyF','getTestDetails','getFilePath','.txt','kYZYg','getDirPath','TTume','HbNFV','filePath','readFileSync','ZvCLF','setAccessibilityPlatformValidation','25861JoTOef','Error\x20reading\x20trace\x20file\x20paths:\x20%s','boPNo','shutdown','Bgznr','3213580gOvCAF','mgeHT','mkdirSync','push','toString','DUhCk','getAccessibilityPlatformValidation','rcZTJ','../../../helpers/logger','dOsnV','getTestRunIdFromTestInfo','tIsUU','getStoreDirPath','uuid','JMZkF','1257eBJArV','utf8','_platformDetails.json','1190bdvRWp','setup','EHrQy','retry','ZDgrL','rsvMK','force','dZLms','BS_TESTOPS_BUILD_HASHED_ID','Error\x20writing\x20trace\x20file:\x20','parse','ioVnH','writeFileSync','appendToTracePaths','Error\x20handling\x20trace\x20file\x20paths:\x20','mLJCS','util','TCxwe','recursive'];a46_0xf02c=function(){return _0x2e6190;};return a46_0xf02c();}
|
|
1
|
+
const a46_0x6bbb12=a46_0x4878;(function(_0x3c2bce,_0x3f7a14){const _0xbbb297=a46_0x4878,_0x3ff5fb=_0x3c2bce();while(!![]){try{const _0x41b60c=parseInt(_0xbbb297(0x17b))/0x1*(-parseInt(_0xbbb297(0x18f))/0x2)+parseInt(_0xbbb297(0x16d))/0x3+parseInt(_0xbbb297(0x175))/0x4+parseInt(_0xbbb297(0x1ac))/0x5+-parseInt(_0xbbb297(0x166))/0x6+parseInt(_0xbbb297(0x194))/0x7*(parseInt(_0xbbb297(0x18e))/0x8)+-parseInt(_0xbbb297(0x192))/0x9*(parseInt(_0xbbb297(0x184))/0xa);if(_0x41b60c===_0x3f7a14)break;else _0x3ff5fb['push'](_0x3ff5fb['shift']());}catch(_0x17945c){_0x3ff5fb['push'](_0x3ff5fb['shift']());}}}(a46_0x3945,0xe7b03));function a46_0x4878(_0x58cf43,_0x4c8a2e){const _0x39456a=a46_0x3945();return a46_0x4878=function(_0x4878e3,_0x1556d6){_0x4878e3=_0x4878e3-0x15a;let _0x440241=_0x39456a[_0x4878e3];return _0x440241;},a46_0x4878(_0x58cf43,_0x4c8a2e);}function a46_0x3945(){const _0x1a1f55=['1251OhcQur','default','7vwCrwn','tTcop','ttKtW','NgVtB','homedir','_traceZipPaths.json','message','_projectId','force','join','retry','format','BS_TESTOPS_BUILD_HASHED_ID','setTestDetails','__projectId','getTestIdFromTestInfo','uuid','YOuVd','testId','getTraceZipDir','toString','ZhaDH','../../../helpers/helper','Error\x20handling\x20trace\x20file\x20paths:\x20','8481830OJQTOQ','pid','rmSync','PAqpd','sMaFa','.json','gAPLZ','IiiEj','some','mkdirSync','.browserstack','project','string','trace_','getProjectIdFromTestInfo','filePath','stringify','exports','FRArG','6564534klpFEB','readFileSync','appendToTracePaths','utf8','getStoreDirPath','_platformDetails.json','lGGwc','39273umlNYj','error','writeFileSync','.txt','parse','addTraceFilePath','YSjkS','shutdown','6796812jpgdFt','RRQRU','getDirPath','Error\x20writing\x20trace\x20file:\x20','getTraceFilePaths','forEach','4Fqrhci','dEseP','recursive','OhNSS','Yggtp','OqIlh','_test','winstonLogger','env','149690CbHoNh','oRXOT','getTestDetails','appendFileSync','traceZipPaths','existsSync','../../../helpers/logger','rkLGw','jkjTB','tests','6025976NyWKvl','19066BqOBpJ','../../../helpers/test-observability/constants','getFilePath'];a46_0x3945=function(){return _0x1a1f55;};return a46_0x3945();}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a46_0x6bbb12(0x190)),{nestedKeyValue}=require(a46_0x6bbb12(0x1aa)),logger=require(a46_0x6bbb12(0x18a))[a46_0x6bbb12(0x182)],{getLogDir}=require(a46_0x6bbb12(0x18a)),util=require('util'),helper=require(a46_0x6bbb12(0x1aa));class TestDetails{static ['tests']={};static['setup'](){const _0x44cb76=a46_0x6bbb12;this['shutdown']();const _0x5b0336={};_0x5b0336['recursive']=!![],fs[_0x44cb76(0x15c)](this[_0x44cb76(0x177)](),_0x5b0336);const _0x1d5069={};_0x1d5069['recursive']=!![],fs[_0x44cb76(0x15c)](this[_0x44cb76(0x1a7)](),_0x1d5069);}static['getStoreDirName'](){const _0x5d0414=a46_0x6bbb12,_0x2139d4={};_0x2139d4['OqIlh']=function(_0x348af7,_0x598485){return _0x348af7+_0x598485;};const _0x3d0382=_0x2139d4;return _0x3d0382[_0x5d0414(0x180)](_0x3d0382[_0x5d0414(0x180)](TEMP_STORE_DIR_NAME,'-'),process[_0x5d0414(0x183)][_0x5d0414(0x1a0)]);}static[a46_0x6bbb12(0x16a)](){const _0xec706=a46_0x6bbb12,_0xaeedcf={};_0xaeedcf[_0xec706(0x176)]=function(_0x1381f0,_0x37c484){return _0x1381f0+_0x37c484;},_0xaeedcf[_0xec706(0x185)]=function(_0x1283fe,_0x4d6cbb){return _0x1283fe+_0x4d6cbb;},_0xaeedcf[_0xec706(0x17e)]=_0xec706(0x193);const _0x3aad72=_0xaeedcf;return path['join'](_0x3aad72[_0xec706(0x176)](_0x3aad72[_0xec706(0x185)](TEMP_STORE_DIR_NAME,'-'),process[_0xec706(0x183)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x3aad72[_0xec706(0x17e)]));}static[a46_0x6bbb12(0x1a7)](){const _0xf6ea15=a46_0x6bbb12,_0x5adfa6={};_0x5adfa6[_0xf6ea15(0x1a9)]=_0xf6ea15(0x188);const _0x173449=_0x5adfa6;return path[_0xf6ea15(0x19d)](this[_0xf6ea15(0x16a)](),_0x173449[_0xf6ea15(0x1a9)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a46_0x6bbb12(0x191)](_0x205218){const _0x27301c=a46_0x6bbb12,_0x5e529a={};_0x5e529a[_0x27301c(0x165)]=function(_0xc97e83,_0x3fdf82){return _0xc97e83+_0x3fdf82;},_0x5e529a['XkYgB']=_0x27301c(0x1b1);const _0x402a97=_0x5e529a;return path[_0x27301c(0x19d)](this[_0x27301c(0x177)](),_0x402a97[_0x27301c(0x165)](_0x205218,_0x402a97['XkYgB']));}static['getTestRunIdFromTestInfo'](_0x196798){const _0x4aa0ab=a46_0x6bbb12,_0x479780={};_0x479780[_0x4aa0ab(0x17f)]=function(_0x1bea32,_0x36123f){return _0x1bea32+_0x36123f;},_0x479780[_0x4aa0ab(0x1af)]=function(_0x3f1425,_0x25f7d1){return _0x3f1425+_0x25f7d1;};const _0x173a31=_0x479780;return _0x173a31[_0x4aa0ab(0x17f)](_0x173a31[_0x4aa0ab(0x17f)](_0x173a31[_0x4aa0ab(0x1af)](_0x173a31[_0x4aa0ab(0x17f)](this[_0x4aa0ab(0x161)](_0x196798),'-'),this[_0x4aa0ab(0x1a3)](_0x196798)),'-'),_0x196798[_0x4aa0ab(0x19e)]);}static['getProjectIdFromTestInfo'](_0xb6c339){const _0x52dc31=a46_0x6bbb12,_0x45b987={'NgVtB':function(_0x28dba4,_0x7fe2,_0x96c31b){return _0x28dba4(_0x7fe2,_0x96c31b);},'sMaFa':'_test','YSjkS':_0x52dc31(0x19b),'lGGwc':function(_0x28064f,_0x2f77f2,_0x37115d){return _0x28064f(_0x2f77f2,_0x37115d);},'KbTUD':_0x52dc31(0x15e),'YTToJ':_0x52dc31(0x1a2)};return _0x45b987[_0x52dc31(0x197)](nestedKeyValue,_0xb6c339,[_0x45b987[_0x52dc31(0x1b0)],_0x45b987[_0x52dc31(0x173)]])||_0x45b987[_0x52dc31(0x16c)](nestedKeyValue,_0xb6c339,[_0x45b987['KbTUD'],_0x45b987['YTToJ']]);}static[a46_0x6bbb12(0x1a3)](_0x480a9b){const _0x6cc1ae=a46_0x6bbb12,_0x37ebe5={'rkLGw':function(_0x2d19c5,_0x114f8b,_0x422874){return _0x2d19c5(_0x114f8b,_0x422874);},'mbmEf':_0x6cc1ae(0x181)};return _0x37ebe5[_0x6cc1ae(0x18b)](nestedKeyValue,_0x480a9b,[_0x37ebe5['mbmEf'],'id'])||_0x480a9b[_0x6cc1ae(0x1a6)];}static['getTestUUID'](_0x524788){const _0x566aea=a46_0x6bbb12,_0x1590b0={'dEseP':function(_0x43d203,_0x43c869){return _0x43d203===_0x43c869;},'YOuVd':_0x566aea(0x15f),'LBxno':function(_0x1db7db){return _0x1db7db();}};if(this[_0x566aea(0x18d)][_0x524788]&&_0x1590b0[_0x566aea(0x17c)](typeof this[_0x566aea(0x18d)][_0x524788][_0x566aea(0x1a4)],_0x1590b0[_0x566aea(0x1a5)]))return this['tests'][_0x524788]['uuid'];const _0x157a64=this[_0x566aea(0x191)](_0x524788);if(_0x157a64&&fs[_0x566aea(0x189)](_0x157a64)){const _0xa44c4b=JSON['parse'](fs[_0x566aea(0x167)](_0x157a64)[_0x566aea(0x1a8)]());return this['tests'][_0x524788]=_0xa44c4b,this[_0x566aea(0x18d)][_0x524788][_0x566aea(0x1a4)];}return this[_0x566aea(0x18d)][_0x524788]={'uuid':_0x1590b0['LBxno'](uuidv4)},fs[_0x566aea(0x16f)](_0x157a64,JSON[_0x566aea(0x163)](this[_0x566aea(0x18d)][_0x524788])),this[_0x566aea(0x18d)][_0x524788][_0x566aea(0x1a4)];}static['getAccessibilityPlatformValidation'](_0x33e164){const _0x6a0a34=a46_0x6bbb12,_0x180f91=path[_0x6a0a34(0x19d)](this[_0x6a0a34(0x177)](),_0x33e164+_0x6a0a34(0x16b));if(_0x180f91&&fs[_0x6a0a34(0x189)](_0x180f91))return fs[_0x6a0a34(0x167)](_0x180f91)[_0x6a0a34(0x1a8)]();}static['setAccessibilityPlatformValidation'](_0xc67b2,_0x3bbb42){const _0x4e56d7=a46_0x6bbb12,_0x31ac67=path[_0x4e56d7(0x19d)](this[_0x4e56d7(0x177)](),_0x3bbb42+_0x4e56d7(0x16b));fs[_0x4e56d7(0x16f)](_0x31ac67,_0xc67b2[_0x4e56d7(0x1a8)]());}static[a46_0x6bbb12(0x174)](){const _0x649fe3=a46_0x6bbb12,_0x433c5c={};_0x433c5c['recursive']=!![],_0x433c5c[_0x649fe3(0x19c)]=!![],fs[_0x649fe3(0x1ae)](this[_0x649fe3(0x177)](),_0x433c5c);}static[a46_0x6bbb12(0x186)](_0x4ff915){const _0x1b0bb7=a46_0x6bbb12;if(this[_0x1b0bb7(0x18d)][_0x4ff915])return this[_0x1b0bb7(0x18d)][_0x4ff915];const _0x849d0c=this['getFilePath'](_0x4ff915);if(_0x849d0c&&fs['existsSync'](_0x849d0c)){const _0x56852e=JSON[_0x1b0bb7(0x171)](fs[_0x1b0bb7(0x167)](_0x849d0c)[_0x1b0bb7(0x1a8)]());return this[_0x1b0bb7(0x18d)][_0x4ff915]=_0x56852e,_0x56852e;}return{};}static[a46_0x6bbb12(0x1a1)](_0x3f884a,_0x430bd6){const _0x1a60c7=a46_0x6bbb12,_0x2d5996=this[_0x1a60c7(0x191)](_0x3f884a);if(_0x2d5996&&fs[_0x1a60c7(0x189)](_0x2d5996)){const _0x50eb10=JSON[_0x1a60c7(0x171)](fs['readFileSync'](_0x2d5996)['toString']()),_0x1be24b={..._0x50eb10,..._0x430bd6};this[_0x1a60c7(0x18d)][_0x3f884a]=_0x1be24b;}else this[_0x1a60c7(0x18d)][_0x3f884a]=_0x430bd6;fs[_0x1a60c7(0x16f)](_0x2d5996,this[_0x1a60c7(0x18d)][_0x3f884a]);}static[a46_0x6bbb12(0x172)](_0x4832a9){const _0x1e7350=a46_0x6bbb12,_0x331925={};_0x331925[_0x1e7350(0x18c)]=_0x1e7350(0x1ab);const _0x34375c=_0x331925;try{const _0x4e8520=process[_0x1e7350(0x1ad)],_0x4baa82=path['join'](TestDetails[_0x1e7350(0x1a7)](),_0x4e8520+_0x1e7350(0x199));let _0x258e36=[];_0x4baa82&&fs[_0x1e7350(0x189)](_0x4baa82)&&(_0x258e36=JSON[_0x1e7350(0x171)](fs[_0x1e7350(0x167)](_0x4baa82)[_0x1e7350(0x1a8)]())),!_0x258e36[_0x1e7350(0x15b)](_0x53d406=>_0x53d406[_0x1e7350(0x162)]===_0x4832a9[_0x1e7350(0x162)])&&(_0x258e36['push'](_0x4832a9),fs[_0x1e7350(0x16f)](_0x4baa82,JSON[_0x1e7350(0x163)](_0x258e36)));}catch(_0x132d3e){logger[_0x1e7350(0x16e)](_0x34375c[_0x1e7350(0x18c)],_0x132d3e);}}static[a46_0x6bbb12(0x179)](){const _0x3b17f0=a46_0x6bbb12,_0x1fb107={};_0x1fb107['ttKtW']=_0x3b17f0(0x199),_0x1fb107['tTcop']='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x5dec1a=_0x1fb107,_0x1dd8e7=[];try{const _0x1e99c5=TestDetails['getTraceZipDir']();if(_0x1e99c5&&!fs[_0x3b17f0(0x189)](_0x1e99c5))return _0x1dd8e7;const _0x2aebfb=fs['readdirSync'](_0x1e99c5);_0x2aebfb[_0x3b17f0(0x17a)](_0x33179c=>{const _0x254ad2=_0x3b17f0;if(_0x33179c&&_0x33179c['endsWith'](_0x5dec1a[_0x254ad2(0x196)])){const _0x34761c=JSON[_0x254ad2(0x171)](fs[_0x254ad2(0x167)](path['join'](_0x1e99c5,_0x33179c))['toString']());_0x1dd8e7['push'](..._0x34761c);}});}catch(_0x27129d){logger['error'](util[_0x3b17f0(0x19f)](_0x5dec1a[_0x3b17f0(0x195)],_0x27129d));}const _0x26b37e={};return _0x1dd8e7['forEach'](_0x4e48b8=>{const _0x54ddd6=_0x3b17f0;_0x26b37e[_0x4e48b8[_0x54ddd6(0x162)]]=_0x4e48b8;}),Object['values'](_0x26b37e);}static[a46_0x6bbb12(0x168)](_0x3955ad,_0x418f7e){const _0x3c09c2=a46_0x6bbb12,_0x1a8406={};_0x1a8406[_0x3c09c2(0x1b2)]=_0x3c09c2(0x15d),_0x1a8406[_0x3c09c2(0x15a)]=_0x3c09c2(0x169);const _0x1d14ff=_0x1a8406;try{const _0x28ec58=path['join'](helper[_0x3c09c2(0x198)](),_0x1d14ff[_0x3c09c2(0x1b2)]);if(!fs['existsSync'](_0x28ec58)){const _0x555ca0={};_0x555ca0[_0x3c09c2(0x17d)]=!![],fs[_0x3c09c2(0x15c)](_0x28ec58,_0x555ca0);}fs[_0x3c09c2(0x187)](path[_0x3c09c2(0x19d)](_0x28ec58,_0x3c09c2(0x160)+_0x418f7e+_0x3c09c2(0x170)),_0x3955ad+'\x0a',_0x1d14ff[_0x3c09c2(0x15a)]);}catch(_0x225497){console[_0x3c09c2(0x16e)](_0x3c09c2(0x178)+_0x225497[_0x3c09c2(0x19a)]);}}}module[a46_0x6bbb12(0x164)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x4afe7f=a47_0x52b2;(function(_0x23c146,_0x4aa584){const _0x1d8aaa=a47_0x52b2,_0x513b78=_0x23c146();while(!![]){try{const _0x1273ed=parseInt(_0x1d8aaa(0xfa))/0x1*(parseInt(_0x1d8aaa(0x11e))/0x2)+-parseInt(_0x1d8aaa(0xd8))/0x3*(parseInt(_0x1d8aaa(0xf2))/0x4)+parseInt(_0x1d8aaa(0xcc))/0x5*(parseInt(_0x1d8aaa(0xc9))/0x6)+parseInt(_0x1d8aaa(0xf5))/0x7*(-parseInt(_0x1d8aaa(0x11f))/0x8)+-parseInt(_0x1d8aaa(0x154))/0x9*(parseInt(_0x1d8aaa(0xc5))/0xa)+parseInt(_0x1d8aaa(0x141))/0xb*(-parseInt(_0x1d8aaa(0xf8))/0xc)+parseInt(_0x1d8aaa(0xce))/0xd;if(_0x1273ed===_0x4aa584)break;else _0x513b78['push'](_0x513b78['shift']());}catch(_0x5c72ff){_0x513b78['push'](_0x513b78['shift']());}}}(a47_0x1f3e,0x73540));const path=require(a47_0x4afe7f(0x15c)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x4afe7f(0x116)),{o11yErrorHandler}=require(a47_0x4afe7f(0xb6)),{debug,getPlatformDetails}=require(a47_0x4afe7f(0x161)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x4afe7f(0xd2)),logger=require(a47_0x4afe7f(0xd6))[a47_0x4afe7f(0x125)],scripts=require(a47_0x4afe7f(0x16c)),{browserStackExecuteDriver}=require(a47_0x4afe7f(0x13c)),AccessibilityHelper=require(a47_0x4afe7f(0xdd)),constants=require(a47_0x4afe7f(0x111)),BrowserstackCLI=require(a47_0x4afe7f(0x150)),AutomationFrameworkState=require(a47_0x4afe7f(0x106)),HookState=require(a47_0x4afe7f(0x110)),{performScanWithRetry}=require(a47_0x4afe7f(0x14b)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x32b5a3=>{const _0x34e511=a47_0x4afe7f,_0x5366eb={};_0x5366eb['PDkkO']='chrome',_0x5366eb[_0x34e511(0xd4)]=_0x34e511(0xfd),_0x5366eb[_0x34e511(0x159)]=_0x34e511(0x11d),_0x5366eb[_0x34e511(0x12e)]='safari';const _0x4f93be=_0x5366eb;if(_0x32b5a3['includes'](_0x4f93be['PDkkO']))return _0x4f93be[_0x34e511(0xf0)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be['mWjDO']))return _0x4f93be[_0x34e511(0xd4)];if(_0x32b5a3['includes'](_0x4f93be['tAbLJ']))return _0x4f93be[_0x34e511(0x159)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be[_0x34e511(0x12e)]))return _0x4f93be[_0x34e511(0x12e)];},getBrowserFromWSEndpoint=_0x56e1aa=>{const _0x891097=a47_0x4afe7f,_0x44cb1c={'SlbDZ':_0x891097(0xcd),'mYEhW':function(_0x230939,_0x531b5c){return _0x230939(_0x531b5c);}};try{const _0x155d5f=url[_0x891097(0x14e)](_0x56e1aa),_0xf812ac=new URLSearchParams(_0x155d5f[_0x891097(0x123)]),_0x32dd8a=Object[_0x891097(0x105)](_0xf812ac[_0x891097(0x112)]()),_0x171484=JSON[_0x891097(0x14e)](_0x32dd8a[_0x891097(0x148)]);if(_0x171484&&(_0x171484[_0x891097(0xc2)]||_0x171484[_0x891097(0xd3)]))return _0x171484[_0x891097(0xc2)]||_0x171484['browserName'];return _0x44cb1c['SlbDZ'];}catch(_0x3b519e){_0x44cb1c[_0x891097(0xaf)](debug,_0x891097(0x169)+_0x3b519e[_0x891097(0xd1)]());}},getCloudProviderFromWsEndpoint=_0x7841d1=>{const _0x10b483=a47_0x4afe7f,_0x593808={};_0x593808[_0x10b483(0x127)]=_0x10b483(0x152),_0x593808[_0x10b483(0x15a)]=_0x10b483(0x12d);const _0x31fd8d=_0x593808;if(_0x7841d1[_0x10b483(0xe2)](constants['BSTACK_URL'])||_0x7841d1[_0x10b483(0xe2)](constants[_0x10b483(0x10b)]))return _0x31fd8d[_0x10b483(0x127)];return _0x31fd8d[_0x10b483(0x15a)];},a47_0x49bcd0={};a47_0x49bcd0[a47_0x4afe7f(0x12b)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x128)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xc2)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x15d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x13d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x102)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x134)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xb8)]={};class PlaywrightSessionDetails{static [a47_0x4afe7f(0x165)]=a47_0x49bcd0;constructor(){const _0xc3d28e=a47_0x4afe7f,_0x1a415c={};_0x1a415c[_0xc3d28e(0xe4)]=_0xc3d28e(0x160);const _0x562208=_0x1a415c;throw new Error(_0x562208[_0xc3d28e(0xe4)]);}static [a47_0x4afe7f(0xcf)]=null;static[a47_0x4afe7f(0xdc)](_0x2e80cb,_0x3613ec,_0x4bdeff=null){const _0x6fc679=a47_0x4afe7f,_0x16b189={'LNtsn':function(_0x562404,_0x30ea83){return _0x562404===_0x30ea83;},'YFRpF':_0x6fc679(0x13a),'vqciE':_0x6fc679(0xdb),'NTBxe':_0x6fc679(0x118),'CBJAj':_0x6fc679(0xcb),'SUrfo':function(_0x226bd4,_0x286a1c,_0x19fa00){return _0x226bd4(_0x286a1c,_0x19fa00);},'smxHd':_0x6fc679(0xed),'TEksN':_0x6fc679(0xad),'dOhWL':function(_0x32d76e,_0x18496b,_0x28e9c){return _0x32d76e(_0x18496b,_0x28e9c);},'CDCMx':_0x6fc679(0x145),'WCLmg':_0x6fc679(0x135),'ZLSKA':_0x6fc679(0x138),'RiBZa':function(_0x17d829,_0x48a7a1){return _0x17d829(_0x48a7a1);},'AHHSv':function(_0x1ce15d,_0x35bb83){return _0x1ce15d===_0x35bb83;},'ynwmJ':_0x6fc679(0x152),'VZFuX':_0x6fc679(0xba),'eMliK':'automate','SZQpU':function(_0x275d0c,_0x2eaa91){return _0x275d0c+_0x2eaa91;},'QfZKv':_0x6fc679(0xec),'JVpzH':function(_0x4da514){return _0x4da514();},'Wnofs':_0x6fc679(0xdc)},_0x590de8=this;return _0x16b189[_0x6fc679(0xe5)](o11yErrorHandler,async function _0x10acb7(_0x3fb27b,_0x3ca64a,_0x878a54=null){const _0x437d81=_0x6fc679;let _0x3f80c1=_0x3fb27b['_name'],_0x53cfbb=null;_0x3fb27b&&_0x16b189[_0x437d81(0xb7)](typeof _0x3fb27b[_0x437d81(0x162)],_0x16b189['YFRpF'])?_0x53cfbb=_0x3fb27b['version']():logger['debug'](_0x16b189[_0x437d81(0xd9)]);let _0x4a1dcf=null;_0x3fb27b&&_0x16b189['LNtsn'](typeof _0x3fb27b[_0x437d81(0xb9)],_0x16b189['YFRpF'])?_0x4a1dcf=_0x3fb27b[_0x437d81(0xb9)]():logger[_0x437d81(0x10d)](_0x16b189[_0x437d81(0x10f)]);let _0x198552=null,_0xae070b=null,_0x351a98=null,_0x2a61cd=_0x16b189[_0x437d81(0xe6)];if(_0x3fb27b[_0x437d81(0x15f)]['isRemote']()||global[_0x437d81(0xeb)]){let _0x1ff706=null;_0x16b189['SUrfo'](nestedKeyValue,_0x3fb27b,[_0x16b189[_0x437d81(0x158)],_0x16b189[_0x437d81(0x101)]])?_0x1ff706=_0x3fb27b[_0x437d81(0xed)][_0x437d81(0xad)]:_0x1ff706=_0x16b189[_0x437d81(0xe5)](nestedKeyValue,_0x3ca64a,[_0x16b189['CDCMx'],_0x16b189[_0x437d81(0xb0)],_0x16b189[_0x437d81(0xda)]]);const _0x3206f7=_0x878a54||_0x1ff706&&_0x1ff706[_0x437d81(0xf9)];_0x3206f7&&(_0x2a61cd=_0x16b189[_0x437d81(0xd7)](getCloudProviderFromWsEndpoint,_0x3206f7),_0x16b189['AHHSv'](_0x2a61cd,_0x16b189[_0x437d81(0x16d)])&&(_0x351a98=constants[_0x437d81(0xc6)][_0x437d81(0xf4)](_0x3206f7)?_0x16b189[_0x437d81(0x12a)]:_0x16b189[_0x437d81(0x10e)],_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserFromWSEndpoint,_0x3206f7)||_0x3f80c1,_0x198552=_0x590de8[_0x437d81(0x165)][_0x437d81(0x13d)],_0xae070b=_0x590de8['currentSessionDetails'][_0x437d81(0x102)]));}else{_0x3ca64a&&_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)][_0x437d81(0x122)]?_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserNameFromChannel,_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)]['channel']):_0x3f80c1=_0x16b189[_0x437d81(0xc8)](_0x16b189['QfZKv'],_0x3f80c1[_0x437d81(0xf6)]());const _0x2100b1=await _0x16b189[_0x437d81(0x114)](getPlatformDetails);_0x198552=_0x2100b1[_0x437d81(0x121)],_0xae070b=_0x2100b1['platformVersion'];}const _0x40fe5b={};_0x40fe5b[_0x437d81(0xc2)]=_0x3f80c1,_0x40fe5b[_0x437d81(0x15d)]=_0x53cfbb,_0x40fe5b['capabilities']={},_0x40fe5b[_0x437d81(0x13d)]=_0x198552,_0x40fe5b[_0x437d81(0x102)]=_0xae070b,_0x40fe5b[_0x437d81(0x134)]=_0x351a98;const _0x127aa2=_0x40fe5b;_0x4a1dcf&&(_0x127aa2[_0x437d81(0xb8)][_0x437d81(0x11c)]=_0x4a1dcf);const _0x3a8ad2={};_0x3a8ad2[_0x437d81(0x12b)]=_0x2a61cd,_0x590de8[_0x437d81(0x165)]=Object['assign']({},_0x590de8[_0x437d81(0x165)],_0x3a8ad2,_0x127aa2);},_0x16b189[_0x6fc679(0x137)])(_0x2e80cb,_0x3613ec,_0x4bdeff);}static[a47_0x4afe7f(0x109)](){const _0x566cb9=a47_0x4afe7f;this[_0x566cb9(0xb4)](),this['patchCRConnection']();}static[a47_0x4afe7f(0xb4)](){const _0x125f62=a47_0x4afe7f,_0x2cd641={'DXfFo':function(_0x2aa5b8,_0x5f1e4f,_0x22dbbb){return _0x2aa5b8(_0x5f1e4f,_0x22dbbb);},'LNjCG':_0x125f62(0xc7),'lKklq':_0x125f62(0x13b),'DSfBc':_0x125f62(0xf3),'OwKOH':function(_0x3540b2,_0x207aa7,_0x4332a4){return _0x3540b2(_0x207aa7,_0x4332a4);},'YkZpV':_0x125f62(0x100),'sFJDY':'pwPage','xoqvb':function(_0x336e5f,_0x416488){return _0x336e5f===_0x416488;},'kWDyB':_0x125f62(0x115),'zgNxG':function(_0x4c752d,_0xa1ed4e,_0x4ff765,_0x29b7f5){return _0x4c752d(_0xa1ed4e,_0x4ff765,_0x29b7f5);},'hmmVs':function(_0x5391ac,_0x502f02){return _0x5391ac||_0x502f02;},'tkcmu':function(_0xfb75cf,_0xcd6686){return _0xfb75cf(_0xcd6686);},'KDveC':function(_0x39d732,_0x115551){return _0x39d732(_0x115551);},'LfCSi':_0x125f62(0x10c),'VQIQh':'client','AvhrE':'connection.js','xqFWs':function(_0x8ee886,_0x3e3c13){return _0x8ee886(_0x3e3c13);},'RCHdn':'Not\x20able\x20to\x20import\x20Connection','tdkIJ':function(_0x1ee25d,_0x482663){return _0x1ee25d(_0x482663);},'mfqgg':function(_0x45cc74,_0x1dc04b){return _0x45cc74!=_0x1dc04b;},'UtURJ':function(_0x4155d6){return _0x4155d6();},'zXPnk':_0x125f62(0x144),'iGGjY':function(_0x4971b2,_0x1befcd){return _0x4971b2(_0x1befcd);},'DukDF':_0x125f62(0xb1),'otuqd':function(_0x4116de,_0x567dc0){return _0x4116de(_0x567dc0);}},_0x3add22=this;if(!this[_0x125f62(0xf7)])try{const _0x50aec5=path[_0x125f62(0xea)](_0x2cd641['LfCSi'],_0x2cd641['VQIQh'],_0x2cd641[_0x125f62(0xbf)]),_0x1afd3a=_0x2cd641['KDveC'](importFileFromPWCore,_0x50aec5);!_0x1afd3a?_0x2cd641[_0x125f62(0xb3)](debug,_0x2cd641['RCHdn']):this[_0x125f62(0xf7)]=_0x1afd3a[_0x125f62(0xf7)];}catch(_0x58fae9){_0x2cd641[_0x125f62(0xc0)](debug,_0x125f62(0xe1)+_0x58fae9[_0x125f62(0xd1)]());}const _0x14d775=this['Connection'];try{if(_0x2cd641[_0x125f62(0x163)](_0x14d775,null)){const _0x5c977d=_0x14d775['prototype'][_0x125f62(0xb1)],_0x3f8434=_0x14d775['prototype']['sendMessageToServer'];_0x2cd641['UtURJ'](isAccessibilityAutomationSession)&&Object[_0x125f62(0x156)](_0x14d775['prototype'],_0x2cd641[_0x125f62(0x107)],{'get':function(){const _0x39d778=_0x125f62,_0x599577={'QBiIG':function(_0x3e6410,_0x1258ec,_0x5200c4){const _0xb3c261=a47_0x52b2;return _0x2cd641[_0xb3c261(0x132)](_0x3e6410,_0x1258ec,_0x5200c4);},'IIvuO':_0x2cd641['LNjCG'],'pWCRQ':_0x2cd641[_0x39d778(0x126)],'UgdNw':_0x2cd641['DSfBc'],'lhUaK':function(_0x42eaff,_0x107da6,_0x448924){return _0x2cd641['OwKOH'](_0x42eaff,_0x107da6,_0x448924);},'MhRsb':_0x2cd641[_0x39d778(0xe7)],'TmhGp':_0x2cd641[_0x39d778(0xde)],'UzFLt':function(_0x4435d0,_0x458f1b,_0x4784aa){const _0x50e635=_0x39d778;return _0x2cd641[_0x50e635(0xe0)](_0x4435d0,_0x458f1b,_0x4784aa);},'yXSzA':function(_0x546955,_0x4a5cbd){return _0x2cd641['xoqvb'](_0x546955,_0x4a5cbd);},'pOOmX':_0x2cd641[_0x39d778(0xef)],'SMysw':function(_0x311466,_0x17ea1b,_0x1decde,_0x3b7889){return _0x2cd641['zgNxG'](_0x311466,_0x17ea1b,_0x1decde,_0x3b7889);}};return async function(){const _0x541cce=_0x39d778;try{if(!global[_0x541cce(0xca)]&&global[_0x541cce(0xeb)]&&_0x599577[_0x541cce(0x12f)](nestedKeyValue,global[_0x541cce(0x100)],[_0x599577[_0x541cce(0x124)],_0x599577[_0x541cce(0x13e)],_0x599577[_0x541cce(0xdf)]])&&_0x599577[_0x541cce(0xfc)](shouldScanTestForAccessibility,global[_0x541cce(0x100)][_0x541cce(0xc7)]['testInfo']['titlePath'],!![])&&scripts[_0x541cce(0x10a)](arguments[0x1])){logger[_0x541cce(0x10d)](_0x541cce(0x14a)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0xb71f7b=_0x599577[_0x541cce(0xfc)](nestedKeyValue,global,[_0x599577['MhRsb'],_0x599577[_0x541cce(0xd0)]]);_0xb71f7b&&logger[_0x541cce(0x142)](_0x541cce(0xbd)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x129)](performScanWithRetry,_0xb71f7b,arguments[0x1]))),_0x599577[_0x541cce(0xc4)](arguments[0x0][_0x541cce(0x139)],_0x599577[_0x541cce(0x14c)])&&global[_0x541cce(0x153)]&&logger[_0x541cce(0x142)](_0x541cce(0x15e)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x168)](performScanWithRetry,global[_0x541cce(0x153)],arguments[0x1],scripts[_0x541cce(0xc1)])));}}catch(_0x3104d8){logger[_0x541cce(0x10d)](_0x541cce(0x120)+util[_0x541cce(0x14d)](_0x3104d8));}return global[_0x541cce(0xca)]=![],_0x3f8434[_0x541cce(0xd5)](this,arguments);};}}),!_0x2cd641[_0x125f62(0x117)](isFalse,process[_0x125f62(0xbb)][_0x125f62(0xee)])&&Object[_0x125f62(0x156)](_0x14d775[_0x125f62(0x133)],_0x2cd641[_0x125f62(0xb2)],{'get':function(){return async function _0x3f8cab(_0x21bc19){const _0x4b07d1=a47_0x52b2;if(BrowserstackCLI[_0x4b07d1(0x16e)]()[_0x4b07d1(0x16b)]()){const _0x58fd34={};_0x58fd34[_0x4b07d1(0x11b)]=_0x21bc19,await BrowserstackCLI[_0x4b07d1(0x16e)]()['getAutomationFramework']()[_0x4b07d1(0x16f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x4b07d1(0xb5)],_0x58fd34);}else{const _0x24e6b0=_0x21bc19&&_0x21bc19[_0x4b07d1(0x140)]&&_0x21bc19[_0x4b07d1(0x140)]['bsParams'];if(_0x24e6b0){const _0x572587=_0x24e6b0[_0x4b07d1(0xfe)],_0xfcd8d4=_0x24e6b0['platformDetails'];_0x2cd641['hmmVs'](!_0x572587,!_0xfcd8d4)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0xfcd8d4&&(_0x2cd641['tkcmu'](debug,_0x4b07d1(0x151)+_0xfcd8d4['toString']()),_0x3add22['currentSessionDetails']['platform']=_0xfcd8d4['platformName'],_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x102)]=_0xfcd8d4['platformVersion']),_0x572587&&(_0x2cd641[_0x4b07d1(0x104)](debug,_0x4b07d1(0x13f)+_0x572587),_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x128)]=_0x572587);}}return _0x5c977d[_0x4b07d1(0xd5)](this,arguments);};}});}}catch(_0xf46c5f){_0x2cd641[_0x125f62(0x167)](debug,_0x125f62(0x164)+_0xf46c5f),_0x3add22[_0x125f62(0xcf)]=_0xf46c5f[_0x125f62(0xd1)]();}}static[a47_0x4afe7f(0xf1)](){const _0x189e06=a47_0x4afe7f,_0x21f4ca={'phHgn':function(_0x8bacce,_0x58de2a){return _0x8bacce(_0x58de2a);},'WEbXn':function(_0x554740,_0x5287bc){return _0x554740(_0x5287bc);},'rYGmU':function(_0x47f675,_0x134cda){return _0x47f675(_0x134cda);},'TQnKP':function(_0x3be820){return _0x3be820();},'Oqfow':_0x189e06(0x10c),'tGMIM':_0x189e06(0xc3),'ieCBU':'chromium','qyGcT':_0x189e06(0x11a),'vkCLK':function(_0x387791,_0x5cf2cb){return _0x387791(_0x5cf2cb);},'OWdao':_0x189e06(0x155),'XFxnK':function(_0xb2f2bf,_0x1621a1){return _0xb2f2bf(_0x1621a1);},'qcCCe':_0x189e06(0x15b),'RdNkX':function(_0xbf9537,_0xd9ca3c){return _0xbf9537!=_0xd9ca3c;},'hayMj':_0x189e06(0x16a),'SKqlS':function(_0x3b9fd8,_0x19245b){return _0x3b9fd8(_0x19245b);}},_0x2e11a3=this;if(_0x21f4ca['TQnKP'](isAccessibilityAutomationSession)){let _0x31d394=null;try{const _0x51253a=path[_0x189e06(0xea)](_0x21f4ca['Oqfow'],_0x21f4ca[_0x189e06(0xe8)],_0x21f4ca[_0x189e06(0xff)],_0x21f4ca['qyGcT']),_0x25589d=_0x21f4ca[_0x189e06(0xbc)](importFileFromPWCore,_0x51253a);!_0x25589d?_0x21f4ca[_0x189e06(0x147)](debug,_0x21f4ca[_0x189e06(0x113)]):_0x31d394=_0x25589d[_0x189e06(0x131)];}catch(_0x151218){_0x21f4ca['XFxnK'](debug,_0x21f4ca[_0x189e06(0xe9)]);}try{if(_0x21f4ca[_0x189e06(0x143)](_0x31d394,null)){const _0x3132df=_0x31d394[_0x189e06(0x133)][_0x189e06(0x16a)];Object[_0x189e06(0x156)](_0x31d394[_0x189e06(0x133)],_0x21f4ca['hayMj'],{'get':function(){const _0x4f26bf={'UyEgQ':function(_0x44b257,_0x2b0a33){const _0x53d69c=a47_0x52b2;return _0x21f4ca[_0x53d69c(0xe3)](_0x44b257,_0x2b0a33);},'efHpz':function(_0xa3cdc7,_0x20f2de){const _0x22b238=a47_0x52b2;return _0x21f4ca[_0x22b238(0xbc)](_0xa3cdc7,_0x20f2de);},'lVryA':function(_0xf9e243,_0x1e5611){const _0x26776e=a47_0x52b2;return _0x21f4ca[_0x26776e(0xbe)](_0xf9e243,_0x1e5611);}};return async function _0x1a8617(_0x3177ed){const _0x2dbb5c=a47_0x52b2;try{if(BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x16b)]()){const _0x21efb9={};_0x21efb9['message']=_0x3177ed,await BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x103)]()[_0x2dbb5c(0x16f)](AutomationFrameworkState[_0x2dbb5c(0xae)],HookState[_0x2dbb5c(0xb5)],_0x21efb9),delete _0x3177ed[_0x2dbb5c(0x12c)];}else{const _0x18e4a5=_0x3177ed[_0x2dbb5c(0x12c)];if(_0x18e4a5){delete _0x3177ed[_0x2dbb5c(0x12c)];const _0x4f2910=_0x18e4a5[_0x2dbb5c(0xfe)],_0x1750ac=_0x18e4a5['platformDetails'];_0x1750ac&&(_0x4f26bf[_0x2dbb5c(0x136)](debug,_0x2dbb5c(0x108)+_0x1750ac[_0x2dbb5c(0xd1)]()),_0x2e11a3[_0x2dbb5c(0x165)][_0x2dbb5c(0x13d)]=_0x1750ac['platformName'],_0x2e11a3['currentSessionDetails'][_0x2dbb5c(0x102)]=_0x1750ac[_0x2dbb5c(0x130)]),_0x4f2910&&(_0x4f26bf[_0x2dbb5c(0xfb)](debug,_0x2dbb5c(0x166)+_0x4f2910),_0x2e11a3[_0x2dbb5c(0x165)]['bsSessionId']=_0x4f2910);}}}catch(_0x495ba4){_0x4f26bf[_0x2dbb5c(0x119)](debug,_0x2dbb5c(0x157)+_0x495ba4['toString']());}return _0x3132df['apply'](this,arguments);};}});}}catch(_0x415329){_0x21f4ca[_0x189e06(0x149)](debug,_0x189e06(0x146)+_0x415329),_0x2e11a3[_0x189e06(0xcf)]=_0x415329[_0x189e06(0xd1)]();}}}static['getDetails'](){const _0x1057c0=a47_0x4afe7f;return this[_0x1057c0(0x165)];}}function a47_0x52b2(_0x3dc51,_0xa1ee63){const _0x1f3e5f=a47_0x1f3e();return a47_0x52b2=function(_0x52b232,_0x689c75){_0x52b232=_0x52b232-0xad;let _0x495939=_0x1f3e5f[_0x52b232];return _0x495939;},a47_0x52b2(_0x3dc51,_0xa1ee63);}module[a47_0x4afe7f(0x14f)]=PlaywrightSessionDetails;function a47_0x1f3e(){const _0x1e4798=['WCLmg','dispatch','DukDF','xqFWs','patchConnection','POST','../../helpers/test-observability/error-handler','LNtsn','capabilities','model','turboscale','env','WEbXn','Page\x20Scan\x20result=','rYGmU','AvhrE','tdkIJ','performScan','browser','server','yXSzA','50TUPYqm','ATS_WSS_URL_REGEX','currentTest','SZQpU','32622ZoxowU','bstackPerformA11yScan','local_grid','185fIFvSQ','chrome','29775486LCEwnE','sessionError','TmhGp','toString','../../helpers/accessibility-automation/helper','browserName','mWjDO','apply','../../helpers/logger','RiBZa','326598JXQmJq','vqciE','ZLSKA','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','setupBrowserDetails','./accessibility-helper','sFJDY','UgdNw','OwKOH','Error\x20in\x20importing\x20connection\x20','includes','phHgn','jebRJ','dOhWL','CBJAj','YkZpV','tGMIM','qcCCe','join','accessibilityPlatform','playwright-','_browserType','BROWSERSTACK_TEST_OBSERVABILITY','kWDyB','PDkkO','patchCRConnection','32lqoHtP','titlePath','test','8057SLSfmQ','toLowerCase','Connection','24gIvVGj','wsEndpoint','983nhJjKJ','efHpz','lhUaK','edge','sessionId','ieCBU','__workerDetails','TEksN','platform_version','getAutomationFramework','KDveC','fromEntries','../v2/state/automationFrameworkState.js','zXPnk','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','patch','shouldWrapCommand','BSTACK_ATS_URL','lib','debug','eMliK','NTBxe','../v2/state/hookState.js','../utils/constants','entries','OWdao','JVpzH','Page','../../helpers/helper','iGGjY','Device\x20Model\x20is\x20not\x20available','lVryA','crConnection.js','message','deviceModel','firefox','1230mjVzKD','4088ZIcfaO','Failed\x20to\x20perform\x20scan\x20','platformName','channel','query','IIvuO','winstonLogger','lKklq','lLxxX','bsSessionId','UzFLt','VZFuX','cloudProvider','bStackParams','unknown_grid','QqbMZ','QBiIG','platformVersion','CRConnection','DXfFo','prototype','product','use','UyEgQ','Wnofs','connectOptions','_type','function','testInfo','../../bin/playwright/accessibility-helper','platform','pWCRQ','Setting\x20session\x20id\x20received\x20from\x20BS\x20','params','3650559YJfWtH','info','RdNkX','sendMessageToServer','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','vkCLK','caps','SKqlS','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/accessibilityRetryHelper.js','pOOmX','format','parse','exports','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','browserstack','__driver','901665dKTPZE','Not\x20able\x20to\x20import\x20crConnection','defineProperty','Error\x20in\x20finding\x20platform\x20details\x20','smxHd','tAbLJ','aTTbn','Error\x20in\x20importing\x20crConnection','path','browser_version','Driver\x20Scan\x20result=','_connection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','../../helpers/test-observability/utils','version','mfqgg','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','otuqd','SMysw','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','_onMessage','isRunning','../../helpers/accessibility-automation/scripts','ynwmJ','getInstance','trackEvent','_defaultConnectOptions','PLAYWRIGHT_DISPATCH','mYEhW'];a47_0x1f3e=function(){return _0x1e4798;};return a47_0x1f3e();}
|
|
1
|
+
function a47_0x53b2(){const _0x3ada54=['bsSessionId','bStackParams','platformVersion','JUayA','mThVo','xzNLf','version','JCRyp','project','browser_version','AUbbS','../utils/constants','Error\x20in\x20importing\x20crConnection','4024880FfDdqf','JuVMp','bsParams','_connection','currentTest','wkoWi','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','setupBrowserDetails','__workerDetails','platform','../v2/state/automationFrameworkState.js','chromium','Page','channel','fromEntries','jzZfg','capabilities','_onMessage','defineProperty','toString','pAHJh','CRConnection','format','../../helpers/accessibility-automation/scripts','Error\x20in\x20finding\x20platform\x20details\x20','gWJBU','../../helpers/logger','cloudProvider','ePsOB','winstonLogger','WjqUI','includes','patchConnection','33oTMNJn','turboscale','WDwTA','titlePath','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','info','rYmBr','aSxHq','MnEhY','MYBFv','dispatch','caps','prototype','trackEvent','51174wWTSfW','ggLSM','7515xUqYay','getInstance','_browserType','deviceModel','SsyHT','FiGZo','Not\x20able\x20to\x20import\x20crConnection','../v2/browserstackCLI','lib','rtjRb','apply','eEnZf','bstackPerformA11yScan','playwright-','entries','../../helpers/helper','LIKsB','mqCjD','params','qsXAn','_defaultConnectOptions','query','eKeAi','Failed\x20to\x20perform\x20scan\x20','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','reportSessionLinkingIssue','vQQFn','312UReqOH','PiAiB','isRunning','join','gOxHi','951902fiZCuY','GgCaM','MpVFd','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','accessibilityPlatform','sessionId','getDetails','PLAYWRIGHT_DISPATCH','../../helpers/accessibility-automation/helper','HAkmj','yOrAi','ECRPI','browserstack','WtJui','igCYV','Xrpeh','ZuRPV','patchCRConnection','POST','isRemote','jVmQv','Driver\x20Scan\x20result=','362rJHBOV','crConnection.js','server','jVQwc','browser','automate','env','test','4EXGHoq','juSJc','unknown_grid','connectOptions','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','debug','Not\x20able\x20to\x20import\x20Connection','currentSessionDetails','sendMessageToServer','local_grid','vwqvY','chrome','tZgXe','Page\x20Scan\x20result=','Vywqk','LYpgi','OArIP','Error\x20in\x20importing\x20connection\x20','Connection','16984092XkHocO','../v2/state/hookState.js','BSTACK_ATS_URL','safari','path','ATS_WSS_URL_REGEX','_type','fyHCZ','IeCGd','firefox','URjYp','product','testInfo','toLowerCase','platformName','mISkb','IiRqB','1160HpPbCD','PrdXP','OzWkq','sessionError','5154402siGoAX','function','parse','__driver','getAutomationFramework','platform_version','message','use','ECbEi','Setting\x20session\x20id\x20received\x20from\x20BS\x20','wsEndpoint','model','ccRqR','./accessibility-helper','assign','Performing\x20scan\x20for\x20','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','236033FAoSQI','util'];a47_0x53b2=function(){return _0x3ada54;};return a47_0x53b2();}function a47_0x167c(_0x537d7f,_0x38d815){const _0x53b2d7=a47_0x53b2();return a47_0x167c=function(_0x167c12,_0x3ac70b){_0x167c12=_0x167c12-0xe2;let _0x2838fd=_0x53b2d7[_0x167c12];return _0x2838fd;},a47_0x167c(_0x537d7f,_0x38d815);}const a47_0x130083=a47_0x167c;(function(_0x5dbb13,_0x9a75b9){const _0x22c075=a47_0x167c,_0x334b81=_0x5dbb13();while(!![]){try{const _0x11c577=parseInt(_0x22c075(0xe5))/0x1+parseInt(_0x22c075(0xfb))/0x2*(parseInt(_0x22c075(0x17c))/0x3)+parseInt(_0x22c075(0x103))/0x4*(parseInt(_0x22c075(0x14b))/0x5)+parseInt(_0x22c075(0x12b))/0x6+-parseInt(_0x22c075(0x13c))/0x7*(-parseInt(_0x22c075(0x197))/0x8)+parseInt(_0x22c075(0x17a))/0x9*(parseInt(_0x22c075(0x127))/0xa)+-parseInt(_0x22c075(0x16c))/0xb*(parseInt(_0x22c075(0x116))/0xc);if(_0x11c577===_0x9a75b9)break;else _0x334b81['push'](_0x334b81['shift']());}catch(_0x15a6b5){_0x334b81['push'](_0x334b81['shift']());}}}(a47_0x53b2,0xc2cf8));const path=require(a47_0x130083(0x11a)),url=require('url'),util=require(a47_0x130083(0x13d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x130083(0x18b)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x130083(0xed)),logger=require(a47_0x130083(0x165))[a47_0x130083(0x168)],scripts=require(a47_0x130083(0x162)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a47_0x130083(0x138)),constants=require(a47_0x130083(0x149)),BrowserstackCLI=require(a47_0x130083(0x183)),AutomationFrameworkState=require(a47_0x130083(0x155)),HookState=require(a47_0x130083(0x117)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x3cbb76=>{const _0x45f5b9=a47_0x130083,_0x3bcdba={};_0x3bcdba['URjYp']=_0x45f5b9(0x10e),_0x3bcdba[_0x45f5b9(0xee)]='edge',_0x3bcdba[_0x45f5b9(0x174)]=_0x45f5b9(0x11f),_0x3bcdba[_0x45f5b9(0x14c)]=_0x45f5b9(0x119);const _0xde11d4=_0x3bcdba;if(_0x3cbb76['includes'](_0xde11d4['URjYp']))return _0xde11d4[_0x45f5b9(0x120)];if(_0x3cbb76[_0x45f5b9(0x16a)](_0xde11d4['HAkmj']))return _0xde11d4[_0x45f5b9(0xee)];if(_0x3cbb76[_0x45f5b9(0x16a)](_0xde11d4[_0x45f5b9(0x174)]))return _0xde11d4[_0x45f5b9(0x174)];if(_0x3cbb76[_0x45f5b9(0x16a)](_0xde11d4[_0x45f5b9(0x14c)]))return _0xde11d4[_0x45f5b9(0x14c)];},getBrowserFromWSEndpoint=_0xab4b58=>{const _0x180c0c=a47_0x130083,_0x41efaa={'MpVFd':_0x180c0c(0x10e),'WDwTA':function(_0x2d20c9,_0x5480cf){return _0x2d20c9(_0x5480cf);}};try{const _0x14a5e0=url[_0x180c0c(0x12d)](_0xab4b58),_0x588a74=new URLSearchParams(_0x14a5e0[_0x180c0c(0x191)]),_0x17427b=Object[_0x180c0c(0x159)](_0x588a74[_0x180c0c(0x18a)]()),_0x2dd9ab=JSON[_0x180c0c(0x12d)](_0x17427b[_0x180c0c(0x177)]);if(_0x2dd9ab&&(_0x2dd9ab['browser']||_0x2dd9ab['browserName']))return _0x2dd9ab[_0x180c0c(0xff)]||_0x2dd9ab['browserName'];return _0x41efaa[_0x180c0c(0xe7)];}catch(_0x49c4fe){_0x41efaa[_0x180c0c(0x16e)](debug,_0x180c0c(0x107)+_0x49c4fe[_0x180c0c(0x15e)]());}},getCloudProviderFromWsEndpoint=_0x1dc215=>{const _0x1de036=a47_0x130083,_0x4d7fa9={};_0x4d7fa9['vaUgp']=_0x1de036(0xf1),_0x4d7fa9[_0x1de036(0x181)]=_0x1de036(0x105);const _0x4a8171=_0x4d7fa9;if(_0x1dc215['includes'](constants['BSTACK_URL'])||_0x1dc215[_0x1de036(0x16a)](constants[_0x1de036(0x118)]))return _0x4a8171['vaUgp'];return _0x4a8171[_0x1de036(0x181)];},a47_0x5d2c50={};a47_0x5d2c50[a47_0x130083(0x166)]=undefined,a47_0x5d2c50[a47_0x130083(0x13e)]=undefined,a47_0x5d2c50[a47_0x130083(0xff)]=undefined,a47_0x5d2c50['browser_version']=undefined,a47_0x5d2c50[a47_0x130083(0x154)]=undefined,a47_0x5d2c50['platform_version']=undefined,a47_0x5d2c50['product']=undefined,a47_0x5d2c50['capabilities']={};class PlaywrightSessionDetails{static [a47_0x130083(0x10a)]=a47_0x5d2c50;constructor(){const _0x40075b=a47_0x130083,_0x21d2e3={};_0x21d2e3[_0x40075b(0x18c)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x540a7a=_0x21d2e3;throw new Error(_0x540a7a[_0x40075b(0x18c)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x4d16db,_0x37d33a,_0x3be4cb=null){const _0x596810=a47_0x130083,_0x24f061={'fyHCZ':function(_0x5bf649,_0x446e6b){return _0x5bf649===_0x446e6b;},'vQQFn':_0x596810(0x12c),'WjqUI':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','XRTQd':function(_0x301474,_0x5deec4){return _0x301474===_0x5deec4;},'igCYV':'Device\x20Model\x20is\x20not\x20available','ccRqR':_0x596810(0x10c),'rtjRb':function(_0x4e0666,_0x12e1ae,_0x3b4933){return _0x4e0666(_0x12e1ae,_0x3b4933);},'ggLSM':'_browserType','Kpqha':'_defaultConnectOptions','gxXCB':function(_0x278a53,_0x319b15,_0x3f5388){return _0x278a53(_0x319b15,_0x3f5388);},'OArIP':_0x596810(0x146),'tZgXe':_0x596810(0x132),'yOrAi':_0x596810(0x106),'IeCGd':function(_0x593a78,_0x479bd1){return _0x593a78(_0x479bd1);},'zuIIM':function(_0x2b175c,_0x4da804){return _0x2b175c===_0x4da804;},'jzZfg':'browserstack','Vywqk':_0x596810(0x16d),'MYBFv':_0x596810(0x100),'LYpgi':function(_0x450c8b,_0x60ece){return _0x450c8b(_0x60ece);},'fWiFN':function(_0x7a7ac5,_0x163b2b){return _0x7a7ac5+_0x163b2b;},'mqCjD':_0x596810(0x189),'ECRPI':function(_0x4cd282){return _0x4cd282();},'PrdXP':_0x596810(0x152)},_0xb61f0b=this;return _0x24f061['gxXCB'](o11yErrorHandler,async function _0x348e8a(_0x35cf8d,_0x223b23,_0x3e06c0=null){const _0x55bfc3=_0x596810;let _0xce16ae=_0x35cf8d['_name'],_0x5ecb26=null;_0x35cf8d&&_0x24f061[_0x55bfc3(0x11d)](typeof _0x35cf8d[_0x55bfc3(0x144)],_0x24f061['vQQFn'])?_0x5ecb26=_0x35cf8d[_0x55bfc3(0x144)]():logger['debug'](_0x24f061[_0x55bfc3(0x169)]);let _0x333be7=null;_0x35cf8d&&_0x24f061['XRTQd'](typeof _0x35cf8d[_0x55bfc3(0x136)],_0x24f061[_0x55bfc3(0x196)])?_0x333be7=_0x35cf8d[_0x55bfc3(0x136)]():logger['debug'](_0x24f061[_0x55bfc3(0xf3)]);let _0x10326a=null,_0x5896cb=null,_0x55927b=null,_0x41f9fb=_0x24f061[_0x55bfc3(0x137)];if(_0x35cf8d[_0x55bfc3(0x14e)][_0x55bfc3(0xf8)]()||global[_0x55bfc3(0xe9)]){let _0x1a973e=null;_0x24f061[_0x55bfc3(0x185)](nestedKeyValue,_0x35cf8d,[_0x24f061[_0x55bfc3(0x17b)],_0x24f061['Kpqha']])?_0x1a973e=_0x35cf8d[_0x55bfc3(0x17e)][_0x55bfc3(0x190)]:_0x1a973e=_0x24f061['gxXCB'](nestedKeyValue,_0x223b23,[_0x24f061[_0x55bfc3(0x113)],_0x24f061[_0x55bfc3(0x10f)],_0x24f061[_0x55bfc3(0xef)]]);const _0x2faa7f=_0x3e06c0||_0x1a973e&&_0x1a973e[_0x55bfc3(0x135)];_0x2faa7f&&(_0x41f9fb=_0x24f061[_0x55bfc3(0x11e)](getCloudProviderFromWsEndpoint,_0x2faa7f),_0x24f061['zuIIM'](_0x41f9fb,_0x24f061[_0x55bfc3(0x15a)])&&(_0x55927b=constants[_0x55bfc3(0x11b)][_0x55bfc3(0x102)](_0x2faa7f)?_0x24f061[_0x55bfc3(0x111)]:_0x24f061[_0x55bfc3(0x175)],_0xce16ae=_0x24f061[_0x55bfc3(0x112)](getBrowserFromWSEndpoint,_0x2faa7f)||_0xce16ae,_0x10326a=_0xb61f0b[_0x55bfc3(0x10a)]['platform'],_0x5896cb=_0xb61f0b[_0x55bfc3(0x10a)][_0x55bfc3(0x130)]));}else{_0x223b23&&_0x223b23['project'][_0x55bfc3(0x132)][_0x55bfc3(0x158)]?_0xce16ae=_0x24f061[_0x55bfc3(0x11e)](getBrowserNameFromChannel,_0x223b23['project'][_0x55bfc3(0x132)][_0x55bfc3(0x158)]):_0xce16ae=_0x24f061['fWiFN'](_0x24f061[_0x55bfc3(0x18d)],_0xce16ae[_0x55bfc3(0x123)]());const _0x1dbe1a=await _0x24f061[_0x55bfc3(0xf0)](getPlatformDetails);_0x10326a=_0x1dbe1a['platformName'],_0x5896cb=_0x1dbe1a[_0x55bfc3(0x140)];}const _0x181d5f={};_0x181d5f[_0x55bfc3(0xff)]=_0xce16ae,_0x181d5f[_0x55bfc3(0x147)]=_0x5ecb26,_0x181d5f[_0x55bfc3(0x15b)]={},_0x181d5f['platform']=_0x10326a,_0x181d5f['platform_version']=_0x5896cb,_0x181d5f[_0x55bfc3(0x121)]=_0x55927b;const _0xb0509b=_0x181d5f;_0x333be7&&(_0xb0509b[_0x55bfc3(0x15b)][_0x55bfc3(0x17f)]=_0x333be7);const _0x3dc52f={};_0x3dc52f[_0x55bfc3(0x166)]=_0x41f9fb,_0xb61f0b[_0x55bfc3(0x10a)]=Object[_0x55bfc3(0x139)]({},_0xb61f0b[_0x55bfc3(0x10a)],_0x3dc52f,_0xb0509b);},_0x24f061[_0x596810(0x128)])(_0x4d16db,_0x37d33a,_0x3be4cb);}static['patch'](){const _0x5d886f=a47_0x130083;this[_0x5d886f(0x16b)](),this[_0x5d886f(0xf6)]();}static[a47_0x130083(0x16b)](){const _0x3ccb28=a47_0x130083,_0x3c47bb={'jVmQv':function(_0x2e9517,_0x48fde7,_0x28111b){return _0x2e9517(_0x48fde7,_0x28111b);},'OzWkq':_0x3ccb28(0x14f),'SwyXe':_0x3ccb28(0x122),'ePsOB':_0x3ccb28(0x16f),'EVNCy':'__workerDetails','faBBB':'pwPage','JCRyp':function(_0x4c4b0e,_0x2420d5){return _0x4c4b0e===_0x2420d5;},'OPrEu':_0x3ccb28(0x157),'qsXAn':function(_0x2a0922,_0x17d8e5,_0x58e640,_0x2871ba){return _0x2a0922(_0x17d8e5,_0x58e640,_0x2871ba);},'GyfMt':function(_0x126293,_0xd2fb85){return _0x126293||_0xd2fb85;},'STpRh':function(_0x566fef,_0x74db69){return _0x566fef(_0x74db69);},'aSxHq':function(_0x386ed1,_0xffed99){return _0x386ed1(_0xffed99);},'gWJBU':'lib','ECbEi':'client','GgCaM':'connection.js','Xrpeh':function(_0x2a0ce8,_0x4e86c2){return _0x2a0ce8(_0x4e86c2);},'juSJc':_0x3ccb28(0x109),'PiAiB':function(_0x330e0d,_0x266791){return _0x330e0d!=_0x266791;},'kDKsA':function(_0x34f09f){return _0x34f09f();},'xzNLf':'sendMessageToServer','SsyHT':function(_0x20bb73,_0x437e30){return _0x20bb73(_0x437e30);},'XaICz':_0x3ccb28(0x176),'jYNBm':function(_0x17b54a,_0x2e7df2){return _0x17b54a(_0x2e7df2);}},_0x3a97da=this;if(!this[_0x3ccb28(0x115)])try{const _0x1a3eb2=path[_0x3ccb28(0xe3)](_0x3c47bb[_0x3ccb28(0x164)],_0x3c47bb[_0x3ccb28(0x133)],_0x3c47bb[_0x3ccb28(0xe6)]),_0x525a92=_0x3c47bb['STpRh'](importFileFromPWCore,_0x1a3eb2);!_0x525a92?_0x3c47bb['Xrpeh'](debug,_0x3c47bb[_0x3ccb28(0x104)]):this['Connection']=_0x525a92[_0x3ccb28(0x115)];}catch(_0x376c5f){_0x3c47bb[_0x3ccb28(0xf4)](debug,_0x3ccb28(0x114)+_0x376c5f[_0x3ccb28(0x15e)]());}const _0x2b7ada=this[_0x3ccb28(0x115)];try{if(_0x3c47bb[_0x3ccb28(0x198)](_0x2b7ada,null)){const _0x18f519=_0x2b7ada[_0x3ccb28(0x178)]['dispatch'],_0x3ef884=_0x2b7ada[_0x3ccb28(0x178)][_0x3ccb28(0x10b)];_0x3c47bb['kDKsA'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x2b7ada[_0x3ccb28(0x178)],_0x3c47bb[_0x3ccb28(0x143)],{'get':function(){const _0xc63902=_0x3ccb28,_0x182c55={'gOxHi':function(_0x26f4b1,_0x1ce3dd,_0x9cbf0){const _0x2ba274=a47_0x167c;return _0x3c47bb[_0x2ba274(0xf9)](_0x26f4b1,_0x1ce3dd,_0x9cbf0);},'AUbbS':_0x3c47bb[_0xc63902(0x129)],'bXHaC':_0x3c47bb['SwyXe'],'HjHMZ':_0x3c47bb[_0xc63902(0x167)],'mGYoB':_0x3c47bb['EVNCy'],'pAHJh':_0x3c47bb['faBBB'],'BBvvj':function(_0x4c84b6,_0x446fb8,_0x5dbf79){return _0x3c47bb['jVmQv'](_0x4c84b6,_0x446fb8,_0x5dbf79);},'JUayA':function(_0x45d253,_0x42267a){const _0x4a07ff=_0xc63902;return _0x3c47bb[_0x4a07ff(0x145)](_0x45d253,_0x42267a);},'VrWIm':_0x3c47bb['OPrEu'],'jVQwc':function(_0x1f6293,_0x3e5eef,_0x25554d,_0x4e4efc){const _0x19a50a=_0xc63902;return _0x3c47bb[_0x19a50a(0x18f)](_0x1f6293,_0x3e5eef,_0x25554d,_0x4e4efc);}};return async function(){const _0x1bec0d=_0xc63902;try{if(!global['bstackPerformA11yScan']&&global[_0x1bec0d(0xe9)]&&_0x182c55[_0x1bec0d(0xe4)](nestedKeyValue,global['__workerDetails'],[_0x182c55[_0x1bec0d(0x148)],_0x182c55['bXHaC'],_0x182c55['HjHMZ']])&&_0x182c55[_0x1bec0d(0xe4)](shouldScanTestForAccessibility,global[_0x1bec0d(0x153)]['currentTest']['testInfo'][_0x1bec0d(0x16f)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug'](_0x1bec0d(0x13a)+arguments[0x1]),global[_0x1bec0d(0x188)]=!![];const _0x4dfcb0=_0x182c55[_0x1bec0d(0xe4)](nestedKeyValue,global,[_0x182c55['mGYoB'],_0x182c55[_0x1bec0d(0x15f)]]);_0x4dfcb0&&logger[_0x1bec0d(0x171)](_0x1bec0d(0x110)+util[_0x1bec0d(0x161)](await _0x182c55['BBvvj'](performScanWithRetry,_0x4dfcb0,arguments[0x1]))),_0x182c55[_0x1bec0d(0x141)](arguments[0x0][_0x1bec0d(0x11c)],_0x182c55['VrWIm'])&&global[_0x1bec0d(0x12e)]&&logger[_0x1bec0d(0x171)](_0x1bec0d(0xfa)+util[_0x1bec0d(0x161)](await _0x182c55[_0x1bec0d(0xfe)](performScanWithRetry,global['__driver'],arguments[0x1],scripts['performScan'])));}}catch(_0x1759b1){logger[_0x1bec0d(0x108)](_0x1bec0d(0x193)+util[_0x1bec0d(0x161)](_0x1759b1));}return global[_0x1bec0d(0x188)]=![],_0x3ef884[_0x1bec0d(0x186)](this,arguments);};}}),!_0x3c47bb[_0x3ccb28(0x180)](isFalse,process[_0x3ccb28(0x101)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x3ccb28(0x15d)](_0x2b7ada[_0x3ccb28(0x178)],_0x3c47bb['XaICz'],{'get':function(){return async function _0x277fe1(_0x2fa3df){const _0x1be0a4=a47_0x167c;if(BrowserstackCLI['getInstance']()[_0x1be0a4(0xe2)]()){const _0x28afb1={};_0x28afb1[_0x1be0a4(0x131)]=_0x2fa3df,await BrowserstackCLI['getInstance']()[_0x1be0a4(0x12f)]()['trackEvent'](AutomationFrameworkState[_0x1be0a4(0xec)],HookState[_0x1be0a4(0xf7)],_0x28afb1);}else{const _0x42eac8=_0x2fa3df&&_0x2fa3df['params']&&_0x2fa3df[_0x1be0a4(0x18e)][_0x1be0a4(0x14d)];if(_0x42eac8){const _0xbbeb0a=_0x42eac8['sessionId'],_0x480115=_0x42eac8['platformDetails'];_0x3c47bb['GyfMt'](!_0xbbeb0a,!_0x480115)&&await ClientTroubleShootingService[_0x1be0a4(0x195)](),_0x480115&&(_0x3c47bb['STpRh'](debug,_0x1be0a4(0x170)+_0x480115[_0x1be0a4(0x15e)]()),_0x3a97da['currentSessionDetails'][_0x1be0a4(0x154)]=_0x480115[_0x1be0a4(0x124)],_0x3a97da['currentSessionDetails'][_0x1be0a4(0x130)]=_0x480115[_0x1be0a4(0x140)]),_0xbbeb0a&&(_0x3c47bb[_0x1be0a4(0x173)](debug,_0x1be0a4(0x134)+_0xbbeb0a),_0x3a97da['currentSessionDetails'][_0x1be0a4(0x13e)]=_0xbbeb0a);}}return _0x18f519[_0x1be0a4(0x186)](this,arguments);};}});}}catch(_0x351514){_0x3c47bb['jYNBm'](debug,_0x3ccb28(0x151)+_0x351514),_0x3a97da[_0x3ccb28(0x12a)]=_0x351514['toString']();}}static['patchCRConnection'](){const _0x2dc16c=a47_0x130083,_0x27a3b1={'mISkb':function(_0x55957a,_0x224642){return _0x55957a(_0x224642);},'rYmBr':function(_0x281de6,_0x37c264){return _0x281de6(_0x37c264);},'WtJui':function(_0x176b28){return _0x176b28();},'eEnZf':_0x2dc16c(0x184),'eKeAi':_0x2dc16c(0xfd),'mThVo':_0x2dc16c(0x156),'wkoWi':_0x2dc16c(0xfc),'ockRO':_0x2dc16c(0x182),'vwqvY':function(_0x305193,_0x493a84){return _0x305193(_0x493a84);},'IiRqB':_0x2dc16c(0x14a),'FUhWm':function(_0x146375,_0x568c90){return _0x146375!=_0x568c90;},'fshBb':_0x2dc16c(0x15c),'ZuRPV':function(_0x2b1a6e,_0x301d5f){return _0x2b1a6e(_0x301d5f);}},_0x25f1c2=this;if(_0x27a3b1[_0x2dc16c(0xf2)](isAccessibilityAutomationSession)){let _0xa58b9c=null;try{const _0x4aa8d0=path[_0x2dc16c(0xe3)](_0x27a3b1[_0x2dc16c(0x187)],_0x27a3b1[_0x2dc16c(0x192)],_0x27a3b1[_0x2dc16c(0x142)],_0x27a3b1[_0x2dc16c(0x150)]),_0x30316a=_0x27a3b1[_0x2dc16c(0x125)](importFileFromPWCore,_0x4aa8d0);!_0x30316a?_0x27a3b1[_0x2dc16c(0x172)](debug,_0x27a3b1['ockRO']):_0xa58b9c=_0x30316a[_0x2dc16c(0x160)];}catch(_0xbe25b){_0x27a3b1[_0x2dc16c(0x10d)](debug,_0x27a3b1[_0x2dc16c(0x126)]);}try{if(_0x27a3b1['FUhWm'](_0xa58b9c,null)){const _0x9c132=_0xa58b9c[_0x2dc16c(0x178)][_0x2dc16c(0x15c)];Object[_0x2dc16c(0x15d)](_0xa58b9c['prototype'],_0x27a3b1['fshBb'],{'get':function(){return async function _0x9a718a(_0x1729da){const _0x59fbcb=a47_0x167c;try{if(BrowserstackCLI[_0x59fbcb(0x17d)]()[_0x59fbcb(0xe2)]()){const _0x45c793={};_0x45c793[_0x59fbcb(0x131)]=_0x1729da,await BrowserstackCLI[_0x59fbcb(0x17d)]()[_0x59fbcb(0x12f)]()[_0x59fbcb(0x179)](AutomationFrameworkState[_0x59fbcb(0xec)],HookState['POST'],_0x45c793),delete _0x1729da[_0x59fbcb(0x13f)];}else{const _0x1a6872=_0x1729da[_0x59fbcb(0x13f)];if(_0x1a6872){delete _0x1729da[_0x59fbcb(0x13f)];const _0x5d1aa1=_0x1a6872[_0x59fbcb(0xea)],_0x526a26=_0x1a6872['platformDetails'];_0x526a26&&(_0x27a3b1[_0x59fbcb(0x125)](debug,_0x59fbcb(0x194)+_0x526a26[_0x59fbcb(0x15e)]()),_0x25f1c2[_0x59fbcb(0x10a)]['platform']=_0x526a26['platformName'],_0x25f1c2[_0x59fbcb(0x10a)][_0x59fbcb(0x130)]=_0x526a26[_0x59fbcb(0x140)]),_0x5d1aa1&&(_0x27a3b1[_0x59fbcb(0x172)](debug,_0x59fbcb(0xe8)+_0x5d1aa1),_0x25f1c2['currentSessionDetails'][_0x59fbcb(0x13e)]=_0x5d1aa1);}}}catch(_0x3e7c02){_0x27a3b1[_0x59fbcb(0x125)](debug,_0x59fbcb(0x163)+_0x3e7c02['toString']());}return _0x9c132[_0x59fbcb(0x186)](this,arguments);};}});}}catch(_0xf99752){_0x27a3b1[_0x2dc16c(0xf5)](debug,_0x2dc16c(0x13b)+_0xf99752),_0x25f1c2[_0x2dc16c(0x12a)]=_0xf99752[_0x2dc16c(0x15e)]();}}}static[a47_0x130083(0xeb)](){const _0x418a25=a47_0x130083;return this[_0x418a25(0x10a)];}}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a48_0x2856(_0xdd3ef6,_0x28d9d8){const _0x219ea7=a48_0x219e();return a48_0x2856=function(_0x2856c5,_0x10f7a9){_0x2856c5=_0x2856c5-0x122;let _0x3f7860=_0x219ea7[_0x2856c5];return _0x3f7860;},a48_0x2856(_0xdd3ef6,_0x28d9d8);}function a48_0x219e(){const _0x597d9b=['end','BROWSERSTACK_CONFIG_FILE_PATH','cucumber-js','./nightwatch/command','dot-notation','3068230vjWnAW','mocha/lib/cli/cli.js','unlinkSync','12162raWyVt','2303MtqwpR','wrap','ptEXE','assign','spawn','.browserstack','usage:\x20$0\x20<command>\x20[args]','./mocha/command','message','Xvkyn','./jest/command','Running\x20SDK\x20with\x20args\x20','winstonLogger','exitCode','lvxqY','slice','error','help','../helpers/test-observability/constants','./load/index','setBrowserStackAutomationDisable','path','PLAYWRIGHT','alias','1745811Ngenhj','qZZoi','./integrations/command','config','INFO','info','FCOll','450zWSFTd','224MVBVNw','includes','fireFunnelTestEvent','PTuTa','XyCUd','FOJzj','./vanilla-js/command','integrations','push','.local-not-set.json','3358hBzcsQ','EVENTS','node','homedir','mocha/lib/cli/run.js','ciuuH','HELP','ats','--require','../helpers/BrowserStackSetup','--opts','find','JEST','parserConfiguration','IJTJj','sendLogs','start','LSOiu','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','dVQkR','SDK_CLEANUP','LEMKo','yargs','../helpers/performance/constants','StXFF','setTestObservabilityDisable','load\x20[subcommand]','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','CODECEPTJS','mocha','getConfigPath','INTEGRATIONS','Runs\x20the\x20binary\x20with\x20load\x20command','BFhca','MOCHA','VERSION','./cucumber-js/command','KLobH','./codeceptjs/command','novnR','Parsing\x20command\x20line\x20arguments','WJjyX','./v2/browserstackCLI','kzbRo','../helpers/performance/performance-tester','../../ats/src/index','66488LMhoNe','sokyv','iicom','SDK_SETUP','LHJhj','join','findAndReplace','mocha/lib/cli/commands.js','framework','argv','getInstance','jpusN','ljZFV','stack','TfZcl','../helpers/logger','AnwVw','SDKTestSuccessful','CUCUMBER','vanilla','355232mRsBrO','lGlYu','--mochaRequire','1660trtqMV','HST','bpmtT','debug','../helpers/utilities','command','jest','usage','oZrGJ','isUndefined','../helpers/helper','run','strict','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','describe','handler','mWEwH','Aufmk','91267xgIUgn','UGKmf','child_process','demandCommand','--config','format','existsSync','stop'];a48_0x219e=function(){return _0x597d9b;};return a48_0x219e();}const a48_0x43ef70=a48_0x2856;(function(_0x182692,_0x55d081){const _0xc0b555=a48_0x2856,_0x13913c=_0x182692();while(!![]){try{const _0x3c4529=-parseInt(_0xc0b555(0x157))/0x1*(-parseInt(_0xc0b555(0x161))/0x2)+parseInt(_0xc0b555(0x14f))/0x3+-parseInt(_0xc0b555(0x1a3))/0x4+parseInt(_0xc0b555(0x133))/0x5+-parseInt(_0xc0b555(0x136))/0x6*(-parseInt(_0xc0b555(0x137))/0x7)+parseInt(_0xc0b555(0x18f))/0x8*(-parseInt(_0xc0b555(0x156))/0x9)+-parseInt(_0xc0b555(0x1a6))/0xa*(parseInt(_0xc0b555(0x126))/0xb);if(_0x3c4529===_0x55d081)break;else _0x13913c['push'](_0x13913c['shift']());}catch(_0x5e3bc0){_0x13913c['push'](_0x13913c['shift']());}}}(a48_0x219e,0x57226));const fs=require('fs'),path=require(a48_0x43ef70(0x14c)),util=require('util'),spawn=require(a48_0x43ef70(0x128))[a48_0x43ef70(0x13b)],{requireModule}=require(a48_0x43ef70(0x1b0)),PerformanceTester=require(a48_0x43ef70(0x18d)),PerformanceEvents=require(a48_0x43ef70(0x178))[a48_0x43ef70(0x162)],helper=require(a48_0x43ef70(0x1b0)),utilities=require(a48_0x43ef70(0x1aa)),{default:BrowserStackSetup}=require(a48_0x43ef70(0x16a)),{FRAMEWORKS}=require(a48_0x43ef70(0x149)),runIntegrations=require(a48_0x43ef70(0x151)),yargs=require(a48_0x43ef70(0x177)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x43ef70(0x18b)),logger=require(a48_0x43ef70(0x19e))[a48_0x43ef70(0x143)],origArgs=Object[a48_0x43ef70(0x13a)]([],process[a48_0x43ef70(0x198)]),captureError=async(_0xfc9173,_0xc373be,_0x55e182,_0xdeb20a=null)=>{const _0x1538f8=a48_0x43ef70,_0x5f42bc={'oZrGJ':function(_0x20f7ba,_0x296370,_0x2b1265,_0x16f27e){return _0x20f7ba(_0x296370,_0x2b1265,_0x16f27e);},'UGKmf':_0x1538f8(0x1a0)};try{logger[_0x1538f8(0x154)](_0x1538f8(0x142)+origArgs['join']('\x20')),await _0x5f42bc[_0x1538f8(0x1ae)](_0xfc9173,_0xc373be,_0xdeb20a,_0x55e182);}catch(_0x43d5eb){process[_0x1538f8(0x144)]=0x1,logger[_0x1538f8(0x147)](util['format'](_0x43d5eb));const _0x42da66={'globalException':util[_0x1538f8(0x12b)]('%j',_0x43d5eb)};PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents['SDK_SETUP'],![],util[_0x1538f8(0x12b)](_0x43d5eb));if(helper[_0x1538f8(0x1af)](global[_0x1538f8(0x152)])&&helper['isUndefined'](global[_0x1538f8(0x197)]))return;try{utilities[_0x1538f8(0x159)](_0x5f42bc[_0x1538f8(0x127)],_0x42da66,global['config'],global['framework']);}catch(_0x15fc72){logger[_0x1538f8(0x1a9)](_0x1538f8(0x1b3)+_0x15fc72[_0x1538f8(0x19c)]);}try{await helper[_0x1538f8(0x170)](global[_0x1538f8(0x152)]);}catch(_0x37dd0b){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x37dd0b[_0x1538f8(0x19c)]);}await BrowserstackCLI[_0x1538f8(0x199)]()[_0x1538f8(0x12d)](),PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents[_0x1538f8(0x192)],![],util[_0x1538f8(0x12b)](_0x43d5eb));}finally{PerformanceTester[_0x1538f8(0x171)](PerformanceEvents[_0x1538f8(0x175)]);}};try{const browserstackFolderPath=path[a48_0x43ef70(0x194)](helper[a48_0x43ef70(0x164)](),a48_0x43ef70(0x13c));if(fs[a48_0x43ef70(0x12c)](browserstackFolderPath)){const filePath=path[a48_0x43ef70(0x194)](browserstackFolderPath,a48_0x43ef70(0x160));fs['existsSync'](filePath)&&fs[a48_0x43ef70(0x135)](filePath);}}catch(a48_0x3f4870){logger[a48_0x43ef70(0x1a9)](a48_0x43ef70(0x17c)+a48_0x3f4870[a48_0x43ef70(0x13f)]);}process[a48_0x43ef70(0x198)]['includes']('mocha')&&(!process[a48_0x43ef70(0x198)]['includes'](a48_0x43ef70(0x16b))&&process['argv'][a48_0x43ef70(0x15f)]('--no-opts'),!process[a48_0x43ef70(0x198)][a48_0x43ef70(0x16c)](_0x97ba32=>_0x97ba32[a48_0x43ef70(0x158)](a48_0x43ef70(0x12a)))&&process['argv'][a48_0x43ef70(0x15f)]('--no-config'),!process[a48_0x43ef70(0x198)]['includes']('--package')&&process[a48_0x43ef70(0x198)][a48_0x43ef70(0x15f)]('--no-package'),helper[a48_0x43ef70(0x195)](process[a48_0x43ef70(0x198)],a48_0x43ef70(0x169),a48_0x43ef70(0x1a5)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a48_0x3cb521={};a48_0x3cb521[a48_0x43ef70(0x132)]=![];const argv=yargs[a48_0x43ef70(0x16e)](a48_0x3cb521)[a48_0x43ef70(0x1ad)](a48_0x43ef70(0x13d))[a48_0x43ef70(0x14e)]('v','version')[a48_0x43ef70(0x122)]('v')[a48_0x43ef70(0x14e)]('h',a48_0x43ef70(0x148))[a48_0x43ef70(0x148)](a48_0x43ef70(0x148))['showHelpOnFail'](!![],Constants[a48_0x43ef70(0x184)][a48_0x43ef70(0x167)])['command'](a48_0x43ef70(0x1ac),Constants[a48_0x43ef70(0x16d)]['INFO'],function(_0x4c2a1d){const _0x5a4542=a48_0x43ef70,_0x5a6ea0={'novnR':_0x5a4542(0x1ac),'ciuuH':function(_0x57c3d3,_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9){return _0x57c3d3(_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9);},'kzbRo':function(_0x1693f4,_0x3ab1d5){return _0x1693f4(_0x3ab1d5);},'rIbEK':_0x5a4542(0x141)},_0xff2c14=process[_0x5a4542(0x198)][_0x5a4542(0x146)](0x2);helper[_0x5a4542(0x17a)](),helper['setBrowserStackAutomationDisable']();const _0x27e365=new BrowserStackSetup(_0x4c2a1d[_0x5a4542(0x198)],_0x5a6ea0[_0x5a4542(0x188)]);return _0x5a6ea0[_0x5a4542(0x166)](captureError,_0x5a6ea0[_0x5a4542(0x18c)](require,_0x5a6ea0['rIbEK']),_0x4c2a1d[_0x5a4542(0x198)],_0x27e365,_0xff2c14);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17e),Constants[a48_0x43ef70(0x183)][a48_0x43ef70(0x153)],_0x2e7137=>{const _0x3e6f49=a48_0x43ef70,_0x23072d={'vlKQy':function(_0x1f74ea,_0x5f016b,_0x24674e,_0x23e82c){return _0x1f74ea(_0x5f016b,_0x24674e,_0x23e82c);},'qSpTG':function(_0x168d4a,_0x4e5ffb){return _0x168d4a(_0x4e5ffb);},'Xvkyn':_0x3e6f49(0x13e),'dVQkR':_0x3e6f49(0x17e),'Aufmk':_0x3e6f49(0x189),'bpmtT':function(_0x1f370f,_0x27c97d,_0x28a396){return _0x1f370f(_0x27c97d,_0x28a396);},'FCOll':_0x3e6f49(0x165),'BFhca':_0x3e6f49(0x196),'kWOUN':_0x3e6f49(0x134),'iicom':function(_0x4f71a2){return _0x4f71a2();}};process[_0x3e6f49(0x198)]=process[_0x3e6f49(0x198)][_0x3e6f49(0x146)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3e6f49(0x14b)]();const _0x277e25=new BrowserStackSetup(_0x2e7137['argv'],_0x23072d['dVQkR']);logger[_0x3e6f49(0x1a9)](_0x23072d[_0x3e6f49(0x125)]);const _0x26c50e=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d[_0x3e6f49(0x155)],_0x23072d[_0x3e6f49(0x174)]),_0x4c50da=_0x23072d['bpmtT'](requireModule,_0x23072d[_0x3e6f49(0x182)],_0x23072d[_0x3e6f49(0x174)]);delete _0x26c50e[_0x3e6f49(0x123)],_0x26c50e[_0x3e6f49(0x123)]=function(_0xfad613){const _0x2d3e7c=_0x3e6f49;return _0x23072d['vlKQy'](captureError,_0x23072d['qSpTG'](require,_0x23072d[_0x2d3e7c(0x140)]),_0xfad613,_0x277e25);},_0x4c50da[_0x3e6f49(0x1b1)]=_0x26c50e;const {main:_0x24250f}=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d['kWOUN'],_0x23072d[_0x3e6f49(0x174)]);_0x23072d[_0x3e6f49(0x191)](_0x24250f);})['command']('cucumber-js',Constants[a48_0x43ef70(0x1a1)][a48_0x43ef70(0x153)],function(_0xb3d55){const _0x48e02e=a48_0x43ef70,_0x395e51={'sNBQw':_0x48e02e(0x130),'XyCUd':function(_0x127266,_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf){return _0x127266(_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf);},'LEMKo':function(_0x47b67c,_0x560890){return _0x47b67c(_0x560890);},'qZZoi':_0x48e02e(0x185)},_0x1624e6=process[_0x48e02e(0x198)][_0x48e02e(0x146)](0x2),_0x2af779=new BrowserStackSetup(_0xb3d55['argv'],_0x395e51['sNBQw']);return _0x395e51[_0x48e02e(0x15b)](captureError,_0x395e51[_0x48e02e(0x176)](require,_0x395e51[_0x48e02e(0x150)]),_0xb3d55[_0x48e02e(0x198)],_0x2af779,_0x1624e6);})['command'](a48_0x43ef70(0x163),Constants['VANILLA']['INFO'],function(_0x26e283){const _0x442893=a48_0x43ef70,_0x4bf912={'StXFF':_0x442893(0x1a2),'LSOiu':function(_0x27f48c,_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb){return _0x27f48c(_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb);},'vqATb':function(_0x146859,_0x38b40e){return _0x146859(_0x38b40e);},'DTdjT':_0x442893(0x15d)},_0x2ac325=process[_0x442893(0x198)]['slice'](0x2),_0xe2b392=new BrowserStackSetup(_0x26e283[_0x442893(0x198)],_0x4bf912[_0x442893(0x179)]);return _0x4bf912[_0x442893(0x172)](captureError,_0x4bf912['vqATb'](require,_0x4bf912['DTdjT']),_0x26e283['argv'],_0xe2b392,_0x2ac325);})[a48_0x43ef70(0x1ab)]('nightwatch',Constants['NIGHTWATCH'][a48_0x43ef70(0x153)],function(_0x6f3a0a){const _0x378891=a48_0x43ef70,_0x2413b8={'ptEXE':function(_0x474d78,_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1){return _0x474d78(_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1);},'KLobH':function(_0x208616,_0x4b3b0e){return _0x208616(_0x4b3b0e);},'LHJhj':_0x378891(0x131)},_0x42137c=process[_0x378891(0x198)]['slice'](0x2),_0x12064e=new BrowserStackSetup(_0x6f3a0a[_0x378891(0x198)]);return _0x2413b8[_0x378891(0x139)](captureError,_0x2413b8[_0x378891(0x186)](require,_0x2413b8[_0x378891(0x193)]),_0x6f3a0a[_0x378891(0x198)],_0x12064e,_0x42137c);})['command']('codeceptjs',Constants[a48_0x43ef70(0x17d)]['INFO'],function(_0x186e94){const _0x48fe98=a48_0x43ef70,_0x226064={'WJjyX':'codeceptjs','MXxJy':function(_0x1238fb,_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218){return _0x1238fb(_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218);},'oQdFz':function(_0x40c6be,_0x30d3ee){return _0x40c6be(_0x30d3ee);},'IJTJj':_0x48fe98(0x187)},_0x2834e0=process['argv'][_0x48fe98(0x146)](0x2),_0x1b4ff8=new BrowserStackSetup(_0x186e94[_0x48fe98(0x198)],_0x226064[_0x48fe98(0x18a)]);return _0x226064['MXxJy'](captureError,_0x226064['oQdFz'](require,_0x226064[_0x48fe98(0x16f)]),_0x186e94[_0x48fe98(0x198)],_0x1b4ff8,_0x2834e0);})[a48_0x43ef70(0x1ab)]('ats',Constants[a48_0x43ef70(0x1a7)][a48_0x43ef70(0x153)],function(_0x1bd67e){const _0x634b6f=a48_0x43ef70,_0x2b1f81={'tffzN':function(_0x392a0d,_0x5504de,_0xd6236b){return _0x392a0d(_0x5504de,_0xd6236b);},'mWEwH':function(_0x42e3ff,_0x2caafe){return _0x42e3ff(_0x2caafe);},'ljZFV':_0x634b6f(0x18e)},_0x273a06=process['argv'][_0x634b6f(0x146)](0x2);return _0x2b1f81['tffzN'](captureError,_0x2b1f81[_0x634b6f(0x124)](require,_0x2b1f81[_0x634b6f(0x19b)]),_0x1bd67e);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x15e),Constants[a48_0x43ef70(0x180)][a48_0x43ef70(0x153)],function(_0x3ef688){const _0x4c99aa=a48_0x43ef70,_0x2971b8={'PTuTa':function(_0xfca757,_0x4dc00c){return _0xfca757(_0x4dc00c);}};return _0x2971b8[_0x4c99aa(0x15a)](runIntegrations,_0x3ef688);})[a48_0x43ef70(0x1ab)]('playwright',Constants[a48_0x43ef70(0x14d)][a48_0x43ef70(0x153)],function(_0x544c1a){const _0x3953e1=a48_0x43ef70,_0x28311e={'fVizH':function(_0x38c297,_0x249621,_0x59e588,_0x526d52,_0x47ecee){return _0x38c297(_0x249621,_0x59e588,_0x526d52,_0x47ecee);},'jpusN':function(_0x2ad6ac,_0x366f63){return _0x2ad6ac(_0x366f63);},'lvxqY':'./playwright/command'},_0x9f1ad7=process['argv'][_0x3953e1(0x146)](0x2);helper[_0x3953e1(0x17f)](process['argv'])&&(process['env'][_0x3953e1(0x12f)]=helper[_0x3953e1(0x17f)](process['argv']));helper[_0x3953e1(0x17a)](),helper[_0x3953e1(0x14b)]();const _0x3155a6=new BrowserStackSetup(_0x544c1a['argv'],FRAMEWORKS['PLAYWRIGHT']);return _0x28311e['fVizH'](captureError,_0x28311e[_0x3953e1(0x19a)](require,_0x28311e[_0x3953e1(0x145)]),_0x544c1a[_0x3953e1(0x198)],_0x3155a6,_0x9f1ad7);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17b),a48_0x43ef70(0x181),function(_0x1334e7){const _0x4f1fef=a48_0x43ef70,_0x732298={};_0x732298[_0x4f1fef(0x15c)]=_0x4f1fef(0x148),_0x732298[_0x4f1fef(0x1a4)]='boolean',_0x732298['sokyv']='Show\x20help';const _0x385647=_0x732298;return _0x1334e7[_0x4f1fef(0x148)](![])['option'](_0x385647['FOJzj'],{'alias':'h','type':_0x385647['lGlYu'],'describe':_0x385647[_0x4f1fef(0x190)]})[_0x4f1fef(0x1b2)](![])['exitProcess'](![]);},function(_0x3256ff){const _0x261edf=a48_0x43ef70,_0x509ce2={'TfZcl':function(_0x549b52,_0x113710,_0x563faa){return _0x549b52(_0x113710,_0x563faa);},'RECcV':function(_0x47e3ed,_0x1ae9ce){return _0x47e3ed(_0x1ae9ce);},'AnwVw':_0x261edf(0x14a)},_0x3c0628={};return _0x3c0628['argv']=_0x3256ff,_0x509ce2[_0x261edf(0x19d)](captureError,_0x509ce2['RECcV'](require,_0x509ce2[_0x261edf(0x19f)]),_0x3c0628);})[a48_0x43ef70(0x129)](0x1,a48_0x43ef70(0x173))[a48_0x43ef70(0x138)](null)['argv'];!helper[a48_0x43ef70(0x1af)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x43ef70(0x168)&&console[a48_0x43ef70(0x147)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a48_0x313fa7=a48_0x54c1;(function(_0x224e65,_0x19e5a6){const _0x1ce483=a48_0x54c1,_0x303711=_0x224e65();while(!![]){try{const _0x578f1a=-parseInt(_0x1ce483(0x1cf))/0x1+parseInt(_0x1ce483(0x1bb))/0x2+-parseInt(_0x1ce483(0x20c))/0x3+parseInt(_0x1ce483(0x1d2))/0x4+parseInt(_0x1ce483(0x22d))/0x5+parseInt(_0x1ce483(0x1fa))/0x6*(-parseInt(_0x1ce483(0x1d4))/0x7)+parseInt(_0x1ce483(0x1db))/0x8;if(_0x578f1a===_0x19e5a6)break;else _0x303711['push'](_0x303711['shift']());}catch(_0x4ded49){_0x303711['push'](_0x303711['shift']());}}}(a48_0x1ac1,0x5e32c));function a48_0x54c1(_0x521aaa,_0x299dc7){const _0x1ac19b=a48_0x1ac1();return a48_0x54c1=function(_0x54c1c1,_0x2a7883){_0x54c1c1=_0x54c1c1-0x1ac;let _0x645856=_0x1ac19b[_0x54c1c1];return _0x645856;},a48_0x54c1(_0x521aaa,_0x299dc7);}const fs=require('fs'),path=require(a48_0x313fa7(0x1f9)),util=require('util'),spawn=require('child_process')[a48_0x313fa7(0x1c3)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a48_0x313fa7(0x21a)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x313fa7(0x1ee)),{FRAMEWORKS}=require(a48_0x313fa7(0x21b)),runIntegrations=require(a48_0x313fa7(0x1fb)),yargs=require('yargs'),Constants=require(a48_0x313fa7(0x21e)),BrowserstackCLI=require(a48_0x313fa7(0x221)),logger=require(a48_0x313fa7(0x1e5))['winstonLogger'],origArgs=Object['assign']([],process[a48_0x313fa7(0x1cc)]),captureError=async(_0x5b513f,_0x11a24a,_0x48032f,_0x267400=null)=>{const _0x2543e8=a48_0x313fa7,_0x582cfd={'eEWhA':function(_0x52a1c9,_0x22178c,_0xe323f,_0x14a4f8){return _0x52a1c9(_0x22178c,_0xe323f,_0x14a4f8);},'qxEFT':_0x2543e8(0x217)};try{logger[_0x2543e8(0x1f6)](_0x2543e8(0x1c4)+origArgs[_0x2543e8(0x22b)]('\x20')),await _0x582cfd[_0x2543e8(0x229)](_0x5b513f,_0x11a24a,_0x267400,_0x48032f);}catch(_0x5548f9){process[_0x2543e8(0x1d7)]=0x1,logger[_0x2543e8(0x207)](util['format'](_0x5548f9));const _0x4ffe35={'globalException':util[_0x2543e8(0x211)]('%j',_0x5548f9)};PerformanceTester[_0x2543e8(0x1d8)](PerformanceEvents[_0x2543e8(0x1e7)],![],util[_0x2543e8(0x211)](_0x5548f9));if(helper['isUndefined'](global['config'])&&helper[_0x2543e8(0x1ad)](global[_0x2543e8(0x1c6)]))return;try{utilities['fireFunnelTestEvent'](_0x582cfd[_0x2543e8(0x21c)],_0x4ffe35,global['config'],global[_0x2543e8(0x1c6)]);}catch(_0x3e004b){logger['debug'](_0x2543e8(0x1df)+_0x3e004b[_0x2543e8(0x223)]);}try{await helper['sendLogs'](global[_0x2543e8(0x209)]);}catch(_0x28ecde){logger[_0x2543e8(0x1bc)](_0x2543e8(0x20f)+_0x28ecde[_0x2543e8(0x223)]);}await BrowserstackCLI[_0x2543e8(0x1da)]()[_0x2543e8(0x1f4)](),PerformanceTester[_0x2543e8(0x1d8)](PerformanceEvents[_0x2543e8(0x1e7)],![],util[_0x2543e8(0x211)](_0x5548f9));}finally{PerformanceTester[_0x2543e8(0x214)](PerformanceEvents[_0x2543e8(0x1ff)]);}};try{const browserstackFolderPath=path['join'](helper[a48_0x313fa7(0x1f7)](),a48_0x313fa7(0x213));if(fs[a48_0x313fa7(0x1ed)](browserstackFolderPath)){const filePath=path[a48_0x313fa7(0x22b)](browserstackFolderPath,a48_0x313fa7(0x1c7));fs[a48_0x313fa7(0x1ed)](filePath)&&fs[a48_0x313fa7(0x228)](filePath);}}catch(a48_0x43f4b9){logger[a48_0x313fa7(0x1bc)](a48_0x313fa7(0x1c0)+a48_0x43f4b9[a48_0x313fa7(0x205)]);}function a48_0x1ac1(){const _0x17b8ba=['PLAYWRIGHT','framework','.local-not-set.json','BhNbX','findAndReplace','alias','vanilla','argv','nightwatch','cucumber-js','495989QAceYH','PxiSU','fTbEd','2427648rWmrAQ','VANILLA','1131403NAWHbY','GgNSX','ZTqrQ','exitCode','end','ErKVS','getInstance','4769520rCDJSX','zxCLt','boolean','HELP','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','showHelpOnFail','./codeceptjs/command','YUmKj','CUCUMBER','playwright','../helpers/logger','tcnAH','SDK_SETUP','fneWN','jjOen','NrXfu','--no-package','env','existsSync','../helpers/BrowserStackSetup','push','mocha','exitProcess','dUEMD','--opts','stop','./load/index','info','homedir','SAXrs','path','6cdxRwH','./integrations/command','JEST','MLHMb','--require','SDK_CLEANUP','handler','load\x20[subcommand]','FZhLG','run','TBNwj','message','xhXQu','error','codeceptjs','config','strict','aFhWP','2204142zYUzBr','usage','version','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','SEvlH','format','./jest/command','.browserstack','start','yfCuK','--no-opts','SDKTestSuccessful','getConfigPath','CwSvM','../helpers/performance/performance-tester','../helpers/test-observability/constants','qxEFT','slice','./utils/constants','help','Runs\x20the\x20binary\x20with\x20load\x20command','./v2/browserstackCLI','Show\x20help','stack','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./playwright/command','option','CUoaM','unlinkSync','eEWhA','mocha/lib/cli/run.js','join','ttbGx','1919855FjFSqA','mocha/lib/cli/commands.js','isUndefined','jest','qgPoh','zHIkx','setTestObservabilityDisable','./cucumber-js/command','find','wrap','command','THBgj','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','includes','QkcnP','node','382190EooJpn','debug','INFO','ats','--mochaRequire','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','MOCHA','--no-config','spawn','Running\x20SDK\x20with\x20args\x20'];a48_0x1ac1=function(){return _0x17b8ba;};return a48_0x1ac1();}process[a48_0x313fa7(0x1cc)]['includes'](a48_0x313fa7(0x1f0))&&(!process[a48_0x313fa7(0x1cc)][a48_0x313fa7(0x1b8)](a48_0x313fa7(0x1f3))&&process[a48_0x313fa7(0x1cc)][a48_0x313fa7(0x1ef)](a48_0x313fa7(0x216)),!process[a48_0x313fa7(0x1cc)][a48_0x313fa7(0x1b3)](_0x3ab1f2=>_0x3ab1f2['includes']('--config'))&&process['argv'][a48_0x313fa7(0x1ef)](a48_0x313fa7(0x1c2)),!process['argv'][a48_0x313fa7(0x1b8)]('--package')&&process[a48_0x313fa7(0x1cc)]['push'](a48_0x313fa7(0x1eb)),helper[a48_0x313fa7(0x1c9)](process['argv'],a48_0x313fa7(0x1fe),a48_0x313fa7(0x1bf)));PerformanceTester[a48_0x313fa7(0x214)](PerformanceEvents['SDK_SETUP']);const a48_0x16bad0={};a48_0x16bad0['dot-notation']=![];const argv=yargs['parserConfiguration'](a48_0x16bad0)[a48_0x313fa7(0x20d)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a48_0x313fa7(0x20e))['describe']('v')[a48_0x313fa7(0x1ca)]('h',a48_0x313fa7(0x21f))['help'](a48_0x313fa7(0x21f))[a48_0x313fa7(0x1e0)](!![],Constants['VERSION'][a48_0x313fa7(0x1de)])['command'](a48_0x313fa7(0x1ae),Constants[a48_0x313fa7(0x1fc)]['INFO'],function(_0x511b58){const _0x145c99=a48_0x313fa7,_0x32bd65={'QkcnP':_0x145c99(0x1ae),'bunWr':function(_0x4f6742,_0x24c8ca,_0x42ed96,_0x3e2082,_0x27277b){return _0x4f6742(_0x24c8ca,_0x42ed96,_0x3e2082,_0x27277b);},'fneWN':function(_0x6005b7,_0x5b73c3){return _0x6005b7(_0x5b73c3);},'fTbEd':_0x145c99(0x212)},_0x356691=process['argv'][_0x145c99(0x21d)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0xf7de7d=new BrowserStackSetup(_0x511b58['argv'],_0x32bd65[_0x145c99(0x1b9)]);return _0x32bd65['bunWr'](captureError,_0x32bd65[_0x145c99(0x1e8)](require,_0x32bd65[_0x145c99(0x1d1)]),_0x511b58[_0x145c99(0x1cc)],_0xf7de7d,_0x356691);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1f0),Constants[a48_0x313fa7(0x1c1)][a48_0x313fa7(0x1bd)],_0xc4ed73=>{const _0x2d7b23=a48_0x313fa7,_0x501322={'dUEMD':function(_0x4f878a,_0x1f3c89,_0x26b7c9,_0x40077d){return _0x4f878a(_0x1f3c89,_0x26b7c9,_0x40077d);},'InpJw':function(_0x8d0052,_0x5e1a05){return _0x8d0052(_0x5e1a05);},'CwSvM':'./mocha/command','qgPoh':'mocha','JdvPF':'Parsing\x20command\x20line\x20arguments','CwtdI':function(_0x42686c,_0x1fcb62,_0x4e4d53){return _0x42686c(_0x1fcb62,_0x4e4d53);},'NtrVD':_0x2d7b23(0x22a),'NrXfu':function(_0xd56a83,_0x24ad86,_0x1d58bb){return _0xd56a83(_0x24ad86,_0x1d58bb);},'FZhLG':_0x2d7b23(0x1ac),'ZTqrQ':function(_0x250908,_0x3dff83,_0x366f3c){return _0x250908(_0x3dff83,_0x366f3c);},'XmBMX':'mocha/lib/cli/cli.js','jjOen':function(_0x5eec0c){return _0x5eec0c();}};process[_0x2d7b23(0x1cc)]=process['argv'][_0x2d7b23(0x21d)](0x1),helper[_0x2d7b23(0x1b1)](),helper['setBrowserStackAutomationDisable']();const _0x1561f5=new BrowserStackSetup(_0xc4ed73[_0x2d7b23(0x1cc)],_0x501322[_0x2d7b23(0x1af)]);logger[_0x2d7b23(0x1bc)](_0x501322['JdvPF']);const _0x32a37f=_0x501322['CwtdI'](requireModule,_0x501322['NtrVD'],_0x501322['qgPoh']),_0x2b6c1e=_0x501322[_0x2d7b23(0x1ea)](requireModule,_0x501322[_0x2d7b23(0x202)],_0x501322[_0x2d7b23(0x1af)]);delete _0x32a37f[_0x2d7b23(0x200)],_0x32a37f['handler']=function(_0x2ab06b){const _0x94b59a=_0x2d7b23;return _0x501322[_0x94b59a(0x1f2)](captureError,_0x501322['InpJw'](require,_0x501322[_0x94b59a(0x219)]),_0x2ab06b,_0x1561f5);},_0x2b6c1e[_0x2d7b23(0x203)]=_0x32a37f;const {main:_0x2fd8e5}=_0x501322[_0x2d7b23(0x1d6)](requireModule,_0x501322['XmBMX'],_0x501322[_0x2d7b23(0x1af)]);_0x501322[_0x2d7b23(0x1e9)](_0x2fd8e5);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1ce),Constants[a48_0x313fa7(0x1e3)]['INFO'],function(_0x5e4227){const _0x23b5ad=a48_0x313fa7,_0x5d78f9={'mTsZk':_0x23b5ad(0x1ce),'PHrLP':function(_0x3d84df,_0x4afb31,_0x30c5ac,_0x299253,_0x5e45a1){return _0x3d84df(_0x4afb31,_0x30c5ac,_0x299253,_0x5e45a1);},'xgtRZ':function(_0x371905,_0x4d900){return _0x371905(_0x4d900);},'THBgj':_0x23b5ad(0x1b2)},_0x13c0d9=process[_0x23b5ad(0x1cc)][_0x23b5ad(0x21d)](0x2),_0xcb8212=new BrowserStackSetup(_0x5e4227['argv'],_0x5d78f9['mTsZk']);return _0x5d78f9['PHrLP'](captureError,_0x5d78f9['xgtRZ'](require,_0x5d78f9[_0x23b5ad(0x1b6)]),_0x5e4227['argv'],_0xcb8212,_0x13c0d9);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1ba),Constants[a48_0x313fa7(0x1d3)][a48_0x313fa7(0x1bd)],function(_0x9d4939){const _0x41b9fb=a48_0x313fa7,_0x4348b0={'ErKVS':_0x41b9fb(0x1cb),'GgNSX':function(_0x44a9a1,_0x51150a,_0x2d60cf,_0x2328bf,_0x4edf32){return _0x44a9a1(_0x51150a,_0x2d60cf,_0x2328bf,_0x4edf32);},'qnMEg':function(_0x397965,_0x3fc806){return _0x397965(_0x3fc806);},'TBNwj':'./vanilla-js/command'},_0x2674eb=process[_0x41b9fb(0x1cc)][_0x41b9fb(0x21d)](0x2),_0x439282=new BrowserStackSetup(_0x9d4939[_0x41b9fb(0x1cc)],_0x4348b0[_0x41b9fb(0x1d9)]);return _0x4348b0[_0x41b9fb(0x1d5)](captureError,_0x4348b0['qnMEg'](require,_0x4348b0[_0x41b9fb(0x204)]),_0x9d4939[_0x41b9fb(0x1cc)],_0x439282,_0x2674eb);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1cd),Constants['NIGHTWATCH'][a48_0x313fa7(0x1bd)],function(_0x263a38){const _0x16895b=a48_0x313fa7,_0x393b36={'SAXrs':function(_0x4d0a4a,_0x4a4f86,_0x4b4688,_0x2b40af,_0x198094){return _0x4d0a4a(_0x4a4f86,_0x4b4688,_0x2b40af,_0x198094);},'yRBdv':function(_0x15de20,_0x1d1f33){return _0x15de20(_0x1d1f33);},'AqRJs':'./nightwatch/command'},_0xfdc658=process[_0x16895b(0x1cc)][_0x16895b(0x21d)](0x2),_0x7d42d9=new BrowserStackSetup(_0x263a38[_0x16895b(0x1cc)]);return _0x393b36[_0x16895b(0x1f8)](captureError,_0x393b36['yRBdv'](require,_0x393b36['AqRJs']),_0x263a38[_0x16895b(0x1cc)],_0x7d42d9,_0xfdc658);})['command']('codeceptjs',Constants['CODECEPTJS'][a48_0x313fa7(0x1bd)],function(_0x4ca2a0){const _0x5b6ffc=a48_0x313fa7,_0x2b2c9d={'ttbGx':_0x5b6ffc(0x208),'qKPLs':function(_0x31dd6a,_0x55ca55,_0x4107c5,_0x27a8e2,_0xd89c80){return _0x31dd6a(_0x55ca55,_0x4107c5,_0x27a8e2,_0xd89c80);},'aFhWP':function(_0x5660e0,_0x344114){return _0x5660e0(_0x344114);},'SEvlH':_0x5b6ffc(0x1e1)},_0x244352=process[_0x5b6ffc(0x1cc)][_0x5b6ffc(0x21d)](0x2),_0x15748d=new BrowserStackSetup(_0x4ca2a0[_0x5b6ffc(0x1cc)],_0x2b2c9d[_0x5b6ffc(0x22c)]);return _0x2b2c9d['qKPLs'](captureError,_0x2b2c9d[_0x5b6ffc(0x20b)](require,_0x2b2c9d[_0x5b6ffc(0x210)]),_0x4ca2a0['argv'],_0x15748d,_0x244352);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1be),Constants['HST']['INFO'],function(_0x36f3f9){const _0x1deeb3=a48_0x313fa7,_0x3fccc8={'zHIkx':function(_0x4c6bac,_0x320dbe,_0x2e2ab2){return _0x4c6bac(_0x320dbe,_0x2e2ab2);},'BhNbX':function(_0x17d714,_0x18a377){return _0x17d714(_0x18a377);},'ZVJlP':'../../ats/src/index'},_0x982ecd=process['argv'][_0x1deeb3(0x21d)](0x2);return _0x3fccc8[_0x1deeb3(0x1b0)](captureError,_0x3fccc8[_0x1deeb3(0x1c8)](require,_0x3fccc8['ZVJlP']),_0x36f3f9);})[a48_0x313fa7(0x1b5)]('integrations',Constants['INTEGRATIONS'][a48_0x313fa7(0x1bd)],function(_0x2472db){const _0x90296f=a48_0x313fa7,_0x580e68={'zxCLt':function(_0x4b9367,_0x93bd39){return _0x4b9367(_0x93bd39);}};return _0x580e68[_0x90296f(0x1dc)](runIntegrations,_0x2472db);})[a48_0x313fa7(0x1b5)](a48_0x313fa7(0x1e4),Constants[a48_0x313fa7(0x1c5)][a48_0x313fa7(0x1bd)],function(_0x370fd2){const _0x3a830e=a48_0x313fa7,_0x36a574={'PxiSU':function(_0x112e9c,_0x3e8afb,_0x46f3c8,_0x51dc82,_0x20d96e){return _0x112e9c(_0x3e8afb,_0x46f3c8,_0x51dc82,_0x20d96e);},'tcnAH':function(_0x3e496e,_0x2acd60){return _0x3e496e(_0x2acd60);},'BJcyz':_0x3a830e(0x225)},_0x2525b0=process[_0x3a830e(0x1cc)]['slice'](0x2);helper['getConfigPath'](process[_0x3a830e(0x1cc)])&&(process[_0x3a830e(0x1ec)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x3a830e(0x218)](process[_0x3a830e(0x1cc)]));helper[_0x3a830e(0x1b1)](),helper['setBrowserStackAutomationDisable']();const _0x5b4323=new BrowserStackSetup(_0x370fd2[_0x3a830e(0x1cc)],FRAMEWORKS[_0x3a830e(0x1c5)]);return _0x36a574[_0x3a830e(0x1d0)](captureError,_0x36a574[_0x3a830e(0x1e6)](require,_0x36a574['BJcyz']),_0x370fd2[_0x3a830e(0x1cc)],_0x5b4323,_0x2525b0);})['command'](a48_0x313fa7(0x201),a48_0x313fa7(0x220),function(_0x18c829){const _0x3f6f55=a48_0x313fa7,_0xcb5b8b={};_0xcb5b8b[_0x3f6f55(0x227)]=_0x3f6f55(0x21f),_0xcb5b8b[_0x3f6f55(0x206)]=_0x3f6f55(0x1dd),_0xcb5b8b[_0x3f6f55(0x215)]=_0x3f6f55(0x222);const _0x2a67b7=_0xcb5b8b;return _0x18c829[_0x3f6f55(0x21f)](![])[_0x3f6f55(0x226)](_0x2a67b7[_0x3f6f55(0x227)],{'alias':'h','type':_0x2a67b7[_0x3f6f55(0x206)],'describe':_0x2a67b7[_0x3f6f55(0x215)]})[_0x3f6f55(0x20a)](![])[_0x3f6f55(0x1f1)](![]);},function(_0x27ad15){const _0x2a61e1=a48_0x313fa7,_0x2581aa={'YUmKj':function(_0x4747c8,_0x2c550d,_0x5e765d){return _0x4747c8(_0x2c550d,_0x5e765d);},'MLHMb':function(_0x5c9ae6,_0x4c790b){return _0x5c9ae6(_0x4c790b);},'zuhpJ':_0x2a61e1(0x1f5)},_0x3ee87c={};return _0x3ee87c[_0x2a61e1(0x1cc)]=_0x27ad15,_0x2581aa[_0x2a61e1(0x1e2)](captureError,_0x2581aa[_0x2a61e1(0x1fd)](require,_0x2581aa['zuhpJ']),_0x3ee87c);})['demandCommand'](0x1,a48_0x313fa7(0x224))[a48_0x313fa7(0x1b4)](null)[a48_0x313fa7(0x1cc)];!helper[a48_0x313fa7(0x1ad)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x313fa7(0x1be)&&console[a48_0x313fa7(0x207)](a48_0x313fa7(0x1b7));
|