browserstack-node-sdk 1.64.2 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- 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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- 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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/puppeteer-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/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x1578c3=a9_0x7a55;(function(_0x104263,_0x380ab5){const _0x473fb0=a9_0x7a55,_0x1b55ec=_0x104263();while(!![]){try{const _0x1f6751=-parseInt(_0x473fb0(0x133))/0x1+parseInt(_0x473fb0(0x100))/0x2*(parseInt(_0x473fb0(0x171))/0x3)+-parseInt(_0x473fb0(0x132))/0x4*(-parseInt(_0x473fb0(0xfc))/0x5)+parseInt(_0x473fb0(0x163))/0x6+-parseInt(_0x473fb0(0x158))/0x7*(-parseInt(_0x473fb0(0x107))/0x8)+-parseInt(_0x473fb0(0x172))/0x9+-parseInt(_0x473fb0(0x189))/0xa;if(_0x1f6751===_0x380ab5)break;else _0x1b55ec['push'](_0x1b55ec['shift']());}catch(_0x1893cb){_0x1b55ec['push'](_0x1b55ec['shift']());}}}(a9_0x425b,0xdb93f));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x1578c3(0x128)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x1578c3(0x1b0)),PerformanceTester=require(a9_0x1578c3(0x159)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x1578c3(0x196)),cucumberModule=requireModule(a9_0x1578c3(0x11d),a9_0x1578c3(0x15a)),logger=require(a9_0x1578c3(0xee))[a9_0x1578c3(0x1cf)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x1578c3(0x145)),TestDetails=require('../playwright/reporter/test-details.js'),TestInfo=require(a9_0x1578c3(0xfb)),RequestQueueHandler=require(a9_0x1578c3(0x16b)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x1578c3(0x13c)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x1578c3(0x1a2)),globals=require(a9_0x1578c3(0x109)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x1578c3(0x15e)),{isUndefined}=require(a9_0x1578c3(0x1dc)),helper=require(a9_0x1578c3(0x10e));try{require(a9_0x1578c3(0x192))[a9_0x1578c3(0xde)](a9_0x1578c3(0xd9));}catch(a9_0x4bb1b9){logger[a9_0x1578c3(0xf3)]('driver-init\x20capture\x20install\x20failed:\x20'+(a9_0x4bb1b9&&a9_0x4bb1b9[a9_0x1578c3(0x17f)]));}const a9_0x21eecf={};a9_0x21eecf[a9_0x1578c3(0x18e)]=undefined,a9_0x21eecf[a9_0x1578c3(0x15f)]={},a9_0x21eecf[a9_0x1578c3(0x1a0)]=![],a9_0x21eecf[a9_0x1578c3(0x130)]=null,a9_0x21eecf[a9_0x1578c3(0x1c7)]=![],a9_0x21eecf[a9_0x1578c3(0x15f)]['id']=undefined,a9_0x21eecf[a9_0x1578c3(0x15f)][a9_0x1578c3(0x18a)]=undefined;const workerDetails=a9_0x21eecf;global[a9_0x1578c3(0x12e)]=workerDetails;let playwrightPatcher=null;function a9_0x7a55(_0x236494,_0x3821a4){const _0x425be8=a9_0x425b();return a9_0x7a55=function(_0x7a5540,_0x1f0b32){_0x7a5540=_0x7a5540-0xd2;let _0x46c77a=_0x425be8[_0x7a5540];return _0x46c77a;},a9_0x7a55(_0x236494,_0x3821a4);}shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x1c0564){const _0xbb7c63=a9_0x1578c3,_0x5463a1={'aGIzV':function(_0x38591a,_0x548b7d){return _0x38591a(_0x548b7d);},'axSLL':_0xbb7c63(0x13e),'WwhCy':_0xbb7c63(0xea)},_0x1599a0=workerDetails[_0xbb7c63(0x15f)][_0xbb7c63(0x18a)];if(!_0x1599a0)return;if(playwrightPatcher)try{const _0x288d6e=_0x5463a1[_0xbb7c63(0x181)](require,_0x5463a1[_0xbb7c63(0x154)]);if(_0x288d6e[_0xbb7c63(0xdd)]()['isRunning']()){const _0x2a910d=_0x1599a0[_0xbb7c63(0xe5)];_0x2a910d?(_0x1c0564[_0xbb7c63(0x1b4)]=_0x2a910d,_0x1c0564[_0xbb7c63(0xf6)]=_0x2a910d,TestInfo[_0xbb7c63(0x162)](_0x2a910d,_0x1c0564)):logger['debug'](_0x5463a1[_0xbb7c63(0x166)]);return;}}catch(_0x16b046){logger['debug']('Error\x20sending\x20log\x20created\x20event:\x20'+util[_0xbb7c63(0x139)](_0x16b046));}await MyReporter[_0xbb7c63(0x112)](_0x1599a0,_0x1c0564);}),registerListeners=()=>{const _0x278fc9=a9_0x1578c3,_0x1f6a6e={};_0x1f6a6e[_0x278fc9(0x167)]=_0x278fc9(0x1ae);const _0x50ea90=_0x1f6a6e;logger[_0x278fc9(0xf3)](_0x50ea90[_0x278fc9(0x167)]),process[_0x278fc9(0x1c0)](_0x278fc9(0x1a1)+process[_0x278fc9(0x161)]),process['on'](_0x278fc9(0x1a1)+process['pid'],sendTestLog),PerformanceTester[_0x278fc9(0x11e)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x1578c3(0x131)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x1578c3(0x1a4)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x1578c3(0x18c)],configuration=process[a9_0x1578c3(0x1a3)]['CONFIG'],bstackConfig=process['env'][a9_0x1578c3(0xe0)];if(configuration!==undefined){const config=JSON[a9_0x1578c3(0x14c)](configuration);isBrowserstackInfra()?(global[a9_0x1578c3(0x151)]=isTrue(config[a9_0x1578c3(0x1da)]),global[a9_0x1578c3(0x185)]=isTrue(config[a9_0x1578c3(0x1ab)])):(global['__skipSessionName']=!![],global[a9_0x1578c3(0x185)]=!![]);!helper[a9_0x1578c3(0x12f)](a9_0x1578c3(0xf0))&&(logger[a9_0x1578c3(0xf3)](a9_0x1578c3(0x123)),shouldProcessEventForTesthub()?require(a9_0x1578c3(0xd6))['browserstackAgentV2'](config,null,!![]):require(a9_0x1578c3(0xd6))['browserstackAgentV2'](config));global['__platformCaps']=config['platformCaps']||{},global['browserstackPlatformIndex']=config[a9_0x1578c3(0xf1)];if(helper[a9_0x1578c3(0x12f)](a9_0x1578c3(0xf0)))try{logger[a9_0x1578c3(0xf3)](a9_0x1578c3(0x183)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x1578c3(0x1c8)](config),logger[a9_0x1578c3(0xf3)](a9_0x1578c3(0x1cc));}catch(a9_0x4c7299){logger[a9_0x1578c3(0xf3)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a9_0x1578c3(0x139)](a9_0x4c7299));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x1578c3(0x14c)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x1578c3(0x1cd)]('cucumber-js'));}global[a9_0x1578c3(0x178)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x1578c3(0xec)];cucumberModule[a9_0x1578c3(0xec)]=_0x4355d5=>{const _0xeef999=a9_0x1578c3,_0x462e66={'WAgtR':function(_0x5a0778,_0xcbb696){return _0x5a0778(_0xcbb696);}};global[_0xeef999(0x178)]=_0x4355d5,_0x462e66[_0xeef999(0x1aa)](__setDefaultTimeout,_0x4355d5);};const a9_0x2d7666={};a9_0x2d7666[a9_0x1578c3(0x1d6)]=a9_0x1578c3(0x155),BeforeAll(a9_0x2d7666,async function(){const _0x44e933=a9_0x1578c3,_0x8c1e0d={'gmoKU':function(_0x28cf28,_0x296377,_0x51c3e6,_0x35e5b7){return _0x28cf28(_0x296377,_0x51c3e6,_0x35e5b7);},'aqMBk':_0x44e933(0xe7),'qxfeL':_0x44e933(0x1d2),'PhaJQ':function(_0x4903c9,_0x29965e,_0x672e5f){return _0x4903c9(_0x29965e,_0x672e5f);},'ABrEJ':_0x44e933(0x14a),'SOrQZ':_0x44e933(0x149),'EJgbU':function(_0xa8473d,_0x37e4cd){return _0xa8473d(_0x37e4cd);},'PlmMK':_0x44e933(0x13e),'EFuUb':function(_0x2d26ed,_0xa374e1){return _0x2d26ed(_0xa374e1);},'MRvIF':_0x44e933(0x1d3),'uNnGV':_0x44e933(0x184),'YYMIx':function(_0x1b03e9){return _0x1b03e9();},'HbgKT':function(_0x13fbdf){return _0x13fbdf();},'MmqcI':function(_0x2f79f3,_0x22bafe){return _0x2f79f3(_0x22bafe);}};PerformanceTester[_0x44e933(0x11e)](),logger[_0x44e933(0xf3)](_0x8c1e0d['SOrQZ']),global[_0x44e933(0xf7)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x44e7ca=_0x8c1e0d[_0x44e933(0x180)](require,_0x8c1e0d[_0x44e933(0x11c)]),_0x390533=_0x8c1e0d[_0x44e933(0x1c3)](require,_0x8c1e0d['MRvIF']);_0x44e7ca[_0x44e933(0xdd)]()[_0x44e933(0x156)]()&&(logger[_0x44e933(0xf3)](_0x8c1e0d['uNnGV']),_0x390533[_0x44e933(0x198)](FRAMEWORKS[_0x44e933(0x1be)],FRAMEWORKS[_0x44e933(0xda)]),await _0x44e7ca['getInstance']()[_0x44e933(0xfa)]());}catch(_0x3d50a4){logger[_0x44e933(0xf3)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util['format'](_0x3d50a4));}_0x8c1e0d[_0x44e933(0x164)](shouldProcessEventForTesthub)&&(_0x8c1e0d[_0x44e933(0x1d9)](registerListeners),_0x8c1e0d['MmqcI'](addRequestSpy,![])),global[_0x44e933(0xe6)]=async()=>{const _0x58c8b2=_0x44e933;let _0x3a9d3e=![];try{global[_0x58c8b2(0x119)]&&global[_0x58c8b2(0x119)][0x0]&&(await global[_0x58c8b2(0x119)][0x0][_0x58c8b2(0x186)],_0x3a9d3e=!![],global[_0x58c8b2(0x13a)]?await _0x8c1e0d[_0x58c8b2(0x150)](markSessionStatus,global[_0x58c8b2(0x119)][0x0],_0x8c1e0d[_0x58c8b2(0x135)],global[_0x58c8b2(0xf7)][_0x58c8b2(0x1b7)](_0x8c1e0d[_0x58c8b2(0x13d)])):await _0x8c1e0d['PhaJQ'](markSessionStatus,global[_0x58c8b2(0x119)][0x0],_0x8c1e0d[_0x58c8b2(0x1a8)]));}catch(_0x31cbb5){logger[_0x58c8b2(0xf3)](_0x58c8b2(0x1b9)+_0x31cbb5);}global[_0x58c8b2(0xf7)]=[],global[_0x58c8b2(0x13a)]=![];if(_0x3a9d3e)try{await global[_0x58c8b2(0x119)][0x0][_0x58c8b2(0x127)](),global['__drivers'][0x0]['session_'][_0x58c8b2(0x129)](_0x46f86c=>{const _0x338a76=_0x58c8b2;logger['debug'](_0x338a76(0x16d)+_0x46f86c[_0x338a76(0x19d)]());})[_0x58c8b2(0x13b)](_0x1803f9=>{const _0x41804c=_0x58c8b2;logger[_0x41804c(0xf3)](_0x41804c(0x177)+(_0x1803f9&&_0x1803f9['stack']||_0x1803f9));});}catch(_0x583ea6){logger['debug'](_0x58c8b2(0x1a9)+_0x583ea6);}};});const a9_0x5ea5bb={};a9_0x5ea5bb[a9_0x1578c3(0x1d6)]=a9_0x1578c3(0x155),a9_0x5ea5bb[a9_0x1578c3(0x19e)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x1578c3(0x1c2)],Before(a9_0x5ea5bb,function(_0xb92866,_0x4ec3ed){const _0x29c174=a9_0x1578c3,_0x2d7f10={'dyzny':function(_0x56c410,_0x2e5437){return _0x56c410>_0x2e5437;},'bmndn':function(_0x3433d4,_0xea2613){return _0x3433d4(_0xea2613);},'piBaW':function(_0x31c4e5,_0x5dc618,_0x34581a,_0x55ddb1){return _0x31c4e5(_0x5dc618,_0x34581a,_0x55ddb1);},'rpAiW':'bstackA11yShouldScan','MDrON':function(_0x377515,_0x4767e9){return _0x377515(_0x4767e9);},'KcUdR':_0x29c174(0x13e),'PWbMq':function(_0x45661a,_0x385a5f){return _0x45661a(_0x385a5f);},'lbgrf':_0x29c174(0x102),'uQIII':function(_0x24d110,_0x53aa95){return _0x24d110(_0x53aa95);},'fKsPM':_0x29c174(0x14d),'tfUZI':_0x29c174(0x15d),'guTyO':_0x29c174(0x16e),'DFDgu':function(_0xd58e8d){return _0xd58e8d();},'PIaEb':_0x29c174(0x1b5)};commandRepository['setTestNameForHealingContext'](_0xb92866[_0x29c174(0x15b)][_0x29c174(0x1d6)]),logger[_0x29c174(0xf3)](_0x2d7f10[_0x29c174(0x10d)]),new Promise(async _0x56ec00=>{const _0x16199f=_0x29c174;try{global['__drivers']&&_0x2d7f10[_0x16199f(0x11b)](global[_0x16199f(0x119)][_0x16199f(0x195)],0x1)&&(await global['driverCleanup'](),global[_0x16199f(0x119)][_0x16199f(0x176)]()),global[_0x16199f(0x119)]&&global[_0x16199f(0x119)][0x0]&&global[_0x16199f(0x119)][0x0]['quitCount_']&&_0x2d7f10[_0x16199f(0x11b)](global['__drivers'][0x0][_0x16199f(0x17b)],0x0)&&await global[_0x16199f(0xe6)]();}catch(_0x19bd3f){logger[_0x16199f(0xf3)](_0x16199f(0x1a6)+_0x19bd3f);}workerDetails[_0x16199f(0x15f)][_0x16199f(0x18a)]=_0xb92866;if(!playwrightPatcher){try{if(!_0x2d7f10[_0x16199f(0x122)](isUndefined,_0xb92866[_0x16199f(0x15b)][_0x16199f(0xe4)])){const _0xc9d88e=_0x2d7f10[_0x16199f(0x138)](shouldScanTestForAccessibility,null,![],_0xb92866[_0x16199f(0x15b)]['tags']['map'](({name:_0x425618})=>_0x425618));globals[_0x16199f(0x1d4)](_0x2d7f10[_0x16199f(0x175)],_0xc9d88e);}}catch(_0x55c3eb){logger['debug'](_0x16199f(0x18f)+util[_0x16199f(0x139)](_0x55c3eb));}workerDetails[_0x16199f(0x15f)][_0x16199f(0x14f)]=TestDetails[_0x16199f(0x152)](_0xb92866[_0x16199f(0xe5)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x16199f(0x19b)](_0xb92866),global[_0x16199f(0x12e)]&&global[_0x16199f(0x12e)]['pwPage']&&playwrightPatcher[_0x16199f(0x1b6)](global[_0x16199f(0x12e)][_0x16199f(0x130)]);}catch(_0x482f33){logger[_0x16199f(0xf3)](_0x16199f(0x1b1)+util['format'](_0x482f33));}if(playwrightPatcher)try{const _0xc6d261=_0x2d7f10[_0x16199f(0x1ad)](require,_0x2d7f10[_0x16199f(0x1d1)]),_0x3c6d0c=_0x2d7f10[_0x16199f(0xfd)](require,_0x2d7f10[_0x16199f(0x134)]),_0x2fde7f=_0x2d7f10['uQIII'](require,_0x2d7f10[_0x16199f(0x117)]);if(_0xc6d261[_0x16199f(0xdd)]()['isRunning']()){const _0x2cb662={'title':_0xb92866[_0x16199f(0x15b)][_0x16199f(0x1d6)]||_0x2d7f10[_0x16199f(0x141)],'titlePath':[_0xb92866[_0x16199f(0x15b)][_0x16199f(0x1d6)]||_0x2d7f10[_0x16199f(0x141)]],'id':_0xb92866['testCaseStartedId']||_0x2d7f10[_0x16199f(0x17a)],'tags':_0xb92866[_0x16199f(0x15b)]['tags']||[],..._0xb92866},_0x19faea=_0x2cb662;global[_0x16199f(0x148)]=_0x19faea,logger[_0x16199f(0xf3)](_0x16199f(0x14b)+_0xb92866[_0x16199f(0x15b)][_0x16199f(0x1d6)]);}}catch(_0x4eea6f){logger[_0x16199f(0xf3)](_0x16199f(0x1cb)+util[_0x16199f(0x139)](_0x4eea6f));}_0x2d7f10[_0x16199f(0x10c)](_0x56ec00);})[_0x29c174(0x1a5)](_0x4ec3ed);});const a9_0x484221={};a9_0x484221['name']=a9_0x1578c3(0x155),a9_0x484221[a9_0x1578c3(0x19e)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0x484221,function(_0x4f550a,_0x185e4b){const _0x2ea760=a9_0x1578c3,_0x4e7cbd={'HPFaZ':function(_0x17c369,_0x23c8b8){return _0x17c369>_0x23c8b8;},'zoMXs':function(_0x14b877,_0x59d0ba){return _0x14b877===_0x59d0ba;},'ZXxap':'failed','kXnZw':function(_0x386978,_0x2ca550,_0x5eb3d4,_0x415b58){return _0x386978(_0x2ca550,_0x5eb3d4,_0x415b58);},'BPJeF':_0x2ea760(0x1d2),'Axdum':function(_0x1f3622,_0x5f28f6,_0x481faa){return _0x1f3622(_0x5f28f6,_0x481faa);},'wUFRB':_0x2ea760(0x14a),'VYkwS':function(_0x11edc0,_0xac47bf){return _0x11edc0(_0xac47bf);},'LDcSK':_0x2ea760(0x13e),'LsmKh':function(_0x1e6360,_0xfcf3d4){return _0x1e6360(_0xfcf3d4);},'yJBXN':_0x2ea760(0x102),'JtmkH':function(_0x4ac90c,_0x2cc9c0){return _0x4ac90c(_0x2cc9c0);},'cAOhC':_0x2ea760(0x14d),'odPcE':_0x2ea760(0x15d),'WaApx':'cucumber-test','OdbJK':_0x2ea760(0x1ce),'ToqpM':_0x2ea760(0xe8),'eqdnx':_0x2ea760(0x120),'Nhhxv':_0x2ea760(0x199),'WkApJ':_0x2ea760(0xfe),'agddZ':_0x2ea760(0x18d),'DRJIO':function(_0x588dfd){return _0x588dfd();},'ojVjV':_0x2ea760(0x197),'dzFSs':_0x2ea760(0xed),'Hnkml':_0x2ea760(0xf5),'zuZCd':_0x2ea760(0x125),'oJoLS':_0x2ea760(0x14e),'WrShX':_0x2ea760(0x13f),'TZOFO':_0x2ea760(0x194),'pxjFZ':_0x2ea760(0x11a)};logger[_0x2ea760(0xf3)](_0x4e7cbd[_0x2ea760(0x137)]),workerDetails[_0x2ea760(0x15f)][_0x2ea760(0x18a)]=_0x4f550a,new Promise(async _0x37a657=>{const _0x3fb477=_0x2ea760;let _0x1335c8=![],_0x4c85f1=![],_0x381926=![];try{global[_0x3fb477(0x119)]&&_0x4e7cbd[_0x3fb477(0x1db)](global[_0x3fb477(0x119)][_0x3fb477(0x195)],0x0)&&(_0x4c85f1=!![]),playwrightPatcher&&global['__workerDetails']&&global['__workerDetails']['pwPage']&&(_0x381926=!![],logger['debug']('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x3fb477(0x12e)][_0x3fb477(0x130)]));}catch(_0x4d17a8){logger[_0x3fb477(0xf3)](_0x3fb477(0x173)+_0x4d17a8);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x4c85f1+_0x3fb477(0x118)+_0x381926);const _0x5df56d=_0x4f550a[_0x3fb477(0x18b)][_0x3fb477(0x1ac)][_0x3fb477(0x1c1)]()['toLowerCase'](),_0x20f6f3=_0x4e7cbd[_0x3fb477(0x17c)](_0x5df56d,_0x4e7cbd[_0x3fb477(0x146)])||_0x4e7cbd[_0x3fb477(0x17c)](_0x5df56d,'6'),_0x10d6da=_0x20f6f3?_0x4f550a[_0x3fb477(0x18b)][_0x3fb477(0x17f)]:null;if(_0x20f6f3)try{global['__error_messages__']['push'](_0x4f550a['result'][_0x3fb477(0x17f)]),global['__sessionFailed']=!![];}catch(_0x440b18){logger[_0x3fb477(0xf3)](_0x3fb477(0x19c)+_0x440b18);}if(_0x4c85f1)try{global[_0x3fb477(0x119)]&&_0x4e7cbd[_0x3fb477(0x1db)](global[_0x3fb477(0x119)][_0x3fb477(0x195)],0x1)&&(await global[_0x3fb477(0xe6)](),global[_0x3fb477(0x119)][_0x3fb477(0x176)](),global[_0x3fb477(0xf7)]=[],global['__sessionFailed']=![]),global[_0x3fb477(0x119)]&&global[_0x3fb477(0x119)][0x0]&&(await global[_0x3fb477(0x119)][0x0][_0x3fb477(0x186)],_0x1335c8=!![],!global[_0x3fb477(0x151)]&&await global['__drivers'][0x0][_0x3fb477(0x1c6)](_0x3fb477(0x111)+_0x4f550a['pickle'][_0x3fb477(0x1d6)]+'\x22}}'),_0x20f6f3?await _0x4e7cbd[_0x3fb477(0x101)](markSessionStatus,global[_0x3fb477(0x119)][0x0],_0x4e7cbd[_0x3fb477(0x146)],global['__error_messages__'][_0x3fb477(0x1b7)](_0x4e7cbd[_0x3fb477(0x10a)])):await _0x4e7cbd[_0x3fb477(0x153)](markSessionStatus,global[_0x3fb477(0x119)][0x0],_0x4e7cbd['wUFRB']));}catch(_0x5c0ffb){logger[_0x3fb477(0xf3)](_0x3fb477(0x1ca)+util[_0x3fb477(0x139)](_0x5c0ffb));}if(_0x381926)try{try{const _0x5bbcf6=_0x4e7cbd['VYkwS'](require,_0x4e7cbd[_0x3fb477(0xdc)]),_0x5005eb=_0x4e7cbd['LsmKh'](require,_0x4e7cbd[_0x3fb477(0xdf)]),_0x514738=_0x4e7cbd[_0x3fb477(0xe9)](require,_0x4e7cbd[_0x3fb477(0x1af)]);if(_0x5bbcf6[_0x3fb477(0xdd)]()['isRunning']()){const _0x5c5985={'title':_0x4f550a[_0x3fb477(0x15b)][_0x3fb477(0x1d6)]||_0x4e7cbd[_0x3fb477(0xf9)],'titlePath':[_0x4f550a[_0x3fb477(0x15b)][_0x3fb477(0x1d6)]||_0x4e7cbd[_0x3fb477(0xf9)]],'id':_0x4f550a[_0x3fb477(0xe5)]||_0x4e7cbd[_0x3fb477(0x182)],'status':_0x20f6f3?_0x4e7cbd[_0x3fb477(0x146)]:_0x4e7cbd[_0x3fb477(0xd3)],'error':_0x10d6da?{'message':_0x10d6da}:null,'tags':_0x4f550a['pickle'][_0x3fb477(0xe4)]||[],..._0x4f550a},_0x3a17f0=_0x5c5985,_0x33600b={};_0x33600b[_0x3fb477(0x18a)]=_0x3a17f0,_0x33600b[_0x3fb477(0x108)]=_0x4f550a,_0x33600b[_0x3fb477(0x1d5)]=global['__workerDetails']['pwPage'],_0x33600b[_0x3fb477(0xd7)]=FRAMEWORKS[_0x3fb477(0x1be)],await _0x5bbcf6[_0x3fb477(0xdd)]()[_0x3fb477(0x147)]()[_0x3fb477(0xf8)](_0x5005eb['QUIT'],_0x514738[_0x3fb477(0x12d)],_0x33600b),logger['debug'](_0x3fb477(0x19a)+_0x4f550a[_0x3fb477(0x15b)][_0x3fb477(0x1d6)]);}}catch(_0x323f74){logger[_0x3fb477(0xf3)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x3fb477(0x139)](_0x323f74));}const _0x2abc3a=_0x20f6f3?_0x4e7cbd[_0x3fb477(0x146)]:_0x4e7cbd[_0x3fb477(0xd3)];await playwrightPatcher[_0x3fb477(0x1d0)](_0x4f550a,_0x2abc3a,_0x10d6da),logger[_0x3fb477(0xf3)](_0x4e7cbd[_0x3fb477(0x165)]);try{await playwrightPatcher[_0x3fb477(0xff)](),logger['debug'](_0x4e7cbd[_0x3fb477(0x116)]);}catch(_0x292314){logger[_0x3fb477(0xf3)](_0x3fb477(0x1b8)+util[_0x3fb477(0x139)](_0x292314));}try{playwrightPatcher[_0x3fb477(0x1d8)][_0x3fb477(0x190)](),logger[_0x3fb477(0xf3)](_0x4e7cbd['eqdnx']);}catch(_0x3e48bf){logger[_0x3fb477(0xf3)](_0x3fb477(0x174)+util[_0x3fb477(0x139)](_0x3e48bf));}}catch(_0x345f18){logger['debug'](_0x3fb477(0x1a7)+util[_0x3fb477(0x139)](_0x345f18));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x3fb477(0xff)](),logger[_0x3fb477(0xf3)](_0x4e7cbd[_0x3fb477(0x140)])),playwrightPatcher[_0x3fb477(0x1d8)]&&playwrightPatcher[_0x3fb477(0x1d8)]['cleanup']&&(playwrightPatcher[_0x3fb477(0x1d8)][_0x3fb477(0x190)](),logger[_0x3fb477(0xf3)](_0x4e7cbd[_0x3fb477(0x17e)]));}catch(_0x596827){logger[_0x3fb477(0xf3)](_0x3fb477(0xe3)+util['format'](_0x596827));}}const _0x4314ac=_0x4e7cbd[_0x3fb477(0xe9)](require,_0x4e7cbd[_0x3fb477(0x1bc)]);if(!_0x4314ac['getInstance']()[_0x3fb477(0x106)]())try{if(_0x4e7cbd[_0x3fb477(0x126)](shouldProcessEventForTesthub)){const _0x328c9b=TestDetails[_0x3fb477(0x152)](_0x4f550a[_0x3fb477(0xe5)]);let _0x39e939=null;global['__drivers']&&global['__drivers'][0x0]&&(_0x39e939=await _0x4e7cbd['kXnZw'](sendPlatformDetails,global['__drivers'][0x0],_0x328c9b,!![]));const _0x178dfa={};_0x178dfa[_0x3fb477(0x1b4)]=_0x328c9b,_0x178dfa[_0x3fb477(0x114)]=_0x39e939;const _0x465abc=_0x178dfa,_0x3e075b={};_0x3e075b['event_type']=_0x4e7cbd['ojVjV'],_0x3e075b['test_run']=_0x465abc,await SessionHandler[_0x3fb477(0x1c9)](_0x3e075b);}}catch(_0x47f389){logger[_0x3fb477(0xf3)](_0x3fb477(0x113)+util[_0x3fb477(0x139)](_0x47f389));}try{if(globals[_0x3fb477(0xd8)](_0x4e7cbd['dzFSs'])&&globals[_0x3fb477(0xd8)](_0x4e7cbd['Hnkml'])){logger[_0x3fb477(0x179)](_0x4e7cbd[_0x3fb477(0x10f)]);const _0x48696d=TestDetails[_0x3fb477(0x152)](_0x4f550a[_0x3fb477(0xe5)]),_0x26b5cd={};_0x26b5cd[_0x3fb477(0x14f)]=_0x48696d,_0x26b5cd[_0x3fb477(0x1bd)]=process[_0x3fb477(0x1a3)][testHubConstants[_0x3fb477(0x1c4)][_0x3fb477(0xeb)]],_0x26b5cd[_0x3fb477(0x1b3)]=process[_0x3fb477(0x1a3)][testHubConstants[_0x3fb477(0x1c4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x10ce4c=_0x26b5cd;logger[_0x3fb477(0xf3)](_0x3fb477(0x142)+JSON[_0x3fb477(0xd5)](_0x10ce4c)),logger[_0x3fb477(0xf3)](_0x4e7cbd[_0x3fb477(0x110)]),global['__drivers']&&global[_0x3fb477(0x119)][0x0]&&(logger[_0x3fb477(0xf3)](util[_0x3fb477(0x139)](await global[_0x3fb477(0x119)][0x0][_0x3fb477(0x105)](scripts[_0x3fb477(0x16c)],{'method':global[_0x3fb477(0xd2)]}))),globals[_0x3fb477(0xd8)](_0x4e7cbd['WrShX'])&&(_0x10ce4c[_0x3fb477(0xdb)]=!![]),await global['__drivers'][0x0][_0x3fb477(0x105)](scripts['saveTestResults'],_0x10ce4c)),logger[_0x3fb477(0x179)](_0x4e7cbd[_0x3fb477(0x1bf)]);}}catch(_0x26a8f6){logger['error'](_0x3fb477(0x170)+util[_0x3fb477(0x139)](_0x26a8f6));}if(_0x1335c8)try{global[_0x3fb477(0x119)][0x0]&&_0x4e7cbd[_0x3fb477(0x1db)](global[_0x3fb477(0x119)][0x0][_0x3fb477(0x17b)],0x0)&&await global[_0x3fb477(0x119)][0x0][_0x3fb477(0x127)]();}catch(_0x268919){logger[_0x3fb477(0xf3)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x268919);}_0x4e7cbd[_0x3fb477(0x126)](_0x37a657);})[_0x2ea760(0x1a5)](()=>_0x185e4b());});function a9_0x425b(){const _0x239eff=['YUmyU','pid','storeLogObjects','6565638kGrHkt','YYMIx','OdbJK','WwhCy','DNqYb','ekbAU','Passed:\x20','qCVal','../../helpers/test-observability/requestQueueHandler','performScan','Error:\x20in\x20quitting\x20driver\x20','cucumber-test','WzTli','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','120189WULdvF','4578111effEfw','Error\x20determining\x20test\x20flow:\x20','Error\x20cleaning\x20up\x20close\x20tracker:\x20','rpAiW','shift','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','__timeout','info','guTyO','quitCount_','zoMXs','\x22}}','WkApJ','message','EJgbU','aGIzV','WaApx','Patching\x20Playwright','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','__skipSessionStatus','session_','puYsA','stopMonitoring','3981630ryKCKf','testInfo','result','AfterStep','../v2/browserstackCLI.js','workerInfo','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','cleanup','psoqa','../../helpers/driverInitErrorReporter','Cleaned\x20up\x20Playwright\x20close\x20tracker','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','length','../../helpers/ai-sdk/autoHealHelper','CBTSessionCreated','setFrameworkDetail','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','beforeTestHook','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','getId','timeout','vHByg','o11ySyncDone','bs:addLog:','../../helpers/accessibility-automation/scripts','env','AfterAll','finally','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Error:\x20at\x20After\x20(Playwright):\x20','ABrEJ','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','WAgtR','skipSessionStatus','status','MDrON','Inside\x20browserstack\x20registerListeners','cAOhC','util','Error\x20in\x20playwright\x20beforeTestHook:\x20','split','thJwtToken','uuid','Inside\x20browserstack\x20Before','patchPageCommandsForAccessibility','join','Error\x20executing\x20deferred\x20closes:\x20','Error:\x20cleaning\x20up\x20driver:\x20','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','push','agddZ','thBuildUuid','CUCUMBER','TZOFO','removeAllListeners','toString','Cucumber-JS','EFuUb','ENV_VAR','\x0aError:\x20','executeScript','isPageFixture','initializePlaywrightPatching','uploadEventData','Error:\x20at\x20After\x20(Selenium):\x20','Error\x20triggering\x20AutomationFramework\x20events:\x20','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','setFramework','Completed\x20Playwright\x20afterTestHook\x20execution','winstonLogger','afterTestHook','KcUdR','\x20|\x20','../v2/cliUtils','setGlobal','page','name','rRdIz','closeTracker','HbgKT','skipSessionName','HPFaZ','lodash','browserstackSessionName','wUFRB','Passed','stringify','../../index','testFramework','getGlobal','cucumber-js','PLAYWRIGHT','is_mobile_session','LDcSK','getInstance','installAll','yJBXN','BSTACK_CONFIG','uHTTl','DPVvb','Error\x20in\x20fallback\x20cleanup:\x20','tags','testCaseStartedId','driverCleanup','failed','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','JtmkH','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','BROWSERSTACK_TESTHUB_UUID','setDefaultTimeout','isAccessibilityPlatform','../../helpers/logger','Inside\x20browserstack\x20AfterStep','@playwright/test','platformIndex','chKUg','debug','pickleStep','bstackA11yShouldScan','test_run_uuid','__error_messages__','trackEvent','odPcE','bootstrap','../v2/TestInfo.js','6399475dBeWKI','PWbMq','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','executeDeferredCloses','24kTzKOW','kXnZw','../v2/state/automationFrameworkState','qqDZj','tUSrp','executeAsyncScript','isRunning','344QuMrMy','scenario','../../helpers/globals','BPJeF','Xdaad','DFDgu','PIaEb','../../helpers/helper','zuZCd','oJoLS','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','addTestUIDAndReportLog','Error:\x20sendPlatformDetails\x20at\x20After:\x20','integrations','JdvOy','ToqpM','fKsPM',',\x20isPlaywrightFlow=','__drivers','Inside\x20browserstack\x20After','dyzny','PlmMK','@cucumber/cucumber/lib/index.js','startMonitoring','toLowerCase','Cleaned\x20up\x20close\x20tracker','JLNsH','bmndn','Patching\x20Selenium','DFkTs','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DRJIO','initQuit','../utils/constants','then','Failed:\x20','YoalR','VhsQZ','PRE','__workerDetails','getPackageVersion','pwPage','Before','4IJBclT','1112202lMPyZR','lbgrf','aqMBk','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','pxjFZ','piBaW','format','__sessionFailed','catch','../playwright/reporter/reporter.js','qxfeL','../v2/browserstackCLI','isMobilePlatform','Nhhxv','tfUZI','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','0|1|2|3|4','shutdown','../../helpers/test-observability/utils','ZXxap','getAutomationFramework','__currentTestInfo','Inside\x20browserstack\x20BeforeAll','passed','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','parse','../v2/state/hookState','Performing\x20scan\x20before\x20saving\x20results','thTestRunUuid','gmoKU','__skipSessionName','getTestUUID','Axdum','axSLL','bstack','isCliEnabled','Error:\x20at\x20After\x20Step:\x20','10339VjHMtt','../../helpers/performance/performance-tester','@cucumber/cucumber','pickle','dJSUe','Unknown\x20Test','../../helpers/accessibility-automation/helper','currentTest'];a9_0x425b=function(){return _0x239eff;};return a9_0x425b();}const a9_0x5179e7={};a9_0x5179e7[a9_0x1578c3(0x1d6)]='bstack',a9_0x5179e7[a9_0x1578c3(0x19e)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x1578c3(0x1c2)],AfterStep(a9_0x5179e7,function(_0x883ff6,_0x474d21){const _0x1e56ef=a9_0x1578c3,_0x340e23={'vHByg':function(_0x51900b,_0x57ce1f){return _0x51900b===_0x57ce1f;},'ekbAU':_0x1e56ef(0xe7),'JLNsH':function(_0x49b0d3,_0x41ec89){return _0x49b0d3!==_0x41ec89;},'eiApt':function(_0x3d1f59,_0x22cdb0,_0x2b8c80){return _0x3d1f59(_0x22cdb0,_0x2b8c80);},'chKUg':function(_0x1536c6,_0x5367f6){return _0x1536c6+_0x5367f6;},'DPVvb':function(_0x33fb80,_0x718bc5){return _0x33fb80+_0x718bc5;},'VhsQZ':_0x1e56ef(0x12a),'qCVal':_0x1e56ef(0x1c5),'JdvOy':'error','puYsA':function(_0x249230,_0x2e0a42,_0x15a6b0){return _0x249230(_0x2e0a42,_0x15a6b0);},'Xdaad':function(_0x513d27,_0x39482f){return _0x513d27!==_0x39482f;},'WzTli':function(_0x5b2b59,_0x23b419,_0x5d94cc){return _0x5b2b59(_0x23b419,_0x5d94cc);},'YUmyU':_0x1e56ef(0x169),'uHTTl':_0x1e56ef(0x179),'wsxFd':function(_0x35b18d,_0x1a8331,_0x65f940){return _0x35b18d(_0x1a8331,_0x65f940);},'DFkTs':_0x1e56ef(0xd4),'tUSrp':function(_0x4e8637){return _0x4e8637();},'psoqa':_0x1e56ef(0xef)};logger[_0x1e56ef(0xf3)](_0x340e23[_0x1e56ef(0x191)]);const _0x34eafa=async(_0xc05000,_0x2ef6a2)=>{const _0x4557d9=_0x1e56ef;global[_0x4557d9(0x119)]&&global[_0x4557d9(0x119)][0x0]&&await global['__drivers'][0x0][_0x4557d9(0x1c6)](_0x4557d9(0x136)+_0xc05000+',\x22level\x22:\x20\x22'+_0x2ef6a2+_0x4557d9(0x17d));};new Promise(async _0x18f787=>{const _0x9749fb=_0x1e56ef;try{const _0x36d767=_0x340e23[_0x9749fb(0x19f)](_0x883ff6[_0x9749fb(0x18b)][_0x9749fb(0x1ac)][_0x9749fb(0x1c1)]()[_0x9749fb(0x11f)](),_0x340e23[_0x9749fb(0x168)])||_0x340e23[_0x9749fb(0x19f)](_0x883ff6['result'][_0x9749fb(0x1ac)][_0x9749fb(0x1c1)]()[_0x9749fb(0x11f)](),'6');_0x36d767?(global[_0x9749fb(0x13a)]=!![],global[_0x9749fb(0xf7)][_0x9749fb(0x1bb)](_0x883ff6[_0x9749fb(0x18b)][_0x9749fb(0x17f)]),_0x340e23[_0x9749fb(0x121)](_0x883ff6[_0x9749fb(0xf4)],undefined)?await _0x340e23['eiApt'](_0x34eafa,JSON[_0x9749fb(0xd5)](_0x340e23[_0x9749fb(0xf2)](_0x340e23['chKUg'](_0x340e23[_0x9749fb(0xe2)](_0x340e23[_0x9749fb(0x12c)],'\x22'+_0x883ff6[_0x9749fb(0xf4)]['text']+'\x22\x20'),_0x340e23[_0x9749fb(0x16a)]),_0x883ff6['result'][_0x9749fb(0x17f)])),_0x340e23[_0x9749fb(0x115)]):await _0x340e23[_0x9749fb(0x187)](_0x34eafa,JSON[_0x9749fb(0xd5)](_0x340e23[_0x9749fb(0xf2)](_0x340e23[_0x9749fb(0x12c)],_0x883ff6[_0x9749fb(0x18b)][_0x9749fb(0x17f)])),_0x340e23['JdvOy'])):_0x340e23[_0x9749fb(0x10b)](_0x883ff6[_0x9749fb(0xf4)],undefined)?await _0x340e23[_0x9749fb(0x16f)](_0x34eafa,JSON[_0x9749fb(0xd5)](_0x340e23[_0x9749fb(0xe2)](_0x340e23[_0x9749fb(0x160)],'\x22'+_0x883ff6[_0x9749fb(0xf4)]['text']+'\x22')),_0x340e23['uHTTl']):await _0x340e23['wsxFd'](_0x34eafa,JSON['stringify'](_0x340e23[_0x9749fb(0x124)]),_0x340e23[_0x9749fb(0xe1)]),global[_0x9749fb(0x119)]&&global[_0x9749fb(0x119)][0x0]&&global[_0x9749fb(0x119)][0x0]['session_'][_0x9749fb(0x129)](_0x11d6fd=>{})[_0x9749fb(0x13b)](_0x4d2064=>{const _0x1f812e=_0x9749fb;logger['debug'](_0x1f812e(0x1ba)+util['format'](_0x4d2064));});}catch(_0x23b9ad){logger[_0x9749fb(0xf3)](_0x9749fb(0x157)+_0x23b9ad);}_0x340e23[_0x9749fb(0x104)](_0x18f787);})[_0x1e56ef(0x1a5)](()=>_0x474d21());});const a9_0x4d3535={};a9_0x4d3535[a9_0x1578c3(0x1d6)]=a9_0x1578c3(0x155),a9_0x4d3535[a9_0x1578c3(0x19e)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x1578c3(0x1c2)],AfterAll(a9_0x4d3535,async function(_0x3a3d2c,_0x52a307){const _0x591c3c=a9_0x1578c3,_0x56b737={'YoalR':_0x591c3c(0x143),'dJSUe':_0x591c3c(0x193),'rRdIz':function(_0x101de1){return _0x101de1();},'qqDZj':'Inside\x20browserstack\x20AfterAll'};logger[_0x591c3c(0xf3)](_0x56b737[_0x591c3c(0x103)]),await new Promise(async _0x33f3c6=>{const _0x32d44c=_0x591c3c,_0x129049=_0x56b737[_0x32d44c(0x12b)][_0x32d44c(0x1b2)]('|');let _0x16dd6d=0x0;while(!![]){switch(_0x129049[_0x16dd6d++]){case'0':await RequestQueueHandler['getInstance']()[_0x32d44c(0x144)]();continue;case'1':PerformanceTester[_0x32d44c(0x188)]();continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x32d44c(0xff)]&&(await playwrightPatcher[_0x32d44c(0xff)](),playwrightPatcher[_0x32d44c(0x1d8)]&&playwrightPatcher[_0x32d44c(0x1d8)][_0x32d44c(0x190)](),logger[_0x32d44c(0xf3)](_0x56b737[_0x32d44c(0x15c)]));}catch(_0x4f4090){logger[_0x32d44c(0xf3)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util['format'](_0x4f4090));}continue;case'3':await global[_0x32d44c(0xe6)]();continue;case'4':_0x56b737[_0x32d44c(0x1d7)](_0x33f3c6);continue;}break;}});});
|
|
1
|
+
const a8_0xa9dffb=a8_0x5880;(function(_0xfc548c,_0x4724b8){const _0x1195b2=a8_0x5880,_0x2741d9=_0xfc548c();while(!![]){try{const _0x54c853=-parseInt(_0x1195b2(0xf9))/0x1*(-parseInt(_0x1195b2(0xc6))/0x2)+parseInt(_0x1195b2(0x129))/0x3*(parseInt(_0x1195b2(0xf7))/0x4)+parseInt(_0x1195b2(0x158))/0x5*(parseInt(_0x1195b2(0x164))/0x6)+-parseInt(_0x1195b2(0x17b))/0x7*(-parseInt(_0x1195b2(0x13d))/0x8)+parseInt(_0x1195b2(0x14d))/0x9*(-parseInt(_0x1195b2(0x16e))/0xa)+parseInt(_0x1195b2(0x108))/0xb*(parseInt(_0x1195b2(0x10e))/0xc)+-parseInt(_0x1195b2(0x16d))/0xd;if(_0x54c853===_0x4724b8)break;else _0x2741d9['push'](_0x2741d9['shift']());}catch(_0xd2c8){_0x2741d9['push'](_0x2741d9['shift']());}}}(a8_0x5bc7,0x90700));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a8_0xa9dffb(0x11b)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a8_0xa9dffb(0x185)),setKeepAlive=require(a8_0xa9dffb(0xf5)),util=require(a8_0xa9dffb(0xb0)),PerformanceTester=require(a8_0xa9dffb(0xd3)),{EVENTS:PerformanceEvents}=require(a8_0xa9dffb(0xc2)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber'),logger=require(a8_0xa9dffb(0x12b))[a8_0xa9dffb(0x114)],{shouldProcessEventForTesthub}=require(a8_0xa9dffb(0x10d)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a8_0xa9dffb(0xcb)),TestDetails=require(a8_0xa9dffb(0x144)),TestInfo=require(a8_0xa9dffb(0x167)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a8_0xa9dffb(0xc4)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a8_0xa9dffb(0x130)),globals=require(a8_0xa9dffb(0xd2)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a8_0xa9dffb(0xc8)),helper=require('../../helpers/helper');try{require(a8_0xa9dffb(0x1a0))['installAll'](a8_0xa9dffb(0xb6));}catch(a8_0x34f89f){logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0x157)+(a8_0x34f89f&&a8_0x34f89f[a8_0xa9dffb(0x117)]));}const a8_0x274b13={};a8_0x274b13[a8_0xa9dffb(0x143)]=undefined,a8_0x274b13[a8_0xa9dffb(0xc3)]={},a8_0x274b13[a8_0xa9dffb(0x119)]=![],a8_0x274b13[a8_0xa9dffb(0x10a)]=null,a8_0x274b13[a8_0xa9dffb(0x153)]=![],a8_0x274b13[a8_0xa9dffb(0xc3)]['id']=undefined,a8_0x274b13[a8_0xa9dffb(0xc3)]['testInfo']=undefined;function a8_0x5bc7(){const _0x5957=['../../helpers/testhub/utils','1692hGeoMo','integrations','mmKFE','GjKQr','__platformCaps','executeAsyncScript','winstonLogger','getTestUUID','name','message','OiLnA','o11ySyncDone','Error:\x20cleaning\x20up\x20driver:\x20','../../helpers/helper','\x0aError:\x20','pickle','\x22}}','parse','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','mySKJ','Error:\x20sendPlatformDetails\x20at\x20After:\x20','getPackageVersion','Error\x20cleaning\x20up\x20close\x20tracker:\x20','startMonitoring','dWBZh','stringify','browserstackPlatformIndex','3VwZaRO','Flow\x20detection:\x20isSeleniumFlow=','../../helpers/logger','afterTestHook','PoSDn','test_run_uuid','browserstackSessionName','../../helpers/accessibility-automation/scripts','executeScript','bSLaR','getAutomationFramework','ENV_VAR','FslFU','platformIndex','fYKVE','HUPsf','bootstrap','test_run','Failed:\x20','KNJhz','8dncZJu','failed','Inside\x20browserstack\x20After',',\x20isPlaywrightFlow=','qrZSn','HDPbY','workerInfo','../playwright/reporter/test-details.js','thBuildUuid','NpiUC','__sessionFailed','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','uploadEventData','info','TJXkq','addTestUIDAndReportLog','110367pOrueb','VUzqT','BROWSERSTACK_TESTHUB_JWT','platformCaps','QEVlE','AfterStep','isPageFixture','__workerDetails','bs:addLog:','isMobilePlatform','driver-init\x20capture\x20install\x20failed:\x20','5TYcZRG','LFVtv','Hjlso','length','Error\x20executing\x20deferred\x20closes:\x20',',\x22level\x22:\x20\x22','driverCleanup','join','thJwtToken','gpUcn','MLmYC','AfterAll','3769386CXdOMK','WRTdU','LbyXP','../v2/TestInfo.js','../v2/state/hookState','mqKky','ZepKr','xXRdB','Inside\x20browserstack\x20AfterStep','23339459ahLGez','90FWQINi','trackEvent','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','closeTracker','then','Error:\x20at\x20After\x20Step:\x20','pcZpZ','sfFCH','Inside\x20browserstack\x20registerListeners','mYSBq','Passed','bstackA11yShouldScan','okyYH','4266409KueyaQ','coWtI','XNJtk','map','bVLNF','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','\x20|\x20','qQSUG','iGEIC','fqTUz','../utils/constants','BeforeAll','Error:\x20at\x20After\x20(Selenium):\x20','XRDBA','CBTSessionCreated','__timeout','ngqYf','Patching\x20Playwright','debug','status','lDqby','toString','storeLogObjects','AlnAF','rueoH','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','CUCUMBER','Cucumber-JS','dAgvQ','Error:\x20at\x20After\x20(Playwright):\x20','toLowerCase','finally','gQxpg','esElf','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','../../helpers/driverInitErrorReporter','setDefaultTimeout','catch','Astbf','EDVkr','testInfo','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','../v2/browserstackCLI','TTqvZ','browserstackAgentV2','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','MriWb','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','__error_messages__','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','removeAllListeners','shift','cnNLc','skipSessionName','LiKuV','BROWSERSTACK_TESTHUB_UUID','initializePlaywrightPatching','util','zBZHM','Patching\x20Selenium','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','__skipSessionName','jNWZO','cucumber-js','Inside\x20browserstack\x20Before','Unknown\x20Test','__drivers','gLphv','vyGxL','CONFIG','quitCount_','Error\x20in\x20fallback\x20cleanup:\x20','JLKQg','QUIT','rbpbB','../../helpers/performance/constants','currentTest','../../helpers/test-observability/error-handler','Error:\x20quiting\x20driver\x20at\x20After:\x20','20836KelCqf','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','lodash','setGlobal','bstack','../../helpers/test-observability/utils','__skipSessionStatus','zsLtm','page','fzulZ','LbsbA','format','../../helpers/globals','../../helpers/performance/performance-tester','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','4|0|3|1|2','result','env','OJIun','timeout','scenario','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','FGaCF','NjFbl','Before','thTestRunUuid','cleanup','patchPageCommandsForAccessibility','YgaoR','../../index','Passed:\x20','../v2/browserstackCLI.js','Inside\x20browserstack\x20BeforeAll','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getGlobal','bAaIy','text','pid','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','Inside\x20browserstack\x20AfterAll','@playwright/test','testCaseStartedId','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','error','Cleaned\x20up\x20close\x20tracker','session_','ovrIe','../../helpers/setKeepAlive','tags','247476mhjAPE','Error\x20in\x20playwright\x20beforeTestHook:\x20','74bwPrFR','AJDgb','executeDeferredCloses','IiCby','cucumber-test','DSewc','isRunning','setFrameworkDetail','Error\x20sending\x20log\x20created\x20event:\x20','pickleStep','vBkcz','lhEvE','__currentTestInfo','QQgal','getInstance','33297ArlRkS','push','pwPage','wHokJ','initQuit'];a8_0x5bc7=function(){return _0x5957;};return a8_0x5bc7();}const workerDetails=a8_0x274b13;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x41b9f5){const _0x28d03f=a8_0xa9dffb,_0x124b0e={'QEVlE':function(_0x30df2f,_0x4308e1){return _0x30df2f(_0x4308e1);},'tuxwo':'../v2/browserstackCLI','qklsO':_0x28d03f(0xa8)},_0x3174e1=workerDetails[_0x28d03f(0xc3)][_0x28d03f(0x1a5)];if(!_0x3174e1)return;if(playwrightPatcher)try{const _0xaf9fa9=_0x124b0e[_0x28d03f(0x151)](require,_0x124b0e['tuxwo']);if(_0xaf9fa9['getInstance']()[_0x28d03f(0xff)]()){const _0x518932=_0x3174e1[_0x28d03f(0xef)];_0x518932?(_0x41b9f5['uuid']=_0x518932,_0x41b9f5[_0x28d03f(0x12e)]=_0x518932,TestInfo[_0x28d03f(0x191)](_0x518932,_0x41b9f5)):logger[_0x28d03f(0x18d)](_0x124b0e['qklsO']);return;}}catch(_0x4de33e){logger['debug'](_0x28d03f(0x101)+util['format'](_0x4de33e));}await MyReporter[_0x28d03f(0x14c)](_0x3174e1,_0x41b9f5);}),registerListeners=()=>{const _0x3d2038=a8_0xa9dffb,_0x3e5d7c={};_0x3e5d7c[_0x3d2038(0x146)]=_0x3d2038(0x176);const _0x174844=_0x3e5d7c;logger[_0x3d2038(0x18d)](_0x174844[_0x3d2038(0x146)]),process[_0x3d2038(0xa9)](_0x3d2038(0x155)+process[_0x3d2038(0xeb)]),process['on']('bs:addLog:'+process[_0x3d2038(0xeb)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();function a8_0x5880(_0x690dd7,_0x4a2cb8){const _0x5bc7bf=a8_0x5bc7();return a8_0x5880=function(_0x5880fd,_0x182054){_0x5880fd=_0x5880fd-0xa6;let _0x2460cf=_0x5bc7bf[_0x5880fd];return _0x2460cf;},a8_0x5880(_0x690dd7,_0x4a2cb8);}const Before=cucumberModule[a8_0xa9dffb(0xde)],After=cucumberModule['After'],AfterAll=cucumberModule[a8_0xa9dffb(0x163)],BeforeAll=cucumberModule[a8_0xa9dffb(0x186)],AfterStep=cucumberModule[a8_0xa9dffb(0x152)],configuration=process[a8_0xa9dffb(0xd7)][a8_0xa9dffb(0xbc)];if(configuration!==undefined){const config=JSON[a8_0xa9dffb(0x11f)](configuration);isBrowserstackInfra()?(global[a8_0xa9dffb(0xb4)]=isTrue(config[a8_0xa9dffb(0xac)]),global[a8_0xa9dffb(0xcc)]=isTrue(config['skipSessionStatus'])):(global[a8_0xa9dffb(0xb4)]=!![],global[a8_0xa9dffb(0xcc)]=!![]);!helper['getPackageVersion'](a8_0xa9dffb(0xee))&&(logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0xb2)),shouldProcessEventForTesthub()?require(a8_0xa9dffb(0xe3))['browserstackAgentV2'](config,null,!![]):require(a8_0xa9dffb(0xe3))[a8_0xa9dffb(0x1aa)](config));global[a8_0xa9dffb(0x112)]=config[a8_0xa9dffb(0x150)]||{},global[a8_0xa9dffb(0x128)]=config[a8_0xa9dffb(0x136)];if(helper[a8_0xa9dffb(0x123)](a8_0xa9dffb(0xee)))try{logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0x18c)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a8_0xa9dffb(0xaf)](config),logger['debug'](a8_0xa9dffb(0xec));}catch(a8_0x4587e8){logger[a8_0xa9dffb(0x18d)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a8_0xa9dffb(0xd1)](a8_0x4587e8));}}global[a8_0xa9dffb(0x18a)]=0x0;const __setDefaultTimeout=cucumberModule[a8_0xa9dffb(0x1a1)];cucumberModule[a8_0xa9dffb(0x1a1)]=_0x2b1423=>{const _0x5dd54b=a8_0xa9dffb,_0x34325f={'zsLtm':function(_0x1df01a,_0x261daf){return _0x1df01a(_0x261daf);}};global[_0x5dd54b(0x18a)]=_0x2b1423,_0x34325f[_0x5dd54b(0xcd)](__setDefaultTimeout,_0x2b1423);};const a8_0x3fe4d8={};a8_0x3fe4d8[a8_0xa9dffb(0x116)]=a8_0xa9dffb(0xca),BeforeAll(a8_0x3fe4d8,async function(){const _0xb38e36=a8_0xa9dffb,_0x431f76={'QaZgd':function(_0x345a1e,_0x535480,_0x4d96c1,_0xe343ff){return _0x345a1e(_0x535480,_0x4d96c1,_0xe343ff);},'wHokJ':_0xb38e36(0x13e),'zBZHM':_0xb38e36(0x181),'rueoH':function(_0x44c6d3,_0x35a237,_0xd08101){return _0x44c6d3(_0x35a237,_0xd08101);},'bSLaR':'passed','TTqvZ':_0xb38e36(0xe6),'lDqby':function(_0x125b37,_0x432171){return _0x125b37(_0x432171);},'dWBZh':_0xb38e36(0x1a8),'sfFCH':'../v2/cliUtils','Astbf':_0xb38e36(0x19f),'TJXkq':function(_0x30ea36){return _0x30ea36();},'mySKJ':function(_0x393e32,_0x2042c1){return _0x393e32(_0x2042c1);}};PerformanceTester[_0xb38e36(0x125)](),logger[_0xb38e36(0x18d)](_0x431f76[_0xb38e36(0x1a9)]),global[_0xb38e36(0xa7)]=[],global[_0xb38e36(0x147)]=![];if(playwrightPatcher)try{const _0x2ee0d8=_0x431f76[_0xb38e36(0x18f)](require,_0x431f76[_0xb38e36(0x126)]),_0x6584a5=_0x431f76[_0xb38e36(0x18f)](require,_0x431f76[_0xb38e36(0x175)]);_0x2ee0d8[_0xb38e36(0x107)]()['isCliEnabled']()&&(logger[_0xb38e36(0x18d)](_0x431f76[_0xb38e36(0x1a3)]),_0x6584a5[_0xb38e36(0x100)](FRAMEWORKS[_0xb38e36(0x196)],FRAMEWORKS['PLAYWRIGHT']),await _0x2ee0d8[_0xb38e36(0x107)]()[_0xb38e36(0x139)]());}catch(_0x1f9118){logger[_0xb38e36(0x18d)](_0xb38e36(0x180)+util[_0xb38e36(0xd1)](_0x1f9118));}_0x431f76[_0xb38e36(0x14b)](shouldProcessEventForTesthub)&&(_0x431f76[_0xb38e36(0x14b)](registerListeners),_0x431f76[_0xb38e36(0x121)](addRequestSpy,![])),global[_0xb38e36(0x15e)]=async()=>{const _0x2160c2=_0xb38e36;let _0x9b3943=![];try{global[_0x2160c2(0xb9)]&&global[_0x2160c2(0xb9)][0x0]&&(await global[_0x2160c2(0xb9)][0x0][_0x2160c2(0xf3)],_0x9b3943=!![],global[_0x2160c2(0x147)]?await _0x431f76['QaZgd'](markSessionStatus,global['__drivers'][0x0],_0x431f76[_0x2160c2(0x10b)],global[_0x2160c2(0xa7)][_0x2160c2(0x15f)](_0x431f76[_0x2160c2(0xb1)])):await _0x431f76[_0x2160c2(0x193)](markSessionStatus,global[_0x2160c2(0xb9)][0x0],_0x431f76[_0x2160c2(0x132)]));}catch(_0x225388){logger['debug'](_0x2160c2(0x11a)+_0x225388);}global[_0x2160c2(0xa7)]=[],global[_0x2160c2(0x147)]=![];if(_0x9b3943)try{await global[_0x2160c2(0xb9)][0x0]['initQuit'](),global['__drivers'][0x0][_0x2160c2(0xf3)][_0x2160c2(0x172)](_0x2f86bf=>{logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x2f86bf['getId']());})[_0x2160c2(0x1a2)](_0x2cca85=>{const _0x17b58f=_0x2160c2;logger[_0x17b58f(0x18d)](_0x17b58f(0x19e)+(_0x2cca85&&_0x2cca85['stack']||_0x2cca85));});}catch(_0x30e2fd){logger[_0x2160c2(0x18d)](_0x2160c2(0x195)+_0x30e2fd);}};});const a8_0x2151c7={};a8_0x2151c7['name']=a8_0xa9dffb(0xca),a8_0x2151c7[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],Before(a8_0x2151c7,function(_0x3a63c0,_0x7f41d9){const _0x29b8d7=a8_0xa9dffb,_0x307284={'HMeDi':function(_0x2cfb5a,_0x555be9){return _0x2cfb5a>_0x555be9;},'qQSUG':function(_0x28f309,_0x2af08a){return _0x28f309>_0x2af08a;},'okyYH':function(_0x573016,_0x3f451b){return _0x573016(_0x3f451b);},'JaNVZ':function(_0x3df743,_0x2116c8,_0x229d7f,_0x3d28d7){return _0x3df743(_0x2116c8,_0x229d7f,_0x3d28d7);},'VsLiq':_0x29b8d7(0x179),'FslFU':function(_0x2eb91c,_0x26b7b0){return _0x2eb91c(_0x26b7b0);},'OiLnA':_0x29b8d7(0x1a8),'ZepKr':function(_0x10e927,_0x5dd0c1){return _0x10e927(_0x5dd0c1);},'bVLNF':'../v2/state/automationFrameworkState','RQVMX':function(_0x56702d,_0x4211ee){return _0x56702d(_0x4211ee);},'HUPsf':_0x29b8d7(0x168),'LFVtv':_0x29b8d7(0xb8),'PoSDn':_0x29b8d7(0xfd),'dAgvQ':function(_0x4793e5){return _0x4793e5();},'GGHjT':_0x29b8d7(0xb7)};logger[_0x29b8d7(0x18d)](_0x307284['GGHjT']),new Promise(async _0x128c4f=>{const _0x4c5038=_0x29b8d7;try{global['__drivers']&&_0x307284['HMeDi'](global[_0x4c5038(0xb9)][_0x4c5038(0x15b)],0x1)&&(await global[_0x4c5038(0x15e)](),global[_0x4c5038(0xb9)][_0x4c5038(0xaa)]()),global[_0x4c5038(0xb9)]&&global[_0x4c5038(0xb9)][0x0]&&global[_0x4c5038(0xb9)][0x0][_0x4c5038(0xbd)]&&_0x307284[_0x4c5038(0x182)](global[_0x4c5038(0xb9)][0x0][_0x4c5038(0xbd)],0x0)&&await global['driverCleanup']();}catch(_0x35b5f8){logger[_0x4c5038(0x18d)](_0x4c5038(0xb3)+_0x35b5f8);}workerDetails['currentTest'][_0x4c5038(0x1a5)]=_0x3a63c0;if(!playwrightPatcher){try{if(!_0x307284[_0x4c5038(0x17a)](isUndefined,_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0xf6)])){const _0x33e537=_0x307284['JaNVZ'](shouldScanTestForAccessibility,null,![],_0x3a63c0[_0x4c5038(0x11d)]['tags'][_0x4c5038(0x17e)](({name:_0x32f36a})=>_0x32f36a));globals[_0x4c5038(0xc9)](_0x307284['VsLiq'],_0x33e537);}}catch(_0x19e4ff){logger[_0x4c5038(0x18d)](_0x4c5038(0xd4)+util['format'](_0x19e4ff));}workerDetails[_0x4c5038(0xc3)][_0x4c5038(0xdf)]=TestDetails[_0x4c5038(0x115)](_0x3a63c0[_0x4c5038(0xef)]);}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x3a63c0),global['__workerDetails']&&global[_0x4c5038(0x154)][_0x4c5038(0x10a)]&&playwrightPatcher[_0x4c5038(0xe1)](global[_0x4c5038(0x154)][_0x4c5038(0x10a)]);}catch(_0x4e1a2f){logger['debug'](_0x4c5038(0xf8)+util[_0x4c5038(0xd1)](_0x4e1a2f));}if(playwrightPatcher)try{const _0x27bece=_0x307284[_0x4c5038(0x135)](require,_0x307284[_0x4c5038(0x118)]),_0x3201a9=_0x307284[_0x4c5038(0x16a)](require,_0x307284[_0x4c5038(0x17f)]),_0x5d63b6=_0x307284['RQVMX'](require,_0x307284[_0x4c5038(0x138)]);if(_0x27bece['getInstance']()[_0x4c5038(0xff)]()){const _0x43e49a={'title':_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]||_0x307284[_0x4c5038(0x159)],'titlePath':[_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]||_0x307284[_0x4c5038(0x159)]],'id':_0x3a63c0[_0x4c5038(0xef)]||_0x307284[_0x4c5038(0x12d)],'tags':_0x3a63c0['pickle'][_0x4c5038(0xf6)]||[],..._0x3a63c0},_0x545f8e=_0x43e49a;global[_0x4c5038(0x105)]=_0x545f8e,logger[_0x4c5038(0x18d)]('Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20'+_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]);}}catch(_0x1243d9){logger[_0x4c5038(0x18d)]('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x4c5038(0xd1)](_0x1243d9));}_0x307284[_0x4c5038(0x198)](_0x128c4f);})[_0x29b8d7(0x19b)](_0x7f41d9);});const a8_0x3dbee3={};a8_0x3dbee3['name']=a8_0xa9dffb(0xca),a8_0x3dbee3[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],After(a8_0x3dbee3,function(_0x7afe70,_0x168006){const _0x3cfedd=a8_0xa9dffb,_0x9b6bc4={'AJDgb':function(_0x5132a3,_0x24aa97){return _0x5132a3>_0x24aa97;},'OJIun':function(_0xbc0ac2,_0x3d88eb){return _0xbc0ac2===_0x3d88eb;},'qrZSn':_0x3cfedd(0x13e),'DSewc':function(_0x330596,_0x9e2ee9){return _0x330596===_0x9e2ee9;},'esElf':function(_0x37c72f,_0x17fd7c,_0x16b6b2,_0x5a1dbd){return _0x37c72f(_0x17fd7c,_0x16b6b2,_0x5a1dbd);},'xXRdB':_0x3cfedd(0x181),'XaXvJ':function(_0x478f8d,_0x3dafff,_0x15a0e2){return _0x478f8d(_0x3dafff,_0x15a0e2);},'lhEvE':'passed','mmKFE':function(_0x16fa20,_0x34df69){return _0x16fa20(_0x34df69);},'rbpbB':_0x3cfedd(0x1a8),'ovrIe':function(_0x597ceb,_0xda4450){return _0x597ceb(_0xda4450);},'fYKVE':'../v2/state/automationFrameworkState','YgaoR':_0x3cfedd(0x168),'ngqYf':_0x3cfedd(0xb8),'mYSBq':_0x3cfedd(0xfd),'RRrDm':'Completed\x20Playwright\x20afterTestHook\x20execution','pcZpZ':_0x3cfedd(0xf0),'LbyXP':_0x3cfedd(0xf2),'MriWb':_0x3cfedd(0xdb),'gpUcn':_0x3cfedd(0x170),'IiCby':function(_0x2e7c99,_0x34905d){return _0x2e7c99(_0x34905d);},'FGaCF':_0x3cfedd(0xe5),'XRDBA':function(_0x4082ab){return _0x4082ab();},'iGEIC':_0x3cfedd(0x189),'gLphv':'isAccessibilityPlatform','fzulZ':_0x3cfedd(0x179),'vyGxL':_0x3cfedd(0xa6),'KNJhz':'Performing\x20scan\x20before\x20saving\x20results','HDPbY':_0x3cfedd(0x156),'JLKQg':_0x3cfedd(0x1a6),'AlnAF':function(_0x54761b,_0x39fe94){return _0x54761b>_0x39fe94;},'bAaIy':function(_0xd1c723){return _0xd1c723();},'fqTUz':_0x3cfedd(0x13f)};logger[_0x3cfedd(0x18d)](_0x9b6bc4[_0x3cfedd(0x184)]),workerDetails['currentTest'][_0x3cfedd(0x1a5)]=_0x7afe70,new Promise(async _0x58576c=>{const _0x4ea7dc=_0x3cfedd;let _0x4ed61f=![],_0x558c90=![],_0x3931df=![];try{global[_0x4ea7dc(0xb9)]&&_0x9b6bc4[_0x4ea7dc(0xfa)](global[_0x4ea7dc(0xb9)][_0x4ea7dc(0x15b)],0x0)&&(_0x558c90=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)]&&(_0x3931df=!![],logger['debug'](_0x4ea7dc(0xc7)+!!global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)]));}catch(_0x57babf){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0x57babf);}logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x12a)+_0x558c90+_0x4ea7dc(0x140)+_0x3931df);const _0x4fb2bb=_0x7afe70[_0x4ea7dc(0xd6)]['status']['toString']()[_0x4ea7dc(0x19a)](),_0x275877=_0x9b6bc4[_0x4ea7dc(0xd8)](_0x4fb2bb,_0x9b6bc4['qrZSn'])||_0x9b6bc4[_0x4ea7dc(0xfe)](_0x4fb2bb,'6'),_0x41f43f=_0x275877?_0x7afe70[_0x4ea7dc(0xd6)][_0x4ea7dc(0x117)]:null;if(_0x275877)try{global[_0x4ea7dc(0xa7)][_0x4ea7dc(0x109)](_0x7afe70[_0x4ea7dc(0xd6)][_0x4ea7dc(0x117)]),global[_0x4ea7dc(0x147)]=!![];}catch(_0x278cd6){logger['debug'](_0x4ea7dc(0x148)+_0x278cd6);}if(_0x558c90)try{global[_0x4ea7dc(0xb9)]&&_0x9b6bc4[_0x4ea7dc(0xfa)](global[_0x4ea7dc(0xb9)]['length'],0x1)&&(await global[_0x4ea7dc(0x15e)](),global[_0x4ea7dc(0xb9)][_0x4ea7dc(0xaa)](),global['__error_messages__']=[],global[_0x4ea7dc(0x147)]=![]),global['__drivers']&&global[_0x4ea7dc(0xb9)][0x0]&&(await global[_0x4ea7dc(0xb9)][0x0]['session_'],_0x4ed61f=!![],!global[_0x4ea7dc(0xb4)]&&await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x131)](_0x4ea7dc(0x1ab)+_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]+_0x4ea7dc(0x11e)),_0x275877?await _0x9b6bc4[_0x4ea7dc(0x19d)](markSessionStatus,global[_0x4ea7dc(0xb9)][0x0],_0x9b6bc4[_0x4ea7dc(0x141)],global[_0x4ea7dc(0xa7)]['join'](_0x9b6bc4[_0x4ea7dc(0x16b)])):await _0x9b6bc4['XaXvJ'](markSessionStatus,global[_0x4ea7dc(0xb9)][0x0],_0x9b6bc4[_0x4ea7dc(0x104)]));}catch(_0x3ba4ec){logger['debug'](_0x4ea7dc(0x187)+util[_0x4ea7dc(0xd1)](_0x3ba4ec));}if(_0x3931df)try{try{const _0x190df9=_0x9b6bc4[_0x4ea7dc(0x110)](require,_0x9b6bc4[_0x4ea7dc(0xc1)]),_0x1f2828=_0x9b6bc4[_0x4ea7dc(0xf4)](require,_0x9b6bc4[_0x4ea7dc(0x137)]),_0x43ae52=_0x9b6bc4[_0x4ea7dc(0xf4)](require,_0x9b6bc4[_0x4ea7dc(0xe2)]);if(_0x190df9[_0x4ea7dc(0x107)]()[_0x4ea7dc(0xff)]()){const _0x245a3c={'title':_0x7afe70[_0x4ea7dc(0x11d)]['name']||_0x9b6bc4[_0x4ea7dc(0x18b)],'titlePath':[_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]||_0x9b6bc4['ngqYf']],'id':_0x7afe70[_0x4ea7dc(0xef)]||_0x9b6bc4[_0x4ea7dc(0x177)],'status':_0x275877?_0x9b6bc4[_0x4ea7dc(0x141)]:_0x9b6bc4[_0x4ea7dc(0x104)],'error':_0x41f43f?{'message':_0x41f43f}:null,'tags':_0x7afe70[_0x4ea7dc(0x11d)]['tags']||[],..._0x7afe70},_0x24e4bb=_0x245a3c,_0x170907={};_0x170907[_0x4ea7dc(0x1a5)]=_0x24e4bb,_0x170907[_0x4ea7dc(0xda)]=_0x7afe70,_0x170907[_0x4ea7dc(0xce)]=global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)],_0x170907['testFramework']=FRAMEWORKS[_0x4ea7dc(0x196)],await _0x190df9[_0x4ea7dc(0x107)]()[_0x4ea7dc(0x133)]()[_0x4ea7dc(0x16f)](_0x1f2828[_0x4ea7dc(0xc0)],_0x43ae52['PRE'],_0x170907),logger[_0x4ea7dc(0x18d)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]);}}catch(_0x2f03f0){logger['debug'](_0x4ea7dc(0x120)+util['format'](_0x2f03f0));}const _0x544e0f=_0x275877?_0x9b6bc4[_0x4ea7dc(0x141)]:_0x9b6bc4['lhEvE'];await playwrightPatcher[_0x4ea7dc(0x12c)](_0x7afe70,_0x544e0f,_0x41f43f),logger[_0x4ea7dc(0x18d)](_0x9b6bc4['RRrDm']);try{await playwrightPatcher[_0x4ea7dc(0xfb)](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x174)]);}catch(_0x477e43){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x15c)+util[_0x4ea7dc(0xd1)](_0x477e43));}try{playwrightPatcher[_0x4ea7dc(0x171)]['cleanup'](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x166)]);}catch(_0x429828){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x124)+util[_0x4ea7dc(0xd1)](_0x429828));}}catch(_0x3e0b08){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x199)+util['format'](_0x3e0b08));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x4ea7dc(0xfb)](),logger['debug'](_0x9b6bc4[_0x4ea7dc(0x1ac)])),playwrightPatcher[_0x4ea7dc(0x171)]&&playwrightPatcher['closeTracker'][_0x4ea7dc(0xe0)]&&(playwrightPatcher[_0x4ea7dc(0x171)][_0x4ea7dc(0xe0)](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x161)]));}catch(_0x30b44c){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0xbe)+util[_0x4ea7dc(0xd1)](_0x30b44c));}}const _0x2784da=_0x9b6bc4[_0x4ea7dc(0xfc)](require,_0x9b6bc4[_0x4ea7dc(0xdc)]);if(!_0x2784da[_0x4ea7dc(0x107)]()[_0x4ea7dc(0xff)]())try{if(_0x9b6bc4[_0x4ea7dc(0x188)](shouldProcessEventForTesthub)){const _0x371e04=TestDetails[_0x4ea7dc(0x115)](_0x7afe70[_0x4ea7dc(0xef)]);let _0xaa7efb=null;global[_0x4ea7dc(0xb9)]&&global['__drivers'][0x0]&&(_0xaa7efb=await _0x9b6bc4[_0x4ea7dc(0x19d)](sendPlatformDetails,global[_0x4ea7dc(0xb9)][0x0],_0x371e04,!![]));const _0x77c6e9={};_0x77c6e9['uuid']=_0x371e04,_0x77c6e9[_0x4ea7dc(0x10f)]=_0xaa7efb;const _0x2b07fe=_0x77c6e9,_0x1c5f5f={};_0x1c5f5f['event_type']=_0x9b6bc4[_0x4ea7dc(0x183)],_0x1c5f5f[_0x4ea7dc(0x13a)]=_0x2b07fe,await SessionHandler[_0x4ea7dc(0x149)](_0x1c5f5f);}}catch(_0x1dd0fa){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x122)+util[_0x4ea7dc(0xd1)](_0x1dd0fa));}try{if(globals['getGlobal'](_0x9b6bc4[_0x4ea7dc(0xba)])&&globals[_0x4ea7dc(0xe8)](_0x9b6bc4[_0x4ea7dc(0xcf)])){logger[_0x4ea7dc(0x14a)](_0x9b6bc4[_0x4ea7dc(0xbb)]);const _0x123b2b=TestDetails['getTestUUID'](_0x7afe70[_0x4ea7dc(0xef)]),_0x30cd6e={};_0x30cd6e['thTestRunUuid']=_0x123b2b,_0x30cd6e[_0x4ea7dc(0x145)]=process[_0x4ea7dc(0xd7)][testHubConstants['ENV_VAR'][_0x4ea7dc(0xae)]],_0x30cd6e[_0x4ea7dc(0x160)]=process['env'][testHubConstants[_0x4ea7dc(0x134)][_0x4ea7dc(0x14f)]];const _0x40e95f=_0x30cd6e;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4ea7dc(0x127)](_0x40e95f)),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x13c)]),global[_0x4ea7dc(0xb9)]&&global['__drivers'][0x0]&&(logger[_0x4ea7dc(0x18d)](util[_0x4ea7dc(0xd1)](await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x113)](scripts[_0x4ea7dc(0x1a7)],{'method':global[_0x4ea7dc(0x12f)]}))),globals[_0x4ea7dc(0xe8)](_0x9b6bc4[_0x4ea7dc(0x142)])&&(_0x40e95f['is_mobile_session']=!![]),await global[_0x4ea7dc(0xb9)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x40e95f)),logger[_0x4ea7dc(0x14a)](_0x9b6bc4[_0x4ea7dc(0xbf)]);}}catch(_0x49a793){logger[_0x4ea7dc(0xf1)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x4ea7dc(0xd1)](_0x49a793));}if(_0x4ed61f)try{global['__drivers'][0x0]&&_0x9b6bc4[_0x4ea7dc(0x192)](global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0xbd)],0x0)&&await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x10c)]();}catch(_0x3fda1c){logger['debug'](_0x4ea7dc(0xc5)+_0x3fda1c);}_0x9b6bc4[_0x4ea7dc(0xe9)](_0x58576c);})[_0x3cfedd(0x19b)](()=>_0x168006());});const a8_0x3b262a={};a8_0x3b262a['name']=a8_0xa9dffb(0xca),a8_0x3b262a[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],AfterStep(a8_0x3b262a,function(_0xb1cb3b,_0x34edec){const _0x523efe=a8_0xa9dffb,_0x58df2b={'mqKky':function(_0x83d7eb,_0x4d8d4c){return _0x83d7eb===_0x4d8d4c;},'EDVkr':_0x523efe(0x13e),'XNJtk':function(_0x5ae2b3,_0xea229b){return _0x5ae2b3!==_0xea229b;},'KMAIQ':function(_0x1148f8,_0x5a28f0,_0x2a5856){return _0x1148f8(_0x5a28f0,_0x2a5856);},'gQxpg':function(_0x19ee01,_0x35b3b7){return _0x19ee01+_0x35b3b7;},'VUzqT':function(_0x2b5c70,_0x47647a){return _0x2b5c70+_0x47647a;},'MLmYC':_0x523efe(0x13b),'QQgal':_0x523efe(0x11c),'jNWZO':_0x523efe(0xf1),'ByrWw':function(_0xc1719d,_0x568c5c,_0x1bfd42){return _0xc1719d(_0x568c5c,_0x1bfd42);},'cnNLc':function(_0x18724f,_0x23a756){return _0x18724f+_0x23a756;},'RRWEy':function(_0x568695,_0x3349c8){return _0x568695!==_0x3349c8;},'oHnhC':function(_0x55109b,_0x2e36e1,_0x1490ed){return _0x55109b(_0x2e36e1,_0x1490ed);},'NjFbl':function(_0x50e0ef,_0x16c9fa){return _0x50e0ef+_0x16c9fa;},'Hjlso':_0x523efe(0xe4),'GjKQr':_0x523efe(0x14a),'vBkcz':function(_0xbec4ff,_0xe70474,_0x4e1441){return _0xbec4ff(_0xe70474,_0x4e1441);},'Xnpjn':_0x523efe(0x178),'LbsbA':function(_0x5e9e64){return _0x5e9e64();},'coWtI':_0x523efe(0x16c)};logger[_0x523efe(0x18d)](_0x58df2b[_0x523efe(0x17c)]);const _0x442ba9=async(_0x4cfad5,_0x4b661f)=>{const _0x918294=_0x523efe;global['__drivers']&&global[_0x918294(0xb9)][0x0]&&await global[_0x918294(0xb9)][0x0]['executeScript'](_0x918294(0xe7)+_0x4cfad5+_0x918294(0x15d)+_0x4b661f+_0x918294(0x11e));};new Promise(async _0x3f9639=>{const _0x4bb58a=_0x523efe;try{const _0x47c9d5=_0x58df2b[_0x4bb58a(0x169)](_0xb1cb3b[_0x4bb58a(0xd6)]['status'][_0x4bb58a(0x190)]()[_0x4bb58a(0x19a)](),_0x58df2b[_0x4bb58a(0x1a4)])||_0x58df2b[_0x4bb58a(0x169)](_0xb1cb3b['result'][_0x4bb58a(0x18e)][_0x4bb58a(0x190)]()[_0x4bb58a(0x19a)](),'6');_0x47c9d5?(global[_0x4bb58a(0x147)]=!![],global[_0x4bb58a(0xa7)]['push'](_0xb1cb3b['result'][_0x4bb58a(0x117)]),_0x58df2b[_0x4bb58a(0x17d)](_0xb1cb3b['pickleStep'],undefined)?await _0x58df2b['KMAIQ'](_0x442ba9,JSON['stringify'](_0x58df2b[_0x4bb58a(0x19c)](_0x58df2b[_0x4bb58a(0x19c)](_0x58df2b[_0x4bb58a(0x14e)](_0x58df2b[_0x4bb58a(0x162)],'\x22'+_0xb1cb3b[_0x4bb58a(0x102)][_0x4bb58a(0xea)]+'\x22\x20'),_0x58df2b[_0x4bb58a(0x106)]),_0xb1cb3b[_0x4bb58a(0xd6)]['message'])),_0x58df2b[_0x4bb58a(0xb5)]):await _0x58df2b['ByrWw'](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b[_0x4bb58a(0xab)](_0x58df2b['MLmYC'],_0xb1cb3b[_0x4bb58a(0xd6)][_0x4bb58a(0x117)])),_0x58df2b[_0x4bb58a(0xb5)])):_0x58df2b['RRWEy'](_0xb1cb3b[_0x4bb58a(0x102)],undefined)?await _0x58df2b['oHnhC'](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b[_0x4bb58a(0xdd)](_0x58df2b[_0x4bb58a(0x15a)],'\x22'+_0xb1cb3b[_0x4bb58a(0x102)][_0x4bb58a(0xea)]+'\x22')),_0x58df2b[_0x4bb58a(0x111)]):await _0x58df2b[_0x4bb58a(0x103)](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b['Xnpjn']),_0x58df2b[_0x4bb58a(0x111)]),global[_0x4bb58a(0xb9)]&&global[_0x4bb58a(0xb9)][0x0]&&global[_0x4bb58a(0xb9)][0x0]['session_'][_0x4bb58a(0x172)](_0x4cd285=>{})[_0x4bb58a(0x1a2)](_0x133136=>{const _0x345b36=_0x4bb58a;logger[_0x345b36(0x18d)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util['format'](_0x133136));});}catch(_0x245754){logger[_0x4bb58a(0x18d)](_0x4bb58a(0x173)+_0x245754);}_0x58df2b[_0x4bb58a(0xd0)](_0x3f9639);})[_0x523efe(0x19b)](()=>_0x34edec());});const a8_0x1f2973={};a8_0x1f2973[a8_0xa9dffb(0x116)]=a8_0xa9dffb(0xca),a8_0x1f2973['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],AfterAll(a8_0x1f2973,async function(_0x5da1bf,_0x52ab45){const _0x310429=a8_0xa9dffb,_0x51efa7={'FSlLC':_0x310429(0xd5),'LiKuV':function(_0x3adbdc){return _0x3adbdc();},'kNJvQ':'Cleaned\x20up\x20Playwright\x20close\x20tracker','WRTdU':_0x310429(0xed)};logger[_0x310429(0x18d)](_0x51efa7[_0x310429(0x165)]),await new Promise(async _0x2277c1=>{const _0x2329fc=_0x310429,_0x3c81a3=_0x51efa7['FSlLC']['split']('|');let _0x3dd724=0x0;while(!![]){switch(_0x3c81a3[_0x3dd724++]){case'0':PerformanceTester['stopMonitoring']();continue;case'1':await global['driverCleanup']();continue;case'2':_0x51efa7[_0x2329fc(0xad)](_0x2277c1);continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x2329fc(0xfb)]&&(await playwrightPatcher[_0x2329fc(0xfb)](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x2329fc(0xe0)](),logger[_0x2329fc(0x18d)](_0x51efa7['kNJvQ']));}catch(_0x151615){logger[_0x2329fc(0x18d)](_0x2329fc(0x194)+util[_0x2329fc(0xd1)](_0x151615));}continue;case'4':await RequestQueueHandler[_0x2329fc(0x107)]()['shutdown']();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x2589ad=a9_0xc1fc;(function(_0x4993b6,_0x1719d9){const _0x4b2543=a9_0xc1fc,_0x1fbd3c=_0x4993b6();while(!![]){try{const _0x50a6fa=-parseInt(_0x4b2543(0x176))/0x1+parseInt(_0x4b2543(0x180))/0x2*(parseInt(_0x4b2543(0x159))/0x3)+-parseInt(_0x4b2543(0x175))/0x4+-parseInt(_0x4b2543(0x163))/0x5*(parseInt(_0x4b2543(0x177))/0x6)+-parseInt(_0x4b2543(0x162))/0x7+parseInt(_0x4b2543(0x186))/0x8+parseInt(_0x4b2543(0x15a))/0x9*(parseInt(_0x4b2543(0x17a))/0xa);if(_0x50a6fa===_0x1719d9)break;else _0x1fbd3c['push'](_0x1fbd3c['shift']());}catch(_0x55952f){_0x1fbd3c['push'](_0x1fbd3c['shift']());}}}(a9_0x43bc,0xd8bab));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a9_0x2589ad(0x158)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a9_0x2589ad(0x169))['winstonLogger'];function a9_0x43bc(){const _0x2c9ab5=['102462oWwgEG','nmPPo','yGleL','409890PChgux','__skipSessionStatus','name','action','passed','arguments','74iQGbnf','Error:\x20setting\x20status\x20at\x20After:\x20','setDefaultTimeout','../../index','toLowerCase','__error_messages__','7902864LusPIf','WANOP','browserstack_executor:\x20','then','IYcXp','TjKhy','pickle','stringify','__driver','lHJOO','pwscq','../../helpers/helper','88773exdOpi','342wwfvYB','env','failed','RRwNz','bstack','skipSessionName','Before','executeScript','1675443ziFYgN','335ajDGii','skipSessionStatus','session_','parse','oAsku','HsXMj','../../helpers/logger','setSessionName','status','platformCaps','CONFIG','Error:\x20quiting\x20at\x20After:\x20','UPILw','result','__skipSessionName','__timeout','OEaSg','debug','1765356HpkNgZ','927737Cmqfol'];a9_0x43bc=function(){return _0x2c9ab5;};return a9_0x43bc();}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x2589ad(0x160)],After=cucumberModule['After'],configuration=process[a9_0x2589ad(0x15b)][a9_0x2589ad(0x16d)];if(configuration!==undefined){const config=JSON[a9_0x2589ad(0x166)](configuration);isTrue(config[a9_0x2589ad(0x15f)])&&(global['__skipSessionName']=!![]),global[a9_0x2589ad(0x17b)]=isTrue(config[a9_0x2589ad(0x164)]),require(a9_0x2589ad(0x183))['browserstackAgentV2'](config),global['__platformCaps']=config[a9_0x2589ad(0x16c)]||{};}global[a9_0x2589ad(0x172)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];function a9_0xc1fc(_0x4e6812,_0x40481e){const _0x43bcfb=a9_0x43bc();return a9_0xc1fc=function(_0xc1fcb8,_0x2fb42d){_0xc1fcb8=_0xc1fcb8-0x155;let _0x18cdb2=_0x43bcfb[_0xc1fcb8];return _0x18cdb2;},a9_0xc1fc(_0x4e6812,_0x40481e);}cucumberModule[a9_0x2589ad(0x182)]=_0x14b289=>{const _0x3197ee=a9_0x2589ad,_0x58febe={'OEaSg':function(_0x1c7215,_0x4f66ff){return _0x1c7215(_0x4f66ff);}};global[_0x3197ee(0x172)]=_0x14b289,_0x58febe[_0x3197ee(0x173)](__setDefaultTimeout,_0x14b289);};const a9_0x56bd9b={};a9_0x56bd9b[a9_0x2589ad(0x17c)]=a9_0x2589ad(0x15e),Before(a9_0x56bd9b,function(){const _0x506832=a9_0x2589ad,_0x1d0731={};_0x1d0731[_0x506832(0x156)]='Inside\x20browserstack\x20Before';const _0x21a47e=_0x1d0731;logger[_0x506832(0x174)](_0x21a47e[_0x506832(0x156)]),global['__error_messages__']=[];});const a9_0x10be8e={};a9_0x10be8e[a9_0x2589ad(0x17c)]=a9_0x2589ad(0x15e),a9_0x10be8e['timeout']=0x2710,After(a9_0x10be8e,function(_0x3bb684,_0x4b6540){const _0x253a2a=a9_0x2589ad,_0x599843={'TjKhy':_0x253a2a(0x16a),'oAsku':function(_0x5db038,_0x4e2fad){return _0x5db038===_0x4e2fad;},'yGleL':_0x253a2a(0x15c),'IYcXp':function(_0x597b1b,_0x565fff,_0x16810b,_0x11d521){return _0x597b1b(_0x565fff,_0x16810b,_0x11d521);},'RRwNz':'\x20|\x20','pwscq':function(_0x44ac17,_0x2404d8,_0x5077b5){return _0x44ac17(_0x2404d8,_0x5077b5);},'HsXMj':_0x253a2a(0x17e),'UPILw':function(_0x27b993){return _0x27b993();},'HDUuY':function(_0x4ad571,_0x11a139){return _0x4ad571(_0x11a139);},'nmPPo':function(_0x63f2d8){return _0x63f2d8();},'WANOP':'Inside\x20browserstack\x20After'};logger[_0x253a2a(0x174)](_0x599843[_0x253a2a(0x187)]),new Promise(async(_0x1d815d,_0x3e9f7f)=>{const _0x580060=_0x253a2a;let _0xef4f77=![];try{await global[_0x580060(0x155)][_0x580060(0x165)],_0xef4f77=!![];if(!global[_0x580060(0x171)]){const _0xd0dbce={};_0xd0dbce[_0x580060(0x17c)]=_0x3bb684[_0x580060(0x18c)][_0x580060(0x17c)];const _0x188b65={};_0x188b65[_0x580060(0x17d)]=_0x599843[_0x580060(0x18b)],_0x188b65[_0x580060(0x17f)]=_0xd0dbce;const _0x21f8fd=_0x188b65;await global[_0x580060(0x155)][_0x580060(0x161)](_0x580060(0x188)+JSON[_0x580060(0x18d)](_0x21f8fd));}_0x599843[_0x580060(0x167)](_0x3bb684[_0x580060(0x170)][_0x580060(0x16b)][_0x580060(0x184)](),_0x599843[_0x580060(0x179)])?await _0x599843[_0x580060(0x18a)](markSessionStatus,global[_0x580060(0x155)],_0x599843[_0x580060(0x179)],global[_0x580060(0x185)]['join'](_0x599843[_0x580060(0x15d)])):await _0x599843[_0x580060(0x157)](markSessionStatus,global[_0x580060(0x155)],_0x599843[_0x580060(0x168)]);}catch(_0xcebe0a){logger[_0x580060(0x174)](_0x580060(0x181)+_0xcebe0a);}if(_0xef4f77)try{await global['__driver']['initQuit'](),_0x599843[_0x580060(0x16f)](_0x1d815d);}catch(_0x35c7f1){logger[_0x580060(0x174)](_0x580060(0x16e)+_0x35c7f1),_0x599843['HDUuY'](_0x3e9f7f,_0x35c7f1);}else _0x599843[_0x580060(0x178)](_0x3e9f7f);})[_0x253a2a(0x189)](()=>_0x4b6540());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x50f562=a10_0x2868;(function(_0x3ae4c2,_0x4651f0){const _0x317e37=a10_0x2868,_0x1c9001=_0x3ae4c2();while(!![]){try{const _0x4368ca=-parseInt(_0x317e37(0x1a2))/0x1*(-parseInt(_0x317e37(0x19f))/0x2)+parseInt(_0x317e37(0x19e))/0x3+-parseInt(_0x317e37(0x198))/0x4*(parseInt(_0x317e37(0x1a1))/0x5)+parseInt(_0x317e37(0x19b))/0x6+-parseInt(_0x317e37(0x199))/0x7+-parseInt(_0x317e37(0x1a7))/0x8+parseInt(_0x317e37(0x19c))/0x9;if(_0x4368ca===_0x4651f0)break;else _0x1c9001['push'](_0x1c9001['shift']());}catch(_0x323bd0){_0x1c9001['push'](_0x1c9001['shift']());}}}(a10_0x2470,0x1c9ed));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');let cucumberModule=null;function a10_0x2470(){const _0x26f7d6=['__timeout','737736Hpcbop','4YrfLWf','433930uAKShK','BSTACK_DELTA','1344060MiHBMz','144702CVRtiE','cucumber/lib/index.js','373389YPnkyW','86ejJUsT','@cucumber/cucumber/lib/index.js','779690QTRLOE','1461qwcWgK','@cucumber/cucumber','setDefaultTimeout','cucumber'];a10_0x2470=function(){return _0x26f7d6;};return a10_0x2470();}try{cucumberModule=requireModule(a10_0x50f562(0x1a0),a10_0x50f562(0x1a3));}catch(a10_0x411aac){cucumberModule=requireModule(a10_0x50f562(0x19d),a10_0x50f562(0x1a5));}const userValue=global[a10_0x50f562(0x1a6)]||0x0;function a10_0x2868(_0x13b693,_0x501e6d){const _0x24701d=a10_0x2470();return a10_0x2868=function(_0x28689b,_0x2db74d){_0x28689b=_0x28689b-0x198;let _0x2941e6=_0x24701d[_0x28689b];return _0x2941e6;},a10_0x2868(_0x13b693,_0x501e6d);}(userValue===0x0||userValue<constants[a10_0x50f562(0x19a)])&&cucumberModule[a10_0x50f562(0x1a4)](constants[a10_0x50f562(0x19a)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a11_0x50f6df=a11_0x187f;(function(_0x3aa84,_0x25d8fe){const _0x3c9f49=a11_0x187f,_0x4a4c53=_0x3aa84();while(!![]){try{const _0x385c4f=parseInt(_0x3c9f49(0x178))/0x1+parseInt(_0x3c9f49(0x199))/0x2*(-parseInt(_0x3c9f49(0x18a))/0x3)+parseInt(_0x3c9f49(0x15e))/0x4+parseInt(_0x3c9f49(0x17d))/0x5*(parseInt(_0x3c9f49(0x164))/0x6)+-parseInt(_0x3c9f49(0x17f))/0x7+parseInt(_0x3c9f49(0x173))/0x8*(-parseInt(_0x3c9f49(0x177))/0x9)+parseInt(_0x3c9f49(0x18e))/0xa;if(_0x385c4f===_0x25d8fe)break;else _0x4a4c53['push'](_0x4a4c53['shift']());}catch(_0x5270f4){_0x4a4c53['push'](_0x4a4c53['shift']());}}}(a11_0x207d,0xaeafe));function a11_0x207d(){const _0x1bc9ea=['toString','demandCommand','every','split','431005ezKDfz','../../helpers/BrowserStackSetup','5928580PcDKCl','localIdentifier','../../helpers/logger','./constants','undefined','port','trim','DUawW','lmAxE','https','help','3YaweFC','setupBrowserstackLocal','Hosts\x20not\x20valid','bstackAccessKey','13168920fJqbVI','missing','Rpowu','error','browserstackLocal','hosts','info','PCGEt','RRAZw','ULMlp','protocol','2612834MFtyRK','FugNh','setProxySettings','kdlRr','NFwJa','footer','lGNyf','integrations','qiefe','epilogue','DQYmM','Connection\x20established\x20successfully.','join','demandOption','Failed\x20to\x20establish\x20connection.','../../helpers/helper','1775956KSllsD','only','winstonLogger','accessKey','alEWd','Integration\x20hosts\x20missing.','48jORAnZ','options','browserStackLocalOptions','map','url','bPLBe','type','443','BrowserStack\x20access\x20key\x20missing.','CcLRC','command','exports','describe','string','bstackAccesskey','8IrPSBC','root','integrations-repeater','config','2318607UlkpaX','676009jBhxoK'];a11_0x207d=function(){return _0x1bc9ea;};return a11_0x207d();}const {default:BrowserStackSetup}=require(a11_0x50f6df(0x17e)),logger=require(a11_0x50f6df(0x181))[a11_0x50f6df(0x160)],{URL}=require(a11_0x50f6df(0x168)),helper=require(a11_0x50f6df(0x15d)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x50f6df(0x182)),validHosts=function(_0x26447a){const _0x2196ee=a11_0x50f6df;return _0x26447a[_0x2196ee(0x17c)](',')[_0x2196ee(0x17b)](_0x5459cf=>{try{new URL(_0x5459cf['trim']());}catch(_0x2a4952){return![];}return!![];});},parseOnPremHosts=function(_0x2b627f){const _0x2ee716=a11_0x50f6df,_0x6077bb={};_0x6077bb[_0x2ee716(0x169)]=function(_0x2f90a7,_0x30400a){return _0x2f90a7===_0x30400a;},_0x6077bb[_0x2ee716(0x1a1)]='https:',_0x6077bb['lGNyf']=_0x2ee716(0x16b),_0x6077bb['alEWd']=_0x2ee716(0x188);const _0x4e80e2=_0x6077bb;return _0x2b627f[_0x2ee716(0x17c)](',')[_0x2ee716(0x167)](_0x3db10b=>{const _0x99edd2=_0x2ee716,_0x4e40d5=new URL(_0x3db10b[_0x99edd2(0x185)]()),_0x2952f9=_0x4e40d5['hostname'],_0x1a0bff=_0x4e40d5[_0x99edd2(0x184)]||(_0x4e80e2[_0x99edd2(0x169)](_0x4e40d5[_0x99edd2(0x198)],_0x4e80e2['qiefe'])?_0x4e80e2[_0x99edd2(0x19f)]:'80'),_0x502063=_0x4e40d5[_0x99edd2(0x198)]['replace'](':',''),_0x3171fe=_0x4e80e2['bPLBe'](_0x502063,_0x4e80e2[_0x99edd2(0x162)])?0x1:0x0;return _0x2952f9+','+_0x1a0bff+','+_0x3171fe;});},connectCommandBuilder=function(_0x280680){const _0x5a7b9b=a11_0x50f6df,_0x2c465d={};_0x2c465d[_0x5a7b9b(0x187)]=_0x5a7b9b(0x171);const _0x2af743=_0x2c465d,_0x2f7914={};_0x2f7914[_0x5a7b9b(0x170)]=HELP_MESSAGES[_0x5a7b9b(0x165)][_0x5a7b9b(0x18d)],_0x2f7914[_0x5a7b9b(0x16a)]=_0x2af743[_0x5a7b9b(0x187)];const _0x5a802e={};_0x5a802e[_0x5a7b9b(0x170)]=HELP_MESSAGES[_0x5a7b9b(0x165)][_0x5a7b9b(0x193)],_0x5a802e[_0x5a7b9b(0x16a)]=_0x2af743[_0x5a7b9b(0x187)],_0x5a802e[_0x5a7b9b(0x15b)]=!![];const _0x37add5={};return _0x37add5['bstack-accesskey']=_0x2f7914,_0x37add5['hosts']=_0x5a802e,_0x280680[_0x5a7b9b(0x165)](_0x37add5);},connectCommandHandler=async function(_0x1d9a89){const _0x3ccf19=a11_0x50f6df,_0x5361e4={'Rpowu':_0x3ccf19(0x1a0),'cVBYQ':function(_0x517f96,_0x25255a){return _0x517f96===_0x25255a;},'DUawW':_0x3ccf19(0x183),'DQYmM':_0x3ccf19(0x16c),'CcLRC':function(_0x531cf2,_0x8de732){return _0x531cf2===_0x8de732;},'PCGEt':_0x3ccf19(0x163),'ULMlp':function(_0x54271b,_0x157413){return _0x54271b(_0x157413);},'zditQ':_0x3ccf19(0x18c),'NFwJa':_0x3ccf19(0x175),'EPJME':_0x3ccf19(0x1a4),'kdlRr':_0x3ccf19(0x15c)};try{const _0x3b8c34=new BrowserStackSetup(_0x1d9a89,_0x5361e4[_0x3ccf19(0x190)]);_0x1d9a89[_0x3ccf19(0x172)]&&(_0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x161)]=_0x1d9a89[_0x3ccf19(0x172)]);if(_0x5361e4['cVBYQ'](typeof _0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x161)],_0x5361e4[_0x3ccf19(0x186)])){logger[_0x3ccf19(0x191)](_0x5361e4[_0x3ccf19(0x1a3)]);throw new Error(ERROR_MESSAGES[_0x3ccf19(0x18d)][_0x3ccf19(0x18f)]);}const _0x2e4519=_0x1d9a89[_0x3ccf19(0x193)];if(_0x5361e4[_0x3ccf19(0x16d)](typeof _0x2e4519,_0x5361e4[_0x3ccf19(0x186)])){logger['error'](_0x5361e4[_0x3ccf19(0x195)]);throw new Error(ERROR_MESSAGES[_0x3ccf19(0x193)][_0x3ccf19(0x18f)]);}if(!_0x5361e4['ULMlp'](validHosts,_0x2e4519)){logger[_0x3ccf19(0x191)](_0x5361e4['zditQ']);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x215c8c=_0x5361e4[_0x3ccf19(0x197)](parseOnPremHosts,_0x2e4519);_0x3b8c34['config'][_0x3ccf19(0x192)]=!![],_0x3b8c34[_0x3ccf19(0x176)]['browserStackLocalOptions'][_0x3ccf19(0x180)]=_0x5361e4[_0x3ccf19(0x19d)],_0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x166)][_0x3ccf19(0x15f)]=_0x215c8c[_0x3ccf19(0x1a5)](','),helper[_0x3ccf19(0x19b)](_0x3b8c34[_0x3ccf19(0x176)]),await _0x3b8c34[_0x3ccf19(0x18b)](),logger[_0x3ccf19(0x194)](_0x5361e4['EPJME']);}catch(_0x1f3051){logger['error'](_0x5361e4[_0x3ccf19(0x19c)]);throw new Error(_0x1f3051[_0x3ccf19(0x179)]());}};function run(_0x21bd3f){const _0x51b110=a11_0x50f6df,_0x3cd849={};_0x3cd849[_0x51b110(0x19a)]='connect',_0x3cd849[_0x51b110(0x196)]='help';const _0x1be32b=_0x3cd849;_0x21bd3f['usage'](HELP_MESSAGES[_0x51b110(0x16e)][_0x51b110(0x174)])['command'](_0x1be32b[_0x51b110(0x19a)],HELP_MESSAGES['command']['connect'],connectCommandBuilder,connectCommandHandler)[_0x51b110(0x17a)]()[_0x51b110(0x189)](_0x1be32b[_0x51b110(0x196)])[_0x51b110(0x1a2)](HELP_MESSAGES[_0x51b110(0x16e)][_0x51b110(0x19e)]);}function a11_0x187f(_0x224b38,_0x3016c8){const _0x207de3=a11_0x207d();return a11_0x187f=function(_0x187fc9,_0xad5c45){_0x187fc9=_0x187fc9-0x15b;let _0x468fa4=_0x207de3[_0x187fc9];return _0x468fa4;},a11_0x187f(_0x224b38,_0x3016c8);}module[a11_0x50f6df(0x16f)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12_0x5d18bc=a12_0x26b3;(function(_0x53d143,_0x44fb82){var _0x36135b=a12_0x26b3,_0x1d5091=_0x53d143();while(!![]){try{var _0x3b0d76=-parseInt(_0x36135b(0x18f))/0x1+parseInt(_0x36135b(0x192))/0x2*(parseInt(_0x36135b(0x18d))/0x3)+parseInt(_0x36135b(0x182))/0x4*(-parseInt(_0x36135b(0x17c))/0x5)+parseInt(_0x36135b(0x18a))/0x6*(-parseInt(_0x36135b(0x18e))/0x7)+-parseInt(_0x36135b(0x193))/0x8+-parseInt(_0x36135b(0x187))/0x9*(-parseInt(_0x36135b(0x17e))/0xa)+parseInt(_0x36135b(0x188))/0xb;if(_0x3b0d76===_0x44fb82)break;else _0x1d5091['push'](_0x1d5091['shift']());}catch(_0x4289b6){_0x1d5091['push'](_0x1d5091['shift']());}}}(a12_0xe7db,0xf22c0));var a12_0x593b1e={};a12_0x593b1e['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a12_0x593b1e[a12_0x5d18bc(0x18c)]=a12_0x5d18bc(0x189);var a12_0x1359ac={};function a12_0xe7db(){var _0x27b9de=['Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','10OKyOUz','options','invalid','HELP_MESSAGES','819548ABXBtp','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','root','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','3067083WOczYt','69161235JmubiL','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','114LKQQYS','connect','hosts','132819BZoUJM','591703JZgBHd','1474771PaNtkF','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','ERROR_MESSAGES','4pyxfAF','14595296ASqNWg','command','20gSAqBj'];a12_0xe7db=function(){return _0x27b9de;};return a12_0xe7db();}function a12_0x26b3(_0x491d57,_0x39d070){var _0xe7db99=a12_0xe7db();return a12_0x26b3=function(_0x26b342,_0x2c1719){_0x26b342=_0x26b342-0x17c;var _0x476da1=_0xe7db99[_0x26b342];return _0x476da1;},a12_0x26b3(_0x491d57,_0x39d070);}a12_0x1359ac[a12_0x5d18bc(0x184)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a12_0x1359ac[a12_0x5d18bc(0x18b)]=a12_0x5d18bc(0x17d),a12_0x1359ac['footer']=a12_0x5d18bc(0x186);var a12_0x58d6a5={};a12_0x58d6a5[a12_0x5d18bc(0x17f)]=a12_0x593b1e,a12_0x58d6a5[a12_0x5d18bc(0x194)]=a12_0x1359ac,exports[a12_0x5d18bc(0x181)]=a12_0x58d6a5;var a12_0x544860={};a12_0x544860[a12_0x5d18bc(0x185)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a12_0x2d62c9={};a12_0x2d62c9[a12_0x5d18bc(0x185)]=a12_0x5d18bc(0x190),a12_0x2d62c9[a12_0x5d18bc(0x180)]=a12_0x5d18bc(0x183);var a12_0x32c587={};a12_0x32c587['bstackAccessKey']=a12_0x544860,a12_0x32c587[a12_0x5d18bc(0x18c)]=a12_0x2d62c9,exports[a12_0x5d18bc(0x191)]=a12_0x32c587;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x560a22=a14_0x58b4;(function(_0x860f27,_0x4032b0){const _0x492535=a14_0x58b4,_0xc2cafd=_0x860f27();while(!![]){try{const _0x17928d=parseInt(_0x492535(0x1cf))/0x1*(parseInt(_0x492535(0x18a))/0x2)+-parseInt(_0x492535(0x1d5))/0x3+parseInt(_0x492535(0x15c))/0x4*(parseInt(_0x492535(0x198))/0x5)+-parseInt(_0x492535(0x196))/0x6*(parseInt(_0x492535(0x173))/0x7)+-parseInt(_0x492535(0x15e))/0x8*(-parseInt(_0x492535(0x16c))/0x9)+parseInt(_0x492535(0x1c6))/0xa+-parseInt(_0x492535(0x1a7))/0xb*(parseInt(_0x492535(0x17c))/0xc);if(_0x17928d===_0x4032b0)break;else _0xc2cafd['push'](_0xc2cafd['shift']());}catch(_0x32fb6a){_0xc2cafd['push'](_0xc2cafd['shift']());}}}(a14_0x1551,0xf0dc5));function a14_0x1551(){const _0x526e75=['keys','gihWZ','excluded','JKZVT','WVVhL','uruTg','bFQqk','slice','GlQxV','_sendSpecEvent','4380dnpOku','btWaQ','5pGEAwG','File\x20path\x20could\x20not\x20be\x20found','hOxYo','tJCjS','GlMmD','ZerYA','JASMINE','failure_reason_expanded','JjHlb','UukCz','parentSuiteId','_scopes','stack','number','uIQEY','11cpAjCt','_collapseFailedExpectations','specStarted','AssertionError','xqDcc','nIOaX','statSync','failure_backtrace','length','OKNzU','indIL','specDone','bPRiZ','trim','tEGhG','jasmineDone','../../../helpers/testhub/utils','remove','endsWith','appendTesthubParams','message','dirname','sep','afwQD','EqrHj','suiteDone','set','TestRunStarted','expanded','join','started_at','719780eJsrmU','XLYgB','wNGKa','WuSLo','Jasmine','testObservability','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','SBPsb','relative','268eqhVbl','description','suiteStarted','../../../helpers/test-observability/sessionHandler','exports','oKkPv','1105140DCREHu','TestRunSkipped','pending','finished_at','config','\x20:\x20','filename','SVZyM','rUOyo','failed','ZcmiA','backtrace','../testRunMap','pWKOi','_findGitConfig','duration','yOLlo','uuid','jasmineStarted','TestRunFinished','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','mpmvx','_suitesById','delete','1600172AXzoDg','push','15057176AjxgnD','passed','../../../helpers/test-observability/constants','_fileNameByFullName','status','CtLLH','PAfYX','NZyTx','WYFOZ','jFrel','fwUwV','shouldProcessEventForTesthub','DSsRV','oWFhS','9gXjzTf','toISOString','match','KBdEX','err','path','.git','10444rnPHSF','FyBMR','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','lgjib','get','has','BqLLc','fullName','split','18509412cqNdeZ','uploadEventData','matcherName','actual','setCurrentTestData','kmXAM','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failure','cwd','ukooi','WVScJ','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','WsKuZ','Spec\x20failed','12182bWMnst','zEBKt'];a14_0x1551=function(){return _0x526e75;};return a14_0x1551();}const path=require(a14_0x560a22(0x171)),fs=require('fs'),{v4:uuidv4}=require(a14_0x560a22(0x155)),testhubUtils=require(a14_0x560a22(0x1b7)),{FRAMEWORKS}=require(a14_0x560a22(0x160)),SessionHandler=require(a14_0x560a22(0x1d2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x560a22(0x150)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x560a22(0x1ca),a14_0x478e10={};a14_0x478e10['passed']='passed',a14_0x478e10['failed']=a14_0x560a22(0x14d),a14_0x478e10[a14_0x560a22(0x1d7)]=a14_0x560a22(0x1d7),a14_0x478e10[a14_0x560a22(0x18e)]='skipped';const STATUS_MAP=a14_0x478e10;class BrowserStackJasmineReporter{constructor(_0x6d2d7e={}){const _0x5693eb=a14_0x560a22,_0x37c6a1={'zEBKt':function(_0x305465){return _0x305465();}};this[_0x5693eb(0x1cb)]=_0x37c6a1[_0x5693eb(0x18b)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x5693eb(0x184)]()},undefined),this[_0x5693eb(0x161)]=_0x6d2d7e&&_0x6d2d7e['fileNameByFullName']||{},this['_suitesById']=new Map();}[a14_0x560a22(0x156)](){}[a14_0x560a22(0x1d1)](_0xb802a7){const _0x506c80=a14_0x560a22,_0x13bf2e={'KBdEX':function(_0x1963b0,_0x51f78d){return _0x1963b0!==_0x51f78d;},'afwQD':function(_0xb2894c,_0x1f5ba8){return _0xb2894c(_0x1f5ba8);}};try{_0xb802a7&&_0x13bf2e['KBdEX'](_0xb802a7['id'],undefined)&&_0x13bf2e[_0x506c80(0x16f)](_0xb802a7['id'],null)&&this[_0x506c80(0x15a)][_0x506c80(0x1c1)](_0xb802a7['id'],{'description':_0xb802a7[_0x506c80(0x1d0)],'parentSuiteId':_0xb802a7['parentSuiteId']});}catch(_0x31a713){_0x13bf2e[_0x506c80(0x1be)](debug,_0x506c80(0x187)+(_0xb802a7&&_0xb802a7['fullName'])+_0x506c80(0x1da)+_0x31a713);}}[a14_0x560a22(0x1a9)](_0x16fcd5){const _0x10dbc7=a14_0x560a22,_0x581f68={'gJiIx':function(_0x15ae99,_0x71b8de){return _0x15ae99!==_0x71b8de;},'iWtXL':function(_0x33a526){return _0x33a526();},'oKkPv':_0x10dbc7(0x1c2),'CtLLH':function(_0x599a53,_0x1e38eb){return _0x599a53(_0x1e38eb);}};try{if(_0x581f68['gJiIx'](testhubUtils[_0x10dbc7(0x169)](),!![]))return;const _0x3654c8=_0x581f68['iWtXL'](uuidv4);testRunMap[_0x10dbc7(0x1c1)](_0x16fcd5['id'],_0x3654c8),this['_sendSpecEvent'](_0x16fcd5,_0x3654c8,_0x581f68[_0x10dbc7(0x1d4)]);}catch(_0x2b0b64){_0x581f68[_0x10dbc7(0x163)](debug,_0x10dbc7(0x175)+(_0x16fcd5&&_0x16fcd5['fullName'])+_0x10dbc7(0x1da)+_0x2b0b64);}}[a14_0x560a22(0x1b2)](_0x14f874){const _0x31ad3d=a14_0x560a22,_0x48f756={'bPRiZ':function(_0x4c3dd6,_0x450356){return _0x4c3dd6!==_0x450356;},'vvUFi':function(_0x14f7d5){return _0x14f7d5();},'lgjib':function(_0x136034,_0x31975e){return _0x136034===_0x31975e;},'uruTg':_0x31ad3d(0x18e),'ehdrM':'TestRunSkipped','wNGKa':_0x31ad3d(0x157),'SVZyM':function(_0x5001c8,_0x4a6753){return _0x5001c8(_0x4a6753);}};try{if(_0x48f756[_0x31ad3d(0x1b3)](testhubUtils[_0x31ad3d(0x169)](),!![]))return;const _0x6a8191=testRunMap['get'](_0x14f874['id'])||_0x48f756['vvUFi'](uuidv4),_0x4bc393=_0x48f756[_0x31ad3d(0x176)](_0x14f874[_0x31ad3d(0x162)],_0x48f756[_0x31ad3d(0x191)])?_0x48f756['ehdrM']:_0x48f756[_0x31ad3d(0x1c8)];this[_0x31ad3d(0x195)](_0x14f874,_0x6a8191,_0x4bc393);}catch(_0x10a2ed){_0x48f756[_0x31ad3d(0x1dc)](debug,_0x31ad3d(0x182)+(_0x14f874&&_0x14f874[_0x31ad3d(0x17a)])+_0x31ad3d(0x1da)+_0x10a2ed);}finally{_0x14f874&&(testRunMap[_0x31ad3d(0x1b8)](_0x14f874['id']),_specStartTimes[_0x31ad3d(0x15b)](_0x14f874['id']));}}[a14_0x560a22(0x1c0)](){}[a14_0x560a22(0x1b6)](){}[a14_0x560a22(0x195)](_0x36c0ad,_0xe37608,_0x27cac2){const _0x54af56=a14_0x560a22,_0x34ebb3={'jFrel':function(_0x339d15,_0x488326){return _0x339d15===_0x488326;},'XLYgB':_0x54af56(0x157),'JKZVT':function(_0x50f11a,_0x2eccde){return _0x50f11a===_0x2eccde;},'mpmvx':_0x54af56(0x1d6),'xqDcc':_0x54af56(0x199),'WYFOZ':function(_0x251beb,_0x5a89f2,_0x4e84d5){return _0x251beb(_0x5a89f2,_0x4e84d5);},'JSdwY':_0x54af56(0x170),'uIQEY':function(_0xf92bf5,_0x405033){return _0xf92bf5===_0x405033;},'tEGhG':_0x54af56(0x1c2),'hOxYo':function(_0x1bbc00,_0x1a50fe){return _0x1bbc00!==_0x1a50fe;},'WsKuZ':function(_0x324939,_0x235873){return _0x324939!==_0x235873;},'SBPsb':'javascript','BqLLc':function(_0x2dea6e,_0x5eb6db){return _0x2dea6e&&_0x5eb6db;},'ZcmiA':'skipped','indIL':_0x54af56(0x15f),'WuSLo':function(_0x2f3727,_0x389fb3){return _0x2f3727===_0x389fb3;},'yOLlo':_0x54af56(0x1a5),'NZyTx':_0x54af56(0x1aa),'fwUwV':'UnhandledError','ZerYA':function(_0x14cbf1,_0x3617b0){return _0x14cbf1===_0x3617b0;},'gihWZ':_0x54af56(0x1c5),'JjHlb':_0x54af56(0x1d8),'nEyuy':_0x54af56(0x183),'pWKOi':_0x54af56(0x1ae),'bFQqk':_0x54af56(0x14f),'cBMFm':_0x54af56(0x19f),'FyBMR':_0x54af56(0x1c3),'ukooi':function(_0x1fba91,_0x2fa9df){return _0x1fba91===_0x2fa9df;},'tJCjS':function(_0x13e80a,_0x59ffb5){return _0x13e80a(_0x59ffb5);}};try{const _0x4277a6=_0x34ebb3[_0x54af56(0x167)](_0x27cac2,_0x34ebb3[_0x54af56(0x1c7)])||_0x34ebb3[_0x54af56(0x18f)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)]),_0x4df636=this['_resolveFilePath'](_0x36c0ad),_0x540152=_0x4df636?this['_paths']['prefixTestPath'](_0x4df636):_0x34ebb3[_0x54af56(0x1ab)],_0x145de5=_0x4df636?this[_0x54af56(0x152)](path[_0x54af56(0x1bc)](_0x4df636)):null,_0x3828af=this[_0x54af56(0x1a8)](_0x36c0ad['failedExpectations']),_0xb0de41=_0x3828af?_0x3828af['message']:undefined,_0x5c7ae1=_0x3828af?_0x34ebb3[_0x54af56(0x166)](failureData,_0x3828af,_0x34ebb3['JSdwY']):[],_0x58ef7f=new Date()[_0x54af56(0x16d)](),_0x300303=this[_0x54af56(0x1a3)](_0x36c0ad);_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3['tEGhG'])&&_0x36c0ad&&_0x34ebb3[_0x54af56(0x19a)](_0x36c0ad['id'],undefined)&&_0x34ebb3[_0x54af56(0x188)](_0x36c0ad['id'],null)&&_specStartTimes[_0x54af56(0x1c1)](_0x36c0ad['id'],_0x58ef7f);const _0x35a1c4=_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3[_0x54af56(0x1b5)])?_0x58ef7f:_0x36c0ad&&_specStartTimes[_0x54af56(0x177)](_0x36c0ad['id'])||null,_0x2d0365={};_0x2d0365['lang']=_0x34ebb3[_0x54af56(0x1cd)],_0x2d0365['code']=null;const _0x169230={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0xe37608,'name':_0x36c0ad[_0x54af56(0x1d0)],'body':_0x2d0365,'scope':_0x300303['join']('\x20'),'scopes':_0x300303,'identifier':_0x36c0ad[_0x54af56(0x17a)],'file_name':_0x540152,'vc_filepath':_0x34ebb3[_0x54af56(0x179)](_0x145de5,_0x4df636)?path[_0x54af56(0x1ce)](_0x145de5,_0x4df636):null,'location':_0x540152,'result':_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)])?_0x34ebb3[_0x54af56(0x14e)]:STATUS_MAP[_0x36c0ad[_0x54af56(0x162)]]||_0x34ebb3[_0x54af56(0x1b1)],'failure_reason':_0xb0de41,'duration_in_ms':_0x34ebb3[_0x54af56(0x1c9)](typeof _0x36c0ad[_0x54af56(0x153)],_0x34ebb3[_0x54af56(0x154)])?_0x36c0ad['duration']:null,'started_at':_0x35a1c4,'finished_at':_0x4277a6?_0x58ef7f:null,'failure':_0x5c7ae1,'failure_type':!_0xb0de41?null:_0xb0de41[_0x54af56(0x16e)](/AssertionError/)?_0x34ebb3[_0x54af56(0x165)]:_0x34ebb3[_0x54af56(0x168)],'retry_of':null};_0x34ebb3[_0x54af56(0x19d)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)])&&!_0x169230[_0x34ebb3[_0x54af56(0x18d)]]&&(_0x169230[_0x34ebb3[_0x54af56(0x18d)]]=_0x169230[_0x34ebb3[_0x54af56(0x1a0)]]);const _0x1211c2=_0x169230[_0x34ebb3['nEyuy']][0x0];_0x1211c2&&(_0x169230[_0x34ebb3[_0x54af56(0x151)]]=_0x1211c2[_0x34ebb3[_0x54af56(0x192)]],_0x169230[_0x34ebb3['cBMFm']]=_0x1211c2[_0x34ebb3[_0x54af56(0x174)]]);testhubUtils[_0x54af56(0x1ba)](_0x169230,_0x27cac2,_0x36c0ad,FRAMEWORKS['JASMINE']);const _0x5e51eb={'event_type':_0x34ebb3[_0x54af56(0x185)](_0x27cac2,_0x34ebb3['mpmvx'])?_0x34ebb3['XLYgB']:_0x27cac2,'test_run':_0x169230};return testhubUtils[_0x54af56(0x180)](FRAMEWORKS[_0x54af56(0x19e)],_0x5e51eb),SessionHandler[_0x54af56(0x17d)](_0x5e51eb);}catch(_0xddbd39){_0x34ebb3[_0x54af56(0x19b)](debug,_0x54af56(0x158)+_0x27cac2+_0x54af56(0x1da)+_0xddbd39);}}[a14_0x560a22(0x1a3)](_0x1626f5){const _0x58a890=a14_0x560a22,_0x445823={'EqrHj':function(_0x9360d0,_0x2ddb4c){return _0x9360d0!==_0x2ddb4c;},'PAfYX':function(_0x93efb6,_0x7b080a){return _0x93efb6!==_0x7b080a;},'DSsRV':function(_0x4412c9,_0x33a220){return _0x4412c9>_0x33a220;},'kmXAM':function(_0x49e634,_0x6ecebb){return _0x49e634(_0x6ecebb);},'nIOaX':function(_0x57d55e,_0x230d7e){return _0x57d55e-_0x230d7e;}};try{const _0x3a31ea=[];let _0x4101c7=_0x1626f5&&_0x1626f5[_0x58a890(0x1a2)];const _0x5ac3e4=new Set();while(_0x445823[_0x58a890(0x1bf)](_0x4101c7,undefined)&&_0x445823[_0x58a890(0x164)](_0x4101c7,null)&&this[_0x58a890(0x15a)][_0x58a890(0x178)](_0x4101c7)&&!_0x5ac3e4[_0x58a890(0x178)](_0x4101c7)){_0x5ac3e4['add'](_0x4101c7);const _0x214de9=this['_suitesById'][_0x58a890(0x177)](_0x4101c7);_0x214de9&&_0x214de9[_0x58a890(0x1d0)]&&_0x3a31ea[_0x58a890(0x15d)](_0x214de9['description']),_0x4101c7=_0x214de9?_0x214de9['parentSuiteId']:null;}if(_0x445823[_0x58a890(0x16a)](_0x3a31ea[_0x58a890(0x1af)],0x0))return _0x3a31ea['reverse']();}catch(_0x55063b){_0x445823[_0x58a890(0x181)](debug,_0x58a890(0x1cc)+(_0x1626f5&&_0x1626f5[_0x58a890(0x17a)])+_0x58a890(0x1da)+_0x55063b);}const _0x4ab516=_0x1626f5&&_0x1626f5['fullName']||'',_0x5c221f=_0x1626f5&&_0x1626f5[_0x58a890(0x1d0)]||'';let _0x45dbeb=_0x4ab516;return _0x5c221f&&_0x4ab516[_0x58a890(0x1b9)](_0x5c221f)&&(_0x45dbeb=_0x4ab516[_0x58a890(0x193)](0x0,_0x445823[_0x58a890(0x1ac)](_0x4ab516[_0x58a890(0x1af)],_0x5c221f[_0x58a890(0x1af)]))[_0x58a890(0x1b4)]()),_0x45dbeb?_0x45dbeb[_0x58a890(0x17b)](/\s+/):[];}['_resolveFilePath'](_0x58b969){const _0x52c3ec=a14_0x560a22,_0x543bae={};_0x543bae[_0x52c3ec(0x16b)]=function(_0x460cec,_0x3a5ce1){return _0x460cec===_0x3a5ce1;},_0x543bae[_0x52c3ec(0x197)]=function(_0x5b19ad,_0x55b73b){return _0x5b19ad+_0x55b73b;},_0x543bae['WVScJ']=function(_0x239b99,_0x4ff78b){return _0x239b99>_0x4ff78b;};const _0x5c29b1=_0x543bae;if(_0x58b969&&_0x58b969[_0x52c3ec(0x1db)])return _0x58b969[_0x52c3ec(0x1db)];if(_0x58b969&&_0x58b969[_0x52c3ec(0x17a)]){if(this[_0x52c3ec(0x161)][_0x58b969[_0x52c3ec(0x17a)]])return this['_fileNameByFullName'][_0x58b969[_0x52c3ec(0x17a)]];let _0x3a3660=null,_0xc37a56=-0x1;for(const _0x41c91d of Object[_0x52c3ec(0x18c)](this[_0x52c3ec(0x161)])){(_0x5c29b1[_0x52c3ec(0x16b)](_0x58b969[_0x52c3ec(0x17a)],_0x41c91d)||_0x58b969[_0x52c3ec(0x17a)]['startsWith'](_0x5c29b1[_0x52c3ec(0x197)](_0x41c91d,'\x20')))&&_0x5c29b1[_0x52c3ec(0x186)](_0x41c91d[_0x52c3ec(0x1af)],_0xc37a56)&&(_0x3a3660=this['_fileNameByFullName'][_0x41c91d],_0xc37a56=_0x41c91d[_0x52c3ec(0x1af)]);}if(_0x3a3660)return _0x3a3660;}return null;}[a14_0x560a22(0x1a8)](_0x247f8e){const _0x5e2112=a14_0x560a22,_0x250bbe={};_0x250bbe['UukCz']=function(_0xf24aac,_0xcbc169){return _0xf24aac===_0xcbc169;},_0x250bbe['rgpgH']=_0x5e2112(0x189);const _0x977b04=_0x250bbe;if(!Array['isArray'](_0x247f8e)||_0x977b04[_0x5e2112(0x1a1)](_0x247f8e[_0x5e2112(0x1af)],0x0))return undefined;const _0x579e3b=[],_0x5e1bf0=[];for(const _0x128e49 of _0x247f8e){_0x128e49&&_0x128e49[_0x5e2112(0x1bb)]&&_0x579e3b[_0x5e2112(0x15d)](_0x128e49['message']),_0x128e49&&_0x128e49[_0x5e2112(0x1a4)]&&_0x5e1bf0[_0x5e2112(0x15d)](_0x128e49[_0x5e2112(0x1a4)]);}const _0x14ae3e=_0x247f8e[0x0]||{},_0x1c2950=_0x579e3b['join']('\x0a')||_0x14ae3e['message']||_0x977b04['rgpgH'],_0x1a9d3a=_0x5e1bf0[_0x5e2112(0x1c4)]('\x0a\x0a')||_0x14ae3e['stack']||_0x1c2950,_0x54bc8b={};return _0x54bc8b['message']=_0x1c2950,_0x54bc8b[_0x5e2112(0x1a4)]=_0x1a9d3a,_0x54bc8b[_0x5e2112(0x17e)]=_0x14ae3e['matcherName'],_0x54bc8b['expected']=_0x14ae3e['expected'],_0x54bc8b[_0x5e2112(0x17f)]=_0x14ae3e[_0x5e2112(0x17f)],_0x54bc8b;}[a14_0x560a22(0x152)](_0x375acf){const _0x2142b5=a14_0x560a22,_0x39bc3d={};_0x39bc3d[_0x2142b5(0x14c)]=function(_0x55eaf6,_0x3dd7e){return _0x55eaf6===_0x3dd7e;},_0x39bc3d[_0x2142b5(0x19c)]=function(_0x46f8ff,_0x47ddfb){return _0x46f8ff===_0x47ddfb;},_0x39bc3d[_0x2142b5(0x190)]=function(_0x96f3c3,_0x50ea22){return _0x96f3c3===_0x50ea22;},_0x39bc3d[_0x2142b5(0x194)]=_0x2142b5(0x172),_0x39bc3d[_0x2142b5(0x1b0)]=_0x2142b5(0x1d9);const _0x4982f3=_0x39bc3d,_0x3a55d6=path[_0x2142b5(0x1bd)];if(_0x4982f3[_0x2142b5(0x14c)](_0x375acf,null)||_0x4982f3[_0x2142b5(0x19c)](_0x375acf,'')||_0x4982f3[_0x2142b5(0x14c)](_0x375acf,_0x3a55d6)||_0x4982f3[_0x2142b5(0x190)](_0x375acf,path[_0x2142b5(0x1bc)](_0x375acf)))return null;try{return fs[_0x2142b5(0x1ad)](path['join'](_0x375acf,_0x4982f3[_0x2142b5(0x194)],_0x4982f3[_0x2142b5(0x1b0)])),_0x375acf;}catch(_0x37fae2){return this[_0x2142b5(0x152)](path[_0x2142b5(0x1bc)](_0x375acf));}}}function a14_0x58b4(_0x46cbd1,_0x42bb9b){const _0x155133=a14_0x1551();return a14_0x58b4=function(_0x58b439,_0x41b14a){_0x58b439=_0x58b439-0x14c;let _0x50e7ce=_0x155133[_0x58b439];return _0x50e7ce;},a14_0x58b4(_0x46cbd1,_0x42bb9b);}module[a14_0x560a22(0x1d3)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a13_0x2c784e=a13_0x8702;function a13_0x3868(){const _0x10f6e8=['reverse','4967829kxKLWy','message','DJStJ','started_at','TestRunSkipped','uploadEventData','trim','passed','VHqsl','Dgjlq','matcherName','jrHTD','Spec\x20failed','status','lang','nNEJg','ZSFZF','cnzzX','failure_reason_expanded','fileNameByFullName','exports','ViXHY','_suitesById','bQLDg','AaVBh','stack','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','fullName','mxnmO','MncYF','8lFFIUj','relative','expanded','length','number','code','rPDWH','drSAs','TestRunStarted','description','snUVU','duration','failure_backtrace','UQtgz','gZpdw','endsWith','sep','split','actual','testObservability','add','jasmineStarted','failure','\x20:\x20','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_findGitConfig','WfBLr','suiteStarted','../../../helpers/test-observability/utils','IKXMv','209748EFVuOu','fwmwj','sQTpL','QXuGt','1482815EqRQtt','err','XHZik','javascript','specDone','../../../helpers/test-observability/sessionHandler','jasmineDone','prefixTestPath','toISOString','853578dQjmWP','6HfGcpe','mbrRw','delete','_scopes','get','statSync','push','match','pLJgT','_collapseFailedExpectations','sBUcK','AssertionError','pboEQ','436480CWSJGt','expected','failed','GCZJO','_fileNameByFullName','Jasmine','JQtap','path','skipped','HyBKo','appendTesthubParams','3138877WnqiOe','mhKKW','PuLTi','_paths','_resolveFilePath','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','JBBOp','join','../testRunMap','keys','vnTjn','YHdwt','File\x20path\x20could\x20not\x20be\x20found','.git','GBNow','dirname','503068WQgLNn','has','JJgOA','BLfnV','filename','remove','config','Exception\x20in\x20jasmine\x20specDone\x20for\x20','MMXbB','set','setCurrentTestData','cwd','FVOLe','aeoUt','_sendSpecEvent','JASMINE','parentSuiteId','specStarted','gFsxu','lIrwu','BqEJt','pending','shouldProcessEventForTesthub','slice','excluded','LBjoF','../../../helpers/testhub/utils','isArray'];a13_0x3868=function(){return _0x10f6e8;};return a13_0x3868();}(function(_0x5b81be,_0x3c245c){const _0x1f05d6=a13_0x8702,_0x5133a7=_0x5b81be();while(!![]){try{const _0x25bd3c=-parseInt(_0x1f05d6(0xad))/0x1+parseInt(_0x1f05d6(0xc8))/0x2+-parseInt(_0x1f05d6(0xba))/0x3+parseInt(_0x1f05d6(0xe3))/0x4+parseInt(_0x1f05d6(0xb1))/0x5*(parseInt(_0x1f05d6(0xbb))/0x6)+-parseInt(_0x1f05d6(0xd3))/0x7+-parseInt(_0x1f05d6(0x11e))/0x8*(-parseInt(_0x1f05d6(0x100))/0x9);if(_0x25bd3c===_0x3c245c)break;else _0x5133a7['push'](_0x5133a7['shift']());}catch(_0xf40093){_0x5133a7['push'](_0x5133a7['shift']());}}}(a13_0x3868,0x3d00a));const path=require(a13_0x2c784e(0xcf)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a13_0x2c784e(0xfd)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x2c784e(0xb6)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x2c784e(0xab)),testRunMap=require(a13_0x2c784e(0xdb)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0x2c784e(0xcd),a13_0x1775b7={};function a13_0x8702(_0x472755,_0x26bc13){const _0x386843=a13_0x3868();return a13_0x8702=function(_0x870224,_0x564323){_0x870224=_0x870224-0x91;let _0x3f5b91=_0x386843[_0x870224];return _0x3f5b91;},a13_0x8702(_0x472755,_0x26bc13);}a13_0x1775b7[a13_0x2c784e(0x107)]=a13_0x2c784e(0x107),a13_0x1775b7['failed']=a13_0x2c784e(0xca),a13_0x1775b7['pending']=a13_0x2c784e(0xf8),a13_0x1775b7['excluded']=a13_0x2c784e(0xd0);const STATUS_MAP=a13_0x1775b7;class BrowserStackJasmineReporter{constructor(_0x24e368={}){const _0x1b6211=a13_0x2c784e,_0x22ad68={'snUVU':function(_0x22bd6f){return _0x22bd6f();}};this[_0x1b6211(0xa2)]=_0x22ad68[_0x1b6211(0x99)](isTestObservabilitySession),this[_0x1b6211(0xd6)]=new PathHelper({'cwd':process[_0x1b6211(0xee)]()},undefined),this[_0x1b6211(0xcc)]=_0x24e368&&_0x24e368[_0x1b6211(0x113)]||{},this[_0x1b6211(0x116)]=new Map();}[a13_0x2c784e(0xa4)](){}[a13_0x2c784e(0xaa)](_0x5e722f){const _0x222920=a13_0x2c784e,_0x28df70={'lvWYW':function(_0x108b3c,_0x1a5a29){return _0x108b3c!==_0x1a5a29;},'JJgOA':function(_0xc888a2,_0x2ee259){return _0xc888a2(_0x2ee259);}};try{_0x5e722f&&_0x28df70['lvWYW'](_0x5e722f['id'],undefined)&&_0x28df70['lvWYW'](_0x5e722f['id'],null)&&this[_0x222920(0x116)]['set'](_0x5e722f['id'],{'description':_0x5e722f[_0x222920(0x98)],'parentSuiteId':_0x5e722f['parentSuiteId']});}catch(_0x50517b){_0x28df70[_0x222920(0xe5)](debug,_0x222920(0xa7)+(_0x5e722f&&_0x5e722f[_0x222920(0x11b)])+_0x222920(0xa6)+_0x50517b);}}[a13_0x2c784e(0xf4)](_0x6c0bb8){const _0x41ffaa=a13_0x2c784e,_0x4935ba={'LBjoF':function(_0x731657,_0x52ffca){return _0x731657!==_0x52ffca;},'sBUcK':function(_0x1afc42){return _0x1afc42();},'ViXHY':_0x41ffaa(0x97),'JQtap':function(_0x216306,_0x2f4aee){return _0x216306(_0x2f4aee);}};try{if(_0x4935ba[_0x41ffaa(0xfc)](testhubUtils[_0x41ffaa(0xf9)](),!![]))return;const _0x90a11e=_0x4935ba[_0x41ffaa(0xc5)](uuidv4);testRunMap[_0x41ffaa(0xec)](_0x6c0bb8['id'],_0x90a11e),this[_0x41ffaa(0xf1)](_0x6c0bb8,_0x90a11e,_0x4935ba[_0x41ffaa(0x115)]);}catch(_0x4ff563){_0x4935ba[_0x41ffaa(0xce)](debug,_0x41ffaa(0xd8)+(_0x6c0bb8&&_0x6c0bb8[_0x41ffaa(0x11b)])+_0x41ffaa(0xa6)+_0x4ff563);}}[a13_0x2c784e(0xb5)](_0x47a0a1){const _0x3e0bcf=a13_0x2c784e,_0x12626e={'sQTpL':function(_0x5cb269,_0x5f14ed){return _0x5cb269!==_0x5f14ed;},'vnTjn':function(_0x5cf5fa){return _0x5cf5fa();},'nNEJg':function(_0x7b323f,_0x3fc729){return _0x7b323f===_0x3fc729;},'YHdwt':_0x3e0bcf(0xfb),'gFsxu':_0x3e0bcf(0x104),'ZSFZF':'TestRunFinished','pboEQ':function(_0x59ccee,_0x2023f0){return _0x59ccee(_0x2023f0);}};try{if(_0x12626e[_0x3e0bcf(0xaf)](testhubUtils[_0x3e0bcf(0xf9)](),!![]))return;const _0x135271=testRunMap[_0x3e0bcf(0xbf)](_0x47a0a1['id'])||_0x12626e[_0x3e0bcf(0xdd)](uuidv4),_0x39b10c=_0x12626e[_0x3e0bcf(0x10f)](_0x47a0a1[_0x3e0bcf(0x10d)],_0x12626e[_0x3e0bcf(0xde)])?_0x12626e[_0x3e0bcf(0xf5)]:_0x12626e[_0x3e0bcf(0x110)];this[_0x3e0bcf(0xf1)](_0x47a0a1,_0x135271,_0x39b10c);}catch(_0x3ed405){_0x12626e[_0x3e0bcf(0xc7)](debug,_0x3e0bcf(0xea)+(_0x47a0a1&&_0x47a0a1[_0x3e0bcf(0x11b)])+_0x3e0bcf(0xa6)+_0x3ed405);}finally{_0x47a0a1&&(testRunMap[_0x3e0bcf(0xe8)](_0x47a0a1['id']),_specStartTimes[_0x3e0bcf(0xbd)](_0x47a0a1['id']));}}['suiteDone'](){}[a13_0x2c784e(0xb7)](){}[a13_0x2c784e(0xf1)](_0x4c2e7e,_0x50dd5f,_0x1d84c6){const _0x457128=a13_0x2c784e,_0x5b2a21={'JBBOp':function(_0x126223,_0x3324fb){return _0x126223===_0x3324fb;},'XHZik':'TestRunFinished','MncYF':function(_0x5ef0c0,_0x3d7bc9){return _0x5ef0c0===_0x3d7bc9;},'bQLDg':_0x457128(0x104),'nMhpz':_0x457128(0xdf),'drSAs':function(_0x439fd2,_0x4d5798,_0x2862ba){return _0x439fd2(_0x4d5798,_0x2862ba);},'PHPkC':_0x457128(0xb2),'GBNow':_0x457128(0x97),'MMXbB':function(_0x51f1bf,_0xbc940c){return _0x51f1bf!==_0xbc940c;},'fEBVN':function(_0x19fee0,_0x407be7){return _0x19fee0!==_0x407be7;},'fwmwj':_0x457128(0xb4),'cnzzX':function(_0x197a32,_0x21a302){return _0x197a32&&_0x21a302;},'GCZJO':function(_0xc6a600,_0x292d95){return _0xc6a600===_0x292d95;},'EFzgC':_0x457128(0xd0),'mbrRw':_0x457128(0x107),'gZpdw':function(_0x513b04,_0x3b2c26){return _0x513b04===_0x3b2c26;},'VHqsl':_0x457128(0x93),'sevii':_0x457128(0xc6),'IKXMv':'UnhandledError','VeajV':_0x457128(0x103),'pLJgT':'finished_at','PuLTi':_0x457128(0xa5),'FVOLe':_0x457128(0x9b),'PnvBZ':'backtrace','jrHTD':_0x457128(0x112),'lIrwu':_0x457128(0x91),'Dgjlq':function(_0x36a094,_0x5ae29a){return _0x36a094(_0x5ae29a);}};try{const _0x54df1b=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xb3)])||_0x5b2a21[_0x457128(0x11d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)]),_0x427ff3=this[_0x457128(0xd7)](_0x4c2e7e),_0x27670d=_0x427ff3?this[_0x457128(0xd6)][_0x457128(0xb8)](_0x427ff3):_0x5b2a21['nMhpz'],_0x1b7086=_0x427ff3?this[_0x457128(0xa8)](path[_0x457128(0xe2)](_0x427ff3)):null,_0x485c4d=this['_collapseFailedExpectations'](_0x4c2e7e['failedExpectations']),_0x10147b=_0x485c4d?_0x485c4d[_0x457128(0x101)]:undefined,_0xb74a71=_0x485c4d?_0x5b2a21[_0x457128(0x96)](failureData,_0x485c4d,_0x5b2a21['PHPkC']):[],_0x3f591e=new Date()[_0x457128(0xb9)](),_0x4f2b4b=this[_0x457128(0xbe)](_0x4c2e7e);_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])&&_0x4c2e7e&&_0x5b2a21[_0x457128(0xeb)](_0x4c2e7e['id'],undefined)&&_0x5b2a21['fEBVN'](_0x4c2e7e['id'],null)&&_specStartTimes[_0x457128(0xec)](_0x4c2e7e['id'],_0x3f591e);const _0xec6b7=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])?_0x3f591e:_0x4c2e7e&&_specStartTimes[_0x457128(0xbf)](_0x4c2e7e['id'])||null,_0x2a0f7f={};_0x2a0f7f[_0x457128(0x10e)]=_0x5b2a21[_0x457128(0xae)],_0x2a0f7f[_0x457128(0x94)]=null;const _0x32d45d={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x50dd5f,'name':_0x4c2e7e['description'],'body':_0x2a0f7f,'scope':_0x4f2b4b['join']('\x20'),'scopes':_0x4f2b4b,'identifier':_0x4c2e7e[_0x457128(0x11b)],'file_name':_0x27670d,'vc_filepath':_0x5b2a21[_0x457128(0x111)](_0x1b7086,_0x427ff3)?path[_0x457128(0x11f)](_0x1b7086,_0x427ff3):null,'location':_0x27670d,'result':_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['EFzgC']:STATUS_MAP[_0x4c2e7e['status']]||_0x5b2a21[_0x457128(0xbc)],'failure_reason':_0x10147b,'duration_in_ms':_0x5b2a21[_0x457128(0x9d)](typeof _0x4c2e7e['duration'],_0x5b2a21[_0x457128(0x108)])?_0x4c2e7e[_0x457128(0x9a)]:null,'started_at':_0xec6b7,'finished_at':_0x54df1b?_0x3f591e:null,'failure':_0xb74a71,'failure_type':!_0x10147b?null:_0x10147b[_0x457128(0xc2)](/AssertionError/)?_0x5b2a21['sevii']:_0x5b2a21[_0x457128(0xac)],'retry_of':null};_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21['bQLDg'])&&!_0x32d45d[_0x5b2a21['VeajV']]&&(_0x32d45d[_0x5b2a21['VeajV']]=_0x32d45d[_0x5b2a21[_0x457128(0xc3)]]);const _0x39d079=_0x32d45d[_0x5b2a21[_0x457128(0xd5)]][0x0];_0x39d079&&(_0x32d45d[_0x5b2a21[_0x457128(0xef)]]=_0x39d079[_0x5b2a21['PnvBZ']],_0x32d45d[_0x5b2a21[_0x457128(0x10b)]]=_0x39d079[_0x5b2a21[_0x457128(0xf6)]]);testhubUtils[_0x457128(0xd2)](_0x32d45d,_0x1d84c6,_0x4c2e7e,FRAMEWORKS[_0x457128(0xf2)]);const _0x50ec41={'event_type':_0x5b2a21[_0x457128(0x9d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['XHZik']:_0x1d84c6,'test_run':_0x32d45d};return testhubUtils[_0x457128(0xed)](FRAMEWORKS[_0x457128(0xf2)],_0x50ec41),SessionHandler[_0x457128(0x105)](_0x50ec41);}catch(_0x22f023){_0x5b2a21[_0x457128(0x109)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x1d84c6+'\x20:\x20'+_0x22f023);}}[a13_0x2c784e(0xbe)](_0x429083){const _0x25dfcb=a13_0x2c784e,_0x350b57={'UQtgz':function(_0x23c5c7,_0x126a67){return _0x23c5c7!==_0x126a67;},'BLfnV':function(_0x31fdd5,_0x7a59f8){return _0x31fdd5>_0x7a59f8;},'BqEJt':function(_0xb6595d,_0x369f7a){return _0xb6595d(_0x369f7a);},'DJStJ':function(_0x481023,_0x2f0f67){return _0x481023-_0x2f0f67;}};try{const _0x65bc82=[];let _0x28c6ef=_0x429083&&_0x429083[_0x25dfcb(0xf3)];const _0x3ef907=new Set();while(_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,undefined)&&_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,null)&&this['_suitesById'][_0x25dfcb(0xe4)](_0x28c6ef)&&!_0x3ef907['has'](_0x28c6ef)){_0x3ef907[_0x25dfcb(0xa3)](_0x28c6ef);const _0x219dda=this[_0x25dfcb(0x116)][_0x25dfcb(0xbf)](_0x28c6ef);_0x219dda&&_0x219dda[_0x25dfcb(0x98)]&&_0x65bc82[_0x25dfcb(0xc1)](_0x219dda[_0x25dfcb(0x98)]),_0x28c6ef=_0x219dda?_0x219dda[_0x25dfcb(0xf3)]:null;}if(_0x350b57[_0x25dfcb(0xe6)](_0x65bc82[_0x25dfcb(0x92)],0x0))return _0x65bc82[_0x25dfcb(0xff)]();}catch(_0x1f61c9){_0x350b57[_0x25dfcb(0xf7)](debug,_0x25dfcb(0x11a)+(_0x429083&&_0x429083[_0x25dfcb(0x11b)])+_0x25dfcb(0xa6)+_0x1f61c9);}const _0x424d72=_0x429083&&_0x429083[_0x25dfcb(0x11b)]||'',_0x4b64ad=_0x429083&&_0x429083[_0x25dfcb(0x98)]||'';let _0x176e67=_0x424d72;return _0x4b64ad&&_0x424d72[_0x25dfcb(0x9e)](_0x4b64ad)&&(_0x176e67=_0x424d72[_0x25dfcb(0xfa)](0x0,_0x350b57[_0x25dfcb(0x102)](_0x424d72['length'],_0x4b64ad['length']))[_0x25dfcb(0x106)]()),_0x176e67?_0x176e67[_0x25dfcb(0xa0)](/\s+/):[];}['_resolveFilePath'](_0x51f8fb){const _0x4c2b87=a13_0x2c784e,_0x371e76={};_0x371e76['FKNSs']=function(_0x19df12,_0xbec75a){return _0x19df12===_0xbec75a;},_0x371e76[_0x4c2b87(0xd1)]=function(_0x4c4979,_0x2eabf2){return _0x4c4979+_0x2eabf2;},_0x371e76[_0x4c2b87(0x118)]=function(_0x26ecb9,_0x12c82d){return _0x26ecb9>_0x12c82d;};const _0x270560=_0x371e76;if(_0x51f8fb&&_0x51f8fb[_0x4c2b87(0xe7)])return _0x51f8fb[_0x4c2b87(0xe7)];if(_0x51f8fb&&_0x51f8fb['fullName']){if(this[_0x4c2b87(0xcc)][_0x51f8fb['fullName']])return this[_0x4c2b87(0xcc)][_0x51f8fb[_0x4c2b87(0x11b)]];let _0x24487b=null,_0x1e2223=-0x1;for(const _0x2495c9 of Object[_0x4c2b87(0xdc)](this['_fileNameByFullName'])){(_0x270560['FKNSs'](_0x51f8fb[_0x4c2b87(0x11b)],_0x2495c9)||_0x51f8fb[_0x4c2b87(0x11b)]['startsWith'](_0x270560[_0x4c2b87(0xd1)](_0x2495c9,'\x20')))&&_0x270560[_0x4c2b87(0x118)](_0x2495c9['length'],_0x1e2223)&&(_0x24487b=this[_0x4c2b87(0xcc)][_0x2495c9],_0x1e2223=_0x2495c9['length']);}if(_0x24487b)return _0x24487b;}return null;}[a13_0x2c784e(0xc4)](_0x39792f){const _0xff73ec=a13_0x2c784e,_0x33e3ba={};_0x33e3ba['mxnmO']=function(_0x5713a5,_0x141d25){return _0x5713a5===_0x141d25;},_0x33e3ba[_0xff73ec(0xf0)]=_0xff73ec(0x10c);const _0x1bf935=_0x33e3ba;if(!Array[_0xff73ec(0xfe)](_0x39792f)||_0x1bf935[_0xff73ec(0x11c)](_0x39792f[_0xff73ec(0x92)],0x0))return undefined;const _0x2bd3d4=[],_0x1b35cc=[];for(const _0x1b890e of _0x39792f){_0x1b890e&&_0x1b890e[_0xff73ec(0x101)]&&_0x2bd3d4[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x101)]),_0x1b890e&&_0x1b890e[_0xff73ec(0x119)]&&_0x1b35cc[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x119)]);}const _0x48ea1b=_0x39792f[0x0]||{},_0x4045a7=_0x2bd3d4[_0xff73ec(0xda)]('\x0a')||_0x48ea1b[_0xff73ec(0x101)]||_0x1bf935[_0xff73ec(0xf0)],_0x55dd6a=_0x1b35cc['join']('\x0a\x0a')||_0x48ea1b[_0xff73ec(0x119)]||_0x4045a7,_0x56a771={};return _0x56a771[_0xff73ec(0x101)]=_0x4045a7,_0x56a771['stack']=_0x55dd6a,_0x56a771[_0xff73ec(0x10a)]=_0x48ea1b[_0xff73ec(0x10a)],_0x56a771[_0xff73ec(0xc9)]=_0x48ea1b[_0xff73ec(0xc9)],_0x56a771[_0xff73ec(0xa1)]=_0x48ea1b[_0xff73ec(0xa1)],_0x56a771;}[a13_0x2c784e(0xa8)](_0x2bbdd9){const _0x59fc78=a13_0x2c784e,_0x17889e={};_0x17889e[_0x59fc78(0xb0)]=function(_0xf08dc0,_0x3d66bd){return _0xf08dc0===_0x3d66bd;},_0x17889e[_0x59fc78(0xd4)]=function(_0x5b75eb,_0x30a439){return _0x5b75eb===_0x30a439;},_0x17889e['rPDWH']=_0x59fc78(0xe0),_0x17889e[_0x59fc78(0xa9)]=_0x59fc78(0xe9);const _0x5e2b4a=_0x17889e,_0x506f28=path[_0x59fc78(0x9f)];if(_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,null)||_0x5e2b4a[_0x59fc78(0xd4)](_0x2bbdd9,'')||_0x5e2b4a['mhKKW'](_0x2bbdd9,_0x506f28)||_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,path[_0x59fc78(0xe2)](_0x2bbdd9)))return null;try{return fs[_0x59fc78(0xc0)](path['join'](_0x2bbdd9,_0x5e2b4a[_0x59fc78(0x95)],_0x5e2b4a[_0x59fc78(0xa9)])),_0x2bbdd9;}catch(_0x50c4f2){return this['_findGitConfig'](path[_0x59fc78(0xe2)](_0x2bbdd9));}}}module[a13_0x2c784e(0x114)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0x236503=a15_0x534a;function a15_0x5996(){const _0x527c2e=['maxWorkers','BROWSERSTACK_TEST_OBSERVABILITY_YML','yKEgG','platformIndex','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','handleApp','winstonLogger','NXusz','parallelsPerPlatform','finalExecution','__isPuppeteerInstalled','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','GsoBv','child_process','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_CLI_BIN_SESSION_ID','push','140KAEhGe','**/*[sS]pec.?(m)js','mTxTM','QWzDS','../../helpers/playwright-helper','glob','JyQYN','parseFileNames','string','../../helpers/test-observability/constants','Mamea',')\x20:\x20','isUndefined','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','232984WJijsG','DZwcm','getHubUrl','platforms','stringify','exports','22071840arvSMD','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','win32','isArray','CTQAF','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','getInstance','JBRon','npx','jJlNI','p-limit','close','xjSJw','\x27\x20:\x20','WmXdJ','764659OodvrQ','EBIBI','542500KsXWKE','isBrowserstackInfra','test.setup.js','auqwD','map','getPlatformName','VheRX','../../helpers/utilities','getPackageVersion','debug','find','vKNuK','wnsab','spec',',\x20specs=','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','env','zdINK','stop','gFUYS','all','existsSync','../v2/browserstackCLI','../../helpers/helper','onGhI','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','logLevel','18vymbcK','launchBuild','__isPlaywrightInstalled','@playwright/test','resolve','prepareCapabilities','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','sBsrG','\x20concurrent)','spec_files','spec/support/jasmine.json','SsVHN','error','exitCode','MIBPj','../../helpers/logger','spec_dir','BROWSERSTACK_CAPABILITIES','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','jasmine','../utils/constants','from','capability','start','JtLZu','EOXWN','bHqbs','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','gwJxQ','binSessionId','useW3C','FRAMEWORKS','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','rmdirSync','oAyoP','printBuildLink','unlinkSync','snotC','6pfcEdF','3410648yvnaHL','556876VoIJvM','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','../../helpers/test-observability/utils','\x20platform(s),\x20parallelsPerPlatform=','CtsON','JASMINE_CONFIG_PATH','length','config','specArgs','UcirI','nhvZF','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','bLQak','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','JASMINE','filter','assign','cwd','accessibilityOptions','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','util','4490310kFnSOb','uPogu','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','path','\x20work-item(s),\x20max\x20','initialize',';\x20proceeding\x20without\x20injection','jXzzY','startsWith','end','inherit','join','platform'];a15_0x5996=function(){return _0x527c2e;};return a15_0x5996();}(function(_0x52e71d,_0xb73cdc){const _0x4799e4=a15_0x534a,_0x552506=_0x52e71d();while(!![]){try{const _0x13d053=parseInt(_0x4799e4(0x13e))/0x1+parseInt(_0x4799e4(0x181))/0x2+-parseInt(_0x4799e4(0x197))/0x3+-parseInt(_0x4799e4(0x1c3))/0x4*(parseInt(_0x4799e4(0x1b5))/0x5)+-parseInt(_0x4799e4(0x17f))/0x6*(-parseInt(_0x4799e4(0x13c))/0x7)+parseInt(_0x4799e4(0x180))/0x8*(parseInt(_0x4799e4(0x159))/0x9)+parseInt(_0x4799e4(0x12d))/0xa;if(_0x13d053===_0xb73cdc)break;else _0x552506['push'](_0x552506['shift']());}catch(_0x36a092){_0x552506['push'](_0x552506['shift']());}}}(a15_0x5996,0xd289b));function a15_0x534a(_0x3e2a78,_0x4b6387){const _0x5996dc=a15_0x5996();return a15_0x534a=function(_0x534ab6,_0x4f4648){_0x534ab6=_0x534ab6-0x12a;let _0x4b43fd=_0x5996dc[_0x534ab6];return _0x4b43fd;},a15_0x534a(_0x3e2a78,_0x4b6387);}const fs=require('fs'),path=require(a15_0x236503(0x19a)),util=require(a15_0x236503(0x196)),{spawn}=require(a15_0x236503(0x1b1)),glob=require(a15_0x236503(0x1ba)),pLimit=require(a15_0x236503(0x137)),logger=require(a15_0x236503(0x168))[a15_0x236503(0x1aa)],helper=require(a15_0x236503(0x155)),utilities=require(a15_0x236503(0x145)),constants=require(a15_0x236503(0x16d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x236503(0x183)),{FRAMEWORKS}=require(a15_0x236503(0x1be)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],BrowserstackCLI=require(a15_0x236503(0x154)),{checkPwandBootstrapCli}=require(a15_0x236503(0x1b9)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x1e20ac,_0x3ad54e)=>{const _0x392179=a15_0x236503,_0x87670={'QWzDS':function(_0x13028c,_0xf5b53e){return _0x13028c(_0xf5b53e);}};let _0x3e7a9a=0x1;if(!helper[_0x392179(0x1c1)](_0x3ad54e['parallelsPerPlatform']))_0x3e7a9a=_0x87670[_0x392179(0x1b8)](parseInt,_0x3ad54e[_0x392179(0x1ac)]);else!helper[_0x392179(0x1c1)](_0x1e20ac[_0x392179(0x1a4)])&&(_0x3e7a9a=_0x1e20ac[_0x392179(0x1a4)]);return _0x3e7a9a;},resolveJasmineConfigPath=()=>{const _0x18e269=a15_0x236503,_0x1a7307={};_0x1a7307[_0x18e269(0x1ab)]=_0x18e269(0x163);const _0x5d6ca5=_0x1a7307,_0x4d6f14=[];process[_0x18e269(0x14e)]['JASMINE_CONFIG_PATH']&&_0x4d6f14['push'](path[_0x18e269(0x15d)](process[_0x18e269(0x193)](),process[_0x18e269(0x14e)][_0x18e269(0x186)]));_0x4d6f14[_0x18e269(0x1b4)](path[_0x18e269(0x15d)](process[_0x18e269(0x193)](),_0x5d6ca5[_0x18e269(0x1ab)]));for(const _0x5bc49d of _0x4d6f14){try{if(fs[_0x18e269(0x153)](_0x5bc49d))return _0x5bc49d;}catch(_0x3b5857){}}return null;},enumerateSpecFiles=_0x5a9fe9=>{const _0x409050=a15_0x236503,_0x3efe8b={'WmXdJ':function(_0x192a46,_0x209cd7){return _0x192a46(_0x209cd7);},'vKNuK':function(_0x473ce7,_0x5a5ad5){return _0x473ce7>_0x5a5ad5;},'gwJxQ':function(_0x4dad37,_0x41b15f){return _0x4dad37(_0x41b15f);},'xjSJw':function(_0x3c0bed,_0x3ae0e0){return _0x3c0bed<_0x3ae0e0;},'CTQAF':function(_0x3d6ff9,_0x597d90){return _0x3d6ff9===_0x597d90;},'ocrSL':'string','bLQak':function(_0x4f9e25,_0x5ecd47,_0x1cc6ec){return _0x4f9e25(_0x5ecd47,_0x1cc6ec);},'yKEgG':function(_0x22850f,_0x140843){return _0x22850f>_0x140843;},'JBRon':function(_0x1e6fb3){return _0x1e6fb3();},'DZwcm':'utf8','MIBPj':_0x409050(0x14b),'nRJgQ':_0x409050(0x1b6),'UziIW':function(_0x14096e,_0x5b804f){return _0x14096e>_0x5b804f;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x16c0a2=testOpsHelper[_0x409050(0x1bc)](process['env'][_0x409050(0x1b2)]);if(Array['isArray'](_0x16c0a2)&&_0x3efe8b[_0x409050(0x149)](_0x16c0a2[_0x409050(0x187)],0x0))return _0x16c0a2[_0x409050(0x142)](_0x3c21b9=>path[_0x409050(0x15d)](process[_0x409050(0x193)](),_0x3c21b9['trim']()))[_0x409050(0x191)](Boolean);}}catch(_0x963d8f){_0x3efe8b[_0x409050(0x175)](debug,_0x409050(0x1af)+util[_0x409050(0x18f)](_0x963d8f));}const _0x52597f=[];try{for(let _0x55cb5a=0x1;_0x3efe8b[_0x409050(0x139)](_0x55cb5a,_0x5a9fe9[_0x409050(0x187)]);_0x55cb5a++){const _0x25ce8f=_0x5a9fe9[_0x55cb5a];_0x3efe8b[_0x409050(0x131)](typeof _0x25ce8f,_0x3efe8b['ocrSL'])&&!_0x25ce8f[_0x409050(0x19f)]('-')&&_0x52597f[_0x409050(0x1b4)](_0x25ce8f);}}catch(_0x18d206){}const _0x1be32e={'cwd':process[_0x409050(0x193)](),'absolute':!![],'nodir':!![]},_0x20e91a=(_0x4a66b7,_0x4d01d8)=>{const _0x266d46=_0x409050,_0x200814=[];for(const _0x3a8507 of _0x4a66b7){try{const _0x5ef557=_0x4d01d8?path['posix']['join'](_0x4d01d8,_0x3a8507):_0x3a8507,_0x581171=glob['globSync'](_0x5ef557,_0x1be32e);Array[_0x266d46(0x130)](_0x581171)&&_0x200814[_0x266d46(0x1b4)](..._0x581171);}catch(_0x5169ee){_0x3efe8b[_0x266d46(0x13b)](debug,_0x266d46(0x1c2)+_0x3a8507+_0x266d46(0x13a)+util['format'](_0x5169ee));}}return _0x200814;};if(_0x3efe8b['vKNuK'](_0x52597f['length'],0x0)){const _0xf92bb3=_0x3efe8b[_0x409050(0x18d)](_0x20e91a,_0x52597f,null);if(_0x3efe8b[_0x409050(0x1a6)](_0xf92bb3[_0x409050(0x187)],0x0))return Array[_0x409050(0x16e)](new Set(_0xf92bb3));return _0x52597f[_0x409050(0x142)](_0x3abc59=>path[_0x409050(0x15d)](process[_0x409050(0x193)](),_0x3abc59));}try{const _0x2ebb2c=_0x3efe8b[_0x409050(0x134)](resolveJasmineConfigPath);if(_0x2ebb2c){const _0x5c08de=JSON['parse'](fs['readFileSync'](_0x2ebb2c,_0x3efe8b[_0x409050(0x1c4)])),_0x14e801=_0x5c08de[_0x409050(0x169)]||_0x3efe8b[_0x409050(0x167)],_0x1fb3ff=Array[_0x409050(0x130)](_0x5c08de[_0x409050(0x162)])&&_0x3efe8b[_0x409050(0x149)](_0x5c08de['spec_files'][_0x409050(0x187)],0x0)?_0x5c08de[_0x409050(0x162)]:[_0x3efe8b['nRJgQ']],_0x3d80a6=_0x3efe8b[_0x409050(0x18d)](_0x20e91a,_0x1fb3ff,_0x14e801);if(_0x3efe8b['UziIW'](_0x3d80a6[_0x409050(0x187)],0x0))return Array[_0x409050(0x16e)](new Set(_0x3d80a6));}}catch(_0x490843){_0x3efe8b[_0x409050(0x13b)](debug,_0x409050(0x16b)+util[_0x409050(0x18f)](_0x490843));}return null;};async function run(_0x32559c,_0x1f7b94,_0x44e21e){const _0x6f5b27=a15_0x236503,_0x8c6f78={'UcirI':function(_0x4e6b0e,_0x5040cd){return _0x4e6b0e>_0x5040cd;},'qKNof':'all','snotC':function(_0x3b1a98,_0x4c1d8d){return _0x3b1a98(_0x4c1d8d);},'jXzzY':function(_0x2902eb,_0xfb5853){return _0x2902eb||_0xfb5853;},'sBsrG':function(_0x137adc,_0x13fdc8,_0x97dc6a,_0x26c48d){return _0x137adc(_0x13fdc8,_0x97dc6a,_0x26c48d);},'iwBlL':_0x6f5b27(0x135),'EOXWN':_0x6f5b27(0x16c),'cmXDD':function(_0x157ce2,_0x2bfe4d){return _0x157ce2===_0x2bfe4d;},'SsVHN':_0x6f5b27(0x12f),'auqwD':_0x6f5b27(0x1a1),'jJlNI':_0x6f5b27(0x138),'VheRX':_0x6f5b27(0x165),'CtsON':function(_0x9e48eb,_0x51a102){return _0x9e48eb(_0x51a102);},'qnuaa':_0x6f5b27(0x15c),'bHqbs':function(_0x250fbd){return _0x250fbd();},'wnsab':function(_0x3c7947,_0x536869,_0x2e7716,_0x23a99e){return _0x3c7947(_0x536869,_0x2e7716,_0x23a99e);},'EBIBI':function(_0x3d067d,_0x15fda4,_0x30cb34,_0x442fdf){return _0x3d067d(_0x15fda4,_0x30cb34,_0x442fdf);},'nhvZF':function(_0x52e03f,_0x3a8a05){return _0x52e03f!=_0x3a8a05;},'GsoBv':'true','onGhI':function(_0x238051,_0x2db65d,_0x2e10b8){return _0x238051(_0x2db65d,_0x2e10b8);},'oAyoP':function(_0x306d2d,_0x485a8e){return _0x306d2d*_0x485a8e;},'iMflo':function(_0x3e56ab,_0x451b1a){return _0x3e56ab(_0x451b1a);},'mTxTM':_0x6f5b27(0x140),'SRoyu':function(_0x4d4080,_0x2db4d0){return _0x4d4080(_0x2db4d0);},'JtLZu':function(_0x428150,_0x5d0711){return _0x428150<_0x5d0711;},'gFUYS':function(_0x489606,_0x2f259b){return _0x489606>_0x2f259b;},'Mamea':'error\x20removing\x20tcg\x20config\x20file'},_0x52590d=helper[_0x6f5b27(0x146)](_0x8c6f78['qnuaa']);global[_0x6f5b27(0x15b)]=!!_0x52590d;const _0x43d11a=_0x8c6f78[_0x6f5b27(0x173)](getPuppeteerVersion);global[_0x6f5b27(0x1ae)]=!!_0x43d11a;helper[_0x6f5b27(0x13f)]()?(await _0x44e21e[_0x6f5b27(0x19c)](_0x32559c),await helper[_0x6f5b27(0x1a9)](_0x44e21e[_0x6f5b27(0x188)])):await _0x44e21e['setupTCGAuth']();if(_0x52590d)await _0x8c6f78[_0x6f5b27(0x14a)](checkPwandBootstrapCli,_0x52590d,constants[_0x6f5b27(0x178)][_0x6f5b27(0x190)],_0x44e21e);else _0x43d11a&&await _0x8c6f78[_0x6f5b27(0x13d)](checkPuppeteerAndBootstrapCli,_0x43d11a,constants[_0x6f5b27(0x178)]['JASMINE'],_0x44e21e);if(!_0x44e21e[_0x6f5b27(0x188)])return;_0x8c6f78[_0x6f5b27(0x18b)](_0x44e21e['config']['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x44e21e['config']['testObservability']:process['env'][_0x6f5b27(0x1a5)]=_0x8c6f78[_0x6f5b27(0x1b0)];!helper[_0x6f5b27(0x1c1)](_0x44e21e[_0x6f5b27(0x188)]['accessibilityOptions'])&&(process[_0x6f5b27(0x14e)][_0x6f5b27(0x18e)]=JSON[_0x6f5b27(0x12b)](_0x44e21e['config'][_0x6f5b27(0x194)]));try{await TestHubHandler[_0x6f5b27(0x15a)](FRAMEWORKS['JASMINE'],_0x44e21e);}catch(_0x2560b5){logger[_0x6f5b27(0x165)](_0x6f5b27(0x12e)+util['format'](_0x2560b5)),_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x132)+util[_0x6f5b27(0x18f)](_0x2560b5));}let _0x4e6c62=![],_0x391674=[];try{_0x4e6c62=helper[_0x6f5b27(0x177)](_0x44e21e['config']),_0x391674=helper[_0x6f5b27(0x15e)](_0x44e21e[_0x6f5b27(0x188)],_0x4e6c62,constants[_0x6f5b27(0x178)][_0x6f5b27(0x190)]),process[_0x6f5b27(0x14e)][_0x6f5b27(0x16a)]=JSON[_0x6f5b27(0x12b)](_0x391674);}catch(_0x1893e8){_0x8c6f78['snotC'](debug,_0x6f5b27(0x199)+util[_0x6f5b27(0x18f)](_0x1893e8));}let _0x560f1f=null,_0x1b7115=![];try{_0x560f1f=helper[_0x6f5b27(0x1c5)](_0x44e21e[_0x6f5b27(0x188)]),_0x1b7115=helper['validPlatformsPresent'](_0x44e21e[_0x6f5b27(0x188)]);}catch(_0x1124a6){_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x182)+util[_0x6f5b27(0x18f)](_0x1124a6));}const _0x2c9b3c=_0x947185=>{const _0xc7812e=_0x6f5b27,_0x44c790=Array[_0xc7812e(0x130)](_0x391674)&&_0x8c6f78[_0xc7812e(0x18a)](_0x391674['length'],_0x947185)?_0x391674[_0x947185]:Array[_0xc7812e(0x130)](_0x391674)&&_0x8c6f78[_0xc7812e(0x18a)](_0x391674['length'],0x0)?_0x391674[0x0]:{};return{'server':_0x560f1f,'capability':_0x44c790,'proxySettings':_0x44e21e[_0xc7812e(0x188)]['proxySettings'],'platform':helper[_0xc7812e(0x143)](_0x44c790),'browserStackLogLevel':_0x44e21e['config'][_0xc7812e(0x158)],'platformIndex':_0x947185,'framework':constants[_0xc7812e(0x178)][_0xc7812e(0x190)],'platformCaps':_0x1b7115?Object[_0xc7812e(0x192)]({'index':_0x947185},_0x44e21e[_0xc7812e(0x188)][_0xc7812e(0x12a)][_0x947185]):{'index':_0x947185}};};let _0x520f17=0x1,_0x4baed2=0x1,_0x3c51ac=0x1;try{_0x520f17=_0x8c6f78[_0x6f5b27(0x156)](getMaxWorkers,_0x32559c,_0x44e21e[_0x6f5b27(0x188)]),_0x4baed2=_0x1b7115?_0x44e21e[_0x6f5b27(0x188)]['platforms']['length']:0x1,_0x3c51ac=_0x8c6f78[_0x6f5b27(0x17b)](_0x4baed2,_0x520f17),process[_0x6f5b27(0x14e)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x8c6f78[_0x6f5b27(0x185)](String,_0x3c51ac);}catch(_0x84f326){_0x8c6f78['iMflo'](debug,_0x6f5b27(0x174)+util['format'](_0x84f326));}try{BrowserstackCLI[_0x6f5b27(0x133)]()['binSessionId']&&(process[_0x6f5b27(0x14e)][_0x6f5b27(0x1b3)]=BrowserstackCLI[_0x6f5b27(0x133)]()[_0x6f5b27(0x176)]);}catch(_0x28b1c2){_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x15f)+util[_0x6f5b27(0x18f)](_0x28b1c2));}const _0x2437d2=[];try{const _0x297595=path[_0x6f5b27(0x15d)](__dirname,_0x8c6f78[_0x6f5b27(0x1b7)]);fs[_0x6f5b27(0x153)](_0x297595)?_0x2437d2[_0x6f5b27(0x1b4)]('--helper='+_0x297595):_0x8c6f78['CtsON'](debug,_0x6f5b27(0x14d)+_0x297595+_0x6f5b27(0x19d));}catch(_0x10416d){_0x8c6f78['SRoyu'](debug,_0x6f5b27(0x1a8)+util[_0x6f5b27(0x18f)](_0x10416d));}const _0x2f4323=_0x1f7b94['slice'](0x1),_0x45207b=_0x8c6f78[_0x6f5b27(0x185)](enumerateSpecFiles,_0x1f7b94),_0x5d2b3d=[];for(let _0x51e213=0x0;_0x8c6f78[_0x6f5b27(0x171)](_0x51e213,_0x4baed2);_0x51e213++){if(_0x8c6f78[_0x6f5b27(0x18a)](_0x520f17,0x1)&&Array['isArray'](_0x45207b)&&_0x8c6f78[_0x6f5b27(0x18a)](_0x45207b[_0x6f5b27(0x187)],0x0))for(const _0x2aac09 of _0x45207b){const _0x23fa29={};_0x23fa29[_0x6f5b27(0x1a7)]=_0x51e213,_0x23fa29[_0x6f5b27(0x189)]=[_0x2aac09],_0x5d2b3d[_0x6f5b27(0x1b4)](_0x23fa29);}else{const _0x425214={};_0x425214['platformIndex']=_0x51e213,_0x425214[_0x6f5b27(0x189)]=_0x45207b,_0x5d2b3d[_0x6f5b27(0x1b4)](_0x425214);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x4baed2+_0x6f5b27(0x184)+_0x520f17+'\x20('+_0x5d2b3d[_0x6f5b27(0x187)]+_0x6f5b27(0x19b)+_0x3c51ac+_0x6f5b27(0x161)),PerformanceTester[_0x6f5b27(0x1a0)](PerformanceEvents['SDK_SETUP']);const _0x4453e9=_0xd537ae=>new Promise(_0x4c8be2=>{const _0x11b898=_0x6f5b27,_0x218ffa={'JyQYN':_0x8c6f78['qKNof'],'TcDSn':function(_0xd69fa4,_0x4e38e3){const _0x294e1a=a15_0x534a;return _0x8c6f78[_0x294e1a(0x17e)](_0xd69fa4,_0x4e38e3);},'zdINK':function(_0x12ffec,_0x2647b8){const _0x1e4fa0=a15_0x534a;return _0x8c6f78[_0x1e4fa0(0x19e)](_0x12ffec,_0x2647b8);},'uPogu':function(_0xfdc6f6,_0x23567f){return _0x8c6f78['snotC'](_0xfdc6f6,_0x23567f);}};let _0x5a7636;try{const _0x12346e=_0x8c6f78[_0x11b898(0x17e)](_0x2c9b3c,_0xd537ae[_0x11b898(0x1a7)]);_0x5a7636=Object[_0x11b898(0x192)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x11b898(0x12b)](_0x12346e),'BROWSERSTACK_CAPABILITIES':JSON[_0x11b898(0x12b)]([_0x12346e[_0x11b898(0x16f)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x26b3b0){_0x8c6f78['snotC'](debug,_0x11b898(0x179)+_0xd537ae['platformIndex']+'\x20:\x20'+util[_0x11b898(0x18f)](_0x26b3b0)),_0x5a7636=Object[_0x11b898(0x192)]({},process[_0x11b898(0x14e)]);}const _0x3d3177=Array[_0x11b898(0x130)](_0xd537ae[_0x11b898(0x189)])?_0xd537ae[_0x11b898(0x189)]:[],_0x23762d=_0x8c6f78[_0x11b898(0x18a)](_0x3d3177[_0x11b898(0x187)],0x0)?_0x2f4323['filter'](_0x3b781f=>typeof _0x3b781f===_0x11b898(0x1bd)&&_0x3b781f[_0x11b898(0x19f)]('-')):_0x2f4323,_0x246bef=[..._0x2437d2,..._0x23762d,..._0x3d3177];try{const _0x1c93c8=_0x8c6f78[_0x11b898(0x160)](spawn,_0x8c6f78['iwBlL'],[_0x8c6f78[_0x11b898(0x172)],..._0x246bef],{'shell':_0x8c6f78['cmXDD'](process[_0x11b898(0x1a3)],_0x8c6f78[_0x11b898(0x164)]),'stdio':_0x8c6f78[_0x11b898(0x141)],'env':_0x5a7636});_0x1c93c8['on'](_0x8c6f78[_0x11b898(0x136)],_0x5c2d03=>{const _0x5df886=_0x11b898;logger[_0x5df886(0x147)]('jasmine\x20child\x20(platformIndex='+_0xd537ae[_0x5df886(0x1a7)]+_0x5df886(0x14c)+(_0x3d3177['length']?_0x3d3177[_0x5df886(0x1a2)](','):_0x218ffa[_0x5df886(0x1bb)])+')\x20exited\x20with\x20code\x20'+_0x5c2d03),_0x218ffa['TcDSn'](_0x4c8be2,_0x218ffa[_0x5df886(0x14f)](_0x5c2d03,0x0));}),_0x1c93c8['on'](_0x8c6f78[_0x11b898(0x144)],_0x29210e=>{const _0x9fed9e=_0x11b898;_0x218ffa[_0x9fed9e(0x198)](debug,_0x9fed9e(0x18c)+_0xd537ae['platformIndex']+_0x9fed9e(0x1c0)+util['format'](_0x29210e)),_0x218ffa[_0x9fed9e(0x198)](_0x4c8be2,0x1);});}catch(_0x5e2716){_0x8c6f78[_0x11b898(0x185)](debug,_0x11b898(0x157)+_0xd537ae['platformIndex']+_0x11b898(0x1c0)+util[_0x11b898(0x18f)](_0x5e2716)),_0x8c6f78['CtsON'](_0x4c8be2,0x1);}}),_0x452ea6=_0x8c6f78['iMflo'](pLimit,_0x8c6f78[_0x6f5b27(0x151)](_0x3c51ac,0x0)?_0x3c51ac:0x1),_0x8fb402=await Promise[_0x6f5b27(0x152)](_0x5d2b3d[_0x6f5b27(0x142)](_0x3d5c78=>_0x452ea6(()=>_0x4453e9(_0x3d5c78))));PerformanceTester[_0x6f5b27(0x170)](PerformanceEvents['SDK_CLEANUP']);const _0xa1b5d7=_0x8fb402[_0x6f5b27(0x148)](_0x1a13f1=>_0x1a13f1!==0x0)||0x0;process[_0x6f5b27(0x166)]=_0xa1b5d7,logger[_0x6f5b27(0x147)](_0x6f5b27(0x195)+_0xa1b5d7);const _0x4c864b=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x6f5b27(0x150)](),await BrowserstackCLI[_0x6f5b27(0x133)]()[_0x6f5b27(0x150)]();}catch(_0x43ef10){_0x8c6f78['SRoyu'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x6f5b27(0x18f)](_0x43ef10));}try{const {browserstackFolderPath:_0x1cd8ff,tcgConfigPath:_0x29a6e6}=helper['getTCGConfigFilePaths']();fs[_0x6f5b27(0x17d)](_0x29a6e6),fs[_0x6f5b27(0x17a)](_0x1cd8ff);}catch(_0x1549b8){logger['debug'](_0x8c6f78[_0x6f5b27(0x1bf)],_0x1549b8);}testOpsHelper[_0x6f5b27(0x17c)](),await utilities[_0x6f5b27(0x1ad)](_0x44e21e,_0x4c864b);}module[a15_0x236503(0x12c)]=run;
|
|
2
|
+
'use strict';const a14_0x182c80=a14_0x3eb2;(function(_0x4ba2e3,_0x485736){const _0xb0b12c=a14_0x3eb2,_0x3decf5=_0x4ba2e3();while(!![]){try{const _0x43fb52=-parseInt(_0xb0b12c(0xf5))/0x1+parseInt(_0xb0b12c(0x113))/0x2+parseInt(_0xb0b12c(0x10b))/0x3+parseInt(_0xb0b12c(0x111))/0x4*(parseInt(_0xb0b12c(0x7e))/0x5)+parseInt(_0xb0b12c(0xfd))/0x6*(-parseInt(_0xb0b12c(0x109))/0x7)+parseInt(_0xb0b12c(0xce))/0x8*(parseInt(_0xb0b12c(0xf9))/0x9)+-parseInt(_0xb0b12c(0x94))/0xa*(parseInt(_0xb0b12c(0xca))/0xb);if(_0x43fb52===_0x485736)break;else _0x3decf5['push'](_0x3decf5['shift']());}catch(_0x2c061d){_0x3decf5['push'](_0x3decf5['shift']());}}}(a14_0x5533,0xc1d5e));function a14_0x5533(){const _0x324c68=['from','validPlatformsPresent','aFlCB','spec/support/jasmine.json','VlJHT','mBRrr','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','isBrowserstackInfra','Running\x20your\x20Jasmine\x20tests\x20across\x20','\x20:\x20','PzCaA','assign','readFileSync','find','GtglG','../../helpers/test-observability/constants','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','exitCode','UTAvy','@playwright/test','maxWorkers','**/*[sS]pec.?(m)js','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','platforms','format','shouldReRunObservabilityTests','parallelsPerPlatform','slice','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','uvlfN','spec','sPSca','error','noWOK','zVTOO','existsSync','BROWSERSTACK_RERUN_TESTS','116281eUnnkx','globSync','../utils/constants','debug','8oBbBQg','qOEqI','JASMINE','btRBH','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','rKAWx','binSessionId','utf8','proxySettings','WVSVk','platform','string','\x20concurrent)','length','../v2/browserstackCLI','SDK_CLEANUP','cTgJv','../../helpers/test-observability/utils','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','p-limit','start','BROWSERSTACK_CAPABILITIES','--helper=','KAQsN','test.setup.js','NzOMH','capability','UTBxc','stringify','config','isUndefined',')\x20:\x20','yycEf','useW3C','../../helpers/performance/constants','../../helpers/utilities','dMLSF','qAtij','npx','973212XPSxMN','testObservability','\x20platform(s),\x20parallelsPerPlatform=','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','13544955pIMfFU','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','map','getPackageVersion','6ftKrPJ','util','CgKbu','launchBuild','info','ogApM','../../helpers/logger','MMtav','FRAMEWORKS','QIyLG','stop','jasmine','7515137eqaiSh','trim','353484PCdcXQ','spec_files','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','XiPZP','spDii',',\x20specs=','35180EePtLE','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','1406514baeiOF','spec_dir','AMPYu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bEbSx','join','resolve','parse','__isPlaywrightInstalled','path','CLrvE','vigwA','JASMINE_CONFIG_PATH','finalExecution','accessibilityOptions','initialize','LcgyQ','inherit','peCaq','BROWSERSTACK_CLI_BIN_SESSION_ID','child_process','545txZKih','IYFMI','../../helpers/performance/performance-tester','specArgs','handleApp','cwd','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','../../helpers/playwright-helper','QBBHZ','true','all','isArray','DOmjh','env','MVLFM','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','fROeL','__isPuppeteerInstalled',';\x20proceeding\x20without\x20injection','OuDnz','BskqW','jasmine\x20child\x20(platformIndex=','420CEdVxf','exports','platformIndex','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','logLevel','SDK_SETUP','glob','push','getInstance','BROWSERSTACK_TEST_OBSERVABILITY_YML','filter','end','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','startsWith','win32','hcXpU','QPLKQ'];a14_0x5533=function(){return _0x324c68;};return a14_0x5533();}function a14_0x3eb2(_0x3831bd,_0x583422){const _0x55334f=a14_0x5533();return a14_0x3eb2=function(_0x3eb29c,_0x56350e){_0x3eb29c=_0x3eb29c-0x7a;let _0x45d320=_0x55334f[_0x3eb29c];return _0x45d320;},a14_0x3eb2(_0x3831bd,_0x583422);}const fs=require('fs'),path=require(a14_0x182c80(0x11c)),util=require(a14_0x182c80(0xfe)),{spawn}=require(a14_0x182c80(0x7d)),glob=require(a14_0x182c80(0x9a)),pLimit=require(a14_0x182c80(0xe1)),logger=require(a14_0x182c80(0x103))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a14_0x182c80(0xf1)),constants=require(a14_0x182c80(0xcc)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a14_0x182c80(0xdf)),{debug}=require(a14_0x182c80(0xdf)),{FRAMEWORKS}=require(a14_0x182c80(0xb4)),PerformanceTester=require(a14_0x182c80(0x80)),PerformanceEvents=require(a14_0x182c80(0xf0))['EVENTS'],BrowserstackCLI=require(a14_0x182c80(0xdc)),{checkPwandBootstrapCli}=require(a14_0x182c80(0x85)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x53cde6,_0x4e0df1)=>{const _0x5538f7=a14_0x182c80,_0x5dd9ae={'MVLFM':function(_0x5113da,_0x241ccf){return _0x5113da(_0x241ccf);}};let _0x263a4e=0x1;if(!helper[_0x5538f7(0xec)](_0x4e0df1['parallelsPerPlatform']))_0x263a4e=_0x5dd9ae[_0x5538f7(0x8c)](parseInt,_0x4e0df1[_0x5538f7(0xbf)]);else!helper[_0x5538f7(0xec)](_0x53cde6['maxWorkers'])&&(_0x263a4e=_0x53cde6[_0x5538f7(0xb9)]);return _0x263a4e;},resolveJasmineConfigPath=()=>{const _0x173ae4=a14_0x182c80,_0x5af745={};_0x5af745[_0x173ae4(0x10e)]=_0x173ae4(0xa8);const _0x2af5e3=_0x5af745,_0x44fbc4=[];process['env'][_0x173ae4(0x11f)]&&_0x44fbc4[_0x173ae4(0x9b)](path[_0x173ae4(0x119)](process[_0x173ae4(0x83)](),process['env'][_0x173ae4(0x11f)]));_0x44fbc4[_0x173ae4(0x9b)](path['resolve'](process['cwd'](),_0x2af5e3[_0x173ae4(0x10e)]));for(const _0x248431 of _0x44fbc4){try{if(fs[_0x173ae4(0xc8)](_0x248431))return _0x248431;}catch(_0x48625){}}return null;},enumerateSpecFiles=_0x2883dd=>{const _0x5443ad=a14_0x182c80,_0x60f6aa={'aFlCB':function(_0x3a809d,_0x32d35c){return _0x3a809d(_0x32d35c);},'OuDnz':function(_0x4e3c28,_0x35746c){return _0x4e3c28>_0x35746c;},'EMjjQ':function(_0x8ed74a,_0xdfa2ea){return _0x8ed74a<_0xdfa2ea;},'AMPYu':function(_0x112687,_0x3aa979){return _0x112687===_0x3aa979;},'rKAWx':_0x5443ad(0xd9),'hcXpU':function(_0x31bc8e,_0x1f1e8e,_0x2b07f){return _0x31bc8e(_0x1f1e8e,_0x2b07f);},'PzCaA':function(_0x17e62c,_0xa27d2b){return _0x17e62c>_0xa27d2b;},'eqZYA':function(_0x398690){return _0x398690();},'mBRrr':_0x5443ad(0xd5),'cTgJv':_0x5443ad(0xc3),'ogApM':function(_0x5c546e,_0x2c0c54){return _0x5c546e>_0x2c0c54;},'MMtav':_0x5443ad(0xba)};try{if(testOpsHelper[_0x5443ad(0xbe)]()){const _0x158fbf=testOpsHelper['parseFileNames'](process['env'][_0x5443ad(0xc9)]);if(Array[_0x5443ad(0x89)](_0x158fbf)&&_0x60f6aa[_0x5443ad(0x91)](_0x158fbf[_0x5443ad(0xdb)],0x0))return _0x158fbf[_0x5443ad(0xfb)](_0x51b2b8=>path[_0x5443ad(0x119)](process[_0x5443ad(0x83)](),_0x51b2b8[_0x5443ad(0x10a)]()))[_0x5443ad(0x9e)](Boolean);}}catch(_0x32cf83){_0x60f6aa['aFlCB'](debug,_0x5443ad(0xbb)+util[_0x5443ad(0xbd)](_0x32cf83));}const _0x226353=[];try{for(let _0x44abb0=0x1;_0x60f6aa['EMjjQ'](_0x44abb0,_0x2883dd['length']);_0x44abb0++){const _0x17cd6e=_0x2883dd[_0x44abb0];_0x60f6aa[_0x5443ad(0x115)](typeof _0x17cd6e,_0x60f6aa[_0x5443ad(0xd3)])&&!_0x17cd6e[_0x5443ad(0xa1)]('-')&&_0x226353[_0x5443ad(0x9b)](_0x17cd6e);}}catch(_0x43309e){}const _0x5af40a={'cwd':process[_0x5443ad(0x83)](),'absolute':!![],'nodir':!![]},_0xe232cc=(_0x2f413a,_0x4d2820)=>{const _0x2ceac5=_0x5443ad,_0x103c14=[];for(const _0x1dca5c of _0x2f413a){try{const _0x1c46ef=_0x4d2820?path['posix'][_0x2ceac5(0x118)](_0x4d2820,_0x1dca5c):_0x1dca5c,_0x437d4b=glob[_0x2ceac5(0xcb)](_0x1c46ef,_0x5af40a);Array[_0x2ceac5(0x89)](_0x437d4b)&&_0x103c14[_0x2ceac5(0x9b)](..._0x437d4b);}catch(_0x1c518c){_0x60f6aa[_0x2ceac5(0xa7)](debug,_0x2ceac5(0x97)+_0x1dca5c+'\x27\x20:\x20'+util[_0x2ceac5(0xbd)](_0x1c518c));}}return _0x103c14;};if(_0x60f6aa[_0x5443ad(0x91)](_0x226353[_0x5443ad(0xdb)],0x0)){const _0x5edbab=_0x60f6aa[_0x5443ad(0xa3)](_0xe232cc,_0x226353,null);if(_0x60f6aa[_0x5443ad(0xaf)](_0x5edbab[_0x5443ad(0xdb)],0x0))return Array[_0x5443ad(0xa5)](new Set(_0x5edbab));return _0x226353[_0x5443ad(0xfb)](_0x44a73c=>path[_0x5443ad(0x119)](process[_0x5443ad(0x83)](),_0x44a73c));}try{const _0x2a0247=_0x60f6aa['eqZYA'](resolveJasmineConfigPath);if(_0x2a0247){const _0x460ae1=JSON[_0x5443ad(0x11a)](fs[_0x5443ad(0xb1)](_0x2a0247,_0x60f6aa[_0x5443ad(0xaa)])),_0x27e3fd=_0x460ae1[_0x5443ad(0x114)]||_0x60f6aa[_0x5443ad(0xde)],_0x585903=Array[_0x5443ad(0x89)](_0x460ae1['spec_files'])&&_0x60f6aa[_0x5443ad(0x102)](_0x460ae1[_0x5443ad(0x10c)][_0x5443ad(0xdb)],0x0)?_0x460ae1[_0x5443ad(0x10c)]:[_0x60f6aa[_0x5443ad(0x104)]],_0x3036e6=_0x60f6aa['hcXpU'](_0xe232cc,_0x585903,_0x27e3fd);if(_0x60f6aa[_0x5443ad(0x102)](_0x3036e6['length'],0x0))return Array[_0x5443ad(0xa5)](new Set(_0x3036e6));}}catch(_0x1d5217){_0x60f6aa[_0x5443ad(0xa7)](debug,_0x5443ad(0x112)+util[_0x5443ad(0xbd)](_0x1d5217));}return null;};async function run(_0x205ff0,_0x1793cc,_0x725b75){const _0x454886=a14_0x182c80,_0x3aa2f8={'BskqW':function(_0x41e36c,_0x54439f){return _0x41e36c>_0x54439f;},'KAQsN':'all','yycEf':function(_0x18a4d4,_0xb9f7bc){return _0x18a4d4(_0xb9f7bc);},'WVSVk':function(_0x638623,_0x1d60d2){return _0x638623||_0x1d60d2;},'noWOK':function(_0x28f865,_0x23ffe5,_0xb00451,_0xb4ca86){return _0x28f865(_0x23ffe5,_0xb00451,_0xb4ca86);},'spDii':_0x454886(0xf4),'peCaq':_0x454886(0x108),'zVTOO':function(_0x2cae31,_0x23e6cf){return _0x2cae31===_0x23e6cf;},'lAxSd':_0x454886(0xa2),'DOmjh':_0x454886(0x7a),'CgKbu':'close','UTAvy':_0x454886(0xc5),'Txlbv':_0x454886(0xb8),'dMLSF':function(_0x34457f){return _0x34457f();},'rEELI':function(_0x3e2780,_0x27c90b,_0x226142,_0xfdccf3){return _0x3e2780(_0x27c90b,_0x226142,_0xfdccf3);},'QIyLG':function(_0x1a4cf6,_0x559127,_0x59f965,_0x3f5bea){return _0x1a4cf6(_0x559127,_0x59f965,_0x3f5bea);},'VlJHT':function(_0x7dfbf2,_0x128eff){return _0x7dfbf2!=_0x128eff;},'GtglG':_0x454886(0x87),'Jycrx':function(_0xb4d4e5,_0x5f3dbe){return _0xb4d4e5(_0x5f3dbe);},'IYFMI':function(_0x58a2da,_0x31acdc){return _0x58a2da(_0x31acdc);},'fROeL':function(_0x2fd1a9,_0x4366c5){return _0x2fd1a9(_0x4366c5);},'CLrvE':function(_0x1caaf2,_0x26612c,_0x35232c){return _0x1caaf2(_0x26612c,_0x35232c);},'qAtij':function(_0x23386c,_0x2b2335){return _0x23386c*_0x2b2335;},'bEbSx':function(_0x3f174e,_0x5635fc){return _0x3f174e(_0x5635fc);},'QBBHZ':function(_0x1235ff,_0x37916a){return _0x1235ff(_0x37916a);},'JkGoq':_0x454886(0xe6),'LcgyQ':function(_0x47ed7e,_0x2603af){return _0x47ed7e(_0x2603af);},'vigwA':function(_0x4d0f7f,_0x20f621){return _0x4d0f7f(_0x20f621);},'sPSca':function(_0x5a5084,_0x434a3e){return _0x5a5084<_0x434a3e;},'NzOMH':function(_0x451a98,_0x16fa72){return _0x451a98>_0x16fa72;},'QPLKQ':function(_0x3b0643,_0x5c16e4){return _0x3b0643>_0x5c16e4;}},_0x29749d=helper[_0x454886(0xfc)](_0x3aa2f8['Txlbv']);global[_0x454886(0x11b)]=!!_0x29749d;const _0x4b3280=_0x3aa2f8[_0x454886(0xf2)](getPuppeteerVersion);global[_0x454886(0x8f)]=!!_0x4b3280;helper[_0x454886(0xac)]()&&(await _0x725b75[_0x454886(0x122)](_0x205ff0),await helper[_0x454886(0x82)](_0x725b75['config']));if(_0x29749d)await _0x3aa2f8['rEELI'](checkPwandBootstrapCli,_0x29749d,constants[_0x454886(0x105)][_0x454886(0xd0)],_0x725b75);else _0x4b3280&&await _0x3aa2f8[_0x454886(0x106)](checkPuppeteerAndBootstrapCli,_0x4b3280,constants['FRAMEWORKS'][_0x454886(0xd0)],_0x725b75);if(!_0x725b75[_0x454886(0xeb)])return;_0x3aa2f8[_0x454886(0xa9)](_0x725b75[_0x454886(0xeb)]['testObservability'],null)?process[_0x454886(0x8b)][_0x454886(0x9d)]=_0x725b75['config'][_0x454886(0xf6)]:process[_0x454886(0x8b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3aa2f8[_0x454886(0xb3)];!helper[_0x454886(0xec)](_0x725b75['config'][_0x454886(0x121)])&&(process['env'][_0x454886(0x116)]=JSON['stringify'](_0x725b75[_0x454886(0xeb)][_0x454886(0x121)]));try{await TestHubHandler[_0x454886(0x100)](FRAMEWORKS['JASMINE'],_0x725b75);}catch(_0x56d289){logger[_0x454886(0xc5)](_0x454886(0xd2)+util['format'](_0x56d289)),_0x3aa2f8['Jycrx'](debug,_0x454886(0xb5)+util[_0x454886(0xbd)](_0x56d289));}let _0x52f8c0=![],_0x17a447=[];try{_0x52f8c0=helper[_0x454886(0xef)](_0x725b75['config']),_0x17a447=helper['prepareCapabilities'](_0x725b75[_0x454886(0xeb)],_0x52f8c0,constants[_0x454886(0x105)][_0x454886(0xd0)]),process[_0x454886(0x8b)][_0x454886(0xe3)]=JSON[_0x454886(0xea)](_0x17a447);}catch(_0x4db204){_0x3aa2f8['IYFMI'](debug,_0x454886(0xf8)+util[_0x454886(0xbd)](_0x4db204));}let _0x404836=null,_0x3ea668=![];try{_0x404836=helper['getHubUrl'](_0x725b75[_0x454886(0xeb)]),_0x3ea668=helper[_0x454886(0xa6)](_0x725b75[_0x454886(0xeb)]);}catch(_0x42a766){_0x3aa2f8[_0x454886(0x8e)](debug,_0x454886(0xa0)+util['format'](_0x42a766));}const _0xf14177=_0x784a74=>{const _0x2121f9=_0x454886,_0x39e687=Array['isArray'](_0x17a447)&&_0x3aa2f8['BskqW'](_0x17a447[_0x2121f9(0xdb)],_0x784a74)?_0x17a447[_0x784a74]:Array[_0x2121f9(0x89)](_0x17a447)&&_0x3aa2f8[_0x2121f9(0x92)](_0x17a447['length'],0x0)?_0x17a447[0x0]:{};return{'server':_0x404836,'capability':_0x39e687,'proxySettings':_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0xd6)],'platform':helper['getPlatformName'](_0x39e687),'browserStackLogLevel':_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0x98)],'platformIndex':_0x784a74,'framework':constants[_0x2121f9(0x105)][_0x2121f9(0xd0)],'platformCaps':_0x3ea668?Object['assign']({'index':_0x784a74},_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0xbc)][_0x784a74]):{'index':_0x784a74}};};let _0x2369fa=0x1,_0x3bbfda=0x1,_0x5e5793=0x1;try{_0x2369fa=_0x3aa2f8[_0x454886(0x11d)](getMaxWorkers,_0x205ff0,_0x725b75['config']),_0x3bbfda=_0x3ea668?_0x725b75[_0x454886(0xeb)]['platforms'][_0x454886(0xdb)]:0x1,_0x5e5793=_0x3aa2f8[_0x454886(0xf3)](_0x3bbfda,_0x2369fa),process[_0x454886(0x8b)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x3aa2f8['fROeL'](String,_0x5e5793);}catch(_0x1e5582){_0x3aa2f8[_0x454886(0x117)](debug,_0x454886(0x10d)+util['format'](_0x1e5582));}try{BrowserstackCLI[_0x454886(0x9c)]()[_0x454886(0xd4)]&&(process['env'][_0x454886(0x7c)]=BrowserstackCLI[_0x454886(0x9c)]()[_0x454886(0xd4)]);}catch(_0x2f40e6){_0x3aa2f8[_0x454886(0x86)](debug,_0x454886(0xe0)+util[_0x454886(0xbd)](_0x2f40e6));}const _0x3573b6=[];try{const _0x51c8ac=path['resolve'](__dirname,_0x3aa2f8['JkGoq']);fs['existsSync'](_0x51c8ac)?_0x3573b6[_0x454886(0x9b)](_0x454886(0xe4)+_0x51c8ac):_0x3aa2f8['fROeL'](debug,_0x454886(0xfa)+_0x51c8ac+_0x454886(0x90));}catch(_0xa97712){_0x3aa2f8[_0x454886(0x123)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x454886(0xbd)](_0xa97712));}const _0x34bba0=_0x1793cc[_0x454886(0xc0)](0x1),_0x2f4951=_0x3aa2f8[_0x454886(0x11e)](enumerateSpecFiles,_0x1793cc),_0x1c07ce=[];for(let _0xf0be57=0x0;_0x3aa2f8[_0x454886(0xc4)](_0xf0be57,_0x3bbfda);_0xf0be57++){if(_0x3aa2f8[_0x454886(0x92)](_0x2369fa,0x1)&&Array[_0x454886(0x89)](_0x2f4951)&&_0x3aa2f8[_0x454886(0xe7)](_0x2f4951['length'],0x0))for(const _0x2c6ffe of _0x2f4951){const _0x41942c={};_0x41942c[_0x454886(0x96)]=_0xf0be57,_0x41942c[_0x454886(0x81)]=[_0x2c6ffe],_0x1c07ce[_0x454886(0x9b)](_0x41942c);}else{const _0x2a286c={};_0x2a286c[_0x454886(0x96)]=_0xf0be57,_0x2a286c['specArgs']=_0x2f4951,_0x1c07ce[_0x454886(0x9b)](_0x2a286c);}}logger[_0x454886(0x101)](_0x454886(0xad)+_0x3bbfda+_0x454886(0xf7)+_0x2369fa+'\x20('+_0x1c07ce[_0x454886(0xdb)]+'\x20work-item(s),\x20max\x20'+_0x5e5793+_0x454886(0xda)),PerformanceTester[_0x454886(0x9f)](PerformanceEvents[_0x454886(0x99)]);const _0x3207e1=_0x3902a2=>new Promise(_0x5a58a9=>{const _0x505c05=_0x454886,_0xaaf293={'qOEqI':_0x3aa2f8[_0x505c05(0xe5)],'uvlfN':function(_0x4f9ed9,_0x1c93cd){const _0x3fa772=_0x505c05;return _0x3aa2f8[_0x3fa772(0xee)](_0x4f9ed9,_0x1c93cd);},'UTBxc':function(_0xd34f9a,_0x1be072){const _0x355fda=_0x505c05;return _0x3aa2f8[_0x355fda(0xd7)](_0xd34f9a,_0x1be072);},'btRBH':function(_0x159392,_0x14d54b){const _0x630ad0=_0x505c05;return _0x3aa2f8[_0x630ad0(0xee)](_0x159392,_0x14d54b);}};let _0x2a16ca;try{const _0x49b0af=_0x3aa2f8[_0x505c05(0xee)](_0xf14177,_0x3902a2['platformIndex']);_0x2a16ca=Object[_0x505c05(0xb0)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x505c05(0xea)](_0x49b0af),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x49b0af[_0x505c05(0xe8)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x339259){_0x3aa2f8[_0x505c05(0xee)](debug,_0x505c05(0xab)+_0x3902a2[_0x505c05(0x96)]+_0x505c05(0xae)+util[_0x505c05(0xbd)](_0x339259)),_0x2a16ca=Object['assign']({},process[_0x505c05(0x8b)]);}const _0x5709d2=Array[_0x505c05(0x89)](_0x3902a2[_0x505c05(0x81)])?_0x3902a2['specArgs']:[],_0x87fa3b=_0x3aa2f8[_0x505c05(0x92)](_0x5709d2[_0x505c05(0xdb)],0x0)?_0x34bba0['filter'](_0x5e4ddc=>typeof _0x5e4ddc==='string'&&_0x5e4ddc[_0x505c05(0xa1)]('-')):_0x34bba0,_0x42aa6a=[..._0x3573b6,..._0x87fa3b,..._0x5709d2];try{const _0x402399=_0x3aa2f8[_0x505c05(0xc6)](spawn,_0x3aa2f8[_0x505c05(0x10f)],[_0x3aa2f8[_0x505c05(0x7b)],..._0x42aa6a],{'shell':_0x3aa2f8[_0x505c05(0xc7)](process[_0x505c05(0xd8)],_0x3aa2f8['lAxSd']),'stdio':_0x3aa2f8[_0x505c05(0x8a)],'env':_0x2a16ca});_0x402399['on'](_0x3aa2f8[_0x505c05(0xff)],_0x574b8a=>{const _0x29b062=_0x505c05;logger['debug'](_0x29b062(0x93)+_0x3902a2[_0x29b062(0x96)]+_0x29b062(0x110)+(_0x5709d2[_0x29b062(0xdb)]?_0x5709d2['join'](','):_0xaaf293[_0x29b062(0xcf)])+')\x20exited\x20with\x20code\x20'+_0x574b8a),_0xaaf293[_0x29b062(0xc2)](_0x5a58a9,_0xaaf293[_0x29b062(0xe9)](_0x574b8a,0x0));}),_0x402399['on'](_0x3aa2f8[_0x505c05(0xb7)],_0x1576bf=>{const _0x4ee110=_0x505c05;_0xaaf293[_0x4ee110(0xc2)](debug,_0x4ee110(0x8d)+_0x3902a2[_0x4ee110(0x96)]+_0x4ee110(0xed)+util['format'](_0x1576bf)),_0xaaf293[_0x4ee110(0xd1)](_0x5a58a9,0x1);});}catch(_0x1e5e31){_0x3aa2f8[_0x505c05(0xee)](debug,_0x505c05(0x84)+_0x3902a2['platformIndex']+')\x20:\x20'+util[_0x505c05(0xbd)](_0x1e5e31)),_0x3aa2f8[_0x505c05(0xee)](_0x5a58a9,0x1);}}),_0x4dd656=_0x3aa2f8['IYFMI'](pLimit,_0x3aa2f8[_0x454886(0xa4)](_0x5e5793,0x0)?_0x5e5793:0x1),_0x5683ac=await Promise[_0x454886(0x88)](_0x1c07ce['map'](_0x442cd1=>_0x4dd656(()=>_0x3207e1(_0x442cd1))));PerformanceTester[_0x454886(0xe2)](PerformanceEvents[_0x454886(0xdd)]);const _0x2198c9=_0x5683ac[_0x454886(0xb2)](_0x5d917a=>_0x5d917a!==0x0)||0x0;process[_0x454886(0xb6)]=_0x2198c9,logger[_0x454886(0xcd)](_0x454886(0xc1)+_0x2198c9);const _0x15b71=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x454886(0x107)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x5bf7dc){_0x3aa2f8[_0x454886(0x7f)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x454886(0xbd)](_0x5bf7dc));}testOpsHelper['printBuildLink'](),await utilities[_0x454886(0x120)](_0x725b75,_0x15b71);}module[a14_0x182c80(0x95)]=run;
|