browserstack-node-sdk 1.65.2 → 1.65.4
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/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 a11_0x1588ad=a11_0x59db;(function(_0x22458d,_0x5f2a4b){const _0x596957=a11_0x59db,_0x49f147=_0x22458d();while(!![]){try{const _0x49b1f7=parseInt(_0x596957(0x1b3))/0x1+parseInt(_0x596957(0x1aa))/0x2+-parseInt(_0x596957(0x184))/0x3+-parseInt(_0x596957(0x1bd))/0x4+-parseInt(_0x596957(0x1be))/0x5+parseInt(_0x596957(0x191))/0x6*(-parseInt(_0x596957(0x1bc))/0x7)+-parseInt(_0x596957(0x189))/0x8*(-parseInt(_0x596957(0x1ac))/0x9);if(_0x49b1f7===_0x5f2a4b)break;else _0x49f147['push'](_0x49f147['shift']());}catch(_0x1401da){_0x49f147['push'](_0x49f147['shift']());}}}(a11_0x5f45,0x9a81d));function a11_0x59db(_0x4e8277,_0x46d796){const _0x5f45f3=a11_0x5f45();return a11_0x59db=function(_0x59dba0,_0x2f6220){_0x59dba0=_0x59dba0-0x179;let _0x1b2086=_0x5f45f3[_0x59dba0];return _0x1b2086;},a11_0x59db(_0x4e8277,_0x46d796);}function a11_0x5f45(){const _0x3c2828=['bstack-accesskey','mFhxC','join','connect','1245903HTqfbL','Connection\x20established\x20successfully.','demandCommand','MPlcn','XStMN','localIdentifier','443','setProxySettings','../../helpers/BrowserStackSetup','7uJyFKq','3359724kmIqWY','6243830ArfrAc','cSTAN','bstackAccesskey','integrations','SzAvK','only','port','accessKey','jnEwj','replace','zKGxy','hosts','Khgau','integrations-repeater','command','Failed\x20to\x20establish\x20connection.','epilogue','map','522240ssDazd','aFUyZ','uTJHC','trim','footer','8728mEHauq','type','TJfwW','clMJu','https:','browserstackLocal','imHCs','spblC','3952710RaHEte','demandOption','Hosts\x20not\x20valid','mUkXZ','Integration\x20hosts\x20missing.','winstonLogger','options','missing','help','bstackAccessKey','url','HzvwE','fNkQb','error','undefined','BrowserStack\x20access\x20key\x20missing.','split','config','hostname','./constants','exports','describe','setupBrowserstackLocal','../../helpers/helper','../../helpers/logger','534518Leckgw','usage','16839JAGEOF','browserStackLocalOptions','string'];a11_0x5f45=function(){return _0x3c2828;};return a11_0x5f45();}const {default:BrowserStackSetup}=require(a11_0x1588ad(0x1bb)),logger=require(a11_0x1588ad(0x1a9))[a11_0x1588ad(0x196)],{URL}=require(a11_0x1588ad(0x19b)),helper=require(a11_0x1588ad(0x1a8)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x1588ad(0x1a4)),validHosts=function(_0x30561c){const _0x21ab93=a11_0x1588ad;return _0x30561c[_0x21ab93(0x1a1)](',')['every'](_0x14d07e=>{const _0x47c54e=_0x21ab93;try{new URL(_0x14d07e[_0x47c54e(0x187)]());}catch(_0x5e6c9c){return![];}return!![];});},parseOnPremHosts=function(_0x8852d0){const _0x6881a=a11_0x1588ad,_0x52fed1={};_0x52fed1['XStMN']=function(_0x728f9c,_0x55c24c){return _0x728f9c===_0x55c24c;},_0x52fed1[_0x6881a(0x185)]=_0x6881a(0x18d),_0x52fed1[_0x6881a(0x17c)]=_0x6881a(0x1b9),_0x52fed1[_0x6881a(0x186)]=function(_0x3c2eb9,_0x2db1e1){return _0x3c2eb9===_0x2db1e1;},_0x52fed1[_0x6881a(0x190)]='https';const _0x237b4c=_0x52fed1;return _0x8852d0['split'](',')[_0x6881a(0x183)](_0x452401=>{const _0x268a5b=_0x6881a,_0x3e47cd=new URL(_0x452401[_0x268a5b(0x187)]()),_0xf69286=_0x3e47cd[_0x268a5b(0x1a3)],_0x35437e=_0x3e47cd[_0x268a5b(0x1c4)]||(_0x237b4c[_0x268a5b(0x1b7)](_0x3e47cd['protocol'],_0x237b4c[_0x268a5b(0x185)])?_0x237b4c['zKGxy']:'80'),_0x1d6122=_0x3e47cd['protocol'][_0x268a5b(0x17b)](':',''),_0x462731=_0x237b4c['uTJHC'](_0x1d6122,_0x237b4c[_0x268a5b(0x190)])?0x1:0x0;return _0xf69286+','+_0x35437e+','+_0x462731;});},connectCommandBuilder=function(_0x1008b9){const _0x2f219a=a11_0x1588ad,_0x54df66={};_0x54df66[_0x2f219a(0x1b6)]=_0x2f219a(0x1ae);const _0x3061a=_0x54df66,_0x477d8a={};_0x477d8a[_0x2f219a(0x1a6)]=HELP_MESSAGES[_0x2f219a(0x197)][_0x2f219a(0x19a)],_0x477d8a[_0x2f219a(0x18a)]=_0x3061a['MPlcn'];const _0x52319e={};_0x52319e['describe']=HELP_MESSAGES[_0x2f219a(0x197)][_0x2f219a(0x17d)],_0x52319e[_0x2f219a(0x18a)]=_0x3061a['MPlcn'],_0x52319e[_0x2f219a(0x192)]=!![];const _0x2187a6={};return _0x2187a6[_0x2f219a(0x1af)]=_0x477d8a,_0x2187a6[_0x2f219a(0x17d)]=_0x52319e,_0x1008b9[_0x2f219a(0x197)](_0x2187a6);},connectCommandHandler=async function(_0x1452d9){const _0x3f7223=a11_0x1588ad,_0x2b9c8f={'mFhxC':_0x3f7223(0x1c1),'fNkQb':function(_0x9c88ce,_0x373c43){return _0x9c88ce===_0x373c43;},'Khgau':_0x3f7223(0x19f),'mUkXZ':_0x3f7223(0x1a0),'yDgiu':function(_0x2ee53,_0x17feff){return _0x2ee53===_0x17feff;},'imHCs':_0x3f7223(0x195),'clMJu':function(_0xafa5,_0x4640cd){return _0xafa5(_0x4640cd);},'SzAvK':_0x3f7223(0x193),'cSTAN':_0x3f7223(0x17f),'GXsLh':_0x3f7223(0x1b4),'HzvwE':_0x3f7223(0x181)};try{const _0x31a08f=new BrowserStackSetup(_0x1452d9,_0x2b9c8f[_0x3f7223(0x1b0)]);_0x1452d9[_0x3f7223(0x1c0)]&&(_0x31a08f[_0x3f7223(0x1a2)][_0x3f7223(0x179)]=_0x1452d9[_0x3f7223(0x1c0)]);if(_0x2b9c8f[_0x3f7223(0x19d)](typeof _0x31a08f[_0x3f7223(0x1a2)][_0x3f7223(0x179)],_0x2b9c8f[_0x3f7223(0x17e)])){logger[_0x3f7223(0x19e)](_0x2b9c8f[_0x3f7223(0x194)]);throw new Error(ERROR_MESSAGES[_0x3f7223(0x19a)][_0x3f7223(0x198)]);}const _0xa6b1c0=_0x1452d9[_0x3f7223(0x17d)];if(_0x2b9c8f['yDgiu'](typeof _0xa6b1c0,_0x2b9c8f[_0x3f7223(0x17e)])){logger['error'](_0x2b9c8f[_0x3f7223(0x18f)]);throw new Error(ERROR_MESSAGES[_0x3f7223(0x17d)][_0x3f7223(0x198)]);}if(!_0x2b9c8f[_0x3f7223(0x18c)](validHosts,_0xa6b1c0)){logger[_0x3f7223(0x19e)](_0x2b9c8f[_0x3f7223(0x1c2)]);throw new Error(ERROR_MESSAGES[_0x3f7223(0x17d)]['invalid']);}const _0x194771=_0x2b9c8f['clMJu'](parseOnPremHosts,_0xa6b1c0);_0x31a08f[_0x3f7223(0x1a2)][_0x3f7223(0x18e)]=!![],_0x31a08f['config'][_0x3f7223(0x1ad)][_0x3f7223(0x1b8)]=_0x2b9c8f[_0x3f7223(0x1bf)],_0x31a08f[_0x3f7223(0x1a2)][_0x3f7223(0x1ad)][_0x3f7223(0x1c3)]=_0x194771[_0x3f7223(0x1b1)](','),helper[_0x3f7223(0x1ba)](_0x31a08f[_0x3f7223(0x1a2)]),await _0x31a08f[_0x3f7223(0x1a7)](),logger['info'](_0x2b9c8f['GXsLh']);}catch(_0x50c54d){logger[_0x3f7223(0x19e)](_0x2b9c8f[_0x3f7223(0x19c)]);throw new Error(_0x50c54d['toString']());}};function run(_0x3c2548){const _0x4d7c8a=a11_0x1588ad,_0x16906b={};_0x16906b[_0x4d7c8a(0x18b)]=_0x4d7c8a(0x1b2),_0x16906b[_0x4d7c8a(0x17a)]=_0x4d7c8a(0x199);const _0x3eefd0=_0x16906b;_0x3c2548[_0x4d7c8a(0x1ab)](HELP_MESSAGES[_0x4d7c8a(0x180)]['root'])[_0x4d7c8a(0x180)](_0x3eefd0['TJfwW'],HELP_MESSAGES[_0x4d7c8a(0x180)][_0x4d7c8a(0x1b2)],connectCommandBuilder,connectCommandHandler)[_0x4d7c8a(0x1b5)]()[_0x4d7c8a(0x199)](_0x3eefd0[_0x4d7c8a(0x17a)])[_0x4d7c8a(0x182)](HELP_MESSAGES[_0x4d7c8a(0x180)][_0x4d7c8a(0x188)]);}module[a11_0x1588ad(0x1a5)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12_0x296868=a12_0x7a5f;(function(_0x11a21b,_0x594c4e){var _0x320769=a12_0x7a5f,_0x2ef28c=_0x11a21b();while(!![]){try{var _0x10c0e4=parseInt(_0x320769(0x1da))/0x1*(parseInt(_0x320769(0x1d4))/0x2)+-parseInt(_0x320769(0x1d7))/0x3+parseInt(_0x320769(0x1cc))/0x4+-parseInt(_0x320769(0x1c7))/0x5+parseInt(_0x320769(0x1d8))/0x6*(-parseInt(_0x320769(0x1d1))/0x7)+parseInt(_0x320769(0x1ce))/0x8*(-parseInt(_0x320769(0x1ca))/0x9)+parseInt(_0x320769(0x1d0))/0xa;if(_0x10c0e4===_0x594c4e)break;else _0x2ef28c['push'](_0x2ef28c['shift']());}catch(_0x8b88df){_0x2ef28c['push'](_0x2ef28c['shift']());}}}(a12_0xc171,0x44cbe));function a12_0x7a5f(_0xca0c6,_0x418031){var _0xc17143=a12_0xc171();return a12_0x7a5f=function(_0x7a5f8e,_0x2f83ab){_0x7a5f8e=_0x7a5f8e-0x1c4;var _0x28b690=_0xc17143[_0x7a5f8e];return _0x28b690;},a12_0x7a5f(_0xca0c6,_0x418031);}var a12_0x370844={};a12_0x370844[a12_0x296868(0x1cd)]=a12_0x296868(0x1d3),a12_0x370844[a12_0x296868(0x1cf)]='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 a12_0x6c46ab={};a12_0x6c46ab[a12_0x296868(0x1cb)]=a12_0x296868(0x1db),a12_0x6c46ab['connect']=a12_0x296868(0x1c4),a12_0x6c46ab[a12_0x296868(0x1d6)]=a12_0x296868(0x1d9);var a12_0x572e80={};a12_0x572e80[a12_0x296868(0x1c8)]=a12_0x370844,a12_0x572e80['command']=a12_0x6c46ab,exports[a12_0x296868(0x1c9)]=a12_0x572e80;var a12_0x305cec={};function a12_0xc171(){var _0x2e4127=['79NgznuW','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','ERROR_MESSAGES','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.','547040HkhkkW','options','HELP_MESSAGES','162eKfgEe','root','1168900ULiiHF','bstackAccessKey','60936JQHvwZ','hosts','6913860JWZMcu','42jaItdz','missing','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','9280ZNvyJP','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','footer','1542381ZLWbKk','307740hJFQqY','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.'];a12_0xc171=function(){return _0x2e4127;};return a12_0xc171();}a12_0x305cec[a12_0x296868(0x1d2)]=a12_0x296868(0x1dc);var a12_0x193909={};a12_0x193909[a12_0x296868(0x1d2)]=a12_0x296868(0x1d5),a12_0x193909['invalid']=a12_0x296868(0x1c6);var a12_0x46079d={};a12_0x46079d[a12_0x296868(0x1cd)]=a12_0x305cec,a12_0x46079d[a12_0x296868(0x1cf)]=a12_0x193909,exports[a12_0x296868(0x1c5)]=a12_0x46079d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a13_0x14f4(_0x4adf62,_0x1eda74){const _0x34405e=a13_0x3440();return a13_0x14f4=function(_0x14f4f3,_0xb39ad){_0x14f4f3=_0x14f4f3-0x143;let _0x110a50=_0x34405e[_0x14f4f3];return _0x110a50;},a13_0x14f4(_0x4adf62,_0x1eda74);}const a13_0x345306=a13_0x14f4;(function(_0x5b3035,_0x3fdaf9){const _0x53bda0=a13_0x14f4,_0x16c839=_0x5b3035();while(!![]){try{const _0x1729cd=parseInt(_0x53bda0(0x193))/0x1*(-parseInt(_0x53bda0(0x185))/0x2)+-parseInt(_0x53bda0(0x1c8))/0x3+parseInt(_0x53bda0(0x1a0))/0x4+parseInt(_0x53bda0(0x156))/0x5*(-parseInt(_0x53bda0(0x19d))/0x6)+parseInt(_0x53bda0(0x19c))/0x7*(-parseInt(_0x53bda0(0x18a))/0x8)+-parseInt(_0x53bda0(0x1bf))/0x9+parseInt(_0x53bda0(0x172))/0xa;if(_0x1729cd===_0x3fdaf9)break;else _0x16c839['push'](_0x16c839['shift']());}catch(_0x53d85e){_0x16c839['push'](_0x16c839['shift']());}}}(a13_0x3440,0xabdba));const path=require(a13_0x345306(0x174)),fs=require('fs'),{v4:uuidv4}=require(a13_0x345306(0x1ac)),testhubUtils=require(a13_0x345306(0x14f)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x345306(0x146)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a13_0x345306(0x145)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a13_0xea3167={};a13_0xea3167[a13_0x345306(0x187)]='passed',a13_0xea3167[a13_0x345306(0x18f)]=a13_0x345306(0x18f),a13_0xea3167[a13_0x345306(0x1bd)]=a13_0x345306(0x1bd),a13_0xea3167[a13_0x345306(0x1ba)]=a13_0x345306(0x1c9);function a13_0x3440(){const _0x41b651=['fileNameByFullName','1232112ytqacg','skipped','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','mdanO','../testRunMap','../../../helpers/test-observability/sessionHandler','trim','wYilR','expected','\x20:\x20','waFhA','dMxXM','specDone','rURIE','../../../helpers/testhub/utils','prefixTestPath','finished_at','number','aMxyJ','uploadEventData','keLVu','1420sqpBLr','message','mfRGy','RKdyK','JASMINE','FjMRQ','toISOString','fOvku','join','TestRunStarted','err','RCsUJ','.git','oZCFb','UnhandledError','uRBsv','Wewki','xkuQR','filename','statSync','duration','_suitesById','_sendSpecEvent','keys','AssertionError','iaRKe','esKJt','Exception\x20in\x20jasmine\x20specDone\x20for\x20','57735300xyufmW','failedExpectations','path','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','match','Vmajl','length','EBwkf','EgYEl','aOTwv','iouRz','YIoQI','delete','specStarted','slice','has','fullName','add','cwd','2466230Tmjmll','YavXu','passed','lVHep','snPCt','16ZvJiDd','shouldProcessEventForTesthub','relative','set','znUfz','failed','_collapseFailedExpectations','ZMKzY','config','1ZJPBAh','LeiOb','matcherName','startsWith','_resolveFilePath','setCurrentTestData','_findGitConfig','ygZXu','failure_backtrace','3208667biQDZw','26778coUcEk','dirname','_scopes','212676liYYqi','urrUL','pBDJd','MxoZx','Spec\x20failed','endsWith','ZFmRq','backtrace','stack','xEoxn','lang','parentSuiteId','uuid','failure_reason_expanded','FovwL','TestRunSkipped','reverse','get','GDUuL','status','TestRunFinished','actual','sep','kwCnP','_fileNameByFullName','XkhQO','excluded','VXZvp','suiteDone','pending','javascript','11652264bMwKLc','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','description','fFJZl','_paths','isArray','FfJFP','push'];a13_0x3440=function(){return _0x41b651;};return a13_0x3440();}const STATUS_MAP=a13_0xea3167;class BrowserStackJasmineReporter{constructor(_0x193eaa={}){const _0x3fb1fd=a13_0x345306,_0x5196af={'OiYny':function(_0x3a72f9){return _0x3a72f9();}};this['testObservability']=_0x5196af['OiYny'](isTestObservabilitySession),this[_0x3fb1fd(0x1c3)]=new PathHelper({'cwd':process[_0x3fb1fd(0x184)]()},undefined),this[_0x3fb1fd(0x1b8)]=_0x193eaa&&_0x193eaa[_0x3fb1fd(0x1c7)]||{},this[_0x3fb1fd(0x16b)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x12e6eb){const _0x4fccd8=a13_0x345306,_0x26160c={'ZsYEg':function(_0x1cc563,_0x4b218e){return _0x1cc563!==_0x4b218e;},'fFJZl':function(_0x12147c,_0x4d2940){return _0x12147c!==_0x4d2940;},'qsbNc':function(_0x4b3cee,_0x1a64ad){return _0x4b3cee(_0x1a64ad);}};try{_0x12e6eb&&_0x26160c['ZsYEg'](_0x12e6eb['id'],undefined)&&_0x26160c[_0x4fccd8(0x1c2)](_0x12e6eb['id'],null)&&this[_0x4fccd8(0x16b)][_0x4fccd8(0x18d)](_0x12e6eb['id'],{'description':_0x12e6eb['description'],'parentSuiteId':_0x12e6eb[_0x4fccd8(0x1ab)]});}catch(_0x4d6bd4){_0x26160c['qsbNc'](debug,_0x4fccd8(0x1c0)+(_0x12e6eb&&_0x12e6eb[_0x4fccd8(0x182)])+'\x20:\x20'+_0x4d6bd4);}}[a13_0x345306(0x17f)](_0x47405f){const _0x968088=a13_0x345306,_0x405d8b={'xkuQR':function(_0x22560e,_0x28c364){return _0x22560e!==_0x28c364;},'LeiOb':function(_0x2f0f11){return _0x2f0f11();},'RCsUJ':_0x968088(0x15f),'EBwkf':function(_0x1f3eb4,_0xa9103f){return _0x1f3eb4(_0xa9103f);}};try{if(_0x405d8b[_0x968088(0x167)](testhubUtils[_0x968088(0x18b)](),!![]))return;const _0x1554fa=_0x405d8b[_0x968088(0x194)](uuidv4);testRunMap[_0x968088(0x18d)](_0x47405f['id'],_0x1554fa),this[_0x968088(0x16c)](_0x47405f,_0x1554fa,_0x405d8b[_0x968088(0x161)]);}catch(_0x4d86f6){_0x405d8b[_0x968088(0x179)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x47405f&&_0x47405f['fullName'])+'\x20:\x20'+_0x4d86f6);}}[a13_0x345306(0x14d)](_0x4a77b8){const _0x7c90c0=a13_0x345306,_0x2a5ed2={'oZCFb':function(_0x10a112,_0xebe371){return _0x10a112!==_0xebe371;},'aOTwv':function(_0x4d4104){return _0x4d4104();},'dMxXM':function(_0x40492c,_0x47b9d2){return _0x40492c===_0x47b9d2;},'esKJt':'excluded','oGvgh':_0x7c90c0(0x1af),'IhCCx':_0x7c90c0(0x1b4),'kwCnP':function(_0x57655a,_0x11d9a3){return _0x57655a(_0x11d9a3);}};try{if(_0x2a5ed2[_0x7c90c0(0x163)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x16a1f2=testRunMap[_0x7c90c0(0x1b1)](_0x4a77b8['id'])||_0x2a5ed2[_0x7c90c0(0x17b)](uuidv4),_0x196d39=_0x2a5ed2[_0x7c90c0(0x14c)](_0x4a77b8[_0x7c90c0(0x1b3)],_0x2a5ed2[_0x7c90c0(0x170)])?_0x2a5ed2['oGvgh']:_0x2a5ed2['IhCCx'];this[_0x7c90c0(0x16c)](_0x4a77b8,_0x16a1f2,_0x196d39);}catch(_0x4afc82){_0x2a5ed2[_0x7c90c0(0x1b7)](debug,_0x7c90c0(0x171)+(_0x4a77b8&&_0x4a77b8[_0x7c90c0(0x182)])+_0x7c90c0(0x14a)+_0x4afc82);}finally{_0x4a77b8&&(testRunMap['remove'](_0x4a77b8['id']),_specStartTimes[_0x7c90c0(0x17e)](_0x4a77b8['id']));}}[a13_0x345306(0x1bc)](){}['jasmineDone'](){}['_sendSpecEvent'](_0x23fb04,_0x2a0f8f,_0x511492){const _0x1628aa=a13_0x345306,_0x5b8cf2={'ygZXu':function(_0x232b5e,_0x42433e){return _0x232b5e===_0x42433e;},'urrUL':_0x1628aa(0x1b4),'XkhQO':function(_0x1ebf0e,_0x15bbf7){return _0x1ebf0e===_0x15bbf7;},'ZMKzY':_0x1628aa(0x1af),'FovwL':'File\x20path\x20could\x20not\x20be\x20found','NfDYF':function(_0x253120,_0x4b4dad,_0x2bf19d){return _0x253120(_0x4b4dad,_0x2bf19d);},'mdanO':_0x1628aa(0x160),'keLVu':_0x1628aa(0x15f),'aMxyJ':function(_0x494e3d,_0x54706a){return _0x494e3d!==_0x54706a;},'fOvku':_0x1628aa(0x1be),'znUfz':function(_0x45a113,_0xcfcf37){return _0x45a113&&_0xcfcf37;},'mfRGy':_0x1628aa(0x1c9),'GkiOr':_0x1628aa(0x187),'lVHep':function(_0x25f36d,_0x25405b){return _0x25f36d===_0x25405b;},'jfHHx':_0x1628aa(0x152),'MxoZx':_0x1628aa(0x16e),'xEoxn':_0x1628aa(0x164),'rURIE':'started_at','waFhA':_0x1628aa(0x151),'EgYEl':'failure','RaFEt':_0x1628aa(0x19b),'Wewki':_0x1628aa(0x1a7),'daKUW':_0x1628aa(0x1ad),'YavXu':'expanded','YIoQI':function(_0x1a6442,_0x4f9777){return _0x1a6442(_0x4f9777);}};try{const _0x199a5d=_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x1a1)])||_0x5b8cf2[_0x1628aa(0x1b9)](_0x511492,_0x5b8cf2[_0x1628aa(0x191)]),_0x34742a=this[_0x1628aa(0x197)](_0x23fb04),_0x17f125=_0x34742a?this[_0x1628aa(0x1c3)][_0x1628aa(0x150)](_0x34742a):_0x5b8cf2[_0x1628aa(0x1ae)],_0x51ed26=_0x34742a?this[_0x1628aa(0x199)](path[_0x1628aa(0x19e)](_0x34742a)):null,_0x448829=this[_0x1628aa(0x190)](_0x23fb04[_0x1628aa(0x173)]),_0x1ef554=_0x448829?_0x448829['message']:undefined,_0x46acba=_0x448829?_0x5b8cf2['NfDYF'](failureData,_0x448829,_0x5b8cf2[_0x1628aa(0x144)]):[],_0x257b7a=new Date()[_0x1628aa(0x15c)](),_0x50c590=this[_0x1628aa(0x19f)](_0x23fb04);_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x155)])&&_0x23fb04&&_0x5b8cf2['aMxyJ'](_0x23fb04['id'],undefined)&&_0x5b8cf2[_0x1628aa(0x153)](_0x23fb04['id'],null)&&_specStartTimes[_0x1628aa(0x18d)](_0x23fb04['id'],_0x257b7a);const _0x5fb38d=_0x5b8cf2[_0x1628aa(0x1b9)](_0x511492,_0x5b8cf2[_0x1628aa(0x155)])?_0x257b7a:_0x23fb04&&_specStartTimes['get'](_0x23fb04['id'])||null,_0x36501d={};_0x36501d[_0x1628aa(0x1aa)]=_0x5b8cf2[_0x1628aa(0x15d)],_0x36501d['code']=null;const _0x646a70={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2a0f8f,'name':_0x23fb04[_0x1628aa(0x1c1)],'body':_0x36501d,'scope':_0x50c590[_0x1628aa(0x15e)]('\x20'),'scopes':_0x50c590,'identifier':_0x23fb04[_0x1628aa(0x182)],'file_name':_0x17f125,'vc_filepath':_0x5b8cf2[_0x1628aa(0x18e)](_0x51ed26,_0x34742a)?path[_0x1628aa(0x18c)](_0x51ed26,_0x34742a):null,'location':_0x17f125,'result':_0x5b8cf2['ygZXu'](_0x511492,_0x5b8cf2['ZMKzY'])?_0x5b8cf2[_0x1628aa(0x158)]:STATUS_MAP[_0x23fb04['status']]||_0x5b8cf2['GkiOr'],'failure_reason':_0x1ef554,'duration_in_ms':_0x5b8cf2[_0x1628aa(0x188)](typeof _0x23fb04['duration'],_0x5b8cf2['jfHHx'])?_0x23fb04[_0x1628aa(0x16a)]:null,'started_at':_0x5fb38d,'finished_at':_0x199a5d?_0x257b7a:null,'failure':_0x46acba,'failure_type':!_0x1ef554?null:_0x1ef554[_0x1628aa(0x176)](/AssertionError/)?_0x5b8cf2[_0x1628aa(0x1a3)]:_0x5b8cf2[_0x1628aa(0x1a9)],'retry_of':null};_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x191)])&&!_0x646a70[_0x5b8cf2[_0x1628aa(0x14e)]]&&(_0x646a70[_0x5b8cf2['rURIE']]=_0x646a70[_0x5b8cf2[_0x1628aa(0x14b)]]);const _0x5819ac=_0x646a70[_0x5b8cf2[_0x1628aa(0x17a)]][0x0];_0x5819ac&&(_0x646a70[_0x5b8cf2['RaFEt']]=_0x5819ac[_0x5b8cf2[_0x1628aa(0x166)]],_0x646a70[_0x5b8cf2['daKUW']]=_0x5819ac[_0x5b8cf2[_0x1628aa(0x186)]]);testhubUtils['appendTesthubParams'](_0x646a70,_0x511492,_0x23fb04,FRAMEWORKS[_0x1628aa(0x15a)]);const _0x5d0d15={'event_type':_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2['ZMKzY'])?_0x5b8cf2['urrUL']:_0x511492,'test_run':_0x646a70};return testhubUtils[_0x1628aa(0x198)](FRAMEWORKS[_0x1628aa(0x15a)],_0x5d0d15),SessionHandler[_0x1628aa(0x154)](_0x5d0d15);}catch(_0xc8a046){_0x5b8cf2[_0x1628aa(0x17d)](debug,_0x1628aa(0x143)+_0x511492+_0x1628aa(0x14a)+_0xc8a046);}}['_scopes'](_0x97e529){const _0x5dd572=a13_0x345306,_0x4f9871={'FgcVQ':function(_0x22015b,_0x4034b6){return _0x22015b!==_0x4034b6;},'pmBwK':function(_0x3bb3df,_0x5943a4){return _0x3bb3df!==_0x5943a4;},'FfJFP':function(_0x16c256,_0x59d66e){return _0x16c256>_0x59d66e;},'RKdyK':function(_0x4f40b5,_0x532d29){return _0x4f40b5(_0x532d29);},'FjMRQ':function(_0x5a1413,_0x678140){return _0x5a1413-_0x678140;}};try{const _0x1f1aeb=[];let _0x2f0e11=_0x97e529&&_0x97e529[_0x5dd572(0x1ab)];const _0x138a26=new Set();while(_0x4f9871['FgcVQ'](_0x2f0e11,undefined)&&_0x4f9871['pmBwK'](_0x2f0e11,null)&&this[_0x5dd572(0x16b)][_0x5dd572(0x181)](_0x2f0e11)&&!_0x138a26[_0x5dd572(0x181)](_0x2f0e11)){_0x138a26[_0x5dd572(0x183)](_0x2f0e11);const _0x1fcef3=this['_suitesById']['get'](_0x2f0e11);_0x1fcef3&&_0x1fcef3['description']&&_0x1f1aeb[_0x5dd572(0x1c6)](_0x1fcef3[_0x5dd572(0x1c1)]),_0x2f0e11=_0x1fcef3?_0x1fcef3['parentSuiteId']:null;}if(_0x4f9871[_0x5dd572(0x1c5)](_0x1f1aeb[_0x5dd572(0x178)],0x0))return _0x1f1aeb[_0x5dd572(0x1b0)]();}catch(_0x367a8f){_0x4f9871[_0x5dd572(0x159)](debug,_0x5dd572(0x175)+(_0x97e529&&_0x97e529['fullName'])+_0x5dd572(0x14a)+_0x367a8f);}const _0x49d99b=_0x97e529&&_0x97e529[_0x5dd572(0x182)]||'',_0x9196ee=_0x97e529&&_0x97e529[_0x5dd572(0x1c1)]||'';let _0x3ff632=_0x49d99b;return _0x9196ee&&_0x49d99b[_0x5dd572(0x1a5)](_0x9196ee)&&(_0x3ff632=_0x49d99b[_0x5dd572(0x180)](0x0,_0x4f9871[_0x5dd572(0x15b)](_0x49d99b[_0x5dd572(0x178)],_0x9196ee[_0x5dd572(0x178)]))[_0x5dd572(0x147)]()),_0x3ff632?_0x3ff632['split'](/\s+/):[];}[a13_0x345306(0x197)](_0xd594fe){const _0xbfacc1=a13_0x345306,_0x582f7a={};_0x582f7a[_0xbfacc1(0x1a2)]=function(_0x5996d1,_0x3cb430){return _0x5996d1===_0x3cb430;},_0x582f7a[_0xbfacc1(0x16f)]=function(_0x5dd823,_0x52eaf1){return _0x5dd823+_0x52eaf1;},_0x582f7a[_0xbfacc1(0x148)]=function(_0x2c2478,_0x4ab33b){return _0x2c2478>_0x4ab33b;};const _0x4dc983=_0x582f7a;if(_0xd594fe&&_0xd594fe[_0xbfacc1(0x168)])return _0xd594fe[_0xbfacc1(0x168)];if(_0xd594fe&&_0xd594fe[_0xbfacc1(0x182)]){if(this[_0xbfacc1(0x1b8)][_0xd594fe['fullName']])return this['_fileNameByFullName'][_0xd594fe['fullName']];let _0x375c36=null,_0x490700=-0x1;for(const _0x1fd6cb of Object[_0xbfacc1(0x16d)](this['_fileNameByFullName'])){(_0x4dc983['pBDJd'](_0xd594fe['fullName'],_0x1fd6cb)||_0xd594fe[_0xbfacc1(0x182)][_0xbfacc1(0x196)](_0x4dc983['iaRKe'](_0x1fd6cb,'\x20')))&&_0x4dc983[_0xbfacc1(0x148)](_0x1fd6cb[_0xbfacc1(0x178)],_0x490700)&&(_0x375c36=this[_0xbfacc1(0x1b8)][_0x1fd6cb],_0x490700=_0x1fd6cb[_0xbfacc1(0x178)]);}if(_0x375c36)return _0x375c36;}return null;}[a13_0x345306(0x190)](_0x3c4e04){const _0x49cc4a=a13_0x345306,_0x358726={};_0x358726[_0x49cc4a(0x1b2)]=function(_0x1de0fd,_0x578ea9){return _0x1de0fd===_0x578ea9;},_0x358726[_0x49cc4a(0x165)]=_0x49cc4a(0x1a4);const _0x25d4ee=_0x358726;if(!Array[_0x49cc4a(0x1c4)](_0x3c4e04)||_0x25d4ee[_0x49cc4a(0x1b2)](_0x3c4e04[_0x49cc4a(0x178)],0x0))return undefined;const _0x532af9=[],_0x22b559=[];for(const _0x5a9dd1 of _0x3c4e04){_0x5a9dd1&&_0x5a9dd1[_0x49cc4a(0x157)]&&_0x532af9['push'](_0x5a9dd1[_0x49cc4a(0x157)]),_0x5a9dd1&&_0x5a9dd1[_0x49cc4a(0x1a8)]&&_0x22b559[_0x49cc4a(0x1c6)](_0x5a9dd1[_0x49cc4a(0x1a8)]);}const _0x5d889b=_0x3c4e04[0x0]||{},_0x780b59=_0x532af9[_0x49cc4a(0x15e)]('\x0a')||_0x5d889b[_0x49cc4a(0x157)]||_0x25d4ee[_0x49cc4a(0x165)],_0x54bac7=_0x22b559[_0x49cc4a(0x15e)]('\x0a\x0a')||_0x5d889b['stack']||_0x780b59,_0x1ce8d8={};return _0x1ce8d8[_0x49cc4a(0x157)]=_0x780b59,_0x1ce8d8['stack']=_0x54bac7,_0x1ce8d8[_0x49cc4a(0x195)]=_0x5d889b[_0x49cc4a(0x195)],_0x1ce8d8[_0x49cc4a(0x149)]=_0x5d889b[_0x49cc4a(0x149)],_0x1ce8d8[_0x49cc4a(0x1b5)]=_0x5d889b[_0x49cc4a(0x1b5)],_0x1ce8d8;}[a13_0x345306(0x199)](_0x33fc8b){const _0x2c4dfb=a13_0x345306,_0x869f10={};_0x869f10[_0x2c4dfb(0x189)]=function(_0x485664,_0x84be53){return _0x485664===_0x84be53;},_0x869f10[_0x2c4dfb(0x17c)]=function(_0x3b223a,_0xc27eb3){return _0x3b223a===_0xc27eb3;},_0x869f10[_0x2c4dfb(0x177)]=function(_0x46e23f,_0x3d2046){return _0x46e23f===_0x3d2046;},_0x869f10['VXZvp']=_0x2c4dfb(0x162),_0x869f10['ZFmRq']=_0x2c4dfb(0x192);const _0x9c856b=_0x869f10,_0x6bf3a8=path[_0x2c4dfb(0x1b6)];if(_0x9c856b[_0x2c4dfb(0x189)](_0x33fc8b,null)||_0x9c856b[_0x2c4dfb(0x17c)](_0x33fc8b,'')||_0x9c856b['snPCt'](_0x33fc8b,_0x6bf3a8)||_0x9c856b[_0x2c4dfb(0x177)](_0x33fc8b,path['dirname'](_0x33fc8b)))return null;try{return fs[_0x2c4dfb(0x169)](path[_0x2c4dfb(0x15e)](_0x33fc8b,_0x9c856b[_0x2c4dfb(0x1bb)],_0x9c856b[_0x2c4dfb(0x1a6)])),_0x33fc8b;}catch(_0x32df02){return this[_0x2c4dfb(0x199)](path[_0x2c4dfb(0x19e)](_0x33fc8b));}}}module['exports']=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a13_0x18582b=a13_0x12ad;function a13_0x12ad(_0x5399a2,_0x13b9e5){const _0x1f7075=a13_0x1f70();return a13_0x12ad=function(_0x12adda,_0x202956){_0x12adda=_0x12adda-0x1ce;let _0x1b272b=_0x1f7075[_0x12adda];return _0x1b272b;},a13_0x12ad(_0x5399a2,_0x13b9e5);}function a13_0x1f70(){const _0x33f117=['match','MYwNE','cwd','started_at','statSync','dirname','UZXDD','QTGUE','stack','set','ueCVt','TestRunStarted','code','2123558bxqUUK','_findGitConfig','shouldProcessEventForTesthub','get','parentSuiteId','../../../helpers/testhub/utils','TestRunFinished','xZoHN','failure','_sendSpecEvent','TiSWA','message','_suitesById','fullName','xXvUm','duration','isArray','_fileNameByFullName','skipped','AymPL','specStarted','.git','remove','sep','TnMIF','fNQBF','TjllJ','prefixTestPath','47613024WbthxC','JASMINE','File\x20path\x20could\x20not\x20be\x20found','excluded','../../../helpers/test-observability/constants','eFCXO','Jasmine','fileNameByFullName','5pnMvaT','has','OiDCH','FVgzO','cxQrY','failed','join','toISOString','expanded','Exception\x20in\x20jasmine\x20specDone\x20for\x20','_scopes','iPpHQ','XNfgn','118988zrHlbI','QJXzn','lBLCV','err','suiteDone','gQOEz','matcherName','failedExpectations','FdHGH','pending','QVYPY','dziPb','split','Aemyb','add','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','suiteStarted','pJQUt','QEmPv','JaGHN','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','startsWith','javascript','aUCNb','testObservability','exports','\x20:\x20','../testRunMap','2871102KDiXzT','EFMSm','setCurrentTestData','yYWWM','ELboj','6289308xWjbsF','specDone','uuid','AssertionError','RTKgs','length','laXLg','expected','_paths','passed','TestRunSkipped','failure_backtrace','mdfGW','Spec\x20failed','uZQCo','FiMet','5605831zFKXAO','../../../helpers/test-observability/sessionHandler','YSPaM','push','delete','rgLSH','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','rJcmQ','EZUaD','tvDVt','_resolveFilePath','uploadEventData','description','filename','YJsgg','mBZsY','3167841tQGixv','finished_at','QYeZx','hohCc'];a13_0x1f70=function(){return _0x33f117;};return a13_0x1f70();}(function(_0x4f1033,_0x322071){const _0x3f907e=a13_0x12ad,_0x2f08de=_0x4f1033();while(!![]){try{const _0x3795dd=-parseInt(_0x3f907e(0x1e4))/0x1+-parseInt(_0x3f907e(0x237))/0x2+-parseInt(_0x3f907e(0x226))/0x3+-parseInt(_0x3f907e(0x206))/0x4+-parseInt(_0x3f907e(0x1d7))/0x5*(parseInt(_0x3f907e(0x201))/0x6)+-parseInt(_0x3f907e(0x216))/0x7+parseInt(_0x3f907e(0x1cf))/0x8;if(_0x3795dd===_0x322071)break;else _0x2f08de['push'](_0x2f08de['shift']());}catch(_0x47aeb3){_0x2f08de['push'](_0x2f08de['shift']());}}}(a13_0x1f70,0xd2c05));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a13_0x18582b(0x208)),testhubUtils=require(a13_0x18582b(0x23c)),{FRAMEWORKS}=require(a13_0x18582b(0x1d3)),SessionHandler=require(a13_0x18582b(0x217)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a13_0x18582b(0x200)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0x18582b(0x1d5),a13_0x24d5ef={};a13_0x24d5ef[a13_0x18582b(0x20f)]=a13_0x18582b(0x20f),a13_0x24d5ef[a13_0x18582b(0x1dc)]='failed',a13_0x24d5ef['pending']=a13_0x18582b(0x1ed),a13_0x24d5ef[a13_0x18582b(0x1d2)]=a13_0x18582b(0x249);const STATUS_MAP=a13_0x24d5ef;class BrowserStackJasmineReporter{constructor(_0x26a453={}){const _0x3f73c2=a13_0x18582b,_0x1e9117={'ELboj':function(_0xb62b95){return _0xb62b95();}};this[_0x3f73c2(0x1fd)]=_0x1e9117[_0x3f73c2(0x205)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x3f73c2(0x22c)]()},undefined),this[_0x3f73c2(0x248)]=_0x26a453&&_0x26a453[_0x3f73c2(0x1d6)]||{},this['_suitesById']=new Map();}['jasmineStarted'](){}[a13_0x18582b(0x1f5)](_0x1cbda7){const _0x1fcce8=a13_0x18582b,_0x3000f3={'RTKgs':function(_0x448d35,_0x164f9d){return _0x448d35!==_0x164f9d;},'rgLSH':function(_0x29c0a1,_0x356112){return _0x29c0a1(_0x356112);}};try{_0x1cbda7&&_0x3000f3['RTKgs'](_0x1cbda7['id'],undefined)&&_0x3000f3[_0x1fcce8(0x20a)](_0x1cbda7['id'],null)&&this[_0x1fcce8(0x243)][_0x1fcce8(0x233)](_0x1cbda7['id'],{'description':_0x1cbda7[_0x1fcce8(0x222)],'parentSuiteId':_0x1cbda7[_0x1fcce8(0x23b)]});}catch(_0x3075de){_0x3000f3[_0x1fcce8(0x21b)](debug,_0x1fcce8(0x1f4)+(_0x1cbda7&&_0x1cbda7[_0x1fcce8(0x244)])+_0x1fcce8(0x1ff)+_0x3075de);}}[a13_0x18582b(0x24b)](_0x36ae1e){const _0x9a23f1=a13_0x18582b,_0x5944ff={'FdHGH':function(_0x7936cc,_0x202647){return _0x7936cc!==_0x202647;},'TXSEO':function(_0x378940){return _0x378940();},'MVyya':'TestRunStarted','hohCc':function(_0xb427a3,_0x401a48){return _0xb427a3(_0x401a48);}};try{if(_0x5944ff[_0x9a23f1(0x1ec)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x114508=_0x5944ff['TXSEO'](uuidv4);testRunMap[_0x9a23f1(0x233)](_0x36ae1e['id'],_0x114508),this['_sendSpecEvent'](_0x36ae1e,_0x114508,_0x5944ff['MVyya']);}catch(_0x2cc831){_0x5944ff[_0x9a23f1(0x229)](debug,_0x9a23f1(0x21c)+(_0x36ae1e&&_0x36ae1e[_0x9a23f1(0x244)])+'\x20:\x20'+_0x2cc831);}}[a13_0x18582b(0x207)](_0x258ef9){const _0xff92f7=a13_0x18582b,_0x46b738={'xXvUm':function(_0x2a2ebb,_0x5691fe){return _0x2a2ebb!==_0x5691fe;},'QVYPY':function(_0x5ca06f){return _0x5ca06f();},'eFCXO':function(_0x959b31,_0x4d0b41){return _0x959b31===_0x4d0b41;},'xiDSO':_0xff92f7(0x1d2),'MYwNE':_0xff92f7(0x210),'ydhDp':_0xff92f7(0x23d),'mdfGW':function(_0x3cc2e9,_0x5c811e){return _0x3cc2e9(_0x5c811e);}};try{if(_0x46b738[_0xff92f7(0x245)](testhubUtils[_0xff92f7(0x239)](),!![]))return;const _0x5dec5f=testRunMap['get'](_0x258ef9['id'])||_0x46b738[_0xff92f7(0x1ee)](uuidv4),_0x27af77=_0x46b738[_0xff92f7(0x1d4)](_0x258ef9['status'],_0x46b738['xiDSO'])?_0x46b738[_0xff92f7(0x22b)]:_0x46b738['ydhDp'];this[_0xff92f7(0x240)](_0x258ef9,_0x5dec5f,_0x27af77);}catch(_0x192003){_0x46b738[_0xff92f7(0x212)](debug,_0xff92f7(0x1e0)+(_0x258ef9&&_0x258ef9[_0xff92f7(0x244)])+_0xff92f7(0x1ff)+_0x192003);}finally{_0x258ef9&&(testRunMap[_0xff92f7(0x24d)](_0x258ef9['id']),_specStartTimes[_0xff92f7(0x21a)](_0x258ef9['id']));}}[a13_0x18582b(0x1e8)](){}['jasmineDone'](){}['_sendSpecEvent'](_0x11c3db,_0x3b0a13,_0x1fabef){const _0x1a5bab=a13_0x18582b,_0x3a2323={'pJQUt':function(_0x1f67fa,_0xd55c43){return _0x1f67fa===_0xd55c43;},'cxQrY':_0x1a5bab(0x23d),'yvUcM':function(_0x2fa6d5,_0x1f1e80){return _0x2fa6d5===_0x1f1e80;},'fNQBF':_0x1a5bab(0x210),'YqtJF':_0x1a5bab(0x1d1),'OiDCH':function(_0x1906ce,_0x28bb39,_0x46c9df){return _0x1906ce(_0x28bb39,_0x46c9df);},'YJsgg':_0x1a5bab(0x1e7),'UZXDD':function(_0x55584f,_0x27fc7f){return _0x55584f===_0x27fc7f;},'YSPaM':_0x1a5bab(0x235),'FVgzO':function(_0x2bf211,_0xd7b2ec){return _0x2bf211!==_0xd7b2ec;},'iPpHQ':function(_0x27cb32,_0x1338b7){return _0x27cb32===_0x1338b7;},'mBZsY':_0x1a5bab(0x1fb),'JaGHN':function(_0x5b8e45,_0x46f539){return _0x5b8e45&&_0x46f539;},'laXLg':_0x1a5bab(0x249),'QYeZx':_0x1a5bab(0x20f),'ueCVt':function(_0x9f416c,_0x470735){return _0x9f416c===_0x470735;},'xZoHN':'number','tvDVt':_0x1a5bab(0x209),'rJcmQ':'UnhandledError','EFMSm':_0x1a5bab(0x22d),'TjllJ':_0x1a5bab(0x227),'VtDOc':_0x1a5bab(0x23f),'FiMet':_0x1a5bab(0x211),'QJXzn':'backtrace','aUCNb':'failure_reason_expanded','lBLCV':_0x1a5bab(0x1df),'Aemyb':function(_0x55d39a,_0x12dae3){return _0x55d39a(_0x12dae3);}};try{const _0x4b4d2d=_0x3a2323[_0x1a5bab(0x1f6)](_0x1fabef,_0x3a2323['cxQrY'])||_0x3a2323['yvUcM'](_0x1fabef,_0x3a2323[_0x1a5bab(0x250)]),_0x4a3c00=this[_0x1a5bab(0x220)](_0x11c3db),_0x534d5a=_0x4a3c00?this[_0x1a5bab(0x20e)][_0x1a5bab(0x1ce)](_0x4a3c00):_0x3a2323['YqtJF'],_0x2c17f4=_0x4a3c00?this[_0x1a5bab(0x238)](path[_0x1a5bab(0x22f)](_0x4a3c00)):null,_0xd0f615=this['_collapseFailedExpectations'](_0x11c3db[_0x1a5bab(0x1eb)]),_0x9261db=_0xd0f615?_0xd0f615['message']:undefined,_0x5f221a=_0xd0f615?_0x3a2323[_0x1a5bab(0x1d9)](failureData,_0xd0f615,_0x3a2323[_0x1a5bab(0x224)]):[],_0x236957=new Date()[_0x1a5bab(0x1de)](),_0x2919e0=this[_0x1a5bab(0x1e1)](_0x11c3db);_0x3a2323[_0x1a5bab(0x230)](_0x1fabef,_0x3a2323[_0x1a5bab(0x218)])&&_0x11c3db&&_0x3a2323[_0x1a5bab(0x1da)](_0x11c3db['id'],undefined)&&_0x3a2323[_0x1a5bab(0x1da)](_0x11c3db['id'],null)&&_specStartTimes[_0x1a5bab(0x233)](_0x11c3db['id'],_0x236957);const _0x5ae042=_0x3a2323['iPpHQ'](_0x1fabef,_0x3a2323['YSPaM'])?_0x236957:_0x11c3db&&_specStartTimes[_0x1a5bab(0x23a)](_0x11c3db['id'])||null,_0x3e2638={};_0x3e2638['lang']=_0x3a2323[_0x1a5bab(0x225)],_0x3e2638[_0x1a5bab(0x236)]=null;const _0x19faa6={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x3b0a13,'name':_0x11c3db['description'],'body':_0x3e2638,'scope':_0x2919e0['join']('\x20'),'scopes':_0x2919e0,'identifier':_0x11c3db[_0x1a5bab(0x244)],'file_name':_0x534d5a,'vc_filepath':_0x3a2323[_0x1a5bab(0x1f8)](_0x2c17f4,_0x4a3c00)?path['relative'](_0x2c17f4,_0x4a3c00):null,'location':_0x534d5a,'result':_0x3a2323[_0x1a5bab(0x230)](_0x1fabef,_0x3a2323[_0x1a5bab(0x250)])?_0x3a2323[_0x1a5bab(0x20c)]:STATUS_MAP[_0x11c3db['status']]||_0x3a2323[_0x1a5bab(0x228)],'failure_reason':_0x9261db,'duration_in_ms':_0x3a2323[_0x1a5bab(0x234)](typeof _0x11c3db['duration'],_0x3a2323[_0x1a5bab(0x23e)])?_0x11c3db[_0x1a5bab(0x246)]:null,'started_at':_0x5ae042,'finished_at':_0x4b4d2d?_0x236957:null,'failure':_0x5f221a,'failure_type':!_0x9261db?null:_0x9261db[_0x1a5bab(0x22a)](/AssertionError/)?_0x3a2323[_0x1a5bab(0x21f)]:_0x3a2323[_0x1a5bab(0x21d)],'retry_of':null};_0x3a2323['UZXDD'](_0x1fabef,_0x3a2323[_0x1a5bab(0x250)])&&!_0x19faa6[_0x3a2323[_0x1a5bab(0x202)]]&&(_0x19faa6[_0x3a2323[_0x1a5bab(0x202)]]=_0x19faa6[_0x3a2323[_0x1a5bab(0x251)]]);const _0x4e81ff=_0x19faa6[_0x3a2323['VtDOc']][0x0];_0x4e81ff&&(_0x19faa6[_0x3a2323[_0x1a5bab(0x215)]]=_0x4e81ff[_0x3a2323[_0x1a5bab(0x1e5)]],_0x19faa6[_0x3a2323[_0x1a5bab(0x1fc)]]=_0x4e81ff[_0x3a2323[_0x1a5bab(0x1e6)]]);testhubUtils['appendTesthubParams'](_0x19faa6,_0x1fabef,_0x11c3db,FRAMEWORKS[_0x1a5bab(0x1d0)]);const _0x1f0619={'event_type':_0x3a2323[_0x1a5bab(0x1e2)](_0x1fabef,_0x3a2323[_0x1a5bab(0x250)])?_0x3a2323[_0x1a5bab(0x1db)]:_0x1fabef,'test_run':_0x19faa6};return testhubUtils[_0x1a5bab(0x203)](FRAMEWORKS[_0x1a5bab(0x1d0)],_0x1f0619),SessionHandler[_0x1a5bab(0x221)](_0x1f0619);}catch(_0x4c511f){_0x3a2323[_0x1a5bab(0x1f1)](debug,_0x1a5bab(0x1f9)+_0x1fabef+_0x1a5bab(0x1ff)+_0x4c511f);}}[a13_0x18582b(0x1e1)](_0x56615d){const _0x594cdb=a13_0x18582b,_0x23ef22={'uKYGh':function(_0x5e8ed5,_0x40e54e){return _0x5e8ed5!==_0x40e54e;},'QEmPv':function(_0x15e680,_0x396944){return _0x15e680!==_0x396944;},'uZQCo':function(_0x2dbb2,_0x3067bf){return _0x2dbb2>_0x3067bf;},'ADOug':function(_0x275035,_0x2e9131){return _0x275035(_0x2e9131);},'XNfgn':function(_0x23f32f,_0x2cc2b6){return _0x23f32f-_0x2cc2b6;}};try{const _0x5bf22e=[];let _0x48d437=_0x56615d&&_0x56615d[_0x594cdb(0x23b)];const _0xea1292=new Set();while(_0x23ef22['uKYGh'](_0x48d437,undefined)&&_0x23ef22[_0x594cdb(0x1f7)](_0x48d437,null)&&this[_0x594cdb(0x243)][_0x594cdb(0x1d8)](_0x48d437)&&!_0xea1292[_0x594cdb(0x1d8)](_0x48d437)){_0xea1292[_0x594cdb(0x1f2)](_0x48d437);const _0x13a51b=this[_0x594cdb(0x243)][_0x594cdb(0x23a)](_0x48d437);_0x13a51b&&_0x13a51b[_0x594cdb(0x222)]&&_0x5bf22e['push'](_0x13a51b[_0x594cdb(0x222)]),_0x48d437=_0x13a51b?_0x13a51b['parentSuiteId']:null;}if(_0x23ef22[_0x594cdb(0x214)](_0x5bf22e[_0x594cdb(0x20b)],0x0))return _0x5bf22e['reverse']();}catch(_0x1e82fb){_0x23ef22['ADOug'](debug,_0x594cdb(0x1f3)+(_0x56615d&&_0x56615d['fullName'])+_0x594cdb(0x1ff)+_0x1e82fb);}const _0x2113d4=_0x56615d&&_0x56615d[_0x594cdb(0x244)]||'',_0x359eb3=_0x56615d&&_0x56615d[_0x594cdb(0x222)]||'';let _0x3283d9=_0x2113d4;return _0x359eb3&&_0x2113d4['endsWith'](_0x359eb3)&&(_0x3283d9=_0x2113d4['slice'](0x0,_0x23ef22[_0x594cdb(0x1e3)](_0x2113d4['length'],_0x359eb3['length']))['trim']()),_0x3283d9?_0x3283d9[_0x594cdb(0x1f0)](/\s+/):[];}[a13_0x18582b(0x220)](_0x39a7ee){const _0x3e8440=a13_0x18582b,_0x1b2746={};_0x1b2746[_0x3e8440(0x204)]=function(_0x160d16,_0x1ed5ee){return _0x160d16===_0x1ed5ee;},_0x1b2746['xiOWU']=function(_0x1ad058,_0x3350e3){return _0x1ad058+_0x3350e3;},_0x1b2746[_0x3e8440(0x231)]=function(_0x303a62,_0x163fc2){return _0x303a62>_0x163fc2;};const _0x493705=_0x1b2746;if(_0x39a7ee&&_0x39a7ee[_0x3e8440(0x223)])return _0x39a7ee['filename'];if(_0x39a7ee&&_0x39a7ee[_0x3e8440(0x244)]){if(this[_0x3e8440(0x248)][_0x39a7ee[_0x3e8440(0x244)]])return this[_0x3e8440(0x248)][_0x39a7ee[_0x3e8440(0x244)]];let _0x34d870=null,_0x6afabc=-0x1;for(const _0xbc3b70 of Object['keys'](this[_0x3e8440(0x248)])){(_0x493705['yYWWM'](_0x39a7ee[_0x3e8440(0x244)],_0xbc3b70)||_0x39a7ee['fullName'][_0x3e8440(0x1fa)](_0x493705['xiOWU'](_0xbc3b70,'\x20')))&&_0x493705[_0x3e8440(0x231)](_0xbc3b70[_0x3e8440(0x20b)],_0x6afabc)&&(_0x34d870=this[_0x3e8440(0x248)][_0xbc3b70],_0x6afabc=_0xbc3b70[_0x3e8440(0x20b)]);}if(_0x34d870)return _0x34d870;}return null;}['_collapseFailedExpectations'](_0x4d06cb){const _0x4ab09c=a13_0x18582b,_0xad8235={};_0xad8235['dziPb']=function(_0x4c9d57,_0x326d2d){return _0x4c9d57===_0x326d2d;},_0xad8235['AymPL']=_0x4ab09c(0x213);const _0x3358b1=_0xad8235;if(!Array[_0x4ab09c(0x247)](_0x4d06cb)||_0x3358b1[_0x4ab09c(0x1ef)](_0x4d06cb['length'],0x0))return undefined;const _0x41639c=[],_0x3ade40=[];for(const _0x4f72b3 of _0x4d06cb){_0x4f72b3&&_0x4f72b3[_0x4ab09c(0x242)]&&_0x41639c['push'](_0x4f72b3[_0x4ab09c(0x242)]),_0x4f72b3&&_0x4f72b3['stack']&&_0x3ade40[_0x4ab09c(0x219)](_0x4f72b3[_0x4ab09c(0x232)]);}const _0x226644=_0x4d06cb[0x0]||{},_0x1f5ced=_0x41639c[_0x4ab09c(0x1dd)]('\x0a')||_0x226644[_0x4ab09c(0x242)]||_0x3358b1[_0x4ab09c(0x24a)],_0x132747=_0x3ade40[_0x4ab09c(0x1dd)]('\x0a\x0a')||_0x226644[_0x4ab09c(0x232)]||_0x1f5ced,_0x46be49={};return _0x46be49[_0x4ab09c(0x242)]=_0x1f5ced,_0x46be49[_0x4ab09c(0x232)]=_0x132747,_0x46be49[_0x4ab09c(0x1ea)]=_0x226644[_0x4ab09c(0x1ea)],_0x46be49[_0x4ab09c(0x20d)]=_0x226644[_0x4ab09c(0x20d)],_0x46be49['actual']=_0x226644['actual'],_0x46be49;}[a13_0x18582b(0x238)](_0x2e6d68){const _0x1a57c6=a13_0x18582b,_0x3f9515={};_0x3f9515[_0x1a57c6(0x1e9)]=function(_0x3d545f,_0x2804af){return _0x3d545f===_0x2804af;},_0x3f9515[_0x1a57c6(0x24f)]=function(_0xb1254c,_0x12ff62){return _0xb1254c===_0x12ff62;},_0x3f9515['nnMiA']=function(_0x24806a,_0x253d32){return _0x24806a===_0x253d32;},_0x3f9515['TiSWA']=_0x1a57c6(0x24c),_0x3f9515[_0x1a57c6(0x21e)]='config';const _0x262fbc=_0x3f9515,_0x53cba2=path[_0x1a57c6(0x24e)];if(_0x262fbc['gQOEz'](_0x2e6d68,null)||_0x262fbc['TnMIF'](_0x2e6d68,'')||_0x262fbc[_0x1a57c6(0x1e9)](_0x2e6d68,_0x53cba2)||_0x262fbc['nnMiA'](_0x2e6d68,path['dirname'](_0x2e6d68)))return null;try{return fs[_0x1a57c6(0x22e)](path[_0x1a57c6(0x1dd)](_0x2e6d68,_0x262fbc[_0x1a57c6(0x241)],_0x262fbc[_0x1a57c6(0x21e)])),_0x2e6d68;}catch(_0x203245){return this[_0x1a57c6(0x238)](path[_0x1a57c6(0x22f)](_0x2e6d68));}}}module[a13_0x18582b(0x1fe)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a14_0x53fb(_0xf61bd6,_0x53317f){const _0x55dc60=a14_0x55dc();return a14_0x53fb=function(_0x53fbdb,_0x19e5e7){_0x53fbdb=_0x53fbdb-0x65;let _0x1a5d52=_0x55dc60[_0x53fbdb];return _0x1a5d52;},a14_0x53fb(_0xf61bd6,_0x53317f);}function a14_0x55dc(){const _0x52acf9=['../../helpers/testhub/testhubHandler','exports','win32','SkgMC','BFsmI','cwd','glob','getHubUrl','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','30iUlTnC','stringify','startsWith','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','spec_files','../../helpers/puppeteer-helper','test.setup.js','length','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','slice','40ppVcvc','TrYVZ','ZjXOF','YeLWG','specArgs','all','FRAMEWORKS','qkOhO','isUndefined','p-limit','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','eqrxn','globSync','format','stop',')\x20:\x20','IRQSj','sohzW','\x20platform(s),\x20parallelsPerPlatform=','BROWSERSTACK_RERUN_TESTS','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','KiEBT','260679fUwTPf','WQSsO','env','assign','181530hsXYLv','handleApp','binSessionId','lhSbA','../../helpers/test-observability/utils','FZKHw','Uqqkb','debug','winstonLogger','start','../../helpers/utilities','getPlatformName','qpXPC','testObservability','platform','qAhBR','prepareCapabilities','isCLIEnabled','maxWorkers','capability','exitCode','accessibilityOptions','from','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','child_process','BROWSERSTACK_CAPABILITIES','vkthn','inherit','__isPuppeteerInstalled','QOBiY','ORyvG','spec/support/jasmine.json','../../helpers/performance/constants','isBrowserstackInfra','join','filter','qnoZz','info','mgLkw','eAMWM','getPackageVersion','error','UOmYD','shouldReRunObservabilityTests','vSVpG','KNWOH','BxjTw','\x20work-item(s),\x20max\x20','sFJcI','BROWSERSTACK_JASMINE_PARALLELS','KeVBi','**/*[sS]pec.?(m)js','end','IRrMu','NUGZT','OqKOD','1318122knlYil','bTgnb','config','eFHYi','NAlnL','jasmine\x20child\x20(platformIndex=','IRHwv','\x20concurrent)','tgNLp',';\x20proceeding\x20without\x20injection','getInstance','utf8','XzJhX','poWEn','push','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','string',',\x20specs=','QdJWi','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','map','32083381ScGUGx','../v2/browserstackCLI','validPlatformsPresent','close','parallelsPerPlatform','GdVDH','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20:\x20','2dogjfa','platformIndex','../../helpers/test-observability/constants','resolve','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','888082LXXCiZ',')\x20exited\x20with\x20code\x20','JASMINE','152548OoWRAN','initialize','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JASMINE_CONFIG_PATH','spec_dir','SDK_CLEANUP','100BJRYkg','spec','isArray','YSmre','dlYUO','570290kjoLmq','existsSync','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../../helpers/logger'];a14_0x55dc=function(){return _0x52acf9;};return a14_0x55dc();}const a14_0x5f5cd9=a14_0x53fb;(function(_0x2afa93,_0x31874f){const _0x536f16=a14_0x53fb,_0x5081fa=_0x2afa93();while(!![]){try{const _0x3ac304=-parseInt(_0x536f16(0x8d))/0x1*(parseInt(_0x536f16(0x92))/0x2)+parseInt(_0x536f16(0xce))/0x3+-parseInt(_0x536f16(0x95))/0x4*(parseInt(_0x536f16(0x9b))/0x5)+-parseInt(_0x536f16(0xd2))/0x6+parseInt(_0x536f16(0xa0))/0x7*(-parseInt(_0x536f16(0xb7))/0x8)+-parseInt(_0x536f16(0x70))/0x9*(parseInt(_0x536f16(0xad))/0xa)+parseInt(_0x536f16(0x85))/0xb;if(_0x3ac304===_0x31874f)break;else _0x5081fa['push'](_0x5081fa['shift']());}catch(_0x269d43){_0x5081fa['push'](_0x5081fa['shift']());}}}(a14_0x55dc,0x74273));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a14_0x5f5cd9(0xea)),glob=require(a14_0x5f5cd9(0xaa)),pLimit=require(a14_0x5f5cd9(0xc0)),logger=require(a14_0x5f5cd9(0xa3))[a14_0x5f5cd9(0xda)],helper=require('../../helpers/helper'),utilities=require(a14_0x5f5cd9(0xdc)),constants=require('../utils/constants'),TestHubHandler=require(a14_0x5f5cd9(0xa4)),testOpsHelper=require(a14_0x5f5cd9(0xd6)),{debug}=require(a14_0x5f5cd9(0xd6)),{FRAMEWORKS}=require(a14_0x5f5cd9(0x8f)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x5f5cd9(0xf2))['EVENTS'],BrowserstackCLI=require(a14_0x5f5cd9(0x86)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5f5cd9(0xb2)),getMaxWorkers=(_0x487a3f,_0x39a155)=>{const _0x5bb09e=a14_0x5f5cd9,_0x1e523c={'qnoZz':function(_0x39868f,_0x5e37f7){return _0x39868f(_0x5e37f7);}};let _0x58c19d=0x1;if(!helper['isUndefined'](_0x39a155[_0x5bb09e(0x89)]))_0x58c19d=_0x1e523c[_0x5bb09e(0xf6)](parseInt,_0x39a155[_0x5bb09e(0x89)]);else!helper[_0x5bb09e(0xbf)](_0x487a3f[_0x5bb09e(0xe4)])&&(_0x58c19d=_0x487a3f['maxWorkers']);return _0x58c19d;},resolveJasmineConfigPath=()=>{const _0x3f58fe=a14_0x5f5cd9,_0x56f4dc={};_0x56f4dc[_0x3f58fe(0xd8)]=_0x3f58fe(0xf1);const _0x53bd2c=_0x56f4dc,_0x524ee8=[];process['env']['JASMINE_CONFIG_PATH']&&_0x524ee8[_0x3f58fe(0x7e)](path['resolve'](process[_0x3f58fe(0xa9)](),process[_0x3f58fe(0xd0)][_0x3f58fe(0x98)]));_0x524ee8[_0x3f58fe(0x7e)](path['resolve'](process[_0x3f58fe(0xa9)](),_0x53bd2c[_0x3f58fe(0xd8)]));for(const _0x4c83f8 of _0x524ee8){try{if(fs[_0x3f58fe(0xa1)](_0x4c83f8))return _0x4c83f8;}catch(_0x33b5eb){}}return null;},enumerateSpecFiles=_0x3592a6=>{const _0x5be5c3=a14_0x5f5cd9,_0x4088d2={'tgNLp':function(_0x4c2130,_0x5d84af){return _0x4c2130(_0x5d84af);},'YeLWG':function(_0x5e0e44,_0x1e9cc3){return _0x5e0e44>_0x1e9cc3;},'PocAc':function(_0x28f954,_0xd83125){return _0x28f954(_0xd83125);},'duBDU':function(_0x1709bd,_0x53f3c3){return _0x1709bd<_0x53f3c3;},'BxjTw':function(_0x2b982f,_0x3e8703){return _0x2b982f===_0x3e8703;},'QdJWi':_0x5be5c3(0x80),'WQSsO':function(_0x7bb63,_0x4e62a2,_0x80fd44){return _0x7bb63(_0x4e62a2,_0x80fd44);},'dfmxk':function(_0x204351){return _0x204351();},'TrYVZ':_0x5be5c3(0x7b),'bTgnb':_0x5be5c3(0x9c),'IRrMu':function(_0x3ce242,_0x2e44c7){return _0x3ce242>_0x2e44c7;},'OqKOD':_0x5be5c3(0x6b),'lhSbA':function(_0x5663bb,_0x5ed707){return _0x5663bb(_0x5ed707);}};try{if(testOpsHelper[_0x5be5c3(0xfd)]()){const _0x411141=testOpsHelper['parseFileNames'](process['env'][_0x5be5c3(0xca)]);if(Array[_0x5be5c3(0x9d)](_0x411141)&&_0x4088d2[_0x5be5c3(0xba)](_0x411141[_0x5be5c3(0xb4)],0x0))return _0x411141[_0x5be5c3(0x84)](_0x346323=>path[_0x5be5c3(0x90)](process[_0x5be5c3(0xa9)](),_0x346323['trim']()))[_0x5be5c3(0xf5)](Boolean);}}catch(_0x12b2f0){_0x4088d2['PocAc'](debug,_0x5be5c3(0xb0)+util[_0x5be5c3(0xc4)](_0x12b2f0));}const _0x2519c0=[];try{for(let _0x4c45ac=0x1;_0x4088d2['duBDU'](_0x4c45ac,_0x3592a6[_0x5be5c3(0xb4)]);_0x4c45ac++){const _0x1141cf=_0x3592a6[_0x4c45ac];_0x4088d2[_0x5be5c3(0x66)](typeof _0x1141cf,_0x4088d2[_0x5be5c3(0x82)])&&!_0x1141cf[_0x5be5c3(0xaf)]('-')&&_0x2519c0[_0x5be5c3(0x7e)](_0x1141cf);}}catch(_0x7384a2){}const _0x535de2={'cwd':process[_0x5be5c3(0xa9)](),'absolute':!![],'nodir':!![]},_0x14834b=(_0x4de582,_0x32c5c6)=>{const _0xf0f525=_0x5be5c3,_0x550232=[];for(const _0x165625 of _0x4de582){try{const _0x58284e=_0x32c5c6?path['posix']['join'](_0x32c5c6,_0x165625):_0x165625,_0x141fd9=glob[_0xf0f525(0xc3)](_0x58284e,_0x535de2);Array[_0xf0f525(0x9d)](_0x141fd9)&&_0x550232['push'](..._0x141fd9);}catch(_0x5a7005){_0x4088d2[_0xf0f525(0x78)](debug,_0xf0f525(0x7f)+_0x165625+'\x27\x20:\x20'+util['format'](_0x5a7005));}}return _0x550232;};if(_0x4088d2[_0x5be5c3(0xba)](_0x2519c0[_0x5be5c3(0xb4)],0x0)){const _0x279a7b=_0x4088d2[_0x5be5c3(0xcf)](_0x14834b,_0x2519c0,null);if(_0x4088d2[_0x5be5c3(0xba)](_0x279a7b[_0x5be5c3(0xb4)],0x0))return Array[_0x5be5c3(0xe8)](new Set(_0x279a7b));return _0x2519c0['map'](_0xbb31d1=>path[_0x5be5c3(0x90)](process[_0x5be5c3(0xa9)](),_0xbb31d1));}try{const _0x54742e=_0x4088d2['dfmxk'](resolveJasmineConfigPath);if(_0x54742e){const _0x2bad42=JSON['parse'](fs['readFileSync'](_0x54742e,_0x4088d2[_0x5be5c3(0xb8)])),_0x2fa9eb=_0x2bad42[_0x5be5c3(0x99)]||_0x4088d2[_0x5be5c3(0x71)],_0x57bc41=Array[_0x5be5c3(0x9d)](_0x2bad42[_0x5be5c3(0xb1)])&&_0x4088d2[_0x5be5c3(0x6d)](_0x2bad42[_0x5be5c3(0xb1)][_0x5be5c3(0xb4)],0x0)?_0x2bad42[_0x5be5c3(0xb1)]:[_0x4088d2[_0x5be5c3(0x6f)]],_0x58defa=_0x4088d2[_0x5be5c3(0xcf)](_0x14834b,_0x57bc41,_0x2fa9eb);if(_0x4088d2[_0x5be5c3(0x6d)](_0x58defa['length'],0x0))return Array[_0x5be5c3(0xe8)](new Set(_0x58defa));}}catch(_0x4706aa){_0x4088d2[_0x5be5c3(0xd5)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x5be5c3(0xc4)](_0x4706aa));}return null;};async function run(_0x4f41d5,_0x1243b7,_0x4538c4){const _0x4212b2=a14_0x5f5cd9,_0x18c8a4={'NUGZT':function(_0x46a3cf,_0x5e2399){return _0x46a3cf>_0x5e2399;},'fAenA':'all','XzJhX':function(_0x2ac63b,_0x2e8837){return _0x2ac63b(_0x2e8837);},'ZjXOF':function(_0x3eb828,_0x39e37d){return _0x3eb828||_0x39e37d;},'mgLkw':function(_0x37b1ba,_0x59d0cd){return _0x37b1ba(_0x59d0cd);},'KNWOH':function(_0x26597a,_0x121540){return _0x26597a(_0x121540);},'NAlnL':function(_0x334180,_0xa0608b){return _0x334180>_0xa0608b;},'SkgMC':function(_0x518c88,_0x509520,_0x78d9be,_0x5838e3){return _0x518c88(_0x509520,_0x78d9be,_0x5838e3);},'FZKHw':'npx','YSmre':'jasmine','vSVpG':function(_0x2992f0,_0x2a26cd){return _0x2992f0===_0x2a26cd;},'KeVBi':_0x4212b2(0xa6),'qkOhO':_0x4212b2(0xed),'QOBiY':_0x4212b2(0x88),'sohzW':_0x4212b2(0xfb),'fvJnk':'@playwright/test','IRHwv':function(_0xc2ccf4){return _0xc2ccf4();},'vkthn':function(_0xa7f44c,_0x36a725){return _0xa7f44c!=_0x36a725;},'UOmYD':'true','eFHYi':function(_0x1ca360,_0x575236){return _0x1ca360(_0x575236);},'qpXPC':function(_0x58b67a,_0x451c28,_0x5b60f5){return _0x58b67a(_0x451c28,_0x5b60f5);},'poWEn':function(_0x23bd7f,_0x10da88){return _0x23bd7f*_0x10da88;},'BFsmI':function(_0x53235c,_0x3c4c15){return _0x53235c(_0x3c4c15);},'eAMWM':function(_0x16c330,_0x58d89b){return _0x16c330(_0x58d89b);},'TqKek':_0x4212b2(0xb3),'IRQSj':function(_0x39c275,_0xca647c){return _0x39c275(_0xca647c);},'ORyvG':function(_0x2d0ca5,_0x49a6d0){return _0x2d0ca5(_0x49a6d0);},'eqrxn':function(_0x204d7c,_0x4a5d61){return _0x204d7c<_0x4a5d61;},'dlYUO':function(_0x305226,_0x214d3e){return _0x305226(_0x214d3e);}},_0x45c229=helper[_0x4212b2(0xfa)](_0x18c8a4['fvJnk']);global['__isPlaywrightInstalled']=!!_0x45c229;const _0x189ac8=_0x18c8a4[_0x4212b2(0x76)](getPuppeteerVersion);global[_0x4212b2(0xee)]=!!_0x189ac8;helper[_0x4212b2(0xf3)]()&&(await _0x4538c4[_0x4212b2(0x96)](_0x4f41d5),await helper[_0x4212b2(0xd3)](_0x4538c4[_0x4212b2(0x72)]));if(_0x45c229)await _0x18c8a4[_0x4212b2(0xa7)](checkPwandBootstrapCli,_0x45c229,constants[_0x4212b2(0xbd)][_0x4212b2(0x94)],_0x4538c4);else _0x189ac8&&await _0x18c8a4[_0x4212b2(0xa7)](checkPuppeteerAndBootstrapCli,_0x189ac8,constants[_0x4212b2(0xbd)]['JASMINE'],_0x4538c4);if(!_0x4538c4[_0x4212b2(0x72)])return;_0x18c8a4[_0x4212b2(0xec)](_0x4538c4[_0x4212b2(0x72)][_0x4212b2(0xdf)],null)?process[_0x4212b2(0xd0)][_0x4212b2(0x8b)]=_0x4538c4['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x18c8a4[_0x4212b2(0xfc)];!helper[_0x4212b2(0xbf)](_0x4538c4[_0x4212b2(0x72)][_0x4212b2(0xe7)])&&(process[_0x4212b2(0xd0)][_0x4212b2(0x97)]=JSON[_0x4212b2(0xae)](_0x4538c4['config'][_0x4212b2(0xe7)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4212b2(0x94)],_0x4538c4);}catch(_0x1a1d94){logger[_0x4212b2(0xfb)]('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x4212b2(0xc4)](_0x1a1d94)),_0x18c8a4[_0x4212b2(0x65)](debug,_0x4212b2(0xcb)+util['format'](_0x1a1d94));}let _0x2f30a9=![],_0x45ec36=[];try{_0x2f30a9=helper['useW3C'](_0x4538c4[_0x4212b2(0x72)]),_0x45ec36=helper[_0x4212b2(0xe2)](_0x4538c4['config'],_0x2f30a9,constants[_0x4212b2(0xbd)]['JASMINE']),process[_0x4212b2(0xd0)][_0x4212b2(0xeb)]=JSON[_0x4212b2(0xae)](_0x45ec36);}catch(_0x14981a){_0x18c8a4['eFHYi'](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x4212b2(0xc4)](_0x14981a));}let _0x31e2ad=null,_0x59e1d7=![];try{_0x31e2ad=helper[_0x4212b2(0xab)](_0x4538c4[_0x4212b2(0x72)]),_0x59e1d7=helper[_0x4212b2(0x87)](_0x4538c4['config']);}catch(_0x4db878){_0x18c8a4['XzJhX'](debug,_0x4212b2(0xcc)+util['format'](_0x4db878));}const _0xf2a5a3=_0x25cc82=>{const _0x1d5eda=_0x4212b2,_0x56fa7d=Array[_0x1d5eda(0x9d)](_0x45ec36)&&_0x18c8a4['NUGZT'](_0x45ec36['length'],_0x25cc82)?_0x45ec36[_0x25cc82]:Array[_0x1d5eda(0x9d)](_0x45ec36)&&_0x18c8a4[_0x1d5eda(0x6e)](_0x45ec36[_0x1d5eda(0xb4)],0x0)?_0x45ec36[0x0]:{};return{'server':_0x31e2ad,'capability':_0x56fa7d,'proxySettings':_0x4538c4['config']['proxySettings'],'platform':helper[_0x1d5eda(0xdd)](_0x56fa7d),'browserStackLogLevel':_0x4538c4['config']['logLevel'],'platformIndex':_0x25cc82,'framework':constants['FRAMEWORKS']['JASMINE'],'platformCaps':_0x59e1d7?Object[_0x1d5eda(0xd1)]({'index':_0x25cc82},_0x4538c4['config']['platforms'][_0x25cc82]):{'index':_0x25cc82}};};let _0x5cc527=0x1,_0x1ce3da=0x1,_0x5dbfc9=0x1;try{_0x5cc527=_0x18c8a4[_0x4212b2(0xde)](getMaxWorkers,_0x4f41d5,_0x4538c4[_0x4212b2(0x72)]),_0x1ce3da=_0x59e1d7?_0x4538c4[_0x4212b2(0x72)]['platforms'][_0x4212b2(0xb4)]:0x1,_0x5dbfc9=_0x18c8a4[_0x4212b2(0x7d)](_0x1ce3da,_0x5cc527),process[_0x4212b2(0xd0)][_0x4212b2(0x69)]=_0x18c8a4[_0x4212b2(0xa8)](String,_0x5dbfc9);}catch(_0x40d26c){_0x18c8a4[_0x4212b2(0xa8)](debug,_0x4212b2(0xe9)+util['format'](_0x40d26c));}try{BrowserstackCLI[_0x4212b2(0x7a)]()[_0x4212b2(0xd4)]&&(process[_0x4212b2(0xd0)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x4212b2(0x7a)]()[_0x4212b2(0xd4)]);}catch(_0x19d5d0){_0x18c8a4[_0x4212b2(0xf9)](debug,_0x4212b2(0xa2)+util[_0x4212b2(0xc4)](_0x19d5d0));}const _0x5bbe45=[];try{const _0x48dc76=path[_0x4212b2(0x90)](__dirname,_0x18c8a4['TqKek']);fs['existsSync'](_0x48dc76)?_0x5bbe45[_0x4212b2(0x7e)]('--helper='+_0x48dc76):_0x18c8a4[_0x4212b2(0xc7)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x48dc76+_0x4212b2(0x79));}catch(_0x22f03b){_0x18c8a4[_0x4212b2(0xa8)](debug,_0x4212b2(0x91)+util[_0x4212b2(0xc4)](_0x22f03b));}const _0x3c9dfb=_0x1243b7[_0x4212b2(0xb6)](0x1),_0x594831=_0x18c8a4[_0x4212b2(0xf0)](enumerateSpecFiles,_0x1243b7),_0x5b6604=[];for(let _0x3d251a=0x0;_0x18c8a4[_0x4212b2(0xc2)](_0x3d251a,_0x1ce3da);_0x3d251a++){if(_0x18c8a4['NUGZT'](_0x5cc527,0x1)&&Array['isArray'](_0x594831)&&_0x18c8a4[_0x4212b2(0x6e)](_0x594831[_0x4212b2(0xb4)],0x0))for(const _0x19a86e of _0x594831){const _0x5f2b49={};_0x5f2b49[_0x4212b2(0x8e)]=_0x3d251a,_0x5f2b49[_0x4212b2(0xbb)]=[_0x19a86e],_0x5b6604[_0x4212b2(0x7e)](_0x5f2b49);}else{const _0x54988a={};_0x54988a['platformIndex']=_0x3d251a,_0x54988a[_0x4212b2(0xbb)]=_0x594831,_0x5b6604['push'](_0x54988a);}}logger[_0x4212b2(0xf7)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x1ce3da+_0x4212b2(0xc9)+_0x5cc527+'\x20('+_0x5b6604[_0x4212b2(0xb4)]+_0x4212b2(0x67)+_0x5dbfc9+_0x4212b2(0x77)),PerformanceTester[_0x4212b2(0x6c)](PerformanceEvents['SDK_SETUP']);const _0x4394b5=_0x44d1f4=>new Promise(_0xd61185=>{const _0x4ac89f=_0x4212b2,_0x384e24={'qAhBR':_0x18c8a4['fAenA'],'GdVDH':function(_0x371f9a,_0x4f6c5a){const _0xc6cd71=a14_0x53fb;return _0x18c8a4[_0xc6cd71(0x7c)](_0x371f9a,_0x4f6c5a);},'aEbHw':function(_0x37f8b5,_0x2380dc){const _0x8f83f5=a14_0x53fb;return _0x18c8a4[_0x8f83f5(0xb9)](_0x37f8b5,_0x2380dc);},'sFJcI':function(_0x232cff,_0x1b8085){const _0x599ecb=a14_0x53fb;return _0x18c8a4[_0x599ecb(0xf8)](_0x232cff,_0x1b8085);},'KiEBT':function(_0xb266c8,_0x12c9bf){const _0x24ba68=a14_0x53fb;return _0x18c8a4[_0x24ba68(0x65)](_0xb266c8,_0x12c9bf);}};let _0x5b99b5;try{const _0x491111=_0x18c8a4['XzJhX'](_0xf2a5a3,_0x44d1f4[_0x4ac89f(0x8e)]);_0x5b99b5=Object[_0x4ac89f(0xd1)]({},process[_0x4ac89f(0xd0)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x4ac89f(0xae)](_0x491111),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ac89f(0xae)]([_0x491111[_0x4ac89f(0xe5)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x56994f){_0x18c8a4['KNWOH'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x44d1f4[_0x4ac89f(0x8e)]+_0x4ac89f(0x8c)+util[_0x4ac89f(0xc4)](_0x56994f)),_0x5b99b5=Object[_0x4ac89f(0xd1)]({},process[_0x4ac89f(0xd0)]);}const _0x49bad3=Array['isArray'](_0x44d1f4[_0x4ac89f(0xbb)])?_0x44d1f4[_0x4ac89f(0xbb)]:[],_0x25d256=_0x18c8a4[_0x4ac89f(0x74)](_0x49bad3[_0x4ac89f(0xb4)],0x0)?_0x3c9dfb[_0x4ac89f(0xf5)](_0x2733ec=>typeof _0x2733ec===_0x4ac89f(0x80)&&_0x2733ec['startsWith']('-')):_0x3c9dfb,_0x50861a=[..._0x5bbe45,..._0x25d256,..._0x49bad3];try{const _0x281b7e=_0x18c8a4[_0x4ac89f(0xa7)](spawn,_0x18c8a4[_0x4ac89f(0xd7)],[_0x18c8a4[_0x4ac89f(0x9e)],..._0x50861a],{'shell':_0x18c8a4[_0x4ac89f(0xfe)](process[_0x4ac89f(0xe0)],_0x18c8a4[_0x4ac89f(0x6a)]),'stdio':_0x18c8a4[_0x4ac89f(0xbe)],'env':_0x5b99b5});_0x281b7e['on'](_0x18c8a4[_0x4ac89f(0xef)],_0x59c456=>{const _0x27dcd9=_0x4ac89f;logger[_0x27dcd9(0xd9)](_0x27dcd9(0x75)+_0x44d1f4[_0x27dcd9(0x8e)]+_0x27dcd9(0x81)+(_0x49bad3[_0x27dcd9(0xb4)]?_0x49bad3[_0x27dcd9(0xf4)](','):_0x384e24[_0x27dcd9(0xe1)])+_0x27dcd9(0x93)+_0x59c456),_0x384e24[_0x27dcd9(0x8a)](_0xd61185,_0x384e24['aEbHw'](_0x59c456,0x0));}),_0x281b7e['on'](_0x18c8a4[_0x4ac89f(0xc8)],_0x2d5545=>{const _0x1c64e5=_0x4ac89f;_0x384e24[_0x1c64e5(0x68)](debug,_0x1c64e5(0xb5)+_0x44d1f4[_0x1c64e5(0x8e)]+_0x1c64e5(0xc6)+util[_0x1c64e5(0xc4)](_0x2d5545)),_0x384e24[_0x1c64e5(0xcd)](_0xd61185,0x1);});}catch(_0x4c629e){_0x18c8a4[_0x4ac89f(0x65)](debug,_0x4ac89f(0xc1)+_0x44d1f4[_0x4ac89f(0x8e)]+_0x4ac89f(0xc6)+util['format'](_0x4c629e)),_0x18c8a4[_0x4ac89f(0x7c)](_0xd61185,0x1);}}),_0x4fabe8=_0x18c8a4[_0x4212b2(0x73)](pLimit,_0x18c8a4['NAlnL'](_0x5dbfc9,0x0)?_0x5dbfc9:0x1),_0x56d779=await Promise[_0x4212b2(0xbc)](_0x5b6604[_0x4212b2(0x84)](_0xfd43d9=>_0x4fabe8(()=>_0x4394b5(_0xfd43d9))));PerformanceTester[_0x4212b2(0xdb)](PerformanceEvents[_0x4212b2(0x9a)]);const _0x34db31=_0x56d779['find'](_0x5a9ed7=>_0x5a9ed7!==0x0)||0x0;process[_0x4212b2(0xe6)]=_0x34db31,logger[_0x4212b2(0xd9)](_0x4212b2(0xac)+_0x34db31);const _0x2f5e0c=BrowserstackCLI[_0x4212b2(0xe3)]();try{await TestHubHandler[_0x4212b2(0xc5)](),await BrowserstackCLI[_0x4212b2(0x7a)]()['stop']();}catch(_0x1bb551){_0x18c8a4[_0x4212b2(0x9f)](debug,_0x4212b2(0x83)+util['format'](_0x1bb551));}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x4538c4,_0x2f5e0c);}module[a14_0x5f5cd9(0xa5)]=run;
|
|
2
|
+
'use strict';const a14_0x5507ab=a14_0x35af;(function(_0x2174ac,_0x2b44c8){const _0x44cdb2=a14_0x35af,_0x447d81=_0x2174ac();while(!![]){try{const _0x396fef=parseInt(_0x44cdb2(0x1fe))/0x1+parseInt(_0x44cdb2(0x1cd))/0x2*(parseInt(_0x44cdb2(0x189))/0x3)+parseInt(_0x44cdb2(0x1e2))/0x4*(parseInt(_0x44cdb2(0x1b6))/0x5)+-parseInt(_0x44cdb2(0x1de))/0x6+-parseInt(_0x44cdb2(0x1ea))/0x7+parseInt(_0x44cdb2(0x1ad))/0x8*(parseInt(_0x44cdb2(0x1f2))/0x9)+parseInt(_0x44cdb2(0x1a4))/0xa*(-parseInt(_0x44cdb2(0x1ec))/0xb);if(_0x396fef===_0x2b44c8)break;else _0x447d81['push'](_0x447d81['shift']());}catch(_0x47d97d){_0x447d81['push'](_0x447d81['shift']());}}}(a14_0xd360,0x272bd));const fs=require('fs'),path=require(a14_0x5507ab(0x1a8)),util=require(a14_0x5507ab(0x1b9)),{spawn}=require('child_process'),glob=require(a14_0x5507ab(0x1d1)),pLimit=require(a14_0x5507ab(0x1ed)),logger=require(a14_0x5507ab(0x213))[a14_0x5507ab(0x1d2)],helper=require(a14_0x5507ab(0x1f5)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a14_0x5507ab(0x219)),{debug}=require(a14_0x5507ab(0x219)),{FRAMEWORKS}=require(a14_0x5507ab(0x1d6)),PerformanceTester=require(a14_0x5507ab(0x192)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5507ab(0x178)],BrowserstackCLI=require(a14_0x5507ab(0x1e4)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5507ab(0x1c3)),getMaxWorkers=(_0x4c7915,_0x135e5e)=>{const _0x4665fd=a14_0x5507ab,_0x1bc224={'ARjly':function(_0x40dcaf,_0x10e184){return _0x40dcaf(_0x10e184);}};let _0x5284e6=0x1;if(!helper[_0x4665fd(0x182)](_0x135e5e['parallelsPerPlatform']))_0x5284e6=_0x1bc224[_0x4665fd(0x18d)](parseInt,_0x135e5e['parallelsPerPlatform']);else!helper['isUndefined'](_0x4c7915['maxWorkers'])&&(_0x5284e6=_0x4c7915[_0x4665fd(0x187)]);return _0x5284e6;},resolveJasmineConfigPath=()=>{const _0x473804=a14_0x5507ab,_0x303af4={};_0x303af4[_0x473804(0x20c)]=_0x473804(0x1df);const _0x55a41a=_0x303af4,_0x260219=[];process[_0x473804(0x20b)][_0x473804(0x1c7)]&&_0x260219[_0x473804(0x185)](path[_0x473804(0x1aa)](process[_0x473804(0x1ee)](),process[_0x473804(0x20b)][_0x473804(0x1c7)]));_0x260219[_0x473804(0x185)](path[_0x473804(0x1aa)](process[_0x473804(0x1ee)](),_0x55a41a[_0x473804(0x20c)]));for(const _0x3445c2 of _0x260219){try{if(fs['existsSync'](_0x3445c2))return _0x3445c2;}catch(_0x5f3714){}}return null;},enumerateSpecFiles=_0x2887b2=>{const _0x404b6b=a14_0x5507ab,_0x4258a9={'mWBrq':function(_0x55bcb9,_0x2e7265){return _0x55bcb9(_0x2e7265);},'HQoBp':function(_0x34b024,_0x312bb4){return _0x34b024>_0x312bb4;},'rWDqw':function(_0x18fbf5,_0x30d170){return _0x18fbf5(_0x30d170);},'siBol':function(_0x4cfb4a,_0x51bf0f){return _0x4cfb4a<_0x51bf0f;},'kSgkr':function(_0x28813d,_0x109101){return _0x28813d===_0x109101;},'rJqxM':_0x404b6b(0x209),'EfRJa':function(_0xb3fdce,_0x4cc792,_0x5cad93){return _0xb3fdce(_0x4cc792,_0x5cad93);},'WiRoJ':function(_0x1c5c6e){return _0x1c5c6e();},'hjhBf':'utf8','GsvAN':_0x404b6b(0x180),'qNuFq':_0x404b6b(0x1b2),'HsSej':function(_0x2ce697,_0x43972d,_0x5f3470){return _0x2ce697(_0x43972d,_0x5f3470);},'eMHwj':function(_0x9808e5,_0x2997fd){return _0x9808e5>_0x2997fd;}};try{if(testOpsHelper[_0x404b6b(0x20a)]()){const _0x7ce362=testOpsHelper[_0x404b6b(0x1b8)](process['env'][_0x404b6b(0x17a)]);if(Array[_0x404b6b(0x215)](_0x7ce362)&&_0x4258a9[_0x404b6b(0x208)](_0x7ce362[_0x404b6b(0x17c)],0x0))return _0x7ce362[_0x404b6b(0x1f1)](_0x5a3ee5=>path[_0x404b6b(0x1aa)](process['cwd'](),_0x5a3ee5[_0x404b6b(0x1a9)]()))['filter'](Boolean);}}catch(_0x56bf7c){_0x4258a9['rWDqw'](debug,_0x404b6b(0x1cb)+util[_0x404b6b(0x1ae)](_0x56bf7c));}const _0x45a259=[];try{for(let _0x557b23=0x1;_0x4258a9[_0x404b6b(0x1c9)](_0x557b23,_0x2887b2[_0x404b6b(0x17c)]);_0x557b23++){const _0x5700e1=_0x2887b2[_0x557b23];_0x4258a9['kSgkr'](typeof _0x5700e1,_0x4258a9[_0x404b6b(0x206)])&&!_0x5700e1[_0x404b6b(0x1bf)]('-')&&_0x45a259['push'](_0x5700e1);}}catch(_0x565b2c){}const _0x54c269={'cwd':process[_0x404b6b(0x1ee)](),'absolute':!![],'nodir':!![]},_0x452115=(_0x520305,_0x6bfd50)=>{const _0x32650a=_0x404b6b,_0x13fc15=[];for(const _0x50ab25 of _0x520305){try{const _0xa05e4f=_0x6bfd50?path['posix'][_0x32650a(0x1b3)](_0x6bfd50,_0x50ab25):_0x50ab25,_0x4d5a74=glob[_0x32650a(0x19e)](_0xa05e4f,_0x54c269);Array[_0x32650a(0x215)](_0x4d5a74)&&_0x13fc15[_0x32650a(0x185)](..._0x4d5a74);}catch(_0x339e02){_0x4258a9['mWBrq'](debug,_0x32650a(0x1b4)+_0x50ab25+_0x32650a(0x1cc)+util[_0x32650a(0x1ae)](_0x339e02));}}return _0x13fc15;};if(_0x4258a9[_0x404b6b(0x208)](_0x45a259[_0x404b6b(0x17c)],0x0)){const _0x3538db=_0x4258a9[_0x404b6b(0x193)](_0x452115,_0x45a259,null);if(_0x4258a9['HQoBp'](_0x3538db[_0x404b6b(0x17c)],0x0))return Array[_0x404b6b(0x1f9)](new Set(_0x3538db));return _0x45a259[_0x404b6b(0x1f1)](_0x56fcbb=>path[_0x404b6b(0x1aa)](process[_0x404b6b(0x1ee)](),_0x56fcbb));}try{const _0x5dd17d=_0x4258a9[_0x404b6b(0x19c)](resolveJasmineConfigPath);if(_0x5dd17d){const _0x3280c8=JSON[_0x404b6b(0x1e8)](fs[_0x404b6b(0x200)](_0x5dd17d,_0x4258a9['hjhBf'])),_0x1e5f3c=_0x3280c8[_0x404b6b(0x214)]||_0x4258a9[_0x404b6b(0x1c4)],_0x587cd2=Array[_0x404b6b(0x215)](_0x3280c8[_0x404b6b(0x1bb)])&&_0x4258a9[_0x404b6b(0x208)](_0x3280c8[_0x404b6b(0x1bb)][_0x404b6b(0x17c)],0x0)?_0x3280c8[_0x404b6b(0x1bb)]:[_0x4258a9['qNuFq']],_0x19a154=_0x4258a9[_0x404b6b(0x1b1)](_0x452115,_0x587cd2,_0x1e5f3c);if(_0x4258a9[_0x404b6b(0x1e0)](_0x19a154[_0x404b6b(0x17c)],0x0))return Array[_0x404b6b(0x1f9)](new Set(_0x19a154));}}catch(_0x1bce61){_0x4258a9['rWDqw'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x404b6b(0x1ae)](_0x1bce61));}return null;};function a14_0x35af(_0x3c0ffa,_0x58cb67){const _0xd3605c=a14_0xd360();return a14_0x35af=function(_0x35aff6,_0x58debb){_0x35aff6=_0x35aff6-0x176;let _0x301d93=_0xd3605c[_0x35aff6];return _0x301d93;},a14_0x35af(_0x3c0ffa,_0x58cb67);}async function run(_0x1a0c35,_0x491b03,_0xdd9f76){const _0x47f1da=a14_0x5507ab,_0x259dab={'pYpny':function(_0x1e9a7c,_0x51a601){return _0x1e9a7c>_0x51a601;},'DXqGs':'all','IbjmF':function(_0x356621,_0x2516d2){return _0x356621(_0x2516d2);},'qbuEu':function(_0x5b95ea,_0x2086fa){return _0x5b95ea||_0x2086fa;},'dYyWm':function(_0x329f64,_0x2e6645){return _0x329f64(_0x2e6645);},'iNqvS':function(_0x523ac4,_0xe1052a,_0x4aeb78,_0x378ad6){return _0x523ac4(_0xe1052a,_0x4aeb78,_0x378ad6);},'YbsKn':_0x47f1da(0x1fd),'rJvEq':_0x47f1da(0x1d0),'seagz':function(_0x3797a6,_0x1d65db){return _0x3797a6===_0x1d65db;},'CHnpm':_0x47f1da(0x19a),'krcQZ':_0x47f1da(0x1b0),'fSTAg':_0x47f1da(0x1dd),'SdbBl':_0x47f1da(0x19b),'zHCeD':function(_0x2078c7,_0x3f823f){return _0x2078c7(_0x3f823f);},'gyGrT':_0x47f1da(0x1e9),'sITyh':function(_0x473e10){return _0x473e10();},'UWqbP':function(_0xd031ad,_0x5878fe){return _0xd031ad!=_0x5878fe;},'UjrVx':'true','zuBOq':function(_0x20eb95,_0x213991){return _0x20eb95(_0x213991);},'qrcdo':function(_0xc9d11c,_0x5de8ef){return _0xc9d11c(_0x5de8ef);},'FnOMf':function(_0x3d2615,_0xc5442c){return _0x3d2615(_0xc5442c);},'kXwIQ':function(_0x11cdbe,_0x35dec8,_0x5ccb90){return _0x11cdbe(_0x35dec8,_0x5ccb90);},'ezfeQ':function(_0x40d351,_0x39cc45){return _0x40d351*_0x39cc45;},'iCPjt':function(_0x12139a,_0x399650){return _0x12139a(_0x399650);},'LaTJk':_0x47f1da(0x1ba),'RSgQa':function(_0xa1f84f,_0x29b028){return _0xa1f84f(_0x29b028);},'FgavV':function(_0x4063a3,_0x29e91c){return _0x4063a3(_0x29e91c);},'ExtnW':function(_0x13d24d,_0x38095d){return _0x13d24d(_0x38095d);},'HSoFs':function(_0x821be1,_0x2a07ee){return _0x821be1<_0x2a07ee;},'aBhRS':function(_0x52eefa,_0x23db76){return _0x52eefa>_0x23db76;},'tZQwC':function(_0x250a8f,_0x2205d7){return _0x250a8f>_0x2205d7;},'uVGFl':function(_0x596645,_0x5b34a0){return _0x596645(_0x5b34a0);}},_0x513773=helper[_0x47f1da(0x1b7)](_0x259dab[_0x47f1da(0x1e1)]);global[_0x47f1da(0x184)]=!!_0x513773;const _0x184e8f=_0x259dab['sITyh'](getPuppeteerVersion);global[_0x47f1da(0x1db)]=!!_0x184e8f;helper[_0x47f1da(0x179)]()&&(await _0xdd9f76[_0x47f1da(0x207)](_0x1a0c35),await helper['handleApp'](_0xdd9f76[_0x47f1da(0x1ca)]));if(_0x513773)await _0x259dab[_0x47f1da(0x1b5)](checkPwandBootstrapCli,_0x513773,constants['FRAMEWORKS'][_0x47f1da(0x1bd)],_0xdd9f76);else _0x184e8f&&await _0x259dab[_0x47f1da(0x1b5)](checkPuppeteerAndBootstrapCli,_0x184e8f,constants[_0x47f1da(0x1ab)]['JASMINE'],_0xdd9f76);if(!_0xdd9f76[_0x47f1da(0x1ca)])return;_0x259dab[_0x47f1da(0x188)](_0xdd9f76[_0x47f1da(0x1ca)][_0x47f1da(0x1eb)],null)?process[_0x47f1da(0x20b)][_0x47f1da(0x19f)]=_0xdd9f76[_0x47f1da(0x1ca)][_0x47f1da(0x1eb)]:process['env'][_0x47f1da(0x19f)]=_0x259dab[_0x47f1da(0x199)];!helper['isUndefined'](_0xdd9f76[_0x47f1da(0x1ca)][_0x47f1da(0x1c8)])&&(process[_0x47f1da(0x20b)][_0x47f1da(0x17e)]=JSON[_0x47f1da(0x20f)](_0xdd9f76[_0x47f1da(0x1ca)][_0x47f1da(0x1c8)]));try{await TestHubHandler[_0x47f1da(0x1af)](FRAMEWORKS['JASMINE'],_0xdd9f76);}catch(_0x13eddd){logger['error']('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x47f1da(0x1ae)](_0x13eddd)),_0x259dab['zuBOq'](debug,_0x47f1da(0x210)+util[_0x47f1da(0x1ae)](_0x13eddd));}let _0x2f8989=![],_0x379f5f=[];try{_0x2f8989=helper['useW3C'](_0xdd9f76['config']),_0x379f5f=helper[_0x47f1da(0x1a5)](_0xdd9f76[_0x47f1da(0x1ca)],_0x2f8989,constants[_0x47f1da(0x1ab)][_0x47f1da(0x1bd)]),process[_0x47f1da(0x20b)][_0x47f1da(0x17f)]=JSON[_0x47f1da(0x20f)](_0x379f5f);}catch(_0x3f9936){_0x259dab[_0x47f1da(0x17d)](debug,_0x47f1da(0x1a1)+util[_0x47f1da(0x1ae)](_0x3f9936));}let _0x5e15fb=null,_0x530ab0=![];try{_0x5e15fb=helper[_0x47f1da(0x216)](_0xdd9f76[_0x47f1da(0x1ca)]),_0x530ab0=helper['validPlatformsPresent'](_0xdd9f76[_0x47f1da(0x1ca)]);}catch(_0x4c0ed7){_0x259dab[_0x47f1da(0x190)](debug,_0x47f1da(0x1d8)+util[_0x47f1da(0x1ae)](_0x4c0ed7));}const _0x2b0e1f=_0x30d5df=>{const _0x4b8bdb=_0x47f1da,_0x5012b9=Array['isArray'](_0x379f5f)&&_0x259dab[_0x4b8bdb(0x196)](_0x379f5f[_0x4b8bdb(0x17c)],_0x30d5df)?_0x379f5f[_0x30d5df]:Array['isArray'](_0x379f5f)&&_0x259dab[_0x4b8bdb(0x196)](_0x379f5f['length'],0x0)?_0x379f5f[0x0]:{};return{'server':_0x5e15fb,'capability':_0x5012b9,'proxySettings':_0xdd9f76[_0x4b8bdb(0x1ca)][_0x4b8bdb(0x1a3)],'platform':helper[_0x4b8bdb(0x1e3)](_0x5012b9),'browserStackLogLevel':_0xdd9f76[_0x4b8bdb(0x1ca)][_0x4b8bdb(0x1fb)],'platformIndex':_0x30d5df,'framework':constants[_0x4b8bdb(0x1ab)]['JASMINE'],'platformCaps':_0x530ab0?Object[_0x4b8bdb(0x197)]({'index':_0x30d5df},_0xdd9f76[_0x4b8bdb(0x1ca)][_0x4b8bdb(0x1ef)][_0x30d5df]):{'index':_0x30d5df}};};let _0x28a9fe=0x1,_0x511864=0x1,_0x2deec5=0x1;try{_0x28a9fe=_0x259dab[_0x47f1da(0x212)](getMaxWorkers,_0x1a0c35,_0xdd9f76['config']),_0x511864=_0x530ab0?_0xdd9f76[_0x47f1da(0x1ca)][_0x47f1da(0x1ef)][_0x47f1da(0x17c)]:0x1,_0x2deec5=_0x259dab[_0x47f1da(0x211)](_0x511864,_0x28a9fe),process['env'][_0x47f1da(0x1fc)]=_0x259dab['dYyWm'](String,_0x2deec5);}catch(_0x16ede7){_0x259dab['dYyWm'](debug,_0x47f1da(0x194)+util[_0x47f1da(0x1ae)](_0x16ede7));}try{BrowserstackCLI[_0x47f1da(0x1be)]()['binSessionId']&&(process[_0x47f1da(0x20b)][_0x47f1da(0x1e6)]=BrowserstackCLI['getInstance']()[_0x47f1da(0x18a)]);}catch(_0x4482e1){_0x259dab[_0x47f1da(0x1e7)](debug,_0x47f1da(0x176)+util['format'](_0x4482e1));}const _0x3a56e7=[];try{const _0x37252d=path[_0x47f1da(0x1aa)](__dirname,_0x259dab['LaTJk']);fs[_0x47f1da(0x1ff)](_0x37252d)?_0x3a56e7[_0x47f1da(0x185)](_0x47f1da(0x20e)+_0x37252d):_0x259dab[_0x47f1da(0x1c5)](debug,_0x47f1da(0x1a0)+_0x37252d+';\x20proceeding\x20without\x20injection');}catch(_0x263847){_0x259dab[_0x47f1da(0x201)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x47f1da(0x1ae)](_0x263847));}const _0x79009b=_0x491b03[_0x47f1da(0x1dc)](0x1),_0x16dc15=_0x259dab[_0x47f1da(0x205)](enumerateSpecFiles,_0x491b03),_0x357d23=[];for(let _0x35b024=0x0;_0x259dab['HSoFs'](_0x35b024,_0x511864);_0x35b024++){if(_0x259dab[_0x47f1da(0x1e5)](_0x28a9fe,0x1)&&Array[_0x47f1da(0x215)](_0x16dc15)&&_0x259dab[_0x47f1da(0x218)](_0x16dc15[_0x47f1da(0x17c)],0x0))for(const _0x320843 of _0x16dc15){const _0x6265d7={};_0x6265d7[_0x47f1da(0x19d)]=_0x35b024,_0x6265d7[_0x47f1da(0x1d7)]=[_0x320843],_0x357d23[_0x47f1da(0x185)](_0x6265d7);}else{const _0x824012={};_0x824012[_0x47f1da(0x19d)]=_0x35b024,_0x824012[_0x47f1da(0x1d7)]=_0x16dc15,_0x357d23[_0x47f1da(0x185)](_0x824012);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x511864+_0x47f1da(0x1f7)+_0x28a9fe+'\x20('+_0x357d23[_0x47f1da(0x17c)]+_0x47f1da(0x198)+_0x2deec5+_0x47f1da(0x1a2)),PerformanceTester['end'](PerformanceEvents[_0x47f1da(0x1ce)]);const _0x27e918=_0x1a9724=>new Promise(_0x3c773c=>{const _0x2ad4b8=_0x47f1da,_0x5e1120={'XtCll':_0x259dab['DXqGs'],'btrtX':function(_0x1f80bf,_0x3bf50a){const _0x3687b0=a14_0x35af;return _0x259dab[_0x3687b0(0x1da)](_0x1f80bf,_0x3bf50a);},'NlMLm':function(_0x449d66,_0x1dd3fa){const _0xb6b060=a14_0x35af;return _0x259dab[_0xb6b060(0x1d5)](_0x449d66,_0x1dd3fa);},'uEAep':function(_0x31fc00,_0x512a60){const _0x1257f6=a14_0x35af;return _0x259dab[_0x1257f6(0x203)](_0x31fc00,_0x512a60);}};let _0x420f20;try{const _0x23f89b=_0x259dab['dYyWm'](_0x2b0e1f,_0x1a9724[_0x2ad4b8(0x19d)]);_0x420f20=Object['assign']({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x2ad4b8(0x20f)](_0x23f89b),'BROWSERSTACK_CAPABILITIES':JSON[_0x2ad4b8(0x20f)]([_0x23f89b[_0x2ad4b8(0x1ac)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x21fe29){_0x259dab[_0x2ad4b8(0x1da)](debug,_0x2ad4b8(0x186)+_0x1a9724[_0x2ad4b8(0x19d)]+_0x2ad4b8(0x20d)+util[_0x2ad4b8(0x1ae)](_0x21fe29)),_0x420f20=Object['assign']({},process[_0x2ad4b8(0x20b)]);}const _0x34fe24=Array['isArray'](_0x1a9724[_0x2ad4b8(0x1d7)])?_0x1a9724[_0x2ad4b8(0x1d7)]:[],_0x3e766a=_0x259dab[_0x2ad4b8(0x196)](_0x34fe24[_0x2ad4b8(0x17c)],0x0)?_0x79009b[_0x2ad4b8(0x1c2)](_0x59cbd6=>typeof _0x59cbd6===_0x2ad4b8(0x209)&&_0x59cbd6[_0x2ad4b8(0x1bf)]('-')):_0x79009b,_0x45264c=[..._0x3a56e7,..._0x3e766a,..._0x34fe24];try{const _0x5a955=_0x259dab['iNqvS'](spawn,_0x259dab[_0x2ad4b8(0x1d9)],[_0x259dab[_0x2ad4b8(0x1f4)],..._0x45264c],{'shell':_0x259dab[_0x2ad4b8(0x1c6)](process['platform'],_0x259dab[_0x2ad4b8(0x1a6)]),'stdio':_0x259dab[_0x2ad4b8(0x181)],'env':_0x420f20});_0x5a955['on'](_0x259dab[_0x2ad4b8(0x1f6)],_0x2aa276=>{const _0x1268f9=_0x2ad4b8;logger[_0x1268f9(0x204)](_0x1268f9(0x18f)+_0x1a9724[_0x1268f9(0x19d)]+_0x1268f9(0x217)+(_0x34fe24[_0x1268f9(0x17c)]?_0x34fe24[_0x1268f9(0x1b3)](','):_0x5e1120[_0x1268f9(0x1f0)])+_0x1268f9(0x1bc)+_0x2aa276),_0x5e1120[_0x1268f9(0x1d4)](_0x3c773c,_0x5e1120[_0x1268f9(0x18c)](_0x2aa276,0x0));}),_0x5a955['on'](_0x259dab[_0x2ad4b8(0x191)],_0x598bb3=>{const _0x1e1bd7=_0x2ad4b8;_0x5e1120[_0x1e1bd7(0x1d4)](debug,_0x1e1bd7(0x202)+_0x1a9724[_0x1e1bd7(0x19d)]+_0x1e1bd7(0x1c1)+util[_0x1e1bd7(0x1ae)](_0x598bb3)),_0x5e1120[_0x1e1bd7(0x177)](_0x3c773c,0x1);});}catch(_0x17f55){_0x259dab[_0x2ad4b8(0x195)](debug,_0x2ad4b8(0x1a7)+_0x1a9724[_0x2ad4b8(0x19d)]+_0x2ad4b8(0x1c1)+util['format'](_0x17f55)),_0x259dab['zHCeD'](_0x3c773c,0x1);}}),_0x58bca3=_0x259dab['uVGFl'](pLimit,_0x259dab[_0x47f1da(0x1e5)](_0x2deec5,0x0)?_0x2deec5:0x1),_0x22f55a=await Promise[_0x47f1da(0x1fa)](_0x357d23[_0x47f1da(0x1f1)](_0x479f60=>_0x58bca3(()=>_0x27e918(_0x479f60))));PerformanceTester[_0x47f1da(0x18b)](PerformanceEvents[_0x47f1da(0x1f8)]);const _0x5c299d=_0x22f55a[_0x47f1da(0x1d3)](_0x479f8=>_0x479f8!==0x0)||0x0;process[_0x47f1da(0x1cf)]=_0x5c299d,logger['debug'](_0x47f1da(0x18e)+_0x5c299d);const _0xe4f56b=BrowserstackCLI[_0x47f1da(0x183)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x47f1da(0x1be)]()[_0x47f1da(0x1c0)]();}catch(_0x388b9b){_0x259dab[_0x47f1da(0x1da)](debug,_0x47f1da(0x1f3)+util[_0x47f1da(0x1ae)](_0x388b9b));}testOpsHelper['printBuildLink'](),await utilities[_0x47f1da(0x17b)](_0xdd9f76,_0xe4f56b);}function a14_0xd360(){const _0x2e2994=['Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','uEAep','EVENTS','isBrowserstackInfra','BROWSERSTACK_RERUN_TESTS','finalExecution','length','qrcdo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_CAPABILITIES','spec','krcQZ','isUndefined','isCLIEnabled','__isPlaywrightInstalled','push','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','maxWorkers','UWqbP','6wyxpJg','binSessionId','start','NlMLm','ARjly','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','jasmine\x20child\x20(platformIndex=','FnOMf','SdbBl','../../helpers/performance/performance-tester','EfRJa','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','zHCeD','pYpny','assign','\x20work-item(s),\x20max\x20','UjrVx','win32','error','WiRoJ','platformIndex','globSync','BROWSERSTACK_TEST_OBSERVABILITY_YML','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','\x20concurrent)','proxySettings','73950jBNAJN','prepareCapabilities','CHnpm','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','path','trim','resolve','FRAMEWORKS','capability','144NgHlJy','format','launchBuild','inherit','HsSej','**/*[sS]pec.?(m)js','join','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','iNqvS','5LeqcKy','getPackageVersion','parseFileNames','util','test.setup.js','spec_files',')\x20exited\x20with\x20code\x20','JASMINE','getInstance','startsWith','stop',')\x20:\x20','filter','../../helpers/puppeteer-helper','GsvAN','RSgQa','seagz','JASMINE_CONFIG_PATH','accessibilityOptions','siBol','config','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','\x27\x20:\x20','184532WgxZug','SDK_SETUP','exitCode','jasmine','glob','winstonLogger','find','btrtX','qbuEu','../../helpers/test-observability/constants','specArgs','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','YbsKn','IbjmF','__isPuppeteerInstalled','slice','close','1223922fBLlvC','spec/support/jasmine.json','eMHwj','gyGrT','972124OTDsvb','getPlatformName','../v2/browserstackCLI','aBhRS','BROWSERSTACK_CLI_BIN_SESSION_ID','iCPjt','parse','@playwright/test','1322055BBpQgQ','testObservability','121icQYvV','p-limit','cwd','platforms','XtCll','map','43137DXbopc','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','rJvEq','../../helpers/helper','fSTAg','\x20platform(s),\x20parallelsPerPlatform=','SDK_CLEANUP','from','all','logLevel','BROWSERSTACK_JASMINE_PARALLELS','npx','120805vqirKo','existsSync','readFileSync','FgavV','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','dYyWm','debug','ExtnW','rJqxM','initialize','HQoBp','string','shouldReRunObservabilityTests','env','UpoNe','\x20:\x20','--helper=','stringify','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','ezfeQ','kXwIQ','../../helpers/logger','spec_dir','isArray','getHubUrl',',\x20specs=','tZQwC','../../helpers/test-observability/utils'];a14_0xd360=function(){return _0x2e2994;};return a14_0xd360();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a15_0x553053=a15_0xb55d;(function(_0x81c3c3,_0xc0888b){const _0x311d6a=a15_0xb55d,_0x1d3203=_0x81c3c3();while(!![]){try{const _0x28249b=-parseInt(_0x311d6a(0x198))/0x1+-parseInt(_0x311d6a(0x1f8))/0x2+-parseInt(_0x311d6a(0x1a7))/0x3+parseInt(_0x311d6a(0x18e))/0x4+parseInt(_0x311d6a(0x18f))/0x5*(-parseInt(_0x311d6a(0x199))/0x6)+parseInt(_0x311d6a(0x19c))/0x7*(parseInt(_0x311d6a(0x1b3))/0x8)+parseInt(_0x311d6a(0x1d5))/0x9*(parseInt(_0x311d6a(0x1d8))/0xa);if(_0x28249b===_0xc0888b)break;else _0x1d3203['push'](_0x1d3203['shift']());}catch(_0x24d7db){_0x1d3203['push'](_0x1d3203['shift']());}}}(a15_0x4c70,0x9a290));function a15_0xb55d(_0x217a6d,_0x22e446){const _0x4c7074=a15_0x4c70();return a15_0xb55d=function(_0xb55d62,_0x571a42){_0xb55d62=_0xb55d62-0x18d;let _0x288ca6=_0x4c7074[_0xb55d62];return _0x288ca6;},a15_0xb55d(_0x217a6d,_0x22e446);}const util=require('util'),logger=require(a15_0x553053(0x1f1))['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a15_0x553053(0x19a)),{shouldProcessEventForTesthub}=require(a15_0x553053(0x1b2)),testHubConstants=require(a15_0x553053(0x1e0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a15_0x553053(0x1ac)),testRunMap=require(a15_0x553053(0x20a));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x553053(0x1b5)][a15_0x553053(0x1e6)]||process[a15_0x553053(0x1b5)][a15_0x553053(0x1f2)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x553053(0x1f4)](rawConfig));}catch(a15_0x6922f6){logger['debug'](a15_0x553053(0x1e4)+util[a15_0x553053(0x1fc)](a15_0x6922f6));}try{if(_bstackConfig&&!helper[a15_0x553053(0x206)](a15_0x553053(0x1f9))){const VVEOmv='1|3|2|4|0'[a15_0x553053(0x1df)]('|');let EmJFwi=0x0;while(!![]){switch(VVEOmv[EmJFwi++]){case'0':helper[a15_0x553053(0x1ce)]()?(global[a15_0x553053(0x1a0)]=helper[a15_0x553053(0x1e3)](_bstackConfig[a15_0x553053(0x20b)]),global[a15_0x553053(0x1ad)]=helper[a15_0x553053(0x1e3)](_bstackConfig[a15_0x553053(0x1bb)])):(global[a15_0x553053(0x1a0)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':logger['debug']('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':global[a15_0x553053(0x203)]=_bstackConfig[a15_0x553053(0x1eb)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a15_0x553053(0x202))[a15_0x553053(0x1aa)](_bstackConfig,null,!![]):require(a15_0x553053(0x202))['browserstackAgentV2'](_bstackConfig);continue;case'4':global[a15_0x553053(0x1e1)]=_bstackConfig[a15_0x553053(0x1e5)];continue;}break;}}}catch(a15_0x386d6b){logger['debug'](a15_0x553053(0x1bd)+util['format'](a15_0x386d6b));}function a15_0x4c70(){const _0x1ffd5b=['./bstack-reporter/customReporter','path','warn','VIGQJ','dZymD','585732zJmckN','FRdAe','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','browserstackAgentV2','__sessionFailed','../../helpers/accessibility-automation/accessibilityRetryHelper','__skipSessionStatus','saveAccessibilityResultsWithRetry','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','setGlobal','markSessionStatus','../../helpers/testhub/utils','1153608ixZfpZ','htuch','env','stack','kbBqM','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','failed','node:','skipSessionStatus','qRJVe','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','Failed:\x20',',\x22level\x22:\x20\x22','BROWSERSTACK_TESTHUB_UUID','sessionNameSet__','stringify','uoHCg','kwOVR','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','thBuildUuid','thTestRunUuid','error','isArray','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','forEach','mustc','isBrowserstackInfra','get','sep','pop','function','qtsZd','debug','135819JMHDOG','EQYFT','autoScanning','10dYwgsg','getGlobal','VTxBo','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','browserstackSessionName','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','describe','split','../../helpers/testhub/constants','browserstackPlatformIndex','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isTrue','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','platformIndex','BROWSERSTACK_JASMINE_CONFIG','TdcQd','FYrza','Passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','platformCaps','SrmmZ','includes','bin','JrTpA','performScanWithRetry','../../helpers/logger','CONFIG','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','parse','executeScript','failedExpectations','__drivers','1017430AipqLe','@playwright/test','DIAfd','EqTfJ','format','bstackA11yScanOptions','GIIxD','keys','evYvm','eqTzp','../../index','__platformCaps','RXlBP','is_mobile_session','getPackageVersion','passed','length','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','./testRunMap','skipSessionName','TorFb','4133716OscsWM','20uXRLDC','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','ENV_VAR','info','join','undefined','bstackA11yShouldScan','prepareStackTrace','jDJOo','472885xuZTBC','590766FImlyE','../../helpers/globals','addReporter','56EhdNwm','YSyrJ','startsWith','getEnv','__skipSessionName','woLsR'];a15_0x4c70=function(){return _0x1ffd5b;};return a15_0x4c70();}const _fileNameByFullName={};try{if(typeof describe===a15_0x553053(0x1d2)&&typeof global!==a15_0x553053(0x194)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x52e904=a15_0x553053,_0x26d406={'qtsZd':function(_0x54fb40,_0x9d90a4){return _0x54fb40(_0x9d90a4);},'VIGQJ':_0x52e904(0x1a3),'EniRk':_0x52e904(0x1ba),'dZymD':'jasmine-core'},_0x509bdf=Error['prepareStackTrace'];try{const _0x59338d=new Error();Error[_0x52e904(0x196)]=(_0x12a535,_0x29dbf7)=>_0x29dbf7;const _0x507854=_0x59338d[_0x52e904(0x1b6)];Error[_0x52e904(0x196)]=_0x509bdf;if(Array[_0x52e904(0x1c9)](_0x507854))for(const _0x13e4ed of _0x507854){const _0x423c8a=_0x13e4ed['getFileName']&&_0x13e4ed['getFileName']();if(_0x423c8a&&!_0x423c8a[_0x52e904(0x1ed)](_0x52e904(0x1ee)+_0x26d406['qtsZd'](require,_0x26d406[_0x52e904(0x1a5)])['sep']+'jasmine'+_0x26d406[_0x52e904(0x1d3)](require,_0x26d406[_0x52e904(0x1a5)])[_0x52e904(0x1d0)])&&!_0x423c8a[_0x52e904(0x19e)](_0x26d406['EniRk'])&&!_0x423c8a[_0x52e904(0x1ed)](_0x26d406[_0x52e904(0x1a6)]))return _0x423c8a;}}catch(_0x2757c7){Error['prepareStackTrace']=_0x509bdf;}return null;},_wrappedDescribe=function(_0x2a8dce,_0x295fad){const _0x109bea=a15_0x553053,_0x1f9262={'TttfW':function(_0x516e94){return _0x516e94();},'FRdAe':function(_0x21bcea,_0x43864c){return _0x21bcea&&_0x43864c;},'DIAfd':function(_0x289016,_0x971934,_0x53b32e){return _0x289016(_0x971934,_0x53b32e);}};let _0x43f70d=null;try{_0x43f70d=_0x1f9262['TttfW'](_resolveCallerFile);}catch(_0xea286a){}_describeTitleStack['push'](_0x2a8dce);const _0x468777=_describeTitleStack[_0x109bea(0x193)]('\x20');_0x1f9262[_0x109bea(0x1a8)](_0x43f70d,_0x468777)&&(_fileNameByFullName[_0x468777]=_0x43f70d);try{return _0x1f9262[_0x109bea(0x1fa)](_origDescribe,_0x2a8dce,_0x295fad);}finally{_describeTitleStack[_0x109bea(0x1d1)]();}};Object[a15_0x553053(0x1ff)](_origDescribe)[a15_0x553053(0x1cc)](_0x1d5182=>{_wrappedDescribe[_0x1d5182]=_origDescribe[_0x1d5182];}),global[a15_0x553053(0x1de)]=_wrappedDescribe;}}catch(a15_0x55d70f){logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a15_0x553053(0x1fc)](a15_0x55d70f));}try{if(typeof jasmine!==a15_0x553053(0x194)&&jasmine[a15_0x553053(0x19f)]){const BrowserStackJasmineReporter=require(a15_0x553053(0x1a2)),a15_0x3d5cdb={};a15_0x3d5cdb['fileNameByFullName']=_fileNameByFullName,jasmine[a15_0x553053(0x19f)]()[a15_0x553053(0x19b)](new BrowserStackJasmineReporter(a15_0x3d5cdb)),logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a15_0x136501){logger[a15_0x553053(0x1d4)](a15_0x553053(0x1a9)+util[a15_0x553053(0x1fc)](a15_0x136501));}try{typeof jasmine!==a15_0x553053(0x194)&&jasmine[a15_0x553053(0x19f)]&&jasmine['getEnv']()[a15_0x553053(0x19b)]({'specStarted'(_0x22c8c2){const _0x2e9bbb=a15_0x553053,_0x58ee17={};_0x58ee17['SrmmZ']=function(_0x45c9c5,_0xf9a39){return _0x45c9c5||_0xf9a39;};const _0x2e2a57=_0x58ee17;_activeResultId=_0x22c8c2&&_0x22c8c2['id'],_activeFullName=_0x22c8c2&&_0x22c8c2['fullName'],_activeResultRef=_0x2e2a57[_0x2e9bbb(0x1ec)](_0x22c8c2,null);},'specDone'(){}});}catch(a15_0x219be7){logger[a15_0x553053(0x1d4)](a15_0x553053(0x1b8)+util[a15_0x553053(0x1fc)](a15_0x219be7));}const _resolveAutoScanning=()=>{const _0x23308e=a15_0x553053,_0x45af7b={};_0x45af7b[_0x23308e(0x1a1)]=function(_0x29cf88,_0x31bee9){return _0x29cf88===_0x31bee9;};const _0x1cfb45=_0x45af7b;let _0x2d00ff=!![];try{const _0x3797d2=JSON[_0x23308e(0x1f4)](process[_0x23308e(0x1b5)][_0x23308e(0x1ea)]||'{}');_0x1cfb45[_0x23308e(0x1a1)](_0x3797d2[_0x23308e(0x1d7)],![])&&(_0x2d00ff=![]);}catch(_0x1e8c5a){logger[_0x23308e(0x1d4)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x1e8c5a['message']);}return _0x2d00ff;};try{typeof beforeEach===a15_0x553053(0x1d2)&&beforeEach(function bstackA11yBeforeEach(){const _0x542e45=a15_0x553053,_0x585287={'jDJOo':function(_0xc83c0e){return _0xc83c0e();},'qrVkR':function(_0x146aa0,_0x9ca4fb,_0x3da70d){return _0x146aa0(_0x9ca4fb,_0x3da70d);},'ojZhb':function(_0xcc473a,_0x13c7f5){return _0xcc473a&&_0x13c7f5;},'mustc':_0x542e45(0x195),'EQYFT':_0x542e45(0x1fd)};try{const _0x501dc4=_0x585287[_0x542e45(0x197)](_resolveAutoScanning),_0x3447f3=_0x585287['qrVkR'](shouldScanTestForAccessibility,null,![]),_0x2a8501=_0x585287['ojZhb'](_0x501dc4,_0x3447f3);globals['setGlobal'](_0x585287[_0x542e45(0x1cd)],_0x2a8501),globals[_0x542e45(0x1b0)](_0x585287[_0x542e45(0x1d6)],null);}catch(_0x3c6575){logger[_0x542e45(0x1d4)](_0x542e45(0x1c5)+util[_0x542e45(0x1fc)](_0x3c6575));}}),typeof afterEach===a15_0x553053(0x1d2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x150f40=a15_0x553053,_0x2368c5={'GIIxD':function(_0x16c6d1,_0x340f29){return _0x16c6d1>_0x340f29;},'RXlBP':'Spec\x20failed','JrTpA':function(_0x1cba01,_0x396711){return _0x1cba01+_0x396711;},'qRJVe':_0x150f40(0x1be),'hHGsE':_0x150f40(0x1e9),'YSyrJ':'error','kwOVR':_0x150f40(0x192),'kbBqM':_0x150f40(0x1b9),'TdcQd':_0x150f40(0x207),'MmGSs':function(_0x5a738a){return _0x5a738a();},'TorFb':'isAccessibilityPlatform','YTJtf':'bstackA11yShouldScan','VTxBo':_0x150f40(0x1af),'eqTzp':_0x150f40(0x1f3),'FYrza':_0x150f40(0x1e2),'uoHCg':_0x150f40(0x1dd),'EqTfJ':'isMobilePlatform','evYvm':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','htuch':_0x150f40(0x1ca)};try{if(Array['isArray'](global[_0x150f40(0x1f7)])&&_0x2368c5[_0x150f40(0x1fe)](global[_0x150f40(0x1f7)]['length'],0x0)&&global[_0x150f40(0x1f7)][0x0]){const _0x5345fb=_activeFullName||global['sessionName'];if(!global[_0x150f40(0x1a0)]&&_0x5345fb){global['sessionName']=_0x5345fb;try{await global[_0x150f40(0x1f7)][0x0][_0x150f40(0x1f5)](_0x150f40(0x1db)+JSON[_0x150f40(0x1c2)](_0x5345fb)+'}}'),global['__drivers'][0x0][_0x150f40(0x1c1)]=!![];}catch(_0x5a2162){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util[_0x150f40(0x1fc)](_0x5a2162));}}if(!global[_0x150f40(0x1ad)])try{const _0x10c803=_activeResultRef&&Array['isArray'](_activeResultRef[_0x150f40(0x1f6)])?_activeResultRef[_0x150f40(0x1f6)]:[],_0x926790=_0x2368c5[_0x150f40(0x1fe)](_0x10c803[_0x150f40(0x208)],0x0),_0x281c78=_0x926790?_0x10c803[0x0]&&_0x10c803[0x0]['message']||_0x2368c5[_0x150f40(0x204)]:null;try{await global['__drivers'][0x0][_0x150f40(0x1f5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON[_0x150f40(0x1c2)](_0x926790?_0x2368c5[_0x150f40(0x1ef)](_0x2368c5[_0x150f40(0x1bc)],_0x281c78):_0x2368c5['hHGsE'])+_0x150f40(0x1bf)+(_0x926790?_0x2368c5[_0x150f40(0x19d)]:_0x2368c5[_0x150f40(0x1c4)])+'\x22}}');}catch(_0x202365){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util['format'](_0x202365));}_0x926790&&(global[_0x150f40(0x1ab)]=!![]),await helper[_0x150f40(0x1b1)](global['__drivers'][0x0],_0x926790?_0x2368c5[_0x150f40(0x1b7)]:_0x2368c5[_0x150f40(0x1e7)],_0x281c78);}catch(_0x745c94){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util['format'](_0x745c94));}}}catch(_0x5c0474){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x150f40(0x1fc)](_0x5c0474));}try{if(_0x2368c5['MmGSs'](isAccessibilityAutomationSession)&&globals[_0x150f40(0x1d9)](_0x2368c5[_0x150f40(0x18d)])&&Array[_0x150f40(0x1c9)](global[_0x150f40(0x1f7)])&&_0x2368c5[_0x150f40(0x1fe)](global['__drivers'][_0x150f40(0x208)],0x0)&&global['__drivers'][0x0]){const _0x19f0b9=testRunMap[_0x150f40(0x1cf)](_activeResultId),_0x61ca0f={};_0x61ca0f[_0x150f40(0x1c7)]=_0x19f0b9,_0x61ca0f[_0x150f40(0x1c6)]=process[_0x150f40(0x1b5)][testHubConstants[_0x150f40(0x191)][_0x150f40(0x1c0)]],_0x61ca0f['thJwtToken']=process[_0x150f40(0x1b5)][testHubConstants[_0x150f40(0x191)]['BROWSERSTACK_TESTHUB_JWT']];const _0xdeb5d0=_0x61ca0f;logger[_0x150f40(0x1d4)](_0x150f40(0x1cb)+JSON[_0x150f40(0x1c2)](_0xdeb5d0));if(globals[_0x150f40(0x1d9)](_0x2368c5['YTJtf'])){logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x1da)]);const _0x3e9a7d=await accessibilityRetryHelper[_0x150f40(0x1f0)](global[_0x150f40(0x1f7)][0x0],global[_0x150f40(0x1dc)]);_0x3e9a7d?logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x201)]):logger[_0x150f40(0x1a4)](_0x2368c5[_0x150f40(0x1e8)]);}else logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x1c3)]);globals[_0x150f40(0x1d9)](_0x2368c5[_0x150f40(0x1fb)])&&(_0xdeb5d0[_0x150f40(0x205)]=!![]);const _0x247449=await accessibilityRetryHelper[_0x150f40(0x1ae)](global['__drivers'][0x0],_0xdeb5d0);_0x247449?logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x200)]):logger[_0x150f40(0x1a4)](_0x2368c5[_0x150f40(0x1b4)]);}}catch(_0x390f04){logger[_0x150f40(0x1c8)](_0x150f40(0x209)+util[_0x150f40(0x1fc)](_0x390f04));}});}catch(a15_0x507fc1){logger[a15_0x553053(0x1d4)](a15_0x553053(0x190)+util[a15_0x553053(0x1fc)](a15_0x507fc1));}module['exports']={};
|
|
1
|
+
'use strict';function a15_0x1c2a(){const _0x2dff81=['bstackA11yShouldScan','isArray','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','prepareStackTrace','Passed','3460jaGdbu','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','error','skipSessionName','\x22}}','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','quydu','stack','1407vJcnJJ','saveAccessibilityResultsWithRetry','thBuildUuid','__platformCaps','stringify','yRIHr','browserstackAgentV2','fullName','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','2829605cNWeLU','../../helpers/testhub/constants','fileNameByFullName','node:','jasmine-core','autoScanning','__drivers','NMnjp','describe','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','evJZc','executeScript','env','oTmZH','../../index','xgfMk','failed','ENV_VAR','browserstackPlatformIndex','undefined','10827tEzjaF','ysnLa','wHtbB','exports','failedExpectations','../../helpers/helper','Spec\x20failed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','EIUgZ','tReFb','path','BROWSERSTACK_TESTHUB_UUID','eiGZZ','CONFIG','IQkeW','bin','./testRunMap','28562ihdvaj','isTrue','isMobilePlatform','rEnMb','bstackA11yScanOptions','sessionNameSet__','setGlobal','vswxm','JJZup','function','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','includes','uRTQy','platformCaps','34288eLGNzo','keys','hQrdn','108cALNZd','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','78qDvMgK','markSessionStatus','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','startsWith','__skipSessionName','getEnv','length','parse','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','split','is_mobile_session','join','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','warn','PaAzb','jxAQL','HnQQC','isBrowserstackInfra','message','debug','../../helpers/accessibility-automation/helper','isAccessibilityPlatform','@playwright/test','browserstackSessionName','12xlpWIu','aZfIs','PpBPS','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','util','2876Vsfjmf','HAMyT','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','format','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','jasmine','BROWSERSTACK_TESTHUB_JWT','2439492zAcDCh','UzXTw','sep','passed','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','DhYjB','pop','__sessionFailed','qElVC','BROWSERSTACK_JASMINE_CONFIG','platformIndex','JkaXA','thTestRunUuid','../../helpers/globals','mXRKq','info','../../helpers/accessibility-automation/accessibilityRetryHelper','TCAEs','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','performScanWithRetry','getPackageVersion','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','9855527mOKnNQ','sessionName','0|4|3|2|1','addReporter','getFileName','push','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','__skipSessionStatus'];a15_0x1c2a=function(){return _0x2dff81;};return a15_0x1c2a();}function a15_0x5c19(_0x1cc2e2,_0x34b239){const _0x1c2ae3=a15_0x1c2a();return a15_0x5c19=function(_0x5c1918,_0xc3a3c7){_0x5c1918=_0x5c1918-0x1dc;let _0x328569=_0x1c2ae3[_0x5c1918];return _0x328569;},a15_0x5c19(_0x1cc2e2,_0x34b239);}const a15_0x3e4ab4=a15_0x5c19;(function(_0x1eeee0,_0x256f1f){const _0x24e9fd=a15_0x5c19,_0x55b0ee=_0x1eeee0();while(!![]){try{const _0x59ab99=parseInt(_0x24e9fd(0x246))/0x1*(-parseInt(_0x24e9fd(0x257))/0x2)+parseInt(_0x24e9fd(0x259))/0x3*(parseInt(_0x24e9fd(0x1e4))/0x4)+parseInt(_0x24e9fd(0x221))/0x5+parseInt(_0x24e9fd(0x1eb))/0x6+-parseInt(_0x24e9fd(0x217))/0x7*(-parseInt(_0x24e9fd(0x254))/0x8)+-parseInt(_0x24e9fd(0x235))/0x9*(parseInt(_0x24e9fd(0x20e))/0xa)+parseInt(_0x24e9fd(0x201))/0xb*(parseInt(_0x24e9fd(0x1df))/0xc);if(_0x59ab99===_0x256f1f)break;else _0x55b0ee['push'](_0x55b0ee['shift']());}catch(_0x4482ea){_0x55b0ee['push'](_0x55b0ee['shift']());}}}(a15_0x1c2a,0xc0e26));const util=require(a15_0x3e4ab4(0x1e3)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0x3e4ab4(0x23a)),globals=require(a15_0x3e4ab4(0x1f8)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a15_0x3e4ab4(0x222)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0x3e4ab4(0x26d)),accessibilityRetryHelper=require(a15_0x3e4ab4(0x1fb)),testRunMap=require(a15_0x3e4ab4(0x245));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a15_0x3e4ab4(0x1f4)]||process[a15_0x3e4ab4(0x22d)][a15_0x3e4ab4(0x242)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x3e4ab4(0x260)](rawConfig));}catch(a15_0x19cbb7){logger[a15_0x3e4ab4(0x26c)](a15_0x3e4ab4(0x22a)+util['format'](a15_0x19cbb7));}try{if(_bstackConfig&&!helper[a15_0x3e4ab4(0x1ff)](a15_0x3e4ab4(0x1dd))){const wgVNfy=a15_0x3e4ab4(0x203)[a15_0x3e4ab4(0x262)]('|');let djzhwa=0x0;while(!![]){switch(wgVNfy[djzhwa++]){case'0':logger['debug'](a15_0x3e4ab4(0x1fd));continue;case'1':helper[a15_0x3e4ab4(0x26a)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig[a15_0x3e4ab4(0x212)]),global[a15_0x3e4ab4(0x208)]=helper[a15_0x3e4ab4(0x247)](_bstackConfig['skipSessionStatus'])):(global[a15_0x3e4ab4(0x25d)]=!![],global[a15_0x3e4ab4(0x208)]=!![]);continue;case'2':global[a15_0x3e4ab4(0x233)]=_bstackConfig[a15_0x3e4ab4(0x1f5)];continue;case'3':global[a15_0x3e4ab4(0x21a)]=_bstackConfig[a15_0x3e4ab4(0x253)]||{};continue;case'4':shouldProcessEventForTesthub()?require(a15_0x3e4ab4(0x22f))[a15_0x3e4ab4(0x21d)](_bstackConfig,null,!![]):require(a15_0x3e4ab4(0x22f))[a15_0x3e4ab4(0x21d)](_bstackConfig);continue;}break;}}}catch(a15_0x30ca2f){logger[a15_0x3e4ab4(0x26c)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util['format'](a15_0x30ca2f));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x4c2039=a15_0x3e4ab4,_0x5003c4={'rEnMb':function(_0xaf7198,_0x356080){return _0xaf7198(_0x356080);},'PaAzb':_0x4c2039(0x23f),'vswxm':function(_0x1fff57,_0x51f7e3){return _0x1fff57(_0x51f7e3);},'wqZZd':_0x4c2039(0x224),'pETCl':_0x4c2039(0x225)},_0x4f5aab=Error['prepareStackTrace'];try{const _0x4b4578=new Error();Error[_0x4c2039(0x20c)]=(_0x5f0956,_0x4f6a18)=>_0x4f6a18;const _0x461110=_0x4b4578[_0x4c2039(0x216)];Error['prepareStackTrace']=_0x4f5aab;if(Array[_0x4c2039(0x20a)](_0x461110))for(const _0x1b3059 of _0x461110){const _0x230fe5=_0x1b3059[_0x4c2039(0x205)]&&_0x1b3059[_0x4c2039(0x205)]();if(_0x230fe5&&!_0x230fe5['includes'](_0x4c2039(0x244)+_0x5003c4[_0x4c2039(0x249)](require,_0x5003c4[_0x4c2039(0x267)])[_0x4c2039(0x1ed)]+_0x4c2039(0x1e9)+_0x5003c4[_0x4c2039(0x24d)](require,_0x5003c4[_0x4c2039(0x267)])[_0x4c2039(0x1ed)])&&!_0x230fe5[_0x4c2039(0x25c)](_0x5003c4['wqZZd'])&&!_0x230fe5[_0x4c2039(0x251)](_0x5003c4['pETCl']))return _0x230fe5;}}catch(_0x52f393){Error['prepareStackTrace']=_0x4f5aab;}return null;},_wrappedDescribe=function(_0x343a19,_0x1446d5){const _0x40a932=a15_0x3e4ab4,_0x26b157={'NMnjp':function(_0x5f3468){return _0x5f3468();},'tReFb':function(_0x293d5f,_0xe7a96c){return _0x293d5f&&_0xe7a96c;},'wHtbB':function(_0xc51706,_0xf78d68,_0x18fe78){return _0xc51706(_0xf78d68,_0x18fe78);}};let _0x1c57c5=null;try{_0x1c57c5=_0x26b157[_0x40a932(0x228)](_resolveCallerFile);}catch(_0x162dc9){}_describeTitleStack[_0x40a932(0x206)](_0x343a19);const _0x299db8=_describeTitleStack[_0x40a932(0x264)]('\x20');_0x26b157[_0x40a932(0x23e)](_0x1c57c5,_0x299db8)&&(_fileNameByFullName[_0x299db8]=_0x1c57c5);try{return _0x26b157[_0x40a932(0x237)](_origDescribe,_0x343a19,_0x1446d5);}finally{_describeTitleStack[_0x40a932(0x1f1)]();}};Object[a15_0x3e4ab4(0x255)](_origDescribe)['forEach'](_0x43b78e=>{_wrappedDescribe[_0x43b78e]=_origDescribe[_0x43b78e];}),global[a15_0x3e4ab4(0x229)]=_wrappedDescribe;}}catch(a15_0xa86619){logger[a15_0x3e4ab4(0x26c)](a15_0x3e4ab4(0x1e8)+util[a15_0x3e4ab4(0x1e7)](a15_0xa86619));}try{if(typeof jasmine!==a15_0x3e4ab4(0x234)&&jasmine[a15_0x3e4ab4(0x25e)]){const BrowserStackJasmineReporter=require(a15_0x3e4ab4(0x20f)),a15_0x54dc59={};a15_0x54dc59[a15_0x3e4ab4(0x223)]=_fileNameByFullName,jasmine[a15_0x3e4ab4(0x25e)]()[a15_0x3e4ab4(0x204)](new BrowserStackJasmineReporter(a15_0x54dc59)),logger['debug']('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a15_0x3e4ab4(0x26c)](a15_0x3e4ab4(0x250));}catch(a15_0x257b9b){logger[a15_0x3e4ab4(0x26c)](a15_0x3e4ab4(0x265)+util[a15_0x3e4ab4(0x1e7)](a15_0x257b9b));}try{typeof jasmine!==a15_0x3e4ab4(0x234)&&jasmine['getEnv']&&jasmine[a15_0x3e4ab4(0x25e)]()[a15_0x3e4ab4(0x204)]({'specStarted'(_0x4c8e43){const _0x57560f=a15_0x3e4ab4,_0x466e82={};_0x466e82[_0x57560f(0x256)]=function(_0x2c8856,_0x5a1892){return _0x2c8856||_0x5a1892;};const _0x3be99f=_0x466e82;_activeResultId=_0x4c8e43&&_0x4c8e43['id'],_activeFullName=_0x4c8e43&&_0x4c8e43[_0x57560f(0x21e)],_activeResultRef=_0x3be99f['hQrdn'](_0x4c8e43,null);},'specDone'(){}});}catch(a15_0xc46365){logger[a15_0x3e4ab4(0x26c)](a15_0x3e4ab4(0x20b)+util[a15_0x3e4ab4(0x1e7)](a15_0xc46365));}const _resolveAutoScanning=()=>{const _0x4c8984=a15_0x3e4ab4,_0x974dce={};_0x974dce[_0x4c8984(0x269)]=function(_0x53acc6,_0x4cc1db){return _0x53acc6===_0x4cc1db;};const _0x4df935=_0x974dce;let _0x575dcb=!![];try{const _0x4b5405=JSON['parse'](process['env'][_0x4c8984(0x23c)]||'{}');_0x4df935[_0x4c8984(0x269)](_0x4b5405[_0x4c8984(0x226)],![])&&(_0x575dcb=![]);}catch(_0x3aaf30){logger[_0x4c8984(0x26c)](_0x4c8984(0x1ef)+_0x3aaf30['message']);}return _0x575dcb;};try{typeof beforeEach===a15_0x3e4ab4(0x24f)&&beforeEach(function bstackA11yBeforeEach(){const _0x153db9=a15_0x3e4ab4,_0x2ed3cc={'DhYjB':function(_0x12a835){return _0x12a835();},'EIUgZ':function(_0x412c41,_0x5de850,_0x1a949f){return _0x412c41(_0x5de850,_0x1a949f);},'PpBPS':function(_0xd3a894,_0x5ddf2e){return _0xd3a894&&_0x5ddf2e;},'aZfIs':_0x153db9(0x209),'eiGZZ':_0x153db9(0x24a)};try{const _0x10da01=_0x2ed3cc[_0x153db9(0x1f0)](_resolveAutoScanning),_0x5ef9af=_0x2ed3cc[_0x153db9(0x23d)](shouldScanTestForAccessibility,null,![]),_0x57c510=_0x2ed3cc[_0x153db9(0x1e1)](_0x10da01,_0x5ef9af);globals[_0x153db9(0x24c)](_0x2ed3cc[_0x153db9(0x1e0)],_0x57c510),globals['setGlobal'](_0x2ed3cc[_0x153db9(0x241)],null);}catch(_0xd5bf85){logger[_0x153db9(0x26c)](_0x153db9(0x261)+util[_0x153db9(0x1e7)](_0xd5bf85));}}),typeof afterEach===a15_0x3e4ab4(0x24f)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x23a071=a15_0x3e4ab4,_0x2fd2b1={'uRTQy':function(_0x219628,_0x2d9ddf){return _0x219628>_0x2d9ddf;},'HAMyT':function(_0x912a96,_0x6a81d9){return _0x912a96>_0x6a81d9;},'quydu':_0x23a071(0x23b),'ysnLa':function(_0x3522f3,_0x26ddf0){return _0x3522f3+_0x26ddf0;},'jxAQL':'Failed:\x20','JJZup':_0x23a071(0x20d),'yRIHr':_0x23a071(0x211),'xgfMk':_0x23a071(0x1fa),'UeHft':_0x23a071(0x231),'yyDoE':_0x23a071(0x1ee),'oTmZH':function(_0x1de507){return _0x1de507();},'qElVC':_0x23a071(0x1dc),'evJZc':_0x23a071(0x209),'TCAEs':_0x23a071(0x210),'mXRKq':_0x23a071(0x220),'JkaXA':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','JWglt':_0x23a071(0x1e2),'EeXwZ':_0x23a071(0x248),'UzXTw':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','IQkeW':_0x23a071(0x200)};try{if(Array['isArray'](global[_0x23a071(0x227)])&&_0x2fd2b1[_0x23a071(0x252)](global[_0x23a071(0x227)][_0x23a071(0x25f)],0x0)&&global[_0x23a071(0x227)][0x0]){const _0x506dd1=_activeFullName||global[_0x23a071(0x202)];if(!global[_0x23a071(0x25d)]&&_0x506dd1){global[_0x23a071(0x202)]=_0x506dd1;try{await global['__drivers'][0x0][_0x23a071(0x22c)](_0x23a071(0x214)+JSON['stringify'](_0x506dd1)+'}}'),global[_0x23a071(0x227)][0x0][_0x23a071(0x24b)]=!![];}catch(_0x1622fa){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x1622fa));}}if(!global[_0x23a071(0x208)])try{const _0x452dbb=_activeResultRef&&Array[_0x23a071(0x20a)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x23a071(0x239)]:[],_0x2d79bc=_0x2fd2b1[_0x23a071(0x1e5)](_0x452dbb[_0x23a071(0x25f)],0x0),_0xd57585=_0x2d79bc?_0x452dbb[0x0]&&_0x452dbb[0x0][_0x23a071(0x26b)]||_0x2fd2b1[_0x23a071(0x215)]:null;try{await global[_0x23a071(0x227)][0x0][_0x23a071(0x22c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x2d79bc?_0x2fd2b1[_0x23a071(0x236)](_0x2fd2b1[_0x23a071(0x268)],_0xd57585):_0x2fd2b1[_0x23a071(0x24e)])+',\x22level\x22:\x20\x22'+(_0x2d79bc?_0x2fd2b1[_0x23a071(0x21c)]:_0x2fd2b1[_0x23a071(0x230)])+_0x23a071(0x213));}catch(_0x16802e){logger[_0x23a071(0x26c)](_0x23a071(0x25b)+util[_0x23a071(0x1e7)](_0x16802e));}_0x2d79bc&&(global[_0x23a071(0x1f2)]=!![]),await helper[_0x23a071(0x25a)](global[_0x23a071(0x227)][0x0],_0x2d79bc?_0x2fd2b1['UeHft']:_0x2fd2b1['yyDoE'],_0xd57585);}catch(_0x270d21){logger[_0x23a071(0x26c)](_0x23a071(0x21f)+util[_0x23a071(0x1e7)](_0x270d21));}}}catch(_0x75d528){logger[_0x23a071(0x26c)](_0x23a071(0x258)+util['format'](_0x75d528));}try{if(_0x2fd2b1[_0x23a071(0x22e)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x2fd2b1[_0x23a071(0x1f3)])&&Array[_0x23a071(0x20a)](global['__drivers'])&&_0x2fd2b1['HAMyT'](global[_0x23a071(0x227)][_0x23a071(0x25f)],0x0)&&global['__drivers'][0x0]){const _0x1bd381=testRunMap['get'](_activeResultId),_0x32de46={};_0x32de46[_0x23a071(0x1f7)]=_0x1bd381,_0x32de46[_0x23a071(0x219)]=process[_0x23a071(0x22d)][testHubConstants[_0x23a071(0x232)][_0x23a071(0x240)]],_0x32de46['thJwtToken']=process[_0x23a071(0x22d)][testHubConstants[_0x23a071(0x232)][_0x23a071(0x1ea)]];const _0x2f328e=_0x32de46;logger[_0x23a071(0x26c)](_0x23a071(0x1e6)+JSON[_0x23a071(0x21b)](_0x2f328e));if(globals['getGlobal'](_0x2fd2b1[_0x23a071(0x22b)])){logger[_0x23a071(0x26c)](_0x2fd2b1[_0x23a071(0x1fc)]);const _0x4492d1=await accessibilityRetryHelper[_0x23a071(0x1fe)](global['__drivers'][0x0],global[_0x23a071(0x1de)]);_0x4492d1?logger[_0x23a071(0x26c)](_0x2fd2b1[_0x23a071(0x1f9)]):logger['warn'](_0x2fd2b1[_0x23a071(0x1f6)]);}else logger['debug'](_0x2fd2b1['JWglt']);globals['getGlobal'](_0x2fd2b1['EeXwZ'])&&(_0x2f328e[_0x23a071(0x263)]=!![]);const _0x34ce26=await accessibilityRetryHelper[_0x23a071(0x218)](global[_0x23a071(0x227)][0x0],_0x2f328e);_0x34ce26?logger['debug'](_0x2fd2b1[_0x23a071(0x1ec)]):logger[_0x23a071(0x266)](_0x2fd2b1[_0x23a071(0x243)]);}}catch(_0x171338){logger['error'](_0x23a071(0x207)+util['format'](_0x171338));}});}catch(a15_0x18f415){logger[a15_0x3e4ab4(0x26c)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util['format'](a15_0x18f415));}module[a15_0x3e4ab4(0x238)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a16_0x4335(){const _0x5c5734=['2306468FxuYva','2KmMrQO','3HrTReG','1832877PObkvf','gLWTV','DEfGd','set','YtCFn','get','10194173iuoKxV','40jEFLxS','5882408cYwkkg','remove','uxJxL','340526ogFTMO','6RajjET','1819105Kizfbo','7305940xlblyv'];a16_0x4335=function(){return _0x5c5734;};return a16_0x4335();}function a16_0x4b72(_0x4376cb,_0x21fed0){const _0x4335c2=a16_0x4335();return a16_0x4b72=function(_0x4b7241,_0x2d7575){_0x4b7241=_0x4b7241-0x1b8;let _0x21492c=_0x4335c2[_0x4b7241];return _0x21492c;},a16_0x4b72(_0x4376cb,_0x21fed0);}const a16_0x568b38=a16_0x4b72;(function(_0x4f964b,_0xa38302){const _0x35438a=a16_0x4b72,_0x11fa68=_0x4f964b();while(!![]){try{const _0x29bbda=parseInt(_0x35438a(0x1c2))/0x1*(-parseInt(_0x35438a(0x1c7))/0x2)+parseInt(_0x35438a(0x1c8))/0x3*(parseInt(_0x35438a(0x1c6))/0x4)+parseInt(_0x35438a(0x1c4))/0x5*(parseInt(_0x35438a(0x1c3))/0x6)+-parseInt(_0x35438a(0x1bf))/0x7+-parseInt(_0x35438a(0x1be))/0x8*(-parseInt(_0x35438a(0x1c9))/0x9)+parseInt(_0x35438a(0x1c5))/0xa+-parseInt(_0x35438a(0x1bd))/0xb;if(_0x29bbda===_0xa38302)break;else _0x11fa68['push'](_0x11fa68['shift']());}catch(_0x113807){_0x11fa68['push'](_0x11fa68['shift']());}}}(a16_0x4335,0x8e034));const _specUuidById=new Map();exports[a16_0x568b38(0x1ba)]=(_0x1d38e7,_0x150cd8)=>{const _0x225dec=a16_0x568b38,_0x5e03f8={};_0x5e03f8[_0x225dec(0x1b8)]=function(_0x408fd9,_0x5d55de){return _0x408fd9===_0x5d55de;},_0x5e03f8[_0x225dec(0x1b9)]=function(_0x5e448f,_0x373e15){return _0x5e448f===_0x373e15;};const _0x27ec9b=_0x5e03f8;if(_0x27ec9b['gLWTV'](_0x1d38e7,undefined)||_0x27ec9b[_0x225dec(0x1b9)](_0x1d38e7,null))return;_specUuidById[_0x225dec(0x1ba)](_0x1d38e7,_0x150cd8);},exports[a16_0x568b38(0x1bc)]=_0xf2ce4c=>{const _0x5e5a4d=a16_0x568b38,_0x3c4e92={};_0x3c4e92[_0x5e5a4d(0x1bb)]=function(_0x526394,_0x582b37){return _0x526394===_0x582b37;};const _0x227ef3=_0x3c4e92;if(_0x227ef3[_0x5e5a4d(0x1bb)](_0xf2ce4c,undefined)||_0x227ef3['YtCFn'](_0xf2ce4c,null))return undefined;return _specUuidById['get'](_0xf2ce4c);},exports[a16_0x568b38(0x1c0)]=_0x53f05b=>{const _0x54f4ae=a16_0x568b38,_0x31d084={};_0x31d084['uxJxL']=function(_0x5e8b35,_0xb1834d){return _0x5e8b35===_0xb1834d;};const _0x5efbfa=_0x31d084;if(_0x5efbfa[_0x54f4ae(0x1c1)](_0x53f05b,undefined)||_0x5efbfa[_0x54f4ae(0x1c1)](_0x53f05b,null))return;_specUuidById['delete'](_0x53f05b);},exports['_size']=()=>_specUuidById['size'];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a17_0x58451a=a17_0x5aba;(function(_0x4a3d02,_0x45e413){const _0x2260dd=a17_0x5aba,_0x55c333=_0x4a3d02();while(!![]){try{const _0x241132=-parseInt(_0x2260dd(0x177))/0x1*(-parseInt(_0x2260dd(0xfb))/0x2)+parseInt(_0x2260dd(0xee))/0x3*(parseInt(_0x2260dd(0xfa))/0x4)+-parseInt(_0x2260dd(0x11e))/0x5*(parseInt(_0x2260dd(0x180))/0x6)+-parseInt(_0x2260dd(0x19e))/0x7*(parseInt(_0x2260dd(0x136))/0x8)+parseInt(_0x2260dd(0x187))/0x9*(-parseInt(_0x2260dd(0xfc))/0xa)+-parseInt(_0x2260dd(0x105))/0xb+parseInt(_0x2260dd(0x117))/0xc*(parseInt(_0x2260dd(0xea))/0xd);if(_0x241132===_0x45e413)break;else _0x55c333['push'](_0x55c333['shift']());}catch(_0xacd86a){_0x55c333['push'](_0x55c333['shift']());}}}(a17_0x11df,0x29014));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a17_0x58451a(0x167)),logger=require('../../helpers/logger')[a17_0x58451a(0xcf)],{default:BrowserStackSetup}=require(a17_0x58451a(0x16e)),helper=require(a17_0x58451a(0xc9)),utilities=require(a17_0x58451a(0x100)),constants=require(a17_0x58451a(0x151)),accessibilityHelper=require(a17_0x58451a(0x19d)),{updateTestRerunConfig}=require(a17_0x58451a(0x120)),testOpsHelper=require(a17_0x58451a(0xdf)),{debug}=require(a17_0x58451a(0xdf)),TestDetails=require(a17_0x58451a(0xeb)),{getPercyOptions}=require(a17_0x58451a(0xc0)),TestHubHandler=require(a17_0x58451a(0xa5)),testhubUtils=require(a17_0x58451a(0x13f)),{FRAMEWORKS}=require(a17_0x58451a(0x11b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a17_0x58451a(0x102))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a17_0x58451a(0xac)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x58451a(0x149)),ClientTroubleShootingService=require(a17_0x58451a(0xc2)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x480d9f,_0x1c281e)=>{const _0x20df50=a17_0x58451a,_0x4cd71e={'IOFaC':_0x20df50(0x17e),'JHrvz':_0x20df50(0x110),'ZgTpE':function(_0x227520,_0x28fde1){return _0x227520||_0x28fde1;},'gvFdp':function(_0x26562c,_0x5d9a4d){return _0x26562c(_0x5d9a4d);},'bmdpO':_0x20df50(0x124),'BRjYM':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','QsBjQ':_0x20df50(0x103),'RMqGa':_0x20df50(0x199),'CLGlI':_0x20df50(0xba)};let _0x17995e;try{_0x17995e=helper[_0x20df50(0xce)](_0x4cd71e[_0x20df50(0x139)],_0x4cd71e['JHrvz']);}catch{const _0xdd22ef=helper['requireModule'](_0x4cd71e[_0x20df50(0x128)]);_0x17995e={'default':async _0x355a54=>{const _0x275403=await _0xdd22ef['readInitialOptions'](_0x355a54,{});return _0x275403['config'];}};}const _0x4916cd=_0x1c281e[_0x20df50(0x135)](_0x4a3c33=>_0x4a3c33==='--config');if(!helper['isUndefined'](_0x480d9f['config'])){logger[_0x20df50(0x12f)](_0x20df50(0x122)+_0x480d9f[_0x20df50(0x133)]),process['env'][_0x20df50(0x19f)]=_0x480d9f[_0x20df50(0x133)];const _0x3aa74f=await(0x0,_0x17995e['default'])(path[_0x20df50(0x114)](_0x480d9f['config']));return _0x1c281e[_0x20df50(0xd6)](_0x4916cd,0x2),_0x4cd71e['ZgTpE'](_0x3aa74f,{});}const _0x4fa489=_0x4cd71e[_0x20df50(0xc3)](require,path[_0x20df50(0x134)](process[_0x20df50(0xbf)](),_0x4cd71e[_0x20df50(0xc5)]));if(_0x4fa489[_0x20df50(0x188)])return logger[_0x20df50(0x12f)](_0x4cd71e[_0x20df50(0x132)]),_0x4fa489['jest'];const _0xebe44d=['js',_0x4cd71e[_0x20df50(0xb5)],_0x4cd71e[_0x20df50(0x123)],_0x4cd71e['CLGlI'],'ts'];for(const _0x497834 of _0xebe44d){const _0xdf4a15=path[_0x20df50(0x134)](process['cwd'](),_0x20df50(0x13e)+_0x497834);if(fs[_0x20df50(0x175)](_0xdf4a15)){process['env'][_0x20df50(0x19f)]=_0xdf4a15;const _0x368a91=await(0x0,_0x17995e[_0x20df50(0x161)])(_0xdf4a15);return _0x368a91;}}return{};},getSerial=(_0x2373c8,_0x1161fe)=>{const _0x29ef79=a17_0x58451a,_0x45efe0={};_0x45efe0[_0x29ef79(0x152)]='true',_0x45efe0['NjVIe']=function(_0xac5063,_0x790705){return _0xac5063>_0x790705;},_0x45efe0[_0x29ef79(0xd2)]=function(_0x4fb01e,_0x2e9d28){return _0x4fb01e>_0x2e9d28;},_0x45efe0[_0x29ef79(0xf6)]=_0x29ef79(0x104);const _0x455d91=_0x45efe0;let _0x2f34cb=_0x455d91[_0x29ef79(0x152)];return _0x455d91[_0x29ef79(0xa7)](_0x2373c8[_0x29ef79(0xde)],0x1)&&(!_0x1161fe[_0x29ef79(0x111)]&&(helper[_0x29ef79(0xe8)](_0x1161fe[_0x29ef79(0x171)])||_0x455d91[_0x29ef79(0xd2)](_0x1161fe[_0x29ef79(0x171)],0x1)))&&(_0x2f34cb=_0x455d91[_0x29ef79(0xf6)]),_0x2f34cb;},getMaxWorkers=(_0x1089cb,_0x4a1f47,_0xc8da51)=>{const _0x11e45c=a17_0x58451a,_0x291ab4={'LmFIO':function(_0x6fe1eb,_0x2a688b){return _0x6fe1eb(_0x2a688b);}};let _0x16bcf0=0x1;if(!helper[_0x11e45c(0xe8)](_0x4a1f47[_0x11e45c(0x12d)]))_0x16bcf0=_0x291ab4[_0x11e45c(0x16f)](parseInt,_0x4a1f47[_0x11e45c(0x12d)]);else{if(!helper[_0x11e45c(0xe8)](_0x1089cb[_0x11e45c(0x171)]))_0x16bcf0=_0x1089cb[_0x11e45c(0x171)];else!helper[_0x11e45c(0xe8)](_0xc8da51['maxWorkers'])&&(_0x16bcf0=_0xc8da51[_0x11e45c(0x171)]);}return _0x16bcf0;};function a17_0x5aba(_0xd08057,_0x425a52){const _0x11df9e=a17_0x11df();return a17_0x5aba=function(_0x5aba27,_0x288e5f){_0x5aba27=_0x5aba27-0xa2;let _0x3001b7=_0x11df9e[_0x5aba27];return _0x3001b7;},a17_0x5aba(_0xd08057,_0x425a52);}async function run(_0x85e2df,_0x2b763b,_0x2f6c28){const _0x515370=a17_0x58451a,_0x1ef147={'EfBAB':_0x515370(0x188),'jcJGW':function(_0x40cd43,_0x1cda32){return _0x40cd43(_0x1cda32);},'yIyhV':_0x515370(0x172),'ubgzA':function(_0x448816){return _0x448816();},'VIfJD':function(_0x3b9630,_0x2d5593,_0x4c3faa,_0x843f46){return _0x3b9630(_0x2d5593,_0x4c3faa,_0x843f46);},'tpQuD':function(_0x413ce7,_0x378d9b){return _0x413ce7!=_0x378d9b;},'bZYZK':_0x515370(0x173),'grINN':function(_0x36ad18,_0xe8b179,_0x4c888b){return _0x36ad18(_0xe8b179,_0x4c888b);},'sfZaq':_0x515370(0x154),'FrLEC':function(_0x93e8e3,_0x40b715){return _0x93e8e3(_0x40b715);},'zsmwR':function(_0x95b76a,_0x1479db){return _0x95b76a(_0x1479db);},'SXscI':_0x515370(0x104),'HQiDq':function(_0x103ed1,_0x346f25,_0x44d6f6,_0x53363c){return _0x103ed1(_0x346f25,_0x44d6f6,_0x53363c);},'mMEsm':function(_0x55d4a9,_0x10a849){return _0x55d4a9*_0x10a849;},'hLpXe':function(_0xc384,_0xf10dc0){return _0xc384===_0xf10dc0;},'ILQfG':_0x515370(0x10f),'zpIbc':_0x515370(0x195),'GVYBR':_0x515370(0xda),'Mmhxb':_0x515370(0xca),'iFHeJ':'customTestRunner.js','vQlpJ':_0x515370(0x194),'gTDMc':_0x515370(0xe6),'MGebQ':function(_0x1601bc,_0x1558ee){return _0x1601bc!==_0x1558ee;},'emhQB':_0x515370(0xf5),'XLwyi':_0x515370(0x183),'DzKNT':'jest.setup.js','bwbCk':_0x515370(0x15b),'JuaNl':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','yFeLy':_0x515370(0x1a0),'sBJUu':_0x515370(0xcc),'VsxBv':function(_0xdee328,_0x58d691){return _0xdee328(_0x58d691);},'BJBwj':'test-observability','BFMGr':_0x515370(0x16d),'HCBvB':_0x515370(0xd4),'PqHzy':_0x515370(0xd3),'sykPr':_0x515370(0xe0),'dpzRs':_0x515370(0x18c),'PwuGw':_0x515370(0x19b),'Pfwsa':'test.setup.js','eMxJn':_0x515370(0xe4),'GLdJc':function(_0x5c4848,_0x35a2e8){return _0x5c4848&&_0x35a2e8;},'XQyQF':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','TmTcD':_0x515370(0x16a),'ksCwZ':_0x515370(0xf7),'yyAtT':_0x515370(0x161),'ybdEs':function(_0x326efd,_0x580848,_0x5d9c72){return _0x326efd(_0x580848,_0x5d9c72);},'skblS':_0x515370(0xd8),'nSlad':_0x515370(0xfd),'JSNSh':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','lEcwV':function(_0x34efa6,_0x133e11){return _0x34efa6>_0x133e11;},'leGWm':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','OOUiJ':_0x515370(0x18f),'OVsfZ':function(_0x445eab,_0x1efb2d,_0x5a3c66,_0x3b64a1){return _0x445eab(_0x1efb2d,_0x5a3c66,_0x3b64a1);},'ASshg':_0x515370(0x1a1),'yFkso':function(_0x11aa63,_0x3ea2f9){return _0x11aa63===_0x3ea2f9;},'yJrDr':_0x515370(0xcd),'UTXlg':'inherit','EWOuf':_0x515370(0xab)},_0x373bf4=helper[_0x515370(0x10e)](_0x1ef147[_0x515370(0x109)]);global[_0x515370(0xd5)]=!!_0x373bf4;const _0x232c8e=_0x1ef147[_0x515370(0x143)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x232c8e;helper[_0x515370(0xb6)]()&&(await _0x2f6c28[_0x515370(0x147)](_0x85e2df),await helper[_0x515370(0x186)](_0x2f6c28[_0x515370(0x133)]));if(_0x373bf4)await _0x1ef147[_0x515370(0xbb)](checkPwandBootstrapCli,_0x373bf4,constants[_0x515370(0x185)][_0x515370(0xaa)],_0x2f6c28);else _0x232c8e&&await _0x1ef147[_0x515370(0xbb)](checkPuppeteerAndBootstrapCli,_0x232c8e,constants[_0x515370(0x185)][_0x515370(0xaa)],_0x2f6c28);!BrowserstackCLI['getInstance']()[_0x515370(0xe9)]()&&await _0x2f6c28[_0x515370(0x17a)]();if(!_0x2f6c28[_0x515370(0x133)])return;_0x1ef147[_0x515370(0x191)](_0x2f6c28[_0x515370(0x133)][_0x515370(0x137)],null)?process['env'][_0x515370(0xad)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0x137)]:process[_0x515370(0xaf)][_0x515370(0xad)]=_0x1ef147['bZYZK'];const _0x3f31c2=new TestOrchestrationHandler(_0x2f6c28[_0x515370(0x133)]),_0xd9380=await _0x1ef147[_0x515370(0x107)](getUserJestConfigs,_0x85e2df,_0x2b763b);logger[_0x515370(0x12f)](_0x1ef147[_0x515370(0x16b)]);const _0x1fdb60=Object['assign']({},_0xd9380);_0x1fdb60[_0x515370(0x15e)]=Object[_0x515370(0x156)]({},_0x1fdb60[_0x515370(0x15e)],{'server':helper[_0x515370(0xcb)](_0x2f6c28[_0x515370(0x133)]),'environment':_0xd9380['testEnvironment']}),_0x1fdb60[_0x515370(0x15e)][_0x515370(0x198)]=_0x1ef147[_0x515370(0x184)](getPercyOptions,_0x2f6c28[_0x515370(0x133)]);const _0x121a40=helper[_0x515370(0xb7)](_0x2f6c28['config']);!helper['isUndefined'](_0x2f6c28[_0x515370(0x133)][_0x515370(0xf2)])&&(process[_0x515370(0xaf)][_0x515370(0x14f)]=JSON[_0x515370(0x18e)](_0x2f6c28[_0x515370(0x133)][_0x515370(0xf2)]));if(!BrowserstackCLI[_0x515370(0xe2)]()['isRunning']()){const _0x1ae3fc=await TestHubHandler[_0x515370(0x197)](FRAMEWORKS['JEST'],_0x2f6c28);}const _0x44db7a=helper[_0x515370(0x159)](_0x2f6c28[_0x515370(0x133)],_0x121a40,constants['FRAMEWORKS'][_0x515370(0xaa)]);process['env'][_0x515370(0xef)]=JSON[_0x515370(0x18e)](_0x44db7a);let _0x76bc17=_0x2f6c28[_0x515370(0x133)]['accessibility'];_0x76bc17=_0x76bc17||accessibilityHelper[_0x515370(0x14b)](_0x2f6c28[_0x515370(0x133)]),process[_0x515370(0xaf)][_0x515370(0x142)]=_0x76bc17,logger[_0x515370(0x12a)](_0x515370(0x112)+_0x76bc17+_0x515370(0xc4)+BrowserstackCLI[_0x515370(0xe2)]()['isRunning']());if(_0x373bf4)try{const _0x243b7a=_0x1ef147[_0x515370(0xf1)](checkAccessibilityPlatformConfig,_0x2f6c28[_0x515370(0x133)]);process[_0x515370(0xaf)][_0x515370(0x15c)]=_0x243b7a?_0x1ef147['bZYZK']:_0x1ef147[_0x515370(0x18b)],logger['debug'](_0x515370(0xb0)+_0x243b7a+_0x515370(0x14e)+process[_0x515370(0xaf)][_0x515370(0x15c)]);}catch(_0x33f05e){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x515370(0xa8)](_0x33f05e));}_0x1fdb60[_0x515370(0x15e)]['capabilities']=_0x44db7a,_0x1fdb60['testEnvironmentOptions']['serial__']=_0x1ef147[_0x515370(0x107)](getSerial,_0x44db7a,_0x85e2df),_0x1fdb60[_0x515370(0x15e)][_0x515370(0x11f)]=_0x1ef147[_0x515370(0xfe)](getMaxWorkers,_0x85e2df,_0x2f6c28[_0x515370(0x133)],_0xd9380),_0x1fdb60[_0x515370(0x15e)][_0x515370(0xa3)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0xa3)],_0x1fdb60[_0x515370(0x15e)][_0x515370(0x11a)]=_0x1ef147[_0x515370(0xa6)](_0x85e2df['testTimeout'],0x1)||0x1388,_0x1fdb60[_0x515370(0x15e)][_0x515370(0xf0)]=_0x2f6c28[_0x515370(0x133)]['testContextOptions'][_0x515370(0xf0)],_0x1fdb60[_0x515370(0x15e)]['skipSessionStatus']=_0x2f6c28['config']['testContextOptions']['skipSessionStatus'],_0x1fdb60[_0x515370(0x15e)][_0x515370(0xf4)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0x160)],_0x1fdb60[_0x515370(0x15e)][_0x515370(0x17c)]=_0x2f6c28['config'][_0x515370(0x17c)],_0x1fdb60[_0x515370(0x15e)]['platformCaps']=_0x2f6c28['config'][_0x515370(0xb2)];const _0x28e570=helper['parseTestOrchestrationOptions'](_0x2f6c28[_0x515370(0x133)]);if(!helper[_0x515370(0xc8)](_0x28e570)){helper[_0x515370(0x10c)](_0x28e570[_0x515370(0x190)])&&(_0x1fdb60[_0x515370(0x15e)][_0x515370(0x115)]=_0x28e570[_0x515370(0x190)][_0x515370(0xbd)]);if(helper['isNotUndefined'](_0x28e570['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x28e570[_0x515370(0xff)]['workingDir'])){const _0x31d1db={};_0x31d1db[_0x515370(0x168)]=_0x28e570[_0x515370(0xff)][_0x515370(0x16c)],_0x31d1db['workingDir']=_0x28e570[_0x515370(0xff)]['workingDir'],_0x1fdb60[_0x515370(0x15e)][_0x515370(0xe7)]=_0x31d1db;}}let _0x11cfd0='';_0x1ef147[_0x515370(0xc7)](helper[_0x515370(0x1a2)](),constants[_0x515370(0x162)][_0x515370(0x129)])?_0x11cfd0=_0x1ef147[_0x515370(0x118)]:_0x11cfd0=_0x1ef147[_0x515370(0x13a)];const _0x4c4aa1=_0x11cfd0,_0x58bb85=path['join'](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147[_0x515370(0x10a)]),_0x1e011f=path[_0x515370(0x134)](__dirname,_0x1ef147['GVYBR'],_0x1ef147['iFHeJ']),_0x5b2420=path['join'](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147[_0x515370(0x138)]);_0x1fdb60['testEnvironment']&&(process[_0x515370(0xaf)][_0x515370(0x126)]=_0x1fdb60[_0x515370(0x141)]);_0x1fdb60[_0x515370(0x141)]=path[_0x515370(0x134)](__dirname,_0x1ef147['GVYBR'],_0x1ef147[_0x515370(0xe5)]);const _0x57e9f6=_0xd9380['runner'];if(_0x57e9f6&&_0x1ef147[_0x515370(0x146)](_0x57e9f6,_0x1ef147[_0x515370(0x144)])){const _0x45b32c=_0x57e9f6[_0x515370(0xc6)](_0x1ef147[_0x515370(0x15f)])?_0x57e9f6:_0x515370(0x183)+_0x57e9f6;process[_0x515370(0xaf)][_0x515370(0xdd)]=_0x45b32c,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x45b32c);}_0x1fdb60[_0x515370(0x196)]=_0x1e011f,_0x1fdb60['setupFilesAfterEnv']=_0x1fdb60[_0x515370(0x166)]||[],_0x1fdb60['setupFilesAfterEnv'][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147['DzKNT']));_0x3f31c2[_0x515370(0xf3)]()&&(_0x1fdb60['testSequencer']=path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147['bwbCk']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x515370(0xe2)]()[_0x515370(0xe3)]()){let _0x2cd4ff=null;try{_0x2cd4ff=helper['requireModule'](_0x1ef147['JuaNl'],_0x1ef147['yFeLy']);}catch(_0x494287){try{_0x2cd4ff=helper[_0x515370(0xce)](_0x1ef147[_0x515370(0x131)],_0x1ef147[_0x515370(0xb1)]);}catch(_0x58671b){_0x1ef147[_0x515370(0xd9)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x58671b);}}_0x2cd4ff&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x1fdb60[_0x515370(0x166)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x19a)],_0x1ef147[_0x515370(0xdb)])),_0x1fdb60[_0x515370(0x164)]=path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147['HCBvB']));}_0x1fdb60[_0x515370(0x19c)]=_0x1fdb60['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x1fdb60[_0x515370(0x19c)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x13b)]));}catch{logger[_0x515370(0x12a)](_0x1ef147['sykPr']);}try{helper[_0x515370(0x182)][_0x515370(0x12b)](null,[_0x1ef147[_0x515370(0x109)],_0x1ef147[_0x515370(0x12c)]]),logger['debug'](_0x1ef147[_0x515370(0x119)]),_0x1fdb60[_0x515370(0x19c)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x18a)]));}catch(_0x188406){logger[_0x515370(0x12a)](_0x1ef147[_0x515370(0x10b)],_0x188406);}if(_0x1ef147[_0x515370(0x192)](!_0x373bf4,_0x232c8e)){try{logger[_0x515370(0x12a)](_0x1ef147[_0x515370(0xd1)]),_0x1fdb60[_0x515370(0x166)][_0x515370(0x157)](path['join'](__dirname,'..',_0x1ef147[_0x515370(0x148)],_0x1ef147[_0x515370(0x18a)]));}catch(_0x18515c){logger[_0x515370(0x12a)](_0x515370(0x127)+_0x18515c[_0x515370(0xa2)]);}try{const _0x373c3c=require[_0x515370(0x114)](_0x1ef147[_0x515370(0x113)]),_0x33ad19=path[_0x515370(0x14a)](_0x373c3c)[_0x515370(0xdc)](/\\/g,'/'),_0x191890={};_0x191890['^puppeteer-core/internal/(.*)']=_0x33ad19+_0x515370(0x18d),_0x1fdb60[_0x515370(0xb9)]=Object[_0x515370(0x156)]({},_0x1fdb60[_0x515370(0xb9)]||{},_0x191890),logger[_0x515370(0x12a)](_0x515370(0x11c)+_0x33ad19);}catch(_0xdd738f){logger[_0x515370(0x12a)](_0x515370(0x14d)+_0xdd738f[_0x515370(0xa2)]);}}_0x1fdb60[_0x515370(0xec)]=_0x1fdb60['reporters']||[_0x1ef147[_0x515370(0x13c)]],_0x1ef147['ybdEs'](updateTestRerunConfig,_0x1fdb60,_0x2f6c28);const _0x3a605b=fs[_0x515370(0xa4)](_0x5b2420),_0x3a3f23=helper[_0x515370(0xe1)](_0x1ef147[_0x515370(0xd0)],_0x1ef147['nSlad']);!_0x3a3f23[_0x515370(0xae)]?fs[_0x515370(0xf8)](_0x1fdb60[_0x515370(0x196)],_0x515370(0x163)+_0x3a605b+'\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'+_0x2f6c28[_0x515370(0x133)][_0x515370(0xb2)][_0x515370(0xde)]+';\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'):fs[_0x515370(0xf8)](_0x1fdb60[_0x515370(0x196)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x3a605b+_0x515370(0x125)+_0x2f6c28[_0x515370(0x133)][_0x515370(0xb2)][_0x515370(0xde)]+_0x515370(0x181));logger[_0x515370(0x12f)](_0x515370(0x158)+_0x4c4aa1+_0x515370(0x140)),fs[_0x515370(0xf8)](_0x4c4aa1,'const\x20config='+JSON[_0x515370(0x18e)](_0x1fdb60)+_0x515370(0xb4));if(_0x3f31c2[_0x515370(0xf3)]()){logger['debug'](_0x1ef147[_0x515370(0x12e)]);const _0x3c1030=await _0x3f31c2[_0x515370(0xc1)](_0x1fdb60,_0x2b763b['slice'](0x1),_0x4c4aa1);logger['debug'](_0x515370(0xed)+JSON[_0x515370(0x18e)](_0x3c1030)+_0x515370(0x101));const _0x14f624=await _0x3f31c2[_0x515370(0x17f)](_0x3c1030);logger[_0x515370(0x12a)](_0x515370(0x153)+JSON[_0x515370(0x18e)](_0x14f624)),_0x14f624&&_0x1ef147[_0x515370(0x155)](_0x14f624[_0x515370(0xde)],0x0)&&(process[_0x515370(0xaf)]['JEST_TEST_ORDER']=_0x14f624?.['join'](','));}logger['info'](_0x1ef147[_0x515370(0xa9)]);testhubUtils[_0x515370(0x121)]()&&TestDetails[_0x515370(0x150)]();helper[_0x515370(0x108)]({},_0x2b763b),PerformanceTester[_0x515370(0x193)](PerformanceEvents['SDK_SETUP']);const _0x44700e=[_0x1ef147[_0x515370(0x11d)],_0x1ef147[_0x515370(0x169)],_0x4c4aa1,..._0x2b763b[_0x515370(0xbe)](0x1)];process[_0x515370(0xaf)][_0x515370(0x178)]=process[_0x515370(0xaf)][_0x515370(0x178)]||_0x1ef147[_0x515370(0x11d)];const _0x2ba31d=_0x1ef147[_0x515370(0x165)](spawn,_0x1ef147[_0x515370(0x14c)],_0x44700e,{'shell':_0x1ef147[_0x515370(0xd7)](process[_0x515370(0xbc)],_0x1ef147[_0x515370(0xb8)]),'stdio':_0x1ef147[_0x515370(0x106)],'env':Object['assign']({},process[_0x515370(0xaf)])});_0x2ba31d['on'](_0x1ef147['EWOuf'],async _0x449f26=>{const _0x49c46c=_0x515370;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),process[_0x49c46c(0x13d)]=_0x449f26,logger[_0x49c46c(0x12a)](_0x49c46c(0x170)+_0x449f26),logger['info'](_0x49c46c(0xf9)+_0x4c4aa1);if(helper['isNotUndefined'](_0x28e570)&&helper['isNotUndefined'](_0x28e570[_0x49c46c(0xff)])&&fs[_0x49c46c(0x175)](_0x28e570[_0x49c46c(0xff)][_0x49c46c(0x145)]))try{const _0x5c04eb={};_0x5c04eb['recursive']=!![],_0x5c04eb[_0x49c46c(0xb3)]=!![],fs['rmSync'](_0x28e570['abortBuildOnFailure'][_0x49c46c(0x145)],_0x5c04eb),logger[_0x49c46c(0x12a)](_0x49c46c(0x174)+_0x28e570[_0x49c46c(0xff)][_0x49c46c(0x145)]);}catch(_0x1ab57c){logger[_0x49c46c(0xae)](_0x49c46c(0x10d)+_0x1ab57c);}let _0x525ee9=null;if(fs[_0x49c46c(0x175)](_0x58bb85)){_0x525ee9=fs[_0x49c46c(0xa4)](_0x58bb85);try{_0x525ee9=JSON[_0x49c46c(0x176)](_0x525ee9);}catch(_0x5772a8){logger['debug'](_0x49c46c(0x189)+_0x58bb85+',\x20'+_0x525ee9+'\x20:\x20'+_0x5772a8);}fs['unlinkSync'](_0x58bb85);}fs['unlinkSync'](_0x4c4aa1),fs[_0x49c46c(0x15d)](_0x1e011f),_0x525ee9&&(_0x2f6c28['errorMessage']=helper[_0x49c46c(0x130)](_0x525ee9,_0x1ef147[_0x49c46c(0x11d)],_0x2f6c28));const _0xc15f28=BrowserstackCLI[_0x49c46c(0x15a)]();try{await TestHubHandler[_0x49c46c(0x179)](),await BrowserstackCLI[_0x49c46c(0xe2)]()[_0x49c46c(0x179)]();}catch(_0x3b51a1){console['log'](_0x3b51a1),_0x1ef147['jcJGW'](debug,_0x49c46c(0x17d)+util[_0x49c46c(0xa8)](_0x3b51a1));}testOpsHelper[_0x49c46c(0x17b)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x2f6c28,_0xc15f28);});}module['exports']=run;function a17_0x11df(){const _0x30c341=['BSTACK_USER_JEST_RUNNER','length','../../helpers/test-observability/utils','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','resolveModule','getInstance','isCliEnabled','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','gTDMc','customEnvironment.js','failFast','isUndefined','isRunning','6382909tDWoYD','./test-observability/test-details','reporters','Found:\x20','238821pTETLF','BROWSERSTACK_CAPABILITIES','skipSessionName','zsmwR','accessibilityOptions','isTestOrchestrationEnabled','browserStackLogLevel','jest-runner','OcyaV','puppeteer-core/package.json','writeFileSync','Deleting\x20','8ukZzNT','176014LWnXkZ','3190xIQYrY','@jest/core','HQiDq','abortBuildOnFailure','../../helpers/utilities','\x20test\x20files\x20to\x20run.','../../helpers/performance/constants','mjs','false','2624655FGXhzJ','UTXlg','grINN','filterBrowserstackArgs','yIyhV','Mmhxb','eMxJn','isNotUndefined','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getPackageVersion','jest_browserstack.config.cjs','jest-config','runInBand','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','ksCwZ','resolve','retries__','GVYBR','12GGcfxH','ILQfG','PwuGw','timeout__','../../helpers/test-observability/constants','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','EfBAB','1205dIRTjF','parallels__','./test-observability/helper','shouldProcessEventForTesthub','Getting\x20your\x20jest\x20configs\x20from\x20','RMqGa','package.json','\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','BSTACK_JEST_TEST_ENV','Puppeteer\x20setup\x20error:\x20','JHrvz','MODULE','debug','apply','dpzRs','parallelsPerPlatform','JSNSh','info','getErrorMessageFromResults','sBJUu','BRjYM','config','join','findIndex','3824hrxONW','testObservability','vQlpJ','IOFaC','zpIbc','PqHzy','yyAtT','exitCode','jest.config.','../../helpers/testhub/utils','\x20with\x20browserstack\x20jest\x20configs','testEnvironment','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ubgzA','emhQB','workingDir','MGebQ','initialize','TmTcD','../../helpers/puppeteer-helper','dirname','checkAccessibilityPlatformConfig','ASshg','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setup','../utils/constants','TSHeE','Reodered\x20Test\x20Files:\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lEcwV','assign','push','Creating\x20','prepareCapabilities','isCLIEnabled','customSequencer.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','unlinkSync','testEnvironmentOptions','XLwyi','logLevel','default','PACKAGE_TYPE','\x0a\x20\x20\x20\x20\x20\x20','testRunner','OVsfZ','setupFilesAfterEnv','child_process','failureThresholdCount','OOUiJ','puppeteer','sfZaq','maxFailures','data-hooks.js','../../helpers/BrowserStackSetup','LmFIO','child\x20process\x20exited\x20with\x20code\x20','maxWorkers','@playwright/test','true','Deleted\x20fail-fast\x20state\x20folder:\x20','existsSync','parse','3vpPNic','BROWSERSTACK_FRAMEWORK','stop','setupBrowserstackLocal','printBuildLink','turboScaleUrl','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','jest-config/build/readConfigFileAndSetRootDir.js','reorderTestFiles','3846BakTPM',';\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','requirePWModule','jest-runner-','FrLEC','FRAMEWORKS','handleApp','7092jSbEEh','jest','Error\x20while\x20parsing\x20','Pfwsa','SXscI','playwright','/internal/$1','stringify','--config','retryTestsOnFailure','tpQuD','GLdJc','end','customTestRunnerTemplate.js','jest_browserstack.config.js','runner','launchBuild','browserStackPercyOptions','cjs','BJBwj','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFiles','../../helpers/accessibility-automation/helper','1491GpAodz','USER_CONFIG_DETAILS_PATH','jest-circus','npx','getPackageType','message','proxySettings','readFileSync','../../helpers/testhub/testhubHandler','mMEsm','NjVIe','format','leGWm','JEST','close','../../helpers/playwright-helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','error','env','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','yFeLy','platforms','force','\x0amodule.exports\x20=\x20config;','QsBjQ','isBrowserstackInfra','useW3C','yJrDr','moduleNameMapper','json','VIfJD','platform','maxRetries','slice','cwd','../../helpers/percy/utils','findTestFiles','../utils/clientTroubleshootingService','gvFdp',',\x20CLI\x20running:\x20','bmdpO','startsWith','hLpXe','isEmpty','../../helpers/helper','jest_browserstack_results.json','getHubUrl','jest-circus/build/runner.js','win32','requireModule','winstonLogger','skblS','XQyQF','aWtbc','test_before.setup.js','customCircus.js','__isPlaywrightInstalled','splice','yFkso','@jest/core/build/ReporterDispatcher.js','VsxBv','customImplements','BFMGr','replace'];a17_0x11df=function(){return _0x30c341;};return a17_0x11df();}
|
|
2
|
+
'use strict';function a17_0x10cb(){const _0x1fc28a=['isBrowserstackInfra','readFileSync','capabilities','findIndex','EVENTS','kSFFw','testContextOptions','puppeteer','maxWorkers','getErrorMessageFromResults','../../helpers/test-observability/constants','aAtgh','requireSeleniumWebdriver','hblev','maxRetries','\x20:\x20','slice','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','data-hooks.js','checkAccessibilityPlatformConfig','isNotUndefined','getPackageVersion','jest.config.','false','../../helpers/utilities','\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','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','FdxlZ','default','RMLzB','filterBrowserstackArgs','qYKid','platformCaps','4CKAnUU','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest-circus','682353LDgkgd','Deleted\x20fail-fast\x20state\x20folder:\x20','NKvGj','jest-runner-','bvFqY','isCLIEnabled','testEnvironmentOptions','__isPuppeteerInstalled','test_before.setup.js','true','Unable\x20to\x20find\x20jest-circus,\x20','--config','maxFailures','message','cnmAG','BROWSERSTACK_FRAMEWORK','exitCode','ZZpMm','join','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','12bPeSEd','JZPpE','BSTACK_JEST_TEST_ENV','isUndefined','\x0a\x20\x20\x20\x20\x20\x20','ucaFl','testTimeout','KfZUI','stringify','Deleting\x20','ywqNo','tmUYW','parse','jqtTh','JEST_TEST_ORDER','launchBuild','customEnvironment.js','proxySettings','FRAMEWORKS','okVbB','push','sbETK','jest.setup.js','mjs','XSoTw','recursive','turboScaleUrl','stop',';\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','isRunning','skipSessionStatus','Getting\x20your\x20jest\x20configs\x20from\x20package.json','setupFilesAfterEnv','unlinkSync','jest-runner','parallelsPerPlatform','printBuildLink','rJWZj','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','apply','setupBrowserstackLocal','173726ZnyOpT','util','@jest/core','Reodered\x20Test\x20Files:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','customImplements','oUxrl','Puppeteer\x20setup\x20error:\x20','Creating\x20','shouldProcessEventForTesthub','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','resolve','workingDir','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/test-observability/utils','aMFtW','../../helpers/BrowserStackSetup','./test-observability/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','9pSBqOl','parallels__','YoyqS','parseTestOrchestrationOptions','SDK_SETUP','end','kZyTE','EcxVJ','wjZSy','config',',\x20CLI\x20running:\x20','logLevel','jest-circus/build/runner.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','browserStackPercyOptions','isEmpty','1771992mttazd','../../helpers/playwright-helper','22CeBSzD','testObservability','432172MdmYrI','splice','32fcliSw','eTpMH','failureThresholdCount','failFast','@playwright/test','reporters','runInBand','WDefU','retryTestsOnFailure','package.json','abortBuildOnFailure','close','JLMiM','kbEto','rmSync','roUrH','getPackageType','testSequencer','ccttm','../../helpers/performance/constants','qFoTy','readInitialOptions','info','^puppeteer-core/internal/(.*)','TzMzq','requireModule','assign','../../helpers/puppeteer-helper','useW3C','\x20test\x20files\x20to\x20run.','../../helpers/testhub/testhubHandler','isTestOrchestrationEnabled','getInstance','@jest/core/build/ReporterDispatcher.js','browserStackLogLevel','BSTACK_USER_JEST_RUNNER','JCDKc','setupFiles','\x20with\x20browserstack\x20jest\x20configs','wZXtH','startsWith','test.setup.js','findTestFiles','TsUnP','Getting\x20your\x20jest\x20configs\x20from\x20','PACKAGE_TYPE','350715vaLJMk','jest','iRHRX','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','customTestRunner.js','child\x20process\x20exited\x20with\x20code\x20','cBZHv','jest-config','jEFIt','MODULE','nOiTK','existsSync','dJJid','nYxMv','errorMessage','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','/internal/$1','../utils/constants','length','requirePWModule','cwd','puppeteer-core/package.json','BYvNl','platform','660350qTjVzc','accessibility','json','writeFileSync','getHubUrl','finalExecution','wzmBI','../../helpers/test-orchestration/testOrchestrationHandler','jest_browserstack.config.cjs','RQvnu','wXGjy','error','YJaSp','../../helpers/logger',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/performance/performance-tester','qvvBS','inherit','__isPlaywrightInstalled','CTksT','testRunner','etPrH','gtkqE','force','accessibilityOptions','../utils/clientTroubleshootingService','JEST','customTestRunnerTemplate.js','platforms','format','testEnvironment','setup','env','./test-observability/test-details','oHIoo','debug','../v2/browserstackCLI','BXtRH','USER_CONFIG_DETAILS_PATH','../../helpers/testhub/utils','ylJnn','egFjO','moduleNameMapper','eLSCK','1593490UbjVew'];a17_0x10cb=function(){return _0x1fc28a;};return a17_0x10cb();}const a17_0x3f5572=a17_0x1354;(function(_0x40d6fb,_0x1d2de2){const _0x2e5d0e=a17_0x1354,_0x48e016=_0x40d6fb();while(!![]){try{const _0x387d9b=parseInt(_0x2e5d0e(0x24c))/0x1+parseInt(_0x2e5d0e(0x273))/0x2+parseInt(_0x2e5d0e(0x2a3))/0x3*(-parseInt(_0x2e5d0e(0x20c))/0x4)+-parseInt(_0x2e5d0e(0x2bb))/0x5*(parseInt(_0x2e5d0e(0x223))/0x6)+parseInt(_0x2e5d0e(0x20f))/0x7*(parseInt(_0x2e5d0e(0x275))/0x8)+parseInt(_0x2e5d0e(0x25f))/0x9*(parseInt(_0x2e5d0e(0x1ea))/0xa)+parseInt(_0x2e5d0e(0x271))/0xb*(-parseInt(_0x2e5d0e(0x26f))/0xc);if(_0x387d9b===_0x1d2de2)break;else _0x48e016['push'](_0x48e016['shift']());}catch(_0x5b4de4){_0x48e016['push'](_0x48e016['shift']());}}}(a17_0x10cb,0x4022c));const fs=require('fs'),path=require('path'),util=require(a17_0x3f5572(0x24d)),{spawn}=require('child_process'),logger=require(a17_0x3f5572(0x2c8))['winstonLogger'],{default:BrowserStackSetup}=require(a17_0x3f5572(0x25c)),helper=require('../../helpers/helper'),utilities=require(a17_0x3f5572(0x203)),constants=require(a17_0x3f5572(0x2b4)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a17_0x3f5572(0x25d)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a17_0x3f5572(0x25a)),TestDetails=require(a17_0x3f5572(0x1df)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a17_0x3f5572(0x293)),testhubUtils=require(a17_0x3f5572(0x1e5)),{FRAMEWORKS}=require(a17_0x3f5572(0x1f5)),PerformanceTester=require(a17_0x3f5572(0x2cb)),PerformanceEvents=require(a17_0x3f5572(0x288))[a17_0x3f5572(0x1ef)],TestOrchestrationHandler=require(a17_0x3f5572(0x2c2)),BrowserstackCLI=require(a17_0x3f5572(0x1e2)),{checkPwandBootstrapCli}=require(a17_0x3f5572(0x270)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x3f5572(0x290)),ClientTroubleShootingService=require(a17_0x3f5572(0x1d7)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x40b4ab,_0x1b2bb2)=>{const _0x12dd86=a17_0x3f5572,_0x356e82={'oHIoo':_0x12dd86(0x259),'qFoTy':_0x12dd86(0x2aa),'okVbB':function(_0xbc94e1,_0xd6eee){return _0xbc94e1||_0xd6eee;},'aAtgh':function(_0xaaf3a6,_0x434824){return _0xaaf3a6(_0x434824);},'kZyTE':_0x12dd86(0x27e),'etPrH':_0x12dd86(0x242),'kbEto':_0x12dd86(0x23a),'nYxMv':'cjs','VdygO':_0x12dd86(0x2bd)};let _0x55b9a3;try{_0x55b9a3=helper[_0x12dd86(0x28e)](_0x356e82[_0x12dd86(0x1e0)],_0x356e82[_0x12dd86(0x289)]);}catch{const _0x46e2cf=helper[_0x12dd86(0x28e)](_0x356e82[_0x12dd86(0x289)]);_0x55b9a3={'default':async _0x1f60e8=>{const _0x279638=_0x12dd86,_0x21a7e6=await _0x46e2cf[_0x279638(0x28a)](_0x1f60e8,{});return _0x21a7e6[_0x279638(0x268)];}};}const _0x3c4788=_0x1b2bb2[_0x12dd86(0x1ee)](_0x21695d=>_0x21695d===_0x12dd86(0x21a));if(!helper[_0x12dd86(0x226)](_0x40b4ab['config'])){logger[_0x12dd86(0x28b)](_0x12dd86(0x2a1)+_0x40b4ab[_0x12dd86(0x268)]),process[_0x12dd86(0x1de)][_0x12dd86(0x1e4)]=_0x40b4ab['config'];const _0x5b4dba=await(0x0,_0x55b9a3[_0x12dd86(0x207)])(path[_0x12dd86(0x257)](_0x40b4ab[_0x12dd86(0x268)]));return _0x1b2bb2[_0x12dd86(0x274)](_0x3c4788,0x2),_0x356e82[_0x12dd86(0x236)](_0x5b4dba,{});}const _0x296ff6=_0x356e82[_0x12dd86(0x1f6)](require,path[_0x12dd86(0x221)](process[_0x12dd86(0x2b7)](),_0x356e82[_0x12dd86(0x265)]));if(_0x296ff6[_0x12dd86(0x2a4)])return logger['info'](_0x356e82[_0x12dd86(0x1d3)]),_0x296ff6[_0x12dd86(0x2a4)];const _0x4fd1e1=['js',_0x356e82[_0x12dd86(0x282)],_0x356e82[_0x12dd86(0x2b0)],_0x356e82['VdygO'],'ts'];for(const _0x3d5d81 of _0x4fd1e1){const _0x35ae43=path[_0x12dd86(0x221)](process[_0x12dd86(0x2b7)](),_0x12dd86(0x201)+_0x3d5d81);if(fs[_0x12dd86(0x2ae)](_0x35ae43)){process[_0x12dd86(0x1de)][_0x12dd86(0x1e4)]=_0x35ae43;const _0x42db98=await(0x0,_0x55b9a3[_0x12dd86(0x207)])(_0x35ae43);return _0x42db98;}}return{};},getSerial=(_0x5c1769,_0x32c982)=>{const _0x3803e4=a17_0x3f5572,_0x2cd975={};_0x2cd975[_0x3803e4(0x213)]='true',_0x2cd975[_0x3803e4(0x230)]=function(_0x355013,_0x3c411a){return _0x355013>_0x3c411a;},_0x2cd975[_0x3803e4(0x276)]=function(_0x5ee802,_0x250693){return _0x5ee802>_0x250693;},_0x2cd975['NKvGj']=_0x3803e4(0x202);const _0x55fdf3=_0x2cd975;let _0xee246f=_0x55fdf3[_0x3803e4(0x213)];return _0x55fdf3[_0x3803e4(0x230)](_0x5c1769[_0x3803e4(0x2b5)],0x1)&&(!_0x32c982[_0x3803e4(0x27b)]&&(helper[_0x3803e4(0x226)](_0x32c982[_0x3803e4(0x1f3)])||_0x55fdf3['eTpMH'](_0x32c982['maxWorkers'],0x1)))&&(_0xee246f=_0x55fdf3[_0x3803e4(0x211)]),_0xee246f;},getMaxWorkers=(_0x3813c7,_0x17d213,_0x17bdab)=>{const _0x4b6e78=a17_0x3f5572,_0x2dc01b={'ywqNo':function(_0x28d126,_0x449a8f){return _0x28d126(_0x449a8f);}};let _0x5b12e5=0x1;if(!helper[_0x4b6e78(0x226)](_0x17d213[_0x4b6e78(0x246)]))_0x5b12e5=_0x2dc01b[_0x4b6e78(0x22d)](parseInt,_0x17d213[_0x4b6e78(0x246)]);else{if(!helper[_0x4b6e78(0x226)](_0x3813c7[_0x4b6e78(0x1f3)]))_0x5b12e5=_0x3813c7['maxWorkers'];else!helper[_0x4b6e78(0x226)](_0x17bdab[_0x4b6e78(0x1f3)])&&(_0x5b12e5=_0x17bdab[_0x4b6e78(0x1f3)]);}return _0x5b12e5;};async function run(_0x4dc7ed,_0x5c1e2d,_0x42ed29){const _0x41f6af=a17_0x3f5572,_0xe72d69={'BYvNl':'jest','cnmAG':function(_0x27ca4b,_0x9ae1eb){return _0x27ca4b(_0x9ae1eb);},'egFjO':_0x41f6af(0x279),'iRHRX':function(_0x37f247){return _0x37f247();},'CTksT':function(_0x466bf6,_0x3fdff5,_0x3f041c,_0x4184ec){return _0x466bf6(_0x3fdff5,_0x3f041c,_0x4184ec);},'hblev':function(_0x2ae496,_0x5b0013){return _0x2ae496!=_0x5b0013;},'wzmBI':_0x41f6af(0x218),'KfZUI':function(_0x54f232,_0x54adce,_0x162e67){return _0x54f232(_0x54adce,_0x162e67);},'eLSCK':_0x41f6af(0x2a6),'tmUYW':function(_0x1fdf04,_0x1195a3){return _0x1fdf04(_0x1195a3);},'tIfeB':'false','BXtRH':function(_0x58850d,_0x30bbd0){return _0x58850d*_0x30bbd0;},'ylJnn':function(_0x346df9,_0x2374ad){return _0x346df9===_0x2374ad;},'ZZpMm':_0x41f6af(0x2c3),'roUrH':'jest_browserstack.config.js','rJWZj':_0x41f6af(0x251),'aMFtW':'jest_browserstack_results.json','WJcGP':_0x41f6af(0x2a7),'qsduw':_0x41f6af(0x1d9),'TsUnP':_0x41f6af(0x233),'wZXtH':function(_0x1f125b,_0x81e661){return _0x1f125b!==_0x81e661;},'vCmSc':_0x41f6af(0x245),'TzMzq':_0x41f6af(0x212),'YoyqS':_0x41f6af(0x239),'ccttm':'customSequencer.js','qYKid':_0x41f6af(0x1fc),'YJaSp':_0x41f6af(0x20e),'ucaFl':_0x41f6af(0x26b),'JLMiM':function(_0x3c1666,_0x1e1440){return _0x3c1666(_0x1e1440);},'RMLzB':'test-observability','sbETK':_0x41f6af(0x1fd),'mMAqj':'customCircus.js','wXGjy':_0x41f6af(0x217),'DwbPF':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','szlVm':'playwright','RQvnu':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jEFIt':_0x41f6af(0x29e),'FdxlZ':_0x41f6af(0x249),'Wwcnj':function(_0x286d58,_0x1cd331){return _0x286d58&&_0x1cd331;},'JZPpE':_0x41f6af(0x2ca),'oUxrl':_0x41f6af(0x1f2),'cBZHv':_0x41f6af(0x2b8),'wjZSy':_0x41f6af(0x207),'BJRwg':function(_0x108034,_0x2de6aa,_0x53748a){return _0x108034(_0x2de6aa,_0x53748a);},'ieYNk':_0x41f6af(0x296),'XSoTw':_0x41f6af(0x24e),'nOiTK':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','CMYBS':function(_0xa329b9,_0x454a18){return _0xa329b9>_0x454a18;},'EcxVJ':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','kSFFw':'--config','gtkqE':function(_0x272394,_0x425b47,_0x12946e,_0x2f8e39){return _0x272394(_0x425b47,_0x12946e,_0x2f8e39);},'JCDKc':'npx','dJJid':'win32','WDefU':_0x41f6af(0x2cd),'qvvBS':_0x41f6af(0x280)},_0x2b67d7=helper[_0x41f6af(0x200)](_0xe72d69[_0x41f6af(0x1e7)]);global[_0x41f6af(0x2ce)]=!!_0x2b67d7;const _0x40c816=_0xe72d69[_0x41f6af(0x2a5)](getPuppeteerVersion);global[_0x41f6af(0x216)]=!!_0x40c816;helper[_0x41f6af(0x1eb)]()&&(await _0x42ed29['initialize'](_0x4dc7ed),await helper['handleApp'](_0x42ed29['config']));if(_0x2b67d7)await _0xe72d69['CTksT'](checkPwandBootstrapCli,_0x2b67d7,constants[_0x41f6af(0x235)]['JEST'],_0x42ed29);else _0x40c816&&await _0xe72d69[_0x41f6af(0x1d1)](checkPuppeteerAndBootstrapCli,_0x40c816,constants[_0x41f6af(0x235)][_0x41f6af(0x1d8)],_0x42ed29);!BrowserstackCLI['getInstance']()['isRunning']()&&await _0x42ed29[_0x41f6af(0x24b)]();if(!_0x42ed29['config'])return;_0xe72d69[_0x41f6af(0x1f8)](_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x272)],null)?process[_0x41f6af(0x1de)][_0x41f6af(0x250)]=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x272)]:process[_0x41f6af(0x1de)][_0x41f6af(0x250)]=_0xe72d69['wzmBI'];const _0x22200b=new TestOrchestrationHandler(_0x42ed29['config']),_0x37ad56=await _0xe72d69[_0x41f6af(0x22a)](getUserJestConfigs,_0x4dc7ed,_0x5c1e2d);logger[_0x41f6af(0x28b)](_0xe72d69[_0x41f6af(0x1e9)]);const _0x25749f=Object[_0x41f6af(0x28f)]({},_0x37ad56);_0x25749f[_0x41f6af(0x215)]=Object['assign']({},_0x25749f['testEnvironmentOptions'],{'server':helper[_0x41f6af(0x2bf)](_0x42ed29[_0x41f6af(0x268)]),'environment':_0x37ad56[_0x41f6af(0x1dc)]}),_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x26d)]=_0xe72d69[_0x41f6af(0x22e)](getPercyOptions,_0x42ed29[_0x41f6af(0x268)]);const _0x499131=helper[_0x41f6af(0x291)](_0x42ed29['config']);!helper['isUndefined'](_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x1d6)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x41f6af(0x22b)](_0x42ed29[_0x41f6af(0x268)]['accessibilityOptions']));if(!BrowserstackCLI[_0x41f6af(0x295)]()['isRunning']()){const _0x578de8=await TestHubHandler[_0x41f6af(0x232)](FRAMEWORKS[_0x41f6af(0x1d8)],_0x42ed29);}const _0x3c47dd=helper['prepareCapabilities'](_0x42ed29[_0x41f6af(0x268)],_0x499131,constants[_0x41f6af(0x235)][_0x41f6af(0x1d8)]);process[_0x41f6af(0x1de)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x41f6af(0x22b)](_0x3c47dd);let _0x4c2292=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x2bc)];_0x4c2292=_0x4c2292||accessibilityHelper[_0x41f6af(0x1fe)](_0x42ed29[_0x41f6af(0x268)]),process[_0x41f6af(0x1de)][_0x41f6af(0x25e)]=_0x4c2292,logger['debug'](_0x41f6af(0x205)+_0x4c2292+_0x41f6af(0x269)+BrowserstackCLI[_0x41f6af(0x295)]()[_0x41f6af(0x240)]());if(_0x2b67d7)try{const _0x33c887=_0xe72d69[_0x41f6af(0x21d)](checkAccessibilityPlatformConfig,_0x42ed29[_0x41f6af(0x268)]);process[_0x41f6af(0x1de)][_0x41f6af(0x256)]=_0x33c887?_0xe72d69[_0x41f6af(0x2c1)]:_0xe72d69['tIfeB'],logger[_0x41f6af(0x1e1)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x33c887+_0x41f6af(0x2c9)+process[_0x41f6af(0x1de)][_0x41f6af(0x256)]);}catch(_0x22d389){logger[_0x41f6af(0x1e1)](_0x41f6af(0x222)+util[_0x41f6af(0x1db)](_0x22d389));}_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x1ed)]=_0x3c47dd,_0x25749f[_0x41f6af(0x215)]['serial__']=_0xe72d69['KfZUI'](getSerial,_0x3c47dd,_0x4dc7ed),_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x260)]=_0xe72d69[_0x41f6af(0x1d1)](getMaxWorkers,_0x4dc7ed,_0x42ed29[_0x41f6af(0x268)],_0x37ad56),_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x234)]=_0x42ed29['config']['proxySettings'],_0x25749f['testEnvironmentOptions']['timeout__']=_0xe72d69[_0x41f6af(0x1e3)](_0x4dc7ed[_0x41f6af(0x229)],0x1)||0x1388,_0x25749f[_0x41f6af(0x215)]['skipSessionName']=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x1f1)]['skipSessionName'],_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x241)]=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x1f1)][_0x41f6af(0x241)],_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x297)]=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x26a)],_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x23d)]=_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x23d)],_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x20b)]=_0x42ed29[_0x41f6af(0x268)]['platforms'];const _0x47c5ac=helper[_0x41f6af(0x262)](_0x42ed29[_0x41f6af(0x268)]);if(!helper[_0x41f6af(0x26e)](_0x47c5ac)){helper[_0x41f6af(0x1ff)](_0x47c5ac[_0x41f6af(0x27d)])&&(_0x25749f['testEnvironmentOptions']['retries__']=_0x47c5ac['retryTestsOnFailure'][_0x41f6af(0x1f9)]);if(helper[_0x41f6af(0x1ff)](_0x47c5ac[_0x41f6af(0x27f)])&&helper['isNotUndefined'](_0x47c5ac[_0x41f6af(0x27f)][_0x41f6af(0x258)])){const _0x5cb487={};_0x5cb487[_0x41f6af(0x277)]=_0x47c5ac[_0x41f6af(0x27f)][_0x41f6af(0x21b)],_0x5cb487[_0x41f6af(0x258)]=_0x47c5ac[_0x41f6af(0x27f)][_0x41f6af(0x258)],_0x25749f[_0x41f6af(0x215)][_0x41f6af(0x278)]=_0x5cb487;}}let _0x164c85='';_0xe72d69[_0x41f6af(0x1e6)](helper[_0x41f6af(0x285)](),constants[_0x41f6af(0x2a2)][_0x41f6af(0x2ac)])?_0x164c85=_0xe72d69[_0x41f6af(0x220)]:_0x164c85=_0xe72d69[_0x41f6af(0x284)];const _0x4c365d=_0x164c85,_0x3b23a6=path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69[_0x41f6af(0x25b)]),_0x26e843=path['join'](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69['WJcGP']),_0x14b109=path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69['qsduw']);_0x25749f[_0x41f6af(0x1dc)]&&(process[_0x41f6af(0x1de)][_0x41f6af(0x225)]=_0x25749f[_0x41f6af(0x1dc)]);_0x25749f['testEnvironment']=path['join'](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69[_0x41f6af(0x2a0)]);const _0x271258=_0x37ad56['runner'];if(_0x271258&&_0xe72d69[_0x41f6af(0x29c)](_0x271258,_0xe72d69['vCmSc'])){const _0x2e8396=_0x271258[_0x41f6af(0x29d)](_0xe72d69[_0x41f6af(0x28d)])?_0x271258:'jest-runner-'+_0x271258;process[_0x41f6af(0x1de)][_0x41f6af(0x298)]=_0x2e8396,logger[_0x41f6af(0x28b)](_0x41f6af(0x26c)+_0x2e8396);}_0x25749f['runner']=_0x26e843,_0x25749f[_0x41f6af(0x243)]=_0x25749f[_0x41f6af(0x243)]||[],_0x25749f['setupFilesAfterEnv'][_0x41f6af(0x237)](path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x261)]));_0x22200b['isTestOrchestrationEnabled']()&&(_0x25749f[_0x41f6af(0x286)]=path['join'](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69[_0x41f6af(0x287)]));if(testhubUtils[_0x41f6af(0x255)]()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x523655=null;try{_0x523655=helper[_0x41f6af(0x28e)](_0xe72d69[_0x41f6af(0x20a)],_0xe72d69[_0x41f6af(0x2c7)]);}catch(_0x13e96d){try{_0x523655=helper[_0x41f6af(0x28e)](_0xe72d69[_0x41f6af(0x228)],_0xe72d69['YJaSp']);}catch(_0x220102){_0xe72d69[_0x41f6af(0x281)](debug,_0x41f6af(0x219)+_0x220102);}}_0x523655&&(testhubUtils[_0x41f6af(0x255)]()&&_0x25749f[_0x41f6af(0x243)]['push'](path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x208)],_0xe72d69[_0x41f6af(0x238)])),_0x25749f[_0x41f6af(0x1d2)]=path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x248)],_0xe72d69['mMAqj']));}_0x25749f[_0x41f6af(0x29a)]=_0x25749f[_0x41f6af(0x29a)]||[];try{helper[_0x41f6af(0x1f7)](),_0x25749f['setupFiles']['push'](path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x2c5)]));}catch{logger['debug'](_0xe72d69['DwbPF']);}try{helper[_0x41f6af(0x2b6)][_0x41f6af(0x24a)](null,[_0xe72d69['egFjO'],_0xe72d69['szlVm']]),logger[_0x41f6af(0x1e1)](_0xe72d69[_0x41f6af(0x2c4)]),_0x25749f[_0x41f6af(0x29a)][_0x41f6af(0x237)](path[_0x41f6af(0x221)](__dirname,_0xe72d69[_0x41f6af(0x2ab)]));}catch(_0x50abd5){logger[_0x41f6af(0x1e1)](_0xe72d69[_0x41f6af(0x206)],_0x50abd5);}if(_0xe72d69['Wwcnj'](!_0x2b67d7,_0x40c816)){try{logger[_0x41f6af(0x1e1)](_0xe72d69[_0x41f6af(0x224)]),_0x25749f[_0x41f6af(0x243)]['push'](path[_0x41f6af(0x221)](__dirname,'..',_0xe72d69[_0x41f6af(0x252)],_0xe72d69[_0x41f6af(0x2ab)]));}catch(_0x598de7){logger[_0x41f6af(0x1e1)](_0x41f6af(0x253)+_0x598de7[_0x41f6af(0x21c)]);}try{const _0x310107=require['resolve'](_0xe72d69[_0x41f6af(0x2a9)]),_0x934056=path['dirname'](_0x310107)['replace'](/\\/g,'/'),_0x40fcf1={};_0x40fcf1[_0x41f6af(0x28c)]=_0x934056+_0x41f6af(0x2b3),_0x25749f[_0x41f6af(0x1e8)]=Object[_0x41f6af(0x28f)]({},_0x25749f['moduleNameMapper']||{},_0x40fcf1),logger[_0x41f6af(0x1e1)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x934056);}catch(_0x4456bb){logger[_0x41f6af(0x1e1)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x4456bb[_0x41f6af(0x21c)]);}}_0x25749f[_0x41f6af(0x27a)]=_0x25749f[_0x41f6af(0x27a)]||[_0xe72d69[_0x41f6af(0x267)]],_0xe72d69['BJRwg'](updateTestRerunConfig,_0x25749f,_0x42ed29);const _0xa9ec7f=fs[_0x41f6af(0x1ec)](_0x14b109),_0x333d49=helper['resolveModule'](_0xe72d69['ieYNk'],_0xe72d69[_0x41f6af(0x23b)]);!_0x333d49[_0x41f6af(0x2c6)]?fs[_0x41f6af(0x2be)](_0x25749f['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0xa9ec7f+_0x41f6af(0x204)+_0x42ed29[_0x41f6af(0x268)]['platforms'][_0x41f6af(0x2b5)]+_0x41f6af(0x23f)):fs[_0x41f6af(0x2be)](_0x25749f['runner'],_0x41f6af(0x227)+_0xa9ec7f+'\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'+_0x42ed29[_0x41f6af(0x268)][_0x41f6af(0x1da)]['length']+';\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');logger[_0x41f6af(0x28b)](_0x41f6af(0x254)+_0x4c365d+_0x41f6af(0x29b)),fs[_0x41f6af(0x2be)](_0x4c365d,'const\x20config='+JSON[_0x41f6af(0x22b)](_0x25749f)+'\x0amodule.exports\x20=\x20config;');if(_0x22200b[_0x41f6af(0x294)]()){logger['debug'](_0xe72d69[_0x41f6af(0x2ad)]);const _0x50cef0=await _0x22200b[_0x41f6af(0x29f)](_0x25749f,_0x5c1e2d[_0x41f6af(0x1fb)](0x1),_0x4c365d);logger[_0x41f6af(0x1e1)]('Found:\x20'+JSON[_0x41f6af(0x22b)](_0x50cef0)+_0x41f6af(0x292));const _0x2ff025=await _0x22200b['reorderTestFiles'](_0x50cef0);logger[_0x41f6af(0x1e1)](_0x41f6af(0x24f)+JSON[_0x41f6af(0x22b)](_0x2ff025)),_0x2ff025&&_0xe72d69['CMYBS'](_0x2ff025[_0x41f6af(0x2b5)],0x0)&&(process['env'][_0x41f6af(0x231)]=_0x2ff025?.[_0x41f6af(0x221)](','));}logger[_0x41f6af(0x28b)](_0xe72d69[_0x41f6af(0x266)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x41f6af(0x1dd)]();helper[_0x41f6af(0x209)]({},_0x5c1e2d),PerformanceTester[_0x41f6af(0x264)](PerformanceEvents[_0x41f6af(0x263)]);const _0x1ce304=[_0xe72d69[_0x41f6af(0x2b9)],_0xe72d69[_0x41f6af(0x1f0)],_0x4c365d,..._0x5c1e2d['slice'](0x1)];process['env'][_0x41f6af(0x21e)]=process[_0x41f6af(0x1de)][_0x41f6af(0x21e)]||_0xe72d69[_0x41f6af(0x2b9)];const _0x468191=_0xe72d69[_0x41f6af(0x1d4)](spawn,_0xe72d69[_0x41f6af(0x299)],_0x1ce304,{'shell':_0xe72d69[_0x41f6af(0x1e6)](process[_0x41f6af(0x2ba)],_0xe72d69[_0x41f6af(0x2af)]),'stdio':_0xe72d69[_0x41f6af(0x27c)],'env':Object[_0x41f6af(0x28f)]({},process[_0x41f6af(0x1de)])});_0x468191['on'](_0xe72d69[_0x41f6af(0x2cc)],async _0x191ee3=>{const _0x245a23=_0x41f6af;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),process[_0x245a23(0x21f)]=_0x191ee3,logger[_0x245a23(0x1e1)](_0x245a23(0x2a8)+_0x191ee3),logger['info'](_0x245a23(0x22c)+_0x4c365d);if(helper['isNotUndefined'](_0x47c5ac)&&helper[_0x245a23(0x1ff)](_0x47c5ac[_0x245a23(0x27f)])&&fs[_0x245a23(0x2ae)](_0x47c5ac['abortBuildOnFailure']['workingDir']))try{const _0x44963c={};_0x44963c[_0x245a23(0x23c)]=!![],_0x44963c[_0x245a23(0x1d5)]=!![],fs[_0x245a23(0x283)](_0x47c5ac['abortBuildOnFailure'][_0x245a23(0x258)],_0x44963c),logger['debug'](_0x245a23(0x210)+_0x47c5ac['abortBuildOnFailure'][_0x245a23(0x258)]);}catch(_0x58547c){logger[_0x245a23(0x2c6)](_0x245a23(0x20d)+_0x58547c);}let _0x17a32e=null;if(fs[_0x245a23(0x2ae)](_0x3b23a6)){_0x17a32e=fs[_0x245a23(0x1ec)](_0x3b23a6);try{_0x17a32e=JSON[_0x245a23(0x22f)](_0x17a32e);}catch(_0xb50d81){logger[_0x245a23(0x1e1)]('Error\x20while\x20parsing\x20'+_0x3b23a6+',\x20'+_0x17a32e+_0x245a23(0x1fa)+_0xb50d81);}fs[_0x245a23(0x244)](_0x3b23a6);}fs[_0x245a23(0x244)](_0x4c365d),fs['unlinkSync'](_0x26e843),_0x17a32e&&(_0x42ed29[_0x245a23(0x2b1)]=helper[_0x245a23(0x1f4)](_0x17a32e,_0xe72d69[_0x245a23(0x2b9)],_0x42ed29));const _0x1ef141=BrowserstackCLI[_0x245a23(0x214)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x245a23(0x295)]()[_0x245a23(0x23e)]();}catch(_0x1acf1f){console['log'](_0x1acf1f),_0xe72d69[_0x245a23(0x21d)](debug,_0x245a23(0x2b2)+util[_0x245a23(0x1db)](_0x1acf1f));}testOpsHelper[_0x245a23(0x247)](),TestDetails['shutdown'](),await utilities[_0x245a23(0x2c0)](_0x42ed29,_0x1ef141);});}function a17_0x1354(_0x5c830a,_0x52745a){const _0x10cb34=a17_0x10cb();return a17_0x1354=function(_0x1354c0,_0x28323d){_0x1354c0=_0x1354c0-0x1d1;let _0xf0040e=_0x10cb34[_0x1354c0];return _0xf0040e;},a17_0x1354(_0x5c830a,_0x52745a);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a18_0x12e8(){const _0x5b44d6=['requireInternalModule','1830780Gdnhau','8OqfzAS','default','join','1329518akywTd','initRequireModule','jest-circus','customJestAdapterInit.js','788196COlYfM','includes','../../../helpers/helper','570069uhSbJO','ipaFn','path','exports','15970320mHGDIU','7983640PAwgbq','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','570824qWMiOc','35PdbOCs'];a18_0x12e8=function(){return _0x5b44d6;};return a18_0x12e8();}const a18_0x739aed=a18_0x40fd;(function(_0x291c38,_0x244b25){const _0x302d07=a18_0x40fd,_0x5b4190=_0x291c38();while(!![]){try{const _0x17d1c8=-parseInt(_0x302d07(0x1d5))/0x1+-parseInt(_0x302d07(0x1d1))/0x2+-parseInt(_0x302d07(0x1d8))/0x3+-parseInt(_0x302d07(0x1df))/0x4*(parseInt(_0x302d07(0x1e0))/0x5)+parseInt(_0x302d07(0x1e2))/0x6+parseInt(_0x302d07(0x1dd))/0x7+parseInt(_0x302d07(0x1e3))/0x8*(parseInt(_0x302d07(0x1dc))/0x9);if(_0x17d1c8===_0x244b25)break;else _0x5b4190['push'](_0x5b4190['shift']());}catch(_0x33b0e4){_0x5b4190['push'](_0x5b4190['shift']());}}}(a18_0x12e8,0x8d2a2));const path=require(a18_0x739aed(0x1da)),{requireModule}=require(a18_0x739aed(0x1d7));let initJestAdapter;try{initJestAdapter=requireModule(a18_0x739aed(0x1de),'jest-circus');}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a18_0x739aed(0x1d3));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a18_0x739aed(0x1e4)];function a18_0x40fd(_0x433a2a,_0x2490b1){const _0x12e83b=a18_0x12e8();return a18_0x40fd=function(_0x40fdc6,_0x195c65){_0x40fdc6=_0x40fdc6-0x1d0;let _0x388c61=_0x12e83b[_0x40fdc6];return _0x388c61;},a18_0x40fd(_0x433a2a,_0x2490b1);}const FRAMEWORK_INITIALIZER=path[a18_0x739aed(0x1d0)](__dirname,a18_0x739aed(0x1d4));module[a18_0x739aed(0x1db)]=(..._0x28f43e)=>{const _0x25f82a=a18_0x739aed,_0x3f1120={'PeNrN':'jestAdapterInit','ipaFn':function(_0x4083de,_0x677f70){return _0x4083de===_0x677f70;},'qzdIF':function(_0x3e00b6,..._0x5c5b59){return _0x3e00b6(..._0x5c5b59);}};return _0x28f43e[0x3][_0x25f82a(0x1d2)]=_0x28f43e[0x3][_0x25f82a(0x1e1)],_0x28f43e[0x3]['requireInternalModule']=(..._0x3ee49d)=>{const _0x583d70=_0x25f82a;if(_0x3ee49d[0x0]&&_0x3ee49d[0x0][_0x583d70(0x1d6)](_0x3f1120['PeNrN'])&&_0x3f1120[_0x583d70(0x1d9)](_0x3ee49d[0x1],undefined))return _0x28f43e[0x3][_0x583d70(0x1d2)](FRAMEWORK_INITIALIZER);return _0x28f43e[0x3][_0x583d70(0x1d2)](..._0x3ee49d);},_0x3f1120['qzdIF'](initJestAdapter,..._0x28f43e);};
|