browserstack-node-sdk 1.53.6 → 1.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +10 -9
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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_0x3dd1f4=a32_0x2490;(function(_0x224b78,_0x54e11c){const _0x287d04=a32_0x2490,_0x851d51=_0x224b78();while(!![]){try{const _0x116fb4=-parseInt(_0x287d04(0x165))/0x1+parseInt(_0x287d04(0x219))/0x2*(parseInt(_0x287d04(0x1b6))/0x3)+parseInt(_0x287d04(0x244))/0x4+parseInt(_0x287d04(0x1f3))/0x5+-parseInt(_0x287d04(0x196))/0x6*(-parseInt(_0x287d04(0x1c6))/0x7)+-parseInt(_0x287d04(0x1bb))/0x8*(parseInt(_0x287d04(0x1e9))/0x9)+parseInt(_0x287d04(0x235))/0xa*(-parseInt(_0x287d04(0x16d))/0xb);if(_0x116fb4===_0x54e11c)break;else _0x851d51['push'](_0x851d51['shift']());}catch(_0x55ef9c){_0x851d51['push'](_0x851d51['shift']());}}}(a32_0x1757,0x2f969));const chalk=require(a32_0x3dd1f4(0x18f)),logger=require(a32_0x3dd1f4(0x25c))[a32_0x3dd1f4(0x20e)],helper=require(a32_0x3dd1f4(0x195)),utilities=require(a32_0x3dd1f4(0x1fe)),testOpsHelper=require(a32_0x3dd1f4(0x22a)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x3dd1f4(0x1bd)),{requireModule,nestedKeyValue}=require(a32_0x3dd1f4(0x195)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js','mocha'),constants=require(a32_0x3dd1f4(0x1f7)),PerformanceTester=require(a32_0x3dd1f4(0x1c9)),PerformanceEvents=require(a32_0x3dd1f4(0x156))[a32_0x3dd1f4(0x214)],centralScannerConstants=require(a32_0x3dd1f4(0x152)),{FRAMEWORKS}=require(a32_0x3dd1f4(0x1cb)),TestHubHandler=require(a32_0x3dd1f4(0x237)),ClientTroubleShootingService=require(a32_0x3dd1f4(0x23e));function tag(_0x47c804,_0x595751,_0x2f3d73,_0xd294e8){const _0x392df2=a32_0x3dd1f4,_0x1479d7={'fCTps':function(_0x3189f8,_0x37528a){return _0x3189f8+_0x37528a;},'aWFFA':function(_0x6e6185,_0xf0fdca){return _0x6e6185+_0xf0fdca;},'BMOQb':function(_0x2bd887,_0x4016a8){return _0x2bd887+_0x4016a8;},'BviTr':function(_0x22a4e9,_0x3313bf){return _0x22a4e9(_0x3313bf);},'ngNDH':function(_0x5d3675,_0x1d43e5){return _0x5d3675+_0x1d43e5;},'ANUuM':function(_0xf9cc88,_0x1353c4){return _0xf9cc88+_0x1353c4;},'wIdZf':function(_0x34ff54,_0x5687a1){return _0x34ff54+_0x5687a1;}},_0x359891=_0x2f3d73?'/>':'>',_0x35ced2=[];let _0x3830e5;for(const _0x4d8a39 in _0x595751){Object[_0x392df2(0x1d0)][_0x392df2(0x150)][_0x392df2(0x202)](_0x595751,_0x4d8a39)&&_0x35ced2[_0x392df2(0x232)](_0x1479d7[_0x392df2(0x1d9)](_0x1479d7[_0x392df2(0x1b1)](_0x1479d7[_0x392df2(0x23c)](_0x4d8a39,'=\x22'),_0x1479d7[_0x392df2(0x211)](escape,_0x595751[_0x4d8a39])),'\x22'));}return _0x3830e5=_0x1479d7[_0x392df2(0x1c2)](_0x1479d7[_0x392df2(0x190)](_0x1479d7[_0x392df2(0x190)]('<',_0x47c804),_0x35ced2[_0x392df2(0x21e)]?_0x1479d7[_0x392df2(0x23c)]('\x20',_0x35ced2[_0x392df2(0x250)]('\x20')):''),_0x359891),_0xd294e8&&(_0x3830e5+=_0x1479d7[_0x392df2(0x222)](_0x1479d7['ANUuM'](_0x1479d7['aWFFA'](_0xd294e8,'</'),_0x47c804),_0x359891)),_0x3830e5;}let xunitContent='';function xunitWrite(_0x223978){xunitContent+=_0x223978;}function xunitTest(_0x303bb5,_0x19644b){const _0x416c12=a32_0x3dd1f4,_0x54ed19={'jGtij':function(_0x5790e1,_0x43fb62){return _0x5790e1/_0x43fb62;},'LSdqu':function(_0x38c307,_0x2378e2){return _0x38c307===_0x2378e2;},'MNwrs':_0x416c12(0x176),'qTtfd':function(_0x5272d2,_0x550afc){return _0x5272d2+_0x550afc;},'Rosij':function(_0x5f15d7,_0x3702db){return _0x5f15d7(_0x3702db);},'DnAAq':function(_0x5aab6a,_0x207508,_0x4ba914,_0x360acb,_0x1da971){return _0x5aab6a(_0x207508,_0x4ba914,_0x360acb,_0x1da971);},'AVCHY':_0x416c12(0x174),'gSIDn':'failure','BWBJs':function(_0x2b0729,_0x3de492){return _0x2b0729+_0x3de492;},'WjoLX':function(_0x336ed2,_0x12554d){return _0x336ed2(_0x12554d);},'MzjNs':function(_0x55b60e,_0x3f9718,_0x257159,_0x2992fb){return _0x55b60e(_0x3f9718,_0x257159,_0x2992fb);},'xKEzS':_0x416c12(0x18c),'xMgjh':function(_0x480a0c,_0x422825,_0x291499,_0x1c16fe){return _0x480a0c(_0x422825,_0x291499,_0x1c16fe);}};Base['useColors']=![];var _0x310052={'classname':_0x303bb5[_0x416c12(0x1f2)],'name':_0x303bb5[_0x416c12(0x22b)],'time':_0x54ed19[_0x416c12(0x238)](_0x303bb5[_0x416c12(0x259)],0x3e8)||0x0,'platform':_0x19644b};if(_0x54ed19[_0x416c12(0x1c8)](_0x303bb5['state'],_0x54ed19[_0x416c12(0x1b2)])){var _0x86eb2e=_0x303bb5['err'],_0x5a065f=!Base[_0x416c12(0x22d)]&&Base[_0x416c12(0x15b)](_0x86eb2e)?_0x54ed19[_0x416c12(0x22f)]('\x0a',Base[_0x416c12(0x17b)](_0x86eb2e[_0x416c12(0x1dd)],_0x86eb2e['expected'])):'';_0x54ed19[_0x416c12(0x24e)](xunitWrite,_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19['AVCHY'],_0x310052,![],_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19[_0x416c12(0x247)],{},![],_0x54ed19[_0x416c12(0x22f)](_0x54ed19[_0x416c12(0x1af)](_0x54ed19['qTtfd'](_0x54ed19[_0x416c12(0x24e)](escape,_0x86eb2e[_0x416c12(0x179)]),_0x54ed19['WjoLX'](escape,_0x5a065f)),'\x0a'),_0x54ed19[_0x416c12(0x24e)](escape,_0x86eb2e[_0x416c12(0x243)])))));}else _0x303bb5[_0x416c12(0x24c)]?_0x54ed19['WjoLX'](xunitWrite,_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19[_0x416c12(0x23b)],_0x310052,![],_0x54ed19[_0x416c12(0x19d)](tag,_0x54ed19['xKEzS'],{},!![]))):_0x54ed19[_0x416c12(0x1a7)](xunitWrite,_0x54ed19[_0x416c12(0x1ca)](tag,_0x54ed19[_0x416c12(0x23b)],_0x310052,!![]));};function a32_0x1757(){const _0xae4488=['fhWAK','xunit','finally','prepareCapabilities','mjs','useW3C','mocha','48751QRaaCw','isEmpty','exports','YHXkT','proxySettings','shouldReRunObservabilityTests','DnAAq','keys','7332171qGOACX','ncgtY','platforms','output','cfyek','testsuite','suite','testcase','JtmgQ','failed','OeQDQ','parseFileNames','message','launchBuild','generateDiff','XyhKr','kfcyR','CXoTq','UbRmc','xFtFm','jZmXI','nlgxr','isTestObservabilitySession','wLIKb','wkRga','bgBlueBright','MOCHA','ZnpnA','state','notifyUpdate','red','skipped','nkzQX','logLevel','chalk','ANUuM','files','guauI','maxRetries','Running\x20your\x20mocha\x20tests','../../helpers/helper','18wuZEtY','FRAMEWORKS','\x0a\x0a\x0a','\x20total','LFtJc','Writing\x20json\x20result\x20to\x20file','totalTests','MzjNs','toUTCString','reporterOptions','LdABU','passes','Setting\x20non\x20exit\x20code\x20for\x20failures','get','mFQPS','Now,\x20showing\x20logs\x20from\x20mocha','ZOVaY','WjoLX','Total\x20Suites:\x20','bstack:options','okWvy','\x20skipped','Printing\x20stats\x20of\x20tests','Mocha\x20Tests','getOwnPropertyNames','BWBJs','log','aWFFA','MNwrs','wmiGq','IuarS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','117OsLZvo','sort','jFHBa','SDK_CLEANUP','framework','8azlrDO','currentRetry','../test-runner','HCulK','stringify','sdIfU','accessibility','ngNDH','spec','Couldn\x27t\x20write\x20json\x20result\x20to','reporter','355866cjObwa','ZbExp','LSdqu','../../helpers/performance/performance-tester','xMgjh','../../helpers/test-observability/constants','vUnqR','setUserConfigPath','RvueS','hDCsu','prototype','BROWSERSTACK_TEST_ACCESSIBILITY_YML','rfFTo','writeFileSync','cJkrI','SDKTestSuccessful','Gwnqb','excludeTagsInTestingScope','retries','fCTps','results','setupTCGAuth','recursive','actual','platform','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','validPlatformsPresent','includeTagsInTestingScope','ykWsT','isNotUndefined','errorMessage','pending','OyLhY','err','Tests:\x20\x20\x20\x20\x20\x20\x20','23904hSIAKI','TMiEJ','rerunTests','cliConfig','initialize','zpfxE','testsPassed','bgRedBright','assign','fullTitle','1057000qfBAkf','YQxSQ','BROWSERSTACK_TEST_OBSERVABILITY_YML','rootHooks','../utils/constants','\x20failed','configuration','Total\x20Platforms:\x20','aHaNN','size','titlePathV','../../helpers/utilities','start','printBuildLink','ePPvx','call','titlePath','bXFbV','PGmRJ','isUndefined','rmdirSync','OFfmQ','speed','****\x20FAILURES\x20****','IJoUZ','\x20passed','parallelsPerPlatform','winstonLogger','SlaiW','Mtubb','BviTr','extension','EhxhO','EVENTS','passed','error','then','indexOf','19300MrZnsr','retryTestsOnFailure','forEach','djWXP','BROWSERSTACK_RERUN_TESTS','length','ERGzn','</testsuite>','tEkyh','wIdZf','Listing\x20all\x20the\x20failures','hUZiC','XufbG','Writing\x20xunit\x20result\x20to\x20file','testsPending','getErrorMessageFromResults','list','../../helpers/test-observability/utils','title','info','hideDiff','testSuites','qTtfd','env','suiteName','push','QFULb','yZJct','10cJrMhr','bold','../../helpers/testhub/testhubHandler','jGtij','SwVpK','json','AVCHY','BMOQb','HleGF','../utils/clientTroubleshootingService','map','lMFwh','ccJmL','ZYKEo','stack','690500AhcqTN','doc','failures','gSIDn','QOINd','fireFunnelTestEvent','Couldn\x27t\x20write\x20xunit\x20result\x20to','config','isPending','isBrowserstackInfra','Rosij','getTCGConfigFilePaths','join','sDtNw','VxXgr','handleApp','gYmEN','testObservability','RrOcO','unlinkSync','AbQgu','duration','Running\x20your\x20mocha\x20tests\x20across\x20','finalExecution','../../helpers/logger','green','hasOwnProperty','error\x20removing\x20tcg\x20config\x20file','../../helpers/central-scanner/constants','includeEncodedExtension','LWIQD','BRTbv','../../helpers/performance/constants','exitCode','accessibilityOptions','lMVmM','testsFailed','showDiff','getUserWorkerCount','debug'];a32_0x1757=function(){return _0xae4488;};return a32_0x1757();}function getStats(_0x2cffff){const _0x2bbb26=a32_0x3dd1f4,_0x7741ed={};_0x7741ed[_0x2bbb26(0x1be)]=_0x2bbb26(0x173),_0x7741ed[_0x2bbb26(0x252)]=_0x2bbb26(0x215),_0x7741ed['tEkyh']=_0x2bbb26(0x176),_0x7741ed[_0x2bbb26(0x251)]=_0x2bbb26(0x1da);const _0x37a6b6=_0x7741ed,_0x2528c3=Object[_0x2bbb26(0x16c)](_0x2cffff);let _0x288caa=0x0,_0x2def9b=0x0,_0x371f3f=0x0,_0x195a43=0x0;const _0x2f8c8a=new Set();_0x2528c3['forEach'](_0x5b7373=>{_0x2cffff[_0x5b7373][_0x37a6b6['sDtNw']]['forEach'](_0x357196=>{const _0x32c38a=a32_0x2490;_0x2f8c8a['add'](_0x357196[_0x37a6b6[_0x32c38a(0x1be)]]),_0x288caa++;switch(_0x357196[_0x32c38a(0x189)]){case _0x37a6b6[_0x32c38a(0x252)]:_0x371f3f++;break;case _0x37a6b6[_0x32c38a(0x221)]:_0x2def9b++;break;default:_0x195a43++;}});});const _0x159367={};return _0x159367[_0x2bbb26(0x22e)]=_0x2f8c8a[_0x2bbb26(0x1fc)],_0x159367[_0x2bbb26(0x16f)]=_0x2528c3,_0x159367[_0x2bbb26(0x19c)]=_0x288caa,_0x159367[_0x2bbb26(0x15a)]=_0x2def9b,_0x159367[_0x2bbb26(0x1ef)]=_0x371f3f,_0x159367[_0x2bbb26(0x227)]=_0x195a43,_0x159367;}function errorJSON(_0xc519c3){const _0x15f5c0=a32_0x3dd1f4;var _0x507ee6={};return Object[_0x15f5c0(0x1ae)](_0xc519c3)[_0x15f5c0(0x21b)](function(_0x423e01){_0x507ee6[_0x423e01]=_0xc519c3[_0x423e01];},_0xc519c3),_0x507ee6;}function a32_0x2490(_0x48ee00,_0x1140e7){const _0x1757cc=a32_0x1757();return a32_0x2490=function(_0x2490fc,_0x190824){_0x2490fc=_0x2490fc-0x150;let _0x56d538=_0x1757cc[_0x2490fc];return _0x56d538;},a32_0x2490(_0x48ee00,_0x1140e7);}function cleanCycles(_0x55c367){const _0x3ad5ba=a32_0x3dd1f4,_0xb4ab41={};_0xb4ab41[_0x3ad5ba(0x17e)]=function(_0x47d91e,_0x254c3d){return _0x47d91e===_0x254c3d;},_0xb4ab41[_0x3ad5ba(0x1b3)]='object',_0xb4ab41['Ffsxy']=function(_0x5b73ae,_0xc90594){return _0x5b73ae!==_0xc90594;},_0xb4ab41[_0x3ad5ba(0x171)]=function(_0x4fa750,_0x58aa3a){return _0x4fa750!==_0x58aa3a;},_0xb4ab41[_0x3ad5ba(0x1ee)]=function(_0x5e4d33,_0x6f153d){return _0x5e4d33+_0x6f153d;};const _0x156767=_0xb4ab41;var _0x4969ce=[];return JSON['parse'](JSON['stringify'](_0x55c367,function(_0x4175c1,_0x8fc35){const _0x88921e=_0x3ad5ba;if(_0x156767[_0x88921e(0x17e)](typeof _0x8fc35,_0x156767['wmiGq'])&&_0x156767['Ffsxy'](_0x8fc35,null)){if(_0x156767[_0x88921e(0x171)](_0x4969ce[_0x88921e(0x218)](_0x8fc35),-0x1))return _0x156767[_0x88921e(0x1ee)]('',_0x8fc35);_0x4969ce[_0x88921e(0x232)](_0x8fc35);}return _0x8fc35;}));}function clean(_0x116c94){const _0x7397d1=a32_0x3dd1f4,_0x1fc403={'ZYKEo':function(_0xbfe8af,_0x46557c){return _0xbfe8af instanceof _0x46557c;},'SwVpK':function(_0x175ff5,_0x342ca2){return _0x175ff5(_0x342ca2);}};var _0xc149f3=_0x116c94[_0x7397d1(0x1e7)]||{};return _0x1fc403[_0x7397d1(0x242)](_0xc149f3,Error)&&(_0xc149f3=_0x1fc403['SwVpK'](errorJSON,_0xc149f3)),{'title':_0x116c94[_0x7397d1(0x22b)],'fullTitle':_0x116c94['fullTitle'],'file':_0x116c94['file'],'duration':_0x116c94[_0x7397d1(0x259)],'currentRetry':_0x116c94[_0x7397d1(0x1bc)],'speed':_0x116c94[_0x7397d1(0x209)],'err':_0x1fc403[_0x7397d1(0x239)](cleanCycles,_0xc149f3)};}function printStats(_0x4f5c61,_0x253499='spec',_0x4b9d6e={}){const _0x4de650=a32_0x3dd1f4,_0x20780e={'bjIOK':function(_0x1f7576,_0x35999f){return _0x1f7576(_0x35999f);},'vUnqR':function(_0x3b5350,_0x4c2147){return _0x3b5350===_0x4c2147;},'lMVmM':'passed','GgVOR':_0x4de650(0x1a1),'lMFwh':function(_0x5c7020,_0x348a65){return _0x5c7020(_0x348a65);},'ePPvx':function(_0xeddef1,_0x1a0dcf){return _0xeddef1===_0x1a0dcf;},'YHXkT':_0x4de650(0x176),'dbByN':_0x4de650(0x246),'uwQxS':function(_0x9883af,_0x1238ae){return _0x9883af(_0x1238ae);},'YQxSQ':_0x4de650(0x1e5),'ncgtY':function(_0x3fd42a,_0x4417b2){return _0x3fd42a(_0x4417b2);},'TMiEJ':'results','hUZiC':function(_0x18d164,_0x3daa74){return _0x18d164===_0x3daa74;},'QFULb':function(_0x22cf2f,_0x4aca9a){return _0x22cf2f*_0x4aca9a;},'QOINd':function(_0x4515c7,_0x29c755,_0x523e73){return _0x4515c7(_0x29c755,_0x523e73);},'sdIfU':function(_0x43f6b4,_0x32ca11){return _0x43f6b4>_0x32ca11;},'PISQI':function(_0x203a6d){return _0x203a6d();},'PGmRJ':function(_0x326c44,_0xdfdf90){return _0x326c44===_0xdfdf90;},'iOrYi':_0x4de650(0x245),'YiDVa':function(_0x496ea7,_0x3617e7){return _0x496ea7(_0x3617e7);},'HQjJn':_0x4de650(0x1a2),'kfcyR':_0x4de650(0x1ac),'cJkrI':function(_0x275156,_0x4347c8){return _0x275156+_0x4347c8;},'ZnpnA':_0x4de650(0x1fa),'hxzqI':_0x4de650(0x1a8),'zVRfc':function(_0x3e9dfe,_0x334fdb){return _0x3e9dfe+_0x334fdb;},'Gwnqb':function(_0x1a8472,_0xbeb6be){return _0x1a8472+_0xbeb6be;},'fhWAK':_0x4de650(0x1e8),'wkRga':function(_0x197d15,_0x28f724){return _0x197d15>_0x28f724;},'okWvy':function(_0x3201e0,_0x4fbbfb){return _0x3201e0+_0x4fbbfb;},'UbRmc':function(_0x1d149d,_0x16198b){return _0x1d149d+_0x16198b;},'gmoDa':function(_0x460f8e,_0x13442a){return _0x460f8e+_0x13442a;},'rfFTo':function(_0x20336e,_0x1585e0){return _0x20336e+_0x1585e0;},'nkzQX':function(_0x541054,_0x22e699){return _0x541054+_0x22e699;},'Mtubb':_0x4de650(0x198),'xFtFm':function(_0x49975e,_0x1f0f23){return _0x49975e===_0x1f0f23;},'ERGzn':_0x4de650(0x23a),'OeQDQ':_0x4de650(0x19b),'IJoUZ':_0x4de650(0x1c4),'IhjJr':_0x4de650(0x1df),'uSaLf':_0x4de650(0x15f),'zrlXo':_0x4de650(0x1ad),'BElrv':function(_0x2f34f1,_0x54c59c){return _0x2f34f1||_0x54c59c;},'LWIQD':function(_0x4e191f,_0xe782b8){return _0x4e191f(_0xe782b8);},'yZJct':function(_0x58b3ed,_0x4027c7,_0x4dd464,_0x27e746){return _0x58b3ed(_0x4027c7,_0x4dd464,_0x27e746);},'gYmEN':_0x4de650(0x172),'jFHBa':function(_0x2cb8b0,_0x21dbf4){return _0x2cb8b0-_0x21dbf4;},'uMOLz':function(_0x31da58,_0x2d7b80){return _0x31da58/_0x2d7b80;},'OyLhY':function(_0x282fee,_0x1eb367){return _0x282fee(_0x1eb367);},'EhxhO':_0x4de650(0x220),'RvueS':_0x4de650(0x226),'ZbExp':_0x4de650(0x24a),'ZOVaY':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','tjkiZ':function(_0x59b504,_0x270d35){return _0x59b504===_0x270d35;},'aHaNN':_0x4de650(0x223),'yFyib':_0x4de650(0x20a)};if(_0x20780e[_0x4de650(0x205)](_0x253499,_0x20780e['iOrYi']))return;const _0x35f2ca=0x0,_0x1cb9ae=()=>{const _0x503a41=_0x4de650;return _0x20780e['bjIOK'](Array,_0x35f2ca)[_0x503a41(0x250)]('\x20\x20');},{testSuites:_0x2210d6,platforms:_0x47a7a7,totalTests:_0x450cf6,testsFailed:_0x2b05d8,testsPassed:_0x2e333f,testsPending:_0x524db4}=_0x20780e['YiDVa'](getStats,_0x4f5c61);_0x20780e[_0x4de650(0x1c0)](_0x2b05d8,0x0)&&(logger[_0x4de650(0x15d)](_0x20780e['HQjJn']),process[_0x4de650(0x157)]=Math['min'](_0x2b05d8,0xff));logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x17d)]);const _0x4f40c1=''+_0x20780e['cJkrI'](chalk['bold'](_0x20780e[_0x4de650(0x188)]),_0x47a7a7['length']),_0x37242b=''+_0x20780e['cJkrI'](chalk[_0x4de650(0x236)](_0x20780e['hxzqI']),_0x2210d6),_0x316693=''+_0x20780e['zVRfc'](_0x20780e[_0x4de650(0x1d4)](_0x20780e[_0x4de650(0x1d6)](chalk['bold'](_0x20780e[_0x4de650(0x15e)]),_0x20780e['sdIfU'](_0x2b05d8,0x0)?chalk[_0x4de650(0x236)][_0x4de650(0x18b)](_0x2b05d8+_0x4de650(0x1f8))+',\x20':''),_0x20780e[_0x4de650(0x1c0)](_0x524db4,0x0)?chalk[_0x4de650(0x236)]['yellow'](_0x524db4+_0x4de650(0x1ab))+',\x20':''),_0x20780e[_0x4de650(0x185)](_0x2e333f,0x0)?chalk[_0x4de650(0x236)][_0x4de650(0x25d)](_0x2e333f+_0x4de650(0x20c))+',\x20':'')+_0x450cf6+_0x4de650(0x199);console[_0x4de650(0x1b0)](_0x20780e[_0x4de650(0x1aa)](_0x20780e[_0x4de650(0x17f)](_0x20780e['gmoDa'](_0x20780e[_0x4de650(0x1d2)](_0x20780e[_0x4de650(0x18d)](_0x20780e[_0x4de650(0x210)],_0x4f40c1),'\x0a'),_0x37242b),'\x0a'),_0x316693));if(_0x20780e[_0x4de650(0x180)](_0x253499,_0x20780e[_0x4de650(0x21f)])){const _0x4da4b3={},_0x3538e9={};_0x3538e9['testSuites']=_0x2210d6,_0x3538e9[_0x4de650(0x16f)]=_0x47a7a7,_0x3538e9['testsFailed']=_0x2b05d8,_0x3538e9[_0x4de650(0x1ef)]=_0x2e333f,_0x3538e9[_0x4de650(0x227)]=_0x524db4,_0x4da4b3['stats']=_0x3538e9,_0x47a7a7[_0x4de650(0x21b)](_0x25ac87=>{const _0x18a4c8=_0x4de650;_0x4da4b3[_0x25ac87]={'pending':[],'failures':[],'passes':[],'tests':_0x4f5c61[_0x25ac87][_0x20780e['TMiEJ']][_0x18a4c8(0x23f)](clean)},_0x4f5c61[_0x25ac87][_0x20780e[_0x18a4c8(0x1ea)]][_0x18a4c8(0x21b)](_0x211f05=>{const _0x4c0e32=_0x18a4c8;if(_0x20780e[_0x4c0e32(0x1cc)](_0x211f05[_0x4c0e32(0x189)],_0x20780e['lMVmM']))_0x4da4b3[_0x25ac87][_0x20780e['GgVOR']][_0x4c0e32(0x232)](_0x20780e[_0x4c0e32(0x240)](clean,_0x211f05));else _0x20780e[_0x4c0e32(0x201)](_0x211f05[_0x4c0e32(0x189)],_0x20780e['YHXkT'])?_0x4da4b3[_0x25ac87][_0x20780e['dbByN']][_0x4c0e32(0x232)](_0x20780e['uwQxS'](clean,_0x211f05)):_0x4da4b3[_0x25ac87][_0x20780e[_0x4c0e32(0x1f4)]][_0x4c0e32(0x232)](_0x20780e[_0x4c0e32(0x16e)](clean,_0x211f05));});});if(_0x4b9d6e[_0x4de650(0x170)])try{logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x177)],_0x4b9d6e[_0x4de650(0x170)]),fs[_0x4de650(0x1d3)](_0x4b9d6e[_0x4de650(0x170)],JSON[_0x4de650(0x1bf)](_0x4da4b3,null,0x3));}catch(_0x3ca9e9){logger['error'](_0x20780e[_0x4de650(0x20b)],_0x4b9d6e[_0x4de650(0x170)]),logger[_0x4de650(0x15d)](_0x3ca9e9);}else logger[_0x4de650(0x15d)](_0x20780e['IhjJr']),console[_0x4de650(0x1b0)](JSON[_0x4de650(0x1bf)](_0x4da4b3,null,0x3));}else{if(_0x20780e[_0x4de650(0x201)](_0x253499,_0x20780e['uSaLf'])){let _0x2bfad0;const _0x231331=_0x20780e['zrlXo'];_0x4b9d6e&&(_0x2bfad0=_0x4b9d6e[_0x4de650(0x231)]);_0x2bfad0=_0x20780e['BElrv'](_0x2bfad0,_0x231331);let _0x50246d=0x0,_0x56cc0b=0x0,_0x4b4ce3=0x0,_0x43ca3d=0x0;_0x47a7a7['forEach'](_0x5a6c1c=>{const _0x2ba39e=_0x4de650,_0x5d1ff4={'jZmXI':function(_0x49fe5b,_0x485567){const _0x49dfb5=a32_0x2490;return _0x20780e[_0x49dfb5(0x224)](_0x49fe5b,_0x485567);},'WgJsO':_0x20780e[_0x2ba39e(0x159)],'LdABU':_0x20780e[_0x2ba39e(0x168)],'AbQgu':function(_0x310bdd,_0x3faa19){const _0x3f014f=_0x2ba39e;return _0x20780e[_0x3f014f(0x233)](_0x310bdd,_0x3faa19);}};_0x4f5c61[_0x5a6c1c][_0x20780e[_0x2ba39e(0x1ea)]][_0x2ba39e(0x21b)](_0x31da0b=>{const _0x3101b1=_0x2ba39e;if(_0x5d1ff4[_0x3101b1(0x181)](_0x31da0b[_0x3101b1(0x189)],_0x5d1ff4['WgJsO']))_0x50246d++;else _0x5d1ff4[_0x3101b1(0x181)](_0x31da0b['state'],_0x5d1ff4[_0x3101b1(0x1a0)])&&_0x56cc0b++;_0x4b4ce3++,_0x43ca3d+=_0x5d1ff4[_0x3101b1(0x258)](_0x31da0b['duration'],0x1);});}),_0x20780e[_0x4de650(0x154)](xunitWrite,_0x20780e[_0x4de650(0x234)](tag,_0x20780e[_0x4de650(0x254)],{'name':_0x2bfad0,'tests':_0x4b4ce3,'failures':0x0,'errors':_0x56cc0b,'skipped':_0x20780e['jFHBa'](_0x20780e[_0x4de650(0x1b8)](_0x4b4ce3,_0x56cc0b),_0x50246d),'timestamp':new Date()[_0x4de650(0x19e)](),'time':_0x20780e['uMOLz'](_0x43ca3d,0x3e8)||0x0},![])),_0x47a7a7[_0x4de650(0x21b)](_0x15b4f7=>{const _0x25d782=_0x4de650,_0x10fbb4={'wLIKb':function(_0x18e072,_0x3d1dde,_0x89e232){const _0x19c705=a32_0x2490;return _0x20780e[_0x19c705(0x248)](_0x18e072,_0x3d1dde,_0x89e232);}};_0x4f5c61[_0x15b4f7][_0x20780e[_0x25d782(0x1ea)]][_0x25d782(0x21b)](_0x416e2b=>{const _0x4d38d4=_0x25d782;_0x10fbb4[_0x4d38d4(0x184)](xunitTest,_0x416e2b,_0x15b4f7);});}),_0x20780e[_0x4de650(0x1e6)](xunitWrite,_0x20780e[_0x4de650(0x213)]);if(_0x4b9d6e[_0x4de650(0x170)])try{logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x1ce)],_0x4b9d6e[_0x4de650(0x170)]),fs['writeFileSync'](_0x4b9d6e[_0x4de650(0x170)],xunitContent);}catch(_0x12036f){logger[_0x4de650(0x216)](_0x20780e[_0x4de650(0x1c7)],_0x4b9d6e[_0x4de650(0x170)]),logger[_0x4de650(0x15d)](_0x12036f);}else logger['debug'](_0x20780e[_0x4de650(0x1a6)]),console[_0x4de650(0x1b0)](xunitContent);}else{if(_0x20780e['tjkiZ'](_0x2b05d8,0x0))return;console[_0x4de650(0x1b0)](),logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x1fb)]),console['log'](chalk[_0x4de650(0x236)][_0x4de650(0x1f0)](_0x20780e['yFyib'])),_0x47a7a7[_0x4de650(0x21b)](_0x31a974=>{const _0x128670=_0x4de650,_0x36c23e=[];_0x4f5c61[_0x31a974][_0x20780e[_0x128670(0x1ea)]]['forEach'](_0x59caa1=>{const _0x53c9b3=_0x128670;_0x20780e['ePPvx'](_0x59caa1[_0x53c9b3(0x189)],_0x20780e[_0x53c9b3(0x168)])&&(_0x59caa1[_0x53c9b3(0x203)]=()=>_0x59caa1[_0x53c9b3(0x1fd)],_0x36c23e['push'](_0x59caa1));}),_0x20780e[_0x128670(0x1c0)](_0x36c23e[_0x128670(0x21e)],0x0)&&(Base['consoleLog'](),Base['consoleLog'](_0x20780e['PISQI'](_0x1cb9ae),chalk[_0x128670(0x236)][_0x128670(0x186)](_0x31a974)),Base[_0x128670(0x229)](_0x36c23e));});}}}async function run(_0x3b69be,_0x598d3d,_0x2e5f9d){const _0xf206f4=a32_0x3dd1f4,_0x290c37={'guauI':function(_0x11f0ed,_0x3f1b8f,_0x454cbb,_0x87cbd4){return _0x11f0ed(_0x3f1b8f,_0x454cbb,_0x87cbd4);},'XyhKr':'reporter-option','mFQPS':_0xf206f4(0x151),'ccJmL':_0xf206f4(0x1d5),'nmyQW':function(_0x214f34,_0x16af69,_0x1fac0b,_0x32ac97){return _0x214f34(_0x16af69,_0x1fac0b,_0x32ac97);},'toeXo':_0xf206f4(0x164),'bXFbV':function(_0x330b4a,_0xc3a210){return _0x330b4a!=_0xc3a210;},'BRTbv':'cjs','SlaiW':_0xf206f4(0x162),'BWwjj':'test','JtmgQ':_0xf206f4(0x1eb),'OFfmQ':function(_0x458488,_0x3c3b79){return _0x458488(_0x3c3b79);},'IuarS':function(_0x598693,_0xc4f180,_0x485d24){return _0x598693(_0xc4f180,_0x485d24);},'LFtJc':_0xf206f4(0x191),'xOzUJ':function(_0x1eb744,_0x325a3e){return _0x1eb744!=_0x325a3e;},'ykWsT':_0xf206f4(0x1e1),'hDCsu':_0xf206f4(0x1d7),'RrOcO':_0xf206f4(0x153),'HleGF':_0xf206f4(0x194),'XufbG':_0xf206f4(0x1a5),'nlgxr':function(_0xf38000,_0x31edb9){return _0xf38000*_0x31edb9;},'djWXP':function(_0x115a91,_0x37ba59){return _0x115a91(_0x37ba59);},'kAMTW':function(_0x15299d,_0x420775){return _0x15299d!==_0x420775;}};helper[_0xf206f4(0x1cd)](_0x2e5f9d[_0xf206f4(0x1ba)],_0x3b69be),await _0x2e5f9d[_0xf206f4(0x1ed)](_0x3b69be);helper[_0xf206f4(0x24d)]()?await helper[_0xf206f4(0x253)](_0x2e5f9d[_0xf206f4(0x24b)]):await _0x2e5f9d[_0xf206f4(0x1db)]();const _0x5b060d=[];let _0x3dcdf8=[];if(!_0x2e5f9d[_0xf206f4(0x24b)])return;!helper['isUndefined'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)])&&(process['env'][_0xf206f4(0x1b5)]=JSON[_0xf206f4(0x1bf)](_0x2e5f9d['config'][_0xf206f4(0x158)]));const _0x3abb46=await TestHubHandler[_0xf206f4(0x17a)](FRAMEWORKS[_0xf206f4(0x187)],_0x2e5f9d);_0x290c37[_0xf206f4(0x204)](_0x2e5f9d['config'][_0xf206f4(0x255)],null)&&(process[_0xf206f4(0x230)][_0xf206f4(0x1f5)]=_0x2e5f9d['config'][_0xf206f4(0x255)]);!helper[_0xf206f4(0x206)](_0x2e5f9d['config'][_0xf206f4(0x1c1)])&&(process['env'][_0xf206f4(0x1d1)]=_0x2e5f9d['config'][_0xf206f4(0x1c1)]);const {extension:extension=['js',_0x290c37[_0xf206f4(0x155)],_0x290c37[_0xf206f4(0x20f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x290c37['BWwjj']]}=_0x3b69be,_0x40f8ca={..._0x3b69be};_0x40f8ca[_0xf206f4(0x1f6)]=null;const _0x4d9f0c=_0x40f8ca;let _0x4bef3f;if(testOpsHelper[_0xf206f4(0x183)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x4d61a0=process[_0xf206f4(0x230)][_0xf206f4(0x21d)];!helper[_0xf206f4(0x206)](_0x2e5f9d[_0xf206f4(0x1ec)])&&_0x2e5f9d['cliConfig']['has'](_0x290c37[_0xf206f4(0x175)])&&(_0x4d61a0=_0x2e5f9d['cliConfig'][_0xf206f4(0x1a3)](_0x290c37[_0xf206f4(0x175)])),_0x4bef3f=testOpsHelper[_0xf206f4(0x178)](_0x4d61a0);}if(helper[_0xf206f4(0x206)](_0x4bef3f)){const _0x2656af={};_0x2656af['ignore']=ignore,_0x2656af[_0xf206f4(0x212)]=extension,_0x2656af['file']=file,_0x2656af[_0xf206f4(0x1dc)]=recursive,_0x2656af[_0xf206f4(0x1b7)]=sort,_0x2656af[_0xf206f4(0x1c3)]=spec,_0x4bef3f=_0x290c37[_0xf206f4(0x208)](collectFiles,_0x2656af),_0x290c37[_0xf206f4(0x1b4)](nestedKeyValue,_0x4bef3f,[_0x290c37[_0xf206f4(0x19a)]])&&(_0x4bef3f=_0x4bef3f[_0xf206f4(0x191)]);}const _0xdb14fb=helper['parseTestOrchestrationOptions'](_0x2e5f9d[_0xf206f4(0x24b)]);!helper[_0xf206f4(0x166)](_0xdb14fb)&&helper[_0xf206f4(0x1e3)](_0xdb14fb[_0xf206f4(0x21a)])&&(_0x4d9f0c[_0xf206f4(0x1d8)]=_0xdb14fb[_0xf206f4(0x21a)][_0xf206f4(0x193)]);if(!helper['isBrowserstackInfra']()){const _0x3003a6=0x1,_0x1748ea={..._0x4d9f0c};_0x1748ea[_0xf206f4(0x1c3)]=[..._0x4bef3f],_0x5b060d[_0xf206f4(0x232)]({'mochaOpts':_0x1748ea,'configuration':{'platform':os[_0xf206f4(0x1de)]()}});if(_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x1c1)]){const _0x5c97ea={};_0x5c97ea[_0xf206f4(0x1c1)]=!![];const _0x1339e7=_0x5c97ea;_0x290c37['xOzUJ'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)],null)&&(_0x1339e7[_0xf206f4(0x158)]=_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)],delete _0x1339e7[_0xf206f4(0x158)][_0x290c37[_0xf206f4(0x1e2)]],delete _0x1339e7['accessibilityOptions'][_0x290c37[_0xf206f4(0x1cf)]],delete _0x1339e7['accessibilityOptions'][_0x290c37[_0xf206f4(0x256)]]);const _0x579d02={};_0x579d02[_0xf206f4(0x1a9)]=_0x1339e7,_0x5b060d[0x0][_0xf206f4(0x1f9)]['capability']=_0x579d02;}logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x23d)]),logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x225)]),_0x290c37[_0xf206f4(0x192)](parallelTestRun,_0x5b060d,_0x3003a6,_0x2e5f9d)[_0xf206f4(0x217)](_0x4768a7=>{const _0x433e5b=_0xf206f4;PerformanceTester['start'](PerformanceEvents[_0x433e5b(0x1b9)]),_0x290c37['guauI'](printStats,_0x4768a7,_0x3b69be[_0x433e5b(0x1c5)],_0x3b69be[_0x433e5b(0x19f)]||_0x3b69be[_0x290c37[_0x433e5b(0x17c)]]);})[_0xf206f4(0x160)](()=>{const _0x432809=_0xf206f4;PerformanceTester[_0x432809(0x1ff)](PerformanceEvents[_0x432809(0x1b9)]);try{const {browserstackFolderPath:_0x5b3b67,tcgConfigPath:_0x3862ce}=helper[_0x432809(0x24f)]();fs[_0x432809(0x257)](_0x3862ce),fs[_0x432809(0x207)](_0x5b3b67);}catch(_0x2dc7d3){logger['debug'](_0x290c37[_0x432809(0x1a4)],_0x2dc7d3);}try{utilities[_0x432809(0x249)](_0x290c37[_0x432809(0x241)],{},_0x2e5f9d[_0x432809(0x24b)],_0x2e5f9d[_0x432809(0x1ba)]);}catch(_0x21291d){logger[_0x432809(0x15d)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x21291d[_0x432809(0x243)]);}try{helper[_0x432809(0x18a)]();}catch(_0x1d33fe){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x1d33fe);}testOpsHelper[_0x432809(0x200)]();});}else{const _0x22ea9a=helper[_0xf206f4(0x163)](_0x2e5f9d[_0xf206f4(0x24b)]);let _0x1b6c34=helper['getHubUrl'](_0x2e5f9d[_0xf206f4(0x24b)]);_0x3dcdf8=helper[_0xf206f4(0x161)](_0x2e5f9d[_0xf206f4(0x24b)],_0x22ea9a,constants[_0xf206f4(0x197)][_0xf206f4(0x187)]);helper['getCentralUser']()['central_scanner']&&(_0x1b6c34=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x2d0016;const _0x5e9af4=_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x20d)]||helper[_0xf206f4(0x15c)](_0x3b69be,_0x598d3d,_0x2e5f9d[_0xf206f4(0x24b)],constants['FRAMEWORKS'][_0xf206f4(0x187)])||0x1;helper[_0xf206f4(0x1e0)](_0x2e5f9d[_0xf206f4(0x24b)])?_0x2d0016=_0x290c37[_0xf206f4(0x182)](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x16f)][_0xf206f4(0x21e)],_0x5e9af4):_0x2d0016=_0x5e9af4;const _0x4ceee1=_0x290c37[_0xf206f4(0x21c)](getPercyOptions,_0x2e5f9d[_0xf206f4(0x24b)]);if(_0x290c37['kAMTW'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x20d)],0x1))_0x4bef3f[_0xf206f4(0x21b)](_0x6daeb5=>{const _0x2f8389=_0xf206f4,_0x3edfee=[];_0x3dcdf8[_0x2f8389(0x21b)]((_0x282534,_0x813e38)=>{const _0x51db5b=_0x2f8389,_0x2de23c={};_0x2de23c['spec']=[_0x6daeb5],_0x3edfee[_0x51db5b(0x232)]({'mochaOpts':Object[_0x51db5b(0x1f1)]({},_0x4d9f0c,_0x2de23c),'configuration':{'server':_0x1b6c34,'capability':_0x282534,'proxySettings':_0x2e5f9d[_0x51db5b(0x24b)]['proxySettings'],'platform':helper['getPlatformName'](_0x282534),'browserStackLogLevel':_0x2e5f9d[_0x51db5b(0x24b)][_0x51db5b(0x18e)],'platformIndex':_0x813e38,'browserStackPercyOptions':_0x4ceee1,'platformCaps':Object[_0x51db5b(0x1f1)]({'index':_0x813e38},_0x2e5f9d['config'][_0x51db5b(0x16f)][_0x813e38])}});}),_0x5b060d[_0x2f8389(0x232)](..._0x3edfee);});else{const _0x29eedb=[];_0x3dcdf8[_0xf206f4(0x21b)]((_0x31803f,_0xacf1c7)=>{const _0x31dc92=_0xf206f4;let _0x216b4d=Object['assign']({},_0x4d9f0c);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x31dc92(0x16a)]()&&(_0x216b4d={..._0x216b4d,'spec':[..._0x4bef3f]}),_0x29eedb['push']({'mochaOpts':_0x216b4d,'configuration':{'server':_0x1b6c34,'capability':_0x31803f,'proxySettings':_0x2e5f9d['config'][_0x31dc92(0x169)],'platform':helper['getPlatformName'](_0x31803f),'browserStackLogLevel':_0x2e5f9d['config'][_0x31dc92(0x18e)],'platformIndex':_0xacf1c7,'browserStackPercyOptions':_0x4ceee1,'platformCaps':Object[_0x31dc92(0x1f1)]({'index':_0xacf1c7},_0x2e5f9d[_0x31dc92(0x24b)][_0x31dc92(0x16f)][_0xacf1c7])}});}),_0x5b060d[_0xf206f4(0x232)](..._0x29eedb);}logger[_0xf206f4(0x22c)](_0xf206f4(0x25a)+_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x16f)][_0xf206f4(0x21e)]+'\x20platforms'),logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x225)]);let _0x2951c8;_0x290c37[_0xf206f4(0x192)](parallelTestRun,_0x5b060d,_0x2d0016,_0x2e5f9d)[_0xf206f4(0x217)](_0x1b62a4=>{const _0x280389=_0xf206f4;PerformanceTester[_0x280389(0x1ff)](PerformanceEvents[_0x280389(0x1b9)]),_0x2951c8=_0x1b62a4,_0x290c37['nmyQW'](printStats,_0x1b62a4,_0x3b69be[_0x280389(0x1c5)],_0x3b69be[_0x280389(0x19f)]||_0x3b69be[_0x290c37[_0x280389(0x17c)]]);})[_0xf206f4(0x160)](async()=>{const _0x398e17=_0xf206f4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x2e5f9d[_0x398e17(0x1e4)]=helper[_0x398e17(0x228)](_0x2951c8,_0x290c37['toeXo']),await utilities[_0x398e17(0x25b)](_0x2e5f9d),testOpsHelper[_0x398e17(0x200)]();});}}module[a32_0x3dd1f4(0x167)]=run;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x5b7e8c=a33_0x5501;function a33_0x5501(_0x1ab843,_0x245495){const _0x37560d=a33_0x3756();return a33_0x5501=function(_0x55019a,_0x3d455a){_0x55019a=_0x55019a-0x1e4;let _0x7197f1=_0x37560d[_0x55019a];return _0x7197f1;},a33_0x5501(_0x1ab843,_0x245495);}function a33_0x3756(){const _0x48f09f=['3074358wVOiRB','setCapabilities','gNEIH','debug','wjXsp','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','path','split','getAccessibilityResultsSummary','options_','setServer','eIVMu','eYhRK','chromeOptions','Modifying\x20webdriver\x20builder','then','capability','OvNje','getHubUrl','quitCount_','moz:firefoxOptions','HttpClient','set','nYlPZ','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','exports','requireSeleniumWebdriver','2414460TldcsN','safariOptions_','goog:chromeOptions','agent_','qRzfc','JiOwe','safari.options','winstonLogger','3ezmsXu','Jamkp','Builder','__setBrowserOptions','firefoxOptions_','updateHubUrl','../../../helpers/patchHelpers','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','/wd/hub','Hub\x20url\x20set\x20to\x20','New\x20hub\x20url\x20set\x20to\x20','168672yNTcxH','kIgLv','mergeDeep','doCzT','chromeOptions_','ebKcI','CAPABILITY_KEY','proxy_','session_','build','JySyj','isBrowserstackInfra','vLZKF','push','getRequestOptions','url_','0|2|4|1|5|3','2684856srLExZ','./helpers/patchHelper','ODKCy','ieOptions','107739rYeaHd','wWOpw','get','nVMZn','newHubUrl','firefoxOptions','iauGH','fwYXE','aKzNu','ZFGwu','../../../helpers/helper','2326341HoMuzA','EiYfJ','RkFmU','11246efNHvJ','__drivers','keys','__driversArray','oKyqN','vSkgv','../../../helpers/accessibility-automation/helper','originalBuilder','isPacProxy','DvIUV','se:ieOptions','setGlobal','Proxy\x20set\x20to\x20','overrideGet','forEach','getAccessibilityResults','isUndefined','KVUrV','Setting\x20Browserstack\x20capabilities','requireHttpClient','logLevel','BSKeE','object','../../../hubAllocationMethods','browserStackLogLevel','NkWkQ','info','isAccessibilityPlatform','send','KnRhC','proxySettings','uXBQF','edgeOptions_','ms:edgeOptions','edgeOptions','../accessibility-automation/helper','proxyUrl','global','/session','wJMlP','https://','368KjMiyR','__driver','capabilities_','ieOptions_'];a33_0x3756=function(){return _0x48f09f;};return a33_0x3756();}(function(_0x5e6842,_0x4e50f4){const _0x5a460f=a33_0x5501,_0x1f2109=_0x5e6842();while(!![]){try{const _0x1e84af=parseInt(_0x5a460f(0x1e6))/0x1*(parseInt(_0x5a460f(0x215))/0x2)+-parseInt(_0x5a460f(0x212))/0x3+parseInt(_0x5a460f(0x203))/0x4+parseInt(_0x5a460f(0x25d))/0x5+-parseInt(_0x5a460f(0x242))/0x6+-parseInt(_0x5a460f(0x1f2))/0x7+-parseInt(_0x5a460f(0x23e))/0x8*(-parseInt(_0x5a460f(0x207))/0x9);if(_0x1e84af===_0x4e50f4)break;else _0x1f2109['push'](_0x1f2109['shift']());}catch(_0x12f808){_0x1f2109['push'](_0x1f2109['shift']());}}}(a33_0x3756,0x64069));const logger=require('../../../helpers/logger')[a33_0x5b7e8c(0x1e5)],helper=require(a33_0x5b7e8c(0x211)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x5b7e8c(0x22c)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x5b7e8c(0x1ec)),{setAccessibilityCapabilities,setExtension}=require(a33_0x5b7e8c(0x238)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x5b7e8c(0x21b)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x5b7e8c(0x204)),modify=(_0x5b11d7,_0x3f4f53=null,_0x1531c4=![])=>{const _0x474eee=a33_0x5b7e8c,_0x1b13e0={'duSfN':function(_0x31561c,_0x564d16){return _0x31561c!==_0x564d16;},'HnguL':_0x474eee(0x23b),'nVMZn':function(_0x2ec846,_0xa8620e){return _0x2ec846!==_0xa8620e;},'ebKcI':function(_0x50dd5b,_0x2646af){return _0x50dd5b+_0x2646af;},'vLZKF':function(_0x497b4f,_0x13ce82){return _0x497b4f+_0x13ce82;},'aKzNu':_0x474eee(0x23d),'hFsym':_0x474eee(0x1ef),'XcIPu':_0x474eee(0x25f),'IXHOw':_0x474eee(0x24f),'uXBQF':_0x474eee(0x236),'OvNje':_0x474eee(0x237),'MWaxW':_0x474eee(0x256),'DvIUV':_0x474eee(0x20c),'cqabR':_0x474eee(0x1e4),'EiYfJ':_0x474eee(0x21f),'BSKeE':_0x474eee(0x206),'NkWkQ':function(_0x5ac020,_0x3be5a8){return _0x5ac020===_0x3be5a8;},'wjXsp':_0x474eee(0x22b),'qRzfc':_0x474eee(0x227),'KVUrV':'optimalHubUrl','BXDce':_0x474eee(0x247),'Jamkp':function(_0x5b3146,_0x157310,_0x5ec269){return _0x5b3146(_0x157310,_0x5ec269);},'gNEIH':function(_0x59d271,_0xbbba9f){return _0x59d271(_0xbbba9f);},'JiOwe':function(_0x5c1ba7,_0x44866f,_0x3013a0){return _0x5c1ba7(_0x44866f,_0x3013a0);},'eIVMu':_0x474eee(0x202),'fwYXE':function(_0xa06a35){return _0xa06a35();},'vSkgv':_0x474eee(0x25a),'eYhRK':_0x474eee(0x230),'YYFfP':function(_0x23ec2a,_0x49fbf2,_0x787379){return _0x23ec2a(_0x49fbf2,_0x787379);},'KnRhC':function(_0x1adcbf,_0x61bdda){return _0x1adcbf(_0x61bdda);},'qkfEe':function(_0x132c5f,_0x33c39a){return _0x132c5f(_0x33c39a);},'ODKCy':function(_0x1bbdb1,_0x14877e,_0x3dfdf3){return _0x1bbdb1(_0x14877e,_0x3dfdf3);},'oKyqN':function(_0x42259d,_0x88149d){return _0x42259d!==_0x88149d;},'JySyj':_0x474eee(0x1ed),'ZFGwu':_0x474eee(0x250)},_0x4a9f76=helper[_0x474eee(0x228)]();let _0x338638;try{_0x338638=helper[_0x474eee(0x25c)](),_0x338638[_0x474eee(0x21c)]&&(_0x338638[_0x474eee(0x1e8)]=_0x338638[_0x474eee(0x21c)]);}catch(_0x5051d8){return;}if(helper[_0x474eee(0x1fd)]()){const _0x5015b9={};_0x5015b9[_0x474eee(0x229)]=_0x5b11d7[_0x474eee(0x22d)],helper['setLogLevel'](_0x5015b9,new Map(),new Map()),logger[_0x474eee(0x22f)](_0x1b13e0[_0x474eee(0x1fc)]),logger[_0x474eee(0x245)](_0x1b13e0[_0x474eee(0x210)]);}class _0x170639 extends _0x4a9f76[_0x474eee(0x257)]{[_0x474eee(0x231)](_0x3ace1e){const _0x5e4862=_0x474eee;if(_0x1b13e0['duSfN'](_0x3ace1e[_0x5e4862(0x248)],_0x1b13e0['HnguL'])&&_0x1b13e0['nVMZn'](global['newHubUrl'],''))try{global[_0x5e4862(0x20b)]=_0x1b13e0[_0x5e4862(0x1f7)](_0x1b13e0[_0x5e4862(0x1fe)](_0x1b13e0[_0x5e4862(0x20f)],global['newHubUrl']),_0x1b13e0['hFsym']),this[_0x5e4862(0x24b)]=hubAllocator[_0x5e4862(0x200)](global['newHubUrl']),logger[_0x5e4862(0x245)](_0x5e4862(0x1f1)+global['newHubUrl']),global[_0x5e4862(0x20b)]='';}catch(_0x42bfd6){logger['error'](_0x42bfd6);}return super[_0x5e4862(0x231)](_0x3ace1e);}}class _0xc29327 extends _0x338638[_0x474eee(0x1e8)]{[_0x474eee(0x24c)](){const _0x51b519=_0x474eee;return this[_0x51b519(0x201)]=helper[_0x51b519(0x254)](_0x5b11d7),logger[_0x51b519(0x245)](_0x51b519(0x1f0)+this['url_']),this;}[_0x474eee(0x1e9)](_0x434035){const _0x46c062=_0x474eee;let _0x490310={};for(const _0x129ebc in _0x434035){switch(_0x129ebc){case _0x1b13e0['XcIPu']:case _0x1b13e0['IXHOw']:this[_0x46c062(0x1f6)]&&(_0x490310=this[_0x46c062(0x1f6)][_0x46c062(0x209)](this[_0x46c062(0x1f6)][_0x46c062(0x1f8)])||{},this['chromeOptions_'][_0x46c062(0x258)](this[_0x46c062(0x1f6)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0[_0x46c062(0x234)]:case _0x1b13e0[_0x46c062(0x253)]:this[_0x46c062(0x235)]&&(_0x490310=this['edgeOptions_'][_0x46c062(0x209)](this['edgeOptions_'][_0x46c062(0x1f8)])||{},this[_0x46c062(0x235)][_0x46c062(0x258)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0['MWaxW']:case _0x1b13e0[_0x46c062(0x21e)]:this[_0x46c062(0x1ea)]&&(_0x490310=this[_0x46c062(0x1ea)][_0x46c062(0x209)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x46c062(0x1ea)]['set'](this[_0x46c062(0x1ea)][_0x46c062(0x1f8)],helper['mergeDeep'](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0['cqabR']:this[_0x46c062(0x25e)]&&(_0x490310=this[_0x46c062(0x25e)]['get'](this['safariOptions_'][_0x46c062(0x1f8)])||{},this['safariOptions_'][_0x46c062(0x258)](this[_0x46c062(0x25e)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0[_0x46c062(0x213)]:case _0x1b13e0[_0x46c062(0x22a)]:this['ieOptions_']&&(_0x490310=this['ieOptions_'][_0x46c062(0x209)](this[_0x46c062(0x241)][_0x46c062(0x1f8)])||{},this[_0x46c062(0x241)]['set'](this[_0x46c062(0x241)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;}}}[_0x474eee(0x243)](){const _0x51d169=_0x474eee,_0x36f317={'nYlPZ':function(_0x44e447,_0x5c7fbb){const _0x41e0ff=a33_0x5501;return _0x1b13e0[_0x41e0ff(0x22e)](_0x44e447,_0x5c7fbb);},'wWOpw':_0x1b13e0[_0x51d169(0x246)]};return logger['debug'](_0x1b13e0[_0x51d169(0x261)]),this[_0x51d169(0x1e9)](_0x5b11d7[_0x51d169(0x252)]),Object[_0x51d169(0x217)](_0x5b11d7[_0x51d169(0x252)])[_0x51d169(0x223)](_0x4e07af=>{const _0x3da80f=_0x51d169,_0x49a26b=this[_0x3da80f(0x240)][_0x3da80f(0x209)](_0x4e07af);_0x36f317[_0x3da80f(0x259)](typeof _0x49a26b,_0x36f317[_0x3da80f(0x208)])?this[_0x3da80f(0x240)]['set'](_0x4e07af,helper['mergeDeep'](_0x49a26b,_0x5b11d7[_0x3da80f(0x252)][_0x4e07af])):this[_0x3da80f(0x240)][_0x3da80f(0x258)](_0x4e07af,_0x5b11d7[_0x3da80f(0x252)][_0x4e07af]);}),this;}['build'](){const _0x31df4c=_0x474eee,_0x1443a9={'iauGH':function(_0x25e03e,_0x3bdd57,_0xcd141f){const _0x4310ae=a33_0x5501;return _0x1b13e0[_0x4310ae(0x1e7)](_0x25e03e,_0x3bdd57,_0xcd141f);},'RkFmU':function(_0x13cb65,_0xc1cb3b,_0x3fa87e){const _0x5e20a5=a33_0x5501;return _0x1b13e0[_0x5e20a5(0x1e7)](_0x13cb65,_0xc1cb3b,_0x3fa87e);},'kIgLv':function(_0x2de220,_0xb4c18f){const _0xfef75f=a33_0x5501;return _0x1b13e0[_0xfef75f(0x244)](_0x2de220,_0xb4c18f);},'wJMlP':function(_0x36fac6,_0x55a733,_0x38c277){const _0x4075b4=a33_0x5501;return _0x1b13e0[_0x4075b4(0x262)](_0x36fac6,_0x55a733,_0x38c277);},'YyklW':function(_0x26ba25,_0x5f01b3,_0x1cb15b){const _0x275f83=a33_0x5501;return _0x1b13e0[_0x275f83(0x1e7)](_0x26ba25,_0x5f01b3,_0x1cb15b);},'ABhhS':function(_0x2fb9ac,_0x47e667,_0x12a5dd){const _0x133446=a33_0x5501;return _0x1b13e0[_0x133446(0x1e7)](_0x2fb9ac,_0x47e667,_0x12a5dd);}};if(helper['isBrowserstackInfra']()){const _0xf3ee2c=_0x1b13e0[_0x31df4c(0x24d)][_0x31df4c(0x249)]('|');let _0x1ad92d=0x0;while(!![]){switch(_0xf3ee2c[_0x1ad92d++]){case'0':_0x1b13e0[_0x31df4c(0x20e)](isAccessibilityAutomationSession)&&_0x1b13e0['gNEIH'](setAccessibilityCapabilities,_0x5b11d7);continue;case'1':if(helper[_0x31df4c(0x21d)](_0x5b11d7['proxySettings'][_0x31df4c(0x239)]))this[_0x31df4c(0x260)]=helper['getHttpAgent'](_0x5b11d7[_0x31df4c(0x233)]['proxyUrl']);else _0x5b11d7['proxySettings']['proxyUrl']&&(this[_0x31df4c(0x1f9)]=_0x5b11d7[_0x31df4c(0x233)][_0x31df4c(0x239)],logger[_0x31df4c(0x245)](_0x31df4c(0x221)+this[_0x31df4c(0x1f9)]));continue;case'2':this[_0x31df4c(0x24c)]();continue;case'3':logger[_0x31df4c(0x245)](_0x1b13e0[_0x31df4c(0x21a)]);continue;case'4':this[_0x31df4c(0x243)]();continue;case'5':globals['getGlobal'](_0x1b13e0[_0x31df4c(0x24e)])&&(!_0x1b13e0['YYFfP'](setExtension,this,_0x5b11d7)&&globals[_0x31df4c(0x220)](_0x1b13e0[_0x31df4c(0x24e)],![]));continue;}break;}}const _0x4a231a=super[_0x31df4c(0x1fb)]();return _0x4a231a[_0x31df4c(0x1fa)][_0x31df4c(0x251)](_0x1eaaf2=>{const _0x123137=_0x31df4c;try{const _0x5f3f61=_0x1eaaf2['caps_']['get'](_0x1b13e0[_0x123137(0x226)]);_0x5f3f61?(logger[_0x123137(0x245)](_0x123137(0x1ee)+_0x5f3f61),hubAllocator[_0x123137(0x1eb)](_0x5f3f61),helper['storeOptimalHubUrl'](_0x5f3f61)):logger[_0x123137(0x245)](_0x1b13e0['BXDce']);}catch(_0xb4cedc){logger[_0x123137(0x245)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0xb4cedc);}}),_0x4a231a[_0x31df4c(0x255)]=0x0,_0x4a231a[_0x31df4c(0x251)]&&_0x4a231a[_0x31df4c(0x251)](_0x5f36d0=>{const _0x23c410=_0x31df4c,_0x104b72={'doCzT':function(_0x1b28a0,_0x3ba3dd,_0x3bb1e4){const _0x2bf724=a33_0x5501;return _0x1443a9[_0x2bf724(0x20d)](_0x1b28a0,_0x3ba3dd,_0x3bb1e4);}};_0x1443a9[_0x23c410(0x214)](overrideQuit,_0x5f36d0,_0x4a231a),_0x1443a9[_0x23c410(0x1f3)](overrideTakeScreenshot,_0x5f36d0),helper['overrideGet'](_0x5f36d0,_0x5b11d7),_0x1443a9[_0x23c410(0x23c)](overrideExecute,_0x5f36d0,_0x5b11d7),_0x5f36d0[_0x23c410(0x24a)]=async()=>{const _0x2b5e3b=_0x23c410;return await _0x104b72[_0x2b5e3b(0x1f5)](getAccessibilityResultsSummary,_0x5f36d0,global);},_0x5f36d0[_0x23c410(0x224)]=async()=>{return await _0x104b72['doCzT'](getAccessibilityResults,_0x5f36d0,global);};}),_0x4a231a[_0x31df4c(0x24a)]=async()=>{return await _0x1443a9['YyklW'](getAccessibilityResultsSummary,_0x4a231a,global);},_0x4a231a[_0x31df4c(0x224)]=async()=>{return await _0x1443a9['ABhhS'](getAccessibilityResults,_0x4a231a,global);},_0x1b13e0[_0x31df4c(0x232)](overrideTakeScreenshot,_0x4a231a),_0x1b13e0['qkfEe'](overrideQuit,_0x4a231a),helper[_0x31df4c(0x222)](_0x4a231a,_0x5b11d7),_0x1b13e0[_0x31df4c(0x205)](overrideExecute,_0x4a231a,_0x5b11d7),helper[_0x31df4c(0x225)](global[_0x31df4c(0x218)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x31df4c(0x216)])&&(global[_0x31df4c(0x216)]=[]),global[_0x31df4c(0x218)][_0x31df4c(0x1ff)](_0x4a231a),global[_0x31df4c(0x23f)]=_0x4a231a,_0x1b13e0[_0x31df4c(0x20a)](global[_0x31df4c(0x216)],undefined)&&global[_0x31df4c(0x216)][_0x31df4c(0x1ff)](_0x4a231a),_0x3f4f53&&helper['isUndefined'](_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)])&&(_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)]=[]),_0x3f4f53&&_0x1b13e0[_0x31df4c(0x219)](_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x216)],undefined)&&(_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x216)][_0x31df4c(0x1ff)](_0x4a231a),_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)]['push'](_0x4a231a)),_0x4a231a;}}return _0x338638[_0x474eee(0x21c)]=_0x338638[_0x474eee(0x1e8)],_0x338638[_0x474eee(0x1e8)]=_0xc29327,_0x4a9f76[_0x474eee(0x257)]=_0x170639,_0x338638;};module[a33_0x5b7e8c(0x25b)]['browserstackAgentObservability']=modify;
|
|
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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x1f9d3e=a34_0x1d15;(function(_0x3128ee,_0x59a81d){const _0x2f3869=a34_0x1d15,_0x18db77=_0x3128ee();while(!![]){try{const _0x1d72aa=parseInt(_0x2f3869(0xff))/0x1+parseInt(_0x2f3869(0xfc))/0x2*(-parseInt(_0x2f3869(0xfd))/0x3)+parseInt(_0x2f3869(0x100))/0x4+parseInt(_0x2f3869(0xf5))/0x5+-parseInt(_0x2f3869(0xf8))/0x6*(-parseInt(_0x2f3869(0xf6))/0x7)+-parseInt(_0x2f3869(0xfa))/0x8+-parseInt(_0x2f3869(0xfe))/0x9;if(_0x1d72aa===_0x59a81d)break;else _0x18db77['push'](_0x18db77['shift']());}catch(_0x3597d7){_0x18db77['push'](_0x18db77['shift']());}}}(a34_0x1123,0x8a6b2));function a34_0x1123(){const _0x50bdfa=['../../../bin/utils/constants','1257896gjrHVb','../../../helpers/test-observability/utils','1304KJhSVn','4902fOEuxa','1638468boxGfs','124498doGrZQ','1403868FspDxB','../../../helpers/request-spy','mochaHooks','timeout','5077660NTHzwt','71582uRNsJf','aknLI','282eUuMyj'];a34_0x1123=function(){return _0x50bdfa;};return a34_0x1123();}function a34_0x1d15(_0x4a89a3,_0x226235){const _0x112357=a34_0x1123();return a34_0x1d15=function(_0x1d15e5,_0x656e59){_0x1d15e5=_0x1d15e5-0xf5;let _0x21f1c0=_0x112357[_0x1d15e5];return _0x21f1c0;},a34_0x1d15(_0x4a89a3,_0x226235);}const requestSpy=require(a34_0x1f9d3e(0x101)),constants=require(a34_0x1f9d3e(0xf9)),{addRequestSpy}=require(a34_0x1f9d3e(0xfb));exports[a34_0x1f9d3e(0x102)]={'beforeAll'(){const _0x13ba03=a34_0x1f9d3e,_0x14d4e1={'aknLI':function(_0x4f23eb){return _0x4f23eb();}},_0x53d724='browserstack internal helper hook';_0x14d4e1[_0x13ba03(0xf7)](addRequestSpy);},'afterAll'(){const _0x46bd72=a34_0x1f9d3e,_0x4d6595='browserstack internal helper hook';this[_0x46bd72(0x103)](0xea60),requestSpy['restore']();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x326a85=a35_0x328e;(function(_0xa3e6bc,_0x1ac195){const _0x56ef3f=a35_0x328e,_0x4fa564=_0xa3e6bc();while(!![]){try{const _0x15b607=-parseInt(_0x56ef3f(0x91))/0x1+parseInt(_0x56ef3f(0x9b))/0x2*(parseInt(_0x56ef3f(0x9c))/0x3)+-parseInt(_0x56ef3f(0xbf))/0x4+parseInt(_0x56ef3f(0xb1))/0x5+parseInt(_0x56ef3f(0x79))/0x6+-parseInt(_0x56ef3f(0xb0))/0x7*(parseInt(_0x56ef3f(0x96))/0x8)+parseInt(_0x56ef3f(0x8f))/0x9*(parseInt(_0x56ef3f(0xaa))/0xa);if(_0x15b607===_0x1ac195)break;else _0x4fa564['push'](_0x4fa564['shift']());}catch(_0x216d0b){_0x4fa564['push'](_0x4fa564['shift']());}}}(a35_0x5b0a,0xb08c4));function a35_0x5b0a(){const _0x5032fd=['hook','_afterAll','../../../helpers/testhub/utils','bs:addPlatformDetails:','mapTestHooks','936588ehchyj','UGEMO','indexOf','toJSON','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hookAnalyticsId','ehmBh','../../../helpers/test-observability/utils','__cloud_provider___','CKXRj','TEST_PLATFORM','slice','push','aMXkY','gjvft','uwhsZ','../../../helpers/helper','type','tests','kEqud','emit','sngGs','25425EItJyi','uJhFu','1045312pSQIqd','iZBcv','xnhJZ','uuid','_beforeEach','8QAgzsk','TgzZw','concat','ZSyGd','qgtcB','2392306DedVsR','3sDuCnC','hook:','markedStatus','BGMEP','js-','_afterEach','lodash','fImvS','getPlatform','sendPlatformDetails','../../../../package.json','string','BdDaj','NuhuH','1210bWFOKP','iYeNV','unknown_grid','VJkmz','../../utils/logPatcher','generic','3823988uBhvHy','6430095zNQILm','DSnmN','getHookSkippedTests','JsxwI','getCapabilities','TkABi','forEach','parent','bvcfN','state','getBrowserName','get','pid','sxaXk','2661436QUhvNb','split','getHooksForTest','../../../helpers/test-observability/constants','platformVersion','failed','ThXlx','browserstack','filter','zDhUk','_beforeAll'];a35_0x5b0a=function(){return _0x5032fd;};return a35_0x5b0a();}function a35_0x328e(_0x168448,_0x349114){const _0x5b0a84=a35_0x5b0a();return a35_0x328e=function(_0x328eda,_0x552d92){_0x328eda=_0x328eda-0x75;let _0x5aeeae=_0x5b0a84[_0x328eda];return _0x5aeeae;},a35_0x328e(_0x168448,_0x349114);}const {v4:uuidv4}=require(a35_0x326a85(0x94)),{name,version}=require(a35_0x326a85(0xa6)),logPatcher=require(a35_0x326a85(0xae)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x326a85(0x80)),{consoleHolder}=require(a35_0x326a85(0xc2)),{getPlatformVersion}=require(a35_0x326a85(0x89)),{shouldProcessEventForTesthub}=require(a35_0x326a85(0x76)),{isFunction}=require(a35_0x326a85(0xa2)),{patchConsoleLogger}=require(a35_0x326a85(0x80));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x512ed2=a35_0x326a85,_0x5db622={'bvcfN':_0x512ed2(0xaf),'CKXRj':function(_0x1e36e1){return _0x1e36e1();}};return{'ci':_0x5db622[_0x512ed2(0xb9)],'key':_0x5db622[_0x512ed2(0x82)](uuidv4),'version':version,'collector':_0x512ed2(0xa0)+name};},exports['getHookDetails']=_0x52c6a3=>{const _0x5bc567=a35_0x326a85,_0x4db5e9={};_0x4db5e9[_0x5bc567(0x97)]=function(_0x5620b0,_0x161937){return _0x5620b0!==_0x161937;},_0x4db5e9['BGMEP']=_0x5bc567(0xa7),_0x4db5e9[_0x5bc567(0xb6)]=_0x5bc567(0x9d),_0x4db5e9[_0x5bc567(0xa9)]=_0x5bc567(0xca);const _0x21a7b5=_0x4db5e9;if(!_0x52c6a3||_0x21a7b5[_0x5bc567(0x97)](typeof _0x52c6a3,_0x21a7b5[_0x5bc567(0x9f)]))return[null,null];if(_0x21a7b5[_0x5bc567(0x97)](_0x52c6a3[_0x5bc567(0x7b)](_0x21a7b5[_0x5bc567(0xb6)]),-0x1)){const _0x2bcd66=_0x52c6a3[_0x5bc567(0xc0)](_0x21a7b5['TkABi']);return[_0x2bcd66[0x0]['slice'](0x0,-0x1)[_0x5bc567(0xc0)]('\x22')[0x1],_0x2bcd66[0x1]['substring'](0x1)];}else{if(_0x21a7b5['TgzZw'](_0x52c6a3[_0x5bc567(0x7b)](_0x21a7b5[_0x5bc567(0xa9)]),-0x1)){const _0x6ff55a=_0x52c6a3['split'](_0x21a7b5[_0x5bc567(0xa9)]);return[_0x6ff55a[0x0][_0x5bc567(0x84)](0x0,-0x1)[_0x5bc567(0xc0)]('\x22')[0x1],_0x52c6a3];}}return[null,null];},exports['getHooksForTest']=_0x47f1cd=>{const _0x483720=a35_0x326a85,_0xd40bd5={'PIYmY':function(_0x3a4750,_0x7efccb){return _0x3a4750(_0x7efccb);},'DmexJ':_0x483720(0xc9),'aMXkY':_0x483720(0x75),'rTvIz':_0x483720(0x95),'qgtcB':_0x483720(0xa1)};if(!_0x47f1cd||!_0x47f1cd['parent'])return[];const _0x27c65a=[];return[_0xd40bd5['DmexJ'],_0xd40bd5[_0x483720(0x86)],_0xd40bd5['rTvIz'],_0xd40bd5[_0x483720(0x9a)]]['forEach'](_0x89cf47=>{const _0x5445a3=_0x483720,_0x55e372=_0x47f1cd[_0x5445a3(0xb8)][_0x89cf47]||[];_0x55e372[_0x5445a3(0xb7)](_0x4cb792=>{const _0x5638b1=_0x5445a3;_0x4cb792[_0x5638b1(0x7e)]&&!_0xd40bd5['PIYmY'](isInternalHook,_0x4cb792['fn'])&&_0x27c65a[_0x5638b1(0x85)](_0x4cb792[_0x5638b1(0x7e)]);});}),[..._0x27c65a,...exports[_0x483720(0xc1)](_0x47f1cd[_0x483720(0xb8)])];},exports[a35_0x326a85(0x78)]=_0x300fc1=>{const _0x1f236c=a35_0x326a85,_0x41113c={'BdDaj':function(_0x247011){return _0x247011();},'JsxwI':function(_0x309252,_0x54e13f){return _0x309252===_0x54e13f;},'ZSyGd':_0x1f236c(0xa1),'DSnmN':_0x1f236c(0xc9),'sngGs':_0x1f236c(0x75),'ehmBh':_0x1f236c(0x95)};if(!_0x300fc1||!_0x300fc1['parent'])return;[_0x41113c[_0x1f236c(0xb2)],_0x41113c[_0x1f236c(0x8e)],_0x41113c[_0x1f236c(0x7f)],_0x41113c['ZSyGd']]['forEach'](_0x310e63=>{const _0x3bd43e=_0x1f236c,_0x11d288={'sxaXk':function(_0x57582d){const _0x2e4715=a35_0x328e;return _0x41113c[_0x2e4715(0xa8)](_0x57582d);},'gjvft':function(_0x2d8897,_0x5a3aac){const _0x33f3db=a35_0x328e;return _0x41113c[_0x33f3db(0xb4)](_0x2d8897,_0x5a3aac);},'IqpQG':_0x41113c[_0x3bd43e(0x99)]},_0x4b3a3a=_0x300fc1[_0x3bd43e(0xb8)][_0x310e63]||[];_0x4b3a3a[_0x3bd43e(0xb7)](_0x3765c2=>{const _0x55f888=_0x3bd43e;if(!_0x3765c2[_0x55f888(0x7e)])_0x3765c2[_0x55f888(0x7e)]=_0x11d288[_0x55f888(0xbe)](uuidv4);else _0x3765c2['markedStatus']&&_0x11d288[_0x55f888(0x87)](_0x310e63,_0x11d288['IqpQG'])&&(_0x3765c2[_0x55f888(0x7e)]=_0x11d288['sxaXk'](uuidv4),delete _0x3765c2[_0x55f888(0x9e)]);});}),exports['mapTestHooks'](_0x300fc1[_0x1f236c(0xb8)]);},exports[a35_0x326a85(0xa5)]=async(_0x4ca2b1,_0x53e648)=>{const _0x232836=a35_0x326a85,_0x523b7b={'xnhJZ':function(_0x290b66){return _0x290b66();},'ZXZHd':function(_0x3756c4,_0x2f3112){return _0x3756c4(_0x2f3112);},'fImvS':_0x232836(0xc3),'BLFrC':function(_0x4f8d4a,_0x3e27e2){return _0x4f8d4a(_0x3e27e2);},'VJkmz':function(_0x5ce4a5,_0x581ab4){return _0x5ce4a5===_0x581ab4;},'iZBcv':_0x232836(0xc6),'UGEMO':_0x232836(0xac),'iYeNV':_0x232836(0x83)};try{if(!_0x523b7b[_0x232836(0x93)](shouldProcessEventForTesthub))return;const _0x1a93c1=await _0x4ca2b1[_0x232836(0xb5)](),_0x375248=await _0x4ca2b1['getSession'](),_0x387a50={},_0x41d250=Object['fromEntries'](_0x375248[_0x232836(0xb5)]()['map_']),_0x2d8197={'product':_0x523b7b['ZXZHd'](getObservabilityLinkedProductName,_0x41d250),'capabilities':_0x41d250,'platform':_0x1a93c1[_0x232836(0xa4)](),'platform_version':_0x1a93c1['get'](_0x523b7b[_0x232836(0xa3)])?_0x1a93c1[_0x232836(0xbc)](_0x523b7b[_0x232836(0xa3)]):_0x523b7b['BLFrC'](getPlatformVersion,_0x523b7b[_0x232836(0xad)](global['__cloud_provider___'],_0x523b7b[_0x232836(0x92)])),'browser':_0x1a93c1[_0x232836(0xbb)](),'browser_version':_0x1a93c1['getBrowserVersion'](),'session_id':_0x375248[_0x232836(0x7c)]()};global[_0x232836(0x81)]?_0x387a50[global[_0x232836(0x81)]]=_0x2d8197:_0x387a50[_0x523b7b[_0x232836(0x7a)]]=_0x2d8197,process[_0x232836(0x8d)](_0x232836(0x77)+process[_0x232836(0xbd)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x523b7b[_0x232836(0xab)],'http_response':_0x387a50,'uuid':_0x53e648});}catch(_0x198c03){_0x523b7b['BLFrC'](debug,_0x232836(0x7d)+_0x198c03);}},exports[a35_0x326a85(0xb3)]=_0x28a5d4=>{const _0x9e66ad=a35_0x326a85,_0x5a31f7={};_0x5a31f7['uJhFu']=function(_0x24af3b,_0x44380e){return _0x24af3b!==_0x44380e;},_0x5a31f7[_0x9e66ad(0x88)]=_0x9e66ad(0xca),_0x5a31f7[_0x9e66ad(0xc8)]='passed',_0x5a31f7[_0x9e66ad(0x8c)]=function(_0xeb1d20,_0xb768d8){return _0xeb1d20!==_0xb768d8;},_0x5a31f7[_0x9e66ad(0xc5)]=_0x9e66ad(0xc4);const _0x1f426e=_0x5a31f7,_0x170160=_0x28a5d4['suites']['reduce']((_0x132afb,_0x167574)=>{const _0x34b5d2=_0x9e66ad,_0x377beb=exports[_0x34b5d2(0xb3)](_0x167574);return _0x377beb&&(_0x132afb=_0x132afb[_0x34b5d2(0x98)](_0x377beb)),_0x132afb;},[]),_0x400971=_0x28a5d4[_0x9e66ad(0x8b)][_0x9e66ad(0xc7)](_0x3b2759=>{const _0x20348a=_0x9e66ad,_0x1f9922=_0x1f426e[_0x20348a(0x90)](_0x3b2759[_0x20348a(0x8a)],_0x1f426e[_0x20348a(0x88)])&&!_0x3b2759[_0x20348a(0x9e)]&&_0x1f426e[_0x20348a(0x90)](_0x3b2759[_0x20348a(0xba)],_0x1f426e[_0x20348a(0xc8)])&&_0x1f426e[_0x20348a(0x8c)](_0x3b2759[_0x20348a(0xba)],_0x1f426e[_0x20348a(0xc5)])&&!_0x3b2759['pending'];return _0x1f9922;});return _0x400971[_0x9e66ad(0x98)](_0x170160);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x536482=a36_0x4fe5;(function(_0x139483,_0x252268){const _0x43e9a7=a36_0x4fe5,_0x1f7f99=_0x139483();while(!![]){try{const _0x301aca=-parseInt(_0x43e9a7(0x1ce))/0x1+parseInt(_0x43e9a7(0x1fc))/0x2+-parseInt(_0x43e9a7(0x1a6))/0x3+parseInt(_0x43e9a7(0x18d))/0x4*(parseInt(_0x43e9a7(0x18b))/0x5)+-parseInt(_0x43e9a7(0x1db))/0x6*(parseInt(_0x43e9a7(0x1b0))/0x7)+-parseInt(_0x43e9a7(0x1a9))/0x8+parseInt(_0x43e9a7(0x1fe))/0x9;if(_0x301aca===_0x252268)break;else _0x1f7f99['push'](_0x1f7f99['shift']());}catch(_0x1e6896){_0x1f7f99['push'](_0x1f7f99['shift']());}}}(a36_0x3c17,0x4b330));const util=require(a36_0x536482(0x1e7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x536482(0x19b)),accessibilityRetryHelper=require(a36_0x536482(0x20b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x536482(0x1ef)),{percyAutoCapture}=require(a36_0x536482(0x236)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x536482(0x209)),PerformanceTester=require(a36_0x536482(0x1a5)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x536482(0x1c1)),globals=require(a36_0x536482(0x1f8)),logger=require(a36_0x536482(0x1af))[a36_0x536482(0x18c)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x536482(0x1a7));function a36_0x4fe5(_0x264c6c,_0xd3ee90){const _0x3c177e=a36_0x3c17();return a36_0x4fe5=function(_0x4fe506,_0x2bcde4){_0x4fe506=_0x4fe506-0x187;let _0x2090f1=_0x3c177e[_0x4fe506];return _0x2090f1;},a36_0x4fe5(_0x264c6c,_0xd3ee90);}function a36_0x3c17(){const _0x58477f=['FqglV','failed','app','beforeEach','../../helpers/logger','3962756soMSvQ','wKLds','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','HVwaX','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','isAccessibilityPlatform','afterTest','browserstackSessionName','SDK_HOOK','Kfier','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DmbqA','YaXsA','percy','SESSION_STATUS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','then','../../helpers/performance/constants','command','AiZwD','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SYNC','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','BROWSERSTACK_TESTHUB_JWT','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','.\x20Error\x20:','getGlobal','SYAbv','currentTest','__skipSessionName','271331cYdVow','protocol','jfphy','debug','appium:app','WVSbr','SsLvZ','cPNWy','Mocha','uzXPN','finally','thBuildUuid','now','6kippFa','Accessibility\x20results\x20saved\x20successfully','hrJft','WeIqt','format','ibxTt','UEDIQ','CANyX','PlnOH','sessionName','afterAll','bQUOd','util','startMonitoring','SAVE_RESULTS','tRMNo','passed','mochaHooks','length','faBgK','../utils/constants','shift','hdoqx','Automate\x20test\x20case\x20execution\x20has\x20started.','browserstackTestName','TLUeB','HXYZr','Vrqxg','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/globals','accessibilityScanStarted','state','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','1221116vmdYDA','PERFORM_SCAN','9920664PMFfGf','jYQzr','MEHoU','err','testAnalyticsId','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','TErxU','timeout','MYcEg','__drivers','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/helper','parse','../../helpers/accessibility-automation/accessibilityRetryHelper','join','uIohx','grBUu','http:','icvvL','VVcfX','driverCleanup','BVfao','ILkmT','bstackA11yScanOptions','PTMgB','\x20-\x20','LifHZ','QZFTV','MnTKE','aXPCe','IrrKi','autoScanning','PVGjI','WykHd','WPhTk','iXQso','EEuQO','executeScript','env','UBPvP','testcase','session_','percyCaptureMode','__sessionFailed','end','fDsTG','FnoNX','performScanWithRetry','shouldScanTestForAccessibility','setGlobal','bstackA11yShouldScan','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','sessionNameSet__','ECkOS','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','XOKrV','../../helpers/percy/utils','titlePath','mTkXl','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','warn','initQuit','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Accessibility\x20scan\x20completed\x20successfully','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','HcxGR','86270qgtkCM','winstonLogger','72NkKTgW','NiyYd','wpxQE','stringify','beforeAll','vrrMp','IQjOZ','ENV_VAR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','index','__platformCaps','\x22}}','info','__error_messages__','../../helpers/accessibility-automation/helper','saveAccessibilityResultsWithRetry','measureWrapper','tFGya','quitCount_','ObservabilitySync:','https:','error','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','capabilities','../../helpers/performance/performance-tester','1302516RxivdR','../../helpers/testhub/constants','VJbhN','3550392jqkzZq','message'];a36_0x3c17=function(){return _0x58477f;};return a36_0x3c17();}exports[a36_0x536482(0x1ec)]={'beforeAll'(){const _0x576d94=a36_0x536482,_0xd65706={'IQjOZ':function(_0x5e811f,_0x198d12,_0xd278fc,_0x3cef1a){return _0x5e811f(_0x198d12,_0xd278fc,_0x3cef1a);},'aXPCe':_0x576d94(0x1ac),'jYQzr':'\x20|\x20','YaXsA':function(_0x4cd635,_0x5e3046,_0x1202d0){return _0x4cd635(_0x5e3046,_0x1202d0);},'TLUeB':_0x576d94(0x1eb),'wpxQE':function(_0x3d8b77){return _0x3d8b77();},'cPNWy':function(_0x437ad6,_0x3b1532,_0xe5103c){return _0x437ad6(_0x3b1532,_0xe5103c);},'QZFTV':_0x576d94(0x196),'ryBFK':_0x576d94(0x191)};PerformanceTester[_0x576d94(0x1e8)]();const _0x4f6096='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x10f816=_0x576d94;global['__error_messages__']=[],global[_0x10f816(0x229)]=![],global[_0x10f816(0x212)]=async()=>{const _0x2f79f6=_0x10f816;let _0x2478b7=![];try{await global[_0x2f79f6(0x207)][0x0][_0x2f79f6(0x227)],_0x2478b7=!![],global[_0x2f79f6(0x229)]?await _0xd65706[_0x2f79f6(0x193)](markSessionStatus,global[_0x2f79f6(0x207)][0x0],_0xd65706[_0x2f79f6(0x21b)],global[_0x2f79f6(0x19a)][_0x2f79f6(0x20c)](_0xd65706[_0x2f79f6(0x1ff)])):await _0xd65706[_0x2f79f6(0x1bc)](markSessionStatus,global['__drivers'][0x0],_0xd65706[_0x2f79f6(0x1f4)]);}catch(_0x26192b){logger[_0x2f79f6(0x1d1)](_0x2f79f6(0x203)+_0x26192b);}global[_0x2f79f6(0x19a)]=[],global[_0x2f79f6(0x229)]=![];if(_0x2478b7)try{try{_0xd65706[_0x2f79f6(0x18f)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xd65706[_0x2f79f6(0x1d5)](sendPlatformDetails,global[_0x2f79f6(0x207)][0x0],this[_0x2f79f6(0x1cc)]?this[_0x2f79f6(0x1cc)][_0x2f79f6(0x202)]:null));}catch(_0x545924){logger[_0x2f79f6(0x1d1)](_0x2f79f6(0x1fb)+_0x545924);}await global[_0x2f79f6(0x207)][0x0][_0x2f79f6(0x23b)]();}catch(_0x2573ae){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2573ae);}};},{'platform':_0xd65706[_0x576d94(0x1bc)](nestedKeyValue,global['__platformCaps'],[_0xd65706[_0x576d94(0x219)]]),'hookType':_0xd65706['ryBFK']})();},'beforeEach'(_0x4dffee){const _0x37c7fa=a36_0x536482,_0x191a6a={'rtZIC':function(_0xe30073,_0xd49174){return _0xe30073>_0xd49174;},'jfphy':function(_0x12b983,_0x7e1a92){return _0x12b983>_0x7e1a92;},'MYcEg':'\x20-\x20','VVcfX':function(_0xbcb59a,_0x2c4264,_0x11ca10){return _0xbcb59a(_0x2c4264,_0x11ca10);},'AhTiu':function(_0x4091c6,_0x20db70){return _0x4091c6===_0x20db70;},'iXQso':_0x37c7fa(0x230),'fwOqH':_0x37c7fa(0x215),'grBUu':function(_0x4a9633){return _0x4a9633();},'PVGjI':function(_0x48e977,_0x24a59d){return _0x48e977>_0x24a59d;},'dVfJK':_0x37c7fa(0x1b5),'ILkmT':_0x37c7fa(0x20f),'BVfao':function(_0x5793ee,_0x2e998d){return _0x5793ee===_0x2e998d;},'JQRJE':_0x37c7fa(0x1a1),'vojwI':_0x37c7fa(0x1bf),'Vrqxg':_0x37c7fa(0x1f2),'fDsTG':function(_0x33294d){return _0x33294d();},'VJbhN':_0x37c7fa(0x1f3),'MEHoU':_0x37c7fa(0x196),'IrrKi':_0x37c7fa(0x1ae)};globals[_0x37c7fa(0x22f)](_0x191a6a[_0x37c7fa(0x1a8)],this['currentTest']['titlePath']()[_0x37c7fa(0x20c)](_0x191a6a['MYcEg'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3c5a86=_0x37c7fa,_0x21cd60={'tFGya':function(_0x263ad9){const _0x56880a=a36_0x4fe5;return _0x191a6a[_0x56880a(0x20e)](_0x263ad9);}},_0x5d61cc='browserstack internal helper hook';new Promise(async _0x267f02=>{const _0x183120=a36_0x4fe5;let _0x7716b7=!![];try{_0x191a6a['rtZIC'](global[_0x183120(0x207)][_0x183120(0x1ed)],0x1)&&(await global[_0x183120(0x212)](),global[_0x183120(0x207)][_0x183120(0x1f0)]()),_0x191a6a[_0x183120(0x1d0)](global['__drivers'][0x0][_0x183120(0x19f)],0x0)&&(_0x7716b7=![],await global[_0x183120(0x212)]());}catch(_0xd746bd){logger[_0x183120(0x1d1)](_0x183120(0x208)+_0xd746bd);}try{Array['isArray'](global[_0x183120(0x207)])&&global['__drivers'][0x0]&&(global[_0x183120(0x207)][0x0][_0x183120(0x1b7)]=this[_0x183120(0x1cc)][_0x183120(0x237)]()['join'](_0x191a6a[_0x183120(0x206)])),global['browserstackSessionName']=this[_0x183120(0x1cc)]['titlePath']()['join'](_0x191a6a[_0x183120(0x206)]);}catch(_0x1f41d3){logger[_0x183120(0x1d1)](_0x183120(0x23d)+_0x1f41d3);}this['currentTest'][_0x183120(0x22e)]=_0x191a6a['VVcfX'](shouldScanTestForAccessibility,this[_0x183120(0x1cc)][_0x183120(0x237)](),!![]);let _0xd941e0=!![];try{const _0x5c727d=JSON[_0x183120(0x20a)](process[_0x183120(0x224)][_0x183120(0x195)]||'{}');_0x191a6a['AhTiu'](_0x5c727d[_0x183120(0x21d)],![])&&(_0xd941e0=![]);}catch(_0x1242bb){logger[_0x183120(0x1d1)](_0x183120(0x1c6)+_0x1242bb[_0x183120(0x1aa)]);}const _0xc5a31b=_0xd941e0&&this[_0x183120(0x1cc)][_0x183120(0x22e)];globals[_0x183120(0x22f)](_0x191a6a[_0x183120(0x221)],_0xc5a31b),globals[_0x183120(0x22f)](_0x191a6a['fwOqH'],null),this['currentTest'][_0x183120(0x1f9)]=this[_0x183120(0x1cc)][_0x183120(0x22e)];if(_0x191a6a[_0x183120(0x20e)](isAccessibilityAutomationSession)&&_0x7716b7&&Array['isArray'](global[_0x183120(0x207)])&&_0x191a6a[_0x183120(0x21e)](global[_0x183120(0x207)][_0x183120(0x1ed)],0x0)&&globals[_0x183120(0x1ca)](_0x191a6a['dVfJK']))try{const _0x4b9ae6=await global['__drivers'][0x0][_0x183120(0x227)];if(_0x4b9ae6){let _0x34591d=!![];const _0x1b633f=await global[_0x183120(0x207)][0x0]['getCurrentUrl']();let _0xe83d4c;try{_0xe83d4c=new URL(_0x1b633f),_0x34591d=_0x191a6a['AhTiu'](_0xe83d4c['protocol'],_0x191a6a[_0x183120(0x214)])||_0x191a6a[_0x183120(0x213)](_0xe83d4c[_0x183120(0x1cf)],_0x191a6a['JQRJE']);}catch(_0x4230a4){_0x34591d=![];}_0x34591d&&(this[_0x183120(0x1cc)]['shouldScanTestForAccessibility']&&logger[_0x183120(0x199)](_0x191a6a['vojwI'])),this[_0x183120(0x1cc)][_0x183120(0x1f9)]=this[_0x183120(0x1cc)][_0x183120(0x22e)],_0xc5a31b&&logger[_0x183120(0x199)](_0x191a6a[_0x183120(0x1f6)]);}}catch(_0x13f554){logger[_0x183120(0x1a2)](_0x183120(0x1c8)+util[_0x183120(0x1df)](_0x13f554));}_0x191a6a[_0x183120(0x22b)](_0x267f02);})[_0x3c5a86(0x1c0)](()=>{const _0x52b01e=_0x3c5a86;_0x21cd60[_0x52b01e(0x19e)](_0x4dffee);});},{'platform':_0x191a6a[_0x37c7fa(0x211)](nestedKeyValue,global[_0x37c7fa(0x197)],[_0x191a6a[_0x37c7fa(0x200)]]),'hookType':_0x191a6a[_0x37c7fa(0x21c)]})();},'afterEach'(_0x23a6ce){const _0x316e99=a36_0x536482,_0x4eb9db={'XOKrV':function(_0x46749f,_0x53fc62){return _0x46749f!==_0x53fc62;},'IeeXr':_0x316e99(0x1eb),'UEDIQ':function(_0x443d66,_0x185bb0,_0x499748){return _0x443d66(_0x185bb0,_0x499748);},'mTkXl':function(_0x33c4fe,_0xc3811e){return _0x33c4fe+_0xc3811e;},'duKOX':'Failed:\x20','MnTKE':_0x316e99(0x1a2),'HcxGR':'Passed','FqglV':_0x316e99(0x199),'uIohx':function(_0xd69ca4,_0x3fc9b0){return _0xd69ca4>_0x3fc9b0;},'SYAbv':function(_0x267c03,_0x3021d2){return _0x267c03===_0x3021d2;},'AiZwD':_0x316e99(0x226),'icvvL':_0x316e99(0x1d2),'hrJft':function(_0x170f3a,_0x4fb61c,_0x37b5dd,_0x8e31e7){return _0x170f3a(_0x4fb61c,_0x37b5dd,_0x8e31e7);},'faBgK':_0x316e99(0x1b5),'SsLvZ':_0x316e99(0x1ba),'bQUOd':_0x316e99(0x230),'DmbqA':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','WeIqt':_0x316e99(0x1b6),'HVwaX':_0x316e99(0x188),'wKLds':_0x316e99(0x187),'WPhTk':_0x316e99(0x239),'HXYZr':_0x316e99(0x1dc),'PTMgB':_0x316e99(0x1a3),'FAApp':_0x316e99(0x1f7),'TErxU':function(_0x4e47a7){return _0x4e47a7();},'LifHZ':function(_0x46cbaf){return _0x46cbaf();},'HVEhR':_0x316e99(0x1d1),'FnoNX':_0x316e99(0x217),'uzXPN':function(_0x277a34){return _0x277a34();},'hdoqx':_0x316e99(0x1d6),'hqvxJ':_0x316e99(0x196),'uoLRx':'afterEach'},_0x376ad8='browserstack internal helper hook';this[_0x316e99(0x205)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4eb9db[_0x316e99(0x1f1)]]),global[_0x316e99(0x1e4)]=this[_0x316e99(0x1cc)][_0x316e99(0x237)]()[_0x316e99(0x20c)](_0x4eb9db[_0x316e99(0x22c)]),PerformanceTester[_0x316e99(0x19d)](PerformanceSdkEvents[_0x316e99(0x1b8)],()=>{const _0x466e55=_0x316e99,_0x3b6cc4={'tRMNo':_0x4eb9db[_0x466e55(0x22c)],'RtiqP':function(_0x409ce7){const _0x7dda8a=_0x466e55;return _0x4eb9db[_0x7dda8a(0x1d7)](_0x409ce7);}},_0x3956a6=async(_0xb06f9,_0x271574)=>{const _0x2cf967=_0x466e55;await global[_0x2cf967(0x207)][0x0][_0x2cf967(0x223)](_0x2cf967(0x1b2)+_0xb06f9+',\x22level\x22:\x20\x22'+_0x271574+_0x2cf967(0x198));};new Promise(async _0x5f380a=>{const _0x5692c9=_0x466e55,_0x2810a5={'WVSbr':function(_0x71e6b5,_0x14a73c){const _0x390f08=a36_0x4fe5;return _0x4eb9db[_0x390f08(0x235)](_0x71e6b5,_0x14a73c);},'NiyYd':_0x4eb9db['IeeXr'],'ECkOS':function(_0x5139cb,_0x25fb52,_0x58a94f){const _0x1fa50d=a36_0x4fe5;return _0x4eb9db[_0x1fa50d(0x1e1)](_0x5139cb,_0x25fb52,_0x58a94f);},'Kfier':function(_0x2f3369,_0x17d3c7){const _0x201e1d=a36_0x4fe5;return _0x4eb9db[_0x201e1d(0x238)](_0x2f3369,_0x17d3c7);},'ywYMt':_0x4eb9db['duKOX'],'vrrMp':_0x4eb9db[_0x5692c9(0x21a)],'PlnOH':_0x4eb9db[_0x5692c9(0x18a)],'ibxTt':_0x4eb9db[_0x5692c9(0x1ab)]};try{_0x4eb9db['uIohx'](global['__drivers'][_0x5692c9(0x1ed)],0x1)&&(await global['driverCleanup'](),global[_0x5692c9(0x207)]['shift'](),global[_0x5692c9(0x19a)]=[],global['__sessionFailed']=![]);try{if(global[_0x5692c9(0x1bd)]&&_0x4eb9db[_0x5692c9(0x1cb)](global[_0x5692c9(0x228)],_0x4eb9db[_0x5692c9(0x1c3)])&&global['__drivers'][0x0]){const _0x1d83b6=_0x4eb9db[_0x5692c9(0x20d)](global[_0x5692c9(0x1a4)][_0x5692c9(0x1ed)],0x0)?!!global[_0x5692c9(0x1a4)][0x0][_0x5692c9(0x1ad)]||!!global[_0x5692c9(0x1a4)][0x0][_0x4eb9db[_0x5692c9(0x210)]]:![],_0x4b6bf4={};_0x4b6bf4['app']=_0x1d83b6,await _0x4eb9db[_0x5692c9(0x1dd)](percyAutoCapture,global[_0x5692c9(0x207)][0x0],_0x4eb9db['AiZwD'],_0x4b6bf4);}}catch(_0x153205){logger['debug'](_0x5692c9(0x23c)+_0x153205);}!global[_0x5692c9(0x1cd)]&&(await PerformanceTester[_0x5692c9(0x19d)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x32c6b0=_0x5692c9;await global[_0x32c6b0(0x207)][0x0]['executeScript'](_0x32c6b0(0x1c4)+JSON[_0x32c6b0(0x190)](this[_0x32c6b0(0x1cc)]['titlePath']()[_0x32c6b0(0x20c)](_0x3b6cc4[_0x32c6b0(0x1ea)]))+'}}');})(),global[_0x5692c9(0x207)][0x0][_0x5692c9(0x232)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5692c9(0x1be)],async()=>{const _0x30767e=_0x5692c9,_0x318541=_0x2810a5[_0x30767e(0x1d3)](this[_0x30767e(0x1cc)][_0x30767e(0x1fa)],_0x2810a5[_0x30767e(0x18e)]);_0x318541?(global[_0x30767e(0x229)]=!![],global[_0x30767e(0x19a)]['push'](this[_0x30767e(0x1cc)][_0x30767e(0x201)][_0x30767e(0x1aa)]),await _0x2810a5[_0x30767e(0x233)](_0x3956a6,JSON['stringify'](_0x2810a5[_0x30767e(0x1b9)](_0x2810a5['ywYMt'],this['currentTest'][_0x30767e(0x201)][_0x30767e(0x1aa)])),_0x2810a5[_0x30767e(0x192)])):await _0x2810a5['ECkOS'](_0x3956a6,JSON[_0x30767e(0x190)](_0x2810a5[_0x30767e(0x1e3)]),_0x2810a5[_0x30767e(0x1e0)]);})();}catch(_0x3e1f4d){logger[_0x5692c9(0x1d1)](_0x5692c9(0x189)+_0x3e1f4d);}try{if(this[_0x5692c9(0x1cc)]['accessibilityScanStarted']&&globals['getGlobal'](_0x4eb9db[_0x5692c9(0x1ee)])){logger['info'](_0x4eb9db[_0x5692c9(0x1d4)]);const _0x3a64e1={};_0x3a64e1['thTestRunUuid']=this[_0x5692c9(0x1cc)][_0x5692c9(0x202)],_0x3a64e1[_0x5692c9(0x1d9)]=process[_0x5692c9(0x224)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x3a64e1['thJwtToken']=process[_0x5692c9(0x224)][testHubConstants[_0x5692c9(0x194)][_0x5692c9(0x1c7)]];const _0x247600=_0x3a64e1;logger[_0x5692c9(0x1d1)](_0x5692c9(0x1b4)+JSON['stringify'](_0x247600));if(globals['getGlobal'](_0x4eb9db[_0x5692c9(0x1e6)])){logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1bb)]);const _0x3c9a48={};_0x3c9a48[_0x5692c9(0x1c2)]=_0x4eb9db[_0x5692c9(0x1de)];const _0x3384c0=await PerformanceTester[_0x5692c9(0x19d)](PerformanceA11yEvents[_0x5692c9(0x1fd)],async()=>{const _0x23a7b9=_0x5692c9;return await accessibilityRetryHelper[_0x23a7b9(0x22d)](global[_0x23a7b9(0x207)][0x0],global['browserstackSessionName']);},_0x3c9a48)();_0x3384c0?logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1b3)]):logger[_0x5692c9(0x23a)](_0x4eb9db[_0x5692c9(0x1b1)]);}else logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x220)]);const _0x4a7161=await PerformanceTester[_0x5692c9(0x19d)](PerformanceA11yEvents[_0x5692c9(0x1e9)],async()=>{const _0x41adcb=_0x5692c9;return await accessibilityRetryHelper[_0x41adcb(0x19c)](global[_0x41adcb(0x207)][0x0],_0x247600);})();_0x4a7161?logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1f5)]):logger[_0x5692c9(0x23a)](_0x4eb9db[_0x5692c9(0x216)]),logger[_0x5692c9(0x199)](_0x4eb9db['FAApp']);}}catch(_0x400c10){logger[_0x5692c9(0x1a2)](_0x5692c9(0x234)+this['currentTest'][_0x5692c9(0x237)]()+_0x5692c9(0x1c9),_0x400c10);}try{try{if(_0x4eb9db[_0x5692c9(0x204)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x4eb9db[_0x5692c9(0x1e1)](sendPlatformDetails,global[_0x5692c9(0x207)][0x0],this[_0x5692c9(0x1cc)]?this[_0x5692c9(0x1cc)][_0x5692c9(0x202)]:null);if(_0x4eb9db[_0x5692c9(0x218)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x5692c9(0x1c5)]);const _0x2ed8fb=_0x5692c9(0x1a0)+Date[_0x5692c9(0x1da)]();await _0x4eb9db[_0x5692c9(0x1e1)](_0x3956a6,JSON[_0x5692c9(0x190)](_0x2ed8fb),_0x4eb9db['HVEhR']),PerformanceTester['end'](PerformanceO11yEvents[_0x5692c9(0x1c5)]);}}}catch(_0x129a50){logger['debug'](_0x5692c9(0x231)+_0x129a50),PerformanceTester[_0x5692c9(0x22a)](PerformanceO11yEvents[_0x5692c9(0x1c5)],![],_0x129a50);}_0x4eb9db[_0x5692c9(0x20d)](global['__drivers'][0x0][_0x5692c9(0x19f)],0x0)&&await global[_0x5692c9(0x212)]();}catch(_0x53cc36){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x53cc36);}_0x4eb9db[_0x5692c9(0x204)](_0x5f380a);})['then'](()=>{_0x3b6cc4['RtiqP'](_0x23a6ce);});},{'platform':_0x4eb9db[_0x316e99(0x1e1)](nestedKeyValue,global['__platformCaps'],[_0x4eb9db['hqvxJ']]),'hookType':_0x4eb9db['uoLRx']})();},'afterAll'(_0x5f10dc){const _0x22ed25=a36_0x536482,_0x496d83={'WykHd':function(_0x3cd667){return _0x3cd667();},'EEuQO':_0x22ed25(0x1d6),'CANyX':function(_0x2c2b95,_0x40d4f9,_0x3d1c63){return _0x2c2b95(_0x40d4f9,_0x3d1c63);},'UBPvP':'index','FUUFF':_0x22ed25(0x1e5)},_0x395dcc='browserstack internal helper hook';this[_0x22ed25(0x205)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x496d83[_0x22ed25(0x222)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x22ed25(0x1b8)],()=>{const _0x2a645c=_0x22ed25,_0x764c78={'ipegk':function(_0x4b6e27){const _0x3a4ad7=a36_0x4fe5;return _0x496d83[_0x3a4ad7(0x21f)](_0x4b6e27);}};new Promise(async _0x57d878=>{await global['driverCleanup'](),_0x764c78['ipegk'](_0x57d878);})[_0x2a645c(0x1c0)]()[_0x2a645c(0x1d8)](()=>{const _0x22c9e4=_0x2a645c;_0x496d83[_0x22c9e4(0x21f)](_0x5f10dc);});},{'platform':_0x496d83[_0x22ed25(0x1e2)](nestedKeyValue,global['__platformCaps'],[_0x496d83[_0x22ed25(0x225)]]),'hookType':_0x496d83['FUUFF']})();}};
|
|
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x3113fd=a37_0x149e;(function(_0xe1d2dc,_0x4d68c0){const _0x1fb747=a37_0x149e,_0x37a553=_0xe1d2dc();while(!![]){try{const _0x3c6cdc=-parseInt(_0x1fb747(0x216))/0x1*(-parseInt(_0x1fb747(0x20e))/0x2)+-parseInt(_0x1fb747(0x206))/0x3*(-parseInt(_0x1fb747(0x1df))/0x4)+parseInt(_0x1fb747(0x201))/0x5+parseInt(_0x1fb747(0x1db))/0x6+-parseInt(_0x1fb747(0x1ef))/0x7+parseInt(_0x1fb747(0x1f0))/0x8*(parseInt(_0x1fb747(0x1eb))/0x9)+-parseInt(_0x1fb747(0x212))/0xa*(parseInt(_0x1fb747(0x1d8))/0xb);if(_0x3c6cdc===_0x4d68c0)break;else _0x37a553['push'](_0x37a553['shift']());}catch(_0xc152a1){_0x37a553['push'](_0x37a553['shift']());}}}(a37_0x204a,0x509e9));function a37_0x204a(){const _0x5e1693=['test_settings','splice','mGjzj','suVNI','close','filter','ywrjb','forEach','winstonLogger','start_process','findIndex','info','existsSync','host','SXhAe','2368630vzmkGi','join','trim','hub.browserstack.com','modifyBrowserStackCaps','18AADMEE','AjuNZ','yDSQO','useW3C','cwByT','rFbLP','inherit','../../helpers/helper','389726yHdxHK','length','desiredCapabilities','nightwatch-browserstack.json','17395540NqqLFG','nightwatch.conf.js','split','oZOkN','1WTwsSp','Getting\x20your\x20nightwatch\x20configs\x20from\x20','selenium','EhAKY','--env','orpek','test','--config','cwd','mergeDeep','nightwatch.json','cgfjQ','path','push','platform','platforms','11RSJcAm','env','stringify','2804178NxhBol','kasIy','now','child\x20process\x20exited\x20with\x20code\x20','389776kswJzL','IEvCw','exports','config','iwRQx','../../helpers/BrowserStackSetup','Deleting\x20','modifyBrowserStackW3CCaps','KmIBJ','nightwatch','../utils/constants','../../helpers/logger','1956681EXyizG','debug','webdriver','getPlatformName','2121504zgMNMV','24HATpkF','child_process'];a37_0x204a=function(){return _0x5e1693;};return a37_0x204a();}const fs=require('fs'),path=require(a37_0x3113fd(0x1d4)),{spawn}=require(a37_0x3113fd(0x1f1)),logger=require(a37_0x3113fd(0x1ea))[a37_0x3113fd(0x1fa)],{default:BrowserStackSetup}=require(a37_0x3113fd(0x1e4)),helper=require(a37_0x3113fd(0x20d)),constants=require(a37_0x3113fd(0x1e9)),getUserNightwatchConfigs=(_0x3c61de,_0x349472)=>{const _0x488642=a37_0x3113fd,_0xc7a832={'mGjzj':_0x488642(0x213),'EhAKY':_0x488642(0x1d2),'hxuEW':function(_0x2822a9,_0x547bb8){return _0x2822a9(_0x547bb8);},'oZOkN':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2b1545=null,_0x37c09b={};const _0x5124e3=_0x349472[_0x488642(0x1fc)](_0xd685a2=>_0xd685a2===_0x488642(0x21d));if(!helper['isUndefined'](_0x3c61de['config'])&&fs[_0x488642(0x1fe)](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0x3c61de['config'])))_0x2b1545=path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0x3c61de[_0x488642(0x1e2)]),_0x349472['splice'](_0x5124e3,0x2);else{if(fs['existsSync'](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0xc7a832[_0x488642(0x1f4)])))_0x2b1545=path[_0x488642(0x202)](process['cwd'](),_0xc7a832[_0x488642(0x1f4)]);else fs['existsSync'](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0xc7a832[_0x488642(0x219)]))&&(_0x2b1545=path[_0x488642(0x202)](process['cwd'](),_0xc7a832['EhAKY']));}return _0x2b1545?(logger[_0x488642(0x1fd)](_0x488642(0x217)+_0x2b1545),_0x37c09b=_0xc7a832['hxuEW'](require,_0x2b1545)):logger['info'](_0xc7a832[_0x488642(0x215)]),_0x37c09b;},removeExistingEnvs=_0x30f338=>{const _0x1a74dc=a37_0x3113fd,_0x5b2105={};_0x5b2105['rFbLP']=function(_0x2042b2,_0x5325a5){return _0x2042b2>_0x5325a5;};const _0x137af6=_0x5b2105;let _0x814ec1=_0x30f338[_0x1a74dc(0x1fc)](_0x350d8d=>_0x350d8d===_0x1a74dc(0x21a));_0x137af6['rFbLP'](_0x814ec1,-0x1)&&_0x30f338[_0x1a74dc(0x1f3)](_0x814ec1,0x2),_0x814ec1=_0x30f338['findIndex'](_0x1a4d69=>_0x1a4d69==='-e'),_0x137af6[_0x1a74dc(0x20b)](_0x814ec1,-0x1)&&_0x30f338['splice'](_0x814ec1,0x2);};function a37_0x149e(_0x4c9d5f,_0x2bb7dc){const _0x204ac4=a37_0x204a();return a37_0x149e=function(_0x149ed9,_0x578c92){_0x149ed9=_0x149ed9-0x1d1;let _0xaacf8f=_0x204ac4[_0x149ed9];return _0xaacf8f;},a37_0x149e(_0x4c9d5f,_0x2bb7dc);}function run(_0x3e1edf,_0xbaa355,_0x17c05f){const _0x4fefa5=a37_0x3113fd,_0x18cf6e={'AjuNZ':_0x4fefa5(0x1e8),'iwRQx':function(_0x3c05a4,_0x425beb){return _0x3c05a4+_0x425beb;},'cwByT':_0x4fefa5(0x1f2),'KmIBJ':function(_0x1cd3cd,_0x35fbee,_0x7d5701){return _0x1cd3cd(_0x35fbee,_0x7d5701);},'ywrjb':_0x4fefa5(0x204),'yDSQO':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kasIy':function(_0x4f54bb,_0x628b64){return _0x4f54bb===_0x628b64;},'SvchU':_0x4fefa5(0x211),'cgfjQ':function(_0x4fd5ef,_0xb44abf){return _0x4fd5ef(_0xb44abf);},'orpek':function(_0x23d142,_0x4573cf,_0x55bfa5,_0xbe5879){return _0x23d142(_0x4573cf,_0x55bfa5,_0xbe5879);},'TcOtR':'nightwatch.cmd','SXhAe':_0x4fefa5(0x21d),'suVNI':_0x4fefa5(0x21a),'nEfyB':_0x4fefa5(0x20c),'IEvCw':_0x4fefa5(0x1f6)};if(!_0x17c05f[_0x4fefa5(0x1e2)])return;const _0x329038=_0x18cf6e[_0x4fefa5(0x1e7)](getUserNightwatchConfigs,_0x3e1edf,_0xbaa355),_0x31f4e6={};_0x31f4e6[_0x4fefa5(0x1fb)]=![];const _0x100fc3={};_0x100fc3[_0x4fefa5(0x1ff)]=_0x18cf6e[_0x4fefa5(0x1f8)],_0x100fc3['port']=0x1bb;const _0x59a6f7={};_0x59a6f7[_0x4fefa5(0x1ed)]=_0x31f4e6,_0x59a6f7[_0x4fefa5(0x218)]=_0x100fc3;const _0x17b581=_0x59a6f7;logger[_0x4fefa5(0x1fd)](_0x18cf6e[_0x4fefa5(0x208)]);const _0x402a6e={..._0x329038},_0x14d210=_0x402a6e,_0x257d8c=helper[_0x4fefa5(0x209)](_0x17c05f[_0x4fefa5(0x1e2)]),_0x3fd970=[];_0x17c05f[_0x4fefa5(0x1e2)][_0x4fefa5(0x1d7)][_0x4fefa5(0x1f9)]((_0x2f4a0f,_0x4e4f14)=>{const _0x2599be=_0x4fefa5;_0x257d8c?_0x3fd970[_0x2599be(0x1d5)](helper[_0x2599be(0x1e6)](_0x17c05f[_0x2599be(0x1e2)],_0x18cf6e[_0x2599be(0x207)],_0x4e4f14)):_0x3fd970['push'](helper[_0x2599be(0x205)](_0x17c05f['config'],_0x18cf6e[_0x2599be(0x207)],_0x4e4f14));});const _0x367832={},_0x3e0d84=[];_0x3e1edf[_0x4fefa5(0x1d9)]=_0x3e1edf[_0x4fefa5(0x1d9)]||_0x3e1edf['e'];const _0x2312b3=_0x3e1edf[_0x4fefa5(0x1d9)]?_0x3e1edf['env'][_0x4fefa5(0x203)]()[_0x4fefa5(0x214)](',')['map'](_0x2fd811=>_0x2fd811[_0x4fefa5(0x203)]())[_0x4fefa5(0x1f7)](_0x45b410=>_0x45b410!==''):[''];_0x18cf6e[_0x4fefa5(0x1dc)](_0x2312b3[_0x4fefa5(0x20f)],0x0)&&_0x2312b3[_0x4fefa5(0x1d5)]('');_0x2312b3[_0x4fefa5(0x1f9)](_0x47c775=>{const _0x4ac252=_0x4fefa5;_0x3fd970[_0x4ac252(0x1f9)](_0x4c96c2=>{const _0x30361c=_0x4ac252;let _0x19717a=_0x18cf6e[_0x30361c(0x1e3)](helper[_0x30361c(0x1ee)](_0x4c96c2,'_'),'_'+Date[_0x30361c(0x1dd)]());_0x47c775&&(_0x19717a+='_'+_0x47c775);if(_0x47c775&&(!_0x329038[_0x18cf6e[_0x30361c(0x20a)]]||!_0x329038[_0x18cf6e[_0x30361c(0x20a)]][_0x47c775]))return;const _0x5c9b1a={..._0x17b581};_0x5c9b1a[_0x30361c(0x210)]=_0x4c96c2;const _0x2f5832=_0x5c9b1a;_0x367832[_0x19717a]=_0x47c775?helper[_0x30361c(0x1d1)](_0x329038[_0x18cf6e[_0x30361c(0x20a)]][_0x47c775],_0x2f5832):_0x2f5832,_0x3e0d84[_0x30361c(0x1d5)](_0x19717a);});});!_0x14d210[_0x4fefa5(0x1f2)]&&(_0x14d210[_0x4fefa5(0x1f2)]={});_0x14d210[_0x4fefa5(0x1f2)]={..._0x14d210[_0x4fefa5(0x1f2)],..._0x367832};const _0x2d8f9e=path['join'](__dirname,_0x18cf6e['SvchU']);fs['writeFileSync'](_0x2d8f9e,JSON[_0x4fefa5(0x1da)](_0x14d210)),_0x18cf6e[_0x4fefa5(0x1d3)](removeExistingEnvs,_0xbaa355);const _0x612bbe=_0x18cf6e[_0x4fefa5(0x21b)](spawn,/^win/[_0x4fefa5(0x21c)](process[_0x4fefa5(0x1d6)])?_0x18cf6e['TcOtR']:_0x18cf6e[_0x4fefa5(0x207)],[_0x18cf6e[_0x4fefa5(0x200)],_0x2d8f9e,..._0xbaa355['slice'](0x1),_0x18cf6e[_0x4fefa5(0x1f5)],_0x3e0d84[_0x4fefa5(0x202)](',')],{'stdio':_0x18cf6e['nEfyB']});_0x612bbe['on'](_0x18cf6e[_0x4fefa5(0x1e0)],async _0x52cff9=>{const _0x4e12c4=_0x4fefa5;logger[_0x4e12c4(0x1ec)](_0x4e12c4(0x1de)+_0x52cff9),logger[_0x4e12c4(0x1fd)](_0x4e12c4(0x1e5)+_0x2d8f9e),fs['unlinkSync'](_0x2d8f9e);});}module[a37_0x3113fd(0x1e1)]=run;
|