browserstack-node-sdk 1.65.5 → 1.65.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a1_0x4a381a=a1_0x4933;function a1_0x4933(_0x3d6c5f,_0x1c8a2c){const _0x3f46a1=a1_0x3f46();return a1_0x4933=function(_0x49332f,_0xe3ae8){_0x49332f=_0x49332f-0x1aa;let _0x4f4e36=_0x3f46a1[_0x49332f];return _0x4f4e36;},a1_0x4933(_0x3d6c5f,_0x1c8a2c);}(function(_0x371525,_0x36e1de){const _0xcbee0d=a1_0x4933,_0x379261=_0x371525();while(!![]){try{const _0x318f5d=parseInt(_0xcbee0d(0x233))/0x1+-parseInt(_0xcbee0d(0x254))/0x2+-parseInt(_0xcbee0d(0x1f2))/0x3+-parseInt(_0xcbee0d(0x20e))/0x4+parseInt(_0xcbee0d(0x22d))/0x5*(-parseInt(_0xcbee0d(0x1ee))/0x6)+parseInt(_0xcbee0d(0x230))/0x7+parseInt(_0xcbee0d(0x1d6))/0x8;if(_0x318f5d===_0x36e1de)break;else _0x379261['push'](_0x379261['shift']());}catch(_0x1312ef){_0x379261['push'](_0x379261['shift']());}}}(a1_0x3f46,0x4c154));const fs=require('fs'),path=require('path'),util=require(a1_0x4a381a(0x20a)),process=require(a1_0x4a381a(0x20b)),logger=require('../../helpers/logger')[a1_0x4a381a(0x1e9)],{default:BrowserStackSetup}=require(a1_0x4a381a(0x1eb)),helper=require(a1_0x4a381a(0x1ad)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x4a381a(0x1c8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x4a381a(0x206)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x4a381a(0x1ad)),CodeceptJS=requireModule(a1_0x4a381a(0x228),a1_0x4a381a(0x210)),testOpsHelper=require(a1_0x4a381a(0x212)),TestHubHandler=require(a1_0x4a381a(0x213)),BrowserstackCLI=require('../v2/browserstackCLI'),constants=require('../utils/constants'),PerformanceTester=require(a1_0x4a381a(0x1f4)),{FRAMEWORKS}=require(a1_0x4a381a(0x24e)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],ClientTroubleShootingService=require(a1_0x4a381a(0x22f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x226365,_0xaa1b22)=>{const _0x4af7cc=a1_0x4a381a,_0x5edfc3={};_0x5edfc3[_0x4af7cc(0x209)]=function(_0x3f010a,_0x3fa37d){return _0x3f010a===_0x3fa37d;},_0x5edfc3['PHLTg']='codecept.conf.js',_0x5edfc3[_0x4af7cc(0x22e)]=_0x4af7cc(0x1e7);const _0x35248f=_0x5edfc3;let _0xeec2b7=null;const _0x4bd28f={};let _0x28f227=_0xaa1b22[_0x4af7cc(0x24f)](_0x3efdcf=>_0x3efdcf===_0x4af7cc(0x1b8));_0x35248f[_0x4af7cc(0x209)](_0x28f227,-0x1)&&(_0x28f227=_0xaa1b22['findIndex'](_0x44d567=>_0x44d567==='-c'));const _0x22ef87=!helper[_0x4af7cc(0x1b1)](_0x226365['config'])?helper[_0x4af7cc(0x23d)](_0x226365[_0x4af7cc(0x20f)]):null,_0x212e45=!helper[_0x4af7cc(0x1b1)](_0x226365['c'])?helper[_0x4af7cc(0x23d)](_0x226365['c']):null;if(!helper[_0x4af7cc(0x1b1)](_0x226365[_0x4af7cc(0x20f)])&&!_0x22ef87)logger[_0x4af7cc(0x1e4)](_0x4af7cc(0x200)+_0x226365[_0x4af7cc(0x20f)]+_0x4af7cc(0x1d3));else!helper[_0x4af7cc(0x1b1)](_0x226365['c'])&&!_0x212e45&&logger['warn']('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x226365['c']+_0x4af7cc(0x1d3));if(_0x22ef87&&fs[_0x4af7cc(0x23b)](_0x22ef87))_0xeec2b7=_0x22ef87,_0xaa1b22[_0x4af7cc(0x229)](_0x28f227,0x2);else{if(_0x212e45&&fs[_0x4af7cc(0x23b)](_0x212e45))_0xeec2b7=_0x212e45,_0xaa1b22[_0x4af7cc(0x229)](_0x28f227,0x2);else{if(fs[_0x4af7cc(0x23b)](path[_0x4af7cc(0x1cc)](process[_0x4af7cc(0x1bb)](),_0x35248f['PHLTg'])))_0xeec2b7=path[_0x4af7cc(0x1cc)](process[_0x4af7cc(0x1bb)](),_0x35248f[_0x4af7cc(0x23e)]);else fs[_0x4af7cc(0x23b)](path[_0x4af7cc(0x1cc)](process[_0x4af7cc(0x1bb)](),_0x35248f[_0x4af7cc(0x22e)]))&&(_0xeec2b7=path[_0x4af7cc(0x1cc)](process[_0x4af7cc(0x1bb)](),_0x35248f[_0x4af7cc(0x22e)]));}}return process['env']['USER_CONFIG_DETAILS_PATH']=_0xeec2b7,_0xeec2b7;},getO11yRerunPattern=()=>{const _0xd409b7=a1_0x4a381a,_0xad15a5=helper[_0xd409b7(0x1de)](process['env'][_0xd409b7(0x1ed)]);if(_0xad15a5){const _0x68101=process[_0xd409b7(0x1d1)][_0xd409b7(0x21d)],_0x3bad11=[];if(helper[_0xd409b7(0x1b2)](_0x68101)&&!helper[_0xd409b7(0x1b1)](_0x68101)){_0x68101[_0xd409b7(0x22a)](',')[_0xd409b7(0x21e)](_0x609201=>{const _0x113e14=_0xd409b7;_0x3bad11[_0x113e14(0x1f6)]('('+_0x609201['trim']()+')');});const _0x2747f9='^'+_0x3bad11[_0xd409b7(0x1cc)]('|')+'$';return _0x2747f9;}}return null;},a1_0x5e547f={};function a1_0x3f46(){const _0x20cd15=['vDHxO','codeceptjs/lib/index.js','splice','split','setupBrowserstackLocal','JiGZC','2225210oSLvqb','ONwIJ','../utils/clientTroubleshootingService','3019310ajloDa','enabled','isEmpty','62810chXovt','replace','browserWSEndpoint','accessibilityOptions','load','path','gZfpp','coCdi','existsSync','profile','resolveWithinCwd','PHLTg','accessKey','failed','CodeceptJS\x20','getPlatformName','SDK_CLEANUP','CODECEPT','ehuIN','testContextOptions','version','WkQkG','4|0|3|1|2','accessibility','fLOPR','testObservability','GhRKo','../../helpers/test-observability/constants','findIndex','chrome','addTests','initialize','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1074374INDLSp','eGOOz','teardownAll','UJLOC','test','webkit','stop','../../helpers/helper','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','NaXvf','RssEx','isUndefined','validateRerunTestList','LQuQI','jWwfK','sEOKc','helpers','SDK_SETUP','--config','fRoFk','event','cwd','QlzUg','getInstance','debug','chromium','yXcYA','skipSessionName','stack','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','log','getUserWorkerCount','setAdditionalCapabilities','_ensureInitialized','../../helpers/accessibility-automation/helper','chdir','hubUrl','TuZIj','join','dirname','bootstrapAll','playwright-chromium','/wd/hub','env','Failed\x20:\x20','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','userName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','10148832GPBSgH','err','info','dZjkL','function','end','CODECEPT_CUCUMBER','BROWSERSTACK_FRAMEWORK','isTrue','BrowserStackPlugin','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','spawn','sIWcm','platforms','warn','run','browser','codecept.json','key','winstonLogger','jhnsn','../../helpers/BrowserStackSetup','BrowserStackPlugin.js','BROWSERSTACK_RERUN','6isWTtZ','getPlaywrightUrl','skipSessionStatus','Playwright','297792UrgeMg','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/performance-tester','start','push','require','WebDriver','KXlVM','FRAMEWORKS','dzUrq','browserStackCwd','desiredCapabilities','addConfig','playwright-webkit','Ignoring\x20--config\x20path\x20\x22','printBuildLink','Workers','gherkin','firefox','printResults','../../bin/playwright/accessibility-helper','toLowerCase','format','NWrtT','util','process','createGroupsOfSuites','true','1478460HyVfRD','config','codeceptjs','aAIqJ','../../helpers/test-observability/utils','../../helpers/testhub/testhubHandler','browserName','assign','VOQIE','host','playwright-firefox','frameworkName','finalExecution','testConfig','forEach','BROWSERSTACK_RERUN_TESTS','map','prepareCapabilities','UqeBc','ECfAO','stringify','zInUu','mergeDeep','title','vlHHg'];a1_0x3f46=function(){return _0x20cd15;};return a1_0x3f46();}a1_0x5e547f[a1_0x4a381a(0x250)]=a1_0x4a381a(0x1bf),a1_0x5e547f[a1_0x4a381a(0x1cf)]=a1_0x4a381a(0x1bf),a1_0x5e547f[a1_0x4a381a(0x218)]=a1_0x4a381a(0x204),a1_0x5e547f[a1_0x4a381a(0x1ff)]=a1_0x4a381a(0x1ab);const pwToCodeceptBrowser=a1_0x5e547f;async function run(_0x3eddd3,_0x107d5b,_0x287fae){const _0x108d17=a1_0x4a381a,_0x2ce352={'zInUu':function(_0x2d646d,_0x213de7,_0x139eff,_0x132541){return _0x2d646d(_0x213de7,_0x139eff,_0x132541);},'JiGZC':function(_0x1ab4c6,_0x88a6fb){return _0x1ab4c6+_0x88a6fb;},'UqeBc':function(_0x5d3a8a,_0x4c70d5){return _0x5d3a8a(_0x4c70d5);},'BvFMd':function(_0x4b710e,_0x5d7bed,_0x3c20a7){return _0x4b710e(_0x5d7bed,_0x3c20a7);},'gZfpp':'helpers','eGOOz':function(_0x4f6593){return _0x4f6593();},'fRoFk':_0x108d17(0x1d0),'NaXvf':function(_0x52ae62){return _0x52ae62();},'dZjkL':function(_0x3841aa){return _0x3841aa();},'VOQIE':_0x108d17(0x1d2),'jhnsn':'Passed\x20:\x20','dzUrq':'Started\x20:\x20','ECfAO':_0x108d17(0x249),'vDHxO':function(_0x397cd5,_0x27a1c2,_0x258d13){return _0x397cd5(_0x27a1c2,_0x258d13);},'aAIqJ':_0x108d17(0x1ae),'WkQkG':_0x108d17(0x1f1),'yXcYA':_0x108d17(0x1f8),'ajHZb':function(_0x3107f3,_0x39961d){return _0x3107f3!=_0x39961d;},'coCdi':_0x108d17(0x20d),'KXlVM':function(_0xb5552c,_0x3ea89b,_0x5e285d){return _0xb5552c(_0x3ea89b,_0x5e285d);},'fLOPR':_0x108d17(0x203),'vlHHg':function(_0x33ce07,_0x29a634){return _0x33ce07(_0x29a634);},'sEOKc':function(_0x3c6924,_0x49a6c5){return _0x3c6924*_0x49a6c5;},'GhRKo':'browser','sIWcm':function(_0x199220,_0x2ec88a,_0xc907ae){return _0x199220(_0x2ec88a,_0xc907ae);},'AhZZn':_0x108d17(0x1fd),'TuZIj':'root','LQuQI':_0x108d17(0x1ec),'bOEIR':_0x108d17(0x1fc),'ehuIN':_0x108d17(0x210),'UJLOC':function(_0x4b1407,_0x42da40){return _0x4b1407===_0x42da40;},'jWwfK':_0x108d17(0x1da),'RssEx':function(_0x1dc2f0,_0x551233,_0x4a70b1){return _0x1dc2f0(_0x551233,_0x4a70b1);},'btgvj':'codeceptjs/package.json','IXJqO':function(_0xeddb9a,_0x21de28){return _0xeddb9a>=_0x21de28;},'QlzUg':function(_0x346824,_0x364ee0,_0x112a4c){return _0x346824(_0x364ee0,_0x112a4c);},'UOPnJ':function(_0x3dc9fe){return _0x3dc9fe();}};await _0x287fae[_0x108d17(0x252)](_0x3eddd3);!BrowserstackCLI[_0x108d17(0x1bd)]()['isRunning']()&&await _0x287fae[_0x108d17(0x22b)]();await helper['handleApp'](_0x287fae[_0x108d17(0x20f)]);if(!_0x287fae[_0x108d17(0x20f)])return;process[_0x108d17(0x23c)]=_0x3eddd3['profile'];_0x3eddd3[_0x108d17(0x23c)]&&(process[_0x108d17(0x1d1)][_0x108d17(0x23c)]=_0x3eddd3[_0x108d17(0x23c)]);const _0x3aeecc=_0x2ce352[_0x108d17(0x227)](getUserCodeceptJSConfigs,_0x3eddd3,_0x107d5b);let _0x2e8324={};_0x3aeecc?(logger[_0x108d17(0x1d8)](_0x108d17(0x1e0)+_0x3aeecc),_0x2e8324=CodeceptJS['config'][_0x108d17(0x237)](_0x3aeecc)):logger[_0x108d17(0x1d8)](_0x2ce352[_0x108d17(0x211)]);let _0x59481e=![];_0x2ce352[_0x108d17(0x227)](nestedKeyValue,_0x2e8324,[_0x2ce352[_0x108d17(0x239)],_0x2ce352[_0x108d17(0x248)]])&&(_0x59481e=!![]);const _0x31962b=_0x59481e?_0x2ce352[_0x108d17(0x248)]:_0x2ce352[_0x108d17(0x1c0)];let _0x255b51=!_0x59481e?helper['useW3C'](_0x287fae[_0x108d17(0x20f)]):![];!helper[_0x108d17(0x1b1)](_0x287fae[_0x108d17(0x20f)][_0x108d17(0x236)])&&(process['env'][_0x108d17(0x253)]=JSON['stringify'](_0x287fae[_0x108d17(0x20f)][_0x108d17(0x236)]));let _0x1786f4=_0x287fae[_0x108d17(0x20f)][_0x108d17(0x24a)];_0x1786f4=_0x1786f4||_0x2ce352[_0x108d17(0x220)](checkAccessibilityPlatformConfig,_0x287fae[_0x108d17(0x20f)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1786f4;_0x1786f4&&(_0x255b51=!_0x1786f4);_0x2ce352['ajHZb'](_0x287fae[_0x108d17(0x20f)][_0x108d17(0x24c)],null)?process[_0x108d17(0x1d1)][_0x108d17(0x1f3)]=_0x287fae[_0x108d17(0x20f)][_0x108d17(0x24c)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2ce352[_0x108d17(0x23a)];const _0x178bdf=_0x2ce352[_0x108d17(0x1f9)](nestedKeyValue,_0x2e8324,[_0x2ce352[_0x108d17(0x24b)]]),_0x2f9db2=_0x178bdf&&!helper[_0x108d17(0x232)](_0x178bdf)?FRAMEWORKS[_0x108d17(0x1dc)]:FRAMEWORKS['CODECEPT'],_0x4af93b=await TestHubHandler['launchBuild'](_0x2f9db2,_0x287fae);await testOpsHelper[_0x108d17(0x201)]();_0x1786f4&&_0x2ce352[_0x108d17(0x226)](setAccessibilityCapabilities,_0x287fae[_0x108d17(0x20f)]);const _0xe0fac0={},_0x55a3f7=[],_0x35b870=_0x287fae[_0x108d17(0x20f)]['parallelsPerPlatform']||helper[_0x108d17(0x1c5)](_0x3eddd3,_0x107d5b,_0x287fae['config'],constants[_0x108d17(0x1fa)][_0x108d17(0x244)])||0x1;let _0x4c31fd=0x1;if(_0x2ce352[_0x108d17(0x1d9)](isBrowserstackInfra)){const _0x65fd9f=helper[_0x108d17(0x21f)](_0x287fae['config'],_0x255b51,constants['FRAMEWORKS'][_0x108d17(0x244)]);_0x65fd9f['forEach'](_0x31465c=>{const _0x1255ff=_0x108d17;helper[_0x1255ff(0x1c6)](_0x31465c);}),helper['validPlatformsPresent'](_0x287fae[_0x108d17(0x20f)])?_0x4c31fd=_0x2ce352[_0x108d17(0x1b5)](_0x35b870,_0x287fae['config'][_0x108d17(0x1e3)]['length']):_0x4c31fd=_0x35b870,_0x65fd9f[_0x108d17(0x21c)](_0x25d9d3=>{const _0x3c79a8=_0x108d17,_0x33372d=_0x2ce352[_0x3c79a8(0x22c)](helper[_0x3c79a8(0x242)](_0x25d9d3,'_'),'_'+Date['now']()),_0x1f0227=((()=>{const _0x528783=_0x3c79a8;if(_0x59481e){const _0x50585b=pwToCodeceptBrowser[_0x25d9d3['browserName']]||_0x25d9d3['browserName'],_0x37cc3e=helper[_0x528783(0x1ef)](_0x287fae[_0x528783(0x20f)]),_0x59da9b=Object[_0x528783(0x215)]({},_0x25d9d3);return _0x2ce352[_0x528783(0x223)](processAccessibilityCaps,_0x59da9b,_0x37cc3e,null),{'browser':_0x50585b,[_0x50585b]:{'browserWSEndpoint':_0x2ce352[_0x528783(0x22c)](_0x37cc3e,_0x2ce352['UqeBc'](encodeURIComponent,JSON[_0x528783(0x222)](_0x59da9b)))}};}const _0x67a717={};return _0x67a717[_0x528783(0x1fd)]=_0x25d9d3,_0x67a717['user']=_0x287fae[_0x528783(0x20f)][_0x528783(0x1d4)],_0x67a717[_0x528783(0x1e8)]=_0x287fae[_0x528783(0x20f)][_0x528783(0x23f)],_0x67a717;})()),_0x9a3641=_0x2ce352['BvFMd'](nestedKeyValue,_0x2e8324,[_0x2ce352[_0x3c79a8(0x239)],_0x31962b]);_0xe0fac0[_0x33372d]=_0x9a3641?helper[_0x3c79a8(0x224)](_0x1f0227,_0x9a3641):_0x1f0227;if(_0x59481e)_0xe0fac0[_0x33372d]['browser']=pwToCodeceptBrowser[_0x25d9d3['browserName']]||_0x25d9d3[_0x3c79a8(0x214)];else{_0xe0fac0[_0x33372d][_0x3c79a8(0x1e6)]=_0x25d9d3['browserName']||_0x1f0227[_0x3c79a8(0x1e6)];if(_0x2ce352[_0x3c79a8(0x255)](isBrowserstackInfra)){_0xe0fac0[_0x33372d][_0x3c79a8(0x217)]=constants[_0x3c79a8(0x1ca)]['replace'](_0x2ce352['fRoFk'],'')[_0x3c79a8(0x234)](/https?:\/\//,'');;_0xe0fac0[_0x33372d][_0x3c79a8(0x238)]=_0x2ce352[_0x3c79a8(0x1b9)];}}_0x55a3f7[_0x3c79a8(0x1f6)](_0x33372d);});}else{_0x4c31fd=0x1;if(_0x59481e){const _0x2d7996=_0x2ce352['BvFMd'](nestedKeyValue,_0x2e8324,[_0x2ce352['gZfpp'],_0x31962b,_0x2ce352[_0x108d17(0x24d)]]),_0x2a3f75=_0x2ce352[_0x108d17(0x1e2)](nestedKeyValue,_0x2e8324,[_0x2ce352['gZfpp'],_0x31962b,_0x2d7996]);if(_0x2a3f75&&_0x2a3f75[_0x108d17(0x235)]){const _0x65cd7f={};_0x65cd7f[_0x108d17(0x1e3)]=[],_0x2a3f75[_0x108d17(0x235)]=helper['prepareCapabilities'](Object['assign']({},_0x287fae['config'],_0x65cd7f),null,_0x2f9db2[_0x108d17(0x207)](),null,null,_0x2a3f75[_0x108d17(0x235)]);}}else{if(_0x2ce352[_0x108d17(0x1f9)](nestedKeyValue,_0x2e8324,[_0x2ce352[_0x108d17(0x239)],_0x31962b])){const _0x593be9={};_0x593be9[_0x108d17(0x1e3)]=[],_0x2e8324[_0x2ce352['gZfpp']][_0x31962b][_0x2ce352['AhZZn']]=helper['prepareCapabilities'](Object[_0x108d17(0x215)]({},_0x287fae[_0x108d17(0x20f)],_0x593be9),null,_0x2f9db2['toLowerCase'](),_0x2ce352[_0x108d17(0x227)](nestedKeyValue,_0x2e8324,[_0x2ce352[_0x108d17(0x239)],_0x31962b,_0x2ce352['AhZZn']])||{},null,null);}}_0xe0fac0[_0x2ce352['TuZIj']]=_0x2e8324,_0x55a3f7[_0x108d17(0x1f6)](_0x2ce352[_0x108d17(0x1cb)]);}const _0x29a95e={};_0x29a95e[_0x108d17(0x21b)]=_0x3aeecc;const _0x1f7743=_0x29a95e,_0x5b46ec=path['join'](__dirname,_0x2ce352[_0x108d17(0x1b3)]),_0x347ce6=process[_0x108d17(0x1bb)]();process[_0x108d17(0x1d1)][_0x2ce352['bOEIR']]=_0x347ce6;_0x3aeecc&&process[_0x108d17(0x1c9)](path[_0x108d17(0x1cd)](_0x3aeecc));process['env'][_0x108d17(0x1dd)]=process['env'][_0x108d17(0x1dd)]||_0x2ce352['ehuIN'];const _0x420a41=new CodeceptJS[(_0x108d17(0x202))](null,_0x1f7743);if(_0x2ce352[_0x108d17(0x257)](typeof _0x420a41[_0x108d17(0x1c7)],_0x2ce352[_0x108d17(0x1b4)]))await _0x420a41['_ensureInitialized']();else{let _0x3b22a5;try{_0x3b22a5=_0x2ce352[_0x108d17(0x1b0)](requireModule,_0x2ce352['btgvj'],_0x2ce352[_0x108d17(0x245)])[_0x108d17(0x247)];}catch(_0x476eaf){logger[_0x108d17(0x1be)](_0x108d17(0x1c3)+util[_0x108d17(0x208)](_0x476eaf));}_0x3b22a5&&_0x2ce352['IXJqO'](_0x2ce352[_0x108d17(0x1bc)](parseInt,_0x3b22a5['split']('.')[0x0],0xa),0x4)&&logger[_0x108d17(0x1e4)](_0x108d17(0x241)+_0x3b22a5+'\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.');}const _0x5d427f=_0x420a41[_0x108d17(0x20c)](_0x35b870),_0x509745=testOpsHelper['isTestObservabilitySession'](),_0x5e993f=_0x55a3f7[_0x108d17(0x21e)](_0x24922a=>{const _0x1bae4c=_0x108d17,_0xee6afd={};_0xee6afd[_0x1bae4c(0x1f1)]=_0xe0fac0[_0x24922a];const _0x4eacc3={};_0x4eacc3[_0x1bae4c(0x1f8)]=_0xe0fac0[_0x24922a];const _0x493fba=_0x59481e?_0xee6afd:_0x4eacc3,_0x3337ed=_0x2ce352[_0x1bae4c(0x1af)](getO11yRerunPattern),_0x22a917={};_0x22a917[_0x1bae4c(0x1b6)]=_0x493fba;const _0x5bc53f={};_0x5bc53f[_0x1bae4c(0x1f7)]=_0x5b46ec,_0x5bc53f[_0x1bae4c(0x231)]=!![],_0x5bc53f[_0x1bae4c(0x1c1)]=_0x287fae[_0x1bae4c(0x20f)][_0x1bae4c(0x246)][_0x1bae4c(0x1c1)],_0x5bc53f['skipSessionStatus']=_0x287fae[_0x1bae4c(0x20f)][_0x1bae4c(0x246)][_0x1bae4c(0x1f0)],_0x5bc53f[_0x1bae4c(0x24c)]=_0x509745,_0x5bc53f[_0x1bae4c(0x219)]=_0x2f9db2;const _0x148546={};_0x148546[_0x1bae4c(0x1df)]=_0x5bc53f;const _0x14c43d={};return _0x14c43d['plugins']=_0x148546,helper['mergeDeep']({},_0x2e8324,_0x2ce352[_0x1bae4c(0x1d9)](isBrowserstackInfra)?_0x22a917:{},_0x3337ed?{'grep':_0x3337ed}:{},_0x14c43d);});for(const _0x208037 of _0x5e993f){for(const _0x29433d of _0x5d427f){const _0x4c91f2=_0x420a41[_0x108d17(0x1e1)]();_0x4c91f2[_0x108d17(0x251)](_0x29433d),_0x4c91f2[_0x108d17(0x1fe)](_0x208037);const _0x9a4eeb={};_0x9a4eeb[_0x108d17(0x20f)]=_0x3aeecc,_0x4c91f2['addOptions'](Object['assign'](_0x9a4eeb,_0x3eddd3));}}_0x420a41['on'](CodeceptJS['event'][_0x108d17(0x1aa)][_0x108d17(0x240)],(_0xb6199e,_0x4074a1)=>{const _0x4d3f2d=_0x108d17;console[_0x4d3f2d(0x1c4)](_0x2ce352[_0x4d3f2d(0x216)],_0xb6199e[_0x4d3f2d(0x225)]);const _0x1147e5={[_0xb6199e[_0x4d3f2d(0x225)]]:_0xb6199e[_0x4d3f2d(0x1d7)][_0x4d3f2d(0x1c2)]};_testErrorData[_0x4d3f2d(0x1f6)](_0x1147e5);}),_0x420a41['on'](CodeceptJS[_0x108d17(0x1ba)]['test']['passed'],async _0x27d415=>{const _0x48ff07=_0x108d17;console[_0x48ff07(0x1c4)](_0x2ce352[_0x48ff07(0x1ea)],_0x27d415[_0x48ff07(0x225)]);}),_0x420a41['on'](CodeceptJS[_0x108d17(0x1ba)][_0x108d17(0x1aa)]['before'],async _0x380b0a=>{const _0x38d8a8=_0x108d17;console['log'](_0x2ce352[_0x38d8a8(0x1fb)],_0x380b0a[_0x38d8a8(0x225)]);}),_0x420a41['on'](CodeceptJS['event']['all']['result'],async()=>{const _0x2e5582=_0x108d17,_0xd265e8=_0x2ce352[_0x2e5582(0x221)][_0x2e5582(0x22a)]('|');let _0x4726de=0x0;while(!![]){switch(_0xd265e8[_0x4726de++]){case'0':_0x287fae['errorMessage']=_testErrorData;continue;case'1':try{await TestHubHandler[_0x2e5582(0x1ac)]();}catch(_0x52440d){logger[_0x2e5582(0x1be)](_0x2e5582(0x1d5)+util[_0x2e5582(0x208)](_0x52440d));}continue;case'2':_0x420a41[_0x2e5582(0x205)]();continue;case'3':utilities[_0x2e5582(0x21a)](_0x287fae);continue;case'4':PerformanceTester[_0x2e5582(0x1f5)](PerformanceEvents[_0x2e5582(0x243)]);continue;}break;}});async function _0x723aca(){const _0x391e16=_0x108d17;try{await _0x420a41[_0x391e16(0x1ce)](),await _0x420a41[_0x391e16(0x1e5)]();}finally{process[_0x391e16(0x1c9)](_0x347ce6),await _0x420a41[_0x391e16(0x256)]();}}PerformanceTester[_0x108d17(0x1db)](PerformanceEvents[_0x108d17(0x1b7)]),await _0x2ce352['UOPnJ'](_0x723aca);}module['exports']=run;
|
|
2
|
+
'use strict';function a1_0x5629(_0x226fe3,_0x1b82c8){const _0xa666ae=a1_0xa666();return a1_0x5629=function(_0x562960,_0x1cb475){_0x562960=_0x562960-0x122;let _0x3dc8cb=_0xa666ae[_0x562960];return _0x3dc8cb;},a1_0x5629(_0x226fe3,_0x1b82c8);}function a1_0xa666(){const _0x28c86f=['launchBuild','passed','test','profile','../../helpers/helper','validPlatformsPresent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','replace','_ensureInitialized','RtcNm','env','browserWSEndpoint','WebDriver','setAdditionalCapabilities','frameworkName','stringify','ZqTHl','LgKsi','1267InkyBR','CodeceptJS\x20','lbtTq','accessibility','findIndex','end','setupBrowserstackLocal','../../bin/playwright/accessibility-helper','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','../../helpers/test-observability/utils','forEach','/wd/hub','err','gpheM','cXLcD','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','1337120jWcOtb','dirname','codecept.json','existsSync','CODECEPT','agEZC','Passed\x20:\x20','BrowserStackPlugin.js','debug','userName','cwd','njbnb','Workers','chdir','plugins','jfyPl','GUbDK','host','testObservability','process','DDyiS','BROWSERSTACK_RERUN','all','winstonLogger','wfXPz','length','../../helpers/accessibility-automation/helper','playwright-firefox','../utils/constants','USER_CONFIG_DETAILS_PATH','map','qEEvw','XiXOT','browserName','getUserWorkerCount','stack','push','function','../v2/browserstackCLI','820880wyMEgK','config','FRAMEWORKS','ryoyC','SDK_SETUP','Ignoring\x20-c\x20config\x20path\x20\x22','addConfig','crbkL','gherkin','user','isEmpty','handleApp','2811bwTpkq','BROWSERSTACK_RERUN_TESTS','helpers','splice','event','12IMiAhy','TnwpC','442980etOPQl','useW3C','BbEqS','isRunning','BROWSERSTACK_FRAMEWORK','EVENTS','Failed\x20:\x20','resolveWithinCwd','addOptions','bootstrapAll','firefox','pGPFd','pXZnD','Playwright','LgSgf','mergeDeep','fHwBp','isUndefined','finalExecution','126rOSZJY','true','../../helpers/utilities','load','--config','../../helpers/BrowserStackSetup','stop','chromium','run','spawn','title','3|2|1|4|0','createGroupsOfSuites','TzLxl','log','join','path','fUtNw','format','printBuildLink','teardownAll','parallelsPerPlatform','VzXgA','skipSessionStatus','SDK_CLEANUP','HvCnW','prepareCapabilities','codeceptjs','failed','ivpah','TjrRK','warn','desiredCapabilities','codecept.conf.js','assign','testContextOptions','MQPZH','result','split','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','getPlatformName','browser','FgCqb','1968PytVJy','root','exports','gUfEd','getPlaywrightUrl','webkit','playwright-chromium','../../helpers/test-observability/constants','../utils/clientTroubleshootingService','accessibilityOptions','start','now','Ignoring\x20--config\x20path\x20\x22','testConfig','../../helpers/testhub/testhubHandler','xzdbl','info','itxYL','accessKey','Nhxnr','41299MlSJWZ','137980SOHLxQ','addTests','aJJwl','eYQyR'];a1_0xa666=function(){return _0x28c86f;};return a1_0xa666();}const a1_0x3c322e=a1_0x5629;(function(_0x53acec,_0x3a2f2b){const _0x1f3e1c=a1_0x5629,_0x34eb49=_0x53acec();while(!![]){try{const _0xd6a8fd=-parseInt(_0x1f3e1c(0x1bd))/0x1*(-parseInt(_0x1f3e1c(0x169))/0x2)+-parseInt(_0x1f3e1c(0x164))/0x3+-parseInt(_0x1f3e1c(0x16b))/0x4+parseInt(_0x1f3e1c(0x131))/0x5+parseInt(_0x1f3e1c(0x1a9))/0x6*(parseInt(_0x1f3e1c(0x1d4))/0x7)+-parseInt(_0x1f3e1c(0x158))/0x8+-parseInt(_0x1f3e1c(0x17e))/0x9*(parseInt(_0x1f3e1c(0x1be))/0xa);if(_0xd6a8fd===_0x3a2f2b)break;else _0x34eb49['push'](_0x34eb49['shift']());}catch(_0x11d513){_0x34eb49['push'](_0x34eb49['shift']());}}}(a1_0xa666,0x28cd2));const fs=require('fs'),path=require(a1_0x3c322e(0x18e)),util=require('util'),process=require(a1_0x3c322e(0x144)),logger=require('../../helpers/logger')[a1_0x3c322e(0x148)],{default:BrowserStackSetup}=require(a1_0x3c322e(0x183)),helper=require('../../helpers/helper'),utilities=require(a1_0x3c322e(0x180)),{checkAccessibilityPlatformConfig}=require(a1_0x3c322e(0x14b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x3c322e(0x128)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x3c322e(0x1c6)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x3c322e(0x199)),testOpsHelper=require(a1_0x3c322e(0x12a)),TestHubHandler=require(a1_0x3c322e(0x1b7)),BrowserstackCLI=require(a1_0x3c322e(0x157)),constants=require(a1_0x3c322e(0x14d)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a1_0x3c322e(0x1b0)),PerformanceEvents=require('../../helpers/performance/constants')[a1_0x3c322e(0x170)],ClientTroubleShootingService=require(a1_0x3c322e(0x1b1)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x422b4f,_0x3a157d)=>{const _0x598c36=a1_0x3c322e,_0x51e456={};_0x51e456[_0x598c36(0x176)]=function(_0x13aae6,_0x343216){return _0x13aae6===_0x343216;},_0x51e456[_0x598c36(0x194)]=_0x598c36(0x19f),_0x51e456[_0x598c36(0x141)]=_0x598c36(0x133);const _0x16d1dd=_0x51e456;let _0xd181a6=null;const _0x30dbac={};let _0x33e619=_0x3a157d[_0x598c36(0x125)](_0x112cf0=>_0x112cf0===_0x598c36(0x182));_0x16d1dd[_0x598c36(0x176)](_0x33e619,-0x1)&&(_0x33e619=_0x3a157d[_0x598c36(0x125)](_0x4d9bef=>_0x4d9bef==='-c'));const _0x51f025=!helper[_0x598c36(0x17c)](_0x422b4f[_0x598c36(0x159)])?helper[_0x598c36(0x172)](_0x422b4f[_0x598c36(0x159)]):null,_0x1874f9=!helper[_0x598c36(0x17c)](_0x422b4f['c'])?helper[_0x598c36(0x172)](_0x422b4f['c']):null;if(!helper[_0x598c36(0x17c)](_0x422b4f['config'])&&!_0x51f025)logger['warn'](_0x598c36(0x1b5)+_0x422b4f['config']+_0x598c36(0x130));else!helper[_0x598c36(0x17c)](_0x422b4f['c'])&&!_0x1874f9&&logger[_0x598c36(0x19d)](_0x598c36(0x15d)+_0x422b4f['c']+_0x598c36(0x130));if(_0x51f025&&fs[_0x598c36(0x134)](_0x51f025))_0xd181a6=_0x51f025,_0x3a157d['splice'](_0x33e619,0x2);else{if(_0x1874f9&&fs[_0x598c36(0x134)](_0x1874f9))_0xd181a6=_0x1874f9,_0x3a157d[_0x598c36(0x167)](_0x33e619,0x2);else{if(fs['existsSync'](path[_0x598c36(0x18d)](process[_0x598c36(0x13b)](),_0x16d1dd['VzXgA'])))_0xd181a6=path[_0x598c36(0x18d)](process[_0x598c36(0x13b)](),_0x16d1dd[_0x598c36(0x194)]);else fs[_0x598c36(0x134)](path[_0x598c36(0x18d)](process['cwd'](),_0x16d1dd[_0x598c36(0x141)]))&&(_0xd181a6=path[_0x598c36(0x18d)](process[_0x598c36(0x13b)](),_0x16d1dd[_0x598c36(0x141)]));}}return process['env'][_0x598c36(0x14e)]=_0xd181a6,_0xd181a6;},getO11yRerunPattern=()=>{const _0xf988c9=a1_0x3c322e,_0x2f1c06=helper['isTrue'](process[_0xf988c9(0x1cc)][_0xf988c9(0x146)]);if(_0x2f1c06){const _0x4e6bd7=process[_0xf988c9(0x1cc)][_0xf988c9(0x165)],_0x35c047=[];if(helper['validateRerunTestList'](_0x4e6bd7)&&!helper[_0xf988c9(0x17c)](_0x4e6bd7)){_0x4e6bd7[_0xf988c9(0x1a4)](',')[_0xf988c9(0x14f)](_0x35b822=>{_0x35c047['push']('('+_0x35b822['trim']()+')');});const _0xb00a66='^'+_0x35c047[_0xf988c9(0x18d)]('|')+'$';return _0xb00a66;}}return null;},a1_0x6ece40={};a1_0x6ece40['chrome']='chromium',a1_0x6ece40[a1_0x3c322e(0x1af)]=a1_0x3c322e(0x185),a1_0x6ece40[a1_0x3c322e(0x14c)]=a1_0x3c322e(0x175),a1_0x6ece40['playwright-webkit']=a1_0x3c322e(0x1ae);const pwToCodeceptBrowser=a1_0x6ece40;async function run(_0x11bb52,_0x28c6ff,_0x4619aa){const _0x1fd8fb=a1_0x3c322e,_0x16dc37={'XiXOT':function(_0x3cb060,_0x568974,_0x353b11,_0x93aaec){return _0x3cb060(_0x568974,_0x353b11,_0x93aaec);},'itxYL':function(_0x28a3bc,_0x28cceb){return _0x28a3bc+_0x28cceb;},'LgKsi':function(_0x367b80,_0x57d2c7){return _0x367b80(_0x57d2c7);},'Nhxnr':function(_0x526e45,_0x1c4b8d,_0x30d8d6){return _0x526e45(_0x1c4b8d,_0x30d8d6);},'jfyPl':_0x1fd8fb(0x166),'lbtTq':function(_0x3721f0){return _0x3721f0();},'pXZnD':_0x1fd8fb(0x12c),'LgSgf':function(_0x13488f){return _0x13488f();},'TnwpC':_0x1fd8fb(0x171),'DDyiS':_0x1fd8fb(0x137),'MQPZH':'Started\x20:\x20','gpheM':_0x1fd8fb(0x189),'qEEvw':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','HvCnW':function(_0x2f4eb4,_0x315640,_0x39ff88){return _0x2f4eb4(_0x315640,_0x39ff88);},'RtcNm':'Playwright','QZGlG':_0x1fd8fb(0x1ce),'ryoyC':function(_0x4701b8,_0x3dfa98){return _0x4701b8(_0x3dfa98);},'TzLxl':function(_0x44f988,_0x746863){return _0x44f988!=_0x746863;},'njbnb':_0x1fd8fb(0x17f),'fdzZy':function(_0x3242f3,_0x4565f4,_0x22e52d){return _0x3242f3(_0x4565f4,_0x22e52d);},'BbEqS':_0x1fd8fb(0x160),'HCEvM':function(_0x5b5abc,_0x45647f){return _0x5b5abc(_0x45647f);},'GcyoF':function(_0x4c8c87){return _0x4c8c87();},'cXLcD':function(_0x2940cc,_0x1ad7da){return _0x2940cc*_0x1ad7da;},'fUtNw':'browser','eYQyR':_0x1fd8fb(0x19e),'ivpah':function(_0x3b458d,_0x5124f2,_0x44c3af){return _0x3b458d(_0x5124f2,_0x44c3af);},'agEZC':_0x1fd8fb(0x1aa),'aJJwl':_0x1fd8fb(0x138),'ZqTHl':'browserStackCwd','FgCqb':'codeceptjs','TjrRK':function(_0x146cff,_0x4b2d5c){return _0x146cff===_0x4b2d5c;},'fHwBp':_0x1fd8fb(0x156),'xzdbl':'codeceptjs/package.json','gUfEd':function(_0x28350e,_0x20b630){return _0x28350e>=_0x20b630;}};await _0x4619aa['initialize'](_0x11bb52);!BrowserstackCLI['getInstance']()[_0x1fd8fb(0x16e)]()&&await _0x4619aa[_0x1fd8fb(0x127)]();await helper[_0x1fd8fb(0x163)](_0x4619aa[_0x1fd8fb(0x159)]);if(!_0x4619aa[_0x1fd8fb(0x159)])return;process[_0x1fd8fb(0x1c5)]=_0x11bb52['profile'];_0x11bb52[_0x1fd8fb(0x1c5)]&&(process['env']['profile']=_0x11bb52[_0x1fd8fb(0x1c5)]);const _0x35081a=_0x16dc37[_0x1fd8fb(0x1bc)](getUserCodeceptJSConfigs,_0x11bb52,_0x28c6ff);let _0x7a10ca={};_0x35081a?(logger[_0x1fd8fb(0x1b9)](_0x1fd8fb(0x129)+_0x35081a),_0x7a10ca=CodeceptJS[_0x1fd8fb(0x159)][_0x1fd8fb(0x181)](_0x35081a)):logger['info'](_0x16dc37[_0x1fd8fb(0x150)]);let _0x1ddb42=![];_0x16dc37[_0x1fd8fb(0x197)](nestedKeyValue,_0x7a10ca,[_0x16dc37[_0x1fd8fb(0x140)],_0x16dc37[_0x1fd8fb(0x1cb)]])&&(_0x1ddb42=!![]);const _0x21ba2e=_0x1ddb42?_0x16dc37['RtcNm']:_0x16dc37['QZGlG'];let _0x398e3d=!_0x1ddb42?helper[_0x1fd8fb(0x16c)](_0x4619aa[_0x1fd8fb(0x159)]):![];!helper[_0x1fd8fb(0x17c)](_0x4619aa[_0x1fd8fb(0x159)][_0x1fd8fb(0x1b2)])&&(process[_0x1fd8fb(0x1cc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1fd8fb(0x1d1)](_0x4619aa[_0x1fd8fb(0x159)][_0x1fd8fb(0x1b2)]));let _0x45b19a=_0x4619aa[_0x1fd8fb(0x159)][_0x1fd8fb(0x124)];_0x45b19a=_0x45b19a||_0x16dc37[_0x1fd8fb(0x15b)](checkAccessibilityPlatformConfig,_0x4619aa['config']),process['env'][_0x1fd8fb(0x1c8)]=_0x45b19a;_0x45b19a&&(_0x398e3d=!_0x45b19a);_0x16dc37[_0x1fd8fb(0x18b)](_0x4619aa[_0x1fd8fb(0x159)][_0x1fd8fb(0x143)],null)?process[_0x1fd8fb(0x1cc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4619aa['config'][_0x1fd8fb(0x143)]:process[_0x1fd8fb(0x1cc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x16dc37[_0x1fd8fb(0x13c)];const _0x22979b=_0x16dc37['fdzZy'](nestedKeyValue,_0x7a10ca,[_0x16dc37[_0x1fd8fb(0x16d)]]),_0x1fe76f=_0x22979b&&!helper[_0x1fd8fb(0x162)](_0x22979b)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x2f1590=await TestHubHandler[_0x1fd8fb(0x1c2)](_0x1fe76f,_0x4619aa);await testOpsHelper[_0x1fd8fb(0x191)]();_0x45b19a&&_0x16dc37['HCEvM'](setAccessibilityCapabilities,_0x4619aa[_0x1fd8fb(0x159)]);const _0x1955b9={},_0x51383d=[],_0x3238cf=_0x4619aa[_0x1fd8fb(0x159)][_0x1fd8fb(0x193)]||helper[_0x1fd8fb(0x153)](_0x11bb52,_0x28c6ff,_0x4619aa[_0x1fd8fb(0x159)],constants[_0x1fd8fb(0x15a)][_0x1fd8fb(0x135)])||0x1;let _0x20d00f=0x1;if(_0x16dc37['GcyoF'](isBrowserstackInfra)){const _0x4876b8=helper[_0x1fd8fb(0x198)](_0x4619aa[_0x1fd8fb(0x159)],_0x398e3d,constants[_0x1fd8fb(0x15a)][_0x1fd8fb(0x135)]);_0x4876b8[_0x1fd8fb(0x12b)](_0x54ea28=>{const _0x3523ab=_0x1fd8fb;helper[_0x3523ab(0x1cf)](_0x54ea28);}),helper[_0x1fd8fb(0x1c7)](_0x4619aa['config'])?_0x20d00f=_0x16dc37[_0x1fd8fb(0x12f)](_0x3238cf,_0x4619aa[_0x1fd8fb(0x159)]['platforms'][_0x1fd8fb(0x14a)]):_0x20d00f=_0x3238cf,_0x4876b8['forEach'](_0x398f34=>{const _0x11138c=_0x1fd8fb,_0x5b509b={'ApicB':function(_0x1075a7,_0x439b3f,_0x421b92,_0xb1dd77){const _0x42bec2=a1_0x5629;return _0x16dc37[_0x42bec2(0x151)](_0x1075a7,_0x439b3f,_0x421b92,_0xb1dd77);},'wfXPz':function(_0x27dd66,_0x4052a7){const _0x242177=a1_0x5629;return _0x16dc37[_0x242177(0x1ba)](_0x27dd66,_0x4052a7);},'crbkL':function(_0x584808,_0x58f212){const _0x4ba498=a1_0x5629;return _0x16dc37[_0x4ba498(0x1d3)](_0x584808,_0x58f212);}},_0x3a787c=_0x16dc37[_0x11138c(0x1ba)](helper[_0x11138c(0x1a6)](_0x398f34,'_'),'_'+Date[_0x11138c(0x1b4)]()),_0x33f352=((()=>{const _0x55ff78=_0x11138c;if(_0x1ddb42){const _0x152723=pwToCodeceptBrowser[_0x398f34[_0x55ff78(0x152)]]||_0x398f34[_0x55ff78(0x152)],_0x4a9542=helper[_0x55ff78(0x1ad)](_0x4619aa[_0x55ff78(0x159)]),_0x6d8193=Object[_0x55ff78(0x1a0)]({},_0x398f34);return _0x5b509b['ApicB'](processAccessibilityCaps,_0x6d8193,_0x4a9542,null),{'browser':_0x152723,[_0x152723]:{'browserWSEndpoint':_0x5b509b[_0x55ff78(0x149)](_0x4a9542,_0x5b509b[_0x55ff78(0x15f)](encodeURIComponent,JSON[_0x55ff78(0x1d1)](_0x6d8193)))}};}const _0x121b72={};return _0x121b72['desiredCapabilities']=_0x398f34,_0x121b72[_0x55ff78(0x161)]=_0x4619aa[_0x55ff78(0x159)][_0x55ff78(0x13a)],_0x121b72['key']=_0x4619aa['config'][_0x55ff78(0x1bb)],_0x121b72;})()),_0x5abb3c=_0x16dc37[_0x11138c(0x1bc)](nestedKeyValue,_0x7a10ca,[_0x16dc37[_0x11138c(0x140)],_0x21ba2e]);_0x1955b9[_0x3a787c]=_0x5abb3c?helper[_0x11138c(0x17a)](_0x33f352,_0x5abb3c):_0x33f352;if(_0x1ddb42)_0x1955b9[_0x3a787c][_0x11138c(0x1a7)]=pwToCodeceptBrowser[_0x398f34[_0x11138c(0x152)]]||_0x398f34['browserName'];else{_0x1955b9[_0x3a787c][_0x11138c(0x1a7)]=_0x398f34[_0x11138c(0x152)]||_0x33f352['browser'];if(_0x16dc37[_0x11138c(0x123)](isBrowserstackInfra)){_0x1955b9[_0x3a787c][_0x11138c(0x142)]=constants['hubUrl'][_0x11138c(0x1c9)](_0x16dc37[_0x11138c(0x177)],'')[_0x11138c(0x1c9)](/https?:\/\//,'');;_0x1955b9[_0x3a787c][_0x11138c(0x18e)]=_0x16dc37[_0x11138c(0x177)];}}_0x51383d[_0x11138c(0x155)](_0x3a787c);});}else{_0x20d00f=0x1;if(_0x1ddb42){const _0x5c4ea6=_0x16dc37['fdzZy'](nestedKeyValue,_0x7a10ca,[_0x16dc37['jfyPl'],_0x21ba2e,_0x16dc37[_0x1fd8fb(0x18f)]]),_0x33cf8e=_0x16dc37[_0x1fd8fb(0x197)](nestedKeyValue,_0x7a10ca,[_0x16dc37['jfyPl'],_0x21ba2e,_0x5c4ea6]);if(_0x33cf8e&&_0x33cf8e[_0x1fd8fb(0x1cd)]){const _0x19907a={};_0x19907a['platforms']=[],_0x33cf8e[_0x1fd8fb(0x1cd)]=helper[_0x1fd8fb(0x198)](Object['assign']({},_0x4619aa[_0x1fd8fb(0x159)],_0x19907a),null,_0x1fe76f['toLowerCase'](),null,null,_0x33cf8e[_0x1fd8fb(0x1cd)]);}}else{if(_0x16dc37[_0x1fd8fb(0x1bc)](nestedKeyValue,_0x7a10ca,[_0x16dc37[_0x1fd8fb(0x140)],_0x21ba2e])){const _0x215c09={};_0x215c09['platforms']=[],_0x7a10ca[_0x16dc37[_0x1fd8fb(0x140)]][_0x21ba2e][_0x16dc37[_0x1fd8fb(0x1c1)]]=helper[_0x1fd8fb(0x198)](Object[_0x1fd8fb(0x1a0)]({},_0x4619aa['config'],_0x215c09),null,_0x1fe76f['toLowerCase'](),_0x16dc37[_0x1fd8fb(0x19b)](nestedKeyValue,_0x7a10ca,[_0x16dc37['jfyPl'],_0x21ba2e,_0x16dc37['eYQyR']])||{},null,null);}}_0x1955b9[_0x16dc37[_0x1fd8fb(0x136)]]=_0x7a10ca,_0x51383d[_0x1fd8fb(0x155)](_0x16dc37['agEZC']);}const _0x2ef86f={};_0x2ef86f[_0x1fd8fb(0x1b6)]=_0x35081a;const _0x5cb213=_0x2ef86f,_0x3c7d61=path[_0x1fd8fb(0x18d)](__dirname,_0x16dc37[_0x1fd8fb(0x1c0)]),_0xe1d56d=process[_0x1fd8fb(0x13b)]();process[_0x1fd8fb(0x1cc)][_0x16dc37[_0x1fd8fb(0x1d2)]]=_0xe1d56d;_0x35081a&&process[_0x1fd8fb(0x13e)](path[_0x1fd8fb(0x132)](_0x35081a));process[_0x1fd8fb(0x1cc)][_0x1fd8fb(0x16f)]=process[_0x1fd8fb(0x1cc)][_0x1fd8fb(0x16f)]||_0x16dc37[_0x1fd8fb(0x1a8)];const _0x1e055a=new CodeceptJS[(_0x1fd8fb(0x13d))](null,_0x5cb213);if(_0x16dc37[_0x1fd8fb(0x19c)](typeof _0x1e055a['_ensureInitialized'],_0x16dc37[_0x1fd8fb(0x17b)]))await _0x1e055a[_0x1fd8fb(0x1ca)]();else{let _0x2ec514;try{_0x2ec514=_0x16dc37[_0x1fd8fb(0x19b)](requireModule,_0x16dc37[_0x1fd8fb(0x1b8)],_0x16dc37[_0x1fd8fb(0x1a8)])['version'];}catch(_0x313cbd){logger[_0x1fd8fb(0x139)](_0x1fd8fb(0x1a5)+util['format'](_0x313cbd));}_0x2ec514&&_0x16dc37[_0x1fd8fb(0x1ac)](_0x16dc37[_0x1fd8fb(0x197)](parseInt,_0x2ec514[_0x1fd8fb(0x1a4)]('.')[0x0],0xa),0x4)&&logger[_0x1fd8fb(0x19d)](_0x1fd8fb(0x122)+_0x2ec514+'\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.');}const _0x1331ad=_0x1e055a[_0x1fd8fb(0x18a)](_0x3238cf),_0x1c0ac1=testOpsHelper['isTestObservabilitySession'](),_0x14510e=_0x51383d[_0x1fd8fb(0x14f)](_0x5f29a9=>{const _0x540c59=_0x1fd8fb,_0x3a096b={};_0x3a096b[_0x540c59(0x178)]=_0x1955b9[_0x5f29a9];const _0x57e42b={};_0x57e42b['WebDriver']=_0x1955b9[_0x5f29a9];const _0x4c0d19=_0x1ddb42?_0x3a096b:_0x57e42b,_0x5d3e56=_0x16dc37[_0x540c59(0x123)](getO11yRerunPattern),_0x58c5e8={};_0x58c5e8[_0x540c59(0x166)]=_0x4c0d19;const _0x10bf21={};_0x10bf21['require']=_0x3c7d61,_0x10bf21['enabled']=!![],_0x10bf21['skipSessionName']=_0x4619aa[_0x540c59(0x159)][_0x540c59(0x1a1)]['skipSessionName'],_0x10bf21['skipSessionStatus']=_0x4619aa[_0x540c59(0x159)]['testContextOptions'][_0x540c59(0x195)],_0x10bf21[_0x540c59(0x143)]=_0x1c0ac1,_0x10bf21[_0x540c59(0x1d0)]=_0x1fe76f;const _0x5192ca={};_0x5192ca['BrowserStackPlugin']=_0x10bf21;const _0x1b086c={};return _0x1b086c[_0x540c59(0x13f)]=_0x5192ca,helper[_0x540c59(0x17a)]({},_0x7a10ca,_0x16dc37[_0x540c59(0x179)](isBrowserstackInfra)?_0x58c5e8:{},_0x5d3e56?{'grep':_0x5d3e56}:{},_0x1b086c);});for(const _0xd827ff of _0x14510e){for(const _0x88256a of _0x1331ad){const _0x468c1a=_0x1e055a[_0x1fd8fb(0x187)]();_0x468c1a[_0x1fd8fb(0x1bf)](_0x88256a),_0x468c1a[_0x1fd8fb(0x15e)](_0xd827ff);const _0xda9e4f={};_0xda9e4f[_0x1fd8fb(0x159)]=_0x35081a,_0x468c1a[_0x1fd8fb(0x173)](Object[_0x1fd8fb(0x1a0)](_0xda9e4f,_0x11bb52));}}_0x1e055a['on'](CodeceptJS[_0x1fd8fb(0x168)][_0x1fd8fb(0x1c4)][_0x1fd8fb(0x19a)],(_0x93808b,_0x2a2e2d)=>{const _0x277569=_0x1fd8fb;console[_0x277569(0x18c)](_0x16dc37[_0x277569(0x16a)],_0x93808b[_0x277569(0x188)]);const _0x122fc7={[_0x93808b[_0x277569(0x188)]]:_0x93808b[_0x277569(0x12d)][_0x277569(0x154)]};_testErrorData[_0x277569(0x155)](_0x122fc7);}),_0x1e055a['on'](CodeceptJS[_0x1fd8fb(0x168)][_0x1fd8fb(0x1c4)][_0x1fd8fb(0x1c3)],async _0x11cdf1=>{const _0x1267df=_0x1fd8fb;console[_0x1267df(0x18c)](_0x16dc37[_0x1267df(0x145)],_0x11cdf1[_0x1267df(0x188)]);}),_0x1e055a['on'](CodeceptJS[_0x1fd8fb(0x168)][_0x1fd8fb(0x1c4)]['before'],async _0x4fe0e9=>{const _0x2f3b1b=_0x1fd8fb;console[_0x2f3b1b(0x18c)](_0x16dc37[_0x2f3b1b(0x1a2)],_0x4fe0e9[_0x2f3b1b(0x188)]);}),_0x1e055a['on'](CodeceptJS[_0x1fd8fb(0x168)][_0x1fd8fb(0x147)][_0x1fd8fb(0x1a3)],async()=>{const _0x282ce2=_0x1fd8fb,_0x1b6b5d=_0x16dc37[_0x282ce2(0x12e)][_0x282ce2(0x1a4)]('|');let _0x9b72cc=0x0;while(!![]){switch(_0x1b6b5d[_0x9b72cc++]){case'0':_0x1e055a['printResults']();continue;case'1':utilities[_0x282ce2(0x17d)](_0x4619aa);continue;case'2':_0x4619aa['errorMessage']=_testErrorData;continue;case'3':PerformanceTester[_0x282ce2(0x1b3)](PerformanceEvents[_0x282ce2(0x196)]);continue;case'4':try{await TestHubHandler[_0x282ce2(0x184)]();}catch(_0x597ee5){logger[_0x282ce2(0x139)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x282ce2(0x190)](_0x597ee5));}continue;}break;}});async function _0x5af8cd(){const _0x30df0a=_0x1fd8fb;try{await _0x1e055a[_0x30df0a(0x174)](),await _0x1e055a[_0x30df0a(0x186)]();}finally{process[_0x30df0a(0x13e)](_0xe1d56d),await _0x1e055a[_0x30df0a(0x192)]();}}PerformanceTester[_0x1fd8fb(0x126)](PerformanceEvents[_0x1fd8fb(0x15c)]),await _0x16dc37[_0x1fd8fb(0x179)](_0x5af8cd);}module[a1_0x3c322e(0x1ab)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a2_0x97fe(_0x4014c4,_0x316644){const _0x4a30f8=a2_0x4a30();return a2_0x97fe=function(_0x97fe4e,_0x21eef1){_0x97fe4e=_0x97fe4e-0xc2;let _0x2ef02b=_0x4a30f8[_0x97fe4e];return _0x2ef02b;},a2_0x97fe(_0x4014c4,_0x316644);}const a2_0x4e0d69=a2_0x97fe;(function(_0x5a4eb2,_0x497ff8){const _0x4f0097=a2_0x97fe,_0xef1fc6=_0x5a4eb2();while(!![]){try{const _0x19a584=-parseInt(_0x4f0097(0xe9))/0x1*(-parseInt(_0x4f0097(0xdb))/0x2)+-parseInt(_0x4f0097(0xda))/0x3*(-parseInt(_0x4f0097(0xe7))/0x4)+-parseInt(_0x4f0097(0xc7))/0x5*(-parseInt(_0x4f0097(0xef))/0x6)+parseInt(_0x4f0097(0x111))/0x7*(-parseInt(_0x4f0097(0xe2))/0x8)+parseInt(_0x4f0097(0x115))/0x9+parseInt(_0x4f0097(0x112))/0xa+parseInt(_0x4f0097(0x108))/0xb*(-parseInt(_0x4f0097(0xd3))/0xc);if(_0x19a584===_0x497ff8)break;else _0xef1fc6['push'](_0xef1fc6['shift']());}catch(_0x575638){_0xef1fc6['push'](_0xef1fc6['shift']());}}}(a2_0x4a30,0x22599));function a2_0x4a30(){const _0x502226=['capabilities','HMVUJ','\x20browser\x20version\x20','osVersion','../../helpers/accessibility-automation/helper','72SiBMRx','tKTJX','tnWKa','browser_version','cloudProvider','ENVVR','XWTAY','141ehHHkL','86558wxnOkP','browserWSEndpoint','NhLlI','latest','kgHSk','vFJDP','isVersionSupported','677064UczfNP','../../helpers/logger','getBrowserDisplayName','FQhUo','ffZmF','4244HFaEmL','GyZeF','1gSJljv','wSeif','config','platformName','platformVersion','string','771258WHmAGb','name','isBrowserSupportedForAccessibility','WebDriver','axdSe','getDetails','unknown_grid','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','os_version','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','yaZGW','platform_version','browserName','on\x20non-BrowserStack\x20infrastructure\x20','../../helpers/test-observability/utils','pwQJJ','get','OsItV','FaTVA','sessionId','browserstack_accessibility_automation_script','MqrWB','processWebDriverConfig','winstonLogger','434599qmaaVh','IZiqo','bsSessionId','hAMKR','browser','Playwright','setGlobal','WxLvv','\x20or\x20higher\x20','21vyXztL','989810tbwBiP','zbCHw','euMkx','1641933kvtpWj','NFgaD','browserVersion','accessibilityPlatform','../../helpers/helper','synUb','deviceName','10ZMiZCK','parse','caps','QMDdF','constructor','SYjQQ','includes'];a2_0x4a30=function(){return _0x502226;};return a2_0x4a30();}const {isUndefined,nestedKeyValue}=require(a2_0x4e0d69(0xc4)),logger=require(a2_0x4e0d69(0xe3))[a2_0x4e0d69(0x107)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a2_0x4e0d69(0xd2)),{getObservabilityLinkedProductName}=require(a2_0x4e0d69(0xfe)),accessibilityHelper=require(a2_0x4e0d69(0xd2)),{isBrowserstackInfra}=require(a2_0x4e0d69(0xc4)),globals=require('../../helpers/globals.js'),getOSVersionFromCaps=_0x23cb9b=>{const _0x2fc04e=a2_0x4e0d69,_0x28ea42={};_0x28ea42[_0x2fc04e(0x109)]='bstack:options',_0x28ea42[_0x2fc04e(0xd9)]=_0x2fc04e(0xed),_0x28ea42[_0x2fc04e(0x105)]=_0x2fc04e(0xfb),_0x28ea42[_0x2fc04e(0xc5)]=_0x2fc04e(0xd1),_0x28ea42[_0x2fc04e(0xe6)]=_0x2fc04e(0xf7);const _0x433bf6=_0x28ea42;if(!_0x23cb9b)return null;const _0x373b61=_0x23cb9b[_0x433bf6[_0x2fc04e(0x109)]],_0x508253=[_0x433bf6[_0x2fc04e(0xd9)],_0x433bf6['MqrWB'],_0x433bf6[_0x2fc04e(0xc5)],_0x433bf6[_0x2fc04e(0xe6)]];for(const _0x5c0d50 of _0x508253){if(_0x373b61&&_0x373b61[_0x5c0d50])return _0x373b61[_0x5c0d50];else{if(_0x23cb9b[_0x5c0d50])return _0x23cb9b[_0x5c0d50];}}return null;};exports['fetchPlatformDetails']=_0x43acb1=>{const _0x6657e1=a2_0x4e0d69,_0x196961={'VTEwr':_0x6657e1(0xf5),'OsItV':function(_0x309405,_0x1aea04){return _0x309405===_0x1aea04;},'OCrcd':_0x6657e1(0xf2),'kgHSk':function(_0x3d7219,_0xd93795){return _0x3d7219(_0xd93795);},'axdSe':function(_0x1095a2,_0xf1e5f2,_0x20c24b){return _0x1095a2(_0xf1e5f2,_0x20c24b);},'FQhUo':_0x6657e1(0xeb),'cLSnW':'desiredCapabilities','whIGv':function(_0x52bfe2,_0xb56b21){return _0x52bfe2(_0xb56b21);},'Dloqt':function(_0x34ed73,_0x5c4175){return _0x34ed73===_0x5c4175;},'vFJDP':_0x6657e1(0x10d),'EzilN':function(_0x4b1e59,_0x5e1687,_0x3f4eb6){return _0x4b1e59(_0x5e1687,_0x3f4eb6);},'QMDdF':'browser','SYjQQ':_0x6657e1(0xdc),'FaTVA':_0x6657e1(0xc9),'ulnlT':function(_0x15038f,_0x48dadc){return _0x15038f(_0x48dadc);}};if(!_0x43acb1)return null;let _0x40f11e=global['__cloud_provider___']||_0x196961['VTEwr'];if(_0x196961[_0x6657e1(0x101)](_0x43acb1[_0x6657e1(0xcb)][_0x6657e1(0xf0)],_0x196961['OCrcd'])){const _0x3a04da=_0x43acb1['browser'];if(!_0x3a04da)return null;const _0x19d9cd=_0x3a04da['capabilities'],_0x21fd4e=_0x196961[_0x6657e1(0xdf)](getOSVersionFromCaps,_0x196961[_0x6657e1(0xf3)](nestedKeyValue,_0x43acb1,[_0x196961[_0x6657e1(0xe5)],_0x196961['cLSnW']]));return{[_0x40f11e]:{'browser':_0x19d9cd[_0x6657e1(0xfc)],'browser_version':_0x19d9cd[_0x6657e1(0xc2)],'capabilities':_0x19d9cd,'platform':_0x19d9cd[_0x6657e1(0xec)],'platform_version':_0x19d9cd['platformVersion']||_0x21fd4e,'product':_0x196961['whIGv'](getObservabilityLinkedProductName,_0x19d9cd),'session_id':_0x3a04da[_0x6657e1(0x103)]}};}else{if(_0x196961['Dloqt'](_0x43acb1[_0x6657e1(0xcb)][_0x6657e1(0xf0)],_0x196961[_0x6657e1(0xe0)])){const _0xafba1e=PlaywrightSessionDetails[_0x6657e1(0xf4)]();_0x40f11e=_0xafba1e[_0x6657e1(0xd7)]||_0x40f11e;const _0x3e0dd4=_0x196961['EzilN'](nestedKeyValue,_0x43acb1,[_0x196961[_0x6657e1(0xe5)],_0x196961[_0x6657e1(0xca)],_0x196961[_0x6657e1(0xcc)]]),_0x6cd113=_0x3e0dd4?JSON[_0x6657e1(0xc8)](new URL(_0x3e0dd4)['searchParams'][_0x6657e1(0x100)](_0x196961[_0x6657e1(0x102)])):{};return{[_0x40f11e]:{'browser':_0xafba1e[_0x6657e1(0x10c)]||_0x6cd113[_0x6657e1(0xfc)],'browser_version':_0xafba1e['browser_version']||_0x6cd113[_0x6657e1(0xd6)],'capabilities':_0x6cd113,'platform':_0xafba1e['platform'],'platform_version':_0xafba1e[_0x6657e1(0xfb)],'product':_0x196961['ulnlT'](getObservabilityLinkedProductName,_0x6cd113),'session_id':_0xafba1e[_0x6657e1(0x10a)]}};}}};const setAccessibilityPlatformFlag=_0xebc6ca=>{const _0x39dd42=a2_0x4e0d69,_0x43fd11={};_0x43fd11['yaZGW']='isAccessibilityPlatform';const _0x50141d=_0x43fd11;global[_0x39dd42(0xc3)]=_0xebc6ca,globals[_0x39dd42(0x10e)](_0x50141d[_0x39dd42(0xfa)],_0xebc6ca);};exports[a2_0x4e0d69(0x106)]=_0x21f31a=>{const _0x11afb6=a2_0x4e0d69,_0x2511c1={'zbCHw':function(_0x1489c7){return _0x1489c7();},'euMkx':function(_0x56d172,_0x49e4b4){return _0x56d172(_0x49e4b4);},'WxLvv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','ENVVR':function(_0x49359d,_0x5998e4){return _0x49359d(_0x5998e4);},'NFgaD':function(_0x381cf5,_0x547223){return _0x381cf5!==_0x547223;},'NhLlI':_0x11afb6(0xde),'dknWA':_0x11afb6(0xfd),'pwQJJ':function(_0x3daa44,_0xc8647c){return _0x3daa44(_0xc8647c);},'tnWKa':_0x11afb6(0xf9),'tKTJX':function(_0x25ea7c,_0xb88e22){return _0x25ea7c(_0xb88e22);}};if(_0x2511c1[_0x11afb6(0x113)](isAccessibilityAutomationSession)){const _0x5436de=_0x21f31a[_0x11afb6(0x10c)],_0xd24346=_0x5436de[_0x11afb6(0xce)];_0x2511c1[_0x11afb6(0x114)](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0x11afb6(0xf1)](_0xd24346[_0x11afb6(0xfc)])&&(logger[_0x11afb6(0xf8)](_0x2511c1[_0x11afb6(0x10f)]),_0x2511c1[_0x11afb6(0xd8)](setAccessibilityPlatformFlag,![]));if(_0x2511c1[_0x11afb6(0x116)](_0xd24346[_0x11afb6(0xc2)],_0x2511c1[_0x11afb6(0xdd)])){const _0x5862d8=_0x2511c1[_0x11afb6(0x113)](isBrowserstackInfra),_0x67bf2f=accessibilityHelper['getMinVersionForBrowser'](_0xd24346[_0x11afb6(0xfc)],_0x5862d8),_0x48d580=accessibilityHelper[_0x11afb6(0xe4)](_0xd24346[_0x11afb6(0xfc)]);if(!accessibilityHelper[_0x11afb6(0xe1)](_0xd24346['browserVersion'],_0x67bf2f)){const _0x2f030b=_0x5862d8?'':_0x2511c1['dknWA'];logger[_0x11afb6(0xf8)](_0x11afb6(0xf6)+_0x48d580+_0x11afb6(0xd0)+_0x67bf2f+_0x11afb6(0x110)+_0x2f030b+'.'),_0x2511c1[_0x11afb6(0x114)](setAccessibilityPlatformFlag,![]);}}!_0x2511c1[_0x11afb6(0xff)](isUndefined,_0xd24346[_0x11afb6(0xc6)])&&(logger[_0x11afb6(0xf8)](_0x2511c1[_0x11afb6(0xd5)]),_0x2511c1[_0x11afb6(0xd4)](setAccessibilityPlatformFlag,![]));}},exports['shouldPatchExecuteScript']=_0x513710=>{const _0x105024=a2_0x4e0d69,_0x1df9fc={};_0x1df9fc['GyZeF']=function(_0x42e538,_0xcc98b7){return _0x42e538!==_0xcc98b7;},_0x1df9fc[_0x105024(0x10b)]=_0x105024(0xee),_0x1df9fc[_0x105024(0xcf)]='browserstack_executor',_0x1df9fc[_0x105024(0xea)]=_0x105024(0x104);const _0x5f5927=_0x1df9fc;if(!_0x513710)return![];else{if(_0x5f5927[_0x105024(0xe8)](typeof _0x513710,_0x5f5927[_0x105024(0x10b)]))return!![];}return!_0x513710[_0x105024(0xcd)](_0x5f5927['HMVUJ'])&&!_0x513710[_0x105024(0xcd)](_0x5f5927[_0x105024(0xea)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a3_0x4323(){const _0x2098d7=['push','__cloud_provider___','opZsg','mapTestHooks','CBTSessionCreated','944391xwZxVn','uploadEventData','getFailureType','../../helpers/logger','VtbKd','result','MukOg','bddStepFinish','comment','bPgCD','body','failure_backtrace','text','util','BDzXS','stop','path','YUtGf','../../helpers/test-observability/sessionHandler','winstonLogger','launch','defineProperty','eventType','110022CePSpO','QqtiE','5924RJBGmK','connect','LDqYA','fireEvent','initializeBddStep','zyqEa','finished_at','startedAt','currentHook','../../helpers/testhub/utils.js','dhZec','errorsDetailed','jMygY','dhKnZ','tags','_afterAll','zeDUH','SNhfA','hooks','_testEnv','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','KFzzc','accessibilityPlatform','getHooksForTest','uuid','relative','btUuw','eyfwH','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','pid','getHierarchy','wsEndpoint','passed','File\x20path\x20could\x20not\x20be\x20found','feature','file','stringify','status','8811840htYpZE','bufferPendingHookEvent','event_type','hook_run','qeMxk','WDwhY','enabled','format','err','.git','driver','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','inspect','QQGyu','jezQO','273AJwWyS','BROWSERSTACK','browserstack','UmgMh','jUiyG','oxled','ctx','XELCn','TEST_RUN_FINISHED','statSync','setupBrowserDetails','sDyiN','229rZnTGa','bEOOV','qIDoD','vSbOZ','toString','groups','location_prefix','vFoPh','toISOString','aMpEs','_paths','wwZqT','finished','XLbOO','HookRunStarted','getCBTInfo','stepAnalyticsId','type','8086yoXmPf','pRqYD','\x20with\x20error\x20:\x20','findGitConfig','currentTest','../mocha/test-observability/mochaUtils','_beforeAll','rUIJS','9653314qtSOTD','duration','HiMiD','replace','rRQvE','QykPj','hook','TEST_REPORTING_ANALYTICS','failed','parent','VoOeI','shutdown','bs:addLog:','removeAllListeners','BZulw','../../helpers/test-observability/constants','TEST_RUN_STARTED','../../helpers/test-observability/utils','now','wYPOL','_afterEach','bddSteps','test_run_uuid','_beforeEach','775sfXTeA','tbAiz','../../helpers/test-observability/requestQueueHandler','join','pendingHookEvents','../utils/constants','start','BEOja','ffSGg','pgdtf','failureData','length','frameworkName','testAnalyticsId','PxPOd','36490VmWLJg','apply','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','CODECEPT','then','vkJUm','suites','concat','Wbqfy','GeqLT','message','vvLlk','resetSkipTestHooks','codeceptjs','aThZJ','flushPendingHookEvents','HgnJd','includes','kmTei','czlwy','TKAom','cEJMy','./helper.js','title','markedStatus','backtrace','getRootParentFile','failed\x20to\x20get\x20root\x20parent\x20file\x20','bTGxX','Hdibd','BhRlT','YGQlA','uploadData','GbGeF','test','YnwlG','VaevB','dirname','skipped','hook_run_uuid','LogCreated','ceOHS','xwehl','HUtwk','../playwright/accessibility-helper','getInstance','appendTestItemLog','../../helpers/helper','integrations','XqZvH','lKNHD','forEach','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','HookRunFinished','fullTitle','patchConsoleLogger','captureEvent','match','cBtyr','ujprJ','tjdsN','FHXtN','JctaQ','HOOK_RUN_FINISHED','getTime','laTiq','keyword','hookAnalyticsId','SxtzQ','wgbfw','zAWwN','oJiDX','sendCBTInfo','sFbMM','getHookType','failure','QtTTS','exports','obsBrowserTypeMockApplied','toLowerCase','IjcWd','TestRunStarted','wqjim','oiKdv','2232hZDFyZ','test_run','split','debug','../playwright/sessionDetails','retryOf','TEST_RUN_SKIPPED','TestRunSkipped','started','find','CcOSv'];a3_0x4323=function(){return _0x2098d7;};return a3_0x4323();}const a3_0x1bd63e=a3_0x3247;(function(_0x226bee,_0x346a84){const _0x5a94a8=a3_0x3247,_0x3100b4=_0x226bee();while(!![]){try{const _0x3db6ce=-parseInt(_0x5a94a8(0x18c))/0x1*(parseInt(_0x5a94a8(0x19e))/0x2)+parseInt(_0x5a94a8(0x132))/0x3+-parseInt(_0x5a94a8(0x14b))/0x4*(parseInt(_0x5a94a8(0x1be))/0x5)+-parseInt(_0x5a94a8(0x149))/0x6*(-parseInt(_0x5a94a8(0x180))/0x7)+-parseInt(_0x5a94a8(0x171))/0x8+-parseInt(_0x5a94a8(0x122))/0x9*(-parseInt(_0x5a94a8(0x1cd))/0xa)+parseInt(_0x5a94a8(0x1a6))/0xb;if(_0x3db6ce===_0x346a84)break;else _0x3100b4['push'](_0x3100b4['shift']());}catch(_0x3f63a3){_0x3100b4['push'](_0x3100b4['shift']());}}}(a3_0x4323,0x87a40));function a3_0x3247(_0x5b3338,_0x27d9a8){const _0x432361=a3_0x4323();return a3_0x3247=function(_0x3247b2,_0x482be7){_0x3247b2=_0x3247b2-0xfb;let _0x53a2ae=_0x432361[_0x3247b2];return _0x53a2ae;},a3_0x3247(_0x5b3338,_0x27d9a8);}const path=require(a3_0x1bd63e(0x142)),util=require(a3_0x1bd63e(0x13f)),fs=require('fs'),{v4:uuidv4}=require(a3_0x1bd63e(0x163)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x1bd63e(0xfd)),testOpsHelper=require(a3_0x1bd63e(0x1b7)),{getTestEnv}=require(a3_0x1bd63e(0x1a3)),{FRAMEWORKS}=require(a3_0x1bd63e(0x1b5)),logger=require(a3_0x1bd63e(0x135))[a3_0x1bd63e(0x145)],SessionHandler=require(a3_0x1bd63e(0x144)),RequestQueueHandler=require(a3_0x1bd63e(0x1c0)),PlaywrightSessionDetails=require(a3_0x1bd63e(0x126)),debug=testOpsHelper[a3_0x1bd63e(0x125)],{processAccessibilityCaps}=require(a3_0x1bd63e(0x1f9)),Constants=require(a3_0x1bd63e(0x1c3)),{fetchPlatformDetails}=require(a3_0x1bd63e(0x1e3)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x1bd63e(0x154)),constants=require(a3_0x1bd63e(0x1c3)),STATE_PASSED=a3_0x1bd63e(0x16b),STATE_FAILED=a3_0x1bd63e(0x1ae),a3_0x10b89d={};a3_0x10b89d[a3_0x1bd63e(0x1b6)]=a3_0x1bd63e(0x11f),a3_0x10b89d[a3_0x1bd63e(0x188)]='TestRunFinished',a3_0x10b89d[a3_0x1bd63e(0x128)]=a3_0x1bd63e(0x129),a3_0x10b89d['HOOK_RUN_STARTED']=a3_0x1bd63e(0x19a),a3_0x10b89d[a3_0x1bd63e(0x10d)]=a3_0x1bd63e(0x103);const TEST_EVENTS=a3_0x10b89d,parseEvent=_0x51d893=>{const _0x169061=a3_0x1bd63e,_0xba7725={};_0xba7725[_0x169061(0x1d8)]=function(_0x30afa3,_0x2d14f4){return _0x30afa3<_0x2d14f4;},_0xba7725['lKNHD']=function(_0x27d732,_0x436ea7){return _0x27d732===_0x436ea7;},_0xba7725['XLbOO']=_0x169061(0x1ef),_0xba7725['wwZqT']='hook',_0xba7725[_0x169061(0x117)]=_0x169061(0x1f3),_0xba7725[_0x169061(0x15c)]=function(_0x10ad99,_0x10ae4f){return _0x10ad99===_0x10ae4f;},_0xba7725[_0x169061(0x10c)]=_0x169061(0x12a),_0xba7725['IjcWd']=function(_0x16493f,_0x196059){return _0x16493f===_0x196059;},_0xba7725['yXxjc']=_0x169061(0x198);const _0x1d270e=_0xba7725,_0x5986e7=_0x51d893[_0x169061(0x107)](/^(.*)Run(.*)$/);if(!_0x5986e7)return null;if(_0x1d270e[_0x169061(0x1d8)](_0x5986e7[_0x169061(0x1c9)],0x3))return null;const _0x29b30d=_0x5986e7[0x1][_0x169061(0x11d)](),_0x59ea8f=_0x5986e7[0x2][_0x169061(0x11d)]();return{'test':_0x1d270e[_0x169061(0x100)](_0x29b30d,_0x1d270e[_0x169061(0x199)]),'hook':_0x1d270e[_0x169061(0x100)](_0x29b30d,_0x1d270e[_0x169061(0x197)]),'skipped':_0x1d270e[_0x169061(0x100)](_0x59ea8f,_0x1d270e[_0x169061(0x117)]),'started':_0x1d270e[_0x169061(0x15c)](_0x59ea8f,_0x1d270e[_0x169061(0x10c)]),'finished':_0x1d270e[_0x169061(0x11e)](_0x59ea8f,_0x1d270e['yXxjc'])};},mockPWBrowserType=_0x4a0886=>{const _0xe22d1a=a3_0x1bd63e,_0x361ed4={'ffSGg':function(_0x567821,_0xcffddd){return _0x567821===_0xcffddd;},'jMygY':'string','YUtGf':function(_0x1cd5b7,_0xa3d76,_0x52191e){return _0x1cd5b7(_0xa3d76,_0x52191e);},'GbGeF':_0xe22d1a(0x16a),'HiMiD':function(_0x4f3a81,_0x54d429){return _0x4f3a81(_0x54d429);},'Inydm':_0xe22d1a(0x182),'BhRlT':function(_0x14554b,_0x52161c,_0x411f3f){return _0x14554b(_0x52161c,_0x411f3f);},'YGQlA':function(_0x3306b0){return _0x3306b0();},'tbAiz':function(_0x5e71e9,_0x258ac2){return _0x5e71e9(_0x258ac2);},'zAWwN':'Not\x20able\x20to\x20import\x20Browser','bPgCD':_0xe22d1a(0x14c),'sgioV':_0xe22d1a(0x146)},_0x2ea99c=_0x361ed4[_0xe22d1a(0x1ec)](resolveBrowserTypeClass);if(!_0x2ea99c){_0x361ed4[_0xe22d1a(0x1bf)](debug,_0x361ed4[_0xe22d1a(0x114)]);return;}const _0x39490a=_0x2ea99c['prototype'];if(_0x39490a[_0xe22d1a(0x11c)])return;const _0x2d2697=_0x39490a[_0xe22d1a(0x14c)];Object[_0xe22d1a(0x147)](_0x39490a,_0x361ed4[_0xe22d1a(0x13b)],{'get':function(){const _0x116d0e=_0xe22d1a,_0x5a147a={'YmkQQ':function(_0x1acc6f,_0x99681f){const _0x4fefa0=a3_0x3247;return _0x361ed4[_0x4fefa0(0x1c6)](_0x1acc6f,_0x99681f);},'rRQvE':_0x361ed4[_0x116d0e(0x157)],'dhKnZ':function(_0x43124d,_0x408d3a,_0x31dc6c){const _0x12303f=_0x116d0e;return _0x361ed4[_0x12303f(0x143)](_0x43124d,_0x408d3a,_0x31dc6c);},'eyfwH':_0x361ed4[_0x116d0e(0x1ee)],'XqZvH':function(_0xc193ee,_0x291bcd){const _0x43f665=_0x116d0e;return _0x361ed4[_0x43f665(0x1a8)](_0xc193ee,_0x291bcd);},'vkJUm':_0x361ed4['Inydm'],'HgnJd':function(_0x52bca2,_0x1bdb1d,_0x565eb2){const _0x9b667b=_0x116d0e;return _0x361ed4[_0x9b667b(0x1eb)](_0x52bca2,_0x1bdb1d,_0x565eb2);}};return async function _0x2374e9(_0x2e0cf7,_0x3abb19){const _0x4a2ffe=_0x116d0e,_0x43efe2={'ElJFR':function(_0x455b62,_0x30cbaf){return _0x5a147a['YmkQQ'](_0x455b62,_0x30cbaf);},'SxtzQ':_0x5a147a[_0x4a2ffe(0x1aa)]},_0x478129=_0x5a147a[_0x4a2ffe(0x158)](nestedKeyValue,_0x2e0cf7,[_0x5a147a[_0x4a2ffe(0x166)]])||_0x2e0cf7;let _0x2b5251=null,_0x1294d9=null;try{[_0x1294d9,_0x2b5251]=_0x478129?_0x5a147a[_0x4a2ffe(0xff)](parseWSEndpoint,_0x478129):[null,null],global['__platformCaps']=_0x2b5251,logger[_0x4a2ffe(0x125)](_0x4a2ffe(0x17c)+_0x1294d9),_0x1294d9[_0x4a2ffe(0x1de)](Constants[_0x4a2ffe(0x181)])&&(global[_0x4a2ffe(0x12e)]=_0x5a147a[_0x4a2ffe(0x1d2)]);}catch(_0x30dbe8){logger[_0x4a2ffe(0x125)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x478129+'\x20'+_0x30dbe8);}_0x5a147a[_0x4a2ffe(0x1dd)](processAccessibilityCaps,_0x2b5251,_0x1294d9);if(global[_0x4a2ffe(0x161)]){const _0x1e7a81=await _0x39490a['connectOverCDP'][_0x4a2ffe(0x1ce)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x5a147a[_0x4a2ffe(0xff)](encodeURIComponent,JSON[_0x4a2ffe(0x16f)](_0x2b5251))]);return PlaywrightSessionDetails[_0x4a2ffe(0x18a)](_0x1e7a81,_0x4a0886,_0x478129),_0x1e7a81;}return _0x2d2697[_0x4a2ffe(0x1ce)](this,arguments)[_0x4a2ffe(0x1d1)](_0x42e656=>{const _0x4e646e=_0x4a2ffe;let _0x4af33a=_0x2e0cf7[_0x4e646e(0x16a)];return _0x43efe2['ElJFR'](typeof _0x2e0cf7,_0x43efe2[_0x4e646e(0x112)])&&(_0x4af33a=_0x2e0cf7),PlaywrightSessionDetails[_0x4e646e(0x18a)](_0x42e656,_0x4a0886,_0x4af33a),_0x42e656;});};}});const _0x125882=_0x39490a[_0xe22d1a(0x146)];Object['defineProperty'](_0x39490a,_0x361ed4['sgioV'],{'get':function(){return async function _0x29917d(){const _0x5c1e25=a3_0x3247;return _0x125882[_0x5c1e25(0x1ce)](this,arguments)[_0x5c1e25(0x1d1)](_0x121a98=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x121a98,null),_0x121a98;});};}});};class O11yHelper{['currentTest']=null;[a3_0x1bd63e(0x153)]=null;[a3_0x1bd63e(0x177)]=![];[a3_0x1bd63e(0x1ca)]=![];[a3_0x1bd63e(0x1c2)]=[];constructor(_0x29ea49,_0x46bf28){const _0x3fb618=a3_0x1bd63e,_0x5d16ac={'jUiyG':'3|2|1|4|5|0','laTiq':function(_0x5a7e85,_0x1281fa){return _0x5a7e85===_0x1281fa;},'QtTTS':'Playwright','VaevB':function(_0x2232c0,_0x12dfff){return _0x2232c0(_0x12dfff);},'cEJMy':function(_0x368285){return _0x368285();}},_0xe43b96=_0x5d16ac[_0x3fb618(0x184)][_0x3fb618(0x124)]('|');let _0x2a0fb3=0x0;while(!![]){switch(_0xe43b96[_0x2a0fb3++]){case'0':this[_0x3fb618(0x17b)]&&_0x5d16ac[_0x3fb618(0x10f)](this[_0x3fb618(0x17b)]['constructor']['name'],_0x5d16ac[_0x3fb618(0x11a)])&&_0x5d16ac[_0x3fb618(0x1f1)](mockPWBrowserType,null);continue;case'1':this[_0x3fb618(0x17b)]=_0x29ea49;continue;case'2':this[_0x3fb618(0x1ca)]=_0x46bf28['frameworkName'];continue;case'3':this['enabled']=_0x5d16ac[_0x3fb618(0x1e2)](shouldProcessEventForTesthub);continue;case'4':this[_0x3fb618(0x15e)]=_0x5d16ac[_0x3fb618(0x1e2)](getTestEnv);continue;case'5':this[_0x3fb618(0x196)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x3fb618(0x15e)][_0x3fb618(0x192)]);continue;}break;}}['hasLiveDriverSession'](){const _0x32c227=a3_0x1bd63e,_0x1e967e={'KRpdu':function(_0x46deb8,_0x56274e){return _0x46deb8(_0x56274e);}};if(!this[_0x32c227(0x17b)])return![];try{const _0x472a41=_0x1e967e['KRpdu'](fetchPlatformDetails,this['driver']);if(!_0x472a41)return![];const _0x27d7d7=Object['keys'](_0x472a41)[0x0];return!!(_0x27d7d7&&_0x472a41[_0x27d7d7]&&_0x472a41[_0x27d7d7]['session_id']);}catch(_0xf349fe){return![];}}[a3_0x1bd63e(0x172)](_0x6eaa03,_0x145de4){const _0x2aade6=a3_0x1bd63e;if(!_0x145de4)return;const _0xb5619e={};_0xb5619e[_0x2aade6(0x148)]=_0x6eaa03,_0xb5619e[_0x2aade6(0x1ed)]=_0x145de4,this[_0x2aade6(0x1c2)][_0x2aade6(0x12d)](_0xb5619e);}async[a3_0x1bd63e(0x1dc)](){const _0x4dc716=a3_0x1bd63e,_0x404a0f={};_0x404a0f[_0x4dc716(0x121)]=function(_0x226064,_0x268c51){return _0x226064&&_0x268c51;};const _0x2c4d1a=_0x404a0f;if(!this[_0x4dc716(0x1c2)][_0x4dc716(0x1c9)])return;if(!this['hasLiveDriverSession']())return;const _0x2c3b3e=this[_0x4dc716(0x19b)](this['driver']),_0x54bc56=this['pendingHookEvents']['splice'](0x0,this[_0x4dc716(0x1c2)][_0x4dc716(0x1c9)]);for(const {eventType:_0x25bd2e,uploadData:_0x3d08dd}of _0x54bc56){try{const _0x339024=_0x3d08dd[_0x4dc716(0x174)]||_0x3d08dd[_0x4dc716(0x123)];_0x2c4d1a[_0x4dc716(0x121)](_0x339024,_0x2c3b3e)&&(_0x339024[_0x4dc716(0xfe)]=_0x2c3b3e),await this[_0x4dc716(0x14e)](_0x25bd2e,_0x3d08dd);}catch(_0x3ce889){logger[_0x4dc716(0x125)](_0x4dc716(0x15f)+_0x25bd2e+':\x20'+util[_0x4dc716(0x178)](_0x3ce889));}}}[a3_0x1bd63e(0x1c4)](){const _0x2f1963=a3_0x1bd63e;if(!this[_0x2f1963(0x177)])return;testOpsHelper[_0x2f1963(0x105)](),process[_0x2f1963(0x1b3)](_0x2f1963(0x1b2)+process[_0x2f1963(0x168)]),process['on'](_0x2f1963(0x1b2)+process[_0x2f1963(0x168)],this[_0x2f1963(0xfc)]['bind'](this));}async[a3_0x1bd63e(0x141)](){const _0x6b5054=a3_0x1bd63e;await RequestQueueHandler[_0x6b5054(0xfb)]()[_0x6b5054(0x1b1)]();}async[a3_0x1bd63e(0xfc)](_0x56d327){const _0x4203fa=a3_0x1bd63e,_0x1ed4c0={'fnfdY':_0x4203fa(0x1f5),'opZsg':function(_0x255d2d,_0x41e03f){return _0x255d2d(_0x41e03f);}};try{this[_0x4203fa(0x153)]&&!this[_0x4203fa(0x153)][_0x4203fa(0x1e5)]&&(_0x56d327['hook_run_uuid']=this[_0x4203fa(0x153)][_0x4203fa(0x111)]);!_0x56d327[_0x4203fa(0x1f4)]&&this[_0x4203fa(0x1a2)]&&!this[_0x4203fa(0x1a2)][_0x4203fa(0x1e5)]&&(_0x56d327['test_run_uuid']=this[_0x4203fa(0x1a2)]['testAnalyticsId']);if(_0x56d327['hook_run_uuid']||_0x56d327[_0x4203fa(0x1bc)]){const _0x2a0d7a={};_0x2a0d7a[_0x4203fa(0x173)]=_0x1ed4c0['fnfdY'],_0x2a0d7a['logs']=[_0x56d327],await SessionHandler[_0x4203fa(0x133)](_0x2a0d7a);}}catch(_0x3633e2){_0x1ed4c0[_0x4203fa(0x12f)](debug,_0x4203fa(0x1cf)+constants[_0x4203fa(0x1ad)]+'\x20with\x20error\x20:\x20'+_0x3633e2);}}async[a3_0x1bd63e(0x116)](_0x2ac750){const _0x2cb9c3=a3_0x1bd63e,_0x4eca08={'CcOSv':_0x2cb9c3(0x131),'WDwhY':function(_0x4a69f1,_0x3f3c33){return _0x4a69f1(_0x3f3c33);}};if(!this[_0x2cb9c3(0x177)])return;const _0x317629=this[_0x2cb9c3(0x19b)](this[_0x2cb9c3(0x17b)]);try{const _0xafb2f5={};_0xafb2f5[_0x2cb9c3(0x163)]=_0x2ac750,_0xafb2f5['integrations']=_0x317629;const _0x12938c=_0xafb2f5,_0x1846f3={};_0x1846f3['event_type']=_0x4eca08[_0x2cb9c3(0x12c)],_0x1846f3['test_run']=_0x12938c,await SessionHandler[_0x2cb9c3(0x133)](_0x1846f3);}catch(_0x5ba188){_0x4eca08[_0x2cb9c3(0x176)](debug,_0x2cb9c3(0x167)+constants[_0x2cb9c3(0x1ad)]+_0x2cb9c3(0x1a0)+_0x5ba188);}}[a3_0x1bd63e(0x19b)](_0x5aebbe){const _0x188374=a3_0x1bd63e,_0x4711d5={'GeqLT':function(_0x489ac5,_0x169194){return _0x489ac5(_0x169194);}};return _0x4711d5[_0x188374(0x1d6)](fetchPlatformDetails,_0x5aebbe);}[a3_0x1bd63e(0x1d9)]=_0x584594=>{const _0x5f0102=a3_0x1bd63e,_0x11b671={};_0x11b671[_0x5f0102(0x140)]=_0x5f0102(0x1bd),_0x11b671[_0x5f0102(0x115)]='_afterEach';const _0x141db0=_0x11b671;if(!_0x584594||!_0x584594[_0x5f0102(0x1af)])return;[_0x141db0[_0x5f0102(0x140)],_0x141db0['oJiDX']][_0x5f0102(0x101)](_0x185325=>{const _0x128b63=_0x5f0102,_0x2c0f4d=_0x584594['parent'][_0x185325];_0x2c0f4d[_0x128b63(0x101)](_0xff22fc=>{const _0x276681=_0x128b63;_0xff22fc['hookAnalyticsId']&&(_0xff22fc[_0x276681(0x111)]=null);});});};[a3_0x1bd63e(0x130)](_0x474f22){const _0x2a1461=a3_0x1bd63e,_0x480e8d={'Wbqfy':_0x2a1461(0x1da),'PxPOd':function(_0x3cf796){return _0x3cf796();},'YsqFX':function(_0x5b596e,_0x3c097f){return _0x5b596e===_0x3c097f;},'Hdibd':_0x2a1461(0x1ba),'wqjim':function(_0x1ed0bc){return _0x1ed0bc();},'XELCn':'_beforeAll','pgdtf':_0x2a1461(0x15a),'SZFKK':_0x2a1461(0x1bd)};if(!_0x474f22||!_0x474f22[_0x2a1461(0x1af)])return;[_0x480e8d[_0x2a1461(0x187)],_0x480e8d[_0x2a1461(0x1c7)],_0x480e8d['SZFKK'],_0x480e8d[_0x2a1461(0x1ea)]][_0x2a1461(0x101)](_0x42719d=>{const _0x5e053c=_0x2a1461,_0x30b113=_0x474f22[_0x5e053c(0x1af)][_0x42719d]||[];_0x30b113['forEach'](_0x4fe694=>{const _0x2134cc=_0x5e053c;if(_0x4fe694[_0x2134cc(0x1e4)][_0x2134cc(0x1de)](_0x480e8d[_0x2134cc(0x1d5)]))return;if(!_0x4fe694['hookAnalyticsId'])_0x4fe694[_0x2134cc(0x111)]=_0x480e8d[_0x2134cc(0x1cc)](uuidv4);else _0x4fe694[_0x2134cc(0x1e5)]&&_0x480e8d['YsqFX'](_0x42719d,_0x480e8d[_0x2134cc(0x1ea)])&&(_0x4fe694[_0x2134cc(0x111)]=_0x480e8d[_0x2134cc(0x120)](uuidv4),delete _0x4fe694[_0x2134cc(0x1e5)]);});}),this[_0x2a1461(0x130)](_0x474f22[_0x2a1461(0x1af)]);}[a3_0x1bd63e(0x162)](_0x20d75e){const _0x347ac6=a3_0x1bd63e,_0x5ddbaa={};_0x5ddbaa['aMpEs']=_0x347ac6(0x1a4),_0x5ddbaa[_0x347ac6(0x14a)]=_0x347ac6(0x15a),_0x5ddbaa[_0x347ac6(0x155)]=_0x347ac6(0x1bd),_0x5ddbaa[_0x347ac6(0x1f0)]=_0x347ac6(0x1ba);const _0x4a7eae=_0x5ddbaa;if(!_0x20d75e||!_0x20d75e[_0x347ac6(0x1af)])return[];const _0xfbab7f=[];return[_0x4a7eae[_0x347ac6(0x195)],_0x4a7eae[_0x347ac6(0x14a)],_0x4a7eae[_0x347ac6(0x155)],_0x4a7eae[_0x347ac6(0x1f0)]][_0x347ac6(0x101)](_0x2e29c5=>{const _0x361e0b=_0x347ac6,_0x31c246=_0x20d75e[_0x361e0b(0x1af)][_0x2e29c5]||[];_0x31c246['forEach'](_0x457aab=>{const _0x398d24=_0x361e0b;_0x457aab[_0x398d24(0x111)]&&_0xfbab7f['push'](_0x457aab[_0x398d24(0x111)]);});}),[][_0x347ac6(0x1d4)](_0xfbab7f,this['getHooksForTest'](_0x20d75e[_0x347ac6(0x1af)]));}[a3_0x1bd63e(0x118)](_0x2d6fa0){const _0x351565=a3_0x1bd63e,_0xfec5f7=/^"(?<hook>.*)" hook:.*$/,_0x4645a0=_0x2d6fa0[_0x351565(0x1e4)],_0xd22c8a=_0x4645a0[_0x351565(0x107)](_0xfec5f7);if(_0xd22c8a&&_0xd22c8a[_0x351565(0x191)])return _0xd22c8a[_0x351565(0x191)][_0x351565(0x1ac)]['toUpperCase']()[_0x351565(0x1a9)]('\x20','_');return null;}['findGitConfig'](_0x52d1d8){const _0x487ab2=a3_0x1bd63e,_0xa7d61a={};_0xa7d61a['wgbfw']=function(_0x5a7e39,_0x4ccd76){return _0x5a7e39===_0x4ccd76;},_0xa7d61a[_0x487ab2(0x18e)]=function(_0x15adc8,_0x46e0c2){return _0x15adc8===_0x46e0c2;},_0xa7d61a[_0x487ab2(0x10b)]=function(_0x303ab3,_0x1d5739){return _0x303ab3===_0x1d5739;},_0xa7d61a[_0x487ab2(0x136)]=function(_0x113b76,_0x1c04ff){return _0x113b76===_0x1c04ff;},_0xa7d61a[_0x487ab2(0x175)]=_0x487ab2(0x17a);const _0x2254dd=_0xa7d61a,_0x596c10=path['sep'];if(_0x2254dd[_0x487ab2(0x113)](_0x52d1d8,null)||_0x2254dd[_0x487ab2(0x18e)](_0x52d1d8,'')||_0x2254dd['FHXtN'](_0x52d1d8,_0x596c10)||_0x2254dd[_0x487ab2(0x136)](_0x52d1d8,path[_0x487ab2(0x1f2)](_0x52d1d8)))return null;try{return fs[_0x487ab2(0x189)](path[_0x487ab2(0x1c1)](_0x52d1d8,_0x2254dd[_0x487ab2(0x175)])),_0x52d1d8;}catch(_0x1103f7){const _0x5b6db0=path[_0x487ab2(0x1f2)](_0x52d1d8);return this[_0x487ab2(0x1a1)](_0x5b6db0);}}['getRootParentFile'](_0x292654){const _0x5165cf=a3_0x1bd63e,_0x38cff6={};_0x38cff6[_0x5165cf(0x193)]=function(_0x27b347,_0x326e59){return _0x27b347>_0x326e59;};const _0x48d464=_0x38cff6;if(_0x292654[_0x5165cf(0x16e)])return _0x292654['file'];if(_0x292654[_0x5165cf(0x186)]){const _0x207f27=_0x292654['ctx']['currentTest']?this['getRootParentFile'](_0x292654[_0x5165cf(0x186)][_0x5165cf(0x1a2)]):null;if(_0x207f27)return _0x207f27;}if(_0x292654['parent']){const _0x5aeb70=this[_0x5165cf(0x1e7)](_0x292654['parent'])||(_0x292654[_0x5165cf(0x1af)][_0x5165cf(0x186)]&&_0x292654[_0x5165cf(0x1af)][_0x5165cf(0x186)][_0x5165cf(0x1a2)]?this['getRootParentFile'](_0x292654[_0x5165cf(0x1af)][_0x5165cf(0x186)][_0x5165cf(0x1a2)]):null);if(_0x5aeb70)return _0x5aeb70;_0x292654['parent']['suites']&&_0x48d464[_0x5165cf(0x193)](_0x292654[_0x5165cf(0x1af)][_0x5165cf(0x1d3)][_0x5165cf(0x1c9)],0x0)&&_0x292654[_0x5165cf(0x1af)][_0x5165cf(0x1d3)][_0x5165cf(0x101)](_0x5d3e30=>{const _0x3fcefc=_0x5165cf,_0x10062b=_0x5d3e30[_0x3fcefc(0x186)]?this[_0x3fcefc(0x1e7)](_0x5d3e30[_0x3fcefc(0x186)]):null;if(_0x10062b)return _0x10062b;});}return null;}[a3_0x1bd63e(0x169)](_0x285d42){const _0x16e301=a3_0x1bd63e,_0x57ed67={};_0x57ed67[_0x16e301(0x1c5)]=function(_0x4885bb,_0x35a9eb){return _0x4885bb!==_0x35a9eb;};const _0x5fe7c3=_0x57ed67,_0x4d7ad3=[];if(_0x285d42&&_0x285d42[_0x16e301(0x1af)]){let _0x5097b1=_0x285d42[_0x16e301(0x1af)];while(_0x5097b1&&_0x5fe7c3[_0x16e301(0x1c5)](_0x5097b1['title'],'')){_0x4d7ad3[_0x16e301(0x12d)](_0x5097b1[_0x16e301(0x1e4)]),_0x5097b1=_0x5097b1['parent'];}}return _0x4d7ad3;}[a3_0x1bd63e(0x106)](_0x3f243d,_0x2b3676,_0x2fde65=undefined){const _0x222727=a3_0x1bd63e,_0x43a872={'czlwy':function(_0x23d97c,_0xbc7f80){return _0x23d97c(_0xbc7f80);},'BZulw':function(_0x438fd9){return _0x438fd9();},'LDqYA':function(_0xb8e938){return _0xb8e938();},'bTGxX':function(_0x13dfaa){return _0x13dfaa();},'kmTei':function(_0x548a53){return _0x548a53();},'bEOOV':_0x222727(0x179),'wYPOL':function(_0x41289a,_0x16b046){return _0x41289a!==_0x16b046;},'MukOg':function(_0x1b5d18,_0x2adbc1){return _0x1b5d18!==_0x2adbc1;},'ujprJ':_0x222727(0x16c),'UmgMh':'pending','sDyiN':_0x222727(0x1ae),'KFzzc':'passed','pRqYD':_0x222727(0x1f3),'VoOeI':'javascript','cBtyr':function(_0x14d959,_0x22edbd){return _0x14d959-_0x22edbd;},'DxthT':function(_0x3e91e4,_0x578df5,_0x29ffd9,_0x512ce7,_0x13b971){return _0x3e91e4(_0x578df5,_0x29ffd9,_0x512ce7,_0x13b971);},'QQGyu':function(_0x2bd97f,_0x13ba5d){return _0x2bd97f!==_0x13ba5d;},'xwehl':_0x222727(0xfe),'rUIJS':'meta','zeDUH':_0x222727(0x119),'tjdsN':_0x222727(0x13d),'ceOHS':_0x222727(0x1e6),'HUtwk':'failure_reason_expanded','EJvFr':'expanded','aThZJ':function(_0x4f8dcd,_0x39be17){return _0x4f8dcd===_0x39be17;},'jezQO':_0x222727(0x174),'QykPj':_0x222727(0x123)};if(!this[_0x222727(0x177)])return;try{if(_0x2b3676['fn']&&_0x2b3676['fn'][_0x222727(0x190)]()[_0x222727(0x107)](/browserstack internal helper hook/))return;const _0x954285=_0x43a872[_0x222727(0x1e0)](parseEvent,_0x3f243d);if(!_0x954285)return;if(_0x954285['test']){this[_0x222727(0x1a2)]=_0x2b3676,this[_0x222727(0x153)]=null;if(_0x954285[_0x222727(0x12a)]||_0x954285['skipped']){_0x2b3676['startedAt']=new Date(),_0x2b3676[_0x222727(0x1e5)]=![];if(!_0x2b3676[_0x222727(0x1cb)])_0x2b3676[_0x222727(0x1cb)]=_0x43a872[_0x222727(0x1b4)](uuidv4);else _0x2b3676[_0x222727(0x1e5)]&&(!_0x2b3676[_0x222727(0x127)]&&(_0x2b3676['retryOf']=_0x2b3676['testAnalyticsId']),_0x2b3676[_0x222727(0x1cb)]=_0x43a872[_0x222727(0x14d)](uuidv4));}}else{if(_0x954285[_0x222727(0x1ac)]){this[_0x222727(0x153)]=_0x2b3676;if(_0x954285['started']){_0x2b3676[_0x222727(0x152)]=new Date(),_0x2b3676['markedStatus']=![];if(!_0x2b3676[_0x222727(0x111)])_0x2b3676[_0x222727(0x111)]=_0x43a872[_0x222727(0x1e9)](uuidv4);else _0x2b3676['hookAnalyticsId']&&_0x2b3676[_0x222727(0x1e5)]&&(_0x2b3676[_0x222727(0x111)]=_0x43a872[_0x222727(0x1df)](uuidv4));}}}if(_0x954285[_0x222727(0x198)]&&_0x2b3676[_0x222727(0x1e5)])return;let _0x4f28e4;try{_0x4f28e4=this['getRootParentFile'](_0x2b3676);}catch(_0xf5d9b2){logger[_0x222727(0x125)](_0x222727(0x1e8)+_0xf5d9b2),_0x4f28e4=null;}let _0x4138b5=[];_0x2fde65&&(_0x4138b5=[_0x2fde65,_0x43a872[_0x222727(0x18d)]]);const _0x3b511c=_0x43a872[_0x222727(0x1b9)](_0x2b3676['errorsDetailed'],undefined)?util[_0x222727(0x17d)](_0x2b3676[_0x222727(0x156)][0x0]):_0x43a872[_0x222727(0x138)](_0x2fde65,undefined)?_0x2fde65['toString']():undefined,_0x174fd1=_0x4f28e4?this['findGitConfig'](_0x4f28e4):null,_0x272227=_0x4f28e4?this[_0x222727(0x196)]['prefixTestPath'](this['getRootParentFile'](_0x2b3676)):_0x43a872[_0x222727(0x109)];let _0x799d16=_0x43a872[_0x222727(0x183)];const _0x4e5824=!_0x954285[_0x222727(0x12a)]?new Date()[_0x222727(0x194)]():null;if(_0x954285[_0x222727(0x198)])_0x799d16=_0x2fde65?_0x43a872[_0x222727(0x18b)]:_0x43a872[_0x222727(0x160)],_0x2b3676[_0x222727(0x1e5)]=!![];else _0x954285[_0x222727(0x1f3)]&&(_0x799d16=_0x43a872[_0x222727(0x19f)],_0x2b3676['markedStatus']=!![]);const _0x3d909a={'framework':this[_0x222727(0x1ca)],'uuid':_0x2b3676[_0x222727(0x1cb)]||_0x2b3676['hookAnalyticsId'],'name':_0x2b3676[_0x222727(0x1e4)],'body':{'lang':_0x43a872[_0x222727(0x1b0)],'code':_0x2b3676[_0x222727(0x13c)][_0x222727(0x190)]()},'type':_0x2b3676[_0x222727(0x19d)],'scope':_0x2b3676[_0x222727(0x104)](),'scopes':this[_0x222727(0x169)](_0x2b3676),'file_name':_0x272227,'vc_filepath':_0x174fd1?path[_0x222727(0x164)](_0x174fd1,_0x4f28e4):null,'location':_0x272227,'result':_0x799d16,'failure_reason':_0x3b511c,'duration_in_ms':_0x2b3676['duration']||(_0x954285[_0x222727(0x198)]||_0x954285[_0x222727(0x1f3)])?_0x43a872[_0x222727(0x108)](Date[_0x222727(0x1b8)](),new Date(_0x2b3676[_0x222727(0x152)])[_0x222727(0x10e)]()):null,'started_at':new Date(_0x2b3676['startedAt'])[_0x222727(0x194)](),'finished_at':_0x4e5824,'failure':testOpsHelper[_0x222727(0x1c8)]['apply'](null,_0x4138b5),'failure_type':!_0x3b511c?null:testOpsHelper[_0x222727(0x134)](_0x3b511c),'retry_of':_0x2b3676[_0x222727(0x127)]||null,'tags':_0x2b3676[_0x222727(0x159)]||[],'customRerunParam':{'rerun_name':_0x2b3676[_0x222727(0x104)]()}};_0x43a872['DxthT'](appendTesthubParams,_0x3d909a,_0x3f243d,_0x2b3676,FRAMEWORKS[_0x222727(0x1d0)]);if(_0x954285[_0x222727(0x1ac)])[_0x3d909a['hook_type'],_0x3d909a['name']]=[this[_0x222727(0x118)](_0x2b3676),_0x2b3676['ctx'][_0x222727(0x1ef)][_0x222727(0x1e4)]],_0x954285['finished']?_0x43a872[_0x222727(0x17e)](_0x3d909a[_0x222727(0x137)],_0x43a872[_0x222727(0x18b)])&&(_0x3d909a['result']=_0x43a872[_0x222727(0x160)]):_0x3d909a[_0x222727(0x13c)]={};else _0x954285[_0x222727(0x1ef)]&&(this[_0x222727(0x130)](_0x2b3676),_0x954285[_0x222727(0x1f3)]&&this['resetSkipTestHooks'](_0x2b3676),(_0x954285[_0x222727(0x198)]||_0x954285['skipped'])&&(_0x3d909a[_0x222727(0x15d)]=this[_0x222727(0x162)](_0x2b3676)));this['driver']&&(_0x954285[_0x222727(0x12a)]||_0x954285[_0x222727(0x1f3)])&&(_0x3d909a[_0x43a872[_0x222727(0x1f7)]]=this[_0x222727(0x19b)](this['driver']));_0x954285['test']&&_0x954285['finished']&&_0x2b3676[_0x222727(0x1bb)]&&(_0x3d909a[_0x43a872[_0x222727(0x1a5)]]={'feature':{'name':_0x2b3676[_0x222727(0x1af)][_0x222727(0x16d)]['name'],'path':_0x3d909a['file_name'],'description':_0x2b3676['parent'][_0x222727(0x13a)]},'scenario':{'name':_0x2b3676[_0x222727(0x1e4)]},'steps':_0x2b3676[_0x222727(0x1bb)]});const _0x45c006=_0x3d909a[_0x43a872[_0x222727(0x15b)]][0x0];_0x45c006&&(_0x3d909a[_0x43a872[_0x222727(0x10a)]]=_0x45c006[_0x43a872[_0x222727(0x1f6)]],_0x3d909a[_0x43a872[_0x222727(0x1f8)]]=_0x45c006[_0x43a872['EJvFr']]);if(_0x2b3676[_0x222727(0x1bb)])for(const _0x2a53c7 of _0x2b3676[_0x222727(0x1bb)]){!_0x2a53c7[_0x222727(0x151)]&&(_0x2a53c7[_0x222727(0x151)]=new Date()[_0x222727(0x194)](),_0x43a872[_0x222727(0x1db)](_0x2a53c7[_0x222727(0x137)],_0x43a872[_0x222727(0x183)])&&(_0x45c006?(_0x2a53c7['result']=_0x43a872[_0x222727(0x18b)],_0x2a53c7[_0x222727(0x119)]=_0x45c006[_0x43a872['ceOHS']][0x0]):_0x2a53c7[_0x222727(0x137)]=_0x43a872['KFzzc']));}const _0x14b3ce={};_0x14b3ce[_0x222727(0x173)]=_0x954285['skipped']?TEST_EVENTS[_0x222727(0x188)]:_0x3f243d;const _0x63c390=_0x14b3ce;return _0x954285[_0x222727(0x1ac)]?_0x63c390[_0x43a872[_0x222727(0x17f)]]=_0x3d909a:_0x63c390[_0x43a872[_0x222727(0x1ab)]]=_0x3d909a,_0x63c390;}catch(_0x15ac87){logger[_0x222727(0x125)](_0x222727(0x102)+_0x3f243d+_0x222727(0x1a0)+_0x15ac87);}}async[a3_0x1bd63e(0x14e)](_0x4f824e,_0x15739f){const _0x37c71f=a3_0x1bd63e;if(!this[_0x37c71f(0x177)]||!_0x15739f||!_0x4f824e)return![];try{return await SessionHandler[_0x37c71f(0x133)](_0x15739f);}catch(_0x59c0db){logger[_0x37c71f(0x125)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4f824e+'\x20with\x20error\x20:\x20'+_0x59c0db);}}[a3_0x1bd63e(0x14f)](_0x47b2d7){const _0x3dff92=a3_0x1bd63e,_0x260cf4={};_0x260cf4[_0x3dff92(0x165)]='pending';const _0x128bd2=_0x260cf4;return{'id':_0x47b2d7[_0x3dff92(0x19c)],'text':_0x47b2d7[_0x3dff92(0x13e)],'keyword':_0x47b2d7[_0x3dff92(0x110)],'started_at':_0x47b2d7[_0x3dff92(0x152)]['toISOString'](),'result':_0x128bd2['btUuw']};}['bddStepStart'](_0x3a4bb4){const _0x52883f=a3_0x1bd63e,_0x3e45ab={'TKAom':function(_0x25114c){return _0x25114c();}};!this['currentTest'][_0x52883f(0x1bb)]&&(this[_0x52883f(0x1a2)]['bddSteps']=[]),!_0x3a4bb4[_0x52883f(0x19c)]&&(_0x3a4bb4['stepAnalyticsId']=_0x3e45ab[_0x52883f(0x1e1)](uuidv4),_0x3a4bb4[_0x52883f(0x152)]=new Date(),this[_0x52883f(0x1a2)][_0x52883f(0x1bb)][_0x52883f(0x12d)](this[_0x52883f(0x14f)](_0x3a4bb4)));}[a3_0x1bd63e(0x139)](_0x20324b){const _0x33fa6d=a3_0x1bd63e,_0x5f40aa={'zyqEa':function(_0x59b0e9,_0x5430b6){return _0x59b0e9(_0x5430b6);},'PMPyR':'success','vSbOZ':'pending','oxled':_0x33fa6d(0x16b),'zJnjO':function(_0x3a5b2b,_0xa43969){return _0x3a5b2b-_0xa43969;}};let _0x4aa70e=this['currentTest'][_0x33fa6d(0x1bb)][_0x33fa6d(0x12b)](_0x407490=>_0x407490['id']===_0x20324b['stepAnalyticsId']);_0x5f40aa[_0x33fa6d(0x150)](isUndefined,_0x4aa70e)&&(_0x4aa70e=this['initializeBddStep'](_0x20324b)),_0x4aa70e[_0x33fa6d(0x137)]=[_0x5f40aa['PMPyR'],_0x5f40aa[_0x33fa6d(0x18f)]][_0x33fa6d(0x1de)](_0x20324b[_0x33fa6d(0x170)])?_0x5f40aa[_0x33fa6d(0x185)]:_0x20324b[_0x33fa6d(0x170)],_0x4aa70e['finished_at']=new Date()[_0x33fa6d(0x194)](),_0x4aa70e[_0x33fa6d(0x1a7)]=_0x5f40aa['zJnjO'](Date[_0x33fa6d(0x1b8)](),_0x20324b[_0x33fa6d(0x152)][_0x33fa6d(0x10e)]()),_0x4aa70e[_0x33fa6d(0x119)]=_0x20324b[_0x33fa6d(0x179)]?_0x20324b[_0x33fa6d(0x179)][_0x33fa6d(0x1d7)]:null;}}const a3_0x59d721={};a3_0x59d721['O11yHelper']=O11yHelper,a3_0x59d721['STATE_PASSED']=STATE_PASSED,a3_0x59d721['STATE_FAILED']=STATE_FAILED,a3_0x59d721['TEST_EVENTS']=TEST_EVENTS,module[a3_0x1bd63e(0x11b)]=a3_0x59d721;
|
|
1
|
+
const a3_0x15d867=a3_0x6185;(function(_0x355fc5,_0x5eaf94){const _0x3353f6=a3_0x6185,_0x358e6e=_0x355fc5();while(!![]){try{const _0x39a797=parseInt(_0x3353f6(0x159))/0x1*(parseInt(_0x3353f6(0x194))/0x2)+-parseInt(_0x3353f6(0x1cb))/0x3+parseInt(_0x3353f6(0x10f))/0x4*(-parseInt(_0x3353f6(0x13c))/0x5)+-parseInt(_0x3353f6(0x119))/0x6+-parseInt(_0x3353f6(0x16d))/0x7*(-parseInt(_0x3353f6(0x157))/0x8)+-parseInt(_0x3353f6(0x179))/0x9+parseInt(_0x3353f6(0x1c9))/0xa*(parseInt(_0x3353f6(0x1ae))/0xb);if(_0x39a797===_0x5eaf94)break;else _0x358e6e['push'](_0x358e6e['shift']());}catch(_0x215ce9){_0x358e6e['push'](_0x358e6e['shift']());}}}(a3_0x4537,0x65ed1));function a3_0x6185(_0x58c7a0,_0x39aaa1){const _0x4537de=a3_0x4537();return a3_0x6185=function(_0x6185e5,_0x14b523){_0x6185e5=_0x6185e5-0xfa;let _0x4d6a03=_0x4537de[_0x6185e5];return _0x4d6a03;},a3_0x6185(_0x58c7a0,_0x39aaa1);}const path=require('path'),util=require(a3_0x15d867(0x16a)),fs=require('fs'),{v4:uuidv4}=require(a3_0x15d867(0x19a)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x15d867(0x1e2)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a3_0x15d867(0x123)),logger=require(a3_0x15d867(0x14a))[a3_0x15d867(0x149)],SessionHandler=require(a3_0x15d867(0x164)),RequestQueueHandler=require(a3_0x15d867(0x139)),PlaywrightSessionDetails=require(a3_0x15d867(0x1d9)),debug=testOpsHelper[a3_0x15d867(0x170)],{processAccessibilityCaps}=require(a3_0x15d867(0x17c)),Constants=require(a3_0x15d867(0x1a8)),{fetchPlatformDetails}=require(a3_0x15d867(0x1cf)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x15d867(0x185)),constants=require(a3_0x15d867(0x1a8)),STATE_PASSED=a3_0x15d867(0x193),STATE_FAILED=a3_0x15d867(0x1a4),a3_0x330ea9={};a3_0x330ea9['TEST_RUN_STARTED']=a3_0x15d867(0x18c),a3_0x330ea9[a3_0x15d867(0x12f)]=a3_0x15d867(0x14f),a3_0x330ea9['TEST_RUN_SKIPPED']=a3_0x15d867(0x154),a3_0x330ea9[a3_0x15d867(0x10a)]='HookRunStarted',a3_0x330ea9['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a3_0x330ea9,parseEvent=_0x5b056a=>{const _0x25c5ae=a3_0x15d867,_0x426d89={};_0x426d89[_0x25c5ae(0x12c)]=function(_0x3ce9d0,_0x5a8e44){return _0x3ce9d0<_0x5a8e44;},_0x426d89['nokGP']=function(_0x413774,_0x22edf1){return _0x413774===_0x22edf1;},_0x426d89['WBElt']='test',_0x426d89[_0x25c5ae(0x1c4)]=function(_0x48745a,_0x5285a1){return _0x48745a===_0x5285a1;},_0x426d89[_0x25c5ae(0x131)]='hook',_0x426d89[_0x25c5ae(0x1ad)]=_0x25c5ae(0x1dc),_0x426d89[_0x25c5ae(0x171)]=_0x25c5ae(0x16b),_0x426d89['HOpBa']=function(_0xf8048,_0x5d2b10){return _0xf8048===_0x5d2b10;},_0x426d89['abMRX']='finished';const _0x1bbe17=_0x426d89,_0x11431a=_0x5b056a[_0x25c5ae(0x182)](/^(.*)Run(.*)$/);if(!_0x11431a)return null;if(_0x1bbe17['GtEzO'](_0x11431a[_0x25c5ae(0x1ce)],0x3))return null;const _0x2f4273=_0x11431a[0x1]['toLowerCase'](),_0x163471=_0x11431a[0x2][_0x25c5ae(0x1a7)]();return{'test':_0x1bbe17['nokGP'](_0x2f4273,_0x1bbe17[_0x25c5ae(0x104)]),'hook':_0x1bbe17[_0x25c5ae(0x1c4)](_0x2f4273,_0x1bbe17[_0x25c5ae(0x131)]),'skipped':_0x1bbe17[_0x25c5ae(0x1c4)](_0x163471,_0x1bbe17['ijjZx']),'started':_0x1bbe17[_0x25c5ae(0x1c4)](_0x163471,_0x1bbe17[_0x25c5ae(0x171)]),'finished':_0x1bbe17[_0x25c5ae(0x14b)](_0x163471,_0x1bbe17[_0x25c5ae(0x1a0)])};},mockPWBrowserType=_0x5d3f71=>{const _0x8f9146=a3_0x15d867,_0x56ab0d={'gYlop':function(_0x2a8d4a,_0x1b96dc){return _0x2a8d4a===_0x1b96dc;},'eEXYk':_0x8f9146(0x10e),'RAyio':function(_0x2ae097,_0x5c5a02,_0x7af56f){return _0x2ae097(_0x5c5a02,_0x7af56f);},'WQnra':'wsEndpoint','jIkLo':function(_0x3f1b2b,_0x580715){return _0x3f1b2b(_0x580715);},'IjLPX':_0x8f9146(0x17f),'yyIpe':function(_0x13936a){return _0x13936a();},'RwqYX':function(_0x380690,_0x585307){return _0x380690(_0x585307);},'dnxNh':_0x8f9146(0x15f),'ODYxU':_0x8f9146(0x115),'eWBmz':'launch'},_0x49c38e=_0x56ab0d[_0x8f9146(0x141)](resolveBrowserTypeClass);if(!_0x49c38e){_0x56ab0d['RwqYX'](debug,_0x56ab0d['dnxNh']);return;}const _0x1296cf=_0x49c38e['prototype'];if(_0x1296cf[_0x8f9146(0x17a)])return;const _0xe33bda=_0x1296cf[_0x8f9146(0x115)];Object['defineProperty'](_0x1296cf,_0x56ab0d['ODYxU'],{'get':function(){const _0x3115f5=_0x8f9146,_0x220c15={'xxbRA':function(_0x399ecd,_0x162e73){const _0x473de5=a3_0x6185;return _0x56ab0d[_0x473de5(0x129)](_0x399ecd,_0x162e73);},'ESStP':_0x56ab0d[_0x3115f5(0x134)],'ZfItF':function(_0x270c6d,_0x917cac,_0x16f5dd){const _0x2704f6=_0x3115f5;return _0x56ab0d[_0x2704f6(0x1a2)](_0x270c6d,_0x917cac,_0x16f5dd);},'GfLIT':_0x56ab0d[_0x3115f5(0x11b)],'JXigV':function(_0x512bc4,_0x210a8d){const _0x23aa47=_0x3115f5;return _0x56ab0d[_0x23aa47(0x10b)](_0x512bc4,_0x210a8d);},'cZztg':_0x56ab0d[_0x3115f5(0x1da)]};return async function _0x361ac6(_0x4981b1,_0x572898){const _0x349117=_0x3115f5,_0x2efc17=_0x220c15['ZfItF'](nestedKeyValue,_0x4981b1,[_0x220c15[_0x349117(0x1ec)]])||_0x4981b1;let _0x34ad09=null,_0x8e4172=null;try{[_0x8e4172,_0x34ad09]=_0x2efc17?_0x220c15[_0x349117(0x107)](parseWSEndpoint,_0x2efc17):[null,null],global['__platformCaps']=_0x34ad09,logger[_0x349117(0x170)](_0x349117(0x148)+_0x8e4172),_0x8e4172[_0x349117(0x1bd)](Constants[_0x349117(0x15c)])&&(global['__cloud_provider___']=_0x220c15[_0x349117(0x19d)]);}catch(_0x2ed3d9){logger[_0x349117(0x170)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x2efc17+'\x20'+_0x2ed3d9);}_0x220c15['ZfItF'](processAccessibilityCaps,_0x34ad09,_0x8e4172);if(global[_0x349117(0x1db)]){const _0x2b7810=await _0x1296cf['connectOverCDP'][_0x349117(0x1df)](this,[''+Constants[_0x349117(0x156)]+_0x220c15['JXigV'](encodeURIComponent,JSON[_0x349117(0x1ef)](_0x34ad09))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x2b7810,_0x5d3f71,_0x2efc17),_0x2b7810;}return _0xe33bda[_0x349117(0x1df)](this,arguments)['then'](_0x87b20b=>{const _0x2f9814=_0x349117;let _0x207867=_0x4981b1['wsEndpoint'];return _0x220c15[_0x2f9814(0x120)](typeof _0x4981b1,_0x220c15[_0x2f9814(0x1ed)])&&(_0x207867=_0x4981b1),PlaywrightSessionDetails[_0x2f9814(0x155)](_0x87b20b,_0x5d3f71,_0x207867),_0x87b20b;});};}});const _0x32ca83=_0x1296cf[_0x8f9146(0x130)];Object[_0x8f9146(0x1b8)](_0x1296cf,_0x56ab0d[_0x8f9146(0x147)],{'get':function(){return async function _0x3daa2e(){return _0x32ca83['apply'](this,arguments)['then'](_0x1cf2ac=>{const _0x828acf=a3_0x6185;return PlaywrightSessionDetails[_0x828acf(0x155)](_0x1cf2ac,null),_0x1cf2ac;});};}});};class O11yHelper{[a3_0x15d867(0x1a6)]=null;[a3_0x15d867(0x198)]=null;[a3_0x15d867(0x10d)]=![];[a3_0x15d867(0x1a3)]=![];[a3_0x15d867(0x1b5)]=[];constructor(_0x5595e3,_0x1524ba){const _0x113c81=a3_0x15d867,_0xed0be0={'TNhSe':'2|3|0|4|5|1','ozemw':function(_0x213425,_0x4e4289){return _0x213425===_0x4e4289;},'AHMwd':_0x113c81(0x165),'FBntr':function(_0x3e10c1,_0x3bf782){return _0x3e10c1(_0x3bf782);},'XclvQ':function(_0x63cc59){return _0x63cc59();},'OwJUo':function(_0xaa04c1){return _0xaa04c1();}},_0xb386a8=_0xed0be0[_0x113c81(0x174)][_0x113c81(0x19f)]('|');let _0x343d91=0x0;while(!![]){switch(_0xb386a8[_0x343d91++]){case'0':this['driver']=_0x5595e3;continue;case'1':this[_0x113c81(0x190)]&&_0xed0be0[_0x113c81(0xff)](this[_0x113c81(0x190)][_0x113c81(0x195)][_0x113c81(0x19c)],_0xed0be0[_0x113c81(0x102)])&&_0xed0be0[_0x113c81(0x167)](mockPWBrowserType,null);continue;case'2':this[_0x113c81(0x10d)]=_0xed0be0[_0x113c81(0x1d3)](shouldProcessEventForTesthub);continue;case'3':this[_0x113c81(0x1a3)]=_0x1524ba['frameworkName'];continue;case'4':this[_0x113c81(0x1c5)]=_0xed0be0[_0x113c81(0x178)](getTestEnv);continue;case'5':this[_0x113c81(0x118)]=new testOpsHelper[(_0x113c81(0x1f0))]({'cwd':process[_0x113c81(0x14d)]()},this[_0x113c81(0x1c5)]['location_prefix']);continue;}break;}}[a3_0x15d867(0x103)](){const _0x45def3=a3_0x15d867,_0xc9f276={'fGSPJ':function(_0x124458,_0x1cc205){return _0x124458(_0x1cc205);}};if(!this[_0x45def3(0x190)])return![];try{const _0x4d4793=_0xc9f276['fGSPJ'](fetchPlatformDetails,this['driver']);if(!_0x4d4793)return![];const _0x2d6642=Object[_0x45def3(0x116)](_0x4d4793)[0x0];return!!(_0x2d6642&&_0x4d4793[_0x2d6642]&&_0x4d4793[_0x2d6642][_0x45def3(0x1cc)]);}catch(_0x149384){return![];}}[a3_0x15d867(0x169)](_0x218958,_0x3afefb){const _0x317e86=a3_0x15d867;if(!_0x3afefb)return;const _0x1a0008={};_0x1a0008[_0x317e86(0x151)]=_0x218958,_0x1a0008[_0x317e86(0x14c)]=_0x3afefb,this['pendingHookEvents'][_0x317e86(0x1c8)](_0x1a0008);}async[a3_0x15d867(0x1d8)](){const _0x5bb333=a3_0x15d867,_0x3433a5={};_0x3433a5[_0x5bb333(0x12b)]=function(_0x4d044d,_0x37efe3){return _0x4d044d&&_0x37efe3;};const _0x1cdcf8=_0x3433a5;if(!this[_0x5bb333(0x1b5)][_0x5bb333(0x1ce)])return;if(!this[_0x5bb333(0x103)]())return;const _0x46eac2=this[_0x5bb333(0x1d1)](this[_0x5bb333(0x190)]),_0xf32dc5=this[_0x5bb333(0x1b5)][_0x5bb333(0x1b6)](0x0,this['pendingHookEvents']['length']);for(const {eventType:_0x357912,uploadData:_0x441788}of _0xf32dc5){try{const _0x42996e=_0x441788[_0x5bb333(0x17d)]||_0x441788[_0x5bb333(0x16e)];_0x1cdcf8['oJIMD'](_0x42996e,_0x46eac2)&&(_0x42996e[_0x5bb333(0x11c)]=_0x46eac2),await this[_0x5bb333(0x1e3)](_0x357912,_0x441788);}catch(_0x3e3ff2){logger[_0x5bb333(0x170)](_0x5bb333(0x137)+_0x357912+':\x20'+util[_0x5bb333(0x152)](_0x3e3ff2));}}}[a3_0x15d867(0x1ee)](){const _0xd9f795=a3_0x15d867;if(!this[_0xd9f795(0x10d)])return;testOpsHelper[_0xd9f795(0x113)](),process['removeAllListeners']('bs:addLog:'+process[_0xd9f795(0x180)]),process['on'](_0xd9f795(0x1be)+process[_0xd9f795(0x180)],this[_0xd9f795(0x18e)][_0xd9f795(0x1c2)](this));}async[a3_0x15d867(0x121)](){const _0x39395d=a3_0x15d867;await RequestQueueHandler[_0x39395d(0x144)]()['shutdown']();}async[a3_0x15d867(0x18e)](_0x33565a){const _0x51eeef=a3_0x15d867,_0x5845c2={'dILAS':'LogCreated','UycoX':function(_0x58f8c2,_0xb8c657){return _0x58f8c2(_0xb8c657);}};try{this['currentHook']&&!this[_0x51eeef(0x198)][_0x51eeef(0x1e4)]&&(_0x33565a[_0x51eeef(0x153)]=this[_0x51eeef(0x198)][_0x51eeef(0x18a)]);!_0x33565a[_0x51eeef(0x153)]&&this['currentTest']&&!this[_0x51eeef(0x1a6)][_0x51eeef(0x1e4)]&&(_0x33565a[_0x51eeef(0x18d)]=this[_0x51eeef(0x1a6)]['testAnalyticsId']);if(_0x33565a['hook_run_uuid']||_0x33565a['test_run_uuid']){const _0x3808e1={};_0x3808e1[_0x51eeef(0x11f)]=_0x5845c2[_0x51eeef(0x12a)],_0x3808e1['logs']=[_0x33565a],await SessionHandler[_0x51eeef(0x162)](_0x3808e1);}}catch(_0x5adeaf){_0x5845c2['UycoX'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x5adeaf);}}async[a3_0x15d867(0x189)](_0x2a4d7c){const _0x29e574=a3_0x15d867,_0x2761b5={'DcojO':_0x29e574(0x1d5),'CXdSK':function(_0x36fc4c,_0x2b2993){return _0x36fc4c(_0x2b2993);}};if(!this[_0x29e574(0x10d)])return;const _0x26f1fa=this[_0x29e574(0x1d1)](this[_0x29e574(0x190)]);try{const _0x19d260={};_0x19d260[_0x29e574(0x19a)]=_0x2a4d7c,_0x19d260[_0x29e574(0x11c)]=_0x26f1fa;const _0x428a8c=_0x19d260,_0x1a0fb5={};_0x1a0fb5[_0x29e574(0x11f)]=_0x2761b5[_0x29e574(0x110)],_0x1a0fb5[_0x29e574(0x16e)]=_0x428a8c,await SessionHandler[_0x29e574(0x162)](_0x1a0fb5);}catch(_0xe78002){_0x2761b5['CXdSK'](debug,_0x29e574(0x192)+constants[_0x29e574(0x1a1)]+_0x29e574(0x161)+_0xe78002);}}[a3_0x15d867(0x1d1)](_0x1805b9){const _0x330088=a3_0x15d867,_0x4f26fe={'BOLBV':function(_0x1b629e,_0x3dc004){return _0x1b629e(_0x3dc004);}};return _0x4f26fe[_0x330088(0x184)](fetchPlatformDetails,_0x1805b9);}[a3_0x15d867(0x16f)]=_0x32a540=>{const _0x3da218=a3_0x15d867,_0x23543a={};_0x23543a[_0x3da218(0x1c0)]=_0x3da218(0x101),_0x23543a['fRdcj']='_afterEach';const _0x275aa5=_0x23543a;if(!_0x32a540||!_0x32a540['parent'])return;[_0x275aa5[_0x3da218(0x1c0)],_0x275aa5[_0x3da218(0x146)]]['forEach'](_0x4b7d6f=>{const _0x757da=_0x3da218,_0x1b0bd4=_0x32a540[_0x757da(0x168)][_0x4b7d6f];_0x1b0bd4[_0x757da(0x1af)](_0xa06076=>{const _0x4a5292=_0x757da;_0xa06076[_0x4a5292(0x18a)]&&(_0xa06076[_0x4a5292(0x18a)]=null);});});};[a3_0x15d867(0xfd)](_0x899d73){const _0x206e20=a3_0x15d867,_0xb30c6b={'KkbWb':'codeceptjs','IvqJM':function(_0x5aa2ff){return _0x5aa2ff();},'MfBJa':function(_0x51872a,_0xf5934a){return _0x51872a===_0xf5934a;},'GSbOp':'_afterEach','dGrMo':function(_0x5d4e0f){return _0x5d4e0f();},'XevIv':_0x206e20(0x18f),'KEFiQ':'_afterAll','hrhaY':_0x206e20(0x101)};if(!_0x899d73||!_0x899d73[_0x206e20(0x168)])return;[_0xb30c6b[_0x206e20(0x142)],_0xb30c6b['KEFiQ'],_0xb30c6b[_0x206e20(0x133)],_0xb30c6b['GSbOp']]['forEach'](_0x3e302b=>{const _0x28b263=_0x206e20,_0x1733a3=_0x899d73['parent'][_0x3e302b]||[];_0x1733a3[_0x28b263(0x1af)](_0x15a431=>{const _0x2a168c=_0x28b263;if(_0x15a431[_0x2a168c(0x181)][_0x2a168c(0x1bd)](_0xb30c6b[_0x2a168c(0x19e)]))return;if(!_0x15a431[_0x2a168c(0x18a)])_0x15a431[_0x2a168c(0x18a)]=_0xb30c6b[_0x2a168c(0x1b0)](uuidv4);else _0x15a431['markedStatus']&&_0xb30c6b[_0x2a168c(0x1ab)](_0x3e302b,_0xb30c6b[_0x2a168c(0x1e8)])&&(_0x15a431['hookAnalyticsId']=_0xb30c6b[_0x2a168c(0x1e0)](uuidv4),delete _0x15a431[_0x2a168c(0x1e4)]);});}),this[_0x206e20(0xfd)](_0x899d73[_0x206e20(0x168)]);}['getHooksForTest'](_0x17b26e){const _0x490449=a3_0x15d867,_0xbb874e={};_0xbb874e[_0x490449(0xfb)]=_0x490449(0x18f),_0xbb874e[_0x490449(0x1e7)]=_0x490449(0x105),_0xbb874e[_0x490449(0x1e5)]=_0x490449(0x101),_0xbb874e[_0x490449(0x1b9)]=_0x490449(0x1cd);const _0xbd8198=_0xbb874e;if(!_0x17b26e||!_0x17b26e[_0x490449(0x168)])return[];const _0x9d38c=[];return[_0xbd8198[_0x490449(0xfb)],_0xbd8198[_0x490449(0x1e7)],_0xbd8198[_0x490449(0x1e5)],_0xbd8198[_0x490449(0x1b9)]][_0x490449(0x1af)](_0x19c06c=>{const _0x483c10=_0x490449,_0x2b52cd=_0x17b26e[_0x483c10(0x168)][_0x19c06c]||[];_0x2b52cd[_0x483c10(0x1af)](_0x1cab5d=>{const _0x3e1f57=_0x483c10;_0x1cab5d['hookAnalyticsId']&&_0x9d38c['push'](_0x1cab5d[_0x3e1f57(0x18a)]);});}),[][_0x490449(0x15b)](_0x9d38c,this[_0x490449(0x111)](_0x17b26e['parent']));}[a3_0x15d867(0x1bb)](_0x1e0376){const _0x71c022=a3_0x15d867,_0x2a48d4=/^"(?<hook>.*)" hook:.*$/,_0x42e1f0=_0x1e0376[_0x71c022(0x181)],_0x450ed5=_0x42e1f0[_0x71c022(0x182)](_0x2a48d4);if(_0x450ed5&&_0x450ed5[_0x71c022(0x13e)])return _0x450ed5[_0x71c022(0x13e)][_0x71c022(0x1de)][_0x71c022(0x1b4)]()[_0x71c022(0x13d)]('\x20','_');return null;}[a3_0x15d867(0x1ea)](_0x5b1109){const _0xa63812=a3_0x15d867,_0x18afe1={};_0x18afe1['OimZY']=function(_0x5e29a1,_0x5523bb){return _0x5e29a1===_0x5523bb;},_0x18afe1[_0xa63812(0x175)]=_0xa63812(0x11a);const _0x5d680b=_0x18afe1,_0x4867a4=path['sep'];if(_0x5d680b[_0xa63812(0x124)](_0x5b1109,null)||_0x5d680b[_0xa63812(0x124)](_0x5b1109,'')||_0x5d680b[_0xa63812(0x124)](_0x5b1109,_0x4867a4)||_0x5d680b[_0xa63812(0x124)](_0x5b1109,path[_0xa63812(0x143)](_0x5b1109)))return null;try{return fs['statSync'](path[_0xa63812(0x135)](_0x5b1109,_0x5d680b[_0xa63812(0x175)])),_0x5b1109;}catch(_0x4cf828){const _0x4567e7=path[_0xa63812(0x143)](_0x5b1109);return this['findGitConfig'](_0x4567e7);}}['getRootParentFile'](_0x345ab5){const _0x586f0=a3_0x15d867,_0x575ee2={};_0x575ee2['uBhei']=function(_0x3647b5,_0x1d01db){return _0x3647b5>_0x1d01db;};const _0x4c4aba=_0x575ee2;if(_0x345ab5[_0x586f0(0x15d)])return _0x345ab5[_0x586f0(0x15d)];if(_0x345ab5[_0x586f0(0x128)]){const _0x26be35=_0x345ab5['ctx'][_0x586f0(0x1a6)]?this[_0x586f0(0x176)](_0x345ab5[_0x586f0(0x128)][_0x586f0(0x1a6)]):null;if(_0x26be35)return _0x26be35;}if(_0x345ab5['parent']){const _0x330131=this['getRootParentFile'](_0x345ab5[_0x586f0(0x168)])||(_0x345ab5[_0x586f0(0x168)][_0x586f0(0x128)]&&_0x345ab5[_0x586f0(0x168)][_0x586f0(0x128)][_0x586f0(0x1a6)]?this[_0x586f0(0x176)](_0x345ab5[_0x586f0(0x168)][_0x586f0(0x128)][_0x586f0(0x1a6)]):null);if(_0x330131)return _0x330131;_0x345ab5[_0x586f0(0x168)]['suites']&&_0x4c4aba['uBhei'](_0x345ab5[_0x586f0(0x168)]['suites']['length'],0x0)&&_0x345ab5[_0x586f0(0x168)][_0x586f0(0x1b1)][_0x586f0(0x1af)](_0x17b041=>{const _0x53d0e0=_0x586f0,_0x169c7a=_0x17b041[_0x53d0e0(0x128)]?this[_0x53d0e0(0x176)](_0x17b041['ctx']):null;if(_0x169c7a)return _0x169c7a;});}return null;}[a3_0x15d867(0x1aa)](_0x50fe45){const _0x4cf31d=a3_0x15d867,_0x567cc9={};_0x567cc9[_0x4cf31d(0x173)]=function(_0x4250e,_0x55f303){return _0x4250e!==_0x55f303;};const _0x4c77c1=_0x567cc9,_0x17f74d=[];if(_0x50fe45&&_0x50fe45[_0x4cf31d(0x168)]){let _0x258c70=_0x50fe45[_0x4cf31d(0x168)];while(_0x258c70&&_0x4c77c1[_0x4cf31d(0x173)](_0x258c70[_0x4cf31d(0x181)],'')){_0x17f74d['push'](_0x258c70[_0x4cf31d(0x181)]),_0x258c70=_0x258c70[_0x4cf31d(0x168)];}}return _0x17f74d;}['captureEvent'](_0x5d2851,_0x564dde,_0x2468a2=undefined){const _0x5d2125=a3_0x15d867,_0x26ab8f={'jrEDB':function(_0x257507,_0x3daf4b){return _0x257507(_0x3daf4b);},'jUmpC':function(_0x14bd5a){return _0x14bd5a();},'CFMMd':function(_0x1b3016){return _0x1b3016();},'BCjPG':function(_0x7552d2){return _0x7552d2();},'FkOio':_0x5d2125(0x12e),'EwkSs':function(_0x321da2,_0x17a819){return _0x321da2!==_0x17a819;},'OtxSj':function(_0x5da1d4,_0xf6e490){return _0x5da1d4!==_0xf6e490;},'scNBH':_0x5d2125(0x1eb),'VZHDU':_0x5d2125(0x125),'nqbas':_0x5d2125(0x1a4),'GWNTB':_0x5d2125(0x193),'OHlHK':_0x5d2125(0x1dc),'dEwvO':_0x5d2125(0x1bc),'ezRom':function(_0x86a783,_0x1f1e66){return _0x86a783-_0x1f1e66;},'FjldQ':function(_0x205932,_0x12c74f,_0x1ccf41,_0x7a5d86,_0x199da1){return _0x205932(_0x12c74f,_0x1ccf41,_0x7a5d86,_0x199da1);},'jUbeD':_0x5d2125(0x11c),'bWFZT':_0x5d2125(0x17e),'VIZcO':_0x5d2125(0x1b7),'gHuvC':_0x5d2125(0x1bf),'MBHwh':_0x5d2125(0x106),'NPdxx':_0x5d2125(0x1d6),'LwSjZ':_0x5d2125(0xfa),'cVSgh':function(_0x507b66,_0xa2b501){return _0x507b66===_0xa2b501;},'zjbwW':_0x5d2125(0x17d),'VvYSe':_0x5d2125(0x16e)};if(!this[_0x5d2125(0x10d)])return;try{if(_0x564dde['fn']&&_0x564dde['fn'][_0x5d2125(0x11e)]()[_0x5d2125(0x182)](/browserstack internal helper hook/))return;const _0x22729b=_0x26ab8f[_0x5d2125(0x15e)](parseEvent,_0x5d2851);if(!_0x22729b)return;if(_0x22729b[_0x5d2125(0x117)]){this[_0x5d2125(0x1a6)]=_0x564dde,this['currentHook']=null;if(_0x22729b[_0x5d2125(0x16b)]||_0x22729b['skipped']){_0x564dde['startedAt']=new Date(),_0x564dde[_0x5d2125(0x1e4)]=![];if(!_0x564dde['testAnalyticsId'])_0x564dde[_0x5d2125(0x136)]=_0x26ab8f[_0x5d2125(0x140)](uuidv4);else _0x564dde[_0x5d2125(0x1e4)]&&(!_0x564dde[_0x5d2125(0x13f)]&&(_0x564dde[_0x5d2125(0x13f)]=_0x564dde[_0x5d2125(0x136)]),_0x564dde['testAnalyticsId']=_0x26ab8f[_0x5d2125(0x150)](uuidv4));}}else{if(_0x22729b[_0x5d2125(0x1de)]){this[_0x5d2125(0x198)]=_0x564dde;if(_0x22729b[_0x5d2125(0x16b)]){_0x564dde[_0x5d2125(0x132)]=new Date(),_0x564dde['markedStatus']=![];if(!_0x564dde['hookAnalyticsId'])_0x564dde['hookAnalyticsId']=_0x26ab8f['CFMMd'](uuidv4);else _0x564dde[_0x5d2125(0x18a)]&&_0x564dde[_0x5d2125(0x1e4)]&&(_0x564dde[_0x5d2125(0x18a)]=_0x26ab8f[_0x5d2125(0x183)](uuidv4));}}}if(_0x22729b[_0x5d2125(0x196)]&&_0x564dde[_0x5d2125(0x1e4)])return;let _0x44bd59;try{_0x44bd59=this[_0x5d2125(0x176)](_0x564dde);}catch(_0x2f13ab){logger[_0x5d2125(0x170)](_0x5d2125(0x187)+_0x2f13ab),_0x44bd59=null;}let _0x42aff7=[];_0x2468a2&&(_0x42aff7=[_0x2468a2,_0x26ab8f[_0x5d2125(0x1a5)]]);const _0x116e4a=_0x26ab8f['EwkSs'](_0x564dde[_0x5d2125(0x1d4)],undefined)?util[_0x5d2125(0x109)](_0x564dde[_0x5d2125(0x1d4)][0x0]):_0x26ab8f[_0x5d2125(0xfe)](_0x2468a2,undefined)?_0x2468a2['toString']():undefined,_0x37c5ce=_0x44bd59?this[_0x5d2125(0x1ea)](_0x44bd59):null,_0x8f6f7d=_0x44bd59?this[_0x5d2125(0x118)][_0x5d2125(0x160)](this['getRootParentFile'](_0x564dde)):_0x26ab8f[_0x5d2125(0x108)];let _0x3b7e09=_0x26ab8f[_0x5d2125(0x19b)];const _0x11ea6f=!_0x22729b[_0x5d2125(0x16b)]?new Date()[_0x5d2125(0x127)]():null;if(_0x22729b[_0x5d2125(0x196)])_0x3b7e09=_0x2468a2?_0x26ab8f['nqbas']:_0x26ab8f[_0x5d2125(0x1ba)],_0x564dde[_0x5d2125(0x1e4)]=!![];else _0x22729b['skipped']&&(_0x3b7e09=_0x26ab8f[_0x5d2125(0x1c6)],_0x564dde[_0x5d2125(0x1e4)]=!![]);const _0x299f6b={'framework':this[_0x5d2125(0x1a3)],'uuid':_0x564dde[_0x5d2125(0x136)]||_0x564dde[_0x5d2125(0x18a)],'name':_0x564dde[_0x5d2125(0x181)],'body':{'lang':_0x26ab8f[_0x5d2125(0x1d0)],'code':_0x564dde['body'][_0x5d2125(0x11e)]()},'type':_0x564dde[_0x5d2125(0x199)],'scope':_0x564dde[_0x5d2125(0x1c7)](),'scopes':this[_0x5d2125(0x1aa)](_0x564dde),'file_name':_0x8f6f7d,'vc_filepath':_0x37c5ce?path['relative'](_0x37c5ce,_0x44bd59):null,'location':_0x8f6f7d,'result':_0x3b7e09,'failure_reason':_0x116e4a,'duration_in_ms':_0x564dde[_0x5d2125(0x16c)]||(_0x22729b[_0x5d2125(0x196)]||_0x22729b[_0x5d2125(0x1dc)])?_0x26ab8f[_0x5d2125(0x11d)](Date[_0x5d2125(0x172)](),new Date(_0x564dde['startedAt'])[_0x5d2125(0x112)]()):null,'started_at':new Date(_0x564dde[_0x5d2125(0x132)])[_0x5d2125(0x127)](),'finished_at':_0x11ea6f,'failure':testOpsHelper[_0x5d2125(0x1dd)][_0x5d2125(0x1df)](null,_0x42aff7),'failure_type':!_0x116e4a?null:testOpsHelper['getFailureType'](_0x116e4a),'retry_of':_0x564dde[_0x5d2125(0x13f)]||null,'tags':_0x564dde[_0x5d2125(0x1ac)]||[],'customRerunParam':{'rerun_name':_0x564dde[_0x5d2125(0x1c7)]()}};_0x26ab8f[_0x5d2125(0x1b3)](appendTesthubParams,_0x299f6b,_0x5d2851,_0x564dde,FRAMEWORKS[_0x5d2125(0x1d2)]);if(_0x22729b[_0x5d2125(0x1de)])[_0x299f6b['hook_type'],_0x299f6b[_0x5d2125(0x19c)]]=[this[_0x5d2125(0x1bb)](_0x564dde),_0x564dde[_0x5d2125(0x128)][_0x5d2125(0x117)][_0x5d2125(0x181)]],_0x22729b['finished']?_0x26ab8f[_0x5d2125(0xfe)](_0x299f6b[_0x5d2125(0x145)],_0x26ab8f[_0x5d2125(0x1c1)])&&(_0x299f6b['result']=_0x26ab8f[_0x5d2125(0x1ba)]):_0x299f6b[_0x5d2125(0x10c)]={};else _0x22729b[_0x5d2125(0x117)]&&(this['mapTestHooks'](_0x564dde),_0x22729b[_0x5d2125(0x1dc)]&&this[_0x5d2125(0x16f)](_0x564dde),(_0x22729b[_0x5d2125(0x196)]||_0x22729b[_0x5d2125(0x1dc)])&&(_0x299f6b[_0x5d2125(0x166)]=this[_0x5d2125(0x111)](_0x564dde)));this['driver']&&(_0x22729b[_0x5d2125(0x16b)]||_0x22729b[_0x5d2125(0x1dc)])&&(_0x299f6b[_0x26ab8f[_0x5d2125(0x1ca)]]=this[_0x5d2125(0x1d1)](this[_0x5d2125(0x190)]));_0x22729b['test']&&_0x22729b[_0x5d2125(0x196)]&&_0x564dde[_0x5d2125(0x1e1)]&&(_0x299f6b[_0x26ab8f[_0x5d2125(0x177)]]={'feature':{'name':_0x564dde[_0x5d2125(0x168)]['feature'][_0x5d2125(0x19c)],'path':_0x299f6b[_0x5d2125(0x1a9)],'description':_0x564dde[_0x5d2125(0x168)][_0x5d2125(0x122)]},'scenario':{'name':_0x564dde[_0x5d2125(0x181)]},'steps':_0x564dde[_0x5d2125(0x1e1)]});const _0x1cfdd2=_0x299f6b[_0x26ab8f[_0x5d2125(0x197)]][0x0];_0x1cfdd2&&(_0x299f6b[_0x26ab8f[_0x5d2125(0x18b)]]=_0x1cfdd2[_0x26ab8f['MBHwh']],_0x299f6b[_0x26ab8f[_0x5d2125(0xfc)]]=_0x1cfdd2[_0x26ab8f[_0x5d2125(0x138)]]);if(_0x564dde[_0x5d2125(0x1e1)])for(const _0x5d60b6 of _0x564dde[_0x5d2125(0x1e1)]){!_0x5d60b6[_0x5d2125(0x13b)]&&(_0x5d60b6[_0x5d2125(0x13b)]=new Date()[_0x5d2125(0x127)](),_0x26ab8f[_0x5d2125(0x186)](_0x5d60b6[_0x5d2125(0x145)],_0x26ab8f['VZHDU'])&&(_0x1cfdd2?(_0x5d60b6[_0x5d2125(0x145)]=_0x26ab8f[_0x5d2125(0x1c1)],_0x5d60b6[_0x5d2125(0x1b7)]=_0x1cfdd2[_0x26ab8f[_0x5d2125(0x17b)]][0x0]):_0x5d60b6['result']=_0x26ab8f[_0x5d2125(0x1ba)]));}const _0x43ac25={};_0x43ac25[_0x5d2125(0x11f)]=_0x22729b[_0x5d2125(0x1dc)]?TEST_EVENTS[_0x5d2125(0x12f)]:_0x5d2851;const _0x1db3fb=_0x43ac25;return _0x22729b[_0x5d2125(0x1de)]?_0x1db3fb[_0x26ab8f[_0x5d2125(0x13a)]]=_0x299f6b:_0x1db3fb[_0x26ab8f[_0x5d2125(0x1c3)]]=_0x299f6b,_0x1db3fb;}catch(_0x38f851){logger[_0x5d2125(0x170)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5d2851+_0x5d2125(0x161)+_0x38f851);}}async[a3_0x15d867(0x1e3)](_0xe0fc31,_0x42c2aa){const _0x557538=a3_0x15d867;if(!this[_0x557538(0x10d)]||!_0x42c2aa||!_0xe0fc31)return![];try{return await SessionHandler[_0x557538(0x162)](_0x42c2aa);}catch(_0x3d67cc){logger[_0x557538(0x170)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0xe0fc31+_0x557538(0x161)+_0x3d67cc);}}['initializeBddStep'](_0x47fb14){const _0x3c23da=a3_0x15d867,_0x5e4041={};_0x5e4041[_0x3c23da(0x1e6)]=_0x3c23da(0x125);const _0x3ab947=_0x5e4041;return{'id':_0x47fb14['stepAnalyticsId'],'text':_0x47fb14['text'],'keyword':_0x47fb14[_0x3c23da(0x1b2)],'started_at':_0x47fb14[_0x3c23da(0x132)][_0x3c23da(0x127)](),'result':_0x3ab947[_0x3c23da(0x1e6)]};}[a3_0x15d867(0x12d)](_0x27d96a){const _0x1ca491=a3_0x15d867,_0x58b2e0={'TxbGB':function(_0x308c23){return _0x308c23();}};!this[_0x1ca491(0x1a6)][_0x1ca491(0x1e1)]&&(this[_0x1ca491(0x1a6)][_0x1ca491(0x1e1)]=[]),!_0x27d96a[_0x1ca491(0x163)]&&(_0x27d96a['stepAnalyticsId']=_0x58b2e0[_0x1ca491(0x1e9)](uuidv4),_0x27d96a[_0x1ca491(0x132)]=new Date(),this[_0x1ca491(0x1a6)][_0x1ca491(0x1e1)]['push'](this[_0x1ca491(0x188)](_0x27d96a)));}[a3_0x15d867(0x126)](_0x27d829){const _0x73f2ef=a3_0x15d867,_0x28a3e0={'VqAwV':function(_0x556f88,_0x4f2e37){return _0x556f88(_0x4f2e37);},'gNDEH':_0x73f2ef(0x191),'uidEK':_0x73f2ef(0x125),'fAhcr':_0x73f2ef(0x193),'mkNBc':function(_0x3ce5e6,_0x493599){return _0x3ce5e6-_0x493599;}};let _0x3012ec=this[_0x73f2ef(0x1a6)][_0x73f2ef(0x1e1)]['find'](_0x22eb70=>_0x22eb70['id']===_0x27d829[_0x73f2ef(0x163)]);_0x28a3e0[_0x73f2ef(0x100)](isUndefined,_0x3012ec)&&(_0x3012ec=this[_0x73f2ef(0x188)](_0x27d829)),_0x3012ec['result']=[_0x28a3e0['gNDEH'],_0x28a3e0['uidEK']]['includes'](_0x27d829[_0x73f2ef(0x114)])?_0x28a3e0[_0x73f2ef(0x14e)]:_0x27d829['status'],_0x3012ec['finished_at']=new Date()[_0x73f2ef(0x127)](),_0x3012ec[_0x73f2ef(0x16c)]=_0x28a3e0[_0x73f2ef(0x15a)](Date['now'](),_0x27d829[_0x73f2ef(0x132)][_0x73f2ef(0x112)]()),_0x3012ec[_0x73f2ef(0x1b7)]=_0x27d829[_0x73f2ef(0x12e)]?_0x27d829[_0x73f2ef(0x12e)]['message']:null;}}const a3_0xaa9d96={};function a3_0x4537(){const _0x4db252=['../../helpers/testhub/utils.js','cVSgh','failed\x20to\x20get\x20root\x20parent\x20file\x20','initializeBddStep','sendCBTInfo','hookAnalyticsId','gHuvC','TestRunStarted','test_run_uuid','appendTestItemLog','_beforeAll','driver','success','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','passed','2nZWPXJ','constructor','finished','VIZcO','currentHook','type','uuid','VZHDU','name','cZztg','KkbWb','split','abMRX','TEST_REPORTING_ANALYTICS','RAyio','frameworkName','failed','FkOio','currentTest','toLowerCase','../utils/constants','file_name','getHierarchy','MfBJa','tags','ijjZx','11lvGAku','forEach','IvqJM','suites','keyword','FjldQ','toUpperCase','pendingHookEvents','splice','failure','defineProperty','sPMIP','GWNTB','getHookType','javascript','includes','bs:addLog:','failure_backtrace','DgSQP','nqbas','bind','VvYSe','LcObC','_testEnv','OHlHK','fullTitle','push','20544830fGsbXK','jUbeD','1908120fWcVNe','session_id','_afterEach','length','./helper.js','dEwvO','getCBTInfo','CODECEPT','XclvQ','errorsDetailed','CBTSessionCreated','failure_reason_expanded','TEST_EVENTS','flushPendingHookEvents','../playwright/sessionDetails','IjLPX','accessibilityPlatform','skipped','failureData','hook','apply','dGrMo','bddSteps','../../helpers/helper','fireEvent','markedStatus','GzaXG','XqLje','GsCkE','GSbOp','TxbGB','findGitConfig','File\x20path\x20could\x20not\x20be\x20found','GfLIT','ESStP','start','stringify','PathHelper','expanded','GPQIk','NPdxx','mapTestHooks','OtxSj','ozemw','VqAwV','_beforeEach','AHMwd','hasLiveDriverSession','WBElt','_afterAll','backtrace','JXigV','scNBH','inspect','HOOK_RUN_STARTED','jIkLo','body','enabled','string','8ygywbD','DcojO','getHooksForTest','getTime','patchConsoleLogger','status','connect','keys','test','_paths','4885998vzzTAx','.git','WQnra','integrations','ezRom','toString','event_type','xxbRA','stop','comment','../../helpers/test-observability/constants','OimZY','pending','bddStepFinish','toISOString','ctx','gYlop','dILAS','oJIMD','GtEzO','bddStepStart','err','TEST_RUN_FINISHED','launch','MdfRI','startedAt','hrhaY','eEXYk','join','testAnalyticsId','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','LwSjZ','../../helpers/test-observability/requestQueueHandler','zjbwW','finished_at','769675NvgAnG','replace','groups','retryOf','jUmpC','yyIpe','XevIv','dirname','getInstance','result','fRdcj','eWBmz','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','winstonLogger','../../helpers/logger','HOpBa','uploadData','cwd','fAhcr','TestRunFinished','CFMMd','eventType','format','hook_run_uuid','TestRunSkipped','setupBrowserDetails','PLAYWRIGHT_HUB_URL','116544YskdnV','O11yHelper','145571XiUazj','mkNBc','concat','BROWSERSTACK','file','jrEDB','Not\x20able\x20to\x20import\x20Browser','prefixTestPath','\x20with\x20error\x20:\x20','uploadEventData','stepAnalyticsId','../../helpers/test-observability/sessionHandler','Playwright','hooks','FBntr','parent','bufferPendingHookEvent','util','started','duration','161iVbzJj','test_run','resetSkipTestHooks','debug','aRYbb','now','FFCxv','TNhSe','SFOad','getRootParentFile','bWFZT','OwJUo','3234474EZBRVE','obsBrowserTypeMockApplied','MBHwh','../playwright/accessibility-helper','hook_run','meta','browserstack','pid','title','match','BCjPG','BOLBV'];a3_0x4537=function(){return _0x4db252;};return a3_0x4537();}a3_0xaa9d96[a3_0x15d867(0x158)]=O11yHelper,a3_0xaa9d96['STATE_PASSED']=STATE_PASSED,a3_0xaa9d96['STATE_FAILED']=STATE_FAILED,a3_0xaa9d96[a3_0x15d867(0x1d7)]=TEST_EVENTS,module['exports']=a3_0xaa9d96;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a4_0x240ce0=a4_0x31df;(function(_0x2cf279,_0x5605fc){const _0x3af4f7=a4_0x31df,_0x5d7bb5=_0x2cf279();while(!![]){try{const _0x440ccf=parseInt(_0x3af4f7(0x15a))/0x1+parseInt(_0x3af4f7(0x133))/0x2+-parseInt(_0x3af4f7(0x14b))/0x3+parseInt(_0x3af4f7(0x15c))/0x4+parseInt(_0x3af4f7(0x185))/0x5+parseInt(_0x3af4f7(0x172))/0x6*(-parseInt(_0x3af4f7(0x190))/0x7)+-parseInt(_0x3af4f7(0x19c))/0x8;if(_0x440ccf===_0x5605fc)break;else _0x5d7bb5['push'](_0x5d7bb5['shift']());}catch(_0x11efde){_0x5d7bb5['push'](_0x5d7bb5['shift']());}}}(a4_0x493d,0xb221d));function a4_0x31df(_0x574b5e,_0x579854){const _0x493d94=a4_0x493d();return a4_0x31df=function(_0x31df72,_0x3e964a){_0x31df72=_0x31df72-0x110;let _0x3f8390=_0x493d94[_0x31df72];return _0x3f8390;},a4_0x31df(_0x574b5e,_0x579854);}const path=require(a4_0x240ce0(0x127)),util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a4_0x240ce0(0x17b)),utilities=require(a4_0x240ce0(0x157)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x240ce0(0x167)),TestHubHandler=require(a4_0x240ce0(0x138)),testOpsHelper=require(a4_0x240ce0(0x15b)),chalk=require(a4_0x240ce0(0x152)),PerformanceTester=require(a4_0x240ce0(0x12a)),PerformanceEvents=require(a4_0x240ce0(0x143))[a4_0x240ce0(0x18f)],BrowserstackCLI=require(a4_0x240ce0(0x12e)),CLIUtils=require(a4_0x240ce0(0x198)),{checkPwandBootstrapCli}=require(a4_0x240ce0(0x191)),ClientTroubleShootingService=require(a4_0x240ce0(0x121));function printCucumberStats(_0x199b01){const _0x15a923=a4_0x240ce0,_0x2e74c4={};_0x2e74c4[_0x15a923(0x17c)]=function(_0x3c98ee,_0x4edb24){return _0x3c98ee>_0x4edb24;},_0x2e74c4['LoAiw']=function(_0x44e745,_0xb9f293){return _0x44e745-_0xb9f293;},_0x2e74c4[_0x15a923(0x120)]=function(_0x776f85,_0x5b909f){return _0x776f85-_0x5b909f;},_0x2e74c4[_0x15a923(0x112)]=function(_0x5c2fb5,_0x131506){return _0x5c2fb5>_0x131506;},_0x2e74c4[_0x15a923(0x16e)]=function(_0x3530ff,_0x54c397){return _0x3530ff>_0x54c397;},_0x2e74c4[_0x15a923(0x192)]=function(_0x2e2e91,_0x5f0137){return _0x2e2e91+_0x5f0137;},_0x2e74c4[_0x15a923(0x160)]=function(_0x18b2df,_0x2e1532){return _0x18b2df+_0x2e1532;},_0x2e74c4['Zgqym']=function(_0xd767c1,_0x457e44){return _0xd767c1+_0x457e44;},_0x2e74c4['vPBBJ']=function(_0x5d41c4,_0x233b71){return _0x5d41c4+_0x233b71;},_0x2e74c4[_0x15a923(0x14f)]=function(_0x3e3b8d,_0x4d48e5){return _0x3e3b8d===_0x4d48e5;},_0x2e74c4[_0x15a923(0x11e)]='****\x20RESULTS\x20****';const _0x15f0c5=_0x2e74c4;let _0x4539cc=0x0;if(_0x15f0c5[_0x15a923(0x14f)](_0x199b01[_0x15a923(0x13b)],0x0))return _0x4539cc;return console[_0x15a923(0x164)](chalk[_0x15a923(0x169)][_0x15a923(0x131)](_0x15f0c5[_0x15a923(0x11e)])),_0x199b01['forEach'](_0x6b0248=>{const _0x5232f4=_0x15a923,_0x59775c=_0x6b0248[0x0],_0x555cc3=_0x6b0248[0x1];helper[_0x5232f4(0x196)]()&&console[_0x5232f4(0x164)]('\x0a'+chalk[_0x5232f4(0x169)]['yellow'](''+helper['getPlatformName'](_0x59775c)));const _0x5c8a54=_0x555cc3[_0x5232f4(0x155)],_0x48051d=_0x555cc3[_0x5232f4(0x14a)],_0x4313a0=_0x555cc3[_0x5232f4(0x171)],_0x44c89f=_0x555cc3[_0x5232f4(0x144)],_0x12be32=_0x555cc3['stepsPassed'],_0x76a68c=_0x555cc3[_0x5232f4(0x115)],_0x56dfd0=_0x555cc3[_0x5232f4(0x122)],_0x34a293=_0x555cc3[_0x5232f4(0x132)],_0x2fb4a5=_0x555cc3[_0x5232f4(0x193)],_0x594886=_0x555cc3['stepsAmbiguous'],_0x2b3ec4=_0x555cc3[_0x5232f4(0x19f)];let _0x596efd=_0x5c8a54+'\x20scenarios';const _0x4bf113=_0x15f0c5['goEZm'](_0x15f0c5['LoAiw'](_0x5c8a54,_0x4313a0),0x0)?_0x15f0c5['uhtnb'](_0x5c8a54,_0x4313a0):0x0;if(_0x15f0c5['goEZm'](_0x4313a0,0x0)&&_0x15f0c5[_0x5232f4(0x17c)](_0x4bf113,0x0))_0x596efd+='\x20('+chalk[_0x5232f4(0x169)][_0x5232f4(0x19e)](_0x4313a0+_0x5232f4(0x178))+',\x20'+chalk[_0x5232f4(0x169)]['green'](_0x4bf113+'\x20passed')+')';else(_0x15f0c5[_0x5232f4(0x17c)](_0x4313a0,0x0)||_0x15f0c5[_0x5232f4(0x17c)](_0x4bf113,0x0))&&(_0x596efd+=_0x15f0c5['goEZm'](_0x4313a0,0x0)?'\x20('+chalk[_0x5232f4(0x169)][_0x5232f4(0x19e)](_0x4313a0+_0x5232f4(0x178))+')':'\x20('+chalk[_0x5232f4(0x169)]['green'](_0x4bf113+_0x5232f4(0x141))+')');const _0x5e2190=_0x48051d+_0x5232f4(0x184),_0x2d20ad=[];_0x15f0c5[_0x5232f4(0x17c)](_0x594886,0x0)&&_0x2d20ad[_0x5232f4(0x134)](''+chalk['bold'][_0x5232f4(0x19e)](_0x594886+_0x5232f4(0x180)));_0x15f0c5['FHQKr'](_0x44c89f,0x0)&&_0x2d20ad['push'](''+chalk['bold']['red'](_0x44c89f+_0x5232f4(0x178)));_0x15f0c5[_0x5232f4(0x112)](_0x12be32,0x0)&&_0x2d20ad[_0x5232f4(0x134)](''+chalk[_0x5232f4(0x169)]['green'](_0x12be32+_0x5232f4(0x141)));_0x15f0c5['FHQKr'](_0x56dfd0,0x0)&&_0x2d20ad['push'](''+chalk['bold'][_0x5232f4(0x145)](_0x56dfd0+'\x20pending'));_0x15f0c5[_0x5232f4(0x16e)](_0x76a68c,0x0)&&_0x2d20ad[_0x5232f4(0x134)](''+chalk['bold'][_0x5232f4(0x136)](_0x76a68c+_0x5232f4(0x17d)));_0x15f0c5[_0x5232f4(0x17c)](_0x34a293,0x0)&&_0x2d20ad[_0x5232f4(0x134)](''+chalk['bold'][_0x5232f4(0x145)](_0x34a293+'\x20undefined'));_0x15f0c5['FHQKr'](_0x2fb4a5,0x0)&&_0x2d20ad[_0x5232f4(0x134)](''+chalk[_0x5232f4(0x169)][_0x5232f4(0x145)](_0x2fb4a5+_0x5232f4(0x17d)));const _0x5012ac=_0x15f0c5[_0x5232f4(0x192)](_0x15f0c5[_0x5232f4(0x192)](_0x15f0c5[_0x5232f4(0x160)](_0x5e2190,'('),_0x2d20ad[_0x5232f4(0x151)](',\x20')),')');console['log'](_0x15f0c5['Zgqym'](_0x15f0c5[_0x5232f4(0x177)](_0x15f0c5[_0x5232f4(0x130)](_0x15f0c5[_0x5232f4(0x192)]('\x0a',_0x596efd),'\x0a'),_0x5012ac),'\x0a')),_0x15f0c5[_0x5232f4(0x14f)](_0x2b3ec4,![])&&(_0x4539cc=0x1);}),_0x4539cc;}function a4_0x493d(){const _0x163149=['jpNqc','skipSessionStatus','stringify','skipSessionName','isRunning','isFalse','setFrameworkDetail','QvvEN','framework','uhtnb','../utils/clientTroubleshootingService','stepsPending','indexOf','BROWSERSTACK_TEST_OBSERVABILITY','exitCode','uXUUb','path','testContextOptions','config','../../helpers/performance/performance-tester','CUCUMBER','--disable-test-observability','getErrorMessageFromResults','../v2/browserstackCLI','launchBuild','vPBBJ','bgWhite','stepsUndefined','2753072fBahsZ','push','then','cyan','yNUdy','../../helpers/testhub/testhubHandler','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','useW3C','browserstackAutomation','BROWSERSTACK_AUTOMATION','logLevel','isUndefined','\x20passed','true','../../helpers/performance/constants','stepsFailed','yellow','assign','Dcqfg','gHxfj','PLAYWRIGHT','steps','3923061TsRMxj','yTvWJ','opmTK','gcNJR','VwIVV','splice','join','chalk','FFNqI','setBrowserstackConfig','scenarios','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/utilities','YQbjk','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','820687hAxuVL','../../helpers/test-observability/utils','5083692juWqfR','SJJDA','printBuildLink','uUXmT','ENTwL','VxSjB','finalExecution','format','log','FRAMEWORKS','BROWSERSTACK_FRAMEWORK','../test-runner','stop','bold','accessibilityOptions','JAMkb','finally','cucumber','UdYZy','cucumber-js','setupBrowserstackLocal','scenariosFailed','463146XytOak','VAOGO','errorMessage','removeDir','Generating\x20consolidated\x20report...','Zgqym','\x20failed','browserStackCwd','tvpNM','../../helpers/helper','goEZm','\x20skipped','LtBpw','getInstance','\x20ambiguous','Removing\x20tmp\x20directory\x20created\x20for\x20reports','syeXQ','isMainConnected','\x20steps','6573550YDNwYe','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','getHubUrl','platforms','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','nAqky','handleApp','BROWSERSTACK_TEST_OBSERVABILITY_YML','initialize','EVENTS','105DQXQsh','../../helpers/playwright-helper','kOiIQ','stepsUnknown','getPackageVersion','SDK_SETUP','isBrowserstackInfra','fIgpo','../v2/cliUtils','@playwright/test','BROWSERSTACK_LOG_LEVEL','BROWSERSTACK_CLI_BIN_SESSION_ID','12701400yvagpJ','testObservability','red','processSuccess','__isPlaywrightInstalled','binSessionId','accessibility','configPath','../../helpers/test-observability/constants','XhYRy','FHQKr','exports','env','stepsSkipped','kQEms'];a4_0x493d=function(){return _0x163149;};return a4_0x493d();}async function run(_0x21ff72,_0x24ae64,_0x5d2172){const _0x13f082=a4_0x240ce0,_0x272562={'jpNqc':function(_0x179b5a,_0x385c79){return _0x179b5a(_0x385c79);},'uXUUb':function(_0x21e83a,_0x3741ec){return _0x21e83a>_0x3741ec;},'IODyG':_0x13f082(0x176),'gHxfj':_0x13f082(0x181),'jvzDG':_0x13f082(0x16d),'uUXmT':_0x13f082(0x199),'SJJDA':_0x13f082(0x16f),'fIgpo':function(_0xe9067f,_0x7ee091,_0x1b66a9,_0x1c8ea6){return _0xe9067f(_0x7ee091,_0x1b66a9,_0x1c8ea6);},'nAqky':'tmp','Dcqfg':function(_0x11957f,_0x1cdbfe){return _0x11957f>_0x1cdbfe;},'gcNJR':function(_0x33c813,_0x15040a){return _0x33c813-_0x15040a;},'XhYRy':function(_0x276ac1,_0x23b319){return _0x276ac1>=_0x23b319;},'LtBpw':function(_0x176cfa,_0x297ded){return _0x176cfa!=_0x297ded;},'YQbjk':_0x13f082(0x142),'JAMkb':'../../helpers/accessibility-automation/helper','QNsGE':'../playwright/accessibility-helper','tvpNM':function(_0x3ca58f,_0x2e01b6){return _0x3ca58f(_0x2e01b6);},'VxSjB':function(_0x5c7f05,_0x380815){return _0x5c7f05(_0x380815);},'FFNqI':'false','QxxLu':function(_0x598f52,_0x16a6e7){return _0x598f52===_0x16a6e7;},'opmTK':function(_0x1a91dd,_0x123ee9){return _0x1a91dd(_0x123ee9);},'yTvWJ':'../v2/browserstackCLI','ehBLi':'../v2/cliUtils','syeXQ':_0x13f082(0x110),'wCpfG':function(_0x37fd2b,_0x4db2fd){return _0x37fd2b(_0x4db2fd);},'yNUdy':_0x13f082(0x12c),'pQRLu':function(_0x3506e5,_0x2dc58f){return _0x3506e5>=_0x2dc58f;},'kQEms':function(_0xec2926,_0x22f02f){return _0xec2926===_0x22f02f;},'xaAXJ':function(_0x398d40,_0x5c4b32){return _0x398d40(_0x5c4b32);},'VAOGO':_0x13f082(0x179),'RHJzm':function(_0x10cbe0,_0x5efb7a,_0x26e2d9,_0x58d036,_0x5c6947,_0x4c9b6e){return _0x10cbe0(_0x5efb7a,_0x26e2d9,_0x58d036,_0x5c6947,_0x4c9b6e);}},_0x4fdc42=helper[_0x13f082(0x194)](_0x272562[_0x13f082(0x15f)]);global[_0x13f082(0x1a0)]=!!_0x4fdc42,process['env'][_0x13f082(0x166)]=process[_0x13f082(0x114)][_0x13f082(0x166)]||_0x5d2172[_0x13f082(0x11f)]||_0x272562[_0x13f082(0x15d)],await _0x5d2172[_0x13f082(0x18e)](_0x21ff72);if(_0x5d2172[_0x13f082(0x129)]&&!helper[_0x13f082(0x140)](_0x5d2172['config'][_0x13f082(0x13f)])){process[_0x13f082(0x114)][_0x13f082(0x19a)]=_0x5d2172[_0x13f082(0x129)][_0x13f082(0x13f)];const _0x3ec52e={};_0x3ec52e['logLevel']=_0x5d2172[_0x13f082(0x129)][_0x13f082(0x13f)],helper['setLogLevel'](_0x3ec52e,new Map(),new Map());}await _0x272562[_0x13f082(0x197)](checkPwandBootstrapCli,_0x4fdc42,constants[_0x13f082(0x165)][_0x13f082(0x12b)],_0x5d2172);BrowserstackCLI[_0x13f082(0x17f)]()[_0x13f082(0x1a1)]&&(process[_0x13f082(0x114)][_0x13f082(0x19b)]=BrowserstackCLI['getInstance']()[_0x13f082(0x1a1)]);helper['setUserConfigPath'](_0x5d2172[_0x13f082(0x11f)],_0x21ff72),await helper[_0x13f082(0x18c)](_0x5d2172[_0x13f082(0x129)]);const _0x52ffde=helper[_0x13f082(0x13c)](_0x5d2172[_0x13f082(0x129)]);!helper[_0x13f082(0x140)](_0x5d2172[_0x13f082(0x129)][_0x13f082(0x16a)])&&(process[_0x13f082(0x114)][_0x13f082(0x186)]=JSON[_0x13f082(0x119)](_0x5d2172[_0x13f082(0x129)]['accessibilityOptions']));if(!BrowserstackCLI[_0x13f082(0x17f)]()[_0x13f082(0x11b)]()){const _0x22216b=await TestHubHandler[_0x13f082(0x12f)](constants['FRAMEWORKS'][_0x13f082(0x12b)],_0x5d2172);}let _0x2c9a5f=[];if(!helper[_0x13f082(0x196)]()){const _0x594a4e={};_0x594a4e[_0x13f082(0x189)]=[],_0x2c9a5f=helper['prepareCapabilities'](Object[_0x13f082(0x146)]({},_0x5d2172[_0x13f082(0x129)],_0x594a4e),_0x52ffde,constants[_0x13f082(0x165)][_0x13f082(0x12b)]);}else _0x2c9a5f=helper[_0x13f082(0x139)](_0x5d2172[_0x13f082(0x129)],_0x52ffde,constants[_0x13f082(0x165)][_0x13f082(0x12b)]);if(!_0x5d2172['config'])return;const _0x4a9a2d=_0x5d2172[_0x13f082(0x129)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x21ff72,_0x24ae64,_0x5d2172[_0x13f082(0x129)],constants[_0x13f082(0x165)]['CUCUMBER'])||0x1,_0x137bf8={'server':helper[_0x13f082(0x188)](_0x5d2172[_0x13f082(0x129)]),'proxySettings':_0x5d2172[_0x13f082(0x129)]['proxySettings'],'maxWorkers':_0x4a9a2d,'browserStackLogLevel':_0x5d2172[_0x13f082(0x129)]['logLevel'],'skipSessionName':_0x5d2172['config'][_0x13f082(0x128)][_0x13f082(0x11a)],'skipSessionStatus':_0x5d2172[_0x13f082(0x129)]['testContextOptions'][_0x13f082(0x118)],'turboScaleUrl':_0x5d2172[_0x13f082(0x129)]['turboScaleUrl']},_0x4890ed=process['argv'],[_0x53e134,_0x5145b8]=helper['parseFormatters'](_0x4890ed),_0x5854a6=path['join'](process['cwd'](),_0x272562[_0x13f082(0x18b)]);if(_0x272562[_0x13f082(0x147)](_0x5145b8['length'],0x0)){helper['createDir'](_0x5854a6);for(let _0x47e821=_0x272562[_0x13f082(0x14e)](_0x53e134[_0x13f082(0x13b)],0x1);_0x272562[_0x13f082(0x111)](_0x47e821,0x0);_0x47e821--){_0x4890ed[_0x13f082(0x150)](_0x53e134[_0x47e821],0x2);}}_0x272562[_0x13f082(0x17e)](_0x5d2172[_0x13f082(0x129)][_0x13f082(0x19d)],null)?process[_0x13f082(0x114)][_0x13f082(0x18d)]=_0x5d2172[_0x13f082(0x129)][_0x13f082(0x19d)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x272562['YQbjk'];if(_0x4fdc42)try{const {checkAccessibilityPlatformConfig:_0x509b2}=_0x272562['jpNqc'](require,_0x272562[_0x13f082(0x16b)]),{setAccessibilityCapabilities:_0x5a8b0d}=_0x272562[_0x13f082(0x117)](require,_0x272562['QNsGE']),_0x2a353f=_0x272562[_0x13f082(0x17a)](_0x509b2,_0x5d2172[_0x13f082(0x129)]);if(!helper[_0x13f082(0x140)](_0x5d2172[_0x13f082(0x129)]['accessibility']))process['env'][_0x13f082(0x13a)]=_0x272562['VxSjB'](String,!!_0x5d2172[_0x13f082(0x129)][_0x13f082(0x1a2)]);else helper['isUndefined'](process[_0x13f082(0x114)][_0x13f082(0x13a)])&&(process['env'][_0x13f082(0x13a)]=_0x2a353f?_0x272562['YQbjk']:_0x272562[_0x13f082(0x153)]);process['env'][_0x13f082(0x156)]=_0x2a353f?_0x272562['YQbjk']:_0x272562[_0x13f082(0x153)],!BrowserstackCLI[_0x13f082(0x17f)]()['isRunning']()&&_0x272562['QxxLu'](process[_0x13f082(0x114)][_0x13f082(0x13a)],_0x272562[_0x13f082(0x158)])&&_0x272562[_0x13f082(0x14d)](_0x5a8b0d,_0x5d2172[_0x13f082(0x129)]);}catch(_0x534f3e){logger[_0x13f082(0x187)](_0x13f082(0x18a)+util[_0x13f082(0x163)](_0x534f3e));}try{const _0x53a698=_0x272562['opmTK'](require,_0x272562[_0x13f082(0x14c)]),_0x287b3b=_0x272562['VxSjB'](require,_0x272562['ehBLi']),{FRAMEWORKS:_0x572df5}=_0x272562[_0x13f082(0x17a)](require,_0x272562[_0x13f082(0x182)]),{checkAccessibilityPlatformConfig:_0x1fa4c5}=_0x272562['VxSjB'](require,_0x272562['JAMkb']),{setAccessibilityCapabilities:_0x364590}=_0x272562['wCpfG'](require,_0x272562['QNsGE']),_0x523ac3=helper['getPackageVersion'](_0x272562['uUXmT']);if(_0x523ac3){_0x287b3b[_0x13f082(0x11d)](constants[_0x13f082(0x165)][_0x13f082(0x12b)],constants[_0x13f082(0x165)][_0x13f082(0x149)]);const _0x28e744=_0x53a698['getInstance']();_0x28e744[_0x13f082(0x154)](_0x5d2172[_0x13f082(0x129)],_0x5d2172[_0x13f082(0x1a3)],_0x5d2172['cliConfig']);!_0x28e744[_0x13f082(0x183)]&&!_0x28e744['isChildConnected']&&await _0x28e744['bootstrap']();const _0xcbdfb3=_0x53a698[_0x13f082(0x17f)]()['getConfig']();!helper[_0x13f082(0x11c)](_0xcbdfb3[_0x13f082(0x13d)])&&(process[_0x13f082(0x114)][_0x13f082(0x13e)]=_0x272562[_0x13f082(0x158)]);_0x272562['QxxLu'](_0xcbdfb3['browserstackAutomation'],![])&&(process[_0x13f082(0x114)]['BROWSERSTACK_AUTOMATION']=_0x272562['FFNqI']);const _0x5c9392=_0x24ae64[_0x13f082(0x123)](_0x272562[_0x13f082(0x137)]);(_0x272562['pQRLu'](_0x5c9392,0x0)||_0x272562['QxxLu'](_0xcbdfb3[_0x13f082(0x19d)],![]))&&(process[_0x13f082(0x114)][_0x13f082(0x124)]=_0x272562[_0x13f082(0x153)]);if(!_0x53a698['getInstance']()[_0x13f082(0x11b)]()){let _0x51e1ec=_0x272562[_0x13f082(0x116)](process[_0x13f082(0x114)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x272562[_0x13f082(0x158)]);_0x51e1ec=_0x51e1ec||_0x272562['xaAXJ'](_0x1fa4c5,_0x5d2172['config']),process[_0x13f082(0x114)][_0x13f082(0x13a)]=_0x51e1ec,_0x51e1ec&&_0x272562[_0x13f082(0x161)](_0x364590,_0x5d2172['config']);}}}catch(_0x298f6d){logger[_0x13f082(0x187)](_0x13f082(0x159)+util[_0x13f082(0x163)](_0x298f6d));}!BrowserstackCLI[_0x13f082(0x17f)]()[_0x13f082(0x11b)]()&&await _0x5d2172[_0x13f082(0x170)]();PerformanceTester['end'](PerformanceEvents[_0x13f082(0x195)]),process['env'][_0x272562[_0x13f082(0x173)]]=process['cwd']();let _0x201825;_0x272562['RHJzm'](parallelCucumberRun,_0x2c9a5f,_0x137bf8,_0x5d2172[_0x13f082(0x129)],_0x4890ed,_0x5145b8)[_0x13f082(0x135)](async _0x18d3dd=>{const _0x316662=_0x13f082;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x201825=_0x18d3dd;const _0x45a6d9=_0x272562[_0x316662(0x117)](printCucumberStats,_0x18d3dd);process[_0x316662(0x125)]=_0x45a6d9,_0x272562[_0x316662(0x126)](_0x5145b8[_0x316662(0x13b)],0x0)&&(logger['debug'](_0x272562['IODyG']),helper['mergeOutputFiles'](_0x5854a6,_0x5145b8),logger[_0x316662(0x187)](_0x272562[_0x316662(0x148)]),helper[_0x316662(0x175)](_0x5854a6));})[_0x13f082(0x16c)](async()=>{const _0x1ad03e=_0x13f082;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x5d2172[_0x1ad03e(0x174)]=helper[_0x1ad03e(0x12d)](_0x201825,_0x272562['jvzDG']),testOpsHelper[_0x1ad03e(0x15e)]();const _0x675249=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x1ad03e(0x168)](),await BrowserstackCLI[_0x1ad03e(0x17f)]()['stop']();}catch(_0x23eea2){logger[_0x1ad03e(0x187)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1ad03e(0x163)](_0x23eea2));}await utilities[_0x1ad03e(0x162)](_0x5d2172,_0x675249);});}module[a4_0x240ce0(0x113)]=run;
|
|
2
|
+
'use strict';function a4_0x26aa(){const _0x3fad6b=['isUndefined','../../helpers/testhub/testhubHandler','stepsFailed','BROWSERSTACK_FRAMEWORK','stepsPassed','testContextOptions','CwFCl','pjkGB','CUCUMBER','chalk','JoGVZ','setFrameworkDetail','898032sFUcgZ','unSsK','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','ilNVQ','getHubUrl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20steps','../../helpers/utilities','../../helpers/performance/performance-tester','push','getConfig','cyan','ufaIR','browserStackCwd','bold','CWMqt','YadWc','launchBuild','dinge','@playwright/test','cucumber-js','errorMessage','stop','scenarios','TdjMX','128008sbiwSe','framework','yellow','../playwright/accessibility-helper','proxySettings','processSuccess','skipSessionStatus','stringify','green','\x20undefined','stepsUnknown','210ufvykE','zWTju','end','log','initialize','BROWSERSTACK_LOG_LEVEL','logLevel','getPlatformName','\x20scenarios','splice','SDK_SETUP','mCmsJ','format','139518OmaNJv','then','\x20pending','qpYCD','getInstance','../v2/browserstackCLI','testObservability','../../helpers/playwright-helper','start','GGDyD','isChildConnected','skipSessionName','KrpUN','removeDir','DLCWh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/test-observability/constants','exitCode','true','EVENTS','KhucF','getPackageVersion','335TVszMN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','kPQMS','accessibility','637SMgXZE','ZSgxa','\x20failed','isBrowserstackInfra','debug','scenariosFailed','isMainConnected','RnSkz','indexOf','BROWSERSTACK_AUTOMATION','yJefH','length','39413506MOYTHn','setLogLevel','bDKSX','assign','platforms','isRunning','RXypa','Generating\x20consolidated\x20report...','BROWSERSTACK_TEST_OBSERVABILITY','Removing\x20tmp\x20directory\x20created\x20for\x20reports','finally','env','ZmHsT','join','54AUBrVN','\x20ambiguous','MkmlC','handleApp','eeoCu','45HYRrMo','\x20passed','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','cliConfig','stepsPending','1954430bDwsjH','browserstackAutomation','BROWSERSTACK_TEST_OBSERVABILITY_YML','getErrorMessageFromResults','FEBlG','../../helpers/test-observability/utils','aGhHr','setUserConfigPath','stepsAmbiguous','SDK_CLEANUP','yBSjy','../test-runner','****\x20RESULTS\x20****','Zdlqp','JtcOm','FRAMEWORKS','tmp','--disable-test-observability','mergeOutputFiles','lLfyO','1433263VKoOmW','prepareCapabilities','bgWhite','cwd','DpfQk','Dioew','configPath','config','accessibilityOptions','parallelsPerPlatform','HxWen','bbINV','binSessionId','util','qGTtg','setupBrowserstackLocal','stepsUndefined','red','../v2/cliUtils','llkxx','vsLic','\x20skipped','getUserWorkerCount'];a4_0x26aa=function(){return _0x3fad6b;};return a4_0x26aa();}const a4_0x275921=a4_0x2ea0;(function(_0x99f053,_0x30e2c6){const _0x193982=a4_0x2ea0,_0x3631c0=_0x99f053();while(!![]){try{const _0x5e2063=-parseInt(_0x193982(0x212))/0x1+parseInt(_0x193982(0x1f4))/0x2*(parseInt(_0x193982(0x266))/0x3)+-parseInt(_0x193982(0x235))/0x4+-parseInt(_0x193982(0x27c))/0x5*(parseInt(_0x193982(0x259))/0x6)+-parseInt(_0x193982(0x280))/0x7*(parseInt(_0x193982(0x24e))/0x8)+parseInt(_0x193982(0x1f9))/0x9*(-parseInt(_0x193982(0x1fe))/0xa)+parseInt(_0x193982(0x28c))/0xb;if(_0x5e2063===_0x30e2c6)break;else _0x3631c0['push'](_0x3631c0['shift']());}catch(_0x5cbeb8){_0x3631c0['push'](_0x3631c0['shift']());}}}(a4_0x26aa,0xb5f46));const path=require('path'),util=require(a4_0x275921(0x21f)),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a4_0x275921(0x23c)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x275921(0x209)),TestHubHandler=require(a4_0x275921(0x22a)),testOpsHelper=require(a4_0x275921(0x203)),chalk=require(a4_0x275921(0x232)),PerformanceTester=require(a4_0x275921(0x23d)),PerformanceEvents=require('../../helpers/performance/constants')[a4_0x275921(0x279)],BrowserstackCLI=require(a4_0x275921(0x26b)),CLIUtils=require(a4_0x275921(0x224)),{checkPwandBootstrapCli}=require(a4_0x275921(0x26d)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x2d34bf){const _0x20a4e3=a4_0x275921,_0x3ae01e={};_0x3ae01e['ufaIR']=function(_0x58d424,_0x2d41c3){return _0x58d424>_0x2d41c3;},_0x3ae01e[_0x20a4e3(0x216)]=function(_0x1ac640,_0x2fc15c){return _0x1ac640-_0x2fc15c;},_0x3ae01e[_0x20a4e3(0x1f8)]=function(_0x596566,_0xece140){return _0x596566>_0xece140;},_0x3ae01e[_0x20a4e3(0x269)]=function(_0x1bca65,_0x12c232){return _0x1bca65>_0x12c232;},_0x3ae01e[_0x20a4e3(0x220)]=function(_0x406f39,_0xad947f){return _0x406f39>_0xad947f;},_0x3ae01e[_0x20a4e3(0x25a)]=function(_0x1396f2,_0x443065){return _0x1396f2>_0x443065;},_0x3ae01e['HxWen']=function(_0x1a8a67,_0x1952fb){return _0x1a8a67>_0x1952fb;},_0x3ae01e[_0x20a4e3(0x1f6)]=function(_0x2a37fd,_0xe19aac){return _0x2a37fd>_0xe19aac;},_0x3ae01e[_0x20a4e3(0x24d)]=function(_0x39025b,_0x59eec9){return _0x39025b+_0x59eec9;},_0x3ae01e['JoGVZ']=function(_0x57d007,_0x1c5a71){return _0x57d007+_0x1c5a71;},_0x3ae01e[_0x20a4e3(0x244)]=function(_0x63644d,_0x281d4c){return _0x63644d+_0x281d4c;},_0x3ae01e[_0x20a4e3(0x226)]=function(_0x379f1c,_0xf8ec37){return _0x379f1c+_0xf8ec37;},_0x3ae01e[_0x20a4e3(0x217)]=function(_0x20d121,_0x164995){return _0x20d121===_0x164995;},_0x3ae01e[_0x20a4e3(0x20c)]=_0x20a4e3(0x20a);const _0x38ff24=_0x3ae01e;let _0x4bb386=0x0;if(_0x38ff24[_0x20a4e3(0x217)](_0x2d34bf[_0x20a4e3(0x28b)],0x0))return _0x4bb386;return console[_0x20a4e3(0x25c)](chalk['bold'][_0x20a4e3(0x214)](_0x38ff24[_0x20a4e3(0x20c)])),_0x2d34bf['forEach'](_0x9142de=>{const _0x33b7c6=_0x20a4e3,_0x3eca76=_0x9142de[0x0],_0x1e52a3=_0x9142de[0x1];helper[_0x33b7c6(0x283)]()&&console[_0x33b7c6(0x25c)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x33b7c6(0x260)](_0x3eca76)));const _0x39ffdc=_0x1e52a3[_0x33b7c6(0x24c)],_0xb7d004=_0x1e52a3['steps'],_0x46a6a7=_0x1e52a3[_0x33b7c6(0x285)],_0x14f0b0=_0x1e52a3[_0x33b7c6(0x22b)],_0x2189b3=_0x1e52a3[_0x33b7c6(0x22d)],_0x332800=_0x1e52a3['stepsSkipped'],_0x2bcd41=_0x1e52a3[_0x33b7c6(0x1fd)],_0x513976=_0x1e52a3[_0x33b7c6(0x222)],_0x5f1bb5=_0x1e52a3[_0x33b7c6(0x258)],_0xe32bc4=_0x1e52a3[_0x33b7c6(0x206)],_0x512487=_0x1e52a3[_0x33b7c6(0x253)];let _0x42123d=_0x39ffdc+_0x33b7c6(0x261);const _0x24cc03=_0x38ff24[_0x33b7c6(0x241)](_0x38ff24[_0x33b7c6(0x216)](_0x39ffdc,_0x46a6a7),0x0)?_0x38ff24['DpfQk'](_0x39ffdc,_0x46a6a7):0x0;if(_0x38ff24['eeoCu'](_0x46a6a7,0x0)&&_0x38ff24['eeoCu'](_0x24cc03,0x0))_0x42123d+='\x20('+chalk[_0x33b7c6(0x243)]['red'](_0x46a6a7+_0x33b7c6(0x282))+',\x20'+chalk[_0x33b7c6(0x243)]['green'](_0x24cc03+_0x33b7c6(0x1fa))+')';else(_0x38ff24[_0x33b7c6(0x1f8)](_0x46a6a7,0x0)||_0x38ff24['qpYCD'](_0x24cc03,0x0))&&(_0x42123d+=_0x38ff24[_0x33b7c6(0x220)](_0x46a6a7,0x0)?'\x20('+chalk['bold']['red'](_0x46a6a7+_0x33b7c6(0x282))+')':'\x20('+chalk['bold'][_0x33b7c6(0x256)](_0x24cc03+_0x33b7c6(0x1fa))+')');const _0x5ba1c6=_0xb7d004+_0x33b7c6(0x23b),_0x543570=[];_0x38ff24['zWTju'](_0xe32bc4,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk['bold'][_0x33b7c6(0x223)](_0xe32bc4+_0x33b7c6(0x1f5)));_0x38ff24[_0x33b7c6(0x21c)](_0x14f0b0,0x0)&&_0x543570['push'](''+chalk['bold'][_0x33b7c6(0x223)](_0x14f0b0+_0x33b7c6(0x282)));_0x38ff24['eeoCu'](_0x2189b3,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk[_0x33b7c6(0x243)][_0x33b7c6(0x256)](_0x2189b3+'\x20passed'));_0x38ff24[_0x33b7c6(0x1f8)](_0x2bcd41,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk[_0x33b7c6(0x243)][_0x33b7c6(0x250)](_0x2bcd41+_0x33b7c6(0x268)));_0x38ff24['ufaIR'](_0x332800,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk[_0x33b7c6(0x243)][_0x33b7c6(0x240)](_0x332800+_0x33b7c6(0x227)));_0x38ff24[_0x33b7c6(0x220)](_0x513976,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk[_0x33b7c6(0x243)][_0x33b7c6(0x250)](_0x513976+_0x33b7c6(0x257)));_0x38ff24['MkmlC'](_0x5f1bb5,0x0)&&_0x543570[_0x33b7c6(0x23e)](''+chalk[_0x33b7c6(0x243)]['yellow'](_0x5f1bb5+_0x33b7c6(0x227)));const _0x11c85b=_0x38ff24[_0x33b7c6(0x24d)](_0x38ff24[_0x33b7c6(0x233)](_0x38ff24[_0x33b7c6(0x244)](_0x5ba1c6,'('),_0x543570[_0x33b7c6(0x1f3)](',\x20')),')');console[_0x33b7c6(0x25c)](_0x38ff24[_0x33b7c6(0x226)](_0x38ff24['JoGVZ'](_0x38ff24[_0x33b7c6(0x233)](_0x38ff24[_0x33b7c6(0x24d)]('\x0a',_0x42123d),'\x0a'),_0x11c85b),'\x0a')),_0x38ff24['Dioew'](_0x512487,![])&&(_0x4bb386=0x1);}),_0x4bb386;}async function run(_0x33fee6,_0x331580,_0x3d75de){const _0x236650=a4_0x275921,_0x25d758={'kPQMS':function(_0x2240dc,_0x11209f){return _0x2240dc(_0x11209f);},'unSsK':function(_0x312f42,_0x47d300){return _0x312f42>_0x47d300;},'ilNVQ':_0x236650(0x1ed),'lLfyO':_0x236650(0x1ef),'PwMWo':'cucumber','pjkGB':_0x236650(0x248),'KGafY':_0x236650(0x249),'fwIah':function(_0x4c9113,_0x1b1930,_0x399b1f,_0x3675aa){return _0x4c9113(_0x1b1930,_0x399b1f,_0x3675aa);},'FEBlG':_0x236650(0x20e),'aSiYR':function(_0x777f9e,_0x417f94){return _0x777f9e>_0x417f94;},'MZPFW':function(_0x553cae,_0x1cbe85){return _0x553cae-_0x1cbe85;},'aGhHr':function(_0x4d0d66,_0x3790e3){return _0x4d0d66>=_0x3790e3;},'KrpUN':function(_0x218508,_0x51e118){return _0x218508!=_0x51e118;},'llkxx':_0x236650(0x278),'gKKHQ':function(_0x354eef,_0x274471){return _0x354eef(_0x274471);},'YadWc':'../../helpers/accessibility-automation/helper','bDKSX':function(_0x5a8bfb,_0x59bf35){return _0x5a8bfb(_0x59bf35);},'dinge':_0x236650(0x251),'yBSjy':'false','DLCWh':function(_0x24b5bb,_0x9a77c3){return _0x24b5bb===_0x9a77c3;},'RXypa':function(_0x13bd9f,_0x59aba0){return _0x13bd9f(_0x59aba0);},'KhucF':function(_0x3c7bec,_0x3eea19){return _0x3c7bec(_0x3eea19);},'CwFCl':_0x236650(0x26b),'Zdlqp':function(_0x491ab4,_0x1802ca){return _0x491ab4(_0x1802ca);},'RnSkz':_0x236650(0x224),'ZmHsT':function(_0x5c600d,_0x4c6350){return _0x5c600d(_0x4c6350);},'yJefH':_0x236650(0x276),'ZSgxa':_0x236650(0x20f),'mCmsJ':function(_0x24e0ce,_0x4cfe3e){return _0x24e0ce(_0x4cfe3e);},'GGDyD':_0x236650(0x242),'bbINV':function(_0x1cde70,_0x5b98e3,_0x4cb32a,_0x2d7bd1,_0x22b60e,_0x56f58b){return _0x1cde70(_0x5b98e3,_0x4cb32a,_0x2d7bd1,_0x22b60e,_0x56f58b);}},_0x4026fa=helper[_0x236650(0x27b)](_0x25d758['pjkGB']);global['__isPlaywrightInstalled']=!!_0x4026fa,process[_0x236650(0x1f1)]['BROWSERSTACK_FRAMEWORK']=process['env'][_0x236650(0x22c)]||_0x3d75de[_0x236650(0x24f)]||_0x25d758['KGafY'],await _0x3d75de[_0x236650(0x25d)](_0x33fee6);if(_0x3d75de['config']&&!helper[_0x236650(0x229)](_0x3d75de[_0x236650(0x219)][_0x236650(0x25f)])){process['env'][_0x236650(0x25e)]=_0x3d75de[_0x236650(0x219)][_0x236650(0x25f)];const _0x567aa={};_0x567aa['logLevel']=_0x3d75de['config'][_0x236650(0x25f)],helper[_0x236650(0x28d)](_0x567aa,new Map(),new Map());}await _0x25d758['fwIah'](checkPwandBootstrapCli,_0x4026fa,constants['FRAMEWORKS'][_0x236650(0x231)],_0x3d75de);BrowserstackCLI[_0x236650(0x26a)]()[_0x236650(0x21e)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x236650(0x26a)]()['binSessionId']);helper[_0x236650(0x205)](_0x3d75de[_0x236650(0x24f)],_0x33fee6),await helper[_0x236650(0x1f7)](_0x3d75de[_0x236650(0x219)]);const _0x426688=helper['useW3C'](_0x3d75de[_0x236650(0x219)]);!helper['isUndefined'](_0x3d75de[_0x236650(0x219)][_0x236650(0x21a)])&&(process[_0x236650(0x1f1)][_0x236650(0x23a)]=JSON[_0x236650(0x255)](_0x3d75de['config'][_0x236650(0x21a)]));if(!BrowserstackCLI[_0x236650(0x26a)]()['isRunning']()){const _0xe035f8=await TestHubHandler[_0x236650(0x246)](constants[_0x236650(0x20d)][_0x236650(0x231)],_0x3d75de);}let _0x2871cd=[];if(!helper[_0x236650(0x283)]()){const _0x2a9633={};_0x2a9633[_0x236650(0x290)]=[],_0x2871cd=helper[_0x236650(0x213)](Object[_0x236650(0x28f)]({},_0x3d75de[_0x236650(0x219)],_0x2a9633),_0x426688,constants[_0x236650(0x20d)][_0x236650(0x231)]);}else _0x2871cd=helper['prepareCapabilities'](_0x3d75de['config'],_0x426688,constants[_0x236650(0x20d)][_0x236650(0x231)]);if(!_0x3d75de['config'])return;const _0x24e7d9=_0x3d75de['config'][_0x236650(0x21b)]||helper[_0x236650(0x228)](_0x33fee6,_0x331580,_0x3d75de[_0x236650(0x219)],constants[_0x236650(0x20d)]['CUCUMBER'])||0x1,_0x2cf836={'server':helper[_0x236650(0x239)](_0x3d75de['config']),'proxySettings':_0x3d75de[_0x236650(0x219)][_0x236650(0x252)],'maxWorkers':_0x24e7d9,'browserStackLogLevel':_0x3d75de[_0x236650(0x219)][_0x236650(0x25f)],'skipSessionName':_0x3d75de['config'][_0x236650(0x22e)][_0x236650(0x271)],'skipSessionStatus':_0x3d75de[_0x236650(0x219)][_0x236650(0x22e)][_0x236650(0x254)],'turboScaleUrl':_0x3d75de[_0x236650(0x219)]['turboScaleUrl']},_0x30120d=process['argv'],[_0x43bfe8,_0x5d5a90]=helper['parseFormatters'](_0x30120d),_0x14bbf6=path[_0x236650(0x1f3)](process[_0x236650(0x215)](),_0x25d758[_0x236650(0x202)]);if(_0x25d758['aSiYR'](_0x5d5a90['length'],0x0)){helper['createDir'](_0x14bbf6);for(let _0x33c120=_0x25d758['MZPFW'](_0x43bfe8[_0x236650(0x28b)],0x1);_0x25d758[_0x236650(0x204)](_0x33c120,0x0);_0x33c120--){_0x30120d[_0x236650(0x262)](_0x43bfe8[_0x33c120],0x2);}}_0x25d758[_0x236650(0x272)](_0x3d75de[_0x236650(0x219)][_0x236650(0x26c)],null)?process['env'][_0x236650(0x200)]=_0x3d75de[_0x236650(0x219)][_0x236650(0x26c)]:process[_0x236650(0x1f1)][_0x236650(0x200)]=_0x25d758['llkxx'];if(_0x4026fa)try{const {checkAccessibilityPlatformConfig:_0x5de2ac}=_0x25d758['gKKHQ'](require,_0x25d758[_0x236650(0x245)]),{setAccessibilityCapabilities:_0x4c4491}=_0x25d758[_0x236650(0x28e)](require,_0x25d758[_0x236650(0x247)]),_0x4489dd=_0x25d758[_0x236650(0x28e)](_0x5de2ac,_0x3d75de['config']);if(!helper[_0x236650(0x229)](_0x3d75de[_0x236650(0x219)]['accessibility']))process['env'][_0x236650(0x27d)]=_0x25d758[_0x236650(0x27e)](String,!!_0x3d75de['config'][_0x236650(0x27f)]);else helper['isUndefined'](process[_0x236650(0x1f1)][_0x236650(0x27d)])&&(process[_0x236650(0x1f1)][_0x236650(0x27d)]=_0x4489dd?_0x25d758[_0x236650(0x225)]:_0x25d758[_0x236650(0x208)]);process[_0x236650(0x1f1)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4489dd?_0x25d758[_0x236650(0x225)]:_0x25d758[_0x236650(0x208)],!BrowserstackCLI[_0x236650(0x26a)]()['isRunning']()&&_0x25d758[_0x236650(0x274)](process[_0x236650(0x1f1)][_0x236650(0x27d)],_0x25d758['llkxx'])&&_0x25d758[_0x236650(0x292)](_0x4c4491,_0x3d75de[_0x236650(0x219)]);}catch(_0x1320b4){logger['debug'](_0x236650(0x1fb)+util[_0x236650(0x265)](_0x1320b4));}try{const _0x3f9ef3=_0x25d758[_0x236650(0x27a)](require,_0x25d758[_0x236650(0x22f)]),_0x3f91e7=_0x25d758[_0x236650(0x20b)](require,_0x25d758[_0x236650(0x287)]),{FRAMEWORKS:_0x2f89ff}=_0x25d758[_0x236650(0x1f2)](require,_0x25d758[_0x236650(0x28a)]),{checkAccessibilityPlatformConfig:_0x3e8ca5}=_0x25d758[_0x236650(0x1f2)](require,_0x25d758[_0x236650(0x245)]),{setAccessibilityCapabilities:_0x5cc21b}=_0x25d758[_0x236650(0x292)](require,_0x25d758['dinge']),_0x18c5b4=helper[_0x236650(0x27b)](_0x25d758[_0x236650(0x230)]);if(_0x18c5b4){_0x3f91e7[_0x236650(0x234)](constants[_0x236650(0x20d)][_0x236650(0x231)],constants[_0x236650(0x20d)]['PLAYWRIGHT']);const _0xd73af=_0x3f9ef3[_0x236650(0x26a)]();_0xd73af['setBrowserstackConfig'](_0x3d75de[_0x236650(0x219)],_0x3d75de[_0x236650(0x218)],_0x3d75de[_0x236650(0x1fc)]);!_0xd73af[_0x236650(0x286)]&&!_0xd73af[_0x236650(0x270)]&&await _0xd73af['bootstrap']();const _0x596dc4=_0x3f9ef3[_0x236650(0x26a)]()[_0x236650(0x23f)]();!helper['isFalse'](_0x596dc4[_0x236650(0x1ff)])&&(process[_0x236650(0x1f1)][_0x236650(0x289)]=_0x25d758['llkxx']);_0x25d758[_0x236650(0x274)](_0x596dc4[_0x236650(0x1ff)],![])&&(process[_0x236650(0x1f1)][_0x236650(0x289)]=_0x25d758[_0x236650(0x208)]);const _0x323bd3=_0x331580[_0x236650(0x288)](_0x25d758[_0x236650(0x281)]);(_0x25d758[_0x236650(0x204)](_0x323bd3,0x0)||_0x25d758[_0x236650(0x274)](_0x596dc4[_0x236650(0x26c)],![]))&&(process[_0x236650(0x1f1)][_0x236650(0x1ee)]=_0x25d758[_0x236650(0x208)]);if(!_0x3f9ef3[_0x236650(0x26a)]()[_0x236650(0x291)]()){let _0x1b8747=_0x25d758[_0x236650(0x274)](process[_0x236650(0x1f1)][_0x236650(0x27d)],_0x25d758[_0x236650(0x225)]);_0x1b8747=_0x1b8747||_0x25d758[_0x236650(0x264)](_0x3e8ca5,_0x3d75de[_0x236650(0x219)]),process['env'][_0x236650(0x27d)]=_0x1b8747,_0x1b8747&&_0x25d758[_0x236650(0x27a)](_0x5cc21b,_0x3d75de[_0x236650(0x219)]);}}}catch(_0x149539){logger['debug'](_0x236650(0x237)+util[_0x236650(0x265)](_0x149539));}!BrowserstackCLI[_0x236650(0x26a)]()[_0x236650(0x291)]()&&await _0x3d75de[_0x236650(0x221)]();PerformanceTester[_0x236650(0x25b)](PerformanceEvents[_0x236650(0x263)]),process['env'][_0x25d758[_0x236650(0x26f)]]=process[_0x236650(0x215)]();let _0x45056f;_0x25d758[_0x236650(0x21d)](parallelCucumberRun,_0x2871cd,_0x2cf836,_0x3d75de['config'],_0x30120d,_0x5d5a90)[_0x236650(0x267)](async _0x3c27c7=>{const _0x4db2b5=_0x236650;PerformanceTester[_0x4db2b5(0x26e)](PerformanceEvents[_0x4db2b5(0x207)]),_0x45056f=_0x3c27c7;const _0x438618=_0x25d758['kPQMS'](printCucumberStats,_0x3c27c7);process[_0x4db2b5(0x277)]=_0x438618,_0x25d758[_0x4db2b5(0x236)](_0x5d5a90['length'],0x0)&&(logger[_0x4db2b5(0x284)](_0x25d758[_0x4db2b5(0x238)]),helper[_0x4db2b5(0x210)](_0x14bbf6,_0x5d5a90),logger['debug'](_0x25d758[_0x4db2b5(0x211)]),helper[_0x4db2b5(0x273)](_0x14bbf6));})[_0x236650(0x1f0)](async()=>{const _0x2bcdea=_0x236650;PerformanceTester['start'](PerformanceEvents[_0x2bcdea(0x207)]),_0x3d75de[_0x2bcdea(0x24a)]=helper[_0x2bcdea(0x201)](_0x45056f,_0x25d758['PwMWo']),testOpsHelper['printBuildLink']();const _0x50f332=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x2bcdea(0x24b)](),await BrowserstackCLI[_0x2bcdea(0x26a)]()[_0x2bcdea(0x24b)]();}catch(_0x59de0a){logger[_0x2bcdea(0x284)](_0x2bcdea(0x275)+util[_0x2bcdea(0x265)](_0x59de0a));}await utilities['finalExecution'](_0x3d75de,_0x50f332);});}function a4_0x2ea0(_0x42b470,_0x5242fe){const _0x26aae9=a4_0x26aa();return a4_0x2ea0=function(_0x2ea089,_0x24a731){_0x2ea089=_0x2ea089-0x1ed;let _0x1f1b7d=_0x26aae9[_0x2ea089];return _0x1f1b7d;},a4_0x2ea0(_0x42b470,_0x5242fe);}module['exports']=run;
|