browserstack-node-sdk 1.59.0 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/assets/report.html +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/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/builderPatch.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/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/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/timeoutPromise.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
package/src/assets/report.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
4
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script>
|
|
5
5
|
<script type="text/javascript"></script>
|
|
6
6
|
<style>
|
|
7
7
|
table,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x3db6d1=a1_0x416f;(function(_0x2af56c,_0x42ef3c){const _0x2b128e=a1_0x416f,_0x52531e=_0x2af56c();while(!![]){try{const _0x5715d0=parseInt(_0x2b128e(0x221))/0x1+parseInt(_0x2b128e(0x24c))/0x2*(parseInt(_0x2b128e(0x26c))/0x3)+parseInt(_0x2b128e(0x239))/0x4+-parseInt(_0x2b128e(0x1ea))/0x5*(-parseInt(_0x2b128e(0x277))/0x6)+parseInt(_0x2b128e(0x287))/0x7*(parseInt(_0x2b128e(0x232))/0x8)+-parseInt(_0x2b128e(0x1d7))/0x9*(-parseInt(_0x2b128e(0x290))/0xa)+-parseInt(_0x2b128e(0x1d6))/0xb*(parseInt(_0x2b128e(0x1c6))/0xc);if(_0x5715d0===_0x42ef3c)break;else _0x52531e['push'](_0x52531e['shift']());}catch(_0x38cf5c){_0x52531e['push'](_0x52531e['shift']());}}}(a1_0x2872,0xa60db));const fs=require('fs'),util=require(a1_0x3db6d1(0x213)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x3db6d1(0x2c4)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x3db6d1(0x2d8)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3db6d1(0x24d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x3db6d1(0x294)),scripts=require(a1_0x3db6d1(0x1df)),PerformanceTester=require(a1_0x3db6d1(0x1f1)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x3db6d1(0x1cc)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x3db6d1(0x298)),globals=require(a1_0x3db6d1(0x29e)),CodeceptJS=requireModule(a1_0x3db6d1(0x21a),a1_0x3db6d1(0x1e7)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x3db6d1(0x1e7)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x3db6d1(0x1e7)),CodeceptRecorder=requireModule(a1_0x3db6d1(0x263),a1_0x3db6d1(0x1e7)),CodeceptPlaywright=requireModule(a1_0x3db6d1(0x1c4),'codeceptjs');try{require('../../helpers/driverInitErrorReporter')[a1_0x3db6d1(0x267)]('codeceptjs');}catch(a1_0x45d617){logger[a1_0x3db6d1(0x279)](a1_0x3db6d1(0x21b)+(a1_0x45d617&&a1_0x45d617['message']));}const playwrightMarkSessionStatus=(_0x432255,_0x2b1a91,_0x101dae)=>{const _0x15119d=a1_0x3db6d1,_0x1748f1={'PXPNR':'setSessionStatus','NMAWf':function(_0x2febf0,_0x126bcf){return _0x2febf0(_0x126bcf);}},_0x167e5e={};_0x167e5e['status']=_0x2b1a91;const _0x5331b5={};_0x5331b5[_0x15119d(0x238)]=_0x1748f1[_0x15119d(0x24a)],_0x5331b5['arguments']=_0x167e5e;const _0x2741d1=_0x5331b5;return!_0x1748f1[_0x15119d(0x200)](isUndefined,_0x101dae)&&(_0x2741d1[_0x15119d(0x2c1)][_0x15119d(0x216)]=JSON[_0x15119d(0x211)](_0x101dae)),_0x432255[_0x15119d(0x1ce)](()=>{},_0x15119d(0x2cb)+JSON[_0x15119d(0x211)](_0x2741d1));},o11ySync=PerformanceTester[a1_0x3db6d1(0x1c0)](PerformanceO11yEvents[a1_0x3db6d1(0x217)],async _0x4cfc22=>{const _0x5595b0=a1_0x3db6d1,_0x31b409={};_0x31b409[_0x5595b0(0x235)]=function(_0x5f2691,_0x1dd6ca){return _0x5f2691===_0x1dd6ca;},_0x31b409[_0x5595b0(0x2c0)]='Playwright';const _0x6d6d32=_0x31b409;_0x6d6d32[_0x5595b0(0x235)](_0x4cfc22['constructor']['name'],_0x6d6d32[_0x5595b0(0x2c0)])?await _0x4cfc22[_0x5595b0(0x1ce)](_0xd74e1f=>{},testOpsHelper[_0x5595b0(0x26b)]()):await _0x4cfc22[_0x5595b0(0x1ce)](testOpsHelper[_0x5595b0(0x26b)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x2ee55e,_0x3b6f91)=>{const _0x4b19e5=a1_0x3db6d1,_0x320d5d={};_0x320d5d[_0x4b19e5(0x241)]=_0x4b19e5(0x1ff),_0x320d5d['ZuHVY']=function(_0x7dfb61,_0x1956c2){return _0x7dfb61===_0x1956c2;},_0x320d5d[_0x4b19e5(0x1f4)]=_0x4b19e5(0x2d5);const _0x119110=_0x320d5d,_0x223dfe={};_0x223dfe[_0x4b19e5(0x21c)]=_0x3b6f91;const _0x3909bf={};_0x3909bf[_0x4b19e5(0x238)]=_0x119110['JCQSR'],_0x3909bf[_0x4b19e5(0x2c1)]=_0x223dfe;const _0x3081a0=_0x3909bf;_0x119110[_0x4b19e5(0x27f)](_0x2ee55e[_0x4b19e5(0x292)][_0x4b19e5(0x21c)],_0x119110['VkeYp'])?await _0x2ee55e[_0x4b19e5(0x1ce)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x3081a0)):await _0x2ee55e[_0x4b19e5(0x1ce)]('browserstack_executor:\x20'+JSON[_0x4b19e5(0x211)](_0x3081a0));}),patchSaveScreenshot=_0x311615=>{const _0x50271b=a1_0x3db6d1,_0x5b5630={'OTUTj':_0x50271b(0x1f2),'ZekLp':_0x50271b(0x212),'JnDYL':function(_0xa4265e){return _0xa4265e();},'mYSqr':function(_0x4d6b81,_0x1d8439){return _0x4d6b81(_0x1d8439);},'bLupU':_0x50271b(0x21d),'CLtqG':function(_0x305792,_0x7aae34){return _0x305792(_0x7aae34);}};_0x5b5630['CLtqG'](isTrue,process[_0x50271b(0x261)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x311615[_0x50271b(0x24b)]&&(_0x311615['patchSaveScreenshot']=!![],_0x311615[_0x50271b(0x2c6)]=_0x311615[_0x50271b(0x2d6)],_0x311615[_0x50271b(0x2d6)]=(_0x734634,_0xb18f9d=![])=>{const _0x4eaef5=_0x50271b,_0x46ab56={'jjmEQ':_0x5b5630['OTUTj'],'AehfV':_0x5b5630[_0x4eaef5(0x22b)],'wdraX':function(_0x10980b){return _0x5b5630['JnDYL'](_0x10980b);},'pePhA':function(_0xfc4f90,_0x53cc49){const _0x234607=_0x4eaef5;return _0x5b5630[_0x234607(0x28f)](_0xfc4f90,_0x53cc49);},'CKnTZ':_0x5b5630[_0x4eaef5(0x2c3)]};return new Promise(function(_0xa1cb7c,_0x10dfba){const _0x36acd5=_0x4eaef5,_0x46063b={'zkDCO':_0x46ab56[_0x36acd5(0x1ca)],'Rveco':_0x46ab56[_0x36acd5(0x1e9)],'rXfaH':function(_0x3fc4cb){return _0x46ab56['wdraX'](_0x3fc4cb);},'LmXle':function(_0x142e32,_0x16f9dd){const _0x4c1d7b=_0x36acd5;return _0x46ab56[_0x4c1d7b(0x278)](_0x142e32,_0x16f9dd);},'GRpaK':_0x46ab56[_0x36acd5(0x1f9)]};_0x311615[_0x36acd5(0x2c6)](_0x734634,_0xb18f9d)[_0x36acd5(0x244)](()=>{const _0x33e802=_0x36acd5,_0x31615c=CodeceptUtils[_0x33e802(0x1ee)](_0x734634);if(_0x31615c){const _0x3ec613=fs[_0x33e802(0x2a8)](_0x31615c);process[_0x33e802(0x209)](_0x33e802(0x2ad)+process[_0x33e802(0x2ae)],{'timestamp':new Date()[_0x33e802(0x26f)](),'message':_0x3ec613[_0x33e802(0x210)](_0x46063b['zkDCO']),'kind':_0x46063b[_0x33e802(0x293)]}),_0x46063b[_0x33e802(0x248)](_0xa1cb7c);}_0x46063b[_0x33e802(0x2a7)](_0x10dfba,new Error(_0x46063b[_0x33e802(0x234)]));})[_0x36acd5(0x20d)](()=>null);});});},patchWebDriverBefore=(_0x49621d,_0x3cce87)=>{const _0x1c0a6d=a1_0x3db6d1,_0x181bdf={'YHVVV':function(_0x57f3fc){return _0x57f3fc();},'UOYea':function(_0x38c001,_0x18c9b9){return _0x38c001(_0x18c9b9);},'QxMbh':function(_0x4993f3,_0x583092){return _0x4993f3===_0x583092;},'maGDg':_0x1c0a6d(0x288),'bjhUo':function(_0x4c4fa9,_0x114d4c){return _0x4c4fa9===_0x114d4c;},'FpWfo':_0x1c0a6d(0x23d),'Kpopf':function(_0x34fa9b,_0x27a5ac){return _0x34fa9b===_0x27a5ac;},'HsYHO':'Element','nOFez':function(_0x5d2672,_0x273865){return _0x5d2672===_0x273865;},'geIeE':'function'},_0x5b0798=async function(_0x5c1f5b,_0x2addde){const _0x43ebd9=_0x1c0a6d;_0x181bdf[_0x43ebd9(0x257)](isAccessibilityAutomationSession)&&!global[_0x43ebd9(0x1db)]&&global[_0x43ebd9(0x1fa)]&&scripts[_0x43ebd9(0x284)](_0x5c1f5b['name'])&&_0x181bdf[_0x43ebd9(0x1f0)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x43ebd9(0x1db)]=!![],await PerformanceTester[_0x43ebd9(0x1c0)](PerformanceA11yEvents[_0x43ebd9(0x1c5)],async()=>{const _0x5bc35b=_0x43ebd9;logger[_0x5bc35b(0x279)](_0x5bc35b(0x2ab)+_0x5c1f5b[_0x5bc35b(0x25f)]+'\x20'+_0x5c1f5b[_0x5bc35b(0x21c)]),await AccessibilityHelper[_0x5bc35b(0x1cf)](_0x49621d,scripts['performScan']);},{'command':_0x5c1f5b['name']})());global[_0x43ebd9(0x1db)]=![];const _0x49581b=JSON[_0x43ebd9(0x296)](process[_0x43ebd9(0x261)][_0x43ebd9(0x1f3)]||'{}');if(_0x181bdf['QxMbh'](_0x49581b?.['testFramework']?.[_0x43ebd9(0x21c)],_0x181bdf[_0x43ebd9(0x28d)])&&_0x181bdf['bjhUo'](typeof _0x49581b?.['testFramework']?.[_0x43ebd9(0x22f)],_0x181bdf[_0x43ebd9(0x28c)])&&_0x49581b?.[_0x43ebd9(0x21f)]?.[_0x43ebd9(0x22f)]['startsWith']('7'))return _0x2addde[_0x43ebd9(0x2ca)](null,Array['prototype'][_0x43ebd9(0x236)][_0x43ebd9(0x20f)](arguments,0x2));return _0x2addde[_0x43ebd9(0x2ca)](this,Array[_0x43ebd9(0x249)][_0x43ebd9(0x236)]['call'](arguments,0x2));},_0x1b652a=CodeceptWebDriver['prototype'][_0x1c0a6d(0x23b)];CodeceptWebDriver['prototype'][_0x1c0a6d(0x23b)]=async function(){const _0x38025b=_0x1c0a6d,_0x4d13bc={'nknIu':function(_0x2bbe0e,_0xec621){const _0x5cb247=a1_0x416f;return _0x181bdf[_0x5cb247(0x242)](_0x2bbe0e,_0xec621);},'fjhwc':_0x181bdf[_0x38025b(0x1fb)]};try{await _0x1b652a[_0x38025b(0x2ca)](this,arguments);}catch(_0x312c0d){logger[_0x38025b(0x279)](_0x38025b(0x2be)+util['format'](_0x312c0d));}scripts[_0x38025b(0x20e)][_0x38025b(0x29f)](_0x5e9ead=>_0x5e9ead[_0x38025b(0x21c)]&&_0x5e9ead[_0x38025b(0x25f)])[_0x38025b(0x20c)](_0xfdde87=>{const _0x3db74a=_0x38025b;this[_0x3db74a(0x229)]['overwriteCommand'](_0xfdde87['name'],_0x5b0798['bind'](this,_0xfdde87),_0x4d13bc[_0x3db74a(0x2bf)](_0xfdde87[_0x3db74a(0x25f)],_0x4d13bc['fjhwc']));}),_0x181bdf['UOYea'](processWebDriverConfig,_0x49621d);try{_0x3cce87&&_0x181bdf[_0x38025b(0x2b2)](typeof _0x3cce87[_0x38025b(0x1e4)],_0x181bdf['geIeE'])&&await _0x3cce87[_0x38025b(0x1e4)]();}catch(_0x4090ad){logger[_0x38025b(0x279)]('Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20'+util[_0x38025b(0x222)](_0x4090ad));}};};function parseJwt(_0x3ab187){const _0x5010e2=a1_0x3db6d1,_0x4cd48f={};_0x4cd48f['AQtpk']=_0x5010e2(0x1f2);const _0x57dcd3=_0x4cd48f;if(!_0x3ab187)return null;return JSON['parse'](Buffer[_0x5010e2(0x26e)](_0x3ab187[_0x5010e2(0x275)]('.')[0x1],_0x57dcd3[_0x5010e2(0x202)])[_0x5010e2(0x210)]());}function a1_0x2872(){const _0x34c295=['is_mobile_session','step','isMobilePlatform','getSyncScript','3ChJund','DJTjt','from','toISOString','Awejc','awVuH','step-comment','JcFjh','captureEvent','split','container','24uXYjqw','pePhA','debug','__driver','enabled','hcStW','rXGcD','isArray','ZuHVY','TEST_LOG','ouWnZ','CDwLW','HOOK_RUN_FINISHED','shouldWrapCommand','MAaIr','AQQGp','8596btnEYL','webdriverio','bddStepStart','stopMonitoring','includes','FpWfo','maGDg','chromium','mYSqr','9230hVHXHu','started','constructor','Rveco','../../bin/playwright/accessibility-helper','ssxEa','parse','hSyWY','../../helpers/testhub/constants.js','SDK_POST_TEST','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sntDD','hasLiveDriverSession','titlePath','../../helpers/globals.js','filter','TEST_RUN_SKIPPED','\x0aStack:\x20','skipped','config','test-before','test-started','dsBga','LmXle','readFileSync','GswgI','VAPJX','Performing\x20scan\x20for\x20','passed','bs:addLog:','pid','GET_RESULTS_SUMMARY','after','hook-passed','nOFez','hookType','getResults','TcIHL','stop','test-skipped','event','pages','getAccessibilityResultsSummary','qQCdn','warn','dispatcher','Failed\x20to\x20execute\x20_before:\x20','nknIu','IUpcw','arguments','hook','bLupU','winstonLogger','SDK_PRE_TEST','initSaveScreenshot','jYkHq','command','end','apply','browserstack_executor:\x20','helpers','__workerDetails','INFO','rgIOs','zugvY','bddStep','SYfbQ','failed','WebDriver','Playwright','saveScreenshot','skipSessionName','../../helpers/request-spy','__skipSessionStatus','TEST_RUN_FINISHED','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','measureWrapper','kCwix','AXsxM','QQzxu','codeceptjs/lib/helper/Playwright.js','PERFORM_SCAN','204pUqhby','HOOK_RUN_STARTED','SLTjq','test-passed','jjmEQ','page','../../helpers/performance/constants','SDK_TEST','executeScript','browserStackExecuteDriver','info','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','srySJ','before','LoPlv','ecEVY','1549581hiXKHQ','477HhAjBL','_setPage','patch','cTefX','bstackAllyScanning','BPmJm','PWsjG','domForge','../../helpers/accessibility-automation/scripts','tJvvc','jRbdb','yoKfr','mQxuE','flushPendingHookEvents','vHgBT','gAJwq','codeceptjs','captureError','AehfV','743715qIpjbf','--auto-open-devtools-for-tabs','LgUtd','kbKir','screenshotOutputFolder','setGlobal','UOYea','../../helpers/performance/performance-tester','base64','FRAMEWORK_DETAILS','VkeYp','a11y_core_config','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','contexts','url','CKnTZ','accessibilityPlatform','HsYHO','fireEvent','browserstackTestName','args','setSessionName','NMAWf','startMonitoring','AQtpk','stack','exports','ndYFC','performScan','skipSessionStatus','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','emit','ctx','TestCafe','forEach','catch','commandsToWrap','call','toString','stringify','TEST_SCREENSHOT','util','SwLhd','kRxZi','reason','SYNC','startsWith','browserContext','codeceptjs/lib/index.js','driver-init\x20capture\x20install\x20failed:\x20','name','Screenshot\x20path\x20not\x20found','CUDGT','testFramework','getAccessibilityResults','414675uvgxKG','format','afterTest','veprP','kDBDr','acbFX','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','kapvj','browser','all','ZekLp','WQVwW','rCqEA','Suite','version','title','ENV_VAR','4072UQjEle','message','GRpaK','zRjng','slice','GsZvW','action','1089908OimYdm','test','_before','MgwbB','string','BS_A11Y_JWT','UTyri','push','JCQSR','Kpopf','BROWSERSTACK_TESTHUB_JWT','then','TEST_RUN_STARTED','BROWSERSTACK_TESTHUB_UUID','SESSION_STATUS','rXfaH','prototype','PXPNR','patchSaveScreenshot','2237734NkMPCP','./o11yHelper','bddStep-after','restore','hook-failed','bufferPendingHookEvent','SDK_POST_INITIALIZE','getGlobal','function','VzeBR','addRequestSpy','YHVVV','start','CevIs','wRtmd','test-after','saveTestResults','SDK_HOOK','mwZjT','class','bddStep-before','env','GuzyV','codeceptjs/lib/recorder.js','add','find','thTestRunUuid','installAll'];a1_0x2872=function(){return _0x34c295;};return a1_0x2872();}function a1_0x416f(_0x501b45,_0x56b070){const _0x2872f4=a1_0x2872();return a1_0x416f=function(_0x416f0c,_0x310ce5){_0x416f0c=_0x416f0c-0x1bd;let _0x4ac263=_0x2872f4[_0x416f0c];return _0x4ac263;},a1_0x416f(_0x501b45,_0x56b070);}const patchPlaywrightBefore=_0x131a13=>{const _0x26256f=a1_0x3db6d1,_0x35cfc8={'LgUtd':function(_0x262b05){return _0x262b05();},'awVuH':'devtools://','wRtmd':_0x26256f(0x1eb),'QQzxu':function(_0x37d00c,_0x3baf7c){return _0x37d00c(_0x3baf7c);},'CevIs':function(_0x2e3284){return _0x2e3284();},'kSxPO':function(_0x13a3f7,_0x30a41d){return _0x13a3f7+_0x30a41d;},'jRbdb':_0x26256f(0x2a1),'acbFX':function(_0x34bb31){return _0x34bb31();},'mwZjT':function(_0x3ca364){return _0x3ca364();},'VAPJX':function(_0x494ffa,_0x180873){return _0x494ffa===_0x180873;},'lwssL':_0x26256f(0x254)};PlaywrightSessionDetails[_0x26256f(0x1d9)]();const _0x850752=CodeceptPlaywright[_0x26256f(0x249)][_0x26256f(0x23b)];CodeceptPlaywright[_0x26256f(0x249)][_0x26256f(0x23b)]=async function(){const _0x557f84=_0x26256f,_0x491d09={'dsBga':function(_0x24e143){return _0x35cfc8['LgUtd'](_0x24e143);},'mQxuE':_0x35cfc8[_0x557f84(0x271)],'ndYFC':_0x35cfc8[_0x557f84(0x25a)],'veprP':function(_0x28be95,_0xe826b2){const _0x5ec2ef=_0x557f84;return _0x35cfc8[_0x5ec2ef(0x1c3)](_0x28be95,_0xe826b2);},'WQVwW':function(_0x567fe4){const _0x162994=_0x557f84;return _0x35cfc8[_0x162994(0x259)](_0x567fe4);},'vHgBT':function(_0x5514cb,_0x398534){return _0x35cfc8['kSxPO'](_0x5514cb,_0x398534);},'rXGcD':_0x35cfc8[_0x557f84(0x1e1)]};this[_0x557f84(0x219)]=await this[_0x557f84(0x229)][_0x557f84(0x1f7)]()[0x0];const _0x23fa9c=async()=>{const _0x28d099=_0x557f84,_0x3850a5=this[_0x28d099(0x2a3)]&&this[_0x28d099(0x2a3)]['chromium']&&this[_0x28d099(0x2a3)][_0x28d099(0x28e)][_0x28d099(0x1fe)]&&Array[_0x28d099(0x27e)](this[_0x28d099(0x2a3)]['chromium'][_0x28d099(0x1fe)])&&this[_0x28d099(0x2a3)][_0x28d099(0x28e)]['args'][_0x28d099(0x28b)](_0x491d09[_0x28d099(0x205)]);if(_0x491d09[_0x28d099(0x2a6)](isAccessibilityAutomationSession)&&!_0x3850a5)try{const _0x41a524=_0x491d09[_0x28d099(0x224)](parseJwt,process[_0x28d099(0x261)][_0x28d099(0x23e)]);if(_0x41a524&&_0x41a524['a11y_core_config']&&_0x41a524[_0x28d099(0x1f5)][_0x28d099(0x1de)]){const _0x540a3f=this[_0x28d099(0x219)]['pages']['bind'](this[_0x28d099(0x219)]);this['browserContext']['pages']=async function(){const _0x293e9c=_0x28d099,_0x4949c0=await _0x491d09[_0x293e9c(0x2a6)](_0x540a3f),_0x182b2b=[];for(const _0x33e839 of _0x4949c0){try{const _0x1f1dde=await _0x33e839[_0x293e9c(0x1f8)]();!_0x1f1dde['startsWith'](_0x491d09[_0x293e9c(0x1e3)])&&_0x182b2b[_0x293e9c(0x240)](_0x33e839);}catch(_0x7ceab9){_0x182b2b[_0x293e9c(0x240)](_0x33e839);}}return _0x182b2b;};}if(!_0x491d09[_0x28d099(0x22c)](isBrowserstackInfra)){const _0x3b11b9=await this[_0x28d099(0x1cb)][_0x28d099(0x1f8)]();if(_0x3b11b9[_0x28d099(0x218)](_0x491d09[_0x28d099(0x1e3)])){const _0x56332a=await this[_0x28d099(0x219)][_0x28d099(0x2b9)]();this[_0x28d099(0x1d8)](_0x56332a[0x0]);}}}catch(_0xb81c5b){logger['debug'](_0x28d099(0x1bf)+_0xb81c5b[_0x28d099(0x233)]+(_0xb81c5b['stack']?_0x491d09[_0x28d099(0x1e5)](_0x491d09[_0x28d099(0x27d)],_0xb81c5b[_0x28d099(0x203)]):''));}};_0x35cfc8[_0x557f84(0x226)](isBrowserstackInfra)&&await _0x35cfc8[_0x557f84(0x1ec)](_0x23fa9c);await _0x850752[_0x557f84(0x2ca)](this,arguments);!_0x35cfc8[_0x557f84(0x226)](isBrowserstackInfra)&&await _0x35cfc8[_0x557f84(0x25e)](_0x23fa9c);try{_0x131a13&&_0x35cfc8[_0x557f84(0x2aa)](typeof _0x131a13['flushPendingHookEvents'],_0x35cfc8['lwssL'])&&await _0x131a13[_0x557f84(0x1e4)]();}catch(_0x5804c3){logger['debug'](_0x557f84(0x1d1)+util[_0x557f84(0x222)](_0x5804c3));}};},getCodeceptDriver=()=>{const _0x5e0347=a1_0x3db6d1,_0x1ea775={};_0x1ea775[_0x5e0347(0x22d)]=_0x5e0347(0x2d4),_0x1ea775['qQCdn']=_0x5e0347(0x2d5),_0x1ea775[_0x5e0347(0x21e)]='Puppeteer',_0x1ea775['rgYFn']=_0x5e0347(0x20b);const _0x42216b=_0x1ea775,_0x413836=[_0x42216b[_0x5e0347(0x22d)],_0x42216b[_0x5e0347(0x2bb)],_0x42216b[_0x5e0347(0x21e)],_0x42216b['rgYFn']],_0x50f252=_0x413836[_0x5e0347(0x265)](_0x43b6b9=>!!CodeceptJS[_0x5e0347(0x276)][_0x5e0347(0x2cc)](_0x43b6b9));if(!_0x50f252)return null;return CodeceptJS[_0x5e0347(0x276)][_0x5e0347(0x2cc)](_0x50f252);};module[a1_0x3db6d1(0x204)]=function(_0x5bc84c){const _0x4a2e26=a1_0x3db6d1,_0x5829ec={'aqzkI':function(_0xfbf6b2,_0x1f8123){return _0xfbf6b2(_0x1f8123);},'VzeBR':function(_0x376397,_0x209d50,_0x3b0406){return _0x376397(_0x209d50,_0x3b0406);},'SLTjq':_0x4a2e26(0x220),'BPmJm':_0x4a2e26(0x29a),'GswgI':_0x4a2e26(0x2ba),'SwLhd':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','cDNaT':function(_0x30baf4,_0xa6ecb0){return _0x30baf4(_0xa6ecb0);},'hcStW':function(_0x475906,_0x3b3eef,_0x47d051){return _0x475906(_0x3b3eef,_0x47d051);},'tJvvc':'hook-started','gAJwq':_0x4a2e26(0x2b1),'sntDD':function(_0x51a01f,_0x33aafa,_0x43372b){return _0x51a01f(_0x33aafa,_0x43372b);},'ssxEa':_0x4a2e26(0x250),'yoKfr':_0x4a2e26(0x1fd),'kRxZi':function(_0x131b06){return _0x131b06();},'MAaIr':_0x4a2e26(0x2a4),'ecEVY':function(_0x19bcdb){return _0x19bcdb();},'AQQGp':function(_0x17e7a1,_0x355294){return _0x17e7a1(_0x355294);},'DJTjt':function(_0x4b6f73,_0x120b0f,_0x52a274){return _0x4b6f73(_0x120b0f,_0x52a274);},'LoPlv':function(_0x3b13fa,_0x22d106){return _0x3b13fa(_0x22d106);},'GuzyV':_0x4a2e26(0x2a5),'AXsxM':_0x4a2e26(0x1c9),'kCwix':function(_0x33c86a,_0x1fec06,_0x35c1a8,_0x5c6c00){return _0x33c86a(_0x1fec06,_0x35c1a8,_0x5c6c00);},'srySJ':function(_0x4cd794,_0x192247,_0x1a1ef8,_0x3cd6db){return _0x4cd794(_0x192247,_0x1a1ef8,_0x3cd6db);},'sJXiK':function(_0x1fd895,_0x462103){return _0x1fd895===_0x462103;},'ouWnZ':_0x4a2e26(0x22e),'rgIOs':'test-failed','cTefX':_0x4a2e26(0x2b7),'TcIHL':_0x4a2e26(0x223),'ersLO':_0x4a2e26(0x26a),'UTyri':function(_0x186449){return _0x186449();},'crUmm':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jYkHq':_0x4a2e26(0x25b),'PWsjG':_0x4a2e26(0x2ce),'QrXzH':_0x4a2e26(0x280),'Awejc':_0x4a2e26(0x272),'lJcYQ':_0x4a2e26(0x260),'zugvY':_0x4a2e26(0x24e),'kapvj':function(_0x3126bc){return _0x3126bc();},'kbKir':_0x4a2e26(0x2d5)};_0x5bc84c[_0x4a2e26(0x207)]&&(global[_0x4a2e26(0x1bd)]=_0x5bc84c[_0x4a2e26(0x207)]);PerformanceTester[_0x4a2e26(0x201)]();const _0x1a7860=_0x5829ec[_0x4a2e26(0x228)](getCodeceptDriver),_0x5c5ba2=new O11yHelper(_0x1a7860,_0x5bc84c),_0x4f4cad=!!CodeceptJS[_0x4a2e26(0x276)]['helpers'](_0x5829ec[_0x4a2e26(0x1ed)]);global[_0x4a2e26(0x27a)]=_0x1a7860;_0x1a7860&&(PerformanceTester[_0x4a2e26(0x1c0)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{_0x4f4cad?_0x5829ec['aqzkI'](patchPlaywrightBefore,_0x5c5ba2):_0x5829ec['VzeBR'](patchWebDriverBefore,_0x1a7860,_0x5c5ba2);})(),PerformanceTester[_0x4a2e26(0x1c0)](PerformanceEvents[_0x4a2e26(0x252)],()=>{const _0x4b9f71=_0x4a2e26,_0x3bd3d4={};_0x3bd3d4[_0x4b9f71(0x23c)]=_0x5829ec[_0x4b9f71(0x2a9)],_0x3bd3d4[_0x4b9f71(0x2d2)]=_0x5829ec[_0x4b9f71(0x214)];const _0x5d21e9=_0x3bd3d4;_0x1a7860['getAccessibilityResultsSummary']=async()=>{const _0x71fa66=_0x4b9f71;if(global[_0x71fa66(0x1fa)]){const _0xe22e89={};return _0xe22e89['command']=_0x5d21e9[_0x71fa66(0x23c)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5e7e87=_0x71fa66;return await AccessibilityHelper[_0x5e7e87(0x1cf)](_0x1a7860,scripts[_0x5e7e87(0x206)]);},_0xe22e89)(),await PerformanceTester[_0x71fa66(0x1c0)](PerformanceA11yEvents[_0x71fa66(0x2af)],async()=>{const _0x2c3fe9=_0x71fa66;return await AccessibilityHelper[_0x2c3fe9(0x1cf)](_0x1a7860,scripts['getResultsSummary']);})();}return logger[_0x71fa66(0x2bc)](_0x5d21e9[_0x71fa66(0x2d2)]),{};},_0x1a7860['getAccessibilityResults']=async()=>{const _0x6f0e77=_0x4b9f71;if(global[_0x6f0e77(0x1fa)]){const _0x3dd3ab={};return _0x3dd3ab[_0x6f0e77(0x2c8)]=_0x5829ec[_0x6f0e77(0x1c8)],await PerformanceTester[_0x6f0e77(0x1c0)](PerformanceA11yEvents[_0x6f0e77(0x1c5)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x1a7860,scripts['performScan']);},_0x3dd3ab)(),await PerformanceTester[_0x6f0e77(0x1c0)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x4ebbf4=_0x6f0e77;return await AccessibilityHelper[_0x4ebbf4(0x1cf)](_0x1a7860,scripts[_0x4ebbf4(0x2b4)]);})();}return logger['warn'](_0x5829ec[_0x6f0e77(0x1dc)]),{};},_0x5829ec['cDNaT'](patchSaveScreenshot,_0x1a7860);})());CodeceptJS[_0x4a2e26(0x2b8)]['dispatcher']['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x22a)][_0x4a2e26(0x1d3)],()=>{const _0x1b8859=_0x4a2e26;PerformanceTester[_0x1b8859(0x258)](PerformanceEvents[_0x1b8859(0x2c5)]);try{_0x5c5ba2[_0x1b8859(0x258)](),testOpsHelper[_0x1b8859(0x256)](),PerformanceTester[_0x1b8859(0x2c9)](PerformanceEvents[_0x1b8859(0x2c5)]);}catch(_0x1bee6b){PerformanceTester['captureError'](_0x1bee6b),PerformanceTester[_0x1b8859(0x2c9)](PerformanceEvents[_0x1b8859(0x2c5)],![],_0x1bee6b);}}),CodeceptJS[_0x4a2e26(0x2b8)]['dispatcher']['on'](CodeceptJS[_0x4a2e26(0x2b8)]['all'][_0x4a2e26(0x2b0)],async()=>{const _0x49e040=_0x4a2e26;PerformanceTester[_0x49e040(0x258)](PerformanceEvents[_0x49e040(0x299)]);try{requestSpy[_0x49e040(0x24f)](),await _0x5c5ba2[_0x49e040(0x2b6)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x5db564){PerformanceTester['captureError'](_0x5db564),PerformanceTester['end'](PerformanceEvents[_0x49e040(0x299)],![],_0x5db564);}finally{PerformanceTester[_0x49e040(0x28a)]();}});const _0x28f7b9=(_0x120b11,_0x35a1d0)=>{const _0xe8783=_0x4a2e26;if(!_0x5c5ba2)return;if(!_0x5c5ba2[_0xe8783(0x29c)]()){_0x5c5ba2[_0xe8783(0x251)](_0x120b11,_0x35a1d0);return;}CodeceptRecorder[_0xe8783(0x264)](()=>_0x5c5ba2[_0xe8783(0x1fc)](_0x120b11,_0x35a1d0));};CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2c2)][_0x4a2e26(0x291)],_0xf25cc6=>{const _0xa8c122=_0x4a2e26;PerformanceTester['start'](PerformanceEvents[_0xa8c122(0x25d)]);try{const _0xc7e3b8=_0xf25cc6[_0xa8c122(0x20a)]['test'],_0x291044=_0x5c5ba2['captureEvent'](TEST_EVENTS[_0xa8c122(0x1c7)],_0xc7e3b8);_0x5829ec[_0xa8c122(0x27c)](_0x28f7b9,TEST_EVENTS[_0xa8c122(0x1c7)],_0x291044);const _0x25841f={};_0x25841f['hookType']=_0x5829ec[_0xa8c122(0x1e0)],PerformanceTester[_0xa8c122(0x2c9)](PerformanceEvents[_0xa8c122(0x25d)],!![],null,_0x25841f);}catch(_0x485cce){const _0x135a1a={};_0x135a1a[_0xa8c122(0x2b3)]=_0x5829ec[_0xa8c122(0x1e0)],PerformanceTester[_0xa8c122(0x2c9)](PerformanceEvents[_0xa8c122(0x25d)],![],_0x485cce,_0x135a1a),PerformanceTester[_0xa8c122(0x1e8)](_0x485cce);}}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2c2)][_0x4a2e26(0x2ac)],_0x492454=>{const _0x5b99cf=_0x4a2e26,_0x5888f8={};_0x5888f8[_0x5b99cf(0x2b3)]=_0x5829ec[_0x5b99cf(0x1e6)],PerformanceTester[_0x5b99cf(0x258)](PerformanceHookEvents[_0x5b99cf(0x25d)],!![],null,_0x5888f8);try{const _0x481361=_0x492454[_0x5b99cf(0x20a)][_0x5b99cf(0x23a)],_0xc43be1=_0x5c5ba2[_0x5b99cf(0x274)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x481361);_0x5829ec[_0x5b99cf(0x29b)](_0x28f7b9,TEST_EVENTS[_0x5b99cf(0x283)],_0xc43be1);const _0x4757ab={};_0x4757ab[_0x5b99cf(0x2b3)]=_0x5829ec['gAJwq'],PerformanceTester[_0x5b99cf(0x2c9)](PerformanceHookEvents[_0x5b99cf(0x25d)],!![],null,_0x4757ab);}catch(_0x205fd8){PerformanceTester[_0x5b99cf(0x1e8)](_0x205fd8);const _0x7206a4={};_0x7206a4[_0x5b99cf(0x2b3)]=_0x5829ec[_0x5b99cf(0x1e6)],PerformanceTester[_0x5b99cf(0x2c9)](PerformanceHookEvents[_0x5b99cf(0x25d)],![],_0x205fd8,_0x7206a4);}}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)]['hook'][_0x4a2e26(0x2d3)],async(_0x2fd575,_0x38d630)=>{const _0x350bef=_0x4a2e26;PerformanceTester[_0x350bef(0x258)](PerformanceHookEvents[_0x350bef(0x25d)]);try{const _0x2a6782=_0x2fd575[_0x350bef(0x20a)][_0x350bef(0x23a)],_0x1d6774=_0x5c5ba2[_0x350bef(0x274)](TEST_EVENTS[_0x350bef(0x283)],_0x2a6782,_0x38d630);_0x5829ec[_0x350bef(0x29b)](_0x28f7b9,TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1d6774);const _0x11c2b9={};_0x11c2b9[_0x350bef(0x2b3)]=_0x5829ec[_0x350bef(0x295)],PerformanceTester[_0x350bef(0x258)](PerformanceHookEvents[_0x350bef(0x25d)],!![],null,_0x11c2b9);}catch(_0x16b4e4){PerformanceTester['captureError'](_0x16b4e4);const _0x56a1cf={};_0x56a1cf[_0x350bef(0x2b3)]=_0x5829ec[_0x350bef(0x295)],PerformanceTester[_0x350bef(0x2c9)](PerformanceHookEvents['SDK_HOOK'],![],_0x16b4e4,_0x56a1cf);}const _0x326ddf={};_0x326ddf[_0x350bef(0x2b3)]=_0x5829ec['ssxEa'],PerformanceTester[_0x350bef(0x2c9)](PerformanceHookEvents[_0x350bef(0x25d)],!![],null,_0x326ddf);}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)]['test'][_0x4a2e26(0x1d3)],_0x29cd57=>{const _0x5e3b18=_0x4a2e26;PerformanceTester[_0x5e3b18(0x258)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x5e3b18(0x1ef)](_0x5829ec[_0x5e3b18(0x1e2)],_0x29cd57[_0x5e3b18(0x230)]);_0x5829ec[_0x5e3b18(0x215)](isBrowserstackInfra)&&(_0x4f4cad&&(global[_0x5e3b18(0x2cd)]={'currentTest':{'name':_0x29cd57['title'],'testInfo':{'titlePath':_0x29cd57[_0x5e3b18(0x29d)]()}}}));const _0x16e88a={};_0x16e88a[_0x5e3b18(0x2b3)]=_0x5829ec[_0x5e3b18(0x285)],PerformanceTester['end'](PerformanceHookEvents[_0x5e3b18(0x25d)],!![],null,_0x16e88a);}catch(_0x16bce3){PerformanceTester[_0x5e3b18(0x1e8)](_0x16bce3);const _0xedb40b={};_0xedb40b[_0x5e3b18(0x2b3)]=_0x5829ec['MAaIr'],PerformanceTester['end'](PerformanceHookEvents[_0x5e3b18(0x25d)],![],_0x16bce3,_0xedb40b);}}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x23a)][_0x4a2e26(0x291)],_0x53fec9=>{const _0x489c26=_0x4a2e26;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x489c26(0x1ef)](_0x5829ec[_0x489c26(0x1e2)],_0x53fec9[_0x489c26(0x230)]);const _0x5ecd4a=_0x5c5ba2[_0x489c26(0x274)](TEST_EVENTS[_0x489c26(0x245)],_0x53fec9);CodeceptRecorder[_0x489c26(0x264)](()=>_0x5c5ba2[_0x489c26(0x1e4)]()),CodeceptRecorder[_0x489c26(0x264)](()=>_0x5c5ba2[_0x489c26(0x1fc)](TEST_EVENTS[_0x489c26(0x245)],_0x5ecd4a)),CodeceptRecorder[_0x489c26(0x264)](async()=>{const _0xaf209e=_0x489c26;_0x5829ec[_0xaf209e(0x1d5)](isBrowserstackInfra)&&(!_0x5829ec[_0xaf209e(0x286)](isTrue,_0x5bc84c[_0xaf209e(0x2d7)])&&await _0x5829ec[_0xaf209e(0x26d)](markSessionName,_0x1a7860,_0x53fec9[_0xaf209e(0x230)]),_0x5c5ba2[_0xaf209e(0x27b)]&&await _0x5829ec[_0xaf209e(0x1d4)](o11ySync,_0x1a7860));});}catch(_0x58a84b){const _0x217dd2={};_0x217dd2[_0x489c26(0x2b3)]=_0x5829ec[_0x489c26(0x262)],PerformanceTester[_0x489c26(0x2c9)](PerformanceHookEvents[_0x489c26(0x25d)],![],_0x58a84b,_0x217dd2),PerformanceTester[_0x489c26(0x1e8)](_0x58a84b);}const _0x15268b={};_0x15268b[_0x489c26(0x2b3)]=_0x5829ec[_0x489c26(0x262)],PerformanceTester[_0x489c26(0x2c9)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x15268b);}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)]['test'][_0x4a2e26(0x2ac)],_0x5b8e4f=>{const _0x3f2997=_0x4a2e26,_0x4b0f85={'MeDFH':function(_0x55d009,_0x2b8d65,_0xdd1729){const _0x5dc461=a1_0x416f;return _0x5829ec[_0x5dc461(0x255)](_0x55d009,_0x2b8d65,_0xdd1729);},'MEISe':function(_0x33b162,_0x180a1f,_0x50d110){const _0x1e8378=a1_0x416f;return _0x5829ec[_0x1e8378(0x29b)](_0x33b162,_0x180a1f,_0x50d110);},'JcFjh':function(_0x1a807f){const _0x1b1b83=a1_0x416f;return _0x5829ec[_0x1b1b83(0x1d5)](_0x1a807f);}};PerformanceTester[_0x3f2997(0x258)](PerformanceHookEvents[_0x3f2997(0x25d)]);try{const _0xfe3c83=_0x5c5ba2[_0x3f2997(0x274)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5b8e4f);CodeceptRecorder['add'](()=>_0x5c5ba2[_0x3f2997(0x1fc)](TEST_EVENTS[_0x3f2997(0x1be)],_0xfe3c83)),CodeceptRecorder[_0x3f2997(0x264)](async()=>{const _0x5a927f=_0x3f2997;_0x4b0f85[_0x5a927f(0x273)](isBrowserstackInfra)&&await PerformanceTester[_0x5a927f(0x1c0)](PerformanceAutEvents[_0x5a927f(0x247)],async()=>{_0x4f4cad?await _0x4b0f85['MeDFH'](playwrightMarkSessionStatus,_0x1a7860,STATE_PASSED):await _0x4b0f85['MEISe'](markSessionStatus,_0x1a7860,STATE_PASSED);})();}),PerformanceTester[_0x3f2997(0x2c9)](PerformanceEvents[_0x3f2997(0x1cd)]);}catch(_0xa5de7e){PerformanceTester[_0x3f2997(0x1e8)](_0xa5de7e);const _0x3012ff={};_0x3012ff[_0x3f2997(0x2b3)]=_0x5829ec[_0x3f2997(0x1c2)],PerformanceTester[_0x3f2997(0x2c9)](PerformanceHookEvents[_0x3f2997(0x25d)],![],_0xa5de7e,_0x3012ff),PerformanceTester['end'](PerformanceEvents[_0x3f2997(0x1cd)],![],_0xa5de7e);}const _0x5af103={};_0x5af103[_0x3f2997(0x2b3)]=_0x5829ec['AXsxM'],PerformanceTester[_0x3f2997(0x2c9)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5af103);}),CodeceptJS[_0x4a2e26(0x2b8)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x4a2e26(0x2d3)],(_0x373d62,_0xebfb12)=>{const _0x459a71=_0x4a2e26,_0x3d62f7={'CDwLW':function(_0x37dfee){return _0x5829ec['kRxZi'](_0x37dfee);},'GsZvW':function(_0x3ea04f,_0x3cffba,_0x3cef73,_0x11d114){const _0x5840cc=a1_0x416f;return _0x5829ec[_0x5840cc(0x1c1)](_0x3ea04f,_0x3cffba,_0x3cef73,_0x11d114);},'zZjWF':function(_0x5464de,_0x1d88a9,_0x15437e,_0x18ee35){const _0xec618d=a1_0x416f;return _0x5829ec[_0xec618d(0x1d2)](_0x5464de,_0x1d88a9,_0x15437e,_0x18ee35);}};PerformanceTester[_0x459a71(0x258)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5829ec['sJXiK'](_0x373d62['constructor'][_0x459a71(0x21c)],_0x5829ec[_0x459a71(0x281)])){const _0x8be287=_0x5c5ba2[_0x459a71(0x274)](TEST_EVENTS[_0x459a71(0x2a0)],_0x373d62[_0x459a71(0x20a)]['currentTest']);CodeceptRecorder[_0x459a71(0x264)](()=>_0x5c5ba2[_0x459a71(0x1fc)](TEST_EVENTS[_0x459a71(0x2a0)],_0x8be287));}else{const _0x176057=_0x5c5ba2[_0x459a71(0x274)](TEST_EVENTS[_0x459a71(0x1be)],_0x373d62,_0xebfb12);CodeceptRecorder[_0x459a71(0x264)](()=>{const _0x313934=_0x459a71;try{_0x5c5ba2[_0x313934(0x1fc)](TEST_EVENTS[_0x313934(0x1be)],_0x176057);}catch(_0x12a2a9){logger[_0x313934(0x279)](_0x313934(0x208)+util[_0x313934(0x222)](_0x12a2a9)),PerformanceTester[_0x313934(0x2c9)](PerformanceEvents[_0x313934(0x1cd)],![],_0x12a2a9);}}),CodeceptRecorder[_0x459a71(0x264)](async()=>{const _0xfe3a13=_0x459a71;try{_0x3d62f7[_0xfe3a13(0x282)](isBrowserstackInfra)&&(_0x4f4cad?await _0x3d62f7[_0xfe3a13(0x237)](playwrightMarkSessionStatus,_0x1a7860,STATE_FAILED,_0xebfb12):await _0x3d62f7['zZjWF'](markSessionStatus,_0x1a7860,STATE_FAILED,_0xebfb12));}catch(_0x363cc2){logger[_0xfe3a13(0x279)](_0xfe3a13(0x227)+util[_0xfe3a13(0x222)](_0x363cc2)),PerformanceTester['end'](PerformanceEvents[_0xfe3a13(0x1cd)],![],_0x363cc2);}});}PerformanceTester[_0x459a71(0x2c9)](PerformanceEvents[_0x459a71(0x1cd)]);}catch(_0x597a09){PerformanceTester[_0x459a71(0x1e8)](_0x597a09);const _0x189cb8={};_0x189cb8[_0x459a71(0x2b3)]=_0x5829ec[_0x459a71(0x2cf)],PerformanceTester[_0x459a71(0x2c9)](PerformanceHookEvents[_0x459a71(0x25d)],![],_0x597a09,_0x189cb8),PerformanceTester[_0x459a71(0x2c9)](PerformanceEvents['SDK_TEST'],![],_0x597a09);}const _0xc4e6ed={};_0xc4e6ed[_0x459a71(0x2b3)]=_0x5829ec[_0x459a71(0x2cf)],PerformanceTester[_0x459a71(0x2c9)](PerformanceHookEvents[_0x459a71(0x25d)],!![],null,_0xc4e6ed);}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x23a)][_0x4a2e26(0x2a2)],_0x5e9d1d=>{const _0x49adc2=_0x4a2e26;PerformanceTester[_0x49adc2(0x258)](PerformanceHookEvents['SDK_HOOK']);try{const _0x147280=_0x5c5ba2[_0x49adc2(0x274)](TEST_EVENTS[_0x49adc2(0x2a0)],_0x5e9d1d);CodeceptRecorder[_0x49adc2(0x264)](()=>_0x5c5ba2['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x147280)),PerformanceTester[_0x49adc2(0x2c9)](PerformanceEvents['SDK_TEST']);}catch(_0x4952bc){PerformanceTester[_0x49adc2(0x1e8)](_0x4952bc),PerformanceTester[_0x49adc2(0x2c9)](PerformanceEvents[_0x49adc2(0x1cd)],![],_0x4952bc);const _0xb05c85={};_0xb05c85[_0x49adc2(0x2b3)]=_0x5829ec[_0x49adc2(0x1da)],PerformanceTester[_0x49adc2(0x2c9)](PerformanceHookEvents[_0x49adc2(0x25d)],![],_0x4952bc,_0xb05c85);}const _0x16c3fb={};_0x16c3fb['hookType']=_0x5829ec[_0x49adc2(0x1da)],PerformanceTester['end'](PerformanceHookEvents[_0x49adc2(0x25d)],!![],null,_0x16c3fb);}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x23a)][_0x4a2e26(0x2b0)],async(_0x3307df,_0x307dba)=>{const _0x2dbcfb=_0x4a2e26,_0x2d1902={};_0x2d1902[_0x2dbcfb(0x297)]=_0x5829ec[_0x2dbcfb(0x2b5)],_0x2d1902[_0x2dbcfb(0x225)]=_0x5829ec['ersLO'];const _0x38bf25=_0x2d1902;try{PerformanceTester[_0x2dbcfb(0x258)](PerformanceHookEvents[_0x2dbcfb(0x25d)]);const _0x5c16b2=_0x5829ec[_0x2dbcfb(0x29b)](shouldScanTestForAccessibility,_0x3307df[_0x2dbcfb(0x29d)](),!![]);if(_0x5829ec[_0x2dbcfb(0x23f)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x5c16b2){const _0x2bbacb={};_0x2bbacb[_0x2dbcfb(0x266)]=_0x3307df['testAnalyticsId'],_0x2bbacb['thBuildUuid']=process[_0x2dbcfb(0x261)][testHubConstants[_0x2dbcfb(0x231)][_0x2dbcfb(0x246)]],_0x2bbacb['thJwtToken']=process['env'][testHubConstants[_0x2dbcfb(0x231)][_0x2dbcfb(0x243)]];const _0x5798a7=_0x2bbacb;logger[_0x2dbcfb(0x279)](_0x2dbcfb(0x1f6)+JSON[_0x2dbcfb(0x211)](_0x5798a7)),CodeceptRecorder['add'](async()=>{const _0x502222=_0x2dbcfb,_0x5b44e3={};_0x5b44e3[_0x502222(0x2c8)]=_0x38bf25['hSyWY'],await PerformanceTester[_0x502222(0x1c0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xdeec31=_0x502222;await AccessibilityHelper[_0xdeec31(0x1cf)](_0x1a7860,scripts['performScan']);},_0x5b44e3)(),globals[_0x502222(0x253)](_0x38bf25[_0x502222(0x225)])&&(_0x5798a7[_0x502222(0x268)]=!![]),await PerformanceTester[_0x502222(0x1c0)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x52d00f=_0x502222;await AccessibilityHelper[_0x52d00f(0x1cf)](_0x1a7860,scripts[_0x52d00f(0x25c)],_0x5798a7);})();}),logger[_0x2dbcfb(0x1d0)](_0x5829ec['crUmm']);}const _0x2cd270={};_0x2cd270[_0x2dbcfb(0x2b3)]=_0x5829ec[_0x2dbcfb(0x2c7)],PerformanceTester[_0x2dbcfb(0x2c9)](PerformanceHookEvents[_0x2dbcfb(0x25d)],!![],null,_0x2cd270);}catch(_0xaddfaf){PerformanceTester['captureError'](_0xaddfaf);const _0x15e6ab={};_0x15e6ab[_0x2dbcfb(0x2b3)]=_0x5829ec[_0x2dbcfb(0x2c7)],PerformanceTester[_0x2dbcfb(0x2c9)](PerformanceHookEvents[_0x2dbcfb(0x25d)],![],_0xaddfaf,_0x15e6ab);}}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x269)]['comment'],_0x50344b=>{const _0x17c793=_0x4a2e26;PerformanceTester[_0x17c793(0x258)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x17c793(0x209)](_0x17c793(0x2ad)+process[_0x17c793(0x2ae)],{'timestamp':new Date()['toISOString'](),'level':_0x5829ec[_0x17c793(0x1dd)],'message':_0x50344b,'kind':_0x5829ec['QrXzH'],'http_response':{}});}catch(_0x463c13){PerformanceTester[_0x17c793(0x1e8)](_0x463c13);const _0x474b17={};_0x474b17['hookType']=_0x5829ec['Awejc'],PerformanceTester['end'](PerformanceHookEvents[_0x17c793(0x25d)],![],_0x463c13,_0x474b17);}const _0x5d7750={};_0x5d7750[_0x17c793(0x2b3)]=_0x5829ec[_0x17c793(0x270)],PerformanceTester[_0x17c793(0x2c9)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5d7750);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2d1)]['before'],_0x572c2e=>{const _0xb82357=_0x4a2e26,_0x58b6c8={};_0x58b6c8[_0xb82357(0x2b3)]=_0x5829ec['lJcYQ'],PerformanceTester[_0xb82357(0x1c0)](PerformanceHookEvents[_0xb82357(0x25d)],()=>{const _0x5a2e09=_0xb82357;_0x5c5ba2[_0x5a2e09(0x289)](_0x572c2e);},_0x58b6c8)();}),CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2bd)]['on'](CodeceptJS[_0x4a2e26(0x2b8)][_0x4a2e26(0x2d1)]['after'],_0x4ad0d5=>{const _0x2b946c=_0x4a2e26,_0x92c013={};_0x92c013[_0x2b946c(0x2b3)]=_0x5829ec[_0x2b946c(0x2d0)],PerformanceTester[_0x2b946c(0x1c0)](PerformanceHookEvents[_0x2b946c(0x25d)],()=>{_0x5c5ba2['bddStepFinish'](_0x4ad0d5);},_0x92c013)();});};
|
|
1
|
+
const a1_0x11dc99=a1_0x4cfd;(function(_0x2951f6,_0x1a48ed){const _0x4600e8=a1_0x4cfd,_0x18e0c4=_0x2951f6();while(!![]){try{const _0x7808e2=-parseInt(_0x4600e8(0x1d2))/0x1*(parseInt(_0x4600e8(0x267))/0x2)+-parseInt(_0x4600e8(0x21d))/0x3+-parseInt(_0x4600e8(0x1ca))/0x4+-parseInt(_0x4600e8(0x272))/0x5*(-parseInt(_0x4600e8(0x27f))/0x6)+parseInt(_0x4600e8(0x20b))/0x7*(-parseInt(_0x4600e8(0x252))/0x8)+-parseInt(_0x4600e8(0x270))/0x9*(parseInt(_0x4600e8(0x1ce))/0xa)+parseInt(_0x4600e8(0x27a))/0xb*(parseInt(_0x4600e8(0x1cd))/0xc);if(_0x7808e2===_0x1a48ed)break;else _0x18e0c4['push'](_0x18e0c4['shift']());}catch(_0x35b07c){_0x18e0c4['push'](_0x18e0c4['shift']());}}}(a1_0x43e8,0x9e625));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x11dc99(0x1ff)),logger=require(a1_0x11dc99(0x246))[a1_0x11dc99(0x2ad)],testOpsHelper=require(a1_0x11dc99(0x213)),requestSpy=require(a1_0x11dc99(0x241)),PlaywrightSessionDetails=require(a1_0x11dc99(0x273)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x11dc99(0x218)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x11dc99(0x29d)),AccessibilityHelper=require(a1_0x11dc99(0x1d9)),scripts=require(a1_0x11dc99(0x1f8)),PerformanceTester=require(a1_0x11dc99(0x285)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x11dc99(0x1c8)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x11dc99(0x25d)),testHubConstants=require(a1_0x11dc99(0x2ab)),globals=require(a1_0x11dc99(0x234)),CodeceptJS=requireModule(a1_0x11dc99(0x26d),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x11dc99(0x1e6)),CodeceptWebDriver=requireModule(a1_0x11dc99(0x230),a1_0x11dc99(0x1e6)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x11dc99(0x1e6)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x11dc99(0x1e6));try{require(a1_0x11dc99(0x1be))[a1_0x11dc99(0x1f7)]('codeceptjs');}catch(a1_0x34ac72){logger[a1_0x11dc99(0x1e0)]('driver-init\x20capture\x20install\x20failed:\x20'+(a1_0x34ac72&&a1_0x34ac72[a1_0x11dc99(0x254)]));}function a1_0x4cfd(_0x57f51f,_0x3c5065){const _0x43e8bd=a1_0x43e8();return a1_0x4cfd=function(_0x4cfd8c,_0x5ca402){_0x4cfd8c=_0x4cfd8c-0x199;let _0x38f468=_0x43e8bd[_0x4cfd8c];return _0x38f468;},a1_0x4cfd(_0x57f51f,_0x3c5065);}const playwrightMarkSessionStatus=(_0x12867c,_0x58c689,_0x4560cf)=>{const _0x3d87a1=a1_0x11dc99,_0x587aeb={'BYdXM':_0x3d87a1(0x1fe),'NKYYx':function(_0x455f5b,_0x67df99){return _0x455f5b(_0x67df99);}},_0x242cfa={};_0x242cfa[_0x3d87a1(0x21f)]=_0x58c689;const _0x423639={};_0x423639[_0x3d87a1(0x1e7)]=_0x587aeb[_0x3d87a1(0x291)],_0x423639['arguments']=_0x242cfa;const _0x3ee407=_0x423639;return!_0x587aeb[_0x3d87a1(0x283)](isUndefined,_0x4560cf)&&(_0x3ee407[_0x3d87a1(0x202)][_0x3d87a1(0x24a)]=JSON[_0x3d87a1(0x253)](_0x4560cf)),_0x12867c[_0x3d87a1(0x203)](()=>{},_0x3d87a1(0x2a6)+JSON[_0x3d87a1(0x253)](_0x3ee407));},o11ySync=PerformanceTester[a1_0x11dc99(0x28a)](PerformanceO11yEvents[a1_0x11dc99(0x2aa)],async _0x33fbef=>{const _0x12a9d1=a1_0x11dc99,_0x531e9c={};_0x531e9c[_0x12a9d1(0x19e)]=function(_0x5a09a9,_0xfd612a){return _0x5a09a9===_0xfd612a;},_0x531e9c[_0x12a9d1(0x290)]=_0x12a9d1(0x1c6);const _0x3a8d2c=_0x531e9c;_0x3a8d2c[_0x12a9d1(0x19e)](_0x33fbef['constructor']['name'],_0x3a8d2c[_0x12a9d1(0x290)])?await _0x33fbef[_0x12a9d1(0x203)](_0x2c1739=>{},testOpsHelper[_0x12a9d1(0x26e)]()):await _0x33fbef[_0x12a9d1(0x203)](testOpsHelper[_0x12a9d1(0x26e)]());}),markSessionName=PerformanceTester[a1_0x11dc99(0x28a)](PerformanceAutEvents[a1_0x11dc99(0x2a2)],async(_0x48d1ca,_0x4ffce9)=>{const _0x23a2f4=a1_0x11dc99,_0x364f35={};_0x364f35['rljRl']=_0x23a2f4(0x1a4),_0x364f35['HzIzW']=function(_0x3ae410,_0x26ddba){return _0x3ae410===_0x26ddba;},_0x364f35[_0x23a2f4(0x233)]='Playwright';const _0x45288c=_0x364f35,_0x4b8853={};_0x4b8853[_0x23a2f4(0x25c)]=_0x4ffce9;const _0x5a1ba8={};_0x5a1ba8['action']=_0x45288c['rljRl'],_0x5a1ba8[_0x23a2f4(0x202)]=_0x4b8853;const _0xa98ce6=_0x5a1ba8;_0x45288c[_0x23a2f4(0x23b)](_0x48d1ca[_0x23a2f4(0x247)][_0x23a2f4(0x25c)],_0x45288c[_0x23a2f4(0x233)])?await _0x48d1ca[_0x23a2f4(0x203)](()=>{},_0x23a2f4(0x2a6)+JSON[_0x23a2f4(0x253)](_0xa98ce6)):await _0x48d1ca[_0x23a2f4(0x203)](_0x23a2f4(0x2a6)+JSON[_0x23a2f4(0x253)](_0xa98ce6));}),patchSaveScreenshot=_0x54a775=>{const _0x25f64c=a1_0x11dc99,_0x120f6c={'Jxxth':'base64','aiqwU':'TEST_SCREENSHOT','easDh':function(_0x212ded){return _0x212ded();},'nDPZl':function(_0x2932f2,_0x440ab5){return _0x2932f2(_0x440ab5);},'BgoiR':'Screenshot\x20path\x20not\x20found','oKmyO':function(_0x34df60,_0x3f5e90){return _0x34df60(_0x3f5e90);}};_0x120f6c[_0x25f64c(0x207)](isTrue,process['env'][_0x25f64c(0x293)])&&!_0x54a775[_0x25f64c(0x275)]&&(_0x54a775['patchSaveScreenshot']=!![],_0x54a775['initSaveScreenshot']=_0x54a775['saveScreenshot'],_0x54a775[_0x25f64c(0x1ae)]=(_0x3711df,_0x3fd68d=![])=>{return new Promise(function(_0x4185d0,_0x523f2f){const _0x11ce2f=a1_0x4cfd,_0x41ba10={'nlGUa':_0x120f6c[_0x11ce2f(0x1db)],'AXcGc':_0x120f6c[_0x11ce2f(0x1a8)],'aMEEt':function(_0x2de59c){const _0x1826f4=_0x11ce2f;return _0x120f6c[_0x1826f4(0x280)](_0x2de59c);},'JXKaL':function(_0x1923e6,_0x406dc2){return _0x120f6c['nDPZl'](_0x1923e6,_0x406dc2);},'YHSgC':_0x120f6c[_0x11ce2f(0x1fa)]};_0x54a775[_0x11ce2f(0x1bb)](_0x3711df,_0x3fd68d)[_0x11ce2f(0x279)](()=>{const _0x44189f=_0x11ce2f,_0x1d9cd3=CodeceptUtils[_0x44189f(0x1b7)](_0x3711df);if(_0x1d9cd3){const _0x498a09=fs[_0x44189f(0x282)](_0x1d9cd3);process[_0x44189f(0x19d)](_0x44189f(0x1f4)+process[_0x44189f(0x1c2)],{'timestamp':new Date()[_0x44189f(0x1d0)](),'message':_0x498a09[_0x44189f(0x295)](_0x41ba10['nlGUa']),'kind':_0x41ba10[_0x44189f(0x1ad)]}),_0x41ba10[_0x44189f(0x274)](_0x4185d0);}_0x41ba10['JXKaL'](_0x523f2f,new Error(_0x41ba10[_0x44189f(0x26f)]));})[_0x11ce2f(0x26b)](()=>null);});});},patchWebDriverBefore=(_0x4a3405,_0x1ddf96)=>{const _0x13bfd5=a1_0x11dc99,_0x55fa59={'NugMU':function(_0x5b422f){return _0x5b422f();},'MMgKi':function(_0x4238a0,_0x50458d){return _0x4238a0(_0x50458d);},'BWtEi':function(_0x449879,_0x2262dc){return _0x449879===_0x2262dc;},'owQAw':_0x13bfd5(0x289),'dXgph':function(_0xf680a,_0x1585c6){return _0xf680a===_0x1585c6;},'Yzcqr':'string','aQbOh':_0x13bfd5(0x205),'NQuBo':_0x13bfd5(0x1e2)},_0x4b9797=async function(_0x3fb928,_0x3c646a){const _0xb8ced1=_0x13bfd5;_0x55fa59[_0xb8ced1(0x224)](isAccessibilityAutomationSession)&&!global[_0xb8ced1(0x212)]&&global['accessibilityPlatform']&&scripts[_0xb8ced1(0x20f)](_0x3fb928[_0xb8ced1(0x25c)])&&_0x55fa59[_0xb8ced1(0x26c)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xb8ced1(0x212)]=!![],await PerformanceTester[_0xb8ced1(0x28a)](PerformanceA11yEvents[_0xb8ced1(0x255)],async()=>{const _0x390092=_0xb8ced1;logger['debug'](_0x390092(0x1a7)+_0x3fb928[_0x390092(0x1d4)]+'\x20'+_0x3fb928[_0x390092(0x25c)]),await AccessibilityHelper[_0x390092(0x269)](_0x4a3405,scripts['performScan']);},{'command':_0x3fb928['name']})());global[_0xb8ced1(0x212)]=![];const _0x2d1869=JSON[_0xb8ced1(0x251)](process[_0xb8ced1(0x292)][_0xb8ced1(0x22a)]||'{}');if(_0x55fa59['BWtEi'](_0x2d1869?.['testFramework']?.[_0xb8ced1(0x25c)],_0x55fa59[_0xb8ced1(0x19f)])&&_0x55fa59[_0xb8ced1(0x1cc)](typeof _0x2d1869?.[_0xb8ced1(0x297)]?.[_0xb8ced1(0x232)],_0x55fa59['Yzcqr'])&&_0x2d1869?.[_0xb8ced1(0x297)]?.[_0xb8ced1(0x232)]['startsWith']('7'))return _0x3c646a[_0xb8ced1(0x29a)](null,Array[_0xb8ced1(0x1df)][_0xb8ced1(0x1da)]['call'](arguments,0x2));return _0x3c646a[_0xb8ced1(0x29a)](this,Array['prototype'][_0xb8ced1(0x1da)][_0xb8ced1(0x28e)](arguments,0x2));},_0xdba36=CodeceptWebDriver[_0x13bfd5(0x1df)]['_before'];CodeceptWebDriver[_0x13bfd5(0x1df)][_0x13bfd5(0x243)]=async function(){const _0x2ae8ca=_0x13bfd5;try{await _0xdba36[_0x2ae8ca(0x29a)](this,arguments);}catch(_0x4871d9){logger[_0x2ae8ca(0x1e0)](_0x2ae8ca(0x1fb)+util[_0x2ae8ca(0x2a7)](_0x4871d9));}scripts[_0x2ae8ca(0x24c)][_0x2ae8ca(0x209)](_0x346461=>_0x346461[_0x2ae8ca(0x25c)]&&_0x346461[_0x2ae8ca(0x1d4)])['forEach'](_0x32524f=>{const _0x19724a=_0x2ae8ca;this['browser'][_0x19724a(0x21a)](_0x32524f['name'],_0x4b9797[_0x19724a(0x2ac)](this,_0x32524f),_0x55fa59['BWtEi'](_0x32524f[_0x19724a(0x1d4)],_0x55fa59[_0x19724a(0x259)]));}),_0x55fa59[_0x2ae8ca(0x26c)](processWebDriverConfig,_0x4a3405);try{_0x1ddf96&&_0x55fa59['BWtEi'](typeof _0x1ddf96[_0x2ae8ca(0x1a5)],_0x55fa59[_0x2ae8ca(0x23c)])&&await _0x1ddf96[_0x2ae8ca(0x1a5)]();}catch(_0x384677){logger[_0x2ae8ca(0x1e0)](_0x2ae8ca(0x228)+util[_0x2ae8ca(0x2a7)](_0x384677));}};};function a1_0x43e8(){const _0x1b0a3e=['kTLPZ','bddStep','test','SESSION_NAME','passed','event','includes','browserstack_executor:\x20','format','OGeYc','getAccessibilityResultsSummary','SYNC','../../helpers/testhub/constants.js','bind','winstonLogger','CUnLy','test-before','PIxLZ','hook-passed','page','startMonitoring','emit','XQJvn','owQAw','oYEAe','container','startsWith','split','setSessionName','flushPendingHookEvents','SDK_TEST','Performing\x20scan\x20for\x20','aiqwU','dispatcher','SDK_HOOK','patch','titlePath','AXcGc','saveScreenshot','iFgIW','add','url','restore','setGlobal','\x0aStack:\x20','step','haCBf','screenshotOutputFolder','SDK_PRE_INITIALIZE','hook','bufferPendingHookEvent','initSaveScreenshot','testAnalyticsId','Suite','../../helpers/driverInitErrorReporter','DdFGy','hqkYV','browserstackTestName','pid','step-comment','hasLiveDriverSession','test-failed','Playwright','from','../../helpers/performance/constants','test-passed','3888248YGzFcr','captureError','dXgph','5581668qtiwXc','50mamWzC','SAVE_RESULTS','toISOString','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','4868zDrTJO','wXMYc','class','failed','uWRNk','stop','lvSHT','../../bin/playwright/accessibility-helper','slice','Jxxth','test-started','SDK_POST_INITIALIZE','cUTLH','prototype','debug','RKpZF','function','stack','push','WSywW','codeceptjs','action','ohCMC','HOOK_RUN_STARTED','end','TEST_RUN_FINISHED','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','__driver','warn','KpBGj','--auto-open-devtools-for-tabs','FJxwi','__workerDetails','after','bs:addLog:','browserContext','EIdaH','installAll','../../helpers/accessibility-automation/scripts','ctx','BgoiR','Failed\x20to\x20execute\x20_before:\x20','BKtek','INFO','setSessionStatus','../../helpers/helper','cqFAl','exports','arguments','executeScript','ENV_VAR','Element','SDK_POST_TEST','oKmyO','dIyqJ','filter','browser','230664VThmML','BROWSERSTACK_TESTHUB_JWT','HOOK_RUN_FINISHED','fjQdi','shouldWrapCommand','getAccessibilityResults','WebDriver','bstackAllyScanning','../../helpers/test-observability/utils','title','comment','skipped','enabled','./o11yHelper','getResultsSummary','overwriteCommand','ewbrL','nQLYe','319776NbuGLw','base64','status','bddStepFinish','dFbPP','captureEvent','start','NugMU','chromium','accessibilityPlatform','qEhAu','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','domForge','FRAMEWORK_DETAILS','isMobilePlatform','isArray','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','before','TEST_RUN_SKIPPED','codeceptjs/lib/helper/WebDriver.js','hookType','version','sXAHz','../../helpers/globals.js','qaLVg','contexts','thJwtToken','QrKxh','SDK_PRE_TEST','started','HzIzW','NQuBo','devtools://','JWdfg','config','OgRLY','../../helpers/request-spy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','_before','BS_A11Y_JWT','a11y_core_config','../../helpers/logger','constructor','performScan','JeKwi','reason','ZqoVX','commandsToWrap','command','atfgU','WtkAC','TEST_RUN_STARTED','parse','72NIBDqx','stringify','message','PERFORM_SCAN','getGlobal','ZWUwy','hook-started','aQbOh','TestCafe','UZgRz','name','./helper.js','BROWSERSTACK_TESTHUB_UUID','xCMct','all','currentTest','qVBPA','saveTestResults','EauZA','yzkeF','IlIfi','76pDkeuV','info','browserStackExecuteDriver','oZucT','catch','MMgKi','codeceptjs/lib/index.js','getSyncScript','YHSgC','2233971QVxSsp','GBKBz','803105tpLcbl','../../bin/playwright/sessionDetails','aMEEt','patchSaveScreenshot','fireEvent','is_mobile_session','CCMjS','then','55sJrkYz','helpers','OwokU','NDQdD','bddStepStart','42QTgrKQ','easDh','thBuildUuid','readFileSync','NKYYx','args','../../helpers/performance/performance-tester','afterTest','thTestRunUuid','hook-failed','webdriverio','measureWrapper','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','XRHJu','cEPfZ','call','bCkkK','jhxFz','BYdXM','env','BS_TESTOPS_ALLOW_SCREENSHOTS','pages','toString','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','testFramework','find','skipSessionStatus','apply','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','AtujF','../../helpers/accessibility-automation/helper','rhwmP'];a1_0x43e8=function(){return _0x1b0a3e;};return a1_0x43e8();}function parseJwt(_0x38aada){const _0xc232a7=a1_0x11dc99,_0x214d72={};_0x214d72['CUnLy']=_0xc232a7(0x21e);const _0x29b5fa=_0x214d72;if(!_0x38aada)return null;return JSON['parse'](Buffer[_0xc232a7(0x1c7)](_0x38aada[_0xc232a7(0x1a3)]('.')[0x1],_0x29b5fa[_0xc232a7(0x2ae)])[_0xc232a7(0x295)]());}const patchPlaywrightBefore=_0x5163fd=>{const _0x3e536c=a1_0x11dc99,_0x176df7={'hqkYV':function(_0xa6d8ee){return _0xa6d8ee();},'haCBf':_0x3e536c(0x23d),'WtkAC':_0x3e536c(0x1f0),'sTGtr':function(_0x4c3194,_0x748339){return _0x4c3194(_0x748339);},'JeKwi':function(_0x49e7b5,_0x5cc8bd){return _0x49e7b5+_0x5cc8bd;},'nQLYe':_0x3e536c(0x1b4),'ohCMC':function(_0x270bdc){return _0x270bdc();},'AtujF':function(_0x5c23c9){return _0x5c23c9();},'dFbPP':function(_0x21aac9,_0x1daf54){return _0x21aac9===_0x1daf54;},'QsDeX':_0x3e536c(0x1e2)};PlaywrightSessionDetails[_0x3e536c(0x1ab)]();const _0x7662f5=CodeceptPlaywright[_0x3e536c(0x1df)][_0x3e536c(0x243)];CodeceptPlaywright['prototype'][_0x3e536c(0x243)]=async function(){const _0x1b5877=_0x3e536c,_0x59fc39={'OicUi':function(_0x237ddf){const _0x15deae=a1_0x4cfd;return _0x176df7[_0x15deae(0x1c0)](_0x237ddf);},'FJxwi':_0x176df7[_0x1b5877(0x1b6)],'aLYRL':_0x176df7[_0x1b5877(0x24f)],'qEhAu':function(_0x1984c9){const _0x1945e9=_0x1b5877;return _0x176df7[_0x1945e9(0x1c0)](_0x1984c9);},'cqFAl':function(_0x141ab5,_0x2da653){return _0x176df7['sTGtr'](_0x141ab5,_0x2da653);},'RKpZF':function(_0x2842ff,_0x3fa7dc){const _0x13e2f7=_0x1b5877;return _0x176df7[_0x13e2f7(0x249)](_0x2842ff,_0x3fa7dc);},'NIitc':_0x176df7[_0x1b5877(0x21c)]};this[_0x1b5877(0x1f5)]=await this[_0x1b5877(0x20a)][_0x1b5877(0x236)]()[0x0];const _0x48c2fe=async()=>{const _0x1682bd=_0x1b5877,_0x117185=this[_0x1682bd(0x23f)]&&this[_0x1682bd(0x23f)][_0x1682bd(0x225)]&&this[_0x1682bd(0x23f)][_0x1682bd(0x225)][_0x1682bd(0x284)]&&Array[_0x1682bd(0x22c)](this[_0x1682bd(0x23f)][_0x1682bd(0x225)][_0x1682bd(0x284)])&&this['config'][_0x1682bd(0x225)][_0x1682bd(0x284)][_0x1682bd(0x2a5)](_0x59fc39['aLYRL']);if(_0x59fc39[_0x1682bd(0x227)](isAccessibilityAutomationSession)&&!_0x117185)try{const _0x36b347=_0x59fc39[_0x1682bd(0x200)](parseJwt,process[_0x1682bd(0x292)][_0x1682bd(0x244)]);if(_0x36b347&&_0x36b347['a11y_core_config']&&_0x36b347[_0x1682bd(0x245)][_0x1682bd(0x229)]){const _0x341cc6=this[_0x1682bd(0x1f5)][_0x1682bd(0x294)][_0x1682bd(0x2ac)](this[_0x1682bd(0x1f5)]);this[_0x1682bd(0x1f5)][_0x1682bd(0x294)]=async function(){const _0x1840dd=_0x1682bd,_0x256d34=await _0x59fc39['OicUi'](_0x341cc6),_0x41e744=[];for(const _0x5a5533 of _0x256d34){try{const _0x378c1d=await _0x5a5533['url']();!_0x378c1d['startsWith'](_0x59fc39[_0x1840dd(0x1f1)])&&_0x41e744[_0x1840dd(0x1e4)](_0x5a5533);}catch(_0x568942){_0x41e744['push'](_0x5a5533);}}return _0x41e744;};}if(!_0x59fc39[_0x1682bd(0x227)](isBrowserstackInfra)){const _0x1ce0c8=await this[_0x1682bd(0x19b)][_0x1682bd(0x1b1)]();if(_0x1ce0c8[_0x1682bd(0x1a2)](_0x59fc39[_0x1682bd(0x1f1)])){const _0x3b6afa=await this[_0x1682bd(0x1f5)][_0x1682bd(0x294)]();this['_setPage'](_0x3b6afa[0x0]);}}}catch(_0x3cb569){logger[_0x1682bd(0x1e0)](_0x1682bd(0x28b)+_0x3cb569[_0x1682bd(0x254)]+(_0x3cb569[_0x1682bd(0x1e3)]?_0x59fc39[_0x1682bd(0x1e1)](_0x59fc39['NIitc'],_0x3cb569['stack']):''));}};_0x176df7[_0x1b5877(0x1e8)](isBrowserstackInfra)&&await _0x176df7[_0x1b5877(0x29c)](_0x48c2fe);await _0x7662f5['apply'](this,arguments);!_0x176df7['ohCMC'](isBrowserstackInfra)&&await _0x176df7[_0x1b5877(0x1c0)](_0x48c2fe);try{_0x5163fd&&_0x176df7[_0x1b5877(0x221)](typeof _0x5163fd['flushPendingHookEvents'],_0x176df7['QsDeX'])&&await _0x5163fd[_0x1b5877(0x1a5)]();}catch(_0x1d1652){logger['debug'](_0x1b5877(0x1ec)+util[_0x1b5877(0x2a7)](_0x1d1652));}};},getCodeceptDriver=()=>{const _0x646775=a1_0x11dc99,_0x27396a={};_0x27396a['WSywW']=_0x646775(0x211),_0x27396a['IlIfi']='Playwright',_0x27396a['qVBPA']='Puppeteer',_0x27396a[_0x646775(0x25f)]=_0x646775(0x25a);const _0x48d013=_0x27396a,_0x1940ef=[_0x48d013[_0x646775(0x1e5)],_0x48d013[_0x646775(0x266)],_0x48d013[_0x646775(0x262)],_0x48d013[_0x646775(0x25f)]],_0x3a6ed6=_0x1940ef[_0x646775(0x298)](_0x33e9cd=>!!CodeceptJS[_0x646775(0x1a1)]['helpers'](_0x33e9cd));if(!_0x3a6ed6)return null;return CodeceptJS['container'][_0x646775(0x27b)](_0x3a6ed6);};module[a1_0x11dc99(0x201)]=function(_0x94726c){const _0x379033=a1_0x11dc99,_0x367eb9={'etNzG':function(_0x85a67e,_0x2fcccf){return _0x85a67e(_0x2fcccf);},'wXMYc':function(_0x5b99b9,_0x15419d,_0x8bf87d){return _0x5b99b9(_0x15419d,_0x8bf87d);},'cEPfZ':_0x379033(0x2a9),'OGeYc':_0x379033(0x296),'UZgRz':_0x379033(0x210),'KpBGj':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','fNxMP':function(_0x5bca8f,_0x448250){return _0x5bca8f(_0x448250);},'ZWUwy':_0x379033(0x258),'JWdfg':_0x379033(0x19a),'oYEAe':_0x379033(0x288),'kTLPZ':_0x379033(0x1c1),'EIdaH':function(_0x46fba5){return _0x46fba5();},'fjQdi':_0x379033(0x2af),'oZucT':function(_0x2d3db1,_0xfd3cb2){return _0x2d3db1(_0xfd3cb2);},'dIyqJ':function(_0x281d5d,_0x1c166d,_0x4beb35){return _0x281d5d(_0x1c166d,_0x4beb35);},'OwokU':_0x379033(0x1dc),'rhwmP':_0x379033(0x1c9),'QrKxh':function(_0x39593a){return _0x39593a();},'OfpuX':function(_0x378d06,_0x369ab2,_0x18913f,_0x316258){return _0x378d06(_0x369ab2,_0x18913f,_0x316258);},'lvSHT':function(_0x1d6904,_0x4e6bbd){return _0x1d6904===_0x4e6bbd;},'atfgU':_0x379033(0x1bd),'GBKBz':_0x379033(0x1c5),'BKtek':'test-skipped','yzkeF':_0x379033(0x286),'xlTzN':_0x379033(0x22b),'XRHJu':function(_0x3a5b91){return _0x3a5b91();},'BlGIz':_0x379033(0x242),'iFgIW':'test-after','CCMjS':_0x379033(0x1fd),'MRFrA':'TEST_LOG','EauZA':_0x379033(0x1c3),'GCSrl':'bddStep-before','ZqoVX':'bddStep-after','bCkkK':_0x379033(0x1c6)};_0x94726c['skipSessionStatus']&&(global['__skipSessionStatus']=_0x94726c[_0x379033(0x299)]);PerformanceTester[_0x379033(0x19c)]();const _0x190545=_0x367eb9[_0x379033(0x1f6)](getCodeceptDriver),_0x2309c3=new O11yHelper(_0x190545,_0x94726c),_0x19dc21=!!CodeceptJS['container'][_0x379033(0x27b)](_0x367eb9[_0x379033(0x28f)]);global[_0x379033(0x1ed)]=_0x190545;_0x190545&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x379033(0x1b8)],()=>{const _0x2f3d24=_0x379033;_0x19dc21?_0x367eb9['etNzG'](patchPlaywrightBefore,_0x2309c3):_0x367eb9[_0x2f3d24(0x1d3)](patchWebDriverBefore,_0x190545,_0x2309c3);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x379033(0x1dd)],()=>{const _0x3f9674=_0x379033,_0x4f8187={};_0x4f8187[_0x3f9674(0x21b)]=_0x367eb9[_0x3f9674(0x25b)],_0x4f8187['NDQdD']=_0x367eb9[_0x3f9674(0x1ef)];const _0x542679=_0x4f8187;_0x190545[_0x3f9674(0x2a9)]=async()=>{const _0x293ad0=_0x3f9674;if(global['accessibilityPlatform']){const _0x557591={};return _0x557591[_0x293ad0(0x24d)]=_0x367eb9[_0x293ad0(0x28d)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x293ad0(0x255)],async()=>{const _0x2e5772=_0x293ad0;return await AccessibilityHelper[_0x2e5772(0x269)](_0x190545,scripts['performScan']);},_0x557591)(),await PerformanceTester[_0x293ad0(0x28a)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x426f7b=_0x293ad0;return await AccessibilityHelper['browserStackExecuteDriver'](_0x190545,scripts[_0x426f7b(0x219)]);})();}return logger[_0x293ad0(0x1ee)](_0x367eb9[_0x293ad0(0x2a8)]),{};},_0x190545[_0x3f9674(0x210)]=async()=>{const _0x2cf005=_0x3f9674;if(global['accessibilityPlatform']){const _0x146b50={};return _0x146b50[_0x2cf005(0x24d)]=_0x542679['ewbrL'],await PerformanceTester[_0x2cf005(0x28a)](PerformanceA11yEvents[_0x2cf005(0x255)],async()=>{const _0x4c3dcc=_0x2cf005;return await AccessibilityHelper[_0x4c3dcc(0x269)](_0x190545,scripts[_0x4c3dcc(0x248)]);},_0x146b50)(),await PerformanceTester[_0x2cf005(0x28a)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x519baf=_0x2cf005;return await AccessibilityHelper[_0x519baf(0x269)](_0x190545,scripts['getResults']);})();}return logger[_0x2cf005(0x1ee)](_0x542679[_0x2cf005(0x27d)]),{};},_0x367eb9['fNxMP'](patchSaveScreenshot,_0x190545);})());CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS['event'][_0x379033(0x260)][_0x379033(0x22e)],()=>{const _0x2d478d=_0x379033;PerformanceTester[_0x2d478d(0x223)](PerformanceEvents['SDK_PRE_TEST']);try{_0x2309c3[_0x2d478d(0x223)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x2d478d(0x1ea)](PerformanceEvents[_0x2d478d(0x239)]);}catch(_0x2cb91a){PerformanceTester[_0x2d478d(0x1cb)](_0x2cb91a),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x2cb91a);}}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x260)]['after'],async()=>{const _0x1002d4=_0x379033;PerformanceTester[_0x1002d4(0x223)](PerformanceEvents[_0x1002d4(0x206)]);try{requestSpy[_0x1002d4(0x1b2)](),await _0x2309c3[_0x1002d4(0x1d7)](),PerformanceTester[_0x1002d4(0x1ea)](PerformanceEvents[_0x1002d4(0x206)]);}catch(_0x3fad33){PerformanceTester['captureError'](_0x3fad33),PerformanceTester[_0x1002d4(0x1ea)](PerformanceEvents[_0x1002d4(0x206)],![],_0x3fad33);}finally{PerformanceTester['stopMonitoring']();}});const _0x460a2a=(_0x60850f,_0x5bc01a)=>{const _0xb47507=_0x379033;if(!_0x2309c3)return;if(!_0x2309c3[_0xb47507(0x1c4)]()){_0x2309c3[_0xb47507(0x1ba)](_0x60850f,_0x5bc01a);return;}CodeceptRecorder['add'](()=>_0x2309c3[_0xb47507(0x276)](_0x60850f,_0x5bc01a));};CodeceptJS['event'][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1b9)][_0x379033(0x23a)],_0x59f3aa=>{const _0x28ffe4=_0x379033;PerformanceTester[_0x28ffe4(0x223)](PerformanceEvents[_0x28ffe4(0x1aa)]);try{const _0x922de2=_0x59f3aa[_0x28ffe4(0x1f9)][_0x28ffe4(0x2a1)],_0x1db568=_0x2309c3[_0x28ffe4(0x222)](TEST_EVENTS[_0x28ffe4(0x1e9)],_0x922de2);_0x367eb9[_0x28ffe4(0x1d3)](_0x460a2a,TEST_EVENTS['HOOK_RUN_STARTED'],_0x1db568);const _0x1f6fea={};_0x1f6fea[_0x28ffe4(0x231)]=_0x367eb9[_0x28ffe4(0x257)],PerformanceTester['end'](PerformanceEvents[_0x28ffe4(0x1aa)],!![],null,_0x1f6fea);}catch(_0x10a5fd){const _0x2dee6b={};_0x2dee6b[_0x28ffe4(0x231)]=_0x367eb9[_0x28ffe4(0x257)],PerformanceTester[_0x28ffe4(0x1ea)](PerformanceEvents[_0x28ffe4(0x1aa)],![],_0x10a5fd,_0x2dee6b),PerformanceTester[_0x28ffe4(0x1cb)](_0x10a5fd);}}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1b9)]['passed'],_0x515ddb=>{const _0x17fc27=_0x379033,_0x4555a1={};_0x4555a1[_0x17fc27(0x231)]=_0x367eb9[_0x17fc27(0x23e)],PerformanceTester['start'](PerformanceHookEvents[_0x17fc27(0x1aa)],!![],null,_0x4555a1);try{const _0x5760d0=_0x515ddb[_0x17fc27(0x1f9)][_0x17fc27(0x2a1)],_0x1b1840=_0x2309c3[_0x17fc27(0x222)](TEST_EVENTS[_0x17fc27(0x20d)],_0x5760d0);_0x367eb9[_0x17fc27(0x1d3)](_0x460a2a,TEST_EVENTS[_0x17fc27(0x20d)],_0x1b1840);const _0x5f5669={};_0x5f5669['hookType']=_0x367eb9[_0x17fc27(0x23e)],PerformanceTester[_0x17fc27(0x1ea)](PerformanceHookEvents[_0x17fc27(0x1aa)],!![],null,_0x5f5669);}catch(_0x1c158c){PerformanceTester[_0x17fc27(0x1cb)](_0x1c158c);const _0x329464={};_0x329464[_0x17fc27(0x231)]=_0x367eb9['JWdfg'],PerformanceTester[_0x17fc27(0x1ea)](PerformanceHookEvents['SDK_HOOK'],![],_0x1c158c,_0x329464);}}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS['event']['hook'][_0x379033(0x1d5)],async(_0x53ae02,_0x2f6f8b)=>{const _0x57145d=_0x379033;PerformanceTester['start'](PerformanceHookEvents[_0x57145d(0x1aa)]);try{const _0x2e01cd=_0x53ae02[_0x57145d(0x1f9)][_0x57145d(0x2a1)],_0x562753=_0x2309c3[_0x57145d(0x222)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2e01cd,_0x2f6f8b);_0x367eb9[_0x57145d(0x1d3)](_0x460a2a,TEST_EVENTS[_0x57145d(0x20d)],_0x562753);const _0x3079e1={};_0x3079e1['hookType']=_0x367eb9[_0x57145d(0x1a0)],PerformanceTester[_0x57145d(0x223)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3079e1);}catch(_0x3b7e4a){PerformanceTester[_0x57145d(0x1cb)](_0x3b7e4a);const _0xf2d19c={};_0xf2d19c[_0x57145d(0x231)]=_0x367eb9[_0x57145d(0x1a0)],PerformanceTester[_0x57145d(0x1ea)](PerformanceHookEvents[_0x57145d(0x1aa)],![],_0x3b7e4a,_0xf2d19c);}const _0x1fe7d5={};_0x1fe7d5[_0x57145d(0x231)]=_0x367eb9[_0x57145d(0x1a0)],PerformanceTester[_0x57145d(0x1ea)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1fe7d5);}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a1)][_0x379033(0x22e)],_0x1df137=>{const _0x1bf7d1=_0x379033;PerformanceTester['start'](PerformanceHookEvents[_0x1bf7d1(0x1aa)]);try{globals[_0x1bf7d1(0x1b3)](_0x367eb9[_0x1bf7d1(0x29f)],_0x1df137[_0x1bf7d1(0x214)]);_0x367eb9[_0x1bf7d1(0x1f6)](isBrowserstackInfra)&&(_0x19dc21&&(global[_0x1bf7d1(0x1f2)]={'currentTest':{'name':_0x1df137['title'],'testInfo':{'titlePath':_0x1df137['titlePath']()}}}));const _0x13743b={};_0x13743b[_0x1bf7d1(0x231)]=_0x367eb9[_0x1bf7d1(0x20e)],PerformanceTester[_0x1bf7d1(0x1ea)](PerformanceHookEvents[_0x1bf7d1(0x1aa)],!![],null,_0x13743b);}catch(_0x4a91df){PerformanceTester[_0x1bf7d1(0x1cb)](_0x4a91df);const _0x3d8ec7={};_0x3d8ec7[_0x1bf7d1(0x231)]=_0x367eb9['fjQdi'],PerformanceTester[_0x1bf7d1(0x1ea)](PerformanceHookEvents[_0x1bf7d1(0x1aa)],![],_0x4a91df,_0x3d8ec7);}}),CodeceptJS['event'][_0x379033(0x1a9)]['on'](CodeceptJS['event'][_0x379033(0x2a1)][_0x379033(0x23a)],_0x452a1a=>{const _0x378da7=_0x379033,_0x41b6dc={'OgRLY':function(_0x3c948b){return _0x367eb9['EIdaH'](_0x3c948b);},'qaLVg':function(_0x1bb530,_0x511837){const _0x2cbb1c=a1_0x4cfd;return _0x367eb9[_0x2cbb1c(0x26a)](_0x1bb530,_0x511837);},'PIxLZ':function(_0x20670e,_0x17e6ae,_0x3d6f0c){return _0x367eb9['dIyqJ'](_0x20670e,_0x17e6ae,_0x3d6f0c);}};PerformanceTester[_0x378da7(0x223)](PerformanceHookEvents[_0x378da7(0x1aa)]);try{globals['setGlobal'](_0x367eb9['kTLPZ'],_0x452a1a[_0x378da7(0x214)]);const _0x2bdb7b=_0x2309c3[_0x378da7(0x222)](TEST_EVENTS[_0x378da7(0x250)],_0x452a1a);CodeceptRecorder['add'](()=>_0x2309c3[_0x378da7(0x1a5)]()),CodeceptRecorder[_0x378da7(0x1b0)](()=>_0x2309c3[_0x378da7(0x276)](TEST_EVENTS[_0x378da7(0x250)],_0x2bdb7b)),CodeceptRecorder[_0x378da7(0x1b0)](async()=>{const _0x1de310=_0x378da7;_0x41b6dc[_0x1de310(0x240)](isBrowserstackInfra)&&(!_0x41b6dc[_0x1de310(0x235)](isTrue,_0x94726c['skipSessionName'])&&await _0x41b6dc[_0x1de310(0x199)](markSessionName,_0x190545,_0x452a1a['title']),_0x2309c3[_0x1de310(0x217)]&&await _0x41b6dc[_0x1de310(0x235)](o11ySync,_0x190545));});}catch(_0x4eee22){const _0xe1b5fa={};_0xe1b5fa[_0x378da7(0x231)]=_0x367eb9[_0x378da7(0x27c)],PerformanceTester[_0x378da7(0x1ea)](PerformanceHookEvents[_0x378da7(0x1aa)],![],_0x4eee22,_0xe1b5fa),PerformanceTester['captureError'](_0x4eee22);}const _0x4c5ea1={};_0x4c5ea1[_0x378da7(0x231)]=_0x367eb9[_0x378da7(0x27c)],PerformanceTester['end'](PerformanceHookEvents[_0x378da7(0x1aa)],!![],null,_0x4c5ea1);}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)]['test'][_0x379033(0x2a3)],_0xb20f6d=>{const _0x35ff7c=_0x379033,_0x1919f5={'DdFGy':function(_0x3394a6,_0xf8497d,_0x302976){const _0x42ed56=a1_0x4cfd;return _0x367eb9[_0x42ed56(0x208)](_0x3394a6,_0xf8497d,_0x302976);}};PerformanceTester[_0x35ff7c(0x223)](PerformanceHookEvents[_0x35ff7c(0x1aa)]);try{const _0x4a614e=_0x2309c3[_0x35ff7c(0x222)](TEST_EVENTS[_0x35ff7c(0x1eb)],_0xb20f6d);CodeceptRecorder[_0x35ff7c(0x1b0)](()=>_0x2309c3[_0x35ff7c(0x276)](TEST_EVENTS[_0x35ff7c(0x1eb)],_0x4a614e)),CodeceptRecorder['add'](async()=>{const _0x5d7824=_0x35ff7c;_0x367eb9['EIdaH'](isBrowserstackInfra)&&await PerformanceTester[_0x5d7824(0x28a)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x52d1b4=_0x5d7824;_0x19dc21?await _0x1919f5[_0x52d1b4(0x1bf)](playwrightMarkSessionStatus,_0x190545,STATE_PASSED):await _0x1919f5['DdFGy'](markSessionStatus,_0x190545,STATE_PASSED);})();}),PerformanceTester[_0x35ff7c(0x1ea)](PerformanceEvents[_0x35ff7c(0x1a6)]);}catch(_0x51d012){PerformanceTester[_0x35ff7c(0x1cb)](_0x51d012);const _0x54c50f={};_0x54c50f['hookType']=_0x367eb9[_0x35ff7c(0x29e)],PerformanceTester[_0x35ff7c(0x1ea)](PerformanceHookEvents['SDK_HOOK'],![],_0x51d012,_0x54c50f),PerformanceTester[_0x35ff7c(0x1ea)](PerformanceEvents[_0x35ff7c(0x1a6)],![],_0x51d012);}const _0x58ea18={};_0x58ea18[_0x35ff7c(0x231)]=_0x367eb9['rhwmP'],PerformanceTester[_0x35ff7c(0x1ea)](PerformanceHookEvents[_0x35ff7c(0x1aa)],!![],null,_0x58ea18);}),CodeceptJS['event'][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a1)]['failed'],(_0x24f51f,_0xda868f)=>{const _0x3fd694=_0x379033,_0x220358={'cUTLH':function(_0x2fdebe){const _0x47bf6c=a1_0x4cfd;return _0x367eb9[_0x47bf6c(0x238)](_0x2fdebe);},'uWRNk':function(_0x591310,_0x483307,_0x56a2eb,_0xa01992){return _0x367eb9['OfpuX'](_0x591310,_0x483307,_0x56a2eb,_0xa01992);}};PerformanceTester[_0x3fd694(0x223)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x367eb9[_0x3fd694(0x1d8)](_0x24f51f[_0x3fd694(0x247)][_0x3fd694(0x25c)],_0x367eb9[_0x3fd694(0x24e)])){const _0x34a6fe=_0x2309c3[_0x3fd694(0x222)](TEST_EVENTS[_0x3fd694(0x22f)],_0x24f51f['ctx'][_0x3fd694(0x261)]);CodeceptRecorder[_0x3fd694(0x1b0)](()=>_0x2309c3[_0x3fd694(0x276)](TEST_EVENTS[_0x3fd694(0x22f)],_0x34a6fe));}else{const _0x36f513=_0x2309c3['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x24f51f,_0xda868f);CodeceptRecorder[_0x3fd694(0x1b0)](()=>{const _0x267f50=_0x3fd694;try{_0x2309c3[_0x267f50(0x276)](TEST_EVENTS[_0x267f50(0x1eb)],_0x36f513);}catch(_0x449e5d){logger['debug'](_0x267f50(0x1d1)+util['format'](_0x449e5d)),PerformanceTester[_0x267f50(0x1ea)](PerformanceEvents['SDK_TEST'],![],_0x449e5d);}}),CodeceptRecorder['add'](async()=>{const _0x5213bc=_0x3fd694;try{_0x220358[_0x5213bc(0x1de)](isBrowserstackInfra)&&(_0x19dc21?await _0x220358['uWRNk'](playwrightMarkSessionStatus,_0x190545,STATE_FAILED,_0xda868f):await _0x220358[_0x5213bc(0x1d6)](markSessionStatus,_0x190545,STATE_FAILED,_0xda868f));}catch(_0x3f8816){logger[_0x5213bc(0x1e0)](_0x5213bc(0x22d)+util['format'](_0x3f8816)),PerformanceTester[_0x5213bc(0x1ea)](PerformanceEvents[_0x5213bc(0x1a6)],![],_0x3f8816);}});}PerformanceTester[_0x3fd694(0x1ea)](PerformanceEvents[_0x3fd694(0x1a6)]);}catch(_0x267a6){PerformanceTester['captureError'](_0x267a6);const _0x5e8207={};_0x5e8207[_0x3fd694(0x231)]=_0x367eb9['GBKBz'],PerformanceTester[_0x3fd694(0x1ea)](PerformanceHookEvents['SDK_HOOK'],![],_0x267a6,_0x5e8207),PerformanceTester[_0x3fd694(0x1ea)](PerformanceEvents['SDK_TEST'],![],_0x267a6);}const _0x797b2={};_0x797b2[_0x3fd694(0x231)]=_0x367eb9[_0x3fd694(0x271)],PerformanceTester[_0x3fd694(0x1ea)](PerformanceHookEvents[_0x3fd694(0x1aa)],!![],null,_0x797b2);}),CodeceptJS['event'][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a1)][_0x379033(0x216)],_0x23422c=>{const _0x21c234=_0x379033;PerformanceTester[_0x21c234(0x223)](PerformanceHookEvents[_0x21c234(0x1aa)]);try{const _0x18b6b9=_0x2309c3[_0x21c234(0x222)](TEST_EVENTS[_0x21c234(0x22f)],_0x23422c);CodeceptRecorder[_0x21c234(0x1b0)](()=>_0x2309c3['fireEvent'](TEST_EVENTS[_0x21c234(0x22f)],_0x18b6b9)),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0xc8973a){PerformanceTester[_0x21c234(0x1cb)](_0xc8973a),PerformanceTester[_0x21c234(0x1ea)](PerformanceEvents[_0x21c234(0x1a6)],![],_0xc8973a);const _0x5a1846={};_0x5a1846[_0x21c234(0x231)]=_0x367eb9[_0x21c234(0x1fc)],PerformanceTester[_0x21c234(0x1ea)](PerformanceHookEvents[_0x21c234(0x1aa)],![],_0xc8973a,_0x5a1846);}const _0x37dd39={};_0x37dd39[_0x21c234(0x231)]=_0x367eb9['BKtek'],PerformanceTester['end'](PerformanceHookEvents[_0x21c234(0x1aa)],!![],null,_0x37dd39);}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a1)]['after'],async(_0x5aeef2,_0x2ad4d5)=>{const _0x216f2a=_0x379033;try{PerformanceTester[_0x216f2a(0x223)](PerformanceHookEvents[_0x216f2a(0x1aa)]);const _0x392828=_0x367eb9[_0x216f2a(0x1d3)](shouldScanTestForAccessibility,_0x5aeef2[_0x216f2a(0x1ac)](),!![]);if(_0x367eb9[_0x216f2a(0x28c)](isAccessibilityAutomationSession)&&global[_0x216f2a(0x226)]&&_0x392828){const _0x1369b2={};_0x1369b2[_0x216f2a(0x287)]=_0x5aeef2[_0x216f2a(0x1bc)],_0x1369b2[_0x216f2a(0x281)]=process['env'][testHubConstants['ENV_VAR'][_0x216f2a(0x25e)]],_0x1369b2[_0x216f2a(0x237)]=process['env'][testHubConstants[_0x216f2a(0x204)][_0x216f2a(0x20c)]];const _0x576e4c=_0x1369b2;logger['debug'](_0x216f2a(0x29b)+JSON[_0x216f2a(0x253)](_0x576e4c)),CodeceptRecorder[_0x216f2a(0x1b0)](async()=>{const _0x1fc7f9=_0x216f2a,_0x86f4e7={};_0x86f4e7[_0x1fc7f9(0x24d)]=_0x367eb9[_0x1fc7f9(0x265)],await PerformanceTester[_0x1fc7f9(0x28a)](PerformanceA11yEvents[_0x1fc7f9(0x255)],async()=>{const _0x20d1bf=_0x1fc7f9;await AccessibilityHelper[_0x20d1bf(0x269)](_0x190545,scripts[_0x20d1bf(0x248)]);},_0x86f4e7)(),globals[_0x1fc7f9(0x256)](_0x367eb9['xlTzN'])&&(_0x576e4c[_0x1fc7f9(0x277)]=!![]),await PerformanceTester[_0x1fc7f9(0x28a)](PerformanceA11yEvents[_0x1fc7f9(0x1cf)],async()=>{const _0x30d355=_0x1fc7f9;await AccessibilityHelper[_0x30d355(0x269)](_0x190545,scripts[_0x30d355(0x263)],_0x576e4c);})();}),logger[_0x216f2a(0x268)](_0x367eb9['BlGIz']);}const _0x5d8e17={};_0x5d8e17[_0x216f2a(0x231)]=_0x367eb9[_0x216f2a(0x1af)],PerformanceTester[_0x216f2a(0x1ea)](PerformanceHookEvents[_0x216f2a(0x1aa)],!![],null,_0x5d8e17);}catch(_0x4b25fe){PerformanceTester['captureError'](_0x4b25fe);const _0x4d31d2={};_0x4d31d2[_0x216f2a(0x231)]=_0x367eb9[_0x216f2a(0x1af)],PerformanceTester[_0x216f2a(0x1ea)](PerformanceHookEvents[_0x216f2a(0x1aa)],![],_0x4b25fe,_0x4d31d2);}}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1b5)][_0x379033(0x215)],_0x2719cf=>{const _0x557dc2=_0x379033;PerformanceTester[_0x557dc2(0x223)](PerformanceHookEvents[_0x557dc2(0x1aa)]);try{process[_0x557dc2(0x19d)](_0x557dc2(0x1f4)+process['pid'],{'timestamp':new Date()[_0x557dc2(0x1d0)](),'level':_0x367eb9[_0x557dc2(0x278)],'message':_0x2719cf,'kind':_0x367eb9['MRFrA'],'http_response':{}});}catch(_0xb442af){PerformanceTester[_0x557dc2(0x1cb)](_0xb442af);const _0x19733f={};_0x19733f['hookType']=_0x367eb9[_0x557dc2(0x264)],PerformanceTester[_0x557dc2(0x1ea)](PerformanceHookEvents['SDK_HOOK'],![],_0xb442af,_0x19733f);}const _0x4cadca={};_0x4cadca[_0x557dc2(0x231)]=_0x367eb9[_0x557dc2(0x264)],PerformanceTester[_0x557dc2(0x1ea)](PerformanceHookEvents[_0x557dc2(0x1aa)],!![],null,_0x4cadca);}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a0)][_0x379033(0x22e)],_0x82e46b=>{const _0x1ae1c3=_0x379033,_0x11fd53={};_0x11fd53['hookType']=_0x367eb9['GCSrl'],PerformanceTester[_0x1ae1c3(0x28a)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x58085b=_0x1ae1c3;_0x2309c3[_0x58085b(0x27e)](_0x82e46b);},_0x11fd53)();}),CodeceptJS[_0x379033(0x2a4)][_0x379033(0x1a9)]['on'](CodeceptJS[_0x379033(0x2a4)][_0x379033(0x2a0)][_0x379033(0x1f3)],_0x58a49b=>{const _0x5b5f41=_0x379033,_0x39df90={};_0x39df90['hookType']=_0x367eb9[_0x5b5f41(0x24b)],PerformanceTester[_0x5b5f41(0x28a)](PerformanceHookEvents[_0x5b5f41(0x1aa)],()=>{const _0x3db036=_0x5b5f41;_0x2309c3[_0x3db036(0x220)](_0x58a49b);},_0x39df90)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x22532e=a2_0x1c24;(function(_0x15225a,_0x244ab7){const _0x480d3c=a2_0x1c24,_0xd86eab=_0x15225a();while(!![]){try{const _0x3d71d0=parseInt(_0x480d3c(0x13a))/0x1+parseInt(_0x480d3c(0x133))/0x2*(parseInt(_0x480d3c(0x18e))/0x3)+-parseInt(_0x480d3c(0x152))/0x4*(-parseInt(_0x480d3c(0xf8))/0x5)+parseInt(_0x480d3c(0x15b))/0x6*(parseInt(_0x480d3c(0x129))/0x7)+-parseInt(_0x480d3c(0x176))/0x8+-parseInt(_0x480d3c(0x141))/0x9+parseInt(_0x480d3c(0x169))/0xa;if(_0x3d71d0===_0x244ab7)break;else _0xd86eab['push'](_0xd86eab['shift']());}catch(_0x35fb97){_0xd86eab['push'](_0xd86eab['shift']());}}}(a2_0x5858,0xab4a1));function a2_0x1c24(_0x76584a,_0x1ddd02){const _0x585879=a2_0x5858();return a2_0x1c24=function(_0x1c2473,_0x5aef82){_0x1c2473=_0x1c2473-0xed;let _0x5e4a43=_0x585879[_0x1c2473];return _0x5e4a43;},a2_0x1c24(_0x76584a,_0x1ddd02);}const fs=require('fs'),path=require('path'),util=require(a2_0x22532e(0x17b)),process=require(a2_0x22532e(0x184)),logger=require(a2_0x22532e(0x182))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x22532e(0x189)),helper=require('../../helpers/helper'),utilities=require(a2_0x22532e(0x17f)),{checkAccessibilityPlatformConfig}=require(a2_0x22532e(0x120)),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x22532e(0x187)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x22532e(0x151)),testOpsHelper=require(a2_0x22532e(0x139)),TestHubHandler=require(a2_0x22532e(0x100)),BrowserstackCLI=require(a2_0x22532e(0x14d)),constants=require(a2_0x22532e(0xfa)),PerformanceTester=require(a2_0x22532e(0x106)),{FRAMEWORKS}=require(a2_0x22532e(0x15f)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],ClientTroubleShootingService=require(a2_0x22532e(0xf2)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5ea218,_0x2e6df9)=>{const _0x3f5808=a2_0x22532e,_0x316bde={};_0x316bde[_0x3f5808(0x162)]=function(_0xa43504,_0x36de6b){return _0xa43504===_0x36de6b;},_0x316bde[_0x3f5808(0x168)]=_0x3f5808(0x156),_0x316bde[_0x3f5808(0x18d)]=_0x3f5808(0x16e);const _0x56994a=_0x316bde;let _0x2034db=null;const _0x38f10d={};let _0xe093c9=_0x2e6df9[_0x3f5808(0x137)](_0x1f1ced=>_0x1f1ced==='--config');_0x56994a[_0x3f5808(0x162)](_0xe093c9,-0x1)&&(_0xe093c9=_0x2e6df9[_0x3f5808(0x137)](_0x48802c=>_0x48802c==='-c'));const _0x45cff8=!helper[_0x3f5808(0x127)](_0x5ea218[_0x3f5808(0x114)])?helper[_0x3f5808(0x123)](_0x5ea218[_0x3f5808(0x114)]):null,_0x247adb=!helper['isUndefined'](_0x5ea218['c'])?helper['resolveWithinCwd'](_0x5ea218['c']):null;if(!helper['isUndefined'](_0x5ea218[_0x3f5808(0x114)])&&!_0x45cff8)logger['warn']('Ignoring\x20--config\x20path\x20\x22'+_0x5ea218['config']+_0x3f5808(0x167));else!helper[_0x3f5808(0x127)](_0x5ea218['c'])&&!_0x247adb&&logger[_0x3f5808(0x16d)](_0x3f5808(0x12d)+_0x5ea218['c']+_0x3f5808(0x167));if(_0x45cff8&&fs[_0x3f5808(0x11d)](_0x45cff8))_0x2034db=_0x45cff8,_0x2e6df9[_0x3f5808(0x146)](_0xe093c9,0x2);else{if(_0x247adb&&fs[_0x3f5808(0x11d)](_0x247adb))_0x2034db=_0x247adb,_0x2e6df9[_0x3f5808(0x146)](_0xe093c9,0x2);else{if(fs[_0x3f5808(0x11d)](path[_0x3f5808(0x15a)](process[_0x3f5808(0x159)](),_0x56994a[_0x3f5808(0x168)])))_0x2034db=path['join'](process['cwd'](),_0x56994a[_0x3f5808(0x168)]);else fs[_0x3f5808(0x11d)](path[_0x3f5808(0x15a)](process['cwd'](),_0x56994a[_0x3f5808(0x18d)]))&&(_0x2034db=path[_0x3f5808(0x15a)](process[_0x3f5808(0x159)](),_0x56994a[_0x3f5808(0x18d)]));}}return process[_0x3f5808(0x17d)][_0x3f5808(0x15c)]=_0x2034db,_0x2034db;},getO11yRerunPattern=()=>{const _0x7c8b3b=a2_0x22532e,_0x6f97af=helper[_0x7c8b3b(0x17a)](process[_0x7c8b3b(0x17d)][_0x7c8b3b(0x12c)]);if(_0x6f97af){const _0x1f3f20=process['env'][_0x7c8b3b(0x11f)],_0x46749b=[];if(helper['validateRerunTestList'](_0x1f3f20)&&!helper[_0x7c8b3b(0x127)](_0x1f3f20)){_0x1f3f20[_0x7c8b3b(0xf1)](',')[_0x7c8b3b(0x185)](_0xd52167=>{_0x46749b['push']('('+_0xd52167['trim']()+')');});const _0x403dd1='^'+_0x46749b[_0x7c8b3b(0x15a)]('|')+'$';return _0x403dd1;}}return null;},a2_0x16970={};a2_0x16970[a2_0x22532e(0x17c)]=a2_0x22532e(0x18f),a2_0x16970[a2_0x22532e(0x179)]=a2_0x22532e(0x18f),a2_0x16970[a2_0x22532e(0x14c)]='firefox',a2_0x16970[a2_0x22532e(0x13f)]='webkit';function a2_0x5858(){const _0x14b0c7=['XRFoI','launchBuild','getInstance','aQwKN','GHORY','aFOlD','RVKrI','6514720tubBtl','start','replace','playwright-chromium','isTrue','util','chrome','env','TweDm','../../helpers/utilities','stack','dbVVs','../../helpers/logger','skipSessionStatus','process','map','accessibilityOptions','../../helpers/helper','VHSHN','../../helpers/BrowserStackSetup','accessKey','teardownAll','addConfig','OUwiP','58389cuyHwU','chromium','SlkHl','bdeOV','skipSessionName','end','iuLZE','testObservability','BROWSERSTACK_TEST_OBSERVABILITY_YML','getPlatformName','browser','split','../utils/clientTroubleshootingService','Playwright','user','CnJOq','finalExecution','length','45DJJDuR','mergeDeep','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testConfig','stringify','path','load','../../helpers/testhub/testhubHandler','push','VGLoh','dirname','getPlaywrightUrl','exports','../../helpers/performance/performance-tester','createGroupsOfSuites','aroGh','info','GCMNb','platforms','rYGwS','event','errorMessage','browserName','EMrzT','result','bpasP','SrTyo','config','plugins','Started\x20:\x20','testContextOptions','run','test','validPlatformsPresent','now','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','existsSync','MqrLo','BROWSERSTACK_RERUN_TESTS','../../helpers/accessibility-automation/helper','profile','addOptions','resolveWithinCwd','title','useW3C','debug','isUndefined','WebDriver','130088ntgsNK','handleApp','SDK_CLEANUP','BROWSERSTACK_RERUN','Ignoring\x20-c\x20config\x20path\x20\x22','isTestObservabilitySession','ywqdE','passed','before','log','82dLJOLo','desiredCapabilities','key','chdir','findIndex','TvQEc','../../helpers/test-observability/utils','129933qVoYwN','printResults','stop','host','prepareCapabilities','playwright-webkit','require','8730954kiREoY','hubUrl','pDzdZ','Passed\x20:\x20','CODECEPT_CUCUMBER','splice','assign','xPfca','isRunning','forEach','BROWSERSTACK_FRAMEWORK','playwright-firefox','../v2/browserstackCLI','setAdditionalCapabilities','zIeMY','parallelsPerPlatform','codeceptjs','364748aIKHmR','format','BrowserStackPlugin','bootstrapAll','codecept.conf.js','toLowerCase','addTests','cwd','join','24wOnDhK','USER_CONFIG_DETAILS_PATH','bKjRQ','SDK_SETUP','../../helpers/test-observability/constants','4|1|5|0|2|3','helpers','YMkgu','BrowserStackPlugin.js','CODECEPT','browserWSEndpoint','pHPac','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','knXLd','6631120GmbPqc','printBuildLink','aLGFz','FRAMEWORKS','warn','codecept.json'];a2_0x5858=function(){return _0x14b0c7;};return a2_0x5858();}const pwToCodeceptBrowser=a2_0x16970;async function run(_0x2bcc0d,_0x338a4b,_0xeafe96){const _0x394e1c=a2_0x22532e,_0x405989={'TweDm':function(_0x59b2db,_0x24a359,_0x4b3af7,_0x189d16){return _0x59b2db(_0x24a359,_0x4b3af7,_0x189d16);},'SlkHl':function(_0x3bc804,_0x278d56){return _0x3bc804+_0x278d56;},'iuLZE':function(_0x294884,_0x30b95b){return _0x294884(_0x30b95b);},'NtsvQ':function(_0x1fcf22,_0x11706e){return _0x1fcf22+_0x11706e;},'aQwKN':function(_0x5a1e46,_0x147b11,_0x415cfb){return _0x5a1e46(_0x147b11,_0x415cfb);},'TvQEc':'helpers','rYGwS':function(_0x41119e){return _0x41119e();},'MqrLo':'/wd/hub','dbVVs':function(_0x278c01){return _0x278c01();},'bpasP':function(_0xa1f5f7){return _0xa1f5f7();},'xPfca':'Failed\x20:\x20','bKjRQ':_0x394e1c(0x144),'aFOlD':_0x394e1c(0x116),'EMrzT':_0x394e1c(0x160),'pywmi':_0x394e1c(0x11c),'GCMNb':function(_0x172388,_0xe08e87,_0x10afc8){return _0x172388(_0xe08e87,_0x10afc8);},'CnJOq':_0x394e1c(0xf3),'bdeOV':_0x394e1c(0x128),'ywqdE':function(_0x5268bc,_0x44c6c9){return _0x5268bc(_0x44c6c9);},'RVKrI':function(_0x116168,_0x151211){return _0x116168!=_0x151211;},'pHPac':function(_0x40a987,_0x9d134a){return _0x40a987===_0x9d134a;},'zIeMY':'gherkin','aLGFz':function(_0x31c527,_0x1d2127){return _0x31c527(_0x1d2127);},'VGLoh':function(_0x128395){return _0x128395();},'pAIvc':function(_0x10d45a,_0x8a6022){return _0x10d45a*_0x8a6022;},'aroGh':_0x394e1c(0xf0),'pDzdZ':'desiredCapabilities','JWrNv':function(_0x2b16d6,_0x3bed20,_0x68dceb){return _0x2b16d6(_0x3bed20,_0x68dceb);},'XRFoI':'root','SrTyo':_0x394e1c(0x163),'KapTO':'browserStackCwd','mXmUa':_0x394e1c(0x151)};await _0xeafe96['initialize'](_0x2bcc0d);!BrowserstackCLI[_0x394e1c(0x171)]()[_0x394e1c(0x149)]()&&await _0xeafe96['setupBrowserstackLocal']();await helper[_0x394e1c(0x12a)](_0xeafe96[_0x394e1c(0x114)]);if(!_0xeafe96[_0x394e1c(0x114)])return;process[_0x394e1c(0x121)]=_0x2bcc0d[_0x394e1c(0x121)];_0x2bcc0d[_0x394e1c(0x121)]&&(process[_0x394e1c(0x17d)][_0x394e1c(0x121)]=_0x2bcc0d[_0x394e1c(0x121)]);const _0x4a7cbf=_0x405989[_0x394e1c(0x172)](getUserCodeceptJSConfigs,_0x2bcc0d,_0x338a4b);let _0x5279fe={};_0x4a7cbf?(logger[_0x394e1c(0x109)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4a7cbf),_0x5279fe=CodeceptJS[_0x394e1c(0x114)][_0x394e1c(0xff)](_0x4a7cbf)):logger['info'](_0x405989['pywmi']);let _0x26bff3=![];_0x405989[_0x394e1c(0x10a)](nestedKeyValue,_0x5279fe,[_0x405989[_0x394e1c(0x138)],_0x405989[_0x394e1c(0xf5)]])&&(_0x26bff3=!![]);const _0x2f85cf=_0x26bff3?_0x405989['CnJOq']:_0x405989[_0x394e1c(0x191)];let _0x221c20=!_0x26bff3?helper[_0x394e1c(0x125)](_0xeafe96['config']):![];!helper[_0x394e1c(0x127)](_0xeafe96[_0x394e1c(0x114)][_0x394e1c(0x186)])&&(process[_0x394e1c(0x17d)][_0x394e1c(0xfb)]=JSON[_0x394e1c(0xfd)](_0xeafe96[_0x394e1c(0x114)][_0x394e1c(0x186)]));let _0x57c0b4=_0xeafe96[_0x394e1c(0x114)]['accessibility'];_0x57c0b4=_0x57c0b4||_0x405989[_0x394e1c(0x12f)](checkAccessibilityPlatformConfig,_0xeafe96[_0x394e1c(0x114)]),process[_0x394e1c(0x17d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x57c0b4;_0x57c0b4&&(_0x221c20=!_0x57c0b4);_0x405989[_0x394e1c(0x175)](_0xeafe96[_0x394e1c(0x114)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xeafe96[_0x394e1c(0x114)][_0x394e1c(0xed)]:process[_0x394e1c(0x17d)][_0x394e1c(0xee)]=_0x405989[_0x394e1c(0x166)](_0x2f85cf,_0x405989[_0x394e1c(0xf5)]);const _0x37d197=_0x405989[_0x394e1c(0x10a)](nestedKeyValue,_0x5279fe,[_0x405989[_0x394e1c(0x14f)]]),_0x58459b=_0x37d197&&!helper['isEmpty'](_0x37d197)?FRAMEWORKS[_0x394e1c(0x145)]:FRAMEWORKS['CODECEPT'],_0x4aa0a8=await TestHubHandler[_0x394e1c(0x170)](_0x58459b,_0xeafe96);_0x57c0b4&&_0x405989[_0x394e1c(0x16b)](setAccessibilityCapabilities,_0xeafe96[_0x394e1c(0x114)]);const _0x48c3c0={},_0xaa0714=[],_0x317953=_0xeafe96['config'][_0x394e1c(0x150)]||helper['getUserWorkerCount'](_0x2bcc0d,_0x338a4b,_0xeafe96['config'],constants[_0x394e1c(0x16c)]['CODECEPT'])||0x1;let _0x2da22a=0x1;if(_0x405989[_0x394e1c(0x102)](isBrowserstackInfra)){const _0x10f119=helper['prepareCapabilities'](_0xeafe96[_0x394e1c(0x114)],_0x221c20,constants['FRAMEWORKS'][_0x394e1c(0x164)]);_0x10f119[_0x394e1c(0x14a)](_0x5b330b=>{const _0xa1de88=_0x394e1c;helper[_0xa1de88(0x14e)](_0x5b330b);}),helper[_0x394e1c(0x11a)](_0xeafe96[_0x394e1c(0x114)])?_0x2da22a=_0x405989['pAIvc'](_0x317953,_0xeafe96[_0x394e1c(0x114)][_0x394e1c(0x10b)][_0x394e1c(0xf7)]):_0x2da22a=_0x317953,_0x10f119[_0x394e1c(0x14a)](_0x495ed0=>{const _0x3d408b=_0x394e1c,_0xee8fb5={'UgJQp':function(_0x1fff84,_0x597453,_0x12f901,_0x2f7ec7){const _0x1e6d1b=a2_0x1c24;return _0x405989[_0x1e6d1b(0x17e)](_0x1fff84,_0x597453,_0x12f901,_0x2f7ec7);},'VHSHN':function(_0x474e5b,_0x1618e7){const _0x1e4a18=a2_0x1c24;return _0x405989[_0x1e4a18(0x190)](_0x474e5b,_0x1618e7);},'GHORY':function(_0x173f22,_0x1c3ab3){const _0x5ca058=a2_0x1c24;return _0x405989[_0x5ca058(0x194)](_0x173f22,_0x1c3ab3);}},_0x2c80c9=_0x405989['NtsvQ'](helper[_0x3d408b(0xef)](_0x495ed0,'_'),'_'+Date[_0x3d408b(0x11b)]()),_0x4e0273=((()=>{const _0x181f38=_0x3d408b;if(_0x26bff3){const _0x2f9a7a=pwToCodeceptBrowser[_0x495ed0[_0x181f38(0x10f)]]||_0x495ed0[_0x181f38(0x10f)],_0x25b674=helper[_0x181f38(0x104)](_0xeafe96[_0x181f38(0x114)]),_0x1d1d47=Object[_0x181f38(0x147)]({},_0x495ed0);return _0xee8fb5['UgJQp'](processAccessibilityCaps,_0x1d1d47,_0x25b674,null),{'browser':_0x2f9a7a,[_0x2f9a7a]:{'browserWSEndpoint':_0xee8fb5[_0x181f38(0x188)](_0x25b674,_0xee8fb5[_0x181f38(0x173)](encodeURIComponent,JSON[_0x181f38(0xfd)](_0x1d1d47)))}};}const _0x596763={};return _0x596763[_0x181f38(0x134)]=_0x495ed0,_0x596763[_0x181f38(0xf4)]=_0xeafe96['config']['userName'],_0x596763[_0x181f38(0x135)]=_0xeafe96['config'][_0x181f38(0x18a)],_0x596763;})()),_0x122f9c=_0x405989[_0x3d408b(0x172)](nestedKeyValue,_0x5279fe,[_0x405989[_0x3d408b(0x138)],_0x2f85cf]);_0x48c3c0[_0x2c80c9]=_0x122f9c?helper[_0x3d408b(0xf9)](_0x4e0273,_0x122f9c):_0x4e0273;if(_0x26bff3)_0x48c3c0[_0x2c80c9][_0x3d408b(0xf0)]=pwToCodeceptBrowser[_0x495ed0['browserName']]||_0x495ed0[_0x3d408b(0x10f)];else{_0x48c3c0[_0x2c80c9][_0x3d408b(0xf0)]=_0x495ed0[_0x3d408b(0x10f)]||_0x4e0273[_0x3d408b(0xf0)];if(_0x405989[_0x3d408b(0x10c)](isBrowserstackInfra)){_0x48c3c0[_0x2c80c9][_0x3d408b(0x13d)]=constants[_0x3d408b(0x142)][_0x3d408b(0x178)](_0x405989['MqrLo'],'')[_0x3d408b(0x178)](/https?:\/\//,'');;_0x48c3c0[_0x2c80c9][_0x3d408b(0xfe)]=_0x405989[_0x3d408b(0x11e)];}}_0xaa0714['push'](_0x2c80c9);});}else{_0x2da22a=0x1;if(_0x26bff3){const _0x20d6c5=_0x405989[_0x394e1c(0x172)](nestedKeyValue,_0x5279fe,[_0x405989[_0x394e1c(0x138)],_0x2f85cf,_0x405989[_0x394e1c(0x108)]]),_0x23d337=_0x405989['aQwKN'](nestedKeyValue,_0x5279fe,[_0x405989[_0x394e1c(0x138)],_0x2f85cf,_0x20d6c5]);if(_0x23d337&&_0x23d337[_0x394e1c(0x165)]){const _0x2f94c4={};_0x2f94c4[_0x394e1c(0x10b)]=[],_0x23d337[_0x394e1c(0x165)]=helper[_0x394e1c(0x13e)](Object['assign']({},_0xeafe96['config'],_0x2f94c4),null,_0x58459b['toLowerCase'](),null,null,_0x23d337[_0x394e1c(0x165)]);}}else{const _0x5b133a={};_0x5b133a[_0x394e1c(0x10b)]=[],_0x5279fe[_0x405989[_0x394e1c(0x138)]][_0x2f85cf][_0x405989['pDzdZ']]=helper[_0x394e1c(0x13e)](Object['assign']({},_0xeafe96['config'],_0x5b133a),null,_0x58459b[_0x394e1c(0x157)](),_0x405989['JWrNv'](nestedKeyValue,_0x5279fe,[_0x405989[_0x394e1c(0x138)],_0x2f85cf,_0x405989[_0x394e1c(0x143)]])||{},null,null);}_0x48c3c0[_0x405989[_0x394e1c(0x16f)]]=_0x5279fe,_0xaa0714['push'](_0x405989[_0x394e1c(0x16f)]);}const _0x1d7996={};_0x1d7996[_0x394e1c(0xfc)]=_0x4a7cbf;const _0xaf2395=_0x1d7996,_0x57d46d=path[_0x394e1c(0x15a)](__dirname,_0x405989[_0x394e1c(0x113)]),_0x540d0d=process['cwd']();process[_0x394e1c(0x17d)][_0x405989['KapTO']]=_0x540d0d,process['env'][_0x394e1c(0x14b)]=process[_0x394e1c(0x17d)]['BROWSERSTACK_FRAMEWORK']||_0x405989['mXmUa'],process[_0x394e1c(0x136)](path[_0x394e1c(0x103)](_0x4a7cbf));const _0x130a05=new CodeceptJS['Workers'](null,_0xaf2395),_0x2b7aa2=_0x130a05[_0x394e1c(0x107)](_0x317953),_0x52fd14=testOpsHelper[_0x394e1c(0x12e)](),_0x561759=_0xaa0714[_0x394e1c(0x185)](_0x599f2b=>{const _0x424aa4=_0x394e1c,_0x5d4e4a={};_0x5d4e4a['Playwright']=_0x48c3c0[_0x599f2b];const _0x39e7e6={};_0x39e7e6[_0x424aa4(0x128)]=_0x48c3c0[_0x599f2b];const _0x4000c3=_0x26bff3?_0x5d4e4a:_0x39e7e6,_0x35b972=_0x405989[_0x424aa4(0x181)](getO11yRerunPattern),_0x530c8c={};_0x530c8c[_0x424aa4(0x161)]=_0x4000c3;const _0x3db675={};_0x3db675[_0x424aa4(0x140)]=_0x57d46d,_0x3db675['enabled']=!![],_0x3db675['skipSessionName']=_0xeafe96[_0x424aa4(0x114)][_0x424aa4(0x117)][_0x424aa4(0x192)],_0x3db675['skipSessionStatus']=_0xeafe96[_0x424aa4(0x114)][_0x424aa4(0x117)][_0x424aa4(0x183)],_0x3db675[_0x424aa4(0xed)]=_0x52fd14,_0x3db675['frameworkName']=_0x58459b;const _0xf740ad={};_0xf740ad[_0x424aa4(0x154)]=_0x3db675;const _0x227aa7={};return _0x227aa7[_0x424aa4(0x115)]=_0xf740ad,helper[_0x424aa4(0xf9)]({},_0x5279fe,_0x405989[_0x424aa4(0x112)](isBrowserstackInfra)?_0x530c8c:{},_0x35b972?{'grep':_0x35b972}:{},_0x227aa7);});for(const _0x534806 of _0x561759){for(const _0x139b63 of _0x2b7aa2){const _0x48ecd4=_0x130a05['spawn']();_0x48ecd4[_0x394e1c(0x158)](_0x139b63),_0x48ecd4[_0x394e1c(0x18c)](_0x534806);const _0x7ec698={};_0x7ec698[_0x394e1c(0x114)]=_0x4a7cbf,_0x48ecd4[_0x394e1c(0x122)](Object['assign'](_0x7ec698,_0x2bcc0d));}}_0x130a05['on'](CodeceptJS[_0x394e1c(0x10d)][_0x394e1c(0x119)]['failed'],(_0xccf723,_0x1c7a61)=>{const _0x3e603b=_0x394e1c;console[_0x3e603b(0x132)](_0x405989[_0x3e603b(0x148)],_0xccf723['title']);const _0x1341b0={[_0xccf723['title']]:_0xccf723['err'][_0x3e603b(0x180)]};_testErrorData[_0x3e603b(0x101)](_0x1341b0);}),_0x130a05['on'](CodeceptJS[_0x394e1c(0x10d)][_0x394e1c(0x119)][_0x394e1c(0x130)],async _0x5af1b6=>{const _0x3e10d8=_0x394e1c;console['log'](_0x405989[_0x3e10d8(0x15d)],_0x5af1b6[_0x3e10d8(0x124)]);}),_0x130a05['on'](CodeceptJS[_0x394e1c(0x10d)][_0x394e1c(0x119)][_0x394e1c(0x131)],async _0x299b90=>{const _0x2c99a7=_0x394e1c;console[_0x2c99a7(0x132)](_0x405989[_0x2c99a7(0x174)],_0x299b90[_0x2c99a7(0x124)]);}),_0x130a05['on'](CodeceptJS[_0x394e1c(0x10d)]['all'][_0x394e1c(0x111)],async()=>{const _0x13ba0d=_0x394e1c,_0x22ded7=_0x405989[_0x13ba0d(0x110)][_0x13ba0d(0xf1)]('|');let _0x33c24b=0x0;while(!![]){switch(_0x22ded7[_0x33c24b++]){case'0':utilities[_0x13ba0d(0xf6)](_0xeafe96);continue;case'1':_0xeafe96[_0x13ba0d(0x10e)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x13ba0d(0x13c)]();}catch(_0x2f3170){logger[_0x13ba0d(0x126)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13ba0d(0x153)](_0x2f3170));}continue;case'3':_0x130a05[_0x13ba0d(0x13b)]();continue;case'4':PerformanceTester[_0x13ba0d(0x177)](PerformanceEvents[_0x13ba0d(0x12b)]);continue;case'5':testOpsHelper[_0x13ba0d(0x16a)]();continue;}break;}});async function _0x3cdf8e(){const _0x1074f1=_0x394e1c;try{await _0x130a05[_0x1074f1(0x155)](),await _0x130a05[_0x1074f1(0x118)]();}finally{process[_0x1074f1(0x136)](_0x540d0d),await _0x130a05[_0x1074f1(0x18b)]();}}PerformanceTester[_0x394e1c(0x193)](PerformanceEvents[_0x394e1c(0x15e)]),await _0x405989[_0x394e1c(0x102)](_0x3cdf8e);}module[a2_0x22532e(0x105)]=run;
|
|
2
|
+
'use strict';const a2_0x112ae9=a2_0x2e83;function a2_0x5ad6(){const _0x41f5b8=['length','push','vtGMm','bootstrapAll','load','existsSync','user','vxaWu','desiredCapabilities','WebDriver','CODECEPT_CUCUMBER','BROWSERSTACK_TEST_ACCESSIBILITY_YML','all','Started\x20:\x20','spawn','findIndex','browser','chromium','USER_CONFIG_DETAILS_PATH','izLuS','Workers','wHROJ','printResults','--config','end','BrowserStackPlugin.js','codecept.conf.js','3072JCPaPe','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','printBuildLink','10590408BoUlPb','sLYSB','resolveWithinCwd','addOptions','run','testObservability','addTests','Pqqyy','profile','trim','join','../../helpers/helper','3541279uXsldP','event','setupBrowserstackLocal','isEmpty','webkit','getInstance','../../helpers/testhub/testhubHandler','/wd/hub','teardownAll','../../helpers/logger','accessibilityOptions','err','playwright-chromium','KMHug','skipSessionStatus','testConfig','start','EcmYU','host','chrome','72aaMAbo','../../helpers/performance/constants','Ignoring\x20--config\x20path\x20\x22','TkzhJ','jGxzR','BROWSERSTACK_TEST_OBSERVABILITY_YML','9005350YwufqE','hubUrl','browserStackCwd','rNXXO','QOPeR','parallelsPerPlatform','warn','CODECEPT','4868109oOZxtC','result','initialize','YvCaY','stack','map','getPlaywrightUrl','leurI','mUqgY','isTrue','2695722fJNDIY','getPlatformName','exports','validPlatformsPresent','debug','isUndefined','prepareCapabilities','skipSessionName','../../helpers/utilities','Playwright','assign','awJkH','184523zRXDVd','../../helpers/test-observability/constants','oJJVL','stringify','codeceptjs/lib/index.js','splice','Atxyv','codeceptjs','before','BROWSERSTACK_FRAMEWORK','format','passed','QXdSA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','2nBdGxc','testContextOptions','gherkin','info','key','enabled','../v2/browserstackCLI','test','BROWSERSTACK_RERUN_TESTS','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','replace','EdLgm','1|0|5|3|4|2','browserWSEndpoint','toLowerCase','now','chdir','FRAMEWORKS','isTestObservabilitySession','mergeDeep','util','GmeBW','setAdditionalCapabilities','LNVTe','../utils/clientTroubleshootingService','ykheY','log','ZgjZt','winstonLogger','helpers','Passed\x20:\x20','kyVJm','11nbMNLf','config','cwd','KONqc','getUserWorkerCount','root','yOyWM','launchBuild','path','10vQzZnT','8pSexNy','rkHpX','alBsp','frameworkName','jdwOG','forEach','Failed\x20:\x20','accessibility','SDK_CLEANUP','VaMcW','accessKey','failed','title','browserName','platforms','useW3C','env','split'];a2_0x5ad6=function(){return _0x41f5b8;};return a2_0x5ad6();}(function(_0x14e048,_0x43f82d){const _0x2376e9=a2_0x2e83,_0x42bac2=_0x14e048();while(!![]){try{const _0x5e7539=parseInt(_0x2376e9(0x19b))/0x1*(-parseInt(_0x2376e9(0x1aa))/0x2)+parseInt(_0x2376e9(0x201))/0x3*(parseInt(_0x2376e9(0x177))/0x4)+parseInt(_0x2376e9(0x1d3))/0x5*(parseInt(_0x2376e9(0x18f))/0x6)+-parseInt(_0x2376e9(0x210))/0x7+parseInt(_0x2376e9(0x1d4))/0x8*(parseInt(_0x2376e9(0x185))/0x9)+parseInt(_0x2376e9(0x17d))/0xa+parseInt(_0x2376e9(0x1ca))/0xb*(-parseInt(_0x2376e9(0x204))/0xc);if(_0x5e7539===_0x43f82d)break;else _0x42bac2['push'](_0x42bac2['shift']());}catch(_0x257549){_0x42bac2['push'](_0x42bac2['shift']());}}}(a2_0x5ad6,0xbfc50));function a2_0x2e83(_0x58f8a,_0x24176c){const _0x5ad66e=a2_0x5ad6();return a2_0x2e83=function(_0x2e837e,_0x11535c){_0x2e837e=_0x2e837e-0x16e;let _0x39fea6=_0x5ad66e[_0x2e837e];return _0x39fea6;},a2_0x2e83(_0x58f8a,_0x24176c);}const fs=require('fs'),path=require(a2_0x112ae9(0x1d2)),util=require(a2_0x112ae9(0x1be)),process=require('process'),logger=require(a2_0x112ae9(0x219))[a2_0x112ae9(0x1c6)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x112ae9(0x20f)),utilities=require(a2_0x112ae9(0x197)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x112ae9(0x20f)),CodeceptJS=requireModule(a2_0x112ae9(0x19f),a2_0x112ae9(0x1a2)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x112ae9(0x216)),BrowserstackCLI=require(a2_0x112ae9(0x1b0)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x112ae9(0x19c)),PerformanceEvents=require(a2_0x112ae9(0x178))['EVENTS'],ClientTroubleShootingService=require(a2_0x112ae9(0x1c2)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x16922c,_0x13ef8d)=>{const _0x4e1927=a2_0x112ae9,_0x4909c6={};_0x4909c6[_0x4e1927(0x1cd)]=function(_0x91579f,_0x1faf1c){return _0x91579f===_0x1faf1c;},_0x4909c6[_0x4e1927(0x17a)]=_0x4e1927(0x200),_0x4909c6[_0x4e1927(0x18d)]='codecept.json';const _0x4010ea=_0x4909c6;let _0xf36ad6=null;const _0x49490f={};let _0x44ba41=_0x13ef8d[_0x4e1927(0x1f5)](_0x46b218=>_0x46b218===_0x4e1927(0x1fd));_0x4010ea[_0x4e1927(0x1cd)](_0x44ba41,-0x1)&&(_0x44ba41=_0x13ef8d[_0x4e1927(0x1f5)](_0x25f71d=>_0x25f71d==='-c'));const _0x266602=!helper['isUndefined'](_0x16922c['config'])?helper[_0x4e1927(0x206)](_0x16922c['config']):null,_0x29b41a=!helper['isUndefined'](_0x16922c['c'])?helper[_0x4e1927(0x206)](_0x16922c['c']):null;if(!helper[_0x4e1927(0x194)](_0x16922c['config'])&&!_0x266602)logger[_0x4e1927(0x183)](_0x4e1927(0x179)+_0x16922c['config']+_0x4e1927(0x1b3));else!helper[_0x4e1927(0x194)](_0x16922c['c'])&&!_0x29b41a&&logger[_0x4e1927(0x183)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x16922c['c']+_0x4e1927(0x1b3));if(_0x266602&&fs[_0x4e1927(0x1eb)](_0x266602))_0xf36ad6=_0x266602,_0x13ef8d[_0x4e1927(0x1a0)](_0x44ba41,0x2);else{if(_0x29b41a&&fs['existsSync'](_0x29b41a))_0xf36ad6=_0x29b41a,_0x13ef8d[_0x4e1927(0x1a0)](_0x44ba41,0x2);else{if(fs[_0x4e1927(0x1eb)](path['join'](process['cwd'](),_0x4010ea[_0x4e1927(0x17a)])))_0xf36ad6=path[_0x4e1927(0x20e)](process[_0x4e1927(0x1cc)](),_0x4010ea[_0x4e1927(0x17a)]);else fs[_0x4e1927(0x1eb)](path[_0x4e1927(0x20e)](process[_0x4e1927(0x1cc)](),_0x4010ea[_0x4e1927(0x18d)]))&&(_0xf36ad6=path[_0x4e1927(0x20e)](process[_0x4e1927(0x1cc)](),_0x4010ea['mUqgY']));}}return process['env'][_0x4e1927(0x1f8)]=_0xf36ad6,_0xf36ad6;},getO11yRerunPattern=()=>{const _0x23264a=a2_0x112ae9,_0x2f2cc7=helper[_0x23264a(0x18e)](process[_0x23264a(0x1e4)]['BROWSERSTACK_RERUN']);if(_0x2f2cc7){const _0x293044=process['env'][_0x23264a(0x1b2)],_0x1a6643=[];if(helper['validateRerunTestList'](_0x293044)&&!helper[_0x23264a(0x194)](_0x293044)){_0x293044[_0x23264a(0x1e5)](',')[_0x23264a(0x18a)](_0x2a9526=>{const _0x50c352=_0x23264a;_0x1a6643[_0x50c352(0x1e7)]('('+_0x2a9526[_0x50c352(0x20d)]()+')');});const _0x38a5f4='^'+_0x1a6643[_0x23264a(0x20e)]('|')+'$';return _0x38a5f4;}}return null;},a2_0x53f814={};a2_0x53f814[a2_0x112ae9(0x176)]=a2_0x112ae9(0x1f7),a2_0x53f814[a2_0x112ae9(0x16f)]=a2_0x112ae9(0x1f7),a2_0x53f814['playwright-firefox']='firefox',a2_0x53f814['playwright-webkit']=a2_0x112ae9(0x214);const pwToCodeceptBrowser=a2_0x53f814;async function run(_0x5e0d9c,_0x19cbdb,_0x215ebd){const _0x52c54=a2_0x112ae9,_0x516b02={'ykheY':function(_0x248644,_0x5325cd,_0x261272,_0x297285){return _0x248644(_0x5325cd,_0x261272,_0x297285);},'izLuS':function(_0x1259a7,_0xe9d01){return _0x1259a7+_0xe9d01;},'yOyWM':function(_0x33a2d5,_0x3e67a6){return _0x33a2d5(_0x3e67a6);},'sLYSB':function(_0x26d84d,_0x44376b,_0xbb2ac7){return _0x26d84d(_0x44376b,_0xbb2ac7);},'wHROJ':'helpers','QXdSA':function(_0x5d7284){return _0x5d7284();},'Pqqyy':_0x52c54(0x217),'ZgjZt':function(_0x4fc883){return _0x4fc883();},'GmeBW':_0x52c54(0x1da),'alBsp':_0x52c54(0x1c8),'jdwOG':_0x52c54(0x1f3),'EdLgm':_0x52c54(0x1b6),'YdZow':function(_0x4e65fb,_0x3b295a,_0x6bfa17){return _0x4e65fb(_0x3b295a,_0x6bfa17);},'Atxyv':_0x52c54(0x202),'rkHpX':function(_0x4a2a22,_0x3da20c,_0x1bdd92){return _0x4a2a22(_0x3da20c,_0x1bdd92);},'QOPeR':_0x52c54(0x198),'vRqEc':_0x52c54(0x1ef),'leurI':function(_0x37abeb,_0x17aba2){return _0x37abeb(_0x17aba2);},'xopiX':function(_0x13d6ee,_0x159c7e){return _0x13d6ee!=_0x159c7e;},'YvCaY':function(_0x2b5709,_0x3b8637){return _0x2b5709===_0x3b8637;},'awJkH':function(_0x7a4545,_0x4fc0d0,_0x2be967){return _0x7a4545(_0x4fc0d0,_0x2be967);},'uudGw':_0x52c54(0x1ac),'jGxzR':function(_0x2cde1b,_0x1ec023){return _0x2cde1b(_0x1ec023);},'kyVJm':function(_0x5986a9){return _0x5986a9();},'EcmYU':function(_0x385d26,_0x240f28){return _0x385d26*_0x240f28;},'vtGMm':function(_0x10b68f,_0x1d49fd,_0x5ac38a){return _0x10b68f(_0x1d49fd,_0x5ac38a);},'LNVTe':_0x52c54(0x1f6),'KMHug':_0x52c54(0x1ee),'vxaWu':_0x52c54(0x1cf),'rNXXO':_0x52c54(0x1ff),'qVEXx':_0x52c54(0x17f),'oJJVL':_0x52c54(0x1a2),'VaMcW':function(_0x11cb31){return _0x11cb31();}};await _0x215ebd[_0x52c54(0x187)](_0x5e0d9c);!BrowserstackCLI[_0x52c54(0x215)]()['isRunning']()&&await _0x215ebd[_0x52c54(0x212)]();await helper['handleApp'](_0x215ebd[_0x52c54(0x1cb)]);if(!_0x215ebd[_0x52c54(0x1cb)])return;process[_0x52c54(0x20c)]=_0x5e0d9c[_0x52c54(0x20c)];_0x5e0d9c['profile']&&(process[_0x52c54(0x1e4)]['profile']=_0x5e0d9c['profile']);const _0x16c46f=_0x516b02['YdZow'](getUserCodeceptJSConfigs,_0x5e0d9c,_0x19cbdb);let _0x139c94={};_0x16c46f?(logger[_0x52c54(0x1ad)](_0x52c54(0x1a9)+_0x16c46f),_0x139c94=CodeceptJS[_0x52c54(0x1cb)][_0x52c54(0x1ea)](_0x16c46f)):logger[_0x52c54(0x1ad)](_0x516b02[_0x52c54(0x1a1)]);let _0x2ef9b6=![];_0x516b02[_0x52c54(0x1d5)](nestedKeyValue,_0x139c94,[_0x516b02[_0x52c54(0x1fb)],_0x516b02['QOPeR']])&&(_0x2ef9b6=!![]);const _0x465f65=_0x2ef9b6?_0x516b02[_0x52c54(0x181)]:_0x516b02['vRqEc'];let _0x17e0bf=!_0x2ef9b6?helper[_0x52c54(0x1e3)](_0x215ebd[_0x52c54(0x1cb)]):![];!helper['isUndefined'](_0x215ebd[_0x52c54(0x1cb)][_0x52c54(0x21a)])&&(process[_0x52c54(0x1e4)][_0x52c54(0x1a8)]=JSON[_0x52c54(0x19e)](_0x215ebd['config'][_0x52c54(0x21a)]));let _0x5756ae=_0x215ebd[_0x52c54(0x1cb)][_0x52c54(0x1db)];_0x5756ae=_0x5756ae||_0x516b02[_0x52c54(0x18c)](checkAccessibilityPlatformConfig,_0x215ebd['config']),process['env'][_0x52c54(0x1f1)]=_0x5756ae;_0x5756ae&&(_0x17e0bf=!_0x5756ae);_0x516b02['xopiX'](_0x215ebd[_0x52c54(0x1cb)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x215ebd[_0x52c54(0x1cb)][_0x52c54(0x209)]:process[_0x52c54(0x1e4)][_0x52c54(0x17c)]=_0x516b02[_0x52c54(0x188)](_0x465f65,_0x516b02[_0x52c54(0x181)]);const _0x59776a=_0x516b02[_0x52c54(0x19a)](nestedKeyValue,_0x139c94,[_0x516b02['uudGw']]),_0x86e7ea=_0x59776a&&!helper[_0x52c54(0x213)](_0x59776a)?FRAMEWORKS[_0x52c54(0x1f0)]:FRAMEWORKS[_0x52c54(0x184)],_0x23b1d9=await TestHubHandler[_0x52c54(0x1d1)](_0x86e7ea,_0x215ebd);_0x5756ae&&_0x516b02[_0x52c54(0x17b)](setAccessibilityCapabilities,_0x215ebd[_0x52c54(0x1cb)]);const _0x2f56e8={},_0x1f4dc9=[],_0x32f81d=_0x215ebd['config'][_0x52c54(0x182)]||helper[_0x52c54(0x1ce)](_0x5e0d9c,_0x19cbdb,_0x215ebd[_0x52c54(0x1cb)],constants[_0x52c54(0x1bb)]['CODECEPT'])||0x1;let _0xaea559=0x1;if(_0x516b02[_0x52c54(0x1c9)](isBrowserstackInfra)){const _0xfa8d48=helper[_0x52c54(0x195)](_0x215ebd[_0x52c54(0x1cb)],_0x17e0bf,constants[_0x52c54(0x1bb)]['CODECEPT']);_0xfa8d48['forEach'](_0x3518e1=>{const _0x54dd86=_0x52c54;helper[_0x54dd86(0x1c0)](_0x3518e1);}),helper[_0x52c54(0x192)](_0x215ebd[_0x52c54(0x1cb)])?_0xaea559=_0x516b02[_0x52c54(0x174)](_0x32f81d,_0x215ebd[_0x52c54(0x1cb)][_0x52c54(0x1e2)][_0x52c54(0x1e6)]):_0xaea559=_0x32f81d,_0xfa8d48[_0x52c54(0x1d9)](_0x4d738c=>{const _0x1067d2=_0x52c54,_0x5e5b64=_0x516b02[_0x1067d2(0x1f9)](helper[_0x1067d2(0x190)](_0x4d738c,'_'),'_'+Date[_0x1067d2(0x1b9)]()),_0x1351b2=((()=>{const _0x40e83d=_0x1067d2;if(_0x2ef9b6){const _0x3f4b0c=pwToCodeceptBrowser[_0x4d738c[_0x40e83d(0x1e1)]]||_0x4d738c[_0x40e83d(0x1e1)],_0x165777=helper[_0x40e83d(0x18b)](_0x215ebd[_0x40e83d(0x1cb)]),_0x530686=Object[_0x40e83d(0x199)]({},_0x4d738c);return _0x516b02[_0x40e83d(0x1c3)](processAccessibilityCaps,_0x530686,_0x165777,null),{'browser':_0x3f4b0c,[_0x3f4b0c]:{'browserWSEndpoint':_0x516b02[_0x40e83d(0x1f9)](_0x165777,_0x516b02[_0x40e83d(0x1d0)](encodeURIComponent,JSON[_0x40e83d(0x19e)](_0x530686)))}};}const _0x24bb51={};return _0x24bb51['desiredCapabilities']=_0x4d738c,_0x24bb51[_0x40e83d(0x1ec)]=_0x215ebd['config']['userName'],_0x24bb51[_0x40e83d(0x1ae)]=_0x215ebd[_0x40e83d(0x1cb)][_0x40e83d(0x1de)],_0x24bb51;})()),_0x286a77=_0x516b02[_0x1067d2(0x205)](nestedKeyValue,_0x139c94,[_0x516b02[_0x1067d2(0x1fb)],_0x465f65]);_0x2f56e8[_0x5e5b64]=_0x286a77?helper[_0x1067d2(0x1bd)](_0x1351b2,_0x286a77):_0x1351b2;if(_0x2ef9b6)_0x2f56e8[_0x5e5b64]['browser']=pwToCodeceptBrowser[_0x4d738c[_0x1067d2(0x1e1)]]||_0x4d738c[_0x1067d2(0x1e1)];else{_0x2f56e8[_0x5e5b64][_0x1067d2(0x1f6)]=_0x4d738c['browserName']||_0x1351b2['browser'];if(_0x516b02[_0x1067d2(0x1a7)](isBrowserstackInfra)){_0x2f56e8[_0x5e5b64][_0x1067d2(0x175)]=constants[_0x1067d2(0x17e)]['replace'](_0x516b02[_0x1067d2(0x20b)],'')[_0x1067d2(0x1b4)](/https?:\/\//,'');;_0x2f56e8[_0x5e5b64][_0x1067d2(0x1d2)]=_0x516b02[_0x1067d2(0x20b)];}}_0x1f4dc9[_0x1067d2(0x1e7)](_0x5e5b64);});}else{_0xaea559=0x1;if(_0x2ef9b6){const _0x385452=_0x516b02[_0x52c54(0x1e8)](nestedKeyValue,_0x139c94,[_0x516b02[_0x52c54(0x1fb)],_0x465f65,_0x516b02[_0x52c54(0x1c1)]]),_0x2b799c=_0x516b02[_0x52c54(0x1e8)](nestedKeyValue,_0x139c94,[_0x516b02[_0x52c54(0x1fb)],_0x465f65,_0x385452]);if(_0x2b799c&&_0x2b799c['browserWSEndpoint']){const _0x1a8f00={};_0x1a8f00['platforms']=[],_0x2b799c[_0x52c54(0x1b7)]=helper[_0x52c54(0x195)](Object['assign']({},_0x215ebd[_0x52c54(0x1cb)],_0x1a8f00),null,_0x86e7ea[_0x52c54(0x1b8)](),null,null,_0x2b799c[_0x52c54(0x1b7)]);}}else{const _0x193347={};_0x193347['platforms']=[],_0x139c94[_0x516b02[_0x52c54(0x1fb)]][_0x465f65][_0x516b02['KMHug']]=helper[_0x52c54(0x195)](Object['assign']({},_0x215ebd[_0x52c54(0x1cb)],_0x193347),null,_0x86e7ea['toLowerCase'](),_0x516b02[_0x52c54(0x205)](nestedKeyValue,_0x139c94,[_0x516b02[_0x52c54(0x1fb)],_0x465f65,_0x516b02[_0x52c54(0x170)]])||{},null,null);}_0x2f56e8[_0x516b02[_0x52c54(0x1ed)]]=_0x139c94,_0x1f4dc9[_0x52c54(0x1e7)](_0x516b02[_0x52c54(0x1ed)]);}const _0x1695a9={};_0x1695a9[_0x52c54(0x172)]=_0x16c46f;const _0x4d063e=_0x1695a9,_0x3cc612=path[_0x52c54(0x20e)](__dirname,_0x516b02[_0x52c54(0x180)]),_0x28b869=process[_0x52c54(0x1cc)]();process['env'][_0x516b02['qVEXx']]=_0x28b869,process[_0x52c54(0x1e4)][_0x52c54(0x1a4)]=process[_0x52c54(0x1e4)][_0x52c54(0x1a4)]||_0x516b02[_0x52c54(0x19d)],process[_0x52c54(0x1ba)](path['dirname'](_0x16c46f));const _0x2fe222=new CodeceptJS[(_0x52c54(0x1fa))](null,_0x4d063e),_0x114869=_0x2fe222['createGroupsOfSuites'](_0x32f81d),_0x501301=testOpsHelper[_0x52c54(0x1bc)](),_0x52e4e2=_0x1f4dc9[_0x52c54(0x18a)](_0x1e8d00=>{const _0x220a5b=_0x52c54,_0x27c262={};_0x27c262[_0x220a5b(0x198)]=_0x2f56e8[_0x1e8d00];const _0x4eadc6={};_0x4eadc6[_0x220a5b(0x1ef)]=_0x2f56e8[_0x1e8d00];const _0x354e33=_0x2ef9b6?_0x27c262:_0x4eadc6,_0x177d48=_0x516b02['ZgjZt'](getO11yRerunPattern),_0x537733={};_0x537733[_0x220a5b(0x1c7)]=_0x354e33;const _0x22b228={};_0x22b228['require']=_0x3cc612,_0x22b228[_0x220a5b(0x1af)]=!![],_0x22b228[_0x220a5b(0x196)]=_0x215ebd[_0x220a5b(0x1cb)][_0x220a5b(0x1ab)][_0x220a5b(0x196)],_0x22b228[_0x220a5b(0x171)]=_0x215ebd[_0x220a5b(0x1cb)][_0x220a5b(0x1ab)][_0x220a5b(0x171)],_0x22b228['testObservability']=_0x501301,_0x22b228[_0x220a5b(0x1d7)]=_0x86e7ea;const _0x54017b={};_0x54017b['BrowserStackPlugin']=_0x22b228;const _0x4c64c2={};return _0x4c64c2['plugins']=_0x54017b,helper[_0x220a5b(0x1bd)]({},_0x139c94,_0x516b02[_0x220a5b(0x1c5)](isBrowserstackInfra)?_0x537733:{},_0x177d48?{'grep':_0x177d48}:{},_0x4c64c2);});for(const _0x55d8f5 of _0x52e4e2){for(const _0x2e8dd4 of _0x114869){const _0x3605c4=_0x2fe222[_0x52c54(0x1f4)]();_0x3605c4[_0x52c54(0x20a)](_0x2e8dd4),_0x3605c4['addConfig'](_0x55d8f5);const _0x16c41c={};_0x16c41c[_0x52c54(0x1cb)]=_0x16c46f,_0x3605c4[_0x52c54(0x207)](Object[_0x52c54(0x199)](_0x16c41c,_0x5e0d9c));}}_0x2fe222['on'](CodeceptJS[_0x52c54(0x211)][_0x52c54(0x1b1)][_0x52c54(0x1df)],(_0x1d9cef,_0x5247a5)=>{const _0x24a992=_0x52c54;console[_0x24a992(0x1c4)](_0x516b02[_0x24a992(0x1bf)],_0x1d9cef[_0x24a992(0x1e0)]);const _0x28458d={[_0x1d9cef['title']]:_0x1d9cef[_0x24a992(0x16e)][_0x24a992(0x189)]};_testErrorData['push'](_0x28458d);}),_0x2fe222['on'](CodeceptJS['event'][_0x52c54(0x1b1)][_0x52c54(0x1a6)],async _0x222100=>{const _0x33c781=_0x52c54;console[_0x33c781(0x1c4)](_0x516b02[_0x33c781(0x1d6)],_0x222100[_0x33c781(0x1e0)]);}),_0x2fe222['on'](CodeceptJS[_0x52c54(0x211)][_0x52c54(0x1b1)][_0x52c54(0x1a3)],async _0x13772d=>{const _0x2fd1ed=_0x52c54;console[_0x2fd1ed(0x1c4)](_0x516b02[_0x2fd1ed(0x1d8)],_0x13772d[_0x2fd1ed(0x1e0)]);}),_0x2fe222['on'](CodeceptJS[_0x52c54(0x211)][_0x52c54(0x1f2)][_0x52c54(0x186)],async()=>{const _0x257185=_0x52c54,_0x5543a3=_0x516b02[_0x257185(0x1b5)][_0x257185(0x1e5)]('|');let _0x5b7e4c=0x0;while(!![]){switch(_0x5543a3[_0x5b7e4c++]){case'0':_0x215ebd['errorMessage']=_testErrorData;continue;case'1':PerformanceTester[_0x257185(0x173)](PerformanceEvents[_0x257185(0x1dc)]);continue;case'2':_0x2fe222[_0x257185(0x1fc)]();continue;case'3':utilities['finalExecution'](_0x215ebd);continue;case'4':try{await TestHubHandler['stop']();}catch(_0x3ca3e9){logger[_0x257185(0x193)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x257185(0x1a5)](_0x3ca3e9));}continue;case'5':testOpsHelper[_0x257185(0x203)]();continue;}break;}});async function _0x509d54(){const _0x37c89f=_0x52c54;try{await _0x2fe222[_0x37c89f(0x1e9)](),await _0x2fe222[_0x37c89f(0x208)]();}finally{process['chdir'](_0x28b869),await _0x2fe222[_0x37c89f(0x218)]();}}PerformanceTester[_0x52c54(0x1fe)](PerformanceEvents['SDK_SETUP']),await _0x516b02[_0x52c54(0x1dd)](_0x509d54);}module[a2_0x112ae9(0x191)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x543d(){const _0xcc50b0=['mQiFY','capabilities','xNxOO','parse','../../bin/playwright/sessionDetails','WebDriver','browser_version','osVersion','browserName','platformName','includes','warn','oLDet','../../helpers/helper','JiOpF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isVersionSupported','winstonLogger','HjIap','HqkpE','getDetails','../../helpers/test-observability/utils','get','5934174otapyH','KbEBa','string','2859710QMrnNE','2508231LBDevW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','jGCPD','browserstack_executor','762734DVouFR','searchParams','platform','browser','fetchPlatformDetails','constructor','config','os_version','__cloud_provider___','accessibilityPlatform','getMinVersionForBrowser','xrVOo','latest','isBrowserSupportedForAccessibility','vbUwF','deviceName','VNboy','rrsLG','on\x20non-BrowserStack\x20infrastructure\x20','AJQEt','cloudProvider','platform_version','jecVx','bsSessionId','4994528MHgjCP','gtplf','QAaAl','\x20browser\x20version\x20','sessionId','hphsn','824CnKGoz','../../helpers/logger','AeYNT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','unknown_grid','../../helpers/accessibility-automation/helper','platformVersion','EDqNQ','MmOrG','caps','LxuAh','451468gHulrv','name','bstack:options','14707nmaqtu','XSyAK','browserVersion'];a3_0x543d=function(){return _0xcc50b0;};return a3_0x543d();}function a3_0x5130(_0x337dc3,_0x77477e){const _0x543d9b=a3_0x543d();return a3_0x5130=function(_0x5130b8,_0x5e56e9){_0x5130b8=_0x5130b8-0xf5;let _0x47ec4f=_0x543d9b[_0x5130b8];return _0x47ec4f;},a3_0x5130(_0x337dc3,_0x77477e);}const a3_0x5f102d=a3_0x5130;(function(_0x423f8a,_0x544117){const _0x484955=a3_0x5130,_0x574a25=_0x423f8a();while(!![]){try{const _0xf36e57=parseInt(_0x484955(0x141))/0x1+-parseInt(_0x484955(0x11c))/0x2+parseInt(_0x484955(0x13d))/0x3+-parseInt(_0x484955(0x10b))/0x4+-parseInt(_0x484955(0x13c))/0x5+parseInt(_0x484955(0x139))/0x6+-parseInt(_0x484955(0x11f))/0x7*(-parseInt(_0x484955(0x111))/0x8);if(_0xf36e57===_0x544117)break;else _0x574a25['push'](_0x574a25['shift']());}catch(_0x55c637){_0x574a25['push'](_0x574a25['shift']());}}}(a3_0x543d,0xb90af));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x5f102d(0x112))[a3_0x5f102d(0x133)],PlaywrightSessionDetails=require(a3_0x5f102d(0x126)),{isAccessibilityAutomationSession}=require(a3_0x5f102d(0x116)),{getObservabilityLinkedProductName}=require(a3_0x5f102d(0x137)),accessibilityHelper=require(a3_0x5f102d(0x116)),{isBrowserstackInfra}=require(a3_0x5f102d(0x12f)),getOSVersionFromCaps=_0x52b6cb=>{const _0x31440b=a3_0x5f102d,_0x48c598={};_0x48c598[_0x31440b(0x120)]=_0x31440b(0x11e),_0x48c598['oLDet']=_0x31440b(0x117),_0x48c598[_0x31440b(0x118)]=_0x31440b(0x108),_0x48c598['JiOpF']=_0x31440b(0x129),_0x48c598[_0x31440b(0x110)]=_0x31440b(0xfa);const _0x2d0d2d=_0x48c598;if(!_0x52b6cb)return null;const _0x33eebd=_0x52b6cb[_0x2d0d2d[_0x31440b(0x120)]],_0x4d6fe7=[_0x2d0d2d[_0x31440b(0x12e)],_0x2d0d2d[_0x31440b(0x118)],_0x2d0d2d[_0x31440b(0x130)],_0x2d0d2d[_0x31440b(0x110)]];for(const _0x10e55b of _0x4d6fe7){if(_0x33eebd&&_0x33eebd[_0x10e55b])return _0x33eebd[_0x10e55b];else{if(_0x52b6cb[_0x10e55b])return _0x52b6cb[_0x10e55b];}}return null;};exports[a3_0x5f102d(0xf7)]=_0x5725be=>{const _0x47b022=a3_0x5f102d,_0x2eb3ae={'MmOrG':_0x47b022(0x115),'xrVOo':function(_0x1ec316,_0x4391b6){return _0x1ec316===_0x4391b6;},'zUdJV':_0x47b022(0x127),'imKMT':function(_0x26062e,_0x169d5e){return _0x26062e(_0x169d5e);},'xNxOO':function(_0x37a2d5,_0x4cfb95,_0x1eccfb){return _0x37a2d5(_0x4cfb95,_0x1eccfb);},'jecVx':_0x47b022(0xf9),'mXvds':'desiredCapabilities','FGexA':'Playwright','gtplf':function(_0xc5e72e,_0x20702f,_0x5f1dcb){return _0xc5e72e(_0x20702f,_0x5f1dcb);},'OCuYl':_0x47b022(0xf6),'NcbNq':'browserWSEndpoint','HjIap':_0x47b022(0x11a),'rrsLG':function(_0x7d1cc1,_0x58f627){return _0x7d1cc1(_0x58f627);}};if(!_0x5725be)return null;let _0x4ce011=global[_0x47b022(0xfb)]||_0x2eb3ae[_0x47b022(0x119)];if(_0x2eb3ae[_0x47b022(0xfe)](_0x5725be[_0x47b022(0xf8)][_0x47b022(0x11d)],_0x2eb3ae['zUdJV'])){const _0x50d718=_0x5725be[_0x47b022(0xf6)];if(!_0x50d718)return null;const _0x2211a6=_0x50d718[_0x47b022(0x123)],_0x55261d=_0x2eb3ae['imKMT'](getOSVersionFromCaps,_0x2eb3ae[_0x47b022(0x124)](nestedKeyValue,_0x5725be,[_0x2eb3ae[_0x47b022(0x109)],_0x2eb3ae['mXvds']]));return{[_0x4ce011]:{'browser':_0x2211a6[_0x47b022(0x12a)],'browser_version':_0x2211a6[_0x47b022(0x121)],'capabilities':_0x2211a6,'platform':_0x2211a6[_0x47b022(0x12b)],'platform_version':_0x2211a6[_0x47b022(0x117)]||_0x55261d,'product':_0x2eb3ae['imKMT'](getObservabilityLinkedProductName,_0x2211a6),'session_id':_0x50d718[_0x47b022(0x10f)]}};}else{if(_0x2eb3ae[_0x47b022(0xfe)](_0x5725be[_0x47b022(0xf8)]['name'],_0x2eb3ae['FGexA'])){const _0x3b8822=PlaywrightSessionDetails[_0x47b022(0x136)]();_0x4ce011=_0x3b8822[_0x47b022(0x107)]||_0x4ce011;const _0x2f1a8b=_0x2eb3ae[_0x47b022(0x10c)](nestedKeyValue,_0x5725be,[_0x2eb3ae[_0x47b022(0x109)],_0x2eb3ae['OCuYl'],_0x2eb3ae['NcbNq']]),_0x12de4a=_0x2f1a8b?JSON[_0x47b022(0x125)](new URL(_0x2f1a8b)[_0x47b022(0x142)][_0x47b022(0x138)](_0x2eb3ae[_0x47b022(0x134)])):{};return{[_0x4ce011]:{'browser':_0x3b8822['browser']||_0x12de4a[_0x47b022(0x12a)],'browser_version':_0x3b8822[_0x47b022(0x128)]||_0x12de4a['browser_version'],'capabilities':_0x12de4a,'platform':_0x3b8822[_0x47b022(0xf5)],'platform_version':_0x3b8822['platform_version'],'product':_0x2eb3ae[_0x47b022(0x104)](getObservabilityLinkedProductName,_0x12de4a),'session_id':_0x3b8822[_0x47b022(0x10a)]}};}}},exports['processWebDriverConfig']=_0x41286e=>{const _0x1005a4=a3_0x5f102d,_0x588e13={'mQiFY':function(_0x37d6da){return _0x37d6da();},'NfzQX':_0x1005a4(0x13e),'LxuAh':function(_0x28ae6d,_0x25e47a){return _0x28ae6d!==_0x25e47a;},'AJQEt':_0x1005a4(0xff),'jGCPD':_0x1005a4(0x105),'KbEBa':function(_0x3d7f22,_0x486f47){return _0x3d7f22(_0x486f47);},'VNboy':_0x1005a4(0x131)};if(_0x588e13[_0x1005a4(0x122)](isAccessibilityAutomationSession)){const _0x46dd4a=_0x41286e[_0x1005a4(0xf6)],_0x5d01a4=_0x46dd4a['capabilities'];global['accessibilityPlatform']=!![];!accessibilityHelper[_0x1005a4(0x100)](_0x5d01a4[_0x1005a4(0x12a)])&&(logger[_0x1005a4(0x12d)](_0x588e13['NfzQX']),global['accessibilityPlatform']=![]);if(_0x588e13[_0x1005a4(0x11b)](_0x5d01a4['browserVersion'],_0x588e13[_0x1005a4(0x106)])){const _0x5bafe0=_0x588e13[_0x1005a4(0x122)](isBrowserstackInfra),_0x313aad=accessibilityHelper[_0x1005a4(0xfd)](_0x5d01a4['browserName'],_0x5bafe0),_0x69b68b=accessibilityHelper['getBrowserDisplayName'](_0x5d01a4[_0x1005a4(0x12a)]);if(!accessibilityHelper[_0x1005a4(0x132)](_0x5d01a4[_0x1005a4(0x121)],_0x313aad)){const _0x457201=_0x5bafe0?'':_0x588e13[_0x1005a4(0x13f)];logger[_0x1005a4(0x12d)](_0x1005a4(0x114)+_0x69b68b+_0x1005a4(0x10e)+_0x313aad+'\x20or\x20higher\x20'+_0x457201+'.'),global[_0x1005a4(0xfc)]=![];}}!_0x588e13[_0x1005a4(0x13a)](isUndefined,_0x5d01a4[_0x1005a4(0x102)])&&(logger['warn'](_0x588e13[_0x1005a4(0x103)]),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x340987=>{const _0x2820f8=a3_0x5f102d,_0x450f43={};_0x450f43[_0x2820f8(0x10d)]=function(_0x259c2c,_0x1e0245){return _0x259c2c!==_0x1e0245;},_0x450f43[_0x2820f8(0x113)]=_0x2820f8(0x13b),_0x450f43['HqkpE']=_0x2820f8(0x140),_0x450f43[_0x2820f8(0x101)]='browserstack_accessibility_automation_script';const _0x9579d=_0x450f43;if(!_0x340987)return![];else{if(_0x9579d[_0x2820f8(0x10d)](typeof _0x340987,_0x9579d['AeYNT']))return!![];}return!_0x340987[_0x2820f8(0x12c)](_0x9579d[_0x2820f8(0x135)])&&!_0x340987[_0x2820f8(0x12c)](_0x9579d[_0x2820f8(0x101)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x3ef816=a4_0x2e62;(function(_0x14809b,_0x474e70){const _0x5d4398=a4_0x2e62,_0x30569f=_0x14809b();while(!![]){try{const _0x608086=-parseInt(_0x5d4398(0x274))/0x1+-parseInt(_0x5d4398(0x24c))/0x2*(parseInt(_0x5d4398(0x285))/0x3)+parseInt(_0x5d4398(0x2a1))/0x4+parseInt(_0x5d4398(0x22b))/0x5*(parseInt(_0x5d4398(0x1f4))/0x6)+parseInt(_0x5d4398(0x1ef))/0x7*(parseInt(_0x5d4398(0x283))/0x8)+parseInt(_0x5d4398(0x211))/0x9*(parseInt(_0x5d4398(0x1f6))/0xa)+parseInt(_0x5d4398(0x1eb))/0xb;if(_0x608086===_0x474e70)break;else _0x30569f['push'](_0x30569f['shift']());}catch(_0x2ba5b9){_0x30569f['push'](_0x30569f['shift']());}}}(a4_0x1df6,0x7e286));function a4_0x2e62(_0x53ac47,_0x25c43a){const _0x1df69b=a4_0x1df6();return a4_0x2e62=function(_0x2e6232,_0x2a6980){_0x2e6232=_0x2e6232-0x1df;let _0x124c75=_0x1df69b[_0x2e6232];return _0x124c75;},a4_0x2e62(_0x53ac47,_0x25c43a);}const path=require('path'),util=require('util'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3ef816(0x234)),testOpsHelper=require(a4_0x3ef816(0x1e9)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x3ef816(0x267)),logger=require(a4_0x3ef816(0x1fc))[a4_0x3ef816(0x1e6)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x3ef816(0x25b)),PlaywrightSessionDetails=require(a4_0x3ef816(0x22e)),debug=testOpsHelper[a4_0x3ef816(0x201)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3ef816(0x224)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3ef816(0x275)),constants=require(a4_0x3ef816(0x224)),STATE_PASSED=a4_0x3ef816(0x1fb),STATE_FAILED=a4_0x3ef816(0x261),a4_0x1a296c={};a4_0x1a296c[a4_0x3ef816(0x2ba)]=a4_0x3ef816(0x2b0),a4_0x1a296c[a4_0x3ef816(0x2bd)]=a4_0x3ef816(0x1ff),a4_0x1a296c['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x1a296c[a4_0x3ef816(0x286)]=a4_0x3ef816(0x212),a4_0x1a296c[a4_0x3ef816(0x1e7)]=a4_0x3ef816(0x206);function a4_0x1df6(){const _0x53194a=['pid','resetSkipTestHooks','keys','VmDLy','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','dGaij','title','PathHelper','feature','format','then','accessibilityPlatform','STATE_PASSED','appendTestItemLog','O11yHelper','getHooksForTest','suites','MXdXg','status','file','winstonLogger','HOOK_RUN_FINISHED','RBRuQ','../../helpers/test-observability/utils','waIkP','13806727qjvVRA','prefixTestPath','LcALN','XBkaZ','17549grTMLE','vfiwx','LRHAA','__platformCaps','currentTest','9822KaWcPm','xweik','16940XrwGTg','setupBrowserDetails','_paths','test_run_uuid','bind','passed','../../helpers/logger','failure_backtrace','getInstance','TestRunFinished','mapTestHooks','debug','JFMNS','errorsDetailed','bddSteps','uMBPD','HookRunFinished','ctx','failure','startedAt','REAbh','lPRsm','replace','LogCreated','toISOString','nGZqH','eventType','2178rYkFYf','HookRunStarted','yavTy','removeAllListeners','qzzvY','relative','chyTE','string','rdPuj','DZPsz','findGitConfig','meta','XpGdd','wYIEI','Failed\x20to\x20parse\x20wsendpoint\x20','markedStatus','GJOfr','BmBYL','find','../utils/constants','Nggpo','wqDLZ','gHbPF','splice','jksKF','stepAnalyticsId','10oRdhcm','sendCBTInfo','_afterAll','../playwright/sessionDetails','comment','apply','hook_type','_testEnv','NWqOP','../../helpers/helper','pJbTL','hook','aSqBl','ACBnd','NCkVv','3|5|1|0|4|2','EPMyj','CODECEPT','Rbyrj','PLAYWRIGHT_HUB_URL','initializeBddStep','WEQCE','PLDEB','hasLiveDriverSession','Fgtgv','zkjmq','test','toLowerCase','event_type','duration','hook_run_uuid','enabled','hookAnalyticsId','1870250NtSZEO','dtwpo','UNHfw','defineProperty','bs:addLog:','Ejfbr','_afterEach','expanded','sObgV','IIAyf','patchConsoleLogger','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','hpLSi','lrxep','gNVFC','../../helpers/test-observability/requestQueueHandler','CxRwA','MHQIn','stop','failure_reason_expanded','wsEndpoint','failed','inspect','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','dirname','retryOf','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','../../helpers/test-observability/constants','uploadEventData','connectOverCDP','constructor','bddStepStart','ElaZj','length','currentHook','pRIWr','getCBTInfo','groups','logs','toUpperCase','400007kOzfhj','../../helpers/testhub/utils.js','SxsOE','BDTnM','STATE_FAILED','fullTitle','driver','hook_run','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','now','frameworkName','woqLe','stringify','toString','reOFq','328AUsCSh','EFZiR','3IFWvSo','HOOK_RUN_STARTED','getRootParentFile','uuid','cjnku','finished_at','parent','skipped','.git','yUuwY','fireEvent','MZKjM','Playwright','forEach','result','concat','message','AadnJ','cdnkx','PSZFE','TaMDg','YboUx','DAzsl','name','getTime','BFOSe','pending','push','322832VfKOZz','split','WOpzx','integrations','wwILr','TEST_EVENTS','started','body','cwd','bddStepFinish','fQTqT','err','\x20with\x20error\x20:\x20','hooks','type','TestRunStarted','start','match','zVvLB','_beforeAll','text','HNZLN','finished','test_run','getHookType','TEST_RUN_STARTED','VbcCv','wFGSJ','TEST_RUN_FINISHED','testAnalyticsId','pendingHookEvents','hcrHp','KLcRt','BPIGJ','cJvAr','ZQmPq','_beforeEach','GQbiy','uploadData','dPLMJ','includes','iVKkP'];a4_0x1df6=function(){return _0x53194a;};return a4_0x1df6();}const TEST_EVENTS=a4_0x1a296c,parseEvent=_0x4917f2=>{const _0x42f9f9=a4_0x3ef816,_0x4fe487={};_0x4fe487[_0x42f9f9(0x296)]=function(_0x4d1d5a,_0x101e7d){return _0x4d1d5a<_0x101e7d;},_0x4fe487[_0x42f9f9(0x258)]=function(_0x43801e,_0x2188ca){return _0x43801e===_0x2188ca;},_0x4fe487[_0x42f9f9(0x2c8)]='test',_0x4fe487['Nggpo']=_0x42f9f9(0x236),_0x4fe487[_0x42f9f9(0x29b)]=function(_0x3965f5,_0xe6fdd1){return _0x3965f5===_0xe6fdd1;},_0x4fe487[_0x42f9f9(0x2ca)]='skipped',_0x4fe487[_0x42f9f9(0x2d0)]=_0x42f9f9(0x2a7),_0x4fe487['MZKjM']=function(_0x58d6dd,_0x58f683){return _0x58d6dd===_0x58f683;},_0x4fe487[_0x42f9f9(0x24d)]='finished';const _0x855dd9=_0x4fe487,_0x53b549=_0x4917f2[_0x42f9f9(0x2b2)](/^(.*)Run(.*)$/);if(!_0x53b549)return null;if(_0x855dd9[_0x42f9f9(0x296)](_0x53b549[_0x42f9f9(0x26d)],0x3))return null;const _0x37ec13=_0x53b549[0x1][_0x42f9f9(0x246)](),_0x14233f=_0x53b549[0x2][_0x42f9f9(0x246)]();return{'test':_0x855dd9[_0x42f9f9(0x258)](_0x37ec13,_0x855dd9[_0x42f9f9(0x2c8)]),'hook':_0x855dd9['hpLSi'](_0x37ec13,_0x855dd9[_0x42f9f9(0x225)]),'skipped':_0x855dd9[_0x42f9f9(0x29b)](_0x14233f,_0x855dd9['iVKkP']),'started':_0x855dd9['hpLSi'](_0x14233f,_0x855dd9['dGaij']),'finished':_0x855dd9[_0x42f9f9(0x290)](_0x14233f,_0x855dd9[_0x42f9f9(0x24d)])};},mockPWBrowserType=_0x4820ba=>{const _0xa4c7c0=a4_0x3ef816,_0x16d475={'REAbh':function(_0x22efc9,_0x1b5198){return _0x22efc9===_0x1b5198;},'WMVLa':_0xa4c7c0(0x218),'JFMNS':function(_0x524000,_0x47ffdf,_0x23c334){return _0x524000(_0x47ffdf,_0x23c334);},'DZPsz':_0xa4c7c0(0x260),'XpGdd':function(_0x5dd8f9,_0x13556f){return _0x5dd8f9(_0x13556f);},'xweik':'browserstack','Ejfbr':function(_0x1fd26b,_0x5cd2ad){return _0x1fd26b(_0x5cd2ad);},'PLDEB':function(_0x22dd01){return _0x22dd01();},'fQTqT':'Not\x20able\x20to\x20import\x20Browser','SxsOE':'connect','reOFq':'launch'},_0x481f38=_0x16d475[_0xa4c7c0(0x241)](resolveBrowserTypeClass);if(!_0x481f38){_0x16d475[_0xa4c7c0(0x251)](debug,_0x16d475[_0xa4c7c0(0x2ab)]);return;}const _0x7c5786=_0x481f38['prototype'];if(_0x7c5786['obsBrowserTypeMockApplied'])return;const _0x3a23c1=_0x7c5786['connect'];Object['defineProperty'](_0x7c5786,_0x16d475[_0xa4c7c0(0x276)],{'get':function(){const _0x17228e=_0xa4c7c0,_0x2f9065={'uMBPD':function(_0x3cffdd,_0x197b09){const _0x4034da=a4_0x2e62;return _0x16d475[_0x4034da(0x20a)](_0x3cffdd,_0x197b09);},'UgRzM':_0x16d475['WMVLa'],'BDTnM':function(_0x7f79f0,_0xecf5f9,_0x229600){const _0xfb9995=a4_0x2e62;return _0x16d475[_0xfb9995(0x202)](_0x7f79f0,_0xecf5f9,_0x229600);},'woqLe':_0x16d475[_0x17228e(0x21a)],'GQbiy':function(_0x41ef65,_0x47b090){const _0x1d8a6d=_0x17228e;return _0x16d475[_0x1d8a6d(0x21d)](_0x41ef65,_0x47b090);},'JZDAs':_0x16d475[_0x17228e(0x1f5)],'HNZLN':function(_0xbac6ae,_0x1f0215){const _0x8f6513=_0x17228e;return _0x16d475[_0x8f6513(0x251)](_0xbac6ae,_0x1f0215);}};return async function _0x17092e(_0x13e02d,_0x8f6cc){const _0x94d808=_0x17228e,_0x3bee84=_0x2f9065[_0x94d808(0x277)](nestedKeyValue,_0x13e02d,[_0x2f9065[_0x94d808(0x27f)]])||_0x13e02d;let _0x59a321=null,_0x46fddf=null;try{[_0x46fddf,_0x59a321]=_0x3bee84?_0x2f9065[_0x94d808(0x2c6)](parseWSEndpoint,_0x3bee84):[null,null],global[_0x94d808(0x1f2)]=_0x59a321,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x46fddf),_0x46fddf[_0x94d808(0x2c9)](Constants['BROWSERSTACK'])&&(global['__cloud_provider___']=_0x2f9065['JZDAs']);}catch(_0x3ac77b){logger[_0x94d808(0x201)](_0x94d808(0x21f)+_0x3bee84+'\x20'+_0x3ac77b);}_0x2f9065[_0x94d808(0x277)](processAccessibilityCaps,_0x59a321,_0x46fddf);if(global[_0x94d808(0x2d6)]){const _0x2e6c2a=await _0x7c5786[_0x94d808(0x269)][_0x94d808(0x230)](this,[''+Constants[_0x94d808(0x23e)]+_0x2f9065[_0x94d808(0x2b6)](encodeURIComponent,JSON[_0x94d808(0x280)](_0x59a321))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x2e6c2a,_0x4820ba,_0x3bee84),_0x2e6c2a;}return _0x3a23c1[_0x94d808(0x230)](this,arguments)[_0x94d808(0x2d5)](_0x406cbf=>{const _0x21f49e=_0x94d808;let _0x1ca915=_0x13e02d[_0x21f49e(0x260)];return _0x2f9065[_0x21f49e(0x205)](typeof _0x13e02d,_0x2f9065['UgRzM'])&&(_0x1ca915=_0x13e02d),PlaywrightSessionDetails[_0x21f49e(0x1f7)](_0x406cbf,_0x4820ba,_0x1ca915),_0x406cbf;});};}});const _0x2ed64e=_0x7c5786['launch'];Object[_0xa4c7c0(0x24f)](_0x7c5786,_0x16d475[_0xa4c7c0(0x282)],{'get':function(){return async function _0x31907f(){const _0x5c935a=a4_0x2e62;return _0x2ed64e[_0x5c935a(0x230)](this,arguments)[_0x5c935a(0x2d5)](_0x3da4c2=>{const _0x5cf8de=_0x5c935a;return PlaywrightSessionDetails[_0x5cf8de(0x1f7)](_0x3da4c2,null),_0x3da4c2;});};}});};class O11yHelper{['currentTest']=null;[a4_0x3ef816(0x26e)]=null;[a4_0x3ef816(0x24a)]=![];['frameworkName']=![];[a4_0x3ef816(0x2bf)]=[];constructor(_0x207f29,_0x5af4c){const _0x4529ba=a4_0x3ef816,_0x437377={'qzzvY':_0x4529ba(0x23a),'VmDLy':function(_0x2480af){return _0x2480af();},'EPMyj':function(_0x56a22e,_0x5d2ecf){return _0x56a22e===_0x5d2ecf;},'MHQIn':_0x4529ba(0x291),'aSqBl':function(_0x271663,_0x472471){return _0x271663(_0x472471);},'Rbyrj':function(_0x16b93e){return _0x16b93e();}},_0x1fb4dc=_0x437377[_0x4529ba(0x215)][_0x4529ba(0x2a2)]('|');let _0x42cc97=0x0;while(!![]){switch(_0x1fb4dc[_0x42cc97++]){case'0':this[_0x4529ba(0x232)]=_0x437377[_0x4529ba(0x2ce)](getTestEnv);continue;case'1':this['driver']=_0x207f29;continue;case'2':this[_0x4529ba(0x27a)]&&_0x437377[_0x4529ba(0x23b)](this[_0x4529ba(0x27a)][_0x4529ba(0x26a)][_0x4529ba(0x29c)],_0x437377[_0x4529ba(0x25d)])&&_0x437377[_0x4529ba(0x237)](mockPWBrowserType,null);continue;case'3':this[_0x4529ba(0x24a)]=_0x437377[_0x4529ba(0x23d)](shouldProcessEventForTesthub);continue;case'4':this[_0x4529ba(0x1f8)]=new testOpsHelper[(_0x4529ba(0x2d2))]({'cwd':process[_0x4529ba(0x2a9)]()},this['_testEnv']['location_prefix']);continue;case'5':this[_0x4529ba(0x27e)]=_0x5af4c[_0x4529ba(0x27e)];continue;}break;}}[a4_0x3ef816(0x242)](){const _0x37de19=a4_0x3ef816,_0x5f1136={'cdnkx':function(_0x10806c,_0x38edd1){return _0x10806c(_0x38edd1);}};if(!this[_0x37de19(0x27a)])return![];try{const _0x298ad3=_0x5f1136[_0x37de19(0x297)](fetchPlatformDetails,this[_0x37de19(0x27a)]);if(!_0x298ad3)return![];const _0x90bbe0=Object[_0x37de19(0x2cd)](_0x298ad3)[0x0];return!!(_0x90bbe0&&_0x298ad3[_0x90bbe0]&&_0x298ad3[_0x90bbe0]['session_id']);}catch(_0x1218b1){return![];}}['bufferPendingHookEvent'](_0x100650,_0x58b7a5){const _0x16e328=a4_0x3ef816;if(!_0x58b7a5)return;const _0x3a2eb5={};_0x3a2eb5[_0x16e328(0x210)]=_0x100650,_0x3a2eb5[_0x16e328(0x2c7)]=_0x58b7a5,this[_0x16e328(0x2bf)][_0x16e328(0x2a0)](_0x3a2eb5);}async['flushPendingHookEvents'](){const _0x47e066=a4_0x3ef816,_0x1fd254={};_0x1fd254['lPRsm']=function(_0x34273b,_0x5a4a64){return _0x34273b&&_0x5a4a64;};const _0x2cf2b4=_0x1fd254;if(!this[_0x47e066(0x2bf)][_0x47e066(0x26d)])return;if(!this[_0x47e066(0x242)]())return;const _0x4c8f83=this[_0x47e066(0x270)](this[_0x47e066(0x27a)]),_0x5e6d2b=this[_0x47e066(0x2bf)][_0x47e066(0x228)](0x0,this[_0x47e066(0x2bf)][_0x47e066(0x26d)]);for(const {eventType:_0x190083,uploadData:_0x3f8f15}of _0x5e6d2b){try{const _0x543ff8=_0x3f8f15[_0x47e066(0x27b)]||_0x3f8f15[_0x47e066(0x2b8)];_0x2cf2b4[_0x47e066(0x20b)](_0x543ff8,_0x4c8f83)&&(_0x543ff8[_0x47e066(0x2a4)]=_0x4c8f83),await this[_0x47e066(0x28f)](_0x190083,_0x3f8f15);}catch(_0x732a7a){logger[_0x47e066(0x201)](_0x47e066(0x266)+_0x190083+':\x20'+util[_0x47e066(0x2d4)](_0x732a7a));}}}[a4_0x3ef816(0x2b1)](){const _0x1faaeb=a4_0x3ef816;if(!this[_0x1faaeb(0x24a)])return;testOpsHelper[_0x1faaeb(0x256)](),process[_0x1faaeb(0x214)](_0x1faaeb(0x250)+process[_0x1faaeb(0x2cb)]),process['on']('bs:addLog:'+process[_0x1faaeb(0x2cb)],this[_0x1faaeb(0x1df)][_0x1faaeb(0x1fa)](this));}async[a4_0x3ef816(0x25e)](){const _0x4c3b92=a4_0x3ef816;await RequestQueueHandler[_0x4c3b92(0x1fe)]()['shutdown']();}async[a4_0x3ef816(0x1df)](_0x4367e2){const _0x71af5d=a4_0x3ef816,_0xfe22dc={'lrxep':_0x71af5d(0x20d),'wYIEI':function(_0x25ce2c,_0x308418){return _0x25ce2c(_0x308418);}};try{this[_0x71af5d(0x26e)]&&!this[_0x71af5d(0x26e)][_0x71af5d(0x220)]&&(_0x4367e2[_0x71af5d(0x249)]=this[_0x71af5d(0x26e)][_0x71af5d(0x24b)]);!_0x4367e2[_0x71af5d(0x249)]&&this[_0x71af5d(0x1f3)]&&!this[_0x71af5d(0x1f3)][_0x71af5d(0x220)]&&(_0x4367e2[_0x71af5d(0x1f9)]=this[_0x71af5d(0x1f3)][_0x71af5d(0x2be)]);if(_0x4367e2[_0x71af5d(0x249)]||_0x4367e2[_0x71af5d(0x1f9)]){const _0x47e0d0={};_0x47e0d0['event_type']=_0xfe22dc[_0x71af5d(0x259)],_0x47e0d0[_0x71af5d(0x272)]=[_0x4367e2],await SessionHandler[_0x71af5d(0x268)](_0x47e0d0);}}catch(_0x5893a8){_0xfe22dc[_0x71af5d(0x21e)](debug,_0x71af5d(0x263)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x5893a8);}}async[a4_0x3ef816(0x22c)](_0x1f3f2b){const _0x37f959=a4_0x3ef816,_0x2b19b8={'KLcRt':'CBTSessionCreated','yUuwY':function(_0x5a8634,_0x2dd230){return _0x5a8634(_0x2dd230);}};if(!this[_0x37f959(0x24a)])return;const _0x31c108=this[_0x37f959(0x270)](this['driver']);try{const _0x55bb5d={};_0x55bb5d[_0x37f959(0x288)]=_0x1f3f2b,_0x55bb5d['integrations']=_0x31c108;const _0x2165d1=_0x55bb5d,_0x3c5327={};_0x3c5327[_0x37f959(0x247)]=_0x2b19b8[_0x37f959(0x2c1)],_0x3c5327['test_run']=_0x2165d1,await SessionHandler[_0x37f959(0x268)](_0x3c5327);}catch(_0x5b5577){_0x2b19b8[_0x37f959(0x28e)](debug,_0x37f959(0x257)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x5b5577);}}[a4_0x3ef816(0x270)](_0x282f58){const _0x5e70de=a4_0x3ef816,_0x4ec6f7={'wqDLZ':function(_0x37f46a,_0x59ef95){return _0x37f46a(_0x59ef95);}};return _0x4ec6f7[_0x5e70de(0x226)](fetchPlatformDetails,_0x282f58);}[a4_0x3ef816(0x2cc)]=_0x4c8258=>{const _0x403144=a4_0x3ef816,_0x448411={};_0x448411['rdPuj']=_0x403144(0x2c5),_0x448411[_0x403144(0x238)]='_afterEach';const _0x59a0c6=_0x448411;if(!_0x4c8258||!_0x4c8258[_0x403144(0x28b)])return;[_0x59a0c6[_0x403144(0x219)],_0x59a0c6[_0x403144(0x238)]][_0x403144(0x292)](_0xffc209=>{const _0x543a6f=_0x403144,_0x573eb5=_0x4c8258[_0x543a6f(0x28b)][_0xffc209];_0x573eb5['forEach'](_0x2b2b0a=>{const _0x2174ec=_0x543a6f;_0x2b2b0a[_0x2174ec(0x24b)]&&(_0x2b2b0a[_0x2174ec(0x24b)]=null);});});};[a4_0x3ef816(0x200)](_0x49168c){const _0x152d6f=a4_0x3ef816,_0x13cde1={'Flhjr':'codeceptjs','pRIWr':function(_0x485a58){return _0x485a58();},'NWqOP':function(_0x569766,_0x3f294d){return _0x569766===_0x3f294d;},'gHbPF':_0x152d6f(0x252),'TaMDg':_0x152d6f(0x2b4),'RBRuQ':'_afterAll','ZQmPq':_0x152d6f(0x2c5)};if(!_0x49168c||!_0x49168c[_0x152d6f(0x28b)])return;[_0x13cde1[_0x152d6f(0x299)],_0x13cde1[_0x152d6f(0x1e8)],_0x13cde1[_0x152d6f(0x2c4)],_0x13cde1[_0x152d6f(0x227)]][_0x152d6f(0x292)](_0x107bb3=>{const _0x5d1afe=_0x152d6f,_0xe60099=_0x49168c['parent'][_0x107bb3]||[];_0xe60099[_0x5d1afe(0x292)](_0x3d0f44=>{const _0x42f1be=_0x5d1afe;if(_0x3d0f44['title'][_0x42f1be(0x2c9)](_0x13cde1['Flhjr']))return;if(!_0x3d0f44[_0x42f1be(0x24b)])_0x3d0f44['hookAnalyticsId']=_0x13cde1[_0x42f1be(0x26f)](uuidv4);else _0x3d0f44[_0x42f1be(0x220)]&&_0x13cde1[_0x42f1be(0x233)](_0x107bb3,_0x13cde1[_0x42f1be(0x227)])&&(_0x3d0f44[_0x42f1be(0x24b)]=_0x13cde1[_0x42f1be(0x26f)](uuidv4),delete _0x3d0f44[_0x42f1be(0x220)]);});}),this['mapTestHooks'](_0x49168c[_0x152d6f(0x28b)]);}[a4_0x3ef816(0x1e1)](_0x339c93){const _0x53be57=a4_0x3ef816,_0x5ccadc={};_0x5ccadc['VbcCv']=_0x53be57(0x2b4),_0x5ccadc[_0x53be57(0x29a)]=_0x53be57(0x22d),_0x5ccadc[_0x53be57(0x240)]=_0x53be57(0x2c5),_0x5ccadc[_0x53be57(0x24e)]='_afterEach';const _0x4b5f92=_0x5ccadc;if(!_0x339c93||!_0x339c93['parent'])return[];const _0x2f9438=[];return[_0x4b5f92[_0x53be57(0x2bb)],_0x4b5f92[_0x53be57(0x29a)],_0x4b5f92[_0x53be57(0x240)],_0x4b5f92[_0x53be57(0x24e)]]['forEach'](_0x1a77c4=>{const _0x30e0d2=_0x53be57,_0x503d01=_0x339c93[_0x30e0d2(0x28b)][_0x1a77c4]||[];_0x503d01['forEach'](_0xa37f3=>{const _0x242081=_0x30e0d2;_0xa37f3[_0x242081(0x24b)]&&_0x2f9438['push'](_0xa37f3[_0x242081(0x24b)]);});}),[][_0x53be57(0x294)](_0x2f9438,this[_0x53be57(0x1e1)](_0x339c93[_0x53be57(0x28b)]));}[a4_0x3ef816(0x2b9)](_0x577b54){const _0x30df5d=a4_0x3ef816,_0x2b2e54=/^"(?<hook>.*)" hook:.*$/,_0x35a3cb=_0x577b54[_0x30df5d(0x2d1)],_0x39ca8e=_0x35a3cb[_0x30df5d(0x2b2)](_0x2b2e54);if(_0x39ca8e&&_0x39ca8e[_0x30df5d(0x271)])return _0x39ca8e[_0x30df5d(0x271)]['hook'][_0x30df5d(0x273)]()[_0x30df5d(0x20c)]('\x20','_');return null;}[a4_0x3ef816(0x21b)](_0x22d6e7){const _0x183282=a4_0x3ef816,_0x3dbd15={};_0x3dbd15[_0x183282(0x1f0)]=function(_0x36d686,_0x1f0e8f){return _0x36d686===_0x1f0e8f;},_0x3dbd15['gMeyB']=function(_0x39e599,_0x22fc51){return _0x39e599===_0x22fc51;},_0x3dbd15[_0x183282(0x239)]=_0x183282(0x28d);const _0x3639e5=_0x3dbd15,_0x35995c=path['sep'];if(_0x3639e5['vfiwx'](_0x22d6e7,null)||_0x3639e5[_0x183282(0x1f0)](_0x22d6e7,'')||_0x3639e5['gMeyB'](_0x22d6e7,_0x35995c)||_0x3639e5['vfiwx'](_0x22d6e7,path['dirname'](_0x22d6e7)))return null;try{return fs['statSync'](path['join'](_0x22d6e7,_0x3639e5[_0x183282(0x239)])),_0x22d6e7;}catch(_0x3e431){const _0x23ed12=path[_0x183282(0x264)](_0x22d6e7);return this[_0x183282(0x21b)](_0x23ed12);}}['getRootParentFile'](_0x48d89e){const _0x1dae11=a4_0x3ef816,_0x25426a={};_0x25426a[_0x1dae11(0x2c0)]=function(_0x178fec,_0x495042){return _0x178fec>_0x495042;};const _0x537dce=_0x25426a;if(_0x48d89e[_0x1dae11(0x1e5)])return _0x48d89e['file'];if(_0x48d89e[_0x1dae11(0x207)]){const _0x2e5b39=_0x48d89e[_0x1dae11(0x207)][_0x1dae11(0x1f3)]?this[_0x1dae11(0x287)](_0x48d89e['ctx'][_0x1dae11(0x1f3)]):null;if(_0x2e5b39)return _0x2e5b39;}if(_0x48d89e[_0x1dae11(0x28b)]){const _0x4d0f52=this[_0x1dae11(0x287)](_0x48d89e[_0x1dae11(0x28b)])||(_0x48d89e[_0x1dae11(0x28b)][_0x1dae11(0x207)]&&_0x48d89e[_0x1dae11(0x28b)][_0x1dae11(0x207)][_0x1dae11(0x1f3)]?this[_0x1dae11(0x287)](_0x48d89e['parent'][_0x1dae11(0x207)][_0x1dae11(0x1f3)]):null);if(_0x4d0f52)return _0x4d0f52;_0x48d89e[_0x1dae11(0x28b)][_0x1dae11(0x1e2)]&&_0x537dce[_0x1dae11(0x2c0)](_0x48d89e[_0x1dae11(0x28b)][_0x1dae11(0x1e2)]['length'],0x0)&&_0x48d89e[_0x1dae11(0x28b)][_0x1dae11(0x1e2)]['forEach'](_0x236630=>{const _0x18d729=_0x1dae11,_0x460b23=_0x236630[_0x18d729(0x207)]?this['getRootParentFile'](_0x236630[_0x18d729(0x207)]):null;if(_0x460b23)return _0x460b23;});}return null;}['getHierarchy'](_0x596042){const _0x2a1643=a4_0x3ef816,_0x18992c={};_0x18992c[_0x2a1643(0x20f)]=function(_0x490686,_0x11d34a){return _0x490686!==_0x11d34a;};const _0x9d530b=_0x18992c,_0x38ab4d=[];if(_0x596042&&_0x596042['parent']){let _0x1a7185=_0x596042[_0x2a1643(0x28b)];while(_0x1a7185&&_0x9d530b[_0x2a1643(0x20f)](_0x1a7185[_0x2a1643(0x2d1)],'')){_0x38ab4d[_0x2a1643(0x2a0)](_0x1a7185[_0x2a1643(0x2d1)]),_0x1a7185=_0x1a7185[_0x2a1643(0x28b)];}}return _0x38ab4d;}['captureEvent'](_0x114478,_0x44bbb9,_0x54a9c1=undefined){const _0x2d86fb=a4_0x3ef816,_0x4054f0={'pJbTL':function(_0x174254,_0x2defca){return _0x174254(_0x2defca);},'BFOSe':function(_0x1ce27b){return _0x1ce27b();},'PSZFE':function(_0x341881){return _0x341881();},'XBkaZ':_0x2d86fb(0x2ac),'EFZiR':function(_0x48e460,_0x1f77e3){return _0x48e460!==_0x1f77e3;},'cJvAr':function(_0x577544,_0x3673b4){return _0x577544!==_0x3673b4;},'Fgtgv':'File\x20path\x20could\x20not\x20be\x20found','LRHAA':_0x2d86fb(0x29f),'chyTE':_0x2d86fb(0x261),'zkjmq':_0x2d86fb(0x1fb),'LcALN':'skipped','CxRwA':'javascript','MXdXg':function(_0x20aa9a,_0x9b80e){return _0x20aa9a-_0x9b80e;},'jksKF':function(_0x36de4b,_0xe55b46,_0x4d282f,_0x25151f,_0x309b47){return _0x36de4b(_0xe55b46,_0x4d282f,_0x25151f,_0x309b47);},'gNVFC':function(_0xda024,_0x16aa6c){return _0xda024!==_0x16aa6c;},'xeOiM':_0x2d86fb(0x2a4),'KUfGP':_0x2d86fb(0x21c),'GJOfr':_0x2d86fb(0x208),'BVZbm':_0x2d86fb(0x1fd),'IIAyf':'backtrace','yavTy':_0x2d86fb(0x25f),'sObgV':_0x2d86fb(0x253),'BmBYL':function(_0x5c5dad,_0x1caee0){return _0x5c5dad===_0x1caee0;},'wFGSJ':_0x2d86fb(0x27b),'waIkP':_0x2d86fb(0x2b8)};if(!this[_0x2d86fb(0x24a)])return;try{if(_0x44bbb9['fn']&&_0x44bbb9['fn'][_0x2d86fb(0x281)]()[_0x2d86fb(0x2b2)](/browserstack internal helper hook/))return;const _0xcf5f67=_0x4054f0[_0x2d86fb(0x235)](parseEvent,_0x114478);if(!_0xcf5f67)return;if(_0xcf5f67['test']){this[_0x2d86fb(0x1f3)]=_0x44bbb9,this[_0x2d86fb(0x26e)]=null;if(_0xcf5f67[_0x2d86fb(0x2a7)]||_0xcf5f67[_0x2d86fb(0x28c)]){_0x44bbb9[_0x2d86fb(0x209)]=new Date(),_0x44bbb9['markedStatus']=![];if(!_0x44bbb9[_0x2d86fb(0x2be)])_0x44bbb9['testAnalyticsId']=_0x4054f0[_0x2d86fb(0x29e)](uuidv4);else _0x44bbb9[_0x2d86fb(0x220)]&&(!_0x44bbb9['retryOf']&&(_0x44bbb9[_0x2d86fb(0x265)]=_0x44bbb9['testAnalyticsId']),_0x44bbb9['testAnalyticsId']=_0x4054f0[_0x2d86fb(0x29e)](uuidv4));}}else{if(_0xcf5f67[_0x2d86fb(0x236)]){this['currentHook']=_0x44bbb9;if(_0xcf5f67[_0x2d86fb(0x2a7)]){_0x44bbb9['startedAt']=new Date(),_0x44bbb9[_0x2d86fb(0x220)]=![];if(!_0x44bbb9[_0x2d86fb(0x24b)])_0x44bbb9[_0x2d86fb(0x24b)]=_0x4054f0[_0x2d86fb(0x29e)](uuidv4);else _0x44bbb9[_0x2d86fb(0x24b)]&&_0x44bbb9[_0x2d86fb(0x220)]&&(_0x44bbb9['hookAnalyticsId']=_0x4054f0[_0x2d86fb(0x298)](uuidv4));}}}if(_0xcf5f67[_0x2d86fb(0x2b7)]&&_0x44bbb9[_0x2d86fb(0x220)])return;let _0x4f7ea2;try{_0x4f7ea2=this[_0x2d86fb(0x287)](_0x44bbb9);}catch(_0x44ba84){logger[_0x2d86fb(0x201)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x44ba84),_0x4f7ea2=null;}let _0x41c1b2=[];_0x54a9c1&&(_0x41c1b2=[_0x54a9c1,_0x4054f0[_0x2d86fb(0x1ee)]]);const _0x11559e=_0x4054f0[_0x2d86fb(0x284)](_0x44bbb9[_0x2d86fb(0x203)],undefined)?util[_0x2d86fb(0x262)](_0x44bbb9['errorsDetailed'][0x0]):_0x4054f0[_0x2d86fb(0x2c3)](_0x54a9c1,undefined)?_0x54a9c1['toString']():undefined,_0x50faf6=_0x4f7ea2?this[_0x2d86fb(0x21b)](_0x4f7ea2):null,_0xcae4a8=_0x4f7ea2?this[_0x2d86fb(0x1f8)][_0x2d86fb(0x1ec)](this['getRootParentFile'](_0x44bbb9)):_0x4054f0[_0x2d86fb(0x243)];let _0x10356e=_0x4054f0[_0x2d86fb(0x1f1)];const _0x1716c2=!_0xcf5f67['started']?new Date()[_0x2d86fb(0x20e)]():null;if(_0xcf5f67[_0x2d86fb(0x2b7)])_0x10356e=_0x54a9c1?_0x4054f0[_0x2d86fb(0x217)]:_0x4054f0[_0x2d86fb(0x244)],_0x44bbb9['markedStatus']=!![];else _0xcf5f67[_0x2d86fb(0x28c)]&&(_0x10356e=_0x4054f0[_0x2d86fb(0x1ed)],_0x44bbb9[_0x2d86fb(0x220)]=!![]);const _0x3b9299={'framework':this['frameworkName'],'uuid':_0x44bbb9['testAnalyticsId']||_0x44bbb9[_0x2d86fb(0x24b)],'name':_0x44bbb9['title'],'body':{'lang':_0x4054f0[_0x2d86fb(0x25c)],'code':_0x44bbb9[_0x2d86fb(0x2a8)][_0x2d86fb(0x281)]()},'type':_0x44bbb9[_0x2d86fb(0x2af)],'scope':_0x44bbb9[_0x2d86fb(0x279)](),'scopes':this['getHierarchy'](_0x44bbb9),'file_name':_0xcae4a8,'vc_filepath':_0x50faf6?path[_0x2d86fb(0x216)](_0x50faf6,_0x4f7ea2):null,'location':_0xcae4a8,'result':_0x10356e,'failure_reason':_0x11559e,'duration_in_ms':_0x44bbb9['duration']||(_0xcf5f67[_0x2d86fb(0x2b7)]||_0xcf5f67[_0x2d86fb(0x28c)])?_0x4054f0[_0x2d86fb(0x1e3)](Date[_0x2d86fb(0x27d)](),new Date(_0x44bbb9[_0x2d86fb(0x209)])[_0x2d86fb(0x29d)]()):null,'started_at':new Date(_0x44bbb9['startedAt'])[_0x2d86fb(0x20e)](),'finished_at':_0x1716c2,'failure':testOpsHelper['failureData'][_0x2d86fb(0x230)](null,_0x41c1b2),'failure_type':!_0x11559e?null:testOpsHelper['getFailureType'](_0x11559e),'retry_of':_0x44bbb9['retryOf']||null,'tags':_0x44bbb9['tags']||[],'customRerunParam':{'rerun_name':_0x44bbb9[_0x2d86fb(0x279)]()}};_0x4054f0[_0x2d86fb(0x229)](appendTesthubParams,_0x3b9299,_0x114478,_0x44bbb9,FRAMEWORKS[_0x2d86fb(0x23c)]);if(_0xcf5f67[_0x2d86fb(0x236)])[_0x3b9299[_0x2d86fb(0x231)],_0x3b9299[_0x2d86fb(0x29c)]]=[this['getHookType'](_0x44bbb9),_0x44bbb9[_0x2d86fb(0x207)][_0x2d86fb(0x245)][_0x2d86fb(0x2d1)]],_0xcf5f67[_0x2d86fb(0x2b7)]?_0x4054f0[_0x2d86fb(0x25a)](_0x3b9299['result'],_0x4054f0[_0x2d86fb(0x217)])&&(_0x3b9299[_0x2d86fb(0x293)]=_0x4054f0[_0x2d86fb(0x244)]):_0x3b9299[_0x2d86fb(0x2a8)]={};else _0xcf5f67[_0x2d86fb(0x245)]&&(this[_0x2d86fb(0x200)](_0x44bbb9),_0xcf5f67[_0x2d86fb(0x28c)]&&this[_0x2d86fb(0x2cc)](_0x44bbb9),(_0xcf5f67[_0x2d86fb(0x2b7)]||_0xcf5f67[_0x2d86fb(0x28c)])&&(_0x3b9299[_0x2d86fb(0x2ae)]=this[_0x2d86fb(0x1e1)](_0x44bbb9)));this[_0x2d86fb(0x27a)]&&(_0xcf5f67['started']||_0xcf5f67[_0x2d86fb(0x28c)])&&(_0x3b9299[_0x4054f0['xeOiM']]=this[_0x2d86fb(0x270)](this[_0x2d86fb(0x27a)]));_0xcf5f67['test']&&_0xcf5f67[_0x2d86fb(0x2b7)]&&_0x44bbb9[_0x2d86fb(0x204)]&&(_0x3b9299[_0x4054f0['KUfGP']]={'feature':{'name':_0x44bbb9['parent'][_0x2d86fb(0x2d3)][_0x2d86fb(0x29c)],'path':_0x3b9299['file_name'],'description':_0x44bbb9[_0x2d86fb(0x28b)][_0x2d86fb(0x22f)]},'scenario':{'name':_0x44bbb9[_0x2d86fb(0x2d1)]},'steps':_0x44bbb9['bddSteps']});const _0x33b113=_0x3b9299[_0x4054f0[_0x2d86fb(0x221)]][0x0];_0x33b113&&(_0x3b9299[_0x4054f0['BVZbm']]=_0x33b113[_0x4054f0[_0x2d86fb(0x255)]],_0x3b9299[_0x4054f0[_0x2d86fb(0x213)]]=_0x33b113[_0x4054f0[_0x2d86fb(0x254)]]);if(_0x44bbb9[_0x2d86fb(0x204)])for(const _0x4d5952 of _0x44bbb9[_0x2d86fb(0x204)]){!_0x4d5952[_0x2d86fb(0x28a)]&&(_0x4d5952[_0x2d86fb(0x28a)]=new Date()[_0x2d86fb(0x20e)](),_0x4054f0[_0x2d86fb(0x222)](_0x4d5952[_0x2d86fb(0x293)],_0x4054f0[_0x2d86fb(0x1f1)])&&(_0x33b113?(_0x4d5952[_0x2d86fb(0x293)]=_0x4054f0[_0x2d86fb(0x217)],_0x4d5952[_0x2d86fb(0x208)]=_0x33b113[_0x4054f0[_0x2d86fb(0x255)]][0x0]):_0x4d5952[_0x2d86fb(0x293)]=_0x4054f0['zkjmq']));}const _0x34ba8a={};_0x34ba8a[_0x2d86fb(0x247)]=_0xcf5f67[_0x2d86fb(0x28c)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x114478;const _0x485ce4=_0x34ba8a;return _0xcf5f67[_0x2d86fb(0x236)]?_0x485ce4[_0x4054f0[_0x2d86fb(0x2bc)]]=_0x3b9299:_0x485ce4[_0x4054f0[_0x2d86fb(0x1ea)]]=_0x3b9299,_0x485ce4;}catch(_0x71bc7d){logger[_0x2d86fb(0x201)](_0x2d86fb(0x2cf)+_0x114478+_0x2d86fb(0x2ad)+_0x71bc7d);}}async['fireEvent'](_0xa22cb8,_0x1e30fb){const _0xe80ef0=a4_0x3ef816;if(!this[_0xe80ef0(0x24a)]||!_0x1e30fb||!_0xa22cb8)return![];try{return await SessionHandler['uploadEventData'](_0x1e30fb);}catch(_0x3e18b1){logger[_0xe80ef0(0x201)](_0xe80ef0(0x27c)+_0xa22cb8+_0xe80ef0(0x2ad)+_0x3e18b1);}}[a4_0x3ef816(0x23f)](_0x4295d8){const _0x3f5ca7=a4_0x3ef816,_0x4ffd1f={};_0x4ffd1f[_0x3f5ca7(0x2c2)]=_0x3f5ca7(0x29f);const _0xfafd41=_0x4ffd1f;return{'id':_0x4295d8[_0x3f5ca7(0x22a)],'text':_0x4295d8[_0x3f5ca7(0x2b5)],'keyword':_0x4295d8['keyword'],'started_at':_0x4295d8[_0x3f5ca7(0x209)]['toISOString'](),'result':_0xfafd41[_0x3f5ca7(0x2c2)]};}[a4_0x3ef816(0x26b)](_0x2db606){const _0x40f688=a4_0x3ef816,_0x3dc745={'zVvLB':function(_0xc8efcc){return _0xc8efcc();}};!this[_0x40f688(0x1f3)][_0x40f688(0x204)]&&(this[_0x40f688(0x1f3)][_0x40f688(0x204)]=[]),!_0x2db606[_0x40f688(0x22a)]&&(_0x2db606['stepAnalyticsId']=_0x3dc745[_0x40f688(0x2b3)](uuidv4),_0x2db606[_0x40f688(0x209)]=new Date(),this[_0x40f688(0x1f3)][_0x40f688(0x204)][_0x40f688(0x2a0)](this['initializeBddStep'](_0x2db606)));}[a4_0x3ef816(0x2aa)](_0x46b555){const _0x516052=a4_0x3ef816,_0x10cd02={'ElaZj':function(_0x1c42f7,_0x1bab9a){return _0x1c42f7(_0x1bab9a);},'cjnku':'success','wwILr':_0x516052(0x29f),'glVfA':_0x516052(0x1fb),'WOpzx':function(_0xc43273,_0x365c8c){return _0xc43273-_0x365c8c;}};let _0x1ec9cf=this[_0x516052(0x1f3)][_0x516052(0x204)][_0x516052(0x223)](_0x50ca33=>_0x50ca33['id']===_0x46b555[_0x516052(0x22a)]);_0x10cd02[_0x516052(0x26c)](isUndefined,_0x1ec9cf)&&(_0x1ec9cf=this[_0x516052(0x23f)](_0x46b555)),_0x1ec9cf[_0x516052(0x293)]=[_0x10cd02[_0x516052(0x289)],_0x10cd02[_0x516052(0x2a5)]][_0x516052(0x2c9)](_0x46b555['status'])?_0x10cd02['glVfA']:_0x46b555[_0x516052(0x1e4)],_0x1ec9cf[_0x516052(0x28a)]=new Date()['toISOString'](),_0x1ec9cf[_0x516052(0x248)]=_0x10cd02[_0x516052(0x2a3)](Date[_0x516052(0x27d)](),_0x46b555['startedAt'][_0x516052(0x29d)]()),_0x1ec9cf[_0x516052(0x208)]=_0x46b555[_0x516052(0x2ac)]?_0x46b555[_0x516052(0x2ac)][_0x516052(0x295)]:null;}}const a4_0x49b5b7={};a4_0x49b5b7[a4_0x3ef816(0x1e0)]=O11yHelper,a4_0x49b5b7[a4_0x3ef816(0x2d7)]=STATE_PASSED,a4_0x49b5b7[a4_0x3ef816(0x278)]=STATE_FAILED,a4_0x49b5b7[a4_0x3ef816(0x2a6)]=TEST_EVENTS,module['exports']=a4_0x49b5b7;
|
|
1
|
+
const a4_0x227bc7=a4_0x20bd;(function(_0x2ec3e6,_0x5133c9){const _0x1e9ec9=a4_0x20bd,_0x24626d=_0x2ec3e6();while(!![]){try{const _0x24fa9c=-parseInt(_0x1e9ec9(0x1be))/0x1*(-parseInt(_0x1e9ec9(0x25a))/0x2)+parseInt(_0x1e9ec9(0x1ae))/0x3+parseInt(_0x1e9ec9(0x190))/0x4+parseInt(_0x1e9ec9(0x1c9))/0x5*(parseInt(_0x1e9ec9(0x25d))/0x6)+-parseInt(_0x1e9ec9(0x1e6))/0x7*(parseInt(_0x1e9ec9(0x1e5))/0x8)+-parseInt(_0x1e9ec9(0x1d5))/0x9*(-parseInt(_0x1e9ec9(0x1b2))/0xa)+parseInt(_0x1e9ec9(0x1d1))/0xb*(-parseInt(_0x1e9ec9(0x270))/0xc);if(_0x24fa9c===_0x5133c9)break;else _0x24626d['push'](_0x24626d['shift']());}catch(_0x579228){_0x24626d['push'](_0x24626d['shift']());}}}(a4_0x49f8,0x35497));const path=require(a4_0x227bc7(0x23a)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a4_0x227bc7(0x1b3)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x227bc7(0x1ff)),testOpsHelper=require(a4_0x227bc7(0x1f5)),{getTestEnv}=require(a4_0x227bc7(0x246)),{FRAMEWORKS}=require(a4_0x227bc7(0x1d9)),logger=require(a4_0x227bc7(0x199))['winstonLogger'],SessionHandler=require(a4_0x227bc7(0x1df)),RequestQueueHandler=require(a4_0x227bc7(0x24d)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x227bc7(0x205)),Constants=require(a4_0x227bc7(0x202)),{fetchPlatformDetails}=require(a4_0x227bc7(0x24e)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x227bc7(0x1aa)),constants=require(a4_0x227bc7(0x202)),STATE_PASSED=a4_0x227bc7(0x1d8),STATE_FAILED=a4_0x227bc7(0x1f3),a4_0x5b5dab={};a4_0x5b5dab[a4_0x227bc7(0x215)]=a4_0x227bc7(0x21c),a4_0x5b5dab[a4_0x227bc7(0x26b)]=a4_0x227bc7(0x284),a4_0x5b5dab[a4_0x227bc7(0x21a)]=a4_0x227bc7(0x1ec),a4_0x5b5dab['HOOK_RUN_STARTED']=a4_0x227bc7(0x221),a4_0x5b5dab[a4_0x227bc7(0x27b)]=a4_0x227bc7(0x1f9);const TEST_EVENTS=a4_0x5b5dab,parseEvent=_0x2a9073=>{const _0x1bb9dd=a4_0x227bc7,_0x1bd10f={};_0x1bd10f[_0x1bb9dd(0x191)]=function(_0x2e62d5,_0xf8389d){return _0x2e62d5<_0xf8389d;},_0x1bd10f['KjaSZ']=function(_0x22bb12,_0x182ac3){return _0x22bb12===_0x182ac3;},_0x1bd10f[_0x1bb9dd(0x1c4)]='test',_0x1bd10f[_0x1bb9dd(0x20f)]=_0x1bb9dd(0x222),_0x1bd10f['NnQpE']='skipped',_0x1bd10f[_0x1bb9dd(0x28a)]=function(_0x5b76e5,_0x5c6d6f){return _0x5b76e5===_0x5c6d6f;},_0x1bd10f[_0x1bb9dd(0x272)]=_0x1bb9dd(0x26f),_0x1bd10f[_0x1bb9dd(0x23c)]=function(_0x2090b1,_0x1f375d){return _0x2090b1===_0x1f375d;},_0x1bd10f[_0x1bb9dd(0x251)]=_0x1bb9dd(0x1e3);const _0x2b1618=_0x1bd10f,_0x1f9340=_0x2a9073[_0x1bb9dd(0x1e8)](/^(.*)Run(.*)$/);if(!_0x1f9340)return null;if(_0x2b1618[_0x1bb9dd(0x191)](_0x1f9340[_0x1bb9dd(0x1ef)],0x3))return null;const _0x40fba7=_0x1f9340[0x1][_0x1bb9dd(0x1c7)](),_0x15e9d3=_0x1f9340[0x2][_0x1bb9dd(0x1c7)]();return{'test':_0x2b1618[_0x1bb9dd(0x1b8)](_0x40fba7,_0x2b1618[_0x1bb9dd(0x1c4)]),'hook':_0x2b1618[_0x1bb9dd(0x1b8)](_0x40fba7,_0x2b1618['KkARa']),'skipped':_0x2b1618[_0x1bb9dd(0x1b8)](_0x15e9d3,_0x2b1618[_0x1bb9dd(0x235)]),'started':_0x2b1618['MdRCA'](_0x15e9d3,_0x2b1618[_0x1bb9dd(0x272)]),'finished':_0x2b1618[_0x1bb9dd(0x23c)](_0x15e9d3,_0x2b1618[_0x1bb9dd(0x251)])};},mockPWBrowserType=_0x209244=>{const _0x2d3676=a4_0x227bc7,_0x3b1053={'aqFAX':function(_0x4c16d4,_0x342ed1,_0x16aa29){return _0x4c16d4(_0x342ed1,_0x16aa29);},'GbUwk':_0x2d3676(0x207),'HFJkH':function(_0x28da2d,_0x401f52){return _0x28da2d(_0x401f52);},'JcHmy':'browserstack','bfJGX':function(_0x475bfb,_0x8436f5){return _0x475bfb(_0x8436f5);},'dhnCH':function(_0x27fad2,_0x167792){return _0x27fad2===_0x167792;},'tZsDH':_0x2d3676(0x287),'MiTae':function(_0x1c0f89){return _0x1c0f89();},'JiRQs':_0x2d3676(0x209),'DrlhU':_0x2d3676(0x212),'qoCDw':'launch'},_0x43feb2=_0x3b1053['MiTae'](resolveBrowserTypeClass);if(!_0x43feb2){_0x3b1053['HFJkH'](debug,_0x3b1053[_0x2d3676(0x24f)]);return;}const _0x11a60e=_0x43feb2['prototype'];if(_0x11a60e[_0x2d3676(0x237)])return;const _0x4e5c03=_0x11a60e[_0x2d3676(0x212)];Object['defineProperty'](_0x11a60e,_0x3b1053[_0x2d3676(0x1f1)],{'get':function(){const _0x38b8f7=_0x2d3676,_0xf29a60={'rBnFD':function(_0x48e1c6,_0x57c89c){const _0x3dc10b=a4_0x20bd;return _0x3b1053[_0x3dc10b(0x1ca)](_0x48e1c6,_0x57c89c);},'eyvdM':_0x3b1053[_0x38b8f7(0x1c0)]};return async function _0x552551(_0x2b4779,_0x411b99){const _0x561b76=_0x38b8f7,_0x508da0=_0x3b1053[_0x561b76(0x1d6)](nestedKeyValue,_0x2b4779,[_0x3b1053[_0x561b76(0x224)]])||_0x2b4779;let _0x5984cf=null,_0x57a23f=null;try{[_0x57a23f,_0x5984cf]=_0x508da0?_0x3b1053['HFJkH'](parseWSEndpoint,_0x508da0):[null,null],global[_0x561b76(0x1e2)]=_0x5984cf,logger[_0x561b76(0x211)](_0x561b76(0x277)+_0x57a23f),_0x57a23f[_0x561b76(0x248)](Constants[_0x561b76(0x1b9)])&&(global[_0x561b76(0x229)]=_0x3b1053[_0x561b76(0x231)]);}catch(_0x2c17c5){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x508da0+'\x20'+_0x2c17c5);}_0x3b1053[_0x561b76(0x1d6)](processAccessibilityCaps,_0x5984cf,_0x57a23f);if(global[_0x561b76(0x273)]){const _0x32a951=await _0x11a60e['connectOverCDP'][_0x561b76(0x1c5)](this,[''+Constants[_0x561b76(0x234)]+_0x3b1053['bfJGX'](encodeURIComponent,JSON['stringify'](_0x5984cf))]);return PlaywrightSessionDetails[_0x561b76(0x245)](_0x32a951,_0x209244,_0x508da0),_0x32a951;}return _0x4e5c03[_0x561b76(0x1c5)](this,arguments)[_0x561b76(0x265)](_0x1c2040=>{const _0x2a0be4=_0x561b76;let _0x5b7c6e=_0x2b4779[_0x2a0be4(0x207)];return _0xf29a60[_0x2a0be4(0x1b4)](typeof _0x2b4779,_0xf29a60[_0x2a0be4(0x282)])&&(_0x5b7c6e=_0x2b4779),PlaywrightSessionDetails[_0x2a0be4(0x245)](_0x1c2040,_0x209244,_0x5b7c6e),_0x1c2040;});};}});const _0x4e1e95=_0x11a60e[_0x2d3676(0x1e1)];Object[_0x2d3676(0x23e)](_0x11a60e,_0x3b1053['qoCDw'],{'get':function(){return async function _0x4e8d8d(){const _0x33ae0c=a4_0x20bd;return _0x4e1e95[_0x33ae0c(0x1c5)](this,arguments)[_0x33ae0c(0x265)](_0x2f92ca=>{const _0x52322e=_0x33ae0c;return PlaywrightSessionDetails[_0x52322e(0x245)](_0x2f92ca,null),_0x2f92ca;});};}});};class O11yHelper{[a4_0x227bc7(0x208)]=null;[a4_0x227bc7(0x1c3)]=null;[a4_0x227bc7(0x200)]=![];[a4_0x227bc7(0x1f4)]=![];[a4_0x227bc7(0x1b6)]=[];constructor(_0x174674,_0x3cd6ed){const _0x5cc724=a4_0x227bc7,_0x2f5eaf={'oLlFh':_0x5cc724(0x1d3),'LYvsD':function(_0x5d283b){return _0x5d283b();},'BtnsR':function(_0x160309,_0x2d6dc0){return _0x160309===_0x2d6dc0;},'hllsw':_0x5cc724(0x264),'LvFtM':function(_0x1bb1bf,_0x1e63bd){return _0x1bb1bf(_0x1e63bd);}},_0x5a487c=_0x2f5eaf['oLlFh'][_0x5cc724(0x19c)]('|');let _0x2277be=0x0;while(!![]){switch(_0x5a487c[_0x2277be++]){case'0':this[_0x5cc724(0x1a9)]=_0x2f5eaf[_0x5cc724(0x226)](getTestEnv);continue;case'1':this[_0x5cc724(0x1f4)]=_0x3cd6ed[_0x5cc724(0x1f4)];continue;case'2':this['driver']=_0x174674;continue;case'3':this[_0x5cc724(0x1a6)]&&_0x2f5eaf[_0x5cc724(0x23b)](this['driver']['constructor'][_0x5cc724(0x20c)],_0x2f5eaf[_0x5cc724(0x1cc)])&&_0x2f5eaf[_0x5cc724(0x268)](mockPWBrowserType,null);continue;case'4':this[_0x5cc724(0x200)]=_0x2f5eaf[_0x5cc724(0x226)](shouldProcessEventForTesthub);continue;case'5':this[_0x5cc724(0x278)]=new testOpsHelper[(_0x5cc724(0x1ab))]({'cwd':process[_0x5cc724(0x28c)]()},this['_testEnv']['location_prefix']);continue;}break;}}[a4_0x227bc7(0x274)](){const _0x3857ac=a4_0x227bc7,_0x3dd75f={'CvPCB':function(_0x51a591,_0x2f37ec){return _0x51a591(_0x2f37ec);}};if(!this['driver'])return![];try{const _0x336054=_0x3dd75f['CvPCB'](fetchPlatformDetails,this[_0x3857ac(0x1a6)]);if(!_0x336054)return![];const _0x5d0676=Object[_0x3857ac(0x203)](_0x336054)[0x0];return!!(_0x5d0676&&_0x336054[_0x5d0676]&&_0x336054[_0x5d0676][_0x3857ac(0x1bc)]);}catch(_0x3872be){return![];}}[a4_0x227bc7(0x22b)](_0xeef33d,_0x2d4805){const _0x3c7b5d=a4_0x227bc7;if(!_0x2d4805)return;const _0x499a80={};_0x499a80['eventType']=_0xeef33d,_0x499a80[_0x3c7b5d(0x201)]=_0x2d4805,this[_0x3c7b5d(0x1b6)]['push'](_0x499a80);}async['flushPendingHookEvents'](){const _0xd56a4f=a4_0x227bc7,_0xda0b88={};_0xda0b88[_0xd56a4f(0x1a7)]=function(_0x381f76,_0x115a8f){return _0x381f76&&_0x115a8f;};const _0x4c05e3=_0xda0b88;if(!this[_0xd56a4f(0x1b6)][_0xd56a4f(0x1ef)])return;if(!this['hasLiveDriverSession']())return;const _0x20d6f6=this[_0xd56a4f(0x23d)](this[_0xd56a4f(0x1a6)]),_0x469bd2=this[_0xd56a4f(0x1b6)][_0xd56a4f(0x20b)](0x0,this[_0xd56a4f(0x1b6)][_0xd56a4f(0x1ef)]);for(const {eventType:_0x1df69b,uploadData:_0x560342}of _0x469bd2){try{const _0x5a8f82=_0x560342['hook_run']||_0x560342[_0xd56a4f(0x262)];_0x4c05e3[_0xd56a4f(0x1a7)](_0x5a8f82,_0x20d6f6)&&(_0x5a8f82['integrations']=_0x20d6f6),await this['fireEvent'](_0x1df69b,_0x560342);}catch(_0x5bb9e0){logger[_0xd56a4f(0x211)](_0xd56a4f(0x22a)+_0x1df69b+':\x20'+util[_0xd56a4f(0x266)](_0x5bb9e0));}}}[a4_0x227bc7(0x1fb)](){const _0x261370=a4_0x227bc7;if(!this['enabled'])return;testOpsHelper[_0x261370(0x22e)](),process[_0x261370(0x254)](_0x261370(0x213)+process[_0x261370(0x225)]),process['on']('bs:addLog:'+process['pid'],this['appendTestItemLog'][_0x261370(0x1f0)](this));}async[a4_0x227bc7(0x285)](){await RequestQueueHandler['getInstance']()['shutdown']();}async['appendTestItemLog'](_0x46b0b6){const _0x15b062=a4_0x227bc7,_0x381055={'fmKVJ':_0x15b062(0x1c1),'HaEbR':function(_0x59165f,_0x5a1507){return _0x59165f(_0x5a1507);}};try{this[_0x15b062(0x1c3)]&&!this[_0x15b062(0x1c3)][_0x15b062(0x263)]&&(_0x46b0b6['hook_run_uuid']=this[_0x15b062(0x1c3)][_0x15b062(0x258)]);!_0x46b0b6['hook_run_uuid']&&this[_0x15b062(0x208)]&&!this['currentTest'][_0x15b062(0x263)]&&(_0x46b0b6['test_run_uuid']=this[_0x15b062(0x208)][_0x15b062(0x1b7)]);if(_0x46b0b6[_0x15b062(0x219)]||_0x46b0b6[_0x15b062(0x249)]){const _0x5ede76={};_0x5ede76[_0x15b062(0x22d)]=_0x381055[_0x15b062(0x240)],_0x5ede76['logs']=[_0x46b0b6],await SessionHandler[_0x15b062(0x26e)](_0x5ede76);}}catch(_0x2309de){_0x381055[_0x15b062(0x269)](debug,_0x15b062(0x19d)+constants[_0x15b062(0x244)]+'\x20with\x20error\x20:\x20'+_0x2309de);}}async[a4_0x227bc7(0x28d)](_0x1d2df8){const _0xf6b2a5=a4_0x227bc7,_0x2421b0={'ZhVwj':_0xf6b2a5(0x217),'QNhXi':function(_0x1f55ea,_0x53b229){return _0x1f55ea(_0x53b229);}};if(!this[_0xf6b2a5(0x200)])return;const _0x2cde05=this[_0xf6b2a5(0x23d)](this['driver']);try{const _0x15c216={};_0x15c216[_0xf6b2a5(0x1b3)]=_0x1d2df8,_0x15c216[_0xf6b2a5(0x259)]=_0x2cde05;const _0x2c0d28=_0x15c216,_0x34b445={};_0x34b445[_0xf6b2a5(0x22d)]=_0x2421b0[_0xf6b2a5(0x21d)],_0x34b445[_0xf6b2a5(0x262)]=_0x2c0d28,await SessionHandler['uploadEventData'](_0x34b445);}catch(_0x140723){_0x2421b0[_0xf6b2a5(0x276)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0xf6b2a5(0x1c6)+_0x140723);}}[a4_0x227bc7(0x23d)](_0x1d68b4){const _0x4f7c12=a4_0x227bc7,_0x573878={'kmoSV':function(_0x54fa41,_0x5f416e){return _0x54fa41(_0x5f416e);}};return _0x573878[_0x4f7c12(0x210)](fetchPlatformDetails,_0x1d68b4);}[a4_0x227bc7(0x242)]=_0x83416=>{const _0x2168db=a4_0x227bc7,_0x27bf36={};_0x27bf36[_0x2168db(0x1fa)]=_0x2168db(0x1bd),_0x27bf36[_0x2168db(0x1ed)]='_afterEach';const _0x2e5688=_0x27bf36;if(!_0x83416||!_0x83416[_0x2168db(0x271)])return;[_0x2e5688[_0x2168db(0x1fa)],_0x2e5688[_0x2168db(0x1ed)]]['forEach'](_0x43626c=>{const _0x5cc9f8=_0x2168db,_0x36d0ff=_0x83416[_0x5cc9f8(0x271)][_0x43626c];_0x36d0ff[_0x5cc9f8(0x1cb)](_0x139c4d=>{const _0x1b63b8=_0x5cc9f8;_0x139c4d['hookAnalyticsId']&&(_0x139c4d[_0x1b63b8(0x258)]=null);});});};[a4_0x227bc7(0x1c2)](_0x3498de){const _0x5c803c=a4_0x227bc7,_0x4f7d53={'EaMuW':_0x5c803c(0x1bf),'AUdyl':function(_0x5538cd){return _0x5538cd();},'wLiua':function(_0x245b33,_0x5b419b){return _0x245b33===_0x5b419b;},'neoRN':'_afterEach','DIkFv':function(_0x54c557){return _0x54c557();},'nqGZS':_0x5c803c(0x1ad),'hhigj':'_afterAll','ouAry':_0x5c803c(0x1bd)};if(!_0x3498de||!_0x3498de[_0x5c803c(0x271)])return;[_0x4f7d53[_0x5c803c(0x1b0)],_0x4f7d53[_0x5c803c(0x22c)],_0x4f7d53['ouAry'],_0x4f7d53['neoRN']][_0x5c803c(0x1cb)](_0x3f2935=>{const _0x12458d=_0x5c803c,_0x585bba=_0x3498de[_0x12458d(0x271)][_0x3f2935]||[];_0x585bba[_0x12458d(0x1cb)](_0x28564c=>{const _0x119085=_0x12458d;if(_0x28564c[_0x119085(0x19b)][_0x119085(0x248)](_0x4f7d53[_0x119085(0x281)]))return;if(!_0x28564c[_0x119085(0x258)])_0x28564c[_0x119085(0x258)]=_0x4f7d53['AUdyl'](uuidv4);else _0x28564c[_0x119085(0x263)]&&_0x4f7d53[_0x119085(0x195)](_0x3f2935,_0x4f7d53[_0x119085(0x27a)])&&(_0x28564c[_0x119085(0x258)]=_0x4f7d53['DIkFv'](uuidv4),delete _0x28564c[_0x119085(0x263)]);});}),this[_0x5c803c(0x1c2)](_0x3498de['parent']);}[a4_0x227bc7(0x279)](_0x661d65){const _0x950cb5=a4_0x227bc7,_0xb8a1ab={};_0xb8a1ab[_0x950cb5(0x1e4)]='_beforeAll',_0xb8a1ab[_0x950cb5(0x247)]=_0x950cb5(0x1a5),_0xb8a1ab[_0x950cb5(0x1d2)]=_0x950cb5(0x1bd),_0xb8a1ab['ypVgX']='_afterEach';const _0x516c9a=_0xb8a1ab;if(!_0x661d65||!_0x661d65['parent'])return[];const _0x1b50c5=[];return[_0x516c9a[_0x950cb5(0x1e4)],_0x516c9a[_0x950cb5(0x247)],_0x516c9a[_0x950cb5(0x1d2)],_0x516c9a[_0x950cb5(0x1a3)]][_0x950cb5(0x1cb)](_0x2ac115=>{const _0x301071=_0x950cb5,_0x1fe6df=_0x661d65[_0x301071(0x271)][_0x2ac115]||[];_0x1fe6df[_0x301071(0x1cb)](_0x5d740f=>{const _0x4d6460=_0x301071;_0x5d740f[_0x4d6460(0x258)]&&_0x1b50c5[_0x4d6460(0x25f)](_0x5d740f[_0x4d6460(0x258)]);});}),[][_0x950cb5(0x20d)](_0x1b50c5,this[_0x950cb5(0x279)](_0x661d65[_0x950cb5(0x271)]));}[a4_0x227bc7(0x275)](_0x2b0189){const _0x20da10=a4_0x227bc7,_0x53a340=/^"(?<hook>.*)" hook:.*$/,_0x510caf=_0x2b0189[_0x20da10(0x19b)],_0x4be1fc=_0x510caf[_0x20da10(0x1e8)](_0x53a340);if(_0x4be1fc&&_0x4be1fc[_0x20da10(0x260)])return _0x4be1fc[_0x20da10(0x260)][_0x20da10(0x222)]['toUpperCase']()[_0x20da10(0x1ac)]('\x20','_');return null;}[a4_0x227bc7(0x1cd)](_0x44a292){const _0x27cd4e=a4_0x227bc7,_0x5c0dac={};_0x5c0dac[_0x27cd4e(0x1a2)]=function(_0x5d691a,_0x5a78f4){return _0x5d691a===_0x5a78f4;},_0x5c0dac[_0x27cd4e(0x1e0)]=function(_0x109e70,_0x1df47b){return _0x109e70===_0x1df47b;},_0x5c0dac[_0x27cd4e(0x238)]=function(_0x25cf1e,_0x2de3a6){return _0x25cf1e===_0x2de3a6;},_0x5c0dac[_0x27cd4e(0x204)]=_0x27cd4e(0x21f);const _0x2d7d5f=_0x5c0dac,_0x438794=path[_0x27cd4e(0x1db)];if(_0x2d7d5f[_0x27cd4e(0x1a2)](_0x44a292,null)||_0x2d7d5f[_0x27cd4e(0x1e0)](_0x44a292,'')||_0x2d7d5f[_0x27cd4e(0x238)](_0x44a292,_0x438794)||_0x2d7d5f[_0x27cd4e(0x1a2)](_0x44a292,path[_0x27cd4e(0x20a)](_0x44a292)))return null;try{return fs[_0x27cd4e(0x193)](path[_0x27cd4e(0x1af)](_0x44a292,_0x2d7d5f['iQLbZ'])),_0x44a292;}catch(_0x154475){const _0x1458e5=path[_0x27cd4e(0x20a)](_0x44a292);return this[_0x27cd4e(0x1cd)](_0x1458e5);}}[a4_0x227bc7(0x1f7)](_0x36ab75){const _0x1160be=a4_0x227bc7,_0x193955={};_0x193955[_0x1160be(0x243)]=function(_0xd43db9,_0x1a7c16){return _0xd43db9>_0x1a7c16;};const _0x409d93=_0x193955;if(_0x36ab75[_0x1160be(0x227)])return _0x36ab75[_0x1160be(0x227)];if(_0x36ab75[_0x1160be(0x25b)]){const _0xe147c2=_0x36ab75[_0x1160be(0x25b)][_0x1160be(0x208)]?this[_0x1160be(0x1f7)](_0x36ab75['ctx'][_0x1160be(0x208)]):null;if(_0xe147c2)return _0xe147c2;}if(_0x36ab75[_0x1160be(0x271)]){const _0xa7c4dd=this[_0x1160be(0x1f7)](_0x36ab75[_0x1160be(0x271)])||(_0x36ab75[_0x1160be(0x271)]['ctx']&&_0x36ab75[_0x1160be(0x271)][_0x1160be(0x25b)][_0x1160be(0x208)]?this['getRootParentFile'](_0x36ab75[_0x1160be(0x271)]['ctx']['currentTest']):null);if(_0xa7c4dd)return _0xa7c4dd;_0x36ab75[_0x1160be(0x271)]['suites']&&_0x409d93[_0x1160be(0x243)](_0x36ab75['parent'][_0x1160be(0x1f6)][_0x1160be(0x1ef)],0x0)&&_0x36ab75['parent'][_0x1160be(0x1f6)][_0x1160be(0x1cb)](_0x466c02=>{const _0x4142cf=_0x1160be,_0x52b4c8=_0x466c02[_0x4142cf(0x25b)]?this['getRootParentFile'](_0x466c02[_0x4142cf(0x25b)]):null;if(_0x52b4c8)return _0x52b4c8;});}return null;}[a4_0x227bc7(0x233)](_0xddada5){const _0x1d99d2=a4_0x227bc7,_0x290633={};_0x290633[_0x1d99d2(0x20e)]=function(_0x6dec4b,_0x28a456){return _0x6dec4b!==_0x28a456;};const _0x38e455=_0x290633,_0x22a7b5=[];if(_0xddada5&&_0xddada5[_0x1d99d2(0x271)]){let _0x300d2c=_0xddada5[_0x1d99d2(0x271)];while(_0x300d2c&&_0x38e455[_0x1d99d2(0x20e)](_0x300d2c[_0x1d99d2(0x19b)],'')){_0x22a7b5[_0x1d99d2(0x25f)](_0x300d2c[_0x1d99d2(0x19b)]),_0x300d2c=_0x300d2c[_0x1d99d2(0x271)];}}return _0x22a7b5;}[a4_0x227bc7(0x256)](_0x5c4f45,_0xfbf30a,_0xa041b7=undefined){const _0x5c42a9=a4_0x227bc7,_0x2bfe1d={'USIMp':function(_0x545935,_0x12525b){return _0x545935(_0x12525b);},'aaYqn':function(_0x4e3264){return _0x4e3264();},'dNfVD':function(_0x146b80){return _0x146b80();},'HYhIn':function(_0x263c12){return _0x263c12();},'iHAaF':_0x5c42a9(0x25c),'tejmA':function(_0x3bc3bf,_0x3a06d6){return _0x3bc3bf!==_0x3a06d6;},'pmBxc':function(_0x2ab2a1,_0x456b2d){return _0x2ab2a1!==_0x456b2d;},'qFluq':_0x5c42a9(0x194),'RNxwy':_0x5c42a9(0x21e),'nTgfJ':'failed','knLgH':_0x5c42a9(0x1d8),'ZwGTJ':_0x5c42a9(0x252),'mqNzn':'javascript','NUmXB':function(_0x1ac18f,_0x1fd233){return _0x1ac18f-_0x1fd233;},'xlGBS':function(_0x55e1ce,_0x20db18,_0x979bb4,_0x588971,_0x4b93ba){return _0x55e1ce(_0x20db18,_0x979bb4,_0x588971,_0x4b93ba);},'zwVjE':function(_0x44e3f8,_0x4c1e3b){return _0x44e3f8!==_0x4c1e3b;},'XOqax':_0x5c42a9(0x259),'CGOvH':'meta','EmQHX':_0x5c42a9(0x239),'kzSZu':_0x5c42a9(0x1e7),'hvIMT':'backtrace','XnbYb':'failure_reason_expanded','GegTX':_0x5c42a9(0x257),'SSJZr':function(_0x20142d,_0x4da286){return _0x20142d===_0x4da286;},'eDjtl':_0x5c42a9(0x255),'Fykkq':_0x5c42a9(0x262)};if(!this[_0x5c42a9(0x200)])return;try{if(_0xfbf30a['fn']&&_0xfbf30a['fn'][_0x5c42a9(0x289)]()[_0x5c42a9(0x1e8)](/browserstack internal helper hook/))return;const _0x45ab51=_0x2bfe1d[_0x5c42a9(0x206)](parseEvent,_0x5c4f45);if(!_0x45ab51)return;if(_0x45ab51[_0x5c42a9(0x24b)]){this['currentTest']=_0xfbf30a,this[_0x5c42a9(0x1c3)]=null;if(_0x45ab51['started']||_0x45ab51[_0x5c42a9(0x252)]){_0xfbf30a[_0x5c42a9(0x1dd)]=new Date(),_0xfbf30a[_0x5c42a9(0x263)]=![];if(!_0xfbf30a[_0x5c42a9(0x1b7)])_0xfbf30a[_0x5c42a9(0x1b7)]=_0x2bfe1d[_0x5c42a9(0x250)](uuidv4);else _0xfbf30a[_0x5c42a9(0x263)]&&(!_0xfbf30a['retryOf']&&(_0xfbf30a[_0x5c42a9(0x198)]=_0xfbf30a['testAnalyticsId']),_0xfbf30a[_0x5c42a9(0x1b7)]=_0x2bfe1d[_0x5c42a9(0x24c)](uuidv4));}}else{if(_0x45ab51[_0x5c42a9(0x222)]){this[_0x5c42a9(0x1c3)]=_0xfbf30a;if(_0x45ab51[_0x5c42a9(0x26f)]){_0xfbf30a[_0x5c42a9(0x1dd)]=new Date(),_0xfbf30a['markedStatus']=![];if(!_0xfbf30a['hookAnalyticsId'])_0xfbf30a['hookAnalyticsId']=_0x2bfe1d['HYhIn'](uuidv4);else _0xfbf30a[_0x5c42a9(0x258)]&&_0xfbf30a[_0x5c42a9(0x263)]&&(_0xfbf30a['hookAnalyticsId']=_0x2bfe1d[_0x5c42a9(0x1b1)](uuidv4));}}}if(_0x45ab51[_0x5c42a9(0x1e3)]&&_0xfbf30a[_0x5c42a9(0x263)])return;let _0x416c7e;try{_0x416c7e=this[_0x5c42a9(0x1f7)](_0xfbf30a);}catch(_0x27962e){logger[_0x5c42a9(0x211)](_0x5c42a9(0x280)+_0x27962e),_0x416c7e=null;}let _0x54837a=[];_0xa041b7&&(_0x54837a=[_0xa041b7,_0x2bfe1d[_0x5c42a9(0x1de)]]);const _0x468a19=_0x2bfe1d[_0x5c42a9(0x253)](_0xfbf30a[_0x5c42a9(0x1d0)],undefined)?util[_0x5c42a9(0x19e)](_0xfbf30a[_0x5c42a9(0x1d0)][0x0]):_0x2bfe1d[_0x5c42a9(0x1ea)](_0xa041b7,undefined)?_0xa041b7[_0x5c42a9(0x289)]():undefined,_0x5b7b1b=_0x416c7e?this['findGitConfig'](_0x416c7e):null,_0x12df22=_0x416c7e?this[_0x5c42a9(0x278)][_0x5c42a9(0x283)](this[_0x5c42a9(0x1f7)](_0xfbf30a)):_0x2bfe1d[_0x5c42a9(0x1a1)];let _0xecc1e0=_0x2bfe1d[_0x5c42a9(0x1f2)];const _0x11f9e8=!_0x45ab51[_0x5c42a9(0x26f)]?new Date()[_0x5c42a9(0x220)]():null;if(_0x45ab51[_0x5c42a9(0x1e3)])_0xecc1e0=_0xa041b7?_0x2bfe1d[_0x5c42a9(0x216)]:_0x2bfe1d['knLgH'],_0xfbf30a['markedStatus']=!![];else _0x45ab51[_0x5c42a9(0x252)]&&(_0xecc1e0=_0x2bfe1d['ZwGTJ'],_0xfbf30a[_0x5c42a9(0x263)]=!![]);const _0x26958d={'framework':this['frameworkName'],'uuid':_0xfbf30a[_0x5c42a9(0x1b7)]||_0xfbf30a[_0x5c42a9(0x258)],'name':_0xfbf30a[_0x5c42a9(0x19b)],'body':{'lang':_0x2bfe1d[_0x5c42a9(0x261)],'code':_0xfbf30a[_0x5c42a9(0x1ba)]['toString']()},'type':_0xfbf30a[_0x5c42a9(0x223)],'scope':_0xfbf30a['fullTitle'](),'scopes':this[_0x5c42a9(0x233)](_0xfbf30a),'file_name':_0x12df22,'vc_filepath':_0x5b7b1b?path[_0x5c42a9(0x232)](_0x5b7b1b,_0x416c7e):null,'location':_0x12df22,'result':_0xecc1e0,'failure_reason':_0x468a19,'duration_in_ms':_0xfbf30a[_0x5c42a9(0x27c)]||(_0x45ab51['finished']||_0x45ab51[_0x5c42a9(0x252)])?_0x2bfe1d[_0x5c42a9(0x192)](Date['now'](),new Date(_0xfbf30a[_0x5c42a9(0x1dd)])[_0x5c42a9(0x1ce)]()):null,'started_at':new Date(_0xfbf30a['startedAt'])['toISOString'](),'finished_at':_0x11f9e8,'failure':testOpsHelper[_0x5c42a9(0x267)][_0x5c42a9(0x1c5)](null,_0x54837a),'failure_type':!_0x468a19?null:testOpsHelper[_0x5c42a9(0x286)](_0x468a19),'retry_of':_0xfbf30a[_0x5c42a9(0x198)]||null,'tags':_0xfbf30a[_0x5c42a9(0x1a0)]||[],'customRerunParam':{'rerun_name':_0xfbf30a['fullTitle']()}};_0x2bfe1d[_0x5c42a9(0x1e9)](appendTesthubParams,_0x26958d,_0x5c4f45,_0xfbf30a,FRAMEWORKS[_0x5c42a9(0x1b5)]);if(_0x45ab51[_0x5c42a9(0x222)])[_0x26958d[_0x5c42a9(0x1fe)],_0x26958d[_0x5c42a9(0x20c)]]=[this['getHookType'](_0xfbf30a),_0xfbf30a[_0x5c42a9(0x25b)]['test'][_0x5c42a9(0x19b)]],_0x45ab51[_0x5c42a9(0x1e3)]?_0x2bfe1d[_0x5c42a9(0x241)](_0x26958d[_0x5c42a9(0x23f)],_0x2bfe1d[_0x5c42a9(0x216)])&&(_0x26958d[_0x5c42a9(0x23f)]=_0x2bfe1d[_0x5c42a9(0x218)]):_0x26958d['body']={};else _0x45ab51[_0x5c42a9(0x24b)]&&(this[_0x5c42a9(0x1c2)](_0xfbf30a),_0x45ab51[_0x5c42a9(0x252)]&&this['resetSkipTestHooks'](_0xfbf30a),(_0x45ab51[_0x5c42a9(0x1e3)]||_0x45ab51[_0x5c42a9(0x252)])&&(_0x26958d['hooks']=this[_0x5c42a9(0x279)](_0xfbf30a)));this[_0x5c42a9(0x1a6)]&&(_0x45ab51[_0x5c42a9(0x26f)]||_0x45ab51[_0x5c42a9(0x252)])&&(_0x26958d[_0x2bfe1d[_0x5c42a9(0x196)]]=this['getCBTInfo'](this['driver']));_0x45ab51[_0x5c42a9(0x24b)]&&_0x45ab51[_0x5c42a9(0x1e3)]&&_0xfbf30a['bddSteps']&&(_0x26958d[_0x2bfe1d[_0x5c42a9(0x230)]]={'feature':{'name':_0xfbf30a['parent']['feature'][_0x5c42a9(0x20c)],'path':_0x26958d[_0x5c42a9(0x1c8)],'description':_0xfbf30a['parent']['comment']},'scenario':{'name':_0xfbf30a[_0x5c42a9(0x19b)]},'steps':_0xfbf30a[_0x5c42a9(0x19a)]});const _0x2e7cb5=_0x26958d[_0x2bfe1d[_0x5c42a9(0x26c)]][0x0];_0x2e7cb5&&(_0x26958d[_0x2bfe1d[_0x5c42a9(0x22f)]]=_0x2e7cb5[_0x2bfe1d[_0x5c42a9(0x228)]],_0x26958d[_0x2bfe1d[_0x5c42a9(0x214)]]=_0x2e7cb5[_0x2bfe1d[_0x5c42a9(0x26d)]]);if(_0xfbf30a[_0x5c42a9(0x19a)])for(const _0x470e75 of _0xfbf30a['bddSteps']){!_0x470e75[_0x5c42a9(0x1ee)]&&(_0x470e75[_0x5c42a9(0x1ee)]=new Date()['toISOString'](),_0x2bfe1d[_0x5c42a9(0x197)](_0x470e75['result'],_0x2bfe1d[_0x5c42a9(0x1f2)])&&(_0x2e7cb5?(_0x470e75[_0x5c42a9(0x23f)]=_0x2bfe1d['nTgfJ'],_0x470e75[_0x5c42a9(0x239)]=_0x2e7cb5[_0x2bfe1d[_0x5c42a9(0x228)]][0x0]):_0x470e75['result']=_0x2bfe1d['knLgH']));}const _0x93c9a5={};_0x93c9a5[_0x5c42a9(0x22d)]=_0x45ab51[_0x5c42a9(0x252)]?TEST_EVENTS[_0x5c42a9(0x26b)]:_0x5c4f45;const _0x1d6240=_0x93c9a5;return _0x45ab51[_0x5c42a9(0x222)]?_0x1d6240[_0x2bfe1d[_0x5c42a9(0x1bb)]]=_0x26958d:_0x1d6240[_0x2bfe1d['Fykkq']]=_0x26958d,_0x1d6240;}catch(_0x93f9e6){logger[_0x5c42a9(0x211)](_0x5c42a9(0x1d7)+_0x5c4f45+_0x5c42a9(0x1c6)+_0x93f9e6);}}async[a4_0x227bc7(0x24a)](_0x2e6d10,_0x429cf0){const _0x51b6c9=a4_0x227bc7;if(!this[_0x51b6c9(0x200)]||!_0x429cf0||!_0x2e6d10)return![];try{return await SessionHandler['uploadEventData'](_0x429cf0);}catch(_0x1b3248){logger[_0x51b6c9(0x211)](_0x51b6c9(0x21b)+_0x2e6d10+_0x51b6c9(0x1c6)+_0x1b3248);}}[a4_0x227bc7(0x28b)](_0x46bc3a){const _0x4ab2c0=a4_0x227bc7,_0x3ce955={};_0x3ce955['LUrgn']=_0x4ab2c0(0x21e);const _0x57f278=_0x3ce955;return{'id':_0x46bc3a[_0x4ab2c0(0x26a)],'text':_0x46bc3a[_0x4ab2c0(0x1fc)],'keyword':_0x46bc3a[_0x4ab2c0(0x288)],'started_at':_0x46bc3a[_0x4ab2c0(0x1dd)]['toISOString'](),'result':_0x57f278[_0x4ab2c0(0x1da)]};}[a4_0x227bc7(0x27d)](_0x388657){const _0xaeee2f=a4_0x227bc7,_0x53534b={'DZBGI':function(_0x3f649e){return _0x3f649e();}};!this[_0xaeee2f(0x208)][_0xaeee2f(0x19a)]&&(this[_0xaeee2f(0x208)][_0xaeee2f(0x19a)]=[]),!_0x388657[_0xaeee2f(0x26a)]&&(_0x388657['stepAnalyticsId']=_0x53534b[_0xaeee2f(0x1d4)](uuidv4),_0x388657[_0xaeee2f(0x1dd)]=new Date(),this[_0xaeee2f(0x208)][_0xaeee2f(0x19a)][_0xaeee2f(0x25f)](this[_0xaeee2f(0x28b)](_0x388657)));}[a4_0x227bc7(0x1dc)](_0x5eda4f){const _0x3ad767=a4_0x227bc7,_0x4e3183={'kaqsx':function(_0x611a31,_0x4bdd41){return _0x611a31(_0x4bdd41);},'zoGiz':'success','zMipJ':_0x3ad767(0x21e),'xswmR':_0x3ad767(0x1d8),'boLJP':function(_0x1e42ab,_0x187712){return _0x1e42ab-_0x187712;}};let _0x5354ca=this[_0x3ad767(0x208)][_0x3ad767(0x19a)][_0x3ad767(0x27f)](_0x4ef0c7=>_0x4ef0c7['id']===_0x5eda4f[_0x3ad767(0x26a)]);_0x4e3183[_0x3ad767(0x236)](isUndefined,_0x5354ca)&&(_0x5354ca=this[_0x3ad767(0x28b)](_0x5eda4f)),_0x5354ca[_0x3ad767(0x23f)]=[_0x4e3183[_0x3ad767(0x27e)],_0x4e3183[_0x3ad767(0x1eb)]][_0x3ad767(0x248)](_0x5eda4f[_0x3ad767(0x25e)])?_0x4e3183['xswmR']:_0x5eda4f[_0x3ad767(0x25e)],_0x5354ca[_0x3ad767(0x1ee)]=new Date()[_0x3ad767(0x220)](),_0x5354ca[_0x3ad767(0x27c)]=_0x4e3183[_0x3ad767(0x1a8)](Date[_0x3ad767(0x1a4)](),_0x5eda4f[_0x3ad767(0x1dd)][_0x3ad767(0x1ce)]()),_0x5354ca[_0x3ad767(0x239)]=_0x5eda4f[_0x3ad767(0x25c)]?_0x5eda4f['err'][_0x3ad767(0x1f8)]:null;}}function a4_0x20bd(_0x408beb,_0x4f0284){const _0x49f8ac=a4_0x49f8();return a4_0x20bd=function(_0x20bd9f,_0x224e9d){_0x20bd9f=_0x20bd9f-0x190;let _0x47a15f=_0x49f8ac[_0x20bd9f];return _0x47a15f;},a4_0x20bd(_0x408beb,_0x4f0284);}function a4_0x49f8(){const _0x3f6179=['HOOK_RUN_FINISHED','duration','bddStepStart','zoGiz','find','failed\x20to\x20get\x20root\x20parent\x20file\x20','EaMuW','eyvdM','prefixTestPath','TestRunFinished','stop','getFailureType','string','keyword','toString','MdRCA','initializeBddStep','cwd','sendCBTInfo','981024mwoOOr','DEico','NUmXB','statSync','File\x20path\x20could\x20not\x20be\x20found','wLiua','XOqax','SSJZr','retryOf','../../helpers/logger','bddSteps','title','split','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','inspect','STATE_FAILED','tags','qFluq','CTKsP','ypVgX','now','_afterAll','driver','ailTl','boLJP','_testEnv','../../helpers/testhub/utils.js','PathHelper','replace','_beforeAll','561048BeQXOZ','join','nqGZS','HYhIn','10fuqROT','uuid','rBnFD','CODECEPT','pendingHookEvents','testAnalyticsId','KjaSZ','BROWSERSTACK','body','eDjtl','session_id','_beforeEach','210715rpjlIi','codeceptjs','tZsDH','LogCreated','mapTestHooks','currentHook','aRDIB','apply','\x20with\x20error\x20:\x20','toLowerCase','file_name','1655pKLurZ','dhnCH','forEach','hllsw','findGitConfig','getTime','O11yHelper','errorsDetailed','7082339weXmOH','nhGlI','4|1|2|0|5|3','DZBGI','1192194XOTanY','aqFAX','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','passed','../../helpers/test-observability/constants','LUrgn','sep','bddStepFinish','startedAt','iHAaF','../../helpers/test-observability/sessionHandler','UOWRV','launch','__platformCaps','finished','qWuDI','95712oqGgEG','154sDxuVo','failure_backtrace','match','xlGBS','pmBxc','zMipJ','TestRunSkipped','FITfM','finished_at','length','bind','DrlhU','RNxwy','failed','frameworkName','../../helpers/test-observability/utils','suites','getRootParentFile','message','HookRunFinished','RHMam','start','text','TEST_EVENTS','hook_type','../../helpers/helper','enabled','uploadData','../utils/constants','keys','iQLbZ','../playwright/accessibility-helper','USIMp','wsEndpoint','currentTest','Not\x20able\x20to\x20import\x20Browser','dirname','splice','name','concat','Eufpe','KkARa','kmoSV','debug','connect','bs:addLog:','XnbYb','TEST_RUN_STARTED','nTgfJ','CBTSessionCreated','knLgH','hook_run_uuid','TEST_RUN_SKIPPED','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TestRunStarted','ZhVwj','pending','.git','toISOString','HookRunStarted','hook','type','GbUwk','pid','LYvsD','file','hvIMT','__cloud_provider___','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','bufferPendingHookEvent','hhigj','event_type','patchConsoleLogger','kzSZu','CGOvH','JcHmy','relative','getHierarchy','PLAYWRIGHT_HUB_URL','NnQpE','kaqsx','obsBrowserTypeMockApplied','hNZGs','failure','path','BtnsR','aAMlJ','getCBTInfo','defineProperty','result','fmKVJ','zwVjE','resetSkipTestHooks','MJDnh','TEST_REPORTING_ANALYTICS','setupBrowserDetails','../mocha/test-observability/mochaUtils','ruZAY','includes','test_run_uuid','fireEvent','test','dNfVD','../../helpers/test-observability/requestQueueHandler','./helper.js','JiRQs','aaYqn','UiXnS','skipped','tejmA','removeAllListeners','hook_run','captureEvent','expanded','hookAnalyticsId','integrations','2UwDttE','ctx','err','6342JUdwoH','status','push','groups','mqNzn','test_run','markedStatus','Playwright','then','format','failureData','LvFtM','HaEbR','stepAnalyticsId','TEST_RUN_FINISHED','EmQHX','GegTX','uploadEventData','started','12lcnwCw','parent','vYemf','accessibilityPlatform','hasLiveDriverSession','getHookType','QNhXi','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','_paths','getHooksForTest','neoRN'];a4_0x49f8=function(){return _0x3f6179;};return a4_0x49f8();}const a4_0xc666ed={};a4_0xc666ed[a4_0x227bc7(0x1cf)]=O11yHelper,a4_0xc666ed['STATE_PASSED']=STATE_PASSED,a4_0xc666ed[a4_0x227bc7(0x19f)]=STATE_FAILED,a4_0xc666ed[a4_0x227bc7(0x1fd)]=TEST_EVENTS,module['exports']=a4_0xc666ed;
|