browserstack-node-sdk 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x5da99b=a10_0x2e5b;(function(_0x4815f9,_0x263be3){const _0x385d7b=a10_0x2e5b,_0x59fb57=_0x4815f9();while(!![]){try{const _0x18dd89=-parseInt(_0x385d7b(0x1d8))/0x1+parseInt(_0x385d7b(0x1dd))/0x2*(-parseInt(_0x385d7b(0x206))/0x3)+-parseInt(_0x385d7b(0x1d5))/0x4*(parseInt(_0x385d7b(0x1fc))/0x5)+-parseInt(_0x385d7b(0x1de))/0x6*(parseInt(_0x385d7b(0x1e0))/0x7)+parseInt(_0x385d7b(0x1e8))/0x8+parseInt(_0x385d7b(0x1ef))/0x9*(parseInt(_0x385d7b(0x202))/0xa)+parseInt(_0x385d7b(0x1d7))/0xb;if(_0x18dd89===_0x263be3)break;else _0x59fb57['push'](_0x59fb57['shift']());}catch(_0x508337){_0x59fb57['push'](_0x59fb57['shift']());}}}(a10_0x3ff9,0x3a1cc));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x5da99b(0x1d0)),cucumberModule=requireModule(a10_0x5da99b(0x1f1),a10_0x5da99b(0x1f2)),logger=require('../../helpers/logger')[a10_0x5da99b(0x1d2)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x5da99b(0x1ee)],After=cucumberModule['After'],configuration=process[a10_0x5da99b(0x1f5)][a10_0x5da99b(0x1fa)];if(configuration!==undefined){const config=JSON[a10_0x5da99b(0x1d3)](configuration);isTrue(config['skipSessionName'])&&(global['__skipSessionName']=!![]),global[a10_0x5da99b(0x1f6)]=isTrue(config['skipSessionStatus']),require(a10_0x5da99b(0x1e3))[a10_0x5da99b(0x1f0)](config),global['__platformCaps']=config[a10_0x5da99b(0x1ea)]||{};}global[a10_0x5da99b(0x1df)]=0x0;function a10_0x2e5b(_0x1d36ce,_0x41d8c6){const _0x3ff9b1=a10_0x3ff9();return a10_0x2e5b=function(_0x2e5b7a,_0x9c1279){_0x2e5b7a=_0x2e5b7a-0x1d0;let _0x5f0dd7=_0x3ff9b1[_0x2e5b7a];return _0x5f0dd7;},a10_0x2e5b(_0x1d36ce,_0x41d8c6);}const __setDefaultTimeout=cucumberModule[a10_0x5da99b(0x20a)];cucumberModule[a10_0x5da99b(0x20a)]=_0x133119=>{const _0x50b78c=a10_0x5da99b,_0x5bb353={'hMeOn':function(_0x3ea5eb,_0x1ec39e){return _0x3ea5eb(_0x1ec39e);}};global[_0x50b78c(0x1df)]=_0x133119,_0x5bb353[_0x50b78c(0x1e6)](__setDefaultTimeout,_0x133119);};const a10_0x1e2364={};function a10_0x3ff9(){const _0x3feef4=['Inside\x20browserstack\x20Before','name','hMeOn','arguments','53136WEKJiZ','\x20|\x20','platformCaps','XAxDl','__driver','then','Before','1255113Tltpnd','browserstackAgentV2','cucumber/lib/index.js','cucumber','action','Inside\x20browserstack\x20After','env','__skipSessionStatus','Error:\x20setting\x20status\x20at\x20After:\x20','HPIXm','setSessionName','CONFIG','NomEg','75FMQvAl','xtsEV','bstack','debug','pyFrK','lldyx','10UwFPbz','BXYLY','timeout','join','690kMUhnv','KiMsK','session_','status','setDefaultTimeout','../../helpers/setKeepAlive','hSNQu','winstonLogger','parse','executeScript','20396HCcHLf','__error_messages__','7847411WdLcKU','80532OFMRSD','pickle','TLZoT','stringify','hWlVu','632utiAjj','2350650omNejc','__timeout','7CkSnOp','browserstack_executor:\x20','failed','../../index'];a10_0x3ff9=function(){return _0x3feef4;};return a10_0x3ff9();}a10_0x1e2364[a10_0x5da99b(0x1e5)]=a10_0x5da99b(0x1fe),Before(a10_0x1e2364,function(){const _0x5ab4b5=a10_0x5da99b,_0x5ef759={};_0x5ef759[_0x5ab4b5(0x1fb)]=_0x5ab4b5(0x1e4);const _0x5dec71=_0x5ef759;logger[_0x5ab4b5(0x1ff)](_0x5dec71[_0x5ab4b5(0x1fb)]),global['__error_messages__']=[];});const a10_0x4d9437={};a10_0x4d9437[a10_0x5da99b(0x1e5)]=a10_0x5da99b(0x1fe),a10_0x4d9437[a10_0x5da99b(0x204)]=0x2710,After(a10_0x4d9437,function(_0x3cbdf5,_0x780e0c){const _0x1b1991=a10_0x5da99b,_0x5dbef1={'HPIXm':_0x1b1991(0x1f9),'BXYLY':function(_0x50185a,_0x4ba7ee){return _0x50185a===_0x4ba7ee;},'hWlVu':_0x1b1991(0x1e2),'lldyx':function(_0x510c0a,_0x5d44bd,_0x199911,_0x34c5a5){return _0x510c0a(_0x5d44bd,_0x199911,_0x34c5a5);},'TLZoT':_0x1b1991(0x1e9),'hSNQu':function(_0xa12994,_0x299288,_0x31656f){return _0xa12994(_0x299288,_0x31656f);},'KiMsK':'passed','XAxDl':function(_0x2ca6df){return _0x2ca6df();},'xtsEV':function(_0x482628,_0x5e0c34){return _0x482628(_0x5e0c34);},'pyFrK':_0x1b1991(0x1f4)};logger[_0x1b1991(0x1ff)](_0x5dbef1[_0x1b1991(0x200)]),new Promise(async(_0x2bf0ef,_0x493e98)=>{const _0x12ca8c=_0x1b1991;let _0x51de66=![];try{await global[_0x12ca8c(0x1ec)][_0x12ca8c(0x208)],_0x51de66=!![];if(!global['__skipSessionName']){const _0x2cc4d2={};_0x2cc4d2[_0x12ca8c(0x1e5)]=_0x3cbdf5[_0x12ca8c(0x1d9)]['name'];const _0x13cd38={};_0x13cd38[_0x12ca8c(0x1f3)]=_0x5dbef1[_0x12ca8c(0x1f8)],_0x13cd38[_0x12ca8c(0x1e7)]=_0x2cc4d2;const _0x4ec846=_0x13cd38;await global[_0x12ca8c(0x1ec)][_0x12ca8c(0x1d4)](_0x12ca8c(0x1e1)+JSON[_0x12ca8c(0x1db)](_0x4ec846));}_0x5dbef1[_0x12ca8c(0x203)](_0x3cbdf5['result'][_0x12ca8c(0x209)]['toLowerCase'](),_0x5dbef1[_0x12ca8c(0x1dc)])?await _0x5dbef1[_0x12ca8c(0x201)](markSessionStatus,global[_0x12ca8c(0x1ec)],_0x5dbef1[_0x12ca8c(0x1dc)],global[_0x12ca8c(0x1d6)][_0x12ca8c(0x205)](_0x5dbef1[_0x12ca8c(0x1da)])):await _0x5dbef1[_0x12ca8c(0x1d1)](markSessionStatus,global['__driver'],_0x5dbef1[_0x12ca8c(0x207)]);}catch(_0x5ea595){logger[_0x12ca8c(0x1ff)](_0x12ca8c(0x1f7)+_0x5ea595);}if(_0x51de66)try{await global[_0x12ca8c(0x1ec)]['initQuit'](),_0x5dbef1['XAxDl'](_0x2bf0ef);}catch(_0x21cd58){logger[_0x12ca8c(0x1ff)]('Error:\x20quiting\x20at\x20After:\x20'+_0x21cd58),_0x5dbef1[_0x12ca8c(0x1fd)](_0x493e98,_0x21cd58);}else _0x5dbef1[_0x12ca8c(0x1eb)](_0x493e98);})[_0x1b1991(0x1ed)](()=>_0x780e0c());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a11_0x527c(_0x5847a8,_0x26297a){const _0x1a3af7=a11_0x1a3a();return a11_0x527c=function(_0x527c70,_0xd13a8f){_0x527c70=_0x527c70-0x1e2;let _0x372da4=_0x1a3af7[_0x527c70];return _0x372da4;},a11_0x527c(_0x5847a8,_0x26297a);}const a11_0x386939=a11_0x527c;(function(_0x2cf21e,_0x49b6bb){const _0x2ce005=a11_0x527c,_0x1b28f7=_0x2cf21e();while(!![]){try{const _0x276519=parseInt(_0x2ce005(0x1e2))/0x1*(parseInt(_0x2ce005(0x1e9))/0x2)+parseInt(_0x2ce005(0x1e4))/0x3+-parseInt(_0x2ce005(0x1f3))/0x4*(parseInt(_0x2ce005(0x1e6))/0x5)+parseInt(_0x2ce005(0x1f0))/0x6*(parseInt(_0x2ce005(0x1f2))/0x7)+-parseInt(_0x2ce005(0x1ea))/0x8*(-parseInt(_0x2ce005(0x1ef))/0x9)+parseInt(_0x2ce005(0x1f5))/0xa*(-parseInt(_0x2ce005(0x1f7))/0xb)+parseInt(_0x2ce005(0x1eb))/0xc*(-parseInt(_0x2ce005(0x1f6))/0xd);if(_0x276519===_0x49b6bb)break;else _0x1b28f7['push'](_0x1b28f7['shift']());}catch(_0x2a63c1){_0x1b28f7['push'](_0x1b28f7['shift']());}}}(a11_0x1a3a,0x1a863));const {requireModule}=require(a11_0x386939(0x1f1)),constants=require(a11_0x386939(0x1e5));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x386939(0x1e3),a11_0x386939(0x1ed));}catch(a11_0x3eb48b){cucumberModule=requireModule(a11_0x386939(0x1ec),a11_0x386939(0x1e7));}function a11_0x1a3a(){const _0x4a507a=['196759YdidFG','@cucumber/cucumber/lib/index.js','608784HVnHvB','../utils/constants','5xiVfCL','cucumber','BSTACK_DELTA','2zuZZSr','30040tKESNa','12132iioCCv','cucumber/lib/index.js','@cucumber/cucumber','__timeout','333AFXATB','6poICHM','../../helpers/helper','950033wmtboR','391040WGTwpT','setDefaultTimeout','250GSkMjo','4004FsUOlw','68882kMUTES'];a11_0x1a3a=function(){return _0x4a507a;};return a11_0x1a3a();}const userValue=global[a11_0x386939(0x1ee)]||0x0;(userValue===0x0||userValue<constants[a11_0x386939(0x1e8)])&&cucumberModule[a11_0x386939(0x1f4)](constants[a11_0x386939(0x1e8)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0xaef971=a12_0x317c;(function(_0x69a076,_0x20d060){const _0x461a2b=a12_0x317c,_0x28bc91=_0x69a076();while(!![]){try{const _0x4ec21b=-parseInt(_0x461a2b(0x1c2))/0x1*(-parseInt(_0x461a2b(0x1a9))/0x2)+-parseInt(_0x461a2b(0x1c6))/0x3*(-parseInt(_0x461a2b(0x1d1))/0x4)+parseInt(_0x461a2b(0x194))/0x5+-parseInt(_0x461a2b(0x1aa))/0x6+-parseInt(_0x461a2b(0x1c3))/0x7*(-parseInt(_0x461a2b(0x1b0))/0x8)+parseInt(_0x461a2b(0x1b5))/0x9+-parseInt(_0x461a2b(0x18e))/0xa;if(_0x4ec21b===_0x20d060)break;else _0x28bc91['push'](_0x28bc91['shift']());}catch(_0xd48c56){_0x28bc91['push'](_0x28bc91['shift']());}}}(a12_0x212d,0x81cbd));function a12_0x317c(_0x19e9ff,_0x3f68aa){const _0x212d11=a12_0x212d();return a12_0x317c=function(_0x317c6a,_0x315438){_0x317c6a=_0x317c6a-0x18e;let _0x36fb02=_0x212d11[_0x317c6a];return _0x36fb02;},a12_0x317c(_0x19e9ff,_0x3f68aa);}const {default:BrowserStackSetup}=require(a12_0xaef971(0x1ae)),logger=require(a12_0xaef971(0x19c))['winstonLogger'],{URL}=require('url'),helper=require(a12_0xaef971(0x1a2)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0xaef971(0x1b3)),validHosts=function(_0x1a85d5){return _0x1a85d5['split'](',')['every'](_0x29d5c3=>{try{new URL(_0x29d5c3['trim']());}catch(_0xa780e1){return![];}return!![];});},parseOnPremHosts=function(_0x46fd8c){const _0x594ef8=a12_0xaef971,_0x2073dc={};_0x2073dc[_0x594ef8(0x1be)]=function(_0x46ccdb,_0x31dcbb){return _0x46ccdb===_0x31dcbb;},_0x2073dc[_0x594ef8(0x1cc)]='https:',_0x2073dc[_0x594ef8(0x198)]=_0x594ef8(0x1c7),_0x2073dc['ciEHR']=function(_0x2e2286,_0x181523){return _0x2e2286===_0x181523;},_0x2073dc[_0x594ef8(0x1bc)]=_0x594ef8(0x1ac);const _0x4e9b31=_0x2073dc;return _0x46fd8c['split'](',')[_0x594ef8(0x1a0)](_0x4d0ecd=>{const _0x307926=_0x594ef8,_0xeeccc=new URL(_0x4d0ecd[_0x307926(0x1a8)]()),_0x312161=_0xeeccc['hostname'],_0x4dc8fb=_0xeeccc[_0x307926(0x19e)]||(_0x4e9b31[_0x307926(0x1be)](_0xeeccc[_0x307926(0x19f)],_0x4e9b31[_0x307926(0x1cc)])?_0x4e9b31['DfrAQ']:'80'),_0x6fef95=_0xeeccc['protocol']['replace'](':',''),_0xeafa76=_0x4e9b31['ciEHR'](_0x6fef95,_0x4e9b31['fZbzp'])?0x1:0x0;return _0x312161+','+_0x4dc8fb+','+_0xeafa76;});},connectCommandBuilder=function(_0xd0c1c4){const _0x87cb15=a12_0xaef971,_0x463d37={};_0x463d37['MHNYa']=_0x87cb15(0x1b6);const _0x1626f0=_0x463d37,_0x3520fd={};_0x3520fd[_0x87cb15(0x1a1)]=HELP_MESSAGES[_0x87cb15(0x1c5)][_0x87cb15(0x1a4)],_0x3520fd[_0x87cb15(0x190)]=_0x1626f0['MHNYa'];const _0x4fef9f={};_0x4fef9f[_0x87cb15(0x1a1)]=HELP_MESSAGES[_0x87cb15(0x1c5)][_0x87cb15(0x1b9)],_0x4fef9f[_0x87cb15(0x190)]=_0x1626f0[_0x87cb15(0x192)],_0x4fef9f[_0x87cb15(0x19a)]=!![];const _0x156688={};return _0x156688[_0x87cb15(0x1a6)]=_0x3520fd,_0x156688[_0x87cb15(0x1b9)]=_0x4fef9f,_0xd0c1c4[_0x87cb15(0x1c5)](_0x156688);},connectCommandHandler=async function(_0x29f1d3){const _0x46abb5=a12_0xaef971,_0x3b4a1f={'UGOCJ':_0x46abb5(0x1ba),'wVcHH':function(_0x1b668d,_0x5d64de){return _0x1b668d===_0x5d64de;},'xNpCL':_0x46abb5(0x1c4),'JpDft':_0x46abb5(0x193),'mbyWd':_0x46abb5(0x199),'aXPmp':function(_0xfafe33,_0x282d04){return _0xfafe33(_0x282d04);},'PqfZi':_0x46abb5(0x1c1),'pcasf':_0x46abb5(0x1b8),'YYCdZ':'Connection\x20established\x20successfully.','iZSqU':_0x46abb5(0x1b7)};try{const _0x118e33=new BrowserStackSetup(_0x29f1d3,_0x3b4a1f[_0x46abb5(0x1b1)]);_0x29f1d3[_0x46abb5(0x1bb)]&&(_0x118e33['config'][_0x46abb5(0x1cb)]=_0x29f1d3[_0x46abb5(0x1bb)]);if(_0x3b4a1f[_0x46abb5(0x197)](typeof _0x118e33[_0x46abb5(0x195)]['accessKey'],_0x3b4a1f[_0x46abb5(0x1ce)])){logger['error'](_0x3b4a1f['JpDft']);throw new Error(ERROR_MESSAGES[_0x46abb5(0x1a4)][_0x46abb5(0x1ca)]);}const _0x556f58=_0x29f1d3[_0x46abb5(0x1b9)];if(_0x3b4a1f['wVcHH'](typeof _0x556f58,_0x3b4a1f['xNpCL'])){logger[_0x46abb5(0x196)](_0x3b4a1f[_0x46abb5(0x1cd)]);throw new Error(ERROR_MESSAGES['hosts']['missing']);}if(!_0x3b4a1f[_0x46abb5(0x1a3)](validHosts,_0x556f58)){logger[_0x46abb5(0x196)](_0x3b4a1f[_0x46abb5(0x191)]);throw new Error(ERROR_MESSAGES[_0x46abb5(0x1b9)]['invalid']);}const _0xf6a44e=_0x3b4a1f[_0x46abb5(0x1a3)](parseOnPremHosts,_0x556f58);_0x118e33[_0x46abb5(0x195)][_0x46abb5(0x1b4)]=!![],_0x118e33[_0x46abb5(0x195)][_0x46abb5(0x1d0)][_0x46abb5(0x1cf)]=_0x3b4a1f[_0x46abb5(0x1c9)],_0x118e33[_0x46abb5(0x195)][_0x46abb5(0x1d0)][_0x46abb5(0x1ab)]=_0xf6a44e[_0x46abb5(0x1c0)](','),helper[_0x46abb5(0x1bd)](_0x118e33['config']),await _0x118e33[_0x46abb5(0x19b)](),logger['info'](_0x3b4a1f['YYCdZ']);}catch(_0x473d10){logger['error'](_0x3b4a1f['iZSqU']);throw new Error(_0x473d10[_0x46abb5(0x1a5)]());}};function run(_0x16aaea){const _0x4c7903=a12_0xaef971,_0x28ddfd={};_0x28ddfd[_0x4c7903(0x1c8)]=_0x4c7903(0x1a7),_0x28ddfd[_0x4c7903(0x18f)]=_0x4c7903(0x19d);const _0x164530=_0x28ddfd;_0x16aaea['usage'](HELP_MESSAGES[_0x4c7903(0x1b2)][_0x4c7903(0x1bf)])[_0x4c7903(0x1b2)](_0x164530[_0x4c7903(0x1c8)],HELP_MESSAGES[_0x4c7903(0x1b2)][_0x4c7903(0x1a7)],connectCommandBuilder,connectCommandHandler)[_0x4c7903(0x1ad)]()['help'](_0x164530[_0x4c7903(0x18f)])[_0x4c7903(0x1af)](HELP_MESSAGES[_0x4c7903(0x1b2)]['footer']);}function a12_0x212d(){const _0x7ef81e=['Integration\x20hosts\x20missing.','demandOption','setupBrowserstackLocal','../../helpers/logger','help','port','protocol','map','describe','../../helpers/helper','aXPmp','bstackAccessKey','toString','bstack-accesskey','connect','trim','4UWXhIk','4867842PfMxzp','only','https','demandCommand','../../helpers/BrowserStackSetup','epilogue','1014216OLoWSD','UGOCJ','command','./constants','browserstackLocal','445167RVUrdl','string','Failed\x20to\x20establish\x20connection.','integrations-repeater','hosts','integrations','bstackAccesskey','fZbzp','setProxySettings','cDepR','root','join','Hosts\x20not\x20valid','27176uXNccv','49vjCnbE','undefined','options','818166PlqhGh','443','hsHhX','pcasf','missing','accessKey','bxVNI','mbyWd','xNpCL','localIdentifier','browserStackLocalOptions','4CxrRnO','3647080wpPxer','VZsJb','type','PqfZi','MHNYa','BrowserStack\x20access\x20key\x20missing.','2218420JEMrrc','config','error','wVcHH','DfrAQ'];a12_0x212d=function(){return _0x7ef81e;};return a12_0x212d();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x339ef7=a13_0xc32e;(function(_0x5762d4,_0x4fc017){var _0x1107a7=a13_0xc32e,_0x57ea24=_0x5762d4();while(!![]){try{var _0x1436b6=-parseInt(_0x1107a7(0x81))/0x1+-parseInt(_0x1107a7(0x70))/0x2*(parseInt(_0x1107a7(0x69))/0x3)+-parseInt(_0x1107a7(0x7d))/0x4*(parseInt(_0x1107a7(0x6f))/0x5)+parseInt(_0x1107a7(0x77))/0x6*(parseInt(_0x1107a7(0x6e))/0x7)+parseInt(_0x1107a7(0x79))/0x8+-parseInt(_0x1107a7(0x7b))/0x9*(parseInt(_0x1107a7(0x6d))/0xa)+parseInt(_0x1107a7(0x75))/0xb;if(_0x1436b6===_0x4fc017)break;else _0x57ea24['push'](_0x57ea24['shift']());}catch(_0x1eeea3){_0x57ea24['push'](_0x57ea24['shift']());}}}(a13_0x1f57,0x43135));var a13_0x1365e5={};a13_0x1365e5[a13_0x339ef7(0x76)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x1365e5[a13_0x339ef7(0x7f)]=a13_0x339ef7(0x7c);var a13_0x56b233={};a13_0x56b233['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x56b233['connect']=a13_0x339ef7(0x6b),a13_0x56b233[a13_0x339ef7(0x73)]=a13_0x339ef7(0x7a);var a13_0x31ece8={};a13_0x31ece8[a13_0x339ef7(0x6a)]=a13_0x1365e5,a13_0x31ece8['command']=a13_0x56b233,exports[a13_0x339ef7(0x6c)]=a13_0x31ece8;function a13_0x1f57(){var _0x2b859c=['BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','8416573uSdIYD','bstackAccessKey','12qUXXTv','ERROR_MESSAGES','2753520KSjIBr','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','9dkpbYl','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.','1124PkmTus','invalid','hosts','missing','228984qeJdHU','3711lDVRYt','options','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','HELP_MESSAGES','3838510njcMBt','1627136NTHNNg','3920tdJqoa','754zhjTiV','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','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.','footer'];a13_0x1f57=function(){return _0x2b859c;};return a13_0x1f57();}var a13_0x45e880={};a13_0x45e880[a13_0x339ef7(0x80)]=a13_0x339ef7(0x74);var a13_0x5ee2ef={};a13_0x5ee2ef['missing']=a13_0x339ef7(0x71),a13_0x5ee2ef[a13_0x339ef7(0x7e)]=a13_0x339ef7(0x72);function a13_0xc32e(_0x3ec607,_0x52ded6){var _0x1f57f0=a13_0x1f57();return a13_0xc32e=function(_0xc32ed5,_0x20691b){_0xc32ed5=_0xc32ed5-0x69;var _0x48d952=_0x1f57f0[_0xc32ed5];return _0x48d952;},a13_0xc32e(_0x3ec607,_0x52ded6);}var a13_0x3bd5bd={};a13_0x3bd5bd[a13_0x339ef7(0x76)]=a13_0x45e880,a13_0x3bd5bd[a13_0x339ef7(0x7f)]=a13_0x5ee2ef,exports[a13_0x339ef7(0x78)]=a13_0x3bd5bd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a14_0x5dd7(_0x4cb90e,_0x162989){const _0x313b74=a14_0x313b();return a14_0x5dd7=function(_0x5dd747,_0x402b9e){_0x5dd747=_0x5dd747-0x1b7;let _0x2dd06a=_0x313b74[_0x5dd747];return _0x2dd06a;},a14_0x5dd7(_0x4cb90e,_0x162989);}function a14_0x313b(){const _0x1299f5=['_resolveFilePath','JASMINE','pending','TestRunFinished','push','KPaml','eyKVF','iOTWn','slice','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','wtRqm','oQxRp','failure','config','get','_suitesById','oyGXd','specDone','stack','hozNX','_findGitConfig','Eevpq','excluded','filename','tHxYg','match','4408308aVtNYH','started_at','_paths','WzeTx','cIqof','backtrace','GVHPy','Exception\x20in\x20jasmine\x20specDone\x20for\x20','PTPDO','expanded','delete','22851GMqrmG','iJMhK','748293ufeKMj','passed','length','pgPVr','xmQME','rvZmx','../../../helpers/test-observability/utils','hpSGh','TestRunSkipped','ZwIug','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','9533867uqPpFr','pNVAI','\x20:\x20','failedExpectations','relative','5cmIyqs','svLJH','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','lckge','path','_fileNameByFullName','dirname','endsWith','Aqans','description','rbAHZ','PLeoz','UnhandledError','../../../helpers/test-observability/sessionHandler','failure_reason_expanded','bwDgx','exports','../../../helpers/test-observability/constants','set','Spec\x20failed','specStarted','actual','TestRunStarted','fileNameByFullName','has','DqzCQ','message','uuid','8684640osrtbO','File\x20path\x20could\x20not\x20be\x20found','MiNKG','uploadEventData','frfeh','lvHYc','sep','javascript','gOyFw','parentSuiteId','2472698wZFhIt','JzLTs','riavP','zFKeb','_collapseFailedExpectations','VCfPs','CBCOh','appendTesthubParams','matcherName','suiteDone','statSync','code','HCLam','shouldProcessEventForTesthub','dJbtk','_sendSpecEvent','skipped','RQmTi','_scopes','5533192MmXNxY','failed','4504fxSMKS','sAaST','add','remove','expected','keys','xInUp','testObservability','VTViD','../testRunMap','lang','OSiEg','iwbUo','fullName','split','bCGFa','duration','prefixTestPath','err'];a14_0x313b=function(){return _0x1299f5;};return a14_0x313b();}const a14_0x28a5af=a14_0x5dd7;(function(_0x586d9b,_0x2d8851){const _0x208674=a14_0x5dd7,_0x617428=_0x586d9b();while(!![]){try{const _0x2860b9=parseInt(_0x208674(0x1d7))/0x1+-parseInt(_0x208674(0x20d))/0x2+-parseInt(_0x208674(0x1ca))/0x3+-parseInt(_0x208674(0x220))/0x4*(-parseInt(_0x208674(0x1e7))/0x5)+-parseInt(_0x208674(0x203))/0x6+parseInt(_0x208674(0x1e2))/0x7+parseInt(_0x208674(0x222))/0x8*(parseInt(_0x208674(0x1d5))/0x9);if(_0x2860b9===_0x2d8851)break;else _0x617428['push'](_0x617428['shift']());}catch(_0x3a8f1c){_0x617428['push'](_0x617428['shift']());}}}(a14_0x313b,0xbbf0c));const path=require(a14_0x28a5af(0x1eb)),fs=require('fs'),{v4:uuidv4}=require(a14_0x28a5af(0x202)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x28a5af(0x1f8)),SessionHandler=require(a14_0x28a5af(0x1f4)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x28a5af(0x1dd)),testRunMap=require(a14_0x28a5af(0x22b)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a14_0x1b2ab5={};a14_0x1b2ab5[a14_0x28a5af(0x1d8)]=a14_0x28a5af(0x1d8),a14_0x1b2ab5[a14_0x28a5af(0x221)]=a14_0x28a5af(0x221),a14_0x1b2ab5['pending']=a14_0x28a5af(0x237),a14_0x1b2ab5[a14_0x28a5af(0x1c6)]=a14_0x28a5af(0x21d);const STATUS_MAP=a14_0x1b2ab5;class BrowserStackJasmineReporter{constructor(_0x2eb35e={}){const _0x36943a=a14_0x28a5af,_0x28ba16={'qoUEo':function(_0x53109c){return _0x53109c();}};this[_0x36943a(0x229)]=_0x28ba16['qoUEo'](isTestObservabilitySession),this[_0x36943a(0x1cc)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x36943a(0x1ec)]=_0x2eb35e&&_0x2eb35e[_0x36943a(0x1fe)]||{},this[_0x36943a(0x1bf)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x3bc518){const _0x4dbb77=a14_0x28a5af,_0x511940={'rvZmx':function(_0x2edc1e,_0x2c5aef){return _0x2edc1e!==_0x2c5aef;},'oyGXd':function(_0x26aa26,_0x1a0b4c){return _0x26aa26(_0x1a0b4c);}};try{_0x3bc518&&_0x511940[_0x4dbb77(0x1dc)](_0x3bc518['id'],undefined)&&_0x511940[_0x4dbb77(0x1dc)](_0x3bc518['id'],null)&&this['_suitesById'][_0x4dbb77(0x1f9)](_0x3bc518['id'],{'description':_0x3bc518[_0x4dbb77(0x1f0)],'parentSuiteId':_0x3bc518[_0x4dbb77(0x20c)]});}catch(_0x1ed2a1){_0x511940[_0x4dbb77(0x1c0)](debug,_0x4dbb77(0x1e1)+(_0x3bc518&&_0x3bc518[_0x4dbb77(0x22f)])+'\x20:\x20'+_0x1ed2a1);}}[a14_0x28a5af(0x1fb)](_0x231465){const _0x284a67=a14_0x28a5af,_0x53476e={'pNVAI':function(_0x2f929e,_0x15a0bb){return _0x2f929e!==_0x15a0bb;},'OSiEg':function(_0xb63518){return _0xb63518();},'RQmTi':_0x284a67(0x1fd),'xInUp':function(_0x48dc14,_0xb4d865){return _0x48dc14(_0xb4d865);}};try{if(_0x53476e[_0x284a67(0x1e3)](testhubUtils[_0x284a67(0x21a)](),!![]))return;const _0x228650=_0x53476e[_0x284a67(0x22d)](uuidv4);testRunMap['set'](_0x231465['id'],_0x228650),this[_0x284a67(0x21c)](_0x231465,_0x228650,_0x53476e[_0x284a67(0x21e)]);}catch(_0x50b293){_0x53476e[_0x284a67(0x228)](debug,_0x284a67(0x1b9)+(_0x231465&&_0x231465[_0x284a67(0x22f)])+_0x284a67(0x1e4)+_0x50b293);}}[a14_0x28a5af(0x1c1)](_0xf7b0ef){const _0x54209d=a14_0x28a5af,_0x1f0e72={'xmQME':function(_0x3494e9,_0x58252d){return _0x3494e9!==_0x58252d;},'DqzCQ':function(_0x749ed0){return _0x749ed0();},'bCGFa':function(_0x155873,_0x420d73){return _0x155873===_0x420d73;},'frfeh':'excluded','mkdbW':_0x54209d(0x1df),'hkBLx':_0x54209d(0x238),'lvHYc':function(_0xb37ccb,_0x9baef7){return _0xb37ccb(_0x9baef7);}};try{if(_0x1f0e72[_0x54209d(0x1db)](testhubUtils[_0x54209d(0x21a)](),!![]))return;const _0xb76331=testRunMap['get'](_0xf7b0ef['id'])||_0x1f0e72[_0x54209d(0x200)](uuidv4),_0x4e4a9e=_0x1f0e72[_0x54209d(0x231)](_0xf7b0ef['status'],_0x1f0e72[_0x54209d(0x207)])?_0x1f0e72['mkdbW']:_0x1f0e72['hkBLx'];this[_0x54209d(0x21c)](_0xf7b0ef,_0xb76331,_0x4e4a9e);}catch(_0x4a59ff){_0x1f0e72[_0x54209d(0x208)](debug,_0x54209d(0x1d1)+(_0xf7b0ef&&_0xf7b0ef[_0x54209d(0x22f)])+_0x54209d(0x1e4)+_0x4a59ff);}finally{_0xf7b0ef&&(testRunMap[_0x54209d(0x225)](_0xf7b0ef['id']),_specStartTimes[_0x54209d(0x1d4)](_0xf7b0ef['id']));}}[a14_0x28a5af(0x216)](){}['jasmineDone'](){}['_sendSpecEvent'](_0x30286e,_0x1f3e1b,_0x221fb1){const _0x291f52=a14_0x28a5af,_0x2de9f1={'PTPDO':function(_0x336354,_0x3aefb0){return _0x336354===_0x3aefb0;},'Aqans':_0x291f52(0x238),'WzeTx':_0x291f52(0x1df),'CBCOh':_0x291f52(0x204),'dJbtk':function(_0x56e492,_0xedd119,_0x547b8b){return _0x56e492(_0xedd119,_0x547b8b);},'pgPVr':_0x291f52(0x234),'MiNKG':_0x291f52(0x1fd),'eyKVF':function(_0xd95bd,_0x2369b3){return _0xd95bd!==_0x2369b3;},'VTViD':_0x291f52(0x20a),'Eevpq':function(_0xa30aa2,_0xf379aa){return _0xa30aa2&&_0xf379aa;},'oQxRp':_0x291f52(0x21d),'iwbUo':_0x291f52(0x1d8),'iJMhK':function(_0x175828,_0x187c51){return _0x175828===_0x187c51;},'zScsK':'number','KPaml':'AssertionError','svLJH':_0x291f52(0x1f3),'fIEmm':function(_0x487358,_0x3bc414){return _0x487358===_0x3bc414;},'zFKeb':_0x291f52(0x1cb),'hozNX':'finished_at','hpSGh':_0x291f52(0x1bc),'rbAHZ':'failure_backtrace','CEKmN':_0x291f52(0x1cf),'HWFcC':_0x291f52(0x1f5),'GVHPy':_0x291f52(0x1d3),'riavP':function(_0xe8eb8f,_0x17a177){return _0xe8eb8f===_0x17a177;},'lckge':function(_0x585b1a,_0x56b2b4){return _0x585b1a(_0x56b2b4);}};try{const _0x3c5b6e=_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x1ef)])||_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x1cd)]),_0x512528=this[_0x291f52(0x235)](_0x30286e),_0x1cf4ea=_0x512528?this[_0x291f52(0x1cc)][_0x291f52(0x233)](_0x512528):_0x2de9f1[_0x291f52(0x213)],_0x28201e=_0x512528?this['_findGitConfig'](path[_0x291f52(0x1ed)](_0x512528)):null,_0x1082a6=this['_collapseFailedExpectations'](_0x30286e[_0x291f52(0x1e5)]),_0x2dfc2f=_0x1082a6?_0x1082a6[_0x291f52(0x201)]:undefined,_0x5d08b7=_0x1082a6?_0x2de9f1[_0x291f52(0x21b)](failureData,_0x1082a6,_0x2de9f1[_0x291f52(0x1da)]):[],_0x3bc6d0=new Date()['toISOString'](),_0x2f7b26=this[_0x291f52(0x21f)](_0x30286e);_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x205)])&&_0x30286e&&_0x2de9f1[_0x291f52(0x23b)](_0x30286e['id'],undefined)&&_0x2de9f1['eyKVF'](_0x30286e['id'],null)&&_specStartTimes[_0x291f52(0x1f9)](_0x30286e['id'],_0x3bc6d0);const _0x4cef1c=_0x2de9f1[_0x291f52(0x1d2)](_0x221fb1,_0x2de9f1[_0x291f52(0x205)])?_0x3bc6d0:_0x30286e&&_specStartTimes[_0x291f52(0x1be)](_0x30286e['id'])||null,_0x2ead7c={};_0x2ead7c[_0x291f52(0x22c)]=_0x2de9f1[_0x291f52(0x22a)],_0x2ead7c[_0x291f52(0x218)]=null;const _0x4e5289={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1f3e1b,'name':_0x30286e['description'],'body':_0x2ead7c,'scope':_0x2f7b26['join']('\x20'),'scopes':_0x2f7b26,'identifier':_0x30286e[_0x291f52(0x22f)],'file_name':_0x1cf4ea,'vc_filepath':_0x2de9f1[_0x291f52(0x1c5)](_0x28201e,_0x512528)?path[_0x291f52(0x1e6)](_0x28201e,_0x512528):null,'location':_0x1cf4ea,'result':_0x2de9f1['PTPDO'](_0x221fb1,_0x2de9f1['WzeTx'])?_0x2de9f1[_0x291f52(0x1bb)]:STATUS_MAP[_0x30286e['status']]||_0x2de9f1[_0x291f52(0x22e)],'failure_reason':_0x2dfc2f,'duration_in_ms':_0x2de9f1[_0x291f52(0x1d6)](typeof _0x30286e[_0x291f52(0x232)],_0x2de9f1['zScsK'])?_0x30286e[_0x291f52(0x232)]:null,'started_at':_0x4cef1c,'finished_at':_0x3c5b6e?_0x3bc6d0:null,'failure':_0x5d08b7,'failure_type':!_0x2dfc2f?null:_0x2dfc2f[_0x291f52(0x1c9)](/AssertionError/)?_0x2de9f1[_0x291f52(0x23a)]:_0x2de9f1[_0x291f52(0x1e8)],'retry_of':null};_0x2de9f1['fIEmm'](_0x221fb1,_0x2de9f1[_0x291f52(0x1cd)])&&!_0x4e5289[_0x2de9f1[_0x291f52(0x210)]]&&(_0x4e5289[_0x2de9f1[_0x291f52(0x210)]]=_0x4e5289[_0x2de9f1[_0x291f52(0x1c3)]]);const _0x189e54=_0x4e5289[_0x2de9f1[_0x291f52(0x1de)]][0x0];_0x189e54&&(_0x4e5289[_0x2de9f1[_0x291f52(0x1f1)]]=_0x189e54[_0x2de9f1['CEKmN']],_0x4e5289[_0x2de9f1['HWFcC']]=_0x189e54[_0x2de9f1[_0x291f52(0x1d0)]]);testhubUtils[_0x291f52(0x214)](_0x4e5289,_0x221fb1,_0x30286e,FRAMEWORKS[_0x291f52(0x236)]);const _0x447a68={'event_type':_0x2de9f1[_0x291f52(0x20f)](_0x221fb1,_0x2de9f1['WzeTx'])?_0x2de9f1[_0x291f52(0x1ef)]:_0x221fb1,'test_run':_0x4e5289};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x291f52(0x236)],_0x447a68),SessionHandler[_0x291f52(0x206)](_0x447a68);}catch(_0x1aceb9){_0x2de9f1[_0x291f52(0x1ea)](debug,_0x291f52(0x1e9)+_0x221fb1+_0x291f52(0x1e4)+_0x1aceb9);}}[a14_0x28a5af(0x21f)](_0x509d60){const _0x4ac000=a14_0x28a5af,_0xa3efdf={'wtRqm':function(_0x2df009,_0x2448d4){return _0x2df009!==_0x2448d4;},'bwDgx':function(_0x4a9138,_0x432cf7){return _0x4a9138!==_0x432cf7;},'cTuXM':function(_0x23085e,_0x5274b5){return _0x23085e>_0x5274b5;},'JzLTs':function(_0x1fd883,_0x2fe010){return _0x1fd883(_0x2fe010);},'HCLam':function(_0x55eb95,_0x40228b){return _0x55eb95-_0x40228b;}};try{const _0x4427da=[];let _0x491ba5=_0x509d60&&_0x509d60[_0x4ac000(0x20c)];const _0x2bc1a9=new Set();while(_0xa3efdf[_0x4ac000(0x1ba)](_0x491ba5,undefined)&&_0xa3efdf[_0x4ac000(0x1f6)](_0x491ba5,null)&&this[_0x4ac000(0x1bf)][_0x4ac000(0x1ff)](_0x491ba5)&&!_0x2bc1a9['has'](_0x491ba5)){_0x2bc1a9[_0x4ac000(0x224)](_0x491ba5);const _0x453ae7=this[_0x4ac000(0x1bf)][_0x4ac000(0x1be)](_0x491ba5);_0x453ae7&&_0x453ae7['description']&&_0x4427da['push'](_0x453ae7[_0x4ac000(0x1f0)]),_0x491ba5=_0x453ae7?_0x453ae7[_0x4ac000(0x20c)]:null;}if(_0xa3efdf['cTuXM'](_0x4427da['length'],0x0))return _0x4427da['reverse']();}catch(_0x495307){_0xa3efdf[_0x4ac000(0x20e)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x509d60&&_0x509d60[_0x4ac000(0x22f)])+_0x4ac000(0x1e4)+_0x495307);}const _0xcd6613=_0x509d60&&_0x509d60[_0x4ac000(0x22f)]||'',_0x1318e2=_0x509d60&&_0x509d60[_0x4ac000(0x1f0)]||'';let _0x527f1b=_0xcd6613;return _0x1318e2&&_0xcd6613[_0x4ac000(0x1ee)](_0x1318e2)&&(_0x527f1b=_0xcd6613[_0x4ac000(0x1b8)](0x0,_0xa3efdf[_0x4ac000(0x219)](_0xcd6613[_0x4ac000(0x1d9)],_0x1318e2[_0x4ac000(0x1d9)]))['trim']()),_0x527f1b?_0x527f1b[_0x4ac000(0x230)](/\s+/):[];}[a14_0x28a5af(0x235)](_0x2d5fe8){const _0x12708f=a14_0x28a5af,_0x1c75c3={};_0x1c75c3[_0x12708f(0x1f2)]=function(_0x132bd4,_0x39868e){return _0x132bd4===_0x39868e;},_0x1c75c3[_0x12708f(0x1e0)]=function(_0x5c5de8,_0x50af36){return _0x5c5de8+_0x50af36;},_0x1c75c3[_0x12708f(0x1c8)]=function(_0x585f76,_0x471ebf){return _0x585f76>_0x471ebf;};const _0x40006b=_0x1c75c3;if(_0x2d5fe8&&_0x2d5fe8['filename'])return _0x2d5fe8[_0x12708f(0x1c7)];if(_0x2d5fe8&&_0x2d5fe8[_0x12708f(0x22f)]){if(this[_0x12708f(0x1ec)][_0x2d5fe8[_0x12708f(0x22f)]])return this[_0x12708f(0x1ec)][_0x2d5fe8[_0x12708f(0x22f)]];let _0x4e5bdd=null,_0x55c4ea=-0x1;for(const _0x2850e5 of Object[_0x12708f(0x227)](this['_fileNameByFullName'])){(_0x40006b[_0x12708f(0x1f2)](_0x2d5fe8[_0x12708f(0x22f)],_0x2850e5)||_0x2d5fe8[_0x12708f(0x22f)]['startsWith'](_0x40006b[_0x12708f(0x1e0)](_0x2850e5,'\x20')))&&_0x40006b[_0x12708f(0x1c8)](_0x2850e5['length'],_0x55c4ea)&&(_0x4e5bdd=this['_fileNameByFullName'][_0x2850e5],_0x55c4ea=_0x2850e5[_0x12708f(0x1d9)]);}if(_0x4e5bdd)return _0x4e5bdd;}return null;}[a14_0x28a5af(0x211)](_0x3db275){const _0x15a1e0=a14_0x28a5af,_0x587264={};_0x587264['iOTWn']=function(_0x3ce2be,_0x51d237){return _0x3ce2be===_0x51d237;},_0x587264['gOHcn']=_0x15a1e0(0x1fa);const _0x23c2bc=_0x587264;if(!Array['isArray'](_0x3db275)||_0x23c2bc[_0x15a1e0(0x1b7)](_0x3db275[_0x15a1e0(0x1d9)],0x0))return undefined;const _0x349838=[],_0x3199db=[];for(const _0xbed260 of _0x3db275){_0xbed260&&_0xbed260[_0x15a1e0(0x201)]&&_0x349838['push'](_0xbed260[_0x15a1e0(0x201)]),_0xbed260&&_0xbed260['stack']&&_0x3199db[_0x15a1e0(0x239)](_0xbed260[_0x15a1e0(0x1c2)]);}const _0x2718a9=_0x3db275[0x0]||{},_0x3b1637=_0x349838['join']('\x0a')||_0x2718a9[_0x15a1e0(0x201)]||_0x23c2bc['gOHcn'],_0x2626e8=_0x3199db['join']('\x0a\x0a')||_0x2718a9[_0x15a1e0(0x1c2)]||_0x3b1637,_0x4285af={};return _0x4285af[_0x15a1e0(0x201)]=_0x3b1637,_0x4285af[_0x15a1e0(0x1c2)]=_0x2626e8,_0x4285af[_0x15a1e0(0x215)]=_0x2718a9[_0x15a1e0(0x215)],_0x4285af[_0x15a1e0(0x226)]=_0x2718a9['expected'],_0x4285af[_0x15a1e0(0x1fc)]=_0x2718a9[_0x15a1e0(0x1fc)],_0x4285af;}[a14_0x28a5af(0x1c4)](_0x371ff8){const _0x5e40f6=a14_0x28a5af,_0x24204a={};_0x24204a[_0x5e40f6(0x212)]=function(_0xbb80f5,_0x472d99){return _0xbb80f5===_0x472d99;},_0x24204a['gOyFw']=function(_0x3c44e2,_0x4e0795){return _0x3c44e2===_0x4e0795;},_0x24204a[_0x5e40f6(0x223)]='.git',_0x24204a['cIqof']=_0x5e40f6(0x1bd);const _0x2e1420=_0x24204a,_0x1dadf8=path[_0x5e40f6(0x209)];if(_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,null)||_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,'')||_0x2e1420[_0x5e40f6(0x20b)](_0x371ff8,_0x1dadf8)||_0x2e1420[_0x5e40f6(0x212)](_0x371ff8,path[_0x5e40f6(0x1ed)](_0x371ff8)))return null;try{return fs[_0x5e40f6(0x217)](path['join'](_0x371ff8,_0x2e1420[_0x5e40f6(0x223)],_0x2e1420[_0x5e40f6(0x1ce)])),_0x371ff8;}catch(_0x52ab44){return this[_0x5e40f6(0x1c4)](path[_0x5e40f6(0x1ed)](_0x371ff8));}}}module[a14_0x28a5af(0x1f7)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x515fa0=a14_0x17cb;function a14_0x21e3(){const _0x21287a=['NySAp','testObservability','javascript','lFBcC','delete','suiteStarted','WKnfg','wzYTJ','reverse','TestRunSkipped','failure_backtrace','VEMVU','FPeeJ','TNHTR','pending','TestRunStarted','UnhandledError','Spec\x20failed','failedExpectations','status','shouldProcessEventForTesthub','split','exports','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','config','1383310dJclRo','setCurrentTestData','28rnlisa','QlMLI','3AgLSeF','description','ylFdl','AssertionError','specDone','excluded','path','_findGitConfig','vRCif','42124308JtBwWX','dBloe','20TKYnxT','GFtsN','../../../helpers/test-observability/constants','startsWith','fullName','failure_reason_expanded','iRGxS','mfTQb','WanUz','naphb','trim','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','get','DqFvm','sStTx','match','zKemM','fNtkj','bgakW','join','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','qThYU','ZfvUY','set','finished_at','NNmtz','AcOok','push','jQLJg','103420INcPCs','IDdZS','backtrace','QFdaI','stnXk','_sendSpecEvent','.git','uuid','EbdPh','_suitesById','toISOString','jasmineStarted','actual','keys','_resolveFilePath','nbwFA','87004FgBZiM','appendTesthubParams','duration','1421272YdQePl','AOArL','expanded','zTDVP','_scopes','expected','DNqoY','cNMCd','fvMxV','nkDLW','statSync','EQmnN','lLTkL','\x20:\x20','../../../helpers/testhub/utils','fileNameByFullName','8064280FCGbww','WzBhg','passed','745992wGakZg','ViZnz','../testRunMap','matcherName','_fileNameByFullName','jpsDE','isArray','stack','failed','jeXRm','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','../../../helpers/test-observability/utils','suiteDone','add','wecZE','tBIAz','TestRunFinished','failure','endsWith','MOaTb','_collapseFailedExpectations','message','has','dirname','filename','skipped','UISoR','bAAdE','parentSuiteId','prefixTestPath','efGQm','GAtQl','11TLHIOr','../../../helpers/test-observability/sessionHandler','27ZkcaEr','Exception\x20in\x20jasmine\x20specDone\x20for\x20','specStarted','JASMINE','xXArE','cwd','jasmineDone','length'];a14_0x21e3=function(){return _0x21287a;};return a14_0x21e3();}(function(_0x3a4154,_0x9cd982){const _0x206c0f=a14_0x17cb,_0x19b86f=_0x3a4154();while(!![]){try{const _0x33178b=parseInt(_0x206c0f(0x1a2))/0x1*(-parseInt(_0x206c0f(0x137))/0x2)+parseInt(_0x206c0f(0x1a4))/0x3*(parseInt(_0x206c0f(0x147))/0x4)+-parseInt(_0x206c0f(0x1af))/0x5*(-parseInt(_0x206c0f(0x15d))/0x6)+-parseInt(_0x206c0f(0x15a))/0x7+parseInt(_0x206c0f(0x14a))/0x8*(-parseInt(_0x206c0f(0x17f))/0x9)+-parseInt(_0x206c0f(0x1a0))/0xa+-parseInt(_0x206c0f(0x17d))/0xb*(-parseInt(_0x206c0f(0x1ad))/0xc);if(_0x33178b===_0x9cd982)break;else _0x19b86f['push'](_0x19b86f['shift']());}catch(_0x192bd4){_0x19b86f['push'](_0x19b86f['shift']());}}}(a14_0x21e3,0xb91c2));const path=require(a14_0x515fa0(0x1aa)),fs=require('fs'),{v4:uuidv4}=require(a14_0x515fa0(0x13e)),testhubUtils=require(a14_0x515fa0(0x158)),{FRAMEWORKS}=require(a14_0x515fa0(0x1b1)),SessionHandler=require(a14_0x515fa0(0x17e)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x515fa0(0x168)),testRunMap=require(a14_0x515fa0(0x15f)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a14_0x3cc1d0={};a14_0x3cc1d0[a14_0x515fa0(0x15c)]='passed',a14_0x3cc1d0[a14_0x515fa0(0x165)]='failed',a14_0x3cc1d0[a14_0x515fa0(0x195)]=a14_0x515fa0(0x195),a14_0x3cc1d0[a14_0x515fa0(0x1a9)]=a14_0x515fa0(0x176);function a14_0x17cb(_0x45c355,_0x5a3610){const _0x21e390=a14_0x21e3();return a14_0x17cb=function(_0x17cba1,_0x5d356c){_0x17cba1=_0x17cba1-0x12f;let _0x3cd04c=_0x21e390[_0x17cba1];return _0x3cd04c;},a14_0x17cb(_0x45c355,_0x5a3610);}const STATUS_MAP=a14_0x3cc1d0;class BrowserStackJasmineReporter{constructor(_0x358572={}){const _0x44bc54=a14_0x515fa0,_0x379dcf={'VEMVU':function(_0x2eb3ba){return _0x2eb3ba();}};this[_0x44bc54(0x188)]=_0x379dcf[_0x44bc54(0x192)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x44bc54(0x184)]()},undefined),this[_0x44bc54(0x161)]=_0x358572&&_0x358572[_0x44bc54(0x159)]||{},this['_suitesById']=new Map();}[a14_0x515fa0(0x142)](){}[a14_0x515fa0(0x18c)](_0x485af0){const _0x1a2965=a14_0x515fa0,_0x4ec608={'mfTQb':function(_0x329907,_0x2c9cf4){return _0x329907!==_0x2c9cf4;},'bgakW':function(_0x1f687a,_0x3e7c03){return _0x1f687a!==_0x3e7c03;},'fvMxV':function(_0x342b4f,_0x47f49a){return _0x342b4f(_0x47f49a);}};try{_0x485af0&&_0x4ec608[_0x1a2965(0x1b6)](_0x485af0['id'],undefined)&&_0x4ec608[_0x1a2965(0x1c1)](_0x485af0['id'],null)&&this['_suitesById'][_0x1a2965(0x131)](_0x485af0['id'],{'description':_0x485af0[_0x1a2965(0x1a5)],'parentSuiteId':_0x485af0[_0x1a2965(0x179)]});}catch(_0x238580){_0x4ec608[_0x1a2965(0x152)](debug,_0x1a2965(0x167)+(_0x485af0&&_0x485af0[_0x1a2965(0x1b3)])+_0x1a2965(0x157)+_0x238580);}}[a14_0x515fa0(0x181)](_0x2d3db7){const _0x482565=a14_0x515fa0,_0x84779b={'nbwFA':function(_0x5861ca,_0x250fe9){return _0x5861ca!==_0x250fe9;},'FPeeJ':function(_0x43812a){return _0x43812a();},'TNHTR':_0x482565(0x196),'LIFQQ':function(_0x71c229,_0x397646){return _0x71c229(_0x397646);}};try{if(_0x84779b[_0x482565(0x146)](testhubUtils[_0x482565(0x19b)](),!![]))return;const _0x28c611=_0x84779b[_0x482565(0x193)](uuidv4);testRunMap['set'](_0x2d3db7['id'],_0x28c611),this[_0x482565(0x13c)](_0x2d3db7,_0x28c611,_0x84779b[_0x482565(0x194)]);}catch(_0x2af2ac){_0x84779b['LIFQQ'](debug,_0x482565(0x19e)+(_0x2d3db7&&_0x2d3db7[_0x482565(0x1b3)])+_0x482565(0x157)+_0x2af2ac);}}[a14_0x515fa0(0x1a8)](_0xec7c9b){const _0x1eadbe=a14_0x515fa0,_0x40f460={'vRCif':function(_0x56add2,_0xad1e85){return _0x56add2!==_0xad1e85;},'naphb':function(_0x5bffc9){return _0x5bffc9();},'sStTx':function(_0x51aeae,_0x96e6b8){return _0x51aeae===_0x96e6b8;},'MOaTb':_0x1eadbe(0x1a9),'xXArE':_0x1eadbe(0x190),'nkDLW':_0x1eadbe(0x16d),'iRGxS':function(_0x2227a2,_0x184d3c){return _0x2227a2(_0x184d3c);}};try{if(_0x40f460[_0x1eadbe(0x1ac)](testhubUtils[_0x1eadbe(0x19b)](),!![]))return;const _0x5baba3=testRunMap[_0x1eadbe(0x1bb)](_0xec7c9b['id'])||_0x40f460[_0x1eadbe(0x1b8)](uuidv4),_0x348780=_0x40f460[_0x1eadbe(0x1bd)](_0xec7c9b[_0x1eadbe(0x19a)],_0x40f460[_0x1eadbe(0x170)])?_0x40f460[_0x1eadbe(0x183)]:_0x40f460[_0x1eadbe(0x153)];this['_sendSpecEvent'](_0xec7c9b,_0x5baba3,_0x348780);}catch(_0x48cd7f){_0x40f460[_0x1eadbe(0x1b5)](debug,_0x1eadbe(0x180)+(_0xec7c9b&&_0xec7c9b[_0x1eadbe(0x1b3)])+_0x1eadbe(0x157)+_0x48cd7f);}finally{_0xec7c9b&&(testRunMap['remove'](_0xec7c9b['id']),_specStartTimes[_0x1eadbe(0x18b)](_0xec7c9b['id']));}}[a14_0x515fa0(0x169)](){}[a14_0x515fa0(0x185)](){}[a14_0x515fa0(0x13c)](_0x85c99c,_0x236e85,_0xe76922){const _0x5c88a8=a14_0x515fa0,_0x2b4ab7={'GFtsN':function(_0x316aad,_0x458d8f){return _0x316aad===_0x458d8f;},'EQmnN':_0x5c88a8(0x16d),'IDdZS':_0x5c88a8(0x190),'qknAs':'File\x20path\x20could\x20not\x20be\x20found','DqFvm':function(_0x543f68,_0x100665,_0x15f49e){return _0x543f68(_0x100665,_0x15f49e);},'fNtkj':'err','DNqoY':function(_0x11372c,_0x868c6a){return _0x11372c===_0x868c6a;},'ZfvUY':_0x5c88a8(0x196),'pBDLU':function(_0x17093,_0x4eb148){return _0x17093!==_0x4eb148;},'bAAdE':function(_0x3c2488,_0x2ecb71){return _0x3c2488!==_0x2ecb71;},'NNmtz':function(_0x174d5c,_0x1f6a16){return _0x174d5c===_0x1f6a16;},'jeXRm':_0x5c88a8(0x189),'ylFdl':function(_0x87f971,_0x43eb09){return _0x87f971&&_0x43eb09;},'GAtQl':function(_0x2058ab,_0x39133f){return _0x2058ab===_0x39133f;},'dBloe':_0x5c88a8(0x176),'ViZnz':_0x5c88a8(0x15c),'lFBcC':'number','efGQm':_0x5c88a8(0x1a7),'wzYTJ':_0x5c88a8(0x197),'EbdPh':'started_at','wecZE':_0x5c88a8(0x132),'QFdaI':_0x5c88a8(0x16e),'KmTyk':_0x5c88a8(0x191),'jQLJg':_0x5c88a8(0x139),'zKemM':_0x5c88a8(0x1b4),'zTDVP':_0x5c88a8(0x14c),'NySAp':function(_0x974a19,_0x23d12a){return _0x974a19(_0x23d12a);}};try{const _0x23d84a=_0x2b4ab7[_0x5c88a8(0x1b0)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x155)])||_0x2b4ab7[_0x5c88a8(0x1b0)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x138)]),_0x109061=this[_0x5c88a8(0x145)](_0x85c99c),_0x546f34=_0x109061?this['_paths'][_0x5c88a8(0x17a)](_0x109061):_0x2b4ab7['qknAs'],_0x3c9cd1=_0x109061?this['_findGitConfig'](path[_0x5c88a8(0x174)](_0x109061)):null,_0x2fb4f2=this[_0x5c88a8(0x171)](_0x85c99c[_0x5c88a8(0x199)]),_0x311189=_0x2fb4f2?_0x2fb4f2[_0x5c88a8(0x172)]:undefined,_0x1c4931=_0x2fb4f2?_0x2b4ab7[_0x5c88a8(0x1bc)](failureData,_0x2fb4f2,_0x2b4ab7[_0x5c88a8(0x1c0)]):[],_0x372b07=new Date()[_0x5c88a8(0x141)](),_0x13d84b=this[_0x5c88a8(0x14e)](_0x85c99c);_0x2b4ab7[_0x5c88a8(0x150)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x130)])&&_0x85c99c&&_0x2b4ab7['pBDLU'](_0x85c99c['id'],undefined)&&_0x2b4ab7[_0x5c88a8(0x178)](_0x85c99c['id'],null)&&_specStartTimes[_0x5c88a8(0x131)](_0x85c99c['id'],_0x372b07);const _0x2c63c9=_0x2b4ab7[_0x5c88a8(0x133)](_0xe76922,_0x2b4ab7['ZfvUY'])?_0x372b07:_0x85c99c&&_specStartTimes[_0x5c88a8(0x1bb)](_0x85c99c['id'])||null,_0x2c3ec4={};_0x2c3ec4['lang']=_0x2b4ab7[_0x5c88a8(0x166)],_0x2c3ec4['code']=null;const _0x3990e2={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x236e85,'name':_0x85c99c[_0x5c88a8(0x1a5)],'body':_0x2c3ec4,'scope':_0x13d84b[_0x5c88a8(0x1c2)]('\x20'),'scopes':_0x13d84b,'identifier':_0x85c99c[_0x5c88a8(0x1b3)],'file_name':_0x546f34,'vc_filepath':_0x2b4ab7[_0x5c88a8(0x1a6)](_0x3c9cd1,_0x109061)?path['relative'](_0x3c9cd1,_0x109061):null,'location':_0x546f34,'result':_0x2b4ab7[_0x5c88a8(0x17c)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x138)])?_0x2b4ab7[_0x5c88a8(0x1ae)]:STATUS_MAP[_0x85c99c[_0x5c88a8(0x19a)]]||_0x2b4ab7[_0x5c88a8(0x15e)],'failure_reason':_0x311189,'duration_in_ms':_0x2b4ab7[_0x5c88a8(0x1b0)](typeof _0x85c99c[_0x5c88a8(0x149)],_0x2b4ab7[_0x5c88a8(0x18a)])?_0x85c99c['duration']:null,'started_at':_0x2c63c9,'finished_at':_0x23d84a?_0x372b07:null,'failure':_0x1c4931,'failure_type':!_0x311189?null:_0x311189[_0x5c88a8(0x1be)](/AssertionError/)?_0x2b4ab7[_0x5c88a8(0x17b)]:_0x2b4ab7[_0x5c88a8(0x18e)],'retry_of':null};_0x2b4ab7[_0x5c88a8(0x1b0)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x138)])&&!_0x3990e2[_0x2b4ab7[_0x5c88a8(0x13f)]]&&(_0x3990e2[_0x2b4ab7[_0x5c88a8(0x13f)]]=_0x3990e2[_0x2b4ab7[_0x5c88a8(0x16b)]]);const _0xdd7494=_0x3990e2[_0x2b4ab7[_0x5c88a8(0x13a)]][0x0];_0xdd7494&&(_0x3990e2[_0x2b4ab7['KmTyk']]=_0xdd7494[_0x2b4ab7[_0x5c88a8(0x136)]],_0x3990e2[_0x2b4ab7[_0x5c88a8(0x1bf)]]=_0xdd7494[_0x2b4ab7[_0x5c88a8(0x14d)]]);testhubUtils[_0x5c88a8(0x148)](_0x3990e2,_0xe76922,_0x85c99c,FRAMEWORKS[_0x5c88a8(0x182)]);const _0x21f009={'event_type':_0x2b4ab7[_0x5c88a8(0x150)](_0xe76922,_0x2b4ab7[_0x5c88a8(0x138)])?_0x2b4ab7[_0x5c88a8(0x155)]:_0xe76922,'test_run':_0x3990e2};return testhubUtils[_0x5c88a8(0x1a1)](FRAMEWORKS['JASMINE'],_0x21f009),SessionHandler['uploadEventData'](_0x21f009);}catch(_0x52a184){_0x2b4ab7[_0x5c88a8(0x187)](debug,_0x5c88a8(0x1ba)+_0xe76922+_0x5c88a8(0x157)+_0x52a184);}}[a14_0x515fa0(0x14e)](_0x46d9db){const _0x454277=a14_0x515fa0,_0x5cc2e8={'cNMCd':function(_0x12438b,_0x169735){return _0x12438b!==_0x169735;},'tBIAz':function(_0x4ccda7,_0x346392){return _0x4ccda7!==_0x346392;},'UISoR':function(_0x33b941,_0x4f3a8e){return _0x33b941>_0x4f3a8e;},'AOArL':function(_0xdea3cb,_0x5d67a2){return _0xdea3cb(_0x5d67a2);},'WKnfg':function(_0x582add,_0x1834db){return _0x582add-_0x1834db;}};try{const _0x9df0b7=[];let _0x6e6646=_0x46d9db&&_0x46d9db[_0x454277(0x179)];const _0x52f110=new Set();while(_0x5cc2e8[_0x454277(0x151)](_0x6e6646,undefined)&&_0x5cc2e8[_0x454277(0x16c)](_0x6e6646,null)&&this['_suitesById']['has'](_0x6e6646)&&!_0x52f110[_0x454277(0x173)](_0x6e6646)){_0x52f110[_0x454277(0x16a)](_0x6e6646);const _0x4f2c3f=this[_0x454277(0x140)][_0x454277(0x1bb)](_0x6e6646);_0x4f2c3f&&_0x4f2c3f['description']&&_0x9df0b7[_0x454277(0x135)](_0x4f2c3f[_0x454277(0x1a5)]),_0x6e6646=_0x4f2c3f?_0x4f2c3f[_0x454277(0x179)]:null;}if(_0x5cc2e8[_0x454277(0x177)](_0x9df0b7[_0x454277(0x186)],0x0))return _0x9df0b7[_0x454277(0x18f)]();}catch(_0x449acb){_0x5cc2e8[_0x454277(0x14b)](debug,_0x454277(0x1c3)+(_0x46d9db&&_0x46d9db[_0x454277(0x1b3)])+_0x454277(0x157)+_0x449acb);}const _0x14821a=_0x46d9db&&_0x46d9db[_0x454277(0x1b3)]||'',_0x45ac55=_0x46d9db&&_0x46d9db['description']||'';let _0x1c01a7=_0x14821a;return _0x45ac55&&_0x14821a[_0x454277(0x16f)](_0x45ac55)&&(_0x1c01a7=_0x14821a['slice'](0x0,_0x5cc2e8[_0x454277(0x18d)](_0x14821a[_0x454277(0x186)],_0x45ac55['length']))[_0x454277(0x1b9)]()),_0x1c01a7?_0x1c01a7[_0x454277(0x19c)](/\s+/):[];}['_resolveFilePath'](_0xee8471){const _0x3812a7=a14_0x515fa0,_0x109b64={};_0x109b64[_0x3812a7(0x1a3)]=function(_0x3f8a8e,_0x5d3807){return _0x3f8a8e===_0x5d3807;},_0x109b64[_0x3812a7(0x1b7)]=function(_0x4f881b,_0x39dff7){return _0x4f881b+_0x39dff7;},_0x109b64[_0x3812a7(0x13b)]=function(_0x3494d0,_0x44feef){return _0x3494d0>_0x44feef;};const _0x310c42=_0x109b64;if(_0xee8471&&_0xee8471['filename'])return _0xee8471[_0x3812a7(0x175)];if(_0xee8471&&_0xee8471[_0x3812a7(0x1b3)]){if(this['_fileNameByFullName'][_0xee8471['fullName']])return this[_0x3812a7(0x161)][_0xee8471['fullName']];let _0x16b87c=null,_0x26373b=-0x1;for(const _0x25fadc of Object[_0x3812a7(0x144)](this[_0x3812a7(0x161)])){(_0x310c42[_0x3812a7(0x1a3)](_0xee8471['fullName'],_0x25fadc)||_0xee8471['fullName'][_0x3812a7(0x1b2)](_0x310c42[_0x3812a7(0x1b7)](_0x25fadc,'\x20')))&&_0x310c42['stnXk'](_0x25fadc['length'],_0x26373b)&&(_0x16b87c=this['_fileNameByFullName'][_0x25fadc],_0x26373b=_0x25fadc[_0x3812a7(0x186)]);}if(_0x16b87c)return _0x16b87c;}return null;}[a14_0x515fa0(0x171)](_0x53cb9c){const _0x5cf2f9=a14_0x515fa0,_0x2c1e8c={};_0x2c1e8c['NCKLg']=function(_0x55a96d,_0x59f5d1){return _0x55a96d===_0x59f5d1;},_0x2c1e8c[_0x5cf2f9(0x156)]=_0x5cf2f9(0x198);const _0x3ad39a=_0x2c1e8c;if(!Array[_0x5cf2f9(0x163)](_0x53cb9c)||_0x3ad39a['NCKLg'](_0x53cb9c[_0x5cf2f9(0x186)],0x0))return undefined;const _0x266452=[],_0x559d35=[];for(const _0x4466fc of _0x53cb9c){_0x4466fc&&_0x4466fc['message']&&_0x266452[_0x5cf2f9(0x135)](_0x4466fc[_0x5cf2f9(0x172)]),_0x4466fc&&_0x4466fc['stack']&&_0x559d35[_0x5cf2f9(0x135)](_0x4466fc[_0x5cf2f9(0x164)]);}const _0x21d607=_0x53cb9c[0x0]||{},_0x161384=_0x266452[_0x5cf2f9(0x1c2)]('\x0a')||_0x21d607[_0x5cf2f9(0x172)]||_0x3ad39a[_0x5cf2f9(0x156)],_0x1024b2=_0x559d35[_0x5cf2f9(0x1c2)]('\x0a\x0a')||_0x21d607[_0x5cf2f9(0x164)]||_0x161384,_0x2c71ab={};return _0x2c71ab[_0x5cf2f9(0x172)]=_0x161384,_0x2c71ab['stack']=_0x1024b2,_0x2c71ab[_0x5cf2f9(0x160)]=_0x21d607[_0x5cf2f9(0x160)],_0x2c71ab[_0x5cf2f9(0x14f)]=_0x21d607[_0x5cf2f9(0x14f)],_0x2c71ab['actual']=_0x21d607[_0x5cf2f9(0x143)],_0x2c71ab;}[a14_0x515fa0(0x1ab)](_0x876ca2){const _0x35d238=a14_0x515fa0,_0x302c3d={};_0x302c3d[_0x35d238(0x12f)]=function(_0x36d19b,_0x328627){return _0x36d19b===_0x328627;},_0x302c3d['AcOok']=function(_0x116f39,_0x4b0ad6){return _0x116f39===_0x4b0ad6;},_0x302c3d['WzBhg']=_0x35d238(0x13d),_0x302c3d[_0x35d238(0x162)]=_0x35d238(0x19f);const _0x414036=_0x302c3d,_0x198b98=path['sep'];if(_0x414036[_0x35d238(0x12f)](_0x876ca2,null)||_0x414036[_0x35d238(0x12f)](_0x876ca2,'')||_0x414036[_0x35d238(0x134)](_0x876ca2,_0x198b98)||_0x414036[_0x35d238(0x12f)](_0x876ca2,path[_0x35d238(0x174)](_0x876ca2)))return null;try{return fs[_0x35d238(0x154)](path[_0x35d238(0x1c2)](_0x876ca2,_0x414036[_0x35d238(0x15b)],_0x414036[_0x35d238(0x162)])),_0x876ca2;}catch(_0x396308){return this[_0x35d238(0x1ab)](path['dirname'](_0x876ca2));}}}module[a14_0x515fa0(0x19d)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a15_0x30e9(){const _0x525e4e=['21OtWkQi','SDK_SETUP','1747495EzBmDb','stringify','shouldReRunObservabilityTests','npx','FbnDB','24711SDsrSa','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','getPlatformName','../../helpers/test-observability/utils','platformIndex','Mcskz','MIixv','FRAMEWORKS','../../helpers/performance/performance-tester','getInstance','\x20platform(s),\x20parallelsPerPlatform=','isBrowserstackInfra',')\x20:\x20','cEEAp',',\x20specs=','82fIdiIr','788328itQEwz','stop','JASMINE','rmdirSync','path','util','globSync','debug','map','pNvMT','parse','760830lKWPqU','__isPuppeteerInstalled','EVENTS','prepareCapabilities','SHSHX','validPlatformsPresent','RTDSy','bqYlk','wwEhG','env','pDvbj','resolve','capability','testObservability','SDK_CLEANUP','assWX','KvGJQ','true','maxWorkers','mKEFj','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','close','filter','glob','\x20work-item(s),\x20max\x20',';\x20proceeding\x20without\x20injection','spec/support/jasmine.json','NsWTO','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','proxySettings','--helper=','OvkgP','specArgs','vWiFO','isUndefined','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','OqPJI','platforms','useW3C','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','string','GSOLo','isCLIEnabled','binSessionId','join','parseFileNames','130472NzgIxa','odyyj','euKNd','dSsAi','posix','../../helpers/performance/constants','faCIt','length','TVMYQ','all','UyoJc','nZIhS','push','slice','winstonLogger','error','\x20:\x20','DoeSv','wiRSL','GjSac','start','from','launchBuild','sMsvG','2941587lgCCLY','unlinkSync','config','uqpwr','finalExecution','logLevel','OsePV','parallelsPerPlatform','../../helpers/puppeteer-helper','../utils/constants','UgjEK','lxzAQ','accessibilityOptions','JASMINE_CONFIG_PATH','BROWSERSTACK_CAPABILITIES','assign','**/*[sS]pec.?(m)js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isArray','jasmine','BROWSERSTACK_JASMINE_PARALLELS','UDZYB','spec_files','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','EKJCJ','spec','../../helpers/logger','../../helpers/utilities','896192ILeFpc','BROWSERSTACK_RERUN_TESTS','\x20concurrent)','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','cwd','ZnZRi','exitCode','platform','existsSync','../v2/browserstackCLI','jasmine\x20child\x20(platformIndex=','VSMPr','format',')\x20exited\x20with\x20code\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','kUGFX','../../helpers/testhub/testhubHandler','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'];a15_0x30e9=function(){return _0x525e4e;};return a15_0x30e9();}function a15_0x1497(_0x47c57d,_0x54a21d){const _0x30e979=a15_0x30e9();return a15_0x1497=function(_0x1497c8,_0x295ad6){_0x1497c8=_0x1497c8-0xd9;let _0x31fc57=_0x30e979[_0x1497c8];return _0x31fc57;},a15_0x1497(_0x47c57d,_0x54a21d);}const a15_0x23350d=a15_0x1497;(function(_0x497e8f,_0x393702){const _0xe8ce8b=a15_0x1497,_0x2b3177=_0x497e8f();while(!![]){try{const _0x5e958f=parseInt(_0xe8ce8b(0x114))/0x1+parseInt(_0xe8ce8b(0xd9))/0x2*(-parseInt(_0xe8ce8b(0x161))/0x3)+parseInt(_0xe8ce8b(0x148))/0x4+-parseInt(_0xe8ce8b(0x15c))/0x5+parseInt(_0xe8ce8b(0xe5))/0x6+-parseInt(_0xe8ce8b(0x15a))/0x7*(-parseInt(_0xe8ce8b(0xda))/0x8)+parseInt(_0xe8ce8b(0x12c))/0x9;if(_0x5e958f===_0x393702)break;else _0x2b3177['push'](_0x2b3177['shift']());}catch(_0x23d921){_0x2b3177['push'](_0x2b3177['shift']());}}}(a15_0x30e9,0x65b3f));const fs=require('fs'),path=require(a15_0x23350d(0xde)),util=require(a15_0x23350d(0xdf)),{spawn}=require('child_process'),glob=require(a15_0x23350d(0xfc)),pLimit=require('p-limit'),logger=require(a15_0x23350d(0x146))[a15_0x23350d(0x122)],helper=require('../../helpers/helper'),utilities=require(a15_0x23350d(0x147)),constants=require(a15_0x23350d(0x135)),TestHubHandler=require(a15_0x23350d(0x158)),testOpsHelper=require(a15_0x23350d(0x164)),{debug}=require(a15_0x23350d(0x164)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a15_0x23350d(0x169)),PerformanceEvents=require(a15_0x23350d(0x119))[a15_0x23350d(0xe7)],BrowserstackCLI=require(a15_0x23350d(0x151)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x23350d(0x134)),getMaxWorkers=(_0x3ec92c,_0x109f1d)=>{const _0x58ad4d=a15_0x23350d,_0x1074c8={'GSOLo':function(_0xde23f4,_0x24c578){return _0xde23f4(_0x24c578);}};let _0x2e6e9c=0x1;if(!helper[_0x58ad4d(0x107)](_0x109f1d[_0x58ad4d(0x133)]))_0x2e6e9c=_0x1074c8[_0x58ad4d(0x10f)](parseInt,_0x109f1d[_0x58ad4d(0x133)]);else!helper[_0x58ad4d(0x107)](_0x3ec92c[_0x58ad4d(0xf7)])&&(_0x2e6e9c=_0x3ec92c[_0x58ad4d(0xf7)]);return _0x2e6e9c;},resolveJasmineConfigPath=()=>{const _0x5022a=a15_0x23350d,_0x18382e={};_0x18382e['OvkgP']=_0x5022a(0xff);const _0x3f8d72=_0x18382e,_0x87577d=[];process['env'][_0x5022a(0x139)]&&_0x87577d[_0x5022a(0x120)](path[_0x5022a(0xf0)](process[_0x5022a(0x14c)](),process[_0x5022a(0xee)][_0x5022a(0x139)]));_0x87577d[_0x5022a(0x120)](path[_0x5022a(0xf0)](process[_0x5022a(0x14c)](),_0x3f8d72[_0x5022a(0x104)]));for(const _0x35b5a1 of _0x87577d){try{if(fs['existsSync'](_0x35b5a1))return _0x35b5a1;}catch(_0x5d307d){}}return null;},enumerateSpecFiles=_0x63cee6=>{const _0x2145e5=a15_0x23350d,_0x173ac9={'DoeSv':function(_0xe93300,_0x2fd272){return _0xe93300(_0x2fd272);},'euKNd':function(_0x5979eb,_0x156a1c){return _0x5979eb>_0x156a1c;},'UDZYB':function(_0x5a2133,_0x185ed1){return _0x5a2133(_0x185ed1);},'NsWTO':function(_0x3f73aa,_0x4266a3){return _0x3f73aa<_0x4266a3;},'uqpwr':function(_0x332e94,_0x36d396){return _0x332e94===_0x36d396;},'kUGFX':_0x2145e5(0x10e),'GjSac':function(_0x388200,_0x2fe78c,_0x2c3356){return _0x388200(_0x2fe78c,_0x2c3356);},'pkuEG':function(_0x589482,_0x161343){return _0x589482>_0x161343;},'UyoJc':function(_0x461e73){return _0x461e73();},'nZIhS':'utf8','assWX':_0x2145e5(0x145),'IOPRy':_0x2145e5(0x13c),'pNvMT':function(_0x430b40,_0x546425){return _0x430b40>_0x546425;},'hoFXO':function(_0x1b65b3,_0x4e240b){return _0x1b65b3(_0x4e240b);}};try{if(testOpsHelper[_0x2145e5(0x15e)]()){const _0x5e3541=testOpsHelper[_0x2145e5(0x113)](process[_0x2145e5(0xee)][_0x2145e5(0x149)]);if(Array['isArray'](_0x5e3541)&&_0x173ac9[_0x2145e5(0x116)](_0x5e3541[_0x2145e5(0x11b)],0x0))return _0x5e3541[_0x2145e5(0xe2)](_0x35afbc=>path[_0x2145e5(0xf0)](process[_0x2145e5(0x14c)](),_0x35afbc['trim']()))[_0x2145e5(0xfb)](Boolean);}}catch(_0x5da906){_0x173ac9[_0x2145e5(0x141)](debug,_0x2145e5(0x14b)+util[_0x2145e5(0x154)](_0x5da906));}const _0x1561a8=[];try{for(let _0x1725f8=0x1;_0x173ac9[_0x2145e5(0x100)](_0x1725f8,_0x63cee6[_0x2145e5(0x11b)]);_0x1725f8++){const _0x1f4093=_0x63cee6[_0x1725f8];_0x173ac9[_0x2145e5(0x12f)](typeof _0x1f4093,_0x173ac9[_0x2145e5(0x157)])&&!_0x1f4093['startsWith']('-')&&_0x1561a8[_0x2145e5(0x120)](_0x1f4093);}}catch(_0x51d139){}const _0x3a4088={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5881ff=(_0x252229,_0x14495b)=>{const _0x19a006=_0x2145e5,_0x584007=[];for(const _0x5c3192 of _0x252229){try{const _0x4d36ba=_0x14495b?path[_0x19a006(0x118)][_0x19a006(0x112)](_0x14495b,_0x5c3192):_0x5c3192,_0x313d95=glob[_0x19a006(0xe0)](_0x4d36ba,_0x3a4088);Array['isArray'](_0x313d95)&&_0x584007[_0x19a006(0x120)](..._0x313d95);}catch(_0x4b2bdc){_0x173ac9[_0x19a006(0x125)](debug,_0x19a006(0x159)+_0x5c3192+'\x27\x20:\x20'+util[_0x19a006(0x154)](_0x4b2bdc));}}return _0x584007;};if(_0x173ac9['euKNd'](_0x1561a8[_0x2145e5(0x11b)],0x0)){const _0x350cef=_0x173ac9[_0x2145e5(0x127)](_0x5881ff,_0x1561a8,null);if(_0x173ac9['pkuEG'](_0x350cef[_0x2145e5(0x11b)],0x0))return Array[_0x2145e5(0x129)](new Set(_0x350cef));return _0x1561a8[_0x2145e5(0xe2)](_0x48df03=>path[_0x2145e5(0xf0)](process['cwd'](),_0x48df03));}try{const _0x430555=_0x173ac9[_0x2145e5(0x11e)](resolveJasmineConfigPath);if(_0x430555){const _0x8111f2=JSON[_0x2145e5(0xe4)](fs['readFileSync'](_0x430555,_0x173ac9[_0x2145e5(0x11f)])),_0x40cdd7=_0x8111f2['spec_dir']||_0x173ac9[_0x2145e5(0xf4)],_0xc7824a=Array[_0x2145e5(0x13e)](_0x8111f2[_0x2145e5(0x142)])&&_0x173ac9[_0x2145e5(0x116)](_0x8111f2[_0x2145e5(0x142)][_0x2145e5(0x11b)],0x0)?_0x8111f2[_0x2145e5(0x142)]:[_0x173ac9['IOPRy']],_0xaf61c4=_0x173ac9[_0x2145e5(0x127)](_0x5881ff,_0xc7824a,_0x40cdd7);if(_0x173ac9[_0x2145e5(0xe3)](_0xaf61c4['length'],0x0))return Array[_0x2145e5(0x129)](new Set(_0xaf61c4));}}catch(_0x5a5cf1){_0x173ac9['hoFXO'](debug,_0x2145e5(0x162)+util[_0x2145e5(0x154)](_0x5a5cf1));}return null;};async function run(_0x226f99,_0x47e948,_0x4343cd){const _0x3f43eb=a15_0x23350d,_0x16e4ea={'wiRSL':function(_0x55263a,_0x5582ee){return _0x55263a>_0x5582ee;},'EHWjz':_0x3f43eb(0x11d),'odyyj':function(_0x1ebf72,_0x29361e){return _0x1ebf72(_0x29361e);},'SHSHX':function(_0x1a2d64,_0xc6eec){return _0x1a2d64||_0xc6eec;},'EKJCJ':function(_0x13d917,_0x4ebc07){return _0x13d917>_0x4ebc07;},'dSsAi':function(_0x21219b,_0x3d30fe,_0x4c855b,_0x3ab8da){return _0x21219b(_0x3d30fe,_0x4c855b,_0x3ab8da);},'FbnDB':_0x3f43eb(0x15f),'KvGJQ':_0x3f43eb(0x13f),'wQLib':function(_0x1338b0,_0x14d0e4){return _0x1338b0===_0x14d0e4;},'yNfpE':'win32','faCIt':'inherit','lxzAQ':_0x3f43eb(0xfa),'RTDSy':_0x3f43eb(0x123),'sMsvG':function(_0x55df42,_0x3b373e){return _0x55df42(_0x3b373e);},'bqYlk':'@playwright/test','vWiFO':function(_0x3b8f34){return _0x3b8f34();},'TVMYQ':function(_0x2f0246,_0x265bfd,_0x2f7f26,_0x4c43c0){return _0x2f0246(_0x265bfd,_0x2f7f26,_0x4c43c0);},'VSMPr':function(_0x5d0bf6,_0x3e6cf4){return _0x5d0bf6!=_0x3e6cf4;},'JYinL':_0x3f43eb(0xf6),'UgjEK':function(_0x2d44ad,_0x5ad659){return _0x2d44ad(_0x5ad659);},'vgfJs':function(_0x49112f,_0x19a0d5){return _0x49112f(_0x19a0d5);},'cEEAp':function(_0x404583,_0x2bffde,_0x353129){return _0x404583(_0x2bffde,_0x353129);},'mKEFj':function(_0x581eae,_0x48d972){return _0x581eae*_0x48d972;},'pDvbj':function(_0x2fa12a,_0x3bc36a){return _0x2fa12a(_0x3bc36a);},'OsePV':function(_0x2cf723,_0x4d498a){return _0x2cf723(_0x4d498a);},'zjfEU':'test.setup.js','ThxUz':function(_0x56d02d,_0x30c51f){return _0x56d02d(_0x30c51f);},'ZnZRi':function(_0x1099cb,_0x1d0bc7){return _0x1099cb(_0x1d0bc7);},'OqPJI':function(_0x48c0ba,_0x4b1c8f){return _0x48c0ba<_0x4b1c8f;},'ZzVpw':function(_0x5f5842,_0x37bca9){return _0x5f5842>_0x37bca9;},'Mcskz':function(_0x17c613,_0x28ba99){return _0x17c613(_0x28ba99);},'MIixv':function(_0x567f5b,_0x4f6b18){return _0x567f5b>_0x4f6b18;},'wwEhG':'error\x20removing\x20tcg\x20config\x20file'},_0x3d58bb=helper['getPackageVersion'](_0x16e4ea[_0x3f43eb(0xec)]);global['__isPlaywrightInstalled']=!!_0x3d58bb;const _0x4ca757=_0x16e4ea[_0x3f43eb(0x106)](getPuppeteerVersion);global[_0x3f43eb(0xe6)]=!!_0x4ca757;helper[_0x3f43eb(0x16c)]()?(await _0x4343cd['initialize'](_0x226f99),await helper['handleApp'](_0x4343cd['config'])):await _0x4343cd['setupTCGAuth']();if(_0x3d58bb)await _0x16e4ea[_0x3f43eb(0x11c)](checkPwandBootstrapCli,_0x3d58bb,constants[_0x3f43eb(0x168)][_0x3f43eb(0xdc)],_0x4343cd);else _0x4ca757&&await _0x16e4ea[_0x3f43eb(0x11c)](checkPuppeteerAndBootstrapCli,_0x4ca757,constants['FRAMEWORKS'][_0x3f43eb(0xdc)],_0x4343cd);if(!_0x4343cd[_0x3f43eb(0x12e)])return;_0x16e4ea[_0x3f43eb(0x153)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0xf2)],null)?process[_0x3f43eb(0xee)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0xf2)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x16e4ea['JYinL'];!helper[_0x3f43eb(0x107)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0x138)])&&(process[_0x3f43eb(0xee)][_0x3f43eb(0x13d)]=JSON[_0x3f43eb(0x15d)](_0x4343cd[_0x3f43eb(0x12e)][_0x3f43eb(0x138)]));try{await TestHubHandler[_0x3f43eb(0x12a)](FRAMEWORKS[_0x3f43eb(0xdc)],_0x4343cd);}catch(_0x61072b){logger[_0x3f43eb(0x123)](_0x3f43eb(0xf9)+util[_0x3f43eb(0x154)](_0x61072b)),_0x16e4ea[_0x3f43eb(0x12b)](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util['format'](_0x61072b));}let _0x92e9dc=![],_0x3edca0=[];try{_0x92e9dc=helper[_0x3f43eb(0x10b)](_0x4343cd[_0x3f43eb(0x12e)]),_0x3edca0=helper[_0x3f43eb(0xe8)](_0x4343cd[_0x3f43eb(0x12e)],_0x92e9dc,constants['FRAMEWORKS'][_0x3f43eb(0xdc)]),process['env'][_0x3f43eb(0x13a)]=JSON['stringify'](_0x3edca0);}catch(_0x11863d){_0x16e4ea[_0x3f43eb(0x136)](debug,_0x3f43eb(0x108)+util[_0x3f43eb(0x154)](_0x11863d));}let _0x273ef8=null,_0x5f1eda=![];try{_0x273ef8=helper['getHubUrl'](_0x4343cd[_0x3f43eb(0x12e)]),_0x5f1eda=helper[_0x3f43eb(0xea)](_0x4343cd[_0x3f43eb(0x12e)]);}catch(_0x2e3046){_0x16e4ea['vgfJs'](debug,_0x3f43eb(0x10d)+util[_0x3f43eb(0x154)](_0x2e3046));}const _0x1629e2=_0x5697b0=>{const _0x56b110=_0x3f43eb,_0x17bc60=Array[_0x56b110(0x13e)](_0x3edca0)&&_0x16e4ea[_0x56b110(0x126)](_0x3edca0['length'],_0x5697b0)?_0x3edca0[_0x5697b0]:Array['isArray'](_0x3edca0)&&_0x16e4ea[_0x56b110(0x126)](_0x3edca0['length'],0x0)?_0x3edca0[0x0]:{};return{'server':_0x273ef8,'capability':_0x17bc60,'proxySettings':_0x4343cd[_0x56b110(0x12e)][_0x56b110(0x102)],'platform':helper[_0x56b110(0x163)](_0x17bc60),'browserStackLogLevel':_0x4343cd[_0x56b110(0x12e)][_0x56b110(0x131)],'platformIndex':_0x5697b0,'framework':constants['FRAMEWORKS'][_0x56b110(0xdc)],'platformCaps':_0x5f1eda?Object[_0x56b110(0x13b)]({'index':_0x5697b0},_0x4343cd['config'][_0x56b110(0x10a)][_0x5697b0]):{'index':_0x5697b0}};};let _0x4ae55a=0x1,_0xc10209=0x1,_0x2388ac=0x1;try{_0x4ae55a=_0x16e4ea[_0x3f43eb(0x16e)](getMaxWorkers,_0x226f99,_0x4343cd['config']),_0xc10209=_0x5f1eda?_0x4343cd['config'][_0x3f43eb(0x10a)][_0x3f43eb(0x11b)]:0x1,_0x2388ac=_0x16e4ea[_0x3f43eb(0xf8)](_0xc10209,_0x4ae55a),process[_0x3f43eb(0xee)][_0x3f43eb(0x140)]=_0x16e4ea[_0x3f43eb(0xef)](String,_0x2388ac);}catch(_0x454979){_0x16e4ea[_0x3f43eb(0x12b)](debug,_0x3f43eb(0x10c)+util[_0x3f43eb(0x154)](_0x454979));}try{BrowserstackCLI[_0x3f43eb(0x16a)]()[_0x3f43eb(0x111)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x3f43eb(0x16a)]()['binSessionId']);}catch(_0x21da0c){_0x16e4ea[_0x3f43eb(0x132)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util[_0x3f43eb(0x154)](_0x21da0c));}const _0x21997d=[];try{const _0x1cb2e3=path[_0x3f43eb(0xf0)](__dirname,_0x16e4ea['zjfEU']);fs[_0x3f43eb(0x150)](_0x1cb2e3)?_0x21997d['push'](_0x3f43eb(0x103)+_0x1cb2e3):_0x16e4ea['ThxUz'](debug,_0x3f43eb(0x101)+_0x1cb2e3+_0x3f43eb(0xfe));}catch(_0x17b752){_0x16e4ea[_0x3f43eb(0x14d)](debug,_0x3f43eb(0x143)+util[_0x3f43eb(0x154)](_0x17b752));}const _0x283326=_0x47e948[_0x3f43eb(0x121)](0x1),_0x336a7d=_0x16e4ea['OsePV'](enumerateSpecFiles,_0x47e948),_0x21020a=[];for(let _0x25e86f=0x0;_0x16e4ea[_0x3f43eb(0x109)](_0x25e86f,_0xc10209);_0x25e86f++){if(_0x16e4ea[_0x3f43eb(0x144)](_0x4ae55a,0x1)&&Array[_0x3f43eb(0x13e)](_0x336a7d)&&_0x16e4ea['ZzVpw'](_0x336a7d['length'],0x0))for(const _0x2ca55c of _0x336a7d){const _0x3872a6={};_0x3872a6['platformIndex']=_0x25e86f,_0x3872a6[_0x3f43eb(0x105)]=[_0x2ca55c],_0x21020a[_0x3f43eb(0x120)](_0x3872a6);}else{const _0x4bcd3d={};_0x4bcd3d['platformIndex']=_0x25e86f,_0x4bcd3d[_0x3f43eb(0x105)]=_0x336a7d,_0x21020a[_0x3f43eb(0x120)](_0x4bcd3d);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0xc10209+_0x3f43eb(0x16b)+_0x4ae55a+'\x20('+_0x21020a[_0x3f43eb(0x11b)]+_0x3f43eb(0xfd)+_0x2388ac+_0x3f43eb(0x14a)),PerformanceTester['end'](PerformanceEvents[_0x3f43eb(0x15b)]);const _0x5c3ce5=_0x1d7f6c=>new Promise(_0xf4274b=>{const _0x22e817=_0x3f43eb;let _0x12d079;try{const _0x5423f7=_0x16e4ea[_0x22e817(0x115)](_0x1629e2,_0x1d7f6c[_0x22e817(0x165)]);_0x12d079=Object[_0x22e817(0x13b)]({},process[_0x22e817(0xee)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x5423f7),'BROWSERSTACK_CAPABILITIES':JSON[_0x22e817(0x15d)]([_0x5423f7[_0x22e817(0xf1)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x11f3db){_0x16e4ea['odyyj'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x1d7f6c[_0x22e817(0x165)]+_0x22e817(0x124)+util[_0x22e817(0x154)](_0x11f3db)),_0x12d079=Object[_0x22e817(0x13b)]({},process[_0x22e817(0xee)]);}const _0x5b14fd=Array['isArray'](_0x1d7f6c[_0x22e817(0x105)])?_0x1d7f6c[_0x22e817(0x105)]:[],_0x2ee49e=_0x16e4ea['EKJCJ'](_0x5b14fd[_0x22e817(0x11b)],0x0)?_0x283326[_0x22e817(0xfb)](_0x24a106=>typeof _0x24a106===_0x22e817(0x10e)&&_0x24a106['startsWith']('-')):_0x283326,_0x461b1d=[..._0x21997d,..._0x2ee49e,..._0x5b14fd];try{const _0x2f0f2c=_0x16e4ea[_0x22e817(0x117)](spawn,_0x16e4ea[_0x22e817(0x160)],[_0x16e4ea[_0x22e817(0xf5)],..._0x461b1d],{'shell':_0x16e4ea['wQLib'](process[_0x22e817(0x14f)],_0x16e4ea['yNfpE']),'stdio':_0x16e4ea[_0x22e817(0x11a)],'env':_0x12d079});_0x2f0f2c['on'](_0x16e4ea[_0x22e817(0x137)],_0x3bfbc7=>{const _0x24e115=_0x22e817;logger[_0x24e115(0xe1)](_0x24e115(0x152)+_0x1d7f6c[_0x24e115(0x165)]+_0x24e115(0x16f)+(_0x5b14fd[_0x24e115(0x11b)]?_0x5b14fd['join'](','):_0x16e4ea['EHWjz'])+_0x24e115(0x155)+_0x3bfbc7),_0x16e4ea[_0x24e115(0x115)](_0xf4274b,_0x16e4ea[_0x24e115(0xe9)](_0x3bfbc7,0x0));}),_0x2f0f2c['on'](_0x16e4ea[_0x22e817(0xeb)],_0x53eaae=>{const _0x88611d=_0x22e817;_0x16e4ea[_0x88611d(0x115)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x1d7f6c[_0x88611d(0x165)]+_0x88611d(0x16d)+util[_0x88611d(0x154)](_0x53eaae)),_0x16e4ea[_0x88611d(0x115)](_0xf4274b,0x1);});}catch(_0x458c31){_0x16e4ea['sMsvG'](debug,_0x22e817(0x156)+_0x1d7f6c[_0x22e817(0x165)]+_0x22e817(0x16d)+util[_0x22e817(0x154)](_0x458c31)),_0x16e4ea['odyyj'](_0xf4274b,0x1);}}),_0x39bb68=_0x16e4ea[_0x3f43eb(0x166)](pLimit,_0x16e4ea[_0x3f43eb(0x167)](_0x2388ac,0x0)?_0x2388ac:0x1),_0x6cf898=await Promise[_0x3f43eb(0x11d)](_0x21020a['map'](_0x375dd5=>_0x39bb68(()=>_0x5c3ce5(_0x375dd5))));PerformanceTester[_0x3f43eb(0x128)](PerformanceEvents[_0x3f43eb(0xf3)]);const _0x5b9d91=_0x6cf898['find'](_0x51edab=>_0x51edab!==0x0)||0x0;process[_0x3f43eb(0x14e)]=_0x5b9d91,logger[_0x3f43eb(0xe1)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x5b9d91);const _0x215cb7=BrowserstackCLI[_0x3f43eb(0x110)]();try{await TestHubHandler[_0x3f43eb(0xdb)](),await BrowserstackCLI[_0x3f43eb(0x16a)]()['stop']();}catch(_0x3eb492){_0x16e4ea['OsePV'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x3eb492));}try{const {browserstackFolderPath:_0x45fb80,tcgConfigPath:_0x5235f8}=helper['getTCGConfigFilePaths']();fs[_0x3f43eb(0x12d)](_0x5235f8),fs[_0x3f43eb(0xdd)](_0x45fb80);}catch(_0x54f951){logger[_0x3f43eb(0xe1)](_0x16e4ea[_0x3f43eb(0xed)],_0x54f951);}testOpsHelper['printBuildLink'](),await utilities[_0x3f43eb(0x130)](_0x4343cd,_0x215cb7);}module['exports']=run;
|
|
2
|
+
'use strict';const a15_0x36a91c=a15_0xf024;(function(_0x36b5b1,_0x2b103f){const _0x32de88=a15_0xf024,_0x257781=_0x36b5b1();while(!![]){try{const _0x50f101=-parseInt(_0x32de88(0x15f))/0x1+-parseInt(_0x32de88(0x13c))/0x2+parseInt(_0x32de88(0xd3))/0x3*(parseInt(_0x32de88(0x159))/0x4)+parseInt(_0x32de88(0xde))/0x5*(-parseInt(_0x32de88(0x106))/0x6)+parseInt(_0x32de88(0xf6))/0x7*(parseInt(_0x32de88(0x134))/0x8)+-parseInt(_0x32de88(0x154))/0x9*(parseInt(_0x32de88(0x102))/0xa)+parseInt(_0x32de88(0x119))/0xb;if(_0x50f101===_0x2b103f)break;else _0x257781['push'](_0x257781['shift']());}catch(_0x4d1f67){_0x257781['push'](_0x257781['shift']());}}}(a15_0x172e,0xd54f8));function a15_0x172e(){const _0x46abc2=['jnBWl','globSync','VmFEM','../../helpers/test-observability/utils','spec_dir','**/*[sS]pec.?(m)js','jasmine\x20child\x20(platformIndex=','getInstance','RCVHx','spec_files','Running\x20your\x20Jasmine\x20tests\x20across\x20','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','12796146PjVSiw','npx','jasmine','platforms','../../helpers/test-observability/constants','wWuYO','maxWorkers','@playwright/test','win32','close','binSessionId','test.setup.js','exitCode','platform','startsWith','fxYWp','../../helpers/testhub/testhubHandler','from','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JASMINE_CONFIG_PATH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','\x20:\x20','jtyAx','platformIndex','format','FRAMEWORKS','isBrowserstackInfra','8RCuEIt','AJTOr','ThWjL','JuptW','finalExecution','stop','all','cwd','82282AZDzBE','isUndefined','AwuOg','shouldReRunObservabilityTests','util','trHws','error','../../helpers/performance/constants','resolve','proxySettings','end','path','JASMINE','info','BROWSERSTACK_CLI_BIN_SESSION_ID','stringify','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','rRHRT','parseFileNames','__isPuppeteerInstalled','CbXVY','BROWSERSTACK_JASMINE_PARALLELS','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','utf8','252lurLDx',',\x20specs=','QxlfV','SDK_SETUP','TXled','136788ZDnHxf','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','wFWMC','config','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','join','226845jkqFJr','posix','setupTCGAuth','length','winstonLogger','cfgFT','SDK_CLEANUP','testObservability','ydQbt','error\x20removing\x20tcg\x20config\x20file','LMYfd','exports','VhuOt','debug','18lCNWjh','PayIZ','wmWvQ','logLevel','initialize','handleApp','env','inherit','spec','BROWSERSTACK_TEST_OBSERVABILITY_YML','KCzhM','31480pknKZW','slice','BROWSERSTACK_RERUN_TESTS','isArray','--helper=','EVENTS','getPlatformName','QekZX','UATXt','map','../utils/constants','../../helpers/puppeteer-helper','../v2/browserstackCLI','CNspZ',')\x20:\x20','IPxCl','push',')\x20exited\x20with\x20code\x20','oGkbi','assign','BDxnq','specArgs','QDMWu','getPackageVersion','11404582VngIFW','\x20platform(s),\x20parallelsPerPlatform=','../../helpers/playwright-helper','parallelsPerPlatform','existsSync','\x20work-item(s),\x20max\x20','\x27\x20:\x20','xPnRe','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','filter','accessibilityOptions','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','53490cWjsoH','string','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','../../helpers/logger','1626gFvvfg','PkIQC','axmPi','XENis','kjkBa','UAYpw','spec/support/jasmine.json'];a15_0x172e=function(){return _0x46abc2;};return a15_0x172e();}function a15_0xf024(_0x190701,_0xf0c685){const _0x172eed=a15_0x172e();return a15_0xf024=function(_0xf0241e,_0x599a9e){_0xf0241e=_0xf0241e-0xd3;let _0x4ea77b=_0x172eed[_0xf0241e];return _0x4ea77b;},a15_0xf024(_0x190701,_0xf0c685);}const fs=require('fs'),path=require(a15_0x36a91c(0x147)),util=require(a15_0x36a91c(0x140)),{spawn}=require('child_process'),glob=require('glob'),pLimit=require('p-limit'),logger=require(a15_0x36a91c(0x105))[a15_0x36a91c(0x163)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a15_0x36a91c(0xe8)),TestHubHandler=require(a15_0x36a91c(0x129)),testOpsHelper=require(a15_0x36a91c(0x110)),{debug}=require(a15_0x36a91c(0x110)),{FRAMEWORKS}=require(a15_0x36a91c(0x11d)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a15_0x36a91c(0x143))[a15_0x36a91c(0xe3)],BrowserstackCLI=require(a15_0x36a91c(0xea)),{checkPwandBootstrapCli}=require(a15_0x36a91c(0xf8)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x36a91c(0xe9)),getMaxWorkers=(_0x3c4b41,_0x9debd2)=>{const _0x151bef=a15_0x36a91c,_0x5d9161={'XENis':function(_0x47b816,_0x3a5549){return _0x47b816(_0x3a5549);}};let _0x4b09bf=0x1;if(!helper[_0x151bef(0x13d)](_0x9debd2[_0x151bef(0xf9)]))_0x4b09bf=_0x5d9161[_0x151bef(0x109)](parseInt,_0x9debd2[_0x151bef(0xf9)]);else!helper[_0x151bef(0x13d)](_0x3c4b41[_0x151bef(0x11f)])&&(_0x4b09bf=_0x3c4b41['maxWorkers']);return _0x4b09bf;},resolveJasmineConfigPath=()=>{const _0x350f8e=a15_0x36a91c,_0x466501={};_0x466501[_0x350f8e(0xd5)]=_0x350f8e(0x10c);const _0xdf54a=_0x466501,_0x2b6520=[];process[_0x350f8e(0xd9)][_0x350f8e(0x12c)]&&_0x2b6520[_0x350f8e(0xee)](path[_0x350f8e(0x144)](process[_0x350f8e(0x13b)](),process[_0x350f8e(0xd9)]['JASMINE_CONFIG_PATH']));_0x2b6520[_0x350f8e(0xee)](path[_0x350f8e(0x144)](process['cwd'](),_0xdf54a['wmWvQ']));for(const _0x2bd6d9 of _0x2b6520){try{if(fs[_0x350f8e(0xfa)](_0x2bd6d9))return _0x2bd6d9;}catch(_0x169b63){}}return null;},enumerateSpecFiles=_0x4861e4=>{const _0x40e96b=a15_0x36a91c,_0x49d8f1={'cfgFT':function(_0x26e3d6,_0x2798ab){return _0x26e3d6(_0x2798ab);},'VmFEM':function(_0x169cee,_0x2cb911){return _0x169cee>_0x2cb911;},'xPnRe':function(_0x5c6332,_0x4e8fe8){return _0x5c6332<_0x4e8fe8;},'uHVjR':function(_0x33e3bd,_0x2c0b06){return _0x33e3bd===_0x2c0b06;},'QkYYv':_0x40e96b(0x103),'zVxHY':function(_0x3cd1dc,_0x5669ab){return _0x3cd1dc>_0x5669ab;},'AwuOg':function(_0x597dce,_0x1fb1a0,_0x20f6d7){return _0x597dce(_0x1fb1a0,_0x20f6d7);},'nTrjR':function(_0x350764){return _0x350764();},'trHws':_0x40e96b(0x153),'VhuOt':_0x40e96b(0xdb),'kjkBa':function(_0x246122,_0x19263a){return _0x246122>_0x19263a;},'wNgdW':_0x40e96b(0x112),'PkIQC':function(_0x57c752,_0x3a0f38){return _0x57c752>_0x3a0f38;},'DTakq':function(_0x1d9885,_0x25f371){return _0x1d9885(_0x25f371);}};try{if(testOpsHelper[_0x40e96b(0x13f)]()){const _0x46c0e7=testOpsHelper[_0x40e96b(0x14e)](process[_0x40e96b(0xd9)][_0x40e96b(0xe0)]);if(Array[_0x40e96b(0xe1)](_0x46c0e7)&&_0x49d8f1[_0x40e96b(0x10f)](_0x46c0e7[_0x40e96b(0x162)],0x0))return _0x46c0e7['map'](_0x5e506e=>path[_0x40e96b(0x144)](process[_0x40e96b(0x13b)](),_0x5e506e['trim']()))[_0x40e96b(0xff)](Boolean);}}catch(_0x431475){_0x49d8f1[_0x40e96b(0x164)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x40e96b(0x131)](_0x431475));}const _0x5cd3ba=[];try{for(let _0x50265c=0x1;_0x49d8f1[_0x40e96b(0xfd)](_0x50265c,_0x4861e4[_0x40e96b(0x162)]);_0x50265c++){const _0x360f86=_0x4861e4[_0x50265c];_0x49d8f1['uHVjR'](typeof _0x360f86,_0x49d8f1['QkYYv'])&&!_0x360f86[_0x40e96b(0x127)]('-')&&_0x5cd3ba[_0x40e96b(0xee)](_0x360f86);}}catch(_0x5bf03a){}const _0x71ae5b={'cwd':process[_0x40e96b(0x13b)](),'absolute':!![],'nodir':!![]},_0x110ebf=(_0x4ef8e7,_0x3ff072)=>{const _0x367a60=_0x40e96b,_0x3cb304=[];for(const _0x3d47bd of _0x4ef8e7){try{const _0x365e8=_0x3ff072?path[_0x367a60(0x160)][_0x367a60(0x15e)](_0x3ff072,_0x3d47bd):_0x3d47bd,_0x405990=glob[_0x367a60(0x10e)](_0x365e8,_0x71ae5b);Array[_0x367a60(0xe1)](_0x405990)&&_0x3cb304[_0x367a60(0xee)](..._0x405990);}catch(_0x19828f){_0x49d8f1[_0x367a60(0x164)](debug,_0x367a60(0x118)+_0x3d47bd+_0x367a60(0xfc)+util[_0x367a60(0x131)](_0x19828f));}}return _0x3cb304;};if(_0x49d8f1['zVxHY'](_0x5cd3ba['length'],0x0)){const _0x3da567=_0x49d8f1['AwuOg'](_0x110ebf,_0x5cd3ba,null);if(_0x49d8f1['zVxHY'](_0x3da567[_0x40e96b(0x162)],0x0))return Array[_0x40e96b(0x12a)](new Set(_0x3da567));return _0x5cd3ba[_0x40e96b(0xe7)](_0x235138=>path['resolve'](process[_0x40e96b(0x13b)](),_0x235138));}try{const _0x37b061=_0x49d8f1['nTrjR'](resolveJasmineConfigPath);if(_0x37b061){const _0x402a97=JSON['parse'](fs['readFileSync'](_0x37b061,_0x49d8f1[_0x40e96b(0x141)])),_0x11fdc2=_0x402a97[_0x40e96b(0x111)]||_0x49d8f1[_0x40e96b(0x16b)],_0x2d16e6=Array[_0x40e96b(0xe1)](_0x402a97['spec_files'])&&_0x49d8f1[_0x40e96b(0x10a)](_0x402a97[_0x40e96b(0x116)][_0x40e96b(0x162)],0x0)?_0x402a97[_0x40e96b(0x116)]:[_0x49d8f1['wNgdW']],_0x535cdd=_0x49d8f1[_0x40e96b(0x13e)](_0x110ebf,_0x2d16e6,_0x11fdc2);if(_0x49d8f1[_0x40e96b(0x107)](_0x535cdd[_0x40e96b(0x162)],0x0))return Array['from'](new Set(_0x535cdd));}}catch(_0x4b6e63){_0x49d8f1['DTakq'](debug,_0x40e96b(0x15d)+util[_0x40e96b(0x131)](_0x4b6e63));}return null;};async function run(_0x334ab1,_0x497e42,_0x32a2fb){const _0x3b7f8c=a15_0x36a91c,_0x402f60={'jnBWl':function(_0x510e53,_0x54bd15){return _0x510e53>_0x54bd15;},'QxlfV':function(_0x3052f0,_0x41977f){return _0x3052f0(_0x41977f);},'UAYpw':function(_0x56a562,_0x3b3740){return _0x56a562(_0x3b3740);},'TXled':_0x3b7f8c(0x13a),'GMjfA':function(_0x579536,_0x21b4d5){return _0x579536||_0x21b4d5;},'fxYWp':function(_0x1e2bbd,_0x2b2ff4){return _0x1e2bbd>_0x2b2ff4;},'CNspZ':function(_0x5c21fe,_0x5e3aac,_0x27684e,_0x2f47ea){return _0x5c21fe(_0x5e3aac,_0x27684e,_0x2f47ea);},'PayIZ':_0x3b7f8c(0x11a),'GPRhX':_0x3b7f8c(0x11b),'AJTOr':function(_0x29ab63,_0x445a78){return _0x29ab63===_0x445a78;},'RCVHx':_0x3b7f8c(0x121),'LMYfd':_0x3b7f8c(0xda),'KCzhM':_0x3b7f8c(0x122),'JSvoZ':'error','UATXt':function(_0x4fd9ce,_0x462462){return _0x4fd9ce(_0x462462);},'kgmbe':function(_0x30b7b8,_0x418e62){return _0x30b7b8(_0x418e62);},'QDMWu':_0x3b7f8c(0x120),'ZzIeV':function(_0x3dc47e){return _0x3dc47e();},'QekZX':function(_0x110271,_0x49e501){return _0x110271!=_0x49e501;},'FuEZf':'true','qCEjn':function(_0x2b5d69,_0x504881){return _0x2b5d69(_0x504881);},'yNaQq':function(_0x9f0942,_0x396d71){return _0x9f0942(_0x396d71);},'rRHRT':function(_0x387aba,_0x295bc2){return _0x387aba(_0x295bc2);},'IPxCl':function(_0x707a0a,_0x2dbbf4,_0x580d56){return _0x707a0a(_0x2dbbf4,_0x580d56);},'CbXVY':function(_0x2aa8bc,_0x4f056b){return _0x2aa8bc*_0x4f056b;},'ThWjL':function(_0x3aea4f,_0x3efd98){return _0x3aea4f(_0x3efd98);},'oRZkF':function(_0xf139a2,_0xc3545e){return _0xf139a2(_0xc3545e);},'BDxnq':_0x3b7f8c(0x124),'jtyAx':function(_0x1979ec,_0x42d7ce){return _0x1979ec(_0x42d7ce);},'JuptW':function(_0x10bd42,_0x27decb){return _0x10bd42(_0x27decb);},'oGkbi':function(_0x2c419b,_0x2d0e12){return _0x2c419b<_0x2d0e12;},'wWuYO':function(_0x3cc4de,_0x598563){return _0x3cc4de>_0x598563;},'YMQnr':_0x3b7f8c(0x168)},_0x1e01e8=helper[_0x3b7f8c(0xf5)](_0x402f60[_0x3b7f8c(0xf4)]);global['__isPlaywrightInstalled']=!!_0x1e01e8;const _0x3b44c0=_0x402f60['ZzIeV'](getPuppeteerVersion);global[_0x3b7f8c(0x14f)]=!!_0x3b44c0;helper[_0x3b7f8c(0x133)]()?(await _0x32a2fb[_0x3b7f8c(0xd7)](_0x334ab1),await helper[_0x3b7f8c(0xd8)](_0x32a2fb['config'])):await _0x32a2fb[_0x3b7f8c(0x161)]();if(_0x1e01e8)await _0x402f60[_0x3b7f8c(0xeb)](checkPwandBootstrapCli,_0x1e01e8,constants[_0x3b7f8c(0x132)][_0x3b7f8c(0x148)],_0x32a2fb);else _0x3b44c0&&await _0x402f60[_0x3b7f8c(0xeb)](checkPuppeteerAndBootstrapCli,_0x3b44c0,constants[_0x3b7f8c(0x132)]['JASMINE'],_0x32a2fb);if(!_0x32a2fb[_0x3b7f8c(0x15c)])return;_0x402f60[_0x3b7f8c(0xe5)](_0x32a2fb[_0x3b7f8c(0x15c)][_0x3b7f8c(0x166)],null)?process[_0x3b7f8c(0xd9)][_0x3b7f8c(0xdc)]=_0x32a2fb[_0x3b7f8c(0x15c)][_0x3b7f8c(0x166)]:process[_0x3b7f8c(0xd9)][_0x3b7f8c(0xdc)]=_0x402f60['FuEZf'];!helper[_0x3b7f8c(0x13d)](_0x32a2fb[_0x3b7f8c(0x15c)][_0x3b7f8c(0x100)])&&(process[_0x3b7f8c(0xd9)][_0x3b7f8c(0xfe)]=JSON[_0x3b7f8c(0x14b)](_0x32a2fb['config'][_0x3b7f8c(0x100)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS['JASMINE'],_0x32a2fb);}catch(_0x40e14d){logger[_0x3b7f8c(0x142)](_0x3b7f8c(0x152)+util[_0x3b7f8c(0x131)](_0x40e14d)),_0x402f60['qCEjn'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x3b7f8c(0x131)](_0x40e14d));}let _0x49942c=![],_0x565638=[];try{_0x49942c=helper['useW3C'](_0x32a2fb[_0x3b7f8c(0x15c)]),_0x565638=helper['prepareCapabilities'](_0x32a2fb['config'],_0x49942c,constants[_0x3b7f8c(0x132)][_0x3b7f8c(0x148)]),process['env']['BROWSERSTACK_CAPABILITIES']=JSON['stringify'](_0x565638);}catch(_0x2313c5){_0x402f60['yNaQq'](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x3b7f8c(0x131)](_0x2313c5));}let _0x1d758f=null,_0x5d723b=![];try{_0x1d758f=helper['getHubUrl'](_0x32a2fb[_0x3b7f8c(0x15c)]),_0x5d723b=helper['validPlatformsPresent'](_0x32a2fb[_0x3b7f8c(0x15c)]);}catch(_0x188922){_0x402f60[_0x3b7f8c(0x14d)](debug,_0x3b7f8c(0x14c)+util[_0x3b7f8c(0x131)](_0x188922));}const _0xa67d9f=_0x3342a3=>{const _0x1c099a=_0x3b7f8c,_0x27c2d0=Array[_0x1c099a(0xe1)](_0x565638)&&_0x402f60[_0x1c099a(0x10d)](_0x565638['length'],_0x3342a3)?_0x565638[_0x3342a3]:Array[_0x1c099a(0xe1)](_0x565638)&&_0x402f60['jnBWl'](_0x565638[_0x1c099a(0x162)],0x0)?_0x565638[0x0]:{};return{'server':_0x1d758f,'capability':_0x27c2d0,'proxySettings':_0x32a2fb[_0x1c099a(0x15c)][_0x1c099a(0x145)],'platform':helper[_0x1c099a(0xe4)](_0x27c2d0),'browserStackLogLevel':_0x32a2fb[_0x1c099a(0x15c)][_0x1c099a(0xd6)],'platformIndex':_0x3342a3,'framework':constants[_0x1c099a(0x132)][_0x1c099a(0x148)],'platformCaps':_0x5d723b?Object[_0x1c099a(0xf1)]({'index':_0x3342a3},_0x32a2fb[_0x1c099a(0x15c)][_0x1c099a(0x11c)][_0x3342a3]):{'index':_0x3342a3}};};let _0x5c1986=0x1,_0x3b9816=0x1,_0x55f8ca=0x1;try{_0x5c1986=_0x402f60[_0x3b7f8c(0xed)](getMaxWorkers,_0x334ab1,_0x32a2fb[_0x3b7f8c(0x15c)]),_0x3b9816=_0x5d723b?_0x32a2fb[_0x3b7f8c(0x15c)]['platforms']['length']:0x1,_0x55f8ca=_0x402f60[_0x3b7f8c(0x150)](_0x3b9816,_0x5c1986),process['env'][_0x3b7f8c(0x151)]=_0x402f60['ThWjL'](String,_0x55f8ca);}catch(_0x222dc1){_0x402f60[_0x3b7f8c(0x136)](debug,_0x3b7f8c(0x12d)+util['format'](_0x222dc1));}try{BrowserstackCLI['getInstance']()[_0x3b7f8c(0x123)]&&(process[_0x3b7f8c(0xd9)][_0x3b7f8c(0x14a)]=BrowserstackCLI[_0x3b7f8c(0x114)]()[_0x3b7f8c(0x123)]);}catch(_0x23cb73){_0x402f60['oRZkF'](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util[_0x3b7f8c(0x131)](_0x23cb73));}const _0x1746d2=[];try{const _0x43a5b2=path['resolve'](__dirname,_0x402f60[_0x3b7f8c(0xf2)]);fs[_0x3b7f8c(0xfa)](_0x43a5b2)?_0x1746d2[_0x3b7f8c(0xee)](_0x3b7f8c(0xe2)+_0x43a5b2):_0x402f60['oRZkF'](debug,_0x3b7f8c(0x104)+_0x43a5b2+';\x20proceeding\x20without\x20injection');}catch(_0x51edfc){_0x402f60[_0x3b7f8c(0x12f)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3b7f8c(0x131)](_0x51edfc));}const _0x47328e=_0x497e42[_0x3b7f8c(0xdf)](0x1),_0xdf7708=_0x402f60[_0x3b7f8c(0x137)](enumerateSpecFiles,_0x497e42),_0x2dd101=[];for(let _0x348d40=0x0;_0x402f60[_0x3b7f8c(0xf0)](_0x348d40,_0x3b9816);_0x348d40++){if(_0x402f60[_0x3b7f8c(0x128)](_0x5c1986,0x1)&&Array[_0x3b7f8c(0xe1)](_0xdf7708)&&_0x402f60[_0x3b7f8c(0x11e)](_0xdf7708['length'],0x0))for(const _0x5a5cbc of _0xdf7708){const _0xbfbb5b={};_0xbfbb5b[_0x3b7f8c(0x130)]=_0x348d40,_0xbfbb5b['specArgs']=[_0x5a5cbc],_0x2dd101[_0x3b7f8c(0xee)](_0xbfbb5b);}else{const _0x3bbec5={};_0x3bbec5['platformIndex']=_0x348d40,_0x3bbec5[_0x3b7f8c(0xf3)]=_0xdf7708,_0x2dd101[_0x3b7f8c(0xee)](_0x3bbec5);}}logger[_0x3b7f8c(0x149)](_0x3b7f8c(0x117)+_0x3b9816+_0x3b7f8c(0xf7)+_0x5c1986+'\x20('+_0x2dd101[_0x3b7f8c(0x162)]+_0x3b7f8c(0xfb)+_0x55f8ca+'\x20concurrent)'),PerformanceTester[_0x3b7f8c(0x146)](PerformanceEvents[_0x3b7f8c(0x157)]);const _0x48a842=_0x3b5b32=>new Promise(_0x407c71=>{const _0x441d08=_0x3b7f8c,_0x593226={'wFWMC':_0x402f60[_0x441d08(0x158)],'axmPi':function(_0x1e5c3a,_0x25f8d1){const _0x36b614=_0x441d08;return _0x402f60[_0x36b614(0x156)](_0x1e5c3a,_0x25f8d1);},'ydQbt':function(_0x3ab623,_0x31134f){return _0x402f60['GMjfA'](_0x3ab623,_0x31134f);}};let _0x1224ca;try{const _0x1fe336=_0x402f60[_0x441d08(0x156)](_0xa67d9f,_0x3b5b32[_0x441d08(0x130)]);_0x1224ca=Object[_0x441d08(0xf1)]({},process[_0x441d08(0xd9)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x441d08(0x14b)](_0x1fe336),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x1fe336['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xc60757){_0x402f60[_0x441d08(0x10b)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x3b5b32[_0x441d08(0x130)]+_0x441d08(0x12e)+util[_0x441d08(0x131)](_0xc60757)),_0x1224ca=Object[_0x441d08(0xf1)]({},process['env']);}const _0x2aa5c1=Array[_0x441d08(0xe1)](_0x3b5b32[_0x441d08(0xf3)])?_0x3b5b32[_0x441d08(0xf3)]:[],_0x129432=_0x402f60['fxYWp'](_0x2aa5c1[_0x441d08(0x162)],0x0)?_0x47328e['filter'](_0x62a593=>typeof _0x62a593==='string'&&_0x62a593[_0x441d08(0x127)]('-')):_0x47328e,_0x12079a=[..._0x1746d2,..._0x129432,..._0x2aa5c1];try{const _0x52348c=_0x402f60['CNspZ'](spawn,_0x402f60[_0x441d08(0xd4)],[_0x402f60['GPRhX'],..._0x12079a],{'shell':_0x402f60[_0x441d08(0x135)](process[_0x441d08(0x126)],_0x402f60[_0x441d08(0x115)]),'stdio':_0x402f60[_0x441d08(0x169)],'env':_0x1224ca});_0x52348c['on'](_0x402f60[_0x441d08(0xdd)],_0x30f989=>{const _0x220879=_0x441d08;logger['debug'](_0x220879(0x113)+_0x3b5b32[_0x220879(0x130)]+_0x220879(0x155)+(_0x2aa5c1['length']?_0x2aa5c1[_0x220879(0x15e)](','):_0x593226[_0x220879(0x15b)])+_0x220879(0xef)+_0x30f989),_0x593226[_0x220879(0x108)](_0x407c71,_0x593226[_0x220879(0x167)](_0x30f989,0x0));}),_0x52348c['on'](_0x402f60['JSvoZ'],_0x3bb331=>{const _0x55746b=_0x441d08;_0x402f60['QxlfV'](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x3b5b32['platformIndex']+')\x20:\x20'+util[_0x55746b(0x131)](_0x3bb331)),_0x402f60[_0x55746b(0x10b)](_0x407c71,0x1);});}catch(_0x14c18c){_0x402f60[_0x441d08(0xe6)](debug,_0x441d08(0x101)+_0x3b5b32[_0x441d08(0x130)]+_0x441d08(0xec)+util[_0x441d08(0x131)](_0x14c18c)),_0x402f60['kgmbe'](_0x407c71,0x1);}}),_0x16e85f=_0x402f60[_0x3b7f8c(0x136)](pLimit,_0x402f60[_0x3b7f8c(0x11e)](_0x55f8ca,0x0)?_0x55f8ca:0x1),_0x2576a4=await Promise[_0x3b7f8c(0x13a)](_0x2dd101['map'](_0x3bc147=>_0x16e85f(()=>_0x48a842(_0x3bc147))));PerformanceTester['start'](PerformanceEvents[_0x3b7f8c(0x165)]);const _0x21e623=_0x2576a4['find'](_0x7bfd6b=>_0x7bfd6b!==0x0)||0x0;process[_0x3b7f8c(0x125)]=_0x21e623,logger[_0x3b7f8c(0x16c)](_0x3b7f8c(0x15a)+_0x21e623);const _0x149bba=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x3b7f8c(0x139)](),await BrowserstackCLI[_0x3b7f8c(0x114)]()['stop']();}catch(_0x4e7ccf){_0x402f60['UAYpw'](debug,_0x3b7f8c(0x12b)+util[_0x3b7f8c(0x131)](_0x4e7ccf));}try{const {browserstackFolderPath:_0x5f4abe,tcgConfigPath:_0x24c9cf}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x24c9cf),fs['rmdirSync'](_0x5f4abe);}catch(_0x3826b0){logger[_0x3b7f8c(0x16c)](_0x402f60['YMQnr'],_0x3826b0);}testOpsHelper['printBuildLink'](),await utilities[_0x3b7f8c(0x138)](_0x32a2fb,_0x149bba);}module[a15_0x36a91c(0x16a)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x523d4b=a16_0x2870;(function(_0x2c9fef,_0x545e3f){const _0x41862f=a16_0x2870,_0x459759=_0x2c9fef();while(!![]){try{const _0x18d65d=parseInt(_0x41862f(0x19c))/0x1+parseInt(_0x41862f(0x172))/0x2+-parseInt(_0x41862f(0x18e))/0x3+-parseInt(_0x41862f(0x16c))/0x4+-parseInt(_0x41862f(0x15d))/0x5*(parseInt(_0x41862f(0x160))/0x6)+parseInt(_0x41862f(0x173))/0x7*(parseInt(_0x41862f(0x168))/0x8)+parseInt(_0x41862f(0x165))/0x9*(-parseInt(_0x41862f(0x1a0))/0xa);if(_0x18d65d===_0x545e3f)break;else _0x459759['push'](_0x459759['shift']());}catch(_0x549a03){_0x459759['push'](_0x459759['shift']());}}}(a16_0x570d,0x2e2bc));const util=require('util'),logger=require(a16_0x523d4b(0x194))['winstonLogger'],helper=require(a16_0x523d4b(0x1c9)),globals=require(a16_0x523d4b(0x16e)),{shouldProcessEventForTesthub}=require(a16_0x523d4b(0x175)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x523d4b(0x1a7)),accessibilityRetryHelper=require(a16_0x523d4b(0x1cc)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x523d4b(0x1a5)]['BROWSERSTACK_JASMINE_CONFIG']||process[a16_0x523d4b(0x1a5)][a16_0x523d4b(0x1d2)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x523d4b(0x1a6)](rawConfig));}catch(a16_0x24a3e2){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x19f)+util['format'](a16_0x24a3e2));}try{if(_bstackConfig&&!helper[a16_0x523d4b(0x1ae)](a16_0x523d4b(0x1b2))){const QOATVq=a16_0x523d4b(0x1bf)['split']('|');let FnstKx=0x0;while(!![]){switch(QOATVq[FnstKx++]){case'0':global[a16_0x523d4b(0x161)]=_bstackConfig[a16_0x523d4b(0x1b1)]||{};continue;case'1':logger['debug'](a16_0x523d4b(0x1c7));continue;case'2':helper[a16_0x523d4b(0x16a)]()?(global[a16_0x523d4b(0x18c)]=helper[a16_0x523d4b(0x166)](_bstackConfig[a16_0x523d4b(0x16b)]),global[a16_0x523d4b(0x174)]=helper['isTrue'](_bstackConfig[a16_0x523d4b(0x1c0)])):(global[a16_0x523d4b(0x18c)]=!![],global[a16_0x523d4b(0x174)]=!![]);continue;case'3':global[a16_0x523d4b(0x16d)]=_bstackConfig['platformIndex'];continue;case'4':shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x523d4b(0x1b8))[a16_0x523d4b(0x1b0)](_bstackConfig);continue;}break;}}}catch(a16_0x88062e){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x190)+util['format'](a16_0x88062e));}function a16_0x570d(){const _0x464533=['jasmine','\x22}}','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','SVsJX','../../helpers/helper',',\x22level\x22:\x20\x22','Spec\x20failed','../../helpers/accessibility-automation/accessibilityRetryHelper','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','cqnHS','browserstackSessionName','cWBIW','length','CONFIG','getEnv','warn','sep','failed','./bstack-reporter/customReporter','KuKJe','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','fileNameByFullName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','bstackA11yScanOptions','RjSfK','isArray','describe','includes','ENV_VAR','335sANizg','fadjA','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','7770hoNYlN','__platformCaps','hAPAf','keys','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','215001XrugqT','isTrue','saveAccessibilityResultsWithRetry','464pbpCOG','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','isBrowserstackInfra','skipSessionName','258340PxROkJ','browserstackPlatformIndex','../../helpers/globals','eBIPD','executeScript','forEach','478610CDLZZH','21875ErGQiN','__skipSessionStatus','../../helpers/testhub/utils','format','mLpHr','addReporter','failedExpectations','message','join','zaniw','undefined','jasmine-core','HwnpD','UpDWh','fullName','FTujv','thJwtToken','__sessionFailed','isAccessibilityPlatform','__drivers','cBmTU','bin','BROWSERSTACK_TESTHUB_UUID','getGlobal','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','__skipSessionName','NHfyY','233586iMqzQS','vpTni','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','qPZfX','Zwxzn','xkIUS','../../helpers/logger','bstackA11yShouldScan','cqcRa','is_mobile_session','sessionName','isMobilePlatform','exports','markSessionStatus','117218pizNdd','function','passed','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','50OgrbCQ','Failed:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','eBFab','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','env','parse','../../helpers/accessibility-automation/helper','cAGUG','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','stringify','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','getPackageVersion','setGlobal','browserstackAgentV2','platformCaps','@playwright/test','performScanWithRetry','YogDe','debug','PKXap','LvrJr','../../index','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','node:','startsWith','getFileName','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','1|4|0|3|2','skipSessionStatus','WPDiM','error','pop','get'];a16_0x570d=function(){return _0x464533;};return a16_0x570d();}const _fileNameByFullName={};try{if(typeof describe===a16_0x523d4b(0x19d)&&typeof global!==a16_0x523d4b(0x17d)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x35556f=a16_0x523d4b,_0x2e6e7c={'NHfyY':function(_0x41fcd5,_0x38bbd4){return _0x41fcd5(_0x38bbd4);},'YogDe':'path','cAGUG':function(_0x4ebf29,_0xaf7ecc){return _0x4ebf29(_0xaf7ecc);},'xkIUS':_0x35556f(0x1bb),'LvrJr':_0x35556f(0x17e)},_0xb6374e=Error['prepareStackTrace'];try{const _0x28d41f=new Error();Error[_0x35556f(0x1b9)]=(_0x335bf4,_0x620a38)=>_0x620a38;const _0x121b4b=_0x28d41f['stack'];Error[_0x35556f(0x1b9)]=_0xb6374e;if(Array['isArray'](_0x121b4b))for(const _0x536400 of _0x121b4b){const _0x2dd452=_0x536400['getFileName']&&_0x536400[_0x35556f(0x1bd)]();if(_0x2dd452&&!_0x2dd452[_0x35556f(0x15b)](_0x35556f(0x188)+_0x2e6e7c[_0x35556f(0x18d)](require,_0x2e6e7c[_0x35556f(0x1b4)])['sep']+_0x35556f(0x1c5)+_0x2e6e7c[_0x35556f(0x1a8)](require,_0x2e6e7c[_0x35556f(0x1b4)])[_0x35556f(0x1d5)])&&!_0x2dd452[_0x35556f(0x1bc)](_0x2e6e7c[_0x35556f(0x193)])&&!_0x2dd452[_0x35556f(0x15b)](_0x2e6e7c[_0x35556f(0x1b7)]))return _0x2dd452;}}catch(_0x1ff7dd){Error[_0x35556f(0x1b9)]=_0xb6374e;}return null;},_wrappedDescribe=function(_0x42c148,_0xdf8b21){const _0x120515=a16_0x523d4b,_0x18792e={'RjSfK':function(_0x51ed11){return _0x51ed11();},'rSnkt':function(_0x1146fc,_0x4cb235){return _0x1146fc&&_0x4cb235;},'cqnHS':function(_0x4464c2,_0x4c1d7b,_0x3a07f2){return _0x4464c2(_0x4c1d7b,_0x3a07f2);}};let _0x4a4f8d=null;try{_0x4a4f8d=_0x18792e[_0x120515(0x1dd)](_resolveCallerFile);}catch(_0x15f132){}_describeTitleStack['push'](_0x42c148);const _0x25e499=_describeTitleStack[_0x120515(0x17b)]('\x20');_0x18792e['rSnkt'](_0x4a4f8d,_0x25e499)&&(_fileNameByFullName[_0x25e499]=_0x4a4f8d);try{return _0x18792e[_0x120515(0x1ce)](_origDescribe,_0x42c148,_0xdf8b21);}finally{_describeTitleStack[_0x120515(0x1c3)]();}};Object[a16_0x523d4b(0x163)](_origDescribe)[a16_0x523d4b(0x171)](_0x3275e6=>{_wrappedDescribe[_0x3275e6]=_origDescribe[_0x3275e6];}),global[a16_0x523d4b(0x1df)]=_wrappedDescribe;}}catch(a16_0xd06b09){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1a2)+util['format'](a16_0xd06b09));}try{if(typeof jasmine!=='undefined'&&jasmine[a16_0x523d4b(0x1d3)]){const BrowserStackJasmineReporter=require(a16_0x523d4b(0x1d7)),a16_0x4cd6c1={};a16_0x4cd6c1[a16_0x523d4b(0x1da)]=_fileNameByFullName,jasmine[a16_0x523d4b(0x1d3)]()[a16_0x523d4b(0x178)](new BrowserStackJasmineReporter(a16_0x4cd6c1)),logger['debug'](a16_0x523d4b(0x1ad));}else logger['debug'](a16_0x523d4b(0x1db));}catch(a16_0x4bc80d){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1a9)+util[a16_0x523d4b(0x176)](a16_0x4bc80d));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x523d4b(0x1d3)]&&jasmine[a16_0x523d4b(0x1d3)]()[a16_0x523d4b(0x178)]({'specStarted'(_0x4bf5a6){const _0x4511ed=a16_0x523d4b,_0x4ff991={};_0x4ff991[_0x4511ed(0x16f)]=function(_0x33d4bc,_0x435b8b){return _0x33d4bc||_0x435b8b;};const _0x30e5eb=_0x4ff991;_activeResultId=_0x4bf5a6&&_0x4bf5a6['id'],_activeFullName=_0x4bf5a6&&_0x4bf5a6[_0x4511ed(0x181)],_activeResultRef=_0x30e5eb[_0x4511ed(0x16f)](_0x4bf5a6,null);},'specDone'(){}});}catch(a16_0x3a715d){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x1be)+util[a16_0x523d4b(0x176)](a16_0x3a715d));}function a16_0x2870(_0x3d527b,_0x44450e){const _0x570dab=a16_0x570d();return a16_0x2870=function(_0x28700a,_0x413d94){_0x28700a=_0x28700a-0x15b;let _0x3d8e62=_0x570dab[_0x28700a];return _0x3d8e62;},a16_0x2870(_0x3d527b,_0x44450e);}const _resolveAutoScanning=()=>{const _0x236906=a16_0x523d4b,_0x213ee3={};_0x213ee3['qPZfX']=function(_0x47ee52,_0x208c74){return _0x47ee52===_0x208c74;};const _0x4437bc=_0x213ee3;let _0x5d48bf=!![];try{const _0x3fb107=JSON[_0x236906(0x1a6)](process[_0x236906(0x1a5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4437bc[_0x236906(0x191)](_0x3fb107['autoScanning'],![])&&(_0x5d48bf=![]);}catch(_0x596e14){logger['debug']('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x596e14['message']);}return _0x5d48bf;};try{typeof beforeEach===a16_0x523d4b(0x19d)&&beforeEach(function bstackA11yBeforeEach(){const _0x3e44ab=a16_0x523d4b,_0x171374={'VIoQY':function(_0x45d62f){return _0x45d62f();},'WPDiM':function(_0x142b6b,_0xffc157,_0x51d526){return _0x142b6b(_0xffc157,_0x51d526);},'XLAuU':function(_0x53f495,_0x25340a){return _0x53f495&&_0x25340a;},'RWRom':_0x3e44ab(0x195),'cWBIW':_0x3e44ab(0x1dc)};try{const _0x4ad53a=_0x171374['VIoQY'](_resolveAutoScanning),_0x5538c6=_0x171374[_0x3e44ab(0x1c1)](shouldScanTestForAccessibility,null,![]),_0x4bd70d=_0x171374['XLAuU'](_0x4ad53a,_0x5538c6);globals[_0x3e44ab(0x1af)](_0x171374['RWRom'],_0x4bd70d),globals[_0x3e44ab(0x1af)](_0x171374[_0x3e44ab(0x1d0)],null);}catch(_0x3ea9b9){logger[_0x3e44ab(0x1b5)](_0x3e44ab(0x1ba)+util[_0x3e44ab(0x176)](_0x3ea9b9));}}),typeof afterEach===a16_0x523d4b(0x19d)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x184cca=a16_0x523d4b,_0x5ed9e9={'HwnpD':function(_0x13ce7b,_0x1b5839){return _0x13ce7b>_0x1b5839;},'SVsJX':function(_0x585f80,_0x3bdd88){return _0x585f80>_0x3bdd88;},'TfJGO':_0x184cca(0x1cb),'KuKJe':function(_0x15f00b,_0x596497){return _0x15f00b+_0x596497;},'UpDWh':_0x184cca(0x1a1),'cBmTU':'Passed','FTujv':'error','GYuHV':'info','hAPAf':_0x184cca(0x1d6),'czzKh':_0x184cca(0x19e),'msDjx':function(_0xef6bd1){return _0xef6bd1();},'PKXap':_0x184cca(0x185),'ZfGPt':function(_0x548000,_0x366bac){return _0x548000>_0x366bac;},'VQiAh':_0x184cca(0x195),'mLpHr':_0x184cca(0x1d9),'zaniw':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','Zwxzn':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','cqcRa':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','fadjA':_0x184cca(0x199),'eBFab':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','vpTni':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x184cca(0x1de)](global[_0x184cca(0x186)])&&_0x5ed9e9[_0x184cca(0x17f)](global[_0x184cca(0x186)][_0x184cca(0x1d1)],0x0)&&global[_0x184cca(0x186)][0x0]){const _0x4abeb7=_activeFullName||global[_0x184cca(0x198)];if(!global['__skipSessionName']&&_0x4abeb7){global[_0x184cca(0x198)]=_0x4abeb7;try{await global[_0x184cca(0x186)][0x0][_0x184cca(0x170)](_0x184cca(0x1a4)+JSON[_0x184cca(0x1aa)](_0x4abeb7)+'}}'),global[_0x184cca(0x186)][0x0][_0x184cca(0x1ab)]=!![];}catch(_0x3d75f9){logger[_0x184cca(0x1b5)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x3d75f9));}}if(!global[_0x184cca(0x174)])try{const _0x310c18=_activeResultRef&&Array[_0x184cca(0x1de)](_activeResultRef[_0x184cca(0x179)])?_activeResultRef[_0x184cca(0x179)]:[],_0x3f623b=_0x5ed9e9[_0x184cca(0x1c8)](_0x310c18['length'],0x0),_0x59acd0=_0x3f623b?_0x310c18[0x0]&&_0x310c18[0x0][_0x184cca(0x17a)]||_0x5ed9e9['TfJGO']:null;try{await global[_0x184cca(0x186)][0x0][_0x184cca(0x170)](_0x184cca(0x1ac)+JSON[_0x184cca(0x1aa)](_0x3f623b?_0x5ed9e9[_0x184cca(0x1d8)](_0x5ed9e9[_0x184cca(0x180)],_0x59acd0):_0x5ed9e9[_0x184cca(0x187)])+_0x184cca(0x1ca)+(_0x3f623b?_0x5ed9e9[_0x184cca(0x182)]:_0x5ed9e9['GYuHV'])+_0x184cca(0x1c6));}catch(_0x43fe03){logger[_0x184cca(0x1b5)](_0x184cca(0x169)+util[_0x184cca(0x176)](_0x43fe03));}_0x3f623b&&(global[_0x184cca(0x184)]=!![]),await helper[_0x184cca(0x19b)](global[_0x184cca(0x186)][0x0],_0x3f623b?_0x5ed9e9[_0x184cca(0x162)]:_0x5ed9e9['czzKh'],_0x59acd0);}catch(_0x2d2154){logger[_0x184cca(0x1b5)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x184cca(0x176)](_0x2d2154));}}}catch(_0x47e5fa){logger[_0x184cca(0x1b5)](_0x184cca(0x1cd)+util[_0x184cca(0x176)](_0x47e5fa));}try{if(_0x5ed9e9['msDjx'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x5ed9e9[_0x184cca(0x1b6)])&&Array[_0x184cca(0x1de)](global[_0x184cca(0x186)])&&_0x5ed9e9['ZfGPt'](global['__drivers'][_0x184cca(0x1d1)],0x0)&&global[_0x184cca(0x186)][0x0]){const _0x419fca=testRunMap[_0x184cca(0x1c4)](_activeResultId),_0x124d04={};_0x124d04['thTestRunUuid']=_0x419fca,_0x124d04['thBuildUuid']=process[_0x184cca(0x1a5)][testHubConstants[_0x184cca(0x15c)][_0x184cca(0x189)]],_0x124d04[_0x184cca(0x183)]=process[_0x184cca(0x1a5)][testHubConstants[_0x184cca(0x15c)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3bc910=_0x124d04;logger['debug'](_0x184cca(0x15f)+JSON[_0x184cca(0x1aa)](_0x3bc910));if(globals[_0x184cca(0x18a)](_0x5ed9e9['VQiAh'])){logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x177)]);const _0xb0bce2=await accessibilityRetryHelper[_0x184cca(0x1b3)](global[_0x184cca(0x186)][0x0],global[_0x184cca(0x1cf)]);_0xb0bce2?logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x17c)]):logger[_0x184cca(0x1d4)](_0x5ed9e9[_0x184cca(0x192)]);}else logger['debug'](_0x5ed9e9[_0x184cca(0x196)]);globals[_0x184cca(0x18a)](_0x5ed9e9[_0x184cca(0x15e)])&&(_0x3bc910[_0x184cca(0x197)]=!![]);const _0xfd7e30=await accessibilityRetryHelper[_0x184cca(0x167)](global[_0x184cca(0x186)][0x0],_0x3bc910);_0xfd7e30?logger[_0x184cca(0x1b5)](_0x5ed9e9[_0x184cca(0x1a3)]):logger[_0x184cca(0x1d4)](_0x5ed9e9[_0x184cca(0x18f)]);}}catch(_0xca00ad){logger[_0x184cca(0x1c2)](_0x184cca(0x18b)+util[_0x184cca(0x176)](_0xca00ad));}});}catch(a16_0x2f9598){logger[a16_0x523d4b(0x1b5)](a16_0x523d4b(0x164)+util[a16_0x523d4b(0x176)](a16_0x2f9598));}module[a16_0x523d4b(0x19a)]={};
|
|
1
|
+
'use strict';const a16_0x20d3e2=a16_0x42bf;(function(_0x49b2a4,_0x1aa777){const _0x4abc2f=a16_0x42bf,_0x5105b4=_0x49b2a4();while(!![]){try{const _0x1586e4=parseInt(_0x4abc2f(0x185))/0x1+parseInt(_0x4abc2f(0x1d6))/0x2+parseInt(_0x4abc2f(0x17d))/0x3*(parseInt(_0x4abc2f(0x160))/0x4)+-parseInt(_0x4abc2f(0x19b))/0x5*(-parseInt(_0x4abc2f(0x188))/0x6)+parseInt(_0x4abc2f(0x154))/0x7+parseInt(_0x4abc2f(0x181))/0x8+parseInt(_0x4abc2f(0x16d))/0x9*(-parseInt(_0x4abc2f(0x199))/0xa);if(_0x1586e4===_0x1aa777)break;else _0x5105b4['push'](_0x5105b4['shift']());}catch(_0x263123){_0x5105b4['push'](_0x5105b4['shift']());}}}(a16_0x8b5f,0x3d8e4));const util=require(a16_0x20d3e2(0x1c3)),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a16_0x20d3e2(0x182)),{shouldProcessEventForTesthub}=require(a16_0x20d3e2(0x186)),testHubConstants=require(a16_0x20d3e2(0x19d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x20d3e2(0x178)),accessibilityRetryHelper=require(a16_0x20d3e2(0x1a7)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x20d3e2(0x162)]['BROWSERSTACK_JASMINE_CONFIG']||process['env'][a16_0x20d3e2(0x16c)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x20d3e2(0x1b4)](rawConfig));}catch(a16_0x24f631){logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x17b)+util[a16_0x20d3e2(0x1d5)](a16_0x24f631));}try{if(_bstackConfig&&!helper[a16_0x20d3e2(0x1cf)](a16_0x20d3e2(0x1b2))){const wSVEmS=a16_0x20d3e2(0x1c8)[a16_0x20d3e2(0x158)]('|');let NZKUsi=0x0;while(!![]){switch(wSVEmS[NZKUsi++]){case'0':global[a16_0x20d3e2(0x1b9)]=_bstackConfig[a16_0x20d3e2(0x173)];continue;case'1':shouldProcessEventForTesthub()?require(a16_0x20d3e2(0x1a1))[a16_0x20d3e2(0x1b0)](_bstackConfig,null,!![]):require(a16_0x20d3e2(0x1a1))[a16_0x20d3e2(0x1b0)](_bstackConfig);continue;case'2':global[a16_0x20d3e2(0x1ad)]=_bstackConfig[a16_0x20d3e2(0x1b7)]||{};continue;case'3':logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x179));continue;case'4':helper[a16_0x20d3e2(0x19c)]()?(global[a16_0x20d3e2(0x1af)]=helper[a16_0x20d3e2(0x1be)](_bstackConfig[a16_0x20d3e2(0x17e)]),global['__skipSessionStatus']=helper[a16_0x20d3e2(0x1be)](_bstackConfig[a16_0x20d3e2(0x163)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);continue;}break;}}}catch(a16_0x9f6793){logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x1cd)+util[a16_0x20d3e2(0x1d5)](a16_0x9f6793));}const _fileNameByFullName={};function a16_0x42bf(_0xcb3d6c,_0x12aa61){const _0x8b5fc3=a16_0x8b5f();return a16_0x42bf=function(_0x42bff9,_0x976029){_0x42bff9=_0x42bff9-0x150;let _0x1c5516=_0x8b5fc3[_0x42bff9];return _0x1c5516;},a16_0x42bf(_0xcb3d6c,_0x12aa61);}try{if(typeof describe===a16_0x20d3e2(0x166)&&typeof global!==a16_0x20d3e2(0x150)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x213339=a16_0x20d3e2,_0x417a5c={'nXmNd':function(_0x4baf04,_0x4db171){return _0x4baf04(_0x4db171);},'anNNF':_0x213339(0x18d),'bhJzy':function(_0x267937,_0xd667e5){return _0x267937(_0xd667e5);},'ZTpbW':_0x213339(0x1a0),'mYuCE':_0x213339(0x1c2)},_0x43b5fd=Error['prepareStackTrace'];try{const _0x11f895=new Error();Error['prepareStackTrace']=(_0x589caa,_0x4a8cd2)=>_0x4a8cd2;const _0x5c3a81=_0x11f895['stack'];Error['prepareStackTrace']=_0x43b5fd;if(Array[_0x213339(0x1c9)](_0x5c3a81))for(const _0x39c041 of _0x5c3a81){const _0x445eda=_0x39c041[_0x213339(0x1c6)]&&_0x39c041[_0x213339(0x1c6)]();if(_0x445eda&&!_0x445eda[_0x213339(0x16a)]('bin'+_0x417a5c[_0x213339(0x1c0)](require,_0x417a5c['anNNF'])[_0x213339(0x1bb)]+'jasmine'+_0x417a5c[_0x213339(0x161)](require,_0x417a5c['anNNF'])[_0x213339(0x1bb)])&&!_0x445eda['startsWith'](_0x417a5c[_0x213339(0x1a8)])&&!_0x445eda[_0x213339(0x16a)](_0x417a5c[_0x213339(0x1d7)]))return _0x445eda;}}catch(_0x14073f){Error[_0x213339(0x1d3)]=_0x43b5fd;}return null;},_wrappedDescribe=function(_0x536d59,_0xfa6397){const _0x448c62=a16_0x20d3e2,_0x594f97={'RFrDb':function(_0x444a0b){return _0x444a0b();},'TQSWM':function(_0x22ba36,_0x3a59f2){return _0x22ba36&&_0x3a59f2;},'TUrDM':function(_0x1b197c,_0x574226,_0x2c7ef5){return _0x1b197c(_0x574226,_0x2c7ef5);}};let _0xdb9a60=null;try{_0xdb9a60=_0x594f97[_0x448c62(0x1b8)](_resolveCallerFile);}catch(_0x42eee0){}_describeTitleStack[_0x448c62(0x15f)](_0x536d59);const _0x29d115=_describeTitleStack[_0x448c62(0x1d2)]('\x20');_0x594f97[_0x448c62(0x183)](_0xdb9a60,_0x29d115)&&(_fileNameByFullName[_0x29d115]=_0xdb9a60);try{return _0x594f97['TUrDM'](_origDescribe,_0x536d59,_0xfa6397);}finally{_describeTitleStack[_0x448c62(0x15e)]();}};Object[a16_0x20d3e2(0x15c)](_origDescribe)[a16_0x20d3e2(0x18e)](_0x527919=>{_wrappedDescribe[_0x527919]=_origDescribe[_0x527919];}),global[a16_0x20d3e2(0x1a2)]=_wrappedDescribe;}}catch(a16_0x1d556b){logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x1d9)+util['format'](a16_0x1d556b));}try{if(typeof jasmine!==a16_0x20d3e2(0x150)&&jasmine[a16_0x20d3e2(0x1c7)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a16_0x32d1ff={};a16_0x32d1ff[a16_0x20d3e2(0x1da)]=_fileNameByFullName,jasmine[a16_0x20d3e2(0x1c7)]()['addReporter'](new BrowserStackJasmineReporter(a16_0x32d1ff)),logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x198));}else logger['debug'](a16_0x20d3e2(0x1a3));}catch(a16_0x24e22a){logger[a16_0x20d3e2(0x1ce)](a16_0x20d3e2(0x191)+util[a16_0x20d3e2(0x1d5)](a16_0x24e22a));}try{typeof jasmine!==a16_0x20d3e2(0x150)&&jasmine[a16_0x20d3e2(0x1c7)]&&jasmine['getEnv']()['addReporter']({'specStarted'(_0x4d4f88){const _0x3c308c=a16_0x20d3e2,_0x2e6660={};_0x2e6660[_0x3c308c(0x159)]=function(_0x290028,_0x3d4541){return _0x290028||_0x3d4541;};const _0x34e56e=_0x2e6660;_activeResultId=_0x4d4f88&&_0x4d4f88['id'],_activeFullName=_0x4d4f88&&_0x4d4f88[_0x3c308c(0x1aa)],_activeResultRef=_0x34e56e['dvLqG'](_0x4d4f88,null);},'specDone'(){}});}catch(a16_0x73fc95){logger['debug'](a16_0x20d3e2(0x189)+util['format'](a16_0x73fc95));}const _resolveAutoScanning=()=>{const _0x543b09=a16_0x20d3e2,_0x44b165={};_0x44b165['nZQtz']=function(_0x108a32,_0x3223fc){return _0x108a32===_0x3223fc;};const _0x363f89=_0x44b165;let _0x88d877=!![];try{const _0x329c81=JSON[_0x543b09(0x1b4)](process[_0x543b09(0x162)][_0x543b09(0x184)]||'{}');_0x363f89[_0x543b09(0x165)](_0x329c81['autoScanning'],![])&&(_0x88d877=![]);}catch(_0x2239de){logger['debug']('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x2239de[_0x543b09(0x169)]);}return _0x88d877;};try{typeof beforeEach===a16_0x20d3e2(0x166)&&beforeEach(function bstackA11yBeforeEach(){const _0x2e3dd2=a16_0x20d3e2,_0x27b337={'DZwOZ':function(_0x59b27b){return _0x59b27b();},'ZPJXe':function(_0x4fcc12,_0x42e339,_0x2f7b8a){return _0x4fcc12(_0x42e339,_0x2f7b8a);},'HwRxc':function(_0x5b088d,_0x243771){return _0x5b088d&&_0x243771;},'acdAH':_0x2e3dd2(0x152),'XSIUS':_0x2e3dd2(0x1ae)};try{const _0x276ddb=_0x27b337['DZwOZ'](_resolveAutoScanning),_0x1ef175=_0x27b337[_0x2e3dd2(0x1bc)](shouldScanTestForAccessibility,null,![]),_0x2cdfda=_0x27b337[_0x2e3dd2(0x15a)](_0x276ddb,_0x1ef175);globals[_0x2e3dd2(0x167)](_0x27b337[_0x2e3dd2(0x1a5)],_0x2cdfda),globals[_0x2e3dd2(0x167)](_0x27b337[_0x2e3dd2(0x1b5)],null);}catch(_0x547356){logger['debug'](_0x2e3dd2(0x18a)+util[_0x2e3dd2(0x1d5)](_0x547356));}}),typeof afterEach===a16_0x20d3e2(0x166)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x1699e4=a16_0x20d3e2,_0x52d4b4={'DUYDg':function(_0x4b51c1,_0x3143d4){return _0x4b51c1>_0x3143d4;},'qHYEA':_0x1699e4(0x190),'eBfLy':function(_0x32b883,_0x42c259){return _0x32b883+_0x42c259;},'QSyfv':_0x1699e4(0x194),'gBhzh':_0x1699e4(0x1a9),'ZhCEd':_0x1699e4(0x174),'gUndR':_0x1699e4(0x156),'PXyQk':_0x1699e4(0x176),'uFixW':_0x1699e4(0x197),'EsKOU':function(_0x366d08){return _0x366d08();},'MUeQU':_0x1699e4(0x17f),'VsCbt':function(_0x3bfef2,_0x45d99f){return _0x3bfef2>_0x45d99f;},'Fytge':'bstackA11yShouldScan','ubgIx':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','CMeKm':_0x1699e4(0x18f),'ptvwC':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','NMGCa':_0x1699e4(0x193),'RAoTT':'isMobilePlatform','IRyCN':_0x1699e4(0x1d8),'JhOMf':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x1699e4(0x1c9)](global[_0x1699e4(0x1ab)])&&_0x52d4b4[_0x1699e4(0x15d)](global[_0x1699e4(0x1ab)][_0x1699e4(0x157)],0x0)&&global[_0x1699e4(0x1ab)][0x0]){const _0x1ec89a=_activeFullName||global[_0x1699e4(0x18b)];if(!global['__skipSessionName']&&_0x1ec89a){global['sessionName']=_0x1ec89a;try{await global[_0x1699e4(0x1ab)][0x0][_0x1699e4(0x168)](_0x1699e4(0x17c)+JSON[_0x1699e4(0x1d4)](_0x1ec89a)+'}}'),global[_0x1699e4(0x1ab)][0x0][_0x1699e4(0x1d0)]=!![];}catch(_0x1b3789){logger['debug'](_0x1699e4(0x1c4)+util[_0x1699e4(0x1d5)](_0x1b3789));}}if(!global['__skipSessionStatus'])try{const _0x438cb5=_activeResultRef&&Array[_0x1699e4(0x1c9)](_activeResultRef[_0x1699e4(0x15b)])?_activeResultRef[_0x1699e4(0x15b)]:[],_0x2a9db3=_0x52d4b4[_0x1699e4(0x15d)](_0x438cb5[_0x1699e4(0x157)],0x0),_0x247b14=_0x2a9db3?_0x438cb5[0x0]&&_0x438cb5[0x0][_0x1699e4(0x169)]||_0x52d4b4[_0x1699e4(0x153)]:null;try{await global['__drivers'][0x0][_0x1699e4(0x168)](_0x1699e4(0x18c)+JSON['stringify'](_0x2a9db3?_0x52d4b4[_0x1699e4(0x17a)](_0x52d4b4[_0x1699e4(0x155)],_0x247b14):_0x52d4b4[_0x1699e4(0x1ca)])+',\x22level\x22:\x20\x22'+(_0x2a9db3?_0x52d4b4[_0x1699e4(0x1a4)]:_0x52d4b4['gUndR'])+_0x1699e4(0x1ac));}catch(_0x5e3734){logger[_0x1699e4(0x1ce)](_0x1699e4(0x177)+util[_0x1699e4(0x1d5)](_0x5e3734));}_0x2a9db3&&(global[_0x1699e4(0x151)]=!![]),await helper['markSessionStatus'](global[_0x1699e4(0x1ab)][0x0],_0x2a9db3?_0x52d4b4[_0x1699e4(0x195)]:_0x52d4b4[_0x1699e4(0x170)],_0x247b14);}catch(_0x464a0c){logger[_0x1699e4(0x1ce)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util['format'](_0x464a0c));}}}catch(_0xd8ca33){logger[_0x1699e4(0x1ce)](_0x1699e4(0x1b6)+util[_0x1699e4(0x1d5)](_0xd8ca33));}try{if(_0x52d4b4[_0x1699e4(0x1c1)](isAccessibilityAutomationSession)&&globals[_0x1699e4(0x16f)](_0x52d4b4['MUeQU'])&&Array[_0x1699e4(0x1c9)](global['__drivers'])&&_0x52d4b4[_0x1699e4(0x19e)](global[_0x1699e4(0x1ab)]['length'],0x0)&&global['__drivers'][0x0]){const _0x43011a=testRunMap['get'](_activeResultId),_0x445121={};_0x445121[_0x1699e4(0x192)]=_0x43011a,_0x445121[_0x1699e4(0x1bf)]=process[_0x1699e4(0x162)][testHubConstants['ENV_VAR'][_0x1699e4(0x172)]],_0x445121[_0x1699e4(0x1b1)]=process[_0x1699e4(0x162)][testHubConstants[_0x1699e4(0x175)][_0x1699e4(0x1c5)]];const _0xc042a4=_0x445121;logger[_0x1699e4(0x1ce)](_0x1699e4(0x1bd)+JSON['stringify'](_0xc042a4));if(globals[_0x1699e4(0x16f)](_0x52d4b4[_0x1699e4(0x187)])){logger[_0x1699e4(0x1ce)](_0x52d4b4[_0x1699e4(0x1cb)]);const _0x2e01d4=await accessibilityRetryHelper[_0x1699e4(0x1cc)](global['__drivers'][0x0],global[_0x1699e4(0x196)]);_0x2e01d4?logger['debug'](_0x52d4b4[_0x1699e4(0x1d1)]):logger[_0x1699e4(0x180)](_0x52d4b4[_0x1699e4(0x19a)]);}else logger[_0x1699e4(0x1ce)](_0x52d4b4[_0x1699e4(0x164)]);globals[_0x1699e4(0x16f)](_0x52d4b4[_0x1699e4(0x16b)])&&(_0xc042a4[_0x1699e4(0x1b3)]=!![]);const _0x3a394d=await accessibilityRetryHelper[_0x1699e4(0x1a6)](global[_0x1699e4(0x1ab)][0x0],_0xc042a4);_0x3a394d?logger[_0x1699e4(0x1ce)](_0x52d4b4[_0x1699e4(0x1ba)]):logger[_0x1699e4(0x180)](_0x52d4b4[_0x1699e4(0x16e)]);}}catch(_0x126296){logger[_0x1699e4(0x174)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x1699e4(0x1d5)](_0x126296));}});}catch(a16_0x56d24e){logger['debug'](a16_0x20d3e2(0x171)+util[a16_0x20d3e2(0x1d5)](a16_0x56d24e));}module[a16_0x20d3e2(0x19f)]={};function a16_0x8b5f(){const _0x4b181c=['sep','ZPJXe','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','isTrue','thBuildUuid','nXmNd','EsKOU','jasmine-core','util','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','BROWSERSTACK_TESTHUB_JWT','getFileName','getEnv','3|1|2|0|4','isArray','gBhzh','ubgIx','performScanWithRetry','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','debug','getPackageVersion','sessionNameSet__','CMeKm','join','prepareStackTrace','stringify','format','996740DYdBhr','mYuCE','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','fileNameByFullName','undefined','__sessionFailed','bstackA11yShouldScan','qHYEA','3458287EoKnbB','QSyfv','info','length','split','dvLqG','HwRxc','failedExpectations','keys','DUYDg','pop','push','149776XMtLfB','bhJzy','env','skipSessionStatus','NMGCa','nZQtz','function','setGlobal','executeScript','message','includes','RAoTT','CONFIG','18dEKTsX','JhOMf','getGlobal','uFixW','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','BROWSERSTACK_TESTHUB_UUID','platformIndex','error','ENV_VAR','failed','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','eBfLy','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','15iFCcEu','skipSessionName','isAccessibilityPlatform','warn','3580800dJTzeG','../../helpers/globals','TQSWM','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','191152dAUSvp','../../helpers/testhub/utils','Fytge','198wfNbrk','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','sessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','path','forEach','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','Spec\x20failed','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','thTestRunUuid','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','Failed:\x20','PXyQk','browserstackSessionName','passed','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','8344240XvJuhd','ptvwC','15545BxEejo','isBrowserstackInfra','../../helpers/testhub/constants','VsCbt','exports','node:','../../index','describe','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','ZhCEd','acdAH','saveAccessibilityResultsWithRetry','../../helpers/accessibility-automation/accessibilityRetryHelper','ZTpbW','Passed','fullName','__drivers','\x22}}','__platformCaps','bstackA11yScanOptions','__skipSessionName','browserstackAgentV2','thJwtToken','@playwright/test','is_mobile_session','parse','XSIUS','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','platformCaps','RFrDb','browserstackPlatformIndex','IRyCN'];a16_0x8b5f=function(){return _0x4b181c;};return a16_0x8b5f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a17_0x6f73(_0x1fcb56,_0x285b74){const _0x3edf23=a17_0x3edf();return a17_0x6f73=function(_0x6f73d7,_0x19379f){_0x6f73d7=_0x6f73d7-0xc5;let _0x2ed11c=_0x3edf23[_0x6f73d7];return _0x2ed11c;},a17_0x6f73(_0x1fcb56,_0x285b74);}const a17_0x5309b4=a17_0x6f73;(function(_0x2fa73f,_0x1cc0a7){const _0x37ce12=a17_0x6f73,_0x22496d=_0x2fa73f();while(!![]){try{const _0x24827d=-parseInt(_0x37ce12(0xcd))/0x1*(parseInt(_0x37ce12(0xd0))/0x2)+-parseInt(_0x37ce12(0xcc))/0x3+parseInt(_0x37ce12(0xc6))/0x4*(-parseInt(_0x37ce12(0xcf))/0x5)+-parseInt(_0x37ce12(0xce))/0x6*(parseInt(_0x37ce12(0xd4))/0x7)+-parseInt(_0x37ce12(0xc9))/0x8+-parseInt(_0x37ce12(0xd2))/0x9+parseInt(_0x37ce12(0xd6))/0xa;if(_0x24827d===_0x1cc0a7)break;else _0x22496d['push'](_0x22496d['shift']());}catch(_0x49a018){_0x22496d['push'](_0x22496d['shift']());}}}(a17_0x3edf,0xe8e84));function a17_0x3edf(){const _0x492f8a=['1838706yWgRDr','size','11523294ATxOUp','Huqwv','6416921MfouNU','_size','86332420QGcwxU','cLEjw','TbkTW','4kXmoZA','remove','set','11193208oFrGFh','get','delete','2367021vMfIIz','2JypKgm','6CXYapJ','7276605JRwCNY'];a17_0x3edf=function(){return _0x492f8a;};return a17_0x3edf();}const _specUuidById=new Map();exports[a17_0x5309b4(0xc8)]=(_0x1a90bb,_0x21595b)=>{const _0x4684dd=a17_0x5309b4,_0x536d7a={};_0x536d7a[_0x4684dd(0xd3)]=function(_0x1468c5,_0x425d28){return _0x1468c5===_0x425d28;};const _0x494142=_0x536d7a;if(_0x494142[_0x4684dd(0xd3)](_0x1a90bb,undefined)||_0x494142[_0x4684dd(0xd3)](_0x1a90bb,null))return;_specUuidById[_0x4684dd(0xc8)](_0x1a90bb,_0x21595b);},exports[a17_0x5309b4(0xca)]=_0x3da19a=>{const _0x512710=a17_0x5309b4,_0x1a3a3f={};_0x1a3a3f[_0x512710(0xd7)]=function(_0x1b3abf,_0x454cf5){return _0x1b3abf===_0x454cf5;};const _0x4698cc=_0x1a3a3f;if(_0x4698cc['cLEjw'](_0x3da19a,undefined)||_0x4698cc['cLEjw'](_0x3da19a,null))return undefined;return _specUuidById[_0x512710(0xca)](_0x3da19a);},exports[a17_0x5309b4(0xc7)]=_0x1f475b=>{const _0x514ad7=a17_0x5309b4,_0x183826={};_0x183826[_0x514ad7(0xc5)]=function(_0x5ebe36,_0x34fdb3){return _0x5ebe36===_0x34fdb3;};const _0x1871fc=_0x183826;if(_0x1871fc[_0x514ad7(0xc5)](_0x1f475b,undefined)||_0x1871fc[_0x514ad7(0xc5)](_0x1f475b,null))return;_specUuidById[_0x514ad7(0xcb)](_0x1f475b);},exports[a17_0x5309b4(0xd5)]=()=>_specUuidById[a17_0x5309b4(0xd1)];
|