browserstack-node-sdk 1.66.1 → 1.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a1_0x29de20=a1_0x26b1;(function(_0x8bfdc9,_0x43a430){const _0x58d9cc=a1_0x26b1,_0x5d38c8=_0x8bfdc9();while(!![]){try{const _0x115ac6=-parseInt(_0x58d9cc(0xcd))/0x1+parseInt(_0x58d9cc(0x103))/0x2*(parseInt(_0x58d9cc(0x156))/0x3)+-parseInt(_0x58d9cc(0xc4))/0x4*(parseInt(_0x58d9cc(0x14b))/0x5)+parseInt(_0x58d9cc(0x164))/0x6+-parseInt(_0x58d9cc(0xca))/0x7+parseInt(_0x58d9cc(0x129))/0x8+-parseInt(_0x58d9cc(0xd5))/0x9;if(_0x115ac6===_0x43a430)break;else _0x5d38c8['push'](_0x5d38c8['shift']());}catch(_0x3a934c){_0x5d38c8['push'](_0x5d38c8['shift']());}}}(a1_0x20c3,0x41610));const fs=require('fs'),path=require(a1_0x29de20(0x15b)),util=require(a1_0x29de20(0xf3)),process=require(a1_0x29de20(0xdb)),logger=require(a1_0x29de20(0x13d))['winstonLogger'],{default:BrowserStackSetup}=require(a1_0x29de20(0x153)),helper=require('../../helpers/helper'),utilities=require(a1_0x29de20(0xeb)),{checkAccessibilityPlatformConfig}=require(a1_0x29de20(0x12f)),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a1_0x29de20(0xd7),a1_0x29de20(0x110)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a1_0x29de20(0xf4)),BrowserstackCLI=require(a1_0x29de20(0xf6)),constants=require('../utils/constants'),PerformanceTester=require(a1_0x29de20(0xf1)),{FRAMEWORKS}=require(a1_0x29de20(0x108)),PerformanceEvents=require(a1_0x29de20(0x150))[a1_0x29de20(0xde)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x34f4ff,_0x5c70da)=>{const _0x3cc1b9=a1_0x29de20,_0x3fce81={};_0x3fce81[_0x3cc1b9(0x117)]=function(_0x506c7b,_0x246a1c){return _0x506c7b===_0x246a1c;},_0x3fce81['EkJzC']='codecept.conf.js',_0x3fce81[_0x3cc1b9(0xb8)]=_0x3cc1b9(0x13f);const _0x4129ec=_0x3fce81;let _0xaee2d=null;const _0x1f87b5={};let _0x226fc7=_0x5c70da['findIndex'](_0x110fa8=>_0x110fa8===_0x3cc1b9(0x127));_0x4129ec['sqeIz'](_0x226fc7,-0x1)&&(_0x226fc7=_0x5c70da[_0x3cc1b9(0xb9)](_0x4bebc8=>_0x4bebc8==='-c'));const _0x38993d=!helper[_0x3cc1b9(0x15e)](_0x34f4ff[_0x3cc1b9(0x152)])?helper[_0x3cc1b9(0x149)](_0x34f4ff[_0x3cc1b9(0x152)]):null,_0x5dde6c=!helper[_0x3cc1b9(0x15e)](_0x34f4ff['c'])?helper[_0x3cc1b9(0x149)](_0x34f4ff['c']):null;if(!helper['isUndefined'](_0x34f4ff[_0x3cc1b9(0x152)])&&!_0x38993d)logger['warn']('Ignoring\x20--config\x20path\x20\x22'+_0x34f4ff[_0x3cc1b9(0x152)]+_0x3cc1b9(0x10d));else!helper['isUndefined'](_0x34f4ff['c'])&&!_0x5dde6c&&logger['warn'](_0x3cc1b9(0xc3)+_0x34f4ff['c']+_0x3cc1b9(0x10d));if(_0x38993d&&fs[_0x3cc1b9(0x147)](_0x38993d))_0xaee2d=_0x38993d,_0x5c70da[_0x3cc1b9(0xbd)](_0x226fc7,0x2);else{if(_0x5dde6c&&fs[_0x3cc1b9(0x147)](_0x5dde6c))_0xaee2d=_0x5dde6c,_0x5c70da[_0x3cc1b9(0xbd)](_0x226fc7,0x2);else{if(fs[_0x3cc1b9(0x147)](path[_0x3cc1b9(0xcb)](process[_0x3cc1b9(0xfd)](),_0x4129ec[_0x3cc1b9(0xf0)])))_0xaee2d=path[_0x3cc1b9(0xcb)](process[_0x3cc1b9(0xfd)](),_0x4129ec[_0x3cc1b9(0xf0)]);else fs[_0x3cc1b9(0x147)](path[_0x3cc1b9(0xcb)](process[_0x3cc1b9(0xfd)](),_0x4129ec[_0x3cc1b9(0xb8)]))&&(_0xaee2d=path[_0x3cc1b9(0xcb)](process[_0x3cc1b9(0xfd)](),_0x4129ec[_0x3cc1b9(0xb8)]));}}return process[_0x3cc1b9(0x14a)][_0x3cc1b9(0x118)]=_0xaee2d,_0xaee2d;},getO11yRerunPattern=()=>{const _0x537fca=a1_0x29de20,_0x1140c3=helper[_0x537fca(0x131)](process['env'][_0x537fca(0x116)]);if(_0x1140c3){const _0x44d57a=process[_0x537fca(0x14a)][_0x537fca(0x12b)],_0x17ec4f=[];if(helper[_0x537fca(0xf9)](_0x44d57a)&&!helper[_0x537fca(0x15e)](_0x44d57a)){_0x44d57a[_0x537fca(0xfb)](',')[_0x537fca(0x11d)](_0x2ddb1d=>{const _0x97acd9=_0x537fca;_0x17ec4f[_0x97acd9(0x11b)]('('+_0x2ddb1d['trim']()+')');});const _0x12cc01='^'+_0x17ec4f['join']('|')+'$';return _0x12cc01;}}return null;},a1_0x1cd891={};function a1_0x26b1(_0x47b63e,_0x36296b){const _0x20c3ec=a1_0x20c3();return a1_0x26b1=function(_0x26b1b5,_0x4b43e2){_0x26b1b5=_0x26b1b5-0xb7;let _0x28ffc9=_0x20c3ec[_0x26b1b5];return _0x28ffc9;},a1_0x26b1(_0x47b63e,_0x36296b);}a1_0x1cd891['chrome']=a1_0x29de20(0x163),a1_0x1cd891[a1_0x29de20(0xba)]='chromium',a1_0x1cd891[a1_0x29de20(0x121)]=a1_0x29de20(0x11f),a1_0x1cd891['playwright-webkit']=a1_0x29de20(0x137);function a1_0x20c3(){const _0x1e181f=['BROWSERSTACK_FRAMEWORK','firefox','frameworkName','playwright-firefox','sRIzh','mergeDeep','ftQYi','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserName','--config','passed','4147160lGDMxB','zijBH','BROWSERSTACK_RERUN_TESTS','assign','isTestObservabilitySession','testObservability','../../helpers/accessibility-automation/helper','validPlatformsPresent','isTrue','AAeqg','codeceptjs/package.json','Workers','addOptions','JkStK','webkit','replace','test','root','plugins','testContextOptions','../../helpers/logger','getPlaywrightUrl','codecept.json','launchBuild','handleApp','isRunning','helpers','exports','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','setAdditionalCapabilities','resolveWithinCwd','env','10995AbVJDS','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','result','failed','printResults','../../helpers/performance/constants','host','config','../../helpers/BrowserStackSetup','SDK_CLEANUP','ewhTv','99vihpgJ','WdBLZ','setupBrowserstackLocal','parallelsPerPlatform','_ensureInitialized','path','DnVfz','UXMnS','isUndefined','browserWSEndpoint','Lvlmu','user','zskZL','chromium','3184470NJeuNf','format','all','stop','testConfig','vKNsg','findIndex','playwright-chromium','getPlatformName','bootstrapAll','splice','info','dirname','FRAMEWORKS','BrowserStackPlugin','imDeK','Ignoring\x20-c\x20config\x20path\x20\x22','688sMTczT','userName','YBnbk','log','avtFw','warn','106547lfZHVB','join','getUserWorkerCount','470653zrhhwZ','Rzafm','WebDriver','egCBY','nQgSn','/wd/hub','cxbdt','function','283428nEadga','BROWSERSTACK_TEST_ACCESSIBILITY_YML','codeceptjs/lib/index.js','addTests','VWBVJ','stack','process','skipSessionName','accessibilityOptions','EVENTS','platforms','start','toLowerCase','addConfig','Playwright','BROWSERSTACK_TEST_OBSERVABILITY_YML','profile','qJFSU','getInstance','before','initialize','spawn','../../helpers/utilities','CrkGb','createGroupsOfSuites','length','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','EkJzC','../../helpers/performance/performance-tester','load','util','../../helpers/testhub/testhubHandler','stringify','../v2/browserstackCLI','CODECEPT','hubUrl','validateRerunTestList','RchHH','split','DDwOI','cwd','title','CodeceptJS\x20','require','prepareCapabilities','debug','6924ybAfRg','skipSessionStatus','end','chdir','err','../../helpers/test-observability/constants','rdRcN','hRJQx','finalExecution','Started\x20:\x20','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','event','mGkkS','codeceptjs','accessibility','BrowserStackPlugin.js','LVYdZ','key','abXhz','BROWSERSTACK_RERUN','sqeIz','USER_CONFIG_DETAILS_PATH','run','browserStackCwd','push','RJdia','map'];a1_0x20c3=function(){return _0x1e181f;};return a1_0x20c3();}const pwToCodeceptBrowser=a1_0x1cd891;async function run(_0x5db343,_0x1b8876,_0x2b94f2){const _0x3bb4b4=a1_0x29de20,_0x15369f={'sRIzh':function(_0x3833dc,_0x29721a,_0x376a7d,_0x25b319){return _0x3833dc(_0x29721a,_0x376a7d,_0x25b319);},'GWtZq':function(_0x3c9fe1,_0x569e56){return _0x3c9fe1+_0x569e56;},'Cqged':function(_0x4209a7,_0x1a1f72){return _0x4209a7(_0x1a1f72);},'xSODa':function(_0x1b5845,_0x2b7e1b){return _0x1b5845+_0x2b7e1b;},'WdBLZ':function(_0x223bb6,_0x36ede7,_0x3c8b16){return _0x223bb6(_0x36ede7,_0x3c8b16);},'LVYdZ':'helpers','DDwOI':function(_0x4de6b0){return _0x4de6b0();},'YBnbk':_0x3bb4b4(0xd2),'imDeK':'Failed\x20:\x20','hRJQx':'Passed\x20:\x20','Rzafm':_0x3bb4b4(0x10c),'zijBH':'1|0|2|3|4','cxbdt':function(_0x5079e1,_0x2300f1,_0x26649b){return _0x5079e1(_0x2300f1,_0x26649b);},'EUwOH':_0x3bb4b4(0x125),'DnVfz':_0x3bb4b4(0xe3),'VWBVJ':_0x3bb4b4(0xcf),'qJFSU':function(_0x457394,_0x2ab637){return _0x457394(_0x2ab637);},'egCBY':function(_0x9ea149,_0x43d020){return _0x9ea149!=_0x43d020;},'fOqJg':'true','mGkkS':'gherkin','RchHH':function(_0x1a53a6,_0x383569){return _0x1a53a6(_0x383569);},'avtFw':function(_0xbb6f30){return _0xbb6f30();},'KVqlO':function(_0x4b1acd,_0x36d86a){return _0x4b1acd*_0x36d86a;},'zFnRD':function(_0x169e58,_0x450ed4,_0x413e22){return _0x169e58(_0x450ed4,_0x413e22);},'NtRLA':'browser','abXhz':function(_0x3f39ef,_0xc9fbf8,_0x28d49e){return _0x3f39ef(_0xc9fbf8,_0x28d49e);},'rdRcN':'desiredCapabilities','Lvlmu':_0x3bb4b4(0x13a),'zskZL':_0x3bb4b4(0x112),'RJdia':_0x3bb4b4(0x11a),'CrkGb':_0x3bb4b4(0x110),'ewhTv':function(_0x310b61,_0x8f0fc8){return _0x310b61===_0x8f0fc8;},'JkStK':_0x3bb4b4(0xd4),'erpTb':function(_0x4d5eee,_0x183d41,_0x3ad717){return _0x4d5eee(_0x183d41,_0x3ad717);},'UXMnS':_0x3bb4b4(0x133),'ftQYi':function(_0x41019d,_0x33a65c){return _0x41019d>=_0x33a65c;}};await _0x2b94f2[_0x3bb4b4(0xe9)](_0x5db343);!BrowserstackCLI[_0x3bb4b4(0xe7)]()[_0x3bb4b4(0x142)]()&&await _0x2b94f2[_0x3bb4b4(0x158)]();await helper[_0x3bb4b4(0x141)](_0x2b94f2['config']);if(!_0x2b94f2[_0x3bb4b4(0x152)])return;process['profile']=_0x5db343[_0x3bb4b4(0xe5)];_0x5db343[_0x3bb4b4(0xe5)]&&(process['env'][_0x3bb4b4(0xe5)]=_0x5db343[_0x3bb4b4(0xe5)]);const _0x1c40ed=_0x15369f[_0x3bb4b4(0xd3)](getUserCodeceptJSConfigs,_0x5db343,_0x1b8876);let _0x511f75={};_0x1c40ed?(logger[_0x3bb4b4(0xbe)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x1c40ed),_0x511f75=CodeceptJS[_0x3bb4b4(0x152)][_0x3bb4b4(0xf2)](_0x1c40ed)):logger[_0x3bb4b4(0xbe)](_0x15369f['EUwOH']);let _0x2a6816=![];_0x15369f[_0x3bb4b4(0x157)](nestedKeyValue,_0x511f75,[_0x15369f['LVYdZ'],_0x15369f[_0x3bb4b4(0x15c)]])&&(_0x2a6816=!![]);const _0x53ae07=_0x2a6816?_0x15369f[_0x3bb4b4(0x15c)]:_0x15369f[_0x3bb4b4(0xd9)];let _0x42808e=!_0x2a6816?helper['useW3C'](_0x2b94f2[_0x3bb4b4(0x152)]):![];!helper['isUndefined'](_0x2b94f2['config'][_0x3bb4b4(0xdd)])&&(process[_0x3bb4b4(0x14a)][_0x3bb4b4(0x146)]=JSON[_0x3bb4b4(0xf5)](_0x2b94f2[_0x3bb4b4(0x152)][_0x3bb4b4(0xdd)]));let _0x5e2fad=_0x2b94f2['config'][_0x3bb4b4(0x111)];_0x5e2fad=_0x5e2fad||_0x15369f[_0x3bb4b4(0xe6)](checkAccessibilityPlatformConfig,_0x2b94f2[_0x3bb4b4(0x152)]),process[_0x3bb4b4(0x14a)][_0x3bb4b4(0xd6)]=_0x5e2fad;_0x5e2fad&&(_0x42808e=!_0x5e2fad);_0x15369f[_0x3bb4b4(0xd0)](_0x2b94f2[_0x3bb4b4(0x152)][_0x3bb4b4(0x12e)],null)?process['env'][_0x3bb4b4(0xe4)]=_0x2b94f2[_0x3bb4b4(0x152)][_0x3bb4b4(0x12e)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x15369f['fOqJg'];const _0x25d516=_0x15369f[_0x3bb4b4(0xd3)](nestedKeyValue,_0x511f75,[_0x15369f[_0x3bb4b4(0x10f)]]),_0x168a64=_0x25d516&&!helper['isEmpty'](_0x25d516)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x1038cd=await TestHubHandler[_0x3bb4b4(0x140)](_0x168a64,_0x2b94f2);await testOpsHelper['printBuildLink']();_0x5e2fad&&_0x15369f[_0x3bb4b4(0xfa)](setAccessibilityCapabilities,_0x2b94f2['config']);const _0x4abbe9={},_0x8b0e2b=[],_0x301959=_0x2b94f2[_0x3bb4b4(0x152)][_0x3bb4b4(0x159)]||helper[_0x3bb4b4(0xcc)](_0x5db343,_0x1b8876,_0x2b94f2[_0x3bb4b4(0x152)],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x474dc8=0x1;if(_0x15369f[_0x3bb4b4(0xc8)](isBrowserstackInfra)){const _0x446a84=helper[_0x3bb4b4(0x101)](_0x2b94f2[_0x3bb4b4(0x152)],_0x42808e,constants[_0x3bb4b4(0xc0)][_0x3bb4b4(0xf7)]);_0x446a84['forEach'](_0x43326f=>{const _0x45641d=_0x3bb4b4;helper[_0x45641d(0x148)](_0x43326f);}),helper[_0x3bb4b4(0x130)](_0x2b94f2['config'])?_0x474dc8=_0x15369f['KVqlO'](_0x301959,_0x2b94f2[_0x3bb4b4(0x152)][_0x3bb4b4(0xdf)][_0x3bb4b4(0xee)]):_0x474dc8=_0x301959,_0x446a84['forEach'](_0x184e21=>{const _0x1b40be=_0x3bb4b4,_0x5183bf={'AAeqg':function(_0x10dceb,_0x524aaf,_0x2dab3c,_0xd627c3){const _0x3f5ba8=a1_0x26b1;return _0x15369f[_0x3f5ba8(0x122)](_0x10dceb,_0x524aaf,_0x2dab3c,_0xd627c3);},'DMAcS':function(_0x584846,_0x2f120f){return _0x15369f['GWtZq'](_0x584846,_0x2f120f);},'nQgSn':function(_0x9fbd55,_0x1d2366){return _0x15369f['Cqged'](_0x9fbd55,_0x1d2366);}},_0x3f8e36=_0x15369f['xSODa'](helper[_0x1b40be(0xbb)](_0x184e21,'_'),'_'+Date['now']()),_0x1da310=((()=>{const _0x30b988=_0x1b40be;if(_0x2a6816){const _0x54f22f=pwToCodeceptBrowser[_0x184e21['browserName']]||_0x184e21[_0x30b988(0x126)],_0x58c36c=helper[_0x30b988(0x13e)](_0x2b94f2[_0x30b988(0x152)]),_0x2af5db=Object[_0x30b988(0x12c)]({},_0x184e21);return _0x5183bf[_0x30b988(0x132)](processAccessibilityCaps,_0x2af5db,_0x58c36c,null),{'browser':_0x54f22f,[_0x54f22f]:{'browserWSEndpoint':_0x5183bf['DMAcS'](_0x58c36c,_0x5183bf[_0x30b988(0xd1)](encodeURIComponent,JSON[_0x30b988(0xf5)](_0x2af5db)))}};}const _0x2a8251={};return _0x2a8251['desiredCapabilities']=_0x184e21,_0x2a8251[_0x30b988(0x161)]=_0x2b94f2[_0x30b988(0x152)][_0x30b988(0xc5)],_0x2a8251[_0x30b988(0x114)]=_0x2b94f2['config']['accessKey'],_0x2a8251;})()),_0xdeb3bf=_0x15369f[_0x1b40be(0x157)](nestedKeyValue,_0x511f75,[_0x15369f[_0x1b40be(0x113)],_0x53ae07]);_0x4abbe9[_0x3f8e36]=_0xdeb3bf?helper[_0x1b40be(0x123)](_0x1da310,_0xdeb3bf):_0x1da310;if(_0x2a6816)_0x4abbe9[_0x3f8e36]['browser']=pwToCodeceptBrowser[_0x184e21[_0x1b40be(0x126)]]||_0x184e21['browserName'];else{_0x4abbe9[_0x3f8e36]['browser']=_0x184e21[_0x1b40be(0x126)]||_0x1da310['browser'];if(_0x15369f[_0x1b40be(0xfc)](isBrowserstackInfra)){_0x4abbe9[_0x3f8e36][_0x1b40be(0x151)]=constants[_0x1b40be(0xf8)][_0x1b40be(0x138)](_0x15369f[_0x1b40be(0xc6)],'')[_0x1b40be(0x138)](/https?:\/\//,'');;_0x4abbe9[_0x3f8e36]['path']=_0x15369f['YBnbk'];}}_0x8b0e2b[_0x1b40be(0x11b)](_0x3f8e36);});}else{_0x474dc8=0x1;if(_0x2a6816){const _0x2e74c2=_0x15369f['zFnRD'](nestedKeyValue,_0x511f75,[_0x15369f[_0x3bb4b4(0x113)],_0x53ae07,_0x15369f['NtRLA']]),_0x143f35=_0x15369f['abXhz'](nestedKeyValue,_0x511f75,[_0x15369f[_0x3bb4b4(0x113)],_0x53ae07,_0x2e74c2]);if(_0x143f35&&_0x143f35[_0x3bb4b4(0x15f)]){const _0x1b742a={};_0x1b742a[_0x3bb4b4(0xdf)]=[],_0x143f35[_0x3bb4b4(0x15f)]=helper[_0x3bb4b4(0x101)](Object[_0x3bb4b4(0x12c)]({},_0x2b94f2[_0x3bb4b4(0x152)],_0x1b742a),null,_0x168a64['toLowerCase'](),null,null,_0x143f35[_0x3bb4b4(0x15f)]);}}else{if(_0x15369f[_0x3bb4b4(0x115)](nestedKeyValue,_0x511f75,[_0x15369f[_0x3bb4b4(0x113)],_0x53ae07])){const _0x78cad={};_0x78cad[_0x3bb4b4(0xdf)]=[],_0x511f75[_0x15369f[_0x3bb4b4(0x113)]][_0x53ae07][_0x15369f[_0x3bb4b4(0x109)]]=helper[_0x3bb4b4(0x101)](Object[_0x3bb4b4(0x12c)]({},_0x2b94f2[_0x3bb4b4(0x152)],_0x78cad),null,_0x168a64[_0x3bb4b4(0xe1)](),_0x15369f[_0x3bb4b4(0x115)](nestedKeyValue,_0x511f75,[_0x15369f['LVYdZ'],_0x53ae07,_0x15369f[_0x3bb4b4(0x109)]])||{},null,null);}}_0x4abbe9[_0x15369f[_0x3bb4b4(0x160)]]=_0x511f75,_0x8b0e2b[_0x3bb4b4(0x11b)](_0x15369f[_0x3bb4b4(0x160)]);}const _0x1ca150={};_0x1ca150[_0x3bb4b4(0xb7)]=_0x1c40ed;const _0x2bf127=_0x1ca150,_0x5e40e0=path[_0x3bb4b4(0xcb)](__dirname,_0x15369f[_0x3bb4b4(0x162)]),_0x81f0fc=process[_0x3bb4b4(0xfd)]();process[_0x3bb4b4(0x14a)][_0x15369f[_0x3bb4b4(0x11c)]]=_0x81f0fc;_0x1c40ed&&process[_0x3bb4b4(0x106)](path[_0x3bb4b4(0xbf)](_0x1c40ed));process['env'][_0x3bb4b4(0x11e)]=process[_0x3bb4b4(0x14a)][_0x3bb4b4(0x11e)]||_0x15369f[_0x3bb4b4(0xec)];const _0x4f8953=new CodeceptJS[(_0x3bb4b4(0x134))](null,_0x2bf127);if(_0x15369f[_0x3bb4b4(0x155)](typeof _0x4f8953['_ensureInitialized'],_0x15369f[_0x3bb4b4(0x136)]))await _0x4f8953[_0x3bb4b4(0x15a)]();else{let _0x2bae5d;try{_0x2bae5d=_0x15369f['erpTb'](requireModule,_0x15369f[_0x3bb4b4(0x15d)],_0x15369f['CrkGb'])['version'];}catch(_0x331e72){logger[_0x3bb4b4(0x102)](_0x3bb4b4(0x14c)+util[_0x3bb4b4(0x165)](_0x331e72));}_0x2bae5d&&_0x15369f[_0x3bb4b4(0x124)](_0x15369f[_0x3bb4b4(0x157)](parseInt,_0x2bae5d[_0x3bb4b4(0xfb)]('.')[0x0],0xa),0x4)&&logger[_0x3bb4b4(0xc9)](_0x3bb4b4(0xff)+_0x2bae5d+_0x3bb4b4(0xef));}const _0x3c5e62=_0x4f8953[_0x3bb4b4(0xed)](_0x301959),_0x595c3d=testOpsHelper[_0x3bb4b4(0x12d)](),_0x590534=_0x8b0e2b[_0x3bb4b4(0x11d)](_0x130681=>{const _0x4c1e20=_0x3bb4b4,_0x312c67={};_0x312c67['Playwright']=_0x4abbe9[_0x130681];const _0x24b911={};_0x24b911[_0x4c1e20(0xcf)]=_0x4abbe9[_0x130681];const _0x55a490=_0x2a6816?_0x312c67:_0x24b911,_0x552754=_0x15369f['DDwOI'](getO11yRerunPattern),_0x201ee1={};_0x201ee1[_0x4c1e20(0x143)]=_0x55a490;const _0x3c1dab={};_0x3c1dab[_0x4c1e20(0x100)]=_0x5e40e0,_0x3c1dab['enabled']=!![],_0x3c1dab['skipSessionName']=_0x2b94f2['config'][_0x4c1e20(0x13c)][_0x4c1e20(0xdc)],_0x3c1dab[_0x4c1e20(0x104)]=_0x2b94f2[_0x4c1e20(0x152)]['testContextOptions'][_0x4c1e20(0x104)],_0x3c1dab[_0x4c1e20(0x12e)]=_0x595c3d,_0x3c1dab[_0x4c1e20(0x120)]=_0x168a64;const _0x7fbf0a={};_0x7fbf0a[_0x4c1e20(0xc1)]=_0x3c1dab;const _0x37d495={};return _0x37d495[_0x4c1e20(0x13b)]=_0x7fbf0a,helper[_0x4c1e20(0x123)]({},_0x511f75,_0x15369f[_0x4c1e20(0xfc)](isBrowserstackInfra)?_0x201ee1:{},_0x552754?{'grep':_0x552754}:{},_0x37d495);});for(const _0x2e63eb of _0x590534){for(const _0x2e3759 of _0x3c5e62){const _0xcc2ba2=_0x4f8953[_0x3bb4b4(0xea)]();_0xcc2ba2[_0x3bb4b4(0xd8)](_0x2e3759),_0xcc2ba2[_0x3bb4b4(0xe2)](_0x2e63eb);const _0x33f2d8={};_0x33f2d8[_0x3bb4b4(0x152)]=_0x1c40ed,_0xcc2ba2[_0x3bb4b4(0x135)](Object['assign'](_0x33f2d8,_0x5db343));}}_0x4f8953['on'](CodeceptJS[_0x3bb4b4(0x10e)][_0x3bb4b4(0x139)][_0x3bb4b4(0x14e)],(_0x16d528,_0x556215)=>{const _0x4278b9=_0x3bb4b4;console[_0x4278b9(0xc7)](_0x15369f[_0x4278b9(0xc2)],_0x16d528[_0x4278b9(0xfe)]);const _0x3e02b3={[_0x16d528[_0x4278b9(0xfe)]]:_0x16d528[_0x4278b9(0x107)][_0x4278b9(0xda)]};_testErrorData['push'](_0x3e02b3);}),_0x4f8953['on'](CodeceptJS[_0x3bb4b4(0x10e)]['test'][_0x3bb4b4(0x128)],async _0x16027a=>{const _0x132852=_0x3bb4b4;console[_0x132852(0xc7)](_0x15369f[_0x132852(0x10a)],_0x16027a[_0x132852(0xfe)]);}),_0x4f8953['on'](CodeceptJS['event']['test'][_0x3bb4b4(0xe8)],async _0x538184=>{const _0x24901f=_0x3bb4b4;console[_0x24901f(0xc7)](_0x15369f[_0x24901f(0xce)],_0x538184[_0x24901f(0xfe)]);}),_0x4f8953['on'](CodeceptJS['event'][_0x3bb4b4(0x166)][_0x3bb4b4(0x14d)],async()=>{const _0x2b7f53=_0x3bb4b4,_0x54ffb3=_0x15369f[_0x2b7f53(0x12a)][_0x2b7f53(0xfb)]('|');let _0x4bed1f=0x0;while(!![]){switch(_0x54ffb3[_0x4bed1f++]){case'0':_0x2b94f2['errorMessage']=_testErrorData;continue;case'1':PerformanceTester[_0x2b7f53(0xe0)](PerformanceEvents[_0x2b7f53(0x154)]);continue;case'2':utilities[_0x2b7f53(0x10b)](_0x2b94f2);continue;case'3':try{await TestHubHandler[_0x2b7f53(0x167)]();}catch(_0x2dcc3e){logger[_0x2b7f53(0x102)](_0x2b7f53(0x145)+util[_0x2b7f53(0x165)](_0x2dcc3e));}continue;case'4':_0x4f8953[_0x2b7f53(0x14f)]();continue;}break;}});async function _0x20c21e(){const _0xee2c29=_0x3bb4b4;try{await _0x4f8953[_0xee2c29(0xbc)](),await _0x4f8953[_0xee2c29(0x119)]();}finally{process[_0xee2c29(0x106)](_0x81f0fc),await _0x4f8953['teardownAll']();}}PerformanceTester[_0x3bb4b4(0x105)](PerformanceEvents['SDK_SETUP']),await _0x15369f[_0x3bb4b4(0xfc)](_0x20c21e);}module[a1_0x29de20(0x144)]=run;
|
|
2
|
+
'use strict';const a1_0x1bcea6=a1_0x4d42;(function(_0x2def52,_0x5e8b63){const _0xd5e0ad=a1_0x4d42,_0x39d29c=_0x2def52();while(!![]){try{const _0x4eda6a=-parseInt(_0xd5e0ad(0xb1))/0x1*(-parseInt(_0xd5e0ad(0x132))/0x2)+parseInt(_0xd5e0ad(0x127))/0x3+-parseInt(_0xd5e0ad(0xf8))/0x4+parseInt(_0xd5e0ad(0x131))/0x5*(-parseInt(_0xd5e0ad(0xfd))/0x6)+parseInt(_0xd5e0ad(0x10e))/0x7*(parseInt(_0xd5e0ad(0xec))/0x8)+parseInt(_0xd5e0ad(0xe7))/0x9*(parseInt(_0xd5e0ad(0xe1))/0xa)+-parseInt(_0xd5e0ad(0x13c))/0xb;if(_0x4eda6a===_0x5e8b63)break;else _0x39d29c['push'](_0x39d29c['shift']());}catch(_0x327292){_0x39d29c['push'](_0x39d29c['shift']());}}}(a1_0x1d17,0x5f428));function a1_0x1d17(){const _0x4e9a55=['warn','MKOXl','helpers','Workers','/wd/hub','playwright-firefox','join','assign','codeceptjs/package.json','hubUrl','TndXr','QgcYK','existsSync','trim','length','hbOIu','245eCRINW','split','EMikR','yHQWw','test','function','failed','browserWSEndpoint','setAdditionalCapabilities','WebDriver','getUserWorkerCount','isTestObservabilitySession','HFmuY','findIndex','resolveWithinCwd','FRAMEWORKS','title','host','true','isUndefined','USER_CONFIG_DETAILS_PATH','UalXh','webkit','event','codecept.json','1331799jqWXNM','OhiBl','BROWSERSTACK_FRAMEWORK','cwd','testContextOptions','UwiCy','desiredCapabilities','format','push','isTrue','20qXWXRo','862pZEsfG','BrowserStackPlugin.js','replace','Started\x20:\x20','wWtLP','launchBuild','accessibility','../../helpers/utilities','getPlatformName','log','1844095yMLrAL','kcJGb','aUnoP','browserName','stop','toLowerCase','../../helpers/BrowserStackSetup','BrowserStackPlugin','version','skipSessionName','../v2/browserstackCLI','hLDJO','frameworkName','codeceptjs','root','winstonLogger','map','testObservability','chdir','yHiAR','errorMessage','printBuildLink','chrome','welsC','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','../../helpers/logger','JTqLd','before','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','profile','start','Passed\x20:\x20','--config','Failed\x20:\x20','getPlaywrightUrl','playwright-webkit','env','enabled','mergeDeep','VIDpu','521ySggwA','isRunning','user','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gZDLT','load','../utils/constants','key','SDK_CLEANUP','../../helpers/testhub/testhubHandler','qtnaQ','CODECEPT','platforms','userName','browser','chromium','codecept.conf.js','xyCwC','validPlatformsPresent','handleApp','xGssz','finalExecution','testConfig','plugins','path','../../helpers/helper','Ignoring\x20--config\x20path\x20\x22','setupBrowserstackLocal','createGroupsOfSuites','../../helpers/accessibility-automation/helper','playwright-chromium','printResults','EVENTS','CZnVs','../../helpers/performance/performance-tester','useW3C','BROWSERSTACK_RERUN','parallelsPerPlatform','THAsK','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/test-observability/constants','CrRiE','forEach','stringify','all','_ensureInitialized','nsEqb','info','510neqhAo','passed','exports','CodeceptJS\x20','codeceptjs/lib/index.js','../../bin/playwright/accessibility-helper','56637CPPJLr','prepareCapabilities','result','accessibilityOptions','oYZze','49656GhEvam','../../helpers/performance/constants','util','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','debug','GTeOC','eRlut','spawn','dirname','getInstance','validateRerunTestList','HFyHb','831164WdVqEP','FvcBH','WFEdS','uzXys','config','661578nGEYWN'];a1_0x1d17=function(){return _0x4e9a55;};return a1_0x1d17();}function a1_0x4d42(_0x1e85b1,_0xac02e0){const _0x1d175a=a1_0x1d17();return a1_0x4d42=function(_0x4d4289,_0x4b7646){_0x4d4289=_0x4d4289-0xb1;let _0x2a0011=_0x1d175a[_0x4d4289];return _0x2a0011;},a1_0x4d42(_0x1e85b1,_0xac02e0);}const fs=require('fs'),path=require(a1_0x1bcea6(0xc9)),util=require(a1_0x1bcea6(0xee)),process=require('process'),logger=require(a1_0x1bcea6(0x155))[a1_0x1bcea6(0x14b)],{default:BrowserStackSetup}=require(a1_0x1bcea6(0x142)),helper=require('../../helpers/helper'),utilities=require(a1_0x1bcea6(0x139)),{checkAccessibilityPlatformConfig}=require(a1_0x1bcea6(0xce)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x1bcea6(0xe6)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x1bcea6(0xca)),CodeceptJS=requireModule(a1_0x1bcea6(0xe5),a1_0x1bcea6(0x149)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a1_0x1bcea6(0xba)),BrowserstackCLI=require(a1_0x1bcea6(0x146)),constants=require(a1_0x1bcea6(0xb7)),PerformanceTester=require(a1_0x1bcea6(0xd3)),{FRAMEWORKS}=require(a1_0x1bcea6(0xd9)),PerformanceEvents=require(a1_0x1bcea6(0xed))[a1_0x1bcea6(0xd1)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x35873c,_0x26171e)=>{const _0x5e2ba2=a1_0x1bcea6,_0x5ca87b={};_0x5ca87b[_0x5e2ba2(0xff)]=function(_0x375682,_0x1da6bb){return _0x375682===_0x1da6bb;},_0x5ca87b[_0x5e2ba2(0xf2)]=_0x5e2ba2(0xc1),_0x5ca87b[_0x5e2ba2(0xeb)]=_0x5e2ba2(0x126);const _0x5e295a=_0x5ca87b;let _0x1d00a9=null;const _0x581b7e={};let _0x21656e=_0x26171e[_0x5e2ba2(0x11b)](_0x2d4e50=>_0x2d4e50===_0x5e2ba2(0x15c));_0x5e295a[_0x5e2ba2(0xff)](_0x21656e,-0x1)&&(_0x21656e=_0x26171e[_0x5e2ba2(0x11b)](_0x5dc941=>_0x5dc941==='-c'));const _0x351901=!helper[_0x5e2ba2(0x121)](_0x35873c[_0x5e2ba2(0xfc)])?helper[_0x5e2ba2(0x11c)](_0x35873c[_0x5e2ba2(0xfc)]):null,_0x5c41e9=!helper[_0x5e2ba2(0x121)](_0x35873c['c'])?helper[_0x5e2ba2(0x11c)](_0x35873c['c']):null;if(!helper[_0x5e2ba2(0x121)](_0x35873c[_0x5e2ba2(0xfc)])&&!_0x351901)logger[_0x5e2ba2(0xfe)](_0x5e2ba2(0xcb)+_0x35873c[_0x5e2ba2(0xfc)]+_0x5e2ba2(0x158));else!helper['isUndefined'](_0x35873c['c'])&&!_0x5c41e9&&logger[_0x5e2ba2(0xfe)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x35873c['c']+_0x5e2ba2(0x158));if(_0x351901&&fs[_0x5e2ba2(0x10a)](_0x351901))_0x1d00a9=_0x351901,_0x26171e['splice'](_0x21656e,0x2);else{if(_0x5c41e9&&fs[_0x5e2ba2(0x10a)](_0x5c41e9))_0x1d00a9=_0x5c41e9,_0x26171e['splice'](_0x21656e,0x2);else{if(fs[_0x5e2ba2(0x10a)](path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xf2)])))_0x1d00a9=path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xf2)]);else fs[_0x5e2ba2(0x10a)](path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xeb)]))&&(_0x1d00a9=path['join'](process['cwd'](),_0x5e295a['oYZze']));}}return process[_0x5e2ba2(0x160)][_0x5e2ba2(0x122)]=_0x1d00a9,_0x1d00a9;},getO11yRerunPattern=()=>{const _0x2bb654=a1_0x1bcea6,_0x397965=helper[_0x2bb654(0x130)](process[_0x2bb654(0x160)][_0x2bb654(0xd5)]);if(_0x397965){const _0xfac22b=process[_0x2bb654(0x160)]['BROWSERSTACK_RERUN_TESTS'],_0x3147b2=[];if(helper[_0x2bb654(0xf6)](_0xfac22b)&&!helper[_0x2bb654(0x121)](_0xfac22b)){_0xfac22b[_0x2bb654(0x10f)](',')[_0x2bb654(0x14c)](_0xe94f1a=>{const _0x309bea=_0x2bb654;_0x3147b2[_0x309bea(0x12f)]('('+_0xe94f1a[_0x309bea(0x10b)]()+')');});const _0x17a30b='^'+_0x3147b2['join']('|')+'$';return _0x17a30b;}}return null;},a1_0x592262={};a1_0x592262[a1_0x1bcea6(0x152)]=a1_0x1bcea6(0xc0),a1_0x592262[a1_0x1bcea6(0xcf)]=a1_0x1bcea6(0xc0),a1_0x592262[a1_0x1bcea6(0x103)]='firefox',a1_0x592262[a1_0x1bcea6(0x15f)]=a1_0x1bcea6(0x124);const pwToCodeceptBrowser=a1_0x592262;async function run(_0xa1ad0e,_0x3ffd3d,_0x547a50){const _0x3a9805=a1_0x1bcea6,_0x522d0a={'aUnoP':function(_0x434c54,_0xf73f3c,_0x298e88,_0x1d42a4){return _0x434c54(_0xf73f3c,_0x298e88,_0x1d42a4);},'QtlAh':function(_0x2da7fc,_0x37d7a3){return _0x2da7fc+_0x37d7a3;},'hbOIu':function(_0x1da388,_0x1f42da){return _0x1da388(_0x1f42da);},'xyCwC':function(_0x312db3,_0x430ea8){return _0x312db3+_0x430ea8;},'CZnVs':function(_0x145c4b,_0x361e53,_0x387641){return _0x145c4b(_0x361e53,_0x387641);},'hLDJO':_0x3a9805(0x100),'xGssz':function(_0x211486){return _0x211486();},'welsC':_0x3a9805(0x102),'JTqLd':function(_0x628739){return _0x628739();},'RlqnA':function(_0x48d943){return _0x48d943();},'wWtLP':_0x3a9805(0x15d),'nsEqb':_0x3a9805(0x15b),'AcbBc':_0x3a9805(0x135),'EMikR':'1|0|4|3|2','AFtWd':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','THAsK':'Playwright','yHiAR':_0x3a9805(0x117),'VIDpu':function(_0x5d9573,_0x5e12ad){return _0x5d9573(_0x5e12ad);},'waOjC':function(_0x4603a8,_0x59cf6a){return _0x4603a8!=_0x59cf6a;},'WFEdS':_0x3a9805(0x120),'UalXh':function(_0x4e2524,_0x3725ea,_0x517bc0){return _0x4e2524(_0x3725ea,_0x517bc0);},'QgcYK':'gherkin','UwiCy':function(_0xe3e10d,_0x1eea64){return _0xe3e10d*_0x1eea64;},'HFyHb':function(_0x37be23,_0x4bbc08,_0xcf8a07){return _0x37be23(_0x4bbc08,_0xcf8a07);},'kjZrZ':_0x3a9805(0xbf),'qHqgi':function(_0x2f796a,_0x2440cd,_0x5a9efc){return _0x2f796a(_0x2440cd,_0x5a9efc);},'yHQWw':function(_0x367da0,_0x291388,_0x519308){return _0x367da0(_0x291388,_0x519308);},'qtnaQ':_0x3a9805(0x12d),'gZDLT':_0x3a9805(0x14a),'SzZiT':_0x3a9805(0x133),'FvcBH':'browserStackCwd','HFmuY':_0x3a9805(0x149),'uzXys':function(_0x44426c,_0x24ae5d){return _0x44426c===_0x24ae5d;},'GYWnf':_0x3a9805(0x113),'OhiBl':_0x3a9805(0x106),'kcJGb':function(_0x487d52,_0x335f09){return _0x487d52>=_0x335f09;}};await _0x547a50['initialize'](_0xa1ad0e);!BrowserstackCLI[_0x3a9805(0xf5)]()[_0x3a9805(0xb2)]()&&await _0x547a50[_0x3a9805(0xcc)]();await helper[_0x3a9805(0xc4)](_0x547a50[_0x3a9805(0xfc)]);if(!_0x547a50[_0x3a9805(0xfc)])return;process[_0x3a9805(0x159)]=_0xa1ad0e[_0x3a9805(0x159)];_0xa1ad0e[_0x3a9805(0x159)]&&(process['env']['profile']=_0xa1ad0e['profile']);const _0x4562b0=_0x522d0a['CZnVs'](getUserCodeceptJSConfigs,_0xa1ad0e,_0x3ffd3d);let _0x3fae3a={};_0x4562b0?(logger[_0x3a9805(0xe0)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4562b0),_0x3fae3a=CodeceptJS[_0x3a9805(0xfc)][_0x3a9805(0xb6)](_0x4562b0)):logger['info'](_0x522d0a['AFtWd']);let _0x45b631=![];_0x522d0a['CZnVs'](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x522d0a[_0x3a9805(0xd7)]])&&(_0x45b631=!![]);const _0x2a527e=_0x45b631?_0x522d0a[_0x3a9805(0xd7)]:_0x522d0a[_0x3a9805(0x14f)];let _0x120443=!_0x45b631?helper[_0x3a9805(0xd4)](_0x547a50['config']):![];!helper[_0x3a9805(0x121)](_0x547a50['config']['accessibilityOptions'])&&(process['env'][_0x3a9805(0xb4)]=JSON[_0x3a9805(0xdc)](_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xea)]));let _0x188203=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x138)];_0x188203=_0x188203||_0x522d0a[_0x3a9805(0x163)](checkAccessibilityPlatformConfig,_0x547a50[_0x3a9805(0xfc)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x188203;_0x188203&&(_0x120443=!_0x188203);_0x522d0a['waOjC'](_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x14d)],null)?process[_0x3a9805(0x160)][_0x3a9805(0xd8)]=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x14d)]:process[_0x3a9805(0x160)][_0x3a9805(0xd8)]=_0x522d0a[_0x3a9805(0xfa)];const _0x20f2cd=_0x522d0a[_0x3a9805(0x123)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x109)]]),_0x48e733=_0x20f2cd&&!helper['isEmpty'](_0x20f2cd)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x5369f1=await TestHubHandler[_0x3a9805(0x137)](_0x48e733,_0x547a50);await testOpsHelper[_0x3a9805(0x151)]();_0x188203&&_0x522d0a[_0x3a9805(0x163)](setAccessibilityCapabilities,_0x547a50['config']);const _0x2a3340={},_0x544c82=[],_0x1553e2=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xd6)]||helper[_0x3a9805(0x118)](_0xa1ad0e,_0x3ffd3d,_0x547a50[_0x3a9805(0xfc)],constants[_0x3a9805(0x11d)][_0x3a9805(0xbc)])||0x1;let _0x124613=0x1;if(_0x522d0a[_0x3a9805(0x156)](isBrowserstackInfra)){const _0x43fa6f=helper[_0x3a9805(0xe8)](_0x547a50[_0x3a9805(0xfc)],_0x120443,constants[_0x3a9805(0x11d)][_0x3a9805(0xbc)]);_0x43fa6f[_0x3a9805(0xdb)](_0xea2588=>{const _0x3e61cf=_0x3a9805;helper[_0x3e61cf(0x116)](_0xea2588);}),helper[_0x3a9805(0xc3)](_0x547a50['config'])?_0x124613=_0x522d0a[_0x3a9805(0x12c)](_0x1553e2,_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xbd)][_0x3a9805(0x10c)]):_0x124613=_0x1553e2,_0x43fa6f['forEach'](_0x5bf3e9=>{const _0xbd9673=_0x3a9805,_0x542ae2={'GTeOC':function(_0x4ae6fd,_0x24d569,_0x591057,_0x1a6618){const _0x15d07e=a1_0x4d42;return _0x522d0a[_0x15d07e(0x13e)](_0x4ae6fd,_0x24d569,_0x591057,_0x1a6618);},'TndXr':function(_0x1de4ea,_0xb04d25){return _0x522d0a['QtlAh'](_0x1de4ea,_0xb04d25);},'CrRiE':function(_0x390b0f,_0x7cab3d){const _0x886939=a1_0x4d42;return _0x522d0a[_0x886939(0x10d)](_0x390b0f,_0x7cab3d);}},_0x15a12f=_0x522d0a[_0xbd9673(0xc2)](helper[_0xbd9673(0x13a)](_0x5bf3e9,'_'),'_'+Date['now']()),_0x36ca37=((()=>{const _0x4e79da=_0xbd9673;if(_0x45b631){const _0x50c2c6=pwToCodeceptBrowser[_0x5bf3e9[_0x4e79da(0x13f)]]||_0x5bf3e9[_0x4e79da(0x13f)],_0x3c8caf=helper[_0x4e79da(0x15e)](_0x547a50['config']),_0x302108=Object[_0x4e79da(0x105)]({},_0x5bf3e9);return _0x542ae2[_0x4e79da(0xf1)](processAccessibilityCaps,_0x302108,_0x3c8caf,null),{'browser':_0x50c2c6,[_0x50c2c6]:{'browserWSEndpoint':_0x542ae2[_0x4e79da(0x108)](_0x3c8caf,_0x542ae2[_0x4e79da(0xda)](encodeURIComponent,JSON[_0x4e79da(0xdc)](_0x302108)))}};}const _0x1e86d8={};return _0x1e86d8[_0x4e79da(0x12d)]=_0x5bf3e9,_0x1e86d8[_0x4e79da(0xb3)]=_0x547a50['config'][_0x4e79da(0xbe)],_0x1e86d8[_0x4e79da(0xb8)]=_0x547a50['config']['accessKey'],_0x1e86d8;})()),_0x552c6e=_0x522d0a[_0xbd9673(0xd2)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0xbd9673(0x147)],_0x2a527e]);_0x2a3340[_0x15a12f]=_0x552c6e?helper[_0xbd9673(0x162)](_0x36ca37,_0x552c6e):_0x36ca37;if(_0x45b631)_0x2a3340[_0x15a12f][_0xbd9673(0xbf)]=pwToCodeceptBrowser[_0x5bf3e9[_0xbd9673(0x13f)]]||_0x5bf3e9[_0xbd9673(0x13f)];else{_0x2a3340[_0x15a12f]['browser']=_0x5bf3e9[_0xbd9673(0x13f)]||_0x36ca37['browser'];if(_0x522d0a[_0xbd9673(0xc5)](isBrowserstackInfra)){_0x2a3340[_0x15a12f][_0xbd9673(0x11f)]=constants[_0xbd9673(0x107)][_0xbd9673(0x134)](_0x522d0a[_0xbd9673(0x153)],'')['replace'](/https?:\/\//,'');;_0x2a3340[_0x15a12f]['path']=_0x522d0a['welsC'];}}_0x544c82[_0xbd9673(0x12f)](_0x15a12f);});}else{_0x124613=0x1;if(_0x45b631){const _0x41b60d=_0x522d0a['HFyHb'](nestedKeyValue,_0x3fae3a,[_0x522d0a['hLDJO'],_0x2a527e,_0x522d0a['kjZrZ']]),_0x3f3a8f=_0x522d0a['qHqgi'](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x2a527e,_0x41b60d]);if(_0x3f3a8f&&_0x3f3a8f[_0x3a9805(0x115)]){const _0x58cf94={};_0x58cf94[_0x3a9805(0xbd)]=[],_0x3f3a8f['browserWSEndpoint']=helper[_0x3a9805(0xe8)](Object['assign']({},_0x547a50[_0x3a9805(0xfc)],_0x58cf94),null,_0x48e733[_0x3a9805(0x141)](),null,null,_0x3f3a8f[_0x3a9805(0x115)]);}}else{if(_0x522d0a[_0x3a9805(0x111)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x2a527e])){const _0x2d46aa={};_0x2d46aa['platforms']=[],_0x3fae3a[_0x522d0a[_0x3a9805(0x147)]][_0x2a527e][_0x522d0a[_0x3a9805(0xbb)]]=helper[_0x3a9805(0xe8)](Object[_0x3a9805(0x105)]({},_0x547a50[_0x3a9805(0xfc)],_0x2d46aa),null,_0x48e733[_0x3a9805(0x141)](),_0x522d0a[_0x3a9805(0xf7)](nestedKeyValue,_0x3fae3a,[_0x522d0a['hLDJO'],_0x2a527e,_0x522d0a[_0x3a9805(0xbb)]])||{},null,null);}}_0x2a3340[_0x522d0a[_0x3a9805(0xb5)]]=_0x3fae3a,_0x544c82['push'](_0x522d0a[_0x3a9805(0xb5)]);}const _0x2e005d={};_0x2e005d[_0x3a9805(0xc7)]=_0x4562b0;const _0x48ec8a=_0x2e005d,_0x3c942b=path['join'](__dirname,_0x522d0a['SzZiT']),_0x251892=process[_0x3a9805(0x12a)]();process[_0x3a9805(0x160)][_0x522d0a[_0x3a9805(0xf9)]]=_0x251892;_0x4562b0&&process[_0x3a9805(0x14e)](path[_0x3a9805(0xf4)](_0x4562b0));process[_0x3a9805(0x160)][_0x3a9805(0x129)]=process[_0x3a9805(0x160)]['BROWSERSTACK_FRAMEWORK']||_0x522d0a['HFmuY'];const _0x94f5db=new CodeceptJS[(_0x3a9805(0x101))](null,_0x48ec8a);if(_0x522d0a[_0x3a9805(0xfb)](typeof _0x94f5db[_0x3a9805(0xde)],_0x522d0a['GYWnf']))await _0x94f5db['_ensureInitialized']();else{let _0x3689b3;try{_0x3689b3=_0x522d0a[_0x3a9805(0xf7)](requireModule,_0x522d0a[_0x3a9805(0x128)],_0x522d0a[_0x3a9805(0x11a)])[_0x3a9805(0x144)];}catch(_0x18e626){logger[_0x3a9805(0xf0)](_0x3a9805(0x154)+util[_0x3a9805(0x12e)](_0x18e626));}_0x3689b3&&_0x522d0a[_0x3a9805(0x13d)](_0x522d0a[_0x3a9805(0x123)](parseInt,_0x3689b3['split']('.')[0x0],0xa),0x4)&&logger[_0x3a9805(0xfe)](_0x3a9805(0xe4)+_0x3689b3+_0x3a9805(0xef));}const _0x13fa5f=_0x94f5db[_0x3a9805(0xcd)](_0x1553e2),_0x218d5d=testOpsHelper[_0x3a9805(0x119)](),_0x5ef66f=_0x544c82[_0x3a9805(0x14c)](_0x56a2b5=>{const _0x3221ee=_0x3a9805,_0xa4f6b1={};_0xa4f6b1['Playwright']=_0x2a3340[_0x56a2b5];const _0x2e2391={};_0x2e2391['WebDriver']=_0x2a3340[_0x56a2b5];const _0x20f3fc=_0x45b631?_0xa4f6b1:_0x2e2391,_0x7c921e=_0x522d0a[_0x3221ee(0x156)](getO11yRerunPattern),_0x529b56={};_0x529b56[_0x3221ee(0x100)]=_0x20f3fc;const _0x4c1876={};_0x4c1876['require']=_0x3c942b,_0x4c1876[_0x3221ee(0x161)]=!![],_0x4c1876[_0x3221ee(0x145)]=_0x547a50['config'][_0x3221ee(0x12b)]['skipSessionName'],_0x4c1876['skipSessionStatus']=_0x547a50[_0x3221ee(0xfc)][_0x3221ee(0x12b)]['skipSessionStatus'],_0x4c1876['testObservability']=_0x218d5d,_0x4c1876[_0x3221ee(0x148)]=_0x48e733;const _0x528b01={};_0x528b01[_0x3221ee(0x143)]=_0x4c1876;const _0x207cf2={};return _0x207cf2[_0x3221ee(0xc8)]=_0x528b01,helper[_0x3221ee(0x162)]({},_0x3fae3a,_0x522d0a['RlqnA'](isBrowserstackInfra)?_0x529b56:{},_0x7c921e?{'grep':_0x7c921e}:{},_0x207cf2);});for(const _0x2301a5 of _0x5ef66f){for(const _0x4bd279 of _0x13fa5f){const _0x20b986=_0x94f5db[_0x3a9805(0xf3)]();_0x20b986['addTests'](_0x4bd279),_0x20b986['addConfig'](_0x2301a5);const _0x613194={};_0x613194[_0x3a9805(0xfc)]=_0x4562b0,_0x20b986['addOptions'](Object[_0x3a9805(0x105)](_0x613194,_0xa1ad0e));}}_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0x112)][_0x3a9805(0x114)],(_0x393a53,_0x940c6a)=>{const _0x5de76a=_0x3a9805;console[_0x5de76a(0x13b)](_0x522d0a[_0x5de76a(0x136)],_0x393a53['title']);const _0x3bcd32={[_0x393a53[_0x5de76a(0x11e)]]:_0x393a53['err']['stack']};_testErrorData[_0x5de76a(0x12f)](_0x3bcd32);}),_0x94f5db['on'](CodeceptJS['event'][_0x3a9805(0x112)][_0x3a9805(0xe2)],async _0x59cf69=>{const _0x26f743=_0x3a9805;console[_0x26f743(0x13b)](_0x522d0a[_0x26f743(0xdf)],_0x59cf69[_0x26f743(0x11e)]);}),_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0x112)][_0x3a9805(0x157)],async _0x49fb96=>{const _0x42f1f3=_0x3a9805;console[_0x42f1f3(0x13b)](_0x522d0a['AcbBc'],_0x49fb96[_0x42f1f3(0x11e)]);}),_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0xdd)][_0x3a9805(0xe9)],async()=>{const _0x2ae326=_0x3a9805,_0x9f6e07=_0x522d0a[_0x2ae326(0x110)]['split']('|');let _0x8d1eb1=0x0;while(!![]){switch(_0x9f6e07[_0x8d1eb1++]){case'0':_0x547a50[_0x2ae326(0x150)]=_testErrorData;continue;case'1':PerformanceTester[_0x2ae326(0x15a)](PerformanceEvents[_0x2ae326(0xb9)]);continue;case'2':_0x94f5db[_0x2ae326(0xd0)]();continue;case'3':try{await TestHubHandler[_0x2ae326(0x140)]();}catch(_0x165752){logger[_0x2ae326(0xf0)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x165752));}continue;case'4':utilities[_0x2ae326(0xc6)](_0x547a50);continue;}break;}});async function _0xfd7273(){const _0x4833d4=_0x3a9805;try{await _0x94f5db['bootstrapAll'](),await _0x94f5db['run']();}finally{process[_0x4833d4(0x14e)](_0x251892),await _0x94f5db['teardownAll']();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),await _0x522d0a['JTqLd'](_0xfd7273);}module[a1_0x1bcea6(0xe3)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0xf82eca=a2_0x2d16;(function(_0x3ba9b4,_0x53249e){const _0x31158e=a2_0x2d16,_0x49b51a=_0x3ba9b4();while(!![]){try{const _0x3badc4=-parseInt(_0x31158e(0x153))/0x1+-parseInt(_0x31158e(0x174))/0x2+parseInt(_0x31158e(0x141))/0x3*(parseInt(_0x31158e(0x176))/0x4)+parseInt(_0x31158e(0x14f))/0x5*(parseInt(_0x31158e(0x163))/0x6)+parseInt(_0x31158e(0x168))/0x7+-parseInt(_0x31158e(0x16e))/0x8*(-parseInt(_0x31158e(0x154))/0x9)+parseInt(_0x31158e(0x17a))/0xa;if(_0x3badc4===_0x53249e)break;else _0x49b51a['push'](_0x49b51a['shift']());}catch(_0x21ef8d){_0x49b51a['push'](_0x49b51a['shift']());}}}(a2_0x4adb,0x3ae2b));function a2_0x2d16(_0x459153,_0x5e03fe){const _0x4adb91=a2_0x4adb();return a2_0x2d16=function(_0x2d165c,_0x343923){_0x2d165c=_0x2d165c-0x132;let _0x32a578=_0x4adb91[_0x2d165c];return _0x32a578;},a2_0x2d16(_0x459153,_0x5e03fe);}const {isUndefined,nestedKeyValue}=require(a2_0xf82eca(0x17d)),logger=require(a2_0xf82eca(0x16f))['winstonLogger'],PlaywrightSessionDetails=require(a2_0xf82eca(0x157)),{isAccessibilityAutomationSession}=require(a2_0xf82eca(0x152)),{getObservabilityLinkedProductName}=require(a2_0xf82eca(0x169)),accessibilityHelper=require(a2_0xf82eca(0x152)),{isBrowserstackInfra}=require(a2_0xf82eca(0x17d)),globals=require(a2_0xf82eca(0x182)),getOSVersionFromCaps=_0x383e72=>{const _0xf541f=a2_0xf82eca,_0x43f457={};_0x43f457[_0xf541f(0x134)]='bstack:options',_0x43f457[_0xf541f(0x13f)]='platformVersion',_0x43f457[_0xf541f(0x165)]=_0xf541f(0x159),_0x43f457[_0xf541f(0x185)]=_0xf541f(0x17c),_0x43f457[_0xf541f(0x16d)]=_0xf541f(0x183);const _0x333612=_0x43f457;if(!_0x383e72)return null;const _0xb91da2=_0x383e72[_0x333612['DxfZN']],_0xd5d199=[_0x333612[_0xf541f(0x13f)],_0x333612['XsJlC'],_0x333612[_0xf541f(0x185)],_0x333612['qOcvv']];for(const _0x32324b of _0xd5d199){if(_0xb91da2&&_0xb91da2[_0x32324b])return _0xb91da2[_0x32324b];else{if(_0x383e72[_0x32324b])return _0x383e72[_0x32324b];}}return null;};exports[a2_0xf82eca(0x147)]=_0x27e60f=>{const _0x2f0ff3=a2_0xf82eca,_0x20ad71={'PjYTT':_0x2f0ff3(0x138),'imCLg':function(_0x140875,_0x4e5d75){return _0x140875===_0x4e5d75;},'kJkMB':_0x2f0ff3(0x186),'SGvya':function(_0x4b76be,_0x18555b){return _0x4b76be(_0x18555b);},'wEfEH':function(_0x48eac5,_0x18eb8b,_0x3ad28b){return _0x48eac5(_0x18eb8b,_0x3ad28b);},'UUWby':_0x2f0ff3(0x158),'vAVhq':_0x2f0ff3(0x155),'bboDY':_0x2f0ff3(0x15c),'jrcjY':function(_0x473a57,_0xaac6dc,_0xc3bb32){return _0x473a57(_0xaac6dc,_0xc3bb32);},'FYOsy':_0x2f0ff3(0x145),'BysmF':_0x2f0ff3(0x136),'BCjxi':_0x2f0ff3(0x14b)};if(!_0x27e60f)return null;let _0x369949=global[_0x2f0ff3(0x170)]||_0x20ad71[_0x2f0ff3(0x188)];if(_0x20ad71['imCLg'](_0x27e60f[_0x2f0ff3(0x175)]['name'],_0x20ad71[_0x2f0ff3(0x171)])){const _0x20ab22=_0x27e60f[_0x2f0ff3(0x145)];if(!_0x20ab22)return null;const _0x33a7cf=_0x20ab22[_0x2f0ff3(0x178)],_0x5b5049=_0x20ad71[_0x2f0ff3(0x144)](getOSVersionFromCaps,_0x20ad71[_0x2f0ff3(0x135)](nestedKeyValue,_0x27e60f,[_0x20ad71[_0x2f0ff3(0x16a)],_0x20ad71[_0x2f0ff3(0x15e)]]));return{[_0x369949]:{'browser':_0x33a7cf[_0x2f0ff3(0x166)],'browser_version':_0x33a7cf[_0x2f0ff3(0x173)],'capabilities':_0x33a7cf,'platform':_0x33a7cf['platformName'],'platform_version':_0x33a7cf['platformVersion']||_0x5b5049,'product':_0x20ad71[_0x2f0ff3(0x144)](getObservabilityLinkedProductName,_0x33a7cf),'session_id':_0x20ab22[_0x2f0ff3(0x16c)]}};}else{if(_0x20ad71[_0x2f0ff3(0x150)](_0x27e60f[_0x2f0ff3(0x175)]['name'],_0x20ad71[_0x2f0ff3(0x164)])){const _0x4c5b63=PlaywrightSessionDetails['getDetails']();_0x369949=_0x4c5b63[_0x2f0ff3(0x151)]||_0x369949;const _0x1cd54b=_0x20ad71['jrcjY'](nestedKeyValue,_0x27e60f,[_0x20ad71[_0x2f0ff3(0x16a)],_0x20ad71[_0x2f0ff3(0x177)],_0x20ad71[_0x2f0ff3(0x133)]]),_0xd0178c=_0x1cd54b?JSON[_0x2f0ff3(0x13c)](new URL(_0x1cd54b)[_0x2f0ff3(0x148)][_0x2f0ff3(0x15b)](_0x20ad71[_0x2f0ff3(0x162)])):{};return{[_0x369949]:{'browser':_0x4c5b63[_0x2f0ff3(0x145)]||_0xd0178c[_0x2f0ff3(0x166)],'browser_version':_0x4c5b63['browser_version']||_0xd0178c[_0x2f0ff3(0x172)],'capabilities':_0xd0178c,'platform':_0x4c5b63[_0x2f0ff3(0x140)],'platform_version':_0x4c5b63[_0x2f0ff3(0x159)],'product':_0x20ad71[_0x2f0ff3(0x144)](getObservabilityLinkedProductName,_0xd0178c),'session_id':_0x4c5b63['bsSessionId']}};}}};const setAccessibilityPlatformFlag=_0x5e5b0e=>{const _0x360ce3=a2_0xf82eca,_0x358868={};_0x358868[_0x360ce3(0x17e)]=_0x360ce3(0x14c);const _0x1aa6e9=_0x358868;global[_0x360ce3(0x13a)]=_0x5e5b0e,globals[_0x360ce3(0x184)](_0x1aa6e9[_0x360ce3(0x17e)],_0x5e5b0e);};exports[a2_0xf82eca(0x160)]=_0x561745=>{const _0xcd195c=a2_0xf82eca,_0x5310f4={'PdUSX':function(_0x1a0ee7){return _0x1a0ee7();},'bUasw':function(_0x17c478,_0x305548){return _0x17c478(_0x305548);},'JtZhR':_0xcd195c(0x17f),'OzBkZ':function(_0x151173,_0xbfe3f8){return _0x151173!==_0xbfe3f8;},'ryhsY':'latest','JWiGn':function(_0x395a80){return _0x395a80();},'bOWXY':_0xcd195c(0x180),'TLmce':function(_0x2ba108,_0x51499b){return _0x2ba108(_0x51499b);},'EyuiU':function(_0x4cc4ca,_0x2978a0){return _0x4cc4ca(_0x2978a0);},'BHiIS':_0xcd195c(0x13e)};if(_0x5310f4[_0xcd195c(0x187)](isAccessibilityAutomationSession)){const _0x493808=_0x561745['browser'],_0x45262a=_0x493808['capabilities'];_0x5310f4['bUasw'](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0xcd195c(0x179)](_0x45262a[_0xcd195c(0x166)])&&(logger['warn'](_0x5310f4[_0xcd195c(0x161)]),_0x5310f4[_0xcd195c(0x142)](setAccessibilityPlatformFlag,![]));if(_0x5310f4[_0xcd195c(0x143)](_0x45262a['browserVersion'],_0x5310f4['ryhsY'])){const _0x2229b9=_0x5310f4[_0xcd195c(0x14d)](isBrowserstackInfra),_0x8893f7=accessibilityHelper[_0xcd195c(0x137)](_0x45262a[_0xcd195c(0x166)],_0x2229b9),_0x5c2203=accessibilityHelper[_0xcd195c(0x146)](_0x45262a['browserName']);if(!accessibilityHelper['isVersionSupported'](_0x45262a['browserVersion'],_0x8893f7)){const _0x16e3a4=_0x2229b9?'':_0x5310f4[_0xcd195c(0x149)];logger[_0xcd195c(0x181)](_0xcd195c(0x13b)+_0x5c2203+_0xcd195c(0x16b)+_0x8893f7+_0xcd195c(0x13d)+_0x16e3a4+'.'),_0x5310f4[_0xcd195c(0x17b)](setAccessibilityPlatformFlag,![]);}}!_0x5310f4[_0xcd195c(0x15a)](isUndefined,_0x45262a[_0xcd195c(0x14e)])&&(logger[_0xcd195c(0x181)](_0x5310f4[_0xcd195c(0x139)]),_0x5310f4[_0xcd195c(0x142)](setAccessibilityPlatformFlag,![]));}},exports[a2_0xf82eca(0x14a)]=_0x3d9ad6=>{const _0x52b6a1=a2_0xf82eca,_0x5391ca={};_0x5391ca['yAFkF']=function(_0x5a68fb,_0x29f8e2){return _0x5a68fb!==_0x29f8e2;},_0x5391ca[_0x52b6a1(0x15d)]='string',_0x5391ca[_0x52b6a1(0x156)]=_0x52b6a1(0x15f),_0x5391ca['DIatJ']='browserstack_accessibility_automation_script';const _0x5df30d=_0x5391ca;if(!_0x3d9ad6)return![];else{if(_0x5df30d[_0x52b6a1(0x167)](typeof _0x3d9ad6,_0x5df30d[_0x52b6a1(0x15d)]))return!![];}return!_0x3d9ad6[_0x52b6a1(0x132)](_0x5df30d[_0x52b6a1(0x156)])&&!_0x3d9ad6['includes'](_0x5df30d['DIatJ']);};function a2_0x4adb(){const _0x1a103e=['zjMOb','platform','374091rbRmdr','bUasw','OzBkZ','SGvya','browser','getBrowserDisplayName','fetchPlatformDetails','searchParams','bOWXY','shouldPatchExecuteScript','caps','isAccessibilityPlatform','JWiGn','deviceName','15FtAaKB','imCLg','cloudProvider','../../helpers/accessibility-automation/helper','126805qRhFSW','41598dPrLwS','desiredCapabilities','Qtwhl','../../bin/playwright/sessionDetails','config','platform_version','EyuiU','get','Playwright','oMRfn','vAVhq','browserstack_executor','processWebDriverConfig','JtZhR','BCjxi','693060EBkkbT','bboDY','XsJlC','browserName','yAFkF','861343PXmRIB','../../helpers/test-observability/utils','UUWby','\x20browser\x20version\x20','sessionId','qOcvv','32ssFnHm','../../helpers/logger','__cloud_provider___','kJkMB','browser_version','browserVersion','867960fiMloh','constructor','4hIYUKQ','FYOsy','capabilities','isBrowserSupportedForAccessibility','1892160NpYmaU','TLmce','osVersion','../../helpers/helper','IleKx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','on\x20non-BrowserStack\x20infrastructure\x20','warn','../../helpers/globals.js','os_version','setGlobal','flGLJ','WebDriver','PdUSX','PjYTT','includes','BysmF','DxfZN','wEfEH','browserWSEndpoint','getMinVersionForBrowser','unknown_grid','BHiIS','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','parse','\x20or\x20higher\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a2_0x4adb=function(){return _0x1a103e;};return a2_0x4adb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x5b6721=a3_0x5c87;(function(_0x5981ed,_0x8fdafb){const _0x4b31ae=a3_0x5c87,_0x1cfd96=_0x5981ed();while(!![]){try{const _0x2d8573=parseInt(_0x4b31ae(0x24f))/0x1*(parseInt(_0x4b31ae(0x1e5))/0x2)+parseInt(_0x4b31ae(0x260))/0x3*(-parseInt(_0x4b31ae(0x204))/0x4)+-parseInt(_0x4b31ae(0x21d))/0x5*(-parseInt(_0x4b31ae(0x1bd))/0x6)+parseInt(_0x4b31ae(0x174))/0x7+-parseInt(_0x4b31ae(0x210))/0x8+-parseInt(_0x4b31ae(0x1c5))/0x9+parseInt(_0x4b31ae(0x224))/0xa;if(_0x2d8573===_0x8fdafb)break;else _0x1cfd96['push'](_0x1cfd96['shift']());}catch(_0x53bdd0){_0x1cfd96['push'](_0x1cfd96['shift']());}}}(a3_0x3dac,0xa4af2));const path=require(a3_0x5b6721(0x23b)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a3_0x5b6721(0x215)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x5b6721(0x24d)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a3_0x5b6721(0x1ba)),logger=require(a3_0x5b6721(0x17a))[a3_0x5b6721(0x20c)],SessionHandler=require(a3_0x5b6721(0x181)),RequestQueueHandler=require(a3_0x5b6721(0x234)),PlaywrightSessionDetails=require(a3_0x5b6721(0x1da)),debug=testOpsHelper[a3_0x5b6721(0x1c8)],{processAccessibilityCaps}=require(a3_0x5b6721(0x1e0)),Constants=require(a3_0x5b6721(0x177)),{fetchPlatformDetails}=require(a3_0x5b6721(0x24b)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x5b6721(0x20e)),constants=require(a3_0x5b6721(0x177)),STATE_PASSED='passed',STATE_FAILED='failed',a3_0x29b3a5={};a3_0x29b3a5['TEST_RUN_STARTED']=a3_0x5b6721(0x254),a3_0x29b3a5['TEST_RUN_FINISHED']='TestRunFinished',a3_0x29b3a5[a3_0x5b6721(0x1d9)]='TestRunSkipped',a3_0x29b3a5[a3_0x5b6721(0x267)]=a3_0x5b6721(0x20a),a3_0x29b3a5[a3_0x5b6721(0x21f)]=a3_0x5b6721(0x1c0);const TEST_EVENTS=a3_0x29b3a5,parseEvent=_0x32c25b=>{const _0x351fb4=a3_0x5b6721,_0x12292f={};_0x12292f[_0x351fb4(0x194)]=function(_0xf1e0c1,_0x11e1c3){return _0xf1e0c1<_0x11e1c3;},_0x12292f['guTit']=function(_0x22d34b,_0x5ad99a){return _0x22d34b===_0x5ad99a;},_0x12292f[_0x351fb4(0x1ec)]=_0x351fb4(0x21b),_0x12292f[_0x351fb4(0x21c)]=function(_0x5bba7f,_0x4c8f1c){return _0x5bba7f===_0x4c8f1c;},_0x12292f['WXoSH']=_0x351fb4(0x255),_0x12292f[_0x351fb4(0x23c)]=function(_0x12634e,_0x239a44){return _0x12634e===_0x239a44;},_0x12292f[_0x351fb4(0x1c7)]=_0x351fb4(0x230),_0x12292f[_0x351fb4(0x184)]=function(_0x3966cb,_0x25366e){return _0x3966cb===_0x25366e;},_0x12292f[_0x351fb4(0x1b3)]=_0x351fb4(0x1b5),_0x12292f['HeIIf']=function(_0x8811e2,_0x2509f5){return _0x8811e2===_0x2509f5;},_0x12292f['QvNPw']=_0x351fb4(0x193);const _0x1dd9e7=_0x12292f,_0x31acc6=_0x32c25b['match'](/^(.*)Run(.*)$/);if(!_0x31acc6)return null;if(_0x1dd9e7[_0x351fb4(0x194)](_0x31acc6[_0x351fb4(0x1a2)],0x3))return null;const _0x54924b=_0x31acc6[0x1][_0x351fb4(0x217)](),_0x4ca50f=_0x31acc6[0x2][_0x351fb4(0x217)]();return{'test':_0x1dd9e7[_0x351fb4(0x1f4)](_0x54924b,_0x1dd9e7[_0x351fb4(0x1ec)]),'hook':_0x1dd9e7[_0x351fb4(0x21c)](_0x54924b,_0x1dd9e7[_0x351fb4(0x196)]),'skipped':_0x1dd9e7[_0x351fb4(0x23c)](_0x4ca50f,_0x1dd9e7[_0x351fb4(0x1c7)]),'started':_0x1dd9e7[_0x351fb4(0x184)](_0x4ca50f,_0x1dd9e7[_0x351fb4(0x1b3)]),'finished':_0x1dd9e7[_0x351fb4(0x21e)](_0x4ca50f,_0x1dd9e7[_0x351fb4(0x213)])};},mockPWBrowserType=_0x4157f5=>{const _0x103dd9=a3_0x5b6721,_0x30c551={'OaELX':function(_0x51f378,_0x3cd1ab,_0x40b2b9){return _0x51f378(_0x3cd1ab,_0x40b2b9);},'BSeKz':_0x103dd9(0x206),'JSjvF':function(_0x1fa65c,_0x31ea37){return _0x1fa65c(_0x31ea37);},'QaTOD':_0x103dd9(0x1e8),'spXRE':function(_0x543e64,_0x5d7288,_0x43ded9){return _0x543e64(_0x5d7288,_0x43ded9);},'azWZI':function(_0x59e9ff,_0x5ae825){return _0x59e9ff(_0x5ae825);},'IlBQa':function(_0x32e4ed,_0x34b39a){return _0x32e4ed===_0x34b39a;},'IiCpD':_0x103dd9(0x1ea),'HeDVe':function(_0x1fc9a9){return _0x1fc9a9();},'whwTr':function(_0x26a0ae,_0x39a6ef){return _0x26a0ae(_0x39a6ef);},'vYdZM':_0x103dd9(0x19b),'RbkvO':'connect','GKoEo':_0x103dd9(0x232)},_0x57fdb0=_0x30c551['HeDVe'](resolveBrowserTypeClass);if(!_0x57fdb0){_0x30c551[_0x103dd9(0x20b)](debug,_0x30c551['vYdZM']);return;}const _0xae91eb=_0x57fdb0[_0x103dd9(0x1cf)];if(_0xae91eb[_0x103dd9(0x212)])return;const _0x3ab051=_0xae91eb['connect'];Object[_0x103dd9(0x17f)](_0xae91eb,_0x30c551['RbkvO'],{'get':function(){const _0x124662={'mQFHa':function(_0x1081b9,_0x2b8138){const _0x51d934=a3_0x5c87;return _0x30c551[_0x51d934(0x24c)](_0x1081b9,_0x2b8138);},'rtsGs':_0x30c551['IiCpD']};return async function _0x3aeac8(_0x4f2e97,_0x2620fd){const _0xb9110b=a3_0x5c87,_0x2f0556=_0x30c551[_0xb9110b(0x1fd)](nestedKeyValue,_0x4f2e97,[_0x30c551['BSeKz']])||_0x4f2e97;let _0x4d1cd1=null,_0x4d48b3=null;try{[_0x4d48b3,_0x4d1cd1]=_0x2f0556?_0x30c551['JSjvF'](parseWSEndpoint,_0x2f0556):[null,null],global[_0xb9110b(0x246)]=_0x4d1cd1,logger[_0xb9110b(0x1c8)](_0xb9110b(0x1cc)+_0x4d48b3),_0x4d48b3[_0xb9110b(0x1b1)](Constants[_0xb9110b(0x1f1)])&&(global[_0xb9110b(0x1b4)]=_0x30c551[_0xb9110b(0x19c)]);}catch(_0x4f21de){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x2f0556+'\x20'+_0x4f21de);}_0x30c551[_0xb9110b(0x1f3)](processAccessibilityCaps,_0x4d1cd1,_0x4d48b3);if(global['accessibilityPlatform']){const _0xc26fd0=await _0xae91eb[_0xb9110b(0x1a9)][_0xb9110b(0x19e)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x30c551[_0xb9110b(0x190)](encodeURIComponent,JSON[_0xb9110b(0x1bf)](_0x4d1cd1))]);return PlaywrightSessionDetails[_0xb9110b(0x202)](_0xc26fd0,_0x4157f5,_0x2f0556),_0xc26fd0;}return _0x3ab051[_0xb9110b(0x19e)](this,arguments)[_0xb9110b(0x1fb)](_0x2e42b2=>{const _0x15e155=_0xb9110b;let _0x26e897=_0x4f2e97['wsEndpoint'];return _0x124662['mQFHa'](typeof _0x4f2e97,_0x124662[_0x15e155(0x1bb)])&&(_0x26e897=_0x4f2e97),PlaywrightSessionDetails[_0x15e155(0x202)](_0x2e42b2,_0x4157f5,_0x26e897),_0x2e42b2;});};}});const _0x4e46ed=_0xae91eb[_0x103dd9(0x232)];Object[_0x103dd9(0x17f)](_0xae91eb,_0x30c551[_0x103dd9(0x1a0)],{'get':function(){return async function _0x3822a3(){const _0x52a35d=a3_0x5c87;return _0x4e46ed[_0x52a35d(0x19e)](this,arguments)[_0x52a35d(0x1fb)](_0x3ba721=>{const _0x132ffc=_0x52a35d;return PlaywrightSessionDetails[_0x132ffc(0x202)](_0x3ba721,null),_0x3ba721;});};}});};function a3_0x5c87(_0x4432d9,_0x4a1b68){const _0x3dac57=a3_0x3dac();return a3_0x5c87=function(_0x5c871b,_0x1cda93){_0x5c871b=_0x5c871b-0x171;let _0x4add2e=_0x3dac57[_0x5c871b];return _0x4add2e;},a3_0x5c87(_0x4432d9,_0x4a1b68);}function a3_0x3dac(){const _0x1db61f=['HookRunFinished','duration','fullTitle','\x20with\x20error\x20:\x20','getHooksForTest','10157427ojulAP','XCadk','rzuUc','debug','UikgP','keyword','uFbJi','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','errorsDetailed','bs:addLog:','prototype','currentHook','hmDEs','AiZpa','_afterAll','WUGWN','now','file_name','event_type','pendingHookEvents','TEST_RUN_SKIPPED','../playwright/sessionDetails','juBvV','pid','getHookType','SWYAh','IlLia','../playwright/accessibility-helper','failure_reason_expanded','tpeqk','statSync','body','4936JzJDDk','USBIE','flushPendingHookEvents','browserstack','resetSkipTestHooks','string','PathHelper','WrFzp','err','patchConsoleLogger','BhLUg','expanded','BROWSERSTACK','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','spXRE','guTit','OtKtd','startedAt','captureEvent','LogCreated','getTime','session_id','then','status','OaELX','_afterEach','RjdUF','failed\x20to\x20get\x20root\x20parent\x20file\x20','xoNPO','setupBrowserDetails','toString','1756dXSCEn','forEach','wsEndpoint','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getRootParentFile','keys','HookRunStarted','whwTr','winstonLogger','bind','../../helpers/testhub/utils.js','codeceptjs','71312iUETlw','_beforeEach','obsBrowserTypeMockApplied','QvNPw','IzyZi','uuid','bddStepStart','toLowerCase','getHierarchy','name','findGitConfig','test','XNqXZ','1115oCTelA','HeIIf','HOOK_RUN_FINISHED','yQqLx','splice','PDKqz','constructor','10288480bgATcC','PUtHa','UqxNc','push','HfsKJ','FhHHX','PzEsd','lmXAe','4|0|1|3|5|2','ctx','TEST_EVENTS','OSqtZ','skipped','prefixTestPath','launch','TEST_REPORTING_ANALYTICS','../../helpers/test-observability/requestQueueHandler','driver','test_run','stepAnalyticsId','location_prefix','CfoDy','_testEnv','path','OrWgx','title','PqmeN','CODECEPT','yujjX','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','dirname','YXnlY','STATE_FAILED','__platformCaps','initializeBddStep','AQifP','qbEpi','currentTest','./helper.js','IlBQa','../../helpers/helper','cwAur','249QsHzFT','GHDCJ','pending','hook_run','feature','TestRunStarted','hook','mxvWF','failed','_paths','wBUwG','bufferPendingHookEvent','uploadEventData','passed','match','_beforeAll','JCvTD','1227pZWhCD','enabled','hookAnalyticsId','split','result','thIeX','appendTestItemLog','HOOK_RUN_STARTED','testAnalyticsId','hasLiveDriverSession','owCcF','hZJWV','retryOf','uploadData','cfgDA','IIDTi','1160740FlDyik','tdAmj','hook_run_uuid','../utils/constants','replace','HbHXl','../../helpers/logger','find','NxOvT','STATE_PASSED','rRINl','defineProperty','duWFx','../../helpers/test-observability/sessionHandler','groups','test_run_uuid','NgrVw','logs','ImmII','message','ESkCG','bddStepFinish','hook_type','toISOString','parent','TEST_RUN_FINISHED','bddSteps','markedStatus','azWZI','eventType','toUpperCase','finished','kiXok','CBTSessionCreated','WXoSH','O11yHelper','text','sep','stop','Not\x20able\x20to\x20import\x20Browser','QaTOD','.git','apply','hooks','GKoEo','SHSZz','length','format','suites','start','WUjLK','relative','frameworkName','connectOverCDP','failure','DKYdc','type','ePSAD','finished_at','getCBTInfo','vuoXV','includes','file','MsHKP','__cloud_provider___','started','integrations','meta','swxYj','failure_backtrace','../../helpers/test-observability/constants','rtsGs','mapTestHooks','4908pHmOCv','NXIkx','stringify'];a3_0x3dac=function(){return _0x1db61f;};return a3_0x3dac();}class O11yHelper{[a3_0x5b6721(0x24a)]=null;['currentHook']=null;['enabled']=![];[a3_0x5b6721(0x1a8)]=![];['pendingHookEvents']=[];constructor(_0x540cde,_0x1771be){const _0x11fb95=a3_0x5b6721,_0x27f0ad={'uFbJi':_0x11fb95(0x22c),'FhHHX':function(_0x155d31,_0x8b4b08){return _0x155d31===_0x8b4b08;},'SWYAh':'Playwright','DKYdc':function(_0x17d943,_0x5a57){return _0x17d943(_0x5a57);},'rRINl':function(_0x2966f1){return _0x2966f1();},'SHSZz':function(_0x4d64e4){return _0x4d64e4();}},_0x323c0c=_0x27f0ad[_0x11fb95(0x1cb)][_0x11fb95(0x263)]('|');let _0x201a43=0x0;while(!![]){switch(_0x323c0c[_0x201a43++]){case'0':this[_0x11fb95(0x1a8)]=_0x1771be[_0x11fb95(0x1a8)];continue;case'1':this[_0x11fb95(0x235)]=_0x540cde;continue;case'2':this['driver']&&_0x27f0ad[_0x11fb95(0x229)](this[_0x11fb95(0x235)][_0x11fb95(0x223)][_0x11fb95(0x219)],_0x27f0ad[_0x11fb95(0x1de)])&&_0x27f0ad[_0x11fb95(0x1ab)](mockPWBrowserType,null);continue;case'3':this[_0x11fb95(0x23a)]=_0x27f0ad[_0x11fb95(0x17e)](getTestEnv);continue;case'4':this[_0x11fb95(0x261)]=_0x27f0ad[_0x11fb95(0x1a1)](shouldProcessEventForTesthub);continue;case'5':this[_0x11fb95(0x258)]=new testOpsHelper[(_0x11fb95(0x1eb))]({'cwd':process['cwd']()},this[_0x11fb95(0x23a)][_0x11fb95(0x238)]);continue;}break;}}[a3_0x5b6721(0x269)](){const _0xc20487=a3_0x5b6721,_0x123f79={'ESkCG':function(_0x551445,_0xe86882){return _0x551445(_0xe86882);}};if(!this[_0xc20487(0x235)])return![];try{const _0x39511f=_0x123f79[_0xc20487(0x188)](fetchPlatformDetails,this[_0xc20487(0x235)]);if(!_0x39511f)return![];const _0xb9fb7e=Object[_0xc20487(0x209)](_0x39511f)[0x0];return!!(_0xb9fb7e&&_0x39511f[_0xb9fb7e]&&_0x39511f[_0xb9fb7e][_0xc20487(0x1fa)]);}catch(_0x4d6e3f){return![];}}[a3_0x5b6721(0x25a)](_0x17023a,_0x49848c){const _0x599919=a3_0x5b6721;if(!_0x49848c)return;const _0x378678={};_0x378678[_0x599919(0x191)]=_0x17023a,_0x378678[_0x599919(0x171)]=_0x49848c,this['pendingHookEvents']['push'](_0x378678);}async[a3_0x5b6721(0x1e7)](){const _0x1622cc=a3_0x5b6721,_0x54b59b={};_0x54b59b['fEQXm']=function(_0x517b9c,_0x3f01ef){return _0x517b9c&&_0x3f01ef;};const _0x1d0d76=_0x54b59b;if(!this[_0x1622cc(0x1d8)][_0x1622cc(0x1a2)])return;if(!this[_0x1622cc(0x269)]())return;const _0x2e4ba4=this[_0x1622cc(0x1af)](this[_0x1622cc(0x235)]),_0x26fc47=this['pendingHookEvents'][_0x1622cc(0x221)](0x0,this[_0x1622cc(0x1d8)]['length']);for(const {eventType:_0x2e0403,uploadData:_0x5e4493}of _0x26fc47){try{const _0x2754f0=_0x5e4493[_0x1622cc(0x252)]||_0x5e4493[_0x1622cc(0x236)];_0x1d0d76['fEQXm'](_0x2754f0,_0x2e4ba4)&&(_0x2754f0[_0x1622cc(0x1b6)]=_0x2e4ba4),await this['fireEvent'](_0x2e0403,_0x5e4493);}catch(_0x3efc20){logger[_0x1622cc(0x1c8)](_0x1622cc(0x241)+_0x2e0403+':\x20'+util[_0x1622cc(0x1a3)](_0x3efc20));}}}[a3_0x5b6721(0x1a5)](){const _0x150b76=a3_0x5b6721;if(!this[_0x150b76(0x261)])return;testOpsHelper[_0x150b76(0x1ee)](),process['removeAllListeners'](_0x150b76(0x1ce)+process[_0x150b76(0x1dc)]),process['on']('bs:addLog:'+process[_0x150b76(0x1dc)],this[_0x150b76(0x266)][_0x150b76(0x20d)](this));}async[a3_0x5b6721(0x19a)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a3_0x5b6721(0x266)](_0x5dbd65){const _0x380291=a3_0x5b6721,_0x52487e={'GHDCJ':_0x380291(0x1f8),'HQxnr':function(_0x3e14c3,_0x456292){return _0x3e14c3(_0x456292);}};try{this[_0x380291(0x1d0)]&&!this[_0x380291(0x1d0)][_0x380291(0x18f)]&&(_0x5dbd65[_0x380291(0x176)]=this[_0x380291(0x1d0)][_0x380291(0x262)]);!_0x5dbd65[_0x380291(0x176)]&&this[_0x380291(0x24a)]&&!this[_0x380291(0x24a)][_0x380291(0x18f)]&&(_0x5dbd65[_0x380291(0x183)]=this['currentTest']['testAnalyticsId']);if(_0x5dbd65[_0x380291(0x176)]||_0x5dbd65[_0x380291(0x183)]){const _0x2440b2={};_0x2440b2[_0x380291(0x1d7)]=_0x52487e[_0x380291(0x250)],_0x2440b2[_0x380291(0x185)]=[_0x5dbd65],await SessionHandler[_0x380291(0x25b)](_0x2440b2);}}catch(_0x2ebd3c){_0x52487e['HQxnr'](debug,_0x380291(0x242)+constants['TEST_REPORTING_ANALYTICS']+_0x380291(0x1c3)+_0x2ebd3c);}}async['sendCBTInfo'](_0x238ce3){const _0x54819d=a3_0x5b6721,_0x1254fd={'tpeqk':_0x54819d(0x195),'AQifP':function(_0x35e188,_0x53d924){return _0x35e188(_0x53d924);}};if(!this[_0x54819d(0x261)])return;const _0x33a939=this['getCBTInfo'](this['driver']);try{const _0xf2fb3b={};_0xf2fb3b[_0x54819d(0x215)]=_0x238ce3,_0xf2fb3b['integrations']=_0x33a939;const _0x54a666=_0xf2fb3b,_0x2173fa={};_0x2173fa[_0x54819d(0x1d7)]=_0x1254fd[_0x54819d(0x1e2)],_0x2173fa[_0x54819d(0x236)]=_0x54a666,await SessionHandler[_0x54819d(0x25b)](_0x2173fa);}catch(_0x16ab23){_0x1254fd[_0x54819d(0x248)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x54819d(0x233)]+_0x54819d(0x1c3)+_0x16ab23);}}['getCBTInfo'](_0x4457d6){const _0x23d4f3=a3_0x5b6721,_0x405850={'tdAmj':function(_0x4edb51,_0x584399){return _0x4edb51(_0x584399);}};return _0x405850[_0x23d4f3(0x175)](fetchPlatformDetails,_0x4457d6);}[a3_0x5b6721(0x1e9)]=_0x8e11a4=>{const _0xaa3311=a3_0x5b6721,_0x41da2c={};_0x41da2c['hmDEs']='_beforeEach',_0x41da2c[_0xaa3311(0x220)]=_0xaa3311(0x1fe);const _0x5839ba=_0x41da2c;if(!_0x8e11a4||!_0x8e11a4[_0xaa3311(0x18c)])return;[_0x5839ba[_0xaa3311(0x1d1)],_0x5839ba[_0xaa3311(0x220)]]['forEach'](_0x3a9fa7=>{const _0x455f6f=_0xaa3311,_0x529c61=_0x8e11a4[_0x455f6f(0x18c)][_0x3a9fa7];_0x529c61[_0x455f6f(0x205)](_0x3750ef=>{const _0x19034b=_0x455f6f;_0x3750ef[_0x19034b(0x262)]&&(_0x3750ef[_0x19034b(0x262)]=null);});});};[a3_0x5b6721(0x1bc)](_0x3364a5){const _0x34914f=a3_0x5b6721,_0x4af486={'RZfeH':_0x34914f(0x20f),'DUBmN':function(_0x505a6d){return _0x505a6d();},'kczdy':function(_0x17157c,_0x116e34){return _0x17157c===_0x116e34;},'cwAur':'_afterEach','PUtHa':_0x34914f(0x25e),'XHjka':_0x34914f(0x1d3),'WUGWN':'_beforeEach'};if(!_0x3364a5||!_0x3364a5[_0x34914f(0x18c)])return;[_0x4af486[_0x34914f(0x225)],_0x4af486['XHjka'],_0x4af486[_0x34914f(0x1d4)],_0x4af486['cwAur']][_0x34914f(0x205)](_0x5dac58=>{const _0x3617bb=_0x34914f,_0x56fe82={'KsUAn':_0x4af486['RZfeH'],'OSqtZ':function(_0x14958b){return _0x4af486['DUBmN'](_0x14958b);},'mxvWF':function(_0x1c3b32,_0x105eb3){return _0x4af486['kczdy'](_0x1c3b32,_0x105eb3);},'HbHXl':_0x4af486[_0x3617bb(0x24e)]},_0x54c5b8=_0x3364a5[_0x3617bb(0x18c)][_0x5dac58]||[];_0x54c5b8[_0x3617bb(0x205)](_0x455de2=>{const _0x21e504=_0x3617bb;if(_0x455de2[_0x21e504(0x23d)][_0x21e504(0x1b1)](_0x56fe82['KsUAn']))return;if(!_0x455de2[_0x21e504(0x262)])_0x455de2['hookAnalyticsId']=_0x56fe82[_0x21e504(0x22f)](uuidv4);else _0x455de2['markedStatus']&&_0x56fe82[_0x21e504(0x256)](_0x5dac58,_0x56fe82[_0x21e504(0x179)])&&(_0x455de2[_0x21e504(0x262)]=_0x56fe82['OSqtZ'](uuidv4),delete _0x455de2['markedStatus']);});}),this['mapTestHooks'](_0x3364a5[_0x34914f(0x18c)]);}[a3_0x5b6721(0x1c4)](_0x5f325a){const _0x99a27a=a3_0x5b6721,_0x5cf7bf={};_0x5cf7bf[_0x99a27a(0x1c6)]=_0x99a27a(0x25e),_0x5cf7bf[_0x99a27a(0x1f5)]=_0x99a27a(0x1d3),_0x5cf7bf[_0x99a27a(0x222)]=_0x99a27a(0x211),_0x5cf7bf['qbEpi']=_0x99a27a(0x1fe);const _0x4dcfa5=_0x5cf7bf;if(!_0x5f325a||!_0x5f325a[_0x99a27a(0x18c)])return[];const _0x143548=[];return[_0x4dcfa5['XCadk'],_0x4dcfa5[_0x99a27a(0x1f5)],_0x4dcfa5[_0x99a27a(0x222)],_0x4dcfa5[_0x99a27a(0x249)]][_0x99a27a(0x205)](_0x48def1=>{const _0x1295d8=_0x99a27a,_0xd70533=_0x5f325a[_0x1295d8(0x18c)][_0x48def1]||[];_0xd70533[_0x1295d8(0x205)](_0x57be42=>{const _0x55e30d=_0x1295d8;_0x57be42[_0x55e30d(0x262)]&&_0x143548[_0x55e30d(0x227)](_0x57be42[_0x55e30d(0x262)]);});}),[]['concat'](_0x143548,this[_0x99a27a(0x1c4)](_0x5f325a[_0x99a27a(0x18c)]));}['getHookType'](_0xf5e874){const _0x3e0dcd=a3_0x5b6721,_0x116921=/^"(?<hook>.*)" hook:.*$/,_0x47b268=_0xf5e874['title'],_0x56847e=_0x47b268[_0x3e0dcd(0x25d)](_0x116921);if(_0x56847e&&_0x56847e[_0x3e0dcd(0x182)])return _0x56847e[_0x3e0dcd(0x182)][_0x3e0dcd(0x255)][_0x3e0dcd(0x192)]()[_0x3e0dcd(0x178)]('\x20','_');return null;}[a3_0x5b6721(0x21a)](_0xaa4f5f){const _0x5e3650=a3_0x5b6721,_0x46a9ac={};_0x46a9ac[_0x5e3650(0x1b0)]=function(_0x4c102e,_0x2f054d){return _0x4c102e===_0x2f054d;},_0x46a9ac[_0x5e3650(0x1db)]=function(_0xc54dbb,_0x2f852f){return _0xc54dbb===_0x2f852f;},_0x46a9ac[_0x5e3650(0x22b)]=_0x5e3650(0x19d);const _0x15e1b4=_0x46a9ac,_0xdf0b90=path[_0x5e3650(0x199)];if(_0x15e1b4[_0x5e3650(0x1b0)](_0xaa4f5f,null)||_0x15e1b4[_0x5e3650(0x1db)](_0xaa4f5f,'')||_0x15e1b4[_0x5e3650(0x1db)](_0xaa4f5f,_0xdf0b90)||_0x15e1b4[_0x5e3650(0x1b0)](_0xaa4f5f,path[_0x5e3650(0x243)](_0xaa4f5f)))return null;try{return fs[_0x5e3650(0x1e3)](path['join'](_0xaa4f5f,_0x15e1b4[_0x5e3650(0x22b)])),_0xaa4f5f;}catch(_0x1a3637){const _0x5dc27d=path[_0x5e3650(0x243)](_0xaa4f5f);return this['findGitConfig'](_0x5dc27d);}}[a3_0x5b6721(0x208)](_0x2442cb){const _0x6795a=a3_0x5b6721,_0x292427={};_0x292427[_0x6795a(0x1ad)]=function(_0x3a64cb,_0x477d66){return _0x3a64cb>_0x477d66;};const _0x5e858d=_0x292427;if(_0x2442cb[_0x6795a(0x1b2)])return _0x2442cb[_0x6795a(0x1b2)];if(_0x2442cb[_0x6795a(0x22d)]){const _0x386a4e=_0x2442cb['ctx'][_0x6795a(0x24a)]?this[_0x6795a(0x208)](_0x2442cb['ctx'][_0x6795a(0x24a)]):null;if(_0x386a4e)return _0x386a4e;}if(_0x2442cb[_0x6795a(0x18c)]){const _0x174611=this[_0x6795a(0x208)](_0x2442cb[_0x6795a(0x18c)])||(_0x2442cb[_0x6795a(0x18c)][_0x6795a(0x22d)]&&_0x2442cb['parent'][_0x6795a(0x22d)]['currentTest']?this['getRootParentFile'](_0x2442cb[_0x6795a(0x18c)]['ctx'][_0x6795a(0x24a)]):null);if(_0x174611)return _0x174611;_0x2442cb[_0x6795a(0x18c)][_0x6795a(0x1a4)]&&_0x5e858d[_0x6795a(0x1ad)](_0x2442cb[_0x6795a(0x18c)][_0x6795a(0x1a4)][_0x6795a(0x1a2)],0x0)&&_0x2442cb[_0x6795a(0x18c)]['suites'][_0x6795a(0x205)](_0x2ec5e6=>{const _0x2022e9=_0x6795a,_0x5dad7e=_0x2ec5e6['ctx']?this[_0x2022e9(0x208)](_0x2ec5e6[_0x2022e9(0x22d)]):null;if(_0x5dad7e)return _0x5dad7e;});}return null;}[a3_0x5b6721(0x218)](_0x5e56c8){const _0x519149=a3_0x5b6721,_0x218f2b={};_0x218f2b[_0x519149(0x173)]=function(_0x12c637,_0x3ee0fd){return _0x12c637!==_0x3ee0fd;};const _0x31286c=_0x218f2b,_0x3985de=[];if(_0x5e56c8&&_0x5e56c8['parent']){let _0x45d5e4=_0x5e56c8['parent'];while(_0x45d5e4&&_0x31286c[_0x519149(0x173)](_0x45d5e4['title'],'')){_0x3985de[_0x519149(0x227)](_0x45d5e4[_0x519149(0x23d)]),_0x45d5e4=_0x45d5e4[_0x519149(0x18c)];}}return _0x3985de;}[a3_0x5b6721(0x1f7)](_0x2f77d4,_0x5928cd,_0x2e6b6b=undefined){const _0x1e727c=a3_0x5b6721,_0x306029={'YXnlY':function(_0x4c42ea,_0x7854dc){return _0x4c42ea(_0x7854dc);},'IlLia':function(_0xfef533){return _0xfef533();},'PzEsd':function(_0x366556){return _0x366556();},'UikgP':function(_0x35f25a){return _0x35f25a();},'yujjX':_0x1e727c(0x1ed),'hZJWV':function(_0x2a8e53,_0x1511d5){return _0x2a8e53!==_0x1511d5;},'NxOvT':'File\x20path\x20could\x20not\x20be\x20found','ImmII':_0x1e727c(0x251),'AiZpa':_0x1e727c(0x257),'duWFx':_0x1e727c(0x25c),'NXIkx':_0x1e727c(0x230),'PqmeN':'javascript','RjdUF':function(_0x26ad54,_0x42f0d8){return _0x26ad54-_0x42f0d8;},'swxYj':function(_0x4b816a,_0x2173c6,_0x4be720,_0x206890,_0xd8c4dd){return _0x4b816a(_0x2173c6,_0x4be720,_0x206890,_0xd8c4dd);},'thIeX':_0x1e727c(0x1b6),'xoNPO':_0x1e727c(0x1b7),'qGsvI':_0x1e727c(0x1aa),'WUjLK':_0x1e727c(0x1b9),'HfsKJ':'backtrace','IzyZi':_0x1e727c(0x1e1),'liyoM':_0x1e727c(0x1f0),'USBIE':function(_0x425128,_0x6ed52b){return _0x425128===_0x6ed52b;},'wBUwG':_0x1e727c(0x252),'owCcF':_0x1e727c(0x236)};if(!this['enabled'])return;try{if(_0x5928cd['fn']&&_0x5928cd['fn'][_0x1e727c(0x203)]()[_0x1e727c(0x25d)](/browserstack internal helper hook/))return;const _0x5de882=_0x306029[_0x1e727c(0x244)](parseEvent,_0x2f77d4);if(!_0x5de882)return;if(_0x5de882[_0x1e727c(0x21b)]){this['currentTest']=_0x5928cd,this['currentHook']=null;if(_0x5de882[_0x1e727c(0x1b5)]||_0x5de882['skipped']){_0x5928cd[_0x1e727c(0x1f6)]=new Date(),_0x5928cd[_0x1e727c(0x18f)]=![];if(!_0x5928cd[_0x1e727c(0x268)])_0x5928cd[_0x1e727c(0x268)]=_0x306029[_0x1e727c(0x1df)](uuidv4);else _0x5928cd[_0x1e727c(0x18f)]&&(!_0x5928cd['retryOf']&&(_0x5928cd[_0x1e727c(0x26c)]=_0x5928cd['testAnalyticsId']),_0x5928cd[_0x1e727c(0x268)]=_0x306029['IlLia'](uuidv4));}}else{if(_0x5de882['hook']){this[_0x1e727c(0x1d0)]=_0x5928cd;if(_0x5de882[_0x1e727c(0x1b5)]){_0x5928cd['startedAt']=new Date(),_0x5928cd[_0x1e727c(0x18f)]=![];if(!_0x5928cd[_0x1e727c(0x262)])_0x5928cd[_0x1e727c(0x262)]=_0x306029[_0x1e727c(0x22a)](uuidv4);else _0x5928cd[_0x1e727c(0x262)]&&_0x5928cd[_0x1e727c(0x18f)]&&(_0x5928cd[_0x1e727c(0x262)]=_0x306029[_0x1e727c(0x1c9)](uuidv4));}}}if(_0x5de882['finished']&&_0x5928cd[_0x1e727c(0x18f)])return;let _0x4d9696;try{_0x4d9696=this[_0x1e727c(0x208)](_0x5928cd);}catch(_0x528d1c){logger[_0x1e727c(0x1c8)](_0x1e727c(0x200)+_0x528d1c),_0x4d9696=null;}let _0x21cf61=[];_0x2e6b6b&&(_0x21cf61=[_0x2e6b6b,_0x306029[_0x1e727c(0x240)]]);const _0xbbf3d2=_0x306029['hZJWV'](_0x5928cd[_0x1e727c(0x1cd)],undefined)?util['inspect'](_0x5928cd[_0x1e727c(0x1cd)][0x0]):_0x306029[_0x1e727c(0x26b)](_0x2e6b6b,undefined)?_0x2e6b6b[_0x1e727c(0x203)]():undefined,_0x573a09=_0x4d9696?this[_0x1e727c(0x21a)](_0x4d9696):null,_0x38b323=_0x4d9696?this[_0x1e727c(0x258)][_0x1e727c(0x231)](this[_0x1e727c(0x208)](_0x5928cd)):_0x306029[_0x1e727c(0x17c)];let _0x2f139d=_0x306029['ImmII'];const _0x134af9=!_0x5de882[_0x1e727c(0x1b5)]?new Date()[_0x1e727c(0x18b)]():null;if(_0x5de882[_0x1e727c(0x193)])_0x2f139d=_0x2e6b6b?_0x306029[_0x1e727c(0x1d2)]:_0x306029[_0x1e727c(0x180)],_0x5928cd[_0x1e727c(0x18f)]=!![];else _0x5de882[_0x1e727c(0x230)]&&(_0x2f139d=_0x306029[_0x1e727c(0x1be)],_0x5928cd[_0x1e727c(0x18f)]=!![]);const _0x52112c={'framework':this[_0x1e727c(0x1a8)],'uuid':_0x5928cd['testAnalyticsId']||_0x5928cd['hookAnalyticsId'],'name':_0x5928cd[_0x1e727c(0x23d)],'body':{'lang':_0x306029[_0x1e727c(0x23e)],'code':_0x5928cd[_0x1e727c(0x1e4)][_0x1e727c(0x203)]()},'type':_0x5928cd[_0x1e727c(0x1ac)],'scope':_0x5928cd[_0x1e727c(0x1c2)](),'scopes':this['getHierarchy'](_0x5928cd),'file_name':_0x38b323,'vc_filepath':_0x573a09?path[_0x1e727c(0x1a7)](_0x573a09,_0x4d9696):null,'location':_0x38b323,'result':_0x2f139d,'failure_reason':_0xbbf3d2,'duration_in_ms':_0x5928cd['duration']||(_0x5de882[_0x1e727c(0x193)]||_0x5de882['skipped'])?_0x306029[_0x1e727c(0x1ff)](Date[_0x1e727c(0x1d5)](),new Date(_0x5928cd[_0x1e727c(0x1f6)])[_0x1e727c(0x1f9)]()):null,'started_at':new Date(_0x5928cd['startedAt'])[_0x1e727c(0x18b)](),'finished_at':_0x134af9,'failure':testOpsHelper['failureData'][_0x1e727c(0x19e)](null,_0x21cf61),'failure_type':!_0xbbf3d2?null:testOpsHelper['getFailureType'](_0xbbf3d2),'retry_of':_0x5928cd[_0x1e727c(0x26c)]||null,'tags':_0x5928cd['tags']||[],'customRerunParam':{'rerun_name':_0x5928cd[_0x1e727c(0x1c2)]()}};_0x306029[_0x1e727c(0x1b8)](appendTesthubParams,_0x52112c,_0x2f77d4,_0x5928cd,FRAMEWORKS[_0x1e727c(0x23f)]);if(_0x5de882[_0x1e727c(0x255)])[_0x52112c[_0x1e727c(0x18a)],_0x52112c[_0x1e727c(0x219)]]=[this[_0x1e727c(0x1dd)](_0x5928cd),_0x5928cd[_0x1e727c(0x22d)]['test'][_0x1e727c(0x23d)]],_0x5de882[_0x1e727c(0x193)]?_0x306029[_0x1e727c(0x26b)](_0x52112c[_0x1e727c(0x264)],_0x306029[_0x1e727c(0x1d2)])&&(_0x52112c[_0x1e727c(0x264)]=_0x306029[_0x1e727c(0x180)]):_0x52112c[_0x1e727c(0x1e4)]={};else _0x5de882[_0x1e727c(0x21b)]&&(this[_0x1e727c(0x1bc)](_0x5928cd),_0x5de882[_0x1e727c(0x230)]&&this[_0x1e727c(0x1e9)](_0x5928cd),(_0x5de882[_0x1e727c(0x193)]||_0x5de882['skipped'])&&(_0x52112c[_0x1e727c(0x19f)]=this[_0x1e727c(0x1c4)](_0x5928cd)));this['driver']&&(_0x5de882[_0x1e727c(0x1b5)]||_0x5de882[_0x1e727c(0x230)])&&(_0x52112c[_0x306029[_0x1e727c(0x265)]]=this[_0x1e727c(0x1af)](this[_0x1e727c(0x235)]));_0x5de882[_0x1e727c(0x21b)]&&_0x5de882[_0x1e727c(0x193)]&&_0x5928cd[_0x1e727c(0x18e)]&&(_0x52112c[_0x306029[_0x1e727c(0x201)]]={'feature':{'name':_0x5928cd[_0x1e727c(0x18c)][_0x1e727c(0x253)]['name'],'path':_0x52112c[_0x1e727c(0x1d6)],'description':_0x5928cd[_0x1e727c(0x18c)]['comment']},'scenario':{'name':_0x5928cd[_0x1e727c(0x23d)]},'steps':_0x5928cd['bddSteps']});const _0xa22d98=_0x52112c[_0x306029['qGsvI']][0x0];_0xa22d98&&(_0x52112c[_0x306029[_0x1e727c(0x1a6)]]=_0xa22d98[_0x306029['HfsKJ']],_0x52112c[_0x306029[_0x1e727c(0x214)]]=_0xa22d98[_0x306029['liyoM']]);if(_0x5928cd[_0x1e727c(0x18e)])for(const _0x577df5 of _0x5928cd['bddSteps']){!_0x577df5[_0x1e727c(0x1ae)]&&(_0x577df5[_0x1e727c(0x1ae)]=new Date()[_0x1e727c(0x18b)](),_0x306029[_0x1e727c(0x1e6)](_0x577df5[_0x1e727c(0x264)],_0x306029[_0x1e727c(0x186)])&&(_0xa22d98?(_0x577df5[_0x1e727c(0x264)]=_0x306029[_0x1e727c(0x1d2)],_0x577df5['failure']=_0xa22d98[_0x306029[_0x1e727c(0x228)]][0x0]):_0x577df5[_0x1e727c(0x264)]=_0x306029[_0x1e727c(0x180)]));}const _0x3883a7={};_0x3883a7[_0x1e727c(0x1d7)]=_0x5de882['skipped']?TEST_EVENTS[_0x1e727c(0x18d)]:_0x2f77d4;const _0x1d6cff=_0x3883a7;return _0x5de882[_0x1e727c(0x255)]?_0x1d6cff[_0x306029[_0x1e727c(0x259)]]=_0x52112c:_0x1d6cff[_0x306029[_0x1e727c(0x26a)]]=_0x52112c,_0x1d6cff;}catch(_0x2c95bb){logger[_0x1e727c(0x1c8)](_0x1e727c(0x207)+_0x2f77d4+_0x1e727c(0x1c3)+_0x2c95bb);}}async['fireEvent'](_0x5ec441,_0x407bc9){const _0x53fc1e=a3_0x5b6721;if(!this['enabled']||!_0x407bc9||!_0x5ec441)return![];try{return await SessionHandler['uploadEventData'](_0x407bc9);}catch(_0x1ce2d2){logger[_0x53fc1e(0x1c8)](_0x53fc1e(0x1f2)+_0x5ec441+_0x53fc1e(0x1c3)+_0x1ce2d2);}}[a3_0x5b6721(0x247)](_0x391478){const _0x25028f=a3_0x5b6721,_0x4ea43e={};_0x4ea43e['CfoDy']=_0x25028f(0x251);const _0x20196b=_0x4ea43e;return{'id':_0x391478[_0x25028f(0x237)],'text':_0x391478[_0x25028f(0x198)],'keyword':_0x391478[_0x25028f(0x1ca)],'started_at':_0x391478[_0x25028f(0x1f6)][_0x25028f(0x18b)](),'result':_0x20196b[_0x25028f(0x239)]};}[a3_0x5b6721(0x216)](_0xce3126){const _0x31ab4c=a3_0x5b6721,_0x4f6587={'BhLUg':function(_0x48f162){return _0x48f162();}};!this[_0x31ab4c(0x24a)]['bddSteps']&&(this[_0x31ab4c(0x24a)][_0x31ab4c(0x18e)]=[]),!_0xce3126[_0x31ab4c(0x237)]&&(_0xce3126[_0x31ab4c(0x237)]=_0x4f6587[_0x31ab4c(0x1ef)](uuidv4),_0xce3126['startedAt']=new Date(),this[_0x31ab4c(0x24a)][_0x31ab4c(0x18e)][_0x31ab4c(0x227)](this[_0x31ab4c(0x247)](_0xce3126)));}[a3_0x5b6721(0x189)](_0x30daca){const _0x51d6ae=a3_0x5b6721,_0x4d1c7e={'uKxFz':function(_0x1ddcba,_0x3a859e){return _0x1ddcba(_0x3a859e);},'cfgDA':'success','JCvTD':_0x51d6ae(0x251),'wknRk':'passed','UqxNc':function(_0x587a93,_0x3348e7){return _0x587a93-_0x3348e7;}};let _0x24c066=this['currentTest'][_0x51d6ae(0x18e)][_0x51d6ae(0x17b)](_0x1df167=>_0x1df167['id']===_0x30daca['stepAnalyticsId']);_0x4d1c7e['uKxFz'](isUndefined,_0x24c066)&&(_0x24c066=this[_0x51d6ae(0x247)](_0x30daca)),_0x24c066[_0x51d6ae(0x264)]=[_0x4d1c7e[_0x51d6ae(0x172)],_0x4d1c7e[_0x51d6ae(0x25f)]][_0x51d6ae(0x1b1)](_0x30daca['status'])?_0x4d1c7e['wknRk']:_0x30daca[_0x51d6ae(0x1fc)],_0x24c066['finished_at']=new Date()[_0x51d6ae(0x18b)](),_0x24c066[_0x51d6ae(0x1c1)]=_0x4d1c7e[_0x51d6ae(0x226)](Date[_0x51d6ae(0x1d5)](),_0x30daca[_0x51d6ae(0x1f6)][_0x51d6ae(0x1f9)]()),_0x24c066[_0x51d6ae(0x1aa)]=_0x30daca[_0x51d6ae(0x1ed)]?_0x30daca['err'][_0x51d6ae(0x187)]:null;}}const a3_0x138e77={};a3_0x138e77[a3_0x5b6721(0x197)]=O11yHelper,a3_0x138e77[a3_0x5b6721(0x17d)]=STATE_PASSED,a3_0x138e77[a3_0x5b6721(0x245)]=STATE_FAILED,a3_0x138e77[a3_0x5b6721(0x22e)]=TEST_EVENTS,module['exports']=a3_0x138e77;
|
|
1
|
+
function a3_0x3a1f(_0x40276b,_0x1751c5){const _0x3df72b=a3_0x3df7();return a3_0x3a1f=function(_0x3a1fd3,_0x321da7){_0x3a1fd3=_0x3a1fd3-0x155;let _0x4b1a98=_0x3df72b[_0x3a1fd3];return _0x4b1a98;},a3_0x3a1f(_0x40276b,_0x1751c5);}const a3_0x2d25d2=a3_0x3a1f;(function(_0x31dbba,_0x42bcec){const _0xfe48bd=a3_0x3a1f,_0x4e1c11=_0x31dbba();while(!![]){try{const _0x246372=-parseInt(_0xfe48bd(0x199))/0x1+-parseInt(_0xfe48bd(0x200))/0x2*(-parseInt(_0xfe48bd(0x20c))/0x3)+parseInt(_0xfe48bd(0x20a))/0x4*(parseInt(_0xfe48bd(0x18b))/0x5)+-parseInt(_0xfe48bd(0x22c))/0x6*(parseInt(_0xfe48bd(0x157))/0x7)+parseInt(_0xfe48bd(0x1ba))/0x8+-parseInt(_0xfe48bd(0x223))/0x9+parseInt(_0xfe48bd(0x24c))/0xa;if(_0x246372===_0x42bcec)break;else _0x4e1c11['push'](_0x4e1c11['shift']());}catch(_0x199064){_0x4e1c11['push'](_0x4e1c11['shift']());}}}(a3_0x3df7,0xc99fb));const path=require(a3_0x2d25d2(0x1d0)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a3_0x2d25d2(0x17f)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x2d25d2(0x1d8)),testOpsHelper=require(a3_0x2d25d2(0x1dc)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x2d25d2(0x229))[a3_0x2d25d2(0x1a0)],SessionHandler=require(a3_0x2d25d2(0x1ca)),RequestQueueHandler=require(a3_0x2d25d2(0x1d1)),PlaywrightSessionDetails=require(a3_0x2d25d2(0x1d4)),debug=testOpsHelper[a3_0x2d25d2(0x22f)],{processAccessibilityCaps}=require(a3_0x2d25d2(0x15e)),Constants=require(a3_0x2d25d2(0x1a7)),{fetchPlatformDetails}=require(a3_0x2d25d2(0x17a)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x2d25d2(0x1ed)),constants=require(a3_0x2d25d2(0x1a7)),STATE_PASSED='passed',STATE_FAILED=a3_0x2d25d2(0x250),a3_0x3b8237={};a3_0x3b8237[a3_0x2d25d2(0x1cb)]=a3_0x2d25d2(0x17e),a3_0x3b8237[a3_0x2d25d2(0x1f3)]=a3_0x2d25d2(0x224),a3_0x3b8237[a3_0x2d25d2(0x244)]=a3_0x2d25d2(0x225),a3_0x3b8237[a3_0x2d25d2(0x201)]='HookRunStarted',a3_0x3b8237['HOOK_RUN_FINISHED']=a3_0x2d25d2(0x1a2);const TEST_EVENTS=a3_0x3b8237,parseEvent=_0x110606=>{const _0x1180a5=a3_0x2d25d2,_0x45d4ec={};_0x45d4ec[_0x1180a5(0x191)]=function(_0x137465,_0x4c0aec){return _0x137465<_0x4c0aec;},_0x45d4ec[_0x1180a5(0x208)]=function(_0x244ae5,_0x1207be){return _0x244ae5===_0x1207be;},_0x45d4ec['pGNPI']=_0x1180a5(0x19b),_0x45d4ec[_0x1180a5(0x195)]=function(_0x303017,_0x32ccdc){return _0x303017===_0x32ccdc;},_0x45d4ec[_0x1180a5(0x240)]='hook',_0x45d4ec[_0x1180a5(0x18c)]=function(_0x358270,_0x27775c){return _0x358270===_0x27775c;},_0x45d4ec[_0x1180a5(0x245)]=_0x1180a5(0x15b),_0x45d4ec[_0x1180a5(0x196)]='started',_0x45d4ec[_0x1180a5(0x1d5)]=_0x1180a5(0x238);const _0x583d87=_0x45d4ec,_0x44b0a6=_0x110606[_0x1180a5(0x233)](/^(.*)Run(.*)$/);if(!_0x44b0a6)return null;if(_0x583d87[_0x1180a5(0x191)](_0x44b0a6['length'],0x3))return null;const _0x53c8ad=_0x44b0a6[0x1]['toLowerCase'](),_0x583be8=_0x44b0a6[0x2][_0x1180a5(0x18d)]();return{'test':_0x583d87[_0x1180a5(0x208)](_0x53c8ad,_0x583d87['pGNPI']),'hook':_0x583d87[_0x1180a5(0x195)](_0x53c8ad,_0x583d87[_0x1180a5(0x240)]),'skipped':_0x583d87[_0x1180a5(0x18c)](_0x583be8,_0x583d87[_0x1180a5(0x245)]),'started':_0x583d87['XLZKw'](_0x583be8,_0x583d87[_0x1180a5(0x196)]),'finished':_0x583d87['fiqoh'](_0x583be8,_0x583d87[_0x1180a5(0x1d5)])};},mockPWBrowserType=_0x1e751e=>{const _0x50c5a7=a3_0x2d25d2,_0x32b2a5={'jnoCp':function(_0x4cb8ba,_0x29d019,_0x52984c){return _0x4cb8ba(_0x29d019,_0x52984c);},'WHUVC':_0x50c5a7(0x15d),'SZfXn':function(_0x46582b,_0x36594f){return _0x46582b(_0x36594f);},'xseAP':_0x50c5a7(0x167),'GWkyM':function(_0x4f965f,_0x51d707){return _0x4f965f===_0x51d707;},'RJXqG':_0x50c5a7(0x1eb),'wqFzl':function(_0x57749b){return _0x57749b();},'uGrTY':'Not\x20able\x20to\x20import\x20Browser','Tbtft':'connect','SzeLX':'launch'},_0x30d236=_0x32b2a5[_0x50c5a7(0x23c)](resolveBrowserTypeClass);if(!_0x30d236){_0x32b2a5[_0x50c5a7(0x184)](debug,_0x32b2a5[_0x50c5a7(0x210)]);return;}const _0x560e2f=_0x30d236[_0x50c5a7(0x161)];if(_0x560e2f[_0x50c5a7(0x190)])return;const _0x5537c7=_0x560e2f[_0x50c5a7(0x241)];Object[_0x50c5a7(0x1e2)](_0x560e2f,_0x32b2a5[_0x50c5a7(0x1f9)],{'get':function(){const _0x2b1e00=_0x50c5a7,_0x14b208={'VtoFR':function(_0x426b4b,_0x5782f6){return _0x32b2a5['GWkyM'](_0x426b4b,_0x5782f6);},'GDxMo':_0x32b2a5[_0x2b1e00(0x185)]};return async function _0x12ee93(_0x4d8f3a,_0x31da0b){const _0x25c856=_0x2b1e00,_0x47226=_0x32b2a5[_0x25c856(0x1fb)](nestedKeyValue,_0x4d8f3a,[_0x32b2a5[_0x25c856(0x1b7)]])||_0x4d8f3a;let _0x25fa22=null,_0x261e25=null;try{[_0x261e25,_0x25fa22]=_0x47226?_0x32b2a5[_0x25c856(0x184)](parseWSEndpoint,_0x47226):[null,null],global[_0x25c856(0x163)]=_0x25fa22,logger[_0x25c856(0x22f)](_0x25c856(0x1ae)+_0x261e25),_0x261e25[_0x25c856(0x23e)](Constants['BROWSERSTACK'])&&(global[_0x25c856(0x221)]=_0x32b2a5[_0x25c856(0x1fa)]);}catch(_0x5c4fc9){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x47226+'\x20'+_0x5c4fc9);}_0x32b2a5[_0x25c856(0x1fb)](processAccessibilityCaps,_0x25fa22,_0x261e25);if(global[_0x25c856(0x205)]){const _0x4c949e=await _0x560e2f[_0x25c856(0x22b)][_0x25c856(0x164)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x32b2a5['SZfXn'](encodeURIComponent,JSON[_0x25c856(0x1d9)](_0x25fa22))]);return PlaywrightSessionDetails[_0x25c856(0x1f6)](_0x4c949e,_0x1e751e,_0x47226),_0x4c949e;}return _0x5537c7[_0x25c856(0x164)](this,arguments)['then'](_0x2552d8=>{const _0x5a75ca=_0x25c856;let _0x1445ce=_0x4d8f3a[_0x5a75ca(0x15d)];return _0x14b208['VtoFR'](typeof _0x4d8f3a,_0x14b208[_0x5a75ca(0x1d7)])&&(_0x1445ce=_0x4d8f3a),PlaywrightSessionDetails[_0x5a75ca(0x1f6)](_0x2552d8,_0x1e751e,_0x1445ce),_0x2552d8;});};}});const _0x44e85f=_0x560e2f[_0x50c5a7(0x17c)];Object['defineProperty'](_0x560e2f,_0x32b2a5[_0x50c5a7(0x165)],{'get':function(){return async function _0x9bf06a(){const _0x16e3e1=a3_0x3a1f;return _0x44e85f[_0x16e3e1(0x164)](this,arguments)[_0x16e3e1(0x166)](_0x208049=>{const _0xa3090=_0x16e3e1;return PlaywrightSessionDetails[_0xa3090(0x1f6)](_0x208049,null),_0x208049;});};}});};class O11yHelper{[a3_0x2d25d2(0x1c5)]=null;[a3_0x2d25d2(0x24a)]=null;['enabled']=![];[a3_0x2d25d2(0x1c7)]=![];[a3_0x2d25d2(0x248)]=[];constructor(_0x2aad96,_0x338866){const _0xa5f1c8=a3_0x2d25d2,_0x25f7c3={'prvjJ':_0xa5f1c8(0x1a9),'itMZU':function(_0x3f7737){return _0x3f7737();},'Pizcp':function(_0x5d220f,_0x35fe1d){return _0x5d220f===_0x35fe1d;},'GeqGg':_0xa5f1c8(0x1b4),'MKwFO':function(_0x1263ff,_0x532646){return _0x1263ff(_0x532646);}},_0x187ec0=_0x25f7c3[_0xa5f1c8(0x1be)][_0xa5f1c8(0x227)]('|');let _0x549abe=0x0;while(!![]){switch(_0x187ec0[_0x549abe++]){case'0':this[_0xa5f1c8(0x1a6)]=new testOpsHelper[(_0xa5f1c8(0x209))]({'cwd':process['cwd']()},this['_testEnv'][_0xa5f1c8(0x186)]);continue;case'1':this[_0xa5f1c8(0x160)]=_0x25f7c3[_0xa5f1c8(0x21f)](shouldProcessEventForTesthub);continue;case'2':this['driver']&&_0x25f7c3[_0xa5f1c8(0x16a)](this[_0xa5f1c8(0x181)][_0xa5f1c8(0x1e6)]['name'],_0x25f7c3['GeqGg'])&&_0x25f7c3[_0xa5f1c8(0x1fd)](mockPWBrowserType,null);continue;case'3':this[_0xa5f1c8(0x181)]=_0x2aad96;continue;case'4':this[_0xa5f1c8(0x1c7)]=_0x338866[_0xa5f1c8(0x1c7)];continue;case'5':this['_testEnv']=_0x25f7c3[_0xa5f1c8(0x21f)](getTestEnv);continue;}break;}}[a3_0x2d25d2(0x251)](){const _0x39d231=a3_0x2d25d2,_0x5bdbc8={'LPHwm':function(_0x3f7c8a,_0xa9dc16){return _0x3f7c8a(_0xa9dc16);}};if(!this['driver'])return![];try{const _0x28bc3b=_0x5bdbc8[_0x39d231(0x169)](fetchPlatformDetails,this['driver']);if(!_0x28bc3b)return![];const _0x17adcb=Object[_0x39d231(0x216)](_0x28bc3b)[0x0];return!!(_0x17adcb&&_0x28bc3b[_0x17adcb]&&_0x28bc3b[_0x17adcb][_0x39d231(0x21c)]);}catch(_0xe6af25){return![];}}[a3_0x2d25d2(0x1f2)](_0x575350,_0x5492fe){const _0x5c6f3a=a3_0x2d25d2;if(!_0x5492fe)return;const _0x334980={};_0x334980[_0x5c6f3a(0x19d)]=_0x575350,_0x334980[_0x5c6f3a(0x1bb)]=_0x5492fe,this[_0x5c6f3a(0x248)][_0x5c6f3a(0x155)](_0x334980);}async['flushPendingHookEvents'](){const _0xf89393=a3_0x2d25d2,_0x578fe7={};_0x578fe7[_0xf89393(0x1de)]=function(_0x2d1c45,_0xb278bd){return _0x2d1c45&&_0xb278bd;};const _0x8ac617=_0x578fe7;if(!this[_0xf89393(0x248)][_0xf89393(0x1b6)])return;if(!this[_0xf89393(0x251)]())return;const _0x47aa6a=this[_0xf89393(0x173)](this['driver']),_0x3a8ca3=this[_0xf89393(0x248)][_0xf89393(0x1e7)](0x0,this[_0xf89393(0x248)][_0xf89393(0x1b6)]);for(const {eventType:_0x2e0dec,uploadData:_0x233b0b}of _0x3a8ca3){try{const _0x2efdc5=_0x233b0b['hook_run']||_0x233b0b['test_run'];_0x8ac617['RAGHt'](_0x2efdc5,_0x47aa6a)&&(_0x2efdc5['integrations']=_0x47aa6a),await this['fireEvent'](_0x2e0dec,_0x233b0b);}catch(_0x2d3d8a){logger['debug'](_0xf89393(0x1c0)+_0x2e0dec+':\x20'+util['format'](_0x2d3d8a));}}}[a3_0x2d25d2(0x1b8)](){const _0x2343e1=a3_0x2d25d2;if(!this[_0x2343e1(0x160)])return;testOpsHelper[_0x2343e1(0x189)](),process[_0x2343e1(0x198)](_0x2343e1(0x1d6)+process[_0x2343e1(0x1ce)]),process['on'](_0x2343e1(0x1d6)+process['pid'],this[_0x2343e1(0x1df)][_0x2343e1(0x178)](this));}async[a3_0x2d25d2(0x1ad)](){const _0x52d2d1=a3_0x2d25d2;await RequestQueueHandler[_0x52d2d1(0x1a1)]()[_0x52d2d1(0x1c6)]();}async[a3_0x2d25d2(0x1df)](_0xd03014){const _0x2ebf1b=a3_0x2d25d2,_0x247882={'QyJaU':_0x2ebf1b(0x17b),'JkQyD':function(_0x4c2ab7,_0x52eda0){return _0x4c2ab7(_0x52eda0);}};try{this['currentHook']&&!this[_0x2ebf1b(0x24a)][_0x2ebf1b(0x211)]&&(_0xd03014[_0x2ebf1b(0x21e)]=this[_0x2ebf1b(0x24a)][_0x2ebf1b(0x1a4)]);!_0xd03014['hook_run_uuid']&&this['currentTest']&&!this[_0x2ebf1b(0x1c5)][_0x2ebf1b(0x211)]&&(_0xd03014[_0x2ebf1b(0x214)]=this['currentTest'][_0x2ebf1b(0x236)]);if(_0xd03014['hook_run_uuid']||_0xd03014[_0x2ebf1b(0x214)]){const _0x5ca9e7={};_0x5ca9e7['event_type']=_0x247882[_0x2ebf1b(0x1b3)],_0x5ca9e7[_0x2ebf1b(0x1f0)]=[_0xd03014],await SessionHandler[_0x2ebf1b(0x23b)](_0x5ca9e7);}}catch(_0x11df86){_0x247882[_0x2ebf1b(0x1c4)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x2ebf1b(0x212)]+_0x2ebf1b(0x1b0)+_0x11df86);}}async['sendCBTInfo'](_0x1cfffc){const _0x547434=a3_0x2d25d2,_0x5eb129={'cGPTK':_0x547434(0x162),'IURKw':function(_0x3bf620,_0x242a92){return _0x3bf620(_0x242a92);}};if(!this[_0x547434(0x160)])return;const _0xb4a334=this[_0x547434(0x173)](this[_0x547434(0x181)]);try{const _0x15cca4={};_0x15cca4[_0x547434(0x17f)]=_0x1cfffc,_0x15cca4[_0x547434(0x249)]=_0xb4a334;const _0x5106e8=_0x15cca4,_0x3eea79={};_0x3eea79[_0x547434(0x1ef)]=_0x5eb129[_0x547434(0x1ff)],_0x3eea79[_0x547434(0x215)]=_0x5106e8,await SessionHandler[_0x547434(0x23b)](_0x3eea79);}catch(_0x56dc9a){_0x5eb129[_0x547434(0x159)](debug,_0x547434(0x242)+constants['TEST_REPORTING_ANALYTICS']+_0x547434(0x1b0)+_0x56dc9a);}}[a3_0x2d25d2(0x173)](_0x53a8ca){const _0x2c2219={'QHICO':function(_0x310e24,_0x1e38fb){return _0x310e24(_0x1e38fb);}};return _0x2c2219['QHICO'](fetchPlatformDetails,_0x53a8ca);}[a3_0x2d25d2(0x1fe)]=_0x259147=>{const _0x553043=a3_0x2d25d2,_0x359327={};_0x359327[_0x553043(0x23d)]='_beforeEach',_0x359327[_0x553043(0x19e)]=_0x553043(0x18f);const _0x54fdbd=_0x359327;if(!_0x259147||!_0x259147[_0x553043(0x1fc)])return;[_0x54fdbd['ZdcGA'],_0x54fdbd['xhXlt']][_0x553043(0x1d2)](_0xe02810=>{const _0x525789=_0x553043,_0x3b7d17=_0x259147[_0x525789(0x1fc)][_0xe02810];_0x3b7d17[_0x525789(0x1d2)](_0x4e7e2c=>{const _0x88c0b1=_0x525789;_0x4e7e2c[_0x88c0b1(0x1a4)]&&(_0x4e7e2c['hookAnalyticsId']=null);});});};[a3_0x2d25d2(0x231)](_0x10fc95){const _0x37b368=a3_0x2d25d2,_0x5cd20e={'XzcNF':_0x37b368(0x1aa),'oRKsA':function(_0x5cb6ee){return _0x5cb6ee();},'ijCOj':function(_0x49d5e4,_0x1e69ef){return _0x49d5e4===_0x1e69ef;},'wwAVD':_0x37b368(0x18f),'sGKhQ':_0x37b368(0x15a),'knfou':_0x37b368(0x15c),'NCKwS':_0x37b368(0x202)};if(!_0x10fc95||!_0x10fc95[_0x37b368(0x1fc)])return;[_0x5cd20e[_0x37b368(0x22e)],_0x5cd20e['knfou'],_0x5cd20e[_0x37b368(0x171)],_0x5cd20e[_0x37b368(0x1f4)]][_0x37b368(0x1d2)](_0x5a0f36=>{const _0x58c392=_0x37b368,_0x1b960e={'VdTVP':_0x5cd20e[_0x58c392(0x1c3)],'FWFMI':function(_0xe2f5e8){const _0x311514=_0x58c392;return _0x5cd20e[_0x311514(0x1a8)](_0xe2f5e8);},'XTvmi':function(_0x297b00,_0x558087){const _0xa5a932=_0x58c392;return _0x5cd20e[_0xa5a932(0x1b2)](_0x297b00,_0x558087);},'wOUeM':_0x5cd20e[_0x58c392(0x1f4)]},_0x5ae062=_0x10fc95[_0x58c392(0x1fc)][_0x5a0f36]||[];_0x5ae062[_0x58c392(0x1d2)](_0xba8bc8=>{const _0x4d5abb=_0x58c392;if(_0xba8bc8[_0x4d5abb(0x1f5)][_0x4d5abb(0x23e)](_0x1b960e['VdTVP']))return;if(!_0xba8bc8[_0x4d5abb(0x1a4)])_0xba8bc8[_0x4d5abb(0x1a4)]=_0x1b960e['FWFMI'](uuidv4);else _0xba8bc8[_0x4d5abb(0x211)]&&_0x1b960e[_0x4d5abb(0x156)](_0x5a0f36,_0x1b960e[_0x4d5abb(0x22d)])&&(_0xba8bc8['hookAnalyticsId']=_0x1b960e['FWFMI'](uuidv4),delete _0xba8bc8[_0x4d5abb(0x211)]);});}),this['mapTestHooks'](_0x10fc95[_0x37b368(0x1fc)]);}[a3_0x2d25d2(0x20e)](_0x10cb80){const _0x5f2b3f=a3_0x2d25d2,_0x26b275={};_0x26b275[_0x5f2b3f(0x222)]=_0x5f2b3f(0x15a),_0x26b275['gxowx']=_0x5f2b3f(0x15c),_0x26b275[_0x5f2b3f(0x1e8)]=_0x5f2b3f(0x202),_0x26b275[_0x5f2b3f(0x194)]=_0x5f2b3f(0x18f);const _0x112bce=_0x26b275;if(!_0x10cb80||!_0x10cb80[_0x5f2b3f(0x1fc)])return[];const _0x3c88c6=[];return[_0x112bce[_0x5f2b3f(0x222)],_0x112bce[_0x5f2b3f(0x16e)],_0x112bce[_0x5f2b3f(0x1e8)],_0x112bce[_0x5f2b3f(0x194)]][_0x5f2b3f(0x1d2)](_0x496978=>{const _0xb63bc=_0x5f2b3f,_0x48fec4=_0x10cb80[_0xb63bc(0x1fc)][_0x496978]||[];_0x48fec4[_0xb63bc(0x1d2)](_0x54e616=>{_0x54e616['hookAnalyticsId']&&_0x3c88c6['push'](_0x54e616['hookAnalyticsId']);});}),[][_0x5f2b3f(0x204)](_0x3c88c6,this['getHooksForTest'](_0x10cb80[_0x5f2b3f(0x1fc)]));}[a3_0x2d25d2(0x235)](_0x510fbc){const _0x1201bb=a3_0x2d25d2,_0x44aaae=/^"(?<hook>.*)" hook:.*$/,_0x11d45e=_0x510fbc[_0x1201bb(0x1f5)],_0x5e422e=_0x11d45e[_0x1201bb(0x233)](_0x44aaae);if(_0x5e422e&&_0x5e422e[_0x1201bb(0x1b9)])return _0x5e422e[_0x1201bb(0x1b9)]['hook'][_0x1201bb(0x192)]()[_0x1201bb(0x19f)]('\x20','_');return null;}[a3_0x2d25d2(0x180)](_0x312570){const _0x4dc899=a3_0x2d25d2,_0x2b2f7d={};_0x2b2f7d[_0x4dc899(0x1e0)]=function(_0x26fdd6,_0x1375ca){return _0x26fdd6===_0x1375ca;},_0x2b2f7d[_0x4dc899(0x1e9)]=_0x4dc899(0x179);const _0x5416f5=_0x2b2f7d,_0xc2dea2=path['sep'];if(_0x5416f5[_0x4dc899(0x1e0)](_0x312570,null)||_0x5416f5['lfMMP'](_0x312570,'')||_0x5416f5['lfMMP'](_0x312570,_0xc2dea2)||_0x5416f5['lfMMP'](_0x312570,path[_0x4dc899(0x21b)](_0x312570)))return null;try{return fs[_0x4dc899(0x1f8)](path[_0x4dc899(0x243)](_0x312570,_0x5416f5['JVBOo'])),_0x312570;}catch(_0x357487){const _0x5451da=path[_0x4dc899(0x21b)](_0x312570);return this[_0x4dc899(0x180)](_0x5451da);}}[a3_0x2d25d2(0x177)](_0x371c45){const _0xc7e4e6=a3_0x2d25d2,_0x45dc1c={};_0x45dc1c[_0xc7e4e6(0x1f1)]=function(_0x282d21,_0x3fa282){return _0x282d21>_0x3fa282;};const _0x323615=_0x45dc1c;if(_0x371c45['file'])return _0x371c45['file'];if(_0x371c45['ctx']){const _0xd37d77=_0x371c45[_0xc7e4e6(0x1bc)]['currentTest']?this[_0xc7e4e6(0x177)](_0x371c45[_0xc7e4e6(0x1bc)]['currentTest']):null;if(_0xd37d77)return _0xd37d77;}if(_0x371c45[_0xc7e4e6(0x1fc)]){const _0xfd029a=this[_0xc7e4e6(0x177)](_0x371c45[_0xc7e4e6(0x1fc)])||(_0x371c45['parent'][_0xc7e4e6(0x1bc)]&&_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1bc)][_0xc7e4e6(0x1c5)]?this[_0xc7e4e6(0x177)](_0x371c45['parent'][_0xc7e4e6(0x1bc)][_0xc7e4e6(0x1c5)]):null);if(_0xfd029a)return _0xfd029a;_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1a5)]&&_0x323615[_0xc7e4e6(0x1f1)](_0x371c45[_0xc7e4e6(0x1fc)]['suites'][_0xc7e4e6(0x1b6)],0x0)&&_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1a5)][_0xc7e4e6(0x1d2)](_0x572058=>{const _0x1778ca=_0xc7e4e6,_0x253e56=_0x572058[_0x1778ca(0x1bc)]?this[_0x1778ca(0x177)](_0x572058[_0x1778ca(0x1bc)]):null;if(_0x253e56)return _0x253e56;});}return null;}['getHierarchy'](_0x248c49){const _0x1e6e59=a3_0x2d25d2,_0x22465b={};_0x22465b['kXYyj']=function(_0x3d053f,_0x4786ce){return _0x3d053f!==_0x4786ce;};const _0x1b663c=_0x22465b,_0x4d04b6=[];if(_0x248c49&&_0x248c49[_0x1e6e59(0x1fc)]){let _0x48db67=_0x248c49['parent'];while(_0x48db67&&_0x1b663c[_0x1e6e59(0x1d3)](_0x48db67[_0x1e6e59(0x1f5)],'')){_0x4d04b6[_0x1e6e59(0x155)](_0x48db67[_0x1e6e59(0x1f5)]),_0x48db67=_0x48db67[_0x1e6e59(0x1fc)];}}return _0x4d04b6;}[a3_0x2d25d2(0x1bf)](_0x46c5bd,_0x27e68c,_0x494ffc=undefined){const _0x4eacd8=a3_0x2d25d2,_0x6084cf={'TDmOQ':function(_0xe527f2,_0x55b9b4){return _0xe527f2(_0x55b9b4);},'YbChw':function(_0x4b91c0){return _0x4b91c0();},'OlGXH':_0x4eacd8(0x1db),'gRdzD':function(_0x4a1e9e,_0x54c6fa){return _0x4a1e9e!==_0x54c6fa;},'mqCDx':function(_0x1939b8,_0x437153){return _0x1939b8!==_0x437153;},'guDjN':_0x4eacd8(0x17d),'PXpAh':_0x4eacd8(0x15f),'ilmaE':'failed','zcPKx':'passed','OGQkB':'skipped','qGAyA':_0x4eacd8(0x22a),'PxgAI':function(_0x46b45f,_0x23ac3b){return _0x46b45f-_0x23ac3b;},'GWdyC':function(_0x26f39d,_0x36989a,_0x4132ec,_0x29270a,_0x58082b){return _0x26f39d(_0x36989a,_0x4132ec,_0x29270a,_0x58082b);},'ptIds':function(_0x56cb22,_0x1aece2){return _0x56cb22!==_0x1aece2;},'oCcfS':_0x4eacd8(0x249),'FDlAu':_0x4eacd8(0x1f7),'SHhaY':_0x4eacd8(0x1e1),'ZemFM':'failure_backtrace','fpueN':_0x4eacd8(0x1cc),'WlhcW':_0x4eacd8(0x158),'eMztN':_0x4eacd8(0x1af),'DwcBd':function(_0x57d8d6,_0x574950){return _0x57d8d6===_0x574950;},'bGyWW':_0x4eacd8(0x21a),'qqWGt':_0x4eacd8(0x215)};if(!this['enabled'])return;try{if(_0x27e68c['fn']&&_0x27e68c['fn']['toString']()[_0x4eacd8(0x233)](/browserstack internal helper hook/))return;const _0x383192=_0x6084cf[_0x4eacd8(0x23a)](parseEvent,_0x46c5bd);if(!_0x383192)return;if(_0x383192[_0x4eacd8(0x19b)]){this[_0x4eacd8(0x1c5)]=_0x27e68c,this[_0x4eacd8(0x24a)]=null;if(_0x383192[_0x4eacd8(0x18e)]||_0x383192[_0x4eacd8(0x15b)]){_0x27e68c['startedAt']=new Date(),_0x27e68c['markedStatus']=![];if(!_0x27e68c['testAnalyticsId'])_0x27e68c[_0x4eacd8(0x236)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4);else _0x27e68c[_0x4eacd8(0x211)]&&(!_0x27e68c[_0x4eacd8(0x246)]&&(_0x27e68c[_0x4eacd8(0x246)]=_0x27e68c[_0x4eacd8(0x236)]),_0x27e68c[_0x4eacd8(0x236)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4));}}else{if(_0x383192['hook']){this[_0x4eacd8(0x24a)]=_0x27e68c;if(_0x383192['started']){_0x27e68c[_0x4eacd8(0x20f)]=new Date(),_0x27e68c[_0x4eacd8(0x211)]=![];if(!_0x27e68c['hookAnalyticsId'])_0x27e68c[_0x4eacd8(0x1a4)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4);else _0x27e68c[_0x4eacd8(0x1a4)]&&_0x27e68c[_0x4eacd8(0x211)]&&(_0x27e68c[_0x4eacd8(0x1a4)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4));}}}if(_0x383192[_0x4eacd8(0x238)]&&_0x27e68c[_0x4eacd8(0x211)])return;let _0x5a9fa0;try{_0x5a9fa0=this[_0x4eacd8(0x177)](_0x27e68c);}catch(_0x5b8714){logger[_0x4eacd8(0x22f)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x5b8714),_0x5a9fa0=null;}let _0x1e00f7=[];_0x494ffc&&(_0x1e00f7=[_0x494ffc,_0x6084cf[_0x4eacd8(0x1ab)]]);const _0x297b59=_0x6084cf[_0x4eacd8(0x1bd)](_0x27e68c[_0x4eacd8(0x219)],undefined)?util[_0x4eacd8(0x247)](_0x27e68c[_0x4eacd8(0x219)][0x0]):_0x6084cf[_0x4eacd8(0x1ea)](_0x494ffc,undefined)?_0x494ffc[_0x4eacd8(0x20b)]():undefined,_0x24514d=_0x5a9fa0?this[_0x4eacd8(0x180)](_0x5a9fa0):null,_0x30faa0=_0x5a9fa0?this[_0x4eacd8(0x1a6)][_0x4eacd8(0x183)](this[_0x4eacd8(0x177)](_0x27e68c)):_0x6084cf[_0x4eacd8(0x1b1)];let _0x1b2f2b=_0x6084cf[_0x4eacd8(0x174)];const _0x5a6bc1=!_0x383192[_0x4eacd8(0x18e)]?new Date()['toISOString']():null;if(_0x383192[_0x4eacd8(0x238)])_0x1b2f2b=_0x494ffc?_0x6084cf['ilmaE']:_0x6084cf['zcPKx'],_0x27e68c[_0x4eacd8(0x211)]=!![];else _0x383192[_0x4eacd8(0x15b)]&&(_0x1b2f2b=_0x6084cf[_0x4eacd8(0x230)],_0x27e68c[_0x4eacd8(0x211)]=!![]);const _0x34a458={'framework':this[_0x4eacd8(0x1c7)],'uuid':_0x27e68c[_0x4eacd8(0x236)]||_0x27e68c[_0x4eacd8(0x1a4)],'name':_0x27e68c['title'],'body':{'lang':_0x6084cf[_0x4eacd8(0x24b)],'code':_0x27e68c['body']['toString']()},'type':_0x27e68c[_0x4eacd8(0x24e)],'scope':_0x27e68c[_0x4eacd8(0x23f)](),'scopes':this[_0x4eacd8(0x1e5)](_0x27e68c),'file_name':_0x30faa0,'vc_filepath':_0x24514d?path['relative'](_0x24514d,_0x5a9fa0):null,'location':_0x30faa0,'result':_0x1b2f2b,'failure_reason':_0x297b59,'duration_in_ms':_0x27e68c[_0x4eacd8(0x218)]||(_0x383192[_0x4eacd8(0x238)]||_0x383192[_0x4eacd8(0x15b)])?_0x6084cf[_0x4eacd8(0x19c)](Date[_0x4eacd8(0x253)](),new Date(_0x27e68c['startedAt'])['getTime']()):null,'started_at':new Date(_0x27e68c[_0x4eacd8(0x20f)])[_0x4eacd8(0x19a)](),'finished_at':_0x5a6bc1,'failure':testOpsHelper[_0x4eacd8(0x228)]['apply'](null,_0x1e00f7),'failure_type':!_0x297b59?null:testOpsHelper['getFailureType'](_0x297b59),'retry_of':_0x27e68c[_0x4eacd8(0x246)]||null,'tags':_0x27e68c[_0x4eacd8(0x176)]||[],'customRerunParam':{'rerun_name':_0x27e68c[_0x4eacd8(0x23f)]()}};_0x6084cf[_0x4eacd8(0x226)](appendTesthubParams,_0x34a458,_0x46c5bd,_0x27e68c,FRAMEWORKS[_0x4eacd8(0x1ac)]);if(_0x383192[_0x4eacd8(0x1e4)])[_0x34a458['hook_type'],_0x34a458['name']]=[this[_0x4eacd8(0x235)](_0x27e68c),_0x27e68c[_0x4eacd8(0x1bc)][_0x4eacd8(0x19b)][_0x4eacd8(0x1f5)]],_0x383192[_0x4eacd8(0x238)]?_0x6084cf[_0x4eacd8(0x187)](_0x34a458['result'],_0x6084cf['ilmaE'])&&(_0x34a458[_0x4eacd8(0x239)]=_0x6084cf[_0x4eacd8(0x24d)]):_0x34a458[_0x4eacd8(0x220)]={};else _0x383192[_0x4eacd8(0x19b)]&&(this[_0x4eacd8(0x231)](_0x27e68c),_0x383192[_0x4eacd8(0x15b)]&&this[_0x4eacd8(0x1fe)](_0x27e68c),(_0x383192[_0x4eacd8(0x238)]||_0x383192[_0x4eacd8(0x15b)])&&(_0x34a458[_0x4eacd8(0x237)]=this[_0x4eacd8(0x20e)](_0x27e68c)));this[_0x4eacd8(0x181)]&&(_0x383192[_0x4eacd8(0x18e)]||_0x383192[_0x4eacd8(0x15b)])&&(_0x34a458[_0x6084cf[_0x4eacd8(0x217)]]=this[_0x4eacd8(0x173)](this[_0x4eacd8(0x181)]));_0x383192[_0x4eacd8(0x19b)]&&_0x383192[_0x4eacd8(0x238)]&&_0x27e68c['bddSteps']&&(_0x34a458[_0x6084cf[_0x4eacd8(0x24f)]]={'feature':{'name':_0x27e68c['parent'][_0x4eacd8(0x1ec)][_0x4eacd8(0x16d)],'path':_0x34a458[_0x4eacd8(0x213)],'description':_0x27e68c[_0x4eacd8(0x1fc)]['comment']},'scenario':{'name':_0x27e68c[_0x4eacd8(0x1f5)]},'steps':_0x27e68c[_0x4eacd8(0x1c8)]});const _0x12b7ed=_0x34a458[_0x6084cf[_0x4eacd8(0x1c1)]][0x0];_0x12b7ed&&(_0x34a458[_0x6084cf[_0x4eacd8(0x182)]]=_0x12b7ed[_0x6084cf[_0x4eacd8(0x197)]],_0x34a458[_0x6084cf[_0x4eacd8(0x20d)]]=_0x12b7ed[_0x6084cf[_0x4eacd8(0x234)]]);if(_0x27e68c[_0x4eacd8(0x1c8)])for(const _0x23157f of _0x27e68c['bddSteps']){!_0x23157f[_0x4eacd8(0x193)]&&(_0x23157f['finished_at']=new Date()[_0x4eacd8(0x19a)](),_0x6084cf[_0x4eacd8(0x1ee)](_0x23157f[_0x4eacd8(0x239)],_0x6084cf[_0x4eacd8(0x174)])&&(_0x12b7ed?(_0x23157f['result']=_0x6084cf[_0x4eacd8(0x207)],_0x23157f[_0x4eacd8(0x1e1)]=_0x12b7ed[_0x6084cf['fpueN']][0x0]):_0x23157f[_0x4eacd8(0x239)]=_0x6084cf[_0x4eacd8(0x24d)]));}const _0x104f14={};_0x104f14[_0x4eacd8(0x1ef)]=_0x383192[_0x4eacd8(0x15b)]?TEST_EVENTS[_0x4eacd8(0x1f3)]:_0x46c5bd;const _0x447341=_0x104f14;return _0x383192[_0x4eacd8(0x1e4)]?_0x447341[_0x6084cf[_0x4eacd8(0x168)]]=_0x34a458:_0x447341[_0x6084cf['qqWGt']]=_0x34a458,_0x447341;}catch(_0x5e7b59){logger[_0x4eacd8(0x22f)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x46c5bd+'\x20with\x20error\x20:\x20'+_0x5e7b59);}}async[a3_0x2d25d2(0x21d)](_0x2b078e,_0x4f157e){const _0x91594=a3_0x2d25d2;if(!this['enabled']||!_0x4f157e||!_0x2b078e)return![];try{return await SessionHandler[_0x91594(0x23b)](_0x4f157e);}catch(_0xf4a1eb){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2b078e+'\x20with\x20error\x20:\x20'+_0xf4a1eb);}}[a3_0x2d25d2(0x175)](_0x545909){const _0x5274c4=a3_0x2d25d2,_0x1fad4c={};_0x1fad4c['MpkzE']=_0x5274c4(0x15f);const _0x1695a4=_0x1fad4c;return{'id':_0x545909[_0x5274c4(0x1b5)],'text':_0x545909[_0x5274c4(0x252)],'keyword':_0x545909[_0x5274c4(0x172)],'started_at':_0x545909[_0x5274c4(0x20f)][_0x5274c4(0x19a)](),'result':_0x1695a4['MpkzE']};}[a3_0x2d25d2(0x18a)](_0x1e9f38){const _0x21784d=a3_0x2d25d2,_0x4a6a22={'IChqD':function(_0x4a87af){return _0x4a87af();}};!this[_0x21784d(0x1c5)]['bddSteps']&&(this[_0x21784d(0x1c5)]['bddSteps']=[]),!_0x1e9f38[_0x21784d(0x1b5)]&&(_0x1e9f38[_0x21784d(0x1b5)]=_0x4a6a22[_0x21784d(0x188)](uuidv4),_0x1e9f38[_0x21784d(0x20f)]=new Date(),this['currentTest']['bddSteps'][_0x21784d(0x155)](this['initializeBddStep'](_0x1e9f38)));}[a3_0x2d25d2(0x203)](_0x4c88d6){const _0x49e6f9=a3_0x2d25d2,_0x1072e6={'fNUBH':function(_0x1f80b1,_0x306a0f){return _0x1f80b1(_0x306a0f);},'nPcBM':'success','QqCAV':_0x49e6f9(0x15f),'CLmPF':_0x49e6f9(0x16f),'edvwD':function(_0x4344d4,_0x1319bb){return _0x4344d4-_0x1319bb;}};let _0x28ff76=this[_0x49e6f9(0x1c5)][_0x49e6f9(0x1c8)][_0x49e6f9(0x1c9)](_0x20c425=>_0x20c425['id']===_0x4c88d6[_0x49e6f9(0x1b5)]);_0x1072e6[_0x49e6f9(0x16c)](isUndefined,_0x28ff76)&&(_0x28ff76=this[_0x49e6f9(0x175)](_0x4c88d6)),_0x28ff76[_0x49e6f9(0x239)]=[_0x1072e6['nPcBM'],_0x1072e6[_0x49e6f9(0x1da)]][_0x49e6f9(0x23e)](_0x4c88d6[_0x49e6f9(0x1cf)])?_0x1072e6[_0x49e6f9(0x1cd)]:_0x4c88d6[_0x49e6f9(0x1cf)],_0x28ff76[_0x49e6f9(0x193)]=new Date()[_0x49e6f9(0x19a)](),_0x28ff76[_0x49e6f9(0x218)]=_0x1072e6[_0x49e6f9(0x16b)](Date['now'](),_0x4c88d6['startedAt'][_0x49e6f9(0x232)]()),_0x28ff76[_0x49e6f9(0x1e1)]=_0x4c88d6['err']?_0x4c88d6[_0x49e6f9(0x1db)][_0x49e6f9(0x1dd)]:null;}}function a3_0x3df7(){const _0x4af7cb=['getHookType','testAnalyticsId','hooks','finished','result','TDmOQ','uploadEventData','wqFzl','ZdcGA','includes','fullTitle','FBrvH','connect','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','join','TEST_RUN_SKIPPED','Htrtb','retryOf','inspect','pendingHookEvents','integrations','currentHook','qGAyA','19834990iNWAxL','zcPKx','type','FDlAu','failed','hasLiveDriverSession','text','now','push','XTvmi','14tZxtli','failure_reason_expanded','IURKw','_beforeAll','skipped','_afterAll','wsEndpoint','../playwright/accessibility-helper','pending','enabled','prototype','CBTSessionCreated','__platformCaps','apply','SzeLX','then','browserstack','bGyWW','LPHwm','Pizcp','edvwD','fNUBH','name','gxowx','passed','STATE_FAILED','NCKwS','keyword','getCBTInfo','PXpAh','initializeBddStep','tags','getRootParentFile','bind','.git','./helper.js','LogCreated','launch','File\x20path\x20could\x20not\x20be\x20found','TestRunStarted','uuid','findGitConfig','driver','ZemFM','prefixTestPath','SZfXn','RJXqG','location_prefix','ptIds','IChqD','patchConsoleLogger','bddStepStart','1946590mMnhSO','fiqoh','toLowerCase','started','_afterEach','obsBrowserTypeMockApplied','FcQLD','toUpperCase','finished_at','MHZnb','XLZKw','bBrLQ','fpueN','removeAllListeners','436249uQDpFR','toISOString','test','PxgAI','eventType','xhXlt','replace','winstonLogger','getInstance','HookRunFinished','YbChw','hookAnalyticsId','suites','_paths','../utils/constants','oRKsA','1|4|3|5|0|2','codeceptjs','OlGXH','CODECEPT','stop','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','expanded','\x20with\x20error\x20:\x20','guDjN','ijCOj','QyJaU','Playwright','stepAnalyticsId','length','WHUVC','start','groups','222176ipIdwQ','uploadData','ctx','gRdzD','prvjJ','captureEvent','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','SHhaY','exports','XzcNF','JkQyD','currentTest','shutdown','frameworkName','bddSteps','find','../../helpers/test-observability/sessionHandler','TEST_RUN_STARTED','backtrace','CLmPF','pid','status','path','../../helpers/test-observability/requestQueueHandler','forEach','kXYyj','../playwright/sessionDetails','xeREb','bs:addLog:','GDxMo','../../helpers/helper','stringify','QqCAV','err','../../helpers/test-observability/utils','message','RAGHt','appendTestItemLog','lfMMP','failure','defineProperty','STATE_PASSED','hook','getHierarchy','constructor','splice','XGtHF','JVBOo','mqCDx','string','feature','../../helpers/testhub/utils.js','DwcBd','event_type','logs','DWCqq','bufferPendingHookEvent','TEST_RUN_FINISHED','wwAVD','title','setupBrowserDetails','meta','statSync','Tbtft','xseAP','jnoCp','parent','MKwFO','resetSkipTestHooks','cGPTK','436VUgvzy','HOOK_RUN_STARTED','_beforeEach','bddStepFinish','concat','accessibilityPlatform','O11yHelper','ilmaE','kWDrl','PathHelper','16EQZYsx','toString','6651DQRAwd','WlhcW','getHooksForTest','startedAt','uGrTY','markedStatus','TEST_REPORTING_ANALYTICS','file_name','test_run_uuid','test_run','keys','oCcfS','duration','errorsDetailed','hook_run','dirname','session_id','fireEvent','hook_run_uuid','itMZU','body','__cloud_provider___','uNllK','10485009cjjIWq','TestRunFinished','TestRunSkipped','GWdyC','split','failureData','../../helpers/logger','javascript','connectOverCDP','4874244PxoUMw','wOUeM','sGKhQ','debug','OGQkB','mapTestHooks','getTime','match','eMztN'];a3_0x3df7=function(){return _0x4af7cb;};return a3_0x3df7();}const a3_0x2eac0d={};a3_0x2eac0d[a3_0x2d25d2(0x206)]=O11yHelper,a3_0x2eac0d[a3_0x2d25d2(0x1e3)]=STATE_PASSED,a3_0x2eac0d[a3_0x2d25d2(0x170)]=STATE_FAILED,a3_0x2eac0d['TEST_EVENTS']=TEST_EVENTS,module[a3_0x2d25d2(0x1c2)]=a3_0x2eac0d;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a4_0x35b8(_0x128224,_0xee6433){const _0xf1d644=a4_0xf1d6();return a4_0x35b8=function(_0x35b83a,_0x373005){_0x35b83a=_0x35b83a-0x6e;let _0x1657be=_0xf1d644[_0x35b83a];return _0x1657be;},a4_0x35b8(_0x128224,_0xee6433);}const a4_0x7b72c3=a4_0x35b8;(function(_0x30bd8a,_0x11371b){const _0x5a1f6f=a4_0x35b8,_0x82e39d=_0x30bd8a();while(!![]){try{const _0x3a556e=-parseInt(_0x5a1f6f(0xa5))/0x1*(parseInt(_0x5a1f6f(0xba))/0x2)+parseInt(_0x5a1f6f(0xb2))/0x3*(parseInt(_0x5a1f6f(0x103))/0x4)+-parseInt(_0x5a1f6f(0x9b))/0x5+parseInt(_0x5a1f6f(0x77))/0x6+parseInt(_0x5a1f6f(0xc6))/0x7*(-parseInt(_0x5a1f6f(0xce))/0x8)+-parseInt(_0x5a1f6f(0xc1))/0x9*(-parseInt(_0x5a1f6f(0xd3))/0xa)+parseInt(_0x5a1f6f(0xd5))/0xb;if(_0x3a556e===_0x11371b)break;else _0x82e39d['push'](_0x82e39d['shift']());}catch(_0x19d232){_0x82e39d['push'](_0x82e39d['shift']());}}}(a4_0xf1d6,0xefc6d));function a4_0xf1d6(){const _0x29e038=['tKPzi','936605fednMt','../../helpers/accessibility-automation/helper','skipSessionStatus','red','getInstance','VBjpu','parseFormatters','getPackageVersion','AziNm','\x20pending','696402BhbTEB','false','../playwright/accessibility-helper','green','kzQQV','exports','scenariosFailed','\x20ambiguous','handleApp','true','lZPeI','argv','SDK_SETUP','354zrfBZS','setLogLevel','isBrowserstackInfra','testObservability','../../helpers/testhub/testhubHandler','lmOFs','Jhxcm','vztVS','2ixzxYL','../../helpers/playwright-helper','../../helpers/test-observability/utils','mduBL','binSessionId','logLevel','tmp','21780mhJnxl','\x20steps','PLAYWRIGHT','zqvWQ','util','105196yAANVI','mergeOutputFiles','cucumber-js','configPath','RpypF','CuubT','zjixO','getErrorMessageFromResults','936nIZuGY','stepsFailed','platforms','debug','../../helpers/helper','6430RmFtxN','KOsWN','19719744tZCaZK','BROWSERSTACK_AUTOMATION','format','qMFqh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cliConfig','FRAMEWORKS','forEach','QhXyu','oXKRH','finalExecution','../v2/browserstackCLI','stepsPending','initialize','stepsAmbiguous','LzwgZ','stepsSkipped','yellow','\x20passed','steps','exitCode','isMainConnected','push','KUPWs','edXWy','cwd','stop','isChildConnected','chalk','../test-runner','BROWSERSTACK_TEST_OBSERVABILITY_YML','rHkuD','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getConfig','\x20failed','accessibilityOptions','wmHyM','stepsUndefined','getPlatformName','length','bold','accessibility','../utils/constants','getUserWorkerCount','indexOf','5248XkPAfk','framework','vTKsn','../../helpers/performance/constants','OdUMO','@playwright/test','turboScaleUrl','config','iOwHy','../../helpers/utilities','parallelsPerPlatform','\x20undefined','cyan','bwOcu','../../helpers/test-observability/constants','isRunning','isCLIEnabled','tVnuv','prepareCapabilities','../utils/clientTroubleshootingService','getHubUrl','mitRz','\x20skipped','proxySettings','then','env','removeDir','723264WGcKok','winstonLogger','isUndefined','Generating\x20consolidated\x20report...','bootstrap','BROWSERSTACK_FRAMEWORK','yioFd','Suhsk','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','Removing\x20tmp\x20directory\x20created\x20for\x20reports','start','end','\x20scenarios','CUCUMBER','browserstackAutomation','../../helpers/performance/performance-tester','setupBrowserstackLocal','setFrameworkDetail','bgWhite','join','FIBBm','finally','stepsPassed','browserStackCwd','iPruo','log','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','GwFdH','ZXbKH','stepsUnknown','EVENTS','xUlam','rGPcs'];a4_0xf1d6=function(){return _0x29e038;};return a4_0xf1d6();}const path=require('path'),util=require(a4_0x7b72c3(0xc5)),logger=require('../../helpers/logger')[a4_0x7b72c3(0x78)],helper=require(a4_0x7b72c3(0xd2)),utilities=require(a4_0x7b72c3(0x10c)),constants=require(a4_0x7b72c3(0x100)),{parallelCucumberRun}=require(a4_0x7b72c3(0xf2)),TestHubHandler=require(a4_0x7b72c3(0xb6)),testOpsHelper=require(a4_0x7b72c3(0xbc)),chalk=require(a4_0x7b72c3(0xf1)),PerformanceTester=require(a4_0x7b72c3(0x86)),PerformanceEvents=require(a4_0x7b72c3(0x106))[a4_0x7b72c3(0x97)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a4_0x7b72c3(0xbb)),ClientTroubleShootingService=require(a4_0x7b72c3(0x6f));function printCucumberStats(_0x59fc0d){const _0x24dec7=a4_0x7b72c3,_0x45d26e={};_0x45d26e[_0x24dec7(0xa0)]=function(_0x148f49,_0x1deedd){return _0x148f49>_0x1deedd;},_0x45d26e[_0x24dec7(0xe4)]=function(_0x482aa5,_0x556674){return _0x482aa5-_0x556674;},_0x45d26e[_0x24dec7(0xc4)]=function(_0x15f2a0,_0x2a4dec){return _0x15f2a0-_0x2a4dec;},_0x45d26e['OdUMO']=function(_0x573c05,_0x56d359){return _0x573c05>_0x56d359;},_0x45d26e[_0x24dec7(0x99)]=function(_0x582a90,_0x4dd1e2){return _0x582a90>_0x4dd1e2;},_0x45d26e[_0x24dec7(0x7e)]=function(_0x1e349a,_0x5f196f){return _0x1e349a>_0x5f196f;},_0x45d26e['fvxhh']=function(_0x105ca6,_0x41e4d0){return _0x105ca6>_0x41e4d0;},_0x45d26e[_0x24dec7(0xde)]=function(_0x3d03e2,_0x22f3c6){return _0x3d03e2>_0x22f3c6;},_0x45d26e[_0x24dec7(0x9a)]=function(_0x503a05,_0x3492eb){return _0x503a05>_0x3492eb;},_0x45d26e[_0x24dec7(0xca)]=function(_0x28953d,_0x7d7572){return _0x28953d>_0x7d7572;},_0x45d26e[_0x24dec7(0xbd)]=function(_0x1f85f8,_0x25b196){return _0x1f85f8+_0x25b196;},_0x45d26e[_0x24dec7(0xed)]=function(_0x42684f,_0x13cfa4){return _0x42684f+_0x13cfa4;},_0x45d26e[_0x24dec7(0x71)]=function(_0x2b4034,_0x253c06){return _0x2b4034===_0x253c06;},_0x45d26e[_0x24dec7(0xaf)]='****\x20RESULTS\x20****';const _0x3c20ee=_0x45d26e;let _0x167ce6=0x0;if(_0x3c20ee[_0x24dec7(0x71)](_0x59fc0d[_0x24dec7(0xfd)],0x0))return _0x167ce6;return console[_0x24dec7(0x90)](chalk[_0x24dec7(0xfe)][_0x24dec7(0x89)](_0x3c20ee['lZPeI'])),_0x59fc0d[_0x24dec7(0xdc)](_0x164e8d=>{const _0x2a4a2f=_0x24dec7,_0x1003a9=_0x164e8d[0x0],_0x24f9e2=_0x164e8d[0x1];helper[_0x2a4a2f(0xb4)]()&&console[_0x2a4a2f(0x90)]('\x0a'+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0xe6)](''+helper[_0x2a4a2f(0xfc)](_0x1003a9)));const _0x2a0589=_0x24f9e2['scenarios'],_0x2a41e5=_0x24f9e2[_0x2a4a2f(0xe8)],_0x2b24a8=_0x24f9e2[_0x2a4a2f(0xab)],_0x998ddd=_0x24f9e2[_0x2a4a2f(0xcf)],_0x57430d=_0x24f9e2[_0x2a4a2f(0x8d)],_0x550dd8=_0x24f9e2[_0x2a4a2f(0xe5)],_0x2a9148=_0x24f9e2[_0x2a4a2f(0xe1)],_0x39dcf2=_0x24f9e2[_0x2a4a2f(0xfb)],_0x2a4899=_0x24f9e2[_0x2a4a2f(0x96)],_0x5d76b1=_0x24f9e2[_0x2a4a2f(0xe3)],_0x2f8997=_0x24f9e2['processSuccess'];let _0x142df4=_0x2a0589+_0x2a4a2f(0x83);const _0x3ef316=_0x3c20ee['VBjpu'](_0x3c20ee[_0x2a4a2f(0xe4)](_0x2a0589,_0x2b24a8),0x0)?_0x3c20ee[_0x2a4a2f(0xc4)](_0x2a0589,_0x2b24a8):0x0;if(_0x3c20ee['VBjpu'](_0x2b24a8,0x0)&&_0x3c20ee[_0x2a4a2f(0x107)](_0x3ef316,0x0))_0x142df4+='\x20('+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0x9e)](_0x2b24a8+_0x2a4a2f(0xf8))+',\x20'+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0xa8)](_0x3ef316+'\x20passed')+')';else(_0x3c20ee[_0x2a4a2f(0x107)](_0x2b24a8,0x0)||_0x3c20ee[_0x2a4a2f(0xa0)](_0x3ef316,0x0))&&(_0x142df4+=_0x3c20ee[_0x2a4a2f(0x99)](_0x2b24a8,0x0)?'\x20('+chalk[_0x2a4a2f(0xfe)]['red'](_0x2b24a8+'\x20failed')+')':'\x20('+chalk[_0x2a4a2f(0xfe)]['green'](_0x3ef316+_0x2a4a2f(0xe7))+')');const _0x251039=_0x2a41e5+_0x2a4a2f(0xc2),_0x3b96b7=[];_0x3c20ee[_0x2a4a2f(0x7e)](_0x5d76b1,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0x9e)](_0x5d76b1+_0x2a4a2f(0xac)));_0x3c20ee['fvxhh'](_0x998ddd,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0x9e)](_0x998ddd+_0x2a4a2f(0xf8)));_0x3c20ee[_0x2a4a2f(0x99)](_0x57430d,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0xa8)](_0x57430d+_0x2a4a2f(0xe7)));_0x3c20ee['oXKRH'](_0x2a9148,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)]['yellow'](_0x2a9148+_0x2a4a2f(0xa4)));_0x3c20ee[_0x2a4a2f(0x9a)](_0x550dd8,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0x10f)](_0x550dd8+_0x2a4a2f(0x72)));_0x3c20ee['fvxhh'](_0x39dcf2,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk[_0x2a4a2f(0xfe)][_0x2a4a2f(0xe6)](_0x39dcf2+_0x2a4a2f(0x10e)));_0x3c20ee['RpypF'](_0x2a4899,0x0)&&_0x3b96b7[_0x2a4a2f(0xeb)](''+chalk['bold'][_0x2a4a2f(0xe6)](_0x2a4899+'\x20skipped'));const _0x13f2a1=_0x3c20ee[_0x2a4a2f(0xbd)](_0x3c20ee[_0x2a4a2f(0xed)](_0x3c20ee[_0x2a4a2f(0xbd)](_0x251039,'('),_0x3b96b7[_0x2a4a2f(0x8a)](',\x20')),')');console[_0x2a4a2f(0x90)](_0x3c20ee[_0x2a4a2f(0xbd)](_0x3c20ee[_0x2a4a2f(0xbd)](_0x3c20ee[_0x2a4a2f(0xed)](_0x3c20ee['edXWy']('\x0a',_0x142df4),'\x0a'),_0x13f2a1),'\x0a')),_0x3c20ee[_0x2a4a2f(0x71)](_0x2f8997,![])&&(_0x167ce6=0x1);}),_0x167ce6;}async function run(_0x1b993c,_0x3c1806,_0x243e68){const _0x30607a=a4_0x7b72c3,_0x5a8d8c={'GwFdH':function(_0x14e625,_0x26d91d){return _0x14e625(_0x26d91d);},'iPruo':function(_0x355d73,_0x267c4b){return _0x355d73>_0x267c4b;},'vztVS':_0x30607a(0x7a),'qMFqh':_0x30607a(0x80),'zjixO':'cucumber','AziNm':_0x30607a(0x108),'ikdOK':_0x30607a(0xc8),'kzQQV':function(_0x2443dd,_0x2c4eff,_0xc92d61,_0x669ddf){return _0x2443dd(_0x2c4eff,_0xc92d61,_0x669ddf);},'xEgxR':_0x30607a(0xc0),'yioFd':function(_0x3d044f,_0x1f0a80){return _0x3d044f-_0x1f0a80;},'FIBBm':function(_0x34668f,_0x55cf8f){return _0x34668f>=_0x55cf8f;},'vTKsn':function(_0x35246f,_0x162c89){return _0x35246f!=_0x162c89;},'ZXbKH':_0x30607a(0xae),'KUPWs':_0x30607a(0x9c),'iOwHy':_0x30607a(0xa7),'lmOFs':function(_0x112e3c,_0x3e6fee){return _0x112e3c(_0x3e6fee);},'wmHyM':_0x30607a(0xa6),'Jhxcm':function(_0x42d748,_0x25307d){return _0x42d748===_0x25307d;},'CuubT':_0x30607a(0xe0),'tVnuv':'../v2/cliUtils','usKVb':_0x30607a(0x111),'xUlam':function(_0x446336,_0x52546a){return _0x446336(_0x52546a);},'QhXyu':'--disable-test-observability','rHkuD':function(_0x1e120b,_0x55f65c){return _0x1e120b===_0x55f65c;},'KOsWN':function(_0x14e3c0,_0x526da9){return _0x14e3c0(_0x526da9);},'nqjeY':function(_0x1ddee5,_0x1990d3){return _0x1ddee5(_0x1990d3);},'bwOcu':_0x30607a(0x8e),'GioZG':function(_0x1959b2,_0x1a30f6,_0x4b0192,_0x4e86e4,_0x3aa38d,_0x51f111){return _0x1959b2(_0x1a30f6,_0x4b0192,_0x4e86e4,_0x3aa38d,_0x51f111);}},_0xe6baaf=helper['getPackageVersion'](_0x5a8d8c['AziNm']);global['__isPlaywrightInstalled']=!!_0xe6baaf,process['env'][_0x30607a(0x7c)]=process[_0x30607a(0x75)]['BROWSERSTACK_FRAMEWORK']||_0x243e68[_0x30607a(0x104)]||_0x5a8d8c['ikdOK'],await _0x243e68[_0x30607a(0xe2)](_0x1b993c);if(_0x243e68[_0x30607a(0x10a)]&&!helper[_0x30607a(0x79)](_0x243e68[_0x30607a(0x10a)][_0x30607a(0xbf)])){process[_0x30607a(0x75)]['BROWSERSTACK_LOG_LEVEL']=_0x243e68[_0x30607a(0x10a)][_0x30607a(0xbf)];const _0x5de6bc={};_0x5de6bc[_0x30607a(0xbf)]=_0x243e68[_0x30607a(0x10a)]['logLevel'],helper[_0x30607a(0xb3)](_0x5de6bc,new Map(),new Map());}await _0x5a8d8c[_0x30607a(0xa9)](checkPwandBootstrapCli,_0xe6baaf,constants[_0x30607a(0xdb)][_0x30607a(0x84)],_0x243e68);BrowserstackCLI[_0x30607a(0x9f)]()[_0x30607a(0xbe)]&&(process[_0x30607a(0x75)][_0x30607a(0x91)]=BrowserstackCLI['getInstance']()[_0x30607a(0xbe)]);helper['setUserConfigPath'](_0x243e68[_0x30607a(0x104)],_0x1b993c),await helper[_0x30607a(0xad)](_0x243e68[_0x30607a(0x10a)]);const _0x211076=helper['useW3C'](_0x243e68['config']);!helper[_0x30607a(0x79)](_0x243e68[_0x30607a(0x10a)]['accessibilityOptions'])&&(process[_0x30607a(0x75)][_0x30607a(0xf6)]=JSON['stringify'](_0x243e68[_0x30607a(0x10a)][_0x30607a(0xf9)]));if(!BrowserstackCLI[_0x30607a(0x9f)]()[_0x30607a(0x112)]()){const _0x29c94a=await TestHubHandler['launchBuild'](constants[_0x30607a(0xdb)][_0x30607a(0x84)],_0x243e68);}let _0x49c24e=[];if(!helper[_0x30607a(0xb4)]()){const _0x3890ad={};_0x3890ad[_0x30607a(0xd0)]=[],_0x49c24e=helper[_0x30607a(0x6e)](Object['assign']({},_0x243e68['config'],_0x3890ad),_0x211076,constants[_0x30607a(0xdb)][_0x30607a(0x84)]);}else _0x49c24e=helper[_0x30607a(0x6e)](_0x243e68[_0x30607a(0x10a)],_0x211076,constants['FRAMEWORKS'][_0x30607a(0x84)]);if(!_0x243e68[_0x30607a(0x10a)])return;const _0x1329ab=_0x243e68[_0x30607a(0x10a)][_0x30607a(0x10d)]||helper[_0x30607a(0x101)](_0x1b993c,_0x3c1806,_0x243e68[_0x30607a(0x10a)],constants[_0x30607a(0xdb)][_0x30607a(0x84)])||0x1,_0x4cc1b2={'server':helper[_0x30607a(0x70)](_0x243e68[_0x30607a(0x10a)]),'proxySettings':_0x243e68[_0x30607a(0x10a)][_0x30607a(0x73)],'maxWorkers':_0x1329ab,'browserStackLogLevel':_0x243e68[_0x30607a(0x10a)][_0x30607a(0xbf)],'skipSessionName':_0x243e68[_0x30607a(0x10a)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x243e68[_0x30607a(0x10a)]['testContextOptions'][_0x30607a(0x9d)],'turboScaleUrl':_0x243e68[_0x30607a(0x10a)][_0x30607a(0x109)]},_0x57a4d1=process[_0x30607a(0xb0)],[_0x10c18d,_0x51bf5f]=helper[_0x30607a(0xa1)](_0x57a4d1),_0x2016cb=path[_0x30607a(0x8a)](process[_0x30607a(0xee)](),_0x5a8d8c['xEgxR']);if(_0x5a8d8c[_0x30607a(0x8f)](_0x51bf5f[_0x30607a(0xfd)],0x0)){helper['createDir'](_0x2016cb);for(let _0x392159=_0x5a8d8c[_0x30607a(0x7d)](_0x10c18d[_0x30607a(0xfd)],0x1);_0x5a8d8c[_0x30607a(0x8b)](_0x392159,0x0);_0x392159--){_0x57a4d1['splice'](_0x10c18d[_0x392159],0x2);}}_0x5a8d8c[_0x30607a(0x105)](_0x243e68[_0x30607a(0x10a)][_0x30607a(0xb5)],null)?process[_0x30607a(0x75)][_0x30607a(0xf3)]=_0x243e68[_0x30607a(0x10a)][_0x30607a(0xb5)]:process[_0x30607a(0x75)][_0x30607a(0xf3)]=_0x5a8d8c[_0x30607a(0x95)];if(_0xe6baaf)try{const {checkAccessibilityPlatformConfig:_0x596526}=_0x5a8d8c[_0x30607a(0x94)](require,_0x5a8d8c[_0x30607a(0xec)]),{setAccessibilityCapabilities:_0x42759f}=_0x5a8d8c[_0x30607a(0x94)](require,_0x5a8d8c[_0x30607a(0x10b)]),_0xd2a62d=_0x5a8d8c['lmOFs'](_0x596526,_0x243e68[_0x30607a(0x10a)]);if(!helper[_0x30607a(0x79)](_0x243e68[_0x30607a(0x10a)]['accessibility']))process[_0x30607a(0x75)][_0x30607a(0x92)]=_0x5a8d8c[_0x30607a(0x94)](String,!!_0x243e68['config'][_0x30607a(0xff)]);else helper[_0x30607a(0x79)](process[_0x30607a(0x75)][_0x30607a(0x92)])&&(process[_0x30607a(0x75)][_0x30607a(0x92)]=_0xd2a62d?_0x5a8d8c[_0x30607a(0x95)]:_0x5a8d8c[_0x30607a(0xfa)]);process[_0x30607a(0x75)][_0x30607a(0x93)]=_0xd2a62d?_0x5a8d8c[_0x30607a(0x95)]:_0x5a8d8c[_0x30607a(0xfa)],!BrowserstackCLI[_0x30607a(0x9f)]()[_0x30607a(0x112)]()&&_0x5a8d8c[_0x30607a(0xb8)](process[_0x30607a(0x75)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5a8d8c['ZXbKH'])&&_0x5a8d8c['GwFdH'](_0x42759f,_0x243e68[_0x30607a(0x10a)]);}catch(_0x4284ed){logger[_0x30607a(0xd1)](_0x30607a(0x7f)+util[_0x30607a(0xd7)](_0x4284ed));}try{const _0x4574f8=_0x5a8d8c[_0x30607a(0x94)](require,_0x5a8d8c[_0x30607a(0xcb)]),_0x2ab2ed=_0x5a8d8c['GwFdH'](require,_0x5a8d8c[_0x30607a(0x114)]),{FRAMEWORKS:_0x27b9b3}=_0x5a8d8c[_0x30607a(0xb7)](require,_0x5a8d8c['usKVb']),{checkAccessibilityPlatformConfig:_0x4f05d5}=_0x5a8d8c[_0x30607a(0xb7)](require,_0x5a8d8c[_0x30607a(0xec)]),{setAccessibilityCapabilities:_0x1d65f0}=_0x5a8d8c[_0x30607a(0x98)](require,_0x5a8d8c[_0x30607a(0x10b)]),_0x37a21a=helper[_0x30607a(0xa2)](_0x5a8d8c[_0x30607a(0xa3)]);if(_0x37a21a){_0x2ab2ed[_0x30607a(0x88)](constants[_0x30607a(0xdb)]['CUCUMBER'],constants[_0x30607a(0xdb)][_0x30607a(0xc3)]);const _0x216c92=_0x4574f8[_0x30607a(0x9f)]();_0x216c92['setBrowserstackConfig'](_0x243e68['config'],_0x243e68[_0x30607a(0xc9)],_0x243e68[_0x30607a(0xda)]);!_0x216c92[_0x30607a(0xea)]&&!_0x216c92[_0x30607a(0xf0)]&&await _0x216c92[_0x30607a(0x7b)]();const _0x327181=_0x4574f8['getInstance']()[_0x30607a(0xf7)]();!helper['isFalse'](_0x327181[_0x30607a(0x85)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x5a8d8c[_0x30607a(0x95)]);_0x5a8d8c['Jhxcm'](_0x327181[_0x30607a(0x85)],![])&&(process[_0x30607a(0x75)][_0x30607a(0xd6)]=_0x5a8d8c[_0x30607a(0xfa)]);const _0x30c0a4=_0x3c1806[_0x30607a(0x102)](_0x5a8d8c[_0x30607a(0xdd)]);(_0x5a8d8c[_0x30607a(0x8b)](_0x30c0a4,0x0)||_0x5a8d8c[_0x30607a(0xb8)](_0x327181[_0x30607a(0xb5)],![]))&&(process[_0x30607a(0x75)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x5a8d8c[_0x30607a(0xfa)]);if(!_0x4574f8[_0x30607a(0x9f)]()[_0x30607a(0x112)]()){let _0x5f336d=_0x5a8d8c[_0x30607a(0xf4)](process['env'][_0x30607a(0x92)],_0x5a8d8c[_0x30607a(0x95)]);_0x5f336d=_0x5f336d||_0x5a8d8c[_0x30607a(0xd4)](_0x4f05d5,_0x243e68[_0x30607a(0x10a)]),process[_0x30607a(0x75)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5f336d,_0x5f336d&&_0x5a8d8c['nqjeY'](_0x1d65f0,_0x243e68['config']);}}}catch(_0x1dff12){logger['debug']('Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20'+util[_0x30607a(0xd7)](_0x1dff12));}!BrowserstackCLI[_0x30607a(0x9f)]()[_0x30607a(0x112)]()&&await _0x243e68[_0x30607a(0x87)]();PerformanceTester[_0x30607a(0x82)](PerformanceEvents[_0x30607a(0xb1)]),process[_0x30607a(0x75)][_0x5a8d8c[_0x30607a(0x110)]]=process[_0x30607a(0xee)]();let _0x13dbe1;_0x5a8d8c['GioZG'](parallelCucumberRun,_0x49c24e,_0x4cc1b2,_0x243e68[_0x30607a(0x10a)],_0x57a4d1,_0x51bf5f)[_0x30607a(0x74)](async _0x411aab=>{const _0x251fdf=_0x30607a;PerformanceTester[_0x251fdf(0x81)](PerformanceEvents[_0x251fdf(0xf5)]),_0x13dbe1=_0x411aab;const _0x4789ef=_0x5a8d8c[_0x251fdf(0x94)](printCucumberStats,_0x411aab);process[_0x251fdf(0xe9)]=_0x4789ef,_0x5a8d8c[_0x251fdf(0x8f)](_0x51bf5f[_0x251fdf(0xfd)],0x0)&&(logger['debug'](_0x5a8d8c[_0x251fdf(0xb9)]),helper[_0x251fdf(0xc7)](_0x2016cb,_0x51bf5f),logger[_0x251fdf(0xd1)](_0x5a8d8c[_0x251fdf(0xd8)]),helper[_0x251fdf(0x76)](_0x2016cb));})[_0x30607a(0x8c)](async()=>{const _0x44968f=_0x30607a;PerformanceTester[_0x44968f(0x81)](PerformanceEvents[_0x44968f(0xf5)]),_0x243e68['errorMessage']=helper[_0x44968f(0xcd)](_0x13dbe1,_0x5a8d8c[_0x44968f(0xcc)]),testOpsHelper['printBuildLink']();const _0x19e6a5=BrowserstackCLI[_0x44968f(0x113)]();try{await TestHubHandler[_0x44968f(0xef)](),await BrowserstackCLI[_0x44968f(0x9f)]()[_0x44968f(0xef)]();}catch(_0x173091){logger['debug'](_0x44968f(0xd9)+util['format'](_0x173091));}await utilities[_0x44968f(0xdf)](_0x243e68,_0x19e6a5);});}module[a4_0x7b72c3(0xaa)]=run;
|
|
2
|
+
'use strict';const a4_0x50e077=a4_0x2a42;function a4_0x3e79(){const _0x1d1de2=['cVxYE','\x20failed','start','cyan','Bckmk','isRunning','skipSessionStatus','2406142YavhhX','nxEPj','wBVvV','hUBib','vdZAE','../../helpers/helper','logLevel','../v2/cliUtils','platforms','pGisL','ftNgo','removeDir','\x20undefined','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','109310wfToJw','stepsSkipped','../../helpers/logger','../test-runner','configPath','EVENTS','getInstance','FCGdR','log','scenarios','initialize','hdXle','forEach','\x20steps','isBrowserstackInfra','getErrorMessageFromResults','then','stepsFailed','../playwright/accessibility-helper','length','debug','printBuildLink','YSoNu','GWfIP','framework','mergeOutputFiles','858dAgOrj','nVklH','__isPlaywrightInstalled','stepsAmbiguous','12420GzLHHa','parseFormatters','****\x20RESULTS\x20****','accessibilityOptions','testObservability','assign','../../helpers/utilities','stepsUnknown','SbkpP','skipSessionName','turboScaleUrl','scenariosFailed','dxTrF','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','TVweE','BROWSERSTACK_CLI_BIN_SESSION_ID','binSessionId','setBrowserstackConfig','indexOf','BjNgS','../../helpers/accessibility-automation/helper','end','@playwright/test','isCLIEnabled','stCAZ','MoLiO','bootstrap','vmjMP','../../helpers/test-observability/constants','QyKZs','wGVFU','errorMessage','config','handleApp','--disable-test-observability','useW3C','wKdiq','96943gpilCz','SDK_SETUP','green','SDK_CLEANUP','myOYL','yellow','Removing\x20tmp\x20directory\x20created\x20for\x20reports','format','proxySettings','isUndefined','ttPWz','../utils/constants','SVnQA','5028nUAgBl','wWpyG','red','stepsUndefined','winstonLogger','../utils/clientTroubleshootingService','FRAMEWORKS','true','getPlatformName','isMainConnected','env','\x20pending','uYqWW','browserstackAutomation','IaKeE','path','chalk','BROWSERSTACK_LOG_LEVEL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../v2/browserstackCLI','accessibility','jpvsr','push','CUCUMBER','../../helpers/playwright-helper','BROWSERSTACK_TEST_OBSERVABILITY','cwd','getHubUrl','jZHoV','XbOlu','getUserWorkerCount','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','sUKcz','5540gOGLrA','nuCdR','parallelsPerPlatform','\x20scenarios','Generating\x20consolidated\x20report...','ZDIuN','../../helpers/performance/performance-tester','31187JsRTYl','4152ZgBpGZ','aArXt','1632189MHMdpm','bgWhite','2476xFxZDF','1lkbiyG','prepareCapabilities','twGWW','204xwLuhz','argv','browserStackCwd','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','setFrameworkDetail','BROWSERSTACK_FRAMEWORK','uayeR','stop','\x20passed','bold','stringify','BROWSERSTACK_AUTOMATION','isChildConnected','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tTfYD','finalExecution','vYkwW','cucumber','join','setupBrowserstackLocal'];a4_0x3e79=function(){return _0x1d1de2;};return a4_0x3e79();}(function(_0xa5d0fb,_0x222cae){const _0x88bcd3=a4_0x2a42,_0x4409c4=_0xa5d0fb();while(!![]){try{const _0x2710df=parseInt(_0x88bcd3(0x1e3))/0x1*(parseInt(_0x88bcd3(0x201))/0x2)+parseInt(_0x88bcd3(0x1e0))/0x3+parseInt(_0x88bcd3(0x1e2))/0x4*(-parseInt(_0x88bcd3(0x1d6))/0x5)+-parseInt(_0x88bcd3(0x1e6))/0x6*(-parseInt(_0x88bcd3(0x1a8))/0x7)+parseInt(_0x88bcd3(0x1de))/0x8*(-parseInt(_0x88bcd3(0x183))/0x9)+parseInt(_0x88bcd3(0x210))/0xa*(parseInt(_0x88bcd3(0x17f))/0xb)+-parseInt(_0x88bcd3(0x1b5))/0xc*(parseInt(_0x88bcd3(0x1dd))/0xd);if(_0x2710df===_0x222cae)break;else _0x4409c4['push'](_0x4409c4['shift']());}catch(_0x1b3531){_0x4409c4['push'](_0x4409c4['shift']());}}}(a4_0x3e79,0xa1f45));function a4_0x2a42(_0x1a553b,_0x4446e7){const _0x3e7921=a4_0x3e79();return a4_0x2a42=function(_0x2a42d5,_0x3030fe){_0x2a42d5=_0x2a42d5-0x16a;let _0x34180a=_0x3e7921[_0x2a42d5];return _0x34180a;},a4_0x2a42(_0x1a553b,_0x4446e7);}const path=require(a4_0x50e077(0x1c4)),util=require('util'),logger=require(a4_0x50e077(0x212))[a4_0x50e077(0x1b9)],helper=require(a4_0x50e077(0x206)),utilities=require(a4_0x50e077(0x189)),constants=require(a4_0x50e077(0x1b3)),{parallelCucumberRun}=require(a4_0x50e077(0x213)),TestHubHandler=require(a4_0x50e077(0x20e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a4_0x50e077(0x1c5)),PerformanceTester=require(a4_0x50e077(0x1dc)),PerformanceEvents=require('../../helpers/performance/constants')[a4_0x50e077(0x16a)],BrowserstackCLI=require(a4_0x50e077(0x1c8)),CLIUtils=require(a4_0x50e077(0x208)),{checkPwandBootstrapCli}=require(a4_0x50e077(0x1cd)),ClientTroubleShootingService=require(a4_0x50e077(0x1ba));function printCucumberStats(_0x5a8d78){const _0x61f337=a4_0x50e077,_0x8e7456={};_0x8e7456[_0x61f337(0x20a)]=function(_0x5e5ead,_0x5b5ccb){return _0x5e5ead>_0x5b5ccb;},_0x8e7456[_0x61f337(0x1c1)]=function(_0x104fef,_0x348dbd){return _0x104fef-_0x348dbd;},_0x8e7456['nuCdR']=function(_0x59ebac,_0x59a81b){return _0x59ebac-_0x59a81b;},_0x8e7456[_0x61f337(0x19e)]=function(_0x5cf1ea,_0x31cb3c){return _0x5cf1ea>_0x31cb3c;},_0x8e7456[_0x61f337(0x205)]=function(_0x3f28a3,_0x5b92a1){return _0x3f28a3>_0x5b92a1;},_0x8e7456['wWpyG']=function(_0x5565aa,_0x3b156d){return _0x5565aa>_0x3b156d;},_0x8e7456[_0x61f337(0x170)]=function(_0x5542a7,_0x2dd00a){return _0x5542a7+_0x2dd00a;},_0x8e7456[_0x61f337(0x1a7)]=function(_0x335de6,_0x119df8){return _0x335de6+_0x119df8;},_0x8e7456[_0x61f337(0x19b)]=function(_0x242dcd,_0x5d0cd7){return _0x242dcd+_0x5d0cd7;},_0x8e7456[_0x61f337(0x18f)]=function(_0x4a3e00,_0x2af932){return _0x4a3e00+_0x2af932;},_0x8e7456[_0x61f337(0x1df)]=function(_0x4e3e00,_0xbb2678){return _0x4e3e00+_0xbb2678;},_0x8e7456[_0x61f337(0x1d1)]=function(_0xd22ea4,_0x501318){return _0xd22ea4===_0x501318;},_0x8e7456[_0x61f337(0x180)]=_0x61f337(0x185);const _0x346e5b=_0x8e7456;let _0x404814=0x0;if(_0x346e5b[_0x61f337(0x1d1)](_0x5a8d78[_0x61f337(0x178)],0x0))return _0x404814;return console['log'](chalk[_0x61f337(0x1ef)][_0x61f337(0x1e1)](_0x346e5b[_0x61f337(0x180)])),_0x5a8d78[_0x61f337(0x171)](_0x2c2a9d=>{const _0x496ee6=_0x61f337,_0x56670b=_0x2c2a9d[0x0],_0xe1127e=_0x2c2a9d[0x1];helper['isBrowserstackInfra']()&&console[_0x496ee6(0x16d)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x496ee6(0x1bd)](_0x56670b)));const _0x3fb5ab=_0xe1127e[_0x496ee6(0x16e)],_0x3f1bfc=_0xe1127e['steps'],_0x3f5ce9=_0xe1127e[_0x496ee6(0x18e)],_0x4999f4=_0xe1127e[_0x496ee6(0x176)],_0x2271ab=_0xe1127e['stepsPassed'],_0x165d54=_0xe1127e[_0x496ee6(0x211)],_0x58d87b=_0xe1127e['stepsPending'],_0x142fdb=_0xe1127e[_0x496ee6(0x1b8)],_0x40f273=_0xe1127e[_0x496ee6(0x18a)],_0x28417a=_0xe1127e[_0x496ee6(0x182)],_0x70e6d2=_0xe1127e['processSuccess'];let _0x3f3644=_0x3fb5ab+_0x496ee6(0x1d9);const _0x42f98e=_0x346e5b['pGisL'](_0x346e5b[_0x496ee6(0x1c1)](_0x3fb5ab,_0x3f5ce9),0x0)?_0x346e5b[_0x496ee6(0x1d7)](_0x3fb5ab,_0x3f5ce9):0x0;if(_0x346e5b['vmjMP'](_0x3f5ce9,0x0)&&_0x346e5b[_0x496ee6(0x19e)](_0x42f98e,0x0))_0x3f3644+='\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x3f5ce9+_0x496ee6(0x1fb))+',\x20'+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1aa)](_0x42f98e+'\x20passed')+')';else(_0x346e5b['vmjMP'](_0x3f5ce9,0x0)||_0x346e5b[_0x496ee6(0x19e)](_0x42f98e,0x0))&&(_0x3f3644+=_0x346e5b[_0x496ee6(0x205)](_0x3f5ce9,0x0)?'\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x3f5ce9+_0x496ee6(0x1fb))+')':'\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1aa)](_0x42f98e+_0x496ee6(0x1ee))+')');const _0x4b7762=_0x3f1bfc+_0x496ee6(0x172),_0x132744=[];_0x346e5b[_0x496ee6(0x20a)](_0x28417a,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)]['red'](_0x28417a+'\x20ambiguous'));_0x346e5b[_0x496ee6(0x20a)](_0x4999f4,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x4999f4+_0x496ee6(0x1fb)));_0x346e5b[_0x496ee6(0x1b6)](_0x2271ab,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1aa)](_0x2271ab+'\x20passed'));_0x346e5b[_0x496ee6(0x20a)](_0x58d87b,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1ad)](_0x58d87b+_0x496ee6(0x1c0)));_0x346e5b[_0x496ee6(0x205)](_0x165d54,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1fd)](_0x165d54+'\x20skipped'));_0x346e5b[_0x496ee6(0x19e)](_0x142fdb,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)]['yellow'](_0x142fdb+_0x496ee6(0x20d)));_0x346e5b['wWpyG'](_0x40f273,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1ad)](_0x40f273+'\x20skipped'));const _0x27c998=_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x1a7)](_0x346e5b['stCAZ'](_0x4b7762,'('),_0x132744[_0x496ee6(0x1f8)](',\x20')),')');console[_0x496ee6(0x16d)](_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x18f)](_0x346e5b[_0x496ee6(0x1df)]('\x0a',_0x3f3644),'\x0a'),_0x27c998),'\x0a')),_0x346e5b[_0x496ee6(0x1d1)](_0x70e6d2,![])&&(_0x404814=0x1);}),_0x404814;}async function run(_0xeb529,_0x3040ad,_0x3bd822){const _0x1bad11=a4_0x50e077,_0x3eec88={'SbkpP':function(_0x2e03f0,_0x53486e){return _0x2e03f0(_0x53486e);},'IaKeE':function(_0x18abea,_0x584b6c){return _0x18abea>_0x584b6c;},'tTfYD':_0x1bad11(0x1da),'jpvsr':_0x1bad11(0x1ae),'ftNgo':_0x1bad11(0x1f7),'ttPWz':_0x1bad11(0x199),'wGVFU':'cucumber-js','XbOlu':function(_0x10cb8d,_0x1606ed,_0x5698e4,_0x539c04){return _0x10cb8d(_0x1606ed,_0x5698e4,_0x539c04);},'myOYL':'tmp','cVxYE':function(_0x2e6303,_0x2fa545){return _0x2e6303>_0x2fa545;},'ZDIuN':function(_0x50b86a,_0x3baef3){return _0x50b86a-_0x3baef3;},'twGWW':function(_0x1ad4a9,_0x5643c4){return _0x1ad4a9>=_0x5643c4;},'Bckmk':function(_0x45c54f,_0x32c702){return _0x45c54f!=_0x32c702;},'nxEPj':_0x1bad11(0x1bc),'wBVvV':_0x1bad11(0x197),'GWfIP':_0x1bad11(0x177),'ggOuk':function(_0x264a45,_0x21f0ed){return _0x264a45(_0x21f0ed);},'TVweE':'false','SVnQA':function(_0x2ca3f5,_0x17ecbf){return _0x2ca3f5===_0x17ecbf;},'MoLiO':function(_0x1f77e9,_0x144157){return _0x1f77e9(_0x144157);},'GIjkN':_0x1bad11(0x1c8),'YSoNu':function(_0x7d8f0d,_0x425f1b){return _0x7d8f0d(_0x425f1b);},'FCGdR':_0x1bad11(0x208),'vYkwW':_0x1bad11(0x19f),'sUKcz':function(_0x46548e,_0x13c288){return _0x46548e(_0x13c288);},'hUBib':_0x1bad11(0x1a5),'QyKZs':function(_0x160dac,_0x537e60){return _0x160dac===_0x537e60;},'uayeR':function(_0x50c07e,_0x357c84){return _0x50c07e===_0x357c84;},'mDDwn':function(_0x52b2df,_0x237a6f){return _0x52b2df(_0x237a6f);},'BjNgS':_0x1bad11(0x1e8),'PQsfA':function(_0x24c404,_0x3aef16,_0xcbb13f,_0x4675b3,_0x39f3ec,_0x879367){return _0x24c404(_0x3aef16,_0xcbb13f,_0x4675b3,_0x39f3ec,_0x879367);}},_0x7c166=helper['getPackageVersion'](_0x3eec88[_0x1bad11(0x1b2)]);global[_0x1bad11(0x181)]=!!_0x7c166,process['env'][_0x1bad11(0x1eb)]=process['env'][_0x1bad11(0x1eb)]||_0x3bd822[_0x1bad11(0x17d)]||_0x3eec88[_0x1bad11(0x1a1)],await _0x3bd822[_0x1bad11(0x16f)](_0xeb529);if(_0x3bd822[_0x1bad11(0x1a3)]&&!helper[_0x1bad11(0x1b1)](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x207)])){process['env'][_0x1bad11(0x1c6)]=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x207)];const _0x18fb6e={};_0x18fb6e[_0x1bad11(0x207)]=_0x3bd822['config']['logLevel'],helper['setLogLevel'](_0x18fb6e,new Map(),new Map());}await _0x3eec88[_0x1bad11(0x1d2)](checkPwandBootstrapCli,_0x7c166,constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],_0x3bd822);BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x193)]&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x192)]=BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x193)]);helper['setUserConfigPath'](_0x3bd822[_0x1bad11(0x17d)],_0xeb529),await helper[_0x1bad11(0x1a4)](_0x3bd822[_0x1bad11(0x1a3)]);const _0x2d6560=helper[_0x1bad11(0x1a6)](_0x3bd822[_0x1bad11(0x1a3)]);!helper[_0x1bad11(0x1b1)](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x186)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x20f)]=JSON[_0x1bad11(0x1f0)](_0x3bd822[_0x1bad11(0x1a3)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x1bad11(0x1ff)]()){const _0x2dcfe9=await TestHubHandler['launchBuild'](constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],_0x3bd822);}let _0x5ee1f7=[];if(!helper[_0x1bad11(0x173)]()){const _0x4f9edf={};_0x4f9edf[_0x1bad11(0x209)]=[],_0x5ee1f7=helper[_0x1bad11(0x1e4)](Object[_0x1bad11(0x188)]({},_0x3bd822[_0x1bad11(0x1a3)],_0x4f9edf),_0x2d6560,constants[_0x1bad11(0x1bb)]['CUCUMBER']);}else _0x5ee1f7=helper[_0x1bad11(0x1e4)](_0x3bd822[_0x1bad11(0x1a3)],_0x2d6560,constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)]);if(!_0x3bd822[_0x1bad11(0x1a3)])return;const _0x3ed967=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1d8)]||helper[_0x1bad11(0x1d3)](_0xeb529,_0x3040ad,_0x3bd822[_0x1bad11(0x1a3)],constants['FRAMEWORKS'][_0x1bad11(0x1cc)])||0x1,_0x5a74f5={'server':helper[_0x1bad11(0x1d0)](_0x3bd822[_0x1bad11(0x1a3)]),'proxySettings':_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1b0)],'maxWorkers':_0x3ed967,'browserStackLogLevel':_0x3bd822['config'][_0x1bad11(0x207)],'skipSessionName':_0x3bd822['config']['testContextOptions'][_0x1bad11(0x18c)],'skipSessionStatus':_0x3bd822[_0x1bad11(0x1a3)]['testContextOptions'][_0x1bad11(0x200)],'turboScaleUrl':_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x18d)]},_0x324905=process[_0x1bad11(0x1e7)],[_0x314f78,_0x4f7efe]=helper[_0x1bad11(0x184)](_0x324905),_0x234e72=path[_0x1bad11(0x1f8)](process[_0x1bad11(0x1cf)](),_0x3eec88[_0x1bad11(0x1ac)]);if(_0x3eec88[_0x1bad11(0x1fa)](_0x4f7efe[_0x1bad11(0x178)],0x0)){helper['createDir'](_0x234e72);for(let _0x4e5765=_0x3eec88[_0x1bad11(0x1db)](_0x314f78['length'],0x1);_0x3eec88[_0x1bad11(0x1e5)](_0x4e5765,0x0);_0x4e5765--){_0x324905['splice'](_0x314f78[_0x4e5765],0x2);}}_0x3eec88[_0x1bad11(0x1fe)](_0x3bd822[_0x1bad11(0x1a3)]['testObservability'],null)?process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x187)]:process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3eec88['nxEPj'];if(_0x7c166)try{const {checkAccessibilityPlatformConfig:_0x1288f6}=_0x3eec88[_0x1bad11(0x18b)](require,_0x3eec88[_0x1bad11(0x203)]),{setAccessibilityCapabilities:_0x518eb0}=_0x3eec88[_0x1bad11(0x18b)](require,_0x3eec88[_0x1bad11(0x17c)]),_0xd2df27=_0x3eec88['SbkpP'](_0x1288f6,_0x3bd822[_0x1bad11(0x1a3)]);if(!helper['isUndefined'](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1c9)]))process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3eec88['ggOuk'](String,!!_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1c9)]);else helper[_0x1bad11(0x1b1)](process[_0x1bad11(0x1bf)][_0x1bad11(0x1c7)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1c7)]=_0xd2df27?_0x3eec88[_0x1bad11(0x202)]:_0x3eec88[_0x1bad11(0x191)]);process[_0x1bad11(0x1bf)][_0x1bad11(0x1f3)]=_0xd2df27?_0x3eec88['nxEPj']:_0x3eec88['TVweE'],!BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x1ff)]()&&_0x3eec88[_0x1bad11(0x1b4)](process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x3eec88[_0x1bad11(0x202)])&&_0x3eec88[_0x1bad11(0x19c)](_0x518eb0,_0x3bd822[_0x1bad11(0x1a3)]);}catch(_0x282ba1){logger['debug'](_0x1bad11(0x190)+util['format'](_0x282ba1));}try{const _0x1863eb=_0x3eec88['MoLiO'](require,_0x3eec88['GIjkN']),_0x2e5a7e=_0x3eec88[_0x1bad11(0x17b)](require,_0x3eec88[_0x1bad11(0x16c)]),{FRAMEWORKS:_0x550a44}=_0x3eec88['ggOuk'](require,_0x3eec88[_0x1bad11(0x1f6)]),{checkAccessibilityPlatformConfig:_0x3487a4}=_0x3eec88[_0x1bad11(0x19c)](require,_0x3eec88[_0x1bad11(0x203)]),{setAccessibilityCapabilities:_0x53b6c8}=_0x3eec88[_0x1bad11(0x1d5)](require,_0x3eec88['GWfIP']),_0x411796=helper['getPackageVersion'](_0x3eec88['ttPWz']);if(_0x411796){_0x2e5a7e[_0x1bad11(0x1ea)](constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],constants[_0x1bad11(0x1bb)]['PLAYWRIGHT']);const _0x251491=_0x1863eb[_0x1bad11(0x16b)]();_0x251491[_0x1bad11(0x194)](_0x3bd822['config'],_0x3bd822[_0x1bad11(0x214)],_0x3bd822['cliConfig']);!_0x251491[_0x1bad11(0x1be)]&&!_0x251491[_0x1bad11(0x1f2)]&&await _0x251491[_0x1bad11(0x19d)]();const _0x41dee8=_0x1863eb[_0x1bad11(0x16b)]()['getConfig']();!helper['isFalse'](_0x41dee8[_0x1bad11(0x1c2)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1f1)]=_0x3eec88[_0x1bad11(0x202)]);_0x3eec88[_0x1bad11(0x1b4)](_0x41dee8[_0x1bad11(0x1c2)],![])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1f1)]=_0x3eec88[_0x1bad11(0x191)]);const _0x3a2a9d=_0x3040ad[_0x1bad11(0x195)](_0x3eec88[_0x1bad11(0x204)]);(_0x3eec88[_0x1bad11(0x1e5)](_0x3a2a9d,0x0)||_0x3eec88[_0x1bad11(0x1a0)](_0x41dee8[_0x1bad11(0x187)],![]))&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1ce)]=_0x3eec88['TVweE']);if(!_0x1863eb['getInstance']()['isRunning']()){let _0x4dc197=_0x3eec88[_0x1bad11(0x1ec)](process['env'][_0x1bad11(0x1c7)],_0x3eec88['nxEPj']);_0x4dc197=_0x4dc197||_0x3eec88[_0x1bad11(0x1d5)](_0x3487a4,_0x3bd822[_0x1bad11(0x1a3)]),process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4dc197,_0x4dc197&&_0x3eec88['mDDwn'](_0x53b6c8,_0x3bd822[_0x1bad11(0x1a3)]);}}}catch(_0x18535a){logger[_0x1bad11(0x179)](_0x1bad11(0x1d4)+util[_0x1bad11(0x1af)](_0x18535a));}!BrowserstackCLI['getInstance']()[_0x1bad11(0x1ff)]()&&await _0x3bd822[_0x1bad11(0x1f9)]();PerformanceTester[_0x1bad11(0x198)](PerformanceEvents[_0x1bad11(0x1a9)]),process['env'][_0x3eec88[_0x1bad11(0x196)]]=process[_0x1bad11(0x1cf)]();let _0x471396;_0x3eec88['PQsfA'](parallelCucumberRun,_0x5ee1f7,_0x5a74f5,_0x3bd822[_0x1bad11(0x1a3)],_0x324905,_0x4f7efe)[_0x1bad11(0x175)](async _0x408e4f=>{const _0x4e91a0=_0x1bad11;PerformanceTester[_0x4e91a0(0x1fc)](PerformanceEvents[_0x4e91a0(0x1ab)]),_0x471396=_0x408e4f;const _0x2e350c=_0x3eec88[_0x4e91a0(0x18b)](printCucumberStats,_0x408e4f);process['exitCode']=_0x2e350c,_0x3eec88[_0x4e91a0(0x1c3)](_0x4f7efe[_0x4e91a0(0x178)],0x0)&&(logger[_0x4e91a0(0x179)](_0x3eec88[_0x4e91a0(0x1f4)]),helper[_0x4e91a0(0x17e)](_0x234e72,_0x4f7efe),logger[_0x4e91a0(0x179)](_0x3eec88[_0x4e91a0(0x1ca)]),helper[_0x4e91a0(0x20c)](_0x234e72));})['finally'](async()=>{const _0x31f91b=_0x1bad11;PerformanceTester['start'](PerformanceEvents[_0x31f91b(0x1ab)]),_0x3bd822[_0x31f91b(0x1a2)]=helper[_0x31f91b(0x174)](_0x471396,_0x3eec88[_0x31f91b(0x20b)]),testOpsHelper[_0x31f91b(0x17a)]();const _0x5eb5a3=BrowserstackCLI[_0x31f91b(0x19a)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x31f91b(0x1ed)]();}catch(_0x365596){logger['debug'](_0x31f91b(0x1e9)+util['format'](_0x365596));}await utilities[_0x31f91b(0x1f5)](_0x3bd822,_0x5eb5a3);});}module['exports']=run;
|