browserstack-node-sdk 1.70.3 → 1.71.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/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.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 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.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/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.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/runStateStore.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/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a40_0x4b53a7=a40_0x5896;(function(_0x3d3d2a,_0x22184e){const _0x1d8347=a40_0x5896,_0x1f19be=_0x3d3d2a();while(!![]){try{const _0x372a49=-parseInt(_0x1d8347(0x221))/0x1+-parseInt(_0x1d8347(0x278))/0x2+-parseInt(_0x1d8347(0x1e6))/0x3*(parseInt(_0x1d8347(0x2c6))/0x4)+-parseInt(_0x1d8347(0x21f))/0x5+-parseInt(_0x1d8347(0x28e))/0x6*(parseInt(_0x1d8347(0x24f))/0x7)+-parseInt(_0x1d8347(0x2a9))/0x8+parseInt(_0x1d8347(0x2b6))/0x9;if(_0x372a49===_0x22184e)break;else _0x1f19be['push'](_0x1f19be['shift']());}catch(_0x386727){_0x1f19be['push'](_0x1f19be['shift']());}}}(a40_0x4009,0x5de8d));const chalk=require('chalk'),logger=require(a40_0x4b53a7(0x2aa))[a40_0x4b53a7(0x2c9)],helper=require(a40_0x4b53a7(0x20e)),utilities=require(a40_0x4b53a7(0x21b)),testOpsHelper=require(a40_0x4b53a7(0x291)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a40_0x4b53a7(0x20e)),{getPercyOptions}=require(a40_0x4b53a7(0x2e7)),Base=requireModule(a40_0x4b53a7(0x2cb),a40_0x4b53a7(0x280)),collectFiles=requireModule(a40_0x4b53a7(0x1e8),a40_0x4b53a7(0x280)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a40_0x4b53a7(0x295))['EVENTS'],centralScannerConstants=require(a40_0x4b53a7(0x256)),{FRAMEWORKS}=require(a40_0x4b53a7(0x2c5)),TestHubHandler=require(a40_0x4b53a7(0x1d8)),BrowserstackCLI=require(a40_0x4b53a7(0x201)),CLIUtils=require('../v2/cliUtils'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function tag(_0x2a635a,_0x58f2b1,_0x348dd1,_0x1aa6c0){const _0x5f3b0b=a40_0x4b53a7,_0x27321e={'vCnSa':function(_0x91311e,_0x17b6c2){return _0x91311e+_0x17b6c2;},'FdVLP':function(_0x119155,_0x5b0558){return _0x119155+_0x5b0558;},'YKlQL':function(_0x57c75e,_0x3f0615){return _0x57c75e+_0x3f0615;},'JAjkw':function(_0xb514d3,_0x259603){return _0xb514d3(_0x259603);},'UsPga':function(_0x434341,_0x91c9cc){return _0x434341+_0x91c9cc;},'WZCFS':function(_0x58bba6,_0x349e0f){return _0x58bba6+_0x349e0f;},'wuAsI':function(_0x4761d5,_0x2a239f){return _0x4761d5+_0x2a239f;}},_0x4d2031=_0x348dd1?'/>':'>',_0x43fbfa=[];let _0x593e3f;for(const _0x197fd4 in _0x58f2b1){Object['prototype'][_0x5f3b0b(0x296)]['call'](_0x58f2b1,_0x197fd4)&&_0x43fbfa['push'](_0x27321e[_0x5f3b0b(0x1fb)](_0x27321e[_0x5f3b0b(0x1f1)](_0x27321e[_0x5f3b0b(0x284)](_0x197fd4,'=\x22'),_0x27321e[_0x5f3b0b(0x24b)](escape,_0x58f2b1[_0x197fd4])),'\x22'));}return _0x593e3f=_0x27321e[_0x5f3b0b(0x1fb)](_0x27321e[_0x5f3b0b(0x1fb)](_0x27321e[_0x5f3b0b(0x1f1)]('<',_0x2a635a),_0x43fbfa[_0x5f3b0b(0x23d)]?_0x27321e[_0x5f3b0b(0x1fb)]('\x20',_0x43fbfa[_0x5f3b0b(0x205)]('\x20')):''),_0x4d2031),_0x1aa6c0&&(_0x593e3f+=_0x27321e[_0x5f3b0b(0x2df)](_0x27321e[_0x5f3b0b(0x1ee)](_0x27321e[_0x5f3b0b(0x274)](_0x1aa6c0,'</'),_0x2a635a),_0x4d2031)),_0x593e3f;}let xunitContent='';function xunitWrite(_0x34a7d1){xunitContent+=_0x34a7d1;}function xunitTest(_0x5cdb51,_0x147cab){const _0x103696=a40_0x4b53a7,_0x40a576={'KVrfx':function(_0x37fb69,_0x228176){return _0x37fb69/_0x228176;},'PdMRb':function(_0x5bc400,_0x82abc1){return _0x5bc400===_0x82abc1;},'OJUHd':_0x103696(0x246),'SUWdy':function(_0x2be3ca,_0x2fe2aa){return _0x2be3ca+_0x2fe2aa;},'XPTzl':function(_0x25c1d5,_0x195b18){return _0x25c1d5(_0x195b18);},'iQkoT':function(_0xd4872b,_0x56f272,_0x5c3eeb,_0x105b9c,_0x93eee2){return _0xd4872b(_0x56f272,_0x5c3eeb,_0x105b9c,_0x93eee2);},'VETXR':'testcase','JyvJn':function(_0x1b6b1b,_0x35f9f5,_0x5625ca,_0x331798,_0x447400){return _0x1b6b1b(_0x35f9f5,_0x5625ca,_0x331798,_0x447400);},'CnQSK':_0x103696(0x273),'BXIaT':function(_0x76dc6e,_0x31eb9f){return _0x76dc6e+_0x31eb9f;},'PZlSR':function(_0x5f1fb5,_0x45544b){return _0x5f1fb5(_0x45544b);},'GZoZB':function(_0x1e1845,_0x1ae9de,_0x490285,_0x248663){return _0x1e1845(_0x1ae9de,_0x490285,_0x248663);},'aOhKz':_0x103696(0x1d3),'leofj':function(_0x50747f,_0xe6bae5,_0x15a739,_0x5151e4){return _0x50747f(_0xe6bae5,_0x15a739,_0x5151e4);}};Base[_0x103696(0x228)]=![];var _0x4c36f9={'classname':_0x5cdb51['fullTitle'],'name':_0x5cdb51[_0x103696(0x1f8)],'time':_0x40a576[_0x103696(0x1d6)](_0x5cdb51['duration'],0x3e8)||0x0,'platform':_0x147cab};if(_0x40a576[_0x103696(0x241)](_0x5cdb51[_0x103696(0x1fe)],_0x40a576[_0x103696(0x202)])){var _0x9daf4=_0x5cdb51[_0x103696(0x21c)],_0x32b6db=!Base[_0x103696(0x1df)]&&Base[_0x103696(0x292)](_0x9daf4)?_0x40a576[_0x103696(0x20d)]('\x0a',Base[_0x103696(0x279)](_0x9daf4['actual'],_0x9daf4[_0x103696(0x2d7)])):'';_0x40a576['XPTzl'](xunitWrite,_0x40a576[_0x103696(0x2ac)](tag,_0x40a576['VETXR'],_0x4c36f9,![],_0x40a576[_0x103696(0x223)](tag,_0x40a576[_0x103696(0x2ca)],{},![],_0x40a576[_0x103696(0x20d)](_0x40a576[_0x103696(0x20d)](_0x40a576[_0x103696(0x1e5)](_0x40a576['XPTzl'](escape,_0x9daf4[_0x103696(0x272)]),_0x40a576['XPTzl'](escape,_0x32b6db)),'\x0a'),_0x40a576['XPTzl'](escape,_0x9daf4[_0x103696(0x265)])))));}else _0x5cdb51[_0x103696(0x22e)]?_0x40a576[_0x103696(0x297)](xunitWrite,_0x40a576[_0x103696(0x2ac)](tag,_0x40a576[_0x103696(0x2c4)],_0x4c36f9,![],_0x40a576[_0x103696(0x257)](tag,_0x40a576[_0x103696(0x224)],{},!![]))):_0x40a576[_0x103696(0x297)](xunitWrite,_0x40a576['leofj'](tag,_0x40a576[_0x103696(0x2c4)],_0x4c36f9,!![]));}function a40_0x5896(_0xf471fd,_0x4d56b5){const _0x4009b8=a40_0x4009();return a40_0x5896=function(_0x58966f,_0x3094f8){_0x58966f=_0x58966f-0x1cf;let _0x42ec5b=_0x4009b8[_0x58966f];return _0x42ec5b;},a40_0x5896(_0xf471fd,_0x4d56b5);};function getStats(_0x21ebd6){const _0x2c9cd2=a40_0x4b53a7,_0x431ebe={};_0x431ebe[_0x2c9cd2(0x1ed)]=_0x2c9cd2(0x2ee),_0x431ebe[_0x2c9cd2(0x1d0)]=_0x2c9cd2(0x2c3),_0x431ebe['cpXRB']=_0x2c9cd2(0x246),_0x431ebe['BCbxn']=_0x2c9cd2(0x237);const _0x3480eb=_0x431ebe,_0x556523=Object['keys'](_0x21ebd6);let _0x22b566=0x0,_0x1bc5bc=0x0,_0x38d54e=0x0,_0x45a39b=0x0;const _0x58d627=new Set();_0x556523[_0x2c9cd2(0x22d)](_0x2fccfd=>{const _0x22c47b=_0x2c9cd2;_0x21ebd6[_0x2fccfd][_0x3480eb[_0x22c47b(0x200)]][_0x22c47b(0x22d)](_0x2afe6c=>{const _0x80d468=_0x22c47b;_0x58d627['add'](_0x2afe6c[_0x3480eb['RAExe']]),_0x22b566++;switch(_0x2afe6c['state']){case _0x3480eb['JDJVO']:_0x38d54e++;break;case _0x3480eb[_0x80d468(0x24c)]:_0x1bc5bc++;break;default:_0x45a39b++;}});});const _0x262823={};return _0x262823[_0x2c9cd2(0x2e3)]=_0x58d627[_0x2c9cd2(0x209)],_0x262823[_0x2c9cd2(0x2bb)]=_0x556523,_0x262823['totalTests']=_0x22b566,_0x262823[_0x2c9cd2(0x27f)]=_0x1bc5bc,_0x262823['testsPassed']=_0x38d54e,_0x262823[_0x2c9cd2(0x248)]=_0x45a39b,_0x262823;}function errorJSON(_0x221da8){const _0x49130e=a40_0x4b53a7;var _0x1a80c7={};return Object[_0x49130e(0x1dd)](_0x221da8)['forEach'](function(_0x28864d){_0x1a80c7[_0x28864d]=_0x221da8[_0x28864d];},_0x221da8),_0x1a80c7;}function cleanCycles(_0x2fbd24){const _0x4f544a=a40_0x4b53a7,_0x36fe89={};_0x36fe89['bYNiw']=function(_0x14f880,_0x273198){return _0x14f880===_0x273198;},_0x36fe89[_0x4f544a(0x20a)]=_0x4f544a(0x28b),_0x36fe89[_0x4f544a(0x1e7)]=function(_0x5924d5,_0x541ce0){return _0x5924d5!==_0x541ce0;},_0x36fe89[_0x4f544a(0x27e)]=function(_0xfd8a9,_0xa79568){return _0xfd8a9!==_0xa79568;},_0x36fe89[_0x4f544a(0x2b1)]=function(_0x320b05,_0x1a6b83){return _0x320b05+_0x1a6b83;};const _0x5ed9e3=_0x36fe89;var _0x5a4eff=[];return JSON[_0x4f544a(0x2d6)](JSON[_0x4f544a(0x23b)](_0x2fbd24,function(_0x4094cc,_0x4fc9f4){const _0x14c988=_0x4f544a;if(_0x5ed9e3[_0x14c988(0x2ce)](typeof _0x4fc9f4,_0x5ed9e3[_0x14c988(0x20a)])&&_0x5ed9e3[_0x14c988(0x1e7)](_0x4fc9f4,null)){if(_0x5ed9e3[_0x14c988(0x27e)](_0x5a4eff[_0x14c988(0x20c)](_0x4fc9f4),-0x1))return _0x5ed9e3[_0x14c988(0x2b1)]('',_0x4fc9f4);_0x5a4eff['push'](_0x4fc9f4);}return _0x4fc9f4;}));}function clean(_0x476ad9){const _0x5cf085=a40_0x4b53a7,_0x255a22={'slgqd':function(_0x32e5b8,_0x17048a){return _0x32e5b8 instanceof _0x17048a;},'lkCST':function(_0xbf1346,_0x5761ab){return _0xbf1346(_0x5761ab);}};var _0x2a9cc1=_0x476ad9[_0x5cf085(0x21c)]||{};return _0x255a22[_0x5cf085(0x23f)](_0x2a9cc1,Error)&&(_0x2a9cc1=_0x255a22[_0x5cf085(0x298)](errorJSON,_0x2a9cc1)),{'title':_0x476ad9[_0x5cf085(0x1f8)],'fullTitle':_0x476ad9[_0x5cf085(0x206)],'file':_0x476ad9['file'],'duration':_0x476ad9[_0x5cf085(0x2b3)],'currentRetry':_0x476ad9[_0x5cf085(0x204)],'speed':_0x476ad9[_0x5cf085(0x239)],'err':_0x255a22[_0x5cf085(0x298)](cleanCycles,_0x2a9cc1)};}function printStats(_0x523f16,_0x1435b2=a40_0x4b53a7(0x29a),_0x4097d2={}){const _0x2a6ce3=a40_0x4b53a7,_0x27ed54={'IVhHu':function(_0x5f558e,_0x353b46){return _0x5f558e(_0x353b46);},'nMiVG':function(_0x368e55,_0x3787da){return _0x368e55===_0x3787da;},'VnNTa':_0x2a6ce3(0x2c3),'DhGFK':_0x2a6ce3(0x2b7),'PMWFR':function(_0x3aeb1b,_0x2a57f3){return _0x3aeb1b(_0x2a57f3);},'kGutv':_0x2a6ce3(0x246),'IBmMA':_0x2a6ce3(0x1e2),'otUrS':_0x2a6ce3(0x270),'hcNBl':'results','xHNWL':function(_0x127b7d,_0x5890f2){return _0x127b7d===_0x5890f2;},'KEXOm':function(_0x30f63,_0x352f89){return _0x30f63===_0x352f89;},'KVJdL':function(_0x4e506c,_0x22ae33){return _0x4e506c*_0x22ae33;},'SnVjc':function(_0x2e5692,_0x5d0ca9,_0x2ab518){return _0x2e5692(_0x5d0ca9,_0x2ab518);},'zflVz':function(_0x4ff5e6,_0xcf4022){return _0x4ff5e6===_0xcf4022;},'jmdQx':function(_0x3312d3,_0xe3dc30){return _0x3312d3>_0xe3dc30;},'UXiOc':function(_0x1abb33){return _0x1abb33();},'ufrcS':function(_0x14de12,_0x465272){return _0x14de12===_0x465272;},'MFYuK':_0x2a6ce3(0x2e2),'jteaB':_0x2a6ce3(0x21e),'ulZga':'Printing\x20stats\x20of\x20tests','tdWZO':function(_0x5559f5,_0x4da8c6){return _0x5559f5+_0x4da8c6;},'MjIdk':'Total\x20Platforms:\x20','yAkdL':function(_0x36417e,_0x123afc){return _0x36417e+_0x123afc;},'gROKv':'Total\x20Suites:\x20','nNZrD':function(_0x4f13a1,_0x5029b2){return _0x4f13a1+_0x5029b2;},'teMEa':_0x2a6ce3(0x289),'iFeJi':function(_0x1a884c,_0x3bd988){return _0x1a884c>_0x3bd988;},'vRbsp':function(_0x16692f,_0x22b6cb){return _0x16692f>_0x22b6cb;},'vyydl':function(_0x250fbe,_0x1f5b7c){return _0x250fbe+_0x1f5b7c;},'XUqhZ':function(_0x358606,_0x136e1f){return _0x358606+_0x136e1f;},'MaRcU':_0x2a6ce3(0x1f4),'kUNEl':function(_0x281a81,_0x49df88){return _0x281a81===_0x49df88;},'wIJAB':_0x2a6ce3(0x24a),'pQioO':'Writing\x20json\x20result\x20to\x20file','wMVwY':'Couldn\x27t\x20write\x20json\x20result\x20to','lCBqg':_0x2a6ce3(0x1fd),'fvVRS':'xunit','XkiHh':'Mocha\x20Tests','llfAO':function(_0x57cf4f,_0x36b2bd){return _0x57cf4f||_0x36b2bd;},'SXQxx':function(_0x1ab2b2,_0x715a39){return _0x1ab2b2(_0x715a39);},'RLsXX':function(_0x4f6016,_0x1b5265,_0xea1cfb,_0xd6ee26){return _0x4f6016(_0x1b5265,_0xea1cfb,_0xd6ee26);},'TnXOm':_0x2a6ce3(0x1e3),'Llzbv':function(_0x3ecdaa,_0x1a53fd){return _0x3ecdaa-_0x1a53fd;},'erSZW':function(_0x121f52,_0x92da05){return _0x121f52/_0x92da05;},'nJLZY':_0x2a6ce3(0x2de),'hKjXe':_0x2a6ce3(0x29b),'KMeeX':_0x2a6ce3(0x1eb),'xgSVk':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','jGcyl':function(_0xbe1bf4,_0x44732b){return _0xbe1bf4===_0x44732b;},'mfzIm':_0x2a6ce3(0x247),'ZYbpE':_0x2a6ce3(0x234)};if(_0x27ed54[_0x2a6ce3(0x26a)](_0x1435b2,_0x27ed54['MFYuK']))return;const _0x1397e2=0x0,_0x21694f=()=>{const _0x370bfb=_0x2a6ce3;return _0x27ed54[_0x370bfb(0x1cf)](Array,_0x1397e2)[_0x370bfb(0x205)]('\x20\x20');},{testSuites:_0x37f81a,platforms:_0x455380,totalTests:_0x53cc94,testsFailed:_0x120d3c,testsPassed:_0x48a69f,testsPending:_0x438008}=_0x27ed54[_0x2a6ce3(0x29d)](getStats,_0x523f16);_0x27ed54[_0x2a6ce3(0x281)](_0x120d3c,0x0)&&(logger[_0x2a6ce3(0x2e5)](_0x27ed54[_0x2a6ce3(0x20f)]),process[_0x2a6ce3(0x23c)]=Math[_0x2a6ce3(0x2eb)](_0x120d3c,0xff));logger['debug'](_0x27ed54['ulZga']);const _0x291f00=''+_0x27ed54[_0x2a6ce3(0x220)](chalk[_0x2a6ce3(0x2ed)](_0x27ed54[_0x2a6ce3(0x213)]),_0x455380[_0x2a6ce3(0x23d)]),_0x2373a0=''+_0x27ed54[_0x2a6ce3(0x25b)](chalk['bold'](_0x27ed54[_0x2a6ce3(0x1ef)]),_0x37f81a),_0x4ef0ba=''+_0x27ed54['tdWZO'](_0x27ed54[_0x2a6ce3(0x26d)](_0x27ed54[_0x2a6ce3(0x25b)](chalk['bold'](_0x27ed54[_0x2a6ce3(0x261)]),_0x27ed54[_0x2a6ce3(0x281)](_0x120d3c,0x0)?chalk[_0x2a6ce3(0x2ed)][_0x2a6ce3(0x286)](_0x120d3c+_0x2a6ce3(0x2ea))+',\x20':''),_0x27ed54[_0x2a6ce3(0x2b0)](_0x438008,0x0)?chalk[_0x2a6ce3(0x2ed)][_0x2a6ce3(0x2b4)](_0x438008+_0x2a6ce3(0x271))+',\x20':''),_0x27ed54[_0x2a6ce3(0x25e)](_0x48a69f,0x0)?chalk[_0x2a6ce3(0x2ed)][_0x2a6ce3(0x259)](_0x48a69f+_0x2a6ce3(0x293))+',\x20':'')+_0x53cc94+'\x20total';console['log'](_0x27ed54['vyydl'](_0x27ed54[_0x2a6ce3(0x26d)](_0x27ed54[_0x2a6ce3(0x26d)](_0x27ed54['nNZrD'](_0x27ed54[_0x2a6ce3(0x29e)](_0x27ed54['MaRcU'],_0x291f00),'\x0a'),_0x2373a0),'\x0a'),_0x4ef0ba));if(_0x27ed54[_0x2a6ce3(0x2b8)](_0x1435b2,_0x27ed54[_0x2a6ce3(0x26b)])){const _0x28ac3a={},_0x4a833d={};_0x4a833d[_0x2a6ce3(0x2e3)]=_0x37f81a,_0x4a833d[_0x2a6ce3(0x2bb)]=_0x455380,_0x4a833d[_0x2a6ce3(0x27f)]=_0x120d3c,_0x4a833d[_0x2a6ce3(0x28f)]=_0x48a69f,_0x4a833d['testsPending']=_0x438008,_0x28ac3a[_0x2a6ce3(0x1f5)]=_0x4a833d,_0x455380['forEach'](_0x182513=>{const _0x2a4cd7=_0x2a6ce3;_0x28ac3a[_0x182513]={'pending':[],'failures':[],'passes':[],'tests':_0x523f16[_0x182513][_0x27ed54[_0x2a4cd7(0x2be)]][_0x2a4cd7(0x1f9)](clean)},_0x523f16[_0x182513][_0x27ed54[_0x2a4cd7(0x2be)]][_0x2a4cd7(0x22d)](_0x4ae945=>{const _0x8b4602=_0x2a4cd7;if(_0x27ed54[_0x8b4602(0x21a)](_0x4ae945[_0x8b4602(0x1fe)],_0x27ed54[_0x8b4602(0x258)]))_0x28ac3a[_0x182513][_0x27ed54[_0x8b4602(0x254)]]['push'](_0x27ed54['PMWFR'](clean,_0x4ae945));else _0x27ed54['nMiVG'](_0x4ae945[_0x8b4602(0x1fe)],_0x27ed54[_0x8b4602(0x266)])?_0x28ac3a[_0x182513][_0x27ed54[_0x8b4602(0x219)]][_0x8b4602(0x230)](_0x27ed54['IVhHu'](clean,_0x4ae945)):_0x28ac3a[_0x182513][_0x27ed54[_0x8b4602(0x2ec)]]['push'](_0x27ed54[_0x8b4602(0x29d)](clean,_0x4ae945));});});if(_0x4097d2['output'])try{logger[_0x2a6ce3(0x2e5)](_0x27ed54[_0x2a6ce3(0x240)],_0x4097d2[_0x2a6ce3(0x22f)]),fs[_0x2a6ce3(0x1db)](_0x4097d2[_0x2a6ce3(0x22f)],JSON[_0x2a6ce3(0x23b)](_0x28ac3a,null,0x3));}catch(_0x5ecdc6){logger[_0x2a6ce3(0x2d2)](_0x27ed54['wMVwY'],_0x4097d2[_0x2a6ce3(0x22f)]),logger[_0x2a6ce3(0x2e5)](_0x5ecdc6);}else logger['debug'](_0x27ed54[_0x2a6ce3(0x1f0)]),console[_0x2a6ce3(0x26e)](JSON[_0x2a6ce3(0x23b)](_0x28ac3a,null,0x3));}else{if(_0x27ed54[_0x2a6ce3(0x21a)](_0x1435b2,_0x27ed54[_0x2a6ce3(0x2a0)])){let _0x5bbebf;const _0x52eae1=_0x27ed54[_0x2a6ce3(0x244)];_0x4097d2&&(_0x5bbebf=_0x4097d2['suiteName']);_0x5bbebf=_0x27ed54['llfAO'](_0x5bbebf,_0x52eae1);let _0xa07aa1=0x0,_0x5255b7=0x0,_0x3c8719=0x0,_0x5102fd=0x0;_0x455380[_0x2a6ce3(0x22d)](_0xe237be=>{const _0x18cf96=_0x2a6ce3;_0x523f16[_0xe237be][_0x27ed54[_0x18cf96(0x2be)]][_0x18cf96(0x22d)](_0x3ca8a6=>{const _0x42b4e9=_0x18cf96;if(_0x27ed54[_0x42b4e9(0x2ad)](_0x3ca8a6[_0x42b4e9(0x1fe)],_0x27ed54[_0x42b4e9(0x258)]))_0xa07aa1++;else _0x27ed54[_0x42b4e9(0x27b)](_0x3ca8a6[_0x42b4e9(0x1fe)],_0x27ed54[_0x42b4e9(0x266)])&&_0x5255b7++;_0x3c8719++,_0x5102fd+=_0x27ed54[_0x42b4e9(0x232)](_0x3ca8a6[_0x42b4e9(0x2b3)],0x1);});}),_0x27ed54[_0x2a6ce3(0x294)](xunitWrite,_0x27ed54[_0x2a6ce3(0x1d9)](tag,_0x27ed54[_0x2a6ce3(0x1d1)],{'name':_0x5bbebf,'tests':_0x3c8719,'failures':0x0,'errors':_0x5255b7,'skipped':_0x27ed54[_0x2a6ce3(0x28c)](_0x27ed54[_0x2a6ce3(0x28c)](_0x3c8719,_0x5255b7),_0xa07aa1),'timestamp':new Date()[_0x2a6ce3(0x1da)](),'time':_0x27ed54['erSZW'](_0x5102fd,0x3e8)||0x0},![])),_0x455380[_0x2a6ce3(0x22d)](_0x7db891=>{const _0x52dcdd=_0x2a6ce3,_0x17fcd1={'LBpTI':function(_0x32c351,_0x1e0e59,_0xa382d7){const _0x36daf8=a40_0x5896;return _0x27ed54[_0x36daf8(0x2cd)](_0x32c351,_0x1e0e59,_0xa382d7);}};_0x523f16[_0x7db891][_0x27ed54[_0x52dcdd(0x2be)]][_0x52dcdd(0x22d)](_0x31a938=>{const _0x34d5bd=_0x52dcdd;_0x17fcd1[_0x34d5bd(0x285)](xunitTest,_0x31a938,_0x7db891);});}),_0x27ed54[_0x2a6ce3(0x29d)](xunitWrite,_0x27ed54[_0x2a6ce3(0x250)]);if(_0x4097d2['output'])try{logger['debug'](_0x27ed54[_0x2a6ce3(0x275)],_0x4097d2['output']),fs[_0x2a6ce3(0x1db)](_0x4097d2['output'],xunitContent);}catch(_0x3e6875){logger[_0x2a6ce3(0x2d2)](_0x27ed54['KMeeX'],_0x4097d2[_0x2a6ce3(0x22f)]),logger['debug'](_0x3e6875);}else logger[_0x2a6ce3(0x2e5)](_0x27ed54[_0x2a6ce3(0x2bc)]),console[_0x2a6ce3(0x26e)](xunitContent);}else{if(_0x27ed54[_0x2a6ce3(0x288)](_0x120d3c,0x0))return;console['log'](),logger[_0x2a6ce3(0x2e5)](_0x27ed54[_0x2a6ce3(0x242)]),console[_0x2a6ce3(0x26e)](chalk[_0x2a6ce3(0x2ed)][_0x2a6ce3(0x222)](_0x27ed54['ZYbpE'])),_0x455380[_0x2a6ce3(0x22d)](_0x290607=>{const _0x31da16=_0x2a6ce3,_0xd54def=[];_0x523f16[_0x290607][_0x27ed54[_0x31da16(0x2be)]]['forEach'](_0x42a613=>{const _0x236f62=_0x31da16;_0x27ed54[_0x236f62(0x2d8)](_0x42a613['state'],_0x27ed54[_0x236f62(0x266)])&&(_0x42a613['titlePath']=()=>_0x42a613[_0x236f62(0x22b)],_0xd54def[_0x236f62(0x230)](_0x42a613));}),_0x27ed54[_0x31da16(0x281)](_0xd54def['length'],0x0)&&(Base[_0x31da16(0x243)](),Base['consoleLog'](_0x27ed54['UXiOc'](_0x21694f),chalk[_0x31da16(0x2ed)][_0x31da16(0x1d2)](_0x290607)),Base[_0x31da16(0x216)](_0xd54def));});}}}function a40_0x4009(){const _0x2907f3=['otUrS','bold','suite','BROWSERSTACK_CLI_BIN_SESSION_ID','IVhHu','JDJVO','TnXOm','bgBlueBright','skipped','test','SDKTestSuccessful','KVrfx','cliConfig','../../helpers/testhub/testhubHandler','RLsXX','toUTCString','writeFileSync','initialize','getOwnPropertyNames','Running\x20your\x20mocha\x20tests','hideDiff','parseFileNames','getConfig','failures','testsuite','BROWSERSTACK_RERUN_TESTS','BXIaT','18237RUbZvo','KOxvN','mocha/lib/cli/collect-files.js','getInstance','env','Couldn\x27t\x20write\x20xunit\x20result\x20to','retryTestsOnFailure','RAExe','WZCFS','gROKv','lCBqg','FdVLP','sort','file','\x0a\x0a\x0a','stats','DgfEw','split','title','map','prepareCapabilities','vCnSa','isCliEnabled','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','state','\x20(SDK\x20had\x20','BCbxn','../v2/browserstackCLI','OJUHd','FRAMEWORKS','currentRetry','join','fullTitle','retries','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','size','gcgSC','logLevel','indexOf','SUWdy','../../helpers/helper','jteaB','finally','setFrameworkDetail','isTestObservabilitySession','MjIdk','reporter','TzwTi','list','SDK_CLEANUP','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','IBmMA','nMiVG','../../helpers/utilities','err','central_scanner','Setting\x20non\x20exit\x20code\x20for\x20failures','621860uluGVK','tdWZO','623361fhFCYE','bgRedBright','JyvJn','aOhKz','assign','errorMessage','browserstack.accessibilityOptions.scannerVersion','useColors','\x20platforms','NlXfm','titlePathV','YzgmW','forEach','isPending','output','push','notifyUpdate','KVJdL','files','****\x20FAILURES\x20****','1|2|3|4|0','isUndefined','results','jYBrp','speed','binSessionId','stringify','exitCode','length','then','slgqd','pQioO','PdMRb','mfzIm','consoleLog','XkiHh','getMultiDriverWorkerConfig','failed','Listing\x20all\x20the\x20failures','testsPending','getPlatformName','json','JAjkw','cpXRB','useW3C','[local-identifier-sync]\x20adopted\x20the\x20binary\x27s\x20localIdentifier\x20','28mGCNUj','nJLZY','Unable\x20to\x20sync\x20the\x20localIdentifier\x20from\x20the\x20binary\x20response:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','scannerVersion','DhGFK','browserStackLocalOptions','../../helpers/central-scanner/constants','GZoZB','VnNTa','green','Unable\x20to\x20enrich\x20accessibility\x20config\x20from\x20the\x20binary\x20response:\x20','yAkdL','Khumd','getErrorMessageFromResults','vRbsp','DsxRw','fireFunnelTestEvent','teMEa','includeTagsInTestingScope','proxySettings','wTdvk','stack','kGutv','stop','SThsz','has','ufrcS','wIJAB','shouldReRunObservabilityTests','nNZrD','log','Grkcg','pending','\x20skipped','message','failure','wuAsI','hKjXe','BROWSERSTACK_PRODUCT_MAP','gbdts','335858nbolOs','generateDiff','isBrowserstackInfra','KEXOm','1|2|0|4|3','QePzF','eFsKl','testsFailed','mocha','jmdQx','MOCHA','mjs','YKlQL','LBpTI','red','accessibilityOptions','jGcyl','Tests:\x20\x20\x20\x20\x20\x20\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','object','Llzbv','zWDTJ','1007676uaomBd','testsPassed','Yomad','../../helpers/test-observability/utils','showDiff','\x20passed','SXQxx','../../helpers/performance/constants','hasOwnProperty','PZlSR','lkCST','excludeTagsInTestingScope','spec','Writing\x20xunit\x20result\x20to\x20file','BROWSERSTACK_FRAMEWORK','PMWFR','XUqhZ','handleApp','fvVRS','isNotUndefined','lIwYL','HzKsP','lQQiq','platform','HCzTZ','configPath','selenium-webdriver','2777912wGmvTD','../../helpers/logger','accessibility','iQkoT','xHNWL','isEmpty','start','iFeJi','tDjBU','Exception\x20stopping\x20the\x20CLI\x20after\x20the\x20mocha\x20run:\x20','duration','yellow','testObservability','21475863jpjbjZ','passes','kUNEl','finalExecution','urPhF','platforms','xgSVk','Fqcha','hcNBl','aQlxN','getUserWorkerCount','bstack:options','isRunning','passed','VETXR','../../helpers/test-observability/constants','44bAiSHg','parseTestOrchestrationOptions','IUwvY','winstonLogger','CnQSK','mocha/lib/reporters/base.js','FoyoU','SnVjc','bYNiw','setupBrowserstackLocal','get','reporter-option','error','printBuildLink','launchBuild','parallelsPerPlatform','parse','expected','zflVz','../../helpers/testhub/utils','BROWSERSTACK_GRR_US_HUB_URL','bootstrap','configuration','includeEncodedExtension','</testsuite>','UsPga','recursive','localIdentifier','doc','testSuites','info','debug','exports','../../helpers/percy/utils','config','Running\x20your\x20mocha\x20tests\x20across\x20','\x20failed','min'];a40_0x4009=function(){return _0x2907f3;};return a40_0x4009();}async function run(_0x447e41,_0x4dbde6,_0x2cbe23){const _0x28e35b=a40_0x4b53a7,_0x1e7774={'YzgmW':function(_0x23aa5c,_0x50c141,_0x36028f,_0x413250){return _0x23aa5c(_0x50c141,_0x36028f,_0x413250);},'jYBrp':_0x28e35b(0x2d1),'Grkcg':_0x28e35b(0x235),'IUwvY':_0x28e35b(0x1d5),'Yomad':_0x28e35b(0x27c),'aQlxN':_0x28e35b(0x280),'HCzTZ':_0x28e35b(0x2a8),'FoyoU':function(_0x653acc,_0x392f94){return _0x653acc(_0x392f94);},'lQQiq':_0x28e35b(0x2d9),'DsxRw':'browserStackLocalOptions','NlXfm':_0x28e35b(0x2e1),'urPhF':function(_0x5e8145,_0x1abfbc){return _0x5e8145!==_0x1abfbc;},'Khumd':_0x28e35b(0x227),'SThsz':function(_0x20e58c,_0x2753e9){return _0x20e58c!=_0x2753e9;},'jXADk':'cjs','QePzF':_0x28e35b(0x283),'Fqcha':_0x28e35b(0x1d4),'HzKsP':'rerunTests','OKGYG':function(_0x128270,_0x3c28d0,_0x3f5e5){return _0x128270(_0x3c28d0,_0x3f5e5);},'zWDTJ':_0x28e35b(0x233),'jSiMf':_0x28e35b(0x262),'lIwYL':_0x28e35b(0x299),'TzwTi':_0x28e35b(0x2dd),'DgfEw':_0x28e35b(0x1de),'wTdvk':'Now,\x20showing\x20logs\x20from\x20mocha','gbdts':function(_0x4489c9,_0x47f42e){return _0x4489c9*_0x47f42e;},'uShYS':function(_0x2b7a9d,_0x46538c){return _0x2b7a9d!==_0x46538c;}};helper['setUserConfigPath'](_0x2cbe23['framework'],_0x447e41),process[_0x28e35b(0x1ea)][_0x28e35b(0x29c)]=process[_0x28e35b(0x1ea)][_0x28e35b(0x29c)]||_0x2cbe23['framework']||_0x1e7774[_0x28e35b(0x2bf)],await _0x2cbe23[_0x28e35b(0x1dc)](_0x447e41),CLIUtils[_0x28e35b(0x211)](constants[_0x28e35b(0x203)]['MOCHA'],_0x1e7774[_0x28e35b(0x2a6)]),process[_0x28e35b(0x1ea)][_0x28e35b(0x276)]=JSON['stringify'](_0x1e7774[_0x28e35b(0x2cc)](require,_0x1e7774[_0x28e35b(0x2a4)])['getProductMap'](_0x2cbe23['config']));const _0x364379=BrowserstackCLI[_0x28e35b(0x1e9)]();_0x364379['setBrowserstackConfig'](_0x2cbe23['config'],_0x2cbe23[_0x28e35b(0x2a7)],_0x2cbe23[_0x28e35b(0x1d7)]);_0x364379[_0x28e35b(0x1fc)]()&&await _0x364379[_0x28e35b(0x2db)]();_0x364379[_0x28e35b(0x23a)]&&(process[_0x28e35b(0x1ea)][_0x28e35b(0x2ef)]=_0x364379[_0x28e35b(0x23a)]);try{const _0x50fc7f=helper['nestedKeyValue'](_0x364379[_0x28e35b(0x1e1)](),[_0x1e7774[_0x28e35b(0x25f)],_0x1e7774[_0x28e35b(0x22a)]]);if(BrowserstackCLI['getInstance']()[_0x28e35b(0x2c2)]()&&_0x50fc7f){_0x2cbe23['config'][_0x28e35b(0x255)]=_0x2cbe23[_0x28e35b(0x2e8)]['browserStackLocalOptions']||{};const _0x24a1f4=_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x255)][_0x28e35b(0x2e1)];_0x1e7774[_0x28e35b(0x2ba)](_0x24a1f4,_0x50fc7f)&&(_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x255)][_0x28e35b(0x2e1)]=_0x50fc7f,logger['debug'](_0x28e35b(0x24e)+_0x50fc7f+_0x28e35b(0x1ff)+_0x24a1f4+')'));}}catch(_0x4ac421){logger[_0x28e35b(0x2e5)](_0x28e35b(0x251)+(_0x4ac421&&_0x4ac421['message']));}!BrowserstackCLI['getInstance']()[_0x28e35b(0x2c2)]()&&await _0x2cbe23[_0x28e35b(0x2cf)]();helper[_0x28e35b(0x27a)]()&&await helper[_0x28e35b(0x29f)](_0x2cbe23[_0x28e35b(0x2e8)]);const _0x351e46=[];let _0x4e44f1=[];if(!_0x2cbe23[_0x28e35b(0x2e8)])return;!helper[_0x28e35b(0x236)](_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x287)])&&(process[_0x28e35b(0x1ea)][_0x28e35b(0x208)]=JSON[_0x28e35b(0x23b)](_0x2cbe23[_0x28e35b(0x2e8)]['accessibilityOptions']));try{const _0x166f17=(global['__accessibilityOptions']||{})[_0x1e7774[_0x28e35b(0x25c)]];if(_0x166f17){const _0x53705d=JSON['parse'](process[_0x28e35b(0x1ea)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x53705d[_0x28e35b(0x253)]=_0x166f17,process[_0x28e35b(0x1ea)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x28e35b(0x23b)](_0x53705d);}}catch(_0x1b0b7b){logger[_0x28e35b(0x2e5)](_0x28e35b(0x25a)+(_0x1b0b7b&&_0x1b0b7b[_0x28e35b(0x272)]));}!BrowserstackCLI[_0x28e35b(0x1e9)]()['isRunning']()&&await TestHubHandler[_0x28e35b(0x2d4)](FRAMEWORKS[_0x28e35b(0x282)],_0x2cbe23);_0x1e7774['SThsz'](_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x2b5)],null)&&(process[_0x28e35b(0x1ea)][_0x28e35b(0x28a)]=_0x2cbe23['config'][_0x28e35b(0x2b5)]);!helper['isUndefined'](_0x2cbe23[_0x28e35b(0x2e8)]['accessibility'])&&(process['env'][_0x28e35b(0x252)]=_0x2cbe23['config'][_0x28e35b(0x2ab)]);const {extension:extension=['js',_0x1e7774['jXADk'],_0x1e7774[_0x28e35b(0x27d)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1e7774[_0x28e35b(0x2bd)]]}=_0x447e41,_0x2dbe8c={..._0x447e41};_0x2dbe8c['rootHooks']=null;const _0x374009=_0x2dbe8c;let _0x4d446b,_0x505fea;if(testOpsHelper[_0x28e35b(0x212)]()&&testOpsHelper[_0x28e35b(0x26c)]()){let _0x4a2cc4=process[_0x28e35b(0x1ea)][_0x28e35b(0x1e4)];!helper[_0x28e35b(0x236)](_0x2cbe23['cliConfig'])&&_0x2cbe23['cliConfig'][_0x28e35b(0x269)](_0x1e7774[_0x28e35b(0x2a3)])&&(_0x4a2cc4=_0x2cbe23[_0x28e35b(0x1d7)][_0x28e35b(0x2d0)](_0x1e7774[_0x28e35b(0x2a3)])),_0x505fea=testOpsHelper[_0x28e35b(0x1e0)](_0x4a2cc4);}if(helper['isUndefined'](_0x505fea)){const _0x19f907={};_0x19f907['ignore']=ignore,_0x19f907['extension']=extension,_0x19f907[_0x28e35b(0x1f3)]=file,_0x19f907[_0x28e35b(0x2e0)]=recursive,_0x19f907[_0x28e35b(0x1f2)]=sort,_0x19f907[_0x28e35b(0x29a)]=spec,_0x505fea=_0x1e7774[_0x28e35b(0x2cc)](collectFiles,_0x19f907),_0x1e7774['OKGYG'](nestedKeyValue,_0x505fea,[_0x1e7774[_0x28e35b(0x28d)]])&&(_0x505fea=_0x505fea[_0x28e35b(0x233)]);}const _0xd19d4c=helper[_0x28e35b(0x2c7)](_0x2cbe23[_0x28e35b(0x2e8)]);!helper[_0x28e35b(0x2ae)](_0xd19d4c)&&helper[_0x28e35b(0x2a1)](_0xd19d4c[_0x28e35b(0x1ec)])&&(_0x374009[_0x28e35b(0x207)]=_0xd19d4c[_0x28e35b(0x1ec)]['maxRetries']);if(!helper[_0x28e35b(0x27a)]()){const _0x37fd64=0x1,_0x1dc87b={..._0x374009};_0x1dc87b['spec']=[..._0x505fea],_0x351e46[_0x28e35b(0x230)]({'mochaOpts':_0x1dc87b,'configuration':{'platform':os[_0x28e35b(0x2a5)]()}});if(_0x2cbe23[_0x28e35b(0x2e8)]['accessibility']){const _0x56619b={};_0x56619b['accessibility']=!![];const _0x3e20dd=_0x56619b;_0x1e7774[_0x28e35b(0x268)](_0x2cbe23[_0x28e35b(0x2e8)]['accessibilityOptions'],null)&&(_0x3e20dd[_0x28e35b(0x287)]=_0x2cbe23['config']['accessibilityOptions'],delete _0x3e20dd[_0x28e35b(0x287)][_0x1e7774['jSiMf']],delete _0x3e20dd[_0x28e35b(0x287)][_0x1e7774[_0x28e35b(0x2a2)]],delete _0x3e20dd['accessibilityOptions'][_0x1e7774[_0x28e35b(0x215)]]);const _0x16d748={};_0x16d748[_0x28e35b(0x2c1)]=_0x3e20dd,_0x351e46[0x0][_0x28e35b(0x2dc)]['capability']=_0x16d748;}logger[_0x28e35b(0x2e4)](_0x1e7774[_0x28e35b(0x1f6)]),logger[_0x28e35b(0x2e4)](_0x1e7774['wTdvk']),_0x4d446b=_0x1e7774[_0x28e35b(0x22c)](parallelTestRun,_0x351e46,_0x37fd64,_0x2cbe23)[_0x28e35b(0x23e)](_0x586af1=>{const _0x1d26c7=_0x28e35b;PerformanceTester[_0x1d26c7(0x2af)](PerformanceEvents['SDK_CLEANUP']),_0x1e7774[_0x1d26c7(0x22c)](printStats,_0x586af1,_0x447e41[_0x1d26c7(0x214)],_0x447e41['reporterOptions']||_0x447e41[_0x1e7774[_0x1d26c7(0x238)]]);})['finally'](async()=>{const _0x351dee=_0x28e35b,_0x296d18=_0x1e7774[_0x351dee(0x26f)]['split']('|');let _0x43f98a=0x0;while(!![]){switch(_0x296d18[_0x43f98a++]){case'0':testOpsHelper[_0x351dee(0x2d3)]();continue;case'1':PerformanceTester['start'](PerformanceEvents[_0x351dee(0x217)]);continue;case'2':try{await BrowserstackCLI[_0x351dee(0x1e9)]()[_0x351dee(0x267)]();}catch(_0x174cba){logger[_0x351dee(0x2e5)](_0x351dee(0x2b2)+(_0x174cba&&_0x174cba[_0x351dee(0x272)]));}continue;case'3':try{utilities[_0x351dee(0x260)](_0x1e7774[_0x351dee(0x2c8)],{},_0x2cbe23[_0x351dee(0x2e8)],_0x2cbe23['framework']);}catch(_0x42cf74){logger[_0x351dee(0x2e5)](_0x351dee(0x218)+_0x42cf74[_0x351dee(0x265)]);}continue;case'4':try{helper[_0x351dee(0x231)]();}catch(_0x214c22){logger[_0x351dee(0x2e5)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x214c22);}continue;}break;}});}else{const _0x2c539f=helper[_0x28e35b(0x24d)](_0x2cbe23[_0x28e35b(0x2e8)]);let _0x1715c6=helper['getHubUrl'](_0x2cbe23[_0x28e35b(0x2e8)]);_0x4e44f1=helper[_0x28e35b(0x1fa)](_0x2cbe23[_0x28e35b(0x2e8)],_0x2c539f,constants[_0x28e35b(0x203)][_0x28e35b(0x282)]);helper['getCentralUser']()[_0x28e35b(0x21d)]&&(_0x1715c6=centralScannerConstants[_0x28e35b(0x2da)]);let _0x4369cf;const _0x45d74b=_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x2d5)]||helper[_0x28e35b(0x2c0)](_0x447e41,_0x4dbde6,_0x2cbe23[_0x28e35b(0x2e8)],constants[_0x28e35b(0x203)][_0x28e35b(0x282)])||0x1;helper['validPlatformsPresent'](_0x2cbe23[_0x28e35b(0x2e8)])?_0x4369cf=_0x1e7774[_0x28e35b(0x277)](_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x2bb)]['length'],_0x45d74b):_0x4369cf=_0x45d74b;const _0x30c5ef=_0x1e7774[_0x28e35b(0x2cc)](getPercyOptions,_0x2cbe23[_0x28e35b(0x2e8)]),_0x4064c4=helper[_0x28e35b(0x245)](_0x2cbe23[_0x28e35b(0x2e8)],_0x2c539f,constants['FRAMEWORKS']['MOCHA']);if(_0x1e7774['uShYS'](_0x2cbe23[_0x28e35b(0x2e8)]['parallelsPerPlatform'],0x1))_0x505fea['forEach'](_0x335ff6=>{const _0x5c70a9=_0x28e35b,_0x19f9ec=[];_0x4e44f1['forEach']((_0x3b1b0e,_0x228ede)=>{const _0x304c62=a40_0x5896,_0x2124c8={};_0x2124c8[_0x304c62(0x29a)]=[_0x335ff6],_0x19f9ec[_0x304c62(0x230)]({'mochaOpts':Object[_0x304c62(0x225)]({},_0x374009,_0x2124c8),'configuration':Object['assign']({'server':_0x1715c6,'capability':_0x3b1b0e,'proxySettings':_0x2cbe23[_0x304c62(0x2e8)][_0x304c62(0x263)],'platform':helper[_0x304c62(0x249)](_0x3b1b0e),'browserStackLogLevel':_0x2cbe23[_0x304c62(0x2e8)][_0x304c62(0x20b)],'platformIndex':_0x228ede,'browserStackPercyOptions':_0x30c5ef,'platformCaps':Object[_0x304c62(0x225)]({'index':_0x228ede},_0x2cbe23[_0x304c62(0x2e8)][_0x304c62(0x2bb)][_0x228ede])},_0x4064c4)});}),_0x351e46[_0x5c70a9(0x230)](..._0x19f9ec);});else{const _0x2df93c=[];_0x4e44f1[_0x28e35b(0x22d)]((_0x5d4fe0,_0x39b359)=>{const _0x5a1c8a=_0x28e35b;let _0x2bb79f=Object[_0x5a1c8a(0x225)]({},_0x374009);testOpsHelper[_0x5a1c8a(0x212)]()&&testOpsHelper[_0x5a1c8a(0x26c)]()&&(_0x2bb79f={..._0x2bb79f,'spec':[..._0x505fea]}),_0x2df93c['push']({'mochaOpts':_0x2bb79f,'configuration':Object[_0x5a1c8a(0x225)]({'server':_0x1715c6,'capability':_0x5d4fe0,'proxySettings':_0x2cbe23[_0x5a1c8a(0x2e8)][_0x5a1c8a(0x263)],'platform':helper['getPlatformName'](_0x5d4fe0),'browserStackLogLevel':_0x2cbe23['config'][_0x5a1c8a(0x20b)],'platformIndex':_0x39b359,'browserStackPercyOptions':_0x30c5ef,'platformCaps':Object[_0x5a1c8a(0x225)]({'index':_0x39b359},_0x2cbe23[_0x5a1c8a(0x2e8)][_0x5a1c8a(0x2bb)][_0x39b359])},_0x4064c4)});}),_0x351e46['push'](..._0x2df93c);}logger[_0x28e35b(0x2e4)](_0x28e35b(0x2e9)+_0x2cbe23[_0x28e35b(0x2e8)][_0x28e35b(0x2bb)][_0x28e35b(0x23d)]+_0x28e35b(0x229)),logger[_0x28e35b(0x2e4)](_0x1e7774[_0x28e35b(0x264)]);let _0x3e31ca;_0x4d446b=_0x1e7774[_0x28e35b(0x22c)](parallelTestRun,_0x351e46,_0x4369cf,_0x2cbe23)['then'](_0x27c804=>{const _0x19b76e=_0x28e35b;PerformanceTester[_0x19b76e(0x2af)](PerformanceEvents['SDK_CLEANUP']),_0x3e31ca=_0x27c804,_0x1e7774[_0x19b76e(0x22c)](printStats,_0x27c804,_0x447e41['reporter'],_0x447e41['reporterOptions']||_0x447e41[_0x1e7774['jYBrp']]);})[_0x28e35b(0x210)](async()=>{const _0x50f5aa=_0x28e35b,_0x275da9=_0x1e7774[_0x50f5aa(0x290)][_0x50f5aa(0x1f7)]('|');let _0x169b54=0x0;while(!![]){switch(_0x275da9[_0x169b54++]){case'0':try{await BrowserstackCLI[_0x50f5aa(0x1e9)]()[_0x50f5aa(0x267)]();}catch(_0x332e5a){logger[_0x50f5aa(0x2e5)](_0x50f5aa(0x2b2)+(_0x332e5a&&_0x332e5a[_0x50f5aa(0x272)]));}continue;case'1':PerformanceTester[_0x50f5aa(0x2af)](PerformanceEvents['SDK_CLEANUP']);continue;case'2':_0x2cbe23[_0x50f5aa(0x226)]=helper[_0x50f5aa(0x25d)](_0x3e31ca,_0x1e7774[_0x50f5aa(0x2bf)]);continue;case'3':testOpsHelper[_0x50f5aa(0x2d3)]();continue;case'4':await utilities[_0x50f5aa(0x2b9)](_0x2cbe23);continue;}break;}});}return _0x4d446b;}module[a40_0x4b53a7(0x2e6)]=run;
|
|
2
|
+
'use strict';function a40_0x1e99(){const _0x2c3f40=['oDpZA','gJtns','izVAy','fDgxl','useW3C','getProductMap','totalTests','title','Setting\x20non\x20exit\x20code\x20for\x20failures','MOCHA','hasOwnProperty','jgfrz','MWQNu','hWuaW','Printing\x20stats\x20of\x20tests','message','fullTitle','state','errorMessage','exitCode','consoleLog','Unable\x20to\x20sync\x20the\x20localIdentifier\x20from\x20the\x20binary\x20response:\x20','qHpCn','90FxBRtI','ntijd','KMQxk','RWRQQ','browserstack.accessibilityOptions.scannerVersion','getCentralUser','jfCdc','vGArh','parallelsPerPlatform','Running\x20your\x20mocha\x20tests\x20across\x20','LoxTR','reporterOptions','Mocha\x20Tests','Tests:\x20\x20\x20\x20\x20\x20\x20','min','debug','getPlatformName','bgBlueBright','isUndefined','GMVob','extension','../utils/clientTroubleshootingService','SlQhZ','2026948liJydi','stack','lqJHF','PwFyH','config','Coaub','suiteName','192ftuanm','jLYzw','shouldReRunObservabilityTests','failures','cUDSp','keys','../../helpers/testhub/testhubHandler','rootHooks','nestedKeyValue','sort','iVsbx','getConfig','28325319kICOZe','getOwnPropertyNames','ZBZwt','mocha','xQOko','bgRedBright','getHubUrl','cjs','cliConfig','knlPJ','\x0a\x0a\x0a','then','ZomRi','files','wWuwu','actual','reporter-option','mocha/lib/reporters/base.js','talGr','EwfEC','expected','Cxhld','30868izdEev','yiyJT','JHpNN','launchBuild','stringify','GLFKA','testObservability','FRAMEWORKS','Couldn\x27t\x20write\x20json\x20result\x20to','SDKTestSuccessful','info','BROWSERSTACK_GRR_US_HUB_URL','handleApp','MiQfA','3340715nFNXhk','../../helpers/helper','30BuAGTM','json','BROWSERSTACK_TEST_OBSERVABILITY_YML','ELYsP','cfdcn','FtfLT','binSessionId','recursive','results','\x20failed','</testsuite>','utqTP','prototype','YOxbN','../v2/browserstackCLI','titlePath','testsPassed','exports','EVENTS','\x20total','xunit','Running\x20your\x20mocha\x20tests','BROWSERSTACK_FRAMEWORK','PzmYl','lEPSe','red','push','wcbHV','getInstance','****\x20FAILURES\x20****','spec','RxMez','isTestObservabilitySession','configPath','../../helpers/logger','OaiUN','duration','green','bold','SUyab','hhFzF','Hkmci','platform','1|4|0|2|3','gIZSg','14050472cFvkiH','indexOf','setUserConfigPath','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','localIdentifier','accessibility','testsFailed','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','browserStackLocalOptions','file','log','testsPending','UUEGk','KYRts','welrh','retryTestsOnFailure','scannerVersion','\x20(SDK\x20had\x20','validPlatformsPresent','testsuite','call','KOKnq','setupBrowserstackLocal','selenium-webdriver','emHtY','../../helpers/utilities','has','passed','Wknwz','BROWSERSTACK_TEST_ACCESSIBILITY_YML','retries','speed','Couldn\x27t\x20write\x20xunit\x20result\x20to','finalExecution','logLevel','pgqss','mjs','Writing\x20json\x20result\x20to\x20file','forEach','Total\x20Suites:\x20','maxRetries','output','60swflNj','431660MjBqdU','parseFileNames','list','titlePathV','toUTCString','../../helpers/testhub/utils','skipped','showDiff','useColors','isNotUndefined','notifyUpdate','SDK_CLEANUP','ouQnG','length','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','XsNbd','GxjpT','printBuildLink','size','framework','error','includeEncodedExtension','parse','dDDdi','test','YXkrC','ErebO','HmKGa','VdUAM','bootstrap','failure','join','QPzfh','central_scanner','NSNRc','NAJvL','stop','Now,\x20showing\x20logs\x20from\x20mocha','getUserWorkerCount','44678AzDBLt','isRunning','Exception\x20stopping\x20the\x20CLI\x20after\x20the\x20mocha\x20run:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','vxAWD','nNVTe','env','accessibilityOptions','failed','../v2/cliUtils','../../helpers/test-observability/utils','rkEXT','object','assign','capability','getMultiDriverWorkerConfig','../../helpers/performance/constants','reporter','testSuites','enwhA','[local-identifier-sync]\x20adopted\x20the\x20binary\x27s\x20localIdentifier\x20','kuQro','ignore','err','isBrowserstackInfra','wTvvS','get','winstonLogger','WRSOC','mzmon','ushPY','YqMCM','bcJex','JynBM','eOAnf','dyBeS','hMrfr','odPNh','passes','\x20skipped','initialize','pending','Cfpnv','setBrowserstackConfig','gEGNk','hideDiff','cJCRm','VCXgu','FHpGb','start','currentRetry','huUhF','suite','OyveC','testcase','proxySettings','fsEkC','mocha/lib/cli/collect-files.js','\x20passed','../test-runner','qFhJt','waKqs','platforms','../../helpers/percy/utils','isCliEnabled','ZXazu','finally','bApSp','NPXgD','yellow','writeFileSync','split','IDCWU','__accessibilityOptions','add','parseTestOrchestrationOptions','chalk','iPAfd','bOrsV','CDfTj','sLPzd','IRXSR'];a40_0x1e99=function(){return _0x2c3f40;};return a40_0x1e99();}function a40_0x4a48(_0x1004a4,_0x362354){const _0x1e99e6=a40_0x1e99();return a40_0x4a48=function(_0x4a4825,_0x18df82){_0x4a4825=_0x4a4825-0x119;let _0x2c3514=_0x1e99e6[_0x4a4825];return _0x2c3514;},a40_0x4a48(_0x1004a4,_0x362354);}const a40_0x3446fb=a40_0x4a48;(function(_0x4e75ed,_0x3afc45){const _0x5021c3=a40_0x4a48,_0x223922=_0x4e75ed();while(!![]){try{const _0x2abaf9=-parseInt(_0x5021c3(0x120))/0x1*(parseInt(_0x5021c3(0x148))/0x2)+parseInt(_0x5021c3(0x1cf))/0x3*(parseInt(_0x5021c3(0x1f1))/0x4)+parseInt(_0x5021c3(0x1ff))/0x5+parseInt(_0x5021c3(0x201))/0x6*(parseInt(_0x5021c3(0x1c8))/0x7)+parseInt(_0x5021c3(0x22e))/0x8+-parseInt(_0x5021c3(0x1b1))/0x9*(-parseInt(_0x5021c3(0x121))/0xa)+-parseInt(_0x5021c3(0x1db))/0xb;if(_0x2abaf9===_0x3afc45)break;else _0x223922['push'](_0x223922['shift']());}catch(_0x581c49){_0x223922['push'](_0x223922['shift']());}}}(a40_0x1e99,0xd7713));const chalk=require(a40_0x3446fb(0x194)),logger=require(a40_0x3446fb(0x223))[a40_0x3446fb(0x163)],helper=require('../../helpers/helper'),utilities=require(a40_0x3446fb(0x247)),testOpsHelper=require(a40_0x3446fb(0x152)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a40_0x3446fb(0x183)),{requireModule,nestedKeyValue}=require(a40_0x3446fb(0x200)),{getPercyOptions}=require(a40_0x3446fb(0x187)),Base=requireModule(a40_0x3446fb(0x1ec),a40_0x3446fb(0x1de)),collectFiles=requireModule(a40_0x3446fb(0x181),a40_0x3446fb(0x1de)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a40_0x3446fb(0x158))[a40_0x3446fb(0x213)],centralScannerConstants=require('../../helpers/central-scanner/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a40_0x3446fb(0x1d5)),BrowserstackCLI=require(a40_0x3446fb(0x20f)),CLIUtils=require(a40_0x3446fb(0x151)),ClientTroubleShootingService=require(a40_0x3446fb(0x1c6));function tag(_0x3b73ac,_0x7acbc8,_0x54d948,_0x2736f8){const _0x55e3be=a40_0x3446fb,_0x7f1400={'lEPSe':function(_0x437e98,_0x346a00){return _0x437e98+_0x346a00;},'YXkrC':function(_0xce5c3d,_0x2a93d7){return _0xce5c3d(_0x2a93d7);},'Qgwcl':function(_0x4b5b9c,_0x58a11f){return _0x4b5b9c+_0x58a11f;},'oDpZA':function(_0x4b9308,_0x43d6c9){return _0x4b9308+_0x43d6c9;}},_0x1ebf0b=_0x54d948?'/>':'>',_0x40721a=[];let _0x4d2a8e;for(const _0x74ba96 in _0x7acbc8){Object[_0x55e3be(0x20d)][_0x55e3be(0x1a4)][_0x55e3be(0x242)](_0x7acbc8,_0x74ba96)&&_0x40721a[_0x55e3be(0x21b)](_0x7f1400[_0x55e3be(0x219)](_0x7f1400[_0x55e3be(0x219)](_0x7f1400[_0x55e3be(0x219)](_0x74ba96,'=\x22'),_0x7f1400[_0x55e3be(0x13a)](escape,_0x7acbc8[_0x74ba96])),'\x22'));}return _0x4d2a8e=_0x7f1400[_0x55e3be(0x219)](_0x7f1400['lEPSe'](_0x7f1400['lEPSe']('<',_0x3b73ac),_0x40721a[_0x55e3be(0x12e)]?_0x7f1400[_0x55e3be(0x219)]('\x20',_0x40721a['join']('\x20')):''),_0x1ebf0b),_0x2736f8&&(_0x4d2a8e+=_0x7f1400['Qgwcl'](_0x7f1400['Qgwcl'](_0x7f1400[_0x55e3be(0x19a)](_0x2736f8,'</'),_0x3b73ac),_0x1ebf0b)),_0x4d2a8e;}let xunitContent='';function xunitWrite(_0x5d1999){xunitContent+=_0x5d1999;}function xunitTest(_0x1d06c1,_0x59c673){const _0x2b6fea=a40_0x3446fb,_0x143669={'wTvvS':function(_0x430814,_0x316b2a){return _0x430814/_0x316b2a;},'KMQxk':function(_0x269cd7,_0x305bfe){return _0x269cd7===_0x305bfe;},'MWQNu':_0x2b6fea(0x150),'QsaUP':function(_0x349e9f,_0x24a359){return _0x349e9f+_0x24a359;},'YOxbN':function(_0xe88fcd,_0x1b0f90){return _0xe88fcd(_0x1b0f90);},'eOAnf':function(_0x5017be,_0x405fd8,_0x3e5f37,_0x5bb6a0,_0x1ec384){return _0x5017be(_0x405fd8,_0x3e5f37,_0x5bb6a0,_0x1ec384);},'OaiUN':_0x2b6fea(0x17e),'LbvXJ':function(_0x37c115,_0x4fbaac,_0x5e1372,_0x4ef724,_0x578c36){return _0x37c115(_0x4fbaac,_0x5e1372,_0x4ef724,_0x578c36);},'yZOqP':_0x2b6fea(0x13f),'cUDSp':function(_0x452b8d,_0x4da8c1){return _0x452b8d+_0x4da8c1;},'ErebO':function(_0x6e5aa7,_0x154c99){return _0x6e5aa7+_0x154c99;},'SlQhZ':function(_0x4f61ff,_0x477ef1){return _0x4f61ff(_0x477ef1);},'gCROO':function(_0x1d2ce1,_0x12a07f){return _0x1d2ce1(_0x12a07f);},'NPXgD':function(_0x4d9970,_0x2406cf,_0x2a652f,_0x523d8a){return _0x4d9970(_0x2406cf,_0x2a652f,_0x523d8a);},'IRXSR':_0x2b6fea(0x127),'talGr':function(_0x1d4945,_0x395d2f){return _0x1d4945(_0x395d2f);},'cJCRm':function(_0x190b68,_0x3392f0,_0x10900a,_0x166521){return _0x190b68(_0x3392f0,_0x10900a,_0x166521);}};Base[_0x2b6fea(0x129)]=![];var _0x53b9cd={'classname':_0x1d06c1[_0x2b6fea(0x1aa)],'name':_0x1d06c1[_0x2b6fea(0x1a1)],'time':_0x143669[_0x2b6fea(0x161)](_0x1d06c1['duration'],0x3e8)||0x0,'platform':_0x59c673};if(_0x143669[_0x2b6fea(0x1b3)](_0x1d06c1[_0x2b6fea(0x1ab)],_0x143669[_0x2b6fea(0x1a6)])){var _0x368706=_0x1d06c1[_0x2b6fea(0x15f)],_0x2bf0f6=!Base[_0x2b6fea(0x175)]&&Base[_0x2b6fea(0x128)](_0x368706)?_0x143669['QsaUP']('\x0a',Base['generateDiff'](_0x368706[_0x2b6fea(0x1ea)],_0x368706[_0x2b6fea(0x1ef)])):'';_0x143669[_0x2b6fea(0x20e)](xunitWrite,_0x143669[_0x2b6fea(0x16a)](tag,_0x143669[_0x2b6fea(0x224)],_0x53b9cd,![],_0x143669['LbvXJ'](tag,_0x143669['yZOqP'],{},![],_0x143669['QsaUP'](_0x143669[_0x2b6fea(0x1d3)](_0x143669[_0x2b6fea(0x13b)](_0x143669[_0x2b6fea(0x1c7)](escape,_0x368706[_0x2b6fea(0x1a9)]),_0x143669['YOxbN'](escape,_0x2bf0f6)),'\x0a'),_0x143669['gCROO'](escape,_0x368706[_0x2b6fea(0x1c9)])))));}else _0x1d06c1['isPending']?_0x143669[_0x2b6fea(0x20e)](xunitWrite,_0x143669['eOAnf'](tag,_0x143669['OaiUN'],_0x53b9cd,![],_0x143669[_0x2b6fea(0x18c)](tag,_0x143669[_0x2b6fea(0x199)],{},!![]))):_0x143669[_0x2b6fea(0x1ed)](xunitWrite,_0x143669[_0x2b6fea(0x176)](tag,_0x143669['OaiUN'],_0x53b9cd,!![]));};function getStats(_0x35689a){const _0x4c656f=a40_0x3446fb,_0x18c3ff={};_0x18c3ff[_0x4c656f(0x119)]=_0x4c656f(0x17c),_0x18c3ff[_0x4c656f(0x16c)]=_0x4c656f(0x249),_0x18c3ff[_0x4c656f(0x205)]=_0x4c656f(0x150),_0x18c3ff['JHpNN']=_0x4c656f(0x209);const _0x40097f=_0x18c3ff,_0x1c3832=Object[_0x4c656f(0x1d4)](_0x35689a);let _0x1b408a=0x0,_0x3855d4=0x0,_0x413e74=0x0,_0x578a6e=0x0;const _0x16f929=new Set();_0x1c3832[_0x4c656f(0x11c)](_0x1aa662=>{const _0x503ccd=_0x4c656f,_0x5567f8={};_0x5567f8[_0x503ccd(0x204)]=_0x40097f[_0x503ccd(0x119)],_0x5567f8['UoBiw']=_0x40097f['hMrfr'],_0x5567f8[_0x503ccd(0x1d9)]=_0x40097f[_0x503ccd(0x205)];const _0x337e47=_0x5567f8;_0x35689a[_0x1aa662][_0x40097f[_0x503ccd(0x1f3)]][_0x503ccd(0x11c)](_0x130d51=>{const _0x48ea8d=_0x503ccd;_0x16f929[_0x48ea8d(0x192)](_0x130d51[_0x337e47[_0x48ea8d(0x204)]]),_0x1b408a++;switch(_0x130d51[_0x48ea8d(0x1ab)]){case _0x337e47['UoBiw']:_0x413e74++;break;case _0x337e47[_0x48ea8d(0x1d9)]:_0x3855d4++;break;default:_0x578a6e++;}});});const _0x420cca={};return _0x420cca[_0x4c656f(0x15a)]=_0x16f929[_0x4c656f(0x133)],_0x420cca['platforms']=_0x1c3832,_0x420cca[_0x4c656f(0x1a0)]=_0x1b408a,_0x420cca[_0x4c656f(0x234)]=_0x3855d4,_0x420cca['testsPassed']=_0x413e74,_0x420cca[_0x4c656f(0x239)]=_0x578a6e,_0x420cca;}function errorJSON(_0x8ae232){const _0x21bfe0=a40_0x3446fb;var _0x50c1d1={};return Object[_0x21bfe0(0x1dc)](_0x8ae232)[_0x21bfe0(0x11c)](function(_0x4d779c){_0x50c1d1[_0x4d779c]=_0x8ae232[_0x4d779c];},_0x8ae232),_0x50c1d1;}function cleanCycles(_0x184ea8){const _0x14216b=a40_0x3446fb,_0x45978c={};_0x45978c[_0x14216b(0x141)]=function(_0x1ad9bd,_0x5dff31){return _0x1ad9bd===_0x5dff31;},_0x45978c['fDgxl']=_0x14216b(0x154),_0x45978c['OyveC']=function(_0x2c4ece,_0x1f7066){return _0x2c4ece!==_0x1f7066;},_0x45978c['XNnqG']=function(_0x56a01b,_0x32d70a){return _0x56a01b+_0x32d70a;};const _0x4d5a13=_0x45978c;var _0x4a0669=[];return JSON[_0x14216b(0x137)](JSON[_0x14216b(0x1f5)](_0x184ea8,function(_0x3af272,_0x468909){const _0x48e017=_0x14216b;if(_0x4d5a13[_0x48e017(0x141)](typeof _0x468909,_0x4d5a13[_0x48e017(0x19d)])&&_0x4d5a13[_0x48e017(0x17d)](_0x468909,null)){if(_0x4d5a13['OyveC'](_0x4a0669[_0x48e017(0x22f)](_0x468909),-0x1))return _0x4d5a13['XNnqG']('',_0x468909);_0x4a0669[_0x48e017(0x21b)](_0x468909);}return _0x468909;}));}function clean(_0x3748c2){const _0x70229f=a40_0x3446fb,_0x46dde0={'NSNRc':function(_0x58c712,_0x11c86e){return _0x58c712 instanceof _0x11c86e;},'sLPzd':function(_0x341dfa,_0x4c9740){return _0x341dfa(_0x4c9740);},'VCXgu':function(_0x483841,_0x5f30f0){return _0x483841(_0x5f30f0);}};var _0x510863=_0x3748c2[_0x70229f(0x15f)]||{};return _0x46dde0[_0x70229f(0x143)](_0x510863,Error)&&(_0x510863=_0x46dde0[_0x70229f(0x198)](errorJSON,_0x510863)),{'title':_0x3748c2[_0x70229f(0x1a1)],'fullTitle':_0x3748c2[_0x70229f(0x1aa)],'file':_0x3748c2[_0x70229f(0x237)],'duration':_0x3748c2[_0x70229f(0x225)],'currentRetry':_0x3748c2[_0x70229f(0x17a)],'speed':_0x3748c2[_0x70229f(0x24d)],'err':_0x46dde0[_0x70229f(0x177)](cleanCycles,_0x510863)};}function printStats(_0x24fa9d,_0x49933d=a40_0x3446fb(0x21f),_0x139744={}){const _0x5c9465=a40_0x3446fb,_0x4b4795={'QVozU':function(_0x555817,_0x5646a5){return _0x555817(_0x5646a5);},'SUyab':function(_0x3d168c,_0x2db116){return _0x3d168c===_0x2db116;},'odPNh':_0x5c9465(0x249),'Hkmci':_0x5c9465(0x16e),'ZBZwt':function(_0x5d6f68,_0x1b2b2d){return _0x5d6f68(_0x1b2b2d);},'PwFyH':_0x5c9465(0x150),'Cxhld':_0x5c9465(0x1d2),'iPAfd':_0x5c9465(0x171),'qFhJt':function(_0x1bf15c,_0x5569fc){return _0x1bf15c(_0x5569fc);},'NAJvL':_0x5c9465(0x209),'jgfrz':function(_0x3deac2,_0x2150b2){return _0x3deac2===_0x2150b2;},'mzmon':function(_0x396fa2,_0x4bb986){return _0x396fa2===_0x4bb986;},'gIZSg':function(_0x1f5efb,_0xd43e89){return _0x1f5efb*_0xd43e89;},'vlDle':function(_0x48689a,_0x4882d9,_0x5250c5){return _0x48689a(_0x4882d9,_0x5250c5);},'JynBM':function(_0x5e2b64,_0x4a76f9){return _0x5e2b64===_0x4a76f9;},'jfCdc':function(_0x7f261c,_0x4881ae){return _0x7f261c>_0x4881ae;},'huUhF':function(_0x4b808c){return _0x4b808c();},'kuQro':function(_0x364cc2,_0x47d3c1){return _0x364cc2===_0x47d3c1;},'hhFzF':'doc','GMVob':function(_0x3d0173,_0x2159e4){return _0x3d0173>_0x2159e4;},'oYsHq':_0x5c9465(0x1a2),'UUEGk':_0x5c9465(0x1a8),'wcbHV':function(_0x2d327b,_0x397a8d){return _0x2d327b+_0x397a8d;},'vxAWD':'Total\x20Platforms:\x20','ushPY':function(_0x5835e5,_0x302bce){return _0x5835e5+_0x302bce;},'FHpGb':_0x5c9465(0x11d),'GxjpT':function(_0x138007,_0xdddf82){return _0x138007+_0xdddf82;},'xQOko':function(_0x5ca9dc,_0x225d8c){return _0x5ca9dc+_0x225d8c;},'nNVTe':_0x5c9465(0x1be),'SPbtg':function(_0x4235da,_0x2c61b4){return _0x4235da>_0x2c61b4;},'utqTP':function(_0x3635bc,_0x1bc282){return _0x3635bc>_0x1bc282;},'zzULl':function(_0xed151b,_0x414fbd){return _0xed151b+_0x414fbd;},'emHtY':function(_0x4c856d,_0xc185ee){return _0x4c856d+_0xc185ee;},'Pomgo':function(_0x28d515,_0x12d458){return _0x28d515+_0x12d458;},'knlPJ':_0x5c9465(0x1e5),'CDfTj':function(_0x427f09,_0x1373b9){return _0x427f09===_0x1373b9;},'KOKnq':_0x5c9465(0x202),'HmKGa':_0x5c9465(0x11b),'qHpCn':_0x5c9465(0x1f9),'VdUAM':_0x5c9465(0x235),'bOrsV':_0x5c9465(0x215),'iXbKo':_0x5c9465(0x1bd),'svtzO':function(_0x4ef45a,_0x5a8b57){return _0x4ef45a||_0x5a8b57;},'DqoUF':function(_0x3a37e8,_0x50028a){return _0x3a37e8(_0x50028a);},'Coaub':function(_0x47c2ca,_0x4958cc,_0x5cac4b,_0x35e265){return _0x47c2ca(_0x4958cc,_0x5cac4b,_0x35e265);},'XsNbd':_0x5c9465(0x241),'hWuaW':function(_0x46859a,_0x7d3367){return _0x46859a-_0x7d3367;},'ybvsK':function(_0x54d3ea,_0x57d45b){return _0x54d3ea/_0x57d45b;},'dyBeS':function(_0x3ebe07,_0x14297d){return _0x3ebe07(_0x14297d);},'YqMCM':_0x5c9465(0x20b),'VFcIj':'Writing\x20xunit\x20result\x20to\x20file','lqJHF':_0x5c9465(0x24e),'ntijd':_0x5c9465(0x12f),'wJzJm':'Listing\x20all\x20the\x20failures','yiyJT':_0x5c9465(0x21e)};if(_0x4b4795[_0x5c9465(0x15d)](_0x49933d,_0x4b4795[_0x5c9465(0x229)]))return;const _0x3010de=0x0,_0x390414=()=>{const _0x4c828b=_0x5c9465;return _0x4b4795['QVozU'](Array,_0x3010de)[_0x4c828b(0x140)]('\x20\x20');},{testSuites:_0x239601,platforms:_0x454dc2,totalTests:_0x334b41,testsFailed:_0x15d705,testsPassed:_0x1c1361,testsPending:_0x47fe60}=_0x4b4795['qFhJt'](getStats,_0x24fa9d);_0x4b4795[_0x5c9465(0x1c4)](_0x15d705,0x0)&&(logger[_0x5c9465(0x1c0)](_0x4b4795['oYsHq']),process[_0x5c9465(0x1ad)]=Math[_0x5c9465(0x1bf)](_0x15d705,0xff));logger[_0x5c9465(0x1c0)](_0x4b4795[_0x5c9465(0x23a)]);const _0x13a864=''+_0x4b4795[_0x5c9465(0x21c)](chalk[_0x5c9465(0x227)](_0x4b4795[_0x5c9465(0x14c)]),_0x454dc2[_0x5c9465(0x12e)]),_0x15d6a6=''+_0x4b4795[_0x5c9465(0x166)](chalk[_0x5c9465(0x227)](_0x4b4795[_0x5c9465(0x178)]),_0x239601),_0x28cfc7=''+_0x4b4795[_0x5c9465(0x131)](_0x4b4795['GxjpT'](_0x4b4795['xQOko'](chalk['bold'](_0x4b4795[_0x5c9465(0x14d)]),_0x4b4795[_0x5c9465(0x1b7)](_0x15d705,0x0)?chalk[_0x5c9465(0x227)][_0x5c9465(0x21a)](_0x15d705+_0x5c9465(0x20a))+',\x20':''),_0x4b4795['SPbtg'](_0x47fe60,0x0)?chalk[_0x5c9465(0x227)][_0x5c9465(0x18d)](_0x47fe60+_0x5c9465(0x16f))+',\x20':''),_0x4b4795[_0x5c9465(0x20c)](_0x1c1361,0x0)?chalk['bold'][_0x5c9465(0x226)](_0x1c1361+_0x5c9465(0x182))+',\x20':'')+_0x334b41+_0x5c9465(0x214);console[_0x5c9465(0x238)](_0x4b4795[_0x5c9465(0x166)](_0x4b4795[_0x5c9465(0x1df)](_0x4b4795['zzULl'](_0x4b4795[_0x5c9465(0x246)](_0x4b4795['Pomgo'](_0x4b4795[_0x5c9465(0x1e4)],_0x13a864),'\x0a'),_0x15d6a6),'\x0a'),_0x28cfc7));if(_0x4b4795[_0x5c9465(0x197)](_0x49933d,_0x4b4795[_0x5c9465(0x243)])){const _0x3c8587={},_0x6a6d1c={};_0x6a6d1c[_0x5c9465(0x15a)]=_0x239601,_0x6a6d1c[_0x5c9465(0x186)]=_0x454dc2,_0x6a6d1c[_0x5c9465(0x234)]=_0x15d705,_0x6a6d1c[_0x5c9465(0x211)]=_0x1c1361,_0x6a6d1c[_0x5c9465(0x239)]=_0x47fe60,_0x3c8587['stats']=_0x6a6d1c,_0x454dc2[_0x5c9465(0x11c)](_0x137508=>{const _0x29c958=_0x5c9465,_0x4918bd={'bApSp':function(_0x570932,_0xb22968){return _0x4b4795['SUyab'](_0x570932,_0xb22968);},'nNcgF':_0x4b4795[_0x29c958(0x16d)],'uJzsf':_0x4b4795[_0x29c958(0x22a)],'KYRts':function(_0x4d00d7,_0x46066b){const _0x6b48dd=_0x29c958;return _0x4b4795[_0x6b48dd(0x1dd)](_0x4d00d7,_0x46066b);},'ZomRi':_0x4b4795[_0x29c958(0x1cb)],'jEUjh':_0x4b4795[_0x29c958(0x1f0)],'GLFKA':_0x4b4795[_0x29c958(0x195)],'aPQvS':function(_0x2f7f19,_0xa2af94){const _0x3c1e08=_0x29c958;return _0x4b4795[_0x3c1e08(0x184)](_0x2f7f19,_0xa2af94);}};_0x3c8587[_0x137508]={'pending':[],'failures':[],'passes':[],'tests':_0x24fa9d[_0x137508][_0x4b4795[_0x29c958(0x144)]]['map'](clean)},_0x24fa9d[_0x137508][_0x4b4795[_0x29c958(0x144)]]['forEach'](_0x1996bd=>{const _0x393865=_0x29c958;if(_0x4918bd[_0x393865(0x18b)](_0x1996bd['state'],_0x4918bd['nNcgF']))_0x3c8587[_0x137508][_0x4918bd['uJzsf']][_0x393865(0x21b)](_0x4918bd[_0x393865(0x23b)](clean,_0x1996bd));else _0x4918bd[_0x393865(0x18b)](_0x1996bd['state'],_0x4918bd[_0x393865(0x1e7)])?_0x3c8587[_0x137508][_0x4918bd['jEUjh']][_0x393865(0x21b)](_0x4918bd['KYRts'](clean,_0x1996bd)):_0x3c8587[_0x137508][_0x4918bd[_0x393865(0x1f6)]][_0x393865(0x21b)](_0x4918bd['aPQvS'](clean,_0x1996bd));});});if(_0x139744[_0x5c9465(0x11f)])try{logger['debug'](_0x4b4795[_0x5c9465(0x13c)],_0x139744[_0x5c9465(0x11f)]),fs['writeFileSync'](_0x139744['output'],JSON[_0x5c9465(0x1f5)](_0x3c8587,null,0x3));}catch(_0x348473){logger[_0x5c9465(0x135)](_0x4b4795[_0x5c9465(0x1b0)],_0x139744[_0x5c9465(0x11f)]),logger[_0x5c9465(0x1c0)](_0x348473);}else logger['debug'](_0x4b4795[_0x5c9465(0x13d)]),console[_0x5c9465(0x238)](JSON[_0x5c9465(0x1f5)](_0x3c8587,null,0x3));}else{if(_0x4b4795[_0x5c9465(0x1a5)](_0x49933d,_0x4b4795[_0x5c9465(0x196)])){let _0xf87972;const _0xd2216e=_0x4b4795['iXbKo'];_0x139744&&(_0xf87972=_0x139744[_0x5c9465(0x1ce)]);_0xf87972=_0x4b4795['svtzO'](_0xf87972,_0xd2216e);let _0x1933a2=0x0,_0x32dcf8=0x0,_0x3ed876=0x0,_0x46cb80=0x0;_0x454dc2[_0x5c9465(0x11c)](_0x1e87cc=>{const _0x9e987c=_0x5c9465,_0xdb78ad={'ZXazu':function(_0x5f379a,_0x183849){const _0x1429b6=a40_0x4a48;return _0x4b4795[_0x1429b6(0x1a5)](_0x5f379a,_0x183849);},'IDCWU':_0x4b4795['odPNh'],'bcJex':function(_0x434d42,_0x3eae44){const _0x503468=a40_0x4a48;return _0x4b4795[_0x503468(0x165)](_0x434d42,_0x3eae44);},'RxMez':_0x4b4795['PwFyH'],'MiQfA':function(_0x496988,_0x290448){const _0x52c6ec=a40_0x4a48;return _0x4b4795[_0x52c6ec(0x22d)](_0x496988,_0x290448);}};_0x24fa9d[_0x1e87cc][_0x4b4795[_0x9e987c(0x144)]]['forEach'](_0x1a79c1=>{const _0x55a4aa=_0x9e987c;if(_0xdb78ad[_0x55a4aa(0x189)](_0x1a79c1[_0x55a4aa(0x1ab)],_0xdb78ad[_0x55a4aa(0x190)]))_0x1933a2++;else _0xdb78ad[_0x55a4aa(0x168)](_0x1a79c1[_0x55a4aa(0x1ab)],_0xdb78ad[_0x55a4aa(0x220)])&&_0x32dcf8++;_0x3ed876++,_0x46cb80+=_0xdb78ad[_0x55a4aa(0x1fe)](_0x1a79c1['duration'],0x1);});}),_0x4b4795['DqoUF'](xunitWrite,_0x4b4795[_0x5c9465(0x1cd)](tag,_0x4b4795[_0x5c9465(0x130)],{'name':_0xf87972,'tests':_0x3ed876,'failures':0x0,'errors':_0x32dcf8,'skipped':_0x4b4795[_0x5c9465(0x1a7)](_0x4b4795['hWuaW'](_0x3ed876,_0x32dcf8),_0x1933a2),'timestamp':new Date()[_0x5c9465(0x125)](),'time':_0x4b4795['ybvsK'](_0x46cb80,0x3e8)||0x0},![])),_0x454dc2['forEach'](_0x179bd5=>{const _0x40b0a0=_0x5c9465,_0x467186={'RWRQQ':function(_0x13cd9b,_0x38bc7a,_0x2e91cf){return _0x4b4795['vlDle'](_0x13cd9b,_0x38bc7a,_0x2e91cf);}};_0x24fa9d[_0x179bd5][_0x4b4795['NAJvL']][_0x40b0a0(0x11c)](_0x36ec7a=>{const _0x2383fb=_0x40b0a0;_0x467186[_0x2383fb(0x1b4)](xunitTest,_0x36ec7a,_0x179bd5);});}),_0x4b4795[_0x5c9465(0x16b)](xunitWrite,_0x4b4795[_0x5c9465(0x167)]);if(_0x139744[_0x5c9465(0x11f)])try{logger[_0x5c9465(0x1c0)](_0x4b4795['VFcIj'],_0x139744[_0x5c9465(0x11f)]),fs[_0x5c9465(0x18e)](_0x139744[_0x5c9465(0x11f)],xunitContent);}catch(_0x2e9f10){logger[_0x5c9465(0x135)](_0x4b4795[_0x5c9465(0x1ca)],_0x139744[_0x5c9465(0x11f)]),logger['debug'](_0x2e9f10);}else logger[_0x5c9465(0x1c0)](_0x4b4795[_0x5c9465(0x1b2)]),console[_0x5c9465(0x238)](xunitContent);}else{if(_0x4b4795[_0x5c9465(0x228)](_0x15d705,0x0))return;console[_0x5c9465(0x238)](),logger[_0x5c9465(0x1c0)](_0x4b4795['wJzJm']),console[_0x5c9465(0x238)](chalk[_0x5c9465(0x227)][_0x5c9465(0x1e0)](_0x4b4795[_0x5c9465(0x1f2)])),_0x454dc2[_0x5c9465(0x11c)](_0x35250e=>{const _0x5073ff=_0x5c9465,_0x5e7d54={'tLLmq':function(_0x1a9302,_0x3ffd27){const _0x3d9721=a40_0x4a48;return _0x4b4795[_0x3d9721(0x169)](_0x1a9302,_0x3ffd27);},'UXfaj':_0x4b4795[_0x5073ff(0x1cb)]},_0x575947=[];_0x24fa9d[_0x35250e][_0x4b4795[_0x5073ff(0x144)]]['forEach'](_0x1e37b3=>{const _0x2c7054=_0x5073ff;_0x5e7d54['tLLmq'](_0x1e37b3[_0x2c7054(0x1ab)],_0x5e7d54['UXfaj'])&&(_0x1e37b3[_0x2c7054(0x210)]=()=>_0x1e37b3[_0x2c7054(0x124)],_0x575947[_0x2c7054(0x21b)](_0x1e37b3));}),_0x4b4795[_0x5073ff(0x1b7)](_0x575947[_0x5073ff(0x12e)],0x0)&&(Base['consoleLog'](),Base[_0x5073ff(0x1ae)](_0x4b4795[_0x5073ff(0x17b)](_0x390414),chalk[_0x5073ff(0x227)][_0x5073ff(0x1c2)](_0x35250e)),Base[_0x5073ff(0x123)](_0x575947));});}}}async function run(_0x5d3554,_0x45b999,_0x43b44d){const _0x1e9062=a40_0x3446fb,_0x5f3688={'gEGNk':function(_0x4837c9,_0x18fedd,_0x20f7f7,_0x4e8956){return _0x4837c9(_0x18fedd,_0x20f7f7,_0x4e8956);},'enwhA':_0x1e9062(0x1eb),'Cfpnv':_0x1e9062(0x22c),'brYCY':_0x1e9062(0x1fa),'izVAy':'0|3|4|2|1','rkEXT':'mocha','jLYzw':_0x1e9062(0x245),'FtfLT':function(_0xa18fd0,_0x2630f1){return _0xa18fd0(_0x2630f1);},'waKqs':_0x1e9062(0x126),'dDDdi':_0x1e9062(0x236),'LoxTR':_0x1e9062(0x232),'vGArh':function(_0x1b7043,_0x31ce75){return _0x1b7043!==_0x31ce75;},'bjQSA':_0x1e9062(0x1b5),'yhqEJ':function(_0x430189,_0x27a7ef){return _0x430189!=_0x27a7ef;},'CSNBw':_0x1e9062(0x1e2),'WRSOC':_0x1e9062(0x11a),'gJtns':_0x1e9062(0x139),'qEibL':'rerunTests','EwfEC':function(_0x49feb1,_0x32fc98){return _0x49feb1(_0x32fc98);},'zMTFY':function(_0x5a9219,_0x4969c1,_0x4a45bd){return _0x5a9219(_0x4969c1,_0x4a45bd);},'fsEkC':_0x1e9062(0x1e8),'ouQnG':function(_0x477d59,_0x4be5e9){return _0x477d59!=_0x4be5e9;},'uLmpx':'includeTagsInTestingScope','Wknwz':'excludeTagsInTestingScope','PzmYl':_0x1e9062(0x136),'pILxi':_0x1e9062(0x216),'welrh':_0x1e9062(0x146),'ikCBo':function(_0x193424,_0x30d187){return _0x193424*_0x30d187;},'wWuwu':function(_0x407cea,_0x3f51eb,_0x5af9c3,_0xa640eb){return _0x407cea(_0x3f51eb,_0x5af9c3,_0xa640eb);}};helper[_0x1e9062(0x230)](_0x43b44d[_0x1e9062(0x134)],_0x5d3554),process[_0x1e9062(0x14e)][_0x1e9062(0x217)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x43b44d[_0x1e9062(0x134)]||_0x5f3688[_0x1e9062(0x153)],await _0x43b44d[_0x1e9062(0x170)](_0x5d3554),CLIUtils['setFrameworkDetail'](constants[_0x1e9062(0x1f8)][_0x1e9062(0x1a3)],_0x5f3688[_0x1e9062(0x1d0)]),process[_0x1e9062(0x14e)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x5f3688[_0x1e9062(0x206)](require,_0x5f3688[_0x1e9062(0x185)])[_0x1e9062(0x19f)](_0x43b44d[_0x1e9062(0x1cc)]));const _0x206e04=BrowserstackCLI['getInstance']();_0x206e04[_0x1e9062(0x173)](_0x43b44d[_0x1e9062(0x1cc)],_0x43b44d[_0x1e9062(0x222)],_0x43b44d[_0x1e9062(0x1e3)]);_0x206e04[_0x1e9062(0x188)]()&&await _0x206e04[_0x1e9062(0x13e)]();_0x206e04[_0x1e9062(0x207)]&&(process[_0x1e9062(0x14e)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=_0x206e04['binSessionId']);try{const _0x31d458=helper[_0x1e9062(0x1d7)](_0x206e04[_0x1e9062(0x1da)](),[_0x5f3688[_0x1e9062(0x138)],_0x5f3688[_0x1e9062(0x1bb)]]);if(BrowserstackCLI[_0x1e9062(0x21d)]()[_0x1e9062(0x149)]()&&_0x31d458){_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x236)]=_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x236)]||{};const _0x4470c0=_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x236)]['localIdentifier'];_0x5f3688[_0x1e9062(0x1b8)](_0x4470c0,_0x31d458)&&(_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x236)][_0x1e9062(0x232)]=_0x31d458,logger[_0x1e9062(0x1c0)](_0x1e9062(0x15c)+_0x31d458+_0x1e9062(0x23f)+_0x4470c0+')'));}}catch(_0x1a6cda){logger[_0x1e9062(0x1c0)](_0x1e9062(0x1af)+(_0x1a6cda&&_0x1a6cda['message']));}!BrowserstackCLI['getInstance']()[_0x1e9062(0x149)]()&&await _0x43b44d[_0x1e9062(0x244)]();helper[_0x1e9062(0x160)]()&&await helper[_0x1e9062(0x1fd)](_0x43b44d['config']);const _0x266221=[];let _0x5a6a66=[];if(!_0x43b44d[_0x1e9062(0x1cc)])return;!helper[_0x1e9062(0x1c3)](_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x14f)])&&(process[_0x1e9062(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1e9062(0x1f5)](_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x14f)]));try{const _0x228616=(global[_0x1e9062(0x191)]||{})[_0x5f3688['bjQSA']];if(_0x228616){const _0x3c463c=JSON[_0x1e9062(0x137)](process[_0x1e9062(0x14e)][_0x1e9062(0x14b)]||'{}');_0x3c463c[_0x1e9062(0x23e)]=_0x228616,process[_0x1e9062(0x14e)][_0x1e9062(0x14b)]=JSON[_0x1e9062(0x1f5)](_0x3c463c);}}catch(_0x1dabe7){logger['debug']('Unable\x20to\x20enrich\x20accessibility\x20config\x20from\x20the\x20binary\x20response:\x20'+(_0x1dabe7&&_0x1dabe7['message']));}!BrowserstackCLI[_0x1e9062(0x21d)]()[_0x1e9062(0x149)]()&&await TestHubHandler[_0x1e9062(0x1f4)](FRAMEWORKS[_0x1e9062(0x1a3)],_0x43b44d);_0x5f3688['yhqEJ'](_0x43b44d[_0x1e9062(0x1cc)]['testObservability'],null)&&(process[_0x1e9062(0x14e)][_0x1e9062(0x203)]=_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x1f7)]);!helper[_0x1e9062(0x1c3)](_0x43b44d[_0x1e9062(0x1cc)]['accessibility'])&&(process[_0x1e9062(0x14e)][_0x1e9062(0x24b)]=_0x43b44d['config'][_0x1e9062(0x233)]);const {extension:extension=['js',_0x5f3688['CSNBw'],_0x5f3688[_0x1e9062(0x164)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5f3688[_0x1e9062(0x19b)]]}=_0x5d3554,_0x2e8097={..._0x5d3554};_0x2e8097[_0x1e9062(0x1d6)]=null;const _0x502e2b=_0x2e8097;let _0x2a4201,_0x104244;if(testOpsHelper[_0x1e9062(0x221)]()&&testOpsHelper[_0x1e9062(0x1d1)]()){let _0x16748a=process[_0x1e9062(0x14e)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x1e9062(0x1c3)](_0x43b44d[_0x1e9062(0x1e3)])&&_0x43b44d[_0x1e9062(0x1e3)][_0x1e9062(0x248)](_0x5f3688['qEibL'])&&(_0x16748a=_0x43b44d[_0x1e9062(0x1e3)][_0x1e9062(0x162)](_0x5f3688['qEibL'])),_0x104244=testOpsHelper[_0x1e9062(0x122)](_0x16748a);}if(helper[_0x1e9062(0x1c3)](_0x104244)){const _0x570244={};_0x570244[_0x1e9062(0x15e)]=ignore,_0x570244[_0x1e9062(0x1c5)]=extension,_0x570244[_0x1e9062(0x237)]=file,_0x570244[_0x1e9062(0x208)]=recursive,_0x570244[_0x1e9062(0x1d8)]=sort,_0x570244[_0x1e9062(0x21f)]=spec,_0x104244=_0x5f3688[_0x1e9062(0x1ee)](collectFiles,_0x570244),_0x5f3688['zMTFY'](nestedKeyValue,_0x104244,[_0x5f3688[_0x1e9062(0x180)]])&&(_0x104244=_0x104244[_0x1e9062(0x1e8)]);}const _0x3b0151=helper[_0x1e9062(0x193)](_0x43b44d['config']);!helper['isEmpty'](_0x3b0151)&&helper[_0x1e9062(0x12a)](_0x3b0151[_0x1e9062(0x23d)])&&(_0x502e2b[_0x1e9062(0x24c)]=_0x3b0151[_0x1e9062(0x23d)][_0x1e9062(0x11e)]);if(!helper[_0x1e9062(0x160)]()){const _0xbcb0d5=0x1,_0x4e0492={..._0x502e2b};_0x4e0492['spec']=[..._0x104244],_0x266221[_0x1e9062(0x21b)]({'mochaOpts':_0x4e0492,'configuration':{'platform':os[_0x1e9062(0x22b)]()}});if(_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x233)]){const _0x4836e2={};_0x4836e2[_0x1e9062(0x233)]=!![];const _0x37a19f=_0x4836e2;_0x5f3688[_0x1e9062(0x12d)](_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x14f)],null)&&(_0x37a19f[_0x1e9062(0x14f)]=_0x43b44d['config'][_0x1e9062(0x14f)],delete _0x37a19f['accessibilityOptions'][_0x5f3688['uLmpx']],delete _0x37a19f[_0x1e9062(0x14f)][_0x5f3688[_0x1e9062(0x24a)]],delete _0x37a19f[_0x1e9062(0x14f)][_0x5f3688[_0x1e9062(0x218)]]);const _0x356405={};_0x356405['bstack:options']=_0x37a19f,_0x266221[0x0]['configuration'][_0x1e9062(0x156)]=_0x356405;}logger[_0x1e9062(0x1fb)](_0x5f3688['pILxi']),logger[_0x1e9062(0x1fb)](_0x5f3688[_0x1e9062(0x23c)]),_0x2a4201=_0x5f3688[_0x1e9062(0x174)](parallelTestRun,_0x266221,_0xbcb0d5,_0x43b44d)[_0x1e9062(0x1e6)](_0x2b7b79=>{const _0x264138=_0x1e9062;PerformanceTester[_0x264138(0x179)](PerformanceEvents[_0x264138(0x12c)]),_0x5f3688[_0x264138(0x174)](printStats,_0x2b7b79,_0x5d3554[_0x264138(0x159)],_0x5d3554['reporterOptions']||_0x5d3554[_0x5f3688[_0x264138(0x15b)]]);})[_0x1e9062(0x18a)](async()=>{const _0x1ec5f8=_0x1e9062,_0x2fc871=_0x5f3688[_0x1ec5f8(0x172)][_0x1ec5f8(0x18f)]('|');let _0x3f5a3b=0x0;while(!![]){switch(_0x2fc871[_0x3f5a3b++]){case'0':try{utilities['fireFunnelTestEvent'](_0x5f3688['brYCY'],{},_0x43b44d['config'],_0x43b44d[_0x1ec5f8(0x134)]);}catch(_0x511f25){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x511f25[_0x1ec5f8(0x1c9)]);}continue;case'1':PerformanceTester[_0x1ec5f8(0x179)](PerformanceEvents[_0x1ec5f8(0x12c)]);continue;case'2':try{helper[_0x1ec5f8(0x12b)]();}catch(_0x391f74){logger[_0x1ec5f8(0x1c0)](_0x1ec5f8(0x231)+_0x391f74);}continue;case'3':testOpsHelper[_0x1ec5f8(0x132)]();continue;case'4':try{await BrowserstackCLI[_0x1ec5f8(0x21d)]()[_0x1ec5f8(0x145)]();}catch(_0x5351a1){logger[_0x1ec5f8(0x1c0)](_0x1ec5f8(0x14a)+(_0x5351a1&&_0x5351a1[_0x1ec5f8(0x1a9)]));}continue;}break;}});}else{const _0x3a2bb8=helper[_0x1e9062(0x19e)](_0x43b44d[_0x1e9062(0x1cc)]);let _0xf6ee60=helper[_0x1e9062(0x1e1)](_0x43b44d[_0x1e9062(0x1cc)]);_0x5a6a66=helper['prepareCapabilities'](_0x43b44d[_0x1e9062(0x1cc)],_0x3a2bb8,constants[_0x1e9062(0x1f8)][_0x1e9062(0x1a3)]);helper[_0x1e9062(0x1b6)]()[_0x1e9062(0x142)]&&(_0xf6ee60=centralScannerConstants[_0x1e9062(0x1fc)]);let _0x52540e;const _0x323677=_0x43b44d['config'][_0x1e9062(0x1b9)]||helper[_0x1e9062(0x147)](_0x5d3554,_0x45b999,_0x43b44d[_0x1e9062(0x1cc)],constants[_0x1e9062(0x1f8)][_0x1e9062(0x1a3)])||0x1;helper[_0x1e9062(0x240)](_0x43b44d[_0x1e9062(0x1cc)])?_0x52540e=_0x5f3688['ikCBo'](_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x186)][_0x1e9062(0x12e)],_0x323677):_0x52540e=_0x323677;const _0x276990=_0x5f3688[_0x1e9062(0x1ee)](getPercyOptions,_0x43b44d[_0x1e9062(0x1cc)]),_0x9b2aa6=helper[_0x1e9062(0x157)](_0x43b44d[_0x1e9062(0x1cc)],_0x3a2bb8,constants['FRAMEWORKS'][_0x1e9062(0x1a3)]);if(_0x5f3688[_0x1e9062(0x1b8)](_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x1b9)],0x1))_0x104244[_0x1e9062(0x11c)](_0x21e6bf=>{const _0x4ab3ba=_0x1e9062,_0x378b57=[];_0x5a6a66['forEach']((_0x4d9f28,_0x44e9b4)=>{const _0x340c05=a40_0x4a48,_0x14cc5f={};_0x14cc5f[_0x340c05(0x21f)]=[_0x21e6bf],_0x378b57[_0x340c05(0x21b)]({'mochaOpts':Object[_0x340c05(0x155)]({},_0x502e2b,_0x14cc5f),'configuration':Object[_0x340c05(0x155)]({'server':_0xf6ee60,'capability':_0x4d9f28,'proxySettings':_0x43b44d['config'][_0x340c05(0x17f)],'platform':helper[_0x340c05(0x1c1)](_0x4d9f28),'browserStackLogLevel':_0x43b44d['config'][_0x340c05(0x250)],'platformIndex':_0x44e9b4,'browserStackPercyOptions':_0x276990,'platformCaps':Object['assign']({'index':_0x44e9b4},_0x43b44d[_0x340c05(0x1cc)]['platforms'][_0x44e9b4])},_0x9b2aa6)});}),_0x266221[_0x4ab3ba(0x21b)](..._0x378b57);});else{const _0x294268=[];_0x5a6a66[_0x1e9062(0x11c)]((_0x44c171,_0x3a6760)=>{const _0x11c875=_0x1e9062;let _0x5cdc80=Object[_0x11c875(0x155)]({},_0x502e2b);testOpsHelper[_0x11c875(0x221)]()&&testOpsHelper[_0x11c875(0x1d1)]()&&(_0x5cdc80={..._0x5cdc80,'spec':[..._0x104244]}),_0x294268[_0x11c875(0x21b)]({'mochaOpts':_0x5cdc80,'configuration':Object['assign']({'server':_0xf6ee60,'capability':_0x44c171,'proxySettings':_0x43b44d[_0x11c875(0x1cc)][_0x11c875(0x17f)],'platform':helper[_0x11c875(0x1c1)](_0x44c171),'browserStackLogLevel':_0x43b44d[_0x11c875(0x1cc)][_0x11c875(0x250)],'platformIndex':_0x3a6760,'browserStackPercyOptions':_0x276990,'platformCaps':Object['assign']({'index':_0x3a6760},_0x43b44d['config'][_0x11c875(0x186)][_0x3a6760])},_0x9b2aa6)});}),_0x266221[_0x1e9062(0x21b)](..._0x294268);}logger[_0x1e9062(0x1fb)](_0x1e9062(0x1ba)+_0x43b44d[_0x1e9062(0x1cc)][_0x1e9062(0x186)][_0x1e9062(0x12e)]+'\x20platforms'),logger[_0x1e9062(0x1fb)](_0x5f3688[_0x1e9062(0x23c)]);let _0x41c597;_0x2a4201=_0x5f3688[_0x1e9062(0x1e9)](parallelTestRun,_0x266221,_0x52540e,_0x43b44d)[_0x1e9062(0x1e6)](_0x5d5499=>{const _0x1f8732=_0x1e9062;PerformanceTester[_0x1f8732(0x179)](PerformanceEvents['SDK_CLEANUP']),_0x41c597=_0x5d5499,_0x5f3688[_0x1f8732(0x174)](printStats,_0x5d5499,_0x5d3554[_0x1f8732(0x159)],_0x5d3554[_0x1f8732(0x1bc)]||_0x5d3554[_0x5f3688[_0x1f8732(0x15b)]]);})[_0x1e9062(0x18a)](async()=>{const _0x4e1a7a=_0x1e9062,_0x2244ed=_0x5f3688[_0x4e1a7a(0x19c)][_0x4e1a7a(0x18f)]('|');let _0x8bbdf4=0x0;while(!![]){switch(_0x2244ed[_0x8bbdf4++]){case'0':PerformanceTester[_0x4e1a7a(0x179)](PerformanceEvents[_0x4e1a7a(0x12c)]);continue;case'1':testOpsHelper[_0x4e1a7a(0x132)]();continue;case'2':await utilities[_0x4e1a7a(0x24f)](_0x43b44d);continue;case'3':_0x43b44d[_0x4e1a7a(0x1ac)]=helper['getErrorMessageFromResults'](_0x41c597,_0x5f3688[_0x4e1a7a(0x153)]);continue;case'4':try{await BrowserstackCLI[_0x4e1a7a(0x21d)]()['stop']();}catch(_0x267f00){logger[_0x4e1a7a(0x1c0)](_0x4e1a7a(0x14a)+(_0x267f00&&_0x267f00[_0x4e1a7a(0x1a9)]));}continue;}break;}});}return _0x2a4201;}module[a40_0x3446fb(0x212)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41_0x1e254d=a41_0x3582;(function(_0x34378e,_0x2ad1c2){const _0x777b8a=a41_0x3582,_0x44ca7e=_0x34378e();while(!![]){try{const _0x4c9e05=parseInt(_0x777b8a(0x153))/0x1*(-parseInt(_0x777b8a(0x152))/0x2)+-parseInt(_0x777b8a(0x151))/0x3*(-parseInt(_0x777b8a(0x14d))/0x4)+-parseInt(_0x777b8a(0x146))/0x5+-parseInt(_0x777b8a(0x150))/0x6*(-parseInt(_0x777b8a(0x14a))/0x7)+-parseInt(_0x777b8a(0x14b))/0x8+-parseInt(_0x777b8a(0x14e))/0x9+parseInt(_0x777b8a(0x145))/0xa;if(_0x4c9e05===_0x2ad1c2)break;else _0x44ca7e['push'](_0x44ca7e['shift']());}catch(_0x5ed211){_0x44ca7e['push'](_0x44ca7e['shift']());}}}(a41_0x3d77,0xea62c));const requestSpy=require(a41_0x1e254d(0x147)),constants=require(a41_0x1e254d(0x14c)),{addRequestSpy}=require(a41_0x1e254d(0x148));function a41_0x3582(_0x2f86ba,_0x5748ee){const _0x3d77d6=a41_0x3d77();return a41_0x3582=function(_0x35821f,_0x32a547){_0x35821f=_0x35821f-0x144;let _0x39960a=_0x3d77d6[_0x35821f];return _0x39960a;},a41_0x3582(_0x2f86ba,_0x5748ee);}exports[a41_0x1e254d(0x14f)]={'beforeAll'(){const _0x438ec5=a41_0x1e254d,_0x3e4fdc={'xEvFV':function(_0x510470){return _0x510470();}},_0x200f4b='browserstack internal helper hook';_0x3e4fdc[_0x438ec5(0x149)](addRequestSpy);},'afterAll'(){const _0x2b3efc=a41_0x1e254d,_0x21cddb='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x2b3efc(0x144)]();}};function a41_0x3d77(){const _0x538e3f=['2kNruVl','1913456bmmaJb','restore','28583660XUHSmp','9017580HtSTSd','../../../helpers/request-spy','../../../helpers/test-observability/utils','xEvFV','49jgDdpc','1922808adEEbl','../../../bin/utils/constants','1418428eQUjrp','5155884mJHRbG','mochaHooks','1344048bLZvBY','9ChUZOG'];a41_0x3d77=function(){return _0x538e3f;};return a41_0x3d77();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42_0x4a9de3=a42_0x47e1;function a42_0x4780(){const _0x3d645b=['472440MByztZ','OSuEl','pid','12gswHLn','getPlatform','substring','filter','uuid','ZOECJ','slice','browserstack','sendPlatformDetails','getHookSkippedTests','platformVersion','FlViM','KHTvd','emit','hCuHS','1457035DMyqTE','JDwlm','concat','hookAnalyticsId','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','276572AltqnL','markedStatus','ARGtu','qbfka','../../utils/logPatcher','getTestEnv','hook','xPOIy','24570rlpEbd','qeFXH','kQuIi','zdUMR','2072nmmHEd','getCapabilities','_afterAll','ByiXZ','pending','../../../../package.json','iPXhl','push','206274sAhhkn','jmZKu','_beforeEach','mapTestHooks','TBNKK','../../../helpers/test-observability/utils','getSession','IbDyQ','split','reduce','TEST_PLATFORM','../../../helpers/helper','tests','get','XWFRy','_afterEach','ZzKrg','../../../helpers/testhub/utils','\x20reported\x20against\x20run=','bs:addPlatformDetails:','LNYFQ','SKZeB','tVppi','fFcMF','generic','fyWIJ','indexOf','getHookDetails','parent','lodash','TOjUu','getBrowserName','HugXU','getHooksForTest','__cloud_provider___','toISOString','toJSON','kpCXl','GcDXc','AICEv','ZlPaO','pGiqW','JgkJV','forEach','2452005mwUQTE','map_','state','jpAYh','cOyzT','../../../helpers/test-observability/constants','7819KVPUZE'];a42_0x4780=function(){return _0x3d645b;};return a42_0x4780();}(function(_0x76c87c,_0x5c9c1a){const _0x3bb6b8=a42_0x47e1,_0x47a2bf=_0x76c87c();while(!![]){try{const _0x2e1088=parseInt(_0x3bb6b8(0x21b))/0x1+-parseInt(_0x3bb6b8(0x20f))/0x2+-parseInt(_0x3bb6b8(0x1f3))/0x3*(parseInt(_0x3bb6b8(0x207))/0x4)+parseInt(_0x3bb6b8(0x202))/0x5+-parseInt(_0x3bb6b8(0x1f0))/0x6+-parseInt(_0x3bb6b8(0x1ef))/0x7*(-parseInt(_0x3bb6b8(0x213))/0x8)+-parseInt(_0x3bb6b8(0x247))/0x9;if(_0x2e1088===_0x5c9c1a)break;else _0x47a2bf['push'](_0x47a2bf['shift']());}catch(_0x1113b1){_0x47a2bf['push'](_0x47a2bf['shift']());}}}(a42_0x4780,0x23dfe));const {v4:uuidv4}=require(a42_0x4a9de3(0x1f7)),{name,version}=require(a42_0x4a9de3(0x218)),logPatcher=require(a42_0x4a9de3(0x20b)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a42_0x4a9de3(0x24c)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x4a9de3(0x226)),{shouldProcessEventForTesthub}=require(a42_0x4a9de3(0x22c)),{isFunction}=require(a42_0x4a9de3(0x238)),{patchConsoleLogger}=require(a42_0x4a9de3(0x220));function a42_0x47e1(_0x3e6b1f,_0x5ad8d8){const _0x47802b=a42_0x4780();return a42_0x47e1=function(_0x47e162,_0x5c9b4b){_0x47e162=_0x47e162-0x1ef;let _0x275c9d=_0x47802b[_0x47e162];return _0x275c9d;},a42_0x47e1(_0x3e6b1f,_0x5ad8d8);}patchConsoleLogger(),exports[a42_0x4a9de3(0x20c)]=()=>{const _0x1200fa=a42_0x4a9de3,_0x273cbb={'ZOECJ':_0x1200fa(0x233),'KHTvd':function(_0x57dd98){return _0x57dd98();}};return{'ci':_0x273cbb[_0x1200fa(0x1f8)],'key':_0x273cbb[_0x1200fa(0x1ff)](uuidv4),'version':version,'collector':'js-'+name};},exports[a42_0x4a9de3(0x236)]=_0x13a192=>{const _0x3f37dc=a42_0x4a9de3,_0x775d13={};_0x775d13[_0x3f37dc(0x231)]=function(_0x4aa3b4,_0x58b4a0){return _0x4aa3b4!==_0x58b4a0;},_0x775d13['jmZKu']='string',_0x775d13[_0x3f37dc(0x211)]=function(_0x190592,_0x3cf505){return _0x190592!==_0x3cf505;},_0x775d13[_0x3f37dc(0x201)]='hook:',_0x775d13[_0x3f37dc(0x244)]=_0x3f37dc(0x20d);const _0x459373=_0x775d13;if(!_0x13a192||_0x459373['tVppi'](typeof _0x13a192,_0x459373[_0x3f37dc(0x21c)]))return[null,null];if(_0x459373[_0x3f37dc(0x211)](_0x13a192[_0x3f37dc(0x235)](_0x459373[_0x3f37dc(0x201)]),-0x1)){const _0x365837=_0x13a192[_0x3f37dc(0x223)](_0x459373[_0x3f37dc(0x201)]);return[_0x365837[0x0][_0x3f37dc(0x1f9)](0x0,-0x1)['split']('\x22')[0x1],_0x365837[0x1][_0x3f37dc(0x1f5)](0x1)];}else{if(_0x459373[_0x3f37dc(0x211)](_0x13a192['indexOf'](_0x459373['pGiqW']),-0x1)){const _0x51875f=_0x13a192[_0x3f37dc(0x223)](_0x459373[_0x3f37dc(0x244)]);return[_0x51875f[0x0][_0x3f37dc(0x1f9)](0x0,-0x1)['split']('\x22')[0x1],_0x13a192];}}return[null,null];},exports[a42_0x4a9de3(0x23c)]=_0x4bb42e=>{const _0x1731fa=a42_0x4a9de3,_0x2dd1f0={'kpCXl':function(_0x28b5c8,_0x1c0ac1){return _0x28b5c8(_0x1c0ac1);},'xPOIy':'_beforeAll','GcDXc':_0x1731fa(0x215),'IbDyQ':'_beforeEach','fFcMF':_0x1731fa(0x22a)};if(!_0x4bb42e||!_0x4bb42e[_0x1731fa(0x237)])return[];const _0x2e60ba=[];return[_0x2dd1f0[_0x1731fa(0x20e)],_0x2dd1f0[_0x1731fa(0x241)],_0x2dd1f0[_0x1731fa(0x222)],_0x2dd1f0[_0x1731fa(0x232)]][_0x1731fa(0x246)](_0x1114f3=>{const _0x1477e7=_0x1731fa,_0x21c0bc={'ByiXZ':function(_0x21226b,_0x6c051b){const _0x33a8c8=a42_0x47e1;return _0x2dd1f0[_0x33a8c8(0x240)](_0x21226b,_0x6c051b);}},_0x12b7e0=_0x4bb42e['parent'][_0x1114f3]||[];_0x12b7e0[_0x1477e7(0x246)](_0x1360c3=>{const _0x4e8384=_0x1477e7;_0x1360c3[_0x4e8384(0x205)]&&!_0x21c0bc[_0x4e8384(0x216)](isInternalHook,_0x1360c3['fn'])&&_0x2e60ba[_0x4e8384(0x21a)](_0x1360c3[_0x4e8384(0x205)]);});}),[..._0x2e60ba,...exports[_0x1731fa(0x23c)](_0x4bb42e[_0x1731fa(0x237)])];},exports[a42_0x4a9de3(0x21e)]=_0x35df0b=>{const _0x376fa1=a42_0x4a9de3,_0x12829a={'fyWIJ':function(_0x466707){return _0x466707();},'OSuEl':function(_0x1a8f28,_0x17d8ab){return _0x1a8f28===_0x17d8ab;},'AICEv':_0x376fa1(0x22a),'hsHGV':'_beforeAll','ZlPaO':_0x376fa1(0x215),'ZzKrg':_0x376fa1(0x21d)};if(!_0x35df0b||!_0x35df0b['parent'])return;[_0x12829a['hsHGV'],_0x12829a[_0x376fa1(0x243)],_0x12829a[_0x376fa1(0x22b)],_0x12829a[_0x376fa1(0x242)]]['forEach'](_0x94adf4=>{const _0x3e575c=_0x376fa1,_0x5cea00={'qeFXH':function(_0x5708fd){const _0x211cbf=a42_0x47e1;return _0x12829a[_0x211cbf(0x234)](_0x5708fd);},'FlViM':function(_0x5cc77f,_0x93d428){const _0x456136=a42_0x47e1;return _0x12829a[_0x456136(0x1f1)](_0x5cc77f,_0x93d428);},'qbfka':_0x12829a[_0x3e575c(0x242)]},_0x21852f=_0x35df0b['parent'][_0x94adf4]||[];_0x21852f[_0x3e575c(0x246)](_0x52fcb0=>{const _0x2ac791=_0x3e575c;if(!_0x52fcb0[_0x2ac791(0x205)])_0x52fcb0[_0x2ac791(0x205)]=_0x5cea00[_0x2ac791(0x210)](uuidv4);else _0x52fcb0[_0x2ac791(0x208)]&&_0x5cea00[_0x2ac791(0x1fe)](_0x94adf4,_0x5cea00[_0x2ac791(0x20a)])&&(_0x52fcb0['hookAnalyticsId']=_0x5cea00[_0x2ac791(0x210)](uuidv4),delete _0x52fcb0[_0x2ac791(0x208)]);});}),exports[_0x376fa1(0x21e)](_0x35df0b[_0x376fa1(0x237)]);},exports[a42_0x4a9de3(0x1fb)]=async(_0x272122,_0x508881)=>{const _0x2c9f44=a42_0x4a9de3,_0x76c267={'cOyzT':function(_0x12e3dd){return _0x12e3dd();},'HugXU':_0x2c9f44(0x1fa),'LbgRK':function(_0x4f7f43,_0x3c32f0,_0x2c4f9f){return _0x4f7f43(_0x3c32f0,_0x2c4f9f);},'JDwlm':_0x2c9f44(0x1fd),'iPXhl':function(_0x6db6c8,_0x215292){return _0x6db6c8(_0x215292);},'SKZeB':function(_0x53c807,_0x170739){return _0x53c807===_0x170739;},'TBNKK':'unknown_grid','XWFRy':function(_0x11878f,_0x4e8252){return _0x11878f(_0x4e8252);},'LNYFQ':_0x2c9f44(0x225)};try{if(!_0x76c267[_0x2c9f44(0x24b)](shouldProcessEventForTesthub))return;const _0x2228f8=await _0x272122[_0x2c9f44(0x214)](),_0x37ad6f=await _0x272122[_0x2c9f44(0x221)](),_0x442324={},_0x32b805=Object['fromEntries'](_0x37ad6f['getCapabilities']()[_0x2c9f44(0x248)]),_0x45d355=_0x76c267[_0x2c9f44(0x24b)](isBrowserstackInfra)?_0x76c267[_0x2c9f44(0x23b)]:global[_0x2c9f44(0x23d)],_0x3efc6f={'product':_0x76c267['LbgRK'](getObservabilityLinkedProductName,_0x32b805,_0x45d355),'capabilities':_0x32b805,'platform':_0x2228f8[_0x2c9f44(0x1f4)](),'platform_version':_0x2228f8['get'](_0x76c267[_0x2c9f44(0x203)])?_0x2228f8[_0x2c9f44(0x228)](_0x76c267[_0x2c9f44(0x203)]):_0x76c267[_0x2c9f44(0x219)](getPlatformVersion,_0x76c267[_0x2c9f44(0x230)](_0x45d355,_0x76c267['HugXU'])),'browser':_0x2228f8[_0x2c9f44(0x23a)](),'browser_version':_0x2228f8['getBrowserVersion'](),'session_id':_0x37ad6f[_0x2c9f44(0x23f)]()};return _0x45d355?_0x442324[_0x45d355]=_0x3efc6f:_0x442324[_0x76c267[_0x2c9f44(0x21f)]]=_0x3efc6f,_0x76c267[_0x2c9f44(0x229)](debug,'sendPlatformDetails:\x20session='+JSON['stringify'](_0x3efc6f['session_id'])+_0x2c9f44(0x22d)+_0x508881),process[_0x2c9f44(0x200)](_0x2c9f44(0x22e)+process[_0x2c9f44(0x1f2)],{'timestamp':new Date()[_0x2c9f44(0x23e)](),'level':null,'message':null,'kind':_0x76c267[_0x2c9f44(0x22f)],'http_response':_0x442324,'uuid':_0x508881}),!![];}catch(_0x175cd6){return _0x76c267[_0x2c9f44(0x229)](debug,_0x2c9f44(0x206)+_0x175cd6),![];}},exports[a42_0x4a9de3(0x1fc)]=_0x266f32=>{const _0x3e58d6=a42_0x4a9de3,_0x305793={};_0x305793[_0x3e58d6(0x24a)]=function(_0x47a975,_0x74307c){return _0x47a975!==_0x74307c;},_0x305793['ARGtu']=_0x3e58d6(0x20d),_0x305793['JgkJV']='passed',_0x305793[_0x3e58d6(0x239)]=function(_0x35208a,_0x41dba0){return _0x35208a!==_0x41dba0;},_0x305793['zdUMR']='failed';const _0x1afbf1=_0x305793,_0x3aebde=_0x266f32['suites'][_0x3e58d6(0x224)]((_0x78e437,_0x10c32a)=>{const _0x3ec045=_0x3e58d6,_0xa7e771=exports['getHookSkippedTests'](_0x10c32a);return _0xa7e771&&(_0x78e437=_0x78e437[_0x3ec045(0x204)](_0xa7e771)),_0x78e437;},[]),_0x50d2c7=_0x266f32[_0x3e58d6(0x227)][_0x3e58d6(0x1f6)](_0x2db884=>{const _0x4ff8be=_0x3e58d6,_0x5ef4b1=_0x1afbf1['jpAYh'](_0x2db884['type'],_0x1afbf1[_0x4ff8be(0x209)])&&!_0x2db884[_0x4ff8be(0x208)]&&_0x1afbf1[_0x4ff8be(0x24a)](_0x2db884[_0x4ff8be(0x249)],_0x1afbf1[_0x4ff8be(0x245)])&&_0x1afbf1[_0x4ff8be(0x239)](_0x2db884[_0x4ff8be(0x249)],_0x1afbf1[_0x4ff8be(0x212)])&&!_0x2db884[_0x4ff8be(0x217)];return _0x5ef4b1;});return _0x50d2c7[_0x3e58d6(0x204)](_0x3aebde);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x384a=a43_0x6301;(function(_0x4c2386,_0x471f15){const _0x4b23f4=a43_0x6301,_0x375592=_0x4c2386();while(!![]){try{const _0x59d881=parseInt(_0x4b23f4(0x1e3))/0x1+parseInt(_0x4b23f4(0x198))/0x2+-parseInt(_0x4b23f4(0x178))/0x3+-parseInt(_0x4b23f4(0x1d6))/0x4+-parseInt(_0x4b23f4(0x16e))/0x5+parseInt(_0x4b23f4(0x1a7))/0x6+-parseInt(_0x4b23f4(0x18d))/0x7;if(_0x59d881===_0x471f15)break;else _0x375592['push'](_0x375592['shift']());}catch(_0x529d33){_0x375592['push'](_0x375592['shift']());}}}(a43_0x437c,0xcd7b8));function a43_0x437c(){const _0x72310a=['appium:app','sessionNameSet__','thJwtToken','__error_messages__','\x20-\x20','VoIga','wtVjL','711879OaghLU','SESSION_NAME','__sessionFailed','xUsBZ','../../helpers/accessibility-automation/helper','../../helpers/logger','csdxc','Automate\x20test\x20case\x20execution\x20has\x20started.','WeuAw','EDOyT','percy','titlePath','LzAFa','fKHMc','beforeEach','MevrL','length','start','RHRbf','ENV_VAR','KPkyj','7422940mIeVFT','SDK_HOOK','setGlobal','FmcbL','xpxcJ','session_','Accessibility\x20results\x20saved\x20successfully','bstackA11yScanOptions','https:','LSsPH','SAVE_RESULTS','1569260rJqxBa','heICf','dEzVE','now','IdsXz','Vtrlo','fTefh','kkBkd','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','ZnZxR','__bstackPlatformReported','format','passed','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','GfMef','9356556BEzSbz','NvFYd','wIcxG','AtxjD','thBuildUuid','xOKsu','quitCount_','initQuit','../../helpers/helper','env','Failed\x20to\x20store\x20session\x20name:\x20','xKGsy','cOAgh','mocha','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','eJbcN','vFmFL','sFQXu','DEtKY','NMDKE','HljXW','KvoJf','iIwkN','uOvLy','rPgbC','nNfCz','GucYF','executeScript','WEteH','afterAll','KQwOt','qwxhq','../../helpers/globals','error','iJwJM','debug','HeLrY','Jspbd','./test-observability/mochaUtils','state','mifhh','vzTIb','MNNec','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thTestRunUuid','bstackA11yShouldScan','sFLct','3260224aoBCye','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','afterEach','hROoh','testAnalyticsId','util','XvBNu','performScanWithRetry','winstonLogger','__platformCaps','../../helpers/testhub/constants','measureWrapper','Failed:\x20','1244873LPpMAU','szfLw','installAll','testcase','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','finally','err','ZfACx','message','TarmF','capabilities','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/utils','driverCleanup','AWunI','ERyvn','jMmfN','MWACJ','BROWSERSTACK_TESTHUB_JWT','vVIUF','TgPHo','lYBRh','isAccessibilityPlatform','accessibilityScanStarted','QrgMs','warn','wRgFO','gQgFT','rxOCp','mochaHooks','Accessibility\x20scan\x20completed\x20successfully','shouldScanTestForAccessibility','startMonitoring','then','sessionName','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','lWnaZ','stringify','shift','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','\x22}}','end','ZSetl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','parse','\x20|\x20','kakAM','oSIkF','NxWdn','UDEgx','gdTdp','__bstackOwningRunUuid','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','info','ehKfo','KVsiq','Mocha','../../helpers/driverInitErrorReporter','timeout','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','GEvKN','SYNC','join','index','SESSION_STATUS','__drivers','getGlobal','app','ljlwt','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../../helpers/percy/utils','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','QGROS','__skipSessionName','browserstackTestName','swKMI','currentTest','dvJcw','3172520Xprdvx','iPfnw','../../helpers/performance/constants'];a43_0x437c=function(){return _0x72310a;};return a43_0x437c();}function a43_0x6301(_0x225137,_0x436344){const _0x437ce7=a43_0x437c();return a43_0x6301=function(_0x630128,_0x413764){_0x630128=_0x630128-0x14b;let _0x177407=_0x437ce7[_0x630128];return _0x177407;},a43_0x6301(_0x225137,_0x436344);}const util=require(a43_0x384a(0x1db)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x384a(0x17c)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a43_0x384a(0x166)),{sendPlatformDetails}=require(a43_0x384a(0x1cd)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0x384a(0x1af)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x384a(0x170)),globals=require(a43_0x384a(0x1c7)),logger=require(a43_0x384a(0x17d))[a43_0x384a(0x1de)],{shouldProcessEventForTesthub}=require(a43_0x384a(0x1ef)),testHubConstants=require(a43_0x384a(0x1e0));try{require(a43_0x384a(0x158))[a43_0x384a(0x1e5)](a43_0x384a(0x1b4));}catch(a43_0x2d5780){logger['debug']('driver-init\x20capture\x20install\x20failed:\x20'+(a43_0x2d5780&&a43_0x2d5780[a43_0x384a(0x1eb)]));}exports[a43_0x384a(0x200)]={'beforeAll'(){const _0xc0836c=a43_0x384a,_0x5e3b5c={'sFQXu':function(_0x3ba567,_0x1757ee,_0x181108,_0x238a15){return _0x3ba567(_0x1757ee,_0x181108,_0x238a15);},'AorqR':'failed','rxOCp':_0xc0836c(0x14c),'HljXW':function(_0x5b48fb,_0x1d4255,_0x170614){return _0x5b48fb(_0x1d4255,_0x170614);},'ehKfo':_0xc0836c(0x1a4),'DEtKY':function(_0xc54a4c){return _0xc54a4c();},'TgPHo':function(_0x348b30,_0x548ccf,_0x1c76d2){return _0x348b30(_0x548ccf,_0x1c76d2);},'xKGsy':_0xc0836c(0x15e),'MWACJ':'beforeAll'};PerformanceTester[_0xc0836c(0x203)]();const _0x58c97b='browserstack internal helper hook';PerformanceTester[_0xc0836c(0x1e1)](PerformanceSdkEvents[_0xc0836c(0x18e)],()=>{const _0x447dc0=_0xc0836c,_0x39b8af={'QrKjC':function(_0x275eef,_0x4e44da,_0xf09e0e,_0x56e59a){const _0x2da095=a43_0x6301;return _0x5e3b5c[_0x2da095(0x1b8)](_0x275eef,_0x4e44da,_0xf09e0e,_0x56e59a);},'KPkyj':_0x5e3b5c['AorqR'],'fNCZR':_0x5e3b5c[_0x447dc0(0x1ff)],'fKHMc':function(_0x4a4c83,_0x110109,_0x2f0f97){return _0x5e3b5c['HljXW'](_0x4a4c83,_0x110109,_0x2f0f97);},'QrgMs':_0x5e3b5c[_0x447dc0(0x155)],'lYBRh':function(_0x293aa7){const _0x39f6a7=_0x447dc0;return _0x5e3b5c[_0x39f6a7(0x1b9)](_0x293aa7);},'KVsiq':function(_0x2a7684,_0x29d177,_0x3ec2e8){const _0x5abff9=_0x447dc0;return _0x5e3b5c[_0x5abff9(0x1f7)](_0x2a7684,_0x29d177,_0x3ec2e8);}};global['__error_messages__']=[],global[_0x447dc0(0x17a)]=![],global[_0x447dc0(0x1f0)]=async()=>{const _0x2626f1=_0x447dc0;let _0x4a0bd0=![];try{await global[_0x2626f1(0x160)][0x0]['session_'],_0x4a0bd0=!![],global[_0x2626f1(0x17a)]?await _0x39b8af['QrKjC'](markSessionStatus,global[_0x2626f1(0x160)][0x0],_0x39b8af[_0x2626f1(0x18c)],global['__error_messages__'][_0x2626f1(0x15d)](_0x39b8af['fNCZR'])):await _0x39b8af[_0x2626f1(0x185)](markSessionStatus,global[_0x2626f1(0x160)][0x0],_0x39b8af[_0x2626f1(0x1fb)]);}catch(_0x4797b5){logger[_0x2626f1(0x1ca)](_0x2626f1(0x15a)+_0x4797b5);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x4a0bd0)try{try{if(_0x39b8af[_0x2626f1(0x1f8)](shouldProcessEventForTesthub)){const _0x4e189c=global[_0x2626f1(0x160)][0x0];if(_0x4e189c&&!_0x4e189c[_0x2626f1(0x1a2)]&&_0x4e189c[_0x2626f1(0x152)]){const _0xe1b02d=await _0x39b8af[_0x2626f1(0x156)](sendPlatformDetails,_0x4e189c,_0x4e189c['__bstackOwningRunUuid']);_0xe1b02d&&(_0x4e189c[_0x2626f1(0x1a2)]=!![]);}}}catch(_0x5cd7ab){logger[_0x2626f1(0x1ca)](_0x2626f1(0x206)+_0x5cd7ab);}await global['__drivers'][0x0][_0x2626f1(0x1ae)]();}catch(_0x6f3cd0){logger['debug'](_0x2626f1(0x1b5)+_0x6f3cd0);}};},{'platform':_0x5e3b5c[_0xc0836c(0x1bb)](nestedKeyValue,global['__platformCaps'],[_0x5e3b5c[_0xc0836c(0x1b2)]]),'hookType':_0x5e3b5c[_0xc0836c(0x1f4)]})();},'beforeEach'(_0x52e9ec){const _0x20c71d=a43_0x384a,_0x5f1010={'UDEgx':function(_0x8b8dd2,_0x97d4d7){return _0x8b8dd2>_0x97d4d7;},'WEteH':_0x20c71d(0x175),'vzTIb':function(_0x44f1b8,_0x334f89,_0x376767){return _0x44f1b8(_0x334f89,_0x376767);},'EDOyT':function(_0x202d88,_0x5f102f){return _0x202d88===_0x5f102f;},'LzAFa':_0x20c71d(0x1d4),'rPgbC':_0x20c71d(0x194),'sFLct':function(_0x21e905){return _0x21e905();},'oSIkF':_0x20c71d(0x1f9),'LSsPH':'http:','cCPwy':function(_0x2a2bd0,_0x398fdd){return _0x2a2bd0===_0x398fdd;},'IdsXz':_0x20c71d(0x195),'kkBkd':_0x20c71d(0x1e7),'wtVjL':_0x20c71d(0x17f),'vFmFL':function(_0x43052f){return _0x43052f();},'RHRbf':_0x20c71d(0x16a),'nNfCz':'index','GucYF':_0x20c71d(0x186)};globals[_0x20c71d(0x18f)](_0x5f1010[_0x20c71d(0x18a)],this['currentTest']['titlePath']()[_0x20c71d(0x15d)](_0x5f1010['WEteH'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x20c71d(0x18e)],()=>{const _0x346b23=_0x20c71d,_0x1256ce={'cOAgh':function(_0x52f0b0,_0x239a18){const _0x143d52=a43_0x6301;return _0x5f1010[_0x143d52(0x150)](_0x52f0b0,_0x239a18);},'gQgFT':_0x5f1010[_0x346b23(0x1c3)],'tooWt':function(_0x415792,_0x112198,_0x1c9a61){const _0x498436=_0x346b23;return _0x5f1010[_0x498436(0x1d0)](_0x415792,_0x112198,_0x1c9a61);},'NMDKE':function(_0x3f1629,_0x55fb64){const _0x3b33fc=_0x346b23;return _0x5f1010[_0x3b33fc(0x181)](_0x3f1629,_0x55fb64);},'yISTg':_0x5f1010[_0x346b23(0x184)],'ZfACx':_0x5f1010[_0x346b23(0x1bf)],'GfMef':function(_0x1beaef){const _0xb8987d=_0x346b23;return _0x5f1010[_0xb8987d(0x1d5)](_0x1beaef);},'QGROS':function(_0x41e733,_0x2d27b6){const _0x36e387=_0x346b23;return _0x5f1010[_0x36e387(0x150)](_0x41e733,_0x2d27b6);},'VoIga':_0x5f1010[_0x346b23(0x14e)],'TmYKL':_0x5f1010[_0x346b23(0x196)],'lWnaZ':function(_0x35b6c2,_0x3044c1){return _0x5f1010['cCPwy'](_0x35b6c2,_0x3044c1);},'Jspbd':_0x5f1010[_0x346b23(0x19c)],'eJbcN':_0x5f1010[_0x346b23(0x19f)],'iJwJM':_0x5f1010[_0x346b23(0x177)],'UHtpk':function(_0x1f3ea8){const _0x7e5666=_0x346b23;return _0x5f1010[_0x7e5666(0x1b7)](_0x1f3ea8);}},_0xd8729d='browserstack internal helper hook';new Promise(async _0x3044d9=>{const _0x1bec35=_0x346b23;let _0x3dc43c=!![];try{_0x1256ce[_0x1bec35(0x1b3)](global[_0x1bec35(0x160)][_0x1bec35(0x188)],0x1)&&(await global[_0x1bec35(0x1f0)](),global[_0x1bec35(0x160)]['shift']()),_0x1256ce[_0x1bec35(0x1b3)](global[_0x1bec35(0x160)][0x0][_0x1bec35(0x1ad)],0x0)&&(_0x3dc43c=![],await global[_0x1bec35(0x1f0)]());}catch(_0x56d9bb){logger['debug'](_0x1bec35(0x1b5)+_0x56d9bb);}try{Array['isArray'](global[_0x1bec35(0x160)])&&global['__drivers'][0x0]&&(global[_0x1bec35(0x160)][0x0]['browserstackSessionName']=this[_0x1bec35(0x16c)][_0x1bec35(0x183)]()[_0x1bec35(0x15d)](_0x1256ce[_0x1bec35(0x1fe)])),global['browserstackSessionName']=this['currentTest'][_0x1bec35(0x183)]()['join'](_0x1256ce[_0x1bec35(0x1fe)]);}catch(_0x33f10e){logger[_0x1bec35(0x1ca)](_0x1bec35(0x1b1)+_0x33f10e);}this[_0x1bec35(0x16c)][_0x1bec35(0x202)]=_0x1256ce['tooWt'](shouldScanTestForAccessibility,this[_0x1bec35(0x16c)]['titlePath'](),!![]);let _0x4d934e=!![];try{const _0x7691d4=JSON[_0x1bec35(0x14b)](process['env'][_0x1bec35(0x153)]||'{}');_0x1256ce[_0x1bec35(0x1ba)](_0x7691d4['autoScanning'],![])&&(_0x4d934e=![]);}catch(_0x1c8df2){logger[_0x1bec35(0x1ca)](_0x1bec35(0x165)+_0x1c8df2['message']);}const _0x44ee0b=_0x4d934e&&this['currentTest']['shouldScanTestForAccessibility'];globals['setGlobal'](_0x1256ce['yISTg'],_0x44ee0b),globals[_0x1bec35(0x18f)](_0x1256ce[_0x1bec35(0x1ea)],null),this[_0x1bec35(0x16c)][_0x1bec35(0x1fa)]=this['currentTest'][_0x1bec35(0x202)];if(_0x1256ce[_0x1bec35(0x1a6)](isAccessibilityAutomationSession)&&_0x3dc43c&&Array['isArray'](global[_0x1bec35(0x160)])&&_0x1256ce[_0x1bec35(0x168)](global[_0x1bec35(0x160)][_0x1bec35(0x188)],0x0)&&globals[_0x1bec35(0x161)](_0x1256ce[_0x1bec35(0x176)]))try{const _0x33fd12=await global[_0x1bec35(0x160)][0x0][_0x1bec35(0x192)];if(_0x33fd12){let _0x4bb07f=!![];const _0x1ea966=await global[_0x1bec35(0x160)][0x0]['getCurrentUrl']();let _0xb0d845;try{_0xb0d845=new URL(_0x1ea966),_0x4bb07f=_0x1256ce['NMDKE'](_0xb0d845['protocol'],_0x1256ce['TmYKL'])||_0x1256ce[_0x1bec35(0x208)](_0xb0d845['protocol'],_0x1256ce[_0x1bec35(0x1cc)]);}catch(_0x30fa1e){_0x4bb07f=![];}_0x4bb07f&&(this[_0x1bec35(0x16c)][_0x1bec35(0x202)]&&logger[_0x1bec35(0x154)](_0x1256ce[_0x1bec35(0x1b6)])),this[_0x1bec35(0x16c)][_0x1bec35(0x1fa)]=this[_0x1bec35(0x16c)]['shouldScanTestForAccessibility'],_0x44ee0b&&logger[_0x1bec35(0x154)](_0x1256ce[_0x1bec35(0x1c9)]);}}catch(_0x46bf98){logger[_0x1bec35(0x1c8)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x1bec35(0x1a3)](_0x46bf98));}_0x1256ce[_0x1bec35(0x1a6)](_0x3044d9);})['then'](()=>{_0x1256ce['UHtpk'](_0x52e9ec);});},{'platform':_0x5f1010[_0x20c71d(0x1d0)](nestedKeyValue,global[_0x20c71d(0x1df)],[_0x5f1010[_0x20c71d(0x1c0)]]),'hookType':_0x5f1010[_0x20c71d(0x1c1)]})();},'afterEach'(_0xd0a139){const _0x5dce99=a43_0x384a,_0x59faad={'HeLrY':'\x20-\x20','NxWdn':function(_0x3633d0,_0x2cf12d){return _0x3633d0!==_0x2cf12d;},'gdTdp':_0x5dce99(0x1a4),'GEvKN':function(_0x46a1c3,_0x6e71ef,_0xba21ff){return _0x46a1c3(_0x6e71ef,_0xba21ff);},'dEzVE':function(_0x10f55b,_0x134c98){return _0x10f55b+_0x134c98;},'TarmF':_0x5dce99(0x1e2),'Vtrlo':_0x5dce99(0x1c8),'iPfnw':'Passed','ljlwt':_0x5dce99(0x154),'heICf':function(_0x5f0490,_0x56dc7d){return _0x5f0490>_0x56dc7d;},'fTefh':function(_0x4c8dfb,_0x8d0d7a){return _0x4c8dfb===_0x8d0d7a;},'ERyvn':_0x5dce99(0x1e6),'vVIUF':_0x5dce99(0x171),'KQwOt':function(_0x50d1af,_0x5b560c,_0x27215f,_0x56aa3a){return _0x50d1af(_0x5b560c,_0x27215f,_0x56aa3a);},'AtxjD':_0x5dce99(0x1f9),'wIcxG':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','aojff':_0x5dce99(0x1d4),'xUsBZ':_0x5dce99(0x167),'jMmfN':'afterTest','szfLw':_0x5dce99(0x201),'vGjJw':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','FmcbL':_0x5dce99(0x1d7),'KvoJf':_0x5dce99(0x193),'uDeMu':_0x5dce99(0x207),'qwxhq':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','iIwkN':function(_0x5d5983){return _0x5d5983();},'MevrL':function(_0x51cd41){return _0x51cd41();},'zdRJQ':_0x5dce99(0x1ca),'xOKsu':function(_0x1a579f,_0x24078d){return _0x1a579f>_0x24078d;},'JGFbX':function(_0x4865d8){return _0x4865d8();},'csdxc':_0x5dce99(0x157),'aJJUp':function(_0x1555cd,_0xcc68c5,_0x137fc6){return _0x1555cd(_0xcc68c5,_0x137fc6);},'WeuAw':'index','mifhh':_0x5dce99(0x1d8)},_0x294060='browserstack internal helper hook';this[_0x5dce99(0x159)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59faad[_0x5dce99(0x17e)]]),global[_0x5dce99(0x205)]=this[_0x5dce99(0x16c)][_0x5dce99(0x183)]()['join'](_0x59faad[_0x5dce99(0x1cb)]),PerformanceTester[_0x5dce99(0x1e1)](PerformanceSdkEvents[_0x5dce99(0x18e)],()=>{const _0x41dbfe=_0x5dce99,_0x39801d={'iJVmL':function(_0x540f9e){return _0x59faad['iIwkN'](_0x540f9e);}},_0x3af6eb=async(_0x1d16cd,_0x340d7a)=>{const _0x657e83=a43_0x6301;await global[_0x657e83(0x160)][0x0][_0x657e83(0x1c2)](_0x657e83(0x20f)+_0x1d16cd+',\x22level\x22:\x20\x22'+_0x340d7a+_0x657e83(0x20c));};new Promise(async _0x154bf6=>{const _0x43eda7=a43_0x6301,_0x46bcfe={'dvJcw':_0x59faad[_0x43eda7(0x1cb)],'AWunI':function(_0x20045c,_0x25896c){const _0x5e184a=_0x43eda7;return _0x59faad[_0x5e184a(0x14f)](_0x20045c,_0x25896c);},'MNNec':_0x59faad[_0x43eda7(0x151)],'ZnZxR':function(_0x5b4063,_0x38f6a4,_0x97755a){const _0x32d634=_0x43eda7;return _0x59faad[_0x32d634(0x15b)](_0x5b4063,_0x38f6a4,_0x97755a);},'LoVIx':function(_0x35e94c,_0x6c5f4b){const _0x11efad=_0x43eda7;return _0x59faad[_0x11efad(0x19a)](_0x35e94c,_0x6c5f4b);},'kakAM':_0x59faad[_0x43eda7(0x1ec)],'NvFYd':_0x59faad[_0x43eda7(0x19d)],'hROoh':_0x59faad[_0x43eda7(0x16f)],'LzNzs':_0x59faad[_0x43eda7(0x163)]};try{_0x59faad[_0x43eda7(0x199)](global[_0x43eda7(0x160)]['length'],0x1)&&(await global[_0x43eda7(0x1f0)](),global['__drivers'][_0x43eda7(0x20a)](),global[_0x43eda7(0x174)]=[],global[_0x43eda7(0x17a)]=![]);try{if(global[_0x43eda7(0x182)]&&_0x59faad[_0x43eda7(0x19e)](global['percyCaptureMode'],_0x59faad[_0x43eda7(0x1f2)])&&global[_0x43eda7(0x160)][0x0]){const _0x3d9830=_0x59faad[_0x43eda7(0x199)](global[_0x43eda7(0x1ed)][_0x43eda7(0x188)],0x0)?!!global[_0x43eda7(0x1ed)][0x0][_0x43eda7(0x162)]||!!global[_0x43eda7(0x1ed)][0x0][_0x59faad[_0x43eda7(0x1f6)]]:![],_0x438e64={};_0x438e64[_0x43eda7(0x162)]=_0x3d9830,await _0x59faad[_0x43eda7(0x1c5)](percyAutoCapture,global[_0x43eda7(0x160)][0x0],_0x59faad['ERyvn'],_0x438e64);}}catch(_0x3623fd){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3623fd);}!global[_0x43eda7(0x169)]&&(await PerformanceTester[_0x43eda7(0x1e1)](PerformanceAutEvents[_0x43eda7(0x179)],async()=>{const _0x2bf0d5=_0x43eda7;await global[_0x2bf0d5(0x160)][0x0][_0x2bf0d5(0x1c2)](_0x2bf0d5(0x164)+JSON['stringify'](this[_0x2bf0d5(0x16c)][_0x2bf0d5(0x183)]()[_0x2bf0d5(0x15d)](_0x46bcfe[_0x2bf0d5(0x16d)]))+'}}');})(),global[_0x43eda7(0x160)][0x0][_0x43eda7(0x172)]=!![]),await PerformanceTester[_0x43eda7(0x1e1)](PerformanceAutEvents[_0x43eda7(0x15f)],async()=>{const _0x3e87db=_0x43eda7,_0x9899fa=_0x46bcfe[_0x3e87db(0x1f1)](this[_0x3e87db(0x16c)][_0x3e87db(0x1ce)],_0x46bcfe[_0x3e87db(0x1d1)]);_0x9899fa?(global['__sessionFailed']=!![],global[_0x3e87db(0x174)]['push'](this[_0x3e87db(0x16c)][_0x3e87db(0x1e9)]['message']),await _0x46bcfe[_0x3e87db(0x1a1)](_0x3af6eb,JSON[_0x3e87db(0x209)](_0x46bcfe['LoVIx'](_0x46bcfe[_0x3e87db(0x14d)],this[_0x3e87db(0x16c)][_0x3e87db(0x1e9)][_0x3e87db(0x1eb)])),_0x46bcfe[_0x3e87db(0x1a8)])):await _0x46bcfe[_0x3e87db(0x1a1)](_0x3af6eb,JSON[_0x3e87db(0x209)](_0x46bcfe[_0x3e87db(0x1d9)]),_0x46bcfe['LzNzs']);})();}catch(_0x4a5251){logger[_0x43eda7(0x1ca)](_0x43eda7(0x1a0)+_0x4a5251);}try{if(this[_0x43eda7(0x16c)][_0x43eda7(0x1fa)]&&globals['getGlobal'](_0x59faad[_0x43eda7(0x1aa)])){logger[_0x43eda7(0x154)](_0x59faad[_0x43eda7(0x1a9)]);const _0x50784c={};_0x50784c[_0x43eda7(0x1d3)]=this[_0x43eda7(0x16c)][_0x43eda7(0x1da)],_0x50784c[_0x43eda7(0x1ab)]=process[_0x43eda7(0x1b0)][testHubConstants['ENV_VAR'][_0x43eda7(0x1ee)]],_0x50784c[_0x43eda7(0x173)]=process[_0x43eda7(0x1b0)][testHubConstants[_0x43eda7(0x18b)][_0x43eda7(0x1f5)]];const _0x311f92=_0x50784c;logger[_0x43eda7(0x1ca)](_0x43eda7(0x1d2)+JSON[_0x43eda7(0x209)](_0x311f92));if(globals[_0x43eda7(0x161)](_0x59faad['aojff'])){logger[_0x43eda7(0x1ca)](_0x59faad[_0x43eda7(0x17b)]);const _0x4f5bcb={};_0x4f5bcb['command']=_0x59faad[_0x43eda7(0x1f3)];const _0x758648=await PerformanceTester[_0x43eda7(0x1e1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xd35449=_0x43eda7;return await accessibilityRetryHelper[_0xd35449(0x1dd)](global[_0xd35449(0x160)][0x0],global['browserstackSessionName']);},_0x4f5bcb)();_0x758648?logger[_0x43eda7(0x1ca)](_0x59faad[_0x43eda7(0x1e4)]):logger[_0x43eda7(0x1fc)](_0x59faad['vGjJw']);}else logger[_0x43eda7(0x1ca)](_0x59faad[_0x43eda7(0x190)]);const _0x3b5100=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x43eda7(0x197)],async()=>{return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x311f92);})();_0x3b5100?logger[_0x43eda7(0x1ca)](_0x59faad[_0x43eda7(0x1bc)]):logger[_0x43eda7(0x1fc)](_0x59faad['uDeMu']),logger[_0x43eda7(0x154)](_0x59faad[_0x43eda7(0x1c6)]);}}catch(_0x538743){logger['error'](_0x43eda7(0x1a5)+this['currentTest'][_0x43eda7(0x183)]()+'.\x20Error\x20:',_0x538743);}try{try{if(_0x59faad[_0x43eda7(0x1bd)](shouldProcessEventForTesthub)){const _0x52cfea=global[_0x43eda7(0x160)][0x0];if(_0x52cfea){const _0x2f35b5=await _0x59faad[_0x43eda7(0x15b)](sendPlatformDetails,_0x52cfea,this['currentTest']?this['currentTest']['testAnalyticsId']:null);_0x2f35b5&&(_0x52cfea[_0x43eda7(0x1a2)]=!![]);}if(_0x59faad[_0x43eda7(0x187)](isBrowserstackInfra)){PerformanceTester[_0x43eda7(0x189)](PerformanceO11yEvents[_0x43eda7(0x15c)]);const _0x5bb04f='ObservabilitySync:'+Date[_0x43eda7(0x19b)]();await _0x59faad[_0x43eda7(0x15b)](_0x3af6eb,JSON[_0x43eda7(0x209)](_0x5bb04f),_0x59faad['zdRJQ']),PerformanceTester['end'](PerformanceO11yEvents[_0x43eda7(0x15c)]);}}}catch(_0xb17e86){logger['debug'](_0x43eda7(0x20b)+_0xb17e86),PerformanceTester[_0x43eda7(0x20d)](PerformanceO11yEvents[_0x43eda7(0x15c)],![],_0xb17e86);}_0x59faad[_0x43eda7(0x1ac)](global[_0x43eda7(0x160)][0x0][_0x43eda7(0x1ad)],0x0)&&await global[_0x43eda7(0x1f0)]();}catch(_0x3da7d6){logger[_0x43eda7(0x1ca)](_0x43eda7(0x1b5)+_0x3da7d6);}_0x59faad['JGFbX'](_0x154bf6);})[_0x41dbfe(0x204)](()=>{_0x39801d['iJVmL'](_0xd0a139);});},{'platform':_0x59faad['aJJUp'](nestedKeyValue,global[_0x5dce99(0x1df)],[_0x59faad[_0x5dce99(0x180)]]),'hookType':_0x59faad[_0x5dce99(0x1cf)]})();},'afterAll'(_0x3d3527){const _0x316b69=a43_0x384a,_0x237904={'wRgFO':function(_0x412b4f){return _0x412b4f();},'ZSetl':function(_0x5155f7){return _0x5155f7();},'swKMI':_0x316b69(0x157),'uOvLy':function(_0x2c4422,_0xbf69ba,_0x3cfa2e){return _0x2c4422(_0xbf69ba,_0x3cfa2e);},'XvBNu':_0x316b69(0x15e),'xpxcJ':_0x316b69(0x1c4)},_0x17942a='browserstack internal helper hook';this[_0x316b69(0x159)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x237904[_0x316b69(0x16b)]]),PerformanceTester[_0x316b69(0x1e1)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xda3ce7=_0x316b69;new Promise(async _0x1fcc0f=>{const _0x1b4b0c=a43_0x6301;await global[_0x1b4b0c(0x1f0)](),_0x237904[_0x1b4b0c(0x1fd)](_0x1fcc0f);})[_0xda3ce7(0x204)]()[_0xda3ce7(0x1e8)](()=>{const _0x516395=_0xda3ce7;_0x237904[_0x516395(0x20e)](_0x3d3527);});},{'platform':_0x237904[_0x316b69(0x1be)](nestedKeyValue,global[_0x316b69(0x1df)],[_0x237904[_0x316b69(0x1dc)]]),'hookType':_0x237904[_0x316b69(0x191)]})();}};
|
|
1
|
+
const a43_0x38e4c1=a43_0x2358;function a43_0x43a3(){const _0x4334ed=['bMMEb','ZZxIX','VEOGg','browserstackTestName','isArray','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','\x20-\x20','../../helpers/performance/performance-tester','vrBfW','eCrLS','tKxnM',',\x22level\x22:\x20\x22','__platformCaps','shift','beforeAll','SuEsr','../utils/constants','__bstackOwningRunUuid','xDSia','SYNC','SAVE_RESULTS','TQMLh','mocha','saveAccessibilityResultsWithRetry','16260ZblDGO','ObservabilitySync:','initQuit','parse','118343kLvaxk','executeScript','azvNh','../../helpers/accessibility-automation/helper','naUjW','uYIQr','quitCount_','thTestRunUuid','KnYRP','AVmot','sJtdX','.\x20Error\x20:','protocol','appium:app','DslWu','kWAJl','start','RwLUJ','OYULD','length','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','10736VCZwtN','NAAKf','2160558jCSEJH','HWhHZ','browserstackSessionName','warn','SBEoK','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/constants','azgHI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','startMonitoring','SDK_HOOK','measureWrapper','../../helpers/logger','yHQaf','afterTest','YcTUj','getCurrentUrl','./test-observability/mochaUtils','Mocha','182CdOiQG','capabilities','VqDYa','end','../../helpers/testhub/utils','format','SAyRR','failed','join','IlGpC','ZtHzN','stringify','../../helpers/globals','then','bstackA11yScanOptions','winstonLogger','thBuildUuid','MlfVL','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','bgpOk','BcqqW','info','gpdQo','cTOUZ','installAll','https:','tzCFr','UAILE','command','nlNlz','QlnRW','currentTest','sessionName','afterEach','gmuZh','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ZnwTN','BROWSERSTACK_TESTHUB_JWT','270MOeqPX','now','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','GFyMp','765032UcWOpB','session_','cXbqI','qePyF','../../helpers/performance/constants','timeout','3147360VptUMr','ZHZjJ','JcFUH','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Failed\x20to\x20store\x20session\x20name:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','QMIBy','app','tvbyQ','cdIuh','err','SESSION_STATUS','mochaHooks','quGsy','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','passed','__bstackPlatformReported','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','percy','Automate\x20test\x20case\x20execution\x20has\x20started.','fFval','mXqHo','lJKFu','message','performScanWithRetry','ENV_VAR','TuHOt','debug','dACzs','vDNvg','autoScanning','TvyXL','xcJDn','accessibilityScanStarted','__error_messages__','YWnTD','__sessionFailed','YevKa','index','rKGwz','shouldScanTestForAccessibility','__drivers','sessionNameSet__','driverCleanup','Failed:\x20','3742zNiutR','363lWadWs','push','Accessibility\x20results\x20saved\x20successfully','fOSxZ','titlePath','../../helpers/driverInitErrorReporter','getGlobal','EMOEY','thJwtToken','SIWLS','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Accessibility\x20scan\x20completed\x20successfully','mDKxA','ciXWQ','bstackA11yShouldScan','GcbJg','eHnvT','error','testAnalyticsId','afterAll','setGlobal','Passed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','finally','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'];a43_0x43a3=function(){return _0x4334ed;};return a43_0x43a3();}(function(_0x2bd511,_0x36570e){const _0x537b47=a43_0x2358,_0x4b5010=_0x2bd511();while(!![]){try{const _0x271c82=parseInt(_0x537b47(0xd0))/0x1+-parseInt(_0x537b47(0x15a))/0x2*(parseInt(_0x537b47(0x15b))/0x3)+-parseInt(_0x537b47(0xe5))/0x4*(parseInt(_0x537b47(0x123))/0x5)+-parseInt(_0x537b47(0xcc))/0x6*(parseInt(_0x537b47(0xfb))/0x7)+-parseInt(_0x537b47(0x127))/0x8+parseInt(_0x537b47(0xe7))/0x9+parseInt(_0x537b47(0x12d))/0xa;if(_0x271c82===_0x36570e)break;else _0x4b5010['push'](_0x4b5010['shift']());}catch(_0x535df4){_0x4b5010['push'](_0x4b5010['shift']());}}}(a43_0x43a3,0x2122d));function a43_0x2358(_0x100352,_0x35f136){const _0x43a385=a43_0x43a3();return a43_0x2358=function(_0x23584d,_0x44a717){_0x23584d=_0x23584d-0xb3;let _0x275f0a=_0x43a385[_0x23584d];return _0x275f0a;},a43_0x2358(_0x100352,_0x35f136);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x38e4c1(0xd3)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x38e4c1(0xc4)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a43_0x38e4c1(0xf9)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a43_0x38e4c1(0xbb)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x38e4c1(0x12b)),globals=require(a43_0x38e4c1(0x107)),logger=require(a43_0x38e4c1(0xf4))[a43_0x38e4c1(0x10a)],{shouldProcessEventForTesthub}=require(a43_0x38e4c1(0xff)),testHubConstants=require(a43_0x38e4c1(0xed));try{require(a43_0x38e4c1(0x160))[a43_0x38e4c1(0x114)](a43_0x38e4c1(0xca));}catch(a43_0x3075a9){logger['debug']('driver-init\x20capture\x20install\x20failed:\x20'+(a43_0x3075a9&&a43_0x3075a9[a43_0x38e4c1(0x144)]));}exports[a43_0x38e4c1(0x139)]={'beforeAll'(){const _0x559d8b=a43_0x38e4c1,_0x31a5da={'OYULD':function(_0xc312f4,_0x45a2f5,_0x4c05f9,_0x3faf5b){return _0xc312f4(_0x45a2f5,_0x4c05f9,_0x3faf5b);},'gmuZh':_0x559d8b(0x102),'YcTUj':'\x20|\x20','HWhHZ':function(_0x212775,_0x3b513f,_0x5cd157){return _0x212775(_0x3b513f,_0x5cd157);},'azvNh':'passed','JcFUH':function(_0x32305d){return _0x32305d();},'DslWu':function(_0xf61498,_0x3e902d,_0x2923a7){return _0xf61498(_0x3e902d,_0x2923a7);},'rKGwz':function(_0x425779,_0xa78a8f,_0x2dfac6){return _0x425779(_0xa78a8f,_0x2dfac6);},'hjXSl':'index','lJKFu':_0x559d8b(0xc2)};PerformanceTester[_0x559d8b(0xf1)]();const _0x3b6d23='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x402ac2=_0x559d8b;global[_0x402ac2(0x14f)]=[],global[_0x402ac2(0x151)]=![],global[_0x402ac2(0x158)]=async()=>{const _0x5a658c=_0x402ac2;let _0x31d859=![];try{await global['__drivers'][0x0][_0x5a658c(0x128)],_0x31d859=!![],global[_0x5a658c(0x151)]?await _0x31a5da[_0x5a658c(0xe2)](markSessionStatus,global[_0x5a658c(0x156)][0x0],_0x31a5da[_0x5a658c(0x11e)],global[_0x5a658c(0x14f)][_0x5a658c(0x103)](_0x31a5da[_0x5a658c(0xf7)])):await _0x31a5da[_0x5a658c(0xe8)](markSessionStatus,global[_0x5a658c(0x156)][0x0],_0x31a5da[_0x5a658c(0xd2)]);}catch(_0x1105fe){logger[_0x5a658c(0x148)](_0x5a658c(0xb9)+_0x1105fe);}global[_0x5a658c(0x14f)]=[],global[_0x5a658c(0x151)]=![];if(_0x31d859)try{try{if(_0x31a5da[_0x5a658c(0x12f)](shouldProcessEventForTesthub)){const _0x156458=global[_0x5a658c(0x156)][0x0];if(_0x156458&&!_0x156458[_0x5a658c(0x13d)]&&_0x156458[_0x5a658c(0xc5)]){const _0x57583a=await _0x31a5da[_0x5a658c(0xde)](sendPlatformDetails,_0x156458,_0x156458[_0x5a658c(0xc5)]);_0x57583a&&(_0x156458[_0x5a658c(0x13d)]=!![]);}}}catch(_0xf79185){logger[_0x5a658c(0x148)](_0x5a658c(0x13b)+_0xf79185);}await global['__drivers'][0x0][_0x5a658c(0xce)]();}catch(_0x15a9b2){logger[_0x5a658c(0x148)](_0x5a658c(0x132)+_0x15a9b2);}};},{'platform':_0x31a5da[_0x559d8b(0x154)](nestedKeyValue,global[_0x559d8b(0xc0)],[_0x31a5da['hjXSl']]),'hookType':_0x31a5da[_0x559d8b(0x143)]})();},'beforeEach'(_0x1103aa){const _0x4efb03=a43_0x38e4c1,_0x14f671={'mDKxA':function(_0x2c417d){return _0x2c417d();},'bMMEb':function(_0xa8ad9a,_0x23da27){return _0xa8ad9a>_0x23da27;},'eHnvT':_0x4efb03(0xba),'PiDwZ':function(_0x2486dd,_0x4e4bfe,_0x375397){return _0x2486dd(_0x4e4bfe,_0x375397);},'nlNlz':function(_0x4bc3e7,_0x40081d){return _0x4bc3e7===_0x40081d;},'NOKCw':_0x4efb03(0x16b),'WkdFv':_0x4efb03(0x109),'sJtdX':function(_0x383b86){return _0x383b86();},'GcbJg':function(_0x2a13c9,_0x5b0225){return _0x2a13c9>_0x5b0225;},'cTOUZ':'isAccessibilityPlatform','dcPnP':'http:','quGsy':_0x4efb03(0x115),'fOSxZ':_0x4efb03(0x130),'cdIuh':_0x4efb03(0x140),'cXbqI':_0x4efb03(0xb7),'GFyMp':function(_0x3dd461,_0x3353b4,_0x356b01){return _0x3dd461(_0x3353b4,_0x356b01);},'mXqHo':_0x4efb03(0x153),'SuEsr':'beforeEach'};globals[_0x4efb03(0x171)](_0x14f671[_0x4efb03(0x129)],this['currentTest']['titlePath']()['join'](_0x14f671[_0x4efb03(0x16d)])),PerformanceTester[_0x4efb03(0xf3)](PerformanceSdkEvents[_0x4efb03(0xf2)],()=>{const _0x236baf=_0x4efb03,_0x59b39e={'KnYRP':function(_0x43d100,_0x11b0bf){const _0x11585c=a43_0x2358;return _0x14f671[_0x11585c(0xb4)](_0x43d100,_0x11b0bf);},'ZtHzN':_0x14f671[_0x236baf(0x16d)],'WAKct':function(_0x357ecc,_0x1e75ae,_0x22ca8e){return _0x14f671['PiDwZ'](_0x357ecc,_0x1e75ae,_0x22ca8e);},'fFval':function(_0x48ee5d,_0x30cf35){const _0x56696d=_0x236baf;return _0x14f671[_0x56696d(0x119)](_0x48ee5d,_0x30cf35);},'SBEoK':_0x14f671['NOKCw'],'dACzs':_0x14f671['WkdFv'],'YevKa':function(_0x1a42de){const _0x49313a=_0x236baf;return _0x14f671[_0x49313a(0xda)](_0x1a42de);},'SAyRR':function(_0x9980c5,_0x27298f){const _0x59a2b1=_0x236baf;return _0x14f671[_0x59a2b1(0x16c)](_0x9980c5,_0x27298f);},'azgHI':_0x14f671[_0x236baf(0x113)],'wzehS':_0x14f671['dcPnP'],'xDSia':_0x14f671[_0x236baf(0x13a)],'FUAzi':_0x14f671[_0x236baf(0x15e)],'RwLUJ':_0x14f671[_0x236baf(0x136)]},_0x39e98c='browserstack internal helper hook';new Promise(async _0x5071e1=>{const _0x55ccd=_0x236baf;let _0x11d05e=!![];try{_0x59b39e['KnYRP'](global[_0x55ccd(0x156)][_0x55ccd(0xe3)],0x1)&&(await global[_0x55ccd(0x158)](),global[_0x55ccd(0x156)][_0x55ccd(0xc1)]()),_0x59b39e[_0x55ccd(0xd8)](global[_0x55ccd(0x156)][0x0]['quitCount_'],0x0)&&(_0x11d05e=![],await global[_0x55ccd(0x158)]());}catch(_0x18bfcc){logger[_0x55ccd(0x148)](_0x55ccd(0x132)+_0x18bfcc);}try{Array[_0x55ccd(0xb8)](global[_0x55ccd(0x156)])&&global[_0x55ccd(0x156)][0x0]&&(global[_0x55ccd(0x156)][0x0][_0x55ccd(0xe9)]=this[_0x55ccd(0x11b)][_0x55ccd(0x15f)]()[_0x55ccd(0x103)](_0x59b39e[_0x55ccd(0x105)])),global[_0x55ccd(0xe9)]=this['currentTest']['titlePath']()[_0x55ccd(0x103)](_0x59b39e[_0x55ccd(0x105)]);}catch(_0x43fe33){logger[_0x55ccd(0x148)](_0x55ccd(0x131)+_0x43fe33);}this[_0x55ccd(0x11b)][_0x55ccd(0x155)]=_0x59b39e['WAKct'](shouldScanTestForAccessibility,this[_0x55ccd(0x11b)][_0x55ccd(0x15f)](),!![]);let _0x576c16=!![];try{const _0x46ed6c=JSON[_0x55ccd(0xcf)](process['env'][_0x55ccd(0xef)]||'{}');_0x59b39e[_0x55ccd(0x141)](_0x46ed6c[_0x55ccd(0x14b)],![])&&(_0x576c16=![]);}catch(_0x5d36c3){logger[_0x55ccd(0x148)]('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x5d36c3[_0x55ccd(0x144)]);}const _0xae7bbe=_0x576c16&&this[_0x55ccd(0x11b)][_0x55ccd(0x155)];globals['setGlobal'](_0x59b39e[_0x55ccd(0xeb)],_0xae7bbe),globals[_0x55ccd(0x171)](_0x59b39e[_0x55ccd(0x149)],null),this[_0x55ccd(0x11b)][_0x55ccd(0x14e)]=this[_0x55ccd(0x11b)][_0x55ccd(0x155)];if(_0x59b39e['YevKa'](isAccessibilityAutomationSession)&&_0x11d05e&&Array[_0x55ccd(0xb8)](global[_0x55ccd(0x156)])&&_0x59b39e[_0x55ccd(0x101)](global[_0x55ccd(0x156)][_0x55ccd(0xe3)],0x0)&&globals['getGlobal'](_0x59b39e[_0x55ccd(0xee)]))try{const _0x32a141=await global[_0x55ccd(0x156)][0x0][_0x55ccd(0x128)];if(_0x32a141){let _0x25d9fe=!![];const _0x2f4351=await global[_0x55ccd(0x156)][0x0][_0x55ccd(0xf8)]();let _0x6a80c1;try{_0x6a80c1=new URL(_0x2f4351),_0x25d9fe=_0x59b39e[_0x55ccd(0x141)](_0x6a80c1[_0x55ccd(0xdc)],_0x59b39e['wzehS'])||_0x59b39e[_0x55ccd(0x141)](_0x6a80c1['protocol'],_0x59b39e[_0x55ccd(0xc6)]);}catch(_0x5ad25a){_0x25d9fe=![];}_0x25d9fe&&(this[_0x55ccd(0x11b)]['shouldScanTestForAccessibility']&&logger['info'](_0x59b39e['FUAzi'])),this[_0x55ccd(0x11b)][_0x55ccd(0x14e)]=this[_0x55ccd(0x11b)][_0x55ccd(0x155)],_0xae7bbe&&logger[_0x55ccd(0x111)](_0x59b39e[_0x55ccd(0xe1)]);}}catch(_0x46daec){logger[_0x55ccd(0x16e)](_0x55ccd(0x173)+util[_0x55ccd(0x100)](_0x46daec));}_0x59b39e[_0x55ccd(0x152)](_0x5071e1);})[_0x236baf(0x108)](()=>{const _0x109a2a=_0x236baf;_0x14f671[_0x109a2a(0x169)](_0x1103aa);});},{'platform':_0x14f671[_0x4efb03(0x126)](nestedKeyValue,global[_0x4efb03(0xc0)],[_0x14f671[_0x4efb03(0x142)]]),'hookType':_0x14f671[_0x4efb03(0xc3)]})();},'afterEach'(_0x4caddb){const _0x475178=a43_0x38e4c1,_0x43c318={'TuHOt':function(_0xaccab5,_0x35e08f){return _0xaccab5>_0x35e08f;},'ODTDa':function(_0x2f5b29,_0xbcfb64){return _0x2f5b29===_0xbcfb64;},'TQMLh':'testcase','JUJAV':function(_0x2cff02,_0x264020){return _0x2cff02>_0x264020;},'hkhjd':_0x475178(0xdd),'cRlWi':function(_0x542043,_0x109466,_0x417d8f,_0x2d0e38){return _0x542043(_0x109466,_0x417d8f,_0x2d0e38);},'QMIBy':'isAccessibilityPlatform','qePyF':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','EMOEY':_0x475178(0x16b),'TvyXL':_0x475178(0x11f),'ZnwTN':_0x475178(0xf6),'UAILE':_0x475178(0x168),'ciXWQ':_0x475178(0x165),'VEOGg':_0x475178(0x10d),'tKxnM':_0x475178(0x15d),'Biniz':_0x475178(0x120),'eCrLS':_0x475178(0x13e),'kWAJl':function(_0xc6b6e0){return _0xc6b6e0();},'vrBfW':function(_0x34bdd3,_0x24f911,_0x3fdaeb){return _0x34bdd3(_0x24f911,_0x3fdaeb);},'gaULF':function(_0xf5d90c,_0x594c18,_0x5581b1){return _0xf5d90c(_0x594c18,_0x5581b1);},'AVmot':_0x475178(0x148),'SIWLS':function(_0x1b8e16,_0x47495e){return _0x1b8e16>_0x47495e;},'ZHZjJ':_0x475178(0xba),'BMnlg':function(_0x49d269,_0x21958c){return _0x49d269!==_0x21958c;},'kyjJO':_0x475178(0x13c),'VBtuo':function(_0x47f34a,_0x3f9c1f,_0x401409){return _0x47f34a(_0x3f9c1f,_0x401409);},'tvbyQ':function(_0x59903f,_0x1b9e1d){return _0x59903f+_0x1b9e1d;},'yHQaf':_0x475178(0x159),'SgzIP':_0x475178(0x16e),'bgpOk':_0x475178(0x172),'naUjW':_0x475178(0x111),'VqDYa':'Mocha','uYIQr':function(_0x4e4729,_0x591c5d,_0x513356){return _0x4e4729(_0x591c5d,_0x513356);},'kHvnY':_0x475178(0x153),'NISry':_0x475178(0x11d)},_0x2bd416='browserstack internal helper hook';this[_0x475178(0x12c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x43c318[_0x475178(0xfd)]]),global[_0x475178(0x11c)]=this[_0x475178(0x11b)][_0x475178(0x15f)]()['join'](_0x43c318[_0x475178(0x12e)]),PerformanceTester[_0x475178(0xf3)](PerformanceSdkEvents[_0x475178(0xf2)],()=>{const _0x30ed0d=_0x475178,_0x320988={'tzCFr':_0x43c318[_0x30ed0d(0x12e)],'QlnRW':function(_0x14f9c9,_0x4332a6){return _0x43c318['BMnlg'](_0x14f9c9,_0x4332a6);},'REYme':_0x43c318['kyjJO'],'gpdQo':function(_0x12472b,_0x357f45,_0x3a6d0a){return _0x43c318['VBtuo'](_0x12472b,_0x357f45,_0x3a6d0a);},'BcqqW':function(_0x491b9a,_0x191eaf){const _0x154378=_0x30ed0d;return _0x43c318[_0x154378(0x135)](_0x491b9a,_0x191eaf);},'dPERp':_0x43c318[_0x30ed0d(0xf5)],'IlGpC':_0x43c318['SgzIP'],'vDNvg':_0x43c318[_0x30ed0d(0x10f)],'RdDtj':_0x43c318[_0x30ed0d(0xd4)],'ZZxIX':function(_0x310a3c){const _0x5d73b2=_0x30ed0d;return _0x43c318[_0x5d73b2(0xdf)](_0x310a3c);}},_0x247ff9=async(_0xb00eb0,_0x4e4764)=>{const _0x555991=_0x30ed0d;await global[_0x555991(0x156)][0x0][_0x555991(0xd1)](_0x555991(0x10e)+_0xb00eb0+_0x555991(0xbf)+_0x4e4764+'\x22}}');};new Promise(async _0x4458f8=>{const _0x5cca86=_0x30ed0d;try{_0x43c318[_0x5cca86(0x147)](global[_0x5cca86(0x156)][_0x5cca86(0xe3)],0x1)&&(await global['driverCleanup'](),global[_0x5cca86(0x156)][_0x5cca86(0xc1)](),global[_0x5cca86(0x14f)]=[],global['__sessionFailed']=![]);try{if(global[_0x5cca86(0x13f)]&&_0x43c318['ODTDa'](global['percyCaptureMode'],_0x43c318[_0x5cca86(0xc9)])&&global[_0x5cca86(0x156)][0x0]){const _0x3958fb=_0x43c318['JUJAV'](global[_0x5cca86(0xfc)]['length'],0x0)?!!global['capabilities'][0x0][_0x5cca86(0x134)]||!!global['capabilities'][0x0][_0x43c318['hkhjd']]:![],_0x5e04aa={};_0x5e04aa[_0x5cca86(0x134)]=_0x3958fb,await _0x43c318['cRlWi'](percyAutoCapture,global[_0x5cca86(0x156)][0x0],_0x43c318[_0x5cca86(0xc9)],_0x5e04aa);}}catch(_0x26fb95){logger[_0x5cca86(0x148)](_0x5cca86(0x166)+_0x26fb95);}!global['__skipSessionName']&&(await PerformanceTester[_0x5cca86(0xf3)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x5cbcae=_0x5cca86;await global['__drivers'][0x0][_0x5cbcae(0xd1)](_0x5cbcae(0xe4)+JSON[_0x5cbcae(0x106)](this[_0x5cbcae(0x11b)][_0x5cbcae(0x15f)]()[_0x5cbcae(0x103)](_0x320988[_0x5cbcae(0x116)]))+'}}');})(),global[_0x5cca86(0x156)][0x0][_0x5cca86(0x157)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5cca86(0x138)],async()=>{const _0x4688b4=_0x5cca86,_0x3356a7=_0x320988[_0x4688b4(0x11a)](this[_0x4688b4(0x11b)]['state'],_0x320988['REYme']);_0x3356a7?(global[_0x4688b4(0x151)]=!![],global[_0x4688b4(0x14f)][_0x4688b4(0x15c)](this['currentTest']['err'][_0x4688b4(0x144)]),await _0x320988[_0x4688b4(0x112)](_0x247ff9,JSON[_0x4688b4(0x106)](_0x320988[_0x4688b4(0x110)](_0x320988['dPERp'],this[_0x4688b4(0x11b)][_0x4688b4(0x137)][_0x4688b4(0x144)])),_0x320988[_0x4688b4(0x104)])):await _0x320988['gpdQo'](_0x247ff9,JSON[_0x4688b4(0x106)](_0x320988[_0x4688b4(0x14a)]),_0x320988['RdDtj']);})();}catch(_0x4edfef){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4edfef);}try{if(this['currentTest'][_0x5cca86(0x14e)]&&globals[_0x5cca86(0x161)](_0x43c318[_0x5cca86(0x133)])){logger[_0x5cca86(0x111)](_0x43c318[_0x5cca86(0x12a)]);const _0xb34e47={};_0xb34e47[_0x5cca86(0xd7)]=this[_0x5cca86(0x11b)]['testAnalyticsId'],_0xb34e47[_0x5cca86(0x10b)]=process[_0x5cca86(0xf0)][testHubConstants[_0x5cca86(0x146)][_0x5cca86(0xec)]],_0xb34e47[_0x5cca86(0x163)]=process[_0x5cca86(0xf0)][testHubConstants[_0x5cca86(0x146)][_0x5cca86(0x122)]];const _0x3bd990=_0xb34e47;logger[_0x5cca86(0x148)](_0x5cca86(0xb3)+JSON['stringify'](_0x3bd990));if(globals['getGlobal'](_0x43c318[_0x5cca86(0x162)])){logger[_0x5cca86(0x148)](_0x43c318[_0x5cca86(0x14c)]);const _0x333dda={};_0x333dda[_0x5cca86(0x118)]=_0x43c318[_0x5cca86(0x121)];const _0x141f62=await PerformanceTester[_0x5cca86(0xf3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3ccef9=_0x5cca86;return await accessibilityRetryHelper[_0x3ccef9(0x145)](global[_0x3ccef9(0x156)][0x0],global[_0x3ccef9(0xe9)]);},_0x333dda)();_0x141f62?logger[_0x5cca86(0x148)](_0x43c318[_0x5cca86(0x117)]):logger[_0x5cca86(0xea)](_0x43c318[_0x5cca86(0x16a)]);}else logger[_0x5cca86(0x148)](_0x43c318[_0x5cca86(0xb6)]);const _0x56649b=await PerformanceTester[_0x5cca86(0xf3)](PerformanceA11yEvents[_0x5cca86(0xc8)],async()=>{const _0x171947=_0x5cca86;return await accessibilityRetryHelper[_0x171947(0xcb)](global[_0x171947(0x156)][0x0],_0x3bd990);})();_0x56649b?logger[_0x5cca86(0x148)](_0x43c318[_0x5cca86(0xbe)]):logger[_0x5cca86(0xea)](_0x43c318['Biniz']),logger['info'](_0x43c318[_0x5cca86(0xbd)]);}}catch(_0x4edd99){logger[_0x5cca86(0x16e)](_0x5cca86(0x167)+this[_0x5cca86(0x11b)][_0x5cca86(0x15f)]()+_0x5cca86(0xdb),_0x4edd99);}try{try{if(_0x43c318['kWAJl'](shouldProcessEventForTesthub)){const _0x2d1c3d=global[_0x5cca86(0x156)][0x0];if(_0x2d1c3d){const _0x556c3b=await _0x43c318[_0x5cca86(0xbc)](sendPlatformDetails,_0x2d1c3d,this[_0x5cca86(0x11b)]?this[_0x5cca86(0x11b)][_0x5cca86(0x16f)]:null);_0x556c3b&&(_0x2d1c3d[_0x5cca86(0x13d)]=!![]);}if(_0x43c318[_0x5cca86(0xdf)](isBrowserstackInfra)){PerformanceTester[_0x5cca86(0xe0)](PerformanceO11yEvents[_0x5cca86(0xc7)]);const _0x37fb30=_0x5cca86(0xcd)+Date[_0x5cca86(0x124)]();await _0x43c318['gaULF'](_0x247ff9,JSON[_0x5cca86(0x106)](_0x37fb30),_0x43c318[_0x5cca86(0xd9)]),PerformanceTester['end'](PerformanceO11yEvents[_0x5cca86(0xc7)]);}}}catch(_0x18ead9){logger[_0x5cca86(0x148)](_0x5cca86(0x125)+_0x18ead9),PerformanceTester[_0x5cca86(0xfe)](PerformanceO11yEvents[_0x5cca86(0xc7)],![],_0x18ead9);}_0x43c318[_0x5cca86(0x164)](global['__drivers'][0x0][_0x5cca86(0xd6)],0x0)&&await global[_0x5cca86(0x158)]();}catch(_0x368763){logger[_0x5cca86(0x148)](_0x5cca86(0x132)+_0x368763);}_0x43c318['kWAJl'](_0x4458f8);})[_0x30ed0d(0x108)](()=>{const _0x3ade63=_0x30ed0d;_0x320988[_0x3ade63(0xb5)](_0x4caddb);});},{'platform':_0x43c318[_0x475178(0xd5)](nestedKeyValue,global[_0x475178(0xc0)],[_0x43c318['kHvnY']]),'hookType':_0x43c318['NISry']})();},'afterAll'(_0x140e49){const _0x39163d=a43_0x38e4c1,_0x372db8={'aVlnQ':function(_0x102254){return _0x102254();},'NAAKf':_0x39163d(0xfa),'HMdxV':function(_0x2ae2ec,_0x124e46,_0x783ca1){return _0x2ae2ec(_0x124e46,_0x783ca1);},'MlfVL':_0x39163d(0x153),'xcJDn':_0x39163d(0x170)},_0x1f0adf='browserstack internal helper hook';this[_0x39163d(0x12c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x372db8[_0x39163d(0xe6)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x39163d(0xf2)],()=>{const _0x221d23=_0x39163d,_0x4fbd39={'YWnTD':function(_0x519b40){return _0x372db8['aVlnQ'](_0x519b40);}};new Promise(async _0x5d2908=>{const _0x3c7431=a43_0x2358;await global[_0x3c7431(0x158)](),_0x4fbd39[_0x3c7431(0x150)](_0x5d2908);})['then']()[_0x221d23(0x174)](()=>{_0x372db8['aVlnQ'](_0x140e49);});},{'platform':_0x372db8['HMdxV'](nestedKeyValue,global[_0x39163d(0xc0)],[_0x372db8[_0x39163d(0x10c)]]),'hookType':_0x372db8[_0x39163d(0x14d)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a44_0x51c2(){const _0x215d1c=['exports','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','MDaAV','../v2/browserstackCLI','15soutIa','acPbD','HrBGP','config','hcrIR','error',',browserstack','cliConfig','mXGri','../../helpers/logger','PqBhL','TsdjE','RRHGJ','qUsbY','FoAvt','parallelsPerPlatform','setFrameworkDetail','dYePs','iONFA','mhEEi','21816LOnXDq','../../helpers/helper','dgHiy','message','DVxav','configPath','eLdQj','BROWSERSTACK_AUTOMATION','scriptRunner.js','431792tPcPqz','winstonLogger','requireModule','failures','4473pQXhev','MOJnn','module','../v2/cliUtils','cacFw','slice','run','length','push','fUpAz','newman','O11yHashedID','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cli,browserstack','tWsMq','gyKTs','yXQfp','guAas','zEQcE','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','--reporters','call','1032618KOQPxP','MWVSZ','endsWith','QXNXU','BPbCS','rYXkb','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','path','concat','bootstrap','501756XlnOLT','true','_resolveFilename','SeEku','reporter','getInstance','iYYZY','../../helpers/test-observability/requestQueueHandler','EYPPB','UKZwR','../../helpers/test-observability/utils','84372Agnaax','BROWSERSTACK_TESTHUB_JWT','GpvDJ','qKNQR','NEWMAN','browserstack','914898ebjcQu','false','EKMbr','stop','JZaMS','child_process','inherit','join','package.json','setBrowserstackConfig','createRequire','resolve','Failed\x20to\x20bootstrap\x20CLI:\x20','NKLRu','osChK','yCSTO','mrpQN','exitCode','warn','UNPZx','PXPXc','tCWcS','2899505VNZbhW','Failed\x20to\x20launch\x20build:\x20','XMoYL','lTNTi','RKkoq','WuthQ','aZnOn','fAGFt','ZaXwC','shutdown','fKVwB','env','index.js','iijZp','assign','testObservability','newman/bin/newman'];a44_0x51c2=function(){return _0x215d1c;};return a44_0x51c2();}const a44_0xfce571=a44_0x4080;(function(_0x19147e,_0x94fbcc){const _0x5a9b41=a44_0x4080,_0x1138dc=_0x19147e();while(!![]){try{const _0x5b86a8=-parseInt(_0x5a9b41(0x1d2))/0x1+parseInt(_0x5a9b41(0x1a3))/0x2+-parseInt(_0x5a9b41(0x1d8))/0x3+-parseInt(_0x5a9b41(0x1c7))/0x4*(parseInt(_0x5a9b41(0x186))/0x5)+-parseInt(_0x5a9b41(0x1bd))/0x6+-parseInt(_0x5a9b41(0x171))/0x7+-parseInt(_0x5a9b41(0x19a))/0x8*(-parseInt(_0x5a9b41(0x1a7))/0x9);if(_0x5b86a8===_0x94fbcc)break;else _0x1138dc['push'](_0x1138dc['shift']());}catch(_0x32d757){_0x1138dc['push'](_0x1138dc['shift']());}}}(a44_0x51c2,0x3586a));const path=require(a44_0xfce571(0x1c4)),Module=require(a44_0xfce571(0x1a9)),{fork}=require(a44_0xfce571(0x1dd)),logger=require(a44_0xfce571(0x18f))[a44_0xfce571(0x1a4)],helper=require(a44_0xfce571(0x19b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require(a44_0xfce571(0x1ce)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a44_0xfce571(0x1d1)),BrowserstackCLI=require(a44_0xfce571(0x185)),CLIUtils=require(a44_0xfce571(0x1aa));function a44_0x4080(_0x1948f5,_0x161bda){const _0x51c25=a44_0x51c2();return a44_0x4080=function(_0x408032,_0x144051){_0x408032=_0x408032-0x16b;let _0x15cb61=_0x51c25[_0x408032];return _0x15cb61;},a44_0x4080(_0x1948f5,_0x161bda);}function registerBrowserStackReporter(){const _0x2588fb=a44_0xfce571,_0x36aeb9={};_0x36aeb9[_0x2588fb(0x178)]=function(_0x12da6b,_0x10335c){return _0x12da6b===_0x10335c;},_0x36aeb9[_0x2588fb(0x1ca)]='newman-reporter-browserstack',_0x36aeb9['yXQfp']=_0x2588fb(0x1cb),_0x36aeb9[_0x2588fb(0x192)]=_0x2588fb(0x17d);const _0x480e2a=_0x36aeb9,_0x271976=path['join'](__dirname,_0x480e2a[_0x2588fb(0x1b7)],_0x480e2a[_0x2588fb(0x192)]),_0x5286ba=Module[_0x2588fb(0x1c9)];Module['_resolveFilename']=function(_0x100528,_0x50c6c8,_0x276098,_0x43fdca){const _0x1e4bbb=_0x2588fb;if(_0x480e2a[_0x1e4bbb(0x178)](_0x100528,_0x480e2a[_0x1e4bbb(0x1ca)]))return _0x271976;return _0x5286ba[_0x1e4bbb(0x1bc)](this,_0x100528,_0x50c6c8,_0x276098,_0x43fdca);};}function injectReporterIntoArgs(_0x2513dd){const _0x1600f3=a44_0xfce571,_0x20e989={};_0x20e989[_0x1600f3(0x18a)]=function(_0x59c3f4,_0x2a5b11){return _0x59c3f4<_0x2a5b11;},_0x20e989[_0x1600f3(0x1a8)]=function(_0x470fd4,_0x34af30){return _0x470fd4===_0x34af30;},_0x20e989[_0x1600f3(0x1dc)]=_0x1600f3(0x1bb),_0x20e989['rAmbE']=function(_0x137cf1,_0x5dd852){return _0x137cf1+_0x5dd852;},_0x20e989[_0x1600f3(0x193)]=function(_0x40af84,_0xb89567){return _0x40af84===_0xb89567;},_0x20e989[_0x1600f3(0x173)]=function(_0x22bbd1,_0x46b3c0){return _0x22bbd1+_0x46b3c0;},_0x20e989[_0x1600f3(0x177)]=_0x1600f3(0x1d7),_0x20e989[_0x1600f3(0x1e5)]=function(_0x3a936d,_0x42eb25){return _0x3a936d+_0x42eb25;},_0x20e989[_0x1600f3(0x184)]=_0x1600f3(0x18c),_0x20e989[_0x1600f3(0x1e6)]=_0x1600f3(0x1b4);const _0x2bae3b=_0x20e989,_0x3d520c=_0x2513dd[_0x1600f3(0x1ac)]();for(let _0x290474=0x0;_0x2bae3b[_0x1600f3(0x18a)](_0x290474,_0x3d520c[_0x1600f3(0x1ae)]);_0x290474++){if(_0x2bae3b[_0x1600f3(0x1a8)](_0x3d520c[_0x290474],'-r')||_0x2bae3b[_0x1600f3(0x1a8)](_0x3d520c[_0x290474],_0x2bae3b[_0x1600f3(0x1dc)]))return _0x3d520c[_0x2bae3b['rAmbE'](_0x290474,0x1)]&&_0x2bae3b[_0x1600f3(0x193)](_0x3d520c[_0x2bae3b[_0x1600f3(0x173)](_0x290474,0x1)]['indexOf'](_0x2bae3b[_0x1600f3(0x177)]),-0x1)&&(_0x3d520c[_0x2bae3b[_0x1600f3(0x1e5)](_0x290474,0x1)]+=_0x2bae3b['MDaAV']),_0x3d520c;}return _0x3d520c[_0x1600f3(0x1af)]('-r',_0x2bae3b['osChK']),_0x3d520c;}function runNewmanCLI(_0x60e845){const _0x4633c9=a44_0xfce571,_0x32b27e={'zBbXT':function(_0x5997ba,_0x43f968){return _0x5997ba>_0x43f968;},'mrpQN':function(_0x36b09b,_0x51b829){return _0x36b09b(_0x51b829);},'hujcb':function(_0x2055ef,_0x878dcf,_0x32c047){return _0x2055ef(_0x878dcf,_0x32c047);},'gyKTs':_0x4633c9(0x1b1),'guAas':_0x4633c9(0x183),'RKkoq':function(_0x2dd81a,_0x2cda40){return _0x2dd81a(_0x2cda40);},'iONFA':'module','CXuJQ':_0x4633c9(0x1e0),'tCWcS':function(_0x1af0ba,_0x36f6f3){return _0x1af0ba(_0x36f6f3);},'QXNXU':_0x4633c9(0x181),'EKMbr':'node','GpvDJ':function(_0x1a4f83,_0x502d39){return _0x1a4f83+_0x502d39;},'zEQcE':'Newman\x20CLI\x20not\x20found:\x20'};return new Promise(_0x96f819=>{const _0x2336eb=_0x4633c9,_0xe9b4a9={'tvnGq':function(_0x312289,_0x51dc78){return _0x32b27e['zBbXT'](_0x312289,_0x51dc78);},'HrBGP':function(_0x12d641,_0xc41251){const _0x52306f=a44_0x4080;return _0x32b27e[_0x52306f(0x16b)](_0x12d641,_0xc41251);},'BPbCS':function(_0x15ab93,_0x25a12a,_0x40ae6a){return _0x32b27e['hujcb'](_0x15ab93,_0x25a12a,_0x40ae6a);}};let _0x5a133c;try{_0x5a133c=helper[_0x2336eb(0x1a5)](_0x32b27e[_0x2336eb(0x1b6)],_0x32b27e['gyKTs']);}catch(_0x49e7fd){return logger[_0x2336eb(0x18b)](_0x32b27e[_0x2336eb(0x1b8)]),_0x32b27e[_0x2336eb(0x16b)](_0x96f819,0x1);}const _0x4355cc=_0x5a133c[_0x2336eb(0x1ad)];_0x5a133c[_0x2336eb(0x1ad)]=function(_0x50df82,_0x4f2d83){const _0x28d4fe=_0x2336eb,_0xea6e59={'PqBhL':function(_0x129248,_0x4e5c32){return _0xe9b4a9['tvnGq'](_0x129248,_0x4e5c32);},'TsdjE':function(_0x5a7626,_0x4988b2){const _0x25b750=a44_0x4080;return _0xe9b4a9[_0x25b750(0x188)](_0x5a7626,_0x4988b2);},'FGFJE':function(_0x11d24f,_0x31630a,_0xc2159){const _0x5c64af=a44_0x4080;return _0xe9b4a9[_0x5c64af(0x1c1)](_0x11d24f,_0x31630a,_0xc2159);}};return _0x5a133c['run']=_0x4355cc,_0x4355cc[_0x28d4fe(0x1bc)](_0x5a133c,_0x50df82,(_0x394003,_0x10ebc0)=>{const _0x7a152f=_0x28d4fe,_0x1f82ff=_0x10ebc0&&_0x10ebc0[_0x7a152f(0x1ad)]&&(_0x10ebc0[_0x7a152f(0x1ad)]['error']||_0x10ebc0[_0x7a152f(0x1ad)][_0x7a152f(0x1a6)]&&_0xea6e59[_0x7a152f(0x190)](_0x10ebc0['run'][_0x7a152f(0x1a6)][_0x7a152f(0x1ae)],0x0));_0xea6e59[_0x7a152f(0x191)](_0x96f819,_0x1f82ff?0x1:0x0),_0x4f2d83&&_0xea6e59['FGFJE'](_0x4f2d83,_0x394003,_0x10ebc0);});};try{const _0x1f9912=_0x32b27e[_0x2336eb(0x175)](require,_0x32b27e[_0x2336eb(0x198)])[_0x2336eb(0x1e2)](path[_0x2336eb(0x1df)](process['cwd'](),_0x32b27e['CXuJQ']));_0x32b27e[_0x2336eb(0x170)](_0x1f9912,_0x32b27e[_0x2336eb(0x1c0)])([_0x32b27e[_0x2336eb(0x1da)],_0x32b27e[_0x2336eb(0x1b6)]][_0x2336eb(0x1c5)](_0x60e845));}catch(_0x17d18e){_0x5a133c[_0x2336eb(0x1ad)]=_0x4355cc,logger[_0x2336eb(0x18b)](_0x32b27e[_0x2336eb(0x1d4)](_0x32b27e[_0x2336eb(0x1b9)],_0x17d18e[_0x2336eb(0x19d)])),_0x32b27e[_0x2336eb(0x175)](_0x96f819,0x1);}});}function runNewmanScript(_0x2652c7,_0x37993f){const _0x15b2d8=a44_0xfce571,_0x39d92c={'UKZwR':function(_0x3039fd,_0x3c10ba){return _0x3039fd(_0x3c10ba);},'lTNTi':function(_0x4034be,_0x19df19){return _0x4034be||_0x19df19;},'eLdQj':function(_0x5ee14f,_0x1dcff0,_0xb12e87,_0x56b3f4){return _0x5ee14f(_0x1dcff0,_0xb12e87,_0x56b3f4);},'NxAHi':_0x15b2d8(0x1a2),'yCSTO':function(_0x2742a7,_0xd56a23){return _0x2742a7(_0xd56a23);},'FoAvt':function(_0x445c32,_0xf29230){return _0x445c32||_0xf29230;},'rYXkb':_0x15b2d8(0x1de),'acPbD':'close'};return new Promise(function(_0x4afec7){const _0x30f2d7=_0x15b2d8,_0x325900={'PXPXc':function(_0x477825,_0x4636ca){const _0x2573ef=a44_0x4080;return _0x39d92c[_0x2573ef(0x1d0)](_0x477825,_0x4636ca);},'mXGri':function(_0x4e3015,_0x39bfe1){const _0x2bc966=a44_0x4080;return _0x39d92c[_0x2bc966(0x174)](_0x4e3015,_0x39bfe1);}},_0x359a80=_0x39d92c[_0x30f2d7(0x1a0)](fork,path[_0x30f2d7(0x1df)](__dirname,_0x39d92c['NxAHi']),[_0x2652c7,_0x39d92c[_0x30f2d7(0x1e7)](String,_0x39d92c[_0x30f2d7(0x194)](_0x37993f,0x0))],{'stdio':_0x39d92c[_0x30f2d7(0x1c2)],'env':Object[_0x30f2d7(0x17f)]({},process['env'])});_0x359a80['on'](_0x39d92c[_0x30f2d7(0x187)],function(_0x2db91d){const _0x59ca10=_0x30f2d7;_0x325900[_0x59ca10(0x16f)](_0x4afec7,_0x325900[_0x59ca10(0x18e)](_0x2db91d,0x0));});});}function hasO11yBuild(){const _0x623148=a44_0xfce571,_0x1f4de6={};_0x1f4de6[_0x623148(0x19e)]=function(_0x553821,_0xe09f4c){return _0x553821!==_0xe09f4c;},_0x1f4de6['fUpAz']='null';const _0x563920=_0x1f4de6;return!!(BrowserstackCLI[_0x623148(0x1b2)]||process[_0x623148(0x17c)][_0x623148(0x1d3)]&&_0x563920['DVxav'](process[_0x623148(0x17c)][_0x623148(0x1d3)],_0x563920[_0x623148(0x1b0)]));}function runWithoutObservability(_0x235939,_0x1b6d65){const _0x5831c3=a44_0xfce571,_0x18e4d7={'cacFw':function(_0x55ca81,_0x14c1bf){return _0x55ca81(_0x14c1bf);},'ZaXwC':function(_0x5a1e09,_0x1f5a0c){return _0x5a1e09(_0x1f5a0c);}};if(_0x235939)return _0x18e4d7[_0x5831c3(0x1ab)](require,path[_0x5831c3(0x1e3)](_0x235939)),0x0;return _0x18e4d7[_0x5831c3(0x179)](runNewmanCLI,_0x1b6d65);}module[a44_0xfce571(0x182)]=async function(_0x7c1e22,_0x340a4a,_0x4ee53e){const _0x5981ed=a44_0xfce571,_0x393fdc={'EsgJJ':'.js','dYePs':function(_0x22bed8,_0x2a31fe){return _0x22bed8===_0x2a31fe;},'tWsMq':_0x5981ed(0x1d9),'eadpw':function(_0x3ded83,_0x5110dc,_0x387b51){return _0x3ded83(_0x5110dc,_0x387b51);},'WuthQ':function(_0x471022,_0x3dcc97){return _0x471022!=_0x3dcc97;},'UNPZx':_0x5981ed(0x1c8),'dgHiy':_0x5981ed(0x1b1),'mhEEi':function(_0x4657d5,_0x531fe0){return _0x4657d5+_0x531fe0;},'fKVwB':_0x5981ed(0x1e4),'FaufE':_0x5981ed(0x172),'EYPPB':function(_0x20f0f6){return _0x20f0f6();},'MWVSZ':_0x5981ed(0x1b3),'sIvdC':function(_0xe61c1b,_0xca6213){return _0xe61c1b(_0xca6213);},'iYYZY':function(_0x1c4238,_0x2bf40c){return _0x1c4238(_0x2bf40c);},'iijZp':function(_0x5b51cc){return _0x5b51cc();},'qKNQR':_0x5981ed(0x1c3)},_0x3f908b=_0x340a4a[_0x5981ed(0x1ac)](0x1),_0x2b1f7a=_0x3f908b[0x0]&&_0x3f908b[0x0][_0x5981ed(0x1bf)](_0x393fdc['EsgJJ'])?_0x3f908b[0x0]:null;if(!_0x4ee53e[_0x5981ed(0x189)]||_0x393fdc[_0x5981ed(0x197)](_0x4ee53e[_0x5981ed(0x189)][_0x5981ed(0x180)],![])||_0x393fdc[_0x5981ed(0x197)](_0x4ee53e[_0x5981ed(0x189)][_0x5981ed(0x180)],_0x393fdc['tWsMq'])){process[_0x5981ed(0x16c)]=await _0x393fdc['eadpw'](runWithoutObservability,_0x2b1f7a,_0x3f908b)||0x0;return;}process['env'][_0x5981ed(0x1a1)]=_0x393fdc[_0x5981ed(0x1b5)],process['env'][_0x5981ed(0x1ba)]=_0x393fdc[_0x5981ed(0x1b5)],process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x393fdc[_0x5981ed(0x176)](_0x4ee53e['config'][_0x5981ed(0x180)],null)?_0x4ee53e[_0x5981ed(0x189)][_0x5981ed(0x180)]:_0x393fdc[_0x5981ed(0x16e)],CLIUtils[_0x5981ed(0x196)](_0x393fdc[_0x5981ed(0x19c)],_0x393fdc[_0x5981ed(0x19c)]),BrowserstackCLI[_0x5981ed(0x1cc)]()[_0x5981ed(0x1e1)](_0x4ee53e[_0x5981ed(0x189)],_0x4ee53e[_0x5981ed(0x19f)],_0x4ee53e[_0x5981ed(0x18d)]);try{await BrowserstackCLI['getInstance']()[_0x5981ed(0x1c6)]();}catch(_0x4e0b0b){logger['error'](_0x393fdc[_0x5981ed(0x199)](_0x393fdc[_0x5981ed(0x17b)],_0x4e0b0b[_0x5981ed(0x19d)]||_0x4e0b0b));}if(!BrowserstackCLI[_0x5981ed(0x1cc)]()['isRunning']())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x5981ed(0x1d6)],_0x4ee53e);}catch(_0x4960b0){logger[_0x5981ed(0x18b)](_0x393fdc[_0x5981ed(0x199)](_0x393fdc['FaufE'],_0x4960b0[_0x5981ed(0x19d)]||_0x4960b0));}!_0x393fdc[_0x5981ed(0x1cf)](hasO11yBuild)&&logger[_0x5981ed(0x16d)](_0x393fdc[_0x5981ed(0x1be)]);_0x393fdc[_0x5981ed(0x1cf)](registerBrowserStackReporter);let _0x5a4d93;_0x2b1f7a?_0x5a4d93=await _0x393fdc['eadpw'](runNewmanScript,_0x2b1f7a,_0x4ee53e[_0x5981ed(0x189)][_0x5981ed(0x195)]):_0x5a4d93=await _0x393fdc['sIvdC'](runNewmanCLI,_0x393fdc[_0x5981ed(0x1cd)](injectReporterIntoArgs,_0x3f908b));try{await TestHubHandler[_0x5981ed(0x1db)]();}catch(_0x151b8){}try{await BrowserstackCLI['getInstance']()[_0x5981ed(0x1db)]();}catch(_0xcb775e){}try{await RequestQueueHandler['getInstance']()[_0x5981ed(0x17a)]();}catch(_0x1ddcc9){}if(_0x393fdc[_0x5981ed(0x17e)](hasO11yBuild))try{_0x393fdc[_0x5981ed(0x17e)](printBuildLink);}catch(_0x5574b1){}else logger[_0x5981ed(0x16d)](_0x393fdc[_0x5981ed(0x1d5)]);process['exitCode']=_0x5a4d93;};
|
|
2
|
+
'use strict';function a44_0x9da3(){const _0x3a313f=['9YjdrVY','run','317888rsdDWG','null','isRunning','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TEST_OBSERVABILITY_YML','KhtlE','concat','BwgTW','../../helpers/helper','buHIp','MGprK','cliConfig','launchBuild','parallelsPerPlatform','348550HuPOsH','MSIFO','Hlfop','resolve','CcjuX','adpie','--reporters','Vwkjp','axlrk','rtLbJ','fBoTB','../v2/cliUtils','exitCode','bjFWR','indexOf','fNfVT','oLCop','length','CugHd','call','WUzRA','RKuTt','cli,browserstack','.js','98900zvhkpL','module','MZrfg','448616qSeuhT','true','1710ZokGkH','ecmuz','BROWSERSTACK_AUTOMATION','cIpcr','warn','EzcBb','newman','newman-reporter-browserstack','kvJwx','Drkzy','mCXAz','hPmkZ','env','CNKqU','TprZE','hBWCd','lMUvl','ujUSa','winstonLogger','../../helpers/test-observability/constants','fBzAT','slice','../../helpers/test-observability/requestQueueHandler','exports','BROWSERSTACK_TESTHUB_JWT','yhkJO','TAuOQ','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','cwd','2012HteegG','../../helpers/testhub/testhubHandler','setFrameworkDetail','Newman\x20CLI\x20not\x20found:\x20','stop','SqWrg','inherit','scriptRunner.js','389232qEMnwi',',browserstack','setBrowserstackConfig','createRequire','mgGjt','JZcMp','newman/bin/newman','assign','QgtYq','MGUUh','bmExh','error','pXXHe','configPath','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','Failed\x20to\x20bootstrap\x20CLI:\x20','5DGWkZq','ywCWg','hfNMu','message','xUdkJ','config','package.json','tFdLY','node','index.js','shutdown','join','hcSUT','HhqFp','getInstance','../../helpers/logger','path','Failed\x20to\x20launch\x20build:\x20','800838EAQvWc','tYtqE','CzOer','DUums','testObservability','RTYok','child_process','failures'];a44_0x9da3=function(){return _0x3a313f;};return a44_0x9da3();}const a44_0x15dc18=a44_0x3991;(function(_0x151acf,_0x39b21d){const _0x1ae7c7=a44_0x3991,_0x22640b=_0x151acf();while(!![]){try{const _0x1df131=-parseInt(_0x1ae7c7(0xed))/0x1*(-parseInt(_0x1ae7c7(0x12f))/0x2)+parseInt(_0x1ae7c7(0xdd))/0x3+parseInt(_0x1ae7c7(0xd5))/0x4*(-parseInt(_0x1ae7c7(0xb8))/0x5)+-parseInt(_0x1ae7c7(0xff))/0x6+parseInt(_0x1ae7c7(0x132))/0x7+-parseInt(_0x1ae7c7(0x109))/0x8*(parseInt(_0x1ae7c7(0x107))/0x9)+parseInt(_0x1ae7c7(0x117))/0xa;if(_0x1df131===_0x39b21d)break;else _0x22640b['push'](_0x22640b['shift']());}catch(_0xcd04eb){_0x22640b['push'](_0x22640b['shift']());}}}(a44_0x9da3,0x1fe8e));function a44_0x3991(_0x566ba7,_0x1465dd){const _0x9da361=a44_0x9da3();return a44_0x3991=function(_0x3991b8,_0x2ad6fe){_0x3991b8=_0x3991b8-0xb7;let _0x4751b8=_0x9da361[_0x3991b8];return _0x4751b8;},a44_0x3991(_0x566ba7,_0x1465dd);}const path=require(a44_0x15dc18(0xfd)),Module=require(a44_0x15dc18(0x130)),{fork}=require(a44_0x15dc18(0x105)),logger=require(a44_0x15dc18(0xfc))[a44_0x15dc18(0xca)],helper=require(a44_0x15dc18(0x111)),TestHubHandler=require(a44_0x15dc18(0xd6)),RequestQueueHandler=require(a44_0x15dc18(0xce)),{FRAMEWORKS}=require(a44_0x15dc18(0xcb)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a44_0x15dc18(0x122));function registerBrowserStackReporter(){const _0x4039fe=a44_0x15dc18,_0x4237ed={};_0x4237ed['mgGjt']=function(_0xe6a122,_0x42fa17){return _0xe6a122===_0x42fa17;},_0x4237ed[_0x4039fe(0xfa)]=_0x4039fe(0xbf),_0x4237ed[_0x4039fe(0xc0)]='reporter',_0x4237ed[_0x4039fe(0xc8)]=_0x4039fe(0xf6);const _0x18691a=_0x4237ed,_0x4957fb=path[_0x4039fe(0xf8)](__dirname,_0x18691a[_0x4039fe(0xc0)],_0x18691a['lMUvl']),_0x20944a=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x311560,_0x198fa6,_0x4f7d4e,_0x5b4c4f){const _0x4da59b=_0x4039fe;if(_0x18691a[_0x4da59b(0xe1)](_0x311560,_0x18691a[_0x4da59b(0xfa)]))return _0x4957fb;return _0x20944a['call'](this,_0x311560,_0x198fa6,_0x4f7d4e,_0x5b4c4f);};}function injectReporterIntoArgs(_0x2974b6){const _0x3323e1=a44_0x15dc18,_0xb0d9da={};_0xb0d9da['ecmuz']=function(_0x54efc3,_0x43b7df){return _0x54efc3<_0x43b7df;},_0xb0d9da[_0x3323e1(0xe6)]=function(_0x5dcf76,_0x4fe086){return _0x5dcf76===_0x4fe086;},_0xb0d9da['ujUSa']=function(_0x380df5,_0xf59ae2){return _0x380df5===_0xf59ae2;},_0xb0d9da['oLCop']=_0x3323e1(0x11d),_0xb0d9da['MZrfg']=function(_0x114cd2,_0x36d327){return _0x114cd2+_0x36d327;},_0xb0d9da[_0x3323e1(0x119)]=function(_0x3ba8af,_0x3a616a){return _0x3ba8af===_0x3a616a;},_0xb0d9da[_0x3323e1(0xc5)]=function(_0x5d4584,_0x51d807){return _0x5d4584+_0x51d807;},_0xb0d9da['rtLbJ']='browserstack',_0xb0d9da[_0x3323e1(0x12c)]=function(_0x2b5c22,_0x24e818){return _0x2b5c22+_0x24e818;},_0xb0d9da[_0x3323e1(0x10e)]=_0x3323e1(0xde),_0xb0d9da['Drkzy']=_0x3323e1(0x12d);const _0x109246=_0xb0d9da,_0x410c94=_0x2974b6[_0x3323e1(0xcd)]();for(let _0x256fb0=0x0;_0x109246[_0x3323e1(0xb9)](_0x256fb0,_0x410c94[_0x3323e1(0x128)]);_0x256fb0++){if(_0x109246[_0x3323e1(0xe6)](_0x410c94[_0x256fb0],'-r')||_0x109246[_0x3323e1(0xc9)](_0x410c94[_0x256fb0],_0x109246[_0x3323e1(0x127)]))return _0x410c94[_0x109246[_0x3323e1(0x131)](_0x256fb0,0x1)]&&_0x109246['Hlfop'](_0x410c94[_0x109246[_0x3323e1(0xc5)](_0x256fb0,0x1)][_0x3323e1(0x125)](_0x109246[_0x3323e1(0x120)]),-0x1)&&(_0x410c94[_0x109246[_0x3323e1(0x12c)](_0x256fb0,0x1)]+=_0x109246[_0x3323e1(0x10e)]),_0x410c94;}return _0x410c94['push']('-r',_0x109246[_0x3323e1(0xc1)]),_0x410c94;}function runNewmanCLI(_0x34e7ae){const _0x1b6793=a44_0x15dc18,_0x47b65a={'JZcMp':function(_0x43819b,_0x872fc4){return _0x43819b>_0x872fc4;},'hBWCd':function(_0x20d218,_0x18ae46){return _0x20d218(_0x18ae46);},'hHtLE':function(_0xe16e8f,_0x59cbe9,_0x278cd9){return _0xe16e8f(_0x59cbe9,_0x278cd9);},'axlrk':_0x1b6793(0xbe),'mCXAz':_0x1b6793(0xd3),'yhkJO':function(_0x1266ad,_0x26b9f4){return _0x1266ad(_0x26b9f4);},'TAuOQ':_0x1b6793(0x130),'SqWrg':_0x1b6793(0xf3),'adpie':_0x1b6793(0xe3),'buHIp':_0x1b6793(0xf5),'eECuL':function(_0x32a5ba,_0x3ebef9){return _0x32a5ba+_0x3ebef9;},'gXbCU':_0x1b6793(0xd8)};return new Promise(_0x1c8690=>{const _0x1015b9=_0x1b6793,_0x58430c={'DUums':function(_0x54c148,_0x97a8d3){const _0x1e4b6f=a44_0x3991;return _0x47b65a[_0x1e4b6f(0xe2)](_0x54c148,_0x97a8d3);},'CcjuX':function(_0x6fb2c4,_0x1e08de){const _0x8e3203=a44_0x3991;return _0x47b65a[_0x8e3203(0xc7)](_0x6fb2c4,_0x1e08de);},'xiKHk':function(_0x39b586,_0x2edbce,_0x8bf913){return _0x47b65a['hHtLE'](_0x39b586,_0x2edbce,_0x8bf913);}};let _0x206dd9;try{_0x206dd9=helper['requireModule'](_0x47b65a[_0x1015b9(0x11f)],_0x47b65a['axlrk']);}catch(_0x1c51fe){return logger['error'](_0x47b65a[_0x1015b9(0xc2)]),_0x47b65a[_0x1015b9(0xd1)](_0x1c8690,0x1);}const _0x27c9bf=_0x206dd9[_0x1015b9(0x108)];_0x206dd9['run']=function(_0x153e6b,_0x5befb3){const _0x53258c=_0x1015b9;return _0x206dd9[_0x53258c(0x108)]=_0x27c9bf,_0x27c9bf[_0x53258c(0x12a)](_0x206dd9,_0x153e6b,(_0x413926,_0x5122ee)=>{const _0x51d2e0=_0x53258c,_0x2feac1=_0x5122ee&&_0x5122ee[_0x51d2e0(0x108)]&&(_0x5122ee['run']['error']||_0x5122ee[_0x51d2e0(0x108)][_0x51d2e0(0x106)]&&_0x58430c[_0x51d2e0(0x102)](_0x5122ee[_0x51d2e0(0x108)]['failures'][_0x51d2e0(0x128)],0x0));_0x58430c[_0x51d2e0(0x11b)](_0x1c8690,_0x2feac1?0x1:0x0),_0x5befb3&&_0x58430c['xiKHk'](_0x5befb3,_0x413926,_0x5122ee);});};try{const _0x4dca6e=_0x47b65a[_0x1015b9(0xc7)](require,_0x47b65a[_0x1015b9(0xd2)])[_0x1015b9(0xe0)](path[_0x1015b9(0xf8)](process[_0x1015b9(0xd4)](),_0x47b65a[_0x1015b9(0xda)]));_0x47b65a['yhkJO'](_0x4dca6e,_0x47b65a[_0x1015b9(0x11c)])([_0x47b65a[_0x1015b9(0x112)],_0x47b65a[_0x1015b9(0x11f)]][_0x1015b9(0x10f)](_0x34e7ae));}catch(_0x2d5545){_0x206dd9[_0x1015b9(0x108)]=_0x27c9bf,logger[_0x1015b9(0xe8)](_0x47b65a['eECuL'](_0x47b65a['gXbCU'],_0x2d5545[_0x1015b9(0xf0)])),_0x47b65a[_0x1015b9(0xd1)](_0x1c8690,0x1);}});}function runNewmanScript(_0x324fb2,_0x3277b1){const _0x20012d=a44_0x15dc18,_0x326002={'pXXHe':function(_0x387fa0,_0x2025f8){return _0x387fa0(_0x2025f8);},'fBoTB':function(_0x2c12e6,_0x2d76ce){return _0x2c12e6||_0x2d76ce;},'hfNMu':function(_0x4b2a3e,_0x317854,_0x3f6979,_0x1ccf67){return _0x4b2a3e(_0x317854,_0x3f6979,_0x1ccf67);},'tYtqE':_0x20012d(0xdc),'xUdkJ':function(_0x32aa32,_0xea6da){return _0x32aa32(_0xea6da);},'MSIFO':_0x20012d(0xdb),'fBzAT':'close'};return new Promise(function(_0x433d9d){const _0x210d2e=_0x20012d,_0x284e72={'rhBjr':function(_0x3cd87d,_0xc1e940){const _0x705e96=a44_0x3991;return _0x326002[_0x705e96(0xe9)](_0x3cd87d,_0xc1e940);},'BwgTW':function(_0x35a91a,_0x4a308a){const _0x23fcc2=a44_0x3991;return _0x326002[_0x23fcc2(0x121)](_0x35a91a,_0x4a308a);}},_0x5ae0f4=_0x326002[_0x210d2e(0xef)](fork,path['join'](__dirname,_0x326002[_0x210d2e(0x100)]),[_0x324fb2,_0x326002[_0x210d2e(0xf1)](String,_0x326002[_0x210d2e(0x121)](_0x3277b1,0x0))],{'stdio':_0x326002[_0x210d2e(0x118)],'env':Object[_0x210d2e(0xe4)]({},process[_0x210d2e(0xc4)])});_0x5ae0f4['on'](_0x326002[_0x210d2e(0xcc)],function(_0xf96b25){const _0x4bee42=_0x210d2e;_0x284e72['rhBjr'](_0x433d9d,_0x284e72[_0x4bee42(0x110)](_0xf96b25,0x0));});});}function hasO11yBuild(){const _0x123d7b=a44_0x15dc18,_0x2cf953={};_0x2cf953['hPmkZ']=function(_0x35ba41,_0x495558){return _0x35ba41!==_0x495558;},_0x2cf953[_0x123d7b(0xbb)]=_0x123d7b(0x10a);const _0x1b2aa6=_0x2cf953;return!!(BrowserstackCLI['O11yHashedID']||process[_0x123d7b(0xc4)][_0x123d7b(0xd0)]&&_0x1b2aa6[_0x123d7b(0xc3)](process[_0x123d7b(0xc4)]['BROWSERSTACK_TESTHUB_JWT'],_0x1b2aa6[_0x123d7b(0xbb)]));}function runWithoutObservability(_0x103639,_0x1c18c5){const _0xdf6169=a44_0x15dc18,_0x25a411={'kEDmJ':function(_0x1f26f2,_0x2289f8){return _0x1f26f2(_0x2289f8);},'Xavxp':function(_0x55f26f,_0x1f20d8){return _0x55f26f(_0x1f20d8);}};if(_0x103639)return _0x25a411['kEDmJ'](require,path[_0xdf6169(0x11a)](_0x103639)),0x0;return _0x25a411['Xavxp'](runNewmanCLI,_0x1c18c5);}module[a44_0x15dc18(0xcf)]=async function(_0xbadb9,_0xded71a,_0x3d3647){const _0x53c46f=a44_0x15dc18,_0x455d6a={'XBRXS':_0x53c46f(0x12e),'RTYok':function(_0x126591,_0x2a7078){return _0x126591===_0x2a7078;},'VJwZp':function(_0x4e3618,_0x4a4bdf){return _0x4e3618===_0x4a4bdf;},'CugHd':'false','bmExh':function(_0x364a36,_0x50be37,_0x4ff9e5){return _0x364a36(_0x50be37,_0x4ff9e5);},'TprZE':function(_0x344772,_0x3d652a){return _0x344772!=_0x3d652a;},'QgtYq':_0x53c46f(0xb7),'tFdLY':_0x53c46f(0xbe),'EzcBb':function(_0x1a501c,_0x22b1ab){return _0x1a501c+_0x22b1ab;},'bjFWR':_0x53c46f(0xec),'Vwkjp':function(_0x1f7023,_0x4f1dfb){return _0x1f7023+_0x4f1dfb;},'ywCWg':_0x53c46f(0xfe),'hcSUT':function(_0x5cd054){return _0x5cd054();},'WUzRA':_0x53c46f(0x10c),'CzOer':function(_0x46e735,_0x3b300b){return _0x46e735(_0x3b300b);},'MGprK':function(_0x1a9a68,_0x3a76ef){return _0x1a9a68(_0x3a76ef);},'fNfVT':_0x53c46f(0xeb)},_0x30f812=_0xded71a['slice'](0x1),_0x3241b7=_0x30f812[0x0]&&_0x30f812[0x0]['endsWith'](_0x455d6a['XBRXS'])?_0x30f812[0x0]:null;if(!_0x3d3647['config']||_0x455d6a[_0x53c46f(0x104)](_0x3d3647[_0x53c46f(0xf2)][_0x53c46f(0x103)],![])||_0x455d6a['VJwZp'](_0x3d3647['config'][_0x53c46f(0x103)],_0x455d6a['CugHd'])){process[_0x53c46f(0x123)]=await _0x455d6a[_0x53c46f(0xe7)](runWithoutObservability,_0x3241b7,_0x30f812)||0x0;return;}process[_0x53c46f(0xc4)][_0x53c46f(0xba)]=_0x455d6a['CugHd'],process[_0x53c46f(0xc4)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x455d6a[_0x53c46f(0x129)],process[_0x53c46f(0xc4)][_0x53c46f(0x10d)]=_0x455d6a[_0x53c46f(0xc6)](_0x3d3647[_0x53c46f(0xf2)][_0x53c46f(0x103)],null)?_0x3d3647[_0x53c46f(0xf2)]['testObservability']:_0x455d6a[_0x53c46f(0xe5)],CLIUtils[_0x53c46f(0xd7)](_0x455d6a[_0x53c46f(0xf4)],_0x455d6a['tFdLY']),BrowserstackCLI[_0x53c46f(0xfb)]()[_0x53c46f(0xdf)](_0x3d3647[_0x53c46f(0xf2)],_0x3d3647[_0x53c46f(0xea)],_0x3d3647[_0x53c46f(0x114)]);try{await BrowserstackCLI[_0x53c46f(0xfb)]()['bootstrap']();}catch(_0x5e29e2){logger[_0x53c46f(0xe8)](_0x455d6a[_0x53c46f(0xbd)](_0x455d6a[_0x53c46f(0x124)],_0x5e29e2[_0x53c46f(0xf0)]||_0x5e29e2));}if(!BrowserstackCLI['getInstance']()[_0x53c46f(0x10b)]())try{await TestHubHandler[_0x53c46f(0x115)](FRAMEWORKS['NEWMAN'],_0x3d3647);}catch(_0x51e02e){logger['error'](_0x455d6a[_0x53c46f(0x11e)](_0x455d6a[_0x53c46f(0xee)],_0x51e02e['message']||_0x51e02e));}!_0x455d6a[_0x53c46f(0xf9)](hasO11yBuild)&&logger[_0x53c46f(0xbc)](_0x455d6a[_0x53c46f(0x12b)]);_0x455d6a[_0x53c46f(0xf9)](registerBrowserStackReporter);let _0x41d146;_0x3241b7?_0x41d146=await _0x455d6a[_0x53c46f(0xe7)](runNewmanScript,_0x3241b7,_0x3d3647[_0x53c46f(0xf2)][_0x53c46f(0x116)]):_0x41d146=await _0x455d6a[_0x53c46f(0x101)](runNewmanCLI,_0x455d6a[_0x53c46f(0x113)](injectReporterIntoArgs,_0x30f812));try{await TestHubHandler[_0x53c46f(0xd9)]();}catch(_0x4d501b){}try{await BrowserstackCLI['getInstance']()[_0x53c46f(0xd9)]();}catch(_0x1f92ba){}try{await RequestQueueHandler[_0x53c46f(0xfb)]()[_0x53c46f(0xf7)]();}catch(_0x398e91){}if(_0x455d6a['hcSUT'](hasO11yBuild))try{_0x455d6a[_0x53c46f(0xf9)](printBuildLink);}catch(_0x2e1ccc){}else logger[_0x53c46f(0xbc)](_0x455d6a[_0x53c46f(0x126)]);process[_0x53c46f(0x123)]=_0x41d146;};
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x180fdd=a45_0x533e;(function(_0x1c3d0a,_0x387b24){const _0x48d0f5=a45_0x533e,_0x247148=_0x1c3d0a();while(!![]){try{const _0x4bff6c=-parseInt(_0x48d0f5(0xef))/0x1+-parseInt(_0x48d0f5(0xf2))/0x2*(parseInt(_0x48d0f5(0xf4))/0x3)+-parseInt(_0x48d0f5(0xf8))/0x4+-parseInt(_0x48d0f5(0x101))/0x5*(-parseInt(_0x48d0f5(0xfe))/0x6)+-parseInt(_0x48d0f5(0xf5))/0x7*(parseInt(_0x48d0f5(0xf3))/0x8)+-parseInt(_0x48d0f5(0xfb))/0x9*(-parseInt(_0x48d0f5(0x102))/0xa)+parseInt(_0x48d0f5(0x103))/0xb;if(_0x4bff6c===_0x387b24)break;else _0x247148['push'](_0x247148['shift']());}catch(_0x2161c2){_0x247148['push'](_0x247148['shift']());}}}(a45_0x3447,0x909a8));function a45_0x533e(_0x398b38,_0x26eec4){const _0x34471b=a45_0x3447();return a45_0x533e=function(_0x533ede,_0x3c1114){_0x533ede=_0x533ede-0xee;let _0x14e236=_0x34471b[_0x533ede];return _0x14e236;},a45_0x533e(_0x398b38,_0x26eec4);}function isNewman(_0x5d282f){const _0x3094eb=a45_0x533e,_0x5a0a9e={'qluIB':function(_0x63b6cd,_0x2a93f7){return _0x63b6cd===_0x2a93f7;},'PjGCo':_0x3094eb(0xff),'rCegP':function(_0xc0e24a,_0x308c0b){return _0xc0e24a(_0x308c0b);},'oUACF':function(_0x59bf61,_0x3387c3){return _0x59bf61||_0x3387c3;}},_0x2f2091=process[_0x3094eb(0xfc)][_0x3094eb(0xf6)]||'';let _0x30f43e='';_0x5d282f&&_0x5d282f[_0x3094eb(0xee)]&&(_0x30f43e=_0x5d282f[_0x3094eb(0xee)]);const _0x5331f9=_0x5a0a9e[_0x3094eb(0xf0)](_0x2f2091['toLowerCase'](),_0x5a0a9e[_0x3094eb(0x100)]),_0x3340b6=_0x5a0a9e[_0x3094eb(0xf0)](_0x5a0a9e[_0x3094eb(0xf1)](String,_0x30f43e)[_0x3094eb(0xfa)](),_0x5a0a9e[_0x3094eb(0x100)]);return _0x5a0a9e[_0x3094eb(0xfd)](_0x5331f9,_0x3340b6);};const a45_0x4e78f2={};function a45_0x3447(){const _0x5807a6=['oUACF','66rVWdZd','newman','PjGCo','206705UdmdVa','20kGJaXp','7709130BVCfGe','framework','158958jyqQzX','qluIB','rCegP','1692NyjWFo','8ScrqvR','2133CSxUst','4214616rLATnL','BROWSERSTACK_FRAMEWORK','isNewman','1117596SWLDpJ','exports','toLowerCase','4853997aLPXpR','env'];a45_0x3447=function(){return _0x5807a6;};return a45_0x3447();}a45_0x4e78f2[a45_0x180fdd(0xf7)]=isNewman,module[a45_0x180fdd(0xf9)]=a45_0x4e78f2;
|