browserstack-node-sdk 1.63.0 → 1.63.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x32a6f2=a10_0x38f4;(function(_0x53cb4a,_0x4170d3){const _0x241432=a10_0x38f4,_0x398972=_0x53cb4a();while(!![]){try{const _0x4264e1=parseInt(_0x241432(0x12d))/0x1+parseInt(_0x241432(0x141))/0x2*(-parseInt(_0x241432(0x11e))/0x3)+parseInt(_0x241432(0x154))/0x4+parseInt(_0x241432(0x144))/0x5*(parseInt(_0x241432(0x13b))/0x6)+-parseInt(_0x241432(0x130))/0x7+parseInt(_0x241432(0x129))/0x8+parseInt(_0x241432(0x13e))/0x9;if(_0x4264e1===_0x4170d3)break;else _0x398972['push'](_0x398972['shift']());}catch(_0x112df1){_0x398972['push'](_0x398972['shift']());}}}(a10_0x4c6d,0xcabdf));function a10_0x38f4(_0x26331d,_0xa4ff82){const _0x4c6d80=a10_0x4c6d();return a10_0x38f4=function(_0x38f4e2,_0x188b4f){_0x38f4e2=_0x38f4e2-0x11b;let _0x526af8=_0x4c6d80[_0x38f4e2];return _0x526af8;},a10_0x38f4(_0x26331d,_0xa4ff82);}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x32a6f2(0x149)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x32a6f2(0x11d),a10_0x32a6f2(0x122)),logger=require(a10_0x32a6f2(0x14b))[a10_0x32a6f2(0x128)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x32a6f2(0x134)],After=cucumberModule[a10_0x32a6f2(0x135)],configuration=process[a10_0x32a6f2(0x14e)][a10_0x32a6f2(0x152)];if(configuration!==undefined){const config=JSON[a10_0x32a6f2(0x151)](configuration);isTrue(config[a10_0x32a6f2(0x13f)])&&(global[a10_0x32a6f2(0x13a)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x32a6f2(0x121)]),require(a10_0x32a6f2(0x157))[a10_0x32a6f2(0x140)](config),global[a10_0x32a6f2(0x14c)]=config[a10_0x32a6f2(0x14f)]||{};}global[a10_0x32a6f2(0x131)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x32a6f2(0x12a)];cucumberModule[a10_0x32a6f2(0x12a)]=_0x51f363=>{const _0x4823c0=a10_0x32a6f2,_0x54025b={'otuIY':function(_0x561fe7,_0xeba852){return _0x561fe7(_0xeba852);}};global['__timeout']=_0x51f363,_0x54025b[_0x4823c0(0x146)](__setDefaultTimeout,_0x51f363);};const a10_0xde8aa9={};function a10_0x4c6d(){const _0x2f5de1=['debug','name','cucumber/lib/index.js','1587135ilmihP','xNIMY','__error_messages__','skipSessionStatus','cucumber','result','__driver','arguments','kWxMA','failed','winstonLogger','2473504ZlpyJG','setDefaultTimeout','passed','zdEMi','128470DyUlaG','bstack','okxCf','5888918QHtNxD','__timeout','dIKkh','executeScript','Before','After','initQuit','\x20|\x20','KJstd','Error:\x20quiting\x20at\x20After:\x20','__skipSessionName','30UmKvkd','stringify','session_','15057441UbxbMW','skipSessionName','browserstackAgentV2','6imSGJk','status','ODoHZ','675850Ehfqfu','QogVv','otuIY','setSessionName','oNQlI','../../helpers/helper','pickle','../../helpers/logger','__platformCaps','Inside\x20browserstack\x20Before','env','platformCaps','then','parse','CONFIG','timeout','1889132nRPrsN','toLowerCase','uaClF','../../index','Inside\x20browserstack\x20After'];a10_0x4c6d=function(){return _0x2f5de1;};return a10_0x4c6d();}a10_0xde8aa9[a10_0x32a6f2(0x11c)]=a10_0x32a6f2(0x12e),Before(a10_0xde8aa9,function(){const _0x5e4448=a10_0x32a6f2,_0x1ae812={};_0x1ae812[_0x5e4448(0x11f)]=_0x5e4448(0x14d);const _0x56a06d=_0x1ae812;logger[_0x5e4448(0x11b)](_0x56a06d[_0x5e4448(0x11f)]),global[_0x5e4448(0x120)]=[];});const a10_0x379353={};a10_0x379353[a10_0x32a6f2(0x11c)]='bstack',a10_0x379353[a10_0x32a6f2(0x153)]=0x2710,After(a10_0x379353,function(_0x47e1d5,_0xc2e6a3){const _0x57e3e3=a10_0x32a6f2,_0x38df11={'oNQlI':_0x57e3e3(0x147),'QogVv':function(_0x50dc00,_0x1a699c){return _0x50dc00===_0x1a699c;},'ODoHZ':_0x57e3e3(0x127),'dIKkh':function(_0x15348e,_0x12b89c,_0x35addd,_0x4f7542){return _0x15348e(_0x12b89c,_0x35addd,_0x4f7542);},'okxCf':_0x57e3e3(0x137),'kWxMA':function(_0x270568,_0x58a08a,_0xbea220){return _0x270568(_0x58a08a,_0xbea220);},'PgrOk':_0x57e3e3(0x12b),'AsnYN':function(_0x58baa4){return _0x58baa4();},'zdEMi':function(_0x4816f9,_0x5ac703){return _0x4816f9(_0x5ac703);},'uaClF':function(_0x1c140f){return _0x1c140f();},'KJstd':_0x57e3e3(0x158)};logger[_0x57e3e3(0x11b)](_0x38df11[_0x57e3e3(0x138)]),new Promise(async(_0x5d4b46,_0x3cc9ef)=>{const _0x56de5d=_0x57e3e3;let _0x4384b2=![];try{await global[_0x56de5d(0x124)][_0x56de5d(0x13d)],_0x4384b2=!![];if(!global[_0x56de5d(0x13a)]){const _0x8f5c6e={};_0x8f5c6e[_0x56de5d(0x11c)]=_0x47e1d5[_0x56de5d(0x14a)]['name'];const _0x2c53a0={};_0x2c53a0['action']=_0x38df11[_0x56de5d(0x148)],_0x2c53a0[_0x56de5d(0x125)]=_0x8f5c6e;const _0x59cf19=_0x2c53a0;await global[_0x56de5d(0x124)][_0x56de5d(0x133)]('browserstack_executor:\x20'+JSON[_0x56de5d(0x13c)](_0x59cf19));}_0x38df11[_0x56de5d(0x145)](_0x47e1d5[_0x56de5d(0x123)][_0x56de5d(0x142)][_0x56de5d(0x155)](),_0x38df11[_0x56de5d(0x143)])?await _0x38df11[_0x56de5d(0x132)](markSessionStatus,global['__driver'],_0x38df11['ODoHZ'],global['__error_messages__']['join'](_0x38df11[_0x56de5d(0x12f)])):await _0x38df11[_0x56de5d(0x126)](markSessionStatus,global[_0x56de5d(0x124)],_0x38df11['PgrOk']);}catch(_0x545b25){logger[_0x56de5d(0x11b)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x545b25);}if(_0x4384b2)try{await global[_0x56de5d(0x124)][_0x56de5d(0x136)](),_0x38df11['AsnYN'](_0x5d4b46);}catch(_0xc1caf5){logger['debug'](_0x56de5d(0x139)+_0xc1caf5),_0x38df11[_0x56de5d(0x12c)](_0x3cc9ef,_0xc1caf5);}else _0x38df11[_0x56de5d(0x156)](_0x3cc9ef);})[_0x57e3e3(0x150)](()=>_0xc2e6a3());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x4d96f1=a11_0x3b15;function a11_0x195c(){const _0x2b8e0d=['2118760qvnmEv','@cucumber/cucumber','27SEhIVq','5hKHtNL','5836GWnYBj','@cucumber/cucumber/lib/index.js','1200335XcWmsW','5984680RHCHhD','3459484wGlgtM','BSTACK_DELTA','cucumber/lib/index.js','2196nnVMLF','cucumber','1797720TzFIkr','2676378fboSHt'];a11_0x195c=function(){return _0x2b8e0d;};return a11_0x195c();}(function(_0x1bd15d,_0x106c57){const _0x3b0110=a11_0x3b15,_0x54c538=_0x1bd15d();while(!![]){try{const _0x2a5640=parseInt(_0x3b0110(0x1ec))/0x1+parseInt(_0x3b0110(0x1e4))/0x2+parseInt(_0x3b0110(0x1e2))/0x3*(-parseInt(_0x3b0110(0x1ea))/0x4)+-parseInt(_0x3b0110(0x1e9))/0x5*(-parseInt(_0x3b0110(0x1e5))/0x6)+-parseInt(_0x3b0110(0x1ee))/0x7+parseInt(_0x3b0110(0x1e6))/0x8*(-parseInt(_0x3b0110(0x1e8))/0x9)+parseInt(_0x3b0110(0x1ed))/0xa;if(_0x2a5640===_0x106c57)break;else _0x54c538['push'](_0x54c538['shift']());}catch(_0x26750c){_0x54c538['push'](_0x54c538['shift']());}}}(a11_0x195c,0xc022f));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');let cucumberModule=null;function a11_0x3b15(_0x51b6c8,_0x3b14f2){const _0x195ced=a11_0x195c();return a11_0x3b15=function(_0x3b15ac,_0x4b1c15){_0x3b15ac=_0x3b15ac-0x1e2;let _0x150f42=_0x195ced[_0x3b15ac];return _0x150f42;},a11_0x3b15(_0x51b6c8,_0x3b14f2);}try{cucumberModule=requireModule(a11_0x4d96f1(0x1eb),a11_0x4d96f1(0x1e7));}catch(a11_0x39696a){cucumberModule=requireModule(a11_0x4d96f1(0x1f0),a11_0x4d96f1(0x1e3));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants[a11_0x4d96f1(0x1ef)])&&cucumberModule['setDefaultTimeout'](constants[a11_0x4d96f1(0x1ef)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x1f0ceb=a12_0x337a;function a12_0x1404(){const _0x21661f=['./constants','every','missing','72wUkIdT','footer','https','../../helpers/logger','command','50MJRxlo','oyTsH','51244GmyjCN','206793cbBKCI','bstackAccessKey','Connection\x20established\x20successfully.','hUBdk','toString','31rsZgeq','invalid','UzwIx','integrations-repeater','JuRHb','Hosts\x20not\x20valid','epilogue','setProxySettings','integrations','help','port','describe','614400zgfqNJ','options','hosts','type','Failed\x20to\x20establish\x20connection.','yOVju','trim','vdgwK','exports','443','Nbobz','replace','only','15068xOAKGD','gJrWc','protocol','687617xmojVz','config','accessKey','WdGbY','setupBrowserstackLocal','kiNaK','usage','1086798nYRzNY','nizVO','bstackAccesskey','split','localIdentifier','error','demandOption','connect','url','bstack-accesskey','xwiAh','2473950ciHaXK','browserstackLocal','ZZcLq','pxwzA','BIYjv','undefined','11sQIeEN','info','browserStackLocalOptions','CFsdr'];a12_0x1404=function(){return _0x21661f;};return a12_0x1404();}(function(_0x4ffe8e,_0x7b67c1){const _0x339eee=a12_0x337a,_0x19b2ac=_0x4ffe8e();while(!![]){try{const _0xf2b74e=parseInt(_0x339eee(0x1c1))/0x1*(-parseInt(_0x339eee(0x1da))/0x2)+-parseInt(_0x339eee(0x1e4))/0x3+-parseInt(_0x339eee(0x1bb))/0x4*(-parseInt(_0x339eee(0x1b9))/0x5)+parseInt(_0x339eee(0x1cd))/0x6+parseInt(_0x339eee(0x1dd))/0x7+parseInt(_0x339eee(0x1fc))/0x8*(parseInt(_0x339eee(0x1bc))/0x9)+-parseInt(_0x339eee(0x1ef))/0xa*(-parseInt(_0x339eee(0x1f5))/0xb);if(_0xf2b74e===_0x7b67c1)break;else _0x19b2ac['push'](_0x19b2ac['shift']());}catch(_0x1abb89){_0x19b2ac['push'](_0x19b2ac['shift']());}}}(a12_0x1404,0x2dae5));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x1f0ceb(0x1b7))['winstonLogger'],{URL}=require(a12_0x1f0ceb(0x1ec)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1f0ceb(0x1f9)),validHosts=function(_0x51e29d){const _0x57fd79=a12_0x1f0ceb;return _0x51e29d[_0x57fd79(0x1e7)](',')[_0x57fd79(0x1fa)](_0x1b96d9=>{const _0x2de591=_0x57fd79;try{new URL(_0x1b96d9[_0x2de591(0x1d3)]());}catch(_0x5f308c){return![];}return!![];});},parseOnPremHosts=function(_0x484c68){const _0x1339b0=a12_0x1f0ceb,_0x48aaf9={};_0x48aaf9['tkHee']=function(_0x260c1,_0x174fa2){return _0x260c1===_0x174fa2;},_0x48aaf9[_0x1339b0(0x1f3)]='https:',_0x48aaf9[_0x1339b0(0x1e5)]=_0x1339b0(0x1d6),_0x48aaf9[_0x1339b0(0x1e0)]=function(_0x3e0b52,_0x322a08){return _0x3e0b52===_0x322a08;},_0x48aaf9[_0x1339b0(0x1c3)]=_0x1339b0(0x1b6);const _0x4e83e7=_0x48aaf9;return _0x484c68[_0x1339b0(0x1e7)](',')['map'](_0x3bf1f2=>{const _0x5b57ae=_0x1339b0,_0x3b0f40=new URL(_0x3bf1f2[_0x5b57ae(0x1d3)]()),_0x5e818c=_0x3b0f40['hostname'],_0x1c0f45=_0x3b0f40[_0x5b57ae(0x1cb)]||(_0x4e83e7['tkHee'](_0x3b0f40['protocol'],_0x4e83e7['BIYjv'])?_0x4e83e7['nizVO']:'80'),_0x5a4512=_0x3b0f40[_0x5b57ae(0x1dc)][_0x5b57ae(0x1d8)](':',''),_0x329215=_0x4e83e7[_0x5b57ae(0x1e0)](_0x5a4512,_0x4e83e7[_0x5b57ae(0x1c3)])?0x1:0x0;return _0x5e818c+','+_0x1c0f45+','+_0x329215;});},connectCommandBuilder=function(_0x31c3b7){const _0x25ae6b=a12_0x1f0ceb,_0x164e9f={};_0x164e9f[_0x25ae6b(0x1bf)]='string';const _0x3fda20=_0x164e9f,_0x14f85a={};_0x14f85a[_0x25ae6b(0x1cc)]=HELP_MESSAGES[_0x25ae6b(0x1ce)][_0x25ae6b(0x1bd)],_0x14f85a[_0x25ae6b(0x1d0)]=_0x3fda20[_0x25ae6b(0x1bf)];const _0x289546={};_0x289546[_0x25ae6b(0x1cc)]=HELP_MESSAGES[_0x25ae6b(0x1ce)][_0x25ae6b(0x1cf)],_0x289546['type']=_0x3fda20['hUBdk'],_0x289546[_0x25ae6b(0x1ea)]=!![];const _0x36d49a={};return _0x36d49a[_0x25ae6b(0x1ed)]=_0x14f85a,_0x36d49a[_0x25ae6b(0x1cf)]=_0x289546,_0x31c3b7[_0x25ae6b(0x1ce)](_0x36d49a);},connectCommandHandler=async function(_0x6062b7){const _0x44a2d2=a12_0x1f0ceb,_0x5d2261={'CFsdr':_0x44a2d2(0x1c9),'xwiAh':function(_0x57b4ab,_0x4058a3){return _0x57b4ab===_0x4058a3;},'QZAhr':_0x44a2d2(0x1f4),'ZZcLq':'BrowserStack\x20access\x20key\x20missing.','yOVju':'Integration\x20hosts\x20missing.','gJrWc':function(_0x76279f,_0x5bb86a){return _0x76279f(_0x5bb86a);},'pxwzA':_0x44a2d2(0x1c6),'oyTsH':_0x44a2d2(0x1c4),'JuRHb':_0x44a2d2(0x1be),'vdgwK':_0x44a2d2(0x1d1)};try{const _0x1419a9=new BrowserStackSetup(_0x6062b7,_0x5d2261[_0x44a2d2(0x1f8)]);_0x6062b7[_0x44a2d2(0x1e6)]&&(_0x1419a9[_0x44a2d2(0x1de)][_0x44a2d2(0x1df)]=_0x6062b7[_0x44a2d2(0x1e6)]);if(_0x5d2261[_0x44a2d2(0x1ee)](typeof _0x1419a9['config'][_0x44a2d2(0x1df)],_0x5d2261['QZAhr'])){logger['error'](_0x5d2261[_0x44a2d2(0x1f1)]);throw new Error(ERROR_MESSAGES[_0x44a2d2(0x1bd)]['missing']);}const _0x1c118e=_0x6062b7['hosts'];if(_0x5d2261['xwiAh'](typeof _0x1c118e,_0x5d2261['QZAhr'])){logger[_0x44a2d2(0x1e9)](_0x5d2261[_0x44a2d2(0x1d2)]);throw new Error(ERROR_MESSAGES['hosts'][_0x44a2d2(0x1fb)]);}if(!_0x5d2261[_0x44a2d2(0x1db)](validHosts,_0x1c118e)){logger[_0x44a2d2(0x1e9)](_0x5d2261[_0x44a2d2(0x1f2)]);throw new Error(ERROR_MESSAGES[_0x44a2d2(0x1cf)][_0x44a2d2(0x1c2)]);}const _0xa25e9=_0x5d2261['gJrWc'](parseOnPremHosts,_0x1c118e);_0x1419a9['config'][_0x44a2d2(0x1f0)]=!![],_0x1419a9[_0x44a2d2(0x1de)][_0x44a2d2(0x1f7)][_0x44a2d2(0x1e8)]=_0x5d2261[_0x44a2d2(0x1ba)],_0x1419a9[_0x44a2d2(0x1de)][_0x44a2d2(0x1f7)][_0x44a2d2(0x1d9)]=_0xa25e9['join'](','),helper[_0x44a2d2(0x1c8)](_0x1419a9['config']),await _0x1419a9[_0x44a2d2(0x1e1)](),logger[_0x44a2d2(0x1f6)](_0x5d2261[_0x44a2d2(0x1c5)]);}catch(_0x54c7d9){logger[_0x44a2d2(0x1e9)](_0x5d2261[_0x44a2d2(0x1d4)]);throw new Error(_0x54c7d9[_0x44a2d2(0x1c0)]());}};function run(_0x3cecd9){const _0x21758a=a12_0x1f0ceb,_0x55a734={};_0x55a734[_0x21758a(0x1e2)]=_0x21758a(0x1eb),_0x55a734[_0x21758a(0x1d7)]=_0x21758a(0x1ca);const _0x3ca5ce=_0x55a734;_0x3cecd9[_0x21758a(0x1e3)](HELP_MESSAGES[_0x21758a(0x1b8)]['root'])['command'](_0x3ca5ce[_0x21758a(0x1e2)],HELP_MESSAGES[_0x21758a(0x1b8)][_0x21758a(0x1eb)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x21758a(0x1ca)](_0x3ca5ce[_0x21758a(0x1d7)])[_0x21758a(0x1c7)](HELP_MESSAGES[_0x21758a(0x1b8)][_0x21758a(0x1b5)]);}function a12_0x337a(_0x410c47,_0x4cb5aa){const _0x1404b9=a12_0x1404();return a12_0x337a=function(_0x337a35,_0x2805a4){_0x337a35=_0x337a35-0x1b5;let _0x3a4e29=_0x1404b9[_0x337a35];return _0x3a4e29;},a12_0x337a(_0x410c47,_0x4cb5aa);}module[a12_0x1f0ceb(0x1d5)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x36802d=a13_0x2f67;(function(_0x3eddd6,_0x12e23d){var _0x2f8f4f=a13_0x2f67,_0x3bbc64=_0x3eddd6();while(!![]){try{var _0x49c1ce=-parseInt(_0x2f8f4f(0xbd))/0x1+-parseInt(_0x2f8f4f(0xb2))/0x2*(-parseInt(_0x2f8f4f(0xc5))/0x3)+parseInt(_0x2f8f4f(0xc3))/0x4*(-parseInt(_0x2f8f4f(0xc1))/0x5)+-parseInt(_0x2f8f4f(0xb7))/0x6+parseInt(_0x2f8f4f(0xbb))/0x7+-parseInt(_0x2f8f4f(0xb0))/0x8+parseInt(_0x2f8f4f(0xbf))/0x9*(parseInt(_0x2f8f4f(0xba))/0xa);if(_0x49c1ce===_0x12e23d)break;else _0x3bbc64['push'](_0x3bbc64['shift']());}catch(_0x37484d){_0x3bbc64['push'](_0x3bbc64['shift']());}}}(a13_0x35b3,0x5b975));var a13_0x2bf007={};a13_0x2bf007[a13_0x36802d(0xb4)]=a13_0x36802d(0xc0),a13_0x2bf007[a13_0x36802d(0xb3)]=a13_0x36802d(0xae);var a13_0x1803ef={};a13_0x1803ef[a13_0x36802d(0xad)]=a13_0x36802d(0xb8),a13_0x1803ef['connect']=a13_0x36802d(0xc2),a13_0x1803ef[a13_0x36802d(0xc4)]=a13_0x36802d(0xb1);var a13_0x5b3a45={};a13_0x5b3a45[a13_0x36802d(0xb6)]=a13_0x2bf007,a13_0x5b3a45['command']=a13_0x1803ef,exports['HELP_MESSAGES']=a13_0x5b3a45;var a13_0x1604a4={};function a13_0x35b3(){var _0x174b45=['BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','5749840ZxwVPQ','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','633908XcoAOX','hosts','bstackAccessKey','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.','options','1577154UExwkG','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','invalid','10WLFZjT','3734234YyWTza','ERROR_MESSAGES','412784EqcLSj','missing','12727782CSisNj','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','15BijULP','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','660112cwyotR','footer','3VWRNRA','root','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.'];a13_0x35b3=function(){return _0x174b45;};return a13_0x35b3();}a13_0x1604a4['missing']=a13_0x36802d(0xaf);var a13_0x194f5d={};a13_0x194f5d[a13_0x36802d(0xbe)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x194f5d[a13_0x36802d(0xb9)]=a13_0x36802d(0xb5);var a13_0x19ef99={};function a13_0x2f67(_0x3d1ae8,_0x239c4b){var _0x35b31b=a13_0x35b3();return a13_0x2f67=function(_0x2f6744,_0x5162d3){_0x2f6744=_0x2f6744-0xad;var _0x3f46c1=_0x35b31b[_0x2f6744];return _0x3f46c1;},a13_0x2f67(_0x3d1ae8,_0x239c4b);}a13_0x19ef99['bstackAccessKey']=a13_0x1604a4,a13_0x19ef99[a13_0x36802d(0xb3)]=a13_0x194f5d,exports[a13_0x36802d(0xbc)]=a13_0x19ef99;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x4169c2=a14_0x4fd5;(function(_0x46e6d7,_0x4e7c53){const _0xb48d27=a14_0x4fd5,_0x3f24f7=_0x46e6d7();while(!![]){try{const _0x560d9b=parseInt(_0xb48d27(0x1d2))/0x1+-parseInt(_0xb48d27(0x1a3))/0x2*(-parseInt(_0xb48d27(0x17d))/0x3)+-parseInt(_0xb48d27(0x182))/0x4*(parseInt(_0xb48d27(0x163))/0x5)+-parseInt(_0xb48d27(0x19d))/0x6*(-parseInt(_0xb48d27(0x15f))/0x7)+parseInt(_0xb48d27(0x1a2))/0x8*(parseInt(_0xb48d27(0x17b))/0x9)+-parseInt(_0xb48d27(0x1af))/0xa+parseInt(_0xb48d27(0x1cc))/0xb*(-parseInt(_0xb48d27(0x196))/0xc);if(_0x560d9b===_0x4e7c53)break;else _0x3f24f7['push'](_0x3f24f7['shift']());}catch(_0x281c6d){_0x3f24f7['push'](_0x3f24f7['shift']());}}}(a14_0x3d59,0x7df91));function a14_0x3d59(){const _0x14c58d=['cCsfd','skipped','specDone','DZrDa','198012LfbSxA','TestRunStarted','JuMSI','zFMfq','config','861688zRdgWT','1367674ggoAPj','passed','_fileNameByFullName','jFlPx','qyxmZ','trim','vPkZZ','oNwJc','FyRWW','testObservability','message','TestRunSkipped','8157700gpxEEP','cwd','status','Klbfr','toren','gImof','started_at','WHXBv','match','VJXXl','duration','path','PukHb','FwUfN','code','keys','TestRunFinished','../../../helpers/test-observability/constants','endsWith','../../../helpers/test-observability/sessionHandler','isArray','jasmineDone','Jasmine','.git','javascript','jbHrd','_findGitConfig','COpkb','fullName','48169lOFrIG','nbHtF','relative','parentSuiteId','QOTJj','dpwkT','230693ytwPeE','push','_sendSpecEvent','JxTQU','sep','shouldProcessEventForTesthub','Rewmz','exports','failure_backtrace','sXoil','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','Tfxsl','GXhOm','../testRunMap','statSync','split','JASMINE','pending','jasmineStarted','join','delete','zlBxd','setCurrentTestData','133XMUsro','has','number','failure_reason_expanded','592345fiiIiQ','excluded','add','set','_scopes','hiAwV','rbdrM','Exception\x20in\x20jasmine\x20specDone\x20for\x20','UnhandledError','dirname','SwpsD','File\x20path\x20could\x20not\x20be\x20found','filename','ZbUYk','slice','hhZjL','AssertionError','failed','_suitesById','appendTesthubParams','jpZxz','get','description','TVKKZ','18EWppJA','dJtLC','3gYVNqs','prefixTestPath','RjJYo','err','XbTma','8mqoxJe','TAuWr','reverse','suiteDone','CCxzy','TyZBt','suiteStarted','actual','uploadEventData','toISOString','\x20:\x20','ZkKgN','fileNameByFullName','_resolveFilePath','_collapseFailedExpectations','stack','_paths','YtyLE','backtrace','length','516yWmbHo','../../../helpers/testhub/utils','remove'];a14_0x3d59=function(){return _0x14c58d;};return a14_0x3d59();}const path=require(a14_0x4169c2(0x1ba)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a14_0x4169c2(0x197)),{FRAMEWORKS}=require(a14_0x4169c2(0x1c0)),SessionHandler=require(a14_0x4169c2(0x1c2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x4169c2(0x155)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x4169c2(0x1c5),a14_0x388b3d={};a14_0x388b3d[a14_0x4169c2(0x1a4)]=a14_0x4169c2(0x1a4),a14_0x388b3d[a14_0x4169c2(0x174)]=a14_0x4169c2(0x174),a14_0x388b3d[a14_0x4169c2(0x159)]=a14_0x4169c2(0x159),a14_0x388b3d[a14_0x4169c2(0x164)]=a14_0x4169c2(0x19a);function a14_0x4fd5(_0x383fe4,_0x2f9ce6){const _0x3d5968=a14_0x3d59();return a14_0x4fd5=function(_0x4fd599,_0x497825){_0x4fd599=_0x4fd599-0x14e;let _0x467a35=_0x3d5968[_0x4fd599];return _0x467a35;},a14_0x4fd5(_0x383fe4,_0x2f9ce6);}const STATUS_MAP=a14_0x388b3d;class BrowserStackJasmineReporter{constructor(_0x517989={}){const _0x2b0510=a14_0x4169c2,_0x1493ca={'jFlPx':function(_0x7aa916){return _0x7aa916();}};this[_0x2b0510(0x1ac)]=_0x1493ca[_0x2b0510(0x1a6)](isTestObservabilitySession),this[_0x2b0510(0x192)]=new PathHelper({'cwd':process[_0x2b0510(0x1b0)]()},undefined),this[_0x2b0510(0x1a5)]=_0x517989&&_0x517989[_0x2b0510(0x18e)]||{},this[_0x2b0510(0x175)]=new Map();}[a14_0x4169c2(0x15a)](){}[a14_0x4169c2(0x188)](_0x3ea0f1){const _0xf5ca2f=a14_0x4169c2,_0x5606a5={'JuMSI':function(_0x1c2484,_0x1f260b){return _0x1c2484!==_0x1f260b;},'nbHtF':function(_0x3d3c7c,_0x59bb42){return _0x3d3c7c(_0x59bb42);}};try{_0x3ea0f1&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],undefined)&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],null)&&this[_0xf5ca2f(0x175)][_0xf5ca2f(0x166)](_0x3ea0f1['id'],{'description':_0x3ea0f1[_0xf5ca2f(0x179)],'parentSuiteId':_0x3ea0f1['parentSuiteId']});}catch(_0x197a5e){_0x5606a5[_0xf5ca2f(0x1cd)](debug,_0xf5ca2f(0x152)+(_0x3ea0f1&&_0x3ea0f1[_0xf5ca2f(0x1cb)])+_0xf5ca2f(0x18c)+_0x197a5e);}}['specStarted'](_0x31c8f9){const _0x21609b=a14_0x4169c2,_0x5481e8={'gImof':function(_0x2ffed9,_0x103fa1){return _0x2ffed9!==_0x103fa1;},'PukHb':function(_0x3d9c8a){return _0x3d9c8a();},'wfMgR':_0x21609b(0x19e),'CfYRW':function(_0x4cdc8c,_0x4239f5){return _0x4cdc8c(_0x4239f5);}};try{if(_0x5481e8[_0x21609b(0x1b4)](testhubUtils[_0x21609b(0x1d7)](),!![]))return;const _0x2f0210=_0x5481e8[_0x21609b(0x1bb)](uuidv4);testRunMap['set'](_0x31c8f9['id'],_0x2f0210),this[_0x21609b(0x1d4)](_0x31c8f9,_0x2f0210,_0x5481e8['wfMgR']);}catch(_0x1d0750){_0x5481e8['CfYRW'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x31c8f9&&_0x31c8f9[_0x21609b(0x1cb)])+_0x21609b(0x18c)+_0x1d0750);}}[a14_0x4169c2(0x19b)](_0x1db8af){const _0x25bf9b=a14_0x4169c2,_0x5daca9={'JxTQU':function(_0x55ae82,_0x113d33){return _0x55ae82!==_0x113d33;},'zFMfq':function(_0x2645ab){return _0x2645ab();},'HGzft':function(_0x132561,_0xdeaa49){return _0x132561===_0xdeaa49;},'jpZxz':_0x25bf9b(0x164),'sXoil':_0x25bf9b(0x1ae),'YtyLE':'TestRunFinished','ZkKgN':function(_0x206b3c,_0x1194cc){return _0x206b3c(_0x1194cc);}};try{if(_0x5daca9[_0x25bf9b(0x1d5)](testhubUtils[_0x25bf9b(0x1d7)](),!![]))return;const _0x24d331=testRunMap[_0x25bf9b(0x178)](_0x1db8af['id'])||_0x5daca9[_0x25bf9b(0x1a0)](uuidv4),_0x40711b=_0x5daca9['HGzft'](_0x1db8af[_0x25bf9b(0x1b1)],_0x5daca9[_0x25bf9b(0x177)])?_0x5daca9[_0x25bf9b(0x151)]:_0x5daca9[_0x25bf9b(0x193)];this[_0x25bf9b(0x1d4)](_0x1db8af,_0x24d331,_0x40711b);}catch(_0x28010e){_0x5daca9[_0x25bf9b(0x18d)](debug,_0x25bf9b(0x16a)+(_0x1db8af&&_0x1db8af[_0x25bf9b(0x1cb)])+_0x25bf9b(0x18c)+_0x28010e);}finally{_0x1db8af&&(testRunMap[_0x25bf9b(0x198)](_0x1db8af['id']),_specStartTimes[_0x25bf9b(0x15c)](_0x1db8af['id']));}}[a14_0x4169c2(0x185)](){}[a14_0x4169c2(0x1c4)](){}[a14_0x4169c2(0x1d4)](_0x33433e,_0x210782,_0x3a63a1){const _0x4d1d42=a14_0x4169c2,_0x5d4249={'FwUfN':function(_0x54226b,_0x1ad5ad){return _0x54226b===_0x1ad5ad;},'toren':_0x4d1d42(0x1bf),'CCxzy':_0x4d1d42(0x1ae),'vPkZZ':_0x4d1d42(0x16e),'RjJYo':function(_0xbdea7b,_0xf6d7df,_0x7fe4eb){return _0xbdea7b(_0xf6d7df,_0x7fe4eb);},'WHXBv':_0x4d1d42(0x180),'GXhOm':function(_0xedafa,_0x417951){return _0xedafa===_0x417951;},'COpkb':_0x4d1d42(0x19e),'Tfxsl':function(_0x1d59f0,_0x124181){return _0x1d59f0!==_0x124181;},'XbTma':function(_0x286026,_0x414cd9){return _0x286026!==_0x414cd9;},'FyRWW':_0x4d1d42(0x1c7),'rbdrM':function(_0x143158,_0x14aa59){return _0x143158&&_0x14aa59;},'qyxmZ':function(_0x2625dd,_0x4efb13){return _0x2625dd===_0x4efb13;},'ZbUYk':_0x4d1d42(0x19a),'dpwkT':_0x4d1d42(0x1a4),'pjZiD':_0x4d1d42(0x161),'oNwJc':_0x4d1d42(0x173),'zlBxd':_0x4d1d42(0x16b),'TyZBt':_0x4d1d42(0x1b5),'phBHA':'finished_at','BDXqK':'failure','hiAwV':_0x4d1d42(0x150),'Klbfr':_0x4d1d42(0x194),'TVKKZ':_0x4d1d42(0x162),'atbre':'expanded','NSAie':function(_0x3029d2,_0x348cfb){return _0x3029d2(_0x348cfb);}};try{const _0x49780f=_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['toren'])||_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['CCxzy']),_0x421a97=this[_0x4d1d42(0x18f)](_0x33433e),_0x4861ca=_0x421a97?this[_0x4d1d42(0x192)][_0x4d1d42(0x17e)](_0x421a97):_0x5d4249[_0x4d1d42(0x1a9)],_0xc4f6ad=_0x421a97?this[_0x4d1d42(0x1c9)](path[_0x4d1d42(0x16c)](_0x421a97)):null,_0xafe29d=this[_0x4d1d42(0x190)](_0x33433e['failedExpectations']),_0x55b8d5=_0xafe29d?_0xafe29d['message']:undefined,_0x141143=_0xafe29d?_0x5d4249[_0x4d1d42(0x17f)](failureData,_0xafe29d,_0x5d4249[_0x4d1d42(0x1b6)]):[],_0x4f4b33=new Date()[_0x4d1d42(0x18b)](),_0x5dec72=this[_0x4d1d42(0x167)](_0x33433e);_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249['COpkb'])&&_0x33433e&&_0x5d4249[_0x4d1d42(0x153)](_0x33433e['id'],undefined)&&_0x5d4249[_0x4d1d42(0x181)](_0x33433e['id'],null)&&_specStartTimes[_0x4d1d42(0x166)](_0x33433e['id'],_0x4f4b33);const _0x45f37c=_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x1ca)])?_0x4f4b33:_0x33433e&&_specStartTimes[_0x4d1d42(0x178)](_0x33433e['id'])||null,_0x1b226e={};_0x1b226e['lang']=_0x5d4249[_0x4d1d42(0x1ab)],_0x1b226e[_0x4d1d42(0x1bd)]=null;const _0x51039e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x210782,'name':_0x33433e[_0x4d1d42(0x179)],'body':_0x1b226e,'scope':_0x5dec72[_0x4d1d42(0x15b)]('\x20'),'scopes':_0x5dec72,'identifier':_0x33433e[_0x4d1d42(0x1cb)],'file_name':_0x4861ca,'vc_filepath':_0x5d4249[_0x4d1d42(0x169)](_0xc4f6ad,_0x421a97)?path[_0x4d1d42(0x1ce)](_0xc4f6ad,_0x421a97):null,'location':_0x4861ca,'result':_0x5d4249['qyxmZ'](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x170)]:STATUS_MAP[_0x33433e[_0x4d1d42(0x1b1)]]||_0x5d4249[_0x4d1d42(0x1d1)],'failure_reason':_0x55b8d5,'duration_in_ms':_0x5d4249['FwUfN'](typeof _0x33433e[_0x4d1d42(0x1b9)],_0x5d4249['pjZiD'])?_0x33433e[_0x4d1d42(0x1b9)]:null,'started_at':_0x45f37c,'finished_at':_0x49780f?_0x4f4b33:null,'failure':_0x141143,'failure_type':!_0x55b8d5?null:_0x55b8d5[_0x4d1d42(0x1b7)](/AssertionError/)?_0x5d4249[_0x4d1d42(0x1aa)]:_0x5d4249[_0x4d1d42(0x15d)],'retry_of':null};_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])&&!_0x51039e[_0x5d4249[_0x4d1d42(0x187)]]&&(_0x51039e[_0x5d4249['TyZBt']]=_0x51039e[_0x5d4249['phBHA']]);const _0x5c1cfd=_0x51039e[_0x5d4249['BDXqK']][0x0];_0x5c1cfd&&(_0x51039e[_0x5d4249[_0x4d1d42(0x168)]]=_0x5c1cfd[_0x5d4249[_0x4d1d42(0x1b2)]],_0x51039e[_0x5d4249[_0x4d1d42(0x17a)]]=_0x5c1cfd[_0x5d4249['atbre']]);testhubUtils[_0x4d1d42(0x176)](_0x51039e,_0x3a63a1,_0x33433e,FRAMEWORKS[_0x4d1d42(0x158)]);const _0x535e80={'event_type':_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x1b3)]:_0x3a63a1,'test_run':_0x51039e};return testhubUtils[_0x4d1d42(0x15e)](FRAMEWORKS[_0x4d1d42(0x158)],_0x535e80),SessionHandler[_0x4d1d42(0x18a)](_0x535e80);}catch(_0x217674){_0x5d4249['NSAie'](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x3a63a1+'\x20:\x20'+_0x217674);}}['_scopes'](_0x18cb65){const _0x42ba3a=a14_0x4169c2,_0x4042c8={'jbHrd':function(_0x111d85,_0x5e18bf){return _0x111d85!==_0x5e18bf;},'Rewmz':function(_0x44ff9e,_0x4941f5){return _0x44ff9e!==_0x4941f5;},'yawrf':function(_0x294245,_0x3f970a){return _0x294245>_0x3f970a;},'vPJhi':function(_0x7cb745,_0x1a82c6){return _0x7cb745(_0x1a82c6);},'DiPnJ':function(_0x463e5c,_0x388d1d){return _0x463e5c-_0x388d1d;}};try{const _0x1da4be=[];let _0x176c23=_0x18cb65&&_0x18cb65['parentSuiteId'];const _0x5351df=new Set();while(_0x4042c8[_0x42ba3a(0x1c8)](_0x176c23,undefined)&&_0x4042c8[_0x42ba3a(0x14e)](_0x176c23,null)&&this[_0x42ba3a(0x175)][_0x42ba3a(0x160)](_0x176c23)&&!_0x5351df[_0x42ba3a(0x160)](_0x176c23)){_0x5351df[_0x42ba3a(0x165)](_0x176c23);const _0x275e1f=this[_0x42ba3a(0x175)][_0x42ba3a(0x178)](_0x176c23);_0x275e1f&&_0x275e1f[_0x42ba3a(0x179)]&&_0x1da4be[_0x42ba3a(0x1d3)](_0x275e1f[_0x42ba3a(0x179)]),_0x176c23=_0x275e1f?_0x275e1f[_0x42ba3a(0x1cf)]:null;}if(_0x4042c8['yawrf'](_0x1da4be['length'],0x0))return _0x1da4be[_0x42ba3a(0x184)]();}catch(_0x6047b){_0x4042c8['vPJhi'](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x18cb65&&_0x18cb65['fullName'])+_0x42ba3a(0x18c)+_0x6047b);}const _0x4452d8=_0x18cb65&&_0x18cb65[_0x42ba3a(0x1cb)]||'',_0x64be57=_0x18cb65&&_0x18cb65['description']||'';let _0x27e868=_0x4452d8;return _0x64be57&&_0x4452d8[_0x42ba3a(0x1c1)](_0x64be57)&&(_0x27e868=_0x4452d8[_0x42ba3a(0x171)](0x0,_0x4042c8['DiPnJ'](_0x4452d8[_0x42ba3a(0x195)],_0x64be57[_0x42ba3a(0x195)]))[_0x42ba3a(0x1a8)]()),_0x27e868?_0x27e868[_0x42ba3a(0x157)](/\s+/):[];}['_resolveFilePath'](_0x4b4185){const _0x3db2b9=a14_0x4169c2,_0x1da28e={};_0x1da28e['WpxTM']=function(_0xb4cba0,_0x597332){return _0xb4cba0===_0x597332;},_0x1da28e[_0x3db2b9(0x16d)]=function(_0x3f9b36,_0xc78089){return _0x3f9b36+_0xc78089;},_0x1da28e[_0x3db2b9(0x199)]=function(_0x555e88,_0x4710a8){return _0x555e88>_0x4710a8;};const _0xe1987a=_0x1da28e;if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x16f)])return _0x4b4185[_0x3db2b9(0x16f)];if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x1cb)]){if(this['_fileNameByFullName'][_0x4b4185[_0x3db2b9(0x1cb)]])return this[_0x3db2b9(0x1a5)][_0x4b4185[_0x3db2b9(0x1cb)]];let _0x2d1275=null,_0x13d384=-0x1;for(const _0x5a38eb of Object[_0x3db2b9(0x1be)](this['_fileNameByFullName'])){(_0xe1987a['WpxTM'](_0x4b4185[_0x3db2b9(0x1cb)],_0x5a38eb)||_0x4b4185['fullName']['startsWith'](_0xe1987a[_0x3db2b9(0x16d)](_0x5a38eb,'\x20')))&&_0xe1987a[_0x3db2b9(0x199)](_0x5a38eb[_0x3db2b9(0x195)],_0x13d384)&&(_0x2d1275=this[_0x3db2b9(0x1a5)][_0x5a38eb],_0x13d384=_0x5a38eb[_0x3db2b9(0x195)]);}if(_0x2d1275)return _0x2d1275;}return null;}[a14_0x4169c2(0x190)](_0x4fcdad){const _0x46c56c=a14_0x4169c2,_0xfdec2b={};_0xfdec2b['XyDcT']=function(_0x51f66c,_0x565b4b){return _0x51f66c===_0x565b4b;},_0xfdec2b[_0x46c56c(0x17c)]='Spec\x20failed';const _0x5f39a6=_0xfdec2b;if(!Array[_0x46c56c(0x1c3)](_0x4fcdad)||_0x5f39a6['XyDcT'](_0x4fcdad[_0x46c56c(0x195)],0x0))return undefined;const _0x4c803f=[],_0x397de9=[];for(const _0x2be4a2 of _0x4fcdad){_0x2be4a2&&_0x2be4a2[_0x46c56c(0x1ad)]&&_0x4c803f[_0x46c56c(0x1d3)](_0x2be4a2[_0x46c56c(0x1ad)]),_0x2be4a2&&_0x2be4a2[_0x46c56c(0x191)]&&_0x397de9[_0x46c56c(0x1d3)](_0x2be4a2['stack']);}const _0x183cd5=_0x4fcdad[0x0]||{},_0x458c85=_0x4c803f[_0x46c56c(0x15b)]('\x0a')||_0x183cd5[_0x46c56c(0x1ad)]||_0x5f39a6['dJtLC'],_0x125357=_0x397de9['join']('\x0a\x0a')||_0x183cd5[_0x46c56c(0x191)]||_0x458c85,_0x53d4a3={};return _0x53d4a3['message']=_0x458c85,_0x53d4a3[_0x46c56c(0x191)]=_0x125357,_0x53d4a3['matcherName']=_0x183cd5['matcherName'],_0x53d4a3['expected']=_0x183cd5['expected'],_0x53d4a3['actual']=_0x183cd5[_0x46c56c(0x189)],_0x53d4a3;}[a14_0x4169c2(0x1c9)](_0xac57ad){const _0x5e4f09=a14_0x4169c2,_0x562623={};_0x562623[_0x5e4f09(0x19c)]=function(_0x273ede,_0x913b02){return _0x273ede===_0x913b02;},_0x562623[_0x5e4f09(0x172)]=function(_0x441527,_0x36bea3){return _0x441527===_0x36bea3;},_0x562623[_0x5e4f09(0x1d0)]=function(_0x3a41b7,_0x1a86b7){return _0x3a41b7===_0x1a86b7;},_0x562623[_0x5e4f09(0x1b8)]=_0x5e4f09(0x1c6),_0x562623[_0x5e4f09(0x183)]=_0x5e4f09(0x1a1);const _0x53b192=_0x562623,_0xfa459f=path[_0x5e4f09(0x1d6)];if(_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,null)||_0x53b192[_0x5e4f09(0x172)](_0xac57ad,'')||_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,_0xfa459f)||_0x53b192[_0x5e4f09(0x1d0)](_0xac57ad,path[_0x5e4f09(0x16c)](_0xac57ad)))return null;try{return fs[_0x5e4f09(0x156)](path[_0x5e4f09(0x15b)](_0xac57ad,_0x53b192[_0x5e4f09(0x1b8)],_0x53b192['TAuWr'])),_0xac57ad;}catch(_0x228689){return this[_0x5e4f09(0x1c9)](path[_0x5e4f09(0x16c)](_0xac57ad));}}}module[a14_0x4169c2(0x14f)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x2f5b10=a14_0x534e;(function(_0x30b4c8,_0x3f947e){const _0x5d2595=a14_0x534e,_0x1dc976=_0x30b4c8();while(!![]){try{const _0x38d7cd=parseInt(_0x5d2595(0x1a5))/0x1*(-parseInt(_0x5d2595(0x198))/0x2)+-parseInt(_0x5d2595(0x159))/0x3*(parseInt(_0x5d2595(0x175))/0x4)+-parseInt(_0x5d2595(0x193))/0x5+-parseInt(_0x5d2595(0x1aa))/0x6+parseInt(_0x5d2595(0x1b6))/0x7+-parseInt(_0x5d2595(0x1ae))/0x8*(parseInt(_0x5d2595(0x158))/0x9)+parseInt(_0x5d2595(0x17f))/0xa;if(_0x38d7cd===_0x3f947e)break;else _0x1dc976['push'](_0x1dc976['shift']());}catch(_0x27c053){_0x1dc976['push'](_0x1dc976['shift']());}}}(a14_0x547a,0x618b2));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a14_0x2f5b10(0x1bb)),testhubUtils=require(a14_0x2f5b10(0x163)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x2f5b10(0x19a)),testRunMap=require(a14_0x2f5b10(0x1a6)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x2f5b10(0x19e),a14_0x15acf7={};a14_0x15acf7[a14_0x2f5b10(0x17e)]=a14_0x2f5b10(0x17e),a14_0x15acf7[a14_0x2f5b10(0x169)]='failed',a14_0x15acf7[a14_0x2f5b10(0x1b3)]=a14_0x2f5b10(0x1b3),a14_0x15acf7[a14_0x2f5b10(0x15f)]='skipped';function a14_0x547a(){const _0x5d2538=['5143464dGzths','mnbrM','statSync','join','number','pending','trim','SbOKL','1061956JomHVw','scJPr','HIkhj','_sendSpecEvent','IjrZr','uuid','finished_at','Exception\x20in\x20jasmine\x20specDone\x20for\x20','fyvAg','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','xKhgO','BmvcM','match','uNKPD','status','GvJcX','_paths','backtrace','yaprp','eXdtA','qmaCU','_suitesById','DBeFU','config','TestRunFinished','AZORC','rJgaJ','failure','uploadEventData','ZDRWa','hYFJx','push','yYFKK','xKUIj','XxwRE','OrWfi','VXnfc','mbxsH','9MHSjCd','2307FyjqSp','message','appendTesthubParams','bHlZy','startsWith','QWbvz','excluded','jasmineStarted','err','HjJDu','../../../helpers/testhub/utils','endsWith','lang','get','filename','keys','failed','dirname','OTakV','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','delete','expected','specStarted','\x20:\x20','javascript','description','parentSuiteId','_resolveFilePath','3308ccZGGd','KZfdW','HQUDQ','jasmineDone','Spec\x20failed','_collapseFailedExpectations','cwd','specDone','remove','passed','23008000DCYasr','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','shouldProcessEventForTesthub','FDGfy','.git','CecRa','xDFzC','JASMINE','prefixTestPath','voeoe','reverse','UnhandledError','isArray','Lzlxd','fileNameByFullName','length','duration','LXNqS','failedExpectations','862965KFIbCx','testObservability','slice','stack','_fileNameByFullName','1490rwnLBj','has','../../../helpers/test-observability/utils','TestRunStarted','set','_scopes','Jasmine','fullName','actual','RRWAj','ZGGgK','wMqBQ','iDOTc','23GAYUrW','../testRunMap','UsNYd','jyrBW','bxoCY','3506076KjTNTg','ejbQp','expanded','_findGitConfig'];a14_0x547a=function(){return _0x5d2538;};return a14_0x547a();}const STATUS_MAP=a14_0x15acf7;class BrowserStackJasmineReporter{constructor(_0x3835d4={}){const _0x3fb1a1=a14_0x2f5b10,_0x46eb86={'mnbrM':function(_0x535891){return _0x535891();}};this[_0x3fb1a1(0x194)]=_0x46eb86[_0x3fb1a1(0x1af)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x3fb1a1(0x17b)]()},undefined),this[_0x3fb1a1(0x197)]=_0x3835d4&&_0x3835d4[_0x3fb1a1(0x18e)]||{},this[_0x3fb1a1(0x1cb)]=new Map();}[a14_0x2f5b10(0x160)](){}['suiteStarted'](_0x1845c5){const _0x588555=a14_0x2f5b10,_0xf81c73={'HjJDu':function(_0x3e18ca,_0x1a65bf){return _0x3e18ca!==_0x1a65bf;},'UsNYd':function(_0x5bf494,_0x119b84){return _0x5bf494(_0x119b84);}};try{_0x1845c5&&_0xf81c73[_0x588555(0x162)](_0x1845c5['id'],undefined)&&_0xf81c73[_0x588555(0x162)](_0x1845c5['id'],null)&&this[_0x588555(0x1cb)]['set'](_0x1845c5['id'],{'description':_0x1845c5['description'],'parentSuiteId':_0x1845c5[_0x588555(0x173)]});}catch(_0x212510){_0xf81c73[_0x588555(0x1a7)](debug,_0x588555(0x180)+(_0x1845c5&&_0x1845c5[_0x588555(0x19f)])+'\x20:\x20'+_0x212510);}}[a14_0x2f5b10(0x16f)](_0x3bc36e){const _0x55d708=a14_0x2f5b10,_0x3889d4={'DBeFU':function(_0x7f1d6a,_0x47c8e1){return _0x7f1d6a!==_0x47c8e1;},'qmaCU':function(_0x235564){return _0x235564();},'FxSSo':_0x55d708(0x19b),'yYFKK':function(_0x46bc36,_0x2cac11){return _0x46bc36(_0x2cac11);}};try{if(_0x3889d4[_0x55d708(0x1cc)](testhubUtils[_0x55d708(0x182)](),!![]))return;const _0x3f1957=_0x3889d4[_0x55d708(0x1ca)](uuidv4);testRunMap['set'](_0x3bc36e['id'],_0x3f1957),this[_0x55d708(0x1b9)](_0x3bc36e,_0x3f1957,_0x3889d4['FxSSo']);}catch(_0x2463d0){_0x3889d4[_0x55d708(0x152)](debug,_0x55d708(0x16c)+(_0x3bc36e&&_0x3bc36e[_0x55d708(0x19f)])+_0x55d708(0x170)+_0x2463d0);}}[a14_0x2f5b10(0x17c)](_0x5b9bfc){const _0x2980cf=a14_0x2f5b10,_0xa0e2cd={'KZfdW':function(_0xee1449,_0x27e2b2){return _0xee1449!==_0x27e2b2;},'AFaXt':function(_0x1fdb37){return _0x1fdb37();},'voeoe':function(_0x315b92,_0x318d3f){return _0x315b92===_0x318d3f;},'QVOHT':_0x2980cf(0x15f),'ZGGgK':'TestRunSkipped','CecRa':_0x2980cf(0x1ce),'uNKPD':function(_0x160c92,_0x17a604){return _0x160c92(_0x17a604);}};try{if(_0xa0e2cd[_0x2980cf(0x176)](testhubUtils[_0x2980cf(0x182)](),!![]))return;const _0x5cc67a=testRunMap[_0x2980cf(0x166)](_0x5b9bfc['id'])||_0xa0e2cd['AFaXt'](uuidv4),_0x1a2bc0=_0xa0e2cd[_0x2980cf(0x189)](_0x5b9bfc[_0x2980cf(0x1c4)],_0xa0e2cd['QVOHT'])?_0xa0e2cd[_0x2980cf(0x1a2)]:_0xa0e2cd[_0x2980cf(0x185)];this[_0x2980cf(0x1b9)](_0x5b9bfc,_0x5cc67a,_0x1a2bc0);}catch(_0x5f3c6b){_0xa0e2cd[_0x2980cf(0x1c3)](debug,_0x2980cf(0x1bd)+(_0x5b9bfc&&_0x5b9bfc[_0x2980cf(0x19f)])+_0x2980cf(0x170)+_0x5f3c6b);}finally{_0x5b9bfc&&(testRunMap[_0x2980cf(0x17d)](_0x5b9bfc['id']),_specStartTimes[_0x2980cf(0x16d)](_0x5b9bfc['id']));}}['suiteDone'](){}[a14_0x2f5b10(0x178)](){}['_sendSpecEvent'](_0x2d5e98,_0x2e37e4,_0x3b79b9){const _0x1c4723=a14_0x2f5b10,_0xea2389={'yaprp':function(_0x8f7d9,_0x1494a7){return _0x8f7d9===_0x1494a7;},'rJgaJ':'TestRunFinished','ejbQp':'TestRunSkipped','wwSEK':'File\x20path\x20could\x20not\x20be\x20found','HQUDQ':function(_0x8c5194,_0x34c990,_0xc62cde){return _0x8c5194(_0x34c990,_0xc62cde);},'tGlUg':_0x1c4723(0x161),'IjrZr':_0x1c4723(0x19b),'xDFzC':function(_0x58941f,_0x26159d){return _0x58941f!==_0x26159d;},'FDGfy':function(_0x13e351,_0xeac14a){return _0x13e351!==_0xeac14a;},'VXnfc':function(_0x230779,_0x4ed713){return _0x230779===_0x4ed713;},'LXNqS':_0x1c4723(0x171),'XxwRE':function(_0x255937,_0x2dbfda){return _0x255937&&_0x2dbfda;},'RRWAj':'skipped','HIkhj':'passed','eXdtA':function(_0x470494,_0x2d0e7c){return _0x470494===_0x2d0e7c;},'iDOTc':_0x1c4723(0x1b2),'eVlyd':'AssertionError','OrWfi':_0x1c4723(0x18b),'AZORC':'started_at','wMqBQ':_0x1c4723(0x1bc),'bxoCY':_0x1c4723(0x1d1),'hYFJx':'failure_backtrace','jyrBW':_0x1c4723(0x1c7),'OTakV':'failure_reason_expanded','bHlZy':_0x1c4723(0x1ac),'fEsFi':function(_0x3b398a,_0x301621){return _0x3b398a(_0x301621);}};try{const _0x12e475=_0xea2389['yaprp'](_0x3b79b9,_0xea2389[_0x1c4723(0x1d0)])||_0xea2389[_0x1c4723(0x1c8)](_0x3b79b9,_0xea2389['ejbQp']),_0x1b68e8=this[_0x1c4723(0x174)](_0x2d5e98),_0x650e62=_0x1b68e8?this[_0x1c4723(0x1c6)][_0x1c4723(0x188)](_0x1b68e8):_0xea2389['wwSEK'],_0x2be2d2=_0x1b68e8?this[_0x1c4723(0x1ad)](path[_0x1c4723(0x16a)](_0x1b68e8)):null,_0x4793cf=this[_0x1c4723(0x17a)](_0x2d5e98[_0x1c4723(0x192)]),_0x19b78b=_0x4793cf?_0x4793cf[_0x1c4723(0x15a)]:undefined,_0x2d072e=_0x4793cf?_0xea2389[_0x1c4723(0x177)](failureData,_0x4793cf,_0xea2389['tGlUg']):[],_0x2e73d9=new Date()['toISOString'](),_0x144a06=this[_0x1c4723(0x19d)](_0x2d5e98);_0xea2389['yaprp'](_0x3b79b9,_0xea2389[_0x1c4723(0x1ba)])&&_0x2d5e98&&_0xea2389[_0x1c4723(0x186)](_0x2d5e98['id'],undefined)&&_0xea2389[_0x1c4723(0x183)](_0x2d5e98['id'],null)&&_specStartTimes[_0x1c4723(0x19c)](_0x2d5e98['id'],_0x2e73d9);const _0x1d4a64=_0xea2389[_0x1c4723(0x156)](_0x3b79b9,_0xea2389[_0x1c4723(0x1ba)])?_0x2e73d9:_0x2d5e98&&_specStartTimes[_0x1c4723(0x166)](_0x2d5e98['id'])||null,_0x3c8e29={};_0x3c8e29[_0x1c4723(0x165)]=_0xea2389[_0x1c4723(0x191)],_0x3c8e29['code']=null;const _0x27fad6={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2e37e4,'name':_0x2d5e98[_0x1c4723(0x172)],'body':_0x3c8e29,'scope':_0x144a06[_0x1c4723(0x1b1)]('\x20'),'scopes':_0x144a06,'identifier':_0x2d5e98[_0x1c4723(0x19f)],'file_name':_0x650e62,'vc_filepath':_0xea2389[_0x1c4723(0x154)](_0x2be2d2,_0x1b68e8)?path['relative'](_0x2be2d2,_0x1b68e8):null,'location':_0x650e62,'result':_0xea2389['yaprp'](_0x3b79b9,_0xea2389['ejbQp'])?_0xea2389[_0x1c4723(0x1a1)]:STATUS_MAP[_0x2d5e98[_0x1c4723(0x1c4)]]||_0xea2389[_0x1c4723(0x1b8)],'failure_reason':_0x19b78b,'duration_in_ms':_0xea2389[_0x1c4723(0x1c9)](typeof _0x2d5e98[_0x1c4723(0x190)],_0xea2389[_0x1c4723(0x1a4)])?_0x2d5e98['duration']:null,'started_at':_0x1d4a64,'finished_at':_0x12e475?_0x2e73d9:null,'failure':_0x2d072e,'failure_type':!_0x19b78b?null:_0x19b78b[_0x1c4723(0x1c2)](/AssertionError/)?_0xea2389['eVlyd']:_0xea2389[_0x1c4723(0x155)],'retry_of':null};_0xea2389['eXdtA'](_0x3b79b9,_0xea2389['ejbQp'])&&!_0x27fad6[_0xea2389[_0x1c4723(0x1cf)]]&&(_0x27fad6[_0xea2389['AZORC']]=_0x27fad6[_0xea2389[_0x1c4723(0x1a3)]]);const _0x4a6c99=_0x27fad6[_0xea2389[_0x1c4723(0x1a9)]][0x0];_0x4a6c99&&(_0x27fad6[_0xea2389[_0x1c4723(0x1d4)]]=_0x4a6c99[_0xea2389[_0x1c4723(0x1a8)]],_0x27fad6[_0xea2389[_0x1c4723(0x16b)]]=_0x4a6c99[_0xea2389[_0x1c4723(0x15c)]]);testhubUtils[_0x1c4723(0x15b)](_0x27fad6,_0x3b79b9,_0x2d5e98,FRAMEWORKS['JASMINE']);const _0x534bf1={'event_type':_0xea2389['eXdtA'](_0x3b79b9,_0xea2389[_0x1c4723(0x1ab)])?_0xea2389[_0x1c4723(0x1d0)]:_0x3b79b9,'test_run':_0x27fad6};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x1c4723(0x187)],_0x534bf1),SessionHandler[_0x1c4723(0x1d2)](_0x534bf1);}catch(_0x22db8d){_0xea2389['fEsFi'](debug,_0x1c4723(0x1bf)+_0x3b79b9+'\x20:\x20'+_0x22db8d);}}[a14_0x2f5b10(0x19d)](_0x5ccda3){const _0x1cd9aa=a14_0x2f5b10,_0x5eca6d={'Lzlxd':function(_0x2c8244,_0x532588){return _0x2c8244!==_0x532588;},'hhwta':function(_0x368dfd,_0xe955e3){return _0x368dfd>_0xe955e3;},'QWbvz':function(_0x293c99,_0x43b3b2){return _0x293c99(_0x43b3b2);},'BmvcM':function(_0x2acd3b,_0x5e467a){return _0x2acd3b-_0x5e467a;}};try{const _0x2b2a75=[];let _0x1ada0e=_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x173)];const _0x405580=new Set();while(_0x5eca6d[_0x1cd9aa(0x18d)](_0x1ada0e,undefined)&&_0x5eca6d[_0x1cd9aa(0x18d)](_0x1ada0e,null)&&this[_0x1cd9aa(0x1cb)][_0x1cd9aa(0x199)](_0x1ada0e)&&!_0x405580[_0x1cd9aa(0x199)](_0x1ada0e)){_0x405580['add'](_0x1ada0e);const _0x452ebb=this[_0x1cd9aa(0x1cb)][_0x1cd9aa(0x166)](_0x1ada0e);_0x452ebb&&_0x452ebb[_0x1cd9aa(0x172)]&&_0x2b2a75[_0x1cd9aa(0x151)](_0x452ebb[_0x1cd9aa(0x172)]),_0x1ada0e=_0x452ebb?_0x452ebb[_0x1cd9aa(0x173)]:null;}if(_0x5eca6d['hhwta'](_0x2b2a75[_0x1cd9aa(0x18f)],0x0))return _0x2b2a75[_0x1cd9aa(0x18a)]();}catch(_0x425b2f){_0x5eca6d[_0x1cd9aa(0x15e)](debug,_0x1cd9aa(0x181)+(_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x19f)])+_0x1cd9aa(0x170)+_0x425b2f);}const _0x242a62=_0x5ccda3&&_0x5ccda3[_0x1cd9aa(0x19f)]||'',_0x248367=_0x5ccda3&&_0x5ccda3['description']||'';let _0x163356=_0x242a62;return _0x248367&&_0x242a62[_0x1cd9aa(0x164)](_0x248367)&&(_0x163356=_0x242a62[_0x1cd9aa(0x195)](0x0,_0x5eca6d[_0x1cd9aa(0x1c1)](_0x242a62[_0x1cd9aa(0x18f)],_0x248367[_0x1cd9aa(0x18f)]))[_0x1cd9aa(0x1b4)]()),_0x163356?_0x163356['split'](/\s+/):[];}['_resolveFilePath'](_0x4245ad){const _0x3432a8=a14_0x2f5b10,_0x4cef49={};_0x4cef49['xKbBt']=function(_0x2961a9,_0x38d944){return _0x2961a9===_0x38d944;},_0x4cef49[_0x3432a8(0x1b7)]=function(_0x42f1cf,_0x2ce008){return _0x42f1cf+_0x2ce008;},_0x4cef49[_0x3432a8(0x1c5)]=function(_0x3ab28b,_0x1bc48a){return _0x3ab28b>_0x1bc48a;};const _0x5100ae=_0x4cef49;if(_0x4245ad&&_0x4245ad[_0x3432a8(0x167)])return _0x4245ad[_0x3432a8(0x167)];if(_0x4245ad&&_0x4245ad[_0x3432a8(0x19f)]){if(this[_0x3432a8(0x197)][_0x4245ad[_0x3432a8(0x19f)]])return this['_fileNameByFullName'][_0x4245ad['fullName']];let _0x329603=null,_0x5c219c=-0x1;for(const _0x34e3ad of Object[_0x3432a8(0x168)](this[_0x3432a8(0x197)])){(_0x5100ae['xKbBt'](_0x4245ad[_0x3432a8(0x19f)],_0x34e3ad)||_0x4245ad[_0x3432a8(0x19f)][_0x3432a8(0x15d)](_0x5100ae[_0x3432a8(0x1b7)](_0x34e3ad,'\x20')))&&_0x5100ae['GvJcX'](_0x34e3ad['length'],_0x5c219c)&&(_0x329603=this[_0x3432a8(0x197)][_0x34e3ad],_0x5c219c=_0x34e3ad[_0x3432a8(0x18f)]);}if(_0x329603)return _0x329603;}return null;}[a14_0x2f5b10(0x17a)](_0x2aaac8){const _0x2fe3de=a14_0x2f5b10,_0x459eed={};_0x459eed[_0x2fe3de(0x153)]=function(_0x321db0,_0x248133){return _0x321db0===_0x248133;},_0x459eed[_0x2fe3de(0x1d3)]=_0x2fe3de(0x179);const _0x1c606a=_0x459eed;if(!Array[_0x2fe3de(0x18c)](_0x2aaac8)||_0x1c606a[_0x2fe3de(0x153)](_0x2aaac8[_0x2fe3de(0x18f)],0x0))return undefined;const _0x346855=[],_0x3ad771=[];for(const _0x2c02b2 of _0x2aaac8){_0x2c02b2&&_0x2c02b2[_0x2fe3de(0x15a)]&&_0x346855[_0x2fe3de(0x151)](_0x2c02b2['message']),_0x2c02b2&&_0x2c02b2[_0x2fe3de(0x196)]&&_0x3ad771[_0x2fe3de(0x151)](_0x2c02b2['stack']);}const _0x5e16fd=_0x2aaac8[0x0]||{},_0x198f18=_0x346855[_0x2fe3de(0x1b1)]('\x0a')||_0x5e16fd['message']||_0x1c606a['ZDRWa'],_0x4d062e=_0x3ad771['join']('\x0a\x0a')||_0x5e16fd[_0x2fe3de(0x196)]||_0x198f18,_0x22a81f={};return _0x22a81f[_0x2fe3de(0x15a)]=_0x198f18,_0x22a81f['stack']=_0x4d062e,_0x22a81f['matcherName']=_0x5e16fd['matcherName'],_0x22a81f[_0x2fe3de(0x16e)]=_0x5e16fd['expected'],_0x22a81f[_0x2fe3de(0x1a0)]=_0x5e16fd[_0x2fe3de(0x1a0)],_0x22a81f;}['_findGitConfig'](_0x136dd8){const _0x26c9b5=a14_0x2f5b10,_0x22433c={};_0x22433c[_0x26c9b5(0x1b5)]=function(_0x8cc52f,_0x401da3){return _0x8cc52f===_0x401da3;},_0x22433c[_0x26c9b5(0x1be)]=function(_0x55bbc7,_0x48d82a){return _0x55bbc7===_0x48d82a;},_0x22433c['xKhgO']=_0x26c9b5(0x184),_0x22433c[_0x26c9b5(0x157)]=_0x26c9b5(0x1cd);const _0x2a0fa6=_0x22433c,_0x408975=path['sep'];if(_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,null)||_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,'')||_0x2a0fa6[_0x26c9b5(0x1be)](_0x136dd8,_0x408975)||_0x2a0fa6[_0x26c9b5(0x1b5)](_0x136dd8,path['dirname'](_0x136dd8)))return null;try{return fs[_0x26c9b5(0x1b0)](path[_0x26c9b5(0x1b1)](_0x136dd8,_0x2a0fa6[_0x26c9b5(0x1c0)],_0x2a0fa6['mbxsH'])),_0x136dd8;}catch(_0x46a5ed){return this[_0x26c9b5(0x1ad)](path[_0x26c9b5(0x16a)](_0x136dd8));}}}function a14_0x534e(_0xba19d,_0x982197){const _0x547a11=a14_0x547a();return a14_0x534e=function(_0x534ea1,_0xaf6dc2){_0x534ea1=_0x534ea1-0x151;let _0x312c11=_0x547a11[_0x534ea1];return _0x312c11;},a14_0x534e(_0xba19d,_0x982197);}module['exports']=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0xf67c4=a15_0x1bd4;(function(_0x403573,_0x274e58){const _0x875e2b=a15_0x1bd4,_0x4b7556=_0x403573();while(!![]){try{const _0x13bffe=-parseInt(_0x875e2b(0x17a))/0x1*(-parseInt(_0x875e2b(0x10e))/0x2)+-parseInt(_0x875e2b(0x11b))/0x3*(parseInt(_0x875e2b(0x182))/0x4)+-parseInt(_0x875e2b(0xf3))/0x5*(parseInt(_0x875e2b(0x16b))/0x6)+parseInt(_0x875e2b(0xff))/0x7+-parseInt(_0x875e2b(0x10b))/0x8+-parseInt(_0x875e2b(0x125))/0x9+parseInt(_0x875e2b(0x11f))/0xa*(parseInt(_0x875e2b(0x162))/0xb);if(_0x13bffe===_0x274e58)break;else _0x4b7556['push'](_0x4b7556['shift']());}catch(_0x1c93ec){_0x4b7556['push'](_0x4b7556['shift']());}}}(a15_0x3125,0x89f3d));function a15_0x3125(){const _0x20aac7=['../../helpers/utilities','__isPlaywrightInstalled','TSOqA','ebqbW','env','15532DJWmlx','yUZNJ','shouldReRunObservabilityTests','isUndefined','cMngy','JASMINE','--helper=','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','BROWSERSTACK_CAPABILITIES','20436zaimsB','kckOY','spec_files','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','end','../utils/constants','format','startsWith','map','UjyQh','length','validPlatformsPresent','isCLIEnabled','BROWSERSTACK_CLI_BIN_SESSION_ID','PTzQh','457817mhOxKE','initialize','exitCode','printBuildLink','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getPackageVersion','gAGwi','../../helpers/test-observability/utils','1397524hnnUaA','GXhtp','AwBUu','path','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/helper','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','Running\x20your\x20Jasmine\x20tests\x20across\x20','IPSKr','true','PacpW','ObVxp','izsEy','kZhFP','isArray','FdhRj','platform','getTCGConfigFilePaths','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','push','XZyYm','getInstance','accessibilityOptions','test.setup.js','error','platforms','useW3C','prepareCapabilities','info','55AZlqUo','qIXjw','FRAMEWORKS','p-limit','lXqda','exports','win32',',\x20specs=',';\x20proceeding\x20without\x20injection','\x20concurrent)','config','\x27\x20:\x20','4302564wfHIub','rmdirSync','../../helpers/test-observability/constants','__isPuppeteerInstalled','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDK_SETUP','sKkzs','slice','sQcow','../v2/browserstackCLI','error\x20removing\x20tcg\x20config\x20file','hIsFv','5424752YjRyKX','parse','lSUJD','2lPVmJl','stringify','spec_dir','QpahJ','jeYEM','IsMxG','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','stop','SDK_CLEANUP','parallelsPerPlatform','iMzFs','specArgs','**/*[sS]pec.?(m)js','3oaKOfi','setupTCGAuth','NSzEK','binSessionId','6050dRWsnG','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','join','BROWSERSTACK_RERUN_TESTS','YbIcL','EVENTS','2670615LAKeVG','string','../../helpers/puppeteer-helper','UQvRs','nubwL','ibJUw','launchBuild','existsSync','../../helpers/performance/performance-tester','glob','resolve','\x20platform(s),\x20parallelsPerPlatform=','start','jasmine\x20child\x20(platformIndex=','cwd','../../helpers/performance/constants','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','from','mEFUf','Jsyqy','finalExecution','child_process','isBrowserstackInfra','platformIndex','proxySettings','capability','CtBso','CszoS','assign','nFDOF','npx','\x20:\x20','getHubUrl','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','handleApp','zoZIU','BUJsO','globSync','parseFileNames','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','fgfMG','debug','yMlwW','TLhAd','WtVLz','HGNfz','maxWorkers','JASMINE_CONFIG_PATH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','MmgYu',')\x20:\x20','filter','doEXA','readFileSync','\x20work-item(s),\x20max\x20'];a15_0x3125=function(){return _0x20aac7;};return a15_0x3125();}function a15_0x1bd4(_0x1d0e10,_0x3bf96d){const _0x31256a=a15_0x3125();return a15_0x1bd4=function(_0x1bd40c,_0x124b22){_0x1bd40c=_0x1bd40c-0xd6;let _0x16c8bd=_0x31256a[_0x1bd40c];return _0x16c8bd;},a15_0x1bd4(_0x1d0e10,_0x3bf96d);}const fs=require('fs'),path=require(a15_0xf67c4(0xd8)),util=require('util'),{spawn}=require(a15_0xf67c4(0x13a)),glob=require(a15_0xf67c4(0x12e)),pLimit=require(a15_0xf67c4(0xf6)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0xf67c4(0xdb)),utilities=require(a15_0xf67c4(0x15d)),constants=require(a15_0xf67c4(0x170)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a15_0xf67c4(0x181)),{debug}=require(a15_0xf67c4(0x181)),{FRAMEWORKS}=require(a15_0xf67c4(0x101)),PerformanceTester=require(a15_0xf67c4(0x12d)),PerformanceEvents=require(a15_0xf67c4(0x134))[a15_0xf67c4(0x124)],BrowserstackCLI=require(a15_0xf67c4(0x108)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0xf67c4(0x127)),getMaxWorkers=(_0x3693ab,_0x27b089)=>{const _0x427f09=a15_0xf67c4,_0x5d5225={'TLhAd':function(_0x331524,_0x266ebc){return _0x331524(_0x266ebc);}};let _0x419e37=0x1;if(!helper['isUndefined'](_0x27b089['parallelsPerPlatform']))_0x419e37=_0x5d5225[_0x427f09(0x151)](parseInt,_0x27b089[_0x427f09(0x117)]);else!helper['isUndefined'](_0x3693ab[_0x427f09(0x154)])&&(_0x419e37=_0x3693ab[_0x427f09(0x154)]);return _0x419e37;},resolveJasmineConfigPath=()=>{const _0x3e0f87=a15_0xf67c4,_0xaf08a0={};_0xaf08a0['PTzQh']='spec/support/jasmine.json';const _0x37283f=_0xaf08a0,_0x585557=[];process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]&&_0x585557[_0x3e0f87(0xe9)](path['resolve'](process[_0x3e0f87(0x133)](),process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]));_0x585557['push'](path['resolve'](process[_0x3e0f87(0x133)](),_0x37283f[_0x3e0f87(0x179)]));for(const _0x252fe5 of _0x585557){try{if(fs[_0x3e0f87(0x12c)](_0x252fe5))return _0x252fe5;}catch(_0x20703b){}}return null;},enumerateSpecFiles=_0x1691cb=>{const _0x34877d=a15_0xf67c4,_0x466e9f={'sQcow':function(_0x3b2ae7,_0x7bc586){return _0x3b2ae7(_0x7bc586);},'doEXA':function(_0x4faac6,_0x55058f){return _0x4faac6>_0x55058f;},'AwBUu':function(_0x1f8e0a,_0x1b49c6){return _0x1f8e0a<_0x1b49c6;},'ObVxp':function(_0x112c59,_0xedc18c){return _0x112c59===_0xedc18c;},'QpahJ':_0x34877d(0x126),'lSUJD':function(_0x1e7e58,_0x4c7ba8,_0x354683){return _0x1e7e58(_0x4c7ba8,_0x354683);},'izsEy':function(_0x248712,_0x5ebaae){return _0x248712>_0x5ebaae;},'fgfMG':function(_0x3b0b93){return _0x3b0b93();},'mMTBk':'utf8','XZyYm':'spec','HGNfz':function(_0x2e47b7,_0x1a57d0){return _0x2e47b7>_0x1a57d0;},'SrvHa':_0x34877d(0x11a),'kZhFP':function(_0x5ecd13,_0x5b4e27,_0x79ee77){return _0x5ecd13(_0x5b4e27,_0x79ee77);},'jeYEM':function(_0x19b16f,_0x73bb0b){return _0x19b16f>_0x73bb0b;}};try{if(testOpsHelper[_0x34877d(0x164)]()){const _0x212c5e=testOpsHelper[_0x34877d(0x14b)](process[_0x34877d(0x161)][_0x34877d(0x122)]);if(Array[_0x34877d(0xe4)](_0x212c5e)&&_0x466e9f[_0x34877d(0x15a)](_0x212c5e['length'],0x0))return _0x212c5e[_0x34877d(0x173)](_0x3754d6=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0x3754d6['trim']()))['filter'](Boolean);}}catch(_0x8d176b){_0x466e9f[_0x34877d(0x107)](debug,_0x34877d(0x146)+util[_0x34877d(0x171)](_0x8d176b));}const _0x2773d1=[];try{for(let _0x44aa6e=0x1;_0x466e9f[_0x34877d(0xd7)](_0x44aa6e,_0x1691cb[_0x34877d(0x175)]);_0x44aa6e++){const _0x1ad244=_0x1691cb[_0x44aa6e];_0x466e9f[_0x34877d(0xe1)](typeof _0x1ad244,_0x466e9f[_0x34877d(0x111)])&&!_0x1ad244['startsWith']('-')&&_0x2773d1[_0x34877d(0xe9)](_0x1ad244);}}catch(_0x262050){}const _0x1377c2={'cwd':process[_0x34877d(0x133)](),'absolute':!![],'nodir':!![]},_0x1a99b7=(_0x9b93e4,_0x2a9905)=>{const _0x5c03ad=_0x34877d,_0x16a735=[];for(const _0x4f09e7 of _0x9b93e4){try{const _0x5cb0de=_0x2a9905?path['posix']['join'](_0x2a9905,_0x4f09e7):_0x4f09e7,_0x480bd2=glob[_0x5c03ad(0x14a)](_0x5cb0de,_0x1377c2);Array[_0x5c03ad(0xe4)](_0x480bd2)&&_0x16a735[_0x5c03ad(0xe9)](..._0x480bd2);}catch(_0x3686e3){_0x466e9f[_0x5c03ad(0x107)](debug,_0x5c03ad(0xd9)+_0x4f09e7+_0x5c03ad(0xfe)+util[_0x5c03ad(0x171)](_0x3686e3));}}return _0x16a735;};if(_0x466e9f[_0x34877d(0x15a)](_0x2773d1[_0x34877d(0x175)],0x0)){const _0x25458e=_0x466e9f[_0x34877d(0x10d)](_0x1a99b7,_0x2773d1,null);if(_0x466e9f[_0x34877d(0xe2)](_0x25458e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x25458e));return _0x2773d1[_0x34877d(0x173)](_0xcfb319=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0xcfb319));}try{const _0x36fb58=_0x466e9f[_0x34877d(0x14e)](resolveJasmineConfigPath);if(_0x36fb58){const _0x5e174e=JSON[_0x34877d(0x10c)](fs[_0x34877d(0x15b)](_0x36fb58,_0x466e9f['mMTBk'])),_0x3d1d66=_0x5e174e[_0x34877d(0x110)]||_0x466e9f[_0x34877d(0xea)],_0x103586=Array['isArray'](_0x5e174e['spec_files'])&&_0x466e9f[_0x34877d(0x153)](_0x5e174e['spec_files'][_0x34877d(0x175)],0x0)?_0x5e174e[_0x34877d(0x16d)]:[_0x466e9f['SrvHa']],_0x54ce8e=_0x466e9f[_0x34877d(0xe3)](_0x1a99b7,_0x103586,_0x3d1d66);if(_0x466e9f[_0x34877d(0x112)](_0x54ce8e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x54ce8e));}}catch(_0x1dbef3){_0x466e9f['sQcow'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util['format'](_0x1dbef3));}return null;};async function run(_0x33e7e0,_0x49d2e3,_0x4369fb){const _0x24cf72=a15_0xf67c4,_0x1f07dc={'NSzEK':function(_0x1b1c19,_0x20ae9d){return _0x1b1c19>_0x20ae9d;},'ebqbW':function(_0x111ab8,_0x194059){return _0x111ab8>_0x194059;},'lXqda':'all','RgEON':function(_0x49472d,_0x393bdf){return _0x49472d(_0x393bdf);},'nubwL':function(_0x488a9e,_0x576589){return _0x488a9e||_0x576589;},'Jsyqy':function(_0x1207c4,_0x4d4f8f){return _0x1207c4(_0x4d4f8f);},'mEFUf':function(_0xaa3fc,_0x1ee0ae){return _0xaa3fc(_0x1ee0ae);},'qIXjw':function(_0x1abf37,_0x4b0d0c){return _0x1abf37(_0x4b0d0c);},'BUJsO':function(_0x4dd3dd,_0x204004){return _0x4dd3dd(_0x204004);},'ibJUw':function(_0x526269,_0xd30081,_0x204a51,_0x5631fb){return _0x526269(_0xd30081,_0x204a51,_0x5631fb);},'MmgYu':_0x24cf72(0x143),'TRHqN':'jasmine','oEfHK':function(_0x3639bb,_0x13a2b1){return _0x3639bb===_0x13a2b1;},'zoZIU':_0x24cf72(0xf9),'hIsFv':'inherit','ygHTq':'close','TSOqA':_0x24cf72(0xee),'sKkzs':function(_0x20655a,_0x3e243c){return _0x20655a(_0x3e243c);},'UjyQh':'@playwright/test','yMlwW':function(_0xfa6b90){return _0xfa6b90();},'FdhRj':function(_0x5e53a5,_0x442982,_0x35ef89,_0x51de50){return _0x5e53a5(_0x442982,_0x35ef89,_0x51de50);},'CszoS':function(_0x4993ce,_0x2b8250){return _0x4993ce!=_0x2b8250;},'iMzFs':_0x24cf72(0xdf),'WtVLz':function(_0xf1c80e,_0x6d164){return _0xf1c80e(_0x6d164);},'GXhtp':function(_0x3db2f5,_0x3ba782){return _0x3db2f5(_0x3ba782);},'UQvRs':function(_0x216166,_0x5e4798,_0x34efec){return _0x216166(_0x5e4798,_0x34efec);},'DYgxF':function(_0x451ba9,_0x5d85a5){return _0x451ba9*_0x5d85a5;},'nFDOF':function(_0x3e8df3,_0x3c1183){return _0x3e8df3(_0x3c1183);},'gAGwi':function(_0x15250c,_0x52e6f6){return _0x15250c(_0x52e6f6);},'cMngy':_0x24cf72(0xed),'yUZNJ':function(_0x418e50,_0x2fe638){return _0x418e50(_0x2fe638);},'PacpW':function(_0x6fea33,_0xccbf7d){return _0x6fea33(_0xccbf7d);},'IPSKr':function(_0x4a75f5,_0x59553a){return _0x4a75f5(_0x59553a);},'YbIcL':function(_0x2d2b98,_0xec51f){return _0x2d2b98<_0xec51f;},'CxKAU':function(_0x436408,_0x341810){return _0x436408>_0x341810;},'CtBso':function(_0x12fc7b,_0x153023){return _0x12fc7b>_0x153023;},'kckOY':function(_0x538514,_0x44d8e2){return _0x538514(_0x44d8e2);},'mTChb':function(_0x56086a,_0x27977d){return _0x56086a>_0x27977d;},'IsMxG':_0x24cf72(0x109)},_0x5b480e=helper[_0x24cf72(0x17f)](_0x1f07dc[_0x24cf72(0x174)]);global[_0x24cf72(0x15e)]=!!_0x5b480e;const _0x397757=_0x1f07dc[_0x24cf72(0x150)](getPuppeteerVersion);global[_0x24cf72(0x102)]=!!_0x397757;helper[_0x24cf72(0x13b)]()?(await _0x4369fb[_0x24cf72(0x17b)](_0x33e7e0),await helper[_0x24cf72(0x147)](_0x4369fb['config'])):await _0x4369fb[_0x24cf72(0x11c)]();if(_0x5b480e)await _0x1f07dc[_0x24cf72(0xe5)](checkPwandBootstrapCli,_0x5b480e,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);else _0x397757&&await _0x1f07dc[_0x24cf72(0x12a)](checkPuppeteerAndBootstrapCli,_0x397757,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);if(!_0x4369fb[_0x24cf72(0xfd)])return;_0x1f07dc[_0x24cf72(0x140)](_0x4369fb['config'][_0x24cf72(0x14d)],null)?process['env'][_0x24cf72(0x103)]=_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0x14d)]:process['env'][_0x24cf72(0x103)]=_0x1f07dc[_0x24cf72(0x118)];!helper[_0x24cf72(0x165)](_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xec)])&&(process[_0x24cf72(0x161)][_0x24cf72(0x14c)]=JSON[_0x24cf72(0x10f)](_0x4369fb['config'][_0x24cf72(0xec)]));try{await TestHubHandler[_0x24cf72(0x12b)](FRAMEWORKS[_0x24cf72(0x167)],_0x4369fb);}catch(_0x10aed3){logger[_0x24cf72(0xee)](_0x24cf72(0x169)+util['format'](_0x10aed3)),_0x1f07dc[_0x24cf72(0x152)](debug,_0x24cf72(0x135)+util[_0x24cf72(0x171)](_0x10aed3));}let _0x2ee920=![],_0xbc082=[];try{_0x2ee920=helper[_0x24cf72(0xf0)](_0x4369fb[_0x24cf72(0xfd)]),_0xbc082=helper[_0x24cf72(0xf1)](_0x4369fb[_0x24cf72(0xfd)],_0x2ee920,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)]),process[_0x24cf72(0x161)][_0x24cf72(0x16a)]=JSON[_0x24cf72(0x10f)](_0xbc082);}catch(_0x4dec68){_0x1f07dc[_0x24cf72(0x138)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x24cf72(0x171)](_0x4dec68));}let _0x1469b4=null,_0x593148=![];try{_0x1469b4=helper[_0x24cf72(0x145)](_0x4369fb[_0x24cf72(0xfd)]),_0x593148=helper[_0x24cf72(0x176)](_0x4369fb[_0x24cf72(0xfd)]);}catch(_0x199062){_0x1f07dc[_0x24cf72(0xd6)](debug,_0x24cf72(0x17e)+util[_0x24cf72(0x171)](_0x199062));}const _0x5a4ccd=_0x13c5d0=>{const _0x35bc8f=_0x24cf72,_0xe94453=Array[_0x35bc8f(0xe4)](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x11d)](_0xbc082['length'],_0x13c5d0)?_0xbc082[_0x13c5d0]:Array['isArray'](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x160)](_0xbc082[_0x35bc8f(0x175)],0x0)?_0xbc082[0x0]:{};return{'server':_0x1469b4,'capability':_0xe94453,'proxySettings':_0x4369fb[_0x35bc8f(0xfd)][_0x35bc8f(0x13d)],'platform':helper['getPlatformName'](_0xe94453),'browserStackLogLevel':_0x4369fb[_0x35bc8f(0xfd)]['logLevel'],'platformIndex':_0x13c5d0,'framework':constants[_0x35bc8f(0xf5)][_0x35bc8f(0x167)],'platformCaps':_0x593148?Object[_0x35bc8f(0x141)]({'index':_0x13c5d0},_0x4369fb['config'][_0x35bc8f(0xef)][_0x13c5d0]):{'index':_0x13c5d0}};};let _0x1ad0ad=0x1,_0x2ac684=0x1,_0x3fb587=0x1;try{_0x1ad0ad=_0x1f07dc[_0x24cf72(0x128)](getMaxWorkers,_0x33e7e0,_0x4369fb[_0x24cf72(0xfd)]),_0x2ac684=_0x593148?_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xef)]['length']:0x1,_0x3fb587=_0x1f07dc['DYgxF'](_0x2ac684,_0x1ad0ad),process[_0x24cf72(0x161)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x1f07dc[_0x24cf72(0x142)](String,_0x3fb587);}catch(_0x2427b6){_0x1f07dc[_0x24cf72(0x149)](debug,_0x24cf72(0x156)+util[_0x24cf72(0x171)](_0x2427b6));}try{BrowserstackCLI['getInstance']()[_0x24cf72(0x11e)]&&(process[_0x24cf72(0x161)][_0x24cf72(0x178)]=BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x11e)]);}catch(_0x4e2f65){_0x1f07dc[_0x24cf72(0x180)](debug,_0x24cf72(0xe8)+util[_0x24cf72(0x171)](_0x4e2f65));}const _0x3253b4=[];try{const _0x104a91=path['resolve'](__dirname,_0x1f07dc[_0x24cf72(0x166)]);fs['existsSync'](_0x104a91)?_0x3253b4['push'](_0x24cf72(0x168)+_0x104a91):_0x1f07dc[_0x24cf72(0x163)](debug,_0x24cf72(0x120)+_0x104a91+_0x24cf72(0xfb));}catch(_0x211231){_0x1f07dc[_0x24cf72(0xe0)](debug,_0x24cf72(0x16e)+util[_0x24cf72(0x171)](_0x211231));}const _0xec0ed2=_0x49d2e3[_0x24cf72(0x106)](0x1),_0x572cf6=_0x1f07dc[_0x24cf72(0xde)](enumerateSpecFiles,_0x49d2e3),_0x57b04a=[];for(let _0x6d1c31=0x0;_0x1f07dc[_0x24cf72(0x123)](_0x6d1c31,_0x2ac684);_0x6d1c31++){if(_0x1f07dc['CxKAU'](_0x1ad0ad,0x1)&&Array['isArray'](_0x572cf6)&&_0x1f07dc[_0x24cf72(0x13f)](_0x572cf6[_0x24cf72(0x175)],0x0))for(const _0x163126 of _0x572cf6){const _0x15ff07={};_0x15ff07[_0x24cf72(0x13c)]=_0x6d1c31,_0x15ff07[_0x24cf72(0x119)]=[_0x163126],_0x57b04a[_0x24cf72(0xe9)](_0x15ff07);}else{const _0x3d0e78={};_0x3d0e78[_0x24cf72(0x13c)]=_0x6d1c31,_0x3d0e78['specArgs']=_0x572cf6,_0x57b04a[_0x24cf72(0xe9)](_0x3d0e78);}}logger[_0x24cf72(0xf2)](_0x24cf72(0xdd)+_0x2ac684+_0x24cf72(0x130)+_0x1ad0ad+'\x20('+_0x57b04a[_0x24cf72(0x175)]+_0x24cf72(0x15c)+_0x3fb587+_0x24cf72(0xfc)),PerformanceTester[_0x24cf72(0x16f)](PerformanceEvents[_0x24cf72(0x104)]);const _0x307cf1=_0x39f30a=>new Promise(_0x38abed=>{const _0x4ef5fd=_0x24cf72;let _0x48153f;try{const _0x1b0b0a=_0x1f07dc[_0x4ef5fd(0xf4)](_0x5a4ccd,_0x39f30a[_0x4ef5fd(0x13c)]);_0x48153f=Object['assign']({},process[_0x4ef5fd(0x161)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x4ef5fd(0x10f)](_0x1b0b0a),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ef5fd(0x10f)]([_0x1b0b0a[_0x4ef5fd(0x13e)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xb9408a){_0x1f07dc['BUJsO'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x39f30a[_0x4ef5fd(0x13c)]+_0x4ef5fd(0x144)+util[_0x4ef5fd(0x171)](_0xb9408a)),_0x48153f=Object[_0x4ef5fd(0x141)]({},process[_0x4ef5fd(0x161)]);}const _0x817790=Array[_0x4ef5fd(0xe4)](_0x39f30a[_0x4ef5fd(0x119)])?_0x39f30a['specArgs']:[],_0x571f98=_0x1f07dc[_0x4ef5fd(0x11d)](_0x817790[_0x4ef5fd(0x175)],0x0)?_0xec0ed2[_0x4ef5fd(0x159)](_0x4fafd0=>typeof _0x4fafd0===_0x4ef5fd(0x126)&&_0x4fafd0[_0x4ef5fd(0x172)]('-')):_0xec0ed2,_0x59e4cf=[..._0x3253b4,..._0x571f98,..._0x817790];try{const _0x5e5088=_0x1f07dc[_0x4ef5fd(0x12a)](spawn,_0x1f07dc[_0x4ef5fd(0x157)],[_0x1f07dc['TRHqN'],..._0x59e4cf],{'shell':_0x1f07dc['oEfHK'](process[_0x4ef5fd(0xe6)],_0x1f07dc[_0x4ef5fd(0x148)]),'stdio':_0x1f07dc[_0x4ef5fd(0x10a)],'env':_0x48153f});_0x5e5088['on'](_0x1f07dc['ygHTq'],_0x110cd0=>{const _0x1e6efa=_0x4ef5fd;logger[_0x1e6efa(0x14f)](_0x1e6efa(0x132)+_0x39f30a[_0x1e6efa(0x13c)]+_0x1e6efa(0xfa)+(_0x817790[_0x1e6efa(0x175)]?_0x817790[_0x1e6efa(0x121)](','):_0x1f07dc[_0x1e6efa(0xf7)])+')\x20exited\x20with\x20code\x20'+_0x110cd0),_0x1f07dc['RgEON'](_0x38abed,_0x1f07dc[_0x1e6efa(0x129)](_0x110cd0,0x0));}),_0x5e5088['on'](_0x1f07dc[_0x4ef5fd(0x15f)],_0x4ac349=>{const _0x30c05f=_0x4ef5fd;_0x1f07dc[_0x30c05f(0x138)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x39f30a[_0x30c05f(0x13c)]+_0x30c05f(0x158)+util[_0x30c05f(0x171)](_0x4ac349)),_0x1f07dc[_0x30c05f(0x137)](_0x38abed,0x1);});}catch(_0x5bbde9){_0x1f07dc[_0x4ef5fd(0x105)](debug,_0x4ef5fd(0x114)+_0x39f30a[_0x4ef5fd(0x13c)]+')\x20:\x20'+util[_0x4ef5fd(0x171)](_0x5bbde9)),_0x1f07dc[_0x4ef5fd(0x138)](_0x38abed,0x1);}}),_0x51bb6a=_0x1f07dc[_0x24cf72(0x16c)](pLimit,_0x1f07dc['mTChb'](_0x3fb587,0x0)?_0x3fb587:0x1),_0x12d00b=await Promise['all'](_0x57b04a['map'](_0x32356a=>_0x51bb6a(()=>_0x307cf1(_0x32356a))));PerformanceTester[_0x24cf72(0x131)](PerformanceEvents[_0x24cf72(0x116)]);const _0x44e605=_0x12d00b['find'](_0x21f8b2=>_0x21f8b2!==0x0)||0x0;process[_0x24cf72(0x17c)]=_0x44e605,logger[_0x24cf72(0x14f)](_0x24cf72(0xdc)+_0x44e605);const _0x28956f=BrowserstackCLI[_0x24cf72(0x177)]();try{await TestHubHandler[_0x24cf72(0x115)](),await BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x115)]();}catch(_0x302577){_0x1f07dc['PacpW'](debug,_0x24cf72(0xda)+util['format'](_0x302577));}try{const {browserstackFolderPath:_0x36461f,tcgConfigPath:_0xa62a17}=helper[_0x24cf72(0xe7)]();fs['unlinkSync'](_0xa62a17),fs[_0x24cf72(0x100)](_0x36461f);}catch(_0x38dbea){logger[_0x24cf72(0x14f)](_0x1f07dc[_0x24cf72(0x113)],_0x38dbea);}testOpsHelper[_0x24cf72(0x17d)](),await utilities[_0x24cf72(0x139)](_0x4369fb,_0x28956f);}module[a15_0xf67c4(0xf8)]=run;
|
|
2
|
+
'use strict';function a15_0x3aa5(){const _0x155b91=['existsSync','assign','APvkO','VpTAZ','logLevel','\x20work-item(s),\x20max\x20','qHaha','../utils/constants','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','string','jasmine\x20child\x20(platformIndex=','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','BnYsP','spec_dir','../../helpers/test-observability/constants','cwd','dKWWn','FWFfp','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','6913464DXoptk','resolve','eojTZ','FRAMEWORKS','filter','test.setup.js',',\x20specs=','isBrowserstackInfra','globSync','bhMQr','posix','4wQNXhL','../v2/browserstackCLI','\x27\x20:\x20',';\x20proceeding\x20without\x20injection','BROWSERSTACK_TEST_OBSERVABILITY_YML','lHZmC','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','crNAc','validPlatformsPresent','HBCjR','\x20:\x20','parallelsPerPlatform','JASMINE_CONFIG_PATH',')\x20exited\x20with\x20code\x20','SpcLR','BROWSERSTACK_JASMINE_PARALLELS','LJwwm','__isPlaywrightInstalled','stringify','13239ZnlCDp','info','--helper=','../../helpers/helper','gabRq','getInstance','ynZCq','exports','error\x20removing\x20tcg\x20config\x20file','prepareCapabilities','YyLFD','shouldReRunObservabilityTests','\x20concurrent)','4893234pubriR','XQYtd','spec_files','parse','Xpheq','platforms','SDK_SETUP','jasmine','clvFp','WTNDN','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','LVLAB','unlinkSync','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','MZVoF','**/*[sS]pec.?(m)js','Running\x20your\x20Jasmine\x20tests\x20across\x20','qEwxc','5EJmctP','../../helpers/utilities','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','format','behWz','KkYxr','config','glob','specArgs','qvVoj','isCLIEnabled','aOdcE','../../helpers/performance/constants','maxWorkers','launchBuild','testObservability','ejOtK','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','end','debug','QBneQ','1144758jeRCUB','path','util','XWHlq','getHubUrl','BROWSERSTACK_CLI_BIN_SESSION_ID','isArray','close',')\x20:\x20','1670yWzEgL','utf8','kSaiD','stop','72EToFxQ','dZweY','__isPuppeteerInstalled','../../helpers/puppeteer-helper','23081894wsYhdO','length','startsWith','true','proxySettings','EVENTS','useW3C','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','binSessionId','arRyn','../../helpers/logger','gIUkI','from','platformIndex','all','VOsUJ','win32','push','rmdirSync','TvZZX','find','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','spec','zRvcJ','initialize','platform','JASMINE','SDK_CLEANUP','FpmPU','rvAjm','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','trim','../../helpers/playwright-helper','slice','aHbKO','eorWE','BROWSERSTACK_CAPABILITIES','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','readFileSync','inherit','error','6286imkgAM','../../helpers/testhub/testhubHandler','OjdDz','join','map','handleApp','start','../../helpers/test-observability/utils','298935fFYHDO','isUndefined','winstonLogger'];a15_0x3aa5=function(){return _0x155b91;};return a15_0x3aa5();}const a15_0x35fe31=a15_0x943f;function a15_0x943f(_0x5a91ea,_0x1284c4){const _0x3aa5dd=a15_0x3aa5();return a15_0x943f=function(_0x943f24,_0x256619){_0x943f24=_0x943f24-0x197;let _0xc2ed02=_0x3aa5dd[_0x943f24];return _0xc2ed02;},a15_0x943f(_0x5a91ea,_0x1284c4);}(function(_0x4f7cb5,_0x1049e3){const _0x3e70c2=a15_0x943f,_0x378297=_0x4f7cb5();while(!![]){try{const _0x5e8fba=-parseInt(_0x3e70c2(0x1df))/0x1*(-parseInt(_0x3e70c2(0x20c))/0x2)+-parseInt(_0x3e70c2(0x1d2))/0x3*(parseInt(_0x3e70c2(0x235))/0x4)+parseInt(_0x3e70c2(0x1bc))/0x5*(-parseInt(_0x3e70c2(0x1a9))/0x6)+-parseInt(_0x3e70c2(0x214))/0x7+-parseInt(_0x3e70c2(0x22a))/0x8+-parseInt(_0x3e70c2(0x19c))/0x9*(-parseInt(_0x3e70c2(0x1db))/0xa)+parseInt(_0x3e70c2(0x1e3))/0xb;if(_0x5e8fba===_0x1049e3)break;else _0x378297['push'](_0x378297['shift']());}catch(_0xe5e1b0){_0x378297['push'](_0x378297['shift']());}}}(a15_0x3aa5,0x71d76));const fs=require('fs'),path=require(a15_0x35fe31(0x1d3)),util=require(a15_0x35fe31(0x1d4)),{spawn}=require('child_process'),glob=require(a15_0x35fe31(0x1c3)),pLimit=require('p-limit'),logger=require(a15_0x35fe31(0x1ed))[a15_0x35fe31(0x216)],helper=require(a15_0x35fe31(0x19f)),utilities=require(a15_0x35fe31(0x1bd)),constants=require(a15_0x35fe31(0x21e)),TestHubHandler=require(a15_0x35fe31(0x20d)),testOpsHelper=require(a15_0x35fe31(0x213)),{debug}=require(a15_0x35fe31(0x213)),{FRAMEWORKS}=require(a15_0x35fe31(0x225)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a15_0x35fe31(0x1c8))[a15_0x35fe31(0x1e8)],BrowserstackCLI=require(a15_0x35fe31(0x236)),{checkPwandBootstrapCli}=require(a15_0x35fe31(0x203)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x35fe31(0x1e2)),getMaxWorkers=(_0x4135e2,_0x53afec)=>{const _0x208b11=a15_0x35fe31,_0xd08150={'LJwwm':function(_0x3d78b2,_0x563dbf){return _0x3d78b2(_0x563dbf);}};let _0x29d2db=0x1;if(!helper[_0x208b11(0x215)](_0x53afec[_0x208b11(0x240)]))_0x29d2db=_0xd08150[_0x208b11(0x199)](parseInt,_0x53afec['parallelsPerPlatform']);else!helper['isUndefined'](_0x4135e2[_0x208b11(0x1c9)])&&(_0x29d2db=_0x4135e2[_0x208b11(0x1c9)]);return _0x29d2db;},resolveJasmineConfigPath=()=>{const _0x1357c5=a15_0x35fe31,_0x19cad4={};_0x19cad4['MZVoF']='spec/support/jasmine.json';const _0x2c9b69=_0x19cad4,_0x2571da=[];process[_0x1357c5(0x1b4)][_0x1357c5(0x241)]&&_0x2571da[_0x1357c5(0x1f4)](path[_0x1357c5(0x22b)](process[_0x1357c5(0x226)](),process[_0x1357c5(0x1b4)][_0x1357c5(0x241)]));_0x2571da['push'](path[_0x1357c5(0x22b)](process[_0x1357c5(0x226)](),_0x2c9b69[_0x1357c5(0x1b8)]));for(const _0x3bdc76 of _0x2571da){try{if(fs['existsSync'](_0x3bdc76))return _0x3bdc76;}catch(_0x11dffd){}}return null;},enumerateSpecFiles=_0x3781e0=>{const _0x467224=a15_0x35fe31,_0x4f6352={'qvVoj':function(_0x52ab33,_0x34e89b){return _0x52ab33(_0x34e89b);},'qEwxc':function(_0x5b8159,_0x4b08a0){return _0x5b8159>_0x4b08a0;},'wjsID':function(_0x431543,_0x5f1c16){return _0x431543<_0x5f1c16;},'BnYsP':function(_0x2ee658,_0x89985c){return _0x2ee658===_0x89985c;},'stcDt':_0x467224(0x220),'uMJEI':function(_0x364a65,_0x55e204){return _0x364a65>_0x55e204;},'gIUkI':function(_0x5c5a4c,_0x1d3d9c,_0x10db1c){return _0x5c5a4c(_0x1d3d9c,_0x10db1c);},'VOsUJ':function(_0x408c32,_0x1c94a0){return _0x408c32>_0x1c94a0;},'ARVBL':function(_0x5213bc){return _0x5213bc();},'arRyn':_0x467224(0x1dc),'Xpheq':_0x467224(0x1f9),'SpcLR':function(_0x52ab68,_0x28e877){return _0x52ab68>_0x28e877;},'lHZmC':_0x467224(0x1b9),'wZMxx':function(_0x133ca6,_0x363195){return _0x133ca6>_0x363195;}};try{if(testOpsHelper[_0x467224(0x1a7)]()){const _0x21f18=testOpsHelper['parseFileNames'](process[_0x467224(0x1b4)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x467224(0x1d8)](_0x21f18)&&_0x4f6352[_0x467224(0x1bb)](_0x21f18['length'],0x0))return _0x21f18[_0x467224(0x210)](_0x72a1d3=>path[_0x467224(0x22b)](process['cwd'](),_0x72a1d3[_0x467224(0x202)]()))[_0x467224(0x22e)](Boolean);}}catch(_0x41d476){_0x4f6352[_0x467224(0x1c5)](debug,_0x467224(0x222)+util[_0x467224(0x1bf)](_0x41d476));}const _0x31868a=[];try{for(let _0x45cc32=0x1;_0x4f6352['wjsID'](_0x45cc32,_0x3781e0['length']);_0x45cc32++){const _0x1018b9=_0x3781e0[_0x45cc32];_0x4f6352[_0x467224(0x223)](typeof _0x1018b9,_0x4f6352['stcDt'])&&!_0x1018b9[_0x467224(0x1e5)]('-')&&_0x31868a['push'](_0x1018b9);}}catch(_0x5151ba){}const _0x3f7fd9={'cwd':process[_0x467224(0x226)](),'absolute':!![],'nodir':!![]},_0x325367=(_0x455ba9,_0x693547)=>{const _0x22359c=_0x467224,_0x1ad6aa=[];for(const _0x454c7b of _0x455ba9){try{const _0x547993=_0x693547?path[_0x22359c(0x234)][_0x22359c(0x20f)](_0x693547,_0x454c7b):_0x454c7b,_0x24029b=glob[_0x22359c(0x232)](_0x547993,_0x3f7fd9);Array['isArray'](_0x24029b)&&_0x1ad6aa[_0x22359c(0x1f4)](..._0x24029b);}catch(_0x45cd6d){_0x4f6352[_0x22359c(0x1c5)](debug,_0x22359c(0x208)+_0x454c7b+_0x22359c(0x237)+util[_0x22359c(0x1bf)](_0x45cd6d));}}return _0x1ad6aa;};if(_0x4f6352['uMJEI'](_0x31868a['length'],0x0)){const _0x2b952e=_0x4f6352[_0x467224(0x1ee)](_0x325367,_0x31868a,null);if(_0x4f6352[_0x467224(0x1f2)](_0x2b952e[_0x467224(0x1e4)],0x0))return Array[_0x467224(0x1ef)](new Set(_0x2b952e));return _0x31868a[_0x467224(0x210)](_0x2a5d79=>path[_0x467224(0x22b)](process['cwd'](),_0x2a5d79));}try{const _0xc222d9=_0x4f6352['ARVBL'](resolveJasmineConfigPath);if(_0xc222d9){const _0x1a6687=JSON[_0x467224(0x1ac)](fs[_0x467224(0x209)](_0xc222d9,_0x4f6352[_0x467224(0x1ec)])),_0x3c25c5=_0x1a6687[_0x467224(0x224)]||_0x4f6352[_0x467224(0x1ad)],_0x280e74=Array['isArray'](_0x1a6687[_0x467224(0x1ab)])&&_0x4f6352[_0x467224(0x197)](_0x1a6687[_0x467224(0x1ab)][_0x467224(0x1e4)],0x0)?_0x1a6687[_0x467224(0x1ab)]:[_0x4f6352[_0x467224(0x23a)]],_0xce75f6=_0x4f6352[_0x467224(0x1ee)](_0x325367,_0x280e74,_0x3c25c5);if(_0x4f6352['wZMxx'](_0xce75f6[_0x467224(0x1e4)],0x0))return Array[_0x467224(0x1ef)](new Set(_0xce75f6));}}catch(_0x591260){_0x4f6352['qvVoj'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x467224(0x1bf)](_0x591260));}return null;};async function run(_0xa188aa,_0x1f400f,_0x2ed821){const _0x7e9cf5=a15_0x35fe31,_0x345705={'VpTAZ':function(_0x5ce074,_0x366f26){return _0x5ce074>_0x366f26;},'aHbKO':_0x7e9cf5(0x1f1),'ejOtK':function(_0x3a7785,_0x5e18f5){return _0x3a7785(_0x5e18f5);},'TvZZX':function(_0x52ef34,_0x505975){return _0x52ef34||_0x505975;},'KABlg':function(_0x19c91b,_0x29c25a){return _0x19c91b(_0x29c25a);},'XWHlq':function(_0x207619,_0x2136e5){return _0x207619(_0x2136e5);},'OjdDz':function(_0x448594,_0x2e0257){return _0x448594>_0x2e0257;},'NZnpf':function(_0x334980,_0x46d34e,_0x112ee8,_0x1b96a2){return _0x334980(_0x46d34e,_0x112ee8,_0x1b96a2);},'ynZCq':'npx','rvAjm':_0x7e9cf5(0x1b0),'xDnQu':function(_0xf061e4,_0x2b66b6){return _0xf061e4===_0x2b66b6;},'XQYtd':_0x7e9cf5(0x1f3),'HBCjR':_0x7e9cf5(0x20a),'eojTZ':_0x7e9cf5(0x1d9),'dZweY':_0x7e9cf5(0x20b),'QBneQ':function(_0x247769,_0x1cec56){return _0x247769(_0x1cec56);},'behWz':'@playwright/test','KkYxr':function(_0x3d77e3){return _0x3d77e3();},'WTNDN':function(_0x3604f2,_0x135f6d,_0xa57c42,_0x5866f2){return _0x3604f2(_0x135f6d,_0xa57c42,_0x5866f2);},'LVLAB':function(_0x255638,_0x25aff4,_0x2aade2,_0x162c28){return _0x255638(_0x25aff4,_0x2aade2,_0x162c28);},'pyFFl':function(_0x2b99bb,_0x51da6b){return _0x2b99bb!=_0x51da6b;},'zRvcJ':_0x7e9cf5(0x1e6),'YyLFD':function(_0xee2e15,_0x39555a){return _0xee2e15(_0x39555a);},'kSaiD':function(_0x482694,_0x174e18){return _0x482694(_0x174e18);},'bhMQr':function(_0x3e17a8,_0x320d96,_0x58e99d){return _0x3e17a8(_0x320d96,_0x58e99d);},'APvkO':function(_0x320f0b,_0x34dc2b){return _0x320f0b*_0x34dc2b;},'FpmPU':function(_0x4fcb26,_0x2eac9e){return _0x4fcb26(_0x2eac9e);},'FWFfp':_0x7e9cf5(0x22f),'crNAc':function(_0x357ae9,_0x232c88){return _0x357ae9(_0x232c88);},'oeGwg':function(_0x2da9c5,_0xcf0c06){return _0x2da9c5<_0xcf0c06;},'eorWE':function(_0x55e948,_0x29d8ab){return _0x55e948>_0x29d8ab;},'gabRq':function(_0x422420,_0x389c2c){return _0x422420>_0x389c2c;},'clvFp':function(_0x670990,_0x3087d3){return _0x670990(_0x3087d3);},'qHaha':function(_0x495718,_0x577ff5){return _0x495718>_0x577ff5;},'aOdcE':function(_0x1f3d6f,_0x34ed39){return _0x1f3d6f(_0x34ed39);},'ZwpGs':_0x7e9cf5(0x1a4)},_0x148d77=helper['getPackageVersion'](_0x345705[_0x7e9cf5(0x1c0)]);global[_0x7e9cf5(0x19a)]=!!_0x148d77;const _0xd9702b=_0x345705[_0x7e9cf5(0x1c1)](getPuppeteerVersion);global[_0x7e9cf5(0x1e1)]=!!_0xd9702b;helper[_0x7e9cf5(0x231)]()?(await _0x2ed821[_0x7e9cf5(0x1fb)](_0xa188aa),await helper[_0x7e9cf5(0x211)](_0x2ed821[_0x7e9cf5(0x1c2)])):await _0x2ed821['setupTCGAuth']();if(_0x148d77)await _0x345705[_0x7e9cf5(0x1b2)](checkPwandBootstrapCli,_0x148d77,constants[_0x7e9cf5(0x22d)]['JASMINE'],_0x2ed821);else _0xd9702b&&await _0x345705[_0x7e9cf5(0x1b5)](checkPuppeteerAndBootstrapCli,_0xd9702b,constants[_0x7e9cf5(0x22d)]['JASMINE'],_0x2ed821);if(!_0x2ed821[_0x7e9cf5(0x1c2)])return;_0x345705['pyFFl'](_0x2ed821[_0x7e9cf5(0x1c2)][_0x7e9cf5(0x1cb)],null)?process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x239)]=_0x2ed821[_0x7e9cf5(0x1c2)][_0x7e9cf5(0x1cb)]:process['env'][_0x7e9cf5(0x239)]=_0x345705[_0x7e9cf5(0x1fa)];!helper[_0x7e9cf5(0x215)](_0x2ed821[_0x7e9cf5(0x1c2)]['accessibilityOptions'])&&(process['env'][_0x7e9cf5(0x1b3)]=JSON['stringify'](_0x2ed821[_0x7e9cf5(0x1c2)]['accessibilityOptions']));try{await TestHubHandler[_0x7e9cf5(0x1ca)](FRAMEWORKS[_0x7e9cf5(0x1fd)],_0x2ed821);}catch(_0x496cc1){logger[_0x7e9cf5(0x20b)](_0x7e9cf5(0x23b)+util[_0x7e9cf5(0x1bf)](_0x496cc1)),_0x345705[_0x7e9cf5(0x1cc)](debug,_0x7e9cf5(0x1be)+util[_0x7e9cf5(0x1bf)](_0x496cc1));}let _0x3c7c38=![],_0x235b0d=[];try{_0x3c7c38=helper[_0x7e9cf5(0x1e9)](_0x2ed821[_0x7e9cf5(0x1c2)]),_0x235b0d=helper[_0x7e9cf5(0x1a5)](_0x2ed821[_0x7e9cf5(0x1c2)],_0x3c7c38,constants[_0x7e9cf5(0x22d)][_0x7e9cf5(0x1fd)]),process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x207)]=JSON[_0x7e9cf5(0x19b)](_0x235b0d);}catch(_0xe73f2e){_0x345705['YyLFD'](debug,_0x7e9cf5(0x1ce)+util[_0x7e9cf5(0x1bf)](_0xe73f2e));}let _0x1c4ac0=null,_0x112de3=![];try{_0x1c4ac0=helper[_0x7e9cf5(0x1d6)](_0x2ed821[_0x7e9cf5(0x1c2)]),_0x112de3=helper[_0x7e9cf5(0x23d)](_0x2ed821['config']);}catch(_0xfdc29b){_0x345705[_0x7e9cf5(0x1dd)](debug,'Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20'+util[_0x7e9cf5(0x1bf)](_0xfdc29b));}const _0x26dc71=_0x37f52a=>{const _0x2ee784=_0x7e9cf5,_0x453262=Array[_0x2ee784(0x1d8)](_0x235b0d)&&_0x345705['VpTAZ'](_0x235b0d['length'],_0x37f52a)?_0x235b0d[_0x37f52a]:Array[_0x2ee784(0x1d8)](_0x235b0d)&&_0x345705[_0x2ee784(0x21a)](_0x235b0d[_0x2ee784(0x1e4)],0x0)?_0x235b0d[0x0]:{};return{'server':_0x1c4ac0,'capability':_0x453262,'proxySettings':_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x1e7)],'platform':helper['getPlatformName'](_0x453262),'browserStackLogLevel':_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x21b)],'platformIndex':_0x37f52a,'framework':constants[_0x2ee784(0x22d)]['JASMINE'],'platformCaps':_0x112de3?Object['assign']({'index':_0x37f52a},_0x2ed821[_0x2ee784(0x1c2)][_0x2ee784(0x1ae)][_0x37f52a]):{'index':_0x37f52a}};};let _0x2b0067=0x1,_0x189285=0x1,_0x8c1f5f=0x1;try{_0x2b0067=_0x345705[_0x7e9cf5(0x233)](getMaxWorkers,_0xa188aa,_0x2ed821[_0x7e9cf5(0x1c2)]),_0x189285=_0x112de3?_0x2ed821['config'][_0x7e9cf5(0x1ae)][_0x7e9cf5(0x1e4)]:0x1,_0x8c1f5f=_0x345705[_0x7e9cf5(0x219)](_0x189285,_0x2b0067),process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x198)]=_0x345705[_0x7e9cf5(0x1ff)](String,_0x8c1f5f);}catch(_0x59ae67){_0x345705[_0x7e9cf5(0x1cc)](debug,_0x7e9cf5(0x201)+util['format'](_0x59ae67));}try{BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1eb)]&&(process[_0x7e9cf5(0x1b4)][_0x7e9cf5(0x1d7)]=BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1eb)]);}catch(_0x28f10a){_0x345705[_0x7e9cf5(0x1a6)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util['format'](_0x28f10a));}const _0x1321ad=[];try{const _0x388bc3=path['resolve'](__dirname,_0x345705[_0x7e9cf5(0x228)]);fs[_0x7e9cf5(0x217)](_0x388bc3)?_0x1321ad[_0x7e9cf5(0x1f4)](_0x7e9cf5(0x19e)+_0x388bc3):_0x345705[_0x7e9cf5(0x1ff)](debug,_0x7e9cf5(0x1cd)+_0x388bc3+_0x7e9cf5(0x238));}catch(_0x22fd8b){_0x345705[_0x7e9cf5(0x1d1)](debug,_0x7e9cf5(0x229)+util['format'](_0x22fd8b));}const _0x5bc1c6=_0x1f400f[_0x7e9cf5(0x204)](0x1),_0x5114a4=_0x345705[_0x7e9cf5(0x23c)](enumerateSpecFiles,_0x1f400f),_0x487e4e=[];for(let _0xeaaad7=0x0;_0x345705['oeGwg'](_0xeaaad7,_0x189285);_0xeaaad7++){if(_0x345705[_0x7e9cf5(0x206)](_0x2b0067,0x1)&&Array[_0x7e9cf5(0x1d8)](_0x5114a4)&&_0x345705[_0x7e9cf5(0x1a0)](_0x5114a4[_0x7e9cf5(0x1e4)],0x0))for(const _0x5f04e4 of _0x5114a4){const _0x3547da={};_0x3547da[_0x7e9cf5(0x1f0)]=_0xeaaad7,_0x3547da[_0x7e9cf5(0x1c4)]=[_0x5f04e4],_0x487e4e['push'](_0x3547da);}else{const _0x4ba0ff={};_0x4ba0ff[_0x7e9cf5(0x1f0)]=_0xeaaad7,_0x4ba0ff['specArgs']=_0x5114a4,_0x487e4e['push'](_0x4ba0ff);}}logger[_0x7e9cf5(0x19d)](_0x7e9cf5(0x1ba)+_0x189285+'\x20platform(s),\x20parallelsPerPlatform='+_0x2b0067+'\x20('+_0x487e4e[_0x7e9cf5(0x1e4)]+_0x7e9cf5(0x21c)+_0x8c1f5f+_0x7e9cf5(0x1a8)),PerformanceTester[_0x7e9cf5(0x1cf)](PerformanceEvents[_0x7e9cf5(0x1af)]);const _0x4486e3=_0x183f4f=>new Promise(_0x591e94=>{const _0x5e1beb=_0x7e9cf5,_0x4d6057={'dKWWn':function(_0x2e3d87,_0x5a85cd){const _0x18d573=a15_0x943f;return _0x345705[_0x18d573(0x1cc)](_0x2e3d87,_0x5a85cd);}};let _0x3a4a27;try{const _0x430d4e=_0x345705['KABlg'](_0x26dc71,_0x183f4f[_0x5e1beb(0x1f0)]);_0x3a4a27=Object[_0x5e1beb(0x218)]({},process[_0x5e1beb(0x1b4)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5e1beb(0x19b)](_0x430d4e),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x430d4e['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x36a576){_0x345705[_0x5e1beb(0x1d5)](debug,_0x5e1beb(0x1b7)+_0x183f4f[_0x5e1beb(0x1f0)]+_0x5e1beb(0x23f)+util[_0x5e1beb(0x1bf)](_0x36a576)),_0x3a4a27=Object[_0x5e1beb(0x218)]({},process['env']);}const _0x490af8=Array[_0x5e1beb(0x1d8)](_0x183f4f['specArgs'])?_0x183f4f[_0x5e1beb(0x1c4)]:[],_0x4cdc68=_0x345705[_0x5e1beb(0x20e)](_0x490af8[_0x5e1beb(0x1e4)],0x0)?_0x5bc1c6[_0x5e1beb(0x22e)](_0x9dafa9=>typeof _0x9dafa9===_0x5e1beb(0x220)&&_0x9dafa9['startsWith']('-')):_0x5bc1c6,_0xddec9e=[..._0x1321ad,..._0x4cdc68,..._0x490af8];try{const _0x150a06=_0x345705['NZnpf'](spawn,_0x345705[_0x5e1beb(0x1a2)],[_0x345705[_0x5e1beb(0x200)],..._0xddec9e],{'shell':_0x345705['xDnQu'](process[_0x5e1beb(0x1fc)],_0x345705[_0x5e1beb(0x1aa)]),'stdio':_0x345705[_0x5e1beb(0x23e)],'env':_0x3a4a27});_0x150a06['on'](_0x345705[_0x5e1beb(0x22c)],_0x5278e7=>{const _0x3d2d66=_0x5e1beb;logger[_0x3d2d66(0x1d0)](_0x3d2d66(0x221)+_0x183f4f[_0x3d2d66(0x1f0)]+_0x3d2d66(0x230)+(_0x490af8[_0x3d2d66(0x1e4)]?_0x490af8[_0x3d2d66(0x20f)](','):_0x345705[_0x3d2d66(0x205)])+_0x3d2d66(0x242)+_0x5278e7),_0x345705[_0x3d2d66(0x1cc)](_0x591e94,_0x345705[_0x3d2d66(0x1f6)](_0x5278e7,0x0));}),_0x150a06['on'](_0x345705[_0x5e1beb(0x1e0)],_0x372d08=>{const _0x29755d=_0x5e1beb;_0x4d6057[_0x29755d(0x227)](debug,_0x29755d(0x21f)+_0x183f4f['platformIndex']+_0x29755d(0x1da)+util['format'](_0x372d08)),_0x4d6057[_0x29755d(0x227)](_0x591e94,0x1);});}catch(_0xb358e5){_0x345705[_0x5e1beb(0x1d1)](debug,_0x5e1beb(0x1ea)+_0x183f4f[_0x5e1beb(0x1f0)]+')\x20:\x20'+util[_0x5e1beb(0x1bf)](_0xb358e5)),_0x345705[_0x5e1beb(0x1d1)](_0x591e94,0x1);}}),_0x140805=_0x345705[_0x7e9cf5(0x1b1)](pLimit,_0x345705[_0x7e9cf5(0x21d)](_0x8c1f5f,0x0)?_0x8c1f5f:0x1),_0x2db0f6=await Promise[_0x7e9cf5(0x1f1)](_0x487e4e[_0x7e9cf5(0x210)](_0x1e26cb=>_0x140805(()=>_0x4486e3(_0x1e26cb))));PerformanceTester[_0x7e9cf5(0x212)](PerformanceEvents[_0x7e9cf5(0x1fe)]);const _0x3b0ce1=_0x2db0f6[_0x7e9cf5(0x1f7)](_0x5c6ba4=>_0x5c6ba4!==0x0)||0x0;process['exitCode']=_0x3b0ce1,logger['debug'](_0x7e9cf5(0x1f8)+_0x3b0ce1);const _0x46e8d3=BrowserstackCLI[_0x7e9cf5(0x1c6)]();try{await TestHubHandler[_0x7e9cf5(0x1de)](),await BrowserstackCLI[_0x7e9cf5(0x1a1)]()[_0x7e9cf5(0x1de)]();}catch(_0xc0a0bb){_0x345705[_0x7e9cf5(0x1c7)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0xc0a0bb));}try{const {browserstackFolderPath:_0x2dbcbc,tcgConfigPath:_0x1ca8a3}=helper['getTCGConfigFilePaths']();fs[_0x7e9cf5(0x1b6)](_0x1ca8a3),fs[_0x7e9cf5(0x1f5)](_0x2dbcbc);}catch(_0x3464ec){logger[_0x7e9cf5(0x1d0)](_0x345705['ZwpGs'],_0x3464ec);}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x2ed821,_0x46e8d3);}module[a15_0x35fe31(0x1a3)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x4f97e6=a16_0x3671;(function(_0x550a2d,_0x302fb6){const _0x265357=a16_0x3671,_0x4fd313=_0x550a2d();while(!![]){try{const _0x952d2=parseInt(_0x265357(0x231))/0x1+-parseInt(_0x265357(0x215))/0x2*(-parseInt(_0x265357(0x1e8))/0x3)+-parseInt(_0x265357(0x216))/0x4+parseInt(_0x265357(0x1fc))/0x5+-parseInt(_0x265357(0x205))/0x6*(-parseInt(_0x265357(0x1f7))/0x7)+parseInt(_0x265357(0x1fb))/0x8+-parseInt(_0x265357(0x230))/0x9;if(_0x952d2===_0x302fb6)break;else _0x4fd313['push'](_0x4fd313['shift']());}catch(_0x31d44a){_0x4fd313['push'](_0x4fd313['shift']());}}}(a16_0x8724,0x8b304));const util=require(a16_0x4f97e6(0x23e)),logger=require(a16_0x4f97e6(0x1fd))[a16_0x4f97e6(0x207)],helper=require(a16_0x4f97e6(0x22c)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x4f97e6(0x21b)),testHubConstants=require(a16_0x4f97e6(0x22f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a16_0x4f97e6(0x21a)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x25c)]||process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x210)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x4f97e6(0x21c)](rawConfig));}catch(a16_0x2b2978){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x212)+util[a16_0x4f97e6(0x211)](a16_0x2b2978));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x4f97e6(0x224))){const xlwZlZ=a16_0x4f97e6(0x244)[a16_0x4f97e6(0x1f1)]('|');let LlZhnf=0x0;while(!![]){switch(xlwZlZ[LlZhnf++]){case'0':shouldProcessEventForTesthub()?require(a16_0x4f97e6(0x1ed))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x4f97e6(0x1ed))[a16_0x4f97e6(0x251)](_bstackConfig);continue;case'1':global[a16_0x4f97e6(0x264)]=_bstackConfig[a16_0x4f97e6(0x1f2)]||{};continue;case'2':logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x201));continue;case'3':global[a16_0x4f97e6(0x256)]=_bstackConfig['platformIndex'];continue;case'4':helper['isBrowserstackInfra']()?(global[a16_0x4f97e6(0x239)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x24f)]),global[a16_0x4f97e6(0x1ef)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x1f9)])):(global[a16_0x4f97e6(0x239)]=!![],global['__skipSessionStatus']=!![]);continue;}break;}}}catch(a16_0x1a45eb){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x22e)+util[a16_0x4f97e6(0x211)](a16_0x1a45eb));}const _fileNameByFullName={};try{if(typeof describe===a16_0x4f97e6(0x21f)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3a8704=a16_0x4f97e6,_0x5a14b7={'kHjmJ':function(_0x4320b4,_0x21ecdd){return _0x4320b4(_0x21ecdd);},'HjgVn':_0x3a8704(0x25a),'Mqalh':function(_0x1ab255,_0x3d1d38){return _0x1ab255(_0x3d1d38);},'qgzMo':_0x3a8704(0x266),'XGrsK':'jasmine-core'},_0x24823d=Error[_0x3a8704(0x25b)];try{const _0x373292=new Error();Error[_0x3a8704(0x25b)]=(_0x387836,_0x4336f1)=>_0x4336f1;const _0x4bc9cc=_0x373292['stack'];Error[_0x3a8704(0x25b)]=_0x24823d;if(Array[_0x3a8704(0x226)](_0x4bc9cc))for(const _0x18ad14 of _0x4bc9cc){const _0x3b8414=_0x18ad14['getFileName']&&_0x18ad14['getFileName']();if(_0x3b8414&&!_0x3b8414[_0x3a8704(0x203)](_0x3a8704(0x24e)+_0x5a14b7[_0x3a8704(0x1e3)](require,_0x5a14b7[_0x3a8704(0x22b)])[_0x3a8704(0x204)]+_0x3a8704(0x23c)+_0x5a14b7[_0x3a8704(0x265)](require,_0x5a14b7['HjgVn'])[_0x3a8704(0x204)])&&!_0x3b8414[_0x3a8704(0x223)](_0x5a14b7[_0x3a8704(0x250)])&&!_0x3b8414[_0x3a8704(0x203)](_0x5a14b7[_0x3a8704(0x21d)]))return _0x3b8414;}}catch(_0x47cb13){Error[_0x3a8704(0x25b)]=_0x24823d;}return null;},_wrappedDescribe=function(_0x519c73,_0x126989){const _0x197ce9=a16_0x4f97e6,_0x4b7ef2={'vDDvw':function(_0x2ac3db){return _0x2ac3db();},'LLSta':function(_0x531f63,_0x3e5423){return _0x531f63&&_0x3e5423;},'BzKcv':function(_0x5693cf,_0xefb585,_0x53a816){return _0x5693cf(_0xefb585,_0x53a816);}};let _0x365de7=null;try{_0x365de7=_0x4b7ef2[_0x197ce9(0x243)](_resolveCallerFile);}catch(_0x133d5d){}_describeTitleStack[_0x197ce9(0x254)](_0x519c73);const _0x1f27b1=_describeTitleStack['join']('\x20');_0x4b7ef2['LLSta'](_0x365de7,_0x1f27b1)&&(_fileNameByFullName[_0x1f27b1]=_0x365de7);try{return _0x4b7ef2[_0x197ce9(0x232)](_origDescribe,_0x519c73,_0x126989);}finally{_describeTitleStack[_0x197ce9(0x253)]();}};Object[a16_0x4f97e6(0x1ea)](_origDescribe)[a16_0x4f97e6(0x227)](_0x54056d=>{_wrappedDescribe[_0x54056d]=_origDescribe[_0x54056d];}),global[a16_0x4f97e6(0x25f)]=_wrappedDescribe;}}catch(a16_0x237211){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x229)+util['format'](a16_0x237211));}try{if(typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]){const BrowserStackJasmineReporter=require(a16_0x4f97e6(0x234)),a16_0x216866={};a16_0x216866[a16_0x4f97e6(0x20f)]=_fileNameByFullName,jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)](new BrowserStackJasmineReporter(a16_0x216866)),logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x1fe));}else logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x217));}catch(a16_0xa37209){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x228)+util[a16_0x4f97e6(0x211)](a16_0xa37209));}try{typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]&&jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)]({'specStarted'(_0x3b554d){const _0x571caa=a16_0x4f97e6,_0x5e444f={};_0x5e444f['xtbRV']=function(_0x1ec1ba,_0x3fd6b1){return _0x1ec1ba||_0x3fd6b1;};const _0x41c6bd=_0x5e444f;_activeResultId=_0x3b554d&&_0x3b554d['id'],_activeFullName=_0x3b554d&&_0x3b554d[_0x571caa(0x1f0)],_activeResultRef=_0x41c6bd['xtbRV'](_0x3b554d,null);},'specDone'(){}});}catch(a16_0x148935){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x4f97e6(0x211)](a16_0x148935));}const _resolveAutoScanning=()=>{const _0x40fd19=a16_0x4f97e6,_0x32d34c={};_0x32d34c[_0x40fd19(0x237)]=function(_0x4c67c9,_0xa96f0f){return _0x4c67c9===_0xa96f0f;};const _0x1eab2f=_0x32d34c;let _0x542ad1=!![];try{const _0x15b47a=JSON['parse'](process[_0x40fd19(0x1e7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x1eab2f[_0x40fd19(0x237)](_0x15b47a[_0x40fd19(0x1e5)],![])&&(_0x542ad1=![]);}catch(_0x2d7aac){logger['debug'](_0x40fd19(0x242)+_0x2d7aac[_0x40fd19(0x1e4)]);}return _0x542ad1;};try{typeof beforeEach===a16_0x4f97e6(0x21f)&&beforeEach(function bstackA11yBeforeEach(){const _0x5cbf15=a16_0x4f97e6,_0x53c7bc={'cJYga':function(_0x1a212c){return _0x1a212c();},'Pqpad':function(_0x1ec453,_0x2a8d0a,_0x3a03fa){return _0x1ec453(_0x2a8d0a,_0x3a03fa);},'AyYkD':function(_0x58b108,_0x43f6a0){return _0x58b108&&_0x43f6a0;},'BiIAo':_0x5cbf15(0x238),'gjNZg':_0x5cbf15(0x23a)};try{const _0x35472a=_0x53c7bc[_0x5cbf15(0x20c)](_resolveAutoScanning),_0x186ff9=_0x53c7bc[_0x5cbf15(0x261)](shouldScanTestForAccessibility,null,![]),_0x4cadeb=_0x53c7bc[_0x5cbf15(0x20b)](_0x35472a,_0x186ff9);globals['setGlobal'](_0x53c7bc[_0x5cbf15(0x257)],_0x4cadeb),globals[_0x5cbf15(0x1f3)](_0x53c7bc[_0x5cbf15(0x206)],null);}catch(_0x27b60f){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x5cbf15(0x211)](_0x27b60f));}}),typeof afterEach===a16_0x4f97e6(0x21f)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x369457=a16_0x4f97e6,_0x22ebab={'DEOxg':function(_0x4e60a9,_0x2b1539){return _0x4e60a9>_0x2b1539;},'wjfMP':function(_0x180985,_0x4f93b4){return _0x180985>_0x4f93b4;},'EhZOE':'Spec\x20failed','SgFTk':function(_0x5b51c0,_0x45571f){return _0x5b51c0+_0x45571f;},'CzhFR':_0x369457(0x263),'QlZuU':_0x369457(0x241),'cjYod':_0x369457(0x249),'pfMGf':_0x369457(0x20d),'AeCEz':_0x369457(0x236),'wpuYP':_0x369457(0x1f5),'nllRg':function(_0x514c68){return _0x514c68();},'WuQDl':'isAccessibilityPlatform','dvXGz':'bstackA11yShouldScan','StQqp':_0x369457(0x23f),'JrGUw':_0x369457(0x246),'aQLOU':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','paPRp':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','KBGYE':_0x369457(0x25e),'LgZld':_0x369457(0x220),'mIviF':_0x369457(0x24c)};try{if(Array[_0x369457(0x226)](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global['__drivers']['length'],0x0)&&global['__drivers'][0x0]){const _0x2fd0fc=_activeFullName||global[_0x369457(0x245)];if(!global['__skipSessionName']&&_0x2fd0fc){global[_0x369457(0x245)]=_0x2fd0fc;try{await global[_0x369457(0x24a)][0x0][_0x369457(0x1f6)](_0x369457(0x1f4)+JSON[_0x369457(0x221)](_0x2fd0fc)+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![];}catch(_0x59a29f){logger[_0x369457(0x1ff)](_0x369457(0x218)+util[_0x369457(0x211)](_0x59a29f));}}if(!global[_0x369457(0x1ef)])try{const _0x407c1b=_activeResultRef&&Array[_0x369457(0x226)](_activeResultRef[_0x369457(0x22d)])?_activeResultRef[_0x369457(0x22d)]:[],_0x50a519=_0x22ebab[_0x369457(0x233)](_0x407c1b[_0x369457(0x1fa)],0x0),_0x53e54c=_0x50a519?_0x407c1b[0x0]&&_0x407c1b[0x0][_0x369457(0x1e4)]||_0x22ebab[_0x369457(0x219)]:null;try{await global['__drivers'][0x0][_0x369457(0x1f6)](_0x369457(0x214)+JSON[_0x369457(0x221)](_0x50a519?_0x22ebab[_0x369457(0x24d)](_0x22ebab[_0x369457(0x247)],_0x53e54c):_0x22ebab['QlZuU'])+_0x369457(0x1ee)+(_0x50a519?_0x22ebab[_0x369457(0x259)]:_0x22ebab[_0x369457(0x208)])+_0x369457(0x252));}catch(_0x3b960f){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x369457(0x211)](_0x3b960f));}_0x50a519&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global[_0x369457(0x24a)][0x0],_0x50a519?_0x22ebab[_0x369457(0x258)]:_0x22ebab[_0x369457(0x240)],_0x53e54c);}catch(_0x38c311){logger[_0x369457(0x1ff)](_0x369457(0x23b)+util[_0x369457(0x211)](_0x38c311));}}}catch(_0x253f5e){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x253f5e));}try{if(_0x22ebab[_0x369457(0x213)](isAccessibilityAutomationSession)&&globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x23d)])&&Array['isArray'](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global[_0x369457(0x24a)][_0x369457(0x1fa)],0x0)&&global[_0x369457(0x24a)][0x0]){const _0x31ec6d=testRunMap[_0x369457(0x248)](_activeResultId),_0xb3999b={};_0xb3999b[_0x369457(0x1eb)]=_0x31ec6d,_0xb3999b['thBuildUuid']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR'][_0x369457(0x235)]],_0xb3999b['thJwtToken']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x281fe6=_0xb3999b;logger['debug'](_0x369457(0x1ec)+JSON[_0x369457(0x221)](_0x281fe6));if(globals['getGlobal'](_0x22ebab[_0x369457(0x209)])){logger[_0x369457(0x1ff)](_0x22ebab['StQqp']);const _0x27f1d1=await accessibilityRetryHelper[_0x369457(0x25d)](global[_0x369457(0x24a)][0x0],global['browserstackSessionName']);_0x27f1d1?logger[_0x369457(0x1ff)](_0x22ebab[_0x369457(0x260)]):logger['warn'](_0x22ebab[_0x369457(0x20e)]);}else logger['debug'](_0x22ebab[_0x369457(0x202)]);globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x222)])&&(_0x281fe6[_0x369457(0x1f8)]=!![]);const _0x194ed5=await accessibilityRetryHelper[_0x369457(0x22a)](global['__drivers'][0x0],_0x281fe6);_0x194ed5?logger[_0x369457(0x1ff)](_0x22ebab['LgZld']):logger[_0x369457(0x21e)](_0x22ebab[_0x369457(0x255)]);}}catch(_0xfaabe5){logger['error'](_0x369457(0x225)+util['format'](_0xfaabe5));}});}catch(a16_0x474324){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x4f97e6(0x211)](a16_0x474324));}function a16_0x8724(){const _0x578671=['cjYod','path','prepareStackTrace','BROWSERSTACK_JASMINE_CONFIG','performScanWithRetry','isMobilePlatform','describe','JrGUw','Pqpad','addReporter','Failed:\x20','__platformCaps','Mqalh','node:','kHjmJ','message','autoScanning','DEOxg','env','36RkSdLu','getGlobal','keys','thTestRunUuid','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../index',',\x22level\x22:\x20\x22','__skipSessionStatus','fullName','split','platformCaps','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','passed','executeScript','1061221PiCjlW','is_mobile_session','skipSessionStatus','length','5584160isPcYP','1083380GHjDRp','../../helpers/logger','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','debug','undefined','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','paPRp','includes','sep','18VrCnvp','gjNZg','winstonLogger','pfMGf','dvXGz','exports','AyYkD','cJYga','info','aQLOU','fileNameByFullName','CONFIG','format','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','nllRg','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','4868kMHFLJ','85780OCWxcU','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','EhZOE','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/testhub/utils','parse','XGrsK','warn','function','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','stringify','KBGYE','startsWith','@playwright/test','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','isArray','forEach','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','saveAccessibilityResultsWithRetry','HjgVn','../../helpers/helper','failedExpectations','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/testhub/constants','12044799GMAwzo','531159VHIrTo','BzKcv','wjfMP','./bstack-reporter/customReporter','BROWSERSTACK_TESTHUB_UUID','failed','BeuOh','bstackA11yShouldScan','__skipSessionName','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','jasmine','WuQDl','util','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','wpuYP','Passed','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','vDDvw','2|0|1|3|4','sessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','CzhFR','get','error','__drivers','getEnv','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SgFTk','bin','skipSessionName','qgzMo','browserstackAgentV2','\x22}}','pop','push','mIviF','browserstackPlatformIndex','BiIAo','AeCEz'];a16_0x8724=function(){return _0x578671;};return a16_0x8724();}function a16_0x3671(_0x222ffa,_0x5ee4d6){const _0x87246a=a16_0x8724();return a16_0x3671=function(_0x3671af,_0x58500b){_0x3671af=_0x3671af-0x1e3;let _0x542c47=_0x87246a[_0x3671af];return _0x542c47;},a16_0x3671(_0x222ffa,_0x5ee4d6);}module[a16_0x4f97e6(0x20a)]={};
|
|
1
|
+
'use strict';const a16_0x41f0f7=a16_0x3420;(function(_0x47108a,_0x1af0ee){const _0x126719=a16_0x3420,_0x5d8aa4=_0x47108a();while(!![]){try{const _0x8b51b1=-parseInt(_0x126719(0x15a))/0x1+parseInt(_0x126719(0x18c))/0x2*(-parseInt(_0x126719(0x136))/0x3)+-parseInt(_0x126719(0x128))/0x4*(-parseInt(_0x126719(0x115))/0x5)+-parseInt(_0x126719(0x140))/0x6+parseInt(_0x126719(0x186))/0x7*(parseInt(_0x126719(0x15c))/0x8)+-parseInt(_0x126719(0x150))/0x9*(parseInt(_0x126719(0x165))/0xa)+parseInt(_0x126719(0x125))/0xb;if(_0x8b51b1===_0x1af0ee)break;else _0x5d8aa4['push'](_0x5d8aa4['shift']());}catch(_0xd35d31){_0x5d8aa4['push'](_0x5d8aa4['shift']());}}}(a16_0x24cd,0x9219b));const util=require(a16_0x41f0f7(0x175)),logger=require(a16_0x41f0f7(0x17a))['winstonLogger'],helper=require(a16_0x41f0f7(0x173)),globals=require(a16_0x41f0f7(0x135)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a16_0x41f0f7(0x137)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x41f0f7(0x16c)),accessibilityRetryHelper=require(a16_0x41f0f7(0x10d)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env']['BROWSERSTACK_JASMINE_CONFIG']||process['env']['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x41f0f7(0x181)](rawConfig));}catch(a16_0x582063){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x183)+util['format'](a16_0x582063));}try{if(_bstackConfig&&!helper[a16_0x41f0f7(0x113)](a16_0x41f0f7(0x188))){const cndMDj=a16_0x41f0f7(0x184)['split']('|');let NgkGjG=0x0;while(!![]){switch(cndMDj[NgkGjG++]){case'0':helper[a16_0x41f0f7(0x167)]()?(global['__skipSessionName']=helper[a16_0x41f0f7(0x15b)](_bstackConfig[a16_0x41f0f7(0x187)]),global[a16_0x41f0f7(0x10e)]=helper[a16_0x41f0f7(0x15b)](_bstackConfig[a16_0x41f0f7(0x17b)])):(global[a16_0x41f0f7(0x164)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':shouldProcessEventForTesthub()?require(a16_0x41f0f7(0x142))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x41f0f7(0x142))['browserstackAgentV2'](_bstackConfig);continue;case'2':global[a16_0x41f0f7(0x156)]=_bstackConfig[a16_0x41f0f7(0x121)]||{};continue;case'3':logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x122));continue;case'4':global[a16_0x41f0f7(0x13f)]=_bstackConfig[a16_0x41f0f7(0x148)];continue;}break;}}}catch(a16_0x5b23eb){logger['debug'](a16_0x41f0f7(0x180)+util[a16_0x41f0f7(0x132)](a16_0x5b23eb));}const _fileNameByFullName={};function a16_0x3420(_0x119cfd,_0x461cc0){const _0x24cd58=a16_0x24cd();return a16_0x3420=function(_0x34201d,_0x270bb4){_0x34201d=_0x34201d-0x10d;let _0x12c556=_0x24cd58[_0x34201d];return _0x12c556;},a16_0x3420(_0x119cfd,_0x461cc0);}try{if(typeof describe===a16_0x41f0f7(0x110)&&typeof global!==a16_0x41f0f7(0x13b)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3958eb=a16_0x41f0f7,_0x40e847={'rhPjI':function(_0x19a48c,_0x4f7736){return _0x19a48c(_0x4f7736);},'NxauG':'path','lgLtG':function(_0x5edb1a,_0x12f21e){return _0x5edb1a(_0x12f21e);},'AEIyw':'node:','Dqoow':_0x3958eb(0x126)},_0x4c105e=Error[_0x3958eb(0x178)];try{const _0x3982bf=new Error();Error['prepareStackTrace']=(_0x1cab5b,_0x112c33)=>_0x112c33;const _0x5838f8=_0x3982bf['stack'];Error['prepareStackTrace']=_0x4c105e;if(Array[_0x3958eb(0x16d)](_0x5838f8))for(const _0xaf739c of _0x5838f8){const _0x3fc64f=_0xaf739c['getFileName']&&_0xaf739c[_0x3958eb(0x14b)]();if(_0x3fc64f&&!_0x3fc64f['includes'](_0x3958eb(0x152)+_0x40e847[_0x3958eb(0x14a)](require,_0x40e847[_0x3958eb(0x15d)])['sep']+_0x3958eb(0x16f)+_0x40e847['lgLtG'](require,_0x40e847['NxauG'])['sep'])&&!_0x3fc64f[_0x3958eb(0x117)](_0x40e847[_0x3958eb(0x151)])&&!_0x3fc64f['includes'](_0x40e847[_0x3958eb(0x11b)]))return _0x3fc64f;}}catch(_0x4658e3){Error[_0x3958eb(0x178)]=_0x4c105e;}return null;},_wrappedDescribe=function(_0x7c5ce0,_0x11101b){const _0x4b5fd6=a16_0x41f0f7,_0x3b8caa={'akVCd':function(_0x5b7bf9){return _0x5b7bf9();},'wshWX':function(_0xd59848,_0x50df61){return _0xd59848&&_0x50df61;},'Kctet':function(_0x209e6c,_0x1fbc0e,_0xfb97b1){return _0x209e6c(_0x1fbc0e,_0xfb97b1);}};let _0x490ba5=null;try{_0x490ba5=_0x3b8caa[_0x4b5fd6(0x172)](_resolveCallerFile);}catch(_0x35b5c3){}_describeTitleStack[_0x4b5fd6(0x133)](_0x7c5ce0);const _0x1d1d19=_describeTitleStack[_0x4b5fd6(0x17d)]('\x20');_0x3b8caa[_0x4b5fd6(0x116)](_0x490ba5,_0x1d1d19)&&(_fileNameByFullName[_0x1d1d19]=_0x490ba5);try{return _0x3b8caa['Kctet'](_origDescribe,_0x7c5ce0,_0x11101b);}finally{_describeTitleStack[_0x4b5fd6(0x14e)]();}};Object[a16_0x41f0f7(0x14d)](_origDescribe)[a16_0x41f0f7(0x13d)](_0x5831a0=>{_wrappedDescribe[_0x5831a0]=_origDescribe[_0x5831a0];}),global[a16_0x41f0f7(0x111)]=_wrappedDescribe;}}catch(a16_0x2457d2){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x160)+util[a16_0x41f0f7(0x132)](a16_0x2457d2));}try{if(typeof jasmine!==a16_0x41f0f7(0x13b)&&jasmine[a16_0x41f0f7(0x144)]){const BrowserStackJasmineReporter=require(a16_0x41f0f7(0x162)),a16_0x11dd84={};a16_0x11dd84['fileNameByFullName']=_fileNameByFullName,jasmine[a16_0x41f0f7(0x144)]()['addReporter'](new BrowserStackJasmineReporter(a16_0x11dd84)),logger['debug'](a16_0x41f0f7(0x15e));}else logger['debug'](a16_0x41f0f7(0x13c));}catch(a16_0x41c7f5){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x11a)+util[a16_0x41f0f7(0x132)](a16_0x41c7f5));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x41f0f7(0x144)]&&jasmine[a16_0x41f0f7(0x144)]()[a16_0x41f0f7(0x12b)]({'specStarted'(_0x58c11f){const _0x142ec0=a16_0x41f0f7,_0x1ecca3={};_0x1ecca3[_0x142ec0(0x18e)]=function(_0x4e83f8,_0x4658a7){return _0x4e83f8||_0x4658a7;};const _0x157ff7=_0x1ecca3;_activeResultId=_0x58c11f&&_0x58c11f['id'],_activeFullName=_0x58c11f&&_0x58c11f[_0x142ec0(0x176)],_activeResultRef=_0x157ff7[_0x142ec0(0x18e)](_0x58c11f,null);},'specDone'(){}});}catch(a16_0x24dd76){logger[a16_0x41f0f7(0x12c)](a16_0x41f0f7(0x163)+util[a16_0x41f0f7(0x132)](a16_0x24dd76));}function a16_0x24cd(){const _0xacf489=['error','rzGDt','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','parse','hHXJz','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','3|1|2|4|0','JcFQR','49JMPGDe','skipSessionName','@playwright/test','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','vMlvN','markSessionStatus','4nlOjEZ','XmKae','FywVw','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','YPlSC','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','__skipSessionStatus','nMyeQ','function','describe','tkicg','getPackageVersion','\x22}}','5tgCXrv','wshWX','startsWith','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','getGlobal','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','Dqoow','XeAcM','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','autoScanning','sessionName','__sessionFailed','platformCaps','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','is_mobile_session','5131005UlBFSg','jasmine-core','Passed','3287764Diuhri','Spec\x20failed','BROWSERSTACK_TESTHUB_UUID','addReporter','debug','env','browserstackSessionName','executeScript','__drivers','thTestRunUuid','format','push','passed','../../helpers/globals','139236cGAABO','../../helpers/testhub/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nXtxI','pJjty','undefined','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','forEach','warn','browserstackPlatformIndex','4029120qiKYHO','stringify','../../index','get','getEnv','sessionNameSet__','message','failedExpectations','platformIndex','HrQKT','rhPjI','getFileName','JWRSM','keys','pop','mtbUu','106101IdaSCB','AEIyw','bin','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','BROWSERSTACK_TESTHUB_JWT','__platformCaps','setGlobal','nSLyK','omTZh','78436tARvRA','isTrue','727040BuWIyQ','NxauG','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','isMobilePlatform','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','__skipSessionName','410BuDEgr','TgtoZ','isBrowserstackInfra','Failed:\x20','UHzGA','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','ENV_VAR','../../helpers/accessibility-automation/helper','isArray','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','jasmine','UntIY','VzsAW','akVCd','../../helpers/helper','bstackA11yShouldScan','util','fullName','length','prepareStackTrace','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','../../helpers/logger','skipSessionStatus','isAccessibilityPlatform','join'];a16_0x24cd=function(){return _0xacf489;};return a16_0x24cd();}const _resolveAutoScanning=()=>{const _0x24115d=a16_0x41f0f7,_0x35ef66={};_0x35ef66[_0x24115d(0x158)]=function(_0x5a6f11,_0x59c1d8){return _0x5a6f11===_0x59c1d8;};const _0xea49db=_0x35ef66;let _0x56701f=!![];try{const _0x94536d=JSON[_0x24115d(0x181)](process['env'][_0x24115d(0x138)]||'{}');_0xea49db[_0x24115d(0x158)](_0x94536d[_0x24115d(0x11e)],![])&&(_0x56701f=![]);}catch(_0x43ca6d){logger[_0x24115d(0x12c)](_0x24115d(0x192)+_0x43ca6d[_0x24115d(0x146)]);}return _0x56701f;};try{typeof beforeEach===a16_0x41f0f7(0x110)&&beforeEach(function bstackA11yBeforeEach(){const _0x1b4c66=a16_0x41f0f7,_0x55b720={'QLiqn':function(_0x1a9d46){return _0x1a9d46();},'JWRSM':function(_0x22246b,_0xd94500,_0x448f28){return _0x22246b(_0xd94500,_0x448f28);},'YPlSC':function(_0x23975f,_0x4c6774){return _0x23975f&&_0x4c6774;},'JcFQR':_0x1b4c66(0x174),'UntIY':'bstackA11yScanOptions'};try{const _0x591286=_0x55b720['QLiqn'](_resolveAutoScanning),_0x1f30c8=_0x55b720[_0x1b4c66(0x14c)](shouldScanTestForAccessibility,null,![]),_0x4b789f=_0x55b720[_0x1b4c66(0x191)](_0x591286,_0x1f30c8);globals[_0x1b4c66(0x157)](_0x55b720[_0x1b4c66(0x185)],_0x4b789f),globals[_0x1b4c66(0x157)](_0x55b720[_0x1b4c66(0x170)],null);}catch(_0x15e290){logger[_0x1b4c66(0x12c)](_0x1b4c66(0x123)+util[_0x1b4c66(0x132)](_0x15e290));}}),typeof afterEach===a16_0x41f0f7(0x110)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x456a8a=a16_0x41f0f7,_0x1b66de={'omTZh':function(_0x286385,_0x145029){return _0x286385>_0x145029;},'mtbUu':function(_0x54253c,_0x2b295d){return _0x54253c>_0x2b295d;},'MCqln':_0x456a8a(0x129),'pJjty':function(_0x553750,_0x27d032){return _0x553750+_0x27d032;},'nMyeQ':_0x456a8a(0x168),'vMlvN':_0x456a8a(0x127),'nXtxI':_0x456a8a(0x17e),'hHXJz':_0x456a8a(0x190),'vDdmI':'failed','UHzGA':_0x456a8a(0x134),'VzsAW':function(_0x197717){return _0x197717();},'HrQKT':_0x456a8a(0x17c),'OAhdp':_0x456a8a(0x174),'TgtoZ':_0x456a8a(0x161),'XeAcM':_0x456a8a(0x153),'XmKae':_0x456a8a(0x18f),'buuTS':_0x456a8a(0x16e),'rzGDt':_0x456a8a(0x15f),'rZWkE':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','tkicg':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global[_0x456a8a(0x130)])&&_0x1b66de[_0x456a8a(0x159)](global[_0x456a8a(0x130)]['length'],0x0)&&global['__drivers'][0x0]){const _0x398076=_activeFullName||global[_0x456a8a(0x11f)];if(!global[_0x456a8a(0x164)]&&_0x398076){global['sessionName']=_0x398076;try{await global['__drivers'][0x0]['executeScript'](_0x456a8a(0x11d)+JSON['stringify'](_0x398076)+'}}'),global['__drivers'][0x0][_0x456a8a(0x145)]=!![];}catch(_0x7ebb85){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x7ebb85));}}if(!global[_0x456a8a(0x10e)])try{const _0x3bc0f0=_activeResultRef&&Array[_0x456a8a(0x16d)](_activeResultRef[_0x456a8a(0x147)])?_activeResultRef['failedExpectations']:[],_0x138ca=_0x1b66de[_0x456a8a(0x14f)](_0x3bc0f0[_0x456a8a(0x177)],0x0),_0xdca6a1=_0x138ca?_0x3bc0f0[0x0]&&_0x3bc0f0[0x0][_0x456a8a(0x146)]||_0x1b66de['MCqln']:null;try{await global[_0x456a8a(0x130)][0x0][_0x456a8a(0x12f)](_0x456a8a(0x16a)+JSON[_0x456a8a(0x141)](_0x138ca?_0x1b66de[_0x456a8a(0x13a)](_0x1b66de[_0x456a8a(0x10f)],_0xdca6a1):_0x1b66de[_0x456a8a(0x18a)])+',\x22level\x22:\x20\x22'+(_0x138ca?_0x1b66de[_0x456a8a(0x139)]:_0x1b66de[_0x456a8a(0x182)])+_0x456a8a(0x114));}catch(_0x2f2bb1){logger['debug'](_0x456a8a(0x189)+util['format'](_0x2f2bb1));}_0x138ca&&(global[_0x456a8a(0x120)]=!![]),await helper[_0x456a8a(0x18b)](global[_0x456a8a(0x130)][0x0],_0x138ca?_0x1b66de['vDdmI']:_0x1b66de[_0x456a8a(0x169)],_0xdca6a1);}catch(_0x155cc9){logger['debug'](_0x456a8a(0x118)+util[_0x456a8a(0x132)](_0x155cc9));}}}catch(_0xe39a5e){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x456a8a(0x132)](_0xe39a5e));}try{if(_0x1b66de[_0x456a8a(0x171)](isAccessibilityAutomationSession)&&globals[_0x456a8a(0x119)](_0x1b66de[_0x456a8a(0x149)])&&Array[_0x456a8a(0x16d)](global[_0x456a8a(0x130)])&&_0x1b66de['omTZh'](global[_0x456a8a(0x130)][_0x456a8a(0x177)],0x0)&&global[_0x456a8a(0x130)][0x0]){const _0x2b7fbe=testRunMap[_0x456a8a(0x143)](_activeResultId),_0x3136bf={};_0x3136bf[_0x456a8a(0x131)]=_0x2b7fbe,_0x3136bf['thBuildUuid']=process[_0x456a8a(0x12d)][testHubConstants['ENV_VAR'][_0x456a8a(0x12a)]],_0x3136bf['thJwtToken']=process['env'][testHubConstants[_0x456a8a(0x16b)][_0x456a8a(0x155)]];const _0x59281b=_0x3136bf;logger[_0x456a8a(0x12c)](_0x456a8a(0x154)+JSON[_0x456a8a(0x141)](_0x59281b));if(globals[_0x456a8a(0x119)](_0x1b66de['OAhdp'])){logger['debug'](_0x1b66de[_0x456a8a(0x166)]);const _0x17ac1b=await accessibilityRetryHelper['performScanWithRetry'](global[_0x456a8a(0x130)][0x0],global[_0x456a8a(0x12e)]);_0x17ac1b?logger[_0x456a8a(0x12c)](_0x1b66de[_0x456a8a(0x11c)]):logger['warn'](_0x1b66de[_0x456a8a(0x18d)]);}else logger[_0x456a8a(0x12c)](_0x1b66de['buuTS']);globals[_0x456a8a(0x119)](_0x1b66de[_0x456a8a(0x17f)])&&(_0x59281b[_0x456a8a(0x124)]=!![]);const _0x11f15d=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x456a8a(0x130)][0x0],_0x59281b);_0x11f15d?logger[_0x456a8a(0x12c)](_0x1b66de['rZWkE']):logger[_0x456a8a(0x13e)](_0x1b66de[_0x456a8a(0x112)]);}}catch(_0x1731d7){logger[_0x456a8a(0x17e)](_0x456a8a(0x179)+util[_0x456a8a(0x132)](_0x1731d7));}});}catch(a16_0x2a5995){logger[a16_0x41f0f7(0x12c)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x41f0f7(0x132)](a16_0x2a5995));}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a17_0x46fcd9=a17_0x4e8d;(function(_0x37c10d,_0x5ebb7b){const _0x131f28=a17_0x4e8d,_0x2f8f6d=_0x37c10d();while(!![]){try{const _0x11b8ea=-parseInt(_0x131f28(0x16a))/0x1+parseInt(_0x131f28(0x168))/0x2+parseInt(_0x131f28(0x170))/0x3+parseInt(_0x131f28(0x174))/0x4+-parseInt(_0x131f28(0x171))/0x5*(-parseInt(_0x131f28(0x166))/0x6)+parseInt(_0x131f28(0x16f))/0x7*(parseInt(_0x131f28(0x16b))/0x8)+-parseInt(_0x131f28(0x165))/0x9;if(_0x11b8ea===_0x5ebb7b)break;else _0x2f8f6d['push'](_0x2f8f6d['shift']());}catch(_0x10e6de){_0x2f8f6d['push'](_0x2f8f6d['shift']());}}}(a17_0x1060,0x5f03c));function a17_0x1060(){const _0x5bf5ae=['502707yGXnYR','5ybVQvG','set','_size','1156660EtxMjP','BYhrI','remove','12987198KMRnFM','4602630kGfAUj','Wonow','967832VziWUp','wVqgn','310303aivXPf','376FJPAKY','delete','get','XbjJb','64750XDMsPx'];a17_0x1060=function(){return _0x5bf5ae;};return a17_0x1060();}function a17_0x4e8d(_0xbde337,_0x311081){const _0x1060e4=a17_0x1060();return a17_0x4e8d=function(_0x4e8dce,_0x3c02dd){_0x4e8dce=_0x4e8dce-0x164;let _0x158285=_0x1060e4[_0x4e8dce];return _0x158285;},a17_0x4e8d(_0xbde337,_0x311081);}const _specUuidById=new Map();exports[a17_0x46fcd9(0x172)]=(_0x5174ec,_0x49fb87)=>{const _0x58b651=a17_0x46fcd9,_0x10be5a={};_0x10be5a[_0x58b651(0x169)]=function(_0x3360c0,_0x7eebe5){return _0x3360c0===_0x7eebe5;};const _0x358268=_0x10be5a;if(_0x358268[_0x58b651(0x169)](_0x5174ec,undefined)||_0x358268['wVqgn'](_0x5174ec,null))return;_specUuidById[_0x58b651(0x172)](_0x5174ec,_0x49fb87);},exports[a17_0x46fcd9(0x16d)]=_0x4b2fde=>{const _0x7da927=a17_0x46fcd9,_0x9dc2b9={};_0x9dc2b9['Wonow']=function(_0x4e1f0d,_0x28f1fb){return _0x4e1f0d===_0x28f1fb;};const _0x33f6c4=_0x9dc2b9;if(_0x33f6c4[_0x7da927(0x167)](_0x4b2fde,undefined)||_0x33f6c4[_0x7da927(0x167)](_0x4b2fde,null))return undefined;return _specUuidById[_0x7da927(0x16d)](_0x4b2fde);},exports[a17_0x46fcd9(0x164)]=_0xc05178=>{const _0x213909=a17_0x46fcd9,_0x5a5d63={};_0x5a5d63['XbjJb']=function(_0x446b8c,_0x22ba46){return _0x446b8c===_0x22ba46;},_0x5a5d63[_0x213909(0x175)]=function(_0x429bdc,_0x4b3dcb){return _0x429bdc===_0x4b3dcb;};const _0x151f4f=_0x5a5d63;if(_0x151f4f[_0x213909(0x16e)](_0xc05178,undefined)||_0x151f4f[_0x213909(0x175)](_0xc05178,null))return;_specUuidById[_0x213909(0x16c)](_0xc05178);},exports[a17_0x46fcd9(0x173)]=()=>_specUuidById['size'];
|