browserstack-node-sdk 1.60.1 → 1.61.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_0x846615=a10_0x5955;(function(_0x1dd485,_0x17f830){const _0x210512=a10_0x5955,_0x38d79a=_0x1dd485();while(!![]){try{const _0x12a06b=-parseInt(_0x210512(0xef))/0x1*(parseInt(_0x210512(0xbd))/0x2)+-parseInt(_0x210512(0xe8))/0x3+parseInt(_0x210512(0xed))/0x4+parseInt(_0x210512(0xdd))/0x5*(-parseInt(_0x210512(0xc0))/0x6)+-parseInt(_0x210512(0xc6))/0x7*(-parseInt(_0x210512(0xb5))/0x8)+-parseInt(_0x210512(0xd7))/0x9*(parseInt(_0x210512(0xe1))/0xa)+parseInt(_0x210512(0xb9))/0xb*(parseInt(_0x210512(0xb4))/0xc);if(_0x12a06b===_0x17f830)break;else _0x38d79a['push'](_0x38d79a['shift']());}catch(_0x110be6){_0x38d79a['push'](_0x38d79a['shift']());}}}(a10_0x1061,0xa0cc2));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x846615(0xbb)),setKeepAlive=require(a10_0x846615(0xdb)),cucumberModule=requireModule(a10_0x846615(0xb2),a10_0x846615(0xcc)),logger=require(a10_0x846615(0xe4))[a10_0x846615(0xe2)];modifyCommand(),setKeepAlive();function a10_0x1061(){const _0x51f9ee=['__error_messages__','oxHip','../../helpers/setKeepAlive','name','85wQkXuu','pickle','platformCaps','NFjYV','3195530yDoMKx','winstonLogger','setSessionName','../../helpers/logger','Inside\x20browserstack\x20After','__timeout','action','639222JiKKoW','bstack','KYZFr','passed','setDefaultTimeout','2274908NtpzpX','parse','542622kwqGhm','After','../../index','iPqxQ','skipSessionName','Error:\x20quiting\x20at\x20After:\x20','VZORl','cucumber/lib/index.js','executeScript','157800XePEYX','6834408GBmSlK','__skipSessionName','session_','failed','957KWQMuS','__driver','../../helpers/helper','Inside\x20browserstack\x20Before','4eUaFsm','status','spdzP','102558JrJvMP','DLZrq','browserstack_executor:\x20','result','toLowerCase','env','7bLGNlZ','QZwUd','skipSessionStatus','timeout','CONFIG','stringify','cucumber','Error:\x20setting\x20status\x20at\x20After:\x20','MPuAm','arguments','__skipSessionStatus','uGDPF','__platformCaps','debug','then','daNwg','Before','9gfKaoY','PrWEe'];a10_0x1061=function(){return _0x51f9ee;};return a10_0x1061();}const Before=cucumberModule[a10_0x846615(0xd6)],After=cucumberModule[a10_0x846615(0xf0)],configuration=process[a10_0x846615(0xc5)][a10_0x846615(0xca)];if(configuration!==undefined){const config=JSON[a10_0x846615(0xee)](configuration);isTrue(config[a10_0x846615(0xaf)])&&(global[a10_0x846615(0xb6)]=!![]),global[a10_0x846615(0xd0)]=isTrue(config[a10_0x846615(0xc8)]),require(a10_0x846615(0xf1))['browserstackAgentV2'](config),global[a10_0x846615(0xd2)]=config[a10_0x846615(0xdf)]||{};}global[a10_0x846615(0xe6)]=0x0;function a10_0x5955(_0x3a5d11,_0x3dd47f){const _0x106164=a10_0x1061();return a10_0x5955=function(_0x59552e,_0x5629ba){_0x59552e=_0x59552e-0xae;let _0x5acda0=_0x106164[_0x59552e];return _0x5acda0;},a10_0x5955(_0x3a5d11,_0x3dd47f);}const __setDefaultTimeout=cucumberModule[a10_0x846615(0xec)];cucumberModule[a10_0x846615(0xec)]=_0x438007=>{const _0x4e7eda=a10_0x846615,_0x502c97={'VZORl':function(_0x5d319b,_0x4ddd57){return _0x5d319b(_0x4ddd57);}};global[_0x4e7eda(0xe6)]=_0x438007,_0x502c97[_0x4e7eda(0xb1)](__setDefaultTimeout,_0x438007);};const a10_0xca7334={};a10_0xca7334[a10_0x846615(0xdc)]=a10_0x846615(0xe9),Before(a10_0xca7334,function(){const _0x3ac26b=a10_0x846615,_0x113078={};_0x113078[_0x3ac26b(0xc1)]=_0x3ac26b(0xbc);const _0x3e2ec3=_0x113078;logger[_0x3ac26b(0xd3)](_0x3e2ec3[_0x3ac26b(0xc1)]),global[_0x3ac26b(0xd9)]=[];});const a10_0x51da1d={};a10_0x51da1d[a10_0x846615(0xdc)]='bstack',a10_0x51da1d[a10_0x846615(0xc9)]=0x2710,After(a10_0x51da1d,function(_0x506bb7,_0x4e1d1e){const _0x490eb1=a10_0x846615,_0x45f873={'iDgNo':_0x490eb1(0xe3),'NFjYV':function(_0x18164f,_0x3c1621){return _0x18164f===_0x3c1621;},'uGDPF':_0x490eb1(0xb8),'PrWEe':function(_0x34558e,_0x15e85f,_0x43f324,_0x1748d2){return _0x34558e(_0x15e85f,_0x43f324,_0x1748d2);},'spdzP':'\x20|\x20','KYZFr':function(_0x85bdbc,_0x5e2520,_0x523027){return _0x85bdbc(_0x5e2520,_0x523027);},'iPqxQ':_0x490eb1(0xeb),'MPuAm':function(_0x287f14){return _0x287f14();},'daNwg':function(_0x9a52f1,_0x3399c8){return _0x9a52f1(_0x3399c8);},'oxHip':function(_0x117174){return _0x117174();},'QZwUd':_0x490eb1(0xe5)};logger[_0x490eb1(0xd3)](_0x45f873[_0x490eb1(0xc7)]),new Promise(async(_0x18ecd1,_0x14b0c0)=>{const _0x57df82=_0x490eb1;let _0x1be39c=![];try{await global[_0x57df82(0xba)][_0x57df82(0xb7)],_0x1be39c=!![];if(!global['__skipSessionName']){const _0x468717={};_0x468717[_0x57df82(0xdc)]=_0x506bb7[_0x57df82(0xde)]['name'];const _0x719cbb={};_0x719cbb[_0x57df82(0xe7)]=_0x45f873['iDgNo'],_0x719cbb[_0x57df82(0xcf)]=_0x468717;const _0xdf3c7e=_0x719cbb;await global[_0x57df82(0xba)][_0x57df82(0xb3)](_0x57df82(0xc2)+JSON[_0x57df82(0xcb)](_0xdf3c7e));}_0x45f873[_0x57df82(0xe0)](_0x506bb7[_0x57df82(0xc3)][_0x57df82(0xbe)][_0x57df82(0xc4)](),_0x45f873[_0x57df82(0xd1)])?await _0x45f873[_0x57df82(0xd8)](markSessionStatus,global['__driver'],_0x45f873['uGDPF'],global['__error_messages__']['join'](_0x45f873[_0x57df82(0xbf)])):await _0x45f873[_0x57df82(0xea)](markSessionStatus,global['__driver'],_0x45f873[_0x57df82(0xae)]);}catch(_0x28b794){logger[_0x57df82(0xd3)](_0x57df82(0xcd)+_0x28b794);}if(_0x1be39c)try{await global['__driver']['initQuit'](),_0x45f873[_0x57df82(0xce)](_0x18ecd1);}catch(_0x2f7754){logger[_0x57df82(0xd3)](_0x57df82(0xb0)+_0x2f7754),_0x45f873[_0x57df82(0xd5)](_0x14b0c0,_0x2f7754);}else _0x45f873[_0x57df82(0xda)](_0x14b0c0);})[_0x490eb1(0xd4)](()=>_0x4e1d1e());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x252138=a11_0x29eb;(function(_0x1d3ec9,_0x265c02){const _0x508903=a11_0x29eb,_0x11c593=_0x1d3ec9();while(!![]){try{const _0x593aa4=-parseInt(_0x508903(0x170))/0x1*(parseInt(_0x508903(0x173))/0x2)+-parseInt(_0x508903(0x16c))/0x3+parseInt(_0x508903(0x17b))/0x4*(-parseInt(_0x508903(0x176))/0x5)+parseInt(_0x508903(0x174))/0x6+parseInt(_0x508903(0x16b))/0x7*(-parseInt(_0x508903(0x16e))/0x8)+parseInt(_0x508903(0x17c))/0x9*(-parseInt(_0x508903(0x171))/0xa)+parseInt(_0x508903(0x175))/0xb;if(_0x593aa4===_0x265c02)break;else _0x11c593['push'](_0x11c593['shift']());}catch(_0x5b7a96){_0x11c593['push'](_0x11c593['shift']());}}}(a11_0xf23f,0xe8760));const {requireModule}=require(a11_0x252138(0x16f)),constants=require('../utils/constants');let cucumberModule=null;function a11_0x29eb(_0x31ec75,_0x54ec22){const _0xf23f8f=a11_0xf23f();return a11_0x29eb=function(_0x29eb74,_0x34caff){_0x29eb74=_0x29eb74-0x16a;let _0x3c7790=_0xf23f8f[_0x29eb74];return _0x3c7790;},a11_0x29eb(_0x31ec75,_0x54ec22);}try{cucumberModule=requireModule(a11_0x252138(0x179),a11_0x252138(0x177));}catch(a11_0x12d383){cucumberModule=requireModule(a11_0x252138(0x17a),a11_0x252138(0x16d));}const userValue=global[a11_0x252138(0x178)]||0x0;function a11_0xf23f(){const _0x163649=['1190LHoROX','@cucumber/cucumber','__timeout','@cucumber/cucumber/lib/index.js','cucumber/lib/index.js','21796IsjLFM','180VMPYMP','BSTACK_DELTA','1203461yIPWGV','2838579KSdcJo','cucumber','8HQnfAO','../../helpers/helper','73glqUrP','678690gBvIiI','setDefaultTimeout','944KyjdMh','9289566splCrP','35317843DqCHtx'];a11_0xf23f=function(){return _0x163649;};return a11_0xf23f();}(userValue===0x0||userValue<constants[a11_0x252138(0x16a)])&&cucumberModule[a11_0x252138(0x172)](constants['BSTACK_DELTA']);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a12_0x4e26(){const _0x13ab3e=['HoRtR','czEUQ','../../helpers/logger','ZSGHw','describe','replace','JYoUA','20wkYHtd','BBBVq','toString','61lqqfrF','info','67131pvUDsY','options','invalid','connect','split','../../helpers/BrowserStackSetup','Integration\x20hosts\x20missing.','integrations','PkjTR','port','20810RpIVXQ','join','command','footer','help','winstonLogger','usage','Hosts\x20not\x20valid','browserstackLocal','trim','missing','every','https:','135670lVGviB','protocol','ZZnZB','setupBrowserstackLocal','30fAWzzt','./constants','config','HYLiX','443','sczvZ','integrations-repeater','only','121OlKLBS','CMVQX','Connection\x20established\x20successfully.','QdSXY','epilogue','demandCommand','accessKey','bstackAccessKey','hostname','IKghw','288270PxkREn','hosts','error','type','wdgOd','bstackAccesskey','setProxySettings','YfXPu','858840Zrxmbi','string','8vLJtDa','browserStackLocalOptions','url','HCkpj','1144969iYUQhy','25030596JHsqTz'];a12_0x4e26=function(){return _0x13ab3e;};return a12_0x4e26();}const a12_0x191a1f=a12_0x45c1;(function(_0x5f2d33,_0x5c4da8){const _0xfb47ae=a12_0x45c1,_0xafa64c=_0x5f2d33();while(!![]){try{const _0xc5289b=-parseInt(_0xfb47ae(0x1e8))/0x1*(parseInt(_0xfb47ae(0x1f4))/0x2)+parseInt(_0xfb47ae(0x1d6))/0x3+-parseInt(_0xfb47ae(0x1e5))/0x4*(parseInt(_0xfb47ae(0x201))/0x5)+parseInt(_0xfb47ae(0x205))/0x6*(-parseInt(_0xfb47ae(0x1dc))/0x7)+-parseInt(_0xfb47ae(0x1d8))/0x8*(-parseInt(_0xfb47ae(0x1ea))/0x9)+parseInt(_0xfb47ae(0x1ce))/0xa*(-parseInt(_0xfb47ae(0x1c4))/0xb)+parseInt(_0xfb47ae(0x1dd))/0xc;if(_0xc5289b===_0x5c4da8)break;else _0xafa64c['push'](_0xafa64c['shift']());}catch(_0x456d42){_0xafa64c['push'](_0xafa64c['shift']());}}}(a12_0x4e26,0x73ccb));function a12_0x45c1(_0x4e0a42,_0x566390){const _0x4e2665=a12_0x4e26();return a12_0x45c1=function(_0x45c1e0,_0x366616){_0x45c1e0=_0x45c1e0-0x1c0;let _0x353ead=_0x4e2665[_0x45c1e0];return _0x353ead;},a12_0x45c1(_0x4e0a42,_0x566390);}const {default:BrowserStackSetup}=require(a12_0x191a1f(0x1ef)),logger=require(a12_0x191a1f(0x1e0))[a12_0x191a1f(0x1f9)],{URL}=require(a12_0x191a1f(0x1da)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x191a1f(0x206)),validHosts=function(_0x2289de){const _0x2f22a2=a12_0x191a1f;return _0x2289de[_0x2f22a2(0x1ee)](',')[_0x2f22a2(0x1ff)](_0x24471b=>{const _0x47aa46=_0x2f22a2;try{new URL(_0x24471b[_0x47aa46(0x1fd)]());}catch(_0x5c3d66){return![];}return!![];});},parseOnPremHosts=function(_0xf04a87){const _0x3c1f7b=a12_0x191a1f,_0x48b858={};_0x48b858[_0x3c1f7b(0x1c7)]=function(_0x2dc4d3,_0xa314b4){return _0x2dc4d3===_0xa314b4;},_0x48b858[_0x3c1f7b(0x208)]=_0x3c1f7b(0x200),_0x48b858[_0x3c1f7b(0x203)]=_0x3c1f7b(0x1c0),_0x48b858[_0x3c1f7b(0x1e1)]='https';const _0x30c3d7=_0x48b858;return _0xf04a87[_0x3c1f7b(0x1ee)](',')['map'](_0x2a99fc=>{const _0x2f88a4=_0x3c1f7b,_0x16480b=new URL(_0x2a99fc[_0x2f88a4(0x1fd)]()),_0x2e9cfc=_0x16480b[_0x2f88a4(0x1cc)],_0x234e80=_0x16480b[_0x2f88a4(0x1f3)]||(_0x30c3d7['QdSXY'](_0x16480b[_0x2f88a4(0x202)],_0x30c3d7[_0x2f88a4(0x208)])?_0x30c3d7[_0x2f88a4(0x203)]:'80'),_0x12d2cc=_0x16480b[_0x2f88a4(0x202)][_0x2f88a4(0x1e3)](':',''),_0x392087=_0x30c3d7[_0x2f88a4(0x1c7)](_0x12d2cc,_0x30c3d7[_0x2f88a4(0x1e1)])?0x1:0x0;return _0x2e9cfc+','+_0x234e80+','+_0x392087;});},connectCommandBuilder=function(_0x423046){const _0x215669=a12_0x191a1f,_0x4bd83b={};_0x4bd83b[_0x215669(0x1db)]=_0x215669(0x1d7);const _0x7e4957=_0x4bd83b,_0x5268f3={};_0x5268f3[_0x215669(0x1e2)]=HELP_MESSAGES[_0x215669(0x1eb)][_0x215669(0x1cb)],_0x5268f3[_0x215669(0x1d1)]=_0x7e4957['HCkpj'];const _0x4e74f1={};_0x4e74f1['describe']=HELP_MESSAGES[_0x215669(0x1eb)][_0x215669(0x1cf)],_0x4e74f1['type']=_0x7e4957[_0x215669(0x1db)],_0x4e74f1['demandOption']=!![];const _0x13003d={};return _0x13003d['bstack-accesskey']=_0x5268f3,_0x13003d[_0x215669(0x1cf)]=_0x4e74f1,_0x423046[_0x215669(0x1eb)](_0x13003d);},connectCommandHandler=async function(_0x32eab0){const _0x3d4144=a12_0x191a1f,_0x3d0ecf={'sczvZ':_0x3d4144(0x1f1),'JYoUA':function(_0x4f8320,_0x4387a3){return _0x4f8320===_0x4387a3;},'IKghw':'undefined','wusKe':'BrowserStack\x20access\x20key\x20missing.','HoRtR':_0x3d4144(0x1f0),'BBBVq':function(_0x56254a,_0x5a1e84){return _0x56254a(_0x5a1e84);},'CMVQX':_0x3d4144(0x1fb),'FUfXE':function(_0x249e58,_0x2b3451){return _0x249e58(_0x2b3451);},'wdgOd':_0x3d4144(0x1c2),'czEUQ':_0x3d4144(0x1c6),'KVjgc':'Failed\x20to\x20establish\x20connection.'};try{const _0x289ba7=new BrowserStackSetup(_0x32eab0,_0x3d0ecf[_0x3d4144(0x1c1)]);_0x32eab0[_0x3d4144(0x1d3)]&&(_0x289ba7[_0x3d4144(0x207)][_0x3d4144(0x1ca)]=_0x32eab0[_0x3d4144(0x1d3)]);if(_0x3d0ecf[_0x3d4144(0x1e4)](typeof _0x289ba7[_0x3d4144(0x207)]['accessKey'],_0x3d0ecf['IKghw'])){logger[_0x3d4144(0x1d0)](_0x3d0ecf['wusKe']);throw new Error(ERROR_MESSAGES[_0x3d4144(0x1cb)][_0x3d4144(0x1fe)]);}const _0x1bd9e4=_0x32eab0[_0x3d4144(0x1cf)];if(_0x3d0ecf[_0x3d4144(0x1e4)](typeof _0x1bd9e4,_0x3d0ecf[_0x3d4144(0x1cd)])){logger[_0x3d4144(0x1d0)](_0x3d0ecf[_0x3d4144(0x1de)]);throw new Error(ERROR_MESSAGES['hosts'][_0x3d4144(0x1fe)]);}if(!_0x3d0ecf[_0x3d4144(0x1e6)](validHosts,_0x1bd9e4)){logger[_0x3d4144(0x1d0)](_0x3d0ecf[_0x3d4144(0x1c5)]);throw new Error(ERROR_MESSAGES[_0x3d4144(0x1cf)][_0x3d4144(0x1ec)]);}const _0x38d15c=_0x3d0ecf['FUfXE'](parseOnPremHosts,_0x1bd9e4);_0x289ba7[_0x3d4144(0x207)][_0x3d4144(0x1fc)]=!![],_0x289ba7[_0x3d4144(0x207)][_0x3d4144(0x1d9)]['localIdentifier']=_0x3d0ecf[_0x3d4144(0x1d2)],_0x289ba7[_0x3d4144(0x207)]['browserStackLocalOptions'][_0x3d4144(0x1c3)]=_0x38d15c[_0x3d4144(0x1f5)](','),helper[_0x3d4144(0x1d4)](_0x289ba7[_0x3d4144(0x207)]),await _0x289ba7[_0x3d4144(0x204)](),logger[_0x3d4144(0x1e9)](_0x3d0ecf[_0x3d4144(0x1df)]);}catch(_0x37d3c9){logger[_0x3d4144(0x1d0)](_0x3d0ecf['KVjgc']);throw new Error(_0x37d3c9[_0x3d4144(0x1e7)]());}};function run(_0x3aa2ad){const _0x2e3a53=a12_0x191a1f,_0x2c3ab1={};_0x2c3ab1['PkjTR']=_0x2e3a53(0x1ed),_0x2c3ab1[_0x2e3a53(0x1d5)]=_0x2e3a53(0x1f8);const _0x52af2d=_0x2c3ab1;_0x3aa2ad[_0x2e3a53(0x1fa)](HELP_MESSAGES[_0x2e3a53(0x1f6)]['root'])[_0x2e3a53(0x1f6)](_0x52af2d[_0x2e3a53(0x1f2)],HELP_MESSAGES[_0x2e3a53(0x1f6)][_0x2e3a53(0x1ed)],connectCommandBuilder,connectCommandHandler)[_0x2e3a53(0x1c9)]()[_0x2e3a53(0x1f8)](_0x52af2d['YfXPu'])[_0x2e3a53(0x1c8)](HELP_MESSAGES['command'][_0x2e3a53(0x1f7)]);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x48290f=a13_0xd355;(function(_0x15e0e4,_0x26587b){var _0x354b91=a13_0xd355,_0x3bd579=_0x15e0e4();while(!![]){try{var _0x411c82=parseInt(_0x354b91(0x69))/0x1*(parseInt(_0x354b91(0x70))/0x2)+-parseInt(_0x354b91(0x7d))/0x3*(-parseInt(_0x354b91(0x7e))/0x4)+-parseInt(_0x354b91(0x78))/0x5*(-parseInt(_0x354b91(0x7c))/0x6)+-parseInt(_0x354b91(0x6c))/0x7+parseInt(_0x354b91(0x7b))/0x8*(-parseInt(_0x354b91(0x76))/0x9)+-parseInt(_0x354b91(0x73))/0xa*(-parseInt(_0x354b91(0x74))/0xb)+-parseInt(_0x354b91(0x72))/0xc;if(_0x411c82===_0x26587b)break;else _0x3bd579['push'](_0x3bd579['shift']());}catch(_0xbd50f4){_0x3bd579['push'](_0x3bd579['shift']());}}}(a13_0x5035,0x3015c));var a13_0x1273f8={};function a13_0xd355(_0x40ea9f,_0x41ca69){var _0x50356b=a13_0x5035();return a13_0xd355=function(_0xd35578,_0x9c4db8){_0xd35578=_0xd35578-0x66;var _0x1596fa=_0x50356b[_0xd35578];return _0x1596fa;},a13_0xd355(_0x40ea9f,_0x41ca69);}a13_0x1273f8['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x1273f8['hosts']='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.';var a13_0x29dfd5={};a13_0x29dfd5[a13_0x48290f(0x6f)]=a13_0x48290f(0x68),a13_0x29dfd5['connect']=a13_0x48290f(0x66),a13_0x29dfd5[a13_0x48290f(0x75)]=a13_0x48290f(0x6e);var a13_0x6954f9={};a13_0x6954f9[a13_0x48290f(0x7a)]=a13_0x1273f8,a13_0x6954f9[a13_0x48290f(0x67)]=a13_0x29dfd5,exports['HELP_MESSAGES']=a13_0x6954f9;var a13_0x36ea58={};function a13_0x5035(){var _0x1de1e5=['command','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1kITAYs','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','invalid','1671390PRUHVw','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','root','16198nXBIiw','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','4968TOnDgo','730jweKWb','3124ZTDXCU','footer','1819971RrbqYT','missing','674235uehOhZ','ERROR_MESSAGES','options','8UnCMhc','12iKNirh','30894SqNvFY','132KBOKeB','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.'];a13_0x5035=function(){return _0x1de1e5;};return a13_0x5035();}a13_0x36ea58[a13_0x48290f(0x77)]=a13_0x48290f(0x6a);var a13_0x21fc48={};a13_0x21fc48['missing']=a13_0x48290f(0x71),a13_0x21fc48[a13_0x48290f(0x6b)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x3ea7e6={};a13_0x3ea7e6['bstackAccessKey']=a13_0x36ea58,a13_0x3ea7e6[a13_0x48290f(0x6d)]=a13_0x21fc48,exports[a13_0x48290f(0x79)]=a13_0x3ea7e6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x567948=a14_0x2fe0;(function(_0x58f977,_0x1a0b68){const _0x1173bc=a14_0x2fe0,_0x59102a=_0x58f977();while(!![]){try{const _0x49b8c2=parseInt(_0x1173bc(0xe8))/0x1+parseInt(_0x1173bc(0xec))/0x2+-parseInt(_0x1173bc(0xf5))/0x3+parseInt(_0x1173bc(0xe2))/0x4*(-parseInt(_0x1173bc(0x146))/0x5)+-parseInt(_0x1173bc(0xef))/0x6+-parseInt(_0x1173bc(0xe3))/0x7+-parseInt(_0x1173bc(0x121))/0x8*(-parseInt(_0x1173bc(0x151))/0x9);if(_0x49b8c2===_0x1a0b68)break;else _0x59102a['push'](_0x59102a['shift']());}catch(_0xdeb64b){_0x59102a['push'](_0x59102a['shift']());}}}(a14_0xee97,0x7a863));function a14_0x2fe0(_0x543ed1,_0x3b108d){const _0xee9797=a14_0xee97();return a14_0x2fe0=function(_0x2fe0c7,_0x4e75c5){_0x2fe0c7=_0x2fe0c7-0xda;let _0x2bb8ee=_0xee9797[_0x2fe0c7];return _0x2bb8ee;},a14_0x2fe0(_0x543ed1,_0x3b108d);}const path=require(a14_0x567948(0x145)),fs=require('fs'),{v4:uuidv4}=require(a14_0x567948(0x130)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x567948(0xeb)),testRunMap=require(a14_0x567948(0x11e)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x567948(0xf4),a14_0x3e1cb0={};function a14_0xee97(){const _0x1dafc5=['get','KcOzx','reverse','failed','set','uyrej','OEJAU','relative','setCurrentTestData','QVmnM','eDHxx','4sPxQgW','777567ANRrba','XjqlN','cppsm','mARtk','Zquxh','760742ytLylX','emSEp','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','../../../helpers/test-observability/utils','143928JSwgHD','filename','parentSuiteId','2466294KczmRU','length','PxEJN','endsWith','has','Jasmine','1215597nQlXgu','_fileNameByFullName','dirname','keys','RUTgi','EYwIb','toISOString','_scopes','matcherName','XZzrl','GbwKK','cwd','status','mrnKg','kdyBa','AssertionError','_suitesById','_paths','_sendSpecEvent','IcuCq','code','\x20:\x20','.git','hkmYD','qDdKc','AdfTq','UKCng','failedExpectations','rLcww','failure_backtrace','VnAHB','RWqZF','testObservability','description','TestRunSkipped','UOCKi','_collapseFailedExpectations','remove','started_at','startsWith','pending','../testRunMap','shouldProcessEventForTesthub','excluded','2876984OaasKY','isArray','vsznu','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','fileNameByFullName','zijjm','javascript','mDpAO','File\x20path\x20could\x20not\x20be\x20found','prefixTestPath','YrtHU','TestRunStarted','join','backtrace','TestRunFinished','uuid','config','LewbE','fullName','TNnPs','err','trim','_findGitConfig','MpSpC','ZvkyD','uploadEventData','duration','QwQxN','jasmineStarted','jasmineDone','failure','number','stack','actual','JASMINE','ZpRhz','path','2411935ohsEge','push','_resolveFilePath','VcsBT','expected','xIHjH','NyLfL','SxvvI','appendTesthubParams','suiteStarted','statSync','27AyhARz','message','HMExN','passed'];a14_0xee97=function(){return _0x1dafc5;};return a14_0xee97();}a14_0x3e1cb0[a14_0x567948(0x154)]=a14_0x567948(0x154),a14_0x3e1cb0[a14_0x567948(0xda)]=a14_0x567948(0xda),a14_0x3e1cb0[a14_0x567948(0x11d)]='pending',a14_0x3e1cb0[a14_0x567948(0x120)]='skipped';const STATUS_MAP=a14_0x3e1cb0;class BrowserStackJasmineReporter{constructor(_0x52e632={}){const _0x5d1427=a14_0x567948,_0x55400f={'KcOzx':function(_0x5ea969){return _0x5ea969();}};this[_0x5d1427(0x115)]=_0x55400f[_0x5d1427(0x156)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x5d1427(0x100)]()},undefined),this[_0x5d1427(0xf6)]=_0x52e632&&_0x52e632[_0x5d1427(0x125)]||{},this[_0x5d1427(0x105)]=new Map();}[a14_0x567948(0x13d)](){}[a14_0x567948(0x14f)](_0x661a01){const _0x330998=a14_0x567948,_0x2ddec3={'mUpbM':function(_0x1c42eb,_0x143814){return _0x1c42eb!==_0x143814;},'AZECf':function(_0x2713c9,_0x5e85b2){return _0x2713c9!==_0x5e85b2;},'DxRlh':function(_0xecddd4,_0x2a1131){return _0xecddd4(_0x2a1131);}};try{_0x661a01&&_0x2ddec3['mUpbM'](_0x661a01['id'],undefined)&&_0x2ddec3['AZECf'](_0x661a01['id'],null)&&this['_suitesById'][_0x330998(0xdb)](_0x661a01['id'],{'description':_0x661a01[_0x330998(0x116)],'parentSuiteId':_0x661a01[_0x330998(0xee)]});}catch(_0x1bcad5){_0x2ddec3['DxRlh'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x661a01&&_0x661a01['fullName'])+_0x330998(0x10a)+_0x1bcad5);}}['specStarted'](_0x53de55){const _0x363e7a=a14_0x567948,_0x1e6895={'rLcww':function(_0x1bbc5e,_0x5f31f4){return _0x1bbc5e!==_0x5f31f4;},'mrnKg':function(_0x62b043){return _0x62b043();},'CuUUu':'TestRunStarted','GbwKK':function(_0x555dc6,_0x59ece1){return _0x555dc6(_0x59ece1);}};try{if(_0x1e6895[_0x363e7a(0x111)](testhubUtils[_0x363e7a(0x11f)](),!![]))return;const _0x16fd9b=_0x1e6895[_0x363e7a(0x102)](uuidv4);testRunMap[_0x363e7a(0xdb)](_0x53de55['id'],_0x16fd9b),this[_0x363e7a(0x107)](_0x53de55,_0x16fd9b,_0x1e6895['CuUUu']);}catch(_0x149421){_0x1e6895[_0x363e7a(0xff)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x53de55&&_0x53de55[_0x363e7a(0x133)])+_0x363e7a(0x10a)+_0x149421);}}['specDone'](_0xa277a1){const _0x362167=a14_0x567948,_0x5b24cb={'TNnPs':function(_0x1902f2,_0x37776c){return _0x1902f2!==_0x37776c;},'KpePd':function(_0x5271ae){return _0x5271ae();},'VcsBT':function(_0x1665bc,_0x342a8c){return _0x1665bc===_0x342a8c;},'ydDbF':_0x362167(0x120),'XjqlN':'TestRunSkipped','zijjm':_0x362167(0x12f),'xqtyQ':function(_0x278c37,_0x546456){return _0x278c37(_0x546456);}};try{if(_0x5b24cb[_0x362167(0x134)](testhubUtils[_0x362167(0x11f)](),!![]))return;const _0x232415=testRunMap[_0x362167(0x155)](_0xa277a1['id'])||_0x5b24cb['KpePd'](uuidv4),_0x5a6a75=_0x5b24cb[_0x362167(0x149)](_0xa277a1[_0x362167(0x101)],_0x5b24cb['ydDbF'])?_0x5b24cb[_0x362167(0xe4)]:_0x5b24cb[_0x362167(0x126)];this[_0x362167(0x107)](_0xa277a1,_0x232415,_0x5a6a75);}catch(_0x585d6f){_0x5b24cb['xqtyQ'](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0xa277a1&&_0xa277a1[_0x362167(0x133)])+_0x362167(0x10a)+_0x585d6f);}finally{_0xa277a1&&(testRunMap[_0x362167(0x11a)](_0xa277a1['id']),_specStartTimes['delete'](_0xa277a1['id']));}}['suiteDone'](){}[a14_0x567948(0x13e)](){}[a14_0x567948(0x107)](_0x144142,_0x329426,_0x1f70e5){const _0x5af883=a14_0x567948,_0x57cb73={'NyLfL':function(_0xd23953,_0x3865b7){return _0xd23953===_0x3865b7;},'PxEJN':_0x5af883(0x12f),'uyrej':_0x5af883(0x117),'EYwIb':_0x5af883(0x129),'ddYfx':function(_0x3d50e4,_0x557a1a,_0x31c6ff){return _0x3d50e4(_0x557a1a,_0x31c6ff);},'HMExN':_0x5af883(0x135),'YrtHU':_0x5af883(0x12c),'vWZXR':function(_0xadf1ca,_0x48c979){return _0xadf1ca!==_0x48c979;},'LewbE':function(_0x42e031,_0x51a85e){return _0x42e031===_0x51a85e;},'eDHxx':_0x5af883(0x127),'vsznu':function(_0x3e9320,_0x455b36){return _0x3e9320&&_0x455b36;},'lDdhD':'skipped','QwQxN':_0x5af883(0x154),'cppsm':_0x5af883(0x140),'ZvkyD':_0x5af883(0x104),'UOCKi':'UnhandledError','AdfTq':function(_0x473cd1,_0x29e843){return _0x473cd1===_0x29e843;},'RaQur':_0x5af883(0x11b),'NCUSC':'finished_at','kCBms':_0x5af883(0x13f),'emSEp':_0x5af883(0x112),'MpSpC':_0x5af883(0x12e),'xdpCt':'failure_reason_expanded','mDpAO':'expanded','VnAHB':function(_0x21ec76,_0x36a10b){return _0x21ec76(_0x36a10b);}};try{const _0x30988c=_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xf1)])||_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)]),_0x4580ae=this[_0x5af883(0x148)](_0x144142),_0x593880=_0x4580ae?this[_0x5af883(0x106)][_0x5af883(0x12a)](_0x4580ae):_0x57cb73[_0x5af883(0xfa)],_0x12510d=_0x4580ae?this[_0x5af883(0x137)](path[_0x5af883(0xf7)](_0x4580ae)):null,_0x468049=this[_0x5af883(0x119)](_0x144142[_0x5af883(0x110)]),_0x36125e=_0x468049?_0x468049[_0x5af883(0x152)]:undefined,_0x9748bd=_0x468049?_0x57cb73['ddYfx'](failureData,_0x468049,_0x57cb73[_0x5af883(0x153)]):[],_0x113c52=new Date()[_0x5af883(0xfb)](),_0x383a7d=this['_scopes'](_0x144142);_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0x12b)])&&_0x144142&&_0x57cb73['vWZXR'](_0x144142['id'],undefined)&&_0x57cb73['vWZXR'](_0x144142['id'],null)&&_specStartTimes['set'](_0x144142['id'],_0x113c52);const _0x226330=_0x57cb73[_0x5af883(0x132)](_0x1f70e5,_0x57cb73[_0x5af883(0x12b)])?_0x113c52:_0x144142&&_specStartTimes['get'](_0x144142['id'])||null,_0x4a743f={};_0x4a743f['lang']=_0x57cb73[_0x5af883(0xe1)],_0x4a743f[_0x5af883(0x109)]=null;const _0x4b6584={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x329426,'name':_0x144142['description'],'body':_0x4a743f,'scope':_0x383a7d[_0x5af883(0x12d)]('\x20'),'scopes':_0x383a7d,'identifier':_0x144142[_0x5af883(0x133)],'file_name':_0x593880,'vc_filepath':_0x57cb73[_0x5af883(0x123)](_0x12510d,_0x4580ae)?path[_0x5af883(0xde)](_0x12510d,_0x4580ae):null,'location':_0x593880,'result':_0x57cb73[_0x5af883(0x132)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)])?_0x57cb73['lDdhD']:STATUS_MAP[_0x144142[_0x5af883(0x101)]]||_0x57cb73[_0x5af883(0x13c)],'failure_reason':_0x36125e,'duration_in_ms':_0x57cb73[_0x5af883(0x14c)](typeof _0x144142[_0x5af883(0x13b)],_0x57cb73[_0x5af883(0xe5)])?_0x144142[_0x5af883(0x13b)]:null,'started_at':_0x226330,'finished_at':_0x30988c?_0x113c52:null,'failure':_0x9748bd,'failure_type':!_0x36125e?null:_0x36125e['match'](/AssertionError/)?_0x57cb73[_0x5af883(0x139)]:_0x57cb73[_0x5af883(0x118)],'retry_of':null};_0x57cb73[_0x5af883(0x10e)](_0x1f70e5,_0x57cb73['uyrej'])&&!_0x4b6584[_0x57cb73['RaQur']]&&(_0x4b6584[_0x57cb73['RaQur']]=_0x4b6584[_0x57cb73['NCUSC']]);const _0x2868ad=_0x4b6584[_0x57cb73['kCBms']][0x0];_0x2868ad&&(_0x4b6584[_0x57cb73[_0x5af883(0xe9)]]=_0x2868ad[_0x57cb73[_0x5af883(0x138)]],_0x4b6584[_0x57cb73['xdpCt']]=_0x2868ad[_0x57cb73[_0x5af883(0x128)]]);testhubUtils[_0x5af883(0x14e)](_0x4b6584,_0x1f70e5,_0x144142,FRAMEWORKS[_0x5af883(0x143)]);const _0x5862c3={'event_type':_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)])?_0x57cb73[_0x5af883(0xf1)]:_0x1f70e5,'test_run':_0x4b6584};return testhubUtils[_0x5af883(0xdf)](FRAMEWORKS['JASMINE'],_0x5862c3),SessionHandler[_0x5af883(0x13a)](_0x5862c3);}catch(_0x56479c){_0x57cb73[_0x5af883(0x113)](debug,_0x5af883(0xea)+_0x1f70e5+_0x5af883(0x10a)+_0x56479c);}}[a14_0x567948(0xfc)](_0x22e9f0){const _0x1a1ad7=a14_0x567948,_0x4e072f={'mARtk':function(_0xd0dd3b,_0x38a2a8){return _0xd0dd3b!==_0x38a2a8;},'SxvvI':function(_0x2dead4,_0xafd8f5){return _0x2dead4>_0xafd8f5;},'QVmnM':function(_0x3aebec,_0x480376){return _0x3aebec(_0x480376);},'XZzrl':function(_0x4c93e8,_0x26b34c){return _0x4c93e8-_0x26b34c;}};try{const _0x2213b3=[];let _0x2b27c9=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0xee)];const _0x3652f1=new Set();while(_0x4e072f[_0x1a1ad7(0xe6)](_0x2b27c9,undefined)&&_0x4e072f[_0x1a1ad7(0xe6)](_0x2b27c9,null)&&this[_0x1a1ad7(0x105)][_0x1a1ad7(0xf3)](_0x2b27c9)&&!_0x3652f1[_0x1a1ad7(0xf3)](_0x2b27c9)){_0x3652f1['add'](_0x2b27c9);const _0x12b3a5=this[_0x1a1ad7(0x105)]['get'](_0x2b27c9);_0x12b3a5&&_0x12b3a5[_0x1a1ad7(0x116)]&&_0x2213b3[_0x1a1ad7(0x147)](_0x12b3a5['description']),_0x2b27c9=_0x12b3a5?_0x12b3a5[_0x1a1ad7(0xee)]:null;}if(_0x4e072f[_0x1a1ad7(0x14d)](_0x2213b3['length'],0x0))return _0x2213b3[_0x1a1ad7(0x157)]();}catch(_0x9f7a30){_0x4e072f[_0x1a1ad7(0xe0)](debug,_0x1a1ad7(0x124)+(_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x133)])+_0x1a1ad7(0x10a)+_0x9f7a30);}const _0x330dfd=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x133)]||'',_0x38bcf1=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x116)]||'';let _0x3f70f5=_0x330dfd;return _0x38bcf1&&_0x330dfd[_0x1a1ad7(0xf2)](_0x38bcf1)&&(_0x3f70f5=_0x330dfd['slice'](0x0,_0x4e072f[_0x1a1ad7(0xfe)](_0x330dfd[_0x1a1ad7(0xf0)],_0x38bcf1[_0x1a1ad7(0xf0)]))[_0x1a1ad7(0x136)]()),_0x3f70f5?_0x3f70f5['split'](/\s+/):[];}[a14_0x567948(0x148)](_0x172ffd){const _0x5cead7=a14_0x567948,_0x3d2aa9={};_0x3d2aa9['OEJAU']=function(_0x574972,_0x15092e){return _0x574972===_0x15092e;},_0x3d2aa9[_0x5cead7(0x103)]=function(_0x465384,_0x802b89){return _0x465384+_0x802b89;},_0x3d2aa9['RUTgi']=function(_0x26a757,_0x132e5a){return _0x26a757>_0x132e5a;};const _0x178c0b=_0x3d2aa9;if(_0x172ffd&&_0x172ffd[_0x5cead7(0xed)])return _0x172ffd[_0x5cead7(0xed)];if(_0x172ffd&&_0x172ffd[_0x5cead7(0x133)]){if(this['_fileNameByFullName'][_0x172ffd['fullName']])return this[_0x5cead7(0xf6)][_0x172ffd[_0x5cead7(0x133)]];let _0x1cbfc4=null,_0x3049f3=-0x1;for(const _0x5a3600 of Object[_0x5cead7(0xf8)](this[_0x5cead7(0xf6)])){(_0x178c0b[_0x5cead7(0xdd)](_0x172ffd[_0x5cead7(0x133)],_0x5a3600)||_0x172ffd['fullName'][_0x5cead7(0x11c)](_0x178c0b['kdyBa'](_0x5a3600,'\x20')))&&_0x178c0b[_0x5cead7(0xf9)](_0x5a3600[_0x5cead7(0xf0)],_0x3049f3)&&(_0x1cbfc4=this[_0x5cead7(0xf6)][_0x5a3600],_0x3049f3=_0x5a3600[_0x5cead7(0xf0)]);}if(_0x1cbfc4)return _0x1cbfc4;}return null;}[a14_0x567948(0x119)](_0x373010){const _0x5ef695=a14_0x567948,_0x47875c={};_0x47875c[_0x5ef695(0x10c)]=function(_0x482ced,_0x31fbc){return _0x482ced===_0x31fbc;},_0x47875c[_0x5ef695(0x14b)]='Spec\x20failed';const _0x1daf65=_0x47875c;if(!Array[_0x5ef695(0x122)](_0x373010)||_0x1daf65[_0x5ef695(0x10c)](_0x373010[_0x5ef695(0xf0)],0x0))return undefined;const _0x271b49=[],_0x2a7b83=[];for(const _0x23e218 of _0x373010){_0x23e218&&_0x23e218[_0x5ef695(0x152)]&&_0x271b49[_0x5ef695(0x147)](_0x23e218['message']),_0x23e218&&_0x23e218[_0x5ef695(0x141)]&&_0x2a7b83[_0x5ef695(0x147)](_0x23e218[_0x5ef695(0x141)]);}const _0x386529=_0x373010[0x0]||{},_0x5efde4=_0x271b49[_0x5ef695(0x12d)]('\x0a')||_0x386529[_0x5ef695(0x152)]||_0x1daf65[_0x5ef695(0x14b)],_0x586238=_0x2a7b83['join']('\x0a\x0a')||_0x386529[_0x5ef695(0x141)]||_0x5efde4,_0x217567={};return _0x217567[_0x5ef695(0x152)]=_0x5efde4,_0x217567[_0x5ef695(0x141)]=_0x586238,_0x217567[_0x5ef695(0xfd)]=_0x386529[_0x5ef695(0xfd)],_0x217567[_0x5ef695(0x14a)]=_0x386529[_0x5ef695(0x14a)],_0x217567[_0x5ef695(0x142)]=_0x386529[_0x5ef695(0x142)],_0x217567;}[a14_0x567948(0x137)](_0x5c569c){const _0x1146a2=a14_0x567948,_0x4bc1ef={};_0x4bc1ef[_0x1146a2(0x108)]=function(_0x1abd89,_0x36ecd2){return _0x1abd89===_0x36ecd2;},_0x4bc1ef[_0x1146a2(0x114)]=function(_0x28b6df,_0x2e89ab){return _0x28b6df===_0x2e89ab;},_0x4bc1ef['qDdKc']=function(_0xd0cb5f,_0x146f21){return _0xd0cb5f===_0x146f21;},_0x4bc1ef['UKCng']=function(_0x42a441,_0x50c672){return _0x42a441===_0x50c672;},_0x4bc1ef[_0x1146a2(0x144)]=_0x1146a2(0x10b),_0x4bc1ef[_0x1146a2(0xe7)]=_0x1146a2(0x131);const _0xfb7581=_0x4bc1ef,_0x5a7019=path['sep'];if(_0xfb7581[_0x1146a2(0x108)](_0x5c569c,null)||_0xfb7581['RWqZF'](_0x5c569c,'')||_0xfb7581[_0x1146a2(0x10d)](_0x5c569c,_0x5a7019)||_0xfb7581[_0x1146a2(0x10f)](_0x5c569c,path[_0x1146a2(0xf7)](_0x5c569c)))return null;try{return fs[_0x1146a2(0x150)](path['join'](_0x5c569c,_0xfb7581['ZpRhz'],_0xfb7581[_0x1146a2(0xe7)])),_0x5c569c;}catch(_0x43137a){return this['_findGitConfig'](path[_0x1146a2(0xf7)](_0x5c569c));}}}module['exports']=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x48208c=a14_0x2d32;(function(_0x43552b,_0x18afc7){const _0x1ab39b=a14_0x2d32,_0x130bf=_0x43552b();while(!![]){try{const _0x590946=parseInt(_0x1ab39b(0x16a))/0x1*(parseInt(_0x1ab39b(0x1c9))/0x2)+-parseInt(_0x1ab39b(0x166))/0x3*(parseInt(_0x1ab39b(0x15c))/0x4)+-parseInt(_0x1ab39b(0x145))/0x5+parseInt(_0x1ab39b(0x15b))/0x6+-parseInt(_0x1ab39b(0x184))/0x7+-parseInt(_0x1ab39b(0x17b))/0x8+parseInt(_0x1ab39b(0x172))/0x9;if(_0x590946===_0x18afc7)break;else _0x130bf['push'](_0x130bf['shift']());}catch(_0x3af6ff){_0x130bf['push'](_0x130bf['shift']());}}}(a14_0x3bc2,0xcca0d));const path=require(a14_0x48208c(0x189)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x48208c(0x1cd)),SessionHandler=require(a14_0x48208c(0x1b0)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x48208c(0x186)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x48208c(0x1c0),a14_0x7e2bcd={};a14_0x7e2bcd[a14_0x48208c(0x169)]=a14_0x48208c(0x169),a14_0x7e2bcd['failed']=a14_0x48208c(0x176),a14_0x7e2bcd[a14_0x48208c(0x17d)]='pending',a14_0x7e2bcd[a14_0x48208c(0x15f)]=a14_0x48208c(0x15d);const STATUS_MAP=a14_0x7e2bcd;function a14_0x2d32(_0x15e1d8,_0x3b5c24){const _0x3bc2b9=a14_0x3bc2();return a14_0x2d32=function(_0x2d32b0,_0x24d629){_0x2d32b0=_0x2d32b0-0x145;let _0x436a06=_0x3bc2b9[_0x2d32b0];return _0x436a06;},a14_0x2d32(_0x15e1d8,_0x3b5c24);}function a14_0x3bc2(){const _0xca8042=['hVpBE','relative','expanded','jasmineDone','8426369cFMuRh','JQkGw','../testRunMap','set','failure','path','_resolveFilePath','specStarted','statSync','Jxcgg','nBxtA','add','rZspk','\x20:\x20','KieHg','filename','err','status','code','split','BCcSZ','failure_reason_expanded','noStC','_findGitConfig','JASMINE','chHVW','kMyMq','BHEhu','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failedExpectations','description','pvCAo','prefixTestPath','KijkK','Spec\x20failed','JGoqt','Vfoll','_fileNameByFullName','length','fullName','delete','bMsYC','actual','syGbh','../../../helpers/test-observability/sessionHandler','LkOlL','UNqyw','dirname','UnhandledError','yNGwW','PaZab','sAMuV','_scopes','ccrVF','AssertionError','xICgm','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','fileNameByFullName','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_collapseFailedExpectations','Jasmine','File\x20path\x20could\x20not\x20be\x20found','stack','duration','TestRunFinished','message','FtmEX','OTiLu','backtrace','2dScCxJ','IoeNe','uploadEventData','get','../../../helpers/test-observability/constants','EiUgv','4759365XZzbPX','cwd','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','foDCr','YcvuZ','inOqu','failure_backtrace','matcherName','has','LoAmx','join','expected','NFdET','_suitesById','MTfMN','sep','fwTJa','trim','startsWith','parentSuiteId','shouldProcessEventForTesthub','ixdrd','6990144sgcGxX','2832260AhzbUn','skipped','bxkqr','excluded','pknmi','OZdEK','MGNgU','OnVEF','_sendSpecEvent','toISOString','3qLhEFf','TestRunStarted','started_at','passed','73197TwXGRD','slice','config','xvpCF','TestRunSkipped','qaihA','lang','ksGPw','31842306GfCZos','testObservability','jILEG','specDone','failed','reverse','lfGkz','push','htUwL','8595144RnezJu','number','pending','jasmineStarted','keys'];a14_0x3bc2=function(){return _0xca8042;};return a14_0x3bc2();}class BrowserStackJasmineReporter{constructor(_0x270a33={}){const _0x56e340=a14_0x48208c,_0x563a4e={'lfGkz':function(_0x4f6eba){return _0x4f6eba();}};this[_0x56e340(0x173)]=_0x563a4e[_0x56e340(0x178)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x56e340(0x146)]()},undefined),this['_fileNameByFullName']=_0x270a33&&_0x270a33[_0x56e340(0x1bd)]||{},this['_suitesById']=new Map();}[a14_0x48208c(0x17e)](){}['suiteStarted'](_0x21906e){const _0x47db89=a14_0x48208c,_0x50b96c={'ccrVF':function(_0x19d6fc,_0x34a3c7){return _0x19d6fc!==_0x34a3c7;},'noStC':function(_0x23a931,_0x1570e7){return _0x23a931!==_0x1570e7;},'ixdrd':function(_0x99adb3,_0x468b6f){return _0x99adb3(_0x468b6f);}};try{_0x21906e&&_0x50b96c[_0x47db89(0x1b9)](_0x21906e['id'],undefined)&&_0x50b96c[_0x47db89(0x19a)](_0x21906e['id'],null)&&this[_0x47db89(0x152)][_0x47db89(0x187)](_0x21906e['id'],{'description':_0x21906e['description'],'parentSuiteId':_0x21906e['parentSuiteId']});}catch(_0x2e391e){_0x50b96c[_0x47db89(0x15a)](debug,_0x47db89(0x1bc)+(_0x21906e&&_0x21906e[_0x47db89(0x1ab)])+_0x47db89(0x191)+_0x2e391e);}}[a14_0x48208c(0x18b)](_0x8fbbef){const _0x42cc35=a14_0x48208c,_0x3e8140={'rYQfP':function(_0x141df9,_0x2dd711){return _0x141df9!==_0x2dd711;},'hVpBE':function(_0x16d33e){return _0x16d33e();},'LoAmx':_0x42cc35(0x167),'JGoqt':function(_0x2066b8,_0x33d9ac){return _0x2066b8(_0x33d9ac);}};try{if(_0x3e8140['rYQfP'](testhubUtils[_0x42cc35(0x159)](),!![]))return;const _0x3b723b=_0x3e8140[_0x42cc35(0x180)](uuidv4);testRunMap[_0x42cc35(0x187)](_0x8fbbef['id'],_0x3b723b),this['_sendSpecEvent'](_0x8fbbef,_0x3b723b,_0x3e8140[_0x42cc35(0x14e)]);}catch(_0x42bc1c){_0x3e8140[_0x42cc35(0x1a7)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x8fbbef&&_0x8fbbef['fullName'])+'\x20:\x20'+_0x42bc1c);}}[a14_0x48208c(0x175)](_0x585797){const _0x138ab9=a14_0x48208c,_0x5ddf88={'NFdET':function(_0x3912c2,_0x5b4af1){return _0x3912c2!==_0x5b4af1;},'MGNgU':function(_0x966e8f){return _0x966e8f();},'bMsYC':function(_0xa9fa91,_0x50323e){return _0xa9fa91===_0x50323e;},'rZspk':_0x138ab9(0x15f),'GWxUW':'TestRunSkipped','ZkHBD':_0x138ab9(0x1c4),'nBxtA':function(_0x4673be,_0x289c9b){return _0x4673be(_0x289c9b);}};try{if(_0x5ddf88[_0x138ab9(0x151)](testhubUtils[_0x138ab9(0x159)](),!![]))return;const _0x5259f1=testRunMap['get'](_0x585797['id'])||_0x5ddf88[_0x138ab9(0x162)](uuidv4),_0x493f98=_0x5ddf88[_0x138ab9(0x1ad)](_0x585797[_0x138ab9(0x195)],_0x5ddf88[_0x138ab9(0x190)])?_0x5ddf88['GWxUW']:_0x5ddf88['ZkHBD'];this[_0x138ab9(0x164)](_0x585797,_0x5259f1,_0x493f98);}catch(_0x1570d7){_0x5ddf88[_0x138ab9(0x18e)](debug,_0x138ab9(0x1a0)+(_0x585797&&_0x585797[_0x138ab9(0x1ab)])+_0x138ab9(0x191)+_0x1570d7);}finally{_0x585797&&(testRunMap['remove'](_0x585797['id']),_specStartTimes[_0x138ab9(0x1ac)](_0x585797['id']));}}['suiteDone'](){}[a14_0x48208c(0x183)](){}['_sendSpecEvent'](_0x2c4f48,_0xb5f22c,_0x3aba25){const _0x445360=a14_0x48208c,_0x5045cf={'kInGU':function(_0x4f5d5d,_0x5917c2){return _0x4f5d5d===_0x5917c2;},'KieHg':_0x445360(0x1c4),'foDCr':function(_0x56e86f,_0x2f43d5){return _0x56e86f===_0x2f43d5;},'BHEhu':_0x445360(0x16e),'DBefq':_0x445360(0x1c1),'syGbh':function(_0x109e8,_0x1b7d80,_0x53d412){return _0x109e8(_0x1b7d80,_0x53d412);},'jILEG':_0x445360(0x194),'qaihA':_0x445360(0x167),'inOqu':function(_0x3aeabe,_0x52dca8){return _0x3aeabe!==_0x52dca8;},'IoeNe':function(_0x4d7ebf,_0x554783){return _0x4d7ebf!==_0x554783;},'QmBHB':function(_0x23f71c,_0x36da92){return _0x23f71c===_0x36da92;},'ugSsX':'javascript','yNGwW':function(_0x5b6091,_0x24716c){return _0x5b6091&&_0x24716c;},'UNqyw':function(_0x269b3a,_0x4c2f9b){return _0x269b3a===_0x4c2f9b;},'MTfMN':_0x445360(0x15d),'Vfoll':'passed','sAMuV':function(_0x3e5115,_0x126d40){return _0x3e5115===_0x126d40;},'xvpCF':_0x445360(0x17c),'chHVW':_0x445360(0x1ba),'oFsed':_0x445360(0x1b4),'YVytb':function(_0x549b8f,_0x3ffe42){return _0x549b8f===_0x3ffe42;},'KijkK':_0x445360(0x168),'EiUgv':'finished_at','TMobx':_0x445360(0x188),'YcvuZ':_0x445360(0x14b),'bxkqr':_0x445360(0x1c8),'LkOlL':_0x445360(0x199),'ksGPw':_0x445360(0x182),'pknmi':function(_0xbe4d06,_0x3045ff){return _0xbe4d06===_0x3045ff;},'nNBAK':function(_0x537c79,_0x5677bc){return _0x537c79(_0x5677bc);}};try{const _0x14a5cf=_0x5045cf['kInGU'](_0x3aba25,_0x5045cf[_0x445360(0x192)])||_0x5045cf[_0x445360(0x148)](_0x3aba25,_0x5045cf['BHEhu']),_0x265611=this[_0x445360(0x18a)](_0x2c4f48),_0x5df2e7=_0x265611?this['_paths'][_0x445360(0x1a4)](_0x265611):_0x5045cf['DBefq'],_0x7b1570=_0x265611?this[_0x445360(0x19b)](path[_0x445360(0x1b3)](_0x265611)):null,_0xe5967a=this[_0x445360(0x1bf)](_0x2c4f48[_0x445360(0x1a1)]),_0x85eee7=_0xe5967a?_0xe5967a['message']:undefined,_0x4a6a44=_0xe5967a?_0x5045cf[_0x445360(0x1af)](failureData,_0xe5967a,_0x5045cf[_0x445360(0x174)]):[],_0x5d0bea=new Date()[_0x445360(0x165)](),_0x5d71af=this['_scopes'](_0x2c4f48);_0x5045cf[_0x445360(0x148)](_0x3aba25,_0x5045cf[_0x445360(0x16f)])&&_0x2c4f48&&_0x5045cf[_0x445360(0x14a)](_0x2c4f48['id'],undefined)&&_0x5045cf[_0x445360(0x1ca)](_0x2c4f48['id'],null)&&_specStartTimes['set'](_0x2c4f48['id'],_0x5d0bea);const _0x3df9e1=_0x5045cf['QmBHB'](_0x3aba25,_0x5045cf[_0x445360(0x16f)])?_0x5d0bea:_0x2c4f48&&_specStartTimes[_0x445360(0x1cc)](_0x2c4f48['id'])||null,_0x4e7349={};_0x4e7349[_0x445360(0x170)]=_0x5045cf['ugSsX'],_0x4e7349[_0x445360(0x196)]=null;const _0xeb87e6={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0xb5f22c,'name':_0x2c4f48[_0x445360(0x1a2)],'body':_0x4e7349,'scope':_0x5d71af['join']('\x20'),'scopes':_0x5d71af,'identifier':_0x2c4f48[_0x445360(0x1ab)],'file_name':_0x5df2e7,'vc_filepath':_0x5045cf[_0x445360(0x1b5)](_0x7b1570,_0x265611)?path[_0x445360(0x181)](_0x7b1570,_0x265611):null,'location':_0x5df2e7,'result':_0x5045cf[_0x445360(0x1b2)](_0x3aba25,_0x5045cf['BHEhu'])?_0x5045cf[_0x445360(0x153)]:STATUS_MAP[_0x2c4f48[_0x445360(0x195)]]||_0x5045cf[_0x445360(0x1a8)],'failure_reason':_0x85eee7,'duration_in_ms':_0x5045cf[_0x445360(0x1b7)](typeof _0x2c4f48[_0x445360(0x1c3)],_0x5045cf[_0x445360(0x16d)])?_0x2c4f48[_0x445360(0x1c3)]:null,'started_at':_0x3df9e1,'finished_at':_0x14a5cf?_0x5d0bea:null,'failure':_0x4a6a44,'failure_type':!_0x85eee7?null:_0x85eee7['match'](/AssertionError/)?_0x5045cf[_0x445360(0x19d)]:_0x5045cf['oFsed'],'retry_of':null};_0x5045cf['YVytb'](_0x3aba25,_0x5045cf['BHEhu'])&&!_0xeb87e6[_0x5045cf[_0x445360(0x1a5)]]&&(_0xeb87e6[_0x5045cf['KijkK']]=_0xeb87e6[_0x5045cf[_0x445360(0x1ce)]]);const _0x324e48=_0xeb87e6[_0x5045cf['TMobx']][0x0];_0x324e48&&(_0xeb87e6[_0x5045cf[_0x445360(0x149)]]=_0x324e48[_0x5045cf[_0x445360(0x15e)]],_0xeb87e6[_0x5045cf[_0x445360(0x1b1)]]=_0x324e48[_0x5045cf[_0x445360(0x171)]]);testhubUtils['appendTesthubParams'](_0xeb87e6,_0x3aba25,_0x2c4f48,FRAMEWORKS[_0x445360(0x19c)]);const _0x4c3cbf={'event_type':_0x5045cf[_0x445360(0x160)](_0x3aba25,_0x5045cf[_0x445360(0x19f)])?_0x5045cf[_0x445360(0x192)]:_0x3aba25,'test_run':_0xeb87e6};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x445360(0x19c)],_0x4c3cbf),SessionHandler[_0x445360(0x1cb)](_0x4c3cbf);}catch(_0x208a6d){_0x5045cf['nNBAK'](debug,_0x445360(0x1be)+_0x3aba25+_0x445360(0x191)+_0x208a6d);}}[a14_0x48208c(0x1b8)](_0x52408b){const _0x123bc0=a14_0x48208c,_0x36e8fc={'OnVEF':function(_0xf32e4b,_0x26e63d){return _0xf32e4b!==_0x26e63d;},'BCcSZ':function(_0x301d48,_0x56863c){return _0x301d48!==_0x56863c;},'PaZab':function(_0x22c642,_0x49ac3a){return _0x22c642>_0x49ac3a;},'NsLYb':function(_0xaf674b,_0x333737){return _0xaf674b(_0x333737);},'Jxcgg':function(_0x23a462,_0xbde162){return _0x23a462-_0xbde162;}};try{const _0x48410e=[];let _0x51343e=_0x52408b&&_0x52408b[_0x123bc0(0x158)];const _0x1df01f=new Set();while(_0x36e8fc[_0x123bc0(0x163)](_0x51343e,undefined)&&_0x36e8fc[_0x123bc0(0x198)](_0x51343e,null)&&this['_suitesById'][_0x123bc0(0x14d)](_0x51343e)&&!_0x1df01f['has'](_0x51343e)){_0x1df01f[_0x123bc0(0x18f)](_0x51343e);const _0x2d25a8=this[_0x123bc0(0x152)][_0x123bc0(0x1cc)](_0x51343e);_0x2d25a8&&_0x2d25a8['description']&&_0x48410e['push'](_0x2d25a8[_0x123bc0(0x1a2)]),_0x51343e=_0x2d25a8?_0x2d25a8[_0x123bc0(0x158)]:null;}if(_0x36e8fc[_0x123bc0(0x1b6)](_0x48410e[_0x123bc0(0x1aa)],0x0))return _0x48410e[_0x123bc0(0x177)]();}catch(_0x561d3e){_0x36e8fc['NsLYb'](debug,_0x123bc0(0x147)+(_0x52408b&&_0x52408b[_0x123bc0(0x1ab)])+_0x123bc0(0x191)+_0x561d3e);}const _0x511188=_0x52408b&&_0x52408b[_0x123bc0(0x1ab)]||'',_0x3815b3=_0x52408b&&_0x52408b['description']||'';let _0x3cd4df=_0x511188;return _0x3815b3&&_0x511188['endsWith'](_0x3815b3)&&(_0x3cd4df=_0x511188[_0x123bc0(0x16b)](0x0,_0x36e8fc[_0x123bc0(0x18d)](_0x511188[_0x123bc0(0x1aa)],_0x3815b3[_0x123bc0(0x1aa)]))[_0x123bc0(0x156)]()),_0x3cd4df?_0x3cd4df[_0x123bc0(0x197)](/\s+/):[];}[a14_0x48208c(0x18a)](_0x16c23a){const _0x24e607=a14_0x48208c,_0x3b6a2b={};_0x3b6a2b['OTiLu']=function(_0x31758b,_0x5c7e0e){return _0x31758b===_0x5c7e0e;},_0x3b6a2b[_0x24e607(0x1c6)]=function(_0x35b840,_0x8c8916){return _0x35b840+_0x8c8916;},_0x3b6a2b['kMyMq']=function(_0x3f5145,_0x29bdff){return _0x3f5145>_0x29bdff;};const _0x497872=_0x3b6a2b;if(_0x16c23a&&_0x16c23a[_0x24e607(0x193)])return _0x16c23a[_0x24e607(0x193)];if(_0x16c23a&&_0x16c23a['fullName']){if(this['_fileNameByFullName'][_0x16c23a['fullName']])return this[_0x24e607(0x1a9)][_0x16c23a[_0x24e607(0x1ab)]];let _0x35fb02=null,_0x564041=-0x1;for(const _0xe78df9 of Object[_0x24e607(0x17f)](this[_0x24e607(0x1a9)])){(_0x497872[_0x24e607(0x1c7)](_0x16c23a[_0x24e607(0x1ab)],_0xe78df9)||_0x16c23a[_0x24e607(0x1ab)][_0x24e607(0x157)](_0x497872[_0x24e607(0x1c6)](_0xe78df9,'\x20')))&&_0x497872[_0x24e607(0x19e)](_0xe78df9['length'],_0x564041)&&(_0x35fb02=this['_fileNameByFullName'][_0xe78df9],_0x564041=_0xe78df9['length']);}if(_0x35fb02)return _0x35fb02;}return null;}[a14_0x48208c(0x1bf)](_0xf40013){const _0x42a53a=a14_0x48208c,_0x501695={};_0x501695['pvCAo']=function(_0xc58d48,_0x3147e6){return _0xc58d48===_0x3147e6;},_0x501695[_0x42a53a(0x185)]=_0x42a53a(0x1a6);const _0x25d393=_0x501695;if(!Array['isArray'](_0xf40013)||_0x25d393[_0x42a53a(0x1a3)](_0xf40013['length'],0x0))return undefined;const _0x1ff22d=[],_0x12c826=[];for(const _0x557664 of _0xf40013){_0x557664&&_0x557664[_0x42a53a(0x1c5)]&&_0x1ff22d['push'](_0x557664['message']),_0x557664&&_0x557664[_0x42a53a(0x1c2)]&&_0x12c826[_0x42a53a(0x179)](_0x557664[_0x42a53a(0x1c2)]);}const _0x751b7=_0xf40013[0x0]||{},_0x490f2c=_0x1ff22d[_0x42a53a(0x14f)]('\x0a')||_0x751b7['message']||_0x25d393[_0x42a53a(0x185)],_0x20c089=_0x12c826[_0x42a53a(0x14f)]('\x0a\x0a')||_0x751b7[_0x42a53a(0x1c2)]||_0x490f2c,_0x9dccce={};return _0x9dccce[_0x42a53a(0x1c5)]=_0x490f2c,_0x9dccce[_0x42a53a(0x1c2)]=_0x20c089,_0x9dccce[_0x42a53a(0x14c)]=_0x751b7['matcherName'],_0x9dccce[_0x42a53a(0x150)]=_0x751b7[_0x42a53a(0x150)],_0x9dccce[_0x42a53a(0x1ae)]=_0x751b7[_0x42a53a(0x1ae)],_0x9dccce;}[a14_0x48208c(0x19b)](_0x5dc442){const _0x532175=a14_0x48208c,_0x4f72bd={};_0x4f72bd['fwTJa']=function(_0x2943e1,_0x255d10){return _0x2943e1===_0x255d10;},_0x4f72bd[_0x532175(0x1bb)]=function(_0x364baf,_0x5c5ad5){return _0x364baf===_0x5c5ad5;},_0x4f72bd['OZdEK']='.git',_0x4f72bd[_0x532175(0x17a)]=_0x532175(0x16c);const _0xf1ddf0=_0x4f72bd,_0x1b5c33=path[_0x532175(0x154)];if(_0xf1ddf0[_0x532175(0x155)](_0x5dc442,null)||_0xf1ddf0[_0x532175(0x155)](_0x5dc442,'')||_0xf1ddf0['xICgm'](_0x5dc442,_0x1b5c33)||_0xf1ddf0['xICgm'](_0x5dc442,path[_0x532175(0x1b3)](_0x5dc442)))return null;try{return fs[_0x532175(0x18c)](path[_0x532175(0x14f)](_0x5dc442,_0xf1ddf0[_0x532175(0x161)],_0xf1ddf0[_0x532175(0x17a)])),_0x5dc442;}catch(_0x47e5ad){return this['_findGitConfig'](path[_0x532175(0x1b3)](_0x5dc442));}}}module['exports']=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a15_0x342e(_0x23280f,_0x3828a3){const _0x54cbda=a15_0x54cb();return a15_0x342e=function(_0x342e20,_0x4e3c4c){_0x342e20=_0x342e20-0x1a6;let _0x1bd429=_0x54cbda[_0x342e20];return _0x1bd429;},a15_0x342e(_0x23280f,_0x3828a3);}const a15_0x5415a1=a15_0x342e;(function(_0x264d7e,_0x93134){const _0x30bb=a15_0x342e,_0x5b334e=_0x264d7e();while(!![]){try{const _0x1ad325=-parseInt(_0x30bb(0x1cf))/0x1+-parseInt(_0x30bb(0x23c))/0x2*(-parseInt(_0x30bb(0x1b6))/0x3)+parseInt(_0x30bb(0x1d3))/0x4+parseInt(_0x30bb(0x1b9))/0x5*(parseInt(_0x30bb(0x243))/0x6)+-parseInt(_0x30bb(0x204))/0x7+-parseInt(_0x30bb(0x21d))/0x8*(-parseInt(_0x30bb(0x1cd))/0x9)+parseInt(_0x30bb(0x1ee))/0xa*(parseInt(_0x30bb(0x208))/0xb);if(_0x1ad325===_0x93134)break;else _0x5b334e['push'](_0x5b334e['shift']());}catch(_0x3642f9){_0x5b334e['push'](_0x5b334e['shift']());}}}(a15_0x54cb,0x9d03f));function a15_0x54cb(){const _0x3df2fa=['XLYvx','JRmtP','jBLPT','specArgs','getTCGConfigFilePaths','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','87090WUSEia','jasmine\x20child\x20(platformIndex=','existsSync','ulvWL','wVnFh','env','shouldReRunObservabilityTests','exitCode','from','FYJLi','FRAMEWORKS','../v2/browserstackCLI','llPVY','logLevel','initialize','EMyrD','../../helpers/testhub/testhubHandler','utf8','parse','maxWorkers','DHKxK','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','7936019OnAliT','../utils/constants','BnPgi','fWytQ','605JzVpHK','../../helpers/helper','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','accessibilityOptions','szKig','OEjnY','__isPlaywrightInstalled','IomsL','capability','all','child_process','platforms','parseFileNames','spec_dir','trim','resolve','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','NvTmG','nsbXu','SDK_SETUP','platform','8869832WWoZwx','filter','binSessionId','winstonLogger','../../helpers/playwright-helper','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','zeTDw','jasmine','BROWSERSTACK_CLI_BIN_SESSION_ID','start','../../helpers/logger','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','readFileSync','stop','spec_files','isBrowserstackInfra','ywluO',',\x20specs=','join','spec/support/jasmine.json','end','uYouJ','yPyLu','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','format','testObservability','length','giFiV','BROWSERSTACK_TEST_OBSERVABILITY_YML','yeCEA','YMrPR','11278FMXIvG','prepareCapabilities','glob','mStDe','isCLIEnabled','../../helpers/performance/constants','WeWnh','42XWLWec','error','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','UEfKb','BROWSERSTACK_RERUN_TESTS','batAw','proxySettings','true','handleApp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20concurrent)','nakEU','unlinkSync','config','mBbRz','\x20:\x20','getPackageVersion','\x20work-item(s),\x20max\x20','find','VZyIl','npx','../../helpers/performance/performance-tester','map','Ilwut','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','btLzV','slice','__isPuppeteerInstalled','string','PWXgN','DnOak','../../helpers/utilities','165cJCKvD','exports','SDK_CLEANUP','493445mCJVzM','Running\x20your\x20Jasmine\x20tests\x20across\x20',')\x20:\x20','p-limit','gvAcV','../../helpers/test-observability/constants','rmdirSync','BROWSERSTACK_CAPABILITIES','BLvuD','getInstance','EVENTS','JASMINE_CONFIG_PATH','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','gqTTJ','isUndefined','debug','push','finalExecution','wjvcA','assign','9VsAEWC','cwd','1249867OOAJMI','path','**/*[sS]pec.?(m)js','../../helpers/test-observability/utils','1752108Ncoeua','JASMINE','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','inherit','inCdV','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','AVjFN','error\x20removing\x20tcg\x20config\x20file','startsWith','validPlatformsPresent','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../../helpers/puppeteer-helper','platformIndex','GVoZT','ZkFzE','test.setup.js','AOVJl','parallelsPerPlatform','isArray','stringify'];a15_0x54cb=function(){return _0x3df2fa;};return a15_0x54cb();}const fs=require('fs'),path=require(a15_0x5415a1(0x1d0)),util=require('util'),{spawn}=require(a15_0x5415a1(0x212)),glob=require(a15_0x5415a1(0x23e)),pLimit=require(a15_0x5415a1(0x1bc)),logger=require(a15_0x5415a1(0x227))[a15_0x5415a1(0x220)],helper=require(a15_0x5415a1(0x209)),utilities=require(a15_0x5415a1(0x1b5)),constants=require(a15_0x5415a1(0x205)),TestHubHandler=require(a15_0x5415a1(0x1fe)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x5415a1(0x1d2)),{FRAMEWORKS}=require(a15_0x5415a1(0x1be)),PerformanceTester=require(a15_0x5415a1(0x1ab)),PerformanceEvents=require(a15_0x5415a1(0x241))[a15_0x5415a1(0x1c3)],BrowserstackCLI=require(a15_0x5415a1(0x1f9)),{checkPwandBootstrapCli}=require(a15_0x5415a1(0x221)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x5415a1(0x1df)),getMaxWorkers=(_0x5d867c,_0x3da860)=>{const _0x3a5e62=a15_0x5415a1,_0x12286d={'abuwY':function(_0x6c8a69,_0x3d8d7f){return _0x6c8a69(_0x3d8d7f);}};let _0x4942a6=0x1;if(!helper[_0x3a5e62(0x1c7)](_0x3da860[_0x3a5e62(0x1e5)]))_0x4942a6=_0x12286d['abuwY'](parseInt,_0x3da860[_0x3a5e62(0x1e5)]);else!helper[_0x3a5e62(0x1c7)](_0x5d867c['maxWorkers'])&&(_0x4942a6=_0x5d867c[_0x3a5e62(0x201)]);return _0x4942a6;},resolveJasmineConfigPath=()=>{const _0x3e1e71=a15_0x5415a1,_0x5a6185={};_0x5a6185[_0x3e1e71(0x1e1)]=_0x3e1e71(0x230);const _0x1c5cde=_0x5a6185,_0xd553be=[];process[_0x3e1e71(0x1f3)][_0x3e1e71(0x1c4)]&&_0xd553be[_0x3e1e71(0x1c9)](path[_0x3e1e71(0x217)](process['cwd'](),process['env']['JASMINE_CONFIG_PATH']));_0xd553be[_0x3e1e71(0x1c9)](path['resolve'](process[_0x3e1e71(0x1ce)](),_0x1c5cde[_0x3e1e71(0x1e1)]));for(const _0x2dd28b of _0xd553be){try{if(fs[_0x3e1e71(0x1f0)](_0x2dd28b))return _0x2dd28b;}catch(_0x13f55b){}}return null;},enumerateSpecFiles=_0x3c5b5b=>{const _0x3ba493=a15_0x5415a1,_0x1985df={'IomsL':function(_0xc3df96,_0x24784c){return _0xc3df96(_0x24784c);},'wVnFh':function(_0x230f02,_0x26a113){return _0x230f02>_0x26a113;},'WeWnh':function(_0x136472,_0x52f01f){return _0x136472(_0x52f01f);},'yeCEA':function(_0x30e1b3,_0x4b012d){return _0x30e1b3<_0x4b012d;},'yPyLu':function(_0x449458,_0x4fbab3){return _0x449458===_0x4fbab3;},'zeTDw':_0x3ba493(0x1b2),'EMyrD':function(_0xdaa27b,_0x2b97f6,_0x81950b){return _0xdaa27b(_0x2b97f6,_0x81950b);},'TwBnt':function(_0x7420e5){return _0x7420e5();},'llPVY':_0x3ba493(0x1ff),'jBLPT':'spec','msOSB':_0x3ba493(0x1d1),'zAtzh':function(_0x3257b0,_0x5ea4a4){return _0x3257b0>_0x5ea4a4;}};try{if(testOpsHelper[_0x3ba493(0x1f4)]()){const _0x181f50=testOpsHelper[_0x3ba493(0x214)](process[_0x3ba493(0x1f3)][_0x3ba493(0x247)]);if(Array[_0x3ba493(0x1e6)](_0x181f50)&&_0x1985df[_0x3ba493(0x1f2)](_0x181f50[_0x3ba493(0x237)],0x0))return _0x181f50[_0x3ba493(0x1ac)](_0x5c5bf8=>path[_0x3ba493(0x217)](process[_0x3ba493(0x1ce)](),_0x5c5bf8[_0x3ba493(0x216)]()))[_0x3ba493(0x21e)](Boolean);}}catch(_0x473f75){_0x1985df[_0x3ba493(0x242)](debug,_0x3ba493(0x1d8)+util[_0x3ba493(0x235)](_0x473f75));}const _0x422bc4=[];try{for(let _0xeba7ef=0x1;_0x1985df[_0x3ba493(0x23a)](_0xeba7ef,_0x3c5b5b[_0x3ba493(0x237)]);_0xeba7ef++){const _0x194ab0=_0x3c5b5b[_0xeba7ef];_0x1985df[_0x3ba493(0x233)](typeof _0x194ab0,_0x1985df[_0x3ba493(0x223)])&&!_0x194ab0[_0x3ba493(0x1db)]('-')&&_0x422bc4['push'](_0x194ab0);}}catch(_0x3cb5d5){}const _0x436333={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x19a55c=(_0x19c16c,_0x3dd471)=>{const _0x344d10=_0x3ba493,_0x9b0616=[];for(const _0x1c19bf of _0x19c16c){try{const _0x39146b=_0x3dd471?path['posix'][_0x344d10(0x22f)](_0x3dd471,_0x1c19bf):_0x1c19bf,_0x58bd64=glob['globSync'](_0x39146b,_0x436333);Array['isArray'](_0x58bd64)&&_0x9b0616['push'](..._0x58bd64);}catch(_0x33f055){_0x1985df[_0x344d10(0x20f)](debug,_0x344d10(0x1ed)+_0x1c19bf+'\x27\x20:\x20'+util[_0x344d10(0x235)](_0x33f055));}}return _0x9b0616;};if(_0x1985df['wVnFh'](_0x422bc4[_0x3ba493(0x237)],0x0)){const _0x1cb5f6=_0x1985df['EMyrD'](_0x19a55c,_0x422bc4,null);if(_0x1985df['wVnFh'](_0x1cb5f6[_0x3ba493(0x237)],0x0))return Array['from'](new Set(_0x1cb5f6));return _0x422bc4['map'](_0x5ba7b9=>path[_0x3ba493(0x217)](process[_0x3ba493(0x1ce)](),_0x5ba7b9));}try{const _0x512585=_0x1985df['TwBnt'](resolveJasmineConfigPath);if(_0x512585){const _0x1d8320=JSON[_0x3ba493(0x200)](fs[_0x3ba493(0x229)](_0x512585,_0x1985df[_0x3ba493(0x1fa)])),_0xee6db=_0x1d8320[_0x3ba493(0x215)]||_0x1985df[_0x3ba493(0x1ea)],_0xaba56a=Array[_0x3ba493(0x1e6)](_0x1d8320[_0x3ba493(0x22b)])&&_0x1985df[_0x3ba493(0x1f2)](_0x1d8320[_0x3ba493(0x22b)][_0x3ba493(0x237)],0x0)?_0x1d8320['spec_files']:[_0x1985df['msOSB']],_0x433fcc=_0x1985df[_0x3ba493(0x1fd)](_0x19a55c,_0xaba56a,_0xee6db);if(_0x1985df['zAtzh'](_0x433fcc[_0x3ba493(0x237)],0x0))return Array[_0x3ba493(0x1f6)](new Set(_0x433fcc));}}catch(_0x3885e1){_0x1985df[_0x3ba493(0x242)](debug,_0x3ba493(0x228)+util[_0x3ba493(0x235)](_0x3885e1));}return null;};async function run(_0x2126ba,_0x419da9,_0xb589ed){const _0x3c66a6=a15_0x5415a1,_0x2ec3f7={'nakEU':function(_0x36840f,_0x4544b4){return _0x36840f>_0x4544b4;},'FYJLi':function(_0x37354d,_0x32bc35){return _0x37354d(_0x32bc35);},'JRmtP':_0x3c66a6(0x211),'ywluO':function(_0x5ebddc,_0x58e52c){return _0x5ebddc||_0x58e52c;},'gqTTJ':function(_0x50ea45,_0x4475c7){return _0x50ea45(_0x4475c7);},'uYouJ':function(_0x2b8183,_0x35ef9e){return _0x2b8183>_0x35ef9e;},'OEjnY':function(_0x1d7d73,_0x323462,_0x46e48a,_0x1b21f9){return _0x1d7d73(_0x323462,_0x46e48a,_0x1b21f9);},'VZyIl':_0x3c66a6(0x1aa),'BnPgi':_0x3c66a6(0x224),'giFiV':function(_0x57609f,_0x48d475){return _0x57609f===_0x48d475;},'batAw':'win32','AVjFN':_0x3c66a6(0x1d6),'gvAcV':'close','XLYvx':_0x3c66a6(0x244),'PWXgN':function(_0x539fd9,_0x2dad96){return _0x539fd9(_0x2dad96);},'szKig':function(_0x2b97af,_0xe41c49){return _0x2b97af(_0xe41c49);},'NvTmG':'@playwright/test','DHKxK':function(_0x2d1e26){return _0x2d1e26();},'ZkFzE':function(_0x2e920e,_0x54ffea,_0x1d1ed6,_0x27302a){return _0x2e920e(_0x54ffea,_0x1d1ed6,_0x27302a);},'UEfKb':function(_0x13a221,_0x1163b9){return _0x13a221!=_0x1163b9;},'BLvuD':_0x3c66a6(0x24a),'btLzV':function(_0x3459af,_0x2f27a8){return _0x3459af(_0x2f27a8);},'cqqCa':function(_0x136eac,_0x25cbca,_0x4547e7){return _0x136eac(_0x25cbca,_0x4547e7);},'ulvWL':function(_0x4334bf,_0x25e3ab){return _0x4334bf*_0x25e3ab;},'nsbXu':function(_0x37a63f,_0x2f018c){return _0x37a63f(_0x2f018c);},'Ilwut':function(_0x4ed78f,_0x1c2328){return _0x4ed78f(_0x1c2328);},'inCdV':function(_0x44c721,_0x24174b){return _0x44c721(_0x24174b);},'YMrPR':_0x3c66a6(0x1e3),'YyjdE':function(_0x266193,_0x3635b0){return _0x266193(_0x3635b0);},'DnOak':function(_0x22f4bf,_0x28b1fb){return _0x22f4bf(_0x28b1fb);},'IZCDz':function(_0x5a45a4,_0xca357){return _0x5a45a4<_0xca357;},'mStDe':function(_0xefee36,_0xe5bd08){return _0xefee36(_0xe5bd08);},'wjvcA':function(_0x334c64,_0x4eb01d){return _0x334c64(_0x4eb01d);},'mBbRz':_0x3c66a6(0x1da)},_0x496dee=helper[_0x3c66a6(0x1a6)](_0x2ec3f7[_0x3c66a6(0x219)]);global[_0x3c66a6(0x20e)]=!!_0x496dee;const _0x5eb48e=_0x2ec3f7[_0x3c66a6(0x202)](getPuppeteerVersion);global[_0x3c66a6(0x1b1)]=!!_0x5eb48e;helper[_0x3c66a6(0x22c)]()?(await _0xb589ed[_0x3c66a6(0x1fc)](_0x2126ba),await helper[_0x3c66a6(0x24b)](_0xb589ed[_0x3c66a6(0x250)])):await _0xb589ed['setupTCGAuth']();if(_0x496dee)await _0x2ec3f7[_0x3c66a6(0x20d)](checkPwandBootstrapCli,_0x496dee,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)],_0xb589ed);else _0x5eb48e&&await _0x2ec3f7[_0x3c66a6(0x1e2)](checkPuppeteerAndBootstrapCli,_0x5eb48e,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)],_0xb589ed);if(!_0xb589ed[_0x3c66a6(0x250)])return;_0x2ec3f7[_0x3c66a6(0x246)](_0xb589ed['config'][_0x3c66a6(0x236)],null)?process['env'][_0x3c66a6(0x239)]=_0xb589ed[_0x3c66a6(0x250)]['testObservability']:process[_0x3c66a6(0x1f3)][_0x3c66a6(0x239)]=_0x2ec3f7[_0x3c66a6(0x1c1)];!helper[_0x3c66a6(0x1c7)](_0xb589ed[_0x3c66a6(0x250)]['accessibilityOptions'])&&(process[_0x3c66a6(0x1f3)][_0x3c66a6(0x24c)]=JSON['stringify'](_0xb589ed[_0x3c66a6(0x250)][_0x3c66a6(0x20b)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3c66a6(0x1d4)],_0xb589ed);}catch(_0x5dbea0){logger[_0x3c66a6(0x244)](_0x3c66a6(0x234)+util['format'](_0x5dbea0)),_0x2ec3f7[_0x3c66a6(0x1af)](debug,_0x3c66a6(0x203)+util['format'](_0x5dbea0));}let _0x1af268=![],_0x32490a=[];try{_0x1af268=helper['useW3C'](_0xb589ed['config']),_0x32490a=helper[_0x3c66a6(0x23d)](_0xb589ed['config'],_0x1af268,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)]),process[_0x3c66a6(0x1f3)][_0x3c66a6(0x1c0)]=JSON[_0x3c66a6(0x1e7)](_0x32490a);}catch(_0x47e4a5){_0x2ec3f7['gqTTJ'](debug,_0x3c66a6(0x20a)+util[_0x3c66a6(0x235)](_0x47e4a5));}let _0x169f97=null,_0x1dfc44=![];try{_0x169f97=helper['getHubUrl'](_0xb589ed['config']),_0x1dfc44=helper[_0x3c66a6(0x1dc)](_0xb589ed[_0x3c66a6(0x250)]);}catch(_0x2eeb76){_0x2ec3f7[_0x3c66a6(0x1af)](debug,_0x3c66a6(0x222)+util[_0x3c66a6(0x235)](_0x2eeb76));}const _0x1a850f=_0x4c37ab=>{const _0xea444f=_0x3c66a6,_0x3b6cdc=Array['isArray'](_0x32490a)&&_0x2ec3f7[_0xea444f(0x24e)](_0x32490a['length'],_0x4c37ab)?_0x32490a[_0x4c37ab]:Array['isArray'](_0x32490a)&&_0x2ec3f7[_0xea444f(0x24e)](_0x32490a['length'],0x0)?_0x32490a[0x0]:{};return{'server':_0x169f97,'capability':_0x3b6cdc,'proxySettings':_0xb589ed[_0xea444f(0x250)][_0xea444f(0x249)],'platform':helper['getPlatformName'](_0x3b6cdc),'browserStackLogLevel':_0xb589ed[_0xea444f(0x250)][_0xea444f(0x1fb)],'platformIndex':_0x4c37ab,'framework':constants[_0xea444f(0x1f8)][_0xea444f(0x1d4)],'platformCaps':_0x1dfc44?Object[_0xea444f(0x1cc)]({'index':_0x4c37ab},_0xb589ed[_0xea444f(0x250)][_0xea444f(0x213)][_0x4c37ab]):{'index':_0x4c37ab}};};let _0x3c0d1c=0x1,_0x41c925=0x1,_0x454f71=0x1;try{_0x3c0d1c=_0x2ec3f7['cqqCa'](getMaxWorkers,_0x2126ba,_0xb589ed[_0x3c66a6(0x250)]),_0x41c925=_0x1dfc44?_0xb589ed['config'][_0x3c66a6(0x213)][_0x3c66a6(0x237)]:0x1,_0x454f71=_0x2ec3f7[_0x3c66a6(0x1f1)](_0x41c925,_0x3c0d1c),process['env']['BROWSERSTACK_JASMINE_PARALLELS']=_0x2ec3f7[_0x3c66a6(0x21a)](String,_0x454f71);}catch(_0xca4230){_0x2ec3f7[_0x3c66a6(0x1ad)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x3c66a6(0x235)](_0xca4230));}try{BrowserstackCLI[_0x3c66a6(0x1c2)]()[_0x3c66a6(0x21f)]&&(process[_0x3c66a6(0x1f3)][_0x3c66a6(0x225)]=BrowserstackCLI[_0x3c66a6(0x1c2)]()[_0x3c66a6(0x21f)]);}catch(_0x28e7dc){_0x2ec3f7[_0x3c66a6(0x1d7)](debug,_0x3c66a6(0x1de)+util[_0x3c66a6(0x235)](_0x28e7dc));}const _0x5602fd=[];try{const _0x381dcd=path[_0x3c66a6(0x217)](__dirname,_0x2ec3f7[_0x3c66a6(0x23b)]);fs[_0x3c66a6(0x1f0)](_0x381dcd)?_0x5602fd[_0x3c66a6(0x1c9)]('--helper='+_0x381dcd):_0x2ec3f7['YyjdE'](debug,_0x3c66a6(0x1dd)+_0x381dcd+';\x20proceeding\x20without\x20injection');}catch(_0x553e02){_0x2ec3f7[_0x3c66a6(0x21a)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3c66a6(0x235)](_0x553e02));}const _0x2a5ea7=_0x419da9[_0x3c66a6(0x1b0)](0x1),_0xc6a3f7=_0x2ec3f7[_0x3c66a6(0x1b4)](enumerateSpecFiles,_0x419da9),_0x25889f=[];for(let _0xd2e06b=0x0;_0x2ec3f7['IZCDz'](_0xd2e06b,_0x41c925);_0xd2e06b++){if(_0x2ec3f7[_0x3c66a6(0x24e)](_0x3c0d1c,0x1)&&Array[_0x3c66a6(0x1e6)](_0xc6a3f7)&&_0x2ec3f7['nakEU'](_0xc6a3f7['length'],0x0))for(const _0x36bd48 of _0xc6a3f7){const _0x5e2338={};_0x5e2338['platformIndex']=_0xd2e06b,_0x5e2338['specArgs']=[_0x36bd48],_0x25889f['push'](_0x5e2338);}else{const _0x40e34f={};_0x40e34f[_0x3c66a6(0x1e0)]=_0xd2e06b,_0x40e34f[_0x3c66a6(0x1eb)]=_0xc6a3f7,_0x25889f[_0x3c66a6(0x1c9)](_0x40e34f);}}logger['info'](_0x3c66a6(0x1ba)+_0x41c925+'\x20platform(s),\x20parallelsPerPlatform='+_0x3c0d1c+'\x20('+_0x25889f[_0x3c66a6(0x237)]+_0x3c66a6(0x1a7)+_0x454f71+_0x3c66a6(0x24d)),PerformanceTester[_0x3c66a6(0x231)](PerformanceEvents[_0x3c66a6(0x21b)]);const _0x3083e9=_0x536370=>new Promise(_0x56195a=>{const _0x1c8fc5=_0x3c66a6,_0x3c1919={'tzdan':_0x2ec3f7[_0x1c8fc5(0x1e9)],'fWytQ':function(_0x2513f9,_0x1b2e0f){return _0x2ec3f7['FYJLi'](_0x2513f9,_0x1b2e0f);},'AOVJl':function(_0x261bc3,_0x3769b5){const _0x3d8a49=_0x1c8fc5;return _0x2ec3f7[_0x3d8a49(0x22d)](_0x261bc3,_0x3769b5);}};let _0x4e2979;try{const _0x10efef=_0x2ec3f7[_0x1c8fc5(0x1f7)](_0x1a850f,_0x536370[_0x1c8fc5(0x1e0)]);_0x4e2979=Object[_0x1c8fc5(0x1cc)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x10efef),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x10efef[_0x1c8fc5(0x210)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x38eea5){_0x2ec3f7[_0x1c8fc5(0x1c6)](debug,_0x1c8fc5(0x1c5)+_0x536370['platformIndex']+_0x1c8fc5(0x252)+util[_0x1c8fc5(0x235)](_0x38eea5)),_0x4e2979=Object[_0x1c8fc5(0x1cc)]({},process['env']);}const _0x317cbf=Array['isArray'](_0x536370[_0x1c8fc5(0x1eb)])?_0x536370[_0x1c8fc5(0x1eb)]:[],_0x1295f1=_0x2ec3f7[_0x1c8fc5(0x232)](_0x317cbf[_0x1c8fc5(0x237)],0x0)?_0x2a5ea7[_0x1c8fc5(0x21e)](_0xf8a419=>typeof _0xf8a419===_0x1c8fc5(0x1b2)&&_0xf8a419[_0x1c8fc5(0x1db)]('-')):_0x2a5ea7,_0x1457fd=[..._0x5602fd,..._0x1295f1,..._0x317cbf];try{const _0x3d920d=_0x2ec3f7[_0x1c8fc5(0x20d)](spawn,_0x2ec3f7[_0x1c8fc5(0x1a9)],[_0x2ec3f7[_0x1c8fc5(0x206)],..._0x1457fd],{'shell':_0x2ec3f7[_0x1c8fc5(0x238)](process[_0x1c8fc5(0x21c)],_0x2ec3f7[_0x1c8fc5(0x248)]),'stdio':_0x2ec3f7[_0x1c8fc5(0x1d9)],'env':_0x4e2979});_0x3d920d['on'](_0x2ec3f7[_0x1c8fc5(0x1bd)],_0x24b403=>{const _0x3404c2=_0x1c8fc5;logger['debug'](_0x3404c2(0x1ef)+_0x536370[_0x3404c2(0x1e0)]+_0x3404c2(0x22e)+(_0x317cbf[_0x3404c2(0x237)]?_0x317cbf[_0x3404c2(0x22f)](','):_0x3c1919['tzdan'])+')\x20exited\x20with\x20code\x20'+_0x24b403),_0x3c1919[_0x3404c2(0x207)](_0x56195a,_0x3c1919[_0x3404c2(0x1e4)](_0x24b403,0x0));}),_0x3d920d['on'](_0x2ec3f7[_0x1c8fc5(0x1e8)],_0x1bcbaf=>{const _0x5ad84c=_0x1c8fc5;_0x2ec3f7[_0x5ad84c(0x1f7)](debug,_0x5ad84c(0x245)+_0x536370[_0x5ad84c(0x1e0)]+')\x20:\x20'+util[_0x5ad84c(0x235)](_0x1bcbaf)),_0x2ec3f7[_0x5ad84c(0x1f7)](_0x56195a,0x1);});}catch(_0x17c877){_0x2ec3f7[_0x1c8fc5(0x1b3)](debug,_0x1c8fc5(0x1d5)+_0x536370['platformIndex']+_0x1c8fc5(0x1bb)+util[_0x1c8fc5(0x235)](_0x17c877)),_0x2ec3f7[_0x1c8fc5(0x20c)](_0x56195a,0x1);}}),_0x2513a3=_0x2ec3f7[_0x3c66a6(0x23f)](pLimit,_0x2ec3f7[_0x3c66a6(0x24e)](_0x454f71,0x0)?_0x454f71:0x1),_0x15f3e8=await Promise[_0x3c66a6(0x211)](_0x25889f['map'](_0x2bd631=>_0x2513a3(()=>_0x3083e9(_0x2bd631))));PerformanceTester[_0x3c66a6(0x226)](PerformanceEvents[_0x3c66a6(0x1b8)]);const _0x462677=_0x15f3e8[_0x3c66a6(0x1a8)](_0x1e4599=>_0x1e4599!==0x0)||0x0;process[_0x3c66a6(0x1f5)]=_0x462677,logger['debug'](_0x3c66a6(0x1ae)+_0x462677);const _0x23aa5f=BrowserstackCLI[_0x3c66a6(0x240)]();try{await TestHubHandler[_0x3c66a6(0x22a)](),await BrowserstackCLI['getInstance']()[_0x3c66a6(0x22a)]();}catch(_0x1840a8){_0x2ec3f7[_0x3c66a6(0x1cb)](debug,_0x3c66a6(0x218)+util[_0x3c66a6(0x235)](_0x1840a8));}try{const {browserstackFolderPath:_0x33ed26,tcgConfigPath:_0x5e948a}=helper[_0x3c66a6(0x1ec)]();fs[_0x3c66a6(0x24f)](_0x5e948a),fs[_0x3c66a6(0x1bf)](_0x33ed26);}catch(_0x414bf0){logger[_0x3c66a6(0x1c8)](_0x2ec3f7[_0x3c66a6(0x251)],_0x414bf0);}testOpsHelper['printBuildLink'](),await utilities[_0x3c66a6(0x1ca)](_0xb589ed,_0x23aa5f);}module[a15_0x5415a1(0x1b7)]=run;
|
|
2
|
+
'use strict';const a15_0x1fbc4d=a15_0x2889;function a15_0x2889(_0xeeb58a,_0x362558){const _0x52cfb0=a15_0x52cf();return a15_0x2889=function(_0x28890b,_0x3883df){_0x28890b=_0x28890b-0x1b6;let _0x5639b2=_0x52cfb0[_0x28890b];return _0x5639b2;},a15_0x2889(_0xeeb58a,_0x362558);}(function(_0x215aa6,_0x3b9651){const _0x4ca99c=a15_0x2889,_0x3ae662=_0x215aa6();while(!![]){try{const _0x583dd7=-parseInt(_0x4ca99c(0x200))/0x1*(parseInt(_0x4ca99c(0x1de))/0x2)+parseInt(_0x4ca99c(0x22f))/0x3*(-parseInt(_0x4ca99c(0x213))/0x4)+parseInt(_0x4ca99c(0x21a))/0x5+parseInt(_0x4ca99c(0x241))/0x6*(parseInt(_0x4ca99c(0x24c))/0x7)+-parseInt(_0x4ca99c(0x1d2))/0x8+parseInt(_0x4ca99c(0x1ca))/0x9*(parseInt(_0x4ca99c(0x1da))/0xa)+-parseInt(_0x4ca99c(0x223))/0xb*(-parseInt(_0x4ca99c(0x1fd))/0xc);if(_0x583dd7===_0x3b9651)break;else _0x3ae662['push'](_0x3ae662['shift']());}catch(_0x4655af){_0x3ae662['push'](_0x3ae662['shift']());}}}(a15_0x52cf,0x3586d));function a15_0x52cf(){const _0x1f6bf0=['isCLIEnabled','proxySettings','useW3C','spec/support/jasmine.json','finalExecution','winstonLogger','unlinkSync','Okfgl','meQhj','binSessionId','platforms','parallelsPerPlatform','AAoAc','../../helpers/helper','specArgs','length','2709wMgtCH','start',')\x20exited\x20with\x20code\x20','spec_dir','zrXFO','eJCHe','spec','maxWorkers','1986456kNcfZi','npx','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','medxA','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','1750gpeYMF','all','parse','--helper=','125102PrmLZK','TAlaZ','getInstance',';\x20proceeding\x20without\x20injection','BROWSERSTACK_JASMINE_PARALLELS','\x27\x20:\x20','SfJkM','printBuildLink',',\x20specs=','BROWSERSTACK_TEST_OBSERVABILITY_YML','SUkbO','env','util','../../helpers/test-observability/utils','end','\x20:\x20','accessibilityOptions','../../helpers/performance/constants','error\x20removing\x20tcg\x20config\x20file','globSync','debug','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','exitCode','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','AwUwt','JASMINE','Pqqhs','__isPlaywrightInstalled','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','132tljArR','win32','slice','4tSOfMn','\x20work-item(s),\x20max\x20','spec_files','IJgsV','XBBon','stringify','../../helpers/performance/performance-tester','p-limit','getTCGConfigFilePaths','algBI','jasmine','isUndefined','testObservability','parseFileNames','mZZUk','\x20concurrent)','getPackageVersion','dFKyH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','142148WoSVIG','../../helpers/playwright-helper','BROWSERSTACK_CLI_BIN_SESSION_ID','rmdirSync','close','isArray','DGiPH','1799430HxAKMc','../../helpers/logger','initialize','posix','cwd','trim','Cfzoy','config','launchBuild','239503laLXEx','logLevel','amnSF','join','Running\x20your\x20Jasmine\x20tests\x20across\x20','push','WQoew','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','setupTCGAuth','KQBUs','find','map','9FZKTbZ','yzGWX','SDK_CLEANUP','format','SYyxK','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','assign','@playwright/test','inTge','kDQqZ','VvWqT','string','platform','eNaMW','error','FRAMEWORKS','xmQkj','../../helpers/test-observability/constants','6bOqHAs','isBrowserstackInfra','exports','existsSync','from','SNUtT','validPlatformsPresent','Ekfpc','KTSGh','igkfD','utf8','1206121PWXqse','JASMINE_CONFIG_PATH','DPJJy','startsWith','info','inherit','FeZjC','readFileSync','../../helpers/testhub/testhubHandler','UFJTp','resolve','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','true',')\x20:\x20','platformIndex','XBMQP','mZBIF','filter'];a15_0x52cf=function(){return _0x1f6bf0;};return a15_0x52cf();}const fs=require('fs'),path=require('path'),util=require(a15_0x1fbc4d(0x1ea)),{spawn}=require('child_process'),glob=require('glob'),pLimit=require(a15_0x1fbc4d(0x207)),logger=require(a15_0x1fbc4d(0x21b))[a15_0x1fbc4d(0x1bf)],helper=require(a15_0x1fbc4d(0x1c7)),utilities=require(a15_0x1fbc4d(0x1d7)),constants=require('../utils/constants'),TestHubHandler=require(a15_0x1fbc4d(0x254)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x1fbc4d(0x1eb)),{FRAMEWORKS}=require(a15_0x1fbc4d(0x240)),PerformanceTester=require(a15_0x1fbc4d(0x206)),PerformanceEvents=require(a15_0x1fbc4d(0x1ef))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a15_0x1fbc4d(0x214)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x132705,_0x214879)=>{const _0x466746=a15_0x1fbc4d,_0x266bbd={'DGiPH':function(_0x185b82,_0x5830db){return _0x185b82(_0x5830db);}};let _0x1def44=0x1;if(!helper[_0x466746(0x20b)](_0x214879[_0x466746(0x1c5)]))_0x1def44=_0x266bbd[_0x466746(0x219)](parseInt,_0x214879[_0x466746(0x1c5)]);else!helper[_0x466746(0x20b)](_0x132705[_0x466746(0x1d1)])&&(_0x1def44=_0x132705[_0x466746(0x1d1)]);return _0x1def44;},resolveJasmineConfigPath=()=>{const _0x3b77d5=a15_0x1fbc4d,_0x500340={};_0x500340['luFyR']=_0x3b77d5(0x1bd);const _0x88e9f0=_0x500340,_0x30579f=[];process[_0x3b77d5(0x1e9)][_0x3b77d5(0x24d)]&&_0x30579f['push'](path[_0x3b77d5(0x256)](process[_0x3b77d5(0x21e)](),process[_0x3b77d5(0x1e9)]['JASMINE_CONFIG_PATH']));_0x30579f[_0x3b77d5(0x228)](path['resolve'](process[_0x3b77d5(0x21e)](),_0x88e9f0['luFyR']));for(const _0x31ca68 of _0x30579f){try{if(fs['existsSync'](_0x31ca68))return _0x31ca68;}catch(_0x33f205){}}return null;},enumerateSpecFiles=_0x7b8f98=>{const _0x4f39b4=a15_0x1fbc4d,_0x3501c2={'FeZjC':function(_0x39f5e4,_0x21eec6){return _0x39f5e4(_0x21eec6);},'inTge':function(_0x2a44e8,_0x543c7f){return _0x2a44e8>_0x543c7f;},'igkfD':function(_0x4a98e7,_0x302974){return _0x4a98e7<_0x302974;},'mZZUk':function(_0x1f8359,_0x2b6747){return _0x1f8359===_0x2b6747;},'yzGWX':_0x4f39b4(0x23a),'xmQkj':function(_0x250efc,_0x445d9b){return _0x250efc>_0x445d9b;},'AAoAc':function(_0x4b466e,_0x358c50,_0x6b059c){return _0x4b466e(_0x358c50,_0x6b059c);},'eFPXP':function(_0x1d9f00){return _0x1d9f00();},'IJgsV':_0x4f39b4(0x24b),'dFKyH':_0x4f39b4(0x1d0),'Cfzoy':'**/*[sS]pec.?(m)js','amnSF':function(_0xe85ec7,_0x5e6075){return _0xe85ec7>_0x5e6075;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1a552a=testOpsHelper[_0x4f39b4(0x20d)](process[_0x4f39b4(0x1e9)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x4f39b4(0x218)](_0x1a552a)&&_0x3501c2[_0x4f39b4(0x237)](_0x1a552a['length'],0x0))return _0x1a552a[_0x4f39b4(0x22e)](_0x1801a5=>path[_0x4f39b4(0x256)](process[_0x4f39b4(0x21e)](),_0x1801a5[_0x4f39b4(0x21f)]()))['filter'](Boolean);}}catch(_0x41d43d){_0x3501c2[_0x4f39b4(0x252)](debug,_0x4f39b4(0x1d9)+util[_0x4f39b4(0x232)](_0x41d43d));}const _0x466548=[];try{for(let _0x3de42c=0x1;_0x3501c2[_0x4f39b4(0x24a)](_0x3de42c,_0x7b8f98[_0x4f39b4(0x1c9)]);_0x3de42c++){const _0x1e6a50=_0x7b8f98[_0x3de42c];_0x3501c2[_0x4f39b4(0x20e)](typeof _0x1e6a50,_0x3501c2[_0x4f39b4(0x230)])&&!_0x1e6a50[_0x4f39b4(0x24f)]('-')&&_0x466548[_0x4f39b4(0x228)](_0x1e6a50);}}catch(_0x22e3dd){}const _0x225012={'cwd':process[_0x4f39b4(0x21e)](),'absolute':!![],'nodir':!![]},_0x471455=(_0x538067,_0x3fc534)=>{const _0x3fcebd=_0x4f39b4,_0x2cfa7b=[];for(const _0x3afd66 of _0x538067){try{const _0x5a0ccf=_0x3fc534?path[_0x3fcebd(0x21d)][_0x3fcebd(0x226)](_0x3fc534,_0x3afd66):_0x3afd66,_0x1c2085=glob[_0x3fcebd(0x1f1)](_0x5a0ccf,_0x225012);Array[_0x3fcebd(0x218)](_0x1c2085)&&_0x2cfa7b[_0x3fcebd(0x228)](..._0x1c2085);}catch(_0x564477){_0x3501c2[_0x3fcebd(0x252)](debug,_0x3fcebd(0x1d5)+_0x3afd66+_0x3fcebd(0x1e3)+util[_0x3fcebd(0x232)](_0x564477));}}return _0x2cfa7b;};if(_0x3501c2[_0x4f39b4(0x23f)](_0x466548[_0x4f39b4(0x1c9)],0x0)){const _0x2dd31e=_0x3501c2[_0x4f39b4(0x1c6)](_0x471455,_0x466548,null);if(_0x3501c2[_0x4f39b4(0x237)](_0x2dd31e[_0x4f39b4(0x1c9)],0x0))return Array['from'](new Set(_0x2dd31e));return _0x466548['map'](_0x3aa177=>path[_0x4f39b4(0x256)](process[_0x4f39b4(0x21e)](),_0x3aa177));}try{const _0x7ddccf=_0x3501c2['eFPXP'](resolveJasmineConfigPath);if(_0x7ddccf){const _0x1218ea=JSON[_0x4f39b4(0x1dc)](fs[_0x4f39b4(0x253)](_0x7ddccf,_0x3501c2[_0x4f39b4(0x203)])),_0x1bc24c=_0x1218ea[_0x4f39b4(0x1cd)]||_0x3501c2[_0x4f39b4(0x211)],_0x13635c=Array[_0x4f39b4(0x218)](_0x1218ea[_0x4f39b4(0x202)])&&_0x3501c2[_0x4f39b4(0x23f)](_0x1218ea[_0x4f39b4(0x202)]['length'],0x0)?_0x1218ea[_0x4f39b4(0x202)]:[_0x3501c2[_0x4f39b4(0x220)]],_0x10e6ae=_0x3501c2['AAoAc'](_0x471455,_0x13635c,_0x1bc24c);if(_0x3501c2[_0x4f39b4(0x225)](_0x10e6ae['length'],0x0))return Array[_0x4f39b4(0x245)](new Set(_0x10e6ae));}}catch(_0x248ec0){_0x3501c2['FeZjC'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x4f39b4(0x232)](_0x248ec0));}return null;};async function run(_0x410743,_0x4d479a,_0x4e85b6){const _0x4a2237=a15_0x1fbc4d,_0x528dfe={'KQBUs':function(_0x94322f,_0x487e1b){return _0x94322f>_0x487e1b;},'zrXFO':_0x4a2237(0x1db),'XBBon':function(_0x58b1a9,_0x4d58b5){return _0x58b1a9(_0x4d58b5);},'medxA':function(_0x1c8135,_0x15cbf0){return _0x1c8135||_0x15cbf0;},'WQoew':function(_0x37649e,_0x45787e){return _0x37649e(_0x45787e);},'Kvmxn':function(_0x2e0bfc,_0x3e670e){return _0x2e0bfc>_0x3e670e;},'SUkbO':function(_0x4c3eea,_0x36600e,_0x50aba7,_0x33a73d){return _0x4c3eea(_0x36600e,_0x50aba7,_0x33a73d);},'DPJJy':_0x4a2237(0x1d3),'oGEnP':_0x4a2237(0x20a),'algBI':function(_0x12a6b1,_0x4a3d3b){return _0x12a6b1===_0x4a3d3b;},'eNaMW':_0x4a2237(0x1fe),'SYyxK':_0x4a2237(0x251),'SNUtT':_0x4a2237(0x217),'ccFVY':_0x4a2237(0x23d),'AwUwt':function(_0x505534,_0x14b3d7){return _0x505534(_0x14b3d7);},'gkqcm':_0x4a2237(0x236),'TAlaZ':function(_0x5a0428){return _0x5a0428();},'VvWqT':function(_0x314763,_0x14e7d4){return _0x314763!=_0x14e7d4;},'ypRXN':_0x4a2237(0x258),'ncZDX':function(_0x252833,_0x5a7348){return _0x252833(_0x5a7348);},'Okfgl':function(_0x281564,_0x498fe4,_0x15af55){return _0x281564(_0x498fe4,_0x15af55);},'eJCHe':function(_0x21b398,_0xb9ea19){return _0x21b398*_0xb9ea19;},'XBMQP':function(_0x315ae6,_0x9a3853){return _0x315ae6(_0x9a3853);},'kDQqZ':function(_0x20df79,_0x8e070){return _0x20df79(_0x8e070);},'KTSGh':function(_0x56652c,_0x364f2d){return _0x56652c(_0x364f2d);},'mZBIF':'test.setup.js','QQjTQ':function(_0x3c6ec9,_0x314e7b){return _0x3c6ec9(_0x314e7b);},'Pqqhs':function(_0x50a058,_0x1ac3e2){return _0x50a058(_0x1ac3e2);},'Ekfpc':function(_0x2ff629,_0x209226){return _0x2ff629<_0x209226;},'UFJTp':function(_0x6be191,_0x508109){return _0x6be191>_0x508109;},'uNYsm':_0x4a2237(0x1f0)},_0x150f5d=helper[_0x4a2237(0x210)](_0x528dfe['gkqcm']);global[_0x4a2237(0x1fa)]=!!_0x150f5d;const _0x3eb9cb=_0x528dfe[_0x4a2237(0x1df)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x3eb9cb;helper[_0x4a2237(0x242)]()?(await _0x4e85b6[_0x4a2237(0x21c)](_0x410743),await helper['handleApp'](_0x4e85b6['config'])):await _0x4e85b6[_0x4a2237(0x22b)]();if(_0x150f5d)await _0x528dfe[_0x4a2237(0x1e8)](checkPwandBootstrapCli,_0x150f5d,constants[_0x4a2237(0x23e)][_0x4a2237(0x1f8)],_0x4e85b6);else _0x3eb9cb&&await _0x528dfe['SUkbO'](checkPuppeteerAndBootstrapCli,_0x3eb9cb,constants[_0x4a2237(0x23e)]['JASMINE'],_0x4e85b6);if(!_0x4e85b6['config'])return;_0x528dfe[_0x4a2237(0x239)](_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x20c)],null)?process[_0x4a2237(0x1e9)][_0x4a2237(0x1e7)]=_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x20c)]:process[_0x4a2237(0x1e9)][_0x4a2237(0x1e7)]=_0x528dfe['ypRXN'];!helper[_0x4a2237(0x20b)](_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x1ee)])&&(process[_0x4a2237(0x1e9)][_0x4a2237(0x1d8)]=JSON[_0x4a2237(0x205)](_0x4e85b6[_0x4a2237(0x221)]['accessibilityOptions']));try{await TestHubHandler[_0x4a2237(0x222)](FRAMEWORKS['JASMINE'],_0x4e85b6);}catch(_0x5eb81b){logger['error']('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x4a2237(0x232)](_0x5eb81b)),_0x528dfe['ncZDX'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x4a2237(0x232)](_0x5eb81b));}let _0xbd7ff2=![],_0x9a1761=[];try{_0xbd7ff2=helper[_0x4a2237(0x1bc)](_0x4e85b6[_0x4a2237(0x221)]),_0x9a1761=helper['prepareCapabilities'](_0x4e85b6['config'],_0xbd7ff2,constants[_0x4a2237(0x23e)][_0x4a2237(0x1f8)]),process[_0x4a2237(0x1e9)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x4a2237(0x205)](_0x9a1761);}catch(_0x4a018b){_0x528dfe[_0x4a2237(0x229)](debug,_0x4a2237(0x1f3)+util[_0x4a2237(0x232)](_0x4a018b));}let _0x56abfb=null,_0x203b41=![];try{_0x56abfb=helper['getHubUrl'](_0x4e85b6[_0x4a2237(0x221)]),_0x203b41=helper[_0x4a2237(0x247)](_0x4e85b6['config']);}catch(_0x4d27ac){_0x528dfe['XBBon'](debug,_0x4a2237(0x257)+util[_0x4a2237(0x232)](_0x4d27ac));}const _0x1aefb0=_0x49278f=>{const _0x5d231c=_0x4a2237,_0xf825c7=Array['isArray'](_0x9a1761)&&_0x528dfe[_0x5d231c(0x22c)](_0x9a1761['length'],_0x49278f)?_0x9a1761[_0x49278f]:Array[_0x5d231c(0x218)](_0x9a1761)&&_0x528dfe['KQBUs'](_0x9a1761[_0x5d231c(0x1c9)],0x0)?_0x9a1761[0x0]:{};return{'server':_0x56abfb,'capability':_0xf825c7,'proxySettings':_0x4e85b6['config'][_0x5d231c(0x1bb)],'platform':helper['getPlatformName'](_0xf825c7),'browserStackLogLevel':_0x4e85b6[_0x5d231c(0x221)][_0x5d231c(0x224)],'platformIndex':_0x49278f,'framework':constants[_0x5d231c(0x23e)][_0x5d231c(0x1f8)],'platformCaps':_0x203b41?Object[_0x5d231c(0x235)]({'index':_0x49278f},_0x4e85b6['config'][_0x5d231c(0x1c4)][_0x49278f]):{'index':_0x49278f}};};let _0x14ca97=0x1,_0xae825e=0x1,_0x57c7d0=0x1;try{_0x14ca97=_0x528dfe[_0x4a2237(0x1c1)](getMaxWorkers,_0x410743,_0x4e85b6[_0x4a2237(0x221)]),_0xae825e=_0x203b41?_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x1c4)][_0x4a2237(0x1c9)]:0x1,_0x57c7d0=_0x528dfe[_0x4a2237(0x1cf)](_0xae825e,_0x14ca97),process[_0x4a2237(0x1e9)][_0x4a2237(0x1e2)]=_0x528dfe[_0x4a2237(0x1b7)](String,_0x57c7d0);}catch(_0x5b7518){_0x528dfe[_0x4a2237(0x238)](debug,_0x4a2237(0x212)+util[_0x4a2237(0x232)](_0x5b7518));}try{BrowserstackCLI[_0x4a2237(0x1e0)]()[_0x4a2237(0x1c3)]&&(process[_0x4a2237(0x1e9)][_0x4a2237(0x215)]=BrowserstackCLI[_0x4a2237(0x1e0)]()[_0x4a2237(0x1c3)]);}catch(_0x1945cb){_0x528dfe[_0x4a2237(0x249)](debug,_0x4a2237(0x234)+util[_0x4a2237(0x232)](_0x1945cb));}const _0x26ee74=[];try{const _0x2eb41f=path['resolve'](__dirname,_0x528dfe[_0x4a2237(0x1b8)]);fs[_0x4a2237(0x244)](_0x2eb41f)?_0x26ee74[_0x4a2237(0x228)](_0x4a2237(0x1dd)+_0x2eb41f):_0x528dfe[_0x4a2237(0x1f7)](debug,_0x4a2237(0x1fb)+_0x2eb41f+_0x4a2237(0x1e1));}catch(_0x5280a9){_0x528dfe['QQjTQ'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x4a2237(0x232)](_0x5280a9));}const _0x4ba065=_0x4d479a[_0x4a2237(0x1ff)](0x1),_0x2ef389=_0x528dfe['Pqqhs'](enumerateSpecFiles,_0x4d479a),_0x76d184=[];for(let _0x109042=0x0;_0x528dfe[_0x4a2237(0x248)](_0x109042,_0xae825e);_0x109042++){if(_0x528dfe[_0x4a2237(0x22c)](_0x14ca97,0x1)&&Array[_0x4a2237(0x218)](_0x2ef389)&&_0x528dfe[_0x4a2237(0x22c)](_0x2ef389[_0x4a2237(0x1c9)],0x0))for(const _0x1f60c0 of _0x2ef389){const _0x382e1e={};_0x382e1e[_0x4a2237(0x1b6)]=_0x109042,_0x382e1e['specArgs']=[_0x1f60c0],_0x76d184[_0x4a2237(0x228)](_0x382e1e);}else{const _0x570df1={};_0x570df1[_0x4a2237(0x1b6)]=_0x109042,_0x570df1[_0x4a2237(0x1c8)]=_0x2ef389,_0x76d184[_0x4a2237(0x228)](_0x570df1);}}logger[_0x4a2237(0x250)](_0x4a2237(0x227)+_0xae825e+'\x20platform(s),\x20parallelsPerPlatform='+_0x14ca97+'\x20('+_0x76d184[_0x4a2237(0x1c9)]+_0x4a2237(0x201)+_0x57c7d0+_0x4a2237(0x20f)),PerformanceTester[_0x4a2237(0x1ec)](PerformanceEvents['SDK_SETUP']);const _0x4e5fbd=_0x35c511=>new Promise(_0x8c66f0=>{const _0x24d249=_0x4a2237,_0x16f379={'Repui':_0x528dfe[_0x24d249(0x1ce)],'SfJkM':function(_0xdb9eaa,_0x51fb05){const _0x4bb033=_0x24d249;return _0x528dfe[_0x4bb033(0x204)](_0xdb9eaa,_0x51fb05);},'meQhj':function(_0xa0ec76,_0x4e63da){const _0x55fc76=_0x24d249;return _0x528dfe[_0x55fc76(0x1d6)](_0xa0ec76,_0x4e63da);},'AhvSD':function(_0x2df580,_0x5f99f1){const _0x77c0d3=_0x24d249;return _0x528dfe[_0x77c0d3(0x229)](_0x2df580,_0x5f99f1);}};let _0x503a11;try{const _0x1aaaa8=_0x528dfe[_0x24d249(0x204)](_0x1aefb0,_0x35c511[_0x24d249(0x1b6)]);_0x503a11=Object[_0x24d249(0x235)]({},process[_0x24d249(0x1e9)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x24d249(0x205)](_0x1aaaa8),'BROWSERSTACK_CAPABILITIES':JSON[_0x24d249(0x205)]([_0x1aaaa8['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4035c4){_0x528dfe[_0x24d249(0x204)](debug,_0x24d249(0x1d4)+_0x35c511[_0x24d249(0x1b6)]+_0x24d249(0x1ed)+util['format'](_0x4035c4)),_0x503a11=Object[_0x24d249(0x235)]({},process['env']);}const _0x178aad=Array['isArray'](_0x35c511[_0x24d249(0x1c8)])?_0x35c511['specArgs']:[],_0x2e5c6b=_0x528dfe['Kvmxn'](_0x178aad[_0x24d249(0x1c9)],0x0)?_0x4ba065[_0x24d249(0x1b9)](_0x291103=>typeof _0x291103==='string'&&_0x291103['startsWith']('-')):_0x4ba065,_0x127d04=[..._0x26ee74,..._0x2e5c6b,..._0x178aad];try{const _0x53493d=_0x528dfe[_0x24d249(0x1e8)](spawn,_0x528dfe[_0x24d249(0x24e)],[_0x528dfe['oGEnP'],..._0x127d04],{'shell':_0x528dfe[_0x24d249(0x209)](process[_0x24d249(0x23b)],_0x528dfe[_0x24d249(0x23c)]),'stdio':_0x528dfe[_0x24d249(0x233)],'env':_0x503a11});_0x53493d['on'](_0x528dfe[_0x24d249(0x246)],_0xe6f931=>{const _0x3f9fc7=_0x24d249;logger['debug']('jasmine\x20child\x20(platformIndex='+_0x35c511[_0x3f9fc7(0x1b6)]+_0x3f9fc7(0x1e6)+(_0x178aad[_0x3f9fc7(0x1c9)]?_0x178aad[_0x3f9fc7(0x226)](','):_0x16f379['Repui'])+_0x3f9fc7(0x1cc)+_0xe6f931),_0x16f379[_0x3f9fc7(0x1e4)](_0x8c66f0,_0x16f379[_0x3f9fc7(0x1c2)](_0xe6f931,0x0));}),_0x53493d['on'](_0x528dfe['ccFVY'],_0x7cf1a9=>{const _0x192366=_0x24d249;_0x16f379[_0x192366(0x1e4)](debug,_0x192366(0x1f4)+_0x35c511[_0x192366(0x1b6)]+_0x192366(0x259)+util[_0x192366(0x232)](_0x7cf1a9)),_0x16f379['AhvSD'](_0x8c66f0,0x1);});}catch(_0x2dc510){_0x528dfe[_0x24d249(0x1f7)](debug,_0x24d249(0x22a)+_0x35c511[_0x24d249(0x1b6)]+')\x20:\x20'+util[_0x24d249(0x232)](_0x2dc510)),_0x528dfe[_0x24d249(0x204)](_0x8c66f0,0x1);}}),_0x5ec714=_0x528dfe[_0x4a2237(0x1f9)](pLimit,_0x528dfe[_0x4a2237(0x255)](_0x57c7d0,0x0)?_0x57c7d0:0x1),_0x260a72=await Promise[_0x4a2237(0x1db)](_0x76d184[_0x4a2237(0x22e)](_0x48e278=>_0x5ec714(()=>_0x4e5fbd(_0x48e278))));PerformanceTester[_0x4a2237(0x1cb)](PerformanceEvents[_0x4a2237(0x231)]);const _0x18eb5b=_0x260a72[_0x4a2237(0x22d)](_0x17811e=>_0x17811e!==0x0)||0x0;process[_0x4a2237(0x1f5)]=_0x18eb5b,logger[_0x4a2237(0x1f2)](_0x4a2237(0x1fc)+_0x18eb5b);const _0x4429ef=BrowserstackCLI[_0x4a2237(0x1ba)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0xb6e66f){_0x528dfe[_0x4a2237(0x1b7)](debug,_0x4a2237(0x1f6)+util['format'](_0xb6e66f));}try{const {browserstackFolderPath:_0x5bc502,tcgConfigPath:_0x570ca3}=helper[_0x4a2237(0x208)]();fs[_0x4a2237(0x1c0)](_0x570ca3),fs[_0x4a2237(0x216)](_0x5bc502);}catch(_0x4ec147){logger[_0x4a2237(0x1f2)](_0x528dfe['uNYsm'],_0x4ec147);}testOpsHelper[_0x4a2237(0x1e5)](),await utilities[_0x4a2237(0x1be)](_0x4e85b6,_0x4429ef);}module[a15_0x1fbc4d(0x243)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x45741a=a16_0x36ee;(function(_0x758a02,_0x273aa9){const _0x350e13=a16_0x36ee,_0x5bfe3a=_0x758a02();while(!![]){try{const _0x266790=-parseInt(_0x350e13(0x228))/0x1*(-parseInt(_0x350e13(0x227))/0x2)+-parseInt(_0x350e13(0x1eb))/0x3*(parseInt(_0x350e13(0x24b))/0x4)+parseInt(_0x350e13(0x22d))/0x5*(-parseInt(_0x350e13(0x218))/0x6)+parseInt(_0x350e13(0x21b))/0x7*(parseInt(_0x350e13(0x1d3))/0x8)+-parseInt(_0x350e13(0x22f))/0x9*(parseInt(_0x350e13(0x1d2))/0xa)+parseInt(_0x350e13(0x1f7))/0xb*(-parseInt(_0x350e13(0x1dd))/0xc)+parseInt(_0x350e13(0x204))/0xd;if(_0x266790===_0x273aa9)break;else _0x5bfe3a['push'](_0x5bfe3a['shift']());}catch(_0xc68fe2){_0x5bfe3a['push'](_0x5bfe3a['shift']());}}}(a16_0x179c,0xe6628));const util=require(a16_0x45741a(0x1d6)),logger=require('../../helpers/logger')[a16_0x45741a(0x21d)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x45741a(0x1e0)),testHubConstants=require(a16_0x45741a(0x1ed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x45741a(0x232)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a16_0x45741a(0x1ea));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x45741a(0x20a)][a16_0x45741a(0x24a)]||process['env'][a16_0x45741a(0x1fe)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x1b43db){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x224)+util[a16_0x45741a(0x1fb)](a16_0x1b43db));}try{if(_bstackConfig&&!helper[a16_0x45741a(0x21a)](a16_0x45741a(0x20e))){const PGsYuc=a16_0x45741a(0x1fa)[a16_0x45741a(0x220)]('|');let XBLTfN=0x0;while(!![]){switch(PGsYuc[XBLTfN++]){case'0':global[a16_0x45741a(0x236)]=_bstackConfig['platformIndex'];continue;case'1':global['__platformCaps']=_bstackConfig[a16_0x45741a(0x23d)]||{};continue;case'2':helper[a16_0x45741a(0x226)]()?(global['__skipSessionName']=helper[a16_0x45741a(0x244)](_bstackConfig['skipSessionName']),global['__skipSessionStatus']=helper[a16_0x45741a(0x244)](_bstackConfig[a16_0x45741a(0x239)])):(global[a16_0x45741a(0x207)]=!![],global[a16_0x45741a(0x1ee)]=!![]);continue;case'3':logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1ef));continue;case'4':shouldProcessEventForTesthub()?require(a16_0x45741a(0x1c6))[a16_0x45741a(0x1cb)](_bstackConfig,null,!![]):require(a16_0x45741a(0x1c6))['browserstackAgentV2'](_bstackConfig);continue;}break;}}}catch(a16_0x3bf8b1){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x240)+util[a16_0x45741a(0x1fb)](a16_0x3bf8b1));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a16_0x45741a(0x1e6)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x38d30c=a16_0x45741a,_0x403774={'jUyFw':function(_0x474df7,_0x1e2185){return _0x474df7(_0x1e2185);},'oSdDM':_0x38d30c(0x219),'pUdbO':_0x38d30c(0x1c1),'WfylH':_0x38d30c(0x1f1)},_0x181843=Error[_0x38d30c(0x208)];try{const _0x3f13cf=new Error();Error[_0x38d30c(0x208)]=(_0x26b8b5,_0x2e19f4)=>_0x2e19f4;const _0xa69940=_0x3f13cf['stack'];Error['prepareStackTrace']=_0x181843;if(Array[_0x38d30c(0x1c2)](_0xa69940))for(const _0x48dd98 of _0xa69940){const _0x1aa152=_0x48dd98['getFileName']&&_0x48dd98[_0x38d30c(0x1ce)]();if(_0x1aa152&&!_0x1aa152[_0x38d30c(0x210)](_0x38d30c(0x223)+_0x403774[_0x38d30c(0x1ec)](require,_0x403774[_0x38d30c(0x1e9)])[_0x38d30c(0x1f8)]+_0x38d30c(0x237)+_0x403774[_0x38d30c(0x1ec)](require,_0x403774[_0x38d30c(0x1e9)])[_0x38d30c(0x1f8)])&&!_0x1aa152[_0x38d30c(0x1dc)](_0x403774[_0x38d30c(0x1e1)])&&!_0x1aa152[_0x38d30c(0x210)](_0x403774[_0x38d30c(0x1e4)]))return _0x1aa152;}}catch(_0x5d30ab){Error[_0x38d30c(0x208)]=_0x181843;}return null;},_wrappedDescribe=function(_0x4141ee,_0x5b56ee){const _0x9bc696=a16_0x45741a,_0x8c28de={'XaDao':function(_0x4a83ce){return _0x4a83ce();},'LlisS':function(_0x1434ba,_0x36956d){return _0x1434ba&&_0x36956d;},'GpUlM':function(_0x240074,_0x112cfc,_0x314bbe){return _0x240074(_0x112cfc,_0x314bbe);}};let _0x3ef692=null;try{_0x3ef692=_0x8c28de['XaDao'](_resolveCallerFile);}catch(_0x378568){}_describeTitleStack[_0x9bc696(0x23f)](_0x4141ee);const _0x317a7a=_describeTitleStack[_0x9bc696(0x1d9)]('\x20');_0x8c28de['LlisS'](_0x3ef692,_0x317a7a)&&(_fileNameByFullName[_0x317a7a]=_0x3ef692);try{return _0x8c28de[_0x9bc696(0x215)](_origDescribe,_0x4141ee,_0x5b56ee);}finally{_describeTitleStack[_0x9bc696(0x24c)]();}};Object[a16_0x45741a(0x21e)](_origDescribe)[a16_0x45741a(0x1ff)](_0x1fb0b4=>{_wrappedDescribe[_0x1fb0b4]=_origDescribe[_0x1fb0b4];}),global[a16_0x45741a(0x22a)]=_wrappedDescribe;}}catch(a16_0x5757e5){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x246)+util[a16_0x45741a(0x1fb)](a16_0x5757e5));}try{if(typeof jasmine!=='undefined'&&jasmine['getEnv']){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a16_0x4d8fc7={};a16_0x4d8fc7['fileNameByFullName']=_fileNameByFullName,jasmine[a16_0x45741a(0x1da)]()[a16_0x45741a(0x225)](new BrowserStackJasmineReporter(a16_0x4d8fc7)),logger['debug'](a16_0x45741a(0x245));}else logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1f3));}catch(a16_0x28e2ea){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1df)+util[a16_0x45741a(0x1fb)](a16_0x28e2ea));}function a16_0x179c(){const _0x4c050f=['pop','node:','isArray','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isMobilePlatform','bstackA11yShouldScan','../../index','message','fullName','warn','failed','browserstackAgentV2','FGXOx','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','getFileName','RHvad','__drivers','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','12732840JPnyvg','16OdkQun','Pwnlm','saveAccessibilityResultsWithRetry','util','iAZTv','mWpcC','join','getEnv','thJwtToken','startsWith','1746456RZEtpH','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','../../helpers/testhub/utils','pUdbO','isAccessibilityPlatform','stringify','WfylH','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','undefined','GcamG','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','oSdDM','./testRunMap','30999PwZKAw','jUyFw','../../helpers/testhub/constants','__skipSessionStatus','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jasmine-core','\x22}}','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','get','Passed','FHzJb','22hJIrAs','sep','YfYVD','3|4|1|0|2','format','getGlobal',',\x22level\x22:\x20\x22','CONFIG','forEach','ENV_VAR','__sessionFailed','roNjS','browserstackSessionName','3616522qlTYmH','hHNyL','is_mobile_session','__skipSessionName','prepareStackTrace','error','env','debug','markSessionStatus','Spec\x20failed','@playwright/test','parse','includes','executeScript','sessionNameSet__','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','jUdXH','GpUlM','DcPNw','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','6uAPIuP','path','getPackageVersion','6293518adfuJa','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','winstonLogger','keys','epkfL','split','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','setGlobal','bin','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','addReporter','isBrowserstackInfra','107974LMnBzg','17DavPIf','yppiu','describe','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','length','2017205iusdlU','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','9PRuVHR','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Vsdpp','../../helpers/accessibility-automation/helper','sessionName','function','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','browserstackPlatformIndex','jasmine','BROWSERSTACK_TESTHUB_UUID','skipSessionStatus','performScanWithRetry','XHmzv','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','platformCaps','MycEN','push','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','exports','failedExpectations','thBuildUuid','isTrue','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','WZjeU','bzznE','XMESk','BROWSERSTACK_JASMINE_CONFIG','32WXHfgI'];a16_0x179c=function(){return _0x4c050f;};return a16_0x179c();}try{typeof jasmine!==a16_0x45741a(0x1e6)&&jasmine['getEnv']&&jasmine[a16_0x45741a(0x1da)]()['addReporter']({'specStarted'(_0x4b49d4){const _0x4504f5=a16_0x45741a,_0x88b83a={};_0x88b83a[_0x4504f5(0x1cf)]=function(_0x587014,_0x48c3e5){return _0x587014||_0x48c3e5;};const _0x21df98=_0x88b83a;_activeResultId=_0x4b49d4&&_0x4b49d4['id'],_activeFullName=_0x4b49d4&&_0x4b49d4[_0x4504f5(0x1c8)],_activeResultRef=_0x21df98['RHvad'](_0x4b49d4,null);},'specDone'(){}});}catch(a16_0x38b679){logger[a16_0x45741a(0x20b)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x45741a(0x1fb)](a16_0x38b679));}const _resolveAutoScanning=()=>{const _0x586275=a16_0x45741a,_0x69fe55={};_0x69fe55[_0x586275(0x216)]=function(_0x5897c3,_0x1ecefe){return _0x5897c3===_0x1ecefe;};const _0x1d4502=_0x69fe55;let _0x33f92a=!![];try{const _0x8fd832=JSON[_0x586275(0x20f)](process[_0x586275(0x20a)][_0x586275(0x1f0)]||'{}');_0x1d4502['DcPNw'](_0x8fd832['autoScanning'],![])&&(_0x33f92a=![]);}catch(_0x316cbf){logger[_0x586275(0x20b)](_0x586275(0x213)+_0x316cbf[_0x586275(0x1c7)]);}return _0x33f92a;};function a16_0x36ee(_0x5e6759,_0x332645){const _0x179c79=a16_0x179c();return a16_0x36ee=function(_0x36ee06,_0x1d3ebe){_0x36ee06=_0x36ee06-0x1c1;let _0x491211=_0x179c79[_0x36ee06];return _0x491211;},a16_0x36ee(_0x5e6759,_0x332645);}try{typeof beforeEach===a16_0x45741a(0x234)&&beforeEach(function bstackA11yBeforeEach(){const _0x18989e=a16_0x45741a,_0x212176={'XHmzv':function(_0x3eb0ec){return _0x3eb0ec();},'hHNyL':function(_0x546f67,_0x1d8cb7,_0x14f180){return _0x546f67(_0x1d8cb7,_0x14f180);},'GcamG':function(_0x50d394,_0x49de1f){return _0x50d394&&_0x49de1f;},'HDLUE':_0x18989e(0x1c5),'YfYVD':'bstackA11yScanOptions'};try{const _0x5cd57c=_0x212176[_0x18989e(0x23b)](_resolveAutoScanning),_0x1f5046=_0x212176[_0x18989e(0x205)](shouldScanTestForAccessibility,null,![]),_0x20ded1=_0x212176[_0x18989e(0x1e7)](_0x5cd57c,_0x1f5046);globals[_0x18989e(0x222)](_0x212176['HDLUE'],_0x20ded1),globals[_0x18989e(0x222)](_0x212176[_0x18989e(0x1f9)],null);}catch(_0x4bf582){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x18989e(0x1fb)](_0x4bf582));}}),typeof afterEach===a16_0x45741a(0x234)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5e4853=a16_0x45741a,_0x1a5c70={'mWpcC':function(_0x55c51b,_0x112bc0){return _0x55c51b>_0x112bc0;},'MycEN':_0x5e4853(0x20d),'XMESk':function(_0x2c61de,_0x3628f1){return _0x2c61de+_0x3628f1;},'OlYZE':'Failed:\x20','bsdCh':_0x5e4853(0x1f5),'yHDrX':_0x5e4853(0x209),'Vsdpp':'info','jUdXH':_0x5e4853(0x1ca),'WTnaf':'passed','Pwnlm':function(_0x22e43d){return _0x22e43d();},'yppiu':_0x5e4853(0x1e2),'CtMHc':function(_0x3c7ff4,_0x36407b){return _0x3c7ff4>_0x36407b;},'WZjeU':_0x5e4853(0x1c5),'FGXOx':_0x5e4853(0x22e),'epkfL':_0x5e4853(0x1e5),'FHzJb':_0x5e4853(0x230),'bFwuE':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','iAZTv':_0x5e4853(0x1c4),'roNjS':_0x5e4853(0x217),'bzznE':_0x5e4853(0x1e8)};try{if(Array[_0x5e4853(0x1c2)](global[_0x5e4853(0x1d0)])&&_0x1a5c70[_0x5e4853(0x1d8)](global[_0x5e4853(0x1d0)][_0x5e4853(0x22c)],0x0)&&global[_0x5e4853(0x1d0)][0x0]){const _0x32d4b0=_activeFullName||global[_0x5e4853(0x233)];if(!global[_0x5e4853(0x207)]&&_0x32d4b0){global[_0x5e4853(0x233)]=_0x32d4b0;try{await global['__drivers'][0x0][_0x5e4853(0x211)](_0x5e4853(0x1c3)+JSON[_0x5e4853(0x1e3)](_0x32d4b0)+'}}'),global[_0x5e4853(0x1d0)][0x0][_0x5e4853(0x212)]=!![];}catch(_0x11a744){logger[_0x5e4853(0x20b)](_0x5e4853(0x1d1)+util[_0x5e4853(0x1fb)](_0x11a744));}}if(!global[_0x5e4853(0x1ee)])try{const _0x1a7180=_activeResultRef&&Array['isArray'](_activeResultRef[_0x5e4853(0x242)])?_activeResultRef[_0x5e4853(0x242)]:[],_0x1ff7b1=_0x1a5c70[_0x5e4853(0x1d8)](_0x1a7180[_0x5e4853(0x22c)],0x0),_0x4fd35c=_0x1ff7b1?_0x1a7180[0x0]&&_0x1a7180[0x0]['message']||_0x1a5c70[_0x5e4853(0x23e)]:null;try{await global[_0x5e4853(0x1d0)][0x0][_0x5e4853(0x211)](_0x5e4853(0x23c)+JSON[_0x5e4853(0x1e3)](_0x1ff7b1?_0x1a5c70[_0x5e4853(0x249)](_0x1a5c70['OlYZE'],_0x4fd35c):_0x1a5c70['bsdCh'])+_0x5e4853(0x1fd)+(_0x1ff7b1?_0x1a5c70['yHDrX']:_0x1a5c70[_0x5e4853(0x231)])+_0x5e4853(0x1f2));}catch(_0x93afe8){logger[_0x5e4853(0x20b)](_0x5e4853(0x235)+util[_0x5e4853(0x1fb)](_0x93afe8));}_0x1ff7b1&&(global[_0x5e4853(0x201)]=!![]),await helper[_0x5e4853(0x20c)](global[_0x5e4853(0x1d0)][0x0],_0x1ff7b1?_0x1a5c70[_0x5e4853(0x214)]:_0x1a5c70['WTnaf'],_0x4fd35c);}catch(_0x2e8338){logger[_0x5e4853(0x20b)](_0x5e4853(0x1cd)+util[_0x5e4853(0x1fb)](_0x2e8338));}}}catch(_0x5e2110){logger[_0x5e4853(0x20b)](_0x5e4853(0x22b)+util[_0x5e4853(0x1fb)](_0x5e2110));}try{if(_0x1a5c70[_0x5e4853(0x1d4)](isAccessibilityAutomationSession)&&globals[_0x5e4853(0x1fc)](_0x1a5c70[_0x5e4853(0x229)])&&Array['isArray'](global[_0x5e4853(0x1d0)])&&_0x1a5c70['CtMHc'](global[_0x5e4853(0x1d0)][_0x5e4853(0x22c)],0x0)&&global[_0x5e4853(0x1d0)][0x0]){const _0x40eb24=testRunMap[_0x5e4853(0x1f4)](_activeResultId),_0xdb1107={};_0xdb1107['thTestRunUuid']=_0x40eb24,_0xdb1107[_0x5e4853(0x243)]=process['env'][testHubConstants[_0x5e4853(0x200)][_0x5e4853(0x238)]],_0xdb1107[_0x5e4853(0x1db)]=process[_0x5e4853(0x20a)][testHubConstants[_0x5e4853(0x200)]['BROWSERSTACK_TESTHUB_JWT']];const _0x470929=_0xdb1107;logger['debug'](_0x5e4853(0x21c)+JSON[_0x5e4853(0x1e3)](_0x470929));if(globals[_0x5e4853(0x1fc)](_0x1a5c70[_0x5e4853(0x247)])){logger['debug'](_0x1a5c70[_0x5e4853(0x1cc)]);const _0x56d095=await accessibilityRetryHelper[_0x5e4853(0x23a)](global[_0x5e4853(0x1d0)][0x0],global[_0x5e4853(0x203)]);_0x56d095?logger[_0x5e4853(0x20b)](_0x1a5c70[_0x5e4853(0x21f)]):logger[_0x5e4853(0x1c9)](_0x1a5c70[_0x5e4853(0x1f6)]);}else logger[_0x5e4853(0x20b)](_0x1a5c70['bFwuE']);globals['getGlobal'](_0x1a5c70[_0x5e4853(0x1d7)])&&(_0x470929[_0x5e4853(0x206)]=!![]);const _0x4861c3=await accessibilityRetryHelper[_0x5e4853(0x1d5)](global[_0x5e4853(0x1d0)][0x0],_0x470929);_0x4861c3?logger[_0x5e4853(0x20b)](_0x1a5c70[_0x5e4853(0x202)]):logger['warn'](_0x1a5c70[_0x5e4853(0x248)]);}}catch(_0x139bc2){logger[_0x5e4853(0x209)](_0x5e4853(0x221)+util['format'](_0x139bc2));}});}catch(a16_0x1ecfb5){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1de)+util['format'](a16_0x1ecfb5));}module[a16_0x45741a(0x241)]={};
|
|
1
|
+
'use strict';const a16_0x2ed463=a16_0x4157;(function(_0x3f8f56,_0x5f4033){const _0x4d3f37=a16_0x4157,_0x438330=_0x3f8f56();while(!![]){try{const _0xba0e60=-parseInt(_0x4d3f37(0x171))/0x1*(-parseInt(_0x4d3f37(0x1ae))/0x2)+parseInt(_0x4d3f37(0x198))/0x3+parseInt(_0x4d3f37(0x180))/0x4*(-parseInt(_0x4d3f37(0x1a7))/0x5)+parseInt(_0x4d3f37(0x1c3))/0x6+-parseInt(_0x4d3f37(0x1bf))/0x7+-parseInt(_0x4d3f37(0x19a))/0x8*(parseInt(_0x4d3f37(0x1bd))/0x9)+parseInt(_0x4d3f37(0x1c1))/0xa;if(_0xba0e60===_0x5f4033)break;else _0x438330['push'](_0x438330['shift']());}catch(_0x2d1c17){_0x438330['push'](_0x438330['shift']());}}}(a16_0x51e8,0xe78e3));function a16_0x51e8(){const _0xc07791=['getFileName','is_mobile_session','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/globals','platformCaps','lDnQf','sessionNameSet__','PHjDd','util','getPackageVersion','split','__sessionFailed','bstackA11yShouldScan','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','mUVEd','tRavy','debug','BROWSERSTACK_JASMINE_CONFIG','Rieso','FjTzQ','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','Passed','sSSAs','HSZzl','uNAWX','describe','MWDdo','performScanWithRetry','env','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','1kkmYCI','failed','undefined','jasmine','CONFIG','BROWSERSTACK_TESTHUB_JWT','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','thTestRunUuid','__skipSessionStatus','BROWSERSTACK_TESTHUB_UUID','executeScript','jasmine-core','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','./testRunMap','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','4gLKhZq','format','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','sessionName','thBuildUuid','gEAiD','fullName','ENV_VAR','error','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','includes','OfsCT','setGlobal','saveAccessibilityResultsWithRetry','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','Daxfd','sep','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','warn','../../helpers/helper','@playwright/test','thJwtToken','__skipSessionName','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','2799375JBQcOo','../../helpers/accessibility-automation/accessibilityRetryHelper','464gBVJzE','get','FdFxF','passed','browserstackSessionName','isMobilePlatform','mjJfr','__platformCaps','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','browserstackAgentV2','Slkfj','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','getGlobal','5335790ERRwgW','NfIzj','BrwZF','isAccessibilityPlatform','isTrue','push','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','1306606lFbgAI','failedExpectations','skipSessionStatus','../../helpers/testhub/constants','addReporter','lOuaf','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','MxbuA','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','1|4|2|0|3','MMkSM','parse','../../index','AWfcH','84555fpIZKP','length','2871337ZdzaGT','join','3293310ajlxpj','path','6329706AcEwYN','browserstackPlatformIndex','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','skipSessionName','__drivers','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','./bstack-reporter/customReporter','VlJth','stack','info','function','getEnv','YzZsu','message','prepareStackTrace','stringify','bin','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','../../helpers/testhub/utils','../../helpers/logger','NpUrw','isArray'];a16_0x51e8=function(){return _0xc07791;};return a16_0x51e8();}function a16_0x4157(_0x459bff,_0x54ccb7){const _0x51e8d5=a16_0x51e8();return a16_0x4157=function(_0x41575c,_0x5ed4b3){_0x41575c=_0x41575c-0x164;let _0x5953e7=_0x51e8d5[_0x41575c];return _0x5953e7;},a16_0x4157(_0x459bff,_0x54ccb7);}const util=require(a16_0x2ed463(0x1e2)),logger=require(a16_0x2ed463(0x1d7))['winstonLogger'],helper=require(a16_0x2ed463(0x193)),globals=require(a16_0x2ed463(0x1dd)),{shouldProcessEventForTesthub}=require(a16_0x2ed463(0x1d6)),testHubConstants=require(a16_0x2ed463(0x1b1)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a16_0x2ed463(0x199)),testRunMap=require(a16_0x2ed463(0x17e));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x2ed463(0x16f)][a16_0x2ed463(0x164)]||process[a16_0x2ed463(0x16f)][a16_0x2ed463(0x175)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x2ed463(0x1ba)](rawConfig));}catch(a16_0x3e220f){logger['debug'](a16_0x2ed463(0x189)+util[a16_0x2ed463(0x181)](a16_0x3e220f));}try{if(_bstackConfig&&!helper[a16_0x2ed463(0x1e3)](a16_0x2ed463(0x194))){const KmIMXs=a16_0x2ed463(0x1b8)[a16_0x2ed463(0x1e4)]('|');let jWkDlx=0x0;while(!![]){switch(KmIMXs[jWkDlx++]){case'0':global[a16_0x2ed463(0x1c4)]=_bstackConfig['platformIndex'];continue;case'1':logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x18e));continue;case'2':global[a16_0x2ed463(0x1a1)]=_bstackConfig[a16_0x2ed463(0x1de)]||{};continue;case'3':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a16_0x2ed463(0x1ab)](_bstackConfig[a16_0x2ed463(0x1c7)]),global['__skipSessionStatus']=helper[a16_0x2ed463(0x1ab)](_bstackConfig[a16_0x2ed463(0x1b0)])):(global[a16_0x2ed463(0x196)]=!![],global[a16_0x2ed463(0x179)]=!![]);continue;case'4':shouldProcessEventForTesthub()?require(a16_0x2ed463(0x1bb))[a16_0x2ed463(0x1a3)](_bstackConfig,null,!![]):require(a16_0x2ed463(0x1bb))[a16_0x2ed463(0x1a3)](_bstackConfig);continue;}break;}}}catch(a16_0x38b305){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x1ad)+util[a16_0x2ed463(0x181)](a16_0x38b305));}const _fileNameByFullName={};try{if(typeof describe===a16_0x2ed463(0x1ce)&&typeof global!==a16_0x2ed463(0x173)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x118bbd=a16_0x2ed463,_0x53a36d={'NpUrw':function(_0x471838,_0x309fe3){return _0x471838(_0x309fe3);},'BrwZF':_0x118bbd(0x1c2),'ZoSUt':function(_0x1a3a22,_0x1bf57b){return _0x1a3a22(_0x1bf57b);},'lDnQf':'node:','Hkdha':_0x118bbd(0x17c)},_0x55db17=Error['prepareStackTrace'];try{const _0x5baa7e=new Error();Error['prepareStackTrace']=(_0x3bee2f,_0x2782b6)=>_0x2782b6;const _0x41989b=_0x5baa7e[_0x118bbd(0x1cc)];Error['prepareStackTrace']=_0x55db17;if(Array[_0x118bbd(0x1d9)](_0x41989b))for(const _0x5da359 of _0x41989b){const _0x1371a3=_0x5da359[_0x118bbd(0x1da)]&&_0x5da359['getFileName']();if(_0x1371a3&&!_0x1371a3[_0x118bbd(0x18a)](_0x118bbd(0x1d4)+_0x53a36d[_0x118bbd(0x1d8)](require,_0x53a36d[_0x118bbd(0x1a9)])[_0x118bbd(0x190)]+_0x118bbd(0x174)+_0x53a36d['ZoSUt'](require,_0x53a36d['BrwZF'])['sep'])&&!_0x1371a3['startsWith'](_0x53a36d[_0x118bbd(0x1df)])&&!_0x1371a3[_0x118bbd(0x18a)](_0x53a36d['Hkdha']))return _0x1371a3;}}catch(_0x39f579){Error[_0x118bbd(0x1d2)]=_0x55db17;}return null;},_wrappedDescribe=function(_0x298d4d,_0x259765){const _0x4088e3=a16_0x2ed463,_0x45ba52={'lOuaf':function(_0x42de73){return _0x42de73();},'AWfcH':function(_0x1a1006,_0x52492c){return _0x1a1006&&_0x52492c;},'uBPdJ':function(_0x51e000,_0x3f9a45,_0x3e6c32){return _0x51e000(_0x3f9a45,_0x3e6c32);}};let _0x57bde2=null;try{_0x57bde2=_0x45ba52[_0x4088e3(0x1b3)](_resolveCallerFile);}catch(_0x465d89){}_describeTitleStack[_0x4088e3(0x1ac)](_0x298d4d);const _0x5d346a=_describeTitleStack[_0x4088e3(0x1c0)]('\x20');_0x45ba52[_0x4088e3(0x1bc)](_0x57bde2,_0x5d346a)&&(_fileNameByFullName[_0x5d346a]=_0x57bde2);try{return _0x45ba52['uBPdJ'](_origDescribe,_0x298d4d,_0x259765);}finally{_describeTitleStack['pop']();}};Object['keys'](_origDescribe)['forEach'](_0x1b243c=>{_wrappedDescribe[_0x1b243c]=_origDescribe[_0x1b243c];}),global[a16_0x2ed463(0x16c)]=_wrappedDescribe;}}catch(a16_0x141ad7){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x1b4)+util[a16_0x2ed463(0x181)](a16_0x141ad7));}try{if(typeof jasmine!==a16_0x2ed463(0x173)&&jasmine[a16_0x2ed463(0x1cf)]){const BrowserStackJasmineReporter=require(a16_0x2ed463(0x1ca)),a16_0x413f2c={};a16_0x413f2c[a16_0x2ed463(0x1c5)]=_fileNameByFullName,jasmine[a16_0x2ed463(0x1cf)]()[a16_0x2ed463(0x1b2)](new BrowserStackJasmineReporter(a16_0x413f2c)),logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x170));}else logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x167));}catch(a16_0x24d74b){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x182)+util[a16_0x2ed463(0x181)](a16_0x24d74b));}try{typeof jasmine!==a16_0x2ed463(0x173)&&jasmine[a16_0x2ed463(0x1cf)]&&jasmine[a16_0x2ed463(0x1cf)]()[a16_0x2ed463(0x1b2)]({'specStarted'(_0x21f86e){const _0x2f1291=a16_0x2ed463,_0x567588={};_0x567588[_0x2f1291(0x1a8)]=function(_0x316076,_0xe806ba){return _0x316076||_0xe806ba;};const _0x4aa5d5=_0x567588;_activeResultId=_0x21f86e&&_0x21f86e['id'],_activeFullName=_0x21f86e&&_0x21f86e[_0x2f1291(0x186)],_activeResultRef=_0x4aa5d5['NfIzj'](_0x21f86e,null);},'specDone'(){}});}catch(a16_0x162774){logger['debug'](a16_0x2ed463(0x197)+util[a16_0x2ed463(0x181)](a16_0x162774));}const _resolveAutoScanning=()=>{const _0x4c0f7c=a16_0x2ed463,_0x1b67c3={};_0x1b67c3[_0x4c0f7c(0x1e8)]=function(_0x3c00f1,_0x34b050){return _0x3c00f1===_0x34b050;};const _0x195489=_0x1b67c3;let _0x22262f=!![];try{const _0x1aeea7=JSON['parse'](process[_0x4c0f7c(0x16f)][_0x4c0f7c(0x1dc)]||'{}');_0x195489['mUVEd'](_0x1aeea7['autoScanning'],![])&&(_0x22262f=![]);}catch(_0x156fbd){logger[_0x4c0f7c(0x1ea)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x156fbd['message']);}return _0x22262f;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x1c0822=a16_0x2ed463,_0xec0c7b={'Rieso':function(_0x44c474){return _0x44c474();},'tRavy':function(_0x3e7d2c,_0x222026,_0x263e2a){return _0x3e7d2c(_0x222026,_0x263e2a);},'MMkSM':function(_0xc2e94a,_0xcd0497){return _0xc2e94a&&_0xcd0497;},'PHjDd':_0x1c0822(0x1e6),'shHBy':'bstackA11yScanOptions'};try{const _0x2229e4=_0xec0c7b[_0x1c0822(0x165)](_resolveAutoScanning),_0xdeaaba=_0xec0c7b[_0x1c0822(0x1e9)](shouldScanTestForAccessibility,null,![]),_0x1ba5f0=_0xec0c7b[_0x1c0822(0x1b9)](_0x2229e4,_0xdeaaba);globals['setGlobal'](_0xec0c7b[_0x1c0822(0x1e1)],_0x1ba5f0),globals[_0x1c0822(0x18c)](_0xec0c7b['shHBy'],null);}catch(_0x45335d){logger['debug'](_0x1c0822(0x1c6)+util[_0x1c0822(0x181)](_0x45335d));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x296caa=a16_0x2ed463,_0x54d14d={'OfzEI':function(_0x388686,_0x259faf){return _0x388686>_0x259faf;},'uNAWX':function(_0x5ab041,_0x2a5e1b){return _0x5ab041>_0x2a5e1b;},'vjylE':'Spec\x20failed','mjJfr':function(_0x3179c3,_0x2e7ac9){return _0x3179c3+_0x2e7ac9;},'Daxfd':'Failed:\x20','OfsCT':_0x296caa(0x168),'hXfii':_0x296caa(0x188),'VlJth':_0x296caa(0x1cd),'YzZsu':_0x296caa(0x172),'sSSAs':_0x296caa(0x19d),'HSZzl':function(_0x353eba){return _0x353eba();},'FGOpN':_0x296caa(0x1aa),'hTSSu':function(_0x3db63b,_0x219de9){return _0x3db63b>_0x219de9;},'TPjFA':_0x296caa(0x1e6),'FdFxF':_0x296caa(0x1b6),'Slkfj':_0x296caa(0x177),'FjTzQ':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','gEAiD':_0x296caa(0x1e7),'ePuiy':_0x296caa(0x19f),'MxbuA':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','MWDdo':_0x296caa(0x1b7)};try{if(Array[_0x296caa(0x1d9)](global[_0x296caa(0x1c8)])&&_0x54d14d['OfzEI'](global[_0x296caa(0x1c8)]['length'],0x0)&&global[_0x296caa(0x1c8)][0x0]){const _0x2b832b=_activeFullName||global[_0x296caa(0x183)];if(!global['__skipSessionName']&&_0x2b832b){global[_0x296caa(0x183)]=_0x2b832b;try{await global[_0x296caa(0x1c8)][0x0][_0x296caa(0x17b)](_0x296caa(0x191)+JSON[_0x296caa(0x1d3)](_0x2b832b)+'}}'),global['__drivers'][0x0][_0x296caa(0x1e0)]=!![];}catch(_0x120ab8){logger['debug'](_0x296caa(0x1a5)+util[_0x296caa(0x181)](_0x120ab8));}}if(!global[_0x296caa(0x179)])try{const _0x33484c=_activeResultRef&&Array[_0x296caa(0x1d9)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x296caa(0x1af)]:[],_0x6de235=_0x54d14d[_0x296caa(0x16b)](_0x33484c['length'],0x0),_0x5d4a94=_0x6de235?_0x33484c[0x0]&&_0x33484c[0x0][_0x296caa(0x1d1)]||_0x54d14d['vjylE']:null;try{await global[_0x296caa(0x1c8)][0x0][_0x296caa(0x17b)](_0x296caa(0x17d)+JSON[_0x296caa(0x1d3)](_0x6de235?_0x54d14d[_0x296caa(0x1a0)](_0x54d14d[_0x296caa(0x18f)],_0x5d4a94):_0x54d14d[_0x296caa(0x18b)])+',\x22level\x22:\x20\x22'+(_0x6de235?_0x54d14d['hXfii']:_0x54d14d[_0x296caa(0x1cb)])+'\x22}}');}catch(_0x4e79de){logger[_0x296caa(0x1ea)](_0x296caa(0x1d5)+util[_0x296caa(0x181)](_0x4e79de));}_0x6de235&&(global[_0x296caa(0x1e5)]=!![]),await helper['markSessionStatus'](global[_0x296caa(0x1c8)][0x0],_0x6de235?_0x54d14d[_0x296caa(0x1d0)]:_0x54d14d[_0x296caa(0x169)],_0x5d4a94);}catch(_0x1bad07){logger[_0x296caa(0x1ea)](_0x296caa(0x1c9)+util[_0x296caa(0x181)](_0x1bad07));}}}catch(_0x5c0d0b){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x5c0d0b));}try{if(_0x54d14d[_0x296caa(0x16a)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x54d14d['FGOpN'])&&Array['isArray'](global[_0x296caa(0x1c8)])&&_0x54d14d['hTSSu'](global['__drivers'][_0x296caa(0x1be)],0x0)&&global['__drivers'][0x0]){const _0x2aa877=testRunMap[_0x296caa(0x19b)](_activeResultId),_0x32b401={};_0x32b401[_0x296caa(0x178)]=_0x2aa877,_0x32b401[_0x296caa(0x184)]=process[_0x296caa(0x16f)][testHubConstants[_0x296caa(0x187)][_0x296caa(0x17a)]],_0x32b401[_0x296caa(0x195)]=process[_0x296caa(0x16f)][testHubConstants['ENV_VAR'][_0x296caa(0x176)]];const _0x5566d6=_0x32b401;logger['debug'](_0x296caa(0x17f)+JSON[_0x296caa(0x1d3)](_0x5566d6));if(globals[_0x296caa(0x1a6)](_0x54d14d['TPjFA'])){logger['debug'](_0x54d14d[_0x296caa(0x19c)]);const _0x18484c=await accessibilityRetryHelper[_0x296caa(0x16e)](global['__drivers'][0x0],global[_0x296caa(0x19e)]);_0x18484c?logger['debug'](_0x54d14d[_0x296caa(0x1a4)]):logger[_0x296caa(0x192)](_0x54d14d[_0x296caa(0x166)]);}else logger[_0x296caa(0x1ea)](_0x54d14d[_0x296caa(0x185)]);globals[_0x296caa(0x1a6)](_0x54d14d['ePuiy'])&&(_0x5566d6[_0x296caa(0x1db)]=!![]);const _0x55f33f=await accessibilityRetryHelper[_0x296caa(0x18d)](global['__drivers'][0x0],_0x5566d6);_0x55f33f?logger[_0x296caa(0x1ea)](_0x54d14d[_0x296caa(0x1b5)]):logger[_0x296caa(0x192)](_0x54d14d[_0x296caa(0x16d)]);}}catch(_0x3d4638){logger[_0x296caa(0x188)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x296caa(0x181)](_0x3d4638));}});}catch(a16_0x628105){logger['debug'](a16_0x2ed463(0x1a2)+util['format'](a16_0x628105));}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a17_0xb0c55b=a17_0x56a6;(function(_0x2c8bac,_0x4afb31){const _0x4c4967=a17_0x56a6,_0x8c1720=_0x2c8bac();while(!![]){try{const _0x13335c=parseInt(_0x4c4967(0x1ec))/0x1+parseInt(_0x4c4967(0x1e4))/0x2+-parseInt(_0x4c4967(0x1e9))/0x3+-parseInt(_0x4c4967(0x1e6))/0x4+-parseInt(_0x4c4967(0x1f0))/0x5*(parseInt(_0x4c4967(0x1ef))/0x6)+parseInt(_0x4c4967(0x1ed))/0x7+parseInt(_0x4c4967(0x1e5))/0x8*(parseInt(_0x4c4967(0x1e1))/0x9);if(_0x13335c===_0x4afb31)break;else _0x8c1720['push'](_0x8c1720['shift']());}catch(_0x51f3aa){_0x8c1720['push'](_0x8c1720['shift']());}}}(a17_0x2907,0x27b7f));const _specUuidById=new Map();function a17_0x56a6(_0x26fb87,_0x3adbc2){const _0x29073a=a17_0x2907();return a17_0x56a6=function(_0x56a622,_0x529800){_0x56a622=_0x56a622-0x1e1;let _0x24e9e2=_0x29073a[_0x56a622];return _0x24e9e2;},a17_0x56a6(_0x26fb87,_0x3adbc2);}exports[a17_0xb0c55b(0x1eb)]=(_0x116ea7,_0x2c489d)=>{const _0xdd74c1=a17_0xb0c55b,_0x5a7d44={};_0x5a7d44[_0xdd74c1(0x1ea)]=function(_0x995b2b,_0x57023f){return _0x995b2b===_0x57023f;};const _0x2de16e=_0x5a7d44;if(_0x2de16e[_0xdd74c1(0x1ea)](_0x116ea7,undefined)||_0x2de16e[_0xdd74c1(0x1ea)](_0x116ea7,null))return;_specUuidById['set'](_0x116ea7,_0x2c489d);},exports['get']=_0x205aac=>{const _0x30f8b2=a17_0xb0c55b,_0x4dbb54={};_0x4dbb54[_0x30f8b2(0x1e2)]=function(_0x71e18,_0x2fc8ec){return _0x71e18===_0x2fc8ec;};const _0x56cc3a=_0x4dbb54;if(_0x56cc3a[_0x30f8b2(0x1e2)](_0x205aac,undefined)||_0x56cc3a[_0x30f8b2(0x1e2)](_0x205aac,null))return undefined;return _specUuidById[_0x30f8b2(0x1e3)](_0x205aac);},exports['remove']=_0x565fc0=>{const _0xd1685=a17_0xb0c55b,_0x3fc817={};_0x3fc817['fmvAE']=function(_0x2e6676,_0x558e6e){return _0x2e6676===_0x558e6e;};const _0xb1eba4=_0x3fc817;if(_0xb1eba4[_0xd1685(0x1e8)](_0x565fc0,undefined)||_0xb1eba4[_0xd1685(0x1e8)](_0x565fc0,null))return;_specUuidById['delete'](_0x565fc0);},exports[a17_0xb0c55b(0x1e7)]=()=>_specUuidById[a17_0xb0c55b(0x1ee)];function a17_0x2907(){const _0x3b50c3=['258306oxysCk','ssRHA','set','20581PXfmmG','752374PXFdss','size','114zuWEMJ','64035mHvkdr','3969441hGeEPL','bZRLV','get','343266ukSayP','8TzkXwH','994492YchUmu','_size','fmvAE'];a17_0x2907=function(){return _0x3b50c3;};return a17_0x2907();}
|