browserstack-node-sdk 1.70.1 → 1.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a15_0x29f4d5=a15_0xbaa3;(function(_0x502860,_0x777896){const _0x2071fb=a15_0xbaa3,_0x327c99=_0x502860();while(!![]){try{const _0xe454e9=-parseInt(_0x2071fb(0x103))/0x1*(parseInt(_0x2071fb(0xef))/0x2)+parseInt(_0x2071fb(0x112))/0x3*(-parseInt(_0x2071fb(0x10c))/0x4)+-parseInt(_0x2071fb(0xed))/0x5*(parseInt(_0x2071fb(0xfb))/0x6)+-parseInt(_0x2071fb(0xcb))/0x7+-parseInt(_0x2071fb(0xea))/0x8*(-parseInt(_0x2071fb(0xfe))/0x9)+parseInt(_0x2071fb(0xec))/0xa*(parseInt(_0x2071fb(0xf5))/0xb)+parseInt(_0x2071fb(0xdd))/0xc;if(_0xe454e9===_0x777896)break;else _0x327c99['push'](_0x327c99['shift']());}catch(_0x1b9263){_0x327c99['push'](_0x327c99['shift']());}}}(a15_0x4e15,0x7cf17));function a15_0xbaa3(_0x2be032,_0x4b41ed){const _0x4e156d=a15_0x4e15();return a15_0xbaa3=function(_0xbaa3d1,_0x4b512a){_0xbaa3d1=_0xbaa3d1-0xc9;let _0x135054=_0x4e156d[_0xbaa3d1];return _0x135054;},a15_0xbaa3(_0x2be032,_0x4b41ed);}const {default:BrowserStackSetup}=require(a15_0x29f4d5(0xfc)),logger=require('../../helpers/logger')[a15_0x29f4d5(0xc9)],{URL}=require('url'),helper=require(a15_0x29f4d5(0xd5)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x29f4d5(0xce)),validHosts=function(_0x4f615d){const _0x34617e=a15_0x29f4d5;return _0x4f615d['split'](',')[_0x34617e(0xee)](_0x476790=>{const _0x50260f=_0x34617e;try{new URL(_0x476790[_0x50260f(0xe2)]());}catch(_0x54fb35){return![];}return!![];});},parseOnPremHosts=function(_0x52e9e3){const _0x48df9a=a15_0x29f4d5,_0x1588d2={};_0x1588d2['LYhEa']=function(_0x3252d8,_0x2b21b8){return _0x3252d8===_0x2b21b8;},_0x1588d2[_0x48df9a(0xe0)]=_0x48df9a(0x110),_0x1588d2['woFce']=_0x48df9a(0xeb),_0x1588d2[_0x48df9a(0x108)]=function(_0x467f47,_0x234fdb){return _0x467f47===_0x234fdb;},_0x1588d2[_0x48df9a(0x109)]='https';const _0x21e25a=_0x1588d2;return _0x52e9e3[_0x48df9a(0xd6)](',')[_0x48df9a(0xcd)](_0x118d13=>{const _0x2a9b80=_0x48df9a,_0x521a59=new URL(_0x118d13['trim']()),_0x5e4ae3=_0x521a59['hostname'],_0x15c31d=_0x521a59[_0x2a9b80(0xf0)]||(_0x21e25a[_0x2a9b80(0x10e)](_0x521a59[_0x2a9b80(0x115)],_0x21e25a['hDaiB'])?_0x21e25a[_0x2a9b80(0x107)]:'80'),_0x3307bf=_0x521a59[_0x2a9b80(0x115)][_0x2a9b80(0xd7)](':',''),_0x5445ee=_0x21e25a[_0x2a9b80(0x108)](_0x3307bf,_0x21e25a[_0x2a9b80(0x109)])?0x1:0x0;return _0x5e4ae3+','+_0x15c31d+','+_0x5445ee;});},connectCommandBuilder=function(_0x183954){const _0x3ed6ca=a15_0x29f4d5,_0xa7f97d={};_0xa7f97d['oUQfe']=_0x3ed6ca(0xd9);const _0x34f77b=_0xa7f97d,_0x516179={};_0x516179['describe']=HELP_MESSAGES[_0x3ed6ca(0x114)]['bstackAccessKey'],_0x516179[_0x3ed6ca(0xf6)]=_0x34f77b['oUQfe'];const _0x4c4af7={};_0x4c4af7[_0x3ed6ca(0xd2)]=HELP_MESSAGES[_0x3ed6ca(0x114)][_0x3ed6ca(0xf3)],_0x4c4af7[_0x3ed6ca(0xf6)]=_0x34f77b[_0x3ed6ca(0x104)],_0x4c4af7[_0x3ed6ca(0x105)]=!![];const _0x3f7eab={};return _0x3f7eab['bstack-accesskey']=_0x516179,_0x3f7eab[_0x3ed6ca(0xf3)]=_0x4c4af7,_0x183954[_0x3ed6ca(0x114)](_0x3f7eab);},connectCommandHandler=async function(_0x3d0b01){const _0x5cf0a4=a15_0x29f4d5,_0x2cc6e3={'aHbIA':_0x5cf0a4(0xfd),'ZLwlf':function(_0x5e47f7,_0x5a6e0e){return _0x5e47f7===_0x5a6e0e;},'AWwsb':_0x5cf0a4(0xd8),'TruLD':'BrowserStack\x20access\x20key\x20missing.','RVfIu':function(_0x2485a0,_0x13c5e3){return _0x2485a0===_0x13c5e3;},'xDqyB':_0x5cf0a4(0xcc),'XErSh':function(_0x43995f,_0x4d6044){return _0x43995f(_0x4d6044);},'rzYgr':'Hosts\x20not\x20valid','ugate':function(_0x2d8776,_0x595494){return _0x2d8776(_0x595494);},'jMNas':_0x5cf0a4(0x10f),'NILwr':_0x5cf0a4(0xfa),'AjMAj':_0x5cf0a4(0x106)};try{const _0x2caac0=new BrowserStackSetup(_0x3d0b01,_0x2cc6e3[_0x5cf0a4(0xf2)]);_0x3d0b01[_0x5cf0a4(0xe5)]&&(_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0x101)]=_0x3d0b01['bstackAccesskey']);if(_0x2cc6e3[_0x5cf0a4(0xf7)](typeof _0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0x101)],_0x2cc6e3[_0x5cf0a4(0xd0)])){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0x10b)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xe7)][_0x5cf0a4(0xe4)]);}const _0x4aebb5=_0x3d0b01['hosts'];if(_0x2cc6e3[_0x5cf0a4(0xe3)](typeof _0x4aebb5,_0x2cc6e3[_0x5cf0a4(0xd0)])){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0xf4)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xf3)][_0x5cf0a4(0xe4)]);}if(!_0x2cc6e3[_0x5cf0a4(0xca)](validHosts,_0x4aebb5)){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0xe8)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xf3)][_0x5cf0a4(0xd3)]);}const _0x42228f=_0x2cc6e3[_0x5cf0a4(0xe1)](parseOnPremHosts,_0x4aebb5);_0x2caac0['config'][_0x5cf0a4(0xf9)]=!![],_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0xf8)][_0x5cf0a4(0xda)]=_0x2cc6e3['jMNas'],_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0xf8)][_0x5cf0a4(0xde)]=_0x42228f[_0x5cf0a4(0xdc)](','),helper[_0x5cf0a4(0xdb)](_0x2caac0[_0x5cf0a4(0xe9)]),await _0x2caac0[_0x5cf0a4(0xd4)](),logger[_0x5cf0a4(0xf1)](_0x2cc6e3[_0x5cf0a4(0x100)]);}catch(_0x1a9891){logger[_0x5cf0a4(0xff)](_0x2cc6e3['AjMAj']);throw new Error(_0x1a9891[_0x5cf0a4(0x111)]());}};function run(_0xff2caa){const _0x4296fb=a15_0x29f4d5,_0x9db009={};_0x9db009['NSXqv']=_0x4296fb(0xdf),_0x9db009['qFCfd']=_0x4296fb(0x10d);const _0x52a246=_0x9db009;_0xff2caa[_0x4296fb(0x10a)](HELP_MESSAGES['command'][_0x4296fb(0xe6)])[_0x4296fb(0xd1)](_0x52a246['NSXqv'],HELP_MESSAGES['command'][_0x4296fb(0xdf)],connectCommandBuilder,connectCommandHandler)[_0x4296fb(0x113)]()[_0x4296fb(0x10d)](_0x52a246['qFCfd'])['epilogue'](HELP_MESSAGES[_0x4296fb(0xd1)][_0x4296fb(0x102)]);}function a15_0x4e15(){const _0x2e309a=['root','bstackAccessKey','rzYgr','config','67416CGuAqv','443','10yvgNZw','15tayTFy','every','10VHIekA','port','info','aHbIA','hosts','xDqyB','1482679TjuEtY','type','ZLwlf','browserStackLocalOptions','browserstackLocal','Connection\x20established\x20successfully.','1558002besKuv','../../helpers/BrowserStackSetup','integrations','540levKfg','error','NILwr','accessKey','footer','32044bIbMtL','oUQfe','demandOption','Failed\x20to\x20establish\x20connection.','woFce','gKnZn','hCoJP','usage','TruLD','4mDUKaS','help','LYhEa','integrations-repeater','https:','toString','877545AdbATQ','demandCommand','options','protocol','winstonLogger','XErSh','4748758VUHMHL','Integration\x20hosts\x20missing.','map','./constants','exports','AWwsb','command','describe','invalid','setupBrowserstackLocal','../../helpers/helper','split','replace','undefined','string','localIdentifier','setProxySettings','join','21377856HzKKPb','only','connect','hDaiB','ugate','trim','RVfIu','missing','bstackAccesskey'];a15_0x4e15=function(){return _0x2e309a;};return a15_0x4e15();}module[a15_0x29f4d5(0xcf)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x213f6b=a16_0x3643;(function(_0x289495,_0x189989){var _0x371c46=a16_0x3643,_0x545579=_0x289495();while(!![]){try{var _0x1ae12f=-parseInt(_0x371c46(0xf3))/0x1*(-parseInt(_0x371c46(0xe6))/0x2)+parseInt(_0x371c46(0xf1))/0x3+-parseInt(_0x371c46(0xed))/0x4+parseInt(_0x371c46(0xf6))/0x5*(-parseInt(_0x371c46(0xe1))/0x6)+-parseInt(_0x371c46(0xe9))/0x7*(-parseInt(_0x371c46(0xef))/0x8)+-parseInt(_0x371c46(0xe5))/0x9+parseInt(_0x371c46(0xf4))/0xa*(-parseInt(_0x371c46(0xdf))/0xb);if(_0x1ae12f===_0x189989)break;else _0x545579['push'](_0x545579['shift']());}catch(_0xede3ab){_0x545579['push'](_0x545579['shift']());}}}(a16_0x12a1,0xc2db5));var a16_0x403e56={};function a16_0x12a1(){var _0x4b88bd=['Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','234552BUJchQ','missing','27409cBwuVz','30UnBRca','options','430210xyTnQU','HELP_MESSAGES','1906707vUdpVS','command','12bFTNkZ','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','invalid','649926qgpjVY','62MGCvxV','root','bstackAccessKey','62566bPxDZb','ERROR_MESSAGES','footer','connect','3503772aoFhfH','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','1352ZyrTKT'];a16_0x12a1=function(){return _0x4b88bd;};return a16_0x12a1();}a16_0x403e56[a16_0x213f6b(0xe8)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x403e56['hosts']=a16_0x213f6b(0xe2);var a16_0x43bb28={};a16_0x43bb28[a16_0x213f6b(0xe7)]=a16_0x213f6b(0xf0),a16_0x43bb28[a16_0x213f6b(0xec)]=a16_0x213f6b(0xee),a16_0x43bb28[a16_0x213f6b(0xeb)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a16_0x611558={};a16_0x611558[a16_0x213f6b(0xf5)]=a16_0x403e56,a16_0x611558[a16_0x213f6b(0xe0)]=a16_0x43bb28,exports[a16_0x213f6b(0xde)]=a16_0x611558;var a16_0x2d2984={};function a16_0x3643(_0x45dc5c,_0x1f113c){var _0x12a1be=a16_0x12a1();return a16_0x3643=function(_0x364354,_0x525b1c){_0x364354=_0x364354-0xde;var _0xeb638=_0x12a1be[_0x364354];return _0xeb638;},a16_0x3643(_0x45dc5c,_0x1f113c);}a16_0x2d2984[a16_0x213f6b(0xf2)]=a16_0x213f6b(0xe3);var a16_0x5408fb={};a16_0x5408fb[a16_0x213f6b(0xf2)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x5408fb[a16_0x213f6b(0xe4)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a16_0x5db256={};a16_0x5db256[a16_0x213f6b(0xe8)]=a16_0x2d2984,a16_0x5db256['hosts']=a16_0x5408fb,exports[a16_0x213f6b(0xea)]=a16_0x5db256;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a17_0x5061d7=a17_0x51a8;(function(_0x48d9a0,_0x40f522){const _0x13d941=a17_0x51a8,_0x585e6d=_0x48d9a0();while(!![]){try{const _0x466675=-parseInt(_0x13d941(0x1be))/0x1*(parseInt(_0x13d941(0x1a3))/0x2)+-parseInt(_0x13d941(0x1d7))/0x3*(parseInt(_0x13d941(0x1a0))/0x4)+-parseInt(_0x13d941(0x1a1))/0x5*(-parseInt(_0x13d941(0x163))/0x6)+parseInt(_0x13d941(0x180))/0x7+parseInt(_0x13d941(0x1aa))/0x8+parseInt(_0x13d941(0x19f))/0x9+-parseInt(_0x13d941(0x17a))/0xa*(parseInt(_0x13d941(0x187))/0xb);if(_0x466675===_0x40f522)break;else _0x585e6d['push'](_0x585e6d['shift']());}catch(_0x129de7){_0x585e6d['push'](_0x585e6d['shift']());}}}(a17_0x3a5a,0x68580));const path=require(a17_0x5061d7(0x1ce)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x5061d7(0x1dd)),{FRAMEWORKS}=require(a17_0x5061d7(0x1d6)),SessionHandler=require(a17_0x5061d7(0x194)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x5061d7(0x18d)),testRunMap=require(a17_0x5061d7(0x1c6)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x5061d7(0x1bf),a17_0x2003de={};a17_0x2003de['passed']='passed',a17_0x2003de['failed']=a17_0x5061d7(0x1de),a17_0x2003de[a17_0x5061d7(0x185)]=a17_0x5061d7(0x185),a17_0x2003de['excluded']='skipped';const STATUS_MAP=a17_0x2003de;class BrowserStackJasmineReporter{constructor(_0x5b9a2e={}){const _0x4e1186=a17_0x5061d7,_0x14bf97={'BLuNx':function(_0x2d2dd1){return _0x2d2dd1();}};this['testObservability']=_0x14bf97[_0x4e1186(0x192)](isTestObservabilitySession),this[_0x4e1186(0x1d2)]=new PathHelper({'cwd':process['cwd']()},undefined),this['_fileNameByFullName']=_0x5b9a2e&&_0x5b9a2e[_0x4e1186(0x1a9)]||{},this['_suitesById']=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x45d89f){const _0x7775e9=a17_0x5061d7,_0xb7318b={'gxXvl':function(_0xcb923d,_0x38e9e5){return _0xcb923d!==_0x38e9e5;},'NUnrV':function(_0x1fa630,_0x24149f){return _0x1fa630(_0x24149f);}};try{_0x45d89f&&_0xb7318b[_0x7775e9(0x1c0)](_0x45d89f['id'],undefined)&&_0xb7318b[_0x7775e9(0x1c0)](_0x45d89f['id'],null)&&this['_suitesById']['set'](_0x45d89f['id'],{'description':_0x45d89f[_0x7775e9(0x174)],'parentSuiteId':_0x45d89f[_0x7775e9(0x160)]});}catch(_0x2aa703){_0xb7318b[_0x7775e9(0x1ba)](debug,_0x7775e9(0x186)+(_0x45d89f&&_0x45d89f['fullName'])+'\x20:\x20'+_0x2aa703);}}['specStarted'](_0x35474d){const _0x3f6109=a17_0x5061d7,_0x31ad6d={'iEuRZ':function(_0x7ebf2,_0x2fbf2c){return _0x7ebf2!==_0x2fbf2c;},'GaELs':function(_0x50ea10){return _0x50ea10();},'wRoFB':'TestRunStarted','SoVBO':function(_0xe8876c,_0x131328){return _0xe8876c(_0x131328);}};try{if(_0x31ad6d['iEuRZ'](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x44ab91=_0x31ad6d[_0x3f6109(0x1b2)](uuidv4);testRunMap[_0x3f6109(0x191)](_0x35474d['id'],_0x44ab91),this['_sendSpecEvent'](_0x35474d,_0x44ab91,_0x31ad6d[_0x3f6109(0x19a)]);}catch(_0x3a5033){_0x31ad6d[_0x3f6109(0x19b)](debug,_0x3f6109(0x1d8)+(_0x35474d&&_0x35474d[_0x3f6109(0x168)])+_0x3f6109(0x1c8)+_0x3a5033);}}[a17_0x5061d7(0x178)](_0x2f8fd9){const _0x149428=a17_0x5061d7,_0x57551a={'nJBox':function(_0x3acc26,_0x394b7a){return _0x3acc26!==_0x394b7a;},'cFlOA':function(_0x113135){return _0x113135();},'JGzek':function(_0x5f5610,_0x25bc62){return _0x5f5610===_0x25bc62;},'EXvHl':_0x149428(0x1b7),'EUKwV':_0x149428(0x1db),'rNUlN':'TestRunFinished','NFpyX':function(_0x4606bb,_0x2352a3){return _0x4606bb(_0x2352a3);}};try{if(_0x57551a[_0x149428(0x17e)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2ac8d3=testRunMap['get'](_0x2f8fd9['id'])||_0x57551a[_0x149428(0x1b9)](uuidv4),_0x45977f=_0x57551a['JGzek'](_0x2f8fd9[_0x149428(0x1c2)],_0x57551a[_0x149428(0x1ab)])?_0x57551a[_0x149428(0x179)]:_0x57551a[_0x149428(0x1a6)];this['_sendSpecEvent'](_0x2f8fd9,_0x2ac8d3,_0x45977f);}catch(_0x5e94c8){_0x57551a['NFpyX'](debug,_0x149428(0x171)+(_0x2f8fd9&&_0x2f8fd9[_0x149428(0x168)])+'\x20:\x20'+_0x5e94c8);}finally{_0x2f8fd9&&(testRunMap[_0x149428(0x16d)](_0x2f8fd9['id']),_specStartTimes[_0x149428(0x1c9)](_0x2f8fd9['id']));}}[a17_0x5061d7(0x1a4)](){}[a17_0x5061d7(0x1ac)](){}[a17_0x5061d7(0x162)](_0x3b4fd2,_0x1e6657,_0xf6e5c){const _0x1c1ef4=a17_0x5061d7,_0x4ae01c={'gpIGx':function(_0x833efb,_0x2240a6){return _0x833efb===_0x2240a6;},'LKEpG':'TestRunFinished','civvs':'TestRunSkipped','YRtYt':_0x1c1ef4(0x1ae),'xdrvP':function(_0xb829b8,_0x2ff3f1,_0x3edc22){return _0xb829b8(_0x2ff3f1,_0x3edc22);},'OUQus':_0x1c1ef4(0x1c4),'CRieX':_0x1c1ef4(0x15b),'TlLdV':function(_0xb86440,_0x58a504){return _0xb86440!==_0x58a504;},'ilyRg':function(_0x533a3f,_0x24b210){return _0x533a3f===_0x24b210;},'CJvvA':_0x1c1ef4(0x1d5),'AobWs':function(_0x124900,_0x1593f7){return _0x124900&&_0x1593f7;},'Rgieg':'skipped','uFoGu':_0x1c1ef4(0x1cc),'OiHnS':function(_0x20ffd1,_0x4c5b85){return _0x20ffd1===_0x4c5b85;},'MtJYk':_0x1c1ef4(0x17d),'EIRqv':_0x1c1ef4(0x1b5),'aswFT':_0x1c1ef4(0x182),'wYfId':function(_0x1f0bd8,_0x588698){return _0x1f0bd8===_0x588698;},'qZzxq':_0x1c1ef4(0x17c),'sAqld':'finished_at','JuytO':'failure','XImvM':'failure_backtrace','WjrIH':_0x1c1ef4(0x1bd),'AcVBw':_0x1c1ef4(0x16e),'yEzoJ':_0x1c1ef4(0x1d4),'RDAGU':function(_0x205dcb,_0xfd682d){return _0x205dcb===_0xfd682d;},'LTuxU':function(_0x8e6ebd,_0x5d1cd3){return _0x8e6ebd(_0x5d1cd3);}};try{const _0x1354cf=_0x4ae01c[_0x1c1ef4(0x15e)](_0xf6e5c,_0x4ae01c[_0x1c1ef4(0x159)])||_0x4ae01c[_0x1c1ef4(0x15e)](_0xf6e5c,_0x4ae01c[_0x1c1ef4(0x17b)]),_0x1d6860=this['_resolveFilePath'](_0x3b4fd2),_0x282998=_0x1d6860?this['_paths']['prefixTestPath'](_0x1d6860):_0x4ae01c['YRtYt'],_0x40ac7c=_0x1d6860?this[_0x1c1ef4(0x18f)](path[_0x1c1ef4(0x15a)](_0x1d6860)):null,_0x24a058=this[_0x1c1ef4(0x1a5)](_0x3b4fd2[_0x1c1ef4(0x158)]),_0x10a016=_0x24a058?_0x24a058[_0x1c1ef4(0x1b0)]:undefined,_0x29584e=_0x24a058?_0x4ae01c['xdrvP'](failureData,_0x24a058,_0x4ae01c['OUQus']):[],_0x500544=new Date()[_0x1c1ef4(0x1dc)](),_0x55d997=this[_0x1c1ef4(0x181)](_0x3b4fd2);_0x4ae01c[_0x1c1ef4(0x15e)](_0xf6e5c,_0x4ae01c['CRieX'])&&_0x3b4fd2&&_0x4ae01c[_0x1c1ef4(0x189)](_0x3b4fd2['id'],undefined)&&_0x4ae01c[_0x1c1ef4(0x189)](_0x3b4fd2['id'],null)&&_specStartTimes['set'](_0x3b4fd2['id'],_0x500544);const _0x37e715=_0x4ae01c[_0x1c1ef4(0x1c5)](_0xf6e5c,_0x4ae01c['CRieX'])?_0x500544:_0x3b4fd2&&_specStartTimes[_0x1c1ef4(0x19d)](_0x3b4fd2['id'])||null,_0x527428={};_0x527428[_0x1c1ef4(0x1c7)]=_0x4ae01c[_0x1c1ef4(0x1ad)],_0x527428['code']=null;const _0x1131fd={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1e6657,'name':_0x3b4fd2[_0x1c1ef4(0x174)],'body':_0x527428,'scope':_0x55d997['join']('\x20'),'scopes':_0x55d997,'identifier':_0x3b4fd2[_0x1c1ef4(0x168)],'file_name':_0x282998,'vc_filepath':_0x4ae01c[_0x1c1ef4(0x17f)](_0x40ac7c,_0x1d6860)?path[_0x1c1ef4(0x1a2)](_0x40ac7c,_0x1d6860):null,'location':_0x282998,'result':_0x4ae01c[_0x1c1ef4(0x15e)](_0xf6e5c,_0x4ae01c[_0x1c1ef4(0x17b)])?_0x4ae01c['Rgieg']:STATUS_MAP[_0x3b4fd2['status']]||_0x4ae01c[_0x1c1ef4(0x16a)],'failure_reason':_0x10a016,'duration_in_ms':_0x4ae01c['OiHnS'](typeof _0x3b4fd2['duration'],_0x4ae01c[_0x1c1ef4(0x18a)])?_0x3b4fd2[_0x1c1ef4(0x15c)]:null,'started_at':_0x37e715,'finished_at':_0x1354cf?_0x500544:null,'failure':_0x29584e,'failure_type':!_0x10a016?null:_0x10a016[_0x1c1ef4(0x1b3)](/AssertionError/)?_0x4ae01c[_0x1c1ef4(0x1b1)]:_0x4ae01c[_0x1c1ef4(0x184)],'retry_of':null};_0x4ae01c['wYfId'](_0xf6e5c,_0x4ae01c[_0x1c1ef4(0x17b)])&&!_0x1131fd[_0x4ae01c[_0x1c1ef4(0x1cb)]]&&(_0x1131fd[_0x4ae01c[_0x1c1ef4(0x1cb)]]=_0x1131fd[_0x4ae01c[_0x1c1ef4(0x1d0)]]);const _0x2f2785=_0x1131fd[_0x4ae01c[_0x1c1ef4(0x18b)]][0x0];_0x2f2785&&(_0x1131fd[_0x4ae01c[_0x1c1ef4(0x1af)]]=_0x2f2785[_0x4ae01c[_0x1c1ef4(0x196)]],_0x1131fd[_0x4ae01c[_0x1c1ef4(0x169)]]=_0x2f2785[_0x4ae01c[_0x1c1ef4(0x197)]]);testhubUtils[_0x1c1ef4(0x1d1)](_0x1131fd,_0xf6e5c,_0x3b4fd2,FRAMEWORKS[_0x1c1ef4(0x15d)]);const _0x23fdd8={'event_type':_0x4ae01c[_0x1c1ef4(0x15f)](_0xf6e5c,_0x4ae01c['civvs'])?_0x4ae01c[_0x1c1ef4(0x159)]:_0xf6e5c,'test_run':_0x1131fd};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x1c1ef4(0x15d)],_0x23fdd8),SessionHandler[_0x1c1ef4(0x1da)](_0x23fdd8);}catch(_0x378876){_0x4ae01c[_0x1c1ef4(0x1d3)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0xf6e5c+'\x20:\x20'+_0x378876);}}[a17_0x5061d7(0x181)](_0x2481f7){const _0x54ee26=a17_0x5061d7,_0x101301={'RGUaK':function(_0x752fd4,_0x53b197){return _0x752fd4!==_0x53b197;},'WrENX':function(_0x20fa0a,_0xb0600){return _0x20fa0a>_0xb0600;},'SyXQF':function(_0x23902b,_0x52ef35){return _0x23902b(_0x52ef35);},'OFHDb':function(_0x231174,_0x454de5){return _0x231174-_0x454de5;}};try{const _0x4ec014=[];let _0x5b8959=_0x2481f7&&_0x2481f7[_0x54ee26(0x160)];const _0x36932e=new Set();while(_0x101301[_0x54ee26(0x1ca)](_0x5b8959,undefined)&&_0x101301[_0x54ee26(0x1ca)](_0x5b8959,null)&&this['_suitesById'][_0x54ee26(0x166)](_0x5b8959)&&!_0x36932e[_0x54ee26(0x166)](_0x5b8959)){_0x36932e['add'](_0x5b8959);const _0x3cac0b=this[_0x54ee26(0x170)][_0x54ee26(0x19d)](_0x5b8959);_0x3cac0b&&_0x3cac0b['description']&&_0x4ec014[_0x54ee26(0x1a7)](_0x3cac0b[_0x54ee26(0x174)]),_0x5b8959=_0x3cac0b?_0x3cac0b[_0x54ee26(0x160)]:null;}if(_0x101301[_0x54ee26(0x195)](_0x4ec014[_0x54ee26(0x188)],0x0))return _0x4ec014[_0x54ee26(0x19c)]();}catch(_0x314c5e){_0x101301[_0x54ee26(0x1cf)](debug,_0x54ee26(0x164)+(_0x2481f7&&_0x2481f7[_0x54ee26(0x168)])+_0x54ee26(0x1c8)+_0x314c5e);}const _0x6b4b9f=_0x2481f7&&_0x2481f7[_0x54ee26(0x168)]||'',_0x24f91b=_0x2481f7&&_0x2481f7[_0x54ee26(0x174)]||'';let _0x397775=_0x6b4b9f;return _0x24f91b&&_0x6b4b9f[_0x54ee26(0x18e)](_0x24f91b)&&(_0x397775=_0x6b4b9f[_0x54ee26(0x165)](0x0,_0x101301[_0x54ee26(0x1c1)](_0x6b4b9f[_0x54ee26(0x188)],_0x24f91b[_0x54ee26(0x188)]))['trim']()),_0x397775?_0x397775[_0x54ee26(0x177)](/\s+/):[];}[a17_0x5061d7(0x161)](_0x65027e){const _0x193175=a17_0x5061d7,_0x265a5c={};_0x265a5c['dSoWQ']=function(_0x437409,_0x4e42f2){return _0x437409===_0x4e42f2;},_0x265a5c[_0x193175(0x1bc)]=function(_0x4e762d,_0x4c7a4f){return _0x4e762d+_0x4c7a4f;},_0x265a5c[_0x193175(0x1d9)]=function(_0x6099fe,_0x3159a4){return _0x6099fe>_0x3159a4;};const _0x28ce09=_0x265a5c;if(_0x65027e&&_0x65027e['filename'])return _0x65027e[_0x193175(0x1b8)];if(_0x65027e&&_0x65027e[_0x193175(0x168)]){if(this[_0x193175(0x157)][_0x65027e['fullName']])return this[_0x193175(0x157)][_0x65027e[_0x193175(0x168)]];let _0x1287a1=null,_0x1ad408=-0x1;for(const _0x3b33f4 of Object[_0x193175(0x172)](this['_fileNameByFullName'])){(_0x28ce09[_0x193175(0x16c)](_0x65027e[_0x193175(0x168)],_0x3b33f4)||_0x65027e[_0x193175(0x168)][_0x193175(0x1cd)](_0x28ce09['PhJFm'](_0x3b33f4,'\x20')))&&_0x28ce09[_0x193175(0x1d9)](_0x3b33f4[_0x193175(0x188)],_0x1ad408)&&(_0x1287a1=this[_0x193175(0x157)][_0x3b33f4],_0x1ad408=_0x3b33f4[_0x193175(0x188)]);}if(_0x1287a1)return _0x1287a1;}return null;}['_collapseFailedExpectations'](_0x597df2){const _0x1ceaca=a17_0x5061d7,_0x385921={};_0x385921['BrAFj']=function(_0x341d35,_0x359aac){return _0x341d35===_0x359aac;},_0x385921[_0x1ceaca(0x1b6)]=_0x1ceaca(0x193);const _0x141d14=_0x385921;if(!Array[_0x1ceaca(0x18c)](_0x597df2)||_0x141d14['BrAFj'](_0x597df2['length'],0x0))return undefined;const _0x3a3864=[],_0x23ac76=[];for(const _0x3e91d5 of _0x597df2){_0x3e91d5&&_0x3e91d5['message']&&_0x3a3864[_0x1ceaca(0x1a7)](_0x3e91d5[_0x1ceaca(0x1b0)]),_0x3e91d5&&_0x3e91d5[_0x1ceaca(0x1b4)]&&_0x23ac76[_0x1ceaca(0x1a7)](_0x3e91d5['stack']);}const _0x15f2ba=_0x597df2[0x0]||{},_0x40733=_0x3a3864['join']('\x0a')||_0x15f2ba[_0x1ceaca(0x1b0)]||_0x141d14[_0x1ceaca(0x1b6)],_0x324e92=_0x23ac76[_0x1ceaca(0x19e)]('\x0a\x0a')||_0x15f2ba['stack']||_0x40733,_0x5c9093={};return _0x5c9093[_0x1ceaca(0x1b0)]=_0x40733,_0x5c9093[_0x1ceaca(0x1b4)]=_0x324e92,_0x5c9093[_0x1ceaca(0x1c3)]=_0x15f2ba[_0x1ceaca(0x1c3)],_0x5c9093[_0x1ceaca(0x16b)]=_0x15f2ba[_0x1ceaca(0x16b)],_0x5c9093['actual']=_0x15f2ba[_0x1ceaca(0x198)],_0x5c9093;}[a17_0x5061d7(0x18f)](_0x4a5255){const _0x4729f3=a17_0x5061d7,_0x25c0ce={};_0x25c0ce['vvjNm']=function(_0x1e2e6b,_0xe1dfe8){return _0x1e2e6b===_0xe1dfe8;},_0x25c0ce[_0x4729f3(0x1bb)]=function(_0x98822d,_0x2b7edf){return _0x98822d===_0x2b7edf;},_0x25c0ce[_0x4729f3(0x167)]=function(_0x34df8e,_0x4383b0){return _0x34df8e===_0x4383b0;},_0x25c0ce['vrqYK']=_0x4729f3(0x175),_0x25c0ce[_0x4729f3(0x190)]=_0x4729f3(0x199);const _0x221d89=_0x25c0ce,_0x2e93a7=path[_0x4729f3(0x173)];if(_0x221d89[_0x4729f3(0x176)](_0x4a5255,null)||_0x221d89['XKWLx'](_0x4a5255,'')||_0x221d89[_0x4729f3(0x167)](_0x4a5255,_0x2e93a7)||_0x221d89[_0x4729f3(0x167)](_0x4a5255,path[_0x4729f3(0x15a)](_0x4a5255)))return null;try{return fs[_0x4729f3(0x16f)](path[_0x4729f3(0x19e)](_0x4a5255,_0x221d89[_0x4729f3(0x183)],_0x221d89[_0x4729f3(0x190)])),_0x4a5255;}catch(_0x373cb6){return this['_findGitConfig'](path[_0x4729f3(0x15a)](_0x4a5255));}}}function a17_0x3a5a(){const _0x58f27e=['Spec\x20failed','../../../helpers/test-observability/sessionHandler','WrENX','WjrIH','yEzoJ','actual','config','wRoFB','SoVBO','reverse','get','join','4852755PrLgRc','36148IUSQrH','5CExOfi','relative','1407574EwgjvK','suiteDone','_collapseFailedExpectations','rNUlN','push','exports','fileNameByFullName','1100568NuSlUT','EXvHl','jasmineDone','CJvvA','File\x20path\x20could\x20not\x20be\x20found','XImvM','message','EIRqv','GaELs','match','stack','AssertionError','PpNhq','excluded','filename','cFlOA','NUnrV','XKWLx','PhJFm','backtrace','1bDlZqi','Jasmine','gxXvl','OFHDb','status','matcherName','err','ilyRg','../testRunMap','lang','\x20:\x20','delete','RGUaK','qZzxq','passed','startsWith','path','SyXQF','sAqld','appendTesthubParams','_paths','LTuxU','expanded','javascript','../../../helpers/test-observability/constants','213JPImoO','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','eqjWs','uploadEventData','TestRunSkipped','toISOString','../../../helpers/testhub/utils','failed','_fileNameByFullName','failedExpectations','LKEpG','dirname','TestRunStarted','duration','JASMINE','gpIGx','RDAGU','parentSuiteId','_resolveFilePath','_sendSpecEvent','3951474OVugYB','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','slice','has','gjazO','fullName','AcVBw','uFoGu','expected','dSoWQ','remove','failure_reason_expanded','statSync','_suitesById','Exception\x20in\x20jasmine\x20specDone\x20for\x20','keys','sep','description','.git','vvjNm','split','specDone','EUKwV','3777930TAfWij','civvs','started_at','number','nJBox','AobWs','5706778YyOYnc','_scopes','UnhandledError','vrqYK','aswFT','pending','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','11ccfIHe','length','TlLdV','MtJYk','JuytO','isArray','../../../helpers/test-observability/utils','endsWith','_findGitConfig','JaQGf','set','BLuNx'];a17_0x3a5a=function(){return _0x58f27e;};return a17_0x3a5a();}function a17_0x51a8(_0x40d088,_0xf796b5){const _0x3a5a90=a17_0x3a5a();return a17_0x51a8=function(_0x51a865,_0x5b29d3){_0x51a865=_0x51a865-0x157;let _0x3d8d65=_0x3a5a90[_0x51a865];return _0x3d8d65;},a17_0x51a8(_0x40d088,_0xf796b5);}module[a17_0x5061d7(0x1a8)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a17_0x14c970=a17_0x54ed;function a17_0x54ed(_0x3c71ce,_0x5172cd){const _0x1ca658=a17_0x1ca6();return a17_0x54ed=function(_0x54ed44,_0x532e70){_0x54ed44=_0x54ed44-0xbc;let _0x443244=_0x1ca658[_0x54ed44];return _0x443244;},a17_0x54ed(_0x3c71ce,_0x5172cd);}(function(_0x397248,_0x766040){const _0x25cb2f=a17_0x54ed,_0x28834d=_0x397248();while(!![]){try{const _0x58d8d9=-parseInt(_0x25cb2f(0xe7))/0x1*(-parseInt(_0x25cb2f(0x136))/0x2)+parseInt(_0x25cb2f(0x10c))/0x3+parseInt(_0x25cb2f(0x113))/0x4+parseInt(_0x25cb2f(0x141))/0x5*(-parseInt(_0x25cb2f(0xbe))/0x6)+-parseInt(_0x25cb2f(0x111))/0x7+parseInt(_0x25cb2f(0xc8))/0x8*(-parseInt(_0x25cb2f(0x131))/0x9)+-parseInt(_0x25cb2f(0x117))/0xa;if(_0x58d8d9===_0x766040)break;else _0x28834d['push'](_0x28834d['shift']());}catch(_0x513501){_0x28834d['push'](_0x28834d['shift']());}}}(a17_0x1ca6,0x8f218));const path=require(a17_0x14c970(0x11d)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a17_0x14c970(0xd4)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x14c970(0x102),a17_0x1c4a67={};a17_0x1c4a67[a17_0x14c970(0x127)]='passed',a17_0x1c4a67['failed']=a17_0x14c970(0x13f),a17_0x1c4a67['pending']=a17_0x14c970(0xfb),a17_0x1c4a67[a17_0x14c970(0xce)]='skipped';const STATUS_MAP=a17_0x1c4a67;function a17_0x1ca6(){const _0x5212c2=['add','icPCE','CgxHq','zTlyG','mPPEo','has','trim','.git','IZRcw','set','specStarted','HWVUW','parentSuiteId','CNjrv','isArray','pending','CCdgb','appendTesthubParams','JASMINE','jasmineStarted','toISOString','Exception\x20in\x20jasmine\x20specDone\x20for\x20','Jasmine','relative','GHKfL','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','LlOXN','tayOr','length','_fileNameByFullName','code','join','3120999RQFjWB','shouldProcessEventForTesthub','\x20:\x20','GsGWW','eDbOT','101458RggUTf','filename','1047116rPxwFa','JjPHg','AssertionError','OpmQS','4668740VEahgZ','stack','_collapseFailedExpectations','status','backtrace','endsWith','path','fRoMe','RNiXm','SlcJd','monnz','setCurrentTestData','oOvOQ','mIRll','feVVa','actual','passed','khjGb','specDone','_suitesById','gcDDP','TestRunSkipped','_resolveFilePath','unWhD','duration','QxTrQ','18zwIJvK','QKlab','fullName','JXpzw','wCwUa','26sHJYri','remove','Vzjmg','xtPtm','JQkFw','_sendSpecEvent','suiteDone','UURfI','gfgJD','failed','TestRunFinished','135635MsRVqj','number','SyihN','66xvCobr','ZaisR','finished_at','exports','_scopes','expanded','vOKJQ','lang','HaJBX','LQQlg','1035752oIiGFX','KicXO','split','zgplk','PwUcU','slice','excluded','dirname','TestRunStarted','failure','_findGitConfig','err','../testRunMap','javascript','aPyQd','push','skipped','match','fileNameByFullName','rmZlw','jasmineDone','ZfwJY','message','expected','vpDND','_paths','lGzUy','prefixTestPath','get','matcherName','description','24835rNmlta','started_at','uploadEventData','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','failedExpectations'];a17_0x1ca6=function(){return _0x5212c2;};return a17_0x1ca6();}class BrowserStackJasmineReporter{constructor(_0x4ce9fe={}){const _0x551746=a17_0x14c970,_0x3cbc9c={'IZRcw':function(_0x3eb7b0){return _0x3eb7b0();}};this['testObservability']=_0x3cbc9c[_0x551746(0xf4)](isTestObservabilitySession),this[_0x551746(0xe1)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x551746(0x109)]=_0x4ce9fe&&_0x4ce9fe[_0x551746(0xda)]||{},this['_suitesById']=new Map();}[a17_0x14c970(0xff)](){}['suiteStarted'](_0x338dce){const _0x2e12f1=a17_0x14c970,_0x4d2f19={'oOvOQ':function(_0x5115a0,_0x3dc60f){return _0x5115a0!==_0x3dc60f;},'CExWU':function(_0x33cb34,_0x9bfb94){return _0x33cb34!==_0x9bfb94;},'gRnkF':function(_0x59921a,_0x134056){return _0x59921a(_0x134056);}};try{_0x338dce&&_0x4d2f19[_0x2e12f1(0x123)](_0x338dce['id'],undefined)&&_0x4d2f19['CExWU'](_0x338dce['id'],null)&&this[_0x2e12f1(0x12a)][_0x2e12f1(0xf5)](_0x338dce['id'],{'description':_0x338dce['description'],'parentSuiteId':_0x338dce['parentSuiteId']});}catch(_0x6b566c){_0x4d2f19['gRnkF'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x338dce&&_0x338dce[_0x2e12f1(0x133)])+_0x2e12f1(0x10e)+_0x6b566c);}}[a17_0x14c970(0xf6)](_0x231e5a){const _0x3f306a=a17_0x14c970,_0x535215={'CNjrv':function(_0x1d8d96,_0xd9ae8e){return _0x1d8d96!==_0xd9ae8e;},'mPPEo':function(_0x1c41a6){return _0x1c41a6();},'CCdgb':_0x3f306a(0xd0),'YkFXa':function(_0x1f2ae4,_0x3b7460){return _0x1f2ae4(_0x3b7460);}};try{if(_0x535215[_0x3f306a(0xf9)](testhubUtils[_0x3f306a(0x10d)](),!![]))return;const _0x1659c0=_0x535215[_0x3f306a(0xf0)](uuidv4);testRunMap['set'](_0x231e5a['id'],_0x1659c0),this[_0x3f306a(0x13b)](_0x231e5a,_0x1659c0,_0x535215[_0x3f306a(0xfc)]);}catch(_0x368243){_0x535215['YkFXa'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x231e5a&&_0x231e5a[_0x3f306a(0x133)])+_0x3f306a(0x10e)+_0x368243);}}[a17_0x14c970(0x129)](_0x3b9ae8){const _0x464b2d=a17_0x14c970,_0x2ea428={'LlOXN':function(_0xeb491c,_0x306942){return _0xeb491c!==_0x306942;},'GsGWW':function(_0x59bf2b){return _0x59bf2b();},'EGsZF':function(_0x5e0166,_0x3ff61f){return _0x5e0166===_0x3ff61f;},'QxTrQ':'excluded','OpmQS':'TestRunSkipped','CgxHq':_0x464b2d(0x140),'GHKfL':function(_0xb882b7,_0x1f669b){return _0xb882b7(_0x1f669b);}};try{if(_0x2ea428[_0x464b2d(0x106)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x350e80=testRunMap[_0x464b2d(0xe4)](_0x3b9ae8['id'])||_0x2ea428[_0x464b2d(0x10f)](uuidv4),_0x362e3a=_0x2ea428['EGsZF'](_0x3b9ae8[_0x464b2d(0x11a)],_0x2ea428[_0x464b2d(0x130)])?_0x2ea428[_0x464b2d(0x116)]:_0x2ea428[_0x464b2d(0xee)];this['_sendSpecEvent'](_0x3b9ae8,_0x350e80,_0x362e3a);}catch(_0x422752){_0x2ea428[_0x464b2d(0x104)](debug,_0x464b2d(0x101)+(_0x3b9ae8&&_0x3b9ae8[_0x464b2d(0x133)])+_0x464b2d(0x10e)+_0x422752);}finally{_0x3b9ae8&&(testRunMap[_0x464b2d(0x137)](_0x3b9ae8['id']),_specStartTimes['delete'](_0x3b9ae8['id']));}}[a17_0x14c970(0x13c)](){}[a17_0x14c970(0xdc)](){}[a17_0x14c970(0x13b)](_0x1769d1,_0x3c246a,_0x33e6d2){const _0x1b6912=a17_0x14c970,_0x46ee6e={'aPyQd':function(_0x29d988,_0x31c0f5){return _0x29d988===_0x31c0f5;},'HaJBX':_0x1b6912(0x140),'ckMgh':function(_0x1cf346,_0x2ac1f4){return _0x1cf346===_0x2ac1f4;},'wCwUa':_0x1b6912(0x12c),'JjPHg':'File\x20path\x20could\x20not\x20be\x20found','RNiXm':function(_0x1a7445,_0x13ce47,_0x5b4996){return _0x1a7445(_0x13ce47,_0x5b4996);},'gfgJD':_0x1b6912(0xd3),'PwUcU':'TestRunStarted','ZfwJY':function(_0x6032a3,_0x4808ae){return _0x6032a3!==_0x4808ae;},'HWVUW':function(_0x462ad9,_0x2526d9){return _0x462ad9!==_0x2526d9;},'ZaisR':function(_0x3ec0fe,_0x569c57){return _0x3ec0fe===_0x569c57;},'fqOkR':_0x1b6912(0xd5),'eaGdn':function(_0x3497ee,_0x3c2010){return _0x3497ee&&_0x3c2010;},'rmZlw':_0x1b6912(0xd8),'QKlab':'passed','UURfI':function(_0x45b959,_0x44c785){return _0x45b959===_0x44c785;},'JQkFw':_0x1b6912(0xbc),'unWhD':_0x1b6912(0x115),'TxRBJ':'UnhandledError','eDbOT':function(_0x39c853,_0x5a9208){return _0x39c853===_0x5a9208;},'feVVa':_0x1b6912(0xe8),'zTlyG':_0x1b6912(0xc0),'fRoMe':_0x1b6912(0xd1),'khjGb':'failure_backtrace','vpDND':_0x1b6912(0x11b),'NGnhb':'failure_reason_expanded','icPCE':_0x1b6912(0xc3),'VSuQo':function(_0x226bbc,_0x399757){return _0x226bbc===_0x399757;},'vOKJQ':function(_0x20d3b2,_0xb49f7){return _0x20d3b2(_0xb49f7);}};try{const _0x88efc8=_0x46ee6e[_0x1b6912(0xd6)](_0x33e6d2,_0x46ee6e['HaJBX'])||_0x46ee6e['ckMgh'](_0x33e6d2,_0x46ee6e['wCwUa']),_0x37b687=this[_0x1b6912(0x12d)](_0x1769d1),_0x59d36a=_0x37b687?this[_0x1b6912(0xe1)][_0x1b6912(0xe3)](_0x37b687):_0x46ee6e[_0x1b6912(0x114)],_0x26fa42=_0x37b687?this[_0x1b6912(0xd2)](path[_0x1b6912(0xcf)](_0x37b687)):null,_0xc9bf6f=this[_0x1b6912(0x119)](_0x1769d1[_0x1b6912(0xeb)]),_0x2ca5ef=_0xc9bf6f?_0xc9bf6f['message']:undefined,_0x3e7a69=_0xc9bf6f?_0x46ee6e[_0x1b6912(0x11f)](failureData,_0xc9bf6f,_0x46ee6e[_0x1b6912(0x13e)]):[],_0x3cdfd8=new Date()[_0x1b6912(0x100)](),_0x29c372=this[_0x1b6912(0xc2)](_0x1769d1);_0x46ee6e[_0x1b6912(0xd6)](_0x33e6d2,_0x46ee6e[_0x1b6912(0xcc)])&&_0x1769d1&&_0x46ee6e[_0x1b6912(0xdd)](_0x1769d1['id'],undefined)&&_0x46ee6e[_0x1b6912(0xf7)](_0x1769d1['id'],null)&&_specStartTimes[_0x1b6912(0xf5)](_0x1769d1['id'],_0x3cdfd8);const _0x13b5a0=_0x46ee6e[_0x1b6912(0xbf)](_0x33e6d2,_0x46ee6e['PwUcU'])?_0x3cdfd8:_0x1769d1&&_specStartTimes[_0x1b6912(0xe4)](_0x1769d1['id'])||null,_0x3fad2d={};_0x3fad2d[_0x1b6912(0xc5)]=_0x46ee6e['fqOkR'],_0x3fad2d[_0x1b6912(0x10a)]=null;const _0xd73553={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x3c246a,'name':_0x1769d1[_0x1b6912(0xe6)],'body':_0x3fad2d,'scope':_0x29c372['join']('\x20'),'scopes':_0x29c372,'identifier':_0x1769d1[_0x1b6912(0x133)],'file_name':_0x59d36a,'vc_filepath':_0x46ee6e['eaGdn'](_0x26fa42,_0x37b687)?path[_0x1b6912(0x103)](_0x26fa42,_0x37b687):null,'location':_0x59d36a,'result':_0x46ee6e['ZaisR'](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])?_0x46ee6e[_0x1b6912(0xdb)]:STATUS_MAP[_0x1769d1[_0x1b6912(0x11a)]]||_0x46ee6e[_0x1b6912(0x132)],'failure_reason':_0x2ca5ef,'duration_in_ms':_0x46ee6e[_0x1b6912(0x13d)](typeof _0x1769d1[_0x1b6912(0x12f)],_0x46ee6e[_0x1b6912(0x13a)])?_0x1769d1[_0x1b6912(0x12f)]:null,'started_at':_0x13b5a0,'finished_at':_0x88efc8?_0x3cdfd8:null,'failure':_0x3e7a69,'failure_type':!_0x2ca5ef?null:_0x2ca5ef[_0x1b6912(0xd9)](/AssertionError/)?_0x46ee6e[_0x1b6912(0x12e)]:_0x46ee6e['TxRBJ'],'retry_of':null};_0x46ee6e[_0x1b6912(0x110)](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])&&!_0xd73553[_0x46ee6e[_0x1b6912(0x125)]]&&(_0xd73553[_0x46ee6e[_0x1b6912(0x125)]]=_0xd73553[_0x46ee6e[_0x1b6912(0xef)]]);const _0x49299f=_0xd73553[_0x46ee6e[_0x1b6912(0x11e)]][0x0];_0x49299f&&(_0xd73553[_0x46ee6e[_0x1b6912(0x128)]]=_0x49299f[_0x46ee6e[_0x1b6912(0xe0)]],_0xd73553[_0x46ee6e['NGnhb']]=_0x49299f[_0x46ee6e[_0x1b6912(0xed)]]);testhubUtils[_0x1b6912(0xfd)](_0xd73553,_0x33e6d2,_0x1769d1,FRAMEWORKS[_0x1b6912(0xfe)]);const _0x31cbfb={'event_type':_0x46ee6e['VSuQo'](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])?_0x46ee6e[_0x1b6912(0xc6)]:_0x33e6d2,'test_run':_0xd73553};return testhubUtils[_0x1b6912(0x122)](FRAMEWORKS[_0x1b6912(0xfe)],_0x31cbfb),SessionHandler[_0x1b6912(0xe9)](_0x31cbfb);}catch(_0x3894f4){_0x46ee6e[_0x1b6912(0xc4)](debug,_0x1b6912(0xea)+_0x33e6d2+_0x1b6912(0x10e)+_0x3894f4);}}[a17_0x14c970(0xc2)](_0x20386){const _0x25934e=a17_0x14c970,_0x4aa844={'SyihN':function(_0x271c61,_0x361f94){return _0x271c61!==_0x361f94;},'xtPtm':function(_0x3a13c7,_0x1f073d){return _0x3a13c7>_0x1f073d;},'gcDDP':function(_0x33c88f,_0x5f0145){return _0x33c88f(_0x5f0145);},'dyQSz':function(_0x5921a0,_0x29a65f){return _0x5921a0-_0x29a65f;}};try{const _0x4db489=[];let _0xdc5e07=_0x20386&&_0x20386['parentSuiteId'];const _0x1e214c=new Set();while(_0x4aa844[_0x25934e(0xbd)](_0xdc5e07,undefined)&&_0x4aa844[_0x25934e(0xbd)](_0xdc5e07,null)&&this['_suitesById']['has'](_0xdc5e07)&&!_0x1e214c[_0x25934e(0xf1)](_0xdc5e07)){_0x1e214c[_0x25934e(0xec)](_0xdc5e07);const _0x2a2592=this[_0x25934e(0x12a)][_0x25934e(0xe4)](_0xdc5e07);_0x2a2592&&_0x2a2592[_0x25934e(0xe6)]&&_0x4db489[_0x25934e(0xd7)](_0x2a2592[_0x25934e(0xe6)]),_0xdc5e07=_0x2a2592?_0x2a2592[_0x25934e(0xf8)]:null;}if(_0x4aa844[_0x25934e(0x139)](_0x4db489[_0x25934e(0x108)],0x0))return _0x4db489['reverse']();}catch(_0x258bd7){_0x4aa844[_0x25934e(0x12b)](debug,_0x25934e(0x105)+(_0x20386&&_0x20386[_0x25934e(0x133)])+_0x25934e(0x10e)+_0x258bd7);}const _0x119c2d=_0x20386&&_0x20386[_0x25934e(0x133)]||'',_0x15c947=_0x20386&&_0x20386[_0x25934e(0xe6)]||'';let _0x1b1401=_0x119c2d;return _0x15c947&&_0x119c2d[_0x25934e(0x11c)](_0x15c947)&&(_0x1b1401=_0x119c2d[_0x25934e(0xcd)](0x0,_0x4aa844['dyQSz'](_0x119c2d[_0x25934e(0x108)],_0x15c947[_0x25934e(0x108)]))[_0x25934e(0xf2)]()),_0x1b1401?_0x1b1401[_0x25934e(0xca)](/\s+/):[];}[a17_0x14c970(0x12d)](_0x54cbfd){const _0x88dd2a=a17_0x14c970,_0x37d2c0={};_0x37d2c0['tayOr']=function(_0x5cdfc9,_0x3a4479){return _0x5cdfc9===_0x3a4479;},_0x37d2c0[_0x88dd2a(0xe2)]=function(_0x19e3ef,_0x311fad){return _0x19e3ef+_0x311fad;},_0x37d2c0['Vzjmg']=function(_0x5455dc,_0x53ecb0){return _0x5455dc>_0x53ecb0;};const _0x4238e0=_0x37d2c0;if(_0x54cbfd&&_0x54cbfd[_0x88dd2a(0x112)])return _0x54cbfd[_0x88dd2a(0x112)];if(_0x54cbfd&&_0x54cbfd[_0x88dd2a(0x133)]){if(this[_0x88dd2a(0x109)][_0x54cbfd[_0x88dd2a(0x133)]])return this[_0x88dd2a(0x109)][_0x54cbfd['fullName']];let _0x17dd5b=null,_0x3fa4ea=-0x1;for(const _0x357a15 of Object['keys'](this[_0x88dd2a(0x109)])){(_0x4238e0[_0x88dd2a(0x107)](_0x54cbfd['fullName'],_0x357a15)||_0x54cbfd[_0x88dd2a(0x133)]['startsWith'](_0x4238e0['lGzUy'](_0x357a15,'\x20')))&&_0x4238e0[_0x88dd2a(0x138)](_0x357a15[_0x88dd2a(0x108)],_0x3fa4ea)&&(_0x17dd5b=this[_0x88dd2a(0x109)][_0x357a15],_0x3fa4ea=_0x357a15[_0x88dd2a(0x108)]);}if(_0x17dd5b)return _0x17dd5b;}return null;}['_collapseFailedExpectations'](_0x5df786){const _0x11adb3=a17_0x14c970,_0xf392c3={};_0xf392c3[_0x11adb3(0x121)]=function(_0x12fc8f,_0xb0399b){return _0x12fc8f===_0xb0399b;},_0xf392c3[_0x11adb3(0xcb)]='Spec\x20failed';const _0x9cd6f1=_0xf392c3;if(!Array[_0x11adb3(0xfa)](_0x5df786)||_0x9cd6f1['monnz'](_0x5df786['length'],0x0))return undefined;const _0xe6e0a6=[],_0x5912d6=[];for(const _0x225579 of _0x5df786){_0x225579&&_0x225579[_0x11adb3(0xde)]&&_0xe6e0a6[_0x11adb3(0xd7)](_0x225579[_0x11adb3(0xde)]),_0x225579&&_0x225579[_0x11adb3(0x118)]&&_0x5912d6['push'](_0x225579['stack']);}const _0x97d880=_0x5df786[0x0]||{},_0x56639d=_0xe6e0a6['join']('\x0a')||_0x97d880[_0x11adb3(0xde)]||_0x9cd6f1[_0x11adb3(0xcb)],_0xfa60f7=_0x5912d6[_0x11adb3(0x10b)]('\x0a\x0a')||_0x97d880[_0x11adb3(0x118)]||_0x56639d,_0xe0b9ad={};return _0xe0b9ad[_0x11adb3(0xde)]=_0x56639d,_0xe0b9ad[_0x11adb3(0x118)]=_0xfa60f7,_0xe0b9ad['matcherName']=_0x97d880[_0x11adb3(0xe5)],_0xe0b9ad['expected']=_0x97d880[_0x11adb3(0xdf)],_0xe0b9ad['actual']=_0x97d880[_0x11adb3(0x126)],_0xe0b9ad;}[a17_0x14c970(0xd2)](_0x4357ff){const _0x41c337=a17_0x14c970,_0x25dd39={};_0x25dd39[_0x41c337(0x120)]=function(_0xcce5c8,_0x1be04d){return _0xcce5c8===_0x1be04d;},_0x25dd39['KicXO']=function(_0x497d5e,_0x425012){return _0x497d5e===_0x425012;},_0x25dd39['LQQlg']=function(_0x419eb1,_0x5e3929){return _0x419eb1===_0x5e3929;},_0x25dd39[_0x41c337(0x134)]=_0x41c337(0xf3),_0x25dd39[_0x41c337(0x124)]='config';const _0x44123c=_0x25dd39,_0x4afa02=path['sep'];if(_0x44123c[_0x41c337(0x120)](_0x4357ff,null)||_0x44123c[_0x41c337(0x120)](_0x4357ff,'')||_0x44123c[_0x41c337(0xc9)](_0x4357ff,_0x4afa02)||_0x44123c[_0x41c337(0xc7)](_0x4357ff,path[_0x41c337(0xcf)](_0x4357ff)))return null;try{return fs['statSync'](path['join'](_0x4357ff,_0x44123c[_0x41c337(0x134)],_0x44123c[_0x41c337(0x124)])),_0x4357ff;}catch(_0x7caa38){return this['_findGitConfig'](path['dirname'](_0x4357ff));}}}module[a17_0x14c970(0xc1)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0x1cd0d5=a18_0x5ca1;function a18_0x5ca1(_0x1e7ed2,_0x5d82ca){const _0x32c643=a18_0x32c6();return a18_0x5ca1=function(_0x5ca172,_0x1bbf43){_0x5ca172=_0x5ca172-0x137;let _0x4d1369=_0x32c643[_0x5ca172];return _0x4d1369;},a18_0x5ca1(_0x1e7ed2,_0x5d82ca);}(function(_0x375cb3,_0x252f10){const _0x256c5d=a18_0x5ca1,_0x3e401b=_0x375cb3();while(!![]){try{const _0x85d4d9=parseInt(_0x256c5d(0x15f))/0x1+-parseInt(_0x256c5d(0x1bd))/0x2+-parseInt(_0x256c5d(0x155))/0x3*(parseInt(_0x256c5d(0x186))/0x4)+-parseInt(_0x256c5d(0x1c2))/0x5*(-parseInt(_0x256c5d(0x174))/0x6)+parseInt(_0x256c5d(0x1b8))/0x7+parseInt(_0x256c5d(0x194))/0x8+-parseInt(_0x256c5d(0x161))/0x9*(parseInt(_0x256c5d(0x19c))/0xa);if(_0x85d4d9===_0x252f10)break;else _0x3e401b['push'](_0x3e401b['shift']());}catch(_0x5d7278){_0x3e401b['push'](_0x3e401b['shift']());}}}(a18_0x32c6,0x8172b));function a18_0x32c6(){const _0x19b06f=['BROWSERSTACK_JASMINE_PARALLELS','child_process','validPlatformsPresent','--helper=','stop','bqrCK','cwd','resolve','NkaBN','shouldReRunObservabilityTests','exitCode','xheVK','getInstance','lEnCM','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','kPMpP','push','getMultiDriverWorkerConfig','cJgXY',')\x20exited\x20with\x20code\x20','__isPlaywrightInstalled','globSync','../../helpers/test-observability/constants','SDK_SETUP','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','specArgs','getPlatformName','3wHYMmK','BROWSERSTACK_CLI_BIN_SESSION_ID','spec/support/jasmine.json','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','UFuCo','startsWith','MGEzP','readFileSync','SDK_CLEANUP','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','485367DEJJyh','config','9wrlbtn','../../helpers/performance/constants','length','JASMINE','Wpkvr','existsSync','Running\x20your\x20Jasmine\x20tests\x20across\x20','accessibilityOptions','posix',')\x20:\x20','spec_dir','kPGio','handleApp',';\x20proceeding\x20without\x20injection','\x20:\x20','assign','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','isArray','end','1050636iKkwJl','trim','win32','format','NeTnF','binSessionId','cOHfb','CuLZn','QoJuU','info','../../helpers/performance/performance-tester','meMkC','lJVny','nBruO','MCQTa','platforms','HYcRR','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','1234524DebJWG','testObservability','platformIndex','lJOvh','lrirS','BROWSERSTACK_CAPABILITIES','platform','isBrowserstackInfra','p-limit','QWuhw','string','initialize','wnEQz','\x27\x20:\x20','2691056pHdPkT','ehNoq','\x20platform(s),\x20parallelsPerPlatform=','parse','BROWSERSTACK_RERUN_TESTS',',\x20specs=','BfRCo','../../helpers/puppeteer-helper','7881430QKPdNh','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','true','parseFileNames','spec_files','RCGsE','../../helpers/test-observability/utils','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','exports','filter','BROWSERSTACK_TEST_OBSERVABILITY_YML','inherit','jasmine','env','jRtay','parallelsPerPlatform','maxWorkers','../utils/constants','**/*[sS]pec.?(m)js','kBtvw','from','join','../../helpers/playwright-helper','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nMbJz','getPackageVersion','1843597wmUVPp','start','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','VQUzw','MXLGM','1017526THxGmj','map','lHIPA','error','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','30OKXfmC','slice','useW3C','prepareCapabilities','zqYok','dZFKp','isUndefined','printBuildLink','@playwright/test','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','rGtuY','stringify','AbLrm','../../helpers/helper','logLevel','../../helpers/utilities','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','all','FRAMEWORKS','RQgUU','RVToo'];a18_0x32c6=function(){return _0x19b06f;};return a18_0x32c6();}const fs=require('fs'),path=require('path'),util=require(a18_0x1cd0d5(0x1b4)),{spawn}=require(a18_0x1cd0d5(0x13b)),glob=require('glob'),pLimit=require(a18_0x1cd0d5(0x18e)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a18_0x1cd0d5(0x1cf)),utilities=require(a18_0x1cd0d5(0x1d1)),constants=require(a18_0x1cd0d5(0x1ae)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a18_0x1cd0d5(0x1a2)),{debug}=require(a18_0x1cd0d5(0x1a2)),{FRAMEWORKS}=require(a18_0x1cd0d5(0x150)),PerformanceTester=require(a18_0x1cd0d5(0x17e)),PerformanceEvents=require(a18_0x1cd0d5(0x162))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x1cd0d5(0x1b3)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1cd0d5(0x19b)),getMaxWorkers=(_0x4f518f,_0x133814)=>{const _0x2c7efc=a18_0x1cd0d5,_0x32e2bc={'ffCsg':function(_0x5835ed,_0x2f9d19){return _0x5835ed(_0x2f9d19);}};let _0x33322a=0x1;if(!helper[_0x2c7efc(0x1c8)](_0x133814['parallelsPerPlatform']))_0x33322a=_0x32e2bc['ffCsg'](parseInt,_0x133814[_0x2c7efc(0x1ac)]);else!helper['isUndefined'](_0x4f518f[_0x2c7efc(0x1ad)])&&(_0x33322a=_0x4f518f['maxWorkers']);return _0x33322a;},resolveJasmineConfigPath=()=>{const _0x46a3d5=a18_0x1cd0d5,_0x12ea4e={};_0x12ea4e[_0x46a3d5(0x17c)]=_0x46a3d5(0x157);const _0x2d0423=_0x12ea4e,_0x399d43=[];process[_0x46a3d5(0x1aa)]['JASMINE_CONFIG_PATH']&&_0x399d43[_0x46a3d5(0x14a)](path[_0x46a3d5(0x141)](process[_0x46a3d5(0x140)](),process[_0x46a3d5(0x1aa)]['JASMINE_CONFIG_PATH']));_0x399d43[_0x46a3d5(0x14a)](path['resolve'](process[_0x46a3d5(0x140)](),_0x2d0423[_0x46a3d5(0x17c)]));for(const _0x32b796 of _0x399d43){try{if(fs[_0x46a3d5(0x166)](_0x32b796))return _0x32b796;}catch(_0x51ed3e){}}return null;},enumerateSpecFiles=_0xb5b836=>{const _0x2e452a=a18_0x1cd0d5,_0x578018={'kPMpP':function(_0xe0154c,_0x16f00b){return _0xe0154c(_0x16f00b);},'HYcRR':function(_0x2621c7,_0x515a3a){return _0x2621c7>_0x515a3a;},'xheVK':function(_0x10f750,_0x3aed1b){return _0x10f750<_0x3aed1b;},'AbLrm':function(_0xe057b7,_0x3e4b85){return _0xe057b7===_0x3e4b85;},'bCCYy':_0x2e452a(0x190),'RVToo':function(_0x3c5370,_0x13cd84,_0x3811ac){return _0x3c5370(_0x13cd84,_0x3811ac);},'rlOxS':function(_0x2bff8c){return _0x2bff8c();},'oCVPE':'utf8','zqYok':'spec','RQgUU':_0x2e452a(0x1af),'nBruO':function(_0x5fe84c,_0x60d45b,_0x2238a2){return _0x5fe84c(_0x60d45b,_0x2238a2);},'Wpkvr':function(_0x47f142,_0x11ec0a){return _0x47f142(_0x11ec0a);}};try{if(testOpsHelper[_0x2e452a(0x143)]()){const _0x24a41d=testOpsHelper[_0x2e452a(0x19f)](process[_0x2e452a(0x1aa)][_0x2e452a(0x198)]);if(Array['isArray'](_0x24a41d)&&_0x578018['HYcRR'](_0x24a41d['length'],0x0))return _0x24a41d[_0x2e452a(0x1be)](_0x5375f8=>path[_0x2e452a(0x141)](process[_0x2e452a(0x140)](),_0x5375f8[_0x2e452a(0x175)]()))[_0x2e452a(0x1a6)](Boolean);}}catch(_0x43ff1e){_0x578018[_0x2e452a(0x149)](debug,_0x2e452a(0x1ba)+util[_0x2e452a(0x177)](_0x43ff1e));}const _0x2bff33=[];try{for(let _0x4bf7ba=0x1;_0x578018[_0x2e452a(0x145)](_0x4bf7ba,_0xb5b836[_0x2e452a(0x163)]);_0x4bf7ba++){const _0x1fac96=_0xb5b836[_0x4bf7ba];_0x578018[_0x2e452a(0x1ce)](typeof _0x1fac96,_0x578018['bCCYy'])&&!_0x1fac96['startsWith']('-')&&_0x2bff33[_0x2e452a(0x14a)](_0x1fac96);}}catch(_0x590e79){}const _0x2e6225={'cwd':process[_0x2e452a(0x140)](),'absolute':!![],'nodir':!![]},_0x2b30b8=(_0x4ed37f,_0x9cbaeb)=>{const _0x35460e=_0x2e452a,_0x5e2768=[];for(const _0x5bfb70 of _0x4ed37f){try{const _0xc8229e=_0x9cbaeb?path[_0x35460e(0x169)]['join'](_0x9cbaeb,_0x5bfb70):_0x5bfb70,_0x542b7e=glob[_0x35460e(0x14f)](_0xc8229e,_0x2e6225);Array['isArray'](_0x542b7e)&&_0x5e2768[_0x35460e(0x14a)](..._0x542b7e);}catch(_0x21a07f){_0x578018[_0x35460e(0x149)](debug,_0x35460e(0x171)+_0x5bfb70+_0x35460e(0x193)+util[_0x35460e(0x177)](_0x21a07f));}}return _0x5e2768;};if(_0x578018[_0x2e452a(0x184)](_0x2bff33[_0x2e452a(0x163)],0x0)){const _0x335f7f=_0x578018[_0x2e452a(0x139)](_0x2b30b8,_0x2bff33,null);if(_0x578018[_0x2e452a(0x184)](_0x335f7f[_0x2e452a(0x163)],0x0))return Array[_0x2e452a(0x1b1)](new Set(_0x335f7f));return _0x2bff33[_0x2e452a(0x1be)](_0x2f6f25=>path[_0x2e452a(0x141)](process['cwd'](),_0x2f6f25));}try{const _0x51bee7=_0x578018['rlOxS'](resolveJasmineConfigPath);if(_0x51bee7){const _0x584525=JSON[_0x2e452a(0x197)](fs[_0x2e452a(0x15c)](_0x51bee7,_0x578018['oCVPE'])),_0x33d2cb=_0x584525[_0x2e452a(0x16b)]||_0x578018[_0x2e452a(0x1c6)],_0x1d9506=Array[_0x2e452a(0x172)](_0x584525[_0x2e452a(0x1a0)])&&_0x578018[_0x2e452a(0x184)](_0x584525[_0x2e452a(0x1a0)][_0x2e452a(0x163)],0x0)?_0x584525['spec_files']:[_0x578018[_0x2e452a(0x138)]],_0x6ae34d=_0x578018[_0x2e452a(0x181)](_0x2b30b8,_0x1d9506,_0x33d2cb);if(_0x578018[_0x2e452a(0x184)](_0x6ae34d['length'],0x0))return Array[_0x2e452a(0x1b1)](new Set(_0x6ae34d));}}catch(_0x329ce7){_0x578018[_0x2e452a(0x165)](debug,_0x2e452a(0x185)+util[_0x2e452a(0x177)](_0x329ce7));}return null;};async function run(_0x49e75e,_0x10c718,_0x56f20f){const _0x223517=a18_0x1cd0d5,_0x33d98d={'lJOvh':function(_0x53c4b0,_0x3aedc4){return _0x53c4b0>_0x3aedc4;},'MXLGM':function(_0x174285,_0x47fabf){return _0x174285(_0x47fabf);},'VQUzw':function(_0x5d9e3b,_0x71eec2){return _0x5d9e3b(_0x71eec2);},'CuLZn':_0x223517(0x1d3),'nMbJz':function(_0x2c5169,_0x430a2f){return _0x2c5169||_0x430a2f;},'QrbNU':function(_0xd16d3c,_0x41d53b){return _0xd16d3c(_0x41d53b);},'cOHfb':function(_0x3b85b1,_0x4eab7c){return _0x3b85b1(_0x4eab7c);},'jRtay':function(_0x930195,_0x43b552){return _0x930195>_0x43b552;},'uHUYg':function(_0x358998,_0x166147,_0x52c803,_0x2672ea){return _0x358998(_0x166147,_0x52c803,_0x2672ea);},'yBvUh':'npx','lHIPA':_0x223517(0x1a9),'fajqw':function(_0x267e89,_0x48b69c){return _0x267e89===_0x48b69c;},'BfRCo':_0x223517(0x176),'bNNYq':_0x223517(0x1a8),'lrirS':'close','pNtzs':'error','cJgXY':function(_0x3351dc,_0x1283cb){return _0x3351dc(_0x1283cb);},'RCGsE':function(_0x342807,_0x5e3b9d){return _0x342807(_0x5e3b9d);},'xRbQi':_0x223517(0x1ca),'lEnCM':function(_0x5686f2){return _0x5686f2();},'bqrCK':function(_0x1379b7,_0x132cd8,_0x6c2271,_0x15abaf){return _0x1379b7(_0x132cd8,_0x6c2271,_0x15abaf);},'MCQTa':function(_0xf57598,_0x489dd2){return _0xf57598!=_0x489dd2;},'wnEQz':_0x223517(0x19e),'kPGio':function(_0x3a1007,_0x4bf0bf,_0x5e52e4){return _0x3a1007(_0x4bf0bf,_0x5e52e4);},'ehNoq':function(_0x9fc840,_0xb1c014){return _0x9fc840*_0xb1c014;},'dZFKp':function(_0x51dba1,_0x43f5e2){return _0x51dba1(_0x43f5e2);},'QWuhw':function(_0x19784a,_0x119e9e){return _0x19784a(_0x119e9e);},'MGEzP':function(_0x4d6a7d,_0x1d4c38){return _0x4d6a7d(_0x1d4c38);},'UFuCo':'test.setup.js','lJVny':function(_0x1d75c6,_0x38ed22){return _0x1d75c6(_0x38ed22);},'rGtuY':function(_0x466a5a,_0x1ecb7b){return _0x466a5a<_0x1ecb7b;},'kBtvw':function(_0x89ad47,_0x252b76){return _0x89ad47>_0x252b76;},'NkaBN':function(_0x320db1,_0x5594e7){return _0x320db1>_0x5594e7;},'meMkC':function(_0x52b62a,_0x30bf8a){return _0x52b62a(_0x30bf8a);}},_0x5512e5=helper[_0x223517(0x1b7)](_0x33d98d['xRbQi']);global[_0x223517(0x14e)]=!!_0x5512e5;const _0x170732=_0x33d98d[_0x223517(0x147)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x170732;helper[_0x223517(0x18d)]()&&(await _0x56f20f[_0x223517(0x191)](_0x49e75e),await helper[_0x223517(0x16d)](_0x56f20f['config']));if(_0x5512e5)await _0x33d98d[_0x223517(0x13f)](checkPwandBootstrapCli,_0x5512e5,constants[_0x223517(0x137)][_0x223517(0x164)],_0x56f20f);else _0x170732&&await _0x33d98d['uHUYg'](checkPuppeteerAndBootstrapCli,_0x170732,constants['FRAMEWORKS']['JASMINE'],_0x56f20f);if(!_0x56f20f[_0x223517(0x160)])return;_0x33d98d[_0x223517(0x182)](_0x56f20f[_0x223517(0x160)][_0x223517(0x187)],null)?process['env'][_0x223517(0x1a7)]=_0x56f20f[_0x223517(0x160)][_0x223517(0x187)]:process[_0x223517(0x1aa)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x33d98d[_0x223517(0x192)];!helper[_0x223517(0x1c8)](_0x56f20f[_0x223517(0x160)][_0x223517(0x168)])&&(process[_0x223517(0x1aa)][_0x223517(0x1b5)]=JSON[_0x223517(0x1cd)](_0x56f20f[_0x223517(0x160)][_0x223517(0x168)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x223517(0x164)],_0x56f20f);}catch(_0xc6a0e5){logger[_0x223517(0x1c0)](_0x223517(0x19d)+util[_0x223517(0x177)](_0xc6a0e5)),_0x33d98d[_0x223517(0x1bb)](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x223517(0x177)](_0xc6a0e5));}let _0x3f730d=![],_0x54a587=[];try{_0x3f730d=helper[_0x223517(0x1c4)](_0x56f20f[_0x223517(0x160)]),_0x54a587=helper[_0x223517(0x1c5)](_0x56f20f[_0x223517(0x160)],_0x3f730d,constants[_0x223517(0x137)]['JASMINE']),process[_0x223517(0x1aa)][_0x223517(0x18b)]=JSON[_0x223517(0x1cd)](_0x54a587);}catch(_0x1f40ad){_0x33d98d[_0x223517(0x17a)](debug,_0x223517(0x1cb)+util[_0x223517(0x177)](_0x1f40ad));}let _0x37c484=null,_0x72983=![];try{_0x37c484=helper['getHubUrl'](_0x56f20f[_0x223517(0x160)]),_0x72983=helper[_0x223517(0x13c)](_0x56f20f[_0x223517(0x160)]);}catch(_0xfd116c){_0x33d98d[_0x223517(0x1a1)](debug,'Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20'+util['format'](_0xfd116c));}let _0x1d6c21={};try{_0x1d6c21=helper[_0x223517(0x14b)](_0x56f20f[_0x223517(0x160)],_0x3f730d,constants['FRAMEWORKS'][_0x223517(0x164)]);}catch(_0x3e6bf0){_0x33d98d['RCGsE'](debug,_0x223517(0x152)+util['format'](_0x3e6bf0));}const _0x44c29=_0xc1151b=>{const _0x23af36=_0x223517,_0x10a423=Array[_0x23af36(0x172)](_0x54a587)&&_0x33d98d['lJOvh'](_0x54a587[_0x23af36(0x163)],_0xc1151b)?_0x54a587[_0xc1151b]:Array[_0x23af36(0x172)](_0x54a587)&&_0x33d98d[_0x23af36(0x189)](_0x54a587[_0x23af36(0x163)],0x0)?_0x54a587[0x0]:{};return Object[_0x23af36(0x170)]({'server':_0x37c484,'capability':_0x10a423,'proxySettings':_0x56f20f[_0x23af36(0x160)]['proxySettings'],'platform':helper[_0x23af36(0x154)](_0x10a423),'browserStackLogLevel':_0x56f20f[_0x23af36(0x160)][_0x23af36(0x1d0)],'platformIndex':_0xc1151b,'framework':constants[_0x23af36(0x137)][_0x23af36(0x164)],'platformCaps':_0x72983?Object[_0x23af36(0x170)]({'index':_0xc1151b},_0x56f20f['config'][_0x23af36(0x183)][_0xc1151b]):{'index':_0xc1151b}},_0x1d6c21);};let _0x2e9ee3=0x1,_0x4c8071=0x1,_0x11d45e=0x1;try{_0x2e9ee3=_0x33d98d[_0x223517(0x16c)](getMaxWorkers,_0x49e75e,_0x56f20f[_0x223517(0x160)]),_0x4c8071=_0x72983?_0x56f20f['config'][_0x223517(0x183)][_0x223517(0x163)]:0x1,_0x11d45e=_0x33d98d[_0x223517(0x195)](_0x4c8071,_0x2e9ee3),process[_0x223517(0x1aa)][_0x223517(0x13a)]=_0x33d98d[_0x223517(0x1c7)](String,_0x11d45e);}catch(_0x30b68a){_0x33d98d[_0x223517(0x18f)](debug,_0x223517(0x1a4)+util[_0x223517(0x177)](_0x30b68a));}try{BrowserstackCLI['getInstance']()['binSessionId']&&(process[_0x223517(0x1aa)][_0x223517(0x156)]=BrowserstackCLI['getInstance']()[_0x223517(0x179)]);}catch(_0x427e73){_0x33d98d[_0x223517(0x15b)](debug,_0x223517(0x1c1)+util[_0x223517(0x177)](_0x427e73));}const _0x210874=[];try{const _0x48abf2=path['resolve'](__dirname,_0x33d98d[_0x223517(0x159)]);fs[_0x223517(0x166)](_0x48abf2)?_0x210874[_0x223517(0x14a)](_0x223517(0x13d)+_0x48abf2):_0x33d98d[_0x223517(0x1bb)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x48abf2+_0x223517(0x16e));}catch(_0x2fd718){_0x33d98d[_0x223517(0x180)](debug,_0x223517(0x15e)+util[_0x223517(0x177)](_0x2fd718));}const _0xccc4dd=_0x10c718[_0x223517(0x1c3)](0x1),_0x3e9dd5=_0x33d98d[_0x223517(0x1bc)](enumerateSpecFiles,_0x10c718),_0x3c5928=[];for(let _0x335519=0x0;_0x33d98d[_0x223517(0x1cc)](_0x335519,_0x4c8071);_0x335519++){if(_0x33d98d[_0x223517(0x189)](_0x2e9ee3,0x1)&&Array[_0x223517(0x172)](_0x3e9dd5)&&_0x33d98d[_0x223517(0x1b0)](_0x3e9dd5[_0x223517(0x163)],0x0))for(const _0x369b00 of _0x3e9dd5){const _0x41410c={};_0x41410c[_0x223517(0x188)]=_0x335519,_0x41410c[_0x223517(0x153)]=[_0x369b00],_0x3c5928['push'](_0x41410c);}else{const _0x33165a={};_0x33165a[_0x223517(0x188)]=_0x335519,_0x33165a[_0x223517(0x153)]=_0x3e9dd5,_0x3c5928['push'](_0x33165a);}}logger[_0x223517(0x17d)](_0x223517(0x167)+_0x4c8071+_0x223517(0x196)+_0x2e9ee3+'\x20('+_0x3c5928['length']+'\x20work-item(s),\x20max\x20'+_0x11d45e+'\x20concurrent)'),PerformanceTester[_0x223517(0x173)](PerformanceEvents[_0x223517(0x151)]);const _0x1fa80e=_0x2fa421=>new Promise(_0x53cd19=>{const _0x1fbaab=_0x223517,_0x5d4423={'Sybur':_0x33d98d[_0x1fbaab(0x17b)],'ncjjN':function(_0x3f3335,_0x1ecbad){const _0x43a0dc=_0x1fbaab;return _0x33d98d[_0x43a0dc(0x1bc)](_0x3f3335,_0x1ecbad);},'NeTnF':function(_0xc567f5,_0x5382f6){const _0x2fadf7=_0x1fbaab;return _0x33d98d[_0x2fadf7(0x1b6)](_0xc567f5,_0x5382f6);}};let _0x347596;try{const _0x132660=_0x33d98d['QrbNU'](_0x44c29,_0x2fa421[_0x1fbaab(0x188)]);_0x347596=Object['assign']({},process[_0x1fbaab(0x1aa)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x132660),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x132660['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1377c2){_0x33d98d[_0x1fbaab(0x17a)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x2fa421['platformIndex']+_0x1fbaab(0x16f)+util[_0x1fbaab(0x177)](_0x1377c2)),_0x347596=Object[_0x1fbaab(0x170)]({},process[_0x1fbaab(0x1aa)]);}const _0x1593bc=Array[_0x1fbaab(0x172)](_0x2fa421[_0x1fbaab(0x153)])?_0x2fa421[_0x1fbaab(0x153)]:[],_0x3c8d79=_0x33d98d[_0x1fbaab(0x1ab)](_0x1593bc[_0x1fbaab(0x163)],0x0)?_0xccc4dd[_0x1fbaab(0x1a6)](_0x58a046=>typeof _0x58a046===_0x1fbaab(0x190)&&_0x58a046[_0x1fbaab(0x15a)]('-')):_0xccc4dd,_0x5aee85=[..._0x210874,..._0x3c8d79,..._0x1593bc];try{const _0x41d0bf=_0x33d98d['uHUYg'](spawn,_0x33d98d['yBvUh'],[_0x33d98d[_0x1fbaab(0x1bf)],..._0x5aee85],{'shell':_0x33d98d['fajqw'](process[_0x1fbaab(0x18c)],_0x33d98d[_0x1fbaab(0x19a)]),'stdio':_0x33d98d['bNNYq'],'env':_0x347596});_0x41d0bf['on'](_0x33d98d[_0x1fbaab(0x18a)],_0x2e3a0c=>{const _0x485ff3=_0x1fbaab;logger['debug']('jasmine\x20child\x20(platformIndex='+_0x2fa421[_0x485ff3(0x188)]+_0x485ff3(0x199)+(_0x1593bc[_0x485ff3(0x163)]?_0x1593bc[_0x485ff3(0x1b2)](','):_0x5d4423['Sybur'])+_0x485ff3(0x14d)+_0x2e3a0c),_0x5d4423['ncjjN'](_0x53cd19,_0x5d4423[_0x485ff3(0x178)](_0x2e3a0c,0x0));}),_0x41d0bf['on'](_0x33d98d['pNtzs'],_0x38d046=>{const _0x332794=_0x1fbaab;_0x33d98d[_0x332794(0x1bc)](debug,_0x332794(0x1d2)+_0x2fa421[_0x332794(0x188)]+')\x20:\x20'+util[_0x332794(0x177)](_0x38d046)),_0x33d98d[_0x332794(0x1bb)](_0x53cd19,0x1);});}catch(_0x3a3f76){_0x33d98d[_0x1fbaab(0x14c)](debug,_0x1fbaab(0x158)+_0x2fa421[_0x1fbaab(0x188)]+_0x1fbaab(0x16a)+util[_0x1fbaab(0x177)](_0x3a3f76)),_0x33d98d[_0x1fbaab(0x1a1)](_0x53cd19,0x1);}}),_0x5d9b0d=_0x33d98d[_0x223517(0x180)](pLimit,_0x33d98d[_0x223517(0x142)](_0x11d45e,0x0)?_0x11d45e:0x1),_0x1d4f83=await Promise['all'](_0x3c5928[_0x223517(0x1be)](_0x2af0f4=>_0x5d9b0d(()=>_0x1fa80e(_0x2af0f4))));PerformanceTester[_0x223517(0x1b9)](PerformanceEvents[_0x223517(0x15d)]);const _0x4753ff=_0x1d4f83['find'](_0x3460cf=>_0x3460cf!==0x0)||0x0;process[_0x223517(0x144)]=_0x4753ff,logger['debug'](_0x223517(0x148)+_0x4753ff);const _0x160f89=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x223517(0x13e)](),await BrowserstackCLI[_0x223517(0x146)]()[_0x223517(0x13e)]();}catch(_0x2620bc){_0x33d98d[_0x223517(0x17f)](debug,_0x223517(0x1a3)+util[_0x223517(0x177)](_0x2620bc));}testOpsHelper[_0x223517(0x1c9)](),await utilities['finalExecution'](_0x56f20f,_0x160f89);}module[a18_0x1cd0d5(0x1a5)]=run;
|
|
2
|
+
'use strict';const a18_0x58225b=a18_0x573c;function a18_0x573c(_0x2b6bd1,_0x4483b1){const _0x46a969=a18_0x46a9();return a18_0x573c=function(_0x573c12,_0x2a992d){_0x573c12=_0x573c12-0x12d;let _0x30ba2c=_0x46a969[_0x573c12];return _0x30ba2c;},a18_0x573c(_0x2b6bd1,_0x4483b1);}(function(_0x19efb1,_0x147a22){const _0x5c76d8=a18_0x573c,_0x346f3d=_0x19efb1();while(!![]){try{const _0x4c029a=-parseInt(_0x5c76d8(0x19e))/0x1+-parseInt(_0x5c76d8(0x166))/0x2+parseInt(_0x5c76d8(0x146))/0x3*(-parseInt(_0x5c76d8(0x132))/0x4)+parseInt(_0x5c76d8(0x1bc))/0x5+parseInt(_0x5c76d8(0x1ba))/0x6+parseInt(_0x5c76d8(0x16e))/0x7+parseInt(_0x5c76d8(0x187))/0x8*(parseInt(_0x5c76d8(0x1b2))/0x9);if(_0x4c029a===_0x147a22)break;else _0x346f3d['push'](_0x346f3d['shift']());}catch(_0x38ae66){_0x346f3d['push'](_0x346f3d['shift']());}}}(a18_0x46a9,0x711d8));const fs=require('fs'),path=require(a18_0x58225b(0x1cd)),util=require(a18_0x58225b(0x1b7)),{spawn}=require(a18_0x58225b(0x139)),glob=require('glob'),pLimit=require(a18_0x58225b(0x18e)),logger=require(a18_0x58225b(0x176))[a18_0x58225b(0x172)],helper=require(a18_0x58225b(0x147)),utilities=require('../../helpers/utilities'),constants=require(a18_0x58225b(0x1b4)),TestHubHandler=require(a18_0x58225b(0x183)),testOpsHelper=require(a18_0x58225b(0x167)),{debug}=require(a18_0x58225b(0x167)),{FRAMEWORKS}=require(a18_0x58225b(0x18f)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a18_0x58225b(0x191))[a18_0x58225b(0x190)],BrowserstackCLI=require(a18_0x58225b(0x17c)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x58225b(0x13d)),getMaxWorkers=(_0x31f313,_0x7aa229)=>{const _0x58c49b=a18_0x58225b,_0x64ba0={'obNIA':function(_0x22ac66,_0x38f00f){return _0x22ac66(_0x38f00f);}};let _0xff6a35=0x1;if(!helper['isUndefined'](_0x7aa229[_0x58c49b(0x1b6)]))_0xff6a35=_0x64ba0[_0x58c49b(0x1a6)](parseInt,_0x7aa229['parallelsPerPlatform']);else!helper[_0x58c49b(0x1c1)](_0x31f313[_0x58c49b(0x168)])&&(_0xff6a35=_0x31f313[_0x58c49b(0x168)]);return _0xff6a35;},resolveJasmineConfigPath=()=>{const _0x49852f=a18_0x58225b,_0xa23aea={};_0xa23aea[_0x49852f(0x14f)]='spec/support/jasmine.json';const _0x1f0fb1=_0xa23aea,_0x20546b=[];process[_0x49852f(0x19f)][_0x49852f(0x13f)]&&_0x20546b[_0x49852f(0x196)](path[_0x49852f(0x188)](process[_0x49852f(0x1be)](),process['env'][_0x49852f(0x13f)]));_0x20546b[_0x49852f(0x196)](path[_0x49852f(0x188)](process[_0x49852f(0x1be)](),_0x1f0fb1[_0x49852f(0x14f)]));for(const _0x20e91d of _0x20546b){try{if(fs[_0x49852f(0x16d)](_0x20e91d))return _0x20e91d;}catch(_0x5c4a0d){}}return null;},enumerateSpecFiles=_0x5b0d5a=>{const _0x436139=a18_0x58225b,_0x53a608={'MULNB':function(_0x223866,_0x3b271f){return _0x223866(_0x3b271f);},'pnONz':function(_0x13f6bf,_0xfe325){return _0x13f6bf>_0xfe325;},'seXTu':function(_0x778129,_0x168582){return _0x778129<_0x168582;},'IFLuK':function(_0xa9090d,_0x24552c){return _0xa9090d===_0x24552c;},'yqhBQ':_0x436139(0x198),'qnVjs':function(_0x51bf38,_0x2fd94f){return _0x51bf38>_0x2fd94f;},'yKHAX':function(_0xc21f3b,_0x305254,_0x48412f){return _0xc21f3b(_0x305254,_0x48412f);},'vsUOs':function(_0x5cab02){return _0x5cab02();},'TCPwq':_0x436139(0x165),'DcdZl':_0x436139(0x186),'zXVyj':function(_0xef76df,_0x872399){return _0xef76df>_0x872399;},'RnMiO':_0x436139(0x1ab),'rIDUZ':function(_0x55809e,_0x3a83db){return _0x55809e(_0x3a83db);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x356a98=testOpsHelper[_0x436139(0x1c7)](process['env'][_0x436139(0x18b)]);if(Array[_0x436139(0x1ac)](_0x356a98)&&_0x53a608['pnONz'](_0x356a98[_0x436139(0x177)],0x0))return _0x356a98[_0x436139(0x162)](_0x3a15f3=>path[_0x436139(0x188)](process[_0x436139(0x1be)](),_0x3a15f3['trim']()))['filter'](Boolean);}}catch(_0x173412){_0x53a608[_0x436139(0x17e)](debug,_0x436139(0x1cb)+util['format'](_0x173412));}const _0x5e8f13=[];try{for(let _0x5b872c=0x1;_0x53a608[_0x436139(0x145)](_0x5b872c,_0x5b0d5a[_0x436139(0x177)]);_0x5b872c++){const _0x13c903=_0x5b0d5a[_0x5b872c];_0x53a608[_0x436139(0x1c4)](typeof _0x13c903,_0x53a608[_0x436139(0x161)])&&!_0x13c903['startsWith']('-')&&_0x5e8f13['push'](_0x13c903);}}catch(_0x86804d){}const _0x43bd21={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x3f40cb=(_0x4caf5d,_0x9f92a)=>{const _0x2d48f9=_0x436139,_0xee395e=[];for(const _0x424a89 of _0x4caf5d){try{const _0x4bf409=_0x9f92a?path[_0x2d48f9(0x158)]['join'](_0x9f92a,_0x424a89):_0x424a89,_0x4c3de3=glob[_0x2d48f9(0x154)](_0x4bf409,_0x43bd21);Array[_0x2d48f9(0x1ac)](_0x4c3de3)&&_0xee395e[_0x2d48f9(0x196)](..._0x4c3de3);}catch(_0x142559){_0x53a608[_0x2d48f9(0x17e)](debug,_0x2d48f9(0x149)+_0x424a89+_0x2d48f9(0x163)+util[_0x2d48f9(0x15d)](_0x142559));}}return _0xee395e;};if(_0x53a608[_0x436139(0x137)](_0x5e8f13[_0x436139(0x177)],0x0)){const _0x553e19=_0x53a608[_0x436139(0x134)](_0x3f40cb,_0x5e8f13,null);if(_0x53a608['qnVjs'](_0x553e19[_0x436139(0x177)],0x0))return Array[_0x436139(0x199)](new Set(_0x553e19));return _0x5e8f13['map'](_0x402f5a=>path['resolve'](process[_0x436139(0x1be)](),_0x402f5a));}try{const _0x3629ff=_0x53a608[_0x436139(0x144)](resolveJasmineConfigPath);if(_0x3629ff){const _0x4d0bbd=JSON[_0x436139(0x1ca)](fs[_0x436139(0x1b3)](_0x3629ff,_0x53a608[_0x436139(0x17d)])),_0x53ee5e=_0x4d0bbd['spec_dir']||_0x53a608['DcdZl'],_0x85336=Array['isArray'](_0x4d0bbd[_0x436139(0x17a)])&&_0x53a608['zXVyj'](_0x4d0bbd[_0x436139(0x17a)]['length'],0x0)?_0x4d0bbd['spec_files']:[_0x53a608['RnMiO']],_0x5aa0e1=_0x53a608[_0x436139(0x134)](_0x3f40cb,_0x85336,_0x53ee5e);if(_0x53a608['zXVyj'](_0x5aa0e1[_0x436139(0x177)],0x0))return Array[_0x436139(0x199)](new Set(_0x5aa0e1));}}catch(_0x1365f5){_0x53a608[_0x436139(0x1b1)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x436139(0x15d)](_0x1365f5));}return null;};async function run(_0x49e841,_0x3bb526,_0x3a8c0f){const _0x2f6ec5=a18_0x58225b,_0x317e75={'cJcoq':function(_0x1142fc,_0x4dbf8a){return _0x1142fc>_0x4dbf8a;},'dVgCK':function(_0x6a9316,_0x5e4cd6){return _0x6a9316>_0x5e4cd6;},'qNFPK':_0x2f6ec5(0x180),'zPunt':function(_0x4b9841,_0x3ca20c){return _0x4b9841(_0x3ca20c);},'CiYxj':function(_0x5712e7,_0x459332){return _0x5712e7||_0x459332;},'decqU':function(_0x33e819,_0x4d1146){return _0x33e819(_0x4d1146);},'eZvNo':function(_0x3d3f6d,_0x1398b9){return _0x3d3f6d(_0x1398b9);},'mQPgm':function(_0x5bc8a7,_0xa56668){return _0x5bc8a7>_0xa56668;},'rjxha':function(_0x23d9ee,_0x8efd91,_0x20d03a,_0x1145e7){return _0x23d9ee(_0x8efd91,_0x20d03a,_0x1145e7);},'RlLIn':_0x2f6ec5(0x131),'GRUEs':_0x2f6ec5(0x1a7),'mDuCh':function(_0x6f464d,_0x82812e){return _0x6f464d===_0x82812e;},'HHRFh':'win32','EKbdS':_0x2f6ec5(0x181),'ZBYYo':'close','wMdaF':'error','ObZRg':_0x2f6ec5(0x14b),'grUUE':function(_0x1fdbb4){return _0x1fdbb4();},'vtyOZ':function(_0x671815,_0x5dd72f,_0x4e1349,_0x55a1de){return _0x671815(_0x5dd72f,_0x4e1349,_0x55a1de);},'GKSmq':function(_0x1359c4,_0x2f1416){return _0x1359c4!=_0x2f1416;},'IpWDj':'true','GwtGd':function(_0x12adba,_0x3de4d1){return _0x12adba(_0x3de4d1);},'xEiIm':function(_0x12a26d,_0x3280ed){return _0x12a26d(_0x3280ed);},'xrLeo':function(_0xadf757,_0xbaa5fe,_0x516ebb){return _0xadf757(_0xbaa5fe,_0x516ebb);},'DfOgw':function(_0x2c5ed2,_0xd1502e){return _0x2c5ed2*_0xd1502e;},'QBIAD':function(_0x3c74f0,_0x491472){return _0x3c74f0(_0x491472);},'XBMds':function(_0x335871,_0x211c61){return _0x335871(_0x211c61);},'Ompes':'test.setup.js','LTfdp':function(_0x1483bd,_0x44e0e0){return _0x1483bd(_0x44e0e0);},'GzadT':function(_0x5e0f98,_0x229e44){return _0x5e0f98(_0x229e44);},'FuLOA':function(_0x2559fb,_0x46b291){return _0x2559fb<_0x46b291;},'lezCO':function(_0x50fd1e,_0x2ab81f){return _0x50fd1e>_0x2ab81f;},'EEQDE':function(_0x456e1a,_0x5a2101){return _0x456e1a>_0x5a2101;},'dlrls':function(_0x3163a0,_0x4de5c5){return _0x3163a0(_0x4de5c5);}},_0x2caf72=helper['getPackageVersion'](_0x317e75[_0x2f6ec5(0x169)]);global[_0x2f6ec5(0x14d)]=!!_0x2caf72;const _0x5b23a3=_0x317e75[_0x2f6ec5(0x1bf)](getPuppeteerVersion);global[_0x2f6ec5(0x1b9)]=!!_0x5b23a3;helper['isBrowserstackInfra']()&&(await _0x3a8c0f[_0x2f6ec5(0x13b)](_0x49e841),await helper[_0x2f6ec5(0x170)](_0x3a8c0f['config']));if(_0x2caf72)await _0x317e75['vtyOZ'](checkPwandBootstrapCli,_0x2caf72,constants[_0x2f6ec5(0x173)][_0x2f6ec5(0x19c)],_0x3a8c0f);else _0x5b23a3&&await _0x317e75[_0x2f6ec5(0x156)](checkPuppeteerAndBootstrapCli,_0x5b23a3,constants[_0x2f6ec5(0x173)]['JASMINE'],_0x3a8c0f);if(!_0x3a8c0f[_0x2f6ec5(0x13c)])return;_0x317e75['GKSmq'](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x18d)],null)?process['env'][_0x2f6ec5(0x140)]=_0x3a8c0f['config']['testObservability']:process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x140)]=_0x317e75[_0x2f6ec5(0x15c)];!helper[_0x2f6ec5(0x1c1)](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x1a4)])&&(process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x192)]=JSON[_0x2f6ec5(0x153)](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x1a4)]));try{await TestHubHandler[_0x2f6ec5(0x143)](FRAMEWORKS['JASMINE'],_0x3a8c0f);}catch(_0x11bcf8){logger[_0x2f6ec5(0x150)](_0x2f6ec5(0x12d)+util[_0x2f6ec5(0x15d)](_0x11bcf8)),_0x317e75[_0x2f6ec5(0x13e)](debug,_0x2f6ec5(0x1c0)+util[_0x2f6ec5(0x15d)](_0x11bcf8));}let _0x503a80=![],_0x5bdaae=[];try{_0x503a80=helper['useW3C'](_0x3a8c0f[_0x2f6ec5(0x13c)]),_0x5bdaae=helper[_0x2f6ec5(0x1c2)](_0x3a8c0f['config'],_0x503a80,constants[_0x2f6ec5(0x173)]['JASMINE']),process['env']['BROWSERSTACK_CAPABILITIES']=JSON[_0x2f6ec5(0x153)](_0x5bdaae);}catch(_0x538447){_0x317e75[_0x2f6ec5(0x14a)](debug,_0x2f6ec5(0x1ae)+util[_0x2f6ec5(0x15d)](_0x538447));}let _0x744cc4=null,_0x1e2fb3=![];try{_0x744cc4=helper[_0x2f6ec5(0x195)](_0x3a8c0f[_0x2f6ec5(0x13c)]),_0x1e2fb3=helper[_0x2f6ec5(0x184)](_0x3a8c0f[_0x2f6ec5(0x13c)]);}catch(_0x3021ad){_0x317e75[_0x2f6ec5(0x174)](debug,_0x2f6ec5(0x155)+util[_0x2f6ec5(0x15d)](_0x3021ad));}let _0x19b054={};try{_0x19b054=helper[_0x2f6ec5(0x15e)](_0x3a8c0f['config'],_0x503a80,constants[_0x2f6ec5(0x173)][_0x2f6ec5(0x19c)]);}catch(_0xf2fc5b){_0x317e75[_0x2f6ec5(0x14a)](debug,_0x2f6ec5(0x17f)+util[_0x2f6ec5(0x15d)](_0xf2fc5b));}const _0x5d4be0=_0xbc1e75=>{const _0x570daf=_0x2f6ec5,_0x5c6c7d=Array[_0x570daf(0x1ac)](_0x5bdaae)&&_0x317e75[_0x570daf(0x189)](_0x5bdaae[_0x570daf(0x177)],_0xbc1e75)?_0x5bdaae[_0xbc1e75]:Array[_0x570daf(0x1ac)](_0x5bdaae)&&_0x317e75[_0x570daf(0x19b)](_0x5bdaae[_0x570daf(0x177)],0x0)?_0x5bdaae[0x0]:{};return Object[_0x570daf(0x138)]({'server':_0x744cc4,'capability':_0x5c6c7d,'proxySettings':_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x175)],'platform':helper[_0x570daf(0x1c8)](_0x5c6c7d),'browserStackLogLevel':_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x160)],'platformIndex':_0xbc1e75,'framework':constants[_0x570daf(0x173)][_0x570daf(0x19c)],'platformCaps':_0x1e2fb3?Object[_0x570daf(0x138)]({'index':_0xbc1e75},_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x12e)][_0xbc1e75]):{'index':_0xbc1e75}},_0x19b054);};let _0x3a9f32=0x1,_0x2d846a=0x1,_0x41e92f=0x1;try{_0x3a9f32=_0x317e75[_0x2f6ec5(0x14c)](getMaxWorkers,_0x49e841,_0x3a8c0f['config']),_0x2d846a=_0x1e2fb3?_0x3a8c0f[_0x2f6ec5(0x13c)]['platforms'][_0x2f6ec5(0x177)]:0x1,_0x41e92f=_0x317e75['DfOgw'](_0x2d846a,_0x3a9f32),process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x179)]=_0x317e75[_0x2f6ec5(0x16f)](String,_0x41e92f);}catch(_0x81f919){_0x317e75[_0x2f6ec5(0x12f)](debug,_0x2f6ec5(0x130)+util['format'](_0x81f919));}try{BrowserstackCLI[_0x2f6ec5(0x13a)]()[_0x2f6ec5(0x18a)]&&(process['env'][_0x2f6ec5(0x148)]=BrowserstackCLI[_0x2f6ec5(0x13a)]()[_0x2f6ec5(0x18a)]);}catch(_0x14d42a){_0x317e75[_0x2f6ec5(0x16f)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x14d42a));}const _0x116130=[];try{const _0x272079=path[_0x2f6ec5(0x188)](__dirname,_0x317e75[_0x2f6ec5(0x1a5)]);fs['existsSync'](_0x272079)?_0x116130['push'](_0x2f6ec5(0x182)+_0x272079):_0x317e75['decqU'](debug,_0x2f6ec5(0x16b)+_0x272079+_0x2f6ec5(0x1c6));}catch(_0x1374ab){_0x317e75[_0x2f6ec5(0x1a2)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x1374ab));}const _0x418fbd=_0x3bb526[_0x2f6ec5(0x197)](0x1),_0x444474=_0x317e75['GzadT'](enumerateSpecFiles,_0x3bb526),_0x2b2945=[];for(let _0x3ba79e=0x0;_0x317e75['FuLOA'](_0x3ba79e,_0x2d846a);_0x3ba79e++){if(_0x317e75[_0x2f6ec5(0x19b)](_0x3a9f32,0x1)&&Array[_0x2f6ec5(0x1ac)](_0x444474)&&_0x317e75[_0x2f6ec5(0x15f)](_0x444474['length'],0x0))for(const _0x768b0c of _0x444474){const _0x18cb66={};_0x18cb66[_0x2f6ec5(0x1a3)]=_0x3ba79e,_0x18cb66[_0x2f6ec5(0x1b5)]=[_0x768b0c],_0x2b2945[_0x2f6ec5(0x196)](_0x18cb66);}else{const _0x3d9d77={};_0x3d9d77['platformIndex']=_0x3ba79e,_0x3d9d77[_0x2f6ec5(0x1b5)]=_0x444474,_0x2b2945[_0x2f6ec5(0x196)](_0x3d9d77);}}logger[_0x2f6ec5(0x1c3)](_0x2f6ec5(0x1bd)+_0x2d846a+'\x20platform(s),\x20parallelsPerPlatform='+_0x3a9f32+'\x20('+_0x2b2945[_0x2f6ec5(0x177)]+_0x2f6ec5(0x142)+_0x41e92f+_0x2f6ec5(0x185)),PerformanceTester['end'](PerformanceEvents[_0x2f6ec5(0x15a)]);const _0x17f944=_0x302892=>new Promise(_0x2261ca=>{const _0x3298a5=_0x2f6ec5,_0x13459c={'kiNmf':function(_0x50fdb7,_0x176fd7){const _0x1bcb50=a18_0x573c;return _0x317e75[_0x1bcb50(0x1a8)](_0x50fdb7,_0x176fd7);}};let _0x5b661b;try{const _0x1c9e33=_0x317e75[_0x3298a5(0x1cc)](_0x5d4be0,_0x302892['platformIndex']);_0x5b661b=Object[_0x3298a5(0x138)]({},process[_0x3298a5(0x19f)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x3298a5(0x153)](_0x1c9e33),'BROWSERSTACK_CAPABILITIES':JSON[_0x3298a5(0x153)]([_0x1c9e33[_0x3298a5(0x1c5)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xc01e93){_0x317e75[_0x3298a5(0x1cc)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x302892[_0x3298a5(0x1a3)]+_0x3298a5(0x18c)+util[_0x3298a5(0x15d)](_0xc01e93)),_0x5b661b=Object[_0x3298a5(0x138)]({},process[_0x3298a5(0x19f)]);}const _0x428e98=Array[_0x3298a5(0x1ac)](_0x302892[_0x3298a5(0x1b5)])?_0x302892[_0x3298a5(0x1b5)]:[],_0x1d9329=_0x317e75[_0x3298a5(0x141)](_0x428e98['length'],0x0)?_0x418fbd[_0x3298a5(0x1a9)](_0x34f54d=>typeof _0x34f54d===_0x3298a5(0x198)&&_0x34f54d[_0x3298a5(0x15b)]('-')):_0x418fbd,_0x3bc5d9=[..._0x116130,..._0x1d9329,..._0x428e98];try{const _0x9e1ba8=_0x317e75[_0x3298a5(0x156)](spawn,_0x317e75[_0x3298a5(0x171)],[_0x317e75[_0x3298a5(0x133)],..._0x3bc5d9],{'shell':_0x317e75[_0x3298a5(0x193)](process['platform'],_0x317e75[_0x3298a5(0x1a1)]),'stdio':_0x317e75[_0x3298a5(0x14e)],'env':_0x5b661b});_0x9e1ba8['on'](_0x317e75[_0x3298a5(0x1b0)],_0x49a290=>{const _0x5bfb65=_0x3298a5;logger[_0x5bfb65(0x1aa)](_0x5bfb65(0x16a)+_0x302892['platformIndex']+_0x5bfb65(0x164)+(_0x428e98['length']?_0x428e98[_0x5bfb65(0x136)](','):_0x317e75[_0x5bfb65(0x194)])+_0x5bfb65(0x16c)+_0x49a290),_0x317e75[_0x5bfb65(0x14a)](_0x2261ca,_0x317e75[_0x5bfb65(0x159)](_0x49a290,0x0));}),_0x9e1ba8['on'](_0x317e75[_0x3298a5(0x17b)],_0x2219e9=>{const _0x223911=_0x3298a5;_0x13459c['kiNmf'](debug,_0x223911(0x1bb)+_0x302892[_0x223911(0x1a3)]+')\x20:\x20'+util[_0x223911(0x15d)](_0x2219e9)),_0x13459c['kiNmf'](_0x2261ca,0x1);});}catch(_0xf791e3){_0x317e75[_0x3298a5(0x1a8)](debug,_0x3298a5(0x1b8)+_0x302892[_0x3298a5(0x1a3)]+')\x20:\x20'+util['format'](_0xf791e3)),_0x317e75[_0x3298a5(0x14a)](_0x2261ca,0x1);}}),_0x366316=_0x317e75[_0x2f6ec5(0x135)](pLimit,_0x317e75[_0x2f6ec5(0x1af)](_0x41e92f,0x0)?_0x41e92f:0x1),_0x1276fb=await Promise[_0x2f6ec5(0x180)](_0x2b2945['map'](_0xa86521=>_0x366316(()=>_0x17f944(_0xa86521))));PerformanceTester[_0x2f6ec5(0x151)](PerformanceEvents[_0x2f6ec5(0x1ad)]);const _0xbf15b0=_0x1276fb[_0x2f6ec5(0x1c9)](_0x38f91d=>_0x38f91d!==0x0)||0x0;process[_0x2f6ec5(0x19a)]=_0xbf15b0,logger['debug'](_0x2f6ec5(0x178)+_0xbf15b0);const _0x28ea80=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x2f6ec5(0x152)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x373d05){_0x317e75['dlrls'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x373d05));}testOpsHelper[_0x2f6ec5(0x157)](),await utilities[_0x2f6ec5(0x1a0)](_0x3a8c0f,_0x28ea80);}function a18_0x46a9(){const _0x102485=['map','\x27\x20:\x20',',\x20specs=','utf8','388646aUcOmU','../../helpers/test-observability/utils','maxWorkers','ObZRg','jasmine\x20child\x20(platformIndex=','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20',')\x20exited\x20with\x20code\x20','existsSync','2907870arRlgI','QBIAD','handleApp','RlLIn','winstonLogger','FRAMEWORKS','xEiIm','proxySettings','../../helpers/logger','length','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','BROWSERSTACK_JASMINE_PARALLELS','spec_files','wMdaF','../v2/browserstackCLI','TCPwq','MULNB','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','all','inherit','--helper=','../../helpers/testhub/testhubHandler','validPlatformsPresent','\x20concurrent)','spec','8OHgtKF','resolve','cJcoq','binSessionId','BROWSERSTACK_RERUN_TESTS','\x20:\x20','testObservability','p-limit','../../helpers/test-observability/constants','EVENTS','../../helpers/performance/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mDuCh','qNFPK','getHubUrl','push','slice','string','from','exitCode','dVgCK','JASMINE','exports','896400MqLzur','env','finalExecution','HHRFh','LTfdp','platformIndex','accessibilityOptions','Ompes','obNIA','jasmine','decqU','filter','debug','**/*[sS]pec.?(m)js','isArray','SDK_CLEANUP','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','EEQDE','ZBYYo','rIDUZ','9011619qZkjxm','readFileSync','../utils/constants','specArgs','parallelsPerPlatform','util','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','__isPuppeteerInstalled','61320HDdUPK','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','1993520hmfjUJ','Running\x20your\x20Jasmine\x20tests\x20across\x20','cwd','grUUE','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','isUndefined','prepareCapabilities','info','IFLuK','capability',';\x20proceeding\x20without\x20injection','parseFileNames','getPlatformName','find','parse','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','eZvNo','path','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','platforms','XBMds','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','npx','8PRbkzP','GRUEs','yKHAX','GzadT','join','qnVjs','assign','child_process','getInstance','initialize','config','../../helpers/puppeteer-helper','GwtGd','JASMINE_CONFIG_PATH','BROWSERSTACK_TEST_OBSERVABILITY_YML','mQPgm','\x20work-item(s),\x20max\x20','launchBuild','vsUOs','seXTu','407373xbpcWx','../../helpers/helper','BROWSERSTACK_CLI_BIN_SESSION_ID','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','zPunt','@playwright/test','xrLeo','__isPlaywrightInstalled','EKbdS','QZPPe','error','start','stop','stringify','globSync','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','rjxha','printBuildLink','posix','CiYxj','SDK_SETUP','startsWith','IpWDj','format','getMultiDriverWorkerConfig','lezCO','logLevel','yqhBQ'];a18_0x46a9=function(){return _0x102485;};return a18_0x46a9();}module[a18_0x58225b(0x19d)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x4fbef8=a19_0x2846;(function(_0xead9da,_0x562ce5){const _0x2612d3=a19_0x2846,_0xaf59c4=_0xead9da();while(!![]){try{const _0x43b1df=parseInt(_0x2612d3(0x1d1))/0x1+parseInt(_0x2612d3(0x172))/0x2*(parseInt(_0x2612d3(0x180))/0x3)+parseInt(_0x2612d3(0x1bd))/0x4+parseInt(_0x2612d3(0x182))/0x5+parseInt(_0x2612d3(0x171))/0x6+-parseInt(_0x2612d3(0x178))/0x7*(parseInt(_0x2612d3(0x196))/0x8)+-parseInt(_0x2612d3(0x16d))/0x9*(parseInt(_0x2612d3(0x1a4))/0xa);if(_0x43b1df===_0x562ce5)break;else _0xaf59c4['push'](_0xaf59c4['shift']());}catch(_0x9a5e70){_0xaf59c4['push'](_0xaf59c4['shift']());}}}(a19_0x55c0,0x22d29));const util=require(a19_0x4fbef8(0x19a)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a19_0x4fbef8(0x151)),globals=require(a19_0x4fbef8(0x1b3)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x4fbef8(0x17d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x4fbef8(0x17a)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x4fbef8(0x1cb));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x4fbef8(0x1c7)][a19_0x4fbef8(0x1b9)]||process[a19_0x4fbef8(0x1c7)][a19_0x4fbef8(0x18a)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x4fbef8(0x194)](rawConfig));}catch(a19_0x3d6fa1){logger[a19_0x4fbef8(0x189)](a19_0x4fbef8(0x1c4)+util[a19_0x4fbef8(0x163)](a19_0x3d6fa1));}try{if(_bstackConfig&&!helper[a19_0x4fbef8(0x1b5)]('@playwright/test')){const TcDVww='4|3|0|2|1'[a19_0x4fbef8(0x17b)]('|');let qjeSUd=0x0;while(!![]){switch(TcDVww[qjeSUd++]){case'0':global[a19_0x4fbef8(0x1a3)]=_bstackConfig['platformCaps']||{};continue;case'1':helper[a19_0x4fbef8(0x16e)]()?(global[a19_0x4fbef8(0x185)]=helper[a19_0x4fbef8(0x165)](_bstackConfig[a19_0x4fbef8(0x1c8)]),global[a19_0x4fbef8(0x1b7)]=helper[a19_0x4fbef8(0x165)](_bstackConfig[a19_0x4fbef8(0x1b8)])):(global[a19_0x4fbef8(0x185)]=!![],global[a19_0x4fbef8(0x1b7)]=!![]);continue;case'2':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;case'3':shouldProcessEventForTesthub()?require(a19_0x4fbef8(0x186))[a19_0x4fbef8(0x161)](_bstackConfig,null,!![]):require(a19_0x4fbef8(0x186))[a19_0x4fbef8(0x161)](_bstackConfig);continue;case'4':logger['debug'](a19_0x4fbef8(0x15d));continue;}break;}}}catch(a19_0x3f9055){logger['debug'](a19_0x4fbef8(0x19e)+util[a19_0x4fbef8(0x163)](a19_0x3f9055));}const _fileNameByFullName={};function a19_0x2846(_0x120074,_0x28f714){const _0x55c03c=a19_0x55c0();return a19_0x2846=function(_0x284628,_0x3cf9ef){_0x284628=_0x284628-0x151;let _0x14e1d5=_0x55c03c[_0x284628];return _0x14e1d5;},a19_0x2846(_0x120074,_0x28f714);}try{if(typeof describe==='function'&&typeof global!==a19_0x4fbef8(0x1b4)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x4d41a8=a19_0x4fbef8,_0x37d6d2={'dOhSH':function(_0x143fa5,_0x16f87f){return _0x143fa5(_0x16f87f);},'qemeT':'path','WsIYd':_0x4d41a8(0x19f),'ejQcU':_0x4d41a8(0x16f)},_0x3748e1=Error[_0x4d41a8(0x1c9)];try{const _0x418f87=new Error();Error[_0x4d41a8(0x1c9)]=(_0x399ef7,_0x559233)=>_0x559233;const _0xac9d3a=_0x418f87[_0x4d41a8(0x15f)];Error[_0x4d41a8(0x1c9)]=_0x3748e1;if(Array[_0x4d41a8(0x1c2)](_0xac9d3a))for(const _0x5e47e7 of _0xac9d3a){const _0x4aaa70=_0x5e47e7[_0x4d41a8(0x1ac)]&&_0x5e47e7['getFileName']();if(_0x4aaa70&&!_0x4aaa70[_0x4d41a8(0x1d6)]('bin'+_0x37d6d2[_0x4d41a8(0x1bf)](require,_0x37d6d2[_0x4d41a8(0x173)])[_0x4d41a8(0x166)]+_0x4d41a8(0x159)+_0x37d6d2[_0x4d41a8(0x1bf)](require,_0x37d6d2[_0x4d41a8(0x173)])[_0x4d41a8(0x166)])&&!_0x4aaa70[_0x4d41a8(0x1b6)](_0x37d6d2['WsIYd'])&&!_0x4aaa70[_0x4d41a8(0x1d6)](_0x37d6d2[_0x4d41a8(0x1cc)]))return _0x4aaa70;}}catch(_0x52a042){Error[_0x4d41a8(0x1c9)]=_0x3748e1;}return null;},_wrappedDescribe=function(_0x399efd,_0x3961f3){const _0x1c4078=a19_0x4fbef8,_0x57c2e5={'Agahx':function(_0x38674b){return _0x38674b();},'ihmZG':function(_0x263cb5,_0x49b4a3){return _0x263cb5&&_0x49b4a3;},'dMxEE':function(_0x714007,_0x11a67f,_0x575c4b){return _0x714007(_0x11a67f,_0x575c4b);}};let _0xae4c1f=null;try{_0xae4c1f=_0x57c2e5[_0x1c4078(0x175)](_resolveCallerFile);}catch(_0x4900f9){}_describeTitleStack['push'](_0x399efd);const _0x5889eb=_describeTitleStack[_0x1c4078(0x157)]('\x20');_0x57c2e5[_0x1c4078(0x15a)](_0xae4c1f,_0x5889eb)&&(_fileNameByFullName[_0x5889eb]=_0xae4c1f);try{return _0x57c2e5['dMxEE'](_origDescribe,_0x399efd,_0x3961f3);}finally{_describeTitleStack[_0x1c4078(0x155)]();}};Object[a19_0x4fbef8(0x19b)](_origDescribe)[a19_0x4fbef8(0x179)](_0x1b0253=>{_wrappedDescribe[_0x1b0253]=_origDescribe[_0x1b0253];}),global[a19_0x4fbef8(0x1ab)]=_wrappedDescribe;}}catch(a19_0x6178cb){logger[a19_0x4fbef8(0x189)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a19_0x4fbef8(0x163)](a19_0x6178cb));}try{if(typeof jasmine!==a19_0x4fbef8(0x1b4)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a19_0x4fbef8(0x164)),a19_0x559e23={};a19_0x559e23[a19_0x4fbef8(0x1c6)]=_fileNameByFullName,jasmine['getEnv']()[a19_0x4fbef8(0x152)](new BrowserStackJasmineReporter(a19_0x559e23)),logger[a19_0x4fbef8(0x189)](a19_0x4fbef8(0x1ae));}else logger[a19_0x4fbef8(0x189)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a19_0x58a948){logger['debug'](a19_0x4fbef8(0x1aa)+util['format'](a19_0x58a948));}try{typeof jasmine!==a19_0x4fbef8(0x1b4)&&jasmine[a19_0x4fbef8(0x1cf)]&&jasmine[a19_0x4fbef8(0x1cf)]()[a19_0x4fbef8(0x152)]({'specStarted'(_0x3c01aa){const _0x1ddff9=a19_0x4fbef8,_0x221f17={};_0x221f17[_0x1ddff9(0x154)]=function(_0x345d27,_0x2e0f90){return _0x345d27||_0x2e0f90;};const _0x20ecb8=_0x221f17;_activeResultId=_0x3c01aa&&_0x3c01aa['id'],_activeFullName=_0x3c01aa&&_0x3c01aa[_0x1ddff9(0x197)],_activeResultRef=_0x20ecb8['MmKFY'](_0x3c01aa,null);},'specDone'(){}});}catch(a19_0x315c02){logger[a19_0x4fbef8(0x189)](a19_0x4fbef8(0x191)+util['format'](a19_0x315c02));}const _resolveAutoScanning=()=>{const _0x2cb3d3=a19_0x4fbef8,_0x302746={};_0x302746[_0x2cb3d3(0x1c3)]=function(_0x758ed5,_0x4f9b8e){return _0x758ed5===_0x4f9b8e;};const _0xf92e97=_0x302746;let _0x1f3386=!![];try{const _0x1b70cf=JSON[_0x2cb3d3(0x194)](process['env'][_0x2cb3d3(0x17e)]||'{}');_0xf92e97[_0x2cb3d3(0x1c3)](_0x1b70cf['autoScanning'],![])&&(_0x1f3386=![]);}catch(_0x4f20ff){logger[_0x2cb3d3(0x189)](_0x2cb3d3(0x15e)+_0x4f20ff['message']);}return _0x1f3386;};try{typeof beforeEach===a19_0x4fbef8(0x1d2)&&beforeEach(function bstackA11yBeforeEach(){const _0x3942da=a19_0x4fbef8,_0x230766={'GPsdX':function(_0x4bcd09){return _0x4bcd09();},'WqFQm':function(_0x5887f3,_0x5dddec,_0x42ecd9){return _0x5887f3(_0x5dddec,_0x42ecd9);},'CqvMO':function(_0x44599d,_0x42b42b){return _0x44599d&&_0x42b42b;},'BRLoq':_0x3942da(0x1af),'UsPDL':_0x3942da(0x199)};try{const _0x5a75f5=_0x230766[_0x3942da(0x19c)](_resolveAutoScanning),_0x3aeb41=_0x230766[_0x3942da(0x1da)](shouldScanTestForAccessibility,null,![]),_0x3b53c4=_0x230766[_0x3942da(0x188)](_0x5a75f5,_0x3aeb41);globals[_0x3942da(0x1ba)](_0x230766[_0x3942da(0x1bc)],_0x3b53c4),globals[_0x3942da(0x1ba)](_0x230766['UsPDL'],null);}catch(_0x2bd86e){logger[_0x3942da(0x189)](_0x3942da(0x174)+util[_0x3942da(0x163)](_0x2bd86e));}}),typeof afterEach===a19_0x4fbef8(0x1d2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x1602e9=a19_0x4fbef8,_0x5649fe={'ptifo':function(_0x5c6814,_0x2c6766){return _0x5c6814>_0x2c6766;},'pljPM':function(_0x3e3a75,_0x48cc37){return _0x3e3a75>_0x48cc37;},'xsFCE':'Spec\x20failed','yutbx':function(_0x2489e6,_0x226834){return _0x2489e6+_0x226834;},'outZq':_0x1602e9(0x1d3),'YmXzj':_0x1602e9(0x1a1),'woAwA':_0x1602e9(0x177),'kmTnw':'info','UbfZY':_0x1602e9(0x190),'zKJSQ':_0x1602e9(0x168),'izNVM':function(_0x128522){return _0x128522();},'zvDHx':_0x1602e9(0x1d7),'tdHth':function(_0x198a2f,_0x457420){return _0x198a2f>_0x457420;},'tGOqZ':_0x1602e9(0x1af),'LSGFf':_0x1602e9(0x1d4),'auquG':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','dupvQ':_0x1602e9(0x162),'OmChs':_0x1602e9(0x1b0),'gnIMg':_0x1602e9(0x15b),'qLYUm':_0x1602e9(0x1be),'usIJM':_0x1602e9(0x18c)};try{if(Array[_0x1602e9(0x1c2)](global[_0x1602e9(0x1a6)])&&_0x5649fe[_0x1602e9(0x1ce)](global['__drivers']['length'],0x1)){const _0x2c6203=global[_0x1602e9(0x1a6)][0x0];try{await _0x2c6203['session_'],await _0x2c6203['initQuit']();}catch(_0x53b33e){logger[_0x1602e9(0x189)](_0x1602e9(0x1c5)+util['format'](_0x53b33e));}global[_0x1602e9(0x1a6)][_0x1602e9(0x1a9)]();}}catch(_0x5be463){logger[_0x1602e9(0x189)](_0x1602e9(0x1c0)+util['format'](_0x5be463));}try{if(Array[_0x1602e9(0x1c2)](global[_0x1602e9(0x1a6)])&&_0x5649fe[_0x1602e9(0x1ce)](global[_0x1602e9(0x1a6)][_0x1602e9(0x1a8)],0x0)&&global[_0x1602e9(0x1a6)][0x0]){const _0xce2fa2=_activeFullName||global[_0x1602e9(0x158)];if(!global['__skipSessionName']&&_0xce2fa2){global[_0x1602e9(0x158)]=_0xce2fa2;try{await global[_0x1602e9(0x1a6)][0x0][_0x1602e9(0x18e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x1602e9(0x184)](_0xce2fa2)+'}}'),global[_0x1602e9(0x1a6)][0x0][_0x1602e9(0x1d8)]=!![];}catch(_0x31cb75){logger['debug'](_0x1602e9(0x195)+util[_0x1602e9(0x163)](_0x31cb75));}}if(!global['__skipSessionStatus'])try{const _0x4c5405=_activeResultRef&&Array[_0x1602e9(0x1c2)](_activeResultRef[_0x1602e9(0x170)])?_activeResultRef[_0x1602e9(0x170)]:[],_0x28b054=_0x5649fe[_0x1602e9(0x1a7)](_0x4c5405[_0x1602e9(0x1a8)],0x0),_0xf64281=_0x28b054?_0x4c5405[0x0]&&_0x4c5405[0x0]['message']||_0x5649fe[_0x1602e9(0x1a5)]:null;try{await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON[_0x1602e9(0x184)](_0x28b054?_0x5649fe[_0x1602e9(0x169)](_0x5649fe[_0x1602e9(0x1d5)],_0xf64281):_0x5649fe[_0x1602e9(0x1d9)])+',\x22level\x22:\x20\x22'+(_0x28b054?_0x5649fe[_0x1602e9(0x1a2)]:_0x5649fe['kmTnw'])+'\x22}}');}catch(_0x115a28){logger['debug'](_0x1602e9(0x16b)+util[_0x1602e9(0x163)](_0x115a28));}_0x28b054&&(global[_0x1602e9(0x153)]=!![]),await helper['markSessionStatus'](global[_0x1602e9(0x1a6)][0x0],_0x28b054?_0x5649fe[_0x1602e9(0x1ca)]:_0x5649fe['zKJSQ'],_0xf64281);}catch(_0x2c6a1b){logger[_0x1602e9(0x189)](_0x1602e9(0x192)+util[_0x1602e9(0x163)](_0x2c6a1b));}}}catch(_0xcaa31d){logger[_0x1602e9(0x189)](_0x1602e9(0x176)+util[_0x1602e9(0x163)](_0xcaa31d));}try{if(_0x5649fe[_0x1602e9(0x1bb)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x5649fe[_0x1602e9(0x1ad)])&&Array['isArray'](global[_0x1602e9(0x1a6)])&&_0x5649fe[_0x1602e9(0x193)](global[_0x1602e9(0x1a6)][_0x1602e9(0x1a8)],0x0)&&global[_0x1602e9(0x1a6)][0x0]){const _0x1760a4=testRunMap[_0x1602e9(0x18f)](_activeResultId),_0x1a2d39={};_0x1a2d39[_0x1602e9(0x156)]=_0x1760a4,_0x1a2d39['thBuildUuid']=process[_0x1602e9(0x1c7)][testHubConstants[_0x1602e9(0x160)][_0x1602e9(0x16c)]],_0x1a2d39[_0x1602e9(0x1b2)]=process[_0x1602e9(0x1c7)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x3e0824=_0x1a2d39;logger[_0x1602e9(0x189)](_0x1602e9(0x17c)+JSON[_0x1602e9(0x184)](_0x3e0824));if(globals[_0x1602e9(0x18d)](_0x5649fe[_0x1602e9(0x183)])){logger['debug'](_0x5649fe[_0x1602e9(0x15c)]);const _0x47917c=await accessibilityRetryHelper[_0x1602e9(0x1b1)](global[_0x1602e9(0x1a6)][0x0],global[_0x1602e9(0x1cd)]);_0x47917c?logger[_0x1602e9(0x189)](_0x5649fe[_0x1602e9(0x187)]):logger['warn'](_0x5649fe[_0x1602e9(0x16a)]);}else logger['debug'](_0x5649fe['OmChs']);globals['getGlobal'](_0x5649fe[_0x1602e9(0x181)])&&(_0x3e0824['is_mobile_session']=!![]);const _0x202ae1=await accessibilityRetryHelper[_0x1602e9(0x198)](global['__drivers'][0x0],_0x3e0824);_0x202ae1?logger[_0x1602e9(0x189)](_0x5649fe[_0x1602e9(0x18b)]):logger['warn'](_0x5649fe['usIJM']);}}catch(_0x598123){logger['error'](_0x1602e9(0x1a0)+util[_0x1602e9(0x163)](_0x598123));}});}catch(a19_0x23451c){logger['debug'](a19_0x4fbef8(0x1c1)+util[a19_0x4fbef8(0x163)](a19_0x23451c));}try{typeof afterAll===a19_0x4fbef8(0x1d2)&&afterAll(async function bstackFinalDriverQuit(){const _0x3c2ed4=a19_0x4fbef8,_0x400fda={};_0x400fda['LuGjR']=function(_0x34da45,_0x52fb43){return _0x34da45>_0x52fb43;};const _0xc1817a=_0x400fda;try{Array[_0x3c2ed4(0x1c2)](global[_0x3c2ed4(0x1a6)])&&_0xc1817a['LuGjR'](global['__drivers'][_0x3c2ed4(0x1a8)],0x0)&&global[_0x3c2ed4(0x1a6)][0x0]&&(await global['__drivers'][0x0][_0x3c2ed4(0x19d)],await global['__drivers'][0x0][_0x3c2ed4(0x167)]());}catch(_0x1ca182){logger['debug'](_0x3c2ed4(0x1d0)+util['format'](_0x1ca182));}});}catch(a19_0xf8deb5){logger[a19_0x4fbef8(0x189)](a19_0x4fbef8(0x17f)+util['format'](a19_0xf8deb5));}function a19_0x55c0(){const _0x5bf817=['YmXzj','WqFQm','../../helpers/helper','addReporter','__sessionFailed','MmKFY','pop','thTestRunUuid','join','sessionName','jasmine','ihmZG','isMobilePlatform','LSGFf','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','stack','ENV_VAR','browserstackAgentV2','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','format','./bstack-reporter/customReporter','isTrue','sep','initQuit','passed','yutbx','dupvQ','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','BROWSERSTACK_TESTHUB_UUID','7567569ZVCYBR','isBrowserstackInfra','jasmine-core','failedExpectations','943860aAkDES','277252NsIxUK','qemeT','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Agahx','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','error','217KWQMEZ','forEach','../../helpers/accessibility-automation/helper','split','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../helpers/testhub/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20','6HgAFiC','gnIMg','245880RZLnFA','tGOqZ','stringify','__skipSessionName','../../index','auquG','CqvMO','debug','CONFIG','qLYUm','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','getGlobal','executeScript','get','failed','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','tdHth','parse','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','8264vnfHCq','fullName','saveAccessibilityResultsWithRetry','bstackA11yScanOptions','util','keys','GPsdX','session_','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','node:','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','Passed','woAwA','__platformCaps','10JRRapB','xsFCE','__drivers','pljPM','length','shift','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','describe','getFileName','zvDHx','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','bstackA11yShouldScan','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','performScanWithRetry','thJwtToken','../../helpers/globals','undefined','getPackageVersion','startsWith','__skipSessionStatus','skipSessionStatus','BROWSERSTACK_JASMINE_CONFIG','setGlobal','izNVM','BRLoq','1028252OvlGSJ','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','dOhSH','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','isArray','ZqRww','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','fileNameByFullName','env','skipSessionName','prepareStackTrace','UbfZY','./testRunMap','ejQcU','browserstackSessionName','ptifo','getEnv','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','274696RXtisp','function','Failed:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','outZq','includes','isAccessibilityPlatform','sessionNameSet__'];a19_0x55c0=function(){return _0x5bf817;};return a19_0x55c0();}module['exports']={};
|
|
1
|
+
'use strict';const a19_0x450c3b=a19_0x7cc4;(function(_0x2ee9b7,_0x2ce9ae){const _0x47a460=a19_0x7cc4,_0x336054=_0x2ee9b7();while(!![]){try{const _0x375176=-parseInt(_0x47a460(0x19b))/0x1*(-parseInt(_0x47a460(0x161))/0x2)+parseInt(_0x47a460(0x1b8))/0x3+parseInt(_0x47a460(0x1b6))/0x4*(-parseInt(_0x47a460(0x1bc))/0x5)+-parseInt(_0x47a460(0x19c))/0x6*(parseInt(_0x47a460(0x167))/0x7)+-parseInt(_0x47a460(0x1b3))/0x8+-parseInt(_0x47a460(0x164))/0x9+parseInt(_0x47a460(0x1bb))/0xa*(parseInt(_0x47a460(0x182))/0xb);if(_0x375176===_0x2ce9ae)break;else _0x336054['push'](_0x336054['shift']());}catch(_0x59d947){_0x336054['push'](_0x336054['shift']());}}}(a19_0x28cc,0xe59ca));const util=require(a19_0x450c3b(0x18a)),logger=require('../../helpers/logger')[a19_0x450c3b(0x168)],helper=require(a19_0x450c3b(0x16e)),globals=require(a19_0x450c3b(0x1a7)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x450c3b(0x1d3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x450c3b(0x17b)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x450c3b(0x1b7));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x450c3b(0x181)]||process[a19_0x450c3b(0x16c)][a19_0x450c3b(0x19f)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x450c3b(0x1a3)](rawConfig));}catch(a19_0x4a1253){logger[a19_0x450c3b(0x1b5)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x450c3b(0x178)](a19_0x4a1253));}try{if(_bstackConfig&&!helper[a19_0x450c3b(0x1ba)](a19_0x450c3b(0x169))){const vzgWmv=a19_0x450c3b(0x190)[a19_0x450c3b(0x179)]('|');let osyjwF=0x0;while(!![]){switch(vzgWmv[osyjwF++]){case'0':shouldProcessEventForTesthub()?require(a19_0x450c3b(0x17e))[a19_0x450c3b(0x1c8)](_bstackConfig,null,!![]):require('../../index')[a19_0x450c3b(0x1c8)](_bstackConfig);continue;case'1':global['__platformCaps']=_bstackConfig[a19_0x450c3b(0x1ec)]||{};continue;case'2':global[a19_0x450c3b(0x162)]=_bstackConfig[a19_0x450c3b(0x16a)];continue;case'3':helper[a19_0x450c3b(0x166)]()?(global[a19_0x450c3b(0x1ea)]=helper[a19_0x450c3b(0x1ad)](_bstackConfig[a19_0x450c3b(0x1b0)]),global[a19_0x450c3b(0x1bf)]=helper['isTrue'](_bstackConfig[a19_0x450c3b(0x1d6)])):(global['__skipSessionName']=!![],global[a19_0x450c3b(0x1bf)]=!![]);continue;case'4':logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x189));continue;}break;}}}catch(a19_0x26844b){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x450c3b(0x178)](a19_0x26844b));}const _fileNameByFullName={};function a19_0x7cc4(_0x2e407e,_0x15bfb1){const _0x28cc9f=a19_0x28cc();return a19_0x7cc4=function(_0x7cc485,_0x2701d4){_0x7cc485=_0x7cc485-0x161;let _0xe70aa3=_0x28cc9f[_0x7cc485];return _0xe70aa3;},a19_0x7cc4(_0x2e407e,_0x15bfb1);}try{if(typeof describe==='function'&&typeof global!==a19_0x450c3b(0x1d1)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xe3b104=a19_0x450c3b,_0x6ce389={'VNGZf':function(_0x4afb57,_0x38b9d5){return _0x4afb57(_0x38b9d5);},'wUJVy':_0xe3b104(0x19a),'XuaIa':function(_0x239582,_0x1812d1){return _0x239582(_0x1812d1);},'xTgRx':'node:','vwpnn':_0xe3b104(0x175)},_0x7173a8=Error['prepareStackTrace'];try{const _0x4cc508=new Error();Error[_0xe3b104(0x18c)]=(_0x4aaf61,_0xeb3cd2)=>_0xeb3cd2;const _0x38d332=_0x4cc508[_0xe3b104(0x188)];Error['prepareStackTrace']=_0x7173a8;if(Array[_0xe3b104(0x173)](_0x38d332))for(const _0x242b7e of _0x38d332){const _0x481457=_0x242b7e[_0xe3b104(0x1cd)]&&_0x242b7e['getFileName']();if(_0x481457&&!_0x481457[_0xe3b104(0x1e8)](_0xe3b104(0x170)+_0x6ce389[_0xe3b104(0x1c4)](require,_0x6ce389['wUJVy'])[_0xe3b104(0x1a1)]+'jasmine'+_0x6ce389[_0xe3b104(0x186)](require,_0x6ce389[_0xe3b104(0x17a)])[_0xe3b104(0x1a1)])&&!_0x481457['startsWith'](_0x6ce389['xTgRx'])&&!_0x481457[_0xe3b104(0x1e8)](_0x6ce389[_0xe3b104(0x194)]))return _0x481457;}}catch(_0x367a78){Error[_0xe3b104(0x18c)]=_0x7173a8;}return null;},_wrappedDescribe=function(_0x3f95eb,_0xd5edcd){const _0xd4ba8f=a19_0x450c3b,_0x3096f1={'zJlbE':function(_0x212476){return _0x212476();},'xrfBu':function(_0x1aca5a,_0x49f4c7){return _0x1aca5a&&_0x49f4c7;},'fdCTE':function(_0x388ec1,_0x5025b0,_0x1264a4){return _0x388ec1(_0x5025b0,_0x1264a4);}};let _0xa9b69f=null;try{_0xa9b69f=_0x3096f1['zJlbE'](_resolveCallerFile);}catch(_0x138d6b){}_describeTitleStack[_0xd4ba8f(0x1ed)](_0x3f95eb);const _0x4c53f9=_describeTitleStack[_0xd4ba8f(0x1cc)]('\x20');_0x3096f1['xrfBu'](_0xa9b69f,_0x4c53f9)&&(_fileNameByFullName[_0x4c53f9]=_0xa9b69f);try{return _0x3096f1[_0xd4ba8f(0x1ca)](_origDescribe,_0x3f95eb,_0xd5edcd);}finally{_describeTitleStack[_0xd4ba8f(0x1c0)]();}};Object['keys'](_origDescribe)[a19_0x450c3b(0x1e6)](_0x2f58e0=>{_wrappedDescribe[_0x2f58e0]=_origDescribe[_0x2f58e0];}),global[a19_0x450c3b(0x1c5)]=_wrappedDescribe;}}catch(a19_0x4b3ef3){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x18e)+util[a19_0x450c3b(0x178)](a19_0x4b3ef3));}try{if(typeof jasmine!=='undefined'&&jasmine[a19_0x450c3b(0x1ef)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x202214={};a19_0x202214[a19_0x450c3b(0x195)]=_fileNameByFullName,jasmine[a19_0x450c3b(0x1ef)]()['addReporter'](new BrowserStackJasmineReporter(a19_0x202214)),logger[a19_0x450c3b(0x1b5)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x1a0));}catch(a19_0x5157c8){logger['debug'](a19_0x450c3b(0x1e9)+util['format'](a19_0x5157c8));}try{typeof jasmine!=='undefined'&&jasmine[a19_0x450c3b(0x1ef)]&&jasmine[a19_0x450c3b(0x1ef)]()[a19_0x450c3b(0x1d5)]({'specStarted'(_0x5371f9){const _0x21a5c2=a19_0x450c3b,_0x56f7cb={};_0x56f7cb['bEokb']=function(_0x37a700,_0x452361){return _0x37a700||_0x452361;};const _0x42195b=_0x56f7cb;_activeResultId=_0x5371f9&&_0x5371f9['id'],_activeFullName=_0x5371f9&&_0x5371f9[_0x21a5c2(0x172)],_activeResultRef=_0x42195b[_0x21a5c2(0x1be)](_0x5371f9,null);},'specDone'(){}});}catch(a19_0xe6880b){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x183)+util[a19_0x450c3b(0x178)](a19_0xe6880b));}const _resolveAutoScanning=()=>{const _0xd2f2c=a19_0x450c3b,_0x3f3f9f={};_0x3f3f9f[_0xd2f2c(0x1c1)]=function(_0x4dc69b,_0xcde35b){return _0x4dc69b===_0xcde35b;};const _0xc72da3=_0x3f3f9f;let _0x3423c4=!![];try{const _0x218214=JSON[_0xd2f2c(0x1a3)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0xc72da3[_0xd2f2c(0x1c1)](_0x218214[_0xd2f2c(0x1b9)],![])&&(_0x3423c4=![]);}catch(_0x475bdf){logger['debug'](_0xd2f2c(0x16d)+_0x475bdf[_0xd2f2c(0x1da)]);}return _0x3423c4;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x5a9c28=a19_0x450c3b,_0x1d47e9={'knHxb':function(_0x38721d){return _0x38721d();},'xpLdj':function(_0x214965,_0x415d17,_0x5e37c3){return _0x214965(_0x415d17,_0x5e37c3);},'afagI':function(_0x436fd0,_0xb55d46){return _0x436fd0&&_0xb55d46;},'VEgWT':_0x5a9c28(0x1eb),'MPGXU':'bstackA11yScanOptions'};try{const _0x221e64=_0x1d47e9[_0x5a9c28(0x187)](_resolveAutoScanning),_0x16429d=_0x1d47e9[_0x5a9c28(0x1c6)](shouldScanTestForAccessibility,null,![]),_0x244e07=_0x1d47e9[_0x5a9c28(0x1a8)](_0x221e64,_0x16429d);globals[_0x5a9c28(0x1d2)](_0x1d47e9[_0x5a9c28(0x1b4)],_0x244e07),globals[_0x5a9c28(0x1d2)](_0x1d47e9[_0x5a9c28(0x1f0)],null);}catch(_0x1a0cfc){logger[_0x5a9c28(0x1b5)](_0x5a9c28(0x196)+util[_0x5a9c28(0x178)](_0x1a0cfc));}}),typeof afterEach===a19_0x450c3b(0x1e1)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x527422=a19_0x450c3b,_0x315dab={'UThgf':function(_0x5a695c,_0x302688){return _0x5a695c>_0x302688;},'uyGvd':function(_0x137cdb,_0x372e70){return _0x137cdb>_0x372e70;},'lvrTI':_0x527422(0x19e),'chYXg':function(_0x3dffe5,_0x456322){return _0x3dffe5+_0x456322;},'LHwhg':_0x527422(0x199),'LMFoD':_0x527422(0x171),'XjKGk':_0x527422(0x1a6),'IgQlo':_0x527422(0x1bd),'PPAvG':_0x527422(0x176),'ukwXB':_0x527422(0x185),'PtyOq':function(_0x54c557){return _0x54c557();},'kUXHV':_0x527422(0x177),'gPpiS':function(_0x3dedab,_0x5e41c1){return _0x3dedab>_0x5e41c1;},'eelWF':_0x527422(0x1eb),'MaFzd':_0x527422(0x1ce),'tAdqf':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','iavCC':_0x527422(0x165),'EvsyI':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','HPhpk':_0x527422(0x1c3),'hjnsv':_0x527422(0x1dd),'MGNpN':_0x527422(0x1d7)};try{if(Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab[_0x527422(0x18b)](global['__drivers']['length'],0x1)){const _0x48e7e7=global[_0x527422(0x1d4)][0x0];try{await _0x48e7e7['session_'],await _0x48e7e7['initQuit']();}catch(_0x2ebe59){logger[_0x527422(0x1b5)](_0x527422(0x193)+util[_0x527422(0x178)](_0x2ebe59));}global[_0x527422(0x1d4)]['shift']();}}catch(_0x4c459a){logger[_0x527422(0x1b5)](_0x527422(0x174)+util[_0x527422(0x178)](_0x4c459a));}try{if(Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab[_0x527422(0x192)](global['__drivers'][_0x527422(0x1f2)],0x0)&&global[_0x527422(0x1d4)][0x0]){const _0xeadfe3=_activeFullName||global[_0x527422(0x1f3)];if(!global['__skipSessionName']&&_0xeadfe3){global[_0x527422(0x1f3)]=_0xeadfe3;try{await global[_0x527422(0x1d4)][0x0][_0x527422(0x1d9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x527422(0x1e2)](_0xeadfe3)+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![];}catch(_0x47beb3){logger[_0x527422(0x1b5)](_0x527422(0x1df)+util[_0x527422(0x178)](_0x47beb3));}}if(!global[_0x527422(0x1bf)])try{const _0x4d5b6f=_activeResultRef&&Array[_0x527422(0x173)](_activeResultRef[_0x527422(0x1e7)])?_activeResultRef[_0x527422(0x1e7)]:[],_0x2fbcf8=_0x315dab[_0x527422(0x192)](_0x4d5b6f[_0x527422(0x1f2)],0x0),_0x5ea7a4=_0x2fbcf8?_0x4d5b6f[0x0]&&_0x4d5b6f[0x0][_0x527422(0x1da)]||_0x315dab['lvrTI']:null;try{await global[_0x527422(0x1d4)][0x0]['executeScript'](_0x527422(0x19d)+JSON[_0x527422(0x1e2)](_0x2fbcf8?_0x315dab[_0x527422(0x17f)](_0x315dab[_0x527422(0x1c9)],_0x5ea7a4):_0x315dab[_0x527422(0x1b1)])+_0x527422(0x1ac)+(_0x2fbcf8?_0x315dab['XjKGk']:_0x315dab[_0x527422(0x1db)])+_0x527422(0x1e3));}catch(_0x479bed){logger['debug'](_0x527422(0x191)+util[_0x527422(0x178)](_0x479bed));}_0x2fbcf8&&(global[_0x527422(0x1a9)]=!![]),await helper[_0x527422(0x1aa)](global[_0x527422(0x1d4)][0x0],_0x2fbcf8?_0x315dab['PPAvG']:_0x315dab[_0x527422(0x1af)],_0x5ea7a4);}catch(_0x53f82a){logger[_0x527422(0x1b5)](_0x527422(0x1de)+util[_0x527422(0x178)](_0x53f82a));}}}catch(_0x41e4b2){logger[_0x527422(0x1b5)](_0x527422(0x198)+util['format'](_0x41e4b2));}try{if(_0x315dab['PtyOq'](isAccessibilityAutomationSession)&&globals[_0x527422(0x1cb)](_0x315dab[_0x527422(0x17d)])&&Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab['gPpiS'](global[_0x527422(0x1d4)][_0x527422(0x1f2)],0x0)&&global[_0x527422(0x1d4)][0x0]){const _0x22fe6a=testRunMap[_0x527422(0x1cf)](_activeResultId),_0xb63848={};_0xb63848[_0x527422(0x1a4)]=_0x22fe6a,_0xb63848[_0x527422(0x16f)]=process[_0x527422(0x16c)][testHubConstants[_0x527422(0x1ee)][_0x527422(0x1e0)]],_0xb63848['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x527422(0x1d8)]];const _0x2dcc7c=_0xb63848;logger[_0x527422(0x1b5)](_0x527422(0x1e5)+JSON[_0x527422(0x1e2)](_0x2dcc7c));if(globals['getGlobal'](_0x315dab[_0x527422(0x1ab)])){logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1dc)]);const _0x2e74e2=await accessibilityRetryHelper[_0x527422(0x1a2)](global[_0x527422(0x1d4)][0x0],global[_0x527422(0x1f1)]);_0x2e74e2?logger['debug'](_0x315dab[_0x527422(0x163)]):logger[_0x527422(0x18f)](_0x315dab[_0x527422(0x1c7)]);}else logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1b2)]);globals[_0x527422(0x1cb)](_0x315dab[_0x527422(0x1a5)])&&(_0x2dcc7c['is_mobile_session']=!![]);const _0x318427=await accessibilityRetryHelper[_0x527422(0x1ae)](global[_0x527422(0x1d4)][0x0],_0x2dcc7c);_0x318427?logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1c2)]):logger[_0x527422(0x18f)](_0x315dab[_0x527422(0x180)]);}}catch(_0x43ea49){logger['error'](_0x527422(0x16b)+util[_0x527422(0x178)](_0x43ea49));}});}catch(a19_0x4f6514){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x184)+util[a19_0x450c3b(0x178)](a19_0x4f6514));}try{typeof afterAll===a19_0x450c3b(0x1e1)&&afterAll(async function bstackFinalDriverQuit(){const _0x1ad820=a19_0x450c3b,_0x4d8cae={};_0x4d8cae[_0x1ad820(0x17c)]=function(_0x10955b,_0x477c69){return _0x10955b>_0x477c69;};const _0x54117a=_0x4d8cae;try{Array['isArray'](global[_0x1ad820(0x1d4)])&&_0x54117a[_0x1ad820(0x17c)](global[_0x1ad820(0x1d4)][_0x1ad820(0x1f2)],0x0)&&global['__drivers'][0x0]&&(await global[_0x1ad820(0x1d4)][0x0][_0x1ad820(0x1e4)],await global[_0x1ad820(0x1d4)][0x0][_0x1ad820(0x197)]());}catch(_0x28b5c2){logger[_0x1ad820(0x1b5)](_0x1ad820(0x18d)+util[_0x1ad820(0x178)](_0x28b5c2));}});}catch(a19_0x2f962a){logger['debug'](a19_0x450c3b(0x1d0)+util['format'](a19_0x2f962a));}function a19_0x28cc(){const _0x2def8b=['108FizEgu','browserstackPlatformIndex','tAdqf','5370174QMxhpq','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isBrowserstackInfra','7qpfQsm','winstonLogger','@playwright/test','platformIndex','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','env','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../../helpers/helper','thBuildUuid','bin','Passed','fullName','isArray','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','jasmine-core','failed','isAccessibilityPlatform','format','split','wUJVy','../../helpers/accessibility-automation/helper','lfmXF','kUXHV','../../index','chYXg','MGNpN','BROWSERSTACK_JASMINE_CONFIG','11NAzmXq','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','passed','XuaIa','knHxb','stack','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','util','UThgf','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','warn','4|0|1|2|3','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','uyGvd','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','vwpnn','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','initQuit','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','Failed:\x20','path','1006QmySSn','581862fRBxrJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Spec\x20failed','CONFIG','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','sep','performScanWithRetry','parse','thTestRunUuid','HPhpk','error','../../helpers/globals','afagI','__sessionFailed','markSessionStatus','eelWF',',\x22level\x22:\x20\x22','isTrue','saveAccessibilityResultsWithRetry','ukwXB','skipSessionName','LMFoD','EvsyI','4120088BYNGCC','VEgWT','debug','5851708MOeLGs','./testRunMap','1266114sDFfXN','autoScanning','getPackageVersion','31357290YrIkWp','5IWWOff','info','bEokb','__skipSessionStatus','pop','cEWCe','hjnsv','isMobilePlatform','VNGZf','describe','xpLdj','iavCC','browserstackAgentV2','LHwhg','fdCTE','getGlobal','join','getFileName','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','get','[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20','undefined','setGlobal','../../helpers/testhub/constants','__drivers','addReporter','skipSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_TESTHUB_JWT','executeScript','message','IgQlo','MaFzd','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','BROWSERSTACK_TESTHUB_UUID','function','stringify','\x22}}','session_','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','forEach','failedExpectations','includes','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','__skipSessionName','bstackA11yShouldScan','platformCaps','push','ENV_VAR','getEnv','MPGXU','browserstackSessionName','length','sessionName'];a19_0x28cc=function(){return _0x2def8b;};return a19_0x28cc();}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a20_0x368229=a20_0x3aa2;function a20_0x3aa2(_0x43bd09,_0x5aad36){const _0x391a03=a20_0x391a();return a20_0x3aa2=function(_0x3aa26a,_0x29ce2c){_0x3aa26a=_0x3aa26a-0x14f;let _0x50be09=_0x391a03[_0x3aa26a];return _0x50be09;},a20_0x3aa2(_0x43bd09,_0x5aad36);}function a20_0x391a(){const _0xcf64a5=['728WdsuPk','25464KlCMVv','xyAsT','2945825RWCjGd','1030284GFRIBP','134196kgLKpJ','XiQPb','_size','GEiED','get','2444211VWrDFk','4190176cQHvJz','delete','Mbavx','3ZQMCJB','bXLFU','set','3082644fBZzic'];a20_0x391a=function(){return _0xcf64a5;};return a20_0x391a();}(function(_0x333110,_0x39ce98){const _0xe962c8=a20_0x3aa2,_0xfc2f51=_0x333110();while(!![]){try{const _0x3f3b25=parseInt(_0xe962c8(0x151))/0x1+parseInt(_0xe962c8(0x15e))/0x2+parseInt(_0xe962c8(0x15b))/0x3*(-parseInt(_0xe962c8(0x158))/0x4)+-parseInt(_0xe962c8(0x150))/0x5+-parseInt(_0xe962c8(0x152))/0x6+parseInt(_0xe962c8(0x15f))/0x7*(-parseInt(_0xe962c8(0x160))/0x8)+parseInt(_0xe962c8(0x157))/0x9;if(_0x3f3b25===_0x39ce98)break;else _0xfc2f51['push'](_0xfc2f51['shift']());}catch(_0x5e070){_0xfc2f51['push'](_0xfc2f51['shift']());}}}(a20_0x391a,0xd0456));const _specUuidById=new Map();exports[a20_0x368229(0x15d)]=(_0x10c216,_0x442b61)=>{const _0xc09c13=a20_0x368229,_0x4e4101={};_0x4e4101[_0xc09c13(0x155)]=function(_0x579b05,_0x22417f){return _0x579b05===_0x22417f;},_0x4e4101[_0xc09c13(0x14f)]=function(_0x1d6f86,_0x2e53d3){return _0x1d6f86===_0x2e53d3;};const _0x502a1b=_0x4e4101;if(_0x502a1b[_0xc09c13(0x155)](_0x10c216,undefined)||_0x502a1b['xyAsT'](_0x10c216,null))return;_specUuidById[_0xc09c13(0x15d)](_0x10c216,_0x442b61);},exports[a20_0x368229(0x156)]=_0x3acd95=>{const _0x2c522a=a20_0x368229,_0xafabaa={};_0xafabaa['XiQPb']=function(_0x5c378f,_0x3f53a9){return _0x5c378f===_0x3f53a9;};const _0x5b4366=_0xafabaa;if(_0x5b4366[_0x2c522a(0x153)](_0x3acd95,undefined)||_0x5b4366[_0x2c522a(0x153)](_0x3acd95,null))return undefined;return _specUuidById[_0x2c522a(0x156)](_0x3acd95);},exports['remove']=_0x4c1b41=>{const _0x596f2e=a20_0x368229,_0x3f4323={};_0x3f4323[_0x596f2e(0x15c)]=function(_0x1125a3,_0x570882){return _0x1125a3===_0x570882;},_0x3f4323[_0x596f2e(0x15a)]=function(_0x42bac2,_0x636e7d){return _0x42bac2===_0x636e7d;};const _0x36f560=_0x3f4323;if(_0x36f560[_0x596f2e(0x15c)](_0x4c1b41,undefined)||_0x36f560[_0x596f2e(0x15a)](_0x4c1b41,null))return;_specUuidById[_0x596f2e(0x159)](_0x4c1b41);},exports[a20_0x368229(0x154)]=()=>_specUuidById['size'];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x52e8d8=a21_0x3b84;(function(_0x1e1a41,_0x244287){const _0x1bc66a=a21_0x3b84,_0x2097bb=_0x1e1a41();while(!![]){try{const _0x5c350a=-parseInt(_0x1bc66a(0x1c3))/0x1*(parseInt(_0x1bc66a(0x1ce))/0x2)+parseInt(_0x1bc66a(0x1cf))/0x3*(-parseInt(_0x1bc66a(0x216))/0x4)+-parseInt(_0x1bc66a(0x247))/0x5+parseInt(_0x1bc66a(0x1c0))/0x6+parseInt(_0x1bc66a(0x1d3))/0x7*(-parseInt(_0x1bc66a(0x26c))/0x8)+parseInt(_0x1bc66a(0x22d))/0x9+parseInt(_0x1bc66a(0x1b2))/0xa*(parseInt(_0x1bc66a(0x1c5))/0xb);if(_0x5c350a===_0x244287)break;else _0x2097bb['push'](_0x2097bb['shift']());}catch(_0x357179){_0x2097bb['push'](_0x2097bb['shift']());}}}(a21_0x4e1e,0x29a57));const fs=require('fs'),path=require(a21_0x52e8d8(0x20f)),util=require(a21_0x52e8d8(0x1a5)),{spawn}=require(a21_0x52e8d8(0x255)),logger=require(a21_0x52e8d8(0x26f))[a21_0x52e8d8(0x218)],{default:BrowserStackSetup}=require(a21_0x52e8d8(0x23d)),helper=require(a21_0x52e8d8(0x222)),utilities=require(a21_0x52e8d8(0x1b0)),constants=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0x52e8d8(0x1cd)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0x52e8d8(0x22b)),{getPercyOptions}=require(a21_0x52e8d8(0x246)),TestHubHandler=require(a21_0x52e8d8(0x25a)),testhubUtils=require(a21_0x52e8d8(0x20e)),{FRAMEWORKS}=require(a21_0x52e8d8(0x26b)),PerformanceTester=require(a21_0x52e8d8(0x192)),PerformanceEvents=require(a21_0x52e8d8(0x26e))[a21_0x52e8d8(0x18f)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x52e8d8(0x1d5)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x52e8d8(0x1ee)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a21_0x52e8d8(0x257)),getUserJestConfigs=async(_0xea86d0,_0x313111)=>{const _0x2179e7=a21_0x52e8d8,_0x47ad88={'JBKFl':_0x2179e7(0x248),'jVYhJ':_0x2179e7(0x1e0),'eunlr':function(_0xe5062a,_0x170fea){return _0xe5062a||_0x170fea;},'WkWmE':function(_0x3b495e,_0x3964be){return _0x3b495e(_0x3964be);},'LEKjU':'package.json','GExGr':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','wVoyu':'mjs','KCfba':_0x2179e7(0x1c2),'ZKOch':_0x2179e7(0x1ec)};let _0x2f502e;try{_0x2f502e=helper[_0x2179e7(0x228)](_0x47ad88[_0x2179e7(0x20d)],_0x47ad88[_0x2179e7(0x219)]);}catch{const _0x525269=helper[_0x2179e7(0x228)](_0x47ad88[_0x2179e7(0x219)]);_0x2f502e={'default':async _0x556c7b=>{const _0x26844a=_0x2179e7,_0x25a0c3=await _0x525269[_0x26844a(0x21c)](_0x556c7b,{});return _0x25a0c3[_0x26844a(0x24a)];}};}const _0xa3741a=_0x313111['findIndex'](_0x34d04c=>_0x34d04c===_0x2179e7(0x220));if(!helper[_0x2179e7(0x1aa)](_0xea86d0[_0x2179e7(0x24a)])){logger[_0x2179e7(0x1c8)](_0x2179e7(0x1f6)+_0xea86d0['config']),process[_0x2179e7(0x1ac)]['USER_CONFIG_DETAILS_PATH']=_0xea86d0[_0x2179e7(0x24a)];const _0x5976ce=await(0x0,_0x2f502e['default'])(path[_0x2179e7(0x1f9)](_0xea86d0['config']));return _0x313111[_0x2179e7(0x1f7)](_0xa3741a,0x2),_0x47ad88[_0x2179e7(0x1ed)](_0x5976ce,{});}const _0x4cee3f=_0x47ad88['WkWmE'](require,path[_0x2179e7(0x198)](process['cwd'](),_0x47ad88[_0x2179e7(0x1b6)]));if(_0x4cee3f['jest'])return logger[_0x2179e7(0x1c8)](_0x47ad88[_0x2179e7(0x25e)]),_0x4cee3f['jest'];const _0x28ed3b=['js',_0x47ad88['wVoyu'],_0x47ad88[_0x2179e7(0x1f2)],_0x47ad88[_0x2179e7(0x241)],'ts'];for(const _0x2d334f of _0x28ed3b){const _0x54bb34=path[_0x2179e7(0x198)](process[_0x2179e7(0x27a)](),_0x2179e7(0x20a)+_0x2d334f);if(fs['existsSync'](_0x54bb34)){process[_0x2179e7(0x1ac)][_0x2179e7(0x1f3)]=_0x54bb34;const _0x442ba9=await(0x0,_0x2f502e[_0x2179e7(0x25f)])(_0x54bb34);return _0x442ba9;}}return{};},getSerial=(_0x12631d,_0x169f89)=>{const _0x455d52=a21_0x52e8d8,_0x522dff={};_0x522dff[_0x455d52(0x1e1)]=_0x455d52(0x1b3),_0x522dff[_0x455d52(0x278)]=function(_0x5e8d08,_0x6c8b04){return _0x5e8d08>_0x6c8b04;},_0x522dff['YHtuJ']=function(_0x8acb5a,_0x3136c4){return _0x8acb5a>_0x3136c4;},_0x522dff[_0x455d52(0x1db)]=_0x455d52(0x1f1);const _0x47bd22=_0x522dff;let _0x34a9d7=_0x47bd22[_0x455d52(0x1e1)];return _0x47bd22['ZiFdk'](_0x12631d[_0x455d52(0x1c1)],0x1)&&(!_0x169f89[_0x455d52(0x1d7)]&&(helper[_0x455d52(0x1aa)](_0x169f89[_0x455d52(0x235)])||_0x47bd22[_0x455d52(0x18d)](_0x169f89[_0x455d52(0x235)],0x1)))&&(_0x34a9d7=_0x47bd22['tJcsr']),_0x34a9d7;},getMaxWorkers=(_0x3c69a4,_0x439818,_0x3e9b76)=>{const _0x13ef35=a21_0x52e8d8,_0x579471={'iZuAi':function(_0x238cf3,_0x903400){return _0x238cf3(_0x903400);}};let _0x10ef22=0x1;if(!helper['isUndefined'](_0x439818['parallelsPerPlatform']))_0x10ef22=_0x579471[_0x13ef35(0x215)](parseInt,_0x439818[_0x13ef35(0x1d8)]);else{if(!helper['isUndefined'](_0x3c69a4[_0x13ef35(0x235)]))_0x10ef22=_0x3c69a4[_0x13ef35(0x235)];else!helper['isUndefined'](_0x3e9b76[_0x13ef35(0x235)])&&(_0x10ef22=_0x3e9b76[_0x13ef35(0x235)]);}return _0x10ef22;};function a21_0x4e1e(){const _0x16456d=['Deleted\x20fail-fast\x20state\x20folder:\x20','jest_browserstack.config.js','customCircus.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','pJhoZ','stringify','zaAfg','writeFileSync','child_process','force','../../helpers/accessibility-automation/helper','isCliEnabled','failFast','../../helpers/testhub/testhubHandler','LkTlK','BmlGg','skipSessionName','GExGr','default',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','errorMessage','capabilities','VOHkx','apply','slice','Found:\x20','Error\x20while\x20parsing\x20','NPQPQ','browserStackLogLevel','zmOTN','../../helpers/test-observability/constants','8rRCRwO','launchBuild','../../helpers/performance/constants','../../helpers/logger','turboScaleUrl','getMultiDriverWorkerConfig','testEnvironment','timeout__','testSequencer','push','handleApp','jiyqK','ZiFdk','jUKCM','cwd','proxySettings','Preserving\x20user\x27s\x20Jest\x20runner:\x20','log','BSTACK_USER_JEST_RUNNER','getErrorMessageFromResults','YHtuJ','jest_browserstack.config.cjs','EVENTS','\x0amodule.exports\x20=\x20config;','moduleNameMapper','../../helpers/performance/performance-tester','setupFilesAfterEnv','replace','filterBrowserstackArgs','SgpyM','isNotUndefined','join','readFileSync','rlaNV','\x20test\x20files\x20to\x20run.','mLyZI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','retryTestsOnFailure','setupFiles','\x0a\x20\x20\x20\x20\x20\x20','customTestRunnerTemplate.js','workingDir','tUTon','PMwwu','util','test-observability','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isUndefined','SDK_SETUP','env','XgmDR','isRunning','\x20:\x20','../../helpers/utilities','customEnvironment.js','30130HZPAEV','true','BROWSERSTACK_TEST_OBSERVABILITY_YML','shouldProcessEventForTesthub','LEKjU','BSTACK_JEST_TEST_ENV','parseTestOrchestrationOptions','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','PACKAGE_TYPE','debug','const\x20config=','isEmpty','reorderTestFiles','skipSessionStatus','498480BOqMQD','length','cjs','207158UBNjbz','FRAMEWORKS','1980Rvcebi','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','KZByD','info','yfxBV','MlgiT','findTestFiles','accessibility','../../helpers/test-observability/utils','2qVcZOu','45897PHDwQj','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','accessibilityOptions','jest_browserstack_results.json','203119yyEVSL','mEWfU','../v2/browserstackCLI','end','runInBand','parallelsPerPlatform','checkAccessibilityPlatformConfig','@jest/core','tJcsr','SDK_CLEANUP','KNFBC','jest-runner','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jest-config','bunyh','data-hooks.js','recursive','jest','testObservability','error','rmSync','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','puppeteer-core/package.json','IjcDv','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','json','eunlr','../../helpers/puppeteer-helper','customTestRunner.js','nqdYH','false','KCfba','USER_CONFIG_DETAILS_PATH','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','/internal/$1','Getting\x20your\x20jest\x20configs\x20from\x20','splice','edEQw','resolve','close','zUIbQ','sizyn','start','isCLIEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','WOILU','jest-runner-','setup','__isPuppeteerInstalled','VPhae','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','bZmys','jest-circus','useW3C','FGVHr','jest.config.','testEnvironmentOptions','Puppeteer\x20setup\x20error:\x20','JBKFl','../../helpers/testhub/utils','path','getPackageVersion','dirname','serial__','Deleting\x20','printBuildLink','iZuAi','88wjnHpA','qdNbc','winstonLogger','jVYhJ','lzbOW','YpuAA','readInitialOptions','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','testRunner','\x20with\x20browserstack\x20jest\x20configs','--config','JEST','../../helpers/helper','win32','getInstance','testContextOptions','runner','exitCode','requireModule','PWjwR','pxpFC','./test-observability/test-details','BROWSERSTACK_CAPABILITIES','2176794VGtvKq','IvoFm','abortBuildOnFailure','kXqlx','Unable\x20to\x20find\x20jest-circus,\x20','reporters','XJIZj','platform','maxWorkers','format','platforms','playwright',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','existsSync','XcsZQ','unlinkSync','../../helpers/BrowserStackSetup','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','zRRkm','ZKOch','customSequencer.js','AqkLb','assign','stop','../../helpers/percy/utils','619750RwMgzS','jest-config/build/readConfigFileAndSetRootDir.js','@jest/core/build/ReporterDispatcher.js','config','jest.setup.js','child\x20process\x20exited\x20with\x20code\x20'];a21_0x4e1e=function(){return _0x16456d;};return a21_0x4e1e();}async function run(_0x487fe6,_0xd27051,_0x524de8){const _0x44392f=a21_0x52e8d8,_0x1cfc22={'mEWfU':_0x44392f(0x1e4),'XcsZQ':function(_0x8988e3,_0x562e57){return _0x8988e3(_0x562e57);},'NPQPQ':'@playwright/test','lzbOW':function(_0x2e740c){return _0x2e740c();},'zaAfg':function(_0x39d573,_0x48d29c,_0x13e829,_0x441586){return _0x39d573(_0x48d29c,_0x13e829,_0x441586);},'jiyqK':function(_0x300a23,_0x45e16c,_0x4ad48a,_0x59daef){return _0x300a23(_0x45e16c,_0x4ad48a,_0x59daef);},'PSsps':function(_0x580460,_0x4c9747){return _0x580460!=_0x4c9747;},'kFmwx':_0x44392f(0x1b3),'mpgfd':function(_0x390efa,_0x5c9d1b,_0x5ab927){return _0x390efa(_0x5c9d1b,_0x5ab927);},'zRRkm':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ssmdy':_0x44392f(0x1f1),'IvoFm':function(_0x1ce2b3,_0xd53b34,_0x5d58c9,_0x4ab6eb){return _0x1ce2b3(_0xd53b34,_0x5d58c9,_0x4ab6eb);},'yZRWT':function(_0x864458,_0x1cda53){return _0x864458*_0x1cda53;},'xFiiC':function(_0x4cae8d,_0x14e807){return _0x4cae8d===_0x14e807;},'BmlGg':_0x44392f(0x18e),'VPhae':_0x44392f(0x24e),'zUIbQ':'customImplements','nqdYH':_0x44392f(0x1d2),'FGVHr':_0x44392f(0x1ef),'MlgiT':_0x44392f(0x1a1),'VOHkx':_0x44392f(0x1b1),'PMwwu':function(_0x1f9ffe,_0x58d697){return _0x1f9ffe!==_0x58d697;},'rlaNV':_0x44392f(0x1de),'WOILU':'jest-runner-','YpuAA':_0x44392f(0x24b),'pxpFC':_0x44392f(0x242),'LxNOm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','mLyZI':_0x44392f(0x207),'pJhoZ':'jest-circus/build/runner.js','jUKCM':function(_0x2f01e1,_0x46a1ae){return _0x2f01e1(_0x46a1ae);},'vCWBl':_0x44392f(0x1a6),'KoxVJ':_0x44392f(0x1e2),'KZByD':_0x44392f(0x24f),'PWjwR':'test_before.setup.js','IjcDv':_0x44392f(0x21d),'tUTon':_0x44392f(0x238),'edEQw':_0x44392f(0x1df),'qdNbc':'test.setup.js','sizyn':_0x44392f(0x1c6),'vffOT':function(_0x4f19db,_0x5d2540){return _0x4f19db&&_0x5d2540;},'KNFBC':_0x44392f(0x1e8),'yfxBV':'puppeteer','AqkLb':_0x44392f(0x1e9),'XgmDR':_0x44392f(0x25f),'kXqlx':function(_0xe7f416,_0x1cb9d5,_0x5aab46){return _0xe7f416(_0x1cb9d5,_0x5aab46);},'SgpyM':_0x44392f(0x249),'nNWnt':_0x44392f(0x1da),'lEwis':_0x44392f(0x23e),'BsjAa':function(_0xb5f164,_0x2cc00d){return _0xb5f164>_0x2cc00d;},'LkTlK':_0x44392f(0x19d),'bZmys':_0x44392f(0x220),'JhfrV':'npx','zmOTN':_0x44392f(0x223),'jlobB':'inherit','XJIZj':_0x44392f(0x1fa)},_0x47b87d=helper[_0x44392f(0x210)](_0x1cfc22[_0x44392f(0x268)]);global['__isPlaywrightInstalled']=!!_0x47b87d;const _0x571e11=_0x1cfc22[_0x44392f(0x21a)](getPuppeteerVersion);global[_0x44392f(0x203)]=!!_0x571e11;helper['isBrowserstackInfra']()&&(await _0x524de8['initialize'](_0x487fe6),await helper[_0x44392f(0x276)](_0x524de8['config']));if(_0x47b87d)await _0x1cfc22[_0x44392f(0x253)](checkPwandBootstrapCli,_0x47b87d,constants[_0x44392f(0x1c4)][_0x44392f(0x221)],_0x524de8);else _0x571e11&&await _0x1cfc22[_0x44392f(0x277)](checkPuppeteerAndBootstrapCli,_0x571e11,constants['FRAMEWORKS'][_0x44392f(0x221)],_0x524de8);!BrowserstackCLI[_0x44392f(0x224)]()['isRunning']()&&await _0x524de8['setupBrowserstackLocal']();if(!_0x524de8[_0x44392f(0x24a)])return;_0x1cfc22['PSsps'](_0x524de8[_0x44392f(0x24a)][_0x44392f(0x1e5)],null)?process[_0x44392f(0x1ac)][_0x44392f(0x1b4)]=_0x524de8[_0x44392f(0x24a)][_0x44392f(0x1e5)]:process[_0x44392f(0x1ac)][_0x44392f(0x1b4)]=_0x1cfc22['kFmwx'];const _0x108403=new TestOrchestrationHandler(_0x524de8[_0x44392f(0x24a)]),_0x339e80=await _0x1cfc22['mpgfd'](getUserJestConfigs,_0x487fe6,_0xd27051);logger[_0x44392f(0x1c8)](_0x1cfc22[_0x44392f(0x240)]);const _0x3c91fd=Object[_0x44392f(0x244)]({},_0x339e80);_0x3c91fd['testEnvironmentOptions']=Object[_0x44392f(0x244)]({},_0x3c91fd[_0x44392f(0x20b)],{'server':helper['getHubUrl'](_0x524de8['config']),'environment':_0x339e80[_0x44392f(0x272)]}),_0x3c91fd[_0x44392f(0x20b)]['browserStackPercyOptions']=_0x1cfc22[_0x44392f(0x23b)](getPercyOptions,_0x524de8[_0x44392f(0x24a)]);const _0x53650c=helper[_0x44392f(0x208)](_0x524de8[_0x44392f(0x24a)]);!helper[_0x44392f(0x1aa)](_0x524de8[_0x44392f(0x24a)][_0x44392f(0x1d1)])&&(process['env'][_0x44392f(0x1eb)]=JSON[_0x44392f(0x252)](_0x524de8[_0x44392f(0x24a)][_0x44392f(0x1d1)]));if(!BrowserstackCLI[_0x44392f(0x224)]()[_0x44392f(0x1ae)]()){const _0x31b560=await TestHubHandler[_0x44392f(0x26d)](FRAMEWORKS[_0x44392f(0x221)],_0x524de8);}const _0x4c3ead=helper['prepareCapabilities'](_0x524de8['config'],_0x53650c,constants['FRAMEWORKS']['JEST']);process[_0x44392f(0x1ac)][_0x44392f(0x22c)]=JSON[_0x44392f(0x252)](_0x4c3ead);let _0x1a90ee=_0x524de8[_0x44392f(0x24a)][_0x44392f(0x1cc)];_0x1a90ee=_0x1a90ee||accessibilityHelper[_0x44392f(0x1d9)](_0x524de8[_0x44392f(0x24a)]),process[_0x44392f(0x1ac)][_0x44392f(0x1a9)]=_0x1a90ee,logger[_0x44392f(0x1bb)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x1a90ee+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x44392f(0x224)]()[_0x44392f(0x1ae)]());if(_0x47b87d)try{const _0x1e30ae=_0x1cfc22[_0x44392f(0x23b)](checkAccessibilityPlatformConfig,_0x524de8['config']);process[_0x44392f(0x1ac)][_0x44392f(0x1ff)]=_0x1e30ae?_0x1cfc22['kFmwx']:_0x1cfc22['ssmdy'],logger[_0x44392f(0x1bb)](_0x44392f(0x1f4)+_0x1e30ae+_0x44392f(0x23f)+process[_0x44392f(0x1ac)][_0x44392f(0x1ff)]);}catch(_0x38e129){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x44392f(0x236)](_0x38e129));}_0x3c91fd[_0x44392f(0x20b)][_0x44392f(0x262)]=_0x4c3ead,_0x3c91fd[_0x44392f(0x20b)][_0x44392f(0x212)]=_0x1cfc22['mpgfd'](getSerial,_0x4c3ead,_0x487fe6),_0x3c91fd['testEnvironmentOptions']['parallels__']=_0x1cfc22[_0x44392f(0x22e)](getMaxWorkers,_0x487fe6,_0x524de8[_0x44392f(0x24a)],_0x339e80),_0x3c91fd['testEnvironmentOptions']['proxySettings']=_0x524de8['config'][_0x44392f(0x27b)],_0x3c91fd['testEnvironmentOptions'][_0x44392f(0x273)]=_0x1cfc22['yZRWT'](_0x487fe6['testTimeout'],0x1)||0x1388,_0x3c91fd['testEnvironmentOptions'][_0x44392f(0x25d)]=_0x524de8[_0x44392f(0x24a)][_0x44392f(0x225)][_0x44392f(0x25d)],_0x3c91fd['testEnvironmentOptions'][_0x44392f(0x1bf)]=_0x524de8['config'][_0x44392f(0x225)][_0x44392f(0x1bf)],_0x3c91fd['testEnvironmentOptions'][_0x44392f(0x269)]=_0x524de8['config']['logLevel'],_0x3c91fd['testEnvironmentOptions'][_0x44392f(0x270)]=_0x524de8['config'][_0x44392f(0x270)],_0x3c91fd[_0x44392f(0x20b)]['platformCaps']=_0x524de8[_0x44392f(0x24a)][_0x44392f(0x237)],Object['assign'](_0x3c91fd[_0x44392f(0x20b)],helper[_0x44392f(0x271)](_0x524de8[_0x44392f(0x24a)],_0x53650c,constants['FRAMEWORKS'][_0x44392f(0x221)]));const _0x4580bc=helper[_0x44392f(0x1b8)](_0x524de8[_0x44392f(0x24a)]);if(!helper[_0x44392f(0x1bd)](_0x4580bc)){helper[_0x44392f(0x197)](_0x4580bc[_0x44392f(0x19e)])&&(_0x3c91fd[_0x44392f(0x20b)]['retries__']=_0x4580bc[_0x44392f(0x19e)]['maxRetries']);if(helper[_0x44392f(0x197)](_0x4580bc[_0x44392f(0x22f)])&&helper[_0x44392f(0x197)](_0x4580bc[_0x44392f(0x22f)]['workingDir'])){const _0x2433bc={};_0x2433bc['failureThresholdCount']=_0x4580bc[_0x44392f(0x22f)]['maxFailures'],_0x2433bc[_0x44392f(0x1a2)]=_0x4580bc[_0x44392f(0x22f)][_0x44392f(0x1a2)],_0x3c91fd[_0x44392f(0x20b)][_0x44392f(0x259)]=_0x2433bc;}}let _0x282454='';_0x1cfc22['xFiiC'](helper['getPackageType'](),constants[_0x44392f(0x1ba)]['MODULE'])?_0x282454=_0x1cfc22[_0x44392f(0x25c)]:_0x282454=_0x1cfc22[_0x44392f(0x204)];const _0x54ea37=_0x282454,_0x17e462=path[_0x44392f(0x198)](__dirname,_0x1cfc22[_0x44392f(0x1fb)],_0x1cfc22[_0x44392f(0x1f0)]),_0x117708=path['join'](__dirname,_0x1cfc22[_0x44392f(0x1fb)],_0x1cfc22[_0x44392f(0x209)]),_0x54a5fd=path[_0x44392f(0x198)](__dirname,_0x1cfc22['zUIbQ'],_0x1cfc22[_0x44392f(0x1ca)]);_0x3c91fd[_0x44392f(0x272)]&&(process[_0x44392f(0x1ac)][_0x44392f(0x1b7)]=_0x3c91fd[_0x44392f(0x272)]);_0x3c91fd[_0x44392f(0x272)]=path[_0x44392f(0x198)](__dirname,_0x1cfc22[_0x44392f(0x1fb)],_0x1cfc22[_0x44392f(0x263)]);const _0x5a05f0=_0x339e80['runner'];if(_0x5a05f0&&_0x1cfc22[_0x44392f(0x1a4)](_0x5a05f0,_0x1cfc22[_0x44392f(0x19a)])){const _0x56eb7e=_0x5a05f0['startsWith'](_0x1cfc22[_0x44392f(0x200)])?_0x5a05f0:_0x44392f(0x201)+_0x5a05f0;process[_0x44392f(0x1ac)][_0x44392f(0x18b)]=_0x56eb7e,logger[_0x44392f(0x1c8)](_0x44392f(0x189)+_0x56eb7e);}_0x3c91fd[_0x44392f(0x226)]=_0x117708,_0x3c91fd[_0x44392f(0x193)]=_0x3c91fd[_0x44392f(0x193)]||[],_0x3c91fd[_0x44392f(0x193)][_0x44392f(0x275)](path[_0x44392f(0x198)](__dirname,_0x1cfc22[_0x44392f(0x21b)]));_0x108403['isTestOrchestrationEnabled']()&&(_0x3c91fd[_0x44392f(0x274)]=path['join'](__dirname,_0x1cfc22[_0x44392f(0x1fb)],_0x1cfc22[_0x44392f(0x22a)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x44392f(0x224)]()[_0x44392f(0x258)]()){let _0x58c714=null;try{_0x58c714=helper[_0x44392f(0x228)](_0x1cfc22['LxNOm'],_0x1cfc22['mLyZI']);}catch(_0xf95606){try{_0x58c714=helper['requireModule'](_0x1cfc22[_0x44392f(0x251)],_0x1cfc22[_0x44392f(0x19c)]);}catch(_0x3c155a){_0x1cfc22[_0x44392f(0x279)](debug,_0x44392f(0x231)+_0x3c155a);}}_0x58c714&&(testhubUtils[_0x44392f(0x1b5)]()&&_0x3c91fd[_0x44392f(0x193)][_0x44392f(0x275)](path[_0x44392f(0x198)](__dirname,_0x1cfc22['vCWBl'],_0x1cfc22['KoxVJ'])),_0x3c91fd[_0x44392f(0x21e)]=path[_0x44392f(0x198)](__dirname,_0x1cfc22[_0x44392f(0x1fb)],_0x1cfc22[_0x44392f(0x1c7)]));}_0x3c91fd[_0x44392f(0x19f)]=_0x3c91fd['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x3c91fd['setupFiles']['push'](path['join'](__dirname,_0x1cfc22[_0x44392f(0x229)]));}catch{logger[_0x44392f(0x1bb)](_0x1cfc22[_0x44392f(0x1ea)]);}try{helper[_0x44392f(0x1a8)][_0x44392f(0x264)](null,[_0x1cfc22[_0x44392f(0x268)],_0x1cfc22[_0x44392f(0x1a3)]]),logger[_0x44392f(0x1bb)](_0x1cfc22[_0x44392f(0x1f8)]),_0x3c91fd[_0x44392f(0x19f)][_0x44392f(0x275)](path[_0x44392f(0x198)](__dirname,_0x1cfc22[_0x44392f(0x217)]));}catch(_0x3512bc){logger[_0x44392f(0x1bb)](_0x1cfc22[_0x44392f(0x1fc)],_0x3512bc);}if(_0x1cfc22['vffOT'](!_0x47b87d,_0x571e11)){try{logger[_0x44392f(0x1bb)](_0x1cfc22[_0x44392f(0x1dd)]),_0x3c91fd['setupFilesAfterEnv']['push'](path[_0x44392f(0x198)](__dirname,'..',_0x1cfc22[_0x44392f(0x1c9)],_0x1cfc22[_0x44392f(0x217)]));}catch(_0x3218ec){logger[_0x44392f(0x1bb)](_0x44392f(0x20c)+_0x3218ec['message']);}try{const _0x31a2bf=require['resolve'](_0x1cfc22[_0x44392f(0x243)]),_0x4cfd65=path[_0x44392f(0x211)](_0x31a2bf)[_0x44392f(0x194)](/\\/g,'/'),_0x466b66={};_0x466b66['^puppeteer-core/internal/(.*)']=_0x4cfd65+_0x44392f(0x1f5),_0x3c91fd['moduleNameMapper']=Object[_0x44392f(0x244)]({},_0x3c91fd[_0x44392f(0x191)]||{},_0x466b66),logger[_0x44392f(0x1bb)](_0x44392f(0x1b9)+_0x4cfd65);}catch(_0x5b5fe0){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x5b5fe0['message']);}}_0x3c91fd[_0x44392f(0x232)]=_0x3c91fd[_0x44392f(0x232)]||[_0x1cfc22[_0x44392f(0x1ad)]],_0x1cfc22[_0x44392f(0x230)](updateTestRerunConfig,_0x3c91fd,_0x524de8);const _0x488291=fs['readFileSync'](_0x54a5fd),_0x45c1c8=helper['resolveModule'](_0x1cfc22[_0x44392f(0x196)],_0x1cfc22['nNWnt']);!_0x45c1c8[_0x44392f(0x1e6)]?fs[_0x44392f(0x254)](_0x3c91fd['runner'],_0x44392f(0x1a0)+_0x488291+_0x44392f(0x1a7)+_0x524de8['config'][_0x44392f(0x237)][_0x44392f(0x1c1)]+_0x44392f(0x239)):fs['writeFileSync'](_0x3c91fd[_0x44392f(0x226)],_0x44392f(0x1a0)+_0x488291+_0x44392f(0x205)+_0x524de8[_0x44392f(0x24a)]['platforms'][_0x44392f(0x1c1)]+_0x44392f(0x260));logger[_0x44392f(0x1c8)]('Creating\x20'+_0x54ea37+_0x44392f(0x21f)),fs[_0x44392f(0x254)](_0x54ea37,_0x44392f(0x1bc)+JSON['stringify'](_0x3c91fd)+_0x44392f(0x190));if(_0x108403['isTestOrchestrationEnabled']()){logger[_0x44392f(0x1bb)](_0x1cfc22['lEwis']);const _0x482c01=await _0x108403[_0x44392f(0x1cb)](_0x3c91fd,_0xd27051[_0x44392f(0x265)](0x1),_0x54ea37);logger['debug'](_0x44392f(0x266)+JSON[_0x44392f(0x252)](_0x482c01)+_0x44392f(0x19b));const _0x5596ee=await _0x108403[_0x44392f(0x1be)](_0x482c01);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x44392f(0x252)](_0x5596ee)),_0x5596ee&&_0x1cfc22['BsjAa'](_0x5596ee[_0x44392f(0x1c1)],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x5596ee?.[_0x44392f(0x198)](','));}logger[_0x44392f(0x1c8)](_0x1cfc22[_0x44392f(0x25b)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x44392f(0x202)]();helper[_0x44392f(0x195)]({},_0xd27051),PerformanceTester[_0x44392f(0x1d6)](PerformanceEvents[_0x44392f(0x1ab)]);const _0x13c334=[_0x1cfc22['mEWfU'],_0x1cfc22[_0x44392f(0x206)],_0x54ea37,..._0xd27051['slice'](0x1)];process['env']['BROWSERSTACK_FRAMEWORK']=process[_0x44392f(0x1ac)]['BROWSERSTACK_FRAMEWORK']||_0x1cfc22[_0x44392f(0x1d4)];const _0x13aec7=_0x1cfc22[_0x44392f(0x22e)](spawn,_0x1cfc22['JhfrV'],_0x13c334,{'shell':_0x1cfc22['xFiiC'](process[_0x44392f(0x234)],_0x1cfc22[_0x44392f(0x26a)]),'stdio':_0x1cfc22['jlobB'],'env':Object['assign']({},process['env'])});_0x13aec7['on'](_0x1cfc22[_0x44392f(0x233)],async _0x45437f=>{const _0x233124=_0x44392f;PerformanceTester[_0x233124(0x1fd)](PerformanceEvents[_0x233124(0x1dc)]),process[_0x233124(0x227)]=_0x45437f,logger[_0x233124(0x1bb)](_0x233124(0x24c)+_0x45437f),logger[_0x233124(0x1c8)](_0x233124(0x213)+_0x54ea37);if(helper[_0x233124(0x197)](_0x4580bc)&&helper[_0x233124(0x197)](_0x4580bc[_0x233124(0x22f)])&&fs['existsSync'](_0x4580bc[_0x233124(0x22f)][_0x233124(0x1a2)]))try{const _0x2ef562={};_0x2ef562[_0x233124(0x1e3)]=!![],_0x2ef562[_0x233124(0x256)]=!![],fs[_0x233124(0x1e7)](_0x4580bc['abortBuildOnFailure'][_0x233124(0x1a2)],_0x2ef562),logger[_0x233124(0x1bb)](_0x233124(0x24d)+_0x4580bc[_0x233124(0x22f)][_0x233124(0x1a2)]);}catch(_0xcbb337){logger[_0x233124(0x1e6)](_0x233124(0x250)+_0xcbb337);}let _0x570931=null;if(fs[_0x233124(0x23a)](_0x17e462)){_0x570931=fs[_0x233124(0x199)](_0x17e462);try{_0x570931=JSON['parse'](_0x570931);}catch(_0x4a1453){logger[_0x233124(0x1bb)](_0x233124(0x267)+_0x17e462+',\x20'+_0x570931+_0x233124(0x1af)+_0x4a1453);}fs['unlinkSync'](_0x17e462);}fs[_0x233124(0x23c)](_0x54ea37),fs[_0x233124(0x23c)](_0x117708),_0x570931&&(_0x524de8[_0x233124(0x261)]=helper[_0x233124(0x18c)](_0x570931,_0x1cfc22[_0x233124(0x1d4)],_0x524de8));const _0x449af2=BrowserstackCLI[_0x233124(0x1fe)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x233124(0x224)]()[_0x233124(0x245)]();}catch(_0x476482){console[_0x233124(0x18a)](_0x476482),_0x1cfc22[_0x233124(0x23b)](debug,_0x233124(0x1d0)+util['format'](_0x476482));}testOpsHelper[_0x233124(0x214)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x524de8,_0x449af2);});}function a21_0x3b84(_0x2c4ad1,_0x17e13f){const _0x4e1ee8=a21_0x4e1e();return a21_0x3b84=function(_0x3b84a3,_0x4ff7af){_0x3b84a3=_0x3b84a3-0x189;let _0x4c1612=_0x4e1ee8[_0x3b84a3];return _0x4c1612;},a21_0x3b84(_0x2c4ad1,_0x17e13f);}module['exports']=run;
|
|
2
|
+
'use strict';const a21_0x152de0=a21_0x1978;(function(_0x53ae36,_0x5604da){const _0x15359e=a21_0x1978,_0x1c494a=_0x53ae36();while(!![]){try{const _0x5dbb0f=parseInt(_0x15359e(0x179))/0x1*(parseInt(_0x15359e(0xbd))/0x2)+-parseInt(_0x15359e(0x18f))/0x3+-parseInt(_0x15359e(0x112))/0x4+-parseInt(_0x15359e(0xad))/0x5*(-parseInt(_0x15359e(0xde))/0x6)+-parseInt(_0x15359e(0x14f))/0x7+-parseInt(_0x15359e(0x17d))/0x8+parseInt(_0x15359e(0x175))/0x9;if(_0x5dbb0f===_0x5604da)break;else _0x1c494a['push'](_0x1c494a['shift']());}catch(_0x1b5d4b){_0x1c494a['push'](_0x1c494a['shift']());}}}(a21_0xaa41,0x4d181));function a21_0xaa41(){const _0x76b849=['default','JgRHk','getMultiDriverWorkerConfig','../../helpers/logger','data-hooks.js','accessibility','../../helpers/test-orchestration/testOrchestrationHandler','readInitialOptions','../../helpers/performance/constants','dirname','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','--config','343616yAZkkg','platforms','AgSXZ','BROWSERSTACK_CAPABILITIES','wmoon','stringify','../v2/browserstackCLI','testEnvironment','testEnvironmentOptions','LQPOj','child\x20process\x20exited\x20with\x20code\x20','../../helpers/performance/performance-tester','info','../../helpers/puppeteer-helper','testContextOptions','parse','wVaFW','slice','SDK_CLEANUP','testObservability','false','timeout__','Found:\x20','win32','recursive','__isPlaywrightInstalled','launchBuild','JRyhV','jest','lUaLH','JEST_TEST_ORDER','Error\x20while\x20parsing\x20','dLOqu','replace','moduleNameMapper','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','getHubUrl','setupBrowserstackLocal','jest.config.','checkAccessibilityPlatformConfig','assign','shouldProcessEventForTesthub','reorderTestFiles','findTestFiles','DLznO','start','finalExecution','jest_browserstack.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TugWY','bDFPv','requirePWModule','reporters','DtCsE','LQhvB','filterBrowserstackArgs','skipSessionName','browserStackPercyOptions','message','UfSFU','JEST','1331029PwIWkU','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Creating\x20','../../helpers/percy/utils','printBuildLink','format','jest-circus','parallels__','sCKhf','capabilities','jest_browserstack_results.json','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','abortBuildOnFailure','FRAMEWORKS','PACKAGE_TYPE','join','util','zwkrJ','runInBand','setupFiles','workingDir','getErrorMessageFromResults','jest_browserstack.config.js','exitCode','LtqdT','reGhI','resolveModule','isEmpty','wjwJY','VyFOi','platform','yNXBE','jRyxE','dbwiD','isCLIEnabled','maxWorkers','path','uyYJb','4046904lrlIrv','package.json','requireModule','\x0amodule.exports\x20=\x20config;','2449oBdZLD','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','265056hahCsZ','uSFci','parallelsPerPlatform','force','BROWSERSTACK_FRAMEWORK','EVENTS','json','useW3C','SDK_SETUP','^puppeteer-core/internal/(.*)','rmSync','retries__','../utils/clientTroubleshootingService','jest-runner','env','PYuXz','accessibilityOptions','RfPQb','1276098NqwWqf','runner','isUndefined','apply','puppeteer-core/package.json','QlxsU','length','testSequencer','\x20with\x20browserstack\x20jest\x20configs','browserStackLogLevel','serial__','push','QXdwu','config','inherit','testRunner','lvzzX','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','dnnKt','jest-runner-','257810dSnNEU','WeXcm','getInstance','jest.setup.js','readFileSync','existsSync','../../helpers/testhub/utils','failureThresholdCount','BubMF','initialize','customSequencer.js','maxRetries','KYiIG','jest-config','platformCaps','stop','280vcgOxN','npx','end','isNotUndefined','../../helpers/helper','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/test-observability/constants','../../helpers/accessibility-automation/helper','cwd','../utils/constants','yOGEP','IXuif','dsamm','isRunning','puppeteer','VVItQ','playwright','error','winstonLogger','\x20:\x20',',\x20CLI\x20running:\x20','yGZzG','isTestOrchestrationEnabled','retryTestsOnFailure','testTimeout','pyntv','tmKew','parseTestOrchestrationOptions','ajlqE','resolve','wZBnY','BROWSERSTACK_TEST_OBSERVABILITY_YML','writeFileSync','30QMzCfL','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','customTestRunner.js','test-observability','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','true','DCNbL','dUKmf','DQZmg','@jest/core/build/ReporterDispatcher.js','RZbPQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','test.setup.js','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','UURvt','isBrowserstackInfra','AoJLb','\x0a\x20\x20\x20\x20\x20\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/test-observability/utils','cjs','handleApp','VjlfJ','proxySettings','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','ZKXeN','debug','dGjyo','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','__isPuppeteerInstalled','RSwvO','qAbyv','jest-circus/build/runner.js','customImplements','mjs','setupFilesAfterEnv','Deleting\x20','startsWith','skipSessionStatus'];a21_0xaa41=function(){return _0x76b849;};return a21_0xaa41();}const fs=require('fs'),path=require(a21_0x152de0(0x173)),util=require(a21_0x152de0(0x15f)),{spawn}=require('child_process'),logger=require(a21_0x152de0(0x109))[a21_0x152de0(0xcf)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0x152de0(0xc1)),utilities=require('../../helpers/utilities'),constants=require(a21_0x152de0(0xc6)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0x152de0(0xf1)),{debug}=require(a21_0x152de0(0xf1)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a21_0x152de0(0x152)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a21_0x152de0(0xb3)),{FRAMEWORKS}=require(a21_0x152de0(0xc3)),PerformanceTester=require(a21_0x152de0(0x11d)),PerformanceEvents=require(a21_0x152de0(0x10e))[a21_0x152de0(0x182)],TestOrchestrationHandler=require(a21_0x152de0(0x10c)),BrowserstackCLI=require(a21_0x152de0(0x118)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x152de0(0x11f)),ClientTroubleShootingService=require(a21_0x152de0(0x189)),{checkAccessibilityPlatformConfig}=require(a21_0x152de0(0xc4)),getUserJestConfigs=async(_0x5bd3a9,_0xe29038)=>{const _0xace41=a21_0x152de0,_0x5b0ab6={'uyYJb':'jest-config/build/readConfigFileAndSetRootDir.js','lUaLH':_0xace41(0xba),'KYiIG':function(_0x2b6578,_0x57284f){return _0x2b6578||_0x57284f;},'dLOqu':function(_0x596fa9,_0x5bcd14){return _0x596fa9(_0x5bcd14);},'uSFci':_0xace41(0x176),'WeXcm':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','DQZmg':_0xace41(0x101),'mZQvz':_0xace41(0xf2),'TLWrZ':_0xace41(0x183)};let _0x2832f4;try{_0x2832f4=helper[_0xace41(0x177)](_0x5b0ab6[_0xace41(0x174)],_0x5b0ab6[_0xace41(0x12f)]);}catch{const _0x1ad9c8=helper[_0xace41(0x177)](_0x5b0ab6['lUaLH']);_0x2832f4={'default':async _0x39c9a5=>{const _0x45c5f4=_0xace41,_0x4615f0=await _0x1ad9c8[_0x45c5f4(0x10d)](_0x39c9a5,{});return _0x4615f0[_0x45c5f4(0xa5)];}};}const _0x4442bf=_0xe29038['findIndex'](_0x483a2d=>_0x483a2d===_0xace41(0x111));if(!helper[_0xace41(0x9a)](_0x5bd3a9[_0xace41(0xa5)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5bd3a9[_0xace41(0xa5)]),process[_0xace41(0x18b)][_0xace41(0x17a)]=_0x5bd3a9[_0xace41(0xa5)];const _0x52d21c=await(0x0,_0x2832f4[_0xace41(0x106)])(path['resolve'](_0x5bd3a9[_0xace41(0xa5)]));return _0xe29038['splice'](_0x4442bf,0x2),_0x5b0ab6[_0xace41(0xb9)](_0x52d21c,{});}const _0x51fa98=_0x5b0ab6[_0xace41(0x132)](require,path[_0xace41(0x15e)](process[_0xace41(0xc5)](),_0x5b0ab6[_0xace41(0x17e)]));if(_0x51fa98['jest'])return logger[_0xace41(0x11e)](_0x5b0ab6[_0xace41(0xae)]),_0x51fa98[_0xace41(0x12e)];const _0x389ff8=['js',_0x5b0ab6[_0xace41(0xe6)],_0x5b0ab6['mZQvz'],_0x5b0ab6['TLWrZ'],'ts'];for(const _0x5c0d29 of _0x389ff8){const _0x58c993=path[_0xace41(0x15e)](process['cwd'](),_0xace41(0x138)+_0x5c0d29);if(fs[_0xace41(0xb2)](_0x58c993)){process[_0xace41(0x18b)][_0xace41(0x17a)]=_0x58c993;const _0x232cf2=await(0x0,_0x2832f4[_0xace41(0x106)])(_0x58c993);return _0x232cf2;}}return{};},getSerial=(_0x5008db,_0x3f8a6d)=>{const _0x312596=a21_0x152de0,_0x3a552a={};_0x3a552a[_0x312596(0x107)]=_0x312596(0xe3),_0x3a552a[_0x312596(0x13e)]=function(_0x2b10a5,_0x489ae4){return _0x2b10a5>_0x489ae4;},_0x3a552a['DtCsE']=_0x312596(0x126);const _0x31f24d=_0x3a552a;let _0x3c5ad0=_0x31f24d['JgRHk'];return _0x31f24d['DLznO'](_0x5008db['length'],0x1)&&(!_0x3f8a6d[_0x312596(0x161)]&&(helper[_0x312596(0x9a)](_0x3f8a6d[_0x312596(0x172)])||_0x31f24d[_0x312596(0x13e)](_0x3f8a6d[_0x312596(0x172)],0x1)))&&(_0x3c5ad0=_0x31f24d[_0x312596(0x147)]),_0x3c5ad0;},getMaxWorkers=(_0x51cf71,_0x5e369f,_0x1c996e)=>{const _0x250911=a21_0x152de0,_0x568625={'nwKLB':function(_0x2ef7ce,_0x5e1c70){return _0x2ef7ce(_0x5e1c70);}};let _0x32e26f=0x1;if(!helper[_0x250911(0x9a)](_0x5e369f[_0x250911(0x17f)]))_0x32e26f=_0x568625['nwKLB'](parseInt,_0x5e369f[_0x250911(0x17f)]);else{if(!helper[_0x250911(0x9a)](_0x51cf71[_0x250911(0x172)]))_0x32e26f=_0x51cf71[_0x250911(0x172)];else!helper[_0x250911(0x9a)](_0x1c996e[_0x250911(0x172)])&&(_0x32e26f=_0x1c996e[_0x250911(0x172)]);}return _0x32e26f;};function a21_0x1978(_0x3e60dd,_0x162672){const _0xaa41fb=a21_0xaa41();return a21_0x1978=function(_0x197897,_0x3972b9){_0x197897=_0x197897-0x99;let _0x5168a7=_0xaa41fb[_0x197897];return _0x5168a7;},a21_0x1978(_0x3e60dd,_0x162672);}async function run(_0x4f59c2,_0x2ffabc,_0x205d9c){const _0x3e8fc9=a21_0x152de0,_0x1947f1={'bDFPv':_0x3e8fc9(0x12e),'VjlfJ':function(_0x2c7d96,_0xd117f7){return _0x2c7d96(_0xd117f7);},'UURvt':'@playwright/test','lvzzX':function(_0x507c20){return _0x507c20();},'tmKew':function(_0x13b113,_0x5cb7b8,_0x327df1,_0x25ca24){return _0x13b113(_0x5cb7b8,_0x327df1,_0x25ca24);},'yGZzG':function(_0x3aa873,_0x415940,_0x56b810,_0x5957d2){return _0x3aa873(_0x415940,_0x56b810,_0x5957d2);},'ajlqE':function(_0x270f14,_0x5954a0){return _0x270f14!=_0x5954a0;},'sCKhf':_0x3e8fc9(0xe3),'LtqdT':function(_0x5d006e,_0x248a8c,_0x4df98f){return _0x5d006e(_0x248a8c,_0x4df98f);},'uhqzD':_0x3e8fc9(0xfa),'IXuif':function(_0x8f4232,_0x253788){return _0x8f4232(_0x253788);},'mcRlh':_0x3e8fc9(0x126),'RZbPQ':function(_0x41771f,_0x3bb178){return _0x41771f*_0x3bb178;},'wZBnY':function(_0x1df4a9,_0x93bd07){return _0x1df4a9===_0x93bd07;},'dGjyo':_0x3e8fc9(0x141),'wVaFW':_0x3e8fc9(0x165),'dnnKt':_0x3e8fc9(0x100),'wmoon':_0x3e8fc9(0x159),'cOGtw':_0x3e8fc9(0xe0),'HKvFH':'customTestRunnerTemplate.js','dbwiD':'customEnvironment.js','VyFOi':function(_0x10620d,_0x589a47){return _0x10620d!==_0x589a47;},'PYuXz':_0x3e8fc9(0x18a),'QlxsU':_0x3e8fc9(0xac),'BubMF':_0x3e8fc9(0xb0),'dUKmf':_0x3e8fc9(0xb7),'jRyxE':_0x3e8fc9(0xf6),'dsamm':_0x3e8fc9(0x155),'mnhik':_0x3e8fc9(0xff),'ahpRV':function(_0xcf87eb,_0xd0f85b){return _0xcf87eb(_0xd0f85b);},'cMQdD':_0x3e8fc9(0xe1),'TugWY':_0x3e8fc9(0x10a),'uVPPv':'customCircus.js','yNXBE':'test_before.setup.js','LQhvB':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','QXdwu':_0x3e8fc9(0xcd),'TzACq':_0x3e8fc9(0xe2),'AgSXZ':_0x3e8fc9(0xea),'pyntv':_0x3e8fc9(0x135),'DCNbL':function(_0x2332a3,_0x2edc38){return _0x2332a3&&_0x2edc38;},'RSwvO':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','VVItQ':_0x3e8fc9(0xcb),'UfSFU':_0x3e8fc9(0x9c),'JRyhV':'default','qAbyv':_0x3e8fc9(0xe7),'ZKXeN':'@jest/core','reGhI':_0x3e8fc9(0x150),'AoJLb':function(_0x383d30,_0xe143e1){return _0x383d30>_0xe143e1;},'zwkrJ':_0x3e8fc9(0xfb),'wlQqZ':'--config','XscuQ':_0x3e8fc9(0xbe),'wjwJY':function(_0x3e6784,_0x4286f1){return _0x3e6784===_0x4286f1;},'yOGEP':_0x3e8fc9(0x129),'LQPOj':_0x3e8fc9(0xa6),'RfPQb':'close'},_0x438cfc=helper['getPackageVersion'](_0x1947f1['UURvt']);global[_0x3e8fc9(0x12b)]=!!_0x438cfc;const _0x331a3a=_0x1947f1[_0x3e8fc9(0xa8)](getPuppeteerVersion);global[_0x3e8fc9(0xfc)]=!!_0x331a3a;helper[_0x3e8fc9(0xed)]()&&(await _0x205d9c[_0x3e8fc9(0xb6)](_0x4f59c2),await helper[_0x3e8fc9(0xf3)](_0x205d9c[_0x3e8fc9(0xa5)]));if(_0x438cfc)await _0x1947f1[_0x3e8fc9(0xd7)](checkPwandBootstrapCli,_0x438cfc,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)],_0x205d9c);else _0x331a3a&&await _0x1947f1[_0x3e8fc9(0xd2)](checkPuppeteerAndBootstrapCli,_0x331a3a,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)],_0x205d9c);!BrowserstackCLI[_0x3e8fc9(0xaf)]()[_0x3e8fc9(0xca)]()&&await _0x205d9c[_0x3e8fc9(0x137)]();if(!_0x205d9c[_0x3e8fc9(0xa5)])return;_0x1947f1[_0x3e8fc9(0xd9)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x125)],null)?process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xdc)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x125)]:process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xdc)]=_0x1947f1[_0x3e8fc9(0x157)];const _0x4450d6=new TestOrchestrationHandler(_0x205d9c['config']),_0x11edf6=await _0x1947f1['LtqdT'](getUserJestConfigs,_0x4f59c2,_0x2ffabc);logger[_0x3e8fc9(0x11e)](_0x1947f1['uhqzD']);const _0x1fe2ff=Object[_0x3e8fc9(0x13a)]({},_0x11edf6);_0x1fe2ff[_0x3e8fc9(0x11a)]=Object[_0x3e8fc9(0x13a)]({},_0x1fe2ff[_0x3e8fc9(0x11a)],{'server':helper[_0x3e8fc9(0x136)](_0x205d9c[_0x3e8fc9(0xa5)]),'environment':_0x11edf6[_0x3e8fc9(0x119)]}),_0x1fe2ff['testEnvironmentOptions'][_0x3e8fc9(0x14b)]=_0x1947f1[_0x3e8fc9(0xc8)](getPercyOptions,_0x205d9c['config']);const _0x686108=helper[_0x3e8fc9(0x184)](_0x205d9c[_0x3e8fc9(0xa5)]);!helper[_0x3e8fc9(0x9a)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x18d)])&&(process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x142)]=JSON[_0x3e8fc9(0x117)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x18d)]));if(!BrowserstackCLI['getInstance']()[_0x3e8fc9(0xca)]()){const _0x44abc7=await TestHubHandler[_0x3e8fc9(0x12c)](FRAMEWORKS[_0x3e8fc9(0x14e)],_0x205d9c);}const _0x4f2238=helper['prepareCapabilities'](_0x205d9c[_0x3e8fc9(0xa5)],_0x686108,constants['FRAMEWORKS'][_0x3e8fc9(0x14e)]);process['env'][_0x3e8fc9(0x115)]=JSON[_0x3e8fc9(0x117)](_0x4f2238);let _0xe3afcd=_0x205d9c['config'][_0x3e8fc9(0x10b)];_0xe3afcd=_0xe3afcd||accessibilityHelper[_0x3e8fc9(0x139)](_0x205d9c['config']),process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xe9)]=_0xe3afcd,logger[_0x3e8fc9(0xf8)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0xe3afcd+_0x3e8fc9(0xd1)+BrowserstackCLI[_0x3e8fc9(0xaf)]()['isRunning']());if(_0x438cfc)try{const _0x462eab=_0x1947f1[_0x3e8fc9(0xf4)](checkAccessibilityPlatformConfig,_0x205d9c[_0x3e8fc9(0xa5)]);process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x17b)]=_0x462eab?_0x1947f1[_0x3e8fc9(0x157)]:_0x1947f1['mcRlh'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x462eab+_0x3e8fc9(0xf0)+process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x17b)]);}catch(_0x18351d){logger['debug'](_0x3e8fc9(0x110)+util[_0x3e8fc9(0x154)](_0x18351d));}_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x158)]=_0x4f2238,_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xa2)]=_0x1947f1['LtqdT'](getSerial,_0x4f2238,_0x4f59c2),_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x156)]=_0x1947f1['yGZzG'](getMaxWorkers,_0x4f59c2,_0x205d9c['config'],_0x11edf6),_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xf5)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0xf5)],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x127)]=_0x1947f1[_0x3e8fc9(0xe8)](_0x4f59c2[_0x3e8fc9(0xd5)],0x1)||0x1388,_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x14a)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x120)][_0x3e8fc9(0x14a)],_0x1fe2ff['testEnvironmentOptions'][_0x3e8fc9(0x105)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x120)][_0x3e8fc9(0x105)],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xa1)]=_0x205d9c[_0x3e8fc9(0xa5)]['logLevel'],_0x1fe2ff['testEnvironmentOptions']['turboScaleUrl']=_0x205d9c[_0x3e8fc9(0xa5)]['turboScaleUrl'],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xbb)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x113)],Object[_0x3e8fc9(0x13a)](_0x1fe2ff[_0x3e8fc9(0x11a)],helper[_0x3e8fc9(0x108)](_0x205d9c['config'],_0x686108,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)]));const _0x4423dc=helper[_0x3e8fc9(0xd8)](_0x205d9c[_0x3e8fc9(0xa5)]);if(!helper[_0x3e8fc9(0x16a)](_0x4423dc)){helper[_0x3e8fc9(0xc0)](_0x4423dc['retryTestsOnFailure'])&&(_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x188)]=_0x4423dc[_0x3e8fc9(0xd4)][_0x3e8fc9(0xb8)]);if(helper[_0x3e8fc9(0xc0)](_0x4423dc[_0x3e8fc9(0x15b)])&&helper['isNotUndefined'](_0x4423dc[_0x3e8fc9(0x15b)][_0x3e8fc9(0x163)])){const _0x1124f8={};_0x1124f8[_0x3e8fc9(0xb4)]=_0x4423dc['abortBuildOnFailure']['maxFailures'],_0x1124f8[_0x3e8fc9(0x163)]=_0x4423dc['abortBuildOnFailure'][_0x3e8fc9(0x163)],_0x1fe2ff['testEnvironmentOptions']['failFast']=_0x1124f8;}}let _0x411222='';_0x1947f1[_0x3e8fc9(0xdb)](helper['getPackageType'](),constants[_0x3e8fc9(0x15d)]['MODULE'])?_0x411222=_0x1947f1[_0x3e8fc9(0xf9)]:_0x411222=_0x1947f1[_0x3e8fc9(0x122)];const _0x27dabe=_0x411222,_0x3f324c=path['join'](__dirname,_0x1947f1['dnnKt'],_0x1947f1[_0x3e8fc9(0x116)]),_0x42a34c=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1['cOGtw']),_0x1a5955=path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1['dnnKt'],_0x1947f1['HKvFH']);_0x1fe2ff[_0x3e8fc9(0x119)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0x1fe2ff[_0x3e8fc9(0x119)]);_0x1fe2ff[_0x3e8fc9(0x119)]=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1[_0x3e8fc9(0x170)]);const _0x257f1d=_0x11edf6['runner'];if(_0x257f1d&&_0x1947f1[_0x3e8fc9(0x16c)](_0x257f1d,_0x1947f1[_0x3e8fc9(0x18c)])){const _0xa2893c=_0x257f1d[_0x3e8fc9(0x104)](_0x1947f1[_0x3e8fc9(0x9d)])?_0x257f1d:_0x3e8fc9(0xac)+_0x257f1d;process[_0x3e8fc9(0x18b)]['BSTACK_USER_JEST_RUNNER']=_0xa2893c,logger[_0x3e8fc9(0x11e)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0xa2893c);}_0x1fe2ff[_0x3e8fc9(0x99)]=_0x42a34c,_0x1fe2ff[_0x3e8fc9(0x102)]=_0x1fe2ff[_0x3e8fc9(0x102)]||[],_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xb5)]));_0x4450d6['isTestOrchestrationEnabled']()&&(_0x1fe2ff[_0x3e8fc9(0x9f)]=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1[_0x3e8fc9(0xe5)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x57148f=null;try{_0x57148f=helper['requireModule'](_0x1947f1[_0x3e8fc9(0x16f)],_0x1947f1[_0x3e8fc9(0xc9)]);}catch(_0x543e34){try{_0x57148f=helper[_0x3e8fc9(0x177)](_0x1947f1['mnhik'],_0x1947f1['dsamm']);}catch(_0x439961){_0x1947f1['ahpRV'](debug,_0x3e8fc9(0xc2)+_0x439961);}}_0x57148f&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1['cMQdD'],_0x1947f1[_0x3e8fc9(0x143)])),_0x1fe2ff[_0x3e8fc9(0xa7)]=path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1['uVPPv']));}_0x1fe2ff['setupFiles']=_0x1fe2ff['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x1fe2ff[_0x3e8fc9(0x162)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1[_0x3e8fc9(0x16e)]));}catch{logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0x148)]);}try{helper[_0x3e8fc9(0x145)][_0x3e8fc9(0x9b)](null,[_0x1947f1[_0x3e8fc9(0xec)],_0x1947f1[_0x3e8fc9(0xa4)]]),logger[_0x3e8fc9(0xf8)](_0x1947f1['TzACq']),_0x1fe2ff[_0x3e8fc9(0x162)][_0x3e8fc9(0xa3)](path['join'](__dirname,_0x1947f1[_0x3e8fc9(0x114)]));}catch(_0x30933e){logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0xd6)],_0x30933e);}if(_0x1947f1[_0x3e8fc9(0xe4)](!_0x438cfc,_0x331a3a)){try{logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0xfd)]),_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,'..',_0x1947f1[_0x3e8fc9(0xcc)],_0x1947f1[_0x3e8fc9(0x114)]));}catch(_0x4c47da){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x4c47da[_0x3e8fc9(0x14c)]);}try{const _0x6a6b6e=require[_0x3e8fc9(0xda)](_0x1947f1[_0x3e8fc9(0x14d)]),_0x525430=path[_0x3e8fc9(0x10f)](_0x6a6b6e)[_0x3e8fc9(0x133)](/\\/g,'/'),_0x3a76d6={};_0x3a76d6[_0x3e8fc9(0x186)]=_0x525430+'/internal/$1',_0x1fe2ff[_0x3e8fc9(0x134)]=Object[_0x3e8fc9(0x13a)]({},_0x1fe2ff['moduleNameMapper']||{},_0x3a76d6),logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x17c)+_0x525430);}catch(_0x499028){logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x15a)+_0x499028[_0x3e8fc9(0x14c)]);}}_0x1fe2ff[_0x3e8fc9(0x146)]=_0x1fe2ff['reporters']||[_0x1947f1[_0x3e8fc9(0x12d)]],_0x1947f1[_0x3e8fc9(0x167)](updateTestRerunConfig,_0x1fe2ff,_0x205d9c);const _0x419ac1=fs[_0x3e8fc9(0xb1)](_0x1a5955),_0x3b4a85=helper[_0x3e8fc9(0x169)](_0x1947f1[_0x3e8fc9(0xfe)],_0x1947f1[_0x3e8fc9(0xf7)]);!_0x3b4a85[_0x3e8fc9(0xce)]?fs[_0x3e8fc9(0xdd)](_0x1fe2ff[_0x3e8fc9(0x99)],_0x3e8fc9(0xef)+_0x419ac1+_0x3e8fc9(0xeb)+_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x113)][_0x3e8fc9(0x9e)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x3e8fc9(0xdd)](_0x1fe2ff[_0x3e8fc9(0x99)],_0x3e8fc9(0xef)+_0x419ac1+_0x3e8fc9(0xdf)+_0x205d9c[_0x3e8fc9(0xa5)]['platforms'][_0x3e8fc9(0x9e)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x3e8fc9(0x11e)](_0x3e8fc9(0x151)+_0x27dabe+_0x3e8fc9(0xa0)),fs[_0x3e8fc9(0xdd)](_0x27dabe,'const\x20config='+JSON[_0x3e8fc9(0x117)](_0x1fe2ff)+_0x3e8fc9(0x178));if(_0x4450d6[_0x3e8fc9(0xd3)]()){logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0x168)]);const _0x1cb5c9=await _0x4450d6[_0x3e8fc9(0x13d)](_0x1fe2ff,_0x2ffabc['slice'](0x1),_0x27dabe);logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x128)+JSON[_0x3e8fc9(0x117)](_0x1cb5c9)+'\x20test\x20files\x20to\x20run.');const _0x46fa97=await _0x4450d6[_0x3e8fc9(0x13c)](_0x1cb5c9);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x46fa97)),_0x46fa97&&_0x1947f1[_0x3e8fc9(0xee)](_0x46fa97[_0x3e8fc9(0x9e)],0x0)&&(process['env'][_0x3e8fc9(0x130)]=_0x46fa97?.[_0x3e8fc9(0x15e)](','));}logger[_0x3e8fc9(0x11e)](_0x1947f1[_0x3e8fc9(0x160)]);testhubUtils[_0x3e8fc9(0x13b)]()&&TestDetails['setup']();helper[_0x3e8fc9(0x149)]({},_0x2ffabc),PerformanceTester[_0x3e8fc9(0xbf)](PerformanceEvents[_0x3e8fc9(0x185)]);const _0x25ee44=[_0x1947f1['bDFPv'],_0x1947f1['wlQqZ'],_0x27dabe,..._0x2ffabc[_0x3e8fc9(0x123)](0x1)];process['env'][_0x3e8fc9(0x181)]=process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x181)]||_0x1947f1[_0x3e8fc9(0x144)];const _0x5ca9cb=_0x1947f1[_0x3e8fc9(0xd2)](spawn,_0x1947f1['XscuQ'],_0x25ee44,{'shell':_0x1947f1[_0x3e8fc9(0x16b)](process[_0x3e8fc9(0x16d)],_0x1947f1[_0x3e8fc9(0xc7)]),'stdio':_0x1947f1[_0x3e8fc9(0x11b)],'env':Object['assign']({},process[_0x3e8fc9(0x18b)])});_0x5ca9cb['on'](_0x1947f1[_0x3e8fc9(0x18e)],async _0x28e517=>{const _0x416c7d=_0x3e8fc9;PerformanceTester[_0x416c7d(0x13f)](PerformanceEvents[_0x416c7d(0x124)]),process[_0x416c7d(0x166)]=_0x28e517,logger[_0x416c7d(0xf8)](_0x416c7d(0x11c)+_0x28e517),logger[_0x416c7d(0x11e)](_0x416c7d(0x103)+_0x27dabe);if(helper['isNotUndefined'](_0x4423dc)&&helper[_0x416c7d(0xc0)](_0x4423dc[_0x416c7d(0x15b)])&&fs['existsSync'](_0x4423dc[_0x416c7d(0x15b)]['workingDir']))try{const _0x4ff8b7={};_0x4ff8b7[_0x416c7d(0x12a)]=!![],_0x4ff8b7[_0x416c7d(0x180)]=!![],fs[_0x416c7d(0x187)](_0x4423dc[_0x416c7d(0x15b)][_0x416c7d(0x163)],_0x4ff8b7),logger[_0x416c7d(0xf8)](_0x416c7d(0xaa)+_0x4423dc[_0x416c7d(0x15b)][_0x416c7d(0x163)]);}catch(_0x445556){logger[_0x416c7d(0xce)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x445556);}let _0x41ea1d=null;if(fs[_0x416c7d(0xb2)](_0x3f324c)){_0x41ea1d=fs[_0x416c7d(0xb1)](_0x3f324c);try{_0x41ea1d=JSON[_0x416c7d(0x121)](_0x41ea1d);}catch(_0x56276c){logger[_0x416c7d(0xf8)](_0x416c7d(0x131)+_0x3f324c+',\x20'+_0x41ea1d+_0x416c7d(0xd0)+_0x56276c);}fs['unlinkSync'](_0x3f324c);}fs['unlinkSync'](_0x27dabe),fs['unlinkSync'](_0x42a34c),_0x41ea1d&&(_0x205d9c['errorMessage']=helper[_0x416c7d(0x164)](_0x41ea1d,_0x1947f1['bDFPv'],_0x205d9c));const _0x4ba05d=BrowserstackCLI[_0x416c7d(0x171)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x416c7d(0xaf)]()[_0x416c7d(0xbc)]();}catch(_0x3f04d9){console['log'](_0x3f04d9),_0x1947f1[_0x416c7d(0xf4)](debug,_0x416c7d(0xa9)+util[_0x416c7d(0x154)](_0x3f04d9));}testOpsHelper[_0x416c7d(0x153)](),TestDetails['shutdown'](),await utilities[_0x416c7d(0x140)](_0x205d9c,_0x4ba05d);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a22_0x4a2eb9=a22_0x2d21;function a22_0x5cb1(){const _0x41643e=['794290euITOa','jest-circus','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join','17872oVgnNh','path','../../../helpers/helper','32fKSfFU','exports','5nxkIrb','initRequireModule','jestAdapterInit','3754152oKvQXN','22zMbSRJ','lyYPg','JZTzF','759861imFIyk','customJestAdapterInit.js','requireInternalModule','709336oItODi','808675pDOobp','12PgUPUq','jest-circus/build/runner.js','806346Pmruka','13lDDOfy'];a22_0x5cb1=function(){return _0x41643e;};return a22_0x5cb1();}(function(_0x2b623a,_0x3b7cd7){const _0x5f2601=a22_0x2d21,_0x1da004=_0x2b623a();while(!![]){try{const _0x313e7b=parseInt(_0x5f2601(0x175))/0x1*(-parseInt(_0x5f2601(0x17a))/0x2)+-parseInt(_0x5f2601(0x16d))/0x3+-parseInt(_0x5f2601(0x170))/0x4*(parseInt(_0x5f2601(0x17f))/0x5)+-parseInt(_0x5f2601(0x172))/0x6*(-parseInt(_0x5f2601(0x171))/0x7)+parseInt(_0x5f2601(0x17d))/0x8*(parseInt(_0x5f2601(0x174))/0x9)+parseInt(_0x5f2601(0x176))/0xa*(-parseInt(_0x5f2601(0x183))/0xb)+parseInt(_0x5f2601(0x182))/0xc;if(_0x313e7b===_0x3b7cd7)break;else _0x1da004['push'](_0x1da004['shift']());}catch(_0x206720){_0x1da004['push'](_0x1da004['shift']());}}}(a22_0x5cb1,0x30011));const path=require(a22_0x4a2eb9(0x17b)),{requireModule}=require(a22_0x4a2eb9(0x17c));let initJestAdapter;function a22_0x2d21(_0x5ce713,_0x4cb85f){const _0x5cb1cb=a22_0x5cb1();return a22_0x2d21=function(_0x2d2117,_0x8b8903){_0x2d2117=_0x2d2117-0x16b;let _0x1cb4b3=_0x5cb1cb[_0x2d2117];return _0x1cb4b3;},a22_0x2d21(_0x5ce713,_0x4cb85f);}try{initJestAdapter=requireModule(a22_0x4a2eb9(0x178),a22_0x4a2eb9(0x177));}catch{initJestAdapter=requireModule(a22_0x4a2eb9(0x173),a22_0x4a2eb9(0x177));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x4a2eb9(0x179)](__dirname,a22_0x4a2eb9(0x16e));module[a22_0x4a2eb9(0x17e)]=(..._0xe2697b)=>{const _0x22781f=a22_0x4a2eb9,_0x2146ca={'tBnbv':_0x22781f(0x181),'lyYPg':function(_0x2edb55,_0xf7fe2d){return _0x2edb55===_0xf7fe2d;},'JZTzF':function(_0x1a9127,..._0x2e2a97){return _0x1a9127(..._0x2e2a97);}};return _0xe2697b[0x3][_0x22781f(0x180)]=_0xe2697b[0x3][_0x22781f(0x16f)],_0xe2697b[0x3][_0x22781f(0x16f)]=(..._0xf110f7)=>{const _0x48291f=_0x22781f;if(_0xf110f7[0x0]&&_0xf110f7[0x0]['includes'](_0x2146ca['tBnbv'])&&_0x2146ca[_0x48291f(0x16b)](_0xf110f7[0x1],undefined))return _0xe2697b[0x3][_0x48291f(0x180)](FRAMEWORK_INITIALIZER);return _0xe2697b[0x3][_0x48291f(0x180)](..._0xf110f7);},_0x2146ca[_0x22781f(0x16c)](initJestAdapter,..._0xe2697b);};
|