browserstack-node-sdk 1.67.0 → 1.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.yml.sample +34 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a15_0x50b7ac=a15_0x363e;(function(_0x1e51da,_0x1c44d9){const _0xaf7e89=a15_0x363e,_0x1ac753=_0x1e51da();while(!![]){try{const _0x52840f=parseInt(_0xaf7e89(0x1e4))/0x1+parseInt(_0xaf7e89(0x1e9))/0x2+-parseInt(_0xaf7e89(0x1f3))/0x3*(parseInt(_0xaf7e89(0x1e0))/0x4)+parseInt(_0xaf7e89(0x201))/0x5+parseInt(_0xaf7e89(0x1d6))/0x6+-parseInt(_0xaf7e89(0x200))/0x7+parseInt(_0xaf7e89(0x1f1))/0x8;if(_0x52840f===_0x1c44d9)break;else _0x1ac753['push'](_0x1ac753['shift']());}catch(_0x33667e){_0x1ac753['push'](_0x1ac753['shift']());}}}(a15_0x55bf,0xedd1e));function a15_0x55bf(){const _0x1cf99d=['LCPrM','winstonLogger','browserStackLocalOptions','359647BdkAqd','./constants','config','Connection\x20established\x20successfully.','hosts','1703276gbRXVF','SYNzm','setProxySettings','demandOption','accessKey','../../helpers/logger','BZVhh','Hosts\x20not\x20valid','13806208wApMWb','error','1207623wuGYIB','url','https','connect','split','MLbGJ','https:','undefined','aLmQS','WriII','OrLFW','hostname','command','12050157kowJkw','1384320wlTBTR','integrations-repeater','trim','bstackAccessKey','oiVbL','toString','describe','kGZKe','dxBXc','map','footer','join','protocol','../../helpers/helper','ZzljT','443','mtetS','RXLae','hFpts','epilogue','replace','XOGpz','rYpHA','type','1720308cdHmGY','missing','help','root','ameOS','usage','bstack-accesskey','options','port','BrowserStack\x20access\x20key\x20missing.','8QWwrUq'];a15_0x55bf=function(){return _0x1cf99d;};return a15_0x55bf();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a15_0x50b7ac(0x1ee))[a15_0x50b7ac(0x1e2)],{URL}=require(a15_0x50b7ac(0x1f4)),helper=require(a15_0x50b7ac(0x20e)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x50b7ac(0x1e5)),validHosts=function(_0x26c484){const _0x5554de=a15_0x50b7ac;return _0x26c484[_0x5554de(0x1f7)](',')['every'](_0x568617=>{const _0x24e335=_0x5554de;try{new URL(_0x568617[_0x24e335(0x203)]());}catch(_0x2925e0){return![];}return!![];});},parseOnPremHosts=function(_0x7776ee){const _0x5e1912=a15_0x50b7ac,_0x395075={};_0x395075[_0x5e1912(0x1ea)]=function(_0x4f4559,_0x42ad11){return _0x4f4559===_0x42ad11;},_0x395075[_0x5e1912(0x1fb)]=_0x5e1912(0x1f9),_0x395075[_0x5e1912(0x20f)]=_0x5e1912(0x1cd),_0x395075[_0x5e1912(0x1fd)]=_0x5e1912(0x1f5);const _0x2c2a6d=_0x395075;return _0x7776ee[_0x5e1912(0x1f7)](',')[_0x5e1912(0x20a)](_0x302afd=>{const _0x3311b5=_0x5e1912,_0x4d4a98=new URL(_0x302afd[_0x3311b5(0x203)]()),_0xaf9ea0=_0x4d4a98[_0x3311b5(0x1fe)],_0x499d3f=_0x4d4a98[_0x3311b5(0x1de)]||(_0x2c2a6d['SYNzm'](_0x4d4a98['protocol'],_0x2c2a6d[_0x3311b5(0x1fb)])?_0x2c2a6d[_0x3311b5(0x20f)]:'80'),_0x44b4f9=_0x4d4a98[_0x3311b5(0x20d)][_0x3311b5(0x1d2)](':',''),_0x4e47c7=_0x2c2a6d[_0x3311b5(0x1ea)](_0x44b4f9,_0x2c2a6d[_0x3311b5(0x1fd)])?0x1:0x0;return _0xaf9ea0+','+_0x499d3f+','+_0x4e47c7;});},connectCommandBuilder=function(_0x1da1e8){const _0x10a9ca=a15_0x50b7ac,_0x222a6d={};_0x222a6d[_0x10a9ca(0x1ce)]='string';const _0x2b5e62=_0x222a6d,_0x193078={};_0x193078[_0x10a9ca(0x207)]=HELP_MESSAGES[_0x10a9ca(0x1dd)][_0x10a9ca(0x204)],_0x193078[_0x10a9ca(0x1d5)]=_0x2b5e62[_0x10a9ca(0x1ce)];const _0x56f579={};_0x56f579[_0x10a9ca(0x207)]=HELP_MESSAGES['options'][_0x10a9ca(0x1e8)],_0x56f579[_0x10a9ca(0x1d5)]=_0x2b5e62['mtetS'],_0x56f579[_0x10a9ca(0x1ec)]=!![];const _0x1369a4={};return _0x1369a4[_0x10a9ca(0x1dc)]=_0x193078,_0x1369a4[_0x10a9ca(0x1e8)]=_0x56f579,_0x1da1e8[_0x10a9ca(0x1dd)](_0x1369a4);},connectCommandHandler=async function(_0x5181b1){const _0x257600=a15_0x50b7ac,_0x188a1a={'oiVbL':'integrations','hFpts':function(_0x230011,_0x4a2e7b){return _0x230011===_0x4a2e7b;},'LCPrM':_0x257600(0x1fa),'XOGpz':_0x257600(0x1df),'BZVhh':function(_0x385e40,_0x50e8e2){return _0x385e40===_0x50e8e2;},'RXLae':'Integration\x20hosts\x20missing.','WriII':function(_0xb7b9a4,_0x3ab02a){return _0xb7b9a4(_0x3ab02a);},'RaVdn':_0x257600(0x1f0),'kGZKe':_0x257600(0x202),'MLbGJ':_0x257600(0x1e7),'ameOS':'Failed\x20to\x20establish\x20connection.'};try{const _0x2939d9=new BrowserStackSetup(_0x5181b1,_0x188a1a[_0x257600(0x205)]);_0x5181b1['bstackAccesskey']&&(_0x2939d9[_0x257600(0x1e6)][_0x257600(0x1ed)]=_0x5181b1['bstackAccesskey']);if(_0x188a1a[_0x257600(0x1d0)](typeof _0x2939d9['config'][_0x257600(0x1ed)],_0x188a1a['LCPrM'])){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1d3)]);throw new Error(ERROR_MESSAGES[_0x257600(0x204)][_0x257600(0x1d7)]);}const _0x48193b=_0x5181b1[_0x257600(0x1e8)];if(_0x188a1a[_0x257600(0x1ef)](typeof _0x48193b,_0x188a1a[_0x257600(0x1e1)])){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1cf)]);throw new Error(ERROR_MESSAGES[_0x257600(0x1e8)][_0x257600(0x1d7)]);}if(!_0x188a1a[_0x257600(0x1fc)](validHosts,_0x48193b)){logger[_0x257600(0x1f2)](_0x188a1a['RaVdn']);throw new Error(ERROR_MESSAGES[_0x257600(0x1e8)]['invalid']);}const _0x177505=_0x188a1a[_0x257600(0x1fc)](parseOnPremHosts,_0x48193b);_0x2939d9['config']['browserstackLocal']=!![],_0x2939d9[_0x257600(0x1e6)]['browserStackLocalOptions']['localIdentifier']=_0x188a1a[_0x257600(0x208)],_0x2939d9['config'][_0x257600(0x1e3)]['only']=_0x177505[_0x257600(0x20c)](','),helper[_0x257600(0x1eb)](_0x2939d9[_0x257600(0x1e6)]),await _0x2939d9['setupBrowserstackLocal'](),logger['info'](_0x188a1a[_0x257600(0x1f8)]);}catch(_0x38ae4e){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1da)]);throw new Error(_0x38ae4e[_0x257600(0x206)]());}};function run(_0x1b316b){const _0x1b1c53=a15_0x50b7ac,_0x54a089={};_0x54a089['dxBXc']=_0x1b1c53(0x1f6),_0x54a089[_0x1b1c53(0x1d4)]=_0x1b1c53(0x1d8);const _0xe86e28=_0x54a089;_0x1b316b[_0x1b1c53(0x1db)](HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x1d9)])[_0x1b1c53(0x1ff)](_0xe86e28[_0x1b1c53(0x209)],HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x1f6)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x1b1c53(0x1d8)](_0xe86e28['rYpHA'])[_0x1b1c53(0x1d1)](HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x20b)]);}function a15_0x363e(_0x14d8c8,_0x476f57){const _0x55bfaf=a15_0x55bf();return a15_0x363e=function(_0x363e87,_0x1da223){_0x363e87=_0x363e87-0x1cd;let _0x4f2982=_0x55bfaf[_0x363e87];return _0x4f2982;},a15_0x363e(_0x14d8c8,_0x476f57);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x557af8=a16_0x2444;(function(_0x85211,_0x66a4fe){var _0xee439=a16_0x2444,_0x4cdf0b=_0x85211();while(!![]){try{var _0x5efea0=parseInt(_0xee439(0x16a))/0x1+-parseInt(_0xee439(0x173))/0x2+-parseInt(_0xee439(0x160))/0x3+parseInt(_0xee439(0x168))/0x4+-parseInt(_0xee439(0x16e))/0x5+-parseInt(_0xee439(0x167))/0x6+parseInt(_0xee439(0x16d))/0x7;if(_0x5efea0===_0x66a4fe)break;else _0x4cdf0b['push'](_0x4cdf0b['shift']());}catch(_0x5ce306){_0x4cdf0b['push'](_0x4cdf0b['shift']());}}}(a16_0x34c5,0xbefbc));var a16_0x4039ff={};a16_0x4039ff['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x4039ff[a16_0x557af8(0x16c)]=a16_0x557af8(0x162);function a16_0x2444(_0x28a8be,_0x37ee54){var _0x34c526=a16_0x34c5();return a16_0x2444=function(_0x2444a4,_0x33dc47){_0x2444a4=_0x2444a4-0x15f;var _0x56d7aa=_0x34c526[_0x2444a4];return _0x56d7aa;},a16_0x2444(_0x28a8be,_0x37ee54);}var a16_0x1863e9={};a16_0x1863e9['root']=a16_0x557af8(0x172),a16_0x1863e9[a16_0x557af8(0x165)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a16_0x1863e9[a16_0x557af8(0x166)]=a16_0x557af8(0x16f);var a16_0x39ceae={};a16_0x39ceae[a16_0x557af8(0x169)]=a16_0x4039ff,a16_0x39ceae[a16_0x557af8(0x15f)]=a16_0x1863e9,exports[a16_0x557af8(0x174)]=a16_0x39ceae;var a16_0x3c5363={};a16_0x3c5363[a16_0x557af8(0x161)]=a16_0x557af8(0x16b);var a16_0x54b66d={};function a16_0x34c5(){var _0x310d12=['connect','footer','5282394IiIqCB','2831920AAySEi','options','1001907SjkJXm','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','8750385tvrfwd','825685wGUjVH','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','bstackAccessKey','invalid','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1611722pcGaAT','HELP_MESSAGES','command','978831aFBLLJ','missing','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.','ERROR_MESSAGES','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.'];a16_0x34c5=function(){return _0x310d12;};return a16_0x34c5();}a16_0x54b66d[a16_0x557af8(0x161)]=a16_0x557af8(0x164),a16_0x54b66d[a16_0x557af8(0x171)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a16_0x25e08a={};a16_0x25e08a[a16_0x557af8(0x170)]=a16_0x3c5363,a16_0x25e08a[a16_0x557af8(0x16c)]=a16_0x54b66d,exports[a16_0x557af8(0x163)]=a16_0x25e08a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a17_0x490a61=a17_0x19a1;(function(_0x4fae32,_0x209a4c){const _0x14d1f4=a17_0x19a1,_0x4b2038=_0x4fae32();while(!![]){try{const _0x560596=-parseInt(_0x14d1f4(0xdd))/0x1*(-parseInt(_0x14d1f4(0xb6))/0x2)+parseInt(_0x14d1f4(0x81))/0x3*(parseInt(_0x14d1f4(0x75))/0x4)+-parseInt(_0x14d1f4(0xeb))/0x5+parseInt(_0x14d1f4(0x7b))/0x6+-parseInt(_0x14d1f4(0xb2))/0x7+parseInt(_0x14d1f4(0xd6))/0x8*(-parseInt(_0x14d1f4(0x70))/0x9)+parseInt(_0x14d1f4(0x6b))/0xa*(parseInt(_0x14d1f4(0x8b))/0xb);if(_0x560596===_0x209a4c)break;else _0x4b2038['push'](_0x4b2038['shift']());}catch(_0x55602f){_0x4b2038['push'](_0x4b2038['shift']());}}}(a17_0xda35,0xc776d));function a17_0xda35(){const _0x5f1e0a=['Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','matcherName','duration','ebKcz','gUiKC','_resolveFilePath','5070860tGuvMR','pgswp','slice','ZRVPL','../../../helpers/test-observability/utils','dVUzN','failed','hHFFa','QOSrV','90TcuXDC','get','sep','endsWith','_collapseFailedExpectations','13119147TPfuUC','LcgLo','KdslX','code','rOCtZ','4moyeOS','_paths','UnhandledError','mSTEB','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','cwd','6748182gtQeEO','shouldProcessEventForTesthub','SgcFH','WnRBD','status','../../../helpers/testhub/utils','1039497mXvqZQ','set','HFMHa','failedExpectations','delete','DZUyM','message','alnZv','passed','suiteStarted','1117864hQNxeO','MTjrC','PmJfi','add','pending','suiteDone','ciajZ','_findGitConfig','fullName','BOAgi','push','cxUtR','ReLee','backtrace','GHfkN','ThtfF','JASMINE','jasmineStarted','KvDRs','GapaP','vpVxz','has','join','\x20:\x20','_suitesById','../testRunMap','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','KjMMI','eEaAD','gnIlf','TestRunFinished','filename','axKpE','kBsGT','specStarted','_fileNameByFullName','aBYTC','FqmhE','../../../helpers/test-observability/sessionHandler','3445911oldjGs','description','AssertionError','dirname','2790642wbhMlQ','cXZih','zxqjZ','jasmineDone','isArray','_scopes','TestRunSkipped','_sendSpecEvent','actual','kmiig','exports','Nivve','remove','stack','failure_backtrace','statSync','QOcCV','excluded','setCurrentTestData','length','xNVfl','specDone','trim','NDXpF','skipped','TestRunStarted','started_at','rVMcN','path','uuid','parentSuiteId','../../../helpers/test-observability/constants','8XgPEmU','.git','DfNGL','expanded','reverse','zjeZB','lang','1MWwyec','uploadEventData','testObservability','iAJeg','failure','match','Exception\x20in\x20jasmine\x20specDone\x20for\x20','yeLYO'];a17_0xda35=function(){return _0x5f1e0a;};return a17_0xda35();}const path=require(a17_0x490a61(0xd2)),fs=require('fs'),{v4:uuidv4}=require(a17_0x490a61(0xd3)),testhubUtils=require(a17_0x490a61(0x80)),{FRAMEWORKS}=require(a17_0x490a61(0xd5)),SessionHandler=require(a17_0x490a61(0xb1)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x490a61(0xef)),testRunMap=require(a17_0x490a61(0xa4)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x512b81={};a17_0x512b81[a17_0x490a61(0x89)]=a17_0x490a61(0x89),a17_0x512b81[a17_0x490a61(0xf1)]='failed',a17_0x512b81[a17_0x490a61(0x8f)]=a17_0x490a61(0x8f),a17_0x512b81[a17_0x490a61(0xc7)]=a17_0x490a61(0xce);const STATUS_MAP=a17_0x512b81;class BrowserStackJasmineReporter{constructor(_0x3bfed5={}){const _0x235c9c=a17_0x490a61,_0x2dbf09={'Nivve':function(_0x2a264a){return _0x2a264a();}};this[_0x235c9c(0xdf)]=_0x2dbf09[_0x235c9c(0xc1)](isTestObservabilitySession),this[_0x235c9c(0x76)]=new PathHelper({'cwd':process[_0x235c9c(0x7a)]()},undefined),this[_0x235c9c(0xae)]=_0x3bfed5&&_0x3bfed5['fileNameByFullName']||{},this[_0x235c9c(0xa3)]=new Map();}[a17_0x490a61(0x9c)](){}[a17_0x490a61(0x8a)](_0x5c8af9){const _0x4df7e7=a17_0x490a61,_0x2701e={'axKpE':function(_0x429040,_0x3a49fd){return _0x429040!==_0x3a49fd;},'iAJeg':function(_0x28dc7d,_0x227e59){return _0x28dc7d(_0x227e59);}};try{_0x5c8af9&&_0x2701e[_0x4df7e7(0xab)](_0x5c8af9['id'],undefined)&&_0x2701e[_0x4df7e7(0xab)](_0x5c8af9['id'],null)&&this[_0x4df7e7(0xa3)]['set'](_0x5c8af9['id'],{'description':_0x5c8af9[_0x4df7e7(0xb3)],'parentSuiteId':_0x5c8af9[_0x4df7e7(0xd4)]});}catch(_0x6e261c){_0x2701e[_0x4df7e7(0xe0)](debug,_0x4df7e7(0x79)+(_0x5c8af9&&_0x5c8af9[_0x4df7e7(0x93)])+_0x4df7e7(0xa2)+_0x6e261c);}}[a17_0x490a61(0xad)](_0x2055f0){const _0xab3ad4=a17_0x490a61,_0x2752c9={'MTjrC':function(_0x265570,_0x120da9){return _0x265570!==_0x120da9;},'ZRVPL':function(_0x1d4ea2){return _0x1d4ea2();},'nBaWh':'TestRunStarted','kmiig':function(_0xe6121d,_0x5c1ecd){return _0xe6121d(_0x5c1ecd);}};try{if(_0x2752c9[_0xab3ad4(0x8c)](testhubUtils[_0xab3ad4(0x7c)](),!![]))return;const _0x4041d7=_0x2752c9[_0xab3ad4(0xee)](uuidv4);testRunMap[_0xab3ad4(0x82)](_0x2055f0['id'],_0x4041d7),this[_0xab3ad4(0xbd)](_0x2055f0,_0x4041d7,_0x2752c9['nBaWh']);}catch(_0x4fb6c7){_0x2752c9[_0xab3ad4(0xbf)](debug,_0xab3ad4(0xa5)+(_0x2055f0&&_0x2055f0[_0xab3ad4(0x93)])+_0xab3ad4(0xa2)+_0x4fb6c7);}}[a17_0x490a61(0xcb)](_0x308df2){const _0x3374e4=a17_0x490a61,_0x171339={'FqwJr':function(_0x14efb7,_0x389cba){return _0x14efb7!==_0x389cba;},'cqGcL':function(_0x40f2d5){return _0x40f2d5();},'XbQwi':function(_0x1f6683,_0x561d88){return _0x1f6683===_0x561d88;},'QOcCV':_0x3374e4(0xc7),'ThtfF':'TestRunSkipped','OtbVT':'TestRunFinished','DKmpL':function(_0x366687,_0x45a279){return _0x366687(_0x45a279);}};try{if(_0x171339['FqwJr'](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2a7520=testRunMap[_0x3374e4(0x6c)](_0x308df2['id'])||_0x171339['cqGcL'](uuidv4),_0xfce2f4=_0x171339['XbQwi'](_0x308df2[_0x3374e4(0x7f)],_0x171339[_0x3374e4(0xc6)])?_0x171339[_0x3374e4(0x9a)]:_0x171339['OtbVT'];this[_0x3374e4(0xbd)](_0x308df2,_0x2a7520,_0xfce2f4);}catch(_0x51ca54){_0x171339['DKmpL'](debug,_0x3374e4(0xe3)+(_0x308df2&&_0x308df2[_0x3374e4(0x93)])+'\x20:\x20'+_0x51ca54);}finally{_0x308df2&&(testRunMap[_0x3374e4(0xc2)](_0x308df2['id']),_specStartTimes[_0x3374e4(0x85)](_0x308df2['id']));}}[a17_0x490a61(0x90)](){}[a17_0x490a61(0xb9)](){}[a17_0x490a61(0xbd)](_0x34337b,_0x1abca4,_0x1ad64f){const _0x1c256a=a17_0x490a61,_0x4702f2={'WnRBD':function(_0x3ee74c,_0x3d1186){return _0x3ee74c===_0x3d1186;},'PmJfi':_0x1c256a(0xa9),'DfNGL':_0x1c256a(0xbc),'hprot':'File\x20path\x20could\x20not\x20be\x20found','rOCtZ':function(_0x211a35,_0x2c31fb,_0x481f93){return _0x211a35(_0x2c31fb,_0x481f93);},'dVUzN':'err','pgswp':function(_0x1961c3,_0x153b74){return _0x1961c3===_0x153b74;},'GapaP':_0x1c256a(0xcf),'BfTQJ':function(_0x5c6457,_0x17c258){return _0x5c6457!==_0x17c258;},'vpVxz':function(_0xb21564,_0x449d2a){return _0xb21564!==_0x449d2a;},'LcgLo':'javascript','ebKcz':function(_0xffa32,_0x4e9e58){return _0xffa32&&_0x4e9e58;},'xNVfl':function(_0x30f243,_0x1fdea4){return _0x30f243===_0x1fdea4;},'zxqjZ':_0x1c256a(0xce),'DZUyM':_0x1c256a(0x89),'KjMMI':function(_0x46a5a5,_0x29887a){return _0x46a5a5===_0x29887a;},'KvDRs':'number','aBYTC':_0x1c256a(0xb4),'KdslX':_0x1c256a(0x77),'cXZih':_0x1c256a(0xd0),'UTkDr':'finished_at','BOAgi':_0x1c256a(0xe1),'kBsGT':_0x1c256a(0xc4),'gnIlf':_0x1c256a(0x98),'cxUtR':'failure_reason_expanded','zjeZB':_0x1c256a(0xd9),'HFMHa':function(_0x5fb8e6,_0x2237f7){return _0x5fb8e6===_0x2237f7;},'eEaAD':function(_0x2e2c29,_0x48d01a){return _0x2e2c29(_0x48d01a);}};try{const _0xbe8642=_0x4702f2['WnRBD'](_0x1ad64f,_0x4702f2['PmJfi'])||_0x4702f2[_0x1c256a(0x7e)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)]),_0x3d5398=this['_resolveFilePath'](_0x34337b),_0x161bd1=_0x3d5398?this[_0x1c256a(0x76)]['prefixTestPath'](_0x3d5398):_0x4702f2['hprot'],_0x54b5de=_0x3d5398?this[_0x1c256a(0x92)](path['dirname'](_0x3d5398)):null,_0x3e97b5=this[_0x1c256a(0x6f)](_0x34337b[_0x1c256a(0x84)]),_0x2b8470=_0x3e97b5?_0x3e97b5['message']:undefined,_0x147b3e=_0x3e97b5?_0x4702f2[_0x1c256a(0x74)](failureData,_0x3e97b5,_0x4702f2[_0x1c256a(0xf0)]):[],_0x34c38b=new Date()['toISOString'](),_0x253da3=this[_0x1c256a(0xbb)](_0x34337b);_0x4702f2[_0x1c256a(0xec)](_0x1ad64f,_0x4702f2[_0x1c256a(0x9e)])&&_0x34337b&&_0x4702f2['BfTQJ'](_0x34337b['id'],undefined)&&_0x4702f2[_0x1c256a(0x9f)](_0x34337b['id'],null)&&_specStartTimes[_0x1c256a(0x82)](_0x34337b['id'],_0x34c38b);const _0x31dd6e=_0x4702f2['WnRBD'](_0x1ad64f,_0x4702f2['GapaP'])?_0x34c38b:_0x34337b&&_specStartTimes[_0x1c256a(0x6c)](_0x34337b['id'])||null,_0x449948={};_0x449948[_0x1c256a(0xdc)]=_0x4702f2[_0x1c256a(0x71)],_0x449948[_0x1c256a(0x73)]=null;const _0xd612d9={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1abca4,'name':_0x34337b[_0x1c256a(0xb3)],'body':_0x449948,'scope':_0x253da3[_0x1c256a(0xa1)]('\x20'),'scopes':_0x253da3,'identifier':_0x34337b[_0x1c256a(0x93)],'file_name':_0x161bd1,'vc_filepath':_0x4702f2[_0x1c256a(0xe8)](_0x54b5de,_0x3d5398)?path['relative'](_0x54b5de,_0x3d5398):null,'location':_0x161bd1,'result':_0x4702f2[_0x1c256a(0xca)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])?_0x4702f2[_0x1c256a(0xb8)]:STATUS_MAP[_0x34337b[_0x1c256a(0x7f)]]||_0x4702f2[_0x1c256a(0x86)],'failure_reason':_0x2b8470,'duration_in_ms':_0x4702f2[_0x1c256a(0xa6)](typeof _0x34337b[_0x1c256a(0xe7)],_0x4702f2[_0x1c256a(0x9d)])?_0x34337b['duration']:null,'started_at':_0x31dd6e,'finished_at':_0xbe8642?_0x34c38b:null,'failure':_0x147b3e,'failure_type':!_0x2b8470?null:_0x2b8470[_0x1c256a(0xe2)](/AssertionError/)?_0x4702f2[_0x1c256a(0xaf)]:_0x4702f2[_0x1c256a(0x72)],'retry_of':null};_0x4702f2[_0x1c256a(0xec)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])&&!_0xd612d9[_0x4702f2[_0x1c256a(0xb7)]]&&(_0xd612d9[_0x4702f2[_0x1c256a(0xb7)]]=_0xd612d9[_0x4702f2['UTkDr']]);const _0x2ea5c5=_0xd612d9[_0x4702f2[_0x1c256a(0x94)]][0x0];_0x2ea5c5&&(_0xd612d9[_0x4702f2[_0x1c256a(0xac)]]=_0x2ea5c5[_0x4702f2[_0x1c256a(0xa8)]],_0xd612d9[_0x4702f2[_0x1c256a(0x96)]]=_0x2ea5c5[_0x4702f2[_0x1c256a(0xdb)]]);testhubUtils['appendTesthubParams'](_0xd612d9,_0x1ad64f,_0x34337b,FRAMEWORKS[_0x1c256a(0x9b)]);const _0x4042b0={'event_type':_0x4702f2[_0x1c256a(0x83)](_0x1ad64f,_0x4702f2[_0x1c256a(0xd8)])?_0x4702f2[_0x1c256a(0x8d)]:_0x1ad64f,'test_run':_0xd612d9};return testhubUtils[_0x1c256a(0xc8)](FRAMEWORKS[_0x1c256a(0x9b)],_0x4042b0),SessionHandler[_0x1c256a(0xde)](_0x4042b0);}catch(_0x4faec9){_0x4702f2[_0x1c256a(0xa7)](debug,_0x1c256a(0xe5)+_0x1ad64f+_0x1c256a(0xa2)+_0x4faec9);}}[a17_0x490a61(0xbb)](_0x38be6){const _0x420a6b=a17_0x490a61,_0x25fc21={'FqmhE':function(_0x5645b7,_0x51a174){return _0x5645b7!==_0x51a174;},'LJAzX':function(_0x36580f,_0x411dff){return _0x36580f>_0x411dff;},'rVMcN':function(_0x563c2c,_0x11f077){return _0x563c2c(_0x11f077);},'gUiKC':function(_0x39336b,_0x2a535e){return _0x39336b-_0x2a535e;}};try{const _0x3a66f2=[];let _0x47527d=_0x38be6&&_0x38be6['parentSuiteId'];const _0x50a81f=new Set();while(_0x25fc21[_0x420a6b(0xb0)](_0x47527d,undefined)&&_0x25fc21[_0x420a6b(0xb0)](_0x47527d,null)&&this[_0x420a6b(0xa3)][_0x420a6b(0xa0)](_0x47527d)&&!_0x50a81f['has'](_0x47527d)){_0x50a81f[_0x420a6b(0x8e)](_0x47527d);const _0x55e1b2=this['_suitesById'][_0x420a6b(0x6c)](_0x47527d);_0x55e1b2&&_0x55e1b2[_0x420a6b(0xb3)]&&_0x3a66f2[_0x420a6b(0x95)](_0x55e1b2[_0x420a6b(0xb3)]),_0x47527d=_0x55e1b2?_0x55e1b2[_0x420a6b(0xd4)]:null;}if(_0x25fc21['LJAzX'](_0x3a66f2[_0x420a6b(0xc9)],0x0))return _0x3a66f2[_0x420a6b(0xda)]();}catch(_0x46cc62){_0x25fc21[_0x420a6b(0xd1)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x38be6&&_0x38be6[_0x420a6b(0x93)])+'\x20:\x20'+_0x46cc62);}const _0x47e7a9=_0x38be6&&_0x38be6[_0x420a6b(0x93)]||'',_0x50f02f=_0x38be6&&_0x38be6['description']||'';let _0x578cd9=_0x47e7a9;return _0x50f02f&&_0x47e7a9[_0x420a6b(0x6e)](_0x50f02f)&&(_0x578cd9=_0x47e7a9[_0x420a6b(0xed)](0x0,_0x25fc21[_0x420a6b(0xe9)](_0x47e7a9[_0x420a6b(0xc9)],_0x50f02f['length']))[_0x420a6b(0xcc)]()),_0x578cd9?_0x578cd9['split'](/\s+/):[];}[a17_0x490a61(0xea)](_0x23247d){const _0x36aefd=a17_0x490a61,_0x1d11df={};_0x1d11df[_0x36aefd(0xf2)]=function(_0x23b165,_0xb83de5){return _0x23b165===_0xb83de5;},_0x1d11df[_0x36aefd(0x91)]=function(_0x1caef3,_0x125896){return _0x1caef3+_0x125896;},_0x1d11df['yeLYO']=function(_0x484bae,_0x2a1c59){return _0x484bae>_0x2a1c59;};const _0x21b870=_0x1d11df;if(_0x23247d&&_0x23247d[_0x36aefd(0xaa)])return _0x23247d[_0x36aefd(0xaa)];if(_0x23247d&&_0x23247d['fullName']){if(this[_0x36aefd(0xae)][_0x23247d['fullName']])return this[_0x36aefd(0xae)][_0x23247d[_0x36aefd(0x93)]];let _0x1ad4bf=null,_0x414ab3=-0x1;for(const _0x1ee647 of Object['keys'](this[_0x36aefd(0xae)])){(_0x21b870[_0x36aefd(0xf2)](_0x23247d[_0x36aefd(0x93)],_0x1ee647)||_0x23247d[_0x36aefd(0x93)]['startsWith'](_0x21b870['ciajZ'](_0x1ee647,'\x20')))&&_0x21b870[_0x36aefd(0xe4)](_0x1ee647[_0x36aefd(0xc9)],_0x414ab3)&&(_0x1ad4bf=this[_0x36aefd(0xae)][_0x1ee647],_0x414ab3=_0x1ee647['length']);}if(_0x1ad4bf)return _0x1ad4bf;}return null;}[a17_0x490a61(0x6f)](_0x4701a2){const _0x4530b4=a17_0x490a61,_0x526192={};_0x526192['alnZv']=function(_0x20e00d,_0x507eef){return _0x20e00d===_0x507eef;},_0x526192[_0x4530b4(0x97)]='Spec\x20failed';const _0x3b590c=_0x526192;if(!Array[_0x4530b4(0xba)](_0x4701a2)||_0x3b590c[_0x4530b4(0x88)](_0x4701a2[_0x4530b4(0xc9)],0x0))return undefined;const _0x28c711=[],_0x5ea6e8=[];for(const _0x40517c of _0x4701a2){_0x40517c&&_0x40517c['message']&&_0x28c711[_0x4530b4(0x95)](_0x40517c[_0x4530b4(0x87)]),_0x40517c&&_0x40517c[_0x4530b4(0xc3)]&&_0x5ea6e8[_0x4530b4(0x95)](_0x40517c[_0x4530b4(0xc3)]);}const _0x102d6b=_0x4701a2[0x0]||{},_0x8e43ca=_0x28c711[_0x4530b4(0xa1)]('\x0a')||_0x102d6b['message']||_0x3b590c['ReLee'],_0x30b0a9=_0x5ea6e8['join']('\x0a\x0a')||_0x102d6b[_0x4530b4(0xc3)]||_0x8e43ca,_0xa22679={};return _0xa22679[_0x4530b4(0x87)]=_0x8e43ca,_0xa22679['stack']=_0x30b0a9,_0xa22679[_0x4530b4(0xe6)]=_0x102d6b['matcherName'],_0xa22679['expected']=_0x102d6b['expected'],_0xa22679[_0x4530b4(0xbe)]=_0x102d6b[_0x4530b4(0xbe)],_0xa22679;}[a17_0x490a61(0x92)](_0x240648){const _0x388d88=a17_0x490a61,_0x1e735b={};_0x1e735b['xkBAS']=function(_0x3d1888,_0x1a7753){return _0x3d1888===_0x1a7753;},_0x1e735b[_0x388d88(0x78)]=function(_0x16d167,_0x3057d3){return _0x16d167===_0x3057d3;},_0x1e735b[_0x388d88(0x99)]=function(_0x35380d,_0x3574e3){return _0x35380d===_0x3574e3;},_0x1e735b[_0x388d88(0x6a)]=function(_0x592431,_0x323448){return _0x592431===_0x323448;},_0x1e735b[_0x388d88(0xcd)]=_0x388d88(0xd7),_0x1e735b[_0x388d88(0x7d)]='config';const _0x3af6d4=_0x1e735b,_0x3e613e=path[_0x388d88(0x6d)];if(_0x3af6d4['xkBAS'](_0x240648,null)||_0x3af6d4['mSTEB'](_0x240648,'')||_0x3af6d4[_0x388d88(0x99)](_0x240648,_0x3e613e)||_0x3af6d4[_0x388d88(0x6a)](_0x240648,path['dirname'](_0x240648)))return null;try{return fs[_0x388d88(0xc5)](path[_0x388d88(0xa1)](_0x240648,_0x3af6d4['NDXpF'],_0x3af6d4[_0x388d88(0x7d)])),_0x240648;}catch(_0x450bf1){return this[_0x388d88(0x92)](path[_0x388d88(0xb5)](_0x240648));}}}function a17_0x19a1(_0x25d30e,_0x1ec3c2){const _0xda3540=a17_0xda35();return a17_0x19a1=function(_0x19a1e9,_0x553a1c){_0x19a1e9=_0x19a1e9-0x6a;let _0x3604d9=_0xda3540[_0x19a1e9];return _0x3604d9;},a17_0x19a1(_0x25d30e,_0x1ec3c2);}module[a17_0x490a61(0xc0)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a17_0x29e003=a17_0x3440;(function(_0x2a7274,_0x1844e0){const _0x1fcca3=a17_0x3440,_0x3705a5=_0x2a7274();while(!![]){try{const _0x541f27=-parseInt(_0x1fcca3(0x181))/0x1+-parseInt(_0x1fcca3(0x1ec))/0x2*(-parseInt(_0x1fcca3(0x1c6))/0x3)+-parseInt(_0x1fcca3(0x195))/0x4*(-parseInt(_0x1fcca3(0x191))/0x5)+-parseInt(_0x1fcca3(0x1e1))/0x6*(parseInt(_0x1fcca3(0x1b6))/0x7)+parseInt(_0x1fcca3(0x1d6))/0x8*(parseInt(_0x1fcca3(0x1da))/0x9)+-parseInt(_0x1fcca3(0x1c9))/0xa*(-parseInt(_0x1fcca3(0x1c4))/0xb)+-parseInt(_0x1fcca3(0x16d))/0xc*(parseInt(_0x1fcca3(0x1d5))/0xd);if(_0x541f27===_0x1844e0)break;else _0x3705a5['push'](_0x3705a5['shift']());}catch(_0x41624b){_0x3705a5['push'](_0x3705a5['shift']());}}}(a17_0x5526,0x1e117));const path=require(a17_0x29e003(0x1df)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x29e003(0x17f)),{FRAMEWORKS}=require(a17_0x29e003(0x19f)),SessionHandler=require(a17_0x29e003(0x1b8)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a17_0x29e003(0x1bd)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x29e003(0x1d8),a17_0x2ebc6c={};a17_0x2ebc6c[a17_0x29e003(0x1d3)]=a17_0x29e003(0x1d3),a17_0x2ebc6c['failed']='failed',a17_0x2ebc6c['pending']='pending',a17_0x2ebc6c[a17_0x29e003(0x192)]=a17_0x29e003(0x1dc);function a17_0x3440(_0x578e04,_0x396c57){const _0x552653=a17_0x5526();return a17_0x3440=function(_0x344079,_0x3af164){_0x344079=_0x344079-0x16c;let _0x431fd1=_0x552653[_0x344079];return _0x431fd1;},a17_0x3440(_0x578e04,_0x396c57);}function a17_0x5526(){const _0x3d0f6b=['split','ZxpTj','iPBrB','NTOsi','MNhwa','JjZDe','_scopes','shouldProcessEventForTesthub','filename','kbVLX','status','LGujR','yEeMk','delete','UnhandledError','683490sHWnza','excluded','ePpOm','_fileNameByFullName','4LXqTsK','OYiLx','specDone','ADUVK','has','rslVw','length','RiazT','.git','dXviB','../../../helpers/test-observability/constants','toISOString','fullName','knOqn','get','stack','oAQsM','duration','parentSuiteId','piBLJ','matcherName','File\x20path\x20could\x20not\x20be\x20found','FdHbc','IbMaQ','KJuDi','atDDf','SUgMQ','err','backtrace','appendTesthubParams','AIjCm','_findGitConfig','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','81935adxcbO','gokhm','../../../helpers/test-observability/sessionHandler','failure_backtrace','YoqyW','slice','trim','../testRunMap','OPnBc','javascript','aFxUP','config','IjRwY','_suitesById','121dpbiAs','cyebK','28173GhtusS','hLTBX','isArray','106090DlWXQz','suiteDone','testObservability','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','oaAEQ','mNCLC','_resolveFilePath','RVCPu','description','Frxpj','passed','dirname','2671279UrZhBF','946472uftRjB','pUzkK','Jasmine','prefixTestPath','18GWuTeW','failure','skipped','join','TestRunFinished','path','actual','78KgDhpX','_paths','endsWith','jasmineDone','IXOId','NaUAF','message','VEnnx','started_at','_collapseFailedExpectations','finished_at','2NIXwzn','lRLbP','number','lang','Exception\x20in\x20jasmine\x20specDone\x20for\x20','HwxvQ','set','RWVeH','\x20:\x20','wSZHW','exports','startsWith','12xJecUL','RwlWo','TestRunStarted','qWwyQ','MDtWg','relative','expected','TestRunSkipped','cwd','qLwYL','push','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','JASMINE','IteyJ','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_sendSpecEvent','mEkao','remove','../../../helpers/testhub/utils','Spec\x20failed','18599kZgYzX'];a17_0x5526=function(){return _0x3d0f6b;};return a17_0x5526();}const STATUS_MAP=a17_0x2ebc6c;class BrowserStackJasmineReporter{constructor(_0x14a1b1={}){const _0x321041=a17_0x29e003,_0x4ae074={'MDtWg':function(_0x44c843){return _0x44c843();}};this[_0x321041(0x1cb)]=_0x4ae074[_0x321041(0x171)](isTestObservabilitySession),this[_0x321041(0x1e2)]=new PathHelper({'cwd':process[_0x321041(0x175)]()},undefined),this[_0x321041(0x194)]=_0x14a1b1&&_0x14a1b1['fileNameByFullName']||{},this[_0x321041(0x1c3)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x2f63c0){const _0x6fe229=a17_0x29e003,_0xc82479={'uiPRb':function(_0x2fa461,_0x2ea5de){return _0x2fa461!==_0x2ea5de;},'KJuDi':function(_0xca7603,_0x43fa26){return _0xca7603!==_0x43fa26;},'GlXux':function(_0x15eece,_0x767411){return _0x15eece(_0x767411);}};try{_0x2f63c0&&_0xc82479['uiPRb'](_0x2f63c0['id'],undefined)&&_0xc82479[_0x6fe229(0x1ad)](_0x2f63c0['id'],null)&&this[_0x6fe229(0x1c3)][_0x6fe229(0x1f2)](_0x2f63c0['id'],{'description':_0x2f63c0[_0x6fe229(0x1d1)],'parentSuiteId':_0x2f63c0[_0x6fe229(0x1a7)]});}catch(_0x5523f8){_0xc82479['GlXux'](debug,_0x6fe229(0x1cc)+(_0x2f63c0&&_0x2f63c0[_0x6fe229(0x1a1)])+_0x6fe229(0x1f4)+_0x5523f8);}}['specStarted'](_0x22037e){const _0x251886=a17_0x29e003,_0x116798={'kbVLX':function(_0xc45fb4,_0xe8b423){return _0xc45fb4!==_0xe8b423;},'OYiLx':function(_0x9a11a9){return _0x9a11a9();},'IteyJ':'TestRunStarted','cyebK':function(_0x32054e,_0x35cf7a){return _0x32054e(_0x35cf7a);}};try{if(_0x116798[_0x251886(0x18b)](testhubUtils[_0x251886(0x189)](),!![]))return;const _0x308142=_0x116798[_0x251886(0x196)](uuidv4);testRunMap[_0x251886(0x1f2)](_0x22037e['id'],_0x308142),this['_sendSpecEvent'](_0x22037e,_0x308142,_0x116798[_0x251886(0x17a)]);}catch(_0x5a32a7){_0x116798[_0x251886(0x1c5)](debug,_0x251886(0x178)+(_0x22037e&&_0x22037e[_0x251886(0x1a1)])+'\x20:\x20'+_0x5a32a7);}}[a17_0x29e003(0x197)](_0x39128d){const _0x6ce174=a17_0x29e003,_0x560f3c={'ePpOm':function(_0x1b191b,_0x49da59){return _0x1b191b!==_0x49da59;},'HwxvQ':function(_0xa359e0){return _0xa359e0();},'mNCLC':function(_0x507886,_0x3fb115){return _0x507886===_0x3fb115;},'qWwyQ':'excluded','SUgMQ':_0x6ce174(0x174),'oaAEQ':_0x6ce174(0x1de),'ADUVK':function(_0x118be4,_0x230eb0){return _0x118be4(_0x230eb0);}};try{if(_0x560f3c[_0x6ce174(0x193)](testhubUtils[_0x6ce174(0x189)](),!![]))return;const _0x566b90=testRunMap[_0x6ce174(0x1a3)](_0x39128d['id'])||_0x560f3c[_0x6ce174(0x1f1)](uuidv4),_0x4709d4=_0x560f3c[_0x6ce174(0x1ce)](_0x39128d[_0x6ce174(0x18c)],_0x560f3c[_0x6ce174(0x170)])?_0x560f3c[_0x6ce174(0x1af)]:_0x560f3c[_0x6ce174(0x1cd)];this[_0x6ce174(0x17c)](_0x39128d,_0x566b90,_0x4709d4);}catch(_0x2bcf47){_0x560f3c[_0x6ce174(0x198)](debug,_0x6ce174(0x1f0)+(_0x39128d&&_0x39128d['fullName'])+'\x20:\x20'+_0x2bcf47);}finally{_0x39128d&&(testRunMap[_0x6ce174(0x17e)](_0x39128d['id']),_specStartTimes[_0x6ce174(0x18f)](_0x39128d['id']));}}[a17_0x29e003(0x1ca)](){}[a17_0x29e003(0x1e4)](){}['_sendSpecEvent'](_0x3d180f,_0x28fb15,_0x39945d){const _0x43f127=a17_0x29e003,_0x47c930={'JjZDe':function(_0x47ffaf,_0x28efae){return _0x47ffaf===_0x28efae;},'lRLbP':'TestRunFinished','mEkao':_0x43f127(0x174),'BCMfJ':_0x43f127(0x1aa),'RwlWo':function(_0x5095cb,_0x127200,_0x56fd8f){return _0x5095cb(_0x127200,_0x56fd8f);},'OPnBc':_0x43f127(0x1b0),'AIjCm':_0x43f127(0x16f),'IjRwY':function(_0x4bb846,_0x29e321){return _0x4bb846!==_0x29e321;},'dXviB':function(_0x2e9535,_0x4d9621){return _0x2e9535!==_0x4d9621;},'UisLX':function(_0x4ea42b,_0x40fbe3){return _0x4ea42b===_0x40fbe3;},'LGujR':_0x43f127(0x1bf),'pUzkK':function(_0x25385e,_0x5c6e57){return _0x25385e&&_0x5c6e57;},'hLTBX':function(_0x2054de,_0x2786fd){return _0x2054de===_0x2786fd;},'gokhm':_0x43f127(0x1dc),'CQPPz':'passed','knOqn':function(_0x1ccc1c,_0x381748){return _0x1ccc1c===_0x381748;},'oAQsM':_0x43f127(0x1ee),'RVCPu':'AssertionError','YoqyW':_0x43f127(0x190),'rslVw':function(_0x1f71a3,_0x61f622){return _0x1f71a3===_0x61f622;},'iPBrB':_0x43f127(0x1e9),'TbrDA':_0x43f127(0x1eb),'qLwYL':_0x43f127(0x1db),'piBLJ':_0x43f127(0x1b9),'RWVeH':_0x43f127(0x1b1),'Frxpj':'failure_reason_expanded','yEeMk':'expanded','NaUAF':function(_0x594a55,_0x459d55){return _0x594a55(_0x459d55);}};try{const _0x433894=_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930[_0x43f127(0x1ed)])||_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930['mEkao']),_0x58801a=this[_0x43f127(0x1cf)](_0x3d180f),_0xaf2c89=_0x58801a?this[_0x43f127(0x1e2)][_0x43f127(0x1d9)](_0x58801a):_0x47c930['BCMfJ'],_0x7e0af6=_0x58801a?this['_findGitConfig'](path[_0x43f127(0x1d4)](_0x58801a)):null,_0x56691b=this[_0x43f127(0x1ea)](_0x3d180f['failedExpectations']),_0x49ec92=_0x56691b?_0x56691b['message']:undefined,_0x4a9f02=_0x56691b?_0x47c930[_0x43f127(0x16e)](failureData,_0x56691b,_0x47c930[_0x43f127(0x1be)]):[],_0x1b41b8=new Date()[_0x43f127(0x1a0)](),_0x3099d9=this[_0x43f127(0x188)](_0x3d180f);_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930[_0x43f127(0x1b3)])&&_0x3d180f&&_0x47c930[_0x43f127(0x1c2)](_0x3d180f['id'],undefined)&&_0x47c930[_0x43f127(0x19e)](_0x3d180f['id'],null)&&_specStartTimes[_0x43f127(0x1f2)](_0x3d180f['id'],_0x1b41b8);const _0x1c2009=_0x47c930['UisLX'](_0x39945d,_0x47c930['AIjCm'])?_0x1b41b8:_0x3d180f&&_specStartTimes[_0x43f127(0x1a3)](_0x3d180f['id'])||null,_0x3c1202={};_0x3c1202[_0x43f127(0x1ef)]=_0x47c930[_0x43f127(0x18d)],_0x3c1202['code']=null;const _0x483507={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x28fb15,'name':_0x3d180f['description'],'body':_0x3c1202,'scope':_0x3099d9[_0x43f127(0x1dd)]('\x20'),'scopes':_0x3099d9,'identifier':_0x3d180f[_0x43f127(0x1a1)],'file_name':_0xaf2c89,'vc_filepath':_0x47c930[_0x43f127(0x1d7)](_0x7e0af6,_0x58801a)?path[_0x43f127(0x172)](_0x7e0af6,_0x58801a):null,'location':_0xaf2c89,'result':_0x47c930[_0x43f127(0x1c7)](_0x39945d,_0x47c930['mEkao'])?_0x47c930[_0x43f127(0x1b7)]:STATUS_MAP[_0x3d180f[_0x43f127(0x18c)]]||_0x47c930['CQPPz'],'failure_reason':_0x49ec92,'duration_in_ms':_0x47c930['knOqn'](typeof _0x3d180f['duration'],_0x47c930[_0x43f127(0x1a5)])?_0x3d180f[_0x43f127(0x1a6)]:null,'started_at':_0x1c2009,'finished_at':_0x433894?_0x1b41b8:null,'failure':_0x4a9f02,'failure_type':!_0x49ec92?null:_0x49ec92['match'](/AssertionError/)?_0x47c930[_0x43f127(0x1d0)]:_0x47c930[_0x43f127(0x1ba)],'retry_of':null};_0x47c930[_0x43f127(0x19a)](_0x39945d,_0x47c930['mEkao'])&&!_0x483507[_0x47c930[_0x43f127(0x184)]]&&(_0x483507[_0x47c930[_0x43f127(0x184)]]=_0x483507[_0x47c930['TbrDA']]);const _0xbb7452=_0x483507[_0x47c930[_0x43f127(0x176)]][0x0];_0xbb7452&&(_0x483507[_0x47c930[_0x43f127(0x1a8)]]=_0xbb7452[_0x47c930[_0x43f127(0x1f3)]],_0x483507[_0x47c930[_0x43f127(0x1d2)]]=_0xbb7452[_0x47c930[_0x43f127(0x18e)]]);testhubUtils[_0x43f127(0x1b2)](_0x483507,_0x39945d,_0x3d180f,FRAMEWORKS['JASMINE']);const _0x2b712b={'event_type':_0x47c930[_0x43f127(0x1a2)](_0x39945d,_0x47c930[_0x43f127(0x17d)])?_0x47c930[_0x43f127(0x1ed)]:_0x39945d,'test_run':_0x483507};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x43f127(0x179)],_0x2b712b),SessionHandler['uploadEventData'](_0x2b712b);}catch(_0x29ac8e){_0x47c930[_0x43f127(0x1e6)](debug,_0x43f127(0x17b)+_0x39945d+_0x43f127(0x1f4)+_0x29ac8e);}}[a17_0x29e003(0x188)](_0x2c3579){const _0x5813cd=a17_0x29e003,_0x456bd5={'FdHbc':function(_0x58343c,_0x11771d){return _0x58343c!==_0x11771d;},'IkSIW':function(_0x1adc0c,_0x4dbbda){return _0x1adc0c>_0x4dbbda;},'aFxUP':function(_0x31289f,_0x2dbffa){return _0x31289f(_0x2dbffa);},'wSZHW':function(_0x198d3a,_0x18f37a){return _0x198d3a-_0x18f37a;}};try{const _0x5e21a6=[];let _0x7f18f4=_0x2c3579&&_0x2c3579['parentSuiteId'];const _0x57b6e3=new Set();while(_0x456bd5[_0x5813cd(0x1ab)](_0x7f18f4,undefined)&&_0x456bd5[_0x5813cd(0x1ab)](_0x7f18f4,null)&&this[_0x5813cd(0x1c3)][_0x5813cd(0x199)](_0x7f18f4)&&!_0x57b6e3[_0x5813cd(0x199)](_0x7f18f4)){_0x57b6e3['add'](_0x7f18f4);const _0x3ad3cd=this[_0x5813cd(0x1c3)][_0x5813cd(0x1a3)](_0x7f18f4);_0x3ad3cd&&_0x3ad3cd[_0x5813cd(0x1d1)]&&_0x5e21a6['push'](_0x3ad3cd['description']),_0x7f18f4=_0x3ad3cd?_0x3ad3cd[_0x5813cd(0x1a7)]:null;}if(_0x456bd5['IkSIW'](_0x5e21a6[_0x5813cd(0x19b)],0x0))return _0x5e21a6['reverse']();}catch(_0x505fee){_0x456bd5[_0x5813cd(0x1c0)](debug,_0x5813cd(0x1b5)+(_0x2c3579&&_0x2c3579[_0x5813cd(0x1a1)])+_0x5813cd(0x1f4)+_0x505fee);}const _0x795025=_0x2c3579&&_0x2c3579[_0x5813cd(0x1a1)]||'',_0x4353a3=_0x2c3579&&_0x2c3579[_0x5813cd(0x1d1)]||'';let _0xa54b24=_0x795025;return _0x4353a3&&_0x795025[_0x5813cd(0x1e3)](_0x4353a3)&&(_0xa54b24=_0x795025[_0x5813cd(0x1bb)](0x0,_0x456bd5[_0x5813cd(0x1f5)](_0x795025['length'],_0x4353a3[_0x5813cd(0x19b)]))[_0x5813cd(0x1bc)]()),_0xa54b24?_0xa54b24[_0x5813cd(0x182)](/\s+/):[];}['_resolveFilePath'](_0xb5ccb2){const _0x152cd4=a17_0x29e003,_0x33fdcd={};_0x33fdcd[_0x152cd4(0x1e8)]=function(_0x340ebc,_0x3a100f){return _0x340ebc===_0x3a100f;},_0x33fdcd[_0x152cd4(0x1ac)]=function(_0x3c2867,_0x2377eb){return _0x3c2867+_0x2377eb;},_0x33fdcd['RiazT']=function(_0x1e4c2b,_0x305061){return _0x1e4c2b>_0x305061;};const _0x30938b=_0x33fdcd;if(_0xb5ccb2&&_0xb5ccb2['filename'])return _0xb5ccb2[_0x152cd4(0x18a)];if(_0xb5ccb2&&_0xb5ccb2[_0x152cd4(0x1a1)]){if(this[_0x152cd4(0x194)][_0xb5ccb2['fullName']])return this['_fileNameByFullName'][_0xb5ccb2[_0x152cd4(0x1a1)]];let _0x5eefb0=null,_0x5dafad=-0x1;for(const _0x186938 of Object['keys'](this[_0x152cd4(0x194)])){(_0x30938b[_0x152cd4(0x1e8)](_0xb5ccb2['fullName'],_0x186938)||_0xb5ccb2[_0x152cd4(0x1a1)][_0x152cd4(0x16c)](_0x30938b[_0x152cd4(0x1ac)](_0x186938,'\x20')))&&_0x30938b[_0x152cd4(0x19c)](_0x186938[_0x152cd4(0x19b)],_0x5dafad)&&(_0x5eefb0=this[_0x152cd4(0x194)][_0x186938],_0x5dafad=_0x186938[_0x152cd4(0x19b)]);}if(_0x5eefb0)return _0x5eefb0;}return null;}[a17_0x29e003(0x1ea)](_0x22b304){const _0x4ca4da=a17_0x29e003,_0x1e5f44={};_0x1e5f44[_0x4ca4da(0x186)]=function(_0x5d0733,_0x46f0b2){return _0x5d0733===_0x46f0b2;},_0x1e5f44[_0x4ca4da(0x1ae)]=_0x4ca4da(0x180);const _0x5179f9=_0x1e5f44;if(!Array[_0x4ca4da(0x1c8)](_0x22b304)||_0x5179f9[_0x4ca4da(0x186)](_0x22b304[_0x4ca4da(0x19b)],0x0))return undefined;const _0x105c60=[],_0x55b6c4=[];for(const _0x17a83f of _0x22b304){_0x17a83f&&_0x17a83f[_0x4ca4da(0x1e7)]&&_0x105c60[_0x4ca4da(0x177)](_0x17a83f[_0x4ca4da(0x1e7)]),_0x17a83f&&_0x17a83f[_0x4ca4da(0x1a4)]&&_0x55b6c4[_0x4ca4da(0x177)](_0x17a83f[_0x4ca4da(0x1a4)]);}const _0x2744ed=_0x22b304[0x0]||{},_0x5196b1=_0x105c60[_0x4ca4da(0x1dd)]('\x0a')||_0x2744ed['message']||_0x5179f9[_0x4ca4da(0x1ae)],_0x58a642=_0x55b6c4[_0x4ca4da(0x1dd)]('\x0a\x0a')||_0x2744ed['stack']||_0x5196b1,_0xb1baea={};return _0xb1baea[_0x4ca4da(0x1e7)]=_0x5196b1,_0xb1baea[_0x4ca4da(0x1a4)]=_0x58a642,_0xb1baea[_0x4ca4da(0x1a9)]=_0x2744ed[_0x4ca4da(0x1a9)],_0xb1baea[_0x4ca4da(0x173)]=_0x2744ed[_0x4ca4da(0x173)],_0xb1baea[_0x4ca4da(0x1e0)]=_0x2744ed[_0x4ca4da(0x1e0)],_0xb1baea;}[a17_0x29e003(0x1b4)](_0x590908){const _0x3cd894=a17_0x29e003,_0x506271={};_0x506271['NTOsi']=function(_0x50cb02,_0x1dcccf){return _0x50cb02===_0x1dcccf;},_0x506271[_0x3cd894(0x1e5)]=_0x3cd894(0x19d),_0x506271[_0x3cd894(0x183)]=_0x3cd894(0x1c1);const _0x26c2ca=_0x506271,_0x4b0ec6=path['sep'];if(_0x26c2ca[_0x3cd894(0x185)](_0x590908,null)||_0x26c2ca[_0x3cd894(0x185)](_0x590908,'')||_0x26c2ca[_0x3cd894(0x185)](_0x590908,_0x4b0ec6)||_0x26c2ca[_0x3cd894(0x185)](_0x590908,path[_0x3cd894(0x1d4)](_0x590908)))return null;try{return fs['statSync'](path[_0x3cd894(0x1dd)](_0x590908,_0x26c2ca['IXOId'],_0x26c2ca['ZxpTj'])),_0x590908;}catch(_0x2a1520){return this[_0x3cd894(0x1b4)](path[_0x3cd894(0x1d4)](_0x590908));}}}module[a17_0x29e003(0x1f6)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0x46b0b2=a18_0x1737;(function(_0x3e5e84,_0x126e2e){const _0x41e1e9=a18_0x1737,_0x561f8c=_0x3e5e84();while(!![]){try{const _0x490af9=parseInt(_0x41e1e9(0x14a))/0x1*(-parseInt(_0x41e1e9(0x1b2))/0x2)+parseInt(_0x41e1e9(0x164))/0x3*(parseInt(_0x41e1e9(0x194))/0x4)+-parseInt(_0x41e1e9(0x166))/0x5+-parseInt(_0x41e1e9(0x170))/0x6*(-parseInt(_0x41e1e9(0x17d))/0x7)+parseInt(_0x41e1e9(0x1aa))/0x8+parseInt(_0x41e1e9(0x192))/0x9+-parseInt(_0x41e1e9(0x1d2))/0xa*(parseInt(_0x41e1e9(0x15d))/0xb);if(_0x490af9===_0x126e2e)break;else _0x561f8c['push'](_0x561f8c['shift']());}catch(_0x130e1a){_0x561f8c['push'](_0x561f8c['shift']());}}}(a18_0xbdb5,0xd34e0));function a18_0x1737(_0x37993a,_0x77dcb1){const _0xbdb50=a18_0xbdb5();return a18_0x1737=function(_0x173794,_0xc87bb0){_0x173794=_0x173794-0x146;let _0x563d41=_0xbdb50[_0x173794];return _0x563d41;},a18_0x1737(_0x37993a,_0x77dcb1);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x46b0b2(0x160)),glob=require(a18_0x46b0b2(0x14f)),pLimit=require(a18_0x46b0b2(0x1ce)),logger=require(a18_0x46b0b2(0x184))[a18_0x46b0b2(0x1a2)],helper=require(a18_0x46b0b2(0x1a3)),utilities=require(a18_0x46b0b2(0x167)),constants=require(a18_0x46b0b2(0x157)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x46b0b2(0x1bc)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x46b0b2(0x187)],BrowserstackCLI=require(a18_0x46b0b2(0x1bd)),{checkPwandBootstrapCli}=require(a18_0x46b0b2(0x18b)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x46b0b2(0x158)),getMaxWorkers=(_0x4af1ba,_0x5effcd)=>{const _0x2cdb2a=a18_0x46b0b2,_0x442ade={'oeNpT':function(_0xcc1bb2,_0x23f9e5){return _0xcc1bb2(_0x23f9e5);}};let _0x202fee=0x1;if(!helper[_0x2cdb2a(0x189)](_0x5effcd[_0x2cdb2a(0x156)]))_0x202fee=_0x442ade[_0x2cdb2a(0x14d)](parseInt,_0x5effcd[_0x2cdb2a(0x156)]);else!helper[_0x2cdb2a(0x189)](_0x4af1ba[_0x2cdb2a(0x1c0)])&&(_0x202fee=_0x4af1ba[_0x2cdb2a(0x1c0)]);return _0x202fee;},resolveJasmineConfigPath=()=>{const _0x39612f=a18_0x46b0b2,_0x2d12ce={};_0x2d12ce[_0x39612f(0x1b9)]='spec/support/jasmine.json';const _0x5b3b25=_0x2d12ce,_0x4d3bc5=[];process['env'][_0x39612f(0x151)]&&_0x4d3bc5[_0x39612f(0x1ca)](path[_0x39612f(0x1ad)](process[_0x39612f(0x18f)](),process[_0x39612f(0x1bf)][_0x39612f(0x151)]));_0x4d3bc5[_0x39612f(0x1ca)](path[_0x39612f(0x1ad)](process[_0x39612f(0x18f)](),_0x5b3b25[_0x39612f(0x1b9)]));for(const _0x287da3 of _0x4d3bc5){try{if(fs[_0x39612f(0x1a7)](_0x287da3))return _0x287da3;}catch(_0x537256){}}return null;},enumerateSpecFiles=_0x143648=>{const _0x28b007=a18_0x46b0b2,_0x3350c2={'UbHuo':function(_0x4d9860,_0x4ef720){return _0x4d9860(_0x4ef720);},'bcPAi':function(_0x4e18d9,_0x3c4730){return _0x4e18d9>_0x3c4730;},'Mmwyk':function(_0x55b981,_0x330e74){return _0x55b981(_0x330e74);},'xyTgx':function(_0x2b55db,_0x1c2bbc){return _0x2b55db<_0x1c2bbc;},'dEnZJ':function(_0x15cfb0,_0x1b21fa){return _0x15cfb0===_0x1b21fa;},'jfmLt':_0x28b007(0x1bb),'hsdQo':function(_0x35469e,_0x191a9b,_0xa9c98e){return _0x35469e(_0x191a9b,_0xa9c98e);},'HtmuK':function(_0x2595fb){return _0x2595fb();},'mRGgL':_0x28b007(0x1a5),'xSeyE':'spec','MGRZY':_0x28b007(0x1b6),'KeXpu':function(_0x2ecb7b,_0x657461){return _0x2ecb7b>_0x657461;},'dsWZg':function(_0x14fade,_0x59d0f8){return _0x14fade(_0x59d0f8);}};try{if(testOpsHelper[_0x28b007(0x1cc)]()){const _0x1a1c00=testOpsHelper[_0x28b007(0x152)](process[_0x28b007(0x1bf)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x28b007(0x15e)](_0x1a1c00)&&_0x3350c2[_0x28b007(0x14c)](_0x1a1c00[_0x28b007(0x1c5)],0x0))return _0x1a1c00[_0x28b007(0x1b8)](_0x5f1b43=>path['resolve'](process[_0x28b007(0x18f)](),_0x5f1b43[_0x28b007(0x18a)]()))[_0x28b007(0x168)](Boolean);}}catch(_0x8f76a0){_0x3350c2[_0x28b007(0x176)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x28b007(0x1c6)](_0x8f76a0));}const _0x894b9d=[];try{for(let _0xdf9e58=0x1;_0x3350c2[_0x28b007(0x182)](_0xdf9e58,_0x143648[_0x28b007(0x1c5)]);_0xdf9e58++){const _0x1c4c07=_0x143648[_0xdf9e58];_0x3350c2[_0x28b007(0x183)](typeof _0x1c4c07,_0x3350c2[_0x28b007(0x15b)])&&!_0x1c4c07[_0x28b007(0x169)]('-')&&_0x894b9d['push'](_0x1c4c07);}}catch(_0x28ef6c){}const _0x269078={'cwd':process[_0x28b007(0x18f)](),'absolute':!![],'nodir':!![]},_0x12b598=(_0x1f810a,_0x1c17e3)=>{const _0x4a00b7=_0x28b007,_0x4b2cb0=[];for(const _0x12925c of _0x1f810a){try{const _0x2162cf=_0x1c17e3?path[_0x4a00b7(0x19f)]['join'](_0x1c17e3,_0x12925c):_0x12925c,_0x1c7d2f=glob['globSync'](_0x2162cf,_0x269078);Array[_0x4a00b7(0x15e)](_0x1c7d2f)&&_0x4b2cb0[_0x4a00b7(0x1ca)](..._0x1c7d2f);}catch(_0x1eb719){_0x3350c2[_0x4a00b7(0x1d3)](debug,_0x4a00b7(0x1b1)+_0x12925c+_0x4a00b7(0x1a6)+util[_0x4a00b7(0x1c6)](_0x1eb719));}}return _0x4b2cb0;};if(_0x3350c2[_0x28b007(0x14c)](_0x894b9d[_0x28b007(0x1c5)],0x0)){const _0x1aae2a=_0x3350c2[_0x28b007(0x197)](_0x12b598,_0x894b9d,null);if(_0x3350c2[_0x28b007(0x14c)](_0x1aae2a[_0x28b007(0x1c5)],0x0))return Array[_0x28b007(0x1d5)](new Set(_0x1aae2a));return _0x894b9d[_0x28b007(0x1b8)](_0x224910=>path[_0x28b007(0x1ad)](process[_0x28b007(0x18f)](),_0x224910));}try{const _0x3d9205=_0x3350c2[_0x28b007(0x1b7)](resolveJasmineConfigPath);if(_0x3d9205){const _0x4ad381=JSON['parse'](fs[_0x28b007(0x159)](_0x3d9205,_0x3350c2[_0x28b007(0x173)])),_0x13f37e=_0x4ad381['spec_dir']||_0x3350c2[_0x28b007(0x1cd)],_0x39f46b=Array[_0x28b007(0x15e)](_0x4ad381[_0x28b007(0x150)])&&_0x3350c2[_0x28b007(0x14c)](_0x4ad381[_0x28b007(0x150)][_0x28b007(0x1c5)],0x0)?_0x4ad381[_0x28b007(0x150)]:[_0x3350c2['MGRZY']],_0x55cd65=_0x3350c2['hsdQo'](_0x12b598,_0x39f46b,_0x13f37e);if(_0x3350c2['KeXpu'](_0x55cd65[_0x28b007(0x1c5)],0x0))return Array[_0x28b007(0x1d5)](new Set(_0x55cd65));}}catch(_0x4cbee4){_0x3350c2['dsWZg'](debug,_0x28b007(0x16f)+util[_0x28b007(0x1c6)](_0x4cbee4));}return null;};function a18_0xbdb5(){const _0x4232d4=['../../helpers/puppeteer-helper','readFileSync','isyzx','jfmLt','unCqJ','11JpKkny','isArray','info','child_process','jasmine','\x20work-item(s),\x20max\x20','getPlatformName','3pPtowG','GeeCy','3519930OFeXIy','../../helpers/utilities','filter','startsWith','initialize','proxySettings','test.setup.js','find','specArgs','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','287028rQeDog','CmnmE','\x20:\x20','mRGgL','printBuildLink','end','Mmwyk','assign','SDK_SETUP','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20',')\x20:\x20','isBrowserstackInfra','cLJCu','42zybgbi','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','xyTgx','dEnZJ','../../helpers/logger','testObservability','UIMFb','EVENTS','Atodc','isUndefined','trim','../../helpers/playwright-helper','nQCOC',';\x20proceeding\x20without\x20injection','error','cwd','BROWSERSTACK_CLI_BIN_SESSION_ID','jasmine\x20child\x20(platformIndex=','8054694epEnRn','bBNCM','4969412FjrviP','CqrrJ','platformIndex','hsdQo','JnTDz',',\x20specs=','launchBuild','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','NfYcT','config','all','posix','stringify','BROWSERSTACK_TEST_OBSERVABILITY_YML','winstonLogger','../../helpers/helper','\x20platform(s),\x20parallelsPerPlatform=','utf8','\x27\x20:\x20','existsSync','pNGiQ','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','1966720rHCSzv','fUWOx','platform','resolve','start','XYSXB','debug','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','207268SsjQay','getPackageVersion','FRAMEWORKS','hOmho','**/*[sS]pec.?(m)js','HtmuK','map','ZvHzL','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','string','../../helpers/performance/performance-tester','../v2/browserstackCLI','stop','env','maxWorkers','__isPuppeteerInstalled','getInstance','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','iQNzi','length','format','bpSyB','jQGFG','GeDbH','push','exitCode','shouldReRunObservabilityTests','xSeyE','p-limit','npx','true','\x20concurrent)','3752590wZryIq','UbHuo','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','from','binSessionId','handleApp','useW3C','fhqEO','7IXOAZm','JASMINE','bcPAi','oeNpT','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','glob','spec_files','JASMINE_CONFIG_PATH','parseFileNames','BROWSERSTACK_CAPABILITIES','isCLIEnabled','close','parallelsPerPlatform','../utils/constants'];a18_0xbdb5=function(){return _0x4232d4;};return a18_0xbdb5();}async function run(_0x289563,_0x1cb5a2,_0x2c2dde){const _0x4291c1=a18_0x46b0b2,_0x368db0={'cLJCu':function(_0x146779,_0x3676ae){return _0x146779>_0x3676ae;},'PuCyU':'all','pNGiQ':function(_0x3b1d11,_0x4667b6){return _0x3b1d11(_0x4667b6);},'CmnmE':function(_0xfbedbf,_0x17553f){return _0xfbedbf||_0x17553f;},'GeeCy':function(_0x1233e8,_0x491f62){return _0x1233e8(_0x491f62);},'NfYcT':function(_0x248b21,_0x3a37e6){return _0x248b21>_0x3a37e6;},'hOmho':function(_0x7d03d2,_0x49a547,_0x12a14a,_0x28559e){return _0x7d03d2(_0x49a547,_0x12a14a,_0x28559e);},'JnTDz':_0x4291c1(0x1cf),'isyzx':_0x4291c1(0x161),'uDsCd':function(_0x124613,_0x3e3ddd){return _0x124613===_0x3e3ddd;},'ANFHD':'win32','CqrrJ':'inherit','RnjIj':_0x4291c1(0x155),'DPzUj':_0x4291c1(0x18e),'XYSXB':function(_0x26f183,_0x4f1850){return _0x26f183(_0x4f1850);},'YpiiJ':function(_0x1ae613,_0x4a4e77){return _0x1ae613(_0x4a4e77);},'fUWOx':'@playwright/test','GeDbH':function(_0x28c88a){return _0x28c88a();},'QiVeH':function(_0x1ef2df,_0x464338,_0x7c86f0,_0x1408f1){return _0x1ef2df(_0x464338,_0x7c86f0,_0x1408f1);},'tGNTd':function(_0x494f44,_0x5dab24,_0x5b784b,_0x444ec1){return _0x494f44(_0x5dab24,_0x5b784b,_0x444ec1);},'jQGFG':function(_0x4b57eb,_0x5f146e){return _0x4b57eb!=_0x5f146e;},'MDVlg':_0x4291c1(0x1d0),'bpSyB':function(_0x3cb47b,_0x41ecef){return _0x3cb47b(_0x41ecef);},'unCqJ':function(_0x170a8a,_0x46282b){return _0x170a8a(_0x46282b);},'IpKSs':function(_0x5007b3,_0x50f289,_0x4c77de){return _0x5007b3(_0x50f289,_0x4c77de);},'bBNCM':function(_0x40ca5e,_0x4adbf8){return _0x40ca5e*_0x4adbf8;},'Atodc':function(_0x29109b,_0x5e3728){return _0x29109b(_0x5e3728);},'UIMFb':_0x4291c1(0x16c),'fhqEO':function(_0x496e0c,_0x20c83f){return _0x496e0c(_0x20c83f);},'kHtsl':function(_0x3d62d8,_0x596f5a){return _0x3d62d8(_0x596f5a);},'iQNzi':function(_0x1e39e8,_0x355750){return _0x1e39e8<_0x355750;},'RkbCG':function(_0x587dbc,_0x290e2f){return _0x587dbc(_0x290e2f);},'nQCOC':function(_0x987366,_0x4a6e55){return _0x987366>_0x4a6e55;},'pxUIm':function(_0x9a52a6,_0x17be43){return _0x9a52a6(_0x17be43);}},_0x370736=helper[_0x4291c1(0x1b3)](_0x368db0[_0x4291c1(0x1ab)]);global['__isPlaywrightInstalled']=!!_0x370736;const _0x185c2d=_0x368db0[_0x4291c1(0x1c9)](getPuppeteerVersion);global[_0x4291c1(0x1c1)]=!!_0x185c2d;helper[_0x4291c1(0x17b)]()&&(await _0x2c2dde[_0x4291c1(0x16a)](_0x289563),await helper[_0x4291c1(0x147)](_0x2c2dde[_0x4291c1(0x19d)]));if(_0x370736)await _0x368db0['QiVeH'](checkPwandBootstrapCli,_0x370736,constants[_0x4291c1(0x1b4)][_0x4291c1(0x14b)],_0x2c2dde);else _0x185c2d&&await _0x368db0['tGNTd'](checkPuppeteerAndBootstrapCli,_0x185c2d,constants[_0x4291c1(0x1b4)][_0x4291c1(0x14b)],_0x2c2dde);if(!_0x2c2dde[_0x4291c1(0x19d)])return;_0x368db0[_0x4291c1(0x1c8)](_0x2c2dde['config'][_0x4291c1(0x185)],null)?process[_0x4291c1(0x1bf)][_0x4291c1(0x1a1)]=_0x2c2dde[_0x4291c1(0x19d)][_0x4291c1(0x185)]:process[_0x4291c1(0x1bf)][_0x4291c1(0x1a1)]=_0x368db0['MDVlg'];!helper[_0x4291c1(0x189)](_0x2c2dde['config'][_0x4291c1(0x17f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x2c2dde['config']['accessibilityOptions']));try{await TestHubHandler[_0x4291c1(0x19a)](FRAMEWORKS[_0x4291c1(0x14b)],_0x2c2dde);}catch(_0x4ccc3b){logger['error'](_0x4291c1(0x1c3)+util['format'](_0x4ccc3b)),_0x368db0[_0x4291c1(0x165)](debug,_0x4291c1(0x17e)+util[_0x4291c1(0x1c6)](_0x4ccc3b));}let _0x1256bb=![],_0x212d73=[];try{_0x1256bb=helper[_0x4291c1(0x148)](_0x2c2dde[_0x4291c1(0x19d)]),_0x212d73=helper['prepareCapabilities'](_0x2c2dde[_0x4291c1(0x19d)],_0x1256bb,constants[_0x4291c1(0x1b4)]['JASMINE']),process[_0x4291c1(0x1bf)][_0x4291c1(0x153)]=JSON[_0x4291c1(0x1a0)](_0x212d73);}catch(_0x38ed6c){_0x368db0[_0x4291c1(0x1c7)](debug,_0x4291c1(0x179)+util[_0x4291c1(0x1c6)](_0x38ed6c));}let _0x5e6d1f=null,_0x18c34f=![];try{_0x5e6d1f=helper['getHubUrl'](_0x2c2dde[_0x4291c1(0x19d)]),_0x18c34f=helper['validPlatformsPresent'](_0x2c2dde['config']);}catch(_0x5c87a1){_0x368db0[_0x4291c1(0x15c)](debug,_0x4291c1(0x181)+util[_0x4291c1(0x1c6)](_0x5c87a1));}const _0x1b1c5c=_0x117159=>{const _0x2723e3=_0x4291c1,_0x27b8b9=Array[_0x2723e3(0x15e)](_0x212d73)&&_0x368db0['cLJCu'](_0x212d73[_0x2723e3(0x1c5)],_0x117159)?_0x212d73[_0x117159]:Array[_0x2723e3(0x15e)](_0x212d73)&&_0x368db0[_0x2723e3(0x17c)](_0x212d73[_0x2723e3(0x1c5)],0x0)?_0x212d73[0x0]:{};return{'server':_0x5e6d1f,'capability':_0x27b8b9,'proxySettings':_0x2c2dde[_0x2723e3(0x19d)][_0x2723e3(0x16b)],'platform':helper[_0x2723e3(0x163)](_0x27b8b9),'browserStackLogLevel':_0x2c2dde[_0x2723e3(0x19d)]['logLevel'],'platformIndex':_0x117159,'framework':constants[_0x2723e3(0x1b4)]['JASMINE'],'platformCaps':_0x18c34f?Object['assign']({'index':_0x117159},_0x2c2dde['config']['platforms'][_0x117159]):{'index':_0x117159}};};let _0x3e2e29=0x1,_0x4e6a8a=0x1,_0x1e13de=0x1;try{_0x3e2e29=_0x368db0['IpKSs'](getMaxWorkers,_0x289563,_0x2c2dde[_0x4291c1(0x19d)]),_0x4e6a8a=_0x18c34f?_0x2c2dde[_0x4291c1(0x19d)]['platforms'][_0x4291c1(0x1c5)]:0x1,_0x1e13de=_0x368db0[_0x4291c1(0x193)](_0x4e6a8a,_0x3e2e29),process[_0x4291c1(0x1bf)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x368db0[_0x4291c1(0x1af)](String,_0x1e13de);}catch(_0x4ff01b){_0x368db0[_0x4291c1(0x188)](debug,_0x4291c1(0x14e)+util[_0x4291c1(0x1c6)](_0x4ff01b));}try{BrowserstackCLI[_0x4291c1(0x1c2)]()[_0x4291c1(0x146)]&&(process[_0x4291c1(0x1bf)][_0x4291c1(0x190)]=BrowserstackCLI[_0x4291c1(0x1c2)]()[_0x4291c1(0x146)]);}catch(_0x246c30){_0x368db0['unCqJ'](debug,_0x4291c1(0x1a9)+util[_0x4291c1(0x1c6)](_0x246c30));}const _0x488469=[];try{const _0x440015=path[_0x4291c1(0x1ad)](__dirname,_0x368db0[_0x4291c1(0x186)]);fs['existsSync'](_0x440015)?_0x488469[_0x4291c1(0x1ca)]('--helper='+_0x440015):_0x368db0[_0x4291c1(0x149)](debug,_0x4291c1(0x1ba)+_0x440015+_0x4291c1(0x18d));}catch(_0x296379){_0x368db0[_0x4291c1(0x149)](debug,_0x4291c1(0x19b)+util[_0x4291c1(0x1c6)](_0x296379));}const _0x49828c=_0x1cb5a2['slice'](0x1),_0x3374f0=_0x368db0['kHtsl'](enumerateSpecFiles,_0x1cb5a2),_0x4f3074=[];for(let _0x37ac4d=0x0;_0x368db0[_0x4291c1(0x1c4)](_0x37ac4d,_0x4e6a8a);_0x37ac4d++){if(_0x368db0[_0x4291c1(0x17c)](_0x3e2e29,0x1)&&Array['isArray'](_0x3374f0)&&_0x368db0['cLJCu'](_0x3374f0[_0x4291c1(0x1c5)],0x0))for(const _0x264705 of _0x3374f0){const _0x776999={};_0x776999[_0x4291c1(0x196)]=_0x37ac4d,_0x776999[_0x4291c1(0x16e)]=[_0x264705],_0x4f3074[_0x4291c1(0x1ca)](_0x776999);}else{const _0xc3b65={};_0xc3b65['platformIndex']=_0x37ac4d,_0xc3b65[_0x4291c1(0x16e)]=_0x3374f0,_0x4f3074[_0x4291c1(0x1ca)](_0xc3b65);}}logger[_0x4291c1(0x15f)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x4e6a8a+_0x4291c1(0x1a4)+_0x3e2e29+'\x20('+_0x4f3074['length']+_0x4291c1(0x162)+_0x1e13de+_0x4291c1(0x1d1)),PerformanceTester[_0x4291c1(0x175)](PerformanceEvents[_0x4291c1(0x178)]);const _0x51b573=_0x5f08eb=>new Promise(_0xca5807=>{const _0x4ccee2=_0x4291c1;let _0x5bf1e4;try{const _0x565fe6=_0x368db0['GeeCy'](_0x1b1c5c,_0x5f08eb[_0x4ccee2(0x196)]);_0x5bf1e4=Object[_0x4ccee2(0x177)]({},process[_0x4ccee2(0x1bf)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x565fe6),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ccee2(0x1a0)]([_0x565fe6['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x34e140){_0x368db0['pNGiQ'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x5f08eb[_0x4ccee2(0x196)]+_0x4ccee2(0x172)+util[_0x4ccee2(0x1c6)](_0x34e140)),_0x5bf1e4=Object[_0x4ccee2(0x177)]({},process[_0x4ccee2(0x1bf)]);}const _0x5d2604=Array[_0x4ccee2(0x15e)](_0x5f08eb[_0x4ccee2(0x16e)])?_0x5f08eb['specArgs']:[],_0x500e84=_0x368db0[_0x4ccee2(0x19c)](_0x5d2604[_0x4ccee2(0x1c5)],0x0)?_0x49828c[_0x4ccee2(0x168)](_0x4a4541=>typeof _0x4a4541===_0x4ccee2(0x1bb)&&_0x4a4541[_0x4ccee2(0x169)]('-')):_0x49828c,_0x5058bc=[..._0x488469,..._0x500e84,..._0x5d2604];try{const _0x2e00ca=_0x368db0[_0x4ccee2(0x1b5)](spawn,_0x368db0[_0x4ccee2(0x198)],[_0x368db0[_0x4ccee2(0x15a)],..._0x5058bc],{'shell':_0x368db0['uDsCd'](process[_0x4ccee2(0x1ac)],_0x368db0['ANFHD']),'stdio':_0x368db0[_0x4ccee2(0x195)],'env':_0x5bf1e4});_0x2e00ca['on'](_0x368db0['RnjIj'],_0x1744a0=>{const _0x3adfaf=_0x4ccee2;logger[_0x3adfaf(0x1b0)](_0x3adfaf(0x191)+_0x5f08eb['platformIndex']+_0x3adfaf(0x199)+(_0x5d2604[_0x3adfaf(0x1c5)]?_0x5d2604['join'](','):_0x368db0['PuCyU'])+')\x20exited\x20with\x20code\x20'+_0x1744a0),_0x368db0[_0x3adfaf(0x1a8)](_0xca5807,_0x368db0[_0x3adfaf(0x171)](_0x1744a0,0x0));}),_0x2e00ca['on'](_0x368db0['DPzUj'],_0x2a5783=>{const _0x5d8427=_0x4ccee2;_0x368db0[_0x5d8427(0x165)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x5f08eb[_0x5d8427(0x196)]+_0x5d8427(0x17a)+util[_0x5d8427(0x1c6)](_0x2a5783)),_0x368db0['GeeCy'](_0xca5807,0x1);});}catch(_0x24dd74){_0x368db0['XYSXB'](debug,_0x4ccee2(0x1d4)+_0x5f08eb[_0x4ccee2(0x196)]+_0x4ccee2(0x17a)+util[_0x4ccee2(0x1c6)](_0x24dd74)),_0x368db0['YpiiJ'](_0xca5807,0x1);}}),_0x4647ee=_0x368db0['RkbCG'](pLimit,_0x368db0[_0x4291c1(0x18c)](_0x1e13de,0x0)?_0x1e13de:0x1),_0x270e30=await Promise[_0x4291c1(0x19e)](_0x4f3074['map'](_0x3f72df=>_0x4647ee(()=>_0x51b573(_0x3f72df))));PerformanceTester[_0x4291c1(0x1ae)](PerformanceEvents['SDK_CLEANUP']);const _0xd12abf=_0x270e30[_0x4291c1(0x16d)](_0x89e777=>_0x89e777!==0x0)||0x0;process[_0x4291c1(0x1cb)]=_0xd12abf,logger[_0x4291c1(0x1b0)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0xd12abf);const _0x444430=BrowserstackCLI[_0x4291c1(0x154)]();try{await TestHubHandler[_0x4291c1(0x1be)](),await BrowserstackCLI['getInstance']()[_0x4291c1(0x1be)]();}catch(_0x4c356d){_0x368db0['pxUIm'](debug,_0x4291c1(0x180)+util[_0x4291c1(0x1c6)](_0x4c356d));}testOpsHelper[_0x4291c1(0x174)](),await utilities['finalExecution'](_0x2c2dde,_0x444430);}module['exports']=run;
|
|
2
|
+
'use strict';const a18_0x1275bb=a18_0x5bd0;(function(_0x120a62,_0x5abac3){const _0x4966cc=a18_0x5bd0,_0x200f1c=_0x120a62();while(!![]){try{const _0x3933c0=parseInt(_0x4966cc(0x9c))/0x1*(parseInt(_0x4966cc(0xc2))/0x2)+-parseInt(_0x4966cc(0x85))/0x3+parseInt(_0x4966cc(0x8a))/0x4*(-parseInt(_0x4966cc(0x113))/0x5)+parseInt(_0x4966cc(0xdc))/0x6*(-parseInt(_0x4966cc(0xcf))/0x7)+-parseInt(_0x4966cc(0x10f))/0x8*(-parseInt(_0x4966cc(0xab))/0x9)+parseInt(_0x4966cc(0x101))/0xa*(parseInt(_0x4966cc(0x83))/0xb)+parseInt(_0x4966cc(0xd1))/0xc*(parseInt(_0x4966cc(0xdb))/0xd);if(_0x3933c0===_0x5abac3)break;else _0x200f1c['push'](_0x200f1c['shift']());}catch(_0x3e85ba){_0x200f1c['push'](_0x200f1c['shift']());}}}(a18_0x2c55,0xbb466));function a18_0x2c55(){const _0x385b87=['test.setup.js','lJUrD','spec_dir','ZkpJN','useW3C','\x20:\x20','yTfJQ','../../helpers/performance/performance-tester','688914bhhrQN','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JqAwL','OZosA','uCODS','close','hDfMn','../../helpers/puppeteer-helper','isUndefined','p-limit','launchBuild','../../helpers/test-observability/constants','../../helpers/test-observability/utils','1057TLnbcW','globSync','2784HHxtkv','\x20concurrent)','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','maxWorkers','cYnTz','iMdnD','stringify','trim','parse','info','2262iOITxV','55482CBdLyX','getHubUrl','glob','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','HbUzK','../v2/browserstackCLI','testObservability','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','start','child_process','from','join','getMultiDriverWorkerConfig','PrTiy','pTtBz','proxySettings','filter','env','printBuildLink','startsWith','NgEmu','__isPuppeteerInstalled','exitCode','platforms','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','all','getInstance','../../helpers/helper','inherit','zQzfU','Qefru','../utils/constants','kjfVs','map','KFXgr','find','getPlatformName','1770eRByIS','finalExecution','resolve','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','../../helpers/performance/constants','MeUeV','zZLRw',')\x20:\x20','RSkRQ','spec','isArray','existsSync','../../helpers/testhub/testhubHandler','NfuHL','96bzvGsJ','hddIp','BROWSERSTACK_CLI_BIN_SESSION_ID','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','17695IuvsYF','parallelsPerPlatform','parseFileNames','string','BROWSERSTACK_TEST_OBSERVABILITY_YML','TXWhR','length','npx','CiKzD','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','bIbam','exports','winstonLogger','--helper=','capability','isCLIEnabled','__isPlaywrightInstalled','XyEGa','jasmine','HAnad','FRAMEWORKS','XkNuM','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','aMsGR','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','82236lYZaKc','accessibilityOptions','846921rJMRHc',')\x20exited\x20with\x20code\x20','\x27\x20:\x20','oFQil','JASMINE_CONFIG_PATH','316JcqnYG','specArgs','zPmoD','platformIndex','SDK_SETUP','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','BROWSERSTACK_CAPABILITIES','SDK_CLEANUP','binSessionId','utf8','error','HdlYN','handleApp','push','zltGV','EupTa','../../helpers/playwright-helper','cwd','3EJMThR','**/*[sS]pec.?(m)js','config','POWPe','prepareCapabilities','\x20platform(s),\x20parallelsPerPlatform=','JASMINE','spec_files','validPlatformsPresent','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','format','win32','uszKW','zSOcv','BROWSERSTACK_RERUN_TESTS','246204pfGKEX','ixHGg','VHtgO','spec/support/jasmine.json','ueLcB','stop','EVENTS','IzTGx','platform','Running\x20your\x20Jasmine\x20tests\x20across\x20','end','TkTmL','assign','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','yNAif'];a18_0x2c55=function(){return _0x385b87;};return a18_0x2c55();}function a18_0x5bd0(_0x1bbb26,_0x27193b){const _0x2c559b=a18_0x2c55();return a18_0x5bd0=function(_0x5bd081,_0x329a3f){_0x5bd081=_0x5bd081-0x6b;let _0x3bb353=_0x2c559b[_0x5bd081];return _0x3bb353;},a18_0x5bd0(_0x1bbb26,_0x27193b);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x1275bb(0xe5)),glob=require(a18_0x1275bb(0xde)),pLimit=require(a18_0x1275bb(0xcb)),logger=require('../../helpers/logger')[a18_0x1275bb(0x76)],helper=require(a18_0x1275bb(0xf7)),utilities=require('../../helpers/utilities'),constants=require(a18_0x1275bb(0xfb)),TestHubHandler=require(a18_0x1275bb(0x10d)),testOpsHelper=require(a18_0x1275bb(0xce)),{debug}=require(a18_0x1275bb(0xce)),{FRAMEWORKS}=require(a18_0x1275bb(0xcd)),PerformanceTester=require(a18_0x1275bb(0xc1)),PerformanceEvents=require(a18_0x1275bb(0x105))[a18_0x1275bb(0xb1)],BrowserstackCLI=require(a18_0x1275bb(0xe1)),{checkPwandBootstrapCli}=require(a18_0x1275bb(0x9a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1275bb(0xc9)),getMaxWorkers=(_0x3413f6,_0x166af0)=>{const _0x32dee7=a18_0x1275bb,_0x334321={'RSkRQ':function(_0x55b63a,_0x360bc8){return _0x55b63a(_0x360bc8);}};let _0x20b8b0=0x1;if(!helper[_0x32dee7(0xca)](_0x166af0[_0x32dee7(0x6b)]))_0x20b8b0=_0x334321[_0x32dee7(0x109)](parseInt,_0x166af0[_0x32dee7(0x6b)]);else!helper[_0x32dee7(0xca)](_0x3413f6['maxWorkers'])&&(_0x20b8b0=_0x3413f6[_0x32dee7(0xd4)]);return _0x20b8b0;},resolveJasmineConfigPath=()=>{const _0x4d1cb1=a18_0x1275bb,_0xb214ba={};_0xb214ba[_0x4d1cb1(0x6f)]=_0x4d1cb1(0xae);const _0x283eaa=_0xb214ba,_0x16d4b5=[];process[_0x4d1cb1(0xed)]['JASMINE_CONFIG_PATH']&&_0x16d4b5[_0x4d1cb1(0x97)](path[_0x4d1cb1(0x103)](process[_0x4d1cb1(0x9b)](),process['env'][_0x4d1cb1(0x89)]));_0x16d4b5[_0x4d1cb1(0x97)](path[_0x4d1cb1(0x103)](process['cwd'](),_0x283eaa[_0x4d1cb1(0x6f)]));for(const _0x4883aa of _0x16d4b5){try{if(fs[_0x4d1cb1(0x10c)](_0x4883aa))return _0x4883aa;}catch(_0x25d561){}}return null;},enumerateSpecFiles=_0x2ff4b9=>{const _0x382a21=a18_0x1275bb,_0x10b0fc={'oFQil':function(_0x3a18bc,_0x41afca){return _0x3a18bc(_0x41afca);},'HAnad':function(_0x3f9e,_0x58f1d1){return _0x3f9e>_0x58f1d1;},'NgEmu':function(_0x2b2577,_0x1bf1e9){return _0x2b2577(_0x1bf1e9);},'TkTmL':function(_0x55c098,_0x1f7b12){return _0x55c098<_0x1f7b12;},'PrTiy':function(_0x1fc52c,_0x5e5bd6){return _0x1fc52c===_0x5e5bd6;},'ObnEE':_0x382a21(0x6d),'ixHGg':function(_0x10aef8,_0x4b414d,_0x5e490b){return _0x10aef8(_0x4b414d,_0x5e490b);},'EupTa':function(_0x4947a2){return _0x4947a2();},'OZosA':_0x382a21(0x93),'uQhZj':_0x382a21(0x10a),'XkNuM':_0x382a21(0x9d),'IMrtc':function(_0x14fd50,_0x449d1c,_0x20af9e){return _0x14fd50(_0x449d1c,_0x20af9e);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x638f4=testOpsHelper[_0x382a21(0x6c)](process['env'][_0x382a21(0xaa)]);if(Array['isArray'](_0x638f4)&&_0x10b0fc[_0x382a21(0x7d)](_0x638f4[_0x382a21(0x70)],0x0))return _0x638f4[_0x382a21(0xfd)](_0x5f31b7=>path[_0x382a21(0x103)](process[_0x382a21(0x9b)](),_0x5f31b7[_0x382a21(0xd8)]()))[_0x382a21(0xec)](Boolean);}}catch(_0x9707ed){_0x10b0fc[_0x382a21(0xf0)](debug,_0x382a21(0xf4)+util[_0x382a21(0xa6)](_0x9707ed));}const _0x261637=[];try{for(let _0x47e940=0x1;_0x10b0fc[_0x382a21(0xb6)](_0x47e940,_0x2ff4b9[_0x382a21(0x70)]);_0x47e940++){const _0x260f4a=_0x2ff4b9[_0x47e940];_0x10b0fc[_0x382a21(0xe9)](typeof _0x260f4a,_0x10b0fc['ObnEE'])&&!_0x260f4a[_0x382a21(0xef)]('-')&&_0x261637[_0x382a21(0x97)](_0x260f4a);}}catch(_0x393cea){}const _0x2ab133={'cwd':process[_0x382a21(0x9b)](),'absolute':!![],'nodir':!![]},_0x3e2cdc=(_0x5732ef,_0x21e292)=>{const _0x572f99=_0x382a21,_0x10423c=[];for(const _0x283b0c of _0x5732ef){try{const _0x34095c=_0x21e292?path['posix'][_0x572f99(0xe7)](_0x21e292,_0x283b0c):_0x283b0c,_0x391489=glob[_0x572f99(0xd0)](_0x34095c,_0x2ab133);Array['isArray'](_0x391489)&&_0x10423c[_0x572f99(0x97)](..._0x391489);}catch(_0x4c804e){_0x10b0fc[_0x572f99(0x88)](debug,_0x572f99(0xe3)+_0x283b0c+_0x572f99(0x87)+util[_0x572f99(0xa6)](_0x4c804e));}}return _0x10423c;};if(_0x10b0fc[_0x382a21(0x7d)](_0x261637[_0x382a21(0x70)],0x0)){const _0x648d52=_0x10b0fc[_0x382a21(0xac)](_0x3e2cdc,_0x261637,null);if(_0x10b0fc[_0x382a21(0x7d)](_0x648d52['length'],0x0))return Array['from'](new Set(_0x648d52));return _0x261637[_0x382a21(0xfd)](_0x5d43b8=>path[_0x382a21(0x103)](process[_0x382a21(0x9b)](),_0x5d43b8));}try{const _0x43fd26=_0x10b0fc[_0x382a21(0x99)](resolveJasmineConfigPath);if(_0x43fd26){const _0x5f5aa8=JSON[_0x382a21(0xd9)](fs['readFileSync'](_0x43fd26,_0x10b0fc[_0x382a21(0xc5)])),_0x228264=_0x5f5aa8[_0x382a21(0xbc)]||_0x10b0fc['uQhZj'],_0x165985=Array[_0x382a21(0x10b)](_0x5f5aa8['spec_files'])&&_0x10b0fc[_0x382a21(0x7d)](_0x5f5aa8['spec_files']['length'],0x0)?_0x5f5aa8[_0x382a21(0xa3)]:[_0x10b0fc[_0x382a21(0x7f)]],_0x35adea=_0x10b0fc['IMrtc'](_0x3e2cdc,_0x165985,_0x228264);if(_0x10b0fc[_0x382a21(0x7d)](_0x35adea[_0x382a21(0x70)],0x0))return Array[_0x382a21(0xe6)](new Set(_0x35adea));}}catch(_0x36ff18){_0x10b0fc[_0x382a21(0x88)](debug,_0x382a21(0x8f)+util[_0x382a21(0xa6)](_0x36ff18));}return null;};async function run(_0x2047e2,_0x568512,_0x5b301f){const _0x5f01dc=a18_0x1275bb,_0x577e87={'iMdnD':function(_0x44ba81,_0x525cdb){return _0x44ba81>_0x525cdb;},'JqAwL':function(_0x4bd061,_0x219706){return _0x4bd061>_0x219706;},'POWPe':_0x5f01dc(0xf5),'Qefru':function(_0x1de122,_0x25e9c6){return _0x1de122(_0x25e9c6);},'yNAif':function(_0x221e7a,_0x3a54c3){return _0x221e7a||_0x3a54c3;},'cYnTz':function(_0x289c56,_0x23f89a){return _0x289c56(_0x23f89a);},'zQzfU':function(_0x758570,_0x3b1ab8){return _0x758570(_0x3b1ab8);},'IzTGx':function(_0x5ce2d7,_0x29d82a){return _0x5ce2d7>_0x29d82a;},'zZLRw':function(_0x507c94,_0x1f88b5,_0x42f595,_0x830d01){return _0x507c94(_0x1f88b5,_0x42f595,_0x830d01);},'zSOcv':_0x5f01dc(0x71),'kjfVs':_0x5f01dc(0x7c),'HbUzK':function(_0xe83e92,_0x5466ad){return _0xe83e92===_0x5466ad;},'zltGV':_0x5f01dc(0xa7),'AtMDP':_0x5f01dc(0xf8),'VHtgO':_0x5f01dc(0xc7),'lJUrD':_0x5f01dc(0x94),'hDfMn':function(_0x54fdaa,_0xfe0fbb){return _0x54fdaa(_0xfe0fbb);},'CiKzD':'@playwright/test','zPmoD':function(_0x28421d){return _0x28421d();},'bIbam':function(_0x3caa0d,_0x5ca3b8){return _0x3caa0d!=_0x5ca3b8;},'hddIp':'true','HdlYN':function(_0xfd121a,_0x370755){return _0xfd121a(_0x370755);},'ZkpJN':function(_0x2128ff,_0x18d87e){return _0x2128ff(_0x18d87e);},'uszKW':function(_0x2dc82c,_0x4bd09e,_0x37c01e){return _0x2dc82c(_0x4bd09e,_0x37c01e);},'yTfJQ':function(_0x4c6f59,_0x332e54){return _0x4c6f59*_0x332e54;},'NfuHL':function(_0x256ba2,_0x36e63e){return _0x256ba2(_0x36e63e);},'pTtBz':_0x5f01dc(0xba),'ueLcB':function(_0x6122ec,_0x5db616){return _0x6122ec(_0x5db616);},'XyEGa':function(_0x3c9c28,_0x444efb){return _0x3c9c28(_0x444efb);},'uCODS':function(_0x59c25b,_0x15625b){return _0x59c25b<_0x15625b;},'aMsGR':function(_0x4050f9,_0x4ef772){return _0x4050f9>_0x4ef772;},'KFXgr':function(_0x56abd4,_0x4056df){return _0x56abd4>_0x4056df;},'MeUeV':function(_0x36dad6,_0x25f849){return _0x36dad6>_0x25f849;}},_0x26145b=helper['getPackageVersion'](_0x577e87[_0x5f01dc(0x72)]);global[_0x5f01dc(0x7a)]=!!_0x26145b;const _0x5770be=_0x577e87[_0x5f01dc(0x8c)](getPuppeteerVersion);global[_0x5f01dc(0xf1)]=!!_0x5770be;helper['isBrowserstackInfra']()&&(await _0x5b301f['initialize'](_0x2047e2),await helper[_0x5f01dc(0x96)](_0x5b301f[_0x5f01dc(0x9e)]));if(_0x26145b)await _0x577e87[_0x5f01dc(0x107)](checkPwandBootstrapCli,_0x26145b,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)],_0x5b301f);else _0x5770be&&await _0x577e87[_0x5f01dc(0x107)](checkPuppeteerAndBootstrapCli,_0x5770be,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)],_0x5b301f);if(!_0x5b301f[_0x5f01dc(0x9e)])return;_0x577e87[_0x5f01dc(0x74)](_0x5b301f['config'][_0x5f01dc(0xe2)],null)?process[_0x5f01dc(0xed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0xe2)]:process[_0x5f01dc(0xed)][_0x5f01dc(0x6e)]=_0x577e87[_0x5f01dc(0x110)];!helper['isUndefined'](_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0x84)])&&(process[_0x5f01dc(0xed)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0x84)]));try{await TestHubHandler[_0x5f01dc(0xcc)](FRAMEWORKS[_0x5f01dc(0xa2)],_0x5b301f);}catch(_0x249eda){logger[_0x5f01dc(0x94)](_0x5f01dc(0xb8)+util[_0x5f01dc(0xa6)](_0x249eda)),_0x577e87[_0x5f01dc(0xc8)](debug,_0x5f01dc(0x112)+util[_0x5f01dc(0xa6)](_0x249eda));}let _0x280aff=![],_0x56273b=[];try{_0x280aff=helper[_0x5f01dc(0xbe)](_0x5b301f[_0x5f01dc(0x9e)]),_0x56273b=helper[_0x5f01dc(0xa0)](_0x5b301f[_0x5f01dc(0x9e)],_0x280aff,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)]),process[_0x5f01dc(0xed)][_0x5f01dc(0x90)]=JSON[_0x5f01dc(0xd7)](_0x56273b);}catch(_0x3edd20){_0x577e87[_0x5f01dc(0x95)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util['format'](_0x3edd20));}let _0x1733a3=null,_0x5c26ab=![];try{_0x1733a3=helper[_0x5f01dc(0xdd)](_0x5b301f[_0x5f01dc(0x9e)]),_0x5c26ab=helper[_0x5f01dc(0xa4)](_0x5b301f[_0x5f01dc(0x9e)]);}catch(_0x19761b){_0x577e87[_0x5f01dc(0xbd)](debug,_0x5f01dc(0xa5)+util[_0x5f01dc(0xa6)](_0x19761b));}let _0x694652={};try{_0x694652=helper[_0x5f01dc(0xe8)](_0x5b301f['config'],_0x280aff,constants[_0x5f01dc(0x7e)]['JASMINE']);}catch(_0x13d61c){_0x577e87[_0x5f01dc(0xfa)](debug,_0x5f01dc(0x82)+util[_0x5f01dc(0xa6)](_0x13d61c));}const _0x297e9e=_0x4ec67d=>{const _0x113da4=_0x5f01dc,_0x2a06e4=Array[_0x113da4(0x10b)](_0x56273b)&&_0x577e87[_0x113da4(0xd6)](_0x56273b[_0x113da4(0x70)],_0x4ec67d)?_0x56273b[_0x4ec67d]:Array[_0x113da4(0x10b)](_0x56273b)&&_0x577e87[_0x113da4(0xc4)](_0x56273b[_0x113da4(0x70)],0x0)?_0x56273b[0x0]:{};return Object[_0x113da4(0xb7)]({'server':_0x1733a3,'capability':_0x2a06e4,'proxySettings':_0x5b301f[_0x113da4(0x9e)][_0x113da4(0xeb)],'platform':helper[_0x113da4(0x100)](_0x2a06e4),'browserStackLogLevel':_0x5b301f[_0x113da4(0x9e)]['logLevel'],'platformIndex':_0x4ec67d,'framework':constants[_0x113da4(0x7e)][_0x113da4(0xa2)],'platformCaps':_0x5c26ab?Object[_0x113da4(0xb7)]({'index':_0x4ec67d},_0x5b301f[_0x113da4(0x9e)][_0x113da4(0xf3)][_0x4ec67d]):{'index':_0x4ec67d}},_0x694652);};let _0x863be2=0x1,_0x3f5cc5=0x1,_0x445bd7=0x1;try{_0x863be2=_0x577e87[_0x5f01dc(0xa8)](getMaxWorkers,_0x2047e2,_0x5b301f[_0x5f01dc(0x9e)]),_0x3f5cc5=_0x5c26ab?_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0xf3)][_0x5f01dc(0x70)]:0x1,_0x445bd7=_0x577e87[_0x5f01dc(0xc0)](_0x3f5cc5,_0x863be2),process[_0x5f01dc(0xed)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x577e87[_0x5f01dc(0xc8)](String,_0x445bd7);}catch(_0x437932){_0x577e87[_0x5f01dc(0xc8)](debug,_0x5f01dc(0x80)+util[_0x5f01dc(0xa6)](_0x437932));}try{BrowserstackCLI['getInstance']()[_0x5f01dc(0x92)]&&(process['env'][_0x5f01dc(0x111)]=BrowserstackCLI[_0x5f01dc(0xf6)]()[_0x5f01dc(0x92)]);}catch(_0x2bf6c3){_0x577e87[_0x5f01dc(0x10e)](debug,_0x5f01dc(0x73)+util['format'](_0x2bf6c3));}const _0x4f8587=[];try{const _0x1dc626=path[_0x5f01dc(0x103)](__dirname,_0x577e87[_0x5f01dc(0xea)]);fs[_0x5f01dc(0x10c)](_0x1dc626)?_0x4f8587[_0x5f01dc(0x97)](_0x5f01dc(0x77)+_0x1dc626):_0x577e87[_0x5f01dc(0xaf)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x1dc626+';\x20proceeding\x20without\x20injection');}catch(_0x52ec78){_0x577e87[_0x5f01dc(0xf9)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x5f01dc(0xa6)](_0x52ec78));}const _0x586733=_0x568512['slice'](0x1),_0x359f51=_0x577e87[_0x5f01dc(0x7b)](enumerateSpecFiles,_0x568512),_0x509bc5=[];for(let _0x59823b=0x0;_0x577e87[_0x5f01dc(0xc6)](_0x59823b,_0x3f5cc5);_0x59823b++){if(_0x577e87[_0x5f01dc(0x81)](_0x863be2,0x1)&&Array[_0x5f01dc(0x10b)](_0x359f51)&&_0x577e87[_0x5f01dc(0xfe)](_0x359f51[_0x5f01dc(0x70)],0x0))for(const _0x4816ac of _0x359f51){const _0x58cf48={};_0x58cf48['platformIndex']=_0x59823b,_0x58cf48[_0x5f01dc(0x8b)]=[_0x4816ac],_0x509bc5[_0x5f01dc(0x97)](_0x58cf48);}else{const _0x1f3ec5={};_0x1f3ec5[_0x5f01dc(0x8d)]=_0x59823b,_0x1f3ec5[_0x5f01dc(0x8b)]=_0x359f51,_0x509bc5[_0x5f01dc(0x97)](_0x1f3ec5);}}logger[_0x5f01dc(0xda)](_0x5f01dc(0xb4)+_0x3f5cc5+_0x5f01dc(0xa1)+_0x863be2+'\x20('+_0x509bc5[_0x5f01dc(0x70)]+'\x20work-item(s),\x20max\x20'+_0x445bd7+_0x5f01dc(0xd2)),PerformanceTester[_0x5f01dc(0xb5)](PerformanceEvents[_0x5f01dc(0x8e)]);const _0x1838d8=_0x28d7b5=>new Promise(_0x4e01e9=>{const _0x2b9a25=_0x5f01dc;let _0x57dca0;try{const _0x46e078=_0x577e87[_0x2b9a25(0xd5)](_0x297e9e,_0x28d7b5['platformIndex']);_0x57dca0=Object[_0x2b9a25(0xb7)]({},process[_0x2b9a25(0xed)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x2b9a25(0xd7)](_0x46e078),'BROWSERSTACK_CAPABILITIES':JSON[_0x2b9a25(0xd7)]([_0x46e078[_0x2b9a25(0x78)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4d1ae4){_0x577e87[_0x2b9a25(0xf9)](debug,_0x2b9a25(0xdf)+_0x28d7b5[_0x2b9a25(0x8d)]+_0x2b9a25(0xbf)+util['format'](_0x4d1ae4)),_0x57dca0=Object[_0x2b9a25(0xb7)]({},process[_0x2b9a25(0xed)]);}const _0x21e5c4=Array[_0x2b9a25(0x10b)](_0x28d7b5[_0x2b9a25(0x8b)])?_0x28d7b5[_0x2b9a25(0x8b)]:[],_0x151391=_0x577e87[_0x2b9a25(0xb2)](_0x21e5c4['length'],0x0)?_0x586733[_0x2b9a25(0xec)](_0x48ef2b=>typeof _0x48ef2b===_0x2b9a25(0x6d)&&_0x48ef2b[_0x2b9a25(0xef)]('-')):_0x586733,_0x416e78=[..._0x4f8587,..._0x151391,..._0x21e5c4];try{const _0x14154d=_0x577e87[_0x2b9a25(0x107)](spawn,_0x577e87[_0x2b9a25(0xa9)],[_0x577e87[_0x2b9a25(0xfc)],..._0x416e78],{'shell':_0x577e87[_0x2b9a25(0xe0)](process[_0x2b9a25(0xb3)],_0x577e87[_0x2b9a25(0x98)]),'stdio':_0x577e87['AtMDP'],'env':_0x57dca0});_0x14154d['on'](_0x577e87[_0x2b9a25(0xad)],_0x4ded57=>{const _0x2c464f=_0x2b9a25;logger['debug']('jasmine\x20child\x20(platformIndex='+_0x28d7b5['platformIndex']+',\x20specs='+(_0x21e5c4[_0x2c464f(0x70)]?_0x21e5c4['join'](','):_0x577e87[_0x2c464f(0x9f)])+_0x2c464f(0x86)+_0x4ded57),_0x577e87['Qefru'](_0x4e01e9,_0x577e87[_0x2c464f(0xb9)](_0x4ded57,0x0));}),_0x14154d['on'](_0x577e87[_0x2b9a25(0xbb)],_0x2fdd43=>{const _0x3b1fc7=_0x2b9a25;_0x577e87[_0x3b1fc7(0xd5)](debug,_0x3b1fc7(0x104)+_0x28d7b5['platformIndex']+')\x20:\x20'+util[_0x3b1fc7(0xa6)](_0x2fdd43)),_0x577e87[_0x3b1fc7(0xfa)](_0x4e01e9,0x1);});}catch(_0x10010d){_0x577e87[_0x2b9a25(0xc8)](debug,_0x2b9a25(0xd3)+_0x28d7b5[_0x2b9a25(0x8d)]+_0x2b9a25(0x108)+util['format'](_0x10010d)),_0x577e87[_0x2b9a25(0xc8)](_0x4e01e9,0x1);}}),_0x20d7bb=_0x577e87['XyEGa'](pLimit,_0x577e87[_0x5f01dc(0x106)](_0x445bd7,0x0)?_0x445bd7:0x1),_0x4a3eff=await Promise[_0x5f01dc(0xf5)](_0x509bc5[_0x5f01dc(0xfd)](_0x10f58c=>_0x20d7bb(()=>_0x1838d8(_0x10f58c))));PerformanceTester[_0x5f01dc(0xe4)](PerformanceEvents[_0x5f01dc(0x91)]);const _0x5d23d1=_0x4a3eff[_0x5f01dc(0xff)](_0x170e25=>_0x170e25!==0x0)||0x0;process[_0x5f01dc(0xf2)]=_0x5d23d1,logger['debug']('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x5d23d1);const _0x237b9f=BrowserstackCLI[_0x5f01dc(0x79)]();try{await TestHubHandler[_0x5f01dc(0xb0)](),await BrowserstackCLI[_0x5f01dc(0xf6)]()[_0x5f01dc(0xb0)]();}catch(_0x2ac2fd){_0x577e87[_0x5f01dc(0xfa)](debug,_0x5f01dc(0xc3)+util[_0x5f01dc(0xa6)](_0x2ac2fd));}testOpsHelper[_0x5f01dc(0xee)](),await utilities[_0x5f01dc(0x102)](_0x5b301f,_0x237b9f);}module[a18_0x1275bb(0x75)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x35656b=a19_0x4b19;(function(_0x18753a,_0xfbe87e){const _0x3f6add=a19_0x4b19,_0x5dd6e0=_0x18753a();while(!![]){try{const _0x5407de=-parseInt(_0x3f6add(0x1b4))/0x1*(parseInt(_0x3f6add(0x175))/0x2)+-parseInt(_0x3f6add(0x1d4))/0x3*(parseInt(_0x3f6add(0x19b))/0x4)+parseInt(_0x3f6add(0x1ab))/0x5*(-parseInt(_0x3f6add(0x159))/0x6)+parseInt(_0x3f6add(0x19c))/0x7*(-parseInt(_0x3f6add(0x1a1))/0x8)+parseInt(_0x3f6add(0x1c3))/0x9*(parseInt(_0x3f6add(0x17c))/0xa)+parseInt(_0x3f6add(0x162))/0xb*(-parseInt(_0x3f6add(0x1a8))/0xc)+parseInt(_0x3f6add(0x1cc))/0xd*(parseInt(_0x3f6add(0x1da))/0xe);if(_0x5407de===_0xfbe87e)break;else _0x5dd6e0['push'](_0x5dd6e0['shift']());}catch(_0x143599){_0x5dd6e0['push'](_0x5dd6e0['shift']());}}}(a19_0x313e,0xe4269));const util=require(a19_0x35656b(0x1b5)),logger=require(a19_0x35656b(0x157))['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a19_0x35656b(0x19f)),{shouldProcessEventForTesthub}=require(a19_0x35656b(0x1b2)),testHubConstants=require(a19_0x35656b(0x1c0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x35656b(0x183)),accessibilityRetryHelper=require(a19_0x35656b(0x186)),testRunMap=require(a19_0x35656b(0x1ac));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x35656b(0x16f)]||process[a19_0x35656b(0x1c5)][a19_0x35656b(0x1a5)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x175a64){logger['debug'](a19_0x35656b(0x1d6)+util[a19_0x35656b(0x191)](a19_0x175a64));}try{if(_bstackConfig&&!helper[a19_0x35656b(0x1d2)](a19_0x35656b(0x1cd))){const EKIgjz='1|3|2|4|0'['split']('|');let cEJPKS=0x0;while(!![]){switch(EKIgjz[cEJPKS++]){case'0':helper[a19_0x35656b(0x1d8)]()?(global['__skipSessionName']=helper[a19_0x35656b(0x16a)](_bstackConfig['skipSessionName']),global[a19_0x35656b(0x1ba)]=helper[a19_0x35656b(0x16a)](_bstackConfig[a19_0x35656b(0x1c9)])):(global[a19_0x35656b(0x1b6)]=!![],global[a19_0x35656b(0x1ba)]=!![]);continue;case'1':logger['debug'](a19_0x35656b(0x17a));continue;case'2':global['__platformCaps']=_bstackConfig[a19_0x35656b(0x1ad)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a19_0x35656b(0x15a))['browserstackAgentV2'](_bstackConfig,null,!![]):require('../../index')[a19_0x35656b(0x1bf)](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a19_0x405b3f){logger[a19_0x35656b(0x17b)](a19_0x35656b(0x1cf)+util[a19_0x35656b(0x191)](a19_0x405b3f));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x4e7a38=a19_0x35656b,_0x1717f7={'VIlMG':function(_0xf61824,_0x329b13){return _0xf61824(_0x329b13);},'LtpeH':_0x4e7a38(0x158),'lSKzn':function(_0x30875a,_0xac9ec0){return _0x30875a(_0xac9ec0);},'EtOwU':_0x4e7a38(0x1aa),'NIvSF':_0x4e7a38(0x197)},_0x4b9987=Error[_0x4e7a38(0x172)];try{const _0x1f5070=new Error();Error[_0x4e7a38(0x172)]=(_0x2c1436,_0x1fcf78)=>_0x1fcf78;const _0x33f17d=_0x1f5070[_0x4e7a38(0x169)];Error[_0x4e7a38(0x172)]=_0x4b9987;if(Array[_0x4e7a38(0x1d7)](_0x33f17d))for(const _0x185c2a of _0x33f17d){const _0x28f55c=_0x185c2a[_0x4e7a38(0x18d)]&&_0x185c2a['getFileName']();if(_0x28f55c&&!_0x28f55c[_0x4e7a38(0x1bb)](_0x4e7a38(0x17d)+_0x1717f7['VIlMG'](require,_0x1717f7[_0x4e7a38(0x1ca)])[_0x4e7a38(0x161)]+_0x4e7a38(0x178)+_0x1717f7['lSKzn'](require,_0x1717f7[_0x4e7a38(0x1ca)])[_0x4e7a38(0x161)])&&!_0x28f55c[_0x4e7a38(0x1c1)](_0x1717f7['EtOwU'])&&!_0x28f55c[_0x4e7a38(0x1bb)](_0x1717f7['NIvSF']))return _0x28f55c;}}catch(_0x1f7f68){Error[_0x4e7a38(0x172)]=_0x4b9987;}return null;},_wrappedDescribe=function(_0x1e974d,_0x1476e2){const _0x41dd81=a19_0x35656b,_0x76015c={'ItbYm':function(_0x2fde72){return _0x2fde72();},'WuhVY':function(_0x107cd9,_0x1a8af6){return _0x107cd9&&_0x1a8af6;},'TBEDf':function(_0x235b38,_0x3d7fce,_0xc16378){return _0x235b38(_0x3d7fce,_0xc16378);}};let _0x47afc8=null;try{_0x47afc8=_0x76015c[_0x41dd81(0x167)](_resolveCallerFile);}catch(_0x5e7859){}_describeTitleStack[_0x41dd81(0x1d5)](_0x1e974d);const _0x46e4eb=_describeTitleStack[_0x41dd81(0x1af)]('\x20');_0x76015c['WuhVY'](_0x47afc8,_0x46e4eb)&&(_fileNameByFullName[_0x46e4eb]=_0x47afc8);try{return _0x76015c[_0x41dd81(0x177)](_origDescribe,_0x1e974d,_0x1476e2);}finally{_describeTitleStack[_0x41dd81(0x1c4)]();}};Object['keys'](_origDescribe)['forEach'](_0x37ce85=>{_wrappedDescribe[_0x37ce85]=_origDescribe[_0x37ce85];}),global[a19_0x35656b(0x168)]=_wrappedDescribe;}}catch(a19_0x44f938){logger[a19_0x35656b(0x17b)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a19_0x44f938));}try{if(typeof jasmine!==a19_0x35656b(0x1b8)&&jasmine[a19_0x35656b(0x173)]){const BrowserStackJasmineReporter=require(a19_0x35656b(0x1a6)),a19_0x10629d={};a19_0x10629d[a19_0x35656b(0x1a7)]=_fileNameByFullName,jasmine[a19_0x35656b(0x173)]()['addReporter'](new BrowserStackJasmineReporter(a19_0x10629d)),logger[a19_0x35656b(0x17b)](a19_0x35656b(0x188));}else logger[a19_0x35656b(0x17b)](a19_0x35656b(0x18e));}catch(a19_0x36804f){logger['debug'](a19_0x35656b(0x18a)+util[a19_0x35656b(0x191)](a19_0x36804f));}try{typeof jasmine!==a19_0x35656b(0x1b8)&&jasmine[a19_0x35656b(0x173)]&&jasmine[a19_0x35656b(0x173)]()[a19_0x35656b(0x19e)]({'specStarted'(_0xb08e20){const _0x5565fa=a19_0x35656b,_0x1c9130={};_0x1c9130[_0x5565fa(0x1c7)]=function(_0x516d43,_0xa9fec0){return _0x516d43||_0xa9fec0;};const _0x41757c=_0x1c9130;_activeResultId=_0xb08e20&&_0xb08e20['id'],_activeFullName=_0xb08e20&&_0xb08e20['fullName'],_activeResultRef=_0x41757c[_0x5565fa(0x1c7)](_0xb08e20,null);},'specDone'(){}});}catch(a19_0x2966dc){logger[a19_0x35656b(0x17b)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a19_0x35656b(0x191)](a19_0x2966dc));}function a19_0x313e(){const _0xd0dc85=['executeScript','471573fMiMew','pop','env','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','SotbL','xpoUS','skipSessionStatus','LtpeH','__drivers','13BPArBg','@playwright/test','function','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','autoScanning','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','getPackageVersion',',\x22level\x22:\x20\x22','87FbqriN','push','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','isArray','isBrowserstackInfra','stringify','56876246fnEIUG','../../helpers/logger','path','2416872tmhZxs','../../index','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isMobilePlatform','BROWSERSTACK_TESTHUB_JWT','QyzOB','BROWSERSTACK_TESTHUB_UUID','failedExpectations','sep','3399tgUTzb','bstackA11yScanOptions','pDXUu','length','VBeoe','ItbYm','describe','stack','isTrue','get','JHIzU','performScanWithRetry','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','BROWSERSTACK_JASMINE_CONFIG','AAReh','thJwtToken','prepareStackTrace','getEnv','sessionNameSet__','2988878PeavzW','ENV_VAR','TBEDf','jasmine','info','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','debug','150Urmtww','bin','LSKFM','browserstackSessionName','failed','OHFJC','tVNkt','../../helpers/accessibility-automation/helper','EdxQt','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','message','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','thBuildUuid','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Spec\x20failed','getFileName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','\x22}}','EKnGO','format','ffcQX','warn','vssEq','RZsWd','Teicg','jasmine-core','sessionName','parse','jJYLq','2196JfhdZJ','337806xgVFaF','ZCvfN','addReporter','../../helpers/globals','__sessionFailed','32WTWhYz','gmnkV','markSessionStatus','passed','CONFIG','./bstack-reporter/customReporter','fileNameByFullName','54564QABPMT','bstackA11yShouldScan','node:','10ILUfXR','./testRunMap','platformCaps','exports','join','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','zUCqV','../../helpers/testhub/utils','Passed','1lIewJc','util','__skipSessionName','mELjH','undefined','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__skipSessionStatus','includes','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','error','browserstackAgentV2','../../helpers/testhub/constants','startsWith'];a19_0x313e=function(){return _0xd0dc85;};return a19_0x313e();}const _resolveAutoScanning=()=>{const _0x4eadc3=a19_0x35656b,_0x621119={};_0x621119[_0x4eadc3(0x1c8)]=function(_0x19766f,_0x5c74d3){return _0x19766f===_0x5c74d3;};const _0x4e1d4b=_0x621119;let _0x4f80f1=!![];try{const _0x16d341=JSON[_0x4eadc3(0x199)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4e1d4b[_0x4eadc3(0x1c8)](_0x16d341[_0x4eadc3(0x1d0)],![])&&(_0x4f80f1=![]);}catch(_0x42e901){logger[_0x4eadc3(0x17b)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x42e901[_0x4eadc3(0x187)]);}return _0x4f80f1;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x303e99=a19_0x35656b,_0x374249={'vssEq':function(_0x2e72e6){return _0x2e72e6();},'QyzOB':function(_0x47da85,_0x114792,_0x3ee044){return _0x47da85(_0x114792,_0x3ee044);},'pDXUu':function(_0x2b95f1,_0x5c1dad){return _0x2b95f1&&_0x5c1dad;},'gmnkV':'bstackA11yShouldScan','jJYLq':_0x303e99(0x163)};try{const _0x5d12a1=_0x374249[_0x303e99(0x194)](_resolveAutoScanning),_0xb40b51=_0x374249[_0x303e99(0x15e)](shouldScanTestForAccessibility,null,![]),_0xd31d31=_0x374249[_0x303e99(0x164)](_0x5d12a1,_0xb40b51);globals['setGlobal'](_0x374249[_0x303e99(0x1a2)],_0xd31d31),globals['setGlobal'](_0x374249[_0x303e99(0x19a)],null);}catch(_0x313e1f){logger[_0x303e99(0x17b)](_0x303e99(0x18b)+util['format'](_0x313e1f));}}),typeof afterEach===a19_0x35656b(0x1ce)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x598f87=a19_0x35656b,_0xc7573d={'zUCqV':function(_0x20e84e,_0x495120){return _0x20e84e>_0x495120;},'AAReh':_0x598f87(0x18c),'RZsWd':function(_0x19ab97,_0x467dfd){return _0x19ab97+_0x467dfd;},'JAdzE':'Failed:\x20','Teicg':_0x598f87(0x1b3),'DCwfO':_0x598f87(0x1be),'mELjH':_0x598f87(0x179),'ZCvfN':_0x598f87(0x180),'gBZcS':_0x598f87(0x1a4),'EKnGO':function(_0x2d32da){return _0x2d32da();},'ffcQX':'isAccessibilityPlatform','JHIzU':function(_0x33595d,_0x1b29bd){return _0x33595d>_0x1b29bd;},'VBeoe':_0x598f87(0x1a9),'eXmPj':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','EdxQt':_0x598f87(0x1bd),'LSKFM':_0x598f87(0x15b),'OHFJC':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','bQJIe':_0x598f87(0x15c),'tVNkt':_0x598f87(0x1bc),'RYeMh':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global['__drivers'])&&_0xc7573d['zUCqV'](global[_0x598f87(0x1cb)][_0x598f87(0x165)],0x0)&&global[_0x598f87(0x1cb)][0x0]){const _0x4c8994=_activeFullName||global[_0x598f87(0x198)];if(!global[_0x598f87(0x1b6)]&&_0x4c8994){global[_0x598f87(0x198)]=_0x4c8994;try{await global[_0x598f87(0x1cb)][0x0]['executeScript'](_0x598f87(0x185)+JSON[_0x598f87(0x1d9)](_0x4c8994)+'}}'),global[_0x598f87(0x1cb)][0x0][_0x598f87(0x174)]=!![];}catch(_0x236990){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util['format'](_0x236990));}}if(!global[_0x598f87(0x1ba)])try{const _0x477143=_activeResultRef&&Array[_0x598f87(0x1d7)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x598f87(0x160)]:[],_0xf54fad=_0xc7573d[_0x598f87(0x1b1)](_0x477143['length'],0x0),_0x4782d0=_0xf54fad?_0x477143[0x0]&&_0x477143[0x0][_0x598f87(0x187)]||_0xc7573d[_0x598f87(0x170)]:null;try{await global['__drivers'][0x0][_0x598f87(0x1c2)](_0x598f87(0x1b9)+JSON[_0x598f87(0x1d9)](_0xf54fad?_0xc7573d[_0x598f87(0x195)](_0xc7573d['JAdzE'],_0x4782d0):_0xc7573d[_0x598f87(0x196)])+_0x598f87(0x1d3)+(_0xf54fad?_0xc7573d['DCwfO']:_0xc7573d[_0x598f87(0x1b7)])+_0x598f87(0x18f));}catch(_0x5e9c84){logger[_0x598f87(0x17b)](_0x598f87(0x1d1)+util[_0x598f87(0x191)](_0x5e9c84));}_0xf54fad&&(global[_0x598f87(0x1a0)]=!![]),await helper[_0x598f87(0x1a3)](global[_0x598f87(0x1cb)][0x0],_0xf54fad?_0xc7573d[_0x598f87(0x19d)]:_0xc7573d['gBZcS'],_0x4782d0);}catch(_0x5ccc10){logger[_0x598f87(0x17b)](_0x598f87(0x16e)+util['format'](_0x5ccc10));}}}catch(_0x136bdb){logger[_0x598f87(0x17b)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x598f87(0x191)](_0x136bdb));}try{if(_0xc7573d[_0x598f87(0x190)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xc7573d[_0x598f87(0x192)])&&Array[_0x598f87(0x1d7)](global[_0x598f87(0x1cb)])&&_0xc7573d[_0x598f87(0x16c)](global[_0x598f87(0x1cb)][_0x598f87(0x165)],0x0)&&global[_0x598f87(0x1cb)][0x0]){const _0xf996de=testRunMap[_0x598f87(0x16b)](_activeResultId),_0x419fdc={};_0x419fdc['thTestRunUuid']=_0xf996de,_0x419fdc[_0x598f87(0x189)]=process[_0x598f87(0x1c5)][testHubConstants[_0x598f87(0x176)][_0x598f87(0x15f)]],_0x419fdc[_0x598f87(0x171)]=process[_0x598f87(0x1c5)][testHubConstants[_0x598f87(0x176)][_0x598f87(0x15d)]];const _0x2c8227=_0x419fdc;logger[_0x598f87(0x17b)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x598f87(0x1d9)](_0x2c8227));if(globals['getGlobal'](_0xc7573d[_0x598f87(0x166)])){logger[_0x598f87(0x17b)](_0xc7573d['eXmPj']);const _0x3d4b4a=await accessibilityRetryHelper[_0x598f87(0x16d)](global[_0x598f87(0x1cb)][0x0],global[_0x598f87(0x17f)]);_0x3d4b4a?logger['debug'](_0xc7573d[_0x598f87(0x184)]):logger[_0x598f87(0x193)](_0xc7573d[_0x598f87(0x17e)]);}else logger['debug'](_0xc7573d[_0x598f87(0x181)]);globals['getGlobal'](_0xc7573d['bQJIe'])&&(_0x2c8227['is_mobile_session']=!![]);const _0x2519a7=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x2c8227);_0x2519a7?logger[_0x598f87(0x17b)](_0xc7573d[_0x598f87(0x182)]):logger[_0x598f87(0x193)](_0xc7573d['RYeMh']);}}catch(_0x1ff98e){logger['error'](_0x598f87(0x1b0)+util[_0x598f87(0x191)](_0x1ff98e));}});}catch(a19_0x462ae6){logger[a19_0x35656b(0x17b)](a19_0x35656b(0x1c6)+util['format'](a19_0x462ae6));}function a19_0x4b19(_0x57fbaa,_0x3c7209){const _0x313e64=a19_0x313e();return a19_0x4b19=function(_0x4b1970,_0x4513a9){_0x4b1970=_0x4b1970-0x157;let _0x57aea6=_0x313e64[_0x4b1970];return _0x57aea6;},a19_0x4b19(_0x57fbaa,_0x3c7209);}module[a19_0x35656b(0x1ae)]={};
|
|
1
|
+
'use strict';const a19_0xb22535=a19_0x3eee;(function(_0x5ae4df,_0x485bc1){const _0x32b73c=a19_0x3eee,_0x53b065=_0x5ae4df();while(!![]){try{const _0x2f810d=-parseInt(_0x32b73c(0xaf))/0x1+-parseInt(_0x32b73c(0x6e))/0x2*(parseInt(_0x32b73c(0x7a))/0x3)+-parseInt(_0x32b73c(0xdb))/0x4+-parseInt(_0x32b73c(0x8c))/0x5+parseInt(_0x32b73c(0xc1))/0x6*(parseInt(_0x32b73c(0xac))/0x7)+parseInt(_0x32b73c(0xee))/0x8+-parseInt(_0x32b73c(0x87))/0x9*(-parseInt(_0x32b73c(0x83))/0xa);if(_0x2f810d===_0x485bc1)break;else _0x53b065['push'](_0x53b065['shift']());}catch(_0x51d9a1){_0x53b065['push'](_0x53b065['shift']());}}}(a19_0x530f,0xcd90a));function a19_0x530f(){const _0x813066=['format','__platformCaps','util','getGlobal','3HhTwyg','autoScanning','ztdsw','__skipSessionStatus','mPzNC','pSIYJ','../../helpers/testhub/utils','getFileName','getEnv','16366670mAOEoL','get','BROWSERSTACK_TESTHUB_UUID','skipSessionStatus','9iJuwSm','yhdwq','thTestRunUuid','Zpnkh','rlDIi','425030aOBzSJ','fzUSp','../../helpers/logger','parse','isBrowserstackInfra','FyeVd','thJwtToken','BRqCx','sessionName','stringify','info','shift','platformCaps','isTrue','isArray','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','OKykE','env','rDVQV','performScanWithRetry','fullName','function','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','message','zKKKe','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','debug','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','__sessionFailed','pop','66269dwVyeb','initQuit','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','1086413oBjipF','includes','platformIndex','FUvly','bin','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','aXDuk','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','wMoJk','setGlobal','failedExpectations','saveAccessibilityResultsWithRetry','isMobilePlatform','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','bstackA11yScanOptions','558rqfMoK','fileNameByFullName','jCRnT','error','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','path','push','Spec\x20failed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Furjz','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','warn','\x22}}','erTeu','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','sep','BROWSERSTACK_JASMINE_CONFIG','length',',\x22level\x22:\x20\x22','XTCPA','bstackA11yShouldScan','./bstack-reporter/customReporter','__drivers','ENV_VAR','undefined','3807276wzlrXq','CONFIG','__skipSessionName','markSessionStatus','describe','addReporter','pwXsX','eMUDx','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','LQyaN','rRESZ','is_mobile_session','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','browserstackAgentV2','HEmqX','NIzLA','thBuildUuid','6658904NRycMT','passed','HMiHY','winstonLogger','../../index','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','node:','isAccessibilityPlatform','dnXwa','stack','768458vWTioW','session_','BRsOo','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','SEEOo','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SeqOj','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts'];a19_0x530f=function(){return _0x813066;};return a19_0x530f();}const util=require(a19_0xb22535(0x78)),logger=require(a19_0xb22535(0x8e))[a19_0xb22535(0xf1)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a19_0xb22535(0x80)),testHubConstants=require(a19_0xb22535(0x9b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0xb22535(0xa6)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require('./testRunMap');function a19_0x3eee(_0x29bca6,_0x40f31b){const _0x530f5b=a19_0x530f();return a19_0x3eee=function(_0x3eee1b,_0xa515ca){_0x3eee1b=_0x3eee1b-0x6a;let _0x66fd18=_0x530f5b[_0x3eee1b];return _0x66fd18;},a19_0x3eee(_0x29bca6,_0x40f31b);}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0xb22535(0x9e)][a19_0xb22535(0xd2)]||process['env'][a19_0xb22535(0xdc)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x1b71db){logger['debug'](a19_0xb22535(0xcc)+util[a19_0xb22535(0x76)](a19_0x1b71db));}try{if(_bstackConfig&&!helper['getPackageVersion']('@playwright/test')){const ohIhtD='1|3|0|4|2'['split']('|');let eFCrEG=0x0;while(!![]){switch(ohIhtD[eFCrEG++]){case'0':global[a19_0xb22535(0x77)]=_bstackConfig[a19_0xb22535(0x98)]||{};continue;case'1':logger[a19_0xb22535(0xa8)](a19_0xb22535(0xae));continue;case'2':helper[a19_0xb22535(0x90)]()?(global['__skipSessionName']=helper[a19_0xb22535(0x99)](_bstackConfig['skipSessionName']),global[a19_0xb22535(0x7d)]=helper[a19_0xb22535(0x99)](_bstackConfig[a19_0xb22535(0x86)])):(global[a19_0xb22535(0xdd)]=!![],global[a19_0xb22535(0x7d)]=!![]);continue;case'3':shouldProcessEventForTesthub()?require(a19_0xb22535(0xf2))[a19_0xb22535(0xea)](_bstackConfig,null,!![]):require('../../index')[a19_0xb22535(0xea)](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig[a19_0xb22535(0xb1)];continue;}break;}}}catch(a19_0x31fd64){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0xb22535(0x76)](a19_0x31fd64));}const _fileNameByFullName={};try{if(typeof describe===a19_0xb22535(0xa2)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x445022=a19_0xb22535,_0x2577f2={'wMoJk':function(_0x57a12c,_0x1e5a1b){return _0x57a12c(_0x1e5a1b);},'SEEOo':_0x445022(0xc6),'ztdsw':_0x445022(0x6a),'uNBiZ':'jasmine-core'},_0x51a78=Error[_0x445022(0xbe)];try{const _0x2252db=new Error();Error[_0x445022(0xbe)]=(_0x13982d,_0x222897)=>_0x222897;const _0x4c4fb2=_0x2252db[_0x445022(0x6d)];Error[_0x445022(0xbe)]=_0x51a78;if(Array[_0x445022(0x9a)](_0x4c4fb2))for(const _0x3264b6 of _0x4c4fb2){const _0x5a64dc=_0x3264b6['getFileName']&&_0x3264b6[_0x445022(0x81)]();if(_0x5a64dc&&!_0x5a64dc[_0x445022(0xb0)](_0x445022(0xb3)+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])['sep']+'jasmine'+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])[_0x445022(0xd1)])&&!_0x5a64dc['startsWith'](_0x2577f2[_0x445022(0x7c)])&&!_0x5a64dc[_0x445022(0xb0)](_0x2577f2['uNBiZ']))return _0x5a64dc;}}catch(_0x2e6d48){Error[_0x445022(0xbe)]=_0x51a78;}return null;},_wrappedDescribe=function(_0x437beb,_0x21cef8){const _0x3d2d68=a19_0xb22535,_0x348ef2={'NIzLA':function(_0x5f48ce){return _0x5f48ce();},'HEmqX':function(_0x3abad5,_0x5d9cb6){return _0x3abad5&&_0x5d9cb6;},'pwXsX':function(_0x4105da,_0x478b97,_0x1d3a99){return _0x4105da(_0x478b97,_0x1d3a99);}};let _0xd48782=null;try{_0xd48782=_0x348ef2[_0x3d2d68(0xec)](_resolveCallerFile);}catch(_0x30d0ee){}_describeTitleStack[_0x3d2d68(0xc7)](_0x437beb);const _0x4b9845=_describeTitleStack['join']('\x20');_0x348ef2[_0x3d2d68(0xeb)](_0xd48782,_0x4b9845)&&(_fileNameByFullName[_0x4b9845]=_0xd48782);try{return _0x348ef2[_0x3d2d68(0xe1)](_origDescribe,_0x437beb,_0x21cef8);}finally{_describeTitleStack[_0x3d2d68(0xab)]();}};Object['keys'](_origDescribe)['forEach'](_0xbe92fb=>{_wrappedDescribe[_0xbe92fb]=_origDescribe[_0xbe92fb];}),global[a19_0xb22535(0xdf)]=_wrappedDescribe;}}catch(a19_0x401d25){logger['debug'](a19_0xb22535(0xa9)+util[a19_0xb22535(0x76)](a19_0x401d25));}try{if(typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]){const BrowserStackJasmineReporter=require(a19_0xb22535(0xd7)),a19_0x5cb559={};a19_0x5cb559[a19_0xb22535(0xc2)]=_fileNameByFullName,jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)](new BrowserStackJasmineReporter(a19_0x5cb559)),logger['debug']('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbc));}catch(a19_0x460e45){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbf)+util['format'](a19_0x460e45));}try{typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]&&jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)]({'specStarted'(_0xc2de47){const _0x281cff=a19_0xb22535,_0x5e3d99={};_0x5e3d99[_0x281cff(0xa5)]=function(_0x450eaa,_0x37f842){return _0x450eaa||_0x37f842;};const _0x43bd2c=_0x5e3d99;_activeResultId=_0xc2de47&&_0xc2de47['id'],_activeFullName=_0xc2de47&&_0xc2de47[_0x281cff(0xa1)],_activeResultRef=_0x43bd2c['zKKKe'](_0xc2de47,null);},'specDone'(){}});}catch(a19_0x244e74){logger['debug'](a19_0xb22535(0xbd)+util[a19_0xb22535(0x76)](a19_0x244e74));}const _resolveAutoScanning=()=>{const _0x554aab=a19_0xb22535,_0x4ab6aa={};_0x4ab6aa[_0x554aab(0xd5)]=function(_0x45e9b2,_0x52f7d3){return _0x45e9b2===_0x52f7d3;};const _0x3d561d=_0x4ab6aa;let _0x519185=!![];try{const _0x349b83=JSON[_0x554aab(0x8f)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3d561d[_0x554aab(0xd5)](_0x349b83[_0x554aab(0x7b)],![])&&(_0x519185=![]);}catch(_0x1e4309){logger['debug'](_0x554aab(0xd0)+_0x1e4309[_0x554aab(0xa4)]);}return _0x519185;};try{typeof beforeEach===a19_0xb22535(0xa2)&&beforeEach(function bstackA11yBeforeEach(){const _0x14f67c=a19_0xb22535,_0x4c6218={'eMUDx':function(_0x14ec09){return _0x14ec09();},'YRXTG':function(_0x23b226,_0x32c537,_0x2f9107){return _0x23b226(_0x32c537,_0x2f9107);},'erTeu':function(_0x335a68,_0x551d7f){return _0x335a68&&_0x551d7f;},'FyeVd':_0x14f67c(0xd6),'BRqCx':_0x14f67c(0xc0)};try{const _0x2088fa=_0x4c6218[_0x14f67c(0xe2)](_resolveAutoScanning),_0x177630=_0x4c6218['YRXTG'](shouldScanTestForAccessibility,null,![]),_0x31650d=_0x4c6218[_0x14f67c(0xcf)](_0x2088fa,_0x177630);globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x91)],_0x31650d),globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x93)],null);}catch(_0x53198a){logger[_0x14f67c(0xa8)](_0x14f67c(0xc9)+util[_0x14f67c(0x76)](_0x53198a));}}),typeof afterEach===a19_0xb22535(0xa2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x44e610=a19_0xb22535,_0x47184f={'FUvly':function(_0x3dadcf,_0x288615){return _0x3dadcf>_0x288615;},'mPzNC':function(_0x1556f7,_0x53dcf4){return _0x1556f7>_0x53dcf4;},'SeqOj':function(_0x11bd9f,_0x30d1af){return _0x11bd9f>_0x30d1af;},'Zpnkh':_0x44e610(0xc8),'HMiHY':function(_0x447e20,_0x17b0af){return _0x447e20+_0x17b0af;},'rRESZ':'Failed:\x20','fzUSp':'Passed','fWAmM':'error','BRsOo':_0x44e610(0x96),'hvSDD':'failed','aXDuk':_0x44e610(0xef),'pSIYJ':function(_0xa3194a){return _0xa3194a();},'jCRnT':_0x44e610(0x6b),'OKykE':_0x44e610(0xd6),'yhdwq':_0x44e610(0xa3),'fbfku':_0x44e610(0xb6),'rDVQV':_0x44e610(0x75),'rlDIi':_0x44e610(0xf3),'LQyaN':_0x44e610(0xbb),'nQHst':_0x44e610(0xc5),'Furjz':_0x44e610(0xcb)};try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0xb2)](global['__drivers'][_0x44e610(0xd3)],0x1)){const _0x4e34e6=global[_0x44e610(0xd8)][0x0];try{await _0x4e34e6[_0x44e610(0x6f)],await _0x4e34e6[_0x44e610(0xad)]();}catch(_0x2bc148){logger[_0x44e610(0xa8)](_0x44e610(0x71)+util[_0x44e610(0x76)](_0x2bc148));}global[_0x44e610(0xd8)][_0x44e610(0x97)]();}}catch(_0x58735b){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x44e610(0x76)](_0x58735b));}try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0x7e)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global['__drivers'][0x0]){const _0xe7e43f=_activeFullName||global[_0x44e610(0x94)];if(!global[_0x44e610(0xdd)]&&_0xe7e43f){global[_0x44e610(0x94)]=_0xe7e43f;try{await global['__drivers'][0x0]['executeScript'](_0x44e610(0xe4)+JSON[_0x44e610(0x95)](_0xe7e43f)+'}}'),global[_0x44e610(0xd8)][0x0]['sessionNameSet__']=!![];}catch(_0x32fc5f){logger['debug'](_0x44e610(0xa7)+util[_0x44e610(0x76)](_0x32fc5f));}}if(!global[_0x44e610(0x7d)])try{const _0x4840f2=_activeResultRef&&Array['isArray'](_activeResultRef[_0x44e610(0xb9)])?_activeResultRef['failedExpectations']:[],_0x5619b4=_0x47184f['SeqOj'](_0x4840f2['length'],0x0),_0x5c4fa4=_0x5619b4?_0x4840f2[0x0]&&_0x4840f2[0x0][_0x44e610(0xa4)]||_0x47184f[_0x44e610(0x8a)]:null;try{await global[_0x44e610(0xd8)][0x0]['executeScript'](_0x44e610(0x73)+JSON[_0x44e610(0x95)](_0x5619b4?_0x47184f[_0x44e610(0xf0)](_0x47184f[_0x44e610(0xe6)],_0x5c4fa4):_0x47184f[_0x44e610(0x8d)])+_0x44e610(0xd4)+(_0x5619b4?_0x47184f['fWAmM']:_0x47184f[_0x44e610(0x70)])+_0x44e610(0xce));}catch(_0x3b98a6){logger[_0x44e610(0xa8)](_0x44e610(0x9c)+util[_0x44e610(0x76)](_0x3b98a6));}_0x5619b4&&(global[_0x44e610(0xaa)]=!![]),await helper[_0x44e610(0xde)](global[_0x44e610(0xd8)][0x0],_0x5619b4?_0x47184f['hvSDD']:_0x47184f[_0x44e610(0xb5)],_0x5c4fa4);}catch(_0x2d1252){logger[_0x44e610(0xa8)](_0x44e610(0xb4)+util[_0x44e610(0x76)](_0x2d1252));}}}catch(_0x4978d6){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x44e610(0x76)](_0x4978d6));}try{if(_0x47184f[_0x44e610(0x7f)](isAccessibilityAutomationSession)&&globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xc3)])&&Array['isArray'](global['__drivers'])&&_0x47184f[_0x44e610(0x74)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global[_0x44e610(0xd8)][0x0]){const _0x438b6c=testRunMap[_0x44e610(0x84)](_activeResultId),_0x425b6e={};_0x425b6e[_0x44e610(0x89)]=_0x438b6c,_0x425b6e[_0x44e610(0xed)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0x85)]],_0x425b6e[_0x44e610(0x92)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0xe3)]];const _0x13e5f9=_0x425b6e;logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x44e610(0x95)](_0x13e5f9));if(globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0x9d)])){logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x88)]);const _0x3ee616=await accessibilityRetryHelper[_0x44e610(0xa0)](global['__drivers'][0x0],global['browserstackSessionName']);_0x3ee616?logger[_0x44e610(0xa8)](_0x47184f['fbfku']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0x9f)]);}else logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x8b)]);globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xe5)])&&(_0x13e5f9[_0x44e610(0xe7)]=!![]);const _0x2015f7=await accessibilityRetryHelper[_0x44e610(0xba)](global['__drivers'][0x0],_0x13e5f9);_0x2015f7?logger[_0x44e610(0xa8)](_0x47184f['nQHst']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0xca)]);}}catch(_0x2dd4eb){logger[_0x44e610(0xc4)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x44e610(0x76)](_0x2dd4eb));}});}catch(a19_0x12b423){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xe8)+util['format'](a19_0x12b423));}try{typeof afterAll===a19_0xb22535(0xa2)&&afterAll(async function bstackFinalDriverQuit(){const _0x512f43=a19_0xb22535,_0x2c8b88={};_0x2c8b88[_0x512f43(0x6c)]=function(_0x49b139,_0x3e0413){return _0x49b139>_0x3e0413;};const _0x227fbc=_0x2c8b88;try{Array['isArray'](global['__drivers'])&&_0x227fbc['dnXwa'](global[_0x512f43(0xd8)][_0x512f43(0xd3)],0x0)&&global['__drivers'][0x0]&&(await global[_0x512f43(0xd8)][0x0][_0x512f43(0x6f)],await global[_0x512f43(0xd8)][0x0][_0x512f43(0xad)]());}catch(_0x38c8f5){logger[_0x512f43(0xa8)](_0x512f43(0xe9)+util[_0x512f43(0x76)](_0x38c8f5));}});}catch(a19_0x102507){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0xb22535(0x76)](a19_0x102507));}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a20_0x40857d=a20_0x9312;(function(_0x19655a,_0x439db6){const _0x478c3d=a20_0x9312,_0x31d37a=_0x19655a();while(!![]){try{const _0x3cac76=parseInt(_0x478c3d(0xae))/0x1*(parseInt(_0x478c3d(0xa7))/0x2)+parseInt(_0x478c3d(0xb4))/0x3+-parseInt(_0x478c3d(0xa4))/0x4*(-parseInt(_0x478c3d(0xa1))/0x5)+-parseInt(_0x478c3d(0xa5))/0x6*(parseInt(_0x478c3d(0xac))/0x7)+-parseInt(_0x478c3d(0xaf))/0x8*(-parseInt(_0x478c3d(0xb3))/0x9)+parseInt(_0x478c3d(0xa8))/0xa*(-parseInt(_0x478c3d(0x9f))/0xb)+parseInt(_0x478c3d(0xa2))/0xc*(parseInt(_0x478c3d(0xb1))/0xd);if(_0x3cac76===_0x439db6)break;else _0x31d37a['push'](_0x31d37a['shift']());}catch(_0x11ec3a){_0x31d37a['push'](_0x31d37a['shift']());}}}(a20_0x1196,0x98712));const _specUuidById=new Map();function a20_0x1196(){const _0x1f2ccd=['3487836QyFXHR','VenCV','4jvPgsA','114bAxMiQ','_size','2FuOPgb','2116930VUfUPk','gpzGj','size','remove','287511pMQszI','set','297317ucoLHI','1705608QxXvml','pQnas','13rtoLNj','aCmGd','9amGTyi','209130wycikj','JPBoX','delete','11UjaHQZ','get','3728005YikqYl'];a20_0x1196=function(){return _0x1f2ccd;};return a20_0x1196();}function a20_0x9312(_0x2f08e7,_0x292c15){const _0x11965b=a20_0x1196();return a20_0x9312=function(_0x93129d,_0xafd711){_0x93129d=_0x93129d-0x9f;let _0x3f064e=_0x11965b[_0x93129d];return _0x3f064e;},a20_0x9312(_0x2f08e7,_0x292c15);}exports[a20_0x40857d(0xad)]=(_0x35bd5d,_0x2d9036)=>{const _0x15cef0=a20_0x40857d,_0xb89db={};_0xb89db[_0x15cef0(0xa9)]=function(_0x53dc67,_0x52c753){return _0x53dc67===_0x52c753;};const _0x1be2c5=_0xb89db;if(_0x1be2c5[_0x15cef0(0xa9)](_0x35bd5d,undefined)||_0x1be2c5[_0x15cef0(0xa9)](_0x35bd5d,null))return;_specUuidById[_0x15cef0(0xad)](_0x35bd5d,_0x2d9036);},exports[a20_0x40857d(0xa0)]=_0x54a8ea=>{const _0x127ab3=a20_0x40857d,_0x1a6fa7={};_0x1a6fa7[_0x127ab3(0xb0)]=function(_0x43a09f,_0x2591be){return _0x43a09f===_0x2591be;},_0x1a6fa7[_0x127ab3(0xb5)]=function(_0x56ee0b,_0x3841bc){return _0x56ee0b===_0x3841bc;};const _0x1f8aa9=_0x1a6fa7;if(_0x1f8aa9['pQnas'](_0x54a8ea,undefined)||_0x1f8aa9[_0x127ab3(0xb5)](_0x54a8ea,null))return undefined;return _specUuidById[_0x127ab3(0xa0)](_0x54a8ea);},exports[a20_0x40857d(0xab)]=_0x2e5c88=>{const _0x302fcb=a20_0x40857d,_0x2d91cb={};_0x2d91cb[_0x302fcb(0xa3)]=function(_0x20336a,_0x180740){return _0x20336a===_0x180740;},_0x2d91cb[_0x302fcb(0xb2)]=function(_0x138655,_0xdc9d91){return _0x138655===_0xdc9d91;};const _0x3c0de6=_0x2d91cb;if(_0x3c0de6[_0x302fcb(0xa3)](_0x2e5c88,undefined)||_0x3c0de6['aCmGd'](_0x2e5c88,null))return;_specUuidById[_0x302fcb(0xb6)](_0x2e5c88);},exports[a20_0x40857d(0xa6)]=()=>_specUuidById[a20_0x40857d(0xaa)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0xafbf83=a21_0x3413;(function(_0x107d6d,_0x5cbd2d){const _0x18cd44=a21_0x3413,_0x6aa50c=_0x107d6d();while(!![]){try{const _0x3a40c=-parseInt(_0x18cd44(0x1c4))/0x1*(parseInt(_0x18cd44(0x20f))/0x2)+-parseInt(_0x18cd44(0x1f3))/0x3+parseInt(_0x18cd44(0x1d6))/0x4+-parseInt(_0x18cd44(0x15b))/0x5*(parseInt(_0x18cd44(0x1d5))/0x6)+-parseInt(_0x18cd44(0x14f))/0x7+-parseInt(_0x18cd44(0x154))/0x8+-parseInt(_0x18cd44(0x1f9))/0x9*(-parseInt(_0x18cd44(0x1f6))/0xa);if(_0x3a40c===_0x5cbd2d)break;else _0x6aa50c['push'](_0x6aa50c['shift']());}catch(_0x35f22e){_0x6aa50c['push'](_0x6aa50c['shift']());}}}(a21_0x1e19,0xdcf69));const fs=require('fs'),path=require(a21_0xafbf83(0x18a)),util=require(a21_0xafbf83(0x1f5)),{spawn}=require(a21_0xafbf83(0x1fd)),logger=require(a21_0xafbf83(0x160))[a21_0xafbf83(0x16b)],{default:BrowserStackSetup}=require(a21_0xafbf83(0x157)),helper=require(a21_0xafbf83(0x169)),utilities=require(a21_0xafbf83(0x144)),constants=require(a21_0xafbf83(0x198)),accessibilityHelper=require(a21_0xafbf83(0x20a)),{updateTestRerunConfig}=require(a21_0xafbf83(0x131)),testOpsHelper=require(a21_0xafbf83(0x143)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0xafbf83(0x1a5)),{getPercyOptions}=require(a21_0xafbf83(0x1cc)),TestHubHandler=require(a21_0xafbf83(0x1d9)),testhubUtils=require(a21_0xafbf83(0x196)),{FRAMEWORKS}=require(a21_0xafbf83(0x1b8)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a21_0xafbf83(0x1e3)],TestOrchestrationHandler=require(a21_0xafbf83(0x176)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0xafbf83(0x1bf)),ClientTroubleShootingService=require(a21_0xafbf83(0x133)),{checkAccessibilityPlatformConfig}=require(a21_0xafbf83(0x20a)),getUserJestConfigs=async(_0x3b56ba,_0x4467da)=>{const _0x2c8f0b=a21_0xafbf83,_0x28dcd6={'ZFZww':'jest-config/build/readConfigFileAndSetRootDir.js','ZYeUP':_0x2c8f0b(0x1bc),'iMcKm':function(_0x8bc7ba,_0x4c7781){return _0x8bc7ba||_0x4c7781;},'nxppc':function(_0x555723,_0x35976e){return _0x555723(_0x35976e);},'jgrnp':_0x2c8f0b(0x178),'pyUOX':_0x2c8f0b(0x141),'wnvSS':_0x2c8f0b(0x177),'gItEa':_0x2c8f0b(0x152),'DAIUm':'json'};let _0x5902d8;try{_0x5902d8=helper[_0x2c8f0b(0x200)](_0x28dcd6['ZFZww'],_0x28dcd6['ZYeUP']);}catch{const _0x2ba0b7=helper[_0x2c8f0b(0x200)](_0x28dcd6[_0x2c8f0b(0x17a)]);_0x5902d8={'default':async _0x292d09=>{const _0x410f45=_0x2c8f0b,_0x559430=await _0x2ba0b7['readInitialOptions'](_0x292d09,{});return _0x559430[_0x410f45(0x13d)];}};}const _0x2e74dd=_0x4467da['findIndex'](_0x326c42=>_0x326c42===_0x2c8f0b(0x1d1));if(!helper['isUndefined'](_0x3b56ba['config'])){logger[_0x2c8f0b(0x208)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x3b56ba[_0x2c8f0b(0x13d)]),process[_0x2c8f0b(0x1ba)][_0x2c8f0b(0x15e)]=_0x3b56ba['config'];const _0x2d5dc1=await(0x0,_0x5902d8['default'])(path[_0x2c8f0b(0x1b6)](_0x3b56ba[_0x2c8f0b(0x13d)]));return _0x4467da[_0x2c8f0b(0x14c)](_0x2e74dd,0x2),_0x28dcd6[_0x2c8f0b(0x1fe)](_0x2d5dc1,{});}const _0x41edd3=_0x28dcd6[_0x2c8f0b(0x1c7)](require,path[_0x2c8f0b(0x1fb)](process['cwd'](),_0x28dcd6[_0x2c8f0b(0x124)]));if(_0x41edd3[_0x2c8f0b(0x1da)])return logger['info'](_0x28dcd6['pyUOX']),_0x41edd3[_0x2c8f0b(0x1da)];const _0xb14473=['js',_0x28dcd6['wnvSS'],_0x28dcd6['gItEa'],_0x28dcd6[_0x2c8f0b(0x217)],'ts'];for(const _0x1b5c10 of _0xb14473){const _0x5759b4=path[_0x2c8f0b(0x1fb)](process[_0x2c8f0b(0x15c)](),_0x2c8f0b(0x14e)+_0x1b5c10);if(fs['existsSync'](_0x5759b4)){process[_0x2c8f0b(0x1ba)]['USER_CONFIG_DETAILS_PATH']=_0x5759b4;const _0x2c73c3=await(0x0,_0x5902d8[_0x2c8f0b(0x18e)])(_0x5759b4);return _0x2c73c3;}}return{};},getSerial=(_0x220dbe,_0x32f642)=>{const _0x2f0562=a21_0xafbf83,_0x2f3557={};_0x2f3557[_0x2f0562(0x18d)]=_0x2f0562(0x191),_0x2f3557['LpBeF']=function(_0x597036,_0x37f0e3){return _0x597036>_0x37f0e3;},_0x2f3557[_0x2f0562(0x1b5)]=_0x2f0562(0x1c1);const _0x4d2d24=_0x2f3557;let _0x947a27=_0x4d2d24[_0x2f0562(0x18d)];return _0x4d2d24['LpBeF'](_0x220dbe[_0x2f0562(0x123)],0x1)&&(!_0x32f642[_0x2f0562(0x1a6)]&&(helper[_0x2f0562(0x15a)](_0x32f642[_0x2f0562(0x1ec)])||_0x4d2d24[_0x2f0562(0x1bb)](_0x32f642['maxWorkers'],0x1)))&&(_0x947a27=_0x4d2d24['fonwH']),_0x947a27;},getMaxWorkers=(_0x354d6b,_0x4ac0ef,_0x36194d)=>{const _0x24236f=a21_0xafbf83,_0x3edbf9={'NLNxV':function(_0x215910,_0x26c9d8){return _0x215910(_0x26c9d8);}};let _0x2574e7=0x1;if(!helper[_0x24236f(0x15a)](_0x4ac0ef[_0x24236f(0x148)]))_0x2574e7=_0x3edbf9[_0x24236f(0x179)](parseInt,_0x4ac0ef[_0x24236f(0x148)]);else{if(!helper[_0x24236f(0x15a)](_0x354d6b[_0x24236f(0x1ec)]))_0x2574e7=_0x354d6b[_0x24236f(0x1ec)];else!helper[_0x24236f(0x15a)](_0x36194d[_0x24236f(0x1ec)])&&(_0x2574e7=_0x36194d['maxWorkers']);}return _0x2574e7;};function a21_0x3413(_0x3ab6f4,_0x268d6a){const _0x1e19b9=a21_0x1e19();return a21_0x3413=function(_0x341349,_0x143192){_0x341349=_0x341349-0x123;let _0x4ed3d8=_0x1e19b9[_0x341349];return _0x4ed3d8;},a21_0x3413(_0x3ab6f4,_0x268d6a);}function a21_0x1e19(){const _0x514d98=['5324744oNlXaP','BROWSERSTACK_CAPABILITIES','shutdown','../../helpers/BrowserStackSetup','start','__isPlaywrightInstalled','isUndefined','120790QJbrHX','cwd','xjJlI','USER_CONFIG_DETAILS_PATH','dLUMm','../../helpers/logger','DZusP','HCBWB','BROWSERSTACK_FRAMEWORK','jest.setup.js','aqEDM','customTestRunner.js','ZVJve','jest_browserstack_results.json','../../helpers/helper','isBrowserstackInfra','winstonLogger','testContextOptions','customTestRunnerTemplate.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isRunning','apply','ZZWWn','failureThresholdCount','daCdJ','Deleted\x20fail-fast\x20state\x20folder:\x20','__isPuppeteerInstalled','../../helpers/test-orchestration/testOrchestrationHandler','mjs','package.json','NLNxV','ZYeUP','\x0a\x20\x20\x20\x20\x20\x20','customSequencer.js','workingDir','jzXUy','GfbGQ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','RaCYM','recursive','isEmpty','filterBrowserstackArgs','\x0amodule.exports\x20=\x20config;','jMdvI','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','initialize','data-hooks.js','path','isTestOrchestrationEnabled','skipSessionStatus','LsDPh','default','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','moduleNameMapper','true','PACKAGE_TYPE','browserStackLogLevel','push','errorMessage','../../helpers/testhub/utils','debug','../utils/constants','dirname','\x20with\x20browserstack\x20jest\x20configs','setupFiles','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','serial__','launchBuild','parallels__','isCLIEnabled','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ieJkh','Error\x20while\x20parsing\x20','@playwright/test','./test-observability/test-details','runInBand','wdKCK','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','checkAccessibilityPlatformConfig','Reodered\x20Test\x20Files:\x20','Found:\x20','BBXAY','Creating\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupFilesAfterEnv','const\x20config=','platform','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','RoLkx','fonwH','resolve','TSTie','../../helpers/test-observability/constants','LCwIP','env','LpBeF','jest-config',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','customEnvironment.js','../../helpers/puppeteer-helper','resolveModule','false','format','stringify','191MuoEKi','message','test-observability','nxppc','@jest/core/build/ReporterDispatcher.js','BSTACK_USER_JEST_RUNNER','child\x20process\x20exited\x20with\x20code\x20','mDBwz','../../helpers/percy/utils','MODULE','maxFailures','maxRetries','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','--config','ITozw','JEST_TEST_ORDER','SDK_SETUP','258FUMsZu','2086468ipviDz',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','stop','../../helpers/testhub/testhubHandler','jest','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','getErrorMessageFromResults','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','IMqof','abortBuildOnFailure','XDCBG','isNotUndefined','existsSync','EVENTS','jest_browserstack.config.js','turboScaleUrl','capabilities','slice','SDK_CLEANUP','testSequencer','NXphy','retries__','maxWorkers','setupBrowserstackLocal','close','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','exports','frkSF','assign','5192703oeLXHy','Rpeqj','util','17893450uICmvc','writeFileSync','jxHFp','27UHYqBB','proxySettings','join','runner','child_process','iMcKm','test.setup.js','requireModule','jest-runner-','skipSessionName','rJLjh','reporters','replace','requireSeleniumWebdriver','rmSync','info','playwright','../../helpers/accessibility-automation/helper','jest_browserstack.config.cjs','jest-circus/build/runner.js','unlinkSync','ccXyj','3194gxnZuN','retryTestsOnFailure','failFast','pliLS','getPackageVersion','FRAMEWORKS',',\x20CLI\x20running:\x20','Deleting\x20','DAIUm','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','puppeteer','dlzWu','length','jgrnp','inherit','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exitCode','mciMX','prepareCapabilities','test_before.setup.js','cqvuT','testTimeout','gihEe','accessibilityOptions','JEST','jest-circus','./test-observability/helper','handleApp','../utils/clientTroubleshootingService','testObservability','oYfef','sxYzG','testEnvironment','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','force','Ownzc','platforms','RvSjG','config','win32','Unable\x20to\x20find\x20jest-circus,\x20','requirePWModule','Getting\x20your\x20jest\x20configs\x20from\x20package.json','getInstance','../../helpers/test-observability/utils','../../helpers/utilities','TzTeb','error','testEnvironmentOptions','parallelsPerPlatform','IWIhY','getHubUrl','NtKbC','splice','timeout__','jest.config.','8709904wmTcey','gBHjJ','shouldProcessEventForTesthub','cjs','\x20test\x20files\x20to\x20run.'];a21_0x1e19=function(){return _0x514d98;};return a21_0x1e19();}async function run(_0x151383,_0x32f27a,_0x4adf03){const _0x510a51=a21_0xafbf83,_0x54400e={'XDCBG':'jest','ccXyj':function(_0x56d4e6,_0xc95ed){return _0x56d4e6(_0xc95ed);},'daCdJ':_0x510a51(0x1a4),'CgnPn':function(_0x34055d){return _0x34055d();},'jMdvI':function(_0x2fc6b8,_0x3ed623,_0x49c2a5,_0x59870e){return _0x2fc6b8(_0x3ed623,_0x49c2a5,_0x59870e);},'ZZWWn':function(_0x5b0705,_0x47ff8e){return _0x5b0705!=_0x47ff8e;},'gBHjJ':_0x510a51(0x191),'IWIhY':function(_0xab7bb8,_0x4aac7d,_0x1f9860){return _0xab7bb8(_0x4aac7d,_0x1f9860);},'NtKbC':_0x510a51(0x138),'NXphy':function(_0xa08fe0,_0x6658ad){return _0xa08fe0(_0x6658ad);},'ZVJve':_0x510a51(0x1c1),'frkSF':function(_0x177367,_0x570667,_0x46b06f){return _0x177367(_0x570667,_0x46b06f);},'GfbGQ':function(_0x16b2bb,_0x3cb0ca){return _0x16b2bb*_0x3cb0ca;},'Ownzc':function(_0x359fd0,_0x521d70){return _0x359fd0===_0x521d70;},'aqEDM':_0x510a51(0x20b),'qfdtP':_0x510a51(0x1e4),'RvSjG':'customImplements','wBGlA':_0x510a51(0x168),'rJLjh':_0x510a51(0x166),'oYfef':_0x510a51(0x16d),'gihEe':_0x510a51(0x1be),'cqvuT':function(_0x58c32c,_0x50d5ee){return _0x58c32c!==_0x50d5ee;},'Rpeqj':'jest-runner','ThEis':'jest-runner-','cTSwI':_0x510a51(0x164),'RaCYM':_0x510a51(0x17c),'ieJkh':_0x510a51(0x1d0),'wdKCK':_0x510a51(0x130),'jzXUy':_0x510a51(0x20c),'zptDi':_0x510a51(0x1c6),'uoGQy':_0x510a51(0x189),'RoLkx':'customCircus.js','dLUMm':_0x510a51(0x12a),'jxHFp':_0x510a51(0x180),'IMqof':_0x510a51(0x209),'BFBTc':_0x510a51(0x1ef),'LCwIP':_0x510a51(0x1ff),'dlzWu':_0x510a51(0x187),'pliLS':function(_0x3465ff,_0x5b3d28){return _0x3465ff&&_0x5b3d28;},'wSCtC':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','xjJlI':_0x510a51(0x219),'WODGf':'puppeteer-core/package.json','fdaVX':_0x510a51(0x18e),'mciMX':function(_0x1b12f6,_0xdbbd0b,_0x2172c0){return _0x1b12f6(_0xdbbd0b,_0x2172c0);},'DwczU':_0x510a51(0x1c8),'HCBWB':'@jest/core','BBXAY':_0x510a51(0x1a1),'dTyUo':function(_0x4079ae,_0x410498){return _0x4079ae>_0x410498;},'sxYzG':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mDBwz':_0x510a51(0x1d1),'TzTeb':'npx','DZusP':_0x510a51(0x13e),'TSTie':_0x510a51(0x125),'ITozw':_0x510a51(0x1ee)},_0x3fad7c=helper[_0x510a51(0x213)](_0x54400e[_0x510a51(0x173)]);global[_0x510a51(0x159)]=!!_0x3fad7c;const _0x15e8c1=_0x54400e['CgnPn'](getPuppeteerVersion);global[_0x510a51(0x175)]=!!_0x15e8c1;helper[_0x510a51(0x16a)]()&&(await _0x4adf03[_0x510a51(0x188)](_0x151383),await helper[_0x510a51(0x132)](_0x4adf03[_0x510a51(0x13d)]));if(_0x3fad7c)await _0x54400e[_0x510a51(0x186)](checkPwandBootstrapCli,_0x3fad7c,constants[_0x510a51(0x214)][_0x510a51(0x12f)],_0x4adf03);else _0x15e8c1&&await _0x54400e[_0x510a51(0x186)](checkPuppeteerAndBootstrapCli,_0x15e8c1,constants[_0x510a51(0x214)]['JEST'],_0x4adf03);!BrowserstackCLI[_0x510a51(0x142)]()[_0x510a51(0x16f)]()&&await _0x4adf03[_0x510a51(0x1ed)]();if(!_0x4adf03['config'])return;_0x54400e[_0x510a51(0x171)](_0x4adf03['config'][_0x510a51(0x134)],null)?process['env'][_0x510a51(0x1af)]=_0x4adf03['config'][_0x510a51(0x134)]:process['env'][_0x510a51(0x1af)]=_0x54400e[_0x510a51(0x150)];const _0x22887c=new TestOrchestrationHandler(_0x4adf03[_0x510a51(0x13d)]),_0x58e41b=await _0x54400e[_0x510a51(0x149)](getUserJestConfigs,_0x151383,_0x32f27a);logger[_0x510a51(0x208)](_0x54400e[_0x510a51(0x14b)]);const _0xbaf3a5=Object[_0x510a51(0x1f2)]({},_0x58e41b);_0xbaf3a5[_0x510a51(0x147)]=Object[_0x510a51(0x1f2)]({},_0xbaf3a5['testEnvironmentOptions'],{'server':helper[_0x510a51(0x14a)](_0x4adf03[_0x510a51(0x13d)]),'environment':_0x58e41b[_0x510a51(0x137)]}),_0xbaf3a5['testEnvironmentOptions']['browserStackPercyOptions']=_0x54400e[_0x510a51(0x20e)](getPercyOptions,_0x4adf03[_0x510a51(0x13d)]);const _0x19e885=helper['useW3C'](_0x4adf03[_0x510a51(0x13d)]);!helper['isUndefined'](_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x12e)])&&(process['env'][_0x510a51(0x126)]=JSON['stringify'](_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x12e)]));if(!BrowserstackCLI[_0x510a51(0x142)]()[_0x510a51(0x16f)]()){const _0x140ecd=await TestHubHandler[_0x510a51(0x19e)](FRAMEWORKS[_0x510a51(0x12f)],_0x4adf03);}const _0x34dd98=helper[_0x510a51(0x129)](_0x4adf03[_0x510a51(0x13d)],_0x19e885,constants[_0x510a51(0x214)][_0x510a51(0x12f)]);process[_0x510a51(0x1ba)][_0x510a51(0x155)]=JSON[_0x510a51(0x1c3)](_0x34dd98);let _0x201610=_0x4adf03[_0x510a51(0x13d)]['accessibility'];_0x201610=_0x201610||accessibilityHelper[_0x510a51(0x1aa)](_0x4adf03[_0x510a51(0x13d)]),process['env'][_0x510a51(0x16e)]=_0x201610,logger[_0x510a51(0x197)](_0x510a51(0x1db)+_0x201610+_0x510a51(0x215)+BrowserstackCLI['getInstance']()[_0x510a51(0x16f)]());if(_0x3fad7c)try{const _0x1cc3c7=_0x54400e[_0x510a51(0x1ea)](checkAccessibilityPlatformConfig,_0x4adf03[_0x510a51(0x13d)]);process[_0x510a51(0x1ba)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x1cc3c7?_0x54400e[_0x510a51(0x150)]:_0x54400e[_0x510a51(0x167)],logger['debug'](_0x510a51(0x18f)+_0x1cc3c7+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x510a51(0x1ba)][_0x510a51(0x1a9)]);}catch(_0x25d239){logger['debug'](_0x510a51(0x19c)+util[_0x510a51(0x1c2)](_0x25d239));}_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1e6)]=_0x34dd98,_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x19d)]=_0x54400e[_0x510a51(0x1f1)](getSerial,_0x34dd98,_0x151383),_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x19f)]=_0x54400e[_0x510a51(0x186)](getMaxWorkers,_0x151383,_0x4adf03[_0x510a51(0x13d)],_0x58e41b),_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1fa)]=_0x4adf03[_0x510a51(0x13d)]['proxySettings'],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x14d)]=_0x54400e[_0x510a51(0x17f)](_0x151383[_0x510a51(0x12c)],0x1)||0x1388,_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x202)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x16c)][_0x510a51(0x202)],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x18c)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x16c)][_0x510a51(0x18c)],_0xbaf3a5['testEnvironmentOptions'][_0x510a51(0x193)]=_0x4adf03['config']['logLevel'],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1e5)]=_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x1e5)],_0xbaf3a5['testEnvironmentOptions']['platformCaps']=_0x4adf03['config']['platforms'];const _0x44afa3=helper['parseTestOrchestrationOptions'](_0x4adf03[_0x510a51(0x13d)]);if(!helper[_0x510a51(0x183)](_0x44afa3)){helper[_0x510a51(0x1e1)](_0x44afa3[_0x510a51(0x210)])&&(_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x1eb)]=_0x44afa3[_0x510a51(0x210)][_0x510a51(0x1cf)]);if(helper[_0x510a51(0x1e1)](_0x44afa3[_0x510a51(0x1df)])&&helper[_0x510a51(0x1e1)](_0x44afa3['abortBuildOnFailure']['workingDir'])){const _0x42e044={};_0x42e044[_0x510a51(0x172)]=_0x44afa3[_0x510a51(0x1df)][_0x510a51(0x1ce)],_0x42e044[_0x510a51(0x17d)]=_0x44afa3[_0x510a51(0x1df)][_0x510a51(0x17d)],_0xbaf3a5[_0x510a51(0x147)][_0x510a51(0x211)]=_0x42e044;}}let _0x7c6dfc='';_0x54400e[_0x510a51(0x13a)](helper['getPackageType'](),constants[_0x510a51(0x192)][_0x510a51(0x1cd)])?_0x7c6dfc=_0x54400e[_0x510a51(0x165)]:_0x7c6dfc=_0x54400e['qfdtP'];const _0x36f19e=_0x7c6dfc,_0x2e3345=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e['wBGlA']),_0x4e0ff3=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x203)]),_0x173e4e=path[_0x510a51(0x1fb)](__dirname,_0x54400e['RvSjG'],_0x54400e[_0x510a51(0x135)]);_0xbaf3a5['testEnvironment']&&(process[_0x510a51(0x1ba)]['BSTACK_JEST_TEST_ENV']=_0xbaf3a5[_0x510a51(0x137)]);_0xbaf3a5[_0x510a51(0x137)]=path[_0x510a51(0x1fb)](__dirname,_0x54400e['RvSjG'],_0x54400e[_0x510a51(0x12d)]);const _0x38e014=_0x58e41b[_0x510a51(0x1fc)];if(_0x38e014&&_0x54400e[_0x510a51(0x12b)](_0x38e014,_0x54400e[_0x510a51(0x1f4)])){const _0x4e5681=_0x38e014['startsWith'](_0x54400e['ThEis'])?_0x38e014:_0x510a51(0x201)+_0x38e014;process['env'][_0x510a51(0x1c9)]=_0x4e5681,logger[_0x510a51(0x208)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x4e5681);}_0xbaf3a5['runner']=_0x4e0ff3,_0xbaf3a5[_0x510a51(0x1b0)]=_0xbaf3a5['setupFilesAfterEnv']||[],_0xbaf3a5[_0x510a51(0x1b0)][_0x510a51(0x194)](path['join'](__dirname,_0x54400e['cTSwI']));_0x22887c['isTestOrchestrationEnabled']()&&(_0xbaf3a5[_0x510a51(0x1e9)]=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x181)]));if(testhubUtils[_0x510a51(0x151)]()||BrowserstackCLI[_0x510a51(0x142)]()['isCliEnabled']()){let _0x3f7634=null;try{_0x3f7634=helper['requireModule'](_0x54400e[_0x510a51(0x1a2)],_0x54400e[_0x510a51(0x1a7)]);}catch(_0x5959c7){try{_0x3f7634=helper[_0x510a51(0x200)](_0x54400e[_0x510a51(0x17e)],_0x54400e[_0x510a51(0x1a7)]);}catch(_0x12431e){_0x54400e[_0x510a51(0x1ea)](debug,_0x510a51(0x13f)+_0x12431e);}}_0x3f7634&&(testhubUtils[_0x510a51(0x151)]()&&_0xbaf3a5[_0x510a51(0x1b0)][_0x510a51(0x194)](path[_0x510a51(0x1fb)](__dirname,_0x54400e['zptDi'],_0x54400e['uoGQy'])),_0xbaf3a5['testRunner']=path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x13c)],_0x54400e[_0x510a51(0x1b4)]));}_0xbaf3a5[_0x510a51(0x19b)]=_0xbaf3a5[_0x510a51(0x19b)]||[];try{helper[_0x510a51(0x206)](),_0xbaf3a5[_0x510a51(0x19b)][_0x510a51(0x194)](path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x15f)]));}catch{logger[_0x510a51(0x197)](_0x54400e[_0x510a51(0x1f8)]);}try{helper[_0x510a51(0x140)][_0x510a51(0x170)](null,[_0x54400e[_0x510a51(0x173)],_0x54400e[_0x510a51(0x1de)]]),logger[_0x510a51(0x197)](_0x54400e['BFBTc']),_0xbaf3a5[_0x510a51(0x19b)]['push'](path[_0x510a51(0x1fb)](__dirname,_0x54400e[_0x510a51(0x1b9)]));}catch(_0x16bd09){logger['debug'](_0x54400e[_0x510a51(0x21a)],_0x16bd09);}if(_0x54400e[_0x510a51(0x212)](!_0x3fad7c,_0x15e8c1)){try{logger[_0x510a51(0x197)](_0x54400e['wSCtC']),_0xbaf3a5[_0x510a51(0x1b0)]['push'](path['join'](__dirname,'..',_0x54400e[_0x510a51(0x15d)],_0x54400e[_0x510a51(0x1b9)]));}catch(_0x3b3ac9){logger[_0x510a51(0x197)]('Puppeteer\x20setup\x20error:\x20'+_0x3b3ac9[_0x510a51(0x1c5)]);}try{const _0xb7d54b=require[_0x510a51(0x1b6)](_0x54400e['WODGf']),_0x332dd3=path[_0x510a51(0x199)](_0xb7d54b)[_0x510a51(0x205)](/\\/g,'/'),_0x4293e3={};_0x4293e3['^puppeteer-core/internal/(.*)']=_0x332dd3+'/internal/$1',_0xbaf3a5[_0x510a51(0x190)]=Object[_0x510a51(0x1f2)]({},_0xbaf3a5[_0x510a51(0x190)]||{},_0x4293e3),logger['debug'](_0x510a51(0x1dd)+_0x332dd3);}catch(_0x4a8d4c){logger[_0x510a51(0x197)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x4a8d4c[_0x510a51(0x1c5)]);}}_0xbaf3a5[_0x510a51(0x204)]=_0xbaf3a5[_0x510a51(0x204)]||[_0x54400e['fdaVX']],_0x54400e[_0x510a51(0x128)](updateTestRerunConfig,_0xbaf3a5,_0x4adf03);const _0x3eb536=fs['readFileSync'](_0x173e4e),_0x4aa299=helper[_0x510a51(0x1c0)](_0x54400e['DwczU'],_0x54400e[_0x510a51(0x162)]);!_0x4aa299[_0x510a51(0x146)]?fs['writeFileSync'](_0xbaf3a5[_0x510a51(0x1fc)],_0x510a51(0x17b)+_0x3eb536+_0x510a51(0x1b3)+_0x4adf03[_0x510a51(0x13d)]['platforms'][_0x510a51(0x123)]+_0x510a51(0x1bd)):fs[_0x510a51(0x1f7)](_0xbaf3a5[_0x510a51(0x1fc)],_0x510a51(0x17b)+_0x3eb536+_0x510a51(0x218)+_0x4adf03[_0x510a51(0x13d)][_0x510a51(0x13b)]['length']+_0x510a51(0x1d7));logger[_0x510a51(0x208)](_0x510a51(0x1ae)+_0x36f19e+_0x510a51(0x19a)),fs[_0x510a51(0x1f7)](_0x36f19e,_0x510a51(0x1b1)+JSON[_0x510a51(0x1c3)](_0xbaf3a5)+_0x510a51(0x185));if(_0x22887c[_0x510a51(0x18b)]()){logger[_0x510a51(0x197)](_0x54400e[_0x510a51(0x1ad)]);const _0x250738=await _0x22887c['findTestFiles'](_0xbaf3a5,_0x32f27a[_0x510a51(0x1e7)](0x1),_0x36f19e);logger[_0x510a51(0x197)](_0x510a51(0x1ac)+JSON[_0x510a51(0x1c3)](_0x250738)+_0x510a51(0x153));const _0x2cc774=await _0x22887c['reorderTestFiles'](_0x250738);logger['debug'](_0x510a51(0x1ab)+JSON[_0x510a51(0x1c3)](_0x2cc774)),_0x2cc774&&_0x54400e['dTyUo'](_0x2cc774[_0x510a51(0x123)],0x0)&&(process[_0x510a51(0x1ba)][_0x510a51(0x1d3)]=_0x2cc774?.[_0x510a51(0x1fb)](','));}logger['info'](_0x54400e[_0x510a51(0x136)]);testhubUtils[_0x510a51(0x151)]()&&TestDetails['setup']();helper[_0x510a51(0x184)]({},_0x32f27a),PerformanceTester['end'](PerformanceEvents[_0x510a51(0x1d4)]);const _0x4731e6=[_0x54400e[_0x510a51(0x1e0)],_0x54400e[_0x510a51(0x1cb)],_0x36f19e,..._0x32f27a['slice'](0x1)];process[_0x510a51(0x1ba)]['BROWSERSTACK_FRAMEWORK']=process[_0x510a51(0x1ba)][_0x510a51(0x163)]||_0x54400e[_0x510a51(0x1e0)];const _0x10fa65=_0x54400e[_0x510a51(0x186)](spawn,_0x54400e[_0x510a51(0x145)],_0x4731e6,{'shell':_0x54400e['Ownzc'](process[_0x510a51(0x1b2)],_0x54400e[_0x510a51(0x161)]),'stdio':_0x54400e[_0x510a51(0x1b7)],'env':Object[_0x510a51(0x1f2)]({},process['env'])});_0x10fa65['on'](_0x54400e[_0x510a51(0x1d2)],async _0x3d6a3c=>{const _0x37107d=_0x510a51;PerformanceTester[_0x37107d(0x158)](PerformanceEvents[_0x37107d(0x1e8)]),process[_0x37107d(0x127)]=_0x3d6a3c,logger['debug'](_0x37107d(0x1ca)+_0x3d6a3c),logger[_0x37107d(0x208)](_0x37107d(0x216)+_0x36f19e);if(helper['isNotUndefined'](_0x44afa3)&&helper[_0x37107d(0x1e1)](_0x44afa3[_0x37107d(0x1df)])&&fs[_0x37107d(0x1e2)](_0x44afa3[_0x37107d(0x1df)][_0x37107d(0x17d)]))try{const _0x1ae2ac={};_0x1ae2ac[_0x37107d(0x182)]=!![],_0x1ae2ac[_0x37107d(0x139)]=!![],fs[_0x37107d(0x207)](_0x44afa3[_0x37107d(0x1df)]['workingDir'],_0x1ae2ac),logger[_0x37107d(0x197)](_0x37107d(0x174)+_0x44afa3[_0x37107d(0x1df)][_0x37107d(0x17d)]);}catch(_0x51005f){logger[_0x37107d(0x146)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x51005f);}let _0x50899a=null;if(fs[_0x37107d(0x1e2)](_0x2e3345)){_0x50899a=fs[_0x37107d(0x1a8)](_0x2e3345);try{_0x50899a=JSON['parse'](_0x50899a);}catch(_0x1e5ad8){logger['debug'](_0x37107d(0x1a3)+_0x2e3345+',\x20'+_0x50899a+'\x20:\x20'+_0x1e5ad8);}fs[_0x37107d(0x20d)](_0x2e3345);}fs[_0x37107d(0x20d)](_0x36f19e),fs[_0x37107d(0x20d)](_0x4e0ff3),_0x50899a&&(_0x4adf03[_0x37107d(0x195)]=helper[_0x37107d(0x1dc)](_0x50899a,_0x54400e[_0x37107d(0x1e0)],_0x4adf03));const _0x56d866=BrowserstackCLI[_0x37107d(0x1a0)]();try{await TestHubHandler[_0x37107d(0x1d8)](),await BrowserstackCLI[_0x37107d(0x142)]()[_0x37107d(0x1d8)]();}catch(_0x289fae){console['log'](_0x289fae),_0x54400e[_0x37107d(0x20e)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x37107d(0x1c2)](_0x289fae));}testOpsHelper['printBuildLink'](),TestDetails[_0x37107d(0x156)](),await utilities['finalExecution'](_0x4adf03,_0x56d866);});}module[a21_0xafbf83(0x1f0)]=run;
|
|
2
|
+
'use strict';const a21_0x7beb13=a21_0x163d;(function(_0xa5c8b1,_0x45e019){const _0x36c470=a21_0x163d,_0x21ffda=_0xa5c8b1();while(!![]){try{const _0x2da84f=-parseInt(_0x36c470(0x155))/0x1+-parseInt(_0x36c470(0x1e8))/0x2+-parseInt(_0x36c470(0x197))/0x3+parseInt(_0x36c470(0x1b1))/0x4*(-parseInt(_0x36c470(0x149))/0x5)+-parseInt(_0x36c470(0x181))/0x6*(-parseInt(_0x36c470(0x107))/0x7)+-parseInt(_0x36c470(0x1c7))/0x8*(parseInt(_0x36c470(0x1bd))/0x9)+parseInt(_0x36c470(0x1e0))/0xa;if(_0x2da84f===_0x45e019)break;else _0x21ffda['push'](_0x21ffda['shift']());}catch(_0x52594a){_0x21ffda['push'](_0x21ffda['shift']());}}}(a21_0x581a,0xee06b));const fs=require('fs'),path=require(a21_0x7beb13(0x14e)),util=require(a21_0x7beb13(0xff)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a21_0x7beb13(0x1e5)],{default:BrowserStackSetup}=require(a21_0x7beb13(0x1b7)),helper=require(a21_0x7beb13(0x1a5)),utilities=require(a21_0x7beb13(0x17a)),constants=require(a21_0x7beb13(0x117)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a21_0x7beb13(0x15e)),testOpsHelper=require(a21_0x7beb13(0x1d1)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0x7beb13(0x124)),{getPercyOptions}=require(a21_0x7beb13(0x195)),TestHubHandler=require(a21_0x7beb13(0x1e1)),testhubUtils=require(a21_0x7beb13(0x145)),{FRAMEWORKS}=require(a21_0x7beb13(0x14f)),PerformanceTester=require(a21_0x7beb13(0x14b)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x7beb13(0x106)],TestOrchestrationHandler=require(a21_0x7beb13(0x133)),BrowserstackCLI=require(a21_0x7beb13(0xee)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x7beb13(0x1ce)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a21_0x7beb13(0x148)),getUserJestConfigs=async(_0x33a785,_0x4bdbe2)=>{const _0x1c28ca=a21_0x7beb13,_0x6d5c19={'yueub':_0x1c28ca(0x188),'MXHeH':_0x1c28ca(0x183),'AUJmk':function(_0x336fb2,_0x46370d){return _0x336fb2||_0x46370d;},'Sdcse':function(_0x2cd078,_0x29ad0d){return _0x2cd078(_0x29ad0d);},'twmPc':_0x1c28ca(0x1b0),'SfLGr':_0x1c28ca(0x1b6),'qvrRH':_0x1c28ca(0x1b8),'jIgag':'cjs','VHBaO':_0x1c28ca(0xf8)};let _0x42579e;try{_0x42579e=helper['requireModule'](_0x6d5c19[_0x1c28ca(0x1a0)],_0x6d5c19[_0x1c28ca(0x105)]);}catch{const _0x2dbde0=helper[_0x1c28ca(0x160)](_0x6d5c19[_0x1c28ca(0x105)]);_0x42579e={'default':async _0x4eb888=>{const _0x5527c3=await _0x2dbde0['readInitialOptions'](_0x4eb888,{});return _0x5527c3['config'];}};}const _0x505214=_0x4bdbe2[_0x1c28ca(0x1c1)](_0x34bf27=>_0x34bf27===_0x1c28ca(0x18d));if(!helper[_0x1c28ca(0x102)](_0x33a785[_0x1c28ca(0x1e3)])){logger[_0x1c28ca(0x10d)](_0x1c28ca(0x13e)+_0x33a785[_0x1c28ca(0x1e3)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x33a785['config'];const _0x2f9e2c=await(0x0,_0x42579e[_0x1c28ca(0x138)])(path[_0x1c28ca(0x16a)](_0x33a785[_0x1c28ca(0x1e3)]));return _0x4bdbe2[_0x1c28ca(0x178)](_0x505214,0x2),_0x6d5c19['AUJmk'](_0x2f9e2c,{});}const _0x362c58=_0x6d5c19[_0x1c28ca(0x14a)](require,path['join'](process[_0x1c28ca(0x17c)](),_0x6d5c19[_0x1c28ca(0x111)]));if(_0x362c58['jest'])return logger['info'](_0x6d5c19[_0x1c28ca(0x185)]),_0x362c58[_0x1c28ca(0x16e)];const _0x496089=['js',_0x6d5c19[_0x1c28ca(0x127)],_0x6d5c19[_0x1c28ca(0x15d)],_0x6d5c19[_0x1c28ca(0x132)],'ts'];for(const _0x3205a8 of _0x496089){const _0x12559a=path['join'](process[_0x1c28ca(0x17c)](),'jest.config.'+_0x3205a8);if(fs[_0x1c28ca(0x1d4)](_0x12559a)){process[_0x1c28ca(0x112)]['USER_CONFIG_DETAILS_PATH']=_0x12559a;const _0x41e716=await(0x0,_0x42579e[_0x1c28ca(0x138)])(_0x12559a);return _0x41e716;}}return{};},getSerial=(_0x53c4dc,_0x39d0a1)=>{const _0x341cb4=a21_0x7beb13,_0x189723={};_0x189723['kbnON']=_0x341cb4(0x182),_0x189723[_0x341cb4(0x100)]=function(_0x5e1cf0,_0xc94677){return _0x5e1cf0>_0xc94677;},_0x189723[_0x341cb4(0x1d5)]=function(_0x235e29,_0x3b275d){return _0x235e29>_0x3b275d;},_0x189723[_0x341cb4(0x1b9)]='false';const _0x52322c=_0x189723;let _0x2eb2c5=_0x52322c['kbnON'];return _0x52322c['FEuoO'](_0x53c4dc['length'],0x1)&&(!_0x39d0a1[_0x341cb4(0x16d)]&&(helper[_0x341cb4(0x102)](_0x39d0a1[_0x341cb4(0x131)])||_0x52322c[_0x341cb4(0x1d5)](_0x39d0a1[_0x341cb4(0x131)],0x1)))&&(_0x2eb2c5=_0x52322c['vSpyX']),_0x2eb2c5;},getMaxWorkers=(_0x1711ff,_0x4eef0c,_0x52f6bf)=>{const _0x42008c=a21_0x7beb13,_0x17071f={'Qwpis':function(_0x30f9af,_0x55b9c2){return _0x30f9af(_0x55b9c2);}};let _0x32954c=0x1;if(!helper[_0x42008c(0x102)](_0x4eef0c[_0x42008c(0x1be)]))_0x32954c=_0x17071f[_0x42008c(0x113)](parseInt,_0x4eef0c[_0x42008c(0x1be)]);else{if(!helper['isUndefined'](_0x1711ff[_0x42008c(0x131)]))_0x32954c=_0x1711ff[_0x42008c(0x131)];else!helper[_0x42008c(0x102)](_0x52f6bf[_0x42008c(0x131)])&&(_0x32954c=_0x52f6bf[_0x42008c(0x131)]);}return _0x32954c;};async function run(_0x373a4e,_0x3ec593,_0x48f5d9){const _0x3e5197=a21_0x7beb13,_0x311b87={'swfSP':'jest','rTNYO':function(_0x5a8c87,_0xa77652){return _0x5a8c87(_0xa77652);},'yogAT':_0x3e5197(0x19a),'Hbfjj':function(_0x27e938){return _0x27e938();},'dXLUG':function(_0x172c5f,_0x5dec53,_0x2d92a0,_0x28c128){return _0x172c5f(_0x5dec53,_0x2d92a0,_0x28c128);},'TCFUY':function(_0x3a3b87,_0x527432,_0x1164f6,_0x442cd6){return _0x3a3b87(_0x527432,_0x1164f6,_0x442cd6);},'utWeG':function(_0x5baf68,_0x489e0e){return _0x5baf68!=_0x489e0e;},'fALfa':_0x3e5197(0x182),'hSufM':function(_0x4da2ec,_0x71a897,_0x5eafba){return _0x4da2ec(_0x71a897,_0x5eafba);},'VMZnO':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','QTvhr':function(_0x545f4c,_0x1f3749){return _0x545f4c(_0x1f3749);},'cHfvA':_0x3e5197(0xf9),'VDWbH':function(_0x26436d,_0x2c272d,_0xa925f6,_0x48d45e){return _0x26436d(_0x2c272d,_0xa925f6,_0x48d45e);},'NZqsn':function(_0xb82549,_0x4cd240){return _0xb82549*_0x4cd240;},'wQfVV':function(_0x23e717,_0x3f8ea1){return _0x23e717===_0x3f8ea1;},'fdcTM':_0x3e5197(0x169),'eWHGr':_0x3e5197(0x15b),'Haawl':_0x3e5197(0xf4),'zToPS':_0x3e5197(0x190),'dvERv':_0x3e5197(0x130),'AkzWv':_0x3e5197(0x1ae),'BnReZ':_0x3e5197(0x19f),'qtkrU':function(_0x40e4d4,_0x24eef3){return _0x40e4d4!==_0x24eef3;},'BILNm':_0x3e5197(0x10e),'sunLn':_0x3e5197(0x1a7),'IGwQL':_0x3e5197(0x12a),'Rxsok':_0x3e5197(0x15f),'GJVJm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DejEU':_0x3e5197(0x163),'aJocr':_0x3e5197(0x10b),'HJgag':_0x3e5197(0x166),'FFuaB':_0x3e5197(0x1aa),'jtzBI':_0x3e5197(0x1a4),'GuPvp':_0x3e5197(0xf2),'TiXdA':_0x3e5197(0x1a2),'KWJGR':_0x3e5197(0x1bb),'ouoyU':_0x3e5197(0x162),'hVWGy':'test.setup.js','LmHXD':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','SOhXD':function(_0x43b018,_0x23c0dc){return _0x43b018&&_0x23c0dc;},'ruNsA':_0x3e5197(0x144),'ikgBa':_0x3e5197(0x1b3),'lWAkn':_0x3e5197(0x1bf),'nqeeh':'default','qGmQz':function(_0x127645,_0x291a8a,_0x28db37){return _0x127645(_0x291a8a,_0x28db37);},'xPXYC':'@jest/core/build/ReporterDispatcher.js','DkcHf':_0x3e5197(0x19e),'gmegh':_0x3e5197(0x18a),'LicuV':function(_0x19d63d,_0x14d035){return _0x19d63d>_0x14d035;},'BzyJT':_0x3e5197(0x17e),'EaBHl':_0x3e5197(0x18d),'AGgqh':function(_0x57b9e5,_0x1e9021,_0x4f89a3,_0x51d758){return _0x57b9e5(_0x1e9021,_0x4f89a3,_0x51d758);},'OZgiS':_0x3e5197(0x1a8),'AaINP':_0x3e5197(0x168),'GoxBL':_0x3e5197(0x18b),'kJymE':_0x3e5197(0x116)},_0x57293e=helper[_0x3e5197(0x14c)](_0x311b87['yogAT']);global[_0x3e5197(0x184)]=!!_0x57293e;const _0x130d24=_0x311b87[_0x3e5197(0xf3)](getPuppeteerVersion);global[_0x3e5197(0x13d)]=!!_0x130d24;helper[_0x3e5197(0x15a)]()&&(await _0x48f5d9['initialize'](_0x373a4e),await helper[_0x3e5197(0x175)](_0x48f5d9[_0x3e5197(0x1e3)]));if(_0x57293e)await _0x311b87[_0x3e5197(0x12b)](checkPwandBootstrapCli,_0x57293e,constants['FRAMEWORKS']['JEST'],_0x48f5d9);else _0x130d24&&await _0x311b87[_0x3e5197(0x11d)](checkPuppeteerAndBootstrapCli,_0x130d24,constants[_0x3e5197(0x177)]['JEST'],_0x48f5d9);!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()&&await _0x48f5d9['setupBrowserstackLocal']();if(!_0x48f5d9[_0x3e5197(0x1e3)])return;_0x311b87[_0x3e5197(0x140)](_0x48f5d9[_0x3e5197(0x1e3)]['testObservability'],null)?process['env'][_0x3e5197(0x141)]=_0x48f5d9['config'][_0x3e5197(0x1ca)]:process[_0x3e5197(0x112)][_0x3e5197(0x141)]=_0x311b87['fALfa'];const _0xf09f2d=new TestOrchestrationHandler(_0x48f5d9[_0x3e5197(0x1e3)]),_0x51bfb9=await _0x311b87[_0x3e5197(0x11a)](getUserJestConfigs,_0x373a4e,_0x3ec593);logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x159)]);const _0x257d7c=Object[_0x3e5197(0x187)]({},_0x51bfb9);_0x257d7c[_0x3e5197(0x1e6)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x1e6)],{'server':helper[_0x3e5197(0x118)](_0x48f5d9[_0x3e5197(0x1e3)]),'environment':_0x51bfb9[_0x3e5197(0x1c6)]}),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x156)]=_0x311b87[_0x3e5197(0x126)](getPercyOptions,_0x48f5d9[_0x3e5197(0x1e3)]);const _0x5d0762=helper[_0x3e5197(0x1c0)](_0x48f5d9[_0x3e5197(0x1e3)]);!helper[_0x3e5197(0x102)](_0x48f5d9['config'][_0x3e5197(0x134)])&&(process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x134)]));if(!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()){const _0x4285b6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3e5197(0x1dc)],_0x48f5d9);}const _0x5eb201=helper['prepareCapabilities'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants[_0x3e5197(0x177)][_0x3e5197(0x1dc)]);process[_0x3e5197(0x112)][_0x3e5197(0x1e2)]=JSON[_0x3e5197(0x11c)](_0x5eb201);let _0x293138=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x179)];_0x293138=_0x293138||accessibilityHelper[_0x3e5197(0xf5)](_0x48f5d9[_0x3e5197(0x1e3)]),process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x293138,logger['debug'](_0x3e5197(0x114)+_0x293138+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]());if(_0x57293e)try{const _0x17b26=_0x311b87[_0x3e5197(0x1c8)](checkAccessibilityPlatformConfig,_0x48f5d9[_0x3e5197(0x1e3)]);process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b26?_0x311b87[_0x3e5197(0x151)]:_0x311b87['cHfvA'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x17b26+_0x3e5197(0x194)+process[_0x3e5197(0x112)][_0x3e5197(0x1af)]);}catch(_0x5c56fa){logger[_0x3e5197(0x18c)](_0x3e5197(0x1ad)+util[_0x3e5197(0x1c5)](_0x5c56fa));}_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x123)]=_0x5eb201,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0xfd)]=_0x311b87[_0x3e5197(0x11a)](getSerial,_0x5eb201,_0x373a4e),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x16c)]=_0x311b87[_0x3e5197(0x16f)](getMaxWorkers,_0x373a4e,_0x48f5d9[_0x3e5197(0x1e3)],_0x51bfb9),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf7)]=_0x48f5d9[_0x3e5197(0x1e3)]['proxySettings'],_0x257d7c[_0x3e5197(0x1e6)]['timeout__']=_0x311b87[_0x3e5197(0x125)](_0x373a4e[_0x3e5197(0x191)],0x1)||0x1388,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x122)]=_0x48f5d9[_0x3e5197(0x1e3)]['testContextOptions']['skipSessionName'],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x176)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x1c3)][_0x3e5197(0x176)],_0x257d7c[_0x3e5197(0x1e6)]['browserStackLogLevel']=_0x48f5d9['config'][_0x3e5197(0x1c9)],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x1cb)]=_0x48f5d9[_0x3e5197(0x1e3)]['turboScaleUrl'],_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf6)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0xfe)],Object['assign'](_0x257d7c[_0x3e5197(0x1e6)],helper['getMultiDriverWorkerConfig'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants['FRAMEWORKS']['JEST']));const _0x480821=helper[_0x3e5197(0x13f)](_0x48f5d9[_0x3e5197(0x1e3)]);if(!helper[_0x3e5197(0x1cc)](_0x480821)){helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0xf0)])&&(_0x257d7c[_0x3e5197(0x1e6)]['retries__']=_0x480821[_0x3e5197(0xf0)][_0x3e5197(0x10c)]);if(helper[_0x3e5197(0x1d3)](_0x480821['abortBuildOnFailure'])&&helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)])){const _0x447708={};_0x447708['failureThresholdCount']=_0x480821[_0x3e5197(0x193)][_0x3e5197(0xfb)],_0x447708[_0x3e5197(0x1a1)]=_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)],_0x257d7c[_0x3e5197(0x1e6)]['failFast']=_0x447708;}}let _0x14778a='';_0x311b87['wQfVV'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x3e5197(0x180)])?_0x14778a=_0x311b87[_0x3e5197(0x128)]:_0x14778a=_0x311b87['eWHGr'];const _0x423259=_0x14778a,_0x33d70c=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x139)]),_0x107cc6=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x110)]),_0x165c7e=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x1d6)]);_0x257d7c['testEnvironment']&&(process[_0x3e5197(0x112)]['BSTACK_JEST_TEST_ENV']=_0x257d7c[_0x3e5197(0x1c6)]);_0x257d7c[_0x3e5197(0x1c6)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x10f)]);const _0x3466df=_0x51bfb9[_0x3e5197(0x19b)];if(_0x3466df&&_0x311b87['qtkrU'](_0x3466df,_0x311b87[_0x3e5197(0x19c)])){const _0x79ce7a=_0x3466df[_0x3e5197(0x1de)](_0x311b87[_0x3e5197(0x11e)])?_0x3466df:_0x3e5197(0x1a7)+_0x3466df;process['env'][_0x3e5197(0x174)]=_0x79ce7a,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x79ce7a);}_0x257d7c['runner']=_0x107cc6,_0x257d7c['setupFilesAfterEnv']=_0x257d7c[_0x3e5197(0x129)]||[],_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x1d0)]));_0xf09f2d['isTestOrchestrationEnabled']()&&(_0x257d7c['testSequencer']=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87['Rxsok']));if(testhubUtils[_0x3e5197(0x157)]()||BrowserstackCLI[_0x3e5197(0x1b2)]()['isCliEnabled']()){let _0x11ddd2=null;try{_0x11ddd2=helper[_0x3e5197(0x160)](_0x311b87['GJVJm'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x3fc2fe){try{_0x11ddd2=helper['requireModule'](_0x311b87['aJocr'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x2f1f11){_0x311b87['QTvhr'](debug,_0x3e5197(0x13a)+_0x2f1f11);}}_0x11ddd2&&(testhubUtils[_0x3e5197(0x157)]()&&_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x16b)],_0x311b87[_0x3e5197(0x12e)])),_0x257d7c[_0x3e5197(0x13c)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x186)]));}_0x257d7c[_0x3e5197(0x1da)]=_0x257d7c['setupFiles']||[];try{helper[_0x3e5197(0x198)](),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x121)]));}catch{logger[_0x3e5197(0x18c)](_0x311b87['TiXdA']);}try{helper[_0x3e5197(0x115)]['apply'](null,[_0x311b87[_0x3e5197(0x158)],_0x311b87[_0x3e5197(0x165)]]),logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1d9)]),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87['hVWGy']));}catch(_0x25b399){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x173)],_0x25b399);}if(_0x311b87['SOhXD'](!_0x57293e,_0x130d24)){try{logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1c4)]),_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path[_0x3e5197(0x1d7)](__dirname,'..',_0x311b87[_0x3e5197(0x1bc)],_0x311b87[_0x3e5197(0x18e)]));}catch(_0x2a6cee){logger[_0x3e5197(0x18c)]('Puppeteer\x20setup\x20error:\x20'+_0x2a6cee[_0x3e5197(0x17d)]);}try{const _0x50d462=require[_0x3e5197(0x16a)](_0x311b87[_0x3e5197(0x189)]),_0x51bad2=path[_0x3e5197(0x1e4)](_0x50d462)[_0x3e5197(0x170)](/\\/g,'/'),_0x1f14da={};_0x1f14da[_0x3e5197(0x1dd)]=_0x51bad2+_0x3e5197(0x167),_0x257d7c[_0x3e5197(0x119)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x119)]||{},_0x1f14da),logger[_0x3e5197(0x18c)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x51bad2);}catch(_0x226267){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x226267[_0x3e5197(0x17d)]);}}_0x257d7c[_0x3e5197(0x1ba)]=_0x257d7c[_0x3e5197(0x1ba)]||[_0x311b87[_0x3e5197(0x199)]],_0x311b87[_0x3e5197(0x152)](updateTestRerunConfig,_0x257d7c,_0x48f5d9);const _0x1ec174=fs[_0x3e5197(0x1cf)](_0x165c7e),_0x5e47d2=helper[_0x3e5197(0x154)](_0x311b87[_0x3e5197(0x1ac)],_0x311b87[_0x3e5197(0x1e7)]);!_0x5e47d2['error']?fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ec174+_0x3e5197(0x109)+_0x48f5d9['config']['platforms'][_0x3e5197(0x17f)]+_0x3e5197(0x150)):fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],_0x3e5197(0x1a3)+_0x1ec174+_0x3e5197(0x1d2)+_0x48f5d9['config'][_0x3e5197(0xfe)]['length']+_0x3e5197(0x137));logger[_0x3e5197(0x10d)](_0x3e5197(0x13b)+_0x423259+_0x3e5197(0x1b4)),fs[_0x3e5197(0x1ab)](_0x423259,'const\x20config='+JSON[_0x3e5197(0x11c)](_0x257d7c)+_0x3e5197(0x19d));if(_0xf09f2d['isTestOrchestrationEnabled']()){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x15c)]);const _0x18e755=await _0xf09f2d['findTestFiles'](_0x257d7c,_0x3ec593[_0x3e5197(0x1b5)](0x1),_0x423259);logger[_0x3e5197(0x18c)](_0x3e5197(0x11f)+JSON['stringify'](_0x18e755)+_0x3e5197(0x17b));const _0x243b8c=await _0xf09f2d[_0x3e5197(0x146)](_0x18e755);logger['debug'](_0x3e5197(0x1a9)+JSON[_0x3e5197(0x11c)](_0x243b8c)),_0x243b8c&&_0x311b87[_0x3e5197(0x10a)](_0x243b8c['length'],0x0)&&(process[_0x3e5197(0x112)][_0x3e5197(0x171)]=_0x243b8c?.[_0x3e5197(0x1d7)](','));}logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x104)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x3e5197(0x18f)]({},_0x3ec593),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x43d9f2=[_0x311b87['swfSP'],_0x311b87[_0x3e5197(0x1cd)],_0x423259,..._0x3ec593[_0x3e5197(0x1b5)](0x1)];process[_0x3e5197(0x112)][_0x3e5197(0x1db)]=process[_0x3e5197(0x112)]['BROWSERSTACK_FRAMEWORK']||_0x311b87['swfSP'];const _0x510e9b=_0x311b87['AGgqh'](spawn,_0x311b87[_0x3e5197(0xf1)],_0x43d9f2,{'shell':_0x311b87[_0x3e5197(0x135)](process['platform'],_0x311b87[_0x3e5197(0xef)]),'stdio':_0x311b87['GoxBL'],'env':Object[_0x3e5197(0x187)]({},process['env'])});_0x510e9b['on'](_0x311b87[_0x3e5197(0x192)],async _0x3ee4bd=>{const _0x508bdc=_0x3e5197;PerformanceTester[_0x508bdc(0x12f)](PerformanceEvents[_0x508bdc(0x164)]),process[_0x508bdc(0x172)]=_0x3ee4bd,logger[_0x508bdc(0x18c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3ee4bd),logger[_0x508bdc(0x10d)](_0x508bdc(0x14d)+_0x423259);if(helper[_0x508bdc(0x1d3)](_0x480821)&&helper['isNotUndefined'](_0x480821[_0x508bdc(0x193)])&&fs[_0x508bdc(0x1d4)](_0x480821['abortBuildOnFailure'][_0x508bdc(0x1a1)]))try{const _0x1dc2f6={};_0x1dc2f6[_0x508bdc(0x12c)]=!![],_0x1dc2f6[_0x508bdc(0x143)]=!![],fs[_0x508bdc(0xfc)](_0x480821[_0x508bdc(0x193)]['workingDir'],_0x1dc2f6),logger[_0x508bdc(0x18c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x480821[_0x508bdc(0x193)][_0x508bdc(0x1a1)]);}catch(_0x467c1c){logger['error'](_0x508bdc(0x101)+_0x467c1c);}let _0x3aa41d=null;if(fs[_0x508bdc(0x1d4)](_0x33d70c)){_0x3aa41d=fs[_0x508bdc(0x1cf)](_0x33d70c);try{_0x3aa41d=JSON[_0x508bdc(0x196)](_0x3aa41d);}catch(_0x38f9be){logger[_0x508bdc(0x18c)]('Error\x20while\x20parsing\x20'+_0x33d70c+',\x20'+_0x3aa41d+_0x508bdc(0x11b)+_0x38f9be);}fs[_0x508bdc(0x136)](_0x33d70c);}fs[_0x508bdc(0x136)](_0x423259),fs[_0x508bdc(0x136)](_0x107cc6),_0x3aa41d&&(_0x48f5d9[_0x508bdc(0x103)]=helper['getErrorMessageFromResults'](_0x3aa41d,_0x311b87[_0x508bdc(0x142)],_0x48f5d9));const _0x4873b1=BrowserstackCLI[_0x508bdc(0x120)]();try{await TestHubHandler[_0x508bdc(0x1df)](),await BrowserstackCLI[_0x508bdc(0x1b2)]()[_0x508bdc(0x1df)]();}catch(_0x5a9c9d){console['log'](_0x5a9c9d),_0x311b87['rTNYO'](debug,_0x508bdc(0x147)+util[_0x508bdc(0x1c5)](_0x5a9c9d));}testOpsHelper[_0x508bdc(0x153)](),TestDetails[_0x508bdc(0x1c2)](),await utilities[_0x508bdc(0x108)](_0x48f5d9,_0x4873b1);});}function a21_0x163d(_0x14a99b,_0x24e765){const _0x581a50=a21_0x581a();return a21_0x163d=function(_0x163dc8,_0x166f21){_0x163dc8=_0x163dc8-0xee;let _0xb27a58=_0x581a50[_0x163dc8];return _0xb27a58;},a21_0x163d(_0x14a99b,_0x24e765);}module[a21_0x7beb13(0x1a6)]=run;function a21_0x581a(){const _0x209d19=['Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','customTestRunnerTemplate.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','package.json','4sjhAEm','getInstance','puppeteer','\x20with\x20browserstack\x20jest\x20configs','slice','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/BrowserStackSetup','mjs','vSpyX','reporters','playwright','ikgBa','27171YATLic','parallelsPerPlatform','puppeteer-core/package.json','useW3C','findIndex','shutdown','testContextOptions','ruNsA','format','testEnvironment','1416FAOtWp','QTvhr','logLevel','testObservability','turboScaleUrl','isEmpty','EaBHl','../../helpers/puppeteer-helper','readFileSync','IGwQL','../../helpers/test-observability/utils','\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','isNotUndefined','existsSync','ETBJd','AkzWv','join','DejEU','ouoyU','setupFiles','BROWSERSTACK_FRAMEWORK','JEST','^puppeteer-core/internal/(.*)','startsWith','stop','26177380XpNgVx','../../helpers/testhub/testhubHandler','BROWSERSTACK_CAPABILITIES','config','dirname','winstonLogger','testEnvironmentOptions','DkcHf','909436uaEsrB','../v2/browserstackCLI','AaINP','retryTestsOnFailure','OZgiS','test_before.setup.js','Hbfjj','customImplements','checkAccessibilityPlatformConfig','platformCaps','proxySettings','json','false','isRunning','maxFailures','rmSync','serial__','platforms','util','FEuoO','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','isUndefined','errorMessage','BzyJT','MXHeH','EVENTS','425159RiZMHn','finalExecution','\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','LicuV','jest-circus/build/runner.js','maxRetries','info','jest-runner','BnReZ','dvERv','twmPc','env','Qwpis','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requirePWModule','close','../utils/constants','getHubUrl','moduleNameMapper','hSufM','\x20:\x20','stringify','TCFUY','sunLn','Found:\x20','isCLIEnabled','GuPvp','skipSessionName','capabilities','./test-observability/test-details','NZqsn','rTNYO','qvrRH','fdcTM','setupFilesAfterEnv','jest.setup.js','dXLUG','recursive','Haawl','FFuaB','start','customTestRunner.js','maxWorkers','VHBaO','../../helpers/test-orchestration/testOrchestrationHandler','accessibilityOptions','wQfVV','unlinkSync',';\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','default','zToPS','Unable\x20to\x20find\x20jest-circus,\x20','Creating\x20','testRunner','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20','parseTestOrchestrationOptions','utWeG','BROWSERSTACK_TEST_OBSERVABILITY_YML','swfSP','force','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/testhub/utils','reorderTestFiles','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/accessibility-automation/helper','814405PuorQS','Sdcse','../../helpers/performance/performance-tester','getPackageVersion','Deleting\x20','path','../../helpers/test-observability/constants',';\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','fALfa','qGmQz','printBuildLink','resolveModule','1494036POeENq','browserStackPercyOptions','shouldProcessEventForTesthub','yogAT','VMZnO','isBrowserstackInfra','jest_browserstack.config.js','gmegh','jIgag','./test-observability/helper','customSequencer.js','requireModule','push','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jest-circus','SDK_CLEANUP','KWJGR','test-observability','/internal/$1','win32','jest_browserstack.config.cjs','resolve','HJgag','parallels__','runInBand','jest','VDWbH','replace','JEST_TEST_ORDER','exitCode','LmHXD','BSTACK_USER_JEST_RUNNER','handleApp','skipSessionStatus','FRAMEWORKS','splice','accessibility','../../helpers/utilities','\x20test\x20files\x20to\x20run.','cwd','message','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','length','MODULE','192ZpzFul','true','jest-config','__isPlaywrightInstalled','SfLGr','jtzBI','assign','jest-config/build/readConfigFileAndSetRootDir.js','lWAkn','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','inherit','debug','--config','hVWGy','filterBrowserstackArgs','jest_browserstack_results.json','testTimeout','kJymE','abortBuildOnFailure',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/percy/utils','parse','2821107KDhShw','requireSeleniumWebdriver','nqeeh','@playwright/test','runner','BILNm','\x0amodule.exports\x20=\x20config;','@jest/core','customEnvironment.js','yueub','workingDir','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','../../helpers/helper','exports','jest-runner-','npx','Reodered\x20Test\x20Files:\x20','data-hooks.js','writeFileSync','xPXYC'];a21_0x581a=function(){return _0x209d19;};return a21_0x581a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a22_0x52ea(_0x5a7018,_0x75b288){const _0x46b884=a22_0x46b8();return a22_0x52ea=function(_0x52ea4c,_0x21bf9a){_0x52ea4c=_0x52ea4c-0x7b;let _0x2fe52f=_0x46b884[_0x52ea4c];return _0x2fe52f;},a22_0x52ea(_0x5a7018,_0x75b288);}const a22_0x38e753=a22_0x52ea;(function(_0x3fa97f,_0x53571b){const _0x450d70=a22_0x52ea,_0x4559de=_0x3fa97f();while(!![]){try{const _0x5ceac8=parseInt(_0x450d70(0x7c))/0x1+-parseInt(_0x450d70(0x82))/0x2+-parseInt(_0x450d70(0x8d))/0x3+parseInt(_0x450d70(0x80))/0x4*(-parseInt(_0x450d70(0x8b))/0x5)+parseInt(_0x450d70(0x7d))/0x6*(-parseInt(_0x450d70(0x86))/0x7)+parseInt(_0x450d70(0x8e))/0x8*(parseInt(_0x450d70(0x7b))/0x9)+parseInt(_0x450d70(0x8a))/0xa*(parseInt(_0x450d70(0x88))/0xb);if(_0x5ceac8===_0x53571b)break;else _0x4559de['push'](_0x4559de['shift']());}catch(_0x21cb4b){_0x4559de['push'](_0x4559de['shift']());}}}(a22_0x46b8,0xbcd52));const path=require('path'),{requireModule}=require(a22_0x38e753(0x81));let initJestAdapter;try{initJestAdapter=requireModule(a22_0x38e753(0x89),a22_0x38e753(0x87));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a22_0x38e753(0x87));}function a22_0x46b8(){const _0x2eb89b=['1272616oDYwHE','join','9FobyLL','970634UfJwHV','7074zvTAFf','requireInternalModule','efrMh','12rWZaUZ','../../../helpers/helper','2377514TCNiNn','includes','initRequireModule','customJestAdapterInit.js','4837jrnjLQ','jest-circus','1243WjsgZT','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','152740cljvGH','50280ZXawEo','function','145803xwHams'];a22_0x46b8=function(){return _0x2eb89b;};return a22_0x46b8();}initJestAdapter=typeof initJestAdapter===a22_0x38e753(0x8c)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x38e753(0x8f)](__dirname,a22_0x38e753(0x85));module['exports']=(..._0x10a5a5)=>{const _0x518812=a22_0x38e753,_0x22e579={'FUuyJ':'jestAdapterInit','efrMh':function(_0x419d60,_0x163f5a){return _0x419d60===_0x163f5a;},'ITpCJ':function(_0x3042b9,..._0x246be1){return _0x3042b9(..._0x246be1);}};return _0x10a5a5[0x3][_0x518812(0x84)]=_0x10a5a5[0x3][_0x518812(0x7e)],_0x10a5a5[0x3][_0x518812(0x7e)]=(..._0x1e6dc5)=>{const _0x3b6381=_0x518812;if(_0x1e6dc5[0x0]&&_0x1e6dc5[0x0][_0x3b6381(0x83)](_0x22e579['FUuyJ'])&&_0x22e579[_0x3b6381(0x7f)](_0x1e6dc5[0x1],undefined))return _0x10a5a5[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x10a5a5[0x3][_0x3b6381(0x84)](..._0x1e6dc5);},_0x22e579['ITpCJ'](initJestAdapter,..._0x10a5a5);};
|