browserstack-node-sdk 1.64.3 → 1.65.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/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- 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/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x2589ad=a9_0xc1fc;(function(_0x4993b6,_0x1719d9){const _0x4b2543=a9_0xc1fc,_0x1fbd3c=_0x4993b6();while(!![]){try{const _0x50a6fa=-parseInt(_0x4b2543(0x176))/0x1+parseInt(_0x4b2543(0x180))/0x2*(parseInt(_0x4b2543(0x159))/0x3)+-parseInt(_0x4b2543(0x175))/0x4+-parseInt(_0x4b2543(0x163))/0x5*(parseInt(_0x4b2543(0x177))/0x6)+-parseInt(_0x4b2543(0x162))/0x7+parseInt(_0x4b2543(0x186))/0x8+parseInt(_0x4b2543(0x15a))/0x9*(parseInt(_0x4b2543(0x17a))/0xa);if(_0x50a6fa===_0x1719d9)break;else _0x1fbd3c['push'](_0x1fbd3c['shift']());}catch(_0x55952f){_0x1fbd3c['push'](_0x1fbd3c['shift']());}}}(a9_0x43bc,0xd8bab));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a9_0x2589ad(0x158)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a9_0x2589ad(0x169))['winstonLogger'];function a9_0x43bc(){const _0x2c9ab5=['102462oWwgEG','nmPPo','yGleL','409890PChgux','__skipSessionStatus','name','action','passed','arguments','74iQGbnf','Error:\x20setting\x20status\x20at\x20After:\x20','setDefaultTimeout','../../index','toLowerCase','__error_messages__','7902864LusPIf','WANOP','browserstack_executor:\x20','then','IYcXp','TjKhy','pickle','stringify','__driver','lHJOO','pwscq','../../helpers/helper','88773exdOpi','342wwfvYB','env','failed','RRwNz','bstack','skipSessionName','Before','executeScript','1675443ziFYgN','335ajDGii','skipSessionStatus','session_','parse','oAsku','HsXMj','../../helpers/logger','setSessionName','status','platformCaps','CONFIG','Error:\x20quiting\x20at\x20After:\x20','UPILw','result','__skipSessionName','__timeout','OEaSg','debug','1765356HpkNgZ','927737Cmqfol'];a9_0x43bc=function(){return _0x2c9ab5;};return a9_0x43bc();}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x2589ad(0x160)],After=cucumberModule['After'],configuration=process[a9_0x2589ad(0x15b)][a9_0x2589ad(0x16d)];if(configuration!==undefined){const config=JSON[a9_0x2589ad(0x166)](configuration);isTrue(config[a9_0x2589ad(0x15f)])&&(global['__skipSessionName']=!![]),global[a9_0x2589ad(0x17b)]=isTrue(config[a9_0x2589ad(0x164)]),require(a9_0x2589ad(0x183))['browserstackAgentV2'](config),global['__platformCaps']=config[a9_0x2589ad(0x16c)]||{};}global[a9_0x2589ad(0x172)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];function a9_0xc1fc(_0x4e6812,_0x40481e){const _0x43bcfb=a9_0x43bc();return a9_0xc1fc=function(_0xc1fcb8,_0x2fb42d){_0xc1fcb8=_0xc1fcb8-0x155;let _0x18cdb2=_0x43bcfb[_0xc1fcb8];return _0x18cdb2;},a9_0xc1fc(_0x4e6812,_0x40481e);}cucumberModule[a9_0x2589ad(0x182)]=_0x14b289=>{const _0x3197ee=a9_0x2589ad,_0x58febe={'OEaSg':function(_0x1c7215,_0x4f66ff){return _0x1c7215(_0x4f66ff);}};global[_0x3197ee(0x172)]=_0x14b289,_0x58febe[_0x3197ee(0x173)](__setDefaultTimeout,_0x14b289);};const a9_0x56bd9b={};a9_0x56bd9b[a9_0x2589ad(0x17c)]=a9_0x2589ad(0x15e),Before(a9_0x56bd9b,function(){const _0x506832=a9_0x2589ad,_0x1d0731={};_0x1d0731[_0x506832(0x156)]='Inside\x20browserstack\x20Before';const _0x21a47e=_0x1d0731;logger[_0x506832(0x174)](_0x21a47e[_0x506832(0x156)]),global['__error_messages__']=[];});const a9_0x10be8e={};a9_0x10be8e[a9_0x2589ad(0x17c)]=a9_0x2589ad(0x15e),a9_0x10be8e['timeout']=0x2710,After(a9_0x10be8e,function(_0x3bb684,_0x4b6540){const _0x253a2a=a9_0x2589ad,_0x599843={'TjKhy':_0x253a2a(0x16a),'oAsku':function(_0x5db038,_0x4e2fad){return _0x5db038===_0x4e2fad;},'yGleL':_0x253a2a(0x15c),'IYcXp':function(_0x597b1b,_0x565fff,_0x16810b,_0x11d521){return _0x597b1b(_0x565fff,_0x16810b,_0x11d521);},'RRwNz':'\x20|\x20','pwscq':function(_0x44ac17,_0x2404d8,_0x5077b5){return _0x44ac17(_0x2404d8,_0x5077b5);},'HsXMj':_0x253a2a(0x17e),'UPILw':function(_0x27b993){return _0x27b993();},'HDUuY':function(_0x4ad571,_0x11a139){return _0x4ad571(_0x11a139);},'nmPPo':function(_0x63f2d8){return _0x63f2d8();},'WANOP':'Inside\x20browserstack\x20After'};logger[_0x253a2a(0x174)](_0x599843[_0x253a2a(0x187)]),new Promise(async(_0x1d815d,_0x3e9f7f)=>{const _0x580060=_0x253a2a;let _0xef4f77=![];try{await global[_0x580060(0x155)][_0x580060(0x165)],_0xef4f77=!![];if(!global[_0x580060(0x171)]){const _0xd0dbce={};_0xd0dbce[_0x580060(0x17c)]=_0x3bb684[_0x580060(0x18c)][_0x580060(0x17c)];const _0x188b65={};_0x188b65[_0x580060(0x17d)]=_0x599843[_0x580060(0x18b)],_0x188b65[_0x580060(0x17f)]=_0xd0dbce;const _0x21f8fd=_0x188b65;await global[_0x580060(0x155)][_0x580060(0x161)](_0x580060(0x188)+JSON[_0x580060(0x18d)](_0x21f8fd));}_0x599843[_0x580060(0x167)](_0x3bb684[_0x580060(0x170)][_0x580060(0x16b)][_0x580060(0x184)](),_0x599843[_0x580060(0x179)])?await _0x599843[_0x580060(0x18a)](markSessionStatus,global[_0x580060(0x155)],_0x599843[_0x580060(0x179)],global[_0x580060(0x185)]['join'](_0x599843[_0x580060(0x15d)])):await _0x599843[_0x580060(0x157)](markSessionStatus,global[_0x580060(0x155)],_0x599843[_0x580060(0x168)]);}catch(_0xcebe0a){logger[_0x580060(0x174)](_0x580060(0x181)+_0xcebe0a);}if(_0xef4f77)try{await global['__driver']['initQuit'](),_0x599843[_0x580060(0x16f)](_0x1d815d);}catch(_0x35c7f1){logger[_0x580060(0x174)](_0x580060(0x16e)+_0x35c7f1),_0x599843['HDUuY'](_0x3e9f7f,_0x35c7f1);}else _0x599843[_0x580060(0x178)](_0x3e9f7f);})[_0x253a2a(0x189)](()=>_0x4b6540());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x50f562=a10_0x2868;(function(_0x3ae4c2,_0x4651f0){const _0x317e37=a10_0x2868,_0x1c9001=_0x3ae4c2();while(!![]){try{const _0x4368ca=-parseInt(_0x317e37(0x1a2))/0x1*(-parseInt(_0x317e37(0x19f))/0x2)+parseInt(_0x317e37(0x19e))/0x3+-parseInt(_0x317e37(0x198))/0x4*(parseInt(_0x317e37(0x1a1))/0x5)+parseInt(_0x317e37(0x19b))/0x6+-parseInt(_0x317e37(0x199))/0x7+-parseInt(_0x317e37(0x1a7))/0x8+parseInt(_0x317e37(0x19c))/0x9;if(_0x4368ca===_0x4651f0)break;else _0x1c9001['push'](_0x1c9001['shift']());}catch(_0x323bd0){_0x1c9001['push'](_0x1c9001['shift']());}}}(a10_0x2470,0x1c9ed));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');let cucumberModule=null;function a10_0x2470(){const _0x26f7d6=['__timeout','737736Hpcbop','4YrfLWf','433930uAKShK','BSTACK_DELTA','1344060MiHBMz','144702CVRtiE','cucumber/lib/index.js','373389YPnkyW','86ejJUsT','@cucumber/cucumber/lib/index.js','779690QTRLOE','1461qwcWgK','@cucumber/cucumber','setDefaultTimeout','cucumber'];a10_0x2470=function(){return _0x26f7d6;};return a10_0x2470();}try{cucumberModule=requireModule(a10_0x50f562(0x1a0),a10_0x50f562(0x1a3));}catch(a10_0x411aac){cucumberModule=requireModule(a10_0x50f562(0x19d),a10_0x50f562(0x1a5));}const userValue=global[a10_0x50f562(0x1a6)]||0x0;function a10_0x2868(_0x13b693,_0x501e6d){const _0x24701d=a10_0x2470();return a10_0x2868=function(_0x28689b,_0x2db74d){_0x28689b=_0x28689b-0x198;let _0x2941e6=_0x24701d[_0x28689b];return _0x2941e6;},a10_0x2868(_0x13b693,_0x501e6d);}(userValue===0x0||userValue<constants[a10_0x50f562(0x19a)])&&cucumberModule[a10_0x50f562(0x1a4)](constants[a10_0x50f562(0x19a)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a11_0x50f6df=a11_0x187f;(function(_0x3aa84,_0x25d8fe){const _0x3c9f49=a11_0x187f,_0x4a4c53=_0x3aa84();while(!![]){try{const _0x385c4f=parseInt(_0x3c9f49(0x178))/0x1+parseInt(_0x3c9f49(0x199))/0x2*(-parseInt(_0x3c9f49(0x18a))/0x3)+parseInt(_0x3c9f49(0x15e))/0x4+parseInt(_0x3c9f49(0x17d))/0x5*(parseInt(_0x3c9f49(0x164))/0x6)+-parseInt(_0x3c9f49(0x17f))/0x7+parseInt(_0x3c9f49(0x173))/0x8*(-parseInt(_0x3c9f49(0x177))/0x9)+parseInt(_0x3c9f49(0x18e))/0xa;if(_0x385c4f===_0x25d8fe)break;else _0x4a4c53['push'](_0x4a4c53['shift']());}catch(_0x5270f4){_0x4a4c53['push'](_0x4a4c53['shift']());}}}(a11_0x207d,0xaeafe));function a11_0x207d(){const _0x1bc9ea=['toString','demandCommand','every','split','431005ezKDfz','../../helpers/BrowserStackSetup','5928580PcDKCl','localIdentifier','../../helpers/logger','./constants','undefined','port','trim','DUawW','lmAxE','https','help','3YaweFC','setupBrowserstackLocal','Hosts\x20not\x20valid','bstackAccessKey','13168920fJqbVI','missing','Rpowu','error','browserstackLocal','hosts','info','PCGEt','RRAZw','ULMlp','protocol','2612834MFtyRK','FugNh','setProxySettings','kdlRr','NFwJa','footer','lGNyf','integrations','qiefe','epilogue','DQYmM','Connection\x20established\x20successfully.','join','demandOption','Failed\x20to\x20establish\x20connection.','../../helpers/helper','1775956KSllsD','only','winstonLogger','accessKey','alEWd','Integration\x20hosts\x20missing.','48jORAnZ','options','browserStackLocalOptions','map','url','bPLBe','type','443','BrowserStack\x20access\x20key\x20missing.','CcLRC','command','exports','describe','string','bstackAccesskey','8IrPSBC','root','integrations-repeater','config','2318607UlkpaX','676009jBhxoK'];a11_0x207d=function(){return _0x1bc9ea;};return a11_0x207d();}const {default:BrowserStackSetup}=require(a11_0x50f6df(0x17e)),logger=require(a11_0x50f6df(0x181))[a11_0x50f6df(0x160)],{URL}=require(a11_0x50f6df(0x168)),helper=require(a11_0x50f6df(0x15d)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x50f6df(0x182)),validHosts=function(_0x26447a){const _0x2196ee=a11_0x50f6df;return _0x26447a[_0x2196ee(0x17c)](',')[_0x2196ee(0x17b)](_0x5459cf=>{try{new URL(_0x5459cf['trim']());}catch(_0x2a4952){return![];}return!![];});},parseOnPremHosts=function(_0x2b627f){const _0x2ee716=a11_0x50f6df,_0x6077bb={};_0x6077bb[_0x2ee716(0x169)]=function(_0x2f90a7,_0x30400a){return _0x2f90a7===_0x30400a;},_0x6077bb[_0x2ee716(0x1a1)]='https:',_0x6077bb['lGNyf']=_0x2ee716(0x16b),_0x6077bb['alEWd']=_0x2ee716(0x188);const _0x4e80e2=_0x6077bb;return _0x2b627f[_0x2ee716(0x17c)](',')[_0x2ee716(0x167)](_0x3db10b=>{const _0x99edd2=_0x2ee716,_0x4e40d5=new URL(_0x3db10b[_0x99edd2(0x185)]()),_0x2952f9=_0x4e40d5['hostname'],_0x1a0bff=_0x4e40d5[_0x99edd2(0x184)]||(_0x4e80e2[_0x99edd2(0x169)](_0x4e40d5[_0x99edd2(0x198)],_0x4e80e2['qiefe'])?_0x4e80e2[_0x99edd2(0x19f)]:'80'),_0x502063=_0x4e40d5[_0x99edd2(0x198)]['replace'](':',''),_0x3171fe=_0x4e80e2['bPLBe'](_0x502063,_0x4e80e2[_0x99edd2(0x162)])?0x1:0x0;return _0x2952f9+','+_0x1a0bff+','+_0x3171fe;});},connectCommandBuilder=function(_0x280680){const _0x5a7b9b=a11_0x50f6df,_0x2c465d={};_0x2c465d[_0x5a7b9b(0x187)]=_0x5a7b9b(0x171);const _0x2af743=_0x2c465d,_0x2f7914={};_0x2f7914[_0x5a7b9b(0x170)]=HELP_MESSAGES[_0x5a7b9b(0x165)][_0x5a7b9b(0x18d)],_0x2f7914[_0x5a7b9b(0x16a)]=_0x2af743[_0x5a7b9b(0x187)];const _0x5a802e={};_0x5a802e[_0x5a7b9b(0x170)]=HELP_MESSAGES[_0x5a7b9b(0x165)][_0x5a7b9b(0x193)],_0x5a802e[_0x5a7b9b(0x16a)]=_0x2af743[_0x5a7b9b(0x187)],_0x5a802e[_0x5a7b9b(0x15b)]=!![];const _0x37add5={};return _0x37add5['bstack-accesskey']=_0x2f7914,_0x37add5['hosts']=_0x5a802e,_0x280680[_0x5a7b9b(0x165)](_0x37add5);},connectCommandHandler=async function(_0x1d9a89){const _0x3ccf19=a11_0x50f6df,_0x5361e4={'Rpowu':_0x3ccf19(0x1a0),'cVBYQ':function(_0x517f96,_0x25255a){return _0x517f96===_0x25255a;},'DUawW':_0x3ccf19(0x183),'DQYmM':_0x3ccf19(0x16c),'CcLRC':function(_0x531cf2,_0x8de732){return _0x531cf2===_0x8de732;},'PCGEt':_0x3ccf19(0x163),'ULMlp':function(_0x54271b,_0x157413){return _0x54271b(_0x157413);},'zditQ':_0x3ccf19(0x18c),'NFwJa':_0x3ccf19(0x175),'EPJME':_0x3ccf19(0x1a4),'kdlRr':_0x3ccf19(0x15c)};try{const _0x3b8c34=new BrowserStackSetup(_0x1d9a89,_0x5361e4[_0x3ccf19(0x190)]);_0x1d9a89[_0x3ccf19(0x172)]&&(_0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x161)]=_0x1d9a89[_0x3ccf19(0x172)]);if(_0x5361e4['cVBYQ'](typeof _0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x161)],_0x5361e4[_0x3ccf19(0x186)])){logger[_0x3ccf19(0x191)](_0x5361e4[_0x3ccf19(0x1a3)]);throw new Error(ERROR_MESSAGES[_0x3ccf19(0x18d)][_0x3ccf19(0x18f)]);}const _0x2e4519=_0x1d9a89[_0x3ccf19(0x193)];if(_0x5361e4[_0x3ccf19(0x16d)](typeof _0x2e4519,_0x5361e4[_0x3ccf19(0x186)])){logger['error'](_0x5361e4[_0x3ccf19(0x195)]);throw new Error(ERROR_MESSAGES[_0x3ccf19(0x193)][_0x3ccf19(0x18f)]);}if(!_0x5361e4['ULMlp'](validHosts,_0x2e4519)){logger[_0x3ccf19(0x191)](_0x5361e4['zditQ']);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x215c8c=_0x5361e4[_0x3ccf19(0x197)](parseOnPremHosts,_0x2e4519);_0x3b8c34['config'][_0x3ccf19(0x192)]=!![],_0x3b8c34[_0x3ccf19(0x176)]['browserStackLocalOptions'][_0x3ccf19(0x180)]=_0x5361e4[_0x3ccf19(0x19d)],_0x3b8c34[_0x3ccf19(0x176)][_0x3ccf19(0x166)][_0x3ccf19(0x15f)]=_0x215c8c[_0x3ccf19(0x1a5)](','),helper[_0x3ccf19(0x19b)](_0x3b8c34[_0x3ccf19(0x176)]),await _0x3b8c34[_0x3ccf19(0x18b)](),logger[_0x3ccf19(0x194)](_0x5361e4['EPJME']);}catch(_0x1f3051){logger['error'](_0x5361e4[_0x3ccf19(0x19c)]);throw new Error(_0x1f3051[_0x3ccf19(0x179)]());}};function run(_0x21bd3f){const _0x51b110=a11_0x50f6df,_0x3cd849={};_0x3cd849[_0x51b110(0x19a)]='connect',_0x3cd849[_0x51b110(0x196)]='help';const _0x1be32b=_0x3cd849;_0x21bd3f['usage'](HELP_MESSAGES[_0x51b110(0x16e)][_0x51b110(0x174)])['command'](_0x1be32b[_0x51b110(0x19a)],HELP_MESSAGES['command']['connect'],connectCommandBuilder,connectCommandHandler)[_0x51b110(0x17a)]()[_0x51b110(0x189)](_0x1be32b[_0x51b110(0x196)])[_0x51b110(0x1a2)](HELP_MESSAGES[_0x51b110(0x16e)][_0x51b110(0x19e)]);}function a11_0x187f(_0x224b38,_0x3016c8){const _0x207de3=a11_0x207d();return a11_0x187f=function(_0x187fc9,_0xad5c45){_0x187fc9=_0x187fc9-0x15b;let _0x468fa4=_0x207de3[_0x187fc9];return _0x468fa4;},a11_0x187f(_0x224b38,_0x3016c8);}module[a11_0x50f6df(0x16f)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12_0x5d18bc=a12_0x26b3;(function(_0x53d143,_0x44fb82){var _0x36135b=a12_0x26b3,_0x1d5091=_0x53d143();while(!![]){try{var _0x3b0d76=-parseInt(_0x36135b(0x18f))/0x1+parseInt(_0x36135b(0x192))/0x2*(parseInt(_0x36135b(0x18d))/0x3)+parseInt(_0x36135b(0x182))/0x4*(-parseInt(_0x36135b(0x17c))/0x5)+parseInt(_0x36135b(0x18a))/0x6*(-parseInt(_0x36135b(0x18e))/0x7)+-parseInt(_0x36135b(0x193))/0x8+-parseInt(_0x36135b(0x187))/0x9*(-parseInt(_0x36135b(0x17e))/0xa)+parseInt(_0x36135b(0x188))/0xb;if(_0x3b0d76===_0x44fb82)break;else _0x1d5091['push'](_0x1d5091['shift']());}catch(_0x4289b6){_0x1d5091['push'](_0x1d5091['shift']());}}}(a12_0xe7db,0xf22c0));var a12_0x593b1e={};a12_0x593b1e['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a12_0x593b1e[a12_0x5d18bc(0x18c)]=a12_0x5d18bc(0x189);var a12_0x1359ac={};function a12_0xe7db(){var _0x27b9de=['Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','10OKyOUz','options','invalid','HELP_MESSAGES','819548ABXBtp','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.','root','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','3067083WOczYt','69161235JmubiL','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.','114LKQQYS','connect','hosts','132819BZoUJM','591703JZgBHd','1474771PaNtkF','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','ERROR_MESSAGES','4pyxfAF','14595296ASqNWg','command','20gSAqBj'];a12_0xe7db=function(){return _0x27b9de;};return a12_0xe7db();}function a12_0x26b3(_0x491d57,_0x39d070){var _0xe7db99=a12_0xe7db();return a12_0x26b3=function(_0x26b342,_0x2c1719){_0x26b342=_0x26b342-0x17c;var _0x476da1=_0xe7db99[_0x26b342];return _0x476da1;},a12_0x26b3(_0x491d57,_0x39d070);}a12_0x1359ac[a12_0x5d18bc(0x184)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a12_0x1359ac[a12_0x5d18bc(0x18b)]=a12_0x5d18bc(0x17d),a12_0x1359ac['footer']=a12_0x5d18bc(0x186);var a12_0x58d6a5={};a12_0x58d6a5[a12_0x5d18bc(0x17f)]=a12_0x593b1e,a12_0x58d6a5[a12_0x5d18bc(0x194)]=a12_0x1359ac,exports[a12_0x5d18bc(0x181)]=a12_0x58d6a5;var a12_0x544860={};a12_0x544860[a12_0x5d18bc(0x185)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a12_0x2d62c9={};a12_0x2d62c9[a12_0x5d18bc(0x185)]=a12_0x5d18bc(0x190),a12_0x2d62c9[a12_0x5d18bc(0x180)]=a12_0x5d18bc(0x183);var a12_0x32c587={};a12_0x32c587['bstackAccessKey']=a12_0x544860,a12_0x32c587[a12_0x5d18bc(0x18c)]=a12_0x2d62c9,exports[a12_0x5d18bc(0x191)]=a12_0x32c587;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a13_0x1033(){const _0x3f5dd2=['matcherName','backtrace','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','LeBcq','8542170gufDTF','push','vNuzg','failure_reason_expanded','_collapseFailedExpectations','number','4071987AKukTg','QzbUe','_paths','filename','AssertionError','skipped','fullName','boyBY','prefixTestPath','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','endsWith','AIxbw','set','789EWMHOx','keys','excluded','uuid','LDCDk','ftMjy','specStarted','eVxKC','qPVeS','tkoRY','message','dMZpp','XTfvJ','QLBJK','Kbbhh','toISOString','_fileNameByFullName','shouldProcessEventForTesthub','passed','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failed','jXokJ','status','startsWith','parentSuiteId','exports','BPAzb','mNcrX','_findGitConfig','_sendSpecEvent','ArkAA','GPylV','14410FKsmZi','azCCO','TestRunFinished','trim','testObservability','YFKAo','File\x20path\x20could\x20not\x20be\x20found','cwd','has','12278XvrhXL','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','kHvhn','1213785tbfkmN','Wqnec','slice','duration','bfWfy','_resolveFilePath','relative','WdOYj','TestRunSkipped','32FZBHnx','finished_at','pending','BPCdT','enUtZ','uMOeH','delete','avThc','reverse','length','270FjXDbM','config','zHZlX','ajNkA','sep','expanded','../../../helpers/testhub/utils','statSync','stack','GFqAA','expected','fileNameByFullName','BaSyw','1254hTfaBJ','yTKnk','started_at','uploadEventData','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','path','OidHp','_scopes','.git','specDone','../../../helpers/test-observability/utils','setCurrentTestData','XmVor','code','xGiZj','failure','get','tNuHz','\x20:\x20','description','add','dirname','javascript','JASMINE','RYJeP','TXPsK','suiteStarted','TJQXW','aTBaX','failedExpectations','azSPI','lang','5503824NTjmzH','2707606LqTZzn','aFaMI','suiteDone','Zkqqn','jasmineStarted','actual','appendTesthubParams','../testRunMap','match','WmeAw','../../../helpers/test-observability/sessionHandler','JhFZO','uVPlq','remove','_suitesById','split','join','tOTfC'];a13_0x1033=function(){return _0x3f5dd2;};return a13_0x1033();}const a13_0x938cba=a13_0x5ace;(function(_0x2d3e0a,_0x5105ca){const _0x51cd13=a13_0x5ace,_0x4e025f=_0x2d3e0a();while(!![]){try{const _0x2ef0aa=parseInt(_0x51cd13(0x14e))/0x1+-parseInt(_0x51cd13(0x142))/0x2*(-parseInt(_0x51cd13(0x122))/0x3)+parseInt(_0x51cd13(0xf8))/0x4+parseInt(_0x51cd13(0x10f))/0x5+-parseInt(_0x51cd13(0x16e))/0x6*(parseInt(_0x51cd13(0x14b))/0x7)+-parseInt(_0x51cd13(0x157))/0x8*(-parseInt(_0x51cd13(0x115))/0x9)+-parseInt(_0x51cd13(0x161))/0xa*(parseInt(_0x51cd13(0xf9))/0xb);if(_0x2ef0aa===_0x5105ca)break;else _0x4e025f['push'](_0x4e025f['shift']());}catch(_0x4aae95){_0x4e025f['push'](_0x4e025f['shift']());}}}(a13_0x1033,0xf1c7e));const path=require(a13_0x938cba(0x173)),fs=require('fs'),{v4:uuidv4}=require(a13_0x938cba(0x125)),testhubUtils=require(a13_0x938cba(0x167)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x938cba(0x103)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x938cba(0xe2)),testRunMap=require(a13_0x938cba(0x100)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a13_0x20944c={};function a13_0x5ace(_0x4364de,_0x42ef7b){const _0x10337b=a13_0x1033();return a13_0x5ace=function(_0x5ace80,_0x1d4867){_0x5ace80=_0x5ace80-0xde;let _0x57246e=_0x10337b[_0x5ace80];return _0x57246e;},a13_0x5ace(_0x4364de,_0x42ef7b);}a13_0x20944c['passed']=a13_0x938cba(0x134),a13_0x20944c[a13_0x938cba(0x136)]=a13_0x938cba(0x136),a13_0x20944c['pending']=a13_0x938cba(0x159),a13_0x20944c[a13_0x938cba(0x124)]='skipped';const STATUS_MAP=a13_0x20944c;class BrowserStackJasmineReporter{constructor(_0x26acd9={}){const _0x4cfafb=a13_0x938cba,_0x4c4951={'eVxKC':function(_0x3a14b5){return _0x3a14b5();}};this[_0x4cfafb(0x146)]=_0x4c4951[_0x4cfafb(0x129)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x4cfafb(0x149)]()},undefined),this[_0x4cfafb(0x132)]=_0x26acd9&&_0x26acd9[_0x4cfafb(0x16c)]||{},this['_suitesById']=new Map();}[a13_0x938cba(0xfd)](){}[a13_0x938cba(0xf2)](_0x559d6a){const _0x2ab365=a13_0x938cba,_0x5b9263={'ajNkA':function(_0x1383d4,_0x520667){return _0x1383d4!==_0x520667;},'XTfvJ':function(_0x3f9c83,_0x14b24c){return _0x3f9c83(_0x14b24c);}};try{_0x559d6a&&_0x5b9263[_0x2ab365(0x164)](_0x559d6a['id'],undefined)&&_0x5b9263[_0x2ab365(0x164)](_0x559d6a['id'],null)&&this[_0x2ab365(0x107)]['set'](_0x559d6a['id'],{'description':_0x559d6a[_0x2ab365(0xeb)],'parentSuiteId':_0x559d6a[_0x2ab365(0x13a)]});}catch(_0x599947){_0x5b9263[_0x2ab365(0x12e)](debug,_0x2ab365(0x10d)+(_0x559d6a&&_0x559d6a[_0x2ab365(0x11b)])+'\x20:\x20'+_0x599947);}}[a13_0x938cba(0x128)](_0x4e9915){const _0x4ca40e=a13_0x938cba,_0x589801={'FShzc':function(_0x5e38c6,_0x2ba613){return _0x5e38c6!==_0x2ba613;},'zHZlX':function(_0x6977dd){return _0x6977dd();},'QLBJK':'TestRunStarted','boyBY':function(_0x29977c,_0xfff690){return _0x29977c(_0xfff690);}};try{if(_0x589801['FShzc'](testhubUtils[_0x4ca40e(0x133)](),!![]))return;const _0x582444=_0x589801[_0x4ca40e(0x163)](uuidv4);testRunMap[_0x4ca40e(0x121)](_0x4e9915['id'],_0x582444),this[_0x4ca40e(0x13f)](_0x4e9915,_0x582444,_0x589801[_0x4ca40e(0x12f)]);}catch(_0x338db6){_0x589801[_0x4ca40e(0x11c)](debug,_0x4ca40e(0x172)+(_0x4e9915&&_0x4e9915[_0x4ca40e(0x11b)])+_0x4ca40e(0xea)+_0x338db6);}}[a13_0x938cba(0xe1)](_0x5acf12){const _0xe66073=a13_0x938cba,_0x22d578={'yTKnk':function(_0x2bfef0,_0x19a5ee){return _0x2bfef0!==_0x19a5ee;},'qPVeS':function(_0x131931){return _0x131931();},'mNcrX':function(_0x5ae731,_0x1f457a){return _0x5ae731===_0x1f457a;},'WnQnL':_0xe66073(0x124),'BaSyw':_0xe66073(0x156),'avThc':_0xe66073(0x144),'tNuHz':function(_0x24b477,_0x47c4f5){return _0x24b477(_0x47c4f5);}};try{if(_0x22d578[_0xe66073(0x16f)](testhubUtils[_0xe66073(0x133)](),!![]))return;const _0x435aa2=testRunMap[_0xe66073(0xe8)](_0x5acf12['id'])||_0x22d578[_0xe66073(0x12a)](uuidv4),_0x21430f=_0x22d578[_0xe66073(0x13d)](_0x5acf12['status'],_0x22d578['WnQnL'])?_0x22d578[_0xe66073(0x16d)]:_0x22d578[_0xe66073(0x15e)];this[_0xe66073(0x13f)](_0x5acf12,_0x435aa2,_0x21430f);}catch(_0x4a038f){_0x22d578[_0xe66073(0xe9)](debug,_0xe66073(0x135)+(_0x5acf12&&_0x5acf12[_0xe66073(0x11b)])+'\x20:\x20'+_0x4a038f);}finally{_0x5acf12&&(testRunMap[_0xe66073(0x106)](_0x5acf12['id']),_specStartTimes[_0xe66073(0x15d)](_0x5acf12['id']));}}[a13_0x938cba(0xfb)](){}['jasmineDone'](){}[a13_0x938cba(0x13f)](_0x45aa1b,_0x2b442d,_0x52be3a){const _0x4f7bd5=a13_0x938cba,_0x2b4254={'uMOeH':function(_0x37de11,_0x6a4c03){return _0x37de11===_0x6a4c03;},'ftMjy':'TestRunFinished','kHvhn':_0x4f7bd5(0x156),'BPAzb':_0x4f7bd5(0x148),'tkoRY':function(_0x3c4f65,_0x13bebc,_0x13c552){return _0x3c4f65(_0x13bebc,_0x13c552);},'azCCO':'err','Kbbhh':function(_0x3e0553,_0x21ab4f){return _0x3e0553===_0x21ab4f;},'wexin':'TestRunStarted','BPCdT':function(_0x5b318b,_0x184450){return _0x5b318b!==_0x184450;},'aFaMI':function(_0x4a2e07,_0x4df0ea){return _0x4a2e07!==_0x4df0ea;},'vNuzg':_0x4f7bd5(0xee),'PsmhY':function(_0x367cfb,_0x53e5d3){return _0x367cfb&&_0x53e5d3;},'MDfeE':function(_0x413c07,_0x4f38e9){return _0x413c07===_0x4f38e9;},'tOTfC':_0x4f7bd5(0x11a),'TJQXW':_0x4f7bd5(0x134),'SDset':function(_0x4302e1,_0x2fb21d){return _0x4302e1===_0x2fb21d;},'AIxbw':_0x4f7bd5(0x114),'OidHp':_0x4f7bd5(0x119),'YFKAo':'UnhandledError','kZAYf':function(_0x5b4ba0,_0x359e4a){return _0x5b4ba0===_0x359e4a;},'uVPlq':_0x4f7bd5(0x170),'azSPI':_0x4f7bd5(0x158),'jXokJ':_0x4f7bd5(0xe7),'dMZpp':'failure_backtrace','GPylV':_0x4f7bd5(0x10c),'KbRQC':_0x4f7bd5(0x112),'bfWfy':_0x4f7bd5(0x166),'LeBcq':function(_0x41a498,_0x4b60a1){return _0x41a498(_0x4b60a1);}};try{const _0x1d8bb6=_0x2b4254[_0x4f7bd5(0x15c)](_0x52be3a,_0x2b4254['ftMjy'])||_0x2b4254[_0x4f7bd5(0x15c)](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)]),_0x4f3bf3=this[_0x4f7bd5(0x153)](_0x45aa1b),_0x2763ff=_0x4f3bf3?this[_0x4f7bd5(0x117)][_0x4f7bd5(0x11d)](_0x4f3bf3):_0x2b4254[_0x4f7bd5(0x13c)],_0x404106=_0x4f3bf3?this['_findGitConfig'](path[_0x4f7bd5(0xed)](_0x4f3bf3)):null,_0x3be413=this[_0x4f7bd5(0x113)](_0x45aa1b[_0x4f7bd5(0xf5)]),_0x308f7d=_0x3be413?_0x3be413[_0x4f7bd5(0x12c)]:undefined,_0x59e960=_0x3be413?_0x2b4254[_0x4f7bd5(0x12b)](failureData,_0x3be413,_0x2b4254[_0x4f7bd5(0x143)]):[],_0x37183f=new Date()[_0x4f7bd5(0x131)](),_0x505161=this[_0x4f7bd5(0xdf)](_0x45aa1b);_0x2b4254[_0x4f7bd5(0x130)](_0x52be3a,_0x2b4254['wexin'])&&_0x45aa1b&&_0x2b4254[_0x4f7bd5(0x15a)](_0x45aa1b['id'],undefined)&&_0x2b4254[_0x4f7bd5(0xfa)](_0x45aa1b['id'],null)&&_specStartTimes[_0x4f7bd5(0x121)](_0x45aa1b['id'],_0x37183f);const _0x1993fa=_0x2b4254[_0x4f7bd5(0x130)](_0x52be3a,_0x2b4254['wexin'])?_0x37183f:_0x45aa1b&&_specStartTimes[_0x4f7bd5(0xe8)](_0x45aa1b['id'])||null,_0x49ce6d={};_0x49ce6d[_0x4f7bd5(0xf7)]=_0x2b4254[_0x4f7bd5(0x111)],_0x49ce6d[_0x4f7bd5(0xe5)]=null;const _0x10a1c8={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2b442d,'name':_0x45aa1b[_0x4f7bd5(0xeb)],'body':_0x49ce6d,'scope':_0x505161[_0x4f7bd5(0x109)]('\x20'),'scopes':_0x505161,'identifier':_0x45aa1b[_0x4f7bd5(0x11b)],'file_name':_0x2763ff,'vc_filepath':_0x2b4254['PsmhY'](_0x404106,_0x4f3bf3)?path[_0x4f7bd5(0x154)](_0x404106,_0x4f3bf3):null,'location':_0x2763ff,'result':_0x2b4254['MDfeE'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])?_0x2b4254[_0x4f7bd5(0x10a)]:STATUS_MAP[_0x45aa1b[_0x4f7bd5(0x138)]]||_0x2b4254[_0x4f7bd5(0xf3)],'failure_reason':_0x308f7d,'duration_in_ms':_0x2b4254['SDset'](typeof _0x45aa1b[_0x4f7bd5(0x151)],_0x2b4254[_0x4f7bd5(0x120)])?_0x45aa1b[_0x4f7bd5(0x151)]:null,'started_at':_0x1993fa,'finished_at':_0x1d8bb6?_0x37183f:null,'failure':_0x59e960,'failure_type':!_0x308f7d?null:_0x308f7d[_0x4f7bd5(0x101)](/AssertionError/)?_0x2b4254[_0x4f7bd5(0xde)]:_0x2b4254[_0x4f7bd5(0x147)],'retry_of':null};_0x2b4254['kZAYf'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])&&!_0x10a1c8[_0x2b4254[_0x4f7bd5(0x105)]]&&(_0x10a1c8[_0x2b4254[_0x4f7bd5(0x105)]]=_0x10a1c8[_0x2b4254[_0x4f7bd5(0xf6)]]);const _0x177252=_0x10a1c8[_0x2b4254[_0x4f7bd5(0x137)]][0x0];_0x177252&&(_0x10a1c8[_0x2b4254[_0x4f7bd5(0x12d)]]=_0x177252[_0x2b4254[_0x4f7bd5(0x141)]],_0x10a1c8[_0x2b4254['KbRQC']]=_0x177252[_0x2b4254[_0x4f7bd5(0x152)]]);testhubUtils[_0x4f7bd5(0xff)](_0x10a1c8,_0x52be3a,_0x45aa1b,FRAMEWORKS['JASMINE']);const _0x2966b9={'event_type':_0x2b4254['uMOeH'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])?_0x2b4254[_0x4f7bd5(0x127)]:_0x52be3a,'test_run':_0x10a1c8};return testhubUtils[_0x4f7bd5(0xe3)](FRAMEWORKS[_0x4f7bd5(0xef)],_0x2966b9),SessionHandler[_0x4f7bd5(0x171)](_0x2966b9);}catch(_0x3840db){_0x2b4254[_0x4f7bd5(0x10e)](debug,_0x4f7bd5(0x11e)+_0x52be3a+_0x4f7bd5(0xea)+_0x3840db);}}[a13_0x938cba(0xdf)](_0x6a9b0d){const _0x61d454=a13_0x938cba,_0x3f671d={'aTBaX':function(_0x379639,_0x40fce7){return _0x379639!==_0x40fce7;},'QzbUe':function(_0x591b7d,_0x43909d){return _0x591b7d!==_0x43909d;},'xGiZj':function(_0x159ea2,_0x13b134){return _0x159ea2>_0x13b134;},'Wqnec':function(_0x294de4,_0x31eaee){return _0x294de4(_0x31eaee);},'GFqAA':function(_0x147327,_0x58cdfd){return _0x147327-_0x58cdfd;}};try{const _0x361c03=[];let _0x3e69d5=_0x6a9b0d&&_0x6a9b0d['parentSuiteId'];const _0x26dd94=new Set();while(_0x3f671d[_0x61d454(0xf4)](_0x3e69d5,undefined)&&_0x3f671d[_0x61d454(0x116)](_0x3e69d5,null)&&this[_0x61d454(0x107)][_0x61d454(0x14a)](_0x3e69d5)&&!_0x26dd94[_0x61d454(0x14a)](_0x3e69d5)){_0x26dd94[_0x61d454(0xec)](_0x3e69d5);const _0x5c7fc4=this[_0x61d454(0x107)][_0x61d454(0xe8)](_0x3e69d5);_0x5c7fc4&&_0x5c7fc4[_0x61d454(0xeb)]&&_0x361c03[_0x61d454(0x110)](_0x5c7fc4['description']),_0x3e69d5=_0x5c7fc4?_0x5c7fc4[_0x61d454(0x13a)]:null;}if(_0x3f671d[_0x61d454(0xe6)](_0x361c03[_0x61d454(0x160)],0x0))return _0x361c03[_0x61d454(0x15f)]();}catch(_0x47c6be){_0x3f671d[_0x61d454(0x14f)](debug,_0x61d454(0x14c)+(_0x6a9b0d&&_0x6a9b0d[_0x61d454(0x11b)])+_0x61d454(0xea)+_0x47c6be);}const _0x4aa201=_0x6a9b0d&&_0x6a9b0d[_0x61d454(0x11b)]||'',_0x93a36=_0x6a9b0d&&_0x6a9b0d[_0x61d454(0xeb)]||'';let _0x28124d=_0x4aa201;return _0x93a36&&_0x4aa201[_0x61d454(0x11f)](_0x93a36)&&(_0x28124d=_0x4aa201[_0x61d454(0x150)](0x0,_0x3f671d[_0x61d454(0x16a)](_0x4aa201[_0x61d454(0x160)],_0x93a36[_0x61d454(0x160)]))[_0x61d454(0x145)]()),_0x28124d?_0x28124d[_0x61d454(0x108)](/\s+/):[];}[a13_0x938cba(0x153)](_0x5ecbc7){const _0x20be30=a13_0x938cba,_0x2418a5={};_0x2418a5[_0x20be30(0x104)]=function(_0x1f0110,_0x3dcc74){return _0x1f0110===_0x3dcc74;},_0x2418a5[_0x20be30(0x102)]=function(_0x93d5de,_0x9583ef){return _0x93d5de+_0x9583ef;},_0x2418a5[_0x20be30(0x15b)]=function(_0x2b27b4,_0x3ae711){return _0x2b27b4>_0x3ae711;};const _0x138523=_0x2418a5;if(_0x5ecbc7&&_0x5ecbc7[_0x20be30(0x118)])return _0x5ecbc7[_0x20be30(0x118)];if(_0x5ecbc7&&_0x5ecbc7[_0x20be30(0x11b)]){if(this[_0x20be30(0x132)][_0x5ecbc7['fullName']])return this[_0x20be30(0x132)][_0x5ecbc7[_0x20be30(0x11b)]];let _0xe64d03=null,_0x45f477=-0x1;for(const _0x5bfe08 of Object[_0x20be30(0x123)](this[_0x20be30(0x132)])){(_0x138523[_0x20be30(0x104)](_0x5ecbc7['fullName'],_0x5bfe08)||_0x5ecbc7[_0x20be30(0x11b)][_0x20be30(0x139)](_0x138523[_0x20be30(0x102)](_0x5bfe08,'\x20')))&&_0x138523[_0x20be30(0x15b)](_0x5bfe08[_0x20be30(0x160)],_0x45f477)&&(_0xe64d03=this[_0x20be30(0x132)][_0x5bfe08],_0x45f477=_0x5bfe08[_0x20be30(0x160)]);}if(_0xe64d03)return _0xe64d03;}return null;}['_collapseFailedExpectations'](_0x3d7d88){const _0x2ded3e=a13_0x938cba,_0x5b6e60={};_0x5b6e60[_0x2ded3e(0xf1)]=function(_0x3dd326,_0x1c0290){return _0x3dd326===_0x1c0290;},_0x5b6e60['XmVor']='Spec\x20failed';const _0x19d365=_0x5b6e60;if(!Array['isArray'](_0x3d7d88)||_0x19d365[_0x2ded3e(0xf1)](_0x3d7d88[_0x2ded3e(0x160)],0x0))return undefined;const _0x698917=[],_0x1703bc=[];for(const _0x5b20eb of _0x3d7d88){_0x5b20eb&&_0x5b20eb['message']&&_0x698917[_0x2ded3e(0x110)](_0x5b20eb[_0x2ded3e(0x12c)]),_0x5b20eb&&_0x5b20eb[_0x2ded3e(0x169)]&&_0x1703bc['push'](_0x5b20eb[_0x2ded3e(0x169)]);}const _0x48d68f=_0x3d7d88[0x0]||{},_0x21dab2=_0x698917[_0x2ded3e(0x109)]('\x0a')||_0x48d68f[_0x2ded3e(0x12c)]||_0x19d365[_0x2ded3e(0xe4)],_0x1dac33=_0x1703bc[_0x2ded3e(0x109)]('\x0a\x0a')||_0x48d68f[_0x2ded3e(0x169)]||_0x21dab2,_0x521986={};return _0x521986[_0x2ded3e(0x12c)]=_0x21dab2,_0x521986['stack']=_0x1dac33,_0x521986[_0x2ded3e(0x10b)]=_0x48d68f[_0x2ded3e(0x10b)],_0x521986[_0x2ded3e(0x16b)]=_0x48d68f['expected'],_0x521986[_0x2ded3e(0xfe)]=_0x48d68f[_0x2ded3e(0xfe)],_0x521986;}['_findGitConfig'](_0x4e7a50){const _0x3eb672=a13_0x938cba,_0x59bb54={};_0x59bb54[_0x3eb672(0xfc)]=function(_0x4414d6,_0x1aed14){return _0x4414d6===_0x1aed14;},_0x59bb54[_0x3eb672(0x126)]=function(_0x156d39,_0x34cef0){return _0x156d39===_0x34cef0;},_0x59bb54[_0x3eb672(0xf0)]=function(_0x466a59,_0x3e4200){return _0x466a59===_0x3e4200;},_0x59bb54[_0x3eb672(0x140)]=_0x3eb672(0xe0),_0x59bb54[_0x3eb672(0x155)]=_0x3eb672(0x162);const _0x28c0a7=_0x59bb54,_0x48a0d5=path[_0x3eb672(0x165)];if(_0x28c0a7['Zkqqn'](_0x4e7a50,null)||_0x28c0a7[_0x3eb672(0x126)](_0x4e7a50,'')||_0x28c0a7[_0x3eb672(0x126)](_0x4e7a50,_0x48a0d5)||_0x28c0a7[_0x3eb672(0xf0)](_0x4e7a50,path['dirname'](_0x4e7a50)))return null;try{return fs[_0x3eb672(0x168)](path['join'](_0x4e7a50,_0x28c0a7[_0x3eb672(0x140)],_0x28c0a7[_0x3eb672(0x155)])),_0x4e7a50;}catch(_0x3a63b9){return this[_0x3eb672(0x13e)](path[_0x3eb672(0xed)](_0x4e7a50));}}}module[a13_0x938cba(0x13b)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a13_0x2c784e=a13_0x8702;function a13_0x3868(){const _0x10f6e8=['reverse','4967829kxKLWy','message','DJStJ','started_at','TestRunSkipped','uploadEventData','trim','passed','VHqsl','Dgjlq','matcherName','jrHTD','Spec\x20failed','status','lang','nNEJg','ZSFZF','cnzzX','failure_reason_expanded','fileNameByFullName','exports','ViXHY','_suitesById','bQLDg','AaVBh','stack','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','fullName','mxnmO','MncYF','8lFFIUj','relative','expanded','length','number','code','rPDWH','drSAs','TestRunStarted','description','snUVU','duration','failure_backtrace','UQtgz','gZpdw','endsWith','sep','split','actual','testObservability','add','jasmineStarted','failure','\x20:\x20','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_findGitConfig','WfBLr','suiteStarted','../../../helpers/test-observability/utils','IKXMv','209748EFVuOu','fwmwj','sQTpL','QXuGt','1482815EqRQtt','err','XHZik','javascript','specDone','../../../helpers/test-observability/sessionHandler','jasmineDone','prefixTestPath','toISOString','853578dQjmWP','6HfGcpe','mbrRw','delete','_scopes','get','statSync','push','match','pLJgT','_collapseFailedExpectations','sBUcK','AssertionError','pboEQ','436480CWSJGt','expected','failed','GCZJO','_fileNameByFullName','Jasmine','JQtap','path','skipped','HyBKo','appendTesthubParams','3138877WnqiOe','mhKKW','PuLTi','_paths','_resolveFilePath','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','JBBOp','join','../testRunMap','keys','vnTjn','YHdwt','File\x20path\x20could\x20not\x20be\x20found','.git','GBNow','dirname','503068WQgLNn','has','JJgOA','BLfnV','filename','remove','config','Exception\x20in\x20jasmine\x20specDone\x20for\x20','MMXbB','set','setCurrentTestData','cwd','FVOLe','aeoUt','_sendSpecEvent','JASMINE','parentSuiteId','specStarted','gFsxu','lIrwu','BqEJt','pending','shouldProcessEventForTesthub','slice','excluded','LBjoF','../../../helpers/testhub/utils','isArray'];a13_0x3868=function(){return _0x10f6e8;};return a13_0x3868();}(function(_0x5b81be,_0x3c245c){const _0x1f05d6=a13_0x8702,_0x5133a7=_0x5b81be();while(!![]){try{const _0x25bd3c=-parseInt(_0x1f05d6(0xad))/0x1+parseInt(_0x1f05d6(0xc8))/0x2+-parseInt(_0x1f05d6(0xba))/0x3+parseInt(_0x1f05d6(0xe3))/0x4+parseInt(_0x1f05d6(0xb1))/0x5*(parseInt(_0x1f05d6(0xbb))/0x6)+-parseInt(_0x1f05d6(0xd3))/0x7+-parseInt(_0x1f05d6(0x11e))/0x8*(-parseInt(_0x1f05d6(0x100))/0x9);if(_0x25bd3c===_0x3c245c)break;else _0x5133a7['push'](_0x5133a7['shift']());}catch(_0xf40093){_0x5133a7['push'](_0x5133a7['shift']());}}}(a13_0x3868,0x3d00a));const path=require(a13_0x2c784e(0xcf)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a13_0x2c784e(0xfd)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x2c784e(0xb6)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x2c784e(0xab)),testRunMap=require(a13_0x2c784e(0xdb)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0x2c784e(0xcd),a13_0x1775b7={};function a13_0x8702(_0x472755,_0x26bc13){const _0x386843=a13_0x3868();return a13_0x8702=function(_0x870224,_0x564323){_0x870224=_0x870224-0x91;let _0x3f5b91=_0x386843[_0x870224];return _0x3f5b91;},a13_0x8702(_0x472755,_0x26bc13);}a13_0x1775b7[a13_0x2c784e(0x107)]=a13_0x2c784e(0x107),a13_0x1775b7['failed']=a13_0x2c784e(0xca),a13_0x1775b7['pending']=a13_0x2c784e(0xf8),a13_0x1775b7['excluded']=a13_0x2c784e(0xd0);const STATUS_MAP=a13_0x1775b7;class BrowserStackJasmineReporter{constructor(_0x24e368={}){const _0x1b6211=a13_0x2c784e,_0x22ad68={'snUVU':function(_0x22bd6f){return _0x22bd6f();}};this[_0x1b6211(0xa2)]=_0x22ad68[_0x1b6211(0x99)](isTestObservabilitySession),this[_0x1b6211(0xd6)]=new PathHelper({'cwd':process[_0x1b6211(0xee)]()},undefined),this[_0x1b6211(0xcc)]=_0x24e368&&_0x24e368[_0x1b6211(0x113)]||{},this[_0x1b6211(0x116)]=new Map();}[a13_0x2c784e(0xa4)](){}[a13_0x2c784e(0xaa)](_0x5e722f){const _0x222920=a13_0x2c784e,_0x28df70={'lvWYW':function(_0x108b3c,_0x1a5a29){return _0x108b3c!==_0x1a5a29;},'JJgOA':function(_0xc888a2,_0x2ee259){return _0xc888a2(_0x2ee259);}};try{_0x5e722f&&_0x28df70['lvWYW'](_0x5e722f['id'],undefined)&&_0x28df70['lvWYW'](_0x5e722f['id'],null)&&this[_0x222920(0x116)]['set'](_0x5e722f['id'],{'description':_0x5e722f[_0x222920(0x98)],'parentSuiteId':_0x5e722f['parentSuiteId']});}catch(_0x50517b){_0x28df70[_0x222920(0xe5)](debug,_0x222920(0xa7)+(_0x5e722f&&_0x5e722f[_0x222920(0x11b)])+_0x222920(0xa6)+_0x50517b);}}[a13_0x2c784e(0xf4)](_0x6c0bb8){const _0x41ffaa=a13_0x2c784e,_0x4935ba={'LBjoF':function(_0x731657,_0x52ffca){return _0x731657!==_0x52ffca;},'sBUcK':function(_0x1afc42){return _0x1afc42();},'ViXHY':_0x41ffaa(0x97),'JQtap':function(_0x216306,_0x2f4aee){return _0x216306(_0x2f4aee);}};try{if(_0x4935ba[_0x41ffaa(0xfc)](testhubUtils[_0x41ffaa(0xf9)](),!![]))return;const _0x90a11e=_0x4935ba[_0x41ffaa(0xc5)](uuidv4);testRunMap[_0x41ffaa(0xec)](_0x6c0bb8['id'],_0x90a11e),this[_0x41ffaa(0xf1)](_0x6c0bb8,_0x90a11e,_0x4935ba[_0x41ffaa(0x115)]);}catch(_0x4ff563){_0x4935ba[_0x41ffaa(0xce)](debug,_0x41ffaa(0xd8)+(_0x6c0bb8&&_0x6c0bb8[_0x41ffaa(0x11b)])+_0x41ffaa(0xa6)+_0x4ff563);}}[a13_0x2c784e(0xb5)](_0x47a0a1){const _0x3e0bcf=a13_0x2c784e,_0x12626e={'sQTpL':function(_0x5cb269,_0x5f14ed){return _0x5cb269!==_0x5f14ed;},'vnTjn':function(_0x5cf5fa){return _0x5cf5fa();},'nNEJg':function(_0x7b323f,_0x3fc729){return _0x7b323f===_0x3fc729;},'YHdwt':_0x3e0bcf(0xfb),'gFsxu':_0x3e0bcf(0x104),'ZSFZF':'TestRunFinished','pboEQ':function(_0x59ccee,_0x2023f0){return _0x59ccee(_0x2023f0);}};try{if(_0x12626e[_0x3e0bcf(0xaf)](testhubUtils[_0x3e0bcf(0xf9)](),!![]))return;const _0x135271=testRunMap[_0x3e0bcf(0xbf)](_0x47a0a1['id'])||_0x12626e[_0x3e0bcf(0xdd)](uuidv4),_0x39b10c=_0x12626e[_0x3e0bcf(0x10f)](_0x47a0a1[_0x3e0bcf(0x10d)],_0x12626e[_0x3e0bcf(0xde)])?_0x12626e[_0x3e0bcf(0xf5)]:_0x12626e[_0x3e0bcf(0x110)];this[_0x3e0bcf(0xf1)](_0x47a0a1,_0x135271,_0x39b10c);}catch(_0x3ed405){_0x12626e[_0x3e0bcf(0xc7)](debug,_0x3e0bcf(0xea)+(_0x47a0a1&&_0x47a0a1[_0x3e0bcf(0x11b)])+_0x3e0bcf(0xa6)+_0x3ed405);}finally{_0x47a0a1&&(testRunMap[_0x3e0bcf(0xe8)](_0x47a0a1['id']),_specStartTimes[_0x3e0bcf(0xbd)](_0x47a0a1['id']));}}['suiteDone'](){}[a13_0x2c784e(0xb7)](){}[a13_0x2c784e(0xf1)](_0x4c2e7e,_0x50dd5f,_0x1d84c6){const _0x457128=a13_0x2c784e,_0x5b2a21={'JBBOp':function(_0x126223,_0x3324fb){return _0x126223===_0x3324fb;},'XHZik':'TestRunFinished','MncYF':function(_0x5ef0c0,_0x3d7bc9){return _0x5ef0c0===_0x3d7bc9;},'bQLDg':_0x457128(0x104),'nMhpz':_0x457128(0xdf),'drSAs':function(_0x439fd2,_0x4d5798,_0x2862ba){return _0x439fd2(_0x4d5798,_0x2862ba);},'PHPkC':_0x457128(0xb2),'GBNow':_0x457128(0x97),'MMXbB':function(_0x51f1bf,_0xbc940c){return _0x51f1bf!==_0xbc940c;},'fEBVN':function(_0x19fee0,_0x407be7){return _0x19fee0!==_0x407be7;},'fwmwj':_0x457128(0xb4),'cnzzX':function(_0x197a32,_0x21a302){return _0x197a32&&_0x21a302;},'GCZJO':function(_0xc6a600,_0x292d95){return _0xc6a600===_0x292d95;},'EFzgC':_0x457128(0xd0),'mbrRw':_0x457128(0x107),'gZpdw':function(_0x513b04,_0x3b2c26){return _0x513b04===_0x3b2c26;},'VHqsl':_0x457128(0x93),'sevii':_0x457128(0xc6),'IKXMv':'UnhandledError','VeajV':_0x457128(0x103),'pLJgT':'finished_at','PuLTi':_0x457128(0xa5),'FVOLe':_0x457128(0x9b),'PnvBZ':'backtrace','jrHTD':_0x457128(0x112),'lIrwu':_0x457128(0x91),'Dgjlq':function(_0x36a094,_0x5ae29a){return _0x36a094(_0x5ae29a);}};try{const _0x54df1b=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xb3)])||_0x5b2a21[_0x457128(0x11d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)]),_0x427ff3=this[_0x457128(0xd7)](_0x4c2e7e),_0x27670d=_0x427ff3?this[_0x457128(0xd6)][_0x457128(0xb8)](_0x427ff3):_0x5b2a21['nMhpz'],_0x1b7086=_0x427ff3?this[_0x457128(0xa8)](path[_0x457128(0xe2)](_0x427ff3)):null,_0x485c4d=this['_collapseFailedExpectations'](_0x4c2e7e['failedExpectations']),_0x10147b=_0x485c4d?_0x485c4d[_0x457128(0x101)]:undefined,_0xb74a71=_0x485c4d?_0x5b2a21[_0x457128(0x96)](failureData,_0x485c4d,_0x5b2a21['PHPkC']):[],_0x3f591e=new Date()[_0x457128(0xb9)](),_0x4f2b4b=this[_0x457128(0xbe)](_0x4c2e7e);_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])&&_0x4c2e7e&&_0x5b2a21[_0x457128(0xeb)](_0x4c2e7e['id'],undefined)&&_0x5b2a21['fEBVN'](_0x4c2e7e['id'],null)&&_specStartTimes[_0x457128(0xec)](_0x4c2e7e['id'],_0x3f591e);const _0xec6b7=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])?_0x3f591e:_0x4c2e7e&&_specStartTimes[_0x457128(0xbf)](_0x4c2e7e['id'])||null,_0x2a0f7f={};_0x2a0f7f[_0x457128(0x10e)]=_0x5b2a21[_0x457128(0xae)],_0x2a0f7f[_0x457128(0x94)]=null;const _0x32d45d={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x50dd5f,'name':_0x4c2e7e['description'],'body':_0x2a0f7f,'scope':_0x4f2b4b['join']('\x20'),'scopes':_0x4f2b4b,'identifier':_0x4c2e7e[_0x457128(0x11b)],'file_name':_0x27670d,'vc_filepath':_0x5b2a21[_0x457128(0x111)](_0x1b7086,_0x427ff3)?path[_0x457128(0x11f)](_0x1b7086,_0x427ff3):null,'location':_0x27670d,'result':_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['EFzgC']:STATUS_MAP[_0x4c2e7e['status']]||_0x5b2a21[_0x457128(0xbc)],'failure_reason':_0x10147b,'duration_in_ms':_0x5b2a21[_0x457128(0x9d)](typeof _0x4c2e7e['duration'],_0x5b2a21[_0x457128(0x108)])?_0x4c2e7e[_0x457128(0x9a)]:null,'started_at':_0xec6b7,'finished_at':_0x54df1b?_0x3f591e:null,'failure':_0xb74a71,'failure_type':!_0x10147b?null:_0x10147b[_0x457128(0xc2)](/AssertionError/)?_0x5b2a21['sevii']:_0x5b2a21[_0x457128(0xac)],'retry_of':null};_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21['bQLDg'])&&!_0x32d45d[_0x5b2a21['VeajV']]&&(_0x32d45d[_0x5b2a21['VeajV']]=_0x32d45d[_0x5b2a21[_0x457128(0xc3)]]);const _0x39d079=_0x32d45d[_0x5b2a21[_0x457128(0xd5)]][0x0];_0x39d079&&(_0x32d45d[_0x5b2a21[_0x457128(0xef)]]=_0x39d079[_0x5b2a21['PnvBZ']],_0x32d45d[_0x5b2a21[_0x457128(0x10b)]]=_0x39d079[_0x5b2a21[_0x457128(0xf6)]]);testhubUtils[_0x457128(0xd2)](_0x32d45d,_0x1d84c6,_0x4c2e7e,FRAMEWORKS[_0x457128(0xf2)]);const _0x50ec41={'event_type':_0x5b2a21[_0x457128(0x9d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['XHZik']:_0x1d84c6,'test_run':_0x32d45d};return testhubUtils[_0x457128(0xed)](FRAMEWORKS[_0x457128(0xf2)],_0x50ec41),SessionHandler[_0x457128(0x105)](_0x50ec41);}catch(_0x22f023){_0x5b2a21[_0x457128(0x109)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x1d84c6+'\x20:\x20'+_0x22f023);}}[a13_0x2c784e(0xbe)](_0x429083){const _0x25dfcb=a13_0x2c784e,_0x350b57={'UQtgz':function(_0x23c5c7,_0x126a67){return _0x23c5c7!==_0x126a67;},'BLfnV':function(_0x31fdd5,_0x7a59f8){return _0x31fdd5>_0x7a59f8;},'BqEJt':function(_0xb6595d,_0x369f7a){return _0xb6595d(_0x369f7a);},'DJStJ':function(_0x481023,_0x2f0f67){return _0x481023-_0x2f0f67;}};try{const _0x65bc82=[];let _0x28c6ef=_0x429083&&_0x429083[_0x25dfcb(0xf3)];const _0x3ef907=new Set();while(_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,undefined)&&_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,null)&&this['_suitesById'][_0x25dfcb(0xe4)](_0x28c6ef)&&!_0x3ef907['has'](_0x28c6ef)){_0x3ef907[_0x25dfcb(0xa3)](_0x28c6ef);const _0x219dda=this[_0x25dfcb(0x116)][_0x25dfcb(0xbf)](_0x28c6ef);_0x219dda&&_0x219dda[_0x25dfcb(0x98)]&&_0x65bc82[_0x25dfcb(0xc1)](_0x219dda[_0x25dfcb(0x98)]),_0x28c6ef=_0x219dda?_0x219dda[_0x25dfcb(0xf3)]:null;}if(_0x350b57[_0x25dfcb(0xe6)](_0x65bc82[_0x25dfcb(0x92)],0x0))return _0x65bc82[_0x25dfcb(0xff)]();}catch(_0x1f61c9){_0x350b57[_0x25dfcb(0xf7)](debug,_0x25dfcb(0x11a)+(_0x429083&&_0x429083[_0x25dfcb(0x11b)])+_0x25dfcb(0xa6)+_0x1f61c9);}const _0x424d72=_0x429083&&_0x429083[_0x25dfcb(0x11b)]||'',_0x4b64ad=_0x429083&&_0x429083[_0x25dfcb(0x98)]||'';let _0x176e67=_0x424d72;return _0x4b64ad&&_0x424d72[_0x25dfcb(0x9e)](_0x4b64ad)&&(_0x176e67=_0x424d72[_0x25dfcb(0xfa)](0x0,_0x350b57[_0x25dfcb(0x102)](_0x424d72['length'],_0x4b64ad['length']))[_0x25dfcb(0x106)]()),_0x176e67?_0x176e67[_0x25dfcb(0xa0)](/\s+/):[];}['_resolveFilePath'](_0x51f8fb){const _0x4c2b87=a13_0x2c784e,_0x371e76={};_0x371e76['FKNSs']=function(_0x19df12,_0xbec75a){return _0x19df12===_0xbec75a;},_0x371e76[_0x4c2b87(0xd1)]=function(_0x4c4979,_0x2eabf2){return _0x4c4979+_0x2eabf2;},_0x371e76[_0x4c2b87(0x118)]=function(_0x26ecb9,_0x12c82d){return _0x26ecb9>_0x12c82d;};const _0x270560=_0x371e76;if(_0x51f8fb&&_0x51f8fb[_0x4c2b87(0xe7)])return _0x51f8fb[_0x4c2b87(0xe7)];if(_0x51f8fb&&_0x51f8fb['fullName']){if(this[_0x4c2b87(0xcc)][_0x51f8fb['fullName']])return this[_0x4c2b87(0xcc)][_0x51f8fb[_0x4c2b87(0x11b)]];let _0x24487b=null,_0x1e2223=-0x1;for(const _0x2495c9 of Object[_0x4c2b87(0xdc)](this['_fileNameByFullName'])){(_0x270560['FKNSs'](_0x51f8fb[_0x4c2b87(0x11b)],_0x2495c9)||_0x51f8fb[_0x4c2b87(0x11b)]['startsWith'](_0x270560[_0x4c2b87(0xd1)](_0x2495c9,'\x20')))&&_0x270560[_0x4c2b87(0x118)](_0x2495c9['length'],_0x1e2223)&&(_0x24487b=this[_0x4c2b87(0xcc)][_0x2495c9],_0x1e2223=_0x2495c9['length']);}if(_0x24487b)return _0x24487b;}return null;}[a13_0x2c784e(0xc4)](_0x39792f){const _0xff73ec=a13_0x2c784e,_0x33e3ba={};_0x33e3ba['mxnmO']=function(_0x5713a5,_0x141d25){return _0x5713a5===_0x141d25;},_0x33e3ba[_0xff73ec(0xf0)]=_0xff73ec(0x10c);const _0x1bf935=_0x33e3ba;if(!Array[_0xff73ec(0xfe)](_0x39792f)||_0x1bf935[_0xff73ec(0x11c)](_0x39792f[_0xff73ec(0x92)],0x0))return undefined;const _0x2bd3d4=[],_0x1b35cc=[];for(const _0x1b890e of _0x39792f){_0x1b890e&&_0x1b890e[_0xff73ec(0x101)]&&_0x2bd3d4[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x101)]),_0x1b890e&&_0x1b890e[_0xff73ec(0x119)]&&_0x1b35cc[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x119)]);}const _0x48ea1b=_0x39792f[0x0]||{},_0x4045a7=_0x2bd3d4[_0xff73ec(0xda)]('\x0a')||_0x48ea1b[_0xff73ec(0x101)]||_0x1bf935[_0xff73ec(0xf0)],_0x55dd6a=_0x1b35cc['join']('\x0a\x0a')||_0x48ea1b[_0xff73ec(0x119)]||_0x4045a7,_0x56a771={};return _0x56a771[_0xff73ec(0x101)]=_0x4045a7,_0x56a771['stack']=_0x55dd6a,_0x56a771[_0xff73ec(0x10a)]=_0x48ea1b[_0xff73ec(0x10a)],_0x56a771[_0xff73ec(0xc9)]=_0x48ea1b[_0xff73ec(0xc9)],_0x56a771[_0xff73ec(0xa1)]=_0x48ea1b[_0xff73ec(0xa1)],_0x56a771;}[a13_0x2c784e(0xa8)](_0x2bbdd9){const _0x59fc78=a13_0x2c784e,_0x17889e={};_0x17889e[_0x59fc78(0xb0)]=function(_0xf08dc0,_0x3d66bd){return _0xf08dc0===_0x3d66bd;},_0x17889e[_0x59fc78(0xd4)]=function(_0x5b75eb,_0x30a439){return _0x5b75eb===_0x30a439;},_0x17889e['rPDWH']=_0x59fc78(0xe0),_0x17889e[_0x59fc78(0xa9)]=_0x59fc78(0xe9);const _0x5e2b4a=_0x17889e,_0x506f28=path[_0x59fc78(0x9f)];if(_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,null)||_0x5e2b4a[_0x59fc78(0xd4)](_0x2bbdd9,'')||_0x5e2b4a['mhKKW'](_0x2bbdd9,_0x506f28)||_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,path[_0x59fc78(0xe2)](_0x2bbdd9)))return null;try{return fs[_0x59fc78(0xc0)](path['join'](_0x2bbdd9,_0x5e2b4a[_0x59fc78(0x95)],_0x5e2b4a[_0x59fc78(0xa9)])),_0x2bbdd9;}catch(_0x50c4f2){return this['_findGitConfig'](path[_0x59fc78(0xe2)](_0x2bbdd9));}}}module[a13_0x2c784e(0x114)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x4e0b4d=a14_0x16b0;(function(_0x80c234,_0x305bbc){const _0xa1b04b=a14_0x16b0,_0x3d8d08=_0x80c234();while(!![]){try{const _0x21fe08=parseInt(_0xa1b04b(0x208))/0x1+-parseInt(_0xa1b04b(0x243))/0x2*(parseInt(_0xa1b04b(0x1f8))/0x3)+-parseInt(_0xa1b04b(0x247))/0x4+-parseInt(_0xa1b04b(0x1c9))/0x5+parseInt(_0xa1b04b(0x21e))/0x6+-parseInt(_0xa1b04b(0x1ba))/0x7*(-parseInt(_0xa1b04b(0x1bd))/0x8)+parseInt(_0xa1b04b(0x21a))/0x9;if(_0x21fe08===_0x305bbc)break;else _0x3d8d08['push'](_0x3d8d08['shift']());}catch(_0x3345d1){_0x3d8d08['push'](_0x3d8d08['shift']());}}}(a14_0x2316,0x56daa));const fs=require('fs'),path=require(a14_0x4e0b4d(0x1c5)),util=require('util'),{spawn}=require(a14_0x4e0b4d(0x1bf)),glob=require(a14_0x4e0b4d(0x24f)),pLimit=require(a14_0x4e0b4d(0x245)),logger=require(a14_0x4e0b4d(0x238))[a14_0x4e0b4d(0x20c)],helper=require(a14_0x4e0b4d(0x224)),utilities=require(a14_0x4e0b4d(0x1f9)),constants=require(a14_0x4e0b4d(0x222)),TestHubHandler=require(a14_0x4e0b4d(0x1cf)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x4e0b4d(0x23c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x4e0b4d(0x1f2)),PerformanceEvents=require(a14_0x4e0b4d(0x1bc))[a14_0x4e0b4d(0x1c3)],BrowserstackCLI=require(a14_0x4e0b4d(0x1c0)),{checkPwandBootstrapCli}=require(a14_0x4e0b4d(0x1b4)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x4e0b4d(0x1f0)),getMaxWorkers=(_0x48ced3,_0x280017)=>{const _0x283f97=a14_0x4e0b4d,_0x444ea0={'OYczd':function(_0x4c38cf,_0x23d269){return _0x4c38cf(_0x23d269);}};let _0x47cbc4=0x1;if(!helper[_0x283f97(0x1c1)](_0x280017[_0x283f97(0x250)]))_0x47cbc4=_0x444ea0['OYczd'](parseInt,_0x280017[_0x283f97(0x250)]);else!helper['isUndefined'](_0x48ced3[_0x283f97(0x1fe)])&&(_0x47cbc4=_0x48ced3[_0x283f97(0x1fe)]);return _0x47cbc4;},resolveJasmineConfigPath=()=>{const _0x74c1cb=a14_0x4e0b4d,_0x3b2ff0={};_0x3b2ff0[_0x74c1cb(0x20a)]=_0x74c1cb(0x1c2);const _0x3bb01c=_0x3b2ff0,_0x278512=[];process['env'][_0x74c1cb(0x24d)]&&_0x278512[_0x74c1cb(0x231)](path[_0x74c1cb(0x21c)](process[_0x74c1cb(0x244)](),process[_0x74c1cb(0x221)][_0x74c1cb(0x24d)]));_0x278512[_0x74c1cb(0x231)](path[_0x74c1cb(0x21c)](process[_0x74c1cb(0x244)](),_0x3bb01c[_0x74c1cb(0x20a)]));for(const _0x557eee of _0x278512){try{if(fs[_0x74c1cb(0x200)](_0x557eee))return _0x557eee;}catch(_0x5deb30){}}return null;},enumerateSpecFiles=_0x1dca3f=>{const _0x49e606=a14_0x4e0b4d,_0x538230={'JCtjQ':function(_0x1c3292,_0xb24d1e){return _0x1c3292(_0xb24d1e);},'QECBh':function(_0x55ed84,_0x4167ec){return _0x55ed84>_0x4167ec;},'ZPAsb':function(_0x5130dc,_0x5306ad){return _0x5130dc<_0x5306ad;},'SzggA':function(_0x1e089d,_0x5c40f){return _0x1e089d===_0x5c40f;},'HrGXk':_0x49e606(0x1b7),'OnCdJ':function(_0x21a9b0,_0x4f60a8,_0x2f749b){return _0x21a9b0(_0x4f60a8,_0x2f749b);},'jpUII':function(_0x480338,_0x15fa3a){return _0x480338>_0x15fa3a;},'ESEmO':function(_0x5c027b){return _0x5c027b();},'wNOBk':_0x49e606(0x21b),'GxSmM':_0x49e606(0x1af),'BZWfL':_0x49e606(0x232),'afTga':function(_0x3690c5,_0x53cb2d){return _0x3690c5>_0x53cb2d;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x479574=testOpsHelper[_0x49e606(0x204)](process[_0x49e606(0x221)][_0x49e606(0x1ef)]);if(Array[_0x49e606(0x1ed)](_0x479574)&&_0x538230[_0x49e606(0x23f)](_0x479574[_0x49e606(0x218)],0x0))return _0x479574[_0x49e606(0x227)](_0x11b16b=>path[_0x49e606(0x21c)](process[_0x49e606(0x244)](),_0x11b16b['trim']()))['filter'](Boolean);}}catch(_0x398d1c){_0x538230[_0x49e606(0x1fb)](debug,_0x49e606(0x1d7)+util['format'](_0x398d1c));}const _0x318214=[];try{for(let _0x5cc891=0x1;_0x538230[_0x49e606(0x235)](_0x5cc891,_0x1dca3f[_0x49e606(0x218)]);_0x5cc891++){const _0x2a4596=_0x1dca3f[_0x5cc891];_0x538230[_0x49e606(0x1d9)](typeof _0x2a4596,_0x538230[_0x49e606(0x217)])&&!_0x2a4596[_0x49e606(0x1b3)]('-')&&_0x318214[_0x49e606(0x231)](_0x2a4596);}}catch(_0xbe662f){}const _0x536cc1={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x20d816=(_0xad53e8,_0x4d712d)=>{const _0x442f26=_0x49e606,_0x4cbb6f=[];for(const _0x14505b of _0xad53e8){try{const _0x3c5c4f=_0x4d712d?path['posix'][_0x442f26(0x1e1)](_0x4d712d,_0x14505b):_0x14505b,_0x39811f=glob[_0x442f26(0x1d1)](_0x3c5c4f,_0x536cc1);Array[_0x442f26(0x1ed)](_0x39811f)&&_0x4cbb6f[_0x442f26(0x231)](..._0x39811f);}catch(_0x38ccc1){_0x538230[_0x442f26(0x1fb)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x14505b+_0x442f26(0x21f)+util[_0x442f26(0x22f)](_0x38ccc1));}}return _0x4cbb6f;};if(_0x538230[_0x49e606(0x23f)](_0x318214['length'],0x0)){const _0x354951=_0x538230[_0x49e606(0x1f6)](_0x20d816,_0x318214,null);if(_0x538230[_0x49e606(0x1b0)](_0x354951[_0x49e606(0x218)],0x0))return Array[_0x49e606(0x1c4)](new Set(_0x354951));return _0x318214['map'](_0x4843ad=>path[_0x49e606(0x21c)](process[_0x49e606(0x244)](),_0x4843ad));}try{const _0x2f645d=_0x538230[_0x49e606(0x225)](resolveJasmineConfigPath);if(_0x2f645d){const _0x54b841=JSON['parse'](fs[_0x49e606(0x1b6)](_0x2f645d,_0x538230[_0x49e606(0x207)])),_0x2cccdc=_0x54b841[_0x49e606(0x211)]||_0x538230[_0x49e606(0x24e)],_0x3cfb65=Array[_0x49e606(0x1ed)](_0x54b841['spec_files'])&&_0x538230[_0x49e606(0x23f)](_0x54b841[_0x49e606(0x22c)]['length'],0x0)?_0x54b841[_0x49e606(0x22c)]:[_0x538230[_0x49e606(0x1f4)]],_0x33092f=_0x538230[_0x49e606(0x1f6)](_0x20d816,_0x3cfb65,_0x2cccdc);if(_0x538230[_0x49e606(0x20b)](_0x33092f[_0x49e606(0x218)],0x0))return Array[_0x49e606(0x1c4)](new Set(_0x33092f));}}catch(_0x4fa546){_0x538230[_0x49e606(0x1fb)](debug,_0x49e606(0x246)+util[_0x49e606(0x22f)](_0x4fa546));}return null;};function a14_0x2316(){const _0xf237fb=['isArray','all','BROWSERSTACK_RERUN_TESTS','../../helpers/puppeteer-helper','@playwright/test','../../helpers/performance/performance-tester','jasmine','BZWfL','--helper=','OnCdJ','KBAVj','33QuVNQF','../../helpers/utilities','PsyAg','JCtjQ','printBuildLink','PgJqm','maxWorkers','Hwjoy','existsSync','finalExecution','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','parseFileNames','stop','Lpepk','wNOBk','200096noCEWX','__isPlaywrightInstalled','fdPzV','afTga','winstonLogger','QtFEq','uiFEO','duBAs','MHDAq','spec_dir','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','accessibilityOptions','proxySettings','start','\x20work-item(s),\x20max\x20','HrGXk','length','mpLOz','2954106NaDZaV','utf8','resolve','validPlatformsPresent','2070240ovnnVZ','\x27\x20:\x20','HTboV','env','../utils/constants','initialize','../../helpers/helper','ESEmO','OTRqr','map','__isPuppeteerInstalled','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','filter','qHwSZ','spec_files','SdaRl','zvjNx','format','JASMINE','push','**/*[sS]pec.?(m)js','ojymy','SDK_SETUP','ZPAsb','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','config','../../helpers/logger','close','BROWSERSTACK_CLI_BIN_SESSION_ID',',\x20specs=','../../helpers/test-observability/utils','binSessionId','fYQuS','QECBh','dlHnM','info','exitCode','61366LgVbyD','cwd','p-limit','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','1047864HLzsUE','Running\x20your\x20Jasmine\x20tests\x20across\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','logLevel','platformIndex','getPackageVersion','JASMINE_CONFIG_PATH','GxSmM','glob','parallelsPerPlatform','spec','jpUII','getPlatformName','capability','startsWith','../../helpers/playwright-helper','xfnpl','readFileSync','string','jasmine\x20child\x20(platformIndex=','debug','245BmSHXf','platforms','../../helpers/performance/constants','92240efsnsR','MwHbo','child_process','../v2/browserstackCLI','isUndefined','spec/support/jasmine.json','EVENTS','from','path','specArgs','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','testObservability','1608435hiVLzC','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kUFxx','Wvcyn','HwOiN',')\x20:\x20','../../helpers/testhub/testhubHandler','true','globSync','DbDln','aVtLL','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','HhgEc','assign','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','SzggA','end','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','getInstance','useW3C','launchBuild','FRAMEWORKS','TSccU','join','find','exports','TPTjU','TIhHq','\x20concurrent)','gUMwT','\x20platform(s),\x20parallelsPerPlatform=','isCLIEnabled','error','stringify','PSwRT'];a14_0x2316=function(){return _0xf237fb;};return a14_0x2316();}async function run(_0x47601b,_0x99034a,_0xb16df){const _0x3e2609=a14_0x4e0b4d,_0x30d754={'uiFEO':function(_0x235165,_0x46c634){return _0x235165>_0x46c634;},'OTRqr':_0x3e2609(0x1ee),'PDnFR':function(_0x2ecc92,_0x3bae90){return _0x2ecc92(_0x3bae90);},'Hwjoy':function(_0x2f4554,_0x5468b0){return _0x2f4554||_0x5468b0;},'fboLe':function(_0x11f433,_0x3ac4b0){return _0x11f433(_0x3ac4b0);},'kUFxx':function(_0xb02f46,_0x4d347e){return _0xb02f46(_0x4d347e);},'fYQuS':function(_0x548811,_0x431213){return _0x548811(_0x431213);},'Lpepk':function(_0x1c627f,_0x406119){return _0x1c627f(_0x406119);},'MHDAq':function(_0x203b9e,_0x51733a,_0xf8a00b,_0x222712){return _0x203b9e(_0x51733a,_0xf8a00b,_0x222712);},'HwOiN':'npx','duBAs':_0x3e2609(0x1f3),'dlHnM':function(_0x951d00,_0x26aae2){return _0x951d00===_0x26aae2;},'aVtLL':'win32','HAbAx':'inherit','PgJqm':_0x3e2609(0x239),'TSccU':_0x3e2609(0x1ea),'TPTjU':function(_0x54e77b,_0x4faf27){return _0x54e77b(_0x4faf27);},'HTboV':_0x3e2609(0x1f1),'ojymy':function(_0x109e21){return _0x109e21();},'gUMwT':function(_0x1dcec4,_0x764738,_0x175488,_0x2f2383){return _0x1dcec4(_0x764738,_0x175488,_0x2f2383);},'PSwRT':function(_0x20b1f5,_0x1dd54d,_0x561df5,_0x33254f){return _0x20b1f5(_0x1dd54d,_0x561df5,_0x33254f);},'KBAVj':function(_0x5ea526,_0x467eac){return _0x5ea526!=_0x467eac;},'Wvcyn':_0x3e2609(0x1d0),'WYePb':function(_0x285bfe,_0x224c5a){return _0x285bfe(_0x224c5a);},'qHwSZ':function(_0x5dcb20,_0x465c16,_0x7caba0){return _0x5dcb20(_0x465c16,_0x7caba0);},'DbDln':function(_0x48a649,_0x2835c3){return _0x48a649*_0x2835c3;},'mpLOz':function(_0x12862b,_0x1fe1f0){return _0x12862b(_0x1fe1f0);},'SdaRl':'test.setup.js','FWLRw':function(_0x14d8bb,_0x23e072){return _0x14d8bb(_0x23e072);},'zvjNx':function(_0x572c0d,_0xce13f2){return _0x572c0d(_0xce13f2);},'TIhHq':function(_0x4417b1,_0x249cf2){return _0x4417b1<_0x249cf2;},'HhgEc':function(_0x30c371,_0x264522){return _0x30c371>_0x264522;},'xfnpl':function(_0x333ff4,_0x1b763a){return _0x333ff4>_0x1b763a;},'MwHbo':function(_0x10ed06,_0x1a13d8){return _0x10ed06>_0x1a13d8;},'QtFEq':function(_0x10d0e0,_0x18c596){return _0x10d0e0(_0x18c596);}},_0x12800c=helper[_0x3e2609(0x24c)](_0x30d754[_0x3e2609(0x220)]);global[_0x3e2609(0x209)]=!!_0x12800c;const _0x183fe0=_0x30d754[_0x3e2609(0x233)](getPuppeteerVersion);global[_0x3e2609(0x228)]=!!_0x183fe0;helper['isBrowserstackInfra']()&&(await _0xb16df[_0x3e2609(0x223)](_0x47601b),await helper['handleApp'](_0xb16df[_0x3e2609(0x237)]));if(_0x12800c)await _0x30d754[_0x3e2609(0x1e7)](checkPwandBootstrapCli,_0x12800c,constants[_0x3e2609(0x1df)]['JASMINE'],_0xb16df);else _0x183fe0&&await _0x30d754[_0x3e2609(0x1ec)](checkPuppeteerAndBootstrapCli,_0x183fe0,constants['FRAMEWORKS']['JASMINE'],_0xb16df);if(!_0xb16df[_0x3e2609(0x237)])return;_0x30d754[_0x3e2609(0x1f7)](_0xb16df['config'][_0x3e2609(0x1c8)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xb16df[_0x3e2609(0x237)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x30d754[_0x3e2609(0x1cc)];!helper[_0x3e2609(0x1c1)](_0xb16df[_0x3e2609(0x237)][_0x3e2609(0x213)])&&(process[_0x3e2609(0x221)][_0x3e2609(0x1ca)]=JSON['stringify'](_0xb16df['config'][_0x3e2609(0x213)]));try{await TestHubHandler[_0x3e2609(0x1de)](FRAMEWORKS[_0x3e2609(0x230)],_0xb16df);}catch(_0x7cb5a9){logger[_0x3e2609(0x1ea)]('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x3e2609(0x22f)](_0x7cb5a9)),_0x30d754['WYePb'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x3e2609(0x22f)](_0x7cb5a9));}let _0x22061f=![],_0x24273d=[];try{_0x22061f=helper[_0x3e2609(0x1dd)](_0xb16df[_0x3e2609(0x237)]),_0x24273d=helper['prepareCapabilities'](_0xb16df[_0x3e2609(0x237)],_0x22061f,constants[_0x3e2609(0x1df)][_0x3e2609(0x230)]),process[_0x3e2609(0x221)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x3e2609(0x1eb)](_0x24273d);}catch(_0x2ae97c){_0x30d754[_0x3e2609(0x1e4)](debug,_0x3e2609(0x1d4)+util[_0x3e2609(0x22f)](_0x2ae97c));}let _0x1ec555=null,_0x595dde=![];try{_0x1ec555=helper['getHubUrl'](_0xb16df[_0x3e2609(0x237)]),_0x595dde=helper[_0x3e2609(0x21d)](_0xb16df['config']);}catch(_0x5268ef){_0x30d754[_0x3e2609(0x1cb)](debug,_0x3e2609(0x249)+util['format'](_0x5268ef));}const _0x2d7433=_0x4e03d8=>{const _0x24014b=_0x3e2609,_0x226e2e=Array[_0x24014b(0x1ed)](_0x24273d)&&_0x30d754[_0x24014b(0x20e)](_0x24273d[_0x24014b(0x218)],_0x4e03d8)?_0x24273d[_0x4e03d8]:Array['isArray'](_0x24273d)&&_0x30d754[_0x24014b(0x20e)](_0x24273d[_0x24014b(0x218)],0x0)?_0x24273d[0x0]:{};return{'server':_0x1ec555,'capability':_0x226e2e,'proxySettings':_0xb16df[_0x24014b(0x237)][_0x24014b(0x214)],'platform':helper[_0x24014b(0x1b1)](_0x226e2e),'browserStackLogLevel':_0xb16df[_0x24014b(0x237)][_0x24014b(0x24a)],'platformIndex':_0x4e03d8,'framework':constants[_0x24014b(0x1df)][_0x24014b(0x230)],'platformCaps':_0x595dde?Object[_0x24014b(0x1d6)]({'index':_0x4e03d8},_0xb16df[_0x24014b(0x237)][_0x24014b(0x1bb)][_0x4e03d8]):{'index':_0x4e03d8}};};let _0x2d304d=0x1,_0x5bd906=0x1,_0x2742a1=0x1;try{_0x2d304d=_0x30d754[_0x3e2609(0x22b)](getMaxWorkers,_0x47601b,_0xb16df[_0x3e2609(0x237)]),_0x5bd906=_0x595dde?_0xb16df['config'][_0x3e2609(0x1bb)][_0x3e2609(0x218)]:0x1,_0x2742a1=_0x30d754[_0x3e2609(0x1d2)](_0x5bd906,_0x2d304d),process[_0x3e2609(0x221)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x30d754[_0x3e2609(0x219)](String,_0x2742a1);}catch(_0x5573f4){_0x30d754[_0x3e2609(0x1cb)](debug,_0x3e2609(0x236)+util[_0x3e2609(0x22f)](_0x5573f4));}try{BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x23d)]&&(process[_0x3e2609(0x221)][_0x3e2609(0x23a)]=BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x23d)]);}catch(_0x18fc3a){_0x30d754[_0x3e2609(0x23e)](debug,_0x3e2609(0x1c7)+util[_0x3e2609(0x22f)](_0x18fc3a));}const _0x41e75d=[];try{const _0x47f380=path[_0x3e2609(0x21c)](__dirname,_0x30d754[_0x3e2609(0x22d)]);fs[_0x3e2609(0x200)](_0x47f380)?_0x41e75d[_0x3e2609(0x231)](_0x3e2609(0x1f5)+_0x47f380):_0x30d754[_0x3e2609(0x1e4)](debug,_0x3e2609(0x1d8)+_0x47f380+';\x20proceeding\x20without\x20injection');}catch(_0x750419){_0x30d754['FWLRw'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3e2609(0x22f)](_0x750419));}const _0x109084=_0x99034a['slice'](0x1),_0x2a99f1=_0x30d754[_0x3e2609(0x22e)](enumerateSpecFiles,_0x99034a),_0x36c551=[];for(let _0x427ad9=0x0;_0x30d754[_0x3e2609(0x1e5)](_0x427ad9,_0x5bd906);_0x427ad9++){if(_0x30d754[_0x3e2609(0x1d5)](_0x2d304d,0x1)&&Array[_0x3e2609(0x1ed)](_0x2a99f1)&&_0x30d754[_0x3e2609(0x1b5)](_0x2a99f1[_0x3e2609(0x218)],0x0))for(const _0x2acf96 of _0x2a99f1){const _0x55eaef={};_0x55eaef['platformIndex']=_0x427ad9,_0x55eaef['specArgs']=[_0x2acf96],_0x36c551[_0x3e2609(0x231)](_0x55eaef);}else{const _0x4a6ead={};_0x4a6ead['platformIndex']=_0x427ad9,_0x4a6ead['specArgs']=_0x2a99f1,_0x36c551['push'](_0x4a6ead);}}logger[_0x3e2609(0x241)](_0x3e2609(0x248)+_0x5bd906+_0x3e2609(0x1e8)+_0x2d304d+'\x20('+_0x36c551['length']+_0x3e2609(0x216)+_0x2742a1+_0x3e2609(0x1e6)),PerformanceTester[_0x3e2609(0x1da)](PerformanceEvents[_0x3e2609(0x234)]);const _0x4b2be4=_0xef45f=>new Promise(_0x2cb6f2=>{const _0x5e0905=_0x3e2609,_0x3670b9={'PsyAg':function(_0x4a9784,_0x248343){return _0x30d754['fboLe'](_0x4a9784,_0x248343);},'yJNAX':function(_0x2bc0a9,_0x5f1cbc){const _0x2c81fb=a14_0x16b0;return _0x30d754[_0x2c81fb(0x1cb)](_0x2bc0a9,_0x5f1cbc);}};let _0x3df4d9;try{const _0x3aa8b0=_0x30d754['fYQuS'](_0x2d7433,_0xef45f['platformIndex']);_0x3df4d9=Object[_0x5e0905(0x1d6)]({},process[_0x5e0905(0x221)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5e0905(0x1eb)](_0x3aa8b0),'BROWSERSTACK_CAPABILITIES':JSON[_0x5e0905(0x1eb)]([_0x3aa8b0[_0x5e0905(0x1b2)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x194dda){_0x30d754[_0x5e0905(0x206)](debug,_0x5e0905(0x229)+_0xef45f[_0x5e0905(0x24b)]+'\x20:\x20'+util['format'](_0x194dda)),_0x3df4d9=Object[_0x5e0905(0x1d6)]({},process[_0x5e0905(0x221)]);}const _0x461080=Array[_0x5e0905(0x1ed)](_0xef45f[_0x5e0905(0x1c6)])?_0xef45f[_0x5e0905(0x1c6)]:[],_0x49f402=_0x30d754[_0x5e0905(0x20e)](_0x461080[_0x5e0905(0x218)],0x0)?_0x109084[_0x5e0905(0x22a)](_0x5acf48=>typeof _0x5acf48===_0x5e0905(0x1b7)&&_0x5acf48[_0x5e0905(0x1b3)]('-')):_0x109084,_0x2489f1=[..._0x41e75d,..._0x49f402,..._0x461080];try{const _0xef3d15=_0x30d754[_0x5e0905(0x210)](spawn,_0x30d754[_0x5e0905(0x1cd)],[_0x30d754[_0x5e0905(0x20f)],..._0x2489f1],{'shell':_0x30d754[_0x5e0905(0x240)](process['platform'],_0x30d754[_0x5e0905(0x1d3)]),'stdio':_0x30d754['HAbAx'],'env':_0x3df4d9});_0xef3d15['on'](_0x30d754[_0x5e0905(0x1fd)],_0x2bce8d=>{const _0x31d0bb=_0x5e0905;logger[_0x31d0bb(0x1b9)](_0x31d0bb(0x1b8)+_0xef45f[_0x31d0bb(0x24b)]+_0x31d0bb(0x23b)+(_0x461080[_0x31d0bb(0x218)]?_0x461080[_0x31d0bb(0x1e1)](','):_0x30d754[_0x31d0bb(0x226)])+')\x20exited\x20with\x20code\x20'+_0x2bce8d),_0x30d754['PDnFR'](_0x2cb6f2,_0x30d754[_0x31d0bb(0x1ff)](_0x2bce8d,0x0));}),_0xef3d15['on'](_0x30d754[_0x5e0905(0x1e0)],_0x67fbba=>{const _0x5b9098=_0x5e0905;_0x3670b9[_0x5b9098(0x1fa)](debug,_0x5b9098(0x212)+_0xef45f['platformIndex']+_0x5b9098(0x1ce)+util[_0x5b9098(0x22f)](_0x67fbba)),_0x3670b9['yJNAX'](_0x2cb6f2,0x1);});}catch(_0x4a0c97){_0x30d754[_0x5e0905(0x23e)](debug,_0x5e0905(0x203)+_0xef45f[_0x5e0905(0x24b)]+_0x5e0905(0x1ce)+util[_0x5e0905(0x22f)](_0x4a0c97)),_0x30d754['TPTjU'](_0x2cb6f2,0x1);}}),_0x39a2d8=_0x30d754[_0x3e2609(0x219)](pLimit,_0x30d754[_0x3e2609(0x1be)](_0x2742a1,0x0)?_0x2742a1:0x1),_0x4349d6=await Promise[_0x3e2609(0x1ee)](_0x36c551['map'](_0x45af53=>_0x39a2d8(()=>_0x4b2be4(_0x45af53))));PerformanceTester[_0x3e2609(0x215)](PerformanceEvents['SDK_CLEANUP']);const _0x198833=_0x4349d6[_0x3e2609(0x1e2)](_0x1e891c=>_0x1e891c!==0x0)||0x0;process[_0x3e2609(0x242)]=_0x198833,logger[_0x3e2609(0x1b9)](_0x3e2609(0x1db)+_0x198833);const _0x1e5cb1=BrowserstackCLI[_0x3e2609(0x1e9)]();try{await TestHubHandler[_0x3e2609(0x205)](),await BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x205)]();}catch(_0x57c3ec){_0x30d754[_0x3e2609(0x20d)](debug,_0x3e2609(0x202)+util['format'](_0x57c3ec));}testOpsHelper[_0x3e2609(0x1fc)](),await utilities[_0x3e2609(0x201)](_0xb16df,_0x1e5cb1);}function a14_0x16b0(_0x3d7fba,_0x1fee54){const _0x231681=a14_0x2316();return a14_0x16b0=function(_0x16b001,_0x4313e7){_0x16b001=_0x16b001-0x1af;let _0x9e6a99=_0x231681[_0x16b001];return _0x9e6a99;},a14_0x16b0(_0x3d7fba,_0x1fee54);}module[a14_0x4e0b4d(0x1e3)]=run;
|
|
2
|
+
'use strict';const a14_0x182c80=a14_0x3eb2;(function(_0x4ba2e3,_0x485736){const _0xb0b12c=a14_0x3eb2,_0x3decf5=_0x4ba2e3();while(!![]){try{const _0x43fb52=-parseInt(_0xb0b12c(0xf5))/0x1+parseInt(_0xb0b12c(0x113))/0x2+parseInt(_0xb0b12c(0x10b))/0x3+parseInt(_0xb0b12c(0x111))/0x4*(parseInt(_0xb0b12c(0x7e))/0x5)+parseInt(_0xb0b12c(0xfd))/0x6*(-parseInt(_0xb0b12c(0x109))/0x7)+parseInt(_0xb0b12c(0xce))/0x8*(parseInt(_0xb0b12c(0xf9))/0x9)+-parseInt(_0xb0b12c(0x94))/0xa*(parseInt(_0xb0b12c(0xca))/0xb);if(_0x43fb52===_0x485736)break;else _0x3decf5['push'](_0x3decf5['shift']());}catch(_0x2c061d){_0x3decf5['push'](_0x3decf5['shift']());}}}(a14_0x5533,0xc1d5e));function a14_0x5533(){const _0x324c68=['from','validPlatformsPresent','aFlCB','spec/support/jasmine.json','VlJHT','mBRrr','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','isBrowserstackInfra','Running\x20your\x20Jasmine\x20tests\x20across\x20','\x20:\x20','PzCaA','assign','readFileSync','find','GtglG','../../helpers/test-observability/constants','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','exitCode','UTAvy','@playwright/test','maxWorkers','**/*[sS]pec.?(m)js','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','platforms','format','shouldReRunObservabilityTests','parallelsPerPlatform','slice','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','uvlfN','spec','sPSca','error','noWOK','zVTOO','existsSync','BROWSERSTACK_RERUN_TESTS','116281eUnnkx','globSync','../utils/constants','debug','8oBbBQg','qOEqI','JASMINE','btRBH','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','rKAWx','binSessionId','utf8','proxySettings','WVSVk','platform','string','\x20concurrent)','length','../v2/browserstackCLI','SDK_CLEANUP','cTgJv','../../helpers/test-observability/utils','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','p-limit','start','BROWSERSTACK_CAPABILITIES','--helper=','KAQsN','test.setup.js','NzOMH','capability','UTBxc','stringify','config','isUndefined',')\x20:\x20','yycEf','useW3C','../../helpers/performance/constants','../../helpers/utilities','dMLSF','qAtij','npx','973212XPSxMN','testObservability','\x20platform(s),\x20parallelsPerPlatform=','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','13544955pIMfFU','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','map','getPackageVersion','6ftKrPJ','util','CgKbu','launchBuild','info','ogApM','../../helpers/logger','MMtav','FRAMEWORKS','QIyLG','stop','jasmine','7515137eqaiSh','trim','353484PCdcXQ','spec_files','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','XiPZP','spDii',',\x20specs=','35180EePtLE','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','1406514baeiOF','spec_dir','AMPYu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bEbSx','join','resolve','parse','__isPlaywrightInstalled','path','CLrvE','vigwA','JASMINE_CONFIG_PATH','finalExecution','accessibilityOptions','initialize','LcgyQ','inherit','peCaq','BROWSERSTACK_CLI_BIN_SESSION_ID','child_process','545txZKih','IYFMI','../../helpers/performance/performance-tester','specArgs','handleApp','cwd','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','../../helpers/playwright-helper','QBBHZ','true','all','isArray','DOmjh','env','MVLFM','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','fROeL','__isPuppeteerInstalled',';\x20proceeding\x20without\x20injection','OuDnz','BskqW','jasmine\x20child\x20(platformIndex=','420CEdVxf','exports','platformIndex','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','logLevel','SDK_SETUP','glob','push','getInstance','BROWSERSTACK_TEST_OBSERVABILITY_YML','filter','end','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','startsWith','win32','hcXpU','QPLKQ'];a14_0x5533=function(){return _0x324c68;};return a14_0x5533();}function a14_0x3eb2(_0x3831bd,_0x583422){const _0x55334f=a14_0x5533();return a14_0x3eb2=function(_0x3eb29c,_0x56350e){_0x3eb29c=_0x3eb29c-0x7a;let _0x45d320=_0x55334f[_0x3eb29c];return _0x45d320;},a14_0x3eb2(_0x3831bd,_0x583422);}const fs=require('fs'),path=require(a14_0x182c80(0x11c)),util=require(a14_0x182c80(0xfe)),{spawn}=require(a14_0x182c80(0x7d)),glob=require(a14_0x182c80(0x9a)),pLimit=require(a14_0x182c80(0xe1)),logger=require(a14_0x182c80(0x103))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a14_0x182c80(0xf1)),constants=require(a14_0x182c80(0xcc)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a14_0x182c80(0xdf)),{debug}=require(a14_0x182c80(0xdf)),{FRAMEWORKS}=require(a14_0x182c80(0xb4)),PerformanceTester=require(a14_0x182c80(0x80)),PerformanceEvents=require(a14_0x182c80(0xf0))['EVENTS'],BrowserstackCLI=require(a14_0x182c80(0xdc)),{checkPwandBootstrapCli}=require(a14_0x182c80(0x85)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x53cde6,_0x4e0df1)=>{const _0x5538f7=a14_0x182c80,_0x5dd9ae={'MVLFM':function(_0x5113da,_0x241ccf){return _0x5113da(_0x241ccf);}};let _0x263a4e=0x1;if(!helper[_0x5538f7(0xec)](_0x4e0df1['parallelsPerPlatform']))_0x263a4e=_0x5dd9ae[_0x5538f7(0x8c)](parseInt,_0x4e0df1[_0x5538f7(0xbf)]);else!helper[_0x5538f7(0xec)](_0x53cde6['maxWorkers'])&&(_0x263a4e=_0x53cde6[_0x5538f7(0xb9)]);return _0x263a4e;},resolveJasmineConfigPath=()=>{const _0x173ae4=a14_0x182c80,_0x5af745={};_0x5af745[_0x173ae4(0x10e)]=_0x173ae4(0xa8);const _0x2af5e3=_0x5af745,_0x44fbc4=[];process['env'][_0x173ae4(0x11f)]&&_0x44fbc4[_0x173ae4(0x9b)](path[_0x173ae4(0x119)](process[_0x173ae4(0x83)](),process['env'][_0x173ae4(0x11f)]));_0x44fbc4[_0x173ae4(0x9b)](path['resolve'](process['cwd'](),_0x2af5e3[_0x173ae4(0x10e)]));for(const _0x248431 of _0x44fbc4){try{if(fs[_0x173ae4(0xc8)](_0x248431))return _0x248431;}catch(_0x48625){}}return null;},enumerateSpecFiles=_0x2883dd=>{const _0x5443ad=a14_0x182c80,_0x60f6aa={'aFlCB':function(_0x3a809d,_0x32d35c){return _0x3a809d(_0x32d35c);},'OuDnz':function(_0x4e3c28,_0x35746c){return _0x4e3c28>_0x35746c;},'EMjjQ':function(_0x8ed74a,_0xdfa2ea){return _0x8ed74a<_0xdfa2ea;},'AMPYu':function(_0x112687,_0x3aa979){return _0x112687===_0x3aa979;},'rKAWx':_0x5443ad(0xd9),'hcXpU':function(_0x31bc8e,_0x1f1e8e,_0x2b07f){return _0x31bc8e(_0x1f1e8e,_0x2b07f);},'PzCaA':function(_0x17e62c,_0xa27d2b){return _0x17e62c>_0xa27d2b;},'eqZYA':function(_0x398690){return _0x398690();},'mBRrr':_0x5443ad(0xd5),'cTgJv':_0x5443ad(0xc3),'ogApM':function(_0x5c546e,_0x2c0c54){return _0x5c546e>_0x2c0c54;},'MMtav':_0x5443ad(0xba)};try{if(testOpsHelper[_0x5443ad(0xbe)]()){const _0x158fbf=testOpsHelper['parseFileNames'](process['env'][_0x5443ad(0xc9)]);if(Array[_0x5443ad(0x89)](_0x158fbf)&&_0x60f6aa[_0x5443ad(0x91)](_0x158fbf[_0x5443ad(0xdb)],0x0))return _0x158fbf[_0x5443ad(0xfb)](_0x51b2b8=>path[_0x5443ad(0x119)](process[_0x5443ad(0x83)](),_0x51b2b8[_0x5443ad(0x10a)]()))[_0x5443ad(0x9e)](Boolean);}}catch(_0x32cf83){_0x60f6aa['aFlCB'](debug,_0x5443ad(0xbb)+util[_0x5443ad(0xbd)](_0x32cf83));}const _0x226353=[];try{for(let _0x44abb0=0x1;_0x60f6aa['EMjjQ'](_0x44abb0,_0x2883dd['length']);_0x44abb0++){const _0x17cd6e=_0x2883dd[_0x44abb0];_0x60f6aa[_0x5443ad(0x115)](typeof _0x17cd6e,_0x60f6aa[_0x5443ad(0xd3)])&&!_0x17cd6e[_0x5443ad(0xa1)]('-')&&_0x226353[_0x5443ad(0x9b)](_0x17cd6e);}}catch(_0x43309e){}const _0x5af40a={'cwd':process[_0x5443ad(0x83)](),'absolute':!![],'nodir':!![]},_0xe232cc=(_0x2f413a,_0x4d2820)=>{const _0x2ceac5=_0x5443ad,_0x103c14=[];for(const _0x1dca5c of _0x2f413a){try{const _0x1c46ef=_0x4d2820?path['posix'][_0x2ceac5(0x118)](_0x4d2820,_0x1dca5c):_0x1dca5c,_0x437d4b=glob[_0x2ceac5(0xcb)](_0x1c46ef,_0x5af40a);Array[_0x2ceac5(0x89)](_0x437d4b)&&_0x103c14[_0x2ceac5(0x9b)](..._0x437d4b);}catch(_0x1c518c){_0x60f6aa[_0x2ceac5(0xa7)](debug,_0x2ceac5(0x97)+_0x1dca5c+'\x27\x20:\x20'+util[_0x2ceac5(0xbd)](_0x1c518c));}}return _0x103c14;};if(_0x60f6aa[_0x5443ad(0x91)](_0x226353[_0x5443ad(0xdb)],0x0)){const _0x5edbab=_0x60f6aa[_0x5443ad(0xa3)](_0xe232cc,_0x226353,null);if(_0x60f6aa[_0x5443ad(0xaf)](_0x5edbab[_0x5443ad(0xdb)],0x0))return Array[_0x5443ad(0xa5)](new Set(_0x5edbab));return _0x226353[_0x5443ad(0xfb)](_0x44a73c=>path[_0x5443ad(0x119)](process[_0x5443ad(0x83)](),_0x44a73c));}try{const _0x2a0247=_0x60f6aa['eqZYA'](resolveJasmineConfigPath);if(_0x2a0247){const _0x460ae1=JSON[_0x5443ad(0x11a)](fs[_0x5443ad(0xb1)](_0x2a0247,_0x60f6aa[_0x5443ad(0xaa)])),_0x27e3fd=_0x460ae1[_0x5443ad(0x114)]||_0x60f6aa[_0x5443ad(0xde)],_0x585903=Array[_0x5443ad(0x89)](_0x460ae1['spec_files'])&&_0x60f6aa[_0x5443ad(0x102)](_0x460ae1[_0x5443ad(0x10c)][_0x5443ad(0xdb)],0x0)?_0x460ae1[_0x5443ad(0x10c)]:[_0x60f6aa[_0x5443ad(0x104)]],_0x3036e6=_0x60f6aa['hcXpU'](_0xe232cc,_0x585903,_0x27e3fd);if(_0x60f6aa[_0x5443ad(0x102)](_0x3036e6['length'],0x0))return Array[_0x5443ad(0xa5)](new Set(_0x3036e6));}}catch(_0x1d5217){_0x60f6aa[_0x5443ad(0xa7)](debug,_0x5443ad(0x112)+util[_0x5443ad(0xbd)](_0x1d5217));}return null;};async function run(_0x205ff0,_0x1793cc,_0x725b75){const _0x454886=a14_0x182c80,_0x3aa2f8={'BskqW':function(_0x41e36c,_0x54439f){return _0x41e36c>_0x54439f;},'KAQsN':'all','yycEf':function(_0x18a4d4,_0xb9f7bc){return _0x18a4d4(_0xb9f7bc);},'WVSVk':function(_0x638623,_0x1d60d2){return _0x638623||_0x1d60d2;},'noWOK':function(_0x28f865,_0x23ffe5,_0xb00451,_0xb4ca86){return _0x28f865(_0x23ffe5,_0xb00451,_0xb4ca86);},'spDii':_0x454886(0xf4),'peCaq':_0x454886(0x108),'zVTOO':function(_0x2cae31,_0x23e6cf){return _0x2cae31===_0x23e6cf;},'lAxSd':_0x454886(0xa2),'DOmjh':_0x454886(0x7a),'CgKbu':'close','UTAvy':_0x454886(0xc5),'Txlbv':_0x454886(0xb8),'dMLSF':function(_0x34457f){return _0x34457f();},'rEELI':function(_0x3e2780,_0x27c90b,_0x226142,_0xfdccf3){return _0x3e2780(_0x27c90b,_0x226142,_0xfdccf3);},'QIyLG':function(_0x1a4cf6,_0x559127,_0x59f965,_0x3f5bea){return _0x1a4cf6(_0x559127,_0x59f965,_0x3f5bea);},'VlJHT':function(_0x7dfbf2,_0x128eff){return _0x7dfbf2!=_0x128eff;},'GtglG':_0x454886(0x87),'Jycrx':function(_0xb4d4e5,_0x5f3dbe){return _0xb4d4e5(_0x5f3dbe);},'IYFMI':function(_0x58a2da,_0x31acdc){return _0x58a2da(_0x31acdc);},'fROeL':function(_0x2fd1a9,_0x4366c5){return _0x2fd1a9(_0x4366c5);},'CLrvE':function(_0x1caaf2,_0x26612c,_0x35232c){return _0x1caaf2(_0x26612c,_0x35232c);},'qAtij':function(_0x23386c,_0x2b2335){return _0x23386c*_0x2b2335;},'bEbSx':function(_0x3f174e,_0x5635fc){return _0x3f174e(_0x5635fc);},'QBBHZ':function(_0x1235ff,_0x37916a){return _0x1235ff(_0x37916a);},'JkGoq':_0x454886(0xe6),'LcgyQ':function(_0x47ed7e,_0x2603af){return _0x47ed7e(_0x2603af);},'vigwA':function(_0x4d0f7f,_0x20f621){return _0x4d0f7f(_0x20f621);},'sPSca':function(_0x5a5084,_0x434a3e){return _0x5a5084<_0x434a3e;},'NzOMH':function(_0x451a98,_0x16fa72){return _0x451a98>_0x16fa72;},'QPLKQ':function(_0x3b0643,_0x5c16e4){return _0x3b0643>_0x5c16e4;}},_0x29749d=helper[_0x454886(0xfc)](_0x3aa2f8['Txlbv']);global[_0x454886(0x11b)]=!!_0x29749d;const _0x4b3280=_0x3aa2f8[_0x454886(0xf2)](getPuppeteerVersion);global[_0x454886(0x8f)]=!!_0x4b3280;helper[_0x454886(0xac)]()&&(await _0x725b75[_0x454886(0x122)](_0x205ff0),await helper[_0x454886(0x82)](_0x725b75['config']));if(_0x29749d)await _0x3aa2f8['rEELI'](checkPwandBootstrapCli,_0x29749d,constants[_0x454886(0x105)][_0x454886(0xd0)],_0x725b75);else _0x4b3280&&await _0x3aa2f8[_0x454886(0x106)](checkPuppeteerAndBootstrapCli,_0x4b3280,constants['FRAMEWORKS'][_0x454886(0xd0)],_0x725b75);if(!_0x725b75[_0x454886(0xeb)])return;_0x3aa2f8[_0x454886(0xa9)](_0x725b75[_0x454886(0xeb)]['testObservability'],null)?process[_0x454886(0x8b)][_0x454886(0x9d)]=_0x725b75['config'][_0x454886(0xf6)]:process[_0x454886(0x8b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3aa2f8[_0x454886(0xb3)];!helper[_0x454886(0xec)](_0x725b75['config'][_0x454886(0x121)])&&(process['env'][_0x454886(0x116)]=JSON['stringify'](_0x725b75[_0x454886(0xeb)][_0x454886(0x121)]));try{await TestHubHandler[_0x454886(0x100)](FRAMEWORKS['JASMINE'],_0x725b75);}catch(_0x56d289){logger[_0x454886(0xc5)](_0x454886(0xd2)+util['format'](_0x56d289)),_0x3aa2f8['Jycrx'](debug,_0x454886(0xb5)+util[_0x454886(0xbd)](_0x56d289));}let _0x52f8c0=![],_0x17a447=[];try{_0x52f8c0=helper[_0x454886(0xef)](_0x725b75['config']),_0x17a447=helper['prepareCapabilities'](_0x725b75[_0x454886(0xeb)],_0x52f8c0,constants[_0x454886(0x105)][_0x454886(0xd0)]),process[_0x454886(0x8b)][_0x454886(0xe3)]=JSON[_0x454886(0xea)](_0x17a447);}catch(_0x4db204){_0x3aa2f8['IYFMI'](debug,_0x454886(0xf8)+util[_0x454886(0xbd)](_0x4db204));}let _0x404836=null,_0x3ea668=![];try{_0x404836=helper['getHubUrl'](_0x725b75[_0x454886(0xeb)]),_0x3ea668=helper[_0x454886(0xa6)](_0x725b75[_0x454886(0xeb)]);}catch(_0x42a766){_0x3aa2f8[_0x454886(0x8e)](debug,_0x454886(0xa0)+util['format'](_0x42a766));}const _0xf14177=_0x784a74=>{const _0x2121f9=_0x454886,_0x39e687=Array['isArray'](_0x17a447)&&_0x3aa2f8['BskqW'](_0x17a447[_0x2121f9(0xdb)],_0x784a74)?_0x17a447[_0x784a74]:Array[_0x2121f9(0x89)](_0x17a447)&&_0x3aa2f8[_0x2121f9(0x92)](_0x17a447['length'],0x0)?_0x17a447[0x0]:{};return{'server':_0x404836,'capability':_0x39e687,'proxySettings':_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0xd6)],'platform':helper['getPlatformName'](_0x39e687),'browserStackLogLevel':_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0x98)],'platformIndex':_0x784a74,'framework':constants[_0x2121f9(0x105)][_0x2121f9(0xd0)],'platformCaps':_0x3ea668?Object['assign']({'index':_0x784a74},_0x725b75[_0x2121f9(0xeb)][_0x2121f9(0xbc)][_0x784a74]):{'index':_0x784a74}};};let _0x2369fa=0x1,_0x3bbfda=0x1,_0x5e5793=0x1;try{_0x2369fa=_0x3aa2f8[_0x454886(0x11d)](getMaxWorkers,_0x205ff0,_0x725b75['config']),_0x3bbfda=_0x3ea668?_0x725b75[_0x454886(0xeb)]['platforms'][_0x454886(0xdb)]:0x1,_0x5e5793=_0x3aa2f8[_0x454886(0xf3)](_0x3bbfda,_0x2369fa),process[_0x454886(0x8b)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x3aa2f8['fROeL'](String,_0x5e5793);}catch(_0x1e5582){_0x3aa2f8[_0x454886(0x117)](debug,_0x454886(0x10d)+util['format'](_0x1e5582));}try{BrowserstackCLI[_0x454886(0x9c)]()[_0x454886(0xd4)]&&(process['env'][_0x454886(0x7c)]=BrowserstackCLI[_0x454886(0x9c)]()[_0x454886(0xd4)]);}catch(_0x2f40e6){_0x3aa2f8[_0x454886(0x86)](debug,_0x454886(0xe0)+util[_0x454886(0xbd)](_0x2f40e6));}const _0x3573b6=[];try{const _0x51c8ac=path['resolve'](__dirname,_0x3aa2f8['JkGoq']);fs['existsSync'](_0x51c8ac)?_0x3573b6[_0x454886(0x9b)](_0x454886(0xe4)+_0x51c8ac):_0x3aa2f8['fROeL'](debug,_0x454886(0xfa)+_0x51c8ac+_0x454886(0x90));}catch(_0xa97712){_0x3aa2f8[_0x454886(0x123)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x454886(0xbd)](_0xa97712));}const _0x34bba0=_0x1793cc[_0x454886(0xc0)](0x1),_0x2f4951=_0x3aa2f8[_0x454886(0x11e)](enumerateSpecFiles,_0x1793cc),_0x1c07ce=[];for(let _0xf0be57=0x0;_0x3aa2f8[_0x454886(0xc4)](_0xf0be57,_0x3bbfda);_0xf0be57++){if(_0x3aa2f8[_0x454886(0x92)](_0x2369fa,0x1)&&Array[_0x454886(0x89)](_0x2f4951)&&_0x3aa2f8[_0x454886(0xe7)](_0x2f4951['length'],0x0))for(const _0x2c6ffe of _0x2f4951){const _0x41942c={};_0x41942c[_0x454886(0x96)]=_0xf0be57,_0x41942c[_0x454886(0x81)]=[_0x2c6ffe],_0x1c07ce[_0x454886(0x9b)](_0x41942c);}else{const _0x2a286c={};_0x2a286c[_0x454886(0x96)]=_0xf0be57,_0x2a286c['specArgs']=_0x2f4951,_0x1c07ce[_0x454886(0x9b)](_0x2a286c);}}logger[_0x454886(0x101)](_0x454886(0xad)+_0x3bbfda+_0x454886(0xf7)+_0x2369fa+'\x20('+_0x1c07ce[_0x454886(0xdb)]+'\x20work-item(s),\x20max\x20'+_0x5e5793+_0x454886(0xda)),PerformanceTester[_0x454886(0x9f)](PerformanceEvents[_0x454886(0x99)]);const _0x3207e1=_0x3902a2=>new Promise(_0x5a58a9=>{const _0x505c05=_0x454886,_0xaaf293={'qOEqI':_0x3aa2f8[_0x505c05(0xe5)],'uvlfN':function(_0x4f9ed9,_0x1c93cd){const _0x3fa772=_0x505c05;return _0x3aa2f8[_0x3fa772(0xee)](_0x4f9ed9,_0x1c93cd);},'UTBxc':function(_0xd34f9a,_0x1be072){const _0x355fda=_0x505c05;return _0x3aa2f8[_0x355fda(0xd7)](_0xd34f9a,_0x1be072);},'btRBH':function(_0x159392,_0x14d54b){const _0x630ad0=_0x505c05;return _0x3aa2f8[_0x630ad0(0xee)](_0x159392,_0x14d54b);}};let _0x2a16ca;try{const _0x49b0af=_0x3aa2f8[_0x505c05(0xee)](_0xf14177,_0x3902a2['platformIndex']);_0x2a16ca=Object[_0x505c05(0xb0)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x505c05(0xea)](_0x49b0af),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x49b0af[_0x505c05(0xe8)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x339259){_0x3aa2f8[_0x505c05(0xee)](debug,_0x505c05(0xab)+_0x3902a2[_0x505c05(0x96)]+_0x505c05(0xae)+util[_0x505c05(0xbd)](_0x339259)),_0x2a16ca=Object['assign']({},process[_0x505c05(0x8b)]);}const _0x5709d2=Array[_0x505c05(0x89)](_0x3902a2[_0x505c05(0x81)])?_0x3902a2['specArgs']:[],_0x87fa3b=_0x3aa2f8[_0x505c05(0x92)](_0x5709d2[_0x505c05(0xdb)],0x0)?_0x34bba0['filter'](_0x5e4ddc=>typeof _0x5e4ddc==='string'&&_0x5e4ddc[_0x505c05(0xa1)]('-')):_0x34bba0,_0x42aa6a=[..._0x3573b6,..._0x87fa3b,..._0x5709d2];try{const _0x402399=_0x3aa2f8[_0x505c05(0xc6)](spawn,_0x3aa2f8[_0x505c05(0x10f)],[_0x3aa2f8[_0x505c05(0x7b)],..._0x42aa6a],{'shell':_0x3aa2f8[_0x505c05(0xc7)](process[_0x505c05(0xd8)],_0x3aa2f8['lAxSd']),'stdio':_0x3aa2f8[_0x505c05(0x8a)],'env':_0x2a16ca});_0x402399['on'](_0x3aa2f8[_0x505c05(0xff)],_0x574b8a=>{const _0x29b062=_0x505c05;logger['debug'](_0x29b062(0x93)+_0x3902a2[_0x29b062(0x96)]+_0x29b062(0x110)+(_0x5709d2[_0x29b062(0xdb)]?_0x5709d2['join'](','):_0xaaf293[_0x29b062(0xcf)])+')\x20exited\x20with\x20code\x20'+_0x574b8a),_0xaaf293[_0x29b062(0xc2)](_0x5a58a9,_0xaaf293[_0x29b062(0xe9)](_0x574b8a,0x0));}),_0x402399['on'](_0x3aa2f8[_0x505c05(0xb7)],_0x1576bf=>{const _0x4ee110=_0x505c05;_0xaaf293[_0x4ee110(0xc2)](debug,_0x4ee110(0x8d)+_0x3902a2[_0x4ee110(0x96)]+_0x4ee110(0xed)+util['format'](_0x1576bf)),_0xaaf293[_0x4ee110(0xd1)](_0x5a58a9,0x1);});}catch(_0x1e5e31){_0x3aa2f8[_0x505c05(0xee)](debug,_0x505c05(0x84)+_0x3902a2['platformIndex']+')\x20:\x20'+util[_0x505c05(0xbd)](_0x1e5e31)),_0x3aa2f8[_0x505c05(0xee)](_0x5a58a9,0x1);}}),_0x4dd656=_0x3aa2f8['IYFMI'](pLimit,_0x3aa2f8[_0x454886(0xa4)](_0x5e5793,0x0)?_0x5e5793:0x1),_0x5683ac=await Promise[_0x454886(0x88)](_0x1c07ce['map'](_0x442cd1=>_0x4dd656(()=>_0x3207e1(_0x442cd1))));PerformanceTester[_0x454886(0xe2)](PerformanceEvents[_0x454886(0xdd)]);const _0x2198c9=_0x5683ac[_0x454886(0xb2)](_0x5d917a=>_0x5d917a!==0x0)||0x0;process[_0x454886(0xb6)]=_0x2198c9,logger[_0x454886(0xcd)](_0x454886(0xc1)+_0x2198c9);const _0x15b71=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x454886(0x107)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x5bf7dc){_0x3aa2f8[_0x454886(0x7f)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x454886(0xbd)](_0x5bf7dc));}testOpsHelper['printBuildLink'](),await utilities[_0x454886(0x120)](_0x725b75,_0x15b71);}module[a14_0x182c80(0x95)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a15_0x3279ff=a15_0x504d;function a15_0x4020(){const _0x1959da=['1|2|4|3|0','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','isAccessibilityPlatform','vMtFU','undefined','mVICW','executeScript','debug','env','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','yjxRU','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','length','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','2294514eLLLLo','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','./testRunMap','browserstackSessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ygvOi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','browserstackAgentV2','frSdl','460265ZSeSmE','info','failedExpectations','wWKcE','isMobilePlatform','Failed:\x20','get','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','__skipSessionName','QkCSQ','eSWPB','autoScanning','startsWith','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../index','ZLrJz','nBLYt','error','getFileName','../../helpers/accessibility-automation/helper','isBrowserstackInfra','\x22}}','sessionNameSet__','stringify','passed','warn','DQTXs','3qORAOd','describe','keys','browserstackPlatformIndex','__skipSessionStatus','../../helpers/testhub/utils','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','IINWY','pop','6416Yqpnsi','fullName','2961468XjbVcj','forEach','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','format','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','Spec\x20failed','addReporter','isArray','failed','saveAccessibilityResultsWithRetry','join','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','message','prepareStackTrace','../../helpers/globals','ENV_VAR','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','is_mobile_session','../../helpers/helper','xzwNY','BROWSERSTACK_TESTHUB_JWT','EUBWW','bstackA11yScanOptions','cCoxX','util','sep','Passed','qBKRv','skipSessionName','tzMdp','jasmine-core','./bstack-reporter/customReporter','setGlobal','pGRdv','mLpLH','skipSessionStatus','includes','159057BePyRB','7865890fQdasI','thJwtToken','../../helpers/testhub/constants','rDrjw','exports','fileNameByFullName','path','getEnv','121678InxyyD','isTrue','2779uSbwIR','bin','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','qxRCf','dIFQC','__drivers','4HnVHVm','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','parse','getPackageVersion','sessionName','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','OqAwL','uREdz','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','bstackA11yShouldScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGlobal','YQGXm','split'];a15_0x4020=function(){return _0x1959da;};return a15_0x4020();}(function(_0x359401,_0xc1fd07){const _0x27eff7=a15_0x504d,_0x276069=_0x359401();while(!![]){try{const _0x420645=parseInt(_0x27eff7(0xf9))/0x1+parseInt(_0x27eff7(0x7f))/0x2*(-parseInt(_0x27eff7(0xc8))/0x3)+parseInt(_0x27eff7(0x87))/0x4*(-parseInt(_0x27eff7(0xad))/0x5)+parseInt(_0x27eff7(0xd4))/0x6+parseInt(_0x27eff7(0x81))/0x7*(parseInt(_0x27eff7(0xd2))/0x8)+parseInt(_0x27eff7(0xa4))/0x9+-parseInt(_0x27eff7(0xfa))/0xa;if(_0x420645===_0xc1fd07)break;else _0x276069['push'](_0x276069['shift']());}catch(_0x53e9ba){_0x276069['push'](_0x276069['shift']());}}}(a15_0x4020,0x45f1e));const util=require(a15_0x3279ff(0xec)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0x3279ff(0xe6)),globals=require(a15_0x3279ff(0xe2)),{shouldProcessEventForTesthub}=require(a15_0x3279ff(0xcd)),testHubConstants=require(a15_0x3279ff(0xfc)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0x3279ff(0xc0)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a15_0x3279ff(0xa6));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x3279ff(0x9e)]['BROWSERSTACK_JASMINE_CONFIG']||process[a15_0x3279ff(0x9e)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x3279ff(0x89)](rawConfig));}catch(a15_0x5dff9a){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x83)+util[a15_0x3279ff(0xd7)](a15_0x5dff9a));}try{if(_bstackConfig&&!helper[a15_0x3279ff(0x8a)]('@playwright/test')){const uJYnWa=a15_0x3279ff(0x95)[a15_0x3279ff(0x94)]('|');let lglqzr=0x0;while(!![]){switch(uJYnWa[lglqzr++]){case'0':helper[a15_0x3279ff(0xc1)]()?(global[a15_0x3279ff(0xb5)]=helper[a15_0x3279ff(0x80)](_bstackConfig[a15_0x3279ff(0xf0)]),global[a15_0x3279ff(0xcc)]=helper['isTrue'](_bstackConfig[a15_0x3279ff(0xf7)])):(global[a15_0x3279ff(0xb5)]=!![],global[a15_0x3279ff(0xcc)]=!![]);continue;case'1':logger[a15_0x3279ff(0x9d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':shouldProcessEventForTesthub()?require(a15_0x3279ff(0xbb))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a15_0x3279ff(0xbb))[a15_0x3279ff(0xab)](_bstackConfig);continue;case'3':global[a15_0x3279ff(0xcb)]=_bstackConfig['platformIndex'];continue;case'4':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;}break;}}}catch(a15_0x36adea){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xce)+util[a15_0x3279ff(0xd7)](a15_0x36adea));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a15_0x3279ff(0x9a)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x56e842=a15_0x3279ff,_0x43b721={'PRELG':function(_0x5e63ea,_0x3195e6){return _0x5e63ea(_0x3195e6);},'uREdz':_0x56e842(0x7d),'yjxRU':function(_0x40c62d,_0x38beca){return _0x40c62d(_0x38beca);},'uitYz':'node:','frSdl':_0x56e842(0xf2)},_0x84ae4b=Error[_0x56e842(0xe1)];try{const _0x331605=new Error();Error[_0x56e842(0xe1)]=(_0x5e1849,_0x50f7e0)=>_0x50f7e0;const _0x13a265=_0x331605['stack'];Error[_0x56e842(0xe1)]=_0x84ae4b;if(Array['isArray'](_0x13a265))for(const _0xece438 of _0x13a265){const _0x4e355c=_0xece438[_0x56e842(0xbf)]&&_0xece438['getFileName']();if(_0x4e355c&&!_0x4e355c[_0x56e842(0xf8)](_0x56e842(0x82)+_0x43b721['PRELG'](require,_0x43b721[_0x56e842(0x8e)])[_0x56e842(0xed)]+'jasmine'+_0x43b721[_0x56e842(0xa0)](require,_0x43b721[_0x56e842(0x8e)])['sep'])&&!_0x4e355c[_0x56e842(0xb9)](_0x43b721['uitYz'])&&!_0x4e355c[_0x56e842(0xf8)](_0x43b721[_0x56e842(0xac)]))return _0x4e355c;}}catch(_0x4c08d6){Error[_0x56e842(0xe1)]=_0x84ae4b;}return null;},_wrappedDescribe=function(_0x216c78,_0x596dae){const _0x8743a4=a15_0x3279ff,_0x2bb4c4={'rDrjw':function(_0x3fcb0c){return _0x3fcb0c();},'UZZOH':function(_0x39401a,_0x5562a3){return _0x39401a&&_0x5562a3;},'qBKRv':function(_0x435217,_0x38b96d,_0x13158d){return _0x435217(_0x38b96d,_0x13158d);}};let _0x319f67=null;try{_0x319f67=_0x2bb4c4[_0x8743a4(0xfd)](_resolveCallerFile);}catch(_0x1ecdc6){}_describeTitleStack['push'](_0x216c78);const _0x36242b=_describeTitleStack[_0x8743a4(0xde)]('\x20');_0x2bb4c4['UZZOH'](_0x319f67,_0x36242b)&&(_fileNameByFullName[_0x36242b]=_0x319f67);try{return _0x2bb4c4[_0x8743a4(0xef)](_origDescribe,_0x216c78,_0x596dae);}finally{_describeTitleStack[_0x8743a4(0xd1)]();}};Object[a15_0x3279ff(0xca)](_origDescribe)[a15_0x3279ff(0xd5)](_0x441a52=>{_wrappedDescribe[_0x441a52]=_origDescribe[_0x441a52];}),global[a15_0x3279ff(0xc9)]=_wrappedDescribe;}}catch(a15_0x247560){logger['debug'](a15_0x3279ff(0xd8)+util[a15_0x3279ff(0xd7)](a15_0x247560));}try{if(typeof jasmine!==a15_0x3279ff(0x9a)&&jasmine[a15_0x3279ff(0x7e)]){const BrowserStackJasmineReporter=require(a15_0x3279ff(0xf3)),a15_0x11cb88={};a15_0x11cb88[a15_0x3279ff(0x7c)]=_fileNameByFullName,jasmine[a15_0x3279ff(0x7e)]()[a15_0x3279ff(0xda)](new BrowserStackJasmineReporter(a15_0x11cb88)),logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xa5));}else logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x9f));}catch(a15_0x479601){logger[a15_0x3279ff(0x9d)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a15_0x3279ff(0xd7)](a15_0x479601));}function a15_0x504d(_0x25c60c,_0x4f4c4a){const _0x4020c8=a15_0x4020();return a15_0x504d=function(_0x504d2f,_0x946f5a){_0x504d2f=_0x504d2f-0x7c;let _0x5b4daf=_0x4020c8[_0x504d2f];return _0x5b4daf;},a15_0x504d(_0x25c60c,_0x4f4c4a);}try{typeof jasmine!==a15_0x3279ff(0x9a)&&jasmine[a15_0x3279ff(0x7e)]&&jasmine['getEnv']()[a15_0x3279ff(0xda)]({'specStarted'(_0x46a685){const _0x342747=a15_0x3279ff,_0x26def0={};_0x26def0['ygvOi']=function(_0x499e1d,_0x1fc2a8){return _0x499e1d||_0x1fc2a8;};const _0x206ca4=_0x26def0;_activeResultId=_0x46a685&&_0x46a685['id'],_activeFullName=_0x46a685&&_0x46a685[_0x342747(0xd3)],_activeResultRef=_0x206ca4[_0x342747(0xa9)](_0x46a685,null);},'specDone'(){}});}catch(a15_0x43faa5){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x96)+util[a15_0x3279ff(0xd7)](a15_0x43faa5));}const _resolveAutoScanning=()=>{const _0x15d916=a15_0x3279ff,_0x1e42cb={};_0x1e42cb['vMtFU']=function(_0x1e76c7,_0xc468b3){return _0x1e76c7===_0xc468b3;};const _0x3dc0b8=_0x1e42cb;let _0x1029c5=!![];try{const _0x5ae005=JSON[_0x15d916(0x89)](process[_0x15d916(0x9e)][_0x15d916(0x91)]||'{}');_0x3dc0b8[_0x15d916(0x99)](_0x5ae005[_0x15d916(0xb8)],![])&&(_0x1029c5=![]);}catch(_0x2e27b2){logger['debug'](_0x15d916(0x97)+_0x2e27b2['message']);}return _0x1029c5;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x49ea4b=a15_0x3279ff,_0x516e09={'SdOVj':function(_0x40273e){return _0x40273e();},'ysyIS':function(_0x9f149e,_0x15db77,_0x2a8e8e){return _0x9f149e(_0x15db77,_0x2a8e8e);},'pGRdv':function(_0x584ade,_0xd8717b){return _0x584ade&&_0xd8717b;},'wWKcE':_0x49ea4b(0x90),'YQGXm':_0x49ea4b(0xea)};try{const _0x4709f1=_0x516e09['SdOVj'](_resolveAutoScanning),_0x302948=_0x516e09['ysyIS'](shouldScanTestForAccessibility,null,![]),_0x3e0cae=_0x516e09[_0x49ea4b(0xf5)](_0x4709f1,_0x302948);globals['setGlobal'](_0x516e09[_0x49ea4b(0xb0)],_0x3e0cae),globals[_0x49ea4b(0xf4)](_0x516e09[_0x49ea4b(0x93)],null);}catch(_0x611d86){logger['debug'](_0x49ea4b(0x88)+util[_0x49ea4b(0xd7)](_0x611d86));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4d78ea=a15_0x3279ff,_0x25513d={'DQTXs':function(_0x4adfa9,_0xf903b1){return _0x4adfa9>_0xf903b1;},'aKpHy':function(_0x132087,_0x235fad){return _0x132087>_0x235fad;},'cCoxX':_0x4d78ea(0xd9),'OqAwL':function(_0x1fabe7,_0x12177d){return _0x1fabe7+_0x12177d;},'mVICW':_0x4d78ea(0xb2),'dIFQC':_0x4d78ea(0xee),'eSWPB':_0x4d78ea(0xbe),'nBLYt':_0x4d78ea(0xae),'tzMdp':_0x4d78ea(0xdc),'xzwNY':_0x4d78ea(0xc5),'qxRCf':function(_0x4550c7){return _0x4550c7();},'FZDXz':_0x4d78ea(0x98),'BCash':function(_0x9f40ab,_0xa3bb50){return _0x9f40ab>_0xa3bb50;},'EUBWW':_0x4d78ea(0x90),'mLpLH':_0x4d78ea(0xa3),'QkCSQ':_0x4d78ea(0xe4),'RgxNA':_0x4d78ea(0xa8),'ZLrJz':_0x4d78ea(0x8f),'XCdJT':_0x4d78ea(0xb1),'IoxFh':_0x4d78ea(0xa1),'IINWY':_0x4d78ea(0xcf)};try{if(Array[_0x4d78ea(0xdb)](global[_0x4d78ea(0x86)])&&_0x25513d[_0x4d78ea(0xc7)](global['__drivers'][_0x4d78ea(0xa2)],0x0)&&global[_0x4d78ea(0x86)][0x0]){const _0x4762f5=_activeFullName||global[_0x4d78ea(0x8b)];if(!global['__skipSessionName']&&_0x4762f5){global[_0x4d78ea(0x8b)]=_0x4762f5;try{await global[_0x4d78ea(0x86)][0x0][_0x4d78ea(0x9c)](_0x4d78ea(0xaa)+JSON[_0x4d78ea(0xc4)](_0x4762f5)+'}}'),global[_0x4d78ea(0x86)][0x0][_0x4d78ea(0xc3)]=!![];}catch(_0x5d701d){logger[_0x4d78ea(0x9d)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util[_0x4d78ea(0xd7)](_0x5d701d));}}if(!global[_0x4d78ea(0xcc)])try{const _0x247c48=_activeResultRef&&Array[_0x4d78ea(0xdb)](_activeResultRef[_0x4d78ea(0xaf)])?_activeResultRef[_0x4d78ea(0xaf)]:[],_0x3f8ec0=_0x25513d['aKpHy'](_0x247c48['length'],0x0),_0x358d31=_0x3f8ec0?_0x247c48[0x0]&&_0x247c48[0x0][_0x4d78ea(0xe0)]||_0x25513d[_0x4d78ea(0xeb)]:null;try{await global['__drivers'][0x0][_0x4d78ea(0x9c)](_0x4d78ea(0xba)+JSON['stringify'](_0x3f8ec0?_0x25513d[_0x4d78ea(0x8d)](_0x25513d[_0x4d78ea(0x9b)],_0x358d31):_0x25513d[_0x4d78ea(0x85)])+',\x22level\x22:\x20\x22'+(_0x3f8ec0?_0x25513d[_0x4d78ea(0xb7)]:_0x25513d[_0x4d78ea(0xbd)])+_0x4d78ea(0xc2));}catch(_0x46b6ca){logger[_0x4d78ea(0x9d)](_0x4d78ea(0xd6)+util['format'](_0x46b6ca));}_0x3f8ec0&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global['__drivers'][0x0],_0x3f8ec0?_0x25513d[_0x4d78ea(0xf1)]:_0x25513d[_0x4d78ea(0xe7)],_0x358d31);}catch(_0x431b20){logger[_0x4d78ea(0x9d)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x4d78ea(0xd7)](_0x431b20));}}}catch(_0xea8be3){logger[_0x4d78ea(0x9d)](_0x4d78ea(0xdf)+util[_0x4d78ea(0xd7)](_0xea8be3));}try{if(_0x25513d[_0x4d78ea(0x84)](isAccessibilityAutomationSession)&&globals[_0x4d78ea(0x92)](_0x25513d['FZDXz'])&&Array[_0x4d78ea(0xdb)](global[_0x4d78ea(0x86)])&&_0x25513d['BCash'](global['__drivers'][_0x4d78ea(0xa2)],0x0)&&global[_0x4d78ea(0x86)][0x0]){const _0x1c8f97=testRunMap[_0x4d78ea(0xb3)](_activeResultId),_0x1a7ad0={};_0x1a7ad0['thTestRunUuid']=_0x1c8f97,_0x1a7ad0['thBuildUuid']=process[_0x4d78ea(0x9e)][testHubConstants[_0x4d78ea(0xe3)]['BROWSERSTACK_TESTHUB_UUID']],_0x1a7ad0[_0x4d78ea(0xfb)]=process[_0x4d78ea(0x9e)][testHubConstants['ENV_VAR'][_0x4d78ea(0xe8)]];const _0x5a4a35=_0x1a7ad0;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x4d78ea(0xc4)](_0x5a4a35));if(globals['getGlobal'](_0x25513d[_0x4d78ea(0xe9)])){logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xf6)]);const _0x20038f=await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x4d78ea(0xa7)]);_0x20038f?logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xb6)]):logger[_0x4d78ea(0xc6)](_0x25513d['RgxNA']);}else logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xbc)]);globals[_0x4d78ea(0x92)](_0x25513d['XCdJT'])&&(_0x5a4a35[_0x4d78ea(0xe5)]=!![]);const _0xc8a3db=await accessibilityRetryHelper[_0x4d78ea(0xdd)](global[_0x4d78ea(0x86)][0x0],_0x5a4a35);_0xc8a3db?logger[_0x4d78ea(0x9d)](_0x25513d['IoxFh']):logger[_0x4d78ea(0xc6)](_0x25513d[_0x4d78ea(0xd0)]);}}catch(_0x58fafa){logger['error'](_0x4d78ea(0x8c)+util['format'](_0x58fafa));}});}catch(a15_0x10a62a){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xb4)+util[a15_0x3279ff(0xd7)](a15_0x10a62a));}module[a15_0x3279ff(0xfe)]={};
|
|
1
|
+
'use strict';const a15_0xeddc07=a15_0x197c;(function(_0x2b1090,_0x26467c){const _0x319e3c=a15_0x197c,_0x9e5efb=_0x2b1090();while(!![]){try{const _0x547e90=-parseInt(_0x319e3c(0x14b))/0x1+parseInt(_0x319e3c(0x183))/0x2*(-parseInt(_0x319e3c(0x1a7))/0x3)+parseInt(_0x319e3c(0x166))/0x4*(-parseInt(_0x319e3c(0x155))/0x5)+parseInt(_0x319e3c(0x1ab))/0x6+-parseInt(_0x319e3c(0x190))/0x7*(parseInt(_0x319e3c(0x198))/0x8)+-parseInt(_0x319e3c(0x19b))/0x9+parseInt(_0x319e3c(0x1bb))/0xa*(parseInt(_0x319e3c(0x188))/0xb);if(_0x547e90===_0x26467c)break;else _0x9e5efb['push'](_0x9e5efb['shift']());}catch(_0x3a8646){_0x9e5efb['push'](_0x9e5efb['shift']());}}}(a15_0x1ec5,0x5979c));const util=require(a15_0xeddc07(0x14d)),logger=require(a15_0xeddc07(0x156))['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a15_0xeddc07(0x18a)),{shouldProcessEventForTesthub}=require(a15_0xeddc07(0x168)),testHubConstants=require(a15_0xeddc07(0x1bc)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0xeddc07(0x1c9)),accessibilityRetryHelper=require(a15_0xeddc07(0x1ac)),testRunMap=require(a15_0xeddc07(0x1af));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a15_0xeddc07(0x1a8)]||process[a15_0xeddc07(0x158)][a15_0xeddc07(0x192)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a15_0x54e313){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x1c2)+util[a15_0xeddc07(0x145)](a15_0x54e313));}try{if(_bstackConfig&&!helper['getPackageVersion'](a15_0xeddc07(0x15d))){const YLhaNP=a15_0xeddc07(0x1b9)['split']('|');let EhODUU=0x0;while(!![]){switch(YLhaNP[EhODUU++]){case'0':logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x186));continue;case'1':shouldProcessEventForTesthub()?require('../../index')[a15_0xeddc07(0x1c5)](_bstackConfig,null,!![]):require('../../index')['browserstackAgentV2'](_bstackConfig);continue;case'2':global[a15_0xeddc07(0x1c4)]=_bstackConfig[a15_0xeddc07(0x15e)]||{};continue;case'3':helper[a15_0xeddc07(0x1b1)]()?(global['__skipSessionName']=helper[a15_0xeddc07(0x16d)](_bstackConfig[a15_0xeddc07(0x13f)]),global['__skipSessionStatus']=helper[a15_0xeddc07(0x16d)](_bstackConfig[a15_0xeddc07(0x19c)])):(global[a15_0xeddc07(0x178)]=!![],global['__skipSessionStatus']=!![]);continue;case'4':global[a15_0xeddc07(0x19f)]=_bstackConfig[a15_0xeddc07(0x149)];continue;}break;}}}catch(a15_0x38e8d8){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x1a0)+util[a15_0xeddc07(0x145)](a15_0x38e8d8));}const _fileNameByFullName={};try{if(typeof describe===a15_0xeddc07(0x197)&&typeof global!==a15_0xeddc07(0x18b)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3cd57e=a15_0xeddc07,_0x264221={'DvPFd':function(_0x4e703e,_0x2e164f){return _0x4e703e(_0x2e164f);},'EhRmZ':'path','ZsCBD':_0x3cd57e(0x1b6),'EGHEu':_0x3cd57e(0x18d)},_0x4ddc55=Error[_0x3cd57e(0x162)];try{const _0x4fac5b=new Error();Error['prepareStackTrace']=(_0x2b8fe4,_0x57f9e4)=>_0x57f9e4;const _0x4d9c9c=_0x4fac5b[_0x3cd57e(0x14e)];Error[_0x3cd57e(0x162)]=_0x4ddc55;if(Array['isArray'](_0x4d9c9c))for(const _0x3e5686 of _0x4d9c9c){const _0x4bb3ed=_0x3e5686[_0x3cd57e(0x1ca)]&&_0x3e5686['getFileName']();if(_0x4bb3ed&&!_0x4bb3ed['includes']('bin'+_0x264221[_0x3cd57e(0x1a1)](require,_0x264221[_0x3cd57e(0x17c)])[_0x3cd57e(0x140)]+_0x3cd57e(0x19e)+_0x264221[_0x3cd57e(0x1a1)](require,_0x264221[_0x3cd57e(0x17c)])[_0x3cd57e(0x140)])&&!_0x4bb3ed[_0x3cd57e(0x142)](_0x264221['ZsCBD'])&&!_0x4bb3ed[_0x3cd57e(0x161)](_0x264221[_0x3cd57e(0x16f)]))return _0x4bb3ed;}}catch(_0x50a25c){Error[_0x3cd57e(0x162)]=_0x4ddc55;}return null;},_wrappedDescribe=function(_0x5b9efc,_0x5bf76e){const _0x5f064d=a15_0xeddc07,_0xcc23a3={'Lfnmw':function(_0x393f1f){return _0x393f1f();},'udyIc':function(_0x3c28ae,_0x454956){return _0x3c28ae&&_0x454956;},'TSpvR':function(_0x3ae8bc,_0x2de887,_0x2dcb77){return _0x3ae8bc(_0x2de887,_0x2dcb77);}};let _0xe14861=null;try{_0xe14861=_0xcc23a3[_0x5f064d(0x17e)](_resolveCallerFile);}catch(_0x25b5ac){}_describeTitleStack[_0x5f064d(0x1ae)](_0x5b9efc);const _0x36da11=_describeTitleStack[_0x5f064d(0x15c)]('\x20');_0xcc23a3[_0x5f064d(0x1b7)](_0xe14861,_0x36da11)&&(_fileNameByFullName[_0x36da11]=_0xe14861);try{return _0xcc23a3['TSpvR'](_origDescribe,_0x5b9efc,_0x5bf76e);}finally{_describeTitleStack[_0x5f064d(0x185)]();}};Object[a15_0xeddc07(0x165)](_origDescribe)[a15_0xeddc07(0x1be)](_0x3b4dda=>{_wrappedDescribe[_0x3b4dda]=_origDescribe[_0x3b4dda];}),global[a15_0xeddc07(0x173)]=_wrappedDescribe;}}catch(a15_0x59ba3f){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x176)+util['format'](a15_0x59ba3f));}try{if(typeof jasmine!==a15_0xeddc07(0x18b)&&jasmine[a15_0xeddc07(0x17f)]){const BrowserStackJasmineReporter=require(a15_0xeddc07(0x164)),a15_0x533ca6={};a15_0x533ca6[a15_0xeddc07(0x1bd)]=_fileNameByFullName,jasmine[a15_0xeddc07(0x17f)]()['addReporter'](new BrowserStackJasmineReporter(a15_0x533ca6)),logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x144));}else logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x1a9));}catch(a15_0x2b478a){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x14a)+util[a15_0xeddc07(0x145)](a15_0x2b478a));}try{typeof jasmine!==a15_0xeddc07(0x18b)&&jasmine[a15_0xeddc07(0x17f)]&&jasmine[a15_0xeddc07(0x17f)]()[a15_0xeddc07(0x16b)]({'specStarted'(_0x208cf7){const _0x20ae4c=a15_0xeddc07,_0x21af1c={};_0x21af1c[_0x20ae4c(0x1c3)]=function(_0x34ac31,_0x57e43a){return _0x34ac31||_0x57e43a;};const _0x1dbfc7=_0x21af1c;_activeResultId=_0x208cf7&&_0x208cf7['id'],_activeFullName=_0x208cf7&&_0x208cf7[_0x20ae4c(0x170)],_activeResultRef=_0x1dbfc7[_0x20ae4c(0x1c3)](_0x208cf7,null);},'specDone'(){}});}catch(a15_0xc3a43b){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x182)+util[a15_0xeddc07(0x145)](a15_0xc3a43b));}const _resolveAutoScanning=()=>{const _0x76513c=a15_0xeddc07,_0x395a95={};_0x395a95[_0x76513c(0x14f)]=function(_0x4b799a,_0x54e7cc){return _0x4b799a===_0x54e7cc;};const _0x106e92=_0x395a95;let _0x46199f=!![];try{const _0x546f3d=JSON[_0x76513c(0x1bf)](process[_0x76513c(0x158)][_0x76513c(0x1a6)]||'{}');_0x106e92[_0x76513c(0x14f)](_0x546f3d[_0x76513c(0x1a4)],![])&&(_0x46199f=![]);}catch(_0x557c29){logger[_0x76513c(0x16c)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x557c29['message']);}return _0x46199f;};try{typeof beforeEach===a15_0xeddc07(0x197)&&beforeEach(function bstackA11yBeforeEach(){const _0x2a419a=a15_0xeddc07,_0x5514d9={'oCQUZ':function(_0x3e81bd){return _0x3e81bd();},'nHAbS':function(_0x10237f,_0x4f31a4,_0x30c08e){return _0x10237f(_0x4f31a4,_0x30c08e);},'uxPKF':function(_0x5c8d10,_0x581172){return _0x5c8d10&&_0x581172;},'ehPAa':_0x2a419a(0x177),'nLJqG':'bstackA11yScanOptions'};try{const _0x53c651=_0x5514d9['oCQUZ'](_resolveAutoScanning),_0x2fe8ab=_0x5514d9[_0x2a419a(0x19d)](shouldScanTestForAccessibility,null,![]),_0x5f28c2=_0x5514d9['uxPKF'](_0x53c651,_0x2fe8ab);globals[_0x2a419a(0x15a)](_0x5514d9[_0x2a419a(0x167)],_0x5f28c2),globals[_0x2a419a(0x15a)](_0x5514d9['nLJqG'],null);}catch(_0xc6352){logger[_0x2a419a(0x16c)](_0x2a419a(0x160)+util[_0x2a419a(0x145)](_0xc6352));}}),typeof afterEach===a15_0xeddc07(0x197)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5d2b2d=a15_0xeddc07,_0x65d934={'jZVBA':function(_0x2764c2,_0x364d46){return _0x2764c2>_0x364d46;},'CqVqB':_0x5d2b2d(0x1b2),'dsXIB':function(_0x4798e1,_0x454b15){return _0x4798e1+_0x454b15;},'hZTBi':'Failed:\x20','rMORN':'Passed','hUrJo':_0x5d2b2d(0x1c0),'lPAjA':_0x5d2b2d(0x171),'jQPYA':_0x5d2b2d(0x1b5),'RSOYC':_0x5d2b2d(0x175),'mtjaj':function(_0x482207){return _0x482207();},'NXvJg':_0x5d2b2d(0x169),'OasPC':function(_0x42fa47,_0x59b17e){return _0x42fa47>_0x59b17e;},'Xudem':_0x5d2b2d(0x177),'Xcqez':_0x5d2b2d(0x1a2),'jmSll':_0x5d2b2d(0x179),'IGDeg':_0x5d2b2d(0x15f),'Xuqcb':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','XMVbN':_0x5d2b2d(0x191),'aLJNA':_0x5d2b2d(0x195),'dVQNF':_0x5d2b2d(0x18f)};try{if(Array[_0x5d2b2d(0x15b)](global[_0x5d2b2d(0x174)])&&_0x65d934[_0x5d2b2d(0x147)](global['__drivers']['length'],0x0)&&global[_0x5d2b2d(0x174)][0x0]){const _0x10b1ba=_activeFullName||global[_0x5d2b2d(0x150)];if(!global[_0x5d2b2d(0x178)]&&_0x10b1ba){global['sessionName']=_0x10b1ba;try{await global[_0x5d2b2d(0x174)][0x0][_0x5d2b2d(0x14c)](_0x5d2b2d(0x172)+JSON[_0x5d2b2d(0x1c8)](_0x10b1ba)+'}}'),global['__drivers'][0x0][_0x5d2b2d(0x17a)]=!![];}catch(_0x49ba5b){logger['debug'](_0x5d2b2d(0x196)+util['format'](_0x49ba5b));}}if(!global[_0x5d2b2d(0x16a)])try{const _0x2df3c6=_activeResultRef&&Array[_0x5d2b2d(0x15b)](_activeResultRef[_0x5d2b2d(0x184)])?_activeResultRef['failedExpectations']:[],_0x33ec49=_0x65d934[_0x5d2b2d(0x147)](_0x2df3c6[_0x5d2b2d(0x157)],0x0),_0x568bac=_0x33ec49?_0x2df3c6[0x0]&&_0x2df3c6[0x0][_0x5d2b2d(0x1aa)]||_0x65d934['CqVqB']:null;try{await global[_0x5d2b2d(0x174)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x33ec49?_0x65d934[_0x5d2b2d(0x1c1)](_0x65d934[_0x5d2b2d(0x1a5)],_0x568bac):_0x65d934['rMORN'])+',\x22level\x22:\x20\x22'+(_0x33ec49?_0x65d934['hUrJo']:_0x65d934[_0x5d2b2d(0x19a)])+'\x22}}');}catch(_0x1dbdec){logger['debug'](_0x5d2b2d(0x148)+util[_0x5d2b2d(0x145)](_0x1dbdec));}_0x33ec49&&(global[_0x5d2b2d(0x1b0)]=!![]),await helper[_0x5d2b2d(0x1b4)](global[_0x5d2b2d(0x174)][0x0],_0x33ec49?_0x65d934[_0x5d2b2d(0x1ba)]:_0x65d934[_0x5d2b2d(0x187)],_0x568bac);}catch(_0x5c6b48){logger['debug'](_0x5d2b2d(0x153)+util['format'](_0x5c6b48));}}}catch(_0x584fea){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x5d2b2d(0x145)](_0x584fea));}try{if(_0x65d934[_0x5d2b2d(0x18e)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x65d934[_0x5d2b2d(0x181)])&&Array[_0x5d2b2d(0x15b)](global[_0x5d2b2d(0x174)])&&_0x65d934[_0x5d2b2d(0x1c7)](global['__drivers'][_0x5d2b2d(0x157)],0x0)&&global['__drivers'][0x0]){const _0x587710=testRunMap[_0x5d2b2d(0x194)](_activeResultId),_0x21a6c4={};_0x21a6c4[_0x5d2b2d(0x1ad)]=_0x587710,_0x21a6c4[_0x5d2b2d(0x189)]=process[_0x5d2b2d(0x158)][testHubConstants[_0x5d2b2d(0x1b8)]['BROWSERSTACK_TESTHUB_UUID']],_0x21a6c4[_0x5d2b2d(0x152)]=process[_0x5d2b2d(0x158)][testHubConstants[_0x5d2b2d(0x1b8)][_0x5d2b2d(0x151)]];const _0xac4125=_0x21a6c4;logger['debug'](_0x5d2b2d(0x159)+JSON[_0x5d2b2d(0x1c8)](_0xac4125));if(globals[_0x5d2b2d(0x17b)](_0x65d934[_0x5d2b2d(0x1b3)])){logger[_0x5d2b2d(0x16c)](_0x65d934[_0x5d2b2d(0x1cb)]);const _0x3645a0=await accessibilityRetryHelper[_0x5d2b2d(0x1a3)](global[_0x5d2b2d(0x174)][0x0],global[_0x5d2b2d(0x163)]);_0x3645a0?logger[_0x5d2b2d(0x16c)](_0x65d934[_0x5d2b2d(0x141)]):logger[_0x5d2b2d(0x1c6)](_0x65d934[_0x5d2b2d(0x180)]);}else logger['debug'](_0x65d934[_0x5d2b2d(0x199)]);globals[_0x5d2b2d(0x17b)](_0x65d934[_0x5d2b2d(0x146)])&&(_0xac4125[_0x5d2b2d(0x143)]=!![]);const _0x49d4a0=await accessibilityRetryHelper[_0x5d2b2d(0x17d)](global[_0x5d2b2d(0x174)][0x0],_0xac4125);_0x49d4a0?logger[_0x5d2b2d(0x16c)](_0x65d934[_0x5d2b2d(0x193)]):logger[_0x5d2b2d(0x1c6)](_0x65d934['dVQNF']);}}catch(_0x39fcb7){logger[_0x5d2b2d(0x1c0)](_0x5d2b2d(0x18c)+util['format'](_0x39fcb7));}});}catch(a15_0x222cb5){logger[a15_0xeddc07(0x16c)](a15_0xeddc07(0x154)+util[a15_0xeddc07(0x145)](a15_0x222cb5));}function a15_0x1ec5(){const _0x35e270=['__skipSessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','sessionNameSet__','getGlobal','EhRmZ','saveAccessibilityResultsWithRetry','Lfnmw','getEnv','IGDeg','NXvJg','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','1353138mfXPYc','failedExpectations','pop','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','RSOYC','7697503kAuNTh','thBuildUuid','../../helpers/globals','undefined','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jasmine-core','mtjaj','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','931kRHXmE','isMobilePlatform','CONFIG','aLJNA','get','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','function','30776NPjocK','Xuqcb','lPAjA','2981196qGYqOs','skipSessionStatus','nHAbS','jasmine','browserstackPlatformIndex','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','DvPFd','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','performScanWithRetry','autoScanning','hZTBi','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','3mdcMkp','BROWSERSTACK_JASMINE_CONFIG','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','message','2709774QEsOKq','../../helpers/accessibility-automation/accessibilityRetryHelper','thTestRunUuid','push','./testRunMap','__sessionFailed','isBrowserstackInfra','Spec\x20failed','Xudem','markSessionStatus','failed','node:','udyIc','ENV_VAR','0|1|2|4|3','jQPYA','30wJaXel','../../helpers/testhub/constants','fileNameByFullName','forEach','parse','error','dsXIB','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','yjOFs','__platformCaps','browserstackAgentV2','warn','OasPC','stringify','../../helpers/accessibility-automation/helper','getFileName','Xcqez','skipSessionName','sep','jmSll','startsWith','is_mobile_session','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','format','XMVbN','jZVBA','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','platformIndex','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','203560cPHYJU','executeScript','util','stack','ogBqy','sessionName','BROWSERSTACK_TESTHUB_JWT','thJwtToken','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','576790wivriF','../../helpers/logger','length','env','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','setGlobal','isArray','join','@playwright/test','platformCaps','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','includes','prepareStackTrace','browserstackSessionName','./bstack-reporter/customReporter','keys','16OMEHui','ehPAa','../../helpers/testhub/utils','isAccessibilityPlatform','__skipSessionStatus','addReporter','debug','isTrue','exports','EGHEu','fullName','info','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','describe','__drivers','passed','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','bstackA11yShouldScan'];a15_0x1ec5=function(){return _0x35e270;};return a15_0x1ec5();}function a15_0x197c(_0x5331dc,_0x107c44){const _0x1ec525=a15_0x1ec5();return a15_0x197c=function(_0x197c5e,_0x3dca0f){_0x197c5e=_0x197c5e-0x13f;let _0x53b724=_0x1ec525[_0x197c5e];return _0x53b724;},a15_0x197c(_0x5331dc,_0x107c44);}module[a15_0xeddc07(0x16e)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a16_0x343a(_0x3026c0,_0xa6bd3b){const _0x236229=a16_0x2362();return a16_0x343a=function(_0x343a82,_0x4416a4){_0x343a82=_0x343a82-0x10d;let _0x568781=_0x236229[_0x343a82];return _0x568781;},a16_0x343a(_0x3026c0,_0xa6bd3b);}const a16_0x7ab231=a16_0x343a;(function(_0x334bbc,_0x315b9d){const _0x5f52a1=a16_0x343a,_0x16749c=_0x334bbc();while(!![]){try{const _0x232bce=parseInt(_0x5f52a1(0x114))/0x1*(-parseInt(_0x5f52a1(0x118))/0x2)+parseInt(_0x5f52a1(0x11e))/0x3+-parseInt(_0x5f52a1(0x113))/0x4*(-parseInt(_0x5f52a1(0x11a))/0x5)+-parseInt(_0x5f52a1(0x11f))/0x6*(-parseInt(_0x5f52a1(0x119))/0x7)+-parseInt(_0x5f52a1(0x10e))/0x8*(parseInt(_0x5f52a1(0x115))/0x9)+-parseInt(_0x5f52a1(0x110))/0xa+parseInt(_0x5f52a1(0x120))/0xb;if(_0x232bce===_0x315b9d)break;else _0x16749c['push'](_0x16749c['shift']());}catch(_0x357a8c){_0x16749c['push'](_0x16749c['shift']());}}}(a16_0x2362,0x3e359));function a16_0x2362(){const _0x3b2389=['502024hoNJUc','XcMqx','5087860KBxYdw','set','gouXl','484028fgkAVt','163dWwcmU','72tBotPn','XvvTE','delete','34mdhiAi','215173rIdEfn','20ZWHUkk','_size','remove','get','540000cgSkEz','78bNjeuc','2252305ubACuM','oempY','pUNCg'];a16_0x2362=function(){return _0x3b2389;};return a16_0x2362();}const _specUuidById=new Map();exports[a16_0x7ab231(0x111)]=(_0x2f3312,_0x182bbe)=>{const _0x1a28dc=a16_0x7ab231,_0xd7a0be={};_0xd7a0be[_0x1a28dc(0x10f)]=function(_0x1b97da,_0x59638e){return _0x1b97da===_0x59638e;},_0xd7a0be[_0x1a28dc(0x116)]=function(_0xfa5089,_0x28d226){return _0xfa5089===_0x28d226;};const _0x551feb=_0xd7a0be;if(_0x551feb['XcMqx'](_0x2f3312,undefined)||_0x551feb[_0x1a28dc(0x116)](_0x2f3312,null))return;_specUuidById[_0x1a28dc(0x111)](_0x2f3312,_0x182bbe);},exports['get']=_0x482bae=>{const _0x2b44cc=a16_0x7ab231,_0x183ed5={};_0x183ed5[_0x2b44cc(0x112)]=function(_0x3be655,_0x67a802){return _0x3be655===_0x67a802;};const _0xba9bc7=_0x183ed5;if(_0xba9bc7[_0x2b44cc(0x112)](_0x482bae,undefined)||_0xba9bc7[_0x2b44cc(0x112)](_0x482bae,null))return undefined;return _specUuidById[_0x2b44cc(0x11d)](_0x482bae);},exports[a16_0x7ab231(0x11c)]=_0x5c045e=>{const _0xcb7a0=a16_0x7ab231,_0x3040ec={};_0x3040ec['oempY']=function(_0x5c3eda,_0x468b6b){return _0x5c3eda===_0x468b6b;},_0x3040ec['pUNCg']=function(_0x499485,_0x6aca07){return _0x499485===_0x6aca07;};const _0x2f9ca6=_0x3040ec;if(_0x2f9ca6[_0xcb7a0(0x121)](_0x5c045e,undefined)||_0x2f9ca6[_0xcb7a0(0x10d)](_0x5c045e,null))return;_specUuidById[_0xcb7a0(0x117)](_0x5c045e);},exports[a16_0x7ab231(0x11b)]=()=>_specUuidById['size'];
|