browserstack-node-sdk 1.70.3 → 1.71.0
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_0x1ee31f=a1_0x3cbf;(function(_0x5554a1,_0x4bc8dd){const _0x50f7bd=a1_0x3cbf,_0x44a9b5=_0x5554a1();while(!![]){try{const _0x166ce6=-parseInt(_0x50f7bd(0xfd))/0x1*(parseInt(_0x50f7bd(0x171))/0x2)+parseInt(_0x50f7bd(0x177))/0x3+parseInt(_0x50f7bd(0x183))/0x4*(parseInt(_0x50f7bd(0x161))/0x5)+parseInt(_0x50f7bd(0xfa))/0x6+-parseInt(_0x50f7bd(0x180))/0x7*(-parseInt(_0x50f7bd(0x104))/0x8)+-parseInt(_0x50f7bd(0x136))/0x9*(parseInt(_0x50f7bd(0xee))/0xa)+-parseInt(_0x50f7bd(0x152))/0xb;if(_0x166ce6===_0x4bc8dd)break;else _0x44a9b5['push'](_0x44a9b5['shift']());}catch(_0x2764cc){_0x44a9b5['push'](_0x44a9b5['shift']());}}}(a1_0x1e81,0x60627));function a1_0x3cbf(_0x5bda04,_0x268cc0){const _0x1e8145=a1_0x1e81();return a1_0x3cbf=function(_0x3cbf67,_0xbe19c4){_0x3cbf67=_0x3cbf67-0xdc;let _0xb1074e=_0x1e8145[_0x3cbf67];return _0xb1074e;},a1_0x3cbf(_0x5bda04,_0x268cc0);}const fs=require('fs'),path=require(a1_0x1ee31f(0x111)),util=require(a1_0x1ee31f(0x17c)),process=require('process'),logger=require(a1_0x1ee31f(0x18b))['winstonLogger'],{default:BrowserStackSetup}=require(a1_0x1ee31f(0x150)),helper=require('../../helpers/helper'),utilities=require(a1_0x1ee31f(0x14a)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x1ee31f(0x134)),CodeceptJS=requireModule(a1_0x1ee31f(0x149),a1_0x1ee31f(0x14d)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a1_0x1ee31f(0x12b)),BrowserstackCLI=require(a1_0x1ee31f(0x154)),constants=require(a1_0x1ee31f(0xe0)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a1_0x1ee31f(0xf6)),PerformanceEvents=require(a1_0x1ee31f(0x159))['EVENTS'],ClientTroubleShootingService=require(a1_0x1ee31f(0x166)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5bf31d,_0x49d460)=>{const _0x5a43e4=a1_0x1ee31f,_0x2b876e={};_0x2b876e[_0x5a43e4(0x11c)]=function(_0x160913,_0x323b20){return _0x160913===_0x323b20;},_0x2b876e['KtwPa']=_0x5a43e4(0x11e),_0x2b876e[_0x5a43e4(0x13c)]=_0x5a43e4(0x13b);const _0x55c5c3=_0x2b876e;let _0x10c0d8=null;const _0x3c005c={};let _0x55ed02=_0x49d460[_0x5a43e4(0x16b)](_0x21c550=>_0x21c550==='--config');_0x55c5c3['hWtLC'](_0x55ed02,-0x1)&&(_0x55ed02=_0x49d460[_0x5a43e4(0x16b)](_0x3f516b=>_0x3f516b==='-c'));const _0x2c6d33=!helper[_0x5a43e4(0xeb)](_0x5bf31d[_0x5a43e4(0x14b)])?helper[_0x5a43e4(0x16a)](_0x5bf31d[_0x5a43e4(0x14b)]):null,_0x2fad3c=!helper['isUndefined'](_0x5bf31d['c'])?helper[_0x5a43e4(0x16a)](_0x5bf31d['c']):null;if(!helper[_0x5a43e4(0xeb)](_0x5bf31d[_0x5a43e4(0x14b)])&&!_0x2c6d33)logger['warn'](_0x5a43e4(0x15d)+_0x5bf31d[_0x5a43e4(0x14b)]+_0x5a43e4(0xf2));else!helper[_0x5a43e4(0xeb)](_0x5bf31d['c'])&&!_0x2fad3c&&logger[_0x5a43e4(0xe1)](_0x5a43e4(0x106)+_0x5bf31d['c']+_0x5a43e4(0xf2));if(_0x2c6d33&&fs['existsSync'](_0x2c6d33))_0x10c0d8=_0x2c6d33,_0x49d460['splice'](_0x55ed02,0x2);else{if(_0x2fad3c&&fs[_0x5a43e4(0x158)](_0x2fad3c))_0x10c0d8=_0x2fad3c,_0x49d460[_0x5a43e4(0x164)](_0x55ed02,0x2);else{if(fs['existsSync'](path['join'](process[_0x5a43e4(0x184)](),_0x55c5c3[_0x5a43e4(0xe9)])))_0x10c0d8=path[_0x5a43e4(0x115)](process[_0x5a43e4(0x184)](),_0x55c5c3[_0x5a43e4(0xe9)]);else fs['existsSync'](path[_0x5a43e4(0x115)](process['cwd'](),_0x55c5c3[_0x5a43e4(0x13c)]))&&(_0x10c0d8=path[_0x5a43e4(0x115)](process[_0x5a43e4(0x184)](),_0x55c5c3[_0x5a43e4(0x13c)]));}}return process[_0x5a43e4(0x144)][_0x5a43e4(0x103)]=_0x10c0d8,_0x10c0d8;},getO11yRerunPattern=()=>{const _0x5b173c=a1_0x1ee31f,_0x23f492=helper['isTrue'](process['env'][_0x5b173c(0x145)]);if(_0x23f492){const _0x2d7335=process[_0x5b173c(0x144)][_0x5b173c(0x13e)],_0x1629b7=[];if(helper[_0x5b173c(0x17b)](_0x2d7335)&&!helper[_0x5b173c(0xeb)](_0x2d7335)){_0x2d7335[_0x5b173c(0x155)](',')['map'](_0x257378=>{const _0x3f61cf=_0x5b173c;_0x1629b7['push']('('+_0x257378[_0x3f61cf(0x157)]()+')');});const _0x13c05a='^'+_0x1629b7[_0x5b173c(0x115)]('|')+'$';return _0x13c05a;}}return null;},a1_0x1a178b={};a1_0x1a178b[a1_0x1ee31f(0xe4)]='chromium',a1_0x1a178b[a1_0x1ee31f(0x126)]=a1_0x1ee31f(0x148),a1_0x1a178b[a1_0x1ee31f(0x142)]=a1_0x1ee31f(0x179),a1_0x1a178b[a1_0x1ee31f(0x143)]=a1_0x1ee31f(0x17e);const pwToCodeceptBrowser=a1_0x1a178b;function a1_0x1e81(){const _0x5aeca6=['AChvF','zpYcu','enabled','nnpIQ','2|0|3|1|4','kkjbf','UvgiF','playwright-chromium','browser','before','errorMessage','helpers','../../helpers/testhub/testhubHandler','skipSessionStatus','browserStackCwd','NiIpr','version','isRunning','stringify','map','Failed\x20:\x20','../../helpers/helper','printResults','2964699fNZjVE','failed','prepareCapabilities','skipSessionName','title','codecept.json','cBrBx','xuiuO','BROWSERSTACK_RERUN_TESTS','dirname','parallelsPerPlatform','forEach','playwright-firefox','playwright-webkit','env','BROWSERSTACK_RERUN','\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.','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chromium','codeceptjs/lib/index.js','../../helpers/utilities','config','rgnlS','codeceptjs','CODECEPT','platforms','../../helpers/BrowserStackSetup','SDK_CLEANUP','8816313ChksSP','YuVDW','../v2/browserstackCLI','split','exports','trim','existsSync','../../helpers/performance/constants','start','tmutP','event','Ignoring\x20--config\x20path\x20\x22','accessibility','bootstrapAll','toLowerCase','1552820kJqZmZ','debug','info','splice','replace','../utils/clientTroubleshootingService','user','getPlaywrightUrl','yjvLf','resolveWithinCwd','findIndex','initialize','handleApp','root','OLpWe','finalExecution','4xFwpfX','OEDGR','push','getUserWorkerCount','hubUrl','true','1759479akPcrs','YVlXZ','firefox','createGroupsOfSuites','validateRerunTestList','util','isEmpty','webkit','browserName','7FaJRou','vreJm','addConfig','4fUodFg','cwd','LNmTz','sOHbS','launchBuild','addOptions','Playwright','addTests','../../helpers/logger','testContextOptions','codeceptjs/package.json','LurlG','RLeBF','testObservability','accessibilityOptions','Zntkw','assign','printBuildLink','spawn','profile','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../utils/constants','warn','BrowserStackPlugin','browserWSEndpoint','chrome','teardownAll','passed','CODECEPT_CUCUMBER','stack','KtwPa','desiredCapabilities','isUndefined','FRAMEWORKS','JFbKU','10yDbzyi','test','WebDriver','log','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','YJJxa','_ensureInitialized','ktfEe','../../helpers/test-observability/constants','BROWSERSTACK_FRAMEWORK','puMFK','format','577818DpXNZO','function','host','77953ibMzDT','XGHAp','getInstance','mergeDeep','wtyBr','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','USER_CONFIG_DETAILS_PATH','5505848WZCUjh','bHYZz','Ignoring\x20-c\x20config\x20path\x20\x22','end','frameworkName','Passed\x20:\x20','chdir','hnvOQ','SDK_SETUP','qYPiq','oOWfk','isTestObservabilitySession','load','path','getPlatformName','ngqLk','qMHXs','join','userName','stop','require','now','setupBrowserstackLocal','BrowserStackPlugin.js','hWtLC','Yzlzu','codecept.conf.js'];a1_0x1e81=function(){return _0x5aeca6;};return a1_0x1e81();}async function run(_0x354d97,_0x1cac0c,_0x565132){const _0x24f569=a1_0x1ee31f,_0x3b34d4={'HeRiK':function(_0x5495fb,_0x407738,_0x26b99a,_0x1376b8){return _0x5495fb(_0x407738,_0x26b99a,_0x1376b8);},'YJJxa':function(_0x14d93a,_0x319c1c){return _0x14d93a+_0x319c1c;},'EUIcD':function(_0x2645df,_0x5bb0e0){return _0x2645df(_0x5bb0e0);},'YuVDW':function(_0x1b9ec3,_0x27bcba){return _0x1b9ec3+_0x27bcba;},'nnpIQ':function(_0x697190,_0x3a78fe,_0x2e178a){return _0x697190(_0x3a78fe,_0x2e178a);},'kkjbf':_0x24f569(0x12a),'ktfEe':function(_0x3f0cb2){return _0x3f0cb2();},'sOHbS':'/wd/hub','zpYcu':function(_0x1c673f){return _0x1c673f();},'NiIpr':_0x24f569(0x133),'AChvF':_0x24f569(0x109),'LNmTz':'Started\x20:\x20','bHYZz':_0x24f569(0x123),'Yzlzu':_0x24f569(0x147),'XBVnz':function(_0xf39b05,_0x41a774,_0xef8196){return _0xf39b05(_0x41a774,_0xef8196);},'wtyBr':_0x24f569(0x189),'OLpWe':_0x24f569(0xf0),'oOWfk':function(_0x38d477,_0x13bf6c){return _0x38d477(_0x13bf6c);},'tdPIZ':function(_0x29d9b2,_0x1681e6){return _0x29d9b2!=_0x1681e6;},'yjvLf':_0x24f569(0x176),'Zntkw':function(_0x5f1775,_0x2dcabe,_0x11c8a5){return _0x5f1775(_0x2dcabe,_0x11c8a5);},'OEDGR':'gherkin','RLeBF':function(_0x71b60d,_0x1d9ddd){return _0x71b60d(_0x1d9ddd);},'GDEaK':function(_0x210e77){return _0x210e77();},'qYPiq':function(_0x5bc64d,_0x4711b3){return _0x5bc64d*_0x4711b3;},'hnvOQ':function(_0x42772e,_0x3e976b,_0x1e9ef3){return _0x42772e(_0x3e976b,_0x1e9ef3);},'UvgiF':_0x24f569(0x127),'xuiuO':_0x24f569(0xea),'qMHXs':_0x24f569(0x16e),'AceNZ':_0x24f569(0x11b),'tmutP':_0x24f569(0x12d),'rgnlS':_0x24f569(0x14d),'XGHAp':function(_0x36c48e,_0x5bda02){return _0x36c48e===_0x5bda02;},'JFbKU':_0x24f569(0xfb),'TAoOn':function(_0x10d13f,_0x5a3b5d,_0x27d5a1){return _0x10d13f(_0x5a3b5d,_0x27d5a1);},'ngqLk':_0x24f569(0x18d),'puMFK':function(_0x9e4a4c,_0x17b4aa){return _0x9e4a4c>=_0x17b4aa;}};await _0x565132[_0x24f569(0x16c)](_0x354d97);!BrowserstackCLI[_0x24f569(0xff)]()[_0x24f569(0x130)]()&&await _0x565132[_0x24f569(0x11a)]();await helper[_0x24f569(0x16d)](_0x565132[_0x24f569(0x14b)]);if(!_0x565132[_0x24f569(0x14b)])return;process[_0x24f569(0xde)]=_0x354d97[_0x24f569(0xde)];_0x354d97['profile']&&(process[_0x24f569(0x144)][_0x24f569(0xde)]=_0x354d97[_0x24f569(0xde)]);const _0x3835f2=_0x3b34d4[_0x24f569(0x122)](getUserCodeceptJSConfigs,_0x354d97,_0x1cac0c);let _0x11aa71={};_0x3835f2?(logger[_0x24f569(0x163)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3835f2),_0x11aa71=await CodeceptJS[_0x24f569(0x14b)][_0x24f569(0x110)](_0x3835f2)):logger[_0x24f569(0x163)](_0x3b34d4[_0x24f569(0x11d)]);let _0x1cc588=![];_0x3b34d4['XBVnz'](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x24f569(0x124)],_0x3b34d4[_0x24f569(0x101)]])&&(_0x1cc588=!![]);const _0x4db3f1=_0x1cc588?_0x3b34d4[_0x24f569(0x101)]:_0x3b34d4[_0x24f569(0x16f)];let _0x31840d=!_0x1cc588?helper['useW3C'](_0x565132[_0x24f569(0x14b)]):![];!helper[_0x24f569(0xeb)](_0x565132[_0x24f569(0x14b)][_0x24f569(0x191)])&&(process[_0x24f569(0x144)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x565132['config'][_0x24f569(0x191)]));let _0x415029=_0x565132[_0x24f569(0x14b)][_0x24f569(0x15e)];_0x415029=_0x415029||_0x3b34d4[_0x24f569(0x10e)](checkAccessibilityPlatformConfig,_0x565132['config']),process[_0x24f569(0x144)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x415029;_0x415029&&(_0x31840d=!_0x415029);_0x3b34d4['tdPIZ'](_0x565132['config']['testObservability'],null)?process[_0x24f569(0x144)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x565132['config'][_0x24f569(0x190)]:process[_0x24f569(0x144)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3b34d4[_0x24f569(0x169)];const _0xdd4c3e=_0x3b34d4[_0x24f569(0x192)](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x24f569(0x172)]]),_0x1b56bb=_0xdd4c3e&&!helper[_0x24f569(0x17d)](_0xdd4c3e)?FRAMEWORKS[_0x24f569(0xe7)]:FRAMEWORKS[_0x24f569(0x14e)],_0x523a2f=await TestHubHandler[_0x24f569(0x187)](_0x1b56bb,_0x565132);await testOpsHelper[_0x24f569(0xdc)]();_0x415029&&_0x3b34d4[_0x24f569(0x18f)](setAccessibilityCapabilities,_0x565132[_0x24f569(0x14b)]);const _0x3a3a87={},_0x4f22a2=[],_0x35a338=_0x565132[_0x24f569(0x14b)][_0x24f569(0x140)]||helper[_0x24f569(0x174)](_0x354d97,_0x1cac0c,_0x565132[_0x24f569(0x14b)],constants[_0x24f569(0xec)][_0x24f569(0x14e)])||0x1;let _0x2a574b=0x1;if(_0x3b34d4['GDEaK'](isBrowserstackInfra)){const _0x122840=helper[_0x24f569(0x138)](_0x565132[_0x24f569(0x14b)],_0x31840d,constants[_0x24f569(0xec)][_0x24f569(0x14e)]);_0x122840['forEach'](_0x6fbbca=>{helper['setAdditionalCapabilities'](_0x6fbbca);}),helper['validPlatformsPresent'](_0x565132[_0x24f569(0x14b)])?_0x2a574b=_0x3b34d4[_0x24f569(0x10d)](_0x35a338,_0x565132[_0x24f569(0x14b)][_0x24f569(0x14f)]['length']):_0x2a574b=_0x35a338,_0x122840[_0x24f569(0x141)](_0x1e0ca8=>{const _0x2fcdc2=_0x24f569,_0xc1f0a={'YVlXZ':function(_0x1fb348,_0x4ff6e9,_0x533f3d,_0x23823c){return _0x3b34d4['HeRiK'](_0x1fb348,_0x4ff6e9,_0x533f3d,_0x23823c);},'vreJm':function(_0x100b63,_0x15ca0a){const _0x3b5ba2=a1_0x3cbf;return _0x3b34d4[_0x3b5ba2(0xf3)](_0x100b63,_0x15ca0a);},'LurlG':function(_0x3b0f28,_0x5e5593){return _0x3b34d4['EUIcD'](_0x3b0f28,_0x5e5593);}},_0x30b4a3=_0x3b34d4[_0x2fcdc2(0x153)](helper[_0x2fcdc2(0x112)](_0x1e0ca8,'_'),'_'+Date[_0x2fcdc2(0x119)]()),_0x47144c=((()=>{const _0x11dd3b=_0x2fcdc2;if(_0x1cc588){const _0x13e34a=pwToCodeceptBrowser[_0x1e0ca8[_0x11dd3b(0x17f)]]||_0x1e0ca8[_0x11dd3b(0x17f)],_0x1fc4bf=helper[_0x11dd3b(0x168)](_0x565132[_0x11dd3b(0x14b)]),_0x53830b=Object['assign']({},_0x1e0ca8);return _0xc1f0a[_0x11dd3b(0x178)](processAccessibilityCaps,_0x53830b,_0x1fc4bf,null),{'browser':_0x13e34a,[_0x13e34a]:{'browserWSEndpoint':_0xc1f0a[_0x11dd3b(0x181)](_0x1fc4bf,_0xc1f0a[_0x11dd3b(0x18e)](encodeURIComponent,JSON[_0x11dd3b(0x131)](_0x53830b)))}};}const _0x3204bc={};return _0x3204bc[_0x11dd3b(0xea)]=_0x1e0ca8,_0x3204bc[_0x11dd3b(0x167)]=_0x565132[_0x11dd3b(0x14b)][_0x11dd3b(0x116)],_0x3204bc['key']=_0x565132[_0x11dd3b(0x14b)]['accessKey'],_0x3204bc;})()),_0x560aea=_0x3b34d4[_0x2fcdc2(0x122)](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x2fcdc2(0x124)],_0x4db3f1]);_0x3a3a87[_0x30b4a3]=_0x560aea?helper[_0x2fcdc2(0x100)](_0x47144c,_0x560aea):_0x47144c;if(_0x1cc588)_0x3a3a87[_0x30b4a3][_0x2fcdc2(0x127)]=pwToCodeceptBrowser[_0x1e0ca8[_0x2fcdc2(0x17f)]]||_0x1e0ca8[_0x2fcdc2(0x17f)];else{_0x3a3a87[_0x30b4a3][_0x2fcdc2(0x127)]=_0x1e0ca8['browserName']||_0x47144c[_0x2fcdc2(0x127)];if(_0x3b34d4[_0x2fcdc2(0xf5)](isBrowserstackInfra)){_0x3a3a87[_0x30b4a3][_0x2fcdc2(0xfc)]=constants[_0x2fcdc2(0x175)][_0x2fcdc2(0x165)](_0x3b34d4[_0x2fcdc2(0x186)],'')[_0x2fcdc2(0x165)](/https?:\/\//,'');;_0x3a3a87[_0x30b4a3][_0x2fcdc2(0x111)]=_0x3b34d4['sOHbS'];}}_0x4f22a2[_0x2fcdc2(0x173)](_0x30b4a3);});}else{_0x2a574b=0x1;if(_0x1cc588){const _0x2cbfba=_0x3b34d4['hnvOQ'](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x24f569(0x124)],_0x4db3f1,_0x3b34d4[_0x24f569(0x125)]]),_0x2fcd7a=_0x3b34d4[_0x24f569(0x122)](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x24f569(0x124)],_0x4db3f1,_0x2cbfba]);if(_0x2fcd7a&&_0x2fcd7a[_0x24f569(0xe3)]){const _0x581b1b={};_0x581b1b[_0x24f569(0x14f)]=[],_0x2fcd7a[_0x24f569(0xe3)]=helper[_0x24f569(0x138)](Object[_0x24f569(0x193)]({},_0x565132[_0x24f569(0x14b)],_0x581b1b),null,_0x1b56bb[_0x24f569(0x160)](),null,null,_0x2fcd7a[_0x24f569(0xe3)]);}}else{if(_0x3b34d4[_0x24f569(0x122)](nestedKeyValue,_0x11aa71,[_0x3b34d4[_0x24f569(0x124)],_0x4db3f1])){const _0x4d9ea5={};_0x4d9ea5['platforms']=[],_0x11aa71[_0x3b34d4[_0x24f569(0x124)]][_0x4db3f1][_0x3b34d4['xuiuO']]=helper[_0x24f569(0x138)](Object[_0x24f569(0x193)]({},_0x565132[_0x24f569(0x14b)],_0x4d9ea5),null,_0x1b56bb[_0x24f569(0x160)](),_0x3b34d4['Zntkw'](nestedKeyValue,_0x11aa71,[_0x3b34d4['kkjbf'],_0x4db3f1,_0x3b34d4[_0x24f569(0x13d)]])||{},null,null);}}_0x3a3a87[_0x3b34d4['qMHXs']]=_0x11aa71,_0x4f22a2[_0x24f569(0x173)](_0x3b34d4[_0x24f569(0x114)]);}const _0x59daa1={};_0x59daa1['testConfig']=_0x3835f2;const _0x335094=_0x59daa1,_0x8091b2=path[_0x24f569(0x115)](__dirname,_0x3b34d4['AceNZ']),_0x1a1aad=process[_0x24f569(0x184)]();process[_0x24f569(0x144)][_0x3b34d4[_0x24f569(0x15b)]]=_0x1a1aad;_0x3835f2&&process[_0x24f569(0x10a)](path[_0x24f569(0x13f)](_0x3835f2));process[_0x24f569(0x144)][_0x24f569(0xf7)]=process[_0x24f569(0x144)][_0x24f569(0xf7)]||_0x3b34d4['rgnlS'];const _0x3ed280=new CodeceptJS['Workers'](null,_0x335094);if(_0x3b34d4[_0x24f569(0xfe)](typeof _0x3ed280['_ensureInitialized'],_0x3b34d4[_0x24f569(0xed)]))await _0x3ed280[_0x24f569(0xf4)]();else{let _0xd8126d;try{_0xd8126d=_0x3b34d4['TAoOn'](requireModule,_0x3b34d4[_0x24f569(0x113)],_0x3b34d4[_0x24f569(0x14c)])[_0x24f569(0x12f)];}catch(_0x16257d){logger[_0x24f569(0x162)](_0x24f569(0x102)+util['format'](_0x16257d));}_0xd8126d&&_0x3b34d4[_0x24f569(0xf8)](_0x3b34d4[_0x24f569(0x10b)](parseInt,_0xd8126d['split']('.')[0x0],0xa),0x4)&&logger[_0x24f569(0xe1)]('CodeceptJS\x20'+_0xd8126d+_0x24f569(0x146));}const _0x2a30ca=await _0x3ed280[_0x24f569(0x17a)](_0x35a338),_0x9394b=testOpsHelper[_0x24f569(0x10f)](),_0x423d58=_0x4f22a2[_0x24f569(0x132)](_0x363a66=>{const _0x343ca7=_0x24f569,_0x434852={};_0x434852[_0x343ca7(0x189)]=_0x3a3a87[_0x363a66];const _0x350677={};_0x350677[_0x343ca7(0xf0)]=_0x3a3a87[_0x363a66];const _0x5c2887=_0x1cc588?_0x434852:_0x350677,_0x3c0cd4=_0x3b34d4['ktfEe'](getO11yRerunPattern),_0x460aeb={};_0x460aeb[_0x343ca7(0x12a)]=_0x5c2887;const _0x405ea8={};_0x405ea8[_0x343ca7(0x118)]=_0x8091b2,_0x405ea8[_0x343ca7(0x121)]=!![],_0x405ea8[_0x343ca7(0x139)]=_0x565132[_0x343ca7(0x14b)][_0x343ca7(0x18c)][_0x343ca7(0x139)],_0x405ea8['skipSessionStatus']=_0x565132[_0x343ca7(0x14b)][_0x343ca7(0x18c)][_0x343ca7(0x12c)],_0x405ea8['testObservability']=_0x9394b,_0x405ea8[_0x343ca7(0x108)]=_0x1b56bb;const _0x3f4d51={};_0x3f4d51[_0x343ca7(0xe2)]=_0x405ea8;const _0xb5d3d5={};return _0xb5d3d5['plugins']=_0x3f4d51,helper[_0x343ca7(0x100)]({},_0x11aa71,_0x3b34d4[_0x343ca7(0x120)](isBrowserstackInfra)?_0x460aeb:{},_0x3c0cd4?{'grep':_0x3c0cd4}:{},_0xb5d3d5);});for(const _0x4517fc of _0x423d58){for(const _0x5bd61b of _0x2a30ca){const _0x166e37=_0x3ed280[_0x24f569(0xdd)]();_0x166e37[_0x24f569(0x18a)](_0x5bd61b),_0x166e37[_0x24f569(0x182)](_0x4517fc);const _0x4db4ea={};_0x4db4ea[_0x24f569(0x14b)]=_0x3835f2,_0x166e37[_0x24f569(0x188)](Object[_0x24f569(0x193)](_0x4db4ea,_0x354d97));}}_0x3ed280['on'](CodeceptJS[_0x24f569(0x15c)][_0x24f569(0xef)][_0x24f569(0x137)],(_0x19ccde,_0x35b09f)=>{const _0x111b4a=_0x24f569;console['log'](_0x3b34d4[_0x111b4a(0x12e)],_0x19ccde['title']);const _0x1ba0b1={[_0x19ccde[_0x111b4a(0x13a)]]:_0x19ccde['err'][_0x111b4a(0xe8)]};_testErrorData[_0x111b4a(0x173)](_0x1ba0b1);}),_0x3ed280['on'](CodeceptJS['event'][_0x24f569(0xef)][_0x24f569(0xe6)],async _0x2d6fd9=>{const _0x11a8f6=_0x24f569;console[_0x11a8f6(0xf1)](_0x3b34d4[_0x11a8f6(0x11f)],_0x2d6fd9[_0x11a8f6(0x13a)]);}),_0x3ed280['on'](CodeceptJS[_0x24f569(0x15c)][_0x24f569(0xef)][_0x24f569(0x128)],async _0x147a8f=>{const _0x515326=_0x24f569;console[_0x515326(0xf1)](_0x3b34d4[_0x515326(0x185)],_0x147a8f[_0x515326(0x13a)]);}),_0x3ed280['on'](CodeceptJS['event']['all']['result'],async()=>{const _0x3213ca=_0x24f569,_0x399ac2=_0x3b34d4[_0x3213ca(0x105)]['split']('|');let _0x521dec=0x0;while(!![]){switch(_0x399ac2[_0x521dec++]){case'0':_0x565132[_0x3213ca(0x129)]=_testErrorData;continue;case'1':try{await TestHubHandler[_0x3213ca(0x117)]();}catch(_0x3d9fa0){logger[_0x3213ca(0x162)](_0x3213ca(0xdf)+util[_0x3213ca(0xf9)](_0x3d9fa0));}continue;case'2':PerformanceTester[_0x3213ca(0x15a)](PerformanceEvents[_0x3213ca(0x151)]);continue;case'3':utilities[_0x3213ca(0x170)](_0x565132);continue;case'4':_0x3ed280[_0x3213ca(0x135)]();continue;}break;}});async function _0x1f48ec(){const _0x478c84=_0x24f569;try{await _0x3ed280[_0x478c84(0x15f)](),await _0x3ed280['run']();}finally{process[_0x478c84(0x10a)](_0x1a1aad),await _0x3ed280[_0x478c84(0xe5)]();}}PerformanceTester[_0x24f569(0x107)](PerformanceEvents[_0x24f569(0x10c)]),await _0x3b34d4['zpYcu'](_0x1f48ec);}module[a1_0x1ee31f(0x156)]=run;
|
|
2
|
+
'use strict';const a1_0x37c488=a1_0x2095;function a1_0x2095(_0x12c858,_0x4d8b65){const _0x5045f5=a1_0x5045();return a1_0x2095=function(_0x2095a8,_0x3d2d97){_0x2095a8=_0x2095a8-0xfa;let _0x35a55f=_0x5045f5[_0x2095a8];return _0x35a55f;},a1_0x2095(_0x12c858,_0x4d8b65);}(function(_0x2ac27f,_0x3139fa){const _0x117aec=a1_0x2095,_0x115ef3=_0x2ac27f();while(!![]){try{const _0x2f1e95=parseInt(_0x117aec(0x19d))/0x1*(parseInt(_0x117aec(0x18a))/0x2)+parseInt(_0x117aec(0x182))/0x3*(-parseInt(_0x117aec(0x127))/0x4)+-parseInt(_0x117aec(0x15b))/0x5+parseInt(_0x117aec(0x15c))/0x6*(-parseInt(_0x117aec(0x1aa))/0x7)+-parseInt(_0x117aec(0x1a1))/0x8+parseInt(_0x117aec(0x116))/0x9*(parseInt(_0x117aec(0x166))/0xa)+parseInt(_0x117aec(0x18d))/0xb*(parseInt(_0x117aec(0x10b))/0xc);if(_0x2f1e95===_0x3139fa)break;else _0x115ef3['push'](_0x115ef3['shift']());}catch(_0x339419){_0x115ef3['push'](_0x115ef3['shift']());}}}(a1_0x5045,0x80b49));function a1_0x5045(){const _0x2bb32b=['BROWSERSTACK_FRAMEWORK','240116dMPMsr','setupBrowserstackLocal','../v2/browserstackCLI','88upwHlk','splice','../../helpers/accessibility-automation/helper','plugins','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','XVgIY','felQq','warn','toLowerCase','profile','config','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isEmpty','assign','reoeV','push','3twCtRf','userName','parallelsPerPlatform','Ignoring\x20--config\x20path\x20\x22','4336112xWEdPd','codeceptjs','Playwright','psDlD','initialize','mYWrm','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','\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.','chrome','2859899lLhmMl','BrowserStackPlugin','arIYh','errorMessage','launchBuild','isUndefined','map','codeceptjs/lib/index.js','prepareCapabilities','env','CodeceptJS\x20','useW3C','Started\x20:\x20','BROWSERSTACK_RERUN_TESTS','err','webkit','before','findIndex','format','oDdAo','browser','../utils/constants','4383828GBQZvI','log','getUserWorkerCount','playwright-chromium','USER_CONFIG_DETAILS_PATH','accessibilityOptions','util','split','title','debug','frameworkName','135CdeGWJ','bGATI','PaVzQ','--config','../../bin/playwright/accessibility-helper','host','gherkin','spawn','tYTnv','CODECEPT','COxHk','Passed\x20:\x20','playwright-webkit','codeceptjs/package.json','true','platforms','event','12dQnHtx','process','testObservability','qIttu','PNGjG','passed','forEach','start','teardownAll','xgUXz','root','DPStn','../../helpers/logger','info','FRAMEWORKS','XKYTm','version','../../helpers/test-observability/constants','load','testContextOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','function','AeXtF','existsSync','failed','EVENTS','addOptions','isRunning','OQGlT','browserName','dFvrQ','Failed\x20:\x20','wmUyi','path','SoNOo','kJcjC','SWZpY','ITqEy','stringify','../../helpers/performance/constants','end','dirname','3|2|1|0|4','handleApp','createGroupsOfSuites','chromium','RBJRN','SDK_SETUP','browserWSEndpoint','codecept.conf.js','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5095625Ibrcoh','6SJPzfi','desiredCapabilities','setAdditionalCapabilities','all','playwright-firefox','BrowserStackPlugin.js','chdir','exports','result','EnFlo','109370aRkTTE','join','SDK_CLEANUP','LYQie','addTests','test','GmIaX','../../helpers/helper','length','skipSessionStatus','GMzXx','isTestObservabilitySession','sqhPM','opFuN','MxToq','cwd','trim','hubUrl','enabled','firefox','resolveWithinCwd','NMeqz','WebDriver','skipSessionName','BROWSERSTACK_RERUN','weQfw','../../helpers/testhub/testhubHandler','printResults','949908NjMNAl','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../helpers/test-observability/utils','getPlaywrightUrl','helpers','../utils/clientTroubleshootingService','validPlatformsPresent'];a1_0x5045=function(){return _0x2bb32b;};return a1_0x5045();}const fs=require('fs'),path=require(a1_0x37c488(0x148)),util=require(a1_0x37c488(0x111)),process=require(a1_0x37c488(0x128)),logger=require(a1_0x37c488(0x133))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a1_0x37c488(0x16d)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x37c488(0x18f)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x37c488(0x11a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x37c488(0x16d)),CodeceptJS=requireModule(a1_0x37c488(0xfc),a1_0x37c488(0x1a2)),testOpsHelper=require(a1_0x37c488(0x184)),TestHubHandler=require(a1_0x37c488(0x180)),BrowserstackCLI=require(a1_0x37c488(0x18c)),constants=require(a1_0x37c488(0x10a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a1_0x37c488(0x138)),PerformanceEvents=require(a1_0x37c488(0x14e))[a1_0x37c488(0x140)],ClientTroubleShootingService=require(a1_0x37c488(0x187)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x453513,_0x43e8df)=>{const _0x45bbe3=a1_0x37c488,_0x96dd1={};_0x96dd1[_0x45bbe3(0x172)]=function(_0x203cba,_0x47fa2b){return _0x203cba===_0x47fa2b;},_0x96dd1[_0x45bbe3(0x149)]=_0x45bbe3(0x158),_0x96dd1[_0x45bbe3(0x170)]='codecept.json';const _0x1058ea=_0x96dd1;let _0x4a56ea=null;const _0x4b4375={};let _0xa18a69=_0x43e8df[_0x45bbe3(0x106)](_0x623c1d=>_0x623c1d===_0x45bbe3(0x119));_0x1058ea[_0x45bbe3(0x172)](_0xa18a69,-0x1)&&(_0xa18a69=_0x43e8df[_0x45bbe3(0x106)](_0x164f51=>_0x164f51==='-c'));const _0x203708=!helper[_0x45bbe3(0xfa)](_0x453513[_0x45bbe3(0x197)])?helper[_0x45bbe3(0x17a)](_0x453513['config']):null,_0x504476=!helper[_0x45bbe3(0xfa)](_0x453513['c'])?helper[_0x45bbe3(0x17a)](_0x453513['c']):null;if(!helper[_0x45bbe3(0xfa)](_0x453513[_0x45bbe3(0x197)])&&!_0x203708)logger[_0x45bbe3(0x194)](_0x45bbe3(0x1a0)+_0x453513[_0x45bbe3(0x197)]+_0x45bbe3(0x1a7));else!helper['isUndefined'](_0x453513['c'])&&!_0x504476&&logger[_0x45bbe3(0x194)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x453513['c']+_0x45bbe3(0x1a7));if(_0x203708&&fs[_0x45bbe3(0x13e)](_0x203708))_0x4a56ea=_0x203708,_0x43e8df[_0x45bbe3(0x18e)](_0xa18a69,0x2);else{if(_0x504476&&fs[_0x45bbe3(0x13e)](_0x504476))_0x4a56ea=_0x504476,_0x43e8df[_0x45bbe3(0x18e)](_0xa18a69,0x2);else{if(fs[_0x45bbe3(0x13e)](path[_0x45bbe3(0x167)](process[_0x45bbe3(0x175)](),_0x1058ea[_0x45bbe3(0x149)])))_0x4a56ea=path[_0x45bbe3(0x167)](process['cwd'](),_0x1058ea[_0x45bbe3(0x149)]);else fs[_0x45bbe3(0x13e)](path['join'](process['cwd'](),_0x1058ea[_0x45bbe3(0x170)]))&&(_0x4a56ea=path[_0x45bbe3(0x167)](process[_0x45bbe3(0x175)](),_0x1058ea['GMzXx']));}}return process[_0x45bbe3(0xfe)][_0x45bbe3(0x10f)]=_0x4a56ea,_0x4a56ea;},getO11yRerunPattern=()=>{const _0x5abe13=a1_0x37c488,_0xb32225=helper['isTrue'](process[_0x5abe13(0xfe)][_0x5abe13(0x17e)]);if(_0xb32225){const _0x3beab2=process['env'][_0x5abe13(0x102)],_0x1f8055=[];if(helper['validateRerunTestList'](_0x3beab2)&&!helper[_0x5abe13(0xfa)](_0x3beab2)){_0x3beab2['split'](',')[_0x5abe13(0xfb)](_0x31f8b4=>{const _0x371691=_0x5abe13;_0x1f8055[_0x371691(0x19c)]('('+_0x31f8b4[_0x371691(0x176)]()+')');});const _0x75756f='^'+_0x1f8055[_0x5abe13(0x167)]('|')+'$';return _0x75756f;}}return null;},a1_0x44aa80={};a1_0x44aa80[a1_0x37c488(0x1a9)]=a1_0x37c488(0x154),a1_0x44aa80[a1_0x37c488(0x10e)]=a1_0x37c488(0x154),a1_0x44aa80[a1_0x37c488(0x160)]=a1_0x37c488(0x179),a1_0x44aa80[a1_0x37c488(0x122)]=a1_0x37c488(0x104);const pwToCodeceptBrowser=a1_0x44aa80;async function run(_0x44c139,_0x1d8d15,_0x33a7d4){const _0x25cf03=a1_0x37c488,_0x401029={'XKYTm':function(_0x14762c,_0x20cdb2,_0xfd0fce,_0x57def4){return _0x14762c(_0x20cdb2,_0xfd0fce,_0x57def4);},'SWZpY':function(_0x26f6b1,_0x58ed31){return _0x26f6b1+_0x58ed31;},'kJcjC':function(_0x3a6c07,_0x43ab10){return _0x3a6c07(_0x43ab10);},'XVgIY':function(_0x34a83a,_0x12895d){return _0x34a83a+_0x12895d;},'arIYh':function(_0x3282e4,_0xf9d063,_0x427b83){return _0x3282e4(_0xf9d063,_0x427b83);},'OQGlT':_0x25cf03(0x186),'weQfw':function(_0x212859){return _0x212859();},'wmUyi':'/wd/hub','DPStn':_0x25cf03(0x146),'tYTnv':_0x25cf03(0x121),'cbhVF':_0x25cf03(0x101),'xJOsi':_0x25cf03(0x151),'reoeV':_0x25cf03(0x183),'oDdAo':function(_0x877fc9,_0xed336c,_0x48c1a5){return _0x877fc9(_0xed336c,_0x48c1a5);},'dFvrQ':_0x25cf03(0x1a3),'opFuN':_0x25cf03(0x17c),'KCdhW':function(_0x24bde2,_0x5f31be){return _0x24bde2!=_0x5f31be;},'xgUXz':_0x25cf03(0x124),'psDlD':function(_0x3ee354,_0x355223,_0x2d43dd){return _0x3ee354(_0x355223,_0x2d43dd);},'PaVzQ':_0x25cf03(0x11c),'mYWrm':function(_0x554152,_0x572511){return _0x554152(_0x572511);},'pHRDi':function(_0x34feae,_0x4a615d){return _0x34feae*_0x4a615d;},'COxHk':function(_0x5cc780,_0x585c7b,_0x2a7a00){return _0x5cc780(_0x585c7b,_0x2a7a00);},'EnFlo':_0x25cf03(0x109),'LYQie':function(_0x42cfc0,_0x367574,_0x303b92){return _0x42cfc0(_0x367574,_0x303b92);},'felQq':_0x25cf03(0x15d),'RBJRN':function(_0x41029e,_0x5a2654,_0x427eef){return _0x41029e(_0x5a2654,_0x427eef);},'NMeqz':_0x25cf03(0x131),'PNGjG':_0x25cf03(0x161),'qIttu':'browserStackCwd','ITqEy':_0x25cf03(0x1a2),'FrbAx':function(_0x49be03,_0x49151a){return _0x49be03===_0x49151a;},'MxToq':_0x25cf03(0x13c),'AeXtF':function(_0x446589,_0x3d616b,_0x50b693){return _0x446589(_0x3d616b,_0x50b693);},'YoSOD':_0x25cf03(0x123),'bGATI':function(_0x35d470,_0x5c9ee9){return _0x35d470>=_0x5c9ee9;},'GmIaX':function(_0x28290b,_0x327ec5,_0x3274da){return _0x28290b(_0x327ec5,_0x3274da);}};await _0x33a7d4[_0x25cf03(0x1a5)](_0x44c139);!BrowserstackCLI['getInstance']()[_0x25cf03(0x142)]()&&await _0x33a7d4[_0x25cf03(0x18b)]();await helper[_0x25cf03(0x152)](_0x33a7d4[_0x25cf03(0x197)]);if(!_0x33a7d4[_0x25cf03(0x197)])return;process[_0x25cf03(0x196)]=_0x44c139['profile'];_0x44c139[_0x25cf03(0x196)]&&(process['env'][_0x25cf03(0x196)]=_0x44c139['profile']);const _0x581364=_0x401029['arIYh'](getUserCodeceptJSConfigs,_0x44c139,_0x1d8d15);let _0x576bea={};_0x581364?(logger[_0x25cf03(0x134)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x581364),_0x576bea=await CodeceptJS[_0x25cf03(0x197)][_0x25cf03(0x139)](_0x581364)):logger[_0x25cf03(0x134)](_0x401029[_0x25cf03(0x19b)]);let _0x1ad6da=![];_0x401029[_0x25cf03(0x108)](nestedKeyValue,_0x576bea,[_0x401029['OQGlT'],_0x401029[_0x25cf03(0x145)]])&&(_0x1ad6da=!![]);const _0x4fda2b=_0x1ad6da?_0x401029['dFvrQ']:_0x401029[_0x25cf03(0x173)];let _0x5b5ef4=!_0x1ad6da?helper[_0x25cf03(0x100)](_0x33a7d4['config']):![];!helper['isUndefined'](_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x110)])&&(process['env'][_0x25cf03(0x15a)]=JSON[_0x25cf03(0x14d)](_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x110)]));let _0x3a24ad=_0x33a7d4[_0x25cf03(0x197)]['accessibility'];_0x3a24ad=_0x3a24ad||_0x401029[_0x25cf03(0x14a)](checkAccessibilityPlatformConfig,_0x33a7d4[_0x25cf03(0x197)]),process[_0x25cf03(0xfe)][_0x25cf03(0x198)]=_0x3a24ad;_0x3a24ad&&(_0x5b5ef4=!_0x3a24ad);_0x401029['KCdhW'](_0x33a7d4[_0x25cf03(0x197)]['testObservability'],null)?process[_0x25cf03(0xfe)][_0x25cf03(0x13b)]=_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x129)]:process[_0x25cf03(0xfe)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x401029[_0x25cf03(0x130)];const _0x32d99a=_0x401029[_0x25cf03(0x1a4)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x118)]]),_0xeb88b3=_0x32d99a&&!helper[_0x25cf03(0x199)](_0x32d99a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x25cf03(0x11f)],_0xbc2742=await TestHubHandler[_0x25cf03(0x1ae)](_0xeb88b3,_0x33a7d4);await testOpsHelper['printBuildLink']();_0x3a24ad&&_0x401029[_0x25cf03(0x1a6)](setAccessibilityCapabilities,_0x33a7d4[_0x25cf03(0x197)]);const _0x542da7={},_0x531b43=[],_0x430da7=_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x19f)]||helper[_0x25cf03(0x10d)](_0x44c139,_0x1d8d15,_0x33a7d4[_0x25cf03(0x197)],constants[_0x25cf03(0x135)]['CODECEPT'])||0x1;let _0x4fd12d=0x1;if(_0x401029['weQfw'](isBrowserstackInfra)){const _0x237bfb=helper[_0x25cf03(0xfd)](_0x33a7d4['config'],_0x5b5ef4,constants[_0x25cf03(0x135)][_0x25cf03(0x11f)]);_0x237bfb[_0x25cf03(0x12d)](_0x4f13d8=>{const _0x5614fa=_0x25cf03;helper[_0x5614fa(0x15e)](_0x4f13d8);}),helper[_0x25cf03(0x188)](_0x33a7d4[_0x25cf03(0x197)])?_0x4fd12d=_0x401029['pHRDi'](_0x430da7,_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x125)][_0x25cf03(0x16e)]):_0x4fd12d=_0x430da7,_0x237bfb['forEach'](_0x5724d7=>{const _0x2c0067=_0x25cf03,_0x48911e=_0x401029[_0x2c0067(0x192)](helper['getPlatformName'](_0x5724d7,'_'),'_'+Date['now']()),_0x1af08b=((()=>{const _0x3be78f=_0x2c0067;if(_0x1ad6da){const _0x46bad1=pwToCodeceptBrowser[_0x5724d7[_0x3be78f(0x144)]]||_0x5724d7[_0x3be78f(0x144)],_0x374ca4=helper[_0x3be78f(0x185)](_0x33a7d4[_0x3be78f(0x197)]),_0x3d90b1=Object[_0x3be78f(0x19a)]({},_0x5724d7);return _0x401029[_0x3be78f(0x136)](processAccessibilityCaps,_0x3d90b1,_0x374ca4,null),{'browser':_0x46bad1,[_0x46bad1]:{'browserWSEndpoint':_0x401029[_0x3be78f(0x14b)](_0x374ca4,_0x401029['kJcjC'](encodeURIComponent,JSON[_0x3be78f(0x14d)](_0x3d90b1)))}};}const _0x521422={};return _0x521422[_0x3be78f(0x15d)]=_0x5724d7,_0x521422['user']=_0x33a7d4[_0x3be78f(0x197)][_0x3be78f(0x19e)],_0x521422['key']=_0x33a7d4['config']['accessKey'],_0x521422;})()),_0x20aa5d=_0x401029[_0x2c0067(0x1ac)](nestedKeyValue,_0x576bea,[_0x401029[_0x2c0067(0x143)],_0x4fda2b]);_0x542da7[_0x48911e]=_0x20aa5d?helper['mergeDeep'](_0x1af08b,_0x20aa5d):_0x1af08b;if(_0x1ad6da)_0x542da7[_0x48911e][_0x2c0067(0x109)]=pwToCodeceptBrowser[_0x5724d7[_0x2c0067(0x144)]]||_0x5724d7[_0x2c0067(0x144)];else{_0x542da7[_0x48911e]['browser']=_0x5724d7['browserName']||_0x1af08b[_0x2c0067(0x109)];if(_0x401029[_0x2c0067(0x17f)](isBrowserstackInfra)){_0x542da7[_0x48911e][_0x2c0067(0x11b)]=constants[_0x2c0067(0x177)]['replace'](_0x401029[_0x2c0067(0x147)],'')['replace'](/https?:\/\//,'');;_0x542da7[_0x48911e][_0x2c0067(0x148)]=_0x401029[_0x2c0067(0x147)];}}_0x531b43['push'](_0x48911e);});}else{_0x4fd12d=0x1;if(_0x1ad6da){const _0x2c5cb8=_0x401029[_0x25cf03(0x120)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x401029[_0x25cf03(0x165)]]),_0x33cbe3=_0x401029['arIYh'](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x2c5cb8]);if(_0x33cbe3&&_0x33cbe3[_0x25cf03(0x157)]){const _0x1fe311={};_0x1fe311['platforms']=[],_0x33cbe3[_0x25cf03(0x157)]=helper[_0x25cf03(0xfd)](Object['assign']({},_0x33a7d4[_0x25cf03(0x197)],_0x1fe311),null,_0xeb88b3[_0x25cf03(0x195)](),null,null,_0x33cbe3['browserWSEndpoint']);}}else{if(_0x401029[_0x25cf03(0x169)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b])){const _0x107129={};_0x107129[_0x25cf03(0x125)]=[],_0x576bea[_0x401029[_0x25cf03(0x143)]][_0x4fda2b][_0x401029[_0x25cf03(0x193)]]=helper['prepareCapabilities'](Object[_0x25cf03(0x19a)]({},_0x33a7d4['config'],_0x107129),null,_0xeb88b3[_0x25cf03(0x195)](),_0x401029[_0x25cf03(0x155)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x401029[_0x25cf03(0x193)]])||{},null,null);}}_0x542da7[_0x401029[_0x25cf03(0x17b)]]=_0x576bea,_0x531b43[_0x25cf03(0x19c)](_0x401029['NMeqz']);}const _0x1d9005={};_0x1d9005['testConfig']=_0x581364;const _0x2764d8=_0x1d9005,_0x6f6ac9=path[_0x25cf03(0x167)](__dirname,_0x401029[_0x25cf03(0x12b)]),_0x2f3d45=process[_0x25cf03(0x175)]();process[_0x25cf03(0xfe)][_0x401029[_0x25cf03(0x12a)]]=_0x2f3d45;_0x581364&&process['chdir'](path[_0x25cf03(0x150)](_0x581364));process[_0x25cf03(0xfe)]['BROWSERSTACK_FRAMEWORK']=process[_0x25cf03(0xfe)][_0x25cf03(0x189)]||_0x401029[_0x25cf03(0x14c)];const _0x460482=new CodeceptJS['Workers'](null,_0x2764d8);if(_0x401029['FrbAx'](typeof _0x460482['_ensureInitialized'],_0x401029[_0x25cf03(0x174)]))await _0x460482['_ensureInitialized']();else{let _0x196807;try{_0x196807=_0x401029[_0x25cf03(0x13d)](requireModule,_0x401029['YoSOD'],_0x401029[_0x25cf03(0x14c)])[_0x25cf03(0x137)];}catch(_0x56b015){logger[_0x25cf03(0x114)]('Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20'+util[_0x25cf03(0x107)](_0x56b015));}_0x196807&&_0x401029[_0x25cf03(0x117)](_0x401029[_0x25cf03(0x16c)](parseInt,_0x196807['split']('.')[0x0],0xa),0x4)&&logger[_0x25cf03(0x194)](_0x25cf03(0xff)+_0x196807+_0x25cf03(0x1a8));}const _0xf7e930=await _0x460482[_0x25cf03(0x153)](_0x430da7),_0xef0a91=testOpsHelper[_0x25cf03(0x171)](),_0x5e6139=_0x531b43[_0x25cf03(0xfb)](_0x10ae0c=>{const _0x44fcd1=_0x25cf03,_0x23bddb={};_0x23bddb['Playwright']=_0x542da7[_0x10ae0c];const _0x137341={};_0x137341[_0x44fcd1(0x17c)]=_0x542da7[_0x10ae0c];const _0x4ae392=_0x1ad6da?_0x23bddb:_0x137341,_0x480eb3=_0x401029['weQfw'](getO11yRerunPattern),_0x4a2923={};_0x4a2923[_0x44fcd1(0x186)]=_0x4ae392;const _0x3c8a3e={};_0x3c8a3e['require']=_0x6f6ac9,_0x3c8a3e[_0x44fcd1(0x178)]=!![],_0x3c8a3e['skipSessionName']=_0x33a7d4[_0x44fcd1(0x197)]['testContextOptions'][_0x44fcd1(0x17d)],_0x3c8a3e[_0x44fcd1(0x16f)]=_0x33a7d4['config'][_0x44fcd1(0x13a)][_0x44fcd1(0x16f)],_0x3c8a3e[_0x44fcd1(0x129)]=_0xef0a91,_0x3c8a3e[_0x44fcd1(0x115)]=_0xeb88b3;const _0x3239f9={};_0x3239f9[_0x44fcd1(0x1ab)]=_0x3c8a3e;const _0x524346={};return _0x524346[_0x44fcd1(0x190)]=_0x3239f9,helper['mergeDeep']({},_0x576bea,_0x401029[_0x44fcd1(0x17f)](isBrowserstackInfra)?_0x4a2923:{},_0x480eb3?{'grep':_0x480eb3}:{},_0x524346);});for(const _0x571729 of _0x5e6139){for(const _0x40e082 of _0xf7e930){const _0x196f05=_0x460482[_0x25cf03(0x11d)]();_0x196f05[_0x25cf03(0x16a)](_0x40e082),_0x196f05['addConfig'](_0x571729);const _0x1071bf={};_0x1071bf['config']=_0x581364,_0x196f05[_0x25cf03(0x141)](Object[_0x25cf03(0x19a)](_0x1071bf,_0x44c139));}}_0x460482['on'](CodeceptJS[_0x25cf03(0x126)]['test'][_0x25cf03(0x13f)],(_0x31a5a1,_0xb72b4)=>{const _0x18a917=_0x25cf03;console[_0x18a917(0x10c)](_0x401029[_0x18a917(0x132)],_0x31a5a1[_0x18a917(0x113)]);const _0x532efc={[_0x31a5a1[_0x18a917(0x113)]]:_0x31a5a1[_0x18a917(0x103)][_0x18a917(0x159)]};_testErrorData[_0x18a917(0x19c)](_0x532efc);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)]['test'][_0x25cf03(0x12c)],async _0x459654=>{const _0x3fcc3f=_0x25cf03;console[_0x3fcc3f(0x10c)](_0x401029[_0x3fcc3f(0x11e)],_0x459654[_0x3fcc3f(0x113)]);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)][_0x25cf03(0x16b)][_0x25cf03(0x105)],async _0x361570=>{const _0x540332=_0x25cf03;console[_0x540332(0x10c)](_0x401029['cbhVF'],_0x361570[_0x540332(0x113)]);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)][_0x25cf03(0x15f)][_0x25cf03(0x164)],async()=>{const _0x2358e7=_0x25cf03,_0x3bea10=_0x401029['xJOsi'][_0x2358e7(0x112)]('|');let _0x67491=0x0;while(!![]){switch(_0x3bea10[_0x67491++]){case'0':try{await TestHubHandler['stop']();}catch(_0x46173e){logger[_0x2358e7(0x114)](_0x2358e7(0x191)+util['format'](_0x46173e));}continue;case'1':utilities['finalExecution'](_0x33a7d4);continue;case'2':_0x33a7d4[_0x2358e7(0x1ad)]=_testErrorData;continue;case'3':PerformanceTester[_0x2358e7(0x12e)](PerformanceEvents[_0x2358e7(0x168)]);continue;case'4':_0x460482[_0x2358e7(0x181)]();continue;}break;}});async function _0x814e58(){const _0x14585c=_0x25cf03;try{await _0x460482['bootstrapAll'](),await _0x460482['run']();}finally{process[_0x14585c(0x162)](_0x2f3d45),await _0x460482[_0x14585c(0x12f)]();}}PerformanceTester[_0x25cf03(0x14f)](PerformanceEvents[_0x25cf03(0x156)]),await _0x401029['weQfw'](_0x814e58);}module[a1_0x37c488(0x163)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x2d7b07=a2_0x17a0;function a2_0x17a0(_0x547019,_0x396ea1){const _0x85789e=a2_0x8578();return a2_0x17a0=function(_0x17a090,_0x2c86d1){_0x17a090=_0x17a090-0xa8;let _0x592fa8=_0x85789e[_0x17a090];return _0x592fa8;},a2_0x17a0(_0x547019,_0x396ea1);}function a2_0x8578(){const _0x2a4e5b=['isBrowserSupportedForAccessibility','brNPa','warn','desiredCapabilities','136872lJfmFr','JzlRe','parse','../../helpers/logger','RnamY','browser','isVersionSupported','browserWSEndpoint','1gDCNTa','browserstack_executor','NVinQ','ftVrc','../../bin/playwright/sessionDetails','EVXEb','3376320bJewAR','includes','sCQEm','IBksu','isAccessibilityPlatform','zFAFo','kHEUa','../../helpers/globals.js','platformName','name','\x20browser\x20version\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','zzZKI','../../helpers/helper','platform_version','capabilities','aADHe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','deviceName','BFhuX','os_version','Playwright','constructor','wgzgq','config','1247836mYGQOM','../../helpers/test-observability/utils','../../helpers/accessibility-automation/helper','LWxzo','processWebDriverConfig','__cloud_provider___','91861NTaUyy','zxTdQ','fetchPlatformDetails','getDetails','4897992cUtKns','DxQQE','7xhajHw','browser_version','WebDriver','AJxYx','SGQWQ','BYrOD','platform','shouldPatchExecuteScript','3269007FvwJsZ','DypkB','platformVersion','EIMnt','browserName','get','setGlobal','2802OxuXhk','\x20or\x20higher\x20','pHMwT','YHupm','CFzhj','sessionId','getBrowserDisplayName','cloudProvider','unknown_grid','browserVersion','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','30pbtbUs','1704PNhvKL','WwOFl','bstack:options','getMinVersionForBrowser'];a2_0x8578=function(){return _0x2a4e5b;};return a2_0x8578();}(function(_0x2464d1,_0x252f34){const _0x14f5b0=a2_0x17a0,_0x32fa9d=_0x2464d1();while(!![]){try{const _0x2ae522=-parseInt(_0x14f5b0(0xcc))/0x1*(-parseInt(_0x14f5b0(0xeb))/0x2)+parseInt(_0x14f5b0(0xaf))/0x3*(-parseInt(_0x14f5b0(0xbc))/0x4)+parseInt(_0x14f5b0(0xd2))/0x5+-parseInt(_0x14f5b0(0xf5))/0x6+parseInt(_0x14f5b0(0xf7))/0x7*(parseInt(_0x14f5b0(0xc4))/0x8)+parseInt(_0x14f5b0(0xa8))/0x9+-parseInt(_0x14f5b0(0xbb))/0xa*(parseInt(_0x14f5b0(0xf1))/0xb);if(_0x2ae522===_0x252f34)break;else _0x32fa9d['push'](_0x32fa9d['shift']());}catch(_0x27d760){_0x32fa9d['push'](_0x32fa9d['shift']());}}}(a2_0x8578,0x6b7b5));const {isUndefined,nestedKeyValue}=require(a2_0x2d7b07(0xdf)),logger=require(a2_0x2d7b07(0xc7))['winstonLogger'],PlaywrightSessionDetails=require(a2_0x2d7b07(0xd0)),{isAccessibilityAutomationSession}=require(a2_0x2d7b07(0xed)),{getObservabilityLinkedProductName}=require(a2_0x2d7b07(0xec)),accessibilityHelper=require(a2_0x2d7b07(0xed)),{isBrowserstackInfra}=require(a2_0x2d7b07(0xdf)),globals=require(a2_0x2d7b07(0xd9)),getOSVersionFromCaps=_0x257ab9=>{const _0x2c06a3=a2_0x2d7b07,_0x2dd548={};_0x2dd548[_0x2c06a3(0xfb)]=_0x2c06a3(0xbe),_0x2dd548[_0x2c06a3(0xce)]='platformVersion',_0x2dd548[_0x2c06a3(0xd7)]=_0x2c06a3(0xe0),_0x2dd548[_0x2c06a3(0xb1)]='osVersion',_0x2dd548['RnamY']=_0x2c06a3(0xe6);const _0x7d8d02=_0x2dd548;if(!_0x257ab9)return null;const _0x36c20d=_0x257ab9[_0x7d8d02[_0x2c06a3(0xfb)]],_0x427a36=[_0x7d8d02[_0x2c06a3(0xce)],_0x7d8d02[_0x2c06a3(0xd7)],_0x7d8d02[_0x2c06a3(0xb1)],_0x7d8d02[_0x2c06a3(0xc8)]];for(const _0x5536e5 of _0x427a36){if(_0x36c20d&&_0x36c20d[_0x5536e5])return _0x36c20d[_0x5536e5];else{if(_0x257ab9[_0x5536e5])return _0x257ab9[_0x5536e5];}}return null;};exports[a2_0x2d7b07(0xf3)]=_0x2c2c5e=>{const _0x47faf4=a2_0x2d7b07,_0x221277={'sCQEm':_0x47faf4(0xb7),'NPXNs':function(_0xf8297e,_0x42edef){return _0xf8297e===_0x42edef;},'ftVrc':_0x47faf4(0xf9),'zxTdQ':function(_0x14309e,_0xa185df){return _0x14309e(_0xa185df);},'TXDnL':function(_0x2623e1,_0xdad7a4,_0x55481a){return _0x2623e1(_0xdad7a4,_0x55481a);},'EVXEb':_0x47faf4(0xea),'wsucH':_0x47faf4(0xc3),'BTapD':function(_0x89a401,_0x10a7d7){return _0x89a401===_0x10a7d7;},'BFhuX':_0x47faf4(0xe7),'aCgqd':function(_0x1e4808,_0x208d8d,_0x4b7b98){return _0x1e4808(_0x208d8d,_0x4b7b98);},'YHupm':'browser','zzZKI':_0x47faf4(0xcb),'WwOFl':_0x47faf4(0xb9),'CFzhj':function(_0x1e819d,_0x24fe8d){return _0x1e819d(_0x24fe8d);}};if(!_0x2c2c5e)return null;let _0x1adf58=global[_0x47faf4(0xf0)]||_0x221277[_0x47faf4(0xd4)];if(_0x221277['NPXNs'](_0x2c2c5e[_0x47faf4(0xe8)][_0x47faf4(0xdb)],_0x221277[_0x47faf4(0xcf)])){const _0x1566bf=_0x2c2c5e[_0x47faf4(0xc9)];if(!_0x1566bf)return null;const _0x221507=_0x1566bf[_0x47faf4(0xe1)],_0x451208=_0x221277[_0x47faf4(0xf2)](getOSVersionFromCaps,_0x221277['TXDnL'](nestedKeyValue,_0x2c2c5e,[_0x221277[_0x47faf4(0xd1)],_0x221277['wsucH']]));return{[_0x1adf58]:{'browser':_0x221507[_0x47faf4(0xac)],'browser_version':_0x221507['browserVersion'],'capabilities':_0x221507,'platform':_0x221507[_0x47faf4(0xda)],'platform_version':_0x221507[_0x47faf4(0xaa)]||_0x451208,'product':_0x221277[_0x47faf4(0xf2)](getObservabilityLinkedProductName,_0x221507),'session_id':_0x1566bf[_0x47faf4(0xb4)]}};}else{if(_0x221277['BTapD'](_0x2c2c5e[_0x47faf4(0xe8)][_0x47faf4(0xdb)],_0x221277[_0x47faf4(0xe5)])){const _0x3d6eb4=PlaywrightSessionDetails[_0x47faf4(0xf4)]();_0x1adf58=_0x3d6eb4[_0x47faf4(0xb6)]||_0x1adf58;const _0x11c78b=_0x221277['aCgqd'](nestedKeyValue,_0x2c2c5e,[_0x221277[_0x47faf4(0xd1)],_0x221277[_0x47faf4(0xb2)],_0x221277[_0x47faf4(0xde)]]),_0x45daa3=_0x11c78b?JSON[_0x47faf4(0xc6)](new URL(_0x11c78b)['searchParams'][_0x47faf4(0xad)](_0x221277[_0x47faf4(0xbd)])):{};return{[_0x1adf58]:{'browser':_0x3d6eb4[_0x47faf4(0xc9)]||_0x45daa3[_0x47faf4(0xac)],'browser_version':_0x3d6eb4[_0x47faf4(0xf8)]||_0x45daa3[_0x47faf4(0xf8)],'capabilities':_0x45daa3,'platform':_0x3d6eb4[_0x47faf4(0xfd)],'platform_version':_0x3d6eb4['platform_version'],'product':_0x221277[_0x47faf4(0xb3)](getObservabilityLinkedProductName,_0x45daa3),'session_id':_0x3d6eb4['bsSessionId']}};}}};const setAccessibilityPlatformFlag=_0x7acf12=>{const _0x356b4a=a2_0x2d7b07,_0x565877={};_0x565877[_0x356b4a(0xab)]=_0x356b4a(0xd6);const _0x5595a1=_0x565877;global['accessibilityPlatform']=_0x7acf12,globals[_0x356b4a(0xae)](_0x5595a1[_0x356b4a(0xab)],_0x7acf12);};exports[a2_0x2d7b07(0xef)]=_0x493a0a=>{const _0x34cff0=a2_0x2d7b07,_0x364bdf={'brNPa':function(_0xa3a876){return _0xa3a876();},'DypkB':function(_0x2a8421,_0x17a466){return _0x2a8421(_0x17a466);},'nrmjm':_0x34cff0(0xba),'AJxYx':function(_0x211546,_0x31d0ef){return _0x211546!==_0x31d0ef;},'wgzgq':'latest','okAQy':function(_0x46db81){return _0x46db81();},'LWxzo':'on\x20non-BrowserStack\x20infrastructure\x20','BYrOD':function(_0x52831b,_0x223a5a){return _0x52831b(_0x223a5a);},'DxQQE':_0x34cff0(0xe3)};if(_0x364bdf[_0x34cff0(0xc1)](isAccessibilityAutomationSession)){const _0x4f17eb=_0x493a0a[_0x34cff0(0xc9)],_0x33dfba=_0x4f17eb[_0x34cff0(0xe1)];_0x364bdf[_0x34cff0(0xa9)](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0x34cff0(0xc0)](_0x33dfba[_0x34cff0(0xac)])&&(logger[_0x34cff0(0xc2)](_0x364bdf['nrmjm']),_0x364bdf[_0x34cff0(0xa9)](setAccessibilityPlatformFlag,![]));if(_0x364bdf[_0x34cff0(0xfa)](_0x33dfba[_0x34cff0(0xb8)],_0x364bdf[_0x34cff0(0xe9)])){const _0x2460ba=_0x364bdf['okAQy'](isBrowserstackInfra),_0x5bc7b8=accessibilityHelper[_0x34cff0(0xbf)](_0x33dfba[_0x34cff0(0xac)],_0x2460ba),_0x80ab07=accessibilityHelper[_0x34cff0(0xb5)](_0x33dfba[_0x34cff0(0xac)]);if(!accessibilityHelper[_0x34cff0(0xca)](_0x33dfba[_0x34cff0(0xb8)],_0x5bc7b8)){const _0x46be44=_0x2460ba?'':_0x364bdf[_0x34cff0(0xee)];logger[_0x34cff0(0xc2)](_0x34cff0(0xdd)+_0x80ab07+_0x34cff0(0xdc)+_0x5bc7b8+_0x34cff0(0xb0)+_0x46be44+'.'),_0x364bdf['BYrOD'](setAccessibilityPlatformFlag,![]);}}!_0x364bdf[_0x34cff0(0xa9)](isUndefined,_0x33dfba[_0x34cff0(0xe4)])&&(logger[_0x34cff0(0xc2)](_0x364bdf[_0x34cff0(0xf6)]),_0x364bdf[_0x34cff0(0xfc)](setAccessibilityPlatformFlag,![]));}},exports[a2_0x2d7b07(0xfe)]=_0x407126=>{const _0x72e00f=a2_0x2d7b07,_0xc3a8e={};_0xc3a8e[_0x72e00f(0xe2)]=function(_0x548528,_0x1925a7){return _0x548528!==_0x1925a7;},_0xc3a8e[_0x72e00f(0xc5)]='string',_0xc3a8e['kHEUa']=_0x72e00f(0xcd),_0xc3a8e[_0x72e00f(0xd5)]='browserstack_accessibility_automation_script';const _0x4dacca=_0xc3a8e;if(!_0x407126)return![];else{if(_0x4dacca[_0x72e00f(0xe2)](typeof _0x407126,_0x4dacca[_0x72e00f(0xc5)]))return!![];}return!_0x407126['includes'](_0x4dacca[_0x72e00f(0xd8)])&&!_0x407126[_0x72e00f(0xd3)](_0x4dacca['IBksu']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x44c282=a3_0x3cb9;function a3_0x3cb9(_0x590b5c,_0x361845){const _0x311b76=a3_0x311b();return a3_0x3cb9=function(_0x3cb9bf,_0x4e293d){_0x3cb9bf=_0x3cb9bf-0x114;let _0x3a967f=_0x311b76[_0x3cb9bf];return _0x3a967f;},a3_0x3cb9(_0x590b5c,_0x361845);}(function(_0x40a67f,_0x46398e){const _0x357e21=a3_0x3cb9,_0x5c8f64=_0x40a67f();while(!![]){try{const _0xe5de3a=-parseInt(_0x357e21(0x134))/0x1*(-parseInt(_0x357e21(0x167))/0x2)+-parseInt(_0x357e21(0x197))/0x3+parseInt(_0x357e21(0x1c6))/0x4+-parseInt(_0x357e21(0x174))/0x5*(parseInt(_0x357e21(0x1c4))/0x6)+-parseInt(_0x357e21(0x14e))/0x7+-parseInt(_0x357e21(0x145))/0x8*(parseInt(_0x357e21(0x12b))/0x9)+parseInt(_0x357e21(0x1da))/0xa;if(_0xe5de3a===_0x46398e)break;else _0x5c8f64['push'](_0x5c8f64['shift']());}catch(_0x46e47){_0x5c8f64['push'](_0x5c8f64['shift']());}}}(a3_0x311b,0xa8a2e));const path=require('path'),util=require(a3_0x44c282(0x118)),fs=require('fs'),{v4:uuidv4}=require(a3_0x44c282(0x146)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a3_0x44c282(0x1e1)),{getTestEnv}=require(a3_0x44c282(0x1df)),{FRAMEWORKS}=require(a3_0x44c282(0x16e)),logger=require(a3_0x44c282(0x170))['winstonLogger'],SessionHandler=require(a3_0x44c282(0x168)),RequestQueueHandler=require(a3_0x44c282(0x1b8)),PlaywrightSessionDetails=require(a3_0x44c282(0x120)),debug=testOpsHelper[a3_0x44c282(0x139)],{processAccessibilityCaps}=require(a3_0x44c282(0x14d)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a3_0x44c282(0x1c2)),STATE_PASSED=a3_0x44c282(0x1f0),STATE_FAILED=a3_0x44c282(0x188),a3_0x156846={};a3_0x156846[a3_0x44c282(0x121)]=a3_0x44c282(0x140),a3_0x156846['TEST_RUN_FINISHED']=a3_0x44c282(0x175),a3_0x156846[a3_0x44c282(0x1d6)]='TestRunSkipped',a3_0x156846[a3_0x44c282(0x1af)]=a3_0x44c282(0x186),a3_0x156846[a3_0x44c282(0x130)]=a3_0x44c282(0x196);function a3_0x311b(){const _0xc76226=['4106487cyBNyB','toLowerCase','xiVwi','STATE_FAILED','dxzhO','integrations','PCQKu','codeceptjs','_beforeAll','wZqyN','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','title','string','prefixTestPath','_afterEach','initializeBddStep','started','bddStepStart','errorsDetailed','_beforeEach','MWFYB','includes','dbTTt','EBEIC','HOOK_RUN_STARTED','0|5|4|1|2|3','getInstance','toString','enabled','PRVcH','ieokB','jCOnY','failed\x20to\x20get\x20root\x20parent\x20file\x20','../../helpers/test-observability/requestQueueHandler','hook_type','groups','VxgRF','nPjIj','oHjyy','jglxu','push','testAnalyticsId','stepAnalyticsId','../utils/constants','gDefE','1758eNPKrf','getTime','4762608GlpbMR','prototype','length','finished_at','retryOf','uXuUT','_afterAll','yIlYj','browserstack','pendingHookEvents','onCSb','keys','twnvM','\x20with\x20error\x20:\x20','bddStepFinish','text','TEST_RUN_SKIPPED','ixHqe','findGitConfig','NvDld','16401920IueDWo','eAvLu','location_prefix','CBGjB','replace','../mocha/test-observability/mochaUtils','test','../../helpers/test-observability/utils','join','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','find','getHookType','getHierarchy','.git','skipped','obsBrowserTypeMockApplied','javascript','_testEnv','PDIqU','hfLVb','PEJCs','accessibilityPlatform','passed','zneFe','hook_run','HLdzR','wEVBY','Mwlua','concat','meta','TNalg','MHIhu','hookAnalyticsId','hook_run_uuid','name','toISOString','sep','wsEndpoint','finished','hook','LGYVs','suites','forEach','VkKWy','failure_reason_expanded','FbnSh','split','getRootParentFile','yvqzJ','apply','util','flushPendingHookEvents','parent','duration','bind','splice','BROWSERSTACK','LGClM','../playwright/sessionDetails','TEST_RUN_STARTED','pid','NkwRa','Not\x20able\x20to\x20import\x20Browser','__platformCaps','stringify','startedAt','bs:addLog:','then','inspect','19791mjQzor','failure','status','event_type','expanded','HOOK_RUN_FINISHED','keyword','cwd','exports','1053642nxpJvP','test_run','PXzMY','result','relative','debug','backtrace','type','launch','qYvyg','kEVfG','dirname','TestRunStarted','JnKAM','session_id','test_run_uuid','vBqGV','4432PVBCpr','uuid','uploadEventData','TEST_RUN_FINISHED','setupBrowserDetails','stop','STATE_PASSED','err','../playwright/accessibility-helper','146790apEgWv','currentTest','jjhbh','sendCBTInfo','connect','failureData','file_name','bddSteps','AhurE','LogCreated','match','currentHook','fLbqP','zpWzM','KrnTg','HJLhw','YqSao','hHrfX','markedStatus','AJWAf','frameworkName','Playwright','pending','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','SMQYf','2HJZXIE','../../helpers/test-observability/sessionHandler','constructor','uVqcF','zmLju','cZPkm','nTFYi','../../helpers/test-observability/constants','fqVnu','../../helpers/logger','fullTitle','HwrWn','TFuEp','9995QwXKDp','TestRunFinished','eFTcy','MGypJ','message','resetSkipTestHooks','_paths','xIEyl','ctx','start','getCBTInfo','SggRN','hpcvy','defineProperty','file','__cloud_provider___','vHpxz','getHooksForTest','HookRunStarted','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','failed','hooks','Failed\x20to\x20parse\x20wsendpoint\x20','aSBoN','TEST_REPORTING_ANALYTICS','fireEvent','now','logs','mapTestHooks','driver','PLAYWRIGHT_HUB_URL','captureEvent','appendTestItemLog','MlnSh','HookRunFinished'];a3_0x311b=function(){return _0xc76226;};return a3_0x311b();}const TEST_EVENTS=a3_0x156846,parseEvent=_0x47227e=>{const _0x526913=a3_0x44c282,_0x51bcaa={};_0x51bcaa['CBGjB']=function(_0x23bacc,_0x3db756){return _0x23bacc<_0x3db756;},_0x51bcaa[_0x526913(0x11f)]=function(_0x1c14ea,_0x13d437){return _0x1c14ea===_0x13d437;},_0x51bcaa[_0x526913(0x15c)]=_0x526913(0x1e0),_0x51bcaa['onCSb']=function(_0xbfedcd,_0x35e28b){return _0xbfedcd===_0x35e28b;},_0x51bcaa[_0x526913(0x1b4)]='hook',_0x51bcaa[_0x526913(0x161)]=function(_0x92feb3,_0x223a63){return _0x92feb3===_0x223a63;},_0x51bcaa['FbnSh']=_0x526913(0x1e8),_0x51bcaa[_0x526913(0x172)]=function(_0x271616,_0x3d0cda){return _0x271616===_0x3d0cda;},_0x51bcaa[_0x526913(0x1be)]=_0x526913(0x1a7),_0x51bcaa[_0x526913(0x16a)]=function(_0x4877ba,_0x12aec0){return _0x4877ba===_0x12aec0;},_0x51bcaa[_0x526913(0x1c3)]=_0x526913(0x200);const _0x4fd62f=_0x51bcaa,_0x16ac0a=_0x47227e[_0x526913(0x158)](/^(.*)Run(.*)$/);if(!_0x16ac0a)return null;if(_0x4fd62f[_0x526913(0x1dd)](_0x16ac0a['length'],0x3))return null;const _0x5ddd17=_0x16ac0a[0x1][_0x526913(0x198)](),_0x588b30=_0x16ac0a[0x2][_0x526913(0x198)]();return{'test':_0x4fd62f[_0x526913(0x11f)](_0x5ddd17,_0x4fd62f[_0x526913(0x15c)]),'hook':_0x4fd62f[_0x526913(0x1d0)](_0x5ddd17,_0x4fd62f['PRVcH']),'skipped':_0x4fd62f[_0x526913(0x161)](_0x588b30,_0x4fd62f[_0x526913(0x207)]),'started':_0x4fd62f[_0x526913(0x172)](_0x588b30,_0x4fd62f[_0x526913(0x1be)]),'finished':_0x4fd62f[_0x526913(0x16a)](_0x588b30,_0x4fd62f[_0x526913(0x1c3)])};},mockPWBrowserType=_0x2301a5=>{const _0x4a13eb=a3_0x44c282,_0x33d4bd={'mxRHB':function(_0x2dac14,_0x2eafee){return _0x2dac14===_0x2eafee;},'MWFYB':_0x4a13eb(0x1a3),'NyWOa':function(_0x594af6,_0x217c99,_0x2deb3d){return _0x594af6(_0x217c99,_0x2deb3d);},'wHltY':_0x4a13eb(0x1ff),'PEJCs':function(_0x369a68,_0x1130c4){return _0x369a68(_0x1130c4);},'SggRN':_0x4a13eb(0x1ce),'VkKWy':function(_0x26a38f){return _0x26a38f();},'vBqGV':_0x4a13eb(0x124),'AhurE':'connect','VuNbL':'launch'},_0x5d70ca=_0x33d4bd[_0x4a13eb(0x205)](resolveBrowserTypeClass);if(!_0x5d70ca){_0x33d4bd[_0x4a13eb(0x1ee)](debug,_0x33d4bd[_0x4a13eb(0x144)]);return;}const _0x98f5c6=_0x5d70ca[_0x4a13eb(0x1c7)];if(_0x98f5c6[_0x4a13eb(0x1e9)])return;const _0x4be0a8=_0x98f5c6[_0x4a13eb(0x152)];Object['defineProperty'](_0x98f5c6,_0x33d4bd[_0x4a13eb(0x156)],{'get':function(){const _0x13d8e6=_0x4a13eb,_0x5f1d15={'YqSao':function(_0x59ee78,_0x536a08){return _0x33d4bd['mxRHB'](_0x59ee78,_0x536a08);},'MGypJ':_0x33d4bd[_0x13d8e6(0x1ab)],'TNalg':function(_0x7b2d60,_0x4def14,_0x15bb52){return _0x33d4bd['NyWOa'](_0x7b2d60,_0x4def14,_0x15bb52);},'jjhbh':_0x33d4bd['wHltY'],'aJHJV':function(_0x5ae186,_0x1b7940){const _0x44afcf=_0x13d8e6;return _0x33d4bd[_0x44afcf(0x1ee)](_0x5ae186,_0x1b7940);},'twnvM':_0x33d4bd[_0x13d8e6(0x17f)],'xIEyl':function(_0xb5aac6,_0x559362){const _0x44327f=_0x13d8e6;return _0x33d4bd[_0x44327f(0x1ee)](_0xb5aac6,_0x559362);}};return async function _0x1196fe(_0x78e38e,_0xf6bc72){const _0x3df969=_0x13d8e6,_0x57d5bb={'eFTcy':function(_0x57fc67,_0x2a121f){const _0x17a2ba=a3_0x3cb9;return _0x5f1d15[_0x17a2ba(0x15e)](_0x57fc67,_0x2a121f);},'NvDld':_0x5f1d15[_0x3df969(0x177)]},_0x4f6634=_0x5f1d15[_0x3df969(0x1f8)](nestedKeyValue,_0x78e38e,[_0x5f1d15[_0x3df969(0x150)]])||_0x78e38e;let _0x489c3e=null,_0x221b3e=null;try{[_0x221b3e,_0x489c3e]=_0x4f6634?_0x5f1d15['aJHJV'](parseWSEndpoint,_0x4f6634):[null,null],global[_0x3df969(0x125)]=_0x489c3e,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x221b3e),_0x221b3e[_0x3df969(0x1ac)](Constants[_0x3df969(0x11e)])&&(global[_0x3df969(0x183)]=_0x5f1d15[_0x3df969(0x1d2)]);}catch(_0x1d9534){logger[_0x3df969(0x139)](_0x3df969(0x18a)+_0x4f6634+'\x20'+_0x1d9534);}_0x5f1d15[_0x3df969(0x1f8)](processAccessibilityCaps,_0x489c3e,_0x221b3e);if(global[_0x3df969(0x1ef)]){const _0x5add99=await _0x98f5c6['connectOverCDP']['apply'](this,[''+Constants[_0x3df969(0x192)]+_0x5f1d15[_0x3df969(0x17b)](encodeURIComponent,JSON[_0x3df969(0x126)](_0x489c3e))]);return PlaywrightSessionDetails[_0x3df969(0x149)](_0x5add99,_0x2301a5,_0x4f6634),_0x5add99;}return _0x4be0a8[_0x3df969(0x117)](this,arguments)['then'](_0x363659=>{const _0x30b43f=_0x3df969;let _0x363891=_0x78e38e[_0x30b43f(0x1ff)];return _0x57d5bb[_0x30b43f(0x176)](typeof _0x78e38e,_0x57d5bb[_0x30b43f(0x1d9)])&&(_0x363891=_0x78e38e),PlaywrightSessionDetails['setupBrowserDetails'](_0x363659,_0x2301a5,_0x363891),_0x363659;});};}});const _0x54fc72=_0x98f5c6[_0x4a13eb(0x13c)];Object[_0x4a13eb(0x181)](_0x98f5c6,_0x33d4bd['VuNbL'],{'get':function(){return async function _0x151cb4(){const _0x5c57d7=a3_0x3cb9;return _0x54fc72[_0x5c57d7(0x117)](this,arguments)[_0x5c57d7(0x129)](_0x24ed7d=>{const _0x16fda4=_0x5c57d7;return PlaywrightSessionDetails[_0x16fda4(0x149)](_0x24ed7d,null),_0x24ed7d;});};}});};class O11yHelper{[a3_0x44c282(0x14f)]=null;['currentHook']=null;['enabled']=![];[a3_0x44c282(0x162)]=![];[a3_0x44c282(0x1cf)]=[];constructor(_0x4fb306,_0x53240d){const _0x4000ed=a3_0x44c282,_0x567bb7={'tuiVD':_0x4000ed(0x1b0),'oHjyy':function(_0x502c22){return _0x502c22();},'pNngx':function(_0x358946){return _0x358946();},'dpaTE':function(_0x1a7c19,_0x4680ae){return _0x1a7c19===_0x4680ae;},'yvqzJ':_0x4000ed(0x163),'JnKAM':function(_0x108742,_0x471d2d){return _0x108742(_0x471d2d);}},_0x35a8cf=_0x567bb7['tuiVD'][_0x4000ed(0x114)]('|');let _0x313694=0x0;while(!![]){switch(_0x35a8cf[_0x313694++]){case'0':this[_0x4000ed(0x1b3)]=_0x567bb7[_0x4000ed(0x1bd)](shouldProcessEventForTesthub);continue;case'1':this[_0x4000ed(0x1eb)]=_0x567bb7['pNngx'](getTestEnv);continue;case'2':this[_0x4000ed(0x17a)]=new testOpsHelper['PathHelper']({'cwd':process[_0x4000ed(0x132)]()},this[_0x4000ed(0x1eb)][_0x4000ed(0x1dc)]);continue;case'3':this['driver']&&_0x567bb7['dpaTE'](this[_0x4000ed(0x191)][_0x4000ed(0x169)][_0x4000ed(0x1fc)],_0x567bb7[_0x4000ed(0x116)])&&_0x567bb7[_0x4000ed(0x141)](mockPWBrowserType,null);continue;case'4':this[_0x4000ed(0x191)]=_0x4fb306;continue;case'5':this[_0x4000ed(0x162)]=_0x53240d['frameworkName'];continue;}break;}}['hasLiveDriverSession'](){const _0x255dc9=a3_0x44c282,_0x1e6fe4={'kEVfG':function(_0x5c06c5,_0x191aa5){return _0x5c06c5(_0x191aa5);}};if(!this[_0x255dc9(0x191)])return![];try{const _0x502d9e=_0x1e6fe4[_0x255dc9(0x13e)](fetchPlatformDetails,this[_0x255dc9(0x191)]);if(!_0x502d9e)return![];const _0x2bf463=Object[_0x255dc9(0x1d1)](_0x502d9e)[0x0];return!!(_0x2bf463&&_0x502d9e[_0x2bf463]&&_0x502d9e[_0x2bf463][_0x255dc9(0x142)]);}catch(_0xe275e0){return![];}}['bufferPendingHookEvent'](_0x4d0ee9,_0x4b2964){const _0x252ba7=a3_0x44c282;if(!_0x4b2964)return;const _0x5f4739={};_0x5f4739['eventType']=_0x4d0ee9,_0x5f4739['uploadData']=_0x4b2964,this[_0x252ba7(0x1cf)][_0x252ba7(0x1bf)](_0x5f4739);}async[a3_0x44c282(0x119)](){const _0x1f5515=a3_0x44c282,_0x856ebc={};_0x856ebc[_0x1f5515(0x16f)]=function(_0x182c65,_0x31a868){return _0x182c65&&_0x31a868;};const _0x19f27b=_0x856ebc;if(!this[_0x1f5515(0x1cf)]['length'])return;if(!this['hasLiveDriverSession']())return;const _0x5a7da8=this['getCBTInfo'](this['driver']),_0x23ba46=this[_0x1f5515(0x1cf)][_0x1f5515(0x11d)](0x0,this[_0x1f5515(0x1cf)][_0x1f5515(0x1c8)]);for(const {eventType:_0x1cea59,uploadData:_0x2f53a4}of _0x23ba46){try{const _0x129984=_0x2f53a4[_0x1f5515(0x1f2)]||_0x2f53a4[_0x1f5515(0x135)];_0x19f27b[_0x1f5515(0x16f)](_0x129984,_0x5a7da8)&&(_0x129984[_0x1f5515(0x19c)]=_0x5a7da8),await this['fireEvent'](_0x1cea59,_0x2f53a4);}catch(_0x30f556){logger['debug'](_0x1f5515(0x187)+_0x1cea59+':\x20'+util['format'](_0x30f556));}}}[a3_0x44c282(0x17d)](){const _0x50a444=a3_0x44c282;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process['removeAllListeners'](_0x50a444(0x128)+process[_0x50a444(0x122)]),process['on'](_0x50a444(0x128)+process[_0x50a444(0x122)],this['appendTestItemLog'][_0x50a444(0x11c)](this));}async[a3_0x44c282(0x14a)](){const _0x56acd1=a3_0x44c282;await RequestQueueHandler[_0x56acd1(0x1b1)]()['shutdown']();}async[a3_0x44c282(0x194)](_0x10561c){const _0x147752=a3_0x44c282,_0x5de544={'vnxYX':_0x147752(0x157),'ieokB':function(_0x583dc5,_0x28deed){return _0x583dc5(_0x28deed);}};try{this[_0x147752(0x159)]&&!this[_0x147752(0x159)][_0x147752(0x160)]&&(_0x10561c[_0x147752(0x1fb)]=this[_0x147752(0x159)][_0x147752(0x1fa)]);!_0x10561c[_0x147752(0x1fb)]&&this['currentTest']&&!this[_0x147752(0x14f)][_0x147752(0x160)]&&(_0x10561c[_0x147752(0x143)]=this[_0x147752(0x14f)][_0x147752(0x1c0)]);if(_0x10561c[_0x147752(0x1fb)]||_0x10561c['test_run_uuid']){const _0x3a901c={};_0x3a901c[_0x147752(0x12e)]=_0x5de544['vnxYX'],_0x3a901c[_0x147752(0x18f)]=[_0x10561c],await SessionHandler[_0x147752(0x147)](_0x3a901c);}}catch(_0x866bd1){_0x5de544[_0x147752(0x1b5)](debug,_0x147752(0x1a1)+constants[_0x147752(0x18c)]+'\x20with\x20error\x20:\x20'+_0x866bd1);}}async[a3_0x44c282(0x151)](_0x202060){const _0x3707d2=a3_0x44c282,_0x577ad6={'zJQOs':'CBTSessionCreated','qbtIm':function(_0x42d76f,_0x1dd02e){return _0x42d76f(_0x1dd02e);}};if(!this['enabled'])return;const _0x41826d=this[_0x3707d2(0x17e)](this[_0x3707d2(0x191)]);try{const _0x206966={};_0x206966['uuid']=_0x202060,_0x206966[_0x3707d2(0x19c)]=_0x41826d;const _0x127a67=_0x206966,_0x2c8d7b={};_0x2c8d7b[_0x3707d2(0x12e)]=_0x577ad6['zJQOs'],_0x2c8d7b[_0x3707d2(0x135)]=_0x127a67,await SessionHandler[_0x3707d2(0x147)](_0x2c8d7b);}catch(_0xd83c1){_0x577ad6['qbtIm'](debug,_0x3707d2(0x1e3)+constants[_0x3707d2(0x18c)]+_0x3707d2(0x1d3)+_0xd83c1);}}[a3_0x44c282(0x17e)](_0xcdced8){const _0x3ba5de=a3_0x44c282,_0x339588={'cZPkm':function(_0x4bb6bb,_0x3c103a){return _0x4bb6bb(_0x3c103a);}};return _0x339588[_0x3ba5de(0x16c)](fetchPlatformDetails,_0xcdced8);}[a3_0x44c282(0x179)]=_0x8d747=>{const _0xe47e3=a3_0x44c282,_0x1ac4c4={};_0x1ac4c4[_0xe47e3(0x184)]='_beforeEach',_0x1ac4c4['wZqyN']=_0xe47e3(0x1a5);const _0x3996f4=_0x1ac4c4;if(!_0x8d747||!_0x8d747[_0xe47e3(0x11a)])return;[_0x3996f4['vHpxz'],_0x3996f4[_0xe47e3(0x1a0)]]['forEach'](_0x51993f=>{const _0x2e83bf=_0xe47e3,_0x2b2998=_0x8d747['parent'][_0x51993f];_0x2b2998[_0x2e83bf(0x204)](_0x198808=>{const _0x4a0d32=_0x2e83bf;_0x198808[_0x4a0d32(0x1fa)]&&(_0x198808[_0x4a0d32(0x1fa)]=null);});});};['mapTestHooks'](_0x4623fb){const _0x384c65=a3_0x44c282,_0x2f683d={'qYvyg':_0x384c65(0x19e),'Mwlua':function(_0x187ce0){return _0x187ce0();},'wEVBY':function(_0x460e1f,_0x3d5fc3){return _0x460e1f===_0x3d5fc3;},'hHrfX':_0x384c65(0x1a5),'zneFe':'_beforeAll','eAvLu':'_afterAll','HLdzR':_0x384c65(0x1aa)};if(!_0x4623fb||!_0x4623fb[_0x384c65(0x11a)])return;[_0x2f683d[_0x384c65(0x1f1)],_0x2f683d[_0x384c65(0x1db)],_0x2f683d[_0x384c65(0x1f3)],_0x2f683d[_0x384c65(0x15f)]]['forEach'](_0x306ea5=>{const _0x1ef5a3=_0x384c65,_0x5465f3=_0x4623fb[_0x1ef5a3(0x11a)][_0x306ea5]||[];_0x5465f3[_0x1ef5a3(0x204)](_0x3861ad=>{const _0x529127=_0x1ef5a3;if(_0x3861ad['title'][_0x529127(0x1ac)](_0x2f683d[_0x529127(0x13d)]))return;if(!_0x3861ad[_0x529127(0x1fa)])_0x3861ad['hookAnalyticsId']=_0x2f683d[_0x529127(0x1f5)](uuidv4);else _0x3861ad[_0x529127(0x160)]&&_0x2f683d[_0x529127(0x1f4)](_0x306ea5,_0x2f683d[_0x529127(0x15f)])&&(_0x3861ad[_0x529127(0x1fa)]=_0x2f683d[_0x529127(0x1f5)](uuidv4),delete _0x3861ad['markedStatus']);});}),this[_0x384c65(0x190)](_0x4623fb[_0x384c65(0x11a)]);}['getHooksForTest'](_0x4d41b0){const _0x2f446f=a3_0x44c282,_0x5af9f8={};_0x5af9f8['eVuTk']=_0x2f446f(0x19f),_0x5af9f8[_0x2f446f(0x18b)]=_0x2f446f(0x1cc),_0x5af9f8['tsVOW']='_beforeEach',_0x5af9f8[_0x2f446f(0x1ae)]=_0x2f446f(0x1a5);const _0x2d6225=_0x5af9f8;if(!_0x4d41b0||!_0x4d41b0[_0x2f446f(0x11a)])return[];const _0x44636a=[];return[_0x2d6225['eVuTk'],_0x2d6225[_0x2f446f(0x18b)],_0x2d6225['tsVOW'],_0x2d6225[_0x2f446f(0x1ae)]]['forEach'](_0x26d493=>{const _0x1347fd=_0x2f446f,_0x3deb21=_0x4d41b0[_0x1347fd(0x11a)][_0x26d493]||[];_0x3deb21['forEach'](_0x5d4d5b=>{const _0x3aac73=_0x1347fd;_0x5d4d5b[_0x3aac73(0x1fa)]&&_0x44636a['push'](_0x5d4d5b['hookAnalyticsId']);});}),[][_0x2f446f(0x1f6)](_0x44636a,this[_0x2f446f(0x185)](_0x4d41b0[_0x2f446f(0x11a)]));}[a3_0x44c282(0x1e5)](_0xb8963f){const _0x4e18c8=a3_0x44c282,_0x4f4a42=/^"(?<hook>.*)" hook:.*$/,_0x45914e=_0xb8963f['title'],_0x502232=_0x45914e['match'](_0x4f4a42);if(_0x502232&&_0x502232[_0x4e18c8(0x1ba)])return _0x502232[_0x4e18c8(0x1ba)][_0x4e18c8(0x201)]['toUpperCase']()[_0x4e18c8(0x1de)]('\x20','_');return null;}[a3_0x44c282(0x1d8)](_0x371eca){const _0x22735a=a3_0x44c282,_0x58859a={};_0x58859a['dxzhO']=function(_0x231116,_0x1cac9f){return _0x231116===_0x1cac9f;},_0x58859a['nOcXR']=_0x22735a(0x1e7);const _0x1e62b6=_0x58859a,_0x2655c2=path[_0x22735a(0x1fe)];if(_0x1e62b6[_0x22735a(0x19b)](_0x371eca,null)||_0x1e62b6[_0x22735a(0x19b)](_0x371eca,'')||_0x1e62b6['dxzhO'](_0x371eca,_0x2655c2)||_0x1e62b6[_0x22735a(0x19b)](_0x371eca,path[_0x22735a(0x13f)](_0x371eca)))return null;try{return fs['statSync'](path[_0x22735a(0x1e2)](_0x371eca,_0x1e62b6['nOcXR'])),_0x371eca;}catch(_0x5c67c6){const _0x336bc9=path[_0x22735a(0x13f)](_0x371eca);return this[_0x22735a(0x1d8)](_0x336bc9);}}[a3_0x44c282(0x115)](_0x34d94f){const _0xf08ad3=a3_0x44c282,_0x4f4d83={};_0x4f4d83['ixHqe']=function(_0x2f3436,_0x3a8989){return _0x2f3436>_0x3a8989;};const _0x95202f=_0x4f4d83;if(_0x34d94f['file'])return _0x34d94f[_0xf08ad3(0x182)];if(_0x34d94f[_0xf08ad3(0x17c)]){const _0x4bee0b=_0x34d94f[_0xf08ad3(0x17c)][_0xf08ad3(0x14f)]?this[_0xf08ad3(0x115)](_0x34d94f[_0xf08ad3(0x17c)][_0xf08ad3(0x14f)]):null;if(_0x4bee0b)return _0x4bee0b;}if(_0x34d94f['parent']){const _0x2ae5da=this['getRootParentFile'](_0x34d94f[_0xf08ad3(0x11a)])||(_0x34d94f[_0xf08ad3(0x11a)][_0xf08ad3(0x17c)]&&_0x34d94f['parent'][_0xf08ad3(0x17c)][_0xf08ad3(0x14f)]?this[_0xf08ad3(0x115)](_0x34d94f[_0xf08ad3(0x11a)][_0xf08ad3(0x17c)][_0xf08ad3(0x14f)]):null);if(_0x2ae5da)return _0x2ae5da;_0x34d94f[_0xf08ad3(0x11a)][_0xf08ad3(0x203)]&&_0x95202f[_0xf08ad3(0x1d7)](_0x34d94f['parent'][_0xf08ad3(0x203)][_0xf08ad3(0x1c8)],0x0)&&_0x34d94f[_0xf08ad3(0x11a)][_0xf08ad3(0x203)][_0xf08ad3(0x204)](_0x509b35=>{const _0x246bb8=_0xf08ad3,_0x3e9933=_0x509b35[_0x246bb8(0x17c)]?this[_0x246bb8(0x115)](_0x509b35[_0x246bb8(0x17c)]):null;if(_0x3e9933)return _0x3e9933;});}return null;}['getHierarchy'](_0x36ceaf){const _0x59d3d8=a3_0x44c282,_0x508d3d={};_0x508d3d[_0x59d3d8(0x1ad)]=function(_0xaeaeac,_0x3da464){return _0xaeaeac!==_0x3da464;};const _0x53d1e3=_0x508d3d,_0x526690=[];if(_0x36ceaf&&_0x36ceaf[_0x59d3d8(0x11a)]){let _0x43a3ca=_0x36ceaf[_0x59d3d8(0x11a)];while(_0x43a3ca&&_0x53d1e3[_0x59d3d8(0x1ad)](_0x43a3ca[_0x59d3d8(0x1a2)],'')){_0x526690[_0x59d3d8(0x1bf)](_0x43a3ca[_0x59d3d8(0x1a2)]),_0x43a3ca=_0x43a3ca[_0x59d3d8(0x11a)];}}return _0x526690;}[a3_0x44c282(0x193)](_0x28e508,_0x35dbf2,_0x26b5a3=undefined){const _0x2d6d5c=a3_0x44c282,_0x555058={'zpWzM':function(_0xa0f3f,_0xae34){return _0xa0f3f(_0xae34);},'HJLhw':function(_0x542333){return _0x542333();},'PDIqU':function(_0x5d6fe2){return _0x5d6fe2();},'fLbqP':_0x2d6d5c(0x14c),'PCQKu':function(_0x2c3946,_0x2b1ed8){return _0x2c3946!==_0x2b1ed8;},'MHIhu':function(_0x4f72b5,_0x543e8d){return _0x4f72b5!==_0x543e8d;},'SMQYf':'File\x20path\x20could\x20not\x20be\x20found','TFuEp':_0x2d6d5c(0x164),'MlnSh':_0x2d6d5c(0x188),'VxgRF':_0x2d6d5c(0x1f0),'hfLVb':_0x2d6d5c(0x1e8),'NkwRa':_0x2d6d5c(0x1ea),'jCOnY':function(_0x5ba3c6,_0x1716e3){return _0x5ba3c6-_0x1716e3;},'sPzzI':function(_0x413259,_0x1a5b61,_0x140163,_0x32c01a,_0x13a886){return _0x413259(_0x1a5b61,_0x140163,_0x32c01a,_0x13a886);},'GPXHX':function(_0x30ba07,_0x2e4a62){return _0x30ba07!==_0x2e4a62;},'uXuUT':'integrations','EbXXw':_0x2d6d5c(0x1f7),'NReBD':_0x2d6d5c(0x12c),'nTFYi':'failure_backtrace','xiVwi':_0x2d6d5c(0x13a),'nPjIj':_0x2d6d5c(0x206),'WZofC':_0x2d6d5c(0x12f),'LGYVs':function(_0x309ce6,_0x2fa880){return _0x309ce6===_0x2fa880;},'FrmOF':_0x2d6d5c(0x1f2),'xtPkn':_0x2d6d5c(0x135)};if(!this['enabled'])return;try{if(_0x35dbf2['fn']&&_0x35dbf2['fn'][_0x2d6d5c(0x1b2)]()[_0x2d6d5c(0x158)](/browserstack internal helper hook/))return;const _0x24d5b0=_0x555058[_0x2d6d5c(0x15b)](parseEvent,_0x28e508);if(!_0x24d5b0)return;if(_0x24d5b0[_0x2d6d5c(0x1e0)]){this[_0x2d6d5c(0x14f)]=_0x35dbf2,this[_0x2d6d5c(0x159)]=null;if(_0x24d5b0['started']||_0x24d5b0[_0x2d6d5c(0x1e8)]){_0x35dbf2[_0x2d6d5c(0x127)]=new Date(),_0x35dbf2[_0x2d6d5c(0x160)]=![];if(!_0x35dbf2[_0x2d6d5c(0x1c0)])_0x35dbf2[_0x2d6d5c(0x1c0)]=_0x555058[_0x2d6d5c(0x15d)](uuidv4);else _0x35dbf2['markedStatus']&&(!_0x35dbf2[_0x2d6d5c(0x1ca)]&&(_0x35dbf2['retryOf']=_0x35dbf2[_0x2d6d5c(0x1c0)]),_0x35dbf2['testAnalyticsId']=_0x555058['HJLhw'](uuidv4));}}else{if(_0x24d5b0[_0x2d6d5c(0x201)]){this[_0x2d6d5c(0x159)]=_0x35dbf2;if(_0x24d5b0['started']){_0x35dbf2['startedAt']=new Date(),_0x35dbf2[_0x2d6d5c(0x160)]=![];if(!_0x35dbf2[_0x2d6d5c(0x1fa)])_0x35dbf2[_0x2d6d5c(0x1fa)]=_0x555058[_0x2d6d5c(0x15d)](uuidv4);else _0x35dbf2[_0x2d6d5c(0x1fa)]&&_0x35dbf2[_0x2d6d5c(0x160)]&&(_0x35dbf2['hookAnalyticsId']=_0x555058[_0x2d6d5c(0x1ec)](uuidv4));}}}if(_0x24d5b0[_0x2d6d5c(0x200)]&&_0x35dbf2[_0x2d6d5c(0x160)])return;let _0x3909ff;try{_0x3909ff=this[_0x2d6d5c(0x115)](_0x35dbf2);}catch(_0x19abcb){logger[_0x2d6d5c(0x139)](_0x2d6d5c(0x1b7)+_0x19abcb),_0x3909ff=null;}let _0x121e22=[];_0x26b5a3&&(_0x121e22=[_0x26b5a3,_0x555058[_0x2d6d5c(0x15a)]]);const _0x16b437=_0x555058[_0x2d6d5c(0x19d)](_0x35dbf2[_0x2d6d5c(0x1a9)],undefined)?util[_0x2d6d5c(0x12a)](_0x35dbf2['errorsDetailed'][0x0]):_0x555058[_0x2d6d5c(0x1f9)](_0x26b5a3,undefined)?_0x26b5a3[_0x2d6d5c(0x1b2)]():undefined,_0xb6b3db=_0x3909ff?this['findGitConfig'](_0x3909ff):null,_0x4d5211=_0x3909ff?this[_0x2d6d5c(0x17a)][_0x2d6d5c(0x1a4)](this[_0x2d6d5c(0x115)](_0x35dbf2)):_0x555058[_0x2d6d5c(0x166)];let _0x40e2e8=_0x555058[_0x2d6d5c(0x173)];const _0x136d69=!_0x24d5b0[_0x2d6d5c(0x1a7)]?new Date()[_0x2d6d5c(0x1fd)]():null;if(_0x24d5b0[_0x2d6d5c(0x200)])_0x40e2e8=_0x26b5a3?_0x555058[_0x2d6d5c(0x195)]:_0x555058[_0x2d6d5c(0x1bb)],_0x35dbf2['markedStatus']=!![];else _0x24d5b0[_0x2d6d5c(0x1e8)]&&(_0x40e2e8=_0x555058[_0x2d6d5c(0x1ed)],_0x35dbf2['markedStatus']=!![]);const _0x25baaf={'framework':this['frameworkName'],'uuid':_0x35dbf2[_0x2d6d5c(0x1c0)]||_0x35dbf2[_0x2d6d5c(0x1fa)],'name':_0x35dbf2[_0x2d6d5c(0x1a2)],'body':{'lang':_0x555058[_0x2d6d5c(0x123)],'code':_0x35dbf2['body'][_0x2d6d5c(0x1b2)]()},'type':_0x35dbf2[_0x2d6d5c(0x13b)],'scope':_0x35dbf2[_0x2d6d5c(0x171)](),'scopes':this[_0x2d6d5c(0x1e6)](_0x35dbf2),'file_name':_0x4d5211,'vc_filepath':_0xb6b3db?path[_0x2d6d5c(0x138)](_0xb6b3db,_0x3909ff):null,'location':_0x4d5211,'result':_0x40e2e8,'failure_reason':_0x16b437,'duration_in_ms':_0x35dbf2['duration']||(_0x24d5b0[_0x2d6d5c(0x200)]||_0x24d5b0[_0x2d6d5c(0x1e8)])?_0x555058[_0x2d6d5c(0x1b6)](Date['now'](),new Date(_0x35dbf2[_0x2d6d5c(0x127)])[_0x2d6d5c(0x1c5)]()):null,'started_at':new Date(_0x35dbf2[_0x2d6d5c(0x127)])[_0x2d6d5c(0x1fd)](),'finished_at':_0x136d69,'failure':testOpsHelper[_0x2d6d5c(0x153)]['apply'](null,_0x121e22),'failure_type':!_0x16b437?null:testOpsHelper['getFailureType'](_0x16b437),'retry_of':_0x35dbf2[_0x2d6d5c(0x1ca)]||null,'tags':_0x35dbf2['tags']||[],'customRerunParam':{'rerun_name':_0x35dbf2[_0x2d6d5c(0x171)]()}};_0x555058['sPzzI'](appendTesthubParams,_0x25baaf,_0x28e508,_0x35dbf2,FRAMEWORKS['CODECEPT']);if(_0x24d5b0['hook'])[_0x25baaf[_0x2d6d5c(0x1b9)],_0x25baaf['name']]=[this[_0x2d6d5c(0x1e5)](_0x35dbf2),_0x35dbf2[_0x2d6d5c(0x17c)]['test'][_0x2d6d5c(0x1a2)]],_0x24d5b0[_0x2d6d5c(0x200)]?_0x555058['GPXHX'](_0x25baaf[_0x2d6d5c(0x137)],_0x555058[_0x2d6d5c(0x195)])&&(_0x25baaf[_0x2d6d5c(0x137)]=_0x555058['VxgRF']):_0x25baaf['body']={};else _0x24d5b0['test']&&(this['mapTestHooks'](_0x35dbf2),_0x24d5b0['skipped']&&this['resetSkipTestHooks'](_0x35dbf2),(_0x24d5b0[_0x2d6d5c(0x200)]||_0x24d5b0[_0x2d6d5c(0x1e8)])&&(_0x25baaf[_0x2d6d5c(0x189)]=this[_0x2d6d5c(0x185)](_0x35dbf2)));this[_0x2d6d5c(0x191)]&&(_0x24d5b0[_0x2d6d5c(0x1a7)]||_0x24d5b0[_0x2d6d5c(0x1e8)])&&(_0x25baaf[_0x555058[_0x2d6d5c(0x1cb)]]=this[_0x2d6d5c(0x17e)](this[_0x2d6d5c(0x191)]));_0x24d5b0[_0x2d6d5c(0x1e0)]&&_0x24d5b0[_0x2d6d5c(0x200)]&&_0x35dbf2[_0x2d6d5c(0x155)]&&(_0x25baaf[_0x555058['EbXXw']]={'feature':{'name':_0x35dbf2[_0x2d6d5c(0x11a)]['feature'][_0x2d6d5c(0x1fc)],'path':_0x25baaf[_0x2d6d5c(0x154)],'description':_0x35dbf2[_0x2d6d5c(0x11a)]['comment']},'scenario':{'name':_0x35dbf2['title']},'steps':_0x35dbf2['bddSteps']});const _0x5b8a04=_0x25baaf[_0x555058['NReBD']][0x0];_0x5b8a04&&(_0x25baaf[_0x555058[_0x2d6d5c(0x16d)]]=_0x5b8a04[_0x555058[_0x2d6d5c(0x199)]],_0x25baaf[_0x555058[_0x2d6d5c(0x1bc)]]=_0x5b8a04[_0x555058['WZofC']]);if(_0x35dbf2[_0x2d6d5c(0x155)])for(const _0x109fd4 of _0x35dbf2[_0x2d6d5c(0x155)]){!_0x109fd4[_0x2d6d5c(0x1c9)]&&(_0x109fd4[_0x2d6d5c(0x1c9)]=new Date()[_0x2d6d5c(0x1fd)](),_0x555058[_0x2d6d5c(0x202)](_0x109fd4['result'],_0x555058[_0x2d6d5c(0x173)])&&(_0x5b8a04?(_0x109fd4[_0x2d6d5c(0x137)]=_0x555058[_0x2d6d5c(0x195)],_0x109fd4[_0x2d6d5c(0x12c)]=_0x5b8a04[_0x555058[_0x2d6d5c(0x199)]][0x0]):_0x109fd4[_0x2d6d5c(0x137)]=_0x555058[_0x2d6d5c(0x1bb)]));}const _0x3b275c={};_0x3b275c[_0x2d6d5c(0x12e)]=_0x24d5b0[_0x2d6d5c(0x1e8)]?TEST_EVENTS[_0x2d6d5c(0x148)]:_0x28e508;const _0x5c04f8=_0x3b275c;return _0x24d5b0[_0x2d6d5c(0x201)]?_0x5c04f8[_0x555058['FrmOF']]=_0x25baaf:_0x5c04f8[_0x555058['xtPkn']]=_0x25baaf,_0x5c04f8;}catch(_0x3eb258){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x28e508+'\x20with\x20error\x20:\x20'+_0x3eb258);}}async[a3_0x44c282(0x18d)](_0x31d669,_0x1d2150){const _0x286db6=a3_0x44c282;if(!this[_0x286db6(0x1b3)]||!_0x1d2150||!_0x31d669)return![];try{return await SessionHandler[_0x286db6(0x147)](_0x1d2150);}catch(_0x3ce900){logger['debug'](_0x286db6(0x165)+_0x31d669+_0x286db6(0x1d3)+_0x3ce900);}}[a3_0x44c282(0x1a6)](_0x57fad5){const _0x2b572c=a3_0x44c282,_0x568238={};_0x568238[_0x2b572c(0x180)]=_0x2b572c(0x164);const _0x33967d=_0x568238;return{'id':_0x57fad5[_0x2b572c(0x1c1)],'text':_0x57fad5[_0x2b572c(0x1d5)],'keyword':_0x57fad5[_0x2b572c(0x131)],'started_at':_0x57fad5[_0x2b572c(0x127)][_0x2b572c(0x1fd)](),'result':_0x33967d[_0x2b572c(0x180)]};}[a3_0x44c282(0x1a8)](_0x7c6d3){const _0x5126a9=a3_0x44c282,_0x428170={'yIlYj':function(_0xe5d007){return _0xe5d007();}};!this[_0x5126a9(0x14f)][_0x5126a9(0x155)]&&(this['currentTest']['bddSteps']=[]),!_0x7c6d3[_0x5126a9(0x1c1)]&&(_0x7c6d3[_0x5126a9(0x1c1)]=_0x428170[_0x5126a9(0x1cd)](uuidv4),_0x7c6d3['startedAt']=new Date(),this['currentTest'][_0x5126a9(0x155)][_0x5126a9(0x1bf)](this[_0x5126a9(0x1a6)](_0x7c6d3)));}[a3_0x44c282(0x1d4)](_0x5b893c){const _0x54c72b=a3_0x44c282,_0x4983ff={'mBmGI':function(_0x5e8c4b,_0x90eeca){return _0x5e8c4b(_0x90eeca);},'zmLju':'success','OKwnG':'pending','PXzMY':_0x54c72b(0x1f0),'zmCJe':function(_0x64d01a,_0x34a368){return _0x64d01a-_0x34a368;}};let _0x4ace15=this[_0x54c72b(0x14f)]['bddSteps'][_0x54c72b(0x1e4)](_0x31299a=>_0x31299a['id']===_0x5b893c[_0x54c72b(0x1c1)]);_0x4983ff['mBmGI'](isUndefined,_0x4ace15)&&(_0x4ace15=this['initializeBddStep'](_0x5b893c)),_0x4ace15['result']=[_0x4983ff[_0x54c72b(0x16b)],_0x4983ff['OKwnG']][_0x54c72b(0x1ac)](_0x5b893c[_0x54c72b(0x12d)])?_0x4983ff[_0x54c72b(0x136)]:_0x5b893c[_0x54c72b(0x12d)],_0x4ace15['finished_at']=new Date()[_0x54c72b(0x1fd)](),_0x4ace15[_0x54c72b(0x11b)]=_0x4983ff['zmCJe'](Date[_0x54c72b(0x18e)](),_0x5b893c[_0x54c72b(0x127)][_0x54c72b(0x1c5)]()),_0x4ace15[_0x54c72b(0x12c)]=_0x5b893c[_0x54c72b(0x14c)]?_0x5b893c['err'][_0x54c72b(0x178)]:null;}}const a3_0xfb2e5={};a3_0xfb2e5['O11yHelper']=O11yHelper,a3_0xfb2e5[a3_0x44c282(0x14b)]=STATE_PASSED,a3_0xfb2e5[a3_0x44c282(0x19a)]=STATE_FAILED,a3_0xfb2e5['TEST_EVENTS']=TEST_EVENTS,module[a3_0x44c282(0x133)]=a3_0xfb2e5;
|
|
1
|
+
function a3_0x4f24(){const _0x12e623=['qrgnn','message','toUpperCase','format','hook_type','skipped','getHierarchy','now','driver','wPhHx','rZCLd','fullTitle','connect','HOOK_RUN_FINISHED','browserstack','statSync','zvMFm','file','includes','__cloud_provider___','launch','UgqHD','_paths','KRYLM','uploadEventData','passed','../playwright/sessionDetails','LogCreated','uOlIa','match','Failed\x20to\x20parse\x20wsendpoint\x20','232170ylADGt','defineProperty','debug','../../helpers/logger','pending','duration','hookAnalyticsId','currentHook','JGmzk','path','fireEvent','JMWLk','gmMOP','../utils/constants','sep','obsBrowserTypeMockApplied','kZYJS','parent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','XpYjx','hooks','File\x20path\x20could\x20not\x20be\x20found','concat','frameworkName','vWRmr','getRootParentFile','_testEnv','../../helpers/test-observability/utils','getTime','type','TestRunFinished','WyXjU','session_id','EUVpZ','startedAt','BOprg','toOGh','errorsDetailed','failed','zTknd','ANbCM','Playwright','obxnp','shutdown','stepAnalyticsId','pttTL','BOYYv','test_run_uuid','appendTestItemLog','toLowerCase','fTepT','removeAllListeners','name','O11yHelper','start','XUbbY','TEST_RUN_SKIPPED','LmWfX','getHookType','failureData','BLxeL','failure','ctx','3VIzZAP','err','198AotUEN','XEYSS','qAuVE','getInstance','quzZK','flushPendingHookEvents','pid','RFOQg','feature','hasLiveDriverSession','groups','stringify','CODECEPT','hook_run','splice','enabled','stop','retryOf','forEach','initializeBddStep','XTHcw','hook_run_uuid','IzrjN','result','uOmJK','sLybj','wsEndpoint','HIkaY','1982064KZJQKy','BYfYo','nKjQC','TestRunSkipped','body','Not\x20able\x20to\x20import\x20Browser','.git','getCBTInfo','location_prefix','logs','currentTest','expanded','../../helpers/test-observability/requestQueueHandler','push','pendingHookEvents','toString','replace','sendCBTInfo','suites','_beforeEach','DKlCR','then','inspect','started','lpIcC','bddStepStart','PrunX','_afterEach','prefixTestPath','bddSteps','title','qpqme','./helper.js','../playwright/accessibility-helper','95564KgxIDa','dNNXL','ySgaH','length','CzXoC','../../helpers/testhub/utils.js','CXGJj','Fjcmd','CBTSessionCreated','RmvBH','FqQhu','TEST_REPORTING_ANALYTICS','tags','../mocha/test-observability/mochaUtils','RmktC','mapTestHooks','codeceptjs','vdNpm','BROWSERSTACK','connectOverCDP','TEST_RUN_FINISHED','TEST_EVENTS','uuid','wZniO','finished','UFNAk','Oixei','73597yjmFPW','107984jzklVL','comment','mqCEf','markedStatus','QuRFU','exports','backtrace','aAGkZ','bind','getHooksForTest','test','../../helpers/test-observability/sessionHandler','toISOString','dirname','3211846WIItAW','_beforeAll','hook','findGitConfig','5|2|3|4|1|0','wBTMP','DEPrQ','sNhbB','15FRspYG','getFailureType','XLWSx','_afterAll','HookRunStarted','find','snQwB','testAnalyticsId','iHXqb','apply','finished_at','VCzfa','integrations','split','patchConsoleLogger','\x20with\x20error\x20:\x20','status','TocsK','cWzMJ','aibaa','bs:addLog:','435282tUSvoH','2wxgNVy','TEST_RUN_STARTED','test_run','kMtzZ','__platformCaps','event_type'];a3_0x4f24=function(){return _0x12e623;};return a3_0x4f24();}const a3_0x356ac7=a3_0x59c0;(function(_0x52b187,_0xa8c265){const _0x54f6af=a3_0x59c0,_0x2afa07=_0x52b187();while(!![]){try{const _0x293a2f=-parseInt(_0x54f6af(0x1cb))/0x1*(-parseInt(_0x54f6af(0x10c))/0x2)+parseInt(_0x54f6af(0x170))/0x3*(parseInt(_0x54f6af(0x1b0))/0x4)+parseInt(_0x54f6af(0x1e2))/0x5*(-parseInt(_0x54f6af(0x10b))/0x6)+parseInt(_0x54f6af(0x18e))/0x7+-parseInt(_0x54f6af(0x1cc))/0x8*(parseInt(_0x54f6af(0x172))/0x9)+parseInt(_0x54f6af(0x131))/0xa+parseInt(_0x54f6af(0x1da))/0xb;if(_0x293a2f===_0xa8c265)break;else _0x2afa07['push'](_0x2afa07['shift']());}catch(_0x1587eb){_0x2afa07['push'](_0x2afa07['shift']());}}}(a3_0x4f24,0x2c3fe));const path=require(a3_0x356ac7(0x13a)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a3_0x356ac7(0x1c6)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a3_0x356ac7(0x14c)),{getTestEnv}=require(a3_0x356ac7(0x1bd)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x356ac7(0x134))['winstonLogger'],SessionHandler=require(a3_0x356ac7(0x1d7)),RequestQueueHandler=require(a3_0x356ac7(0x19a)),PlaywrightSessionDetails=require(a3_0x356ac7(0x12c)),debug=testOpsHelper[a3_0x356ac7(0x133)],{processAccessibilityCaps}=require(a3_0x356ac7(0x1af)),Constants=require(a3_0x356ac7(0x13e)),{fetchPlatformDetails}=require(a3_0x356ac7(0x1ae)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x356ac7(0x1b5)),constants=require('../utils/constants'),STATE_PASSED=a3_0x356ac7(0x12b),STATE_FAILED=a3_0x356ac7(0x157),a3_0x3cc512={};a3_0x3cc512[a3_0x356ac7(0x10d)]='TestRunStarted',a3_0x3cc512['TEST_RUN_FINISHED']=a3_0x356ac7(0x14f),a3_0x3cc512[a3_0x356ac7(0x169)]=a3_0x356ac7(0x191),a3_0x3cc512['HOOK_RUN_STARTED']=a3_0x356ac7(0x1e6),a3_0x3cc512[a3_0x356ac7(0x11f)]='HookRunFinished';function a3_0x59c0(_0x50b046,_0x4389e3){const _0x4f24a8=a3_0x4f24();return a3_0x59c0=function(_0x59c041,_0x281613){_0x59c041=_0x59c041-0x108;let _0x57ddd1=_0x4f24a8[_0x59c041];return _0x57ddd1;},a3_0x59c0(_0x50b046,_0x4389e3);}const TEST_EVENTS=a3_0x3cc512,parseEvent=_0x266a65=>{const _0x1bc945=a3_0x356ac7,_0x4183ee={};_0x4183ee[_0x1bc945(0x190)]=function(_0x1eef58,_0x45bdca){return _0x1eef58<_0x45bdca;},_0x4183ee[_0x1bc945(0x154)]=function(_0x3d7f33,_0x28e46a){return _0x3d7f33===_0x28e46a;},_0x4183ee['VCzfa']=_0x1bc945(0x1d6),_0x4183ee[_0x1bc945(0x108)]=_0x1bc945(0x1dc),_0x4183ee['uOmJK']=_0x1bc945(0x117),_0x4183ee[_0x1bc945(0x158)]=_0x1bc945(0x1a5),_0x4183ee[_0x1bc945(0x1ce)]=_0x1bc945(0x1c8);const _0x5d3247=_0x4183ee,_0x526fa1=_0x266a65[_0x1bc945(0x12f)](/^(.*)Run(.*)$/);if(!_0x526fa1)return null;if(_0x5d3247[_0x1bc945(0x190)](_0x526fa1[_0x1bc945(0x1b3)],0x3))return null;const _0x53a57d=_0x526fa1[0x1][_0x1bc945(0x162)](),_0x2108b1=_0x526fa1[0x2]['toLowerCase']();return{'test':_0x5d3247['BOprg'](_0x53a57d,_0x5d3247[_0x1bc945(0x1ed)]),'hook':_0x5d3247[_0x1bc945(0x154)](_0x53a57d,_0x5d3247['cWzMJ']),'skipped':_0x5d3247[_0x1bc945(0x154)](_0x2108b1,_0x5d3247[_0x1bc945(0x18a)]),'started':_0x5d3247['BOprg'](_0x2108b1,_0x5d3247[_0x1bc945(0x158)]),'finished':_0x5d3247[_0x1bc945(0x154)](_0x2108b1,_0x5d3247[_0x1bc945(0x1ce)])};},mockPWBrowserType=_0x5bc012=>{const _0x5da093=a3_0x356ac7,_0x56aff0={'RmktC':function(_0x1a4480,_0x4b208d){return _0x1a4480===_0x4b208d;},'LxaUE':'string','LmWfX':function(_0x43cd8c,_0x234360,_0x57bfc3){return _0x43cd8c(_0x234360,_0x57bfc3);},'wTLDG':_0x5da093(0x18c),'aAGkZ':function(_0x356d69,_0x168276){return _0x356d69(_0x168276);},'fNIBP':_0x5da093(0x120),'WGeTW':function(_0x1d3056){return _0x1d3056();},'CFqVa':function(_0x19875e,_0x235c70){return _0x19875e(_0x235c70);},'qrgnn':_0x5da093(0x193),'Oixei':_0x5da093(0x11e),'rdecY':_0x5da093(0x126)},_0x1268eb=_0x56aff0['WGeTW'](resolveBrowserTypeClass);if(!_0x1268eb){_0x56aff0['CFqVa'](debug,_0x56aff0[_0x5da093(0x112)]);return;}const _0x1c9dce=_0x1268eb['prototype'];if(_0x1c9dce[_0x5da093(0x140)])return;const _0x5026d3=_0x1c9dce['connect'];Object[_0x5da093(0x132)](_0x1c9dce,_0x56aff0[_0x5da093(0x1ca)],{'get':function(){const _0x808518={'sNhbB':function(_0x4d7ae7,_0x3490b4){const _0x2de4c4=a3_0x59c0;return _0x56aff0[_0x2de4c4(0x1be)](_0x4d7ae7,_0x3490b4);},'yTwbg':_0x56aff0['LxaUE'],'vWRmr':function(_0x508b98,_0x1b4c50,_0xbdd407){const _0x30dbcb=a3_0x59c0;return _0x56aff0[_0x30dbcb(0x16a)](_0x508b98,_0x1b4c50,_0xbdd407);},'QuRFU':_0x56aff0['wTLDG'],'qpqme':function(_0x43c007,_0x1cf119){const _0x2004b3=a3_0x59c0;return _0x56aff0[_0x2004b3(0x1d3)](_0x43c007,_0x1cf119);},'knVJU':_0x56aff0['fNIBP']};return async function _0x28b445(_0x452d70,_0x520d7b){const _0x4c0fb7=a3_0x59c0,_0x402889={'XpYjx':function(_0xa86732,_0x25007b){const _0xdf5e88=a3_0x59c0;return _0x808518[_0xdf5e88(0x1e1)](_0xa86732,_0x25007b);},'KRYLM':_0x808518['yTwbg']},_0x45d72d=_0x808518[_0x4c0fb7(0x149)](nestedKeyValue,_0x452d70,[_0x808518[_0x4c0fb7(0x1d0)]])||_0x452d70;let _0x4fe7dd=null,_0xbdcf42=null;try{[_0xbdcf42,_0x4fe7dd]=_0x45d72d?_0x808518[_0x4c0fb7(0x1ad)](parseWSEndpoint,_0x45d72d):[null,null],global[_0x4c0fb7(0x110)]=_0x4fe7dd,logger[_0x4c0fb7(0x133)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0xbdcf42),_0xbdcf42[_0x4c0fb7(0x124)](Constants[_0x4c0fb7(0x1c2)])&&(global[_0x4c0fb7(0x125)]=_0x808518['knVJU']);}catch(_0x1c754c){logger['debug'](_0x4c0fb7(0x130)+_0x45d72d+'\x20'+_0x1c754c);}_0x808518[_0x4c0fb7(0x149)](processAccessibilityCaps,_0x4fe7dd,_0xbdcf42);if(global['accessibilityPlatform']){const _0x1daba7=await _0x1c9dce[_0x4c0fb7(0x1c3)][_0x4c0fb7(0x1eb)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x808518['qpqme'](encodeURIComponent,JSON[_0x4c0fb7(0x17d)](_0x4fe7dd))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x1daba7,_0x5bc012,_0x45d72d),_0x1daba7;}return _0x5026d3[_0x4c0fb7(0x1eb)](this,arguments)[_0x4c0fb7(0x1a3)](_0x13af44=>{const _0x44950e=_0x4c0fb7;let _0x1e38d5=_0x452d70[_0x44950e(0x18c)];return _0x402889[_0x44950e(0x144)](typeof _0x452d70,_0x402889[_0x44950e(0x129)])&&(_0x1e38d5=_0x452d70),PlaywrightSessionDetails['setupBrowserDetails'](_0x13af44,_0x5bc012,_0x1e38d5),_0x13af44;});};}});const _0x2c9858=_0x1c9dce['launch'];Object['defineProperty'](_0x1c9dce,_0x56aff0['rdecY'],{'get':function(){return async function _0x59ff98(){const _0x24164f=a3_0x59c0;return _0x2c9858[_0x24164f(0x1eb)](this,arguments)[_0x24164f(0x1a3)](_0x5c6953=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5c6953,null),_0x5c6953;});};}});};class O11yHelper{[a3_0x356ac7(0x198)]=null;[a3_0x356ac7(0x138)]=null;[a3_0x356ac7(0x181)]=![];[a3_0x356ac7(0x148)]=![];['pendingHookEvents']=[];constructor(_0x1bf104,_0x45c3b7){const _0x30271d=a3_0x356ac7,_0x453731={'jvWKl':_0x30271d(0x1de),'brnsX':function(_0x38860f,_0x526fd4){return _0x38860f===_0x526fd4;},'BOYYv':_0x30271d(0x15a),'EUVpZ':function(_0x46ae6d,_0xacb1f3){return _0x46ae6d(_0xacb1f3);},'RFOQg':function(_0x3bc799){return _0x3bc799();}},_0xaf9d1e=_0x453731['jvWKl'][_0x30271d(0x1ef)]('|');let _0x2d9ef9=0x0;while(!![]){switch(_0xaf9d1e[_0x2d9ef9++]){case'0':this['driver']&&_0x453731['brnsX'](this[_0x30271d(0x11a)]['constructor']['name'],_0x453731[_0x30271d(0x15f)])&&_0x453731[_0x30271d(0x152)](mockPWBrowserType,null);continue;case'1':this[_0x30271d(0x128)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x30271d(0x14b)][_0x30271d(0x196)]);continue;case'2':this[_0x30271d(0x148)]=_0x45c3b7[_0x30271d(0x148)];continue;case'3':this[_0x30271d(0x11a)]=_0x1bf104;continue;case'4':this[_0x30271d(0x14b)]=_0x453731[_0x30271d(0x179)](getTestEnv);continue;case'5':this['enabled']=_0x453731[_0x30271d(0x179)](shouldProcessEventForTesthub);continue;}break;}}[a3_0x356ac7(0x17b)](){const _0x5e6f8e=a3_0x356ac7,_0xc7c257={'ANbCM':function(_0x13014e,_0x43e370){return _0x13014e(_0x43e370);}};if(!this[_0x5e6f8e(0x11a)])return![];try{const _0x11ff3f=_0xc7c257[_0x5e6f8e(0x159)](fetchPlatformDetails,this['driver']);if(!_0x11ff3f)return![];const _0x245127=Object['keys'](_0x11ff3f)[0x0];return!!(_0x245127&&_0x11ff3f[_0x245127]&&_0x11ff3f[_0x245127][_0x5e6f8e(0x151)]);}catch(_0x92d91e){return![];}}['bufferPendingHookEvent'](_0x15ab15,_0x5813ea){const _0x359462=a3_0x356ac7;if(!_0x5813ea)return;const _0x4ed55f={};_0x4ed55f['eventType']=_0x15ab15,_0x4ed55f['uploadData']=_0x5813ea,this[_0x359462(0x19c)][_0x359462(0x19b)](_0x4ed55f);}async[a3_0x356ac7(0x177)](){const _0x463149=a3_0x356ac7,_0x53bead={};_0x53bead[_0x463149(0x11b)]=function(_0x53926d,_0x5e98ad){return _0x53926d&&_0x5e98ad;};const _0x38f5d8=_0x53bead;if(!this[_0x463149(0x19c)][_0x463149(0x1b3)])return;if(!this[_0x463149(0x17b)]())return;const _0x5a70cc=this['getCBTInfo'](this[_0x463149(0x11a)]),_0x1aecd6=this[_0x463149(0x19c)][_0x463149(0x180)](0x0,this[_0x463149(0x19c)]['length']);for(const {eventType:_0x13215c,uploadData:_0x1a6f76}of _0x1aecd6){try{const _0x1f4b34=_0x1a6f76[_0x463149(0x17f)]||_0x1a6f76[_0x463149(0x10e)];_0x38f5d8['wPhHx'](_0x1f4b34,_0x5a70cc)&&(_0x1f4b34[_0x463149(0x1ee)]=_0x5a70cc),await this[_0x463149(0x13b)](_0x13215c,_0x1a6f76);}catch(_0x346dac){logger['debug']('Failed\x20to\x20flush\x20pending\x20hook\x20event\x20'+_0x13215c+':\x20'+util[_0x463149(0x115)](_0x346dac));}}}[a3_0x356ac7(0x167)](){const _0x3fcb28=a3_0x356ac7;if(!this[_0x3fcb28(0x181)])return;testOpsHelper[_0x3fcb28(0x1f0)](),process[_0x3fcb28(0x164)](_0x3fcb28(0x10a)+process[_0x3fcb28(0x178)]),process['on'](_0x3fcb28(0x10a)+process['pid'],this[_0x3fcb28(0x161)][_0x3fcb28(0x1d4)](this));}async[a3_0x356ac7(0x182)](){const _0x463a5f=a3_0x356ac7;await RequestQueueHandler[_0x463a5f(0x175)]()[_0x463a5f(0x15c)]();}async['appendTestItemLog'](_0x5ef233){const _0x4167a6=a3_0x356ac7,_0x546fce={'JGmzk':_0x4167a6(0x12d),'quzZK':function(_0x1e11bf,_0x113308){return _0x1e11bf(_0x113308);}};try{this['currentHook']&&!this['currentHook']['markedStatus']&&(_0x5ef233[_0x4167a6(0x187)]=this[_0x4167a6(0x138)][_0x4167a6(0x137)]);!_0x5ef233[_0x4167a6(0x187)]&&this['currentTest']&&!this[_0x4167a6(0x198)][_0x4167a6(0x1cf)]&&(_0x5ef233[_0x4167a6(0x160)]=this[_0x4167a6(0x198)][_0x4167a6(0x1e9)]);if(_0x5ef233[_0x4167a6(0x187)]||_0x5ef233[_0x4167a6(0x160)]){const _0xa25aae={};_0xa25aae['event_type']=_0x546fce[_0x4167a6(0x139)],_0xa25aae[_0x4167a6(0x197)]=[_0x5ef233],await SessionHandler[_0x4167a6(0x12a)](_0xa25aae);}}catch(_0x2d8f01){_0x546fce[_0x4167a6(0x176)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x4167a6(0x1bb)]+_0x4167a6(0x1f1)+_0x2d8f01);}}async[a3_0x356ac7(0x19f)](_0x482a05){const _0x15c89b=a3_0x356ac7,_0x3f9da1={'rwdcD':_0x15c89b(0x1b8),'toOGh':function(_0x5aac16,_0xd70565){return _0x5aac16(_0xd70565);}};if(!this['enabled'])return;const _0x5e3d48=this[_0x15c89b(0x195)](this[_0x15c89b(0x11a)]);try{const _0x4a6f4d={};_0x4a6f4d['uuid']=_0x482a05,_0x4a6f4d['integrations']=_0x5e3d48;const _0x48b5a8=_0x4a6f4d,_0x19141f={};_0x19141f[_0x15c89b(0x111)]=_0x3f9da1['rwdcD'],_0x19141f['test_run']=_0x48b5a8,await SessionHandler['uploadEventData'](_0x19141f);}catch(_0x5ca0fe){_0x3f9da1[_0x15c89b(0x155)](debug,_0x15c89b(0x143)+constants[_0x15c89b(0x1bb)]+_0x15c89b(0x1f1)+_0x5ca0fe);}}['getCBTInfo'](_0x3633fb){const _0x1253b9=a3_0x356ac7,_0x48ae35={'FqQhu':function(_0x51091e,_0x3343b4){return _0x51091e(_0x3343b4);}};return _0x48ae35[_0x1253b9(0x1ba)](fetchPlatformDetails,_0x3633fb);}['resetSkipTestHooks']=_0x5ceb61=>{const _0x31d074=a3_0x356ac7,_0x2ac489={};_0x2ac489['pttTL']=_0x31d074(0x1a1),_0x2ac489[_0x31d074(0x173)]=_0x31d074(0x1a9);const _0x1f43ff=_0x2ac489;if(!_0x5ceb61||!_0x5ceb61[_0x31d074(0x142)])return;[_0x1f43ff[_0x31d074(0x15e)],_0x1f43ff[_0x31d074(0x173)]][_0x31d074(0x184)](_0x15d442=>{const _0x5dd42e=_0x31d074,_0x37499c=_0x5ceb61[_0x5dd42e(0x142)][_0x15d442];_0x37499c[_0x5dd42e(0x184)](_0x556621=>{const _0x55c4a7=_0x5dd42e;_0x556621[_0x55c4a7(0x137)]&&(_0x556621[_0x55c4a7(0x137)]=null);});});};[a3_0x356ac7(0x1bf)](_0x354333){const _0x362da0=a3_0x356ac7,_0x16bc62={'wZniO':_0x362da0(0x1c0),'HIkaY':function(_0x3ad6ad){return _0x3ad6ad();},'wBTMP':function(_0x3162e6,_0x19e922){return _0x3162e6===_0x19e922;},'WyXjU':_0x362da0(0x1a9),'YYeaS':function(_0xb6e09f){return _0xb6e09f();},'TocsK':'_beforeAll','BLxeL':_0x362da0(0x1e5),'BYfYo':_0x362da0(0x1a1)};if(!_0x354333||!_0x354333[_0x362da0(0x142)])return;[_0x16bc62[_0x362da0(0x1f3)],_0x16bc62[_0x362da0(0x16d)],_0x16bc62[_0x362da0(0x18f)],_0x16bc62[_0x362da0(0x150)]][_0x362da0(0x184)](_0x3c9322=>{const _0x903554=_0x362da0,_0x14d1bb={'qbMQP':_0x16bc62[_0x903554(0x1c7)],'snQwB':function(_0x5f10af){const _0x3f8abe=_0x903554;return _0x16bc62[_0x3f8abe(0x18d)](_0x5f10af);},'XLWSx':function(_0x39ace8,_0x1e089c){const _0x4a2521=_0x903554;return _0x16bc62[_0x4a2521(0x1df)](_0x39ace8,_0x1e089c);},'zvMFm':_0x16bc62[_0x903554(0x150)],'BDDxv':function(_0x3464a5){return _0x16bc62['YYeaS'](_0x3464a5);}},_0x5c779a=_0x354333[_0x903554(0x142)][_0x3c9322]||[];_0x5c779a[_0x903554(0x184)](_0x531bcd=>{const _0x57c71b=_0x903554;if(_0x531bcd[_0x57c71b(0x1ac)][_0x57c71b(0x124)](_0x14d1bb['qbMQP']))return;if(!_0x531bcd[_0x57c71b(0x137)])_0x531bcd['hookAnalyticsId']=_0x14d1bb[_0x57c71b(0x1e8)](uuidv4);else _0x531bcd[_0x57c71b(0x1cf)]&&_0x14d1bb[_0x57c71b(0x1e4)](_0x3c9322,_0x14d1bb[_0x57c71b(0x122)])&&(_0x531bcd['hookAnalyticsId']=_0x14d1bb['BDDxv'](uuidv4),delete _0x531bcd['markedStatus']);});}),this[_0x362da0(0x1bf)](_0x354333[_0x362da0(0x142)]);}[a3_0x356ac7(0x1d5)](_0x60b354){const _0x4fdacf=a3_0x356ac7,_0x20dff6={};_0x20dff6['IzrjN']=_0x4fdacf(0x1db),_0x20dff6[_0x4fdacf(0x10f)]=_0x4fdacf(0x1e5),_0x20dff6['uOlIa']=_0x4fdacf(0x1a1),_0x20dff6[_0x4fdacf(0x1a6)]='_afterEach';const _0x5eab2c=_0x20dff6;if(!_0x60b354||!_0x60b354['parent'])return[];const _0x587ab3=[];return[_0x5eab2c[_0x4fdacf(0x188)],_0x5eab2c['kMtzZ'],_0x5eab2c[_0x4fdacf(0x12e)],_0x5eab2c[_0x4fdacf(0x1a6)]]['forEach'](_0x132e29=>{const _0x5b8352=_0x4fdacf,_0x2df627=_0x60b354['parent'][_0x132e29]||[];_0x2df627[_0x5b8352(0x184)](_0x5233a5=>{const _0x3dbf79=_0x5b8352;_0x5233a5[_0x3dbf79(0x137)]&&_0x587ab3[_0x3dbf79(0x19b)](_0x5233a5[_0x3dbf79(0x137)]);});}),[][_0x4fdacf(0x147)](_0x587ab3,this[_0x4fdacf(0x1d5)](_0x60b354['parent']));}[a3_0x356ac7(0x16b)](_0x433663){const _0x5828d0=a3_0x356ac7,_0x5b64aa=/^"(?<hook>.*)" hook:.*$/,_0x3de142=_0x433663[_0x5828d0(0x1ac)],_0x399c1a=_0x3de142[_0x5828d0(0x12f)](_0x5b64aa);if(_0x399c1a&&_0x399c1a[_0x5828d0(0x17c)])return _0x399c1a[_0x5828d0(0x17c)][_0x5828d0(0x1dc)][_0x5828d0(0x114)]()[_0x5828d0(0x19e)]('\x20','_');return null;}[a3_0x356ac7(0x1dd)](_0x593a85){const _0x2ca58d=a3_0x356ac7,_0x12797f={};_0x12797f[_0x2ca58d(0x1b1)]=function(_0x3ac313,_0x983dbd){return _0x3ac313===_0x983dbd;},_0x12797f[_0x2ca58d(0x1b6)]=function(_0x1c7a52,_0x2acf1d){return _0x1c7a52===_0x2acf1d;},_0x12797f[_0x2ca58d(0x186)]=function(_0x478326,_0x44524c){return _0x478326===_0x44524c;},_0x12797f[_0x2ca58d(0x1ea)]=_0x2ca58d(0x194);const _0x3efff8=_0x12797f,_0x4c64f2=path[_0x2ca58d(0x13f)];if(_0x3efff8[_0x2ca58d(0x1b1)](_0x593a85,null)||_0x3efff8[_0x2ca58d(0x1b6)](_0x593a85,'')||_0x3efff8[_0x2ca58d(0x1b6)](_0x593a85,_0x4c64f2)||_0x3efff8[_0x2ca58d(0x186)](_0x593a85,path[_0x2ca58d(0x1d9)](_0x593a85)))return null;try{return fs[_0x2ca58d(0x121)](path['join'](_0x593a85,_0x3efff8[_0x2ca58d(0x1ea)])),_0x593a85;}catch(_0xa36504){const _0x4962e4=path[_0x2ca58d(0x1d9)](_0x593a85);return this[_0x2ca58d(0x1dd)](_0x4962e4);}}[a3_0x356ac7(0x14a)](_0x24f79d){const _0x4a48a2=a3_0x356ac7,_0x15c062={};_0x15c062['BIojq']=function(_0x346c9c,_0x51103e){return _0x346c9c>_0x51103e;};const _0x7ecab7=_0x15c062;if(_0x24f79d['file'])return _0x24f79d[_0x4a48a2(0x123)];if(_0x24f79d[_0x4a48a2(0x16f)]){const _0xb6256=_0x24f79d[_0x4a48a2(0x16f)]['currentTest']?this['getRootParentFile'](_0x24f79d['ctx'][_0x4a48a2(0x198)]):null;if(_0xb6256)return _0xb6256;}if(_0x24f79d[_0x4a48a2(0x142)]){const _0x1c2a4f=this[_0x4a48a2(0x14a)](_0x24f79d[_0x4a48a2(0x142)])||(_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x16f)]&&_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x16f)]['currentTest']?this[_0x4a48a2(0x14a)](_0x24f79d['parent'][_0x4a48a2(0x16f)]['currentTest']):null);if(_0x1c2a4f)return _0x1c2a4f;_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x1a0)]&&_0x7ecab7['BIojq'](_0x24f79d['parent'][_0x4a48a2(0x1a0)][_0x4a48a2(0x1b3)],0x0)&&_0x24f79d[_0x4a48a2(0x142)]['suites']['forEach'](_0x14c2bd=>{const _0x450216=_0x4a48a2,_0x2b06e0=_0x14c2bd['ctx']?this[_0x450216(0x14a)](_0x14c2bd[_0x450216(0x16f)]):null;if(_0x2b06e0)return _0x2b06e0;});}return null;}[a3_0x356ac7(0x118)](_0x3ad040){const _0xd2740=a3_0x356ac7,_0x3554ac={};_0x3554ac['XGnFC']=function(_0x7984ce,_0x49e821){return _0x7984ce!==_0x49e821;};const _0x3c5651=_0x3554ac,_0x8d4cfc=[];if(_0x3ad040&&_0x3ad040[_0xd2740(0x142)]){let _0xd7050c=_0x3ad040[_0xd2740(0x142)];while(_0xd7050c&&_0x3c5651['XGnFC'](_0xd7050c[_0xd2740(0x1ac)],'')){_0x8d4cfc['push'](_0xd7050c[_0xd2740(0x1ac)]),_0xd7050c=_0xd7050c[_0xd2740(0x142)];}}return _0x8d4cfc;}['captureEvent'](_0x19f737,_0x218e69,_0x28687e=undefined){const _0xcbadf=a3_0x356ac7,_0x5addc3={'qAuVE':function(_0x4e8540,_0x28f0c6){return _0x4e8540(_0x28f0c6);},'PrunX':function(_0x9f16d8){return _0x9f16d8();},'gmMOP':function(_0x3a67ec){return _0x3a67ec();},'PNAlt':function(_0x58570c){return _0x58570c();},'JaYOW':'err','obxnp':function(_0x3d656b,_0x56104b){return _0x3d656b!==_0x56104b;},'RPbVN':function(_0x1a60a1,_0x3c1f44){return _0x1a60a1!==_0x3c1f44;},'tTsxI':_0xcbadf(0x146),'kZYJS':_0xcbadf(0x135),'ySgaH':_0xcbadf(0x157),'JMWLk':_0xcbadf(0x12b),'DKlCR':_0xcbadf(0x117),'cRFSD':'javascript','MRVUO':function(_0x3ed6ec,_0x1a6bf4){return _0x3ed6ec-_0x1a6bf4;},'YChzO':function(_0x21d5c0,_0x5dcf36,_0x47148f,_0x1df5e9,_0x48c70b){return _0x21d5c0(_0x5dcf36,_0x47148f,_0x1df5e9,_0x48c70b);},'rZCLd':'integrations','jmMaM':'meta','Fjcmd':_0xcbadf(0x16e),'DEPrQ':'failure_backtrace','sLybj':_0xcbadf(0x1d2),'tJjJA':'failure_reason_expanded','cgfxj':_0xcbadf(0x199),'CzXoC':function(_0x39daaf,_0x50b744){return _0x39daaf===_0x50b744;},'UgqHD':_0xcbadf(0x17f),'BCGNo':_0xcbadf(0x10e)};if(!this[_0xcbadf(0x181)])return;try{if(_0x218e69['fn']&&_0x218e69['fn'][_0xcbadf(0x19d)]()['match'](/browserstack internal helper hook/))return;const _0x123a3b=_0x5addc3[_0xcbadf(0x174)](parseEvent,_0x19f737);if(!_0x123a3b)return;if(_0x123a3b[_0xcbadf(0x1d6)]){this[_0xcbadf(0x198)]=_0x218e69,this[_0xcbadf(0x138)]=null;if(_0x123a3b[_0xcbadf(0x1a5)]||_0x123a3b['skipped']){_0x218e69[_0xcbadf(0x153)]=new Date(),_0x218e69[_0xcbadf(0x1cf)]=![];if(!_0x218e69[_0xcbadf(0x1e9)])_0x218e69[_0xcbadf(0x1e9)]=_0x5addc3[_0xcbadf(0x1a8)](uuidv4);else _0x218e69['markedStatus']&&(!_0x218e69[_0xcbadf(0x183)]&&(_0x218e69[_0xcbadf(0x183)]=_0x218e69[_0xcbadf(0x1e9)]),_0x218e69[_0xcbadf(0x1e9)]=_0x5addc3[_0xcbadf(0x13d)](uuidv4));}}else{if(_0x123a3b[_0xcbadf(0x1dc)]){this[_0xcbadf(0x138)]=_0x218e69;if(_0x123a3b[_0xcbadf(0x1a5)]){_0x218e69[_0xcbadf(0x153)]=new Date(),_0x218e69[_0xcbadf(0x1cf)]=![];if(!_0x218e69[_0xcbadf(0x137)])_0x218e69[_0xcbadf(0x137)]=_0x5addc3['PNAlt'](uuidv4);else _0x218e69[_0xcbadf(0x137)]&&_0x218e69[_0xcbadf(0x1cf)]&&(_0x218e69[_0xcbadf(0x137)]=_0x5addc3[_0xcbadf(0x13d)](uuidv4));}}}if(_0x123a3b['finished']&&_0x218e69[_0xcbadf(0x1cf)])return;let _0x17159c;try{_0x17159c=this[_0xcbadf(0x14a)](_0x218e69);}catch(_0x1a7ba8){logger[_0xcbadf(0x133)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1a7ba8),_0x17159c=null;}let _0x5d382b=[];_0x28687e&&(_0x5d382b=[_0x28687e,_0x5addc3['JaYOW']]);const _0x5702d4=_0x5addc3[_0xcbadf(0x15b)](_0x218e69[_0xcbadf(0x156)],undefined)?util[_0xcbadf(0x1a4)](_0x218e69[_0xcbadf(0x156)][0x0]):_0x5addc3['RPbVN'](_0x28687e,undefined)?_0x28687e[_0xcbadf(0x19d)]():undefined,_0x48d9af=_0x17159c?this['findGitConfig'](_0x17159c):null,_0x2c8cac=_0x17159c?this['_paths'][_0xcbadf(0x1aa)](this[_0xcbadf(0x14a)](_0x218e69)):_0x5addc3['tTsxI'];let _0x1ccb2b=_0x5addc3[_0xcbadf(0x141)];const _0x29a235=!_0x123a3b[_0xcbadf(0x1a5)]?new Date()['toISOString']():null;if(_0x123a3b['finished'])_0x1ccb2b=_0x28687e?_0x5addc3[_0xcbadf(0x1b2)]:_0x5addc3[_0xcbadf(0x13c)],_0x218e69[_0xcbadf(0x1cf)]=!![];else _0x123a3b['skipped']&&(_0x1ccb2b=_0x5addc3[_0xcbadf(0x1a2)],_0x218e69[_0xcbadf(0x1cf)]=!![]);const _0x55fe17={'framework':this[_0xcbadf(0x148)],'uuid':_0x218e69[_0xcbadf(0x1e9)]||_0x218e69[_0xcbadf(0x137)],'name':_0x218e69[_0xcbadf(0x1ac)],'body':{'lang':_0x5addc3['cRFSD'],'code':_0x218e69[_0xcbadf(0x192)]['toString']()},'type':_0x218e69[_0xcbadf(0x14e)],'scope':_0x218e69['fullTitle'](),'scopes':this[_0xcbadf(0x118)](_0x218e69),'file_name':_0x2c8cac,'vc_filepath':_0x48d9af?path['relative'](_0x48d9af,_0x17159c):null,'location':_0x2c8cac,'result':_0x1ccb2b,'failure_reason':_0x5702d4,'duration_in_ms':_0x218e69[_0xcbadf(0x136)]||(_0x123a3b[_0xcbadf(0x1c8)]||_0x123a3b['skipped'])?_0x5addc3['MRVUO'](Date[_0xcbadf(0x119)](),new Date(_0x218e69['startedAt'])[_0xcbadf(0x14d)]()):null,'started_at':new Date(_0x218e69['startedAt'])[_0xcbadf(0x1d8)](),'finished_at':_0x29a235,'failure':testOpsHelper[_0xcbadf(0x16c)][_0xcbadf(0x1eb)](null,_0x5d382b),'failure_type':!_0x5702d4?null:testOpsHelper[_0xcbadf(0x1e3)](_0x5702d4),'retry_of':_0x218e69[_0xcbadf(0x183)]||null,'tags':_0x218e69[_0xcbadf(0x1bc)]||[],'customRerunParam':{'rerun_name':_0x218e69[_0xcbadf(0x11d)]()}};_0x5addc3['YChzO'](appendTesthubParams,_0x55fe17,_0x19f737,_0x218e69,FRAMEWORKS[_0xcbadf(0x17e)]);if(_0x123a3b[_0xcbadf(0x1dc)])[_0x55fe17[_0xcbadf(0x116)],_0x55fe17[_0xcbadf(0x165)]]=[this[_0xcbadf(0x16b)](_0x218e69),_0x218e69['ctx'][_0xcbadf(0x1d6)][_0xcbadf(0x1ac)]],_0x123a3b['finished']?_0x5addc3['RPbVN'](_0x55fe17[_0xcbadf(0x189)],_0x5addc3[_0xcbadf(0x1b2)])&&(_0x55fe17[_0xcbadf(0x189)]=_0x5addc3[_0xcbadf(0x13c)]):_0x55fe17[_0xcbadf(0x192)]={};else _0x123a3b['test']&&(this[_0xcbadf(0x1bf)](_0x218e69),_0x123a3b['skipped']&&this['resetSkipTestHooks'](_0x218e69),(_0x123a3b['finished']||_0x123a3b[_0xcbadf(0x117)])&&(_0x55fe17[_0xcbadf(0x145)]=this['getHooksForTest'](_0x218e69)));this[_0xcbadf(0x11a)]&&(_0x123a3b[_0xcbadf(0x1a5)]||_0x123a3b[_0xcbadf(0x117)])&&(_0x55fe17[_0x5addc3[_0xcbadf(0x11c)]]=this[_0xcbadf(0x195)](this[_0xcbadf(0x11a)]));_0x123a3b[_0xcbadf(0x1d6)]&&_0x123a3b['finished']&&_0x218e69[_0xcbadf(0x1ab)]&&(_0x55fe17[_0x5addc3['jmMaM']]={'feature':{'name':_0x218e69['parent'][_0xcbadf(0x17a)][_0xcbadf(0x165)],'path':_0x55fe17['file_name'],'description':_0x218e69[_0xcbadf(0x142)][_0xcbadf(0x1cd)]},'scenario':{'name':_0x218e69[_0xcbadf(0x1ac)]},'steps':_0x218e69[_0xcbadf(0x1ab)]});const _0x15d99d=_0x55fe17[_0x5addc3[_0xcbadf(0x1b7)]][0x0];_0x15d99d&&(_0x55fe17[_0x5addc3[_0xcbadf(0x1e0)]]=_0x15d99d[_0x5addc3[_0xcbadf(0x18b)]],_0x55fe17[_0x5addc3['tJjJA']]=_0x15d99d[_0x5addc3['cgfxj']]);if(_0x218e69[_0xcbadf(0x1ab)])for(const _0x569f5f of _0x218e69[_0xcbadf(0x1ab)]){!_0x569f5f[_0xcbadf(0x1ec)]&&(_0x569f5f[_0xcbadf(0x1ec)]=new Date()['toISOString'](),_0x5addc3[_0xcbadf(0x1b4)](_0x569f5f[_0xcbadf(0x189)],_0x5addc3[_0xcbadf(0x141)])&&(_0x15d99d?(_0x569f5f[_0xcbadf(0x189)]=_0x5addc3[_0xcbadf(0x1b2)],_0x569f5f['failure']=_0x15d99d[_0x5addc3['sLybj']][0x0]):_0x569f5f['result']=_0x5addc3[_0xcbadf(0x13c)]));}const _0x5600a2={};_0x5600a2[_0xcbadf(0x111)]=_0x123a3b['skipped']?TEST_EVENTS[_0xcbadf(0x1c4)]:_0x19f737;const _0x24a6dd=_0x5600a2;return _0x123a3b[_0xcbadf(0x1dc)]?_0x24a6dd[_0x5addc3[_0xcbadf(0x127)]]=_0x55fe17:_0x24a6dd[_0x5addc3['BCGNo']]=_0x55fe17,_0x24a6dd;}catch(_0x579498){logger[_0xcbadf(0x133)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x19f737+_0xcbadf(0x1f1)+_0x579498);}}async[a3_0x356ac7(0x13b)](_0x520700,_0x173f47){const _0x441c88=a3_0x356ac7;if(!this[_0x441c88(0x181)]||!_0x173f47||!_0x520700)return![];try{return await SessionHandler[_0x441c88(0x12a)](_0x173f47);}catch(_0x424475){logger[_0x441c88(0x133)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x520700+_0x441c88(0x1f1)+_0x424475);}}[a3_0x356ac7(0x185)](_0x3fa67b){const _0x49e70d=a3_0x356ac7,_0x13977e={};_0x13977e[_0x49e70d(0x1c9)]=_0x49e70d(0x135);const _0x4973ab=_0x13977e;return{'id':_0x3fa67b['stepAnalyticsId'],'text':_0x3fa67b['text'],'keyword':_0x3fa67b['keyword'],'started_at':_0x3fa67b[_0x49e70d(0x153)][_0x49e70d(0x1d8)](),'result':_0x4973ab[_0x49e70d(0x1c9)]};}[a3_0x356ac7(0x1a7)](_0xfb864){const _0x2c23e7=a3_0x356ac7,_0x3800c9={'RKjdi':function(_0x405fe5){return _0x405fe5();}};!this[_0x2c23e7(0x198)][_0x2c23e7(0x1ab)]&&(this[_0x2c23e7(0x198)][_0x2c23e7(0x1ab)]=[]),!_0xfb864[_0x2c23e7(0x15d)]&&(_0xfb864[_0x2c23e7(0x15d)]=_0x3800c9['RKjdi'](uuidv4),_0xfb864['startedAt']=new Date(),this[_0x2c23e7(0x198)]['bddSteps']['push'](this[_0x2c23e7(0x185)](_0xfb864)));}['bddStepFinish'](_0x5397be){const _0x214341=a3_0x356ac7,_0x33f058={'XUbbY':function(_0x2b19fe,_0x426e35){return _0x2b19fe(_0x426e35);},'aibaa':'success','RmvBH':'pending','fTepT':_0x214341(0x12b),'vdNpm':function(_0x487a01,_0x25350c){return _0x487a01-_0x25350c;}};let _0x100c41=this[_0x214341(0x198)]['bddSteps'][_0x214341(0x1e7)](_0x5d22d9=>_0x5d22d9['id']===_0x5397be['stepAnalyticsId']);_0x33f058[_0x214341(0x168)](isUndefined,_0x100c41)&&(_0x100c41=this['initializeBddStep'](_0x5397be)),_0x100c41['result']=[_0x33f058[_0x214341(0x109)],_0x33f058[_0x214341(0x1b9)]]['includes'](_0x5397be['status'])?_0x33f058[_0x214341(0x163)]:_0x5397be[_0x214341(0x1f2)],_0x100c41[_0x214341(0x1ec)]=new Date()['toISOString'](),_0x100c41[_0x214341(0x136)]=_0x33f058[_0x214341(0x1c1)](Date[_0x214341(0x119)](),_0x5397be['startedAt'][_0x214341(0x14d)]()),_0x100c41[_0x214341(0x16e)]=_0x5397be[_0x214341(0x171)]?_0x5397be['err'][_0x214341(0x113)]:null;}}const a3_0x4afe7d={};a3_0x4afe7d[a3_0x356ac7(0x166)]=O11yHelper,a3_0x4afe7d['STATE_PASSED']=STATE_PASSED,a3_0x4afe7d['STATE_FAILED']=STATE_FAILED,a3_0x4afe7d[a3_0x356ac7(0x1c5)]=TEST_EVENTS,module[a3_0x356ac7(0x1d1)]=a3_0x4afe7d;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a4_0x2073f7=a4_0x31fd;(function(_0xe210d8,_0x82c9d4){const _0x247bd6=a4_0x31fd,_0x1e8417=_0xe210d8();while(!![]){try{const _0x2c158e=-parseInt(_0x247bd6(0xfb))/0x1*(-parseInt(_0x247bd6(0xaa))/0x2)+parseInt(_0x247bd6(0xeb))/0x3+-parseInt(_0x247bd6(0x131))/0x4*(parseInt(_0x247bd6(0x113))/0x5)+parseInt(_0x247bd6(0x107))/0x6+parseInt(_0x247bd6(0xbc))/0x7*(-parseInt(_0x247bd6(0x120))/0x8)+-parseInt(_0x247bd6(0xe0))/0x9*(-parseInt(_0x247bd6(0xf0))/0xa)+-parseInt(_0x247bd6(0xdd))/0xb;if(_0x2c158e===_0x82c9d4)break;else _0x1e8417['push'](_0x1e8417['shift']());}catch(_0x559d6a){_0x1e8417['push'](_0x1e8417['shift']());}}}(a4_0x3210,0x5015f));function a4_0x3210(){const _0x2585f4=['BROWSERSTACK_LOG_LEVEL','217AgQNjM','../../helpers/testhub/testhubHandler','setFrameworkDetail','../test-runner','push','aYjOf','scenarios','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','VlIAl','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iKngA','prepareCapabilities','testObservability','handleApp','join','BROWSERSTACK_TEST_OBSERVABILITY','platforms','green','\x20ambiguous','\x20skipped','../v2/browserstackCLI','stepsFailed','WqWcf','../utils/constants','../../helpers/performance/constants','bootstrap','LEUhO','assign','HLwym','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','MdLDP','getInstance','Generating\x20consolidated\x20report...','7187433HaVPoP','format','errorMessage','9zyWghu','stepsSkipped','indexOf','binSessionId','getHubUrl','config','exports','getMultiDriverWorkerConfig','then','\x20failed','cyan','722259ksRQUb','isCLIEnabled','fRDJW','isUndefined','accessibilityOptions','5622910dETHVk','bold','util','accessibility','getPackageVersion','sKigF','ueljh','keIKO','../../helpers/playwright-helper','RtRob','printBuildLink','1rBeyNh','OatKo','@playwright/test','../../helpers/performance/performance-tester','RILvU','chalk','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20passed','stringify','logLevel','initialize','EcdVT','690012WWFBNa','processSuccess','configPath','tmp','ofxZK','****\x20RESULTS\x20****','cliConfig','setBrowserstackConfig','../utils/clientTroubleshootingService','grXCY','\x20steps','red','236815hCqNvC','env','isBrowserstackInfra','SDK_CLEANUP','stepsPending','jiwPL','BROWSERSTACK_CLI_BIN_SESSION_ID','EyPsJ','CUCUMBER','testContextOptions','mIAGa','woxUZ','framework','114416jAeEgZ','isRunning','__isPlaywrightInstalled','turboScaleUrl','../v2/cliUtils','BCWUP','argv','moPVX','isMainConnected','log','finalExecution','isChildConnected','start','nZAdV','setupBrowserstackLocal','length','path','12TVeEvs','FRAMEWORKS','useW3C','stepsUnknown','parseFormatters','browserstackAutomation','setUserConfigPath','mergeOutputFiles','PLAYWRIGHT','GpQzM','XNZrg','BROWSERSTACK_AUTOMATION','VoSKt','winstonLogger','ESiJg','debug','getPlatformName','stop','qkDBj','finally','bgWhite','skipSessionStatus','1297678NFZqNZ','cucumber-js','dImCV','removeDir','IuXui','stepsAmbiguous','--disable-test-observability','createDir','BROWSERSTACK_FRAMEWORK','cwd','true','bCPdp','yellow','BROWSERSTACK_TEST_OBSERVABILITY_YML','ZLqPs','Xtmmp','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20'];a4_0x3210=function(){return _0x2585f4;};return a4_0x3210();}function a4_0x31fd(_0x1a052b,_0x1d9537){const _0x32100f=a4_0x3210();return a4_0x31fd=function(_0x31fd46,_0x13abb2){_0x31fd46=_0x31fd46-0xa1;let _0x149039=_0x32100f[_0x31fd46];return _0x149039;},a4_0x31fd(_0x1a052b,_0x1d9537);}const path=require(a4_0x2073f7(0x130)),util=require(a4_0x2073f7(0xf2)),logger=require('../../helpers/logger')[a4_0x2073f7(0xa1)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a4_0x2073f7(0xd3)),{parallelCucumberRun}=require(a4_0x2073f7(0xbf)),TestHubHandler=require(a4_0x2073f7(0xbd)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a4_0x2073f7(0x100)),PerformanceTester=require(a4_0x2073f7(0xfe)),PerformanceEvents=require(a4_0x2073f7(0xd4))['EVENTS'],BrowserstackCLI=require(a4_0x2073f7(0xd0)),CLIUtils=require(a4_0x2073f7(0x124)),{checkPwandBootstrapCli}=require(a4_0x2073f7(0xf8)),ClientTroubleShootingService=require(a4_0x2073f7(0x10f));function printCucumberStats(_0x307b88){const _0x5cb8b6=a4_0x2073f7,_0x27f8e6={};_0x27f8e6[_0x5cb8b6(0xff)]=function(_0x3cd22d,_0x5094a4){return _0x3cd22d>_0x5094a4;},_0x27f8e6[_0x5cb8b6(0x125)]=function(_0x128d6b,_0xe37b5f){return _0x128d6b-_0xe37b5f;},_0x27f8e6['EcdVT']=function(_0x290752,_0x980513){return _0x290752>_0x980513;},_0x27f8e6['ESiJg']=function(_0x48a4bb,_0x4af761){return _0x48a4bb>_0x4af761;},_0x27f8e6[_0x5cb8b6(0xd2)]=function(_0x2ffdf6,_0x269a63){return _0x2ffdf6>_0x269a63;},_0x27f8e6[_0x5cb8b6(0xb5)]=function(_0x3e577a,_0x2403a6){return _0x3e577a+_0x2403a6;},_0x27f8e6[_0x5cb8b6(0x12d)]=function(_0x1bf99c,_0x13c144){return _0x1bf99c+_0x13c144;},_0x27f8e6[_0x5cb8b6(0xac)]=function(_0xa29a5c,_0x34bd17){return _0xa29a5c+_0x34bd17;},_0x27f8e6['grXCY']=function(_0x4c8020,_0x9bdf37){return _0x4c8020+_0x9bdf37;},_0x27f8e6[_0x5cb8b6(0xc6)]=function(_0x151760,_0x1d54b8){return _0x151760+_0x1d54b8;},_0x27f8e6['HLwym']=function(_0x4db38a,_0x5a7ee4){return _0x4db38a===_0x5a7ee4;},_0x27f8e6[_0x5cb8b6(0xfc)]=_0x5cb8b6(0x10c);const _0x15fea8=_0x27f8e6;let _0x4ec1a5=0x0;if(_0x15fea8[_0x5cb8b6(0xd8)](_0x307b88['length'],0x0))return _0x4ec1a5;return console[_0x5cb8b6(0x129)](chalk[_0x5cb8b6(0xf1)][_0x5cb8b6(0xa8)](_0x15fea8[_0x5cb8b6(0xfc)])),_0x307b88['forEach'](_0x5bc263=>{const _0x4170fe=_0x5cb8b6,_0x5269f2=_0x5bc263[0x0],_0xbcee5a=_0x5bc263[0x1];helper['isBrowserstackInfra']()&&console[_0x4170fe(0x129)]('\x0a'+chalk[_0x4170fe(0xf1)][_0x4170fe(0xb6)](''+helper[_0x4170fe(0xa4)](_0x5269f2)));const _0x535b9d=_0xbcee5a[_0x4170fe(0xc2)],_0x3e51c3=_0xbcee5a['steps'],_0x1f71e=_0xbcee5a['scenariosFailed'],_0x882ca3=_0xbcee5a[_0x4170fe(0xd1)],_0x13352e=_0xbcee5a['stepsPassed'],_0x139cda=_0xbcee5a[_0x4170fe(0xe1)],_0x1fea44=_0xbcee5a[_0x4170fe(0x117)],_0xabf073=_0xbcee5a['stepsUndefined'],_0x22bac9=_0xbcee5a[_0x4170fe(0x134)],_0x456be9=_0xbcee5a[_0x4170fe(0xaf)],_0x245877=_0xbcee5a[_0x4170fe(0x108)];let _0x428c68=_0x535b9d+'\x20scenarios';const _0x512aee=_0x15fea8[_0x4170fe(0xff)](_0x15fea8[_0x4170fe(0x125)](_0x535b9d,_0x1f71e),0x0)?_0x15fea8[_0x4170fe(0x125)](_0x535b9d,_0x1f71e):0x0;if(_0x15fea8[_0x4170fe(0x106)](_0x1f71e,0x0)&&_0x15fea8[_0x4170fe(0xa2)](_0x512aee,0x0))_0x428c68+='\x20('+chalk[_0x4170fe(0xf1)]['red'](_0x1f71e+'\x20failed')+',\x20'+chalk[_0x4170fe(0xf1)][_0x4170fe(0xcd)](_0x512aee+_0x4170fe(0x102))+')';else(_0x15fea8[_0x4170fe(0x106)](_0x1f71e,0x0)||_0x15fea8[_0x4170fe(0xa2)](_0x512aee,0x0))&&(_0x428c68+=_0x15fea8[_0x4170fe(0xff)](_0x1f71e,0x0)?'\x20('+chalk['bold'][_0x4170fe(0x112)](_0x1f71e+_0x4170fe(0xe9))+')':'\x20('+chalk[_0x4170fe(0xf1)][_0x4170fe(0xcd)](_0x512aee+'\x20passed')+')');const _0x48f45e=_0x3e51c3+_0x4170fe(0x111),_0x247df4=[];_0x15fea8[_0x4170fe(0xa2)](_0x456be9,0x0)&&_0x247df4[_0x4170fe(0xc0)](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0x112)](_0x456be9+_0x4170fe(0xce)));_0x15fea8[_0x4170fe(0xff)](_0x882ca3,0x0)&&_0x247df4[_0x4170fe(0xc0)](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0x112)](_0x882ca3+_0x4170fe(0xe9)));_0x15fea8[_0x4170fe(0xa2)](_0x13352e,0x0)&&_0x247df4[_0x4170fe(0xc0)](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0xcd)](_0x13352e+_0x4170fe(0x102)));_0x15fea8[_0x4170fe(0x106)](_0x1fea44,0x0)&&_0x247df4[_0x4170fe(0xc0)](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0xb6)](_0x1fea44+'\x20pending'));_0x15fea8[_0x4170fe(0xa2)](_0x139cda,0x0)&&_0x247df4[_0x4170fe(0xc0)](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0xea)](_0x139cda+_0x4170fe(0xcf)));_0x15fea8['EcdVT'](_0xabf073,0x0)&&_0x247df4['push'](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0xb6)](_0xabf073+'\x20undefined'));_0x15fea8[_0x4170fe(0xd2)](_0x22bac9,0x0)&&_0x247df4['push'](''+chalk[_0x4170fe(0xf1)][_0x4170fe(0xb6)](_0x22bac9+'\x20skipped'));const _0x5475d2=_0x15fea8[_0x4170fe(0xb5)](_0x15fea8[_0x4170fe(0x12d)](_0x15fea8[_0x4170fe(0xac)](_0x48f45e,'('),_0x247df4[_0x4170fe(0xca)](',\x20')),')');console[_0x4170fe(0x129)](_0x15fea8[_0x4170fe(0x110)](_0x15fea8[_0x4170fe(0xac)](_0x15fea8['iKngA'](_0x15fea8[_0x4170fe(0xc6)]('\x0a',_0x428c68),'\x0a'),_0x5475d2),'\x0a')),_0x15fea8[_0x4170fe(0xd8)](_0x245877,![])&&(_0x4ec1a5=0x1);}),_0x4ec1a5;}async function run(_0x1ed896,_0x2ba393,_0x29d0cf){const _0x43e905=a4_0x2073f7,_0x4a3629={'IuXui':function(_0x7f406d,_0x3e1e64){return _0x7f406d(_0x3e1e64);},'GpQzM':function(_0xdeed9,_0x5e387b){return _0xdeed9>_0x5e387b;},'RtRob':_0x43e905(0xdc),'EyPsJ':_0x43e905(0x101),'sKigF':'cucumber','VlIAl':_0x43e905(0xfd),'XNZrg':_0x43e905(0xab),'mIAGa':function(_0x3db213,_0x55a2c4,_0x54de67,_0x49559b){return _0x3db213(_0x55a2c4,_0x54de67,_0x49559b);},'Mpsbz':_0x43e905(0x10a),'Zibow':function(_0x3ae1de,_0x4a1088){return _0x3ae1de-_0x4a1088;},'qkDBj':function(_0x451dfd,_0x49f7e3){return _0x451dfd>=_0x49f7e3;},'woxUZ':function(_0x2daf34,_0x23c978){return _0x2daf34!=_0x23c978;},'MdLDP':_0x43e905(0xb4),'fRDJW':'../../helpers/accessibility-automation/helper','ofxZK':'../playwright/accessibility-helper','keIKO':function(_0x258fb2,_0x52afe4){return _0x258fb2(_0x52afe4);},'ueljh':'false','vXsHR':function(_0x3ecaf1,_0x4360ed){return _0x3ecaf1===_0x4360ed;},'LEUhO':function(_0x265cbb,_0x2579a0){return _0x265cbb(_0x2579a0);},'Xtmmp':_0x43e905(0xd0),'ZLqPs':function(_0x3aaf97,_0x62a0a9){return _0x3aaf97(_0x62a0a9);},'aYjOf':'../v2/cliUtils','yWRQi':'../../helpers/test-observability/constants','euqLe':function(_0x3ad871,_0x3efc00){return _0x3ad871(_0x3efc00);},'eBZWU':function(_0x1b8df0,_0x137ffd){return _0x1b8df0===_0x137ffd;},'jiwPL':_0x43e905(0xb0),'moPVX':function(_0x393b32,_0x23ef9d){return _0x393b32===_0x23ef9d;},'MfZCf':'browserStackCwd','VoSKt':function(_0x2cdaba,_0x5ebd8c,_0x35766e,_0x23d2a2,_0x41f4a7,_0x13bc02){return _0x2cdaba(_0x5ebd8c,_0x35766e,_0x23d2a2,_0x41f4a7,_0x13bc02);}},_0x55eecb=helper[_0x43e905(0xf4)](_0x4a3629[_0x43e905(0xc4)]);global[_0x43e905(0x122)]=!!_0x55eecb,process[_0x43e905(0x114)][_0x43e905(0xb2)]=process['env'][_0x43e905(0xb2)]||_0x29d0cf['framework']||_0x4a3629[_0x43e905(0x13b)],await _0x29d0cf[_0x43e905(0x105)](_0x1ed896);if(_0x29d0cf[_0x43e905(0xe5)]&&!helper[_0x43e905(0xee)](_0x29d0cf['config'][_0x43e905(0x104)])){process[_0x43e905(0x114)][_0x43e905(0xbb)]=_0x29d0cf['config'][_0x43e905(0x104)];const _0x6080cf={};_0x6080cf[_0x43e905(0x104)]=_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0x104)],helper['setLogLevel'](_0x6080cf,new Map(),new Map());}await _0x4a3629[_0x43e905(0x11d)](checkPwandBootstrapCli,_0x55eecb,constants['FRAMEWORKS'][_0x43e905(0x11b)],_0x29d0cf);BrowserstackCLI['getInstance']()[_0x43e905(0xe3)]&&(process['env'][_0x43e905(0x119)]=BrowserstackCLI[_0x43e905(0xdb)]()[_0x43e905(0xe3)]);helper[_0x43e905(0x137)](_0x29d0cf[_0x43e905(0x11f)],_0x1ed896),await helper[_0x43e905(0xc9)](_0x29d0cf['config']);const _0x3af156=helper[_0x43e905(0x133)](_0x29d0cf[_0x43e905(0xe5)]);!helper['isUndefined'](_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0xef)])&&(process[_0x43e905(0x114)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x43e905(0x103)](_0x29d0cf['config']['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x43e905(0x121)]()){const _0x1c2e63=await TestHubHandler['launchBuild'](constants[_0x43e905(0x132)][_0x43e905(0x11b)],_0x29d0cf);}let _0x3bbc98=[];if(!helper[_0x43e905(0x115)]()){const _0x5e892f={};_0x5e892f[_0x43e905(0xcc)]=[],_0x3bbc98=helper[_0x43e905(0xc7)](Object[_0x43e905(0xd7)]({},_0x29d0cf[_0x43e905(0xe5)],_0x5e892f),_0x3af156,constants[_0x43e905(0x132)]['CUCUMBER']);}else _0x3bbc98=helper[_0x43e905(0xc7)](_0x29d0cf[_0x43e905(0xe5)],_0x3af156,constants[_0x43e905(0x132)][_0x43e905(0x11b)]);if(!_0x29d0cf[_0x43e905(0xe5)])return;const _0x4e2c2d=_0x29d0cf[_0x43e905(0xe5)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1ed896,_0x2ba393,_0x29d0cf[_0x43e905(0xe5)],constants[_0x43e905(0x132)][_0x43e905(0x11b)])||0x1,_0x59af20=Object[_0x43e905(0xd7)]({'server':helper[_0x43e905(0xe4)](_0x29d0cf[_0x43e905(0xe5)]),'proxySettings':_0x29d0cf['config']['proxySettings'],'maxWorkers':_0x4e2c2d,'browserStackLogLevel':_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0x104)],'skipSessionName':_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0x11c)]['skipSessionName'],'skipSessionStatus':_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0x11c)][_0x43e905(0xa9)],'turboScaleUrl':_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0x123)]},helper[_0x43e905(0xe7)](_0x29d0cf[_0x43e905(0xe5)],_0x3af156,constants[_0x43e905(0x132)]['CUCUMBER'])),_0x35f465=process[_0x43e905(0x126)],[_0x4383b6,_0x2d16c0]=helper[_0x43e905(0x135)](_0x35f465),_0x3ffc49=path[_0x43e905(0xca)](process[_0x43e905(0xb3)](),_0x4a3629['Mpsbz']);if(_0x4a3629['GpQzM'](_0x2d16c0['length'],0x0)){helper[_0x43e905(0xb1)](_0x3ffc49);for(let _0x924411=_0x4a3629['Zibow'](_0x4383b6[_0x43e905(0x12f)],0x1);_0x4a3629[_0x43e905(0xa6)](_0x924411,0x0);_0x924411--){_0x35f465['splice'](_0x4383b6[_0x924411],0x2);}}_0x4a3629[_0x43e905(0x11e)](_0x29d0cf['config'][_0x43e905(0xc8)],null)?process['env'][_0x43e905(0xb7)]=_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0xc8)]:process[_0x43e905(0x114)][_0x43e905(0xb7)]=_0x4a3629['MdLDP'];if(_0x55eecb)try{const {checkAccessibilityPlatformConfig:_0x3b5266}=_0x4a3629[_0x43e905(0xae)](require,_0x4a3629[_0x43e905(0xed)]),{setAccessibilityCapabilities:_0x24a759}=_0x4a3629[_0x43e905(0xae)](require,_0x4a3629[_0x43e905(0x10b)]),_0x1447da=_0x4a3629[_0x43e905(0xae)](_0x3b5266,_0x29d0cf[_0x43e905(0xe5)]);if(!helper[_0x43e905(0xee)](_0x29d0cf[_0x43e905(0xe5)][_0x43e905(0xf3)]))process[_0x43e905(0x114)][_0x43e905(0xc5)]=_0x4a3629[_0x43e905(0xf7)](String,!!_0x29d0cf[_0x43e905(0xe5)]['accessibility']);else helper[_0x43e905(0xee)](process[_0x43e905(0x114)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process['env'][_0x43e905(0xc5)]=_0x1447da?_0x4a3629[_0x43e905(0xda)]:_0x4a3629['ueljh']);process[_0x43e905(0x114)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x1447da?_0x4a3629['MdLDP']:_0x4a3629[_0x43e905(0xf6)],!BrowserstackCLI['getInstance']()[_0x43e905(0x121)]()&&_0x4a3629['vXsHR'](process[_0x43e905(0x114)][_0x43e905(0xc5)],_0x4a3629['MdLDP'])&&_0x4a3629['keIKO'](_0x24a759,_0x29d0cf[_0x43e905(0xe5)]);}catch(_0x38a069){logger[_0x43e905(0xa3)](_0x43e905(0xba)+util[_0x43e905(0xde)](_0x38a069));}try{const _0x22ad27=_0x4a3629[_0x43e905(0xd6)](require,_0x4a3629[_0x43e905(0xb9)]),_0x455b89=_0x4a3629['ZLqPs'](require,_0x4a3629[_0x43e905(0xc1)]),{FRAMEWORKS:_0x304c29}=_0x4a3629[_0x43e905(0xae)](require,_0x4a3629['yWRQi']),{checkAccessibilityPlatformConfig:_0x1faf94}=_0x4a3629['euqLe'](require,_0x4a3629['fRDJW']),{setAccessibilityCapabilities:_0x50aa6e}=_0x4a3629[_0x43e905(0xb8)](require,_0x4a3629[_0x43e905(0x10b)]),_0x5b4a73=helper[_0x43e905(0xf4)](_0x4a3629[_0x43e905(0xc4)]);if(_0x5b4a73){_0x455b89[_0x43e905(0xbe)](constants['FRAMEWORKS'][_0x43e905(0x11b)],constants[_0x43e905(0x132)][_0x43e905(0x139)]);const _0x2496b7=_0x22ad27['getInstance']();_0x2496b7[_0x43e905(0x10e)](_0x29d0cf[_0x43e905(0xe5)],_0x29d0cf[_0x43e905(0x109)],_0x29d0cf[_0x43e905(0x10d)]);!_0x2496b7[_0x43e905(0x128)]&&!_0x2496b7[_0x43e905(0x12b)]&&await _0x2496b7[_0x43e905(0xd5)]();const _0x177cb4=_0x22ad27[_0x43e905(0xdb)]()['getConfig']();!helper['isFalse'](_0x177cb4['browserstackAutomation'])&&(process[_0x43e905(0x114)][_0x43e905(0x13c)]=_0x4a3629['MdLDP']);_0x4a3629['eBZWU'](_0x177cb4[_0x43e905(0x136)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x4a3629[_0x43e905(0xf6)]);const _0x23d43b=_0x2ba393[_0x43e905(0xe2)](_0x4a3629[_0x43e905(0x118)]);(_0x4a3629[_0x43e905(0xa6)](_0x23d43b,0x0)||_0x4a3629[_0x43e905(0x127)](_0x177cb4[_0x43e905(0xc8)],![]))&&(process['env'][_0x43e905(0xcb)]=_0x4a3629['ueljh']);if(!_0x22ad27[_0x43e905(0xdb)]()['isRunning']()){let _0x5611cc=_0x4a3629[_0x43e905(0x127)](process[_0x43e905(0x114)][_0x43e905(0xc5)],_0x4a3629[_0x43e905(0xda)]);_0x5611cc=_0x5611cc||_0x4a3629[_0x43e905(0xf7)](_0x1faf94,_0x29d0cf[_0x43e905(0xe5)]),process[_0x43e905(0x114)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5611cc,_0x5611cc&&_0x4a3629[_0x43e905(0xf7)](_0x50aa6e,_0x29d0cf[_0x43e905(0xe5)]);}}}catch(_0x8b54ff){logger[_0x43e905(0xa3)](_0x43e905(0xd9)+util[_0x43e905(0xde)](_0x8b54ff));}!BrowserstackCLI[_0x43e905(0xdb)]()['isRunning']()&&await _0x29d0cf[_0x43e905(0x12e)]();PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),process['env'][_0x4a3629['MfZCf']]=process['cwd']();let _0x291335;_0x4a3629[_0x43e905(0x13d)](parallelCucumberRun,_0x3bbc98,_0x59af20,_0x29d0cf[_0x43e905(0xe5)],_0x35f465,_0x2d16c0)[_0x43e905(0xe8)](async _0x17a447=>{const _0x4c81cf=_0x43e905;PerformanceTester[_0x4c81cf(0x12c)](PerformanceEvents[_0x4c81cf(0x116)]),_0x291335=_0x17a447;const _0x3c8385=_0x4a3629[_0x4c81cf(0xae)](printCucumberStats,_0x17a447);process['exitCode']=_0x3c8385,_0x4a3629[_0x4c81cf(0x13a)](_0x2d16c0[_0x4c81cf(0x12f)],0x0)&&(logger[_0x4c81cf(0xa3)](_0x4a3629[_0x4c81cf(0xf9)]),helper[_0x4c81cf(0x138)](_0x3ffc49,_0x2d16c0),logger[_0x4c81cf(0xa3)](_0x4a3629[_0x4c81cf(0x11a)]),helper[_0x4c81cf(0xad)](_0x3ffc49));})[_0x43e905(0xa7)](async()=>{const _0x2b41f7=_0x43e905;PerformanceTester['start'](PerformanceEvents[_0x2b41f7(0x116)]),_0x29d0cf[_0x2b41f7(0xdf)]=helper['getErrorMessageFromResults'](_0x291335,_0x4a3629[_0x2b41f7(0xf5)]),testOpsHelper[_0x2b41f7(0xfa)]();const _0x51eec5=BrowserstackCLI[_0x2b41f7(0xec)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x2b41f7(0xa5)]();}catch(_0x346560){logger['debug'](_0x2b41f7(0xc3)+util[_0x2b41f7(0xde)](_0x346560));}await utilities[_0x2b41f7(0x12a)](_0x29d0cf,_0x51eec5);});}module[a4_0x2073f7(0xe6)]=run;
|
|
2
|
+
'use strict';const a4_0x333db5=a4_0xf222;(function(_0x35fdd7,_0x574a27){const _0x57abe6=a4_0xf222,_0x19dc55=_0x35fdd7();while(!![]){try{const _0x3cf841=-parseInt(_0x57abe6(0x105))/0x1+-parseInt(_0x57abe6(0x112))/0x2+-parseInt(_0x57abe6(0xec))/0x3+parseInt(_0x57abe6(0x12b))/0x4*(-parseInt(_0x57abe6(0x14d))/0x5)+-parseInt(_0x57abe6(0xe0))/0x6+parseInt(_0x57abe6(0x176))/0x7+parseInt(_0x57abe6(0x148))/0x8;if(_0x3cf841===_0x574a27)break;else _0x19dc55['push'](_0x19dc55['shift']());}catch(_0x1b388f){_0x19dc55['push'](_0x19dc55['shift']());}}}(a4_0x56e8,0x35c02));function a4_0x56e8(){const _0xb290f9=['indexOf','cucumber','finally','PLAYWRIGHT','../../helpers/logger','\x20skipped','logLevel','BJHcV','exports','../test-runner','stepsUndefined','SMqAs','log','FRAMEWORKS','end','proxySettings','assign','1245172TLyAFu','HwchM','argv','WQcrr','removeDir','BROWSERSTACK_TEST_OBSERVABILITY_YML','scenarios','path','join','Ouezu','accessibility','getHubUrl','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','lPTZU','length','MnEht','testObservability','browserstackAutomation','\x20pending','tmp','setLogLevel','\x20passed','../../helpers/testhub/testhubHandler','initialize','../../helpers/test-observability/utils','twBIi','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20scenarios','getErrorMessageFromResults','9158032RgkKJf','getMultiDriverWorkerConfig','exitCode','../../helpers/playwright-helper','isRunning','5sYYlwg','yellow','processSuccess','mEttd','RRXqJ','cliConfig','binSessionId','cyan','splice','yLHYf','cucumber-js','green','../utils/clientTroubleshootingService','BROWSERSTACK_CLI_BIN_SESSION_ID','setupBrowserstackLocal','configPath','MRmOc','setFrameworkDetail','HsOhK','getInstance','BROWSERSTACK_TEST_OBSERVABILITY','BROWSERSTACK_FRAMEWORK','acblk','stop','../../helpers/test-observability/constants','push','neSXN','../../helpers/utilities','accessibilityOptions','handleApp','chalk','xNSij','xvJyn','../playwright/accessibility-helper','red','dhHut','../v2/cliUtils','bold','start','turboScaleUrl','isChildConnected','2819677TCNIPv','forEach','QHQkI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsSkipped','env','mRdns','stringify','IKfDd','ZrGsh','fPfHA','../../helpers/performance/constants','****\x20RESULTS\x20****','isMainConnected','prepareCapabilities','--disable-test-observability','BROWSERSTACK_AUTOMATION','2311884loTVvm','stepsAmbiguous','true','qducY','../../helpers/performance/performance-tester','util','skipSessionName','config','PkTrZ','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','__isPlaywrightInstalled','780918dCXheK','SDK_CLEANUP','hGbzt','pMzsx','cwd','useW3C','isFalse','ghenn','Soewy','browserStackCwd','getPackageVersion','CQlOZ','then','cXZyS','../../helpers/accessibility-automation/helper','finalExecution','CUCUMBER','isUndefined','Generating\x20consolidated\x20report...','framework','GymOQ','WrOLQ','\x20failed','setBrowserstackConfig','Removing\x20tmp\x20directory\x20created\x20for\x20reports','49382iWUsxv','printBuildLink','winstonLogger','sFAnL','nacCC','isBrowserstackInfra','mergeOutputFiles','stepsPassed','zcNYT','debug','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','createDir','launchBuild','642216LoNyqB','format','parseFormatters','wByTF','\x20undefined','bootstrap','../v2/browserstackCLI','txGbe'];a4_0x56e8=function(){return _0xb290f9;};return a4_0x56e8();}const path=require(a4_0x333db5(0x132)),util=require(a4_0x333db5(0xe5)),logger=require(a4_0x333db5(0x11e))[a4_0x333db5(0x107)],helper=require(a4_0x333db5(0xe9)),utilities=require(a4_0x333db5(0x168)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x333db5(0x123)),TestHubHandler=require(a4_0x333db5(0x141)),testOpsHelper=require(a4_0x333db5(0x143)),chalk=require(a4_0x333db5(0x16b)),PerformanceTester=require(a4_0x333db5(0xe4)),PerformanceEvents=require(a4_0x333db5(0xda))['EVENTS'],BrowserstackCLI=require(a4_0x333db5(0x118)),CLIUtils=require(a4_0x333db5(0x171)),{checkPwandBootstrapCli}=require(a4_0x333db5(0x14b)),ClientTroubleShootingService=require(a4_0x333db5(0x159));function a4_0xf222(_0x79a4e8,_0x81a61e){const _0x56e8b5=a4_0x56e8();return a4_0xf222=function(_0xf22226,_0xe2f40b){_0xf22226=_0xf22226-0xd3;let _0x431380=_0x56e8b5[_0xf22226];return _0x431380;},a4_0xf222(_0x79a4e8,_0x81a61e);}function printCucumberStats(_0x7ab954){const _0xb1ee23=a4_0x333db5,_0x118782={};_0x118782[_0xb1ee23(0x15d)]=function(_0x22bac5,_0x57af32){return _0x22bac5>_0x57af32;},_0x118782[_0xb1ee23(0x12e)]=function(_0x534b2e,_0x6bbc2a){return _0x534b2e-_0x6bbc2a;},_0x118782[_0xb1ee23(0xe8)]=function(_0x492f71,_0x232078){return _0x492f71-_0x232078;},_0x118782['mRdns']=function(_0xd0b1be,_0x469e0c){return _0xd0b1be>_0x469e0c;},_0x118782['YJsQY']=function(_0x28726b,_0x551fd4){return _0x28726b>_0x551fd4;},_0x118782['qducY']=function(_0x26cfbc,_0x195b8f){return _0x26cfbc>_0x195b8f;},_0x118782[_0xb1ee23(0x121)]=function(_0x3b7b71,_0x332ea1){return _0x3b7b71>_0x332ea1;},_0x118782[_0xb1ee23(0x125)]=function(_0x30d10e,_0x1f8bf5){return _0x30d10e>_0x1f8bf5;},_0x118782[_0xb1ee23(0xf3)]=function(_0x49f07b,_0x6d3987){return _0x49f07b>_0x6d3987;},_0x118782[_0xb1ee23(0xd9)]=function(_0xe2005c,_0x517a29){return _0xe2005c>_0x517a29;},_0x118782[_0xb1ee23(0x16c)]=function(_0x4dae1c,_0x12454c){return _0x4dae1c>_0x12454c;},_0x118782['GymOQ']=function(_0x1a6a1d,_0x46ebe1){return _0x1a6a1d+_0x46ebe1;},_0x118782['zYSbg']=function(_0x3a2784,_0x546445){return _0x3a2784+_0x546445;},_0x118782['twBIi']=function(_0x1afdfd,_0x47a0cb){return _0x1afdfd+_0x47a0cb;},_0x118782[_0xb1ee23(0x163)]=function(_0x3bf638,_0x5af683){return _0x3bf638+_0x5af683;},_0x118782[_0xb1ee23(0xd7)]=function(_0x9f00b9,_0x502908){return _0x9f00b9+_0x502908;},_0x118782[_0xb1ee23(0x15f)]=function(_0xed3760,_0x20327c){return _0xed3760===_0x20327c;},_0x118782[_0xb1ee23(0x108)]=_0xb1ee23(0xdb);const _0x440e4c=_0x118782;let _0x34ed43=0x0;if(_0x440e4c[_0xb1ee23(0x15f)](_0x7ab954[_0xb1ee23(0x139)],0x0))return _0x34ed43;return console[_0xb1ee23(0x126)](chalk['bold']['bgWhite'](_0x440e4c[_0xb1ee23(0x108)])),_0x7ab954[_0xb1ee23(0x177)](_0x5de5df=>{const _0x1e85f4=_0xb1ee23,_0x1b59e1=_0x5de5df[0x0],_0x26a61d=_0x5de5df[0x1];helper[_0x1e85f4(0x10a)]()&&console[_0x1e85f4(0x126)]('\x0a'+chalk['bold'][_0x1e85f4(0x14e)](''+helper['getPlatformName'](_0x1b59e1)));const _0x3c7aea=_0x26a61d[_0x1e85f4(0x131)],_0x1c24dd=_0x26a61d['steps'],_0x1c867c=_0x26a61d['scenariosFailed'],_0x555e6c=_0x26a61d['stepsFailed'],_0x38c50a=_0x26a61d[_0x1e85f4(0x10c)],_0x1106f2=_0x26a61d[_0x1e85f4(0xd3)],_0x422731=_0x26a61d['stepsPending'],_0x369d14=_0x26a61d[_0x1e85f4(0x124)],_0x5b2380=_0x26a61d['stepsUnknown'],_0x4c0dc0=_0x26a61d[_0x1e85f4(0xe1)],_0x67e7c=_0x26a61d[_0x1e85f4(0x14f)];let _0x526dcd=_0x3c7aea+_0x1e85f4(0x146);const _0x33a833=_0x440e4c[_0x1e85f4(0x15d)](_0x440e4c[_0x1e85f4(0x12e)](_0x3c7aea,_0x1c867c),0x0)?_0x440e4c[_0x1e85f4(0xe8)](_0x3c7aea,_0x1c867c):0x0;if(_0x440e4c['MRmOc'](_0x1c867c,0x0)&&_0x440e4c[_0x1e85f4(0xd5)](_0x33a833,0x0))_0x526dcd+='\x20('+chalk[_0x1e85f4(0x172)]['red'](_0x1c867c+'\x20failed')+',\x20'+chalk[_0x1e85f4(0x172)]['green'](_0x33a833+'\x20passed')+')';else(_0x440e4c['YJsQY'](_0x1c867c,0x0)||_0x440e4c[_0x1e85f4(0xe3)](_0x33a833,0x0))&&(_0x526dcd+=_0x440e4c['BJHcV'](_0x1c867c,0x0)?'\x20('+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x1c867c+_0x1e85f4(0x102))+')':'\x20('+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x158)](_0x33a833+_0x1e85f4(0x140))+')');const _0x5a0f76=_0x1c24dd+'\x20steps',_0x5bdea4=[];_0x440e4c[_0x1e85f4(0x125)](_0x4c0dc0,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x4c0dc0+'\x20ambiguous'));_0x440e4c[_0x1e85f4(0x121)](_0x555e6c,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x555e6c+_0x1e85f4(0x102)));_0x440e4c['ghenn'](_0x38c50a,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x158)](_0x38c50a+_0x1e85f4(0x140)));_0x440e4c[_0x1e85f4(0xf3)](_0x422731,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)]['yellow'](_0x422731+_0x1e85f4(0x13d)));_0x440e4c[_0x1e85f4(0xd9)](_0x1106f2,0x0)&&_0x5bdea4['push'](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x154)](_0x1106f2+'\x20skipped'));_0x440e4c[_0x1e85f4(0x16c)](_0x369d14,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x14e)](_0x369d14+_0x1e85f4(0x116)));_0x440e4c[_0x1e85f4(0xf3)](_0x5b2380,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk['bold'][_0x1e85f4(0x14e)](_0x5b2380+_0x1e85f4(0x11f)));const _0x536eb5=_0x440e4c[_0x1e85f4(0x100)](_0x440e4c['zYSbg'](_0x440e4c[_0x1e85f4(0x144)](_0x5a0f76,'('),_0x5bdea4[_0x1e85f4(0x133)](',\x20')),')');console[_0x1e85f4(0x126)](_0x440e4c['twBIi'](_0x440e4c['zYSbg'](_0x440e4c['acblk'](_0x440e4c[_0x1e85f4(0xd7)]('\x0a',_0x526dcd),'\x0a'),_0x536eb5),'\x0a')),_0x440e4c[_0x1e85f4(0x15f)](_0x67e7c,![])&&(_0x34ed43=0x1);}),_0x34ed43;}async function run(_0x33f055,_0x2d7f3d,_0x50803f){const _0x4f3046=a4_0x333db5,_0x3fa1ba={'yLHYf':function(_0x5d1683,_0x1cf735){return _0x5d1683(_0x1cf735);},'lPTZU':function(_0x411ed9,_0x450b55){return _0x411ed9>_0x450b55;},'Ouezu':_0x4f3046(0xfe),'cXZyS':_0x4f3046(0x104),'Soewy':_0x4f3046(0x11b),'MnEht':'@playwright/test','CQlOZ':_0x4f3046(0x157),'glklb':function(_0x52ab2b,_0xea8549,_0x4906db,_0x456eb1){return _0x52ab2b(_0xea8549,_0x4906db,_0x456eb1);},'dhHut':_0x4f3046(0x13e),'hGbzt':function(_0x3c1b9c,_0x5add30){return _0x3c1b9c-_0x5add30;},'FCtcx':function(_0xacb53c,_0x50679f){return _0xacb53c>=_0x50679f;},'pMzsx':function(_0x1f4785,_0x40dd4b){return _0x1f4785!=_0x40dd4b;},'xvJyn':_0x4f3046(0xe2),'RRXqJ':_0x4f3046(0xfa),'txGbe':_0x4f3046(0x16e),'nacCC':'false','RsMHr':function(_0x5c4cf3,_0x51497c){return _0x5c4cf3===_0x51497c;},'QHQkI':function(_0x393c09,_0x523ffc){return _0x393c09(_0x523ffc);},'ZrGsh':function(_0x1081ba,_0x31a35f){return _0x1081ba(_0x31a35f);},'wByTF':_0x4f3046(0x118),'subbX':_0x4f3046(0x171),'SiGFn':_0x4f3046(0x165),'neSXN':function(_0x2ec824,_0x4bd8dd){return _0x2ec824(_0x4bd8dd);},'gOuWu':function(_0x1f9256,_0x3dae15){return _0x1f9256(_0x3dae15);},'WrOLQ':function(_0x1ead80,_0x2d1b16){return _0x1ead80===_0x2d1b16;},'CikYP':_0x4f3046(0xde),'tNQdr':function(_0x293893,_0x15bb2e){return _0x293893>=_0x15bb2e;},'mEttd':function(_0xea6790,_0x4d85e0){return _0xea6790===_0x4d85e0;},'rzuod':function(_0x3504da,_0x35bb6e){return _0x3504da===_0x35bb6e;},'abESY':function(_0x232adf,_0x494ee6){return _0x232adf(_0x494ee6);},'zcNYT':_0x4f3046(0xf5),'HwchM':function(_0x378037,_0x35e8b2,_0x355de6,_0x2be9a6,_0x73e616,_0x53a8d1){return _0x378037(_0x35e8b2,_0x355de6,_0x2be9a6,_0x73e616,_0x53a8d1);}},_0x53761d=helper[_0x4f3046(0xf6)](_0x3fa1ba[_0x4f3046(0x13a)]);global[_0x4f3046(0xeb)]=!!_0x53761d,process['env']['BROWSERSTACK_FRAMEWORK']=process[_0x4f3046(0xd4)][_0x4f3046(0x162)]||_0x50803f[_0x4f3046(0xff)]||_0x3fa1ba[_0x4f3046(0xf7)],await _0x50803f[_0x4f3046(0x142)](_0x33f055);if(_0x50803f['config']&&!helper[_0x4f3046(0xfd)](_0x50803f['config']['logLevel'])){process[_0x4f3046(0xd4)]['BROWSERSTACK_LOG_LEVEL']=_0x50803f[_0x4f3046(0xe7)]['logLevel'];const _0x5c3f36={};_0x5c3f36[_0x4f3046(0x120)]=_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x120)],helper[_0x4f3046(0x13f)](_0x5c3f36,new Map(),new Map());}await _0x3fa1ba['glklb'](checkPwandBootstrapCli,_0x53761d,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)],_0x50803f);BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x153)]&&(process[_0x4f3046(0xd4)][_0x4f3046(0x15a)]=BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x153)]);helper['setUserConfigPath'](_0x50803f['framework'],_0x33f055),await helper[_0x4f3046(0x16a)](_0x50803f[_0x4f3046(0xe7)]);const _0xc02db3=helper[_0x4f3046(0xf1)](_0x50803f[_0x4f3046(0xe7)]);!helper[_0x4f3046(0xfd)](_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x169)])&&(process[_0x4f3046(0xd4)][_0x4f3046(0x179)]=JSON[_0x4f3046(0xd6)](_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x169)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x1880e1=await TestHubHandler[_0x4f3046(0x111)](constants['FRAMEWORKS'][_0x4f3046(0xfc)],_0x50803f);}let _0x32fbcc=[];if(!helper[_0x4f3046(0x10a)]()){const _0x404099={};_0x404099['platforms']=[],_0x32fbcc=helper[_0x4f3046(0xdd)](Object[_0x4f3046(0x12a)]({},_0x50803f[_0x4f3046(0xe7)],_0x404099),_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)]);}else _0x32fbcc=helper[_0x4f3046(0xdd)](_0x50803f[_0x4f3046(0xe7)],_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)]);if(!_0x50803f[_0x4f3046(0xe7)])return;const _0x5f0200=_0x50803f[_0x4f3046(0xe7)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x33f055,_0x2d7f3d,_0x50803f[_0x4f3046(0xe7)],constants[_0x4f3046(0x127)][_0x4f3046(0xfc)])||0x1,_0xfd1776=Object['assign']({'server':helper[_0x4f3046(0x136)](_0x50803f['config']),'proxySettings':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x129)],'maxWorkers':_0x5f0200,'browserStackLogLevel':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x120)],'skipSessionName':_0x50803f[_0x4f3046(0xe7)]['testContextOptions'][_0x4f3046(0xe6)],'skipSessionStatus':_0x50803f[_0x4f3046(0xe7)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x174)]},helper[_0x4f3046(0x149)](_0x50803f['config'],_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)])),_0x3abc73=process[_0x4f3046(0x12d)],[_0x30a238,_0x59908f]=helper[_0x4f3046(0x114)](_0x3abc73),_0x367f48=path['join'](process[_0x4f3046(0xf0)](),_0x3fa1ba[_0x4f3046(0x170)]);if(_0x3fa1ba['lPTZU'](_0x59908f['length'],0x0)){helper[_0x4f3046(0x110)](_0x367f48);for(let _0x47e154=_0x3fa1ba[_0x4f3046(0xee)](_0x30a238[_0x4f3046(0x139)],0x1);_0x3fa1ba['FCtcx'](_0x47e154,0x0);_0x47e154--){_0x3abc73[_0x4f3046(0x155)](_0x30a238[_0x47e154],0x2);}}_0x3fa1ba[_0x4f3046(0xef)](_0x50803f['config'][_0x4f3046(0x13b)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x13b)]:process[_0x4f3046(0xd4)][_0x4f3046(0x130)]=_0x3fa1ba[_0x4f3046(0x16d)];if(_0x53761d)try{const {checkAccessibilityPlatformConfig:_0xe7bb43}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba[_0x4f3046(0x151)]),{setAccessibilityCapabilities:_0x2130e9}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba['txGbe']),_0x7bc27f=_0x3fa1ba[_0x4f3046(0x156)](_0xe7bb43,_0x50803f[_0x4f3046(0xe7)]);if(!helper[_0x4f3046(0xfd)](_0x50803f['config'][_0x4f3046(0x135)]))process[_0x4f3046(0xd4)][_0x4f3046(0x145)]=_0x3fa1ba[_0x4f3046(0x156)](String,!!_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x135)]);else helper[_0x4f3046(0xfd)](process[_0x4f3046(0xd4)][_0x4f3046(0x145)])&&(process['env'][_0x4f3046(0x145)]=_0x7bc27f?_0x3fa1ba[_0x4f3046(0x16d)]:_0x3fa1ba[_0x4f3046(0x109)]);process[_0x4f3046(0xd4)][_0x4f3046(0xea)]=_0x7bc27f?_0x3fa1ba[_0x4f3046(0x16d)]:_0x3fa1ba[_0x4f3046(0x109)],!BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x14c)]()&&_0x3fa1ba['RsMHr'](process[_0x4f3046(0xd4)][_0x4f3046(0x145)],_0x3fa1ba[_0x4f3046(0x16d)])&&_0x3fa1ba[_0x4f3046(0x178)](_0x2130e9,_0x50803f[_0x4f3046(0xe7)]);}catch(_0x15ed60){logger[_0x4f3046(0x10e)](_0x4f3046(0x10f)+util[_0x4f3046(0x113)](_0x15ed60));}try{const _0x2230f9=_0x3fa1ba[_0x4f3046(0xd8)](require,_0x3fa1ba[_0x4f3046(0x115)]),_0x5762a4=_0x3fa1ba[_0x4f3046(0xd8)](require,_0x3fa1ba['subbX']),{FRAMEWORKS:_0x5e8f89}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba['SiGFn']),{checkAccessibilityPlatformConfig:_0x20b414}=_0x3fa1ba[_0x4f3046(0x167)](require,_0x3fa1ba[_0x4f3046(0x151)]),{setAccessibilityCapabilities:_0x7fd7ae}=_0x3fa1ba['gOuWu'](require,_0x3fa1ba[_0x4f3046(0x119)]),_0x1fe927=helper['getPackageVersion'](_0x3fa1ba[_0x4f3046(0x13a)]);if(_0x1fe927){_0x5762a4[_0x4f3046(0x15e)](constants['FRAMEWORKS'][_0x4f3046(0xfc)],constants[_0x4f3046(0x127)][_0x4f3046(0x11d)]);const _0x6825bb=_0x2230f9['getInstance']();_0x6825bb[_0x4f3046(0x103)](_0x50803f['config'],_0x50803f[_0x4f3046(0x15c)],_0x50803f[_0x4f3046(0x152)]);!_0x6825bb[_0x4f3046(0xdc)]&&!_0x6825bb[_0x4f3046(0x175)]&&await _0x6825bb[_0x4f3046(0x117)]();const _0x4d5086=_0x2230f9[_0x4f3046(0x160)]()['getConfig']();!helper[_0x4f3046(0xf2)](_0x4d5086['browserstackAutomation'])&&(process[_0x4f3046(0xd4)][_0x4f3046(0xdf)]=_0x3fa1ba[_0x4f3046(0x16d)]);_0x3fa1ba[_0x4f3046(0x101)](_0x4d5086[_0x4f3046(0x13c)],![])&&(process[_0x4f3046(0xd4)][_0x4f3046(0xdf)]=_0x3fa1ba['nacCC']);const _0x279dc0=_0x2d7f3d[_0x4f3046(0x11a)](_0x3fa1ba['CikYP']);(_0x3fa1ba['tNQdr'](_0x279dc0,0x0)||_0x3fa1ba[_0x4f3046(0x150)](_0x4d5086[_0x4f3046(0x13b)],![]))&&(process[_0x4f3046(0xd4)][_0x4f3046(0x161)]=_0x3fa1ba['nacCC']);if(!_0x2230f9[_0x4f3046(0x160)]()[_0x4f3046(0x14c)]()){let _0x138267=_0x3fa1ba['rzuod'](process[_0x4f3046(0xd4)][_0x4f3046(0x145)],_0x3fa1ba['xvJyn']);_0x138267=_0x138267||_0x3fa1ba[_0x4f3046(0x167)](_0x20b414,_0x50803f[_0x4f3046(0xe7)]),process[_0x4f3046(0xd4)][_0x4f3046(0x145)]=_0x138267,_0x138267&&_0x3fa1ba['abESY'](_0x7fd7ae,_0x50803f[_0x4f3046(0xe7)]);}}}catch(_0x55370d){logger[_0x4f3046(0x10e)]('Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20'+util[_0x4f3046(0x113)](_0x55370d));}!BrowserstackCLI[_0x4f3046(0x160)]()['isRunning']()&&await _0x50803f[_0x4f3046(0x15b)]();PerformanceTester[_0x4f3046(0x128)](PerformanceEvents['SDK_SETUP']),process['env'][_0x3fa1ba[_0x4f3046(0x10d)]]=process['cwd']();let _0x2bc3e9;_0x3fa1ba[_0x4f3046(0x12c)](parallelCucumberRun,_0x32fbcc,_0xfd1776,_0x50803f[_0x4f3046(0xe7)],_0x3abc73,_0x59908f)[_0x4f3046(0xf8)](async _0x1ebb7b=>{const _0x1c3ff7=_0x4f3046;PerformanceTester[_0x1c3ff7(0x173)](PerformanceEvents[_0x1c3ff7(0xed)]),_0x2bc3e9=_0x1ebb7b;const _0x2bcb44=_0x3fa1ba['yLHYf'](printCucumberStats,_0x1ebb7b);process[_0x1c3ff7(0x14a)]=_0x2bcb44,_0x3fa1ba[_0x1c3ff7(0x138)](_0x59908f[_0x1c3ff7(0x139)],0x0)&&(logger[_0x1c3ff7(0x10e)](_0x3fa1ba[_0x1c3ff7(0x134)]),helper[_0x1c3ff7(0x10b)](_0x367f48,_0x59908f),logger[_0x1c3ff7(0x10e)](_0x3fa1ba[_0x1c3ff7(0xf9)]),helper[_0x1c3ff7(0x12f)](_0x367f48));})[_0x4f3046(0x11c)](async()=>{const _0x2d4fb1=_0x4f3046;PerformanceTester[_0x2d4fb1(0x173)](PerformanceEvents['SDK_CLEANUP']),_0x50803f['errorMessage']=helper[_0x2d4fb1(0x147)](_0x2bc3e9,_0x3fa1ba[_0x2d4fb1(0xf4)]),testOpsHelper[_0x2d4fb1(0x106)]();const _0x564d97=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x2d4fb1(0x164)]();}catch(_0x4bc2a1){logger['debug'](_0x2d4fb1(0x137)+util[_0x2d4fb1(0x113)](_0x4bc2a1));}await utilities[_0x2d4fb1(0xfb)](_0x50803f,_0x564d97);});}module[a4_0x333db5(0x122)]=run;
|