browserstack-node-sdk 1.60.0 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x37e425=a10_0x4a71;(function(_0x1528cd,_0x262dd7){const _0x3ba536=a10_0x4a71,_0x5c6353=_0x1528cd();while(!![]){try{const _0x4f1f44=-parseInt(_0x3ba536(0xa6))/0x1+parseInt(_0x3ba536(0xbb))/0x2+parseInt(_0x3ba536(0xbd))/0x3*(parseInt(_0x3ba536(0xb7))/0x4)+parseInt(_0x3ba536(0xdc))/0x5+parseInt(_0x3ba536(0xd8))/0x6*(-parseInt(_0x3ba536(0xad))/0x7)+parseInt(_0x3ba536(0xcb))/0x8*(-parseInt(_0x3ba536(0xc0))/0x9)+parseInt(_0x3ba536(0xa7))/0xa;if(_0x4f1f44===_0x262dd7)break;else _0x5c6353['push'](_0x5c6353['shift']());}catch(_0x1cc01c){_0x5c6353['push'](_0x5c6353['shift']());}}}(a10_0x40eb,0x321fc));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x37e425(0xc5)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x37e425(0xd7),'cucumber'),logger=require(a10_0x37e425(0xb6))[a10_0x37e425(0xd3)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x37e425(0xb8)],After=cucumberModule['After'],configuration=process[a10_0x37e425(0xc6)][a10_0x37e425(0xb1)];if(configuration!==undefined){const config=JSON[a10_0x37e425(0xce)](configuration);isTrue(config[a10_0x37e425(0xc9)])&&(global['__skipSessionName']=!![]),global[a10_0x37e425(0xa9)]=isTrue(config[a10_0x37e425(0xaa)]),require(a10_0x37e425(0xc1))['browserstackAgentV2'](config),global[a10_0x37e425(0xca)]=config[a10_0x37e425(0xc8)]||{};}function a10_0x4a71(_0x44deff,_0x140fc0){const _0x40eb17=a10_0x40eb();return a10_0x4a71=function(_0x4a71cc,_0x249052){_0x4a71cc=_0x4a71cc-0xa3;let _0x2fc0e6=_0x40eb17[_0x4a71cc];return _0x2fc0e6;},a10_0x4a71(_0x44deff,_0x140fc0);}global[a10_0x37e425(0xa4)]=0x0;function a10_0x40eb(){const _0x49bf5b=['parse','setDefaultTimeout','ZMRcs','status','wjUtL','winstonLogger','__skipSessionName','jOxFQ','\x20|\x20','cucumber/lib/index.js','858yQKRsi','vhDsO','setSessionName','WyLtD','1197850MMGAwT','timeout','Inside\x20browserstack\x20After','__timeout','executeScript','106043QNVryH','2446270gbgabh','Error:\x20setting\x20status\x20at\x20After:\x20','__skipSessionStatus','skipSessionStatus','result','pickle','15421kqPxSY','aoRTw','session_','Ogrbk','CONFIG','toLowerCase','__driver','action','__error_messages__','../../helpers/logger','1436QVvAOA','Before','name','Inside\x20browserstack\x20Before','381078LRWjiT','arguments','2517OjCOgK','Error:\x20quiting\x20at\x20After:\x20','XjMST','3146013OMXaHe','../../index','failed','PKbVp','debug','../../helpers/helper','env','stringify','platformCaps','skipSessionName','__platformCaps','8AWnuxP','browserstack_executor:\x20','bstack'];a10_0x40eb=function(){return _0x49bf5b;};return a10_0x40eb();}const __setDefaultTimeout=cucumberModule[a10_0x37e425(0xcf)];cucumberModule[a10_0x37e425(0xcf)]=_0x9b840=>{const _0x337217=a10_0x37e425,_0x54727f={'aoRTw':function(_0x3ca6d0,_0x3667cc){return _0x3ca6d0(_0x3667cc);}};global['__timeout']=_0x9b840,_0x54727f[_0x337217(0xae)](__setDefaultTimeout,_0x9b840);};const a10_0x29769e={};a10_0x29769e[a10_0x37e425(0xb9)]=a10_0x37e425(0xcd),Before(a10_0x29769e,function(){const _0x3d028f=a10_0x37e425,_0xdc6fc2={};_0xdc6fc2['WyLtD']=_0x3d028f(0xba);const _0x325354=_0xdc6fc2;logger[_0x3d028f(0xc4)](_0x325354[_0x3d028f(0xdb)]),global['__error_messages__']=[];});const a10_0x1286d2={};a10_0x1286d2[a10_0x37e425(0xb9)]=a10_0x37e425(0xcd),a10_0x1286d2[a10_0x37e425(0xdd)]=0x2710,After(a10_0x1286d2,function(_0x5099a6,_0x217d9b){const _0x1b8699=a10_0x37e425,_0xf1f408={'hZGqH':_0x1b8699(0xda),'XjMST':function(_0x15a832,_0x8cc4d1){return _0x15a832===_0x8cc4d1;},'ZMRcs':_0x1b8699(0xc2),'Ogrbk':function(_0x11f077,_0x5e9bca,_0x2257a5,_0x313c27){return _0x11f077(_0x5e9bca,_0x2257a5,_0x313c27);},'YtfGy':_0x1b8699(0xd6),'dGSgo':function(_0x3f9691,_0x3ea228,_0x52e21a){return _0x3f9691(_0x3ea228,_0x52e21a);},'vhDsO':'passed','wjUtL':function(_0x5316ae){return _0x5316ae();},'jOxFQ':function(_0x8fcde5,_0x2360af){return _0x8fcde5(_0x2360af);},'PKbVp':_0x1b8699(0xa3)};logger[_0x1b8699(0xc4)](_0xf1f408[_0x1b8699(0xc3)]),new Promise(async(_0x340b95,_0x5a8302)=>{const _0x523db8=_0x1b8699;let _0x3a0d8c=![];try{await global[_0x523db8(0xb3)][_0x523db8(0xaf)],_0x3a0d8c=!![];if(!global[_0x523db8(0xd4)]){const _0x59281a={};_0x59281a[_0x523db8(0xb9)]=_0x5099a6[_0x523db8(0xac)][_0x523db8(0xb9)];const _0xe6b9c8={};_0xe6b9c8[_0x523db8(0xb4)]=_0xf1f408['hZGqH'],_0xe6b9c8[_0x523db8(0xbc)]=_0x59281a;const _0x453f83=_0xe6b9c8;await global['__driver'][_0x523db8(0xa5)](_0x523db8(0xcc)+JSON[_0x523db8(0xc7)](_0x453f83));}_0xf1f408[_0x523db8(0xbf)](_0x5099a6[_0x523db8(0xab)][_0x523db8(0xd1)][_0x523db8(0xb2)](),_0xf1f408[_0x523db8(0xd0)])?await _0xf1f408[_0x523db8(0xb0)](markSessionStatus,global[_0x523db8(0xb3)],_0xf1f408['ZMRcs'],global[_0x523db8(0xb5)]['join'](_0xf1f408['YtfGy'])):await _0xf1f408['dGSgo'](markSessionStatus,global[_0x523db8(0xb3)],_0xf1f408[_0x523db8(0xd9)]);}catch(_0x1bbfd2){logger[_0x523db8(0xc4)](_0x523db8(0xa8)+_0x1bbfd2);}if(_0x3a0d8c)try{await global[_0x523db8(0xb3)]['initQuit'](),_0xf1f408[_0x523db8(0xd2)](_0x340b95);}catch(_0x3216f3){logger[_0x523db8(0xc4)](_0x523db8(0xbe)+_0x3216f3),_0xf1f408[_0x523db8(0xd5)](_0x5a8302,_0x3216f3);}else _0xf1f408[_0x523db8(0xd2)](_0x5a8302);})['then'](()=>_0x217d9b());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x2f70(){const _0x359fdb=['@cucumber/cucumber/lib/index.js','cucumber','142383cZEBUP','BSTACK_DELTA','39837906dQagsi','8412294SzwdiI','50zGppgg','8dCbmcG','8653421bynKBI','2886180kljQDg','../../helpers/helper','../utils/constants','259755UDlPro','591658fxhynC','setDefaultTimeout','cucumber/lib/index.js','__timeout'];a11_0x2f70=function(){return _0x359fdb;};return a11_0x2f70();}const a11_0x591b05=a11_0x1d08;(function(_0x396db4,_0x50b1a2){const _0x2ea2be=a11_0x1d08,_0x550837=_0x396db4();while(!![]){try{const _0x1e4e93=parseInt(_0x2ea2be(0x1bb))/0x1+-parseInt(_0x2ea2be(0x1b4))/0x2*(-parseInt(_0x2ea2be(0x1b0))/0x3)+parseInt(_0x2ea2be(0x1b7))/0x4+parseInt(_0x2ea2be(0x1ba))/0x5+parseInt(_0x2ea2be(0x1b3))/0x6+-parseInt(_0x2ea2be(0x1b6))/0x7*(-parseInt(_0x2ea2be(0x1b5))/0x8)+-parseInt(_0x2ea2be(0x1b2))/0x9;if(_0x1e4e93===_0x50b1a2)break;else _0x550837['push'](_0x550837['shift']());}catch(_0xccdce3){_0x550837['push'](_0x550837['shift']());}}}(a11_0x2f70,0xba669));const {requireModule}=require(a11_0x591b05(0x1b8)),constants=require(a11_0x591b05(0x1b9));function a11_0x1d08(_0x4e0aac,_0x1b6c4f){const _0x2f70ca=a11_0x2f70();return a11_0x1d08=function(_0x1d08ad,_0x429d44){_0x1d08ad=_0x1d08ad-0x1ae;let _0x264fbc=_0x2f70ca[_0x1d08ad];return _0x264fbc;},a11_0x1d08(_0x4e0aac,_0x1b6c4f);}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x591b05(0x1ae),'@cucumber/cucumber');}catch(a11_0x513290){cucumberModule=requireModule(a11_0x591b05(0x1bd),a11_0x591b05(0x1af));}const userValue=global[a11_0x591b05(0x1be)]||0x0;(userValue===0x0||userValue<constants[a11_0x591b05(0x1b1)])&&cucumberModule[a11_0x591b05(0x1bc)](constants[a11_0x591b05(0x1b1)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x2970fb=a12_0x45a6;(function(_0x2b95d1,_0x24e539){const _0x527b20=a12_0x45a6,_0x5ad366=_0x2b95d1();while(!![]){try{const _0x46d3d2=-parseInt(_0x527b20(0x11e))/0x1*(parseInt(_0x527b20(0x127))/0x2)+-parseInt(_0x527b20(0x150))/0x3+-parseInt(_0x527b20(0x157))/0x4*(-parseInt(_0x527b20(0x11a))/0x5)+parseInt(_0x527b20(0x154))/0x6*(-parseInt(_0x527b20(0x130))/0x7)+parseInt(_0x527b20(0x123))/0x8*(parseInt(_0x527b20(0x128))/0x9)+-parseInt(_0x527b20(0x159))/0xa+parseInt(_0x527b20(0x13f))/0xb;if(_0x46d3d2===_0x24e539)break;else _0x5ad366['push'](_0x5ad366['shift']());}catch(_0x35230b){_0x5ad366['push'](_0x5ad366['shift']());}}}(a12_0xbc6f,0x38bda));const {default:BrowserStackSetup}=require(a12_0x2970fb(0x13c)),logger=require(a12_0x2970fb(0x153))[a12_0x2970fb(0x121)],{URL}=require(a12_0x2970fb(0x13a)),helper=require(a12_0x2970fb(0x132)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x4d2976){return _0x4d2976['split'](',')['every'](_0x1c454b=>{try{new URL(_0x1c454b['trim']());}catch(_0x188cc0){return![];}return!![];});},parseOnPremHosts=function(_0x547de4){const _0x1d9680=a12_0x2970fb,_0x2a23b5={};_0x2a23b5[_0x1d9680(0x125)]=function(_0x40549f,_0x17bfb4){return _0x40549f===_0x17bfb4;},_0x2a23b5[_0x1d9680(0x13b)]='https:',_0x2a23b5[_0x1d9680(0x14c)]=_0x1d9680(0x151),_0x2a23b5[_0x1d9680(0x12c)]=function(_0x4f488a,_0x39b376){return _0x4f488a===_0x39b376;},_0x2a23b5['pgeXv']=_0x1d9680(0x14d);const _0x44de08=_0x2a23b5;return _0x547de4[_0x1d9680(0x144)](',')['map'](_0x306899=>{const _0x21d95e=_0x1d9680,_0x352129=new URL(_0x306899[_0x21d95e(0x13e)]()),_0x54aafe=_0x352129[_0x21d95e(0x118)],_0x1da043=_0x352129[_0x21d95e(0x13d)]||(_0x44de08[_0x21d95e(0x125)](_0x352129[_0x21d95e(0x119)],_0x44de08[_0x21d95e(0x13b)])?_0x44de08[_0x21d95e(0x14c)]:'80'),_0x169aca=_0x352129[_0x21d95e(0x119)]['replace'](':',''),_0x4f5942=_0x44de08[_0x21d95e(0x12c)](_0x169aca,_0x44de08['pgeXv'])?0x1:0x0;return _0x54aafe+','+_0x1da043+','+_0x4f5942;});},connectCommandBuilder=function(_0x282810){const _0x21e1f6=a12_0x2970fb,_0xf7b913={};_0xf7b913[_0x21e1f6(0x126)]=_0x21e1f6(0x156);const _0x58f745=_0xf7b913,_0x168104={};_0x168104[_0x21e1f6(0x129)]=HELP_MESSAGES['options'][_0x21e1f6(0x12e)],_0x168104['type']=_0x58f745[_0x21e1f6(0x126)];const _0x5bbc6b={};_0x5bbc6b[_0x21e1f6(0x129)]=HELP_MESSAGES[_0x21e1f6(0x117)][_0x21e1f6(0x137)],_0x5bbc6b[_0x21e1f6(0x142)]=_0x58f745['HwEVH'],_0x5bbc6b[_0x21e1f6(0x11b)]=!![];const _0x4bd028={};return _0x4bd028['bstack-accesskey']=_0x168104,_0x4bd028['hosts']=_0x5bbc6b,_0x282810[_0x21e1f6(0x117)](_0x4bd028);},connectCommandHandler=async function(_0xb746cd){const _0xf95e53=a12_0x2970fb,_0x765b44={'EvQXt':_0xf95e53(0x139),'vDAmt':function(_0x32f0aa,_0xfb2693){return _0x32f0aa===_0xfb2693;},'hvRdb':_0xf95e53(0x12f),'uVuVo':_0xf95e53(0x134),'eCwhu':_0xf95e53(0x116),'icIyn':function(_0x634438,_0x5aba45){return _0x634438(_0x5aba45);},'libYp':'Hosts\x20not\x20valid','mXVjM':_0xf95e53(0x140),'cnMky':_0xf95e53(0x14f),'JPeak':'Failed\x20to\x20establish\x20connection.'};try{const _0x59e583=new BrowserStackSetup(_0xb746cd,_0x765b44['EvQXt']);_0xb746cd[_0xf95e53(0x12d)]&&(_0x59e583[_0xf95e53(0x135)][_0xf95e53(0x133)]=_0xb746cd['bstackAccesskey']);if(_0x765b44[_0xf95e53(0x14a)](typeof _0x59e583[_0xf95e53(0x135)][_0xf95e53(0x133)],_0x765b44[_0xf95e53(0x120)])){logger['error'](_0x765b44[_0xf95e53(0x122)]);throw new Error(ERROR_MESSAGES[_0xf95e53(0x12e)][_0xf95e53(0x14e)]);}const _0x5e8e88=_0xb746cd[_0xf95e53(0x137)];if(_0x765b44['vDAmt'](typeof _0x5e8e88,_0x765b44[_0xf95e53(0x120)])){logger[_0xf95e53(0x12b)](_0x765b44[_0xf95e53(0x147)]);throw new Error(ERROR_MESSAGES['hosts'][_0xf95e53(0x14e)]);}if(!_0x765b44[_0xf95e53(0x145)](validHosts,_0x5e8e88)){logger[_0xf95e53(0x12b)](_0x765b44[_0xf95e53(0x11d)]);throw new Error(ERROR_MESSAGES[_0xf95e53(0x137)][_0xf95e53(0x138)]);}const _0x433bc8=_0x765b44[_0xf95e53(0x145)](parseOnPremHosts,_0x5e8e88);_0x59e583[_0xf95e53(0x135)][_0xf95e53(0x131)]=!![],_0x59e583['config']['browserStackLocalOptions']['localIdentifier']=_0x765b44['mXVjM'],_0x59e583[_0xf95e53(0x135)]['browserStackLocalOptions'][_0xf95e53(0x146)]=_0x433bc8[_0xf95e53(0x11f)](','),helper[_0xf95e53(0x141)](_0x59e583['config']),await _0x59e583[_0xf95e53(0x12a)](),logger['info'](_0x765b44[_0xf95e53(0x152)]);}catch(_0x4b3977){logger[_0xf95e53(0x12b)](_0x765b44[_0xf95e53(0x11c)]);throw new Error(_0x4b3977[_0xf95e53(0x14b)]());}};function run(_0x2d19bb){const _0x1e55d4=a12_0x2970fb,_0x22c505={};_0x22c505[_0x1e55d4(0x124)]=_0x1e55d4(0x149),_0x22c505[_0x1e55d4(0x15a)]=_0x1e55d4(0x155);const _0x6d80ff=_0x22c505;_0x2d19bb[_0x1e55d4(0x136)](HELP_MESSAGES['command'][_0x1e55d4(0x143)])[_0x1e55d4(0x158)](_0x6d80ff[_0x1e55d4(0x124)],HELP_MESSAGES[_0x1e55d4(0x158)][_0x1e55d4(0x149)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x1e55d4(0x155)](_0x6d80ff[_0x1e55d4(0x15a)])['epilogue'](HELP_MESSAGES[_0x1e55d4(0x158)][_0x1e55d4(0x148)]);}function a12_0xbc6f(){const _0x467b14=['HwEVH','4dyrzvi','2601slVbxr','describe','setupBrowserstackLocal','error','HWCLB','bstackAccesskey','bstackAccessKey','undefined','49YzjEcK','browserstackLocal','../../helpers/helper','accessKey','BrowserStack\x20access\x20key\x20missing.','config','usage','hosts','invalid','integrations','url','jeDjo','../../helpers/BrowserStackSetup','port','trim','6253841jqCgVJ','integrations-repeater','setProxySettings','type','root','split','icIyn','only','eCwhu','footer','connect','vDAmt','toString','gjzgT','https','missing','Connection\x20established\x20successfully.','1315839AiqrEb','443','cnMky','../../helpers/logger','211908cnlAxv','help','string','7676MZyXpa','command','586310VYaIcO','GtxIT','Integration\x20hosts\x20missing.','options','hostname','protocol','1010lXmjNJ','demandOption','JPeak','libYp','112903MpBAoR','join','hvRdb','winstonLogger','uVuVo','6824THpSIk','kbXfu','ZBfeZ'];a12_0xbc6f=function(){return _0x467b14;};return a12_0xbc6f();}function a12_0x45a6(_0x464bbd,_0xb36c6b){const _0xbc6f17=a12_0xbc6f();return a12_0x45a6=function(_0x45a642,_0x5602bb){_0x45a642=_0x45a642-0x116;let _0x1785db=_0xbc6f17[_0x45a642];return _0x1785db;},a12_0x45a6(_0x464bbd,_0xb36c6b);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a13_0xf01d42=a13_0x145d;(function(_0x46b85d,_0x1fa3e3){var _0x513938=a13_0x145d,_0x344571=_0x46b85d();while(!![]){try{var _0x2d8468=-parseInt(_0x513938(0x7c))/0x1*(parseInt(_0x513938(0x88))/0x2)+parseInt(_0x513938(0x84))/0x3+parseInt(_0x513938(0x7b))/0x4+parseInt(_0x513938(0x8d))/0x5*(-parseInt(_0x513938(0x82))/0x6)+-parseInt(_0x513938(0x85))/0x7+parseInt(_0x513938(0x7e))/0x8+parseInt(_0x513938(0x83))/0x9;if(_0x2d8468===_0x1fa3e3)break;else _0x344571['push'](_0x344571['shift']());}catch(_0x99cf3){_0x344571['push'](_0x344571['shift']());}}}(a13_0x23c0,0x85ce7));var a13_0x26ca3b={};a13_0x26ca3b[a13_0xf01d42(0x8f)]=a13_0xf01d42(0x89),a13_0x26ca3b[a13_0xf01d42(0x7d)]=a13_0xf01d42(0x79);var a13_0x2f4653={};function a13_0x145d(_0x354cb0,_0x1ff24f){var _0x23c0fb=a13_0x23c0();return a13_0x145d=function(_0x145dbf,_0x4a9883){_0x145dbf=_0x145dbf-0x79;var _0x59c5ea=_0x23c0fb[_0x145dbf];return _0x59c5ea;},a13_0x145d(_0x354cb0,_0x1ff24f);}a13_0x2f4653[a13_0xf01d42(0x7f)]=a13_0xf01d42(0x80),a13_0x2f4653[a13_0xf01d42(0x8c)]=a13_0xf01d42(0x86),a13_0x2f4653[a13_0xf01d42(0x81)]=a13_0xf01d42(0x8a);var a13_0x19e75b={};a13_0x19e75b[a13_0xf01d42(0x8e)]=a13_0x26ca3b,a13_0x19e75b['command']=a13_0x2f4653,exports[a13_0xf01d42(0x87)]=a13_0x19e75b;var a13_0x5595c7={};a13_0x5595c7[a13_0xf01d42(0x90)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x43e368={};a13_0x43e368[a13_0xf01d42(0x90)]=a13_0xf01d42(0x7a),a13_0x43e368[a13_0xf01d42(0x8b)]='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.';function a13_0x23c0(){var _0x553802=['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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1214352NzCJJF','71958UrqXqX','hosts','7693008qttQfi','root','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','footer','42WyLKOk','7042275rDRhZd','1504662TERplC','6105876PXYnfw','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','HELP_MESSAGES','14OZWoeC','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','invalid','connect','446570bKyzDD','options','bstackAccessKey','missing'];a13_0x23c0=function(){return _0x553802;};return a13_0x23c0();}var a13_0xec7fc8={};a13_0xec7fc8[a13_0xf01d42(0x8f)]=a13_0x5595c7,a13_0xec7fc8[a13_0xf01d42(0x7d)]=a13_0x43e368,exports['ERROR_MESSAGES']=a13_0xec7fc8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a14_0x6a02(_0x42d596,_0x53a2e0){const _0x3353be=a14_0x3353();return a14_0x6a02=function(_0x6a0206,_0x879de3){_0x6a0206=_0x6a0206-0xe5;let _0x44418f=_0x3353be[_0x6a0206];return _0x44418f;},a14_0x6a02(_0x42d596,_0x53a2e0);}const a14_0x2528df=a14_0x6a02;(function(_0x7d3eb1,_0x343d55){const _0x142086=a14_0x6a02,_0x714602=_0x7d3eb1();while(!![]){try{const _0x1e31bc=parseInt(_0x142086(0x120))/0x1*(-parseInt(_0x142086(0xfe))/0x2)+parseInt(_0x142086(0x123))/0x3+-parseInt(_0x142086(0x104))/0x4+parseInt(_0x142086(0xf0))/0x5*(parseInt(_0x142086(0xf5))/0x6)+-parseInt(_0x142086(0x133))/0x7*(-parseInt(_0x142086(0xf7))/0x8)+-parseInt(_0x142086(0x164))/0x9*(parseInt(_0x142086(0x105))/0xa)+parseInt(_0x142086(0xe6))/0xb;if(_0x1e31bc===_0x343d55)break;else _0x714602['push'](_0x714602['shift']());}catch(_0x5a96e0){_0x714602['push'](_0x714602['shift']());}}}(a14_0x3353,0xc3e9c));const path=require(a14_0x2528df(0x121)),fs=require('fs'),{v4:uuidv4}=require(a14_0x2528df(0xea)),testhubUtils=require(a14_0x2528df(0x124)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x2528df(0x12d)),testRunMap=require(a14_0x2528df(0x161)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x2528df(0x128),a14_0xff6b03={};function a14_0x3353(){const _0x22dd3d=['failure','pSfvN','get','shouldProcessEventForTesthub','AnHPp','7VPGEIR','WRoGn','specStarted','backtrace','match','duration','UnhandledError','remove','QSLWJ','\x20:\x20','ywEee','vvEwa','JXjmw','specDone','AssertionError','yqDeO','statSync','failed','err','atHWM','JASMINE','Vmbks','message','winVU','config','pending','dirname','delete','towIW','isArray','has','Exception\x20in\x20jasmine\x20specDone\x20for\x20','code','MTUoT','prefixTestPath','set','endsWith','.git','UCyOP','suiteStarted','TLCJN','File\x20path\x20could\x20not\x20be\x20found','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_findGitConfig','stack','zjbcN','../testRunMap','failure_reason_expanded','skipped','93087xUMjJQ','uploadEventData','testObservability','_fileNameByFullName','matcherName','XjzGV','PnHEA','failure_backtrace','chaJz','14184412Mpvcfh','sep','startsWith','XkROj','uuid','fullName','_suitesById','vRLfu','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','_resolveFilePath','505HYzdgc','aVqxm','EImyP','appendTesthubParams','TestRunFinished','79068ZAWdVq','_scopes','5373416AGAFPi','_sendSpecEvent','expected','JvKhh','GiDXn','TdWLC','NgYFt','2aEPvzZ','jasmineStarted','description','fSvTk','join','exports','4262544zQcXjr','1080QqAsTj','weXAR','LtmrD','lang','pEPLB','xgSxj','ftrcu','ZOZrv','TestRunStarted','actual','finished_at','length','push','zzkmi','enBFD','fileNameByFullName','toISOString','trim','pMQIc','_paths','NyXUE','IxqsN','number','keys','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','wVaUi','parentSuiteId','1168537SDwFmA','path','qPyCZ','2584590uIUvXc','../../../helpers/testhub/utils','jasmineDone','XmvYG','split','Jasmine','suiteDone','status','passed','filename','../../../helpers/test-observability/utils'];a14_0x3353=function(){return _0x22dd3d;};return a14_0x3353();}a14_0xff6b03[a14_0x2528df(0x12b)]=a14_0x2528df(0x12b),a14_0xff6b03['failed']=a14_0x2528df(0x144),a14_0xff6b03['pending']=a14_0x2528df(0x14c),a14_0xff6b03['excluded']='skipped';const STATUS_MAP=a14_0xff6b03;class BrowserStackJasmineReporter{constructor(_0x5cd2f5={}){const _0x2c4540=a14_0x2528df,_0x224c25={'qPyCZ':function(_0x2a300b){return _0x2a300b();}};this[_0x2c4540(0x166)]=_0x224c25[_0x2c4540(0x122)](isTestObservabilitySession),this[_0x2c4540(0x118)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x2c4540(0x167)]=_0x5cd2f5&&_0x5cd2f5[_0x2c4540(0x114)]||{},this['_suitesById']=new Map();}[a14_0x2528df(0xff)](){}[a14_0x2528df(0x15a)](_0x52a3e0){const _0x532b60=a14_0x2528df,_0x38d0cb={'mBBZU':function(_0x320346,_0x538703){return _0x320346!==_0x538703;},'ftrcu':function(_0x45fabe,_0x5e716b){return _0x45fabe!==_0x5e716b;},'ykLSP':function(_0x4a1883,_0x5c627f){return _0x4a1883(_0x5c627f);}};try{_0x52a3e0&&_0x38d0cb['mBBZU'](_0x52a3e0['id'],undefined)&&_0x38d0cb[_0x532b60(0x10b)](_0x52a3e0['id'],null)&&this[_0x532b60(0xec)][_0x532b60(0x156)](_0x52a3e0['id'],{'description':_0x52a3e0['description'],'parentSuiteId':_0x52a3e0[_0x532b60(0x11f)]});}catch(_0x47caa6){_0x38d0cb['ykLSP'](debug,_0x532b60(0x15d)+(_0x52a3e0&&_0x52a3e0['fullName'])+_0x532b60(0x13c)+_0x47caa6);}}[a14_0x2528df(0x135)](_0x21b5a4){const _0x327711=a14_0x2528df,_0xf62119={'TdWLC':function(_0x2b236a,_0x5d4bd8){return _0x2b236a!==_0x5d4bd8;},'MTUoT':function(_0x270864){return _0x270864();},'IIgOY':'TestRunStarted','cWTyf':function(_0x46d4f5,_0x4bd7a7){return _0x46d4f5(_0x4bd7a7);}};try{if(_0xf62119[_0x327711(0xfc)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2e8f17=_0xf62119[_0x327711(0x154)](uuidv4);testRunMap[_0x327711(0x156)](_0x21b5a4['id'],_0x2e8f17),this[_0x327711(0xf8)](_0x21b5a4,_0x2e8f17,_0xf62119['IIgOY']);}catch(_0x46ac23){_0xf62119['cWTyf'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x21b5a4&&_0x21b5a4[_0x327711(0xeb)])+_0x327711(0x13c)+_0x46ac23);}}[a14_0x2528df(0x140)](_0x20521f){const _0x4c7ae0=a14_0x2528df,_0x2dc451={'WRoGn':function(_0x332f81,_0x3517be){return _0x332f81!==_0x3517be;},'AyZsx':function(_0x1215e9){return _0x1215e9();},'fSvTk':function(_0x269703,_0x289bd6){return _0x269703===_0x289bd6;},'ZOZrv':'excluded','xgSxj':'TestRunSkipped','IxqsN':_0x4c7ae0(0xf4),'YPMsE':function(_0x4efa6a,_0x249c48){return _0x4efa6a(_0x249c48);}};try{if(_0x2dc451[_0x4c7ae0(0x134)](testhubUtils[_0x4c7ae0(0x131)](),!![]))return;const _0x5e815f=testRunMap[_0x4c7ae0(0x130)](_0x20521f['id'])||_0x2dc451['AyZsx'](uuidv4),_0x339f99=_0x2dc451[_0x4c7ae0(0x101)](_0x20521f[_0x4c7ae0(0x12a)],_0x2dc451[_0x4c7ae0(0x10c)])?_0x2dc451[_0x4c7ae0(0x10a)]:_0x2dc451[_0x4c7ae0(0x11a)];this[_0x4c7ae0(0xf8)](_0x20521f,_0x5e815f,_0x339f99);}catch(_0x301189){_0x2dc451['YPMsE'](debug,_0x4c7ae0(0x152)+(_0x20521f&&_0x20521f['fullName'])+'\x20:\x20'+_0x301189);}finally{_0x20521f&&(testRunMap[_0x4c7ae0(0x13a)](_0x20521f['id']),_specStartTimes[_0x4c7ae0(0x14e)](_0x20521f['id']));}}[a14_0x2528df(0x129)](){}[a14_0x2528df(0x125)](){}[a14_0x2528df(0xf8)](_0x248cb6,_0x28be3a,_0x40039e){const _0x1ccf2c=a14_0x2528df,_0x39f046={'winVU':function(_0x1ff48e,_0x36a99d){return _0x1ff48e===_0x36a99d;},'towIW':'TestRunFinished','Vmbks':'TestRunSkipped','pSfvN':_0x1ccf2c(0x15c),'lbhzj':function(_0x1222bf,_0x10f3c9,_0x10b77a){return _0x1222bf(_0x10f3c9,_0x10b77a);},'ywEee':_0x1ccf2c(0x145),'wVaUi':function(_0x11edf9,_0x3b662b){return _0x11edf9===_0x3b662b;},'TLCJN':_0x1ccf2c(0x10d),'QSLWJ':function(_0x326512,_0x4a30f4){return _0x326512!==_0x4a30f4;},'zzkmi':function(_0x461c26,_0x4552e0){return _0x461c26!==_0x4552e0;},'NgYFt':'javascript','FbwAG':function(_0x3b819e,_0x2cf4eb){return _0x3b819e&&_0x2cf4eb;},'FlYCa':function(_0x43cb8a,_0x3c58c6){return _0x43cb8a===_0x3c58c6;},'yqDeO':_0x1ccf2c(0x163),'AnHPp':'passed','rnnRi':_0x1ccf2c(0x11b),'XkROj':_0x1ccf2c(0x141),'chaJz':_0x1ccf2c(0x139),'JvKhh':'started_at','IFyCe':_0x1ccf2c(0x10f),'PnHEA':_0x1ccf2c(0x12e),'JXjmw':_0x1ccf2c(0x16b),'GrFCT':_0x1ccf2c(0x136),'NyXUE':_0x1ccf2c(0x162),'rGhAb':'expanded','weXAR':function(_0x5b1745,_0x5d6d6b){return _0x5b1745(_0x5d6d6b);}};try{const _0x3351b2=_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x14f)])||_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)]),_0x597551=this[_0x1ccf2c(0xef)](_0x248cb6),_0x2f179f=_0x597551?this[_0x1ccf2c(0x118)][_0x1ccf2c(0x155)](_0x597551):_0x39f046[_0x1ccf2c(0x12f)],_0x42d637=_0x597551?this[_0x1ccf2c(0x15e)](path[_0x1ccf2c(0x14d)](_0x597551)):null,_0x29da18=this['_collapseFailedExpectations'](_0x248cb6['failedExpectations']),_0xe965c9=_0x29da18?_0x29da18[_0x1ccf2c(0x149)]:undefined,_0x2243b5=_0x29da18?_0x39f046['lbhzj'](failureData,_0x29da18,_0x39f046[_0x1ccf2c(0x13d)]):[],_0x47f94e=new Date()[_0x1ccf2c(0x115)](),_0x3001a0=this[_0x1ccf2c(0xf6)](_0x248cb6);_0x39f046[_0x1ccf2c(0x11e)](_0x40039e,_0x39f046[_0x1ccf2c(0x15b)])&&_0x248cb6&&_0x39f046[_0x1ccf2c(0x13b)](_0x248cb6['id'],undefined)&&_0x39f046[_0x1ccf2c(0x112)](_0x248cb6['id'],null)&&_specStartTimes['set'](_0x248cb6['id'],_0x47f94e);const _0x277052=_0x39f046['winVU'](_0x40039e,_0x39f046[_0x1ccf2c(0x15b)])?_0x47f94e:_0x248cb6&&_specStartTimes[_0x1ccf2c(0x130)](_0x248cb6['id'])||null,_0xf74000={};_0xf74000[_0x1ccf2c(0x108)]=_0x39f046[_0x1ccf2c(0xfd)],_0xf74000[_0x1ccf2c(0x153)]=null;const _0x1f1c9e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x28be3a,'name':_0x248cb6[_0x1ccf2c(0x100)],'body':_0xf74000,'scope':_0x3001a0[_0x1ccf2c(0x102)]('\x20'),'scopes':_0x3001a0,'identifier':_0x248cb6[_0x1ccf2c(0xeb)],'file_name':_0x2f179f,'vc_filepath':_0x39f046['FbwAG'](_0x42d637,_0x597551)?path['relative'](_0x42d637,_0x597551):null,'location':_0x2f179f,'result':_0x39f046['FlYCa'](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])?_0x39f046[_0x1ccf2c(0x142)]:STATUS_MAP[_0x248cb6[_0x1ccf2c(0x12a)]]||_0x39f046[_0x1ccf2c(0x132)],'failure_reason':_0xe965c9,'duration_in_ms':_0x39f046[_0x1ccf2c(0x14a)](typeof _0x248cb6[_0x1ccf2c(0x138)],_0x39f046['rnnRi'])?_0x248cb6['duration']:null,'started_at':_0x277052,'finished_at':_0x3351b2?_0x47f94e:null,'failure':_0x2243b5,'failure_type':!_0xe965c9?null:_0xe965c9[_0x1ccf2c(0x137)](/AssertionError/)?_0x39f046[_0x1ccf2c(0xe9)]:_0x39f046[_0x1ccf2c(0xe5)],'retry_of':null};_0x39f046[_0x1ccf2c(0x14a)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])&&!_0x1f1c9e[_0x39f046[_0x1ccf2c(0xfa)]]&&(_0x1f1c9e[_0x39f046['JvKhh']]=_0x1f1c9e[_0x39f046['IFyCe']]);const _0x5b82fd=_0x1f1c9e[_0x39f046[_0x1ccf2c(0x16a)]][0x0];_0x5b82fd&&(_0x1f1c9e[_0x39f046[_0x1ccf2c(0x13f)]]=_0x5b82fd[_0x39f046['GrFCT']],_0x1f1c9e[_0x39f046[_0x1ccf2c(0x119)]]=_0x5b82fd[_0x39f046['rGhAb']]);testhubUtils[_0x1ccf2c(0xf3)](_0x1f1c9e,_0x40039e,_0x248cb6,FRAMEWORKS[_0x1ccf2c(0x147)]);const _0x40034b={'event_type':_0x39f046[_0x1ccf2c(0x11e)](_0x40039e,_0x39f046[_0x1ccf2c(0x148)])?_0x39f046[_0x1ccf2c(0x14f)]:_0x40039e,'test_run':_0x1f1c9e};return testhubUtils['setCurrentTestData'](FRAMEWORKS['JASMINE'],_0x40034b),SessionHandler[_0x1ccf2c(0x165)](_0x40034b);}catch(_0xd47b32){_0x39f046[_0x1ccf2c(0x106)](debug,_0x1ccf2c(0x11d)+_0x40039e+'\x20:\x20'+_0xd47b32);}}[a14_0x2528df(0xf6)](_0x257c82){const _0x34dbae=a14_0x2528df,_0x58bc77={'atHWM':function(_0x34a5b0,_0x13c504){return _0x34a5b0!==_0x13c504;},'zjbcN':function(_0x282f75,_0x348278){return _0x282f75!==_0x348278;},'XmvYG':function(_0x4340c0,_0xc2ba5a){return _0x4340c0>_0xc2ba5a;},'pMQIc':function(_0x4189f9,_0x12b360){return _0x4189f9(_0x12b360);},'pEPLB':function(_0x2178a9,_0x1ee623){return _0x2178a9-_0x1ee623;}};try{const _0x40d8df=[];let _0x9e103=_0x257c82&&_0x257c82[_0x34dbae(0x11f)];const _0x4aced4=new Set();while(_0x58bc77[_0x34dbae(0x146)](_0x9e103,undefined)&&_0x58bc77[_0x34dbae(0x160)](_0x9e103,null)&&this[_0x34dbae(0xec)][_0x34dbae(0x151)](_0x9e103)&&!_0x4aced4[_0x34dbae(0x151)](_0x9e103)){_0x4aced4['add'](_0x9e103);const _0x32cf0f=this[_0x34dbae(0xec)][_0x34dbae(0x130)](_0x9e103);_0x32cf0f&&_0x32cf0f[_0x34dbae(0x100)]&&_0x40d8df['push'](_0x32cf0f['description']),_0x9e103=_0x32cf0f?_0x32cf0f['parentSuiteId']:null;}if(_0x58bc77[_0x34dbae(0x126)](_0x40d8df[_0x34dbae(0x110)],0x0))return _0x40d8df['reverse']();}catch(_0x4bcc06){_0x58bc77[_0x34dbae(0x117)](debug,_0x34dbae(0xee)+(_0x257c82&&_0x257c82[_0x34dbae(0xeb)])+_0x34dbae(0x13c)+_0x4bcc06);}const _0x5d1b86=_0x257c82&&_0x257c82[_0x34dbae(0xeb)]||'',_0x39832f=_0x257c82&&_0x257c82[_0x34dbae(0x100)]||'';let _0x43caba=_0x5d1b86;return _0x39832f&&_0x5d1b86[_0x34dbae(0x157)](_0x39832f)&&(_0x43caba=_0x5d1b86['slice'](0x0,_0x58bc77[_0x34dbae(0x109)](_0x5d1b86[_0x34dbae(0x110)],_0x39832f[_0x34dbae(0x110)]))[_0x34dbae(0x116)]()),_0x43caba?_0x43caba[_0x34dbae(0x127)](/\s+/):[];}['_resolveFilePath'](_0x572188){const _0xe3ed6e=a14_0x2528df,_0xdc3067={};_0xdc3067[_0xe3ed6e(0xfb)]=function(_0x3af453,_0x4a3673){return _0x3af453===_0x4a3673;},_0xdc3067[_0xe3ed6e(0x169)]=function(_0x5a07c1,_0x322f4e){return _0x5a07c1+_0x322f4e;},_0xdc3067['EImyP']=function(_0x42a93d,_0x281f40){return _0x42a93d>_0x281f40;};const _0x32143c=_0xdc3067;if(_0x572188&&_0x572188[_0xe3ed6e(0x12c)])return _0x572188[_0xe3ed6e(0x12c)];if(_0x572188&&_0x572188[_0xe3ed6e(0xeb)]){if(this[_0xe3ed6e(0x167)][_0x572188[_0xe3ed6e(0xeb)]])return this[_0xe3ed6e(0x167)][_0x572188[_0xe3ed6e(0xeb)]];let _0x13c7b0=null,_0x1cd1f7=-0x1;for(const _0x3cf997 of Object[_0xe3ed6e(0x11c)](this[_0xe3ed6e(0x167)])){(_0x32143c['GiDXn'](_0x572188[_0xe3ed6e(0xeb)],_0x3cf997)||_0x572188[_0xe3ed6e(0xeb)][_0xe3ed6e(0xe8)](_0x32143c[_0xe3ed6e(0x169)](_0x3cf997,'\x20')))&&_0x32143c[_0xe3ed6e(0xf2)](_0x3cf997[_0xe3ed6e(0x110)],_0x1cd1f7)&&(_0x13c7b0=this['_fileNameByFullName'][_0x3cf997],_0x1cd1f7=_0x3cf997[_0xe3ed6e(0x110)]);}if(_0x13c7b0)return _0x13c7b0;}return null;}['_collapseFailedExpectations'](_0x556101){const _0x4dd9f6=a14_0x2528df,_0x2d6fd5={};_0x2d6fd5[_0x4dd9f6(0xed)]=function(_0x2792fc,_0x2e5866){return _0x2792fc===_0x2e5866;},_0x2d6fd5[_0x4dd9f6(0x107)]='Spec\x20failed';const _0x45da67=_0x2d6fd5;if(!Array[_0x4dd9f6(0x150)](_0x556101)||_0x45da67[_0x4dd9f6(0xed)](_0x556101['length'],0x0))return undefined;const _0x498df8=[],_0x1b51da=[];for(const _0x43bf5f of _0x556101){_0x43bf5f&&_0x43bf5f['message']&&_0x498df8[_0x4dd9f6(0x111)](_0x43bf5f[_0x4dd9f6(0x149)]),_0x43bf5f&&_0x43bf5f[_0x4dd9f6(0x15f)]&&_0x1b51da['push'](_0x43bf5f[_0x4dd9f6(0x15f)]);}const _0x4cdd23=_0x556101[0x0]||{},_0x3e45fe=_0x498df8[_0x4dd9f6(0x102)]('\x0a')||_0x4cdd23[_0x4dd9f6(0x149)]||_0x45da67[_0x4dd9f6(0x107)],_0x50a309=_0x1b51da['join']('\x0a\x0a')||_0x4cdd23[_0x4dd9f6(0x15f)]||_0x3e45fe,_0x7bb5af={};return _0x7bb5af['message']=_0x3e45fe,_0x7bb5af[_0x4dd9f6(0x15f)]=_0x50a309,_0x7bb5af[_0x4dd9f6(0x168)]=_0x4cdd23[_0x4dd9f6(0x168)],_0x7bb5af[_0x4dd9f6(0xf9)]=_0x4cdd23[_0x4dd9f6(0xf9)],_0x7bb5af['actual']=_0x4cdd23[_0x4dd9f6(0x10e)],_0x7bb5af;}['_findGitConfig'](_0x382e3b){const _0x3f8b3c=a14_0x2528df,_0x2515e6={};_0x2515e6[_0x3f8b3c(0x159)]=function(_0x5eb34a,_0x2ebefa){return _0x5eb34a===_0x2ebefa;},_0x2515e6['srMcb']=function(_0x864b7c,_0x770b7b){return _0x864b7c===_0x770b7b;},_0x2515e6[_0x3f8b3c(0x113)]=function(_0x264721,_0x3f4775){return _0x264721===_0x3f4775;},_0x2515e6[_0x3f8b3c(0x13e)]=_0x3f8b3c(0x158),_0x2515e6['aVqxm']=_0x3f8b3c(0x14b);const _0x2c6b4d=_0x2515e6,_0x24deb4=path[_0x3f8b3c(0xe7)];if(_0x2c6b4d['UCyOP'](_0x382e3b,null)||_0x2c6b4d[_0x3f8b3c(0x159)](_0x382e3b,'')||_0x2c6b4d['srMcb'](_0x382e3b,_0x24deb4)||_0x2c6b4d[_0x3f8b3c(0x113)](_0x382e3b,path['dirname'](_0x382e3b)))return null;try{return fs[_0x3f8b3c(0x143)](path[_0x3f8b3c(0x102)](_0x382e3b,_0x2c6b4d[_0x3f8b3c(0x13e)],_0x2c6b4d[_0x3f8b3c(0xf1)])),_0x382e3b;}catch(_0x4d9355){return this[_0x3f8b3c(0x15e)](path[_0x3f8b3c(0x14d)](_0x382e3b));}}}module[a14_0x2528df(0x103)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x567948=a14_0x2fe0;(function(_0x58f977,_0x1a0b68){const _0x1173bc=a14_0x2fe0,_0x59102a=_0x58f977();while(!![]){try{const _0x49b8c2=parseInt(_0x1173bc(0xe8))/0x1+parseInt(_0x1173bc(0xec))/0x2+-parseInt(_0x1173bc(0xf5))/0x3+parseInt(_0x1173bc(0xe2))/0x4*(-parseInt(_0x1173bc(0x146))/0x5)+-parseInt(_0x1173bc(0xef))/0x6+-parseInt(_0x1173bc(0xe3))/0x7+-parseInt(_0x1173bc(0x121))/0x8*(-parseInt(_0x1173bc(0x151))/0x9);if(_0x49b8c2===_0x1a0b68)break;else _0x59102a['push'](_0x59102a['shift']());}catch(_0xdeb64b){_0x59102a['push'](_0x59102a['shift']());}}}(a14_0xee97,0x7a863));function a14_0x2fe0(_0x543ed1,_0x3b108d){const _0xee9797=a14_0xee97();return a14_0x2fe0=function(_0x2fe0c7,_0x4e75c5){_0x2fe0c7=_0x2fe0c7-0xda;let _0x2bb8ee=_0xee9797[_0x2fe0c7];return _0x2bb8ee;},a14_0x2fe0(_0x543ed1,_0x3b108d);}const path=require(a14_0x567948(0x145)),fs=require('fs'),{v4:uuidv4}=require(a14_0x567948(0x130)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x567948(0xeb)),testRunMap=require(a14_0x567948(0x11e)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x567948(0xf4),a14_0x3e1cb0={};function a14_0xee97(){const _0x1dafc5=['get','KcOzx','reverse','failed','set','uyrej','OEJAU','relative','setCurrentTestData','QVmnM','eDHxx','4sPxQgW','777567ANRrba','XjqlN','cppsm','mARtk','Zquxh','760742ytLylX','emSEp','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','../../../helpers/test-observability/utils','143928JSwgHD','filename','parentSuiteId','2466294KczmRU','length','PxEJN','endsWith','has','Jasmine','1215597nQlXgu','_fileNameByFullName','dirname','keys','RUTgi','EYwIb','toISOString','_scopes','matcherName','XZzrl','GbwKK','cwd','status','mrnKg','kdyBa','AssertionError','_suitesById','_paths','_sendSpecEvent','IcuCq','code','\x20:\x20','.git','hkmYD','qDdKc','AdfTq','UKCng','failedExpectations','rLcww','failure_backtrace','VnAHB','RWqZF','testObservability','description','TestRunSkipped','UOCKi','_collapseFailedExpectations','remove','started_at','startsWith','pending','../testRunMap','shouldProcessEventForTesthub','excluded','2876984OaasKY','isArray','vsznu','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','fileNameByFullName','zijjm','javascript','mDpAO','File\x20path\x20could\x20not\x20be\x20found','prefixTestPath','YrtHU','TestRunStarted','join','backtrace','TestRunFinished','uuid','config','LewbE','fullName','TNnPs','err','trim','_findGitConfig','MpSpC','ZvkyD','uploadEventData','duration','QwQxN','jasmineStarted','jasmineDone','failure','number','stack','actual','JASMINE','ZpRhz','path','2411935ohsEge','push','_resolveFilePath','VcsBT','expected','xIHjH','NyLfL','SxvvI','appendTesthubParams','suiteStarted','statSync','27AyhARz','message','HMExN','passed'];a14_0xee97=function(){return _0x1dafc5;};return a14_0xee97();}a14_0x3e1cb0[a14_0x567948(0x154)]=a14_0x567948(0x154),a14_0x3e1cb0[a14_0x567948(0xda)]=a14_0x567948(0xda),a14_0x3e1cb0[a14_0x567948(0x11d)]='pending',a14_0x3e1cb0[a14_0x567948(0x120)]='skipped';const STATUS_MAP=a14_0x3e1cb0;class BrowserStackJasmineReporter{constructor(_0x52e632={}){const _0x5d1427=a14_0x567948,_0x55400f={'KcOzx':function(_0x5ea969){return _0x5ea969();}};this[_0x5d1427(0x115)]=_0x55400f[_0x5d1427(0x156)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x5d1427(0x100)]()},undefined),this[_0x5d1427(0xf6)]=_0x52e632&&_0x52e632[_0x5d1427(0x125)]||{},this[_0x5d1427(0x105)]=new Map();}[a14_0x567948(0x13d)](){}[a14_0x567948(0x14f)](_0x661a01){const _0x330998=a14_0x567948,_0x2ddec3={'mUpbM':function(_0x1c42eb,_0x143814){return _0x1c42eb!==_0x143814;},'AZECf':function(_0x2713c9,_0x5e85b2){return _0x2713c9!==_0x5e85b2;},'DxRlh':function(_0xecddd4,_0x2a1131){return _0xecddd4(_0x2a1131);}};try{_0x661a01&&_0x2ddec3['mUpbM'](_0x661a01['id'],undefined)&&_0x2ddec3['AZECf'](_0x661a01['id'],null)&&this['_suitesById'][_0x330998(0xdb)](_0x661a01['id'],{'description':_0x661a01[_0x330998(0x116)],'parentSuiteId':_0x661a01[_0x330998(0xee)]});}catch(_0x1bcad5){_0x2ddec3['DxRlh'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x661a01&&_0x661a01['fullName'])+_0x330998(0x10a)+_0x1bcad5);}}['specStarted'](_0x53de55){const _0x363e7a=a14_0x567948,_0x1e6895={'rLcww':function(_0x1bbc5e,_0x5f31f4){return _0x1bbc5e!==_0x5f31f4;},'mrnKg':function(_0x62b043){return _0x62b043();},'CuUUu':'TestRunStarted','GbwKK':function(_0x555dc6,_0x59ece1){return _0x555dc6(_0x59ece1);}};try{if(_0x1e6895[_0x363e7a(0x111)](testhubUtils[_0x363e7a(0x11f)](),!![]))return;const _0x16fd9b=_0x1e6895[_0x363e7a(0x102)](uuidv4);testRunMap[_0x363e7a(0xdb)](_0x53de55['id'],_0x16fd9b),this[_0x363e7a(0x107)](_0x53de55,_0x16fd9b,_0x1e6895['CuUUu']);}catch(_0x149421){_0x1e6895[_0x363e7a(0xff)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x53de55&&_0x53de55[_0x363e7a(0x133)])+_0x363e7a(0x10a)+_0x149421);}}['specDone'](_0xa277a1){const _0x362167=a14_0x567948,_0x5b24cb={'TNnPs':function(_0x1902f2,_0x37776c){return _0x1902f2!==_0x37776c;},'KpePd':function(_0x5271ae){return _0x5271ae();},'VcsBT':function(_0x1665bc,_0x342a8c){return _0x1665bc===_0x342a8c;},'ydDbF':_0x362167(0x120),'XjqlN':'TestRunSkipped','zijjm':_0x362167(0x12f),'xqtyQ':function(_0x278c37,_0x546456){return _0x278c37(_0x546456);}};try{if(_0x5b24cb[_0x362167(0x134)](testhubUtils[_0x362167(0x11f)](),!![]))return;const _0x232415=testRunMap[_0x362167(0x155)](_0xa277a1['id'])||_0x5b24cb['KpePd'](uuidv4),_0x5a6a75=_0x5b24cb[_0x362167(0x149)](_0xa277a1[_0x362167(0x101)],_0x5b24cb['ydDbF'])?_0x5b24cb[_0x362167(0xe4)]:_0x5b24cb[_0x362167(0x126)];this[_0x362167(0x107)](_0xa277a1,_0x232415,_0x5a6a75);}catch(_0x585d6f){_0x5b24cb['xqtyQ'](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0xa277a1&&_0xa277a1[_0x362167(0x133)])+_0x362167(0x10a)+_0x585d6f);}finally{_0xa277a1&&(testRunMap[_0x362167(0x11a)](_0xa277a1['id']),_specStartTimes['delete'](_0xa277a1['id']));}}['suiteDone'](){}[a14_0x567948(0x13e)](){}[a14_0x567948(0x107)](_0x144142,_0x329426,_0x1f70e5){const _0x5af883=a14_0x567948,_0x57cb73={'NyLfL':function(_0xd23953,_0x3865b7){return _0xd23953===_0x3865b7;},'PxEJN':_0x5af883(0x12f),'uyrej':_0x5af883(0x117),'EYwIb':_0x5af883(0x129),'ddYfx':function(_0x3d50e4,_0x557a1a,_0x31c6ff){return _0x3d50e4(_0x557a1a,_0x31c6ff);},'HMExN':_0x5af883(0x135),'YrtHU':_0x5af883(0x12c),'vWZXR':function(_0xadf1ca,_0x48c979){return _0xadf1ca!==_0x48c979;},'LewbE':function(_0x42e031,_0x51a85e){return _0x42e031===_0x51a85e;},'eDHxx':_0x5af883(0x127),'vsznu':function(_0x3e9320,_0x455b36){return _0x3e9320&&_0x455b36;},'lDdhD':'skipped','QwQxN':_0x5af883(0x154),'cppsm':_0x5af883(0x140),'ZvkyD':_0x5af883(0x104),'UOCKi':'UnhandledError','AdfTq':function(_0x473cd1,_0x29e843){return _0x473cd1===_0x29e843;},'RaQur':_0x5af883(0x11b),'NCUSC':'finished_at','kCBms':_0x5af883(0x13f),'emSEp':_0x5af883(0x112),'MpSpC':_0x5af883(0x12e),'xdpCt':'failure_reason_expanded','mDpAO':'expanded','VnAHB':function(_0x21ec76,_0x36a10b){return _0x21ec76(_0x36a10b);}};try{const _0x30988c=_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xf1)])||_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)]),_0x4580ae=this[_0x5af883(0x148)](_0x144142),_0x593880=_0x4580ae?this[_0x5af883(0x106)][_0x5af883(0x12a)](_0x4580ae):_0x57cb73[_0x5af883(0xfa)],_0x12510d=_0x4580ae?this[_0x5af883(0x137)](path[_0x5af883(0xf7)](_0x4580ae)):null,_0x468049=this[_0x5af883(0x119)](_0x144142[_0x5af883(0x110)]),_0x36125e=_0x468049?_0x468049[_0x5af883(0x152)]:undefined,_0x9748bd=_0x468049?_0x57cb73['ddYfx'](failureData,_0x468049,_0x57cb73[_0x5af883(0x153)]):[],_0x113c52=new Date()[_0x5af883(0xfb)](),_0x383a7d=this['_scopes'](_0x144142);_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0x12b)])&&_0x144142&&_0x57cb73['vWZXR'](_0x144142['id'],undefined)&&_0x57cb73['vWZXR'](_0x144142['id'],null)&&_specStartTimes['set'](_0x144142['id'],_0x113c52);const _0x226330=_0x57cb73[_0x5af883(0x132)](_0x1f70e5,_0x57cb73[_0x5af883(0x12b)])?_0x113c52:_0x144142&&_specStartTimes['get'](_0x144142['id'])||null,_0x4a743f={};_0x4a743f['lang']=_0x57cb73[_0x5af883(0xe1)],_0x4a743f[_0x5af883(0x109)]=null;const _0x4b6584={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x329426,'name':_0x144142['description'],'body':_0x4a743f,'scope':_0x383a7d[_0x5af883(0x12d)]('\x20'),'scopes':_0x383a7d,'identifier':_0x144142[_0x5af883(0x133)],'file_name':_0x593880,'vc_filepath':_0x57cb73[_0x5af883(0x123)](_0x12510d,_0x4580ae)?path[_0x5af883(0xde)](_0x12510d,_0x4580ae):null,'location':_0x593880,'result':_0x57cb73[_0x5af883(0x132)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)])?_0x57cb73['lDdhD']:STATUS_MAP[_0x144142[_0x5af883(0x101)]]||_0x57cb73[_0x5af883(0x13c)],'failure_reason':_0x36125e,'duration_in_ms':_0x57cb73[_0x5af883(0x14c)](typeof _0x144142[_0x5af883(0x13b)],_0x57cb73[_0x5af883(0xe5)])?_0x144142[_0x5af883(0x13b)]:null,'started_at':_0x226330,'finished_at':_0x30988c?_0x113c52:null,'failure':_0x9748bd,'failure_type':!_0x36125e?null:_0x36125e['match'](/AssertionError/)?_0x57cb73[_0x5af883(0x139)]:_0x57cb73[_0x5af883(0x118)],'retry_of':null};_0x57cb73[_0x5af883(0x10e)](_0x1f70e5,_0x57cb73['uyrej'])&&!_0x4b6584[_0x57cb73['RaQur']]&&(_0x4b6584[_0x57cb73['RaQur']]=_0x4b6584[_0x57cb73['NCUSC']]);const _0x2868ad=_0x4b6584[_0x57cb73['kCBms']][0x0];_0x2868ad&&(_0x4b6584[_0x57cb73[_0x5af883(0xe9)]]=_0x2868ad[_0x57cb73[_0x5af883(0x138)]],_0x4b6584[_0x57cb73['xdpCt']]=_0x2868ad[_0x57cb73[_0x5af883(0x128)]]);testhubUtils[_0x5af883(0x14e)](_0x4b6584,_0x1f70e5,_0x144142,FRAMEWORKS[_0x5af883(0x143)]);const _0x5862c3={'event_type':_0x57cb73[_0x5af883(0x14c)](_0x1f70e5,_0x57cb73[_0x5af883(0xdc)])?_0x57cb73[_0x5af883(0xf1)]:_0x1f70e5,'test_run':_0x4b6584};return testhubUtils[_0x5af883(0xdf)](FRAMEWORKS['JASMINE'],_0x5862c3),SessionHandler[_0x5af883(0x13a)](_0x5862c3);}catch(_0x56479c){_0x57cb73[_0x5af883(0x113)](debug,_0x5af883(0xea)+_0x1f70e5+_0x5af883(0x10a)+_0x56479c);}}[a14_0x567948(0xfc)](_0x22e9f0){const _0x1a1ad7=a14_0x567948,_0x4e072f={'mARtk':function(_0xd0dd3b,_0x38a2a8){return _0xd0dd3b!==_0x38a2a8;},'SxvvI':function(_0x2dead4,_0xafd8f5){return _0x2dead4>_0xafd8f5;},'QVmnM':function(_0x3aebec,_0x480376){return _0x3aebec(_0x480376);},'XZzrl':function(_0x4c93e8,_0x26b34c){return _0x4c93e8-_0x26b34c;}};try{const _0x2213b3=[];let _0x2b27c9=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0xee)];const _0x3652f1=new Set();while(_0x4e072f[_0x1a1ad7(0xe6)](_0x2b27c9,undefined)&&_0x4e072f[_0x1a1ad7(0xe6)](_0x2b27c9,null)&&this[_0x1a1ad7(0x105)][_0x1a1ad7(0xf3)](_0x2b27c9)&&!_0x3652f1[_0x1a1ad7(0xf3)](_0x2b27c9)){_0x3652f1['add'](_0x2b27c9);const _0x12b3a5=this[_0x1a1ad7(0x105)]['get'](_0x2b27c9);_0x12b3a5&&_0x12b3a5[_0x1a1ad7(0x116)]&&_0x2213b3[_0x1a1ad7(0x147)](_0x12b3a5['description']),_0x2b27c9=_0x12b3a5?_0x12b3a5[_0x1a1ad7(0xee)]:null;}if(_0x4e072f[_0x1a1ad7(0x14d)](_0x2213b3['length'],0x0))return _0x2213b3[_0x1a1ad7(0x157)]();}catch(_0x9f7a30){_0x4e072f[_0x1a1ad7(0xe0)](debug,_0x1a1ad7(0x124)+(_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x133)])+_0x1a1ad7(0x10a)+_0x9f7a30);}const _0x330dfd=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x133)]||'',_0x38bcf1=_0x22e9f0&&_0x22e9f0[_0x1a1ad7(0x116)]||'';let _0x3f70f5=_0x330dfd;return _0x38bcf1&&_0x330dfd[_0x1a1ad7(0xf2)](_0x38bcf1)&&(_0x3f70f5=_0x330dfd['slice'](0x0,_0x4e072f[_0x1a1ad7(0xfe)](_0x330dfd[_0x1a1ad7(0xf0)],_0x38bcf1[_0x1a1ad7(0xf0)]))[_0x1a1ad7(0x136)]()),_0x3f70f5?_0x3f70f5['split'](/\s+/):[];}[a14_0x567948(0x148)](_0x172ffd){const _0x5cead7=a14_0x567948,_0x3d2aa9={};_0x3d2aa9['OEJAU']=function(_0x574972,_0x15092e){return _0x574972===_0x15092e;},_0x3d2aa9[_0x5cead7(0x103)]=function(_0x465384,_0x802b89){return _0x465384+_0x802b89;},_0x3d2aa9['RUTgi']=function(_0x26a757,_0x132e5a){return _0x26a757>_0x132e5a;};const _0x178c0b=_0x3d2aa9;if(_0x172ffd&&_0x172ffd[_0x5cead7(0xed)])return _0x172ffd[_0x5cead7(0xed)];if(_0x172ffd&&_0x172ffd[_0x5cead7(0x133)]){if(this['_fileNameByFullName'][_0x172ffd['fullName']])return this[_0x5cead7(0xf6)][_0x172ffd[_0x5cead7(0x133)]];let _0x1cbfc4=null,_0x3049f3=-0x1;for(const _0x5a3600 of Object[_0x5cead7(0xf8)](this[_0x5cead7(0xf6)])){(_0x178c0b[_0x5cead7(0xdd)](_0x172ffd[_0x5cead7(0x133)],_0x5a3600)||_0x172ffd['fullName'][_0x5cead7(0x11c)](_0x178c0b['kdyBa'](_0x5a3600,'\x20')))&&_0x178c0b[_0x5cead7(0xf9)](_0x5a3600[_0x5cead7(0xf0)],_0x3049f3)&&(_0x1cbfc4=this[_0x5cead7(0xf6)][_0x5a3600],_0x3049f3=_0x5a3600[_0x5cead7(0xf0)]);}if(_0x1cbfc4)return _0x1cbfc4;}return null;}[a14_0x567948(0x119)](_0x373010){const _0x5ef695=a14_0x567948,_0x47875c={};_0x47875c[_0x5ef695(0x10c)]=function(_0x482ced,_0x31fbc){return _0x482ced===_0x31fbc;},_0x47875c[_0x5ef695(0x14b)]='Spec\x20failed';const _0x1daf65=_0x47875c;if(!Array[_0x5ef695(0x122)](_0x373010)||_0x1daf65[_0x5ef695(0x10c)](_0x373010[_0x5ef695(0xf0)],0x0))return undefined;const _0x271b49=[],_0x2a7b83=[];for(const _0x23e218 of _0x373010){_0x23e218&&_0x23e218[_0x5ef695(0x152)]&&_0x271b49[_0x5ef695(0x147)](_0x23e218['message']),_0x23e218&&_0x23e218[_0x5ef695(0x141)]&&_0x2a7b83[_0x5ef695(0x147)](_0x23e218[_0x5ef695(0x141)]);}const _0x386529=_0x373010[0x0]||{},_0x5efde4=_0x271b49[_0x5ef695(0x12d)]('\x0a')||_0x386529[_0x5ef695(0x152)]||_0x1daf65[_0x5ef695(0x14b)],_0x586238=_0x2a7b83['join']('\x0a\x0a')||_0x386529[_0x5ef695(0x141)]||_0x5efde4,_0x217567={};return _0x217567[_0x5ef695(0x152)]=_0x5efde4,_0x217567[_0x5ef695(0x141)]=_0x586238,_0x217567[_0x5ef695(0xfd)]=_0x386529[_0x5ef695(0xfd)],_0x217567[_0x5ef695(0x14a)]=_0x386529[_0x5ef695(0x14a)],_0x217567[_0x5ef695(0x142)]=_0x386529[_0x5ef695(0x142)],_0x217567;}[a14_0x567948(0x137)](_0x5c569c){const _0x1146a2=a14_0x567948,_0x4bc1ef={};_0x4bc1ef[_0x1146a2(0x108)]=function(_0x1abd89,_0x36ecd2){return _0x1abd89===_0x36ecd2;},_0x4bc1ef[_0x1146a2(0x114)]=function(_0x28b6df,_0x2e89ab){return _0x28b6df===_0x2e89ab;},_0x4bc1ef['qDdKc']=function(_0xd0cb5f,_0x146f21){return _0xd0cb5f===_0x146f21;},_0x4bc1ef['UKCng']=function(_0x42a441,_0x50c672){return _0x42a441===_0x50c672;},_0x4bc1ef[_0x1146a2(0x144)]=_0x1146a2(0x10b),_0x4bc1ef[_0x1146a2(0xe7)]=_0x1146a2(0x131);const _0xfb7581=_0x4bc1ef,_0x5a7019=path['sep'];if(_0xfb7581[_0x1146a2(0x108)](_0x5c569c,null)||_0xfb7581['RWqZF'](_0x5c569c,'')||_0xfb7581[_0x1146a2(0x10d)](_0x5c569c,_0x5a7019)||_0xfb7581[_0x1146a2(0x10f)](_0x5c569c,path[_0x1146a2(0xf7)](_0x5c569c)))return null;try{return fs[_0x1146a2(0x150)](path['join'](_0x5c569c,_0xfb7581['ZpRhz'],_0xfb7581[_0x1146a2(0xe7)])),_0x5c569c;}catch(_0x43137a){return this['_findGitConfig'](path[_0x1146a2(0xf7)](_0x5c569c));}}}module['exports']=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0x185a5b=a15_0x265c;(function(_0xfe3d48,_0x117807){const _0x6d26c1=a15_0x265c,_0x21ce3e=_0xfe3d48();while(!![]){try{const _0x425dd8=parseInt(_0x6d26c1(0x1bc))/0x1*(parseInt(_0x6d26c1(0x166))/0x2)+-parseInt(_0x6d26c1(0x19a))/0x3+-parseInt(_0x6d26c1(0x1a0))/0x4*(-parseInt(_0x6d26c1(0x1c2))/0x5)+parseInt(_0x6d26c1(0x1a4))/0x6+-parseInt(_0x6d26c1(0x18c))/0x7*(-parseInt(_0x6d26c1(0x1ee))/0x8)+-parseInt(_0x6d26c1(0x1b3))/0x9*(-parseInt(_0x6d26c1(0x199))/0xa)+-parseInt(_0x6d26c1(0x161))/0xb;if(_0x425dd8===_0x117807)break;else _0x21ce3e['push'](_0x21ce3e['shift']());}catch(_0x31b105){_0x21ce3e['push'](_0x21ce3e['shift']());}}}(a15_0x1738,0x685c8));const fs=require('fs'),path=require('path'),util=require(a15_0x185a5b(0x1b7)),{spawn}=require(a15_0x185a5b(0x1dc)),glob=require(a15_0x185a5b(0x1cd)),pLimit=require(a15_0x185a5b(0x1f1)),logger=require(a15_0x185a5b(0x1bb))[a15_0x185a5b(0x1e6)],helper=require(a15_0x185a5b(0x16f)),utilities=require(a15_0x185a5b(0x1b9)),constants=require(a15_0x185a5b(0x17e)),TestHubHandler=require(a15_0x185a5b(0x1a7)),testOpsHelper=require(a15_0x185a5b(0x187)),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require(a15_0x185a5b(0x1d8)),PerformanceTester=require(a15_0x185a5b(0x1fc)),PerformanceEvents=require(a15_0x185a5b(0x1b2))[a15_0x185a5b(0x1e2)],BrowserstackCLI=require(a15_0x185a5b(0x19d)),{checkPwandBootstrapCli}=require(a15_0x185a5b(0x1c9)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x185a5b(0x1c3)),getMaxWorkers=(_0x5d5097,_0x10e3a4)=>{const _0x257591=a15_0x185a5b,_0x19e2c5={'ACDTZ':function(_0x5cc008,_0x526116){return _0x5cc008(_0x526116);}};let _0x387dfb=0x1;if(!helper['isUndefined'](_0x10e3a4[_0x257591(0x1d0)]))_0x387dfb=_0x19e2c5[_0x257591(0x1d5)](parseInt,_0x10e3a4[_0x257591(0x1d0)]);else!helper[_0x257591(0x1be)](_0x5d5097[_0x257591(0x1cc)])&&(_0x387dfb=_0x5d5097[_0x257591(0x1cc)]);return _0x387dfb;},resolveJasmineConfigPath=()=>{const _0x439115=a15_0x185a5b,_0x1b21b9={};_0x1b21b9[_0x439115(0x156)]=_0x439115(0x197);const _0x1d9ad7=_0x1b21b9,_0x1c3257=[];process['env'][_0x439115(0x1a1)]&&_0x1c3257[_0x439115(0x1d7)](path['resolve'](process[_0x439115(0x165)](),process[_0x439115(0x155)]['JASMINE_CONFIG_PATH']));_0x1c3257[_0x439115(0x1d7)](path[_0x439115(0x171)](process['cwd'](),_0x1d9ad7['qwuKz']));for(const _0x2978f0 of _0x1c3257){try{if(fs['existsSync'](_0x2978f0))return _0x2978f0;}catch(_0x168066){}}return null;},enumerateSpecFiles=_0x40b11a=>{const _0xe5cca4=a15_0x185a5b,_0x2c0ebf={'ufRES':function(_0x34a224,_0x423735){return _0x34a224(_0x423735);},'LoGxS':function(_0x2c2132,_0x193188){return _0x2c2132>_0x193188;},'SShUm':function(_0x3cc79b,_0xd50fc8){return _0x3cc79b(_0xd50fc8);},'zCOGj':function(_0x157b70,_0x103214){return _0x157b70<_0x103214;},'tBIug':function(_0x41765,_0x13b653){return _0x41765===_0x13b653;},'azVlD':_0xe5cca4(0x18b),'sqyKa':function(_0x91b48f,_0x444110){return _0x91b48f>_0x444110;},'NDgJI':function(_0x4c4c5d,_0x3abb6f,_0x3a9671){return _0x4c4c5d(_0x3abb6f,_0x3a9671);},'QZwSU':function(_0x2bbcd7,_0x2d2a96){return _0x2bbcd7>_0x2d2a96;},'uHFuj':function(_0x1dffc6){return _0x1dffc6();},'udgQb':'utf8','aQziE':_0xe5cca4(0x1dd),'vBFpX':function(_0x5ef734,_0x4df487){return _0x5ef734>_0x4df487;},'XQByE':_0xe5cca4(0x1c1),'beKQX':function(_0x510533,_0x1c2948){return _0x510533(_0x1c2948);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1ba1f3=testOpsHelper['parseFileNames'](process['env'][_0xe5cca4(0x1ce)]);if(Array[_0xe5cca4(0x181)](_0x1ba1f3)&&_0x2c0ebf[_0xe5cca4(0x1c4)](_0x1ba1f3['length'],0x0))return _0x1ba1f3[_0xe5cca4(0x1cf)](_0x30d93c=>path[_0xe5cca4(0x171)](process[_0xe5cca4(0x165)](),_0x30d93c[_0xe5cca4(0x178)]()))['filter'](Boolean);}}catch(_0x28122d){_0x2c0ebf[_0xe5cca4(0x18d)](debug,_0xe5cca4(0x177)+util[_0xe5cca4(0x198)](_0x28122d));}const _0x5e5105=[];try{for(let _0x3ae1a4=0x1;_0x2c0ebf[_0xe5cca4(0x194)](_0x3ae1a4,_0x40b11a[_0xe5cca4(0x1bf)]);_0x3ae1a4++){const _0xe3ad8f=_0x40b11a[_0x3ae1a4];_0x2c0ebf[_0xe5cca4(0x1c6)](typeof _0xe3ad8f,_0x2c0ebf['azVlD'])&&!_0xe3ad8f[_0xe5cca4(0x17c)]('-')&&_0x5e5105[_0xe5cca4(0x1d7)](_0xe3ad8f);}}catch(_0x448b02){}const _0x10d1e1={'cwd':process[_0xe5cca4(0x165)](),'absolute':!![],'nodir':!![]},_0x5dbcd3=(_0x43189b,_0x1a63c2)=>{const _0x14b73a=_0xe5cca4,_0x235f5a=[];for(const _0x22aeb5 of _0x43189b){try{const _0x37a9b0=_0x1a63c2?path[_0x14b73a(0x1e0)][_0x14b73a(0x1b5)](_0x1a63c2,_0x22aeb5):_0x22aeb5,_0x1120d5=glob[_0x14b73a(0x164)](_0x37a9b0,_0x10d1e1);Array['isArray'](_0x1120d5)&&_0x235f5a['push'](..._0x1120d5);}catch(_0x1bcb3b){_0x2c0ebf['ufRES'](debug,_0x14b73a(0x18a)+_0x22aeb5+_0x14b73a(0x15c)+util[_0x14b73a(0x198)](_0x1bcb3b));}}return _0x235f5a;};if(_0x2c0ebf['sqyKa'](_0x5e5105['length'],0x0)){const _0x152cb0=_0x2c0ebf[_0xe5cca4(0x172)](_0x5dbcd3,_0x5e5105,null);if(_0x2c0ebf[_0xe5cca4(0x16c)](_0x152cb0[_0xe5cca4(0x1bf)],0x0))return Array[_0xe5cca4(0x190)](new Set(_0x152cb0));return _0x5e5105[_0xe5cca4(0x1cf)](_0x5a9d7b=>path['resolve'](process[_0xe5cca4(0x165)](),_0x5a9d7b));}try{const _0x5a9eaf=_0x2c0ebf[_0xe5cca4(0x189)](resolveJasmineConfigPath);if(_0x5a9eaf){const _0x1ca694=JSON[_0xe5cca4(0x1f3)](fs[_0xe5cca4(0x16e)](_0x5a9eaf,_0x2c0ebf[_0xe5cca4(0x19c)])),_0x419e4f=_0x1ca694[_0xe5cca4(0x1ab)]||_0x2c0ebf[_0xe5cca4(0x1de)],_0x4e07d7=Array[_0xe5cca4(0x181)](_0x1ca694[_0xe5cca4(0x163)])&&_0x2c0ebf[_0xe5cca4(0x158)](_0x1ca694['spec_files']['length'],0x0)?_0x1ca694['spec_files']:[_0x2c0ebf['XQByE']],_0x141788=_0x2c0ebf[_0xe5cca4(0x172)](_0x5dbcd3,_0x4e07d7,_0x419e4f);if(_0x2c0ebf[_0xe5cca4(0x1c4)](_0x141788[_0xe5cca4(0x1bf)],0x0))return Array[_0xe5cca4(0x190)](new Set(_0x141788));}}catch(_0x57c487){_0x2c0ebf[_0xe5cca4(0x1ec)](debug,_0xe5cca4(0x1ca)+util[_0xe5cca4(0x198)](_0x57c487));}return null;};function a15_0x265c(_0x5cc503,_0x46bf6d){const _0x17385e=a15_0x1738();return a15_0x265c=function(_0x265c26,_0x458d66){_0x265c26=_0x265c26-0x154;let _0x46adfe=_0x17385e[_0x265c26];return _0x46adfe;},a15_0x265c(_0x5cc503,_0x46bf6d);}function a15_0x1738(){const _0x4d94d3=['finalExecution','spec_dir','info','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','debug','error','Etlpx','SDK_CLEANUP','../../helpers/performance/constants','2803149FFiCqZ','JASMINE','join','close','util',',\x20specs=','../../helpers/utilities','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','../../helpers/logger','10878GnQEgA','aJuvX','isUndefined','length','NyARr','**/*[sS]pec.?(m)js','135SPQcCU','../../helpers/puppeteer-helper','LoGxS','cpzzq','tBIug','isCLIEnabled','ueDXC','../../helpers/playwright-helper','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','__isPuppeteerInstalled','maxWorkers','glob','BROWSERSTACK_RERUN_TESTS','map','parallelsPerPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ylVvx','HJACI','GANrr','ACDTZ','sHqol','push','../../helpers/test-observability/constants','getTCGConfigFilePaths','\x20work-item(s),\x20max\x20','stop','child_process','spec','aQziE','jasmine\x20child\x20(platformIndex=','posix','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','EVENTS','@playwright/test','zjGqV','jasmine','winstonLogger','BROWSERSTACK_CAPABILITIES','uHOMm','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','gfApC','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','beKQX','testObservability','8fMhexo','exitCode',')\x20exited\x20with\x20code\x20','p-limit','tGhtx','parse','stringify','evGty','platformIndex','binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','accessibilityOptions','initialize','existsSync','../../helpers/performance/performance-tester','wpOZc','getPackageVersion','PlHtf','all','wsPXo','env','qwuKz','vAQCX','vBFpX','TFKIq','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','\x20platform(s),\x20parallelsPerPlatform=','\x27\x20:\x20',')\x20:\x20','XFjTG','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','\x20concurrent)','20518597ZEqbkM','proxySettings','spec_files','globSync','cwd','118rPksIj','test.setup.js','QQRaZ','config','Yuhgs','ufqHa','QZwSU','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','readFileSync','../../helpers/helper','trJrW','resolve','NDgJI','filter','aGrPq','ubUBz','SgXAs','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','trim','error\x20removing\x20tcg\x20config\x20file','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20',';\x20proceeding\x20without\x20injection','startsWith','__isPlaywrightInstalled','../utils/constants','getInstance','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isArray','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','specArgs','slice','BROWSERSTACK_JASMINE_PARALLELS','../../helpers/test-observability/utils','Running\x20your\x20Jasmine\x20tests\x20across\x20','uHFuj','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','string','1579123BFGtbC','SShUm','find','GKJMH','from','logLevel','zNssQ','qUmhT','zCOGj','prepareCapabilities','platforms','spec/support/jasmine.json','format','20tSzdpc','1252050SEqTPH','SDK_SETUP','udgQb','../v2/browserstackCLI','inherit','FRAMEWORKS','61324RwlZxP','JASMINE_CONFIG_PATH','assign','setupTCGAuth','4835346SmmBCh','unlinkSync','ovjrc','../../helpers/testhub/testhubHandler','vBkPC','isBrowserstackInfra'];a15_0x1738=function(){return _0x4d94d3;};return a15_0x1738();}async function run(_0x6f9100,_0x210f4f,_0x2e5e2c){const _0x24111f=a15_0x185a5b,_0x43e558={'aJuvX':function(_0x53be85,_0x5d0b7e){return _0x53be85>_0x5d0b7e;},'cpzzq':function(_0x5d36ba,_0x141f67){return _0x5d36ba>_0x141f67;},'trJrW':_0x24111f(0x200),'wsPXo':function(_0x237804,_0x2c84f6){return _0x237804(_0x2c84f6);},'PlHtf':function(_0x24390a,_0x36aa08){return _0x24390a||_0x36aa08;},'wpOZc':function(_0x66ad18,_0x51b18a){return _0x66ad18(_0x51b18a);},'ufqHa':function(_0xc3c505,_0x5a8dd0){return _0xc3c505(_0x5a8dd0);},'zjGqV':function(_0x1d94fc,_0xd4e2ec){return _0x1d94fc>_0xd4e2ec;},'Etlpx':function(_0x5318c8,_0x192a40,_0x1ad0ab,_0x2d1f03){return _0x5318c8(_0x192a40,_0x1ad0ab,_0x2d1f03);},'GANrr':'npx','KnRez':_0x24111f(0x1e5),'aGrPq':function(_0x29ee45,_0x109c19){return _0x29ee45===_0x109c19;},'TFKIq':'win32','zNssQ':_0x24111f(0x19e),'ylVvx':_0x24111f(0x1b6),'ueDXC':_0x24111f(0x1af),'qUmhT':function(_0x37303b,_0x59dbd3){return _0x37303b(_0x59dbd3);},'tjFIS':_0x24111f(0x1e3),'VuQIs':function(_0xde1063){return _0xde1063();},'rbktP':function(_0x38f43a,_0x18b77,_0x15799d,_0x3139fe){return _0x38f43a(_0x18b77,_0x15799d,_0x3139fe);},'HJACI':function(_0x40d744,_0x13314e){return _0x40d744!=_0x13314e;},'gfApC':'true','ubUBz':function(_0x5a4172,_0x2cffe1){return _0x5a4172(_0x2cffe1);},'NyARr':function(_0x50c214,_0x5b57ba,_0x34faa3){return _0x50c214(_0x5b57ba,_0x34faa3);},'nFKDa':function(_0x2e5ddb,_0x422ab6){return _0x2e5ddb*_0x422ab6;},'uHOMm':function(_0x48be55,_0x2ea737){return _0x48be55(_0x2ea737);},'LSqxa':function(_0x559c40,_0x2c44f2){return _0x559c40(_0x2c44f2);},'QQRaZ':_0x24111f(0x167),'tGhtx':function(_0x530894,_0x28d00a){return _0x530894<_0x28d00a;},'evGty':function(_0x1858ce,_0x29ebe1){return _0x1858ce>_0x29ebe1;},'SgXAs':function(_0x2c64c5,_0x59ca77){return _0x2c64c5(_0x59ca77);},'vBkPC':function(_0x305562,_0x30584f){return _0x305562>_0x30584f;},'XFjTG':_0x24111f(0x179)},_0x2bdeeb=helper[_0x24111f(0x1fe)](_0x43e558['tjFIS']);global[_0x24111f(0x17d)]=!!_0x2bdeeb;const _0x1617fa=_0x43e558['VuQIs'](getPuppeteerVersion);global[_0x24111f(0x1cb)]=!!_0x1617fa;helper[_0x24111f(0x1a9)]()?(await _0x2e5e2c[_0x24111f(0x1fa)](_0x6f9100),await helper['handleApp'](_0x2e5e2c[_0x24111f(0x169)])):await _0x2e5e2c[_0x24111f(0x1a3)]();if(_0x2bdeeb)await _0x43e558['rbktP'](checkPwandBootstrapCli,_0x2bdeeb,constants[_0x24111f(0x19f)][_0x24111f(0x1b4)],_0x2e5e2c);else _0x1617fa&&await _0x43e558['Etlpx'](checkPuppeteerAndBootstrapCli,_0x1617fa,constants[_0x24111f(0x19f)][_0x24111f(0x1b4)],_0x2e5e2c);if(!_0x2e5e2c[_0x24111f(0x169)])return;_0x43e558[_0x24111f(0x1d3)](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1ed)],null)?process['env'][_0x24111f(0x182)]=_0x2e5e2c[_0x24111f(0x169)]['testObservability']:process[_0x24111f(0x155)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x43e558[_0x24111f(0x1ea)];!helper['isUndefined'](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1f9)])&&(process[_0x24111f(0x155)][_0x24111f(0x1d1)]=JSON['stringify'](_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x1f9)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS['JASMINE'],_0x2e5e2c);}catch(_0x8bb839){logger[_0x24111f(0x1af)](_0x24111f(0x15a)+util[_0x24111f(0x198)](_0x8bb839)),_0x43e558[_0x24111f(0x193)](debug,_0x24111f(0x16d)+util['format'](_0x8bb839));}let _0x55ae62=![],_0x440f6e=[];try{_0x55ae62=helper['useW3C'](_0x2e5e2c[_0x24111f(0x169)]),_0x440f6e=helper[_0x24111f(0x195)](_0x2e5e2c['config'],_0x55ae62,constants[_0x24111f(0x19f)]['JASMINE']),process[_0x24111f(0x155)][_0x24111f(0x1e7)]=JSON['stringify'](_0x440f6e);}catch(_0x3d00ef){_0x43e558['wpOZc'](debug,_0x24111f(0x1ad)+util[_0x24111f(0x198)](_0x3d00ef));}let _0x462ace=null,_0x45f128=![];try{_0x462ace=helper['getHubUrl'](_0x2e5e2c[_0x24111f(0x169)]),_0x45f128=helper['validPlatformsPresent'](_0x2e5e2c[_0x24111f(0x169)]);}catch(_0x52a69a){_0x43e558[_0x24111f(0x175)](debug,_0x24111f(0x17a)+util[_0x24111f(0x198)](_0x52a69a));}const _0x5308d5=_0x111337=>{const _0x4102ca=_0x24111f,_0x55ae65=Array[_0x4102ca(0x181)](_0x440f6e)&&_0x43e558[_0x4102ca(0x1bd)](_0x440f6e['length'],_0x111337)?_0x440f6e[_0x111337]:Array[_0x4102ca(0x181)](_0x440f6e)&&_0x43e558[_0x4102ca(0x1c5)](_0x440f6e[_0x4102ca(0x1bf)],0x0)?_0x440f6e[0x0]:{};return{'server':_0x462ace,'capability':_0x55ae65,'proxySettings':_0x2e5e2c[_0x4102ca(0x169)][_0x4102ca(0x162)],'platform':helper['getPlatformName'](_0x55ae65),'browserStackLogLevel':_0x2e5e2c[_0x4102ca(0x169)][_0x4102ca(0x191)],'platformIndex':_0x111337,'framework':constants[_0x4102ca(0x19f)][_0x4102ca(0x1b4)],'platformCaps':_0x45f128?Object[_0x4102ca(0x1a2)]({'index':_0x111337},_0x2e5e2c[_0x4102ca(0x169)]['platforms'][_0x111337]):{'index':_0x111337}};};let _0x262fd5=0x1,_0x14e6ab=0x1,_0xd30858=0x1;try{_0x262fd5=_0x43e558[_0x24111f(0x1c0)](getMaxWorkers,_0x6f9100,_0x2e5e2c[_0x24111f(0x169)]),_0x14e6ab=_0x45f128?_0x2e5e2c[_0x24111f(0x169)][_0x24111f(0x196)]['length']:0x1,_0xd30858=_0x43e558['nFKDa'](_0x14e6ab,_0x262fd5),process['env'][_0x24111f(0x186)]=_0x43e558['uHOMm'](String,_0xd30858);}catch(_0x433a92){_0x43e558['LSqxa'](debug,_0x24111f(0x1ba)+util[_0x24111f(0x198)](_0x433a92));}try{BrowserstackCLI[_0x24111f(0x17f)]()[_0x24111f(0x1f7)]&&(process[_0x24111f(0x155)][_0x24111f(0x1f8)]=BrowserstackCLI['getInstance']()['binSessionId']);}catch(_0x267a06){_0x43e558['wsPXo'](debug,_0x24111f(0x15f)+util['format'](_0x267a06));}const _0x157ecb=[];try{const _0x59064d=path[_0x24111f(0x171)](__dirname,_0x43e558[_0x24111f(0x168)]);fs[_0x24111f(0x1fb)](_0x59064d)?_0x157ecb[_0x24111f(0x1d7)]('--helper='+_0x59064d):_0x43e558[_0x24111f(0x1e8)](debug,_0x24111f(0x1e9)+_0x59064d+_0x24111f(0x17b));}catch(_0x3f8f17){_0x43e558[_0x24111f(0x175)](debug,_0x24111f(0x1e1)+util[_0x24111f(0x198)](_0x3f8f17));}const _0x32c846=_0x210f4f[_0x24111f(0x185)](0x1),_0x2f4b04=_0x43e558['LSqxa'](enumerateSpecFiles,_0x210f4f),_0x1f09ec=[];for(let _0x47536b=0x0;_0x43e558[_0x24111f(0x1f2)](_0x47536b,_0x14e6ab);_0x47536b++){if(_0x43e558[_0x24111f(0x1f5)](_0x262fd5,0x1)&&Array[_0x24111f(0x181)](_0x2f4b04)&&_0x43e558[_0x24111f(0x1bd)](_0x2f4b04[_0x24111f(0x1bf)],0x0))for(const _0x237075 of _0x2f4b04){const _0x3c0d6f={};_0x3c0d6f[_0x24111f(0x1f6)]=_0x47536b,_0x3c0d6f['specArgs']=[_0x237075],_0x1f09ec[_0x24111f(0x1d7)](_0x3c0d6f);}else{const _0x506700={};_0x506700[_0x24111f(0x1f6)]=_0x47536b,_0x506700['specArgs']=_0x2f4b04,_0x1f09ec['push'](_0x506700);}}logger[_0x24111f(0x1ac)](_0x24111f(0x188)+_0x14e6ab+_0x24111f(0x15b)+_0x262fd5+'\x20('+_0x1f09ec[_0x24111f(0x1bf)]+_0x24111f(0x1da)+_0xd30858+_0x24111f(0x160)),PerformanceTester['end'](PerformanceEvents[_0x24111f(0x19b)]);const _0x29e179=_0x3d37ee=>new Promise(_0x3b6dcd=>{const _0xe936f1=_0x24111f,_0x5e4331={'Yuhgs':_0x43e558[_0xe936f1(0x170)],'GKJMH':function(_0x4b0107,_0xa3314f){return _0x43e558['wsPXo'](_0x4b0107,_0xa3314f);},'vAQCX':function(_0x19ec75,_0x2eb9a8){const _0xd4ac6f=_0xe936f1;return _0x43e558[_0xd4ac6f(0x1ff)](_0x19ec75,_0x2eb9a8);},'sHqol':function(_0xc5de01,_0x822c71){const _0x524375=_0xe936f1;return _0x43e558[_0x524375(0x1fd)](_0xc5de01,_0x822c71);},'ovjrc':function(_0x261191,_0x4981cc){return _0x43e558['wsPXo'](_0x261191,_0x4981cc);}};let _0x3e8f87;try{const _0x186b1f=_0x43e558[_0xe936f1(0x154)](_0x5308d5,_0x3d37ee['platformIndex']);_0x3e8f87=Object[_0xe936f1(0x1a2)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0xe936f1(0x1f4)](_0x186b1f),'BROWSERSTACK_CAPABILITIES':JSON[_0xe936f1(0x1f4)]([_0x186b1f['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x46ab9b){_0x43e558[_0xe936f1(0x16b)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x3d37ee[_0xe936f1(0x1f6)]+'\x20:\x20'+util[_0xe936f1(0x198)](_0x46ab9b)),_0x3e8f87=Object['assign']({},process[_0xe936f1(0x155)]);}const _0x5c4012=Array[_0xe936f1(0x181)](_0x3d37ee[_0xe936f1(0x184)])?_0x3d37ee[_0xe936f1(0x184)]:[],_0x27abb2=_0x43e558[_0xe936f1(0x1e4)](_0x5c4012['length'],0x0)?_0x32c846[_0xe936f1(0x173)](_0x55213f=>typeof _0x55213f===_0xe936f1(0x18b)&&_0x55213f[_0xe936f1(0x17c)]('-')):_0x32c846,_0x1fde48=[..._0x157ecb,..._0x27abb2,..._0x5c4012];try{const _0xccddc6=_0x43e558[_0xe936f1(0x1b0)](spawn,_0x43e558[_0xe936f1(0x1d4)],[_0x43e558['KnRez'],..._0x1fde48],{'shell':_0x43e558[_0xe936f1(0x174)](process['platform'],_0x43e558[_0xe936f1(0x159)]),'stdio':_0x43e558[_0xe936f1(0x192)],'env':_0x3e8f87});_0xccddc6['on'](_0x43e558[_0xe936f1(0x1d2)],_0x3539ac=>{const _0x5071ad=_0xe936f1;logger[_0x5071ad(0x1ae)](_0x5071ad(0x1df)+_0x3d37ee['platformIndex']+_0x5071ad(0x1b8)+(_0x5c4012[_0x5071ad(0x1bf)]?_0x5c4012['join'](','):_0x5e4331[_0x5071ad(0x16a)])+_0x5071ad(0x1f0)+_0x3539ac),_0x5e4331[_0x5071ad(0x18f)](_0x3b6dcd,_0x5e4331[_0x5071ad(0x157)](_0x3539ac,0x0));}),_0xccddc6['on'](_0x43e558[_0xe936f1(0x1c8)],_0xce53e9=>{const _0xb53c9f=_0xe936f1;_0x5e4331[_0xb53c9f(0x1d6)](debug,_0xb53c9f(0x1eb)+_0x3d37ee[_0xb53c9f(0x1f6)]+_0xb53c9f(0x15d)+util[_0xb53c9f(0x198)](_0xce53e9)),_0x5e4331[_0xb53c9f(0x1a6)](_0x3b6dcd,0x1);});}catch(_0x401133){_0x43e558[_0xe936f1(0x193)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x3d37ee['platformIndex']+')\x20:\x20'+util[_0xe936f1(0x198)](_0x401133)),_0x43e558[_0xe936f1(0x193)](_0x3b6dcd,0x1);}}),_0x46b3a9=_0x43e558[_0x24111f(0x176)](pLimit,_0x43e558[_0x24111f(0x1a8)](_0xd30858,0x0)?_0xd30858:0x1),_0x4eac07=await Promise[_0x24111f(0x200)](_0x1f09ec['map'](_0x9b592d=>_0x46b3a9(()=>_0x29e179(_0x9b592d))));PerformanceTester['start'](PerformanceEvents[_0x24111f(0x1b1)]);const _0x3d8356=_0x4eac07[_0x24111f(0x18e)](_0x67b77c=>_0x67b77c!==0x0)||0x0;process[_0x24111f(0x1ef)]=_0x3d8356,logger['debug']('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x3d8356);const _0x1c1d8f=BrowserstackCLI[_0x24111f(0x1c7)]();try{await TestHubHandler[_0x24111f(0x1db)](),await BrowserstackCLI[_0x24111f(0x17f)]()[_0x24111f(0x1db)]();}catch(_0x36f885){_0x43e558[_0x24111f(0x16b)](debug,_0x24111f(0x180)+util[_0x24111f(0x198)](_0x36f885));}try{const {browserstackFolderPath:_0x3d8312,tcgConfigPath:_0x42c23f}=helper[_0x24111f(0x1d9)]();fs[_0x24111f(0x1a5)](_0x42c23f),fs['rmdirSync'](_0x3d8312);}catch(_0x2dbd84){logger[_0x24111f(0x1ae)](_0x43e558[_0x24111f(0x15e)],_0x2dbd84);}testOpsHelper['printBuildLink'](),await utilities[_0x24111f(0x1aa)](_0x2e5e2c,_0x1c1d8f);}module[a15_0x185a5b(0x183)]=run;
|
|
2
|
+
'use strict';function a15_0x342e(_0x23280f,_0x3828a3){const _0x54cbda=a15_0x54cb();return a15_0x342e=function(_0x342e20,_0x4e3c4c){_0x342e20=_0x342e20-0x1a6;let _0x1bd429=_0x54cbda[_0x342e20];return _0x1bd429;},a15_0x342e(_0x23280f,_0x3828a3);}const a15_0x5415a1=a15_0x342e;(function(_0x264d7e,_0x93134){const _0x30bb=a15_0x342e,_0x5b334e=_0x264d7e();while(!![]){try{const _0x1ad325=-parseInt(_0x30bb(0x1cf))/0x1+-parseInt(_0x30bb(0x23c))/0x2*(-parseInt(_0x30bb(0x1b6))/0x3)+parseInt(_0x30bb(0x1d3))/0x4+parseInt(_0x30bb(0x1b9))/0x5*(parseInt(_0x30bb(0x243))/0x6)+-parseInt(_0x30bb(0x204))/0x7+-parseInt(_0x30bb(0x21d))/0x8*(-parseInt(_0x30bb(0x1cd))/0x9)+parseInt(_0x30bb(0x1ee))/0xa*(parseInt(_0x30bb(0x208))/0xb);if(_0x1ad325===_0x93134)break;else _0x5b334e['push'](_0x5b334e['shift']());}catch(_0x3642f9){_0x5b334e['push'](_0x5b334e['shift']());}}}(a15_0x54cb,0x9d03f));function a15_0x54cb(){const _0x3df2fa=['XLYvx','JRmtP','jBLPT','specArgs','getTCGConfigFilePaths','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','87090WUSEia','jasmine\x20child\x20(platformIndex=','existsSync','ulvWL','wVnFh','env','shouldReRunObservabilityTests','exitCode','from','FYJLi','FRAMEWORKS','../v2/browserstackCLI','llPVY','logLevel','initialize','EMyrD','../../helpers/testhub/testhubHandler','utf8','parse','maxWorkers','DHKxK','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','7936019OnAliT','../utils/constants','BnPgi','fWytQ','605JzVpHK','../../helpers/helper','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','accessibilityOptions','szKig','OEjnY','__isPlaywrightInstalled','IomsL','capability','all','child_process','platforms','parseFileNames','spec_dir','trim','resolve','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','NvTmG','nsbXu','SDK_SETUP','platform','8869832WWoZwx','filter','binSessionId','winstonLogger','../../helpers/playwright-helper','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','zeTDw','jasmine','BROWSERSTACK_CLI_BIN_SESSION_ID','start','../../helpers/logger','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','readFileSync','stop','spec_files','isBrowserstackInfra','ywluO',',\x20specs=','join','spec/support/jasmine.json','end','uYouJ','yPyLu','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','format','testObservability','length','giFiV','BROWSERSTACK_TEST_OBSERVABILITY_YML','yeCEA','YMrPR','11278FMXIvG','prepareCapabilities','glob','mStDe','isCLIEnabled','../../helpers/performance/constants','WeWnh','42XWLWec','error','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','UEfKb','BROWSERSTACK_RERUN_TESTS','batAw','proxySettings','true','handleApp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20concurrent)','nakEU','unlinkSync','config','mBbRz','\x20:\x20','getPackageVersion','\x20work-item(s),\x20max\x20','find','VZyIl','npx','../../helpers/performance/performance-tester','map','Ilwut','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','btLzV','slice','__isPuppeteerInstalled','string','PWXgN','DnOak','../../helpers/utilities','165cJCKvD','exports','SDK_CLEANUP','493445mCJVzM','Running\x20your\x20Jasmine\x20tests\x20across\x20',')\x20:\x20','p-limit','gvAcV','../../helpers/test-observability/constants','rmdirSync','BROWSERSTACK_CAPABILITIES','BLvuD','getInstance','EVENTS','JASMINE_CONFIG_PATH','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','gqTTJ','isUndefined','debug','push','finalExecution','wjvcA','assign','9VsAEWC','cwd','1249867OOAJMI','path','**/*[sS]pec.?(m)js','../../helpers/test-observability/utils','1752108Ncoeua','JASMINE','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','inherit','inCdV','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','AVjFN','error\x20removing\x20tcg\x20config\x20file','startsWith','validPlatformsPresent','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../../helpers/puppeteer-helper','platformIndex','GVoZT','ZkFzE','test.setup.js','AOVJl','parallelsPerPlatform','isArray','stringify'];a15_0x54cb=function(){return _0x3df2fa;};return a15_0x54cb();}const fs=require('fs'),path=require(a15_0x5415a1(0x1d0)),util=require('util'),{spawn}=require(a15_0x5415a1(0x212)),glob=require(a15_0x5415a1(0x23e)),pLimit=require(a15_0x5415a1(0x1bc)),logger=require(a15_0x5415a1(0x227))[a15_0x5415a1(0x220)],helper=require(a15_0x5415a1(0x209)),utilities=require(a15_0x5415a1(0x1b5)),constants=require(a15_0x5415a1(0x205)),TestHubHandler=require(a15_0x5415a1(0x1fe)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x5415a1(0x1d2)),{FRAMEWORKS}=require(a15_0x5415a1(0x1be)),PerformanceTester=require(a15_0x5415a1(0x1ab)),PerformanceEvents=require(a15_0x5415a1(0x241))[a15_0x5415a1(0x1c3)],BrowserstackCLI=require(a15_0x5415a1(0x1f9)),{checkPwandBootstrapCli}=require(a15_0x5415a1(0x221)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0x5415a1(0x1df)),getMaxWorkers=(_0x5d867c,_0x3da860)=>{const _0x3a5e62=a15_0x5415a1,_0x12286d={'abuwY':function(_0x6c8a69,_0x3d8d7f){return _0x6c8a69(_0x3d8d7f);}};let _0x4942a6=0x1;if(!helper[_0x3a5e62(0x1c7)](_0x3da860[_0x3a5e62(0x1e5)]))_0x4942a6=_0x12286d['abuwY'](parseInt,_0x3da860[_0x3a5e62(0x1e5)]);else!helper[_0x3a5e62(0x1c7)](_0x5d867c['maxWorkers'])&&(_0x4942a6=_0x5d867c[_0x3a5e62(0x201)]);return _0x4942a6;},resolveJasmineConfigPath=()=>{const _0x3e1e71=a15_0x5415a1,_0x5a6185={};_0x5a6185[_0x3e1e71(0x1e1)]=_0x3e1e71(0x230);const _0x1c5cde=_0x5a6185,_0xd553be=[];process[_0x3e1e71(0x1f3)][_0x3e1e71(0x1c4)]&&_0xd553be[_0x3e1e71(0x1c9)](path[_0x3e1e71(0x217)](process['cwd'](),process['env']['JASMINE_CONFIG_PATH']));_0xd553be[_0x3e1e71(0x1c9)](path['resolve'](process[_0x3e1e71(0x1ce)](),_0x1c5cde[_0x3e1e71(0x1e1)]));for(const _0x2dd28b of _0xd553be){try{if(fs[_0x3e1e71(0x1f0)](_0x2dd28b))return _0x2dd28b;}catch(_0x13f55b){}}return null;},enumerateSpecFiles=_0x3c5b5b=>{const _0x3ba493=a15_0x5415a1,_0x1985df={'IomsL':function(_0xc3df96,_0x24784c){return _0xc3df96(_0x24784c);},'wVnFh':function(_0x230f02,_0x26a113){return _0x230f02>_0x26a113;},'WeWnh':function(_0x136472,_0x52f01f){return _0x136472(_0x52f01f);},'yeCEA':function(_0x30e1b3,_0x4b012d){return _0x30e1b3<_0x4b012d;},'yPyLu':function(_0x449458,_0x4fbab3){return _0x449458===_0x4fbab3;},'zeTDw':_0x3ba493(0x1b2),'EMyrD':function(_0xdaa27b,_0x2b97f6,_0x81950b){return _0xdaa27b(_0x2b97f6,_0x81950b);},'TwBnt':function(_0x7420e5){return _0x7420e5();},'llPVY':_0x3ba493(0x1ff),'jBLPT':'spec','msOSB':_0x3ba493(0x1d1),'zAtzh':function(_0x3257b0,_0x5ea4a4){return _0x3257b0>_0x5ea4a4;}};try{if(testOpsHelper[_0x3ba493(0x1f4)]()){const _0x181f50=testOpsHelper[_0x3ba493(0x214)](process[_0x3ba493(0x1f3)][_0x3ba493(0x247)]);if(Array[_0x3ba493(0x1e6)](_0x181f50)&&_0x1985df[_0x3ba493(0x1f2)](_0x181f50[_0x3ba493(0x237)],0x0))return _0x181f50[_0x3ba493(0x1ac)](_0x5c5bf8=>path[_0x3ba493(0x217)](process[_0x3ba493(0x1ce)](),_0x5c5bf8[_0x3ba493(0x216)]()))[_0x3ba493(0x21e)](Boolean);}}catch(_0x473f75){_0x1985df[_0x3ba493(0x242)](debug,_0x3ba493(0x1d8)+util[_0x3ba493(0x235)](_0x473f75));}const _0x422bc4=[];try{for(let _0xeba7ef=0x1;_0x1985df[_0x3ba493(0x23a)](_0xeba7ef,_0x3c5b5b[_0x3ba493(0x237)]);_0xeba7ef++){const _0x194ab0=_0x3c5b5b[_0xeba7ef];_0x1985df[_0x3ba493(0x233)](typeof _0x194ab0,_0x1985df[_0x3ba493(0x223)])&&!_0x194ab0[_0x3ba493(0x1db)]('-')&&_0x422bc4['push'](_0x194ab0);}}catch(_0x3cb5d5){}const _0x436333={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x19a55c=(_0x19c16c,_0x3dd471)=>{const _0x344d10=_0x3ba493,_0x9b0616=[];for(const _0x1c19bf of _0x19c16c){try{const _0x39146b=_0x3dd471?path['posix'][_0x344d10(0x22f)](_0x3dd471,_0x1c19bf):_0x1c19bf,_0x58bd64=glob['globSync'](_0x39146b,_0x436333);Array['isArray'](_0x58bd64)&&_0x9b0616['push'](..._0x58bd64);}catch(_0x33f055){_0x1985df[_0x344d10(0x20f)](debug,_0x344d10(0x1ed)+_0x1c19bf+'\x27\x20:\x20'+util[_0x344d10(0x235)](_0x33f055));}}return _0x9b0616;};if(_0x1985df['wVnFh'](_0x422bc4[_0x3ba493(0x237)],0x0)){const _0x1cb5f6=_0x1985df['EMyrD'](_0x19a55c,_0x422bc4,null);if(_0x1985df['wVnFh'](_0x1cb5f6[_0x3ba493(0x237)],0x0))return Array['from'](new Set(_0x1cb5f6));return _0x422bc4['map'](_0x5ba7b9=>path[_0x3ba493(0x217)](process[_0x3ba493(0x1ce)](),_0x5ba7b9));}try{const _0x512585=_0x1985df['TwBnt'](resolveJasmineConfigPath);if(_0x512585){const _0x1d8320=JSON[_0x3ba493(0x200)](fs[_0x3ba493(0x229)](_0x512585,_0x1985df[_0x3ba493(0x1fa)])),_0xee6db=_0x1d8320[_0x3ba493(0x215)]||_0x1985df[_0x3ba493(0x1ea)],_0xaba56a=Array[_0x3ba493(0x1e6)](_0x1d8320[_0x3ba493(0x22b)])&&_0x1985df[_0x3ba493(0x1f2)](_0x1d8320[_0x3ba493(0x22b)][_0x3ba493(0x237)],0x0)?_0x1d8320['spec_files']:[_0x1985df['msOSB']],_0x433fcc=_0x1985df[_0x3ba493(0x1fd)](_0x19a55c,_0xaba56a,_0xee6db);if(_0x1985df['zAtzh'](_0x433fcc[_0x3ba493(0x237)],0x0))return Array[_0x3ba493(0x1f6)](new Set(_0x433fcc));}}catch(_0x3885e1){_0x1985df[_0x3ba493(0x242)](debug,_0x3ba493(0x228)+util[_0x3ba493(0x235)](_0x3885e1));}return null;};async function run(_0x2126ba,_0x419da9,_0xb589ed){const _0x3c66a6=a15_0x5415a1,_0x2ec3f7={'nakEU':function(_0x36840f,_0x4544b4){return _0x36840f>_0x4544b4;},'FYJLi':function(_0x37354d,_0x32bc35){return _0x37354d(_0x32bc35);},'JRmtP':_0x3c66a6(0x211),'ywluO':function(_0x5ebddc,_0x58e52c){return _0x5ebddc||_0x58e52c;},'gqTTJ':function(_0x50ea45,_0x4475c7){return _0x50ea45(_0x4475c7);},'uYouJ':function(_0x2b8183,_0x35ef9e){return _0x2b8183>_0x35ef9e;},'OEjnY':function(_0x1d7d73,_0x323462,_0x46e48a,_0x1b21f9){return _0x1d7d73(_0x323462,_0x46e48a,_0x1b21f9);},'VZyIl':_0x3c66a6(0x1aa),'BnPgi':_0x3c66a6(0x224),'giFiV':function(_0x57609f,_0x48d475){return _0x57609f===_0x48d475;},'batAw':'win32','AVjFN':_0x3c66a6(0x1d6),'gvAcV':'close','XLYvx':_0x3c66a6(0x244),'PWXgN':function(_0x539fd9,_0x2dad96){return _0x539fd9(_0x2dad96);},'szKig':function(_0x2b97af,_0xe41c49){return _0x2b97af(_0xe41c49);},'NvTmG':'@playwright/test','DHKxK':function(_0x2d1e26){return _0x2d1e26();},'ZkFzE':function(_0x2e920e,_0x54ffea,_0x1d1ed6,_0x27302a){return _0x2e920e(_0x54ffea,_0x1d1ed6,_0x27302a);},'UEfKb':function(_0x13a221,_0x1163b9){return _0x13a221!=_0x1163b9;},'BLvuD':_0x3c66a6(0x24a),'btLzV':function(_0x3459af,_0x2f27a8){return _0x3459af(_0x2f27a8);},'cqqCa':function(_0x136eac,_0x25cbca,_0x4547e7){return _0x136eac(_0x25cbca,_0x4547e7);},'ulvWL':function(_0x4334bf,_0x25e3ab){return _0x4334bf*_0x25e3ab;},'nsbXu':function(_0x37a63f,_0x2f018c){return _0x37a63f(_0x2f018c);},'Ilwut':function(_0x4ed78f,_0x1c2328){return _0x4ed78f(_0x1c2328);},'inCdV':function(_0x44c721,_0x24174b){return _0x44c721(_0x24174b);},'YMrPR':_0x3c66a6(0x1e3),'YyjdE':function(_0x266193,_0x3635b0){return _0x266193(_0x3635b0);},'DnOak':function(_0x22f4bf,_0x28b1fb){return _0x22f4bf(_0x28b1fb);},'IZCDz':function(_0x5a45a4,_0xca357){return _0x5a45a4<_0xca357;},'mStDe':function(_0xefee36,_0xe5bd08){return _0xefee36(_0xe5bd08);},'wjvcA':function(_0x334c64,_0x4eb01d){return _0x334c64(_0x4eb01d);},'mBbRz':_0x3c66a6(0x1da)},_0x496dee=helper[_0x3c66a6(0x1a6)](_0x2ec3f7[_0x3c66a6(0x219)]);global[_0x3c66a6(0x20e)]=!!_0x496dee;const _0x5eb48e=_0x2ec3f7[_0x3c66a6(0x202)](getPuppeteerVersion);global[_0x3c66a6(0x1b1)]=!!_0x5eb48e;helper[_0x3c66a6(0x22c)]()?(await _0xb589ed[_0x3c66a6(0x1fc)](_0x2126ba),await helper[_0x3c66a6(0x24b)](_0xb589ed[_0x3c66a6(0x250)])):await _0xb589ed['setupTCGAuth']();if(_0x496dee)await _0x2ec3f7[_0x3c66a6(0x20d)](checkPwandBootstrapCli,_0x496dee,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)],_0xb589ed);else _0x5eb48e&&await _0x2ec3f7[_0x3c66a6(0x1e2)](checkPuppeteerAndBootstrapCli,_0x5eb48e,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)],_0xb589ed);if(!_0xb589ed[_0x3c66a6(0x250)])return;_0x2ec3f7[_0x3c66a6(0x246)](_0xb589ed['config'][_0x3c66a6(0x236)],null)?process['env'][_0x3c66a6(0x239)]=_0xb589ed[_0x3c66a6(0x250)]['testObservability']:process[_0x3c66a6(0x1f3)][_0x3c66a6(0x239)]=_0x2ec3f7[_0x3c66a6(0x1c1)];!helper[_0x3c66a6(0x1c7)](_0xb589ed[_0x3c66a6(0x250)]['accessibilityOptions'])&&(process[_0x3c66a6(0x1f3)][_0x3c66a6(0x24c)]=JSON['stringify'](_0xb589ed[_0x3c66a6(0x250)][_0x3c66a6(0x20b)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3c66a6(0x1d4)],_0xb589ed);}catch(_0x5dbea0){logger[_0x3c66a6(0x244)](_0x3c66a6(0x234)+util['format'](_0x5dbea0)),_0x2ec3f7[_0x3c66a6(0x1af)](debug,_0x3c66a6(0x203)+util['format'](_0x5dbea0));}let _0x1af268=![],_0x32490a=[];try{_0x1af268=helper['useW3C'](_0xb589ed['config']),_0x32490a=helper[_0x3c66a6(0x23d)](_0xb589ed['config'],_0x1af268,constants[_0x3c66a6(0x1f8)][_0x3c66a6(0x1d4)]),process[_0x3c66a6(0x1f3)][_0x3c66a6(0x1c0)]=JSON[_0x3c66a6(0x1e7)](_0x32490a);}catch(_0x47e4a5){_0x2ec3f7['gqTTJ'](debug,_0x3c66a6(0x20a)+util[_0x3c66a6(0x235)](_0x47e4a5));}let _0x169f97=null,_0x1dfc44=![];try{_0x169f97=helper['getHubUrl'](_0xb589ed['config']),_0x1dfc44=helper[_0x3c66a6(0x1dc)](_0xb589ed[_0x3c66a6(0x250)]);}catch(_0x2eeb76){_0x2ec3f7[_0x3c66a6(0x1af)](debug,_0x3c66a6(0x222)+util[_0x3c66a6(0x235)](_0x2eeb76));}const _0x1a850f=_0x4c37ab=>{const _0xea444f=_0x3c66a6,_0x3b6cdc=Array['isArray'](_0x32490a)&&_0x2ec3f7[_0xea444f(0x24e)](_0x32490a['length'],_0x4c37ab)?_0x32490a[_0x4c37ab]:Array['isArray'](_0x32490a)&&_0x2ec3f7[_0xea444f(0x24e)](_0x32490a['length'],0x0)?_0x32490a[0x0]:{};return{'server':_0x169f97,'capability':_0x3b6cdc,'proxySettings':_0xb589ed[_0xea444f(0x250)][_0xea444f(0x249)],'platform':helper['getPlatformName'](_0x3b6cdc),'browserStackLogLevel':_0xb589ed[_0xea444f(0x250)][_0xea444f(0x1fb)],'platformIndex':_0x4c37ab,'framework':constants[_0xea444f(0x1f8)][_0xea444f(0x1d4)],'platformCaps':_0x1dfc44?Object[_0xea444f(0x1cc)]({'index':_0x4c37ab},_0xb589ed[_0xea444f(0x250)][_0xea444f(0x213)][_0x4c37ab]):{'index':_0x4c37ab}};};let _0x3c0d1c=0x1,_0x41c925=0x1,_0x454f71=0x1;try{_0x3c0d1c=_0x2ec3f7['cqqCa'](getMaxWorkers,_0x2126ba,_0xb589ed[_0x3c66a6(0x250)]),_0x41c925=_0x1dfc44?_0xb589ed['config'][_0x3c66a6(0x213)][_0x3c66a6(0x237)]:0x1,_0x454f71=_0x2ec3f7[_0x3c66a6(0x1f1)](_0x41c925,_0x3c0d1c),process['env']['BROWSERSTACK_JASMINE_PARALLELS']=_0x2ec3f7[_0x3c66a6(0x21a)](String,_0x454f71);}catch(_0xca4230){_0x2ec3f7[_0x3c66a6(0x1ad)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x3c66a6(0x235)](_0xca4230));}try{BrowserstackCLI[_0x3c66a6(0x1c2)]()[_0x3c66a6(0x21f)]&&(process[_0x3c66a6(0x1f3)][_0x3c66a6(0x225)]=BrowserstackCLI[_0x3c66a6(0x1c2)]()[_0x3c66a6(0x21f)]);}catch(_0x28e7dc){_0x2ec3f7[_0x3c66a6(0x1d7)](debug,_0x3c66a6(0x1de)+util[_0x3c66a6(0x235)](_0x28e7dc));}const _0x5602fd=[];try{const _0x381dcd=path[_0x3c66a6(0x217)](__dirname,_0x2ec3f7[_0x3c66a6(0x23b)]);fs[_0x3c66a6(0x1f0)](_0x381dcd)?_0x5602fd[_0x3c66a6(0x1c9)]('--helper='+_0x381dcd):_0x2ec3f7['YyjdE'](debug,_0x3c66a6(0x1dd)+_0x381dcd+';\x20proceeding\x20without\x20injection');}catch(_0x553e02){_0x2ec3f7[_0x3c66a6(0x21a)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3c66a6(0x235)](_0x553e02));}const _0x2a5ea7=_0x419da9[_0x3c66a6(0x1b0)](0x1),_0xc6a3f7=_0x2ec3f7[_0x3c66a6(0x1b4)](enumerateSpecFiles,_0x419da9),_0x25889f=[];for(let _0xd2e06b=0x0;_0x2ec3f7['IZCDz'](_0xd2e06b,_0x41c925);_0xd2e06b++){if(_0x2ec3f7[_0x3c66a6(0x24e)](_0x3c0d1c,0x1)&&Array[_0x3c66a6(0x1e6)](_0xc6a3f7)&&_0x2ec3f7['nakEU'](_0xc6a3f7['length'],0x0))for(const _0x36bd48 of _0xc6a3f7){const _0x5e2338={};_0x5e2338['platformIndex']=_0xd2e06b,_0x5e2338['specArgs']=[_0x36bd48],_0x25889f['push'](_0x5e2338);}else{const _0x40e34f={};_0x40e34f[_0x3c66a6(0x1e0)]=_0xd2e06b,_0x40e34f[_0x3c66a6(0x1eb)]=_0xc6a3f7,_0x25889f[_0x3c66a6(0x1c9)](_0x40e34f);}}logger['info'](_0x3c66a6(0x1ba)+_0x41c925+'\x20platform(s),\x20parallelsPerPlatform='+_0x3c0d1c+'\x20('+_0x25889f[_0x3c66a6(0x237)]+_0x3c66a6(0x1a7)+_0x454f71+_0x3c66a6(0x24d)),PerformanceTester[_0x3c66a6(0x231)](PerformanceEvents[_0x3c66a6(0x21b)]);const _0x3083e9=_0x536370=>new Promise(_0x56195a=>{const _0x1c8fc5=_0x3c66a6,_0x3c1919={'tzdan':_0x2ec3f7[_0x1c8fc5(0x1e9)],'fWytQ':function(_0x2513f9,_0x1b2e0f){return _0x2ec3f7['FYJLi'](_0x2513f9,_0x1b2e0f);},'AOVJl':function(_0x261bc3,_0x3769b5){const _0x3d8a49=_0x1c8fc5;return _0x2ec3f7[_0x3d8a49(0x22d)](_0x261bc3,_0x3769b5);}};let _0x4e2979;try{const _0x10efef=_0x2ec3f7[_0x1c8fc5(0x1f7)](_0x1a850f,_0x536370[_0x1c8fc5(0x1e0)]);_0x4e2979=Object[_0x1c8fc5(0x1cc)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x10efef),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x10efef[_0x1c8fc5(0x210)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x38eea5){_0x2ec3f7[_0x1c8fc5(0x1c6)](debug,_0x1c8fc5(0x1c5)+_0x536370['platformIndex']+_0x1c8fc5(0x252)+util[_0x1c8fc5(0x235)](_0x38eea5)),_0x4e2979=Object[_0x1c8fc5(0x1cc)]({},process['env']);}const _0x317cbf=Array['isArray'](_0x536370[_0x1c8fc5(0x1eb)])?_0x536370[_0x1c8fc5(0x1eb)]:[],_0x1295f1=_0x2ec3f7[_0x1c8fc5(0x232)](_0x317cbf[_0x1c8fc5(0x237)],0x0)?_0x2a5ea7[_0x1c8fc5(0x21e)](_0xf8a419=>typeof _0xf8a419===_0x1c8fc5(0x1b2)&&_0xf8a419[_0x1c8fc5(0x1db)]('-')):_0x2a5ea7,_0x1457fd=[..._0x5602fd,..._0x1295f1,..._0x317cbf];try{const _0x3d920d=_0x2ec3f7[_0x1c8fc5(0x20d)](spawn,_0x2ec3f7[_0x1c8fc5(0x1a9)],[_0x2ec3f7[_0x1c8fc5(0x206)],..._0x1457fd],{'shell':_0x2ec3f7[_0x1c8fc5(0x238)](process[_0x1c8fc5(0x21c)],_0x2ec3f7[_0x1c8fc5(0x248)]),'stdio':_0x2ec3f7[_0x1c8fc5(0x1d9)],'env':_0x4e2979});_0x3d920d['on'](_0x2ec3f7[_0x1c8fc5(0x1bd)],_0x24b403=>{const _0x3404c2=_0x1c8fc5;logger['debug'](_0x3404c2(0x1ef)+_0x536370[_0x3404c2(0x1e0)]+_0x3404c2(0x22e)+(_0x317cbf[_0x3404c2(0x237)]?_0x317cbf[_0x3404c2(0x22f)](','):_0x3c1919['tzdan'])+')\x20exited\x20with\x20code\x20'+_0x24b403),_0x3c1919[_0x3404c2(0x207)](_0x56195a,_0x3c1919[_0x3404c2(0x1e4)](_0x24b403,0x0));}),_0x3d920d['on'](_0x2ec3f7[_0x1c8fc5(0x1e8)],_0x1bcbaf=>{const _0x5ad84c=_0x1c8fc5;_0x2ec3f7[_0x5ad84c(0x1f7)](debug,_0x5ad84c(0x245)+_0x536370[_0x5ad84c(0x1e0)]+')\x20:\x20'+util[_0x5ad84c(0x235)](_0x1bcbaf)),_0x2ec3f7[_0x5ad84c(0x1f7)](_0x56195a,0x1);});}catch(_0x17c877){_0x2ec3f7[_0x1c8fc5(0x1b3)](debug,_0x1c8fc5(0x1d5)+_0x536370['platformIndex']+_0x1c8fc5(0x1bb)+util[_0x1c8fc5(0x235)](_0x17c877)),_0x2ec3f7[_0x1c8fc5(0x20c)](_0x56195a,0x1);}}),_0x2513a3=_0x2ec3f7[_0x3c66a6(0x23f)](pLimit,_0x2ec3f7[_0x3c66a6(0x24e)](_0x454f71,0x0)?_0x454f71:0x1),_0x15f3e8=await Promise[_0x3c66a6(0x211)](_0x25889f['map'](_0x2bd631=>_0x2513a3(()=>_0x3083e9(_0x2bd631))));PerformanceTester[_0x3c66a6(0x226)](PerformanceEvents[_0x3c66a6(0x1b8)]);const _0x462677=_0x15f3e8[_0x3c66a6(0x1a8)](_0x1e4599=>_0x1e4599!==0x0)||0x0;process[_0x3c66a6(0x1f5)]=_0x462677,logger['debug'](_0x3c66a6(0x1ae)+_0x462677);const _0x23aa5f=BrowserstackCLI[_0x3c66a6(0x240)]();try{await TestHubHandler[_0x3c66a6(0x22a)](),await BrowserstackCLI['getInstance']()[_0x3c66a6(0x22a)]();}catch(_0x1840a8){_0x2ec3f7[_0x3c66a6(0x1cb)](debug,_0x3c66a6(0x218)+util[_0x3c66a6(0x235)](_0x1840a8));}try{const {browserstackFolderPath:_0x33ed26,tcgConfigPath:_0x5e948a}=helper[_0x3c66a6(0x1ec)]();fs[_0x3c66a6(0x24f)](_0x5e948a),fs[_0x3c66a6(0x1bf)](_0x33ed26);}catch(_0x414bf0){logger[_0x3c66a6(0x1c8)](_0x2ec3f7[_0x3c66a6(0x251)],_0x414bf0);}testOpsHelper['printBuildLink'](),await utilities[_0x3c66a6(0x1ca)](_0xb589ed,_0x23aa5f);}module[a15_0x5415a1(0x1b7)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x42dd95=a16_0x1fa7;(function(_0x5f4eaf,_0x551aab){const _0x1577c7=a16_0x1fa7,_0x24bfa0=_0x5f4eaf();while(!![]){try{const _0x2b5b3d=parseInt(_0x1577c7(0x1ff))/0x1*(-parseInt(_0x1577c7(0x24b))/0x2)+-parseInt(_0x1577c7(0x205))/0x3*(-parseInt(_0x1577c7(0x1e2))/0x4)+-parseInt(_0x1577c7(0x1e8))/0x5+-parseInt(_0x1577c7(0x203))/0x6*(-parseInt(_0x1577c7(0x1f9))/0x7)+parseInt(_0x1577c7(0x220))/0x8+parseInt(_0x1577c7(0x22f))/0x9*(-parseInt(_0x1577c7(0x1f1))/0xa)+parseInt(_0x1577c7(0x247))/0xb;if(_0x2b5b3d===_0x551aab)break;else _0x24bfa0['push'](_0x24bfa0['shift']());}catch(_0x14e927){_0x24bfa0['push'](_0x24bfa0['shift']());}}}(a16_0xe377,0x5e07e));function a16_0xe377(){const _0x41dc06=['parse','warn','jasmine','__platformCaps','./bstack-reporter/customReporter','isMobilePlatform','is_mobile_session','1696328gKRafv','getFileName','autoScanning','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','vEzVW','util','forEach','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','../../index','getGlobal','NgBXQ','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','fileNameByFullName','getEnv','oEKAO','9BssvRV','@playwright/test','lsjvQ','zpJCR','info','function','wlEfp','passed','split','isAccessibilityPlatform','YWMvz','browserstackSessionName','pop','bstackA11yShouldScan','IAvfe','sep','__skipSessionStatus','sessionName','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','mcfMg','stringify','addReporter','message','platformCaps','5802632eklvzN','__sessionFailed','CONFIG','../../helpers/logger','258554URfwtJ','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jkaNL','setGlobal','zYGeY','thJwtToken','../../helpers/accessibility-automation/accessibilityRetryHelper','env','Passed','exports','debug','__drivers','browserstackAgentV2','undefined','length','zYZXH','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','12cMvuNG','../../helpers/helper','FLOzc','prepareStackTrace','oKKZF','../../helpers/accessibility-automation/helper','69430uHIgdl','get','bstackA11yScanOptions','failedExpectations','isArray','bin','format','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','fullName','3456490FHluNI','isTrue','nGbjI','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','ZdJsy','thBuildUuid','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','26509gZeHVK','__skipSessionName','MMerW','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','kYTlE','IOrDL','5NXYOlA','describe','../../helpers/testhub/utils','keys','492LzyOQR','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','340983BqmANW','executeScript','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','failed','cMBRt','stack','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','Failed:\x20','isBrowserstackInfra','getPackageVersion','performScanWithRetry','REZth','saveAccessibilityResultsWithRetry','wGZsz','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','ENV_VAR','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','error','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'];a16_0xe377=function(){return _0x41dc06;};return a16_0xe377();}const util=require(a16_0x42dd95(0x225)),logger=require(a16_0x42dd95(0x24a))[a16_0x42dd95(0x1f7)],helper=require(a16_0x42dd95(0x1e3)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x42dd95(0x201)),testHubConstants=require(a16_0x42dd95(0x215)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x42dd95(0x1e7)),accessibilityRetryHelper=require(a16_0x42dd95(0x252)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x42dd95(0x253)]['BROWSERSTACK_JASMINE_CONFIG']||process[a16_0x42dd95(0x253)][a16_0x42dd95(0x249)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x42dd95(0x219)](rawConfig));}catch(a16_0x3ef315){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util['format'](a16_0x3ef315));}function a16_0x1fa7(_0x58abc5,_0xc0b5d9){const _0xe3779b=a16_0xe377();return a16_0x1fa7=function(_0x1fa700,_0x3725e9){_0x1fa700=_0x1fa700-0x1df;let _0x369a2e=_0xe3779b[_0x1fa700];return _0x369a2e;},a16_0x1fa7(_0x58abc5,_0xc0b5d9);}try{if(_bstackConfig&&!helper[a16_0x42dd95(0x20e)](a16_0x42dd95(0x230))){const eqUjQq='0|3|4|2|1'[a16_0x42dd95(0x237)]('|');let nGBgpP=0x0;while(!![]){switch(eqUjQq[nGBgpP++]){case'0':logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x1fc));continue;case'1':helper[a16_0x42dd95(0x20d)]()?(global[a16_0x42dd95(0x1fa)]=helper[a16_0x42dd95(0x1f2)](_bstackConfig['skipSessionName']),global[a16_0x42dd95(0x23f)]=helper[a16_0x42dd95(0x1f2)](_bstackConfig['skipSessionStatus'])):(global[a16_0x42dd95(0x1fa)]=!![],global[a16_0x42dd95(0x23f)]=!![]);continue;case'2':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;case'3':shouldProcessEventForTesthub()?require(a16_0x42dd95(0x228))[a16_0x42dd95(0x258)](_bstackConfig,null,!![]):require(a16_0x42dd95(0x228))[a16_0x42dd95(0x258)](_bstackConfig);continue;case'4':global[a16_0x42dd95(0x21c)]=_bstackConfig[a16_0x42dd95(0x246)]||{};continue;}break;}}}catch(a16_0x16629a){logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x216)+util[a16_0x42dd95(0x1ee)](a16_0x16629a));}const _fileNameByFullName={};try{if(typeof describe===a16_0x42dd95(0x234)&&typeof global!==a16_0x42dd95(0x259)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x58c1a5=a16_0x42dd95,_0x5a71fc={'IAvfe':function(_0x57d6b4,_0x27c58b){return _0x57d6b4(_0x27c58b);},'oKKZF':'path','HkYFI':'node:','DFlaI':'jasmine-core'},_0x350ec5=Error[_0x58c1a5(0x1e5)];try{const _0x1f56a6=new Error();Error['prepareStackTrace']=(_0x1e38f2,_0x155323)=>_0x155323;const _0xf2a469=_0x1f56a6[_0x58c1a5(0x20a)];Error['prepareStackTrace']=_0x350ec5;if(Array[_0x58c1a5(0x1ec)](_0xf2a469))for(const _0x35143b of _0xf2a469){const _0x2d92b7=_0x35143b[_0x58c1a5(0x221)]&&_0x35143b[_0x58c1a5(0x221)]();if(_0x2d92b7&&!_0x2d92b7['includes'](_0x58c1a5(0x1ed)+_0x5a71fc['IAvfe'](require,_0x5a71fc['oKKZF'])[_0x58c1a5(0x23e)]+_0x58c1a5(0x21b)+_0x5a71fc[_0x58c1a5(0x23d)](require,_0x5a71fc[_0x58c1a5(0x1e6)])['sep'])&&!_0x2d92b7['startsWith'](_0x5a71fc['HkYFI'])&&!_0x2d92b7['includes'](_0x5a71fc['DFlaI']))return _0x2d92b7;}}catch(_0x8b5162){Error['prepareStackTrace']=_0x350ec5;}return null;},_wrappedDescribe=function(_0x50801d,_0x17bc29){const _0xb94f56=a16_0x42dd95,_0x26b61b={'FYNfv':function(_0x5e2644){return _0x5e2644();},'lsjvQ':function(_0x4e92e9,_0x18550e){return _0x4e92e9&&_0x18550e;},'mcfMg':function(_0x32da46,_0x4139b7,_0x1249e7){return _0x32da46(_0x4139b7,_0x1249e7);}};let _0xe86c80=null;try{_0xe86c80=_0x26b61b['FYNfv'](_resolveCallerFile);}catch(_0x58052f){}_describeTitleStack['push'](_0x50801d);const _0x36d862=_describeTitleStack['join']('\x20');_0x26b61b[_0xb94f56(0x231)](_0xe86c80,_0x36d862)&&(_fileNameByFullName[_0x36d862]=_0xe86c80);try{return _0x26b61b[_0xb94f56(0x242)](_origDescribe,_0x50801d,_0x17bc29);}finally{_describeTitleStack[_0xb94f56(0x23b)]();}};Object[a16_0x42dd95(0x202)](_origDescribe)[a16_0x42dd95(0x226)](_0x58e86d=>{_wrappedDescribe[_0x58e86d]=_origDescribe[_0x58e86d];}),global[a16_0x42dd95(0x200)]=_wrappedDescribe;}}catch(a16_0x3221c2){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a16_0x3221c2));}try{if(typeof jasmine!==a16_0x42dd95(0x259)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a16_0x42dd95(0x21d)),a16_0x27c8a9={};a16_0x27c8a9[a16_0x42dd95(0x22c)]=_fileNameByFullName,jasmine[a16_0x42dd95(0x22d)]()[a16_0x42dd95(0x244)](new BrowserStackJasmineReporter(a16_0x27c8a9)),logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x5e57b1){logger[a16_0x42dd95(0x256)](a16_0x42dd95(0x213)+util[a16_0x42dd95(0x1ee)](a16_0x5e57b1));}try{typeof jasmine!==a16_0x42dd95(0x259)&&jasmine[a16_0x42dd95(0x22d)]&&jasmine[a16_0x42dd95(0x22d)]()[a16_0x42dd95(0x244)]({'specStarted'(_0x25f8bd){const _0x4f7f6b=a16_0x42dd95,_0x4a91d9={};_0x4a91d9[_0x4f7f6b(0x250)]=function(_0x36f5b2,_0x3a892f){return _0x36f5b2||_0x3a892f;};const _0x1cfe0b=_0x4a91d9;_activeResultId=_0x25f8bd&&_0x25f8bd['id'],_activeFullName=_0x25f8bd&&_0x25f8bd[_0x4f7f6b(0x1f0)],_activeResultRef=_0x1cfe0b[_0x4f7f6b(0x250)](_0x25f8bd,null);},'specDone'(){}});}catch(a16_0x536807){logger[a16_0x42dd95(0x256)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x42dd95(0x1ee)](a16_0x536807));}const _resolveAutoScanning=()=>{const _0x536bb0=a16_0x42dd95,_0x3e44be={};_0x3e44be[_0x536bb0(0x232)]=function(_0x542d37,_0x3c24a7){return _0x542d37===_0x3c24a7;};const _0x29c533=_0x3e44be;let _0x108ae0=!![];try{const _0x25861a=JSON[_0x536bb0(0x219)](process[_0x536bb0(0x253)][_0x536bb0(0x1f8)]||'{}');_0x29c533[_0x536bb0(0x232)](_0x25861a[_0x536bb0(0x222)],![])&&(_0x108ae0=![]);}catch(_0x4a4e9c){logger['debug'](_0x536bb0(0x241)+_0x4a4e9c[_0x536bb0(0x245)]);}return _0x108ae0;};try{typeof beforeEach===a16_0x42dd95(0x234)&&beforeEach(function bstackA11yBeforeEach(){const _0x130c8d=a16_0x42dd95,_0x4999ba={'kYTlE':function(_0x4ebba4){return _0x4ebba4();},'ZdJsy':function(_0x9b9e86,_0xaafc78,_0x572d2a){return _0x9b9e86(_0xaafc78,_0x572d2a);},'HaUOe':function(_0x53d956,_0x1d86f0){return _0x53d956&&_0x1d86f0;},'MMerW':_0x130c8d(0x23c),'yvJyr':_0x130c8d(0x1ea)};try{const _0x2291ce=_0x4999ba[_0x130c8d(0x1fd)](_resolveAutoScanning),_0x5d007c=_0x4999ba[_0x130c8d(0x1f5)](shouldScanTestForAccessibility,null,![]),_0x136dd2=_0x4999ba['HaUOe'](_0x2291ce,_0x5d007c);globals[_0x130c8d(0x24f)](_0x4999ba[_0x130c8d(0x1fb)],_0x136dd2),globals['setGlobal'](_0x4999ba['yvJyr'],null);}catch(_0x2bc85a){logger[_0x130c8d(0x256)](_0x130c8d(0x218)+util['format'](_0x2bc85a));}}),typeof afterEach===a16_0x42dd95(0x234)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x456320=a16_0x42dd95,_0x38b546={'zYZXH':function(_0xba95d,_0x174ad4){return _0xba95d>_0x174ad4;},'csgJy':function(_0xbd875d,_0x56d018){return _0xbd875d>_0x56d018;},'Josfo':'Spec\x20failed','jkaNL':function(_0x3e4d88,_0x1ac262){return _0x3e4d88+_0x1ac262;},'wlEfp':_0x456320(0x20c),'ekzAs':_0x456320(0x254),'ynhjy':_0x456320(0x217),'YWMvz':_0x456320(0x233),'oEKAO':_0x456320(0x208),'IOrDL':_0x456320(0x236),'GxccE':function(_0x164961){return _0x164961();},'wGZsz':_0x456320(0x238),'dbElT':function(_0x18407a,_0x2968b0){return _0x18407a>_0x2968b0;},'UbeEk':_0x456320(0x23c),'pAxDx':_0x456320(0x22b),'cMBRt':_0x456320(0x227),'FLOzc':_0x456320(0x24c),'NgBXQ':_0x456320(0x207),'vEzVW':_0x456320(0x21e),'nGbjI':_0x456320(0x223),'REZth':_0x456320(0x1e1)};try{if(Array[_0x456320(0x1ec)](global[_0x456320(0x257)])&&_0x38b546[_0x456320(0x1e0)](global[_0x456320(0x257)]['length'],0x0)&&global[_0x456320(0x257)][0x0]){const _0x44746e=_activeFullName||global[_0x456320(0x240)];if(!global[_0x456320(0x1fa)]&&_0x44746e){global[_0x456320(0x240)]=_0x44746e;try{await global[_0x456320(0x257)][0x0][_0x456320(0x206)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x456320(0x243)](_0x44746e)+'}}'),global[_0x456320(0x257)][0x0]['sessionNameSet__']=!![];}catch(_0x4bc79c){logger[_0x456320(0x256)](_0x456320(0x204)+util[_0x456320(0x1ee)](_0x4bc79c));}}if(!global[_0x456320(0x23f)])try{const _0xa5aaae=_activeResultRef&&Array[_0x456320(0x1ec)](_activeResultRef[_0x456320(0x1eb)])?_activeResultRef[_0x456320(0x1eb)]:[],_0x21ece6=_0x38b546['csgJy'](_0xa5aaae[_0x456320(0x1df)],0x0),_0x51a9c2=_0x21ece6?_0xa5aaae[0x0]&&_0xa5aaae[0x0][_0x456320(0x245)]||_0x38b546['Josfo']:null;try{await global[_0x456320(0x257)][0x0][_0x456320(0x206)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x21ece6?_0x38b546[_0x456320(0x24e)](_0x38b546[_0x456320(0x235)],_0x51a9c2):_0x38b546['ekzAs'])+',\x22level\x22:\x20\x22'+(_0x21ece6?_0x38b546['ynhjy']:_0x38b546[_0x456320(0x239)])+'\x22}}');}catch(_0x1d770c){logger[_0x456320(0x256)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x456320(0x1ee)](_0x1d770c));}_0x21ece6&&(global[_0x456320(0x248)]=!![]),await helper['markSessionStatus'](global[_0x456320(0x257)][0x0],_0x21ece6?_0x38b546[_0x456320(0x22e)]:_0x38b546[_0x456320(0x1fe)],_0x51a9c2);}catch(_0x2ac115){logger[_0x456320(0x256)](_0x456320(0x20b)+util[_0x456320(0x1ee)](_0x2ac115));}}}catch(_0x35a739){logger[_0x456320(0x256)](_0x456320(0x1f4)+util[_0x456320(0x1ee)](_0x35a739));}try{if(_0x38b546['GxccE'](isAccessibilityAutomationSession)&&globals[_0x456320(0x229)](_0x38b546[_0x456320(0x212)])&&Array['isArray'](global[_0x456320(0x257)])&&_0x38b546['dbElT'](global[_0x456320(0x257)][_0x456320(0x1df)],0x0)&&global[_0x456320(0x257)][0x0]){const _0x2f067a=testRunMap[_0x456320(0x1e9)](_activeResultId),_0x55dda7={};_0x55dda7['thTestRunUuid']=_0x2f067a,_0x55dda7[_0x456320(0x1f6)]=process[_0x456320(0x253)][testHubConstants[_0x456320(0x214)]['BROWSERSTACK_TESTHUB_UUID']],_0x55dda7[_0x456320(0x251)]=process[_0x456320(0x253)][testHubConstants[_0x456320(0x214)]['BROWSERSTACK_TESTHUB_JWT']];const _0x237fa4=_0x55dda7;logger[_0x456320(0x256)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x456320(0x243)](_0x237fa4));if(globals[_0x456320(0x229)](_0x38b546['UbeEk'])){logger[_0x456320(0x256)](_0x38b546['pAxDx']);const _0x45d62e=await accessibilityRetryHelper[_0x456320(0x20f)](global[_0x456320(0x257)][0x0],global[_0x456320(0x23a)]);_0x45d62e?logger[_0x456320(0x256)](_0x38b546[_0x456320(0x209)]):logger[_0x456320(0x21a)](_0x38b546[_0x456320(0x1e4)]);}else logger[_0x456320(0x256)](_0x38b546[_0x456320(0x22a)]);globals[_0x456320(0x229)](_0x38b546[_0x456320(0x224)])&&(_0x237fa4[_0x456320(0x21f)]=!![]);const _0x23f1b3=await accessibilityRetryHelper[_0x456320(0x211)](global[_0x456320(0x257)][0x0],_0x237fa4);_0x23f1b3?logger[_0x456320(0x256)](_0x38b546[_0x456320(0x1f3)]):logger[_0x456320(0x21a)](_0x38b546[_0x456320(0x210)]);}}catch(_0x415c62){logger[_0x456320(0x217)](_0x456320(0x24d)+util[_0x456320(0x1ee)](_0x415c62));}});}catch(a16_0x5e2df8){logger['debug'](a16_0x42dd95(0x1ef)+util['format'](a16_0x5e2df8));}module[a16_0x42dd95(0x255)]={};
|
|
1
|
+
'use strict';const a16_0x45741a=a16_0x36ee;(function(_0x758a02,_0x273aa9){const _0x350e13=a16_0x36ee,_0x5bfe3a=_0x758a02();while(!![]){try{const _0x266790=-parseInt(_0x350e13(0x228))/0x1*(-parseInt(_0x350e13(0x227))/0x2)+-parseInt(_0x350e13(0x1eb))/0x3*(parseInt(_0x350e13(0x24b))/0x4)+parseInt(_0x350e13(0x22d))/0x5*(-parseInt(_0x350e13(0x218))/0x6)+parseInt(_0x350e13(0x21b))/0x7*(parseInt(_0x350e13(0x1d3))/0x8)+-parseInt(_0x350e13(0x22f))/0x9*(parseInt(_0x350e13(0x1d2))/0xa)+parseInt(_0x350e13(0x1f7))/0xb*(-parseInt(_0x350e13(0x1dd))/0xc)+parseInt(_0x350e13(0x204))/0xd;if(_0x266790===_0x273aa9)break;else _0x5bfe3a['push'](_0x5bfe3a['shift']());}catch(_0xc68fe2){_0x5bfe3a['push'](_0x5bfe3a['shift']());}}}(a16_0x179c,0xe6628));const util=require(a16_0x45741a(0x1d6)),logger=require('../../helpers/logger')[a16_0x45741a(0x21d)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x45741a(0x1e0)),testHubConstants=require(a16_0x45741a(0x1ed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x45741a(0x232)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a16_0x45741a(0x1ea));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x45741a(0x20a)][a16_0x45741a(0x24a)]||process['env'][a16_0x45741a(0x1fe)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x1b43db){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x224)+util[a16_0x45741a(0x1fb)](a16_0x1b43db));}try{if(_bstackConfig&&!helper[a16_0x45741a(0x21a)](a16_0x45741a(0x20e))){const PGsYuc=a16_0x45741a(0x1fa)[a16_0x45741a(0x220)]('|');let XBLTfN=0x0;while(!![]){switch(PGsYuc[XBLTfN++]){case'0':global[a16_0x45741a(0x236)]=_bstackConfig['platformIndex'];continue;case'1':global['__platformCaps']=_bstackConfig[a16_0x45741a(0x23d)]||{};continue;case'2':helper[a16_0x45741a(0x226)]()?(global['__skipSessionName']=helper[a16_0x45741a(0x244)](_bstackConfig['skipSessionName']),global['__skipSessionStatus']=helper[a16_0x45741a(0x244)](_bstackConfig[a16_0x45741a(0x239)])):(global[a16_0x45741a(0x207)]=!![],global[a16_0x45741a(0x1ee)]=!![]);continue;case'3':logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1ef));continue;case'4':shouldProcessEventForTesthub()?require(a16_0x45741a(0x1c6))[a16_0x45741a(0x1cb)](_bstackConfig,null,!![]):require(a16_0x45741a(0x1c6))['browserstackAgentV2'](_bstackConfig);continue;}break;}}}catch(a16_0x3bf8b1){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x240)+util[a16_0x45741a(0x1fb)](a16_0x3bf8b1));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a16_0x45741a(0x1e6)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x38d30c=a16_0x45741a,_0x403774={'jUyFw':function(_0x474df7,_0x1e2185){return _0x474df7(_0x1e2185);},'oSdDM':_0x38d30c(0x219),'pUdbO':_0x38d30c(0x1c1),'WfylH':_0x38d30c(0x1f1)},_0x181843=Error[_0x38d30c(0x208)];try{const _0x3f13cf=new Error();Error[_0x38d30c(0x208)]=(_0x26b8b5,_0x2e19f4)=>_0x2e19f4;const _0xa69940=_0x3f13cf['stack'];Error['prepareStackTrace']=_0x181843;if(Array[_0x38d30c(0x1c2)](_0xa69940))for(const _0x48dd98 of _0xa69940){const _0x1aa152=_0x48dd98['getFileName']&&_0x48dd98[_0x38d30c(0x1ce)]();if(_0x1aa152&&!_0x1aa152[_0x38d30c(0x210)](_0x38d30c(0x223)+_0x403774[_0x38d30c(0x1ec)](require,_0x403774[_0x38d30c(0x1e9)])[_0x38d30c(0x1f8)]+_0x38d30c(0x237)+_0x403774[_0x38d30c(0x1ec)](require,_0x403774[_0x38d30c(0x1e9)])[_0x38d30c(0x1f8)])&&!_0x1aa152[_0x38d30c(0x1dc)](_0x403774[_0x38d30c(0x1e1)])&&!_0x1aa152[_0x38d30c(0x210)](_0x403774[_0x38d30c(0x1e4)]))return _0x1aa152;}}catch(_0x5d30ab){Error[_0x38d30c(0x208)]=_0x181843;}return null;},_wrappedDescribe=function(_0x4141ee,_0x5b56ee){const _0x9bc696=a16_0x45741a,_0x8c28de={'XaDao':function(_0x4a83ce){return _0x4a83ce();},'LlisS':function(_0x1434ba,_0x36956d){return _0x1434ba&&_0x36956d;},'GpUlM':function(_0x240074,_0x112cfc,_0x314bbe){return _0x240074(_0x112cfc,_0x314bbe);}};let _0x3ef692=null;try{_0x3ef692=_0x8c28de['XaDao'](_resolveCallerFile);}catch(_0x378568){}_describeTitleStack[_0x9bc696(0x23f)](_0x4141ee);const _0x317a7a=_describeTitleStack[_0x9bc696(0x1d9)]('\x20');_0x8c28de['LlisS'](_0x3ef692,_0x317a7a)&&(_fileNameByFullName[_0x317a7a]=_0x3ef692);try{return _0x8c28de[_0x9bc696(0x215)](_origDescribe,_0x4141ee,_0x5b56ee);}finally{_describeTitleStack[_0x9bc696(0x24c)]();}};Object[a16_0x45741a(0x21e)](_origDescribe)[a16_0x45741a(0x1ff)](_0x1fb0b4=>{_wrappedDescribe[_0x1fb0b4]=_origDescribe[_0x1fb0b4];}),global[a16_0x45741a(0x22a)]=_wrappedDescribe;}}catch(a16_0x5757e5){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x246)+util[a16_0x45741a(0x1fb)](a16_0x5757e5));}try{if(typeof jasmine!=='undefined'&&jasmine['getEnv']){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a16_0x4d8fc7={};a16_0x4d8fc7['fileNameByFullName']=_fileNameByFullName,jasmine[a16_0x45741a(0x1da)]()[a16_0x45741a(0x225)](new BrowserStackJasmineReporter(a16_0x4d8fc7)),logger['debug'](a16_0x45741a(0x245));}else logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1f3));}catch(a16_0x28e2ea){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1df)+util[a16_0x45741a(0x1fb)](a16_0x28e2ea));}function a16_0x179c(){const _0x4c050f=['pop','node:','isArray','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isMobilePlatform','bstackA11yShouldScan','../../index','message','fullName','warn','failed','browserstackAgentV2','FGXOx','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','getFileName','RHvad','__drivers','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','12732840JPnyvg','16OdkQun','Pwnlm','saveAccessibilityResultsWithRetry','util','iAZTv','mWpcC','join','getEnv','thJwtToken','startsWith','1746456RZEtpH','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','../../helpers/testhub/utils','pUdbO','isAccessibilityPlatform','stringify','WfylH','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','undefined','GcamG','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','oSdDM','./testRunMap','30999PwZKAw','jUyFw','../../helpers/testhub/constants','__skipSessionStatus','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jasmine-core','\x22}}','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','get','Passed','FHzJb','22hJIrAs','sep','YfYVD','3|4|1|0|2','format','getGlobal',',\x22level\x22:\x20\x22','CONFIG','forEach','ENV_VAR','__sessionFailed','roNjS','browserstackSessionName','3616522qlTYmH','hHNyL','is_mobile_session','__skipSessionName','prepareStackTrace','error','env','debug','markSessionStatus','Spec\x20failed','@playwright/test','parse','includes','executeScript','sessionNameSet__','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','jUdXH','GpUlM','DcPNw','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','6uAPIuP','path','getPackageVersion','6293518adfuJa','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','winstonLogger','keys','epkfL','split','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','setGlobal','bin','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','addReporter','isBrowserstackInfra','107974LMnBzg','17DavPIf','yppiu','describe','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','length','2017205iusdlU','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','9PRuVHR','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Vsdpp','../../helpers/accessibility-automation/helper','sessionName','function','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','browserstackPlatformIndex','jasmine','BROWSERSTACK_TESTHUB_UUID','skipSessionStatus','performScanWithRetry','XHmzv','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','platformCaps','MycEN','push','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','exports','failedExpectations','thBuildUuid','isTrue','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','WZjeU','bzznE','XMESk','BROWSERSTACK_JASMINE_CONFIG','32WXHfgI'];a16_0x179c=function(){return _0x4c050f;};return a16_0x179c();}try{typeof jasmine!==a16_0x45741a(0x1e6)&&jasmine['getEnv']&&jasmine[a16_0x45741a(0x1da)]()['addReporter']({'specStarted'(_0x4b49d4){const _0x4504f5=a16_0x45741a,_0x88b83a={};_0x88b83a[_0x4504f5(0x1cf)]=function(_0x587014,_0x48c3e5){return _0x587014||_0x48c3e5;};const _0x21df98=_0x88b83a;_activeResultId=_0x4b49d4&&_0x4b49d4['id'],_activeFullName=_0x4b49d4&&_0x4b49d4[_0x4504f5(0x1c8)],_activeResultRef=_0x21df98['RHvad'](_0x4b49d4,null);},'specDone'(){}});}catch(a16_0x38b679){logger[a16_0x45741a(0x20b)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x45741a(0x1fb)](a16_0x38b679));}const _resolveAutoScanning=()=>{const _0x586275=a16_0x45741a,_0x69fe55={};_0x69fe55[_0x586275(0x216)]=function(_0x5897c3,_0x1ecefe){return _0x5897c3===_0x1ecefe;};const _0x1d4502=_0x69fe55;let _0x33f92a=!![];try{const _0x8fd832=JSON[_0x586275(0x20f)](process[_0x586275(0x20a)][_0x586275(0x1f0)]||'{}');_0x1d4502['DcPNw'](_0x8fd832['autoScanning'],![])&&(_0x33f92a=![]);}catch(_0x316cbf){logger[_0x586275(0x20b)](_0x586275(0x213)+_0x316cbf[_0x586275(0x1c7)]);}return _0x33f92a;};function a16_0x36ee(_0x5e6759,_0x332645){const _0x179c79=a16_0x179c();return a16_0x36ee=function(_0x36ee06,_0x1d3ebe){_0x36ee06=_0x36ee06-0x1c1;let _0x491211=_0x179c79[_0x36ee06];return _0x491211;},a16_0x36ee(_0x5e6759,_0x332645);}try{typeof beforeEach===a16_0x45741a(0x234)&&beforeEach(function bstackA11yBeforeEach(){const _0x18989e=a16_0x45741a,_0x212176={'XHmzv':function(_0x3eb0ec){return _0x3eb0ec();},'hHNyL':function(_0x546f67,_0x1d8cb7,_0x14f180){return _0x546f67(_0x1d8cb7,_0x14f180);},'GcamG':function(_0x50d394,_0x49de1f){return _0x50d394&&_0x49de1f;},'HDLUE':_0x18989e(0x1c5),'YfYVD':'bstackA11yScanOptions'};try{const _0x5cd57c=_0x212176[_0x18989e(0x23b)](_resolveAutoScanning),_0x1f5046=_0x212176[_0x18989e(0x205)](shouldScanTestForAccessibility,null,![]),_0x20ded1=_0x212176[_0x18989e(0x1e7)](_0x5cd57c,_0x1f5046);globals[_0x18989e(0x222)](_0x212176['HDLUE'],_0x20ded1),globals[_0x18989e(0x222)](_0x212176[_0x18989e(0x1f9)],null);}catch(_0x4bf582){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x18989e(0x1fb)](_0x4bf582));}}),typeof afterEach===a16_0x45741a(0x234)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5e4853=a16_0x45741a,_0x1a5c70={'mWpcC':function(_0x55c51b,_0x112bc0){return _0x55c51b>_0x112bc0;},'MycEN':_0x5e4853(0x20d),'XMESk':function(_0x2c61de,_0x3628f1){return _0x2c61de+_0x3628f1;},'OlYZE':'Failed:\x20','bsdCh':_0x5e4853(0x1f5),'yHDrX':_0x5e4853(0x209),'Vsdpp':'info','jUdXH':_0x5e4853(0x1ca),'WTnaf':'passed','Pwnlm':function(_0x22e43d){return _0x22e43d();},'yppiu':_0x5e4853(0x1e2),'CtMHc':function(_0x3c7ff4,_0x36407b){return _0x3c7ff4>_0x36407b;},'WZjeU':_0x5e4853(0x1c5),'FGXOx':_0x5e4853(0x22e),'epkfL':_0x5e4853(0x1e5),'FHzJb':_0x5e4853(0x230),'bFwuE':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','iAZTv':_0x5e4853(0x1c4),'roNjS':_0x5e4853(0x217),'bzznE':_0x5e4853(0x1e8)};try{if(Array[_0x5e4853(0x1c2)](global[_0x5e4853(0x1d0)])&&_0x1a5c70[_0x5e4853(0x1d8)](global[_0x5e4853(0x1d0)][_0x5e4853(0x22c)],0x0)&&global[_0x5e4853(0x1d0)][0x0]){const _0x32d4b0=_activeFullName||global[_0x5e4853(0x233)];if(!global[_0x5e4853(0x207)]&&_0x32d4b0){global[_0x5e4853(0x233)]=_0x32d4b0;try{await global['__drivers'][0x0][_0x5e4853(0x211)](_0x5e4853(0x1c3)+JSON[_0x5e4853(0x1e3)](_0x32d4b0)+'}}'),global[_0x5e4853(0x1d0)][0x0][_0x5e4853(0x212)]=!![];}catch(_0x11a744){logger[_0x5e4853(0x20b)](_0x5e4853(0x1d1)+util[_0x5e4853(0x1fb)](_0x11a744));}}if(!global[_0x5e4853(0x1ee)])try{const _0x1a7180=_activeResultRef&&Array['isArray'](_activeResultRef[_0x5e4853(0x242)])?_activeResultRef[_0x5e4853(0x242)]:[],_0x1ff7b1=_0x1a5c70[_0x5e4853(0x1d8)](_0x1a7180[_0x5e4853(0x22c)],0x0),_0x4fd35c=_0x1ff7b1?_0x1a7180[0x0]&&_0x1a7180[0x0]['message']||_0x1a5c70[_0x5e4853(0x23e)]:null;try{await global[_0x5e4853(0x1d0)][0x0][_0x5e4853(0x211)](_0x5e4853(0x23c)+JSON[_0x5e4853(0x1e3)](_0x1ff7b1?_0x1a5c70[_0x5e4853(0x249)](_0x1a5c70['OlYZE'],_0x4fd35c):_0x1a5c70['bsdCh'])+_0x5e4853(0x1fd)+(_0x1ff7b1?_0x1a5c70['yHDrX']:_0x1a5c70[_0x5e4853(0x231)])+_0x5e4853(0x1f2));}catch(_0x93afe8){logger[_0x5e4853(0x20b)](_0x5e4853(0x235)+util[_0x5e4853(0x1fb)](_0x93afe8));}_0x1ff7b1&&(global[_0x5e4853(0x201)]=!![]),await helper[_0x5e4853(0x20c)](global[_0x5e4853(0x1d0)][0x0],_0x1ff7b1?_0x1a5c70[_0x5e4853(0x214)]:_0x1a5c70['WTnaf'],_0x4fd35c);}catch(_0x2e8338){logger[_0x5e4853(0x20b)](_0x5e4853(0x1cd)+util[_0x5e4853(0x1fb)](_0x2e8338));}}}catch(_0x5e2110){logger[_0x5e4853(0x20b)](_0x5e4853(0x22b)+util[_0x5e4853(0x1fb)](_0x5e2110));}try{if(_0x1a5c70[_0x5e4853(0x1d4)](isAccessibilityAutomationSession)&&globals[_0x5e4853(0x1fc)](_0x1a5c70[_0x5e4853(0x229)])&&Array['isArray'](global[_0x5e4853(0x1d0)])&&_0x1a5c70['CtMHc'](global[_0x5e4853(0x1d0)][_0x5e4853(0x22c)],0x0)&&global[_0x5e4853(0x1d0)][0x0]){const _0x40eb24=testRunMap[_0x5e4853(0x1f4)](_activeResultId),_0xdb1107={};_0xdb1107['thTestRunUuid']=_0x40eb24,_0xdb1107[_0x5e4853(0x243)]=process['env'][testHubConstants[_0x5e4853(0x200)][_0x5e4853(0x238)]],_0xdb1107[_0x5e4853(0x1db)]=process[_0x5e4853(0x20a)][testHubConstants[_0x5e4853(0x200)]['BROWSERSTACK_TESTHUB_JWT']];const _0x470929=_0xdb1107;logger['debug'](_0x5e4853(0x21c)+JSON[_0x5e4853(0x1e3)](_0x470929));if(globals[_0x5e4853(0x1fc)](_0x1a5c70[_0x5e4853(0x247)])){logger['debug'](_0x1a5c70[_0x5e4853(0x1cc)]);const _0x56d095=await accessibilityRetryHelper[_0x5e4853(0x23a)](global[_0x5e4853(0x1d0)][0x0],global[_0x5e4853(0x203)]);_0x56d095?logger[_0x5e4853(0x20b)](_0x1a5c70[_0x5e4853(0x21f)]):logger[_0x5e4853(0x1c9)](_0x1a5c70[_0x5e4853(0x1f6)]);}else logger[_0x5e4853(0x20b)](_0x1a5c70['bFwuE']);globals['getGlobal'](_0x1a5c70[_0x5e4853(0x1d7)])&&(_0x470929[_0x5e4853(0x206)]=!![]);const _0x4861c3=await accessibilityRetryHelper[_0x5e4853(0x1d5)](global[_0x5e4853(0x1d0)][0x0],_0x470929);_0x4861c3?logger[_0x5e4853(0x20b)](_0x1a5c70[_0x5e4853(0x202)]):logger['warn'](_0x1a5c70[_0x5e4853(0x248)]);}}catch(_0x139bc2){logger[_0x5e4853(0x209)](_0x5e4853(0x221)+util['format'](_0x139bc2));}});}catch(a16_0x1ecfb5){logger[a16_0x45741a(0x20b)](a16_0x45741a(0x1de)+util['format'](a16_0x1ecfb5));}module[a16_0x45741a(0x241)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a17_0x8482fd=a17_0x9176;(function(_0x1f296a,_0x11f96a){const _0x489d3b=a17_0x9176,_0x139a76=_0x1f296a();while(!![]){try{const _0x39b072=parseInt(_0x489d3b(0x1bf))/0x1+parseInt(_0x489d3b(0x1c2))/0x2*(-parseInt(_0x489d3b(0x1be))/0x3)+-parseInt(_0x489d3b(0x1c1))/0x4*(parseInt(_0x489d3b(0x1b8))/0x5)+-parseInt(_0x489d3b(0x1b4))/0x6+parseInt(_0x489d3b(0x1b6))/0x7+-parseInt(_0x489d3b(0x1b9))/0x8*(-parseInt(_0x489d3b(0x1b1))/0x9)+-parseInt(_0x489d3b(0x1b5))/0xa*(-parseInt(_0x489d3b(0x1bd))/0xb);if(_0x39b072===_0x11f96a)break;else _0x139a76['push'](_0x139a76['shift']());}catch(_0x14561b){_0x139a76['push'](_0x139a76['shift']());}}}(a17_0x4137,0xe45a9));function a17_0x4137(){const _0x5ac777=['delete','5143852ukmGFd','228fSPfpo','nkRrI','7652160AqQgMR','YFzcz','remove','9888438ISCMYR','59560bHauWC','7455084anYUoB','size','5tJCMjN','8URpwlz','set','LdPFE','get','6248skOSgy','40071yKbNzM','93811UEZqGD'];a17_0x4137=function(){return _0x5ac777;};return a17_0x4137();}function a17_0x9176(_0x10f6c2,_0x5d368b){const _0x4137de=a17_0x4137();return a17_0x9176=function(_0x9176e0,_0x284976){_0x9176e0=_0x9176e0-0x1b0;let _0x42a3be=_0x4137de[_0x9176e0];return _0x42a3be;},a17_0x9176(_0x10f6c2,_0x5d368b);}const _specUuidById=new Map();exports[a17_0x8482fd(0x1ba)]=(_0x374727,_0x3f0797)=>{const _0x24b000=a17_0x8482fd,_0x14f2c9={};_0x14f2c9[_0x24b000(0x1b2)]=function(_0x1ec182,_0x3a3754){return _0x1ec182===_0x3a3754;};const _0x2013dd=_0x14f2c9;if(_0x2013dd['YFzcz'](_0x374727,undefined)||_0x2013dd[_0x24b000(0x1b2)](_0x374727,null))return;_specUuidById[_0x24b000(0x1ba)](_0x374727,_0x3f0797);},exports[a17_0x8482fd(0x1bc)]=_0x2dd2e4=>{const _0x46902c=a17_0x8482fd,_0x1b5b2d={};_0x1b5b2d[_0x46902c(0x1bb)]=function(_0x1ddc86,_0x1f4429){return _0x1ddc86===_0x1f4429;};const _0x48af9b=_0x1b5b2d;if(_0x48af9b[_0x46902c(0x1bb)](_0x2dd2e4,undefined)||_0x48af9b['LdPFE'](_0x2dd2e4,null))return undefined;return _specUuidById[_0x46902c(0x1bc)](_0x2dd2e4);},exports[a17_0x8482fd(0x1b3)]=_0x4134c3=>{const _0x49c8d3=a17_0x8482fd,_0x34c925={};_0x34c925[_0x49c8d3(0x1b0)]=function(_0x4ac8c5,_0x1bfdbb){return _0x4ac8c5===_0x1bfdbb;};const _0x5dbf99=_0x34c925;if(_0x5dbf99[_0x49c8d3(0x1b0)](_0x4134c3,undefined)||_0x5dbf99[_0x49c8d3(0x1b0)](_0x4134c3,null))return;_specUuidById[_0x49c8d3(0x1c0)](_0x4134c3);},exports['_size']=()=>_specUuidById[a17_0x8482fd(0x1b7)];
|