browserstack-node-sdk 1.48.1 → 1.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x576ee8=a44_0xe017;(function(_0x48ed5a,_0x416500){const _0x168ce5=a44_0xe017,_0x4b18e1=_0x48ed5a();while(!![]){try{const _0x51aa2a=parseInt(_0x168ce5(0xc8))/0x1*(parseInt(_0x168ce5(0xe3))/0x2)+-parseInt(_0x168ce5(0xd5))/0x3+-parseInt(_0x168ce5(0xf7))/0x4*(-parseInt(_0x168ce5(0x13a))/0x5)+-parseInt(_0x168ce5(0x148))/0x6*(-parseInt(_0x168ce5(0x161))/0x7)+-parseInt(_0x168ce5(0x149))/0x8+-parseInt(_0x168ce5(0x109))/0x9*(-parseInt(_0x168ce5(0xfb))/0xa)+parseInt(_0x168ce5(0x139))/0xb*(-parseInt(_0x168ce5(0xdc))/0xc);if(_0x51aa2a===_0x416500)break;else _0x4b18e1['push'](_0x4b18e1['shift']());}catch(_0x1c4ea2){_0x4b18e1['push'](_0x4b18e1['shift']());}}}(a44_0x5d1b,0x4ac11));function a44_0xe017(_0x3fb68a,_0x3b764f){const _0x5d1b25=a44_0x5d1b();return a44_0xe017=function(_0xe0178d,_0x52ee01){_0xe0178d=_0xe0178d-0xc2;let _0x119908=_0x5d1b25[_0xe0178d];return _0x119908;},a44_0xe017(_0x3fb68a,_0x3b764f);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x576ee8(0x131)),PerformanceTester=require(a44_0x576ee8(0x14a)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x576ee8(0xe0)),helper=require('../../../helpers/helper'),path=require(a44_0x576ee8(0x14f)),logger=require(a44_0x576ee8(0x13e))[a44_0x576ee8(0x164)],SessionHandler=require(a44_0x576ee8(0xf2)),TestDetails=require(a44_0x576ee8(0x114)),util=require(a44_0x576ee8(0xc5)),TestInfo=require(a44_0x576ee8(0x121));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x665df6=a44_0x576ee8,_0x466fc8={'gQyCR':function(_0x1b513b,_0x4ec6d4){return _0x1b513b(_0x4ec6d4);},'ccjII':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x466fc8[_0x665df6(0x101)](require,_0x466fc8[_0x665df6(0xe8)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x213dbc=>{const _0x2f5d70=a44_0x576ee8;return _0x213dbc[_0x2f5d70(0x111)](/@(\w+)/g)?.['map'](_0xd280be=>_0xd280be[_0x2f5d70(0x15d)](0x1))||[];};exports[a44_0x576ee8(0x151)]=_0x296f9b=>{const _0x182321=a44_0x576ee8,_0x4a5abb={'XFtjm':function(_0x3ae399,_0x5790ac){return _0x3ae399(_0x5790ac);}};if(_0x296f9b[_0x182321(0x168)])return _0x296f9b[_0x182321(0x168)][_0x182321(0xec)](_0xa3617e=>_0xa3617e[_0x182321(0x157)]('@')?_0xa3617e[_0x182321(0x172)](0x1):_0xa3617e);return _0x4a5abb[_0x182321(0x12c)](getTagsFromTitle,_0x296f9b['title']);},exports[a44_0x576ee8(0x137)]=async()=>{const _0x168324=a44_0x576ee8,_0x23b4ba={'cMtff':function(_0x16cf84,_0x54be44){return _0x16cf84-_0x54be44;},'AeBTH':_0x168324(0xd2),'VdKXF':_0x168324(0x110),'xhyQh':_0x168324(0x11d),'KViXT':_0x168324(0x100),'YKjPv':_0x168324(0xde),'BxolB':_0x168324(0xf9),'RCgJv':_0x168324(0x116),'lRlMr':_0x168324(0xe1),'EPgFV':'afterWorkerHook','sEwlb':_0x168324(0x142),'xqemw':_0x168324(0xee),'kaVhj':_0x168324(0x152),'VUmaI':_0x168324(0x11a),'ZnnDS':'sendSessionDetails','bcmqi':_0x168324(0x132),'uoyzT':_0x168324(0xd9),'VgizW':_0x168324(0x141),'rrjhf':function(_0x298f00,_0x1b380d){return _0x298f00(_0x1b380d);},'XdTgB':function(_0x99daa6,_0x21fdcb){return _0x99daa6/_0x21fdcb;},'BfehC':function(_0x3422f5,_0x1148a1){return _0x3422f5+_0x1148a1;},'iCYSC':function(_0x9be450,_0x5cbbaa){return _0x9be450*_0x5cbbaa;}};if(!process[_0x168324(0x13b)]['START_TIME'])return;const _0x25299d=_0x23b4ba[_0x168324(0x15a)](new Date()[_0x168324(0x147)](),new Date(process[_0x168324(0x13b)][_0x168324(0xd3)])['getTime']()),_0x55b28a=await PerformanceTester['stopAndGenerate'](_0x23b4ba[_0x168324(0xcf)],[_0x23b4ba['VdKXF'],_0x23b4ba['xhyQh'],_0x23b4ba[_0x168324(0x15b)],_0x23b4ba[_0x168324(0x14e)],_0x23b4ba[_0x168324(0xeb)],_0x23b4ba[_0x168324(0xfa)]]),_0xde2e8c=fs[_0x168324(0xd4)]('.'),_0x361256=_0xde2e8c['filter'](_0x574acd=>_0x574acd['startsWith'](_0x168324(0x12d))&&_0x574acd[_0x168324(0x12b)](_0x168324(0xcc))),_0x92fc86=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x361256,[_0x23b4ba[_0x168324(0x153)],_0x23b4ba[_0x168324(0xc6)],_0x23b4ba[_0x168324(0x16e)],_0x23b4ba[_0x168324(0xf3)],_0x23b4ba[_0x168324(0x10a)],_0x23b4ba['VUmaI'],_0x23b4ba[_0x168324(0x129)],_0x23b4ba[_0x168324(0x160)],_0x23b4ba['uoyzT'],_0x23b4ba[_0x168324(0xd0)]]);_0x23b4ba[_0x168324(0x136)](debug,_0x168324(0xf5)+_0x23b4ba[_0x168324(0xf8)](_0x25299d,0x3e8)+'\x20s'),_0x23b4ba['rrjhf'](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x23b4ba[_0x168324(0x171)](_0x92fc86,_0x55b28a)),_0x23b4ba[_0x168324(0x136)](debug,_0x168324(0x106)+_0x23b4ba['iCYSC'](_0x23b4ba['XdTgB'](_0x23b4ba[_0x168324(0x171)](_0x92fc86,_0x55b28a),_0x25299d),0x64));},exports[a44_0x576ee8(0x162)]=()=>{const _0x1c72a0=a44_0x576ee8,_0x4e61ba={'zITBV':function(_0x46c217,_0x23e289){return _0x46c217(_0x23e289);},'JGRDG':function(_0x12fc06,_0x299d14){return _0x12fc06>=_0x299d14;},'XwINS':_0x1c72a0(0x135),'wIYqi':_0x1c72a0(0xef),'lvIfh':'playwright','IVLvU':_0x1c72a0(0x119),'gCTRc':_0x1c72a0(0xe7),'LKEcr':_0x1c72a0(0x12f),'DoSfP':_0x1c72a0(0x12a)},_0x30e11c=_0x4e61ba[_0x1c72a0(0x102)](getFrameworkVersion,FRAMEWORKS[_0x1c72a0(0x144)]);if(_0x4e61ba[_0x1c72a0(0x159)](helper['compareVersions'](_0x30e11c,_0x4e61ba[_0x1c72a0(0x163)]),0x0))return[_0x4e61ba[_0x1c72a0(0xc7)],_0x4e61ba[_0x1c72a0(0x15e)]];if(_0x4e61ba[_0x1c72a0(0x159)](helper[_0x1c72a0(0x11c)](_0x30e11c,_0x4e61ba[_0x1c72a0(0xfe)]),0x0))return[_0x4e61ba[_0x1c72a0(0x128)],_0x4e61ba['LKEcr']];return[_0x4e61ba[_0x1c72a0(0x124)],_0x4e61ba[_0x1c72a0(0xe5)]];},exports[a44_0x576ee8(0x130)]=()=>{const _0x4ba66a=a44_0x576ee8,_0x5d7d4f={'vaZCL':function(_0x4db9f3,_0x380ee0){return _0x4db9f3(_0x380ee0);},'XOgEB':function(_0x1bfe0e,_0x42b921){return _0x1bfe0e>=_0x42b921;},'zjBMS':_0x4ba66a(0x135),'xdtvQ':_0x4ba66a(0x10e),'UzDJJ':_0x4ba66a(0x174),'zPnOk':_0x4ba66a(0x176),'AOzSj':'@playwright/test'},_0x3bef1c=_0x5d7d4f['vaZCL'](getFrameworkVersion,FRAMEWORKS[_0x4ba66a(0x144)]);if(_0x5d7d4f[_0x4ba66a(0xff)](helper['compareVersions'](_0x3bef1c,_0x5d7d4f[_0x4ba66a(0x173)]),0x0))return[_0x5d7d4f[_0x4ba66a(0x146)],_0x5d7d4f['UzDJJ']];return[_0x5d7d4f[_0x4ba66a(0x120)],_0x5d7d4f[_0x4ba66a(0x14d)]];},exports[a44_0x576ee8(0x154)]=()=>{const _0x55f9ac=a44_0x576ee8,_0x16513e={};_0x16513e[_0x55f9ac(0x11b)]=_0x55f9ac(0x13c);const _0x17e93f=_0x16513e;return helper['getPlaywrightLibPath'](_0x17e93f[_0x55f9ac(0x11b)]);},exports[a44_0x576ee8(0x167)]=()=>{const _0xda22fd=a44_0x576ee8,_0x7f17ad={};_0x7f17ad[_0xda22fd(0x156)]='runner/projectUtils.js';const _0x30532f=_0x7f17ad;return helper[_0xda22fd(0x150)](_0x30532f[_0xda22fd(0x156)]);},exports[a44_0x576ee8(0x122)]=()=>{const _0x3c9be3=a44_0x576ee8,_0x512838={'GXodF':function(_0x5bbf88,_0x3b18f4){return _0x5bbf88(_0x3b18f4);},'JsErS':function(_0x3983e9,_0x485642){return _0x3983e9>=_0x485642;},'KcIbd':_0x3c9be3(0x135),'ryKly':_0x3c9be3(0xe6),'gDdqA':_0x3c9be3(0x11e),'cvQlN':'process.js','wllzq':_0x3c9be3(0x170)},_0x4c17ce=_0x512838[_0x3c9be3(0xc2)](getFrameworkVersion,FRAMEWORKS[_0x3c9be3(0x144)]);if(_0x512838[_0x3c9be3(0xce)](helper[_0x3c9be3(0x11c)](_0x4c17ce,_0x512838[_0x3c9be3(0x10c)]),0x0))return path[_0x3c9be3(0x165)](_0x512838[_0x3c9be3(0x13f)],_0x512838['gDdqA'],_0x512838[_0x3c9be3(0xdf)]);return path[_0x3c9be3(0x165)](_0x512838['wllzq'],_0x512838[_0x3c9be3(0x13f)],_0x512838[_0x3c9be3(0xd7)],_0x512838[_0x3c9be3(0xdf)]);},exports['getFailureData']=(_0x5ba5d8,{test_run_uuid:_0x1f1088})=>{const _0xae0858=a44_0x576ee8,_0x601daa={'QzBpo':_0xae0858(0x10d),'CCWWA':_0xae0858(0xd8),'EWFxi':function(_0x4e12e8,_0x593b68){return _0x4e12e8<=_0x593b68;},'LDuWw':function(_0x2b12cc,_0x171881){return _0x2b12cc(_0x171881);},'apYii':_0xae0858(0x140),'nibPM':function(_0x55e75d,_0x5d68ee){return _0x55e75d>=_0x5d68ee;},'fIQgS':_0xae0858(0xfd),'DDzSU':function(_0x3052c6,_0x5dde31){return _0x3052c6>_0x5dde31;},'wETAM':function(_0x1818ca,_0x5c11be){return _0x1818ca(_0x5c11be);},'VVZQE':function(_0x621338,_0x3854d8,_0x10ec28){return _0x621338(_0x3854d8,_0x10ec28);},'Sqyzh':_0xae0858(0x170)};if(!_0x5ba5d8||_0x601daa[_0xae0858(0xe4)](_0x5ba5d8[_0xae0858(0x169)],0x0))return[];const _0x239883=_0x601daa[_0xae0858(0xca)](removeAnsiColors,_0x5ba5d8[0x0]['message']);if(_0x239883[_0xae0858(0x157)](_0x601daa['apYii'])){const _0x348ee7=_0x5ba5d8[0x0],_0x5f4ca9=_0x601daa[_0xae0858(0xca)](getFrameworkVersion,FRAMEWORKS[_0xae0858(0x144)]);if((!_0x348ee7[_0xae0858(0xfc)]||_0x601daa['nibPM'](_0x5f4ca9,_0x601daa[_0xae0858(0x10f)]))&&_0x601daa['DDzSU'](_0x5ba5d8[_0xae0858(0x169)],0x1))return{'failureData':[{'backtrace':[_0x239883,_0x601daa['wETAM'](removeAnsiColors,_0x5ba5d8[0x1][_0xae0858(0xfc)])]}],'logs':_0x5ba5d8['slice'](0x2)[_0xae0858(0xec)](_0x50abb6=>{const _0x3825c5=_0xae0858;return{'timestamp':new Date()[_0x3825c5(0x118)](),'level':_0x601daa[_0x3825c5(0x175)],'message':''+_0x50abb6[_0x3825c5(0x133)],'kind':_0x601daa[_0x3825c5(0xdb)],'http_response':{},'test_run_uuid':_0x1f1088};})};}return{'failureData':_0x601daa[_0xae0858(0x115)](failureData,_0x5ba5d8,_0x601daa[_0xae0858(0x177)]),'logs':[]};},exports[a44_0x576ee8(0x16b)]=_0x264f22=>{const _0x11a54a=a44_0x576ee8,_0x40e4a0={};_0x40e4a0[_0x11a54a(0x15c)]=function(_0x5b3849,_0x4e577d){return _0x5b3849!==_0x4e577d;},_0x40e4a0[_0x11a54a(0x104)]='.zip',_0x40e4a0[_0x11a54a(0xea)]=function(_0x59f725,_0x720506){return _0x59f725>_0x720506;};const _0x2d9cfd=_0x40e4a0;if(_0x264f22&&fs[_0x11a54a(0x155)](_0x264f22)){if(_0x2d9cfd[_0x11a54a(0x15c)](path['extname'](_0x264f22)[_0x11a54a(0x127)](),_0x2d9cfd[_0x11a54a(0x104)]))return logger[_0x11a54a(0x11f)](_0x11a54a(0x14c)+_0x264f22),![];const _0x108677=fs[_0x11a54a(0x107)](_0x264f22)[_0x11a54a(0x12e)];if(_0x2d9cfd[_0x11a54a(0xea)](_0x108677,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x11a54a(0x11f)](_0x11a54a(0x125)+_0x108677+_0x11a54a(0x145)),![];return!![];}return![];},exports[a44_0x576ee8(0x14b)]=(_0x4c9a8d,_0x421ddf)=>{const _0x14570c=a44_0x576ee8,_0x445cf9={};_0x445cf9[_0x14570c(0xdd)]='Arguments';const _0x3ab4ee=_0x445cf9;logger[_0x14570c(0xc9)]('Searching\x20for\x20key:\x20'+_0x421ddf);if(_0x4c9a8d&&_0x4c9a8d['attachments']){const _0x32e5f0=_0x4c9a8d[_0x14570c(0x123)]['find'](_0x1c110c=>_0x1c110c[_0x14570c(0x166)]===_0x14570c(0x16a));if(_0x32e5f0)return logger[_0x14570c(0xc9)](_0x14570c(0x16f)+_0x421ddf+_0x14570c(0x158)),_0x32e5f0[_0x421ddf];}else{if(_0x4c9a8d&&Object['prototype'][_0x14570c(0x113)][_0x14570c(0x138)](_0x4c9a8d)[_0x14570c(0xda)](_0x3ab4ee['sLNoo']))for(const _0x4c5399 of _0x4c9a8d){if(_0x4c5399[_0x421ddf])return logger[_0x14570c(0xc9)](_0x14570c(0x16f)+_0x421ddf+_0x14570c(0xd6)),_0x4c5399[_0x421ddf];}};return'';},exports[a44_0x576ee8(0x103)]=async(_0x55898b,_0x493059)=>{const _0x21a3c4=a44_0x576ee8,_0x31d329={};_0x31d329[_0x21a3c4(0x134)]='LogCreated',_0x31d329[_0x21a3c4(0xc4)]='TEST_ATTACHMENT',_0x31d329[_0x21a3c4(0x126)]=_0x21a3c4(0x108),_0x31d329[_0x21a3c4(0xc3)]=_0x21a3c4(0x16d);const _0x9b334b=_0x31d329;try{const _0x280be4={'event_type':_0x9b334b[_0x21a3c4(0x134)],'logs':[{'data':_0x55898b?fs[_0x21a3c4(0xf1)](_0x55898b):'','test_run_uuid':_0x493059,'kind':_0x9b334b[_0x21a3c4(0xc4)],'fileName':_0x55898b?path['basename'](_0x55898b):''}]};return await SessionHandler[_0x21a3c4(0x105)](_0x280be4,0x0,_0x9b334b[_0x21a3c4(0x126)]);}catch(_0x37b523){logger[_0x21a3c4(0x11f)](util[_0x21a3c4(0xcb)](_0x9b334b[_0x21a3c4(0xc3)],_0x37b523));}},exports[a44_0x576ee8(0x108)]=async(_0x3efba0,_0x3080b6)=>{const _0xc7a747=a44_0x576ee8,_0x208f93={'FARWt':_0xc7a747(0x14f),'xnDMq':_0xc7a747(0xf0),'bDRVr':function(_0x408637){return _0x408637();},'gxcWV':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0xc7a747(0xc9)](_0xc7a747(0x15f)+_0x3080b6);let _0x200884=await exports['findNestedKey'](_0x3efba0,_0x208f93[_0xc7a747(0x16c)]);if(exports['validateFilePath'](_0x200884)){logger['debug'](_0x208f93['xnDMq']),_0x200884=path[_0xc7a747(0x112)](_0x200884);const _0x851e4={};_0x851e4[_0xc7a747(0x178)]=_0x3080b6,_0x851e4[_0xc7a747(0xf6)]=_0x200884;const _0x5543bb=_0x851e4;_0x208f93[_0xc7a747(0x10b)](getBrowserstackCLI)['getInstance']()[_0xc7a747(0xf4)]()?TestInfo[_0xc7a747(0x13d)](_0x5543bb):TestDetails['addTraceFilePath'](_0x5543bb);};}catch(_0x23dbbe){logger[_0xc7a747(0x11f)](util[_0xc7a747(0xcb)](_0x208f93[_0xc7a747(0xed)],_0x23dbbe));}},exports[a44_0x576ee8(0xe9)]=_0x1039a0=>{const _0x67280d=a44_0x576ee8,_0x32f3af={};_0x32f3af[_0x67280d(0xe2)]=function(_0xf38891,_0x1d29db){return _0xf38891+_0x1d29db;};const _0x2dd7be=_0x32f3af;return _0x2dd7be[_0x67280d(0xe2)](_0x2dd7be['vshwa'](_0x1039a0[_0x67280d(0x143)],'-'),_0x1039a0['id']);},exports[a44_0x576ee8(0xcd)]=(_0x2e3e71,_0x348364)=>{const _0x25ff5a=a44_0x576ee8,_0x444d91={};_0x444d91['VEAFN']=function(_0x1c7297,_0x3b8622){return _0x1c7297+_0x3b8622;},_0x444d91[_0x25ff5a(0xd1)]=function(_0x3d67eb,_0x2c41d7){return _0x3d67eb+_0x2c41d7;};const _0x5c6fa6=_0x444d91;return _0x5c6fa6[_0x25ff5a(0x117)](_0x5c6fa6['SiIZW'](_0x2e3e71['id'],'-'),_0x348364);};function a44_0x5d1b(){const _0x841272=['onStepBegin','RCgJv','4464580FafbGl','stack','1.42.0','IVLvU','XOgEB','onTestBegin','gQyCR','zITBV','uploadTraceZip','HrdWS','sendEventData','Percentage\x20of\x20increased\x20time\x20is\x20','statSync','sendTraceZip','9OITBmC','kaVhj','bDRVr','KcIbd','ERROR','playwright/lib/common/configLoader.js','fIQgS','onBegin','match','resolve','toString','./test-details','VVZQE','onStepEnd','VEAFN','toISOString','1.35.0','processPageScreenshot','nlQKW','compareVersions','endSession','common','error','zPnOk','../../v2/TestInfo','getForkProcessPath','attachments','DoSfP','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','yjRbl','toLowerCase','gCTRc','ZnnDS','@playwright/test/lib/common/transform.js','endsWith','XFtjm','performance-report-worker-','size','@playwright/test','getConfigLoaderPath','../../../helpers/test-observability/utils','setupBrowserDetails','message','rqmou','1.38.0','rrjhf','calculatePerformance','call','1001ugvnaS','115795bIgsEQ','env','runner/loadUtils.js','addTraceFilePath','../../../helpers/logger','ryKly','Test\x20timeout\x20of','sendTestLog','beforeTestHook','_projectId','PLAYWRIGHT','\x20bytes','xdtvQ','getTime','24WQzHnn','157800tSyrdp','../../../helpers/performance/performance-tester','findNestedKey','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','AOzSj','YKjPv','path','getPlaywrightLibPath','getTestTags','doo11ySync','lRlMr','getLoadUtilsPath','existsSync','LCMUX','startsWith','\x20in\x20attachments','JGRDG','cMtff','KViXT','qaVzi','slice','lvIfh','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','bcmqi','567861QqTBUJ','getTransformPath','XwINS','winstonLogger','join','name','getProjectUtilsPath','tags','length','trace','validateFilePath','FARWt','Error\x20in\x20sending\x20trace\x20file:\x20%s','sEwlb','Found\x20key:\x20','test','BfehC','substr','zjBMS','playwright','QzBpo','@playwright/test/lib/common/configLoader.js','Sqyzh','testUId','GXodF','jQVWG','ewQRL','util','EPgFV','wIYqi','170401lxHudU','debug','LDuWw','format','.json','getTestRunIdentifier','JsErS','AeBTH','VgizW','SiIZW','performance-reporter.html','START_TIME','readdirSync','1801647QfGDSg','\x20in\x20arguments','gDdqA','TEST_LOG','requestSpyCallback','includes','CCWWA','35556NklcJz','sLNoo','onTestEnd','cvQlN','../../../helpers/test-observability/constants','beforeWorkerHook','vshwa','2TtjyuS','EWFxi','LKEcr','lib','@playwright/test/lib/transform/transform.js','ccjII','getTestIdentifier','MxiZS','BxolB','map','gxcWV','afterTestHook','playwright/lib/transform/transform.js','Trace\x20enabled','createReadStream','../../../helpers/test-observability/sessionHandler','xqemw','isRunning','Total\x20duration\x20for\x20whole\x20build\x20is\x20','filePath','44yFvBrM','XdTgB'];a44_0x5d1b=function(){return _0x841272;};return a44_0x5d1b();}
|
|
1
|
+
const a44_0x376df8=a44_0x3368;(function(_0x1b940f,_0x1100e8){const _0x57546f=a44_0x3368,_0x5ba843=_0x1b940f();while(!![]){try{const _0x419b18=-parseInt(_0x57546f(0x101))/0x1+-parseInt(_0x57546f(0x10e))/0x2*(-parseInt(_0x57546f(0x121))/0x3)+parseInt(_0x57546f(0x108))/0x4*(parseInt(_0x57546f(0x102))/0x5)+-parseInt(_0x57546f(0xfe))/0x6+parseInt(_0x57546f(0x15e))/0x7*(parseInt(_0x57546f(0xf1))/0x8)+-parseInt(_0x57546f(0x11d))/0x9+-parseInt(_0x57546f(0x12b))/0xa;if(_0x419b18===_0x1100e8)break;else _0x5ba843['push'](_0x5ba843['shift']());}catch(_0x300eaf){_0x5ba843['push'](_0x5ba843['shift']());}}}(a44_0xfa81,0x7413b));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x376df8(0x156)),PerformanceTester=require(a44_0x376df8(0x14f)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a44_0x376df8(0x126)),path=require(a44_0x376df8(0x11c)),logger=require(a44_0x376df8(0xdd))[a44_0x376df8(0x151)],SessionHandler=require(a44_0x376df8(0x113)),TestDetails=require(a44_0x376df8(0xec)),util=require(a44_0x376df8(0x123)),TestInfo=require(a44_0x376df8(0x16a));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x3a8e0c=a44_0x376df8,_0xc4f244={'xHAaS':function(_0x2572fb,_0x2c1512){return _0x2572fb(_0x2c1512);},'rbtQu':_0x3a8e0c(0xd8)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0xc4f244['xHAaS'](require,_0xc4f244[_0x3a8e0c(0x15c)])),BrowserstackCLIInstance;}function a44_0x3368(_0x2cace6,_0x540094){const _0xfa8176=a44_0xfa81();return a44_0x3368=function(_0x33689d,_0x1e5959){_0x33689d=_0x33689d-0xcc;let _0x25dd25=_0xfa8176[_0x33689d];return _0x25dd25;},a44_0x3368(_0x2cace6,_0x540094);}const getTagsFromTitle=_0x5a9515=>{const _0x21d78a=a44_0x376df8;return _0x5a9515[_0x21d78a(0x13d)](/@(\w+)/g)?.[_0x21d78a(0x150)](_0x1fed2a=>_0x1fed2a[_0x21d78a(0x11e)](0x1))||[];};exports['getTestTags']=_0xcf8ccd=>{const _0x3ab44a=a44_0x376df8,_0x6058e8={'NfFmG':function(_0x14bf0a,_0x2ef3fd){return _0x14bf0a(_0x2ef3fd);}};if(_0xcf8ccd[_0x3ab44a(0xd7)])return _0xcf8ccd['tags'][_0x3ab44a(0x150)](_0x3f2db0=>_0x3f2db0[_0x3ab44a(0xd3)]('@')?_0x3f2db0['substr'](0x1):_0x3f2db0);return _0x6058e8[_0x3ab44a(0x12e)](getTagsFromTitle,_0xcf8ccd['title']);},exports['calculatePerformance']=async()=>{const _0x2d32db=a44_0x376df8,_0x465380={'LHFKe':function(_0x58e35e,_0x2e6030){return _0x58e35e-_0x2e6030;},'oxwSs':'performance-reporter.html','xCBGe':_0x2d32db(0xfb),'pxCVv':_0x2d32db(0x133),'wDpsr':'onTestBegin','JfDCt':_0x2d32db(0x145),'zSVvL':_0x2d32db(0x13a),'ewWTS':_0x2d32db(0xe5),'bVpFe':'beforeWorkerHook','WZgvN':'afterWorkerHook','Peiud':_0x2d32db(0xea),'WAABU':_0x2d32db(0x103),'OQGpV':_0x2d32db(0x10d),'SqMPt':_0x2d32db(0x142),'HscEu':_0x2d32db(0x104),'uVKXV':_0x2d32db(0x112),'iyydx':_0x2d32db(0x13c),'lSurr':_0x2d32db(0x138),'fgXAx':function(_0x301041,_0x84e615){return _0x301041(_0x84e615);},'Oouuf':function(_0x3b5b26,_0x2c9cc5){return _0x3b5b26/_0x2c9cc5;},'CsrNN':function(_0x4c46d6,_0x34092b){return _0x4c46d6(_0x34092b);},'JuMXK':function(_0x237122,_0x1be693){return _0x237122+_0x1be693;},'FohHN':function(_0x29d3d8,_0x305404){return _0x29d3d8*_0x305404;},'CdiBd':function(_0x9c19b,_0x24a47c){return _0x9c19b+_0x24a47c;}};if(!process[_0x2d32db(0xf8)]['START_TIME'])return;const _0x373451=_0x465380[_0x2d32db(0xe6)](new Date()['getTime'](),new Date(process[_0x2d32db(0xf8)][_0x2d32db(0x157)])[_0x2d32db(0xd0)]()),_0xfdd508=await PerformanceTester[_0x2d32db(0x10b)](_0x465380[_0x2d32db(0x167)],[_0x465380[_0x2d32db(0x109)],_0x465380['pxCVv'],_0x465380[_0x2d32db(0x147)],_0x465380['JfDCt'],_0x465380[_0x2d32db(0xe1)],_0x465380['ewWTS']]),_0x5e605f=fs[_0x2d32db(0x168)]('.'),_0x13cf20=_0x5e605f[_0x2d32db(0xd5)](_0x564142=>_0x564142['startsWith'](_0x2d32db(0x164))&&_0x564142[_0x2d32db(0xce)](_0x2d32db(0x160))),_0x47b4d9=await PerformanceTester[_0x2d32db(0xf4)](_0x13cf20,[_0x465380['bVpFe'],_0x465380[_0x2d32db(0x158)],_0x465380[_0x2d32db(0x119)],_0x465380[_0x2d32db(0x14e)],_0x465380[_0x2d32db(0x146)],_0x465380['SqMPt'],_0x465380[_0x2d32db(0xe7)],_0x465380[_0x2d32db(0x171)],_0x465380[_0x2d32db(0xf9)],_0x465380['lSurr']]);_0x465380[_0x2d32db(0xf3)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x465380[_0x2d32db(0x139)](_0x373451,0x3e8)+'\x20s'),_0x465380['CsrNN'](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x465380['JuMXK'](_0x47b4d9,_0xfdd508)),_0x465380[_0x2d32db(0xf3)](debug,_0x2d32db(0x129)+_0x465380[_0x2d32db(0x118)](_0x465380[_0x2d32db(0x139)](_0x465380[_0x2d32db(0x124)](_0x47b4d9,_0xfdd508),_0x373451),0x64));},exports[a44_0x376df8(0xf7)]=()=>{const _0x411a46=a44_0x376df8,_0x4b9e99={'ZJSvX':function(_0x1632e3,_0x10dab5){return _0x1632e3(_0x10dab5);},'VAkNS':function(_0x896c45,_0x4dce7c){return _0x896c45>=_0x4dce7c;},'Qyyaz':'1.38.0','UNBRW':'playwright/lib/transform/transform.js','ijRqI':'playwright','VfedC':function(_0x2545d7,_0xf4eb0d){return _0x2545d7>=_0xf4eb0d;},'idcSo':_0x411a46(0x170),'nPwAi':'@playwright/test/lib/transform/transform.js','FtHCP':_0x411a46(0x114),'JhCip':_0x411a46(0x169)},_0x491e79=_0x4b9e99[_0x411a46(0xff)](getFrameworkVersion,FRAMEWORKS[_0x411a46(0x110)]);if(_0x4b9e99[_0x411a46(0x148)](helper[_0x411a46(0x131)](_0x491e79,_0x4b9e99[_0x411a46(0x15d)]),0x0))return[_0x4b9e99['UNBRW'],_0x4b9e99[_0x411a46(0x14d)]];if(_0x4b9e99[_0x411a46(0xd1)](helper['compareVersions'](_0x491e79,_0x4b9e99[_0x411a46(0x116)]),0x0))return[_0x4b9e99[_0x411a46(0x12a)],_0x4b9e99['FtHCP']];return[_0x4b9e99[_0x411a46(0x127)],_0x4b9e99[_0x411a46(0x107)]];},exports['getConfigLoaderPath']=()=>{const _0x46519a=a44_0x376df8,_0x59f6ab={'exMyg':function(_0x37f89b,_0x984e19){return _0x37f89b(_0x984e19);},'wTBgS':function(_0x1949c4,_0x295ef3){return _0x1949c4>=_0x295ef3;},'OCCHx':_0x46519a(0xe3),'VzxsH':_0x46519a(0x15b),'bmvzD':_0x46519a(0xcd),'MBche':_0x46519a(0x115),'Pyzpy':_0x46519a(0x114)},_0x5a878f=_0x59f6ab[_0x46519a(0x14c)](getFrameworkVersion,FRAMEWORKS[_0x46519a(0x110)]);if(_0x59f6ab[_0x46519a(0x149)](helper[_0x46519a(0x131)](_0x5a878f,_0x59f6ab[_0x46519a(0xee)]),0x0))return[_0x59f6ab['VzxsH'],_0x59f6ab[_0x46519a(0xef)]];return[_0x59f6ab[_0x46519a(0x10a)],_0x59f6ab[_0x46519a(0x132)]];},exports['getLoadUtilsPath']=()=>{const _0x2f6a6b=a44_0x376df8,_0x4b7286={};_0x4b7286['cZKOm']=_0x2f6a6b(0x163);const _0x17e355=_0x4b7286;return helper[_0x2f6a6b(0x11b)](_0x17e355[_0x2f6a6b(0xcf)]);},exports[a44_0x376df8(0xd9)]=()=>{const _0x3c84c1=a44_0x376df8,_0x5269df={};_0x5269df['gHTob']='runner/projectUtils.js';const _0xf0cd2b=_0x5269df;return helper[_0x3c84c1(0x11b)](_0xf0cd2b[_0x3c84c1(0x134)]);},exports['getForkProcessPath']=()=>{const _0x47b5dd=a44_0x376df8,_0x165a99={'FsbAk':function(_0x1d49e4,_0x8866bb){return _0x1d49e4(_0x8866bb);},'heKAP':function(_0x4c6e04,_0x268843){return _0x4c6e04>=_0x268843;},'cOeaT':_0x47b5dd(0xe3),'rlBGd':_0x47b5dd(0x166),'rGZlb':_0x47b5dd(0xe9),'NDQsx':_0x47b5dd(0xfa),'ySxRe':'test'},_0x1a2ca7=_0x165a99[_0x47b5dd(0xe2)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x165a99[_0x47b5dd(0x14a)](helper['compareVersions'](_0x1a2ca7,_0x165a99['cOeaT']),0x0))return path['join'](_0x165a99[_0x47b5dd(0xfd)],_0x165a99[_0x47b5dd(0xf0)],_0x165a99['NDQsx']);return path['join'](_0x165a99[_0x47b5dd(0x154)],_0x165a99[_0x47b5dd(0xfd)],_0x165a99[_0x47b5dd(0xf0)],_0x165a99[_0x47b5dd(0x111)]);},exports['getFailureData']=(_0x6a7e95,{test_run_uuid:_0x14c08c})=>{const _0xfbf396=a44_0x376df8,_0xd87194={'MIHsM':_0xfbf396(0x106),'GPaSl':_0xfbf396(0xf6),'iAdcX':function(_0x5b5605,_0x1af00e){return _0x5b5605<=_0x1af00e;},'Mfbfg':function(_0x2368e2,_0x4cfcd2){return _0x2368e2(_0x4cfcd2);},'ibJfA':'Test\x20timeout\x20of','vnbdy':function(_0x3d57db,_0x1e2a99){return _0x3d57db>=_0x1e2a99;},'zNIFR':'1.42.0','JEGpY':function(_0x3af15e,_0x2a5e3f){return _0x3af15e>_0x2a5e3f;},'hWjxW':function(_0x3e085b,_0x3a8e5a){return _0x3e085b(_0x3a8e5a);},'eKKrb':function(_0xdbfb5e,_0x17a316,_0x3c175a){return _0xdbfb5e(_0x17a316,_0x3c175a);},'bwJWK':'test'};if(!_0x6a7e95||_0xd87194['iAdcX'](_0x6a7e95[_0xfbf396(0x120)],0x0))return[];const _0x29f3f7=_0xd87194[_0xfbf396(0xf5)](removeAnsiColors,_0x6a7e95[0x0][_0xfbf396(0x10c)]);if(_0x29f3f7[_0xfbf396(0xd3)](_0xd87194[_0xfbf396(0x141)])){const _0x9a06f1=_0x6a7e95[0x0],_0x106003=_0xd87194[_0xfbf396(0xf5)](getFrameworkVersion,FRAMEWORKS[_0xfbf396(0x110)]);if((!_0x9a06f1[_0xfbf396(0x140)]||_0xd87194[_0xfbf396(0x10f)](_0x106003,_0xd87194['zNIFR']))&&_0xd87194[_0xfbf396(0x136)](_0x6a7e95[_0xfbf396(0x120)],0x1))return{'failureData':[{'backtrace':[_0x29f3f7,_0xd87194[_0xfbf396(0x125)](removeAnsiColors,_0x6a7e95[0x1][_0xfbf396(0x140)])]}],'logs':_0x6a7e95[_0xfbf396(0x11e)](0x2)[_0xfbf396(0x150)](_0x32ce61=>{const _0x3b7fc6=_0xfbf396;return{'timestamp':new Date()['toISOString'](),'level':_0xd87194[_0x3b7fc6(0x153)],'message':''+_0x32ce61[_0x3b7fc6(0x10c)],'kind':_0xd87194[_0x3b7fc6(0xdc)],'http_response':{},'test_run_uuid':_0x14c08c};})};}return{'failureData':_0xd87194[_0xfbf396(0x128)](failureData,_0x6a7e95,_0xd87194['bwJWK']),'logs':[]};},exports[a44_0x376df8(0x16c)]=_0x271b62=>{const _0x540904=a44_0x376df8,_0x52da8c={};_0x52da8c[_0x540904(0x162)]=function(_0x1d6140,_0xa7c709){return _0x1d6140!==_0xa7c709;},_0x52da8c[_0x540904(0xe8)]=_0x540904(0xd4),_0x52da8c[_0x540904(0xda)]=function(_0x17555d,_0x42f80a){return _0x17555d>_0x42f80a;};const _0x22659c=_0x52da8c;if(_0x271b62&&fs['existsSync'](_0x271b62)){if(_0x22659c[_0x540904(0x162)](path[_0x540904(0xdf)](_0x271b62)['toLowerCase'](),_0x22659c['GsYpI']))return logger['error'](_0x540904(0xe4)+_0x271b62),![];const _0x1d3fe1=fs[_0x540904(0x16f)](_0x271b62)['size'];if(_0x22659c[_0x540904(0xda)](_0x1d3fe1,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x540904(0x105)](_0x540904(0x12c)+_0x1d3fe1+_0x540904(0x137)),![];return!![];}return![];},exports[a44_0x376df8(0x12d)]=(_0x328566,_0x36388a)=>{const _0x348d5a=a44_0x376df8,_0x2ec45e={};_0x2ec45e['tMnxe']='Arguments';const _0x2d4d8e=_0x2ec45e;logger[_0x348d5a(0x16b)](_0x348d5a(0x16d)+_0x36388a);if(_0x328566&&_0x328566[_0x348d5a(0x14b)]){const _0x3c7318=_0x328566[_0x348d5a(0x14b)][_0x348d5a(0xfc)](_0x510a7e=>_0x510a7e['name']==='trace');if(_0x3c7318)return logger[_0x348d5a(0x16b)](_0x348d5a(0x16e)+_0x36388a+_0x348d5a(0x161)),_0x3c7318[_0x36388a];}else{if(_0x328566&&Object['prototype'][_0x348d5a(0x11a)]['call'](_0x328566)['includes'](_0x2d4d8e[_0x348d5a(0x12f)]))for(const _0x2f9b94 of _0x328566){if(_0x2f9b94[_0x36388a])return logger[_0x348d5a(0x16b)]('Found\x20key:\x20'+_0x36388a+_0x348d5a(0x117)),_0x2f9b94[_0x36388a];}};return'';},exports[a44_0x376df8(0x165)]=async(_0x5b17cf,_0x339b95)=>{const _0x16a8d7=a44_0x376df8,_0x25c73a={};_0x25c73a[_0x16a8d7(0xd2)]=_0x16a8d7(0x155),_0x25c73a[_0x16a8d7(0xe0)]=_0x16a8d7(0x152),_0x25c73a[_0x16a8d7(0x135)]=_0x16a8d7(0xf2),_0x25c73a[_0x16a8d7(0xdb)]=_0x16a8d7(0x13b);const _0x16b152=_0x25c73a;try{const _0x3031af={'event_type':_0x16b152[_0x16a8d7(0xd2)],'logs':[{'data':_0x5b17cf?fs['createReadStream'](_0x5b17cf):'','test_run_uuid':_0x339b95,'kind':_0x16b152[_0x16a8d7(0xe0)],'fileName':_0x5b17cf?path['basename'](_0x5b17cf):''}]};return await SessionHandler[_0x16a8d7(0xd6)](_0x3031af,0x0,_0x16b152[_0x16a8d7(0x135)]);}catch(_0x1084a1){logger['error'](util[_0x16a8d7(0x15a)](_0x16b152[_0x16a8d7(0xdb)],_0x1084a1));}},exports[a44_0x376df8(0xf2)]=async(_0x58da34,_0xb2b8c4)=>{const _0x282a44=a44_0x376df8,_0x21b6d7={'WTvqq':_0x282a44(0x11c),'xBHrN':_0x282a44(0xed),'FtzoM':function(_0x5e4163){return _0x5e4163();},'nyKSE':_0x282a44(0x13b)};try{logger['debug'](_0x282a44(0x13f)+_0xb2b8c4);let _0x19ff4e=await exports[_0x282a44(0x12d)](_0x58da34,_0x21b6d7[_0x282a44(0x159)]);if(exports[_0x282a44(0x16c)](_0x19ff4e)){logger[_0x282a44(0x16b)](_0x21b6d7[_0x282a44(0x143)]),_0x19ff4e=path[_0x282a44(0x100)](_0x19ff4e);const _0xae9169={};_0xae9169[_0x282a44(0x130)]=_0xb2b8c4,_0xae9169[_0x282a44(0xcc)]=_0x19ff4e;const _0x50665a=_0xae9169;_0x21b6d7[_0x282a44(0x144)](getBrowserstackCLI)[_0x282a44(0x15f)]()['isRunning']()?TestInfo[_0x282a44(0x11f)](_0x50665a):TestDetails[_0x282a44(0x11f)](_0x50665a);};}catch(_0x4ea0a2){logger[_0x282a44(0x105)](util[_0x282a44(0x15a)](_0x21b6d7['nyKSE'],_0x4ea0a2));}},exports['getTestIdentifier']=_0x3a1554=>{const _0x447b6e=a44_0x376df8,_0x2fe3c9={};_0x2fe3c9[_0x447b6e(0xeb)]=function(_0x5869b8,_0x28039f){return _0x5869b8+_0x28039f;},_0x2fe3c9['aWGQI']=function(_0x976834,_0x40e7c7){return _0x976834+_0x40e7c7;};const _0x5b76ce=_0x2fe3c9;return _0x5b76ce[_0x447b6e(0xeb)](_0x5b76ce[_0x447b6e(0x122)](_0x3a1554['_projectId'],'-'),_0x3a1554['id']);},exports[a44_0x376df8(0x13e)]=(_0x2d6afd,_0x23d001)=>{const _0x2007db=a44_0x376df8,_0x4c56da={};_0x4c56da[_0x2007db(0xde)]=function(_0x3d0019,_0x2d228a){return _0x3d0019+_0x2d228a;};const _0x37acc2=_0x4c56da;return _0x37acc2['Oalse'](_0x37acc2[_0x2007db(0xde)](_0x2d6afd['id'],'-'),_0x23d001);};function a44_0xfa81(){const _0x106b4c=['LHFKe','HscEu','GsYpI','common','beforeTestHook','CJlIQ','./test-details','Trace\x20enabled','OCCHx','bmvzD','rGZlb','80qPSagh','sendTraceZip','fgXAx','calculateTimesFromMultipleFiles','Mfbfg','TEST_LOG','getTransformPath','env','iyydx','process.js','onBegin','find','rlBGd','3140724ypqvid','ZJSvX','resolve','10743pwKglr','115hDJhSu','afterTestHook','sendSessionDetails','error','ERROR','FtHCP','72588tcjgYw','xCBGe','MBche','stopAndGenerate','message','doo11ySync','794654ROvXrR','vnbdy','PLAYWRIGHT','NDQsx','setupBrowserDetails','../../../helpers/test-observability/sessionHandler','@playwright/test','@playwright/test/lib/common/configLoader.js','idcSo','\x20in\x20arguments','FohHN','Peiud','toString','getPlaywrightLibPath','path','1344267PhdQdi','slice','addTraceFilePath','length','6UDeVjY','aWGQI','util','CdiBd','hWjxW','../../../helpers/helper','JhCip','eKKrb','Percentage\x20of\x20increased\x20time\x20is\x20','nPwAi','1756340tpAJrp','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','findNestedKey','NfFmG','tMnxe','testUId','compareVersions','Pyzpy','endSession','gHTob','durDv','JEGpY','\x20bytes','sendTestLog','Oouuf','onStepBegin','Error\x20in\x20sending\x20trace\x20file:\x20%s','requestSpyCallback','match','getTestRunIdentifier','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','stack','ibJfA','processPageScreenshot','xBHrN','FtzoM','onTestEnd','OQGpV','wDpsr','VAkNS','wTBgS','heKAP','attachments','exMyg','ijRqI','WAABU','../../../helpers/performance/performance-tester','map','winstonLogger','TEST_ATTACHMENT','MIHsM','ySxRe','LogCreated','../../../helpers/test-observability/utils','START_TIME','WZgvN','WTvqq','format','playwright/lib/common/configLoader.js','rbtQu','Qyyaz','85827YPwXoa','getInstance','.json','\x20in\x20attachments','vfofE','runner/loadUtils.js','performance-report-worker-','uploadTraceZip','lib','oxwSs','readdirSync','@playwright/test/lib/common/transform.js','../../v2/TestInfo','debug','validateFilePath','Searching\x20for\x20key:\x20','Found\x20key:\x20','statSync','1.35.0','uVKXV','filePath','playwright','endsWith','cZKOm','getTime','VfedC','XLynS','startsWith','.zip','filter','sendEventData','tags','../../v2/browserstackCLI','getProjectUtilsPath','SNlbd','hvGmt','GPaSl','../../../helpers/logger','Oalse','extname','iwEzn','zSVvL','FsbAk','1.38.0','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','onStepEnd'];a44_0xfa81=function(){return _0x106b4c;};return a44_0xfa81();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a45_0x56b6(_0x524cd6,_0x34613a){const _0x5e72d5=a45_0x5e72();return a45_0x56b6=function(_0x56b6bd,_0x4bc888){_0x56b6bd=_0x56b6bd-0xb5;let _0x5e485c=_0x5e72d5[_0x56b6bd];return _0x5e485c;},a45_0x56b6(_0x524cd6,_0x34613a);}const a45_0x4bf11a=a45_0x56b6;(function(_0x27c1a7,_0xc4bed2){const _0x56ef56=a45_0x56b6,_0x1798af=_0x27c1a7();while(!![]){try{const _0x250d39=parseInt(_0x56ef56(0x151))/0x1*(parseInt(_0x56ef56(0x185))/0x2)+parseInt(_0x56ef56(0x192))/0x3+-parseInt(_0x56ef56(0x181))/0x4*(-parseInt(_0x56ef56(0x12e))/0x5)+parseInt(_0x56ef56(0x140))/0x6+parseInt(_0x56ef56(0x122))/0x7+parseInt(_0x56ef56(0x1c5))/0x8+-parseInt(_0x56ef56(0x1ac))/0x9;if(_0x250d39===_0xc4bed2)break;else _0x1798af['push'](_0x1798af['shift']());}catch(_0x2a630b){_0x1798af['push'](_0x1798af['shift']());}}}(a45_0x5e72,0xe3d84));function a45_0x5e72(){const _0x1a1664=['isRunning','aFUOd','getInstance','test_run','error','hook_run','reportLogs','CBTSessionCreated','logs','Test\x20Finished\x20with\x20unique\x20id\x20','startTime','TEST','qRwjd','oJPgg','options','getStepsAndLogs','HUIss','existsSync','Test\x20Started\x20with\x20unique\x20id\x20','wkcLS','cmdqo','mJmIG','.txt','../../../helpers/test-observability/requestQueueHandler','mKYAi','nIPLj','getHookType','ZAhqD','LogCreated','START_TIME','reverse','../../../helpers/test-observability/constants','\x20-\x20','OPtRj','EugfG','pPPLO','needToReportStep','length','Sending\x20session\x20details\x20for\x20','PaQxI','Bpowj','HookRunStarted','POST','oEpNK','FAiBX','_tests','all','sGaWF','performance-report-reporter.json','uuid','HxakY','wJOpR','uploadEventData','EyqMz','EMvRe','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','expanded','endSession','onStepEnd','addTestUIDAndReportLog','jznjn','relative','dKoBH','RpLGU','./pwUtils','Cfwqw','TEST_SCREENSHOT','homedir','VXPmS','../../../helpers/testhub/utils','UbhCh','XiMfJ','skipped','BROWSERSTACK_LOG_LEVEL','javascript','_testHooksMap','EpgJp','\x20is\x20triggered','getTestFramework','readFileSync','mkdirSync','yZDCG','enISU','filter','file','Expected\x20to\x20fail,\x20but\x20passed.','HEKbF','KlSiX','hook_run_uuid','expectedStatus','sendHookRunEvent','trackEvent','_tags','retry_of','hyUzf','93737CYgrKl','logLevel','path','sendTestRunEvent','env','nnsfT','root','retry','kaywS','PIZjp','setStepIdentifier','getHierarchy','209105tQYbNv','trace_','vSaii','statSync','_gitConfigPath','HcERI','nAOEn','toISOString','_gitConfigured','AFTER_ALL','xjLbI','./test-details','join','split','gvvUV','meta','gzaql','timedOut','10092762JHmfqG','pending','getCustomRerunParam','XRMqr','../../v2/browserstackCLI','JGWkq','_trackedEvents','yDKHq','Trace\x20file\x20found\x20for\x20test:\x20','Error\x20in\x20sending\x20trace\x20zip:\x20%s','BEFORE_EACH','result','BROWSERSTACK_TEST_RUN_ID','onTestEnd','name','push','MyReporter','80asppLA','tXnYU','DHoOT','Cvzgc','AuRYm','TEST_STEP','../../../helpers/performance/performance-tester','NJioj','PprDm','step','_bs_hookIdentifier','location','qLOwd','failure','xAFSd','NKWBF','AFTER_EACH','cAxmR','vkztw','beforeEach\x20hook','apoOn','ZLSwO','BROWSERSTACK_O11Y_PERF_MEASUREMENT','startMonitoring','sendSessionDetails','failure_type','BEFORE_ALL','beforeAll\x20hook','PEoBR','pdMNI','HOmrS','kijgZ','../../../helpers/test-observability/utils','title','ZgDiN','message','PLAYWRIGHT','vlwNY','CjgmX','Before\x20Hooks','WhMPD','Igqtt','hcMkN','PRE','FtMfS','sFBTF','getScope','startsWith','124mNwMVO','cwd','category','TestRunFinished','4356ZOUcHE','errors','iWsGj','TEST_ATTACHMENT','startedAt','hook','zfAvn','test','test_run_uuid','status','format','hooks','duration','4696566TCwLlo','toString','Hook\x20Finished\x20with\x20unique\x20id\x20','XTbuJ','indexOf','setup','Hook\x20Started\x20with\x20unique\x20id\x20','HRuAp','../../v2/TestInfo','yWliz','imYRJ','fKNxj','onStepBegin','../../v2/state/testFrameworkState','onTestBegin','WWoAI','PovxW','passed','base64','FMVgd','../../../../src/bin/utils/constants','map','../../../helpers/test-observability/sessionHandler','arcmu','titlePath','IEfIo','46639197HzxuwY','getStepIdentifier','utf8','event_type','zQEjA','stack','\x20for\x20','qijIf','YKNIA','afterAll\x20hook','pKHfN','size','finishedAt','forEach','INIT_TEST','DnoWx','nbgtl','object','basename','tPHub','UIMnP','backtrace','util','parent','getTestUUID','11069232BOFOQs','unknown','Weqky','\x20is\x20triggered\x20for\x20test\x20','steps','Playwright','configureGit','\x20at\x20','YRTzz','FLaiw','TestRunStarted','screenshot','mMldX','failed','afterEach\x20hook','failure_reason','gVFSR','FJSCP'];a45_0x5e72=function(){return _0x1a1664;};return a45_0x5e72();}const RequestQueueHandler=require(a45_0x4bf11a(0xda)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x4bf11a(0x103)),{v4:uuidv4}=require(a45_0x4bf11a(0xf4)),path=require(a45_0x4bf11a(0x124)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x4bf11a(0x171)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x4bf11a(0x139)),fs=require('fs'),util=require(a45_0x4bf11a(0x1c2)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x4bf11a(0x157)),{FRAMEWORKS}=require(a45_0x4bf11a(0xe2)),SessionHandler=require(a45_0x4bf11a(0x1a8)),{appendTesthubParams}=require(a45_0x4bf11a(0x108)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a45_0x4bf11a(0x144)),TestFrameworkState=require(a45_0x4bf11a(0x19f)),HookState=require('../../v2/state/hookState'),TestInfo=require(a45_0x4bf11a(0x19a)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x4bf11a(0x1a6));class MyReporter{constructor(_0x2ec762){const _0x1798ec=a45_0x4bf11a,_0x473d84={'jksva':'0|5|3|4|1|6|7|2','FJSCP':function(_0x548fff,_0x21f387,_0x49e5c7,_0x28ae95){return _0x548fff(_0x21f387,_0x49e5c7,_0x28ae95);},'EpgJp':_0x1798ec(0xf3)},_0x2f8aa2=_0x473d84['jksva'][_0x1798ec(0x13b)]('|');let _0x3b2afa=0x0;while(!![]){switch(_0x2f8aa2[_0x3b2afa++]){case'0':const _0x5b79f8={};_0x5b79f8[_0x1798ec(0x123)]=process[_0x1798ec(0x126)][_0x1798ec(0x10c)],_0x473d84[_0x1798ec(0xc2)](setLogLevel,_0x5b79f8,new Map(),new Map());continue;case'1':this[_0x1798ec(0xd1)]=_0x2ec762;continue;case'2':this['_trackedEvents']=[];continue;case'3':this[_0x1798ec(0xf0)]={};continue;case'4':this['_testHooksMap']={};continue;case'5':process[_0x1798ec(0x126)][_0x1798ec(0x167)]&&(PerformanceTester[_0x1798ec(0x168)](_0x473d84[_0x1798ec(0x10f)]),process[_0x1798ec(0x126)][_0x1798ec(0xe0)]=new Date()[_0x1798ec(0x135)]());continue;case'6':this['_gitConfigured']=![];continue;case'7':this[_0x1798ec(0x132)]=null;continue;}break;}}async['onBegin'](){const _0x3c0a13=a45_0x4bf11a,_0x274a6b={};_0x274a6b[_0x3c0a13(0xe6)]=_0x3c0a13(0xb6);const _0x1230ab=_0x274a6b;TestDetails[_0x3c0a13(0x197)](),await this[_0x3c0a13(0xb7)](),TestInfo[_0x3c0a13(0x197)](_0x1230ab[_0x3c0a13(0xe6)]);if(BrowserstackCLI[_0x3c0a13(0xc5)]()['isRunning']()){await BrowserstackCLI['getInstance']()[_0x3c0a13(0x111)]()[_0x3c0a13(0x11e)](TestFrameworkState[_0x3c0a13(0x1ba)],HookState[_0x3c0a13(0x17c)],{});return;}}async[a45_0x4bf11a(0x1a0)](_0x555978,_0x833fc){const _0x4bda5b=a45_0x4bf11a,_0x241dc8={'BpISx':function(_0x1de9e4,_0x38386b){return _0x1de9e4(_0x38386b);},'hyUzf':function(_0x4ad03f,_0x50053d,_0x3ab921){return _0x4ad03f(_0x50053d,_0x3ab921);},'PprDm':function(_0x2e14bb,_0x580d94){return _0x2e14bb(_0x580d94);},'qKJKc':_0x4bda5b(0xbb)};if(BrowserstackCLI[_0x4bda5b(0xc5)]()[_0x4bda5b(0xc3)]()){const _0x425c9e={};_0x425c9e[_0x4bda5b(0x18c)]=_0x555978,_0x425c9e[_0x4bda5b(0x14b)]=_0x833fc,await BrowserstackCLI[_0x4bda5b(0xc5)]()[_0x4bda5b(0x111)]()['trackEvent'](TestFrameworkState[_0x4bda5b(0xce)],HookState['PRE'],_0x425c9e);return;}const _0x214f93=_0x241dc8['BpISx'](getTestIdentifier,_0x555978),_0x133776=TestDetails['getTestUUID'](_0x241dc8[_0x4bda5b(0x121)](getTestRunIdentifier,_0x555978,_0x833fc['retry']));process[_0x4bda5b(0x126)][_0x4bda5b(0x14c)]=_0x133776;const _0x237d04={};_0x237d04[_0x4bda5b(0xf4)]=_0x133776,_0x237d04[_0x4bda5b(0x189)]=_0x833fc[_0x4bda5b(0xcd)],this[_0x4bda5b(0xf0)][_0x214f93]=_0x237d04,_0x241dc8[_0x4bda5b(0x159)](trace,_0x4bda5b(0xd5)+_0x214f93),await this[_0x4bda5b(0x125)](_0x555978,_0x241dc8['qKJKc'],_0x833fc);}async[a45_0x4bf11a(0x19e)](_0x3ad861,_0x1d1d16,_0x3933bf){const _0x3af188=a45_0x4bf11a,_0x55db9a={'cmdqo':function(_0x19d618,_0x50989,_0x54958e){return _0x19d618(_0x50989,_0x54958e);},'qLOwd':function(_0x2a389f,_0x5c5b04){return _0x2a389f(_0x5c5b04);},'JQdEJ':_0x3af188(0xec)};if(!this['needToReportStep'](_0x3933bf,_0x3ad861))return;if(BrowserstackCLI[_0x3af188(0xc5)]()[_0x3af188(0xc3)]()){const _0xdb485f=this['getHookType'](_0x3933bf['title']),_0x5626d6=TestFrameworkState[_0xdb485f],_0x3ae4f2={};_0x3ae4f2['test']=_0x3ad861,_0x3ae4f2[_0x3af188(0x14b)]=_0x1d1d16,_0x3ae4f2[_0x3af188(0x15a)]=_0x3933bf,await BrowserstackCLI['getInstance']()[_0x3af188(0x111)]()[_0x3af188(0x11e)](_0x5626d6,HookState[_0x3af188(0x17c)],_0x3ae4f2);return;}const _0x1417fd=this['setStepIdentifier'](_0x3ad861,_0x3933bf);this[_0x3af188(0xf0)][_0x1417fd]={'uuid':TestDetails[_0x3af188(0x1c4)](_0x1417fd),'startedAt':_0x3933bf[_0x3af188(0xcd)][_0x3af188(0x135)]()};const _0x337341=_0x55db9a[_0x3af188(0xd7)](getTestRunIdentifier,_0x3ad861,_0x1d1d16[_0x3af188(0x129)]);!this[_0x3af188(0x10e)][_0x337341]&&(this[_0x3af188(0x10e)][_0x337341]=[]),this[_0x3af188(0x10e)][_0x337341][_0x3af188(0x14f)](this['_tests'][_0x1417fd][_0x3af188(0xf4)]),_0x55db9a[_0x3af188(0x15d)](trace,_0x3af188(0x198)+_0x1417fd+_0x3af188(0x1c8)+_0x337341),await this[_0x3af188(0x11d)](_0x3ad861,_0x3933bf,_0x55db9a['JQdEJ'],_0x1d1d16);}async[a45_0x4bf11a(0xfd)](_0x1e29eb,_0xf81f71,_0x184856){const _0x1a5843=a45_0x4bf11a,_0x456845={'WhMPD':function(_0x3c50b6,_0x19a783){return _0x3c50b6+_0x19a783;},'KlSiX':function(_0x5b0819,_0x5caff7){return _0x5b0819(_0x5caff7);},'PIZjp':'HookRunFinished'};if(!this[_0x1a5843(0xe7)](_0x184856,_0x1e29eb))return;if(BrowserstackCLI['getInstance']()[_0x1a5843(0xc3)]()){const _0x45b28c=this[_0x1a5843(0xdd)](_0x184856['title']),_0x5ac7a0=TestFrameworkState[_0x45b28c],_0x43136c={};_0x43136c[_0x1a5843(0x18c)]=_0x1e29eb,_0x43136c[_0x1a5843(0x14b)]=_0xf81f71,_0x43136c[_0x1a5843(0x15a)]=_0x184856,await BrowserstackCLI[_0x1a5843(0xc5)]()[_0x1a5843(0x111)]()[_0x1a5843(0x11e)](_0x5ac7a0,HookState[_0x1a5843(0xed)],_0x43136c);return;}const _0x493478=this[_0x1a5843(0x1ad)](_0x1e29eb,_0x184856);this[_0x1a5843(0xf0)][_0x493478]={...this[_0x1a5843(0xf0)][_0x493478]||{},'finishedAt':new Date(_0x456845[_0x1a5843(0x179)](_0x184856[_0x1a5843(0xcd)]['getTime'](),_0x184856[_0x1a5843(0x191)]))},_0x456845[_0x1a5843(0x11a)](trace,_0x1a5843(0x194)+_0x493478+_0x1a5843(0x110)),await this[_0x1a5843(0x11d)](_0x1e29eb,_0x184856,_0x456845[_0x1a5843(0x12b)],_0xf81f71);}async['onTestEnd'](_0x4434af,_0xa5d4c2){const _0x1bc4b2=a45_0x4bf11a,_0x5cbf53={'EugfG':function(_0x59445e,_0x279f92){return _0x59445e===_0x279f92;},'tXnYU':_0x1bc4b2(0xbc),'xjLbI':_0x1bc4b2(0x105),'CossM':_0x1bc4b2(0x1a4),'NKWBF':function(_0x58195b,_0x416d5e){return _0x58195b(_0x416d5e);},'wJOpR':function(_0x43326b,_0x90334e,_0x331ee9){return _0x43326b(_0x90334e,_0x331ee9);},'hcMkN':function(_0x1e86ef,_0x58a6d0){return _0x1e86ef(_0x58a6d0);},'dKoBH':'TestRunFinished','PEoBR':function(_0x258376,_0x1d3953){return _0x258376(_0x1d3953);},'vlwNY':_0x1bc4b2(0xfa),'gzaql':function(_0x47716d,_0x12b98b){return _0x47716d(_0x12b98b);},'Igqtt':_0x1bc4b2(0x149),'Cvzgc':function(_0x26e347,_0x128fb6){return _0x26e347>_0x128fb6;}};if(BrowserstackCLI[_0x1bc4b2(0xc5)]()[_0x1bc4b2(0xc3)]()){const _0x316048={};_0x316048['test']=_0x4434af,_0x316048[_0x1bc4b2(0x14b)]=_0xa5d4c2,this['_trackedEvents'][_0x1bc4b2(0x14f)](BrowserstackCLI[_0x1bc4b2(0xc5)]()[_0x1bc4b2(0x111)]()[_0x1bc4b2(0x11e)](TestFrameworkState[_0x1bc4b2(0xce)],HookState['POST'],_0x316048));return;}const _0x4ddc6c=_0x5cbf53[_0x1bc4b2(0x160)](getTestIdentifier,_0x4434af),_0x33a302=TestDetails['getTestUUID'](_0x5cbf53[_0x1bc4b2(0xf6)](getTestRunIdentifier,_0x4434af,_0xa5d4c2[_0x1bc4b2(0x129)]));this[_0x1bc4b2(0xf0)][_0x4ddc6c]={...this[_0x1bc4b2(0xf0)][_0x4ddc6c]||{},'finishedAt':new Date()[_0x1bc4b2(0x135)]()},_0x5cbf53[_0x1bc4b2(0x17b)](debug,_0x1bc4b2(0xcc)+_0x4ddc6c);try{await this[_0x1bc4b2(0x125)](_0x4434af,_0x5cbf53[_0x1bc4b2(0x101)],_0xa5d4c2);}catch(_0x568fb2){_0x5cbf53['PEoBR'](debug,util[_0x1bc4b2(0x18f)](_0x5cbf53[_0x1bc4b2(0x176)],_0x568fb2[_0x1bc4b2(0x193)]()));}try{_0x5cbf53[_0x1bc4b2(0x16d)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x33a302),await _0x5cbf53[_0x1bc4b2(0xf6)](sendTraceZip,_0xa5d4c2,_0x33a302);}catch(_0x74cda2){_0x5cbf53[_0x1bc4b2(0x13e)](debug,util['format'](_0x5cbf53[_0x1bc4b2(0x17a)],_0x74cda2[_0x1bc4b2(0x193)]()));}const _0x2cfba0=[];_0xa5d4c2['attachments']&&_0xa5d4c2['attachments'][_0x1bc4b2(0x1a7)](_0xa3b11=>{const _0x368fe1=_0x1bc4b2;if(_0x5cbf53[_0x368fe1(0xe5)](_0xa3b11[_0x368fe1(0x14e)],_0x5cbf53[_0x368fe1(0x152)])){if(!_0xa3b11['path']||!fs[_0x368fe1(0xd4)](_0xa3b11[_0x368fe1(0x124)]))return;_0x2cfba0[_0x368fe1(0x14f)]({'test_run_uuid':_0x33a302,'timestamp':fs[_0x368fe1(0x131)](_0xa3b11['path'])['mtime'],'kind':_0x5cbf53[_0x368fe1(0x138)],'message':fs['readFileSync'](_0xa3b11[_0x368fe1(0x124)],{'encoding':_0x5cbf53['CossM']})});}}),_0x5cbf53[_0x1bc4b2(0x154)](_0x2cfba0[_0x1bc4b2(0xe8)],0x0)&&await MyReporter[_0x1bc4b2(0xc9)](_0x2cfba0);}async[a45_0x4bf11a(0xfc)](){const _0x2afb48=a45_0x4bf11a;await RequestQueueHandler[_0x2afb48(0xc5)]()['shutdown']();}async['onEnd'](_0xa55e25){const _0x26d53f=a45_0x4bf11a,_0x42148={'XRMqr':function(_0x1d9829){return _0x1d9829();},'oPyNM':function(_0x3f8a7f,_0x119d68){return _0x3f8a7f(_0x119d68);}};await Promise[_0x26d53f(0xf1)](this[_0x26d53f(0x146)]),await this[_0x26d53f(0xfc)]();try{process[_0x26d53f(0x126)][_0x26d53f(0x167)]&&await _0x42148[_0x26d53f(0x143)](calculatePerformance);}catch(_0x11bf20){_0x42148['oPyNM'](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x11bf20[_0x26d53f(0x193)]());}}static async[a45_0x4bf11a(0xfe)](_0x24a369,_0x489b32){const _0x391a99=a45_0x4bf11a;_0x489b32['test_run_uuid']=TestDetails['getTestUUID'](_0x24a369),await this[_0x391a99(0xc9)]([_0x489b32]);}static async[a45_0x4bf11a(0xc9)](_0x5c3339){const _0x4b953e=a45_0x4bf11a,_0x1a8345={};_0x1a8345['iWsGj']=_0x4b953e(0xdf);const _0x3cbd1f=_0x1a8345;if(BrowserstackCLI[_0x4b953e(0xc5)]()['isRunning']())return;const _0x2ba77f={};_0x2ba77f['event_type']=_0x3cbd1f[_0x4b953e(0x187)],_0x2ba77f[_0x4b953e(0xcb)]=_0x5c3339,await SessionHandler['uploadEventData'](_0x2ba77f);}async[a45_0x4bf11a(0x11d)](_0x44e283,_0x10cd3a,_0x47c8dd,_0x39c026){const _0x25f1b1=a45_0x4bf11a,_0x32defc={'YRTzz':_0x25f1b1(0x18a),'XiMfJ':'javascript','EMvRe':_0x25f1b1(0x141),'omzms':function(_0x248f88,_0x34904a){return _0x248f88>=_0x34904a;},'tPHub':function(_0x455e5c,_0x263794){return _0x455e5c===_0x263794;},'kEnVj':'HookRunFinished','XmuAc':function(_0x6d9a3b,_0x2a2b1c){return _0x6d9a3b>_0x2a2b1c;},'gRjfm':_0x25f1b1(0xbe),'XTbuJ':function(_0x1b2375,_0x2fafe6){return _0x1b2375(_0x2fafe6);},'gvvUV':function(_0x44dfe9,_0x2e996b){return _0x44dfe9(_0x2e996b);},'yQaks':function(_0x58954e,_0x1daff5,_0x1ac515){return _0x58954e(_0x1daff5,_0x1ac515);},'LwQbm':'err','nbgtl':function(_0x146dba,_0x36f00d){return _0x146dba===_0x36f00d;},'fgNjA':'passed'},_0x409737=this[_0x25f1b1(0x1ad)](_0x44e283,_0x10cd3a),_0x1693ae=this[_0x25f1b1(0xf0)][_0x409737],_0x2d84eb={'uuid':_0x1693ae[_0x25f1b1(0xf4)],'type':_0x32defc[_0x25f1b1(0xb9)],'hook_type':this[_0x25f1b1(0xdd)](_0x10cd3a[_0x25f1b1(0x172)]),'name':_0x10cd3a[_0x25f1b1(0x172)],'scope':this[_0x25f1b1(0x17f)](_0x10cd3a),'scopes':this[_0x25f1b1(0x12d)](_0x44e283),'body':{'lang':_0x32defc[_0x25f1b1(0x10a)],'code':null},'identifier':_0x409737,'file_name':path[_0x25f1b1(0x100)](process[_0x25f1b1(0x182)](),_0x44e283[_0x25f1b1(0x15c)][_0x25f1b1(0x117)]),'location':path[_0x25f1b1(0x100)](process[_0x25f1b1(0x182)](),_0x44e283[_0x25f1b1(0x15c)][_0x25f1b1(0x117)]),'result':_0x32defc[_0x25f1b1(0xf9)],'duration_in_ms':_0x32defc['omzms'](_0x10cd3a[_0x25f1b1(0x191)],0x0)?_0x10cd3a[_0x25f1b1(0x191)]:undefined,'vc_filepath':this[_0x25f1b1(0x132)]&&_0x44e283['location']['file']?path[_0x25f1b1(0x100)](this['_gitConfigPath'],_0x44e283[_0x25f1b1(0x15c)][_0x25f1b1(0x117)]):undefined,'started_at':_0x1693ae[_0x25f1b1(0x189)],'finished_at':_0x1693ae['finishedAt'],'framework':FRAMEWORKS[_0x25f1b1(0x175)]};if(_0x32defc[_0x25f1b1(0x1bf)](_0x47c8dd,_0x32defc['kEnVj'])){const {steps:_0x3b4ec1,logs:_0x49cbbe}=this[_0x25f1b1(0xd2)](_0x10cd3a[_0x25f1b1(0xb5)],_0x1693ae[_0x25f1b1(0xf4)],_0x32defc[_0x25f1b1(0xb9)]);_0x49cbbe&&_0x32defc['XmuAc'](_0x49cbbe[_0x25f1b1(0xe8)],0x0)&&await MyReporter[_0x25f1b1(0xc9)](_0x49cbbe);const _0x68f97d={};_0x68f97d[_0x25f1b1(0xb5)]=_0x3b4ec1,_0x2d84eb[_0x25f1b1(0x13d)]=_0x68f97d;if(_0x10cd3a[_0x25f1b1(0xc7)]){_0x2d84eb[_0x25f1b1(0x14b)]=_0x32defc['gRjfm'],_0x2d84eb[_0x25f1b1(0xc0)]=_0x32defc[_0x25f1b1(0x195)](removeAnsiColors,_0x10cd3a[_0x25f1b1(0xc7)]['message']),_0x2d84eb['failure_type']=_0x32defc[_0x25f1b1(0x13c)](getFailureType,_0x10cd3a[_0x25f1b1(0xc7)][_0x25f1b1(0x174)]);const _0xe2871b=_0x32defc['yQaks'](failureData,_0x10cd3a[_0x25f1b1(0xc7)],_0x32defc['LwQbm']);if(_0xe2871b&&_0x32defc[_0x25f1b1(0x1bc)](_0xe2871b['length'],0x0)){const _0x21a443={};_0x21a443[_0x25f1b1(0x1c1)]=[_0x2d84eb[_0x25f1b1(0xc0)]],_0x21a443[_0x25f1b1(0xfb)]=[],_0xe2871b[_0x25f1b1(0x14f)](_0x21a443);}_0x2d84eb[_0x25f1b1(0x15e)]=_0xe2871b;}else _0x2d84eb[_0x25f1b1(0x14b)]=_0x32defc['fgNjA'];}const _0x10fdb8={};_0x10fdb8[_0x25f1b1(0x1af)]=_0x47c8dd,_0x10fdb8[_0x25f1b1(0xc8)]=_0x2d84eb;const _0x344cb6=_0x10fdb8;await SessionHandler[_0x25f1b1(0xf7)](_0x344cb6);}[a45_0x4bf11a(0xd2)](_0xdd2a57,_0x1293ef,_0x8b174){const _0x255976=a45_0x4bf11a,_0x5c5ec8={'nIPLj':function(_0x39d955,_0x36df9d){return _0x39d955===_0x36df9d;},'YKNIA':_0x255976(0x18a),'ZgDiN':function(_0x4e24a3,_0x2458df){return _0x4e24a3===_0x2458df;},'yWliz':'After\x20Hooks','vkztw':function(_0x431afd,_0x2f9199){return _0x431afd===_0x2f9199;},'yDKHq':_0x255976(0x178),'pKHfN':function(_0x12a5a6,_0x515664){return _0x12a5a6===_0x515664;},'arcmu':_0x255976(0x18c),'oJPgg':_0x255976(0x18d),'kaywS':_0x255976(0x11b),'BlNwv':_0x255976(0x156),'Weqky':'failed','enISU':_0x255976(0x1a3),'pdMNI':function(_0x414cf3,_0x4ad294){return _0x414cf3(_0x4ad294);},'EyqMz':function(_0x5d2527){return _0x5d2527();},'NJioj':function(_0x2f2ed7,_0x3e2e47){return _0x2f2ed7(_0x3e2e47);},'wkcLS':function(_0x46e24d,_0x52fe1f,_0x44e65e){return _0x46e24d(_0x52fe1f,_0x44e65e);}},_0x4980f4=[],_0x9899a8=[],_0x1ca065=_0xdd2a57[_0x255976(0x116)](_0x449e64=>{const _0x240d19=_0x255976;if(_0x5c5ec8[_0x240d19(0xdc)](_0x449e64[_0x240d19(0x183)],_0x5c5ec8[_0x240d19(0x1b4)])&&(_0x5c5ec8[_0x240d19(0x173)](_0x449e64[_0x240d19(0x172)],_0x5c5ec8[_0x240d19(0x19b)])||_0x5c5ec8[_0x240d19(0x163)](_0x449e64[_0x240d19(0x172)],_0x5c5ec8[_0x240d19(0x147)])))return![];return!![];}),_0x2ade6d=(_0x4948ed,_0x55dbe8=![])=>{const _0x3f00b3=_0x255976;if(_0x5c5ec8[_0x3f00b3(0x1b6)](_0x4948ed[_0x3f00b3(0xb5)][_0x3f00b3(0xe8)],0x0)){const _0x2ec7a7=_0x5c5ec8['nIPLj'](_0x8b174,_0x5c5ec8[_0x3f00b3(0x1a9)])?_0x5c5ec8[_0x3f00b3(0xd0)]:_0x5c5ec8[_0x3f00b3(0x12a)];_0x9899a8[_0x3f00b3(0x14f)]({'kind':_0x5c5ec8['BlNwv'],[_0x2ec7a7]:_0x1293ef,'message':_0x4948ed[_0x3f00b3(0x172)],'timestamp':_0x4948ed[_0x3f00b3(0xcd)][_0x3f00b3(0x135)](),'level':_0x4948ed[_0x3f00b3(0xc7)]?_0x5c5ec8[_0x3f00b3(0x1c7)]:_0x5c5ec8[_0x3f00b3(0x115)],'duration':_0x4948ed[_0x3f00b3(0x191)],'failure':_0x4948ed[_0x3f00b3(0xc7)]&&_0x4948ed['error']['message']&&_0x5c5ec8[_0x3f00b3(0x16e)](removeAnsiColors,_0x4948ed['error'][_0x3f00b3(0x174)]),'failure_type':_0x5c5ec8[_0x3f00b3(0x16e)](getFailureType,_0x4948ed[_0x3f00b3(0xc7)]&&_0x4948ed[_0x3f00b3(0xc7)]['message'])});}else{!_0x55dbe8&&_0x4980f4[_0x3f00b3(0x14f)]({'id':_0x5c5ec8[_0x3f00b3(0xf8)](uuidv4),'text':_0x4948ed[_0x3f00b3(0x172)],'keyword':undefined,'started_at':_0x4948ed['startTime']['toISOString'](),'duration':_0x4948ed[_0x3f00b3(0x191)],'result':_0x4948ed[_0x3f00b3(0xc7)]?_0x5c5ec8[_0x3f00b3(0x1c7)]:_0x5c5ec8[_0x3f00b3(0x115)],'failure':_0x4948ed[_0x3f00b3(0xc7)]&&_0x4948ed[_0x3f00b3(0xc7)][_0x3f00b3(0x174)]&&_0x5c5ec8['NJioj'](removeAnsiColors,_0x4948ed['error']['message']),'failure_type':_0x5c5ec8[_0x3f00b3(0x158)](getFailureType,_0x4948ed[_0x3f00b3(0xc7)]&&_0x4948ed['error'][_0x3f00b3(0x174)])});for(const _0x3bf38a of _0x4948ed[_0x3f00b3(0xb5)]){_0x5c5ec8[_0x3f00b3(0xd6)](_0x2ade6d,_0x3bf38a,!![]);}}};for(const _0x2d248b of _0x1ca065){_0x5c5ec8[_0x255976(0xd6)](_0x2ade6d,_0x2d248b,![]);}const _0x11e891={};return _0x11e891[_0x255976(0xb5)]=_0x4980f4,_0x11e891['logs']=_0x9899a8,_0x11e891;}async[a45_0x4bf11a(0x125)](_0x1d8258,_0x4b3947,_0x186874){const _0x2df634=a45_0x4bf11a,_0x486a09={'IEfIo':function(_0x3d58d2,_0x4f06c7){return _0x3d58d2(_0x4f06c7);},'VXPmS':_0x2df634(0x188),'apoOn':_0x2df634(0x18c),'sFBTF':_0x2df634(0x10d),'mKYAi':_0x2df634(0x141),'HxakY':function(_0x147a38,_0x331edf){return _0x147a38(_0x331edf);},'gVFSR':function(_0x36d377,_0x589a6c,_0x21711f,_0x10480b,_0xf8a998){return _0x36d377(_0x589a6c,_0x21711f,_0x10480b,_0xf8a998);},'xAFSd':function(_0x2b6eca,_0x3006bf){return _0x2b6eca>_0x3006bf;},'JGWkq':function(_0x36f769,_0x23f93b,_0x33b804){return _0x36f769(_0x23f93b,_0x33b804);},'nAOEn':function(_0x168002,_0x272931){return _0x168002-_0x272931;},'ZLSwO':function(_0x51b20a,_0x488dda){return _0x51b20a===_0x488dda;},'vSaii':_0x2df634(0x184),'PaQxI':function(_0x4e0adb,_0x291317){return _0x4e0adb===_0x291317;},'oEpNK':_0x2df634(0x10b),'FtMfS':_0x2df634(0x1a3),'qRwjd':_0x2df634(0xbe),'HOmrS':_0x2df634(0x13f),'kijgZ':_0x2df634(0x118),'HEKbF':function(_0x51502d,_0x6b2830){return _0x51502d(_0x6b2830);},'Bpowj':function(_0x261ec0,_0x482a89){return _0x261ec0===_0x482a89;},'CjgmX':_0x2df634(0x124),'RpLGU':function(_0x1c37f2,_0x1dbeb2){return _0x1c37f2(_0x1dbeb2);},'AuRYm':function(_0x549e06,_0x1f307d){return _0x549e06(_0x1f307d);},'fKNxj':'.browserstack','zQEjA':_0x2df634(0x1ae),'qijIf':function(_0x505bc0,_0x43b56a){return _0x505bc0(_0x43b56a);},'mMldX':function(_0x380dbc,_0x4fc02c){return _0x380dbc!==_0x4fc02c;}},_0x22ffd0=_0x486a09['IEfIo'](getTestIdentifier,_0x1d8258),_0x351023=this[_0x2df634(0x17f)](_0x1d8258),_0x23ad88=this['_tests'][_0x22ffd0],_0x8adc56=path[_0x2df634(0x100)](process[_0x2df634(0x182)](),_0x1d8258[_0x2df634(0x15c)]['file']);await this[_0x2df634(0xb7)]();const _0x1be2e6={'uuid':_0x23ad88[_0x2df634(0xf4)],'type':_0x486a09[_0x2df634(0x165)],'name':_0x1d8258[_0x2df634(0x172)],'body':{'lang':_0x486a09[_0x2df634(0x17e)],'code':_0x1d8258['fn'][_0x2df634(0x193)]()},'scope':_0x351023,'scopes':this[_0x2df634(0x12d)](_0x1d8258),'identifier':_0x22ffd0,'file_name':_0x8adc56,'location':_0x8adc56,'result':_0x486a09[_0x2df634(0xdb)],'duration_in_ms':_0x186874&&_0x186874['duration']?_0x186874[_0x2df634(0x191)]:null,'vc_filepath':this[_0x2df634(0x132)]&&_0x1d8258[_0x2df634(0x15c)][_0x2df634(0x117)]?path[_0x2df634(0x100)](this[_0x2df634(0x132)],_0x1d8258[_0x2df634(0x15c)][_0x2df634(0x117)]):undefined,'started_at':_0x23ad88[_0x2df634(0x189)],'finished_at':_0x23ad88[_0x2df634(0x1b8)],'framework':FRAMEWORKS[_0x2df634(0x175)],'customRerunParam':{'rerun_name':this[_0x2df634(0x142)](_0x1d8258)},'tags':_0x486a09[_0x2df634(0xf5)](getTestTags,_0x1d8258)};_0x486a09[_0x2df634(0xc1)](appendTesthubParams,_0x1be2e6,_0x4b3947,_0x1d8258,FRAMEWORKS[_0x2df634(0x175)]);_0x186874&&_0x486a09[_0x2df634(0x15f)](_0x186874[_0x2df634(0x129)],0x0)&&(_0x1be2e6[_0x2df634(0x120)]=TestDetails[_0x2df634(0x1c4)](_0x486a09[_0x2df634(0x145)](getTestRunIdentifier,_0x1d8258,_0x486a09[_0x2df634(0x134)](_0x186874[_0x2df634(0x129)],0x1))));if(_0x486a09[_0x2df634(0x166)](_0x4b3947,_0x486a09[_0x2df634(0x130)])){_0x1be2e6[_0x2df634(0x14b)]=_0x186874[_0x2df634(0x18e)];if(_0x486a09[_0x2df634(0xea)](_0x186874[_0x2df634(0x18e)],_0x1d8258[_0x2df634(0x11c)]))_0x1be2e6[_0x2df634(0x14b)]=_0x486a09[_0x2df634(0xea)](_0x186874['status'],_0x486a09[_0x2df634(0xee)])?_0x486a09[_0x2df634(0xee)]:_0x486a09[_0x2df634(0x17d)];else{(_0x486a09[_0x2df634(0x166)](_0x1be2e6[_0x2df634(0x14b)],_0x486a09[_0x2df634(0x17d)])||_0x486a09['PaQxI'](_0x1be2e6[_0x2df634(0x14b)],_0x486a09[_0x2df634(0xcf)])||_0x486a09[_0x2df634(0xea)](_0x1be2e6[_0x2df634(0x14b)],_0x486a09[_0x2df634(0x16f)]))&&(_0x1be2e6['result']=_0x486a09[_0x2df634(0xcf)]);if(_0x486a09[_0x2df634(0x166)](_0x186874[_0x2df634(0x18e)],_0x486a09[_0x2df634(0x17d)])&&_0x486a09[_0x2df634(0xea)](_0x1d8258[_0x2df634(0x11c)],_0x486a09[_0x2df634(0xcf)])){const _0x3551f6={};_0x3551f6[_0x2df634(0x174)]=_0x486a09[_0x2df634(0x170)],_0x3551f6[_0x2df634(0x1b1)]=_0x486a09['kijgZ'],_0x186874[_0x2df634(0xc7)]=_0x3551f6,_0x186874[_0x2df634(0x186)]=[_0x186874['error']];}}const _0x119eeb=_0x486a09[_0x2df634(0x145)](getTestRunIdentifier,_0x1d8258,_0x186874[_0x2df634(0x129)]);_0x1be2e6[_0x2df634(0x190)]=this['_testHooksMap'][_0x119eeb];const {steps:_0x391779,logs:_0x14917c}=this[_0x2df634(0xd2)](_0x186874[_0x2df634(0xb5)],_0x23ad88[_0x2df634(0xf4)],_0x486a09[_0x2df634(0x165)]);await MyReporter[_0x2df634(0xc9)](_0x14917c);const _0x3a7d21={};_0x3a7d21['steps']=_0x391779,_0x1be2e6[_0x2df634(0x13d)]=_0x3a7d21;if(_0x186874[_0x2df634(0xc7)]){_0x1be2e6[_0x2df634(0xc0)]=_0x486a09[_0x2df634(0xf5)](removeAnsiColors,_0x186874['error']['message']),_0x1be2e6[_0x2df634(0x16a)]=_0x486a09[_0x2df634(0x119)](getFailureType,_0x186874['error'][_0x2df634(0x174)]);const _0x141d5b={};_0x141d5b[_0x2df634(0x18d)]=_0x23ad88[_0x2df634(0xf4)];const {failureData:_0x24de30,logs:_0x3f4ba8}=_0x486a09[_0x2df634(0x145)](getFailureData,_0x186874[_0x2df634(0x186)],_0x141d5b);if(_0x24de30&&_0x486a09[_0x2df634(0xeb)](_0x24de30[_0x2df634(0xe8)],0x0)){const _0x5bd9fc={};_0x5bd9fc[_0x2df634(0x1c1)]=[_0x1be2e6[_0x2df634(0xc0)]],_0x5bd9fc['expanded']=[],_0x24de30['push'](_0x5bd9fc);}_0x1be2e6[_0x2df634(0x15e)]=_0x24de30,_0x3f4ba8&&_0x486a09[_0x2df634(0x15f)](_0x3f4ba8[_0x2df634(0xe8)],0x0)&&await MyReporter[_0x2df634(0xc9)](_0x3f4ba8);}}let _0x2930a4=_0x486a09['JGWkq'](findNestedKey,_0x186874,_0x486a09[_0x2df634(0x177)]);if(_0x2930a4&&_0x486a09[_0x2df634(0x102)](validateFilePath,_0x2930a4))_0x486a09[_0x2df634(0x155)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x23ad88[_0x2df634(0xf4)]+_0x2df634(0xb8)+_0x2930a4);else{const _0x554901=path[_0x2df634(0x13a)](helper[_0x2df634(0x106)](),_0x486a09[_0x2df634(0x19d)]);!fs['existsSync'](_0x554901)&&fs[_0x2df634(0x113)](_0x554901),fs[_0x2df634(0xd4)](path[_0x2df634(0x13a)](_0x554901,_0x2df634(0x12f)+_0x23ad88[_0x2df634(0xf4)]+_0x2df634(0xd9)))&&(_0x2930a4=fs[_0x2df634(0x112)](path['join'](_0x554901,'trace_'+_0x23ad88[_0x2df634(0xf4)]+_0x2df634(0xd9)),_0x486a09[_0x2df634(0x1b0)]),_0x486a09[_0x2df634(0x1b3)](debug,_0x2df634(0x148)+_0x23ad88['uuid']+_0x2df634(0xb8)+_0x2930a4));}const _0xf158dc={};_0xf158dc['event_type']=_0x4b3947,_0xf158dc[_0x2df634(0xc6)]=_0x1be2e6;const _0x514447=_0xf158dc;_0x2930a4&&_0x486a09[_0x2df634(0xbd)](_0x2930a4,'')&&_0x486a09[_0x2df634(0xeb)](_0x4b3947,_0x486a09[_0x2df634(0x130)])&&(!_0x514447[_0x2df634(0xcb)]&&(_0x514447[_0x2df634(0xcb)]=[]),_0x2930a4[_0x2df634(0x13b)]('\x0a')[_0x2df634(0x1b9)](_0xf81022=>{const _0x473295=_0x2df634;_0xf81022&&_0x486a09[_0x473295(0x1ab)](validateFilePath,_0xf81022)&&_0x514447[_0x473295(0xcb)]['push']({'kind':_0x486a09[_0x473295(0x107)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x23ad88[_0x473295(0xf4)],'file_name':path[_0x473295(0x1be)](_0xf81022),'file_size':fs[_0x473295(0x131)](_0xf81022)[_0x473295(0x1b7)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x2df634(0xf7)](_0x514447);}[a45_0x4bf11a(0x142)](_0x2c6184){const _0x5735a3=a45_0x4bf11a,_0x4237a1={};_0x4237a1[_0x5735a3(0xba)]=function(_0x48e81d,_0x407dae){return _0x48e81d===_0x407dae;},_0x4237a1[_0x5735a3(0x19c)]=function(_0xc778f0,_0x2c6ae9){return _0xc778f0>_0x2c6ae9;},_0x4237a1[_0x5735a3(0x127)]=function(_0x3121ce,_0x198c75){return _0x3121ce+_0x198c75;},_0x4237a1['DHoOT']=function(_0x24c550,_0x474b8e){return _0x24c550+_0x474b8e;},_0x4237a1[_0x5735a3(0xff)]=function(_0x2da720,_0x2f7d3c){return _0x2da720===_0x2f7d3c;};const _0x324967=_0x4237a1,_0x27d391=_0x2c6184[_0x5735a3(0x1aa)]()[_0x5735a3(0x1a7)](_0x5b54ca=>{const _0x5aefa6=_0x5735a3;if(_0x2c6184['parent']&&_0x324967[_0x5aefa6(0xba)](_0x5b54ca,_0x2c6184[_0x5aefa6(0x1c3)]['title'])&&_0x2c6184['parent'][_0x5aefa6(0x11f)]&&_0x324967[_0x5aefa6(0x19c)](_0x2c6184[_0x5aefa6(0x1c3)][_0x5aefa6(0x11f)]['length'],0x0))return _0x324967['nnsfT'](_0x324967[_0x5aefa6(0x153)](_0x5b54ca,'\x20'),_0x2c6184[_0x5aefa6(0x1c3)][_0x5aefa6(0x11f)][_0x5aefa6(0x13a)]('\x20'));if(_0x324967['jznjn'](_0x5b54ca,_0x2c6184[_0x5aefa6(0x172)])&&_0x2c6184[_0x5aefa6(0x11f)]&&_0x324967[_0x5aefa6(0x19c)](_0x2c6184['_tags'][_0x5aefa6(0xe8)],0x0))return _0x324967[_0x5aefa6(0x153)](_0x324967[_0x5aefa6(0x153)](_0x5b54ca,'\x20'),_0x2c6184[_0x5aefa6(0x11f)][_0x5aefa6(0x13a)]('\x20'));return _0x5b54ca;})[_0x5735a3(0x13a)]('\x20');return _0x27d391;}static async['sendSessionDetails'](_0x232f89,_0x2471b5){const _0x21e1f0=a45_0x4bf11a,_0xb24973={'FMVgd':function(_0xaf5c26,_0x21f5a6){return _0xaf5c26(_0x21f5a6);},'jzFrd':_0x21e1f0(0xca)},_0x33ebde={'uuid':TestDetails[_0x21e1f0(0x1c4)](_0x232f89),'integrations':_0x2471b5},_0xacc46f={};_0xacc46f['depth']=null,_0xb24973[_0x21e1f0(0x1a5)](debug,_0x21e1f0(0xe9)+_0x232f89+',\x20'+util['inspect'](_0x2471b5,_0xacc46f));const _0x5b5686={};_0x5b5686[_0x21e1f0(0x1af)]=_0xb24973['jzFrd'],_0x5b5686[_0x21e1f0(0xc6)]=_0x33ebde,await SessionHandler[_0x21e1f0(0xf7)](_0x5b5686);}async[a45_0x4bf11a(0xb7)](){const _0x57e5a6=a45_0x4bf11a,_0x575fa6={'NRnLz':function(_0x33278b){return _0x33278b();}};if(this[_0x57e5a6(0x136)])return;const _0x3b00aa=await _0x575fa6['NRnLz'](getGitMetaData);_0x3b00aa&&(this[_0x57e5a6(0x132)]=_0x3b00aa[_0x57e5a6(0x128)]),this['_gitConfigured']=!![];}[a45_0x4bf11a(0x12d)](_0x51b1f2){const _0x1b22ec=a45_0x4bf11a,_0x4e74a1={};_0x4e74a1[_0x1b22ec(0xef)]=function(_0x2a0217,_0x3fe252){return _0x2a0217!==_0x3fe252;};const _0x249f2a=_0x4e74a1,_0x1348ab=[];if(_0x51b1f2&&_0x51b1f2[_0x1b22ec(0x1c3)]){let _0x51be43=_0x51b1f2[_0x1b22ec(0x1c3)];while(_0x51be43&&_0x249f2a[_0x1b22ec(0xef)](_0x51be43[_0x1b22ec(0x172)],'')){_0x1348ab[_0x1b22ec(0x14f)](_0x51be43[_0x1b22ec(0x172)]),_0x51be43=_0x51be43[_0x1b22ec(0x1c3)];}}return _0x1348ab[_0x1b22ec(0xe1)]()['splice'](0x0,0x2),_0x1348ab;}['needToReportStep'](_0x1d9aca){const _0x29605f=a45_0x4bf11a,_0x1610a9={};_0x1610a9[_0x29605f(0xf2)]=function(_0x2a94ac,_0x564e1d){return _0x2a94ac!==_0x564e1d;},_0x1610a9['slNVk']=_0x29605f(0x18a),_0x1610a9['hZDCH']=function(_0x2ada51,_0x50e7da){return _0x2ada51===_0x50e7da;},_0x1610a9[_0x29605f(0x104)]=_0x29605f(0x164),_0x1610a9['HRuAp']=_0x29605f(0x16c),_0x1610a9[_0x29605f(0x114)]=_0x29605f(0x1b5),_0x1610a9['UIMnP']=_0x29605f(0xbf);const _0x22f779=_0x1610a9;if(_0x22f779[_0x29605f(0xf2)](_0x1d9aca[_0x29605f(0x183)],_0x22f779['slNVk']))return![];if(_0x22f779['hZDCH']([_0x22f779[_0x29605f(0x104)],_0x22f779[_0x29605f(0x199)],_0x22f779[_0x29605f(0x114)],_0x22f779[_0x29605f(0x1c0)]][_0x29605f(0x196)](_0x1d9aca['title']),-0x1))return![];return!![];}[a45_0x4bf11a(0x1ad)](_0x46421c,_0x325830){const _0x141e9f=a45_0x4bf11a,_0x1ec043={'HUIss':function(_0x1da133,_0x2987c3){return _0x1da133(_0x2987c3);}},_0x51c0da=_0x325830[_0x141e9f(0x15b)];if(_0x51c0da)return _0x51c0da;return _0x325830['title']+_0x141e9f(0x1b2)+_0x1ec043[_0x141e9f(0xd3)](getTestIdentifier,_0x46421c);}[a45_0x4bf11a(0x12c)](_0x353508,_0x546c03){const _0x3334a2=a45_0x4bf11a,_0x14001={'WWoAI':function(_0x2366c3,_0x104552){return _0x2366c3(_0x104552);},'mJmIG':function(_0x46cefa){return _0x46cefa();}};let _0x5590f8=_0x546c03[_0x3334a2(0x172)]+_0x3334a2(0x1b2)+_0x14001[_0x3334a2(0x1a1)](getTestIdentifier,_0x353508);return this[_0x3334a2(0xf0)][_0x5590f8]&&(_0x5590f8=_0x5590f8+'\x20-\x20'+_0x14001[_0x3334a2(0xd8)](uuidv4)),_0x546c03[_0x3334a2(0x15b)]=_0x5590f8,_0x5590f8;}['getHookType']=_0x4b881e=>{const _0x4106b0=a45_0x4bf11a,_0x14aa59={};_0x14aa59[_0x4106b0(0x1bb)]=_0x4106b0(0x164),_0x14aa59[_0x4106b0(0xde)]=_0x4106b0(0x14a),_0x14aa59['gBERO']=_0x4106b0(0x16c),_0x14aa59[_0x4106b0(0xe4)]=_0x4106b0(0x16b),_0x14aa59[_0x4106b0(0xc4)]=_0x4106b0(0xbf),_0x14aa59[_0x4106b0(0x133)]=_0x4106b0(0x161),_0x14aa59['UbhCh']='afterAll\x20hook',_0x14aa59[_0x4106b0(0x18b)]=_0x4106b0(0x137),_0x14aa59['TATQY']=_0x4106b0(0x1c6);const _0x50408b=_0x14aa59;if(_0x4b881e[_0x4106b0(0x180)](_0x50408b[_0x4106b0(0x1bb)]))return _0x50408b[_0x4106b0(0xde)];else{if(_0x4b881e[_0x4106b0(0x180)](_0x50408b['gBERO']))return _0x50408b[_0x4106b0(0xe4)];else{if(_0x4b881e[_0x4106b0(0x180)](_0x50408b[_0x4106b0(0xc4)]))return _0x50408b[_0x4106b0(0x133)];else{if(_0x4b881e[_0x4106b0(0x180)](_0x50408b[_0x4106b0(0x109)]))return _0x50408b[_0x4106b0(0x18b)];}}}return _0x50408b['TATQY'];};[a45_0x4bf11a(0x17f)]=_0x34b495=>{const _0x489d91=a45_0x4bf11a,_0x8aa332={};_0x8aa332[_0x489d91(0x1a2)]=function(_0x53ca8c,_0x17f3fc){return _0x53ca8c===_0x17f3fc;},_0x8aa332[_0x489d91(0x162)]=_0x489d91(0x1bd);const _0x4c6ea5=_0x8aa332;let _0x444956=_0x34b495[_0x489d91(0x1c3)];return _0x4c6ea5[_0x489d91(0x1a2)](typeof _0x34b495[_0x489d91(0x1c3)],_0x4c6ea5[_0x489d91(0x162)])&&(_0x444956=_0x444956[_0x489d91(0x172)]),_0x444956+_0x489d91(0xe3)+_0x34b495['title'];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,['onBegin','endSession','onTestBegin',a45_0x4bf11a(0x14d),a45_0x4bf11a(0x19e),'onStepEnd',a45_0x4bf11a(0x169)],a45_0x4bf11a(0x150));
|
|
1
|
+
const a45_0x2357a1=a45_0x43ec;(function(_0x39cadd,_0x3504ee){const _0xdf8d1a=a45_0x43ec,_0x3dbd0b=_0x39cadd();while(!![]){try{const _0x22c262=-parseInt(_0xdf8d1a(0x1ed))/0x1*(parseInt(_0xdf8d1a(0x184))/0x2)+parseInt(_0xdf8d1a(0x18a))/0x3+parseInt(_0xdf8d1a(0x1cc))/0x4*(parseInt(_0xdf8d1a(0x287))/0x5)+parseInt(_0xdf8d1a(0x1b4))/0x6+parseInt(_0xdf8d1a(0x1b8))/0x7+parseInt(_0xdf8d1a(0x24f))/0x8*(-parseInt(_0xdf8d1a(0x1d8))/0x9)+-parseInt(_0xdf8d1a(0x284))/0xa;if(_0x22c262===_0x3504ee)break;else _0x3dbd0b['push'](_0x3dbd0b['shift']());}catch(_0x3dc8ff){_0x3dbd0b['push'](_0x3dbd0b['shift']());}}}(a45_0x1b64,0x92ab9));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x2357a1(0x282)),{v4:uuidv4}=require('uuid'),path=require(a45_0x2357a1(0x1b0)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x2357a1(0x244)),{getGitMetaData,setLogLevel}=require(a45_0x2357a1(0x269)),TestDetails=require(a45_0x2357a1(0x1c0)),fs=require('fs'),util=require(a45_0x2357a1(0x1a8)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x2357a1(0x23b)),SessionHandler=require(a45_0x2357a1(0x254)),{appendTesthubParams}=require(a45_0x2357a1(0x1e4)),helper=require(a45_0x2357a1(0x269)),BrowserstackCLI=require(a45_0x2357a1(0x220)),TestFrameworkState=require(a45_0x2357a1(0x182)),HookState=require(a45_0x2357a1(0x17d)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x2357a1(0x1bf));class MyReporter{constructor(_0x59d4e7){const _0x210be7=a45_0x2357a1,_0x528d56={'AxDkZ':_0x210be7(0x1ff),'wkVwl':_0x210be7(0x1fe),'GBQMS':function(_0x11d154,_0x5db4d3,_0x5efcac,_0x51fcb3){return _0x11d154(_0x5db4d3,_0x5efcac,_0x51fcb3);}},_0x70c23c=_0x528d56[_0x210be7(0x1d1)][_0x210be7(0x213)]('|');let _0x40e123=0x0;while(!![]){switch(_0x70c23c[_0x40e123++]){case'0':this['options']=_0x59d4e7;continue;case'1':process[_0x210be7(0x1c4)][_0x210be7(0x1da)]&&(PerformanceTester[_0x210be7(0x248)](_0x528d56[_0x210be7(0x19c)]),process[_0x210be7(0x1c4)]['START_TIME']=new Date()[_0x210be7(0x205)]());continue;case'2':this[_0x210be7(0x28b)]=![];continue;case'3':this[_0x210be7(0x275)]=[];continue;case'4':this[_0x210be7(0x1ad)]={};continue;case'5':this['_gitConfigPath']=null;continue;case'6':const _0x282a47={};_0x282a47[_0x210be7(0x261)]=process[_0x210be7(0x1c4)][_0x210be7(0x22a)],_0x528d56[_0x210be7(0x21e)](setLogLevel,_0x282a47,new Map(),new Map());continue;case'7':this[_0x210be7(0x24e)]={};continue;}break;}}async[a45_0x2357a1(0x206)](){const _0x6c924c=a45_0x2357a1,_0xaab871={};_0xaab871[_0x6c924c(0x222)]='Playwright';const _0x35c6dc=_0xaab871;TestDetails['setup'](),await this[_0x6c924c(0x19d)](),TestInfo[_0x6c924c(0x200)](_0x35c6dc[_0x6c924c(0x222)]);if(BrowserstackCLI[_0x6c924c(0x24d)]()[_0x6c924c(0x187)]()){await BrowserstackCLI[_0x6c924c(0x24d)]()[_0x6c924c(0x212)]()[_0x6c924c(0x18d)](TestFrameworkState[_0x6c924c(0x219)],HookState[_0x6c924c(0x20a)],{});return;}}async[a45_0x2357a1(0x1ec)](_0x25eeb2,_0x5eb861){const _0x52bed5=a45_0x2357a1,_0x3816b4={'XMTkM':function(_0x5523f3,_0x22f366){return _0x5523f3(_0x22f366);},'LKYfZ':function(_0xb89149,_0x1c61cd,_0x445943){return _0xb89149(_0x1c61cd,_0x445943);},'tLMsE':function(_0x1f9dc0,_0x4485b4){return _0x1f9dc0(_0x4485b4);},'jycFE':_0x52bed5(0x235)};if(BrowserstackCLI[_0x52bed5(0x24d)]()[_0x52bed5(0x187)]()){const _0x40b040={};_0x40b040[_0x52bed5(0x238)]=_0x25eeb2,_0x40b040[_0x52bed5(0x191)]=_0x5eb861,await BrowserstackCLI[_0x52bed5(0x24d)]()[_0x52bed5(0x212)]()[_0x52bed5(0x18d)](TestFrameworkState[_0x52bed5(0x1e9)],HookState['PRE'],_0x40b040);return;}const _0x2fcb08=_0x3816b4['XMTkM'](getTestIdentifier,_0x25eeb2),_0x241c81=TestDetails[_0x52bed5(0x197)](_0x3816b4[_0x52bed5(0x1e7)](getTestRunIdentifier,_0x25eeb2,_0x5eb861['retry']));process['env'][_0x52bed5(0x1ae)]=_0x241c81;const _0x45460b={};_0x45460b[_0x52bed5(0x1a0)]=_0x241c81,_0x45460b[_0x52bed5(0x20e)]=_0x5eb861[_0x52bed5(0x21d)],this[_0x52bed5(0x1ad)][_0x2fcb08]=_0x45460b,_0x3816b4[_0x52bed5(0x255)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x2fcb08),await this[_0x52bed5(0x22e)](_0x25eeb2,_0x3816b4[_0x52bed5(0x189)],_0x5eb861);}async['onStepBegin'](_0x39fc51,_0x54fa12,_0x3d803a){const _0x318f84=a45_0x2357a1,_0x59cd3d={'jxpQU':function(_0x215741,_0x4810ff,_0x196591){return _0x215741(_0x4810ff,_0x196591);},'GCudb':function(_0x19bcf5,_0x585c8a){return _0x19bcf5(_0x585c8a);},'KmjWK':_0x318f84(0x1a4)};if(!this[_0x318f84(0x1d5)](_0x3d803a,_0x39fc51))return;if(BrowserstackCLI['getInstance']()[_0x318f84(0x187)]()){const _0x498a23=this['getHookType'](_0x3d803a[_0x318f84(0x288)]),_0xdbc0bf=TestFrameworkState[_0x498a23],_0x1011d3={};_0x1011d3[_0x318f84(0x238)]=_0x39fc51,_0x1011d3[_0x318f84(0x191)]=_0x54fa12,_0x1011d3[_0x318f84(0x25a)]=_0x3d803a,await BrowserstackCLI['getInstance']()[_0x318f84(0x212)]()[_0x318f84(0x18d)](_0xdbc0bf,HookState[_0x318f84(0x20a)],_0x1011d3);return;}const _0xfc4ee8=this['setStepIdentifier'](_0x39fc51,_0x3d803a);this[_0x318f84(0x1ad)][_0xfc4ee8]={'uuid':TestDetails[_0x318f84(0x197)](_0xfc4ee8),'startedAt':_0x3d803a[_0x318f84(0x21d)][_0x318f84(0x205)]()};const _0x39132b=_0x59cd3d['jxpQU'](getTestRunIdentifier,_0x39fc51,_0x54fa12[_0x318f84(0x258)]);!this[_0x318f84(0x24e)][_0x39132b]&&(this['_testHooksMap'][_0x39132b]=[]),this[_0x318f84(0x24e)][_0x39132b][_0x318f84(0x181)](this[_0x318f84(0x1ad)][_0xfc4ee8]['uuid']),_0x59cd3d[_0x318f84(0x286)](trace,_0x318f84(0x24a)+_0xfc4ee8+_0x318f84(0x1b7)+_0x39132b),await this[_0x318f84(0x185)](_0x39fc51,_0x3d803a,_0x59cd3d['KmjWK'],_0x54fa12);}async['onStepEnd'](_0x497de1,_0x1f4fdd,_0x41c901){const _0x2d3a77=a45_0x2357a1,_0x260a2e={'JSOxk':function(_0xac00ef,_0x5c0f92){return _0xac00ef+_0x5c0f92;},'pzmhY':function(_0x2d1a49,_0x171c81){return _0x2d1a49(_0x171c81);},'FPmla':'HookRunFinished'};if(!this[_0x2d3a77(0x1d5)](_0x41c901,_0x497de1))return;if(BrowserstackCLI[_0x2d3a77(0x24d)]()[_0x2d3a77(0x187)]()){const _0x12cb19=this[_0x2d3a77(0x199)](_0x41c901[_0x2d3a77(0x288)]),_0x4cb369=TestFrameworkState[_0x12cb19],_0x33232a={};_0x33232a[_0x2d3a77(0x238)]=_0x497de1,_0x33232a['result']=_0x1f4fdd,_0x33232a[_0x2d3a77(0x25a)]=_0x41c901,await BrowserstackCLI[_0x2d3a77(0x24d)]()['getTestFramework']()[_0x2d3a77(0x18d)](_0x4cb369,HookState['POST'],_0x33232a);return;}const _0x210ee3=this[_0x2d3a77(0x262)](_0x497de1,_0x41c901);this[_0x2d3a77(0x1ad)][_0x210ee3]={...this[_0x2d3a77(0x1ad)][_0x210ee3]||{},'finishedAt':new Date(_0x260a2e[_0x2d3a77(0x1e5)](_0x41c901[_0x2d3a77(0x21d)][_0x2d3a77(0x24b)](),_0x41c901[_0x2d3a77(0x285)]))},_0x260a2e[_0x2d3a77(0x204)](trace,_0x2d3a77(0x1df)+_0x210ee3+_0x2d3a77(0x183)),await this[_0x2d3a77(0x185)](_0x497de1,_0x41c901,_0x260a2e['FPmla'],_0x1f4fdd);}async['onTestEnd'](_0x57c674,_0x234980){const _0x35307d=a45_0x2357a1,_0x2087d8={'ncnQg':function(_0x49475b,_0x33b977){return _0x49475b===_0x33b977;},'KwSkB':_0x35307d(0x21a),'xanEg':_0x35307d(0x27e),'SGzaD':_0x35307d(0x260),'TSznp':function(_0x2e904a,_0xd7d5fb){return _0x2e904a(_0xd7d5fb);},'XwUqb':function(_0x3d2f05,_0xcfc17e,_0x2b2335){return _0x3d2f05(_0xcfc17e,_0x2b2335);},'qluFg':_0x35307d(0x1c7),'XHLIP':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','pmOXp':function(_0x1fb104,_0x134d5d){return _0x1fb104(_0x134d5d);},'xATrO':function(_0x18a507,_0x16f3c8,_0x470f59){return _0x18a507(_0x16f3c8,_0x470f59);},'FKzZS':function(_0x24782a,_0x4a261e){return _0x24782a(_0x4a261e);},'djtwn':_0x35307d(0x1f7),'emPMO':function(_0x2d9af9,_0x5ea3f9){return _0x2d9af9>_0x5ea3f9;}};if(BrowserstackCLI[_0x35307d(0x24d)]()[_0x35307d(0x187)]()){const _0xbedbee={};_0xbedbee[_0x35307d(0x238)]=_0x57c674,_0xbedbee['result']=_0x234980,this[_0x35307d(0x275)][_0x35307d(0x181)](BrowserstackCLI[_0x35307d(0x24d)]()[_0x35307d(0x212)]()[_0x35307d(0x18d)](TestFrameworkState[_0x35307d(0x1e9)],HookState[_0x35307d(0x25e)],_0xbedbee));return;}const _0x54172c=_0x2087d8['TSznp'](getTestIdentifier,_0x57c674),_0x51aeb0=TestDetails[_0x35307d(0x197)](_0x2087d8[_0x35307d(0x202)](getTestRunIdentifier,_0x57c674,_0x234980[_0x35307d(0x258)]));this[_0x35307d(0x1ad)][_0x54172c]={...this['_tests'][_0x54172c]||{},'finishedAt':new Date()[_0x35307d(0x205)]()},_0x2087d8[_0x35307d(0x25b)](debug,_0x35307d(0x1e3)+_0x54172c);try{await this[_0x35307d(0x22e)](_0x57c674,_0x2087d8[_0x35307d(0x201)],_0x234980);}catch(_0x109046){_0x2087d8['TSznp'](debug,util[_0x35307d(0x1e2)](_0x2087d8['XHLIP'],_0x109046[_0x35307d(0x18f)]()));}try{_0x2087d8[_0x35307d(0x228)](debug,_0x35307d(0x1f0)+_0x51aeb0),await _0x2087d8['xATrO'](sendTraceZip,_0x234980,_0x51aeb0);}catch(_0x5d7c1c){_0x2087d8[_0x35307d(0x1c5)](debug,util[_0x35307d(0x1e2)](_0x2087d8['djtwn'],_0x5d7c1c[_0x35307d(0x18f)]()));}const _0x454e17=[];_0x234980[_0x35307d(0x1be)]&&_0x234980[_0x35307d(0x1be)][_0x35307d(0x1db)](_0x5c96d4=>{const _0x3540df=_0x35307d;if(_0x2087d8[_0x3540df(0x229)](_0x5c96d4['name'],_0x2087d8[_0x3540df(0x21c)])){if(!_0x5c96d4[_0x3540df(0x1b0)]||!fs[_0x3540df(0x1e8)](_0x5c96d4[_0x3540df(0x1b0)]))return;_0x454e17['push']({'test_run_uuid':_0x51aeb0,'timestamp':fs[_0x3540df(0x211)](_0x5c96d4[_0x3540df(0x1b0)])[_0x3540df(0x1a3)],'kind':_0x2087d8['xanEg'],'message':fs[_0x3540df(0x1b6)](_0x5c96d4[_0x3540df(0x1b0)],{'encoding':_0x2087d8[_0x3540df(0x19f)]})});}}),_0x2087d8[_0x35307d(0x283)](_0x454e17[_0x35307d(0x28e)],0x0)&&await MyReporter[_0x35307d(0x1a9)](_0x454e17);}async[a45_0x2357a1(0x271)](){const _0xa6b449=a45_0x2357a1;await RequestQueueHandler[_0xa6b449(0x24d)]()[_0xa6b449(0x180)]();}async[a45_0x2357a1(0x26e)](_0x693249){const _0x3bd89b=a45_0x2357a1,_0x4af445={'KsIKv':function(_0xec6dbc){return _0xec6dbc();},'ObTyR':function(_0x10e146,_0x3032d5){return _0x10e146(_0x3032d5);}};await Promise[_0x3bd89b(0x240)](this[_0x3bd89b(0x275)]),await this[_0x3bd89b(0x271)]();try{process[_0x3bd89b(0x1c4)][_0x3bd89b(0x1da)]&&await _0x4af445[_0x3bd89b(0x278)](calculatePerformance);}catch(_0x2b957c){_0x4af445['ObTyR'](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x2b957c[_0x3bd89b(0x18f)]());}}static async[a45_0x2357a1(0x239)](_0x1d9ef8,_0x48d715){const _0x541df8=a45_0x2357a1;_0x48d715[_0x541df8(0x231)]=TestDetails[_0x541df8(0x197)](_0x1d9ef8),await this[_0x541df8(0x1a9)]([_0x48d715]);}static async[a45_0x2357a1(0x1a9)](_0x269fae){const _0x487294=a45_0x2357a1,_0x1e65ab={};_0x1e65ab[_0x487294(0x224)]=_0x487294(0x20c);const _0x1e060f=_0x1e65ab;if(BrowserstackCLI[_0x487294(0x24d)]()[_0x487294(0x187)]())return;const _0xd346aa={};_0xd346aa['event_type']=_0x1e060f[_0x487294(0x224)],_0xd346aa['logs']=_0x269fae,await SessionHandler[_0x487294(0x1a2)](_0xd346aa);}async[a45_0x2357a1(0x185)](_0x56f0d2,_0xb7585c,_0xf37156,_0x1072a6){const _0x1eba77=a45_0x2357a1,_0x1664a2={'sozEs':_0x1eba77(0x225),'gsmVL':_0x1eba77(0x210),'hshgl':_0x1eba77(0x203),'hPngI':function(_0x14d376,_0x1004c4){return _0x14d376>=_0x1004c4;},'WJRzl':function(_0x28fd97,_0xeabb87){return _0x28fd97===_0xeabb87;},'iOUMQ':'HookRunFinished','ebYOe':function(_0x1f56f6,_0x4342bd){return _0x1f56f6>_0x4342bd;},'Fpyax':_0x1eba77(0x233),'IBTJn':function(_0x21e292,_0x24ddf6){return _0x21e292(_0x24ddf6);},'bWMzz':function(_0x4f8824,_0x18b05e,_0x268f95){return _0x4f8824(_0x18b05e,_0x268f95);},'dyFJv':_0x1eba77(0x23e),'dhdZY':_0x1eba77(0x19b)},_0xb26a8b=this[_0x1eba77(0x262)](_0x56f0d2,_0xb7585c),_0x5b1aaa=this[_0x1eba77(0x1ad)][_0xb26a8b],_0x5f4798={'uuid':_0x5b1aaa['uuid'],'type':_0x1664a2[_0x1eba77(0x19e)],'hook_type':this[_0x1eba77(0x199)](_0xb7585c[_0x1eba77(0x288)]),'name':_0xb7585c[_0x1eba77(0x288)],'scope':this[_0x1eba77(0x1f3)](_0xb7585c),'scopes':this[_0x1eba77(0x250)](_0x56f0d2),'body':{'lang':_0x1664a2['gsmVL'],'code':null},'identifier':_0xb26a8b,'file_name':path[_0x1eba77(0x252)](process[_0x1eba77(0x1f4)](),_0x56f0d2[_0x1eba77(0x1c9)][_0x1eba77(0x27a)]),'location':path[_0x1eba77(0x252)](process[_0x1eba77(0x1f4)](),_0x56f0d2[_0x1eba77(0x1c9)]['file']),'result':_0x1664a2[_0x1eba77(0x22c)],'duration_in_ms':_0x1664a2[_0x1eba77(0x226)](_0xb7585c[_0x1eba77(0x285)],0x0)?_0xb7585c['duration']:undefined,'vc_filepath':this[_0x1eba77(0x1c6)]&&_0x56f0d2[_0x1eba77(0x1c9)][_0x1eba77(0x27a)]?path[_0x1eba77(0x252)](this[_0x1eba77(0x1c6)],_0x56f0d2[_0x1eba77(0x1c9)][_0x1eba77(0x27a)]):undefined,'started_at':_0x5b1aaa[_0x1eba77(0x20e)],'finished_at':_0x5b1aaa[_0x1eba77(0x221)],'framework':FRAMEWORKS[_0x1eba77(0x28f)]};if(_0x1664a2[_0x1eba77(0x1f5)](_0xf37156,_0x1664a2['iOUMQ'])){const {steps:_0x46d4cb,logs:_0x46ecb3}=this['getStepsAndLogs'](_0xb7585c[_0x1eba77(0x1dc)],_0x5b1aaa[_0x1eba77(0x1a0)],_0x1664a2[_0x1eba77(0x19e)]);_0x46ecb3&&_0x1664a2['ebYOe'](_0x46ecb3[_0x1eba77(0x28e)],0x0)&&await MyReporter[_0x1eba77(0x1a9)](_0x46ecb3);const _0x30a9b3={};_0x30a9b3[_0x1eba77(0x1dc)]=_0x46d4cb,_0x5f4798['meta']=_0x30a9b3;if(_0xb7585c[_0x1eba77(0x218)]){_0x5f4798[_0x1eba77(0x191)]=_0x1664a2[_0x1eba77(0x246)],_0x5f4798[_0x1eba77(0x28c)]=_0x1664a2[_0x1eba77(0x247)](removeAnsiColors,_0xb7585c['error'][_0x1eba77(0x1e6)]),_0x5f4798[_0x1eba77(0x1eb)]=_0x1664a2[_0x1eba77(0x247)](getFailureType,_0xb7585c[_0x1eba77(0x218)][_0x1eba77(0x1e6)]);const _0x51cb09=_0x1664a2[_0x1eba77(0x276)](failureData,_0xb7585c['error'],_0x1664a2[_0x1eba77(0x263)]);if(_0x51cb09&&_0x1664a2[_0x1eba77(0x1f5)](_0x51cb09[_0x1eba77(0x28e)],0x0)){const _0x19cf6c={};_0x19cf6c[_0x1eba77(0x17f)]=[_0x5f4798[_0x1eba77(0x28c)]],_0x19cf6c[_0x1eba77(0x215)]=[],_0x51cb09[_0x1eba77(0x181)](_0x19cf6c);}_0x5f4798[_0x1eba77(0x18c)]=_0x51cb09;}else _0x5f4798[_0x1eba77(0x191)]=_0x1664a2[_0x1eba77(0x28a)];}const _0x51fb48={};_0x51fb48[_0x1eba77(0x232)]=_0xf37156,_0x51fb48[_0x1eba77(0x1de)]=_0x5f4798;const _0x231c22=_0x51fb48;await SessionHandler[_0x1eba77(0x1a2)](_0x231c22);}[a45_0x2357a1(0x1b1)](_0xfbc611,_0x2f6db2,_0x520e4c){const _0x1dd9f9=a45_0x2357a1,_0x40a1d1={'EguME':function(_0x38c8ee,_0x1b834d){return _0x38c8ee===_0x1b834d;},'wVIAR':_0x1dd9f9(0x225),'kVYDI':_0x1dd9f9(0x21b),'ltHQQ':'Before\x20Hooks','IgBUG':function(_0x4d08c9,_0x3cfcbc){return _0x4d08c9===_0x3cfcbc;},'XRtFk':function(_0x1a99d6,_0x24dbfa){return _0x1a99d6===_0x24dbfa;},'fqihd':'test','AEqAX':_0x1dd9f9(0x231),'TIjqS':_0x1dd9f9(0x1fd),'LJJrz':_0x1dd9f9(0x20b),'qmKLI':_0x1dd9f9(0x233),'aMYzp':_0x1dd9f9(0x19b),'qTKFF':function(_0x59ecfe,_0x44a714){return _0x59ecfe(_0x44a714);},'YbJmv':function(_0x4b0309){return _0x4b0309();},'rFkBr':function(_0x357ae9,_0x5d4cc6){return _0x357ae9(_0x5d4cc6);},'LwkiF':function(_0x38beea,_0x5ea1d8,_0x46ade3){return _0x38beea(_0x5ea1d8,_0x46ade3);}},_0xd75411=[],_0x29fc22=[],_0xfda3a7=_0xfbc611[_0x1dd9f9(0x1ba)](_0x24b9b0=>{const _0xcfd60b=_0x1dd9f9;if(_0x40a1d1[_0xcfd60b(0x236)](_0x24b9b0[_0xcfd60b(0x249)],_0x40a1d1[_0xcfd60b(0x251)])&&(_0x40a1d1['EguME'](_0x24b9b0['title'],_0x40a1d1[_0xcfd60b(0x1c2)])||_0x40a1d1[_0xcfd60b(0x236)](_0x24b9b0[_0xcfd60b(0x288)],_0x40a1d1[_0xcfd60b(0x209)])))return![];return!![];}),_0x43ee4f=(_0x41f1aa,_0x4bb77c=![])=>{const _0x239bd9=_0x1dd9f9;if(_0x40a1d1['IgBUG'](_0x41f1aa['steps'][_0x239bd9(0x28e)],0x0)){const _0x307fb6=_0x40a1d1[_0x239bd9(0x1c1)](_0x520e4c,_0x40a1d1[_0x239bd9(0x23f)])?_0x40a1d1[_0x239bd9(0x290)]:_0x40a1d1['TIjqS'];_0x29fc22[_0x239bd9(0x181)]({'kind':_0x40a1d1[_0x239bd9(0x266)],[_0x307fb6]:_0x2f6db2,'message':_0x41f1aa[_0x239bd9(0x288)],'timestamp':_0x41f1aa[_0x239bd9(0x21d)][_0x239bd9(0x205)](),'level':_0x41f1aa[_0x239bd9(0x218)]?_0x40a1d1[_0x239bd9(0x18b)]:_0x40a1d1[_0x239bd9(0x1f6)],'duration':_0x41f1aa['duration'],'failure':_0x41f1aa[_0x239bd9(0x218)]&&_0x41f1aa['error']['message']&&_0x40a1d1[_0x239bd9(0x186)](removeAnsiColors,_0x41f1aa['error'][_0x239bd9(0x1e6)]),'failure_type':_0x40a1d1[_0x239bd9(0x186)](getFailureType,_0x41f1aa[_0x239bd9(0x218)]&&_0x41f1aa['error'][_0x239bd9(0x1e6)])});}else{!_0x4bb77c&&_0xd75411[_0x239bd9(0x181)]({'id':_0x40a1d1[_0x239bd9(0x1ef)](uuidv4),'text':_0x41f1aa[_0x239bd9(0x288)],'keyword':undefined,'started_at':_0x41f1aa[_0x239bd9(0x21d)][_0x239bd9(0x205)](),'duration':_0x41f1aa[_0x239bd9(0x285)],'result':_0x41f1aa[_0x239bd9(0x218)]?_0x40a1d1[_0x239bd9(0x18b)]:_0x40a1d1['aMYzp'],'failure':_0x41f1aa['error']&&_0x41f1aa[_0x239bd9(0x218)][_0x239bd9(0x1e6)]&&_0x40a1d1[_0x239bd9(0x277)](removeAnsiColors,_0x41f1aa[_0x239bd9(0x218)][_0x239bd9(0x1e6)]),'failure_type':_0x40a1d1[_0x239bd9(0x277)](getFailureType,_0x41f1aa[_0x239bd9(0x218)]&&_0x41f1aa['error'][_0x239bd9(0x1e6)])});for(const _0x241e68 of _0x41f1aa['steps']){_0x40a1d1['LwkiF'](_0x43ee4f,_0x241e68,!![]);}}};for(const _0x9d3737 of _0xfda3a7){_0x40a1d1[_0x1dd9f9(0x190)](_0x43ee4f,_0x9d3737,![]);}const _0xdf044c={};return _0xdf044c['steps']=_0xd75411,_0xdf044c['logs']=_0x29fc22,_0xdf044c;}async[a45_0x2357a1(0x22e)](_0x5e4f4c,_0x3dfbeb,_0xd076b0){const _0x4e6c=a45_0x2357a1,_0x354b36={'zlkQT':function(_0x10f085,_0x171944){return _0x10f085(_0x171944);},'yxYed':_0x4e6c(0x1cf),'SFpid':_0x4e6c(0x238),'VpjSe':'javascript','tINBw':_0x4e6c(0x203),'oNPJa':function(_0x4bcb45,_0x6efdb3,_0x53bb92,_0x271491,_0x379bb4){return _0x4bcb45(_0x6efdb3,_0x53bb92,_0x271491,_0x379bb4);},'hOskS':function(_0x47841e,_0x216472){return _0x47841e>_0x216472;},'vuyMC':function(_0x10e179,_0x2abd6e,_0x30f222){return _0x10e179(_0x2abd6e,_0x30f222);},'KaLqn':function(_0x16b3e0,_0x52792f){return _0x16b3e0-_0x52792f;},'xhLUd':function(_0xfa1161,_0x198466){return _0xfa1161===_0x198466;},'klMSu':_0x4e6c(0x1c7),'GFvfO':function(_0x2df90b,_0x135d23){return _0x2df90b===_0x135d23;},'NtUga':'skipped','BRXYW':_0x4e6c(0x19b),'rILCL':function(_0x44f7f3,_0x512123){return _0x44f7f3===_0x512123;},'jiRnv':_0x4e6c(0x233),'mbHLc':_0x4e6c(0x265),'AdgYV':function(_0x4105b2,_0x1c476e){return _0x4105b2===_0x1c476e;},'zAvWO':function(_0xad0092,_0x5e88e2){return _0xad0092===_0x5e88e2;},'hWOwW':_0x4e6c(0x193),'MPyzD':function(_0x1b1020,_0x4e33d6){return _0x1b1020(_0x4e33d6);},'xmeou':function(_0x2a9f50,_0x1ead2c,_0x105912){return _0x2a9f50(_0x1ead2c,_0x105912);},'Ekxvv':function(_0x2dc95c,_0x907d2e){return _0x2dc95c>_0x907d2e;},'XWMOh':'path','XKLhR':function(_0x28252f,_0x27d894){return _0x28252f(_0x27d894);},'htDwy':'.browserstack','ubrMT':_0x4e6c(0x1bb),'rZcJu':function(_0x5bc4d3,_0x54c330){return _0x5bc4d3(_0x54c330);},'QZelb':function(_0x42222c,_0x2ca98a){return _0x42222c!==_0x2ca98a;}},_0x3b259a=_0x354b36[_0x4e6c(0x1e0)](getTestIdentifier,_0x5e4f4c),_0x4aed72=this[_0x4e6c(0x1f3)](_0x5e4f4c),_0x5f0458=this[_0x4e6c(0x1ad)][_0x3b259a],_0x4bfdd0=path[_0x4e6c(0x252)](process[_0x4e6c(0x1f4)](),_0x5e4f4c[_0x4e6c(0x1c9)][_0x4e6c(0x27a)]);await this[_0x4e6c(0x19d)]();const _0x151a44={'uuid':_0x5f0458['uuid'],'type':_0x354b36['SFpid'],'name':_0x5e4f4c[_0x4e6c(0x288)],'body':{'lang':_0x354b36[_0x4e6c(0x27b)],'code':_0x5e4f4c['fn']['toString']()},'scope':_0x4aed72,'scopes':this[_0x4e6c(0x250)](_0x5e4f4c),'identifier':_0x3b259a,'file_name':_0x4bfdd0,'location':_0x4bfdd0,'result':_0x354b36[_0x4e6c(0x22b)],'duration_in_ms':_0xd076b0&&_0xd076b0[_0x4e6c(0x285)]?_0xd076b0[_0x4e6c(0x285)]:null,'vc_filepath':this['_gitConfigPath']&&_0x5e4f4c[_0x4e6c(0x1c9)][_0x4e6c(0x27a)]?path[_0x4e6c(0x252)](this['_gitConfigPath'],_0x5e4f4c['location'][_0x4e6c(0x27a)]):undefined,'started_at':_0x5f0458[_0x4e6c(0x20e)],'finished_at':_0x5f0458[_0x4e6c(0x221)],'framework':FRAMEWORKS[_0x4e6c(0x28f)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x5e4f4c)},'tags':_0x354b36[_0x4e6c(0x1e0)](getTestTags,_0x5e4f4c)};_0x354b36[_0x4e6c(0x256)](appendTesthubParams,_0x151a44,_0x3dfbeb,_0x5e4f4c,FRAMEWORKS[_0x4e6c(0x28f)]);_0xd076b0&&_0x354b36[_0x4e6c(0x1d0)](_0xd076b0[_0x4e6c(0x258)],0x0)&&(_0x151a44['retry_of']=TestDetails[_0x4e6c(0x197)](_0x354b36[_0x4e6c(0x18e)](getTestRunIdentifier,_0x5e4f4c,_0x354b36[_0x4e6c(0x1cd)](_0xd076b0[_0x4e6c(0x258)],0x1))));if(_0x354b36[_0x4e6c(0x1af)](_0x3dfbeb,_0x354b36['klMSu'])){_0x151a44[_0x4e6c(0x191)]=_0xd076b0['status'];if(_0x354b36[_0x4e6c(0x1d3)](_0xd076b0[_0x4e6c(0x196)],_0x5e4f4c['expectedStatus']))_0x151a44[_0x4e6c(0x191)]=_0x354b36[_0x4e6c(0x1d3)](_0xd076b0['status'],_0x354b36[_0x4e6c(0x19a)])?_0x354b36[_0x4e6c(0x19a)]:_0x354b36[_0x4e6c(0x217)];else{(_0x354b36[_0x4e6c(0x267)](_0x151a44['result'],_0x354b36[_0x4e6c(0x217)])||_0x354b36[_0x4e6c(0x267)](_0x151a44[_0x4e6c(0x191)],_0x354b36['jiRnv'])||_0x354b36[_0x4e6c(0x1af)](_0x151a44[_0x4e6c(0x191)],_0x354b36[_0x4e6c(0x242)]))&&(_0x151a44[_0x4e6c(0x191)]=_0x354b36['jiRnv']);if(_0x354b36[_0x4e6c(0x24c)](_0xd076b0['status'],_0x354b36['BRXYW'])&&_0x354b36[_0x4e6c(0x1e1)](_0x5e4f4c['expectedStatus'],_0x354b36[_0x4e6c(0x23c)])){const _0x34845a={};_0x34845a[_0x4e6c(0x1e6)]=_0x354b36[_0x4e6c(0x27d)],_0x34845a['stack']=_0x354b36['hWOwW'],_0xd076b0[_0x4e6c(0x218)]=_0x34845a,_0xd076b0[_0x4e6c(0x274)]=[_0xd076b0[_0x4e6c(0x218)]];}}const _0x8aa0aa=_0x354b36[_0x4e6c(0x18e)](getTestRunIdentifier,_0x5e4f4c,_0xd076b0[_0x4e6c(0x258)]);_0x151a44[_0x4e6c(0x188)]=this[_0x4e6c(0x24e)][_0x8aa0aa];const {steps:_0x31b1fe,logs:_0x1a7b0c}=this['getStepsAndLogs'](_0xd076b0[_0x4e6c(0x1dc)],_0x5f0458[_0x4e6c(0x1a0)],_0x354b36[_0x4e6c(0x268)]);await MyReporter['reportLogs'](_0x1a7b0c);const _0x546e4e={};_0x546e4e[_0x4e6c(0x1dc)]=_0x31b1fe,_0x151a44[_0x4e6c(0x1ca)]=_0x546e4e;if(_0xd076b0[_0x4e6c(0x218)]){_0x151a44[_0x4e6c(0x28c)]=_0x354b36[_0x4e6c(0x1e0)](removeAnsiColors,_0xd076b0[_0x4e6c(0x218)][_0x4e6c(0x1e6)]),_0x151a44['failure_type']=_0x354b36[_0x4e6c(0x20f)](getFailureType,_0xd076b0[_0x4e6c(0x218)][_0x4e6c(0x1e6)]);const _0x4acba4={};_0x4acba4[_0x4e6c(0x231)]=_0x5f0458[_0x4e6c(0x1a0)];const {failureData:_0x550895,logs:_0x3ae389}=_0x354b36[_0x4e6c(0x208)](getFailureData,_0xd076b0['errors'],_0x4acba4);if(_0x550895&&_0x354b36[_0x4e6c(0x1d3)](_0x550895[_0x4e6c(0x28e)],0x0)){const _0x645d33={};_0x645d33['backtrace']=[_0x151a44['failure_reason']],_0x645d33[_0x4e6c(0x215)]=[],_0x550895[_0x4e6c(0x181)](_0x645d33);}_0x151a44['failure']=_0x550895,_0x3ae389&&_0x354b36[_0x4e6c(0x259)](_0x3ae389[_0x4e6c(0x28e)],0x0)&&await MyReporter[_0x4e6c(0x1a9)](_0x3ae389);}}let _0x3352e2=_0x354b36['xmeou'](findNestedKey,_0xd076b0,_0x354b36[_0x4e6c(0x1bc)]);if(_0x3352e2&&_0x354b36[_0x4e6c(0x1fb)](validateFilePath,_0x3352e2))_0x354b36[_0x4e6c(0x20f)](debug,_0x4e6c(0x245)+_0x5f0458['uuid']+_0x4e6c(0x1ab)+_0x3352e2);else{const _0x3797b6=path[_0x4e6c(0x1c3)](helper[_0x4e6c(0x1a5)](),_0x354b36['htDwy']);!fs[_0x4e6c(0x1e8)](_0x3797b6)&&fs[_0x4e6c(0x1ee)](_0x3797b6),fs[_0x4e6c(0x1e8)](path[_0x4e6c(0x1c3)](_0x3797b6,_0x4e6c(0x216)+_0x5f0458[_0x4e6c(0x1a0)]+'.txt'))&&(_0x3352e2=fs[_0x4e6c(0x1b6)](path[_0x4e6c(0x1c3)](_0x3797b6,'trace_'+_0x5f0458[_0x4e6c(0x1a0)]+_0x4e6c(0x1ac)),_0x354b36[_0x4e6c(0x264)]),_0x354b36[_0x4e6c(0x26d)](debug,_0x4e6c(0x245)+_0x5f0458[_0x4e6c(0x1a0)]+'\x20at\x20'+_0x3352e2));}const _0x3befc5={};_0x3befc5[_0x4e6c(0x232)]=_0x3dfbeb,_0x3befc5[_0x4e6c(0x273)]=_0x151a44;const _0xc49ba2=_0x3befc5;_0x3352e2&&_0x354b36[_0x4e6c(0x1f9)](_0x3352e2,'')&&_0x354b36['xhLUd'](_0x3dfbeb,_0x354b36[_0x4e6c(0x194)])&&(!_0xc49ba2[_0x4e6c(0x1dd)]&&(_0xc49ba2[_0x4e6c(0x1dd)]=[]),_0x3352e2[_0x4e6c(0x213)]('\x0a')[_0x4e6c(0x223)](_0x1ac1c4=>{const _0x4dd62c=_0x4e6c;_0x1ac1c4&&_0x354b36[_0x4dd62c(0x1e0)](validateFilePath,_0x1ac1c4)&&_0xc49ba2[_0x4dd62c(0x1dd)][_0x4dd62c(0x181)]({'kind':_0x354b36[_0x4dd62c(0x1b3)],'timestamp':new Date()[_0x4dd62c(0x205)](),'test_run_uuid':_0x5f0458[_0x4dd62c(0x1a0)],'file_name':path['basename'](_0x1ac1c4),'file_size':fs[_0x4dd62c(0x211)](_0x1ac1c4)[_0x4dd62c(0x1f1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x4e6c(0x1a2)](_0xc49ba2);}[a45_0x2357a1(0x1b5)](_0x509bf8){const _0x29ec7c=a45_0x2357a1,_0x4152ad={};_0x4152ad['cWQys']=function(_0x3135af,_0x13a39a){return _0x3135af===_0x13a39a;},_0x4152ad[_0x29ec7c(0x23d)]=function(_0x1f3b10,_0x437cdb){return _0x1f3b10>_0x437cdb;},_0x4152ad[_0x29ec7c(0x28d)]=function(_0x20d3d5,_0x219ecd){return _0x20d3d5+_0x219ecd;},_0x4152ad[_0x29ec7c(0x270)]=function(_0x548a11,_0x2a37a1){return _0x548a11===_0x2a37a1;},_0x4152ad[_0x29ec7c(0x1fa)]=function(_0x354942,_0x12a9ea){return _0x354942>_0x12a9ea;},_0x4152ad['CknZX']=function(_0x218c87,_0x54c016){return _0x218c87+_0x54c016;};const _0x4ad56d=_0x4152ad,_0x3b8f4e=_0x509bf8['titlePath']()[_0x29ec7c(0x1db)](_0x59ed6d=>{const _0x5c6226=_0x29ec7c;if(_0x509bf8[_0x5c6226(0x1a6)]&&_0x4ad56d[_0x5c6226(0x1c8)](_0x59ed6d,_0x509bf8[_0x5c6226(0x1a6)][_0x5c6226(0x288)])&&_0x509bf8[_0x5c6226(0x1a6)][_0x5c6226(0x289)]&&_0x4ad56d['mQgHn'](_0x509bf8[_0x5c6226(0x1a6)][_0x5c6226(0x289)][_0x5c6226(0x28e)],0x0))return _0x4ad56d['Verbm'](_0x4ad56d[_0x5c6226(0x28d)](_0x59ed6d,'\x20'),_0x509bf8[_0x5c6226(0x1a6)][_0x5c6226(0x289)][_0x5c6226(0x1c3)]('\x20'));if(_0x4ad56d[_0x5c6226(0x270)](_0x59ed6d,_0x509bf8[_0x5c6226(0x288)])&&_0x509bf8[_0x5c6226(0x289)]&&_0x4ad56d[_0x5c6226(0x1fa)](_0x509bf8[_0x5c6226(0x289)][_0x5c6226(0x28e)],0x0))return _0x4ad56d[_0x5c6226(0x280)](_0x4ad56d['Verbm'](_0x59ed6d,'\x20'),_0x509bf8[_0x5c6226(0x289)][_0x5c6226(0x1c3)]('\x20'));return _0x59ed6d;})[_0x29ec7c(0x1c3)]('\x20');return _0x3b8f4e;}static async[a45_0x2357a1(0x1f2)](_0x3226d0,_0x2c1493){const _0x1b7bf4=a45_0x2357a1,_0x27fb1f={'PlqnH':function(_0x15d91e,_0x5e821a){return _0x15d91e(_0x5e821a);},'xNmRk':'CBTSessionCreated'},_0x2ffcad={'uuid':TestDetails['getTestUUID'](_0x3226d0),'integrations':_0x2c1493},_0x255519={};_0x255519[_0x1b7bf4(0x25c)]=null,_0x27fb1f['PlqnH'](debug,_0x1b7bf4(0x195)+_0x3226d0+',\x20'+util[_0x1b7bf4(0x27c)](_0x2c1493,_0x255519));const _0x407eb9={};_0x407eb9[_0x1b7bf4(0x232)]=_0x27fb1f[_0x1b7bf4(0x1a1)],_0x407eb9['test_run']=_0x2ffcad,await SessionHandler['uploadEventData'](_0x407eb9);}async[a45_0x2357a1(0x19d)](){const _0x9ec0e=a45_0x2357a1,_0x5e707a={'QghzU':function(_0xc4387e){return _0xc4387e();}};if(this['_gitConfigured'])return;const _0x1e8db7=await _0x5e707a[_0x9ec0e(0x198)](getGitMetaData);_0x1e8db7&&(this[_0x9ec0e(0x1c6)]=_0x1e8db7[_0x9ec0e(0x257)]),this['_gitConfigured']=!![];}[a45_0x2357a1(0x250)](_0x4c7da0){const _0x16aacd=a45_0x2357a1,_0x170709={};_0x170709[_0x16aacd(0x1ce)]=function(_0x2c59fe,_0xdd87eb){return _0x2c59fe!==_0xdd87eb;};const _0x2af1fe=_0x170709,_0x3c4ff6=[];if(_0x4c7da0&&_0x4c7da0[_0x16aacd(0x1a6)]){let _0x2aecba=_0x4c7da0[_0x16aacd(0x1a6)];while(_0x2aecba&&_0x2af1fe[_0x16aacd(0x1ce)](_0x2aecba[_0x16aacd(0x288)],'')){_0x3c4ff6[_0x16aacd(0x181)](_0x2aecba[_0x16aacd(0x288)]),_0x2aecba=_0x2aecba[_0x16aacd(0x1a6)];}}return _0x3c4ff6[_0x16aacd(0x253)]()[_0x16aacd(0x1d2)](0x0,0x2),_0x3c4ff6;}[a45_0x2357a1(0x1d5)](_0x2a9268){const _0x2d532d=a45_0x2357a1,_0x1388aa={};_0x1388aa['CEnnN']=function(_0x5e7ad8,_0x25db7f){return _0x5e7ad8!==_0x25db7f;},_0x1388aa[_0x2d532d(0x23a)]='hook',_0x1388aa[_0x2d532d(0x26f)]=function(_0x280449,_0x286650){return _0x280449===_0x286650;},_0x1388aa[_0x2d532d(0x1aa)]=_0x2d532d(0x1d6),_0x1388aa[_0x2d532d(0x227)]=_0x2d532d(0x26a),_0x1388aa[_0x2d532d(0x20d)]=_0x2d532d(0x26c),_0x1388aa['wbRdq']='afterEach\x20hook';const _0x32a32b=_0x1388aa;if(_0x32a32b[_0x2d532d(0x192)](_0x2a9268[_0x2d532d(0x249)],_0x32a32b[_0x2d532d(0x23a)]))return![];if(_0x32a32b['JbJRC']([_0x32a32b['tYtoR'],_0x32a32b[_0x2d532d(0x227)],_0x32a32b['KJLCU'],_0x32a32b[_0x2d532d(0x237)]]['indexOf'](_0x2a9268['title']),-0x1))return![];return!![];}[a45_0x2357a1(0x262)](_0x1494c7,_0x47b2cc){const _0x5d5150=a45_0x2357a1,_0x18a5de={'xeein':function(_0x5bf91a,_0x2222c3){return _0x5bf91a(_0x2222c3);}},_0x4b7620=_0x47b2cc[_0x5d5150(0x1d9)];if(_0x4b7620)return _0x4b7620;return _0x47b2cc[_0x5d5150(0x288)]+_0x5d5150(0x281)+_0x18a5de[_0x5d5150(0x25d)](getTestIdentifier,_0x1494c7);}['setStepIdentifier'](_0x723d7e,_0x13ccbd){const _0x3f6406=a45_0x2357a1,_0x19a833={'vVnbc':function(_0xe990b1,_0x3afac6){return _0xe990b1(_0x3afac6);},'JydeM':function(_0x2dd99c){return _0x2dd99c();}};let _0x3fc0e7=_0x13ccbd['title']+_0x3f6406(0x281)+_0x19a833[_0x3f6406(0x1d7)](getTestIdentifier,_0x723d7e);return this[_0x3f6406(0x1ad)][_0x3fc0e7]&&(_0x3fc0e7=_0x3fc0e7+_0x3f6406(0x1ea)+_0x19a833[_0x3f6406(0x1b2)](uuidv4)),_0x13ccbd[_0x3f6406(0x1d9)]=_0x3fc0e7,_0x3fc0e7;}['getHookType']=_0x1d6012=>{const _0x462d61=a45_0x2357a1,_0x4cb1c9={};_0x4cb1c9[_0x462d61(0x1a7)]='beforeEach\x20hook',_0x4cb1c9['yfJpt']=_0x462d61(0x1f8),_0x4cb1c9[_0x462d61(0x279)]='beforeAll\x20hook',_0x4cb1c9['sdIHp']=_0x462d61(0x17e),_0x4cb1c9['JlVVY']=_0x462d61(0x241),_0x4cb1c9['yBKan']='AFTER_EACH',_0x4cb1c9['sBFcO']=_0x462d61(0x26c),_0x4cb1c9[_0x462d61(0x207)]=_0x462d61(0x21f),_0x4cb1c9[_0x462d61(0x26b)]=_0x462d61(0x1fc);const _0x5a1f43=_0x4cb1c9;if(_0x1d6012[_0x462d61(0x22f)](_0x5a1f43['GPEOY']))return _0x5a1f43['yfJpt'];else{if(_0x1d6012['startsWith'](_0x5a1f43[_0x462d61(0x279)]))return _0x5a1f43[_0x462d61(0x214)];else{if(_0x1d6012[_0x462d61(0x22f)](_0x5a1f43[_0x462d61(0x1bd)]))return _0x5a1f43[_0x462d61(0x1cb)];else{if(_0x1d6012[_0x462d61(0x22f)](_0x5a1f43[_0x462d61(0x1b9)]))return _0x5a1f43[_0x462d61(0x207)];}}}return _0x5a1f43['cggzL'];};[a45_0x2357a1(0x1f3)]=_0x1d164c=>{const _0x4705c1=a45_0x2357a1,_0x275e8e={};_0x275e8e['ngysJ']=function(_0x113f43,_0x38f483){return _0x113f43===_0x38f483;},_0x275e8e['OsAKk']=_0x4705c1(0x27f);const _0x5b88dd=_0x275e8e;let _0xee2b61=_0x1d164c[_0x4705c1(0x1a6)];return _0x5b88dd[_0x4705c1(0x25f)](typeof _0x1d164c[_0x4705c1(0x1a6)],_0x5b88dd[_0x4705c1(0x1d4)])&&(_0xee2b61=_0xee2b61['title']),_0xee2b61+_0x4705c1(0x1ea)+_0x1d164c[_0x4705c1(0x288)];};[a45_0x2357a1(0x243)](){return![];}}function a45_0x43ec(_0x17aeff,_0x2f6c2f){const _0x1b6475=a45_0x1b64();return a45_0x43ec=function(_0x43ecd7,_0x27d422){_0x43ecd7=_0x43ecd7-0x17d;let _0x3a583b=_0x1b6475[_0x43ecd7];return _0x3a583b;},a45_0x43ec(_0x17aeff,_0x2f6c2f);}function a45_0x1b64(){const _0x10ddae=['onBegin','eyRNs','xmeou','ltHQQ','PRE','TEST_STEP','LogCreated','KJLCU','startedAt','MPyzD','javascript','statSync','getTestFramework','split','sdIHp','expanded','trace_','BRXYW','error','INIT_TEST','screenshot','After\x20Hooks','KwSkB','startTime','GBQMS','AFTER_ALL','../../v2/browserstackCLI','finishedAt','BUQgb','forEach','wwcWM','hook','hPngI','DbGPa','pmOXp','ncnQg','BROWSERSTACK_LOG_LEVEL','tINBw','hshgl','onStepBegin','sendTestRunEvent','startsWith','MyReporter','test_run_uuid','event_type','failed','onStepEnd','TestRunStarted','EguME','wbRdq','test','addTestUIDAndReportLog','MlNtY','../../../helpers/test-observability/constants','jiRnv','mQgHn','err','fqihd','all','afterEach\x20hook','mbHLc','printsToStdio','../../../helpers/test-observability/utils','Trace\x20file\x20found\x20for\x20test:\x20','Fpyax','IBTJn','startMonitoring','category','Hook\x20Started\x20with\x20unique\x20id\x20','getTime','AdgYV','getInstance','_testHooksMap','1273288bPwzXz','getHierarchy','wVIAR','relative','reverse','../../../helpers/test-observability/sessionHandler','tLMsE','oNPJa','root','retry','Ekxvv','step','TSznp','depth','xeein','POST','ngysJ','base64','logLevel','getStepIdentifier','dyFJv','ubrMT','timedOut','LJJrz','rILCL','SFpid','../../../helpers/helper','beforeAll\x20hook','cggzL','afterAll\x20hook','rZcJu','onEnd','JbJRC','fWRbu','endSession','exports','test_run','errors','_trackedEvents','bWMzz','rFkBr','KsIKv','eFPcG','file','VpjSe','inspect','hWOwW','TEST_SCREENSHOT','object','CknZX','\x20for\x20','./pwUtils','emPMO','8285500cEvgjX','duration','GCudb','920ficHdR','title','_tags','dhdZY','_gitConfigured','failure_reason','Verbm','length','PLAYWRIGHT','AEqAX','../../v2/state/hookState','BEFORE_ALL','backtrace','shutdown','push','../../v2/state/testFrameworkState','\x20is\x20triggered','2jcNCPi','sendHookRunEvent','qTKFF','isRunning','hooks','jycFE','2227398XkbGKZ','qmKLI','failure','trackEvent','vuyMC','toString','LwkiF','result','CEnnN','Expected\x20to\x20fail,\x20but\x20passed.','klMSu','Sending\x20session\x20details\x20for\x20','status','getTestUUID','QghzU','getHookType','NtUga','passed','wkVwl','configureGit','sozEs','SGzaD','uuid','xNmRk','uploadEventData','mtime','HookRunStarted','homedir','parent','GPEOY','util','reportLogs','tYtoR','\x20at\x20','.txt','_tests','BROWSERSTACK_TEST_RUN_ID','xhLUd','path','getStepsAndLogs','JydeM','yxYed','5933772wRbqtq','getCustomRerunParam','readFileSync','\x20is\x20triggered\x20for\x20test\x20','1225651DKONDf','sBFcO','filter','utf8','XWMOh','JlVVY','attachments','../../../../src/bin/utils/constants','./test-details','XRtFk','kVYDI','join','env','FKzZS','_gitConfigPath','TestRunFinished','cWQys','location','meta','yBKan','3592fKscSl','KaLqn','XbqKF','TEST_ATTACHMENT','hOskS','AxDkZ','splice','GFvfO','OsAKk','needToReportStep','beforeEach\x20hook','vVnbc','9FNJeNl','_bs_hookIdentifier','BROWSERSTACK_O11Y_PERF_MEASUREMENT','map','steps','logs','hook_run','Hook\x20Finished\x20with\x20unique\x20id\x20','zlkQT','zAvWO','format','Test\x20Finished\x20with\x20unique\x20id\x20','../../../helpers/testhub/utils','JSOxk','message','LKYfZ','existsSync','TEST','\x20-\x20','failure_type','onTestBegin','483281FPAMSL','mkdirSync','YbJmv','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','size','sendSessionDetails','getScope','cwd','WJRzl','aMYzp','Error\x20in\x20sending\x20trace\x20zip:\x20%s','BEFORE_EACH','QZelb','qdxKd','XKLhR','unknown','hook_run_uuid','performance-report-reporter.json','6|1|4|7|0|2|5|3','setup','qluFg','XwUqb','pending','pzmhY','toISOString'];a45_0x1b64=function(){return _0x10ddae;};return a45_0x1b64();}module[a45_0x2357a1(0x272)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession',a45_0x2357a1(0x1ec),'onTestEnd',a45_0x2357a1(0x22d),a45_0x2357a1(0x234),a45_0x2357a1(0x1f2)],a45_0x2357a1(0x230));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a46_0x9118(){const _0x3e79f1=['string','.json','tests','error','NPzAh','Qnpxg','21CmMxhi','_platformDetails.json','getTraceFilePaths','getTestRunIdFromTestInfo','262648VVaGvJ','Aiftp','BS_TESTOPS_BUILD_HASHED_ID','getStoreDirPath','5159JfLrtZ','_projectId','getDirPath','winstonLogger','filePath','_test','getFilePath','Error\x20handling\x20trace\x20file\x20paths:\x20','5BdgeUb','mkdirSync','CoYvR','getTestDetails','sDMdk','JJhZU','endsWith','eXFei','push','DpePc','225776fflVCJ','readFileSync','toString','../../../helpers/test-observability/constants','getTestUUID','getTestIdFromTestInfo','uuid','Zkorn','utf8','writeFileSync','../../../helpers/helper','NOuaN','getTraceZipDir','traceZipPaths','exports','getProjectIdFromTestInfo','GQjIh','../../../helpers/logger','message','YQHRB','existsSync','UjBTZ','some','getStoreDirName','ADreg','zjWyg','IdcgL','SugXN','env','14OWxlBK','parse','trace_','recursive','shutdown','values','project','GdTyE','retry','util','3011394jfGhpK','rnsTz','_traceZipPaths.json','1107801MUNDTc','Error\x20reading\x20trace\x20file\x20paths:\x20%s','forEach','testId','54250IsPOIs','homedir','rmSync','7710SAvDIG','cclRy','default','KVUKp','xhnjy','join','appendFileSync','pid','210154RjdIAv','stringify'];a46_0x9118=function(){return _0x3e79f1;};return a46_0x9118();}const a46_0x4dffa5=a46_0x41ed;(function(_0x202ed5,_0x3e36a9){const _0xc33e7=a46_0x41ed,_0x15fb51=_0x202ed5();while(!![]){try{const _0x33ce88=-parseInt(_0xc33e7(0x1ab))/0x1+parseInt(_0xc33e7(0x1b6))/0x2+-parseInt(_0xc33e7(0x1be))/0x3*(parseInt(_0xc33e7(0x1d8))/0x4)+parseInt(_0xc33e7(0x1ce))/0x5*(parseInt(_0xc33e7(0x1a4))/0x6)+-parseInt(_0xc33e7(0x19a))/0x7*(parseInt(_0xc33e7(0x1c2))/0x8)+-parseInt(_0xc33e7(0x1a7))/0x9+-parseInt(_0xc33e7(0x1ae))/0xa*(-parseInt(_0xc33e7(0x1c6))/0xb);if(_0x33ce88===_0x3e36a9)break;else _0x15fb51['push'](_0x15fb51['shift']());}catch(_0x441e33){_0x15fb51['push'](_0x15fb51['shift']());}}}(a46_0x9118,0x50ae2));function a46_0x41ed(_0x59d910,_0x41a6e7){const _0x91181d=a46_0x9118();return a46_0x41ed=function(_0x41edac,_0x513952){_0x41edac=_0x41edac-0x189;let _0x40057c=_0x91181d[_0x41edac];return _0x40057c;},a46_0x41ed(_0x59d910,_0x41a6e7);}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a46_0x4dffa5(0x1de)),{TEMP_STORE_DIR_NAME}=require(a46_0x4dffa5(0x1db)),{nestedKeyValue}=require(a46_0x4dffa5(0x1e2)),logger=require(a46_0x4dffa5(0x18e))[a46_0x4dffa5(0x1c9)],{getLogDir}=require(a46_0x4dffa5(0x18e)),util=require(a46_0x4dffa5(0x1a3)),helper=require(a46_0x4dffa5(0x1e2));class TestDetails{static [a46_0x4dffa5(0x1ba)]={};static['setup'](){const _0x39a6e2=a46_0x4dffa5;this[_0x39a6e2(0x19e)]();const _0x5dd4f1={};_0x5dd4f1[_0x39a6e2(0x19d)]=!![],fs[_0x39a6e2(0x1cf)](this['getDirPath'](),_0x5dd4f1);const _0x152d7d={};_0x152d7d[_0x39a6e2(0x19d)]=!![],fs[_0x39a6e2(0x1cf)](this[_0x39a6e2(0x189)](),_0x152d7d);}static[a46_0x4dffa5(0x194)](){const _0xce4d82=a46_0x4dffa5,_0x55732a={};_0x55732a['RaalE']=function(_0x19a4d4,_0x580d83){return _0x19a4d4+_0x580d83;},_0x55732a[_0xce4d82(0x1a1)]=function(_0x52f6f2,_0x29c6b3){return _0x52f6f2+_0x29c6b3;};const _0x587aa4=_0x55732a;return _0x587aa4['RaalE'](_0x587aa4[_0xce4d82(0x1a1)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0xce4d82(0x1c4)]);}static[a46_0x4dffa5(0x1c5)](){const _0x5251d3=a46_0x4dffa5,_0x1a3d5e={};_0x1a3d5e[_0x5251d3(0x1df)]=function(_0x10411f,_0xc71172){return _0x10411f+_0xc71172;},_0x1a3d5e[_0x5251d3(0x1d3)]=_0x5251d3(0x1b0);const _0x51a5cf=_0x1a3d5e;return path[_0x5251d3(0x1b3)](_0x51a5cf['Zkorn'](_0x51a5cf[_0x5251d3(0x1df)](TEMP_STORE_DIR_NAME,'-'),process[_0x5251d3(0x199)][_0x5251d3(0x1c4)]||_0x51a5cf[_0x5251d3(0x1d3)]));}static[a46_0x4dffa5(0x189)](){const _0x123c6d=a46_0x4dffa5,_0x103072={};_0x103072[_0x123c6d(0x1d0)]=_0x123c6d(0x18a);const _0x1c49a3=_0x103072;return path[_0x123c6d(0x1b3)](this['getStoreDirPath'](),_0x1c49a3[_0x123c6d(0x1d0)]);}static['getDirPath'](){const _0x5f4d32=a46_0x4dffa5;return TestDetails[_0x5f4d32(0x194)]();}static[a46_0x4dffa5(0x1cc)](_0x21cde1){const _0x4c34f5=a46_0x4dffa5,_0x30e3eb={};_0x30e3eb[_0x4c34f5(0x1af)]=function(_0x2f0cde,_0x11639c){return _0x2f0cde+_0x11639c;},_0x30e3eb['UjBTZ']=_0x4c34f5(0x1b9);const _0x11540f=_0x30e3eb;return path[_0x4c34f5(0x1b3)](this[_0x4c34f5(0x1c8)](),_0x11540f[_0x4c34f5(0x1af)](_0x21cde1,_0x11540f[_0x4c34f5(0x192)]));}static[a46_0x4dffa5(0x1c1)](_0x40fc7b){const _0x5ad07e=a46_0x4dffa5,_0x38ae92={};_0x38ae92[_0x5ad07e(0x190)]=function(_0x2b99bf,_0x3e9d6a){return _0x2b99bf+_0x3e9d6a;};const _0x4e02bd=_0x38ae92;return _0x4e02bd[_0x5ad07e(0x190)](_0x4e02bd[_0x5ad07e(0x190)](_0x4e02bd['YQHRB'](_0x4e02bd[_0x5ad07e(0x190)](this[_0x5ad07e(0x18c)](_0x40fc7b),'-'),this[_0x5ad07e(0x1dd)](_0x40fc7b)),'-'),_0x40fc7b[_0x5ad07e(0x1a2)]);}static[a46_0x4dffa5(0x18c)](_0x5f087a){const _0x5383bc=a46_0x4dffa5,_0x2357f4={'Qnpxg':function(_0x21ec8a,_0x5ee2ba,_0x25f329){return _0x21ec8a(_0x5ee2ba,_0x25f329);},'rnsTz':_0x5383bc(0x1cb),'sDMdk':_0x5383bc(0x1c7),'NOuaN':function(_0x4a0dba,_0x5a9665,_0x112aff){return _0x4a0dba(_0x5a9665,_0x112aff);},'DpePc':_0x5383bc(0x1a0),'IdcgL':'__projectId'};return _0x2357f4[_0x5383bc(0x1bd)](nestedKeyValue,_0x5f087a,[_0x2357f4[_0x5383bc(0x1a5)],_0x2357f4[_0x5383bc(0x1d2)]])||_0x2357f4[_0x5383bc(0x1e3)](nestedKeyValue,_0x5f087a,[_0x2357f4[_0x5383bc(0x1d7)],_0x2357f4[_0x5383bc(0x197)]]);}static['getTestIdFromTestInfo'](_0x47857a){const _0x1c3ed0=a46_0x4dffa5,_0x59a52c={'zjWyg':function(_0x496f2a,_0x1ef28d,_0x25783d){return _0x496f2a(_0x1ef28d,_0x25783d);},'xhnjy':'_test'};return _0x59a52c[_0x1c3ed0(0x196)](nestedKeyValue,_0x47857a,[_0x59a52c[_0x1c3ed0(0x1b2)],'id'])||_0x47857a[_0x1c3ed0(0x1aa)];}static[a46_0x4dffa5(0x1dc)](_0x22b9d8){const _0x2cf52d=a46_0x4dffa5,_0x18af59={'GQjIh':function(_0x1e835e,_0x1ce8c8){return _0x1e835e===_0x1ce8c8;},'KVUKp':_0x2cf52d(0x1b8),'SugXN':function(_0x313d79){return _0x313d79();}};if(this[_0x2cf52d(0x1ba)][_0x22b9d8]&&_0x18af59[_0x2cf52d(0x18d)](typeof this[_0x2cf52d(0x1ba)][_0x22b9d8][_0x2cf52d(0x1de)],_0x18af59[_0x2cf52d(0x1b1)]))return this['tests'][_0x22b9d8][_0x2cf52d(0x1de)];const _0x128c79=this[_0x2cf52d(0x1cc)](_0x22b9d8);if(_0x128c79&&fs[_0x2cf52d(0x191)](_0x128c79)){const _0x1609ac=JSON[_0x2cf52d(0x19b)](fs['readFileSync'](_0x128c79)['toString']());return this[_0x2cf52d(0x1ba)][_0x22b9d8]=_0x1609ac,this[_0x2cf52d(0x1ba)][_0x22b9d8][_0x2cf52d(0x1de)];}return this[_0x2cf52d(0x1ba)][_0x22b9d8]={'uuid':_0x18af59[_0x2cf52d(0x198)](uuidv4)},fs[_0x2cf52d(0x1e1)](_0x128c79,JSON['stringify'](this[_0x2cf52d(0x1ba)][_0x22b9d8])),this['tests'][_0x22b9d8][_0x2cf52d(0x1de)];}static['getAccessibilityPlatformValidation'](_0x6ca61c){const _0x210a41=a46_0x4dffa5,_0x559ae9=path['join'](this[_0x210a41(0x1c8)](),_0x6ca61c+_0x210a41(0x1bf));if(_0x559ae9&&fs['existsSync'](_0x559ae9))return fs[_0x210a41(0x1d9)](_0x559ae9)[_0x210a41(0x1da)]();}static['setAccessibilityPlatformValidation'](_0x1ba9e2,_0xd99bb2){const _0x2271e3=a46_0x4dffa5,_0x4f5dec=path['join'](this[_0x2271e3(0x1c8)](),_0xd99bb2+_0x2271e3(0x1bf));fs[_0x2271e3(0x1e1)](_0x4f5dec,_0x1ba9e2[_0x2271e3(0x1da)]());}static[a46_0x4dffa5(0x19e)](){const _0x1f8e60=a46_0x4dffa5,_0x28ec57={};_0x28ec57[_0x1f8e60(0x19d)]=!![],_0x28ec57['force']=!![],fs[_0x1f8e60(0x1ad)](this[_0x1f8e60(0x1c8)](),_0x28ec57);}static[a46_0x4dffa5(0x1d1)](_0x41253b){const _0x2203ba=a46_0x4dffa5;if(this['tests'][_0x41253b])return this[_0x2203ba(0x1ba)][_0x41253b];const _0x2a2539=this[_0x2203ba(0x1cc)](_0x41253b);if(_0x2a2539&&fs[_0x2203ba(0x191)](_0x2a2539)){const _0x21a815=JSON[_0x2203ba(0x19b)](fs['readFileSync'](_0x2a2539)[_0x2203ba(0x1da)]());return this[_0x2203ba(0x1ba)][_0x41253b]=_0x21a815,_0x21a815;}return{};}static['setTestDetails'](_0x17a616,_0x55ae1d){const _0x3c6c18=a46_0x4dffa5,_0x361831=this[_0x3c6c18(0x1cc)](_0x17a616);if(_0x361831&&fs[_0x3c6c18(0x191)](_0x361831)){const _0x3013e5=JSON[_0x3c6c18(0x19b)](fs[_0x3c6c18(0x1d9)](_0x361831)[_0x3c6c18(0x1da)]()),_0x1b8e9a={..._0x3013e5,..._0x55ae1d};this[_0x3c6c18(0x1ba)][_0x17a616]=_0x1b8e9a;}else this[_0x3c6c18(0x1ba)][_0x17a616]=_0x55ae1d;fs[_0x3c6c18(0x1e1)](_0x361831,this['tests'][_0x17a616]);}static['addTraceFilePath'](_0x4d63af){const _0x4395ff=a46_0x4dffa5,_0x1b08eb={};_0x1b08eb[_0x4395ff(0x1d5)]=_0x4395ff(0x1cd);const _0x132b6c=_0x1b08eb;try{const _0x1a5a74=process[_0x4395ff(0x1b5)],_0x139c8d=path['join'](TestDetails[_0x4395ff(0x189)](),_0x1a5a74+_0x4395ff(0x1a6));let _0x6a5195=[];_0x139c8d&&fs[_0x4395ff(0x191)](_0x139c8d)&&(_0x6a5195=JSON[_0x4395ff(0x19b)](fs[_0x4395ff(0x1d9)](_0x139c8d)['toString']())),!_0x6a5195[_0x4395ff(0x193)](_0x216d0e=>_0x216d0e[_0x4395ff(0x1ca)]===_0x4d63af['filePath'])&&(_0x6a5195[_0x4395ff(0x1d6)](_0x4d63af),fs['writeFileSync'](_0x139c8d,JSON[_0x4395ff(0x1b7)](_0x6a5195)));}catch(_0x1cd0ee){logger[_0x4395ff(0x1bb)](_0x132b6c[_0x4395ff(0x1d5)],_0x1cd0ee);}}static[a46_0x4dffa5(0x1c0)](){const _0x3a307d=a46_0x4dffa5,_0x299067={};_0x299067['crzJU']=_0x3a307d(0x1a6),_0x299067[_0x3a307d(0x195)]=_0x3a307d(0x1a8);const _0x1972db=_0x299067,_0x45a753=[];try{const _0x329a35=TestDetails[_0x3a307d(0x189)]();if(_0x329a35&&!fs['existsSync'](_0x329a35))return _0x45a753;const _0x1d7c12=fs['readdirSync'](_0x329a35);_0x1d7c12[_0x3a307d(0x1a9)](_0x1369fd=>{const _0x57e629=_0x3a307d;if(_0x1369fd&&_0x1369fd[_0x57e629(0x1d4)](_0x1972db['crzJU'])){const _0x2f79f3=JSON[_0x57e629(0x19b)](fs[_0x57e629(0x1d9)](path[_0x57e629(0x1b3)](_0x329a35,_0x1369fd))[_0x57e629(0x1da)]());_0x45a753[_0x57e629(0x1d6)](..._0x2f79f3);}});}catch(_0x3f54a6){logger[_0x3a307d(0x1bb)](util['format'](_0x1972db[_0x3a307d(0x195)],_0x3f54a6));}const _0x337a84={};return _0x45a753['forEach'](_0x10ee84=>{_0x337a84[_0x10ee84['filePath']]=_0x10ee84;}),Object[_0x3a307d(0x19f)](_0x337a84);}static['appendToTracePaths'](_0x1ee912,_0x22dd84){const _0x7f1a08=a46_0x4dffa5,_0x39c904={};_0x39c904[_0x7f1a08(0x1c3)]='.browserstack',_0x39c904[_0x7f1a08(0x1bc)]=_0x7f1a08(0x1e0);const _0x351eb5=_0x39c904;try{const _0x383604=path['join'](helper[_0x7f1a08(0x1ac)](),_0x351eb5[_0x7f1a08(0x1c3)]);if(!fs['existsSync'](_0x383604)){const _0x2b84e8={};_0x2b84e8[_0x7f1a08(0x19d)]=!![],fs[_0x7f1a08(0x1cf)](_0x383604,_0x2b84e8);}fs[_0x7f1a08(0x1b4)](path[_0x7f1a08(0x1b3)](_0x383604,_0x7f1a08(0x19c)+_0x22dd84+'.txt'),_0x1ee912+'\x0a',_0x351eb5[_0x7f1a08(0x1bc)]);}catch(_0x3320d2){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x3320d2[_0x7f1a08(0x18f)]);}}}module[a46_0x4dffa5(0x18b)]=TestDetails;
|
|
1
|
+
const a46_0x1f51e8=a46_0x5d1f;(function(_0x5a02cb,_0x548ce0){const _0x42bcd3=a46_0x5d1f,_0x52f2b5=_0x5a02cb();while(!![]){try{const _0x1f50b1=-parseInt(_0x42bcd3(0x157))/0x1+-parseInt(_0x42bcd3(0x15e))/0x2+parseInt(_0x42bcd3(0x10a))/0x3*(-parseInt(_0x42bcd3(0x152))/0x4)+parseInt(_0x42bcd3(0x150))/0x5+parseInt(_0x42bcd3(0x159))/0x6*(-parseInt(_0x42bcd3(0x14a))/0x7)+-parseInt(_0x42bcd3(0x13d))/0x8*(parseInt(_0x42bcd3(0x14f))/0x9)+-parseInt(_0x42bcd3(0x10d))/0xa*(-parseInt(_0x42bcd3(0x13e))/0xb);if(_0x1f50b1===_0x548ce0)break;else _0x52f2b5['push'](_0x52f2b5['shift']());}catch(_0x47a8eb){_0x52f2b5['push'](_0x52f2b5['shift']());}}}(a46_0x4df6,0xd4442));const fs=require('fs'),path=require(a46_0x1f51e8(0x148)),{v4:uuidv4}=require(a46_0x1f51e8(0x142)),{TEMP_STORE_DIR_NAME}=require(a46_0x1f51e8(0x127)),{nestedKeyValue}=require(a46_0x1f51e8(0x110)),logger=require(a46_0x1f51e8(0x13b))[a46_0x1f51e8(0x11f)],{getLogDir}=require('../../../helpers/logger'),util=require(a46_0x1f51e8(0x146)),helper=require('../../../helpers/helper');function a46_0x4df6(){const _0x51bec1=['kpjtP','message','.browserstack','recursive','setup','muErj','Error\x20writing\x20trace\x20file:\x20','getTraceZipDir','getProjectIdFromTestInfo','wxfhK','format','.txt','project','IooeP','parse','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Volmo','mkdirSync','../../../helpers/logger','homedir','48DgdAyX','11KZkQBG','default','BS_TESTOPS_BUILD_HASHED_ID','XsdCs','uuid','setTestDetails','utf8','env','util','getTestUUID','path','_platformDetails.json','21shrwDR','ARqfR','filePath','__projectId','existsSync','834417lMjTel','5264915hVhvFD','nwQCn','124YGVWrr','getFilePath','join','setAccessibilityPlatformValidation','_traceZipPaths.json','263864fcGSCA','nOZFZ','347496pQYrGL','values','forEach','getDirPath','writeFileSync','1767002ItqRPA','NFUFu','trace_','readFileSync','push','some','toString','_test','tests','dJZJD','11337ykZbEV','testId','retry','18109990AVlhND','HUqep','endsWith','../../../helpers/helper','fQttU','VJWvT','shutdown','error','pid','BsYNC','getStoreDirPath','appendFileSync','Error\x20handling\x20trace\x20file\x20paths:\x20','appendToTracePaths','HPTdt','traceZipPaths','lvDhM','IDwUf','winstonLogger','ktTkF','rmSync','VmKzG','stringify','HOBpL','Dsskl','.json','../../../helpers/test-observability/constants','pYSPY'];a46_0x4df6=function(){return _0x51bec1;};return a46_0x4df6();}function a46_0x5d1f(_0x3cac16,_0x38b9e2){const _0x4df6e6=a46_0x4df6();return a46_0x5d1f=function(_0x5d1fb1,_0x5e039e){_0x5d1fb1=_0x5d1fb1-0x103;let _0x28ad9f=_0x4df6e6[_0x5d1fb1];return _0x28ad9f;},a46_0x5d1f(_0x3cac16,_0x38b9e2);}class TestDetails{static [a46_0x1f51e8(0x108)]={};static[a46_0x1f51e8(0x12d)](){const _0x28ae95=a46_0x1f51e8;this[_0x28ae95(0x113)]();const _0x7170f9={};_0x7170f9['recursive']=!![],fs[_0x28ae95(0x13a)](this[_0x28ae95(0x15c)](),_0x7170f9);const _0x30925f={};_0x30925f[_0x28ae95(0x12c)]=!![],fs[_0x28ae95(0x13a)](this[_0x28ae95(0x130)](),_0x30925f);}static['getStoreDirName'](){const _0x6d7fc3=a46_0x1f51e8,_0x4da462={};_0x4da462[_0x6d7fc3(0x128)]=function(_0x27f713,_0x170741){return _0x27f713+_0x170741;};const _0x290adf=_0x4da462;return _0x290adf[_0x6d7fc3(0x128)](_0x290adf['pYSPY'](TEMP_STORE_DIR_NAME,'-'),process[_0x6d7fc3(0x145)]['BS_TESTOPS_BUILD_HASHED_ID']);}static['getStoreDirPath'](){const _0x30ca38=a46_0x1f51e8,_0x5a6b4f={};_0x5a6b4f[_0x30ca38(0x132)]=function(_0x1bdedf,_0x4b5184){return _0x1bdedf+_0x4b5184;},_0x5a6b4f[_0x30ca38(0x116)]=_0x30ca38(0x13f);const _0x46f50b=_0x5a6b4f;return path['join'](_0x46f50b[_0x30ca38(0x132)](_0x46f50b['wxfhK'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x30ca38(0x140)]||_0x46f50b[_0x30ca38(0x116)]));}static[a46_0x1f51e8(0x130)](){const _0x6f98a5=a46_0x1f51e8,_0x3aa5b4={};_0x3aa5b4[_0x6f98a5(0x124)]=_0x6f98a5(0x11c);const _0xac8276=_0x3aa5b4;return path['join'](this[_0x6f98a5(0x117)](),_0xac8276[_0x6f98a5(0x124)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a46_0x1f51e8(0x153)](_0x3f949f){const _0x58a955=a46_0x1f51e8,_0x36d4b1={};_0x36d4b1[_0x58a955(0x125)]=function(_0x44fa83,_0x284537){return _0x44fa83+_0x284537;},_0x36d4b1[_0x58a955(0x122)]=_0x58a955(0x126);const _0x37d764=_0x36d4b1;return path[_0x58a955(0x154)](this[_0x58a955(0x15c)](),_0x37d764[_0x58a955(0x125)](_0x3f949f,_0x37d764[_0x58a955(0x122)]));}static['getTestRunIdFromTestInfo'](_0x5a4ee8){const _0x1a0634=a46_0x1f51e8,_0x41f074={};_0x41f074[_0x1a0634(0x112)]=function(_0x208e5f,_0x402bae){return _0x208e5f+_0x402bae;},_0x41f074[_0x1a0634(0x139)]=function(_0x38983e,_0x2ccf45){return _0x38983e+_0x2ccf45;},_0x41f074['kjKPC']=function(_0x2c5832,_0x1e3fe6){return _0x2c5832+_0x1e3fe6;},_0x41f074[_0x1a0634(0x14b)]=function(_0x1f7e91,_0x2d1411){return _0x1f7e91+_0x2d1411;};const _0x4b4583=_0x41f074;return _0x4b4583[_0x1a0634(0x112)](_0x4b4583[_0x1a0634(0x139)](_0x4b4583['kjKPC'](_0x4b4583[_0x1a0634(0x14b)](this[_0x1a0634(0x131)](_0x5a4ee8),'-'),this['getTestIdFromTestInfo'](_0x5a4ee8)),'-'),_0x5a4ee8[_0x1a0634(0x10c)]);}static[a46_0x1f51e8(0x131)](_0x12a23a){const _0x1639ce=a46_0x1f51e8,_0x5bedb9={'muErj':function(_0xcc1550,_0x403c4f,_0x52a3a9){return _0xcc1550(_0x403c4f,_0x52a3a9);},'ktTkF':_0x1639ce(0x107),'nOZFZ':'_projectId','IooeP':_0x1639ce(0x135),'NFUFu':_0x1639ce(0x14d)};return _0x5bedb9[_0x1639ce(0x12e)](nestedKeyValue,_0x12a23a,[_0x5bedb9[_0x1639ce(0x120)],_0x5bedb9[_0x1639ce(0x158)]])||_0x5bedb9[_0x1639ce(0x12e)](nestedKeyValue,_0x12a23a,[_0x5bedb9[_0x1639ce(0x136)],_0x5bedb9[_0x1639ce(0x15f)]]);}static['getTestIdFromTestInfo'](_0x23232c){const _0x148246=a46_0x1f51e8,_0x257e99={'nwQCn':function(_0x21d5bf,_0x4a113b,_0x1fd26e){return _0x21d5bf(_0x4a113b,_0x1fd26e);},'XsdCs':_0x148246(0x107)};return _0x257e99[_0x148246(0x151)](nestedKeyValue,_0x23232c,[_0x257e99[_0x148246(0x141)],'id'])||_0x23232c[_0x148246(0x10b)];}static[a46_0x1f51e8(0x147)](_0x2449d8){const _0x563e78=a46_0x1f51e8,_0x3377d1={'HPTdt':function(_0x2feb19,_0x3ccdad){return _0x2feb19===_0x3ccdad;},'kpjtP':'string','dJZJD':function(_0x5d4b33){return _0x5d4b33();}};if(this['tests'][_0x2449d8]&&_0x3377d1[_0x563e78(0x11b)](typeof this[_0x563e78(0x108)][_0x2449d8][_0x563e78(0x142)],_0x3377d1[_0x563e78(0x129)]))return this[_0x563e78(0x108)][_0x2449d8][_0x563e78(0x142)];const _0x5a4fc0=this[_0x563e78(0x153)](_0x2449d8);if(_0x5a4fc0&&fs['existsSync'](_0x5a4fc0)){const _0x12d2fc=JSON['parse'](fs['readFileSync'](_0x5a4fc0)[_0x563e78(0x106)]());return this['tests'][_0x2449d8]=_0x12d2fc,this['tests'][_0x2449d8][_0x563e78(0x142)];}return this['tests'][_0x2449d8]={'uuid':_0x3377d1[_0x563e78(0x109)](uuidv4)},fs['writeFileSync'](_0x5a4fc0,JSON[_0x563e78(0x123)](this[_0x563e78(0x108)][_0x2449d8])),this[_0x563e78(0x108)][_0x2449d8][_0x563e78(0x142)];}static['getAccessibilityPlatformValidation'](_0x43b2f0){const _0x364b86=a46_0x1f51e8,_0x159455=path[_0x364b86(0x154)](this[_0x364b86(0x15c)](),_0x43b2f0+_0x364b86(0x149));if(_0x159455&&fs[_0x364b86(0x14e)](_0x159455))return fs['readFileSync'](_0x159455)[_0x364b86(0x106)]();}static[a46_0x1f51e8(0x155)](_0xd2ef28,_0x1acfd3){const _0x480156=a46_0x1f51e8,_0x29e6e2=path[_0x480156(0x154)](this['getDirPath'](),_0x1acfd3+'_platformDetails.json');fs[_0x480156(0x15d)](_0x29e6e2,_0xd2ef28[_0x480156(0x106)]());}static[a46_0x1f51e8(0x113)](){const _0x2dca75=a46_0x1f51e8,_0x11882c={};_0x11882c[_0x2dca75(0x12c)]=!![],_0x11882c['force']=!![],fs[_0x2dca75(0x121)](this['getDirPath'](),_0x11882c);}static['getTestDetails'](_0x264cfd){const _0x2c5354=a46_0x1f51e8;if(this[_0x2c5354(0x108)][_0x264cfd])return this[_0x2c5354(0x108)][_0x264cfd];const _0xd688f9=this[_0x2c5354(0x153)](_0x264cfd);if(_0xd688f9&&fs[_0x2c5354(0x14e)](_0xd688f9)){const _0x1dc6b5=JSON['parse'](fs['readFileSync'](_0xd688f9)[_0x2c5354(0x106)]());return this[_0x2c5354(0x108)][_0x264cfd]=_0x1dc6b5,_0x1dc6b5;}return{};}static[a46_0x1f51e8(0x143)](_0x287be7,_0x327fb7){const _0x4e1c6a=a46_0x1f51e8,_0x1f932a=this[_0x4e1c6a(0x153)](_0x287be7);if(_0x1f932a&&fs[_0x4e1c6a(0x14e)](_0x1f932a)){const _0x3ebd29=JSON[_0x4e1c6a(0x137)](fs[_0x4e1c6a(0x103)](_0x1f932a)[_0x4e1c6a(0x106)]()),_0x443767={..._0x3ebd29,..._0x327fb7};this[_0x4e1c6a(0x108)][_0x287be7]=_0x443767;}else this['tests'][_0x287be7]=_0x327fb7;fs[_0x4e1c6a(0x15d)](_0x1f932a,this['tests'][_0x287be7]);}static['addTraceFilePath'](_0x589646){const _0x4c080d=a46_0x1f51e8,_0xca2956={};_0xca2956['yvUNp']=_0x4c080d(0x119);const _0x3019cb=_0xca2956;try{const _0x557e58=process[_0x4c080d(0x115)],_0x5524aa=path[_0x4c080d(0x154)](TestDetails[_0x4c080d(0x130)](),_0x557e58+_0x4c080d(0x156));let _0x508521=[];_0x5524aa&&fs[_0x4c080d(0x14e)](_0x5524aa)&&(_0x508521=JSON[_0x4c080d(0x137)](fs[_0x4c080d(0x103)](_0x5524aa)['toString']())),!_0x508521[_0x4c080d(0x105)](_0x3aa4b0=>_0x3aa4b0[_0x4c080d(0x14c)]===_0x589646[_0x4c080d(0x14c)])&&(_0x508521[_0x4c080d(0x104)](_0x589646),fs[_0x4c080d(0x15d)](_0x5524aa,JSON['stringify'](_0x508521)));}catch(_0xc407cc){logger[_0x4c080d(0x114)](_0x3019cb['yvUNp'],_0xc407cc);}}static['getTraceFilePaths'](){const _0x2362e4=a46_0x1f51e8,_0x512d7b={};_0x512d7b['IDwUf']=_0x2362e4(0x156),_0x512d7b[_0x2362e4(0x111)]=_0x2362e4(0x138);const _0x715ee4=_0x512d7b,_0x9ee550=[];try{const _0x291e6f=TestDetails['getTraceZipDir']();if(_0x291e6f&&!fs[_0x2362e4(0x14e)](_0x291e6f))return _0x9ee550;const _0x17e7ea=fs['readdirSync'](_0x291e6f);_0x17e7ea[_0x2362e4(0x15b)](_0x111736=>{const _0x6cded1=_0x2362e4;if(_0x111736&&_0x111736[_0x6cded1(0x10f)](_0x715ee4[_0x6cded1(0x11e)])){const _0x5377f8=JSON['parse'](fs[_0x6cded1(0x103)](path[_0x6cded1(0x154)](_0x291e6f,_0x111736))['toString']());_0x9ee550[_0x6cded1(0x104)](..._0x5377f8);}});}catch(_0x774c5){logger[_0x2362e4(0x114)](util[_0x2362e4(0x133)](_0x715ee4[_0x2362e4(0x111)],_0x774c5));}const _0x2164ea={};return _0x9ee550[_0x2362e4(0x15b)](_0xa76840=>{const _0x102ad3=_0x2362e4;_0x2164ea[_0xa76840[_0x102ad3(0x14c)]]=_0xa76840;}),Object[_0x2362e4(0x15a)](_0x2164ea);}static[a46_0x1f51e8(0x11a)](_0x47db92,_0x4fb733){const _0x38e355=a46_0x1f51e8,_0x59e7d0={};_0x59e7d0[_0x38e355(0x10e)]=_0x38e355(0x12b),_0x59e7d0[_0x38e355(0x11d)]=_0x38e355(0x144);const _0x31bfb8=_0x59e7d0;try{const _0x26596f=path['join'](helper[_0x38e355(0x13c)](),_0x31bfb8['HUqep']);if(!fs[_0x38e355(0x14e)](_0x26596f)){const _0x48fef5={};_0x48fef5[_0x38e355(0x12c)]=!![],fs['mkdirSync'](_0x26596f,_0x48fef5);}fs[_0x38e355(0x118)](path[_0x38e355(0x154)](_0x26596f,_0x38e355(0x160)+_0x4fb733+_0x38e355(0x134)),_0x47db92+'\x0a',_0x31bfb8['lvDhM']);}catch(_0x1373aa){console['error'](_0x38e355(0x12f)+_0x1373aa[_0x38e355(0x12a)]);}}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x16e5dd=a47_0x5a79;function a47_0x5a79(_0x3e6992,_0xf35dfb){const _0x135a23=a47_0x135a();return a47_0x5a79=function(_0x5a791a,_0xabac45){_0x5a791a=_0x5a791a-0x94;let _0x27709f=_0x135a23[_0x5a791a];return _0x27709f;},a47_0x5a79(_0x3e6992,_0xf35dfb);}(function(_0x50429d,_0x17ed7f){const _0x4b53ed=a47_0x5a79,_0xd0419c=_0x50429d();while(!![]){try{const _0x3bf207=-parseInt(_0x4b53ed(0xae))/0x1+parseInt(_0x4b53ed(0xc3))/0x2*(-parseInt(_0x4b53ed(0x121))/0x3)+-parseInt(_0x4b53ed(0x102))/0x4+parseInt(_0x4b53ed(0xed))/0x5+-parseInt(_0x4b53ed(0x118))/0x6+parseInt(_0x4b53ed(0xb5))/0x7*(parseInt(_0x4b53ed(0xa2))/0x8)+-parseInt(_0x4b53ed(0x13e))/0x9*(-parseInt(_0x4b53ed(0xdd))/0xa);if(_0x3bf207===_0x17ed7f)break;else _0xd0419c['push'](_0xd0419c['shift']());}catch(_0x589ccc){_0xd0419c['push'](_0xd0419c['shift']());}}}(a47_0x135a,0x42b3e));function a47_0x135a(){const _0x2a4814=['14JgbbPX','debug','arZzR','platform_version','bNhPn','kessd','../v2/browserstackCLI','patch','DGdWm','env','isRunning','__workerDetails','accessibilityPlatform','browserstack','30aepdVi','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','mCcJE','rztGq','oltLn','client','auaaY','platformVersion','crConnection.js','lib','testInfo','toString','currentTest','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','defineProperty','path','fIAGu','oXqLy','../../helpers/test-observability/error-handler','HgTzs','capabilities','JIgza','setupBrowserDetails','../utils/clientTroubleshootingService.js','turboscale','../../bin/playwright/accessibility-helper','10nmUDZY','reportSessionLinkingIssue','test','fPZVM','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','exports','ZWZjN','apply','../../helpers/test-observability/utils','_type','_connection','patchConnection','__driver','platform','info','2271845aykoAe','BROWSERSTACK_TEST_OBSERVABILITY','Device\x20Model\x20is\x20not\x20available','getInstance','Page','toLowerCase','sessionError','MeEKk','includes','url','nEyfj','LzWPU','Error\x20in\x20importing\x20crConnection','project','POST','foyxd','PLAYWRIGHT_DISPATCH','params','browserName','bsSessionId','channel','1549216mLCGug','browser_version','getAutomationFramework','pPIXe','SVELx','patchCRConnection','Performing\x20scan\x20for\x20','AAmWZ','platformName','KhwiB','model','connection.js','Connection','zjJEl','LQeNS','./accessibility-helper','platformDetails','CRConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','format','playwright-','_onMessage','3255432glZiUW','qnKWW','parse','DyBtC','unknown_grid','_defaultConnectOptions','function','AXEXl','bstackPerformA11yScan','43653UbWAPa','BSTACK_ATS_URL','chromium','deviceModel','join','wZAHk','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','browser','../../helpers/logger','use','BSTACK_URL','MVDNW','oTwUS','HIAXg','Failed\x20to\x20perform\x20scan\x20','automate','lgdUn','opOLW','../v2/state/automationFrameworkState.js','chrome','UZmer','cloudProvider','oIiiY','connectOptions','server','sessionId','assign','currentSessionDetails','eTkWg','5967531gNnlRq','dispatch','FZmHT','../utils/constants','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Plfer','USzvL','edge','OZmcJ','getDetails','HhEnL','Driver\x20Scan\x20result=','firefox','TeNwP','FpoOm','1883664JOeTKj','winstonLogger','bStackParams','bsParams','product','message','Error\x20in\x20importing\x20connection\x20','entries','Not\x20able\x20to\x20import\x20Connection','Vgetn','local_grid','safari','166989qfSDNB','xFeuI','prototype','fromEntries','HHKwH','trackEvent','../v2/state/hookState.js'];a47_0x135a=function(){return _0x2a4814;};return a47_0x135a();}const path=require(a47_0x16e5dd(0xd2)),url=require(a47_0x16e5dd(0xf6)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a47_0x16e5dd(0xd5)),{debug,getPlatformDetails}=require(a47_0x16e5dd(0xe6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a47_0x16e5dd(0x129))[a47_0x16e5dd(0xa3)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a47_0x16e5dd(0xdc)),AccessibilityHelper=require(a47_0x16e5dd(0x111)),constants=require(a47_0x16e5dd(0x96)),BrowserstackCLI=require(a47_0x16e5dd(0xbb)),AutomationFrameworkState=require(a47_0x16e5dd(0x133)),HookState=require(a47_0x16e5dd(0xb4)),{performScanWithRetry}=require(a47_0x16e5dd(0x97)),ClientTroubleShootingService=require(a47_0x16e5dd(0xda)),getBrowserNameFromChannel=_0x34596a=>{const _0x2d31e8=a47_0x16e5dd,_0x58696c={};_0x58696c[_0x2d31e8(0xf8)]=_0x2d31e8(0x134),_0x58696c['MeEKk']=_0x2d31e8(0x9a),_0x58696c[_0x2d31e8(0x9d)]=_0x2d31e8(0x9f),_0x58696c[_0x2d31e8(0x119)]=_0x2d31e8(0xad);const _0x3bbe80=_0x58696c;if(_0x34596a[_0x2d31e8(0xf5)](_0x3bbe80[_0x2d31e8(0xf8)]))return _0x3bbe80[_0x2d31e8(0xf8)];if(_0x34596a[_0x2d31e8(0xf5)](_0x3bbe80['MeEKk']))return _0x3bbe80[_0x2d31e8(0xf4)];if(_0x34596a[_0x2d31e8(0xf5)](_0x3bbe80[_0x2d31e8(0x9d)]))return _0x3bbe80[_0x2d31e8(0x9d)];if(_0x34596a[_0x2d31e8(0xf5)](_0x3bbe80['qnKWW']))return _0x3bbe80[_0x2d31e8(0x119)];},getBrowserFromWSEndpoint=_0x41a1c9=>{const _0x5f3919=a47_0x16e5dd,_0x136c85={'auaaY':'chrome','foyxd':function(_0x7f5dde,_0x200290){return _0x7f5dde(_0x200290);}};try{const _0x28c113=url[_0x5f3919(0x11a)](_0x41a1c9),_0x3000b2=new URLSearchParams(_0x28c113['query']),_0x3679c5=Object[_0x5f3919(0xb1)](_0x3000b2[_0x5f3919(0xa9)]()),_0x232cae=JSON[_0x5f3919(0x11a)](_0x3679c5['caps']);if(_0x232cae&&(_0x232cae['browser']||_0x232cae[_0x5f3919(0xff)]))return _0x232cae[_0x5f3919(0x128)]||_0x232cae[_0x5f3919(0xff)];return _0x136c85[_0x5f3919(0xc9)];}catch(_0x7afa41){_0x136c85[_0x5f3919(0xfc)](debug,_0x5f3919(0x127)+_0x7afa41[_0x5f3919(0xce)]());}},getCloudProviderFromWsEndpoint=_0x36c156=>{const _0x576d12=a47_0x16e5dd,_0x31ae8a={};_0x31ae8a[_0x576d12(0xb2)]=_0x576d12(0xc2),_0x31ae8a[_0x576d12(0x13d)]=_0x576d12(0x11c);const _0x313498=_0x31ae8a;if(_0x36c156['includes'](constants[_0x576d12(0x12b)])||_0x36c156[_0x576d12(0xf5)](constants[_0x576d12(0x122)]))return _0x313498[_0x576d12(0xb2)];return _0x313498[_0x576d12(0x13d)];},a47_0x3cdd31={};a47_0x3cdd31[a47_0x16e5dd(0x136)]=undefined,a47_0x3cdd31[a47_0x16e5dd(0x100)]=undefined,a47_0x3cdd31['browser']=undefined,a47_0x3cdd31[a47_0x16e5dd(0x103)]=undefined,a47_0x3cdd31[a47_0x16e5dd(0xeb)]=undefined,a47_0x3cdd31[a47_0x16e5dd(0xb8)]=undefined,a47_0x3cdd31[a47_0x16e5dd(0xa6)]=undefined,a47_0x3cdd31[a47_0x16e5dd(0xd7)]={};class PlaywrightSessionDetails{static [a47_0x16e5dd(0x13c)]=a47_0x3cdd31;constructor(){const _0x5701fa=a47_0x16e5dd,_0x5b016d={};_0x5b016d[_0x5701fa(0xc6)]=_0x5701fa(0x114);const _0x4d083d=_0x5b016d;throw new Error(_0x4d083d['rztGq']);}static [a47_0x16e5dd(0xf3)]=null;static[a47_0x16e5dd(0xd9)](_0x3be82d,_0x53d262,_0x4c7ffb=null){const _0x44c11c=a47_0x16e5dd,_0x5aab76={'bdgnA':function(_0x5a6741,_0x25e419){return _0x5a6741===_0x25e419;},'USzvL':_0x44c11c(0x11e),'xoZVF':_0x44c11c(0xe2),'VjnFV':function(_0x5e5eb6,_0x4dc481){return _0x5e5eb6===_0x4dc481;},'wZAHk':_0x44c11c(0xef),'MVDNW':_0x44c11c(0xac),'nEyfj':function(_0x475ca6,_0x7441d3,_0x537437){return _0x475ca6(_0x7441d3,_0x537437);},'DGdWm':'_browserType','KnSby':_0x44c11c(0x11d),'pPIXe':_0x44c11c(0xfa),'JIgza':_0x44c11c(0x12a),'bNhPn':_0x44c11c(0x138),'amEdq':function(_0xb32a59,_0x4c8ed3){return _0xb32a59(_0x4c8ed3);},'ZWZjN':function(_0x749939,_0x10ef4f){return _0x749939===_0x10ef4f;},'TeNwP':'browserstack','SVELx':_0x44c11c(0xdb),'Vgetn':_0x44c11c(0x130),'EwGrz':function(_0x737d9c,_0x3847fc){return _0x737d9c(_0x3847fc);},'oIiiY':function(_0x2f45c1,_0x51da6d){return _0x2f45c1(_0x51da6d);},'QeUVi':function(_0x113380,_0x4f7fa8){return _0x113380+_0x4f7fa8;},'IVNgm':_0x44c11c(0x116),'iFDTc':function(_0x822f4c){return _0x822f4c();},'fPZVM':_0x44c11c(0xd9)},_0x5504ee=this;return _0x5aab76[_0x44c11c(0xf7)](o11yErrorHandler,async function _0x201f49(_0x6877cd,_0xd4d923,_0x3124e2=null){const _0x38f3f7=_0x44c11c;let _0x5687e1=_0x6877cd['_name'],_0x43cff4=null;_0x6877cd&&_0x5aab76['bdgnA'](typeof _0x6877cd['version'],_0x5aab76[_0x38f3f7(0x99)])?_0x43cff4=_0x6877cd['version']():logger[_0x38f3f7(0xb6)](_0x5aab76['xoZVF']);let _0x2a6bed=null;_0x6877cd&&_0x5aab76['VjnFV'](typeof _0x6877cd['model'],_0x5aab76[_0x38f3f7(0x99)])?_0x2a6bed=_0x6877cd[_0x38f3f7(0x10c)]():logger[_0x38f3f7(0xb6)](_0x5aab76[_0x38f3f7(0x126)]);let _0x56f346=null,_0x173902=null,_0x440d9d=null,_0x1975d1=_0x5aab76[_0x38f3f7(0x12c)];if(_0x6877cd[_0x38f3f7(0xe8)]['isRemote']()||global['accessibilityPlatform']){let _0x10a684=null;_0x5aab76[_0x38f3f7(0xf7)](nestedKeyValue,_0x6877cd,[_0x5aab76[_0x38f3f7(0xbd)],_0x5aab76['KnSby']])?_0x10a684=_0x6877cd['_browserType'][_0x38f3f7(0x11d)]:_0x10a684=_0x5aab76[_0x38f3f7(0xf7)](nestedKeyValue,_0xd4d923,[_0x5aab76[_0x38f3f7(0x105)],_0x5aab76[_0x38f3f7(0xd8)],_0x5aab76[_0x38f3f7(0xb9)]]);const _0x150fb0=_0x3124e2||_0x10a684&&_0x10a684['wsEndpoint'];_0x150fb0&&(_0x1975d1=_0x5aab76['amEdq'](getCloudProviderFromWsEndpoint,_0x150fb0),_0x5aab76[_0x38f3f7(0xe4)](_0x1975d1,_0x5aab76[_0x38f3f7(0xa0)])&&(_0x440d9d=constants['ATS_WSS_URL_REGEX'][_0x38f3f7(0xdf)](_0x150fb0)?_0x5aab76[_0x38f3f7(0x106)]:_0x5aab76[_0x38f3f7(0xab)],_0x5687e1=_0x5aab76['EwGrz'](getBrowserFromWSEndpoint,_0x150fb0)||_0x5687e1,_0x56f346=_0x5504ee[_0x38f3f7(0x13c)][_0x38f3f7(0xeb)],_0x173902=_0x5504ee[_0x38f3f7(0x13c)][_0x38f3f7(0xb8)]));}else{_0xd4d923&&_0xd4d923[_0x38f3f7(0xfa)][_0x38f3f7(0x12a)][_0x38f3f7(0x101)]?_0x5687e1=_0x5aab76[_0x38f3f7(0x137)](getBrowserNameFromChannel,_0xd4d923['project'][_0x38f3f7(0x12a)][_0x38f3f7(0x101)]):_0x5687e1=_0x5aab76['QeUVi'](_0x5aab76['IVNgm'],_0x5687e1[_0x38f3f7(0xf2)]());const _0x113c7e=await _0x5aab76['iFDTc'](getPlatformDetails);_0x56f346=_0x113c7e['platformName'],_0x173902=_0x113c7e[_0x38f3f7(0xca)];}const _0xd781f1={};_0xd781f1[_0x38f3f7(0x128)]=_0x5687e1,_0xd781f1[_0x38f3f7(0x103)]=_0x43cff4,_0xd781f1[_0x38f3f7(0xd7)]={},_0xd781f1[_0x38f3f7(0xeb)]=_0x56f346,_0xd781f1[_0x38f3f7(0xb8)]=_0x173902,_0xd781f1[_0x38f3f7(0xa6)]=_0x440d9d;const _0x5dd57e=_0xd781f1;_0x2a6bed&&(_0x5dd57e[_0x38f3f7(0xd7)][_0x38f3f7(0x124)]=_0x2a6bed);const _0x268cca={};_0x268cca[_0x38f3f7(0x136)]=_0x1975d1,_0x5504ee[_0x38f3f7(0x13c)]=Object[_0x38f3f7(0x13b)]({},_0x5504ee[_0x38f3f7(0x13c)],_0x268cca,_0x5dd57e);},_0x5aab76[_0x44c11c(0xe0)])(_0x3be82d,_0x53d262,_0x4c7ffb);}static[a47_0x16e5dd(0xbc)](){const _0x2aaa91=a47_0x16e5dd;this[_0x2aaa91(0xe9)](),this[_0x2aaa91(0x107)]();}static[a47_0x16e5dd(0xe9)](){const _0x413498=a47_0x16e5dd,_0x206c74={'UZmer':function(_0x169a6d,_0x440cd9,_0x20f8c4){return _0x169a6d(_0x440cd9,_0x20f8c4);},'cmkst':_0x413498(0xcf),'lUyUN':_0x413498(0xcd),'MlqqR':'titlePath','BBWSS':'__workerDetails','cPPbP':'pwPage','HIAXg':function(_0x4b6fe9,_0x2664f7,_0x574707){return _0x4b6fe9(_0x2664f7,_0x574707);},'tAIXg':function(_0x296038,_0x2d4397){return _0x296038===_0x2d4397;},'arZzR':_0x413498(0xf1),'reVhR':function(_0x1b917b,_0x212fa9,_0x2056de,_0x69f2f8){return _0x1b917b(_0x212fa9,_0x2056de,_0x69f2f8);},'FpoOm':function(_0x590e1f,_0x5c1e8f){return _0x590e1f||_0x5c1e8f;},'AAmWZ':function(_0x14137f,_0x1eb146){return _0x14137f(_0x1eb146);},'AXEXl':_0x413498(0xcc),'DyBtC':_0x413498(0xc8),'FZmHT':_0x413498(0x10d),'oXqLy':_0x413498(0xaa),'Plfer':function(_0x3b183a,_0x47702a){return _0x3b183a(_0x47702a);},'RQvJM':function(_0x39683d,_0x2ea955){return _0x39683d!=_0x2ea955;},'xFeuI':function(_0x38ab40){return _0x38ab40();},'AzsOg':'sendMessageToServer','oxfnO':_0x413498(0x94),'kessd':function(_0x1e88ca,_0x9301ac){return _0x1e88ca(_0x9301ac);}},_0xfe974a=this;if(!this[_0x413498(0x10e)])try{const _0x56f2e9=path[_0x413498(0x125)](_0x206c74[_0x413498(0x11f)],_0x206c74[_0x413498(0x11b)],_0x206c74[_0x413498(0x95)]),_0x19b2eb=_0x206c74[_0x413498(0x109)](importFileFromPWCore,_0x56f2e9);!_0x19b2eb?_0x206c74[_0x413498(0x109)](debug,_0x206c74[_0x413498(0xd4)]):this['Connection']=_0x19b2eb['Connection'];}catch(_0x4f51dd){_0x206c74[_0x413498(0x98)](debug,_0x413498(0xa8)+_0x4f51dd[_0x413498(0xce)]());}const _0x57dcc8=this['Connection'];try{if(_0x206c74['RQvJM'](_0x57dcc8,null)){const _0x2d0a94=_0x57dcc8[_0x413498(0xb0)][_0x413498(0x94)],_0x22b494=_0x57dcc8[_0x413498(0xb0)]['sendMessageToServer'];_0x206c74[_0x413498(0xaf)](isAccessibilityAutomationSession)&&Object[_0x413498(0xd1)](_0x57dcc8[_0x413498(0xb0)],_0x206c74['AzsOg'],{'get':function(){return async function(){const _0x3076cc=a47_0x5a79;try{if(!global['bstackPerformA11yScan']&&global[_0x3076cc(0xc1)]&&_0x206c74[_0x3076cc(0x135)](nestedKeyValue,global[_0x3076cc(0xc0)],[_0x206c74['cmkst'],_0x206c74['lUyUN'],_0x206c74['MlqqR']])&&_0x206c74[_0x3076cc(0x135)](shouldScanTestForAccessibility,global[_0x3076cc(0xc0)][_0x3076cc(0xcf)][_0x3076cc(0xcd)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x3076cc(0xb6)](_0x3076cc(0x108)+arguments[0x1]),global[_0x3076cc(0x120)]=!![];const _0x4bb8fa=_0x206c74[_0x3076cc(0x135)](nestedKeyValue,global,[_0x206c74['BBWSS'],_0x206c74['cPPbP']]);_0x4bb8fa&&logger[_0x3076cc(0xec)]('Page\x20Scan\x20result='+util[_0x3076cc(0x115)](await _0x206c74[_0x3076cc(0x12e)](performScanWithRetry,_0x4bb8fa,arguments[0x1]))),_0x206c74['tAIXg'](arguments[0x0][_0x3076cc(0xe7)],_0x206c74[_0x3076cc(0xb7)])&&global[_0x3076cc(0xea)]&&logger[_0x3076cc(0xec)](_0x3076cc(0x9e)+util[_0x3076cc(0x115)](await _0x206c74['reVhR'](performScanWithRetry,global[_0x3076cc(0xea)],arguments[0x1],scripts['performScan'])));}}catch(_0x5da511){logger['debug'](_0x3076cc(0x12f)+util[_0x3076cc(0x115)](_0x5da511));}return global['bstackPerformA11yScan']=![],_0x22b494[_0x3076cc(0xe5)](this,arguments);};}}),!_0x206c74[_0x413498(0x109)](isFalse,process[_0x413498(0xbe)][_0x413498(0xee)])&&Object[_0x413498(0xd1)](_0x57dcc8[_0x413498(0xb0)],_0x206c74['oxfnO'],{'get':function(){const _0x18400e={'Azixp':function(_0x58fc09,_0xbf7bf7){const _0x414820=a47_0x5a79;return _0x206c74[_0x414820(0xa1)](_0x58fc09,_0xbf7bf7);},'OWKVV':function(_0x1519a0,_0x4ae2e2){const _0x1952c5=a47_0x5a79;return _0x206c74[_0x1952c5(0x109)](_0x1519a0,_0x4ae2e2);},'xmXUp':function(_0x308ff5,_0x539a14){const _0xe52223=a47_0x5a79;return _0x206c74[_0xe52223(0x109)](_0x308ff5,_0x539a14);}};return async function _0x2010c8(_0x660067){const _0x33e946=a47_0x5a79;if(BrowserstackCLI[_0x33e946(0xf0)]()[_0x33e946(0xbf)]()){const _0x40d6e7={};_0x40d6e7[_0x33e946(0xa7)]=_0x660067,await BrowserstackCLI[_0x33e946(0xf0)]()[_0x33e946(0x104)]()[_0x33e946(0xb3)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x40d6e7);}else{const _0x2b90f6=_0x660067&&_0x660067[_0x33e946(0xfe)]&&_0x660067['params'][_0x33e946(0xa5)];if(_0x2b90f6){const _0x325172=_0x2b90f6[_0x33e946(0x13a)],_0x17aa3c=_0x2b90f6[_0x33e946(0x112)];_0x18400e['Azixp'](!_0x325172,!_0x17aa3c)&&await ClientTroubleShootingService[_0x33e946(0xde)](),_0x17aa3c&&(_0x18400e['OWKVV'](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x17aa3c[_0x33e946(0xce)]()),_0xfe974a[_0x33e946(0x13c)]['platform']=_0x17aa3c[_0x33e946(0x10a)],_0xfe974a[_0x33e946(0x13c)][_0x33e946(0xb8)]=_0x17aa3c[_0x33e946(0xca)]),_0x325172&&(_0x18400e['xmXUp'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x325172),_0xfe974a[_0x33e946(0x13c)][_0x33e946(0x100)]=_0x325172);}}return _0x2d0a94[_0x33e946(0xe5)](this,arguments);};}});}}catch(_0x33edcc){_0x206c74[_0x413498(0xba)](debug,_0x413498(0xd0)+_0x33edcc),_0xfe974a['sessionError']=_0x33edcc[_0x413498(0xce)]();}}static['patchCRConnection'](){const _0xab89ba=a47_0x16e5dd,_0x2a643c={'HgTzs':function(_0x12be75,_0x5d4ca3){return _0x12be75(_0x5d4ca3);},'KhwiB':function(_0x265d02,_0x2f2745){return _0x265d02(_0x2f2745);},'oTwUS':function(_0x1c83e8){return _0x1c83e8();},'fIAGu':'lib','OZmcJ':_0xab89ba(0x139),'KVEtG':_0xab89ba(0x123),'lgdUn':_0xab89ba(0xcb),'oltLn':'Not\x20able\x20to\x20import\x20crConnection','zjJEl':_0xab89ba(0xf9),'LQeNS':function(_0x305bc8,_0x3d275f){return _0x305bc8!=_0x3d275f;},'mCcJE':'_onMessage','opOLW':function(_0x5a10a9,_0x35beb2){return _0x5a10a9(_0x35beb2);}},_0x15516f=this;if(_0x2a643c[_0xab89ba(0x12d)](isAccessibilityAutomationSession)){let _0x2131aa=null;try{const _0x12d1f8=path[_0xab89ba(0x125)](_0x2a643c[_0xab89ba(0xd3)],_0x2a643c[_0xab89ba(0x9b)],_0x2a643c['KVEtG'],_0x2a643c[_0xab89ba(0x131)]),_0x5c83d6=_0x2a643c[_0xab89ba(0x10b)](importFileFromPWCore,_0x12d1f8);!_0x5c83d6?_0x2a643c[_0xab89ba(0xd6)](debug,_0x2a643c[_0xab89ba(0xc7)]):_0x2131aa=_0x5c83d6[_0xab89ba(0x113)];}catch(_0x5923f2){_0x2a643c[_0xab89ba(0x10b)](debug,_0x2a643c[_0xab89ba(0x10f)]);}try{if(_0x2a643c[_0xab89ba(0x110)](_0x2131aa,null)){const _0x7305f6=_0x2131aa[_0xab89ba(0xb0)][_0xab89ba(0x117)];Object[_0xab89ba(0xd1)](_0x2131aa['prototype'],_0x2a643c[_0xab89ba(0xc5)],{'get':function(){return async function _0x24a2f6(_0x145eec){const _0x3e7db5=a47_0x5a79;try{if(BrowserstackCLI[_0x3e7db5(0xf0)]()['isRunning']()){const _0xcbe45e={};_0xcbe45e[_0x3e7db5(0xa7)]=_0x145eec,await BrowserstackCLI[_0x3e7db5(0xf0)]()[_0x3e7db5(0x104)]()[_0x3e7db5(0xb3)](AutomationFrameworkState[_0x3e7db5(0xfd)],HookState[_0x3e7db5(0xfb)],_0xcbe45e),delete _0x145eec[_0x3e7db5(0xa4)];}else{const _0x5e813a=_0x145eec[_0x3e7db5(0xa4)];if(_0x5e813a){delete _0x145eec[_0x3e7db5(0xa4)];const _0x33d1ce=_0x5e813a[_0x3e7db5(0x13a)],_0x5bd212=_0x5e813a['platformDetails'];_0x5bd212&&(_0x2a643c[_0x3e7db5(0xd6)](debug,_0x3e7db5(0xe1)+_0x5bd212[_0x3e7db5(0xce)]()),_0x15516f['currentSessionDetails']['platform']=_0x5bd212[_0x3e7db5(0x10a)],_0x15516f[_0x3e7db5(0x13c)][_0x3e7db5(0xb8)]=_0x5bd212[_0x3e7db5(0xca)]),_0x33d1ce&&(_0x2a643c[_0x3e7db5(0x10b)](debug,_0x3e7db5(0xc4)+_0x33d1ce),_0x15516f[_0x3e7db5(0x13c)][_0x3e7db5(0x100)]=_0x33d1ce);}}}catch(_0x2b377a){_0x2a643c[_0x3e7db5(0x10b)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x2b377a[_0x3e7db5(0xce)]());}return _0x7305f6[_0x3e7db5(0xe5)](this,arguments);};}});}}catch(_0x5dfb22){_0x2a643c[_0xab89ba(0x132)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x5dfb22),_0x15516f[_0xab89ba(0xf3)]=_0x5dfb22[_0xab89ba(0xce)]();}}}static[a47_0x16e5dd(0x9c)](){const _0x5a3b79=a47_0x16e5dd;return this[_0x5a3b79(0x13c)];}}module[a47_0x16e5dd(0xe3)]=PlaywrightSessionDetails;
|
|
1
|
+
const a47_0x57e8c2=a47_0x4c8a;(function(_0x117d8d,_0x184a3c){const _0x58b2f8=a47_0x4c8a,_0x2ec554=_0x117d8d();while(!![]){try{const _0x266e19=parseInt(_0x58b2f8(0x23d))/0x1*(-parseInt(_0x58b2f8(0x1f4))/0x2)+parseInt(_0x58b2f8(0x24b))/0x3*(parseInt(_0x58b2f8(0x24f))/0x4)+-parseInt(_0x58b2f8(0x1f5))/0x5*(-parseInt(_0x58b2f8(0x244))/0x6)+-parseInt(_0x58b2f8(0x260))/0x7+-parseInt(_0x58b2f8(0x1cf))/0x8+parseInt(_0x58b2f8(0x22f))/0x9*(-parseInt(_0x58b2f8(0x1e5))/0xa)+-parseInt(_0x58b2f8(0x223))/0xb*(-parseInt(_0x58b2f8(0x23e))/0xc);if(_0x266e19===_0x184a3c)break;else _0x2ec554['push'](_0x2ec554['shift']());}catch(_0x3081e1){_0x2ec554['push'](_0x2ec554['shift']());}}}(a47_0x5a66,0x1ce52));const path=require(a47_0x57e8c2(0x23a)),url=require('url'),util=require(a47_0x57e8c2(0x1e2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x57e8c2(0x214)),{o11yErrorHandler}=require(a47_0x57e8c2(0x255)),{debug,getPlatformDetails}=require(a47_0x57e8c2(0x205)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require('../../helpers/logger')[a47_0x57e8c2(0x242)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a47_0x57e8c2(0x26d)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a47_0x57e8c2(0x20f)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a47_0x57e8c2(0x265)),HookState=require(a47_0x57e8c2(0x1c9)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x1487f4=>{const _0x5e2653=a47_0x57e8c2,_0x170081={};_0x170081['pqDIQ']=_0x5e2653(0x1f2),_0x170081[_0x5e2653(0x250)]=_0x5e2653(0x20a),_0x170081['dHEjT']=_0x5e2653(0x1e0),_0x170081[_0x5e2653(0x24c)]='safari';const _0x2ef20b=_0x170081;if(_0x1487f4[_0x5e2653(0x211)](_0x2ef20b[_0x5e2653(0x21e)]))return _0x2ef20b[_0x5e2653(0x21e)];if(_0x1487f4[_0x5e2653(0x211)](_0x2ef20b['JYRgY']))return _0x2ef20b[_0x5e2653(0x250)];if(_0x1487f4[_0x5e2653(0x211)](_0x2ef20b[_0x5e2653(0x236)]))return _0x2ef20b[_0x5e2653(0x236)];if(_0x1487f4['includes'](_0x2ef20b['jmRMT']))return _0x2ef20b[_0x5e2653(0x24c)];},getBrowserFromWSEndpoint=_0x5bcedf=>{const _0x49c730=a47_0x57e8c2,_0xb0b0b8={'raEld':'chrome','ItPZa':function(_0x3ff92d,_0xa0b715){return _0x3ff92d(_0xa0b715);}};try{const _0x447b40=url[_0x49c730(0x21d)](_0x5bcedf),_0x13ba8f=new URLSearchParams(_0x447b40[_0x49c730(0x25a)]),_0x152388=Object[_0x49c730(0x20c)](_0x13ba8f[_0x49c730(0x22b)]()),_0x5f0f67=JSON[_0x49c730(0x21d)](_0x152388[_0x49c730(0x226)]);if(_0x5f0f67&&(_0x5f0f67['browser']||_0x5f0f67[_0x49c730(0x1eb)]))return _0x5f0f67[_0x49c730(0x278)]||_0x5f0f67['browserName'];return _0xb0b0b8[_0x49c730(0x252)];}catch(_0x1de12d){_0xb0b0b8[_0x49c730(0x243)](debug,_0x49c730(0x273)+_0x1de12d[_0x49c730(0x266)]());}},getCloudProviderFromWsEndpoint=_0x1e845f=>{const _0x3d1e16=a47_0x57e8c2,_0x3d953a={};_0x3d953a[_0x3d1e16(0x202)]=_0x3d1e16(0x26e),_0x3d953a[_0x3d1e16(0x1c8)]='unknown_grid';const _0x6266fc=_0x3d953a;if(_0x1e845f[_0x3d1e16(0x211)](constants[_0x3d1e16(0x204)])||_0x1e845f[_0x3d1e16(0x211)](constants[_0x3d1e16(0x257)]))return _0x6266fc[_0x3d1e16(0x202)];return _0x6266fc[_0x3d1e16(0x1c8)];},a47_0x4665ca={};a47_0x4665ca[a47_0x57e8c2(0x1cb)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x24e)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x278)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x1c7)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x254)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x1dc)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x1e6)]=undefined,a47_0x4665ca[a47_0x57e8c2(0x26c)]={};function a47_0x4c8a(_0x134723,_0x474678){const _0x5a6651=a47_0x5a66();return a47_0x4c8a=function(_0x4c8a61,_0x30abb9){_0x4c8a61=_0x4c8a61-0x1be;let _0x209991=_0x5a6651[_0x4c8a61];return _0x209991;},a47_0x4c8a(_0x134723,_0x474678);}class PlaywrightSessionDetails{static [a47_0x57e8c2(0x232)]=a47_0x4665ca;constructor(){const _0x44bda5=a47_0x57e8c2,_0x491778={};_0x491778[_0x44bda5(0x24a)]=_0x44bda5(0x22e);const _0x157d65=_0x491778;throw new Error(_0x157d65[_0x44bda5(0x24a)]);}static [a47_0x57e8c2(0x221)]=null;static[a47_0x57e8c2(0x208)](_0x3463f0,_0x345028,_0x210c39=null){const _0x3ef02f=a47_0x57e8c2,_0x340759={'EgYMD':function(_0xdaf29a,_0x5766aa){return _0xdaf29a===_0x5766aa;},'aWrbq':_0x3ef02f(0x1f9),'JXiuX':_0x3ef02f(0x1fb),'ePMLH':function(_0x158511,_0x2848cf){return _0x158511===_0x2848cf;},'iBsBl':'Device\x20Model\x20is\x20not\x20available','IrOcg':_0x3ef02f(0x272),'FXKvf':function(_0x2c0244,_0x358fda,_0x352650){return _0x2c0244(_0x358fda,_0x352650);},'qoCfg':_0x3ef02f(0x1fc),'QcIJU':'_defaultConnectOptions','rpalX':function(_0xe1bdb8,_0x5418b2,_0xc06dec){return _0xe1bdb8(_0x5418b2,_0xc06dec);},'wunqK':_0x3ef02f(0x1d7),'kCois':_0x3ef02f(0x1ec),'UDopE':_0x3ef02f(0x218),'lMUpv':function(_0x4a583a,_0x3d97e5){return _0x4a583a(_0x3d97e5);},'rwkvt':_0x3ef02f(0x26e),'omKkI':'turboscale','wyzhX':_0x3ef02f(0x1ed),'SJgcw':function(_0x27ac0d,_0x1d294a){return _0x27ac0d(_0x1d294a);},'MAzXp':function(_0xd1e0e1,_0x574063){return _0xd1e0e1(_0x574063);},'vGYpm':function(_0x2c9d31,_0x39c418){return _0x2c9d31+_0x39c418;},'YCCdA':_0x3ef02f(0x249),'uIEfE':function(_0x20800e){return _0x20800e();},'zTJFA':function(_0x35da37,_0x4f9aa3,_0xe267e3){return _0x35da37(_0x4f9aa3,_0xe267e3);},'WSMHS':'setupBrowserDetails'},_0x15fb4e=this;return _0x340759['zTJFA'](o11yErrorHandler,async function _0x7a3998(_0xf84bb3,_0x24a137,_0x488575=null){const _0x293bed=_0x3ef02f;let _0x18eced=_0xf84bb3['_name'],_0xe3d8fc=null;_0xf84bb3&&_0x340759[_0x293bed(0x269)](typeof _0xf84bb3[_0x293bed(0x207)],_0x340759[_0x293bed(0x25f)])?_0xe3d8fc=_0xf84bb3['version']():logger[_0x293bed(0x227)](_0x340759[_0x293bed(0x1ff)]);let _0x20f279=null;_0xf84bb3&&_0x340759[_0x293bed(0x231)](typeof _0xf84bb3[_0x293bed(0x1bf)],_0x340759['aWrbq'])?_0x20f279=_0xf84bb3['model']():logger[_0x293bed(0x227)](_0x340759[_0x293bed(0x1e3)]);let _0x441677=null,_0x2322d0=null,_0x4936ad=null,_0x5383a5=_0x340759[_0x293bed(0x24d)];if(_0xf84bb3[_0x293bed(0x228)]['isRemote']()||global[_0x293bed(0x238)]){let _0x2f6040=null;_0x340759[_0x293bed(0x256)](nestedKeyValue,_0xf84bb3,[_0x340759[_0x293bed(0x23f)],_0x340759[_0x293bed(0x274)]])?_0x2f6040=_0xf84bb3[_0x293bed(0x1fc)]['_defaultConnectOptions']:_0x2f6040=_0x340759[_0x293bed(0x241)](nestedKeyValue,_0x24a137,[_0x340759[_0x293bed(0x1d4)],_0x340759[_0x293bed(0x246)],_0x340759['UDopE']]);const _0x100df2=_0x488575||_0x2f6040&&_0x2f6040[_0x293bed(0x1e9)];_0x100df2&&(_0x5383a5=_0x340759[_0x293bed(0x1d1)](getCloudProviderFromWsEndpoint,_0x100df2),_0x340759['ePMLH'](_0x5383a5,_0x340759[_0x293bed(0x1e8)])&&(_0x4936ad=constants['ATS_WSS_URL_REGEX'][_0x293bed(0x1c2)](_0x100df2)?_0x340759[_0x293bed(0x1d9)]:_0x340759[_0x293bed(0x264)],_0x18eced=_0x340759[_0x293bed(0x26f)](getBrowserFromWSEndpoint,_0x100df2)||_0x18eced,_0x441677=_0x15fb4e[_0x293bed(0x232)][_0x293bed(0x254)],_0x2322d0=_0x15fb4e['currentSessionDetails'][_0x293bed(0x1dc)]));}else{_0x24a137&&_0x24a137[_0x293bed(0x1d7)][_0x293bed(0x1ec)][_0x293bed(0x248)]?_0x18eced=_0x340759[_0x293bed(0x235)](getBrowserNameFromChannel,_0x24a137[_0x293bed(0x1d7)]['use']['channel']):_0x18eced=_0x340759[_0x293bed(0x212)](_0x340759[_0x293bed(0x1f1)],_0x18eced['toLowerCase']());const _0x17624d=await _0x340759[_0x293bed(0x22a)](getPlatformDetails);_0x441677=_0x17624d['platformName'],_0x2322d0=_0x17624d['platformVersion'];}const _0x46e20a={};_0x46e20a['browser']=_0x18eced,_0x46e20a['browser_version']=_0xe3d8fc,_0x46e20a[_0x293bed(0x26c)]={},_0x46e20a[_0x293bed(0x254)]=_0x441677,_0x46e20a[_0x293bed(0x1dc)]=_0x2322d0,_0x46e20a[_0x293bed(0x1e6)]=_0x4936ad;const _0x153ea1=_0x46e20a;_0x20f279&&(_0x153ea1[_0x293bed(0x26c)][_0x293bed(0x225)]=_0x20f279);const _0x27838b={};_0x27838b[_0x293bed(0x1cb)]=_0x5383a5,_0x15fb4e[_0x293bed(0x232)]=Object[_0x293bed(0x1d3)]({},_0x15fb4e[_0x293bed(0x232)],_0x27838b,_0x153ea1);},_0x340759[_0x3ef02f(0x1f3)])(_0x3463f0,_0x345028,_0x210c39);}static['patch'](){const _0x2fdff5=a47_0x57e8c2;this[_0x2fdff5(0x219)](),this[_0x2fdff5(0x20e)]();}static[a47_0x57e8c2(0x219)](){const _0x5af97e=a47_0x57e8c2,_0x58b39c={'MXpYp':function(_0x23bd00,_0x38d389,_0x175bc6){return _0x23bd00(_0x38d389,_0x175bc6);},'fcjLB':'currentTest','NSvIG':_0x5af97e(0x239),'CeQsq':'titlePath','UWpIJ':function(_0x5a477e,_0x28c70b,_0xc301a1){return _0x5a477e(_0x28c70b,_0xc301a1);},'FFwjk':_0x5af97e(0x23c),'kwBbQ':_0x5af97e(0x245),'onKkP':function(_0x16343b,_0x29a531){return _0x16343b===_0x29a531;},'OrPuP':_0x5af97e(0x1f8),'AbrqL':function(_0x254640,_0x4dc50c,_0x3aa112,_0x31bf94){return _0x254640(_0x4dc50c,_0x3aa112,_0x31bf94);},'ozTkU':function(_0x25e3be,_0xb995c0){return _0x25e3be||_0xb995c0;},'MyPHk':function(_0x37d6c4,_0x114a21){return _0x37d6c4(_0x114a21);},'nonGE':_0x5af97e(0x200),'IRSSw':_0x5af97e(0x258),'mAXao':'connection.js','njbJI':function(_0x1640bc,_0x354891){return _0x1640bc(_0x354891);},'azBCG':'Not\x20able\x20to\x20import\x20Connection','NJGaU':function(_0x3e598d,_0x4a67e2){return _0x3e598d!=_0x4a67e2;},'kSFCu':function(_0x1d490b){return _0x1d490b();},'lnpDR':_0x5af97e(0x251),'wTFts':function(_0x5032ba,_0xc88b71){return _0x5032ba(_0xc88b71);},'ZHCxS':'dispatch'},_0x284ea3=this;if(!this['Connection'])try{const _0x2759ca=path[_0x5af97e(0x1f6)](_0x58b39c[_0x5af97e(0x1c3)],_0x58b39c[_0x5af97e(0x1fd)],_0x58b39c['mAXao']),_0x27f6c2=_0x58b39c[_0x5af97e(0x1de)](importFileFromPWCore,_0x2759ca);!_0x27f6c2?_0x58b39c[_0x5af97e(0x210)](debug,_0x58b39c[_0x5af97e(0x206)]):this[_0x5af97e(0x1fe)]=_0x27f6c2[_0x5af97e(0x1fe)];}catch(_0x2899a6){_0x58b39c[_0x5af97e(0x1de)](debug,_0x5af97e(0x25b)+_0x2899a6[_0x5af97e(0x266)]());}const _0x868b1=this['Connection'];try{if(_0x58b39c[_0x5af97e(0x1ea)](_0x868b1,null)){const _0x2c09a9=_0x868b1[_0x5af97e(0x201)][_0x5af97e(0x261)],_0x244a26=_0x868b1[_0x5af97e(0x201)][_0x5af97e(0x251)];_0x58b39c[_0x5af97e(0x1ca)](isAccessibilityAutomationSession)&&Object[_0x5af97e(0x233)](_0x868b1['prototype'],_0x58b39c[_0x5af97e(0x237)],{'get':function(){const _0x372b9f=_0x5af97e,_0x57b9f7={'MSWCq':function(_0x209db0,_0x574c56,_0x3bda9f){const _0x5a7c5d=a47_0x4c8a;return _0x58b39c[_0x5a7c5d(0x1d5)](_0x209db0,_0x574c56,_0x3bda9f);},'rXeev':_0x58b39c['fcjLB'],'USwyq':_0x58b39c[_0x372b9f(0x263)],'pGHsG':_0x58b39c[_0x372b9f(0x217)],'qgSfK':function(_0x2f650e,_0x43cf87,_0x5ebc4c){const _0x20f31f=_0x372b9f;return _0x58b39c[_0x20f31f(0x1d5)](_0x2f650e,_0x43cf87,_0x5ebc4c);},'cjuWL':function(_0x3ae8f2,_0x4d3443,_0xce2c5a){const _0x252aed=_0x372b9f;return _0x58b39c[_0x252aed(0x277)](_0x3ae8f2,_0x4d3443,_0xce2c5a);},'AhcjM':_0x58b39c['FFwjk'],'qQoBc':_0x58b39c[_0x372b9f(0x216)],'hAmTK':function(_0x2ecb9b,_0x47d8cb){const _0x239e39=_0x372b9f;return _0x58b39c[_0x239e39(0x229)](_0x2ecb9b,_0x47d8cb);},'LCCBn':_0x58b39c[_0x372b9f(0x220)],'QUlnh':function(_0x2b44be,_0x45ea4e,_0x47c9bb,_0x3c5334){return _0x58b39c['AbrqL'](_0x2b44be,_0x45ea4e,_0x47c9bb,_0x3c5334);}};return async function(){const _0x231a6d=_0x372b9f;try{if(!global['bstackPerformA11yScan']&&global[_0x231a6d(0x238)]&&_0x57b9f7['MSWCq'](nestedKeyValue,global[_0x231a6d(0x23c)],[_0x57b9f7[_0x231a6d(0x21a)],_0x57b9f7[_0x231a6d(0x1cd)],_0x57b9f7[_0x231a6d(0x1e4)]])&&_0x57b9f7['qgSfK'](shouldScanTestForAccessibility,global[_0x231a6d(0x23c)][_0x231a6d(0x1c5)][_0x231a6d(0x239)][_0x231a6d(0x1e7)],!![])&&scripts[_0x231a6d(0x1db)](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x231a6d(0x22d)]=!![];const _0x31686a=_0x57b9f7['cjuWL'](nestedKeyValue,global,[_0x57b9f7[_0x231a6d(0x1c6)],_0x57b9f7[_0x231a6d(0x253)]]);_0x31686a&&logger[_0x231a6d(0x21c)](_0x231a6d(0x234)+util[_0x231a6d(0x230)](await _0x57b9f7[_0x231a6d(0x1fa)](performScanWithRetry,_0x31686a,arguments[0x1]))),_0x57b9f7[_0x231a6d(0x22c)](arguments[0x0][_0x231a6d(0x222)],_0x57b9f7[_0x231a6d(0x1c4)])&&global[_0x231a6d(0x1d2)]&&logger[_0x231a6d(0x21c)]('Driver\x20Scan\x20result='+util[_0x231a6d(0x230)](await _0x57b9f7['QUlnh'](performScanWithRetry,global[_0x231a6d(0x1d2)],arguments[0x1],scripts[_0x231a6d(0x275)])));}}catch(_0x4ec0c9){logger[_0x231a6d(0x227)](_0x231a6d(0x1da)+util[_0x231a6d(0x230)](_0x4ec0c9));}return global[_0x231a6d(0x22d)]=![],_0x244a26[_0x231a6d(0x1ce)](this,arguments);};}}),!_0x58b39c['wTFts'](isFalse,process[_0x5af97e(0x224)][_0x5af97e(0x268)])&&Object[_0x5af97e(0x233)](_0x868b1['prototype'],_0x58b39c[_0x5af97e(0x203)],{'get':function(){const _0x51f27f={'Ukbgq':function(_0x1c7ef5,_0x4d18f1){const _0x140483=a47_0x4c8a;return _0x58b39c[_0x140483(0x262)](_0x1c7ef5,_0x4d18f1);},'QRQQD':function(_0x2b9a0b,_0x212834){const _0x4e59d0=a47_0x4c8a;return _0x58b39c[_0x4e59d0(0x210)](_0x2b9a0b,_0x212834);}};return async function _0x303c19(_0x3677d3){const _0x3716f0=a47_0x4c8a;if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x3f0bac={};_0x3f0bac[_0x3716f0(0x21b)]=_0x3677d3,await BrowserstackCLI[_0x3716f0(0x279)]()[_0x3716f0(0x1c0)]()[_0x3716f0(0x1dd)](AutomationFrameworkState[_0x3716f0(0x23b)],HookState[_0x3716f0(0x1e1)],_0x3f0bac);}else{const _0x410589=_0x3677d3&&_0x3677d3[_0x3716f0(0x20d)]&&_0x3677d3[_0x3716f0(0x20d)]['bsParams'];if(_0x410589){const _0x34fe7f=_0x410589['sessionId'],_0x8053d7=_0x410589['platformDetails'];_0x51f27f['Ukbgq'](!_0x34fe7f,!_0x8053d7)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x8053d7&&(_0x51f27f[_0x3716f0(0x1f0)](debug,_0x3716f0(0x1d6)+_0x8053d7[_0x3716f0(0x266)]()),_0x284ea3[_0x3716f0(0x232)][_0x3716f0(0x254)]=_0x8053d7[_0x3716f0(0x267)],_0x284ea3[_0x3716f0(0x232)][_0x3716f0(0x1dc)]=_0x8053d7['platformVersion']),_0x34fe7f&&(_0x51f27f['QRQQD'](debug,_0x3716f0(0x276)+_0x34fe7f),_0x284ea3[_0x3716f0(0x232)][_0x3716f0(0x24e)]=_0x34fe7f);}}return _0x2c09a9[_0x3716f0(0x1ce)](this,arguments);};}});}}catch(_0x1f6449){_0x58b39c['njbJI'](debug,_0x5af97e(0x240)+_0x1f6449),_0x284ea3[_0x5af97e(0x221)]=_0x1f6449[_0x5af97e(0x266)]();}}static[a47_0x57e8c2(0x20e)](){const _0x36dcbc=a47_0x57e8c2,_0x1ec556={'kOVTe':function(_0x507b3b,_0x555413){return _0x507b3b(_0x555413);},'YQfgC':function(_0x2009b6){return _0x2009b6();},'PxNqz':_0x36dcbc(0x200),'geYab':'server','Tmynn':_0x36dcbc(0x270),'faCdN':'crConnection.js','GJWMd':_0x36dcbc(0x1d8),'YetES':_0x36dcbc(0x215),'aJorl':function(_0x49cbaf,_0x3fdede){return _0x49cbaf!=_0x3fdede;},'PJclL':_0x36dcbc(0x271)},_0x415664=this;if(_0x1ec556[_0x36dcbc(0x1ee)](isAccessibilityAutomationSession)){let _0x127997=null;try{const _0x4bea99=path[_0x36dcbc(0x1f6)](_0x1ec556['PxNqz'],_0x1ec556['geYab'],_0x1ec556[_0x36dcbc(0x25e)],_0x1ec556[_0x36dcbc(0x213)]),_0x4c2e34=_0x1ec556[_0x36dcbc(0x1df)](importFileFromPWCore,_0x4bea99);!_0x4c2e34?_0x1ec556[_0x36dcbc(0x1df)](debug,_0x1ec556[_0x36dcbc(0x247)]):_0x127997=_0x4c2e34['CRConnection'];}catch(_0xcf8f3e){_0x1ec556[_0x36dcbc(0x1df)](debug,_0x1ec556[_0x36dcbc(0x1f7)]);}try{if(_0x1ec556[_0x36dcbc(0x25d)](_0x127997,null)){const _0x188776=_0x127997[_0x36dcbc(0x201)][_0x36dcbc(0x271)];Object[_0x36dcbc(0x233)](_0x127997['prototype'],_0x1ec556[_0x36dcbc(0x26b)],{'get':function(){const _0x4b7d3e={'GEsND':function(_0x31a34f,_0x14b55e){return _0x1ec556['kOVTe'](_0x31a34f,_0x14b55e);}};return async function _0x199126(_0x273681){const _0x5573ea=a47_0x4c8a;try{if(BrowserstackCLI[_0x5573ea(0x279)]()[_0x5573ea(0x25c)]()){const _0x477609={};_0x477609[_0x5573ea(0x21b)]=_0x273681,await BrowserstackCLI[_0x5573ea(0x279)]()['getAutomationFramework']()[_0x5573ea(0x1dd)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x477609),delete _0x273681[_0x5573ea(0x209)];}else{const _0x2a4df1=_0x273681[_0x5573ea(0x209)];if(_0x2a4df1){delete _0x273681[_0x5573ea(0x209)];const _0x4eb807=_0x2a4df1[_0x5573ea(0x1cc)],_0x5cfc82=_0x2a4df1[_0x5573ea(0x259)];_0x5cfc82&&(_0x4b7d3e[_0x5573ea(0x1be)](debug,_0x5573ea(0x1d0)+_0x5cfc82['toString']()),_0x415664[_0x5573ea(0x232)][_0x5573ea(0x254)]=_0x5cfc82['platformName'],_0x415664[_0x5573ea(0x232)][_0x5573ea(0x1dc)]=_0x5cfc82[_0x5573ea(0x1ef)]),_0x4eb807&&(_0x4b7d3e[_0x5573ea(0x1be)](debug,_0x5573ea(0x1c1)+_0x4eb807),_0x415664[_0x5573ea(0x232)][_0x5573ea(0x24e)]=_0x4eb807);}}}catch(_0x209f80){_0x4b7d3e[_0x5573ea(0x1be)](debug,_0x5573ea(0x21f)+_0x209f80[_0x5573ea(0x266)]());}return _0x188776[_0x5573ea(0x1ce)](this,arguments);};}});}}catch(_0x3e9adc){_0x1ec556[_0x36dcbc(0x1df)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x3e9adc),_0x415664[_0x36dcbc(0x221)]=_0x3e9adc[_0x36dcbc(0x266)]();}}}static[a47_0x57e8c2(0x20b)](){const _0x14f3f0=a47_0x57e8c2;return this[_0x14f3f0(0x232)];}}module[a47_0x57e8c2(0x26a)]=PlaywrightSessionDetails;function a47_0x5a66(){const _0x597749=['debug','_connection','onKkP','uIEfE','entries','hAmTK','bstackPerformA11yScan','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','942147mSvQCH','format','ePMLH','currentSessionDetails','defineProperty','Page\x20Scan\x20result=','MAzXp','dHEjT','lnpDR','accessibilityPlatform','testInfo','path','PLAYWRIGHT_DISPATCH','__workerDetails','53TIqJho','8080536TSQZwv','qoCfg','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','rpalX','winstonLogger','ItPZa','552612isSNzz','pwPage','kCois','GJWMd','channel','playwright-','PYlWP','2409MsJoAp','jmRMT','IrOcg','bsSessionId','4UKQDOh','JYRgY','sendMessageToServer','raEld','qQoBc','platform','../../helpers/test-observability/error-handler','FXKvf','BSTACK_ATS_URL','client','platformDetails','query','Error\x20in\x20importing\x20connection\x20','isRunning','aJorl','Tmynn','aWrbq','1017667lzESXe','dispatch','ozTkU','NSvIG','wyzhX','../v2/state/automationFrameworkState.js','toString','platformName','BROWSERSTACK_TEST_OBSERVABILITY','EgYMD','exports','PJclL','capabilities','../../bin/playwright/accessibility-helper','browserstack','SJgcw','chromium','_onMessage','local_grid','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','QcIJU','performScan','Setting\x20session\x20id\x20received\x20from\x20BS\x20','UWpIJ','browser','getInstance','GEsND','model','getAutomationFramework','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','test','nonGE','LCCBn','currentTest','AhcjM','browser_version','qlbuL','../v2/state/hookState.js','kSFCu','cloudProvider','sessionId','USwyq','apply','674472KyPSgr','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','lMUpv','__driver','assign','wunqK','MXpYp','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','project','Not\x20able\x20to\x20import\x20crConnection','omKkI','Failed\x20to\x20perform\x20scan\x20','shouldWrapCommand','platform_version','trackEvent','njbJI','kOVTe','firefox','POST','util','iBsBl','pGHsG','20lCeZOF','product','titlePath','rwkvt','wsEndpoint','NJGaU','browserName','use','automate','YQfgC','platformVersion','QRQQD','YCCdA','chrome','WSMHS','7882gRhDYY','5ZKVoyM','join','YetES','Page','function','cjuWL','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','_browserType','IRSSw','Connection','JXiuX','lib','prototype','EhLSM','ZHCxS','BSTACK_URL','../../helpers/test-observability/utils','azBCG','version','setupBrowserDetails','bStackParams','edge','getDetails','fromEntries','params','patchCRConnection','../utils/constants','MyPHk','includes','vGYpm','faCdN','../../helpers/helper','Error\x20in\x20importing\x20crConnection','kwBbQ','CeQsq','connectOptions','patchConnection','rXeev','message','info','parse','pqDIQ','Error\x20in\x20finding\x20platform\x20details\x20','OrPuP','sessionError','_type','11wdYrhN','env','deviceModel','caps'];a47_0x5a66=function(){return _0x597749;};return a47_0x5a66();}
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a48_0x105771=a48_0x52c9;(function(_0x15ca4c,_0x31a70a){const _0x4c901c=a48_0x52c9,_0x291b8c=_0x15ca4c();while(!![]){try{const _0x5aac83=parseInt(_0x4c901c(0x1f7))/0x1*(parseInt(_0x4c901c(0x22d))/0x2)+-parseInt(_0x4c901c(0x229))/0x3*(parseInt(_0x4c901c(0x1e3))/0x4)+-parseInt(_0x4c901c(0x24c))/0x5+-parseInt(_0x4c901c(0x263))/0x6+-parseInt(_0x4c901c(0x268))/0x7*(parseInt(_0x4c901c(0x227))/0x8)+parseInt(_0x4c901c(0x1e9))/0x9+parseInt(_0x4c901c(0x1f5))/0xa;if(_0x5aac83===_0x31a70a)break;else _0x291b8c['push'](_0x291b8c['shift']());}catch(_0x3fbdec){_0x291b8c['push'](_0x291b8c['shift']());}}}(a48_0xc0e7,0x9b462));const fs=require('fs'),path=require(a48_0x105771(0x20b)),util=require(a48_0x105771(0x223)),spawn=require('child_process')[a48_0x105771(0x230)],{requireModule}=require(a48_0x105771(0x1ef)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x105771(0x237))[a48_0x105771(0x21a)],helper=require(a48_0x105771(0x1ef)),utilities=require(a48_0x105771(0x1f2)),{default:BrowserStackSetup}=require(a48_0x105771(0x258)),{FRAMEWORKS}=require(a48_0x105771(0x210)),runIntegrations=require(a48_0x105771(0x1fa)),yargs=require(a48_0x105771(0x249)),Constants=require(a48_0x105771(0x1e4)),BrowserstackCLI=require(a48_0x105771(0x1ed)),logger=require(a48_0x105771(0x22f))[a48_0x105771(0x241)],origArgs=Object[a48_0x105771(0x1ec)]([],process[a48_0x105771(0x202)]),captureError=async(_0x2fc65f,_0x118626,_0x251b09,_0x3862d=null)=>{const _0x3f8ed3=a48_0x105771,_0x47d7e5={'YXfuu':function(_0x3b7890,_0x41ef4d,_0xcc8098,_0x1f6888){return _0x3b7890(_0x41ef4d,_0xcc8098,_0x1f6888);},'MOntM':_0x3f8ed3(0x207)};try{logger[_0x3f8ed3(0x272)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x3f8ed3(0x1f3)]('\x20')),await _0x47d7e5[_0x3f8ed3(0x220)](_0x2fc65f,_0x118626,_0x3862d,_0x251b09);}catch(_0x98785d){process[_0x3f8ed3(0x234)]=0x1,logger[_0x3f8ed3(0x1f1)](util['format'](_0x98785d));const _0x431453={'globalException':util[_0x3f8ed3(0x235)]('%j',_0x98785d)};PerformanceTester['end'](PerformanceEvents[_0x3f8ed3(0x205)],![],util[_0x3f8ed3(0x235)](_0x98785d));if(helper[_0x3f8ed3(0x250)](global[_0x3f8ed3(0x23d)])&&helper[_0x3f8ed3(0x250)](global[_0x3f8ed3(0x213)]))return;try{utilities['fireFunnelTestEvent'](_0x47d7e5[_0x3f8ed3(0x257)],_0x431453,global['config'],global[_0x3f8ed3(0x213)]);}catch(_0x467b7a){logger['debug'](_0x3f8ed3(0x21d)+_0x467b7a[_0x3f8ed3(0x252)]);}try{await helper[_0x3f8ed3(0x22e)](global['config']);}catch(_0x39d735){logger[_0x3f8ed3(0x1ee)](_0x3f8ed3(0x201)+_0x39d735[_0x3f8ed3(0x252)]);}await BrowserstackCLI['getInstance']()[_0x3f8ed3(0x267)](),PerformanceTester[_0x3f8ed3(0x21c)](PerformanceEvents[_0x3f8ed3(0x205)],![],util[_0x3f8ed3(0x235)](_0x98785d));}finally{PerformanceTester[_0x3f8ed3(0x20f)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a48_0x105771(0x209)](),'.browserstack');if(fs[a48_0x105771(0x262)](browserstackFolderPath)){const filePath=path[a48_0x105771(0x1f3)](browserstackFolderPath,a48_0x105771(0x1de));fs[a48_0x105771(0x262)](filePath)&&fs['unlinkSync'](filePath);}}catch(a48_0x158167){logger[a48_0x105771(0x1ee)](a48_0x105771(0x1fe)+a48_0x158167[a48_0x105771(0x1e6)]);}process[a48_0x105771(0x202)][a48_0x105771(0x1df)](a48_0x105771(0x20a))&&(!process[a48_0x105771(0x202)][a48_0x105771(0x1df)](a48_0x105771(0x218))&&process[a48_0x105771(0x202)][a48_0x105771(0x233)](a48_0x105771(0x1f0)),!process[a48_0x105771(0x202)][a48_0x105771(0x271)](_0x28de9b=>_0x28de9b[a48_0x105771(0x1df)](a48_0x105771(0x259)))&&process['argv']['push'](a48_0x105771(0x236)),!process[a48_0x105771(0x202)][a48_0x105771(0x1df)](a48_0x105771(0x24b))&&process[a48_0x105771(0x202)][a48_0x105771(0x233)](a48_0x105771(0x247)),helper[a48_0x105771(0x200)](process[a48_0x105771(0x202)],a48_0x105771(0x26a),'--mochaRequire'));PerformanceTester[a48_0x105771(0x20f)](PerformanceEvents[a48_0x105771(0x205)]);function a48_0x52c9(_0x22c879,_0x42e496){const _0xc0e7d0=a48_0xc0e7();return a48_0x52c9=function(_0x52c906,_0x292149){_0x52c906=_0x52c906-0x1de;let _0x1eee02=_0xc0e7d0[_0x52c906];return _0x1eee02;},a48_0x52c9(_0x22c879,_0x42e496);}const a48_0x1e6baf={};function a48_0xc0e7(){const _0x499503=['../../ats/src/index','vYnwl','IwKLf','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','HELP','findAndReplace','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','argv','JIFvJ','help','SDK_SETUP','alias','SDKTestSuccessful','MIRqs','homedir','mocha','path','node','nightwatch','uOcbL','start','../helpers/test-observability/constants','Parsing\x20command\x20line\x20arguments','UWkjy','framework','qtkdG','cucumber-js','INFO','getConfigPath','--opts','lRPLi','EVENTS','demandCommand','end','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Xwhvu','mgTVT','YXfuu','INTEGRATIONS','env','util','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./cucumber-js/command','describe','71576zqYNZI','./playwright/command','1368BlcGeG','UpxhD','handler','jest','166NMfPoa','sendLogs','../helpers/logger','spawn','jCQVo','CODECEPTJS','push','exitCode','format','--no-config','../helpers/performance/constants','unmgF','command','slice','MOCHA','StKOW','config','version','JEST','FcUBT','winstonLogger','ats','gpdZc','zqJTM','VANILLA','dot-notation','--no-package','setBrowserStackAutomationDisable','yargs','hOUcc','--package','2757835ExWTSR','mocha/lib/cli/run.js','CUCUMBER','pWAsL','isUndefined','jzync','stack','parserConfiguration','eZkjC','strict','./nightwatch/command','MOntM','../helpers/BrowserStackSetup','--config','NzkeI','run','usage:\x20$0\x20<command>\x20[args]','setTestObservabilityDisable','./load/index','Runs\x20the\x20binary\x20with\x20load\x20command','playwright','integrations','existsSync','5397324geQcYU','ydvHL','vywPr','ydvwI','stop','14yHeOzT','./jest/command','--require','NIGHTWATCH','wtGuI','HZPjt','HST','TVUpL','./vanilla-js/command','find','info','BROWSERSTACK_CONFIG_FILE_PATH','.local-not-set.json','includes','codeceptjs','option','EXakG','1964hKTovx','./utils/constants','boolean','message','DfNOH','EZsDV','10822023iPdVhJ','uCppH','wrap','assign','./v2/browserstackCLI','debug','../helpers/helper','--no-opts','error','../helpers/utilities','join','GgBJv','5077840ozeyJH','exitProcess','7454dQtQHR','jBUOq','mocha/lib/cli/cli.js','./integrations/command'];a48_0xc0e7=function(){return _0x499503;};return a48_0xc0e7();}a48_0x1e6baf[a48_0x105771(0x246)]=![];const argv=yargs[a48_0x105771(0x253)](a48_0x1e6baf)['usage'](a48_0x105771(0x25c))[a48_0x105771(0x206)]('v',a48_0x105771(0x23e))[a48_0x105771(0x226)]('v')['alias']('h',a48_0x105771(0x204))['help']('help')['showHelpOnFail'](!![],Constants['VERSION'][a48_0x105771(0x1ff)])['command']('jest',Constants[a48_0x105771(0x23f)][a48_0x105771(0x216)],function(_0x6de8b0){const _0x45cf21=a48_0x105771,_0x20d000={'ydvHL':_0x45cf21(0x22c),'jBUOq':function(_0x7c3535,_0xeda74,_0x134298,_0x21ff0e,_0x403035){return _0x7c3535(_0xeda74,_0x134298,_0x21ff0e,_0x403035);},'NzkeI':function(_0x36d824,_0x405a42){return _0x36d824(_0x405a42);},'vYnwl':_0x45cf21(0x269)},_0x1ff4e0=process['argv'][_0x45cf21(0x23a)](0x2);helper[_0x45cf21(0x25d)](),helper[_0x45cf21(0x248)]();const _0x1c9702=new BrowserStackSetup(_0x6de8b0[_0x45cf21(0x202)],_0x20d000[_0x45cf21(0x264)]);return _0x20d000[_0x45cf21(0x1f8)](captureError,_0x20d000[_0x45cf21(0x25a)](require,_0x20d000[_0x45cf21(0x1fc)]),_0x6de8b0['argv'],_0x1c9702,_0x1ff4e0);})[a48_0x105771(0x239)](a48_0x105771(0x20a),Constants[a48_0x105771(0x23b)][a48_0x105771(0x216)],_0x23b9d0=>{const _0xa1bb53=a48_0x105771,_0x38cc88={'uCppH':function(_0x5415db,_0x405dec,_0x1dfef1,_0x36fa0c){return _0x5415db(_0x405dec,_0x1dfef1,_0x36fa0c);},'TVUpL':function(_0x24743d,_0x4a643f){return _0x24743d(_0x4a643f);},'zqJTM':'./mocha/command','hOUcc':_0xa1bb53(0x20a),'pWAsL':_0xa1bb53(0x211),'ydvwI':function(_0x1fdd6a,_0x28cd79,_0x22e307){return _0x1fdd6a(_0x28cd79,_0x22e307);},'JIFvJ':_0xa1bb53(0x24d),'IwKLf':function(_0x3fd628,_0x580d72,_0xcf144f){return _0x3fd628(_0x580d72,_0xcf144f);},'unmgF':'mocha/lib/cli/commands.js','DfNOH':_0xa1bb53(0x1f9),'wtGuI':function(_0x596e09){return _0x596e09();}};process['argv']=process[_0xa1bb53(0x202)][_0xa1bb53(0x23a)](0x1),helper[_0xa1bb53(0x25d)](),helper[_0xa1bb53(0x248)]();const _0xc58ee=new BrowserStackSetup(_0x23b9d0['argv'],_0x38cc88[_0xa1bb53(0x24a)]);logger['debug'](_0x38cc88[_0xa1bb53(0x24f)]);const _0x3cff8e=_0x38cc88[_0xa1bb53(0x266)](requireModule,_0x38cc88[_0xa1bb53(0x203)],_0x38cc88[_0xa1bb53(0x24a)]),_0x2a0c2f=_0x38cc88['IwKLf'](requireModule,_0x38cc88[_0xa1bb53(0x238)],_0x38cc88[_0xa1bb53(0x24a)]);delete _0x3cff8e[_0xa1bb53(0x22b)],_0x3cff8e[_0xa1bb53(0x22b)]=function(_0x162f05){const _0xa0367e=_0xa1bb53;return _0x38cc88[_0xa0367e(0x1ea)](captureError,_0x38cc88[_0xa0367e(0x26f)](require,_0x38cc88[_0xa0367e(0x244)]),_0x162f05,_0xc58ee);},_0x2a0c2f[_0xa1bb53(0x25b)]=_0x3cff8e;const {main:_0x433c61}=_0x38cc88[_0xa1bb53(0x1fd)](requireModule,_0x38cc88[_0xa1bb53(0x1e7)],_0x38cc88[_0xa1bb53(0x24a)]);_0x38cc88[_0xa1bb53(0x26c)](_0x433c61);})[a48_0x105771(0x239)]('cucumber-js',Constants[a48_0x105771(0x24e)][a48_0x105771(0x216)],function(_0x8ed146){const _0x7adddc=a48_0x105771,_0x49a236={'UWkjy':_0x7adddc(0x215),'vywPr':function(_0xffafb3,_0x1a1619,_0x1f9ed4,_0x5a091f,_0x4f616d){return _0xffafb3(_0x1a1619,_0x1f9ed4,_0x5a091f,_0x4f616d);},'lRPLi':function(_0x152f78,_0x287b14){return _0x152f78(_0x287b14);},'mgTVT':_0x7adddc(0x225)},_0x28eb03=process[_0x7adddc(0x202)][_0x7adddc(0x23a)](0x2),_0x41cf1d=new BrowserStackSetup(_0x8ed146['argv'],_0x49a236[_0x7adddc(0x212)]);return _0x49a236[_0x7adddc(0x265)](captureError,_0x49a236[_0x7adddc(0x219)](require,_0x49a236[_0x7adddc(0x21f)]),_0x8ed146['argv'],_0x41cf1d,_0x28eb03);})[a48_0x105771(0x239)](a48_0x105771(0x20c),Constants[a48_0x105771(0x245)][a48_0x105771(0x216)],function(_0x190791){const _0x2b9642=a48_0x105771,_0x5e3493={'GgWtd':'vanilla','MIRqs':function(_0x4755a1,_0x155758,_0x50023a,_0x1a5785,_0x4fa70a){return _0x4755a1(_0x155758,_0x50023a,_0x1a5785,_0x4fa70a);},'GgBJv':function(_0x19f4d1,_0x2db8e5){return _0x19f4d1(_0x2db8e5);},'uOcbL':_0x2b9642(0x270)},_0x174e31=process[_0x2b9642(0x202)][_0x2b9642(0x23a)](0x2),_0x15732e=new BrowserStackSetup(_0x190791[_0x2b9642(0x202)],_0x5e3493['GgWtd']);return _0x5e3493[_0x2b9642(0x208)](captureError,_0x5e3493[_0x2b9642(0x1f4)](require,_0x5e3493[_0x2b9642(0x20e)]),_0x190791[_0x2b9642(0x202)],_0x15732e,_0x174e31);})[a48_0x105771(0x239)](a48_0x105771(0x20d),Constants[a48_0x105771(0x26b)]['INFO'],function(_0xbf183c){const _0x19376b=a48_0x105771,_0x4a7b73={'FnPdy':function(_0x3f2d25,_0x498ac4,_0x1a65a9,_0x52cae3,_0x5cf2af){return _0x3f2d25(_0x498ac4,_0x1a65a9,_0x52cae3,_0x5cf2af);},'DBtuL':function(_0x29549d,_0x378182){return _0x29549d(_0x378182);},'nrAjt':_0x19376b(0x256)},_0x90512d=process[_0x19376b(0x202)][_0x19376b(0x23a)](0x2),_0x509133=new BrowserStackSetup(_0xbf183c[_0x19376b(0x202)]);return _0x4a7b73['FnPdy'](captureError,_0x4a7b73['DBtuL'](require,_0x4a7b73['nrAjt']),_0xbf183c['argv'],_0x509133,_0x90512d);})[a48_0x105771(0x239)](a48_0x105771(0x1e0),Constants[a48_0x105771(0x232)][a48_0x105771(0x216)],function(_0x361a28){const _0x117b98=a48_0x105771,_0x44bbd5={'ndRTS':'codeceptjs','FdRcn':function(_0x1f4383,_0x241a08,_0x210851,_0x5cc1c7,_0x254376){return _0x1f4383(_0x241a08,_0x210851,_0x5cc1c7,_0x254376);},'Xwhvu':function(_0x204dbe,_0x50e811){return _0x204dbe(_0x50e811);},'UpxhD':'./codeceptjs/command'},_0x9191c4=process[_0x117b98(0x202)]['slice'](0x2),_0x362b38=new BrowserStackSetup(_0x361a28[_0x117b98(0x202)],_0x44bbd5['ndRTS']);return _0x44bbd5['FdRcn'](captureError,_0x44bbd5[_0x117b98(0x21e)](require,_0x44bbd5[_0x117b98(0x22a)]),_0x361a28[_0x117b98(0x202)],_0x362b38,_0x9191c4);})[a48_0x105771(0x239)]('ats',Constants[a48_0x105771(0x26e)]['INFO'],function(_0x33fe28){const _0x5b7b9c=a48_0x105771,_0x5b090c={'HZPjt':function(_0x1d03d5,_0x4e3632,_0x5275a1){return _0x1d03d5(_0x4e3632,_0x5275a1);},'oLomD':function(_0x1d1c7b,_0x59cca2){return _0x1d1c7b(_0x59cca2);},'mDSPN':_0x5b7b9c(0x1fb)},_0x54f4ce=process[_0x5b7b9c(0x202)][_0x5b7b9c(0x23a)](0x2);return _0x5b090c[_0x5b7b9c(0x26d)](captureError,_0x5b090c['oLomD'](require,_0x5b090c['mDSPN']),_0x33fe28);})['command'](a48_0x105771(0x261),Constants[a48_0x105771(0x221)][a48_0x105771(0x216)],function(_0x2d6a89){const _0x52b32f=a48_0x105771,_0x4f2c1a={'gpdZc':function(_0x2bb228,_0x37d71e){return _0x2bb228(_0x37d71e);}};return _0x4f2c1a[_0x52b32f(0x243)](runIntegrations,_0x2d6a89);})[a48_0x105771(0x239)](a48_0x105771(0x260),Constants['PLAYWRIGHT'][a48_0x105771(0x216)],function(_0x1e0d26){const _0x3c067a=a48_0x105771,_0x10b60f={'EXakG':function(_0x8d0e28,_0x5b9f59,_0x5288a5,_0x24c6b8,_0x301a17){return _0x8d0e28(_0x5b9f59,_0x5288a5,_0x24c6b8,_0x301a17);},'jCQVo':function(_0x1239b7,_0x242461){return _0x1239b7(_0x242461);},'EZsDV':_0x3c067a(0x228)},_0x536324=process[_0x3c067a(0x202)][_0x3c067a(0x23a)](0x2);helper[_0x3c067a(0x217)](process[_0x3c067a(0x202)])&&(process[_0x3c067a(0x222)][_0x3c067a(0x273)]=helper[_0x3c067a(0x217)](process['argv']));helper[_0x3c067a(0x25d)](),helper[_0x3c067a(0x248)]();const _0x386b57=new BrowserStackSetup(_0x1e0d26[_0x3c067a(0x202)],FRAMEWORKS['PLAYWRIGHT']);return _0x10b60f[_0x3c067a(0x1e2)](captureError,_0x10b60f[_0x3c067a(0x231)](require,_0x10b60f[_0x3c067a(0x1e8)]),_0x1e0d26[_0x3c067a(0x202)],_0x386b57,_0x536324);})[a48_0x105771(0x239)]('load\x20[subcommand]',a48_0x105771(0x25f),function(_0x3b56fa){const _0x14324d=a48_0x105771,_0x134ea0={};_0x134ea0[_0x14324d(0x254)]='help',_0x134ea0['jzync']=_0x14324d(0x1e5),_0x134ea0[_0x14324d(0x240)]='Show\x20help';const _0x9a604c=_0x134ea0;return _0x3b56fa['help'](![])[_0x14324d(0x1e1)](_0x9a604c[_0x14324d(0x254)],{'alias':'h','type':_0x9a604c[_0x14324d(0x251)],'describe':_0x9a604c[_0x14324d(0x240)]})[_0x14324d(0x255)](![])[_0x14324d(0x1f6)](![]);},function(_0x19a1b0){const _0x37b40b=a48_0x105771,_0x1af39e={'StKOW':function(_0x547934,_0x2165e1,_0x3ae162){return _0x547934(_0x2165e1,_0x3ae162);},'VwJFA':function(_0x256969,_0xe0a8d9){return _0x256969(_0xe0a8d9);},'qtkdG':_0x37b40b(0x25e)},_0x3cdcec={};return _0x3cdcec['argv']=_0x19a1b0,_0x1af39e[_0x37b40b(0x23c)](captureError,_0x1af39e['VwJFA'](require,_0x1af39e[_0x37b40b(0x214)]),_0x3cdcec);})[a48_0x105771(0x21b)](0x1,a48_0x105771(0x224))[a48_0x105771(0x1eb)](null)[a48_0x105771(0x202)];!helper[a48_0x105771(0x250)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x105771(0x242)&&console[a48_0x105771(0x1f1)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a48_0x29a5d6=a48_0x515e;(function(_0x1a0cd1,_0x565348){const _0xf84d1b=a48_0x515e,_0x529114=_0x1a0cd1();while(!![]){try{const _0x534b21=-parseInt(_0xf84d1b(0x107))/0x1+-parseInt(_0xf84d1b(0xbd))/0x2*(parseInt(_0xf84d1b(0xf9))/0x3)+-parseInt(_0xf84d1b(0xd2))/0x4*(-parseInt(_0xf84d1b(0x110))/0x5)+-parseInt(_0xf84d1b(0xc5))/0x6*(parseInt(_0xf84d1b(0xd7))/0x7)+-parseInt(_0xf84d1b(0xcd))/0x8+parseInt(_0xf84d1b(0xc6))/0x9+parseInt(_0xf84d1b(0x116))/0xa;if(_0x534b21===_0x565348)break;else _0x529114['push'](_0x529114['shift']());}catch(_0x59e256){_0x529114['push'](_0x529114['shift']());}}}(a48_0x1433,0x38fed));const fs=require('fs'),path=require(a48_0x29a5d6(0x134)),util=require(a48_0x29a5d6(0x127)),spawn=require('child_process')[a48_0x29a5d6(0xb8)],{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require('../helpers/performance/constants')[a48_0x29a5d6(0x145)],helper=require('../helpers/helper'),utilities=require(a48_0x29a5d6(0xdf)),{default:BrowserStackSetup}=require(a48_0x29a5d6(0xe7)),{FRAMEWORKS}=require(a48_0x29a5d6(0xec)),runIntegrations=require('./integrations/command'),yargs=require(a48_0x29a5d6(0x141)),Constants=require(a48_0x29a5d6(0xb5)),BrowserstackCLI=require(a48_0x29a5d6(0x123)),logger=require('../helpers/logger')['winstonLogger'],origArgs=Object[a48_0x29a5d6(0xf2)]([],process[a48_0x29a5d6(0x104)]),captureError=async(_0x11ccf8,_0x320fec,_0xfa34b6,_0x68a8eb=null)=>{const _0x7a16fe=a48_0x29a5d6,_0x383126={'adhHs':function(_0x43be27,_0x154a5f,_0x1dac29,_0x5d60a1){return _0x43be27(_0x154a5f,_0x1dac29,_0x5d60a1);},'yEopA':_0x7a16fe(0x13c)};try{logger[_0x7a16fe(0x105)](_0x7a16fe(0x10c)+origArgs[_0x7a16fe(0x13d)]('\x20')),await _0x383126[_0x7a16fe(0x109)](_0x11ccf8,_0x320fec,_0x68a8eb,_0xfa34b6);}catch(_0x17183a){process['exitCode']=0x1,logger[_0x7a16fe(0x119)](util[_0x7a16fe(0xd9)](_0x17183a));const _0x36ac6e={'globalException':util[_0x7a16fe(0xd9)]('%j',_0x17183a)};PerformanceTester[_0x7a16fe(0xc3)](PerformanceEvents[_0x7a16fe(0xe6)],![],util[_0x7a16fe(0xd9)](_0x17183a));if(helper[_0x7a16fe(0xb4)](global['config'])&&helper[_0x7a16fe(0xb4)](global[_0x7a16fe(0x11e)]))return;try{utilities[_0x7a16fe(0x137)](_0x383126['yEopA'],_0x36ac6e,global[_0x7a16fe(0xd5)],global[_0x7a16fe(0x11e)]);}catch(_0x12b042){logger['debug'](_0x7a16fe(0xf0)+_0x12b042[_0x7a16fe(0xc9)]);}try{await helper[_0x7a16fe(0x12c)](global['config']);}catch(_0xeb2d19){logger[_0x7a16fe(0x135)](_0x7a16fe(0xcc)+_0xeb2d19[_0x7a16fe(0xc9)]);}await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x7a16fe(0xc3)](PerformanceEvents[_0x7a16fe(0xe6)],![],util[_0x7a16fe(0xd9)](_0x17183a));}finally{PerformanceTester[_0x7a16fe(0x118)](PerformanceEvents[_0x7a16fe(0xf6)]);}};function a48_0x515e(_0x3c70c2,_0x56afac){const _0x1433a5=a48_0x1433();return a48_0x515e=function(_0x515e93,_0x2c236f){_0x515e93=_0x515e93-0xb2;let _0x4a2787=_0x1433a5[_0x515e93];return _0x4a2787;},a48_0x515e(_0x3c70c2,_0x56afac);}try{const browserstackFolderPath=path[a48_0x29a5d6(0x13d)](helper[a48_0x29a5d6(0x125)](),a48_0x29a5d6(0xe1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a48_0x29a5d6(0x13d)](browserstackFolderPath,a48_0x29a5d6(0x103));fs[a48_0x29a5d6(0xe2)](filePath)&&fs[a48_0x29a5d6(0x136)](filePath);}}catch(a48_0x69cfb4){logger[a48_0x29a5d6(0x135)](a48_0x29a5d6(0xff)+a48_0x69cfb4[a48_0x29a5d6(0x10f)]);}process['argv'][a48_0x29a5d6(0x112)](a48_0x29a5d6(0xd3))&&(!process[a48_0x29a5d6(0x104)][a48_0x29a5d6(0x112)]('--opts')&&process[a48_0x29a5d6(0x104)][a48_0x29a5d6(0x133)]('--no-opts'),!process[a48_0x29a5d6(0x104)]['find'](_0x1d2088=>_0x1d2088[a48_0x29a5d6(0x112)](a48_0x29a5d6(0xfe)))&&process[a48_0x29a5d6(0x104)]['push'](a48_0x29a5d6(0xbc)),!process['argv']['includes'](a48_0x29a5d6(0x10a))&&process[a48_0x29a5d6(0x104)][a48_0x29a5d6(0x133)](a48_0x29a5d6(0x113)),helper[a48_0x29a5d6(0xb9)](process[a48_0x29a5d6(0x104)],a48_0x29a5d6(0x143),a48_0x29a5d6(0x111)));PerformanceTester[a48_0x29a5d6(0x118)](PerformanceEvents['SDK_SETUP']);function a48_0x1433(){const _0x3a968e=['describe','framework','mocha/lib/cli/cli.js','version','QyPWe','UumZU','./v2/browserstackCLI','dDxgS','homedir','HELP','util','CODECEPTJS','strict','HFzNq','qpJRC','sendLogs','MOCHA','wrap','bxTPf','PLAYWRIGHT','mocha/lib/cli/run.js','VERSION','push','path','debug','unlinkSync','fireFunnelTestEvent','load\x20[subcommand]','getConfigPath','showHelpOnFail','./load/index','SDKTestSuccessful','join','vmOkT','SvNBv','Runs\x20the\x20binary\x20with\x20load\x20command','yargs','INTEGRATIONS','--require','nightwatch','EVENTS','BorRX','help','fEvZU','isUndefined','./utils/constants','./playwright/command','ygSVQ','spawn','findAndReplace','zVTbt','msghJ','--no-config','2fIRaXt','IhRmX','JsRUW','SAlqF','HjZFh','AKCrF','end','./nightwatch/command','249894LgzdVX','3864681RkNNiO','jest','wvJZK','stack','xyRuE','eBNAg','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','2624960JlVCsL','slice','JDoLU','FDykH','iTkOB','4twaRzY','mocha','ocRpW','config','./mocha/command','63ugcvod','parserConfiguration','format','NIGHTWATCH','cssSO','dot-notation','boolean','./cucumber-js/command','../helpers/utilities','INFO','.browserstack','existsSync','./codeceptjs/command','VANILLA','setBrowserStackAutomationDisable','SDK_SETUP','../helpers/BrowserStackSetup','wtbiB','option','env','HOnBu','../helpers/test-observability/constants','codeceptjs','xRaiv','usage','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','./vanilla-js/command','assign','JEST','integrations','ats','SDK_CLEANUP','SbdzS','BCXMy','28065XHWphF','HST','../../ats/src/index','fkZGi','UVOqY','--config','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Show\x20help','vanilla','cucumber-js','.local-not-set.json','argv','info','node','56003YtMqpR','BROWSERSTACK_CONFIG_FILE_PATH','adhHs','--package','setTestObservabilityDisable','Running\x20SDK\x20with\x20args\x20','handler','exitProcess','message','2074365srZRGa','--mochaRequire','includes','--no-package','command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','1574900bhwBhh','WPDMQ','start','error','LAJDu','Parsing\x20command\x20line\x20arguments','vePyW'];a48_0x1433=function(){return _0x3a968e;};return a48_0x1433();}const a48_0x23bec1={};a48_0x23bec1[a48_0x29a5d6(0xdc)]=![];const argv=yargs[a48_0x29a5d6(0xd8)](a48_0x23bec1)[a48_0x29a5d6(0xef)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a48_0x29a5d6(0x120))[a48_0x29a5d6(0x11d)]('v')['alias']('h','help')[a48_0x29a5d6(0xb2)]('help')[a48_0x29a5d6(0x13a)](!![],Constants[a48_0x29a5d6(0x132)][a48_0x29a5d6(0x126)])['command'](a48_0x29a5d6(0xc7),Constants[a48_0x29a5d6(0xf3)][a48_0x29a5d6(0xe0)],function(_0x42df6f){const _0x42e9b6=a48_0x29a5d6,_0x96cde4={'xyRuE':'jest','vmOkT':function(_0xb624b2,_0x2f9b9c,_0x1e1855,_0x2f41ed,_0x5d78d1){return _0xb624b2(_0x2f9b9c,_0x1e1855,_0x2f41ed,_0x5d78d1);},'eBNAg':function(_0x2135f1,_0x22887f){return _0x2135f1(_0x22887f);},'zVTbt':'./jest/command'},_0x45202d=process[_0x42e9b6(0x104)]['slice'](0x2);helper[_0x42e9b6(0x10b)](),helper['setBrowserStackAutomationDisable']();const _0x53adff=new BrowserStackSetup(_0x42df6f[_0x42e9b6(0x104)],_0x96cde4[_0x42e9b6(0xca)]);return _0x96cde4[_0x42e9b6(0x13e)](captureError,_0x96cde4[_0x42e9b6(0xcb)](require,_0x96cde4[_0x42e9b6(0xba)]),_0x42df6f['argv'],_0x53adff,_0x45202d);})[a48_0x29a5d6(0x114)](a48_0x29a5d6(0xd3),Constants[a48_0x29a5d6(0x12d)][a48_0x29a5d6(0xe0)],_0x4e2fd0=>{const _0x265adf=a48_0x29a5d6,_0x430cad={'tBCkA':function(_0x369807,_0x1278be,_0xd3a52c,_0x1a10a7){return _0x369807(_0x1278be,_0xd3a52c,_0x1a10a7);},'msghJ':function(_0x4f167b,_0x346bbf){return _0x4f167b(_0x346bbf);},'JDoLU':_0x265adf(0xd6),'vePyW':'mocha','LAJDu':_0x265adf(0x11b),'BorRX':function(_0x2b2e4d,_0x2844ae,_0x205e8d){return _0x2b2e4d(_0x2844ae,_0x205e8d);},'FDykH':_0x265adf(0x131),'uOVnk':function(_0x1899be,_0x19aa89,_0xdc2689){return _0x1899be(_0x19aa89,_0xdc2689);},'HjZFh':'mocha/lib/cli/commands.js','fEvZU':function(_0x176145,_0x48c698,_0x2b2d79){return _0x176145(_0x48c698,_0x2b2d79);},'bxTPf':_0x265adf(0x11f),'qpJRC':function(_0x39c8b6){return _0x39c8b6();}};process[_0x265adf(0x104)]=process[_0x265adf(0x104)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper[_0x265adf(0xe5)]();const _0x1c5489=new BrowserStackSetup(_0x4e2fd0[_0x265adf(0x104)],_0x430cad['vePyW']);logger[_0x265adf(0x135)](_0x430cad[_0x265adf(0x11a)]);const _0x2e24ee=_0x430cad[_0x265adf(0x146)](requireModule,_0x430cad[_0x265adf(0xd0)],_0x430cad[_0x265adf(0x11c)]),_0x425e5c=_0x430cad['uOVnk'](requireModule,_0x430cad[_0x265adf(0xc1)],_0x430cad[_0x265adf(0x11c)]);delete _0x2e24ee[_0x265adf(0x10d)],_0x2e24ee[_0x265adf(0x10d)]=function(_0x20db5d){const _0x50c58e=_0x265adf;return _0x430cad['tBCkA'](captureError,_0x430cad[_0x50c58e(0xbb)](require,_0x430cad[_0x50c58e(0xcf)]),_0x20db5d,_0x1c5489);},_0x425e5c['run']=_0x2e24ee;const {main:_0xb787db}=_0x430cad[_0x265adf(0xb3)](requireModule,_0x430cad[_0x265adf(0x12f)],_0x430cad[_0x265adf(0x11c)]);_0x430cad[_0x265adf(0x12b)](_0xb787db);})['command'](a48_0x29a5d6(0x102),Constants['CUCUMBER'][a48_0x29a5d6(0xe0)],function(_0x26b3c6){const _0x26b5b0=a48_0x29a5d6,_0x2d2bec={'ygSVQ':'cucumber-js','VpbYJ':function(_0x257e54,_0x1f478d,_0x2dbd74,_0x334bd2,_0x7b07d1){return _0x257e54(_0x1f478d,_0x2dbd74,_0x334bd2,_0x7b07d1);},'UVOqY':function(_0x144120,_0xdb37c2){return _0x144120(_0xdb37c2);},'AKCrF':_0x26b5b0(0xde)},_0x57dde1=process[_0x26b5b0(0x104)][_0x26b5b0(0xce)](0x2),_0x10ceda=new BrowserStackSetup(_0x26b3c6[_0x26b5b0(0x104)],_0x2d2bec[_0x26b5b0(0xb7)]);return _0x2d2bec['VpbYJ'](captureError,_0x2d2bec[_0x26b5b0(0xfd)](require,_0x2d2bec[_0x26b5b0(0xc2)]),_0x26b3c6[_0x26b5b0(0x104)],_0x10ceda,_0x57dde1);})['command'](a48_0x29a5d6(0x106),Constants[a48_0x29a5d6(0xe4)]['INFO'],function(_0x4dbaf6){const _0x5e992d=a48_0x29a5d6,_0x28f5bf={'ocRpW':_0x5e992d(0x101),'iTkOB':function(_0x47684a,_0x25b5a1,_0x57d7cd,_0x45667e,_0x1a5666){return _0x47684a(_0x25b5a1,_0x57d7cd,_0x45667e,_0x1a5666);},'xRaiv':function(_0x345f1b,_0x20e51c){return _0x345f1b(_0x20e51c);},'JQpNc':_0x5e992d(0xf1)},_0x19a6a8=process[_0x5e992d(0x104)][_0x5e992d(0xce)](0x2),_0x436f91=new BrowserStackSetup(_0x4dbaf6['argv'],_0x28f5bf[_0x5e992d(0xd4)]);return _0x28f5bf[_0x5e992d(0xd1)](captureError,_0x28f5bf[_0x5e992d(0xee)](require,_0x28f5bf['JQpNc']),_0x4dbaf6[_0x5e992d(0x104)],_0x436f91,_0x19a6a8);})[a48_0x29a5d6(0x114)](a48_0x29a5d6(0x144),Constants[a48_0x29a5d6(0xda)][a48_0x29a5d6(0xe0)],function(_0x4b7e5d){const _0x531698=a48_0x29a5d6,_0x151ade={'BCXMy':function(_0x299454,_0x16d65c,_0x38f6e7,_0x401fa2,_0x58fd09){return _0x299454(_0x16d65c,_0x38f6e7,_0x401fa2,_0x58fd09);},'bjqcf':function(_0x2cd145,_0x292633){return _0x2cd145(_0x292633);},'SbdzS':_0x531698(0xc4)},_0x420de8=process[_0x531698(0x104)]['slice'](0x2),_0x40e405=new BrowserStackSetup(_0x4b7e5d[_0x531698(0x104)]);return _0x151ade[_0x531698(0xf8)](captureError,_0x151ade['bjqcf'](require,_0x151ade[_0x531698(0xf7)]),_0x4b7e5d[_0x531698(0x104)],_0x40e405,_0x420de8);})['command']('codeceptjs',Constants[a48_0x29a5d6(0x128)]['INFO'],function(_0x467ec7){const _0x4afacd=a48_0x29a5d6,_0x7342bc={'dDxgS':_0x4afacd(0xed),'SAlqF':function(_0x201136,_0x1533c9,_0x591c09,_0x4a4031,_0x2ee4cd){return _0x201136(_0x1533c9,_0x591c09,_0x4a4031,_0x2ee4cd);},'CAovD':function(_0x248676,_0x1d7220){return _0x248676(_0x1d7220);},'fkZGi':_0x4afacd(0xe3)},_0x2dc7a5=process[_0x4afacd(0x104)]['slice'](0x2),_0xaf291=new BrowserStackSetup(_0x467ec7[_0x4afacd(0x104)],_0x7342bc[_0x4afacd(0x124)]);return _0x7342bc[_0x4afacd(0xc0)](captureError,_0x7342bc['CAovD'](require,_0x7342bc[_0x4afacd(0xfc)]),_0x467ec7[_0x4afacd(0x104)],_0xaf291,_0x2dc7a5);})[a48_0x29a5d6(0x114)](a48_0x29a5d6(0xf5),Constants[a48_0x29a5d6(0xfa)]['INFO'],function(_0x1fa535){const _0x4b1743=a48_0x29a5d6,_0x570abf={'QyPWe':function(_0x987d0,_0x20a60c,_0x4fe557){return _0x987d0(_0x20a60c,_0x4fe557);},'cssSO':function(_0x4470a1,_0x191cb1){return _0x4470a1(_0x191cb1);},'uTDMy':_0x4b1743(0xfb)},_0x463884=process[_0x4b1743(0x104)]['slice'](0x2);return _0x570abf[_0x4b1743(0x121)](captureError,_0x570abf[_0x4b1743(0xdb)](require,_0x570abf['uTDMy']),_0x1fa535);})[a48_0x29a5d6(0x114)](a48_0x29a5d6(0xf4),Constants[a48_0x29a5d6(0x142)][a48_0x29a5d6(0xe0)],function(_0x57fd42){const _0x6d8e99=a48_0x29a5d6,_0x1e4ed7={'SvNBv':function(_0x2cd273,_0x1f2661){return _0x2cd273(_0x1f2661);}};return _0x1e4ed7[_0x6d8e99(0x13f)](runIntegrations,_0x57fd42);})['command']('playwright',Constants[a48_0x29a5d6(0x130)][a48_0x29a5d6(0xe0)],function(_0x3f30d2){const _0x1fe1c1=a48_0x29a5d6,_0x3095b1={'HOnBu':function(_0xac0ccb,_0x5a04b8,_0x5559cb,_0x4595d0,_0x4e34de){return _0xac0ccb(_0x5a04b8,_0x5559cb,_0x4595d0,_0x4e34de);},'wtbiB':function(_0x30083f,_0x4f0244){return _0x30083f(_0x4f0244);},'UumZU':_0x1fe1c1(0xb6)},_0x5c4684=process[_0x1fe1c1(0x104)][_0x1fe1c1(0xce)](0x2);helper[_0x1fe1c1(0x139)](process[_0x1fe1c1(0x104)])&&(process[_0x1fe1c1(0xea)][_0x1fe1c1(0x108)]=helper[_0x1fe1c1(0x139)](process[_0x1fe1c1(0x104)]));helper['setTestObservabilityDisable'](),helper[_0x1fe1c1(0xe5)]();const _0x587d43=new BrowserStackSetup(_0x3f30d2[_0x1fe1c1(0x104)],FRAMEWORKS[_0x1fe1c1(0x130)]);return _0x3095b1[_0x1fe1c1(0xeb)](captureError,_0x3095b1[_0x1fe1c1(0xe8)](require,_0x3095b1[_0x1fe1c1(0x122)]),_0x3f30d2[_0x1fe1c1(0x104)],_0x587d43,_0x5c4684);})[a48_0x29a5d6(0x114)](a48_0x29a5d6(0x138),a48_0x29a5d6(0x140),function(_0x258f5a){const _0x318a7e=a48_0x29a5d6,_0x2dfef6={};_0x2dfef6[_0x318a7e(0xbe)]=_0x318a7e(0xb2),_0x2dfef6[_0x318a7e(0xc8)]=_0x318a7e(0xdd),_0x2dfef6[_0x318a7e(0xbf)]=_0x318a7e(0x100);const _0x53c5d9=_0x2dfef6;return _0x258f5a['help'](![])[_0x318a7e(0xe9)](_0x53c5d9[_0x318a7e(0xbe)],{'alias':'h','type':_0x53c5d9[_0x318a7e(0xc8)],'describe':_0x53c5d9[_0x318a7e(0xbf)]})[_0x318a7e(0x129)](![])[_0x318a7e(0x10e)](![]);},function(_0x24e1e5){const _0x46217b=a48_0x29a5d6,_0x486bfc={'HFzNq':function(_0x23db54,_0x2a583f,_0x421038){return _0x23db54(_0x2a583f,_0x421038);},'WPDMQ':function(_0x1df690,_0x51e8c8){return _0x1df690(_0x51e8c8);},'ZyChi':_0x46217b(0x13b)},_0x21cafa={};return _0x21cafa[_0x46217b(0x104)]=_0x24e1e5,_0x486bfc[_0x46217b(0x12a)](captureError,_0x486bfc[_0x46217b(0x117)](require,_0x486bfc['ZyChi']),_0x21cafa);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x29a5d6(0x12e)](null)[a48_0x29a5d6(0x104)];!helper[a48_0x29a5d6(0xb4)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x29a5d6(0xf5)&&console[a48_0x29a5d6(0x119)](a48_0x29a5d6(0x115));
|