browserstack-node-sdk 1.63.2 → 1.63.4
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/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x5d2f5a=a10_0x2770;(function(_0x206894,_0x1192b8){const _0xfce08b=a10_0x2770,_0x1fd9b5=_0x206894();while(!![]){try{const _0x502838=-parseInt(_0xfce08b(0xeb))/0x1+parseInt(_0xfce08b(0xee))/0x2+parseInt(_0xfce08b(0xe2))/0x3*(parseInt(_0xfce08b(0xc6))/0x4)+parseInt(_0xfce08b(0xe0))/0x5*(-parseInt(_0xfce08b(0xfa))/0x6)+parseInt(_0xfce08b(0xf5))/0x7+-parseInt(_0xfce08b(0xf9))/0x8*(-parseInt(_0xfce08b(0xf8))/0x9)+parseInt(_0xfce08b(0xe7))/0xa*(-parseInt(_0xfce08b(0xd8))/0xb);if(_0x502838===_0x1192b8)break;else _0x1fd9b5['push'](_0x1fd9b5['shift']());}catch(_0x66d586){_0x1fd9b5['push'](_0x1fd9b5['shift']());}}}(a10_0x1615,0xca9fb));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x5d2f5a(0xf1)),setKeepAlive=require(a10_0x5d2f5a(0xfb)),cucumberModule=requireModule(a10_0x5d2f5a(0xc9),a10_0x5d2f5a(0xd7)),logger=require(a10_0x5d2f5a(0xcd))[a10_0x5d2f5a(0xe5)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x5d2f5a(0xcf)],After=cucumberModule['After'],configuration=process[a10_0x5d2f5a(0xe4)][a10_0x5d2f5a(0xf6)];if(configuration!==undefined){const config=JSON[a10_0x5d2f5a(0xe3)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x5d2f5a(0xc7)]=!![]),global['__skipSessionStatus']=isTrue(config['skipSessionStatus']),require(a10_0x5d2f5a(0xea))['browserstackAgentV2'](config),global['__platformCaps']=config[a10_0x5d2f5a(0xd3)]||{};}global[a10_0x5d2f5a(0xf3)]=0x0;function a10_0x2770(_0x30e8f7,_0x1be998){const _0x16156e=a10_0x1615();return a10_0x2770=function(_0x27704c,_0x468f74){_0x27704c=_0x27704c-0xc6;let _0x3275d7=_0x16156e[_0x27704c];return _0x3275d7;},a10_0x2770(_0x30e8f7,_0x1be998);}const __setDefaultTimeout=cucumberModule[a10_0x5d2f5a(0xe6)];cucumberModule['setDefaultTimeout']=_0x11a502=>{const _0x1250c4=a10_0x5d2f5a,_0x480a2c={'cPdVA':function(_0x4cb944,_0x44b378){return _0x4cb944(_0x44b378);}};global['__timeout']=_0x11a502,_0x480a2c[_0x1250c4(0xe1)](__setDefaultTimeout,_0x11a502);};const a10_0x57a6c4={};function a10_0x1615(){const _0x62abe5=['6383202Qznoeo','CONFIG','name','11133waOJSU','5616OvGdyz','474arQqLJ','../../helpers/setKeepAlive','action','browserstack_executor:\x20','session_','944Eqygcw','__skipSessionName','tIUEW','cucumber/lib/index.js','aqrOF','PLQYQ','NvxIU','../../helpers/logger','pickle','Before','wTtut','Error:\x20setting\x20status\x20at\x20After:\x20','arguments','platformCaps','bstack','executeScript','TKLQt','cucumber','4510649QPznSe','Inside\x20browserstack\x20After','\x20|\x20','passed','zxtth','initQuit','wmwPB','Error:\x20quiting\x20at\x20After:\x20','64415jjQHTv','cPdVA','9243AXsaqX','parse','env','winstonLogger','setDefaultTimeout','50AhZLzm','status','failed','../../index','192444ObiJsF','__driver','result','3166134JhMRSl','debug','join','../../helpers/helper','then','__timeout','Inside\x20browserstack\x20Before'];a10_0x1615=function(){return _0x62abe5;};return a10_0x1615();}a10_0x57a6c4[a10_0x5d2f5a(0xf7)]=a10_0x5d2f5a(0xd4),Before(a10_0x57a6c4,function(){const _0x153ff5=a10_0x5d2f5a,_0x39a05b={};_0x39a05b[_0x153ff5(0xc8)]=_0x153ff5(0xf4);const _0x2b71c1=_0x39a05b;logger['debug'](_0x2b71c1['tIUEW']),global['__error_messages__']=[];});const a10_0x16db70={};a10_0x16db70[a10_0x5d2f5a(0xf7)]=a10_0x5d2f5a(0xd4),a10_0x16db70['timeout']=0x2710,After(a10_0x16db70,function(_0x5655a5,_0x2e58d5){const _0x87dc37=a10_0x5d2f5a,_0x514552={'GVfVy':'setSessionName','wTtut':function(_0x3230d2,_0x5f2168){return _0x3230d2===_0x5f2168;},'aqrOF':_0x87dc37(0xe9),'zxtth':function(_0x1ef3cf,_0x362f96,_0x4f1181,_0x11c4f0){return _0x1ef3cf(_0x362f96,_0x4f1181,_0x11c4f0);},'gdNWN':_0x87dc37(0xda),'pZfTi':function(_0x1f960f,_0x4c7d01,_0x52bd1c){return _0x1f960f(_0x4c7d01,_0x52bd1c);},'iEElA':_0x87dc37(0xdb),'wmwPB':function(_0x7849fa){return _0x7849fa();},'TKLQt':function(_0x10d9ca,_0x311829){return _0x10d9ca(_0x311829);},'PLQYQ':function(_0x973a14){return _0x973a14();},'NvxIU':_0x87dc37(0xd9)};logger[_0x87dc37(0xef)](_0x514552[_0x87dc37(0xcc)]),new Promise(async(_0x9429ec,_0x5bb6dc)=>{const _0x29eb18=_0x87dc37;let _0x12c334=![];try{await global['__driver'][_0x29eb18(0xfe)],_0x12c334=!![];if(!global[_0x29eb18(0xc7)]){const _0x757251={};_0x757251['name']=_0x5655a5[_0x29eb18(0xce)]['name'];const _0x5d76ce={};_0x5d76ce[_0x29eb18(0xfc)]=_0x514552['GVfVy'],_0x5d76ce[_0x29eb18(0xd2)]=_0x757251;const _0x1b3c52=_0x5d76ce;await global['__driver'][_0x29eb18(0xd5)](_0x29eb18(0xfd)+JSON['stringify'](_0x1b3c52));}_0x514552[_0x29eb18(0xd0)](_0x5655a5[_0x29eb18(0xed)][_0x29eb18(0xe8)]['toLowerCase'](),_0x514552[_0x29eb18(0xca)])?await _0x514552[_0x29eb18(0xdc)](markSessionStatus,global['__driver'],_0x514552[_0x29eb18(0xca)],global['__error_messages__'][_0x29eb18(0xf0)](_0x514552['gdNWN'])):await _0x514552['pZfTi'](markSessionStatus,global[_0x29eb18(0xec)],_0x514552['iEElA']);}catch(_0x4b31cb){logger['debug'](_0x29eb18(0xd1)+_0x4b31cb);}if(_0x12c334)try{await global[_0x29eb18(0xec)][_0x29eb18(0xdd)](),_0x514552[_0x29eb18(0xde)](_0x9429ec);}catch(_0x23711b){logger['debug'](_0x29eb18(0xdf)+_0x23711b),_0x514552[_0x29eb18(0xd6)](_0x5bb6dc,_0x23711b);}else _0x514552[_0x29eb18(0xcb)](_0x5bb6dc);})[_0x87dc37(0xf2)](()=>_0x2e58d5());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x2821e8=a11_0x42e3;(function(_0x122d64,_0x12fc91){const _0x28613b=a11_0x42e3,_0x577388=_0x122d64();while(!![]){try{const _0x53c61b=-parseInt(_0x28613b(0x1df))/0x1+-parseInt(_0x28613b(0x1e7))/0x2+-parseInt(_0x28613b(0x1e6))/0x3*(-parseInt(_0x28613b(0x1db))/0x4)+parseInt(_0x28613b(0x1e9))/0x5+parseInt(_0x28613b(0x1e8))/0x6+-parseInt(_0x28613b(0x1dc))/0x7+parseInt(_0x28613b(0x1dd))/0x8;if(_0x53c61b===_0x12fc91)break;else _0x577388['push'](_0x577388['shift']());}catch(_0x50cc33){_0x577388['push'](_0x577388['shift']());}}}(a11_0x2d21,0xaa214));const {requireModule}=require(a11_0x2821e8(0x1ea)),constants=require(a11_0x2821e8(0x1de));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x2821e8(0x1e0),a11_0x2821e8(0x1e3));}catch(a11_0x5d38ee){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x2821e8(0x1e1));}const userValue=global[a11_0x2821e8(0x1e2)]||0x0;(userValue===0x0||userValue<constants[a11_0x2821e8(0x1e4)])&&cucumberModule[a11_0x2821e8(0x1e5)](constants[a11_0x2821e8(0x1e4)]);function a11_0x42e3(_0x4c4b87,_0x52b47d){const _0x2d21a4=a11_0x2d21();return a11_0x42e3=function(_0x42e30e,_0x221d90){_0x42e30e=_0x42e30e-0x1db;let _0x3af146=_0x2d21a4[_0x42e30e];return _0x3af146;},a11_0x42e3(_0x4c4b87,_0x52b47d);}function a11_0x2d21(){const _0x466340=['1961435jZlTbP','../../helpers/helper','825228Nlellt','4135789TjhQhP','16787112mBWhjs','../utils/constants','1293418cHFFWT','@cucumber/cucumber/lib/index.js','cucumber','__timeout','@cucumber/cucumber','BSTACK_DELTA','setDefaultTimeout','9balmFy','1128568uhWWog','214704TBzyJC'];a11_0x2d21=function(){return _0x466340;};return a11_0x2d21();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a12_0x46e5(_0x2e9a45,_0x5681dd){const _0x135121=a12_0x1351();return a12_0x46e5=function(_0x46e535,_0x9ab3a3){_0x46e535=_0x46e535-0x73;let _0x2cd3ac=_0x135121[_0x46e535];return _0x2cd3ac;},a12_0x46e5(_0x2e9a45,_0x5681dd);}const a12_0x22de7b=a12_0x46e5;(function(_0x192e6e,_0x4ba431){const _0x86c989=a12_0x46e5,_0x1387bb=_0x192e6e();while(!![]){try{const _0xcbbece=parseInt(_0x86c989(0x95))/0x1+parseInt(_0x86c989(0x75))/0x2*(-parseInt(_0x86c989(0xb1))/0x3)+parseInt(_0x86c989(0x97))/0x4+-parseInt(_0x86c989(0x73))/0x5+parseInt(_0x86c989(0x78))/0x6+parseInt(_0x86c989(0x99))/0x7+-parseInt(_0x86c989(0x9c))/0x8;if(_0xcbbece===_0x4ba431)break;else _0x1387bb['push'](_0x1387bb['shift']());}catch(_0x33046b){_0x1387bb['push'](_0x1387bb['shift']());}}}(a12_0x1351,0x5c0ca));function a12_0x1351(){const _0x4898bd=['toString','169430kbTezo','ijIay','54sXnvAo','Failed\x20to\x20establish\x20connection.','hPzqS','390600sumeCO','string','https:','protocol','undefined','footer','command','help','localIdentifier','hosts','replace','exports','url','missing','rcBao','integrations-repeater','oiYps','bstackAccesskey','root','error','Integration\x20hosts\x20missing.','BpnnN','UkvsX','../../helpers/BrowserStackSetup','wceXF','config','every','GgAmH','PDQIg','348860gfTRIb','OtEGT','2343296NpwQFR','usage','4523848zmfluL','connect','demandOption','6827216obuaeL','join','bstackAccessKey','split','qKjsL','443','hlVZd','hostname','eKUgF','port','only','invalid','winstonLogger','./constants','bgHZd','uwPnb','BrowserStack\x20access\x20key\x20missing.','Zxqrt','browserstackLocal','accessKey','options','42414oEmrkx','setProxySettings','map','cczrR','browserStackLocalOptions','type'];a12_0x1351=function(){return _0x4898bd;};return a12_0x1351();}const {default:BrowserStackSetup}=require(a12_0x22de7b(0x8f)),logger=require('../../helpers/logger')[a12_0x22de7b(0xa8)],{URL}=require(a12_0x22de7b(0x84)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x22de7b(0xa9)),validHosts=function(_0x5cfb67){const _0x26ef3b=a12_0x22de7b;return _0x5cfb67[_0x26ef3b(0x9f)](',')[_0x26ef3b(0x92)](_0x5d9b3c=>{try{new URL(_0x5d9b3c['trim']());}catch(_0x24baa6){return![];}return!![];});},parseOnPremHosts=function(_0x1bf649){const _0x338c3b=a12_0x22de7b,_0x110e97={};_0x110e97['hlVZd']=function(_0x2499cc,_0x1d43e5){return _0x2499cc===_0x1d43e5;},_0x110e97['wceXF']=_0x338c3b(0x7a),_0x110e97['hPzqS']=_0x338c3b(0xa1),_0x110e97[_0x338c3b(0xa0)]=function(_0x2cb974,_0x1d00b9){return _0x2cb974===_0x1d00b9;},_0x110e97[_0x338c3b(0xab)]='https';const _0x54ed9b=_0x110e97;return _0x1bf649[_0x338c3b(0x9f)](',')[_0x338c3b(0xb3)](_0x4273c3=>{const _0x20e90e=_0x338c3b,_0x24ff6f=new URL(_0x4273c3['trim']()),_0x517491=_0x24ff6f[_0x20e90e(0xa3)],_0x1da066=_0x24ff6f[_0x20e90e(0xa5)]||(_0x54ed9b[_0x20e90e(0xa2)](_0x24ff6f[_0x20e90e(0x7b)],_0x54ed9b[_0x20e90e(0x90)])?_0x54ed9b[_0x20e90e(0x77)]:'80'),_0x235b81=_0x24ff6f[_0x20e90e(0x7b)][_0x20e90e(0x82)](':',''),_0x403dff=_0x54ed9b['qKjsL'](_0x235b81,_0x54ed9b[_0x20e90e(0xab)])?0x1:0x0;return _0x517491+','+_0x1da066+','+_0x403dff;});},connectCommandBuilder=function(_0x139de2){const _0x14c716=a12_0x22de7b,_0x5b298b={};_0x5b298b[_0x14c716(0x8e)]=_0x14c716(0x79);const _0x2e1719=_0x5b298b,_0xef157d={};_0xef157d['describe']=HELP_MESSAGES['options']['bstackAccessKey'],_0xef157d['type']=_0x2e1719[_0x14c716(0x8e)];const _0x3e0bae={};_0x3e0bae['describe']=HELP_MESSAGES['options'][_0x14c716(0x81)],_0x3e0bae[_0x14c716(0xb6)]=_0x2e1719[_0x14c716(0x8e)],_0x3e0bae[_0x14c716(0x9b)]=!![];const _0x27beb9={};return _0x27beb9['bstack-accesskey']=_0xef157d,_0x27beb9[_0x14c716(0x81)]=_0x3e0bae,_0x139de2[_0x14c716(0xb0)](_0x27beb9);},connectCommandHandler=async function(_0x534e54){const _0x4af968=a12_0x22de7b,_0x38dc9c={'uvARd':'integrations','ijIay':function(_0x511cdd,_0x5e851d){return _0x511cdd===_0x5e851d;},'bgHZd':_0x4af968(0x7c),'eKUgF':_0x4af968(0xac),'cczrR':_0x4af968(0x8c),'PDQIg':function(_0xaba73f,_0x5baeed){return _0xaba73f(_0x5baeed);},'Zxqrt':'Hosts\x20not\x20valid','GgAmH':function(_0x5672ef,_0x12e44e){return _0x5672ef(_0x12e44e);},'oiYps':_0x4af968(0x87),'OtEGT':'Connection\x20established\x20successfully.','OCPWy':_0x4af968(0x76)};try{const _0x14ba9e=new BrowserStackSetup(_0x534e54,_0x38dc9c['uvARd']);_0x534e54['bstackAccesskey']&&(_0x14ba9e[_0x4af968(0x91)][_0x4af968(0xaf)]=_0x534e54[_0x4af968(0x89)]);if(_0x38dc9c[_0x4af968(0x74)](typeof _0x14ba9e[_0x4af968(0x91)]['accessKey'],_0x38dc9c[_0x4af968(0xaa)])){logger[_0x4af968(0x8b)](_0x38dc9c[_0x4af968(0xa4)]);throw new Error(ERROR_MESSAGES[_0x4af968(0x9e)][_0x4af968(0x85)]);}const _0x6887fa=_0x534e54['hosts'];if(_0x38dc9c['ijIay'](typeof _0x6887fa,_0x38dc9c['bgHZd'])){logger[_0x4af968(0x8b)](_0x38dc9c[_0x4af968(0xb4)]);throw new Error(ERROR_MESSAGES[_0x4af968(0x81)][_0x4af968(0x85)]);}if(!_0x38dc9c[_0x4af968(0x94)](validHosts,_0x6887fa)){logger[_0x4af968(0x8b)](_0x38dc9c[_0x4af968(0xad)]);throw new Error(ERROR_MESSAGES['hosts'][_0x4af968(0xa7)]);}const _0x19a08b=_0x38dc9c[_0x4af968(0x93)](parseOnPremHosts,_0x6887fa);_0x14ba9e['config'][_0x4af968(0xae)]=!![],_0x14ba9e[_0x4af968(0x91)][_0x4af968(0xb5)][_0x4af968(0x80)]=_0x38dc9c[_0x4af968(0x88)],_0x14ba9e['config'][_0x4af968(0xb5)][_0x4af968(0xa6)]=_0x19a08b[_0x4af968(0x9d)](','),helper[_0x4af968(0xb2)](_0x14ba9e[_0x4af968(0x91)]),await _0x14ba9e['setupBrowserstackLocal'](),logger['info'](_0x38dc9c[_0x4af968(0x96)]);}catch(_0x549762){logger['error'](_0x38dc9c['OCPWy']);throw new Error(_0x549762[_0x4af968(0xb7)]());}};function run(_0xc75342){const _0x20445b=a12_0x22de7b,_0x1d09b8={};_0x1d09b8[_0x20445b(0x8d)]=_0x20445b(0x9a),_0x1d09b8[_0x20445b(0x86)]=_0x20445b(0x7f);const _0x2391c1=_0x1d09b8;_0xc75342[_0x20445b(0x98)](HELP_MESSAGES[_0x20445b(0x7e)][_0x20445b(0x8a)])[_0x20445b(0x7e)](_0x2391c1['BpnnN'],HELP_MESSAGES[_0x20445b(0x7e)][_0x20445b(0x9a)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x20445b(0x7f)](_0x2391c1['rcBao'])['epilogue'](HELP_MESSAGES['command'][_0x20445b(0x7d)]);}module[a12_0x22de7b(0x83)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x1aaf8c=a13_0x1ae2;(function(_0x22557f,_0xe0c7fe){var _0x56cb94=a13_0x1ae2,_0x28b0c6=_0x22557f();while(!![]){try{var _0x3a9915=-parseInt(_0x56cb94(0x15d))/0x1*(-parseInt(_0x56cb94(0x14e))/0x2)+-parseInt(_0x56cb94(0x161))/0x3*(parseInt(_0x56cb94(0x151))/0x4)+parseInt(_0x56cb94(0x15f))/0x5+parseInt(_0x56cb94(0x15e))/0x6+parseInt(_0x56cb94(0x158))/0x7+-parseInt(_0x56cb94(0x159))/0x8+-parseInt(_0x56cb94(0x154))/0x9*(parseInt(_0x56cb94(0x14d))/0xa);if(_0x3a9915===_0xe0c7fe)break;else _0x28b0c6['push'](_0x28b0c6['shift']());}catch(_0x10219e){_0x28b0c6['push'](_0x28b0c6['shift']());}}}(a13_0x3da7,0xf3dbc));var a13_0x446f52={};a13_0x446f52[a13_0x1aaf8c(0x14f)]=a13_0x1aaf8c(0x15c),a13_0x446f52[a13_0x1aaf8c(0x157)]=a13_0x1aaf8c(0x152);function a13_0x1ae2(_0xdb86c7,_0x147d0c){var _0x3da70d=a13_0x3da7();return a13_0x1ae2=function(_0x1ae2e7,_0x185794){_0x1ae2e7=_0x1ae2e7-0x14d;var _0x46c749=_0x3da70d[_0x1ae2e7];return _0x46c749;},a13_0x1ae2(_0xdb86c7,_0x147d0c);}function a13_0x3da7(){var _0x46160c=['788071xHnoux','9921330TvskWQ','8545890LuXPYA','command','6PfRlnp','options','6088060pPszdG','2pwtKnm','bstackAccessKey','footer','1111324UHyQQK','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.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','54DitWIt','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','12693100SlXFRs','6054096dzsBuM','ERROR_MESSAGES','invalid','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0x3da7=function(){return _0x46160c;};return a13_0x3da7();}var a13_0x5251ca={};a13_0x5251ca['root']=a13_0x1aaf8c(0x153),a13_0x5251ca['connect']='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x5251ca[a13_0x1aaf8c(0x150)]=a13_0x1aaf8c(0x156);var a13_0x602c92={};a13_0x602c92[a13_0x1aaf8c(0x162)]=a13_0x446f52,a13_0x602c92[a13_0x1aaf8c(0x160)]=a13_0x5251ca,exports['HELP_MESSAGES']=a13_0x602c92;var a13_0x3c92f4={};a13_0x3c92f4[a13_0x1aaf8c(0x155)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x19bca6={};a13_0x19bca6['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x19bca6[a13_0x1aaf8c(0x15b)]='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 a13_0x5bd4d7={};a13_0x5bd4d7[a13_0x1aaf8c(0x14f)]=a13_0x3c92f4,a13_0x5bd4d7[a13_0x1aaf8c(0x157)]=a13_0x19bca6,exports[a13_0x1aaf8c(0x15a)]=a13_0x5bd4d7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x2f5b10=a14_0x534e;(function(_0x30b4c8,_0x3f947e){const _0x5d2595=a14_0x534e,_0x1dc976=_0x30b4c8();while(!![]){try{const _0x38d7cd=parseInt(_0x5d2595(0x1a5))/0x1*(-parseInt(_0x5d2595(0x198))/0x2)+-parseInt(_0x5d2595(0x159))/0x3*(parseInt(_0x5d2595(0x175))/0x4)+-parseInt(_0x5d2595(0x193))/0x5+-parseInt(_0x5d2595(0x1aa))/0x6+parseInt(_0x5d2595(0x1b6))/0x7+-parseInt(_0x5d2595(0x1ae))/0x8*(parseInt(_0x5d2595(0x158))/0x9)+parseInt(_0x5d2595(0x17f))/0xa;if(_0x38d7cd===_0x3f947e)break;else _0x1dc976['push'](_0x1dc976['shift']());}catch(_0x27c053){_0x1dc976['push'](_0x1dc976['shift']());}}}(a14_0x547a,0x618b2));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a14_0x2f5b10(0x1bb)),testhubUtils=require(a14_0x2f5b10(0x163)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x2f5b10(0x19a)),testRunMap=require(a14_0x2f5b10(0x1a6)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x2f5b10(0x19e),a14_0x15acf7={};a14_0x15acf7[a14_0x2f5b10(0x17e)]=a14_0x2f5b10(0x17e),a14_0x15acf7[a14_0x2f5b10(0x169)]='failed',a14_0x15acf7[a14_0x2f5b10(0x1b3)]=a14_0x2f5b10(0x1b3),a14_0x15acf7[a14_0x2f5b10(0x15f)]='skipped';function a14_0x547a(){const _0x5d2538=['5143464dGzths','mnbrM','statSync','join','number','pending','trim','SbOKL','1061956JomHVw','scJPr','HIkhj','_sendSpecEvent','IjrZr','uuid','finished_at','Exception\x20in\x20jasmine\x20specDone\x20for\x20','fyvAg','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','xKhgO','BmvcM','match','uNKPD','status','GvJcX','_paths','backtrace','yaprp','eXdtA','qmaCU','_suitesById','DBeFU','config','TestRunFinished','AZORC','rJgaJ','failure','uploadEventData','ZDRWa','hYFJx','push','yYFKK','xKUIj','XxwRE','OrWfi','VXnfc','mbxsH','9MHSjCd','2307FyjqSp','message','appendTesthubParams','bHlZy','startsWith','QWbvz','excluded','jasmineStarted','err','HjJDu','../../../helpers/testhub/utils','endsWith','lang','get','filename','keys','failed','dirname','OTakV','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','delete','expected','specStarted','\x20:\x20','javascript','description','parentSuiteId','_resolveFilePath','3308ccZGGd','KZfdW','HQUDQ','jasmineDone','Spec\x20failed','_collapseFailedExpectations','cwd','specDone','remove','passed','23008000DCYasr','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','shouldProcessEventForTesthub','FDGfy','.git','CecRa','xDFzC','JASMINE','prefixTestPath','voeoe','reverse','UnhandledError','isArray','Lzlxd','fileNameByFullName','length','duration','LXNqS','failedExpectations','862965KFIbCx','testObservability','slice','stack','_fileNameByFullName','1490rwnLBj','has','../../../helpers/test-observability/utils','TestRunStarted','set','_scopes','Jasmine','fullName','actual','RRWAj','ZGGgK','wMqBQ','iDOTc','23GAYUrW','../testRunMap','UsNYd','jyrBW','bxoCY','3506076KjTNTg','ejbQp','expanded','_findGitConfig'];a14_0x547a=function(){return _0x5d2538;};return a14_0x547a();}const STATUS_MAP=a14_0x15acf7;class BrowserStackJasmineReporter{constructor(_0x3835d4={}){const _0x3fb1a1=a14_0x2f5b10,_0x46eb86={'mnbrM':function(_0x535891){return _0x535891();}};this[_0x3fb1a1(0x194)]=_0x46eb86[_0x3fb1a1(0x1af)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x3fb1a1(0x17b)]()},undefined),this[_0x3fb1a1(0x197)]=_0x3835d4&&_0x3835d4[_0x3fb1a1(0x18e)]||{},this[_0x3fb1a1(0x1cb)]=new Map();}[a14_0x2f5b10(0x160)](){}['suiteStarted'](_0x1845c5){const _0x588555=a14_0x2f5b10,_0xf81c73={'HjJDu':function(_0x3e18ca,_0x1a65bf){return _0x3e18ca!==_0x1a65bf;},'UsNYd':function(_0x5bf494,_0x119b84){return _0x5bf494(_0x119b84);}};try{_0x1845c5&&_0xf81c73[_0x588555(0x162)](_0x1845c5['id'],undefined)&&_0xf81c73[_0x588555(0x162)](_0x1845c5['id'],null)&&this[_0x588555(0x1cb)]['set'](_0x1845c5['id'],{'description':_0x1845c5['description'],'parentSuiteId':_0x1845c5[_0x588555(0x173)]});}catch(_0x212510){_0xf81c73[_0x588555(0x1a7)](debug,_0x588555(0x180)+(_0x1845c5&&_0x1845c5[_0x588555(0x19f)])+'\x20:\x20'+_0x212510);}}[a14_0x2f5b10(0x16f)](_0x3bc36e){const _0x55d708=a14_0x2f5b10,_0x3889d4={'DBeFU':function(_0x7f1d6a,_0x47c8e1){return _0x7f1d6a!==_0x47c8e1;},'qmaCU':function(_0x235564){return _0x235564();},'FxSSo':_0x55d708(0x19b),'yYFKK':function(_0x46bc36,_0x2cac11){return _0x46bc36(_0x2cac11);}};try{if(_0x3889d4[_0x55d708(0x1cc)](testhubUtils[_0x55d708(0x182)](),!![]))return;const _0x3f1957=_0x3889d4[_0x55d708(0x1ca)](uuidv4);testRunMap['set'](_0x3bc36e['id'],_0x3f1957),this[_0x55d708(0x1b9)](_0x3bc36e,_0x3f1957,_0x3889d4['FxSSo']);}catch(_0x2463d0){_0x3889d4[_0x55d708(0x152)](debug,_0x55d708(0x16c)+(_0x3bc36e&&_0x3bc36e[_0x55d708(0x19f)])+_0x55d708(0x170)+_0x2463d0);}}[a14_0x2f5b10(0x17c)](_0x5b9bfc){const _0x2980cf=a14_0x2f5b10,_0xa0e2cd={'KZfdW':function(_0xee1449,_0x27e2b2){return _0xee1449!==_0x27e2b2;},'AFaXt':function(_0x1fdb37){return _0x1fdb37();},'voeoe':function(_0x315b92,_0x318d3f){return _0x315b92===_0x318d3f;},'QVOHT':_0x2980cf(0x15f),'ZGGgK':'TestRunSkipped','CecRa':_0x2980cf(0x1ce),'uNKPD':function(_0x160c92,_0x17a604){return _0x160c92(_0x17a604);}};try{if(_0xa0e2cd[_0x2980cf(0x176)](testhubUtils[_0x2980cf(0x182)](),!![]))return;const _0x5cc67a=testRunMap[_0x2980cf(0x166)](_0x5b9bfc['id'])||_0xa0e2cd['AFaXt'](uuidv4),_0x1a2bc0=_0xa0e2cd[_0x2980cf(0x189)](_0x5b9bfc[_0x2980cf(0x1c4)],_0xa0e2cd['QVOHT'])?_0xa0e2cd[_0x2980cf(0x1a2)]:_0xa0e2cd[_0x2980cf(0x185)];this[_0x2980cf(0x1b9)](_0x5b9bfc,_0x5cc67a,_0x1a2bc0);}catch(_0x5f3c6b){_0xa0e2cd[_0x2980cf(0x1c3)](debug,_0x2980cf(0x1bd)+(_0x5b9bfc&&_0x5b9bfc[_0x2980cf(0x19f)])+_0x2980cf(0x170)+_0x5f3c6b);}finally{_0x5b9bfc&&(testRunMap[_0x2980cf(0x17d)](_0x5b9bfc['id']),_specStartTimes[_0x2980cf(0x16d)](_0x5b9bfc['id']));}}['suiteDone'](){}[a14_0x2f5b10(0x178)](){}['_sendSpecEvent'](_0x2d5e98,_0x2e37e4,_0x3b79b9){const _0x1c4723=a14_0x2f5b10,_0xea2389={'yaprp':function(_0x8f7d9,_0x1494a7){return _0x8f7d9===_0x1494a7;},'rJgaJ':'TestRunFinished','ejbQp':'TestRunSkipped','wwSEK':'File\x20path\x20could\x20not\x20be\x20found','HQUDQ':function(_0x8c5194,_0x34c990,_0xc62cde){return _0x8c5194(_0x34c990,_0xc62cde);},'tGlUg':_0x1c4723(0x161),'IjrZr':_0x1c4723(0x19b),'xDFzC':function(_0x58941f,_0x26159d){return _0x58941f!==_0x26159d;},'FDGfy':function(_0x13e351,_0xeac14a){return _0x13e351!==_0xeac14a;},'VXnfc':function(_0x230779,_0x4ed713){return _0x230779===_0x4ed713;},'LXNqS':_0x1c4723(0x171),'XxwRE':function(_0x255937,_0x2dbfda){return _0x255937&&_0x2dbfda;},'RRWAj':'skipped','HIkhj':'passed','eXdtA':function(_0x470494,_0x2d0e7c){return _0x470494===_0x2d0e7c;},'iDOTc':_0x1c4723(0x1b2),'eVlyd':'AssertionError','OrWfi':_0x1c4723(0x18b),'AZORC':'started_at','wMqBQ':_0x1c4723(0x1bc),'bxoCY':_0x1c4723(0x1d1),'hYFJx':'failure_backtrace','jyrBW':_0x1c4723(0x1c7),'OTakV':'failure_reason_expanded','bHlZy':_0x1c4723(0x1ac),'fEsFi':function(_0x3b398a,_0x301621){return _0x3b398a(_0x301621);}};try{const _0x12e475=_0xea2389['yaprp'](_0x3b79b9,_0xea2389[_0x1c4723(0x1d0)])||_0xea2389[_0x1c4723(0x1c8)](_0x3b79b9,_0xea2389['ejbQp']),_0x1b68e8=this[_0x1c4723(0x174)](_0x2d5e98),_0x650e62=_0x1b68e8?this[_0x1c4723(0x1c6)][_0x1c4723(0x188)](_0x1b68e8):_0xea2389['wwSEK'],_0x2be2d2=_0x1b68e8?this[_0x1c4723(0x1ad)](path[_0x1c4723(0x16a)](_0x1b68e8)):null,_0x4793cf=this[_0x1c4723(0x17a)](_0x2d5e98[_0x1c4723(0x192)]),_0x19b78b=_0x4793cf?_0x4793cf[_0x1c4723(0x15a)]:undefined,_0x2d072e=_0x4793cf?_0xea2389[_0x1c4723(0x177)](failureData,_0x4793cf,_0xea2389['tGlUg']):[],_0x2e73d9=new Date()['toISOString'](),_0x144a06=this[_0x1c4723(0x19d)](_0x2d5e98);_0xea2389['yaprp'](_0x3b79b9,_0xea2389[_0x1c4723(0x1ba)])&&_0x2d5e98&&_0xea2389[_0x1c4723(0x186)](_0x2d5e98['id'],undefined)&&_0xea2389[_0x1c4723(0x183)](_0x2d5e98['id'],null)&&_specStartTimes[_0x1c4723(0x19c)](_0x2d5e98['id'],_0x2e73d9);const _0x1d4a64=_0xea2389[_0x1c4723(0x156)](_0x3b79b9,_0xea2389[_0x1c4723(0x1ba)])?_0x2e73d9:_0x2d5e98&&_specStartTimes[_0x1c4723(0x166)](_0x2d5e98['id'])||null,_0x3c8e29={};_0x3c8e29[_0x1c4723(0x165)]=_0xea2389[_0x1c4723(0x191)],_0x3c8e29['code']=null;const _0x27fad6={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2e37e4,'name':_0x2d5e98[_0x1c4723(0x172)],'body':_0x3c8e29,'scope':_0x144a06[_0x1c4723(0x1b1)]('\x20'),'scopes':_0x144a06,'identifier':_0x2d5e98[_0x1c4723(0x19f)],'file_name':_0x650e62,'vc_filepath':_0xea2389[_0x1c4723(0x154)](_0x2be2d2,_0x1b68e8)?path['relative'](_0x2be2d2,_0x1b68e8):null,'location':_0x650e62,'result':_0xea2389['yaprp'](_0x3b79b9,_0xea2389['ejbQp'])?_0xea2389[_0x1c4723(0x1a1)]:STATUS_MAP[_0x2d5e98[_0x1c4723(0x1c4)]]||_0xea2389[_0x1c4723(0x1b8)],'failure_reason':_0x19b78b,'duration_in_ms':_0xea2389[_0x1c4723(0x1c9)](typeof _0x2d5e98[_0x1c4723(0x190)],_0xea2389[_0x1c4723(0x1a4)])?_0x2d5e98['duration']:null,'started_at':_0x1d4a64,'finished_at':_0x12e475?_0x2e73d9:null,'failure':_0x2d072e,'failure_type':!_0x19b78b?null:_0x19b78b[_0x1c4723(0x1c2)](/AssertionError/)?_0xea2389['eVlyd']:_0xea2389[_0x1c4723(0x155)],'retry_of':null};_0xea2389['eXdtA'](_0x3b79b9,_0xea2389['ejbQp'])&&!_0x27fad6[_0xea2389[_0x1c4723(0x1cf)]]&&(_0x27fad6[_0xea2389['AZORC']]=_0x27fad6[_0xea2389[_0x1c4723(0x1a3)]]);const _0x4a6c99=_0x27fad6[_0xea2389[_0x1c4723(0x1a9)]][0x0];_0x4a6c99&&(_0x27fad6[_0xea2389[_0x1c4723(0x1d4)]]=_0x4a6c99[_0xea2389[_0x1c4723(0x1a8)]],_0x27fad6[_0xea2389[_0x1c4723(0x16b)]]=_0x4a6c99[_0xea2389[_0x1c4723(0x15c)]]);testhubUtils[_0x1c4723(0x15b)](_0x27fad6,_0x3b79b9,_0x2d5e98,FRAMEWORKS['JASMINE']);const _0x534bf1={'event_type':_0xea2389['eXdtA'](_0x3b79b9,_0xea2389[_0x1c4723(0x1ab)])?_0xea2389[_0x1c4723(0x1d0)]:_0x3b79b9,'test_run':_0x27fad6};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x1c4723(0x187)],_0x534bf1),SessionHandler[_0x1c4723(0x1d2)](_0x534bf1);}catch(_0x22db8d){_0xea2389['fEsFi'](debug,_0x1c4723(0x1bf)+_0x3b79b9+'\x20:\x20'+_0x22db8d);}}[a14_0x2f5b10(0x19d)](_0x5ccda3){const _0x1cd9aa=a14_0x2f5b10,_0x5eca6d={'Lzlxd':function(_0x2c8244,_0x532588){return _0x2c8244!==_0x532588;},'hhwta':function(_0x368dfd,_0xe955e3){return _0x368dfd>_0xe955e3;},'QWbvz':function(_0x293c99,_0x43b3b2){return _0x293c99(_0x43b3b2);},'BmvcM':function(_0x2acd3b,_0x5e467a){return _0x2acd3b-_0x5e467a;}};try{const _0x2b2a75=[];let _0x1ada0e=_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x173)];const _0x405580=new Set();while(_0x5eca6d[_0x1cd9aa(0x18d)](_0x1ada0e,undefined)&&_0x5eca6d[_0x1cd9aa(0x18d)](_0x1ada0e,null)&&this[_0x1cd9aa(0x1cb)][_0x1cd9aa(0x199)](_0x1ada0e)&&!_0x405580[_0x1cd9aa(0x199)](_0x1ada0e)){_0x405580['add'](_0x1ada0e);const _0x452ebb=this[_0x1cd9aa(0x1cb)][_0x1cd9aa(0x166)](_0x1ada0e);_0x452ebb&&_0x452ebb[_0x1cd9aa(0x172)]&&_0x2b2a75[_0x1cd9aa(0x151)](_0x452ebb[_0x1cd9aa(0x172)]),_0x1ada0e=_0x452ebb?_0x452ebb[_0x1cd9aa(0x173)]:null;}if(_0x5eca6d['hhwta'](_0x2b2a75[_0x1cd9aa(0x18f)],0x0))return _0x2b2a75[_0x1cd9aa(0x18a)]();}catch(_0x425b2f){_0x5eca6d[_0x1cd9aa(0x15e)](debug,_0x1cd9aa(0x181)+(_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x19f)])+_0x1cd9aa(0x170)+_0x425b2f);}const _0x242a62=_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x19f)]||'',_0x248367=_0x5ccda3&&_0x5ccda3['description']||'';let _0x163356=_0x242a62;return _0x248367&&_0x242a62[_0x1cd9aa(0x164)](_0x248367)&&(_0x163356=_0x242a62[_0x1cd9aa(0x195)](0x0,_0x5eca6d[_0x1cd9aa(0x1c1)](_0x242a62[_0x1cd9aa(0x18f)],_0x248367[_0x1cd9aa(0x18f)]))[_0x1cd9aa(0x1b4)]()),_0x163356?_0x163356['split'](/\s+/):[];}['_resolveFilePath'](_0x4245ad){const _0x3432a8=a14_0x2f5b10,_0x4cef49={};_0x4cef49['xKbBt']=function(_0x2961a9,_0x38d944){return _0x2961a9===_0x38d944;},_0x4cef49[_0x3432a8(0x1b7)]=function(_0x42f1cf,_0x2ce008){return _0x42f1cf+_0x2ce008;},_0x4cef49[_0x3432a8(0x1c5)]=function(_0x3ab28b,_0x1bc48a){return _0x3ab28b>_0x1bc48a;};const _0x5100ae=_0x4cef49;if(_0x4245ad&&_0x4245ad[_0x3432a8(0x167)])return _0x4245ad[_0x3432a8(0x167)];if(_0x4245ad&&_0x4245ad[_0x3432a8(0x19f)]){if(this[_0x3432a8(0x197)][_0x4245ad[_0x3432a8(0x19f)]])return this['_fileNameByFullName'][_0x4245ad['fullName']];let _0x329603=null,_0x5c219c=-0x1;for(const _0x34e3ad of Object[_0x3432a8(0x168)](this[_0x3432a8(0x197)])){(_0x5100ae['xKbBt'](_0x4245ad[_0x3432a8(0x19f)],_0x34e3ad)||_0x4245ad[_0x3432a8(0x19f)][_0x3432a8(0x15d)](_0x5100ae[_0x3432a8(0x1b7)](_0x34e3ad,'\x20')))&&_0x5100ae['GvJcX'](_0x34e3ad['length'],_0x5c219c)&&(_0x329603=this[_0x3432a8(0x197)][_0x34e3ad],_0x5c219c=_0x34e3ad[_0x3432a8(0x18f)]);}if(_0x329603)return _0x329603;}return null;}[a14_0x2f5b10(0x17a)](_0x2aaac8){const _0x2fe3de=a14_0x2f5b10,_0x459eed={};_0x459eed[_0x2fe3de(0x153)]=function(_0x321db0,_0x248133){return _0x321db0===_0x248133;},_0x459eed[_0x2fe3de(0x1d3)]=_0x2fe3de(0x179);const _0x1c606a=_0x459eed;if(!Array[_0x2fe3de(0x18c)](_0x2aaac8)||_0x1c606a[_0x2fe3de(0x153)](_0x2aaac8[_0x2fe3de(0x18f)],0x0))return undefined;const _0x346855=[],_0x3ad771=[];for(const _0x2c02b2 of _0x2aaac8){_0x2c02b2&&_0x2c02b2[_0x2fe3de(0x15a)]&&_0x346855[_0x2fe3de(0x151)](_0x2c02b2['message']),_0x2c02b2&&_0x2c02b2[_0x2fe3de(0x196)]&&_0x3ad771[_0x2fe3de(0x151)](_0x2c02b2['stack']);}const _0x5e16fd=_0x2aaac8[0x0]||{},_0x198f18=_0x346855[_0x2fe3de(0x1b1)]('\x0a')||_0x5e16fd['message']||_0x1c606a['ZDRWa'],_0x4d062e=_0x3ad771['join']('\x0a\x0a')||_0x5e16fd[_0x2fe3de(0x196)]||_0x198f18,_0x22a81f={};return _0x22a81f[_0x2fe3de(0x15a)]=_0x198f18,_0x22a81f['stack']=_0x4d062e,_0x22a81f['matcherName']=_0x5e16fd['matcherName'],_0x22a81f[_0x2fe3de(0x16e)]=_0x5e16fd['expected'],_0x22a81f[_0x2fe3de(0x1a0)]=_0x5e16fd[_0x2fe3de(0x1a0)],_0x22a81f;}['_findGitConfig'](_0x136dd8){const _0x26c9b5=a14_0x2f5b10,_0x22433c={};_0x22433c[_0x26c9b5(0x1b5)]=function(_0x8cc52f,_0x401da3){return _0x8cc52f===_0x401da3;},_0x22433c[_0x26c9b5(0x1be)]=function(_0x55bbc7,_0x48d82a){return _0x55bbc7===_0x48d82a;},_0x22433c['xKhgO']=_0x26c9b5(0x184),_0x22433c[_0x26c9b5(0x157)]=_0x26c9b5(0x1cd);const _0x2a0fa6=_0x22433c,_0x408975=path['sep'];if(_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,null)||_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,'')||_0x2a0fa6[_0x26c9b5(0x1be)](_0x136dd8,_0x408975)||_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,path['dirname'](_0x136dd8)))return null;try{return fs[_0x26c9b5(0x1b0)](path[_0x26c9b5(0x1b1)](_0x136dd8,_0x2a0fa6[_0x26c9b5(0x1c0)],_0x2a0fa6['mbxsH'])),_0x136dd8;}catch(_0x46a5ed){return this[_0x26c9b5(0x1ad)](path[_0x26c9b5(0x16a)](_0x136dd8));}}}function a14_0x534e(_0xba19d,_0x982197){const _0x547a11=a14_0x547a();return a14_0x534e=function(_0x534ea1,_0xaf6dc2){_0x534ea1=_0x534ea1-0x151;let _0x312c11=_0x547a11[_0x534ea1];return _0x312c11;},a14_0x534e(_0xba19d,_0x982197);}module['exports']=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0xddf240=a14_0xaf2f;(function(_0x5f4dd8,_0x34386e){const _0x2073b8=a14_0xaf2f,_0x49c1f7=_0x5f4dd8();while(!![]){try{const _0xf3feb0=-parseInt(_0x2073b8(0x177))/0x1*(parseInt(_0x2073b8(0x1a6))/0x2)+parseInt(_0x2073b8(0x189))/0x3*(-parseInt(_0x2073b8(0x173))/0x4)+parseInt(_0x2073b8(0x1f9))/0x5*(-parseInt(_0x2073b8(0x1bb))/0x6)+parseInt(_0x2073b8(0x1d2))/0x7+-parseInt(_0x2073b8(0x1f5))/0x8+-parseInt(_0x2073b8(0x184))/0x9*(-parseInt(_0x2073b8(0x1db))/0xa)+parseInt(_0x2073b8(0x199))/0xb;if(_0xf3feb0===_0x34386e)break;else _0x49c1f7['push'](_0x49c1f7['shift']());}catch(_0x351542){_0x49c1f7['push'](_0x49c1f7['shift']());}}}(a14_0xc05c,0xd1ff3));const path=require(a14_0xddf240(0x1b5)),fs=require('fs'),{v4:uuidv4}=require(a14_0xddf240(0x1b4)),testhubUtils=require(a14_0xddf240(0x1be)),{FRAMEWORKS}=require(a14_0xddf240(0x183)),SessionHandler=require(a14_0xddf240(0x1d0)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0xddf240(0x1d4)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a14_0x150f8c={};a14_0x150f8c[a14_0xddf240(0x1f4)]=a14_0xddf240(0x1f4),a14_0x150f8c[a14_0xddf240(0x1c9)]=a14_0xddf240(0x1c9),a14_0x150f8c[a14_0xddf240(0x1bd)]=a14_0xddf240(0x1bd),a14_0x150f8c[a14_0xddf240(0x1e0)]=a14_0xddf240(0x1cf);const STATUS_MAP=a14_0x150f8c;class BrowserStackJasmineReporter{constructor(_0x4a238a={}){const _0x5bd55e=a14_0xddf240,_0x45c25c={'beUnV':function(_0x57e28a){return _0x57e28a();}};this[_0x5bd55e(0x19e)]=_0x45c25c[_0x5bd55e(0x17f)](isTestObservabilitySession),this[_0x5bd55e(0x1f3)]=new PathHelper({'cwd':process[_0x5bd55e(0x193)]()},undefined),this[_0x5bd55e(0x1a0)]=_0x4a238a&&_0x4a238a[_0x5bd55e(0x1a3)]||{},this['_suitesById']=new Map();}[a14_0xddf240(0x17a)](){}[a14_0xddf240(0x175)](_0x101979){const _0x928f1c=a14_0xddf240,_0x2c854d={'avreo':function(_0x54659e,_0x328609){return _0x54659e!==_0x328609;},'KzecQ':function(_0x1efd18,_0x4866e5){return _0x1efd18(_0x4866e5);}};try{_0x101979&&_0x2c854d[_0x928f1c(0x1c7)](_0x101979['id'],undefined)&&_0x2c854d[_0x928f1c(0x1c7)](_0x101979['id'],null)&&this[_0x928f1c(0x1d9)][_0x928f1c(0x1a9)](_0x101979['id'],{'description':_0x101979['description'],'parentSuiteId':_0x101979['parentSuiteId']});}catch(_0x583dd1){_0x2c854d['KzecQ'](debug,_0x928f1c(0x1b9)+(_0x101979&&_0x101979[_0x928f1c(0x1e8)])+_0x928f1c(0x1ed)+_0x583dd1);}}[a14_0xddf240(0x1d8)](_0x41d0ee){const _0x585795=a14_0xddf240,_0x5d0616={'SAdIw':function(_0x48f08d,_0x1be932){return _0x48f08d!==_0x1be932;},'UzVUq':function(_0x502fdb){return _0x502fdb();},'mJPXc':_0x585795(0x17b),'PEoNM':function(_0x4ea4e6,_0x5f17c8){return _0x4ea4e6(_0x5f17c8);}};try{if(_0x5d0616['SAdIw'](testhubUtils[_0x585795(0x1c0)](),!![]))return;const _0x5d4bbf=_0x5d0616['UzVUq'](uuidv4);testRunMap[_0x585795(0x1a9)](_0x41d0ee['id'],_0x5d4bbf),this[_0x585795(0x1af)](_0x41d0ee,_0x5d4bbf,_0x5d0616[_0x585795(0x1e7)]);}catch(_0x4917c0){_0x5d0616['PEoNM'](debug,_0x585795(0x185)+(_0x41d0ee&&_0x41d0ee['fullName'])+_0x585795(0x1ed)+_0x4917c0);}}[a14_0xddf240(0x1c2)](_0x103573){const _0x16de7e=a14_0xddf240,_0x18a948={'IJvbb':function(_0x5e9c18,_0x3e140a){return _0x5e9c18!==_0x3e140a;},'YZyKQ':function(_0x4d9ecf){return _0x4d9ecf();},'zBXct':function(_0x169b34,_0x523696){return _0x169b34===_0x523696;},'wnbHx':'excluded','pEjhQ':'TestRunSkipped','wLZEX':_0x16de7e(0x1ab),'nTlUw':function(_0x27e888,_0x204ea0){return _0x27e888(_0x204ea0);}};try{if(_0x18a948['IJvbb'](testhubUtils[_0x16de7e(0x1c0)](),!![]))return;const _0x38b7cf=testRunMap[_0x16de7e(0x1de)](_0x103573['id'])||_0x18a948[_0x16de7e(0x1b6)](uuidv4),_0x35bdfe=_0x18a948[_0x16de7e(0x1b1)](_0x103573[_0x16de7e(0x1f0)],_0x18a948[_0x16de7e(0x17d)])?_0x18a948['pEjhQ']:_0x18a948[_0x16de7e(0x18f)];this[_0x16de7e(0x1af)](_0x103573,_0x38b7cf,_0x35bdfe);}catch(_0x24e59d){_0x18a948[_0x16de7e(0x187)](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0x103573&&_0x103573[_0x16de7e(0x1e8)])+_0x16de7e(0x1ed)+_0x24e59d);}finally{_0x103573&&(testRunMap[_0x16de7e(0x190)](_0x103573['id']),_specStartTimes['delete'](_0x103573['id']));}}[a14_0xddf240(0x18b)](){}[a14_0xddf240(0x1ef)](){}[a14_0xddf240(0x1af)](_0x4ea763,_0x3b600f,_0x575a65){const _0x234a2d=a14_0xddf240,_0x45ba11={'dllhT':function(_0x31f14f,_0x51f130){return _0x31f14f===_0x51f130;},'PtiwD':_0x234a2d(0x1ab),'eQOeT':function(_0x27cb8b,_0x1c6bfd){return _0x27cb8b===_0x1c6bfd;},'ndRwP':_0x234a2d(0x1f7),'nkKfZ':'File\x20path\x20could\x20not\x20be\x20found','QwVml':function(_0x2ec62b,_0x13c468,_0xf53b7c){return _0x2ec62b(_0x13c468,_0xf53b7c);},'SlxXW':_0x234a2d(0x1cd),'ukNAG':function(_0x2d2505,_0x35d48b){return _0x2d2505===_0x35d48b;},'pqmrx':_0x234a2d(0x17b),'nhMas':function(_0x327dc6,_0x4ad268){return _0x327dc6!==_0x4ad268;},'GuoOD':_0x234a2d(0x181),'dyBky':function(_0x3851dd,_0x103feb){return _0x3851dd&&_0x103feb;},'dSOub':_0x234a2d(0x1cf),'IZWMM':_0x234a2d(0x1f4),'LJnpw':_0x234a2d(0x171),'Kkoyf':_0x234a2d(0x170),'qAnbI':'UnhandledError','TpOoI':function(_0x285bab,_0xece5de){return _0x285bab===_0xece5de;},'AHaJP':'started_at','XzZmj':_0x234a2d(0x1a8),'HLTmj':_0x234a2d(0x1b0),'ASLGg':'failure_backtrace','oBjit':_0x234a2d(0x1a5),'TVDNf':_0x234a2d(0x176),'RExPf':'expanded','LGqTE':function(_0xadad1c,_0x5dcf82){return _0xadad1c(_0x5dcf82);}};try{const _0x23e7fb=_0x45ba11[_0x234a2d(0x19a)](_0x575a65,_0x45ba11[_0x234a2d(0x1f2)])||_0x45ba11[_0x234a2d(0x1ea)](_0x575a65,_0x45ba11[_0x234a2d(0x1b7)]),_0x2013e5=this[_0x234a2d(0x1a7)](_0x4ea763),_0x1cfd96=_0x2013e5?this[_0x234a2d(0x1f3)][_0x234a2d(0x1e3)](_0x2013e5):_0x45ba11[_0x234a2d(0x1cb)],_0x1487a7=_0x2013e5?this[_0x234a2d(0x18e)](path['dirname'](_0x2013e5)):null,_0x2ad4d4=this[_0x234a2d(0x1bf)](_0x4ea763['failedExpectations']),_0x546dce=_0x2ad4d4?_0x2ad4d4[_0x234a2d(0x16f)]:undefined,_0x435fd1=_0x2ad4d4?_0x45ba11[_0x234a2d(0x1e1)](failureData,_0x2ad4d4,_0x45ba11['SlxXW']):[],_0x82c5ed=new Date()[_0x234a2d(0x1cc)](),_0x29a78a=this[_0x234a2d(0x1f1)](_0x4ea763);_0x45ba11[_0x234a2d(0x1f6)](_0x575a65,_0x45ba11[_0x234a2d(0x195)])&&_0x4ea763&&_0x45ba11[_0x234a2d(0x17e)](_0x4ea763['id'],undefined)&&_0x45ba11[_0x234a2d(0x17e)](_0x4ea763['id'],null)&&_specStartTimes['set'](_0x4ea763['id'],_0x82c5ed);const _0x53acc4=_0x45ba11[_0x234a2d(0x19a)](_0x575a65,_0x45ba11[_0x234a2d(0x195)])?_0x82c5ed:_0x4ea763&&_specStartTimes[_0x234a2d(0x1de)](_0x4ea763['id'])||null,_0x60b86f={};_0x60b86f[_0x234a2d(0x1a4)]=_0x45ba11['GuoOD'],_0x60b86f['code']=null;const _0xdf13c7={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x3b600f,'name':_0x4ea763[_0x234a2d(0x191)],'body':_0x60b86f,'scope':_0x29a78a[_0x234a2d(0x1b3)]('\x20'),'scopes':_0x29a78a,'identifier':_0x4ea763[_0x234a2d(0x1e8)],'file_name':_0x1cfd96,'vc_filepath':_0x45ba11['dyBky'](_0x1487a7,_0x2013e5)?path[_0x234a2d(0x1ee)](_0x1487a7,_0x2013e5):null,'location':_0x1cfd96,'result':_0x45ba11[_0x234a2d(0x1f6)](_0x575a65,_0x45ba11['ndRwP'])?_0x45ba11[_0x234a2d(0x172)]:STATUS_MAP[_0x4ea763[_0x234a2d(0x1f0)]]||_0x45ba11[_0x234a2d(0x19d)],'failure_reason':_0x546dce,'duration_in_ms':_0x45ba11[_0x234a2d(0x1ea)](typeof _0x4ea763[_0x234a2d(0x1d7)],_0x45ba11[_0x234a2d(0x1ec)])?_0x4ea763[_0x234a2d(0x1d7)]:null,'started_at':_0x53acc4,'finished_at':_0x23e7fb?_0x82c5ed:null,'failure':_0x435fd1,'failure_type':!_0x546dce?null:_0x546dce[_0x234a2d(0x1dd)](/AssertionError/)?_0x45ba11[_0x234a2d(0x1d3)]:_0x45ba11[_0x234a2d(0x1d6)],'retry_of':null};_0x45ba11[_0x234a2d(0x1c8)](_0x575a65,_0x45ba11[_0x234a2d(0x1b7)])&&!_0xdf13c7[_0x45ba11[_0x234a2d(0x1a1)]]&&(_0xdf13c7[_0x45ba11[_0x234a2d(0x1a1)]]=_0xdf13c7[_0x45ba11[_0x234a2d(0x1c3)]]);const _0x1b5d88=_0xdf13c7[_0x45ba11[_0x234a2d(0x1c5)]][0x0];_0x1b5d88&&(_0xdf13c7[_0x45ba11[_0x234a2d(0x1ac)]]=_0x1b5d88[_0x45ba11['oBjit']],_0xdf13c7[_0x45ba11[_0x234a2d(0x192)]]=_0x1b5d88[_0x45ba11[_0x234a2d(0x19c)]]);testhubUtils[_0x234a2d(0x197)](_0xdf13c7,_0x575a65,_0x4ea763,FRAMEWORKS[_0x234a2d(0x1e5)]);const _0x383ff9={'event_type':_0x45ba11['eQOeT'](_0x575a65,_0x45ba11[_0x234a2d(0x1b7)])?_0x45ba11['PtiwD']:_0x575a65,'test_run':_0xdf13c7};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x234a2d(0x1e5)],_0x383ff9),SessionHandler[_0x234a2d(0x1ce)](_0x383ff9);}catch(_0x16b819){_0x45ba11[_0x234a2d(0x1b2)](debug,_0x234a2d(0x1e2)+_0x575a65+_0x234a2d(0x1ed)+_0x16b819);}}['_scopes'](_0x163528){const _0x81bdc=a14_0xddf240,_0x394e3e={'IKTiY':function(_0x146034,_0x19a1ba){return _0x146034!==_0x19a1ba;},'RgWGd':function(_0x252816,_0x46c3e4){return _0x252816>_0x46c3e4;},'nceUR':function(_0xf98215,_0x450f8d){return _0xf98215(_0x450f8d);},'vOGQO':function(_0xfbdd8a,_0x2cf1f0){return _0xfbdd8a-_0x2cf1f0;}};try{const _0x2a0129=[];let _0x298557=_0x163528&&_0x163528[_0x81bdc(0x174)];const _0x2a27de=new Set();while(_0x394e3e['IKTiY'](_0x298557,undefined)&&_0x394e3e[_0x81bdc(0x1ad)](_0x298557,null)&&this[_0x81bdc(0x1d9)][_0x81bdc(0x1b8)](_0x298557)&&!_0x2a27de[_0x81bdc(0x1b8)](_0x298557)){_0x2a27de[_0x81bdc(0x1ca)](_0x298557);const _0x17a78a=this[_0x81bdc(0x1d9)]['get'](_0x298557);_0x17a78a&&_0x17a78a[_0x81bdc(0x191)]&&_0x2a0129[_0x81bdc(0x1d1)](_0x17a78a['description']),_0x298557=_0x17a78a?_0x17a78a[_0x81bdc(0x174)]:null;}if(_0x394e3e[_0x81bdc(0x1ae)](_0x2a0129['length'],0x0))return _0x2a0129[_0x81bdc(0x18d)]();}catch(_0x44f189){_0x394e3e[_0x81bdc(0x180)](debug,_0x81bdc(0x19f)+(_0x163528&&_0x163528[_0x81bdc(0x1e8)])+_0x81bdc(0x1ed)+_0x44f189);}const _0x1b7078=_0x163528&&_0x163528[_0x81bdc(0x1e8)]||'',_0x3f3bdb=_0x163528&&_0x163528[_0x81bdc(0x191)]||'';let _0x29dc91=_0x1b7078;return _0x3f3bdb&&_0x1b7078[_0x81bdc(0x1e9)](_0x3f3bdb)&&(_0x29dc91=_0x1b7078['slice'](0x0,_0x394e3e[_0x81bdc(0x1aa)](_0x1b7078['length'],_0x3f3bdb[_0x81bdc(0x1e6)]))['trim']()),_0x29dc91?_0x29dc91['split'](/\s+/):[];}[a14_0xddf240(0x1a7)](_0x313281){const _0x23c427=a14_0xddf240,_0x5cd2a8={};_0x5cd2a8[_0x23c427(0x19b)]=function(_0x5bd91e,_0x3fc032){return _0x5bd91e===_0x3fc032;},_0x5cd2a8[_0x23c427(0x1bc)]=function(_0xb3b01d,_0x316bfd){return _0xb3b01d+_0x316bfd;},_0x5cd2a8[_0x23c427(0x1c1)]=function(_0x4d2e76,_0x15eee2){return _0x4d2e76>_0x15eee2;};const _0x36ac96=_0x5cd2a8;if(_0x313281&&_0x313281['filename'])return _0x313281[_0x23c427(0x18c)];if(_0x313281&&_0x313281['fullName']){if(this[_0x23c427(0x1a0)][_0x313281['fullName']])return this['_fileNameByFullName'][_0x313281[_0x23c427(0x1e8)]];let _0x2c3a4a=null,_0x8d8d07=-0x1;for(const _0x1416ed of Object[_0x23c427(0x1a2)](this['_fileNameByFullName'])){(_0x36ac96[_0x23c427(0x19b)](_0x313281[_0x23c427(0x1e8)],_0x1416ed)||_0x313281[_0x23c427(0x1e8)][_0x23c427(0x1da)](_0x36ac96[_0x23c427(0x1bc)](_0x1416ed,'\x20')))&&_0x36ac96[_0x23c427(0x1c1)](_0x1416ed[_0x23c427(0x1e6)],_0x8d8d07)&&(_0x2c3a4a=this[_0x23c427(0x1a0)][_0x1416ed],_0x8d8d07=_0x1416ed['length']);}if(_0x2c3a4a)return _0x2c3a4a;}return null;}[a14_0xddf240(0x1bf)](_0x26b905){const _0x5d5ff4=a14_0xddf240,_0x3c9a5f={};_0x3c9a5f[_0x5d5ff4(0x1ba)]=function(_0x1d14ad,_0x461b33){return _0x1d14ad===_0x461b33;},_0x3c9a5f[_0x5d5ff4(0x198)]=_0x5d5ff4(0x178);const _0xe3c2b4=_0x3c9a5f;if(!Array[_0x5d5ff4(0x1df)](_0x26b905)||_0xe3c2b4['bKPRA'](_0x26b905['length'],0x0))return undefined;const _0x73d592=[],_0x106a92=[];for(const _0x1de8eb of _0x26b905){_0x1de8eb&&_0x1de8eb[_0x5d5ff4(0x16f)]&&_0x73d592[_0x5d5ff4(0x1d1)](_0x1de8eb[_0x5d5ff4(0x16f)]),_0x1de8eb&&_0x1de8eb[_0x5d5ff4(0x188)]&&_0x106a92[_0x5d5ff4(0x1d1)](_0x1de8eb['stack']);}const _0x1a4bfe=_0x26b905[0x0]||{},_0x5ac92d=_0x73d592[_0x5d5ff4(0x1b3)]('\x0a')||_0x1a4bfe[_0x5d5ff4(0x16f)]||_0xe3c2b4[_0x5d5ff4(0x198)],_0x2ff371=_0x106a92[_0x5d5ff4(0x1b3)]('\x0a\x0a')||_0x1a4bfe[_0x5d5ff4(0x188)]||_0x5ac92d,_0x3058b={};return _0x3058b['message']=_0x5ac92d,_0x3058b[_0x5d5ff4(0x188)]=_0x2ff371,_0x3058b[_0x5d5ff4(0x1dc)]=_0x1a4bfe[_0x5d5ff4(0x1dc)],_0x3058b[_0x5d5ff4(0x194)]=_0x1a4bfe[_0x5d5ff4(0x194)],_0x3058b[_0x5d5ff4(0x1c6)]=_0x1a4bfe[_0x5d5ff4(0x1c6)],_0x3058b;}[a14_0xddf240(0x18e)](_0x320f70){const _0x40e2ed=a14_0xddf240,_0x13efa9={};_0x13efa9[_0x40e2ed(0x17c)]=function(_0x30b56a,_0x33ce0a){return _0x30b56a===_0x33ce0a;},_0x13efa9[_0x40e2ed(0x1c4)]=function(_0x1fd8e,_0x1906bf){return _0x1fd8e===_0x1906bf;},_0x13efa9[_0x40e2ed(0x182)]=function(_0x63f910,_0x5d6530){return _0x63f910===_0x5d6530;},_0x13efa9['zpWbw']=function(_0x24ccda,_0x5e9dd1){return _0x24ccda===_0x5e9dd1;},_0x13efa9['dgmPa']=_0x40e2ed(0x186),_0x13efa9[_0x40e2ed(0x18a)]=_0x40e2ed(0x196);const _0x338769=_0x13efa9,_0x2b5517=path[_0x40e2ed(0x1fa)];if(_0x338769[_0x40e2ed(0x17c)](_0x320f70,null)||_0x338769[_0x40e2ed(0x1c4)](_0x320f70,'')||_0x338769['CnbnD'](_0x320f70,_0x2b5517)||_0x338769[_0x40e2ed(0x1f8)](_0x320f70,path[_0x40e2ed(0x1e4)](_0x320f70)))return null;try{return fs[_0x40e2ed(0x1eb)](path[_0x40e2ed(0x1b3)](_0x320f70,_0x338769[_0x40e2ed(0x179)],_0x338769[_0x40e2ed(0x18a)])),_0x320f70;}catch(_0x3cb35b){return this['_findGitConfig'](path[_0x40e2ed(0x1e4)](_0x320f70));}}}function a14_0xc05c(){const _0x533bf9=['avreo','TpOoI','failed','add','nkKfZ','toISOString','err','uploadEventData','skipped','../../../helpers/test-observability/sessionHandler','push','6919101nhmfld','Kkoyf','../../../helpers/test-observability/utils','exports','qAnbI','duration','specStarted','_suitesById','startsWith','417660PwwpWb','matcherName','match','get','isArray','excluded','QwVml','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','prefixTestPath','dirname','JASMINE','length','mJPXc','fullName','endsWith','eQOeT','statSync','LJnpw','\x20:\x20','relative','jasmineDone','status','_scopes','PtiwD','_paths','passed','10418168HFsVLi','ukNAG','TestRunSkipped','zpWbw','952265ooVwLs','sep','message','AssertionError','number','dSOub','1863284mBRCTw','parentSuiteId','suiteStarted','failure_reason_expanded','38047HcGEdA','Spec\x20failed','dgmPa','jasmineStarted','TestRunStarted','MrzNW','wnbHx','nhMas','beUnV','nceUR','javascript','CnbnD','../../../helpers/test-observability/constants','171vxLiyf','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','.git','nTlUw','stack','3qPXDcr','lOQdT','suiteDone','filename','reverse','_findGitConfig','wLZEX','remove','description','TVDNf','cwd','expected','pqmrx','config','appendTesthubParams','ZFmRE','16844366NlqgXf','dllhT','bIXnz','RExPf','IZWMM','testObservability','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','_fileNameByFullName','AHaJP','keys','fileNameByFullName','lang','backtrace','26VOJehk','_resolveFilePath','finished_at','set','vOGQO','TestRunFinished','ASLGg','IKTiY','RgWGd','_sendSpecEvent','failure','zBXct','LGqTE','join','uuid','path','YZyKQ','ndRwP','has','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','bKPRA','6mWzWlD','hztqv','pending','../../../helpers/testhub/utils','_collapseFailedExpectations','shouldProcessEventForTesthub','mZQkM','specDone','XzZmj','dmdKV','HLTmj','actual'];a14_0xc05c=function(){return _0x533bf9;};return a14_0xc05c();}function a14_0xaf2f(_0x233581,_0x32115d){const _0xc05cc8=a14_0xc05c();return a14_0xaf2f=function(_0xaf2f7d,_0x29471c){_0xaf2f7d=_0xaf2f7d-0x16f;let _0x463b27=_0xc05cc8[_0xaf2f7d];return _0x463b27;},a14_0xaf2f(_0x233581,_0x32115d);}module[a14_0xddf240(0x1d5)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a15_0x3aa5(){const _0x155b91=['existsSync','assign','APvkO','VpTAZ','logLevel','\x20work-item(s),\x20max\x20','qHaha','../utils/constants','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','string','jasmine\x20child\x20(platformIndex=','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','BnYsP','spec_dir','../../helpers/test-observability/constants','cwd','dKWWn','FWFfp','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','6913464DXoptk','resolve','eojTZ','FRAMEWORKS','filter','test.setup.js',',\x20specs=','isBrowserstackInfra','globSync','bhMQr','posix','4wQNXhL','../v2/browserstackCLI','\x27\x20:\x20',';\x20proceeding\x20without\x20injection','BROWSERSTACK_TEST_OBSERVABILITY_YML','lHZmC','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','crNAc','validPlatformsPresent','HBCjR','\x20:\x20','parallelsPerPlatform','JASMINE_CONFIG_PATH',')\x20exited\x20with\x20code\x20','SpcLR','BROWSERSTACK_JASMINE_PARALLELS','LJwwm','__isPlaywrightInstalled','stringify','13239ZnlCDp','info','--helper=','../../helpers/helper','gabRq','getInstance','ynZCq','exports','error\x20removing\x20tcg\x20config\x20file','prepareCapabilities','YyLFD','shouldReRunObservabilityTests','\x20concurrent)','4893234pubriR','XQYtd','spec_files','parse','Xpheq','platforms','SDK_SETUP','jasmine','clvFp','WTNDN','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','LVLAB','unlinkSync','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','MZVoF','**/*[sS]pec.?(m)js','Running\x20your\x20Jasmine\x20tests\x20across\x20','qEwxc','5EJmctP','../../helpers/utilities','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','format','behWz','KkYxr','config','glob','specArgs','qvVoj','isCLIEnabled','aOdcE','../../helpers/performance/constants','maxWorkers','launchBuild','testObservability','ejOtK','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','end','debug','QBneQ','1144758jeRCUB','path','util','XWHlq','getHubUrl','BROWSERSTACK_CLI_BIN_SESSION_ID','isArray','close',')\x20:\x20','1670yWzEgL','utf8','kSaiD','stop','72EToFxQ','dZweY','__isPuppeteerInstalled','../../helpers/puppeteer-helper','23081894wsYhdO','length','startsWith','true','proxySettings','EVENTS','useW3C','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','binSessionId','arRyn','../../helpers/logger','gIUkI','from','platformIndex','all','VOsUJ','win32','push','rmdirSync','TvZZX','find','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','spec','zRvcJ','initialize','platform','JASMINE','SDK_CLEANUP','FpmPU','rvAjm','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','trim','../../helpers/playwright-helper','slice','aHbKO','eorWE','BROWSERSTACK_CAPABILITIES','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','readFileSync','inherit','error','6286imkgAM','../../helpers/testhub/testhubHandler','OjdDz','join','map','handleApp','start','../../helpers/test-observability/utils','298935fFYHDO','isUndefined','winstonLogger'];a15_0x3aa5=function(){return _0x155b91;};return a15_0x3aa5();}const a15_0x35fe31=a15_0x943f;function a15_0x943f(_0x5a91ea,_0x1284c4){const _0x3aa5dd=a15_0x3aa5();return a15_0x943f=function(_0x943f24,_0x256619){_0x943f24=_0x943f24-0x197;let _0xc2ed02=_0x3aa5dd[_0x943f24];return _0xc2ed02;},a15_0x943f(_0x5a91ea,_0x1284c4);}(function(_0x4f7cb5,_0x1049e3){const _0x3e70c2=a15_0x943f,_0x378297=_0x4f7cb5();while(!![]){try{const _0x5e8fba=-parseInt(_0x3e70c2(0x1df))/0x1*(-parseInt(_0x3e70c2(0x20c))/0x2)+-parseInt(_0x3e70c2(0x1d2))/0x3*(parseInt(_0x3e70c2(0x235))/0x4)+parseInt(_0x3e70c2(0x1bc))/0x5*(-parseInt(_0x3e70c2(0x1a9))/0x6)+-parseInt(_0x3e70c2(0x214))/0x7+-parseInt(_0x3e70c2(0x22a))/0x8+-parseInt(_0x3e70c2(0x19c))/0x9*(-parseInt(_0x3e70c2(0x1db))/0xa)+parseInt(_0x3e70c2(0x1e3))/0xb;if(_0x5e8fba===_0x1049e3)break;else _0x378297['push'](_0x378297['shift']());}catch(_0xe5e1b0){_0x378297['push'](_0x378297['shift']());}}}(a15_0x3aa5,0x71d76));const fs=require('fs'),path=require(a15_0x35fe31(0x1d3)),util=require(a15_0x35fe31(0x1d4)),{spawn}=require('child_process'),glob=require(a15_0x35fe31(0x1c3)),pLimit=require('p-limit'),logger=require(a15_0x35fe31(0x1ed))[a15_0x35fe31(0x216)],helper=require(a15_0x35fe31(0x19f)),utilities=require(a15_0x35fe31(0x1bd)),constants=require(a15_0x35fe31(0x21e)),TestHubHandler=require(a15_0x35fe31(0x20d)),testOpsHelper=require(a15_0x35fe31(0x213)),{debug}=require(a15_0x35fe31(0x213)),{FRAMEWORKS}=require(a15_0x35fe31(0x225)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a15_0x35fe31(0x1c8))[a15_0x35fe31(0x1e8)],BrowserstackCLI=require(a15_0x35fe31(0x236)),{checkPwandBootstrapCli}=require(a15_0x35fe31(0x203)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x35fe31(0x1e2)),getMaxWorkers=(_0x4135e2,_0x53afec)=>{const _0x208b11=a15_0x35fe31,_0xd08150={'LJwwm':function(_0x3d78b2,_0x563dbf){return _0x3d78b2(_0x563dbf);}};let _0x29d2db=0x1;if(!helper[_0x208b11(0x215)](_0x53afec[_0x208b11(0x240)]))_0x29d2db=_0xd08150[_0x208b11(0x199)](parseInt,_0x53afec['parallelsPerPlatform']);else!helper['isUndefined'](_0x4135e2[_0x208b11(0x1c9)])&&(_0x29d2db=_0x4135e2[_0x208b11(0x1c9)]);return _0x29d2db;},resolveJasmineConfigPath=()=>{const _0x1357c5=a15_0x35fe31,_0x19cad4={};_0x19cad4['MZVoF']='spec/support/jasmine.json';const _0x2c9b69=_0x19cad4,_0x2571da=[];process[_0x1357c5(0x1b4)][_0x1357c5(0x241)]&&_0x2571da[_0x1357c5(0x1f4)](path[_0x1357c5(0x22b)](process[_0x1357c5(0x226)](),process[_0x1357c5(0x1b4)][_0x1357c5(0x241)]));_0x2571da['push'](path[_0x1357c5(0x22b)](process[_0x1357c5(0x226)](),_0x2c9b69[_0x1357c5(0x1b8)]));for(const _0x3bdc76 of _0x2571da){try{if(fs['existsSync'](_0x3bdc76))return _0x3bdc76;}catch(_0x11dffd){}}return null;},enumerateSpecFiles=_0x3781e0=>{const _0x467224=a15_0x35fe31,_0x4f6352={'qvVoj':function(_0x52ab33,_0x34e89b){return _0x52ab33(_0x34e89b);},'qEwxc':function(_0x5b8159,_0x4b08a0){return _0x5b8159>_0x4b08a0;},'wjsID':function(_0x431543,_0x5f1c16){return _0x431543<_0x5f1c16;},'BnYsP':function(_0x2ee658,_0x89985c){return _0x2ee658===_0x89985c;},'stcDt':_0x467224(0x220),'uMJEI':function(_0x364a65,_0x55e204){return _0x364a65>_0x55e204;},'gIUkI':function(_0x5c5a4c,_0x1d3d9c,_0x10db1c){return _0x5c5a4c(_0x1d3d9c,_0x10db1c);},'VOsUJ':function(_0x408c32,_0x1c94a0){return _0x408c32>_0x1c94a0;},'ARVBL':function(_0x5213bc){return _0x5213bc();},'arRyn':_0x467224(0x1dc),'Xpheq':_0x467224(0x1f9),'SpcLR':function(_0x52ab68,_0x28e877){return _0x52ab68>_0x28e877;},'lHZmC':_0x467224(0x1b9),'wZMxx':function(_0x133ca6,_0x363195){return _0x133ca6>_0x363195;}};try{if(testOpsHelper[_0x467224(0x1a7)]()){const _0x21f18=testOpsHelper['parseFileNames'](process[_0x467224(0x1b4)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x467224(0x1d8)](_0x21f18)&&_0x4f6352[_0x467224(0x1bb)](_0x21f18['length'],0x0))return _0x21f18[_0x467224(0x210)](_0x72a1d3=>path[_0x467224(0x22b)](process['cwd'](),_0x72a1d3[_0x467224(0x202)]()))[_0x467224(0x22e)](Boolean);}}catch(_0x41d476){_0x4f6352[_0x467224(0x1c5)](debug,_0x467224(0x222)+util[_0x467224(0x1bf)](_0x41d476));}const _0x31868a=[];try{for(let _0x45cc32=0x1;_0x4f6352['wjsID'](_0x45cc32,_0x3781e0['length']);_0x45cc32++){const _0x1018b9=_0x3781e0[_0x45cc32];_0x4f6352[_0x467224(0x223)](typeof _0x1018b9,_0x4f6352['stcDt'])&&!_0x1018b9[_0x467224(0x1e5)]('-')&&_0x31868a['push'](_0x1018b9);}}catch(_0x5151ba){}const _0x3f7fd9={'cwd':process[_0x467224(0x226)](),'absolute':!![],'nodir':!![]},_0x325367=(_0x455ba9,_0x693547)=>{const _0x22359c=_0x467224,_0x1ad6aa=[];for(const _0x454c7b of _0x455ba9){try{const _0x547993=_0x693547?path[_0x22359c(0x234)][_0x22359c(0x20f)](_0x693547,_0x454c7b):_0x454c7b,_0x24029b=glob[_0x22359c(0x232)](_0x547993,_0x3f7fd9);Array['isArray'](_0x24029b)&&_0x1ad6aa[_0x22359c(0x1f4)](..._0x24029b);}catch(_0x45cd6d){_0x4f6352[_0x22359c(0x1c5)](debug,_0x22359c(0x208)+_0x454c7b+_0x22359c(0x237)+util[_0x22359c(0x1bf)](_0x45cd6d));}}return _0x1ad6aa;};if(_0x4f6352['uMJEI'](_0x31868a['length'],0x0)){const _0x2b952e=_0x4f6352[_0x467224(0x1ee)](_0x325367,_0x31868a,null);if(_0x4f6352[_0x467224(0x1f2)](_0x2b952e[_0x467224(0x1e4)],0x0))return Array[_0x467224(0x1ef)](new Set(_0x2b952e));return _0x31868a[_0x467224(0x210)](_0x2a5d79=>path[_0x467224(0x22b)](process['cwd'](),_0x2a5d79));}try{const _0xc222d9=_0x4f6352['ARVBL'](resolveJasmineConfigPath);if(_0xc222d9){const _0x1a6687=JSON[_0x467224(0x1ac)](fs[_0x467224(0x209)](_0xc222d9,_0x4f6352[_0x467224(0x1ec)])),_0x3c25c5=_0x1a6687[_0x467224(0x224)]||_0x4f6352[_0x467224(0x1ad)],_0x280e74=Array['isArray'](_0x1a6687[_0x467224(0x1ab)])&&_0x4f6352[_0x467224(0x197)](_0x1a6687[_0x467224(0x1ab)][_0x467224(0x1e4)],0x0)?_0x1a6687[_0x467224(0x1ab)]:[_0x4f6352[_0x467224(0x23a)]],_0xce75f6=_0x4f6352[_0x467224(0x1ee)](_0x325367,_0x280e74,_0x3c25c5);if(_0x4f6352['wZMxx'](_0xce75f6[_0x467224(0x1e4)],0x0))return Array[_0x467224(0x1ef)](new Set(_0xce75f6));}}catch(_0x591260){_0x4f6352['qvVoj'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x467224(0x1bf)](_0x591260));}return null;};async function run(_0xa188aa,_0x1f400f,_0x2ed821){const _0x7e9cf5=a15_0x35fe31,_0x345705={'VpTAZ':function(_0x5ce074,_0x366f26){return _0x5ce074>_0x366f26;},'aHbKO':_0x7e9cf5(0x1f1),'ejOtK':function(_0x3a7785,_0x5e18f5){return _0x3a7785(_0x5e18f5);},'TvZZX':function(_0x52ef34,_0x505975){return _0x52ef34||_0x505975;},'KABlg':function(_0x19c91b,_0x29c25a){return _0x19c91b(_0x29c25a);},'XWHlq':function(_0x207619,_0x2136e5){return _0x207619(_0x2136e5);},'OjdDz':function(_0x448594,_0x2e0257){return _0x448594>_0x2e0257;},'NZnpf':function(_0x334980,_0x46d34e,_0x112ee8,_0x1b96a2){return _0x334980(_0x46d34e,_0x112ee8,_0x1b96a2);},'ynZCq':'npx','rvAjm':_0x7e9cf5(0x1b0),'xDnQu':function(_0xf061e4,_0x2b66b6){return _0xf061e4===_0x2b66b6;},'XQYtd':_0x7e9cf5(0x1f3),'HBCjR':_0x7e9cf5(0x20a),'eojTZ':_0x7e9cf5(0x1d9),'dZweY':_0x7e9cf5(0x20b),'QBneQ':function(_0x247769,_0x1cec56){return _0x247769(_0x1cec56);},'behWz':'@playwright/test','KkYxr':function(_0x3d77e3){return _0x3d77e3();},'WTNDN':function(_0x3604f2,_0x135f6d,_0xa57c42,_0x5866f2){return _0x3604f2(_0x135f6d,_0xa57c42,_0x5866f2);},'LVLAB':function(_0x255638,_0x25aff4,_0x2aade2,_0x162c28){return _0x255638(_0x25aff4,_0x2aade2,_0x162c28);},'pyFFl':function(_0x2b99bb,_0x51da6b){return _0x2b99bb!=_0x51da6b;},'zRvcJ':_0x7e9cf5(0x1e6),'YyLFD':function(_0xee2e15,_0x39555a){return _0xee2e15(_0x39555a);},'kSaiD':function(_0x482694,_0x174e18){return _0x482694(_0x174e18);},'bhMQr':function(_0x3e17a8,_0x320d96,_0x58e99d){return _0x3e17a8(_0x320d96,_0x58e99d);},'APvkO':function(_0x320f0b,_0x34dc2b){return _0x320f0b*_0x34dc2b;},'FpmPU':function(_0x4fcb26,_0x2eac9e){return _0x4fcb26(_0x2eac9e);},'FWFfp':_0x7e9cf5(0x22f),'crNAc':function(_0x357ae9,_0x232c88){return _0x357ae9(_0x232c88);},'oeGwg':function(_0x2da9c5,_0xcf0c06){return _0x2da9c5<_0xcf0c06;},'eorWE':function(_0x55e948,_0x29d8ab){return _0x55e948>_0x29d8ab;},'gabRq':function(_0x422420,_0x389c2c){return _0x422420>_0x389c2c;},'clvFp':function(_0x670990,_0x3087d3){return _0x670990(_0x3087d3);},'qHaha':function(_0x495718,_0x577ff5){return _0x495718>_0x577ff5;},'aOdcE':function(_0x1f3d6f,_0x34ed39){return _0x1f3d6f(_0x34ed39);},'ZwpGs':_0x7e9cf5(0x1a4)},_0x148d77=helper['getPackageVersion'](_0x345705[_0x7e9cf5(0x1c0)]);global[_0x7e9cf5(0x19a)]=!!_0x148d77;const _0xd9702b=_0x345705[_0x7e9cf5(0x1c1)](getPuppeteerVersion);global[_0x7e9cf5(0x1e1)]=!!_0xd9702b;helper[_0x7e9cf5(0x231)]()?(await _0x2ed821[_0x7e9cf5(0x1fb)](_0xa188aa),await helper[_0x7e9cf5(0x211)](_0x2ed821[_0x7e9cf5(0x1c2)])):await _0x2ed821['setupTCGAuth']();if(_0x148d77)await _0x345705[_0x7e9cf5(0x1b2)](checkPwandBootstrapCli,_0x148d77,constants[_0x7e9cf5(0x22d)]['JASMINE'],_0x2ed821);else _0xd9702b&&await _0x345705[_0x7e9cf5(0x1b5)](checkPuppeteerAndBootstrapCli,_0xd9702b,constants[_0x7e9cf5(0x22d)]['JASMINE'],_0x2ed821);if(!_0x2ed821[_0x7e9cf5(0x1c2)])return;_0x345705['pyFFl'](_0x2ed821[_0x7e9cf5(0x1c2)][_0x7e9cf5(0x1cb)],null)?process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x239)]=_0x2ed821[_0x7e9cf5(0x1c2)][_0x7e9cf5(0x1cb)]:process['env'][_0x7e9cf5(0x239)]=_0x345705[_0x7e9cf5(0x1fa)];!helper[_0x7e9cf5(0x215)](_0x2ed821[_0x7e9cf5(0x1c2)]['accessibilityOptions'])&&(process['env'][_0x7e9cf5(0x1b3)]=JSON['stringify'](_0x2ed821[_0x7e9cf5(0x1c2)]['accessibilityOptions']));try{await TestHubHandler[_0x7e9cf5(0x1ca)](FRAMEWORKS[_0x7e9cf5(0x1fd)],_0x2ed821);}catch(_0x496cc1){logger[_0x7e9cf5(0x20b)](_0x7e9cf5(0x23b)+util[_0x7e9cf5(0x1bf)](_0x496cc1)),_0x345705[_0x7e9cf5(0x1cc)](debug,_0x7e9cf5(0x1be)+util[_0x7e9cf5(0x1bf)](_0x496cc1));}let _0x3c7c38=![],_0x235b0d=[];try{_0x3c7c38=helper[_0x7e9cf5(0x1e9)](_0x2ed821[_0x7e9cf5(0x1c2)]),_0x235b0d=helper[_0x7e9cf5(0x1a5)](_0x2ed821[_0x7e9cf5(0x1c2)],_0x3c7c38,constants[_0x7e9cf5(0x22d)][_0x7e9cf5(0x1fd)]),process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x207)]=JSON[_0x7e9cf5(0x19b)](_0x235b0d);}catch(_0xe73f2e){_0x345705['YyLFD'](debug,_0x7e9cf5(0x1ce)+util[_0x7e9cf5(0x1bf)](_0xe73f2e));}let _0x1c4ac0=null,_0x112de3=![];try{_0x1c4ac0=helper[_0x7e9cf5(0x1d6)](_0x2ed821[_0x7e9cf5(0x1c2)]),_0x112de3=helper[_0x7e9cf5(0x23d)](_0x2ed821['config']);}catch(_0xfdc29b){_0x345705[_0x7e9cf5(0x1dd)](debug,'Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20'+util[_0x7e9cf5(0x1bf)](_0xfdc29b));}const _0x26dc71=_0x37f52a=>{const _0x2ee784=_0x7e9cf5,_0x453262=Array[_0x2ee784(0x1d8)](_0x235b0d)&&_0x345705['VpTAZ'](_0x235b0d['length'],_0x37f52a)?_0x235b0d[_0x37f52a]:Array[_0x2ee784(0x1d8)](_0x235b0d)&&_0x345705[_0x2ee784(0x21a)](_0x235b0d[_0x2ee784(0x1e4)],0x0)?_0x235b0d[0x0]:{};return{'server':_0x1c4ac0,'capability':_0x453262,'proxySettings':_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x1e7)],'platform':helper['getPlatformName'](_0x453262),'browserStackLogLevel':_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x21b)],'platformIndex':_0x37f52a,'framework':constants[_0x2ee784(0x22d)]['JASMINE'],'platformCaps':_0x112de3?Object['assign']({'index':_0x37f52a},_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x1ae)][_0x37f52a]):{'index':_0x37f52a}};};let _0x2b0067=0x1,_0x189285=0x1,_0x8c1f5f=0x1;try{_0x2b0067=_0x345705[_0x7e9cf5(0x233)](getMaxWorkers,_0xa188aa,_0x2ed821[_0x7e9cf5(0x1c2)]),_0x189285=_0x112de3?_0x2ed821['config'][_0x7e9cf5(0x1ae)][_0x7e9cf5(0x1e4)]:0x1,_0x8c1f5f=_0x345705[_0x7e9cf5(0x219)](_0x189285,_0x2b0067),process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x198)]=_0x345705[_0x7e9cf5(0x1ff)](String,_0x8c1f5f);}catch(_0x59ae67){_0x345705[_0x7e9cf5(0x1cc)](debug,_0x7e9cf5(0x201)+util['format'](_0x59ae67));}try{BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1eb)]&&(process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x1d7)]=BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1eb)]);}catch(_0x28f10a){_0x345705[_0x7e9cf5(0x1a6)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util['format'](_0x28f10a));}const _0x1321ad=[];try{const _0x388bc3=path['resolve'](__dirname,_0x345705[_0x7e9cf5(0x228)]);fs[_0x7e9cf5(0x217)](_0x388bc3)?_0x1321ad[_0x7e9cf5(0x1f4)](_0x7e9cf5(0x19e)+_0x388bc3):_0x345705[_0x7e9cf5(0x1ff)](debug,_0x7e9cf5(0x1cd)+_0x388bc3+_0x7e9cf5(0x238));}catch(_0x22fd8b){_0x345705[_0x7e9cf5(0x1d1)](debug,_0x7e9cf5(0x229)+util['format'](_0x22fd8b));}const _0x5bc1c6=_0x1f400f[_0x7e9cf5(0x204)](0x1),_0x5114a4=_0x345705[_0x7e9cf5(0x23c)](enumerateSpecFiles,_0x1f400f),_0x487e4e=[];for(let _0xeaaad7=0x0;_0x345705['oeGwg'](_0xeaaad7,_0x189285);_0xeaaad7++){if(_0x345705[_0x7e9cf5(0x206)](_0x2b0067,0x1)&&Array[_0x7e9cf5(0x1d8)](_0x5114a4)&&_0x345705[_0x7e9cf5(0x1a0)](_0x5114a4[_0x7e9cf5(0x1e4)],0x0))for(const _0x5f04e4 of _0x5114a4){const _0x3547da={};_0x3547da[_0x7e9cf5(0x1f0)]=_0xeaaad7,_0x3547da[_0x7e9cf5(0x1c4)]=[_0x5f04e4],_0x487e4e['push'](_0x3547da);}else{const _0x4ba0ff={};_0x4ba0ff[_0x7e9cf5(0x1f0)]=_0xeaaad7,_0x4ba0ff['specArgs']=_0x5114a4,_0x487e4e['push'](_0x4ba0ff);}}logger[_0x7e9cf5(0x19d)](_0x7e9cf5(0x1ba)+_0x189285+'\x20platform(s),\x20parallelsPerPlatform='+_0x2b0067+'\x20('+_0x487e4e[_0x7e9cf5(0x1e4)]+_0x7e9cf5(0x21c)+_0x8c1f5f+_0x7e9cf5(0x1a8)),PerformanceTester[_0x7e9cf5(0x1cf)](PerformanceEvents[_0x7e9cf5(0x1af)]);const _0x4486e3=_0x183f4f=>new Promise(_0x591e94=>{const _0x5e1beb=_0x7e9cf5,_0x4d6057={'dKWWn':function(_0x2e3d87,_0x5a85cd){const _0x18d573=a15_0x943f;return _0x345705[_0x18d573(0x1cc)](_0x2e3d87,_0x5a85cd);}};let _0x3a4a27;try{const _0x430d4e=_0x345705['KABlg'](_0x26dc71,_0x183f4f[_0x5e1beb(0x1f0)]);_0x3a4a27=Object[_0x5e1beb(0x218)]({},process[_0x5e1beb(0x1b4)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5e1beb(0x19b)](_0x430d4e),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x430d4e['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x36a576){_0x345705[_0x5e1beb(0x1d5)](debug,_0x5e1beb(0x1b7)+_0x183f4f[_0x5e1beb(0x1f0)]+_0x5e1beb(0x23f)+util[_0x5e1beb(0x1bf)](_0x36a576)),_0x3a4a27=Object[_0x5e1beb(0x218)]({},process['env']);}const _0x490af8=Array[_0x5e1beb(0x1d8)](_0x183f4f['specArgs'])?_0x183f4f[_0x5e1beb(0x1c4)]:[],_0x4cdc68=_0x345705[_0x5e1beb(0x20e)](_0x490af8[_0x5e1beb(0x1e4)],0x0)?_0x5bc1c6[_0x5e1beb(0x22e)](_0x9dafa9=>typeof _0x9dafa9===_0x5e1beb(0x220)&&_0x9dafa9['startsWith']('-')):_0x5bc1c6,_0xddec9e=[..._0x1321ad,..._0x4cdc68,..._0x490af8];try{const _0x150a06=_0x345705['NZnpf'](spawn,_0x345705[_0x5e1beb(0x1a2)],[_0x345705[_0x5e1beb(0x200)],..._0xddec9e],{'shell':_0x345705['xDnQu'](process[_0x5e1beb(0x1fc)],_0x345705[_0x5e1beb(0x1aa)]),'stdio':_0x345705[_0x5e1beb(0x23e)],'env':_0x3a4a27});_0x150a06['on'](_0x345705[_0x5e1beb(0x22c)],_0x5278e7=>{const _0x3d2d66=_0x5e1beb;logger[_0x3d2d66(0x1d0)](_0x3d2d66(0x221)+_0x183f4f[_0x3d2d66(0x1f0)]+_0x3d2d66(0x230)+(_0x490af8[_0x3d2d66(0x1e4)]?_0x490af8[_0x3d2d66(0x20f)](','):_0x345705[_0x3d2d66(0x205)])+_0x3d2d66(0x242)+_0x5278e7),_0x345705[_0x3d2d66(0x1cc)](_0x591e94,_0x345705[_0x3d2d66(0x1f6)](_0x5278e7,0x0));}),_0x150a06['on'](_0x345705[_0x5e1beb(0x1e0)],_0x372d08=>{const _0x29755d=_0x5e1beb;_0x4d6057[_0x29755d(0x227)](debug,_0x29755d(0x21f)+_0x183f4f['platformIndex']+_0x29755d(0x1da)+util['format'](_0x372d08)),_0x4d6057[_0x29755d(0x227)](_0x591e94,0x1);});}catch(_0xb358e5){_0x345705[_0x5e1beb(0x1d1)](debug,_0x5e1beb(0x1ea)+_0x183f4f[_0x5e1beb(0x1f0)]+')\x20:\x20'+util[_0x5e1beb(0x1bf)](_0xb358e5)),_0x345705[_0x5e1beb(0x1d1)](_0x591e94,0x1);}}),_0x140805=_0x345705[_0x7e9cf5(0x1b1)](pLimit,_0x345705[_0x7e9cf5(0x21d)](_0x8c1f5f,0x0)?_0x8c1f5f:0x1),_0x2db0f6=await Promise[_0x7e9cf5(0x1f1)](_0x487e4e[_0x7e9cf5(0x210)](_0x1e26cb=>_0x140805(()=>_0x4486e3(_0x1e26cb))));PerformanceTester[_0x7e9cf5(0x212)](PerformanceEvents[_0x7e9cf5(0x1fe)]);const _0x3b0ce1=_0x2db0f6[_0x7e9cf5(0x1f7)](_0x5c6ba4=>_0x5c6ba4!==0x0)||0x0;process['exitCode']=_0x3b0ce1,logger['debug'](_0x7e9cf5(0x1f8)+_0x3b0ce1);const _0x46e8d3=BrowserstackCLI[_0x7e9cf5(0x1c6)]();try{await TestHubHandler[_0x7e9cf5(0x1de)](),await BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1de)]();}catch(_0xc0a0bb){_0x345705[_0x7e9cf5(0x1c7)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0xc0a0bb));}try{const {browserstackFolderPath:_0x2dbcbc,tcgConfigPath:_0x1ca8a3}=helper['getTCGConfigFilePaths']();fs[_0x7e9cf5(0x1b6)](_0x1ca8a3),fs[_0x7e9cf5(0x1f5)](_0x2dbcbc);}catch(_0x3464ec){logger[_0x7e9cf5(0x1d0)](_0x345705['ZwpGs'],_0x3464ec);}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x2ed821,_0x46e8d3);}module[a15_0x35fe31(0x1a3)]=run;
|
|
2
|
+
'use strict';const a15_0x1015a2=a15_0x3feb;function a15_0x1e55(){const _0x3ab898=['**/*[sS]pec.?(m)js','../../helpers/testhub/testhubHandler','stringify','../../helpers/playwright-helper','map','45JwNcuJ','BROWSERSTACK_CLI_BIN_SESSION_ID','npx','XQGEw','prepareCapabilities','XmaAP','unlinkSync','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','eVrHd','isArray','694990nUvzaL','spec/support/jasmine.json','ADBvH','zVZGA','startsWith','error','fdtcB','posix','maxWorkers','__isPlaywrightInstalled','EIbuc','finalExecution','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','mwmRF','YYNWu','accessibilityOptions','sxtpN','\x20platform(s),\x20parallelsPerPlatform=','platforms','RMheG','config','string','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20',',\x20specs=','WWSYs','eHItz','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','win32','start','wWTlY','proxySettings','specArgs',')\x20:\x20','@playwright/test','6360442JuhCqk','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20',';\x20proceeding\x20without\x20injection','getInstance','close','glob','util','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDK_SETUP','p-limit','exports','platformIndex','OgdQB','trim','2036640vAfSvW','Running\x20your\x20Jasmine\x20tests\x20across\x20','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','getPackageVersion','SDK_CLEANUP','hESzx','\x20work-item(s),\x20max\x20','ybpvZ','length','32ScFZkg','isCLIEnabled','all','208184SUFozo','push','binSessionId','test.setup.js','\x27\x20:\x20','wwgNZ','../../helpers/test-observability/constants','../../helpers/utilities','\x20:\x20','25buuVDg','cwd','parseFileNames','EjJsN','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','end','IOsVS','winstonLogger','BAgIn','QFZFj','useW3C','getTCGConfigFilePaths','dUmwR','2347062KdByyH','__isPuppeteerInstalled','\x20concurrent)','pxUqP','env','testObservability','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','child_process','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','info','FJtci','EVENTS','printBuildLink','logLevel','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','inherit','error\x20removing\x20tcg\x20config\x20file','isUndefined','resolve','shouldReRunObservabilityTests','vLzrg','spec','spec_files','BROWSERSTACK_JASMINE_PARALLELS','stop','launchBuild','136808seelAQ','filter','kKPQk','FRAMEWORKS','existsSync','join','../../helpers/helper','globSync','validPlatformsPresent','NdORD','YyMlJ','RIqEv','../../helpers/test-observability/utils','jasmine','spec_dir','../../helpers/performance/performance-tester','SQHhy','path','../../helpers/puppeteer-helper','eRSgD','setupTCGAuth','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ziXxT','lSQyj','VAzlm','platform','UpsEr','BROWSERSTACK_RERUN_TESTS','find','initialize','format','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','9YjalpT','../../helpers/performance/constants','JASMINE','zPMQv','JASMINE_CONFIG_PATH','debug','rmdirSync','25582qkydEn','isBrowserstackInfra'];a15_0x1e55=function(){return _0x3ab898;};return a15_0x1e55();}(function(_0x1f568e,_0x2b5e05){const _0x432e11=a15_0x3feb,_0x285195=_0x1f568e();while(!![]){try{const _0xe2961e=parseInt(_0x432e11(0x265))/0x1*(parseInt(_0x432e11(0x20f))/0x2)+parseInt(_0x432e11(0x208))/0x3*(parseInt(_0x432e11(0x25c))/0x4)+parseInt(_0x432e11(0x250))/0x5+-parseInt(_0x432e11(0x272))/0x6+-parseInt(_0x432e11(0x1e7))/0x7*(-parseInt(_0x432e11(0x259))/0x8)+parseInt(_0x432e11(0x216))/0x9*(parseInt(_0x432e11(0x220))/0xa)+-parseInt(_0x432e11(0x242))/0xb;if(_0xe2961e===_0x2b5e05)break;else _0x285195['push'](_0x285195['shift']());}catch(_0xd49954){_0x285195['push'](_0x285195['shift']());}}}(a15_0x1e55,0x52e39));function a15_0x3feb(_0x26fc4c,_0x17fbe5){const _0x1e55a2=a15_0x1e55();return a15_0x3feb=function(_0x3feb65,_0x35d823){_0x3feb65=_0x3feb65-0x1cf;let _0x3cd938=_0x1e55a2[_0x3feb65];return _0x3cd938;},a15_0x3feb(_0x26fc4c,_0x17fbe5);}const fs=require('fs'),path=require(a15_0x1015a2(0x1f8)),util=require(a15_0x1015a2(0x248)),{spawn}=require(a15_0x1015a2(0x1d2)),glob=require(a15_0x1015a2(0x247)),pLimit=require(a15_0x1015a2(0x24b)),logger=require('../../helpers/logger')[a15_0x1015a2(0x26c)],helper=require(a15_0x1015a2(0x1ed)),utilities=require(a15_0x1015a2(0x263)),constants=require('../utils/constants'),TestHubHandler=require(a15_0x1015a2(0x212)),testOpsHelper=require(a15_0x1015a2(0x1f3)),{debug}=require(a15_0x1015a2(0x1f3)),{FRAMEWORKS}=require(a15_0x1015a2(0x262)),PerformanceTester=require(a15_0x1015a2(0x1f6)),PerformanceEvents=require(a15_0x1015a2(0x209))[a15_0x1015a2(0x1d6)],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a15_0x1015a2(0x214)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x1015a2(0x1f9)),getMaxWorkers=(_0x191bb2,_0x5b7ab7)=>{const _0x480596=a15_0x1015a2,_0xf507f9={'RDTaW':function(_0x547aa0,_0x3839bf){return _0x547aa0(_0x3839bf);}};let _0x2cb7b8=0x1;if(!helper['isUndefined'](_0x5b7ab7['parallelsPerPlatform']))_0x2cb7b8=_0xf507f9['RDTaW'](parseInt,_0x5b7ab7['parallelsPerPlatform']);else!helper[_0x480596(0x1de)](_0x191bb2['maxWorkers'])&&(_0x2cb7b8=_0x191bb2[_0x480596(0x228)]);return _0x2cb7b8;},resolveJasmineConfigPath=()=>{const _0xd54907=a15_0x1015a2,_0x3ebfe8={};_0x3ebfe8['YyMlJ']=_0xd54907(0x221);const _0x4f4bca=_0x3ebfe8,_0x3ed1cc=[];process['env'][_0xd54907(0x20c)]&&_0x3ed1cc[_0xd54907(0x25d)](path[_0xd54907(0x1df)](process[_0xd54907(0x266)](),process['env'][_0xd54907(0x20c)]));_0x3ed1cc[_0xd54907(0x25d)](path[_0xd54907(0x1df)](process[_0xd54907(0x266)](),_0x4f4bca[_0xd54907(0x1f1)]));for(const _0x5ede0c of _0x3ed1cc){try{if(fs[_0xd54907(0x1eb)](_0x5ede0c))return _0x5ede0c;}catch(_0x4a6828){}}return null;},enumerateSpecFiles=_0x35656b=>{const _0xe1b648=a15_0x1015a2,_0x46e7ce={'wwgNZ':function(_0x4d1d15,_0x54b48f){return _0x4d1d15(_0x54b48f);},'WWSYs':function(_0x1970c1,_0x5790fb){return _0x1970c1>_0x5790fb;},'AZxCK':function(_0x4dbfde,_0x364da2){return _0x4dbfde(_0x364da2);},'Eqwft':function(_0x5a0571,_0x15ce8b){return _0x5a0571<_0x15ce8b;},'fdtcB':function(_0x3c9054,_0x18955a){return _0x3c9054===_0x18955a;},'VAzlm':_0xe1b648(0x235),'XQGEw':function(_0x286044,_0x4eb947,_0xb9c59){return _0x286044(_0x4eb947,_0xb9c59);},'RMheG':function(_0x3fca69){return _0x3fca69();},'kKPQk':'utf8','RIqEv':_0xe1b648(0x1e2),'XmaAP':function(_0x2928c6,_0x18b6c3){return _0x2928c6>_0x18b6c3;},'FJtci':_0xe1b648(0x211),'KOPCS':function(_0x4d284f,_0x1ab010,_0x1ed63d){return _0x4d284f(_0x1ab010,_0x1ed63d);},'QFZFj':function(_0x41ac5f,_0x17d5f8){return _0x41ac5f>_0x17d5f8;},'hESzx':function(_0x55a12b,_0x114267){return _0x55a12b(_0x114267);}};try{if(testOpsHelper[_0xe1b648(0x1e0)]()){const _0x54f3cf=testOpsHelper[_0xe1b648(0x267)](process['env'][_0xe1b648(0x202)]);if(Array[_0xe1b648(0x21f)](_0x54f3cf)&&_0x46e7ce['WWSYs'](_0x54f3cf[_0xe1b648(0x258)],0x0))return _0x54f3cf[_0xe1b648(0x215)](_0x4c345b=>path[_0xe1b648(0x1df)](process[_0xe1b648(0x266)](),_0x4c345b[_0xe1b648(0x24f)]()))[_0xe1b648(0x1e8)](Boolean);}}catch(_0x39543c){_0x46e7ce['AZxCK'](debug,_0xe1b648(0x206)+util[_0xe1b648(0x205)](_0x39543c));}const _0x2a999f=[];try{for(let _0x5f1cbf=0x1;_0x46e7ce['Eqwft'](_0x5f1cbf,_0x35656b['length']);_0x5f1cbf++){const _0x326284=_0x35656b[_0x5f1cbf];_0x46e7ce[_0xe1b648(0x226)](typeof _0x326284,_0x46e7ce[_0xe1b648(0x1ff)])&&!_0x326284[_0xe1b648(0x224)]('-')&&_0x2a999f[_0xe1b648(0x25d)](_0x326284);}}catch(_0x5c3f05){}const _0x16b4a8={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x1e3361=(_0x4fd565,_0x56d403)=>{const _0x2d10ff=_0xe1b648,_0x1ad0e2=[];for(const _0x308bb8 of _0x4fd565){try{const _0x1134e5=_0x56d403?path[_0x2d10ff(0x227)][_0x2d10ff(0x1ec)](_0x56d403,_0x308bb8):_0x308bb8,_0x3414f9=glob[_0x2d10ff(0x1ee)](_0x1134e5,_0x16b4a8);Array[_0x2d10ff(0x21f)](_0x3414f9)&&_0x1ad0e2[_0x2d10ff(0x25d)](..._0x3414f9);}catch(_0x407e10){_0x46e7ce[_0x2d10ff(0x261)](debug,_0x2d10ff(0x252)+_0x308bb8+_0x2d10ff(0x260)+util[_0x2d10ff(0x205)](_0x407e10));}}return _0x1ad0e2;};if(_0x46e7ce['WWSYs'](_0x2a999f[_0xe1b648(0x258)],0x0)){const _0x270702=_0x46e7ce[_0xe1b648(0x219)](_0x1e3361,_0x2a999f,null);if(_0x46e7ce[_0xe1b648(0x238)](_0x270702['length'],0x0))return Array['from'](new Set(_0x270702));return _0x2a999f[_0xe1b648(0x215)](_0x554c21=>path[_0xe1b648(0x1df)](process[_0xe1b648(0x266)](),_0x554c21));}try{const _0x2f7058=_0x46e7ce[_0xe1b648(0x233)](resolveJasmineConfigPath);if(_0x2f7058){const _0x3b31e2=JSON['parse'](fs['readFileSync'](_0x2f7058,_0x46e7ce[_0xe1b648(0x1e9)])),_0x53c7ec=_0x3b31e2[_0xe1b648(0x1f5)]||_0x46e7ce[_0xe1b648(0x1f2)],_0x55d4d2=Array[_0xe1b648(0x21f)](_0x3b31e2[_0xe1b648(0x1e3)])&&_0x46e7ce[_0xe1b648(0x21b)](_0x3b31e2[_0xe1b648(0x1e3)][_0xe1b648(0x258)],0x0)?_0x3b31e2[_0xe1b648(0x1e3)]:[_0x46e7ce[_0xe1b648(0x1d5)]],_0x32fc76=_0x46e7ce['KOPCS'](_0x1e3361,_0x55d4d2,_0x53c7ec);if(_0x46e7ce[_0xe1b648(0x26e)](_0x32fc76[_0xe1b648(0x258)],0x0))return Array['from'](new Set(_0x32fc76));}}catch(_0x597f6a){_0x46e7ce[_0xe1b648(0x255)](debug,_0xe1b648(0x1db)+util[_0xe1b648(0x205)](_0x597f6a));}return null;};async function run(_0x4e87d2,_0x2ee1d5,_0x6262e7){const _0x5f688d=a15_0x1015a2,_0x8ee38d={'UpsEr':function(_0x3e2421,_0x4e7530){return _0x3e2421>_0x4e7530;},'ADBvH':function(_0x5c13b0,_0x4c11a5){return _0x5c13b0>_0x4c11a5;},'IOsVS':function(_0x223936,_0x170e52){return _0x223936(_0x170e52);},'wWTlY':function(_0x50afc6,_0x11df84){return _0x50afc6(_0x11df84);},'IaJMH':_0x5f688d(0x25b),'YYNWu':function(_0x4f596a,_0x17f155){return _0x4f596a||_0x17f155;},'EIbuc':function(_0x3d0548,_0x48f6b8){return _0x3d0548(_0x48f6b8);},'eVrHd':function(_0x408185,_0x4fea06,_0x4dca40,_0x4fcb93){return _0x408185(_0x4fea06,_0x4dca40,_0x4fcb93);},'xzCQQ':_0x5f688d(0x218),'dUmwR':_0x5f688d(0x1f4),'SQHhy':function(_0x29994b,_0xf9f99d){return _0x29994b===_0xf9f99d;},'MpoTo':_0x5f688d(0x23b),'fkoyC':_0x5f688d(0x1dc),'ElWbh':_0x5f688d(0x246),'zPMQv':_0x5f688d(0x225),'imoej':_0x5f688d(0x241),'LWopI':function(_0x2682a5){return _0x2682a5();},'sFKfK':function(_0x54a6df,_0x2774e5,_0x1ffac2,_0x84ff92){return _0x54a6df(_0x2774e5,_0x1ffac2,_0x84ff92);},'NdORD':function(_0x1efed5,_0x260561,_0x1096cf,_0x39f304){return _0x1efed5(_0x260561,_0x1096cf,_0x39f304);},'mwmRF':function(_0x36483c,_0xe711dc){return _0x36483c!=_0xe711dc;},'vLzrg':'true','eHItz':function(_0x3a98b,_0x303e0e){return _0x3a98b(_0x303e0e);},'OgdQB':function(_0xa8ee87,_0x195b35,_0x296181){return _0xa8ee87(_0x195b35,_0x296181);},'zVZGA':function(_0x5a0604,_0x12aec6){return _0x5a0604*_0x12aec6;},'EjJsN':_0x5f688d(0x25f),'BAgIn':function(_0x54f905,_0x3a914d){return _0x54f905(_0x3a914d);},'sxtpN':function(_0x262dc7,_0x39f4fc){return _0x262dc7<_0x39f4fc;},'pxUqP':function(_0x58bd94,_0x32352d){return _0x58bd94>_0x32352d;},'ybpvZ':function(_0x2657cb,_0x56c837){return _0x2657cb>_0x56c837;},'lSQyj':_0x5f688d(0x1dd)},_0x47b8b4=helper[_0x5f688d(0x253)](_0x8ee38d['imoej']);global[_0x5f688d(0x229)]=!!_0x47b8b4;const _0x49191f=_0x8ee38d['LWopI'](getPuppeteerVersion);global[_0x5f688d(0x273)]=!!_0x49191f;helper[_0x5f688d(0x210)]()?(await _0x6262e7[_0x5f688d(0x204)](_0x4e87d2),await helper['handleApp'](_0x6262e7[_0x5f688d(0x234)])):await _0x6262e7[_0x5f688d(0x1fb)]();if(_0x47b8b4)await _0x8ee38d['sFKfK'](checkPwandBootstrapCli,_0x47b8b4,constants[_0x5f688d(0x1ea)][_0x5f688d(0x20a)],_0x6262e7);else _0x49191f&&await _0x8ee38d[_0x5f688d(0x1f0)](checkPuppeteerAndBootstrapCli,_0x49191f,constants[_0x5f688d(0x1ea)][_0x5f688d(0x20a)],_0x6262e7);if(!_0x6262e7[_0x5f688d(0x234)])return;_0x8ee38d[_0x5f688d(0x22d)](_0x6262e7['config']['testObservability'],null)?process['env'][_0x5f688d(0x249)]=_0x6262e7[_0x5f688d(0x234)][_0x5f688d(0x1d0)]:process[_0x5f688d(0x1cf)][_0x5f688d(0x249)]=_0x8ee38d[_0x5f688d(0x1e1)];!helper['isUndefined'](_0x6262e7[_0x5f688d(0x234)][_0x5f688d(0x22f)])&&(process['env'][_0x5f688d(0x1fc)]=JSON[_0x5f688d(0x213)](_0x6262e7[_0x5f688d(0x234)][_0x5f688d(0x22f)]));try{await TestHubHandler[_0x5f688d(0x1e6)](FRAMEWORKS[_0x5f688d(0x20a)],_0x6262e7);}catch(_0x2bc1dc){logger[_0x5f688d(0x225)](_0x5f688d(0x21d)+util['format'](_0x2bc1dc)),_0x8ee38d[_0x5f688d(0x26b)](debug,_0x5f688d(0x23a)+util[_0x5f688d(0x205)](_0x2bc1dc));}let _0x3e4281=![],_0x2b58ff=[];try{_0x3e4281=helper[_0x5f688d(0x26f)](_0x6262e7[_0x5f688d(0x234)]),_0x2b58ff=helper[_0x5f688d(0x21a)](_0x6262e7['config'],_0x3e4281,constants['FRAMEWORKS']['JASMINE']),process[_0x5f688d(0x1cf)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x5f688d(0x213)](_0x2b58ff);}catch(_0x792728){_0x8ee38d[_0x5f688d(0x239)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util['format'](_0x792728));}let _0x52e3db=null,_0x5edce2=![];try{_0x52e3db=helper['getHubUrl'](_0x6262e7['config']),_0x5edce2=helper[_0x5f688d(0x1ef)](_0x6262e7['config']);}catch(_0x557be2){_0x8ee38d[_0x5f688d(0x239)](debug,_0x5f688d(0x207)+util['format'](_0x557be2));}const _0x55f877=_0x391f39=>{const _0xabc2d3=_0x5f688d,_0x2c6b76=Array[_0xabc2d3(0x21f)](_0x2b58ff)&&_0x8ee38d[_0xabc2d3(0x201)](_0x2b58ff[_0xabc2d3(0x258)],_0x391f39)?_0x2b58ff[_0x391f39]:Array[_0xabc2d3(0x21f)](_0x2b58ff)&&_0x8ee38d[_0xabc2d3(0x222)](_0x2b58ff[_0xabc2d3(0x258)],0x0)?_0x2b58ff[0x0]:{};return{'server':_0x52e3db,'capability':_0x2c6b76,'proxySettings':_0x6262e7['config'][_0xabc2d3(0x23e)],'platform':helper['getPlatformName'](_0x2c6b76),'browserStackLogLevel':_0x6262e7[_0xabc2d3(0x234)][_0xabc2d3(0x1d8)],'platformIndex':_0x391f39,'framework':constants[_0xabc2d3(0x1ea)][_0xabc2d3(0x20a)],'platformCaps':_0x5edce2?Object['assign']({'index':_0x391f39},_0x6262e7[_0xabc2d3(0x234)][_0xabc2d3(0x232)][_0x391f39]):{'index':_0x391f39}};};let _0x14a954=0x1,_0x3d5cb0=0x1,_0x2a6a12=0x1;try{_0x14a954=_0x8ee38d[_0x5f688d(0x24e)](getMaxWorkers,_0x4e87d2,_0x6262e7[_0x5f688d(0x234)]),_0x3d5cb0=_0x5edce2?_0x6262e7[_0x5f688d(0x234)][_0x5f688d(0x232)][_0x5f688d(0x258)]:0x1,_0x2a6a12=_0x8ee38d[_0x5f688d(0x223)](_0x3d5cb0,_0x14a954),process[_0x5f688d(0x1cf)][_0x5f688d(0x1e4)]=_0x8ee38d['eHItz'](String,_0x2a6a12);}catch(_0x200f75){_0x8ee38d[_0x5f688d(0x22a)](debug,_0x5f688d(0x1d9)+util[_0x5f688d(0x205)](_0x200f75));}try{BrowserstackCLI[_0x5f688d(0x245)]()[_0x5f688d(0x25e)]&&(process[_0x5f688d(0x1cf)][_0x5f688d(0x217)]=BrowserstackCLI[_0x5f688d(0x245)]()[_0x5f688d(0x25e)]);}catch(_0x46f77c){_0x8ee38d[_0x5f688d(0x239)](debug,_0x5f688d(0x236)+util['format'](_0x46f77c));}const _0x138d28=[];try{const _0x4f467a=path[_0x5f688d(0x1df)](__dirname,_0x8ee38d[_0x5f688d(0x268)]);fs[_0x5f688d(0x1eb)](_0x4f467a)?_0x138d28[_0x5f688d(0x25d)]('--helper='+_0x4f467a):_0x8ee38d[_0x5f688d(0x26d)](debug,_0x5f688d(0x269)+_0x4f467a+_0x5f688d(0x244));}catch(_0x2a28de){_0x8ee38d[_0x5f688d(0x26b)](debug,_0x5f688d(0x1d3)+util[_0x5f688d(0x205)](_0x2a28de));}const _0x20661f=_0x2ee1d5['slice'](0x1),_0x55380a=_0x8ee38d[_0x5f688d(0x26d)](enumerateSpecFiles,_0x2ee1d5),_0x41e560=[];for(let _0x1ea781=0x0;_0x8ee38d[_0x5f688d(0x230)](_0x1ea781,_0x3d5cb0);_0x1ea781++){if(_0x8ee38d[_0x5f688d(0x275)](_0x14a954,0x1)&&Array[_0x5f688d(0x21f)](_0x55380a)&&_0x8ee38d[_0x5f688d(0x257)](_0x55380a['length'],0x0))for(const _0x432e41 of _0x55380a){const _0x255e03={};_0x255e03[_0x5f688d(0x24d)]=_0x1ea781,_0x255e03[_0x5f688d(0x23f)]=[_0x432e41],_0x41e560[_0x5f688d(0x25d)](_0x255e03);}else{const _0x298ce7={};_0x298ce7[_0x5f688d(0x24d)]=_0x1ea781,_0x298ce7[_0x5f688d(0x23f)]=_0x55380a,_0x41e560[_0x5f688d(0x25d)](_0x298ce7);}}logger[_0x5f688d(0x1d4)](_0x5f688d(0x251)+_0x3d5cb0+_0x5f688d(0x231)+_0x14a954+'\x20('+_0x41e560['length']+_0x5f688d(0x256)+_0x2a6a12+_0x5f688d(0x274)),PerformanceTester[_0x5f688d(0x26a)](PerformanceEvents[_0x5f688d(0x24a)]);const _0x4ab5f0=_0x446a30=>new Promise(_0x3c42b1=>{const _0x50a815=_0x5f688d,_0x317ad7={'eRSgD':_0x8ee38d['IaJMH'],'FsybH':function(_0x57ee68,_0x3bcea6){const _0x54e520=a15_0x3feb;return _0x8ee38d[_0x54e520(0x26b)](_0x57ee68,_0x3bcea6);},'ziXxT':function(_0x405182,_0x1e9d5d){const _0x10b656=a15_0x3feb;return _0x8ee38d[_0x10b656(0x22e)](_0x405182,_0x1e9d5d);}};let _0xb39569;try{const _0x8c9ab0=_0x8ee38d[_0x50a815(0x22a)](_0x55f877,_0x446a30[_0x50a815(0x24d)]);_0xb39569=Object['assign']({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x8c9ab0),'BROWSERSTACK_CAPABILITIES':JSON[_0x50a815(0x213)]([_0x8c9ab0['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x199254){_0x8ee38d['IOsVS'](debug,_0x50a815(0x243)+_0x446a30['platformIndex']+_0x50a815(0x264)+util[_0x50a815(0x205)](_0x199254)),_0xb39569=Object['assign']({},process['env']);}const _0x356c6f=Array[_0x50a815(0x21f)](_0x446a30[_0x50a815(0x23f)])?_0x446a30[_0x50a815(0x23f)]:[],_0x3b8b34=_0x8ee38d[_0x50a815(0x222)](_0x356c6f['length'],0x0)?_0x20661f['filter'](_0x46ba18=>typeof _0x46ba18===_0x50a815(0x235)&&_0x46ba18['startsWith']('-')):_0x20661f,_0x51e35d=[..._0x138d28,..._0x3b8b34,..._0x356c6f];try{const _0xb98cf2=_0x8ee38d[_0x50a815(0x21e)](spawn,_0x8ee38d['xzCQQ'],[_0x8ee38d[_0x50a815(0x271)],..._0x51e35d],{'shell':_0x8ee38d[_0x50a815(0x1f7)](process[_0x50a815(0x200)],_0x8ee38d['MpoTo']),'stdio':_0x8ee38d['fkoyC'],'env':_0xb39569});_0xb98cf2['on'](_0x8ee38d['ElWbh'],_0x34b9a5=>{const _0xbb4fb3=_0x50a815;logger[_0xbb4fb3(0x20d)]('jasmine\x20child\x20(platformIndex='+_0x446a30[_0xbb4fb3(0x24d)]+_0xbb4fb3(0x237)+(_0x356c6f[_0xbb4fb3(0x258)]?_0x356c6f['join'](','):_0x317ad7[_0xbb4fb3(0x1fa)])+')\x20exited\x20with\x20code\x20'+_0x34b9a5),_0x317ad7['FsybH'](_0x3c42b1,_0x317ad7[_0xbb4fb3(0x1fd)](_0x34b9a5,0x0));}),_0xb98cf2['on'](_0x8ee38d[_0x50a815(0x20b)],_0x208d78=>{const _0x5f0e83=_0x50a815;_0x8ee38d[_0x5f0e83(0x26b)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x446a30[_0x5f0e83(0x24d)]+_0x5f0e83(0x240)+util[_0x5f0e83(0x205)](_0x208d78)),_0x8ee38d[_0x5f0e83(0x23d)](_0x3c42b1,0x1);});}catch(_0x3b694e){_0x8ee38d['wWTlY'](debug,_0x50a815(0x1da)+_0x446a30['platformIndex']+_0x50a815(0x240)+util[_0x50a815(0x205)](_0x3b694e)),_0x8ee38d['wWTlY'](_0x3c42b1,0x1);}}),_0x26c61f=_0x8ee38d[_0x5f688d(0x23d)](pLimit,_0x8ee38d['ADBvH'](_0x2a6a12,0x0)?_0x2a6a12:0x1),_0x2747c1=await Promise[_0x5f688d(0x25b)](_0x41e560[_0x5f688d(0x215)](_0x56ca0d=>_0x26c61f(()=>_0x4ab5f0(_0x56ca0d))));PerformanceTester[_0x5f688d(0x23c)](PerformanceEvents[_0x5f688d(0x254)]);const _0x21ba71=_0x2747c1[_0x5f688d(0x203)](_0x53645e=>_0x53645e!==0x0)||0x0;process['exitCode']=_0x21ba71,logger['debug'](_0x5f688d(0x22c)+_0x21ba71);const _0x2a5d7f=BrowserstackCLI[_0x5f688d(0x25a)]();try{await TestHubHandler[_0x5f688d(0x1e5)](),await BrowserstackCLI[_0x5f688d(0x245)]()[_0x5f688d(0x1e5)]();}catch(_0x1146e4){_0x8ee38d[_0x5f688d(0x23d)](debug,_0x5f688d(0x1d1)+util['format'](_0x1146e4));}try{const {browserstackFolderPath:_0x35176d,tcgConfigPath:_0x3a8460}=helper[_0x5f688d(0x270)]();fs[_0x5f688d(0x21c)](_0x3a8460),fs[_0x5f688d(0x20e)](_0x35176d);}catch(_0x26c334){logger['debug'](_0x8ee38d[_0x5f688d(0x1fe)],_0x26c334);}testOpsHelper[_0x5f688d(0x1d7)](),await utilities[_0x5f688d(0x22b)](_0x6262e7,_0x2a5d7f);}module[a15_0x1015a2(0x24c)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x41f0f7=a16_0x3420;(function(_0x47108a,_0x1af0ee){const _0x126719=a16_0x3420,_0x5d8aa4=_0x47108a();while(!![]){try{const _0x8b51b1=-parseInt(_0x126719(0x15a))/0x1+parseInt(_0x126719(0x18c))/0x2*(-parseInt(_0x126719(0x136))/0x3)+-parseInt(_0x126719(0x128))/0x4*(-parseInt(_0x126719(0x115))/0x5)+-parseInt(_0x126719(0x140))/0x6+parseInt(_0x126719(0x186))/0x7*(parseInt(_0x126719(0x15c))/0x8)+-parseInt(_0x126719(0x150))/0x9*(parseInt(_0x126719(0x165))/0xa)+parseInt(_0x126719(0x125))/0xb;if(_0x8b51b1===_0x1af0ee)break;else _0x5d8aa4['push'](_0x5d8aa4['shift']());}catch(_0xd35d31){_0x5d8aa4['push'](_0x5d8aa4['shift']());}}}(a16_0x24cd,0x9219b));const util=require(a16_0x41f0f7(0x175)),logger=require(a16_0x41f0f7(0x17a))['winstonLogger'],helper=require(a16_0x41f0f7(0x173)),globals=require(a16_0x41f0f7(0x135)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a16_0x41f0f7(0x137)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x41f0f7(0x16c)),accessibilityRetryHelper=require(a16_0x41f0f7(0x10d)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env']['BROWSERSTACK_JASMINE_CONFIG']||process['env']['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x41f0f7(0x181)](rawConfig));}catch(a16_0x582063){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x183)+util['format'](a16_0x582063));}try{if(_bstackConfig&&!helper[a16_0x41f0f7(0x113)](a16_0x41f0f7(0x188))){const cndMDj=a16_0x41f0f7(0x184)['split']('|');let NgkGjG=0x0;while(!![]){switch(cndMDj[NgkGjG++]){case'0':helper[a16_0x41f0f7(0x167)]()?(global['__skipSessionName']=helper[a16_0x41f0f7(0x15b)](_bstackConfig[a16_0x41f0f7(0x187)]),global[a16_0x41f0f7(0x10e)]=helper[a16_0x41f0f7(0x15b)](_bstackConfig[a16_0x41f0f7(0x17b)])):(global[a16_0x41f0f7(0x164)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':shouldProcessEventForTesthub()?require(a16_0x41f0f7(0x142))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x41f0f7(0x142))['browserstackAgentV2'](_bstackConfig);continue;case'2':global[a16_0x41f0f7(0x156)]=_bstackConfig[a16_0x41f0f7(0x121)]||{};continue;case'3':logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x122));continue;case'4':global[a16_0x41f0f7(0x13f)]=_bstackConfig[a16_0x41f0f7(0x148)];continue;}break;}}}catch(a16_0x5b23eb){logger['debug'](a16_0x41f0f7(0x180)+util[a16_0x41f0f7(0x132)](a16_0x5b23eb));}const _fileNameByFullName={};function a16_0x3420(_0x119cfd,_0x461cc0){const _0x24cd58=a16_0x24cd();return a16_0x3420=function(_0x34201d,_0x270bb4){_0x34201d=_0x34201d-0x10d;let _0x12c556=_0x24cd58[_0x34201d];return _0x12c556;},a16_0x3420(_0x119cfd,_0x461cc0);}try{if(typeof describe===a16_0x41f0f7(0x110)&&typeof global!==a16_0x41f0f7(0x13b)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3958eb=a16_0x41f0f7,_0x40e847={'rhPjI':function(_0x19a48c,_0x4f7736){return _0x19a48c(_0x4f7736);},'NxauG':'path','lgLtG':function(_0x5edb1a,_0x12f21e){return _0x5edb1a(_0x12f21e);},'AEIyw':'node:','Dqoow':_0x3958eb(0x126)},_0x4c105e=Error[_0x3958eb(0x178)];try{const _0x3982bf=new Error();Error['prepareStackTrace']=(_0x1cab5b,_0x112c33)=>_0x112c33;const _0x5838f8=_0x3982bf['stack'];Error['prepareStackTrace']=_0x4c105e;if(Array[_0x3958eb(0x16d)](_0x5838f8))for(const _0xaf739c of _0x5838f8){const _0x3fc64f=_0xaf739c['getFileName']&&_0xaf739c[_0x3958eb(0x14b)]();if(_0x3fc64f&&!_0x3fc64f['includes'](_0x3958eb(0x152)+_0x40e847[_0x3958eb(0x14a)](require,_0x40e847[_0x3958eb(0x15d)])['sep']+_0x3958eb(0x16f)+_0x40e847['lgLtG'](require,_0x40e847['NxauG'])['sep'])&&!_0x3fc64f[_0x3958eb(0x117)](_0x40e847[_0x3958eb(0x151)])&&!_0x3fc64f['includes'](_0x40e847[_0x3958eb(0x11b)]))return _0x3fc64f;}}catch(_0x4658e3){Error[_0x3958eb(0x178)]=_0x4c105e;}return null;},_wrappedDescribe=function(_0x7c5ce0,_0x11101b){const _0x4b5fd6=a16_0x41f0f7,_0x3b8caa={'akVCd':function(_0x5b7bf9){return _0x5b7bf9();},'wshWX':function(_0xd59848,_0x50df61){return _0xd59848&&_0x50df61;},'Kctet':function(_0x209e6c,_0x1fbc0e,_0xfb97b1){return _0x209e6c(_0x1fbc0e,_0xfb97b1);}};let _0x490ba5=null;try{_0x490ba5=_0x3b8caa[_0x4b5fd6(0x172)](_resolveCallerFile);}catch(_0x35b5c3){}_describeTitleStack[_0x4b5fd6(0x133)](_0x7c5ce0);const _0x1d1d19=_describeTitleStack[_0x4b5fd6(0x17d)]('\x20');_0x3b8caa[_0x4b5fd6(0x116)](_0x490ba5,_0x1d1d19)&&(_fileNameByFullName[_0x1d1d19]=_0x490ba5);try{return _0x3b8caa['Kctet'](_origDescribe,_0x7c5ce0,_0x11101b);}finally{_describeTitleStack[_0x4b5fd6(0x14e)]();}};Object[a16_0x41f0f7(0x14d)](_origDescribe)[a16_0x41f0f7(0x13d)](_0x5831a0=>{_wrappedDescribe[_0x5831a0]=_origDescribe[_0x5831a0];}),global[a16_0x41f0f7(0x111)]=_wrappedDescribe;}}catch(a16_0x2457d2){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x160)+util[a16_0x41f0f7(0x132)](a16_0x2457d2));}try{if(typeof jasmine!==a16_0x41f0f7(0x13b)&&jasmine[a16_0x41f0f7(0x144)]){const BrowserStackJasmineReporter=require(a16_0x41f0f7(0x162)),a16_0x11dd84={};a16_0x11dd84['fileNameByFullName']=_fileNameByFullName,jasmine[a16_0x41f0f7(0x144)]()['addReporter'](new BrowserStackJasmineReporter(a16_0x11dd84)),logger['debug'](a16_0x41f0f7(0x15e));}else logger['debug'](a16_0x41f0f7(0x13c));}catch(a16_0x41c7f5){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x11a)+util[a16_0x41f0f7(0x132)](a16_0x41c7f5));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x41f0f7(0x144)]&&jasmine[a16_0x41f0f7(0x144)]()[a16_0x41f0f7(0x12b)]({'specStarted'(_0x58c11f){const _0x142ec0=a16_0x41f0f7,_0x1ecca3={};_0x1ecca3[_0x142ec0(0x18e)]=function(_0x4e83f8,_0x4658a7){return _0x4e83f8||_0x4658a7;};const _0x157ff7=_0x1ecca3;_activeResultId=_0x58c11f&&_0x58c11f['id'],_activeFullName=_0x58c11f&&_0x58c11f[_0x142ec0(0x176)],_activeResultRef=_0x157ff7[_0x142ec0(0x18e)](_0x58c11f,null);},'specDone'(){}});}catch(a16_0x24dd76){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x163)+util[a16_0x41f0f7(0x132)](a16_0x24dd76));}function a16_0x24cd(){const _0xacf489=['error','rzGDt','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','parse','hHXJz','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','3|1|2|4|0','JcFQR','49JMPGDe','skipSessionName','@playwright/test','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','vMlvN','markSessionStatus','4nlOjEZ','XmKae','FywVw','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','YPlSC','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','__skipSessionStatus','nMyeQ','function','describe','tkicg','getPackageVersion','\x22}}','5tgCXrv','wshWX','startsWith','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','getGlobal','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','Dqoow','XeAcM','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','autoScanning','sessionName','__sessionFailed','platformCaps','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','is_mobile_session','5131005UlBFSg','jasmine-core','Passed','3287764Diuhri','Spec\x20failed','BROWSERSTACK_TESTHUB_UUID','addReporter','debug','env','browserstackSessionName','executeScript','__drivers','thTestRunUuid','format','push','passed','../../helpers/globals','139236cGAABO','../../helpers/testhub/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nXtxI','pJjty','undefined','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','forEach','warn','browserstackPlatformIndex','4029120qiKYHO','stringify','../../index','get','getEnv','sessionNameSet__','message','failedExpectations','platformIndex','HrQKT','rhPjI','getFileName','JWRSM','keys','pop','mtbUu','106101IdaSCB','AEIyw','bin','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','BROWSERSTACK_TESTHUB_JWT','__platformCaps','setGlobal','nSLyK','omTZh','78436tARvRA','isTrue','727040BuWIyQ','NxauG','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','isMobilePlatform','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','__skipSessionName','410BuDEgr','TgtoZ','isBrowserstackInfra','Failed:\x20','UHzGA','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','ENV_VAR','../../helpers/accessibility-automation/helper','isArray','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','jasmine','UntIY','VzsAW','akVCd','../../helpers/helper','bstackA11yShouldScan','util','fullName','length','prepareStackTrace','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','../../helpers/logger','skipSessionStatus','isAccessibilityPlatform','join'];a16_0x24cd=function(){return _0xacf489;};return a16_0x24cd();}const _resolveAutoScanning=()=>{const _0x24115d=a16_0x41f0f7,_0x35ef66={};_0x35ef66[_0x24115d(0x158)]=function(_0x5a6f11,_0x59c1d8){return _0x5a6f11===_0x59c1d8;};const _0xea49db=_0x35ef66;let _0x56701f=!![];try{const _0x94536d=JSON[_0x24115d(0x181)](process['env'][_0x24115d(0x138)]||'{}');_0xea49db[_0x24115d(0x158)](_0x94536d[_0x24115d(0x11e)],![])&&(_0x56701f=![]);}catch(_0x43ca6d){logger[_0x24115d(0x12c)](_0x24115d(0x192)+_0x43ca6d[_0x24115d(0x146)]);}return _0x56701f;};try{typeof beforeEach===a16_0x41f0f7(0x110)&&beforeEach(function bstackA11yBeforeEach(){const _0x1b4c66=a16_0x41f0f7,_0x55b720={'QLiqn':function(_0x1a9d46){return _0x1a9d46();},'JWRSM':function(_0x22246b,_0xd94500,_0x448f28){return _0x22246b(_0xd94500,_0x448f28);},'YPlSC':function(_0x23975f,_0x4c6774){return _0x23975f&&_0x4c6774;},'JcFQR':_0x1b4c66(0x174),'UntIY':'bstackA11yScanOptions'};try{const _0x591286=_0x55b720['QLiqn'](_resolveAutoScanning),_0x1f30c8=_0x55b720[_0x1b4c66(0x14c)](shouldScanTestForAccessibility,null,![]),_0x4b789f=_0x55b720[_0x1b4c66(0x191)](_0x591286,_0x1f30c8);globals[_0x1b4c66(0x157)](_0x55b720[_0x1b4c66(0x185)],_0x4b789f),globals[_0x1b4c66(0x157)](_0x55b720[_0x1b4c66(0x170)],null);}catch(_0x15e290){logger[_0x1b4c66(0x12c)](_0x1b4c66(0x123)+util[_0x1b4c66(0x132)](_0x15e290));}}),typeof afterEach===a16_0x41f0f7(0x110)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x456a8a=a16_0x41f0f7,_0x1b66de={'omTZh':function(_0x286385,_0x145029){return _0x286385>_0x145029;},'mtbUu':function(_0x54253c,_0x2b295d){return _0x54253c>_0x2b295d;},'MCqln':_0x456a8a(0x129),'pJjty':function(_0x553750,_0x27d032){return _0x553750+_0x27d032;},'nMyeQ':_0x456a8a(0x168),'vMlvN':_0x456a8a(0x127),'nXtxI':_0x456a8a(0x17e),'hHXJz':_0x456a8a(0x190),'vDdmI':'failed','UHzGA':_0x456a8a(0x134),'VzsAW':function(_0x197717){return _0x197717();},'HrQKT':_0x456a8a(0x17c),'OAhdp':_0x456a8a(0x174),'TgtoZ':_0x456a8a(0x161),'XeAcM':_0x456a8a(0x153),'XmKae':_0x456a8a(0x18f),'buuTS':_0x456a8a(0x16e),'rzGDt':_0x456a8a(0x15f),'rZWkE':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','tkicg':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global[_0x456a8a(0x130)])&&_0x1b66de[_0x456a8a(0x159)](global[_0x456a8a(0x130)]['length'],0x0)&&global['__drivers'][0x0]){const _0x398076=_activeFullName||global[_0x456a8a(0x11f)];if(!global[_0x456a8a(0x164)]&&_0x398076){global['sessionName']=_0x398076;try{await global['__drivers'][0x0]['executeScript'](_0x456a8a(0x11d)+JSON['stringify'](_0x398076)+'}}'),global['__drivers'][0x0][_0x456a8a(0x145)]=!![];}catch(_0x7ebb85){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x7ebb85));}}if(!global[_0x456a8a(0x10e)])try{const _0x3bc0f0=_activeResultRef&&Array[_0x456a8a(0x16d)](_activeResultRef[_0x456a8a(0x147)])?_activeResultRef['failedExpectations']:[],_0x138ca=_0x1b66de[_0x456a8a(0x14f)](_0x3bc0f0[_0x456a8a(0x177)],0x0),_0xdca6a1=_0x138ca?_0x3bc0f0[0x0]&&_0x3bc0f0[0x0][_0x456a8a(0x146)]||_0x1b66de['MCqln']:null;try{await global[_0x456a8a(0x130)][0x0][_0x456a8a(0x12f)](_0x456a8a(0x16a)+JSON[_0x456a8a(0x141)](_0x138ca?_0x1b66de[_0x456a8a(0x13a)](_0x1b66de[_0x456a8a(0x10f)],_0xdca6a1):_0x1b66de[_0x456a8a(0x18a)])+',\x22level\x22:\x20\x22'+(_0x138ca?_0x1b66de[_0x456a8a(0x139)]:_0x1b66de[_0x456a8a(0x182)])+_0x456a8a(0x114));}catch(_0x2f2bb1){logger['debug'](_0x456a8a(0x189)+util['format'](_0x2f2bb1));}_0x138ca&&(global[_0x456a8a(0x120)]=!![]),await helper[_0x456a8a(0x18b)](global[_0x456a8a(0x130)][0x0],_0x138ca?_0x1b66de['vDdmI']:_0x1b66de[_0x456a8a(0x169)],_0xdca6a1);}catch(_0x155cc9){logger['debug'](_0x456a8a(0x118)+util[_0x456a8a(0x132)](_0x155cc9));}}}catch(_0xe39a5e){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x456a8a(0x132)](_0xe39a5e));}try{if(_0x1b66de[_0x456a8a(0x171)](isAccessibilityAutomationSession)&&globals[_0x456a8a(0x119)](_0x1b66de[_0x456a8a(0x149)])&&Array[_0x456a8a(0x16d)](global[_0x456a8a(0x130)])&&_0x1b66de['omTZh'](global[_0x456a8a(0x130)][_0x456a8a(0x177)],0x0)&&global[_0x456a8a(0x130)][0x0]){const _0x2b7fbe=testRunMap[_0x456a8a(0x143)](_activeResultId),_0x3136bf={};_0x3136bf[_0x456a8a(0x131)]=_0x2b7fbe,_0x3136bf['thBuildUuid']=process[_0x456a8a(0x12d)][testHubConstants['ENV_VAR'][_0x456a8a(0x12a)]],_0x3136bf['thJwtToken']=process['env'][testHubConstants[_0x456a8a(0x16b)][_0x456a8a(0x155)]];const _0x59281b=_0x3136bf;logger[_0x456a8a(0x12c)](_0x456a8a(0x154)+JSON[_0x456a8a(0x141)](_0x59281b));if(globals[_0x456a8a(0x119)](_0x1b66de['OAhdp'])){logger['debug'](_0x1b66de[_0x456a8a(0x166)]);const _0x17ac1b=await accessibilityRetryHelper['performScanWithRetry'](global[_0x456a8a(0x130)][0x0],global[_0x456a8a(0x12e)]);_0x17ac1b?logger[_0x456a8a(0x12c)](_0x1b66de[_0x456a8a(0x11c)]):logger['warn'](_0x1b66de[_0x456a8a(0x18d)]);}else logger[_0x456a8a(0x12c)](_0x1b66de['buuTS']);globals[_0x456a8a(0x119)](_0x1b66de[_0x456a8a(0x17f)])&&(_0x59281b[_0x456a8a(0x124)]=!![]);const _0x11f15d=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x456a8a(0x130)][0x0],_0x59281b);_0x11f15d?logger[_0x456a8a(0x12c)](_0x1b66de['rZWkE']):logger[_0x456a8a(0x13e)](_0x1b66de[_0x456a8a(0x112)]);}}catch(_0x1731d7){logger[_0x456a8a(0x17e)](_0x456a8a(0x179)+util[_0x456a8a(0x132)](_0x1731d7));}});}catch(a16_0x2a5995){logger[a16_0x41f0f7(0x12c)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x41f0f7(0x132)](a16_0x2a5995));}module['exports']={};
|
|
1
|
+
'use strict';const a16_0x25604a=a16_0x4f89;(function(_0x2869c6,_0x521cf1){const _0x2adfe5=a16_0x4f89,_0x573cdf=_0x2869c6();while(!![]){try{const _0x463270=-parseInt(_0x2adfe5(0x1a8))/0x1+-parseInt(_0x2adfe5(0x15d))/0x2*(-parseInt(_0x2adfe5(0x14e))/0x3)+parseInt(_0x2adfe5(0x156))/0x4*(parseInt(_0x2adfe5(0x148))/0x5)+-parseInt(_0x2adfe5(0x14c))/0x6*(-parseInt(_0x2adfe5(0x166))/0x7)+parseInt(_0x2adfe5(0x199))/0x8*(parseInt(_0x2adfe5(0x1a6))/0x9)+-parseInt(_0x2adfe5(0x16f))/0xa+-parseInt(_0x2adfe5(0x1ac))/0xb;if(_0x463270===_0x521cf1)break;else _0x573cdf['push'](_0x573cdf['shift']());}catch(_0x3ec994){_0x573cdf['push'](_0x573cdf['shift']());}}}(a16_0x36ca,0x7337b));const util=require(a16_0x25604a(0x189)),logger=require(a16_0x25604a(0x137))['winstonLogger'],helper=require(a16_0x25604a(0x165)),globals=require(a16_0x25604a(0x172)),{shouldProcessEventForTesthub}=require(a16_0x25604a(0x15b)),testHubConstants=require(a16_0x25604a(0x195)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x25604a(0x18a)),accessibilityRetryHelper=require(a16_0x25604a(0x145)),testRunMap=require(a16_0x25604a(0x136));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a16_0x4f89(_0x1989d9,_0x56f32d){const _0x36ca92=a16_0x36ca();return a16_0x4f89=function(_0x4f8955,_0x37ee4d){_0x4f8955=_0x4f8955-0x124;let _0x2935c5=_0x36ca92[_0x4f8955];return _0x2935c5;},a16_0x4f89(_0x1989d9,_0x56f32d);}try{const rawConfig=process[a16_0x25604a(0x188)][a16_0x25604a(0x134)]||process['env'][a16_0x25604a(0x129)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x25604a(0x152)](rawConfig));}catch(a16_0x1c4795){logger[a16_0x25604a(0x159)](a16_0x25604a(0x16e)+util[a16_0x25604a(0x191)](a16_0x1c4795));}try{if(_bstackConfig&&!helper[a16_0x25604a(0x19a)](a16_0x25604a(0x178))){const LQKEUS='0|4|1|3|2'[a16_0x25604a(0x130)]('|');let bXhLtB=0x0;while(!![]){switch(LQKEUS[bXhLtB++]){case'0':logger['debug']('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'1':global[a16_0x25604a(0x184)]=_bstackConfig[a16_0x25604a(0x154)]||{};continue;case'2':helper['isBrowserstackInfra']()?(global[a16_0x25604a(0x12c)]=helper['isTrue'](_bstackConfig[a16_0x25604a(0x196)]),global[a16_0x25604a(0x1a9)]=helper[a16_0x25604a(0x183)](_bstackConfig['skipSessionStatus'])):(global[a16_0x25604a(0x12c)]=!![],global['__skipSessionStatus']=!![]);continue;case'3':global[a16_0x25604a(0x126)]=_bstackConfig[a16_0x25604a(0x169)];continue;case'4':shouldProcessEventForTesthub()?require(a16_0x25604a(0x13f))[a16_0x25604a(0x13d)](_bstackConfig,null,!![]):require(a16_0x25604a(0x13f))[a16_0x25604a(0x13d)](_bstackConfig);continue;}break;}}}catch(a16_0x1b31e1){logger[a16_0x25604a(0x159)](a16_0x25604a(0x135)+util[a16_0x25604a(0x191)](a16_0x1b31e1));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xe76b22=a16_0x25604a,_0x4e079d={'oInSb':function(_0x1e839d,_0x53aab7){return _0x1e839d(_0x53aab7);},'Begha':_0xe76b22(0x194),'bbVat':_0xe76b22(0x142),'bVxue':_0xe76b22(0x17c)},_0x21b1b4=Error[_0xe76b22(0x16c)];try{const _0x93e8bd=new Error();Error[_0xe76b22(0x16c)]=(_0x58c43e,_0xfd4e36)=>_0xfd4e36;const _0x23f33d=_0x93e8bd[_0xe76b22(0x17d)];Error[_0xe76b22(0x16c)]=_0x21b1b4;if(Array[_0xe76b22(0x128)](_0x23f33d))for(const _0x2a44e8 of _0x23f33d){const _0x143338=_0x2a44e8[_0xe76b22(0x131)]&&_0x2a44e8['getFileName']();if(_0x143338&&!_0x143338['includes'](_0xe76b22(0x140)+_0x4e079d['oInSb'](require,_0x4e079d['Begha'])['sep']+_0xe76b22(0x141)+_0x4e079d['oInSb'](require,_0x4e079d[_0xe76b22(0x17a)])['sep'])&&!_0x143338[_0xe76b22(0x1aa)](_0x4e079d[_0xe76b22(0x125)])&&!_0x143338[_0xe76b22(0x17e)](_0x4e079d['bVxue']))return _0x143338;}}catch(_0x26d91f){Error['prepareStackTrace']=_0x21b1b4;}return null;},_wrappedDescribe=function(_0x50e531,_0x9176ca){const _0x32c760=a16_0x25604a,_0x2bea08={'krbcP':function(_0x5c4843){return _0x5c4843();},'rzZWf':function(_0x31404a,_0x4c34f7){return _0x31404a&&_0x4c34f7;},'yAfwy':function(_0x2844c8,_0x49571d,_0x958292){return _0x2844c8(_0x49571d,_0x958292);}};let _0x3534ec=null;try{_0x3534ec=_0x2bea08['krbcP'](_resolveCallerFile);}catch(_0x2ae899){}_describeTitleStack['push'](_0x50e531);const _0x174175=_describeTitleStack[_0x32c760(0x146)]('\x20');_0x2bea08['rzZWf'](_0x3534ec,_0x174175)&&(_fileNameByFullName[_0x174175]=_0x3534ec);try{return _0x2bea08[_0x32c760(0x151)](_origDescribe,_0x50e531,_0x9176ca);}finally{_describeTitleStack[_0x32c760(0x171)]();}};Object[a16_0x25604a(0x12f)](_origDescribe)[a16_0x25604a(0x12e)](_0x4fb40b=>{_wrappedDescribe[_0x4fb40b]=_origDescribe[_0x4fb40b];}),global[a16_0x25604a(0x13b)]=_wrappedDescribe;}}catch(a16_0x14c4ef){logger[a16_0x25604a(0x159)](a16_0x25604a(0x176)+util['format'](a16_0x14c4ef));}try{if(typeof jasmine!==a16_0x25604a(0x15c)&&jasmine[a16_0x25604a(0x1a0)]){const BrowserStackJasmineReporter=require(a16_0x25604a(0x147)),a16_0x7c884b={};a16_0x7c884b['fileNameByFullName']=_fileNameByFullName,jasmine['getEnv']()['addReporter'](new BrowserStackJasmineReporter(a16_0x7c884b)),logger[a16_0x25604a(0x159)](a16_0x25604a(0x197));}else logger[a16_0x25604a(0x159)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x407c7f){logger[a16_0x25604a(0x159)](a16_0x25604a(0x18e)+util[a16_0x25604a(0x191)](a16_0x407c7f));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x25604a(0x1a0)]&&jasmine[a16_0x25604a(0x1a0)]()['addReporter']({'specStarted'(_0x447954){const _0x2bfb58=a16_0x25604a,_0x43d69c={};_0x43d69c[_0x2bfb58(0x187)]=function(_0x51fe61,_0xf5896a){return _0x51fe61||_0xf5896a;};const _0x51e698=_0x43d69c;_activeResultId=_0x447954&&_0x447954['id'],_activeFullName=_0x447954&&_0x447954[_0x2bfb58(0x12b)],_activeResultRef=_0x51e698['HhAVq'](_0x447954,null);},'specDone'(){}});}catch(a16_0x2ee6c2){logger[a16_0x25604a(0x159)](a16_0x25604a(0x168)+util['format'](a16_0x2ee6c2));}function a16_0x36ca(){const _0x4a5a0a=['__skipSessionStatus','startsWith',',\x22level\x22:\x20\x22','5736005WOCyir','wmSuK','bbVat','browserstackPlatformIndex','kHzYC','isArray','CONFIG','zfEUu','fullName','__skipSessionName','setGlobal','forEach','keys','split','getFileName','hEuXo','executeScript','BROWSERSTACK_JASMINE_CONFIG','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','./testRunMap','../../helpers/logger','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','passed','describe','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','browserstackAgentV2','ufFlF','../../index','bin','jasmine','node:','performScanWithRetry','__drivers','../../helpers/accessibility-automation/accessibilityRetryHelper','join','./bstack-reporter/customReporter','2355025BLOTeL','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','saveAccessibilityResultsWithRetry','BROWSERSTACK_TESTHUB_UUID','6oizEhk','error','6hhItOT','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','yAfwy','parse','rHVUz','platformCaps','\x22}}','4HMhVVV','__sessionFailed','get','debug','HKGzW','../../helpers/testhub/utils','undefined','726734NlRYcB','info','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Passed','failedExpectations','length','../../helpers/helper','3796044dbFURB','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','platformIndex','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','message','prepareStackTrace','markSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','5429090HbYRAa','ENV_VAR','pop','../../helpers/globals','function','warn','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','zLtIa','@playwright/test','getGlobal','Begha','sessionName','jasmine-core','stack','includes','knfHz','wRxRt','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','dzWPt','isTrue','__platformCaps','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','HhAVq','env','util','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','EyOtG','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','tKJzJ','exports','format','DRUsT','is_mobile_session','path','../../helpers/testhub/constants','skipSessionName','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','stringify','265312azvXIV','getPackageVersion','Failed:\x20','ynGAy','isAccessibilityPlatform','thTestRunUuid','browserstackSessionName','getEnv','autoScanning','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_JWT','bzJcc','HuEKI','126okxvGh','VGWml','668032eHzsmg'];a16_0x36ca=function(){return _0x4a5a0a;};return a16_0x36ca();}const _resolveAutoScanning=()=>{const _0xb4c5dc=a16_0x25604a,_0xf5f2d8={};_0xf5f2d8[_0xb4c5dc(0x18d)]=function(_0x2acad6,_0x1db030){return _0x2acad6===_0x1db030;};const _0x4942ec=_0xf5f2d8;let _0x148f7b=!![];try{const _0x3347fc=JSON[_0xb4c5dc(0x152)](process[_0xb4c5dc(0x188)][_0xb4c5dc(0x18c)]||'{}');_0x4942ec['EyOtG'](_0x3347fc[_0xb4c5dc(0x1a1)],![])&&(_0x148f7b=![]);}catch(_0x122cdc){logger[_0xb4c5dc(0x159)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x122cdc[_0xb4c5dc(0x16b)]);}return _0x148f7b;};try{typeof beforeEach===a16_0x25604a(0x173)&&beforeEach(function bstackA11yBeforeEach(){const _0x5cb3e7=a16_0x25604a,_0x4c6cf4={'iFhHo':function(_0x5618f7){return _0x5618f7();},'PNZby':function(_0x484ec5,_0x13a6ea,_0x291c17){return _0x484ec5(_0x13a6ea,_0x291c17);},'RpEBT':function(_0x58c139,_0x280909){return _0x58c139&&_0x280909;},'kHzYC':_0x5cb3e7(0x1a2),'VGWml':_0x5cb3e7(0x15f)};try{const _0x266f27=_0x4c6cf4['iFhHo'](_resolveAutoScanning),_0x1b7156=_0x4c6cf4['PNZby'](shouldScanTestForAccessibility,null,![]),_0x2c8b38=_0x4c6cf4['RpEBT'](_0x266f27,_0x1b7156);globals[_0x5cb3e7(0x12d)](_0x4c6cf4[_0x5cb3e7(0x127)],_0x2c8b38),globals['setGlobal'](_0x4c6cf4[_0x5cb3e7(0x1a7)],null);}catch(_0x302421){logger['debug'](_0x5cb3e7(0x16a)+util['format'](_0x302421));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4a338a=a16_0x25604a,_0x4fb08a={'HKGzW':function(_0x35ec63,_0xde76ec){return _0x35ec63>_0xde76ec;},'ynGAy':'Spec\x20failed','MulII':function(_0xfc01f4,_0x123d73){return _0xfc01f4+_0x123d73;},'ufFlF':_0x4a338a(0x19b),'tKJzJ':_0x4a338a(0x162),'knfHz':_0x4a338a(0x14d),'skTXH':_0x4a338a(0x15e),'dzWPt':'failed','HuEKI':_0x4a338a(0x13a),'ERjCL':function(_0x47792c){return _0x47792c();},'wmSuK':_0x4a338a(0x19d),'DRUsT':function(_0x4dec7a,_0x481efb){return _0x4dec7a>_0x481efb;},'zfEUu':_0x4a338a(0x1a2),'zLtIa':_0x4a338a(0x186),'hEuXo':_0x4a338a(0x18b),'bzJcc':_0x4a338a(0x139),'rHVUz':_0x4a338a(0x14f),'wRxRt':'isMobilePlatform','VqUfW':_0x4a338a(0x167),'cNIsT':_0x4a338a(0x161)};try{if(Array['isArray'](global[_0x4a338a(0x144)])&&_0x4fb08a[_0x4a338a(0x15a)](global['__drivers'][_0x4a338a(0x164)],0x0)&&global[_0x4a338a(0x144)][0x0]){const _0x13f890=_activeFullName||global[_0x4a338a(0x17b)];if(!global[_0x4a338a(0x12c)]&&_0x13f890){global[_0x4a338a(0x17b)]=_0x13f890;try{await global['__drivers'][0x0][_0x4a338a(0x133)](_0x4a338a(0x185)+JSON[_0x4a338a(0x198)](_0x13f890)+'}}'),global[_0x4a338a(0x144)][0x0]['sessionNameSet__']=!![];}catch(_0x444656){logger['debug'](_0x4a338a(0x160)+util['format'](_0x444656));}}if(!global['__skipSessionStatus'])try{const _0x44d126=_activeResultRef&&Array[_0x4a338a(0x128)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x4a338a(0x163)]:[],_0x429671=_0x4fb08a[_0x4a338a(0x15a)](_0x44d126[_0x4a338a(0x164)],0x0),_0x487f79=_0x429671?_0x44d126[0x0]&&_0x44d126[0x0]['message']||_0x4fb08a[_0x4a338a(0x19c)]:null;try{await global[_0x4a338a(0x144)][0x0][_0x4a338a(0x133)](_0x4a338a(0x150)+JSON['stringify'](_0x429671?_0x4fb08a['MulII'](_0x4fb08a[_0x4a338a(0x13e)],_0x487f79):_0x4fb08a[_0x4a338a(0x18f)])+_0x4a338a(0x1ab)+(_0x429671?_0x4fb08a[_0x4a338a(0x17f)]:_0x4fb08a['skTXH'])+_0x4a338a(0x155));}catch(_0x573ca2){logger[_0x4a338a(0x159)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x4a338a(0x191)](_0x573ca2));}_0x429671&&(global[_0x4a338a(0x157)]=!![]),await helper[_0x4a338a(0x16d)](global[_0x4a338a(0x144)][0x0],_0x429671?_0x4fb08a[_0x4a338a(0x182)]:_0x4fb08a[_0x4a338a(0x1a5)],_0x487f79);}catch(_0x1932fe){logger[_0x4a338a(0x159)](_0x4a338a(0x149)+util['format'](_0x1932fe));}}}catch(_0x4abcbe){logger[_0x4a338a(0x159)](_0x4a338a(0x175)+util[_0x4a338a(0x191)](_0x4abcbe));}try{if(_0x4fb08a['ERjCL'](isAccessibilityAutomationSession)&&globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x124)])&&Array[_0x4a338a(0x128)](global[_0x4a338a(0x144)])&&_0x4fb08a[_0x4a338a(0x192)](global[_0x4a338a(0x144)][_0x4a338a(0x164)],0x0)&&global[_0x4a338a(0x144)][0x0]){const _0x6cd0d=testRunMap[_0x4a338a(0x158)](_activeResultId),_0x43e552={};_0x43e552[_0x4a338a(0x19e)]=_0x6cd0d,_0x43e552['thBuildUuid']=process['env'][testHubConstants[_0x4a338a(0x170)][_0x4a338a(0x14b)]],_0x43e552['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x4a338a(0x1a3)]];const _0x3177c8=_0x43e552;logger['debug'](_0x4a338a(0x138)+JSON[_0x4a338a(0x198)](_0x3177c8));if(globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x12a)])){logger['debug'](_0x4fb08a[_0x4a338a(0x177)]);const _0x11c04d=await accessibilityRetryHelper[_0x4a338a(0x143)](global[_0x4a338a(0x144)][0x0],global[_0x4a338a(0x19f)]);_0x11c04d?logger[_0x4a338a(0x159)](_0x4fb08a[_0x4a338a(0x132)]):logger[_0x4a338a(0x174)](_0x4fb08a[_0x4a338a(0x1a4)]);}else logger[_0x4a338a(0x159)](_0x4fb08a[_0x4a338a(0x153)]);globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x180)])&&(_0x3177c8[_0x4a338a(0x193)]=!![]);const _0x107a54=await accessibilityRetryHelper[_0x4a338a(0x14a)](global[_0x4a338a(0x144)][0x0],_0x3177c8);_0x107a54?logger[_0x4a338a(0x159)](_0x4fb08a['VqUfW']):logger[_0x4a338a(0x174)](_0x4fb08a['cNIsT']);}}catch(_0x15164d){logger[_0x4a338a(0x14d)](_0x4a338a(0x13c)+util[_0x4a338a(0x191)](_0x15164d));}});}catch(a16_0x55c42b){logger[a16_0x25604a(0x159)](a16_0x25604a(0x181)+util[a16_0x25604a(0x191)](a16_0x55c42b));}module[a16_0x25604a(0x190)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a17_0x4471(){const _0x509211=['1093004ozNYjw','10jAVMli','1240216WxzKtQ','45MGGueR','_size','YYhoz','704319XunEIn','FjalI','1731GfYWLb','size','7984277LxOAPV','delete','148zbBJsh','get','2lHrkui','set','nGiCX','10365054VvNmjR','6591995YKtHje','remove'];a17_0x4471=function(){return _0x509211;};return a17_0x4471();}function a17_0x129d(_0x5eda6d,_0x26acc6){const _0x447191=a17_0x4471();return a17_0x129d=function(_0x129d5b,_0x1b512f){_0x129d5b=_0x129d5b-0x1e5;let _0x3ab95f=_0x447191[_0x129d5b];return _0x3ab95f;},a17_0x129d(_0x5eda6d,_0x26acc6);}const a17_0xb97bad=a17_0x129d;(function(_0x28bfa5,_0x2fe6f1){const _0x57b51b=a17_0x129d,_0xa3e9f8=_0x28bfa5();while(!![]){try{const _0x1bd886=parseInt(_0x57b51b(0x1eb))/0x1*(-parseInt(_0x57b51b(0x1f3))/0x2)+parseInt(_0x57b51b(0x1ed))/0x3*(-parseInt(_0x57b51b(0x1f1))/0x4)+parseInt(_0x57b51b(0x1f7))/0x5+-parseInt(_0x57b51b(0x1f6))/0x6+parseInt(_0x57b51b(0x1ef))/0x7+-parseInt(_0x57b51b(0x1e7))/0x8*(-parseInt(_0x57b51b(0x1e8))/0x9)+parseInt(_0x57b51b(0x1e6))/0xa*(parseInt(_0x57b51b(0x1e5))/0xb);if(_0x1bd886===_0x2fe6f1)break;else _0xa3e9f8['push'](_0xa3e9f8['shift']());}catch(_0x234476){_0xa3e9f8['push'](_0xa3e9f8['shift']());}}}(a17_0x4471,0xd6ecc));const _specUuidById=new Map();exports[a17_0xb97bad(0x1f4)]=(_0x339e86,_0x59abc6)=>{const _0x18eb72=a17_0xb97bad,_0x4d48ef={};_0x4d48ef[_0x18eb72(0x1f5)]=function(_0x5d5eed,_0x2d9e9e){return _0x5d5eed===_0x2d9e9e;};const _0x395964=_0x4d48ef;if(_0x395964[_0x18eb72(0x1f5)](_0x339e86,undefined)||_0x395964['nGiCX'](_0x339e86,null))return;_specUuidById['set'](_0x339e86,_0x59abc6);},exports['get']=_0x5d7cc0=>{const _0x7eb06=a17_0xb97bad,_0x142749={};_0x142749[_0x7eb06(0x1ea)]=function(_0x12d135,_0x37d24d){return _0x12d135===_0x37d24d;};const _0x4e5c94=_0x142749;if(_0x4e5c94[_0x7eb06(0x1ea)](_0x5d7cc0,undefined)||_0x4e5c94['YYhoz'](_0x5d7cc0,null))return undefined;return _specUuidById[_0x7eb06(0x1f2)](_0x5d7cc0);},exports[a17_0xb97bad(0x1f8)]=_0x1b0809=>{const _0xc96650=a17_0xb97bad,_0x2fdd92={};_0x2fdd92[_0xc96650(0x1ec)]=function(_0x515033,_0x445a7e){return _0x515033===_0x445a7e;};const _0x2fed55=_0x2fdd92;if(_0x2fed55[_0xc96650(0x1ec)](_0x1b0809,undefined)||_0x2fed55['FjalI'](_0x1b0809,null))return;_specUuidById[_0xc96650(0x1f0)](_0x1b0809);},exports[a17_0xb97bad(0x1e9)]=()=>_specUuidById[a17_0xb97bad(0x1ee)];
|