browserstack-node-sdk 1.69.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.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/seleniumAutomationFramework.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/runStateStore.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_0x674e9e=a1_0x47a9;(function(_0x3f2336,_0x570a68){const _0x4d0b2f=a1_0x47a9,_0x3b1e0e=_0x3f2336();while(!![]){try{const _0x12c0d9=parseInt(_0x4d0b2f(0x1e1))/0x1+parseInt(_0x4d0b2f(0x174))/0x2*(-parseInt(_0x4d0b2f(0x1a7))/0x3)+-parseInt(_0x4d0b2f(0x17f))/0x4*(parseInt(_0x4d0b2f(0x1a3))/0x5)+-parseInt(_0x4d0b2f(0x193))/0x6+-parseInt(_0x4d0b2f(0x18e))/0x7*(-parseInt(_0x4d0b2f(0x199))/0x8)+parseInt(_0x4d0b2f(0x1a2))/0x9+-parseInt(_0x4d0b2f(0x168))/0xa*(parseInt(_0x4d0b2f(0x169))/0xb);if(_0x12c0d9===_0x570a68)break;else _0x3b1e0e['push'](_0x3b1e0e['shift']());}catch(_0x58d21b){_0x3b1e0e['push'](_0x3b1e0e['shift']());}}}(a1_0x9488,0x85fdd));const fs=require('fs'),path=require(a1_0x674e9e(0x153)),util=require(a1_0x674e9e(0x1bb)),process=require(a1_0x674e9e(0x19c)),logger=require(a1_0x674e9e(0x1fe))[a1_0x674e9e(0x18b)],{default:BrowserStackSetup}=require(a1_0x674e9e(0x1fb)),helper=require(a1_0x674e9e(0x1d9)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x674e9e(0x176)),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x674e9e(0x1d9)),CodeceptJS=requireModule(a1_0x674e9e(0x19e),a1_0x674e9e(0x163)),testOpsHelper=require(a1_0x674e9e(0x1c1)),TestHubHandler=require(a1_0x674e9e(0x1df)),BrowserstackCLI=require(a1_0x674e9e(0x14d)),constants=require(a1_0x674e9e(0x1f1)),PerformanceTester=require(a1_0x674e9e(0x154)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a1_0x674e9e(0x17e))[a1_0x674e9e(0x188)],ClientTroubleShootingService=require(a1_0x674e9e(0x1e4)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x6a3b29,_0x218df0)=>{const _0x4ed21b=a1_0x674e9e,_0x2c2363={};_0x2c2363[_0x4ed21b(0x1ae)]=function(_0x36df30,_0x291ce7){return _0x36df30===_0x291ce7;},_0x2c2363[_0x4ed21b(0x1b2)]=_0x4ed21b(0x15a),_0x2c2363[_0x4ed21b(0x1ed)]=_0x4ed21b(0x15d);const _0x4a04b6=_0x2c2363;let _0x9ec1c=null;const _0x4a2620={};let _0x433536=_0x218df0[_0x4ed21b(0x190)](_0x12b194=>_0x12b194===_0x4ed21b(0x17b));_0x4a04b6['Vcafr'](_0x433536,-0x1)&&(_0x433536=_0x218df0[_0x4ed21b(0x190)](_0x55fc87=>_0x55fc87==='-c'));const _0x157d96=!helper[_0x4ed21b(0x1c3)](_0x6a3b29['config'])?helper[_0x4ed21b(0x149)](_0x6a3b29[_0x4ed21b(0x194)]):null,_0x28a5f4=!helper[_0x4ed21b(0x1c3)](_0x6a3b29['c'])?helper[_0x4ed21b(0x149)](_0x6a3b29['c']):null;if(!helper[_0x4ed21b(0x1c3)](_0x6a3b29[_0x4ed21b(0x194)])&&!_0x157d96)logger[_0x4ed21b(0x1c8)]('Ignoring\x20--config\x20path\x20\x22'+_0x6a3b29['config']+_0x4ed21b(0x1ba));else!helper[_0x4ed21b(0x1c3)](_0x6a3b29['c'])&&!_0x28a5f4&&logger[_0x4ed21b(0x1c8)](_0x4ed21b(0x1ca)+_0x6a3b29['c']+_0x4ed21b(0x1ba));if(_0x157d96&&fs[_0x4ed21b(0x152)](_0x157d96))_0x9ec1c=_0x157d96,_0x218df0[_0x4ed21b(0x1f7)](_0x433536,0x2);else{if(_0x28a5f4&&fs[_0x4ed21b(0x152)](_0x28a5f4))_0x9ec1c=_0x28a5f4,_0x218df0[_0x4ed21b(0x1f7)](_0x433536,0x2);else{if(fs[_0x4ed21b(0x152)](path[_0x4ed21b(0x164)](process[_0x4ed21b(0x172)](),_0x4a04b6[_0x4ed21b(0x1b2)])))_0x9ec1c=path[_0x4ed21b(0x164)](process['cwd'](),_0x4a04b6[_0x4ed21b(0x1b2)]);else fs[_0x4ed21b(0x152)](path[_0x4ed21b(0x164)](process[_0x4ed21b(0x172)](),_0x4a04b6[_0x4ed21b(0x1ed)]))&&(_0x9ec1c=path[_0x4ed21b(0x164)](process[_0x4ed21b(0x172)](),_0x4a04b6[_0x4ed21b(0x1ed)]));}}return process['env'][_0x4ed21b(0x1c4)]=_0x9ec1c,_0x9ec1c;},getO11yRerunPattern=()=>{const _0xfd6498=a1_0x674e9e,_0x14d4b2=helper[_0xfd6498(0x1a8)](process[_0xfd6498(0x1b4)][_0xfd6498(0x1f5)]);if(_0x14d4b2){const _0x5f504d=process[_0xfd6498(0x1b4)][_0xfd6498(0x1dd)],_0x4eab59=[];if(helper[_0xfd6498(0x15b)](_0x5f504d)&&!helper[_0xfd6498(0x1c3)](_0x5f504d)){_0x5f504d[_0xfd6498(0x1cb)](',')[_0xfd6498(0x1e5)](_0x3e4eb2=>{const _0x2a9093=_0xfd6498;_0x4eab59[_0x2a9093(0x1f4)]('('+_0x3e4eb2[_0x2a9093(0x1bd)]()+')');});const _0x595a0f='^'+_0x4eab59[_0xfd6498(0x164)]('|')+'$';return _0x595a0f;}}return null;},a1_0x2a4c43={};a1_0x2a4c43['chrome']=a1_0x674e9e(0x1c0),a1_0x2a4c43[a1_0x674e9e(0x158)]=a1_0x674e9e(0x1c0),a1_0x2a4c43[a1_0x674e9e(0x157)]='firefox',a1_0x2a4c43[a1_0x674e9e(0x1c7)]=a1_0x674e9e(0x173);function a1_0x9488(){const _0x1d0690=['BPKNC','result','playwright-firefox','playwright-chromium','QVbox','codecept.conf.js','validateRerunTestList','Passed\x20:\x20','codecept.json','title','rCVZI','testObservability','mergeDeep','getPlatformName','codeceptjs','join','XQcBU','stringify','teardownAll','960cfJigb','52646vmBHnC','mlluS','browser','hvOcp','0|4|3|1|2','enabled','spawn','all','accessibility','cwd','webkit','20XhonXj','length','../../helpers/accessibility-automation/helper','FaMuT','failed','accessKey','getUserWorkerCount','--config','true','event','../../helpers/performance/constants','3538940RZZvWV','format','XVJqu','LqQKM','test','setupBrowserstackLocal','CodeceptJS\x20','frameworkName','createGroupsOfSuites','EVENTS','log','wIAtn','winstonLogger','CODECEPT_CUCUMBER','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2939447VKZrsK','ICBev','findIndex','hubUrl','IlEle','189024omAPxe','config','printBuildLink','browserWSEndpoint','hRoqr','BrowserStackPlugin','8oCuHXl','WebDriver','addTests','process','SrFlx','codeceptjs/lib/index.js','skipSessionStatus','testConfig','AerVS','5412834kbevLt','5aeDVdg','ZHBcU','launchBuild','userName','16827nKZxcX','isTrue','kqYLY','require','sVAXZ','BROWSERSTACK_TEST_OBSERVABILITY_YML','addOptions','Vcafr','JMrnV','EFjMW','function','omOlt','platforms','env','KadLZ','browserName','helpers','profile','isEmpty','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','util','getInstance','trim','passed','SVXVw','chromium','../../helpers/test-observability/utils','wrsJV','isUndefined','USER_CONFIG_DETAILS_PATH','SDK_SETUP','WJIJB','playwright-webkit','warn','assign','Ignoring\x20-c\x20config\x20path\x20\x22','split','Workers','accessibilityOptions','yJoEG','BROWSERSTACK_FRAMEWORK','jgPwS','nBhZj','desiredCapabilities','_ensureInitialized','Playwright','useW3C','version','\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.','initialize','../../helpers/helper','root','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','exports','BROWSERSTACK_RERUN_TESTS','now','../../helpers/testhub/testhubHandler','skipSessionName','959267pWtroq','getPlaywrightUrl','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../utils/clientTroubleshootingService','map','dirname','ehNuB','toLowerCase','codeceptjs/package.json','vAjhW','parallelsPerPlatform','WETll','oDlPx','browserStackCwd','chdir','handleApp','../utils/constants','run','isRunning','push','BROWSERSTACK_RERUN','testContextOptions','splice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','info','ncXyO','../../helpers/BrowserStackSetup','err','forEach','../../helpers/logger','plugins','load','setAdditionalCapabilities','resolveWithinCwd','ToZpJ','CODECEPT','FRAMEWORKS','../v2/browserstackCLI','/wd/hub','end','prepareCapabilities','DoEhj','existsSync','path','../../helpers/performance/performance-tester'];a1_0x9488=function(){return _0x1d0690;};return a1_0x9488();}const pwToCodeceptBrowser=a1_0x2a4c43;async function run(_0x2b14aa,_0x207bc8,_0x225426){const _0x4b95f8=a1_0x674e9e,_0x173d29={'SrFlx':function(_0x31a0b3,_0x398581,_0x22e3a2,_0x360517){return _0x31a0b3(_0x398581,_0x22e3a2,_0x360517);},'ZHBcU':function(_0x517104,_0x578a20){return _0x517104+_0x578a20;},'FWjDc':function(_0x4a2f4b,_0xee955){return _0x4a2f4b(_0xee955);},'DoEhj':function(_0x3c6334,_0x401352,_0x99a8bd){return _0x3c6334(_0x401352,_0x99a8bd);},'FaMuT':_0x4b95f8(0x1b7),'JMrnV':function(_0x3f19d5){return _0x3f19d5();},'mWAvd':_0x4b95f8(0x14e),'yJoEG':function(_0x4bb49e){return _0x4bb49e();},'LqQKM':'Failed\x20:\x20','WJIJB':_0x4b95f8(0x15c),'EBtaT':'Started\x20:\x20','kqYLY':_0x4b95f8(0x16d),'rCVZI':function(_0x59e148,_0x466e38,_0x48ca85){return _0x59e148(_0x466e38,_0x48ca85);},'ncXyO':_0x4b95f8(0x1e3),'EFjMW':_0x4b95f8(0x1d4),'SVXVw':_0x4b95f8(0x19a),'MZUjA':function(_0x4bc5ef,_0x1f7cd7){return _0x4bc5ef(_0x1f7cd7);},'AerVS':function(_0x1b9d3d,_0x5d41a7){return _0x1b9d3d!=_0x5d41a7;},'IlEle':_0x4b95f8(0x17c),'nBhZj':function(_0x40e13b,_0x3669e6,_0x163a6f){return _0x40e13b(_0x3669e6,_0x163a6f);},'KadLZ':'gherkin','XVJqu':function(_0x2fa497,_0x1630b0){return _0x2fa497(_0x1630b0);},'mlluS':function(_0x3698bd,_0x1acd3d){return _0x3698bd*_0x1acd3d;},'hRoqr':function(_0x231280,_0x59041e,_0x265d06){return _0x231280(_0x59041e,_0x265d06);},'qovdS':_0x4b95f8(0x16b),'wIAtn':function(_0x2f8d24,_0xc41dd1,_0xa08195){return _0x2f8d24(_0xc41dd1,_0xa08195);},'ehNuB':_0x4b95f8(0x1d2),'QVbox':_0x4b95f8(0x1da),'jmlLJ':'BrowserStackPlugin.js','vAjhW':_0x4b95f8(0x1ee),'BPKNC':_0x4b95f8(0x163),'KaKzp':function(_0x31e6ca,_0xc9139){return _0x31e6ca===_0xc9139;},'WETll':_0x4b95f8(0x1b1),'jgPwS':function(_0x27d8c3,_0x20ddc0,_0x5733cc){return _0x27d8c3(_0x20ddc0,_0x5733cc);},'wrsJV':_0x4b95f8(0x1e9),'XQcBU':function(_0x397a49,_0x224df3){return _0x397a49>=_0x224df3;},'sVAXZ':function(_0x10b2fc,_0x5c0b1f,_0x1c9740){return _0x10b2fc(_0x5c0b1f,_0x1c9740);}};await _0x225426[_0x4b95f8(0x1d8)](_0x2b14aa);!BrowserstackCLI[_0x4b95f8(0x1bc)]()[_0x4b95f8(0x1f3)]()&&await _0x225426[_0x4b95f8(0x184)]();await helper[_0x4b95f8(0x1f0)](_0x225426[_0x4b95f8(0x194)]);if(!_0x225426[_0x4b95f8(0x194)])return;process[_0x4b95f8(0x1b8)]=_0x2b14aa['profile'];_0x2b14aa['profile']&&(process[_0x4b95f8(0x1b4)][_0x4b95f8(0x1b8)]=_0x2b14aa['profile']);const _0x419115=_0x173d29[_0x4b95f8(0x15f)](getUserCodeceptJSConfigs,_0x2b14aa,_0x207bc8);let _0x4d8af6={};_0x419115?(logger[_0x4b95f8(0x1f9)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x419115),_0x4d8af6=CodeceptJS[_0x4b95f8(0x194)][_0x4b95f8(0x147)](_0x419115)):logger['info'](_0x173d29[_0x4b95f8(0x1fa)]);let _0x2d1048=![];_0x173d29[_0x4b95f8(0x15f)](nestedKeyValue,_0x4d8af6,[_0x173d29['FaMuT'],_0x173d29[_0x4b95f8(0x1b0)]])&&(_0x2d1048=!![]);const _0x68b676=_0x2d1048?_0x173d29[_0x4b95f8(0x1b0)]:_0x173d29[_0x4b95f8(0x1bf)];let _0x2a71cc=!_0x2d1048?helper[_0x4b95f8(0x1d5)](_0x225426[_0x4b95f8(0x194)]):![];!helper[_0x4b95f8(0x1c3)](_0x225426[_0x4b95f8(0x194)][_0x4b95f8(0x1cd)])&&(process['env'][_0x4b95f8(0x18d)]=JSON[_0x4b95f8(0x166)](_0x225426[_0x4b95f8(0x194)][_0x4b95f8(0x1cd)]));let _0x5b559c=_0x225426['config'][_0x4b95f8(0x171)];_0x5b559c=_0x5b559c||_0x173d29['MZUjA'](checkAccessibilityPlatformConfig,_0x225426[_0x4b95f8(0x194)]),process['env'][_0x4b95f8(0x1f8)]=_0x5b559c;_0x5b559c&&(_0x2a71cc=!_0x5b559c);_0x173d29[_0x4b95f8(0x1a1)](_0x225426['config']['testObservability'],null)?process[_0x4b95f8(0x1b4)][_0x4b95f8(0x1ac)]=_0x225426[_0x4b95f8(0x194)]['testObservability']:process['env'][_0x4b95f8(0x1ac)]=_0x173d29[_0x4b95f8(0x192)];const _0x19673f=_0x173d29[_0x4b95f8(0x1d1)](nestedKeyValue,_0x4d8af6,[_0x173d29[_0x4b95f8(0x1b5)]]),_0x19876c=_0x19673f&&!helper[_0x4b95f8(0x1b9)](_0x19673f)?FRAMEWORKS[_0x4b95f8(0x18c)]:FRAMEWORKS[_0x4b95f8(0x14b)],_0x40d57a=await TestHubHandler[_0x4b95f8(0x1a5)](_0x19876c,_0x225426);await testOpsHelper[_0x4b95f8(0x195)]();_0x5b559c&&_0x173d29[_0x4b95f8(0x181)](setAccessibilityCapabilities,_0x225426[_0x4b95f8(0x194)]);const _0x3bf0dd={},_0x3099a8=[],_0x18d69a=_0x225426[_0x4b95f8(0x194)][_0x4b95f8(0x1eb)]||helper[_0x4b95f8(0x17a)](_0x2b14aa,_0x207bc8,_0x225426[_0x4b95f8(0x194)],constants[_0x4b95f8(0x14c)][_0x4b95f8(0x14b)])||0x1;let _0x26aa7e=0x1;if(_0x173d29[_0x4b95f8(0x1ce)](isBrowserstackInfra)){const _0xb18d41=helper['prepareCapabilities'](_0x225426[_0x4b95f8(0x194)],_0x2a71cc,constants['FRAMEWORKS']['CODECEPT']);_0xb18d41[_0x4b95f8(0x1fd)](_0x2c1e26=>{const _0x2e6975=_0x4b95f8;helper[_0x2e6975(0x148)](_0x2c1e26);}),helper['validPlatformsPresent'](_0x225426[_0x4b95f8(0x194)])?_0x26aa7e=_0x173d29[_0x4b95f8(0x16a)](_0x18d69a,_0x225426[_0x4b95f8(0x194)][_0x4b95f8(0x1b3)][_0x4b95f8(0x175)]):_0x26aa7e=_0x18d69a,_0xb18d41['forEach'](_0x57c64b=>{const _0x247ff9=_0x4b95f8,_0x6bbad9={'ToZpJ':function(_0x64c3ed,_0x2dfeb6,_0x5ee5ff,_0x4ba3d2){const _0x32481b=a1_0x47a9;return _0x173d29[_0x32481b(0x19d)](_0x64c3ed,_0x2dfeb6,_0x5ee5ff,_0x4ba3d2);},'hvOcp':function(_0xe3befe,_0xc4f17e){const _0x16c361=a1_0x47a9;return _0x173d29[_0x16c361(0x1a4)](_0xe3befe,_0xc4f17e);},'ICBev':function(_0x45a9cb,_0x4fc042){return _0x173d29['FWjDc'](_0x45a9cb,_0x4fc042);}},_0x392b5f=_0x173d29[_0x247ff9(0x1a4)](helper[_0x247ff9(0x162)](_0x57c64b,'_'),'_'+Date[_0x247ff9(0x1de)]()),_0x39b4fb=((()=>{const _0x1d3a6a=_0x247ff9;if(_0x2d1048){const _0x3ebf43=pwToCodeceptBrowser[_0x57c64b[_0x1d3a6a(0x1b6)]]||_0x57c64b[_0x1d3a6a(0x1b6)],_0x3fb9fd=helper[_0x1d3a6a(0x1e2)](_0x225426[_0x1d3a6a(0x194)]),_0xf0767a=Object['assign']({},_0x57c64b);return _0x6bbad9[_0x1d3a6a(0x14a)](processAccessibilityCaps,_0xf0767a,_0x3fb9fd,null),{'browser':_0x3ebf43,[_0x3ebf43]:{'browserWSEndpoint':_0x6bbad9[_0x1d3a6a(0x16c)](_0x3fb9fd,_0x6bbad9[_0x1d3a6a(0x18f)](encodeURIComponent,JSON[_0x1d3a6a(0x166)](_0xf0767a)))}};}const _0x7fa678={};return _0x7fa678[_0x1d3a6a(0x1d2)]=_0x57c64b,_0x7fa678['user']=_0x225426[_0x1d3a6a(0x194)][_0x1d3a6a(0x1a6)],_0x7fa678['key']=_0x225426['config'][_0x1d3a6a(0x179)],_0x7fa678;})()),_0x100ffd=_0x173d29[_0x247ff9(0x151)](nestedKeyValue,_0x4d8af6,[_0x173d29[_0x247ff9(0x177)],_0x68b676]);_0x3bf0dd[_0x392b5f]=_0x100ffd?helper[_0x247ff9(0x161)](_0x39b4fb,_0x100ffd):_0x39b4fb;if(_0x2d1048)_0x3bf0dd[_0x392b5f]['browser']=pwToCodeceptBrowser[_0x57c64b['browserName']]||_0x57c64b['browserName'];else{_0x3bf0dd[_0x392b5f][_0x247ff9(0x16b)]=_0x57c64b[_0x247ff9(0x1b6)]||_0x39b4fb[_0x247ff9(0x16b)];if(_0x173d29[_0x247ff9(0x1af)](isBrowserstackInfra)){_0x3bf0dd[_0x392b5f]['host']=constants[_0x247ff9(0x191)]['replace'](_0x173d29['mWAvd'],'')['replace'](/https?:\/\//,'');;_0x3bf0dd[_0x392b5f][_0x247ff9(0x153)]=_0x173d29['mWAvd'];}}_0x3099a8[_0x247ff9(0x1f4)](_0x392b5f);});}else{_0x26aa7e=0x1;if(_0x2d1048){const _0x500fb7=_0x173d29[_0x4b95f8(0x197)](nestedKeyValue,_0x4d8af6,[_0x173d29[_0x4b95f8(0x177)],_0x68b676,_0x173d29['qovdS']]),_0x11caf2=_0x173d29[_0x4b95f8(0x1d1)](nestedKeyValue,_0x4d8af6,[_0x173d29[_0x4b95f8(0x177)],_0x68b676,_0x500fb7]);if(_0x11caf2&&_0x11caf2['browserWSEndpoint']){const _0x4596a1={};_0x4596a1[_0x4b95f8(0x1b3)]=[],_0x11caf2[_0x4b95f8(0x196)]=helper[_0x4b95f8(0x150)](Object['assign']({},_0x225426['config'],_0x4596a1),null,_0x19876c[_0x4b95f8(0x1e8)](),null,null,_0x11caf2[_0x4b95f8(0x196)]);}}else{if(_0x173d29[_0x4b95f8(0x18a)](nestedKeyValue,_0x4d8af6,[_0x173d29[_0x4b95f8(0x177)],_0x68b676])){const _0x3689f4={};_0x3689f4[_0x4b95f8(0x1b3)]=[],_0x4d8af6[_0x173d29[_0x4b95f8(0x177)]][_0x68b676][_0x173d29[_0x4b95f8(0x1e7)]]=helper[_0x4b95f8(0x150)](Object[_0x4b95f8(0x1c9)]({},_0x225426[_0x4b95f8(0x194)],_0x3689f4),null,_0x19876c[_0x4b95f8(0x1e8)](),_0x173d29[_0x4b95f8(0x151)](nestedKeyValue,_0x4d8af6,[_0x173d29['FaMuT'],_0x68b676,_0x173d29['ehNuB']])||{},null,null);}}_0x3bf0dd[_0x173d29[_0x4b95f8(0x159)]]=_0x4d8af6,_0x3099a8[_0x4b95f8(0x1f4)](_0x173d29[_0x4b95f8(0x159)]);}const _0x4b04ae={};_0x4b04ae[_0x4b95f8(0x1a0)]=_0x419115;const _0x75a39b=_0x4b04ae,_0x4f4e3=path[_0x4b95f8(0x164)](__dirname,_0x173d29['jmlLJ']),_0x3f937f=process[_0x4b95f8(0x172)]();process[_0x4b95f8(0x1b4)][_0x173d29[_0x4b95f8(0x1ea)]]=_0x3f937f;_0x419115&&process['chdir'](path[_0x4b95f8(0x1e6)](_0x419115));process[_0x4b95f8(0x1b4)]['BROWSERSTACK_FRAMEWORK']=process['env'][_0x4b95f8(0x1cf)]||_0x173d29[_0x4b95f8(0x155)];const _0x226647=new CodeceptJS[(_0x4b95f8(0x1cc))](null,_0x75a39b);if(_0x173d29['KaKzp'](typeof _0x226647['_ensureInitialized'],_0x173d29[_0x4b95f8(0x1ec)]))await _0x226647[_0x4b95f8(0x1d3)]();else{let _0x1c5804;try{_0x1c5804=_0x173d29[_0x4b95f8(0x1d0)](requireModule,_0x173d29[_0x4b95f8(0x1c2)],_0x173d29[_0x4b95f8(0x155)])[_0x4b95f8(0x1d6)];}catch(_0x3117b3){logger['debug'](_0x4b95f8(0x1db)+util[_0x4b95f8(0x180)](_0x3117b3));}_0x1c5804&&_0x173d29[_0x4b95f8(0x165)](_0x173d29[_0x4b95f8(0x1ab)](parseInt,_0x1c5804[_0x4b95f8(0x1cb)]('.')[0x0],0xa),0x4)&&logger[_0x4b95f8(0x1c8)](_0x4b95f8(0x185)+_0x1c5804+_0x4b95f8(0x1d7));}const _0x44d51a=await _0x226647[_0x4b95f8(0x187)](_0x18d69a),_0x3a1ad0=testOpsHelper['isTestObservabilitySession'](),_0x5a0e3f=_0x3099a8['map'](_0x12e219=>{const _0x46ef7a=_0x4b95f8,_0x303e61={};_0x303e61[_0x46ef7a(0x1d4)]=_0x3bf0dd[_0x12e219];const _0x3d6a65={};_0x3d6a65['WebDriver']=_0x3bf0dd[_0x12e219];const _0x155356=_0x2d1048?_0x303e61:_0x3d6a65,_0x4c3181=_0x173d29[_0x46ef7a(0x1af)](getO11yRerunPattern),_0xb06ff3={};_0xb06ff3['helpers']=_0x155356;const _0x32f461={};_0x32f461[_0x46ef7a(0x1aa)]=_0x4f4e3,_0x32f461[_0x46ef7a(0x16e)]=!![],_0x32f461[_0x46ef7a(0x1e0)]=_0x225426['config']['testContextOptions'][_0x46ef7a(0x1e0)],_0x32f461[_0x46ef7a(0x19f)]=_0x225426[_0x46ef7a(0x194)][_0x46ef7a(0x1f6)][_0x46ef7a(0x19f)],_0x32f461[_0x46ef7a(0x160)]=_0x3a1ad0,_0x32f461[_0x46ef7a(0x186)]=_0x19876c;const _0x407f27={};_0x407f27[_0x46ef7a(0x198)]=_0x32f461;const _0x22588b={};return _0x22588b[_0x46ef7a(0x146)]=_0x407f27,helper[_0x46ef7a(0x161)]({},_0x4d8af6,_0x173d29[_0x46ef7a(0x1ce)](isBrowserstackInfra)?_0xb06ff3:{},_0x4c3181?{'grep':_0x4c3181}:{},_0x22588b);});for(const _0x17f7b7 of _0x5a0e3f){for(const _0x3465be of _0x44d51a){const _0x3aff42=_0x226647[_0x4b95f8(0x16f)]();_0x3aff42[_0x4b95f8(0x19b)](_0x3465be),_0x3aff42['addConfig'](_0x17f7b7);const _0x1c9c06={};_0x1c9c06['config']=_0x419115,_0x3aff42[_0x4b95f8(0x1ad)](Object['assign'](_0x1c9c06,_0x2b14aa));}}_0x226647['on'](CodeceptJS['event'][_0x4b95f8(0x183)][_0x4b95f8(0x178)],(_0x36e262,_0x147185)=>{const _0xa72444=_0x4b95f8;console['log'](_0x173d29[_0xa72444(0x182)],_0x36e262[_0xa72444(0x15e)]);const _0x4d8952={[_0x36e262['title']]:_0x36e262[_0xa72444(0x1fc)]['stack']};_testErrorData[_0xa72444(0x1f4)](_0x4d8952);}),_0x226647['on'](CodeceptJS[_0x4b95f8(0x17d)][_0x4b95f8(0x183)][_0x4b95f8(0x1be)],async _0x1de273=>{const _0x10d43e=_0x4b95f8;console[_0x10d43e(0x189)](_0x173d29[_0x10d43e(0x1c6)],_0x1de273[_0x10d43e(0x15e)]);}),_0x226647['on'](CodeceptJS[_0x4b95f8(0x17d)][_0x4b95f8(0x183)]['before'],async _0x16908a=>{const _0x3f9148=_0x4b95f8;console[_0x3f9148(0x189)](_0x173d29['EBtaT'],_0x16908a[_0x3f9148(0x15e)]);}),_0x226647['on'](CodeceptJS[_0x4b95f8(0x17d)][_0x4b95f8(0x170)][_0x4b95f8(0x156)],async()=>{const _0x1c6aba=_0x4b95f8,_0x41c366=_0x173d29[_0x1c6aba(0x1a9)][_0x1c6aba(0x1cb)]('|');let _0x544ad5=0x0;while(!![]){switch(_0x41c366[_0x544ad5++]){case'0':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'1':try{await TestHubHandler['stop']();}catch(_0xc4ecf9){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1c6aba(0x180)](_0xc4ecf9));}continue;case'2':_0x226647['printResults']();continue;case'3':utilities['finalExecution'](_0x225426);continue;case'4':_0x225426['errorMessage']=_testErrorData;continue;}break;}});async function _0x51d1fb(){const _0x359465=_0x4b95f8;try{await _0x226647['bootstrapAll'](),await _0x226647[_0x359465(0x1f2)]();}finally{process[_0x359465(0x1ef)](_0x3f937f),await _0x226647[_0x359465(0x167)]();}}PerformanceTester[_0x4b95f8(0x14f)](PerformanceEvents[_0x4b95f8(0x1c5)]),await _0x173d29[_0x4b95f8(0x1ce)](_0x51d1fb);}function a1_0x47a9(_0x48973c,_0x2e3780){const _0x9488cf=a1_0x9488();return a1_0x47a9=function(_0x47a9be,_0x5a158b){_0x47a9be=_0x47a9be-0x146;let _0xbe9b22=_0x9488cf[_0x47a9be];return _0xbe9b22;},a1_0x47a9(_0x48973c,_0x2e3780);}module[a1_0x674e9e(0x1dc)]=run;
|
|
2
|
+
'use strict';const a1_0x595110=a1_0x37ff;function a1_0x1f43(){const _0x366c8d=['../../helpers/accessibility-automation/helper','isEmpty','length','require','cwd','plugins','chromium','setAdditionalCapabilities','playwright-firefox','2499516ImOyhY','mergeDeep','toLowerCase','env','teardownAll','push','existsSync','getInstance','../../helpers/helper','4997755LWfqpo','WebDriver','userName','forEach','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','title','rJMrB','join','2|3|0|1|4','helpers','launchBuild','user','accessKey','8005360iypFQl','version','../v2/browserstackCLI','browser','nCkWH','test','findIndex','zBCvU','yNNQz','passed','755654RUEDkX','spawn','EVENTS','3fQHrRs','debug','../utils/clientTroubleshootingService','../../helpers/test-observability/utils','_ensureInitialized','testConfig','profile','finalExecution','stack','testObservability','qSyLk','exports','enabled','codeceptjs','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','Passed\x20:\x20','map','utPOw','isUndefined','warn','codeceptjs/lib/index.js','4789326OLTsxY','Funzd','codecept.json','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','stringify','codecept.conf.js','function','ysYww','\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.','XvDjg','testContextOptions','initialize','Kulrj','pPKrk','addConfig','dKJUi','Started\x20:\x20','djVRA','BROWSERSTACK_RERUN_TESTS','YoGEG','../../bin/playwright/accessibility-helper','HrYBc','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','replace','end','../../helpers/performance/performance-tester','hubUrl','err','firefox','FRAMEWORKS','NWrmy','trim','pvpJb','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','wkjes','Playwright','browserName','kghmS','splice','--config','parallelsPerPlatform','config','../../helpers/testhub/testhubHandler','frameworkName','log','prepareCapabilities','FuheH','BrowserStackPlugin','sAXUN','printResults','iAJFy','process','Workers','YLCqW','handleApp','assign','browserWSEndpoint','/wd/hub','viIEW','HPDlQ','resolveWithinCwd','event','../../helpers/logger','chrome','desiredCapabilities','BROWSERSTACK_FRAMEWORK','browserStackCwd','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','split','WwsDK','OJHUz','util','format','Failed\x20:\x20','path','failed','load','FGWnk','xBnnh','CODECEPT','FBjHX','1254096viQUkn','skipSessionName','all','platforms','start','POVAi','accessibilityOptions','run','skipSessionStatus','addOptions','BROWSERSTACK_RERUN','info','getUserWorkerCount','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','GdsGF','../../helpers/test-observability/constants','true','isRunning','printBuildLink','gherkin','key','wsxxH','codeceptjs/package.json','LMext','host','kWLgJ','jfUEO','Ignoring\x20-c\x20config\x20path\x20\x22','2417324tPCDZO','ottZw','VcDzM'];a1_0x1f43=function(){return _0x366c8d;};return a1_0x1f43();}(function(_0x1b796d,_0x1fdacd){const _0x139e92=a1_0x37ff,_0x2baed4=_0x1b796d();while(!![]){try{const _0x3f46b4=-parseInt(_0x139e92(0x230))/0x1+parseInt(_0x139e92(0x20f))/0x2*(parseInt(_0x139e92(0x233))/0x3)+-parseInt(_0x139e92(0x1e7))/0x4+-parseInt(_0x139e92(0x218))/0x5+parseInt(_0x139e92(0x248))/0x6+-parseInt(_0x139e92(0x203))/0x7+parseInt(_0x139e92(0x226))/0x8;if(_0x3f46b4===_0x1fdacd)break;else _0x2baed4['push'](_0x2baed4['shift']());}catch(_0x3a3247){_0x2baed4['push'](_0x2baed4['shift']());}}}(a1_0x1f43,0x9aedc));function a1_0x37ff(_0x30c5be,_0xafbd4b){const _0x1f43f6=a1_0x1f43();return a1_0x37ff=function(_0x37ff84,_0x3ed887){_0x37ff84=_0x37ff84-0x1d8;let _0x527c29=_0x1f43f6[_0x37ff84];return _0x527c29;},a1_0x37ff(_0x30c5be,_0xafbd4b);}const fs=require('fs'),path=require(a1_0x595110(0x1e0)),util=require(a1_0x595110(0x1dd)),process=require(a1_0x595110(0x27c)),logger=require(a1_0x595110(0x287))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a1_0x595110(0x217)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x595110(0x206)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x595110(0x25d)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x595110(0x217)),CodeceptJS=requireModule(a1_0x595110(0x247),a1_0x595110(0x240)),testOpsHelper=require(a1_0x595110(0x236)),TestHubHandler=require(a1_0x595110(0x273)),BrowserstackCLI=require(a1_0x595110(0x228)),constants=require('../utils/constants'),PerformanceTester=require(a1_0x595110(0x262)),{FRAMEWORKS}=require(a1_0x595110(0x1f6)),PerformanceEvents=require(a1_0x595110(0x24b))[a1_0x595110(0x232)],ClientTroubleShootingService=require(a1_0x595110(0x235)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5291a1,_0x47f717)=>{const _0x119664=a1_0x595110,_0x5a8303={};_0x5a8303[_0x119664(0x258)]=function(_0x43557b,_0x16dd4f){return _0x43557b===_0x16dd4f;},_0x5a8303[_0x119664(0x1e4)]=_0x119664(0x24e),_0x5a8303[_0x119664(0x1dc)]=_0x119664(0x24a);const _0x504286=_0x5a8303;let _0x30c75d=null;const _0x31cb0d={};let _0x5e2185=_0x47f717[_0x119664(0x22c)](_0x3b0200=>_0x3b0200===_0x119664(0x270));_0x504286[_0x119664(0x258)](_0x5e2185,-0x1)&&(_0x5e2185=_0x47f717[_0x119664(0x22c)](_0x41f185=>_0x41f185==='-c'));const _0x1a5d52=!helper[_0x119664(0x245)](_0x5291a1[_0x119664(0x272)])?helper[_0x119664(0x285)](_0x5291a1['config']):null,_0x567b00=!helper[_0x119664(0x245)](_0x5291a1['c'])?helper[_0x119664(0x285)](_0x5291a1['c']):null;if(!helper[_0x119664(0x245)](_0x5291a1[_0x119664(0x272)])&&!_0x1a5d52)logger[_0x119664(0x246)]('Ignoring\x20--config\x20path\x20\x22'+_0x5291a1[_0x119664(0x272)]+_0x119664(0x241));else!helper[_0x119664(0x245)](_0x5291a1['c'])&&!_0x567b00&&logger[_0x119664(0x246)](_0x119664(0x202)+_0x5291a1['c']+_0x119664(0x241));if(_0x1a5d52&&fs[_0x119664(0x215)](_0x1a5d52))_0x30c75d=_0x1a5d52,_0x47f717[_0x119664(0x26f)](_0x5e2185,0x2);else{if(_0x567b00&&fs[_0x119664(0x215)](_0x567b00))_0x30c75d=_0x567b00,_0x47f717[_0x119664(0x26f)](_0x5e2185,0x2);else{if(fs[_0x119664(0x215)](path[_0x119664(0x220)](process['cwd'](),_0x504286[_0x119664(0x1e4)])))_0x30c75d=path['join'](process[_0x119664(0x20a)](),_0x504286[_0x119664(0x1e4)]);else fs['existsSync'](path[_0x119664(0x220)](process[_0x119664(0x20a)](),_0x504286[_0x119664(0x1dc)]))&&(_0x30c75d=path[_0x119664(0x220)](process[_0x119664(0x20a)](),_0x504286[_0x119664(0x1dc)]));}}return process[_0x119664(0x212)][_0x119664(0x24c)]=_0x30c75d,_0x30c75d;},getO11yRerunPattern=()=>{const _0x3c9862=a1_0x595110,_0x2430bd=helper['isTrue'](process[_0x3c9862(0x212)][_0x3c9862(0x1f1)]);if(_0x2430bd){const _0x9cef9e=process[_0x3c9862(0x212)][_0x3c9862(0x25b)],_0x28f627=[];if(helper['validateRerunTestList'](_0x9cef9e)&&!helper[_0x3c9862(0x245)](_0x9cef9e)){_0x9cef9e['split'](',')[_0x3c9862(0x243)](_0x1a010f=>{const _0x384aec=_0x3c9862;_0x28f627['push']('('+_0x1a010f[_0x384aec(0x268)]()+')');});const _0x354192='^'+_0x28f627[_0x3c9862(0x220)]('|')+'$';return _0x354192;}}return null;},a1_0x200b14={};a1_0x200b14[a1_0x595110(0x288)]=a1_0x595110(0x20c),a1_0x200b14['playwright-chromium']=a1_0x595110(0x20c),a1_0x200b14[a1_0x595110(0x20e)]=a1_0x595110(0x265),a1_0x200b14['playwright-webkit']='webkit';const pwToCodeceptBrowser=a1_0x200b14;async function run(_0x7db3a,_0x13ce1b,_0x243d2d){const _0x55ac16=a1_0x595110,_0xaa8fa0={'iAJFy':function(_0x425786,_0x4a03f6,_0x4584a1,_0x2d3a91){return _0x425786(_0x4a03f6,_0x4584a1,_0x2d3a91);},'sAXUN':function(_0x2b5a04,_0x547a56){return _0x2b5a04+_0x547a56;},'QRiOf':function(_0x243145,_0x57c598){return _0x243145(_0x57c598);},'GdsGF':function(_0xfd1768,_0x302212){return _0xfd1768+_0x302212;},'jfUEO':function(_0x4c9844,_0x4b318d,_0x87334b){return _0x4c9844(_0x4b318d,_0x87334b);},'HPDlQ':_0x55ac16(0x222),'POVAi':function(_0x377c0f){return _0x377c0f();},'ysYww':_0x55ac16(0x282),'FuheH':function(_0x174096){return _0x174096();},'WwsDK':_0x55ac16(0x1df),'nCkWH':_0x55ac16(0x242),'rJMrB':_0x55ac16(0x259),'FBjHX':_0x55ac16(0x221),'NeiUf':_0x55ac16(0x1f4),'ottZw':function(_0x108630,_0x56518c,_0x51abc6){return _0x108630(_0x56518c,_0x51abc6);},'YLCqW':_0x55ac16(0x26c),'viIEW':_0x55ac16(0x219),'djVRA':function(_0x5771be,_0x2f3f98){return _0x5771be(_0x2f3f98);},'XvDjg':function(_0x14cefa,_0x4cc757){return _0x14cefa!=_0x4cc757;},'ZYXwR':_0x55ac16(0x1f7),'yNNQz':function(_0x1514d2,_0x3c8e1f,_0x2f8976){return _0x1514d2(_0x3c8e1f,_0x2f8976);},'pPKrk':_0x55ac16(0x1fa),'zBCvU':function(_0x35af1c,_0x149099){return _0x35af1c(_0x149099);},'FGWnk':function(_0x4ef340,_0x441602){return _0x4ef340*_0x441602;},'fOHuf':_0x55ac16(0x229),'HrYBc':function(_0x1d45df,_0x4102cc,_0x1a0a23){return _0x1d45df(_0x4102cc,_0x1a0a23);},'YoGEG':_0x55ac16(0x289),'zthzL':function(_0xfe0a2f,_0x5dbb60,_0x17d907){return _0xfe0a2f(_0x5dbb60,_0x17d907);},'VcDzM':'root','NSeZK':'BrowserStackPlugin.js','wkjes':_0x55ac16(0x1d8),'Funzd':_0x55ac16(0x240),'utPOw':function(_0x2934c1,_0x294641){return _0x2934c1===_0x294641;},'LMext':_0x55ac16(0x24f),'qSyLk':_0x55ac16(0x1fd),'kWLgJ':function(_0x4069d5,_0x5d34e3){return _0x4069d5>=_0x5d34e3;},'pvpJb':function(_0x5cb2f5,_0x45382c,_0x11452f){return _0x5cb2f5(_0x45382c,_0x11452f);},'wsxxH':function(_0x9609a2){return _0x9609a2();}};await _0x243d2d[_0x55ac16(0x254)](_0x7db3a);!BrowserstackCLI[_0x55ac16(0x216)]()[_0x55ac16(0x1f8)]()&&await _0x243d2d['setupBrowserstackLocal']();await helper[_0x55ac16(0x27f)](_0x243d2d[_0x55ac16(0x272)]);if(!_0x243d2d[_0x55ac16(0x272)])return;process[_0x55ac16(0x239)]=_0x7db3a[_0x55ac16(0x239)];_0x7db3a['profile']&&(process[_0x55ac16(0x212)][_0x55ac16(0x239)]=_0x7db3a[_0x55ac16(0x239)]);const _0x46418b=_0xaa8fa0[_0x55ac16(0x201)](getUserCodeceptJSConfigs,_0x7db3a,_0x13ce1b);let _0x5adfa4={};_0x46418b?(logger[_0x55ac16(0x1f2)](_0x55ac16(0x1d9)+_0x46418b),_0x5adfa4=CodeceptJS[_0x55ac16(0x272)][_0x55ac16(0x1e2)](_0x46418b)):logger['info'](_0xaa8fa0['NeiUf']);let _0xcaeb47=![];_0xaa8fa0[_0x55ac16(0x204)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0[_0x55ac16(0x284)],_0xaa8fa0[_0x55ac16(0x27e)]])&&(_0xcaeb47=!![]);const _0x30c7c8=_0xcaeb47?_0xaa8fa0[_0x55ac16(0x27e)]:_0xaa8fa0[_0x55ac16(0x283)];let _0x421525=!_0xcaeb47?helper['useW3C'](_0x243d2d[_0x55ac16(0x272)]):![];!helper[_0x55ac16(0x245)](_0x243d2d[_0x55ac16(0x272)][_0x55ac16(0x1ed)])&&(process[_0x55ac16(0x212)][_0x55ac16(0x25f)]=JSON[_0x55ac16(0x24d)](_0x243d2d[_0x55ac16(0x272)][_0x55ac16(0x1ed)]));let _0x56581a=_0x243d2d[_0x55ac16(0x272)]['accessibility'];_0x56581a=_0x56581a||_0xaa8fa0[_0x55ac16(0x25a)](checkAccessibilityPlatformConfig,_0x243d2d[_0x55ac16(0x272)]),process[_0x55ac16(0x212)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x56581a;_0x56581a&&(_0x421525=!_0x56581a);_0xaa8fa0[_0x55ac16(0x252)](_0x243d2d['config'][_0x55ac16(0x23c)],null)?process[_0x55ac16(0x212)][_0x55ac16(0x21d)]=_0x243d2d['config'][_0x55ac16(0x23c)]:process[_0x55ac16(0x212)][_0x55ac16(0x21d)]=_0xaa8fa0['ZYXwR'];const _0x4318cc=_0xaa8fa0[_0x55ac16(0x22e)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0[_0x55ac16(0x256)]]),_0x437144=_0x4318cc&&!helper[_0x55ac16(0x207)](_0x4318cc)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x132121=await TestHubHandler[_0x55ac16(0x223)](_0x437144,_0x243d2d);await testOpsHelper[_0x55ac16(0x1f9)]();_0x56581a&&_0xaa8fa0[_0x55ac16(0x22d)](setAccessibilityCapabilities,_0x243d2d[_0x55ac16(0x272)]);const _0x24cb41={},_0x2e11b3=[],_0x10b07e=_0x243d2d[_0x55ac16(0x272)][_0x55ac16(0x271)]||helper[_0x55ac16(0x1f3)](_0x7db3a,_0x13ce1b,_0x243d2d[_0x55ac16(0x272)],constants[_0x55ac16(0x266)][_0x55ac16(0x1e5)])||0x1;let _0xb42107=0x1;if(_0xaa8fa0[_0x55ac16(0x277)](isBrowserstackInfra)){const _0x3d1df0=helper[_0x55ac16(0x276)](_0x243d2d['config'],_0x421525,constants['FRAMEWORKS'][_0x55ac16(0x1e5)]);_0x3d1df0[_0x55ac16(0x21b)](_0xf40f9f=>{const _0x100683=_0x55ac16;helper[_0x100683(0x20d)](_0xf40f9f);}),helper['validPlatformsPresent'](_0x243d2d['config'])?_0xb42107=_0xaa8fa0[_0x55ac16(0x1e3)](_0x10b07e,_0x243d2d[_0x55ac16(0x272)][_0x55ac16(0x1ea)][_0x55ac16(0x208)]):_0xb42107=_0x10b07e,_0x3d1df0[_0x55ac16(0x21b)](_0x2ee409=>{const _0xd8a979=_0x55ac16,_0x3c59a5={'kghmS':function(_0x59648e,_0x3fb0dd,_0x13e6d2,_0x1b461b){const _0x52c1fc=a1_0x37ff;return _0xaa8fa0[_0x52c1fc(0x27b)](_0x59648e,_0x3fb0dd,_0x13e6d2,_0x1b461b);},'NWrmy':function(_0xf3e00e,_0x4696ea){const _0x19ad6d=a1_0x37ff;return _0xaa8fa0[_0x19ad6d(0x279)](_0xf3e00e,_0x4696ea);},'Kulrj':function(_0x2b0b15,_0x4319ea){return _0xaa8fa0['QRiOf'](_0x2b0b15,_0x4319ea);}},_0x3a734f=_0xaa8fa0[_0xd8a979(0x1f5)](helper['getPlatformName'](_0x2ee409,'_'),'_'+Date['now']()),_0x256596=((()=>{const _0xaac73f=_0xd8a979;if(_0xcaeb47){const _0x435914=pwToCodeceptBrowser[_0x2ee409['browserName']]||_0x2ee409[_0xaac73f(0x26d)],_0x202042=helper['getPlaywrightUrl'](_0x243d2d['config']),_0xa319a3=Object[_0xaac73f(0x280)]({},_0x2ee409);return _0x3c59a5[_0xaac73f(0x26e)](processAccessibilityCaps,_0xa319a3,_0x202042,null),{'browser':_0x435914,[_0x435914]:{'browserWSEndpoint':_0x3c59a5[_0xaac73f(0x267)](_0x202042,_0x3c59a5[_0xaac73f(0x255)](encodeURIComponent,JSON[_0xaac73f(0x24d)](_0xa319a3)))}};}const _0x163d3b={};return _0x163d3b[_0xaac73f(0x289)]=_0x2ee409,_0x163d3b[_0xaac73f(0x224)]=_0x243d2d['config'][_0xaac73f(0x21a)],_0x163d3b[_0xaac73f(0x1fb)]=_0x243d2d[_0xaac73f(0x272)][_0xaac73f(0x225)],_0x163d3b;})()),_0xa24031=_0xaa8fa0[_0xd8a979(0x201)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0['HPDlQ'],_0x30c7c8]);_0x24cb41[_0x3a734f]=_0xa24031?helper['mergeDeep'](_0x256596,_0xa24031):_0x256596;if(_0xcaeb47)_0x24cb41[_0x3a734f][_0xd8a979(0x229)]=pwToCodeceptBrowser[_0x2ee409[_0xd8a979(0x26d)]]||_0x2ee409[_0xd8a979(0x26d)];else{_0x24cb41[_0x3a734f][_0xd8a979(0x229)]=_0x2ee409['browserName']||_0x256596[_0xd8a979(0x229)];if(_0xaa8fa0[_0xd8a979(0x1ec)](isBrowserstackInfra)){_0x24cb41[_0x3a734f][_0xd8a979(0x1ff)]=constants[_0xd8a979(0x263)][_0xd8a979(0x260)](_0xaa8fa0[_0xd8a979(0x250)],'')[_0xd8a979(0x260)](/https?:\/\//,'');;_0x24cb41[_0x3a734f][_0xd8a979(0x1e0)]=_0xaa8fa0[_0xd8a979(0x250)];}}_0x2e11b3[_0xd8a979(0x214)](_0x3a734f);});}else{_0xb42107=0x1;if(_0xcaeb47){const _0x4d8ad2=_0xaa8fa0[_0x55ac16(0x201)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0[_0x55ac16(0x284)],_0x30c7c8,_0xaa8fa0['fOHuf']]),_0x5b6fe5=_0xaa8fa0[_0x55ac16(0x25e)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0['HPDlQ'],_0x30c7c8,_0x4d8ad2]);if(_0x5b6fe5&&_0x5b6fe5[_0x55ac16(0x281)]){const _0x460ba1={};_0x460ba1[_0x55ac16(0x1ea)]=[],_0x5b6fe5[_0x55ac16(0x281)]=helper[_0x55ac16(0x276)](Object[_0x55ac16(0x280)]({},_0x243d2d[_0x55ac16(0x272)],_0x460ba1),null,_0x437144[_0x55ac16(0x211)](),null,null,_0x5b6fe5[_0x55ac16(0x281)]);}}else{if(_0xaa8fa0[_0x55ac16(0x201)](nestedKeyValue,_0x5adfa4,[_0xaa8fa0[_0x55ac16(0x284)],_0x30c7c8])){const _0x4408ed={};_0x4408ed[_0x55ac16(0x1ea)]=[],_0x5adfa4[_0xaa8fa0['HPDlQ']][_0x30c7c8][_0xaa8fa0[_0x55ac16(0x25c)]]=helper['prepareCapabilities'](Object[_0x55ac16(0x280)]({},_0x243d2d['config'],_0x4408ed),null,_0x437144[_0x55ac16(0x211)](),_0xaa8fa0['zthzL'](nestedKeyValue,_0x5adfa4,[_0xaa8fa0['HPDlQ'],_0x30c7c8,_0xaa8fa0[_0x55ac16(0x25c)]])||{},null,null);}}_0x24cb41[_0xaa8fa0['VcDzM']]=_0x5adfa4,_0x2e11b3[_0x55ac16(0x214)](_0xaa8fa0[_0x55ac16(0x205)]);}const _0x36ddcf={};_0x36ddcf[_0x55ac16(0x238)]=_0x46418b;const _0x5caf1a=_0x36ddcf,_0x1fb5cb=path[_0x55ac16(0x220)](__dirname,_0xaa8fa0['NSeZK']),_0x5a7ae9=process[_0x55ac16(0x20a)]();process[_0x55ac16(0x212)][_0xaa8fa0[_0x55ac16(0x26b)]]=_0x5a7ae9;_0x46418b&&process['chdir'](path['dirname'](_0x46418b));process[_0x55ac16(0x212)]['BROWSERSTACK_FRAMEWORK']=process[_0x55ac16(0x212)][_0x55ac16(0x28a)]||_0xaa8fa0[_0x55ac16(0x249)];const _0x3f4341=new CodeceptJS[(_0x55ac16(0x27d))](null,_0x5caf1a);if(_0xaa8fa0[_0x55ac16(0x244)](typeof _0x3f4341[_0x55ac16(0x237)],_0xaa8fa0[_0x55ac16(0x1fe)]))await _0x3f4341[_0x55ac16(0x237)]();else{let _0x3bba42;try{_0x3bba42=_0xaa8fa0['zthzL'](requireModule,_0xaa8fa0[_0x55ac16(0x23d)],_0xaa8fa0[_0x55ac16(0x249)])[_0x55ac16(0x227)];}catch(_0xc51d1f){logger[_0x55ac16(0x234)](_0x55ac16(0x26a)+util[_0x55ac16(0x1de)](_0xc51d1f));}_0x3bba42&&_0xaa8fa0[_0x55ac16(0x200)](_0xaa8fa0[_0x55ac16(0x269)](parseInt,_0x3bba42[_0x55ac16(0x1da)]('.')[0x0],0xa),0x4)&&logger['warn']('CodeceptJS\x20'+_0x3bba42+_0x55ac16(0x251));}const _0x11f79b=await _0x3f4341['createGroupsOfSuites'](_0x10b07e),_0x2cb952=testOpsHelper['isTestObservabilitySession'](),_0x14fdbe=_0x2e11b3[_0x55ac16(0x243)](_0x57e788=>{const _0x4a463e=_0x55ac16,_0x2a1c65={};_0x2a1c65['Playwright']=_0x24cb41[_0x57e788];const _0x3abb50={};_0x3abb50[_0x4a463e(0x219)]=_0x24cb41[_0x57e788];const _0x245605=_0xcaeb47?_0x2a1c65:_0x3abb50,_0x4fc58b=_0xaa8fa0[_0x4a463e(0x277)](getO11yRerunPattern),_0x380480={};_0x380480[_0x4a463e(0x222)]=_0x245605;const _0x27c050={};_0x27c050[_0x4a463e(0x209)]=_0x1fb5cb,_0x27c050[_0x4a463e(0x23f)]=!![],_0x27c050[_0x4a463e(0x1e8)]=_0x243d2d[_0x4a463e(0x272)][_0x4a463e(0x253)]['skipSessionName'],_0x27c050[_0x4a463e(0x1ef)]=_0x243d2d['config'][_0x4a463e(0x253)][_0x4a463e(0x1ef)],_0x27c050[_0x4a463e(0x23c)]=_0x2cb952,_0x27c050[_0x4a463e(0x274)]=_0x437144;const _0xed5029={};_0xed5029[_0x4a463e(0x278)]=_0x27c050;const _0x332bdf={};return _0x332bdf[_0x4a463e(0x20b)]=_0xed5029,helper[_0x4a463e(0x210)]({},_0x5adfa4,_0xaa8fa0[_0x4a463e(0x277)](isBrowserstackInfra)?_0x380480:{},_0x4fc58b?{'grep':_0x4fc58b}:{},_0x332bdf);});for(const _0x24e855 of _0x14fdbe){for(const _0x346ab8 of _0x11f79b){const _0x1f3b60=_0x3f4341[_0x55ac16(0x231)]();_0x1f3b60['addTests'](_0x346ab8),_0x1f3b60[_0x55ac16(0x257)](_0x24e855);const _0x5ecb1f={};_0x5ecb1f[_0x55ac16(0x272)]=_0x46418b,_0x1f3b60[_0x55ac16(0x1f0)](Object[_0x55ac16(0x280)](_0x5ecb1f,_0x7db3a));}}_0x3f4341['on'](CodeceptJS[_0x55ac16(0x286)][_0x55ac16(0x22b)][_0x55ac16(0x1e1)],(_0x4ccebf,_0x5e321d)=>{const _0x461e6f=_0x55ac16;console[_0x461e6f(0x275)](_0xaa8fa0[_0x461e6f(0x1db)],_0x4ccebf['title']);const _0x2a8d92={[_0x4ccebf[_0x461e6f(0x21e)]]:_0x4ccebf[_0x461e6f(0x264)][_0x461e6f(0x23b)]};_testErrorData[_0x461e6f(0x214)](_0x2a8d92);}),_0x3f4341['on'](CodeceptJS[_0x55ac16(0x286)][_0x55ac16(0x22b)][_0x55ac16(0x22f)],async _0xc9fddb=>{const _0x18fa86=_0x55ac16;console['log'](_0xaa8fa0[_0x18fa86(0x22a)],_0xc9fddb[_0x18fa86(0x21e)]);}),_0x3f4341['on'](CodeceptJS[_0x55ac16(0x286)][_0x55ac16(0x22b)]['before'],async _0x7f973=>{const _0x11bb89=_0x55ac16;console[_0x11bb89(0x275)](_0xaa8fa0[_0x11bb89(0x21f)],_0x7f973[_0x11bb89(0x21e)]);}),_0x3f4341['on'](CodeceptJS['event'][_0x55ac16(0x1e9)]['result'],async()=>{const _0x9b8d00=_0x55ac16,_0xdea9e5=_0xaa8fa0[_0x9b8d00(0x1e6)]['split']('|');let _0x11ffaf=0x0;while(!![]){switch(_0xdea9e5[_0x11ffaf++]){case'0':utilities[_0x9b8d00(0x23a)](_0x243d2d);continue;case'1':try{await TestHubHandler['stop']();}catch(_0x36962d){logger[_0x9b8d00(0x234)](_0x9b8d00(0x21c)+util[_0x9b8d00(0x1de)](_0x36962d));}continue;case'2':PerformanceTester[_0x9b8d00(0x1eb)](PerformanceEvents['SDK_CLEANUP']);continue;case'3':_0x243d2d['errorMessage']=_testErrorData;continue;case'4':_0x3f4341[_0x9b8d00(0x27a)]();continue;}break;}});async function _0x172e04(){const _0x150244=_0x55ac16;try{await _0x3f4341['bootstrapAll'](),await _0x3f4341[_0x150244(0x1ee)]();}finally{process['chdir'](_0x5a7ae9),await _0x3f4341[_0x150244(0x213)]();}}PerformanceTester[_0x55ac16(0x261)](PerformanceEvents['SDK_SETUP']),await _0xaa8fa0[_0x55ac16(0x1fc)](_0x172e04);}module[a1_0x595110(0x23e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a2_0xf40e38=a2_0x589c;(function(_0x4a77de,_0x3b596d){const _0x2099ce=a2_0x589c,_0x20cf89=_0x4a77de();while(!![]){try{const _0x25dd41=parseInt(_0x2099ce(0x1c4))/0x1*(parseInt(_0x2099ce(0x183))/0x2)+-parseInt(_0x2099ce(0x1c3))/0x3+-parseInt(_0x2099ce(0x1d1))/0x4+parseInt(_0x2099ce(0x191))/0x5+-parseInt(_0x2099ce(0x1d2))/0x6+-parseInt(_0x2099ce(0x19e))/0x7*(parseInt(_0x2099ce(0x19f))/0x8)+parseInt(_0x2099ce(0x1c8))/0x9*(parseInt(_0x2099ce(0x1b4))/0xa);if(_0x25dd41===_0x3b596d)break;else _0x20cf89['push'](_0x20cf89['shift']());}catch(_0x17f4a8){_0x20cf89['push'](_0x20cf89['shift']());}}}(a2_0x45e0,0x90c17));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a2_0xf40e38(0x1be))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a2_0xf40e38(0x18f)),accessibilityHelper=require(a2_0xf40e38(0x1b3)),{isBrowserstackInfra}=require('../../helpers/helper'),globals=require(a2_0xf40e38(0x1cc)),getOSVersionFromCaps=_0x2e4b6a=>{const _0x4d1900=a2_0xf40e38,_0xc57cb0={};_0xc57cb0[_0x4d1900(0x199)]=_0x4d1900(0x188),_0xc57cb0[_0x4d1900(0x1a1)]=_0x4d1900(0x195),_0xc57cb0['ndQHo']=_0x4d1900(0x1ba),_0xc57cb0[_0x4d1900(0x1d0)]=_0x4d1900(0x184),_0xc57cb0['jTmCU']=_0x4d1900(0x1b9);const _0x3aeb8c=_0xc57cb0;if(!_0x2e4b6a)return null;const _0x522b06=_0x2e4b6a[_0x3aeb8c['GlDqt']],_0xa61a90=[_0x3aeb8c[_0x4d1900(0x1a1)],_0x3aeb8c[_0x4d1900(0x19a)],_0x3aeb8c[_0x4d1900(0x1d0)],_0x3aeb8c[_0x4d1900(0x196)]];for(const _0x7ef1d2 of _0xa61a90){if(_0x522b06&&_0x522b06[_0x7ef1d2])return _0x522b06[_0x7ef1d2];else{if(_0x2e4b6a[_0x7ef1d2])return _0x2e4b6a[_0x7ef1d2];}}return null;};function a2_0x589c(_0x13bb55,_0x21feb7){const _0x45e071=a2_0x45e0();return a2_0x589c=function(_0x589ced,_0x4640d9){_0x589ced=_0x589ced-0x182;let _0x4d8033=_0x45e071[_0x589ced];return _0x4d8033;},a2_0x589c(_0x13bb55,_0x21feb7);}exports['fetchPlatformDetails']=_0x240acd=>{const _0x56b384=a2_0xf40e38,_0x213393={'RUPPf':_0x56b384(0x1bf),'JSLIV':function(_0x53ef89,_0x3c5bf4){return _0x53ef89===_0x3c5bf4;},'oitTH':_0x56b384(0x194),'LMJtx':function(_0x3f8a24,_0x58432c){return _0x3f8a24(_0x58432c);},'aTjuV':function(_0x5035e5,_0x5a3a97,_0x11dad1){return _0x5035e5(_0x5a3a97,_0x11dad1);},'gJSQv':_0x56b384(0x187),'sOOoz':_0x56b384(0x1ac),'okFfr':function(_0x1bba32,_0x220e9d){return _0x1bba32(_0x220e9d);},'ImuDs':function(_0x39eaad,_0x4143e8){return _0x39eaad===_0x4143e8;},'Axxca':'Playwright','AfQNL':'browser','cMJbV':_0x56b384(0x19b),'ACvMY':_0x56b384(0x1b2),'OSoFf':function(_0x6808a1,_0x5ade03){return _0x6808a1(_0x5ade03);}};if(!_0x240acd)return null;let _0x308b87=global[_0x56b384(0x1c0)]||_0x213393['RUPPf'];if(_0x213393[_0x56b384(0x1c5)](_0x240acd[_0x56b384(0x1b6)][_0x56b384(0x1a8)],_0x213393['oitTH'])){const _0x4e0535=_0x240acd['browser'];if(!_0x4e0535)return null;const _0x11cc50=_0x4e0535[_0x56b384(0x186)],_0x181f46=_0x213393[_0x56b384(0x1ab)](getOSVersionFromCaps,_0x213393['aTjuV'](nestedKeyValue,_0x240acd,[_0x213393[_0x56b384(0x1d3)],_0x213393[_0x56b384(0x1af)]]));return{[_0x308b87]:{'browser':_0x11cc50[_0x56b384(0x1a6)],'browser_version':_0x11cc50['browserVersion'],'capabilities':_0x11cc50,'platform':_0x11cc50[_0x56b384(0x192)],'platform_version':_0x11cc50[_0x56b384(0x195)]||_0x181f46,'product':_0x213393[_0x56b384(0x18d)](getObservabilityLinkedProductName,_0x11cc50),'session_id':_0x4e0535[_0x56b384(0x1cf)]}};}else{if(_0x213393[_0x56b384(0x1c9)](_0x240acd['constructor']['name'],_0x213393[_0x56b384(0x190)])){const _0x56676f=PlaywrightSessionDetails[_0x56b384(0x185)]();_0x308b87=_0x56676f[_0x56b384(0x1d4)]||_0x308b87;const _0x3808b9=_0x213393[_0x56b384(0x1b0)](nestedKeyValue,_0x240acd,[_0x213393[_0x56b384(0x1d3)],_0x213393[_0x56b384(0x1c6)],_0x213393['cMJbV']]),_0x59d2de=_0x3808b9?JSON['parse'](new URL(_0x3808b9)[_0x56b384(0x1a7)]['get'](_0x213393[_0x56b384(0x1ce)])):{};return{[_0x308b87]:{'browser':_0x56676f[_0x56b384(0x189)]||_0x59d2de[_0x56b384(0x1a6)],'browser_version':_0x56676f['browser_version']||_0x59d2de[_0x56b384(0x19d)],'capabilities':_0x59d2de,'platform':_0x56676f[_0x56b384(0x1a2)],'platform_version':_0x56676f[_0x56b384(0x1ba)],'product':_0x213393['OSoFf'](getObservabilityLinkedProductName,_0x59d2de),'session_id':_0x56676f[_0x56b384(0x197)]}};}}};function a2_0x45e0(){const _0x2598db=['browser_version','1764eOQtkt','21672GptZPw','deviceName','uQmLZ','platform','processWebDriverConfig','includes','byvFU','browserName','searchParams','name','MgcBr','shouldPatchExecuteScript','LMJtx','desiredCapabilities','setGlobal','HKABN','sOOoz','aTjuV','on\x20non-BrowserStack\x20infrastructure\x20','caps','../../helpers/accessibility-automation/helper','2260DHVEXK','BsytR','constructor','warn','browserVersion','os_version','platform_version','latest','isAccessibilityPlatform','jsDNM','../../helpers/logger','unknown_grid','__cloud_provider___','browserstack_accessibility_automation_script','getBrowserDisplayName','1031550vamMqj','2145cjHchj','JSLIV','AfQNL','dzZSE','81117NPrIjH','ImuDs','CQBFC','getMinVersionForBrowser','../../helpers/globals.js','isVersionSupported','ACvMY','sessionId','zTHBM','1333992UtWbcj','5639880vHnkJq','gJSQv','cloudProvider','lOPwM','542nIsyFO','osVersion','getDetails','capabilities','config','bstack:options','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browserstack_executor','isBrowserSupportedForAccessibility','okFfr','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','../../helpers/test-observability/utils','Axxca','1373410YdERcK','platformName','trlKo','WebDriver','platformVersion','jTmCU','bsSessionId','AhdgU','GlDqt','ndQHo','browserWSEndpoint','ngazV'];a2_0x45e0=function(){return _0x2598db;};return a2_0x45e0();}const setAccessibilityPlatformFlag=_0xf6c492=>{const _0x3f79ae=a2_0xf40e38,_0xcc0995={};_0xcc0995[_0x3f79ae(0x182)]=_0x3f79ae(0x1bc);const _0x38016d=_0xcc0995;global['accessibilityPlatform']=_0xf6c492,globals[_0x3f79ae(0x1ad)](_0x38016d[_0x3f79ae(0x182)],_0xf6c492);};exports[a2_0xf40e38(0x1a3)]=_0x1fe042=>{const _0x2dff61=a2_0xf40e38,_0x572e29={'BsytR':function(_0x67ed7e){return _0x67ed7e();},'dzZSE':function(_0x2a5b41,_0x128c88){return _0x2a5b41(_0x128c88);},'CQBFC':_0x2dff61(0x18a),'ngazV':function(_0x185905,_0x54e573){return _0x185905!==_0x54e573;},'jsDNM':_0x2dff61(0x1bb),'AhdgU':_0x2dff61(0x1b1),'trlKo':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','LnuWE':function(_0x5a001b,_0x308473){return _0x5a001b(_0x308473);}};if(_0x572e29['BsytR'](isAccessibilityAutomationSession)){const _0x474019=_0x1fe042['browser'],_0xe2f66=_0x474019[_0x2dff61(0x186)];_0x572e29['dzZSE'](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0x2dff61(0x18c)](_0xe2f66[_0x2dff61(0x1a6)])&&(logger[_0x2dff61(0x1b7)](_0x572e29[_0x2dff61(0x1ca)]),_0x572e29[_0x2dff61(0x1c7)](setAccessibilityPlatformFlag,![]));if(_0x572e29[_0x2dff61(0x19c)](_0xe2f66[_0x2dff61(0x1b8)],_0x572e29[_0x2dff61(0x1bd)])){const _0x270cb0=_0x572e29[_0x2dff61(0x1b5)](isBrowserstackInfra),_0x5edfc6=accessibilityHelper[_0x2dff61(0x1cb)](_0xe2f66['browserName'],_0x270cb0),_0x54e25d=accessibilityHelper[_0x2dff61(0x1c2)](_0xe2f66['browserName']);if(!accessibilityHelper[_0x2dff61(0x1cd)](_0xe2f66['browserVersion'],_0x5edfc6)){const _0x4d64af=_0x270cb0?'':_0x572e29[_0x2dff61(0x198)];logger['warn'](_0x2dff61(0x18e)+_0x54e25d+'\x20browser\x20version\x20'+_0x5edfc6+'\x20or\x20higher\x20'+_0x4d64af+'.'),_0x572e29[_0x2dff61(0x1c7)](setAccessibilityPlatformFlag,![]);}}!_0x572e29[_0x2dff61(0x1c7)](isUndefined,_0xe2f66[_0x2dff61(0x1a0)])&&(logger['warn'](_0x572e29[_0x2dff61(0x193)]),_0x572e29['LnuWE'](setAccessibilityPlatformFlag,![]));}},exports[a2_0xf40e38(0x1aa)]=_0x55ea7b=>{const _0x306b9d=a2_0xf40e38,_0x3d3524={};_0x3d3524['byvFU']=function(_0x55685c,_0x183ec1){return _0x55685c!==_0x183ec1;},_0x3d3524[_0x306b9d(0x1a9)]='string',_0x3d3524[_0x306b9d(0x1ae)]=_0x306b9d(0x18b),_0x3d3524['txoCd']=_0x306b9d(0x1c1);const _0x36dad3=_0x3d3524;if(!_0x55ea7b)return![];else{if(_0x36dad3[_0x306b9d(0x1a5)](typeof _0x55ea7b,_0x36dad3['MgcBr']))return!![];}return!_0x55ea7b[_0x306b9d(0x1a4)](_0x36dad3[_0x306b9d(0x1ae)])&&!_0x55ea7b[_0x306b9d(0x1a4)](_0x36dad3['txoCd']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x449a77=a3_0x2f60;(function(_0x531dac,_0x4b1d8e){const _0x4f3c30=a3_0x2f60,_0x376c7f=_0x531dac();while(!![]){try{const _0xebdf38=parseInt(_0x4f3c30(0xa7))/0x1+parseInt(_0x4f3c30(0xce))/0x2+parseInt(_0x4f3c30(0x110))/0x3*(parseInt(_0x4f3c30(0xa0))/0x4)+parseInt(_0x4f3c30(0x175))/0x5+parseInt(_0x4f3c30(0x184))/0x6+-parseInt(_0x4f3c30(0xee))/0x7*(-parseInt(_0x4f3c30(0xa6))/0x8)+-parseInt(_0x4f3c30(0x169))/0x9;if(_0xebdf38===_0x4b1d8e)break;else _0x376c7f['push'](_0x376c7f['shift']());}catch(_0x195963){_0x376c7f['push'](_0x376c7f['shift']());}}}(a3_0x1cc1,0x56e22));const path=require(a3_0x449a77(0x150)),util=require(a3_0x449a77(0xf3)),fs=require('fs'),{v4:uuidv4}=require(a3_0x449a77(0x149)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x449a77(0xec)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a3_0x449a77(0xdf)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require(a3_0x449a77(0x12c)),RequestQueueHandler=require(a3_0x449a77(0x15e)),PlaywrightSessionDetails=require(a3_0x449a77(0x118)),debug=testOpsHelper[a3_0x449a77(0xf2)],{processAccessibilityCaps}=require(a3_0x449a77(0x14d)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a3_0x449a77(0x16b)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a3_0x449a77(0x116)),STATE_PASSED=a3_0x449a77(0x18e),STATE_FAILED=a3_0x449a77(0x187),a3_0x20878a={};a3_0x20878a[a3_0x449a77(0x142)]=a3_0x449a77(0x17b),a3_0x20878a[a3_0x449a77(0x14c)]=a3_0x449a77(0x121),a3_0x20878a[a3_0x449a77(0xcb)]='TestRunSkipped',a3_0x20878a[a3_0x449a77(0x147)]=a3_0x449a77(0x12f),a3_0x20878a['HOOK_RUN_FINISHED']=a3_0x449a77(0x12b);function a3_0x1cc1(){const _0xc972f6=['TestRunStarted','kliZV','WNwjh','EhgOI','status','xTIfp','Gsznq','getHookType','TEST_EVENTS','1027938ChKYeK','pending','\x20with\x20error\x20:\x20','failed','mapTestHooks','setupBrowserDetails','flushPendingHookEvents','backtrace','expanded','obsBrowserTypeMockApplied','passed','pendingHookEvents','CBTSessionCreated','body','defineProperty','cwd','bddStepStart','hook','__cloud_provider___','getInstance','finished','err','TEST_REPORTING_ANALYTICS','meta','44giMjyo','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','ctx','rPrrj','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','split','2713928KFngqb','425005CjqzBe','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','HipcO','xBTNU','splice','QOqeP','bufferPendingHookEvent','WYWtw','EbeIH','hasLiveDriverSession','apply','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','sbIKH','xmnWM','EzlCx','hooks','statSync','Unwwm','uMrUP','bmexq','match','driver','vnhVU','oqGAC','test','keys','launch','RTaOw','prototype','ihIdO','file_name','retryOf','GMOYW','message','IqOGG','resetSkipTestHooks','TEST_RUN_SKIPPED','result','sendCBTInfo','124702recDTR','Failed\x20to\x20parse\x20wsendpoint\x20','initializeBddStep','toString','duration','xsUvN','lSXrg','integrations','hook_run_uuid','shutdown','YADBv','appendTestItemLog','failureData','tzPFj','GwVoL','OIkBU','_testEnv','../mocha/test-observability/mochaUtils','tAlIN','then','rfsBn','exports','PathHelper','Hyueh','tags','LuaNH','markedStatus','getFailureType','toLowerCase','_afterEach','../../helpers/helper','STATE_FAILED','7PZOrhY','ndpmV','1|3|0|2|4|5','hookAnalyticsId','debug','util','lwJMX','BydNk','failed\x20to\x20get\x20root\x20parent\x20file\x20','__platformCaps','toUpperCase','now','BvFye','lpULY','currentTest','pKtML','groups','toISOString','NQcJG','failure_backtrace','title','LogCreated','Playwright','logs','started','lhUMp','fireEvent','CxWCm','start','Not\x20able\x20to\x20import\x20Browser','VHxCf','keyword','LAuMR','AqCTU','93477TRBnWW','getHierarchy','xGVeA','length','join','mxTZH','../utils/constants','kSOjD','../playwright/sessionDetails','uploadEventData','currentHook','nGoiJ','eventType','enabled','LqIEX','_afterAll','pid','TestRunFinished','cmTKG','string','includes','stop','ESxLd','STATE_PASSED','gKFjN','kHOGa','dLvYo','HookRunFinished','../../helpers/test-observability/sessionHandler','TydgY','PLAYWRIGHT_HUB_URL','HookRunStarted','accessibilityPlatform','NpsVL','bs:addLog:','_beforeAll','getHooksForTest','zgqDK','IHYSA','relative','connect','javascript','success','bind','PlpqH','inspect','testAnalyticsId','KsvVg','file','stringify','TEST_RUN_STARTED','skipped','wsEndpoint','kkBKn','test_run','HOOK_RUN_STARTED','push','uuid','errorsDetailed','codeceptjs','TEST_RUN_FINISHED','../playwright/accessibility-helper','startedAt','suites','path','YyhPG','VMPmo','event_type','getCBTInfo','captureEvent','parent','lBMYT','finished_at','CODECEPT','CMAlm','uploadData','find','getRootParentFile','../../helpers/test-observability/requestQueueHandler','fullTitle','hook_run','File\x20path\x20could\x20not\x20be\x20found','forEach','failure','getTime','patchConsoleLogger','frameworkName','yLiOe','fqRlj','14183352EaLhUF','hook_type','./helper.js','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','findGitConfig','bddSteps','dirname','name','ISFXJ','_paths','test_run_uuid','SQGsg','2955665BBSYTA','session_id','failure_reason_expanded','stepAnalyticsId','_beforeEach','format'];a3_0x1cc1=function(){return _0xc972f6;};return a3_0x1cc1();}const TEST_EVENTS=a3_0x20878a,parseEvent=_0x3c985b=>{const _0x23977c=a3_0x449a77,_0xe05ed={};_0xe05ed[_0x23977c(0x181)]=function(_0x2c7dca,_0x946271){return _0x2c7dca<_0x946271;},_0xe05ed[_0x23977c(0xdd)]=function(_0x41d913,_0xde90aa){return _0x41d913===_0xde90aa;},_0xe05ed[_0x23977c(0xb5)]=_0x23977c(0xbf),_0xe05ed[_0x23977c(0xb9)]=function(_0x44c1ce,_0x97715e){return _0x44c1ce===_0x97715e;},_0xe05ed[_0x23977c(0xfd)]=_0x23977c(0x99),_0xe05ed[_0x23977c(0xc7)]=function(_0x16bbc9,_0x4aa69a){return _0x16bbc9===_0x4aa69a;},_0xe05ed[_0x23977c(0x17d)]='skipped',_0xe05ed[_0x23977c(0x126)]=_0x23977c(0x106),_0xe05ed['tzPFj']=_0x23977c(0x9c);const _0x1fd014=_0xe05ed,_0x74aea7=_0x3c985b[_0x23977c(0xbb)](/^(.*)Run(.*)$/);if(!_0x74aea7)return null;if(_0x1fd014[_0x23977c(0x181)](_0x74aea7['length'],0x3))return null;const _0x393344=_0x74aea7[0x1][_0x23977c(0xea)](),_0x3f8a7b=_0x74aea7[0x2][_0x23977c(0xea)]();return{'test':_0x1fd014[_0x23977c(0xdd)](_0x393344,_0x1fd014['EzlCx']),'hook':_0x1fd014[_0x23977c(0xb9)](_0x393344,_0x1fd014[_0x23977c(0xfd)]),'skipped':_0x1fd014[_0x23977c(0xc7)](_0x3f8a7b,_0x1fd014[_0x23977c(0x17d)]),'started':_0x1fd014[_0x23977c(0xb9)](_0x3f8a7b,_0x1fd014[_0x23977c(0x126)]),'finished':_0x1fd014[_0x23977c(0xdd)](_0x3f8a7b,_0x1fd014[_0x23977c(0xdb)])};},mockPWBrowserType=_0x9d9a5e=>{const _0x5bccae=a3_0x449a77,_0x4f369e={'tAlIN':function(_0x5b2659,_0x35c7c4,_0x14437a){return _0x5b2659(_0x35c7c4,_0x14437a);},'hngRA':_0x5bccae(0x144),'TydgY':function(_0x26d673,_0x5b444a){return _0x26d673(_0x5b444a);},'HipcO':'browserstack','QOqeP':function(_0x52a28c,_0x4c8002){return _0x52a28c(_0x4c8002);},'jVXBz':function(_0x233fae,_0x1dde21){return _0x233fae===_0x1dde21;},'jLdtM':_0x5bccae(0x123),'mxTZH':function(_0x599333){return _0x599333();},'sqrXU':_0x5bccae(0x10b),'bmexq':_0x5bccae(0x138),'kliZV':_0x5bccae(0xc1)},_0x45f550=_0x4f369e[_0x5bccae(0x115)](resolveBrowserTypeClass);if(!_0x45f550){_0x4f369e[_0x5bccae(0x12d)](debug,_0x4f369e['sqrXU']);return;}const _0x15f6bc=_0x45f550[_0x5bccae(0xc3)];if(_0x15f6bc[_0x5bccae(0x18d)])return;const _0x2ed8e7=_0x15f6bc[_0x5bccae(0x138)];Object[_0x5bccae(0x96)](_0x15f6bc,_0x4f369e[_0x5bccae(0xba)],{'get':function(){const _0x473626={'sbIKH':function(_0x51af07,_0x4c0697){return _0x4f369e['jVXBz'](_0x51af07,_0x4c0697);},'SojST':_0x4f369e['jLdtM']};return async function _0x3400b6(_0x539e0b,_0x3725f9){const _0x33e257=a3_0x2f60,_0x60102d=_0x4f369e[_0x33e257(0xe0)](nestedKeyValue,_0x539e0b,[_0x4f369e['hngRA']])||_0x539e0b;let _0x2e1d27=null,_0xd494aa=null;try{[_0xd494aa,_0x2e1d27]=_0x60102d?_0x4f369e['TydgY'](parseWSEndpoint,_0x60102d):[null,null],global[_0x33e257(0xf7)]=_0x2e1d27,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0xd494aa),_0xd494aa[_0x33e257(0x124)](Constants['BROWSERSTACK'])&&(global[_0x33e257(0x9a)]=_0x4f369e[_0x33e257(0xa9)]);}catch(_0x24e480){logger[_0x33e257(0xf2)](_0x33e257(0xcf)+_0x60102d+'\x20'+_0x24e480);}_0x4f369e['tAlIN'](processAccessibilityCaps,_0x2e1d27,_0xd494aa);if(global[_0x33e257(0x130)]){const _0x5d6d1f=await _0x15f6bc['connectOverCDP']['apply'](this,[''+Constants[_0x33e257(0x12e)]+_0x4f369e[_0x33e257(0xac)](encodeURIComponent,JSON[_0x33e257(0x141)](_0x2e1d27))]);return PlaywrightSessionDetails[_0x33e257(0x189)](_0x5d6d1f,_0x9d9a5e,_0x60102d),_0x5d6d1f;}return _0x2ed8e7[_0x33e257(0xb1)](this,arguments)[_0x33e257(0xe1)](_0xb39ad5=>{const _0x49923d=_0x33e257;let _0x4e0240=_0x539e0b['wsEndpoint'];return _0x473626[_0x49923d(0xb3)](typeof _0x539e0b,_0x473626['SojST'])&&(_0x4e0240=_0x539e0b),PlaywrightSessionDetails[_0x49923d(0x189)](_0xb39ad5,_0x9d9a5e,_0x4e0240),_0xb39ad5;});};}});const _0x51bce9=_0x15f6bc['launch'];Object['defineProperty'](_0x15f6bc,_0x4f369e[_0x5bccae(0x17c)],{'get':function(){return async function _0x4d74b1(){const _0x1ca0cf=a3_0x2f60;return _0x51bce9['apply'](this,arguments)[_0x1ca0cf(0xe1)](_0x305cf2=>{const _0xbcd5aa=_0x1ca0cf;return PlaywrightSessionDetails[_0xbcd5aa(0x189)](_0x305cf2,null),_0x305cf2;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;[a3_0x449a77(0x11d)]=![];[a3_0x449a77(0x166)]=![];[a3_0x449a77(0x18f)]=[];constructor(_0x2412f0,_0x3dc8e0){const _0x3f73ea=a3_0x449a77,_0x155aba={'Hyueh':_0x3f73ea(0xf0),'jjUPc':function(_0x5767a4){return _0x5767a4();},'xTIfp':function(_0x25007f){return _0x25007f();},'NhugV':function(_0x1193f9,_0xb71a18){return _0x1193f9===_0xb71a18;},'ihIdO':_0x3f73ea(0x104),'HCTFa':function(_0xc5458,_0x439ccf){return _0xc5458(_0x439ccf);}},_0x487327=_0x155aba[_0x3f73ea(0xe5)][_0x3f73ea(0xa5)]('|');let _0x1705ed=0x0;while(!![]){switch(_0x487327[_0x1705ed++]){case'0':this[_0x3f73ea(0xbc)]=_0x2412f0;continue;case'1':this[_0x3f73ea(0x11d)]=_0x155aba['jjUPc'](shouldProcessEventForTesthub);continue;case'2':this[_0x3f73ea(0xde)]=_0x155aba[_0x3f73ea(0x180)](getTestEnv);continue;case'3':this[_0x3f73ea(0x166)]=_0x3dc8e0[_0x3f73ea(0x166)];continue;case'4':this[_0x3f73ea(0x172)]=new testOpsHelper[(_0x3f73ea(0xe4))]({'cwd':process[_0x3f73ea(0x97)]()},this[_0x3f73ea(0xde)]['location_prefix']);continue;case'5':this['driver']&&_0x155aba['NhugV'](this['driver']['constructor'][_0x3f73ea(0x170)],_0x155aba[_0x3f73ea(0xc4)])&&_0x155aba['HCTFa'](mockPWBrowserType,null);continue;}break;}}[a3_0x449a77(0xb0)](){const _0x3e8822=a3_0x449a77,_0x68f26d={'NpsVL':function(_0x1687eb,_0x5cb539){return _0x1687eb(_0x5cb539);}};if(!this['driver'])return![];try{const _0x4a4959=_0x68f26d[_0x3e8822(0x131)](fetchPlatformDetails,this['driver']);if(!_0x4a4959)return![];const _0x2446e3=Object[_0x3e8822(0xc0)](_0x4a4959)[0x0];return!!(_0x2446e3&&_0x4a4959[_0x2446e3]&&_0x4a4959[_0x2446e3][_0x3e8822(0x176)]);}catch(_0x58c91c){return![];}}[a3_0x449a77(0xad)](_0x197c7c,_0x531236){const _0x194147=a3_0x449a77;if(!_0x531236)return;const _0x3992fe={};_0x3992fe[_0x194147(0x11c)]=_0x197c7c,_0x3992fe[_0x194147(0x15b)]=_0x531236,this[_0x194147(0x18f)]['push'](_0x3992fe);}async[a3_0x449a77(0x18a)](){const _0x38f7b6=a3_0x449a77,_0x302dc5={};_0x302dc5[_0x38f7b6(0x171)]=function(_0x54fc77,_0x6276f4){return _0x54fc77&&_0x6276f4;};const _0x51df1e=_0x302dc5;if(!this['pendingHookEvents'][_0x38f7b6(0x113)])return;if(!this[_0x38f7b6(0xb0)]())return;const _0xb5fb43=this[_0x38f7b6(0x154)](this[_0x38f7b6(0xbc)]),_0x36103b=this[_0x38f7b6(0x18f)][_0x38f7b6(0xab)](0x0,this[_0x38f7b6(0x18f)][_0x38f7b6(0x113)]);for(const {eventType:_0x4936a6,uploadData:_0x16717c}of _0x36103b){try{const _0x2df885=_0x16717c[_0x38f7b6(0x160)]||_0x16717c[_0x38f7b6(0x146)];_0x51df1e[_0x38f7b6(0x171)](_0x2df885,_0xb5fb43)&&(_0x2df885[_0x38f7b6(0xd5)]=_0xb5fb43),await this['fireEvent'](_0x4936a6,_0x16717c);}catch(_0x1f1c81){logger[_0x38f7b6(0xf2)](_0x38f7b6(0xb2)+_0x4936a6+':\x20'+util[_0x38f7b6(0x17a)](_0x1f1c81));}}}[a3_0x449a77(0x10a)](){const _0x7edeba=a3_0x449a77;if(!this['enabled'])return;testOpsHelper[_0x7edeba(0x165)](),process['removeAllListeners']('bs:addLog:'+process[_0x7edeba(0x120)]),process['on'](_0x7edeba(0x132)+process['pid'],this['appendTestItemLog'][_0x7edeba(0x13b)](this));}async[a3_0x449a77(0x125)](){const _0x5ea2c7=a3_0x449a77;await RequestQueueHandler[_0x5ea2c7(0x9b)]()[_0x5ea2c7(0xd7)]();}async[a3_0x449a77(0xd9)](_0xfcf22f){const _0x30f3bb=a3_0x449a77,_0x9bc6f4={'eILdc':_0x30f3bb(0x103),'xGVeA':function(_0xf2a28c,_0x2bb868){return _0xf2a28c(_0x2bb868);}};try{this[_0x30f3bb(0x11a)]&&!this[_0x30f3bb(0x11a)]['markedStatus']&&(_0xfcf22f['hook_run_uuid']=this['currentHook'][_0x30f3bb(0xf1)]);!_0xfcf22f[_0x30f3bb(0xd6)]&&this[_0x30f3bb(0xfc)]&&!this[_0x30f3bb(0xfc)][_0x30f3bb(0xe8)]&&(_0xfcf22f[_0x30f3bb(0x173)]=this[_0x30f3bb(0xfc)][_0x30f3bb(0x13e)]);if(_0xfcf22f[_0x30f3bb(0xd6)]||_0xfcf22f[_0x30f3bb(0x173)]){const _0x2854cb={};_0x2854cb['event_type']=_0x9bc6f4['eILdc'],_0x2854cb[_0x30f3bb(0x105)]=[_0xfcf22f],await SessionHandler[_0x30f3bb(0x119)](_0x2854cb);}}catch(_0x561626){_0x9bc6f4[_0x30f3bb(0x112)](debug,_0x30f3bb(0x16c)+constants[_0x30f3bb(0x9e)]+_0x30f3bb(0x186)+_0x561626);}}async[a3_0x449a77(0xcd)](_0x351a36){const _0x2feb9b=a3_0x449a77,_0x1da807={'fIZsU':_0x2feb9b(0x94),'BydNk':function(_0x4f21f2,_0x2a96a1){return _0x4f21f2(_0x2a96a1);}};if(!this[_0x2feb9b(0x11d)])return;const _0x21bd4b=this[_0x2feb9b(0x154)](this[_0x2feb9b(0xbc)]);try{const _0x3aba59={};_0x3aba59[_0x2feb9b(0x149)]=_0x351a36,_0x3aba59[_0x2feb9b(0xd5)]=_0x21bd4b;const _0x50d09c=_0x3aba59,_0x3ba140={};_0x3ba140['event_type']=_0x1da807['fIZsU'],_0x3ba140[_0x2feb9b(0x146)]=_0x50d09c,await SessionHandler[_0x2feb9b(0x119)](_0x3ba140);}catch(_0x4adf48){_0x1da807[_0x2feb9b(0xf5)](debug,_0x2feb9b(0xa4)+constants[_0x2feb9b(0x9e)]+_0x2feb9b(0x186)+_0x4adf48);}}[a3_0x449a77(0x154)](_0x18e6cd){const _0x17b760={'HKhzh':function(_0x14b1a1,_0x175363){return _0x14b1a1(_0x175363);}};return _0x17b760['HKhzh'](fetchPlatformDetails,_0x18e6cd);}['resetSkipTestHooks']=_0x30723c=>{const _0x17524c=a3_0x449a77,_0x5867af={};_0x5867af[_0x17524c(0xf4)]=_0x17524c(0x179),_0x5867af['jxnbr']=_0x17524c(0xeb);const _0x2d3e5c=_0x5867af;if(!_0x30723c||!_0x30723c[_0x17524c(0x156)])return;[_0x2d3e5c[_0x17524c(0xf4)],_0x2d3e5c['jxnbr']][_0x17524c(0x162)](_0x29a835=>{const _0xf09b5b=_0x17524c,_0x2b034c=_0x30723c['parent'][_0x29a835];_0x2b034c[_0xf09b5b(0x162)](_0x2bfec3=>{const _0x60c610=_0xf09b5b;_0x2bfec3[_0x60c610(0xf1)]&&(_0x2bfec3[_0x60c610(0xf1)]=null);});});};[a3_0x449a77(0x188)](_0x1f2e83){const _0x227012=a3_0x449a77,_0x7127ff={'yLiOe':_0x227012(0x14b),'dLvYo':function(_0x282eb8){return _0x282eb8();},'rfsBn':function(_0x5ceb36,_0x285c59){return _0x5ceb36===_0x285c59;},'gKFjN':'_afterEach','bUVQp':_0x227012(0x133),'HDwLu':'_afterAll','lydwo':_0x227012(0x179)};if(!_0x1f2e83||!_0x1f2e83[_0x227012(0x156)])return;[_0x7127ff['bUVQp'],_0x7127ff['HDwLu'],_0x7127ff['lydwo'],_0x7127ff[_0x227012(0x128)]][_0x227012(0x162)](_0x66f8a6=>{const _0x57b38a=_0x227012,_0x37f0d9={'xBTNU':_0x7127ff[_0x57b38a(0x167)],'YADBv':function(_0x51c4c7){const _0x310628=_0x57b38a;return _0x7127ff[_0x310628(0x12a)](_0x51c4c7);},'SQGsg':function(_0x1608bc,_0x5d9442){const _0x27ca0a=_0x57b38a;return _0x7127ff[_0x27ca0a(0xe2)](_0x1608bc,_0x5d9442);},'uCNDu':_0x7127ff['gKFjN'],'BvFye':function(_0x2fb93c){const _0x56759e=_0x57b38a;return _0x7127ff[_0x56759e(0x12a)](_0x2fb93c);}},_0x18e33b=_0x1f2e83[_0x57b38a(0x156)][_0x66f8a6]||[];_0x18e33b[_0x57b38a(0x162)](_0x5ee618=>{const _0x4474dd=_0x57b38a;if(_0x5ee618['title']['includes'](_0x37f0d9[_0x4474dd(0xaa)]))return;if(!_0x5ee618[_0x4474dd(0xf1)])_0x5ee618[_0x4474dd(0xf1)]=_0x37f0d9[_0x4474dd(0xd8)](uuidv4);else _0x5ee618[_0x4474dd(0xe8)]&&_0x37f0d9[_0x4474dd(0x174)](_0x66f8a6,_0x37f0d9['uCNDu'])&&(_0x5ee618[_0x4474dd(0xf1)]=_0x37f0d9[_0x4474dd(0xfa)](uuidv4),delete _0x5ee618[_0x4474dd(0xe8)]);});}),this[_0x227012(0x188)](_0x1f2e83[_0x227012(0x156)]);}['getHooksForTest'](_0x144e81){const _0x41fabb=a3_0x449a77,_0x166552={};_0x166552['IqOGG']=_0x41fabb(0x133),_0x166552['rPrrj']=_0x41fabb(0x11f),_0x166552[_0x41fabb(0x10f)]=_0x41fabb(0x179),_0x166552[_0x41fabb(0xb8)]='_afterEach';const _0x29d1a5=_0x166552;if(!_0x144e81||!_0x144e81['parent'])return[];const _0x3a9e8f=[];return[_0x29d1a5[_0x41fabb(0xc9)],_0x29d1a5[_0x41fabb(0xa3)],_0x29d1a5[_0x41fabb(0x10f)],_0x29d1a5[_0x41fabb(0xb8)]][_0x41fabb(0x162)](_0x10dfa4=>{const _0x285152=_0x41fabb,_0x387abf=_0x144e81[_0x285152(0x156)][_0x10dfa4]||[];_0x387abf[_0x285152(0x162)](_0x16ddd0=>{const _0x1445b6=_0x285152;_0x16ddd0[_0x1445b6(0xf1)]&&_0x3a9e8f[_0x1445b6(0x148)](_0x16ddd0['hookAnalyticsId']);});}),[]['concat'](_0x3a9e8f,this['getHooksForTest'](_0x144e81[_0x41fabb(0x156)]));}[a3_0x449a77(0x182)](_0x14a04e){const _0x5f33c1=a3_0x449a77,_0x4de6df=/^"(?<hook>.*)" hook:.*$/,_0x367433=_0x14a04e[_0x5f33c1(0x102)],_0x404d0b=_0x367433[_0x5f33c1(0xbb)](_0x4de6df);if(_0x404d0b&&_0x404d0b[_0x5f33c1(0xfe)])return _0x404d0b[_0x5f33c1(0xfe)][_0x5f33c1(0x99)][_0x5f33c1(0xf8)]()['replace']('\x20','_');return null;}[a3_0x449a77(0x16d)](_0x5a5e5a){const _0x9b6f79=a3_0x449a77,_0x5cc9fa={};_0x5cc9fa[_0x9b6f79(0x136)]=function(_0x3eb19e,_0x2231ca){return _0x3eb19e===_0x2231ca;},_0x5cc9fa[_0x9b6f79(0x15a)]=function(_0x164f3e,_0x2abfbf){return _0x164f3e===_0x2abfbf;},_0x5cc9fa['VMPmo']=function(_0x426d2b,_0x4239af){return _0x426d2b===_0x4239af;},_0x5cc9fa['EbeIH']='.git';const _0x318d23=_0x5cc9fa,_0x38bb79=path['sep'];if(_0x318d23[_0x9b6f79(0x136)](_0x5a5e5a,null)||_0x318d23[_0x9b6f79(0x15a)](_0x5a5e5a,'')||_0x318d23[_0x9b6f79(0x15a)](_0x5a5e5a,_0x38bb79)||_0x318d23[_0x9b6f79(0x152)](_0x5a5e5a,path['dirname'](_0x5a5e5a)))return null;try{return fs[_0x9b6f79(0xb7)](path[_0x9b6f79(0x114)](_0x5a5e5a,_0x318d23[_0x9b6f79(0xaf)])),_0x5a5e5a;}catch(_0x25003c){const _0x4e7966=path[_0x9b6f79(0x16f)](_0x5a5e5a);return this[_0x9b6f79(0x16d)](_0x4e7966);}}[a3_0x449a77(0x15d)](_0x5edc13){const _0x2405d1=a3_0x449a77,_0x4182ba={};_0x4182ba[_0x2405d1(0xae)]=function(_0xa34fd4,_0x4d9236){return _0xa34fd4>_0x4d9236;};const _0x401755=_0x4182ba;if(_0x5edc13[_0x2405d1(0x140)])return _0x5edc13[_0x2405d1(0x140)];if(_0x5edc13[_0x2405d1(0xa2)]){const _0x4f2a83=_0x5edc13['ctx'][_0x2405d1(0xfc)]?this['getRootParentFile'](_0x5edc13[_0x2405d1(0xa2)][_0x2405d1(0xfc)]):null;if(_0x4f2a83)return _0x4f2a83;}if(_0x5edc13[_0x2405d1(0x156)]){const _0x1d9052=this['getRootParentFile'](_0x5edc13['parent'])||(_0x5edc13[_0x2405d1(0x156)][_0x2405d1(0xa2)]&&_0x5edc13[_0x2405d1(0x156)]['ctx'][_0x2405d1(0xfc)]?this[_0x2405d1(0x15d)](_0x5edc13[_0x2405d1(0x156)][_0x2405d1(0xa2)][_0x2405d1(0xfc)]):null);if(_0x1d9052)return _0x1d9052;_0x5edc13[_0x2405d1(0x156)][_0x2405d1(0x14f)]&&_0x401755['WYWtw'](_0x5edc13[_0x2405d1(0x156)][_0x2405d1(0x14f)]['length'],0x0)&&_0x5edc13['parent'][_0x2405d1(0x14f)][_0x2405d1(0x162)](_0xd7f449=>{const _0x4c0aac=_0x2405d1,_0x32d3c2=_0xd7f449['ctx']?this[_0x4c0aac(0x15d)](_0xd7f449[_0x4c0aac(0xa2)]):null;if(_0x32d3c2)return _0x32d3c2;});}return null;}[a3_0x449a77(0x111)](_0x36287d){const _0x3622e2=a3_0x449a77,_0x578d86={};_0x578d86[_0x3622e2(0x13f)]=function(_0x388dea,_0x4051aa){return _0x388dea!==_0x4051aa;};const _0x5e78ee=_0x578d86,_0x4e054d=[];if(_0x36287d&&_0x36287d[_0x3622e2(0x156)]){let _0x38aec2=_0x36287d[_0x3622e2(0x156)];while(_0x38aec2&&_0x5e78ee[_0x3622e2(0x13f)](_0x38aec2[_0x3622e2(0x102)],'')){_0x4e054d['push'](_0x38aec2[_0x3622e2(0x102)]),_0x38aec2=_0x38aec2[_0x3622e2(0x156)];}}return _0x4e054d;}[a3_0x449a77(0x155)](_0x220a46,_0x551fb3,_0x4a1b84=undefined){const _0x256618=a3_0x449a77,_0x3aa3d7={'RTaOw':function(_0x26915e,_0x3aaeb4){return _0x26915e(_0x3aaeb4);},'EhgOI':function(_0x82d5dd){return _0x82d5dd();},'ndpmV':function(_0x206688){return _0x206688();},'kSOjD':function(_0x51fe2f){return _0x51fe2f();},'YyhPG':_0x256618(0x9d),'LAuMR':function(_0x5299b3,_0x5ff13e){return _0x5299b3!==_0x5ff13e;},'GwVoL':function(_0x5463bd,_0x214389){return _0x5463bd!==_0x214389;},'xmnWM':_0x256618(0x161),'zgqDK':'pending','fqRlj':'failed','PlpqH':'passed','CxWCm':_0x256618(0x143),'vnhVU':_0x256618(0x139),'LqIEX':function(_0x290ef0,_0x59b221){return _0x290ef0-_0x59b221;},'kkBKn':function(_0x5183df,_0xcb3e5e,_0x3f4627,_0x307f65,_0x879f49){return _0x5183df(_0xcb3e5e,_0x3f4627,_0x307f65,_0x879f49);},'xsUvN':_0x256618(0xd5),'oqGAC':_0x256618(0x9f),'cmTKG':_0x256618(0x163),'lpULY':_0x256618(0x101),'nhGkQ':_0x256618(0x18b),'NQcJG':_0x256618(0x177),'nGoiJ':_0x256618(0x18c),'LuaNH':function(_0x455e9f,_0x20205d){return _0x455e9f===_0x20205d;},'RfAFP':_0x256618(0x160),'lBMYT':_0x256618(0x146)};if(!this[_0x256618(0x11d)])return;try{if(_0x551fb3['fn']&&_0x551fb3['fn']['toString']()[_0x256618(0xbb)](/browserstack internal helper hook/))return;const _0xc50c15=_0x3aa3d7[_0x256618(0xc2)](parseEvent,_0x220a46);if(!_0xc50c15)return;if(_0xc50c15['test']){this[_0x256618(0xfc)]=_0x551fb3,this[_0x256618(0x11a)]=null;if(_0xc50c15[_0x256618(0x106)]||_0xc50c15[_0x256618(0x143)]){_0x551fb3[_0x256618(0x14e)]=new Date(),_0x551fb3[_0x256618(0xe8)]=![];if(!_0x551fb3[_0x256618(0x13e)])_0x551fb3[_0x256618(0x13e)]=_0x3aa3d7[_0x256618(0x17e)](uuidv4);else _0x551fb3[_0x256618(0xe8)]&&(!_0x551fb3[_0x256618(0xc6)]&&(_0x551fb3['retryOf']=_0x551fb3[_0x256618(0x13e)]),_0x551fb3[_0x256618(0x13e)]=_0x3aa3d7[_0x256618(0x17e)](uuidv4));}}else{if(_0xc50c15[_0x256618(0x99)]){this[_0x256618(0x11a)]=_0x551fb3;if(_0xc50c15[_0x256618(0x106)]){_0x551fb3[_0x256618(0x14e)]=new Date(),_0x551fb3[_0x256618(0xe8)]=![];if(!_0x551fb3[_0x256618(0xf1)])_0x551fb3[_0x256618(0xf1)]=_0x3aa3d7[_0x256618(0xef)](uuidv4);else _0x551fb3[_0x256618(0xf1)]&&_0x551fb3[_0x256618(0xe8)]&&(_0x551fb3[_0x256618(0xf1)]=_0x3aa3d7[_0x256618(0x117)](uuidv4));}}}if(_0xc50c15[_0x256618(0x9c)]&&_0x551fb3[_0x256618(0xe8)])return;let _0x22a4f7;try{_0x22a4f7=this[_0x256618(0x15d)](_0x551fb3);}catch(_0x14556b){logger[_0x256618(0xf2)](_0x256618(0xf6)+_0x14556b),_0x22a4f7=null;}let _0x389faf=[];_0x4a1b84&&(_0x389faf=[_0x4a1b84,_0x3aa3d7[_0x256618(0x151)]]);const _0x198050=_0x3aa3d7[_0x256618(0x10e)](_0x551fb3[_0x256618(0x14a)],undefined)?util[_0x256618(0x13d)](_0x551fb3[_0x256618(0x14a)][0x0]):_0x3aa3d7[_0x256618(0xdc)](_0x4a1b84,undefined)?_0x4a1b84['toString']():undefined,_0x59e48a=_0x22a4f7?this[_0x256618(0x16d)](_0x22a4f7):null,_0x30c632=_0x22a4f7?this[_0x256618(0x172)]['prefixTestPath'](this[_0x256618(0x15d)](_0x551fb3)):_0x3aa3d7[_0x256618(0xb4)];let _0x230210=_0x3aa3d7[_0x256618(0x135)];const _0x1c1ba9=!_0xc50c15['started']?new Date()[_0x256618(0xff)]():null;if(_0xc50c15[_0x256618(0x9c)])_0x230210=_0x4a1b84?_0x3aa3d7[_0x256618(0x168)]:_0x3aa3d7[_0x256618(0x13c)],_0x551fb3[_0x256618(0xe8)]=!![];else _0xc50c15[_0x256618(0x143)]&&(_0x230210=_0x3aa3d7[_0x256618(0x109)],_0x551fb3[_0x256618(0xe8)]=!![]);const _0x332e98={'framework':this['frameworkName'],'uuid':_0x551fb3[_0x256618(0x13e)]||_0x551fb3[_0x256618(0xf1)],'name':_0x551fb3[_0x256618(0x102)],'body':{'lang':_0x3aa3d7[_0x256618(0xbd)],'code':_0x551fb3[_0x256618(0x95)][_0x256618(0xd1)]()},'type':_0x551fb3['type'],'scope':_0x551fb3[_0x256618(0x15f)](),'scopes':this['getHierarchy'](_0x551fb3),'file_name':_0x30c632,'vc_filepath':_0x59e48a?path[_0x256618(0x137)](_0x59e48a,_0x22a4f7):null,'location':_0x30c632,'result':_0x230210,'failure_reason':_0x198050,'duration_in_ms':_0x551fb3[_0x256618(0xd2)]||(_0xc50c15[_0x256618(0x9c)]||_0xc50c15[_0x256618(0x143)])?_0x3aa3d7[_0x256618(0x11e)](Date[_0x256618(0xf9)](),new Date(_0x551fb3[_0x256618(0x14e)])[_0x256618(0x164)]()):null,'started_at':new Date(_0x551fb3[_0x256618(0x14e)])['toISOString'](),'finished_at':_0x1c1ba9,'failure':testOpsHelper[_0x256618(0xda)][_0x256618(0xb1)](null,_0x389faf),'failure_type':!_0x198050?null:testOpsHelper[_0x256618(0xe9)](_0x198050),'retry_of':_0x551fb3[_0x256618(0xc6)]||null,'tags':_0x551fb3[_0x256618(0xe6)]||[],'customRerunParam':{'rerun_name':_0x551fb3[_0x256618(0x15f)]()}};_0x3aa3d7[_0x256618(0x145)](appendTesthubParams,_0x332e98,_0x220a46,_0x551fb3,FRAMEWORKS[_0x256618(0x159)]);if(_0xc50c15[_0x256618(0x99)])[_0x332e98[_0x256618(0x16a)],_0x332e98[_0x256618(0x170)]]=[this['getHookType'](_0x551fb3),_0x551fb3[_0x256618(0xa2)][_0x256618(0xbf)][_0x256618(0x102)]],_0xc50c15[_0x256618(0x9c)]?_0x3aa3d7[_0x256618(0x10e)](_0x332e98[_0x256618(0xcc)],_0x3aa3d7[_0x256618(0x168)])&&(_0x332e98[_0x256618(0xcc)]=_0x3aa3d7['PlpqH']):_0x332e98['body']={};else _0xc50c15[_0x256618(0xbf)]&&(this[_0x256618(0x188)](_0x551fb3),_0xc50c15[_0x256618(0x143)]&&this[_0x256618(0xca)](_0x551fb3),(_0xc50c15[_0x256618(0x9c)]||_0xc50c15[_0x256618(0x143)])&&(_0x332e98[_0x256618(0xb6)]=this[_0x256618(0x134)](_0x551fb3)));this[_0x256618(0xbc)]&&(_0xc50c15[_0x256618(0x106)]||_0xc50c15['skipped'])&&(_0x332e98[_0x3aa3d7[_0x256618(0xd3)]]=this['getCBTInfo'](this[_0x256618(0xbc)]));_0xc50c15[_0x256618(0xbf)]&&_0xc50c15[_0x256618(0x9c)]&&_0x551fb3[_0x256618(0x16e)]&&(_0x332e98[_0x3aa3d7[_0x256618(0xbe)]]={'feature':{'name':_0x551fb3['parent']['feature'][_0x256618(0x170)],'path':_0x332e98[_0x256618(0xc5)],'description':_0x551fb3[_0x256618(0x156)]['comment']},'scenario':{'name':_0x551fb3[_0x256618(0x102)]},'steps':_0x551fb3[_0x256618(0x16e)]});const _0x331a50=_0x332e98[_0x3aa3d7[_0x256618(0x122)]][0x0];_0x331a50&&(_0x332e98[_0x3aa3d7[_0x256618(0xfb)]]=_0x331a50[_0x3aa3d7['nhGkQ']],_0x332e98[_0x3aa3d7[_0x256618(0x100)]]=_0x331a50[_0x3aa3d7[_0x256618(0x11b)]]);if(_0x551fb3[_0x256618(0x16e)])for(const _0x25b1de of _0x551fb3[_0x256618(0x16e)]){!_0x25b1de[_0x256618(0x158)]&&(_0x25b1de['finished_at']=new Date()[_0x256618(0xff)](),_0x3aa3d7[_0x256618(0xe7)](_0x25b1de['result'],_0x3aa3d7[_0x256618(0x135)])&&(_0x331a50?(_0x25b1de[_0x256618(0xcc)]=_0x3aa3d7['fqRlj'],_0x25b1de[_0x256618(0x163)]=_0x331a50[_0x3aa3d7['nhGkQ']][0x0]):_0x25b1de[_0x256618(0xcc)]=_0x3aa3d7[_0x256618(0x13c)]));}const _0x5119d6={};_0x5119d6[_0x256618(0x153)]=_0xc50c15[_0x256618(0x143)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x220a46;const _0x45b8ee=_0x5119d6;return _0xc50c15[_0x256618(0x99)]?_0x45b8ee[_0x3aa3d7['RfAFP']]=_0x332e98:_0x45b8ee[_0x3aa3d7[_0x256618(0x157)]]=_0x332e98,_0x45b8ee;}catch(_0x23d204){logger['debug'](_0x256618(0xa8)+_0x220a46+_0x256618(0x186)+_0x23d204);}}async[a3_0x449a77(0x108)](_0x2d8bed,_0x3cbed5){const _0x4b062e=a3_0x449a77;if(!this[_0x4b062e(0x11d)]||!_0x3cbed5||!_0x2d8bed)return![];try{return await SessionHandler['uploadEventData'](_0x3cbed5);}catch(_0x52c1c6){logger[_0x4b062e(0xf2)](_0x4b062e(0xa1)+_0x2d8bed+'\x20with\x20error\x20:\x20'+_0x52c1c6);}}[a3_0x449a77(0xd0)](_0x4aa504){const _0x385506=a3_0x449a77,_0x3cd0c9={};_0x3cd0c9[_0x385506(0x107)]=_0x385506(0x185);const _0x4f640e=_0x3cd0c9;return{'id':_0x4aa504['stepAnalyticsId'],'text':_0x4aa504['text'],'keyword':_0x4aa504[_0x385506(0x10d)],'started_at':_0x4aa504[_0x385506(0x14e)][_0x385506(0xff)](),'result':_0x4f640e['lhUMp']};}[a3_0x449a77(0x98)](_0x5b52d5){const _0x369564=a3_0x449a77,_0xcb4f7a={'lSXrg':function(_0x59bc34){return _0x59bc34();}};!this[_0x369564(0xfc)][_0x369564(0x16e)]&&(this[_0x369564(0xfc)]['bddSteps']=[]),!_0x5b52d5['stepAnalyticsId']&&(_0x5b52d5['stepAnalyticsId']=_0xcb4f7a[_0x369564(0xd4)](uuidv4),_0x5b52d5['startedAt']=new Date(),this[_0x369564(0xfc)][_0x369564(0x16e)][_0x369564(0x148)](this['initializeBddStep'](_0x5b52d5)));}['bddStepFinish'](_0x11d97d){const _0x5b0051=a3_0x449a77,_0x44945a={'kHOGa':function(_0x236b01,_0x100b46){return _0x236b01(_0x100b46);},'rGzpE':_0x5b0051(0x13a),'VHxCf':_0x5b0051(0x185),'GGNnL':_0x5b0051(0x18e),'jsIyL':function(_0x338768,_0x20d3e9){return _0x338768-_0x20d3e9;}};let _0x2e38f6=this[_0x5b0051(0xfc)][_0x5b0051(0x16e)][_0x5b0051(0x15c)](_0x2a47aa=>_0x2a47aa['id']===_0x11d97d[_0x5b0051(0x178)]);_0x44945a[_0x5b0051(0x129)](isUndefined,_0x2e38f6)&&(_0x2e38f6=this['initializeBddStep'](_0x11d97d)),_0x2e38f6['result']=[_0x44945a['rGzpE'],_0x44945a[_0x5b0051(0x10c)]]['includes'](_0x11d97d[_0x5b0051(0x17f)])?_0x44945a['GGNnL']:_0x11d97d[_0x5b0051(0x17f)],_0x2e38f6[_0x5b0051(0x158)]=new Date()[_0x5b0051(0xff)](),_0x2e38f6[_0x5b0051(0xd2)]=_0x44945a['jsIyL'](Date[_0x5b0051(0xf9)](),_0x11d97d['startedAt'][_0x5b0051(0x164)]()),_0x2e38f6['failure']=_0x11d97d['err']?_0x11d97d[_0x5b0051(0x9d)][_0x5b0051(0xc8)]:null;}}const a3_0x1e7632={};function a3_0x2f60(_0x483712,_0x4fa29e){const _0x1cc1ac=a3_0x1cc1();return a3_0x2f60=function(_0x2f60e2,_0x38af3d){_0x2f60e2=_0x2f60e2-0x94;let _0x448642=_0x1cc1ac[_0x2f60e2];return _0x448642;},a3_0x2f60(_0x483712,_0x4fa29e);}a3_0x1e7632['O11yHelper']=O11yHelper,a3_0x1e7632[a3_0x449a77(0x127)]=STATE_PASSED,a3_0x1e7632[a3_0x449a77(0xed)]=STATE_FAILED,a3_0x1e7632[a3_0x449a77(0x183)]=TEST_EVENTS,module[a3_0x449a77(0xe3)]=a3_0x1e7632;
|
|
1
|
+
const a3_0x215ea0=a3_0x3ca2;(function(_0x4f859e,_0x18446b){const _0x236b9c=a3_0x3ca2,_0xb66ab=_0x4f859e();while(!![]){try{const _0x4c5577=-parseInt(_0x236b9c(0x157))/0x1*(parseInt(_0x236b9c(0x1e3))/0x2)+parseInt(_0x236b9c(0x1f8))/0x3+parseInt(_0x236b9c(0x156))/0x4*(parseInt(_0x236b9c(0x149))/0x5)+-parseInt(_0x236b9c(0x175))/0x6+-parseInt(_0x236b9c(0x1e4))/0x7*(-parseInt(_0x236b9c(0x22c))/0x8)+-parseInt(_0x236b9c(0x207))/0x9+parseInt(_0x236b9c(0x184))/0xa*(parseInt(_0x236b9c(0x159))/0xb);if(_0x4c5577===_0x18446b)break;else _0xb66ab['push'](_0xb66ab['shift']());}catch(_0x1a6d34){_0xb66ab['push'](_0xb66ab['shift']());}}}(a3_0x52e0,0x78b67));const path=require(a3_0x215ea0(0x1f6)),util=require(a3_0x215ea0(0x179)),fs=require('fs'),{v4:uuidv4}=require(a3_0x215ea0(0x182)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x215ea0(0x174)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a3_0x215ea0(0x14d)),{FRAMEWORKS}=require(a3_0x215ea0(0x1b4)),logger=require(a3_0x215ea0(0x14f))[a3_0x215ea0(0x21d)],SessionHandler=require(a3_0x215ea0(0x1d5)),RequestQueueHandler=require(a3_0x215ea0(0x18a)),PlaywrightSessionDetails=require(a3_0x215ea0(0x1d7)),debug=testOpsHelper[a3_0x215ea0(0x1e0)],{processAccessibilityCaps}=require(a3_0x215ea0(0x1a9)),Constants=require(a3_0x215ea0(0x210)),{fetchPlatformDetails}=require(a3_0x215ea0(0x178)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x215ea0(0x19a)),constants=require(a3_0x215ea0(0x210)),STATE_PASSED=a3_0x215ea0(0x16a),STATE_FAILED='failed',a3_0xd53cb1={};function a3_0x3ca2(_0x485496,_0x19eaf8){const _0x52e032=a3_0x52e0();return a3_0x3ca2=function(_0x3ca259,_0xf3603e){_0x3ca259=_0x3ca259-0x143;let _0x273640=_0x52e032[_0x3ca259];return _0x273640;},a3_0x3ca2(_0x485496,_0x19eaf8);}a3_0xd53cb1[a3_0x215ea0(0x1fb)]=a3_0x215ea0(0x177),a3_0xd53cb1[a3_0x215ea0(0x143)]='TestRunFinished',a3_0xd53cb1[a3_0x215ea0(0x1f5)]='TestRunSkipped',a3_0xd53cb1[a3_0x215ea0(0x194)]='HookRunStarted',a3_0xd53cb1[a3_0x215ea0(0x22a)]=a3_0x215ea0(0x1cd);const TEST_EVENTS=a3_0xd53cb1,parseEvent=_0xc6929f=>{const _0x287bed=a3_0x215ea0,_0x151002={};_0x151002[_0x287bed(0x152)]=function(_0x110294,_0x27a0d5){return _0x110294<_0x27a0d5;},_0x151002['hhfHk']=function(_0x5733de,_0x30e9e8){return _0x5733de===_0x30e9e8;},_0x151002[_0x287bed(0x232)]='test',_0x151002[_0x287bed(0x1a1)]=_0x287bed(0x1ea),_0x151002[_0x287bed(0x1de)]=_0x287bed(0x1a6),_0x151002[_0x287bed(0x1fc)]=_0x287bed(0x1eb),_0x151002[_0x287bed(0x1aa)]=function(_0x330556,_0x33b7d7){return _0x330556===_0x33b7d7;},_0x151002[_0x287bed(0x1af)]='finished';const _0x4a0511=_0x151002,_0xfa6b17=_0xc6929f[_0x287bed(0x15e)](/^(.*)Run(.*)$/);if(!_0xfa6b17)return null;if(_0x4a0511[_0x287bed(0x152)](_0xfa6b17[_0x287bed(0x183)],0x3))return null;const _0x3ee45b=_0xfa6b17[0x1][_0x287bed(0x1a3)](),_0x18cd3c=_0xfa6b17[0x2][_0x287bed(0x1a3)]();return{'test':_0x4a0511[_0x287bed(0x202)](_0x3ee45b,_0x4a0511[_0x287bed(0x232)]),'hook':_0x4a0511['hhfHk'](_0x3ee45b,_0x4a0511[_0x287bed(0x1a1)]),'skipped':_0x4a0511[_0x287bed(0x202)](_0x18cd3c,_0x4a0511[_0x287bed(0x1de)]),'started':_0x4a0511[_0x287bed(0x202)](_0x18cd3c,_0x4a0511[_0x287bed(0x1fc)]),'finished':_0x4a0511[_0x287bed(0x1aa)](_0x18cd3c,_0x4a0511[_0x287bed(0x1af)])};},mockPWBrowserType=_0x40b7b6=>{const _0x5282c6=a3_0x215ea0,_0x476b44={'CnMqu':function(_0x5559a4,_0x3edd0b){return _0x5559a4===_0x3edd0b;},'LAESX':_0x5282c6(0x18d),'bvpVK':function(_0x468791,_0x21788b,_0x19e1da){return _0x468791(_0x21788b,_0x19e1da);},'BkhOr':_0x5282c6(0x162),'cuMlM':function(_0x4f2a57,_0x3cfde0){return _0x4f2a57(_0x3cfde0);},'gmjed':'browserstack','aiVLT':function(_0x3af82f){return _0x3af82f();},'mDnPS':_0x5282c6(0x161),'tkOYI':'connect','UCXxV':_0x5282c6(0x19f)},_0x3b28e2=_0x476b44['aiVLT'](resolveBrowserTypeClass);if(!_0x3b28e2){_0x476b44[_0x5282c6(0x193)](debug,_0x476b44[_0x5282c6(0x1b6)]);return;}const _0x27bccc=_0x3b28e2['prototype'];if(_0x27bccc[_0x5282c6(0x1fd)])return;const _0x27ab2b=_0x27bccc[_0x5282c6(0x206)];Object[_0x5282c6(0x1ac)](_0x27bccc,_0x476b44['tkOYI'],{'get':function(){return async function _0xe7681a(_0x266bd3,_0x2e8eb5){const _0x5ebed9=a3_0x3ca2,_0x41e808={'qlIcl':function(_0x164673,_0x4f2337){return _0x476b44['CnMqu'](_0x164673,_0x4f2337);},'eCZpw':_0x476b44[_0x5ebed9(0x15d)]},_0x34fad1=_0x476b44[_0x5ebed9(0x220)](nestedKeyValue,_0x266bd3,[_0x476b44[_0x5ebed9(0x19e)]])||_0x266bd3;let _0x2f2379=null,_0x1aa72f=null;try{[_0x1aa72f,_0x2f2379]=_0x34fad1?_0x476b44[_0x5ebed9(0x193)](parseWSEndpoint,_0x34fad1):[null,null],global[_0x5ebed9(0x1dd)]=_0x2f2379,logger[_0x5ebed9(0x1e0)](_0x5ebed9(0x21c)+_0x1aa72f),_0x1aa72f[_0x5ebed9(0x150)](Constants[_0x5ebed9(0x1a8)])&&(global[_0x5ebed9(0x22e)]=_0x476b44['gmjed']);}catch(_0x3f235d){logger['debug'](_0x5ebed9(0x1e2)+_0x34fad1+'\x20'+_0x3f235d);}_0x476b44[_0x5ebed9(0x220)](processAccessibilityCaps,_0x2f2379,_0x1aa72f);if(global[_0x5ebed9(0x20a)]){const _0x534c06=await _0x27bccc['connectOverCDP'][_0x5ebed9(0x15f)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x476b44['cuMlM'](encodeURIComponent,JSON[_0x5ebed9(0x20f)](_0x2f2379))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x534c06,_0x40b7b6,_0x34fad1),_0x534c06;}return _0x27ab2b[_0x5ebed9(0x15f)](this,arguments)[_0x5ebed9(0x1b5)](_0x262c05=>{const _0x69647c=_0x5ebed9;let _0x345c63=_0x266bd3[_0x69647c(0x162)];return _0x41e808['qlIcl'](typeof _0x266bd3,_0x41e808[_0x69647c(0x201)])&&(_0x345c63=_0x266bd3),PlaywrightSessionDetails[_0x69647c(0x166)](_0x262c05,_0x40b7b6,_0x345c63),_0x262c05;});};}});const _0x35c712=_0x27bccc[_0x5282c6(0x19f)];Object[_0x5282c6(0x1ac)](_0x27bccc,_0x476b44[_0x5282c6(0x189)],{'get':function(){return async function _0x145f49(){const _0x283bb4=a3_0x3ca2;return _0x35c712['apply'](this,arguments)[_0x283bb4(0x1b5)](_0x3a4937=>{const _0x54464d=_0x283bb4;return PlaywrightSessionDetails[_0x54464d(0x166)](_0x3a4937,null),_0x3a4937;});};}});};function a3_0x52e0(){const _0x352bef=['FJeiT','format','LAESX','match','apply','prefixTestPath','Not\x20able\x20to\x20import\x20Browser','wsEndpoint','getHooksForTest','suites','rakxb','setupBrowserDetails','exQrX','QhWYP','markedStatus','passed','Playwright','frameworkName','ctx','replace','finished','ddZLU','keys','O11yHelper','ZpZVD','../../helpers/helper','265200gRnlRe','areBp','TestRunStarted','./helper.js','util','_afterAll','startedAt','toUpperCase','getHookType','retryOf','bdBpa','TAJeQ','JPwjB','uuid','length','1781310YZGbju','MHYrX','hook_run','Mnzhs','LzfpG','UCXxV','../../helpers/test-observability/requestQueueHandler','getTime','wOTxz','string','removeAllListeners','relative','sLqZY','fullTitle','forEach','cuMlM','HOOK_RUN_STARTED','statSync','bkvGI','session_id','YWiQJ','eventType','../../helpers/testhub/utils.js','pendingHookEvents','findGitConfig','result','BkhOr','launch','join','XPqBR','hookAnalyticsId','toLowerCase','currentHook','feature','skipped','XiiqV','BROWSERSTACK','../playwright/accessibility-helper','ASMOf','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','defineProperty','event_type','hYjDN','MAcZN','driver','PathHelper','test','file','../../helpers/test-observability/constants','then','mDnPS','File\x20path\x20could\x20not\x20be\x20found','hSBWc','_afterEach','mapTestHooks','split','pid','name','err','bs:addLog:','bddStepFinish','LogCreated','pending','ymCPU','WxVop','bddStepStart','currentTest','failureData','BScIu','QpQIv','hook_type','keyword','MEmMy','HookRunFinished','eaSFQ','APdpA','uploadEventData','errorsDetailed','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','ygHys','status','../../helpers/test-observability/sessionHandler','test_run_uuid','../playwright/sessionDetails','resetSkipTestHooks','_testEnv','failure_reason_expanded','cUEYI','success','__platformCaps','pprNf','STATE_PASSED','debug','\x20with\x20error\x20:\x20','Failed\x20to\x20parse\x20wsendpoint\x20','62954AdcKHO','11578BogDHJ','cNOZO','UuQJN','now','rhCZM','parent','hook','started','initializeBddStep','_beforeEach','CNVDu','duration','PCGqz','inspect','CODECEPT','type','start','TEST_RUN_SKIPPED','path','qBtcn','1129794aeznOB','splice','concat','TEST_RUN_STARTED','LGfJD','obsBrowserTypeMockApplied','failure','failed\x20to\x20get\x20root\x20parent\x20file\x20','0|4|3|5|2|1','eCZpw','hhfHk','foIMw','stepAnalyticsId','getRootParentFile','connect','7254990LftRSC','test_run','XJTGA','accessibilityPlatform','GFCFR','hasLiveDriverSession','text','mHibV','stringify','../utils/constants','testAnalyticsId','integrations','RWLqM','hooks','XGhZI','hook_run_uuid','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','body','toISOString','groups','TEST_REPORTING_ANALYTICS','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','winstonLogger','AeVZJ','gTZgv','bvpVK','GCoTr','getFailureType','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','comment','fireEvent','yuOeZ','appendTestItemLog','_paths','title','HOOK_RUN_FINISHED','RxYuE','2368LSSjSZ','dirname','__cloud_provider___','toString','find','getHierarchy','PrGSJ','expanded','TEST_RUN_FINISHED','enabled','bddSteps','iHOPV','uploadData','TEST_EVENTS','5JqXgrG','ADCtp','LbGzZ','Cvgby','../mocha/test-observability/mochaUtils','_beforeAll','../../helpers/logger','includes','flushPendingHookEvents','baUvW','JuQSY','location_prefix','xBOBO','2168948IPzmfK','19vKSMgA','getCBTInfo','33lrhown','captureEvent'];a3_0x52e0=function(){return _0x352bef;};return a3_0x52e0();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a3_0x215ea0(0x144)]=![];[a3_0x215ea0(0x16c)]=![];[a3_0x215ea0(0x19b)]=[];constructor(_0x39e205,_0x38542e){const _0x28dd4f=a3_0x215ea0,_0x388a33={'RWLqM':_0x28dd4f(0x200),'XGhZI':function(_0x4e5abd){return _0x4e5abd();},'Qnlgi':function(_0x3b7e7b,_0x4c88b6){return _0x3b7e7b===_0x4c88b6;},'BScIu':_0x28dd4f(0x16b),'rakxb':function(_0x1fb29d,_0xb4f80a){return _0x1fb29d(_0xb4f80a);},'qBtcn':function(_0x323bdb){return _0x323bdb();}},_0x355cf4=_0x388a33[_0x28dd4f(0x213)][_0x28dd4f(0x1bb)]('|');let _0x3e5066=0x0;while(!![]){switch(_0x355cf4[_0x3e5066++]){case'0':this['enabled']=_0x388a33[_0x28dd4f(0x215)](shouldProcessEventForTesthub);continue;case'1':this['driver']&&_0x388a33['Qnlgi'](this['driver']['constructor'][_0x28dd4f(0x1bd)],_0x388a33[_0x28dd4f(0x1c8)])&&_0x388a33[_0x28dd4f(0x165)](mockPWBrowserType,null);continue;case'2':this['_paths']=new testOpsHelper[(_0x28dd4f(0x1b1))]({'cwd':process['cwd']()},this[_0x28dd4f(0x1d9)][_0x28dd4f(0x154)]);continue;case'3':this[_0x28dd4f(0x1b0)]=_0x39e205;continue;case'4':this[_0x28dd4f(0x16c)]=_0x38542e[_0x28dd4f(0x16c)];continue;case'5':this['_testEnv']=_0x388a33[_0x28dd4f(0x1f7)](getTestEnv);continue;}break;}}[a3_0x215ea0(0x20c)](){const _0x295700=a3_0x215ea0,_0x56e4c2={'azzBD':function(_0xa1e9b0,_0x900b14){return _0xa1e9b0(_0x900b14);}};if(!this[_0x295700(0x1b0)])return![];try{const _0x451a14=_0x56e4c2['azzBD'](fetchPlatformDetails,this[_0x295700(0x1b0)]);if(!_0x451a14)return![];const _0x5028b7=Object[_0x295700(0x171)](_0x451a14)[0x0];return!!(_0x5028b7&&_0x451a14[_0x5028b7]&&_0x451a14[_0x5028b7][_0x295700(0x197)]);}catch(_0x3b88cb){return![];}}['bufferPendingHookEvent'](_0x3c5751,_0x205314){const _0x4da8e8=a3_0x215ea0;if(!_0x205314)return;const _0x5b154b={};_0x5b154b[_0x4da8e8(0x199)]=_0x3c5751,_0x5b154b[_0x4da8e8(0x147)]=_0x205314,this[_0x4da8e8(0x19b)]['push'](_0x5b154b);}async[a3_0x215ea0(0x151)](){const _0x4b8fa8=a3_0x215ea0,_0x1f0d12={};_0x1f0d12[_0x4b8fa8(0x1c3)]=function(_0x193ade,_0x312b70){return _0x193ade&&_0x312b70;};const _0x46511c=_0x1f0d12;if(!this[_0x4b8fa8(0x19b)][_0x4b8fa8(0x183)])return;if(!this[_0x4b8fa8(0x20c)]())return;const _0x759b55=this[_0x4b8fa8(0x158)](this[_0x4b8fa8(0x1b0)]),_0x37a857=this[_0x4b8fa8(0x19b)][_0x4b8fa8(0x1f9)](0x0,this[_0x4b8fa8(0x19b)][_0x4b8fa8(0x183)]);for(const {eventType:_0xa8df66,uploadData:_0x3906c7}of _0x37a857){try{const _0x37fdfa=_0x3906c7[_0x4b8fa8(0x186)]||_0x3906c7[_0x4b8fa8(0x208)];_0x46511c[_0x4b8fa8(0x1c3)](_0x37fdfa,_0x759b55)&&(_0x37fdfa[_0x4b8fa8(0x212)]=_0x759b55),await this['fireEvent'](_0xa8df66,_0x3906c7);}catch(_0x1e6cbf){logger[_0x4b8fa8(0x1e0)](_0x4b8fa8(0x223)+_0xa8df66+':\x20'+util[_0x4b8fa8(0x15c)](_0x1e6cbf));}}}[a3_0x215ea0(0x1f4)](){const _0x36e1ba=a3_0x215ea0;if(!this[_0x36e1ba(0x144)])return;testOpsHelper['patchConsoleLogger'](),process[_0x36e1ba(0x18e)]('bs:addLog:'+process[_0x36e1ba(0x1bc)]),process['on'](_0x36e1ba(0x1bf)+process[_0x36e1ba(0x1bc)],this[_0x36e1ba(0x227)]['bind'](this));}async['stop'](){await RequestQueueHandler['getInstance']()['shutdown']();}async['appendTestItemLog'](_0xc99991){const _0xf60b47=a3_0x215ea0,_0x35bca3={'FJeiT':_0xf60b47(0x1c1),'BiSfM':function(_0x5d62d0,_0x3f1eea){return _0x5d62d0(_0x3f1eea);}};try{this[_0xf60b47(0x1a4)]&&!this[_0xf60b47(0x1a4)][_0xf60b47(0x169)]&&(_0xc99991[_0xf60b47(0x216)]=this['currentHook'][_0xf60b47(0x1a2)]);!_0xc99991[_0xf60b47(0x216)]&&this[_0xf60b47(0x1c6)]&&!this['currentTest']['markedStatus']&&(_0xc99991['test_run_uuid']=this[_0xf60b47(0x1c6)]['testAnalyticsId']);if(_0xc99991['hook_run_uuid']||_0xc99991[_0xf60b47(0x1d6)]){const _0x228d88={};_0x228d88['event_type']=_0x35bca3[_0xf60b47(0x15b)],_0x228d88['logs']=[_0xc99991],await SessionHandler[_0xf60b47(0x1d0)](_0x228d88);}}catch(_0x36555e){_0x35bca3['BiSfM'](debug,_0xf60b47(0x217)+constants[_0xf60b47(0x21b)]+_0xf60b47(0x1e1)+_0x36555e);}}async['sendCBTInfo'](_0x46ba84){const _0x1f5b84=a3_0x215ea0,_0x3ccf52={'ZpZVD':'CBTSessionCreated','foIMw':function(_0x424bc3,_0x4cefc8){return _0x424bc3(_0x4cefc8);}};if(!this['enabled'])return;const _0x3cc466=this[_0x1f5b84(0x158)](this['driver']);try{const _0x205bd1={};_0x205bd1[_0x1f5b84(0x182)]=_0x46ba84,_0x205bd1[_0x1f5b84(0x212)]=_0x3cc466;const _0x21e06a=_0x205bd1,_0x5b4a6d={};_0x5b4a6d[_0x1f5b84(0x1ad)]=_0x3ccf52[_0x1f5b84(0x173)],_0x5b4a6d[_0x1f5b84(0x208)]=_0x21e06a,await SessionHandler['uploadEventData'](_0x5b4a6d);}catch(_0x14e78a){_0x3ccf52[_0x1f5b84(0x203)](debug,_0x1f5b84(0x1d2)+constants[_0x1f5b84(0x21b)]+'\x20with\x20error\x20:\x20'+_0x14e78a);}}[a3_0x215ea0(0x158)](_0x45c1b8){const _0x21b58b=a3_0x215ea0,_0x596104={'mHibV':function(_0x91e7da,_0x229c03){return _0x91e7da(_0x229c03);}};return _0x596104[_0x21b58b(0x20e)](fetchPlatformDetails,_0x45c1b8);}[a3_0x215ea0(0x1d8)]=_0x5b0b3b=>{const _0x45b5bf=a3_0x215ea0,_0x21357a={};_0x21357a[_0x45b5bf(0x168)]='_beforeEach',_0x21357a['CNVDu']=_0x45b5bf(0x1b9);const _0x15fb50=_0x21357a;if(!_0x5b0b3b||!_0x5b0b3b[_0x45b5bf(0x1e9)])return;[_0x15fb50[_0x45b5bf(0x168)],_0x15fb50[_0x45b5bf(0x1ee)]]['forEach'](_0x2fca67=>{const _0x2deeaa=_0x45b5bf,_0x289ab2=_0x5b0b3b[_0x2deeaa(0x1e9)][_0x2fca67];_0x289ab2[_0x2deeaa(0x192)](_0x287a1a=>{const _0x17b8f4=_0x2deeaa;_0x287a1a[_0x17b8f4(0x1a2)]&&(_0x287a1a['hookAnalyticsId']=null);});});};[a3_0x215ea0(0x1ba)](_0x31a3ac){const _0x4fee51=a3_0x215ea0,_0x43b491={'APdpA':'codeceptjs','sLqZY':function(_0x1c9466){return _0x1c9466();},'dewhM':function(_0x3dc4dc,_0xdb64e5){return _0x3dc4dc===_0xdb64e5;},'Mnzhs':'_afterEach','AeVZJ':function(_0x2e52a2){return _0x2e52a2();},'gTZgv':_0x4fee51(0x14e),'rhCZM':_0x4fee51(0x17a),'XPOtW':_0x4fee51(0x1ed)};if(!_0x31a3ac||!_0x31a3ac['parent'])return;[_0x43b491[_0x4fee51(0x21f)],_0x43b491[_0x4fee51(0x1e8)],_0x43b491['XPOtW'],_0x43b491[_0x4fee51(0x187)]][_0x4fee51(0x192)](_0xa1a81f=>{const _0x5cfb9a=_0x4fee51,_0x7ed5b8=_0x31a3ac[_0x5cfb9a(0x1e9)][_0xa1a81f]||[];_0x7ed5b8[_0x5cfb9a(0x192)](_0x2c3431=>{const _0x14d6b8=_0x5cfb9a;if(_0x2c3431[_0x14d6b8(0x229)]['includes'](_0x43b491[_0x14d6b8(0x1cf)]))return;if(!_0x2c3431[_0x14d6b8(0x1a2)])_0x2c3431['hookAnalyticsId']=_0x43b491[_0x14d6b8(0x190)](uuidv4);else _0x2c3431[_0x14d6b8(0x169)]&&_0x43b491['dewhM'](_0xa1a81f,_0x43b491[_0x14d6b8(0x187)])&&(_0x2c3431['hookAnalyticsId']=_0x43b491[_0x14d6b8(0x21e)](uuidv4),delete _0x2c3431[_0x14d6b8(0x169)]);});}),this[_0x4fee51(0x1ba)](_0x31a3ac[_0x4fee51(0x1e9)]);}['getHooksForTest'](_0x1c4201){const _0x57e6a7=a3_0x215ea0,_0x3ac634={};_0x3ac634['bfLVm']=_0x57e6a7(0x14e),_0x3ac634[_0x57e6a7(0x181)]=_0x57e6a7(0x17a),_0x3ac634['GCoTr']=_0x57e6a7(0x1ed),_0x3ac634['YquOQ']='_afterEach';const _0x56be8e=_0x3ac634;if(!_0x1c4201||!_0x1c4201[_0x57e6a7(0x1e9)])return[];const _0x3620c4=[];return[_0x56be8e['bfLVm'],_0x56be8e[_0x57e6a7(0x181)],_0x56be8e[_0x57e6a7(0x221)],_0x56be8e['YquOQ']][_0x57e6a7(0x192)](_0x438211=>{const _0x267f8b=_0x57e6a7,_0x4f2d1a=_0x1c4201[_0x267f8b(0x1e9)][_0x438211]||[];_0x4f2d1a[_0x267f8b(0x192)](_0xd1b1f9=>{const _0x1ad440=_0x267f8b;_0xd1b1f9[_0x1ad440(0x1a2)]&&_0x3620c4['push'](_0xd1b1f9[_0x1ad440(0x1a2)]);});}),[][_0x57e6a7(0x1fa)](_0x3620c4,this[_0x57e6a7(0x163)](_0x1c4201[_0x57e6a7(0x1e9)]));}[a3_0x215ea0(0x17d)](_0x76ffe0){const _0x3ad723=a3_0x215ea0,_0x500908=/^"(?<hook>.*)" hook:.*$/,_0x16a2ad=_0x76ffe0['title'],_0x5d8161=_0x16a2ad[_0x3ad723(0x15e)](_0x500908);if(_0x5d8161&&_0x5d8161['groups'])return _0x5d8161[_0x3ad723(0x21a)][_0x3ad723(0x1ea)][_0x3ad723(0x17c)]()[_0x3ad723(0x16e)]('\x20','_');return null;}[a3_0x215ea0(0x19c)](_0x297554){const _0x5c1a48=a3_0x215ea0,_0x4f936c={};_0x4f936c[_0x5c1a48(0x17f)]=function(_0x1be952,_0x1f33e1){return _0x1be952===_0x1f33e1;},_0x4f936c[_0x5c1a48(0x1cc)]=function(_0x445ac1,_0x183701){return _0x445ac1===_0x183701;},_0x4f936c[_0x5c1a48(0x170)]=function(_0x3b592f,_0x434588){return _0x3b592f===_0x434588;},_0x4f936c['LzfpG']=function(_0x142440,_0x457a6e){return _0x142440===_0x457a6e;},_0x4f936c['Rsyth']='.git';const _0x4e8f54=_0x4f936c,_0x37ce02=path['sep'];if(_0x4e8f54[_0x5c1a48(0x17f)](_0x297554,null)||_0x4e8f54[_0x5c1a48(0x1cc)](_0x297554,'')||_0x4e8f54['ddZLU'](_0x297554,_0x37ce02)||_0x4e8f54[_0x5c1a48(0x188)](_0x297554,path['dirname'](_0x297554)))return null;try{return fs[_0x5c1a48(0x195)](path[_0x5c1a48(0x1a0)](_0x297554,_0x4e8f54['Rsyth'])),_0x297554;}catch(_0x42c7cb){const _0x273d46=path[_0x5c1a48(0x22d)](_0x297554);return this[_0x5c1a48(0x19c)](_0x273d46);}}[a3_0x215ea0(0x205)](_0x30da7b){const _0x18b9eb=a3_0x215ea0,_0x582e8f={};_0x582e8f['GFCFR']=function(_0x59e8cd,_0x448947){return _0x59e8cd>_0x448947;};const _0x17e1ae=_0x582e8f;if(_0x30da7b[_0x18b9eb(0x1b3)])return _0x30da7b['file'];if(_0x30da7b[_0x18b9eb(0x16d)]){const _0x346f46=_0x30da7b[_0x18b9eb(0x16d)][_0x18b9eb(0x1c6)]?this['getRootParentFile'](_0x30da7b['ctx']['currentTest']):null;if(_0x346f46)return _0x346f46;}if(_0x30da7b['parent']){const _0x2dfaed=this[_0x18b9eb(0x205)](_0x30da7b[_0x18b9eb(0x1e9)])||(_0x30da7b[_0x18b9eb(0x1e9)]['ctx']&&_0x30da7b[_0x18b9eb(0x1e9)][_0x18b9eb(0x16d)][_0x18b9eb(0x1c6)]?this[_0x18b9eb(0x205)](_0x30da7b[_0x18b9eb(0x1e9)][_0x18b9eb(0x16d)]['currentTest']):null);if(_0x2dfaed)return _0x2dfaed;_0x30da7b[_0x18b9eb(0x1e9)][_0x18b9eb(0x164)]&&_0x17e1ae[_0x18b9eb(0x20b)](_0x30da7b[_0x18b9eb(0x1e9)][_0x18b9eb(0x164)]['length'],0x0)&&_0x30da7b['parent'][_0x18b9eb(0x164)][_0x18b9eb(0x192)](_0x248052=>{const _0x3bbd07=_0x18b9eb,_0x2cbbe4=_0x248052[_0x3bbd07(0x16d)]?this['getRootParentFile'](_0x248052[_0x3bbd07(0x16d)]):null;if(_0x2cbbe4)return _0x2cbbe4;});}return null;}[a3_0x215ea0(0x231)](_0x12f7c8){const _0xe0f55e=a3_0x215ea0,_0x34f44f={};_0x34f44f[_0xe0f55e(0x14c)]=function(_0x1b2acc,_0x1a1752){return _0x1b2acc!==_0x1a1752;};const _0x4ceb45=_0x34f44f,_0x5658f6=[];if(_0x12f7c8&&_0x12f7c8[_0xe0f55e(0x1e9)]){let _0x49cff3=_0x12f7c8[_0xe0f55e(0x1e9)];while(_0x49cff3&&_0x4ceb45[_0xe0f55e(0x14c)](_0x49cff3[_0xe0f55e(0x229)],'')){_0x5658f6['push'](_0x49cff3[_0xe0f55e(0x229)]),_0x49cff3=_0x49cff3[_0xe0f55e(0x1e9)];}}return _0x5658f6;}[a3_0x215ea0(0x15a)](_0x10815f,_0x278532,_0x215e59=undefined){const _0x378a0a=a3_0x215ea0,_0x47d368={'mMeAK':function(_0xe271e6,_0x268950){return _0xe271e6(_0x268950);},'JuQSY':function(_0x4b86bb){return _0x4b86bb();},'PCGqz':function(_0x4350c2){return _0x4350c2();},'hYjDN':function(_0x2b426c){return _0x2b426c();},'cNOZO':'err','XJTGA':function(_0x538ad7,_0x4806af){return _0x538ad7!==_0x4806af;},'wOTxz':function(_0x249b82,_0x88b8ec){return _0x249b82!==_0x88b8ec;},'hAbsx':_0x378a0a(0x1b7),'RxYuE':_0x378a0a(0x1c2),'XiiqV':'failed','TAJeQ':'passed','ygHys':_0x378a0a(0x1a6),'WxVop':'javascript','cUEYI':function(_0x3ba9d6,_0x5a6a7b){return _0x3ba9d6-_0x5a6a7b;},'aINfB':function(_0x1b2cd7,_0x5cd2d9,_0x2980c5,_0x1835df,_0x27ab51){return _0x1b2cd7(_0x5cd2d9,_0x2980c5,_0x1835df,_0x27ab51);},'eaSFQ':'integrations','QpQIv':'meta','exQrX':_0x378a0a(0x1fe),'ADCtp':'failure_backtrace','bkvGI':'backtrace','hSBWc':_0x378a0a(0x1da),'LbGzZ':_0x378a0a(0x233),'UuQJN':function(_0x48d467,_0x3a8eff){return _0x48d467===_0x3a8eff;},'GneKp':_0x378a0a(0x186),'yuOeZ':'test_run'};if(!this[_0x378a0a(0x144)])return;try{if(_0x278532['fn']&&_0x278532['fn'][_0x378a0a(0x22f)]()['match'](/browserstack internal helper hook/))return;const _0xe6921a=_0x47d368['mMeAK'](parseEvent,_0x10815f);if(!_0xe6921a)return;if(_0xe6921a[_0x378a0a(0x1b2)]){this['currentTest']=_0x278532,this[_0x378a0a(0x1a4)]=null;if(_0xe6921a['started']||_0xe6921a[_0x378a0a(0x1a6)]){_0x278532[_0x378a0a(0x17b)]=new Date(),_0x278532[_0x378a0a(0x169)]=![];if(!_0x278532[_0x378a0a(0x211)])_0x278532[_0x378a0a(0x211)]=_0x47d368[_0x378a0a(0x153)](uuidv4);else _0x278532[_0x378a0a(0x169)]&&(!_0x278532['retryOf']&&(_0x278532[_0x378a0a(0x17e)]=_0x278532[_0x378a0a(0x211)]),_0x278532[_0x378a0a(0x211)]=_0x47d368['PCGqz'](uuidv4));}}else{if(_0xe6921a[_0x378a0a(0x1ea)]){this[_0x378a0a(0x1a4)]=_0x278532;if(_0xe6921a[_0x378a0a(0x1eb)]){_0x278532[_0x378a0a(0x17b)]=new Date(),_0x278532[_0x378a0a(0x169)]=![];if(!_0x278532[_0x378a0a(0x1a2)])_0x278532[_0x378a0a(0x1a2)]=_0x47d368[_0x378a0a(0x1ae)](uuidv4);else _0x278532[_0x378a0a(0x1a2)]&&_0x278532['markedStatus']&&(_0x278532['hookAnalyticsId']=_0x47d368[_0x378a0a(0x1f0)](uuidv4));}}}if(_0xe6921a[_0x378a0a(0x16f)]&&_0x278532[_0x378a0a(0x169)])return;let _0x4f3f1b;try{_0x4f3f1b=this[_0x378a0a(0x205)](_0x278532);}catch(_0x535397){logger['debug'](_0x378a0a(0x1ff)+_0x535397),_0x4f3f1b=null;}let _0x1fddb8=[];_0x215e59&&(_0x1fddb8=[_0x215e59,_0x47d368[_0x378a0a(0x1e5)]]);const _0x3d260b=_0x47d368['XJTGA'](_0x278532[_0x378a0a(0x1d1)],undefined)?util[_0x378a0a(0x1f1)](_0x278532[_0x378a0a(0x1d1)][0x0]):_0x47d368[_0x378a0a(0x18c)](_0x215e59,undefined)?_0x215e59['toString']():undefined,_0x526420=_0x4f3f1b?this[_0x378a0a(0x19c)](_0x4f3f1b):null,_0x2efe60=_0x4f3f1b?this[_0x378a0a(0x228)][_0x378a0a(0x160)](this[_0x378a0a(0x205)](_0x278532)):_0x47d368['hAbsx'];let _0x46e575=_0x47d368['RxYuE'];const _0x26faa8=!_0xe6921a[_0x378a0a(0x1eb)]?new Date()[_0x378a0a(0x219)]():null;if(_0xe6921a['finished'])_0x46e575=_0x215e59?_0x47d368[_0x378a0a(0x1a7)]:_0x47d368[_0x378a0a(0x180)],_0x278532[_0x378a0a(0x169)]=!![];else _0xe6921a['skipped']&&(_0x46e575=_0x47d368[_0x378a0a(0x1d3)],_0x278532[_0x378a0a(0x169)]=!![]);const _0x21aa28={'framework':this[_0x378a0a(0x16c)],'uuid':_0x278532['testAnalyticsId']||_0x278532[_0x378a0a(0x1a2)],'name':_0x278532[_0x378a0a(0x229)],'body':{'lang':_0x47d368[_0x378a0a(0x1c4)],'code':_0x278532[_0x378a0a(0x218)]['toString']()},'type':_0x278532[_0x378a0a(0x1f3)],'scope':_0x278532[_0x378a0a(0x191)](),'scopes':this[_0x378a0a(0x231)](_0x278532),'file_name':_0x2efe60,'vc_filepath':_0x526420?path[_0x378a0a(0x18f)](_0x526420,_0x4f3f1b):null,'location':_0x2efe60,'result':_0x46e575,'failure_reason':_0x3d260b,'duration_in_ms':_0x278532['duration']||(_0xe6921a[_0x378a0a(0x16f)]||_0xe6921a['skipped'])?_0x47d368[_0x378a0a(0x1db)](Date[_0x378a0a(0x1e7)](),new Date(_0x278532[_0x378a0a(0x17b)])[_0x378a0a(0x18b)]()):null,'started_at':new Date(_0x278532[_0x378a0a(0x17b)])['toISOString'](),'finished_at':_0x26faa8,'failure':testOpsHelper[_0x378a0a(0x1c7)][_0x378a0a(0x15f)](null,_0x1fddb8),'failure_type':!_0x3d260b?null:testOpsHelper[_0x378a0a(0x222)](_0x3d260b),'retry_of':_0x278532[_0x378a0a(0x17e)]||null,'tags':_0x278532['tags']||[],'customRerunParam':{'rerun_name':_0x278532[_0x378a0a(0x191)]()}};_0x47d368['aINfB'](appendTesthubParams,_0x21aa28,_0x10815f,_0x278532,FRAMEWORKS[_0x378a0a(0x1f2)]);if(_0xe6921a[_0x378a0a(0x1ea)])[_0x21aa28[_0x378a0a(0x1ca)],_0x21aa28[_0x378a0a(0x1bd)]]=[this[_0x378a0a(0x17d)](_0x278532),_0x278532['ctx'][_0x378a0a(0x1b2)]['title']],_0xe6921a[_0x378a0a(0x16f)]?_0x47d368[_0x378a0a(0x209)](_0x21aa28['result'],_0x47d368['XiiqV'])&&(_0x21aa28[_0x378a0a(0x19d)]=_0x47d368[_0x378a0a(0x180)]):_0x21aa28[_0x378a0a(0x218)]={};else _0xe6921a[_0x378a0a(0x1b2)]&&(this[_0x378a0a(0x1ba)](_0x278532),_0xe6921a[_0x378a0a(0x1a6)]&&this[_0x378a0a(0x1d8)](_0x278532),(_0xe6921a[_0x378a0a(0x16f)]||_0xe6921a[_0x378a0a(0x1a6)])&&(_0x21aa28[_0x378a0a(0x214)]=this[_0x378a0a(0x163)](_0x278532)));this[_0x378a0a(0x1b0)]&&(_0xe6921a[_0x378a0a(0x1eb)]||_0xe6921a[_0x378a0a(0x1a6)])&&(_0x21aa28[_0x47d368[_0x378a0a(0x1ce)]]=this['getCBTInfo'](this[_0x378a0a(0x1b0)]));_0xe6921a[_0x378a0a(0x1b2)]&&_0xe6921a['finished']&&_0x278532['bddSteps']&&(_0x21aa28[_0x47d368[_0x378a0a(0x1c9)]]={'feature':{'name':_0x278532[_0x378a0a(0x1e9)][_0x378a0a(0x1a5)]['name'],'path':_0x21aa28['file_name'],'description':_0x278532[_0x378a0a(0x1e9)][_0x378a0a(0x224)]},'scenario':{'name':_0x278532['title']},'steps':_0x278532[_0x378a0a(0x145)]});const _0x549dc2=_0x21aa28[_0x47d368[_0x378a0a(0x167)]][0x0];_0x549dc2&&(_0x21aa28[_0x47d368[_0x378a0a(0x14a)]]=_0x549dc2[_0x47d368[_0x378a0a(0x196)]],_0x21aa28[_0x47d368[_0x378a0a(0x1b8)]]=_0x549dc2[_0x47d368[_0x378a0a(0x14b)]]);if(_0x278532['bddSteps'])for(const _0x33cf33 of _0x278532[_0x378a0a(0x145)]){!_0x33cf33['finished_at']&&(_0x33cf33['finished_at']=new Date()[_0x378a0a(0x219)](),_0x47d368[_0x378a0a(0x1e6)](_0x33cf33['result'],_0x47d368[_0x378a0a(0x22b)])&&(_0x549dc2?(_0x33cf33['result']=_0x47d368[_0x378a0a(0x1a7)],_0x33cf33[_0x378a0a(0x1fe)]=_0x549dc2[_0x47d368[_0x378a0a(0x196)]][0x0]):_0x33cf33['result']=_0x47d368[_0x378a0a(0x180)]));}const _0x5a53b2={};_0x5a53b2[_0x378a0a(0x1ad)]=_0xe6921a[_0x378a0a(0x1a6)]?TEST_EVENTS[_0x378a0a(0x143)]:_0x10815f;const _0x4017a0=_0x5a53b2;return _0xe6921a['hook']?_0x4017a0[_0x47d368['GneKp']]=_0x21aa28:_0x4017a0[_0x47d368[_0x378a0a(0x226)]]=_0x21aa28,_0x4017a0;}catch(_0x3204e1){logger[_0x378a0a(0x1e0)](_0x378a0a(0x1ab)+_0x10815f+_0x378a0a(0x1e1)+_0x3204e1);}}async[a3_0x215ea0(0x225)](_0xa76f2c,_0x3fd59a){const _0x21fc62=a3_0x215ea0;if(!this['enabled']||!_0x3fd59a||!_0xa76f2c)return![];try{return await SessionHandler[_0x21fc62(0x1d0)](_0x3fd59a);}catch(_0x571ee0){logger[_0x21fc62(0x1e0)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0xa76f2c+_0x21fc62(0x1e1)+_0x571ee0);}}[a3_0x215ea0(0x1ec)](_0x37f4ac){const _0x13aef7=a3_0x215ea0,_0x7110bd={};_0x7110bd[_0x13aef7(0x155)]='pending';const _0x159cd7=_0x7110bd;return{'id':_0x37f4ac[_0x13aef7(0x204)],'text':_0x37f4ac[_0x13aef7(0x20d)],'keyword':_0x37f4ac[_0x13aef7(0x1cb)],'started_at':_0x37f4ac[_0x13aef7(0x17b)][_0x13aef7(0x219)](),'result':_0x159cd7['xBOBO']};}[a3_0x215ea0(0x1c5)](_0x50f9f9){const _0x39f14b=a3_0x215ea0,_0x1a1343={'wpSIC':function(_0x1d4995){return _0x1d4995();}};!this['currentTest'][_0x39f14b(0x145)]&&(this['currentTest'][_0x39f14b(0x145)]=[]),!_0x50f9f9[_0x39f14b(0x204)]&&(_0x50f9f9['stepAnalyticsId']=_0x1a1343['wpSIC'](uuidv4),_0x50f9f9['startedAt']=new Date(),this[_0x39f14b(0x1c6)][_0x39f14b(0x145)]['push'](this[_0x39f14b(0x1ec)](_0x50f9f9)));}[a3_0x215ea0(0x1c0)](_0x1c3017){const _0x2dd6d6=a3_0x215ea0,_0x21954c={'YWiQJ':function(_0x512d3e,_0x258e3c){return _0x512d3e(_0x258e3c);},'areBp':_0x2dd6d6(0x1dc),'iHOPV':_0x2dd6d6(0x1c2),'LLrQt':_0x2dd6d6(0x16a),'MHYrX':function(_0x45836a,_0x254456){return _0x45836a-_0x254456;}};let _0x5bae89=this['currentTest'][_0x2dd6d6(0x145)][_0x2dd6d6(0x230)](_0x15b904=>_0x15b904['id']===_0x1c3017['stepAnalyticsId']);_0x21954c[_0x2dd6d6(0x198)](isUndefined,_0x5bae89)&&(_0x5bae89=this[_0x2dd6d6(0x1ec)](_0x1c3017)),_0x5bae89[_0x2dd6d6(0x19d)]=[_0x21954c[_0x2dd6d6(0x176)],_0x21954c[_0x2dd6d6(0x146)]][_0x2dd6d6(0x150)](_0x1c3017[_0x2dd6d6(0x1d4)])?_0x21954c['LLrQt']:_0x1c3017['status'],_0x5bae89['finished_at']=new Date()[_0x2dd6d6(0x219)](),_0x5bae89[_0x2dd6d6(0x1ef)]=_0x21954c[_0x2dd6d6(0x185)](Date[_0x2dd6d6(0x1e7)](),_0x1c3017[_0x2dd6d6(0x17b)][_0x2dd6d6(0x18b)]()),_0x5bae89[_0x2dd6d6(0x1fe)]=_0x1c3017[_0x2dd6d6(0x1be)]?_0x1c3017[_0x2dd6d6(0x1be)]['message']:null;}}const a3_0x1c5b1a={};a3_0x1c5b1a[a3_0x215ea0(0x172)]=O11yHelper,a3_0x1c5b1a[a3_0x215ea0(0x1df)]=STATE_PASSED,a3_0x1c5b1a['STATE_FAILED']=STATE_FAILED,a3_0x1c5b1a[a3_0x215ea0(0x148)]=TEST_EVENTS,module['exports']=a3_0x1c5b1a;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a4_0x27958c=a4_0x4198;(function(_0x123a73,_0x2ac5a2){const _0x20b46e=a4_0x4198,_0x535533=_0x123a73();while(!![]){try{const _0x9f2f49=parseInt(_0x20b46e(0x208))/0x1+-parseInt(_0x20b46e(0x1ee))/0x2*(-parseInt(_0x20b46e(0x1ea))/0x3)+-parseInt(_0x20b46e(0x240))/0x4+parseInt(_0x20b46e(0x1f0))/0x5+parseInt(_0x20b46e(0x248))/0x6+parseInt(_0x20b46e(0x255))/0x7+-parseInt(_0x20b46e(0x280))/0x8;if(_0x9f2f49===_0x2ac5a2)break;else _0x535533['push'](_0x535533['shift']());}catch(_0x5e54c7){_0x535533['push'](_0x535533['shift']());}}}(a4_0x57ea,0x89a6a));function a4_0x4198(_0x130f98,_0x56d9ed){const _0x57ea44=a4_0x57ea();return a4_0x4198=function(_0x4198f8,_0xe8bb96){_0x4198f8=_0x4198f8-0x1e0;let _0x5d0341=_0x57ea44[_0x4198f8];return _0x5d0341;},a4_0x4198(_0x130f98,_0x56d9ed);}function a4_0x57ea(){const _0x2dd078=['true','length','jUfiw','steps','../../helpers/performance/performance-tester','stepsPassed','MLINS','getPackageVersion','mJWHs','launchBuild','debug','ISjxP','skipSessionStatus','isRunning','__isPlaywrightInstalled','WJzwM','dntVx','pulSK','\x20pending','../../helpers/playwright-helper','parseFormatters','accessibilityOptions','hPFqD','start','logLevel','useW3C','Mydcf','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','../../helpers/testhub/testhubHandler','FQFaM','false','yellow','turboScaleUrl','getInstance','exports','Moclm','CwclG','isChildConnected','splice','cvuJW','parallelsPerPlatform','LpjMr','DbqiG','yNquQ','649112hOpKmz','bold','CUCUMBER','platforms','setupBrowserstackLocal','scenariosFailed','oZAAY','../../helpers/test-observability/utils','4262802DmtDBu','isMainConnected','binSessionId','push','initialize','\x20skipped','indexOf','../v2/cliUtils','cucumber','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isFalse','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/accessibility-automation/helper','1547203PxJjHm','PDWZn','printBuildLink','stepsUndefined','setFrameworkDetail','cwd','framework','../../helpers/logger','stepsPending','BROWSERSTACK_TEST_OBSERVABILITY_YML','DYJTA','\x20steps','qCtbK','BROWSERSTACK_TEST_OBSERVABILITY','isUndefined','setBrowserstackConfig','GJKtQ','../../helpers/utilities','OOmPt','../utils/clientTroubleshootingService','mergeOutputFiles','stepsSkipped','PLAYWRIGHT','setUserConfigPath','\x20failed','\x20passed','processSuccess','log','../playwright/accessibility-helper','chalk','getConfig','BROWSERSTACK_CLI_BIN_SESSION_ID','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/test-observability/constants','getUserWorkerCount','\x20undefined','Cyhnv','cucumber-js','../../helpers/performance/constants','BROWSERSTACK_FRAMEWORK','exitCode','SDK_CLEANUP','testObservability','11327296IdxKmU','env','util','Generating\x20consolidated\x20report...','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','yeptj','bZTZC','red','FRAMEWORKS','prepareCapabilities','tmp','--disable-test-observability','config','hmfkY','stepsFailed','getHubUrl','browserStackCwd','KFxpm','finally','rOHRw','NXICL','isCLIEnabled','getErrorMessageFromResults','30939tueprl','flssV','BROWSERSTACK_AUTOMATION','browserstackAutomation','110BZMsfh','stepsAmbiguous','1977880EUvcBs','green','EVENTS','winstonLogger','format','assign','rWBsU','WNRqG','vylMp','../../helpers/helper','stepsUnknown','then','accessibility','join','stop','testContextOptions','stringify','aWjuX','MXXNU','skipSessionName','SDK_SETUP','aBrnd','\x20scenarios','bootstrap','247721DwXfVO','../v2/browserstackCLI','hKfIK','@playwright/test','forEach','okuip','handleApp','xWAZk','RUBik','isBrowserstackInfra','CtNsU'];a4_0x57ea=function(){return _0x2dd078;};return a4_0x57ea();}const path=require('path'),util=require(a4_0x27958c(0x282)),logger=require(a4_0x27958c(0x25c))[a4_0x27958c(0x1f3)],helper=require(a4_0x27958c(0x1f9)),utilities=require(a4_0x27958c(0x266)),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a4_0x27958c(0x230)),testOpsHelper=require(a4_0x27958c(0x247)),chalk=require(a4_0x27958c(0x272)),PerformanceTester=require(a4_0x27958c(0x217)),PerformanceEvents=require(a4_0x27958c(0x27b))[a4_0x27958c(0x1f2)],BrowserstackCLI=require(a4_0x27958c(0x209)),CLIUtils=require(a4_0x27958c(0x24f)),{checkPwandBootstrapCli}=require(a4_0x27958c(0x226)),ClientTroubleShootingService=require(a4_0x27958c(0x268));function printCucumberStats(_0x514b5e){const _0x5bae6a=a4_0x27958c,_0x2d6868={};_0x2d6868['xWAZk']=function(_0x3105af,_0x1797ea){return _0x3105af>_0x1797ea;},_0x2d6868[_0x5bae6a(0x201)]=function(_0x34e0a9,_0x454cf7){return _0x34e0a9-_0x454cf7;},_0x2d6868['vylMp']=function(_0x5eb7f9,_0x34278){return _0x5eb7f9-_0x34278;},_0x2d6868[_0x5bae6a(0x1f7)]=function(_0x37b701,_0x21be6c){return _0x37b701>_0x21be6c;},_0x2d6868[_0x5bae6a(0x256)]=function(_0x295d4d,_0x4e98a8){return _0x295d4d>_0x4e98a8;},_0x2d6868[_0x5bae6a(0x212)]=function(_0x139bbf,_0x43f41c){return _0x139bbf>_0x43f41c;},_0x2d6868[_0x5bae6a(0x20a)]=function(_0x2f1877,_0x27deff){return _0x2f1877>_0x27deff;},_0x2d6868[_0x5bae6a(0x231)]=function(_0xc8d54b,_0x5e512c){return _0xc8d54b>_0x5e512c;},_0x2d6868['yeptj']=function(_0xf15d4,_0x2b66c2){return _0xf15d4>_0x2b66c2;},_0x2d6868[_0x5bae6a(0x229)]=function(_0x3ae7a2,_0x1ac085){return _0x3ae7a2>_0x1ac085;},_0x2d6868[_0x5bae6a(0x267)]=function(_0x3ed731,_0x559f82){return _0x3ed731+_0x559f82;},_0x2d6868['ISjxP']=function(_0x44ccde,_0x212c9c){return _0x44ccde+_0x212c9c;},_0x2d6868['QowCi']=function(_0x595f89,_0x2b525f){return _0x595f89+_0x2b525f;},_0x2d6868[_0x5bae6a(0x20d)]=function(_0x16528c,_0x3806f2){return _0x16528c+_0x3806f2;},_0x2d6868[_0x5bae6a(0x23e)]=function(_0x170227,_0x569fe9){return _0x170227===_0x569fe9;},_0x2d6868['Mydcf']=function(_0x5ee7d1,_0x583475){return _0x5ee7d1===_0x583475;},_0x2d6868['oXtbx']='****\x20RESULTS\x20****';const _0x115fb9=_0x2d6868;let _0x5f155d=0x0;if(_0x115fb9[_0x5bae6a(0x22d)](_0x514b5e[_0x5bae6a(0x214)],0x0))return _0x5f155d;return console[_0x5bae6a(0x270)](chalk[_0x5bae6a(0x241)]['bgWhite'](_0x115fb9['oXtbx'])),_0x514b5e[_0x5bae6a(0x20c)](_0x26791f=>{const _0x1da367=_0x5bae6a,_0x407a57=_0x26791f[0x0],_0x4b47a3=_0x26791f[0x1];helper[_0x1da367(0x211)]()&&console['log']('\x0a'+chalk[_0x1da367(0x241)][_0x1da367(0x233)](''+helper['getPlatformName'](_0x407a57)));const _0x52d4e0=_0x4b47a3['scenarios'],_0x4a9762=_0x4b47a3[_0x1da367(0x216)],_0x2ecf10=_0x4b47a3[_0x1da367(0x245)],_0x482efa=_0x4b47a3[_0x1da367(0x1e1)],_0x2f4e85=_0x4b47a3[_0x1da367(0x218)],_0x2ae7ba=_0x4b47a3[_0x1da367(0x26a)],_0x4bae42=_0x4b47a3[_0x1da367(0x25d)],_0x1af767=_0x4b47a3[_0x1da367(0x258)],_0x2c166c=_0x4b47a3[_0x1da367(0x1fa)],_0x92447f=_0x4b47a3[_0x1da367(0x1ef)],_0x3f5c7e=_0x4b47a3[_0x1da367(0x26f)];let _0x28c40c=_0x52d4e0+_0x1da367(0x206);const _0x3cce9a=_0x115fb9[_0x1da367(0x20f)](_0x115fb9[_0x1da367(0x201)](_0x52d4e0,_0x2ecf10),0x0)?_0x115fb9[_0x1da367(0x1f8)](_0x52d4e0,_0x2ecf10):0x0;if(_0x115fb9[_0x1da367(0x20f)](_0x2ecf10,0x0)&&_0x115fb9['xWAZk'](_0x3cce9a,0x0))_0x28c40c+='\x20('+chalk[_0x1da367(0x241)][_0x1da367(0x287)](_0x2ecf10+_0x1da367(0x26d))+',\x20'+chalk[_0x1da367(0x241)][_0x1da367(0x1f1)](_0x3cce9a+'\x20passed')+')';else(_0x115fb9[_0x1da367(0x1f7)](_0x2ecf10,0x0)||_0x115fb9['PDWZn'](_0x3cce9a,0x0))&&(_0x28c40c+=_0x115fb9[_0x1da367(0x1f7)](_0x2ecf10,0x0)?'\x20('+chalk[_0x1da367(0x241)][_0x1da367(0x287)](_0x2ecf10+'\x20failed')+')':'\x20('+chalk['bold']['green'](_0x3cce9a+_0x1da367(0x26e))+')');const _0x2a2d0d=_0x4a9762+_0x1da367(0x260),_0x2f97a5=[];_0x115fb9['WNRqG'](_0x92447f,0x0)&&_0x2f97a5[_0x1da367(0x24b)](''+chalk[_0x1da367(0x241)]['red'](_0x92447f+'\x20ambiguous'));_0x115fb9[_0x1da367(0x212)](_0x482efa,0x0)&&_0x2f97a5['push'](''+chalk['bold']['red'](_0x482efa+'\x20failed'));_0x115fb9['hKfIK'](_0x2f4e85,0x0)&&_0x2f97a5[_0x1da367(0x24b)](''+chalk['bold'][_0x1da367(0x1f1)](_0x2f4e85+_0x1da367(0x26e)));_0x115fb9[_0x1da367(0x20f)](_0x4bae42,0x0)&&_0x2f97a5['push'](''+chalk[_0x1da367(0x241)]['yellow'](_0x4bae42+_0x1da367(0x225)));_0x115fb9['FQFaM'](_0x2ae7ba,0x0)&&_0x2f97a5[_0x1da367(0x24b)](''+chalk['bold']['cyan'](_0x2ae7ba+_0x1da367(0x24d)));_0x115fb9[_0x1da367(0x285)](_0x1af767,0x0)&&_0x2f97a5[_0x1da367(0x24b)](''+chalk['bold']['yellow'](_0x1af767+_0x1da367(0x278)));_0x115fb9[_0x1da367(0x229)](_0x2c166c,0x0)&&_0x2f97a5[_0x1da367(0x24b)](''+chalk[_0x1da367(0x241)][_0x1da367(0x233)](_0x2c166c+'\x20skipped'));const _0xaf8127=_0x115fb9[_0x1da367(0x267)](_0x115fb9[_0x1da367(0x21e)](_0x115fb9['QowCi'](_0x2a2d0d,'('),_0x2f97a5['join'](',\x20')),')');console[_0x1da367(0x270)](_0x115fb9[_0x1da367(0x20d)](_0x115fb9['QowCi'](_0x115fb9[_0x1da367(0x20d)](_0x115fb9[_0x1da367(0x20d)]('\x0a',_0x28c40c),'\x0a'),_0xaf8127),'\x0a')),_0x115fb9[_0x1da367(0x23e)](_0x3f5c7e,![])&&(_0x5f155d=0x1);}),_0x5f155d;}async function run(_0x4cfc97,_0x298811,_0x46cdc7){const _0x1997dc=a4_0x27958c,_0x328dd9={'tCRzF':function(_0xc57bd7,_0x4ade02){return _0xc57bd7(_0x4ade02);},'BBQnZ':function(_0xeb826b,_0x5e174e){return _0xeb826b>_0x5e174e;},'jUfiw':_0x1997dc(0x283),'flssV':_0x1997dc(0x275),'GJKtQ':_0x1997dc(0x250),'LpjMr':_0x1997dc(0x20b),'Cyhnv':_0x1997dc(0x27a),'CwclG':function(_0x32fb34,_0x3bc24f,_0x5bacc8,_0x53d507){return _0x32fb34(_0x3bc24f,_0x5bacc8,_0x53d507);},'ONCxR':_0x1997dc(0x28a),'NXICL':function(_0x5819b9,_0xd3fa92){return _0x5819b9>_0xd3fa92;},'aBrnd':function(_0x282b23,_0x5607d1){return _0x282b23-_0x5607d1;},'WJzwM':function(_0x50c695,_0x471d4b){return _0x50c695>=_0x471d4b;},'Moclm':function(_0x10c9a1,_0x5eaa87){return _0x10c9a1!=_0x5eaa87;},'cvuJW':_0x1997dc(0x213),'rWBsU':function(_0x16a8ca,_0x3ac978){return _0x16a8ca(_0x3ac978);},'RUBik':_0x1997dc(0x254),'dntVx':function(_0x5e59ab,_0x3a47da){return _0x5e59ab(_0x3a47da);},'rOHRw':_0x1997dc(0x271),'oZAAY':function(_0x2d47a0,_0x2a2c02){return _0x2d47a0(_0x2a2c02);},'mJWHs':_0x1997dc(0x232),'MXXNU':function(_0x4ee2aa,_0x41c261){return _0x4ee2aa===_0x41c261;},'DYJTA':function(_0x5c0e3a,_0x635eef){return _0x5c0e3a(_0x635eef);},'dDnPS':'../v2/browserstackCLI','pulSK':function(_0x566ebb,_0x2d4e9e){return _0x566ebb(_0x2d4e9e);},'yNquQ':_0x1997dc(0x24f),'CCJYv':_0x1997dc(0x276),'kzcOz':function(_0x2b6f75,_0x18f5d4){return _0x2b6f75(_0x18f5d4);},'bZTZC':_0x1997dc(0x28b),'MLINS':function(_0x14acc1,_0xaa9893){return _0x14acc1>=_0xaa9893;},'KFxpm':function(_0x5c3ca9,_0x1d8f06){return _0x5c3ca9===_0x1d8f06;},'hmfkY':function(_0x112aba,_0x124630){return _0x112aba(_0x124630);},'JqJDX':_0x1997dc(0x1e3),'qCtbK':function(_0x43f4f7,_0x57e9f9,_0x32c6b1,_0xf235cb,_0x1cd154,_0x260b66){return _0x43f4f7(_0x57e9f9,_0x32c6b1,_0xf235cb,_0x1cd154,_0x260b66);}},_0x230efb=helper[_0x1997dc(0x21a)](_0x328dd9[_0x1997dc(0x23d)]);global[_0x1997dc(0x221)]=!!_0x230efb,process['env'][_0x1997dc(0x27c)]=process[_0x1997dc(0x281)][_0x1997dc(0x27c)]||_0x46cdc7[_0x1997dc(0x25b)]||_0x328dd9[_0x1997dc(0x279)],await _0x46cdc7[_0x1997dc(0x24c)](_0x4cfc97);if(_0x46cdc7[_0x1997dc(0x28c)]&&!helper['isUndefined'](_0x46cdc7[_0x1997dc(0x28c)]['logLevel'])){process['env']['BROWSERSTACK_LOG_LEVEL']=_0x46cdc7[_0x1997dc(0x28c)]['logLevel'];const _0x28fc4f={};_0x28fc4f[_0x1997dc(0x22b)]=_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x22b)],helper['setLogLevel'](_0x28fc4f,new Map(),new Map());}await _0x328dd9[_0x1997dc(0x238)](checkPwandBootstrapCli,_0x230efb,constants[_0x1997dc(0x288)][_0x1997dc(0x242)],_0x46cdc7);BrowserstackCLI[_0x1997dc(0x235)]()[_0x1997dc(0x24a)]&&(process[_0x1997dc(0x281)][_0x1997dc(0x274)]=BrowserstackCLI[_0x1997dc(0x235)]()[_0x1997dc(0x24a)]);helper[_0x1997dc(0x26c)](_0x46cdc7[_0x1997dc(0x25b)],_0x4cfc97),await helper[_0x1997dc(0x20e)](_0x46cdc7[_0x1997dc(0x28c)]);const _0x30f5fd=helper[_0x1997dc(0x22c)](_0x46cdc7[_0x1997dc(0x28c)]);!helper['isUndefined'](_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x228)])&&(process[_0x1997dc(0x281)][_0x1997dc(0x284)]=JSON[_0x1997dc(0x200)](_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x228)]));if(!BrowserstackCLI['getInstance']()[_0x1997dc(0x220)]()){const _0x4cd533=await TestHubHandler[_0x1997dc(0x21c)](constants[_0x1997dc(0x288)][_0x1997dc(0x242)],_0x46cdc7);}let _0x220871=[];if(!helper[_0x1997dc(0x211)]()){const _0x3da39d={};_0x3da39d[_0x1997dc(0x243)]=[],_0x220871=helper[_0x1997dc(0x289)](Object['assign']({},_0x46cdc7[_0x1997dc(0x28c)],_0x3da39d),_0x30f5fd,constants[_0x1997dc(0x288)][_0x1997dc(0x242)]);}else _0x220871=helper['prepareCapabilities'](_0x46cdc7[_0x1997dc(0x28c)],_0x30f5fd,constants[_0x1997dc(0x288)]['CUCUMBER']);if(!_0x46cdc7[_0x1997dc(0x28c)])return;const _0x16180f=_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x23c)]||helper[_0x1997dc(0x277)](_0x4cfc97,_0x298811,_0x46cdc7[_0x1997dc(0x28c)],constants[_0x1997dc(0x288)][_0x1997dc(0x242)])||0x1,_0xac50ab=Object[_0x1997dc(0x1f5)]({'server':helper[_0x1997dc(0x1e2)](_0x46cdc7['config']),'proxySettings':_0x46cdc7['config']['proxySettings'],'maxWorkers':_0x16180f,'browserStackLogLevel':_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x22b)],'skipSessionName':_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x1ff)][_0x1997dc(0x203)],'skipSessionStatus':_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x1ff)][_0x1997dc(0x21f)],'turboScaleUrl':_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x234)]},helper['getMultiDriverWorkerConfig'](_0x46cdc7[_0x1997dc(0x28c)],_0x30f5fd,constants['FRAMEWORKS'][_0x1997dc(0x242)])),_0x3033a6=process['argv'],[_0x32bbdb,_0x44153d]=helper[_0x1997dc(0x227)](_0x3033a6),_0x1c4577=path[_0x1997dc(0x1fd)](process[_0x1997dc(0x25a)](),_0x328dd9['ONCxR']);if(_0x328dd9[_0x1997dc(0x1e7)](_0x44153d['length'],0x0)){helper['createDir'](_0x1c4577);for(let _0x103533=_0x328dd9[_0x1997dc(0x205)](_0x32bbdb[_0x1997dc(0x214)],0x1);_0x328dd9[_0x1997dc(0x222)](_0x103533,0x0);_0x103533--){_0x3033a6[_0x1997dc(0x23a)](_0x32bbdb[_0x103533],0x2);}}_0x328dd9[_0x1997dc(0x237)](_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x27f)],null)?process['env'][_0x1997dc(0x25e)]=_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x27f)]:process[_0x1997dc(0x281)][_0x1997dc(0x25e)]=_0x328dd9[_0x1997dc(0x23b)];if(_0x230efb)try{const {checkAccessibilityPlatformConfig:_0x30868a}=_0x328dd9['rWBsU'](require,_0x328dd9[_0x1997dc(0x210)]),{setAccessibilityCapabilities:_0x46bbaf}=_0x328dd9[_0x1997dc(0x223)](require,_0x328dd9[_0x1997dc(0x1e6)]),_0x109d76=_0x328dd9[_0x1997dc(0x223)](_0x30868a,_0x46cdc7[_0x1997dc(0x28c)]);if(!helper[_0x1997dc(0x263)](_0x46cdc7[_0x1997dc(0x28c)]['accessibility']))process[_0x1997dc(0x281)][_0x1997dc(0x251)]=_0x328dd9[_0x1997dc(0x246)](String,!!_0x46cdc7[_0x1997dc(0x28c)][_0x1997dc(0x1fc)]);else helper[_0x1997dc(0x263)](process['env'][_0x1997dc(0x251)])&&(process[_0x1997dc(0x281)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x109d76?_0x328dd9[_0x1997dc(0x23b)]:_0x328dd9[_0x1997dc(0x21b)]);process['env'][_0x1997dc(0x253)]=_0x109d76?_0x328dd9[_0x1997dc(0x23b)]:_0x328dd9[_0x1997dc(0x21b)],!BrowserstackCLI[_0x1997dc(0x235)]()[_0x1997dc(0x220)]()&&_0x328dd9[_0x1997dc(0x202)](process[_0x1997dc(0x281)][_0x1997dc(0x251)],_0x328dd9[_0x1997dc(0x23b)])&&_0x328dd9[_0x1997dc(0x25f)](_0x46bbaf,_0x46cdc7[_0x1997dc(0x28c)]);}catch(_0x1ffdcc){logger[_0x1997dc(0x21d)](_0x1997dc(0x22e)+util[_0x1997dc(0x1f4)](_0x1ffdcc));}try{const _0x4152a3=_0x328dd9[_0x1997dc(0x223)](require,_0x328dd9['dDnPS']),_0x112c9d=_0x328dd9[_0x1997dc(0x224)](require,_0x328dd9[_0x1997dc(0x23f)]),{FRAMEWORKS:_0xe69eae}=_0x328dd9[_0x1997dc(0x25f)](require,_0x328dd9['CCJYv']),{checkAccessibilityPlatformConfig:_0x461473}=_0x328dd9[_0x1997dc(0x1f6)](require,_0x328dd9[_0x1997dc(0x210)]),{setAccessibilityCapabilities:_0x310e0d}=_0x328dd9['kzcOz'](require,_0x328dd9[_0x1997dc(0x1e6)]),_0x4020d1=helper[_0x1997dc(0x21a)](_0x328dd9[_0x1997dc(0x23d)]);if(_0x4020d1){_0x112c9d[_0x1997dc(0x259)](constants[_0x1997dc(0x288)][_0x1997dc(0x242)],constants[_0x1997dc(0x288)][_0x1997dc(0x26b)]);const _0x39c048=_0x4152a3['getInstance']();_0x39c048[_0x1997dc(0x264)](_0x46cdc7[_0x1997dc(0x28c)],_0x46cdc7['configPath'],_0x46cdc7['cliConfig']);!_0x39c048[_0x1997dc(0x249)]&&!_0x39c048[_0x1997dc(0x239)]&&await _0x39c048[_0x1997dc(0x207)]();const _0x80ed9c=_0x4152a3[_0x1997dc(0x235)]()[_0x1997dc(0x273)]();!helper[_0x1997dc(0x252)](_0x80ed9c[_0x1997dc(0x1ed)])&&(process['env'][_0x1997dc(0x1ec)]=_0x328dd9['cvuJW']);_0x328dd9[_0x1997dc(0x202)](_0x80ed9c[_0x1997dc(0x1ed)],![])&&(process[_0x1997dc(0x281)][_0x1997dc(0x1ec)]=_0x328dd9[_0x1997dc(0x21b)]);const _0x47d3d5=_0x298811[_0x1997dc(0x24e)](_0x328dd9[_0x1997dc(0x286)]);(_0x328dd9[_0x1997dc(0x219)](_0x47d3d5,0x0)||_0x328dd9[_0x1997dc(0x202)](_0x80ed9c['testObservability'],![]))&&(process['env'][_0x1997dc(0x262)]=_0x328dd9[_0x1997dc(0x21b)]);if(!_0x4152a3[_0x1997dc(0x235)]()[_0x1997dc(0x220)]()){let _0x37677d=_0x328dd9[_0x1997dc(0x1e4)](process[_0x1997dc(0x281)][_0x1997dc(0x251)],_0x328dd9['cvuJW']);_0x37677d=_0x37677d||_0x328dd9[_0x1997dc(0x1e0)](_0x461473,_0x46cdc7[_0x1997dc(0x28c)]),process[_0x1997dc(0x281)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x37677d,_0x37677d&&_0x328dd9[_0x1997dc(0x1e0)](_0x310e0d,_0x46cdc7['config']);}}}catch(_0x1ac1a6){logger[_0x1997dc(0x21d)](_0x1997dc(0x22f)+util[_0x1997dc(0x1f4)](_0x1ac1a6));}!BrowserstackCLI[_0x1997dc(0x235)]()[_0x1997dc(0x220)]()&&await _0x46cdc7[_0x1997dc(0x244)]();PerformanceTester['end'](PerformanceEvents[_0x1997dc(0x204)]),process[_0x1997dc(0x281)][_0x328dd9['JqJDX']]=process['cwd']();let _0x394e4e;_0x328dd9[_0x1997dc(0x261)](parallelCucumberRun,_0x220871,_0xac50ab,_0x46cdc7[_0x1997dc(0x28c)],_0x3033a6,_0x44153d)[_0x1997dc(0x1fb)](async _0x36dcbb=>{const _0x436189=_0x1997dc;PerformanceTester[_0x436189(0x22a)](PerformanceEvents['SDK_CLEANUP']),_0x394e4e=_0x36dcbb;const _0x5e9eb8=_0x328dd9['tCRzF'](printCucumberStats,_0x36dcbb);process[_0x436189(0x27d)]=_0x5e9eb8,_0x328dd9['BBQnZ'](_0x44153d['length'],0x0)&&(logger[_0x436189(0x21d)](_0x328dd9[_0x436189(0x215)]),helper[_0x436189(0x269)](_0x1c4577,_0x44153d),logger[_0x436189(0x21d)](_0x328dd9[_0x436189(0x1eb)]),helper['removeDir'](_0x1c4577));})[_0x1997dc(0x1e5)](async()=>{const _0x4cc23f=_0x1997dc;PerformanceTester[_0x4cc23f(0x22a)](PerformanceEvents[_0x4cc23f(0x27e)]),_0x46cdc7['errorMessage']=helper[_0x4cc23f(0x1e9)](_0x394e4e,_0x328dd9[_0x4cc23f(0x265)]),testOpsHelper[_0x4cc23f(0x257)]();const _0x2a5668=BrowserstackCLI[_0x4cc23f(0x1e8)]();try{await TestHubHandler[_0x4cc23f(0x1fe)](),await BrowserstackCLI['getInstance']()[_0x4cc23f(0x1fe)]();}catch(_0x1999f9){logger[_0x4cc23f(0x21d)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x1999f9));}await utilities['finalExecution'](_0x46cdc7,_0x2a5668);});}module[a4_0x27958c(0x236)]=run;
|
|
2
|
+
'use strict';const a4_0x36fc0d=a4_0x34bb;(function(_0x302510,_0x359887){const _0x4e22f0=a4_0x34bb,_0x2dc363=_0x302510();while(!![]){try{const _0x4d63b0=parseInt(_0x4e22f0(0x147))/0x1*(parseInt(_0x4e22f0(0x182))/0x2)+parseInt(_0x4e22f0(0x1c9))/0x3+parseInt(_0x4e22f0(0x17c))/0x4*(-parseInt(_0x4e22f0(0x18f))/0x5)+parseInt(_0x4e22f0(0x1e7))/0x6*(-parseInt(_0x4e22f0(0x1eb))/0x7)+-parseInt(_0x4e22f0(0x19d))/0x8+parseInt(_0x4e22f0(0x1c5))/0x9+-parseInt(_0x4e22f0(0x1ee))/0xa*(parseInt(_0x4e22f0(0x1ed))/0xb);if(_0x4d63b0===_0x359887)break;else _0x2dc363['push'](_0x2dc363['shift']());}catch(_0x424156){_0x2dc363['push'](_0x2dc363['shift']());}}}(a4_0x3766,0xa96c6));function a4_0x34bb(_0x109939,_0x181422){const _0x3766df=a4_0x3766();return a4_0x34bb=function(_0x34bb25,_0xd6f7c4){_0x34bb25=_0x34bb25-0x144;let _0x32e366=_0x3766df[_0x34bb25];return _0x32e366;},a4_0x34bb(_0x109939,_0x181422);}const path=require(a4_0x36fc0d(0x17d)),util=require(a4_0x36fc0d(0x1d8)),logger=require(a4_0x36fc0d(0x1b2))[a4_0x36fc0d(0x199)],helper=require('../../helpers/helper'),utilities=require(a4_0x36fc0d(0x1e6)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x36fc0d(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a4_0x36fc0d(0x178)),chalk=require(a4_0x36fc0d(0x154)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a4_0x36fc0d(0x187))[a4_0x36fc0d(0x1a8)],BrowserstackCLI=require(a4_0x36fc0d(0x16c)),CLIUtils=require(a4_0x36fc0d(0x198)),{checkPwandBootstrapCli}=require(a4_0x36fc0d(0x1b3)),ClientTroubleShootingService=require(a4_0x36fc0d(0x196));function printCucumberStats(_0x50bae0){const _0x36f7ed=a4_0x36fc0d,_0x528ac7={};_0x528ac7[_0x36f7ed(0x1d9)]=function(_0x4cb7af,_0x1d1e15){return _0x4cb7af>_0x1d1e15;},_0x528ac7[_0x36f7ed(0x16f)]=function(_0x1a8853,_0x572838){return _0x1a8853-_0x572838;},_0x528ac7[_0x36f7ed(0x1b4)]=function(_0x15915a,_0x365c5c){return _0x15915a-_0x365c5c;},_0x528ac7[_0x36f7ed(0x14d)]=function(_0x115250,_0x2a2369){return _0x115250>_0x2a2369;},_0x528ac7[_0x36f7ed(0x1ad)]=function(_0x585218,_0x295743){return _0x585218>_0x295743;},_0x528ac7[_0x36f7ed(0x1cc)]=function(_0x19985f,_0x1c78ca){return _0x19985f+_0x1c78ca;},_0x528ac7[_0x36f7ed(0x162)]=function(_0x2738ab,_0x3218c3){return _0x2738ab+_0x3218c3;},_0x528ac7[_0x36f7ed(0x1c1)]=function(_0x2b2b40,_0x40ead9){return _0x2b2b40+_0x40ead9;},_0x528ac7['mXEuX']=function(_0x5be49a,_0xb4c267){return _0x5be49a+_0xb4c267;},_0x528ac7['uwXwo']=function(_0x2dc0e7,_0x3e509c){return _0x2dc0e7+_0x3e509c;},_0x528ac7['BuqBR']=function(_0x88556a,_0x3e1f1f){return _0x88556a+_0x3e1f1f;},_0x528ac7[_0x36f7ed(0x165)]=function(_0x2bfff4,_0x9c81b5){return _0x2bfff4+_0x9c81b5;},_0x528ac7['ZmOGx']=function(_0x108e88,_0x2562dd){return _0x108e88===_0x2562dd;},_0x528ac7[_0x36f7ed(0x15f)]='****\x20RESULTS\x20****';const _0x4b7978=_0x528ac7;let _0x1a388c=0x0;if(_0x4b7978['ZmOGx'](_0x50bae0[_0x36f7ed(0x166)],0x0))return _0x1a388c;return console[_0x36f7ed(0x1ea)](chalk[_0x36f7ed(0x170)]['bgWhite'](_0x4b7978['MyvXs'])),_0x50bae0[_0x36f7ed(0x191)](_0x12695a=>{const _0x1dc2f9=_0x36f7ed,_0x231e37=_0x12695a[0x0],_0x9780a4=_0x12695a[0x1];helper[_0x1dc2f9(0x19c)]()&&console[_0x1dc2f9(0x1ea)]('\x0a'+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1ce)](''+helper[_0x1dc2f9(0x184)](_0x231e37)));const _0x1a4004=_0x9780a4[_0x1dc2f9(0x15a)],_0x396da4=_0x9780a4[_0x1dc2f9(0x1ca)],_0x5ad600=_0x9780a4[_0x1dc2f9(0x1f5)],_0x1e0f59=_0x9780a4[_0x1dc2f9(0x17b)],_0x3affb3=_0x9780a4[_0x1dc2f9(0x158)],_0x19ec8c=_0x9780a4[_0x1dc2f9(0x185)],_0x2b6e73=_0x9780a4['stepsPending'],_0x9d0f97=_0x9780a4[_0x1dc2f9(0x174)],_0x52138a=_0x9780a4['stepsUnknown'],_0x3cb771=_0x9780a4[_0x1dc2f9(0x1a5)],_0x2ebbfe=_0x9780a4[_0x1dc2f9(0x169)];let _0x5d853c=_0x1a4004+'\x20scenarios';const _0x46eb1c=_0x4b7978[_0x1dc2f9(0x1d9)](_0x4b7978['rglnh'](_0x1a4004,_0x5ad600),0x0)?_0x4b7978[_0x1dc2f9(0x1b4)](_0x1a4004,_0x5ad600):0x0;if(_0x4b7978[_0x1dc2f9(0x1d9)](_0x5ad600,0x0)&&_0x4b7978[_0x1dc2f9(0x1d9)](_0x46eb1c,0x0))_0x5d853c+='\x20('+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1c3)](_0x5ad600+_0x1dc2f9(0x152))+',\x20'+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x16b)](_0x46eb1c+_0x1dc2f9(0x1a4))+')';else(_0x4b7978[_0x1dc2f9(0x1d9)](_0x5ad600,0x0)||_0x4b7978['zlIRM'](_0x46eb1c,0x0))&&(_0x5d853c+=_0x4b7978[_0x1dc2f9(0x1d9)](_0x5ad600,0x0)?'\x20('+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1c3)](_0x5ad600+_0x1dc2f9(0x152))+')':'\x20('+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x16b)](_0x46eb1c+_0x1dc2f9(0x1a4))+')');const _0x4fcecb=_0x396da4+_0x1dc2f9(0x17e),_0x5e0e92=[];_0x4b7978[_0x1dc2f9(0x14d)](_0x3cb771,0x0)&&_0x5e0e92[_0x1dc2f9(0x1c4)](''+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1c3)](_0x3cb771+'\x20ambiguous'));_0x4b7978[_0x1dc2f9(0x14d)](_0x1e0f59,0x0)&&_0x5e0e92[_0x1dc2f9(0x1c4)](''+chalk['bold']['red'](_0x1e0f59+_0x1dc2f9(0x152)));_0x4b7978[_0x1dc2f9(0x1d9)](_0x3affb3,0x0)&&_0x5e0e92['push'](''+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x16b)](_0x3affb3+_0x1dc2f9(0x1a4)));_0x4b7978['cdWmr'](_0x2b6e73,0x0)&&_0x5e0e92[_0x1dc2f9(0x1c4)](''+chalk['bold'][_0x1dc2f9(0x1ce)](_0x2b6e73+_0x1dc2f9(0x163)));_0x4b7978[_0x1dc2f9(0x1ad)](_0x19ec8c,0x0)&&_0x5e0e92[_0x1dc2f9(0x1c4)](''+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1a1)](_0x19ec8c+'\x20skipped'));_0x4b7978[_0x1dc2f9(0x14d)](_0x9d0f97,0x0)&&_0x5e0e92[_0x1dc2f9(0x1c4)](''+chalk[_0x1dc2f9(0x170)]['yellow'](_0x9d0f97+_0x1dc2f9(0x19f)));_0x4b7978['cdWmr'](_0x52138a,0x0)&&_0x5e0e92['push'](''+chalk[_0x1dc2f9(0x170)][_0x1dc2f9(0x1ce)](_0x52138a+_0x1dc2f9(0x1be)));const _0xce2e31=_0x4b7978['Mwmsv'](_0x4b7978['SdhWW'](_0x4b7978[_0x1dc2f9(0x1c1)](_0x4fcecb,'('),_0x5e0e92[_0x1dc2f9(0x1f6)](',\x20')),')');console[_0x1dc2f9(0x1ea)](_0x4b7978[_0x1dc2f9(0x168)](_0x4b7978[_0x1dc2f9(0x1da)](_0x4b7978[_0x1dc2f9(0x1d2)](_0x4b7978['CVpPa']('\x0a',_0x5d853c),'\x0a'),_0xce2e31),'\x0a')),_0x4b7978[_0x1dc2f9(0x1b7)](_0x2ebbfe,![])&&(_0x1a388c=0x1);}),_0x1a388c;}async function run(_0x38c6f4,_0x3d692b,_0x3f8ef2){const _0x2eba59=a4_0x36fc0d,_0x47b8c7={'UIEOo':function(_0x1b12b5,_0x1ac8c9){return _0x1b12b5(_0x1ac8c9);},'mGeBw':function(_0x5bee5a,_0x307eed){return _0x5bee5a>_0x307eed;},'brUaT':_0x2eba59(0x1cb),'Gofhs':_0x2eba59(0x1dc),'slwSs':_0x2eba59(0x1f0),'dxUAO':_0x2eba59(0x179),'UqtJC':_0x2eba59(0x1d6),'aDZQK':function(_0x3210b4,_0x291543,_0x41e3eb,_0x51826d){return _0x3210b4(_0x291543,_0x41e3eb,_0x51826d);},'mhxIJ':_0x2eba59(0x1d7),'ugizb':function(_0x5f3e29,_0x46a11d){return _0x5f3e29>_0x46a11d;},'LamZf':function(_0x58ee5c,_0x1c2fa3){return _0x58ee5c-_0x1c2fa3;},'XtMdJ':function(_0x48a9ee,_0x1b3291){return _0x48a9ee>=_0x1b3291;},'EiZEF':function(_0x1d1d4c,_0x2de5d6){return _0x1d1d4c!=_0x2de5d6;},'MUgRe':_0x2eba59(0x1bc),'cKeeO':'../../helpers/accessibility-automation/helper','rXJMM':_0x2eba59(0x1bd),'yvfMC':function(_0x52118b,_0x4f4c94){return _0x52118b(_0x4f4c94);},'wAXoK':function(_0x23e15b,_0x58e505){return _0x23e15b(_0x58e505);},'IPqkA':_0x2eba59(0x18c),'flAzq':function(_0x2e67aa,_0x25e15a){return _0x2e67aa===_0x25e15a;},'SVTbL':'../v2/browserstackCLI','hFyhI':function(_0x3de19e,_0x30ba89){return _0x3de19e(_0x30ba89);},'SsUpv':_0x2eba59(0x198),'eWFTQ':_0x2eba59(0x1cd),'JJuKM':function(_0x4c78e2,_0xdead90){return _0x4c78e2(_0xdead90);},'QKGoy':function(_0x118522,_0x2666c0){return _0x118522(_0x2666c0);},'xrpYh':function(_0x4f526c,_0x2df745){return _0x4f526c===_0x2df745;},'HPtPJ':_0x2eba59(0x1f1),'VYzqG':function(_0x58f4da,_0x1fdd4f){return _0x58f4da>=_0x1fdd4f;},'jejyt':function(_0x4ffc3a,_0x4f2680){return _0x4ffc3a===_0x4f2680;},'eSrmZ':function(_0x2cf15d,_0x45af39){return _0x2cf15d===_0x45af39;},'MLjXt':function(_0x4993cc,_0x11ef1e){return _0x4993cc(_0x11ef1e);},'VHvLO':_0x2eba59(0x1b1),'memJR':function(_0x479887,_0x14c928,_0x150c2a,_0x3be62a,_0x49d5b6,_0x4ec38a){return _0x479887(_0x14c928,_0x150c2a,_0x3be62a,_0x49d5b6,_0x4ec38a);}},_0x2dbe1b=helper[_0x2eba59(0x15b)](_0x47b8c7[_0x2eba59(0x1dd)]);global['__isPlaywrightInstalled']=!!_0x2dbe1b,process[_0x2eba59(0x1d3)][_0x2eba59(0x153)]=process[_0x2eba59(0x1d3)]['BROWSERSTACK_FRAMEWORK']||_0x3f8ef2['framework']||_0x47b8c7[_0x2eba59(0x1b0)],await _0x3f8ef2[_0x2eba59(0x1ab)](_0x38c6f4);if(_0x3f8ef2[_0x2eba59(0x1a2)]&&!helper[_0x2eba59(0x16e)](_0x3f8ef2['config'][_0x2eba59(0x175)])){process[_0x2eba59(0x1d3)]['BROWSERSTACK_LOG_LEVEL']=_0x3f8ef2[_0x2eba59(0x1a2)]['logLevel'];const _0x1623f1={};_0x1623f1[_0x2eba59(0x175)]=_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x175)],helper[_0x2eba59(0x1e1)](_0x1623f1,new Map(),new Map());}await _0x47b8c7[_0x2eba59(0x18d)](checkPwandBootstrapCli,_0x2dbe1b,constants[_0x2eba59(0x1e0)]['CUCUMBER'],_0x3f8ef2);BrowserstackCLI[_0x2eba59(0x177)]()[_0x2eba59(0x1a3)]&&(process[_0x2eba59(0x1d3)][_0x2eba59(0x1a6)]=BrowserstackCLI[_0x2eba59(0x177)]()['binSessionId']);helper[_0x2eba59(0x18e)](_0x3f8ef2[_0x2eba59(0x159)],_0x38c6f4),await helper['handleApp'](_0x3f8ef2[_0x2eba59(0x1a2)]);const _0x13b35c=helper['useW3C'](_0x3f8ef2[_0x2eba59(0x1a2)]);!helper[_0x2eba59(0x16e)](_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x14b)])&&(process[_0x2eba59(0x1d3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2eba59(0x193)](_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x14b)]));if(!BrowserstackCLI[_0x2eba59(0x177)]()[_0x2eba59(0x146)]()){const _0x247855=await TestHubHandler[_0x2eba59(0x17a)](constants['FRAMEWORKS'][_0x2eba59(0x1e2)],_0x3f8ef2);}let _0x1f35f5=[];if(!helper[_0x2eba59(0x19c)]()){const _0x577de0={};_0x577de0[_0x2eba59(0x14e)]=[],_0x1f35f5=helper['prepareCapabilities'](Object[_0x2eba59(0x17f)]({},_0x3f8ef2[_0x2eba59(0x1a2)],_0x577de0),_0x13b35c,constants[_0x2eba59(0x1e0)][_0x2eba59(0x1e2)]);}else _0x1f35f5=helper[_0x2eba59(0x1c7)](_0x3f8ef2['config'],_0x13b35c,constants[_0x2eba59(0x1e0)][_0x2eba59(0x1e2)]);if(!_0x3f8ef2[_0x2eba59(0x1a2)])return;const _0x34ad94=_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x148)]||helper[_0x2eba59(0x194)](_0x38c6f4,_0x3d692b,_0x3f8ef2[_0x2eba59(0x1a2)],constants[_0x2eba59(0x1e0)]['CUCUMBER'])||0x1,_0x30628f=Object[_0x2eba59(0x17f)]({'server':helper[_0x2eba59(0x157)](_0x3f8ef2[_0x2eba59(0x1a2)]),'proxySettings':_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x1d4)],'maxWorkers':_0x34ad94,'browserStackLogLevel':_0x3f8ef2[_0x2eba59(0x1a2)]['logLevel'],'skipSessionName':_0x3f8ef2[_0x2eba59(0x1a2)]['testContextOptions'][_0x2eba59(0x15d)],'skipSessionStatus':_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x160)][_0x2eba59(0x1c2)],'turboScaleUrl':_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x150)]},helper[_0x2eba59(0x156)](_0x3f8ef2['config'],_0x13b35c,constants[_0x2eba59(0x1e0)][_0x2eba59(0x1e2)])),_0x3b69ba=process[_0x2eba59(0x1af)],[_0x4bc927,_0x1053e5]=helper[_0x2eba59(0x171)](_0x3b69ba),_0x424ab6=path['join'](process[_0x2eba59(0x189)](),_0x47b8c7[_0x2eba59(0x155)]);if(_0x47b8c7[_0x2eba59(0x18b)](_0x1053e5['length'],0x0)){helper[_0x2eba59(0x1d1)](_0x424ab6);for(let _0x4d75fc=_0x47b8c7[_0x2eba59(0x149)](_0x4bc927[_0x2eba59(0x166)],0x1);_0x47b8c7[_0x2eba59(0x1ba)](_0x4d75fc,0x0);_0x4d75fc--){_0x3b69ba[_0x2eba59(0x15c)](_0x4bc927[_0x4d75fc],0x2);}}_0x47b8c7[_0x2eba59(0x19b)](_0x3f8ef2['config'][_0x2eba59(0x1bf)],null)?process[_0x2eba59(0x1d3)][_0x2eba59(0x1b8)]=_0x3f8ef2[_0x2eba59(0x1a2)]['testObservability']:process[_0x2eba59(0x1d3)][_0x2eba59(0x1b8)]=_0x47b8c7[_0x2eba59(0x181)];if(_0x2dbe1b)try{const {checkAccessibilityPlatformConfig:_0x5aca2f}=_0x47b8c7['UIEOo'](require,_0x47b8c7[_0x2eba59(0x1df)]),{setAccessibilityCapabilities:_0x564a13}=_0x47b8c7['UIEOo'](require,_0x47b8c7[_0x2eba59(0x16a)]),_0xbbe274=_0x47b8c7[_0x2eba59(0x1d5)](_0x5aca2f,_0x3f8ef2['config']);if(!helper[_0x2eba59(0x16e)](_0x3f8ef2[_0x2eba59(0x1a2)]['accessibility']))process[_0x2eba59(0x1d3)][_0x2eba59(0x1a0)]=_0x47b8c7[_0x2eba59(0x1e5)](String,!!_0x3f8ef2[_0x2eba59(0x1a2)][_0x2eba59(0x19a)]);else helper[_0x2eba59(0x16e)](process['env'][_0x2eba59(0x1a0)])&&(process[_0x2eba59(0x1d3)][_0x2eba59(0x1a0)]=_0xbbe274?_0x47b8c7['MUgRe']:_0x47b8c7[_0x2eba59(0x1e9)]);process[_0x2eba59(0x1d3)][_0x2eba59(0x173)]=_0xbbe274?_0x47b8c7[_0x2eba59(0x181)]:_0x47b8c7[_0x2eba59(0x1e9)],!BrowserstackCLI[_0x2eba59(0x177)]()[_0x2eba59(0x146)]()&&_0x47b8c7[_0x2eba59(0x176)](process['env'][_0x2eba59(0x1a0)],_0x47b8c7[_0x2eba59(0x181)])&&_0x47b8c7['yvfMC'](_0x564a13,_0x3f8ef2[_0x2eba59(0x1a2)]);}catch(_0x506c18){logger[_0x2eba59(0x183)](_0x2eba59(0x1ec)+util[_0x2eba59(0x14c)](_0x506c18));}try{const _0x352d13=_0x47b8c7[_0x2eba59(0x18a)](require,_0x47b8c7[_0x2eba59(0x190)]),_0x3e570b=_0x47b8c7[_0x2eba59(0x1c6)](require,_0x47b8c7[_0x2eba59(0x1bb)]),{FRAMEWORKS:_0x2548d4}=_0x47b8c7[_0x2eba59(0x1c6)](require,_0x47b8c7[_0x2eba59(0x161)]),{checkAccessibilityPlatformConfig:_0x3c04f7}=_0x47b8c7[_0x2eba59(0x1c8)](require,_0x47b8c7[_0x2eba59(0x1df)]),{setAccessibilityCapabilities:_0x1cf0de}=_0x47b8c7[_0x2eba59(0x151)](require,_0x47b8c7[_0x2eba59(0x16a)]),_0xbfba9=helper[_0x2eba59(0x15b)](_0x47b8c7[_0x2eba59(0x1dd)]);if(_0xbfba9){_0x3e570b[_0x2eba59(0x197)](constants['FRAMEWORKS'][_0x2eba59(0x1e2)],constants[_0x2eba59(0x1e0)][_0x2eba59(0x1f2)]);const _0x140f2e=_0x352d13[_0x2eba59(0x177)]();_0x140f2e[_0x2eba59(0x14f)](_0x3f8ef2[_0x2eba59(0x1a2)],_0x3f8ef2[_0x2eba59(0x1b5)],_0x3f8ef2[_0x2eba59(0x1b6)]);!_0x140f2e[_0x2eba59(0x1f3)]&&!_0x140f2e['isChildConnected']&&await _0x140f2e[_0x2eba59(0x1ae)]();const _0xb8548f=_0x352d13['getInstance']()[_0x2eba59(0x1db)]();!helper[_0x2eba59(0x16d)](_0xb8548f[_0x2eba59(0x188)])&&(process[_0x2eba59(0x1d3)][_0x2eba59(0x1a9)]=_0x47b8c7[_0x2eba59(0x181)]);_0x47b8c7[_0x2eba59(0x145)](_0xb8548f['browserstackAutomation'],![])&&(process[_0x2eba59(0x1d3)][_0x2eba59(0x1a9)]=_0x47b8c7[_0x2eba59(0x1e9)]);const _0x425741=_0x3d692b[_0x2eba59(0x180)](_0x47b8c7['HPtPJ']);(_0x47b8c7[_0x2eba59(0x1ac)](_0x425741,0x0)||_0x47b8c7[_0x2eba59(0x1f7)](_0xb8548f['testObservability'],![]))&&(process[_0x2eba59(0x1d3)][_0x2eba59(0x1a7)]=_0x47b8c7['IPqkA']);if(!_0x352d13[_0x2eba59(0x177)]()[_0x2eba59(0x146)]()){let _0x4daa85=_0x47b8c7['eSrmZ'](process[_0x2eba59(0x1d3)][_0x2eba59(0x1a0)],_0x47b8c7['MUgRe']);_0x4daa85=_0x4daa85||_0x47b8c7[_0x2eba59(0x18a)](_0x3c04f7,_0x3f8ef2[_0x2eba59(0x1a2)]),process[_0x2eba59(0x1d3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4daa85,_0x4daa85&&_0x47b8c7[_0x2eba59(0x1f4)](_0x1cf0de,_0x3f8ef2[_0x2eba59(0x1a2)]);}}}catch(_0x52e31a){logger[_0x2eba59(0x183)](_0x2eba59(0x167)+util[_0x2eba59(0x14c)](_0x52e31a));}!BrowserstackCLI[_0x2eba59(0x177)]()['isRunning']()&&await _0x3f8ef2[_0x2eba59(0x14a)]();PerformanceTester[_0x2eba59(0x186)](PerformanceEvents['SDK_SETUP']),process[_0x2eba59(0x1d3)][_0x47b8c7['VHvLO']]=process[_0x2eba59(0x189)]();let _0x4cb548;_0x47b8c7[_0x2eba59(0x1e8)](parallelCucumberRun,_0x1f35f5,_0x30628f,_0x3f8ef2[_0x2eba59(0x1a2)],_0x3b69ba,_0x1053e5)[_0x2eba59(0x144)](async _0x2c4fc0=>{const _0x8daadd=_0x2eba59;PerformanceTester[_0x8daadd(0x15e)](PerformanceEvents[_0x8daadd(0x19e)]),_0x4cb548=_0x2c4fc0;const _0x3a1e8=_0x47b8c7[_0x8daadd(0x18a)](printCucumberStats,_0x2c4fc0);process[_0x8daadd(0x195)]=_0x3a1e8,_0x47b8c7['mGeBw'](_0x1053e5[_0x8daadd(0x166)],0x0)&&(logger[_0x8daadd(0x183)](_0x47b8c7[_0x8daadd(0x164)]),helper[_0x8daadd(0x1d0)](_0x424ab6,_0x1053e5),logger[_0x8daadd(0x183)](_0x47b8c7['Gofhs']),helper[_0x8daadd(0x1ef)](_0x424ab6));})['finally'](async()=>{const _0x4ab47a=_0x2eba59;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3f8ef2['errorMessage']=helper[_0x4ab47a(0x1aa)](_0x4cb548,_0x47b8c7[_0x4ab47a(0x1e3)]),testOpsHelper[_0x4ab47a(0x192)]();const _0xc1eac7=BrowserstackCLI[_0x4ab47a(0x172)]();try{await TestHubHandler[_0x4ab47a(0x1de)](),await BrowserstackCLI[_0x4ab47a(0x177)]()[_0x4ab47a(0x1de)]();}catch(_0x256a2f){logger[_0x4ab47a(0x183)](_0x4ab47a(0x1c0)+util[_0x4ab47a(0x14c)](_0x256a2f));}await utilities[_0x4ab47a(0x1e4)](_0x3f8ef2,_0xc1eac7);});}module[a4_0x36fc0d(0x1b9)]=run;function a4_0x3766(){const _0x35f03d=['mergeOutputFiles','createDir','BuqBR','env','proxySettings','yvfMC','cucumber-js','tmp','util','zlIRM','uwXwo','getConfig','Removing\x20tmp\x20directory\x20created\x20for\x20reports','dxUAO','stop','cKeeO','FRAMEWORKS','setLogLevel','CUCUMBER','slwSs','finalExecution','wAXoK','../../helpers/utilities','42zUhiXL','memJR','IPqkA','log','202874kcMLhP','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','44lxsKyA','1872160aHPuSz','removeDir','cucumber','--disable-test-observability','PLAYWRIGHT','isMainConnected','MLjXt','scenariosFailed','join','jejyt','then','xrpYh','isRunning','447451WPPICF','parallelsPerPlatform','LamZf','setupBrowserstackLocal','accessibilityOptions','format','cdWmr','platforms','setBrowserstackConfig','turboScaleUrl','QKGoy','\x20failed','BROWSERSTACK_FRAMEWORK','chalk','mhxIJ','getMultiDriverWorkerConfig','getHubUrl','stepsPassed','framework','scenarios','getPackageVersion','splice','skipSessionName','start','MyvXs','testContextOptions','eWFTQ','SdhWW','\x20pending','brUaT','CVpPa','length','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','mXEuX','processSuccess','rXJMM','green','../v2/browserstackCLI','isFalse','isUndefined','rglnh','bold','parseFormatters','isCLIEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','stepsUndefined','logLevel','flAzq','getInstance','../../helpers/test-observability/utils','@playwright/test','launchBuild','stepsFailed','152BdhPqJ','path','\x20steps','assign','indexOf','MUgRe','4vhyQzl','debug','getPlatformName','stepsSkipped','end','../../helpers/performance/constants','browserstackAutomation','cwd','UIEOo','ugizb','false','aDZQK','setUserConfigPath','97525wALjEH','SVTbL','forEach','printBuildLink','stringify','getUserWorkerCount','exitCode','../utils/clientTroubleshootingService','setFrameworkDetail','../v2/cliUtils','winstonLogger','accessibility','EiZEF','isBrowserstackInfra','7241656mXWBFb','SDK_CLEANUP','\x20undefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cyan','config','binSessionId','\x20passed','stepsAmbiguous','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_TEST_OBSERVABILITY','EVENTS','BROWSERSTACK_AUTOMATION','getErrorMessageFromResults','initialize','VYzqG','QuppE','bootstrap','argv','UqtJC','browserStackCwd','../../helpers/logger','../../helpers/playwright-helper','SRhyg','configPath','cliConfig','ZmOGx','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','XtMdJ','SsUpv','true','../playwright/accessibility-helper','\x20skipped','testObservability','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','joyOg','skipSessionStatus','red','push','10253259vVhtFA','hFyhI','prepareCapabilities','JJuKM','3773820rnVKVK','steps','Generating\x20consolidated\x20report...','Mwmsv','../../helpers/test-observability/constants','yellow','../test-runner'];a4_0x3766=function(){return _0x35f03d;};return a4_0x3766();}
|