browserstack-node-sdk 1.54.1 → 1.55.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 +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a32_0x2cdb2d=a32_0xdc8d;(function(_0x47e731,_0x3c0ce6){const _0x3d610f=a32_0xdc8d,_0x48f575=_0x47e731();while(!![]){try{const _0xec5af=parseInt(_0x3d610f(0x252))/0x1+parseInt(_0x3d610f(0x217))/0x2*(parseInt(_0x3d610f(0x2b2))/0x3)+-parseInt(_0x3d610f(0x27e))/0x4*(-parseInt(_0x3d610f(0x262))/0x5)+-parseInt(_0x3d610f(0x223))/0x6+parseInt(_0x3d610f(0x201))/0x7*(parseInt(_0x3d610f(0x2df))/0x8)+parseInt(_0x3d610f(0x1df))/0x9*(parseInt(_0x3d610f(0x27c))/0xa)+parseInt(_0x3d610f(0x22a))/0xb*(-parseInt(_0x3d610f(0x2db))/0xc);if(_0xec5af===_0x3c0ce6)break;else _0x48f575['push'](_0x48f575['shift']());}catch(_0x3010f7){_0x48f575['push'](_0x48f575['shift']());}}}(a32_0xa2c8,0xbfc9c));const chalk=require(a32_0x2cdb2d(0x205)),logger=require('../../helpers/logger')[a32_0x2cdb2d(0x2e1)],helper=require(a32_0x2cdb2d(0x298)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a32_0x2cdb2d(0x266)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x2cdb2d(0x2a3)),{requireModule,nestedKeyValue}=require(a32_0x2cdb2d(0x298)),{getPercyOptions}=require(a32_0x2cdb2d(0x2d5)),Base=requireModule(a32_0x2cdb2d(0x21f),a32_0x2cdb2d(0x229)),collectFiles=requireModule('mocha/lib/cli/collect-files.js','mocha'),constants=require(a32_0x2cdb2d(0x25a)),PerformanceTester=require(a32_0x2cdb2d(0x1ff)),PerformanceEvents=require(a32_0x2cdb2d(0x2b7))[a32_0x2cdb2d(0x243)],centralScannerConstants=require(a32_0x2cdb2d(0x2a8)),{FRAMEWORKS}=require(a32_0x2cdb2d(0x1f9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),ClientTroubleShootingService=require(a32_0x2cdb2d(0x2d0));function tag(_0xa7aa88,_0x2d1649,_0x4ebb09,_0x4617ad){const _0xcc303d=a32_0x2cdb2d,_0x272a28={'yhqxQ':function(_0x5aee53,_0x4e0b94){return _0x5aee53+_0x4e0b94;},'zjBvV':function(_0x377517,_0x1ea26b){return _0x377517(_0x1ea26b);},'UEyUi':function(_0x378e3c,_0x3086b1){return _0x378e3c+_0x3086b1;},'SRLyZ':function(_0x1bbc73,_0x5af868){return _0x1bbc73+_0x5af868;},'aILrI':function(_0x30c94f,_0x57b996){return _0x30c94f+_0x57b996;},'wpXhh':function(_0x35c20d,_0x3c5618){return _0x35c20d+_0x3c5618;},'CcwbL':function(_0x17fe46,_0x335990){return _0x17fe46+_0x335990;}},_0x202434=_0x4ebb09?'/>':'>',_0x383d19=[];let _0x33c910;for(const _0x1ae6b3 in _0x2d1649){Object[_0xcc303d(0x2c0)]['hasOwnProperty'][_0xcc303d(0x26a)](_0x2d1649,_0x1ae6b3)&&_0x383d19['push'](_0x272a28[_0xcc303d(0x1eb)](_0x272a28['yhqxQ'](_0x272a28['yhqxQ'](_0x1ae6b3,'=\x22'),_0x272a28[_0xcc303d(0x228)](escape,_0x2d1649[_0x1ae6b3])),'\x22'));}return _0x33c910=_0x272a28[_0xcc303d(0x1eb)](_0x272a28[_0xcc303d(0x263)](_0x272a28[_0xcc303d(0x263)]('<',_0xa7aa88),_0x383d19[_0xcc303d(0x291)]?_0x272a28[_0xcc303d(0x23d)]('\x20',_0x383d19[_0xcc303d(0x2c3)]('\x20')):''),_0x202434),_0x4617ad&&(_0x33c910+=_0x272a28[_0xcc303d(0x20d)](_0x272a28[_0xcc303d(0x29e)](_0x272a28[_0xcc303d(0x2e3)](_0x4617ad,'</'),_0xa7aa88),_0x202434)),_0x33c910;}let xunitContent='';function xunitWrite(_0x347ccc){xunitContent+=_0x347ccc;}function xunitTest(_0x197f5f,_0x27a783){const _0x37da32=a32_0x2cdb2d,_0x1b0737={'iXAns':function(_0x825945,_0x57c8d1){return _0x825945/_0x57c8d1;},'OEyKs':function(_0x30e4fc,_0x1aec7f){return _0x30e4fc===_0x1aec7f;},'onMar':'failed','ZsveF':function(_0x1cd225,_0x5cd976){return _0x1cd225+_0x5cd976;},'rIQYL':function(_0x32ef75,_0x38f6d2){return _0x32ef75(_0x38f6d2);},'kWEsb':function(_0x3e3c85,_0x265c7e,_0x38b746,_0x1f041e,_0x564344){return _0x3e3c85(_0x265c7e,_0x38b746,_0x1f041e,_0x564344);},'CkLNF':_0x37da32(0x2ba),'XOYUW':function(_0x7dc221,_0x36df8b,_0x4f3985,_0x139b95,_0x5e1846){return _0x7dc221(_0x36df8b,_0x4f3985,_0x139b95,_0x5e1846);},'veItm':_0x37da32(0x1f1),'GvfMs':function(_0x1acac7,_0x5163b5){return _0x1acac7+_0x5163b5;},'WXoBU':function(_0x262934,_0x146bc5){return _0x262934(_0x146bc5);},'Clhhs':function(_0x210b27,_0x5b1887){return _0x210b27(_0x5b1887);},'nNefl':function(_0x3c1522,_0x192e71){return _0x3c1522(_0x192e71);},'hWlCx':function(_0x4d4303,_0x199ed9,_0x350562,_0x110f11,_0x2152fa){return _0x4d4303(_0x199ed9,_0x350562,_0x110f11,_0x2152fa);},'QKEQn':function(_0x38e133,_0x3dcdfb,_0x109ad9,_0x4d5379){return _0x38e133(_0x3dcdfb,_0x109ad9,_0x4d5379);},'MdFax':_0x37da32(0x27a)};Base['useColors']=![];var _0x51f3bf={'classname':_0x197f5f[_0x37da32(0x224)],'name':_0x197f5f[_0x37da32(0x245)],'time':_0x1b0737['iXAns'](_0x197f5f['duration'],0x3e8)||0x0,'platform':_0x27a783};if(_0x1b0737[_0x37da32(0x2a4)](_0x197f5f[_0x37da32(0x25e)],_0x1b0737[_0x37da32(0x27f)])){var _0xc65f96=_0x197f5f['err'],_0x19838a=!Base['hideDiff']&&Base[_0x37da32(0x24a)](_0xc65f96)?_0x1b0737[_0x37da32(0x1ee)]('\x0a',Base[_0x37da32(0x29c)](_0xc65f96['actual'],_0xc65f96[_0x37da32(0x2b9)])):'';_0x1b0737['rIQYL'](xunitWrite,_0x1b0737['kWEsb'](tag,_0x1b0737[_0x37da32(0x269)],_0x51f3bf,![],_0x1b0737[_0x37da32(0x2a6)](tag,_0x1b0737['veItm'],{},![],_0x1b0737[_0x37da32(0x1ee)](_0x1b0737[_0x37da32(0x2ca)](_0x1b0737['ZsveF'](_0x1b0737[_0x37da32(0x236)](escape,_0xc65f96['message']),_0x1b0737['WXoBU'](escape,_0x19838a)),'\x0a'),_0x1b0737[_0x37da32(0x1fd)](escape,_0xc65f96['stack'])))));}else _0x197f5f[_0x37da32(0x237)]?_0x1b0737[_0x37da32(0x288)](xunitWrite,_0x1b0737[_0x37da32(0x257)](tag,_0x1b0737[_0x37da32(0x269)],_0x51f3bf,![],_0x1b0737['QKEQn'](tag,_0x1b0737[_0x37da32(0x267)],{},!![]))):_0x1b0737[_0x37da32(0x1fd)](xunitWrite,_0x1b0737['QKEQn'](tag,_0x1b0737[_0x37da32(0x269)],_0x51f3bf,!![]));}function a32_0xdc8d(_0x38a552,_0x436cf8){const _0xa2c877=a32_0xa2c8();return a32_0xdc8d=function(_0xdc8d3d,_0x4aaf61){_0xdc8d3d=_0xdc8d3d-0x1df;let _0x367d17=_0xa2c877[_0xdc8d3d];return _0x367d17;},a32_0xdc8d(_0x38a552,_0x436cf8);};function getStats(_0x465615){const _0xc6ab36=a32_0x2cdb2d,_0xe5d1d4={};_0xe5d1d4[_0xc6ab36(0x254)]=_0xc6ab36(0x22c),_0xe5d1d4[_0xc6ab36(0x2ae)]=_0xc6ab36(0x239),_0xe5d1d4[_0xc6ab36(0x296)]=_0xc6ab36(0x238),_0xe5d1d4['DTjXA']='results';const _0x461d89=_0xe5d1d4,_0xbb97c1=Object[_0xc6ab36(0x1f7)](_0x465615);let _0x1c7377=0x0,_0x5d62ad=0x0,_0x8c75d8=0x0,_0x4e3548=0x0;const _0x18cd3e=new Set();_0xbb97c1[_0xc6ab36(0x1f8)](_0x316b4a=>{const _0x17a0f4=_0xc6ab36,_0x1a43d8={};_0x1a43d8['tTZSZ']=_0x461d89['gnZUE'],_0x1a43d8['tyPvs']=_0x461d89['naXiJ'],_0x1a43d8[_0x17a0f4(0x220)]=_0x461d89[_0x17a0f4(0x296)];const _0x284acc=_0x1a43d8;_0x465615[_0x316b4a][_0x461d89[_0x17a0f4(0x22f)]]['forEach'](_0x3e4710=>{const _0x4df766=_0x17a0f4;_0x18cd3e[_0x4df766(0x24d)](_0x3e4710[_0x284acc[_0x4df766(0x230)]]),_0x1c7377++;switch(_0x3e4710[_0x4df766(0x25e)]){case _0x284acc[_0x4df766(0x234)]:_0x8c75d8++;break;case _0x284acc['qFfHG']:_0x5d62ad++;break;default:_0x4e3548++;}});});const _0x519c0b={};return _0x519c0b['testSuites']=_0x18cd3e[_0xc6ab36(0x20b)],_0x519c0b['platforms']=_0xbb97c1,_0x519c0b['totalTests']=_0x1c7377,_0x519c0b[_0xc6ab36(0x206)]=_0x5d62ad,_0x519c0b[_0xc6ab36(0x272)]=_0x8c75d8,_0x519c0b[_0xc6ab36(0x1ea)]=_0x4e3548,_0x519c0b;}function errorJSON(_0x3811f9){const _0x2db0d6=a32_0x2cdb2d;var _0x15dbb2={};return Object['getOwnPropertyNames'](_0x3811f9)[_0x2db0d6(0x1f8)](function(_0x4e3cac){_0x15dbb2[_0x4e3cac]=_0x3811f9[_0x4e3cac];},_0x3811f9),_0x15dbb2;}function cleanCycles(_0x598170){const _0x58e172=a32_0x2cdb2d,_0x145c5f={};_0x145c5f[_0x58e172(0x2b3)]=function(_0x14e65d,_0x5b3f29){return _0x14e65d===_0x5b3f29;},_0x145c5f[_0x58e172(0x2af)]=_0x58e172(0x21e),_0x145c5f[_0x58e172(0x26f)]=function(_0x39bae6,_0x5a6e69){return _0x39bae6!==_0x5a6e69;},_0x145c5f['URacX']=function(_0xb8febf,_0x4e69a4){return _0xb8febf+_0x4e69a4;};const _0x3289e5=_0x145c5f;var _0xcd7cbd=[];return JSON[_0x58e172(0x240)](JSON[_0x58e172(0x1e6)](_0x598170,function(_0x2c9400,_0x2644ec){const _0x2439cc=_0x58e172;if(_0x3289e5[_0x2439cc(0x2b3)](typeof _0x2644ec,_0x3289e5[_0x2439cc(0x2af)])&&_0x3289e5[_0x2439cc(0x26f)](_0x2644ec,null)){if(_0x3289e5['TobDq'](_0xcd7cbd[_0x2439cc(0x2bc)](_0x2644ec),-0x1))return _0x3289e5['URacX']('',_0x2644ec);_0xcd7cbd['push'](_0x2644ec);}return _0x2644ec;}));}function clean(_0x34227f){const _0xc1f561=a32_0x2cdb2d,_0x367bb4={'CGIKQ':function(_0x333e82,_0xe3c178){return _0x333e82 instanceof _0xe3c178;},'Qoeyx':function(_0x4d98b0,_0x500657){return _0x4d98b0(_0x500657);}};var _0x39acb5=_0x34227f[_0xc1f561(0x28f)]||{};return _0x367bb4[_0xc1f561(0x260)](_0x39acb5,Error)&&(_0x39acb5=_0x367bb4[_0xc1f561(0x251)](errorJSON,_0x39acb5)),{'title':_0x34227f[_0xc1f561(0x245)],'fullTitle':_0x34227f[_0xc1f561(0x224)],'file':_0x34227f[_0xc1f561(0x235)],'duration':_0x34227f[_0xc1f561(0x265)],'currentRetry':_0x34227f[_0xc1f561(0x20a)],'speed':_0x34227f[_0xc1f561(0x2cf)],'err':_0x367bb4['Qoeyx'](cleanCycles,_0x39acb5)};}function a32_0xa2c8(){const _0x36dbf4=['call','extension','Couldn\x27t\x20write\x20xunit\x20result\x20to','IELEQ','testObservability','TobDq','cjs','platforms','testsPassed','list','reporterOptions','cpeRP','configuration','BROWSERSTACK_TEST_OBSERVABILITY_YML','rerunTests','retryTestsOnFailure','skipped','xunit','11703850ShbOkV','parseFileNames','403412JbrfnY','onMar','Total\x20Platforms:\x20','reporter','includeTagsInTestingScope','fireFunnelTestEvent','tcqRs','Running\x20your\x20mocha\x20tests\x20across\x20','bstack:options','maxRetries','nNefl','tltkq','error','bdhrz','CgsKt','Mocha\x20Tests','Tests:\x20\x20\x20\x20\x20\x20\x20','err','xcMuF','length','finally','isTestObservabilitySession','then','files','ZUAsQ','doYxW','../../helpers/helper','DlVpI','excludeTagsInTestingScope','yucHF','generateDiff','WnoKF','wpXhh','CZgma','errorMessage','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','FaSYo','../test-runner','OEyKs','writeFileSync','XOYUW','map','../../helpers/central-scanner/constants','getErrorMessageFromResults','PsvRj','config','cliConfig','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','naXiJ','btlok','OVXPG','</testsuite>','3AgYWfw','BRXyp','diLwy','****\x20FAILURES\x20****','push','../../helpers/performance/constants','has','expected','testcase','finalExecution','indexOf','pending','proxySettings','BROWSERSTACK_RERUN_TESTS','prototype','Qfohn','titlePath','join','xUSMq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TUNmC','FxsPk','getPlatformName','whqhk','GvfMs','hqJKd','GxSVN','handleApp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','speed','../utils/clientTroubleshootingService','getUserWorkerCount','jzkJF','mpxjp','assign','../../helpers/percy/utils','parallelsPerPlatform','WEbsA','OMPxO','BROWSERSTACK_GRR_US_HUB_URL','testSuites','229380MicQic','Writing\x20json\x20result\x20to\x20file','spec','BUEAs','3347832CUAgBG','MOCHA','winstonLogger','Listing\x20all\x20the\x20failures','CcwbL','isUndefined','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getTCGConfigFilePaths','9QagkgG','log','yellow','Writing\x20xunit\x20result\x20to\x20file','Printing\x20stats\x20of\x20tests','consoleLog','dywAp','stringify','platform','printBuildLink','WDskk','testsPending','yhqxQ','kXdit','get','ZsveF','notifyUpdate','validPlatformsPresent','failure','jkYNG','skFlu','dThIk','shouldReRunObservabilityTests','NcDjP','keys','forEach','../../helpers/test-observability/constants','azGNC','json','retries','Clhhs','FjwVc','../../helpers/performance/performance-tester','FRAMEWORKS','7vgDEHn','RZIqv','dwkzK','bgRedBright','chalk','testsFailed','stack','BPkSN','framework','currentRetry','size','getHubUrl','aILrI','error\x20removing\x20tcg\x20config\x20file','\x0a\x0a\x0a','includeEncodedExtension','Total\x20Suites:\x20','accessibility','results','PNTop','NRQXR','start','3014682VhYeNo','GBYoQ','iBiVr','aaBcp','SDK_CLEANUP','exitCode','VPfur','object','mocha/lib/reporters/base.js','qFfHG','SDKTestSuccessful','Now,\x20showing\x20logs\x20from\x20mocha','1733844frKgAq','fullTitle','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','doc','\x20platforms','zjBvV','mocha','2431FSTnHP','reporter-option','suite','env','recursive','DTjXA','tTZSZ','\x20total','capability','debug','tyPvs','file','rIQYL','isPending','failed','passed','prepareCapabilities','accessibilityOptions','saTcz','SRLyZ','setupTCGAuth','EhJTV','parse','NDKAH','rmdirSync','EVENTS','logLevel','title','green','stats','ImWQt','titlePathV','showDiff','output','Nsaud','add','unlinkSync','passes','isBrowserstackInfra','Qoeyx','1496777HBSIce','JVhqI','gnZUE','launchBuild','SjgTn','hWlCx','bold','useW3C','../utils/constants','sort','isNotUndefined','mBAJs','state','Running\x20your\x20mocha\x20tests','CGIKQ','info','35GIkfxY','UEyUi','SmRBP','duration','../../helpers/test-observability/utils','MdFax','failures','CkLNF'];a32_0xa2c8=function(){return _0x36dbf4;};return a32_0xa2c8();}function printStats(_0x44f4df,_0x290439='spec',_0x412fac={}){const _0x3f5c2d=a32_0x2cdb2d,_0xe7244c={'mpxjp':function(_0x1eea6c,_0x2e0435){return _0x1eea6c(_0x2e0435);},'WnoKF':function(_0x109960,_0x3d4a2a){return _0x109960===_0x3d4a2a;},'OMPxO':_0x3f5c2d(0x239),'tltkq':_0x3f5c2d(0x24f),'dywAp':function(_0x4c8b5f,_0xd3e775){return _0x4c8b5f===_0xd3e775;},'xcMuF':_0x3f5c2d(0x238),'mShKw':_0x3f5c2d(0x268),'DtaNZ':_0x3f5c2d(0x2bd),'cpeRP':function(_0x3d8707,_0x5e3c4e){return _0x3d8707(_0x5e3c4e);},'BUEAs':_0x3f5c2d(0x213),'GBYoQ':function(_0x489a34,_0x234683){return _0x489a34*_0x234683;},'Qfohn':function(_0x1f1c2f,_0x1ab8ce,_0x57929b){return _0x1f1c2f(_0x1ab8ce,_0x57929b);},'SjgTn':function(_0x28b04f,_0x4be129){return _0x28b04f===_0x4be129;},'CgsKt':function(_0xcad66b,_0x4441fb){return _0xcad66b>_0x4441fb;},'WDskk':function(_0x4e0cc4){return _0x4e0cc4();},'whqhk':_0x3f5c2d(0x226),'BPkSN':function(_0x4fc09d,_0x36ef8c){return _0x4fc09d(_0x36ef8c);},'FxsPk':'Setting\x20non\x20exit\x20code\x20for\x20failures','jzkJF':_0x3f5c2d(0x1e3),'FjwVc':function(_0x414cc6,_0xa132c8){return _0x414cc6+_0xa132c8;},'NcDjP':_0x3f5c2d(0x280),'doYxW':function(_0x2fd23d,_0x4d6623){return _0x2fd23d+_0x4d6623;},'UYoTV':_0x3f5c2d(0x211),'hZhnd':function(_0x30c4c3,_0x17be47){return _0x30c4c3+_0x17be47;},'JVhqI':_0x3f5c2d(0x28e),'jkYNG':function(_0x5a11f9,_0x2f3daa){return _0x5a11f9+_0x2f3daa;},'FOjwe':function(_0x40a323,_0x38f052){return _0x40a323+_0x38f052;},'kXdit':_0x3f5c2d(0x20f),'hzTve':function(_0x1999c1,_0x21b985){return _0x1999c1===_0x21b985;},'shhMp':_0x3f5c2d(0x1fb),'iBiVr':_0x3f5c2d(0x2dc),'azGNC':'Couldn\x27t\x20write\x20json\x20result\x20to','jMfOc':_0x3f5c2d(0x2a1),'tcqRs':function(_0x595b30,_0x3a2b8f){return _0x595b30===_0x3a2b8f;},'uPAtu':_0x3f5c2d(0x27b),'WEbsA':_0x3f5c2d(0x28d),'fGnHQ':function(_0x184859,_0x42900b){return _0x184859||_0x42900b;},'skFlu':function(_0x357162,_0x59832a,_0x1c15d1,_0x2670ff){return _0x357162(_0x59832a,_0x1c15d1,_0x2670ff);},'AUfSi':'testsuite','DlVpI':function(_0x4d35ce,_0x3ba1df){return _0x4d35ce-_0x3ba1df;},'RZIqv':function(_0x29094b,_0x9dda59){return _0x29094b/_0x9dda59;},'EhJTV':_0x3f5c2d(0x2b1),'Nsaud':_0x3f5c2d(0x1e2),'VPfur':_0x3f5c2d(0x26c),'NRQXR':_0x3f5c2d(0x2ad),'diLwy':_0x3f5c2d(0x2e2),'IvxTV':_0x3f5c2d(0x2b5)};if(_0xe7244c[_0x3f5c2d(0x256)](_0x290439,_0xe7244c[_0x3f5c2d(0x2c9)]))return;const _0x3d268e=0x0,_0x4347a7=()=>{const _0x43571b=_0x3f5c2d;return _0xe7244c[_0x43571b(0x2d3)](Array,_0x3d268e)[_0x43571b(0x2c3)]('\x20\x20');},{testSuites:_0x1b87ca,platforms:_0x593c3b,totalTests:_0x53bb22,testsFailed:_0xae9c9f,testsPassed:_0x57987b,testsPending:_0x5d5a64}=_0xe7244c[_0x3f5c2d(0x208)](getStats,_0x44f4df);_0xe7244c[_0x3f5c2d(0x28c)](_0xae9c9f,0x0)&&(logger[_0x3f5c2d(0x233)](_0xe7244c[_0x3f5c2d(0x2c7)]),process[_0x3f5c2d(0x21c)]=Math['min'](_0xae9c9f,0xff));logger[_0x3f5c2d(0x233)](_0xe7244c[_0x3f5c2d(0x2d2)]);const _0xad611e=''+_0xe7244c[_0x3f5c2d(0x1fe)](chalk[_0x3f5c2d(0x258)](_0xe7244c[_0x3f5c2d(0x1f6)]),_0x593c3b[_0x3f5c2d(0x291)]),_0x1d5d0d=''+_0xe7244c[_0x3f5c2d(0x297)](chalk['bold'](_0xe7244c['UYoTV']),_0x1b87ca),_0x2a9dc8=''+_0xe7244c[_0x3f5c2d(0x297)](_0xe7244c[_0x3f5c2d(0x297)](_0xe7244c['hZhnd'](chalk[_0x3f5c2d(0x258)](_0xe7244c[_0x3f5c2d(0x253)]),_0xe7244c[_0x3f5c2d(0x28c)](_0xae9c9f,0x0)?chalk[_0x3f5c2d(0x258)]['red'](_0xae9c9f+'\x20failed')+',\x20':''),_0xe7244c[_0x3f5c2d(0x28c)](_0x5d5a64,0x0)?chalk['bold'][_0x3f5c2d(0x1e1)](_0x5d5a64+'\x20skipped')+',\x20':''),_0xe7244c[_0x3f5c2d(0x28c)](_0x57987b,0x0)?chalk[_0x3f5c2d(0x258)][_0x3f5c2d(0x246)](_0x57987b+'\x20passed')+',\x20':'')+_0x53bb22+_0x3f5c2d(0x231);console[_0x3f5c2d(0x1e0)](_0xe7244c[_0x3f5c2d(0x1f2)](_0xe7244c[_0x3f5c2d(0x1f2)](_0xe7244c['jkYNG'](_0xe7244c['FOjwe'](_0xe7244c['FOjwe'](_0xe7244c[_0x3f5c2d(0x1ec)],_0xad611e),'\x0a'),_0x1d5d0d),'\x0a'),_0x2a9dc8));if(_0xe7244c['hzTve'](_0x290439,_0xe7244c['shhMp'])){const _0x176d40={},_0x281f59={};_0x281f59[_0x3f5c2d(0x2da)]=_0x1b87ca,_0x281f59[_0x3f5c2d(0x271)]=_0x593c3b,_0x281f59[_0x3f5c2d(0x206)]=_0xae9c9f,_0x281f59[_0x3f5c2d(0x272)]=_0x57987b,_0x281f59[_0x3f5c2d(0x1ea)]=_0x5d5a64,_0x176d40[_0x3f5c2d(0x247)]=_0x281f59,_0x593c3b[_0x3f5c2d(0x1f8)](_0x3cfe5e=>{const _0x290bc9=_0x3f5c2d;_0x176d40[_0x3cfe5e]={'pending':[],'failures':[],'passes':[],'tests':_0x44f4df[_0x3cfe5e][_0xe7244c[_0x290bc9(0x2de)]][_0x290bc9(0x2a7)](clean)},_0x44f4df[_0x3cfe5e][_0xe7244c[_0x290bc9(0x2de)]][_0x290bc9(0x1f8)](_0x42c283=>{const _0x9980fb=_0x290bc9;if(_0xe7244c[_0x9980fb(0x29d)](_0x42c283[_0x9980fb(0x25e)],_0xe7244c['OMPxO']))_0x176d40[_0x3cfe5e][_0xe7244c[_0x9980fb(0x289)]]['push'](_0xe7244c[_0x9980fb(0x2d3)](clean,_0x42c283));else _0xe7244c[_0x9980fb(0x1e5)](_0x42c283['state'],_0xe7244c[_0x9980fb(0x290)])?_0x176d40[_0x3cfe5e][_0xe7244c['mShKw']][_0x9980fb(0x2b6)](_0xe7244c[_0x9980fb(0x2d3)](clean,_0x42c283)):_0x176d40[_0x3cfe5e][_0xe7244c['DtaNZ']]['push'](_0xe7244c[_0x9980fb(0x275)](clean,_0x42c283));});});if(_0x412fac[_0x3f5c2d(0x24b)])try{logger[_0x3f5c2d(0x233)](_0xe7244c[_0x3f5c2d(0x219)],_0x412fac[_0x3f5c2d(0x24b)]),fs['writeFileSync'](_0x412fac['output'],JSON[_0x3f5c2d(0x1e6)](_0x176d40,null,0x3));}catch(_0x4fbfd4){logger['error'](_0xe7244c[_0x3f5c2d(0x1fa)],_0x412fac[_0x3f5c2d(0x24b)]),logger['debug'](_0x4fbfd4);}else logger['debug'](_0xe7244c['jMfOc']),console[_0x3f5c2d(0x1e0)](JSON['stringify'](_0x176d40,null,0x3));}else{if(_0xe7244c[_0x3f5c2d(0x284)](_0x290439,_0xe7244c['uPAtu'])){let _0x5215b4;const _0x4b95f4=_0xe7244c[_0x3f5c2d(0x2d7)];_0x412fac&&(_0x5215b4=_0x412fac['suiteName']);_0x5215b4=_0xe7244c['fGnHQ'](_0x5215b4,_0x4b95f4);let _0x2d0fe5=0x0,_0x2cdfc1=0x0,_0x14180a=0x0,_0x31a7e6=0x0;_0x593c3b[_0x3f5c2d(0x1f8)](_0x1646ef=>{const _0x42d90f=_0x3f5c2d,_0x44208b={'dThIk':function(_0x902860,_0x2bf0ed){return _0xe7244c['WnoKF'](_0x902860,_0x2bf0ed);},'IELEQ':_0xe7244c[_0x42d90f(0x2d8)],'dwkzK':function(_0x2e369a,_0x44712b){return _0xe7244c['dywAp'](_0x2e369a,_0x44712b);},'CZgma':_0xe7244c['xcMuF'],'Hcsvp':function(_0x2e18dd,_0x41f6fd){const _0x2187d9=_0x42d90f;return _0xe7244c[_0x2187d9(0x218)](_0x2e18dd,_0x41f6fd);}};_0x44f4df[_0x1646ef][_0xe7244c[_0x42d90f(0x2de)]]['forEach'](_0x512287=>{const _0x4ac4b0=_0x42d90f;if(_0x44208b[_0x4ac4b0(0x1f4)](_0x512287['state'],_0x44208b[_0x4ac4b0(0x26d)]))_0x2d0fe5++;else _0x44208b[_0x4ac4b0(0x203)](_0x512287['state'],_0x44208b[_0x4ac4b0(0x29f)])&&_0x2cdfc1++;_0x14180a++,_0x31a7e6+=_0x44208b['Hcsvp'](_0x512287[_0x4ac4b0(0x265)],0x1);});}),_0xe7244c[_0x3f5c2d(0x275)](xunitWrite,_0xe7244c[_0x3f5c2d(0x1f3)](tag,_0xe7244c['AUfSi'],{'name':_0x5215b4,'tests':_0x14180a,'failures':0x0,'errors':_0x2cdfc1,'skipped':_0xe7244c['DlVpI'](_0xe7244c[_0x3f5c2d(0x299)](_0x14180a,_0x2cdfc1),_0x2d0fe5),'timestamp':new Date()['toUTCString'](),'time':_0xe7244c[_0x3f5c2d(0x202)](_0x31a7e6,0x3e8)||0x0},![])),_0x593c3b['forEach'](_0xe4c9c9=>{const _0x20c99a=_0x3f5c2d;_0x44f4df[_0xe4c9c9][_0xe7244c[_0x20c99a(0x2de)]][_0x20c99a(0x1f8)](_0x560aaa=>{const _0x816805=_0x20c99a;_0xe7244c[_0x816805(0x2c1)](xunitTest,_0x560aaa,_0xe4c9c9);});}),_0xe7244c[_0x3f5c2d(0x2d3)](xunitWrite,_0xe7244c[_0x3f5c2d(0x23f)]);if(_0x412fac[_0x3f5c2d(0x24b)])try{logger['debug'](_0xe7244c[_0x3f5c2d(0x24c)],_0x412fac[_0x3f5c2d(0x24b)]),fs[_0x3f5c2d(0x2a5)](_0x412fac[_0x3f5c2d(0x24b)],xunitContent);}catch(_0x4b4b94){logger[_0x3f5c2d(0x28a)](_0xe7244c[_0x3f5c2d(0x21d)],_0x412fac[_0x3f5c2d(0x24b)]),logger[_0x3f5c2d(0x233)](_0x4b4b94);}else logger[_0x3f5c2d(0x233)](_0xe7244c[_0x3f5c2d(0x215)]),console[_0x3f5c2d(0x1e0)](xunitContent);}else{if(_0xe7244c['hzTve'](_0xae9c9f,0x0))return;console['log'](),logger[_0x3f5c2d(0x233)](_0xe7244c[_0x3f5c2d(0x2b4)]),console[_0x3f5c2d(0x1e0)](chalk['bold'][_0x3f5c2d(0x204)](_0xe7244c['IvxTV'])),_0x593c3b[_0x3f5c2d(0x1f8)](_0x3ac588=>{const _0x54b70b=_0x3f5c2d,_0x1da73a={'ImWQt':function(_0x38f113,_0x17ff24){return _0xe7244c['SjgTn'](_0x38f113,_0x17ff24);},'aaBcp':_0xe7244c['xcMuF']},_0x3b0d0e=[];_0x44f4df[_0x3ac588][_0xe7244c[_0x54b70b(0x2de)]][_0x54b70b(0x1f8)](_0x10d288=>{const _0x204c0c=_0x54b70b;_0x1da73a[_0x204c0c(0x248)](_0x10d288[_0x204c0c(0x25e)],_0x1da73a[_0x204c0c(0x21a)])&&(_0x10d288[_0x204c0c(0x2c2)]=()=>_0x10d288[_0x204c0c(0x249)],_0x3b0d0e[_0x204c0c(0x2b6)](_0x10d288));}),_0xe7244c['CgsKt'](_0x3b0d0e[_0x54b70b(0x291)],0x0)&&(Base['consoleLog'](),Base[_0x54b70b(0x1e4)](_0xe7244c[_0x54b70b(0x1e9)](_0x4347a7),chalk['bold']['bgBlueBright'](_0x3ac588)),Base[_0x54b70b(0x273)](_0x3b0d0e));});}}}async function run(_0x3680aa,_0xeaddb9,_0x5ab393){const _0x4411cd=a32_0x2cdb2d,_0x657c84={'FaSYo':function(_0x4a2342,_0x206805,_0x447e67,_0x1ef2cd){return _0x4a2342(_0x206805,_0x447e67,_0x1ef2cd);},'OVXPG':_0x4411cd(0x22b),'oJYMP':_0x4411cd(0x20e),'mBAJs':_0x4411cd(0x221),'vBywV':'mocha','NDKAH':function(_0x2dff32,_0x4b1d37){return _0x2dff32!=_0x4b1d37;},'saTcz':_0x4411cd(0x270),'vhPdN':'mjs','xUSMq':'test','hqJKd':_0x4411cd(0x278),'PNTop':function(_0x190bd3,_0x2374f2){return _0x190bd3(_0x2374f2);},'mTpAi':function(_0x108cc7,_0x38d036,_0x57da71){return _0x108cc7(_0x38d036,_0x57da71);},'yucHF':_0x4411cd(0x295),'wQjyZ':_0x4411cd(0x282),'TUNmC':_0x4411cd(0x29a),'bdhrz':_0x4411cd(0x210),'SmRBP':_0x4411cd(0x25f),'xZUlr':_0x4411cd(0x222),'GxSVN':function(_0x2a469e,_0x56c3a2,_0x498cf5,_0x5669a0){return _0x2a469e(_0x56c3a2,_0x498cf5,_0x5669a0);},'dLJGW':function(_0x53eea8,_0x3da217){return _0x53eea8*_0x3da217;},'PsvRj':function(_0x407027,_0xc9e3a9){return _0x407027(_0xc9e3a9);},'IfoHu':function(_0x41d05c,_0x46e7ea){return _0x41d05c!==_0x46e7ea;}};helper['setUserConfigPath'](_0x5ab393[_0x4411cd(0x209)],_0x3680aa),await _0x5ab393['initialize'](_0x3680aa);helper[_0x4411cd(0x250)]()?await helper[_0x4411cd(0x2cd)](_0x5ab393[_0x4411cd(0x2ab)]):await _0x5ab393[_0x4411cd(0x23e)]();const _0x2fc94d=[];let _0x196d89=[];if(!_0x5ab393[_0x4411cd(0x2ab)])return;!helper[_0x4411cd(0x2e4)](_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x23b)])&&(process[_0x4411cd(0x22d)][_0x4411cd(0x2ce)]=JSON[_0x4411cd(0x1e6)](_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x23b)]));const _0x471dee=await TestHubHandler[_0x4411cd(0x255)](FRAMEWORKS['MOCHA'],_0x5ab393);_0x657c84[_0x4411cd(0x241)](_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x26e)],null)&&(process[_0x4411cd(0x22d)][_0x4411cd(0x277)]=_0x5ab393['config']['testObservability']);!helper[_0x4411cd(0x2e4)](_0x5ab393[_0x4411cd(0x2ab)]['accessibility'])&&(process['env'][_0x4411cd(0x2c5)]=_0x5ab393[_0x4411cd(0x2ab)]['accessibility']);const {extension:extension=['js',_0x657c84[_0x4411cd(0x23c)],_0x657c84['vhPdN']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x657c84[_0x4411cd(0x2c4)]]}=_0x3680aa,_0x11fa6a={..._0x3680aa};_0x11fa6a['rootHooks']=null;const _0x3a1aa9=_0x11fa6a;let _0x934ca8;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x4411cd(0x1f5)]()){let _0x5ce168=process[_0x4411cd(0x22d)][_0x4411cd(0x2bf)];!helper[_0x4411cd(0x2e4)](_0x5ab393['cliConfig'])&&_0x5ab393[_0x4411cd(0x2ac)][_0x4411cd(0x2b8)](_0x657c84[_0x4411cd(0x2cb)])&&(_0x5ce168=_0x5ab393[_0x4411cd(0x2ac)][_0x4411cd(0x1ed)](_0x657c84['hqJKd'])),_0x934ca8=testOpsHelper[_0x4411cd(0x27d)](_0x5ce168);}if(helper[_0x4411cd(0x2e4)](_0x934ca8)){const _0x45595d={};_0x45595d['ignore']=ignore,_0x45595d[_0x4411cd(0x26b)]=extension,_0x45595d[_0x4411cd(0x235)]=file,_0x45595d[_0x4411cd(0x22e)]=recursive,_0x45595d[_0x4411cd(0x25b)]=sort,_0x45595d[_0x4411cd(0x2dd)]=spec,_0x934ca8=_0x657c84[_0x4411cd(0x214)](collectFiles,_0x45595d),_0x657c84['mTpAi'](nestedKeyValue,_0x934ca8,[_0x657c84[_0x4411cd(0x29b)]])&&(_0x934ca8=_0x934ca8[_0x4411cd(0x295)]);}const _0x1344c3=helper['parseTestOrchestrationOptions'](_0x5ab393['config']);!helper['isEmpty'](_0x1344c3)&&helper[_0x4411cd(0x25c)](_0x1344c3['retryTestsOnFailure'])&&(_0x3a1aa9[_0x4411cd(0x1fc)]=_0x1344c3[_0x4411cd(0x279)][_0x4411cd(0x287)]);if(!helper[_0x4411cd(0x250)]()){const _0x408e14=0x1,_0x4f85c5={..._0x3a1aa9};_0x4f85c5[_0x4411cd(0x2dd)]=[..._0x934ca8],_0x2fc94d[_0x4411cd(0x2b6)]({'mochaOpts':_0x4f85c5,'configuration':{'platform':os[_0x4411cd(0x1e7)]()}});if(_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x212)]){const _0x5b3cd5={};_0x5b3cd5[_0x4411cd(0x212)]=!![];const _0x52671e=_0x5b3cd5;_0x657c84[_0x4411cd(0x241)](_0x5ab393[_0x4411cd(0x2ab)]['accessibilityOptions'],null)&&(_0x52671e['accessibilityOptions']=_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x23b)],delete _0x52671e[_0x4411cd(0x23b)][_0x657c84['wQjyZ']],delete _0x52671e[_0x4411cd(0x23b)][_0x657c84[_0x4411cd(0x2c6)]],delete _0x52671e[_0x4411cd(0x23b)][_0x657c84[_0x4411cd(0x28b)]]);const _0xca1bc0={};_0xca1bc0[_0x4411cd(0x286)]=_0x52671e,_0x2fc94d[0x0][_0x4411cd(0x276)][_0x4411cd(0x232)]=_0xca1bc0;}logger[_0x4411cd(0x261)](_0x657c84[_0x4411cd(0x264)]),logger['info'](_0x657c84['xZUlr']),_0x657c84['GxSVN'](parallelTestRun,_0x2fc94d,_0x408e14,_0x5ab393)[_0x4411cd(0x294)](_0x32a359=>{const _0x5cfe31=_0x4411cd;PerformanceTester[_0x5cfe31(0x216)](PerformanceEvents['SDK_CLEANUP']),_0x657c84[_0x5cfe31(0x2a2)](printStats,_0x32a359,_0x3680aa[_0x5cfe31(0x281)],_0x3680aa[_0x5cfe31(0x274)]||_0x3680aa[_0x657c84[_0x5cfe31(0x2b0)]]);})[_0x4411cd(0x292)](()=>{const _0x44c3af=_0x4411cd;PerformanceTester[_0x44c3af(0x216)](PerformanceEvents[_0x44c3af(0x21b)]);try{const {browserstackFolderPath:_0x590cd6,tcgConfigPath:_0x34ce0b}=helper[_0x44c3af(0x2e6)]();fs[_0x44c3af(0x24e)](_0x34ce0b),fs[_0x44c3af(0x242)](_0x590cd6);}catch(_0x194b57){logger['debug'](_0x657c84['oJYMP'],_0x194b57);}try{utilities[_0x44c3af(0x283)](_0x657c84[_0x44c3af(0x25d)],{},_0x5ab393['config'],_0x5ab393[_0x44c3af(0x209)]);}catch(_0x266c43){logger['debug'](_0x44c3af(0x2e5)+_0x266c43[_0x44c3af(0x207)]);}try{helper[_0x44c3af(0x1ef)]();}catch(_0x1508aa){logger[_0x44c3af(0x233)](_0x44c3af(0x225)+_0x1508aa);}testOpsHelper['printBuildLink']();});}else{const _0x5e4f4d=helper[_0x4411cd(0x259)](_0x5ab393[_0x4411cd(0x2ab)]);let _0x19bfe5=helper[_0x4411cd(0x20c)](_0x5ab393[_0x4411cd(0x2ab)]);_0x196d89=helper[_0x4411cd(0x23a)](_0x5ab393[_0x4411cd(0x2ab)],_0x5e4f4d,constants[_0x4411cd(0x200)][_0x4411cd(0x2e0)]);helper['getCentralUser']()['central_scanner']&&(_0x19bfe5=centralScannerConstants[_0x4411cd(0x2d9)]);let _0x4956f1;const _0x35fef2=_0x5ab393[_0x4411cd(0x2ab)]['parallelsPerPlatform']||helper[_0x4411cd(0x2d1)](_0x3680aa,_0xeaddb9,_0x5ab393[_0x4411cd(0x2ab)],constants[_0x4411cd(0x200)][_0x4411cd(0x2e0)])||0x1;helper[_0x4411cd(0x1f0)](_0x5ab393[_0x4411cd(0x2ab)])?_0x4956f1=_0x657c84['dLJGW'](_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x271)][_0x4411cd(0x291)],_0x35fef2):_0x4956f1=_0x35fef2;const _0x4c958c=_0x657c84[_0x4411cd(0x2aa)](getPercyOptions,_0x5ab393[_0x4411cd(0x2ab)]);if(_0x657c84['IfoHu'](_0x5ab393[_0x4411cd(0x2ab)][_0x4411cd(0x2d6)],0x1))_0x934ca8[_0x4411cd(0x1f8)](_0x178fbb=>{const _0x21d5db=_0x4411cd,_0x38fb14=[];_0x196d89[_0x21d5db(0x1f8)]((_0x14ff6d,_0x310271)=>{const _0x36ac93=_0x21d5db,_0x23bb22={};_0x23bb22['spec']=[_0x178fbb],_0x38fb14[_0x36ac93(0x2b6)]({'mochaOpts':Object[_0x36ac93(0x2d4)]({},_0x3a1aa9,_0x23bb22),'configuration':{'server':_0x19bfe5,'capability':_0x14ff6d,'proxySettings':_0x5ab393[_0x36ac93(0x2ab)][_0x36ac93(0x2be)],'platform':helper[_0x36ac93(0x2c8)](_0x14ff6d),'browserStackLogLevel':_0x5ab393[_0x36ac93(0x2ab)][_0x36ac93(0x244)],'platformIndex':_0x310271,'browserStackPercyOptions':_0x4c958c,'platformCaps':Object['assign']({'index':_0x310271},_0x5ab393[_0x36ac93(0x2ab)][_0x36ac93(0x271)][_0x310271])}});}),_0x2fc94d['push'](..._0x38fb14);});else{const _0x2afd3a=[];_0x196d89[_0x4411cd(0x1f8)]((_0x2130cc,_0x4ce417)=>{const _0x1eb39f=_0x4411cd;let _0x5f5136=Object[_0x1eb39f(0x2d4)]({},_0x3a1aa9);testOpsHelper[_0x1eb39f(0x293)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x5f5136={..._0x5f5136,'spec':[..._0x934ca8]}),_0x2afd3a[_0x1eb39f(0x2b6)]({'mochaOpts':_0x5f5136,'configuration':{'server':_0x19bfe5,'capability':_0x2130cc,'proxySettings':_0x5ab393[_0x1eb39f(0x2ab)][_0x1eb39f(0x2be)],'platform':helper[_0x1eb39f(0x2c8)](_0x2130cc),'browserStackLogLevel':_0x5ab393['config'][_0x1eb39f(0x244)],'platformIndex':_0x4ce417,'browserStackPercyOptions':_0x4c958c,'platformCaps':Object['assign']({'index':_0x4ce417},_0x5ab393[_0x1eb39f(0x2ab)][_0x1eb39f(0x271)][_0x4ce417])}});}),_0x2fc94d[_0x4411cd(0x2b6)](..._0x2afd3a);}logger[_0x4411cd(0x261)](_0x4411cd(0x285)+_0x5ab393[_0x4411cd(0x2ab)]['platforms'][_0x4411cd(0x291)]+_0x4411cd(0x227)),logger['info'](_0x657c84['xZUlr']);let _0xc25a8d;_0x657c84[_0x4411cd(0x2cc)](parallelTestRun,_0x2fc94d,_0x4956f1,_0x5ab393)[_0x4411cd(0x294)](_0x421a5e=>{const _0x58fd5f=_0x4411cd;PerformanceTester[_0x58fd5f(0x216)](PerformanceEvents[_0x58fd5f(0x21b)]),_0xc25a8d=_0x421a5e,_0x657c84[_0x58fd5f(0x2a2)](printStats,_0x421a5e,_0x3680aa[_0x58fd5f(0x281)],_0x3680aa[_0x58fd5f(0x274)]||_0x3680aa[_0x657c84[_0x58fd5f(0x2b0)]]);})['finally'](async()=>{const _0x1b7708=_0x4411cd;PerformanceTester['start'](PerformanceEvents[_0x1b7708(0x21b)]),_0x5ab393[_0x1b7708(0x2a0)]=helper[_0x1b7708(0x2a9)](_0xc25a8d,_0x657c84['vBywV']),await utilities[_0x1b7708(0x2bb)](_0x5ab393),testOpsHelper[_0x1b7708(0x1e8)]();});}}module['exports']=run;
|
|
2
|
+
'use strict';const a32_0x2dbbf8=a32_0xb73e;(function(_0x270569,_0x4762c8){const _0x373187=a32_0xb73e,_0x28d5c8=_0x270569();while(!![]){try{const _0x258831=-parseInt(_0x373187(0x1c2))/0x1*(parseInt(_0x373187(0x1f2))/0x2)+-parseInt(_0x373187(0x191))/0x3+-parseInt(_0x373187(0x1af))/0x4*(parseInt(_0x373187(0x1f8))/0x5)+parseInt(_0x373187(0x174))/0x6*(-parseInt(_0x373187(0x1e3))/0x7)+-parseInt(_0x373187(0x18a))/0x8*(-parseInt(_0x373187(0x1ab))/0x9)+-parseInt(_0x373187(0x248))/0xa+parseInt(_0x373187(0x1f1))/0xb*(parseInt(_0x373187(0x216))/0xc);if(_0x258831===_0x4762c8)break;else _0x28d5c8['push'](_0x28d5c8['shift']());}catch(_0x558e0a){_0x28d5c8['push'](_0x28d5c8['shift']());}}}(a32_0x16ef,0xef2f2));const chalk=require(a32_0x2dbbf8(0x25a)),logger=require(a32_0x2dbbf8(0x15a))[a32_0x2dbbf8(0x1df)],helper=require(a32_0x2dbbf8(0x156)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a32_0x2dbbf8(0x156)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a32_0x2dbbf8(0x1b2),a32_0x2dbbf8(0x195)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a32_0x2dbbf8(0x195)),constants=require(a32_0x2dbbf8(0x24e)),PerformanceTester=require(a32_0x2dbbf8(0x1ac)),PerformanceEvents=require(a32_0x2dbbf8(0x258))[a32_0x2dbbf8(0x21d)],centralScannerConstants=require(a32_0x2dbbf8(0x1fa)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a32_0x2dbbf8(0x1d8)),ClientTroubleShootingService=require(a32_0x2dbbf8(0x194));function tag(_0x4fa88e,_0x10dfb7,_0x245471,_0x21f878){const _0x5e1968=a32_0x2dbbf8,_0x2585c8={'umPao':function(_0x8f053f,_0x47eb82){return _0x8f053f+_0x47eb82;},'fqIai':function(_0x3e0347,_0x419579){return _0x3e0347+_0x419579;},'DRTps':function(_0x5edd41,_0x434fbd){return _0x5edd41(_0x434fbd);},'gwPar':function(_0x3d4894,_0x2bea2b){return _0x3d4894+_0x2bea2b;},'YeHSe':function(_0x464a55,_0x319baf){return _0x464a55+_0x319baf;},'mlQPq':function(_0x4e7e2e,_0x9cfa6d){return _0x4e7e2e+_0x9cfa6d;},'XtAfB':function(_0x25b6fb,_0x4c7f99){return _0x25b6fb+_0x4c7f99;}},_0x2f2501=_0x245471?'/>':'>',_0x552658=[];let _0x20b44a;for(const _0x1a4fae in _0x10dfb7){Object[_0x5e1968(0x192)][_0x5e1968(0x1ae)]['call'](_0x10dfb7,_0x1a4fae)&&_0x552658[_0x5e1968(0x206)](_0x2585c8[_0x5e1968(0x164)](_0x2585c8[_0x5e1968(0x23a)](_0x2585c8[_0x5e1968(0x164)](_0x1a4fae,'=\x22'),_0x2585c8[_0x5e1968(0x219)](escape,_0x10dfb7[_0x1a4fae])),'\x22'));}return _0x20b44a=_0x2585c8[_0x5e1968(0x1f3)](_0x2585c8['gwPar'](_0x2585c8[_0x5e1968(0x23a)]('<',_0x4fa88e),_0x552658[_0x5e1968(0x1e2)]?_0x2585c8[_0x5e1968(0x17d)]('\x20',_0x552658[_0x5e1968(0x1c1)]('\x20')):''),_0x2f2501),_0x21f878&&(_0x20b44a+=_0x2585c8['gwPar'](_0x2585c8[_0x5e1968(0x169)](_0x2585c8[_0x5e1968(0x213)](_0x21f878,'</'),_0x4fa88e),_0x2f2501)),_0x20b44a;}let xunitContent='';function xunitWrite(_0x3b44a7){xunitContent+=_0x3b44a7;}function xunitTest(_0xc0a1ee,_0x546665){const _0xcee799=a32_0x2dbbf8,_0x823b={'qgjIx':function(_0x49baae,_0x322fb6){return _0x49baae/_0x322fb6;},'aqbGT':function(_0x5d96fc,_0xc6701d){return _0x5d96fc===_0xc6701d;},'QnSBa':_0xcee799(0x241),'Ntecx':function(_0x52e28f,_0x5be11b){return _0x52e28f+_0x5be11b;},'NuAns':function(_0x4391bc,_0x1a2c30){return _0x4391bc(_0x1a2c30);},'wZIhI':function(_0x38724c,_0x2a7ca8,_0x1a7bc4,_0x4caa85,_0x4901f8){return _0x38724c(_0x2a7ca8,_0x1a7bc4,_0x4caa85,_0x4901f8);},'bNFRd':_0xcee799(0x24f),'MzTHO':_0xcee799(0x158),'JCcvW':function(_0x549a46,_0x30d9bf){return _0x549a46+_0x30d9bf;},'EGmVM':function(_0x4f7a81,_0x18c3cf){return _0x4f7a81(_0x18c3cf);},'eWZYT':function(_0x1113fb,_0x50eac6,_0x50b56a,_0x26cf19,_0x20e013){return _0x1113fb(_0x50eac6,_0x50b56a,_0x26cf19,_0x20e013);},'oKWHE':function(_0x41abd1,_0x5441cb,_0x3da623,_0x2581d4){return _0x41abd1(_0x5441cb,_0x3da623,_0x2581d4);},'hwkwv':'skipped','dTyCJ':function(_0x53ad4b,_0x4a6502){return _0x53ad4b(_0x4a6502);}};Base[_0xcee799(0x1a0)]=![];var _0x28f6fc={'classname':_0xc0a1ee['fullTitle'],'name':_0xc0a1ee[_0xcee799(0x225)],'time':_0x823b[_0xcee799(0x203)](_0xc0a1ee[_0xcee799(0x231)],0x3e8)||0x0,'platform':_0x546665};if(_0x823b[_0xcee799(0x162)](_0xc0a1ee['state'],_0x823b[_0xcee799(0x1b0)])){var _0x698d6b=_0xc0a1ee['err'],_0x38660e=!Base[_0xcee799(0x15d)]&&Base[_0xcee799(0x214)](_0x698d6b)?_0x823b[_0xcee799(0x17a)]('\x0a',Base[_0xcee799(0x22d)](_0x698d6b['actual'],_0x698d6b[_0xcee799(0x228)])):'';_0x823b[_0xcee799(0x1d2)](xunitWrite,_0x823b[_0xcee799(0x181)](tag,_0x823b[_0xcee799(0x1bb)],_0x28f6fc,![],_0x823b[_0xcee799(0x181)](tag,_0x823b['MzTHO'],{},![],_0x823b[_0xcee799(0x17a)](_0x823b[_0xcee799(0x17a)](_0x823b['JCcvW'](_0x823b[_0xcee799(0x168)](escape,_0x698d6b[_0xcee799(0x1a8)]),_0x823b['EGmVM'](escape,_0x38660e)),'\x0a'),_0x823b[_0xcee799(0x168)](escape,_0x698d6b[_0xcee799(0x157)])))));}else _0xc0a1ee[_0xcee799(0x1fc)]?_0x823b[_0xcee799(0x168)](xunitWrite,_0x823b[_0xcee799(0x244)](tag,_0x823b['bNFRd'],_0x28f6fc,![],_0x823b['oKWHE'](tag,_0x823b[_0xcee799(0x187)],{},!![]))):_0x823b[_0xcee799(0x1b1)](xunitWrite,_0x823b[_0xcee799(0x1fb)](tag,_0x823b[_0xcee799(0x1bb)],_0x28f6fc,!![]));};function getStats(_0x1453e2){const _0x21ade1=a32_0x2dbbf8,_0x5348cf={};_0x5348cf['pFPEt']=_0x21ade1(0x1a4),_0x5348cf[_0x21ade1(0x16e)]=_0x21ade1(0x1f0),_0x5348cf['nLoga']=_0x21ade1(0x241),_0x5348cf[_0x21ade1(0x243)]=_0x21ade1(0x17b);const _0x5222b4=_0x5348cf,_0x2a62d7=Object[_0x21ade1(0x1da)](_0x1453e2);let _0x28ba6f=0x0,_0x3ef2aa=0x0,_0x4e311d=0x0,_0x3aa299=0x0;const _0x774061=new Set();_0x2a62d7[_0x21ade1(0x204)](_0x22f912=>{const _0x53efd4=_0x21ade1,_0x984ace={};_0x984ace[_0x53efd4(0x178)]=_0x5222b4[_0x53efd4(0x242)],_0x984ace[_0x53efd4(0x220)]=_0x5222b4[_0x53efd4(0x16e)],_0x984ace[_0x53efd4(0x246)]=_0x5222b4['nLoga'];const _0x2ef3c6=_0x984ace;_0x1453e2[_0x22f912][_0x5222b4['AwByV']][_0x53efd4(0x204)](_0x423ec2=>{const _0x520ef1=_0x53efd4;_0x774061['add'](_0x423ec2[_0x2ef3c6[_0x520ef1(0x178)]]),_0x28ba6f++;switch(_0x423ec2[_0x520ef1(0x16b)]){case _0x2ef3c6[_0x520ef1(0x220)]:_0x4e311d++;break;case _0x2ef3c6[_0x520ef1(0x246)]:_0x3ef2aa++;break;default:_0x3aa299++;}});});const _0x258e84={};return _0x258e84[_0x21ade1(0x1e4)]=_0x774061[_0x21ade1(0x1a3)],_0x258e84[_0x21ade1(0x189)]=_0x2a62d7,_0x258e84[_0x21ade1(0x20f)]=_0x28ba6f,_0x258e84[_0x21ade1(0x211)]=_0x3ef2aa,_0x258e84[_0x21ade1(0x20a)]=_0x4e311d,_0x258e84[_0x21ade1(0x170)]=_0x3aa299,_0x258e84;}function errorJSON(_0x5e0511){const _0x332d73=a32_0x2dbbf8;var _0x40ada3={};return Object[_0x332d73(0x184)](_0x5e0511)[_0x332d73(0x204)](function(_0x3f0a2d){_0x40ada3[_0x3f0a2d]=_0x5e0511[_0x3f0a2d];},_0x5e0511),_0x40ada3;}function a32_0x16ef(){const _0x27a093=['bNFRd','SlmhK','SDK_CLEANUP','isTestObservabilitySession','capability','start','join','1winUGl','isNotUndefined','stringify','excludeTagsInTestingScope','SDKTestSuccessful','nPzTB','uPhIP','log','titlePathV','getCentralUser','debug','Svjlr','EQahf','yellow','setupTCGAuth','iYTBP','NuAns','ToSBL','XxFoI','cliConfig','errorMessage','CwBzu','../../helpers/testhub/testhubHandler','fullTitle','keys','XoYin','FdseC','extension','titlePath','winstonLogger','Jhuid','JtrKW','length','378266IIIwoy','testSuites','isBrowserstackInfra','isUndefined','PtpWD','fstKF','\x20platforms','DLqdy','doc','Writing\x20xunit\x20result\x20to\x20file','ESXxf','xNIog','framework','passed','1265sYLbvb','1682536BPNwMa','gwPar','Writing\x20json\x20result\x20to\x20file','eDNvW','VGGdJ','Running\x20your\x20mocha\x20tests','1070wMtzQO','parseFileNames','../../helpers/central-scanner/constants','oKWHE','isPending','includeTagsInTestingScope','vhUzg','red','mlMFC','currentRetry','BROWSERSTACK_GRR_US_HUB_URL','qgjIx','forEach','FNuvL','push','exports','output','mwDuG','testsPassed','\x20failed','reporterOptions','rerunTests','RfgKr','totalTests','printBuildLink','testsFailed','kNrNr','XtAfB','showDiff','YEvMG','519492cJMQTW','fFlue','files','DRTps','err','FRAMEWORKS','accessibility','EVENTS','proxySettings','get','yhJkS','validPlatformsPresent','initialize','config','qTlyA','title','eTzON','Total\x20Suites:\x20','expected','bgRedBright','retryTestsOnFailure','HlLdn','Rlbjm','generateDiff','fireFunnelTestEvent','HivNu','prepareCapabilities','duration','mjs','</testsuite>','bgBlueBright','exitCode','Total\x20Platforms:\x20','shouldReRunObservabilityTests','getPlatformName','maxRetries','fqIai','indexOf','jTuPj','parse','assign','list','failures','failed','pFPEt','AwByV','eWZYT','sYbbA','dBRbO','PoLPw','6656940xOaAWQ','handleApp','pVlbO','sBUUv','yCszj','writeFileSync','../utils/constants','testcase','getTCGConfigFilePaths','NlNOq','pending','setUserConfigPath','jiMrO','MoMGK','uEwGr','MOCHA','../../helpers/performance/constants','error','chalk','bold','****\x20FAILURES\x20****','qbjmm','spec','min','../../helpers/helper','stack','failure','reporter','../../helpers/logger','dWvlk','launchBuild','hideDiff','JkuUr','test','parallelsPerPlatform','Now,\x20showing\x20logs\x20from\x20mocha','aqbGT','platform','umPao','itxdb','BROWSERSTACK_TEST_OBSERVABILITY_YML','cjs','EGmVM','mlQPq','map','state','passes','unlinkSync','UrNiv','fLhcd','testsPending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NSpXc','Couldn\x27t\x20write\x20json\x20result\x20to','78NzCzbf','stats','xaJpR','getErrorMessageFromResults','CTNcg','accessibilityOptions','Ntecx','results','logLevel','YeHSe','Printing\x20stats\x20of\x20tests','Setting\x20non\x20exit\x20code\x20for\x20failures','xjsIL','wZIhI','testObservability','Mocha\x20Tests','getOwnPropertyNames','RjYSy','OjWsF','hwkwv','dQqSz','platforms','16wSZsCV','\x0a\x0a\x0a','SfXva','KIdda','central_scanner','useW3C','bstack:options','3154275WvCjKB','prototype','FBLER','../utils/clientTroubleshootingService','mocha','bHkMT','\x20passed','info','suiteName','configuration','finally','sDANf','fKJMJ','\x20total','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','useColors','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','eGFVb','size','suite','includeEncodedExtension','DYeqP','getUserWorkerCount','message','CPQoE','env','5383107axbOSJ','../../helpers/performance/performance-tester','green','hasOwnProperty','36152pdIInO','QnSBa','dTyCJ','mocha/lib/reporters/base.js','BROWSERSTACK_RERUN_TESTS','toUTCString','json','Tests:\x20\x20\x20\x20\x20\x20\x20','Running\x20your\x20mocha\x20tests\x20across\x20','WzsYZ','consoleLog','IkEYs'];a32_0x16ef=function(){return _0x27a093;};return a32_0x16ef();}function cleanCycles(_0x127b22){const _0x351dc5=a32_0x2dbbf8,_0xf0f96b={};_0xf0f96b[_0x351dc5(0x16f)]=function(_0xc4e202,_0x4758c6){return _0xc4e202===_0x4758c6;},_0xf0f96b[_0x351dc5(0x24a)]='object',_0xf0f96b[_0x351dc5(0x153)]=function(_0x418e23,_0xbeb105){return _0x418e23!==_0xbeb105;},_0xf0f96b['zgVEJ']=function(_0x447b42,_0x5ce8cd){return _0x447b42+_0x5ce8cd;};const _0x38c28d=_0xf0f96b;var _0x203123=[];return JSON[_0x351dc5(0x23d)](JSON[_0x351dc5(0x1c4)](_0x127b22,function(_0x5f285f,_0x276789){const _0x1fa74a=_0x351dc5;if(_0x38c28d[_0x1fa74a(0x16f)](typeof _0x276789,_0x38c28d['pVlbO'])&&_0x38c28d[_0x1fa74a(0x153)](_0x276789,null)){if(_0x38c28d['qbjmm'](_0x203123[_0x1fa74a(0x23b)](_0x276789),-0x1))return _0x38c28d['zgVEJ']('',_0x276789);_0x203123[_0x1fa74a(0x206)](_0x276789);}return _0x276789;}));}function a32_0xb73e(_0x240bb6,_0x3068e6){const _0x16ef99=a32_0x16ef();return a32_0xb73e=function(_0xb73ebc,_0x5ad328){_0xb73ebc=_0xb73ebc-0x151;let _0x569e65=_0x16ef99[_0xb73ebc];return _0x569e65;},a32_0xb73e(_0x240bb6,_0x3068e6);}function clean(_0xcf3bf2){const _0x58bb21=a32_0x2dbbf8,_0x2c2f47={'FNuvL':function(_0x4e00fe,_0x3539cd){return _0x4e00fe instanceof _0x3539cd;},'xaJpR':function(_0x517e73,_0x4dc71c){return _0x517e73(_0x4dc71c);},'CwBzu':function(_0x34aaaf,_0x396651){return _0x34aaaf(_0x396651);}};var _0x25574b=_0xcf3bf2[_0x58bb21(0x21a)]||{};return _0x2c2f47[_0x58bb21(0x205)](_0x25574b,Error)&&(_0x25574b=_0x2c2f47[_0x58bb21(0x176)](errorJSON,_0x25574b)),{'title':_0xcf3bf2['title'],'fullTitle':_0xcf3bf2[_0x58bb21(0x1d9)],'file':_0xcf3bf2['file'],'duration':_0xcf3bf2[_0x58bb21(0x231)],'currentRetry':_0xcf3bf2[_0x58bb21(0x201)],'speed':_0xcf3bf2['speed'],'err':_0x2c2f47[_0x58bb21(0x1d7)](cleanCycles,_0x25574b)};}function printStats(_0x1c11b2,_0x563856=a32_0x2dbbf8(0x154),_0x529433={}){const _0x10169f=a32_0x2dbbf8,_0x28ae2a={'Jhuid':function(_0x2e0743,_0xb094d9){return _0x2e0743(_0xb094d9);},'Rlbjm':function(_0x358914,_0x3ed9ea){return _0x358914===_0x3ed9ea;},'fKJMJ':_0x10169f(0x1f0),'SlmhK':_0x10169f(0x16c),'QmmKK':function(_0x3846d4,_0x2f180e){return _0x3846d4===_0x2f180e;},'RjYSy':_0x10169f(0x241),'vTnQQ':_0x10169f(0x240),'EQahf':_0x10169f(0x252),'sBUUv':_0x10169f(0x17b),'SfXva':function(_0x52b02a,_0x4bd0ac){return _0x52b02a===_0x4bd0ac;},'VGGdJ':function(_0x12f47d,_0x3e8061){return _0x12f47d===_0x3e8061;},'NSpXc':function(_0x2f6a56,_0x396e22){return _0x2f6a56*_0x396e22;},'SqXOV':function(_0x1643c7,_0x16dabb,_0x25c558){return _0x1643c7(_0x16dabb,_0x25c558);},'WzsYZ':function(_0x3e2b8f,_0x1ee052){return _0x3e2b8f>_0x1ee052;},'YEvMG':function(_0xc45d81){return _0xc45d81();},'iYTBP':function(_0xac335f,_0x3e359d){return _0xac335f===_0x3e359d;},'mlMFC':_0x10169f(0x1eb),'uPhIP':_0x10169f(0x17f),'fstKF':_0x10169f(0x17e),'DYeqP':function(_0x5976d2,_0x21bddb){return _0x5976d2+_0x21bddb;},'eTzON':_0x10169f(0x236),'jTuPj':function(_0x1fcb12,_0x2f6c22){return _0x1fcb12+_0x2f6c22;},'JGTqp':_0x10169f(0x227),'HXUjo':function(_0x559859,_0x4b2f09){return _0x559859+_0x4b2f09;},'itxdb':function(_0x2f5f0d,_0x17651d){return _0x2f5f0d+_0x17651d;},'jiMrO':_0x10169f(0x1b6),'kNrNr':function(_0xce2f0e,_0x2c5c9b){return _0xce2f0e>_0x2c5c9b;},'HivNu':function(_0x425800,_0xc88185){return _0x425800>_0xc88185;},'PoLPw':function(_0x46b546,_0x237e0c){return _0x46b546+_0x237e0c;},'KIdda':function(_0x31a49a,_0xa5c0f8){return _0x31a49a+_0xa5c0f8;},'xjsIL':function(_0xe41c9d,_0xa036fa){return _0xe41c9d+_0xa036fa;},'bHkMT':_0x10169f(0x18b),'ybRru':_0x10169f(0x1b5),'MoMGK':_0x10169f(0x1f4),'DLqdy':_0x10169f(0x173),'RfgKr':_0x10169f(0x19f),'PtpWD':'xunit','eGFVb':_0x10169f(0x183),'sDANf':function(_0xf6f44c,_0x100cfe){return _0xf6f44c||_0x100cfe;},'yCszj':function(_0xc020c9,_0x355b41,_0x443348,_0x1b240a){return _0xc020c9(_0x355b41,_0x443348,_0x1b240a);},'OjWsF':'testsuite','NlNOq':function(_0x4c3fed,_0x122b28){return _0x4c3fed-_0x122b28;},'MAzFM':function(_0x3bab89,_0xb0f1f4){return _0x3bab89-_0xb0f1f4;},'heSwq':function(_0x41d025,_0xb0666d){return _0x41d025/_0xb0666d;},'fFlue':_0x10169f(0x233),'MJGJn':_0x10169f(0x1ec),'JkuUr':'Couldn\x27t\x20write\x20xunit\x20result\x20to','Svjlr':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','eDNvW':function(_0x16cb46,_0x4b9e0c){return _0x16cb46===_0x4b9e0c;},'dWvlk':'Listing\x20all\x20the\x20failures','mwDuG':_0x10169f(0x152)};if(_0x28ae2a[_0x10169f(0x1d1)](_0x563856,_0x28ae2a[_0x10169f(0x200)]))return;const _0x2ea1b9=0x0,_0x4b1297=()=>{const _0x9c1450=_0x10169f;return _0x28ae2a[_0x9c1450(0x1e0)](Array,_0x2ea1b9)[_0x9c1450(0x1c1)]('\x20\x20');},{testSuites:_0xd463de,platforms:_0x543e7b,totalTests:_0x188af5,testsFailed:_0x1961b4,testsPassed:_0x5e0f92,testsPending:_0x1334a0}=_0x28ae2a[_0x10169f(0x1e0)](getStats,_0x1c11b2);_0x28ae2a[_0x10169f(0x1b8)](_0x1961b4,0x0)&&(logger[_0x10169f(0x1cc)](_0x28ae2a[_0x10169f(0x1c8)]),process[_0x10169f(0x235)]=Math[_0x10169f(0x155)](_0x1961b4,0xff));logger[_0x10169f(0x1cc)](_0x28ae2a[_0x10169f(0x1e8)]);const _0xef3619=''+_0x28ae2a[_0x10169f(0x1a6)](chalk['bold'](_0x28ae2a[_0x10169f(0x226)]),_0x543e7b[_0x10169f(0x1e2)]),_0x170e23=''+_0x28ae2a[_0x10169f(0x23c)](chalk[_0x10169f(0x151)](_0x28ae2a['JGTqp']),_0xd463de),_0x476514=''+_0x28ae2a['HXUjo'](_0x28ae2a[_0x10169f(0x23c)](_0x28ae2a[_0x10169f(0x165)](chalk[_0x10169f(0x151)](_0x28ae2a[_0x10169f(0x254)]),_0x28ae2a[_0x10169f(0x212)](_0x1961b4,0x0)?chalk[_0x10169f(0x151)][_0x10169f(0x1ff)](_0x1961b4+_0x10169f(0x20b))+',\x20':''),_0x28ae2a['HivNu'](_0x1334a0,0x0)?chalk[_0x10169f(0x151)][_0x10169f(0x1cf)](_0x1334a0+'\x20skipped')+',\x20':''),_0x28ae2a[_0x10169f(0x22f)](_0x5e0f92,0x0)?chalk['bold'][_0x10169f(0x1ad)](_0x5e0f92+_0x10169f(0x197))+',\x20':'')+_0x188af5+_0x10169f(0x19e);console['log'](_0x28ae2a[_0x10169f(0x247)](_0x28ae2a[_0x10169f(0x165)](_0x28ae2a['DYeqP'](_0x28ae2a[_0x10169f(0x18d)](_0x28ae2a[_0x10169f(0x180)](_0x28ae2a[_0x10169f(0x196)],_0xef3619),'\x0a'),_0x170e23),'\x0a'),_0x476514));if(_0x28ae2a['QmmKK'](_0x563856,_0x28ae2a['ybRru'])){const _0x33c458={},_0x27b098={};_0x27b098[_0x10169f(0x1e4)]=_0xd463de,_0x27b098[_0x10169f(0x189)]=_0x543e7b,_0x27b098[_0x10169f(0x211)]=_0x1961b4,_0x27b098[_0x10169f(0x20a)]=_0x5e0f92,_0x27b098['testsPending']=_0x1334a0,_0x33c458[_0x10169f(0x175)]=_0x27b098,_0x543e7b[_0x10169f(0x204)](_0x581813=>{const _0x48766b=_0x10169f;_0x33c458[_0x581813]={'pending':[],'failures':[],'passes':[],'tests':_0x1c11b2[_0x581813][_0x28ae2a[_0x48766b(0x24b)]][_0x48766b(0x16a)](clean)},_0x1c11b2[_0x581813][_0x28ae2a['sBUUv']][_0x48766b(0x204)](_0x588c51=>{const _0xdb86ae=_0x48766b;if(_0x28ae2a[_0xdb86ae(0x22c)](_0x588c51['state'],_0x28ae2a['fKJMJ']))_0x33c458[_0x581813][_0x28ae2a[_0xdb86ae(0x1bc)]][_0xdb86ae(0x206)](_0x28ae2a['Jhuid'](clean,_0x588c51));else _0x28ae2a['QmmKK'](_0x588c51[_0xdb86ae(0x16b)],_0x28ae2a['RjYSy'])?_0x33c458[_0x581813][_0x28ae2a['vTnQQ']][_0xdb86ae(0x206)](_0x28ae2a[_0xdb86ae(0x1e0)](clean,_0x588c51)):_0x33c458[_0x581813][_0x28ae2a[_0xdb86ae(0x1ce)]]['push'](_0x28ae2a[_0xdb86ae(0x1e0)](clean,_0x588c51));});});if(_0x529433[_0x10169f(0x208)])try{logger['debug'](_0x28ae2a[_0x10169f(0x255)],_0x529433['output']),fs[_0x10169f(0x24d)](_0x529433[_0x10169f(0x208)],JSON['stringify'](_0x33c458,null,0x3));}catch(_0x2a1a26){logger[_0x10169f(0x259)](_0x28ae2a[_0x10169f(0x1ea)],_0x529433['output']),logger['debug'](_0x2a1a26);}else logger[_0x10169f(0x1cc)](_0x28ae2a[_0x10169f(0x20e)]),console[_0x10169f(0x1c9)](JSON[_0x10169f(0x1c4)](_0x33c458,null,0x3));}else{if(_0x28ae2a[_0x10169f(0x22c)](_0x563856,_0x28ae2a[_0x10169f(0x1e7)])){let _0x2dcdbe;const _0x5222ad=_0x28ae2a[_0x10169f(0x1a2)];_0x529433&&(_0x2dcdbe=_0x529433[_0x10169f(0x199)]);_0x2dcdbe=_0x28ae2a[_0x10169f(0x19c)](_0x2dcdbe,_0x5222ad);let _0x1ac637=0x0,_0xaf6667=0x0,_0x16e32c=0x0,_0x2cb6c4=0x0;_0x543e7b[_0x10169f(0x204)](_0x201e77=>{const _0x6d3b41=_0x10169f;_0x1c11b2[_0x201e77][_0x28ae2a[_0x6d3b41(0x24b)]][_0x6d3b41(0x204)](_0x50f2b2=>{const _0x316377=_0x6d3b41;if(_0x28ae2a[_0x316377(0x18c)](_0x50f2b2[_0x316377(0x16b)],_0x28ae2a[_0x316377(0x19d)]))_0x1ac637++;else _0x28ae2a[_0x316377(0x1f6)](_0x50f2b2[_0x316377(0x16b)],_0x28ae2a[_0x316377(0x185)])&&_0xaf6667++;_0x16e32c++,_0x2cb6c4+=_0x28ae2a[_0x316377(0x172)](_0x50f2b2[_0x316377(0x231)],0x1);});}),_0x28ae2a[_0x10169f(0x1e0)](xunitWrite,_0x28ae2a[_0x10169f(0x24c)](tag,_0x28ae2a[_0x10169f(0x186)],{'name':_0x2dcdbe,'tests':_0x16e32c,'failures':0x0,'errors':_0xaf6667,'skipped':_0x28ae2a[_0x10169f(0x251)](_0x28ae2a['MAzFM'](_0x16e32c,_0xaf6667),_0x1ac637),'timestamp':new Date()[_0x10169f(0x1b4)](),'time':_0x28ae2a['heSwq'](_0x2cb6c4,0x3e8)||0x0},![])),_0x543e7b[_0x10169f(0x204)](_0x246068=>{const _0x585683=_0x10169f,_0x27ab9f={'vhUzg':function(_0x3b0839,_0x34cc44,_0x3ceb79){return _0x28ae2a['SqXOV'](_0x3b0839,_0x34cc44,_0x3ceb79);}};_0x1c11b2[_0x246068][_0x28ae2a[_0x585683(0x24b)]][_0x585683(0x204)](_0xa70cde=>{const _0x3cbb19=_0x585683;_0x27ab9f[_0x3cbb19(0x1fe)](xunitTest,_0xa70cde,_0x246068);});}),_0x28ae2a[_0x10169f(0x1e0)](xunitWrite,_0x28ae2a[_0x10169f(0x217)]);if(_0x529433['output'])try{logger[_0x10169f(0x1cc)](_0x28ae2a['MJGJn'],_0x529433[_0x10169f(0x208)]),fs[_0x10169f(0x24d)](_0x529433[_0x10169f(0x208)],xunitContent);}catch(_0x1e81e1){logger[_0x10169f(0x259)](_0x28ae2a[_0x10169f(0x15e)],_0x529433[_0x10169f(0x208)]),logger[_0x10169f(0x1cc)](_0x1e81e1);}else logger[_0x10169f(0x1cc)](_0x28ae2a[_0x10169f(0x1cd)]),console[_0x10169f(0x1c9)](xunitContent);}else{if(_0x28ae2a[_0x10169f(0x1f5)](_0x1961b4,0x0))return;console['log'](),logger[_0x10169f(0x1cc)](_0x28ae2a[_0x10169f(0x15b)]),console[_0x10169f(0x1c9)](chalk['bold'][_0x10169f(0x229)](_0x28ae2a[_0x10169f(0x209)])),_0x543e7b[_0x10169f(0x204)](_0x144598=>{const _0x56ccb0=_0x10169f,_0x198dff=[];_0x1c11b2[_0x144598][_0x28ae2a['sBUUv']]['forEach'](_0x1827f6=>{const _0x35c7ec=a32_0xb73e;_0x28ae2a[_0x35c7ec(0x1f6)](_0x1827f6[_0x35c7ec(0x16b)],_0x28ae2a['RjYSy'])&&(_0x1827f6[_0x35c7ec(0x1de)]=()=>_0x1827f6[_0x35c7ec(0x1ca)],_0x198dff['push'](_0x1827f6));}),_0x28ae2a[_0x56ccb0(0x1b8)](_0x198dff['length'],0x0)&&(Base[_0x56ccb0(0x1b9)](),Base['consoleLog'](_0x28ae2a[_0x56ccb0(0x215)](_0x4b1297),chalk[_0x56ccb0(0x151)][_0x56ccb0(0x234)](_0x144598)),Base[_0x56ccb0(0x23f)](_0x198dff));});}}}async function run(_0x239780,_0x426783,_0x3e25b3){const _0x57508f=a32_0x2dbbf8,_0x59db78={'XxFoI':function(_0x28891f,_0x53c37c,_0x1c0010,_0x1ea697){return _0x28891f(_0x53c37c,_0x1c0010,_0x1ea697);},'nPzTB':'reporter-option','xNIog':'error\x20removing\x20tcg\x20config\x20file','XoYin':_0x57508f(0x1c6),'CPQoE':_0x57508f(0x195),'IkEYs':function(_0x5926fb,_0x3ca653){return _0x5926fb!=_0x3ca653;},'HzetK':_0x57508f(0x167),'JtrKW':_0x57508f(0x232),'qTlyA':_0x57508f(0x15f),'dQqSz':_0x57508f(0x20d),'sYbbA':function(_0xcbef55,_0x23ae9a){return _0xcbef55(_0x23ae9a);},'FBLER':function(_0x34f125,_0x21234e,_0x107cb0){return _0x34f125(_0x21234e,_0x107cb0);},'eNKpD':_0x57508f(0x218),'HbIvW':_0x57508f(0x1fd),'FdseC':_0x57508f(0x1c5),'uEwGr':_0x57508f(0x1a5),'HlLdn':_0x57508f(0x1f7),'ESXxf':_0x57508f(0x161),'ToSBL':function(_0x36f62d,_0x4c019c){return _0x36f62d*_0x4c019c;},'SeiZV':function(_0x53c796,_0x2ecfc8){return _0x53c796!==_0x2ecfc8;}};helper[_0x57508f(0x253)](_0x3e25b3[_0x57508f(0x1ef)],_0x239780),await _0x3e25b3[_0x57508f(0x222)](_0x239780);helper[_0x57508f(0x1e5)]()?await helper[_0x57508f(0x249)](_0x3e25b3[_0x57508f(0x223)]):await _0x3e25b3[_0x57508f(0x1d0)]();const _0x2a0fac=[];let _0xcd3e45=[];if(!_0x3e25b3['config'])return;!helper[_0x57508f(0x1e6)](_0x3e25b3[_0x57508f(0x223)]['accessibilityOptions'])&&(process['env'][_0x57508f(0x171)]=JSON[_0x57508f(0x1c4)](_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x179)]));const _0x55404c=await TestHubHandler[_0x57508f(0x15c)](FRAMEWORKS['MOCHA'],_0x3e25b3);_0x59db78[_0x57508f(0x1ba)](_0x3e25b3['config']['testObservability'],null)&&(process[_0x57508f(0x1aa)][_0x57508f(0x166)]=_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x182)]);!helper[_0x57508f(0x1e6)](_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x21c)])&&(process[_0x57508f(0x1aa)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3e25b3['config']['accessibility']);const {extension:extension=['js',_0x59db78['HzetK'],_0x59db78[_0x57508f(0x1e1)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x59db78[_0x57508f(0x224)]]}=_0x239780,_0x565add={..._0x239780};_0x565add['rootHooks']=null;const _0x28596f=_0x565add;let _0x1b4498;if(testOpsHelper[_0x57508f(0x1be)]()&&testOpsHelper[_0x57508f(0x237)]()){let _0x4ace5d=process['env'][_0x57508f(0x1b3)];!helper['isUndefined'](_0x3e25b3['cliConfig'])&&_0x3e25b3[_0x57508f(0x1d5)]['has'](_0x59db78[_0x57508f(0x188)])&&(_0x4ace5d=_0x3e25b3[_0x57508f(0x1d5)][_0x57508f(0x21f)](_0x59db78[_0x57508f(0x188)])),_0x1b4498=testOpsHelper[_0x57508f(0x1f9)](_0x4ace5d);}if(helper[_0x57508f(0x1e6)](_0x1b4498)){const _0x5df0fd={};_0x5df0fd['ignore']=ignore,_0x5df0fd[_0x57508f(0x1dd)]=extension,_0x5df0fd['file']=file,_0x5df0fd['recursive']=recursive,_0x5df0fd['sort']=sort,_0x5df0fd[_0x57508f(0x154)]=spec,_0x1b4498=_0x59db78[_0x57508f(0x245)](collectFiles,_0x5df0fd),_0x59db78[_0x57508f(0x193)](nestedKeyValue,_0x1b4498,[_0x59db78['eNKpD']])&&(_0x1b4498=_0x1b4498[_0x57508f(0x218)]);}const _0x187c78=helper['parseTestOrchestrationOptions'](_0x3e25b3['config']);!helper['isEmpty'](_0x187c78)&&helper[_0x57508f(0x1c3)](_0x187c78[_0x57508f(0x22a)])&&(_0x28596f['retries']=_0x187c78[_0x57508f(0x22a)][_0x57508f(0x239)]);if(!helper[_0x57508f(0x1e5)]()){const _0x2780cb=0x1,_0x5c427a={..._0x28596f};_0x5c427a[_0x57508f(0x154)]=[..._0x1b4498],_0x2a0fac[_0x57508f(0x206)]({'mochaOpts':_0x5c427a,'configuration':{'platform':os[_0x57508f(0x163)]()}});if(_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x21c)]){const _0x3748c1={};_0x3748c1[_0x57508f(0x21c)]=!![];const _0x57c43d=_0x3748c1;_0x59db78['IkEYs'](_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x179)],null)&&(_0x57c43d['accessibilityOptions']=_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x179)],delete _0x57c43d[_0x57508f(0x179)][_0x59db78['HbIvW']],delete _0x57c43d[_0x57508f(0x179)][_0x59db78[_0x57508f(0x1dc)]],delete _0x57c43d[_0x57508f(0x179)][_0x59db78[_0x57508f(0x256)]]);const _0x5904d1={};_0x5904d1[_0x57508f(0x190)]=_0x57c43d,_0x2a0fac[0x0][_0x57508f(0x19a)][_0x57508f(0x1bf)]=_0x5904d1;}logger[_0x57508f(0x198)](_0x59db78[_0x57508f(0x22b)]),logger[_0x57508f(0x198)](_0x59db78[_0x57508f(0x1ed)]),_0x59db78['XxFoI'](parallelTestRun,_0x2a0fac,_0x2780cb,_0x3e25b3)['then'](_0x1d4d08=>{const _0xc4a30e=_0x57508f;PerformanceTester[_0xc4a30e(0x1c0)](PerformanceEvents[_0xc4a30e(0x1bd)]),_0x59db78[_0xc4a30e(0x1d4)](printStats,_0x1d4d08,_0x239780['reporter'],_0x239780[_0xc4a30e(0x20c)]||_0x239780[_0x59db78[_0xc4a30e(0x1c7)]]);})[_0x57508f(0x19b)](()=>{const _0x174c86=_0x57508f;PerformanceTester['start'](PerformanceEvents[_0x174c86(0x1bd)]);try{const {browserstackFolderPath:_0x3a256e,tcgConfigPath:_0x3f8de0}=helper[_0x174c86(0x250)]();fs[_0x174c86(0x16d)](_0x3f8de0),fs['rmdirSync'](_0x3a256e);}catch(_0x4c5e21){logger['debug'](_0x59db78[_0x174c86(0x1ee)],_0x4c5e21);}try{utilities[_0x174c86(0x22e)](_0x59db78[_0x174c86(0x1db)],{},_0x3e25b3[_0x174c86(0x223)],_0x3e25b3[_0x174c86(0x1ef)]);}catch(_0x1b2b6d){logger[_0x174c86(0x1cc)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x1b2b6d[_0x174c86(0x157)]);}try{helper['notifyUpdate']();}catch(_0x120f1d){logger['debug'](_0x174c86(0x1a1)+_0x120f1d);}testOpsHelper[_0x174c86(0x210)]();});}else{const _0x3b7805=helper[_0x57508f(0x18f)](_0x3e25b3['config']);let _0x2783f2=helper['getHubUrl'](_0x3e25b3[_0x57508f(0x223)]);_0xcd3e45=helper[_0x57508f(0x230)](_0x3e25b3[_0x57508f(0x223)],_0x3b7805,constants[_0x57508f(0x21b)][_0x57508f(0x257)]);helper[_0x57508f(0x1cb)]()[_0x57508f(0x18e)]&&(_0x2783f2=centralScannerConstants[_0x57508f(0x202)]);let _0x3a3813;const _0xdc8d80=_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x160)]||helper[_0x57508f(0x1a7)](_0x239780,_0x426783,_0x3e25b3[_0x57508f(0x223)],constants['FRAMEWORKS'][_0x57508f(0x257)])||0x1;helper[_0x57508f(0x221)](_0x3e25b3[_0x57508f(0x223)])?_0x3a3813=_0x59db78[_0x57508f(0x1d3)](_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x189)][_0x57508f(0x1e2)],_0xdc8d80):_0x3a3813=_0xdc8d80;const _0x4517a2=_0x59db78[_0x57508f(0x245)](getPercyOptions,_0x3e25b3['config']);if(_0x59db78['SeiZV'](_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x160)],0x1))_0x1b4498[_0x57508f(0x204)](_0x3c0822=>{const _0x7101de=_0x57508f,_0x5241c7=[];_0xcd3e45[_0x7101de(0x204)]((_0x2f3023,_0x1225be)=>{const _0x10b56f=_0x7101de,_0x33c9df={};_0x33c9df[_0x10b56f(0x154)]=[_0x3c0822],_0x5241c7[_0x10b56f(0x206)]({'mochaOpts':Object[_0x10b56f(0x23e)]({},_0x28596f,_0x33c9df),'configuration':{'server':_0x2783f2,'capability':_0x2f3023,'proxySettings':_0x3e25b3['config'][_0x10b56f(0x21e)],'platform':helper[_0x10b56f(0x238)](_0x2f3023),'browserStackLogLevel':_0x3e25b3[_0x10b56f(0x223)]['logLevel'],'platformIndex':_0x1225be,'browserStackPercyOptions':_0x4517a2,'platformCaps':Object[_0x10b56f(0x23e)]({'index':_0x1225be},_0x3e25b3[_0x10b56f(0x223)]['platforms'][_0x1225be])}});}),_0x2a0fac[_0x7101de(0x206)](..._0x5241c7);});else{const _0x313d1c=[];_0xcd3e45[_0x57508f(0x204)]((_0x4bef73,_0xd27863)=>{const _0x20b9f7=_0x57508f;let _0x4f0a08=Object['assign']({},_0x28596f);testOpsHelper[_0x20b9f7(0x1be)]()&&testOpsHelper[_0x20b9f7(0x237)]()&&(_0x4f0a08={..._0x4f0a08,'spec':[..._0x1b4498]}),_0x313d1c['push']({'mochaOpts':_0x4f0a08,'configuration':{'server':_0x2783f2,'capability':_0x4bef73,'proxySettings':_0x3e25b3[_0x20b9f7(0x223)][_0x20b9f7(0x21e)],'platform':helper[_0x20b9f7(0x238)](_0x4bef73),'browserStackLogLevel':_0x3e25b3[_0x20b9f7(0x223)][_0x20b9f7(0x17c)],'platformIndex':_0xd27863,'browserStackPercyOptions':_0x4517a2,'platformCaps':Object['assign']({'index':_0xd27863},_0x3e25b3[_0x20b9f7(0x223)]['platforms'][_0xd27863])}});}),_0x2a0fac['push'](..._0x313d1c);}logger[_0x57508f(0x198)](_0x57508f(0x1b7)+_0x3e25b3[_0x57508f(0x223)][_0x57508f(0x189)]['length']+_0x57508f(0x1e9)),logger[_0x57508f(0x198)](_0x59db78[_0x57508f(0x1ed)]);let _0x3e4d96;_0x59db78[_0x57508f(0x1d4)](parallelTestRun,_0x2a0fac,_0x3a3813,_0x3e25b3)['then'](_0x461a61=>{const _0x1eb91b=_0x57508f;PerformanceTester['start'](PerformanceEvents[_0x1eb91b(0x1bd)]),_0x3e4d96=_0x461a61,_0x59db78['XxFoI'](printStats,_0x461a61,_0x239780[_0x1eb91b(0x159)],_0x239780[_0x1eb91b(0x20c)]||_0x239780[_0x59db78[_0x1eb91b(0x1c7)]]);})[_0x57508f(0x19b)](async()=>{const _0x5a9d71=_0x57508f;PerformanceTester[_0x5a9d71(0x1c0)](PerformanceEvents[_0x5a9d71(0x1bd)]),_0x3e25b3[_0x5a9d71(0x1d6)]=helper[_0x5a9d71(0x177)](_0x3e4d96,_0x59db78[_0x5a9d71(0x1a9)]),await utilities['finalExecution'](_0x3e25b3),testOpsHelper[_0x5a9d71(0x210)]();});}}module[a32_0x2dbbf8(0x207)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x2a8779=a33_0x1a4a;function a33_0x2da7(){const _0x3ae5ec=['./helpers/patchHelper','5360UMyQQy','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','requireSeleniumWebdriver','isPacProxy','capabilities_','proxyUrl','browserStackLogLevel','path','Builder','push','originalBuilder','poWci','error','info','proxy_','MJmuB','requireHttpClient','capability','11493gmJJeT','setCapabilities','getAccessibilityResultsSummary','New\x20hub\x20url\x20set\x20to\x20','Hub\x20url\x20set\x20to\x20','then','HttpClient','newHubUrl','firefoxOptions_','__setBrowserOptions','__driver','152TsBNoW','__drivers','ieOptions_','edgeOptions_','Modifying\x20webdriver\x20builder','Proxy\x20set\x20to\x20','edgeOptions','overrideGet','pfWxj','LTpRg','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ONaXf','/session','KlfXg','url_','../../../helpers/patchHelpers','getHttpAgent','ZMAJq','getAccessibilityResults','logLevel','global','__driversArray','mDtoD','chromeOptions_','dNPpa','PgPUi','QYtow','GEhKv','caps_','rTStP','keys','chromeOptions','3uIWMzU','IXgLv','FjFAM','zduFv','GDXgx','5305230jyyQNi','https://','ePJCD','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ouaaS','split','7003074YKqWTm','safari.options','mergeDeep','isUndefined','getGlobal','uVLoc','forEach','get','335933RrleKE','JBfMI','storeOptimalHubUrl','../accessibility-automation/helper','isBrowserstackInfra','ETvCN','browserstackAgentObservability','KoHbf','proxySettings','jhakp','cQssD','set','ieOptions','debug','lSKHQ','EsZnX','../../../hubAllocationMethods','isAccessibilityPlatform','1108504DBZjxY','send','session_','qrGtr','../../../helpers/globals','XLaxA','build','setServer','KTBud','safariOptions_','Hmihw','updateHubUrl','setGlobal','NvEYs','CAPABILITY_KEY','139784PgAVxb','111595YiFMcc'];a33_0x2da7=function(){return _0x3ae5ec;};return a33_0x2da7();}(function(_0x36cd57,_0x541b6d){const _0x529e3c=a33_0x1a4a,_0x2ee18d=_0x36cd57();while(!![]){try{const _0x48837c=-parseInt(_0x529e3c(0x1a3))/0x1+-parseInt(_0x529e3c(0x1b5))/0x2*(-parseInt(_0x529e3c(0x18f))/0x3)+parseInt(_0x529e3c(0x1e4))/0x4*(-parseInt(_0x529e3c(0x1c5))/0x5)+parseInt(_0x529e3c(0x19b))/0x6+parseInt(_0x529e3c(0x194))/0x7+parseInt(_0x529e3c(0x1c4))/0x8+-parseInt(_0x529e3c(0x1d9))/0x9*(parseInt(_0x529e3c(0x1c7))/0xa);if(_0x48837c===_0x541b6d)break;else _0x2ee18d['push'](_0x2ee18d['shift']());}catch(_0x7cebb5){_0x2ee18d['push'](_0x2ee18d['shift']());}}}(a33_0x2da7,0x9962b));function a33_0x1a4a(_0x143955,_0x13ed14){const _0x2da760=a33_0x2da7();return a33_0x1a4a=function(_0x1a4afc,_0x3de39c){_0x1a4afc=_0x1a4afc-0x175;let _0x4e191f=_0x2da760[_0x1a4afc];return _0x4e191f;},a33_0x1a4a(_0x143955,_0x13ed14);}const logger=require('../../../helpers/logger')['winstonLogger'],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x2a8779(0x1b3)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x2a8779(0x17e)),{setAccessibilityCapabilities,setExtension}=require(a33_0x2a8779(0x1a6)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x2a8779(0x1b9)),{overrideExecute}=require(a33_0x2a8779(0x1c6)),modify=(_0x42c41b,_0xfae689=null,_0x2df60a=![])=>{const _0x54a21d=a33_0x2a8779,_0x25eb10={'XLaxA':function(_0x340ee7,_0x2505c3){return _0x340ee7!==_0x2505c3;},'qrGtr':_0x54a21d(0x17b),'ZJbAz':function(_0x1d3e72,_0x346dd0){return _0x1d3e72+_0x346dd0;},'cQssD':function(_0x45600d,_0x2858db){return _0x45600d+_0x2858db;},'uVLoc':_0x54a21d(0x195),'apIWB':'/wd/hub','BvWBP':'goog:chromeOptions','KlfXg':_0x54a21d(0x18e),'poWci':'ms:edgeOptions','ZMAJq':_0x54a21d(0x175),'dNPpa':'moz:firefoxOptions','FjFAM':'firefoxOptions','lSKHQ':_0x54a21d(0x19c),'RKcTs':'se:ieOptions','ouaaS':_0x54a21d(0x1af),'ONaXf':function(_0x26f2a4,_0x34d6bb){return _0x26f2a4===_0x34d6bb;},'lQIkD':'object','MJmuB':'Setting\x20Browserstack\x20capabilities','XMyWS':function(_0x260332,_0x19e5bd,_0x338ccb){return _0x260332(_0x19e5bd,_0x338ccb);},'QYtow':function(_0x51c01a,_0x301907){return _0x51c01a(_0x301907);},'KoHbf':function(_0xcd2913,_0x1ada65,_0xe15553){return _0xcd2913(_0x1ada65,_0xe15553);},'yHpjb':'optimalHubUrl','PgPUi':_0x54a21d(0x1c8),'LTpRg':function(_0x49063b,_0x35d69a,_0x583425){return _0x49063b(_0x35d69a,_0x583425);},'pfWxj':'5|3|1|2|0|4','rTStP':_0x54a21d(0x1b4),'ePJCD':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','IXgLv':function(_0x4aec28){return _0x4aec28();},'mDtoD':function(_0x344c5d,_0x250408){return _0x344c5d(_0x250408);},'JBfMI':function(_0x740a90,_0x56d260,_0x5ee1f0){return _0x740a90(_0x56d260,_0x5ee1f0);},'GDXgx':function(_0x5487fe,_0x170739){return _0x5487fe!==_0x170739;},'KTBud':function(_0xc3a44b,_0xadfdb5){return _0xc3a44b!==_0xadfdb5;},'jhakp':_0x54a21d(0x198),'EsZnX':_0x54a21d(0x1e8)},_0x4d2e60=helper[_0x54a21d(0x1d7)]();let _0xc4c804;try{_0xc4c804=helper[_0x54a21d(0x1c9)](),_0xc4c804['originalBuilder']&&(_0xc4c804[_0x54a21d(0x1cf)]=_0xc4c804['originalBuilder']);}catch(_0x20f22c){return;}if(helper[_0x54a21d(0x1a7)]()){const _0x7acb5e={};_0x7acb5e[_0x54a21d(0x182)]=_0x42c41b[_0x54a21d(0x1cd)],helper['setLogLevel'](_0x7acb5e,new Map(),new Map()),logger[_0x54a21d(0x1d4)](_0x25eb10[_0x54a21d(0x1ac)]),logger[_0x54a21d(0x1b0)](_0x25eb10[_0x54a21d(0x1b2)]);}class _0x5b85e0 extends _0x4d2e60[_0x54a21d(0x1df)]{[_0x54a21d(0x1b6)](_0x3c95d6){const _0x528cdf=_0x54a21d;if(_0x25eb10['XLaxA'](_0x3c95d6[_0x528cdf(0x1ce)],_0x25eb10[_0x528cdf(0x1b8)])&&_0x25eb10[_0x528cdf(0x1ba)](global[_0x528cdf(0x1e0)],''))try{global[_0x528cdf(0x1e0)]=_0x25eb10['ZJbAz'](_0x25eb10[_0x528cdf(0x1ad)](_0x25eb10[_0x528cdf(0x1a0)],global['newHubUrl']),_0x25eb10['apIWB']),this['options_']=hubAllocator['getRequestOptions'](global['newHubUrl']),logger[_0x528cdf(0x1b0)](_0x528cdf(0x1dc)+global[_0x528cdf(0x1e0)]),global[_0x528cdf(0x1e0)]='';}catch(_0x569a7c){logger[_0x528cdf(0x1d3)](_0x569a7c);}return super[_0x528cdf(0x1b6)](_0x3c95d6);}}class _0x6d764b extends _0xc4c804[_0x54a21d(0x1cf)]{['setServer'](){const _0x2f8fdc=_0x54a21d;return this[_0x2f8fdc(0x17d)]=helper['getHubUrl'](_0x42c41b),logger[_0x2f8fdc(0x1b0)](_0x2f8fdc(0x1dd)+this[_0x2f8fdc(0x17d)]),this;}[_0x54a21d(0x1e2)](_0x50c6df){const _0x4d700b=_0x54a21d;let _0x4eec25={};for(const _0x24f92c in _0x50c6df){switch(_0x24f92c){case _0x25eb10['BvWBP']:case _0x25eb10[_0x4d700b(0x17c)]:this['chromeOptions_']&&(_0x4eec25=this[_0x4d700b(0x186)][_0x4d700b(0x1a2)](this[_0x4d700b(0x186)][_0x4d700b(0x1c3)])||{},this[_0x4d700b(0x186)][_0x4d700b(0x1ae)](this[_0x4d700b(0x186)]['CAPABILITY_KEY'],helper[_0x4d700b(0x19d)](_0x4eec25,_0x50c6df[_0x24f92c])));break;case _0x25eb10[_0x4d700b(0x1d2)]:case _0x25eb10[_0x4d700b(0x180)]:this['edgeOptions_']&&(_0x4eec25=this[_0x4d700b(0x1e7)][_0x4d700b(0x1a2)](this[_0x4d700b(0x1e7)][_0x4d700b(0x1c3)])||{},this[_0x4d700b(0x1e7)]['set'](this[_0x4d700b(0x1e7)][_0x4d700b(0x1c3)],helper[_0x4d700b(0x19d)](_0x4eec25,_0x50c6df[_0x24f92c])));break;case _0x25eb10[_0x4d700b(0x187)]:case _0x25eb10[_0x4d700b(0x191)]:this[_0x4d700b(0x1e1)]&&(_0x4eec25=this[_0x4d700b(0x1e1)][_0x4d700b(0x1a2)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this['firefoxOptions_']['set'](this[_0x4d700b(0x1e1)][_0x4d700b(0x1c3)],helper[_0x4d700b(0x19d)](_0x4eec25,_0x50c6df[_0x24f92c])));break;case _0x25eb10[_0x4d700b(0x1b1)]:this['safariOptions_']&&(_0x4eec25=this[_0x4d700b(0x1be)][_0x4d700b(0x1a2)](this[_0x4d700b(0x1be)][_0x4d700b(0x1c3)])||{},this[_0x4d700b(0x1be)][_0x4d700b(0x1ae)](this['safariOptions_'][_0x4d700b(0x1c3)],helper[_0x4d700b(0x19d)](_0x4eec25,_0x50c6df[_0x24f92c])));break;case _0x25eb10['RKcTs']:case _0x25eb10[_0x4d700b(0x199)]:this[_0x4d700b(0x1e6)]&&(_0x4eec25=this[_0x4d700b(0x1e6)][_0x4d700b(0x1a2)](this[_0x4d700b(0x1e6)]['CAPABILITY_KEY'])||{},this[_0x4d700b(0x1e6)][_0x4d700b(0x1ae)](this[_0x4d700b(0x1e6)]['CAPABILITY_KEY'],helper[_0x4d700b(0x19d)](_0x4eec25,_0x50c6df[_0x24f92c])));break;}}}['setCapabilities'](){const _0x1ee86f=_0x54a21d,_0x5431f8={'qUzGt':function(_0x4b5601,_0xf44fac){const _0x8fe377=a33_0x1a4a;return _0x25eb10[_0x8fe377(0x17a)](_0x4b5601,_0xf44fac);},'zduFv':_0x25eb10['lQIkD']};return logger[_0x1ee86f(0x1b0)](_0x25eb10[_0x1ee86f(0x1d6)]),this[_0x1ee86f(0x1e2)](_0x42c41b[_0x1ee86f(0x1d8)]),Object[_0x1ee86f(0x18d)](_0x42c41b[_0x1ee86f(0x1d8)])[_0x1ee86f(0x1a1)](_0x35881a=>{const _0x8e84f7=_0x1ee86f,_0x467645=this['capabilities_'][_0x8e84f7(0x1a2)](_0x35881a);_0x5431f8['qUzGt'](typeof _0x467645,_0x5431f8[_0x8e84f7(0x192)])?this[_0x8e84f7(0x1cb)]['set'](_0x35881a,helper[_0x8e84f7(0x19d)](_0x467645,_0x42c41b[_0x8e84f7(0x1d8)][_0x35881a])):this['capabilities_'][_0x8e84f7(0x1ae)](_0x35881a,_0x42c41b[_0x8e84f7(0x1d8)][_0x35881a]);}),this;}['build'](){const _0x5cf006=_0x54a21d,_0x5b467b={'NvEYs':_0x25eb10['yHpjb'],'ETvCN':_0x25eb10[_0x5cf006(0x188)],'GEhKv':function(_0x1097cb,_0x43e3a4,_0x306263){const _0x14e6b0=_0x5cf006;return _0x25eb10[_0x14e6b0(0x178)](_0x1097cb,_0x43e3a4,_0x306263);}};if(helper[_0x5cf006(0x1a7)]()){const _0x45f9ac=_0x25eb10[_0x5cf006(0x177)][_0x5cf006(0x19a)]('|');let _0x2d7fac=0x0;while(!![]){switch(_0x45f9ac[_0x2d7fac++]){case'0':globals[_0x5cf006(0x19f)](_0x25eb10[_0x5cf006(0x18c)])&&(!_0x25eb10['LTpRg'](setExtension,this,_0x42c41b)&&globals[_0x5cf006(0x1c1)](_0x25eb10[_0x5cf006(0x18c)],![]));continue;case'1':this[_0x5cf006(0x1da)]();continue;case'2':if(helper[_0x5cf006(0x1ca)](_0x42c41b[_0x5cf006(0x1ab)][_0x5cf006(0x1cc)]))this[_0x5cf006(0x197)]=helper[_0x5cf006(0x17f)](_0x42c41b[_0x5cf006(0x1ab)]['proxyUrl']);else _0x42c41b[_0x5cf006(0x1ab)][_0x5cf006(0x1cc)]&&(this[_0x5cf006(0x1d5)]=_0x42c41b[_0x5cf006(0x1ab)][_0x5cf006(0x1cc)],logger[_0x5cf006(0x1b0)](_0x5cf006(0x1e9)+this['proxy_']));continue;case'3':this[_0x5cf006(0x1bc)]();continue;case'4':logger[_0x5cf006(0x1b0)](_0x25eb10[_0x5cf006(0x196)]);continue;case'5':_0x25eb10[_0x5cf006(0x190)](isAccessibilityAutomationSession)&&_0x25eb10[_0x5cf006(0x189)](setAccessibilityCapabilities,_0x42c41b);continue;}break;}}const _0x4113f8=super[_0x5cf006(0x1bb)]();return _0x4113f8[_0x5cf006(0x1b7)][_0x5cf006(0x1de)](_0xfb4bd4=>{const _0x5c14ea=_0x5cf006;try{const _0x2ce542=_0xfb4bd4[_0x5c14ea(0x18b)][_0x5c14ea(0x1a2)](_0x5b467b[_0x5c14ea(0x1c2)]);_0x2ce542?(logger[_0x5c14ea(0x1b0)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x2ce542),hubAllocator[_0x5c14ea(0x1c0)](_0x2ce542),helper[_0x5c14ea(0x1a5)](_0x2ce542)):logger[_0x5c14ea(0x1b0)](_0x5b467b[_0x5c14ea(0x1a8)]);}catch(_0x5f4453){logger['debug'](_0x5c14ea(0x179)+_0x5f4453);}}),_0x4113f8['quitCount_']=0x0,_0x4113f8[_0x5cf006(0x1de)]&&_0x4113f8[_0x5cf006(0x1de)](_0x12c0a0=>{const _0x54f6ea=_0x5cf006,_0x9759e={'Hmihw':function(_0x13eeb4,_0x7d873e,_0x33997a){return _0x25eb10['XMyWS'](_0x13eeb4,_0x7d873e,_0x33997a);}};_0x25eb10['XMyWS'](overrideQuit,_0x12c0a0,_0x4113f8),_0x25eb10['QYtow'](overrideTakeScreenshot,_0x12c0a0),helper[_0x54f6ea(0x176)](_0x12c0a0,_0x42c41b),_0x25eb10[_0x54f6ea(0x1aa)](overrideExecute,_0x12c0a0,_0x42c41b),_0x12c0a0[_0x54f6ea(0x1db)]=async()=>{const _0xe78a31=_0x54f6ea;return await _0x5b467b[_0xe78a31(0x18a)](getAccessibilityResultsSummary,_0x12c0a0,global);},_0x12c0a0[_0x54f6ea(0x181)]=async()=>{const _0x1d5316=_0x54f6ea;return await _0x9759e[_0x1d5316(0x1bf)](getAccessibilityResults,_0x12c0a0,global);};}),_0x4113f8['getAccessibilityResultsSummary']=async()=>{return await _0x5b467b['GEhKv'](getAccessibilityResultsSummary,_0x4113f8,global);},_0x4113f8[_0x5cf006(0x181)]=async()=>{const _0xe9aca5=_0x5cf006;return await _0x25eb10[_0xe9aca5(0x1aa)](getAccessibilityResults,_0x4113f8,global);},_0x25eb10[_0x5cf006(0x185)](overrideTakeScreenshot,_0x4113f8),_0x25eb10[_0x5cf006(0x189)](overrideQuit,_0x4113f8),helper[_0x5cf006(0x176)](_0x4113f8,_0x42c41b),_0x25eb10[_0x5cf006(0x1a4)](overrideExecute,_0x4113f8,_0x42c41b),helper[_0x5cf006(0x19e)](global[_0x5cf006(0x184)])&&(global[_0x5cf006(0x184)]=[]),helper['isUndefined'](global[_0x5cf006(0x1e5)])&&(global[_0x5cf006(0x1e5)]=[]),global['__driversArray'][_0x5cf006(0x1d0)](_0x4113f8),global[_0x5cf006(0x1e3)]=_0x4113f8,_0x25eb10[_0x5cf006(0x193)](global[_0x5cf006(0x1e5)],undefined)&&global['__drivers'][_0x5cf006(0x1d0)](_0x4113f8),_0xfae689&&helper[_0x5cf006(0x19e)](_0xfae689[_0x5cf006(0x183)][_0x5cf006(0x184)])&&(_0xfae689['global'][_0x5cf006(0x184)]=[]),_0xfae689&&_0x25eb10[_0x5cf006(0x1bd)](_0xfae689['global']['__drivers'],undefined)&&(_0xfae689['global']['__drivers']['push'](_0x4113f8),_0xfae689[_0x5cf006(0x183)][_0x5cf006(0x184)][_0x5cf006(0x1d0)](_0x4113f8)),_0x4113f8;}}return _0xc4c804[_0x54a21d(0x1d1)]=_0xc4c804[_0x54a21d(0x1cf)],_0xc4c804[_0x54a21d(0x1cf)]=_0x6d764b,_0x4d2e60['HttpClient']=_0x5b85e0,_0xc4c804;};module['exports'][a33_0x2a8779(0x1a9)]=modify;
|
|
1
|
+
const a33_0x4b0420=a33_0xc688;function a33_0xc688(_0x59f188,_0xbc89ad){const _0x30c106=a33_0x30c1();return a33_0xc688=function(_0xc68821,_0x1230c7){_0xc68821=_0xc68821-0x13e;let _0x4f32bf=_0x30c106[_0xc68821];return _0x4f32bf;},a33_0xc688(_0x59f188,_0xbc89ad);}(function(_0xf9757e,_0x2bf375){const _0x17f0bd=a33_0xc688,_0x286a5c=_0xf9757e();while(!![]){try{const _0x49e7f1=parseInt(_0x17f0bd(0x18c))/0x1+-parseInt(_0x17f0bd(0x14e))/0x2*(parseInt(_0x17f0bd(0x167))/0x3)+-parseInt(_0x17f0bd(0x18a))/0x4+-parseInt(_0x17f0bd(0x18e))/0x5*(-parseInt(_0x17f0bd(0x147))/0x6)+-parseInt(_0x17f0bd(0x141))/0x7+parseInt(_0x17f0bd(0x1a4))/0x8*(parseInt(_0x17f0bd(0x19b))/0x9)+-parseInt(_0x17f0bd(0x17b))/0xa*(-parseInt(_0x17f0bd(0x159))/0xb);if(_0x49e7f1===_0x2bf375)break;else _0x286a5c['push'](_0x286a5c['shift']());}catch(_0x544f51){_0x286a5c['push'](_0x286a5c['shift']());}}}(a33_0x30c1,0x81381));function a33_0x30c1(){const _0x189d53=['forEach','Setting\x20Browserstack\x20capabilities','../../../hubAllocationMethods','logLevel','EQPSb','AkkhL','HttpClient','Proxy\x20set\x20to\x20','ZukDx','goog:chromeOptions','wMXeX','safari.options','BLwkf','2436035FbNqwX','fChtm','isBrowserstackInfra','quitCount_','../../../helpers/patchHelpers','EmkaQ','2111658KVGvin','requireSeleniumWebdriver','proxyUrl','QjBcN','browserstackAgentObservability','then','set','43454MntMIN','ZBpTf','https://','../accessibility-automation/helper','getRequestOptions','__driver','lcmLy','LreFI','WMfre','se:ieOptions','xvPrS','852819zwtpSH','getHubUrl','edgeOptions_','newHubUrl','setCapabilities','keys','isAccessibilityPlatform','/wd/hub','originalBuilder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','KDsFN','qddxt','session_','../../../helpers/globals','3KxrFRZ','build','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','browserStackLogLevel','../../../helpers/logger','../../../bin/utils/constants','__drivers','dJmRv','uNqcV','chromeOptions_','storeOptimalHubUrl','fhdrm','LWYZv','proxySettings','moz:firefoxOptions','object','VpnbX','info','debug','firefoxOptions_','20RiFVHP','Builder','capability','ieOptions_','mergeDeep','isPacProxy','proxy_','getAccessibilityResultsSummary','capabilities_','get','path','options_','optimalHubUrl','Hub\x20url\x20set\x20to\x20','send','1324552DIuMGM','safariOptions_','235789sRXzqO','mNcaD','5tdsCAm','agent_','url_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','CaAYb','__setBrowserOptions','YHTJh','CAPABILITY_KEY','split','yClka','isUndefined','push','setServer','626607QkitZT','requireHttpClient','__driversArray','firefoxOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','global','wDPfM','exports','JXtSy','56jKeHcy','5|3|4|2|0|1','overrideGet'];a33_0x30c1=function(){return _0x189d53;};return a33_0x30c1();}const logger=require(a33_0x4b0420(0x16b))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a33_0x4b0420(0x16c)),hubAllocator=require(a33_0x4b0420(0x1a9)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4b0420(0x145)),{setAccessibilityCapabilities,setExtension}=require(a33_0x4b0420(0x151)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x4b0420(0x166)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x30149b,_0x37afb7=null,_0x50009e=![])=>{const _0x186570=a33_0x4b0420,_0x5f4868={'AkkhL':function(_0x432e08,_0x2d76bd){return _0x432e08!==_0x2d76bd;},'SRXtR':'/session','LWYZv':function(_0x33db45,_0x15b2e5){return _0x33db45!==_0x15b2e5;},'ZukDx':function(_0x255b5e,_0xad70b0){return _0x255b5e+_0xad70b0;},'WMfre':_0x186570(0x150),'amGXB':_0x186570(0x160),'mNcaD':_0x186570(0x1b0),'qddxt':'chromeOptions','ZBpTf':'ms:edgeOptions','fhdrm':'edgeOptions','lcmLy':_0x186570(0x175),'xvPrS':_0x186570(0x19e),'fChtm':_0x186570(0x13f),'mOIyq':_0x186570(0x157),'gLNke':'ieOptions','YHTJh':function(_0x8c66a0,_0x500295){return _0x8c66a0===_0x500295;},'BLwkf':_0x186570(0x176),'CaAYb':_0x186570(0x1a8),'yClka':_0x186570(0x187),'wMXeX':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','EQPSb':function(_0x2be4c3,_0x7c7e2c,_0x2110a5){return _0x2be4c3(_0x7c7e2c,_0x2110a5);},'JXtSy':function(_0x4f4bc6,_0x4a8ad6){return _0x4f4bc6(_0x4a8ad6);},'wDPfM':function(_0x9e4de7,_0x2925f2,_0x36485a){return _0x9e4de7(_0x2925f2,_0x36485a);},'rdhsV':_0x186570(0x1a5),'VpnbX':_0x186570(0x15f),'ltAiP':_0x186570(0x162),'dJmRv':function(_0xb55cdb){return _0xb55cdb();},'uNqcV':function(_0x427968,_0x1d182d){return _0x427968(_0x1d182d);},'IjIPE':function(_0x26f52a,_0x4b54ec,_0x44f4d8){return _0x26f52a(_0x4b54ec,_0x44f4d8);},'FdLPn':_0x186570(0x191),'iYBZr':'Modifying\x20webdriver\x20builder'},_0x2c0231=helper[_0x186570(0x19c)]();let _0x4e2e2a;try{_0x4e2e2a=helper[_0x186570(0x148)](),_0x4e2e2a['originalBuilder']&&(_0x4e2e2a[_0x186570(0x17c)]=_0x4e2e2a[_0x186570(0x161)]);}catch(_0x3883ab){return;}if(helper[_0x186570(0x143)]()){const _0xb76489={};_0xb76489[_0x186570(0x1aa)]=_0x30149b[_0x186570(0x16a)],helper['setLogLevel'](_0xb76489,new Map(),new Map()),logger[_0x186570(0x178)](_0x5f4868['FdLPn']),logger[_0x186570(0x179)](_0x5f4868['iYBZr']);}class _0x3f9928 extends _0x2c0231[_0x186570(0x1ad)]{[_0x186570(0x189)](_0x33407a){const _0x270eb2=_0x186570;if(_0x5f4868[_0x270eb2(0x1ac)](_0x33407a[_0x270eb2(0x185)],_0x5f4868['SRXtR'])&&_0x5f4868[_0x270eb2(0x173)](global[_0x270eb2(0x15c)],''))try{global['newHubUrl']=_0x5f4868[_0x270eb2(0x1af)](_0x5f4868[_0x270eb2(0x1af)](_0x5f4868[_0x270eb2(0x156)],global['newHubUrl']),_0x5f4868['amGXB']),this[_0x270eb2(0x186)]=hubAllocator[_0x270eb2(0x152)](global[_0x270eb2(0x15c)]),logger[_0x270eb2(0x179)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x270eb2(0x15c)]),global[_0x270eb2(0x15c)]='';}catch(_0x2be097){logger['error'](_0x2be097);}return super['send'](_0x33407a);}}class _0x4fb23e extends _0x4e2e2a[_0x186570(0x17c)]{[_0x186570(0x19a)](){const _0x2c4e31=_0x186570;return this[_0x2c4e31(0x190)]=helper[_0x2c4e31(0x15a)](_0x30149b),logger[_0x2c4e31(0x179)](_0x2c4e31(0x188)+this[_0x2c4e31(0x190)]),this;}[_0x186570(0x193)](_0x49a677){const _0x515da5=_0x186570;let _0x2e73d8={};for(const _0x17c995 in _0x49a677){switch(_0x17c995){case _0x5f4868[_0x515da5(0x18d)]:case _0x5f4868[_0x515da5(0x164)]:this['chromeOptions_']&&(_0x2e73d8=this[_0x515da5(0x170)]['get'](this['chromeOptions_'][_0x515da5(0x195)])||{},this['chromeOptions_']['set'](this[_0x515da5(0x170)][_0x515da5(0x195)],helper[_0x515da5(0x17f)](_0x2e73d8,_0x49a677[_0x17c995])));break;case _0x5f4868[_0x515da5(0x14f)]:case _0x5f4868[_0x515da5(0x172)]:this[_0x515da5(0x15b)]&&(_0x2e73d8=this[_0x515da5(0x15b)][_0x515da5(0x184)](this[_0x515da5(0x15b)][_0x515da5(0x195)])||{},this[_0x515da5(0x15b)][_0x515da5(0x14d)](this[_0x515da5(0x15b)][_0x515da5(0x195)],helper[_0x515da5(0x17f)](_0x2e73d8,_0x49a677[_0x17c995])));break;case _0x5f4868[_0x515da5(0x154)]:case _0x5f4868[_0x515da5(0x158)]:this['firefoxOptions_']&&(_0x2e73d8=this[_0x515da5(0x17a)][_0x515da5(0x184)](this[_0x515da5(0x17a)][_0x515da5(0x195)])||{},this[_0x515da5(0x17a)]['set'](this[_0x515da5(0x17a)]['CAPABILITY_KEY'],helper[_0x515da5(0x17f)](_0x2e73d8,_0x49a677[_0x17c995])));break;case _0x5f4868[_0x515da5(0x142)]:this[_0x515da5(0x18b)]&&(_0x2e73d8=this[_0x515da5(0x18b)][_0x515da5(0x184)](this[_0x515da5(0x18b)]['CAPABILITY_KEY'])||{},this[_0x515da5(0x18b)][_0x515da5(0x14d)](this['safariOptions_'][_0x515da5(0x195)],helper['mergeDeep'](_0x2e73d8,_0x49a677[_0x17c995])));break;case _0x5f4868['mOIyq']:case _0x5f4868['gLNke']:this['ieOptions_']&&(_0x2e73d8=this[_0x515da5(0x17e)]['get'](this[_0x515da5(0x17e)][_0x515da5(0x195)])||{},this[_0x515da5(0x17e)][_0x515da5(0x14d)](this['ieOptions_'][_0x515da5(0x195)],helper[_0x515da5(0x17f)](_0x2e73d8,_0x49a677[_0x17c995])));break;}}}['setCapabilities'](){const _0x416778=_0x186570,_0x1d124d={'LreFI':function(_0x17b3c0,_0x496422){const _0x5cbe38=a33_0xc688;return _0x5f4868[_0x5cbe38(0x194)](_0x17b3c0,_0x496422);},'EmkaQ':_0x5f4868[_0x416778(0x140)]};return logger[_0x416778(0x179)](_0x5f4868[_0x416778(0x192)]),this[_0x416778(0x193)](_0x30149b[_0x416778(0x17d)]),Object[_0x416778(0x15e)](_0x30149b[_0x416778(0x17d)])[_0x416778(0x1a7)](_0x533363=>{const _0x1ef694=_0x416778,_0x43d658=this['capabilities_'][_0x1ef694(0x184)](_0x533363);_0x1d124d[_0x1ef694(0x155)](typeof _0x43d658,_0x1d124d[_0x1ef694(0x146)])?this['capabilities_'][_0x1ef694(0x14d)](_0x533363,helper['mergeDeep'](_0x43d658,_0x30149b[_0x1ef694(0x17d)][_0x533363])):this[_0x1ef694(0x183)]['set'](_0x533363,_0x30149b[_0x1ef694(0x17d)][_0x533363]);}),this;}[_0x186570(0x168)](){const _0x560b98=_0x186570,_0x89f7e5={'QjBcN':function(_0x453589,_0x52b1a9,_0x1f6261){return _0x5f4868['wDPfM'](_0x453589,_0x52b1a9,_0x1f6261);}};if(helper[_0x560b98(0x143)]()){const _0x58fefa=_0x5f4868['rdhsV'][_0x560b98(0x196)]('|');let _0x1236e4=0x0;while(!![]){switch(_0x58fefa[_0x1236e4++]){case'0':globals['getGlobal'](_0x5f4868[_0x560b98(0x177)])&&(!_0x5f4868[_0x560b98(0x1a1)](setExtension,this,_0x30149b)&&globals['setGlobal'](_0x5f4868[_0x560b98(0x177)],![]));continue;case'1':logger[_0x560b98(0x179)](_0x5f4868['ltAiP']);continue;case'2':if(helper[_0x560b98(0x180)](_0x30149b[_0x560b98(0x174)][_0x560b98(0x149)]))this[_0x560b98(0x18f)]=helper['getHttpAgent'](_0x30149b[_0x560b98(0x174)]['proxyUrl']);else _0x30149b[_0x560b98(0x174)][_0x560b98(0x149)]&&(this[_0x560b98(0x181)]=_0x30149b[_0x560b98(0x174)]['proxyUrl'],logger[_0x560b98(0x179)](_0x560b98(0x1ae)+this[_0x560b98(0x181)]));continue;case'3':this[_0x560b98(0x19a)]();continue;case'4':this[_0x560b98(0x15d)]();continue;case'5':_0x5f4868[_0x560b98(0x16e)](isAccessibilityAutomationSession)&&_0x5f4868[_0x560b98(0x1a3)](setAccessibilityCapabilities,_0x30149b);continue;}break;}}const _0x5b9efa=super[_0x560b98(0x168)]();return _0x5b9efa[_0x560b98(0x165)][_0x560b98(0x14c)](_0x467d7b=>{const _0x233e62=_0x560b98;try{const _0x4a586c=_0x467d7b['caps_'][_0x233e62(0x184)](_0x5f4868[_0x233e62(0x197)]);_0x4a586c?(logger['debug'](_0x233e62(0x19f)+_0x4a586c),hubAllocator['updateHubUrl'](_0x4a586c),helper[_0x233e62(0x171)](_0x4a586c)):logger['debug'](_0x5f4868[_0x233e62(0x13e)]);}catch(_0x4e6c8f){logger[_0x233e62(0x179)](_0x233e62(0x169)+_0x4e6c8f);}}),_0x5b9efa[_0x560b98(0x144)]=0x0,_0x5b9efa[_0x560b98(0x14c)]&&_0x5b9efa[_0x560b98(0x14c)](_0x401706=>{const _0x4bb8c9=_0x560b98,_0x561822={'KDsFN':function(_0x2f9de6,_0x1423cc,_0x24fb1e){const _0x44e2e9=a33_0xc688;return _0x5f4868[_0x44e2e9(0x1ab)](_0x2f9de6,_0x1423cc,_0x24fb1e);}};_0x5f4868[_0x4bb8c9(0x1ab)](overrideQuit,_0x401706,_0x5b9efa),_0x5f4868['JXtSy'](overrideTakeScreenshot,_0x401706),helper[_0x4bb8c9(0x1a6)](_0x401706,_0x30149b),_0x5f4868[_0x4bb8c9(0x1a1)](overrideExecute,_0x401706,_0x30149b),_0x401706['getAccessibilityResultsSummary']=async()=>{const _0x1e5401=_0x4bb8c9;return await _0x561822[_0x1e5401(0x163)](getAccessibilityResultsSummary,_0x401706,global);},_0x401706['getAccessibilityResults']=async()=>{const _0xb1f00=_0x4bb8c9;return await _0x89f7e5[_0xb1f00(0x14a)](getAccessibilityResults,_0x401706,global);};}),_0x5b9efa[_0x560b98(0x182)]=async()=>{const _0x1aa03d=_0x560b98;return await _0x89f7e5[_0x1aa03d(0x14a)](getAccessibilityResultsSummary,_0x5b9efa,global);},_0x5b9efa['getAccessibilityResults']=async()=>{const _0x486edf=_0x560b98;return await _0x89f7e5[_0x486edf(0x14a)](getAccessibilityResults,_0x5b9efa,global);},_0x5f4868[_0x560b98(0x16f)](overrideTakeScreenshot,_0x5b9efa),_0x5f4868[_0x560b98(0x1a3)](overrideQuit,_0x5b9efa),helper[_0x560b98(0x1a6)](_0x5b9efa,_0x30149b),_0x5f4868['IjIPE'](overrideExecute,_0x5b9efa,_0x30149b),helper[_0x560b98(0x198)](global[_0x560b98(0x19d)])&&(global[_0x560b98(0x19d)]=[]),helper[_0x560b98(0x198)](global[_0x560b98(0x16d)])&&(global['__drivers']=[]),global[_0x560b98(0x19d)][_0x560b98(0x199)](_0x5b9efa),global[_0x560b98(0x153)]=_0x5b9efa,_0x5f4868[_0x560b98(0x173)](global[_0x560b98(0x16d)],undefined)&&global[_0x560b98(0x16d)][_0x560b98(0x199)](_0x5b9efa),_0x37afb7&&helper['isUndefined'](_0x37afb7['global'][_0x560b98(0x19d)])&&(_0x37afb7[_0x560b98(0x1a0)]['__driversArray']=[]),_0x37afb7&&_0x5f4868[_0x560b98(0x1ac)](_0x37afb7[_0x560b98(0x1a0)][_0x560b98(0x16d)],undefined)&&(_0x37afb7[_0x560b98(0x1a0)]['__drivers'][_0x560b98(0x199)](_0x5b9efa),_0x37afb7['global'][_0x560b98(0x19d)]['push'](_0x5b9efa)),_0x5b9efa;}}return _0x4e2e2a[_0x186570(0x161)]=_0x4e2e2a[_0x186570(0x17c)],_0x4e2e2a[_0x186570(0x17c)]=_0x4fb23e,_0x2c0231[_0x186570(0x1ad)]=_0x3f9928,_0x4e2e2a;};module[a33_0x4b0420(0x1a2)][a33_0x4b0420(0x14b)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x589325=a34_0x5b0d;(function(_0x5d2500,_0x1f7a7f){const _0x12208e=a34_0x5b0d,_0x4e858f=_0x5d2500();while(!![]){try{const _0x5875ff=parseInt(_0x12208e(0xb7))/0x1+parseInt(_0x12208e(0xb4))/0x2*(-parseInt(_0x12208e(0xb0))/0x3)+parseInt(_0x12208e(0xb3))/0x4+-parseInt(_0x12208e(0xad))/0x5+parseInt(_0x12208e(0xb1))/0x6+-parseInt(_0x12208e(0xb6))/0x7*(-parseInt(_0x12208e(0xae))/0x8)+-parseInt(_0x12208e(0xab))/0x9;if(_0x5875ff===_0x1f7a7f)break;else _0x4e858f['push'](_0x4e858f['shift']());}catch(_0x381996){_0x4e858f['push'](_0x4e858f['shift']());}}}(a34_0x49ae,0x5241f));function a34_0x49ae(){const _0x52eb57=['784yBZmLO','443167TxQtRd','3696777CQQqqW','../../../bin/utils/constants','1874650HSwEZt','12344uFpTVn','../../../helpers/request-spy','3VhfGcg','62346DQCLBR','restore','2202948eSDZOB','109002fTBsct','timeout'];a34_0x49ae=function(){return _0x52eb57;};return a34_0x49ae();}const requestSpy=require(a34_0x589325(0xaf)),constants=require(a34_0x589325(0xac)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a34_0x5b0d(_0x56b0d9,_0x24d368){const _0x49aecd=a34_0x49ae();return a34_0x5b0d=function(_0x5b0d2c,_0x48d7dd){_0x5b0d2c=_0x5b0d2c-0xab;let _0x4f55bb=_0x49aecd[_0x5b0d2c];return _0x4f55bb;},a34_0x5b0d(_0x56b0d9,_0x24d368);}exports['mochaHooks']={'beforeAll'(){const _0x323935={'GDVdK':function(_0xaa82ae){return _0xaa82ae();}},_0x52538f='browserstack internal helper hook';_0x323935['GDVdK'](addRequestSpy);},'afterAll'(){const _0x41ed5f=a34_0x589325,_0x25cd80='browserstack internal helper hook';this[_0x41ed5f(0xb5)](0xea60),requestSpy[_0x41ed5f(0xb2)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x2e779c=a35_0x4305;(function(_0x1719fc,_0x1ee94b){const _0xf0d475=a35_0x4305,_0x53d6cf=_0x1719fc();while(!![]){try{const _0x4abb44=parseInt(_0xf0d475(0x147))/0x1+parseInt(_0xf0d475(0x140))/0x2*(-parseInt(_0xf0d475(0x130))/0x3)+parseInt(_0xf0d475(0x126))/0x4*(-parseInt(_0xf0d475(0x132))/0x5)+parseInt(_0xf0d475(0x165))/0x6*(parseInt(_0xf0d475(0x127))/0x7)+parseInt(_0xf0d475(0x174))/0x8*(parseInt(_0xf0d475(0x125))/0x9)+parseInt(_0xf0d475(0x153))/0xa+-parseInt(_0xf0d475(0x11c))/0xb;if(_0x4abb44===_0x1ee94b)break;else _0x53d6cf['push'](_0x53d6cf['shift']());}catch(_0x5295e2){_0x53d6cf['push'](_0x53d6cf['shift']());}}}(a35_0x1676,0xb7a01));function a35_0x4305(_0x54c66d,_0x1b5f9b){const _0x16768a=a35_0x1676();return a35_0x4305=function(_0x4305dc,_0x4a67e7){_0x4305dc=_0x4305dc-0x11b;let _0x404521=_0x16768a[_0x4305dc];return _0x404521;},a35_0x4305(_0x54c66d,_0x1b5f9b);}const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x2e779c(0x121)),logPatcher=require(a35_0x2e779c(0x152)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x2e779c(0x16b)),{getPlatformVersion}=require(a35_0x2e779c(0x162)),{shouldProcessEventForTesthub}=require(a35_0x2e779c(0x13e)),{isFunction}=require(a35_0x2e779c(0x142)),{patchConsoleLogger}=require(a35_0x2e779c(0x139));function a35_0x1676(){const _0x3af8fd=['getHooksForTest','HbyIL','wiWOL','ccTng','getHookSkippedTests','1691576jUSrMT','getCapabilities','26291111DkhCRm','tests','hook','markedStatus','browserstack','../../../../package.json','fCddX','getPlatform','mapTestHooks','27ycjrQC','1104PwFjcV','12607Hautan','js-','_afterEach','concat','emit','IptEo','getHookDetails','getBrowserVersion','reduce','2742WCzmOJ','srIed','3180ItgfZS','_beforeAll','TEST_PLATFORM','bs:addPlatformDetails:','EsQuh','_afterAll','vMQSu','../../../helpers/test-observability/utils','QtfiG','forEach','bgPxs','get','../../../helpers/testhub/utils','__cloud_provider___','584zenCgN','eKyVN','lodash','push','string','_beforeEach','syGCp','155520ajGiwO','yUnoz','FbZMw','split','state','pid','filter','indexOf','getBrowserName','ixETf','JpQZU','../../utils/logPatcher','13593960AYTxMe','hook:','rGFTq','slice','passed','XFloC','substring','HgnME','pending','platformVersion','unknown_grid','mBysf','lissn','MNCUS','getSession','../../../helpers/helper','WvACw','generic','4782lPjGAg','dLUub','type','toISOString','hookAnalyticsId','fromEntries','../../../helpers/test-observability/constants','parent','LqMFV','lHGQQ'];a35_0x1676=function(){return _0x3af8fd;};return a35_0x1676();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x3f4627=a35_0x2e779c,_0x38ba37={'ccTng':_0x3f4627(0x164),'XHZnG':function(_0x2c622e){return _0x2c622e();}};return{'ci':_0x38ba37[_0x3f4627(0x172)],'key':_0x38ba37['XHZnG'](uuidv4),'version':version,'collector':_0x3f4627(0x128)+name};},exports[a35_0x2e779c(0x12d)]=_0x3912a7=>{const _0x3fdfba=a35_0x2e779c,_0x5c0cb1={};_0x5c0cb1[_0x3fdfba(0x12c)]=function(_0x20499a,_0x17bbf0){return _0x20499a!==_0x17bbf0;},_0x5c0cb1[_0x3fdfba(0x15e)]=_0x3fdfba(0x144),_0x5c0cb1[_0x3fdfba(0x138)]=_0x3fdfba(0x154),_0x5c0cb1['wiWOL']=function(_0x4e4efc,_0x409b42){return _0x4e4efc!==_0x409b42;},_0x5c0cb1[_0x3fdfba(0x122)]=_0x3fdfba(0x11e);const _0x2dbe15=_0x5c0cb1;if(!_0x3912a7||_0x2dbe15[_0x3fdfba(0x12c)](typeof _0x3912a7,_0x2dbe15[_0x3fdfba(0x15e)]))return[null,null];if(_0x2dbe15[_0x3fdfba(0x12c)](_0x3912a7[_0x3fdfba(0x14e)](_0x2dbe15[_0x3fdfba(0x138)]),-0x1)){const _0x57bb3d=_0x3912a7[_0x3fdfba(0x14a)](_0x2dbe15[_0x3fdfba(0x138)]);return[_0x57bb3d[0x0][_0x3fdfba(0x156)](0x0,-0x1)['split']('\x22')[0x1],_0x57bb3d[0x1][_0x3fdfba(0x159)](0x1)];}else{if(_0x2dbe15[_0x3fdfba(0x171)](_0x3912a7[_0x3fdfba(0x14e)](_0x2dbe15[_0x3fdfba(0x122)]),-0x1)){const _0x449136=_0x3912a7[_0x3fdfba(0x14a)](_0x2dbe15[_0x3fdfba(0x122)]);return[_0x449136[0x0][_0x3fdfba(0x156)](0x0,-0x1)[_0x3fdfba(0x14a)]('\x22')[0x1],_0x3912a7];}}return[null,null];},exports[a35_0x2e779c(0x16f)]=_0x43760c=>{const _0x58585d=a35_0x2e779c,_0x2cec27={'ixETf':function(_0x4bc56b,_0x57b6f7){return _0x4bc56b(_0x57b6f7);},'xkDMf':_0x58585d(0x133),'kJGse':_0x58585d(0x137),'lissn':_0x58585d(0x145),'yUnoz':'_afterEach'};if(!_0x43760c||!_0x43760c['parent'])return[];const _0x5e5d1d=[];return[_0x2cec27['xkDMf'],_0x2cec27['kJGse'],_0x2cec27[_0x58585d(0x15f)],_0x2cec27[_0x58585d(0x148)]][_0x58585d(0x13b)](_0x1e1e8a=>{const _0x3d1e48=_0x58585d,_0x315090=_0x43760c['parent'][_0x1e1e8a]||[];_0x315090[_0x3d1e48(0x13b)](_0x12e678=>{const _0x33c922=_0x3d1e48;_0x12e678[_0x33c922(0x169)]&&!_0x2cec27[_0x33c922(0x150)](isInternalHook,_0x12e678['fn'])&&_0x5e5d1d[_0x33c922(0x143)](_0x12e678[_0x33c922(0x169)]);});}),[..._0x5e5d1d,...exports[_0x58585d(0x16f)](_0x43760c[_0x58585d(0x16c)])];},exports[a35_0x2e779c(0x124)]=_0x5013c9=>{const _0xf05aff=a35_0x2e779c,_0x3518af={'lHGQQ':function(_0x185b92){return _0x185b92();},'HgnME':function(_0x53cba9,_0x4c7317){return _0x53cba9===_0x4c7317;},'XFloC':_0xf05aff(0x129),'FbZMw':'_beforeAll','eKyVN':_0xf05aff(0x137),'bgPxs':_0xf05aff(0x145)};if(!_0x5013c9||!_0x5013c9[_0xf05aff(0x16c)])return;[_0x3518af[_0xf05aff(0x149)],_0x3518af[_0xf05aff(0x141)],_0x3518af[_0xf05aff(0x13c)],_0x3518af[_0xf05aff(0x158)]][_0xf05aff(0x13b)](_0x5adf90=>{const _0x284b58=_0xf05aff,_0x23fd72=_0x5013c9[_0x284b58(0x16c)][_0x5adf90]||[];_0x23fd72[_0x284b58(0x13b)](_0x98ca5e=>{const _0x56d907=_0x284b58;if(!_0x98ca5e[_0x56d907(0x169)])_0x98ca5e[_0x56d907(0x169)]=_0x3518af[_0x56d907(0x16e)](uuidv4);else _0x98ca5e[_0x56d907(0x11f)]&&_0x3518af[_0x56d907(0x15a)](_0x5adf90,_0x3518af[_0x56d907(0x158)])&&(_0x98ca5e[_0x56d907(0x169)]=_0x3518af['lHGQQ'](uuidv4),delete _0x98ca5e[_0x56d907(0x11f)]);});}),exports['mapTestHooks'](_0x5013c9['parent']);},exports['sendPlatformDetails']=async(_0x4df447,_0x42a542)=>{const _0xcfd2bb=a35_0x2e779c,_0x479b6d={'QjlNh':function(_0x2b43f8){return _0x2b43f8();},'srIed':function(_0x3bcf60,_0x59b996){return _0x3bcf60(_0x59b996);},'LqMFV':_0xcfd2bb(0x15c),'MNCUS':function(_0x2f69ac,_0x23d2a9){return _0x2f69ac===_0x23d2a9;},'JpQZU':_0xcfd2bb(0x120),'QtfiG':_0xcfd2bb(0x15d),'EsQuh':_0xcfd2bb(0x134)};try{if(!_0x479b6d['QjlNh'](shouldProcessEventForTesthub))return;const _0x426598=await _0x4df447[_0xcfd2bb(0x11b)](),_0x5a8616=await _0x4df447[_0xcfd2bb(0x161)](),_0x3e81b6={},_0x2a0726=Object[_0xcfd2bb(0x16a)](_0x5a8616['getCapabilities']()['map_']),_0xe2d8={'product':_0x479b6d['srIed'](getObservabilityLinkedProductName,_0x2a0726),'capabilities':_0x2a0726,'platform':_0x426598[_0xcfd2bb(0x123)](),'platform_version':_0x426598[_0xcfd2bb(0x13d)](_0x479b6d['LqMFV'])?_0x426598['get'](_0x479b6d[_0xcfd2bb(0x16d)]):_0x479b6d[_0xcfd2bb(0x131)](getPlatformVersion,_0x479b6d[_0xcfd2bb(0x160)](global['__cloud_provider___'],_0x479b6d[_0xcfd2bb(0x151)])),'browser':_0x426598[_0xcfd2bb(0x14f)](),'browser_version':_0x426598[_0xcfd2bb(0x12e)](),'session_id':_0x5a8616['toJSON']()};global[_0xcfd2bb(0x13f)]?_0x3e81b6[global[_0xcfd2bb(0x13f)]]=_0xe2d8:_0x3e81b6[_0x479b6d[_0xcfd2bb(0x13a)]]=_0xe2d8,process[_0xcfd2bb(0x12b)](_0xcfd2bb(0x135)+process[_0xcfd2bb(0x14c)],{'timestamp':new Date()[_0xcfd2bb(0x168)](),'level':null,'message':null,'kind':_0x479b6d[_0xcfd2bb(0x136)],'http_response':_0x3e81b6,'uuid':_0x42a542});}catch(_0x20df65){_0x479b6d[_0xcfd2bb(0x131)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x20df65);}},exports['getHookSkippedTests']=_0xa6279c=>{const _0x4d1090=a35_0x2e779c,_0x3dcbed={};_0x3dcbed['HKqex']=function(_0x237e9a,_0x15d0e2){return _0x237e9a!==_0x15d0e2;},_0x3dcbed[_0x4d1090(0x155)]='hook',_0x3dcbed[_0x4d1090(0x166)]=function(_0x41a3f2,_0x58b659){return _0x41a3f2!==_0x58b659;},_0x3dcbed[_0x4d1090(0x170)]=_0x4d1090(0x157),_0x3dcbed[_0x4d1090(0x163)]=function(_0x539098,_0x56f2bf){return _0x539098!==_0x56f2bf;},_0x3dcbed[_0x4d1090(0x146)]='failed';const _0x1d7feb=_0x3dcbed,_0x2c1d87=_0xa6279c['suites'][_0x4d1090(0x12f)]((_0x10ee55,_0x185a63)=>{const _0x15e5f5=_0x4d1090,_0x38d471=exports[_0x15e5f5(0x173)](_0x185a63);return _0x38d471&&(_0x10ee55=_0x10ee55[_0x15e5f5(0x12a)](_0x38d471)),_0x10ee55;},[]),_0xf643f=_0xa6279c[_0x4d1090(0x11d)][_0x4d1090(0x14d)](_0xc6c529=>{const _0x5440f9=_0x4d1090,_0x45811d=_0x1d7feb['HKqex'](_0xc6c529[_0x5440f9(0x167)],_0x1d7feb[_0x5440f9(0x155)])&&!_0xc6c529[_0x5440f9(0x11f)]&&_0x1d7feb[_0x5440f9(0x166)](_0xc6c529[_0x5440f9(0x14b)],_0x1d7feb[_0x5440f9(0x170)])&&_0x1d7feb[_0x5440f9(0x163)](_0xc6c529[_0x5440f9(0x14b)],_0x1d7feb[_0x5440f9(0x146)])&&!_0xc6c529[_0x5440f9(0x15b)];return _0x45811d;});return _0xf643f[_0x4d1090(0x12a)](_0x2c1d87);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x679aba=a36_0x28bb;(function(_0x16dec0,_0x18d59f){const _0x42dacd=a36_0x28bb,_0x25a8e6=_0x16dec0();while(!![]){try{const _0x544366=-parseInt(_0x42dacd(0x1b6))/0x1+-parseInt(_0x42dacd(0x173))/0x2*(-parseInt(_0x42dacd(0x137))/0x3)+parseInt(_0x42dacd(0x174))/0x4+-parseInt(_0x42dacd(0x164))/0x5*(parseInt(_0x42dacd(0x14f))/0x6)+-parseInt(_0x42dacd(0x193))/0x7+parseInt(_0x42dacd(0x17d))/0x8*(-parseInt(_0x42dacd(0x16a))/0x9)+parseInt(_0x42dacd(0x180))/0xa;if(_0x544366===_0x18d59f)break;else _0x25a8e6['push'](_0x25a8e6['shift']());}catch(_0x22a27b){_0x25a8e6['push'](_0x25a8e6['shift']());}}}(a36_0x2114,0x9791e));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x679aba(0x171)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x679aba(0x1a7)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x679aba(0x16d)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x679aba(0x165)),PerformanceTester=require(a36_0x679aba(0x1b4)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x679aba(0x1ef)),globals=require(a36_0x679aba(0x162)),logger=require(a36_0x679aba(0x15d))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x679aba(0x1d9)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x28bb(_0x375ad2,_0x4cb7e5){const _0x211431=a36_0x2114();return a36_0x28bb=function(_0x28bb92,_0xfdd6cc){_0x28bb92=_0x28bb92-0x135;let _0x2c3331=_0x211431[_0x28bb92];return _0x2c3331;},a36_0x28bb(_0x375ad2,_0x4cb7e5);}exports[a36_0x679aba(0x1f1)]={'beforeAll'(){const _0x2dd2b5=a36_0x679aba,_0x4e2e87={'hhZIc':function(_0xc14085,_0x3efdb6,_0x2779cd,_0x218d4c){return _0xc14085(_0x3efdb6,_0x2779cd,_0x218d4c);},'fhTjp':_0x2dd2b5(0x142),'XWhtR':_0x2dd2b5(0x18c),'FfVEY':function(_0x423178,_0x20efa5,_0x45577f){return _0x423178(_0x20efa5,_0x45577f);},'hiWOR':_0x2dd2b5(0x199),'uxerX':function(_0x3ae525){return _0x3ae525();},'pBQMv':function(_0x44becc,_0x5355d0,_0x103997){return _0x44becc(_0x5355d0,_0x103997);},'lVBYb':_0x2dd2b5(0x1bd),'uDXgR':'beforeAll'};PerformanceTester[_0x2dd2b5(0x1c9)]();const _0x2c5aac='browserstack internal helper hook';PerformanceTester[_0x2dd2b5(0x1db)](PerformanceSdkEvents[_0x2dd2b5(0x192)],()=>{const _0x8cadf9=_0x2dd2b5;global[_0x8cadf9(0x1d5)]=[],global[_0x8cadf9(0x1ad)]=![],global[_0x8cadf9(0x1e3)]=async()=>{const _0x1739bb=_0x8cadf9;let _0x16106e=![];try{await global[_0x1739bb(0x1e5)][0x0][_0x1739bb(0x1c0)],_0x16106e=!![],global[_0x1739bb(0x1ad)]?await _0x4e2e87['hhZIc'](markSessionStatus,global[_0x1739bb(0x1e5)][0x0],_0x4e2e87[_0x1739bb(0x1ca)],global[_0x1739bb(0x1d5)]['join'](_0x4e2e87[_0x1739bb(0x181)])):await _0x4e2e87['FfVEY'](markSessionStatus,global[_0x1739bb(0x1e5)][0x0],_0x4e2e87[_0x1739bb(0x17c)]);}catch(_0xf0b8f4){logger[_0x1739bb(0x195)](_0x1739bb(0x1b0)+_0xf0b8f4);}global[_0x1739bb(0x1d5)]=[],global[_0x1739bb(0x1ad)]=![];if(_0x16106e)try{try{_0x4e2e87['uxerX'](shouldProcessEventForTesthub)&&(global[_0x1739bb(0x1e5)][0x0]&&await _0x4e2e87['pBQMv'](sendPlatformDetails,global[_0x1739bb(0x1e5)][0x0],this[_0x1739bb(0x18b)]?this[_0x1739bb(0x18b)][_0x1739bb(0x141)]:null));}catch(_0x32a325){logger[_0x1739bb(0x195)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x32a325);}await global[_0x1739bb(0x1e5)][0x0]['initQuit']();}catch(_0x3a363b){logger['debug'](_0x1739bb(0x1da)+_0x3a363b);}};},{'platform':_0x4e2e87[_0x2dd2b5(0x163)](nestedKeyValue,global[_0x2dd2b5(0x16b)],[_0x4e2e87[_0x2dd2b5(0x147)]]),'hookType':_0x4e2e87[_0x2dd2b5(0x182)]})();},'beforeEach'(_0x34a258){const _0x10c152=a36_0x679aba,_0x3b6d0e={'mpuic':function(_0x42abc5,_0x20bcaa){return _0x42abc5>_0x20bcaa;},'tWXcB':function(_0x217676,_0x1b5fb7){return _0x217676>_0x1b5fb7;},'KwgPk':_0x10c152(0x158),'NYvik':function(_0x413013,_0xff3b2f,_0x2eae5d){return _0x413013(_0xff3b2f,_0x2eae5d);},'lGxwU':function(_0x3dc6b9,_0x5b87f1){return _0x3dc6b9===_0x5b87f1;},'UPQDO':'bstackA11yShouldScan','oNvZr':'bstackA11yScanOptions','fMydm':function(_0x13b1c7){return _0x13b1c7();},'JpacR':function(_0x31cba0,_0x1fe93a){return _0x31cba0>_0x1fe93a;},'cukLb':_0x10c152(0x161),'gEGOn':function(_0x4cc163,_0x496c5f){return _0x4cc163===_0x496c5f;},'ghSrj':'http:','RApkg':_0x10c152(0x1df),'FwduS':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','FqubG':_0x10c152(0x1d6),'zoUMs':function(_0x1c4ade){return _0x1c4ade();},'pVErd':_0x10c152(0x15e),'zKxlg':_0x10c152(0x1bd),'uSzGQ':'beforeEach'};globals[_0x10c152(0x154)](_0x3b6d0e[_0x10c152(0x13a)],this[_0x10c152(0x18b)][_0x10c152(0x148)]()['join'](_0x3b6d0e['KwgPk'])),PerformanceTester[_0x10c152(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x50aacc=_0x10c152,_0x4fd439={'NHDGG':function(_0x2ebe55){const _0x512135=a36_0x28bb;return _0x3b6d0e[_0x512135(0x187)](_0x2ebe55);}},_0x542be5='browserstack internal helper hook';new Promise(async _0x2414db=>{const _0x252123=a36_0x28bb;let _0x2019b7=!![];try{_0x3b6d0e['mpuic'](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x252123(0x1e5)][_0x252123(0x1b7)]()),_0x3b6d0e[_0x252123(0x175)](global[_0x252123(0x1e5)][0x0][_0x252123(0x157)],0x0)&&(_0x2019b7=![],await global['driverCleanup']());}catch(_0xe28da7){logger[_0x252123(0x195)](_0x252123(0x1da)+_0xe28da7);}try{Array['isArray'](global[_0x252123(0x1e5)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x252123(0x1bf)]=this[_0x252123(0x18b)][_0x252123(0x148)]()[_0x252123(0x1a4)](_0x3b6d0e[_0x252123(0x145)])),global['browserstackSessionName']=this['currentTest'][_0x252123(0x148)]()[_0x252123(0x1a4)](_0x3b6d0e[_0x252123(0x145)]);}catch(_0x237858){logger[_0x252123(0x195)](_0x252123(0x135)+_0x237858);}this[_0x252123(0x18b)][_0x252123(0x1c3)]=_0x3b6d0e[_0x252123(0x1e0)](shouldScanTestForAccessibility,this[_0x252123(0x18b)][_0x252123(0x148)](),!![]);let _0x41a95d=!![];try{const _0x34b816=JSON[_0x252123(0x1a0)](process['env'][_0x252123(0x1e6)]||'{}');_0x3b6d0e['lGxwU'](_0x34b816[_0x252123(0x170)],![])&&(_0x41a95d=![]);}catch(_0x5bef28){logger[_0x252123(0x195)](_0x252123(0x19a)+_0x5bef28[_0x252123(0x1b9)]);}const _0x5efa41=_0x41a95d&&this[_0x252123(0x18b)][_0x252123(0x1c3)];globals[_0x252123(0x154)](_0x3b6d0e['UPQDO'],_0x5efa41),globals['setGlobal'](_0x3b6d0e[_0x252123(0x1c2)],null),this[_0x252123(0x18b)][_0x252123(0x139)]=this[_0x252123(0x18b)][_0x252123(0x1c3)];if(_0x3b6d0e[_0x252123(0x1eb)](isAccessibilityAutomationSession)&&_0x2019b7&&Array[_0x252123(0x1d1)](global['__drivers'])&&_0x3b6d0e[_0x252123(0x14a)](global[_0x252123(0x1e5)][_0x252123(0x1a2)],0x0)&&globals[_0x252123(0x140)](_0x3b6d0e['cukLb']))try{const _0xbb4e26=await global[_0x252123(0x1e5)][0x0][_0x252123(0x1c0)];if(_0xbb4e26){let _0x5700de=!![];const _0xc0c821=await global[_0x252123(0x1e5)][0x0]['getCurrentUrl']();let _0x56660a;try{_0x56660a=new URL(_0xc0c821),_0x5700de=_0x3b6d0e[_0x252123(0x15c)](_0x56660a['protocol'],_0x3b6d0e[_0x252123(0x18f)])||_0x3b6d0e[_0x252123(0x1d2)](_0x56660a[_0x252123(0x1d3)],_0x3b6d0e['RApkg']);}catch(_0x21c119){_0x5700de=![];}_0x5700de&&(this[_0x252123(0x18b)][_0x252123(0x1c3)]&&logger['info'](_0x3b6d0e[_0x252123(0x1ee)])),this[_0x252123(0x18b)][_0x252123(0x139)]=this['currentTest'][_0x252123(0x1c3)],_0x5efa41&&logger['info'](_0x3b6d0e[_0x252123(0x1c7)]);}}catch(_0x271980){logger['error'](_0x252123(0x177)+util['format'](_0x271980));}_0x3b6d0e[_0x252123(0x1eb)](_0x2414db);})[_0x50aacc(0x17f)](()=>{const _0xd383a7=_0x50aacc;_0x4fd439[_0xd383a7(0x15b)](_0x34a258);});},{'platform':_0x3b6d0e[_0x10c152(0x1e0)](nestedKeyValue,global[_0x10c152(0x16b)],[_0x3b6d0e[_0x10c152(0x14b)]]),'hookType':_0x3b6d0e[_0x10c152(0x19d)]})();},'afterEach'(_0xb19510){const _0xd68cfa=a36_0x679aba,_0x38f6e7={'iNCyJ':_0xd68cfa(0x158),'TjQsf':function(_0x4b162b,_0xfb388b){return _0x4b162b!==_0xfb388b;},'TpQDC':_0xd68cfa(0x199),'RlRav':function(_0x3ed492,_0x36a669,_0x16b602){return _0x3ed492(_0x36a669,_0x16b602);},'mKwKc':function(_0x44db5b,_0x2efdc5){return _0x44db5b+_0x2efdc5;},'zTcit':'Failed:\x20','hsMfC':'error','IDCaa':_0xd68cfa(0x16f),'Tylho':_0xd68cfa(0x1ab),'XJgvU':function(_0x2e96d8,_0x5c7194){return _0x2e96d8>_0x5c7194;},'aDSDN':function(_0x46b4ec,_0x2cc252){return _0x46b4ec===_0x2cc252;},'tzAMj':_0xd68cfa(0x1a9),'gdgXj':_0xd68cfa(0x160),'VRARA':function(_0x3e90d5,_0x5cae31,_0x16e7ea,_0x4b4a56){return _0x3e90d5(_0x5cae31,_0x16e7ea,_0x4b4a56);},'FOITp':_0xd68cfa(0x161),'CgqYR':_0xd68cfa(0x1aa),'gWMbR':_0xd68cfa(0x190),'HieJS':_0xd68cfa(0x1bb),'TaMuL':'afterTest','OEaRb':_0xd68cfa(0x1c4),'pJqtZ':_0xd68cfa(0x166),'NzPWc':_0xd68cfa(0x1d8),'lKmHl':_0xd68cfa(0x16c),'XDiCq':_0xd68cfa(0x1cd),'unFyE':_0xd68cfa(0x198),'NxdRI':function(_0x42984f){return _0x42984f();},'uAktH':function(_0x41aa4f){return _0x41aa4f();},'nSCFL':_0xd68cfa(0x195),'ShGNR':function(_0x235816){return _0x235816();},'QPuuU':'Mocha','xugHf':'index','gtGMS':_0xd68cfa(0x1a1)},_0x2b7565='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x38f6e7[_0xd68cfa(0x13b)]]),global[_0xd68cfa(0x194)]=this[_0xd68cfa(0x18b)]['titlePath']()['join'](_0x38f6e7[_0xd68cfa(0x15a)]),PerformanceTester[_0xd68cfa(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b90f6=_0xd68cfa,_0x59e1a2={'RQpub':_0x38f6e7[_0x2b90f6(0x15a)],'TNbDT':function(_0x39ee41,_0x1bf556){const _0x188b3c=_0x2b90f6;return _0x38f6e7[_0x188b3c(0x189)](_0x39ee41,_0x1bf556);},'tFzMN':_0x38f6e7[_0x2b90f6(0x15f)],'JUNnm':function(_0x7c64fc,_0x34eb81,_0xc8c87d){const _0x1a7c39=_0x2b90f6;return _0x38f6e7[_0x1a7c39(0x17b)](_0x7c64fc,_0x34eb81,_0xc8c87d);},'hxQFu':function(_0x20b856,_0x294d7c){const _0x390aa6=_0x2b90f6;return _0x38f6e7[_0x390aa6(0x1ed)](_0x20b856,_0x294d7c);},'hvjDm':_0x38f6e7[_0x2b90f6(0x1bc)],'qUeAk':_0x38f6e7[_0x2b90f6(0x19b)],'yWJTD':_0x38f6e7[_0x2b90f6(0x143)],'NMTzT':_0x38f6e7['Tylho'],'TtlmO':function(_0x282ce8,_0x5c1fbd){const _0x414ea8=_0x2b90f6;return _0x38f6e7[_0x414ea8(0x146)](_0x282ce8,_0x5c1fbd);},'Uijef':function(_0x4cf3d7,_0x34e00f){const _0x41d74d=_0x2b90f6;return _0x38f6e7[_0x41d74d(0x1cf)](_0x4cf3d7,_0x34e00f);},'DnalB':_0x38f6e7[_0x2b90f6(0x1e8)],'cKmyY':_0x38f6e7['gdgXj'],'kmACO':function(_0x561c1e,_0x18635a,_0x8eb12b,_0x31c9c6){const _0x469f1f=_0x2b90f6;return _0x38f6e7[_0x469f1f(0x14d)](_0x561c1e,_0x18635a,_0x8eb12b,_0x31c9c6);},'TRttt':_0x38f6e7[_0x2b90f6(0x1cc)],'aLTDY':_0x38f6e7[_0x2b90f6(0x1e9)],'oBfng':_0x38f6e7[_0x2b90f6(0x1c6)],'QrmRy':_0x38f6e7[_0x2b90f6(0x1be)],'BPxTc':_0x38f6e7[_0x2b90f6(0x153)],'anIbd':_0x38f6e7[_0x2b90f6(0x179)],'VxCOx':_0x38f6e7[_0x2b90f6(0x183)],'pCJVK':_0x38f6e7[_0x2b90f6(0x1ba)],'BSWti':_0x38f6e7['lKmHl'],'bDbAw':_0x38f6e7[_0x2b90f6(0x186)],'IRRrS':_0x38f6e7['unFyE'],'HUZzL':function(_0x1eecb8){const _0x4cc2c9=_0x2b90f6;return _0x38f6e7[_0x4cc2c9(0x1b1)](_0x1eecb8);},'UPURJ':function(_0x477949){const _0x4468ec=_0x2b90f6;return _0x38f6e7[_0x4468ec(0x1c1)](_0x477949);},'WQVVF':_0x38f6e7[_0x2b90f6(0x1b8)],'SqQOa':function(_0x2ffd82){const _0x32088f=_0x2b90f6;return _0x38f6e7[_0x32088f(0x149)](_0x2ffd82);}},_0x4bd00d=async(_0x56fdb4,_0x180bb5)=>{const _0x4aaabc=_0x2b90f6;await global[_0x4aaabc(0x1e5)][0x0][_0x4aaabc(0x17e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x56fdb4+_0x4aaabc(0x1a8)+_0x180bb5+_0x4aaabc(0x191));};new Promise(async _0x45a61c=>{const _0x1557b5=_0x2b90f6;try{_0x59e1a2[_0x1557b5(0x1a6)](global[_0x1557b5(0x1e5)][_0x1557b5(0x1a2)],0x1)&&(await global[_0x1557b5(0x1e3)](),global[_0x1557b5(0x1e5)][_0x1557b5(0x1b7)](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global[_0x1557b5(0x19e)]&&_0x59e1a2['Uijef'](global[_0x1557b5(0x13d)],_0x59e1a2[_0x1557b5(0x155)])&&global['__drivers'][0x0]){const _0x30e8d6=_0x59e1a2[_0x1557b5(0x1a6)](global[_0x1557b5(0x188)][_0x1557b5(0x1a2)],0x0)?!!global['capabilities'][0x0][_0x1557b5(0x196)]||!!global['capabilities'][0x0][_0x59e1a2[_0x1557b5(0x1d0)]]:![],_0x52e9ab={};_0x52e9ab[_0x1557b5(0x196)]=_0x30e8d6,await _0x59e1a2[_0x1557b5(0x13f)](percyAutoCapture,global['__drivers'][0x0],_0x59e1a2['DnalB'],_0x52e9ab);}}catch(_0x238294){logger[_0x1557b5(0x195)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x238294);}!global[_0x1557b5(0x13c)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1557b5(0x1af)],async()=>{const _0x30feb0=_0x1557b5;await global['__drivers'][0x0][_0x30feb0(0x17e)](_0x30feb0(0x144)+JSON[_0x30feb0(0x1b2)](this[_0x30feb0(0x18b)][_0x30feb0(0x148)]()[_0x30feb0(0x1a4)](_0x59e1a2[_0x30feb0(0x1cb)]))+'}}');})(),global[_0x1557b5(0x1e5)][0x0][_0x1557b5(0x1ac)]=!![]),await PerformanceTester[_0x1557b5(0x1db)](PerformanceAutEvents[_0x1557b5(0x178)],async()=>{const _0x93bae4=_0x1557b5,_0x1b90dd=_0x59e1a2[_0x93bae4(0x1c5)](this[_0x93bae4(0x18b)][_0x93bae4(0x168)],_0x59e1a2[_0x93bae4(0x18a)]);_0x1b90dd?(global[_0x93bae4(0x1ad)]=!![],global[_0x93bae4(0x1d5)][_0x93bae4(0x19c)](this[_0x93bae4(0x18b)][_0x93bae4(0x1f0)][_0x93bae4(0x1b9)]),await _0x59e1a2[_0x93bae4(0x185)](_0x4bd00d,JSON[_0x93bae4(0x1b2)](_0x59e1a2['hxQFu'](_0x59e1a2[_0x93bae4(0x13e)],this[_0x93bae4(0x18b)][_0x93bae4(0x1f0)][_0x93bae4(0x1b9)])),_0x59e1a2[_0x93bae4(0x156)])):await _0x59e1a2[_0x93bae4(0x185)](_0x4bd00d,JSON[_0x93bae4(0x1b2)](_0x59e1a2['yWJTD']),_0x59e1a2[_0x93bae4(0x169)]);})();}catch(_0x2e31e0){logger['debug'](_0x1557b5(0x167)+_0x2e31e0);}try{if(this[_0x1557b5(0x18b)][_0x1557b5(0x139)]&&globals['getGlobal'](_0x59e1a2[_0x1557b5(0x1de)])){logger['info'](_0x59e1a2[_0x1557b5(0x152)]);const _0x3736a5={};_0x3736a5['thTestRunUuid']=this['currentTest'][_0x1557b5(0x141)],_0x3736a5[_0x1557b5(0x138)]=process[_0x1557b5(0x17a)][testHubConstants[_0x1557b5(0x1ec)][_0x1557b5(0x159)]],_0x3736a5['thJwtToken']=process[_0x1557b5(0x17a)][testHubConstants[_0x1557b5(0x1ec)][_0x1557b5(0x16e)]];const _0x30a3cd=_0x3736a5;logger[_0x1557b5(0x195)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1557b5(0x1b2)](_0x30a3cd));if(globals[_0x1557b5(0x140)](_0x59e1a2[_0x1557b5(0x1e7)])){logger['debug'](_0x59e1a2[_0x1557b5(0x1d7)]);const _0x101336={};_0x101336['command']=_0x59e1a2['BPxTc'];const _0xad2364=await PerformanceTester[_0x1557b5(0x1db)](PerformanceA11yEvents[_0x1557b5(0x1d4)],async()=>{const _0x4a6ddd=_0x1557b5;return await accessibilityRetryHelper[_0x4a6ddd(0x1b5)](global[_0x4a6ddd(0x1e5)][0x0],global[_0x4a6ddd(0x1bf)]);},_0x101336)();_0xad2364?logger[_0x1557b5(0x195)](_0x59e1a2[_0x1557b5(0x1a3)]):logger['warn'](_0x59e1a2['VxCOx']);}else logger[_0x1557b5(0x195)](_0x59e1a2['pCJVK']);const _0xb3d13a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x43f676=_0x1557b5;return await accessibilityRetryHelper[_0x43f676(0x18d)](global[_0x43f676(0x1e5)][0x0],_0x30a3cd);})();_0xb3d13a?logger[_0x1557b5(0x195)](_0x59e1a2[_0x1557b5(0x136)]):logger['warn'](_0x59e1a2[_0x1557b5(0x1ce)]),logger[_0x1557b5(0x1ab)](_0x59e1a2['IRRrS']);}}catch(_0x3a4d92){logger[_0x1557b5(0x18e)](_0x1557b5(0x1b3)+this[_0x1557b5(0x18b)]['titlePath']()+_0x1557b5(0x1c8),_0x3a4d92);}try{try{if(_0x59e1a2[_0x1557b5(0x1e4)](shouldProcessEventForTesthub)){global[_0x1557b5(0x1e5)][0x0]&&await _0x59e1a2['JUNnm'](sendPlatformDetails,global[_0x1557b5(0x1e5)][0x0],this[_0x1557b5(0x18b)]?this[_0x1557b5(0x18b)][_0x1557b5(0x141)]:null);if(_0x59e1a2[_0x1557b5(0x150)](isBrowserstackInfra)){PerformanceTester[_0x1557b5(0x1ea)](PerformanceO11yEvents[_0x1557b5(0x1dd)]);const _0x37eb3e=_0x1557b5(0x14e)+Date[_0x1557b5(0x1a5)]();await _0x59e1a2[_0x1557b5(0x185)](_0x4bd00d,JSON[_0x1557b5(0x1b2)](_0x37eb3e),_0x59e1a2[_0x1557b5(0x1dc)]),PerformanceTester[_0x1557b5(0x1e1)](PerformanceO11yEvents['SYNC']);}}}catch(_0x46e165){logger[_0x1557b5(0x195)](_0x1557b5(0x197)+_0x46e165),PerformanceTester['end'](PerformanceO11yEvents[_0x1557b5(0x1dd)],![],_0x46e165);}_0x59e1a2['TtlmO'](global[_0x1557b5(0x1e5)][0x0][_0x1557b5(0x157)],0x0)&&await global[_0x1557b5(0x1e3)]();}catch(_0x1afb0e){logger[_0x1557b5(0x195)](_0x1557b5(0x1da)+_0x1afb0e);}_0x59e1a2[_0x1557b5(0x151)](_0x45a61c);})[_0x2b90f6(0x17f)](()=>{const _0x55a27d=_0x2b90f6;_0x59e1a2[_0x55a27d(0x150)](_0xb19510);});},{'platform':_0x38f6e7['RlRav'](nestedKeyValue,global[_0xd68cfa(0x16b)],[_0x38f6e7[_0xd68cfa(0x184)]]),'hookType':_0x38f6e7['gtGMS']})();},'afterAll'(_0x44e92e){const _0x2be84a=a36_0x679aba,_0xe872a3={'wVraH':function(_0xfbea76){return _0xfbea76();},'sDrHP':'Mocha','IUCTq':function(_0x12ea0a,_0x45d9bf,_0xe6968a){return _0x12ea0a(_0x45d9bf,_0xe6968a);},'JwYSK':'index','zSaQD':'afterAll'},_0x3592ec='browserstack internal helper hook';this[_0x2be84a(0x172)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xe872a3[_0x2be84a(0x19f)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2be84a(0x192)],()=>{const _0x35c013=_0x2be84a,_0xdb3d45={'RfRmy':function(_0xebe19f){const _0xf2500e=a36_0x28bb;return _0xe872a3[_0xf2500e(0x1e2)](_0xebe19f);}};new Promise(async _0x3496b4=>{const _0x1cc295=a36_0x28bb;await global[_0x1cc295(0x1e3)](),_0xe872a3[_0x1cc295(0x1e2)](_0x3496b4);})['then']()[_0x35c013(0x14c)](()=>{const _0x318739=_0x35c013;_0xdb3d45[_0x318739(0x1ae)](_0x44e92e);});},{'platform':_0xe872a3['IUCTq'](nestedKeyValue,global[_0x2be84a(0x16b)],[_0xe872a3[_0x2be84a(0x176)]]),'hookType':_0xe872a3['zSaQD']})();}};function a36_0x2114(){const _0x290e9e=['cKmyY','isArray','lGxwU','protocol','PERFORM_SCAN','__error_messages__','Automate\x20test\x20case\x20execution\x20has\x20started.','QrmRy','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','../../helpers/testhub/utils','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','measureWrapper','WQVVF','SYNC','TRttt','https:','NYvik','end','wVraH','driverCleanup','HUZzL','__drivers','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','oBfng','tzAMj','CgqYR','start','fMydm','ENV_VAR','mKwKc','FwduS','../../helpers/performance/constants','err','mochaHooks','Failed\x20to\x20store\x20session\x20name:\x20','BSWti','42Fbodfd','thBuildUuid','accessibilityScanStarted','pVErd','QPuuU','__skipSessionName','percyCaptureMode','hvjDm','kmACO','getGlobal','testAnalyticsId','failed','IDCaa','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','KwgPk','XJgvU','lVBYb','titlePath','ShGNR','JpacR','zKxlg','finally','VRARA','ObservabilitySync:','277338eZdazE','UPURJ','SqQOa','aLTDY','TaMuL','setGlobal','DnalB','qUeAk','quitCount_','\x20-\x20','BROWSERSTACK_TESTHUB_UUID','iNCyJ','NHDGG','gEGOn','../../helpers/logger','browserstackTestName','TpQDC','appium:app','isAccessibilityPlatform','../../helpers/globals','FfVEY','15DxUolz','../../helpers/helper','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','state','NMTzT','2359134ZWStYS','__platformCaps','Accessibility\x20results\x20saved\x20successfully','./test-observability/mochaUtils','BROWSERSTACK_TESTHUB_JWT','Passed','autoScanning','../../helpers/accessibility-automation/accessibilityRetryHelper','timeout','161582OmioLU','1885240dCxxoH','tWXcB','JwYSK','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','SESSION_STATUS','OEaRb','env','RlRav','hiWOR','24LXOdxu','executeScript','then','15925260YrCNhD','XWhtR','uDXgR','pJqtZ','xugHf','JUNnm','XDiCq','zoUMs','capabilities','TjQsf','tFzMN','currentTest','\x20|\x20','saveAccessibilityResultsWithRetry','error','ghSrj','bstackA11yShouldScan','\x22}}','SDK_HOOK','4537113JcDBch','sessionName','debug','app','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','hsMfC','push','uSzGQ','percy','sDrHP','parse','afterEach','length','anIbd','join','now','TtlmO','../utils/constants',',\x22level\x22:\x20\x22','testcase','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','info','sessionNameSet__','__sessionFailed','RfRmy','SESSION_NAME','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','NxdRI','stringify','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../../helpers/performance/performance-tester','performScanWithRetry','1000874MGGawr','shift','nSCFL','message','NzPWc','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','zTcit','index','HieJS','browserstackSessionName','session_','uAktH','oNvZr','shouldScanTestForAccessibility','Accessibility\x20scan\x20completed\x20successfully','TNbDT','gWMbR','FqubG','.\x20Error\x20:','startMonitoring','fhTjp','RQpub','FOITp','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','bDbAw','aDSDN'];a36_0x2114=function(){return _0x290e9e;};return a36_0x2114();}
|
|
1
|
+
const a36_0x5e3e8a=a36_0x5d29;(function(_0xfd965e,_0x8e000){const _0x1c8e68=a36_0x5d29,_0x9bfb8b=_0xfd965e();while(!![]){try{const _0x6cbde2=-parseInt(_0x1c8e68(0x1a6))/0x1+parseInt(_0x1c8e68(0x14d))/0x2*(-parseInt(_0x1c8e68(0x133))/0x3)+parseInt(_0x1c8e68(0x190))/0x4+parseInt(_0x1c8e68(0x166))/0x5+parseInt(_0x1c8e68(0x165))/0x6+-parseInt(_0x1c8e68(0x11c))/0x7+-parseInt(_0x1c8e68(0x130))/0x8;if(_0x6cbde2===_0x8e000)break;else _0x9bfb8b['push'](_0x9bfb8b['shift']());}catch(_0x594782){_0x9bfb8b['push'](_0x9bfb8b['shift']());}}}(a36_0x20d2,0x51d92));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x5e3e8a(0x146)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x5e3e8a(0x121)),{sendPlatformDetails}=require(a36_0x5e3e8a(0x16d)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x5e3e8a(0x12c)),PerformanceTester=require(a36_0x5e3e8a(0x1ac)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x5e3e8a(0x17e)),globals=require(a36_0x5e3e8a(0x18a)),logger=require(a36_0x5e3e8a(0x150))[a36_0x5e3e8a(0x19e)],{shouldProcessEventForTesthub}=require(a36_0x5e3e8a(0x1b8)),testHubConstants=require(a36_0x5e3e8a(0x1c0));function a36_0x5d29(_0x26829a,_0x2f8a48){const _0x20d268=a36_0x20d2();return a36_0x5d29=function(_0x5d29db,_0x1cc00f){_0x5d29db=_0x5d29db-0x116;let _0x1406d7=_0x20d268[_0x5d29db];return _0x1406d7;},a36_0x5d29(_0x26829a,_0x2f8a48);}exports[a36_0x5e3e8a(0x116)]={'beforeAll'(){const _0x17bcf1=a36_0x5e3e8a,_0xb82b0f={'VabTn':function(_0x3b0ba4,_0x2cd582,_0x56d55c,_0x1c67ca){return _0x3b0ba4(_0x2cd582,_0x56d55c,_0x1c67ca);},'nkyYN':_0x17bcf1(0x1a8),'aONvO':_0x17bcf1(0x13c),'xfSQu':function(_0x5dc95e,_0x15580b,_0x1025d1){return _0x5dc95e(_0x15580b,_0x1025d1);},'hvhzY':_0x17bcf1(0x172),'OytEU':function(_0x4b3911){return _0x4b3911();},'wprKX':function(_0x35dd65,_0x29d8b6,_0x1717da){return _0x35dd65(_0x29d8b6,_0x1717da);},'bTxKr':function(_0x918a0e,_0x33e09e,_0x4541a2){return _0x918a0e(_0x33e09e,_0x4541a2);},'rBlZZ':_0x17bcf1(0x179),'SAWqV':_0x17bcf1(0x1be)};PerformanceTester[_0x17bcf1(0x120)]();const _0x1abb38='browserstack internal helper hook';PerformanceTester[_0x17bcf1(0x164)](PerformanceSdkEvents['SDK_HOOK'],()=>{global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x4eab16=a36_0x5d29;let _0x4abf87=![];try{await global[_0x4eab16(0x155)][0x0][_0x4eab16(0x137)],_0x4abf87=!![],global['__sessionFailed']?await _0xb82b0f['VabTn'](markSessionStatus,global[_0x4eab16(0x155)][0x0],_0xb82b0f[_0x4eab16(0x11e)],global[_0x4eab16(0x1b9)][_0x4eab16(0x11b)](_0xb82b0f[_0x4eab16(0x1c3)])):await _0xb82b0f[_0x4eab16(0x149)](markSessionStatus,global[_0x4eab16(0x155)][0x0],_0xb82b0f['hvhzY']);}catch(_0x2b7f42){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x2b7f42);}global[_0x4eab16(0x1b9)]=[],global[_0x4eab16(0x14f)]=![];if(_0x4abf87)try{try{_0xb82b0f[_0x4eab16(0x119)](shouldProcessEventForTesthub)&&(global[_0x4eab16(0x155)][0x0]&&await _0xb82b0f[_0x4eab16(0x189)](sendPlatformDetails,global[_0x4eab16(0x155)][0x0],this['currentTest']?this[_0x4eab16(0x131)][_0x4eab16(0x143)]:null));}catch(_0x3b3f79){logger['debug'](_0x4eab16(0x18e)+_0x3b3f79);}await global[_0x4eab16(0x155)][0x0][_0x4eab16(0x15d)]();}catch(_0x5b32c6){logger[_0x4eab16(0x178)](_0x4eab16(0x1bc)+_0x5b32c6);}};},{'platform':_0xb82b0f[_0x17bcf1(0x185)](nestedKeyValue,global[_0x17bcf1(0x1cb)],[_0xb82b0f[_0x17bcf1(0x152)]]),'hookType':_0xb82b0f[_0x17bcf1(0x13e)]})();},'beforeEach'(_0x1730f7){const _0x55ed9e=a36_0x5e3e8a,_0x4cc090={'TxNqC':function(_0x16e060,_0x2cc239){return _0x16e060>_0x2cc239;},'eoiBB':'\x20-\x20','exFNv':function(_0x255fc7,_0x3d591f,_0x2d9237){return _0x255fc7(_0x3d591f,_0x2d9237);},'KJQRI':function(_0x5ce0fd,_0x45c6a9){return _0x5ce0fd===_0x45c6a9;},'lALNz':_0x55ed9e(0x180),'nEBUL':_0x55ed9e(0x1ad),'fnjtk':function(_0x34b73b){return _0x34b73b();},'nQlXe':_0x55ed9e(0x16c),'tgMKK':_0x55ed9e(0x126),'XAPyP':_0x55ed9e(0x139),'FKDgg':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','PIRSH':_0x55ed9e(0x14e),'YfWvN':function(_0x500030){return _0x500030();},'fKqzs':'browserstackTestName','nOJUf':_0x55ed9e(0x179),'OxJdz':_0x55ed9e(0x13f)};globals['setGlobal'](_0x4cc090[_0x55ed9e(0x124)],this[_0x55ed9e(0x131)][_0x55ed9e(0x170)]()[_0x55ed9e(0x11b)](_0x4cc090[_0x55ed9e(0x123)])),PerformanceTester[_0x55ed9e(0x164)](PerformanceSdkEvents[_0x55ed9e(0x15c)],()=>{const _0x4ef0cb=_0x55ed9e,_0x52590={'iIglu':function(_0x43757f,_0x19306d){const _0xac3a60=a36_0x5d29;return _0x4cc090[_0xac3a60(0x198)](_0x43757f,_0x19306d);},'Fhqag':_0x4cc090[_0x4ef0cb(0x123)],'iBnJD':function(_0x43eb47,_0xf5a959,_0x41bd9d){const _0x5b6134=_0x4ef0cb;return _0x4cc090[_0x5b6134(0x193)](_0x43eb47,_0xf5a959,_0x41bd9d);},'cofNa':function(_0x1e54e9,_0x2cc0c3){const _0x40a796=_0x4ef0cb;return _0x4cc090[_0x40a796(0x195)](_0x1e54e9,_0x2cc0c3);},'grGlT':_0x4cc090[_0x4ef0cb(0x144)],'xgtrc':_0x4cc090['nEBUL'],'lczTQ':function(_0x3e2463){const _0x2d9148=_0x4ef0cb;return _0x4cc090[_0x2d9148(0x156)](_0x3e2463);},'mITWZ':_0x4cc090[_0x4ef0cb(0x1c2)],'glqkB':_0x4cc090['tgMKK'],'qkBBE':function(_0x1a8d83,_0x49cee8){const _0x140f80=_0x4ef0cb;return _0x4cc090[_0x140f80(0x195)](_0x1a8d83,_0x49cee8);},'golcb':_0x4cc090[_0x4ef0cb(0x16f)],'IUjAv':_0x4cc090['FKDgg'],'xzoTd':_0x4cc090[_0x4ef0cb(0x184)],'VDlNV':function(_0x16ea4f){const _0x4aba35=_0x4ef0cb;return _0x4cc090[_0x4aba35(0x183)](_0x16ea4f);},'JzSJV':function(_0x314cab){const _0x41b8f0=_0x4ef0cb;return _0x4cc090[_0x41b8f0(0x183)](_0x314cab);}},_0x5c8838='browserstack internal helper hook';new Promise(async _0x3461ae=>{const _0x13fde3=_0x4ef0cb;let _0xcbef38=!![];try{_0x52590[_0x13fde3(0x1ae)](global[_0x13fde3(0x155)][_0x13fde3(0x1b0)],0x1)&&(await global[_0x13fde3(0x18c)](),global[_0x13fde3(0x155)][_0x13fde3(0x118)]()),_0x52590[_0x13fde3(0x1ae)](global[_0x13fde3(0x155)][0x0]['quitCount_'],0x0)&&(_0xcbef38=![],await global['driverCleanup']());}catch(_0x2a1751){logger['debug'](_0x13fde3(0x1bc)+_0x2a1751);}try{Array[_0x13fde3(0x1b5)](global[_0x13fde3(0x155)])&&global['__drivers'][0x0]&&(global[_0x13fde3(0x155)][0x0][_0x13fde3(0x1a4)]=this[_0x13fde3(0x131)]['titlePath']()['join'](_0x52590[_0x13fde3(0x12b)])),global[_0x13fde3(0x1a4)]=this[_0x13fde3(0x131)][_0x13fde3(0x170)]()[_0x13fde3(0x11b)](_0x52590[_0x13fde3(0x12b)]);}catch(_0x45a905){logger[_0x13fde3(0x178)](_0x13fde3(0x173)+_0x45a905);}this[_0x13fde3(0x131)]['shouldScanTestForAccessibility']=_0x52590[_0x13fde3(0x186)](shouldScanTestForAccessibility,this['currentTest'][_0x13fde3(0x170)](),!![]);let _0x52706c=!![];try{const _0x2f00fc=JSON['parse'](process[_0x13fde3(0x197)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x52590[_0x13fde3(0x158)](_0x2f00fc[_0x13fde3(0x1c5)],![])&&(_0x52706c=![]);}catch(_0x1d4107){logger[_0x13fde3(0x178)](_0x13fde3(0x18d)+_0x1d4107[_0x13fde3(0x1c1)]);}const _0x2549c2=_0x52706c&&this[_0x13fde3(0x131)]['shouldScanTestForAccessibility'];globals[_0x13fde3(0x1a1)](_0x52590[_0x13fde3(0x15b)],_0x2549c2),globals[_0x13fde3(0x1a1)](_0x52590[_0x13fde3(0x1b6)],null),this[_0x13fde3(0x131)][_0x13fde3(0x175)]=this[_0x13fde3(0x131)][_0x13fde3(0x1a9)];if(_0x52590[_0x13fde3(0x1b2)](isAccessibilityAutomationSession)&&_0xcbef38&&Array[_0x13fde3(0x1b5)](global['__drivers'])&&_0x52590['iIglu'](global[_0x13fde3(0x155)][_0x13fde3(0x1b0)],0x0)&&globals[_0x13fde3(0x1a5)](_0x52590[_0x13fde3(0x11f)]))try{const _0x61333e=await global['__drivers'][0x0]['session_'];if(_0x61333e){let _0x5314cf=!![];const _0x33e27b=await global['__drivers'][0x0]['getCurrentUrl']();let _0x4ecd94;try{_0x4ecd94=new URL(_0x33e27b),_0x5314cf=_0x52590[_0x13fde3(0x158)](_0x4ecd94['protocol'],_0x52590[_0x13fde3(0x1ba)])||_0x52590[_0x13fde3(0x199)](_0x4ecd94['protocol'],_0x52590[_0x13fde3(0x13a)]);}catch(_0xfad4c){_0x5314cf=![];}_0x5314cf&&(this[_0x13fde3(0x131)]['shouldScanTestForAccessibility']&&logger[_0x13fde3(0x12e)](_0x52590[_0x13fde3(0x1aa)])),this['currentTest'][_0x13fde3(0x175)]=this[_0x13fde3(0x131)][_0x13fde3(0x1a9)],_0x2549c2&&logger[_0x13fde3(0x12e)](_0x52590[_0x13fde3(0x12a)]);}}catch(_0x184b33){logger['error'](_0x13fde3(0x162)+util[_0x13fde3(0x187)](_0x184b33));}_0x52590['VDlNV'](_0x3461ae);})['then'](()=>{_0x52590['JzSJV'](_0x1730f7);});},{'platform':_0x4cc090[_0x55ed9e(0x193)](nestedKeyValue,global[_0x55ed9e(0x1cb)],[_0x4cc090['nOJUf']]),'hookType':_0x4cc090['OxJdz']})();},'afterEach'(_0x5e045d){const _0x2b8e37=a36_0x5e3e8a,_0x31ea88={'qAkey':function(_0x45aaf6,_0x1054a0){return _0x45aaf6>_0x1054a0;},'zqROD':function(_0x390f78,_0x51553f){return _0x390f78===_0x51553f;},'dnrMz':_0x2b8e37(0x127),'uFFWM':function(_0x366cc0,_0x36a64b){return _0x366cc0>_0x36a64b;},'HdYTY':_0x2b8e37(0x18f),'pgudF':function(_0x2a6814,_0x388ab2,_0x46b50f,_0x25c9d0){return _0x2a6814(_0x388ab2,_0x46b50f,_0x25c9d0);},'mgYWS':_0x2b8e37(0x16c),'rTnxO':_0x2b8e37(0x1a7),'aBBvO':_0x2b8e37(0x180),'sahfK':_0x2b8e37(0x14c),'LvFKm':_0x2b8e37(0x148),'efitL':'Accessibility\x20scan\x20completed\x20successfully','pylXH':_0x2b8e37(0x117),'gSUPq':_0x2b8e37(0x147),'PhzAu':'Accessibility\x20results\x20saved\x20successfully','kdRon':_0x2b8e37(0x11a),'bhZyo':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jdmUa':function(_0x524906){return _0x524906();},'IxoTq':function(_0x1f7f31,_0x21689a,_0x112c93){return _0x1f7f31(_0x21689a,_0x112c93);},'FWbpU':'debug','OXnGV':_0x2b8e37(0x145),'SgUdb':function(_0x5b9e22,_0x752699){return _0x5b9e22!==_0x752699;},'VKevA':_0x2b8e37(0x172),'XHsHc':function(_0x2dade7,_0x198ad0,_0x134933){return _0x2dade7(_0x198ad0,_0x134933);},'LPnox':function(_0x197e25,_0x4c7511){return _0x197e25+_0x4c7511;},'bKzQD':_0x2b8e37(0x163),'AZIGz':_0x2b8e37(0x15a),'JBfHC':_0x2b8e37(0x1c9),'dvGMy':'info','zNhUD':function(_0x5dad21){return _0x5dad21();},'RVQaV':_0x2b8e37(0x142),'xWayq':function(_0x5daa90,_0x23ff36,_0x57a2ac){return _0x5daa90(_0x23ff36,_0x57a2ac);},'NvQde':_0x2b8e37(0x179),'jOKPF':'afterEach'},_0xcdcaaa='browserstack internal helper hook';this[_0x2b8e37(0x16a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31ea88[_0x2b8e37(0x17b)]]),global['sessionName']=this['currentTest'][_0x2b8e37(0x170)]()['join'](_0x31ea88[_0x2b8e37(0x1b4)]),PerformanceTester[_0x2b8e37(0x164)](PerformanceSdkEvents[_0x2b8e37(0x15c)],()=>{const _0x3f2634=_0x2b8e37,_0xa038bb={'EvZTB':_0x31ea88[_0x3f2634(0x1b4)],'ytjym':function(_0x572588,_0x4307b6){const _0x11c302=_0x3f2634;return _0x31ea88[_0x11c302(0x1a2)](_0x572588,_0x4307b6);},'ljZyw':_0x31ea88[_0x3f2634(0x129)],'WcgjI':function(_0x5c5f38,_0x2e82da,_0xcb0cae){return _0x31ea88['XHsHc'](_0x5c5f38,_0x2e82da,_0xcb0cae);},'RNGZM':function(_0x57db59,_0x129bce){const _0x3f78d6=_0x3f2634;return _0x31ea88[_0x3f78d6(0x19d)](_0x57db59,_0x129bce);},'xymFg':_0x31ea88[_0x3f2634(0x15f)],'sfTXn':_0x31ea88[_0x3f2634(0x17c)],'FtZsB':function(_0x4a3c6c,_0x2f77fc,_0x404ba0){const _0x4a7bc1=_0x3f2634;return _0x31ea88[_0x4a7bc1(0x192)](_0x4a3c6c,_0x2f77fc,_0x404ba0);},'uHclm':_0x31ea88[_0x3f2634(0x181)],'kPzxt':_0x31ea88[_0x3f2634(0x176)],'iZlrL':function(_0x226d2d){return _0x31ea88['zNhUD'](_0x226d2d);}},_0x107285=async(_0x49c462,_0x3aef7e)=>{const _0xf90e5f=_0x3f2634;await global[_0xf90e5f(0x155)][0x0][_0xf90e5f(0x12f)](_0xf90e5f(0x18b)+_0x49c462+_0xf90e5f(0x19c)+_0x3aef7e+_0xf90e5f(0x1b3));};new Promise(async _0xca1589=>{const _0x178aa9=_0x3f2634;try{_0x31ea88['qAkey'](global['__drivers'][_0x178aa9(0x1b0)],0x1)&&(await global[_0x178aa9(0x18c)](),global[_0x178aa9(0x155)][_0x178aa9(0x118)](),global['__error_messages__']=[],global[_0x178aa9(0x14f)]=![]);try{if(global[_0x178aa9(0x14a)]&&_0x31ea88[_0x178aa9(0x17f)](global['percyCaptureMode'],_0x31ea88[_0x178aa9(0x136)])&&global[_0x178aa9(0x155)][0x0]){const _0x5503fb=_0x31ea88['uFFWM'](global['capabilities'][_0x178aa9(0x1b0)],0x0)?!!global[_0x178aa9(0x1bf)][0x0]['app']||!!global['capabilities'][0x0][_0x31ea88[_0x178aa9(0x122)]]:![],_0x35dda4={};_0x35dda4[_0x178aa9(0x1a0)]=_0x5503fb,await _0x31ea88[_0x178aa9(0x191)](percyAutoCapture,global['__drivers'][0x0],_0x31ea88['dnrMz'],_0x35dda4);}}catch(_0x2f2726){logger[_0x178aa9(0x178)](_0x178aa9(0x196)+_0x2f2726);}!global['__skipSessionName']&&(await PerformanceTester[_0x178aa9(0x164)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x14d50c=_0x178aa9;await global['__drivers'][0x0][_0x14d50c(0x12f)](_0x14d50c(0x1bb)+JSON['stringify'](this[_0x14d50c(0x131)][_0x14d50c(0x170)]()[_0x14d50c(0x11b)](_0xa038bb[_0x14d50c(0x140)]))+'}}');})(),global[_0x178aa9(0x155)][0x0][_0x178aa9(0x141)]=!![]),await PerformanceTester[_0x178aa9(0x164)](PerformanceAutEvents[_0x178aa9(0x134)],async()=>{const _0x489bfd=_0x178aa9,_0x4e4cac=_0xa038bb['ytjym'](this[_0x489bfd(0x131)][_0x489bfd(0x1c7)],_0xa038bb[_0x489bfd(0x14b)]);_0x4e4cac?(global['__sessionFailed']=!![],global[_0x489bfd(0x1b9)][_0x489bfd(0x15e)](this[_0x489bfd(0x131)][_0x489bfd(0x128)]['message']),await _0xa038bb[_0x489bfd(0x159)](_0x107285,JSON['stringify'](_0xa038bb['RNGZM'](_0xa038bb[_0x489bfd(0x1ca)],this['currentTest'][_0x489bfd(0x128)]['message'])),_0xa038bb[_0x489bfd(0x125)])):await _0xa038bb[_0x489bfd(0x167)](_0x107285,JSON[_0x489bfd(0x174)](_0xa038bb['uHclm']),_0xa038bb['kPzxt']);})();}catch(_0x496f48){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x496f48);}try{if(this['currentTest'][_0x178aa9(0x175)]&&globals[_0x178aa9(0x1a5)](_0x31ea88[_0x178aa9(0x17d)])){logger[_0x178aa9(0x12e)](_0x31ea88['rTnxO']);const _0x476d98={};_0x476d98[_0x178aa9(0x151)]=this['currentTest'][_0x178aa9(0x143)],_0x476d98[_0x178aa9(0x161)]=process[_0x178aa9(0x197)][testHubConstants['ENV_VAR'][_0x178aa9(0x13d)]],_0x476d98[_0x178aa9(0x153)]=process[_0x178aa9(0x197)][testHubConstants[_0x178aa9(0x182)][_0x178aa9(0x171)]];const _0x944c19=_0x476d98;logger[_0x178aa9(0x178)](_0x178aa9(0x135)+JSON['stringify'](_0x944c19));if(globals[_0x178aa9(0x1a5)](_0x31ea88[_0x178aa9(0x19b)])){logger[_0x178aa9(0x178)](_0x31ea88['sahfK']);const _0x15617c={};_0x15617c[_0x178aa9(0x154)]=_0x31ea88['LvFKm'];const _0x545982=await PerformanceTester[_0x178aa9(0x164)](PerformanceA11yEvents[_0x178aa9(0x177)],async()=>{const _0x3ae8b7=_0x178aa9;return await accessibilityRetryHelper[_0x3ae8b7(0x17a)](global[_0x3ae8b7(0x155)][0x0],global[_0x3ae8b7(0x1a4)]);},_0x15617c)();_0x545982?logger[_0x178aa9(0x178)](_0x31ea88[_0x178aa9(0x157)]):logger['warn'](_0x31ea88[_0x178aa9(0x1c4)]);}else logger[_0x178aa9(0x178)](_0x31ea88[_0x178aa9(0x169)]);const _0x495c35=await PerformanceTester[_0x178aa9(0x164)](PerformanceA11yEvents[_0x178aa9(0x19f)],async()=>{return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x944c19);})();_0x495c35?logger[_0x178aa9(0x178)](_0x31ea88[_0x178aa9(0x1a3)]):logger[_0x178aa9(0x1c8)](_0x31ea88[_0x178aa9(0x16e)]),logger[_0x178aa9(0x12e)](_0x31ea88[_0x178aa9(0x1b1)]);}}catch(_0x20abf3){logger[_0x178aa9(0x15a)](_0x178aa9(0x1af)+this['currentTest'][_0x178aa9(0x170)]()+_0x178aa9(0x138),_0x20abf3);}try{try{if(_0x31ea88[_0x178aa9(0x1ab)](shouldProcessEventForTesthub)){global[_0x178aa9(0x155)][0x0]&&await _0x31ea88[_0x178aa9(0x1c6)](sendPlatformDetails,global[_0x178aa9(0x155)][0x0],this[_0x178aa9(0x131)]?this[_0x178aa9(0x131)][_0x178aa9(0x143)]:null);if(_0x31ea88[_0x178aa9(0x1ab)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x178aa9(0x168)]);const _0xe941e7=_0x178aa9(0x188)+Date['now']();await _0x31ea88[_0x178aa9(0x1c6)](_0x107285,JSON[_0x178aa9(0x174)](_0xe941e7),_0x31ea88[_0x178aa9(0x1b7)]),PerformanceTester[_0x178aa9(0x19a)](PerformanceO11yEvents[_0x178aa9(0x168)]);}}}catch(_0x5e85bf){logger[_0x178aa9(0x178)](_0x178aa9(0x11d)+_0x5e85bf),PerformanceTester[_0x178aa9(0x19a)](PerformanceO11yEvents[_0x178aa9(0x168)],![],_0x5e85bf);}_0x31ea88[_0x178aa9(0x1cc)](global[_0x178aa9(0x155)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x37c919){logger[_0x178aa9(0x178)](_0x178aa9(0x1bc)+_0x37c919);}_0x31ea88[_0x178aa9(0x1ab)](_0xca1589);})[_0x3f2634(0x194)](()=>{_0xa038bb['iZlrL'](_0x5e045d);});},{'platform':_0x31ea88[_0x2b8e37(0x12d)](nestedKeyValue,global[_0x2b8e37(0x1cb)],[_0x31ea88[_0x2b8e37(0x16b)]]),'hookType':_0x31ea88['jOKPF']})();},'afterAll'(_0xd57526){const _0x3b7cbe=a36_0x5e3e8a,_0x44f0c8={'CrDKx':function(_0x19e36d){return _0x19e36d();},'XqvFq':function(_0x3d10a6){return _0x3d10a6();},'ngdHW':_0x3b7cbe(0x142),'uhGbc':function(_0x47ea52,_0x466e1c,_0x3ebd43){return _0x47ea52(_0x466e1c,_0x3ebd43);},'hIbEr':_0x3b7cbe(0x179),'DvOUd':'afterAll'},_0x17441c='browserstack internal helper hook';this[_0x3b7cbe(0x16a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x44f0c8['ngdHW']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3b7cbe(0x15c)],()=>{const _0x48e061=_0x3b7cbe,_0x182438={'cAdfs':function(_0x346a47){const _0x419d4c=a36_0x5d29;return _0x44f0c8[_0x419d4c(0x1bd)](_0x346a47);}};new Promise(async _0x25cd73=>{await global['driverCleanup'](),_0x182438['cAdfs'](_0x25cd73);})[_0x48e061(0x194)]()['finally'](()=>{const _0x393b38=_0x48e061;_0x44f0c8[_0x393b38(0x132)](_0xd57526);});},{'platform':_0x44f0c8['uhGbc'](nestedKeyValue,global[_0x3b7cbe(0x1cb)],[_0x44f0c8[_0x3b7cbe(0x160)]]),'hookType':_0x44f0c8[_0x3b7cbe(0x13b)]})();}};function a36_0x20d2(){const _0x28c70d=['nQlXe','aONvO','pylXH','autoScanning','IxoTq','state','warn','Passed','xymFg','__platformCaps','uFFWM','mochaHooks','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','shift','OytEU','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','join','204253ocjLRs','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','nkyYN','mITWZ','startMonitoring','../../helpers/percy/utils','HdYTY','eoiBB','fKqzs','sfTXn','http:','testcase','err','VKevA','xzoTd','Fhqag','../../helpers/helper','xWayq','info','executeScript','1586680YgFBxv','currentTest','CrDKx','1023JKhtMz','SESSION_STATUS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','dnrMz','session_','.\x20Error\x20:','https:','golcb','DvOUd','\x20|\x20','BROWSERSTACK_TESTHUB_UUID','SAWqV','beforeEach','EvZTB','sessionNameSet__','Mocha','testAnalyticsId','lALNz','\x20-\x20','../../helpers/accessibility-automation/helper','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','afterTest','xfSQu','percy','ljZyw','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','1978tLxcKj','Automate\x20test\x20case\x20execution\x20has\x20started.','__sessionFailed','../../helpers/logger','thTestRunUuid','rBlZZ','thJwtToken','command','__drivers','fnjtk','efitL','cofNa','WcgjI','error','grGlT','SDK_HOOK','initQuit','push','bKzQD','hIbEr','thBuildUuid','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Failed:\x20','measureWrapper','2013828gTjClE','2541220UqYvhv','FtZsB','SYNC','gSUPq','timeout','NvQde','isAccessibilityPlatform','./test-observability/mochaUtils','kdRon','XAPyP','titlePath','BROWSERSTACK_TESTHUB_JWT','passed','Failed\x20to\x20store\x20session\x20name:\x20','stringify','accessibilityScanStarted','dvGMy','PERFORM_SCAN','debug','index','performScanWithRetry','RVQaV','AZIGz','mgYWS','../../helpers/performance/constants','zqROD','bstackA11yShouldScan','JBfHC','ENV_VAR','YfWvN','PIRSH','bTxKr','iBnJD','format','ObservabilitySync:','wprKX','../../helpers/globals','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','driverCleanup','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','appium:app','1967444VOIuQX','pgudF','XHsHc','exFNv','then','KJQRI','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','env','TxNqC','qkBBE','end','aBBvO',',\x22level\x22:\x20\x22','LPnox','winstonLogger','SAVE_RESULTS','app','setGlobal','SgUdb','PhzAu','browserstackSessionName','getGlobal','435730JdZWbP','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','failed','shouldScanTestForAccessibility','IUjAv','jdmUa','../../helpers/performance/performance-tester','bstackA11yScanOptions','iIglu','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','length','bhZyo','lczTQ','\x22}}','OXnGV','isArray','xgtrc','FWbpU','../../helpers/testhub/utils','__error_messages__','glqkB','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','XqvFq','beforeAll','capabilities','../../helpers/testhub/constants','message'];a36_0x20d2=function(){return _0x28c70d;};return a36_0x20d2();}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';const a37_0x5247f4=a37_0x46c2;(function(_0x47e987,_0x5071a1){const _0x31a40b=a37_0x46c2,_0x5e6fde=_0x47e987();while(!![]){try{const _0x50258b=parseInt(_0x31a40b(0x133))/0x1+-parseInt(_0x31a40b(0xfa))/0x2*(-parseInt(_0x31a40b(0x13f))/0x3)+-parseInt(_0x31a40b(0x10a))/0x4+parseInt(_0x31a40b(0x11f))/0x5*(parseInt(_0x31a40b(0xf4))/0x6)+-parseInt(_0x31a40b(0x139))/0x7*(-parseInt(_0x31a40b(0xf6))/0x8)+parseInt(_0x31a40b(0xf1))/0x9*(-parseInt(_0x31a40b(0xee))/0xa)+parseInt(_0x31a40b(0x15a))/0xb*(-parseInt(_0x31a40b(0x11d))/0xc);if(_0x50258b===_0x5071a1)break;else _0x5e6fde['push'](_0x5e6fde['shift']());}catch(_0x5042ab){_0x5e6fde['push'](_0x5e6fde['shift']());}}}(a37_0x5f38,0x40d20));function a37_0x46c2(_0x54784f,_0xbafa16){const _0x5f38f4=a37_0x5f38();return a37_0x46c2=function(_0x46c233,_0x1e8a0e){_0x46c233=_0x46c233-0xeb;let _0x570150=_0x5f38f4[_0x46c233];return _0x570150;},a37_0x46c2(_0x54784f,_0xbafa16);}function a37_0x5f38(){const _0x5a7ade=['BXLRC','yllIt','../../helpers/testhub/testhubHandler','osXdx','cli,browserstack','327151fIItdi','pcaYL','length','zGVjz','10ONoiom','scriptRunner.js','close','773154Cvfvyu','pKcWe','configPath','849714LYprpa','yXszh','8VFVano','hfJJA','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','aAyaY','2HtPNDX','setFrameworkDetail','pHzYp','null','endsWith','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','BROWSERSTACK_TESTHUB_JWT','Nfrsx','FOnob','call','qpOrq','run','../../helpers/test-observability/constants','aUgzX','HTfFP','MQurN','512296atacHq','RitVn','PvSLX','_resolveFilename','warn','push','HFTqt','error','createRequire','hqIGc','dldRg','bjFfF','bootstrap','index.js','YBazT','LyRzE','BROWSERSTACK_AUTOMATION','oAaPc','VImTD','312AEZhBb','--reporters','15TiNyMO','getInstance','aJpxg','isRunning','path','yvLjQ','FQENS','config','krlBM','lXHVF','vSLZy','newman-reporter-browserstack','../../helpers/test-observability/utils','ThHxR','false','message','ZNcsP','node','oWjVS','RjsYJ','345783tZjcrj','stop','sDHZY','exitCode','Vhvya','jGDyQ','3328381AahbYQ','lbmaj','join','inherit','cwd','eafoE','19881UfWMSA','newman','package.json','QKafv','env','slice','noUJX','concat','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','testObservability','requireModule','browserstack','resolve','../v2/cliUtils','Newman\x20CLI\x20not\x20found:\x20','Failed\x20to\x20bootstrap\x20CLI:\x20','oLJsg','parallelsPerPlatform','MvDuH','../v2/browserstackCLI','failures','child_process'];a37_0x5f38=function(){return _0x5a7ade;};return a37_0x5f38();}const path=require(a37_0x5247f4(0x123)),Module=require('module'),{fork}=require(a37_0x5247f4(0x154)),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../../helpers/helper'),TestHubHandler=require(a37_0x5247f4(0x157)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a37_0x5247f4(0x106)),{printBuildLink}=require(a37_0x5247f4(0x12b)),BrowserstackCLI=require(a37_0x5247f4(0x152)),CLIUtils=require(a37_0x5247f4(0x14c));function registerBrowserStackReporter(){const _0xd38e78=a37_0x5247f4,_0x573470={};_0x573470[_0xd38e78(0x135)]=function(_0x4f5623,_0xf213dd){return _0x4f5623===_0xf213dd;},_0x573470['lbmaj']=_0xd38e78(0x12a),_0x573470[_0xd38e78(0x155)]='reporter',_0x573470[_0xd38e78(0x10b)]=_0xd38e78(0x117);const _0x1838ec=_0x573470,_0x52dd49=path[_0xd38e78(0x13b)](__dirname,_0x1838ec[_0xd38e78(0x155)],_0x1838ec[_0xd38e78(0x10b)]),_0x112146=Module[_0xd38e78(0x10d)];Module['_resolveFilename']=function(_0x448ce,_0x56391c,_0x124d41,_0x1123f0){const _0x3b25aa=_0xd38e78;if(_0x1838ec[_0x3b25aa(0x135)](_0x448ce,_0x1838ec[_0x3b25aa(0x13a)]))return _0x52dd49;return _0x112146[_0x3b25aa(0x103)](this,_0x448ce,_0x56391c,_0x124d41,_0x1123f0);};}function injectReporterIntoArgs(_0x457bc6){const _0x4d7c3c=a37_0x5247f4,_0x49fa11={};_0x49fa11['Nfrsx']=function(_0x36a0cb,_0x3a033a){return _0x36a0cb<_0x3a033a;},_0x49fa11[_0x4d7c3c(0x107)]=function(_0x38a097,_0x18ab24){return _0x38a097===_0x18ab24;},_0x49fa11[_0x4d7c3c(0x102)]=_0x4d7c3c(0x11e),_0x49fa11['eafoE']=function(_0x21336b,_0x219919){return _0x21336b+_0x219919;},_0x49fa11['FQENS']=function(_0x56ad19,_0x5dce79){return _0x56ad19+_0x5dce79;},_0x49fa11[_0x4d7c3c(0x10c)]=_0x4d7c3c(0x14a),_0x49fa11['SyDwA']=',browserstack',_0x49fa11[_0x4d7c3c(0x127)]=_0x4d7c3c(0x159);const _0x5cee51=_0x49fa11,_0x5c4397=_0x457bc6['slice']();for(let _0x9751a7=0x0;_0x5cee51[_0x4d7c3c(0x101)](_0x9751a7,_0x5c4397[_0x4d7c3c(0xec)]);_0x9751a7++){if(_0x5cee51[_0x4d7c3c(0x107)](_0x5c4397[_0x9751a7],'-r')||_0x5cee51[_0x4d7c3c(0x107)](_0x5c4397[_0x9751a7],_0x5cee51[_0x4d7c3c(0x102)]))return _0x5c4397[_0x5cee51[_0x4d7c3c(0x13e)](_0x9751a7,0x1)]&&_0x5cee51['aUgzX'](_0x5c4397[_0x5cee51[_0x4d7c3c(0x125)](_0x9751a7,0x1)]['indexOf'](_0x5cee51[_0x4d7c3c(0x10c)]),-0x1)&&(_0x5c4397[_0x5cee51['FQENS'](_0x9751a7,0x1)]+=_0x5cee51['SyDwA']),_0x5c4397;}return _0x5c4397[_0x4d7c3c(0x10f)]('-r',_0x5cee51[_0x4d7c3c(0x127)]),_0x5c4397;}function runNewmanCLI(_0x7ef089){const _0x447bd1=a37_0x5247f4,_0x48cd15={'HBnoO':function(_0x3ffa0f,_0x36e406){return _0x3ffa0f>_0x36e406;},'oWjVS':function(_0x4a79d8,_0x21bbdb){return _0x4a79d8(_0x21bbdb);},'BBgQN':function(_0x2d2431,_0x39cbd7,_0x497339){return _0x2d2431(_0x39cbd7,_0x497339);},'RjsYJ':'newman','VImTD':_0x447bd1(0xff),'HFTqt':function(_0x128eba,_0x2e46d6){return _0x128eba(_0x2e46d6);},'ZNcsP':'module','osXdx':_0x447bd1(0x141),'aAyaY':function(_0x3972b3,_0x263073){return _0x3972b3(_0x263073);},'noUJX':'newman/bin/newman','Vhvya':_0x447bd1(0x130),'LyRzE':function(_0x415940,_0x4c0755){return _0x415940+_0x4c0755;},'pHzYp':_0x447bd1(0x14d)};return new Promise(_0x39e435=>{const _0x4d0d53=_0x447bd1;let _0x498175;try{_0x498175=helper[_0x4d0d53(0x149)](_0x48cd15[_0x4d0d53(0x132)],_0x48cd15[_0x4d0d53(0x132)]);}catch(_0x1f4752){return logger['error'](_0x48cd15[_0x4d0d53(0x11c)]),_0x48cd15['HFTqt'](_0x39e435,0x1);}const _0x36f089=_0x498175[_0x4d0d53(0x105)];_0x498175[_0x4d0d53(0x105)]=function(_0x4f85e8,_0x4ea714){const _0x319fae=_0x4d0d53,_0x427664={'hqIGc':function(_0x108cbf,_0x49271b){return _0x48cd15['HBnoO'](_0x108cbf,_0x49271b);},'YBazT':function(_0x517fe2,_0x4ba8b8){const _0xa17da5=a37_0x46c2;return _0x48cd15[_0xa17da5(0x131)](_0x517fe2,_0x4ba8b8);},'lXHVF':function(_0x597623,_0x3bfe86,_0x43beb5){return _0x48cd15['BBgQN'](_0x597623,_0x3bfe86,_0x43beb5);}};return _0x498175[_0x319fae(0x105)]=_0x36f089,_0x36f089[_0x319fae(0x103)](_0x498175,_0x4f85e8,(_0x295993,_0x5cc4d6)=>{const _0xd6296b=_0x319fae,_0x128f37=_0x5cc4d6&&_0x5cc4d6['run']&&(_0x5cc4d6[_0xd6296b(0x105)][_0xd6296b(0x111)]||_0x5cc4d6['run']['failures']&&_0x427664[_0xd6296b(0x113)](_0x5cc4d6[_0xd6296b(0x105)][_0xd6296b(0x153)][_0xd6296b(0xec)],0x0));_0x427664[_0xd6296b(0x118)](_0x39e435,_0x128f37?0x1:0x0),_0x4ea714&&_0x427664[_0xd6296b(0x128)](_0x4ea714,_0x295993,_0x5cc4d6);});};try{const _0x2be513=_0x48cd15[_0x4d0d53(0x131)](require,_0x48cd15[_0x4d0d53(0x12f)])[_0x4d0d53(0x112)](path['join'](process[_0x4d0d53(0x13d)](),_0x48cd15[_0x4d0d53(0x158)]));_0x48cd15[_0x4d0d53(0xf9)](_0x2be513,_0x48cd15[_0x4d0d53(0x145)])([_0x48cd15[_0x4d0d53(0x137)],_0x48cd15[_0x4d0d53(0x132)]][_0x4d0d53(0x146)](_0x7ef089));}catch(_0x1bdf5f){_0x498175[_0x4d0d53(0x105)]=_0x36f089,logger[_0x4d0d53(0x111)](_0x48cd15[_0x4d0d53(0x119)](_0x48cd15[_0x4d0d53(0xfc)],_0x1bdf5f[_0x4d0d53(0x12e)])),_0x48cd15[_0x4d0d53(0x110)](_0x39e435,0x1);}});}function runNewmanScript(_0x26ef5d,_0x2d480f){const _0x4f9e07=a37_0x5247f4,_0x22bc9d={'pKcWe':function(_0xd87b6,_0xed100c){return _0xd87b6(_0xed100c);},'yllIt':function(_0x235800,_0x19ca7e){return _0x235800||_0x19ca7e;},'oLJsg':function(_0x56a6b1,_0x2e47b3,_0x2cc564,_0x59adb9){return _0x56a6b1(_0x2e47b3,_0x2cc564,_0x59adb9);},'pNkpL':_0x4f9e07(0xef),'dldRg':_0x4f9e07(0x13c),'PSzCx':_0x4f9e07(0xf0)};return new Promise(function(_0x28b970){const _0x3728e4=_0x4f9e07,_0x50a65b=_0x22bc9d[_0x3728e4(0x14f)](fork,path[_0x3728e4(0x13b)](__dirname,_0x22bc9d['pNkpL']),[_0x26ef5d,_0x22bc9d['pKcWe'](String,_0x22bc9d[_0x3728e4(0x156)](_0x2d480f,0x0))],{'stdio':_0x22bc9d[_0x3728e4(0x114)],'env':Object['assign']({},process['env'])});_0x50a65b['on'](_0x22bc9d['PSzCx'],function(_0x52e8ab){const _0xaae572=_0x3728e4;_0x22bc9d[_0xaae572(0xf2)](_0x28b970,_0x22bc9d['yllIt'](_0x52e8ab,0x0));});});}function hasO11yBuild(){const _0x4b227d=a37_0x5247f4,_0x2f4d29={};_0x2f4d29[_0x4b227d(0x142)]=function(_0x54cd8b,_0x42b530){return _0x54cd8b!==_0x42b530;},_0x2f4d29[_0x4b227d(0x124)]=_0x4b227d(0xfd);const _0x30aedb=_0x2f4d29;return!!(BrowserstackCLI['O11yHashedID']||process[_0x4b227d(0x143)][_0x4b227d(0x100)]&&_0x30aedb[_0x4b227d(0x142)](process[_0x4b227d(0x143)]['BROWSERSTACK_TESTHUB_JWT'],_0x30aedb[_0x4b227d(0x124)]));}function runWithoutObservability(_0x3e33cd,_0x55aeb6){const _0x2fef57=a37_0x5247f4,_0x669d8={'zGVjz':function(_0x5ab69e,_0x318274){return _0x5ab69e(_0x318274);}};if(_0x3e33cd)return _0x669d8['zGVjz'](require,path[_0x2fef57(0x14b)](_0x3e33cd)),0x0;return _0x669d8[_0x2fef57(0xed)](runNewmanCLI,_0x55aeb6);}module['exports']=async function(_0x4686a7,_0x3fb4ba,_0x1a56aa){const _0x2c2b0b=a37_0x5247f4,_0x526240={'hfJJA':'.js','MQurN':function(_0x40320e,_0x4fc09f){return _0x40320e===_0x4fc09f;},'MvDuH':_0x2c2b0b(0x12d),'yXszh':function(_0x21114e,_0x34d5e7,_0x27f20a){return _0x21114e(_0x34d5e7,_0x27f20a);},'zrTzr':function(_0x55d01c,_0x3fad41){return _0x55d01c!=_0x3fad41;},'ThHxR':'true','aJpxg':_0x2c2b0b(0x140),'vSLZy':function(_0x1581d8,_0x222156){return _0x1581d8+_0x222156;},'qpOrq':_0x2c2b0b(0x14e),'HTfFP':'Failed\x20to\x20launch\x20build:\x20','pcaYL':function(_0x50bf29){return _0x50bf29();},'jGDyQ':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','oAaPc':function(_0x9fffeb,_0x3a4b10){return _0x9fffeb(_0x3a4b10);},'bjFfF':_0x2c2b0b(0x147)},_0x25da03=_0x3fb4ba[_0x2c2b0b(0x144)](0x1),_0x5a6db6=_0x25da03[0x0]&&_0x25da03[0x0][_0x2c2b0b(0xfe)](_0x526240[_0x2c2b0b(0xf7)])?_0x25da03[0x0]:null;if(!_0x1a56aa[_0x2c2b0b(0x126)]||_0x526240[_0x2c2b0b(0x109)](_0x1a56aa[_0x2c2b0b(0x126)]['testObservability'],![])||_0x526240['MQurN'](_0x1a56aa[_0x2c2b0b(0x126)]['testObservability'],_0x526240['MvDuH'])){process[_0x2c2b0b(0x136)]=await _0x526240[_0x2c2b0b(0xf5)](runWithoutObservability,_0x5a6db6,_0x25da03)||0x0;return;}process['env'][_0x2c2b0b(0x11a)]=_0x526240[_0x2c2b0b(0x151)],process['env'][_0x2c2b0b(0xf8)]=_0x526240[_0x2c2b0b(0x151)],process[_0x2c2b0b(0x143)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x526240['zrTzr'](_0x1a56aa['config'][_0x2c2b0b(0x148)],null)?_0x1a56aa[_0x2c2b0b(0x126)][_0x2c2b0b(0x148)]:_0x526240[_0x2c2b0b(0x12c)],CLIUtils[_0x2c2b0b(0xfb)](_0x526240[_0x2c2b0b(0x121)],_0x526240[_0x2c2b0b(0x121)]),BrowserstackCLI[_0x2c2b0b(0x120)]()['setBrowserstackConfig'](_0x1a56aa[_0x2c2b0b(0x126)],_0x1a56aa[_0x2c2b0b(0xf3)],_0x1a56aa['cliConfig']);try{await BrowserstackCLI[_0x2c2b0b(0x120)]()[_0x2c2b0b(0x116)]();}catch(_0x95c873){logger['error'](_0x526240[_0x2c2b0b(0x129)](_0x526240[_0x2c2b0b(0x104)],_0x95c873[_0x2c2b0b(0x12e)]||_0x95c873));}if(!BrowserstackCLI[_0x2c2b0b(0x120)]()[_0x2c2b0b(0x122)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS['NEWMAN'],_0x1a56aa);}catch(_0x2937b5){logger['error'](_0x526240[_0x2c2b0b(0x129)](_0x526240[_0x2c2b0b(0x108)],_0x2937b5[_0x2c2b0b(0x12e)]||_0x2937b5));}!_0x526240[_0x2c2b0b(0xeb)](hasO11yBuild)&&logger[_0x2c2b0b(0x10e)](_0x526240[_0x2c2b0b(0x138)]);_0x526240[_0x2c2b0b(0xeb)](registerBrowserStackReporter);let _0x1e562c;_0x5a6db6?_0x1e562c=await _0x526240[_0x2c2b0b(0xf5)](runNewmanScript,_0x5a6db6,_0x1a56aa[_0x2c2b0b(0x126)][_0x2c2b0b(0x150)]):_0x1e562c=await _0x526240['oAaPc'](runNewmanCLI,_0x526240[_0x2c2b0b(0x11b)](injectReporterIntoArgs,_0x25da03));try{await TestHubHandler[_0x2c2b0b(0x134)]();}catch(_0x5bf87a){}try{await BrowserstackCLI[_0x2c2b0b(0x120)]()[_0x2c2b0b(0x134)]();}catch(_0x467b56){}try{await RequestQueueHandler[_0x2c2b0b(0x120)]()['shutdown']();}catch(_0x2c46d7){}if(_0x526240['pcaYL'](hasO11yBuild))try{_0x526240['pcaYL'](printBuildLink);}catch(_0x4601af){}else logger[_0x2c2b0b(0x10e)](_0x526240[_0x2c2b0b(0x115)]);process['exitCode']=_0x1e562c;};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a38_0x22b2(_0x3f1af6,_0x15ea1f){const _0x100ac7=a38_0x100a();return a38_0x22b2=function(_0x22b22e,_0x4474d2){_0x22b22e=_0x22b22e-0x12e;let _0xb4a8b5=_0x100ac7[_0x22b22e];return _0xb4a8b5;},a38_0x22b2(_0x3f1af6,_0x15ea1f);}const a38_0xf54b4c=a38_0x22b2;(function(_0x501a02,_0x4bd6a1){const _0x564f89=a38_0x22b2,_0x445af7=_0x501a02();while(!![]){try{const _0x16a2a6=-parseInt(_0x564f89(0x131))/0x1+parseInt(_0x564f89(0x133))/0x2+-parseInt(_0x564f89(0x130))/0x3+parseInt(_0x564f89(0x138))/0x4*(parseInt(_0x564f89(0x13e))/0x5)+-parseInt(_0x564f89(0x13f))/0x6*(parseInt(_0x564f89(0x139))/0x7)+-parseInt(_0x564f89(0x135))/0x8+parseInt(_0x564f89(0x132))/0x9*(parseInt(_0x564f89(0x12e))/0xa);if(_0x16a2a6===_0x4bd6a1)break;else _0x445af7['push'](_0x445af7['shift']());}catch(_0x52a9e8){_0x445af7['push'](_0x445af7['shift']());}}}(a38_0x100a,0x71c8c));function isNewman(_0x2159ba){const _0x39f5b8=a38_0x22b2,_0x22928b={'geDrK':function(_0x31c62d,_0x25bb60){return _0x31c62d===_0x25bb60;},'uOsrP':_0x39f5b8(0x13a),'PUrgv':function(_0x46588e,_0x539005){return _0x46588e===_0x539005;},'HERdU':function(_0x7ceba2,_0x1e28ac){return _0x7ceba2(_0x1e28ac);},'AECYQ':function(_0x4dc96e,_0x24427d){return _0x4dc96e||_0x24427d;}},_0xa7460e=process['env'][_0x39f5b8(0x12f)]||'';let _0x57b2d1='';_0x2159ba&&_0x2159ba[_0x39f5b8(0x134)]&&(_0x57b2d1=_0x2159ba[_0x39f5b8(0x134)]);const _0x56681e=_0x22928b['geDrK'](_0xa7460e['toLowerCase'](),_0x22928b[_0x39f5b8(0x13d)]),_0x293b9b=_0x22928b['PUrgv'](_0x22928b[_0x39f5b8(0x13b)](String,_0x57b2d1)[_0x39f5b8(0x136)](),_0x22928b[_0x39f5b8(0x13d)]);return _0x22928b[_0x39f5b8(0x13c)](_0x56681e,_0x293b9b);};const a38_0x2353b6={};a38_0x2353b6[a38_0xf54b4c(0x137)]=isNewman,module['exports']=a38_0x2353b6;function a38_0x100a(){const _0xba416b=['1399278oTApqw','390sJwPGP','BROWSERSTACK_FRAMEWORK','725706QwNHAY','247068BZIHRH','289809XyvtdD','164020piqLAG','framework','1773280emrpkc','toLowerCase','isNewman','26924oYigZZ','21VydMvc','newman','HERdU','AECYQ','uOsrP','400UUBypP'];a38_0x100a=function(){return _0xba416b;};return a38_0x100a();}
|