browserstack-node-sdk 1.66.4 → 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a15_0x123585=a15_0x2cfb;(function(_0x13b980,_0x2ea2d8){const _0x167734=a15_0x2cfb,_0x4a0845=_0x13b980();while(!![]){try{const _0x1d033b=parseInt(_0x167734(0x201))/0x1+parseInt(_0x167734(0x230))/0x2*(-parseInt(_0x167734(0x231))/0x3)+-parseInt(_0x167734(0x1fc))/0x4*(parseInt(_0x167734(0x233))/0x5)+parseInt(_0x167734(0x219))/0x6*(parseInt(_0x167734(0x20b))/0x7)+parseInt(_0x167734(0x238))/0x8*(-parseInt(_0x167734(0x21b))/0x9)+parseInt(_0x167734(0x209))/0xa*(-parseInt(_0x167734(0x212))/0xb)+parseInt(_0x167734(0x204))/0xc;if(_0x1d033b===_0x2ea2d8)break;else _0x4a0845['push'](_0x4a0845['shift']());}catch(_0x14dd3b){_0x4a0845['push'](_0x4a0845['shift']());}}}(a15_0x408e,0x70216));function a15_0x408e(){const _0x4b3d94=['119EadPDE','setupBrowserstackLocal','string','../../helpers/logger','dlYLO','root','undefined','8829029sLZgaI','localIdentifier','browserstackLocal','hIXwq','Integration\x20hosts\x20missing.','winstonLogger','every','96474kQGAUh','https','72LRBmcs','connect','only','accessKey','url','OGbfQ','error','jdBmU','protocol','Failed\x20to\x20establish\x20connection.','JwhHc','footer','443','epilogue','TceVD','eooBS','integrations','miOMK','command','qNTOJ','options','262358TcmSTQ','6moHSRJ','../../helpers/helper','41805neAAYj','bstackAccesskey','bstackAccessKey','./constants','split','496624SONXQE','rjyII','https:','BrowserStack\x20access\x20key\x20missing.','map','../../helpers/BrowserStackSetup','QXpkl','missing','FPTWD','replace','config','Skvrl','bstack-accesskey','hosts','usage','join','integrations-repeater','244LqelpB','Hosts\x20not\x20valid','gnXuX','describe','Connection\x20established\x20successfully.','148418xTwbTW','setProxySettings','sElSB','25310004AKDxCF','Izjiu','trim','browserStackLocalOptions','demandOption','10pCdjgM','exports'];a15_0x408e=function(){return _0x4b3d94;};return a15_0x408e();}function a15_0x2cfb(_0x2eba45,_0x3fc65c){const _0x408e32=a15_0x408e();return a15_0x2cfb=function(_0x2cfbe6,_0x3444f2){_0x2cfbe6=_0x2cfbe6-0x1f2;let _0x3144b4=_0x408e32[_0x2cfbe6];return _0x3144b4;},a15_0x2cfb(_0x2eba45,_0x3fc65c);}const {default:BrowserStackSetup}=require(a15_0x123585(0x23d)),logger=require(a15_0x123585(0x20e))[a15_0x123585(0x217)],{URL}=require(a15_0x123585(0x21f)),helper=require(a15_0x123585(0x232)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x123585(0x236)),validHosts=function(_0x45b284){const _0x37f823=a15_0x123585;return _0x45b284['split'](',')[_0x37f823(0x218)](_0x1217f6=>{const _0x32c70f=_0x37f823;try{new URL(_0x1217f6[_0x32c70f(0x206)]());}catch(_0xcb6e3d){return![];}return!![];});},parseOnPremHosts=function(_0x491a8e){const _0x3d00bc=a15_0x123585,_0x1e7d4f={};_0x1e7d4f[_0x3d00bc(0x1f3)]=function(_0x391451,_0x1ab968){return _0x391451===_0x1ab968;},_0x1e7d4f[_0x3d00bc(0x225)]=_0x3d00bc(0x23a),_0x1e7d4f[_0x3d00bc(0x23e)]=_0x3d00bc(0x227),_0x1e7d4f[_0x3d00bc(0x222)]=_0x3d00bc(0x21a);const _0x319bb0=_0x1e7d4f;return _0x491a8e[_0x3d00bc(0x237)](',')[_0x3d00bc(0x23c)](_0x6795d3=>{const _0x4ec399=_0x3d00bc,_0x19c2dc=new URL(_0x6795d3[_0x4ec399(0x206)]()),_0x5e0855=_0x19c2dc['hostname'],_0x506791=_0x19c2dc['port']||(_0x319bb0['FPTWD'](_0x19c2dc['protocol'],_0x319bb0['JwhHc'])?_0x319bb0[_0x4ec399(0x23e)]:'80'),_0x52189a=_0x19c2dc[_0x4ec399(0x223)][_0x4ec399(0x1f4)](':',''),_0x57183a=_0x319bb0[_0x4ec399(0x1f3)](_0x52189a,_0x319bb0['jdBmU'])?0x1:0x0;return _0x5e0855+','+_0x506791+','+_0x57183a;});},connectCommandBuilder=function(_0x147fd5){const _0xf55092=a15_0x123585,_0x3000f9={};_0x3000f9[_0xf55092(0x20f)]=_0xf55092(0x20d);const _0x52ca81=_0x3000f9,_0x5bb3db={};_0x5bb3db[_0xf55092(0x1ff)]=HELP_MESSAGES[_0xf55092(0x22f)][_0xf55092(0x235)],_0x5bb3db['type']=_0x52ca81[_0xf55092(0x20f)];const _0x36b4e9={};_0x36b4e9[_0xf55092(0x1ff)]=HELP_MESSAGES[_0xf55092(0x22f)][_0xf55092(0x1f8)],_0x36b4e9['type']=_0x52ca81[_0xf55092(0x20f)],_0x36b4e9[_0xf55092(0x208)]=!![];const _0x2f9750={};return _0x2f9750[_0xf55092(0x1f7)]=_0x5bb3db,_0x2f9750['hosts']=_0x36b4e9,_0x147fd5[_0xf55092(0x22f)](_0x2f9750);},connectCommandHandler=async function(_0x358bdf){const _0x3a41f6=a15_0x123585,_0x1d49f3={'qNTOJ':_0x3a41f6(0x22b),'sElSB':function(_0x3e361c,_0x3dcccb){return _0x3e361c===_0x3dcccb;},'Izjiu':_0x3a41f6(0x211),'TceVD':_0x3a41f6(0x23b),'OGbfQ':function(_0x5b383a,_0xbda20a){return _0x5b383a===_0xbda20a;},'gnXuX':_0x3a41f6(0x216),'Skvrl':function(_0x2aac27,_0x51b2f7){return _0x2aac27(_0x51b2f7);},'oDnDR':_0x3a41f6(0x1fd),'MyoIY':_0x3a41f6(0x1fb),'eooBS':_0x3a41f6(0x200),'rjyII':_0x3a41f6(0x224)};try{const _0x2fcd03=new BrowserStackSetup(_0x358bdf,_0x1d49f3[_0x3a41f6(0x22e)]);_0x358bdf[_0x3a41f6(0x234)]&&(_0x2fcd03['config'][_0x3a41f6(0x21e)]=_0x358bdf['bstackAccesskey']);if(_0x1d49f3[_0x3a41f6(0x203)](typeof _0x2fcd03[_0x3a41f6(0x1f5)][_0x3a41f6(0x21e)],_0x1d49f3[_0x3a41f6(0x205)])){logger[_0x3a41f6(0x221)](_0x1d49f3[_0x3a41f6(0x229)]);throw new Error(ERROR_MESSAGES[_0x3a41f6(0x235)][_0x3a41f6(0x1f2)]);}const _0x14d423=_0x358bdf[_0x3a41f6(0x1f8)];if(_0x1d49f3[_0x3a41f6(0x220)](typeof _0x14d423,_0x1d49f3[_0x3a41f6(0x205)])){logger[_0x3a41f6(0x221)](_0x1d49f3[_0x3a41f6(0x1fe)]);throw new Error(ERROR_MESSAGES[_0x3a41f6(0x1f8)]['missing']);}if(!_0x1d49f3[_0x3a41f6(0x1f6)](validHosts,_0x14d423)){logger[_0x3a41f6(0x221)](_0x1d49f3['oDnDR']);throw new Error(ERROR_MESSAGES[_0x3a41f6(0x1f8)]['invalid']);}const _0x52d7ca=_0x1d49f3[_0x3a41f6(0x1f6)](parseOnPremHosts,_0x14d423);_0x2fcd03['config'][_0x3a41f6(0x214)]=!![],_0x2fcd03['config']['browserStackLocalOptions'][_0x3a41f6(0x213)]=_0x1d49f3['MyoIY'],_0x2fcd03[_0x3a41f6(0x1f5)][_0x3a41f6(0x207)][_0x3a41f6(0x21d)]=_0x52d7ca[_0x3a41f6(0x1fa)](','),helper[_0x3a41f6(0x202)](_0x2fcd03[_0x3a41f6(0x1f5)]),await _0x2fcd03[_0x3a41f6(0x20c)](),logger['info'](_0x1d49f3[_0x3a41f6(0x22a)]);}catch(_0x499db4){logger[_0x3a41f6(0x221)](_0x1d49f3[_0x3a41f6(0x239)]);throw new Error(_0x499db4['toString']());}};function run(_0x181c14){const _0x5762ab=a15_0x123585,_0x223100={};_0x223100['hIXwq']=_0x5762ab(0x21c),_0x223100[_0x5762ab(0x22c)]='help';const _0x225874=_0x223100;_0x181c14[_0x5762ab(0x1f9)](HELP_MESSAGES[_0x5762ab(0x22d)][_0x5762ab(0x210)])[_0x5762ab(0x22d)](_0x225874[_0x5762ab(0x215)],HELP_MESSAGES[_0x5762ab(0x22d)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x225874['miOMK'])[_0x5762ab(0x228)](HELP_MESSAGES['command'][_0x5762ab(0x226)]);}module[a15_0x123585(0x20a)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x256c63=a16_0x3aaa;(function(_0x4b28c2,_0x3501b7){var _0x2977b1=a16_0x3aaa,_0x2be6b8=_0x4b28c2();while(!![]){try{var _0x2d0bc2=parseInt(_0x2977b1(0xd8))/0x1*(parseInt(_0x2977b1(0xd4))/0x2)+-parseInt(_0x2977b1(0xe7))/0x3*(-parseInt(_0x2977b1(0xdd))/0x4)+parseInt(_0x2977b1(0xd9))/0x5+-parseInt(_0x2977b1(0xd1))/0x6+-parseInt(_0x2977b1(0xd5))/0x7*(parseInt(_0x2977b1(0xdf))/0x8)+parseInt(_0x2977b1(0xe6))/0x9+-parseInt(_0x2977b1(0xd2))/0xa*(parseInt(_0x2977b1(0xe0))/0xb);if(_0x2d0bc2===_0x3501b7)break;else _0x2be6b8['push'](_0x2be6b8['shift']());}catch(_0x154023){_0x2be6b8['push'](_0x2be6b8['shift']());}}}(a16_0x1a68,0xc1d7a));function a16_0x3aaa(_0x4e1f63,_0x20efc3){var _0x1a682a=a16_0x1a68();return a16_0x3aaa=function(_0x3aaa19,_0x3112ce){_0x3aaa19=_0x3aaa19-0xd1;var _0x12b5b6=_0x1a682a[_0x3aaa19];return _0x12b5b6;},a16_0x3aaa(_0x4e1f63,_0x20efc3);}var a16_0x2b2baf={};a16_0x2b2baf[a16_0x256c63(0xe1)]=a16_0x256c63(0xd6),a16_0x2b2baf[a16_0x256c63(0xe4)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a16_0x53540d={};a16_0x53540d[a16_0x256c63(0xe2)]=a16_0x256c63(0xd3),a16_0x53540d[a16_0x256c63(0xda)]=a16_0x256c63(0xd7),a16_0x53540d['footer']=a16_0x256c63(0xdb);var a16_0x58aeb4={};a16_0x58aeb4['options']=a16_0x2b2baf,a16_0x58aeb4[a16_0x256c63(0xe3)]=a16_0x53540d,exports['HELP_MESSAGES']=a16_0x58aeb4;function a16_0x1a68(){var _0x54dbf5=['4690724jcQdeG','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.','88272efnlqv','55MAHzNQ','bstackAccessKey','root','command','hosts','ERROR_MESSAGES','9616500pFSiSK','3EnjOmf','7646550YGuFso','2009370rFfIZL','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','4KSyMGA','133VGOdjO','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','35320YsEOdE','4854565kEKnGo','connect','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','missing'];a16_0x1a68=function(){return _0x54dbf5;};return a16_0x1a68();}var a16_0x202570={};a16_0x202570[a16_0x256c63(0xdc)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a16_0x55a096={};a16_0x55a096[a16_0x256c63(0xdc)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x55a096['invalid']=a16_0x256c63(0xde);var a16_0x194972={};a16_0x194972['bstackAccessKey']=a16_0x202570,a16_0x194972[a16_0x256c63(0xe4)]=a16_0x55a096,exports[a16_0x256c63(0xe5)]=a16_0x194972;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a17_0x21bb87=a17_0x3649;(function(_0x5288ff,_0x2c5b86){const _0x24bbf9=a17_0x3649,_0x209652=_0x5288ff();while(!![]){try{const _0x152ec9=parseInt(_0x24bbf9(0x16b))/0x1+parseInt(_0x24bbf9(0x1c0))/0x2*(-parseInt(_0x24bbf9(0x18c))/0x3)+-parseInt(_0x24bbf9(0x1aa))/0x4*(parseInt(_0x24bbf9(0x1e3))/0x5)+-parseInt(_0x24bbf9(0x1ab))/0x6+parseInt(_0x24bbf9(0x1d5))/0x7*(parseInt(_0x24bbf9(0x175))/0x8)+parseInt(_0x24bbf9(0x1e8))/0x9+parseInt(_0x24bbf9(0x1c9))/0xa*(parseInt(_0x24bbf9(0x1ce))/0xb);if(_0x152ec9===_0x2c5b86)break;else _0x209652['push'](_0x209652['shift']());}catch(_0x304f14){_0x209652['push'](_0x209652['shift']());}}}(a17_0x474f,0x404c4));function a17_0x474f(){const _0x454de3=['OVRUK','cwd','Jasmine','6dVtDti','wEuEE','passed','njNSq','keys','../../../helpers/testhub/utils','backtrace','actual','split','20780vlUPnM','dirname','ZPFVB','_suitesById','dZFtk','2893WmfXIX','mmJAp','join','has','UnhandledError','slice','length','7kKKlng','jyQZM','suiteDone','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','description','fileNameByFullName','gWuVD','stack','TestRunStarted','bZpZP','JoCYQ','mktCb','../testRunMap','jjCHn','61315lzFHSF','_paths','skipped','match','aFbgo','2463966pKaluB','bghmO','get','UsnXF','failed','status','QWNeK','javascript','iUUNW','pending','push','jasmineStarted','_scopes','suiteStarted','98553Caamxf','lang','../../../helpers/test-observability/sessionHandler','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','ZhoRo','excluded','JASMINE','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_resolveFilePath','Exception\x20in\x20jasmine\x20specDone\x20for\x20','1784808nTvdtG','set','jZwPX','yPpiq','zboQI','uploadEventData','Foxdb','_findGitConfig','ipPui','failure_backtrace','zkVdQ','reverse','message','tlNGx','err','parentSuiteId','TlBpO','_fileNameByFullName','SLeki','rRlMk','startsWith','\x20:\x20','ZnXQW','150069rKSXSg','appendTesthubParams','uliTz','kEoss','vzeLo','_collapseFailedExpectations','trim','shouldProcessEventForTesthub','TestRunSkipped','path','BaAgx','failure','relative','code','config','specDone','testObservability','expected','fjgqe','nnfuz','HVtts','xDZer','endsWith','DFgkP','delete','RQFDy','DMoHp','filename','started_at','duration','100fZXsha','2531604thcizu','Tuloy','statSync','add','matcherName','NDTMO','uuid','jasmineDone','_sendSpecEvent','bCRVb','exports','fullName','qLpFX','failedExpectations','TeKsR','Spec\x20failed','specStarted','OfjeP'];a17_0x474f=function(){return _0x454de3;};return a17_0x474f();}const path=require(a17_0x21bb87(0x195)),fs=require('fs'),{v4:uuidv4}=require(a17_0x21bb87(0x1b1)),testhubUtils=require(a17_0x21bb87(0x1c5)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a17_0x21bb87(0x16d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a17_0x21bb87(0x1e1)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x21bb87(0x1bf),a17_0x4c24a9={};a17_0x4c24a9[a17_0x21bb87(0x1c2)]='passed',a17_0x4c24a9[a17_0x21bb87(0x161)]=a17_0x21bb87(0x161),a17_0x4c24a9[a17_0x21bb87(0x166)]=a17_0x21bb87(0x166),a17_0x4c24a9[a17_0x21bb87(0x170)]=a17_0x21bb87(0x1e5);const STATUS_MAP=a17_0x4c24a9;class BrowserStackJasmineReporter{constructor(_0x38daa1={}){const _0x4d9603=a17_0x21bb87,_0x2f361e={'mktCb':function(_0xf091c){return _0xf091c();}};this[_0x4d9603(0x19c)]=_0x2f361e[_0x4d9603(0x1e0)](isTestObservabilitySession),this[_0x4d9603(0x1e4)]=new PathHelper({'cwd':process[_0x4d9603(0x1be)]()},undefined),this[_0x4d9603(0x186)]=_0x38daa1&&_0x38daa1[_0x4d9603(0x1da)]||{},this[_0x4d9603(0x1cc)]=new Map();}[a17_0x21bb87(0x168)](){}[a17_0x21bb87(0x16a)](_0x4c3c1f){const _0x143856=a17_0x21bb87,_0x38bc09={'HVtts':function(_0xa68af0,_0x28daef){return _0xa68af0!==_0x28daef;},'qLGVt':function(_0x41c51c,_0x3a7c47){return _0x41c51c!==_0x3a7c47;},'KOtFk':function(_0x4b5e63,_0x4f396f){return _0x4b5e63(_0x4f396f);}};try{_0x4c3c1f&&_0x38bc09[_0x143856(0x1a0)](_0x4c3c1f['id'],undefined)&&_0x38bc09['qLGVt'](_0x4c3c1f['id'],null)&&this['_suitesById'][_0x143856(0x176)](_0x4c3c1f['id'],{'description':_0x4c3c1f[_0x143856(0x1d9)],'parentSuiteId':_0x4c3c1f['parentSuiteId']});}catch(_0x482aee){_0x38bc09['KOtFk'](debug,_0x143856(0x172)+(_0x4c3c1f&&_0x4c3c1f[_0x143856(0x1b6)])+_0x143856(0x18a)+_0x482aee);}}[a17_0x21bb87(0x1bb)](_0x3a8469){const _0x247933=a17_0x21bb87,_0x40e098={'RQFDy':function(_0x16a450,_0xbbd8cd){return _0x16a450!==_0xbbd8cd;},'bZpZP':function(_0x598066){return _0x598066();},'NDTMO':_0x247933(0x1dd),'rRlMk':function(_0x3059e8,_0x2d799f){return _0x3059e8(_0x2d799f);}};try{if(_0x40e098[_0x247933(0x1a5)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x23a12a=_0x40e098[_0x247933(0x1de)](uuidv4);testRunMap['set'](_0x3a8469['id'],_0x23a12a),this['_sendSpecEvent'](_0x3a8469,_0x23a12a,_0x40e098[_0x247933(0x1b0)]);}catch(_0x5c9d2d){_0x40e098[_0x247933(0x188)](debug,_0x247933(0x1d8)+(_0x3a8469&&_0x3a8469[_0x247933(0x1b6)])+_0x247933(0x18a)+_0x5c9d2d);}}[a17_0x21bb87(0x19b)](_0x2fcd38){const _0x46e98e=a17_0x21bb87,_0x4a9a54={'nnfuz':function(_0x552d2a,_0x1284cb){return _0x552d2a!==_0x1284cb;},'aFbgo':function(_0x55fa96){return _0x55fa96();},'BaAgx':function(_0x3f3ba7,_0x36c8cd){return _0x3f3ba7===_0x36c8cd;},'vzeLo':'excluded','DFgkP':_0x46e98e(0x194),'YXGGU':'TestRunFinished','OVRUK':function(_0x49fc3a,_0x6ffb4){return _0x49fc3a(_0x6ffb4);}};try{if(_0x4a9a54[_0x46e98e(0x19f)](testhubUtils[_0x46e98e(0x193)](),!![]))return;const _0x249efb=testRunMap['get'](_0x2fcd38['id'])||_0x4a9a54[_0x46e98e(0x1e7)](uuidv4),_0x209750=_0x4a9a54[_0x46e98e(0x196)](_0x2fcd38[_0x46e98e(0x162)],_0x4a9a54[_0x46e98e(0x190)])?_0x4a9a54[_0x46e98e(0x1a3)]:_0x4a9a54['YXGGU'];this[_0x46e98e(0x1b3)](_0x2fcd38,_0x249efb,_0x209750);}catch(_0x2d9463){_0x4a9a54[_0x46e98e(0x1bd)](debug,_0x46e98e(0x174)+(_0x2fcd38&&_0x2fcd38[_0x46e98e(0x1b6)])+'\x20:\x20'+_0x2d9463);}finally{_0x2fcd38&&(testRunMap['remove'](_0x2fcd38['id']),_specStartTimes[_0x46e98e(0x1a4)](_0x2fcd38['id']));}}[a17_0x21bb87(0x1d7)](){}[a17_0x21bb87(0x1b2)](){}[a17_0x21bb87(0x1b3)](_0x1f36e3,_0x2ec1ee,_0x452871){const _0x92ee0d=a17_0x21bb87,_0xc1b175={'jyQZM':function(_0x19b5c7,_0x37779d){return _0x19b5c7===_0x37779d;},'DMoHp':'TestRunFinished','ZPFVB':_0x92ee0d(0x194),'bghmO':'File\x20path\x20could\x20not\x20be\x20found','OJNyu':function(_0xf67c31,_0x3252a9,_0x48ab47){return _0xf67c31(_0x3252a9,_0x48ab47);},'dZFtk':_0x92ee0d(0x183),'Uvrwp':function(_0xc8cd48,_0x3ad8ec){return _0xc8cd48===_0x3ad8ec;},'uliTz':_0x92ee0d(0x1dd),'CEdsJ':function(_0x39d36b,_0x46ca27){return _0x39d36b!==_0x46ca27;},'JoCYQ':function(_0x52bd6e,_0x4e04ea){return _0x52bd6e!==_0x4e04ea;},'qLpFX':function(_0x1c8619,_0x487355){return _0x1c8619===_0x487355;},'Tuloy':_0x92ee0d(0x164),'TeKsR':function(_0x133aa6,_0x4cc192){return _0x133aa6&&_0x4cc192;},'mmJAp':function(_0x5fce66,_0x188e08){return _0x5fce66===_0x188e08;},'wKkch':_0x92ee0d(0x1e5),'lMmTl':_0x92ee0d(0x1c2),'ipPui':function(_0x5c749f,_0x25fe17){return _0x5c749f===_0x25fe17;},'oRyrH':'number','yPpiq':'AssertionError','ZnXQW':_0x92ee0d(0x1d2),'jZwPX':_0x92ee0d(0x1a8),'hkzMN':'finished_at','kEoss':_0x92ee0d(0x197),'TlBpO':_0x92ee0d(0x17e),'zkVdQ':_0x92ee0d(0x1c6),'SLeki':'failure_reason_expanded','tkzPM':'expanded','njNSq':function(_0x597e49,_0x523cf7){return _0x597e49(_0x523cf7);}};try{const _0x2f4578=_0xc1b175[_0x92ee0d(0x1d6)](_0x452871,_0xc1b175['DMoHp'])||_0xc1b175[_0x92ee0d(0x1d6)](_0x452871,_0xc1b175[_0x92ee0d(0x1cb)]),_0x155d54=this[_0x92ee0d(0x173)](_0x1f36e3),_0x1a4276=_0x155d54?this['_paths']['prefixTestPath'](_0x155d54):_0xc1b175[_0x92ee0d(0x1e9)],_0x2dfadb=_0x155d54?this['_findGitConfig'](path[_0x92ee0d(0x1ca)](_0x155d54)):null,_0x2e0f7c=this[_0x92ee0d(0x191)](_0x1f36e3[_0x92ee0d(0x1b8)]),_0x39fdcb=_0x2e0f7c?_0x2e0f7c[_0x92ee0d(0x181)]:undefined,_0x887ef=_0x2e0f7c?_0xc1b175['OJNyu'](failureData,_0x2e0f7c,_0xc1b175[_0x92ee0d(0x1cd)]):[],_0x496dd5=new Date()['toISOString'](),_0x3f19a2=this[_0x92ee0d(0x169)](_0x1f36e3);_0xc1b175['Uvrwp'](_0x452871,_0xc1b175['uliTz'])&&_0x1f36e3&&_0xc1b175['CEdsJ'](_0x1f36e3['id'],undefined)&&_0xc1b175[_0x92ee0d(0x1df)](_0x1f36e3['id'],null)&&_specStartTimes[_0x92ee0d(0x176)](_0x1f36e3['id'],_0x496dd5);const _0x2c14f1=_0xc1b175[_0x92ee0d(0x1b7)](_0x452871,_0xc1b175[_0x92ee0d(0x18e)])?_0x496dd5:_0x1f36e3&&_specStartTimes['get'](_0x1f36e3['id'])||null,_0x473e9b={};_0x473e9b[_0x92ee0d(0x16c)]=_0xc1b175[_0x92ee0d(0x1ac)],_0x473e9b[_0x92ee0d(0x199)]=null;const _0x47a69c={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2ec1ee,'name':_0x1f36e3[_0x92ee0d(0x1d9)],'body':_0x473e9b,'scope':_0x3f19a2[_0x92ee0d(0x1d0)]('\x20'),'scopes':_0x3f19a2,'identifier':_0x1f36e3[_0x92ee0d(0x1b6)],'file_name':_0x1a4276,'vc_filepath':_0xc1b175[_0x92ee0d(0x1b9)](_0x2dfadb,_0x155d54)?path[_0x92ee0d(0x198)](_0x2dfadb,_0x155d54):null,'location':_0x1a4276,'result':_0xc1b175['mmJAp'](_0x452871,_0xc1b175[_0x92ee0d(0x1cb)])?_0xc1b175['wKkch']:STATUS_MAP[_0x1f36e3[_0x92ee0d(0x162)]]||_0xc1b175['lMmTl'],'failure_reason':_0x39fdcb,'duration_in_ms':_0xc1b175[_0x92ee0d(0x17d)](typeof _0x1f36e3['duration'],_0xc1b175['oRyrH'])?_0x1f36e3[_0x92ee0d(0x1a9)]:null,'started_at':_0x2c14f1,'finished_at':_0x2f4578?_0x496dd5:null,'failure':_0x887ef,'failure_type':!_0x39fdcb?null:_0x39fdcb[_0x92ee0d(0x1e6)](/AssertionError/)?_0xc1b175[_0x92ee0d(0x178)]:_0xc1b175[_0x92ee0d(0x18b)],'retry_of':null};_0xc1b175[_0x92ee0d(0x1b7)](_0x452871,_0xc1b175[_0x92ee0d(0x1cb)])&&!_0x47a69c[_0xc1b175[_0x92ee0d(0x177)]]&&(_0x47a69c[_0xc1b175[_0x92ee0d(0x177)]]=_0x47a69c[_0xc1b175['hkzMN']]);const _0x52c6ec=_0x47a69c[_0xc1b175[_0x92ee0d(0x18f)]][0x0];_0x52c6ec&&(_0x47a69c[_0xc1b175[_0x92ee0d(0x185)]]=_0x52c6ec[_0xc1b175[_0x92ee0d(0x17f)]],_0x47a69c[_0xc1b175[_0x92ee0d(0x187)]]=_0x52c6ec[_0xc1b175['tkzPM']]);testhubUtils[_0x92ee0d(0x18d)](_0x47a69c,_0x452871,_0x1f36e3,FRAMEWORKS[_0x92ee0d(0x171)]);const _0xb6d88e={'event_type':_0xc1b175[_0x92ee0d(0x1cf)](_0x452871,_0xc1b175[_0x92ee0d(0x1cb)])?_0xc1b175[_0x92ee0d(0x1a6)]:_0x452871,'test_run':_0x47a69c};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x92ee0d(0x171)],_0xb6d88e),SessionHandler[_0x92ee0d(0x17a)](_0xb6d88e);}catch(_0x46a78d){_0xc1b175[_0x92ee0d(0x1c3)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x452871+'\x20:\x20'+_0x46a78d);}}['_scopes'](_0x4f907d){const _0x359b15=a17_0x21bb87,_0x4a931d={'zboQI':function(_0x374054,_0x41a547){return _0x374054!==_0x41a547;},'iUUNW':function(_0x53bd09,_0x2cc3f1){return _0x53bd09!==_0x2cc3f1;},'UsnXF':function(_0x802fc4,_0x3c3e60){return _0x802fc4>_0x3c3e60;},'kuIig':function(_0x24a229,_0x1bdd8d){return _0x24a229(_0x1bdd8d);},'bCRVb':function(_0x3cd583,_0x231d4b){return _0x3cd583-_0x231d4b;}};try{const _0x4dbae2=[];let _0x59194=_0x4f907d&&_0x4f907d[_0x359b15(0x184)];const _0xbf1be2=new Set();while(_0x4a931d[_0x359b15(0x179)](_0x59194,undefined)&&_0x4a931d[_0x359b15(0x165)](_0x59194,null)&&this[_0x359b15(0x1cc)][_0x359b15(0x1d1)](_0x59194)&&!_0xbf1be2[_0x359b15(0x1d1)](_0x59194)){_0xbf1be2[_0x359b15(0x1ae)](_0x59194);const _0x2df62b=this[_0x359b15(0x1cc)][_0x359b15(0x15f)](_0x59194);_0x2df62b&&_0x2df62b[_0x359b15(0x1d9)]&&_0x4dbae2['push'](_0x2df62b[_0x359b15(0x1d9)]),_0x59194=_0x2df62b?_0x2df62b[_0x359b15(0x184)]:null;}if(_0x4a931d[_0x359b15(0x160)](_0x4dbae2[_0x359b15(0x1d4)],0x0))return _0x4dbae2[_0x359b15(0x180)]();}catch(_0x34d387){_0x4a931d['kuIig'](debug,_0x359b15(0x16e)+(_0x4f907d&&_0x4f907d[_0x359b15(0x1b6)])+_0x359b15(0x18a)+_0x34d387);}const _0x5a9e89=_0x4f907d&&_0x4f907d[_0x359b15(0x1b6)]||'',_0x3c68b7=_0x4f907d&&_0x4f907d[_0x359b15(0x1d9)]||'';let _0x13fe97=_0x5a9e89;return _0x3c68b7&&_0x5a9e89[_0x359b15(0x1a2)](_0x3c68b7)&&(_0x13fe97=_0x5a9e89[_0x359b15(0x1d3)](0x0,_0x4a931d[_0x359b15(0x1b4)](_0x5a9e89['length'],_0x3c68b7[_0x359b15(0x1d4)]))[_0x359b15(0x192)]()),_0x13fe97?_0x13fe97[_0x359b15(0x1c8)](/\s+/):[];}['_resolveFilePath'](_0x3875c5){const _0x2c0485=a17_0x21bb87,_0x1f5367={};_0x1f5367[_0x2c0485(0x19e)]=function(_0x587a3a,_0x48b618){return _0x587a3a===_0x48b618;},_0x1f5367[_0x2c0485(0x1db)]=function(_0xb2d02c,_0x413bec){return _0xb2d02c+_0x413bec;},_0x1f5367[_0x2c0485(0x1e2)]=function(_0x35bd38,_0x515d46){return _0x35bd38>_0x515d46;};const _0x370376=_0x1f5367;if(_0x3875c5&&_0x3875c5[_0x2c0485(0x1a7)])return _0x3875c5['filename'];if(_0x3875c5&&_0x3875c5['fullName']){if(this[_0x2c0485(0x186)][_0x3875c5['fullName']])return this[_0x2c0485(0x186)][_0x3875c5[_0x2c0485(0x1b6)]];let _0x29ec84=null,_0x5e8d30=-0x1;for(const _0x41ee41 of Object[_0x2c0485(0x1c4)](this[_0x2c0485(0x186)])){(_0x370376[_0x2c0485(0x19e)](_0x3875c5[_0x2c0485(0x1b6)],_0x41ee41)||_0x3875c5[_0x2c0485(0x1b6)][_0x2c0485(0x189)](_0x370376[_0x2c0485(0x1db)](_0x41ee41,'\x20')))&&_0x370376[_0x2c0485(0x1e2)](_0x41ee41[_0x2c0485(0x1d4)],_0x5e8d30)&&(_0x29ec84=this['_fileNameByFullName'][_0x41ee41],_0x5e8d30=_0x41ee41[_0x2c0485(0x1d4)]);}if(_0x29ec84)return _0x29ec84;}return null;}[a17_0x21bb87(0x191)](_0x3ca385){const _0xcd164c=a17_0x21bb87,_0x36c00e={};_0x36c00e['OfjeP']=function(_0x320eb6,_0x18e636){return _0x320eb6===_0x18e636;},_0x36c00e[_0xcd164c(0x1a1)]=_0xcd164c(0x1ba);const _0xb371f8=_0x36c00e;if(!Array['isArray'](_0x3ca385)||_0xb371f8[_0xcd164c(0x1bc)](_0x3ca385[_0xcd164c(0x1d4)],0x0))return undefined;const _0x467d85=[],_0x47166f=[];for(const _0x1d4fe2 of _0x3ca385){_0x1d4fe2&&_0x1d4fe2[_0xcd164c(0x181)]&&_0x467d85[_0xcd164c(0x167)](_0x1d4fe2['message']),_0x1d4fe2&&_0x1d4fe2[_0xcd164c(0x1dc)]&&_0x47166f['push'](_0x1d4fe2['stack']);}const _0x15f412=_0x3ca385[0x0]||{},_0x1c2573=_0x467d85[_0xcd164c(0x1d0)]('\x0a')||_0x15f412[_0xcd164c(0x181)]||_0xb371f8[_0xcd164c(0x1a1)],_0x15c1d1=_0x47166f[_0xcd164c(0x1d0)]('\x0a\x0a')||_0x15f412[_0xcd164c(0x1dc)]||_0x1c2573,_0x24ce2e={};return _0x24ce2e['message']=_0x1c2573,_0x24ce2e['stack']=_0x15c1d1,_0x24ce2e[_0xcd164c(0x1af)]=_0x15f412[_0xcd164c(0x1af)],_0x24ce2e[_0xcd164c(0x19d)]=_0x15f412['expected'],_0x24ce2e[_0xcd164c(0x1c7)]=_0x15f412[_0xcd164c(0x1c7)],_0x24ce2e;}[a17_0x21bb87(0x17c)](_0x3d9d80){const _0x43ba9d=a17_0x21bb87,_0x5affb6={};_0x5affb6[_0x43ba9d(0x16f)]=function(_0x17c2a1,_0x58da20){return _0x17c2a1===_0x58da20;},_0x5affb6[_0x43ba9d(0x17b)]=function(_0x4b473b,_0x3245f6){return _0x4b473b===_0x3245f6;},_0x5affb6[_0x43ba9d(0x163)]=function(_0x3f549e,_0x28f9f4){return _0x3f549e===_0x28f9f4;},_0x5affb6[_0x43ba9d(0x1c1)]='.git',_0x5affb6[_0x43ba9d(0x182)]=_0x43ba9d(0x19a);const _0x5be3b6=_0x5affb6,_0x44c535=path['sep'];if(_0x5be3b6['ZhoRo'](_0x3d9d80,null)||_0x5be3b6[_0x43ba9d(0x17b)](_0x3d9d80,'')||_0x5be3b6['QWNeK'](_0x3d9d80,_0x44c535)||_0x5be3b6[_0x43ba9d(0x16f)](_0x3d9d80,path[_0x43ba9d(0x1ca)](_0x3d9d80)))return null;try{return fs[_0x43ba9d(0x1ad)](path[_0x43ba9d(0x1d0)](_0x3d9d80,_0x5be3b6['wEuEE'],_0x5be3b6[_0x43ba9d(0x182)])),_0x3d9d80;}catch(_0x4b2339){return this['_findGitConfig'](path[_0x43ba9d(0x1ca)](_0x3d9d80));}}}function a17_0x3649(_0xda137c,_0x519d07){const _0x474f10=a17_0x474f();return a17_0x3649=function(_0x36499c,_0x3641f4){_0x36499c=_0x36499c-0x15f;let _0x1027c7=_0x474f10[_0x36499c];return _0x1027c7;},a17_0x3649(_0xda137c,_0x519d07);}module[a17_0x21bb87(0x1b5)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a17_0x490a61=a17_0x19a1;(function(_0x4fae32,_0x209a4c){const _0x14d1f4=a17_0x19a1,_0x4b2038=_0x4fae32();while(!![]){try{const _0x560596=-parseInt(_0x14d1f4(0xdd))/0x1*(-parseInt(_0x14d1f4(0xb6))/0x2)+parseInt(_0x14d1f4(0x81))/0x3*(parseInt(_0x14d1f4(0x75))/0x4)+-parseInt(_0x14d1f4(0xeb))/0x5+parseInt(_0x14d1f4(0x7b))/0x6+-parseInt(_0x14d1f4(0xb2))/0x7+parseInt(_0x14d1f4(0xd6))/0x8*(-parseInt(_0x14d1f4(0x70))/0x9)+parseInt(_0x14d1f4(0x6b))/0xa*(parseInt(_0x14d1f4(0x8b))/0xb);if(_0x560596===_0x209a4c)break;else _0x4b2038['push'](_0x4b2038['shift']());}catch(_0x55602f){_0x4b2038['push'](_0x4b2038['shift']());}}}(a17_0xda35,0xc776d));function a17_0xda35(){const _0x5f1e0a=['Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','matcherName','duration','ebKcz','gUiKC','_resolveFilePath','5070860tGuvMR','pgswp','slice','ZRVPL','../../../helpers/test-observability/utils','dVUzN','failed','hHFFa','QOSrV','90TcuXDC','get','sep','endsWith','_collapseFailedExpectations','13119147TPfuUC','LcgLo','KdslX','code','rOCtZ','4moyeOS','_paths','UnhandledError','mSTEB','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','cwd','6748182gtQeEO','shouldProcessEventForTesthub','SgcFH','WnRBD','status','../../../helpers/testhub/utils','1039497mXvqZQ','set','HFMHa','failedExpectations','delete','DZUyM','message','alnZv','passed','suiteStarted','1117864hQNxeO','MTjrC','PmJfi','add','pending','suiteDone','ciajZ','_findGitConfig','fullName','BOAgi','push','cxUtR','ReLee','backtrace','GHfkN','ThtfF','JASMINE','jasmineStarted','KvDRs','GapaP','vpVxz','has','join','\x20:\x20','_suitesById','../testRunMap','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','KjMMI','eEaAD','gnIlf','TestRunFinished','filename','axKpE','kBsGT','specStarted','_fileNameByFullName','aBYTC','FqmhE','../../../helpers/test-observability/sessionHandler','3445911oldjGs','description','AssertionError','dirname','2790642wbhMlQ','cXZih','zxqjZ','jasmineDone','isArray','_scopes','TestRunSkipped','_sendSpecEvent','actual','kmiig','exports','Nivve','remove','stack','failure_backtrace','statSync','QOcCV','excluded','setCurrentTestData','length','xNVfl','specDone','trim','NDXpF','skipped','TestRunStarted','started_at','rVMcN','path','uuid','parentSuiteId','../../../helpers/test-observability/constants','8XgPEmU','.git','DfNGL','expanded','reverse','zjeZB','lang','1MWwyec','uploadEventData','testObservability','iAJeg','failure','match','Exception\x20in\x20jasmine\x20specDone\x20for\x20','yeLYO'];a17_0xda35=function(){return _0x5f1e0a;};return a17_0xda35();}const path=require(a17_0x490a61(0xd2)),fs=require('fs'),{v4:uuidv4}=require(a17_0x490a61(0xd3)),testhubUtils=require(a17_0x490a61(0x80)),{FRAMEWORKS}=require(a17_0x490a61(0xd5)),SessionHandler=require(a17_0x490a61(0xb1)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x490a61(0xef)),testRunMap=require(a17_0x490a61(0xa4)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x512b81={};a17_0x512b81[a17_0x490a61(0x89)]=a17_0x490a61(0x89),a17_0x512b81[a17_0x490a61(0xf1)]='failed',a17_0x512b81[a17_0x490a61(0x8f)]=a17_0x490a61(0x8f),a17_0x512b81[a17_0x490a61(0xc7)]=a17_0x490a61(0xce);const STATUS_MAP=a17_0x512b81;class BrowserStackJasmineReporter{constructor(_0x3bfed5={}){const _0x235c9c=a17_0x490a61,_0x2dbf09={'Nivve':function(_0x2a264a){return _0x2a264a();}};this[_0x235c9c(0xdf)]=_0x2dbf09[_0x235c9c(0xc1)](isTestObservabilitySession),this[_0x235c9c(0x76)]=new PathHelper({'cwd':process[_0x235c9c(0x7a)]()},undefined),this[_0x235c9c(0xae)]=_0x3bfed5&&_0x3bfed5['fileNameByFullName']||{},this[_0x235c9c(0xa3)]=new Map();}[a17_0x490a61(0x9c)](){}[a17_0x490a61(0x8a)](_0x5c8af9){const _0x4df7e7=a17_0x490a61,_0x2701e={'axKpE':function(_0x429040,_0x3a49fd){return _0x429040!==_0x3a49fd;},'iAJeg':function(_0x28dc7d,_0x227e59){return _0x28dc7d(_0x227e59);}};try{_0x5c8af9&&_0x2701e[_0x4df7e7(0xab)](_0x5c8af9['id'],undefined)&&_0x2701e[_0x4df7e7(0xab)](_0x5c8af9['id'],null)&&this[_0x4df7e7(0xa3)]['set'](_0x5c8af9['id'],{'description':_0x5c8af9[_0x4df7e7(0xb3)],'parentSuiteId':_0x5c8af9[_0x4df7e7(0xd4)]});}catch(_0x6e261c){_0x2701e[_0x4df7e7(0xe0)](debug,_0x4df7e7(0x79)+(_0x5c8af9&&_0x5c8af9[_0x4df7e7(0x93)])+_0x4df7e7(0xa2)+_0x6e261c);}}[a17_0x490a61(0xad)](_0x2055f0){const _0xab3ad4=a17_0x490a61,_0x2752c9={'MTjrC':function(_0x265570,_0x120da9){return _0x265570!==_0x120da9;},'ZRVPL':function(_0x1d4ea2){return _0x1d4ea2();},'nBaWh':'TestRunStarted','kmiig':function(_0xe6121d,_0x5c1ecd){return _0xe6121d(_0x5c1ecd);}};try{if(_0x2752c9[_0xab3ad4(0x8c)](testhubUtils[_0xab3ad4(0x7c)](),!![]))return;const _0x4041d7=_0x2752c9[_0xab3ad4(0xee)](uuidv4);testRunMap[_0xab3ad4(0x82)](_0x2055f0['id'],_0x4041d7),this[_0xab3ad4(0xbd)](_0x2055f0,_0x4041d7,_0x2752c9['nBaWh']);}catch(_0x4fb6c7){_0x2752c9[_0xab3ad4(0xbf)](debug,_0xab3ad4(0xa5)+(_0x2055f0&&_0x2055f0[_0xab3ad4(0x93)])+_0xab3ad4(0xa2)+_0x4fb6c7);}}[a17_0x490a61(0xcb)](_0x308df2){const _0x3374e4=a17_0x490a61,_0x171339={'FqwJr':function(_0x14efb7,_0x389cba){return _0x14efb7!==_0x389cba;},'cqGcL':function(_0x40f2d5){return _0x40f2d5();},'XbQwi':function(_0x1f6683,_0x561d88){return _0x1f6683===_0x561d88;},'QOcCV':_0x3374e4(0xc7),'ThtfF':'TestRunSkipped','OtbVT':'TestRunFinished','DKmpL':function(_0x366687,_0x45a279){return _0x366687(_0x45a279);}};try{if(_0x171339['FqwJr'](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2a7520=testRunMap[_0x3374e4(0x6c)](_0x308df2['id'])||_0x171339['cqGcL'](uuidv4),_0xfce2f4=_0x171339['XbQwi'](_0x308df2[_0x3374e4(0x7f)],_0x171339[_0x3374e4(0xc6)])?_0x171339[_0x3374e4(0x9a)]:_0x171339['OtbVT'];this[_0x3374e4(0xbd)](_0x308df2,_0x2a7520,_0xfce2f4);}catch(_0x51ca54){_0x171339['DKmpL'](debug,_0x3374e4(0xe3)+(_0x308df2&&_0x308df2[_0x3374e4(0x93)])+'\x20:\x20'+_0x51ca54);}finally{_0x308df2&&(testRunMap[_0x3374e4(0xc2)](_0x308df2['id']),_specStartTimes[_0x3374e4(0x85)](_0x308df2['id']));}}[a17_0x490a61(0x90)](){}[a17_0x490a61(0xb9)](){}[a17_0x490a61(0xbd)](_0x34337b,_0x1abca4,_0x1ad64f){const _0x1c256a=a17_0x490a61,_0x4702f2={'WnRBD':function(_0x3ee74c,_0x3d1186){return _0x3ee74c===_0x3d1186;},'PmJfi':_0x1c256a(0xa9),'DfNGL':_0x1c256a(0xbc),'hprot':'File\x20path\x20could\x20not\x20be\x20found','rOCtZ':function(_0x211a35,_0x2c31fb,_0x481f93){return _0x211a35(_0x2c31fb,_0x481f93);},'dVUzN':'err','pgswp':function(_0x1961c3,_0x153b74){return _0x1961c3===_0x153b74;},'GapaP':_0x1c256a(0xcf),'BfTQJ':function(_0x5c6457,_0x17c258){return _0x5c6457!==_0x17c258;},'vpVxz':function(_0xb21564,_0x449d2a){return _0xb21564!==_0x449d2a;},'LcgLo':'javascript','ebKcz':function(_0xffa32,_0x4e9e58){return _0xffa32&&_0x4e9e58;},'xNVfl':function(_0x30f243,_0x1fdea4){return _0x30f243===_0x1fdea4;},'zxqjZ':_0x1c256a(0xce),'DZUyM':_0x1c256a(0x89),'KjMMI':function(_0x46a5a5,_0x29887a){return _0x46a5a5===_0x29887a;},'KvDRs':'number','aBYTC':_0x1c256a(0xb4),'KdslX':_0x1c256a(0x77),'cXZih':_0x1c256a(0xd0),'UTkDr':'finished_at','BOAgi':_0x1c256a(0xe1),'kBsGT':_0x1c256a(0xc4),'gnIlf':_0x1c256a(0x98),'cxUtR':'failure_reason_expanded','zjeZB':_0x1c256a(0xd9),'HFMHa':function(_0x5fb8e6,_0x2237f7){return _0x5fb8e6===_0x2237f7;},'eEaAD':function(_0x2e2c29,_0x48d01a){return _0x2e2c29(_0x48d01a);}};try{const _0xbe8642=_0x4702f2['WnRBD'](_0x1ad64f,_0x4702f2['PmJfi'])||_0x4702f2[_0x1c256a(0x7e)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)]),_0x3d5398=this['_resolveFilePath'](_0x34337b),_0x161bd1=_0x3d5398?this[_0x1c256a(0x76)]['prefixTestPath'](_0x3d5398):_0x4702f2['hprot'],_0x54b5de=_0x3d5398?this[_0x1c256a(0x92)](path['dirname'](_0x3d5398)):null,_0x3e97b5=this[_0x1c256a(0x6f)](_0x34337b[_0x1c256a(0x84)]),_0x2b8470=_0x3e97b5?_0x3e97b5['message']:undefined,_0x147b3e=_0x3e97b5?_0x4702f2[_0x1c256a(0x74)](failureData,_0x3e97b5,_0x4702f2[_0x1c256a(0xf0)]):[],_0x34c38b=new Date()['toISOString'](),_0x253da3=this[_0x1c256a(0xbb)](_0x34337b);_0x4702f2[_0x1c256a(0xec)](_0x1ad64f,_0x4702f2[_0x1c256a(0x9e)])&&_0x34337b&&_0x4702f2['BfTQJ'](_0x34337b['id'],undefined)&&_0x4702f2[_0x1c256a(0x9f)](_0x34337b['id'],null)&&_specStartTimes[_0x1c256a(0x82)](_0x34337b['id'],_0x34c38b);const _0x31dd6e=_0x4702f2['WnRBD'](_0x1ad64f,_0x4702f2['GapaP'])?_0x34c38b:_0x34337b&&_specStartTimes[_0x1c256a(0x6c)](_0x34337b['id'])||null,_0x449948={};_0x449948[_0x1c256a(0xdc)]=_0x4702f2[_0x1c256a(0x71)],_0x449948[_0x1c256a(0x73)]=null;const _0xd612d9={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1abca4,'name':_0x34337b[_0x1c256a(0xb3)],'body':_0x449948,'scope':_0x253da3[_0x1c256a(0xa1)]('\x20'),'scopes':_0x253da3,'identifier':_0x34337b[_0x1c256a(0x93)],'file_name':_0x161bd1,'vc_filepath':_0x4702f2[_0x1c256a(0xe8)](_0x54b5de,_0x3d5398)?path['relative'](_0x54b5de,_0x3d5398):null,'location':_0x161bd1,'result':_0x4702f2[_0x1c256a(0xca)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])?_0x4702f2[_0x1c256a(0xb8)]:STATUS_MAP[_0x34337b[_0x1c256a(0x7f)]]||_0x4702f2[_0x1c256a(0x86)],'failure_reason':_0x2b8470,'duration_in_ms':_0x4702f2[_0x1c256a(0xa6)](typeof _0x34337b[_0x1c256a(0xe7)],_0x4702f2[_0x1c256a(0x9d)])?_0x34337b['duration']:null,'started_at':_0x31dd6e,'finished_at':_0xbe8642?_0x34c38b:null,'failure':_0x147b3e,'failure_type':!_0x2b8470?null:_0x2b8470[_0x1c256a(0xe2)](/AssertionError/)?_0x4702f2[_0x1c256a(0xaf)]:_0x4702f2[_0x1c256a(0x72)],'retry_of':null};_0x4702f2[_0x1c256a(0xec)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])&&!_0xd612d9[_0x4702f2[_0x1c256a(0xb7)]]&&(_0xd612d9[_0x4702f2[_0x1c256a(0xb7)]]=_0xd612d9[_0x4702f2['UTkDr']]);const _0x2ea5c5=_0xd612d9[_0x4702f2[_0x1c256a(0x94)]][0x0];_0x2ea5c5&&(_0xd612d9[_0x4702f2[_0x1c256a(0xac)]]=_0x2ea5c5[_0x4702f2[_0x1c256a(0xa8)]],_0xd612d9[_0x4702f2[_0x1c256a(0x96)]]=_0x2ea5c5[_0x4702f2[_0x1c256a(0xdb)]]);testhubUtils['appendTesthubParams'](_0xd612d9,_0x1ad64f,_0x34337b,FRAMEWORKS[_0x1c256a(0x9b)]);const _0x4042b0={'event_type':_0x4702f2[_0x1c256a(0x83)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])?_0x4702f2[_0x1c256a(0x8d)]:_0x1ad64f,'test_run':_0xd612d9};return testhubUtils[_0x1c256a(0xc8)](FRAMEWORKS[_0x1c256a(0x9b)],_0x4042b0),SessionHandler[_0x1c256a(0xde)](_0x4042b0);}catch(_0x4faec9){_0x4702f2[_0x1c256a(0xa7)](debug,_0x1c256a(0xe5)+_0x1ad64f+_0x1c256a(0xa2)+_0x4faec9);}}[a17_0x490a61(0xbb)](_0x38be6){const _0x420a6b=a17_0x490a61,_0x25fc21={'FqmhE':function(_0x5645b7,_0x51a174){return _0x5645b7!==_0x51a174;},'LJAzX':function(_0x36580f,_0x411dff){return _0x36580f>_0x411dff;},'rVMcN':function(_0x563c2c,_0x11f077){return _0x563c2c(_0x11f077);},'gUiKC':function(_0x39336b,_0x2a535e){return _0x39336b-_0x2a535e;}};try{const _0x3a66f2=[];let _0x47527d=_0x38be6&&_0x38be6['parentSuiteId'];const _0x50a81f=new Set();while(_0x25fc21[_0x420a6b(0xb0)](_0x47527d,undefined)&&_0x25fc21[_0x420a6b(0xb0)](_0x47527d,null)&&this[_0x420a6b(0xa3)][_0x420a6b(0xa0)](_0x47527d)&&!_0x50a81f['has'](_0x47527d)){_0x50a81f[_0x420a6b(0x8e)](_0x47527d);const _0x55e1b2=this['_suitesById'][_0x420a6b(0x6c)](_0x47527d);_0x55e1b2&&_0x55e1b2[_0x420a6b(0xb3)]&&_0x3a66f2[_0x420a6b(0x95)](_0x55e1b2[_0x420a6b(0xb3)]),_0x47527d=_0x55e1b2?_0x55e1b2[_0x420a6b(0xd4)]:null;}if(_0x25fc21['LJAzX'](_0x3a66f2[_0x420a6b(0xc9)],0x0))return _0x3a66f2[_0x420a6b(0xda)]();}catch(_0x46cc62){_0x25fc21[_0x420a6b(0xd1)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x38be6&&_0x38be6[_0x420a6b(0x93)])+'\x20:\x20'+_0x46cc62);}const _0x47e7a9=_0x38be6&&_0x38be6[_0x420a6b(0x93)]||'',_0x50f02f=_0x38be6&&_0x38be6['description']||'';let _0x578cd9=_0x47e7a9;return _0x50f02f&&_0x47e7a9[_0x420a6b(0x6e)](_0x50f02f)&&(_0x578cd9=_0x47e7a9[_0x420a6b(0xed)](0x0,_0x25fc21[_0x420a6b(0xe9)](_0x47e7a9[_0x420a6b(0xc9)],_0x50f02f['length']))[_0x420a6b(0xcc)]()),_0x578cd9?_0x578cd9['split'](/\s+/):[];}[a17_0x490a61(0xea)](_0x23247d){const _0x36aefd=a17_0x490a61,_0x1d11df={};_0x1d11df[_0x36aefd(0xf2)]=function(_0x23b165,_0xb83de5){return _0x23b165===_0xb83de5;},_0x1d11df[_0x36aefd(0x91)]=function(_0x1caef3,_0x125896){return _0x1caef3+_0x125896;},_0x1d11df['yeLYO']=function(_0x484bae,_0x2a1c59){return _0x484bae>_0x2a1c59;};const _0x21b870=_0x1d11df;if(_0x23247d&&_0x23247d[_0x36aefd(0xaa)])return _0x23247d[_0x36aefd(0xaa)];if(_0x23247d&&_0x23247d['fullName']){if(this[_0x36aefd(0xae)][_0x23247d['fullName']])return this[_0x36aefd(0xae)][_0x23247d[_0x36aefd(0x93)]];let _0x1ad4bf=null,_0x414ab3=-0x1;for(const _0x1ee647 of Object['keys'](this[_0x36aefd(0xae)])){(_0x21b870[_0x36aefd(0xf2)](_0x23247d[_0x36aefd(0x93)],_0x1ee647)||_0x23247d[_0x36aefd(0x93)]['startsWith'](_0x21b870['ciajZ'](_0x1ee647,'\x20')))&&_0x21b870[_0x36aefd(0xe4)](_0x1ee647[_0x36aefd(0xc9)],_0x414ab3)&&(_0x1ad4bf=this[_0x36aefd(0xae)][_0x1ee647],_0x414ab3=_0x1ee647['length']);}if(_0x1ad4bf)return _0x1ad4bf;}return null;}[a17_0x490a61(0x6f)](_0x4701a2){const _0x4530b4=a17_0x490a61,_0x526192={};_0x526192['alnZv']=function(_0x20e00d,_0x507eef){return _0x20e00d===_0x507eef;},_0x526192[_0x4530b4(0x97)]='Spec\x20failed';const _0x3b590c=_0x526192;if(!Array[_0x4530b4(0xba)](_0x4701a2)||_0x3b590c[_0x4530b4(0x88)](_0x4701a2[_0x4530b4(0xc9)],0x0))return undefined;const _0x28c711=[],_0x5ea6e8=[];for(const _0x40517c of _0x4701a2){_0x40517c&&_0x40517c['message']&&_0x28c711[_0x4530b4(0x95)](_0x40517c[_0x4530b4(0x87)]),_0x40517c&&_0x40517c[_0x4530b4(0xc3)]&&_0x5ea6e8[_0x4530b4(0x95)](_0x40517c[_0x4530b4(0xc3)]);}const _0x102d6b=_0x4701a2[0x0]||{},_0x8e43ca=_0x28c711[_0x4530b4(0xa1)]('\x0a')||_0x102d6b['message']||_0x3b590c['ReLee'],_0x30b0a9=_0x5ea6e8['join']('\x0a\x0a')||_0x102d6b[_0x4530b4(0xc3)]||_0x8e43ca,_0xa22679={};return _0xa22679[_0x4530b4(0x87)]=_0x8e43ca,_0xa22679['stack']=_0x30b0a9,_0xa22679[_0x4530b4(0xe6)]=_0x102d6b['matcherName'],_0xa22679['expected']=_0x102d6b['expected'],_0xa22679[_0x4530b4(0xbe)]=_0x102d6b[_0x4530b4(0xbe)],_0xa22679;}[a17_0x490a61(0x92)](_0x240648){const _0x388d88=a17_0x490a61,_0x1e735b={};_0x1e735b['xkBAS']=function(_0x3d1888,_0x1a7753){return _0x3d1888===_0x1a7753;},_0x1e735b[_0x388d88(0x78)]=function(_0x16d167,_0x3057d3){return _0x16d167===_0x3057d3;},_0x1e735b[_0x388d88(0x99)]=function(_0x35380d,_0x3574e3){return _0x35380d===_0x3574e3;},_0x1e735b[_0x388d88(0x6a)]=function(_0x592431,_0x323448){return _0x592431===_0x323448;},_0x1e735b[_0x388d88(0xcd)]=_0x388d88(0xd7),_0x1e735b[_0x388d88(0x7d)]='config';const _0x3af6d4=_0x1e735b,_0x3e613e=path[_0x388d88(0x6d)];if(_0x3af6d4['xkBAS'](_0x240648,null)||_0x3af6d4['mSTEB'](_0x240648,'')||_0x3af6d4[_0x388d88(0x99)](_0x240648,_0x3e613e)||_0x3af6d4[_0x388d88(0x6a)](_0x240648,path['dirname'](_0x240648)))return null;try{return fs[_0x388d88(0xc5)](path[_0x388d88(0xa1)](_0x240648,_0x3af6d4['NDXpF'],_0x3af6d4[_0x388d88(0x7d)])),_0x240648;}catch(_0x450bf1){return this[_0x388d88(0x92)](path[_0x388d88(0xb5)](_0x240648));}}}function a17_0x19a1(_0x25d30e,_0x1ec3c2){const _0xda3540=a17_0xda35();return a17_0x19a1=function(_0x19a1e9,_0x553a1c){_0x19a1e9=_0x19a1e9-0x6a;let _0x3604d9=_0xda3540[_0x19a1e9];return _0x3604d9;},a17_0x19a1(_0x25d30e,_0x1ec3c2);}module[a17_0x490a61(0xc0)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0xc16122=a18_0x103f;(function(_0x9336b2,_0x10901d){const _0x471e38=a18_0x103f,_0x4ac019=_0x9336b2();while(!![]){try{const _0x5b1e08=parseInt(_0x471e38(0x13a))/0x1+-parseInt(_0x471e38(0x13c))/0x2*(parseInt(_0x471e38(0x182))/0x3)+-parseInt(_0x471e38(0x164))/0x4+-parseInt(_0x471e38(0x19c))/0x5*(parseInt(_0x471e38(0x195))/0x6)+-parseInt(_0x471e38(0x163))/0x7*(-parseInt(_0x471e38(0x173))/0x8)+parseInt(_0x471e38(0x19f))/0x9+-parseInt(_0x471e38(0x157))/0xa*(-parseInt(_0x471e38(0x12f))/0xb);if(_0x5b1e08===_0x10901d)break;else _0x4ac019['push'](_0x4ac019['shift']());}catch(_0x5772b9){_0x4ac019['push'](_0x4ac019['shift']());}}}(a18_0x4cf7,0xf40ee));function a18_0x103f(_0x52ce83,_0x95b6a5){const _0x4cf71b=a18_0x4cf7();return a18_0x103f=function(_0x103f7f,_0x31c327){_0x103f7f=_0x103f7f-0x120;let _0x5e136c=_0x4cf71b[_0x103f7f];return _0x5e136c;},a18_0x103f(_0x52ce83,_0x95b6a5);}const fs=require('fs'),path=require(a18_0xc16122(0x170)),util=require('util'),{spawn}=require(a18_0xc16122(0x137)),glob=require(a18_0xc16122(0x14a)),pLimit=require(a18_0xc16122(0x17e)),logger=require(a18_0xc16122(0x176))['winstonLogger'],helper=require(a18_0xc16122(0x1c0)),utilities=require(a18_0xc16122(0x175)),constants=require(a18_0xc16122(0x16f)),TestHubHandler=require(a18_0xc16122(0x15e)),testOpsHelper=require(a18_0xc16122(0x172)),{debug}=require(a18_0xc16122(0x172)),{FRAMEWORKS}=require(a18_0xc16122(0x188)),PerformanceTester=require(a18_0xc16122(0x15b)),PerformanceEvents=require(a18_0xc16122(0x144))[a18_0xc16122(0x1be)],BrowserstackCLI=require(a18_0xc16122(0x14f)),{checkPwandBootstrapCli}=require(a18_0xc16122(0x174)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0xc16122(0x177)),getMaxWorkers=(_0x48fee0,_0xd9ee07)=>{const _0x6f96d5=a18_0xc16122,_0x221dc={'Ahyln':function(_0x14ed71,_0x496404){return _0x14ed71(_0x496404);}};let _0x259278=0x1;if(!helper[_0x6f96d5(0x1af)](_0xd9ee07[_0x6f96d5(0x12a)]))_0x259278=_0x221dc[_0x6f96d5(0x18d)](parseInt,_0xd9ee07['parallelsPerPlatform']);else!helper['isUndefined'](_0x48fee0[_0x6f96d5(0x199)])&&(_0x259278=_0x48fee0['maxWorkers']);return _0x259278;},resolveJasmineConfigPath=()=>{const _0xc6dae2=a18_0xc16122,_0x4a105b={};_0x4a105b['RYgWO']=_0xc6dae2(0x18a);const _0xce32b0=_0x4a105b,_0xd9ba86=[];process[_0xc6dae2(0x122)][_0xc6dae2(0x1b6)]&&_0xd9ba86[_0xc6dae2(0x18c)](path['resolve'](process['cwd'](),process[_0xc6dae2(0x122)]['JASMINE_CONFIG_PATH']));_0xd9ba86[_0xc6dae2(0x18c)](path[_0xc6dae2(0x136)](process[_0xc6dae2(0x16d)](),_0xce32b0[_0xc6dae2(0x14c)]));for(const _0x2cf16c of _0xd9ba86){try{if(fs['existsSync'](_0x2cf16c))return _0x2cf16c;}catch(_0x4bb5a5){}}return null;},enumerateSpecFiles=_0x254256=>{const _0x4a1cd0=a18_0xc16122,_0x18dff9={'vibgS':function(_0x565f3c,_0xfcbb50){return _0x565f3c(_0xfcbb50);},'buPIX':function(_0x2edb27,_0x3876b8){return _0x2edb27>_0x3876b8;},'ramys':function(_0x5493bc,_0x3f4417){return _0x5493bc(_0x3f4417);},'ebReF':function(_0x40c70b,_0x4214b7){return _0x40c70b<_0x4214b7;},'jhjsu':function(_0x3af3d2,_0x2ce325){return _0x3af3d2===_0x2ce325;},'MWsoX':_0x4a1cd0(0x149),'jSuBb':function(_0x370648,_0x51cfaf){return _0x370648>_0x51cfaf;},'hDyXC':function(_0x3a95e9,_0x1cc07e,_0x2d6e7f){return _0x3a95e9(_0x1cc07e,_0x2d6e7f);},'CgtbR':function(_0x4d3a0a){return _0x4d3a0a();},'NyMEX':'utf8','EkzLX':_0x4a1cd0(0x130),'DksjK':_0x4a1cd0(0x1c1),'LDWyX':function(_0x4673e4,_0x7c845,_0x4db3b4){return _0x4673e4(_0x7c845,_0x4db3b4);},'GclSv':function(_0x158f8a,_0x1f91ac){return _0x158f8a>_0x1f91ac;}};try{if(testOpsHelper[_0x4a1cd0(0x1c9)]()){const _0x3106a1=testOpsHelper['parseFileNames'](process['env'][_0x4a1cd0(0x1b0)]);if(Array[_0x4a1cd0(0x152)](_0x3106a1)&&_0x18dff9[_0x4a1cd0(0x18f)](_0x3106a1[_0x4a1cd0(0x19d)],0x0))return _0x3106a1[_0x4a1cd0(0x1a4)](_0x21c46c=>path[_0x4a1cd0(0x136)](process[_0x4a1cd0(0x16d)](),_0x21c46c[_0x4a1cd0(0x17f)]()))['filter'](Boolean);}}catch(_0x555ed4){_0x18dff9[_0x4a1cd0(0x1a8)](debug,_0x4a1cd0(0x1a9)+util['format'](_0x555ed4));}const _0x470341=[];try{for(let _0x4cb816=0x1;_0x18dff9[_0x4a1cd0(0x16e)](_0x4cb816,_0x254256[_0x4a1cd0(0x19d)]);_0x4cb816++){const _0x1e07a2=_0x254256[_0x4cb816];_0x18dff9[_0x4a1cd0(0x1ad)](typeof _0x1e07a2,_0x18dff9[_0x4a1cd0(0x193)])&&!_0x1e07a2[_0x4a1cd0(0x148)]('-')&&_0x470341[_0x4a1cd0(0x18c)](_0x1e07a2);}}catch(_0x1c767a){}const _0x237d15={'cwd':process[_0x4a1cd0(0x16d)](),'absolute':!![],'nodir':!![]},_0xcc233e=(_0x4c9296,_0x40427f)=>{const _0x1c0245=_0x4a1cd0,_0x36f2d4=[];for(const _0x439f8c of _0x4c9296){try{const _0x126108=_0x40427f?path['posix'][_0x1c0245(0x12c)](_0x40427f,_0x439f8c):_0x439f8c,_0x233fee=glob[_0x1c0245(0x155)](_0x126108,_0x237d15);Array[_0x1c0245(0x152)](_0x233fee)&&_0x36f2d4[_0x1c0245(0x18c)](..._0x233fee);}catch(_0x56a1f9){_0x18dff9[_0x1c0245(0x189)](debug,_0x1c0245(0x128)+_0x439f8c+_0x1c0245(0x1ba)+util['format'](_0x56a1f9));}}return _0x36f2d4;};if(_0x18dff9[_0x4a1cd0(0x153)](_0x470341['length'],0x0)){const _0x4fbfb0=_0x18dff9['hDyXC'](_0xcc233e,_0x470341,null);if(_0x18dff9['buPIX'](_0x4fbfb0[_0x4a1cd0(0x19d)],0x0))return Array[_0x4a1cd0(0x1c4)](new Set(_0x4fbfb0));return _0x470341[_0x4a1cd0(0x1a4)](_0x3eb1b2=>path[_0x4a1cd0(0x136)](process[_0x4a1cd0(0x16d)](),_0x3eb1b2));}try{const _0x59677d=_0x18dff9[_0x4a1cd0(0x1ac)](resolveJasmineConfigPath);if(_0x59677d){const _0x16eb6b=JSON[_0x4a1cd0(0x180)](fs[_0x4a1cd0(0x1a2)](_0x59677d,_0x18dff9[_0x4a1cd0(0x15f)])),_0x2f1df3=_0x16eb6b[_0x4a1cd0(0x121)]||_0x18dff9[_0x4a1cd0(0x15d)],_0x13531e=Array[_0x4a1cd0(0x152)](_0x16eb6b[_0x4a1cd0(0x166)])&&_0x18dff9[_0x4a1cd0(0x153)](_0x16eb6b['spec_files'][_0x4a1cd0(0x19d)],0x0)?_0x16eb6b['spec_files']:[_0x18dff9[_0x4a1cd0(0x197)]],_0x236b9d=_0x18dff9[_0x4a1cd0(0x19b)](_0xcc233e,_0x13531e,_0x2f1df3);if(_0x18dff9['GclSv'](_0x236b9d[_0x4a1cd0(0x19d)],0x0))return Array[_0x4a1cd0(0x1c4)](new Set(_0x236b9d));}}catch(_0x104b94){_0x18dff9[_0x4a1cd0(0x1a8)](debug,_0x4a1cd0(0x147)+util[_0x4a1cd0(0x129)](_0x104b94));}return null;};async function run(_0x194dc9,_0x3da5c0,_0x1815a4){const _0x337326=a18_0xc16122,_0x3c6b2d={'muwPV':function(_0x529c69,_0x379571){return _0x529c69>_0x379571;},'NIUdm':_0x337326(0x1c6),'lpYjt':function(_0x4d7b10,_0x34ef66){return _0x4d7b10(_0x34ef66);},'wemoK':function(_0x3cb76f,_0x36c533){return _0x3cb76f||_0x36c533;},'hLAlB':function(_0x34fc90,_0x18f16c){return _0x34fc90(_0x18f16c);},'zyuqL':function(_0x375ad5,_0x6f0149){return _0x375ad5(_0x6f0149);},'yrdQT':function(_0x4f4c73,_0x8f6fff,_0x117b36,_0x4ea255){return _0x4f4c73(_0x8f6fff,_0x117b36,_0x4ea255);},'CAGrq':_0x337326(0x13e),'cdnJL':_0x337326(0x1b9),'UQVqx':function(_0x61792,_0x265ae9){return _0x61792===_0x265ae9;},'aeAbk':'win32','iPjMl':_0x337326(0x1a1),'qDQPC':_0x337326(0x139),'MLGKT':_0x337326(0x1bd),'aDqRY':function(_0x5314a2,_0x18b1d8){return _0x5314a2(_0x18b1d8);},'ISviG':function(_0x260adb,_0x41db57){return _0x260adb(_0x41db57);},'PSLHV':'@playwright/test','Qkpmz':function(_0x574f27){return _0x574f27();},'khqbU':function(_0x5b182e,_0xabe301,_0x99ba80,_0x34b537){return _0x5b182e(_0xabe301,_0x99ba80,_0x34b537);},'eqLSr':function(_0x2cf042,_0x3a5bde){return _0x2cf042!=_0x3a5bde;},'dyNTG':_0x337326(0x13b),'XNgjI':function(_0x3b9802,_0x1ee044){return _0x3b9802(_0x1ee044);},'shFkB':function(_0x22de48,_0x2f7499,_0x3c19ac){return _0x22de48(_0x2f7499,_0x3c19ac);},'SRqnf':function(_0x25bf1b,_0x1fa9da){return _0x25bf1b*_0x1fa9da;},'UTrmS':function(_0x295534,_0x30f949){return _0x295534(_0x30f949);},'GtWoF':function(_0x295fe5,_0x1372dd){return _0x295fe5(_0x1372dd);},'skreH':_0x337326(0x169),'CaacH':function(_0x4db051,_0x3deec4){return _0x4db051(_0x3deec4);},'lPnRB':function(_0x2eb9f7,_0x1c5b38){return _0x2eb9f7(_0x1c5b38);},'fDghs':function(_0x3cd4e2,_0x3c4054){return _0x3cd4e2(_0x3c4054);},'hswOV':function(_0x3ffec7,_0x23acb2){return _0x3ffec7<_0x23acb2;},'NVKTL':function(_0x595e63,_0x2109b3){return _0x595e63>_0x2109b3;},'sUucj':function(_0x195c22,_0x550322){return _0x195c22(_0x550322);},'JIRaN':function(_0x48ca56,_0x4baac3){return _0x48ca56(_0x4baac3);}},_0x5ceb09=helper[_0x337326(0x18e)](_0x3c6b2d['PSLHV']);global[_0x337326(0x185)]=!!_0x5ceb09;const _0x150a77=_0x3c6b2d['Qkpmz'](getPuppeteerVersion);global[_0x337326(0x19a)]=!!_0x150a77;helper['isBrowserstackInfra']()&&(await _0x1815a4[_0x337326(0x16a)](_0x194dc9),await helper['handleApp'](_0x1815a4[_0x337326(0x1c3)]));if(_0x5ceb09)await _0x3c6b2d[_0x337326(0x14e)](checkPwandBootstrapCli,_0x5ceb09,constants['FRAMEWORKS'][_0x337326(0x145)],_0x1815a4);else _0x150a77&&await _0x3c6b2d[_0x337326(0x124)](checkPuppeteerAndBootstrapCli,_0x150a77,constants[_0x337326(0x12b)]['JASMINE'],_0x1815a4);if(!_0x1815a4[_0x337326(0x1c3)])return;_0x3c6b2d['eqLSr'](_0x1815a4['config'][_0x337326(0x1ca)],null)?process[_0x337326(0x122)][_0x337326(0x151)]=_0x1815a4[_0x337326(0x1c3)][_0x337326(0x1ca)]:process[_0x337326(0x122)][_0x337326(0x151)]=_0x3c6b2d[_0x337326(0x162)];!helper[_0x337326(0x1af)](_0x1815a4[_0x337326(0x1c3)]['accessibilityOptions'])&&(process[_0x337326(0x122)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1815a4[_0x337326(0x1c3)][_0x337326(0x125)]));try{await TestHubHandler[_0x337326(0x19e)](FRAMEWORKS[_0x337326(0x145)],_0x1815a4);}catch(_0x277bae){logger['error']('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x337326(0x129)](_0x277bae)),_0x3c6b2d[_0x337326(0x131)](debug,_0x337326(0x1bb)+util[_0x337326(0x129)](_0x277bae));}let _0x2d8483=![],_0x485c08=[];try{_0x2d8483=helper['useW3C'](_0x1815a4['config']),_0x485c08=helper[_0x337326(0x161)](_0x1815a4['config'],_0x2d8483,constants[_0x337326(0x12b)][_0x337326(0x145)]),process[_0x337326(0x122)][_0x337326(0x13f)]=JSON[_0x337326(0x150)](_0x485c08);}catch(_0x5732aa){_0x3c6b2d[_0x337326(0x17c)](debug,_0x337326(0x141)+util[_0x337326(0x129)](_0x5732aa));}let _0x27cd8d=null,_0x4ada3d=![];try{_0x27cd8d=helper[_0x337326(0x1ae)](_0x1815a4[_0x337326(0x1c3)]),_0x4ada3d=helper[_0x337326(0x1a7)](_0x1815a4[_0x337326(0x1c3)]);}catch(_0xc40b47){_0x3c6b2d[_0x337326(0x1a5)](debug,_0x337326(0x1b7)+util[_0x337326(0x129)](_0xc40b47));}const _0x471ee0=_0x581081=>{const _0x27c2ca=_0x337326,_0x142a41=Array['isArray'](_0x485c08)&&_0x3c6b2d['muwPV'](_0x485c08['length'],_0x581081)?_0x485c08[_0x581081]:Array[_0x27c2ca(0x152)](_0x485c08)&&_0x3c6b2d[_0x27c2ca(0x154)](_0x485c08[_0x27c2ca(0x19d)],0x0)?_0x485c08[0x0]:{};return{'server':_0x27cd8d,'capability':_0x142a41,'proxySettings':_0x1815a4[_0x27c2ca(0x1c3)][_0x27c2ca(0x123)],'platform':helper[_0x27c2ca(0x1b2)](_0x142a41),'browserStackLogLevel':_0x1815a4['config']['logLevel'],'platformIndex':_0x581081,'framework':constants[_0x27c2ca(0x12b)][_0x27c2ca(0x145)],'platformCaps':_0x4ada3d?Object[_0x27c2ca(0x1b4)]({'index':_0x581081},_0x1815a4[_0x27c2ca(0x1c3)][_0x27c2ca(0x167)][_0x581081]):{'index':_0x581081}};};let _0x5b2cf5=0x1,_0x1b5286=0x1,_0x1c1fab=0x1;try{_0x5b2cf5=_0x3c6b2d[_0x337326(0x1b3)](getMaxWorkers,_0x194dc9,_0x1815a4[_0x337326(0x1c3)]),_0x1b5286=_0x4ada3d?_0x1815a4[_0x337326(0x1c3)][_0x337326(0x167)]['length']:0x1,_0x1c1fab=_0x3c6b2d[_0x337326(0x1bc)](_0x1b5286,_0x5b2cf5),process['env'][_0x337326(0x158)]=_0x3c6b2d[_0x337326(0x131)](String,_0x1c1fab);}catch(_0x173c18){_0x3c6b2d[_0x337326(0x14d)](debug,_0x337326(0x1bf)+util[_0x337326(0x129)](_0x173c18));}try{BrowserstackCLI[_0x337326(0x17d)]()[_0x337326(0x135)]&&(process[_0x337326(0x122)][_0x337326(0x142)]=BrowserstackCLI[_0x337326(0x17d)]()['binSessionId']);}catch(_0x4605b5){_0x3c6b2d['GtWoF'](debug,_0x337326(0x160)+util[_0x337326(0x129)](_0x4605b5));}const _0x415c84=[];try{const _0x42b8e8=path['resolve'](__dirname,_0x3c6b2d[_0x337326(0x16c)]);fs[_0x337326(0x12e)](_0x42b8e8)?_0x415c84[_0x337326(0x18c)](_0x337326(0x186)+_0x42b8e8):_0x3c6b2d[_0x337326(0x1ab)](debug,_0x337326(0x1b1)+_0x42b8e8+_0x337326(0x171));}catch(_0x1cefd6){_0x3c6b2d[_0x337326(0x1b8)](debug,_0x337326(0x133)+util[_0x337326(0x129)](_0x1cefd6));}const _0x3e6517=_0x3da5c0[_0x337326(0x17b)](0x1),_0x1b40b6=_0x3c6b2d['fDghs'](enumerateSpecFiles,_0x3da5c0),_0x42d405=[];for(let _0x34cb2c=0x0;_0x3c6b2d[_0x337326(0x18b)](_0x34cb2c,_0x1b5286);_0x34cb2c++){if(_0x3c6b2d[_0x337326(0x168)](_0x5b2cf5,0x1)&&Array['isArray'](_0x1b40b6)&&_0x3c6b2d[_0x337326(0x154)](_0x1b40b6[_0x337326(0x19d)],0x0))for(const _0x35fff5 of _0x1b40b6){const _0x7a1ef2={};_0x7a1ef2[_0x337326(0x1a3)]=_0x34cb2c,_0x7a1ef2[_0x337326(0x181)]=[_0x35fff5],_0x42d405[_0x337326(0x18c)](_0x7a1ef2);}else{const _0x7155d0={};_0x7155d0[_0x337326(0x1a3)]=_0x34cb2c,_0x7155d0[_0x337326(0x181)]=_0x1b40b6,_0x42d405[_0x337326(0x18c)](_0x7155d0);}}logger[_0x337326(0x1c7)](_0x337326(0x143)+_0x1b5286+_0x337326(0x1c2)+_0x5b2cf5+'\x20('+_0x42d405[_0x337326(0x19d)]+_0x337326(0x132)+_0x1c1fab+'\x20concurrent)'),PerformanceTester['end'](PerformanceEvents[_0x337326(0x15a)]);const _0x29d2e8=_0x45294e=>new Promise(_0x8fd666=>{const _0x395b6b=_0x337326,_0xb50378={'iEfYB':function(_0x312533,_0x2d997a){const _0x22886f=a18_0x103f;return _0x3c6b2d[_0x22886f(0x15c)](_0x312533,_0x2d997a);},'BlNHj':function(_0x4cfc35,_0x2c28ea){return _0x3c6b2d['hLAlB'](_0x4cfc35,_0x2c28ea);}};let _0x1a8a6a;try{const _0x46fd47=_0x3c6b2d['lpYjt'](_0x471ee0,_0x45294e[_0x395b6b(0x1a3)]);_0x1a8a6a=Object['assign']({},process[_0x395b6b(0x122)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x395b6b(0x150)](_0x46fd47),'BROWSERSTACK_CAPABILITIES':JSON[_0x395b6b(0x150)]([_0x46fd47[_0x395b6b(0x146)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x42e635){_0x3c6b2d[_0x395b6b(0x198)](debug,_0x395b6b(0x159)+_0x45294e[_0x395b6b(0x1a3)]+_0x395b6b(0x120)+util['format'](_0x42e635)),_0x1a8a6a=Object[_0x395b6b(0x1b4)]({},process['env']);}const _0x3ab471=Array[_0x395b6b(0x152)](_0x45294e[_0x395b6b(0x181)])?_0x45294e[_0x395b6b(0x181)]:[],_0xf7281b=_0x3c6b2d[_0x395b6b(0x154)](_0x3ab471['length'],0x0)?_0x3e6517[_0x395b6b(0x1b5)](_0xd8d8=>typeof _0xd8d8===_0x395b6b(0x149)&&_0xd8d8[_0x395b6b(0x148)]('-')):_0x3e6517,_0x5e38ba=[..._0x415c84,..._0xf7281b,..._0x3ab471];try{const _0x281bf7=_0x3c6b2d[_0x395b6b(0x124)](spawn,_0x3c6b2d[_0x395b6b(0x1c8)],[_0x3c6b2d[_0x395b6b(0x194)],..._0x5e38ba],{'shell':_0x3c6b2d[_0x395b6b(0x14b)](process[_0x395b6b(0x178)],_0x3c6b2d[_0x395b6b(0x138)]),'stdio':_0x3c6b2d[_0x395b6b(0x12d)],'env':_0x1a8a6a});_0x281bf7['on'](_0x3c6b2d[_0x395b6b(0x196)],_0x2be284=>{const _0x569e9e=_0x395b6b;logger[_0x569e9e(0x1a6)]('jasmine\x20child\x20(platformIndex='+_0x45294e[_0x569e9e(0x1a3)]+_0x569e9e(0x1c5)+(_0x3ab471[_0x569e9e(0x19d)]?_0x3ab471[_0x569e9e(0x12c)](','):_0x3c6b2d['NIUdm'])+')\x20exited\x20with\x20code\x20'+_0x2be284),_0x3c6b2d[_0x569e9e(0x1a5)](_0x8fd666,_0x3c6b2d[_0x569e9e(0x156)](_0x2be284,0x0));}),_0x281bf7['on'](_0x3c6b2d[_0x395b6b(0x1a0)],_0xa831e0=>{const _0x446e10=_0x395b6b;_0xb50378[_0x446e10(0x134)](debug,_0x446e10(0x140)+_0x45294e[_0x446e10(0x1a3)]+_0x446e10(0x183)+util['format'](_0xa831e0)),_0xb50378[_0x446e10(0x16b)](_0x8fd666,0x1);});}catch(_0x3df027){_0x3c6b2d[_0x395b6b(0x17a)](debug,_0x395b6b(0x190)+_0x45294e['platformIndex']+_0x395b6b(0x183)+util[_0x395b6b(0x129)](_0x3df027)),_0x3c6b2d[_0x395b6b(0x17c)](_0x8fd666,0x1);}}),_0x48407d=_0x3c6b2d[_0x337326(0x127)](pLimit,_0x3c6b2d['muwPV'](_0x1c1fab,0x0)?_0x1c1fab:0x1),_0x388684=await Promise[_0x337326(0x1c6)](_0x42d405[_0x337326(0x1a4)](_0x322b43=>_0x48407d(()=>_0x29d2e8(_0x322b43))));PerformanceTester[_0x337326(0x192)](PerformanceEvents[_0x337326(0x191)]);const _0x17b7b3=_0x388684[_0x337326(0x165)](_0x5eee21=>_0x5eee21!==0x0)||0x0;process[_0x337326(0x126)]=_0x17b7b3,logger[_0x337326(0x1a6)](_0x337326(0x13d)+_0x17b7b3);const _0x4c06c1=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x337326(0x179)]();}catch(_0x1b0bb9){_0x3c6b2d[_0x337326(0x1aa)](debug,_0x337326(0x184)+util['format'](_0x1b0bb9));}testOpsHelper[_0x337326(0x187)](),await utilities['finalExecution'](_0x1815a4,_0x4c06c1);}module['exports']=run;function a18_0x4cf7(){const _0x1393f0=['440klDmRB','BROWSERSTACK_JASMINE_PARALLELS','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','SDK_SETUP','../../helpers/performance/performance-tester','hLAlB','EkzLX','../../helpers/testhub/testhubHandler','NyMEX','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','prepareCapabilities','dyNTG','21cIIIZT','1260232ZMqbCz','find','spec_files','platforms','NVKTL','test.setup.js','initialize','BlNHj','skreH','cwd','ebReF','../utils/constants','path',';\x20proceeding\x20without\x20injection','../../helpers/test-observability/utils','4823184GDkZiU','../../helpers/playwright-helper','../../helpers/utilities','../../helpers/logger','../../helpers/puppeteer-helper','platform','stop','aDqRY','slice','ISviG','getInstance','p-limit','trim','parse','specArgs','637008ZlxxoO',')\x20:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','__isPlaywrightInstalled','--helper=','printBuildLink','../../helpers/test-observability/constants','vibgS','spec/support/jasmine.json','hswOV','push','Ahyln','getPackageVersion','buPIX','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','SDK_CLEANUP','start','MWsoX','cdnJL','1161258BZaRrT','qDQPC','DksjK','zyuqL','maxWorkers','__isPuppeteerInstalled','LDWyX','30oEoCfq','length','launchBuild','3197457XfZuLw','MLGKT','inherit','readFileSync','platformIndex','map','lpYjt','debug','validPlatformsPresent','ramys','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','JIRaN','CaacH','CgtbR','jhjsu','getHubUrl','isUndefined','BROWSERSTACK_RERUN_TESTS','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','getPlatformName','shFkB','assign','filter','JASMINE_CONFIG_PATH','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','lPnRB','jasmine','\x27\x20:\x20','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','SRqnf','error','EVENTS','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','../../helpers/helper','**/*[sS]pec.?(m)js','\x20platform(s),\x20parallelsPerPlatform=','config','from',',\x20specs=','all','info','CAGrq','shouldReRunObservabilityTests','testObservability','\x20:\x20','spec_dir','env','proxySettings','yrdQT','accessibilityOptions','exitCode','sUucj','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','format','parallelsPerPlatform','FRAMEWORKS','join','iPjMl','existsSync','186923BmPsCF','spec','XNgjI','\x20work-item(s),\x20max\x20','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','iEfYB','binSessionId','resolve','child_process','aeAbk','close','1475343HMXJUe','true','18eViFqC','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','npx','BROWSERSTACK_CAPABILITIES','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','Running\x20your\x20Jasmine\x20tests\x20across\x20','../../helpers/performance/constants','JASMINE','capability','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','startsWith','string','glob','UQVqx','RYgWO','UTrmS','khqbU','../v2/browserstackCLI','stringify','BROWSERSTACK_TEST_OBSERVABILITY_YML','isArray','jSuBb','muwPV','globSync','wemoK'];a18_0x4cf7=function(){return _0x1393f0;};return a18_0x4cf7();}
|
|
2
|
+
'use strict';const a18_0x46b0b2=a18_0x1737;(function(_0x3e5e84,_0x126e2e){const _0x41e1e9=a18_0x1737,_0x561f8c=_0x3e5e84();while(!![]){try{const _0x490af9=parseInt(_0x41e1e9(0x14a))/0x1*(-parseInt(_0x41e1e9(0x1b2))/0x2)+parseInt(_0x41e1e9(0x164))/0x3*(parseInt(_0x41e1e9(0x194))/0x4)+-parseInt(_0x41e1e9(0x166))/0x5+-parseInt(_0x41e1e9(0x170))/0x6*(-parseInt(_0x41e1e9(0x17d))/0x7)+parseInt(_0x41e1e9(0x1aa))/0x8+parseInt(_0x41e1e9(0x192))/0x9+-parseInt(_0x41e1e9(0x1d2))/0xa*(parseInt(_0x41e1e9(0x15d))/0xb);if(_0x490af9===_0x126e2e)break;else _0x561f8c['push'](_0x561f8c['shift']());}catch(_0x130e1a){_0x561f8c['push'](_0x561f8c['shift']());}}}(a18_0xbdb5,0xd34e0));function a18_0x1737(_0x37993a,_0x77dcb1){const _0xbdb50=a18_0xbdb5();return a18_0x1737=function(_0x173794,_0xc87bb0){_0x173794=_0x173794-0x146;let _0x563d41=_0xbdb50[_0x173794];return _0x563d41;},a18_0x1737(_0x37993a,_0x77dcb1);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x46b0b2(0x160)),glob=require(a18_0x46b0b2(0x14f)),pLimit=require(a18_0x46b0b2(0x1ce)),logger=require(a18_0x46b0b2(0x184))[a18_0x46b0b2(0x1a2)],helper=require(a18_0x46b0b2(0x1a3)),utilities=require(a18_0x46b0b2(0x167)),constants=require(a18_0x46b0b2(0x157)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x46b0b2(0x1bc)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x46b0b2(0x187)],BrowserstackCLI=require(a18_0x46b0b2(0x1bd)),{checkPwandBootstrapCli}=require(a18_0x46b0b2(0x18b)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x46b0b2(0x158)),getMaxWorkers=(_0x4af1ba,_0x5effcd)=>{const _0x2cdb2a=a18_0x46b0b2,_0x442ade={'oeNpT':function(_0xcc1bb2,_0x23f9e5){return _0xcc1bb2(_0x23f9e5);}};let _0x202fee=0x1;if(!helper[_0x2cdb2a(0x189)](_0x5effcd[_0x2cdb2a(0x156)]))_0x202fee=_0x442ade[_0x2cdb2a(0x14d)](parseInt,_0x5effcd[_0x2cdb2a(0x156)]);else!helper[_0x2cdb2a(0x189)](_0x4af1ba[_0x2cdb2a(0x1c0)])&&(_0x202fee=_0x4af1ba[_0x2cdb2a(0x1c0)]);return _0x202fee;},resolveJasmineConfigPath=()=>{const _0x39612f=a18_0x46b0b2,_0x2d12ce={};_0x2d12ce[_0x39612f(0x1b9)]='spec/support/jasmine.json';const _0x5b3b25=_0x2d12ce,_0x4d3bc5=[];process['env'][_0x39612f(0x151)]&&_0x4d3bc5[_0x39612f(0x1ca)](path[_0x39612f(0x1ad)](process[_0x39612f(0x18f)](),process[_0x39612f(0x1bf)][_0x39612f(0x151)]));_0x4d3bc5[_0x39612f(0x1ca)](path[_0x39612f(0x1ad)](process[_0x39612f(0x18f)](),_0x5b3b25[_0x39612f(0x1b9)]));for(const _0x287da3 of _0x4d3bc5){try{if(fs[_0x39612f(0x1a7)](_0x287da3))return _0x287da3;}catch(_0x537256){}}return null;},enumerateSpecFiles=_0x143648=>{const _0x28b007=a18_0x46b0b2,_0x3350c2={'UbHuo':function(_0x4d9860,_0x4ef720){return _0x4d9860(_0x4ef720);},'bcPAi':function(_0x4e18d9,_0x3c4730){return _0x4e18d9>_0x3c4730;},'Mmwyk':function(_0x55b981,_0x330e74){return _0x55b981(_0x330e74);},'xyTgx':function(_0x2b55db,_0x1c2bbc){return _0x2b55db<_0x1c2bbc;},'dEnZJ':function(_0x15cfb0,_0x1b21fa){return _0x15cfb0===_0x1b21fa;},'jfmLt':_0x28b007(0x1bb),'hsdQo':function(_0x35469e,_0x191a9b,_0xa9c98e){return _0x35469e(_0x191a9b,_0xa9c98e);},'HtmuK':function(_0x2595fb){return _0x2595fb();},'mRGgL':_0x28b007(0x1a5),'xSeyE':'spec','MGRZY':_0x28b007(0x1b6),'KeXpu':function(_0x2ecb7b,_0x657461){return _0x2ecb7b>_0x657461;},'dsWZg':function(_0x14fade,_0x59d0f8){return _0x14fade(_0x59d0f8);}};try{if(testOpsHelper[_0x28b007(0x1cc)]()){const _0x1a1c00=testOpsHelper[_0x28b007(0x152)](process[_0x28b007(0x1bf)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x28b007(0x15e)](_0x1a1c00)&&_0x3350c2[_0x28b007(0x14c)](_0x1a1c00[_0x28b007(0x1c5)],0x0))return _0x1a1c00[_0x28b007(0x1b8)](_0x5f1b43=>path['resolve'](process[_0x28b007(0x18f)](),_0x5f1b43[_0x28b007(0x18a)]()))[_0x28b007(0x168)](Boolean);}}catch(_0x8f76a0){_0x3350c2[_0x28b007(0x176)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x28b007(0x1c6)](_0x8f76a0));}const _0x894b9d=[];try{for(let _0xdf9e58=0x1;_0x3350c2[_0x28b007(0x182)](_0xdf9e58,_0x143648[_0x28b007(0x1c5)]);_0xdf9e58++){const _0x1c4c07=_0x143648[_0xdf9e58];_0x3350c2[_0x28b007(0x183)](typeof _0x1c4c07,_0x3350c2[_0x28b007(0x15b)])&&!_0x1c4c07[_0x28b007(0x169)]('-')&&_0x894b9d['push'](_0x1c4c07);}}catch(_0x28ef6c){}const _0x269078={'cwd':process[_0x28b007(0x18f)](),'absolute':!![],'nodir':!![]},_0x12b598=(_0x1f810a,_0x1c17e3)=>{const _0x4a00b7=_0x28b007,_0x4b2cb0=[];for(const _0x12925c of _0x1f810a){try{const _0x2162cf=_0x1c17e3?path[_0x4a00b7(0x19f)]['join'](_0x1c17e3,_0x12925c):_0x12925c,_0x1c7d2f=glob['globSync'](_0x2162cf,_0x269078);Array[_0x4a00b7(0x15e)](_0x1c7d2f)&&_0x4b2cb0[_0x4a00b7(0x1ca)](..._0x1c7d2f);}catch(_0x1eb719){_0x3350c2[_0x4a00b7(0x1d3)](debug,_0x4a00b7(0x1b1)+_0x12925c+_0x4a00b7(0x1a6)+util[_0x4a00b7(0x1c6)](_0x1eb719));}}return _0x4b2cb0;};if(_0x3350c2[_0x28b007(0x14c)](_0x894b9d[_0x28b007(0x1c5)],0x0)){const _0x1aae2a=_0x3350c2[_0x28b007(0x197)](_0x12b598,_0x894b9d,null);if(_0x3350c2[_0x28b007(0x14c)](_0x1aae2a[_0x28b007(0x1c5)],0x0))return Array[_0x28b007(0x1d5)](new Set(_0x1aae2a));return _0x894b9d[_0x28b007(0x1b8)](_0x224910=>path[_0x28b007(0x1ad)](process[_0x28b007(0x18f)](),_0x224910));}try{const _0x3d9205=_0x3350c2[_0x28b007(0x1b7)](resolveJasmineConfigPath);if(_0x3d9205){const _0x4ad381=JSON['parse'](fs[_0x28b007(0x159)](_0x3d9205,_0x3350c2[_0x28b007(0x173)])),_0x13f37e=_0x4ad381['spec_dir']||_0x3350c2[_0x28b007(0x1cd)],_0x39f46b=Array[_0x28b007(0x15e)](_0x4ad381[_0x28b007(0x150)])&&_0x3350c2[_0x28b007(0x14c)](_0x4ad381[_0x28b007(0x150)][_0x28b007(0x1c5)],0x0)?_0x4ad381[_0x28b007(0x150)]:[_0x3350c2['MGRZY']],_0x55cd65=_0x3350c2['hsdQo'](_0x12b598,_0x39f46b,_0x13f37e);if(_0x3350c2['KeXpu'](_0x55cd65[_0x28b007(0x1c5)],0x0))return Array[_0x28b007(0x1d5)](new Set(_0x55cd65));}}catch(_0x4cbee4){_0x3350c2['dsWZg'](debug,_0x28b007(0x16f)+util[_0x28b007(0x1c6)](_0x4cbee4));}return null;};function a18_0xbdb5(){const _0x4232d4=['../../helpers/puppeteer-helper','readFileSync','isyzx','jfmLt','unCqJ','11JpKkny','isArray','info','child_process','jasmine','\x20work-item(s),\x20max\x20','getPlatformName','3pPtowG','GeeCy','3519930OFeXIy','../../helpers/utilities','filter','startsWith','initialize','proxySettings','test.setup.js','find','specArgs','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','287028rQeDog','CmnmE','\x20:\x20','mRGgL','printBuildLink','end','Mmwyk','assign','SDK_SETUP','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20',')\x20:\x20','isBrowserstackInfra','cLJCu','42zybgbi','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','xyTgx','dEnZJ','../../helpers/logger','testObservability','UIMFb','EVENTS','Atodc','isUndefined','trim','../../helpers/playwright-helper','nQCOC',';\x20proceeding\x20without\x20injection','error','cwd','BROWSERSTACK_CLI_BIN_SESSION_ID','jasmine\x20child\x20(platformIndex=','8054694epEnRn','bBNCM','4969412FjrviP','CqrrJ','platformIndex','hsdQo','JnTDz',',\x20specs=','launchBuild','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','NfYcT','config','all','posix','stringify','BROWSERSTACK_TEST_OBSERVABILITY_YML','winstonLogger','../../helpers/helper','\x20platform(s),\x20parallelsPerPlatform=','utf8','\x27\x20:\x20','existsSync','pNGiQ','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','1966720rHCSzv','fUWOx','platform','resolve','start','XYSXB','debug','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','207268SsjQay','getPackageVersion','FRAMEWORKS','hOmho','**/*[sS]pec.?(m)js','HtmuK','map','ZvHzL','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','string','../../helpers/performance/performance-tester','../v2/browserstackCLI','stop','env','maxWorkers','__isPuppeteerInstalled','getInstance','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','iQNzi','length','format','bpSyB','jQGFG','GeDbH','push','exitCode','shouldReRunObservabilityTests','xSeyE','p-limit','npx','true','\x20concurrent)','3752590wZryIq','UbHuo','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','from','binSessionId','handleApp','useW3C','fhqEO','7IXOAZm','JASMINE','bcPAi','oeNpT','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','glob','spec_files','JASMINE_CONFIG_PATH','parseFileNames','BROWSERSTACK_CAPABILITIES','isCLIEnabled','close','parallelsPerPlatform','../utils/constants'];a18_0xbdb5=function(){return _0x4232d4;};return a18_0xbdb5();}async function run(_0x289563,_0x1cb5a2,_0x2c2dde){const _0x4291c1=a18_0x46b0b2,_0x368db0={'cLJCu':function(_0x146779,_0x3676ae){return _0x146779>_0x3676ae;},'PuCyU':'all','pNGiQ':function(_0x3b1d11,_0x4667b6){return _0x3b1d11(_0x4667b6);},'CmnmE':function(_0xfbedbf,_0x17553f){return _0xfbedbf||_0x17553f;},'GeeCy':function(_0x1233e8,_0x491f62){return _0x1233e8(_0x491f62);},'NfYcT':function(_0x248b21,_0x3a37e6){return _0x248b21>_0x3a37e6;},'hOmho':function(_0x7d03d2,_0x49a547,_0x12a14a,_0x28559e){return _0x7d03d2(_0x49a547,_0x12a14a,_0x28559e);},'JnTDz':_0x4291c1(0x1cf),'isyzx':_0x4291c1(0x161),'uDsCd':function(_0x124613,_0x3e3ddd){return _0x124613===_0x3e3ddd;},'ANFHD':'win32','CqrrJ':'inherit','RnjIj':_0x4291c1(0x155),'DPzUj':_0x4291c1(0x18e),'XYSXB':function(_0x26f183,_0x4f1850){return _0x26f183(_0x4f1850);},'YpiiJ':function(_0x1ae613,_0x4a4e77){return _0x1ae613(_0x4a4e77);},'fUWOx':'@playwright/test','GeDbH':function(_0x28c88a){return _0x28c88a();},'QiVeH':function(_0x1ef2df,_0x464338,_0x7c86f0,_0x1408f1){return _0x1ef2df(_0x464338,_0x7c86f0,_0x1408f1);},'tGNTd':function(_0x494f44,_0x5dab24,_0x5b784b,_0x444ec1){return _0x494f44(_0x5dab24,_0x5b784b,_0x444ec1);},'jQGFG':function(_0x4b57eb,_0x5f146e){return _0x4b57eb!=_0x5f146e;},'MDVlg':_0x4291c1(0x1d0),'bpSyB':function(_0x3cb47b,_0x41ecef){return _0x3cb47b(_0x41ecef);},'unCqJ':function(_0x170a8a,_0x46282b){return _0x170a8a(_0x46282b);},'IpKSs':function(_0x5007b3,_0x50f289,_0x4c77de){return _0x5007b3(_0x50f289,_0x4c77de);},'bBNCM':function(_0x40ca5e,_0x4adbf8){return _0x40ca5e*_0x4adbf8;},'Atodc':function(_0x29109b,_0x5e3728){return _0x29109b(_0x5e3728);},'UIMFb':_0x4291c1(0x16c),'fhqEO':function(_0x496e0c,_0x20c83f){return _0x496e0c(_0x20c83f);},'kHtsl':function(_0x3d62d8,_0x596f5a){return _0x3d62d8(_0x596f5a);},'iQNzi':function(_0x1e39e8,_0x355750){return _0x1e39e8<_0x355750;},'RkbCG':function(_0x587dbc,_0x290e2f){return _0x587dbc(_0x290e2f);},'nQCOC':function(_0x987366,_0x4a6e55){return _0x987366>_0x4a6e55;},'pxUIm':function(_0x9a52a6,_0x17be43){return _0x9a52a6(_0x17be43);}},_0x370736=helper[_0x4291c1(0x1b3)](_0x368db0[_0x4291c1(0x1ab)]);global['__isPlaywrightInstalled']=!!_0x370736;const _0x185c2d=_0x368db0[_0x4291c1(0x1c9)](getPuppeteerVersion);global[_0x4291c1(0x1c1)]=!!_0x185c2d;helper[_0x4291c1(0x17b)]()&&(await _0x2c2dde[_0x4291c1(0x16a)](_0x289563),await helper[_0x4291c1(0x147)](_0x2c2dde[_0x4291c1(0x19d)]));if(_0x370736)await _0x368db0['QiVeH'](checkPwandBootstrapCli,_0x370736,constants[_0x4291c1(0x1b4)][_0x4291c1(0x14b)],_0x2c2dde);else _0x185c2d&&await _0x368db0['tGNTd'](checkPuppeteerAndBootstrapCli,_0x185c2d,constants[_0x4291c1(0x1b4)][_0x4291c1(0x14b)],_0x2c2dde);if(!_0x2c2dde[_0x4291c1(0x19d)])return;_0x368db0[_0x4291c1(0x1c8)](_0x2c2dde['config'][_0x4291c1(0x185)],null)?process[_0x4291c1(0x1bf)][_0x4291c1(0x1a1)]=_0x2c2dde[_0x4291c1(0x19d)][_0x4291c1(0x185)]:process[_0x4291c1(0x1bf)][_0x4291c1(0x1a1)]=_0x368db0['MDVlg'];!helper[_0x4291c1(0x189)](_0x2c2dde['config'][_0x4291c1(0x17f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x2c2dde['config']['accessibilityOptions']));try{await TestHubHandler[_0x4291c1(0x19a)](FRAMEWORKS[_0x4291c1(0x14b)],_0x2c2dde);}catch(_0x4ccc3b){logger['error'](_0x4291c1(0x1c3)+util['format'](_0x4ccc3b)),_0x368db0[_0x4291c1(0x165)](debug,_0x4291c1(0x17e)+util[_0x4291c1(0x1c6)](_0x4ccc3b));}let _0x1256bb=![],_0x212d73=[];try{_0x1256bb=helper[_0x4291c1(0x148)](_0x2c2dde[_0x4291c1(0x19d)]),_0x212d73=helper['prepareCapabilities'](_0x2c2dde[_0x4291c1(0x19d)],_0x1256bb,constants[_0x4291c1(0x1b4)]['JASMINE']),process[_0x4291c1(0x1bf)][_0x4291c1(0x153)]=JSON[_0x4291c1(0x1a0)](_0x212d73);}catch(_0x38ed6c){_0x368db0[_0x4291c1(0x1c7)](debug,_0x4291c1(0x179)+util[_0x4291c1(0x1c6)](_0x38ed6c));}let _0x5e6d1f=null,_0x18c34f=![];try{_0x5e6d1f=helper['getHubUrl'](_0x2c2dde[_0x4291c1(0x19d)]),_0x18c34f=helper['validPlatformsPresent'](_0x2c2dde['config']);}catch(_0x5c87a1){_0x368db0[_0x4291c1(0x15c)](debug,_0x4291c1(0x181)+util[_0x4291c1(0x1c6)](_0x5c87a1));}const _0x1b1c5c=_0x117159=>{const _0x2723e3=_0x4291c1,_0x27b8b9=Array[_0x2723e3(0x15e)](_0x212d73)&&_0x368db0['cLJCu'](_0x212d73[_0x2723e3(0x1c5)],_0x117159)?_0x212d73[_0x117159]:Array[_0x2723e3(0x15e)](_0x212d73)&&_0x368db0[_0x2723e3(0x17c)](_0x212d73[_0x2723e3(0x1c5)],0x0)?_0x212d73[0x0]:{};return{'server':_0x5e6d1f,'capability':_0x27b8b9,'proxySettings':_0x2c2dde[_0x2723e3(0x19d)][_0x2723e3(0x16b)],'platform':helper[_0x2723e3(0x163)](_0x27b8b9),'browserStackLogLevel':_0x2c2dde[_0x2723e3(0x19d)]['logLevel'],'platformIndex':_0x117159,'framework':constants[_0x2723e3(0x1b4)]['JASMINE'],'platformCaps':_0x18c34f?Object['assign']({'index':_0x117159},_0x2c2dde['config']['platforms'][_0x117159]):{'index':_0x117159}};};let _0x3e2e29=0x1,_0x4e6a8a=0x1,_0x1e13de=0x1;try{_0x3e2e29=_0x368db0['IpKSs'](getMaxWorkers,_0x289563,_0x2c2dde[_0x4291c1(0x19d)]),_0x4e6a8a=_0x18c34f?_0x2c2dde[_0x4291c1(0x19d)]['platforms'][_0x4291c1(0x1c5)]:0x1,_0x1e13de=_0x368db0[_0x4291c1(0x193)](_0x4e6a8a,_0x3e2e29),process[_0x4291c1(0x1bf)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x368db0[_0x4291c1(0x1af)](String,_0x1e13de);}catch(_0x4ff01b){_0x368db0[_0x4291c1(0x188)](debug,_0x4291c1(0x14e)+util[_0x4291c1(0x1c6)](_0x4ff01b));}try{BrowserstackCLI[_0x4291c1(0x1c2)]()[_0x4291c1(0x146)]&&(process[_0x4291c1(0x1bf)][_0x4291c1(0x190)]=BrowserstackCLI[_0x4291c1(0x1c2)]()[_0x4291c1(0x146)]);}catch(_0x246c30){_0x368db0['unCqJ'](debug,_0x4291c1(0x1a9)+util[_0x4291c1(0x1c6)](_0x246c30));}const _0x488469=[];try{const _0x440015=path[_0x4291c1(0x1ad)](__dirname,_0x368db0[_0x4291c1(0x186)]);fs['existsSync'](_0x440015)?_0x488469[_0x4291c1(0x1ca)]('--helper='+_0x440015):_0x368db0[_0x4291c1(0x149)](debug,_0x4291c1(0x1ba)+_0x440015+_0x4291c1(0x18d));}catch(_0x296379){_0x368db0[_0x4291c1(0x149)](debug,_0x4291c1(0x19b)+util[_0x4291c1(0x1c6)](_0x296379));}const _0x49828c=_0x1cb5a2['slice'](0x1),_0x3374f0=_0x368db0['kHtsl'](enumerateSpecFiles,_0x1cb5a2),_0x4f3074=[];for(let _0x37ac4d=0x0;_0x368db0[_0x4291c1(0x1c4)](_0x37ac4d,_0x4e6a8a);_0x37ac4d++){if(_0x368db0[_0x4291c1(0x17c)](_0x3e2e29,0x1)&&Array['isArray'](_0x3374f0)&&_0x368db0['cLJCu'](_0x3374f0[_0x4291c1(0x1c5)],0x0))for(const _0x264705 of _0x3374f0){const _0x776999={};_0x776999[_0x4291c1(0x196)]=_0x37ac4d,_0x776999[_0x4291c1(0x16e)]=[_0x264705],_0x4f3074[_0x4291c1(0x1ca)](_0x776999);}else{const _0xc3b65={};_0xc3b65['platformIndex']=_0x37ac4d,_0xc3b65[_0x4291c1(0x16e)]=_0x3374f0,_0x4f3074[_0x4291c1(0x1ca)](_0xc3b65);}}logger[_0x4291c1(0x15f)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x4e6a8a+_0x4291c1(0x1a4)+_0x3e2e29+'\x20('+_0x4f3074['length']+_0x4291c1(0x162)+_0x1e13de+_0x4291c1(0x1d1)),PerformanceTester[_0x4291c1(0x175)](PerformanceEvents[_0x4291c1(0x178)]);const _0x51b573=_0x5f08eb=>new Promise(_0xca5807=>{const _0x4ccee2=_0x4291c1;let _0x5bf1e4;try{const _0x565fe6=_0x368db0['GeeCy'](_0x1b1c5c,_0x5f08eb[_0x4ccee2(0x196)]);_0x5bf1e4=Object[_0x4ccee2(0x177)]({},process[_0x4ccee2(0x1bf)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x565fe6),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ccee2(0x1a0)]([_0x565fe6['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x34e140){_0x368db0['pNGiQ'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x5f08eb[_0x4ccee2(0x196)]+_0x4ccee2(0x172)+util[_0x4ccee2(0x1c6)](_0x34e140)),_0x5bf1e4=Object[_0x4ccee2(0x177)]({},process[_0x4ccee2(0x1bf)]);}const _0x5d2604=Array[_0x4ccee2(0x15e)](_0x5f08eb[_0x4ccee2(0x16e)])?_0x5f08eb['specArgs']:[],_0x500e84=_0x368db0[_0x4ccee2(0x19c)](_0x5d2604[_0x4ccee2(0x1c5)],0x0)?_0x49828c[_0x4ccee2(0x168)](_0x4a4541=>typeof _0x4a4541===_0x4ccee2(0x1bb)&&_0x4a4541[_0x4ccee2(0x169)]('-')):_0x49828c,_0x5058bc=[..._0x488469,..._0x500e84,..._0x5d2604];try{const _0x2e00ca=_0x368db0[_0x4ccee2(0x1b5)](spawn,_0x368db0[_0x4ccee2(0x198)],[_0x368db0[_0x4ccee2(0x15a)],..._0x5058bc],{'shell':_0x368db0['uDsCd'](process[_0x4ccee2(0x1ac)],_0x368db0['ANFHD']),'stdio':_0x368db0[_0x4ccee2(0x195)],'env':_0x5bf1e4});_0x2e00ca['on'](_0x368db0['RnjIj'],_0x1744a0=>{const _0x3adfaf=_0x4ccee2;logger[_0x3adfaf(0x1b0)](_0x3adfaf(0x191)+_0x5f08eb['platformIndex']+_0x3adfaf(0x199)+(_0x5d2604[_0x3adfaf(0x1c5)]?_0x5d2604['join'](','):_0x368db0['PuCyU'])+')\x20exited\x20with\x20code\x20'+_0x1744a0),_0x368db0[_0x3adfaf(0x1a8)](_0xca5807,_0x368db0[_0x3adfaf(0x171)](_0x1744a0,0x0));}),_0x2e00ca['on'](_0x368db0['DPzUj'],_0x2a5783=>{const _0x5d8427=_0x4ccee2;_0x368db0[_0x5d8427(0x165)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x5f08eb[_0x5d8427(0x196)]+_0x5d8427(0x17a)+util[_0x5d8427(0x1c6)](_0x2a5783)),_0x368db0['GeeCy'](_0xca5807,0x1);});}catch(_0x24dd74){_0x368db0['XYSXB'](debug,_0x4ccee2(0x1d4)+_0x5f08eb[_0x4ccee2(0x196)]+_0x4ccee2(0x17a)+util[_0x4ccee2(0x1c6)](_0x24dd74)),_0x368db0['YpiiJ'](_0xca5807,0x1);}}),_0x4647ee=_0x368db0['RkbCG'](pLimit,_0x368db0[_0x4291c1(0x18c)](_0x1e13de,0x0)?_0x1e13de:0x1),_0x270e30=await Promise[_0x4291c1(0x19e)](_0x4f3074['map'](_0x3f72df=>_0x4647ee(()=>_0x51b573(_0x3f72df))));PerformanceTester[_0x4291c1(0x1ae)](PerformanceEvents['SDK_CLEANUP']);const _0xd12abf=_0x270e30[_0x4291c1(0x16d)](_0x89e777=>_0x89e777!==0x0)||0x0;process[_0x4291c1(0x1cb)]=_0xd12abf,logger[_0x4291c1(0x1b0)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0xd12abf);const _0x444430=BrowserstackCLI[_0x4291c1(0x154)]();try{await TestHubHandler[_0x4291c1(0x1be)](),await BrowserstackCLI['getInstance']()[_0x4291c1(0x1be)]();}catch(_0x4c356d){_0x368db0['pxUIm'](debug,_0x4291c1(0x180)+util[_0x4291c1(0x1c6)](_0x4c356d));}testOpsHelper[_0x4291c1(0x174)](),await utilities['finalExecution'](_0x2c2dde,_0x444430);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x19fb73=a19_0x5e79;(function(_0x1e8de6,_0x327a29){const _0x28812c=a19_0x5e79,_0x5d1fac=_0x1e8de6();while(!![]){try{const _0x5a4de2=parseInt(_0x28812c(0xe1))/0x1+parseInt(_0x28812c(0xed))/0x2+parseInt(_0x28812c(0xbb))/0x3*(-parseInt(_0x28812c(0xfd))/0x4)+-parseInt(_0x28812c(0xc0))/0x5*(-parseInt(_0x28812c(0xdf))/0x6)+parseInt(_0x28812c(0xb7))/0x7+-parseInt(_0x28812c(0xf6))/0x8*(parseInt(_0x28812c(0x11f))/0x9)+-parseInt(_0x28812c(0x124))/0xa;if(_0x5a4de2===_0x327a29)break;else _0x5d1fac['push'](_0x5d1fac['shift']());}catch(_0x5623b2){_0x5d1fac['push'](_0x5d1fac['shift']());}}}(a19_0x98d9,0xed853));const util=require(a19_0x19fb73(0xe8)),logger=require(a19_0x19fb73(0xf4))[a19_0x19fb73(0x10b)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a19_0x19fb73(0x105)),testHubConstants=require(a19_0x19fb73(0xb4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x19fb73(0x108)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x19fb73(0x114));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x19fb73(0x10d)][a19_0x19fb73(0x11e)]||process[a19_0x19fb73(0x10d)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x19fb73(0xdd)](rawConfig));}catch(a19_0x4b4706){logger['debug'](a19_0x19fb73(0xdc)+util[a19_0x19fb73(0x10e)](a19_0x4b4706));}try{if(_bstackConfig&&!helper[a19_0x19fb73(0xf3)](a19_0x19fb73(0xd5))){const jYXrAZ=a19_0x19fb73(0xeb)[a19_0x19fb73(0xfe)]('|');let Lvxkrt=0x0;while(!![]){switch(jYXrAZ[Lvxkrt++]){case'0':global[a19_0x19fb73(0x111)]=_bstackConfig[a19_0x19fb73(0xdb)]||{};continue;case'1':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a19_0x19fb73(0xef)](_bstackConfig[a19_0x19fb73(0xba)]),global[a19_0x19fb73(0xd3)]=helper[a19_0x19fb73(0xef)](_bstackConfig['skipSessionStatus'])):(global[a19_0x19fb73(0x11c)]=!![],global[a19_0x19fb73(0xd3)]=!![]);continue;case'2':logger[a19_0x19fb73(0xde)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'3':global[a19_0x19fb73(0xe0)]=_bstackConfig[a19_0x19fb73(0xf5)];continue;case'4':shouldProcessEventForTesthub()?require(a19_0x19fb73(0xc7))[a19_0x19fb73(0xca)](_bstackConfig,null,!![]):require(a19_0x19fb73(0xc7))[a19_0x19fb73(0xca)](_bstackConfig);continue;}break;}}}catch(a19_0x460038){logger[a19_0x19fb73(0xde)](a19_0x19fb73(0x12b)+util[a19_0x19fb73(0x10e)](a19_0x460038));}const _fileNameByFullName={};function a19_0x98d9(){const _0x7aedcf=['[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','./testRunMap','chPQS','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','ZbkmE','forEach','failedExpectations','__skipSessionName','stack','BROWSERSTACK_JASMINE_CONFIG','18oPZIrn','performScanWithRetry','prepareStackTrace','undefined','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','19132370dPkZLs','AGxDv','WeASg','getFileName','stringify','CVtEQ','HPFQP','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','bstackA11yShouldScan','warn','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','length','fullName','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','Failed:\x20','xVfkY',',\x22level\x22:\x20\x22','aSusc','markSessionStatus','../../helpers/testhub/constants','getEnv','push','7880992pGkNGk','JVwxL','error','skipSessionName','142002AkEtAD','isArray','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','Mouwj','yYejs','1355rRPVdi','addReporter','lMItm','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','Spec\x20failed','JbCyZ','info','../../index','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','get','browserstackAgentV2','RyXsH','sBcvy','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','YFBdl','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','includes','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','__skipSessionStatus','pop','@playwright/test','faHYk','__drivers','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','sessionNameSet__','./bstack-reporter/customReporter','platformCaps','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','parse','debug','28986NJmAGD','browserstackPlatformIndex','1795844wjZNwM','getGlobal','ENV_VAR','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','PqWbS','function','plRzW','util','passed','iXURq','2|4|0|3|1','uaCxz','1889834XSmkaw','XFIcc','isTrue','thJwtToken','thBuildUuid','BROWSERSTACK_TESTHUB_UUID','getPackageVersion','../../helpers/logger','platformIndex','4046720SlZIME','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','exports','autoScanning','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MfCsp','sessionName','108NizUXQ','split','saveAccessibilityResultsWithRetry','message','Passed','IYuQD','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','OmODo','../../helpers/testhub/utils','sep','cgjBN','../../helpers/accessibility-automation/helper','GdQDH','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','winstonLogger','setGlobal','env','format','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','startsWith','__platformCaps','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered'];a19_0x98d9=function(){return _0x7aedcf;};return a19_0x98d9();}try{if(typeof describe===a19_0x19fb73(0xe6)&&typeof global!==a19_0x19fb73(0x122)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x2c6891=a19_0x19fb73,_0x1a0754={'JSglx':function(_0x2cb9b7,_0x2604c4){return _0x2cb9b7(_0x2604c4);},'uaCxz':'path','APevR':function(_0x4194d4,_0x58c953){return _0x4194d4(_0x58c953);},'RyXsH':'node:','YFBdl':'jasmine-core'},_0x198594=Error[_0x2c6891(0x121)];try{const _0x1d86ca=new Error();Error[_0x2c6891(0x121)]=(_0x3aa7c5,_0x407ed5)=>_0x407ed5;const _0x215095=_0x1d86ca[_0x2c6891(0x11d)];Error[_0x2c6891(0x121)]=_0x198594;if(Array[_0x2c6891(0xbc)](_0x215095))for(const _0x498005 of _0x215095){const _0x369ae5=_0x498005[_0x2c6891(0x127)]&&_0x498005[_0x2c6891(0x127)]();if(_0x369ae5&&!_0x369ae5[_0x2c6891(0xd1)]('bin'+_0x1a0754['JSglx'](require,_0x1a0754[_0x2c6891(0xec)])['sep']+'jasmine'+_0x1a0754['APevR'](require,_0x1a0754[_0x2c6891(0xec)])[_0x2c6891(0x106)])&&!_0x369ae5[_0x2c6891(0x110)](_0x1a0754[_0x2c6891(0xcb)])&&!_0x369ae5['includes'](_0x1a0754[_0x2c6891(0xcf)]))return _0x369ae5;}}catch(_0x29c95e){Error[_0x2c6891(0x121)]=_0x198594;}return null;},_wrappedDescribe=function(_0x11babc,_0x3f9488){const _0xc25853=a19_0x19fb73,_0x563f98={'JVwxL':function(_0x327bb2){return _0x327bb2();},'cgjBN':function(_0x892a0,_0x263d9f){return _0x892a0&&_0x263d9f;},'FNpFa':function(_0xba6dd,_0x49b360,_0x422c96){return _0xba6dd(_0x49b360,_0x422c96);}};let _0x53e067=null;try{_0x53e067=_0x563f98[_0xc25853(0xb8)](_resolveCallerFile);}catch(_0x1f3e76){}_describeTitleStack[_0xc25853(0xb6)](_0x11babc);const _0x21b0a7=_describeTitleStack['join']('\x20');_0x563f98[_0xc25853(0x107)](_0x53e067,_0x21b0a7)&&(_fileNameByFullName[_0x21b0a7]=_0x53e067);try{return _0x563f98['FNpFa'](_origDescribe,_0x11babc,_0x3f9488);}finally{_describeTitleStack[_0xc25853(0xd4)]();}};Object['keys'](_origDescribe)[a19_0x19fb73(0x11a)](_0x2cf8b3=>{_wrappedDescribe[_0x2cf8b3]=_origDescribe[_0x2cf8b3];}),global['describe']=_wrappedDescribe;}}catch(a19_0x1f25a3){logger[a19_0x19fb73(0xde)](a19_0x19fb73(0xe4)+util[a19_0x19fb73(0x10e)](a19_0x1f25a3));}try{if(typeof jasmine!==a19_0x19fb73(0x122)&&jasmine[a19_0x19fb73(0xb5)]){const BrowserStackJasmineReporter=require(a19_0x19fb73(0xda)),a19_0x40465c={};a19_0x40465c[a19_0x19fb73(0xcd)]=_fileNameByFullName,jasmine[a19_0x19fb73(0xb5)]()[a19_0x19fb73(0xc1)](new BrowserStackJasmineReporter(a19_0x40465c)),logger[a19_0x19fb73(0xde)](a19_0x19fb73(0x113));}else logger[a19_0x19fb73(0xde)](a19_0x19fb73(0x112));}catch(a19_0x189800){logger['debug'](a19_0x19fb73(0xce)+util['format'](a19_0x189800));}function a19_0x5e79(_0x546182,_0xac70a0){const _0x98d9a=a19_0x98d9();return a19_0x5e79=function(_0x5e790b,_0x16f290){_0x5e790b=_0x5e790b-0xad;let _0xfe035c=_0x98d9a[_0x5e790b];return _0xfe035c;},a19_0x5e79(_0x546182,_0xac70a0);}try{typeof jasmine!==a19_0x19fb73(0x122)&&jasmine[a19_0x19fb73(0xb5)]&&jasmine[a19_0x19fb73(0xb5)]()[a19_0x19fb73(0xc1)]({'specStarted'(_0x5ce3f3){const _0x292d5c=a19_0x19fb73,_0x1f3b40={};_0x1f3b40['aSusc']=function(_0x15df09,_0x312fab){return _0x15df09||_0x312fab;};const _0x22611b=_0x1f3b40;_activeResultId=_0x5ce3f3&&_0x5ce3f3['id'],_activeFullName=_0x5ce3f3&&_0x5ce3f3[_0x292d5c(0xad)],_activeResultRef=_0x22611b[_0x292d5c(0xb2)](_0x5ce3f3,null);},'specDone'(){}});}catch(a19_0x5b0ba1){logger['debug'](a19_0x19fb73(0xd0)+util[a19_0x19fb73(0x10e)](a19_0x5b0ba1));}const _resolveAutoScanning=()=>{const _0x479672=a19_0x19fb73,_0x530c1f={};_0x530c1f[_0x479672(0xd6)]=function(_0x3c7d73,_0x26cbc2){return _0x3c7d73===_0x26cbc2;};const _0x29fd28=_0x530c1f;let _0x3b2123=!![];try{const _0xaed82b=JSON[_0x479672(0xdd)](process['env'][_0x479672(0xfa)]||'{}');_0x29fd28[_0x479672(0xd6)](_0xaed82b[_0x479672(0xf9)],![])&&(_0x3b2123=![]);}catch(_0xc0ea72){logger[_0x479672(0xde)](_0x479672(0x10f)+_0xc0ea72[_0x479672(0x100)]);}return _0x3b2123;};try{typeof beforeEach===a19_0x19fb73(0xe6)&&beforeEach(function bstackA11yBeforeEach(){const _0x40c56=a19_0x19fb73,_0x467802={'Mouwj':function(_0x1a5299){return _0x1a5299();},'chPQS':function(_0x228f20,_0x5ba6bc,_0xb38b5a){return _0x228f20(_0x5ba6bc,_0xb38b5a);},'WeASg':function(_0x19df3e,_0x919386){return _0x19df3e&&_0x919386;},'GdQDH':_0x40c56(0x12c),'MfCsp':'bstackA11yScanOptions'};try{const _0x112d12=_0x467802[_0x40c56(0xbe)](_resolveAutoScanning),_0xcfd00d=_0x467802[_0x40c56(0x115)](shouldScanTestForAccessibility,null,![]),_0x4567ac=_0x467802[_0x40c56(0x126)](_0x112d12,_0xcfd00d);globals[_0x40c56(0x10c)](_0x467802[_0x40c56(0x109)],_0x4567ac),globals[_0x40c56(0x10c)](_0x467802[_0x40c56(0xfb)],null);}catch(_0x3e31b7){logger[_0x40c56(0xde)](_0x40c56(0x118)+util[_0x40c56(0x10e)](_0x3e31b7));}}),typeof afterEach===a19_0x19fb73(0xe6)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x126ae3=a19_0x19fb73,_0x32b422={'IIkTu':function(_0x18f017,_0x2b2fb9){return _0x18f017>_0x2b2fb9;},'PqWbS':_0x126ae3(0xc4),'XFIcc':function(_0x1a6ad0,_0x175014){return _0x1a6ad0+_0x175014;},'lMItm':_0x126ae3(0xaf),'IYuQD':_0x126ae3(0x101),'yYejs':_0x126ae3(0xb9),'ZbkmE':_0x126ae3(0xc6),'plRzW':'failed','Rsznz':_0x126ae3(0xe9),'sBcvy':function(_0x175fa1){return _0x175fa1();},'iXURq':'isAccessibilityPlatform','OmODo':'bstackA11yShouldScan','vryYs':_0x126ae3(0xae),'AGxDv':_0x126ae3(0xf7),'IVpGa':_0x126ae3(0x116),'JbCyZ':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','HPFQP':'isMobilePlatform','CVtEQ':_0x126ae3(0x123),'xVfkY':_0x126ae3(0x12e)};try{if(Array[_0x126ae3(0xbc)](global['__drivers'])&&_0x32b422['IIkTu'](global[_0x126ae3(0xd7)][_0x126ae3(0x12f)],0x0)&&global[_0x126ae3(0xd7)][0x0]){const _0x1f7984=_activeFullName||global['sessionName'];if(!global['__skipSessionName']&&_0x1f7984){global[_0x126ae3(0xfc)]=_0x1f7984;try{await global[_0x126ae3(0xd7)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x126ae3(0x128)](_0x1f7984)+'}}'),global[_0x126ae3(0xd7)][0x0][_0x126ae3(0xd9)]=!![];}catch(_0x1186e5){logger['debug'](_0x126ae3(0xd2)+util[_0x126ae3(0x10e)](_0x1186e5));}}if(!global[_0x126ae3(0xd3)])try{const _0x60290e=_activeResultRef&&Array[_0x126ae3(0xbc)](_activeResultRef[_0x126ae3(0x11b)])?_activeResultRef[_0x126ae3(0x11b)]:[],_0x2d4fa9=_0x32b422['IIkTu'](_0x60290e[_0x126ae3(0x12f)],0x0),_0x502a19=_0x2d4fa9?_0x60290e[0x0]&&_0x60290e[0x0][_0x126ae3(0x100)]||_0x32b422[_0x126ae3(0xe5)]:null;try{await global[_0x126ae3(0xd7)][0x0]['executeScript'](_0x126ae3(0x10a)+JSON[_0x126ae3(0x128)](_0x2d4fa9?_0x32b422[_0x126ae3(0xee)](_0x32b422[_0x126ae3(0xc2)],_0x502a19):_0x32b422[_0x126ae3(0x102)])+_0x126ae3(0xb1)+(_0x2d4fa9?_0x32b422[_0x126ae3(0xbf)]:_0x32b422[_0x126ae3(0x119)])+'\x22}}');}catch(_0x411e1f){logger[_0x126ae3(0xde)](_0x126ae3(0x117)+util[_0x126ae3(0x10e)](_0x411e1f));}_0x2d4fa9&&(global['__sessionFailed']=!![]),await helper[_0x126ae3(0xb3)](global[_0x126ae3(0xd7)][0x0],_0x2d4fa9?_0x32b422[_0x126ae3(0xe7)]:_0x32b422['Rsznz'],_0x502a19);}catch(_0x4100d8){logger['debug'](_0x126ae3(0xc8)+util[_0x126ae3(0x10e)](_0x4100d8));}}}catch(_0xe41c62){logger[_0x126ae3(0xde)](_0x126ae3(0x103)+util[_0x126ae3(0x10e)](_0xe41c62));}try{if(_0x32b422[_0x126ae3(0xcc)](isAccessibilityAutomationSession)&&globals[_0x126ae3(0xe2)](_0x32b422[_0x126ae3(0xea)])&&Array[_0x126ae3(0xbc)](global['__drivers'])&&_0x32b422['IIkTu'](global[_0x126ae3(0xd7)]['length'],0x0)&&global[_0x126ae3(0xd7)][0x0]){const _0x114cd2=testRunMap[_0x126ae3(0xc9)](_activeResultId),_0x3a27fb={};_0x3a27fb['thTestRunUuid']=_0x114cd2,_0x3a27fb[_0x126ae3(0xf1)]=process[_0x126ae3(0x10d)][testHubConstants[_0x126ae3(0xe3)][_0x126ae3(0xf2)]],_0x3a27fb[_0x126ae3(0xf0)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4f8a1f=_0x3a27fb;logger[_0x126ae3(0xde)](_0x126ae3(0xc3)+JSON[_0x126ae3(0x128)](_0x4f8a1f));if(globals[_0x126ae3(0xe2)](_0x32b422[_0x126ae3(0x104)])){logger[_0x126ae3(0xde)](_0x32b422['vryYs']);const _0x1ecde2=await accessibilityRetryHelper[_0x126ae3(0x120)](global[_0x126ae3(0xd7)][0x0],global['browserstackSessionName']);_0x1ecde2?logger[_0x126ae3(0xde)](_0x32b422[_0x126ae3(0x125)]):logger['warn'](_0x32b422['IVpGa']);}else logger['debug'](_0x32b422[_0x126ae3(0xc5)]);globals[_0x126ae3(0xe2)](_0x32b422[_0x126ae3(0x12a)])&&(_0x4f8a1f['is_mobile_session']=!![]);const _0x5f02f9=await accessibilityRetryHelper[_0x126ae3(0xff)](global[_0x126ae3(0xd7)][0x0],_0x4f8a1f);_0x5f02f9?logger['debug'](_0x32b422[_0x126ae3(0x129)]):logger[_0x126ae3(0x12d)](_0x32b422[_0x126ae3(0xb0)]);}}catch(_0x3b3335){logger['error'](_0x126ae3(0xbd)+util[_0x126ae3(0x10e)](_0x3b3335));}});}catch(a19_0x33dda7){logger[a19_0x19fb73(0xde)](a19_0x19fb73(0xd8)+util[a19_0x19fb73(0x10e)](a19_0x33dda7));}module[a19_0x19fb73(0xf8)]={};
|
|
1
|
+
'use strict';const a19_0x35656b=a19_0x4b19;(function(_0x18753a,_0xfbe87e){const _0x3f6add=a19_0x4b19,_0x5dd6e0=_0x18753a();while(!![]){try{const _0x5407de=-parseInt(_0x3f6add(0x1b4))/0x1*(parseInt(_0x3f6add(0x175))/0x2)+-parseInt(_0x3f6add(0x1d4))/0x3*(parseInt(_0x3f6add(0x19b))/0x4)+parseInt(_0x3f6add(0x1ab))/0x5*(-parseInt(_0x3f6add(0x159))/0x6)+parseInt(_0x3f6add(0x19c))/0x7*(-parseInt(_0x3f6add(0x1a1))/0x8)+parseInt(_0x3f6add(0x1c3))/0x9*(parseInt(_0x3f6add(0x17c))/0xa)+parseInt(_0x3f6add(0x162))/0xb*(-parseInt(_0x3f6add(0x1a8))/0xc)+parseInt(_0x3f6add(0x1cc))/0xd*(parseInt(_0x3f6add(0x1da))/0xe);if(_0x5407de===_0xfbe87e)break;else _0x5dd6e0['push'](_0x5dd6e0['shift']());}catch(_0x143599){_0x5dd6e0['push'](_0x5dd6e0['shift']());}}}(a19_0x313e,0xe4269));const util=require(a19_0x35656b(0x1b5)),logger=require(a19_0x35656b(0x157))['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a19_0x35656b(0x19f)),{shouldProcessEventForTesthub}=require(a19_0x35656b(0x1b2)),testHubConstants=require(a19_0x35656b(0x1c0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x35656b(0x183)),accessibilityRetryHelper=require(a19_0x35656b(0x186)),testRunMap=require(a19_0x35656b(0x1ac));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x35656b(0x16f)]||process[a19_0x35656b(0x1c5)][a19_0x35656b(0x1a5)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x175a64){logger['debug'](a19_0x35656b(0x1d6)+util[a19_0x35656b(0x191)](a19_0x175a64));}try{if(_bstackConfig&&!helper[a19_0x35656b(0x1d2)](a19_0x35656b(0x1cd))){const EKIgjz='1|3|2|4|0'['split']('|');let cEJPKS=0x0;while(!![]){switch(EKIgjz[cEJPKS++]){case'0':helper[a19_0x35656b(0x1d8)]()?(global['__skipSessionName']=helper[a19_0x35656b(0x16a)](_bstackConfig['skipSessionName']),global[a19_0x35656b(0x1ba)]=helper[a19_0x35656b(0x16a)](_bstackConfig[a19_0x35656b(0x1c9)])):(global[a19_0x35656b(0x1b6)]=!![],global[a19_0x35656b(0x1ba)]=!![]);continue;case'1':logger['debug'](a19_0x35656b(0x17a));continue;case'2':global['__platformCaps']=_bstackConfig[a19_0x35656b(0x1ad)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a19_0x35656b(0x15a))['browserstackAgentV2'](_bstackConfig,null,!![]):require('../../index')[a19_0x35656b(0x1bf)](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a19_0x405b3f){logger[a19_0x35656b(0x17b)](a19_0x35656b(0x1cf)+util[a19_0x35656b(0x191)](a19_0x405b3f));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x4e7a38=a19_0x35656b,_0x1717f7={'VIlMG':function(_0xf61824,_0x329b13){return _0xf61824(_0x329b13);},'LtpeH':_0x4e7a38(0x158),'lSKzn':function(_0x30875a,_0xac9ec0){return _0x30875a(_0xac9ec0);},'EtOwU':_0x4e7a38(0x1aa),'NIvSF':_0x4e7a38(0x197)},_0x4b9987=Error[_0x4e7a38(0x172)];try{const _0x1f5070=new Error();Error[_0x4e7a38(0x172)]=(_0x2c1436,_0x1fcf78)=>_0x1fcf78;const _0x33f17d=_0x1f5070[_0x4e7a38(0x169)];Error[_0x4e7a38(0x172)]=_0x4b9987;if(Array[_0x4e7a38(0x1d7)](_0x33f17d))for(const _0x185c2a of _0x33f17d){const _0x28f55c=_0x185c2a[_0x4e7a38(0x18d)]&&_0x185c2a['getFileName']();if(_0x28f55c&&!_0x28f55c[_0x4e7a38(0x1bb)](_0x4e7a38(0x17d)+_0x1717f7['VIlMG'](require,_0x1717f7[_0x4e7a38(0x1ca)])[_0x4e7a38(0x161)]+_0x4e7a38(0x178)+_0x1717f7['lSKzn'](require,_0x1717f7[_0x4e7a38(0x1ca)])[_0x4e7a38(0x161)])&&!_0x28f55c[_0x4e7a38(0x1c1)](_0x1717f7['EtOwU'])&&!_0x28f55c[_0x4e7a38(0x1bb)](_0x1717f7['NIvSF']))return _0x28f55c;}}catch(_0x1f7f68){Error[_0x4e7a38(0x172)]=_0x4b9987;}return null;},_wrappedDescribe=function(_0x1e974d,_0x1476e2){const _0x41dd81=a19_0x35656b,_0x76015c={'ItbYm':function(_0x2fde72){return _0x2fde72();},'WuhVY':function(_0x107cd9,_0x1a8af6){return _0x107cd9&&_0x1a8af6;},'TBEDf':function(_0x235b38,_0x3d7fce,_0xc16378){return _0x235b38(_0x3d7fce,_0xc16378);}};let _0x47afc8=null;try{_0x47afc8=_0x76015c[_0x41dd81(0x167)](_resolveCallerFile);}catch(_0x5e7859){}_describeTitleStack[_0x41dd81(0x1d5)](_0x1e974d);const _0x46e4eb=_describeTitleStack[_0x41dd81(0x1af)]('\x20');_0x76015c['WuhVY'](_0x47afc8,_0x46e4eb)&&(_fileNameByFullName[_0x46e4eb]=_0x47afc8);try{return _0x76015c[_0x41dd81(0x177)](_origDescribe,_0x1e974d,_0x1476e2);}finally{_describeTitleStack[_0x41dd81(0x1c4)]();}};Object['keys'](_origDescribe)['forEach'](_0x37ce85=>{_wrappedDescribe[_0x37ce85]=_origDescribe[_0x37ce85];}),global[a19_0x35656b(0x168)]=_wrappedDescribe;}}catch(a19_0x44f938){logger[a19_0x35656b(0x17b)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a19_0x44f938));}try{if(typeof jasmine!==a19_0x35656b(0x1b8)&&jasmine[a19_0x35656b(0x173)]){const BrowserStackJasmineReporter=require(a19_0x35656b(0x1a6)),a19_0x10629d={};a19_0x10629d[a19_0x35656b(0x1a7)]=_fileNameByFullName,jasmine[a19_0x35656b(0x173)]()['addReporter'](new BrowserStackJasmineReporter(a19_0x10629d)),logger[a19_0x35656b(0x17b)](a19_0x35656b(0x188));}else logger[a19_0x35656b(0x17b)](a19_0x35656b(0x18e));}catch(a19_0x36804f){logger['debug'](a19_0x35656b(0x18a)+util[a19_0x35656b(0x191)](a19_0x36804f));}try{typeof jasmine!==a19_0x35656b(0x1b8)&&jasmine[a19_0x35656b(0x173)]&&jasmine[a19_0x35656b(0x173)]()[a19_0x35656b(0x19e)]({'specStarted'(_0xb08e20){const _0x5565fa=a19_0x35656b,_0x1c9130={};_0x1c9130[_0x5565fa(0x1c7)]=function(_0x516d43,_0xa9fec0){return _0x516d43||_0xa9fec0;};const _0x41757c=_0x1c9130;_activeResultId=_0xb08e20&&_0xb08e20['id'],_activeFullName=_0xb08e20&&_0xb08e20['fullName'],_activeResultRef=_0x41757c[_0x5565fa(0x1c7)](_0xb08e20,null);},'specDone'(){}});}catch(a19_0x2966dc){logger[a19_0x35656b(0x17b)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a19_0x35656b(0x191)](a19_0x2966dc));}function a19_0x313e(){const _0xd0dc85=['executeScript','471573fMiMew','pop','env','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','SotbL','xpoUS','skipSessionStatus','LtpeH','__drivers','13BPArBg','@playwright/test','function','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','autoScanning','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','getPackageVersion',',\x22level\x22:\x20\x22','87FbqriN','push','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','isArray','isBrowserstackInfra','stringify','56876246fnEIUG','../../helpers/logger','path','2416872tmhZxs','../../index','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isMobilePlatform','BROWSERSTACK_TESTHUB_JWT','QyzOB','BROWSERSTACK_TESTHUB_UUID','failedExpectations','sep','3399tgUTzb','bstackA11yScanOptions','pDXUu','length','VBeoe','ItbYm','describe','stack','isTrue','get','JHIzU','performScanWithRetry','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','BROWSERSTACK_JASMINE_CONFIG','AAReh','thJwtToken','prepareStackTrace','getEnv','sessionNameSet__','2988878PeavzW','ENV_VAR','TBEDf','jasmine','info','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','debug','150Urmtww','bin','LSKFM','browserstackSessionName','failed','OHFJC','tVNkt','../../helpers/accessibility-automation/helper','EdxQt','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','message','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','thBuildUuid','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Spec\x20failed','getFileName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','\x22}}','EKnGO','format','ffcQX','warn','vssEq','RZsWd','Teicg','jasmine-core','sessionName','parse','jJYLq','2196JfhdZJ','337806xgVFaF','ZCvfN','addReporter','../../helpers/globals','__sessionFailed','32WTWhYz','gmnkV','markSessionStatus','passed','CONFIG','./bstack-reporter/customReporter','fileNameByFullName','54564QABPMT','bstackA11yShouldScan','node:','10ILUfXR','./testRunMap','platformCaps','exports','join','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','zUCqV','../../helpers/testhub/utils','Passed','1lIewJc','util','__skipSessionName','mELjH','undefined','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__skipSessionStatus','includes','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','error','browserstackAgentV2','../../helpers/testhub/constants','startsWith'];a19_0x313e=function(){return _0xd0dc85;};return a19_0x313e();}const _resolveAutoScanning=()=>{const _0x4eadc3=a19_0x35656b,_0x621119={};_0x621119[_0x4eadc3(0x1c8)]=function(_0x19766f,_0x5c74d3){return _0x19766f===_0x5c74d3;};const _0x4e1d4b=_0x621119;let _0x4f80f1=!![];try{const _0x16d341=JSON[_0x4eadc3(0x199)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4e1d4b[_0x4eadc3(0x1c8)](_0x16d341[_0x4eadc3(0x1d0)],![])&&(_0x4f80f1=![]);}catch(_0x42e901){logger[_0x4eadc3(0x17b)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x42e901[_0x4eadc3(0x187)]);}return _0x4f80f1;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x303e99=a19_0x35656b,_0x374249={'vssEq':function(_0x2e72e6){return _0x2e72e6();},'QyzOB':function(_0x47da85,_0x114792,_0x3ee044){return _0x47da85(_0x114792,_0x3ee044);},'pDXUu':function(_0x2b95f1,_0x5c1dad){return _0x2b95f1&&_0x5c1dad;},'gmnkV':'bstackA11yShouldScan','jJYLq':_0x303e99(0x163)};try{const _0x5d12a1=_0x374249[_0x303e99(0x194)](_resolveAutoScanning),_0xb40b51=_0x374249[_0x303e99(0x15e)](shouldScanTestForAccessibility,null,![]),_0xd31d31=_0x374249[_0x303e99(0x164)](_0x5d12a1,_0xb40b51);globals['setGlobal'](_0x374249[_0x303e99(0x1a2)],_0xd31d31),globals['setGlobal'](_0x374249[_0x303e99(0x19a)],null);}catch(_0x313e1f){logger[_0x303e99(0x17b)](_0x303e99(0x18b)+util['format'](_0x313e1f));}}),typeof afterEach===a19_0x35656b(0x1ce)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x598f87=a19_0x35656b,_0xc7573d={'zUCqV':function(_0x20e84e,_0x495120){return _0x20e84e>_0x495120;},'AAReh':_0x598f87(0x18c),'RZsWd':function(_0x19ab97,_0x467dfd){return _0x19ab97+_0x467dfd;},'JAdzE':'Failed:\x20','Teicg':_0x598f87(0x1b3),'DCwfO':_0x598f87(0x1be),'mELjH':_0x598f87(0x179),'ZCvfN':_0x598f87(0x180),'gBZcS':_0x598f87(0x1a4),'EKnGO':function(_0x2d32da){return _0x2d32da();},'ffcQX':'isAccessibilityPlatform','JHIzU':function(_0x33595d,_0x1b29bd){return _0x33595d>_0x1b29bd;},'VBeoe':_0x598f87(0x1a9),'eXmPj':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','EdxQt':_0x598f87(0x1bd),'LSKFM':_0x598f87(0x15b),'OHFJC':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','bQJIe':_0x598f87(0x15c),'tVNkt':_0x598f87(0x1bc),'RYeMh':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global['__drivers'])&&_0xc7573d['zUCqV'](global[_0x598f87(0x1cb)][_0x598f87(0x165)],0x0)&&global[_0x598f87(0x1cb)][0x0]){const _0x4c8994=_activeFullName||global[_0x598f87(0x198)];if(!global[_0x598f87(0x1b6)]&&_0x4c8994){global[_0x598f87(0x198)]=_0x4c8994;try{await global[_0x598f87(0x1cb)][0x0]['executeScript'](_0x598f87(0x185)+JSON[_0x598f87(0x1d9)](_0x4c8994)+'}}'),global[_0x598f87(0x1cb)][0x0][_0x598f87(0x174)]=!![];}catch(_0x236990){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x236990));}}if(!global[_0x598f87(0x1ba)])try{const _0x477143=_activeResultRef&&Array[_0x598f87(0x1d7)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x598f87(0x160)]:[],_0xf54fad=_0xc7573d[_0x598f87(0x1b1)](_0x477143['length'],0x0),_0x4782d0=_0xf54fad?_0x477143[0x0]&&_0x477143[0x0][_0x598f87(0x187)]||_0xc7573d[_0x598f87(0x170)]:null;try{await global['__drivers'][0x0][_0x598f87(0x1c2)](_0x598f87(0x1b9)+JSON[_0x598f87(0x1d9)](_0xf54fad?_0xc7573d[_0x598f87(0x195)](_0xc7573d['JAdzE'],_0x4782d0):_0xc7573d[_0x598f87(0x196)])+_0x598f87(0x1d3)+(_0xf54fad?_0xc7573d['DCwfO']:_0xc7573d[_0x598f87(0x1b7)])+_0x598f87(0x18f));}catch(_0x5e9c84){logger[_0x598f87(0x17b)](_0x598f87(0x1d1)+util[_0x598f87(0x191)](_0x5e9c84));}_0xf54fad&&(global[_0x598f87(0x1a0)]=!![]),await helper[_0x598f87(0x1a3)](global[_0x598f87(0x1cb)][0x0],_0xf54fad?_0xc7573d[_0x598f87(0x19d)]:_0xc7573d['gBZcS'],_0x4782d0);}catch(_0x5ccc10){logger[_0x598f87(0x17b)](_0x598f87(0x16e)+util['format'](_0x5ccc10));}}}catch(_0x136bdb){logger[_0x598f87(0x17b)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x598f87(0x191)](_0x136bdb));}try{if(_0xc7573d[_0x598f87(0x190)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xc7573d[_0x598f87(0x192)])&&Array[_0x598f87(0x1d7)](global[_0x598f87(0x1cb)])&&_0xc7573d[_0x598f87(0x16c)](global[_0x598f87(0x1cb)][_0x598f87(0x165)],0x0)&&global[_0x598f87(0x1cb)][0x0]){const _0xf996de=testRunMap[_0x598f87(0x16b)](_activeResultId),_0x419fdc={};_0x419fdc['thTestRunUuid']=_0xf996de,_0x419fdc[_0x598f87(0x189)]=process[_0x598f87(0x1c5)][testHubConstants[_0x598f87(0x176)][_0x598f87(0x15f)]],_0x419fdc[_0x598f87(0x171)]=process[_0x598f87(0x1c5)][testHubConstants[_0x598f87(0x176)][_0x598f87(0x15d)]];const _0x2c8227=_0x419fdc;logger[_0x598f87(0x17b)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x598f87(0x1d9)](_0x2c8227));if(globals['getGlobal'](_0xc7573d[_0x598f87(0x166)])){logger[_0x598f87(0x17b)](_0xc7573d['eXmPj']);const _0x3d4b4a=await accessibilityRetryHelper[_0x598f87(0x16d)](global[_0x598f87(0x1cb)][0x0],global[_0x598f87(0x17f)]);_0x3d4b4a?logger['debug'](_0xc7573d[_0x598f87(0x184)]):logger[_0x598f87(0x193)](_0xc7573d[_0x598f87(0x17e)]);}else logger['debug'](_0xc7573d[_0x598f87(0x181)]);globals['getGlobal'](_0xc7573d['bQJIe'])&&(_0x2c8227['is_mobile_session']=!![]);const _0x2519a7=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x2c8227);_0x2519a7?logger[_0x598f87(0x17b)](_0xc7573d[_0x598f87(0x182)]):logger[_0x598f87(0x193)](_0xc7573d['RYeMh']);}}catch(_0x1ff98e){logger['error'](_0x598f87(0x1b0)+util[_0x598f87(0x191)](_0x1ff98e));}});}catch(a19_0x462ae6){logger[a19_0x35656b(0x17b)](a19_0x35656b(0x1c6)+util['format'](a19_0x462ae6));}function a19_0x4b19(_0x57fbaa,_0x3c7209){const _0x313e64=a19_0x313e();return a19_0x4b19=function(_0x4b1970,_0x4513a9){_0x4b1970=_0x4b1970-0x157;let _0x57aea6=_0x313e64[_0x4b1970];return _0x57aea6;},a19_0x4b19(_0x57fbaa,_0x3c7209);}module[a19_0x35656b(0x1ae)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a20_0x56f5(_0x2e25db,_0x3868dc){const _0x145ee5=a20_0x145e();return a20_0x56f5=function(_0x56f5cb,_0x28c7d6){_0x56f5cb=_0x56f5cb-0x12a;let _0x585e36=_0x145ee5[_0x56f5cb];return _0x585e36;},a20_0x56f5(_0x2e25db,_0x3868dc);}function a20_0x145e(){const _0x321c35=['1711404ItwXPw','delete','vjgoL','_size','remove','2223OoAApd','4649142xmuMoG','get','27784rEEgTt','1852542vWApaI','set','yPGGP','5SJaeqS','10364739rKqLMy','KhbVw','198rtDvsJ','34102080ybLMWg','40899WYWGBw','KirLJ'];a20_0x145e=function(){return _0x321c35;};return a20_0x145e();}const a20_0x32051e=a20_0x56f5;(function(_0x5642e3,_0x16e361){const _0x11476a=a20_0x56f5,_0x12b7c4=_0x5642e3();while(!![]){try{const _0x2687f9=parseInt(_0x11476a(0x130))/0x1+parseInt(_0x11476a(0x136))/0x2*(parseInt(_0x11476a(0x138))/0x3)+-parseInt(_0x11476a(0x13a))/0x4+parseInt(_0x11476a(0x133))/0x5*(-parseInt(_0x11476a(0x12d))/0x6)+parseInt(_0x11476a(0x134))/0x7+parseInt(_0x11476a(0x12f))/0x8*(parseInt(_0x11476a(0x12c))/0x9)+-parseInt(_0x11476a(0x137))/0xa;if(_0x2687f9===_0x16e361)break;else _0x12b7c4['push'](_0x12b7c4['shift']());}catch(_0x1bb3a7){_0x12b7c4['push'](_0x12b7c4['shift']());}}}(a20_0x145e,0xe2839));const _specUuidById=new Map();exports['set']=(_0x5d5965,_0x1bccd8)=>{const _0x322eac=a20_0x56f5,_0x14f31a={};_0x14f31a[_0x322eac(0x13c)]=function(_0x8adfb5,_0x165c3c){return _0x8adfb5===_0x165c3c;},_0x14f31a[_0x322eac(0x135)]=function(_0x1dd483,_0x5c7e20){return _0x1dd483===_0x5c7e20;};const _0x5ceb0c=_0x14f31a;if(_0x5ceb0c[_0x322eac(0x13c)](_0x5d5965,undefined)||_0x5ceb0c['KhbVw'](_0x5d5965,null))return;_specUuidById[_0x322eac(0x131)](_0x5d5965,_0x1bccd8);},exports[a20_0x32051e(0x12e)]=_0x486036=>{const _0x312213=a20_0x32051e,_0x3a0799={};_0x3a0799[_0x312213(0x139)]=function(_0x19aea8,_0x2a637b){return _0x19aea8===_0x2a637b;};const _0x41698d=_0x3a0799;if(_0x41698d['KirLJ'](_0x486036,undefined)||_0x41698d[_0x312213(0x139)](_0x486036,null))return undefined;return _specUuidById['get'](_0x486036);},exports[a20_0x32051e(0x12b)]=_0x234e83=>{const _0x22cbd7=a20_0x32051e,_0x54a27f={};_0x54a27f[_0x22cbd7(0x132)]=function(_0x5effa5,_0x2e0786){return _0x5effa5===_0x2e0786;};const _0x53bff5=_0x54a27f;if(_0x53bff5[_0x22cbd7(0x132)](_0x234e83,undefined)||_0x53bff5[_0x22cbd7(0x132)](_0x234e83,null))return;_specUuidById[_0x22cbd7(0x13b)](_0x234e83);},exports[a20_0x32051e(0x12a)]=()=>_specUuidById['size'];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x26c404=a21_0x2400;(function(_0x4d7b09,_0x266cf3){const _0x53cb85=a21_0x2400,_0x2cd8c9=_0x4d7b09();while(!![]){try{const _0xef93af=parseInt(_0x53cb85(0x172))/0x1*(-parseInt(_0x53cb85(0x159))/0x2)+-parseInt(_0x53cb85(0xcd))/0x3+parseInt(_0x53cb85(0x163))/0x4*(-parseInt(_0x53cb85(0x128))/0x5)+-parseInt(_0x53cb85(0xac))/0x6*(-parseInt(_0x53cb85(0x124))/0x7)+parseInt(_0x53cb85(0x16b))/0x8+-parseInt(_0x53cb85(0x109))/0x9+parseInt(_0x53cb85(0x1a8))/0xa*(-parseInt(_0x53cb85(0x146))/0xb);if(_0xef93af===_0x266cf3)break;else _0x2cd8c9['push'](_0x2cd8c9['shift']());}catch(_0x29bcaa){_0x2cd8c9['push'](_0x2cd8c9['shift']());}}}(a21_0x2d88,0xd3c48));function a21_0x2d88(){const _0x15b842=['VDFqi','rmSync','testEnvironment','../../helpers/testhub/testhubHandler','handleApp','1100351dCVdJp','isRunning','../../helpers/utilities','customCircus.js','55JiBTnF','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','__isPuppeteerInstalled','oumfd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/accessibility-automation/helper','parse','yifja','BNSSV','findIndex','runner','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest-config','runInBand','proxySettings','workingDir','../../helpers/percy/utils','uUoYK','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','parseTestOrchestrationOptions','uEFly','ikoIy','browserStackLogLevel','start','stringify','SDK_CLEANUP','launchBuild','data-hooks.js','printBuildLink','shouldProcessEventForTesthub','1948001hxZkrG','platforms','isTestOrchestrationEnabled','TUfDZ','\x20:\x20','svojY','ADtkA','BROWSERSTACK_FRAMEWORK','HJcUj','kgelF','isEmpty','accessibility','testContextOptions','failFast','sJzOy','bCACj','push','requireSeleniumWebdriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1054934siUmze','skipSessionName','initialize','npx','GzZOZ','Error\x20while\x20parsing\x20','bnQwi','setup','KHTxi','../../helpers/testhub/utils','67604gbLbUn','PACKAGE_TYPE','\x0a\x20\x20\x20\x20\x20\x20','isNotUndefined',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','customEnvironment.js','slice','false','11734048aUqcJT','MZxdK','platform','getErrorMessageFromResults','info','../../helpers/performance/constants','FRAMEWORKS','1wwdYQg','errorMessage','setupFilesAfterEnv','jest.setup.js','maxWorkers','SDK_SETUP','lbBfe','zDhGY','apply','jOPhj','BROWSERSTACK_TEST_OBSERVABILITY_YML','jest-runner-','winstonLogger','package.json','moduleNameMapper','accessibilityOptions','error','isBrowserstackInfra','recursive','YtnVM','puppeteer','../../helpers/test-observability/utils','existsSync','failureThresholdCount','capabilities','customTestRunnerTemplate.js','default','shutdown','@playwright/test','bYUjd','../../helpers/logger','isUndefined','jest-config/build/readConfigFileAndSetRootDir.js','jest.config.','exports','@jest/core/build/ReporterDispatcher.js','prepareCapabilities','test-observability','IVkCD','requireModule','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','../../helpers/puppeteer-helper','close','EVENTS','unlinkSync','json','\x0amodule.exports\x20=\x20config;','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','end','resolve','--config','QwcHb','Deleted\x20fail-fast\x20state\x20folder:\x20','stop','20oUebzk','zFRSq','jest-circus','useW3C','USER_CONFIG_DETAILS_PATH','MHLxQ','Puppeteer\x20setup\x20error:\x20','66qoItcy','pNGZw','resolveModule','config','getInstance','skipSessionStatus','dWPVl','isCliEnabled','jest-circus/build/runner.js','WHGWu','Unable\x20to\x20find\x20jest-circus,\x20','test_before.setup.js','MMulm','debug','__isPlaywrightInstalled','playwright','testEnvironmentOptions','getHubUrl','../../helpers/BrowserStackSetup','Getting\x20your\x20jest\x20configs\x20from\x20','./test-observability/helper','readFileSync',',\x20CLI\x20running:\x20','BSTACK_USER_JEST_RUNNER','QIThc','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','OOIgN','JCUyJ',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','tCfTN','EPvBb','jest-runner','3515619eyxnyM','cjs','assign','turboScaleUrl','const\x20config=','ioaAX','JEST','MLnaj','message','Reodered\x20Test\x20Files:\x20','mjs','inherit','JEST_TEST_ORDER','GiYbc','splice','join','TwgQs','writeFileSync','XqAeB','ehbCR','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','zwtpJ','CLHvU','jest','../utils/clientTroubleshootingService','replace','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','BSTACK_JEST_TEST_ENV','OoqNj','length','true','KUyNj','../utils/constants','log','qpBaH','../../helpers/test-observability/constants','exitCode','getPackageType','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','setupBrowserstackLocal','./test-observability/test-details','abortBuildOnFailure','../../helpers/test-orchestration/testOrchestrationHandler','filterBrowserstackArgs','zAyjs','isCLIEnabled','reporters','Creating\x20','FIJqj','OTQSY','requirePWModule','MODULE','dirname','AONLB','Getting\x20your\x20jest\x20configs\x20from\x20package.json','reorderTestFiles','BROWSERSTACK_CAPABILITIES','setupFiles','HXMoZ','testSequencer','801414xqnolm','HGnXT','util','child_process','maxFailures','ygVtx','Bccnh','finalExecution','env','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','format','RBTBq','testTimeout','parallelsPerPlatform','retryTestsOnFailure','IBGUo','lZXtI','child\x20process\x20exited\x20with\x20code\x20','serial__','KMgVA','pJDAB','jest_browserstack.config.js'];a21_0x2d88=function(){return _0x15b842;};return a21_0x2d88();}function a21_0x2400(_0x2d8142,_0x4cf47f){const _0x2d886f=a21_0x2d88();return a21_0x2400=function(_0x240066,_0x1dceb8){_0x240066=_0x240066-0xa9;let _0x59fa01=_0x2d886f[_0x240066];return _0x59fa01;},a21_0x2400(_0x2d8142,_0x4cf47f);}const fs=require('fs'),path=require('path'),util=require(a21_0x26c404(0x10b)),{spawn}=require(a21_0x26c404(0x10c)),logger=require(a21_0x26c404(0x190))[a21_0x26c404(0x17e)],{default:BrowserStackSetup}=require(a21_0x26c404(0xbe)),helper=require('../../helpers/helper'),utilities=require(a21_0x26c404(0x126)),constants=require(a21_0x26c404(0xed)),accessibilityHelper=require(a21_0x26c404(0x12d)),{updateTestRerunConfig}=require(a21_0x26c404(0xc0)),testOpsHelper=require(a21_0x26c404(0x187)),{debug}=require(a21_0x26c404(0x187)),TestDetails=require(a21_0x26c404(0xf5)),{getPercyOptions}=require(a21_0x26c404(0x138)),TestHubHandler=require(a21_0x26c404(0x122)),testhubUtils=require(a21_0x26c404(0x162)),{FRAMEWORKS}=require(a21_0x26c404(0xf0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a21_0x26c404(0x170))[a21_0x26c404(0x19d)],TestOrchestrationHandler=require(a21_0x26c404(0xf7)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x26c404(0x19b)),ClientTroubleShootingService=require(a21_0x26c404(0xe5)),{checkAccessibilityPlatformConfig}=require(a21_0x26c404(0x12d)),getUserJestConfigs=async(_0x3c470c,_0x49bf4a)=>{const _0x3c55d7=a21_0x26c404,_0x568964={'QwcHb':_0x3c55d7(0x192),'zFRSq':_0x3c55d7(0x134),'bCACj':function(_0x55e422,_0x2e674b){return _0x55e422||_0x2e674b;},'yCRfG':function(_0x1bed57,_0x28b099){return _0x1bed57(_0x28b099);},'HXMoZ':_0x3c55d7(0x17f),'ikoIy':_0x3c55d7(0x103),'adcKA':_0x3c55d7(0xd7),'YtnVM':_0x3c55d7(0xce),'kgelF':_0x3c55d7(0x19f)};let _0x5b67cc;try{_0x5b67cc=helper[_0x3c55d7(0x199)](_0x568964[_0x3c55d7(0x1a5)],_0x568964[_0x3c55d7(0x1a9)]);}catch{const _0x584783=helper['requireModule'](_0x568964['zFRSq']);_0x5b67cc={'default':async _0x5b243e=>{const _0x2c6b66=_0x3c55d7,_0x53be92=await _0x584783['readInitialOptions'](_0x5b243e,{});return _0x53be92[_0x2c6b66(0xaf)];}};}const _0x556a49=_0x49bf4a[_0x3c55d7(0x131)](_0x2e5b38=>_0x2e5b38===_0x3c55d7(0x1a4));if(!helper[_0x3c55d7(0x191)](_0x3c470c[_0x3c55d7(0xaf)])){logger['info'](_0x3c55d7(0xbf)+_0x3c470c[_0x3c55d7(0xaf)]),process['env'][_0x3c55d7(0xa9)]=_0x3c470c[_0x3c55d7(0xaf)];const _0x260abb=await(0x0,_0x5b67cc[_0x3c55d7(0x18c)])(path['resolve'](_0x3c470c['config']));return _0x49bf4a[_0x3c55d7(0xdb)](_0x556a49,0x2),_0x568964[_0x3c55d7(0x155)](_0x260abb,{});}const _0x3498e8=_0x568964['yCRfG'](require,path[_0x3c55d7(0xdc)](process['cwd'](),_0x568964[_0x3c55d7(0x107)]));if(_0x3498e8[_0x3c55d7(0xe4)])return logger[_0x3c55d7(0x16f)](_0x568964[_0x3c55d7(0x13d)]),_0x3498e8['jest'];const _0x3c7dad=['js',_0x568964['adcKA'],_0x568964[_0x3c55d7(0x185)],_0x568964[_0x3c55d7(0x14f)],'ts'];for(const _0x516e87 of _0x3c7dad){const _0x2f0a03=path[_0x3c55d7(0xdc)](process['cwd'](),_0x3c55d7(0x193)+_0x516e87);if(fs[_0x3c55d7(0x188)](_0x2f0a03)){process[_0x3c55d7(0x111)]['USER_CONFIG_DETAILS_PATH']=_0x2f0a03;const _0x12250a=await(0x0,_0x5b67cc[_0x3c55d7(0x18c)])(_0x2f0a03);return _0x12250a;}}return{};},getSerial=(_0x27649d,_0x5688c4)=>{const _0x25fd4e=a21_0x26c404,_0x4d7c1d={};_0x4d7c1d['TdKgM']='true',_0x4d7c1d[_0x25fd4e(0xc7)]=function(_0x11cd9e,_0x308f2d){return _0x11cd9e>_0x308f2d;},_0x4d7c1d['nxoiC']=function(_0x3097f7,_0x36e8d9){return _0x3097f7>_0x36e8d9;},_0x4d7c1d[_0x25fd4e(0xe9)]=_0x25fd4e(0x16a);const _0x1f369f=_0x4d7c1d;let _0x37af47=_0x1f369f['TdKgM'];return _0x1f369f['JCUyJ'](_0x27649d[_0x25fd4e(0xea)],0x1)&&(!_0x5688c4[_0x25fd4e(0x135)]&&(helper[_0x25fd4e(0x191)](_0x5688c4[_0x25fd4e(0x176)])||_0x1f369f['nxoiC'](_0x5688c4[_0x25fd4e(0x176)],0x1)))&&(_0x37af47=_0x1f369f[_0x25fd4e(0xe9)]),_0x37af47;},getMaxWorkers=(_0x3bc5e2,_0x206e4a,_0x384840)=>{const _0x20332f=a21_0x26c404,_0x142e73={'KHTxi':function(_0x150c46,_0x4434e3){return _0x150c46(_0x4434e3);}};let _0x750f95=0x1;if(!helper[_0x20332f(0x191)](_0x206e4a['parallelsPerPlatform']))_0x750f95=_0x142e73[_0x20332f(0x161)](parseInt,_0x206e4a[_0x20332f(0x116)]);else{if(!helper[_0x20332f(0x191)](_0x3bc5e2[_0x20332f(0x176)]))_0x750f95=_0x3bc5e2[_0x20332f(0x176)];else!helper[_0x20332f(0x191)](_0x384840[_0x20332f(0x176)])&&(_0x750f95=_0x384840['maxWorkers']);}return _0x750f95;};async function run(_0x4f6157,_0xb4fec5,_0x4abd56){const _0x275937=a21_0x26c404,_0x130358={'pJDAB':_0x275937(0xe4),'KMgVA':function(_0x576cd6,_0x3255a0){return _0x576cd6(_0x3255a0);},'AONLB':_0x275937(0x18e),'pNGZw':function(_0x3bf934){return _0x3bf934();},'GiYbc':function(_0x3be668,_0x47e86d,_0x516c56,_0x1621c1){return _0x3be668(_0x47e86d,_0x516c56,_0x1621c1);},'oumfd':function(_0x1568a3,_0x3be624,_0x1100dc,_0x414077){return _0x1568a3(_0x3be624,_0x1100dc,_0x414077);},'WHGWu':function(_0x5e41a1,_0x4628a0){return _0x5e41a1!=_0x4628a0;},'qWTqb':_0x275937(0xeb),'OTQSY':function(_0x1befc5,_0x347b71,_0x2971fe){return _0x1befc5(_0x347b71,_0x2971fe);},'bnQwi':_0x275937(0xc5),'IBGUo':function(_0x3f0e8f,_0x2ddd05){return _0x3f0e8f(_0x2ddd05);},'TwgQs':function(_0xbdf91f,_0x5cf8f1){return _0xbdf91f(_0x5cf8f1);},'ADtkA':_0x275937(0x16a),'OOIgN':function(_0x4e18d8,_0x2a6bfc,_0x645bda){return _0x4e18d8(_0x2a6bfc,_0x645bda);},'bYUjd':function(_0x56bc97,_0x48ac6a,_0x500337,_0x40dd6a){return _0x56bc97(_0x48ac6a,_0x500337,_0x40dd6a);},'zDhGY':function(_0x1c5af3,_0x34f49e){return _0x1c5af3*_0x34f49e;},'NVspN':function(_0x47ebf7,_0x5853e5){return _0x47ebf7===_0x5853e5;},'ygVtx':'jest_browserstack.config.cjs','TUfDZ':_0x275937(0x11e),'svojY':'customImplements','HJcUj':'jest_browserstack_results.json','dWPVl':'customTestRunner.js','qpBaH':_0x275937(0x18b),'tCfTN':_0x275937(0x168),'yifja':function(_0xff036,_0xf22cc1){return _0xff036!==_0xf22cc1;},'ehbCR':_0x275937(0xcc),'XqAeB':_0x275937(0x17d),'lZXtI':_0x275937(0x175),'CLHvU':'customSequencer.js','zwtpJ':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','FIJqj':_0x275937(0x1aa),'ioaAX':_0x275937(0xb4),'uEFly':_0x275937(0x197),'huUUa':_0x275937(0x143),'DFTbe':_0x275937(0x127),'QIThc':_0x275937(0xb7),'EPvBb':_0x275937(0x13a),'MsJrZ':_0x275937(0xbb),'IVkCD':_0x275937(0x129),'MMulm':'test.setup.js','uUoYK':_0x275937(0x1a1),'sJzOy':function(_0x14c3f8,_0x2efb5b){return _0x14c3f8&&_0x2efb5b;},'KUyNj':_0x275937(0xe1),'MroRA':_0x275937(0x186),'MZxdK':'puppeteer-core/package.json','HGnXT':_0x275937(0x18c),'NOIpv':_0x275937(0x195),'RBTBq':'@jest/core','kjSSd':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','VDFqi':function(_0x29c418,_0x23d1f6){return _0x29c418>_0x23d1f6;},'GzZOZ':_0x275937(0x133),'BNSSV':'--config','zAyjs':function(_0x20da16,_0x476ef0,_0x59ff7b,_0x397190){return _0x20da16(_0x476ef0,_0x59ff7b,_0x397190);},'lbBfe':_0x275937(0x15c),'jOPhj':function(_0x4e4f9d,_0x212822){return _0x4e4f9d===_0x212822;},'MHLxQ':'win32','MLnaj':_0x275937(0xd8),'Bccnh':_0x275937(0x19c)},_0x2ab800=helper['getPackageVersion'](_0x130358[_0x275937(0x102)]);global[_0x275937(0xba)]=!!_0x2ab800;const _0x3d3221=_0x130358[_0x275937(0xad)](getPuppeteerVersion);global[_0x275937(0x12a)]=!!_0x3d3221;helper[_0x275937(0x183)]()&&(await _0x4abd56[_0x275937(0x15b)](_0x4f6157),await helper[_0x275937(0x123)](_0x4abd56['config']));if(_0x2ab800)await _0x130358[_0x275937(0xda)](checkPwandBootstrapCli,_0x2ab800,constants[_0x275937(0x171)]['JEST'],_0x4abd56);else _0x3d3221&&await _0x130358[_0x275937(0x12b)](checkPuppeteerAndBootstrapCli,_0x3d3221,constants[_0x275937(0x171)][_0x275937(0xd3)],_0x4abd56);!BrowserstackCLI['getInstance']()[_0x275937(0x125)]()&&await _0x4abd56[_0x275937(0xf4)]();if(!_0x4abd56[_0x275937(0xaf)])return;_0x130358[_0x275937(0xb5)](_0x4abd56['config']['testObservability'],null)?process[_0x275937(0x111)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4abd56[_0x275937(0xaf)]['testObservability']:process['env'][_0x275937(0x17c)]=_0x130358['qWTqb'];const _0x1405a8=new TestOrchestrationHandler(_0x4abd56[_0x275937(0xaf)]),_0x1dae11=await _0x130358['OTQSY'](getUserJestConfigs,_0x4f6157,_0xb4fec5);logger[_0x275937(0x16f)](_0x130358[_0x275937(0x15f)]);const _0x3ecf4b=Object[_0x275937(0xcf)]({},_0x1dae11);_0x3ecf4b[_0x275937(0xbc)]=Object[_0x275937(0xcf)]({},_0x3ecf4b[_0x275937(0xbc)],{'server':helper[_0x275937(0xbd)](_0x4abd56[_0x275937(0xaf)]),'environment':_0x1dae11[_0x275937(0x121)]}),_0x3ecf4b[_0x275937(0xbc)]['browserStackPercyOptions']=_0x130358[_0x275937(0x118)](getPercyOptions,_0x4abd56['config']);const _0x336242=helper[_0x275937(0x1ab)](_0x4abd56[_0x275937(0xaf)]);!helper[_0x275937(0x191)](_0x4abd56[_0x275937(0xaf)][_0x275937(0x181)])&&(process[_0x275937(0x111)][_0x275937(0x158)]=JSON[_0x275937(0x140)](_0x4abd56[_0x275937(0xaf)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x275937(0x125)]()){const _0x28a01e=await TestHubHandler[_0x275937(0x142)](FRAMEWORKS[_0x275937(0xd3)],_0x4abd56);}const _0x1dc15=helper[_0x275937(0x196)](_0x4abd56[_0x275937(0xaf)],_0x336242,constants[_0x275937(0x171)][_0x275937(0xd3)]);process[_0x275937(0x111)][_0x275937(0x105)]=JSON[_0x275937(0x140)](_0x1dc15);let _0x2a41fb=_0x4abd56[_0x275937(0xaf)][_0x275937(0x151)];_0x2a41fb=_0x2a41fb||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4abd56[_0x275937(0xaf)]),process[_0x275937(0x111)][_0x275937(0x12c)]=_0x2a41fb,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x2a41fb+_0x275937(0xc2)+BrowserstackCLI[_0x275937(0xb0)]()[_0x275937(0x125)]());if(_0x2ab800)try{const _0x81a2d7=_0x130358[_0x275937(0xdd)](checkAccessibilityPlatformConfig,_0x4abd56[_0x275937(0xaf)]);process[_0x275937(0x111)][_0x275937(0xf3)]=_0x81a2d7?_0x130358['qWTqb']:_0x130358[_0x275937(0x14c)],logger[_0x275937(0xb9)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x81a2d7+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x275937(0x111)][_0x275937(0xf3)]);}catch(_0x2a089f){logger[_0x275937(0xb9)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x275937(0x113)](_0x2a089f));}_0x3ecf4b[_0x275937(0xbc)][_0x275937(0x18a)]=_0x1dc15,_0x3ecf4b[_0x275937(0xbc)][_0x275937(0x11b)]=_0x130358[_0x275937(0xc6)](getSerial,_0x1dc15,_0x4f6157),_0x3ecf4b[_0x275937(0xbc)]['parallels__']=_0x130358[_0x275937(0x18f)](getMaxWorkers,_0x4f6157,_0x4abd56[_0x275937(0xaf)],_0x1dae11),_0x3ecf4b['testEnvironmentOptions'][_0x275937(0x136)]=_0x4abd56[_0x275937(0xaf)][_0x275937(0x136)],_0x3ecf4b[_0x275937(0xbc)]['timeout__']=_0x130358[_0x275937(0x179)](_0x4f6157[_0x275937(0x115)],0x1)||0x1388,_0x3ecf4b[_0x275937(0xbc)][_0x275937(0x15a)]=_0x4abd56[_0x275937(0xaf)][_0x275937(0x152)]['skipSessionName'],_0x3ecf4b[_0x275937(0xbc)][_0x275937(0xb1)]=_0x4abd56[_0x275937(0xaf)][_0x275937(0x152)][_0x275937(0xb1)],_0x3ecf4b['testEnvironmentOptions'][_0x275937(0x13e)]=_0x4abd56['config']['logLevel'],_0x3ecf4b[_0x275937(0xbc)][_0x275937(0xd0)]=_0x4abd56[_0x275937(0xaf)][_0x275937(0xd0)],_0x3ecf4b[_0x275937(0xbc)]['platformCaps']=_0x4abd56[_0x275937(0xaf)][_0x275937(0x147)];const _0x12e9f0=helper[_0x275937(0x13b)](_0x4abd56[_0x275937(0xaf)]);if(!helper[_0x275937(0x150)](_0x12e9f0)){helper['isNotUndefined'](_0x12e9f0['retryTestsOnFailure'])&&(_0x3ecf4b['testEnvironmentOptions']['retries__']=_0x12e9f0[_0x275937(0x117)]['maxRetries']);if(helper['isNotUndefined'](_0x12e9f0[_0x275937(0xf6)])&&helper['isNotUndefined'](_0x12e9f0[_0x275937(0xf6)]['workingDir'])){const _0x4537a5={};_0x4537a5[_0x275937(0x189)]=_0x12e9f0['abortBuildOnFailure'][_0x275937(0x10d)],_0x4537a5[_0x275937(0x137)]=_0x12e9f0[_0x275937(0xf6)][_0x275937(0x137)],_0x3ecf4b['testEnvironmentOptions'][_0x275937(0x153)]=_0x4537a5;}}let _0x270cd4='';_0x130358['NVspN'](helper[_0x275937(0xf2)](),constants[_0x275937(0x164)][_0x275937(0x100)])?_0x270cd4=_0x130358[_0x275937(0x10e)]:_0x270cd4=_0x130358[_0x275937(0x149)];const _0x3d9e52=_0x270cd4,_0x139fe7=path[_0x275937(0xdc)](__dirname,_0x130358['svojY'],_0x130358[_0x275937(0x14e)]),_0x32736d=path['join'](__dirname,_0x130358[_0x275937(0x14b)],_0x130358[_0x275937(0xb2)]),_0x54222a=path[_0x275937(0xdc)](__dirname,_0x130358['svojY'],_0x130358[_0x275937(0xef)]);_0x3ecf4b[_0x275937(0x121)]&&(process[_0x275937(0x111)][_0x275937(0xe8)]=_0x3ecf4b[_0x275937(0x121)]);_0x3ecf4b[_0x275937(0x121)]=path['join'](__dirname,_0x130358[_0x275937(0x14b)],_0x130358[_0x275937(0xca)]);const _0x3c8844=_0x1dae11['runner'];if(_0x3c8844&&_0x130358[_0x275937(0x12f)](_0x3c8844,_0x130358[_0x275937(0xe0)])){const _0x5b1b0d=_0x3c8844['startsWith'](_0x130358[_0x275937(0xdf)])?_0x3c8844:_0x275937(0x17d)+_0x3c8844;process[_0x275937(0x111)][_0x275937(0xc3)]=_0x5b1b0d,logger[_0x275937(0x16f)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x5b1b0d);}_0x3ecf4b[_0x275937(0x132)]=_0x32736d,_0x3ecf4b[_0x275937(0x174)]=_0x3ecf4b['setupFilesAfterEnv']||[],_0x3ecf4b[_0x275937(0x174)][_0x275937(0x156)](path[_0x275937(0xdc)](__dirname,_0x130358[_0x275937(0x119)]));_0x1405a8['isTestOrchestrationEnabled']()&&(_0x3ecf4b[_0x275937(0x108)]=path[_0x275937(0xdc)](__dirname,_0x130358[_0x275937(0x14b)],_0x130358[_0x275937(0xe3)]));if(testhubUtils[_0x275937(0x145)]()||BrowserstackCLI[_0x275937(0xb0)]()[_0x275937(0xb3)]()){let _0x9f0206=null;try{_0x9f0206=helper[_0x275937(0x199)](_0x130358[_0x275937(0xe2)],_0x130358['FIJqj']);}catch(_0x37409d){try{_0x9f0206=helper[_0x275937(0x199)](_0x130358[_0x275937(0xd2)],_0x130358[_0x275937(0xfd)]);}catch(_0x1828fd){_0x130358['KMgVA'](debug,_0x275937(0xb6)+_0x1828fd);}}_0x9f0206&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x3ecf4b[_0x275937(0x174)]['push'](path[_0x275937(0xdc)](__dirname,_0x130358[_0x275937(0x13c)],_0x130358['huUUa'])),_0x3ecf4b['testRunner']=path['join'](__dirname,_0x130358['svojY'],_0x130358['DFTbe']));}_0x3ecf4b['setupFiles']=_0x3ecf4b[_0x275937(0x106)]||[];try{helper[_0x275937(0x157)](),_0x3ecf4b[_0x275937(0x106)][_0x275937(0x156)](path[_0x275937(0xdc)](__dirname,_0x130358[_0x275937(0xc4)]));}catch{logger[_0x275937(0xb9)](_0x130358[_0x275937(0xcb)]);}try{helper[_0x275937(0xff)][_0x275937(0x17a)](null,[_0x130358[_0x275937(0x102)],_0x130358['MsJrZ']]),logger[_0x275937(0xb9)](_0x130358[_0x275937(0x198)]),_0x3ecf4b[_0x275937(0x106)][_0x275937(0x156)](path['join'](__dirname,_0x130358['MMulm']));}catch(_0x19abe7){logger['debug'](_0x130358[_0x275937(0x139)],_0x19abe7);}if(_0x130358[_0x275937(0x154)](!_0x2ab800,_0x3d3221)){try{logger[_0x275937(0xb9)](_0x130358[_0x275937(0xec)]),_0x3ecf4b[_0x275937(0x174)][_0x275937(0x156)](path['join'](__dirname,'..',_0x130358['MroRA'],_0x130358[_0x275937(0xb8)]));}catch(_0x4f3d5a){logger[_0x275937(0xb9)](_0x275937(0xab)+_0x4f3d5a[_0x275937(0xd5)]);}try{const _0x532814=require[_0x275937(0x1a3)](_0x130358[_0x275937(0x16c)]),_0x35fd3f=path[_0x275937(0x101)](_0x532814)[_0x275937(0xe6)](/\\/g,'/'),_0x3e4973={};_0x3e4973['^puppeteer-core/internal/(.*)']=_0x35fd3f+'/internal/$1',_0x3ecf4b[_0x275937(0x180)]=Object['assign']({},_0x3ecf4b['moduleNameMapper']||{},_0x3e4973),logger[_0x275937(0xb9)](_0x275937(0x19a)+_0x35fd3f);}catch(_0x5999fb){logger[_0x275937(0xb9)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x5999fb[_0x275937(0xd5)]);}}_0x3ecf4b[_0x275937(0xfb)]=_0x3ecf4b[_0x275937(0xfb)]||[_0x130358[_0x275937(0x10a)]],_0x130358[_0x275937(0xfe)](updateTestRerunConfig,_0x3ecf4b,_0x4abd56);const _0x138455=fs[_0x275937(0xc1)](_0x54222a),_0x3454af=helper[_0x275937(0xae)](_0x130358['NOIpv'],_0x130358[_0x275937(0x114)]);!_0x3454af['error']?fs[_0x275937(0xde)](_0x3ecf4b[_0x275937(0x132)],_0x275937(0x165)+_0x138455+_0x275937(0x112)+_0x4abd56[_0x275937(0xaf)]['platforms'][_0x275937(0xea)]+_0x275937(0x167)):fs[_0x275937(0xde)](_0x3ecf4b[_0x275937(0x132)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x138455+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x4abd56[_0x275937(0xaf)]['platforms'][_0x275937(0xea)]+_0x275937(0xc8));logger['info'](_0x275937(0xfc)+_0x3d9e52+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x275937(0xde)](_0x3d9e52,_0x275937(0xd1)+JSON[_0x275937(0x140)](_0x3ecf4b)+_0x275937(0x1a0));if(_0x1405a8[_0x275937(0x148)]()){logger[_0x275937(0xb9)](_0x130358['kjSSd']);const _0x375301=await _0x1405a8['findTestFiles'](_0x3ecf4b,_0xb4fec5[_0x275937(0x169)](0x1),_0x3d9e52);logger[_0x275937(0xb9)]('Found:\x20'+JSON[_0x275937(0x140)](_0x375301)+'\x20test\x20files\x20to\x20run.');const _0x2ffbd9=await _0x1405a8[_0x275937(0x104)](_0x375301);logger['debug'](_0x275937(0xd6)+JSON[_0x275937(0x140)](_0x2ffbd9)),_0x2ffbd9&&_0x130358[_0x275937(0x11f)](_0x2ffbd9[_0x275937(0xea)],0x0)&&(process[_0x275937(0x111)][_0x275937(0xd9)]=_0x2ffbd9?.[_0x275937(0xdc)](','));}logger['info'](_0x130358[_0x275937(0x15d)]);testhubUtils[_0x275937(0x145)]()&&TestDetails[_0x275937(0x160)]();helper[_0x275937(0xf8)]({},_0xb4fec5),PerformanceTester[_0x275937(0x1a2)](PerformanceEvents[_0x275937(0x177)]);const _0x120fb2=[_0x130358[_0x275937(0x11d)],_0x130358[_0x275937(0x130)],_0x3d9e52,..._0xb4fec5['slice'](0x1)];process[_0x275937(0x111)][_0x275937(0x14d)]=process[_0x275937(0x111)][_0x275937(0x14d)]||_0x130358[_0x275937(0x11d)];const _0x2a6902=_0x130358[_0x275937(0xf9)](spawn,_0x130358[_0x275937(0x178)],_0x120fb2,{'shell':_0x130358[_0x275937(0x17b)](process[_0x275937(0x16d)],_0x130358[_0x275937(0xaa)]),'stdio':_0x130358[_0x275937(0xd4)],'env':Object[_0x275937(0xcf)]({},process[_0x275937(0x111)])});_0x2a6902['on'](_0x130358[_0x275937(0x10f)],async _0x491c10=>{const _0x544e98=_0x275937;PerformanceTester[_0x544e98(0x13f)](PerformanceEvents[_0x544e98(0x141)]),process[_0x544e98(0xf1)]=_0x491c10,logger[_0x544e98(0xb9)](_0x544e98(0x11a)+_0x491c10),logger['info']('Deleting\x20'+_0x3d9e52);if(helper['isNotUndefined'](_0x12e9f0)&&helper[_0x544e98(0x166)](_0x12e9f0[_0x544e98(0xf6)])&&fs[_0x544e98(0x188)](_0x12e9f0[_0x544e98(0xf6)]['workingDir']))try{const _0x33d3b5={};_0x33d3b5[_0x544e98(0x184)]=!![],_0x33d3b5['force']=!![],fs[_0x544e98(0x120)](_0x12e9f0[_0x544e98(0xf6)][_0x544e98(0x137)],_0x33d3b5),logger[_0x544e98(0xb9)](_0x544e98(0x1a6)+_0x12e9f0['abortBuildOnFailure'][_0x544e98(0x137)]);}catch(_0x42fba4){logger[_0x544e98(0x182)](_0x544e98(0xc9)+_0x42fba4);}let _0x196070=null;if(fs[_0x544e98(0x188)](_0x139fe7)){_0x196070=fs[_0x544e98(0xc1)](_0x139fe7);try{_0x196070=JSON[_0x544e98(0x12e)](_0x196070);}catch(_0x158fc6){logger[_0x544e98(0xb9)](_0x544e98(0x15e)+_0x139fe7+',\x20'+_0x196070+_0x544e98(0x14a)+_0x158fc6);}fs['unlinkSync'](_0x139fe7);}fs['unlinkSync'](_0x3d9e52),fs[_0x544e98(0x19e)](_0x32736d),_0x196070&&(_0x4abd56[_0x544e98(0x173)]=helper[_0x544e98(0x16e)](_0x196070,_0x130358[_0x544e98(0x11d)],_0x4abd56));const _0x286bdc=BrowserstackCLI[_0x544e98(0xfa)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x544e98(0xb0)]()[_0x544e98(0x1a7)]();}catch(_0x314e28){console[_0x544e98(0xee)](_0x314e28),_0x130358[_0x544e98(0x11c)](debug,_0x544e98(0xe7)+util[_0x544e98(0x113)](_0x314e28));}testOpsHelper[_0x544e98(0x144)](),TestDetails[_0x544e98(0x18d)](),await utilities[_0x544e98(0x110)](_0x4abd56,_0x286bdc);});}module[a21_0x26c404(0x194)]=run;
|
|
2
|
+
'use strict';const a21_0xafbf83=a21_0x3413;(function(_0x107d6d,_0x5cbd2d){const _0x18cd44=a21_0x3413,_0x6aa50c=_0x107d6d();while(!![]){try{const _0x3a40c=-parseInt(_0x18cd44(0x1c4))/0x1*(parseInt(_0x18cd44(0x20f))/0x2)+-parseInt(_0x18cd44(0x1f3))/0x3+parseInt(_0x18cd44(0x1d6))/0x4+-parseInt(_0x18cd44(0x15b))/0x5*(parseInt(_0x18cd44(0x1d5))/0x6)+-parseInt(_0x18cd44(0x14f))/0x7+-parseInt(_0x18cd44(0x154))/0x8+-parseInt(_0x18cd44(0x1f9))/0x9*(-parseInt(_0x18cd44(0x1f6))/0xa);if(_0x3a40c===_0x5cbd2d)break;else _0x6aa50c['push'](_0x6aa50c['shift']());}catch(_0x35f22e){_0x6aa50c['push'](_0x6aa50c['shift']());}}}(a21_0x1e19,0xdcf69));const fs=require('fs'),path=require(a21_0xafbf83(0x18a)),util=require(a21_0xafbf83(0x1f5)),{spawn}=require(a21_0xafbf83(0x1fd)),logger=require(a21_0xafbf83(0x160))[a21_0xafbf83(0x16b)],{default:BrowserStackSetup}=require(a21_0xafbf83(0x157)),helper=require(a21_0xafbf83(0x169)),utilities=require(a21_0xafbf83(0x144)),constants=require(a21_0xafbf83(0x198)),accessibilityHelper=require(a21_0xafbf83(0x20a)),{updateTestRerunConfig}=require(a21_0xafbf83(0x131)),testOpsHelper=require(a21_0xafbf83(0x143)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0xafbf83(0x1a5)),{getPercyOptions}=require(a21_0xafbf83(0x1cc)),TestHubHandler=require(a21_0xafbf83(0x1d9)),testhubUtils=require(a21_0xafbf83(0x196)),{FRAMEWORKS}=require(a21_0xafbf83(0x1b8)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a21_0xafbf83(0x1e3)],TestOrchestrationHandler=require(a21_0xafbf83(0x176)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0xafbf83(0x1bf)),ClientTroubleShootingService=require(a21_0xafbf83(0x133)),{checkAccessibilityPlatformConfig}=require(a21_0xafbf83(0x20a)),getUserJestConfigs=async(_0x3b56ba,_0x4467da)=>{const _0x2c8f0b=a21_0xafbf83,_0x28dcd6={'ZFZww':'jest-config/build/readConfigFileAndSetRootDir.js','ZYeUP':_0x2c8f0b(0x1bc),'iMcKm':function(_0x8bc7ba,_0x4c7781){return _0x8bc7ba||_0x4c7781;},'nxppc':function(_0x555723,_0x35976e){return _0x555723(_0x35976e);},'jgrnp':_0x2c8f0b(0x178),'pyUOX':_0x2c8f0b(0x141),'wnvSS':_0x2c8f0b(0x177),'gItEa':_0x2c8f0b(0x152),'DAIUm':'json'};let _0x5902d8;try{_0x5902d8=helper[_0x2c8f0b(0x200)](_0x28dcd6['ZFZww'],_0x28dcd6['ZYeUP']);}catch{const _0x2ba0b7=helper[_0x2c8f0b(0x200)](_0x28dcd6[_0x2c8f0b(0x17a)]);_0x5902d8={'default':async _0x292d09=>{const _0x410f45=_0x2c8f0b,_0x559430=await _0x2ba0b7['readInitialOptions'](_0x292d09,{});return _0x559430[_0x410f45(0x13d)];}};}const _0x2e74dd=_0x4467da['findIndex'](_0x326c42=>_0x326c42===_0x2c8f0b(0x1d1));if(!helper['isUndefined'](_0x3b56ba['config'])){logger[_0x2c8f0b(0x208)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x3b56ba[_0x2c8f0b(0x13d)]),process[_0x2c8f0b(0x1ba)][_0x2c8f0b(0x15e)]=_0x3b56ba['config'];const _0x2d5dc1=await(0x0,_0x5902d8['default'])(path[_0x2c8f0b(0x1b6)](_0x3b56ba[_0x2c8f0b(0x13d)]));return _0x4467da[_0x2c8f0b(0x14c)](_0x2e74dd,0x2),_0x28dcd6[_0x2c8f0b(0x1fe)](_0x2d5dc1,{});}const _0x41edd3=_0x28dcd6[_0x2c8f0b(0x1c7)](require,path[_0x2c8f0b(0x1fb)](process['cwd'](),_0x28dcd6[_0x2c8f0b(0x124)]));if(_0x41edd3[_0x2c8f0b(0x1da)])return logger['info'](_0x28dcd6['pyUOX']),_0x41edd3[_0x2c8f0b(0x1da)];const _0xb14473=['js',_0x28dcd6['wnvSS'],_0x28dcd6['gItEa'],_0x28dcd6[_0x2c8f0b(0x217)],'ts'];for(const _0x1b5c10 of _0xb14473){const _0x5759b4=path[_0x2c8f0b(0x1fb)](process[_0x2c8f0b(0x15c)](),_0x2c8f0b(0x14e)+_0x1b5c10);if(fs['existsSync'](_0x5759b4)){process[_0x2c8f0b(0x1ba)]['USER_CONFIG_DETAILS_PATH']=_0x5759b4;const _0x2c73c3=await(0x0,_0x5902d8[_0x2c8f0b(0x18e)])(_0x5759b4);return _0x2c73c3;}}return{};},getSerial=(_0x220dbe,_0x32f642)=>{const _0x2f0562=a21_0xafbf83,_0x2f3557={};_0x2f3557[_0x2f0562(0x18d)]=_0x2f0562(0x191),_0x2f3557['LpBeF']=function(_0x597036,_0x37f0e3){return _0x597036>_0x37f0e3;},_0x2f3557[_0x2f0562(0x1b5)]=_0x2f0562(0x1c1);const _0x4d2d24=_0x2f3557;let _0x947a27=_0x4d2d24[_0x2f0562(0x18d)];return _0x4d2d24['LpBeF'](_0x220dbe[_0x2f0562(0x123)],0x1)&&(!_0x32f642[_0x2f0562(0x1a6)]&&(helper[_0x2f0562(0x15a)](_0x32f642[_0x2f0562(0x1ec)])||_0x4d2d24[_0x2f0562(0x1bb)](_0x32f642['maxWorkers'],0x1)))&&(_0x947a27=_0x4d2d24['fonwH']),_0x947a27;},getMaxWorkers=(_0x354d6b,_0x4ac0ef,_0x36194d)=>{const _0x24236f=a21_0xafbf83,_0x3edbf9={'NLNxV':function(_0x215910,_0x26c9d8){return _0x215910(_0x26c9d8);}};let _0x2574e7=0x1;if(!helper[_0x24236f(0x15a)](_0x4ac0ef[_0x24236f(0x148)]))_0x2574e7=_0x3edbf9[_0x24236f(0x179)](parseInt,_0x4ac0ef[_0x24236f(0x148)]);else{if(!helper[_0x24236f(0x15a)](_0x354d6b[_0x24236f(0x1ec)]))_0x2574e7=_0x354d6b[_0x24236f(0x1ec)];else!helper[_0x24236f(0x15a)](_0x36194d[_0x24236f(0x1ec)])&&(_0x2574e7=_0x36194d['maxWorkers']);}return _0x2574e7;};function a21_0x3413(_0x3ab6f4,_0x268d6a){const _0x1e19b9=a21_0x1e19();return a21_0x3413=function(_0x341349,_0x143192){_0x341349=_0x341349-0x123;let _0x4ed3d8=_0x1e19b9[_0x341349];return _0x4ed3d8;},a21_0x3413(_0x3ab6f4,_0x268d6a);}function a21_0x1e19(){const _0x514d98=['5324744oNlXaP','BROWSERSTACK_CAPABILITIES','shutdown','../../helpers/BrowserStackSetup','start','__isPlaywrightInstalled','isUndefined','120790QJbrHX','cwd','xjJlI','USER_CONFIG_DETAILS_PATH','dLUMm','../../helpers/logger','DZusP','HCBWB','BROWSERSTACK_FRAMEWORK','jest.setup.js','aqEDM','customTestRunner.js','ZVJve','jest_browserstack_results.json','../../helpers/helper','isBrowserstackInfra','winstonLogger','testContextOptions','customTestRunnerTemplate.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isRunning','apply','ZZWWn','failureThresholdCount','daCdJ','Deleted\x20fail-fast\x20state\x20folder:\x20','__isPuppeteerInstalled','../../helpers/test-orchestration/testOrchestrationHandler','mjs','package.json','NLNxV','ZYeUP','\x0a\x20\x20\x20\x20\x20\x20','customSequencer.js','workingDir','jzXUy','GfbGQ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','RaCYM','recursive','isEmpty','filterBrowserstackArgs','\x0amodule.exports\x20=\x20config;','jMdvI','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','initialize','data-hooks.js','path','isTestOrchestrationEnabled','skipSessionStatus','LsDPh','default','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','moduleNameMapper','true','PACKAGE_TYPE','browserStackLogLevel','push','errorMessage','../../helpers/testhub/utils','debug','../utils/constants','dirname','\x20with\x20browserstack\x20jest\x20configs','setupFiles','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','serial__','launchBuild','parallels__','isCLIEnabled','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ieJkh','Error\x20while\x20parsing\x20','@playwright/test','./test-observability/test-details','runInBand','wdKCK','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','checkAccessibilityPlatformConfig','Reodered\x20Test\x20Files:\x20','Found:\x20','BBXAY','Creating\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupFilesAfterEnv','const\x20config=','platform','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','RoLkx','fonwH','resolve','TSTie','../../helpers/test-observability/constants','LCwIP','env','LpBeF','jest-config',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','customEnvironment.js','../../helpers/puppeteer-helper','resolveModule','false','format','stringify','191MuoEKi','message','test-observability','nxppc','@jest/core/build/ReporterDispatcher.js','BSTACK_USER_JEST_RUNNER','child\x20process\x20exited\x20with\x20code\x20','mDBwz','../../helpers/percy/utils','MODULE','maxFailures','maxRetries','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','--config','ITozw','JEST_TEST_ORDER','SDK_SETUP','258FUMsZu','2086468ipviDz',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','stop','../../helpers/testhub/testhubHandler','jest','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','getErrorMessageFromResults','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','IMqof','abortBuildOnFailure','XDCBG','isNotUndefined','existsSync','EVENTS','jest_browserstack.config.js','turboScaleUrl','capabilities','slice','SDK_CLEANUP','testSequencer','NXphy','retries__','maxWorkers','setupBrowserstackLocal','close','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','exports','frkSF','assign','5192703oeLXHy','Rpeqj','util','17893450uICmvc','writeFileSync','jxHFp','27UHYqBB','proxySettings','join','runner','child_process','iMcKm','test.setup.js','requireModule','jest-runner-','skipSessionName','rJLjh','reporters','replace','requireSeleniumWebdriver','rmSync','info','playwright','../../helpers/accessibility-automation/helper','jest_browserstack.config.cjs','jest-circus/build/runner.js','unlinkSync','ccXyj','3194gxnZuN','retryTestsOnFailure','failFast','pliLS','getPackageVersion','FRAMEWORKS',',\x20CLI\x20running:\x20','Deleting\x20','DAIUm','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','puppeteer','dlzWu','length','jgrnp','inherit','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exitCode','mciMX','prepareCapabilities','test_before.setup.js','cqvuT','testTimeout','gihEe','accessibilityOptions','JEST','jest-circus','./test-observability/helper','handleApp','../utils/clientTroubleshootingService','testObservability','oYfef','sxYzG','testEnvironment','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','force','Ownzc','platforms','RvSjG','config','win32','Unable\x20to\x20find\x20jest-circus,\x20','requirePWModule','Getting\x20your\x20jest\x20configs\x20from\x20package.json','getInstance','../../helpers/test-observability/utils','../../helpers/utilities','TzTeb','error','testEnvironmentOptions','parallelsPerPlatform','IWIhY','getHubUrl','NtKbC','splice','timeout__','jest.config.','8709904wmTcey','gBHjJ','shouldProcessEventForTesthub','cjs','\x20test\x20files\x20to\x20run.'];a21_0x1e19=function(){return _0x514d98;};return a21_0x1e19();}async function run(_0x151383,_0x32f27a,_0x4adf03){const _0x510a51=a21_0xafbf83,_0x54400e={'XDCBG':'jest','ccXyj':function(_0x56d4e6,_0xc95ed){return _0x56d4e6(_0xc95ed);},'daCdJ':_0x510a51(0x1a4),'CgnPn':function(_0x34055d){return _0x34055d();},'jMdvI':function(_0x2fc6b8,_0x3ed623,_0x49c2a5,_0x59870e){return _0x2fc6b8(_0x3ed623,_0x49c2a5,_0x59870e);},'ZZWWn':function(_0x5b0705,_0x47ff8e){return _0x5b0705!=_0x47ff8e;},'gBHjJ':_0x510a51(0x191),'IWIhY':function(_0xab7bb8,_0x4aac7d,_0x1f9860){return _0xab7bb8(_0x4aac7d,_0x1f9860);},'NtKbC':_0x510a51(0x138),'NXphy':function(_0xa08fe0,_0x6658ad){return _0xa08fe0(_0x6658ad);},'ZVJve':_0x510a51(0x1c1),'frkSF':function(_0x177367,_0x570667,_0x46b06f){return _0x177367(_0x570667,_0x46b06f);},'GfbGQ':function(_0x16b2bb,_0x3cb0ca){return _0x16b2bb*_0x3cb0ca;},'Ownzc':function(_0x359fd0,_0x521d70){return _0x359fd0===_0x521d70;},'aqEDM':_0x510a51(0x20b),'qfdtP':_0x510a51(0x1e4),'RvSjG':'customImplements','wBGlA':_0x510a51(0x168),'rJLjh':_0x510a51(0x166),'oYfef':_0x510a51(0x16d),'gihEe':_0x510a51(0x1be),'cqvuT':function(_0x58c32c,_0x50d5ee){return _0x58c32c!==_0x50d5ee;},'Rpeqj':'jest-runner','ThEis':'jest-runner-','cTSwI':_0x510a51(0x164),'RaCYM':_0x510a51(0x17c),'ieJkh':_0x510a51(0x1d0),'wdKCK':_0x510a51(0x130),'jzXUy':_0x510a51(0x20c),'zptDi':_0x510a51(0x1c6),'uoGQy':_0x510a51(0x189),'RoLkx':'customCircus.js','dLUMm':_0x510a51(0x12a),'jxHFp':_0x510a51(0x180),'IMqof':_0x510a51(0x209),'BFBTc':_0x510a51(0x1ef),'LCwIP':_0x510a51(0x1ff),'dlzWu':_0x510a51(0x187),'pliLS':function(_0x3465ff,_0x5b3d28){return _0x3465ff&&_0x5b3d28;},'wSCtC':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','xjJlI':_0x510a51(0x219),'WODGf':'puppeteer-core/package.json','fdaVX':_0x510a51(0x18e),'mciMX':function(_0x1b12f6,_0xdbbd0b,_0x2172c0){return _0x1b12f6(_0xdbbd0b,_0x2172c0);},'DwczU':_0x510a51(0x1c8),'HCBWB':'@jest/core','BBXAY':_0x510a51(0x1a1),'dTyUo':function(_0x4079ae,_0x410498){return _0x4079ae>_0x410498;},'sxYzG':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mDBwz':_0x510a51(0x1d1),'TzTeb':'npx','DZusP':_0x510a51(0x13e),'TSTie':_0x510a51(0x125),'ITozw':_0x510a51(0x1ee)},_0x3fad7c=helper[_0x510a51(0x213)](_0x54400e[_0x510a51(0x173)]);global[_0x510a51(0x159)]=!!_0x3fad7c;const _0x15e8c1=_0x54400e['CgnPn'](getPuppeteerVersion);global[_0x510a51(0x175)]=!!_0x15e8c1;helper[_0x510a51(0x16a)]()&&(await _0x4adf03[_0x510a51(0x188)](_0x151383),await helper[_0x510a51(0x132)](_0x4adf03[_0x510a51(0x13d)]));if(_0x3fad7c)await _0x54400e[_0x510a51(0x186)](checkPwandBootstrapCli,_0x3fad7c,constants[_0x510a51(0x214)][_0x510a51(0x12f)],_0x4adf03);else _0x15e8c1&&await _0x54400e[_0x510a51(0x186)](checkPuppeteerAndBootstrapCli,_0x15e8c1,constants[_0x510a51(0x214)]['JEST'],_0x4adf03);!BrowserstackCLI[_0x510a51(0x142)]()[_0x510a51(0x16f)]()&&await _0x4adf03[_0x510a51(0x1ed)]();if(!_0x4adf03['config'])return;_0x54400e[_0x510a51(0x171)](_0x4adf03['config'][_0x510a51(0x134)],null)?process['env'][_0x510a51(0x1af)]=_0x4adf03['config'][_0x510a51(0x134)]:process['env'][_0x510a51(0x1af)]=_0x54400e[_0x510a51(0x150)];const _0x22887c=new TestOrchestrationHandler(_0x4adf03[_0x510a51(0x13d)]),_0x58e41b=await _0x54400e[_0x510a51(0x149)](getUserJestConfigs,_0x151383,_0x32f27a);logger[_0x510a51(0x208)](_0x54400e[_0x510a51(0x14b)]);const _0xbaf3a5=Object[_0x510a51(0x1f2)]({},_0x58e41b);_0xbaf3a5[_0x510a51(0x147)]=Object[_0x510a51(0x1f2)]({},_0xbaf3a5['testEnvironmentOptions'],{'server':helper[_0x510a51(0x14a)](_0x4adf03[_0x510a51(0x13d)]),'environment':_0x58e41b[_0x510a51(0x137)]}),_0xbaf3a5['testEnvironmentOptions']['browserStackPercyOptions']=_0x54400e[_0x510a51(0x20e)](getPercyOptions,_0x4adf03[_0x510a51(0x13d)]);const _0x19e885=helper['useW3C'](_0x4adf03[_0x510a51(0x13d)]);!helper['isUndefined'](_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x12e)])&&(process['env'][_0x510a51(0x126)]=JSON['stringify'](_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x12e)]));if(!BrowserstackCLI[_0x510a51(0x142)]()[_0x510a51(0x16f)]()){const _0x140ecd=await TestHubHandler[_0x510a51(0x19e)](FRAMEWORKS[_0x510a51(0x12f)],_0x4adf03);}const _0x34dd98=helper[_0x510a51(0x129)](_0x4adf03[_0x510a51(0x13d)],_0x19e885,constants[_0x510a51(0x214)][_0x510a51(0x12f)]);process[_0x510a51(0x1ba)][_0x510a51(0x155)]=JSON[_0x510a51(0x1c3)](_0x34dd98);let _0x201610=_0x4adf03[_0x510a51(0x13d)]['accessibility'];_0x201610=_0x201610||accessibilityHelper[_0x510a51(0x1aa)](_0x4adf03[_0x510a51(0x13d)]),process['env'][_0x510a51(0x16e)]=_0x201610,logger[_0x510a51(0x197)](_0x510a51(0x1db)+_0x201610+_0x510a51(0x215)+BrowserstackCLI['getInstance']()[_0x510a51(0x16f)]());if(_0x3fad7c)try{const _0x1cc3c7=_0x54400e[_0x510a51(0x1ea)](checkAccessibilityPlatformConfig,_0x4adf03[_0x510a51(0x13d)]);process[_0x510a51(0x1ba)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x1cc3c7?_0x54400e[_0x510a51(0x150)]:_0x54400e[_0x510a51(0x167)],logger['debug'](_0x510a51(0x18f)+_0x1cc3c7+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x510a51(0x1ba)][_0x510a51(0x1a9)]);}catch(_0x25d239){logger['debug'](_0x510a51(0x19c)+util[_0x510a51(0x1c2)](_0x25d239));}_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1e6)]=_0x34dd98,_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x19d)]=_0x54400e[_0x510a51(0x1f1)](getSerial,_0x34dd98,_0x151383),_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x19f)]=_0x54400e[_0x510a51(0x186)](getMaxWorkers,_0x151383,_0x4adf03[_0x510a51(0x13d)],_0x58e41b),_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1fa)]=_0x4adf03[_0x510a51(0x13d)]['proxySettings'],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x14d)]=_0x54400e[_0x510a51(0x17f)](_0x151383[_0x510a51(0x12c)],0x1)||0x1388,_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x202)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x16c)][_0x510a51(0x202)],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x18c)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x16c)][_0x510a51(0x18c)],_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x193)]=_0x4adf03['config']['logLevel'],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1e5)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x1e5)],_0xbaf3a5['testEnvironmentOptions']['platformCaps']=_0x4adf03['config']['platforms'];const _0x44afa3=helper['parseTestOrchestrationOptions'](_0x4adf03[_0x510a51(0x13d)]);if(!helper[_0x510a51(0x183)](_0x44afa3)){helper[_0x510a51(0x1e1)](_0x44afa3[_0x510a51(0x210)])&&(_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1eb)]=_0x44afa3[_0x510a51(0x210)][_0x510a51(0x1cf)]);if(helper[_0x510a51(0x1e1)](_0x44afa3[_0x510a51(0x1df)])&&helper[_0x510a51(0x1e1)](_0x44afa3['abortBuildOnFailure']['workingDir'])){const _0x42e044={};_0x42e044[_0x510a51(0x172)]=_0x44afa3[_0x510a51(0x1df)][_0x510a51(0x1ce)],_0x42e044[_0x510a51(0x17d)]=_0x44afa3[_0x510a51(0x1df)][_0x510a51(0x17d)],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x211)]=_0x42e044;}}let _0x7c6dfc='';_0x54400e[_0x510a51(0x13a)](helper['getPackageType'](),constants[_0x510a51(0x192)][_0x510a51(0x1cd)])?_0x7c6dfc=_0x54400e[_0x510a51(0x165)]:_0x7c6dfc=_0x54400e['qfdtP'];const _0x36f19e=_0x7c6dfc,_0x2e3345=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e['wBGlA']),_0x4e0ff3=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x203)]),_0x173e4e=path[_0x510a51(0x1fb)](__dirname,_0x54400e['RvSjG'],_0x54400e[_0x510a51(0x135)]);_0xbaf3a5['testEnvironment']&&(process[_0x510a51(0x1ba)]['BSTACK_JEST_TEST_ENV']=_0xbaf3a5[_0x510a51(0x137)]);_0xbaf3a5[_0x510a51(0x137)]=path[_0x510a51(0x1fb)](__dirname,_0x54400e['RvSjG'],_0x54400e[_0x510a51(0x12d)]);const _0x38e014=_0x58e41b[_0x510a51(0x1fc)];if(_0x38e014&&_0x54400e[_0x510a51(0x12b)](_0x38e014,_0x54400e[_0x510a51(0x1f4)])){const _0x4e5681=_0x38e014['startsWith'](_0x54400e['ThEis'])?_0x38e014:_0x510a51(0x201)+_0x38e014;process['env'][_0x510a51(0x1c9)]=_0x4e5681,logger[_0x510a51(0x208)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x4e5681);}_0xbaf3a5['runner']=_0x4e0ff3,_0xbaf3a5[_0x510a51(0x1b0)]=_0xbaf3a5['setupFilesAfterEnv']||[],_0xbaf3a5[_0x510a51(0x1b0)][_0x510a51(0x194)](path['join'](__dirname,_0x54400e['cTSwI']));_0x22887c['isTestOrchestrationEnabled']()&&(_0xbaf3a5[_0x510a51(0x1e9)]=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x181)]));if(testhubUtils[_0x510a51(0x151)]()||BrowserstackCLI[_0x510a51(0x142)]()['isCliEnabled']()){let _0x3f7634=null;try{_0x3f7634=helper['requireModule'](_0x54400e[_0x510a51(0x1a2)],_0x54400e[_0x510a51(0x1a7)]);}catch(_0x5959c7){try{_0x3f7634=helper[_0x510a51(0x200)](_0x54400e[_0x510a51(0x17e)],_0x54400e[_0x510a51(0x1a7)]);}catch(_0x12431e){_0x54400e[_0x510a51(0x1ea)](debug,_0x510a51(0x13f)+_0x12431e);}}_0x3f7634&&(testhubUtils[_0x510a51(0x151)]()&&_0xbaf3a5[_0x510a51(0x1b0)][_0x510a51(0x194)](path[_0x510a51(0x1fb)](__dirname,_0x54400e['zptDi'],_0x54400e['uoGQy'])),_0xbaf3a5['testRunner']=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x1b4)]));}_0xbaf3a5[_0x510a51(0x19b)]=_0xbaf3a5[_0x510a51(0x19b)]||[];try{helper[_0x510a51(0x206)](),_0xbaf3a5[_0x510a51(0x19b)][_0x510a51(0x194)](path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x15f)]));}catch{logger[_0x510a51(0x197)](_0x54400e[_0x510a51(0x1f8)]);}try{helper[_0x510a51(0x140)][_0x510a51(0x170)](null,[_0x54400e[_0x510a51(0x173)],_0x54400e[_0x510a51(0x1de)]]),logger[_0x510a51(0x197)](_0x54400e['BFBTc']),_0xbaf3a5[_0x510a51(0x19b)]['push'](path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x1b9)]));}catch(_0x16bd09){logger['debug'](_0x54400e[_0x510a51(0x21a)],_0x16bd09);}if(_0x54400e[_0x510a51(0x212)](!_0x3fad7c,_0x15e8c1)){try{logger[_0x510a51(0x197)](_0x54400e['wSCtC']),_0xbaf3a5[_0x510a51(0x1b0)]['push'](path['join'](__dirname,'..',_0x54400e[_0x510a51(0x15d)],_0x54400e[_0x510a51(0x1b9)]));}catch(_0x3b3ac9){logger[_0x510a51(0x197)]('Puppeteer\x20setup\x20error:\x20'+_0x3b3ac9[_0x510a51(0x1c5)]);}try{const _0xb7d54b=require[_0x510a51(0x1b6)](_0x54400e['WODGf']),_0x332dd3=path[_0x510a51(0x199)](_0xb7d54b)[_0x510a51(0x205)](/\\/g,'/'),_0x4293e3={};_0x4293e3['^puppeteer-core/internal/(.*)']=_0x332dd3+'/internal/$1',_0xbaf3a5[_0x510a51(0x190)]=Object[_0x510a51(0x1f2)]({},_0xbaf3a5[_0x510a51(0x190)]||{},_0x4293e3),logger['debug'](_0x510a51(0x1dd)+_0x332dd3);}catch(_0x4a8d4c){logger[_0x510a51(0x197)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x4a8d4c[_0x510a51(0x1c5)]);}}_0xbaf3a5[_0x510a51(0x204)]=_0xbaf3a5[_0x510a51(0x204)]||[_0x54400e['fdaVX']],_0x54400e[_0x510a51(0x128)](updateTestRerunConfig,_0xbaf3a5,_0x4adf03);const _0x3eb536=fs['readFileSync'](_0x173e4e),_0x4aa299=helper[_0x510a51(0x1c0)](_0x54400e['DwczU'],_0x54400e[_0x510a51(0x162)]);!_0x4aa299[_0x510a51(0x146)]?fs['writeFileSync'](_0xbaf3a5[_0x510a51(0x1fc)],_0x510a51(0x17b)+_0x3eb536+_0x510a51(0x1b3)+_0x4adf03[_0x510a51(0x13d)]['platforms'][_0x510a51(0x123)]+_0x510a51(0x1bd)):fs[_0x510a51(0x1f7)](_0xbaf3a5[_0x510a51(0x1fc)],_0x510a51(0x17b)+_0x3eb536+_0x510a51(0x218)+_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x13b)]['length']+_0x510a51(0x1d7));logger[_0x510a51(0x208)](_0x510a51(0x1ae)+_0x36f19e+_0x510a51(0x19a)),fs[_0x510a51(0x1f7)](_0x36f19e,_0x510a51(0x1b1)+JSON[_0x510a51(0x1c3)](_0xbaf3a5)+_0x510a51(0x185));if(_0x22887c[_0x510a51(0x18b)]()){logger[_0x510a51(0x197)](_0x54400e[_0x510a51(0x1ad)]);const _0x250738=await _0x22887c['findTestFiles'](_0xbaf3a5,_0x32f27a[_0x510a51(0x1e7)](0x1),_0x36f19e);logger[_0x510a51(0x197)](_0x510a51(0x1ac)+JSON[_0x510a51(0x1c3)](_0x250738)+_0x510a51(0x153));const _0x2cc774=await _0x22887c['reorderTestFiles'](_0x250738);logger['debug'](_0x510a51(0x1ab)+JSON[_0x510a51(0x1c3)](_0x2cc774)),_0x2cc774&&_0x54400e['dTyUo'](_0x2cc774[_0x510a51(0x123)],0x0)&&(process[_0x510a51(0x1ba)][_0x510a51(0x1d3)]=_0x2cc774?.[_0x510a51(0x1fb)](','));}logger['info'](_0x54400e[_0x510a51(0x136)]);testhubUtils[_0x510a51(0x151)]()&&TestDetails['setup']();helper[_0x510a51(0x184)]({},_0x32f27a),PerformanceTester['end'](PerformanceEvents[_0x510a51(0x1d4)]);const _0x4731e6=[_0x54400e[_0x510a51(0x1e0)],_0x54400e[_0x510a51(0x1cb)],_0x36f19e,..._0x32f27a['slice'](0x1)];process[_0x510a51(0x1ba)]['BROWSERSTACK_FRAMEWORK']=process[_0x510a51(0x1ba)][_0x510a51(0x163)]||_0x54400e[_0x510a51(0x1e0)];const _0x10fa65=_0x54400e[_0x510a51(0x186)](spawn,_0x54400e[_0x510a51(0x145)],_0x4731e6,{'shell':_0x54400e['Ownzc'](process[_0x510a51(0x1b2)],_0x54400e[_0x510a51(0x161)]),'stdio':_0x54400e[_0x510a51(0x1b7)],'env':Object[_0x510a51(0x1f2)]({},process['env'])});_0x10fa65['on'](_0x54400e[_0x510a51(0x1d2)],async _0x3d6a3c=>{const _0x37107d=_0x510a51;PerformanceTester[_0x37107d(0x158)](PerformanceEvents[_0x37107d(0x1e8)]),process[_0x37107d(0x127)]=_0x3d6a3c,logger['debug'](_0x37107d(0x1ca)+_0x3d6a3c),logger[_0x37107d(0x208)](_0x37107d(0x216)+_0x36f19e);if(helper['isNotUndefined'](_0x44afa3)&&helper[_0x37107d(0x1e1)](_0x44afa3[_0x37107d(0x1df)])&&fs[_0x37107d(0x1e2)](_0x44afa3[_0x37107d(0x1df)][_0x37107d(0x17d)]))try{const _0x1ae2ac={};_0x1ae2ac[_0x37107d(0x182)]=!![],_0x1ae2ac[_0x37107d(0x139)]=!![],fs[_0x37107d(0x207)](_0x44afa3[_0x37107d(0x1df)]['workingDir'],_0x1ae2ac),logger[_0x37107d(0x197)](_0x37107d(0x174)+_0x44afa3[_0x37107d(0x1df)][_0x37107d(0x17d)]);}catch(_0x51005f){logger[_0x37107d(0x146)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x51005f);}let _0x50899a=null;if(fs[_0x37107d(0x1e2)](_0x2e3345)){_0x50899a=fs[_0x37107d(0x1a8)](_0x2e3345);try{_0x50899a=JSON['parse'](_0x50899a);}catch(_0x1e5ad8){logger['debug'](_0x37107d(0x1a3)+_0x2e3345+',\x20'+_0x50899a+'\x20:\x20'+_0x1e5ad8);}fs[_0x37107d(0x20d)](_0x2e3345);}fs[_0x37107d(0x20d)](_0x36f19e),fs[_0x37107d(0x20d)](_0x4e0ff3),_0x50899a&&(_0x4adf03[_0x37107d(0x195)]=helper[_0x37107d(0x1dc)](_0x50899a,_0x54400e[_0x37107d(0x1e0)],_0x4adf03));const _0x56d866=BrowserstackCLI[_0x37107d(0x1a0)]();try{await TestHubHandler[_0x37107d(0x1d8)](),await BrowserstackCLI[_0x37107d(0x142)]()[_0x37107d(0x1d8)]();}catch(_0x289fae){console['log'](_0x289fae),_0x54400e[_0x37107d(0x20e)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x37107d(0x1c2)](_0x289fae));}testOpsHelper['printBuildLink'](),TestDetails[_0x37107d(0x156)](),await utilities['finalExecution'](_0x4adf03,_0x56d866);});}module[a21_0xafbf83(0x1f0)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1735ae=a22_0x12d2;(function(_0x1a038a,_0x2a041e){const _0x2ae13b=a22_0x12d2,_0x4fccc3=_0x1a038a();while(!![]){try{const _0x142583=-parseInt(_0x2ae13b(0x197))/0x1*(-parseInt(_0x2ae13b(0x19d))/0x2)+-parseInt(_0x2ae13b(0x192))/0x3*(parseInt(_0x2ae13b(0x1a3))/0x4)+-parseInt(_0x2ae13b(0x1a2))/0x5*(-parseInt(_0x2ae13b(0x1a6))/0x6)+parseInt(_0x2ae13b(0x199))/0x7+parseInt(_0x2ae13b(0x1a5))/0x8+-parseInt(_0x2ae13b(0x19b))/0x9+-parseInt(_0x2ae13b(0x1a1))/0xa*(parseInt(_0x2ae13b(0x198))/0xb);if(_0x142583===_0x2a041e)break;else _0x4fccc3['push'](_0x4fccc3['shift']());}catch(_0x1febef){_0x4fccc3['push'](_0x4fccc3['shift']());}}}(a22_0x253e,0x68693));const path=require('path'),{requireModule}=require(a22_0x1735ae(0x19f));function a22_0x253e(){const _0x4c9876=['jestAdapterInit','exports','customJestAdapterInit.js','NqbiQ','20885YkwtMR','7799shMkby','1319850vrTyMY','requireInternalModule','6948981qQRmIK','jest-circus/build/runner.js','54BMxayc','crGUQ','../../../helpers/helper','GvBiY','1020YKBPrY','1092345iJwlAZ','4388gniEFv','join','335648GSVZhv','18WuqTZu','jest-circus','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','486TKfjUI'];a22_0x253e=function(){return _0x4c9876;};return a22_0x253e();}let initJestAdapter;try{initJestAdapter=requireModule(a22_0x1735ae(0x191),a22_0x1735ae(0x1a7));}catch{initJestAdapter=requireModule(a22_0x1735ae(0x19c),a22_0x1735ae(0x1a7));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x1735ae(0x1a4)](__dirname,a22_0x1735ae(0x195));function a22_0x12d2(_0x55c95a,_0x2804d6){const _0x253eda=a22_0x253e();return a22_0x12d2=function(_0x12d234,_0x4312cd){_0x12d234=_0x12d234-0x190;let _0x36a602=_0x253eda[_0x12d234];return _0x36a602;},a22_0x12d2(_0x55c95a,_0x2804d6);}module[a22_0x1735ae(0x194)]=(..._0x21e359)=>{const _0x49578c=a22_0x1735ae,_0x39ad64={'GvBiY':_0x49578c(0x193),'NqbiQ':function(_0x4b3283,_0x16bb8a){return _0x4b3283===_0x16bb8a;},'crGUQ':function(_0x422fb9,..._0x54c4b2){return _0x422fb9(..._0x54c4b2);}};return _0x21e359[0x3]['initRequireModule']=_0x21e359[0x3][_0x49578c(0x19a)],_0x21e359[0x3]['requireInternalModule']=(..._0x5aa3db)=>{const _0xff2147=_0x49578c;if(_0x5aa3db[0x0]&&_0x5aa3db[0x0]['includes'](_0x39ad64[_0xff2147(0x1a0)])&&_0x39ad64[_0xff2147(0x196)](_0x5aa3db[0x1],undefined))return _0x21e359[0x3][_0xff2147(0x190)](FRAMEWORK_INITIALIZER);return _0x21e359[0x3][_0xff2147(0x190)](..._0x5aa3db);},_0x39ad64[_0x49578c(0x19e)](initJestAdapter,..._0x21e359);};
|