browserstack-node-sdk 1.58.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/assets/report.html +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/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/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_0x2cf1b8=a10_0xbd21;(function(_0x1fc20c,_0x2ae605){const _0x1979c0=a10_0xbd21,_0x64538d=_0x1fc20c();while(!![]){try{const _0x99404a=parseInt(_0x1979c0(0x151))/0x1+parseInt(_0x1979c0(0x154))/0x2*(-parseInt(_0x1979c0(0x172))/0x3)+-parseInt(_0x1979c0(0x15b))/0x4*(parseInt(_0x1979c0(0x183))/0x5)+parseInt(_0x1979c0(0x177))/0x6+-parseInt(_0x1979c0(0x170))/0x7*(-parseInt(_0x1979c0(0x182))/0x8)+parseInt(_0x1979c0(0x15c))/0x9+-parseInt(_0x1979c0(0x173))/0xa;if(_0x99404a===_0x2ae605)break;else _0x64538d['push'](_0x64538d['shift']());}catch(_0xb7ae84){_0x64538d['push'](_0x64538d['shift']());}}}(a10_0x572b,0xf4210));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x2cf1b8(0x150)),setKeepAlive=require(a10_0x2cf1b8(0x17f)),cucumberModule=requireModule(a10_0x2cf1b8(0x15d),a10_0x2cf1b8(0x184)),logger=require(a10_0x2cf1b8(0x169))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x2cf1b8(0x159)],After=cucumberModule[a10_0x2cf1b8(0x14e)],configuration=process['env'][a10_0x2cf1b8(0x17e)];if(configuration!==undefined){const config=JSON[a10_0x2cf1b8(0x17a)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x2cf1b8(0x15a)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x2cf1b8(0x14d)]),require(a10_0x2cf1b8(0x17c))[a10_0x2cf1b8(0x158)](config),global[a10_0x2cf1b8(0x17d)]=config[a10_0x2cf1b8(0x15e)]||{};}global[a10_0x2cf1b8(0x16b)]=0x0;function a10_0xbd21(_0x4b7ad1,_0x1e4e82){const _0x572bbb=a10_0x572b();return a10_0xbd21=function(_0xbd210d,_0x2e7baf){_0xbd210d=_0xbd210d-0x14c;let _0x52aa44=_0x572bbb[_0xbd210d];return _0x52aa44;},a10_0xbd21(_0x4b7ad1,_0x1e4e82);}const __setDefaultTimeout=cucumberModule[a10_0x2cf1b8(0x14f)];cucumberModule[a10_0x2cf1b8(0x14f)]=_0x363477=>{const _0x5b9b6d=a10_0x2cf1b8,_0x4fe626={'zRHWG':function(_0x14233a,_0x429c93){return _0x14233a(_0x429c93);}};global[_0x5b9b6d(0x16b)]=_0x363477,_0x4fe626[_0x5b9b6d(0x163)](__setDefaultTimeout,_0x363477);};function a10_0x572b(){const _0x5a3bb5=['setSessionName','skipSessionStatus','After','setDefaultTimeout','../../helpers/helper','831107wZiJih','OPheA','LJRDP','2446jRArWM','ZBAeg','action','then','browserstackAgentV2','Before','__skipSessionName','824CPskal','12225528CySSPf','cucumber/lib/index.js','platformCaps','EXFxW','browserstack_executor:\x20','YvFqT','__driver','zRHWG','passed','status','session_','join','Inside\x20browserstack\x20After','../../helpers/logger','debug','__timeout','toLowerCase','Thygm','\x20|\x20','Xfkrg','9757741hgTYkr','bVQef','417NbxySo','25116090PseByA','executeScript','Error:\x20quiting\x20at\x20After:\x20','result','2755284ONHDzu','initQuit','name','parse','stringify','../../index','__platformCaps','CONFIG','../../helpers/setKeepAlive','LgndY','bstack','8SoOgMV','8765tHKVVs','cucumber'];a10_0x572b=function(){return _0x5a3bb5;};return a10_0x572b();}const a10_0x4bda5f={};a10_0x4bda5f[a10_0x2cf1b8(0x179)]='bstack',Before(a10_0x4bda5f,function(){const _0x3cb55e=a10_0x2cf1b8,_0x2710d5={};_0x2710d5[_0x3cb55e(0x152)]='Inside\x20browserstack\x20Before';const _0x56ff6d=_0x2710d5;logger['debug'](_0x56ff6d[_0x3cb55e(0x152)]),global['__error_messages__']=[];});const a10_0x35e515={};a10_0x35e515['name']=a10_0x2cf1b8(0x181),a10_0x35e515['timeout']=0x2710,After(a10_0x35e515,function(_0x1c6f52,_0x2d8816){const _0xd8c74b=a10_0x2cf1b8,_0x5f1aa2={'LgndY':_0xd8c74b(0x14c),'TWuJk':function(_0xedf5b1,_0x3533b9){return _0xedf5b1===_0x3533b9;},'EXFxW':'failed','xMWKR':function(_0x283eba,_0xea13d2,_0x21fc93,_0x342420){return _0x283eba(_0xea13d2,_0x21fc93,_0x342420);},'Xfkrg':_0xd8c74b(0x16e),'Thygm':function(_0x2229e7,_0xc6bb6d,_0x48cd92){return _0x2229e7(_0xc6bb6d,_0x48cd92);},'LJRDP':_0xd8c74b(0x164),'YvFqT':function(_0x1b84ed){return _0x1b84ed();},'ZBAeg':function(_0x59aa84,_0x1b9762){return _0x59aa84(_0x1b9762);},'bVQef':_0xd8c74b(0x168)};logger['debug'](_0x5f1aa2[_0xd8c74b(0x171)]),new Promise(async(_0x5ce994,_0x2f4f79)=>{const _0x422443=_0xd8c74b;let _0x48904c=![];try{await global[_0x422443(0x162)][_0x422443(0x166)],_0x48904c=!![];if(!global[_0x422443(0x15a)]){const _0x882010={};_0x882010[_0x422443(0x179)]=_0x1c6f52['pickle'][_0x422443(0x179)];const _0x535207={};_0x535207[_0x422443(0x156)]=_0x5f1aa2[_0x422443(0x180)],_0x535207['arguments']=_0x882010;const _0x1de1a8=_0x535207;await global['__driver'][_0x422443(0x174)](_0x422443(0x160)+JSON[_0x422443(0x17b)](_0x1de1a8));}_0x5f1aa2['TWuJk'](_0x1c6f52[_0x422443(0x176)][_0x422443(0x165)][_0x422443(0x16c)](),_0x5f1aa2[_0x422443(0x15f)])?await _0x5f1aa2['xMWKR'](markSessionStatus,global['__driver'],_0x5f1aa2[_0x422443(0x15f)],global['__error_messages__'][_0x422443(0x167)](_0x5f1aa2[_0x422443(0x16f)])):await _0x5f1aa2[_0x422443(0x16d)](markSessionStatus,global[_0x422443(0x162)],_0x5f1aa2[_0x422443(0x153)]);}catch(_0xf71916){logger['debug']('Error:\x20setting\x20status\x20at\x20After:\x20'+_0xf71916);}if(_0x48904c)try{await global['__driver'][_0x422443(0x178)](),_0x5f1aa2[_0x422443(0x161)](_0x5ce994);}catch(_0x445f1c){logger[_0x422443(0x16a)](_0x422443(0x175)+_0x445f1c),_0x5f1aa2[_0x422443(0x155)](_0x2f4f79,_0x445f1c);}else _0x5f1aa2[_0x422443(0x161)](_0x2f4f79);})[_0xd8c74b(0x157)](()=>_0x2d8816());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x47fba3=a11_0x5e96;(function(_0x23e13d,_0x2f6a02){const _0x3372f0=a11_0x5e96,_0x26e34d=_0x23e13d();while(!![]){try{const _0x2877e8=parseInt(_0x3372f0(0x1c0))/0x1*(-parseInt(_0x3372f0(0x1b8))/0x2)+-parseInt(_0x3372f0(0x1b9))/0x3*(-parseInt(_0x3372f0(0x1c4))/0x4)+parseInt(_0x3372f0(0x1c3))/0x5+parseInt(_0x3372f0(0x1bb))/0x6+-parseInt(_0x3372f0(0x1c1))/0x7*(-parseInt(_0x3372f0(0x1b6))/0x8)+-parseInt(_0x3372f0(0x1b7))/0x9*(parseInt(_0x3372f0(0x1bc))/0xa)+-parseInt(_0x3372f0(0x1be))/0xb;if(_0x2877e8===_0x2f6a02)break;else _0x26e34d['push'](_0x26e34d['shift']());}catch(_0x5d842d){_0x26e34d['push'](_0x26e34d['shift']());}}}(a11_0x31bc,0x8a7ae));function a11_0x5e96(_0x924d03,_0x3b5d2f){const _0x31bc45=a11_0x31bc();return a11_0x5e96=function(_0x5e962b,_0x4f940a){_0x5e962b=_0x5e962b-0x1b4;let _0x1bb024=_0x31bc45[_0x5e962b];return _0x1bb024;},a11_0x5e96(_0x924d03,_0x3b5d2f);}function a11_0x31bc(){const _0x385782=['1528646TYmtVw','cucumber/lib/index.js','3265415nnQtlK','16JFiFWO','@cucumber/cucumber/lib/index.js','../../helpers/helper','BSTACK_DELTA','40gBkAwl','100512AjUrwq','63538vNRxZH','292833CZXuBj','cucumber','4230144Rhmylg','370jxxvXp','../utils/constants','13820400hoBvRL','@cucumber/cucumber','19PKZlgC'];a11_0x31bc=function(){return _0x385782;};return a11_0x31bc();}const {requireModule}=require(a11_0x47fba3(0x1b4)),constants=require(a11_0x47fba3(0x1bd));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x47fba3(0x1c5),a11_0x47fba3(0x1bf));}catch(a11_0x1ed1c0){cucumberModule=requireModule(a11_0x47fba3(0x1c2),a11_0x47fba3(0x1ba));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule['setDefaultTimeout'](constants[a11_0x47fba3(0x1b5)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x2ccaf5=a12_0x25fe;(function(_0x14e505,_0x2c3e3e){const _0x16878b=a12_0x25fe,_0x59a8ae=_0x14e505();while(!![]){try{const _0x4a93f9=-parseInt(_0x16878b(0x190))/0x1*(parseInt(_0x16878b(0x1ab))/0x2)+-parseInt(_0x16878b(0x1b0))/0x3+parseInt(_0x16878b(0x1ba))/0x4+parseInt(_0x16878b(0x199))/0x5*(-parseInt(_0x16878b(0x1a8))/0x6)+-parseInt(_0x16878b(0x186))/0x7+-parseInt(_0x16878b(0x1a3))/0x8*(parseInt(_0x16878b(0x197))/0x9)+-parseInt(_0x16878b(0x17b))/0xa*(-parseInt(_0x16878b(0x1b9))/0xb);if(_0x4a93f9===_0x2c3e3e)break;else _0x59a8ae['push'](_0x59a8ae['shift']());}catch(_0x53bece){_0x59a8ae['push'](_0x59a8ae['shift']());}}}(a12_0x5ef3,0xeb46a));function a12_0x25fe(_0xbd3897,_0x592295){const _0x5ef361=a12_0x5ef3();return a12_0x25fe=function(_0x25fe9c,_0x11a7bf){_0x25fe9c=_0x25fe9c-0x178;let _0x546f04=_0x5ef361[_0x25fe9c];return _0x546f04;},a12_0x25fe(_0xbd3897,_0x592295);}const {default:BrowserStackSetup}=require(a12_0x2ccaf5(0x178)),logger=require(a12_0x2ccaf5(0x1b6))['winstonLogger'],{URL}=require(a12_0x2ccaf5(0x193)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x2ccaf5(0x1a6)),validHosts=function(_0xd8d46b){const _0xc10cc=a12_0x2ccaf5;return _0xd8d46b[_0xc10cc(0x1af)](',')[_0xc10cc(0x184)](_0x3ef0da=>{const _0xc7fe3a=_0xc10cc;try{new URL(_0x3ef0da[_0xc7fe3a(0x1b8)]());}catch(_0x158702){return![];}return!![];});},parseOnPremHosts=function(_0x4c60c4){const _0x5575a6=a12_0x2ccaf5,_0x3b8d58={};_0x3b8d58[_0x5575a6(0x17a)]=function(_0x10fcf5,_0x3a952c){return _0x10fcf5===_0x3a952c;},_0x3b8d58[_0x5575a6(0x18e)]='https:',_0x3b8d58[_0x5575a6(0x19d)]=_0x5575a6(0x181),_0x3b8d58[_0x5575a6(0x1a4)]='https';const _0x1066db=_0x3b8d58;return _0x4c60c4[_0x5575a6(0x1af)](',')['map'](_0x336093=>{const _0x249baa=_0x5575a6,_0x1e90eb=new URL(_0x336093[_0x249baa(0x1b8)]()),_0x31dba8=_0x1e90eb['hostname'],_0x361eb0=_0x1e90eb['port']||(_0x1066db['YYerc'](_0x1e90eb[_0x249baa(0x17d)],_0x1066db['mZEUA'])?_0x1066db[_0x249baa(0x19d)]:'80'),_0x5916c4=_0x1e90eb[_0x249baa(0x17d)]['replace'](':',''),_0x1a7c77=_0x1066db[_0x249baa(0x17a)](_0x5916c4,_0x1066db[_0x249baa(0x1a4)])?0x1:0x0;return _0x31dba8+','+_0x361eb0+','+_0x1a7c77;});},connectCommandBuilder=function(_0x5a19d5){const _0x2abaf8=a12_0x2ccaf5,_0x397f45={};_0x397f45[_0x2abaf8(0x180)]=_0x2abaf8(0x19e);const _0xb654db=_0x397f45,_0x2241c6={};_0x2241c6[_0x2abaf8(0x183)]=HELP_MESSAGES[_0x2abaf8(0x187)]['bstackAccessKey'],_0x2241c6[_0x2abaf8(0x1b5)]=_0xb654db['sjQvx'];const _0x246c06={};_0x246c06[_0x2abaf8(0x183)]=HELP_MESSAGES[_0x2abaf8(0x187)][_0x2abaf8(0x19c)],_0x246c06[_0x2abaf8(0x1b5)]=_0xb654db[_0x2abaf8(0x180)],_0x246c06[_0x2abaf8(0x1aa)]=!![];const _0x5c3b17={};return _0x5c3b17[_0x2abaf8(0x18b)]=_0x2241c6,_0x5c3b17[_0x2abaf8(0x19c)]=_0x246c06,_0x5a19d5[_0x2abaf8(0x187)](_0x5c3b17);},connectCommandHandler=async function(_0xed7aab){const _0x158031=a12_0x2ccaf5,_0x8dd7a8={'cvkLb':_0x158031(0x1a0),'otRXZ':function(_0x4d34dd,_0x1b07eb){return _0x4d34dd===_0x1b07eb;},'GMbeA':'undefined','uaBbx':_0x158031(0x19f),'AMFai':_0x158031(0x18f),'PSQkg':function(_0x529e58,_0x2760a9){return _0x529e58(_0x2760a9);},'zgTUh':_0x158031(0x17f),'ZZKiL':_0x158031(0x1a5),'BbTGE':_0x158031(0x1b3),'fxqQQ':_0x158031(0x189)};try{const _0x447846=new BrowserStackSetup(_0xed7aab,_0x8dd7a8[_0x158031(0x1b1)]);_0xed7aab[_0x158031(0x1a9)]&&(_0x447846[_0x158031(0x191)][_0x158031(0x1ad)]=_0xed7aab[_0x158031(0x1a9)]);if(_0x8dd7a8['otRXZ'](typeof _0x447846[_0x158031(0x191)][_0x158031(0x1ad)],_0x8dd7a8[_0x158031(0x1a2)])){logger[_0x158031(0x17c)](_0x8dd7a8['uaBbx']);throw new Error(ERROR_MESSAGES[_0x158031(0x179)][_0x158031(0x1b4)]);}const _0x594f26=_0xed7aab[_0x158031(0x19c)];if(_0x8dd7a8[_0x158031(0x18d)](typeof _0x594f26,_0x8dd7a8['GMbeA'])){logger[_0x158031(0x17c)](_0x8dd7a8[_0x158031(0x18a)]);throw new Error(ERROR_MESSAGES[_0x158031(0x19c)]['missing']);}if(!_0x8dd7a8[_0x158031(0x1b7)](validHosts,_0x594f26)){logger[_0x158031(0x17c)](_0x8dd7a8[_0x158031(0x17e)]);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x81ad72=_0x8dd7a8[_0x158031(0x1b7)](parseOnPremHosts,_0x594f26);_0x447846[_0x158031(0x191)][_0x158031(0x1bb)]=!![],_0x447846['config']['browserStackLocalOptions'][_0x158031(0x182)]=_0x8dd7a8[_0x158031(0x1ae)],_0x447846[_0x158031(0x191)]['browserStackLocalOptions'][_0x158031(0x198)]=_0x81ad72['join'](','),helper[_0x158031(0x192)](_0x447846[_0x158031(0x191)]),await _0x447846[_0x158031(0x18c)](),logger[_0x158031(0x1ac)](_0x8dd7a8['BbTGE']);}catch(_0x5d8fce){logger['error'](_0x8dd7a8['fxqQQ']);throw new Error(_0x5d8fce[_0x158031(0x19a)]());}};function run(_0x4201b4){const _0x131174=a12_0x2ccaf5,_0x13aff6={};_0x13aff6[_0x131174(0x188)]='connect',_0x13aff6[_0x131174(0x196)]=_0x131174(0x194);const _0x27df95=_0x13aff6;_0x4201b4['usage'](HELP_MESSAGES[_0x131174(0x1a7)][_0x131174(0x185)])[_0x131174(0x1a7)](_0x27df95[_0x131174(0x188)],HELP_MESSAGES[_0x131174(0x1a7)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x131174(0x19b)]()[_0x131174(0x194)](_0x27df95[_0x131174(0x196)])[_0x131174(0x1a1)](HELP_MESSAGES[_0x131174(0x1a7)][_0x131174(0x1b2)]);}function a12_0x5ef3(){const _0x1e9c91=['root','6951056ddDFdz','options','uHPAR','Failed\x20to\x20establish\x20connection.','AMFai','bstack-accesskey','setupBrowserstackLocal','otRXZ','mZEUA','Integration\x20hosts\x20missing.','1ZaRdSP','config','setProxySettings','url','help','exports','nXJAF','6948LqDNQQ','only','17070mTmnah','toString','demandCommand','hosts','Mlngj','string','BrowserStack\x20access\x20key\x20missing.','integrations','epilogue','GMbeA','19968jdeJqk','SshMZ','integrations-repeater','./constants','command','1524nFrfRl','bstackAccesskey','demandOption','3730774Cqsnct','info','accessKey','ZZKiL','split','1747791PyyNVo','cvkLb','footer','Connection\x20established\x20successfully.','missing','type','../../helpers/logger','PSQkg','trim','351703yfvFDn','3472384MQTcvv','browserstackLocal','../../helpers/BrowserStackSetup','bstackAccessKey','YYerc','1980OseaCT','error','protocol','zgTUh','Hosts\x20not\x20valid','sjQvx','443','localIdentifier','describe','every'];a12_0x5ef3=function(){return _0x1e9c91;};return a12_0x5ef3();}module[a12_0x2ccaf5(0x195)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a13_0x191f(){var _0x5941fb=['options','24015088Vjnatf','bstackAccessKey','invalid','ERROR_MESSAGES','command','546kAvlSd','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','missing','2317845sbwmeF','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','1617524EjhUZG','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','822003snudzd','16366sMfVxL','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.','HELP_MESSAGES','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','connect','hosts','root','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','3855070Qggtyr','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','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.','1748200TjSfqW'];a13_0x191f=function(){return _0x5941fb;};return a13_0x191f();}var a13_0x1bfddb=a13_0x1170;(function(_0x4c0e68,_0x59623d){var _0x4a70c9=a13_0x1170,_0x9c14d3=_0x4c0e68();while(!![]){try{var _0x313881=-parseInt(_0x4a70c9(0x19a))/0x1+-parseInt(_0x4a70c9(0x198))/0x2+-parseInt(_0x4a70c9(0x196))/0x3+parseInt(_0x4a70c9(0x18c))/0x4+-parseInt(_0x4a70c9(0x189))/0x5+-parseInt(_0x4a70c9(0x193))/0x6*(-parseInt(_0x4a70c9(0x19b))/0x7)+parseInt(_0x4a70c9(0x18e))/0x8;if(_0x313881===_0x59623d)break;else _0x9c14d3['push'](_0x9c14d3['shift']());}catch(_0x400d0f){_0x9c14d3['push'](_0x9c14d3['shift']());}}}(a13_0x191f,0x74874));var a13_0x1bffcf={};a13_0x1bffcf[a13_0x1bfddb(0x18f)]=a13_0x1bfddb(0x1a2),a13_0x1bffcf[a13_0x1bfddb(0x1a0)]=a13_0x1bfddb(0x19c);var a13_0xb301e0={};a13_0xb301e0[a13_0x1bfddb(0x1a1)]=a13_0x1bfddb(0x194),a13_0xb301e0[a13_0x1bfddb(0x19f)]=a13_0x1bfddb(0x197),a13_0xb301e0['footer']=a13_0x1bfddb(0x18a);var a13_0x355cef={};a13_0x355cef[a13_0x1bfddb(0x18d)]=a13_0x1bffcf,a13_0x355cef[a13_0x1bfddb(0x192)]=a13_0xb301e0,exports[a13_0x1bfddb(0x19d)]=a13_0x355cef;var a13_0x1092c1={};a13_0x1092c1[a13_0x1bfddb(0x195)]=a13_0x1bfddb(0x199);var a13_0x2d8dd5={};a13_0x2d8dd5[a13_0x1bfddb(0x195)]=a13_0x1bfddb(0x19e),a13_0x2d8dd5[a13_0x1bfddb(0x190)]=a13_0x1bfddb(0x18b);function a13_0x1170(_0x4c2944,_0x195115){var _0x191f05=a13_0x191f();return a13_0x1170=function(_0x1170f4,_0x4587bd){_0x1170f4=_0x1170f4-0x189;var _0x3886d4=_0x191f05[_0x1170f4];return _0x3886d4;},a13_0x1170(_0x4c2944,_0x195115);}var a13_0x41937d={};a13_0x41937d[a13_0x1bfddb(0x18f)]=a13_0x1092c1,a13_0x41937d[a13_0x1bfddb(0x1a0)]=a13_0x2d8dd5,exports[a13_0x1bfddb(0x191)]=a13_0x41937d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a14_0x5dd7(_0x4cb90e,_0x162989){const _0x313b74=a14_0x313b();return a14_0x5dd7=function(_0x5dd747,_0x402b9e){_0x5dd747=_0x5dd747-0x1b7;let _0x2dd06a=_0x313b74[_0x5dd747];return _0x2dd06a;},a14_0x5dd7(_0x4cb90e,_0x162989);}function a14_0x313b(){const _0x1299f5=['_resolveFilePath','JASMINE','pending','TestRunFinished','push','KPaml','eyKVF','iOTWn','slice','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','wtRqm','oQxRp','failure','config','get','_suitesById','oyGXd','specDone','stack','hozNX','_findGitConfig','Eevpq','excluded','filename','tHxYg','match','4408308aVtNYH','started_at','_paths','WzeTx','cIqof','backtrace','GVHPy','Exception\x20in\x20jasmine\x20specDone\x20for\x20','PTPDO','expanded','delete','22851GMqrmG','iJMhK','748293ufeKMj','passed','length','pgPVr','xmQME','rvZmx','../../../helpers/test-observability/utils','hpSGh','TestRunSkipped','ZwIug','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','9533867uqPpFr','pNVAI','\x20:\x20','failedExpectations','relative','5cmIyqs','svLJH','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','lckge','path','_fileNameByFullName','dirname','endsWith','Aqans','description','rbAHZ','PLeoz','UnhandledError','../../../helpers/test-observability/sessionHandler','failure_reason_expanded','bwDgx','exports','../../../helpers/test-observability/constants','set','Spec\x20failed','specStarted','actual','TestRunStarted','fileNameByFullName','has','DqzCQ','message','uuid','8684640osrtbO','File\x20path\x20could\x20not\x20be\x20found','MiNKG','uploadEventData','frfeh','lvHYc','sep','javascript','gOyFw','parentSuiteId','2472698wZFhIt','JzLTs','riavP','zFKeb','_collapseFailedExpectations','VCfPs','CBCOh','appendTesthubParams','matcherName','suiteDone','statSync','code','HCLam','shouldProcessEventForTesthub','dJbtk','_sendSpecEvent','skipped','RQmTi','_scopes','5533192MmXNxY','failed','4504fxSMKS','sAaST','add','remove','expected','keys','xInUp','testObservability','VTViD','../testRunMap','lang','OSiEg','iwbUo','fullName','split','bCGFa','duration','prefixTestPath','err'];a14_0x313b=function(){return _0x1299f5;};return a14_0x313b();}const a14_0x28a5af=a14_0x5dd7;(function(_0x586d9b,_0x2d8851){const _0x208674=a14_0x5dd7,_0x617428=_0x586d9b();while(!![]){try{const _0x2860b9=parseInt(_0x208674(0x1d7))/0x1+-parseInt(_0x208674(0x20d))/0x2+-parseInt(_0x208674(0x1ca))/0x3+-parseInt(_0x208674(0x220))/0x4*(-parseInt(_0x208674(0x1e7))/0x5)+-parseInt(_0x208674(0x203))/0x6+parseInt(_0x208674(0x1e2))/0x7+parseInt(_0x208674(0x222))/0x8*(parseInt(_0x208674(0x1d5))/0x9);if(_0x2860b9===_0x2d8851)break;else _0x617428['push'](_0x617428['shift']());}catch(_0x3a8f1c){_0x617428['push'](_0x617428['shift']());}}}(a14_0x313b,0xbbf0c));const path=require(a14_0x28a5af(0x1eb)),fs=require('fs'),{v4:uuidv4}=require(a14_0x28a5af(0x202)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x28a5af(0x1f8)),SessionHandler=require(a14_0x28a5af(0x1f4)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x28a5af(0x1dd)),testRunMap=require(a14_0x28a5af(0x22b)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a14_0x1b2ab5={};a14_0x1b2ab5[a14_0x28a5af(0x1d8)]=a14_0x28a5af(0x1d8),a14_0x1b2ab5[a14_0x28a5af(0x221)]=a14_0x28a5af(0x221),a14_0x1b2ab5['pending']=a14_0x28a5af(0x237),a14_0x1b2ab5[a14_0x28a5af(0x1c6)]=a14_0x28a5af(0x21d);const STATUS_MAP=a14_0x1b2ab5;class BrowserStackJasmineReporter{constructor(_0x2eb35e={}){const _0x36943a=a14_0x28a5af,_0x28ba16={'qoUEo':function(_0x53109c){return _0x53109c();}};this[_0x36943a(0x229)]=_0x28ba16['qoUEo'](isTestObservabilitySession),this[_0x36943a(0x1cc)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x36943a(0x1ec)]=_0x2eb35e&&_0x2eb35e[_0x36943a(0x1fe)]||{},this[_0x36943a(0x1bf)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x3bc518){const _0x4dbb77=a14_0x28a5af,_0x511940={'rvZmx':function(_0x2edc1e,_0x2c5aef){return _0x2edc1e!==_0x2c5aef;},'oyGXd':function(_0x26aa26,_0x1a0b4c){return _0x26aa26(_0x1a0b4c);}};try{_0x3bc518&&_0x511940[_0x4dbb77(0x1dc)](_0x3bc518['id'],undefined)&&_0x511940[_0x4dbb77(0x1dc)](_0x3bc518['id'],null)&&this['_suitesById'][_0x4dbb77(0x1f9)](_0x3bc518['id'],{'description':_0x3bc518[_0x4dbb77(0x1f0)],'parentSuiteId':_0x3bc518[_0x4dbb77(0x20c)]});}catch(_0x1ed2a1){_0x511940[_0x4dbb77(0x1c0)](debug,_0x4dbb77(0x1e1)+(_0x3bc518&&_0x3bc518[_0x4dbb77(0x22f)])+'\x20:\x20'+_0x1ed2a1);}}[a14_0x28a5af(0x1fb)](_0x231465){const _0x284a67=a14_0x28a5af,_0x53476e={'pNVAI':function(_0x2f929e,_0x15a0bb){return _0x2f929e!==_0x15a0bb;},'OSiEg':function(_0xb63518){return _0xb63518();},'RQmTi':_0x284a67(0x1fd),'xInUp':function(_0x48dc14,_0xb4d865){return _0x48dc14(_0xb4d865);}};try{if(_0x53476e[_0x284a67(0x1e3)](testhubUtils[_0x284a67(0x21a)](),!![]))return;const _0x228650=_0x53476e[_0x284a67(0x22d)](uuidv4);testRunMap['set'](_0x231465['id'],_0x228650),this[_0x284a67(0x21c)](_0x231465,_0x228650,_0x53476e[_0x284a67(0x21e)]);}catch(_0x50b293){_0x53476e[_0x284a67(0x228)](debug,_0x284a67(0x1b9)+(_0x231465&&_0x231465[_0x284a67(0x22f)])+_0x284a67(0x1e4)+_0x50b293);}}[a14_0x28a5af(0x1c1)](_0xf7b0ef){const _0x54209d=a14_0x28a5af,_0x1f0e72={'xmQME':function(_0x3494e9,_0x58252d){return _0x3494e9!==_0x58252d;},'DqzCQ':function(_0x749ed0){return _0x749ed0();},'bCGFa':function(_0x155873,_0x420d73){return _0x155873===_0x420d73;},'frfeh':'excluded','mkdbW':_0x54209d(0x1df),'hkBLx':_0x54209d(0x238),'lvHYc':function(_0xb37ccb,_0x9baef7){return _0xb37ccb(_0x9baef7);}};try{if(_0x1f0e72[_0x54209d(0x1db)](testhubUtils[_0x54209d(0x21a)](),!![]))return;const _0xb76331=testRunMap['get'](_0xf7b0ef['id'])||_0x1f0e72[_0x54209d(0x200)](uuidv4),_0x4e4a9e=_0x1f0e72[_0x54209d(0x231)](_0xf7b0ef['status'],_0x1f0e72[_0x54209d(0x207)])?_0x1f0e72['mkdbW']:_0x1f0e72['hkBLx'];this[_0x54209d(0x21c)](_0xf7b0ef,_0xb76331,_0x4e4a9e);}catch(_0x4a59ff){_0x1f0e72[_0x54209d(0x208)](debug,_0x54209d(0x1d1)+(_0xf7b0ef&&_0xf7b0ef[_0x54209d(0x22f)])+_0x54209d(0x1e4)+_0x4a59ff);}finally{_0xf7b0ef&&(testRunMap[_0x54209d(0x225)](_0xf7b0ef['id']),_specStartTimes[_0x54209d(0x1d4)](_0xf7b0ef['id']));}}[a14_0x28a5af(0x216)](){}['jasmineDone'](){}['_sendSpecEvent'](_0x30286e,_0x1f3e1b,_0x221fb1){const _0x291f52=a14_0x28a5af,_0x2de9f1={'PTPDO':function(_0x336354,_0x3aefb0){return _0x336354===_0x3aefb0;},'Aqans':_0x291f52(0x238),'WzeTx':_0x291f52(0x1df),'CBCOh':_0x291f52(0x204),'dJbtk':function(_0x56e492,_0xedd119,_0x547b8b){return _0x56e492(_0xedd119,_0x547b8b);},'pgPVr':_0x291f52(0x234),'MiNKG':_0x291f52(0x1fd),'eyKVF':function(_0xd95bd,_0x2369b3){return _0xd95bd!==_0x2369b3;},'VTViD':_0x291f52(0x20a),'Eevpq':function(_0xa30aa2,_0xf379aa){return _0xa30aa2&&_0xf379aa;},'oQxRp':_0x291f52(0x21d),'iwbUo':_0x291f52(0x1d8),'iJMhK':function(_0x175828,_0x187c51){return _0x175828===_0x187c51;},'zScsK':'number','KPaml':'AssertionError','svLJH':_0x291f52(0x1f3),'fIEmm':function(_0x487358,_0x3bc414){return _0x487358===_0x3bc414;},'zFKeb':_0x291f52(0x1cb),'hozNX':'finished_at','hpSGh':_0x291f52(0x1bc),'rbAHZ':'failure_backtrace','CEKmN':_0x291f52(0x1cf),'HWFcC':_0x291f52(0x1f5),'GVHPy':_0x291f52(0x1d3),'riavP':function(_0xe8eb8f,_0x17a177){return _0xe8eb8f===_0x17a177;},'lckge':function(_0x585b1a,_0x56b2b4){return _0x585b1a(_0x56b2b4);}};try{const _0x3c5b6e=_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x1ef)])||_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x1cd)]),_0x512528=this[_0x291f52(0x235)](_0x30286e),_0x1cf4ea=_0x512528?this[_0x291f52(0x1cc)][_0x291f52(0x233)](_0x512528):_0x2de9f1[_0x291f52(0x213)],_0x28201e=_0x512528?this['_findGitConfig'](path[_0x291f52(0x1ed)](_0x512528)):null,_0x1082a6=this['_collapseFailedExpectations'](_0x30286e[_0x291f52(0x1e5)]),_0x2dfc2f=_0x1082a6?_0x1082a6[_0x291f52(0x201)]:undefined,_0x5d08b7=_0x1082a6?_0x2de9f1[_0x291f52(0x21b)](failureData,_0x1082a6,_0x2de9f1[_0x291f52(0x1da)]):[],_0x3bc6d0=new Date()['toISOString'](),_0x2f7b26=this[_0x291f52(0x21f)](_0x30286e);_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x205)])&&_0x30286e&&_0x2de9f1[_0x291f52(0x23b)](_0x30286e['id'],undefined)&&_0x2de9f1['eyKVF'](_0x30286e['id'],null)&&_specStartTimes[_0x291f52(0x1f9)](_0x30286e['id'],_0x3bc6d0);const _0x4cef1c=_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x205)])?_0x3bc6d0:_0x30286e&&_specStartTimes[_0x291f52(0x1be)](_0x30286e['id'])||null,_0x2ead7c={};_0x2ead7c[_0x291f52(0x22c)]=_0x2de9f1[_0x291f52(0x22a)],_0x2ead7c[_0x291f52(0x218)]=null;const _0x4e5289={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1f3e1b,'name':_0x30286e['description'],'body':_0x2ead7c,'scope':_0x2f7b26['join']('\x20'),'scopes':_0x2f7b26,'identifier':_0x30286e[_0x291f52(0x22f)],'file_name':_0x1cf4ea,'vc_filepath':_0x2de9f1[_0x291f52(0x1c5)](_0x28201e,_0x512528)?path[_0x291f52(0x1e6)](_0x28201e,_0x512528):null,'location':_0x1cf4ea,'result':_0x2de9f1['PTPDO'](_0x221fb1,_0x2de9f1['WzeTx'])?_0x2de9f1[_0x291f52(0x1bb)]:STATUS_MAP[_0x30286e['status']]||_0x2de9f1[_0x291f52(0x22e)],'failure_reason':_0x2dfc2f,'duration_in_ms':_0x2de9f1[_0x291f52(0x1d6)](typeof _0x30286e[_0x291f52(0x232)],_0x2de9f1['zScsK'])?_0x30286e[_0x291f52(0x232)]:null,'started_at':_0x4cef1c,'finished_at':_0x3c5b6e?_0x3bc6d0:null,'failure':_0x5d08b7,'failure_type':!_0x2dfc2f?null:_0x2dfc2f[_0x291f52(0x1c9)](/AssertionError/)?_0x2de9f1[_0x291f52(0x23a)]:_0x2de9f1[_0x291f52(0x1e8)],'retry_of':null};_0x2de9f1['fIEmm'](_0x221fb1,_0x2de9f1[_0x291f52(0x1cd)])&&!_0x4e5289[_0x2de9f1[_0x291f52(0x210)]]&&(_0x4e5289[_0x2de9f1[_0x291f52(0x210)]]=_0x4e5289[_0x2de9f1[_0x291f52(0x1c3)]]);const _0x189e54=_0x4e5289[_0x2de9f1[_0x291f52(0x1de)]][0x0];_0x189e54&&(_0x4e5289[_0x2de9f1[_0x291f52(0x1f1)]]=_0x189e54[_0x2de9f1['CEKmN']],_0x4e5289[_0x2de9f1['HWFcC']]=_0x189e54[_0x2de9f1[_0x291f52(0x1d0)]]);testhubUtils[_0x291f52(0x214)](_0x4e5289,_0x221fb1,_0x30286e,FRAMEWORKS[_0x291f52(0x236)]);const _0x447a68={'event_type':_0x2de9f1[_0x291f52(0x20f)](_0x221fb1,_0x2de9f1['WzeTx'])?_0x2de9f1[_0x291f52(0x1ef)]:_0x221fb1,'test_run':_0x4e5289};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x291f52(0x236)],_0x447a68),SessionHandler[_0x291f52(0x206)](_0x447a68);}catch(_0x1aceb9){_0x2de9f1[_0x291f52(0x1ea)](debug,_0x291f52(0x1e9)+_0x221fb1+_0x291f52(0x1e4)+_0x1aceb9);}}[a14_0x28a5af(0x21f)](_0x509d60){const _0x4ac000=a14_0x28a5af,_0xa3efdf={'wtRqm':function(_0x2df009,_0x2448d4){return _0x2df009!==_0x2448d4;},'bwDgx':function(_0x4a9138,_0x432cf7){return _0x4a9138!==_0x432cf7;},'cTuXM':function(_0x23085e,_0x5274b5){return _0x23085e>_0x5274b5;},'JzLTs':function(_0x1fd883,_0x2fe010){return _0x1fd883(_0x2fe010);},'HCLam':function(_0x55eb95,_0x40228b){return _0x55eb95-_0x40228b;}};try{const _0x4427da=[];let _0x491ba5=_0x509d60&&_0x509d60[_0x4ac000(0x20c)];const _0x2bc1a9=new Set();while(_0xa3efdf[_0x4ac000(0x1ba)](_0x491ba5,undefined)&&_0xa3efdf[_0x4ac000(0x1f6)](_0x491ba5,null)&&this[_0x4ac000(0x1bf)][_0x4ac000(0x1ff)](_0x491ba5)&&!_0x2bc1a9['has'](_0x491ba5)){_0x2bc1a9[_0x4ac000(0x224)](_0x491ba5);const _0x453ae7=this[_0x4ac000(0x1bf)][_0x4ac000(0x1be)](_0x491ba5);_0x453ae7&&_0x453ae7['description']&&_0x4427da['push'](_0x453ae7[_0x4ac000(0x1f0)]),_0x491ba5=_0x453ae7?_0x453ae7[_0x4ac000(0x20c)]:null;}if(_0xa3efdf['cTuXM'](_0x4427da['length'],0x0))return _0x4427da['reverse']();}catch(_0x495307){_0xa3efdf[_0x4ac000(0x20e)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x509d60&&_0x509d60[_0x4ac000(0x22f)])+_0x4ac000(0x1e4)+_0x495307);}const _0xcd6613=_0x509d60&&_0x509d60[_0x4ac000(0x22f)]||'',_0x1318e2=_0x509d60&&_0x509d60[_0x4ac000(0x1f0)]||'';let _0x527f1b=_0xcd6613;return _0x1318e2&&_0xcd6613[_0x4ac000(0x1ee)](_0x1318e2)&&(_0x527f1b=_0xcd6613[_0x4ac000(0x1b8)](0x0,_0xa3efdf[_0x4ac000(0x219)](_0xcd6613[_0x4ac000(0x1d9)],_0x1318e2[_0x4ac000(0x1d9)]))['trim']()),_0x527f1b?_0x527f1b[_0x4ac000(0x230)](/\s+/):[];}[a14_0x28a5af(0x235)](_0x2d5fe8){const _0x12708f=a14_0x28a5af,_0x1c75c3={};_0x1c75c3[_0x12708f(0x1f2)]=function(_0x132bd4,_0x39868e){return _0x132bd4===_0x39868e;},_0x1c75c3[_0x12708f(0x1e0)]=function(_0x5c5de8,_0x50af36){return _0x5c5de8+_0x50af36;},_0x1c75c3[_0x12708f(0x1c8)]=function(_0x585f76,_0x471ebf){return _0x585f76>_0x471ebf;};const _0x40006b=_0x1c75c3;if(_0x2d5fe8&&_0x2d5fe8['filename'])return _0x2d5fe8[_0x12708f(0x1c7)];if(_0x2d5fe8&&_0x2d5fe8[_0x12708f(0x22f)]){if(this[_0x12708f(0x1ec)][_0x2d5fe8[_0x12708f(0x22f)]])return this[_0x12708f(0x1ec)][_0x2d5fe8[_0x12708f(0x22f)]];let _0x4e5bdd=null,_0x55c4ea=-0x1;for(const _0x2850e5 of Object[_0x12708f(0x227)](this['_fileNameByFullName'])){(_0x40006b[_0x12708f(0x1f2)](_0x2d5fe8[_0x12708f(0x22f)],_0x2850e5)||_0x2d5fe8[_0x12708f(0x22f)]['startsWith'](_0x40006b[_0x12708f(0x1e0)](_0x2850e5,'\x20')))&&_0x40006b[_0x12708f(0x1c8)](_0x2850e5['length'],_0x55c4ea)&&(_0x4e5bdd=this['_fileNameByFullName'][_0x2850e5],_0x55c4ea=_0x2850e5[_0x12708f(0x1d9)]);}if(_0x4e5bdd)return _0x4e5bdd;}return null;}[a14_0x28a5af(0x211)](_0x3db275){const _0x15a1e0=a14_0x28a5af,_0x587264={};_0x587264['iOTWn']=function(_0x3ce2be,_0x51d237){return _0x3ce2be===_0x51d237;},_0x587264['gOHcn']=_0x15a1e0(0x1fa);const _0x23c2bc=_0x587264;if(!Array['isArray'](_0x3db275)||_0x23c2bc[_0x15a1e0(0x1b7)](_0x3db275[_0x15a1e0(0x1d9)],0x0))return undefined;const _0x349838=[],_0x3199db=[];for(const _0xbed260 of _0x3db275){_0xbed260&&_0xbed260[_0x15a1e0(0x201)]&&_0x349838['push'](_0xbed260[_0x15a1e0(0x201)]),_0xbed260&&_0xbed260['stack']&&_0x3199db[_0x15a1e0(0x239)](_0xbed260[_0x15a1e0(0x1c2)]);}const _0x2718a9=_0x3db275[0x0]||{},_0x3b1637=_0x349838['join']('\x0a')||_0x2718a9[_0x15a1e0(0x201)]||_0x23c2bc['gOHcn'],_0x2626e8=_0x3199db['join']('\x0a\x0a')||_0x2718a9[_0x15a1e0(0x1c2)]||_0x3b1637,_0x4285af={};return _0x4285af[_0x15a1e0(0x201)]=_0x3b1637,_0x4285af[_0x15a1e0(0x1c2)]=_0x2626e8,_0x4285af[_0x15a1e0(0x215)]=_0x2718a9[_0x15a1e0(0x215)],_0x4285af[_0x15a1e0(0x226)]=_0x2718a9['expected'],_0x4285af[_0x15a1e0(0x1fc)]=_0x2718a9[_0x15a1e0(0x1fc)],_0x4285af;}[a14_0x28a5af(0x1c4)](_0x371ff8){const _0x5e40f6=a14_0x28a5af,_0x24204a={};_0x24204a[_0x5e40f6(0x212)]=function(_0xbb80f5,_0x472d99){return _0xbb80f5===_0x472d99;},_0x24204a['gOyFw']=function(_0x3c44e2,_0x4e0795){return _0x3c44e2===_0x4e0795;},_0x24204a[_0x5e40f6(0x223)]='.git',_0x24204a['cIqof']=_0x5e40f6(0x1bd);const _0x2e1420=_0x24204a,_0x1dadf8=path[_0x5e40f6(0x209)];if(_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,null)||_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,'')||_0x2e1420[_0x5e40f6(0x20b)](_0x371ff8,_0x1dadf8)||_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,path[_0x5e40f6(0x1ed)](_0x371ff8)))return null;try{return fs[_0x5e40f6(0x217)](path['join'](_0x371ff8,_0x2e1420[_0x5e40f6(0x223)],_0x2e1420[_0x5e40f6(0x1ce)])),_0x371ff8;}catch(_0x52ab44){return this[_0x5e40f6(0x1c4)](path[_0x5e40f6(0x1ed)](_0x371ff8));}}}module[a14_0x28a5af(0x1f7)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';function a14_0x6a02(_0x42d596,_0x53a2e0){const _0x3353be=a14_0x3353();return a14_0x6a02=function(_0x6a0206,_0x879de3){_0x6a0206=_0x6a0206-0xe5;let _0x44418f=_0x3353be[_0x6a0206];return _0x44418f;},a14_0x6a02(_0x42d596,_0x53a2e0);}const a14_0x2528df=a14_0x6a02;(function(_0x7d3eb1,_0x343d55){const _0x142086=a14_0x6a02,_0x714602=_0x7d3eb1();while(!![]){try{const _0x1e31bc=parseInt(_0x142086(0x120))/0x1*(-parseInt(_0x142086(0xfe))/0x2)+parseInt(_0x142086(0x123))/0x3+-parseInt(_0x142086(0x104))/0x4+parseInt(_0x142086(0xf0))/0x5*(parseInt(_0x142086(0xf5))/0x6)+-parseInt(_0x142086(0x133))/0x7*(-parseInt(_0x142086(0xf7))/0x8)+-parseInt(_0x142086(0x164))/0x9*(parseInt(_0x142086(0x105))/0xa)+parseInt(_0x142086(0xe6))/0xb;if(_0x1e31bc===_0x343d55)break;else _0x714602['push'](_0x714602['shift']());}catch(_0x5a96e0){_0x714602['push'](_0x714602['shift']());}}}(a14_0x3353,0xc3e9c));const path=require(a14_0x2528df(0x121)),fs=require('fs'),{v4:uuidv4}=require(a14_0x2528df(0xea)),testhubUtils=require(a14_0x2528df(0x124)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x2528df(0x12d)),testRunMap=require(a14_0x2528df(0x161)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x2528df(0x128),a14_0xff6b03={};function a14_0x3353(){const _0x22dd3d=['failure','pSfvN','get','shouldProcessEventForTesthub','AnHPp','7VPGEIR','WRoGn','specStarted','backtrace','match','duration','UnhandledError','remove','QSLWJ','\x20:\x20','ywEee','vvEwa','JXjmw','specDone','AssertionError','yqDeO','statSync','failed','err','atHWM','JASMINE','Vmbks','message','winVU','config','pending','dirname','delete','towIW','isArray','has','Exception\x20in\x20jasmine\x20specDone\x20for\x20','code','MTUoT','prefixTestPath','set','endsWith','.git','UCyOP','suiteStarted','TLCJN','File\x20path\x20could\x20not\x20be\x20found','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_findGitConfig','stack','zjbcN','../testRunMap','failure_reason_expanded','skipped','93087xUMjJQ','uploadEventData','testObservability','_fileNameByFullName','matcherName','XjzGV','PnHEA','failure_backtrace','chaJz','14184412Mpvcfh','sep','startsWith','XkROj','uuid','fullName','_suitesById','vRLfu','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','_resolveFilePath','505HYzdgc','aVqxm','EImyP','appendTesthubParams','TestRunFinished','79068ZAWdVq','_scopes','5373416AGAFPi','_sendSpecEvent','expected','JvKhh','GiDXn','TdWLC','NgYFt','2aEPvzZ','jasmineStarted','description','fSvTk','join','exports','4262544zQcXjr','1080QqAsTj','weXAR','LtmrD','lang','pEPLB','xgSxj','ftrcu','ZOZrv','TestRunStarted','actual','finished_at','length','push','zzkmi','enBFD','fileNameByFullName','toISOString','trim','pMQIc','_paths','NyXUE','IxqsN','number','keys','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','wVaUi','parentSuiteId','1168537SDwFmA','path','qPyCZ','2584590uIUvXc','../../../helpers/testhub/utils','jasmineDone','XmvYG','split','Jasmine','suiteDone','status','passed','filename','../../../helpers/test-observability/utils'];a14_0x3353=function(){return _0x22dd3d;};return a14_0x3353();}a14_0xff6b03[a14_0x2528df(0x12b)]=a14_0x2528df(0x12b),a14_0xff6b03['failed']=a14_0x2528df(0x144),a14_0xff6b03['pending']=a14_0x2528df(0x14c),a14_0xff6b03['excluded']='skipped';const STATUS_MAP=a14_0xff6b03;class BrowserStackJasmineReporter{constructor(_0x5cd2f5={}){const _0x2c4540=a14_0x2528df,_0x224c25={'qPyCZ':function(_0x2a300b){return _0x2a300b();}};this[_0x2c4540(0x166)]=_0x224c25[_0x2c4540(0x122)](isTestObservabilitySession),this[_0x2c4540(0x118)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x2c4540(0x167)]=_0x5cd2f5&&_0x5cd2f5[_0x2c4540(0x114)]||{},this['_suitesById']=new Map();}[a14_0x2528df(0xff)](){}[a14_0x2528df(0x15a)](_0x52a3e0){const _0x532b60=a14_0x2528df,_0x38d0cb={'mBBZU':function(_0x320346,_0x538703){return _0x320346!==_0x538703;},'ftrcu':function(_0x45fabe,_0x5e716b){return _0x45fabe!==_0x5e716b;},'ykLSP':function(_0x4a1883,_0x5c627f){return _0x4a1883(_0x5c627f);}};try{_0x52a3e0&&_0x38d0cb['mBBZU'](_0x52a3e0['id'],undefined)&&_0x38d0cb[_0x532b60(0x10b)](_0x52a3e0['id'],null)&&this[_0x532b60(0xec)][_0x532b60(0x156)](_0x52a3e0['id'],{'description':_0x52a3e0['description'],'parentSuiteId':_0x52a3e0[_0x532b60(0x11f)]});}catch(_0x47caa6){_0x38d0cb['ykLSP'](debug,_0x532b60(0x15d)+(_0x52a3e0&&_0x52a3e0['fullName'])+_0x532b60(0x13c)+_0x47caa6);}}[a14_0x2528df(0x135)](_0x21b5a4){const _0x327711=a14_0x2528df,_0xf62119={'TdWLC':function(_0x2b236a,_0x5d4bd8){return _0x2b236a!==_0x5d4bd8;},'MTUoT':function(_0x270864){return _0x270864();},'IIgOY':'TestRunStarted','cWTyf':function(_0x46d4f5,_0x4bd7a7){return _0x46d4f5(_0x4bd7a7);}};try{if(_0xf62119[_0x327711(0xfc)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2e8f17=_0xf62119[_0x327711(0x154)](uuidv4);testRunMap[_0x327711(0x156)](_0x21b5a4['id'],_0x2e8f17),this[_0x327711(0xf8)](_0x21b5a4,_0x2e8f17,_0xf62119['IIgOY']);}catch(_0x46ac23){_0xf62119['cWTyf'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x21b5a4&&_0x21b5a4[_0x327711(0xeb)])+_0x327711(0x13c)+_0x46ac23);}}[a14_0x2528df(0x140)](_0x20521f){const _0x4c7ae0=a14_0x2528df,_0x2dc451={'WRoGn':function(_0x332f81,_0x3517be){return _0x332f81!==_0x3517be;},'AyZsx':function(_0x1215e9){return _0x1215e9();},'fSvTk':function(_0x269703,_0x289bd6){return _0x269703===_0x289bd6;},'ZOZrv':'excluded','xgSxj':'TestRunSkipped','IxqsN':_0x4c7ae0(0xf4),'YPMsE':function(_0x4efa6a,_0x249c48){return _0x4efa6a(_0x249c48);}};try{if(_0x2dc451[_0x4c7ae0(0x134)](testhubUtils[_0x4c7ae0(0x131)](),!![]))return;const _0x5e815f=testRunMap[_0x4c7ae0(0x130)](_0x20521f['id'])||_0x2dc451['AyZsx'](uuidv4),_0x339f99=_0x2dc451[_0x4c7ae0(0x101)](_0x20521f[_0x4c7ae0(0x12a)],_0x2dc451[_0x4c7ae0(0x10c)])?_0x2dc451[_0x4c7ae0(0x10a)]:_0x2dc451[_0x4c7ae0(0x11a)];this[_0x4c7ae0(0xf8)](_0x20521f,_0x5e815f,_0x339f99);}catch(_0x301189){_0x2dc451['YPMsE'](debug,_0x4c7ae0(0x152)+(_0x20521f&&_0x20521f['fullName'])+'\x20:\x20'+_0x301189);}finally{_0x20521f&&(testRunMap[_0x4c7ae0(0x13a)](_0x20521f['id']),_specStartTimes[_0x4c7ae0(0x14e)](_0x20521f['id']));}}[a14_0x2528df(0x129)](){}[a14_0x2528df(0x125)](){}[a14_0x2528df(0xf8)](_0x248cb6,_0x28be3a,_0x40039e){const _0x1ccf2c=a14_0x2528df,_0x39f046={'winVU':function(_0x1ff48e,_0x36a99d){return _0x1ff48e===_0x36a99d;},'towIW':'TestRunFinished','Vmbks':'TestRunSkipped','pSfvN':_0x1ccf2c(0x15c),'lbhzj':function(_0x1222bf,_0x10f3c9,_0x10b77a){return _0x1222bf(_0x10f3c9,_0x10b77a);},'ywEee':_0x1ccf2c(0x145),'wVaUi':function(_0x11edf9,_0x3b662b){return _0x11edf9===_0x3b662b;},'TLCJN':_0x1ccf2c(0x10d),'QSLWJ':function(_0x326512,_0x4a30f4){return _0x326512!==_0x4a30f4;},'zzkmi':function(_0x461c26,_0x4552e0){return _0x461c26!==_0x4552e0;},'NgYFt':'javascript','FbwAG':function(_0x3b819e,_0x2cf4eb){return _0x3b819e&&_0x2cf4eb;},'FlYCa':function(_0x43cb8a,_0x3c58c6){return _0x43cb8a===_0x3c58c6;},'yqDeO':_0x1ccf2c(0x163),'AnHPp':'passed','rnnRi':_0x1ccf2c(0x11b),'XkROj':_0x1ccf2c(0x141),'chaJz':_0x1ccf2c(0x139),'JvKhh':'started_at','IFyCe':_0x1ccf2c(0x10f),'PnHEA':_0x1ccf2c(0x12e),'JXjmw':_0x1ccf2c(0x16b),'GrFCT':_0x1ccf2c(0x136),'NyXUE':_0x1ccf2c(0x162),'rGhAb':'expanded','weXAR':function(_0x5b1745,_0x5d6d6b){return _0x5b1745(_0x5d6d6b);}};try{const _0x3351b2=_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x14f)])||_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)]),_0x597551=this[_0x1ccf2c(0xef)](_0x248cb6),_0x2f179f=_0x597551?this[_0x1ccf2c(0x118)][_0x1ccf2c(0x155)](_0x597551):_0x39f046[_0x1ccf2c(0x12f)],_0x42d637=_0x597551?this[_0x1ccf2c(0x15e)](path[_0x1ccf2c(0x14d)](_0x597551)):null,_0x29da18=this['_collapseFailedExpectations'](_0x248cb6['failedExpectations']),_0xe965c9=_0x29da18?_0x29da18[_0x1ccf2c(0x149)]:undefined,_0x2243b5=_0x29da18?_0x39f046['lbhzj'](failureData,_0x29da18,_0x39f046[_0x1ccf2c(0x13d)]):[],_0x47f94e=new Date()[_0x1ccf2c(0x115)](),_0x3001a0=this[_0x1ccf2c(0xf6)](_0x248cb6);_0x39f046[_0x1ccf2c(0x11e)](_0x40039e,_0x39f046[_0x1ccf2c(0x15b)])&&_0x248cb6&&_0x39f046[_0x1ccf2c(0x13b)](_0x248cb6['id'],undefined)&&_0x39f046[_0x1ccf2c(0x112)](_0x248cb6['id'],null)&&_specStartTimes['set'](_0x248cb6['id'],_0x47f94e);const _0x277052=_0x39f046['winVU'](_0x40039e,_0x39f046[_0x1ccf2c(0x15b)])?_0x47f94e:_0x248cb6&&_specStartTimes[_0x1ccf2c(0x130)](_0x248cb6['id'])||null,_0xf74000={};_0xf74000[_0x1ccf2c(0x108)]=_0x39f046[_0x1ccf2c(0xfd)],_0xf74000[_0x1ccf2c(0x153)]=null;const _0x1f1c9e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x28be3a,'name':_0x248cb6[_0x1ccf2c(0x100)],'body':_0xf74000,'scope':_0x3001a0[_0x1ccf2c(0x102)]('\x20'),'scopes':_0x3001a0,'identifier':_0x248cb6[_0x1ccf2c(0xeb)],'file_name':_0x2f179f,'vc_filepath':_0x39f046['FbwAG'](_0x42d637,_0x597551)?path['relative'](_0x42d637,_0x597551):null,'location':_0x2f179f,'result':_0x39f046['FlYCa'](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])?_0x39f046[_0x1ccf2c(0x142)]:STATUS_MAP[_0x248cb6[_0x1ccf2c(0x12a)]]||_0x39f046[_0x1ccf2c(0x132)],'failure_reason':_0xe965c9,'duration_in_ms':_0x39f046[_0x1ccf2c(0x14a)](typeof _0x248cb6[_0x1ccf2c(0x138)],_0x39f046['rnnRi'])?_0x248cb6['duration']:null,'started_at':_0x277052,'finished_at':_0x3351b2?_0x47f94e:null,'failure':_0x2243b5,'failure_type':!_0xe965c9?null:_0xe965c9[_0x1ccf2c(0x137)](/AssertionError/)?_0x39f046[_0x1ccf2c(0xe9)]:_0x39f046[_0x1ccf2c(0xe5)],'retry_of':null};_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])&&!_0x1f1c9e[_0x39f046[_0x1ccf2c(0xfa)]]&&(_0x1f1c9e[_0x39f046['JvKhh']]=_0x1f1c9e[_0x39f046['IFyCe']]);const _0x5b82fd=_0x1f1c9e[_0x39f046[_0x1ccf2c(0x16a)]][0x0];_0x5b82fd&&(_0x1f1c9e[_0x39f046[_0x1ccf2c(0x13f)]]=_0x5b82fd[_0x39f046['GrFCT']],_0x1f1c9e[_0x39f046[_0x1ccf2c(0x119)]]=_0x5b82fd[_0x39f046['rGhAb']]);testhubUtils[_0x1ccf2c(0xf3)](_0x1f1c9e,_0x40039e,_0x248cb6,FRAMEWORKS[_0x1ccf2c(0x147)]);const _0x40034b={'event_type':_0x39f046[_0x1ccf2c(0x11e)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])?_0x39f046[_0x1ccf2c(0x14f)]:_0x40039e,'test_run':_0x1f1c9e};return testhubUtils['setCurrentTestData'](FRAMEWORKS['JASMINE'],_0x40034b),SessionHandler[_0x1ccf2c(0x165)](_0x40034b);}catch(_0xd47b32){_0x39f046[_0x1ccf2c(0x106)](debug,_0x1ccf2c(0x11d)+_0x40039e+'\x20:\x20'+_0xd47b32);}}[a14_0x2528df(0xf6)](_0x257c82){const _0x34dbae=a14_0x2528df,_0x58bc77={'atHWM':function(_0x34a5b0,_0x13c504){return _0x34a5b0!==_0x13c504;},'zjbcN':function(_0x282f75,_0x348278){return _0x282f75!==_0x348278;},'XmvYG':function(_0x4340c0,_0xc2ba5a){return _0x4340c0>_0xc2ba5a;},'pMQIc':function(_0x4189f9,_0x12b360){return _0x4189f9(_0x12b360);},'pEPLB':function(_0x2178a9,_0x1ee623){return _0x2178a9-_0x1ee623;}};try{const _0x40d8df=[];let _0x9e103=_0x257c82&&_0x257c82[_0x34dbae(0x11f)];const _0x4aced4=new Set();while(_0x58bc77[_0x34dbae(0x146)](_0x9e103,undefined)&&_0x58bc77[_0x34dbae(0x160)](_0x9e103,null)&&this[_0x34dbae(0xec)][_0x34dbae(0x151)](_0x9e103)&&!_0x4aced4[_0x34dbae(0x151)](_0x9e103)){_0x4aced4['add'](_0x9e103);const _0x32cf0f=this[_0x34dbae(0xec)][_0x34dbae(0x130)](_0x9e103);_0x32cf0f&&_0x32cf0f[_0x34dbae(0x100)]&&_0x40d8df['push'](_0x32cf0f['description']),_0x9e103=_0x32cf0f?_0x32cf0f['parentSuiteId']:null;}if(_0x58bc77[_0x34dbae(0x126)](_0x40d8df[_0x34dbae(0x110)],0x0))return _0x40d8df['reverse']();}catch(_0x4bcc06){_0x58bc77[_0x34dbae(0x117)](debug,_0x34dbae(0xee)+(_0x257c82&&_0x257c82[_0x34dbae(0xeb)])+_0x34dbae(0x13c)+_0x4bcc06);}const _0x5d1b86=_0x257c82&&_0x257c82[_0x34dbae(0xeb)]||'',_0x39832f=_0x257c82&&_0x257c82[_0x34dbae(0x100)]||'';let _0x43caba=_0x5d1b86;return _0x39832f&&_0x5d1b86[_0x34dbae(0x157)](_0x39832f)&&(_0x43caba=_0x5d1b86['slice'](0x0,_0x58bc77[_0x34dbae(0x109)](_0x5d1b86[_0x34dbae(0x110)],_0x39832f[_0x34dbae(0x110)]))[_0x34dbae(0x116)]()),_0x43caba?_0x43caba[_0x34dbae(0x127)](/\s+/):[];}['_resolveFilePath'](_0x572188){const _0xe3ed6e=a14_0x2528df,_0xdc3067={};_0xdc3067[_0xe3ed6e(0xfb)]=function(_0x3af453,_0x4a3673){return _0x3af453===_0x4a3673;},_0xdc3067[_0xe3ed6e(0x169)]=function(_0x5a07c1,_0x322f4e){return _0x5a07c1+_0x322f4e;},_0xdc3067['EImyP']=function(_0x42a93d,_0x281f40){return _0x42a93d>_0x281f40;};const _0x32143c=_0xdc3067;if(_0x572188&&_0x572188[_0xe3ed6e(0x12c)])return _0x572188[_0xe3ed6e(0x12c)];if(_0x572188&&_0x572188[_0xe3ed6e(0xeb)]){if(this[_0xe3ed6e(0x167)][_0x572188[_0xe3ed6e(0xeb)]])return this[_0xe3ed6e(0x167)][_0x572188[_0xe3ed6e(0xeb)]];let _0x13c7b0=null,_0x1cd1f7=-0x1;for(const _0x3cf997 of Object[_0xe3ed6e(0x11c)](this[_0xe3ed6e(0x167)])){(_0x32143c['GiDXn'](_0x572188[_0xe3ed6e(0xeb)],_0x3cf997)||_0x572188[_0xe3ed6e(0xeb)][_0xe3ed6e(0xe8)](_0x32143c[_0xe3ed6e(0x169)](_0x3cf997,'\x20')))&&_0x32143c[_0xe3ed6e(0xf2)](_0x3cf997[_0xe3ed6e(0x110)],_0x1cd1f7)&&(_0x13c7b0=this['_fileNameByFullName'][_0x3cf997],_0x1cd1f7=_0x3cf997[_0xe3ed6e(0x110)]);}if(_0x13c7b0)return _0x13c7b0;}return null;}['_collapseFailedExpectations'](_0x556101){const _0x4dd9f6=a14_0x2528df,_0x2d6fd5={};_0x2d6fd5[_0x4dd9f6(0xed)]=function(_0x2792fc,_0x2e5866){return _0x2792fc===_0x2e5866;},_0x2d6fd5[_0x4dd9f6(0x107)]='Spec\x20failed';const _0x45da67=_0x2d6fd5;if(!Array[_0x4dd9f6(0x150)](_0x556101)||_0x45da67[_0x4dd9f6(0xed)](_0x556101['length'],0x0))return undefined;const _0x498df8=[],_0x1b51da=[];for(const _0x43bf5f of _0x556101){_0x43bf5f&&_0x43bf5f['message']&&_0x498df8[_0x4dd9f6(0x111)](_0x43bf5f[_0x4dd9f6(0x149)]),_0x43bf5f&&_0x43bf5f[_0x4dd9f6(0x15f)]&&_0x1b51da['push'](_0x43bf5f[_0x4dd9f6(0x15f)]);}const _0x4cdd23=_0x556101[0x0]||{},_0x3e45fe=_0x498df8[_0x4dd9f6(0x102)]('\x0a')||_0x4cdd23[_0x4dd9f6(0x149)]||_0x45da67[_0x4dd9f6(0x107)],_0x50a309=_0x1b51da['join']('\x0a\x0a')||_0x4cdd23[_0x4dd9f6(0x15f)]||_0x3e45fe,_0x7bb5af={};return _0x7bb5af['message']=_0x3e45fe,_0x7bb5af[_0x4dd9f6(0x15f)]=_0x50a309,_0x7bb5af[_0x4dd9f6(0x168)]=_0x4cdd23[_0x4dd9f6(0x168)],_0x7bb5af[_0x4dd9f6(0xf9)]=_0x4cdd23[_0x4dd9f6(0xf9)],_0x7bb5af['actual']=_0x4cdd23[_0x4dd9f6(0x10e)],_0x7bb5af;}['_findGitConfig'](_0x382e3b){const _0x3f8b3c=a14_0x2528df,_0x2515e6={};_0x2515e6[_0x3f8b3c(0x159)]=function(_0x5eb34a,_0x2ebefa){return _0x5eb34a===_0x2ebefa;},_0x2515e6['srMcb']=function(_0x864b7c,_0x770b7b){return _0x864b7c===_0x770b7b;},_0x2515e6[_0x3f8b3c(0x113)]=function(_0x264721,_0x3f4775){return _0x264721===_0x3f4775;},_0x2515e6[_0x3f8b3c(0x13e)]=_0x3f8b3c(0x158),_0x2515e6['aVqxm']=_0x3f8b3c(0x14b);const _0x2c6b4d=_0x2515e6,_0x24deb4=path[_0x3f8b3c(0xe7)];if(_0x2c6b4d['UCyOP'](_0x382e3b,null)||_0x2c6b4d[_0x3f8b3c(0x159)](_0x382e3b,'')||_0x2c6b4d['srMcb'](_0x382e3b,_0x24deb4)||_0x2c6b4d[_0x3f8b3c(0x113)](_0x382e3b,path['dirname'](_0x382e3b)))return null;try{return fs[_0x3f8b3c(0x143)](path[_0x3f8b3c(0x102)](_0x382e3b,_0x2c6b4d[_0x3f8b3c(0x13e)],_0x2c6b4d[_0x3f8b3c(0xf1)])),_0x382e3b;}catch(_0x4d9355){return this[_0x3f8b3c(0x15e)](path[_0x3f8b3c(0x14d)](_0x382e3b));}}}module[a14_0x2528df(0x103)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a15_0x30e9(){const _0x525e4e=['21OtWkQi','SDK_SETUP','1747495EzBmDb','stringify','shouldReRunObservabilityTests','npx','FbnDB','24711SDsrSa','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','getPlatformName','../../helpers/test-observability/utils','platformIndex','Mcskz','MIixv','FRAMEWORKS','../../helpers/performance/performance-tester','getInstance','\x20platform(s),\x20parallelsPerPlatform=','isBrowserstackInfra',')\x20:\x20','cEEAp',',\x20specs=','82fIdiIr','788328itQEwz','stop','JASMINE','rmdirSync','path','util','globSync','debug','map','pNvMT','parse','760830lKWPqU','__isPuppeteerInstalled','EVENTS','prepareCapabilities','SHSHX','validPlatformsPresent','RTDSy','bqYlk','wwEhG','env','pDvbj','resolve','capability','testObservability','SDK_CLEANUP','assWX','KvGJQ','true','maxWorkers','mKEFj','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','close','filter','glob','\x20work-item(s),\x20max\x20',';\x20proceeding\x20without\x20injection','spec/support/jasmine.json','NsWTO','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','proxySettings','--helper=','OvkgP','specArgs','vWiFO','isUndefined','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','OqPJI','platforms','useW3C','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','string','GSOLo','isCLIEnabled','binSessionId','join','parseFileNames','130472NzgIxa','odyyj','euKNd','dSsAi','posix','../../helpers/performance/constants','faCIt','length','TVMYQ','all','UyoJc','nZIhS','push','slice','winstonLogger','error','\x20:\x20','DoeSv','wiRSL','GjSac','start','from','launchBuild','sMsvG','2941587lgCCLY','unlinkSync','config','uqpwr','finalExecution','logLevel','OsePV','parallelsPerPlatform','../../helpers/puppeteer-helper','../utils/constants','UgjEK','lxzAQ','accessibilityOptions','JASMINE_CONFIG_PATH','BROWSERSTACK_CAPABILITIES','assign','**/*[sS]pec.?(m)js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isArray','jasmine','BROWSERSTACK_JASMINE_PARALLELS','UDZYB','spec_files','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','EKJCJ','spec','../../helpers/logger','../../helpers/utilities','896192ILeFpc','BROWSERSTACK_RERUN_TESTS','\x20concurrent)','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','cwd','ZnZRi','exitCode','platform','existsSync','../v2/browserstackCLI','jasmine\x20child\x20(platformIndex=','VSMPr','format',')\x20exited\x20with\x20code\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','kUGFX','../../helpers/testhub/testhubHandler','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'];a15_0x30e9=function(){return _0x525e4e;};return a15_0x30e9();}function a15_0x1497(_0x47c57d,_0x54a21d){const _0x30e979=a15_0x30e9();return a15_0x1497=function(_0x1497c8,_0x295ad6){_0x1497c8=_0x1497c8-0xd9;let _0x31fc57=_0x30e979[_0x1497c8];return _0x31fc57;},a15_0x1497(_0x47c57d,_0x54a21d);}const a15_0x23350d=a15_0x1497;(function(_0x497e8f,_0x393702){const _0xe8ce8b=a15_0x1497,_0x2b3177=_0x497e8f();while(!![]){try{const _0x5e958f=parseInt(_0xe8ce8b(0x114))/0x1+parseInt(_0xe8ce8b(0xd9))/0x2*(-parseInt(_0xe8ce8b(0x161))/0x3)+parseInt(_0xe8ce8b(0x148))/0x4+-parseInt(_0xe8ce8b(0x15c))/0x5+parseInt(_0xe8ce8b(0xe5))/0x6+-parseInt(_0xe8ce8b(0x15a))/0x7*(-parseInt(_0xe8ce8b(0xda))/0x8)+parseInt(_0xe8ce8b(0x12c))/0x9;if(_0x5e958f===_0x393702)break;else _0x2b3177['push'](_0x2b3177['shift']());}catch(_0x23d921){_0x2b3177['push'](_0x2b3177['shift']());}}}(a15_0x30e9,0x65b3f));const fs=require('fs'),path=require(a15_0x23350d(0xde)),util=require(a15_0x23350d(0xdf)),{spawn}=require('child_process'),glob=require(a15_0x23350d(0xfc)),pLimit=require('p-limit'),logger=require(a15_0x23350d(0x146))[a15_0x23350d(0x122)],helper=require('../../helpers/helper'),utilities=require(a15_0x23350d(0x147)),constants=require(a15_0x23350d(0x135)),TestHubHandler=require(a15_0x23350d(0x158)),testOpsHelper=require(a15_0x23350d(0x164)),{debug}=require(a15_0x23350d(0x164)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a15_0x23350d(0x169)),PerformanceEvents=require(a15_0x23350d(0x119))[a15_0x23350d(0xe7)],BrowserstackCLI=require(a15_0x23350d(0x151)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x23350d(0x134)),getMaxWorkers=(_0x3ec92c,_0x109f1d)=>{const _0x58ad4d=a15_0x23350d,_0x1074c8={'GSOLo':function(_0xde23f4,_0x24c578){return _0xde23f4(_0x24c578);}};let _0x2e6e9c=0x1;if(!helper[_0x58ad4d(0x107)](_0x109f1d[_0x58ad4d(0x133)]))_0x2e6e9c=_0x1074c8[_0x58ad4d(0x10f)](parseInt,_0x109f1d[_0x58ad4d(0x133)]);else!helper[_0x58ad4d(0x107)](_0x3ec92c[_0x58ad4d(0xf7)])&&(_0x2e6e9c=_0x3ec92c[_0x58ad4d(0xf7)]);return _0x2e6e9c;},resolveJasmineConfigPath=()=>{const _0x5022a=a15_0x23350d,_0x18382e={};_0x18382e['OvkgP']=_0x5022a(0xff);const _0x3f8d72=_0x18382e,_0x87577d=[];process['env'][_0x5022a(0x139)]&&_0x87577d[_0x5022a(0x120)](path[_0x5022a(0xf0)](process[_0x5022a(0x14c)](),process[_0x5022a(0xee)][_0x5022a(0x139)]));_0x87577d[_0x5022a(0x120)](path[_0x5022a(0xf0)](process[_0x5022a(0x14c)](),_0x3f8d72[_0x5022a(0x104)]));for(const _0x35b5a1 of _0x87577d){try{if(fs['existsSync'](_0x35b5a1))return _0x35b5a1;}catch(_0x5d307d){}}return null;},enumerateSpecFiles=_0x63cee6=>{const _0x2145e5=a15_0x23350d,_0x173ac9={'DoeSv':function(_0xe93300,_0x2fd272){return _0xe93300(_0x2fd272);},'euKNd':function(_0x5979eb,_0x156a1c){return _0x5979eb>_0x156a1c;},'UDZYB':function(_0x5a2133,_0x185ed1){return _0x5a2133(_0x185ed1);},'NsWTO':function(_0x3f73aa,_0x4266a3){return _0x3f73aa<_0x4266a3;},'uqpwr':function(_0x332e94,_0x36d396){return _0x332e94===_0x36d396;},'kUGFX':_0x2145e5(0x10e),'GjSac':function(_0x388200,_0x2fe78c,_0x2c3356){return _0x388200(_0x2fe78c,_0x2c3356);},'pkuEG':function(_0x589482,_0x161343){return _0x589482>_0x161343;},'UyoJc':function(_0x461e73){return _0x461e73();},'nZIhS':'utf8','assWX':_0x2145e5(0x145),'IOPRy':_0x2145e5(0x13c),'pNvMT':function(_0x430b40,_0x546425){return _0x430b40>_0x546425;},'hoFXO':function(_0x1b65b3,_0x4e240b){return _0x1b65b3(_0x4e240b);}};try{if(testOpsHelper[_0x2145e5(0x15e)]()){const _0x5e3541=testOpsHelper[_0x2145e5(0x113)](process[_0x2145e5(0xee)][_0x2145e5(0x149)]);if(Array['isArray'](_0x5e3541)&&_0x173ac9[_0x2145e5(0x116)](_0x5e3541[_0x2145e5(0x11b)],0x0))return _0x5e3541[_0x2145e5(0xe2)](_0x35afbc=>path[_0x2145e5(0xf0)](process[_0x2145e5(0x14c)](),_0x35afbc['trim']()))[_0x2145e5(0xfb)](Boolean);}}catch(_0x5da906){_0x173ac9[_0x2145e5(0x141)](debug,_0x2145e5(0x14b)+util[_0x2145e5(0x154)](_0x5da906));}const _0x1561a8=[];try{for(let _0x1725f8=0x1;_0x173ac9[_0x2145e5(0x100)](_0x1725f8,_0x63cee6[_0x2145e5(0x11b)]);_0x1725f8++){const _0x1f4093=_0x63cee6[_0x1725f8];_0x173ac9[_0x2145e5(0x12f)](typeof _0x1f4093,_0x173ac9[_0x2145e5(0x157)])&&!_0x1f4093['startsWith']('-')&&_0x1561a8[_0x2145e5(0x120)](_0x1f4093);}}catch(_0x51d139){}const _0x3a4088={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5881ff=(_0x252229,_0x14495b)=>{const _0x19a006=_0x2145e5,_0x584007=[];for(const _0x5c3192 of _0x252229){try{const _0x4d36ba=_0x14495b?path[_0x19a006(0x118)][_0x19a006(0x112)](_0x14495b,_0x5c3192):_0x5c3192,_0x313d95=glob[_0x19a006(0xe0)](_0x4d36ba,_0x3a4088);Array['isArray'](_0x313d95)&&_0x584007[_0x19a006(0x120)](..._0x313d95);}catch(_0x4b2bdc){_0x173ac9[_0x19a006(0x125)](debug,_0x19a006(0x159)+_0x5c3192+'\x27\x20:\x20'+util[_0x19a006(0x154)](_0x4b2bdc));}}return _0x584007;};if(_0x173ac9['euKNd'](_0x1561a8[_0x2145e5(0x11b)],0x0)){const _0x350cef=_0x173ac9[_0x2145e5(0x127)](_0x5881ff,_0x1561a8,null);if(_0x173ac9['pkuEG'](_0x350cef[_0x2145e5(0x11b)],0x0))return Array[_0x2145e5(0x129)](new Set(_0x350cef));return _0x1561a8[_0x2145e5(0xe2)](_0x48df03=>path[_0x2145e5(0xf0)](process['cwd'](),_0x48df03));}try{const _0x430555=_0x173ac9[_0x2145e5(0x11e)](resolveJasmineConfigPath);if(_0x430555){const _0x8111f2=JSON[_0x2145e5(0xe4)](fs['readFileSync'](_0x430555,_0x173ac9[_0x2145e5(0x11f)])),_0x40cdd7=_0x8111f2['spec_dir']||_0x173ac9[_0x2145e5(0xf4)],_0xc7824a=Array[_0x2145e5(0x13e)](_0x8111f2[_0x2145e5(0x142)])&&_0x173ac9[_0x2145e5(0x116)](_0x8111f2[_0x2145e5(0x142)][_0x2145e5(0x11b)],0x0)?_0x8111f2[_0x2145e5(0x142)]:[_0x173ac9['IOPRy']],_0xaf61c4=_0x173ac9[_0x2145e5(0x127)](_0x5881ff,_0xc7824a,_0x40cdd7);if(_0x173ac9[_0x2145e5(0xe3)](_0xaf61c4['length'],0x0))return Array[_0x2145e5(0x129)](new Set(_0xaf61c4));}}catch(_0x5a5cf1){_0x173ac9['hoFXO'](debug,_0x2145e5(0x162)+util[_0x2145e5(0x154)](_0x5a5cf1));}return null;};async function run(_0x226f99,_0x47e948,_0x4343cd){const _0x3f43eb=a15_0x23350d,_0x16e4ea={'wiRSL':function(_0x55263a,_0x5582ee){return _0x55263a>_0x5582ee;},'EHWjz':_0x3f43eb(0x11d),'odyyj':function(_0x1ebf72,_0x29361e){return _0x1ebf72(_0x29361e);},'SHSHX':function(_0x1a2d64,_0xc6eec){return _0x1a2d64||_0xc6eec;},'EKJCJ':function(_0x13d917,_0x4ebc07){return _0x13d917>_0x4ebc07;},'dSsAi':function(_0x21219b,_0x3d30fe,_0x4c855b,_0x3ab8da){return _0x21219b(_0x3d30fe,_0x4c855b,_0x3ab8da);},'FbnDB':_0x3f43eb(0x15f),'KvGJQ':_0x3f43eb(0x13f),'wQLib':function(_0x1338b0,_0x14d0e4){return _0x1338b0===_0x14d0e4;},'yNfpE':'win32','faCIt':'inherit','lxzAQ':_0x3f43eb(0xfa),'RTDSy':_0x3f43eb(0x123),'sMsvG':function(_0x55df42,_0x3b373e){return _0x55df42(_0x3b373e);},'bqYlk':'@playwright/test','vWiFO':function(_0x3b8f34){return _0x3b8f34();},'TVMYQ':function(_0x2f0246,_0x265bfd,_0x2f7f26,_0x4c43c0){return _0x2f0246(_0x265bfd,_0x2f7f26,_0x4c43c0);},'VSMPr':function(_0x5d0bf6,_0x3e6cf4){return _0x5d0bf6!=_0x3e6cf4;},'JYinL':_0x3f43eb(0xf6),'UgjEK':function(_0x2d44ad,_0x5ad659){return _0x2d44ad(_0x5ad659);},'vgfJs':function(_0x49112f,_0x19a0d5){return _0x49112f(_0x19a0d5);},'cEEAp':function(_0x404583,_0x2bffde,_0x353129){return _0x404583(_0x2bffde,_0x353129);},'mKEFj':function(_0x581eae,_0x48d972){return _0x581eae*_0x48d972;},'pDvbj':function(_0x2fa12a,_0x3bc36a){return _0x2fa12a(_0x3bc36a);},'OsePV':function(_0x2cf723,_0x4d498a){return _0x2cf723(_0x4d498a);},'zjfEU':'test.setup.js','ThxUz':function(_0x56d02d,_0x30c51f){return _0x56d02d(_0x30c51f);},'ZnZRi':function(_0x1099cb,_0x1d0bc7){return _0x1099cb(_0x1d0bc7);},'OqPJI':function(_0x48c0ba,_0x4b1c8f){return _0x48c0ba<_0x4b1c8f;},'ZzVpw':function(_0x5f5842,_0x37bca9){return _0x5f5842>_0x37bca9;},'Mcskz':function(_0x17c613,_0x28ba99){return _0x17c613(_0x28ba99);},'MIixv':function(_0x567f5b,_0x4f6b18){return _0x567f5b>_0x4f6b18;},'wwEhG':'error\x20removing\x20tcg\x20config\x20file'},_0x3d58bb=helper['getPackageVersion'](_0x16e4ea[_0x3f43eb(0xec)]);global['__isPlaywrightInstalled']=!!_0x3d58bb;const _0x4ca757=_0x16e4ea[_0x3f43eb(0x106)](getPuppeteerVersion);global[_0x3f43eb(0xe6)]=!!_0x4ca757;helper[_0x3f43eb(0x16c)]()?(await _0x4343cd['initialize'](_0x226f99),await helper['handleApp'](_0x4343cd['config'])):await _0x4343cd['setupTCGAuth']();if(_0x3d58bb)await _0x16e4ea[_0x3f43eb(0x11c)](checkPwandBootstrapCli,_0x3d58bb,constants[_0x3f43eb(0x168)][_0x3f43eb(0xdc)],_0x4343cd);else _0x4ca757&&await _0x16e4ea[_0x3f43eb(0x11c)](checkPuppeteerAndBootstrapCli,_0x4ca757,constants['FRAMEWORKS'][_0x3f43eb(0xdc)],_0x4343cd);if(!_0x4343cd[_0x3f43eb(0x12e)])return;_0x16e4ea[_0x3f43eb(0x153)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0xf2)],null)?process[_0x3f43eb(0xee)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0xf2)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x16e4ea['JYinL'];!helper[_0x3f43eb(0x107)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0x138)])&&(process[_0x3f43eb(0xee)][_0x3f43eb(0x13d)]=JSON[_0x3f43eb(0x15d)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0x138)]));try{await TestHubHandler[_0x3f43eb(0x12a)](FRAMEWORKS[_0x3f43eb(0xdc)],_0x4343cd);}catch(_0x61072b){logger[_0x3f43eb(0x123)](_0x3f43eb(0xf9)+util[_0x3f43eb(0x154)](_0x61072b)),_0x16e4ea[_0x3f43eb(0x12b)](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util['format'](_0x61072b));}let _0x92e9dc=![],_0x3edca0=[];try{_0x92e9dc=helper[_0x3f43eb(0x10b)](_0x4343cd[_0x3f43eb(0x12e)]),_0x3edca0=helper[_0x3f43eb(0xe8)](_0x4343cd[_0x3f43eb(0x12e)],_0x92e9dc,constants['FRAMEWORKS'][_0x3f43eb(0xdc)]),process['env'][_0x3f43eb(0x13a)]=JSON['stringify'](_0x3edca0);}catch(_0x11863d){_0x16e4ea[_0x3f43eb(0x136)](debug,_0x3f43eb(0x108)+util[_0x3f43eb(0x154)](_0x11863d));}let _0x273ef8=null,_0x5f1eda=![];try{_0x273ef8=helper['getHubUrl'](_0x4343cd[_0x3f43eb(0x12e)]),_0x5f1eda=helper[_0x3f43eb(0xea)](_0x4343cd[_0x3f43eb(0x12e)]);}catch(_0x2e3046){_0x16e4ea['vgfJs'](debug,_0x3f43eb(0x10d)+util[_0x3f43eb(0x154)](_0x2e3046));}const _0x1629e2=_0x5697b0=>{const _0x56b110=_0x3f43eb,_0x17bc60=Array[_0x56b110(0x13e)](_0x3edca0)&&_0x16e4ea[_0x56b110(0x126)](_0x3edca0['length'],_0x5697b0)?_0x3edca0[_0x5697b0]:Array['isArray'](_0x3edca0)&&_0x16e4ea[_0x56b110(0x126)](_0x3edca0['length'],0x0)?_0x3edca0[0x0]:{};return{'server':_0x273ef8,'capability':_0x17bc60,'proxySettings':_0x4343cd[_0x56b110(0x12e)][_0x56b110(0x102)],'platform':helper[_0x56b110(0x163)](_0x17bc60),'browserStackLogLevel':_0x4343cd[_0x56b110(0x12e)][_0x56b110(0x131)],'platformIndex':_0x5697b0,'framework':constants['FRAMEWORKS'][_0x56b110(0xdc)],'platformCaps':_0x5f1eda?Object[_0x56b110(0x13b)]({'index':_0x5697b0},_0x4343cd['config'][_0x56b110(0x10a)][_0x5697b0]):{'index':_0x5697b0}};};let _0x4ae55a=0x1,_0xc10209=0x1,_0x2388ac=0x1;try{_0x4ae55a=_0x16e4ea[_0x3f43eb(0x16e)](getMaxWorkers,_0x226f99,_0x4343cd['config']),_0xc10209=_0x5f1eda?_0x4343cd['config'][_0x3f43eb(0x10a)][_0x3f43eb(0x11b)]:0x1,_0x2388ac=_0x16e4ea[_0x3f43eb(0xf8)](_0xc10209,_0x4ae55a),process[_0x3f43eb(0xee)][_0x3f43eb(0x140)]=_0x16e4ea[_0x3f43eb(0xef)](String,_0x2388ac);}catch(_0x454979){_0x16e4ea[_0x3f43eb(0x12b)](debug,_0x3f43eb(0x10c)+util[_0x3f43eb(0x154)](_0x454979));}try{BrowserstackCLI[_0x3f43eb(0x16a)]()[_0x3f43eb(0x111)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x3f43eb(0x16a)]()['binSessionId']);}catch(_0x21da0c){_0x16e4ea[_0x3f43eb(0x132)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util[_0x3f43eb(0x154)](_0x21da0c));}const _0x21997d=[];try{const _0x1cb2e3=path[_0x3f43eb(0xf0)](__dirname,_0x16e4ea['zjfEU']);fs[_0x3f43eb(0x150)](_0x1cb2e3)?_0x21997d['push'](_0x3f43eb(0x103)+_0x1cb2e3):_0x16e4ea['ThxUz'](debug,_0x3f43eb(0x101)+_0x1cb2e3+_0x3f43eb(0xfe));}catch(_0x17b752){_0x16e4ea[_0x3f43eb(0x14d)](debug,_0x3f43eb(0x143)+util[_0x3f43eb(0x154)](_0x17b752));}const _0x283326=_0x47e948[_0x3f43eb(0x121)](0x1),_0x336a7d=_0x16e4ea['OsePV'](enumerateSpecFiles,_0x47e948),_0x21020a=[];for(let _0x25e86f=0x0;_0x16e4ea[_0x3f43eb(0x109)](_0x25e86f,_0xc10209);_0x25e86f++){if(_0x16e4ea[_0x3f43eb(0x144)](_0x4ae55a,0x1)&&Array[_0x3f43eb(0x13e)](_0x336a7d)&&_0x16e4ea['ZzVpw'](_0x336a7d['length'],0x0))for(const _0x2ca55c of _0x336a7d){const _0x3872a6={};_0x3872a6['platformIndex']=_0x25e86f,_0x3872a6[_0x3f43eb(0x105)]=[_0x2ca55c],_0x21020a[_0x3f43eb(0x120)](_0x3872a6);}else{const _0x4bcd3d={};_0x4bcd3d['platformIndex']=_0x25e86f,_0x4bcd3d[_0x3f43eb(0x105)]=_0x336a7d,_0x21020a[_0x3f43eb(0x120)](_0x4bcd3d);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0xc10209+_0x3f43eb(0x16b)+_0x4ae55a+'\x20('+_0x21020a[_0x3f43eb(0x11b)]+_0x3f43eb(0xfd)+_0x2388ac+_0x3f43eb(0x14a)),PerformanceTester['end'](PerformanceEvents[_0x3f43eb(0x15b)]);const _0x5c3ce5=_0x1d7f6c=>new Promise(_0xf4274b=>{const _0x22e817=_0x3f43eb;let _0x12d079;try{const _0x5423f7=_0x16e4ea[_0x22e817(0x115)](_0x1629e2,_0x1d7f6c[_0x22e817(0x165)]);_0x12d079=Object[_0x22e817(0x13b)]({},process[_0x22e817(0xee)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x5423f7),'BROWSERSTACK_CAPABILITIES':JSON[_0x22e817(0x15d)]([_0x5423f7[_0x22e817(0xf1)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x11f3db){_0x16e4ea['odyyj'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x1d7f6c[_0x22e817(0x165)]+_0x22e817(0x124)+util[_0x22e817(0x154)](_0x11f3db)),_0x12d079=Object[_0x22e817(0x13b)]({},process[_0x22e817(0xee)]);}const _0x5b14fd=Array['isArray'](_0x1d7f6c[_0x22e817(0x105)])?_0x1d7f6c[_0x22e817(0x105)]:[],_0x2ee49e=_0x16e4ea['EKJCJ'](_0x5b14fd[_0x22e817(0x11b)],0x0)?_0x283326[_0x22e817(0xfb)](_0x24a106=>typeof _0x24a106===_0x22e817(0x10e)&&_0x24a106['startsWith']('-')):_0x283326,_0x461b1d=[..._0x21997d,..._0x2ee49e,..._0x5b14fd];try{const _0x2f0f2c=_0x16e4ea[_0x22e817(0x117)](spawn,_0x16e4ea[_0x22e817(0x160)],[_0x16e4ea[_0x22e817(0xf5)],..._0x461b1d],{'shell':_0x16e4ea['wQLib'](process[_0x22e817(0x14f)],_0x16e4ea['yNfpE']),'stdio':_0x16e4ea[_0x22e817(0x11a)],'env':_0x12d079});_0x2f0f2c['on'](_0x16e4ea[_0x22e817(0x137)],_0x3bfbc7=>{const _0x24e115=_0x22e817;logger[_0x24e115(0xe1)](_0x24e115(0x152)+_0x1d7f6c[_0x24e115(0x165)]+_0x24e115(0x16f)+(_0x5b14fd[_0x24e115(0x11b)]?_0x5b14fd['join'](','):_0x16e4ea['EHWjz'])+_0x24e115(0x155)+_0x3bfbc7),_0x16e4ea[_0x24e115(0x115)](_0xf4274b,_0x16e4ea[_0x24e115(0xe9)](_0x3bfbc7,0x0));}),_0x2f0f2c['on'](_0x16e4ea[_0x22e817(0xeb)],_0x53eaae=>{const _0x88611d=_0x22e817;_0x16e4ea[_0x88611d(0x115)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x1d7f6c[_0x88611d(0x165)]+_0x88611d(0x16d)+util[_0x88611d(0x154)](_0x53eaae)),_0x16e4ea[_0x88611d(0x115)](_0xf4274b,0x1);});}catch(_0x458c31){_0x16e4ea['sMsvG'](debug,_0x22e817(0x156)+_0x1d7f6c[_0x22e817(0x165)]+_0x22e817(0x16d)+util[_0x22e817(0x154)](_0x458c31)),_0x16e4ea['odyyj'](_0xf4274b,0x1);}}),_0x39bb68=_0x16e4ea[_0x3f43eb(0x166)](pLimit,_0x16e4ea[_0x3f43eb(0x167)](_0x2388ac,0x0)?_0x2388ac:0x1),_0x6cf898=await Promise[_0x3f43eb(0x11d)](_0x21020a['map'](_0x375dd5=>_0x39bb68(()=>_0x5c3ce5(_0x375dd5))));PerformanceTester[_0x3f43eb(0x128)](PerformanceEvents[_0x3f43eb(0xf3)]);const _0x5b9d91=_0x6cf898['find'](_0x51edab=>_0x51edab!==0x0)||0x0;process[_0x3f43eb(0x14e)]=_0x5b9d91,logger[_0x3f43eb(0xe1)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x5b9d91);const _0x215cb7=BrowserstackCLI[_0x3f43eb(0x110)]();try{await TestHubHandler[_0x3f43eb(0xdb)](),await BrowserstackCLI[_0x3f43eb(0x16a)]()['stop']();}catch(_0x3eb492){_0x16e4ea['OsePV'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x3eb492));}try{const {browserstackFolderPath:_0x45fb80,tcgConfigPath:_0x5235f8}=helper['getTCGConfigFilePaths']();fs[_0x3f43eb(0x12d)](_0x5235f8),fs[_0x3f43eb(0xdd)](_0x45fb80);}catch(_0x54f951){logger[_0x3f43eb(0xe1)](_0x16e4ea[_0x3f43eb(0xed)],_0x54f951);}testOpsHelper['printBuildLink'](),await utilities[_0x3f43eb(0x130)](_0x4343cd,_0x215cb7);}module['exports']=run;
|
|
2
|
+
'use strict';const a15_0x185a5b=a15_0x265c;(function(_0xfe3d48,_0x117807){const _0x6d26c1=a15_0x265c,_0x21ce3e=_0xfe3d48();while(!![]){try{const _0x425dd8=parseInt(_0x6d26c1(0x1bc))/0x1*(parseInt(_0x6d26c1(0x166))/0x2)+-parseInt(_0x6d26c1(0x19a))/0x3+-parseInt(_0x6d26c1(0x1a0))/0x4*(-parseInt(_0x6d26c1(0x1c2))/0x5)+parseInt(_0x6d26c1(0x1a4))/0x6+-parseInt(_0x6d26c1(0x18c))/0x7*(-parseInt(_0x6d26c1(0x1ee))/0x8)+-parseInt(_0x6d26c1(0x1b3))/0x9*(-parseInt(_0x6d26c1(0x199))/0xa)+-parseInt(_0x6d26c1(0x161))/0xb;if(_0x425dd8===_0x117807)break;else _0x21ce3e['push'](_0x21ce3e['shift']());}catch(_0x31b105){_0x21ce3e['push'](_0x21ce3e['shift']());}}}(a15_0x1738,0x685c8));const fs=require('fs'),path=require('path'),util=require(a15_0x185a5b(0x1b7)),{spawn}=require(a15_0x185a5b(0x1dc)),glob=require(a15_0x185a5b(0x1cd)),pLimit=require(a15_0x185a5b(0x1f1)),logger=require(a15_0x185a5b(0x1bb))[a15_0x185a5b(0x1e6)],helper=require(a15_0x185a5b(0x16f)),utilities=require(a15_0x185a5b(0x1b9)),constants=require(a15_0x185a5b(0x17e)),TestHubHandler=require(a15_0x185a5b(0x1a7)),testOpsHelper=require(a15_0x185a5b(0x187)),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require(a15_0x185a5b(0x1d8)),PerformanceTester=require(a15_0x185a5b(0x1fc)),PerformanceEvents=require(a15_0x185a5b(0x1b2))[a15_0x185a5b(0x1e2)],BrowserstackCLI=require(a15_0x185a5b(0x19d)),{checkPwandBootstrapCli}=require(a15_0x185a5b(0x1c9)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x185a5b(0x1c3)),getMaxWorkers=(_0x5d5097,_0x10e3a4)=>{const _0x257591=a15_0x185a5b,_0x19e2c5={'ACDTZ':function(_0x5cc008,_0x526116){return _0x5cc008(_0x526116);}};let _0x387dfb=0x1;if(!helper['isUndefined'](_0x10e3a4[_0x257591(0x1d0)]))_0x387dfb=_0x19e2c5[_0x257591(0x1d5)](parseInt,_0x10e3a4[_0x257591(0x1d0)]);else!helper[_0x257591(0x1be)](_0x5d5097[_0x257591(0x1cc)])&&(_0x387dfb=_0x5d5097[_0x257591(0x1cc)]);return _0x387dfb;},resolveJasmineConfigPath=()=>{const _0x439115=a15_0x185a5b,_0x1b21b9={};_0x1b21b9[_0x439115(0x156)]=_0x439115(0x197);const _0x1d9ad7=_0x1b21b9,_0x1c3257=[];process['env'][_0x439115(0x1a1)]&&_0x1c3257[_0x439115(0x1d7)](path['resolve'](process[_0x439115(0x165)](),process[_0x439115(0x155)]['JASMINE_CONFIG_PATH']));_0x1c3257[_0x439115(0x1d7)](path[_0x439115(0x171)](process['cwd'](),_0x1d9ad7['qwuKz']));for(const _0x2978f0 of _0x1c3257){try{if(fs['existsSync'](_0x2978f0))return _0x2978f0;}catch(_0x168066){}}return null;},enumerateSpecFiles=_0x40b11a=>{const _0xe5cca4=a15_0x185a5b,_0x2c0ebf={'ufRES':function(_0x34a224,_0x423735){return _0x34a224(_0x423735);},'LoGxS':function(_0x2c2132,_0x193188){return _0x2c2132>_0x193188;},'SShUm':function(_0x3cc79b,_0xd50fc8){return _0x3cc79b(_0xd50fc8);},'zCOGj':function(_0x157b70,_0x103214){return _0x157b70<_0x103214;},'tBIug':function(_0x41765,_0x13b653){return _0x41765===_0x13b653;},'azVlD':_0xe5cca4(0x18b),'sqyKa':function(_0x91b48f,_0x444110){return _0x91b48f>_0x444110;},'NDgJI':function(_0x4c4c5d,_0x3abb6f,_0x3a9671){return _0x4c4c5d(_0x3abb6f,_0x3a9671);},'QZwSU':function(_0x2bbcd7,_0x2d2a96){return _0x2bbcd7>_0x2d2a96;},'uHFuj':function(_0x1dffc6){return _0x1dffc6();},'udgQb':'utf8','aQziE':_0xe5cca4(0x1dd),'vBFpX':function(_0x5ef734,_0x4df487){return _0x5ef734>_0x4df487;},'XQByE':_0xe5cca4(0x1c1),'beKQX':function(_0x510533,_0x1c2948){return _0x510533(_0x1c2948);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1ba1f3=testOpsHelper['parseFileNames'](process['env'][_0xe5cca4(0x1ce)]);if(Array[_0xe5cca4(0x181)](_0x1ba1f3)&&_0x2c0ebf[_0xe5cca4(0x1c4)](_0x1ba1f3['length'],0x0))return _0x1ba1f3[_0xe5cca4(0x1cf)](_0x30d93c=>path[_0xe5cca4(0x171)](process[_0xe5cca4(0x165)](),_0x30d93c[_0xe5cca4(0x178)]()))['filter'](Boolean);}}catch(_0x28122d){_0x2c0ebf[_0xe5cca4(0x18d)](debug,_0xe5cca4(0x177)+util[_0xe5cca4(0x198)](_0x28122d));}const _0x5e5105=[];try{for(let _0x3ae1a4=0x1;_0x2c0ebf[_0xe5cca4(0x194)](_0x3ae1a4,_0x40b11a[_0xe5cca4(0x1bf)]);_0x3ae1a4++){const _0xe3ad8f=_0x40b11a[_0x3ae1a4];_0x2c0ebf[_0xe5cca4(0x1c6)](typeof _0xe3ad8f,_0x2c0ebf['azVlD'])&&!_0xe3ad8f[_0xe5cca4(0x17c)]('-')&&_0x5e5105[_0xe5cca4(0x1d7)](_0xe3ad8f);}}catch(_0x448b02){}const _0x10d1e1={'cwd':process[_0xe5cca4(0x165)](),'absolute':!![],'nodir':!![]},_0x5dbcd3=(_0x43189b,_0x1a63c2)=>{const _0x14b73a=_0xe5cca4,_0x235f5a=[];for(const _0x22aeb5 of _0x43189b){try{const _0x37a9b0=_0x1a63c2?path[_0x14b73a(0x1e0)][_0x14b73a(0x1b5)](_0x1a63c2,_0x22aeb5):_0x22aeb5,_0x1120d5=glob[_0x14b73a(0x164)](_0x37a9b0,_0x10d1e1);Array['isArray'](_0x1120d5)&&_0x235f5a['push'](..._0x1120d5);}catch(_0x1bcb3b){_0x2c0ebf['ufRES'](debug,_0x14b73a(0x18a)+_0x22aeb5+_0x14b73a(0x15c)+util[_0x14b73a(0x198)](_0x1bcb3b));}}return _0x235f5a;};if(_0x2c0ebf['sqyKa'](_0x5e5105['length'],0x0)){const _0x152cb0=_0x2c0ebf[_0xe5cca4(0x172)](_0x5dbcd3,_0x5e5105,null);if(_0x2c0ebf[_0xe5cca4(0x16c)](_0x152cb0[_0xe5cca4(0x1bf)],0x0))return Array[_0xe5cca4(0x190)](new Set(_0x152cb0));return _0x5e5105[_0xe5cca4(0x1cf)](_0x5a9d7b=>path['resolve'](process[_0xe5cca4(0x165)](),_0x5a9d7b));}try{const _0x5a9eaf=_0x2c0ebf[_0xe5cca4(0x189)](resolveJasmineConfigPath);if(_0x5a9eaf){const _0x1ca694=JSON[_0xe5cca4(0x1f3)](fs[_0xe5cca4(0x16e)](_0x5a9eaf,_0x2c0ebf[_0xe5cca4(0x19c)])),_0x419e4f=_0x1ca694[_0xe5cca4(0x1ab)]||_0x2c0ebf[_0xe5cca4(0x1de)],_0x4e07d7=Array[_0xe5cca4(0x181)](_0x1ca694[_0xe5cca4(0x163)])&&_0x2c0ebf[_0xe5cca4(0x158)](_0x1ca694['spec_files']['length'],0x0)?_0x1ca694['spec_files']:[_0x2c0ebf['XQByE']],_0x141788=_0x2c0ebf[_0xe5cca4(0x172)](_0x5dbcd3,_0x4e07d7,_0x419e4f);if(_0x2c0ebf[_0xe5cca4(0x1c4)](_0x141788[_0xe5cca4(0x1bf)],0x0))return Array[_0xe5cca4(0x190)](new Set(_0x141788));}}catch(_0x57c487){_0x2c0ebf[_0xe5cca4(0x1ec)](debug,_0xe5cca4(0x1ca)+util[_0xe5cca4(0x198)](_0x57c487));}return null;};function a15_0x265c(_0x5cc503,_0x46bf6d){const _0x17385e=a15_0x1738();return a15_0x265c=function(_0x265c26,_0x458d66){_0x265c26=_0x265c26-0x154;let _0x46adfe=_0x17385e[_0x265c26];return _0x46adfe;},a15_0x265c(_0x5cc503,_0x46bf6d);}function a15_0x1738(){const _0x4d94d3=['finalExecution','spec_dir','info','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','debug','error','Etlpx','SDK_CLEANUP','../../helpers/performance/constants','2803149FFiCqZ','JASMINE','join','close','util',',\x20specs=','../../helpers/utilities','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','../../helpers/logger','10878GnQEgA','aJuvX','isUndefined','length','NyARr','**/*[sS]pec.?(m)js','135SPQcCU','../../helpers/puppeteer-helper','LoGxS','cpzzq','tBIug','isCLIEnabled','ueDXC','../../helpers/playwright-helper','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','__isPuppeteerInstalled','maxWorkers','glob','BROWSERSTACK_RERUN_TESTS','map','parallelsPerPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ylVvx','HJACI','GANrr','ACDTZ','sHqol','push','../../helpers/test-observability/constants','getTCGConfigFilePaths','\x20work-item(s),\x20max\x20','stop','child_process','spec','aQziE','jasmine\x20child\x20(platformIndex=','posix','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','EVENTS','@playwright/test','zjGqV','jasmine','winstonLogger','BROWSERSTACK_CAPABILITIES','uHOMm','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','gfApC','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','beKQX','testObservability','8fMhexo','exitCode',')\x20exited\x20with\x20code\x20','p-limit','tGhtx','parse','stringify','evGty','platformIndex','binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','accessibilityOptions','initialize','existsSync','../../helpers/performance/performance-tester','wpOZc','getPackageVersion','PlHtf','all','wsPXo','env','qwuKz','vAQCX','vBFpX','TFKIq','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','\x20platform(s),\x20parallelsPerPlatform=','\x27\x20:\x20',')\x20:\x20','XFjTG','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','\x20concurrent)','20518597ZEqbkM','proxySettings','spec_files','globSync','cwd','118rPksIj','test.setup.js','QQRaZ','config','Yuhgs','ufqHa','QZwSU','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','readFileSync','../../helpers/helper','trJrW','resolve','NDgJI','filter','aGrPq','ubUBz','SgXAs','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','trim','error\x20removing\x20tcg\x20config\x20file','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20',';\x20proceeding\x20without\x20injection','startsWith','__isPlaywrightInstalled','../utils/constants','getInstance','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isArray','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','specArgs','slice','BROWSERSTACK_JASMINE_PARALLELS','../../helpers/test-observability/utils','Running\x20your\x20Jasmine\x20tests\x20across\x20','uHFuj','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','string','1579123BFGtbC','SShUm','find','GKJMH','from','logLevel','zNssQ','qUmhT','zCOGj','prepareCapabilities','platforms','spec/support/jasmine.json','format','20tSzdpc','1252050SEqTPH','SDK_SETUP','udgQb','../v2/browserstackCLI','inherit','FRAMEWORKS','61324RwlZxP','JASMINE_CONFIG_PATH','assign','setupTCGAuth','4835346SmmBCh','unlinkSync','ovjrc','../../helpers/testhub/testhubHandler','vBkPC','isBrowserstackInfra'];a15_0x1738=function(){return _0x4d94d3;};return a15_0x1738();}async function run(_0x6f9100,_0x210f4f,_0x2e5e2c){const _0x24111f=a15_0x185a5b,_0x43e558={'aJuvX':function(_0x53be85,_0x5d0b7e){return _0x53be85>_0x5d0b7e;},'cpzzq':function(_0x5d36ba,_0x141f67){return _0x5d36ba>_0x141f67;},'trJrW':_0x24111f(0x200),'wsPXo':function(_0x237804,_0x2c84f6){return _0x237804(_0x2c84f6);},'PlHtf':function(_0x24390a,_0x36aa08){return _0x24390a||_0x36aa08;},'wpOZc':function(_0x66ad18,_0x51b18a){return _0x66ad18(_0x51b18a);},'ufqHa':function(_0xc3c505,_0x5a8dd0){return _0xc3c505(_0x5a8dd0);},'zjGqV':function(_0x1d94fc,_0xd4e2ec){return _0x1d94fc>_0xd4e2ec;},'Etlpx':function(_0x5318c8,_0x192a40,_0x1ad0ab,_0x2d1f03){return _0x5318c8(_0x192a40,_0x1ad0ab,_0x2d1f03);},'GANrr':'npx','KnRez':_0x24111f(0x1e5),'aGrPq':function(_0x29ee45,_0x109c19){return _0x29ee45===_0x109c19;},'TFKIq':'win32','zNssQ':_0x24111f(0x19e),'ylVvx':_0x24111f(0x1b6),'ueDXC':_0x24111f(0x1af),'qUmhT':function(_0x37303b,_0x59dbd3){return _0x37303b(_0x59dbd3);},'tjFIS':_0x24111f(0x1e3),'VuQIs':function(_0xde1063){return _0xde1063();},'rbktP':function(_0x38f43a,_0x18b77,_0x15799d,_0x3139fe){return _0x38f43a(_0x18b77,_0x15799d,_0x3139fe);},'HJACI':function(_0x40d744,_0x13314e){return _0x40d744!=_0x13314e;},'gfApC':'true','ubUBz':function(_0x5a4172,_0x2cffe1){return _0x5a4172(_0x2cffe1);},'NyARr':function(_0x50c214,_0x5b57ba,_0x34faa3){return _0x50c214(_0x5b57ba,_0x34faa3);},'nFKDa':function(_0x2e5ddb,_0x422ab6){return _0x2e5ddb*_0x422ab6;},'uHOMm':function(_0x48be55,_0x2ea737){return _0x48be55(_0x2ea737);},'LSqxa':function(_0x559c40,_0x2c44f2){return _0x559c40(_0x2c44f2);},'QQRaZ':_0x24111f(0x167),'tGhtx':function(_0x530894,_0x28d00a){return _0x530894<_0x28d00a;},'evGty':function(_0x1858ce,_0x29ebe1){return _0x1858ce>_0x29ebe1;},'SgXAs':function(_0x2c64c5,_0x59ca77){return _0x2c64c5(_0x59ca77);},'vBkPC':function(_0x305562,_0x30584f){return _0x305562>_0x30584f;},'XFjTG':_0x24111f(0x179)},_0x2bdeeb=helper[_0x24111f(0x1fe)](_0x43e558['tjFIS']);global[_0x24111f(0x17d)]=!!_0x2bdeeb;const _0x1617fa=_0x43e558['VuQIs'](getPuppeteerVersion);global[_0x24111f(0x1cb)]=!!_0x1617fa;helper[_0x24111f(0x1a9)]()?(await _0x2e5e2c[_0x24111f(0x1fa)](_0x6f9100),await helper['handleApp'](_0x2e5e2c[_0x24111f(0x169)])):await _0x2e5e2c[_0x24111f(0x1a3)]();if(_0x2bdeeb)await _0x43e558['rbktP'](checkPwandBootstrapCli,_0x2bdeeb,constants[_0x24111f(0x19f)][_0x24111f(0x1b4)],_0x2e5e2c);else _0x1617fa&&await _0x43e558['Etlpx'](checkPuppeteerAndBootstrapCli,_0x1617fa,constants[_0x24111f(0x19f)][_0x24111f(0x1b4)],_0x2e5e2c);if(!_0x2e5e2c[_0x24111f(0x169)])return;_0x43e558[_0x24111f(0x1d3)](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1ed)],null)?process['env'][_0x24111f(0x182)]=_0x2e5e2c[_0x24111f(0x169)]['testObservability']:process[_0x24111f(0x155)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x43e558[_0x24111f(0x1ea)];!helper['isUndefined'](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1f9)])&&(process[_0x24111f(0x155)][_0x24111f(0x1d1)]=JSON['stringify'](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1f9)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS['JASMINE'],_0x2e5e2c);}catch(_0x8bb839){logger[_0x24111f(0x1af)](_0x24111f(0x15a)+util[_0x24111f(0x198)](_0x8bb839)),_0x43e558[_0x24111f(0x193)](debug,_0x24111f(0x16d)+util['format'](_0x8bb839));}let _0x55ae62=![],_0x440f6e=[];try{_0x55ae62=helper['useW3C'](_0x2e5e2c[_0x24111f(0x169)]),_0x440f6e=helper[_0x24111f(0x195)](_0x2e5e2c['config'],_0x55ae62,constants[_0x24111f(0x19f)]['JASMINE']),process[_0x24111f(0x155)][_0x24111f(0x1e7)]=JSON['stringify'](_0x440f6e);}catch(_0x3d00ef){_0x43e558['wpOZc'](debug,_0x24111f(0x1ad)+util[_0x24111f(0x198)](_0x3d00ef));}let _0x462ace=null,_0x45f128=![];try{_0x462ace=helper['getHubUrl'](_0x2e5e2c[_0x24111f(0x169)]),_0x45f128=helper['validPlatformsPresent'](_0x2e5e2c[_0x24111f(0x169)]);}catch(_0x52a69a){_0x43e558[_0x24111f(0x175)](debug,_0x24111f(0x17a)+util[_0x24111f(0x198)](_0x52a69a));}const _0x5308d5=_0x111337=>{const _0x4102ca=_0x24111f,_0x55ae65=Array[_0x4102ca(0x181)](_0x440f6e)&&_0x43e558[_0x4102ca(0x1bd)](_0x440f6e['length'],_0x111337)?_0x440f6e[_0x111337]:Array[_0x4102ca(0x181)](_0x440f6e)&&_0x43e558[_0x4102ca(0x1c5)](_0x440f6e[_0x4102ca(0x1bf)],0x0)?_0x440f6e[0x0]:{};return{'server':_0x462ace,'capability':_0x55ae65,'proxySettings':_0x2e5e2c[_0x4102ca(0x169)][_0x4102ca(0x162)],'platform':helper['getPlatformName'](_0x55ae65),'browserStackLogLevel':_0x2e5e2c[_0x4102ca(0x169)][_0x4102ca(0x191)],'platformIndex':_0x111337,'framework':constants[_0x4102ca(0x19f)][_0x4102ca(0x1b4)],'platformCaps':_0x45f128?Object[_0x4102ca(0x1a2)]({'index':_0x111337},_0x2e5e2c[_0x4102ca(0x169)]['platforms'][_0x111337]):{'index':_0x111337}};};let _0x262fd5=0x1,_0x14e6ab=0x1,_0xd30858=0x1;try{_0x262fd5=_0x43e558[_0x24111f(0x1c0)](getMaxWorkers,_0x6f9100,_0x2e5e2c[_0x24111f(0x169)]),_0x14e6ab=_0x45f128?_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x196)]['length']:0x1,_0xd30858=_0x43e558['nFKDa'](_0x14e6ab,_0x262fd5),process['env'][_0x24111f(0x186)]=_0x43e558['uHOMm'](String,_0xd30858);}catch(_0x433a92){_0x43e558['LSqxa'](debug,_0x24111f(0x1ba)+util[_0x24111f(0x198)](_0x433a92));}try{BrowserstackCLI[_0x24111f(0x17f)]()[_0x24111f(0x1f7)]&&(process[_0x24111f(0x155)][_0x24111f(0x1f8)]=BrowserstackCLI['getInstance']()['binSessionId']);}catch(_0x267a06){_0x43e558['wsPXo'](debug,_0x24111f(0x15f)+util['format'](_0x267a06));}const _0x157ecb=[];try{const _0x59064d=path[_0x24111f(0x171)](__dirname,_0x43e558[_0x24111f(0x168)]);fs[_0x24111f(0x1fb)](_0x59064d)?_0x157ecb[_0x24111f(0x1d7)]('--helper='+_0x59064d):_0x43e558[_0x24111f(0x1e8)](debug,_0x24111f(0x1e9)+_0x59064d+_0x24111f(0x17b));}catch(_0x3f8f17){_0x43e558[_0x24111f(0x175)](debug,_0x24111f(0x1e1)+util[_0x24111f(0x198)](_0x3f8f17));}const _0x32c846=_0x210f4f[_0x24111f(0x185)](0x1),_0x2f4b04=_0x43e558['LSqxa'](enumerateSpecFiles,_0x210f4f),_0x1f09ec=[];for(let _0x47536b=0x0;_0x43e558[_0x24111f(0x1f2)](_0x47536b,_0x14e6ab);_0x47536b++){if(_0x43e558[_0x24111f(0x1f5)](_0x262fd5,0x1)&&Array[_0x24111f(0x181)](_0x2f4b04)&&_0x43e558[_0x24111f(0x1bd)](_0x2f4b04[_0x24111f(0x1bf)],0x0))for(const _0x237075 of _0x2f4b04){const _0x3c0d6f={};_0x3c0d6f[_0x24111f(0x1f6)]=_0x47536b,_0x3c0d6f['specArgs']=[_0x237075],_0x1f09ec[_0x24111f(0x1d7)](_0x3c0d6f);}else{const _0x506700={};_0x506700[_0x24111f(0x1f6)]=_0x47536b,_0x506700['specArgs']=_0x2f4b04,_0x1f09ec['push'](_0x506700);}}logger[_0x24111f(0x1ac)](_0x24111f(0x188)+_0x14e6ab+_0x24111f(0x15b)+_0x262fd5+'\x20('+_0x1f09ec[_0x24111f(0x1bf)]+_0x24111f(0x1da)+_0xd30858+_0x24111f(0x160)),PerformanceTester['end'](PerformanceEvents[_0x24111f(0x19b)]);const _0x29e179=_0x3d37ee=>new Promise(_0x3b6dcd=>{const _0xe936f1=_0x24111f,_0x5e4331={'Yuhgs':_0x43e558[_0xe936f1(0x170)],'GKJMH':function(_0x4b0107,_0xa3314f){return _0x43e558['wsPXo'](_0x4b0107,_0xa3314f);},'vAQCX':function(_0x19ec75,_0x2eb9a8){const _0xd4ac6f=_0xe936f1;return _0x43e558[_0xd4ac6f(0x1ff)](_0x19ec75,_0x2eb9a8);},'sHqol':function(_0xc5de01,_0x822c71){const _0x524375=_0xe936f1;return _0x43e558[_0x524375(0x1fd)](_0xc5de01,_0x822c71);},'ovjrc':function(_0x261191,_0x4981cc){return _0x43e558['wsPXo'](_0x261191,_0x4981cc);}};let _0x3e8f87;try{const _0x186b1f=_0x43e558[_0xe936f1(0x154)](_0x5308d5,_0x3d37ee['platformIndex']);_0x3e8f87=Object[_0xe936f1(0x1a2)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0xe936f1(0x1f4)](_0x186b1f),'BROWSERSTACK_CAPABILITIES':JSON[_0xe936f1(0x1f4)]([_0x186b1f['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x46ab9b){_0x43e558[_0xe936f1(0x16b)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x3d37ee[_0xe936f1(0x1f6)]+'\x20:\x20'+util[_0xe936f1(0x198)](_0x46ab9b)),_0x3e8f87=Object['assign']({},process[_0xe936f1(0x155)]);}const _0x5c4012=Array[_0xe936f1(0x181)](_0x3d37ee[_0xe936f1(0x184)])?_0x3d37ee[_0xe936f1(0x184)]:[],_0x27abb2=_0x43e558[_0xe936f1(0x1e4)](_0x5c4012['length'],0x0)?_0x32c846[_0xe936f1(0x173)](_0x55213f=>typeof _0x55213f===_0xe936f1(0x18b)&&_0x55213f[_0xe936f1(0x17c)]('-')):_0x32c846,_0x1fde48=[..._0x157ecb,..._0x27abb2,..._0x5c4012];try{const _0xccddc6=_0x43e558[_0xe936f1(0x1b0)](spawn,_0x43e558[_0xe936f1(0x1d4)],[_0x43e558['KnRez'],..._0x1fde48],{'shell':_0x43e558[_0xe936f1(0x174)](process['platform'],_0x43e558[_0xe936f1(0x159)]),'stdio':_0x43e558[_0xe936f1(0x192)],'env':_0x3e8f87});_0xccddc6['on'](_0x43e558[_0xe936f1(0x1d2)],_0x3539ac=>{const _0x5071ad=_0xe936f1;logger[_0x5071ad(0x1ae)](_0x5071ad(0x1df)+_0x3d37ee['platformIndex']+_0x5071ad(0x1b8)+(_0x5c4012[_0x5071ad(0x1bf)]?_0x5c4012['join'](','):_0x5e4331[_0x5071ad(0x16a)])+_0x5071ad(0x1f0)+_0x3539ac),_0x5e4331[_0x5071ad(0x18f)](_0x3b6dcd,_0x5e4331[_0x5071ad(0x157)](_0x3539ac,0x0));}),_0xccddc6['on'](_0x43e558[_0xe936f1(0x1c8)],_0xce53e9=>{const _0xb53c9f=_0xe936f1;_0x5e4331[_0xb53c9f(0x1d6)](debug,_0xb53c9f(0x1eb)+_0x3d37ee[_0xb53c9f(0x1f6)]+_0xb53c9f(0x15d)+util[_0xb53c9f(0x198)](_0xce53e9)),_0x5e4331[_0xb53c9f(0x1a6)](_0x3b6dcd,0x1);});}catch(_0x401133){_0x43e558[_0xe936f1(0x193)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x3d37ee['platformIndex']+')\x20:\x20'+util[_0xe936f1(0x198)](_0x401133)),_0x43e558[_0xe936f1(0x193)](_0x3b6dcd,0x1);}}),_0x46b3a9=_0x43e558[_0x24111f(0x176)](pLimit,_0x43e558[_0x24111f(0x1a8)](_0xd30858,0x0)?_0xd30858:0x1),_0x4eac07=await Promise[_0x24111f(0x200)](_0x1f09ec['map'](_0x9b592d=>_0x46b3a9(()=>_0x29e179(_0x9b592d))));PerformanceTester['start'](PerformanceEvents[_0x24111f(0x1b1)]);const _0x3d8356=_0x4eac07[_0x24111f(0x18e)](_0x67b77c=>_0x67b77c!==0x0)||0x0;process[_0x24111f(0x1ef)]=_0x3d8356,logger['debug']('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x3d8356);const _0x1c1d8f=BrowserstackCLI[_0x24111f(0x1c7)]();try{await TestHubHandler[_0x24111f(0x1db)](),await BrowserstackCLI[_0x24111f(0x17f)]()[_0x24111f(0x1db)]();}catch(_0x36f885){_0x43e558[_0x24111f(0x16b)](debug,_0x24111f(0x180)+util[_0x24111f(0x198)](_0x36f885));}try{const {browserstackFolderPath:_0x3d8312,tcgConfigPath:_0x42c23f}=helper[_0x24111f(0x1d9)]();fs[_0x24111f(0x1a5)](_0x42c23f),fs['rmdirSync'](_0x3d8312);}catch(_0x2dbd84){logger[_0x24111f(0x1ae)](_0x43e558[_0x24111f(0x15e)],_0x2dbd84);}testOpsHelper['printBuildLink'](),await utilities[_0x24111f(0x1aa)](_0x2e5e2c,_0x1c1d8f);}module[a15_0x185a5b(0x183)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x523d4b=a16_0x2870;(function(_0x2c9fef,_0x545e3f){const _0x41862f=a16_0x2870,_0x459759=_0x2c9fef();while(!![]){try{const _0x18d65d=parseInt(_0x41862f(0x19c))/0x1+parseInt(_0x41862f(0x172))/0x2+-parseInt(_0x41862f(0x18e))/0x3+-parseInt(_0x41862f(0x16c))/0x4+-parseInt(_0x41862f(0x15d))/0x5*(parseInt(_0x41862f(0x160))/0x6)+parseInt(_0x41862f(0x173))/0x7*(parseInt(_0x41862f(0x168))/0x8)+parseInt(_0x41862f(0x165))/0x9*(-parseInt(_0x41862f(0x1a0))/0xa);if(_0x18d65d===_0x545e3f)break;else _0x459759['push'](_0x459759['shift']());}catch(_0x549a03){_0x459759['push'](_0x459759['shift']());}}}(a16_0x570d,0x2e2bc));const util=require('util'),logger=require(a16_0x523d4b(0x194))['winstonLogger'],helper=require(a16_0x523d4b(0x1c9)),globals=require(a16_0x523d4b(0x16e)),{shouldProcessEventForTesthub}=require(a16_0x523d4b(0x175)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x523d4b(0x1a7)),accessibilityRetryHelper=require(a16_0x523d4b(0x1cc)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x523d4b(0x1a5)]['BROWSERSTACK_JASMINE_CONFIG']||process[a16_0x523d4b(0x1a5)][a16_0x523d4b(0x1d2)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x523d4b(0x1a6)](rawConfig));}catch(a16_0x24a3e2){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x19f)+util['format'](a16_0x24a3e2));}try{if(_bstackConfig&&!helper[a16_0x523d4b(0x1ae)](a16_0x523d4b(0x1b2))){const QOATVq=a16_0x523d4b(0x1bf)['split']('|');let FnstKx=0x0;while(!![]){switch(QOATVq[FnstKx++]){case'0':global[a16_0x523d4b(0x161)]=_bstackConfig[a16_0x523d4b(0x1b1)]||{};continue;case'1':logger['debug'](a16_0x523d4b(0x1c7));continue;case'2':helper[a16_0x523d4b(0x16a)]()?(global[a16_0x523d4b(0x18c)]=helper[a16_0x523d4b(0x166)](_bstackConfig[a16_0x523d4b(0x16b)]),global[a16_0x523d4b(0x174)]=helper['isTrue'](_bstackConfig[a16_0x523d4b(0x1c0)])):(global[a16_0x523d4b(0x18c)]=!![],global[a16_0x523d4b(0x174)]=!![]);continue;case'3':global[a16_0x523d4b(0x16d)]=_bstackConfig['platformIndex'];continue;case'4':shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x523d4b(0x1b8))[a16_0x523d4b(0x1b0)](_bstackConfig);continue;}break;}}}catch(a16_0x88062e){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x190)+util['format'](a16_0x88062e));}function a16_0x570d(){const _0x464533=['jasmine','\x22}}','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','SVsJX','../../helpers/helper',',\x22level\x22:\x20\x22','Spec\x20failed','../../helpers/accessibility-automation/accessibilityRetryHelper','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','cqnHS','browserstackSessionName','cWBIW','length','CONFIG','getEnv','warn','sep','failed','./bstack-reporter/customReporter','KuKJe','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','fileNameByFullName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','bstackA11yScanOptions','RjSfK','isArray','describe','includes','ENV_VAR','335sANizg','fadjA','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','7770hoNYlN','__platformCaps','hAPAf','keys','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','215001XrugqT','isTrue','saveAccessibilityResultsWithRetry','464pbpCOG','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','isBrowserstackInfra','skipSessionName','258340PxROkJ','browserstackPlatformIndex','../../helpers/globals','eBIPD','executeScript','forEach','478610CDLZZH','21875ErGQiN','__skipSessionStatus','../../helpers/testhub/utils','format','mLpHr','addReporter','failedExpectations','message','join','zaniw','undefined','jasmine-core','HwnpD','UpDWh','fullName','FTujv','thJwtToken','__sessionFailed','isAccessibilityPlatform','__drivers','cBmTU','bin','BROWSERSTACK_TESTHUB_UUID','getGlobal','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','__skipSessionName','NHfyY','233586iMqzQS','vpTni','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','qPZfX','Zwxzn','xkIUS','../../helpers/logger','bstackA11yShouldScan','cqcRa','is_mobile_session','sessionName','isMobilePlatform','exports','markSessionStatus','117218pizNdd','function','passed','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','50OgrbCQ','Failed:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','eBFab','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','env','parse','../../helpers/accessibility-automation/helper','cAGUG','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','stringify','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','getPackageVersion','setGlobal','browserstackAgentV2','platformCaps','@playwright/test','performScanWithRetry','YogDe','debug','PKXap','LvrJr','../../index','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','node:','startsWith','getFileName','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','1|4|0|3|2','skipSessionStatus','WPDiM','error','pop','get'];a16_0x570d=function(){return _0x464533;};return a16_0x570d();}const _fileNameByFullName={};try{if(typeof describe===a16_0x523d4b(0x19d)&&typeof global!==a16_0x523d4b(0x17d)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x35556f=a16_0x523d4b,_0x2e6e7c={'NHfyY':function(_0x41fcd5,_0x38bbd4){return _0x41fcd5(_0x38bbd4);},'YogDe':'path','cAGUG':function(_0x4ebf29,_0xaf7ecc){return _0x4ebf29(_0xaf7ecc);},'xkIUS':_0x35556f(0x1bb),'LvrJr':_0x35556f(0x17e)},_0xb6374e=Error['prepareStackTrace'];try{const _0x28d41f=new Error();Error[_0x35556f(0x1b9)]=(_0x335bf4,_0x620a38)=>_0x620a38;const _0x121b4b=_0x28d41f['stack'];Error[_0x35556f(0x1b9)]=_0xb6374e;if(Array['isArray'](_0x121b4b))for(const _0x536400 of _0x121b4b){const _0x2dd452=_0x536400['getFileName']&&_0x536400[_0x35556f(0x1bd)]();if(_0x2dd452&&!_0x2dd452[_0x35556f(0x15b)](_0x35556f(0x188)+_0x2e6e7c[_0x35556f(0x18d)](require,_0x2e6e7c[_0x35556f(0x1b4)])['sep']+_0x35556f(0x1c5)+_0x2e6e7c[_0x35556f(0x1a8)](require,_0x2e6e7c[_0x35556f(0x1b4)])[_0x35556f(0x1d5)])&&!_0x2dd452[_0x35556f(0x1bc)](_0x2e6e7c[_0x35556f(0x193)])&&!_0x2dd452[_0x35556f(0x15b)](_0x2e6e7c[_0x35556f(0x1b7)]))return _0x2dd452;}}catch(_0x1ff7dd){Error[_0x35556f(0x1b9)]=_0xb6374e;}return null;},_wrappedDescribe=function(_0x42c148,_0xdf8b21){const _0x120515=a16_0x523d4b,_0x18792e={'RjSfK':function(_0x51ed11){return _0x51ed11();},'rSnkt':function(_0x1146fc,_0x4cb235){return _0x1146fc&&_0x4cb235;},'cqnHS':function(_0x4464c2,_0x4c1d7b,_0x3a07f2){return _0x4464c2(_0x4c1d7b,_0x3a07f2);}};let _0x4a4f8d=null;try{_0x4a4f8d=_0x18792e[_0x120515(0x1dd)](_resolveCallerFile);}catch(_0x15f132){}_describeTitleStack['push'](_0x42c148);const _0x25e499=_describeTitleStack[_0x120515(0x17b)]('\x20');_0x18792e['rSnkt'](_0x4a4f8d,_0x25e499)&&(_fileNameByFullName[_0x25e499]=_0x4a4f8d);try{return _0x18792e[_0x120515(0x1ce)](_origDescribe,_0x42c148,_0xdf8b21);}finally{_describeTitleStack[_0x120515(0x1c3)]();}};Object[a16_0x523d4b(0x163)](_origDescribe)[a16_0x523d4b(0x171)](_0x3275e6=>{_wrappedDescribe[_0x3275e6]=_origDescribe[_0x3275e6];}),global[a16_0x523d4b(0x1df)]=_wrappedDescribe;}}catch(a16_0xd06b09){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1a2)+util['format'](a16_0xd06b09));}try{if(typeof jasmine!=='undefined'&&jasmine[a16_0x523d4b(0x1d3)]){const BrowserStackJasmineReporter=require(a16_0x523d4b(0x1d7)),a16_0x4cd6c1={};a16_0x4cd6c1[a16_0x523d4b(0x1da)]=_fileNameByFullName,jasmine[a16_0x523d4b(0x1d3)]()[a16_0x523d4b(0x178)](new BrowserStackJasmineReporter(a16_0x4cd6c1)),logger['debug'](a16_0x523d4b(0x1ad));}else logger['debug'](a16_0x523d4b(0x1db));}catch(a16_0x4bc80d){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1a9)+util[a16_0x523d4b(0x176)](a16_0x4bc80d));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x523d4b(0x1d3)]&&jasmine[a16_0x523d4b(0x1d3)]()[a16_0x523d4b(0x178)]({'specStarted'(_0x4bf5a6){const _0x4511ed=a16_0x523d4b,_0x4ff991={};_0x4ff991[_0x4511ed(0x16f)]=function(_0x33d4bc,_0x435b8b){return _0x33d4bc||_0x435b8b;};const _0x30e5eb=_0x4ff991;_activeResultId=_0x4bf5a6&&_0x4bf5a6['id'],_activeFullName=_0x4bf5a6&&_0x4bf5a6[_0x4511ed(0x181)],_activeResultRef=_0x30e5eb[_0x4511ed(0x16f)](_0x4bf5a6,null);},'specDone'(){}});}catch(a16_0x3a715d){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1be)+util[a16_0x523d4b(0x176)](a16_0x3a715d));}function a16_0x2870(_0x3d527b,_0x44450e){const _0x570dab=a16_0x570d();return a16_0x2870=function(_0x28700a,_0x413d94){_0x28700a=_0x28700a-0x15b;let _0x3d8e62=_0x570dab[_0x28700a];return _0x3d8e62;},a16_0x2870(_0x3d527b,_0x44450e);}const _resolveAutoScanning=()=>{const _0x236906=a16_0x523d4b,_0x213ee3={};_0x213ee3['qPZfX']=function(_0x47ee52,_0x208c74){return _0x47ee52===_0x208c74;};const _0x4437bc=_0x213ee3;let _0x5d48bf=!![];try{const _0x3fb107=JSON[_0x236906(0x1a6)](process[_0x236906(0x1a5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4437bc[_0x236906(0x191)](_0x3fb107['autoScanning'],![])&&(_0x5d48bf=![]);}catch(_0x596e14){logger['debug']('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x596e14['message']);}return _0x5d48bf;};try{typeof beforeEach===a16_0x523d4b(0x19d)&&beforeEach(function bstackA11yBeforeEach(){const _0x3e44ab=a16_0x523d4b,_0x171374={'VIoQY':function(_0x45d62f){return _0x45d62f();},'WPDiM':function(_0x142b6b,_0xffc157,_0x51d526){return _0x142b6b(_0xffc157,_0x51d526);},'XLAuU':function(_0x53f495,_0x25340a){return _0x53f495&&_0x25340a;},'RWRom':_0x3e44ab(0x195),'cWBIW':_0x3e44ab(0x1dc)};try{const _0x4ad53a=_0x171374['VIoQY'](_resolveAutoScanning),_0x5538c6=_0x171374[_0x3e44ab(0x1c1)](shouldScanTestForAccessibility,null,![]),_0x4bd70d=_0x171374['XLAuU'](_0x4ad53a,_0x5538c6);globals[_0x3e44ab(0x1af)](_0x171374['RWRom'],_0x4bd70d),globals[_0x3e44ab(0x1af)](_0x171374[_0x3e44ab(0x1d0)],null);}catch(_0x3ea9b9){logger[_0x3e44ab(0x1b5)](_0x3e44ab(0x1ba)+util[_0x3e44ab(0x176)](_0x3ea9b9));}}),typeof afterEach===a16_0x523d4b(0x19d)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x184cca=a16_0x523d4b,_0x5ed9e9={'HwnpD':function(_0x13ce7b,_0x1b5839){return _0x13ce7b>_0x1b5839;},'SVsJX':function(_0x585f80,_0x3bdd88){return _0x585f80>_0x3bdd88;},'TfJGO':_0x184cca(0x1cb),'KuKJe':function(_0x15f00b,_0x596497){return _0x15f00b+_0x596497;},'UpDWh':_0x184cca(0x1a1),'cBmTU':'Passed','FTujv':'error','GYuHV':'info','hAPAf':_0x184cca(0x1d6),'czzKh':_0x184cca(0x19e),'msDjx':function(_0xef6bd1){return _0xef6bd1();},'PKXap':_0x184cca(0x185),'ZfGPt':function(_0x548000,_0x366bac){return _0x548000>_0x366bac;},'VQiAh':_0x184cca(0x195),'mLpHr':_0x184cca(0x1d9),'zaniw':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','Zwxzn':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','cqcRa':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','fadjA':_0x184cca(0x199),'eBFab':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','vpTni':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x184cca(0x1de)](global[_0x184cca(0x186)])&&_0x5ed9e9[_0x184cca(0x17f)](global[_0x184cca(0x186)][_0x184cca(0x1d1)],0x0)&&global[_0x184cca(0x186)][0x0]){const _0x4abeb7=_activeFullName||global[_0x184cca(0x198)];if(!global['__skipSessionName']&&_0x4abeb7){global[_0x184cca(0x198)]=_0x4abeb7;try{await global[_0x184cca(0x186)][0x0][_0x184cca(0x170)](_0x184cca(0x1a4)+JSON[_0x184cca(0x1aa)](_0x4abeb7)+'}}'),global[_0x184cca(0x186)][0x0][_0x184cca(0x1ab)]=!![];}catch(_0x3d75f9){logger[_0x184cca(0x1b5)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x3d75f9));}}if(!global[_0x184cca(0x174)])try{const _0x310c18=_activeResultRef&&Array[_0x184cca(0x1de)](_activeResultRef[_0x184cca(0x179)])?_activeResultRef[_0x184cca(0x179)]:[],_0x3f623b=_0x5ed9e9[_0x184cca(0x1c8)](_0x310c18['length'],0x0),_0x59acd0=_0x3f623b?_0x310c18[0x0]&&_0x310c18[0x0][_0x184cca(0x17a)]||_0x5ed9e9['TfJGO']:null;try{await global[_0x184cca(0x186)][0x0][_0x184cca(0x170)](_0x184cca(0x1ac)+JSON[_0x184cca(0x1aa)](_0x3f623b?_0x5ed9e9[_0x184cca(0x1d8)](_0x5ed9e9[_0x184cca(0x180)],_0x59acd0):_0x5ed9e9[_0x184cca(0x187)])+_0x184cca(0x1ca)+(_0x3f623b?_0x5ed9e9[_0x184cca(0x182)]:_0x5ed9e9['GYuHV'])+_0x184cca(0x1c6));}catch(_0x43fe03){logger[_0x184cca(0x1b5)](_0x184cca(0x169)+util[_0x184cca(0x176)](_0x43fe03));}_0x3f623b&&(global[_0x184cca(0x184)]=!![]),await helper[_0x184cca(0x19b)](global[_0x184cca(0x186)][0x0],_0x3f623b?_0x5ed9e9[_0x184cca(0x162)]:_0x5ed9e9['czzKh'],_0x59acd0);}catch(_0x2d2154){logger[_0x184cca(0x1b5)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x184cca(0x176)](_0x2d2154));}}}catch(_0x47e5fa){logger[_0x184cca(0x1b5)](_0x184cca(0x1cd)+util[_0x184cca(0x176)](_0x47e5fa));}try{if(_0x5ed9e9['msDjx'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x5ed9e9[_0x184cca(0x1b6)])&&Array[_0x184cca(0x1de)](global[_0x184cca(0x186)])&&_0x5ed9e9['ZfGPt'](global['__drivers'][_0x184cca(0x1d1)],0x0)&&global[_0x184cca(0x186)][0x0]){const _0x419fca=testRunMap[_0x184cca(0x1c4)](_activeResultId),_0x124d04={};_0x124d04['thTestRunUuid']=_0x419fca,_0x124d04['thBuildUuid']=process[_0x184cca(0x1a5)][testHubConstants[_0x184cca(0x15c)][_0x184cca(0x189)]],_0x124d04[_0x184cca(0x183)]=process[_0x184cca(0x1a5)][testHubConstants[_0x184cca(0x15c)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3bc910=_0x124d04;logger['debug'](_0x184cca(0x15f)+JSON[_0x184cca(0x1aa)](_0x3bc910));if(globals[_0x184cca(0x18a)](_0x5ed9e9['VQiAh'])){logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x177)]);const _0xb0bce2=await accessibilityRetryHelper[_0x184cca(0x1b3)](global[_0x184cca(0x186)][0x0],global[_0x184cca(0x1cf)]);_0xb0bce2?logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x17c)]):logger[_0x184cca(0x1d4)](_0x5ed9e9[_0x184cca(0x192)]);}else logger['debug'](_0x5ed9e9[_0x184cca(0x196)]);globals[_0x184cca(0x18a)](_0x5ed9e9[_0x184cca(0x15e)])&&(_0x3bc910[_0x184cca(0x197)]=!![]);const _0xfd7e30=await accessibilityRetryHelper[_0x184cca(0x167)](global[_0x184cca(0x186)][0x0],_0x3bc910);_0xfd7e30?logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x1a3)]):logger[_0x184cca(0x1d4)](_0x5ed9e9[_0x184cca(0x18f)]);}}catch(_0xca00ad){logger[_0x184cca(0x1c2)](_0x184cca(0x18b)+util[_0x184cca(0x176)](_0xca00ad));}});}catch(a16_0x2f9598){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x164)+util[a16_0x523d4b(0x176)](a16_0x2f9598));}module[a16_0x523d4b(0x19a)]={};
|
|
1
|
+
'use strict';const a16_0x42dd95=a16_0x1fa7;(function(_0x5f4eaf,_0x551aab){const _0x1577c7=a16_0x1fa7,_0x24bfa0=_0x5f4eaf();while(!![]){try{const _0x2b5b3d=parseInt(_0x1577c7(0x1ff))/0x1*(-parseInt(_0x1577c7(0x24b))/0x2)+-parseInt(_0x1577c7(0x205))/0x3*(-parseInt(_0x1577c7(0x1e2))/0x4)+-parseInt(_0x1577c7(0x1e8))/0x5+-parseInt(_0x1577c7(0x203))/0x6*(-parseInt(_0x1577c7(0x1f9))/0x7)+parseInt(_0x1577c7(0x220))/0x8+parseInt(_0x1577c7(0x22f))/0x9*(-parseInt(_0x1577c7(0x1f1))/0xa)+parseInt(_0x1577c7(0x247))/0xb;if(_0x2b5b3d===_0x551aab)break;else _0x24bfa0['push'](_0x24bfa0['shift']());}catch(_0x14e927){_0x24bfa0['push'](_0x24bfa0['shift']());}}}(a16_0xe377,0x5e07e));function a16_0xe377(){const _0x41dc06=['parse','warn','jasmine','__platformCaps','./bstack-reporter/customReporter','isMobilePlatform','is_mobile_session','1696328gKRafv','getFileName','autoScanning','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','vEzVW','util','forEach','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','../../index','getGlobal','NgBXQ','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','fileNameByFullName','getEnv','oEKAO','9BssvRV','@playwright/test','lsjvQ','zpJCR','info','function','wlEfp','passed','split','isAccessibilityPlatform','YWMvz','browserstackSessionName','pop','bstackA11yShouldScan','IAvfe','sep','__skipSessionStatus','sessionName','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','mcfMg','stringify','addReporter','message','platformCaps','5802632eklvzN','__sessionFailed','CONFIG','../../helpers/logger','258554URfwtJ','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jkaNL','setGlobal','zYGeY','thJwtToken','../../helpers/accessibility-automation/accessibilityRetryHelper','env','Passed','exports','debug','__drivers','browserstackAgentV2','undefined','length','zYZXH','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','12cMvuNG','../../helpers/helper','FLOzc','prepareStackTrace','oKKZF','../../helpers/accessibility-automation/helper','69430uHIgdl','get','bstackA11yScanOptions','failedExpectations','isArray','bin','format','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','fullName','3456490FHluNI','isTrue','nGbjI','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','ZdJsy','thBuildUuid','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','26509gZeHVK','__skipSessionName','MMerW','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','kYTlE','IOrDL','5NXYOlA','describe','../../helpers/testhub/utils','keys','492LzyOQR','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','340983BqmANW','executeScript','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','failed','cMBRt','stack','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','Failed:\x20','isBrowserstackInfra','getPackageVersion','performScanWithRetry','REZth','saveAccessibilityResultsWithRetry','wGZsz','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','ENV_VAR','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','error','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'];a16_0xe377=function(){return _0x41dc06;};return a16_0xe377();}const util=require(a16_0x42dd95(0x225)),logger=require(a16_0x42dd95(0x24a))[a16_0x42dd95(0x1f7)],helper=require(a16_0x42dd95(0x1e3)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x42dd95(0x201)),testHubConstants=require(a16_0x42dd95(0x215)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x42dd95(0x1e7)),accessibilityRetryHelper=require(a16_0x42dd95(0x252)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x42dd95(0x253)]['BROWSERSTACK_JASMINE_CONFIG']||process[a16_0x42dd95(0x253)][a16_0x42dd95(0x249)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x42dd95(0x219)](rawConfig));}catch(a16_0x3ef315){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util['format'](a16_0x3ef315));}function a16_0x1fa7(_0x58abc5,_0xc0b5d9){const _0xe3779b=a16_0xe377();return a16_0x1fa7=function(_0x1fa700,_0x3725e9){_0x1fa700=_0x1fa700-0x1df;let _0x369a2e=_0xe3779b[_0x1fa700];return _0x369a2e;},a16_0x1fa7(_0x58abc5,_0xc0b5d9);}try{if(_bstackConfig&&!helper[a16_0x42dd95(0x20e)](a16_0x42dd95(0x230))){const eqUjQq='0|3|4|2|1'[a16_0x42dd95(0x237)]('|');let nGBgpP=0x0;while(!![]){switch(eqUjQq[nGBgpP++]){case'0':logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x1fc));continue;case'1':helper[a16_0x42dd95(0x20d)]()?(global[a16_0x42dd95(0x1fa)]=helper[a16_0x42dd95(0x1f2)](_bstackConfig['skipSessionName']),global[a16_0x42dd95(0x23f)]=helper[a16_0x42dd95(0x1f2)](_bstackConfig['skipSessionStatus'])):(global[a16_0x42dd95(0x1fa)]=!![],global[a16_0x42dd95(0x23f)]=!![]);continue;case'2':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;case'3':shouldProcessEventForTesthub()?require(a16_0x42dd95(0x228))[a16_0x42dd95(0x258)](_bstackConfig,null,!![]):require(a16_0x42dd95(0x228))[a16_0x42dd95(0x258)](_bstackConfig);continue;case'4':global[a16_0x42dd95(0x21c)]=_bstackConfig[a16_0x42dd95(0x246)]||{};continue;}break;}}}catch(a16_0x16629a){logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x216)+util[a16_0x42dd95(0x1ee)](a16_0x16629a));}const _fileNameByFullName={};try{if(typeof describe===a16_0x42dd95(0x234)&&typeof global!==a16_0x42dd95(0x259)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x58c1a5=a16_0x42dd95,_0x5a71fc={'IAvfe':function(_0x57d6b4,_0x27c58b){return _0x57d6b4(_0x27c58b);},'oKKZF':'path','HkYFI':'node:','DFlaI':'jasmine-core'},_0x350ec5=Error[_0x58c1a5(0x1e5)];try{const _0x1f56a6=new Error();Error['prepareStackTrace']=(_0x1e38f2,_0x155323)=>_0x155323;const _0xf2a469=_0x1f56a6[_0x58c1a5(0x20a)];Error['prepareStackTrace']=_0x350ec5;if(Array[_0x58c1a5(0x1ec)](_0xf2a469))for(const _0x35143b of _0xf2a469){const _0x2d92b7=_0x35143b[_0x58c1a5(0x221)]&&_0x35143b[_0x58c1a5(0x221)]();if(_0x2d92b7&&!_0x2d92b7['includes'](_0x58c1a5(0x1ed)+_0x5a71fc['IAvfe'](require,_0x5a71fc['oKKZF'])[_0x58c1a5(0x23e)]+_0x58c1a5(0x21b)+_0x5a71fc[_0x58c1a5(0x23d)](require,_0x5a71fc[_0x58c1a5(0x1e6)])['sep'])&&!_0x2d92b7['startsWith'](_0x5a71fc['HkYFI'])&&!_0x2d92b7['includes'](_0x5a71fc['DFlaI']))return _0x2d92b7;}}catch(_0x8b5162){Error['prepareStackTrace']=_0x350ec5;}return null;},_wrappedDescribe=function(_0x50801d,_0x17bc29){const _0xb94f56=a16_0x42dd95,_0x26b61b={'FYNfv':function(_0x5e2644){return _0x5e2644();},'lsjvQ':function(_0x4e92e9,_0x18550e){return _0x4e92e9&&_0x18550e;},'mcfMg':function(_0x32da46,_0x4139b7,_0x1249e7){return _0x32da46(_0x4139b7,_0x1249e7);}};let _0xe86c80=null;try{_0xe86c80=_0x26b61b['FYNfv'](_resolveCallerFile);}catch(_0x58052f){}_describeTitleStack['push'](_0x50801d);const _0x36d862=_describeTitleStack['join']('\x20');_0x26b61b[_0xb94f56(0x231)](_0xe86c80,_0x36d862)&&(_fileNameByFullName[_0x36d862]=_0xe86c80);try{return _0x26b61b[_0xb94f56(0x242)](_origDescribe,_0x50801d,_0x17bc29);}finally{_describeTitleStack[_0xb94f56(0x23b)]();}};Object[a16_0x42dd95(0x202)](_origDescribe)[a16_0x42dd95(0x226)](_0x58e86d=>{_wrappedDescribe[_0x58e86d]=_origDescribe[_0x58e86d];}),global[a16_0x42dd95(0x200)]=_wrappedDescribe;}}catch(a16_0x3221c2){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a16_0x3221c2));}try{if(typeof jasmine!==a16_0x42dd95(0x259)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a16_0x42dd95(0x21d)),a16_0x27c8a9={};a16_0x27c8a9[a16_0x42dd95(0x22c)]=_fileNameByFullName,jasmine[a16_0x42dd95(0x22d)]()[a16_0x42dd95(0x244)](new BrowserStackJasmineReporter(a16_0x27c8a9)),logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x5e57b1){logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x213)+util[a16_0x42dd95(0x1ee)](a16_0x5e57b1));}try{typeof jasmine!==a16_0x42dd95(0x259)&&jasmine[a16_0x42dd95(0x22d)]&&jasmine[a16_0x42dd95(0x22d)]()[a16_0x42dd95(0x244)]({'specStarted'(_0x25f8bd){const _0x4f7f6b=a16_0x42dd95,_0x4a91d9={};_0x4a91d9[_0x4f7f6b(0x250)]=function(_0x36f5b2,_0x3a892f){return _0x36f5b2||_0x3a892f;};const _0x1cfe0b=_0x4a91d9;_activeResultId=_0x25f8bd&&_0x25f8bd['id'],_activeFullName=_0x25f8bd&&_0x25f8bd[_0x4f7f6b(0x1f0)],_activeResultRef=_0x1cfe0b[_0x4f7f6b(0x250)](_0x25f8bd,null);},'specDone'(){}});}catch(a16_0x536807){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x42dd95(0x1ee)](a16_0x536807));}const _resolveAutoScanning=()=>{const _0x536bb0=a16_0x42dd95,_0x3e44be={};_0x3e44be[_0x536bb0(0x232)]=function(_0x542d37,_0x3c24a7){return _0x542d37===_0x3c24a7;};const _0x29c533=_0x3e44be;let _0x108ae0=!![];try{const _0x25861a=JSON[_0x536bb0(0x219)](process[_0x536bb0(0x253)][_0x536bb0(0x1f8)]||'{}');_0x29c533[_0x536bb0(0x232)](_0x25861a[_0x536bb0(0x222)],![])&&(_0x108ae0=![]);}catch(_0x4a4e9c){logger['debug'](_0x536bb0(0x241)+_0x4a4e9c[_0x536bb0(0x245)]);}return _0x108ae0;};try{typeof beforeEach===a16_0x42dd95(0x234)&&beforeEach(function bstackA11yBeforeEach(){const _0x130c8d=a16_0x42dd95,_0x4999ba={'kYTlE':function(_0x4ebba4){return _0x4ebba4();},'ZdJsy':function(_0x9b9e86,_0xaafc78,_0x572d2a){return _0x9b9e86(_0xaafc78,_0x572d2a);},'HaUOe':function(_0x53d956,_0x1d86f0){return _0x53d956&&_0x1d86f0;},'MMerW':_0x130c8d(0x23c),'yvJyr':_0x130c8d(0x1ea)};try{const _0x2291ce=_0x4999ba[_0x130c8d(0x1fd)](_resolveAutoScanning),_0x5d007c=_0x4999ba[_0x130c8d(0x1f5)](shouldScanTestForAccessibility,null,![]),_0x136dd2=_0x4999ba['HaUOe'](_0x2291ce,_0x5d007c);globals[_0x130c8d(0x24f)](_0x4999ba[_0x130c8d(0x1fb)],_0x136dd2),globals['setGlobal'](_0x4999ba['yvJyr'],null);}catch(_0x2bc85a){logger[_0x130c8d(0x256)](_0x130c8d(0x218)+util['format'](_0x2bc85a));}}),typeof afterEach===a16_0x42dd95(0x234)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x456320=a16_0x42dd95,_0x38b546={'zYZXH':function(_0xba95d,_0x174ad4){return _0xba95d>_0x174ad4;},'csgJy':function(_0xbd875d,_0x56d018){return _0xbd875d>_0x56d018;},'Josfo':'Spec\x20failed','jkaNL':function(_0x3e4d88,_0x1ac262){return _0x3e4d88+_0x1ac262;},'wlEfp':_0x456320(0x20c),'ekzAs':_0x456320(0x254),'ynhjy':_0x456320(0x217),'YWMvz':_0x456320(0x233),'oEKAO':_0x456320(0x208),'IOrDL':_0x456320(0x236),'GxccE':function(_0x164961){return _0x164961();},'wGZsz':_0x456320(0x238),'dbElT':function(_0x18407a,_0x2968b0){return _0x18407a>_0x2968b0;},'UbeEk':_0x456320(0x23c),'pAxDx':_0x456320(0x22b),'cMBRt':_0x456320(0x227),'FLOzc':_0x456320(0x24c),'NgBXQ':_0x456320(0x207),'vEzVW':_0x456320(0x21e),'nGbjI':_0x456320(0x223),'REZth':_0x456320(0x1e1)};try{if(Array[_0x456320(0x1ec)](global[_0x456320(0x257)])&&_0x38b546[_0x456320(0x1e0)](global[_0x456320(0x257)]['length'],0x0)&&global[_0x456320(0x257)][0x0]){const _0x44746e=_activeFullName||global[_0x456320(0x240)];if(!global[_0x456320(0x1fa)]&&_0x44746e){global[_0x456320(0x240)]=_0x44746e;try{await global[_0x456320(0x257)][0x0][_0x456320(0x206)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x456320(0x243)](_0x44746e)+'}}'),global[_0x456320(0x257)][0x0]['sessionNameSet__']=!![];}catch(_0x4bc79c){logger[_0x456320(0x256)](_0x456320(0x204)+util[_0x456320(0x1ee)](_0x4bc79c));}}if(!global[_0x456320(0x23f)])try{const _0xa5aaae=_activeResultRef&&Array[_0x456320(0x1ec)](_activeResultRef[_0x456320(0x1eb)])?_activeResultRef[_0x456320(0x1eb)]:[],_0x21ece6=_0x38b546['csgJy'](_0xa5aaae[_0x456320(0x1df)],0x0),_0x51a9c2=_0x21ece6?_0xa5aaae[0x0]&&_0xa5aaae[0x0][_0x456320(0x245)]||_0x38b546['Josfo']:null;try{await global[_0x456320(0x257)][0x0][_0x456320(0x206)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x21ece6?_0x38b546[_0x456320(0x24e)](_0x38b546[_0x456320(0x235)],_0x51a9c2):_0x38b546['ekzAs'])+',\x22level\x22:\x20\x22'+(_0x21ece6?_0x38b546['ynhjy']:_0x38b546[_0x456320(0x239)])+'\x22}}');}catch(_0x1d770c){logger[_0x456320(0x256)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x456320(0x1ee)](_0x1d770c));}_0x21ece6&&(global[_0x456320(0x248)]=!![]),await helper['markSessionStatus'](global[_0x456320(0x257)][0x0],_0x21ece6?_0x38b546[_0x456320(0x22e)]:_0x38b546[_0x456320(0x1fe)],_0x51a9c2);}catch(_0x2ac115){logger[_0x456320(0x256)](_0x456320(0x20b)+util[_0x456320(0x1ee)](_0x2ac115));}}}catch(_0x35a739){logger[_0x456320(0x256)](_0x456320(0x1f4)+util[_0x456320(0x1ee)](_0x35a739));}try{if(_0x38b546['GxccE'](isAccessibilityAutomationSession)&&globals[_0x456320(0x229)](_0x38b546[_0x456320(0x212)])&&Array['isArray'](global[_0x456320(0x257)])&&_0x38b546['dbElT'](global[_0x456320(0x257)][_0x456320(0x1df)],0x0)&&global[_0x456320(0x257)][0x0]){const _0x2f067a=testRunMap[_0x456320(0x1e9)](_activeResultId),_0x55dda7={};_0x55dda7['thTestRunUuid']=_0x2f067a,_0x55dda7[_0x456320(0x1f6)]=process[_0x456320(0x253)][testHubConstants[_0x456320(0x214)]['BROWSERSTACK_TESTHUB_UUID']],_0x55dda7[_0x456320(0x251)]=process[_0x456320(0x253)][testHubConstants[_0x456320(0x214)]['BROWSERSTACK_TESTHUB_JWT']];const _0x237fa4=_0x55dda7;logger[_0x456320(0x256)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x456320(0x243)](_0x237fa4));if(globals[_0x456320(0x229)](_0x38b546['UbeEk'])){logger[_0x456320(0x256)](_0x38b546['pAxDx']);const _0x45d62e=await accessibilityRetryHelper[_0x456320(0x20f)](global[_0x456320(0x257)][0x0],global[_0x456320(0x23a)]);_0x45d62e?logger[_0x456320(0x256)](_0x38b546[_0x456320(0x209)]):logger[_0x456320(0x21a)](_0x38b546[_0x456320(0x1e4)]);}else logger[_0x456320(0x256)](_0x38b546[_0x456320(0x22a)]);globals[_0x456320(0x229)](_0x38b546[_0x456320(0x224)])&&(_0x237fa4[_0x456320(0x21f)]=!![]);const _0x23f1b3=await accessibilityRetryHelper[_0x456320(0x211)](global[_0x456320(0x257)][0x0],_0x237fa4);_0x23f1b3?logger[_0x456320(0x256)](_0x38b546[_0x456320(0x1f3)]):logger[_0x456320(0x21a)](_0x38b546[_0x456320(0x210)]);}}catch(_0x415c62){logger[_0x456320(0x217)](_0x456320(0x24d)+util[_0x456320(0x1ee)](_0x415c62));}});}catch(a16_0x5e2df8){logger['debug'](a16_0x42dd95(0x1ef)+util['format'](a16_0x5e2df8));}module[a16_0x42dd95(0x255)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a17_0x1e282e=a17_0x1cad;function a17_0x18b5(){const _0x4fa12f=['167343FcBkYD','63GmDJXf','set','123308PLKMqI','147864PwoSAu','UsrSY','delete','7678503wKFbVx','size','20SJDpUm','928EHaCoN','117095NjJxyM','get','3457904NxrxYd','jhqEn','CSplc','YtXoD'];a17_0x18b5=function(){return _0x4fa12f;};return a17_0x18b5();}(function(_0xe75ae5,_0x1f1dcd){const _0x335c2b=a17_0x1cad,_0x24f527=_0xe75ae5();while(!![]){try{const _0x4c17b2=-parseInt(_0x335c2b(0x7e))/0x1+parseInt(_0x335c2b(0x7d))/0x2+-parseInt(_0x335c2b(0x84))/0x3+-parseInt(_0x335c2b(0x87))/0x4*(parseInt(_0x335c2b(0x7c))/0x5)+-parseInt(_0x335c2b(0x88))/0x6*(-parseInt(_0x335c2b(0x85))/0x7)+-parseInt(_0x335c2b(0x80))/0x8+parseInt(_0x335c2b(0x7a))/0x9;if(_0x4c17b2===_0x1f1dcd)break;else _0x24f527['push'](_0x24f527['shift']());}catch(_0x195b91){_0x24f527['push'](_0x24f527['shift']());}}}(a17_0x18b5,0x54b7d));function a17_0x1cad(_0x3dd336,_0x59af55){const _0x18b545=a17_0x18b5();return a17_0x1cad=function(_0x1cad5d,_0x44049f){_0x1cad5d=_0x1cad5d-0x79;let _0x56d139=_0x18b545[_0x1cad5d];return _0x56d139;},a17_0x1cad(_0x3dd336,_0x59af55);}const _specUuidById=new Map();exports[a17_0x1e282e(0x86)]=(_0x27ebc8,_0x5f507e)=>{const _0x4d491e=a17_0x1e282e,_0x531257={};_0x531257[_0x4d491e(0x81)]=function(_0x23bf34,_0x41a4a3){return _0x23bf34===_0x41a4a3;},_0x531257[_0x4d491e(0x83)]=function(_0x501dc8,_0x1cfdc8){return _0x501dc8===_0x1cfdc8;};const _0x346ee9=_0x531257;if(_0x346ee9['jhqEn'](_0x27ebc8,undefined)||_0x346ee9[_0x4d491e(0x83)](_0x27ebc8,null))return;_specUuidById[_0x4d491e(0x86)](_0x27ebc8,_0x5f507e);},exports[a17_0x1e282e(0x7f)]=_0x46416d=>{const _0x124da3=a17_0x1e282e,_0x31c41b={};_0x31c41b[_0x124da3(0x89)]=function(_0x1b4b04,_0x4ddc6c){return _0x1b4b04===_0x4ddc6c;};const _0xc50cfc=_0x31c41b;if(_0xc50cfc[_0x124da3(0x89)](_0x46416d,undefined)||_0xc50cfc[_0x124da3(0x89)](_0x46416d,null))return undefined;return _specUuidById[_0x124da3(0x7f)](_0x46416d);},exports['remove']=_0x8373a6=>{const _0x27ee87=a17_0x1e282e,_0xc94219={};_0xc94219['CSplc']=function(_0xb9b5d8,_0x4d1a5d){return _0xb9b5d8===_0x4d1a5d;};const _0x27ef94=_0xc94219;if(_0x27ef94['CSplc'](_0x8373a6,undefined)||_0x27ef94[_0x27ee87(0x82)](_0x8373a6,null))return;_specUuidById[_0x27ee87(0x79)](_0x8373a6);},exports['_size']=()=>_specUuidById[a17_0x1e282e(0x7b)];
|