browserstack-node-sdk 1.53.5 → 1.53.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +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/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/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/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/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/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/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/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/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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x5554ea=a1_0x55fb;(function(_0x37c010,_0x2c39bc){const _0x1ba887=a1_0x55fb,_0x552ade=_0x37c010();while(!![]){try{const _0x54c703=parseInt(_0x1ba887(0x1bc))/0x1*(parseInt(_0x1ba887(0x171))/0x2)+-parseInt(_0x1ba887(0x11e))/0x3*(parseInt(_0x1ba887(0x127))/0x4)+-parseInt(_0x1ba887(0x1ac))/0x5*(-parseInt(_0x1ba887(0x189))/0x6)+parseInt(_0x1ba887(0x113))/0x7*(parseInt(_0x1ba887(0x142))/0x8)+parseInt(_0x1ba887(0x135))/0x9+parseInt(_0x1ba887(0x1ad))/0xa+-parseInt(_0x1ba887(0xe2))/0xb;if(_0x54c703===_0x2c39bc)break;else _0x552ade['push'](_0x552ade['shift']());}catch(_0x5e36fd){_0x552ade['push'](_0x552ade['shift']());}}}(a1_0x50a3,0x26756));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5554ea(0x1a3)),logger=require(a1_0x5554ea(0x133))['winstonLogger'],testOpsHelper=require(a1_0x5554ea(0x160)),requestSpy=require(a1_0x5554ea(0xf2)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5554ea(0x1b3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x5554ea(0x10c)),scripts=require(a1_0x5554ea(0x143)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x5554ea(0x193)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5554ea(0x188)),testHubConstants=require(a1_0x5554ea(0xe6)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x5554ea(0xd4),a1_0x5554ea(0xce)),CodeceptUtils=requireModule(a1_0x5554ea(0xeb),'codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x5554ea(0xce)),CodeceptRecorder=requireModule(a1_0x5554ea(0xd8),a1_0x5554ea(0xce)),CodeceptPlaywright=requireModule(a1_0x5554ea(0x19d),'codeceptjs'),playwrightMarkSessionStatus=(_0x1e13f8,_0x3408b8,_0x54285e)=>{const _0x4a66b1=a1_0x5554ea,_0x3da4a0={'uIvvW':_0x4a66b1(0xf7),'KvUci':function(_0x33eb2e,_0x3b5be0){return _0x33eb2e(_0x3b5be0);}},_0x3f2ae7={};_0x3f2ae7[_0x4a66b1(0x1b2)]=_0x3408b8;const _0x48f6f5={};_0x48f6f5['action']=_0x3da4a0[_0x4a66b1(0x1b6)],_0x48f6f5[_0x4a66b1(0x141)]=_0x3f2ae7;const _0x3a57e5=_0x48f6f5;return!_0x3da4a0['KvUci'](isUndefined,_0x54285e)&&(_0x3a57e5[_0x4a66b1(0x141)][_0x4a66b1(0x1c9)]=JSON[_0x4a66b1(0x10a)](_0x54285e)),_0x1e13f8[_0x4a66b1(0xd9)](()=>{},_0x4a66b1(0x1c3)+JSON[_0x4a66b1(0x10a)](_0x3a57e5));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x5554ea(0x185)],async _0x487221=>{const _0x12f1a5=a1_0x5554ea,_0x35080b={};_0x35080b[_0x12f1a5(0x1b1)]=function(_0x413f7c,_0x2a6882){return _0x413f7c===_0x2a6882;},_0x35080b[_0x12f1a5(0x1ae)]=_0x12f1a5(0x15c);const _0x59ec40=_0x35080b;_0x59ec40['HGdJo'](_0x487221[_0x12f1a5(0x116)]['name'],_0x59ec40['MipDN'])?await _0x487221['executeScript'](_0x1ddd03=>{},testOpsHelper['getSyncScript']()):await _0x487221[_0x12f1a5(0xd9)](testOpsHelper[_0x12f1a5(0xed)]());}),markSessionName=PerformanceTester[a1_0x5554ea(0xea)](PerformanceAutEvents[a1_0x5554ea(0x1aa)],async(_0x1232e2,_0x172313)=>{const _0xd2f033=a1_0x5554ea,_0x52a753={};_0x52a753['yWEfS']=_0xd2f033(0x12c),_0x52a753[_0xd2f033(0xe8)]=function(_0xf65764,_0x57f75c){return _0xf65764===_0x57f75c;},_0x52a753['mcPNX']=_0xd2f033(0x15c);const _0x537f1e=_0x52a753,_0xb1b1d1={};_0xb1b1d1[_0xd2f033(0x10d)]=_0x172313;const _0x4900c1={};_0x4900c1[_0xd2f033(0xe4)]=_0x537f1e[_0xd2f033(0x17c)],_0x4900c1[_0xd2f033(0x141)]=_0xb1b1d1;const _0x3afbd9=_0x4900c1;_0x537f1e[_0xd2f033(0xe8)](_0x1232e2[_0xd2f033(0x116)][_0xd2f033(0x10d)],_0x537f1e[_0xd2f033(0x19e)])?await _0x1232e2[_0xd2f033(0xd9)](()=>{},_0xd2f033(0x1c3)+JSON[_0xd2f033(0x10a)](_0x3afbd9)):await _0x1232e2[_0xd2f033(0xd9)](_0xd2f033(0x1c3)+JSON[_0xd2f033(0x10a)](_0x3afbd9));}),patchSaveScreenshot=_0x197497=>{const _0x3185e1=a1_0x5554ea,_0x1fbd04={'Pldkf':_0x3185e1(0x161),'OlrXG':_0x3185e1(0x1c6),'WPAch':function(_0x6b782e){return _0x6b782e();},'FQzfH':function(_0x485480,_0x34ca62){return _0x485480(_0x34ca62);},'mKaKD':_0x3185e1(0x16a),'FmoTe':function(_0x29f137,_0x1cb0bc){return _0x29f137(_0x1cb0bc);}};_0x1fbd04[_0x3185e1(0x1a7)](isTrue,process[_0x3185e1(0x1ab)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x197497[_0x3185e1(0x139)]&&(_0x197497[_0x3185e1(0x139)]=!![],_0x197497['initSaveScreenshot']=_0x197497[_0x3185e1(0x17d)],_0x197497[_0x3185e1(0x17d)]=(_0x90b6ba,_0x265958=![])=>{const _0x3589b6=_0x3185e1,_0x11aa84={'Ahjgb':_0x1fbd04[_0x3589b6(0x111)],'TGzXy':_0x1fbd04[_0x3589b6(0xf6)],'ecSkE':function(_0x754367){return _0x1fbd04['WPAch'](_0x754367);},'lByVJ':function(_0xcaf2d2,_0x1bf1d4){return _0x1fbd04['FQzfH'](_0xcaf2d2,_0x1bf1d4);},'Uaimf':_0x1fbd04[_0x3589b6(0xdc)]};return new Promise(function(_0x18a86b,_0x3db0e4){const _0x56e224=_0x3589b6;_0x197497[_0x56e224(0x14f)](_0x90b6ba,_0x265958)[_0x56e224(0x146)](()=>{const _0x4cac0a=_0x56e224,_0x46a3da=CodeceptUtils['screenshotOutputFolder'](_0x90b6ba);if(_0x46a3da){const _0x308836=fs['readFileSync'](_0x46a3da);process[_0x4cac0a(0x145)](_0x4cac0a(0x151)+process[_0x4cac0a(0x197)],{'timestamp':new Date()[_0x4cac0a(0x19b)](),'message':_0x308836[_0x4cac0a(0x18a)](_0x11aa84[_0x4cac0a(0x107)]),'kind':_0x11aa84[_0x4cac0a(0x13d)]}),_0x11aa84[_0x4cac0a(0x155)](_0x18a86b);}_0x11aa84[_0x4cac0a(0x109)](_0x3db0e4,new Error(_0x11aa84[_0x4cac0a(0x11c)]));})[_0x56e224(0x163)](()=>null);});});},patchWebDriverBefore=_0x5a2a40=>{const _0x7d8df9=a1_0x5554ea,_0x7ce34f={'Kevuj':function(_0x5a0dad){return _0x5a0dad();},'bSkdX':function(_0x1eebd7,_0x5c6bbf){return _0x1eebd7(_0x5c6bbf);},'oaCqJ':function(_0x5e13a6,_0x351932){return _0x5e13a6===_0x351932;},'TCGuh':'webdriverio','HsnyM':_0x7d8df9(0xf9),'RtzsF':function(_0xb3c54d,_0x2796d4){return _0xb3c54d===_0x2796d4;},'JxLRr':'Element','MeZVn':function(_0x148b39,_0x3dbc8a){return _0x148b39(_0x3dbc8a);}},_0x15f0cc=async function(_0x4dcb1e,_0x2ae8d3){const _0x4b6bcd=_0x7d8df9;_0x7ce34f[_0x4b6bcd(0x132)](isAccessibilityAutomationSession)&&!global[_0x4b6bcd(0x1bd)]&&global[_0x4b6bcd(0x191)]&&scripts[_0x4b6bcd(0xe5)](_0x4dcb1e['name'])&&_0x7ce34f[_0x4b6bcd(0xd3)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4b6bcd(0x1bd)]=!![],await PerformanceTester[_0x4b6bcd(0xea)](PerformanceA11yEvents[_0x4b6bcd(0x138)],async()=>{const _0x5e36ab=_0x4b6bcd;logger[_0x5e36ab(0x194)](_0x5e36ab(0x173)+_0x4dcb1e[_0x5e36ab(0x126)]+'\x20'+_0x4dcb1e['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x5a2a40,scripts[_0x5e36ab(0x106)]);},{'command':_0x4dcb1e['name']})());global[_0x4b6bcd(0x1bd)]=![];const _0x49bc1f=JSON['parse'](process[_0x4b6bcd(0x1ab)]['FRAMEWORK_DETAILS']||'{}');if(_0x7ce34f[_0x4b6bcd(0xd5)](_0x49bc1f?.[_0x4b6bcd(0xf3)]?.[_0x4b6bcd(0x10d)],_0x7ce34f[_0x4b6bcd(0x15a)])&&_0x7ce34f[_0x4b6bcd(0xd5)](typeof _0x49bc1f?.['testFramework']?.['version'],_0x7ce34f[_0x4b6bcd(0x183)])&&_0x49bc1f?.[_0x4b6bcd(0xf3)]?.[_0x4b6bcd(0xe7)]['startsWith']('7'))return _0x2ae8d3[_0x4b6bcd(0x12f)](null,Array[_0x4b6bcd(0x15d)][_0x4b6bcd(0x11b)]['call'](arguments,0x2));return _0x2ae8d3[_0x4b6bcd(0x12f)](this,Array[_0x4b6bcd(0x15d)]['slice'][_0x4b6bcd(0x17e)](arguments,0x2));},_0x5691d4=CodeceptWebDriver['prototype'][_0x7d8df9(0x176)];CodeceptWebDriver[_0x7d8df9(0x15d)]['_before']=async function(){const _0x20dd3c=_0x7d8df9,_0x2efaaf={'ecTlq':function(_0x21fc61,_0x54b985){return _0x7ce34f['RtzsF'](_0x21fc61,_0x54b985);},'OdEci':_0x7ce34f[_0x20dd3c(0xf4)]};try{await _0x5691d4[_0x20dd3c(0x12f)](this,arguments);}catch(_0x5f51db){logger[_0x20dd3c(0x194)](_0x20dd3c(0x196)+util[_0x20dd3c(0x1be)](_0x5f51db));}scripts[_0x20dd3c(0x16b)][_0x20dd3c(0x1c2)](_0x32a9a7=>_0x32a9a7['name']&&_0x32a9a7[_0x20dd3c(0x126)])[_0x20dd3c(0x164)](_0x3e9b86=>{const _0x3ae5b7=_0x20dd3c;this[_0x3ae5b7(0x1c4)]['overwriteCommand'](_0x3e9b86[_0x3ae5b7(0x10d)],_0x15f0cc[_0x3ae5b7(0x174)](this,_0x3e9b86),_0x2efaaf[_0x3ae5b7(0x1a0)](_0x3e9b86[_0x3ae5b7(0x126)],_0x2efaaf[_0x3ae5b7(0xf8)]));}),_0x7ce34f[_0x20dd3c(0xfe)](processWebDriverConfig,_0x5a2a40);};};function a1_0x50a3(){const _0x8d6361=['startsWith','OHhQX','SDK_PRE_TEST','passed','SDK_PRE_INITIALIZE','UZUiz','aYwTp','parse','initSaveScreenshot','started','bs:addLog:','patch','a11y_core_config','WeAhs','ecSkE','jRAgR','oPNSU','__skipSessionStatus','test-failed','TCGuh','stopMonitoring','Playwright','prototype','\x0aStack:\x20','from','../../helpers/test-observability/utils','base64','Puppeteer','catch','forEach','_setPage','SDK_POST_INITIALIZE','MkpLn','end','BROWSERSTACK_TESTHUB_JWT','Screenshot\x20path\x20not\x20found','commandsToWrap','QRnlv','nNuwP','mhiUz','jRwPS','start','4UjmKzq','GET_RESULTS','Performing\x20scan\x20for\x20','bind','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','_before','sWrEO','helpers','ONfPg','test-passed','VVpnH','yWEfS','saveScreenshot','call','QDXeK','find','hookType','command','HsnyM','bddStepFinish','SYNC','captureError','bddStep','./helper.js','72546FMAONV','toString','title','bddStep-before','TEST_RUN_SKIPPED','TEST_RUN_FINISHED','SDK_POST_TEST','domForge','accessibilityPlatform','KOGBN','../../helpers/performance/constants','debug','getAccessibilityResults','Failed\x20to\x20execute\x20_before:\x20','pid','YVRZF','VMzUk','GASID','toISOString','Suite','codeceptjs/lib/helper/Playwright.js','mcPNX','setGlobal','ecTlq','INFO','EoKST','../../helpers/helper','HOOK_RUN_STARTED','JWWkz','url','FmoTe','getResultsSummary','SDK_TEST','SESSION_NAME','env','95oQlYtF','679990NMUhhu','MipDN','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','wZtYL','HGdJo','status','./o11yHelper','bddStepStart','SDK_HOOK','uIvvW','chromium','test-started','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','browserStackExecuteDriver','--auto-open-devtools-for-tabs','64204LvsoWK','bstackAllyScanning','format','exports','DcXIx','KJnWf','filter','browserstack_executor:\x20','browser','devtools://','TEST_SCREENSHOT','EEJDi','message','reason','TestCafe','codeceptjs','test','XZFLp','warn','UGxni','bSkdX','codeceptjs/lib/index.js','oaCqJ','cgMYq','SAPLI','codeceptjs/lib/recorder.js','executeScript','getAccessibilityResultsSummary','Kaykj','mKaKD','addRequestSpy','__workerDetails','push','add','all','3293455eoMSEl','bddStep-after','action','shouldWrapCommand','../../helpers/testhub/constants.js','version','rNDoL','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','measureWrapper','codeceptjs/lib/utils.js','captureEvent','getSyncScript','container','before','step-comment','__driver','../../helpers/request-spy','testFramework','JxLRr','vSdsS','OlrXG','setSessionStatus','OdEci','string','args','DyIwO','hook-passed','TSJUN','MeZVn','skipSessionStatus','qRZQH','ctx','skipSessionName','test-before','after','UMjBR','performScan','Ahjgb','thJwtToken','lByVJ','stringify','BS_A11Y_JWT','../../bin/playwright/accessibility-helper','name','TEST_RUN_STARTED','pages','JwZRT','Pldkf','config','7RUoxwo','ENV_VAR','page','constructor','thTestRunUuid','Xmqxz','split','stack','slice','Uaimf','mOGBH','195BuvXNQ','hook','iNgII','dOUUO','fireEvent','WIdHj','hCUkG','browserContext','class','3568UyEyAi','contexts','dispatcher','hook-failed','failed','setSessionName','restore','WebDriver','apply','testAnalyticsId','enabled','Kevuj','../../helpers/logger','SESSION_STATUS','657459zQbZHj','hoZTD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','PERFORM_SCAN','patchSaveScreenshot','isMobilePlatform','NpGWT','event','TGzXy','step','FsMha','HOOK_RUN_FINISHED','arguments','125792wANPqm','../../helpers/accessibility-automation/scripts','bxJXm','emit','then'];a1_0x50a3=function(){return _0x8d6361;};return a1_0x50a3();}function parseJwt(_0x16b2d0){const _0x154b5b=a1_0x5554ea,_0x37672b={};_0x37672b['wzaDQ']=_0x154b5b(0x161);const _0x537de5=_0x37672b;if(!_0x16b2d0)return null;return JSON[_0x154b5b(0x14e)](Buffer[_0x154b5b(0x15f)](_0x16b2d0[_0x154b5b(0x119)]('.')[0x1],_0x537de5['wzaDQ'])['toString']());}const patchPlaywrightBefore=()=>{const _0x3aa41c=a1_0x5554ea,_0x9a0deb={'hoZTD':function(_0x2d1424){return _0x2d1424();},'FsMha':_0x3aa41c(0x1c5),'jRwPS':_0x3aa41c(0x1bb),'UZUiz':function(_0x2af5df,_0x3c0940){return _0x2af5df(_0x3c0940);},'DcXIx':function(_0x3f9ea0,_0x2aaf7){return _0x3f9ea0+_0x2aaf7;},'QRnlv':_0x3aa41c(0x15e)};PlaywrightSessionDetails[_0x3aa41c(0x152)]();const _0x171d45=CodeceptPlaywright[_0x3aa41c(0x15d)][_0x3aa41c(0x176)];CodeceptPlaywright[_0x3aa41c(0x15d)][_0x3aa41c(0x176)]=async function(){const _0x22af87=_0x3aa41c,_0x29430e={'hCUkG':function(_0x54ceec){return _0x9a0deb['hoZTD'](_0x54ceec);},'jRAgR':_0x9a0deb[_0x22af87(0x13f)],'DyIwO':_0x9a0deb[_0x22af87(0x16f)],'sWrEO':function(_0x57d6e1,_0x15e0d8){const _0xe9a567=_0x22af87;return _0x9a0deb[_0xe9a567(0x14c)](_0x57d6e1,_0x15e0d8);},'vSdsS':function(_0x31a527){return _0x9a0deb['hoZTD'](_0x31a527);},'SAPLI':function(_0x35a692,_0x40202d){const _0x4f08e7=_0x22af87;return _0x9a0deb[_0x4f08e7(0x1c0)](_0x35a692,_0x40202d);},'VMzUk':_0x9a0deb[_0x22af87(0x16c)]};this[_0x22af87(0x125)]=await this[_0x22af87(0x1c4)][_0x22af87(0x128)]()[0x0];const _0x47b2f0=async()=>{const _0x499d45=_0x22af87,_0xfdd39f=this[_0x499d45(0x112)]&&this['config']['chromium']&&this[_0x499d45(0x112)][_0x499d45(0x1b7)]['args']&&Array['isArray'](this['config'][_0x499d45(0x1b7)][_0x499d45(0xfa)])&&this[_0x499d45(0x112)][_0x499d45(0x1b7)][_0x499d45(0xfa)]['includes'](_0x29430e[_0x499d45(0xfb)]);if(_0x29430e[_0x499d45(0x124)](isAccessibilityAutomationSession)&&!_0xfdd39f)try{const _0x2021a1=_0x29430e[_0x499d45(0x177)](parseJwt,process[_0x499d45(0x1ab)][_0x499d45(0x10b)]);if(_0x2021a1&&_0x2021a1[_0x499d45(0x153)]&&_0x2021a1['a11y_core_config'][_0x499d45(0x190)]){const _0x2131b0=this[_0x499d45(0x125)]['pages'][_0x499d45(0x174)](this[_0x499d45(0x125)]);this[_0x499d45(0x125)]['pages']=async function(){const _0x522aae=_0x499d45,_0x540a51=await _0x29430e['hCUkG'](_0x2131b0),_0x5406c8=[];for(const _0x36684d of _0x540a51){try{const _0x3130b7=await _0x36684d[_0x522aae(0x1a6)]();!_0x3130b7[_0x522aae(0x147)](_0x29430e[_0x522aae(0x156)])&&_0x5406c8[_0x522aae(0xdf)](_0x36684d);}catch(_0x469c7e){_0x5406c8[_0x522aae(0xdf)](_0x36684d);}}return _0x5406c8;};}if(!_0x29430e[_0x499d45(0xf5)](isBrowserstackInfra)){const _0x572e40=await this[_0x499d45(0x115)][_0x499d45(0x1a6)]();if(_0x572e40['startsWith'](_0x29430e[_0x499d45(0x156)])){const _0x4b0a60=await this[_0x499d45(0x125)][_0x499d45(0x10f)]();this[_0x499d45(0x165)](_0x4b0a60[0x0]);}}}catch(_0x3a992e){logger[_0x499d45(0x194)](_0x499d45(0x1b9)+_0x3a992e[_0x499d45(0x1c8)]+(_0x3a992e['stack']?_0x29430e[_0x499d45(0xd7)](_0x29430e[_0x499d45(0x199)],_0x3a992e[_0x499d45(0x11a)]):''));}};_0x9a0deb['hoZTD'](isBrowserstackInfra)&&await _0x9a0deb[_0x22af87(0x136)](_0x47b2f0),await _0x171d45['apply'](this,arguments),!_0x9a0deb[_0x22af87(0x136)](isBrowserstackInfra)&&await _0x9a0deb[_0x22af87(0x136)](_0x47b2f0);};},getCodeceptDriver=()=>{const _0x4666db=a1_0x5554ea,_0xae01d3={};_0xae01d3[_0x4666db(0x17f)]=_0x4666db(0x12e),_0xae01d3[_0x4666db(0x123)]=_0x4666db(0x15c),_0xae01d3['IGGTP']=_0x4666db(0x162),_0xae01d3[_0x4666db(0x118)]=_0x4666db(0x1ca);const _0x1757cf=_0xae01d3,_0x3c11dd=[_0x1757cf[_0x4666db(0x17f)],_0x1757cf['WIdHj'],_0x1757cf['IGGTP'],_0x1757cf[_0x4666db(0x118)]],_0x272a71=_0x3c11dd[_0x4666db(0x180)](_0x3132c7=>!!CodeceptJS[_0x4666db(0xee)][_0x4666db(0x178)](_0x3132c7));if(!_0x272a71)return null;return CodeceptJS[_0x4666db(0xee)][_0x4666db(0x178)](_0x272a71);};function a1_0x55fb(_0x267647,_0x30dd2c){const _0x50a338=a1_0x50a3();return a1_0x55fb=function(_0x55fbf4,_0x557681){_0x55fbf4=_0x55fbf4-0xce;let _0x5711ac=_0x50a338[_0x55fbf4];return _0x5711ac;},a1_0x55fb(_0x267647,_0x30dd2c);}module[a1_0x5554ea(0x1bf)]=function(_0x4beda8){const _0x35194f=a1_0x5554ea,_0x5fbd2c={'iNgII':function(_0x116f55){return _0x116f55();},'jhuSU':function(_0x477852,_0x2aceab){return _0x477852(_0x2aceab);},'bJIen':_0x35194f(0xda),'PhEfa':_0x35194f(0x137),'KJnWf':_0x35194f(0x195),'EEJDi':_0x35194f(0x175),'nNuwP':'hook-started','NpGWT':_0x35194f(0xfc),'TSJUN':_0x35194f(0x12a),'KOGBN':'browserstackTestName','UMjBR':_0x35194f(0x103),'YVRZF':function(_0x308359,_0x34fb36){return _0x308359(_0x34fb36);},'XZFLp':function(_0x5b953b,_0x22c6b2,_0x3aac9b){return _0x5b953b(_0x22c6b2,_0x3aac9b);},'JWWkz':_0x35194f(0x1b8),'qRZQH':function(_0x12c474,_0x3747dc,_0x5380da){return _0x12c474(_0x3747dc,_0x5380da);},'MkpLn':_0x35194f(0x17a),'EoKST':function(_0x5ed784,_0x3c1379,_0x54a6bf,_0x15fa7c){return _0x5ed784(_0x3c1379,_0x54a6bf,_0x15fa7c);},'rHYwZ':function(_0xea72bd,_0x584d49){return _0xea72bd===_0x584d49;},'XaZzD':_0x35194f(0x19c),'JwZRT':_0x35194f(0x159),'GASID':'test-skipped','UGxni':'afterTest','cgMYq':_0x35194f(0x13a),'nebcD':function(_0x1d389c,_0x2769ce,_0x42c382){return _0x1d389c(_0x2769ce,_0x42c382);},'IgyAo':_0x35194f(0xe9),'THpPU':'test-after','OHhQX':_0x35194f(0x1a1),'dOUUO':'TEST_LOG','GBBhw':_0x35194f(0xf0),'VVpnH':_0x35194f(0x18c),'oPNSU':_0x35194f(0xe3),'Kaykj':function(_0x307e66){return _0x307e66();},'yWBZc':_0x35194f(0x15c)};_0x4beda8[_0x35194f(0xff)]&&(global[_0x35194f(0x158)]=_0x4beda8[_0x35194f(0xff)]);PerformanceTester['startMonitoring']();const _0x5183b6=_0x5fbd2c[_0x35194f(0xdb)](getCodeceptDriver),_0x4ea8ae=new O11yHelper(_0x5183b6,_0x4beda8),_0x3c7f6a=!!CodeceptJS[_0x35194f(0xee)]['helpers'](_0x5fbd2c['yWBZc']);global[_0x35194f(0xf1)]=_0x5183b6,_0x5183b6&&(PerformanceTester[_0x35194f(0xea)](PerformanceEvents[_0x35194f(0x14b)],()=>{const _0x3dd720=_0x35194f;_0x3c7f6a?_0x5fbd2c[_0x3dd720(0x120)](patchPlaywrightBefore):_0x5fbd2c['jhuSU'](patchWebDriverBefore,_0x5183b6);})(),PerformanceTester[_0x35194f(0xea)](PerformanceEvents[_0x35194f(0x166)],()=>{const _0x91e153=_0x35194f,_0x5c488d={};_0x5c488d[_0x91e153(0x16e)]=_0x5fbd2c[_0x91e153(0x1c1)],_0x5c488d[_0x91e153(0x144)]=_0x5fbd2c[_0x91e153(0x1c7)];const _0x30a81a=_0x5c488d;_0x5183b6[_0x91e153(0xda)]=async()=>{const _0x52c620=_0x91e153;if(global['accessibilityPlatform']){const _0x5dfdf3={};return _0x5dfdf3['command']=_0x5fbd2c['bJIen'],await PerformanceTester[_0x52c620(0xea)](PerformanceA11yEvents[_0x52c620(0x138)],async()=>{const _0x518bf8=_0x52c620;return await AccessibilityHelper[_0x518bf8(0x1ba)](_0x5183b6,scripts[_0x518bf8(0x106)]);},_0x5dfdf3)(),await PerformanceTester[_0x52c620(0xea)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x336c1d=_0x52c620;return await AccessibilityHelper[_0x336c1d(0x1ba)](_0x5183b6,scripts[_0x336c1d(0x1a8)]);})();}return logger[_0x52c620(0xd1)](_0x5fbd2c['PhEfa']),{};},_0x5183b6['getAccessibilityResults']=async()=>{const _0x2c546f=_0x91e153;if(global['accessibilityPlatform']){const _0x3758cc={};return _0x3758cc[_0x2c546f(0x182)]=_0x30a81a[_0x2c546f(0x16e)],await PerformanceTester[_0x2c546f(0xea)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e489d=_0x2c546f;return await AccessibilityHelper[_0x2e489d(0x1ba)](_0x5183b6,scripts['performScan']);},_0x3758cc)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2c546f(0x172)],async()=>{const _0x55c68b=_0x2c546f;return await AccessibilityHelper[_0x55c68b(0x1ba)](_0x5183b6,scripts['getResults']);})();}return logger[_0x2c546f(0xd1)](_0x30a81a[_0x2c546f(0x144)]),{};},_0x5fbd2c['jhuSU'](patchSaveScreenshot,_0x5183b6);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xe1)][_0x35194f(0xef)],()=>{const _0x33a014=_0x35194f;PerformanceTester[_0x33a014(0x170)](PerformanceEvents[_0x33a014(0x149)]);try{_0x4ea8ae[_0x33a014(0x170)](),testOpsHelper[_0x33a014(0xdd)](),PerformanceTester[_0x33a014(0x168)](PerformanceEvents[_0x33a014(0x149)]);}catch(_0x5aa1e5){PerformanceTester[_0x33a014(0x186)](_0x5aa1e5),PerformanceTester[_0x33a014(0x168)](PerformanceEvents[_0x33a014(0x149)],![],_0x5aa1e5);}}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS['event'][_0x35194f(0xe1)][_0x35194f(0x104)],async()=>{const _0x5746ff=_0x35194f;PerformanceTester[_0x5746ff(0x170)](PerformanceEvents[_0x5746ff(0x18f)]);try{requestSpy[_0x5746ff(0x12d)](),await _0x4ea8ae['stop'](),PerformanceTester[_0x5746ff(0x168)](PerformanceEvents[_0x5746ff(0x18f)]);}catch(_0x58f565){PerformanceTester['captureError'](_0x58f565),PerformanceTester['end'](PerformanceEvents[_0x5746ff(0x18f)],![],_0x58f565);}finally{PerformanceTester[_0x5746ff(0x15b)]();}}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x11f)][_0x35194f(0x150)],_0x2ee9d5=>{const _0x197f79=_0x35194f;PerformanceTester[_0x197f79(0x170)](PerformanceEvents['SDK_HOOK']);try{const _0x104b0e=_0x2ee9d5[_0x197f79(0x101)][_0x197f79(0xcf)],_0x3d6cb6=_0x4ea8ae[_0x197f79(0xec)](TEST_EVENTS[_0x197f79(0x1a4)],_0x104b0e);CodeceptRecorder['add'](()=>_0x4ea8ae[_0x197f79(0x122)](TEST_EVENTS[_0x197f79(0x1a4)],_0x3d6cb6));const _0x9c8abe={};_0x9c8abe[_0x197f79(0x181)]=_0x5fbd2c[_0x197f79(0x16d)],PerformanceTester['end'](PerformanceEvents[_0x197f79(0x1b5)],!![],null,_0x9c8abe);}catch(_0x3ab93d){const _0x2cc5fb={};_0x2cc5fb[_0x197f79(0x181)]=_0x5fbd2c[_0x197f79(0x16d)],PerformanceTester['end'](PerformanceEvents[_0x197f79(0x1b5)],![],_0x3ab93d,_0x2cc5fb),PerformanceTester[_0x197f79(0x186)](_0x3ab93d);}}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)]['hook']['passed'],_0x4ea3d1=>{const _0x50c626=_0x35194f,_0xf39849={};_0xf39849[_0x50c626(0x181)]=_0x5fbd2c['NpGWT'],PerformanceTester[_0x50c626(0x170)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xf39849);try{const _0x126251=_0x4ea3d1[_0x50c626(0x101)][_0x50c626(0xcf)],_0x2d1121=_0x4ea8ae[_0x50c626(0xec)](TEST_EVENTS[_0x50c626(0x140)],_0x126251);CodeceptRecorder[_0x50c626(0xe0)](()=>_0x4ea8ae[_0x50c626(0x122)](TEST_EVENTS[_0x50c626(0x140)],_0x2d1121));const _0x2036d0={};_0x2036d0[_0x50c626(0x181)]=_0x5fbd2c['NpGWT'],PerformanceTester[_0x50c626(0x168)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2036d0);}catch(_0x427aaf){PerformanceTester[_0x50c626(0x186)](_0x427aaf);const _0x344b2e={};_0x344b2e[_0x50c626(0x181)]=_0x5fbd2c[_0x50c626(0x13b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x427aaf,_0x344b2e);}}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x11f)][_0x35194f(0x12b)],async(_0x2ccff2,_0x5bd0da)=>{const _0x26854a=_0x35194f;PerformanceTester[_0x26854a(0x170)](PerformanceHookEvents[_0x26854a(0x1b5)]);try{const _0x51fb3b=_0x2ccff2[_0x26854a(0x101)][_0x26854a(0xcf)],_0x422851=_0x4ea8ae[_0x26854a(0xec)](TEST_EVENTS[_0x26854a(0x140)],_0x51fb3b,_0x5bd0da);CodeceptRecorder[_0x26854a(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x422851));const _0x36d82a={};_0x36d82a[_0x26854a(0x181)]=_0x5fbd2c['TSJUN'],PerformanceTester[_0x26854a(0x170)](PerformanceHookEvents[_0x26854a(0x1b5)],!![],null,_0x36d82a);}catch(_0x2a6f24){PerformanceTester[_0x26854a(0x186)](_0x2a6f24);const _0x24cd48={};_0x24cd48[_0x26854a(0x181)]=_0x5fbd2c[_0x26854a(0xfd)],PerformanceTester[_0x26854a(0x168)](PerformanceHookEvents[_0x26854a(0x1b5)],![],_0x2a6f24,_0x24cd48);}const _0x175932={};_0x175932[_0x26854a(0x181)]=_0x5fbd2c['TSJUN'],PerformanceTester[_0x26854a(0x168)](PerformanceHookEvents[_0x26854a(0x1b5)],!![],null,_0x175932);}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0xef)],_0x5035c9=>{const _0x4c91ce=_0x35194f;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x4c91ce(0x19f)](_0x5fbd2c[_0x4c91ce(0x192)],_0x5035c9[_0x4c91ce(0x18b)]);_0x5fbd2c[_0x4c91ce(0x120)](isBrowserstackInfra)&&(_0x3c7f6a&&(global[_0x4c91ce(0xde)]={'currentTest':{'name':_0x5035c9['title'],'testInfo':{'titlePath':_0x5035c9['titlePath']()}}}));const _0x11ec4e={};_0x11ec4e[_0x4c91ce(0x181)]=_0x5fbd2c[_0x4c91ce(0x105)],PerformanceTester[_0x4c91ce(0x168)](PerformanceHookEvents[_0x4c91ce(0x1b5)],!![],null,_0x11ec4e);}catch(_0x5c0a9d){PerformanceTester[_0x4c91ce(0x186)](_0x5c0a9d);const _0x1c733a={};_0x1c733a[_0x4c91ce(0x181)]=_0x5fbd2c[_0x4c91ce(0x105)],PerformanceTester['end'](PerformanceHookEvents[_0x4c91ce(0x1b5)],![],_0x5c0a9d,_0x1c733a);}}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0x150)],_0xac139d=>{const _0x278b0f=_0x35194f,_0x9fa2dd={'KcocG':function(_0x28111a){const _0x15f752=a1_0x55fb;return _0x5fbd2c[_0x15f752(0x120)](_0x28111a);},'wZtYL':function(_0x369cd2,_0x21fd38){const _0x11e2e5=a1_0x55fb;return _0x5fbd2c[_0x11e2e5(0x198)](_0x369cd2,_0x21fd38);},'WNAZl':function(_0x582851,_0x242874,_0xd2d7ee){const _0x22f65f=a1_0x55fb;return _0x5fbd2c[_0x22f65f(0xd0)](_0x582851,_0x242874,_0xd2d7ee);}};PerformanceTester[_0x278b0f(0x170)](PerformanceHookEvents[_0x278b0f(0x1b5)]);try{globals['setGlobal'](_0x5fbd2c[_0x278b0f(0x192)],_0xac139d[_0x278b0f(0x18b)]);const _0x57bd09=_0x4ea8ae['captureEvent'](TEST_EVENTS[_0x278b0f(0x10e)],_0xac139d);CodeceptRecorder[_0x278b0f(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS[_0x278b0f(0x10e)],_0x57bd09)),CodeceptRecorder['add'](async()=>{const _0x110f04=_0x278b0f;_0x9fa2dd['KcocG'](isBrowserstackInfra)&&(!_0x9fa2dd[_0x110f04(0x1b0)](isTrue,_0x4beda8[_0x110f04(0x102)])&&await _0x9fa2dd['WNAZl'](markSessionName,_0x5183b6,_0xac139d[_0x110f04(0x18b)]),_0x4ea8ae[_0x110f04(0x131)]&&await _0x9fa2dd[_0x110f04(0x1b0)](o11ySync,_0x5183b6));});}catch(_0x4d72f7){const _0x33d66b={};_0x33d66b[_0x278b0f(0x181)]=_0x5fbd2c['JWWkz'],PerformanceTester['end'](PerformanceHookEvents[_0x278b0f(0x1b5)],![],_0x4d72f7,_0x33d66b),PerformanceTester[_0x278b0f(0x186)](_0x4d72f7);}const _0x3d4e99={};_0x3d4e99[_0x278b0f(0x181)]=_0x5fbd2c[_0x278b0f(0x1a5)],PerformanceTester[_0x278b0f(0x168)](PerformanceHookEvents[_0x278b0f(0x1b5)],!![],null,_0x3d4e99);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0x14a)],_0x3c238b=>{const _0x7721b8=_0x35194f,_0x1d1bb3={'mOGBH':function(_0x30d0c4,_0x56402b,_0x1f0731){const _0x3dd8cd=a1_0x55fb;return _0x5fbd2c[_0x3dd8cd(0x100)](_0x30d0c4,_0x56402b,_0x1f0731);},'WeAhs':function(_0x4c2117){const _0x244225=a1_0x55fb;return _0x5fbd2c[_0x244225(0x120)](_0x4c2117);}};PerformanceTester[_0x7721b8(0x170)](PerformanceHookEvents[_0x7721b8(0x1b5)]);try{const _0x34d012=_0x4ea8ae['captureEvent'](TEST_EVENTS[_0x7721b8(0x18e)],_0x3c238b);CodeceptRecorder[_0x7721b8(0xe0)](()=>_0x4ea8ae[_0x7721b8(0x122)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x34d012)),CodeceptRecorder[_0x7721b8(0xe0)](async()=>{const _0xf3cb17=_0x7721b8,_0x321602={'aYwTp':function(_0x590c23,_0x33c0b6,_0x33ae50){const _0x2d316c=a1_0x55fb;return _0x1d1bb3[_0x2d316c(0x11d)](_0x590c23,_0x33c0b6,_0x33ae50);}};_0x1d1bb3[_0xf3cb17(0x154)](isBrowserstackInfra)&&await PerformanceTester[_0xf3cb17(0xea)](PerformanceAutEvents[_0xf3cb17(0x134)],async()=>{const _0x4aef8e=_0xf3cb17;_0x3c7f6a?await _0x321602[_0x4aef8e(0x14d)](playwrightMarkSessionStatus,_0x5183b6,STATE_PASSED):await _0x321602[_0x4aef8e(0x14d)](markSessionStatus,_0x5183b6,STATE_PASSED);})();}),PerformanceTester[_0x7721b8(0x168)](PerformanceEvents[_0x7721b8(0x1a9)]);}catch(_0x1aca0c){PerformanceTester[_0x7721b8(0x186)](_0x1aca0c);const _0x400e88={};_0x400e88['hookType']=_0x5fbd2c[_0x7721b8(0x167)],PerformanceTester[_0x7721b8(0x168)](PerformanceHookEvents['SDK_HOOK'],![],_0x1aca0c,_0x400e88),PerformanceTester[_0x7721b8(0x168)](PerformanceEvents[_0x7721b8(0x1a9)],![],_0x1aca0c);}const _0x369713={};_0x369713['hookType']=_0x5fbd2c[_0x7721b8(0x167)],PerformanceTester[_0x7721b8(0x168)](PerformanceHookEvents[_0x7721b8(0x1b5)],!![],null,_0x369713);}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)]['test'][_0x35194f(0x12b)],(_0x4a9e66,_0x55494f)=>{const _0x4fddd5=_0x35194f,_0x449841={'oreMd':function(_0x4efbf5){const _0x15d236=a1_0x55fb;return _0x5fbd2c[_0x15d236(0x120)](_0x4efbf5);},'ONfPg':function(_0x192234,_0x571722,_0x545e19,_0x2892b7){const _0x40500c=a1_0x55fb;return _0x5fbd2c[_0x40500c(0x1a2)](_0x192234,_0x571722,_0x545e19,_0x2892b7);},'VdJrc':function(_0x25b4c9,_0x2246d2,_0x5705b5,_0x5b3839){const _0x2d4ebf=a1_0x55fb;return _0x5fbd2c[_0x2d4ebf(0x1a2)](_0x25b4c9,_0x2246d2,_0x5705b5,_0x5b3839);}};PerformanceTester[_0x4fddd5(0x170)](PerformanceHookEvents[_0x4fddd5(0x1b5)]);try{if(_0x5fbd2c['rHYwZ'](_0x4a9e66[_0x4fddd5(0x116)][_0x4fddd5(0x10d)],_0x5fbd2c['XaZzD'])){const _0x4f6e6=_0x4ea8ae[_0x4fddd5(0xec)](TEST_EVENTS[_0x4fddd5(0x18d)],_0x4a9e66[_0x4fddd5(0x101)]['currentTest']);CodeceptRecorder[_0x4fddd5(0xe0)](()=>_0x4ea8ae[_0x4fddd5(0x122)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4f6e6));}else{const _0x232b53=_0x4ea8ae[_0x4fddd5(0xec)](TEST_EVENTS[_0x4fddd5(0x18e)],_0x4a9e66,_0x55494f);CodeceptRecorder[_0x4fddd5(0xe0)](()=>{const _0x3da921=_0x4fddd5;try{_0x4ea8ae[_0x3da921(0x122)](TEST_EVENTS[_0x3da921(0x18e)],_0x232b53);}catch(_0xc6b28e){logger[_0x3da921(0x194)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x3da921(0x1be)](_0xc6b28e)),PerformanceTester[_0x3da921(0x168)](PerformanceEvents['SDK_TEST'],![],_0xc6b28e);}}),CodeceptRecorder[_0x4fddd5(0xe0)](async()=>{const _0x41b4b7=_0x4fddd5;try{_0x449841['oreMd'](isBrowserstackInfra)&&(_0x3c7f6a?await _0x449841[_0x41b4b7(0x179)](playwrightMarkSessionStatus,_0x5183b6,STATE_FAILED,_0x55494f):await _0x449841['VdJrc'](markSessionStatus,_0x5183b6,STATE_FAILED,_0x55494f));}catch(_0x46b0b7){logger[_0x41b4b7(0x194)](_0x41b4b7(0x1af)+util[_0x41b4b7(0x1be)](_0x46b0b7)),PerformanceTester[_0x41b4b7(0x168)](PerformanceEvents['SDK_TEST'],![],_0x46b0b7);}});}PerformanceTester['end'](PerformanceEvents[_0x4fddd5(0x1a9)]);}catch(_0x8f8cc6){PerformanceTester[_0x4fddd5(0x186)](_0x8f8cc6);const _0x99b2ca={};_0x99b2ca[_0x4fddd5(0x181)]=_0x5fbd2c['JwZRT'],PerformanceTester[_0x4fddd5(0x168)](PerformanceHookEvents[_0x4fddd5(0x1b5)],![],_0x8f8cc6,_0x99b2ca),PerformanceTester['end'](PerformanceEvents[_0x4fddd5(0x1a9)],![],_0x8f8cc6);}const _0xcab982={};_0xcab982[_0x4fddd5(0x181)]=_0x5fbd2c[_0x4fddd5(0x110)],PerformanceTester['end'](PerformanceHookEvents[_0x4fddd5(0x1b5)],!![],null,_0xcab982);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)]['skipped'],_0x502f0b=>{const _0x36afca=_0x35194f;PerformanceTester[_0x36afca(0x170)](PerformanceHookEvents['SDK_HOOK']);try{const _0x119f1e=_0x4ea8ae[_0x36afca(0xec)](TEST_EVENTS[_0x36afca(0x18d)],_0x502f0b);CodeceptRecorder[_0x36afca(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS[_0x36afca(0x18d)],_0x119f1e)),PerformanceTester[_0x36afca(0x168)](PerformanceEvents[_0x36afca(0x1a9)]);}catch(_0x3c289e){PerformanceTester[_0x36afca(0x186)](_0x3c289e),PerformanceTester[_0x36afca(0x168)](PerformanceEvents[_0x36afca(0x1a9)],![],_0x3c289e);const _0x2d8f7e={};_0x2d8f7e[_0x36afca(0x181)]=_0x5fbd2c[_0x36afca(0x19a)],PerformanceTester[_0x36afca(0x168)](PerformanceHookEvents[_0x36afca(0x1b5)],![],_0x3c289e,_0x2d8f7e);}const _0x1b76f5={};_0x1b76f5[_0x36afca(0x181)]=_0x5fbd2c['GASID'],PerformanceTester[_0x36afca(0x168)](PerformanceHookEvents[_0x36afca(0x1b5)],!![],null,_0x1b76f5);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)]['after'],async(_0x278392,_0x528604)=>{const _0x22ed02=_0x35194f;try{PerformanceTester[_0x22ed02(0x170)](PerformanceHookEvents['SDK_HOOK']);const _0x18fe8d=_0x5fbd2c['nebcD'](shouldScanTestForAccessibility,_0x278392['titlePath'](),!![]);if(_0x5fbd2c['iNgII'](isAccessibilityAutomationSession)&&global[_0x22ed02(0x191)]&&_0x18fe8d){const _0x42e103={};_0x42e103[_0x22ed02(0x117)]=_0x278392[_0x22ed02(0x130)],_0x42e103['thBuildUuid']=process[_0x22ed02(0x1ab)][testHubConstants[_0x22ed02(0x114)]['BROWSERSTACK_TESTHUB_UUID']],_0x42e103[_0x22ed02(0x108)]=process['env'][testHubConstants[_0x22ed02(0x114)][_0x22ed02(0x169)]];const _0x3d51c9=_0x42e103;logger[_0x22ed02(0x194)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x22ed02(0x10a)](_0x3d51c9)),CodeceptRecorder[_0x22ed02(0xe0)](async()=>{const _0x23c4fb=_0x22ed02,_0x368027={};_0x368027[_0x23c4fb(0x182)]=_0x5fbd2c[_0x23c4fb(0xd2)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x17ca42=_0x23c4fb;await AccessibilityHelper['browserStackExecuteDriver'](_0x5183b6,scripts[_0x17ca42(0x106)]);},_0x368027)(),globals['getGlobal'](_0x5fbd2c[_0x23c4fb(0xd6)])&&(_0x3d51c9['is_mobile_session']=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x5183b6,scripts['saveTestResults'],_0x3d51c9);})();}),logger['info'](_0x5fbd2c['IgyAo']);}const _0x1a0bb1={};_0x1a0bb1['hookType']=_0x5fbd2c['THpPU'],PerformanceTester[_0x22ed02(0x168)](PerformanceHookEvents[_0x22ed02(0x1b5)],!![],null,_0x1a0bb1);}catch(_0x29ef52){PerformanceTester[_0x22ed02(0x186)](_0x29ef52);const _0x153b3f={};_0x153b3f[_0x22ed02(0x181)]=_0x5fbd2c['THpPU'],PerformanceTester[_0x22ed02(0x168)](PerformanceHookEvents[_0x22ed02(0x1b5)],![],_0x29ef52,_0x153b3f);}}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS['event'][_0x35194f(0x13e)]['comment'],_0x5a3fe4=>{const _0x2075b6=_0x35194f;PerformanceTester[_0x2075b6(0x170)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x2075b6(0x145)](_0x2075b6(0x151)+process[_0x2075b6(0x197)],{'timestamp':new Date()[_0x2075b6(0x19b)](),'level':_0x5fbd2c[_0x2075b6(0x148)],'message':_0x5a3fe4,'kind':_0x5fbd2c[_0x2075b6(0x121)],'http_response':{}});}catch(_0x5c8258){PerformanceTester['captureError'](_0x5c8258);const _0x1625ad={};_0x1625ad[_0x2075b6(0x181)]=_0x5fbd2c['GBBhw'],PerformanceTester[_0x2075b6(0x168)](PerformanceHookEvents['SDK_HOOK'],![],_0x5c8258,_0x1625ad);}const _0x2e3026={};_0x2e3026[_0x2075b6(0x181)]=_0x5fbd2c['GBBhw'],PerformanceTester[_0x2075b6(0x168)](PerformanceHookEvents[_0x2075b6(0x1b5)],!![],null,_0x2e3026);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x187)][_0x35194f(0xef)],_0x42380a=>{const _0x10650c=_0x35194f,_0x5b6a22={};_0x5b6a22[_0x10650c(0x181)]=_0x5fbd2c[_0x10650c(0x17b)],PerformanceTester[_0x10650c(0xea)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x26299e=_0x10650c;_0x4ea8ae[_0x26299e(0x1b4)](_0x42380a);},_0x5b6a22)();}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS['event'][_0x35194f(0x187)][_0x35194f(0x104)],_0x1498ce=>{const _0x35c93c=_0x35194f,_0x33b236={};_0x33b236[_0x35c93c(0x181)]=_0x5fbd2c[_0x35c93c(0x157)],PerformanceTester[_0x35c93c(0xea)](PerformanceHookEvents[_0x35c93c(0x1b5)],()=>{const _0x4bfc2b=_0x35c93c;_0x4ea8ae[_0x4bfc2b(0x184)](_0x1498ce);},_0x33b236)();});};
|
|
1
|
+
const a1_0x4de30e=a1_0x3af1;(function(_0xf8786a,_0xa26ed3){const _0x43c33f=a1_0x3af1,_0x3dd8cc=_0xf8786a();while(!![]){try{const _0x112987=parseInt(_0x43c33f(0x203))/0x1+-parseInt(_0x43c33f(0x208))/0x2+parseInt(_0x43c33f(0x1d1))/0x3*(-parseInt(_0x43c33f(0x254))/0x4)+parseInt(_0x43c33f(0x1d4))/0x5*(parseInt(_0x43c33f(0x1ed))/0x6)+parseInt(_0x43c33f(0x1e8))/0x7+parseInt(_0x43c33f(0x1e4))/0x8+-parseInt(_0x43c33f(0x20c))/0x9*(parseInt(_0x43c33f(0x273))/0xa);if(_0x112987===_0xa26ed3)break;else _0x3dd8cc['push'](_0x3dd8cc['shift']());}catch(_0x53a487){_0x3dd8cc['push'](_0x3dd8cc['shift']());}}}(a1_0x2f20,0xb3d7f));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4de30e(0x213)),logger=require('../../helpers/logger')[a1_0x4de30e(0x1f5)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4de30e(0x239)),PlaywrightSessionDetails=require(a1_0x4de30e(0x233)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4de30e(0x271)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4de30e(0x263)),AccessibilityHelper=require(a1_0x4de30e(0x2b8)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4de30e(0x29f)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x4de30e(0x1d5)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x4de30e(0x215)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js','codeceptjs'),CodeceptPlaywright=requireModule(a1_0x4de30e(0x1de),'codeceptjs'),playwrightMarkSessionStatus=(_0x3f0a73,_0x59ff32,_0x2d533e)=>{const _0x49402a=a1_0x4de30e,_0x3ced72={'qtFtA':'setSessionStatus','tvqYa':function(_0x229d62,_0x1f7784){return _0x229d62(_0x1f7784);}},_0x51d0af={};_0x51d0af[_0x49402a(0x26c)]=_0x59ff32;const _0x3cdb18={};_0x3cdb18[_0x49402a(0x276)]=_0x3ced72[_0x49402a(0x25f)],_0x3cdb18[_0x49402a(0x258)]=_0x51d0af;const _0x2dc952=_0x3cdb18;return!_0x3ced72[_0x49402a(0x222)](isUndefined,_0x2d533e)&&(_0x2dc952[_0x49402a(0x258)]['reason']=JSON['stringify'](_0x2d533e)),_0x3f0a73[_0x49402a(0x1fe)](()=>{},_0x49402a(0x26d)+JSON[_0x49402a(0x270)](_0x2dc952));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x4de30e(0x1d0)],async _0x23c46e=>{const _0x1e55f6=a1_0x4de30e,_0x1a7776={};_0x1a7776[_0x1e55f6(0x1f9)]=function(_0x3533b7,_0x57a3c5){return _0x3533b7===_0x57a3c5;},_0x1a7776[_0x1e55f6(0x275)]=_0x1e55f6(0x24f);const _0x51a809=_0x1a7776;_0x51a809[_0x1e55f6(0x1f9)](_0x23c46e[_0x1e55f6(0x29e)]['name'],_0x51a809[_0x1e55f6(0x275)])?await _0x23c46e[_0x1e55f6(0x1fe)](_0xcd3490=>{},testOpsHelper['getSyncScript']()):await _0x23c46e[_0x1e55f6(0x1fe)](testOpsHelper[_0x1e55f6(0x218)]());}),markSessionName=PerformanceTester[a1_0x4de30e(0x2b0)](PerformanceAutEvents[a1_0x4de30e(0x27d)],async(_0x33c936,_0x2aa2d1)=>{const _0x3642c2=a1_0x4de30e,_0x3d204d={};_0x3d204d[_0x3642c2(0x1e9)]=_0x3642c2(0x21e),_0x3d204d[_0x3642c2(0x22e)]=function(_0x16282c,_0x4209e8){return _0x16282c===_0x4209e8;},_0x3d204d[_0x3642c2(0x2a8)]='Playwright';const _0x44e3a3=_0x3d204d,_0x37fdb4={};_0x37fdb4['name']=_0x2aa2d1;const _0x1d7f98={};_0x1d7f98[_0x3642c2(0x276)]=_0x44e3a3[_0x3642c2(0x1e9)],_0x1d7f98[_0x3642c2(0x258)]=_0x37fdb4;const _0x2c349f=_0x1d7f98;_0x44e3a3['dbOBY'](_0x33c936['constructor'][_0x3642c2(0x232)],_0x44e3a3['gFoef'])?await _0x33c936[_0x3642c2(0x1fe)](()=>{},_0x3642c2(0x26d)+JSON[_0x3642c2(0x270)](_0x2c349f)):await _0x33c936['executeScript'](_0x3642c2(0x26d)+JSON[_0x3642c2(0x270)](_0x2c349f));}),patchSaveScreenshot=_0x271002=>{const _0x509872=a1_0x4de30e,_0xb2eaf9={'sZBRh':'base64','uvcQZ':_0x509872(0x1e2),'niscb':function(_0x367a1b){return _0x367a1b();},'yyWCo':function(_0x3847dc,_0x3a4e2d){return _0x3847dc(_0x3a4e2d);},'VSscb':_0x509872(0x205)};_0xb2eaf9['yyWCo'](isTrue,process[_0x509872(0x2bb)][_0x509872(0x223)])&&!_0x271002[_0x509872(0x278)]&&(_0x271002[_0x509872(0x278)]=!![],_0x271002[_0x509872(0x244)]=_0x271002[_0x509872(0x2c4)],_0x271002[_0x509872(0x2c4)]=(_0x3bd0c6,_0xe2f863=![])=>{const _0x28205a=_0x509872,_0x4cde4f={'yccFl':_0xb2eaf9['sZBRh'],'xeNtO':_0xb2eaf9[_0x28205a(0x247)],'ZSjGV':function(_0x447e79){const _0x1a39cd=_0x28205a;return _0xb2eaf9[_0x1a39cd(0x24a)](_0x447e79);},'vmAPX':function(_0x10e26f,_0x192438){const _0x45e013=_0x28205a;return _0xb2eaf9[_0x45e013(0x27b)](_0x10e26f,_0x192438);},'ZmMDx':_0xb2eaf9['VSscb']};return new Promise(function(_0x276d0f,_0x5d0072){const _0x2ab868=_0x28205a;_0x271002['initSaveScreenshot'](_0x3bd0c6,_0xe2f863)[_0x2ab868(0x2b3)](()=>{const _0x126aeb=_0x2ab868,_0x4c79a1=CodeceptUtils[_0x126aeb(0x253)](_0x3bd0c6);if(_0x4c79a1){const _0x35573b=fs[_0x126aeb(0x252)](_0x4c79a1);process[_0x126aeb(0x1eb)](_0x126aeb(0x21f)+process[_0x126aeb(0x220)],{'timestamp':new Date()['toISOString'](),'message':_0x35573b[_0x126aeb(0x264)](_0x4cde4f[_0x126aeb(0x2b2)]),'kind':_0x4cde4f['xeNtO']}),_0x4cde4f[_0x126aeb(0x23c)](_0x276d0f);}_0x4cde4f[_0x126aeb(0x1df)](_0x5d0072,new Error(_0x4cde4f[_0x126aeb(0x1e6)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x128041=>{const _0x1cf29c=a1_0x4de30e,_0x2c49a5={'OVxUx':function(_0x359f43){return _0x359f43();},'IuQSw':function(_0x2732c7,_0x3d9f32){return _0x2732c7(_0x3d9f32);},'OmUGy':function(_0x36db9a,_0x296e82){return _0x36db9a===_0x296e82;},'hnomO':_0x1cf29c(0x259),'QRHEv':function(_0x34abdf,_0x19f57e){return _0x34abdf===_0x19f57e;},'WjgMM':_0x1cf29c(0x26e),'QMjHc':'Element'},_0x3f4cc2=async function(_0x1bb653,_0x42e571){const _0x173253=_0x1cf29c;_0x2c49a5[_0x173253(0x27f)](isAccessibilityAutomationSession)&&!global[_0x173253(0x1e0)]&&global[_0x173253(0x297)]&&scripts[_0x173253(0x2a4)](_0x1bb653[_0x173253(0x232)])&&_0x2c49a5[_0x173253(0x21a)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x173253(0x1e0)]=!![],await PerformanceTester[_0x173253(0x2b0)](PerformanceA11yEvents[_0x173253(0x282)],async()=>{const _0x36f28b=_0x173253;logger[_0x36f28b(0x204)](_0x36f28b(0x294)+_0x1bb653[_0x36f28b(0x1cc)]+'\x20'+_0x1bb653['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x128041,scripts[_0x36f28b(0x23a)]);},{'command':_0x1bb653[_0x173253(0x232)]})());global[_0x173253(0x1e0)]=![];const _0x116e2f=JSON[_0x173253(0x20b)](process[_0x173253(0x2bb)]['FRAMEWORK_DETAILS']||'{}');if(_0x2c49a5['OmUGy'](_0x116e2f?.[_0x173253(0x1cd)]?.[_0x173253(0x232)],_0x2c49a5[_0x173253(0x281)])&&_0x2c49a5[_0x173253(0x21c)](typeof _0x116e2f?.['testFramework']?.[_0x173253(0x207)],_0x2c49a5[_0x173253(0x28d)])&&_0x116e2f?.['testFramework']?.[_0x173253(0x207)][_0x173253(0x285)]('7'))return _0x42e571['apply'](null,Array[_0x173253(0x251)][_0x173253(0x2c3)][_0x173253(0x1fa)](arguments,0x2));return _0x42e571['apply'](this,Array[_0x173253(0x251)][_0x173253(0x2c3)]['call'](arguments,0x2));},_0x3d915d=CodeceptWebDriver[_0x1cf29c(0x251)][_0x1cf29c(0x26f)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x59c7c1=_0x1cf29c,_0x1703e7={'sXKha':function(_0x178da2,_0xeb1b50){const _0x5d581e=a1_0x3af1;return _0x2c49a5[_0x5d581e(0x21c)](_0x178da2,_0xeb1b50);},'JJTcc':_0x2c49a5[_0x59c7c1(0x1f0)]};try{await _0x3d915d[_0x59c7c1(0x2a0)](this,arguments);}catch(_0x326c17){logger['debug'](_0x59c7c1(0x2b5)+util[_0x59c7c1(0x2c7)](_0x326c17));}scripts['commandsToWrap']['filter'](_0x16a5e0=>_0x16a5e0[_0x59c7c1(0x232)]&&_0x16a5e0[_0x59c7c1(0x1cc)])[_0x59c7c1(0x2ac)](_0x33b18d=>{const _0x40d095=_0x59c7c1;this['browser'][_0x40d095(0x2c5)](_0x33b18d[_0x40d095(0x232)],_0x3f4cc2[_0x40d095(0x2a3)](this,_0x33b18d),_0x1703e7['sXKha'](_0x33b18d[_0x40d095(0x1cc)],_0x1703e7[_0x40d095(0x245)]));}),_0x2c49a5[_0x59c7c1(0x21a)](processWebDriverConfig,_0x128041);};};function parseJwt(_0x3c1f3b){const _0x46b0cc=a1_0x4de30e,_0x39792a={};_0x39792a['punTX']='base64';const _0x580789=_0x39792a;if(!_0x3c1f3b)return null;return JSON[_0x46b0cc(0x20b)](Buffer[_0x46b0cc(0x238)](_0x3c1f3b[_0x46b0cc(0x2bf)]('.')[0x1],_0x580789['punTX'])[_0x46b0cc(0x264)]());}function a1_0x3af1(_0x19a3ee,_0x33f54d){const _0x2f204c=a1_0x2f20();return a1_0x3af1=function(_0x3af1f6,_0x36b5a3){_0x3af1f6=_0x3af1f6-0x1cc;let _0x29fc1b=_0x2f204c[_0x3af1f6];return _0x29fc1b;},a1_0x3af1(_0x19a3ee,_0x33f54d);}function a1_0x2f20(){const _0x36d40a=['RVqED','6072297iVqUcg','MJKEs','helpers','emit','browserContext','48318hIFuaK','WRYpQ','after','QMjHc','pAoje','contexts','rfjdh','_setPage','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bddStep-before','gJcKq','VWwKg','call','cdEqh','SDK_PRE_INITIALIZE','hook-started','executeScript','addRequestSpy','command','hook-passed','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','1201132AHCtlf','debug','Screenshot\x20path\x20not\x20found','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','version','478866yBCaYo','args','rzOvL','parse','12079449jDgIkG','grkaG','config','setGlobal','passed','eDhyt','SAVE_RESULTS','../../helpers/helper','jprDR','codeceptjs','tFVUd','stopMonitoring','getSyncScript','HOOK_RUN_STARTED','IuQSw','thJwtToken','QRHEv','tEsVu','setSessionName','bs:addLog:','pid','mGlZm','tvqYa','BS_TESTOPS_ALLOW_SCREENSHOTS','GmmPY','step-comment','WLqaO','TEST_RUN_SKIPPED','startMonitoring','QVGGE','lFAIf','event','TtaeH','TestCafe','dbOBY','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','captureError','kruVd','name','../../bin/playwright/sessionDetails','SDK_POST_INITIALIZE','a11y_core_config','skipSessionName','add','from','../../helpers/request-spy','performScan','titlePath','ZSjGV','before','getAccessibilityResultsSummary','getResultsSummary','exports','getAccessibilityResults','stack','biBeI','initSaveScreenshot','JJTcc','browserStackExecuteDriver','uvcQZ','getGlobal','__driver','niscb','FWtdt','browserstackTestName','info','devtools://','Playwright','CnVKA','prototype','readFileSync','screenshotOutputFolder','33676DfEMaI','agrZF','test-after','testAnalyticsId','arguments','webdriverio','getResults','ottDQ','bddStepFinish','CGsXY','patch','qtFtA','qFVPY','TEST_RUN_FINISHED','tNjMM','../../helpers/accessibility-automation/helper','toString','fbDjX','bHWon','dispatcher','qYpRp','domForge','page','lxKtH','status','browserstack_executor:\x20','string','_before','stringify','./o11yHelper','--auto-open-devtools-for-tabs','10RdBOoX','gkFMS','vxCJm','action','skipped','patchSaveScreenshot','test-failed','SDK_HOOK','yyWCo','XMZGD','SESSION_NAME','chromium','OVxUx','stop','hnomO','PERFORM_SCAN','afterTest','bddStep','startsWith','XChwf','SDK_POST_TEST','Dinbb','fheJi','restore','step','warn','WjgMM','FCxgS','all','INynL','test-passed','failed','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','Performing\x20scan\x20for\x20','SzyPb','fireEvent','accessibilityPlatform','xkNeb','BVrDl','SDK_TEST','SDK_PRE_TEST','test-skipped','hbDRg','constructor','../../helpers/performance/constants','apply','nxPwW','end','bind','shouldWrapCommand','ENV_VAR','hook','ctx','gFoef','thBuildUuid','mApSp','djvix','forEach','hookType','currentTest','zkZWd','measureWrapper','find','yccFl','then','message','Failed\x20to\x20execute\x20_before:\x20','TEST_RUN_STARTED','YNdVA','../../bin/playwright/accessibility-helper','BMdim','gtpSe','env','test','enabled','url','split','pages','captureEvent','start','slice','saveScreenshot','overwriteCommand','ViKlL','format','class','testFramework','skipSessionStatus','__workerDetails','SYNC','402WClDwx','TEST_LOG','KeEbx','490ElAaKj','../../helpers/globals.js','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','isMobilePlatform','push','started','bddStepStart','thTestRunUuid','LicDx','title','codeceptjs/lib/helper/Playwright.js','vmAPX','bstackAllyScanning','HOOK_RUN_FINISHED','TEST_SCREENSHOT','GET_RESULTS','4708656mxJtRF','Puppeteer','ZmMDx'];a1_0x2f20=function(){return _0x36d40a;};return a1_0x2f20();}const patchPlaywrightBefore=()=>{const _0x4d4ca5=a1_0x4de30e,_0x44f76e={'lxKtH':function(_0x50fd0f){return _0x50fd0f();},'KeEbx':_0x4d4ca5(0x24e),'nxPwW':_0x4d4ca5(0x272),'uUuPd':function(_0x2a5ae0,_0x447b78){return _0x2a5ae0(_0x447b78);},'ottDQ':function(_0x1e7343,_0x6aa640){return _0x1e7343+_0x6aa640;},'gtpSe':'\x0aStack:\x20','WRYpQ':function(_0x4b2ff2){return _0x4b2ff2();},'cavhB':function(_0x40743a){return _0x40743a();}};PlaywrightSessionDetails[_0x4d4ca5(0x25e)]();const _0x300b05=CodeceptPlaywright[_0x4d4ca5(0x251)]['_before'];CodeceptPlaywright['prototype'][_0x4d4ca5(0x26f)]=async function(){const _0x28c5c8=_0x4d4ca5,_0x7b59df={'BVrDl':function(_0x175ba9){const _0x11ae5c=a1_0x3af1;return _0x44f76e[_0x11ae5c(0x26b)](_0x175ba9);},'UJyzm':_0x44f76e[_0x28c5c8(0x1d3)],'zkZWd':_0x44f76e[_0x28c5c8(0x2a1)],'XChwf':function(_0x364ad9){return _0x44f76e['lxKtH'](_0x364ad9);},'GmmPY':function(_0x401ea5,_0x512f1c){return _0x44f76e['uUuPd'](_0x401ea5,_0x512f1c);},'ViKlL':function(_0x4cb09a,_0x1542cf){const _0x1c58d3=_0x28c5c8;return _0x44f76e[_0x1c58d3(0x25b)](_0x4cb09a,_0x1542cf);},'ZPFfM':_0x44f76e[_0x28c5c8(0x2ba)]};this[_0x28c5c8(0x1ec)]=await this['browser'][_0x28c5c8(0x1f2)]()[0x0];const _0x347672=async()=>{const _0x5afbff=_0x28c5c8,_0x29e3a3=this[_0x5afbff(0x20e)]&&this[_0x5afbff(0x20e)]['chromium']&&this[_0x5afbff(0x20e)][_0x5afbff(0x27e)][_0x5afbff(0x209)]&&Array['isArray'](this[_0x5afbff(0x20e)][_0x5afbff(0x27e)][_0x5afbff(0x209)])&&this[_0x5afbff(0x20e)][_0x5afbff(0x27e)][_0x5afbff(0x209)]['includes'](_0x7b59df[_0x5afbff(0x2af)]);if(_0x7b59df[_0x5afbff(0x286)](isAccessibilityAutomationSession)&&!_0x29e3a3)try{const _0x132852=_0x7b59df[_0x5afbff(0x224)](parseJwt,process[_0x5afbff(0x2bb)]['BS_A11Y_JWT']);if(_0x132852&&_0x132852[_0x5afbff(0x235)]&&_0x132852[_0x5afbff(0x235)][_0x5afbff(0x269)]){const _0x5f557f=this[_0x5afbff(0x1ec)]['pages']['bind'](this[_0x5afbff(0x1ec)]);this['browserContext'][_0x5afbff(0x2c0)]=async function(){const _0x228014=_0x5afbff,_0x1732d2=await _0x7b59df['BVrDl'](_0x5f557f),_0xd38ca3=[];for(const _0x2d3223 of _0x1732d2){try{const _0x2a63ff=await _0x2d3223[_0x228014(0x2be)]();!_0x2a63ff[_0x228014(0x285)](_0x7b59df['UJyzm'])&&_0xd38ca3['push'](_0x2d3223);}catch(_0x2281a9){_0xd38ca3[_0x228014(0x1d8)](_0x2d3223);}}return _0xd38ca3;};}if(!_0x7b59df[_0x5afbff(0x299)](isBrowserstackInfra)){const _0x4cc42f=await this[_0x5afbff(0x26a)][_0x5afbff(0x2be)]();if(_0x4cc42f[_0x5afbff(0x285)](_0x7b59df['UJyzm'])){const _0x3d67bd=await this[_0x5afbff(0x1ec)][_0x5afbff(0x2c0)]();this[_0x5afbff(0x1f4)](_0x3d67bd[0x0]);}}}catch(_0x5436fb){logger[_0x5afbff(0x204)](_0x5afbff(0x22f)+_0x5436fb[_0x5afbff(0x2b4)]+(_0x5436fb[_0x5afbff(0x242)]?_0x7b59df[_0x5afbff(0x2c6)](_0x7b59df['ZPFfM'],_0x5436fb[_0x5afbff(0x242)]):''));}};_0x44f76e[_0x28c5c8(0x1ee)](isBrowserstackInfra)&&await _0x44f76e[_0x28c5c8(0x1ee)](_0x347672),await _0x300b05[_0x28c5c8(0x2a0)](this,arguments),!_0x44f76e[_0x28c5c8(0x26b)](isBrowserstackInfra)&&await _0x44f76e['cavhB'](_0x347672);};},getCodeceptDriver=()=>{const _0x662953=a1_0x4de30e,_0x5d79fc={};_0x5d79fc['eDhyt']='WebDriver',_0x5d79fc[_0x662953(0x1f3)]=_0x662953(0x24f),_0x5d79fc['jprDR']=_0x662953(0x1e5),_0x5d79fc[_0x662953(0x1f8)]=_0x662953(0x22d);const _0x32f448=_0x5d79fc,_0x5dda56=[_0x32f448[_0x662953(0x211)],_0x32f448[_0x662953(0x1f3)],_0x32f448[_0x662953(0x214)],_0x32f448[_0x662953(0x1f8)]],_0x45b40b=_0x5dda56[_0x662953(0x2b1)](_0x3c4590=>!!CodeceptJS['container']['helpers'](_0x3c4590));if(!_0x45b40b)return null;return CodeceptJS['container'][_0x662953(0x1ea)](_0x45b40b);};module[a1_0x4de30e(0x240)]=function(_0x4e0c06){const _0x406767=a1_0x4de30e,_0x4b9335={'YNdVA':function(_0x561a29){return _0x561a29();},'KApLU':function(_0x39bb8e,_0x14f664){return _0x39bb8e(_0x14f664);},'tFVUd':_0x406767(0x23e),'cdEqh':_0x406767(0x206),'CGsXY':_0x406767(0x241),'INynL':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','RVqED':function(_0x3b6769,_0x2d8f4b){return _0x3b6769(_0x2d8f4b);},'tEsVu':_0x406767(0x1fd),'WLqaO':_0x406767(0x201),'kruVd':'hook-failed','grkaG':_0x406767(0x24c),'xkNeb':'test-before','XMZGD':function(_0x4e4908,_0xbec172){return _0x4e4908(_0xbec172);},'CHlAF':function(_0x367e9e,_0x5e130c,_0x3224ce){return _0x367e9e(_0x5e130c,_0x3224ce);},'lFAIf':'test-started','IVqRb':_0x406767(0x291),'diatZ':function(_0x5d956e){return _0x5d956e();},'FWtdt':function(_0x37b1f9,_0x1205b6,_0x250603,_0x449a83){return _0x37b1f9(_0x1205b6,_0x250603,_0x449a83);},'agrZF':function(_0x4e41aa,_0x34b731){return _0x4e41aa===_0x34b731;},'Smlia':'Suite','mApSp':_0x406767(0x279),'pAoje':_0x406767(0x29c),'joxSs':_0x406767(0x283),'qYpRp':_0x406767(0x1d7),'LicDx':function(_0x18fc56){return _0x18fc56();},'FCxgS':_0x406767(0x1d6),'gkFMS':_0x406767(0x256),'tNjMM':'INFO','TtaeH':_0x406767(0x1d2),'djvix':_0x406767(0x225),'SzyPb':_0x406767(0x1f7),'ptwWm':'bddStep-after','MKnSX':function(_0x59ea38){return _0x59ea38();},'fBbfL':_0x406767(0x24f)};_0x4e0c06[_0x406767(0x1ce)]&&(global['__skipSessionStatus']=_0x4e0c06['skipSessionStatus']);PerformanceTester[_0x406767(0x228)]();const _0x5c8c36=_0x4b9335['MKnSX'](getCodeceptDriver),_0x3772f9=new O11yHelper(_0x5c8c36,_0x4e0c06),_0xaf872a=!!CodeceptJS['container'][_0x406767(0x1ea)](_0x4b9335['fBbfL']);global[_0x406767(0x249)]=_0x5c8c36,_0x5c8c36&&(PerformanceTester[_0x406767(0x2b0)](PerformanceEvents[_0x406767(0x1fc)],()=>{const _0x5b1593=_0x406767;_0xaf872a?_0x4b9335[_0x5b1593(0x2b7)](patchPlaywrightBefore):_0x4b9335['KApLU'](patchWebDriverBefore,_0x5c8c36);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x406767(0x234)],()=>{const _0x38e469=_0x406767,_0x480f3c={};_0x480f3c[_0x38e469(0x2b9)]=_0x4b9335[_0x38e469(0x216)],_0x480f3c[_0x38e469(0x266)]=_0x4b9335[_0x38e469(0x1fb)],_0x480f3c[_0x38e469(0x229)]=_0x4b9335[_0x38e469(0x25d)],_0x480f3c[_0x38e469(0x289)]=_0x4b9335[_0x38e469(0x290)];const _0x26a227=_0x480f3c;_0x5c8c36[_0x38e469(0x23e)]=async()=>{const _0x6a5099=_0x38e469;if(global[_0x6a5099(0x297)]){const _0x2a5fe4={};return _0x2a5fe4[_0x6a5099(0x200)]=_0x26a227['BMdim'],await PerformanceTester[_0x6a5099(0x2b0)](PerformanceA11yEvents[_0x6a5099(0x282)],async()=>{const _0x1a1418=_0x6a5099;return await AccessibilityHelper[_0x1a1418(0x246)](_0x5c8c36,scripts[_0x1a1418(0x23a)]);},_0x2a5fe4)(),await PerformanceTester[_0x6a5099(0x2b0)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x1084b7=_0x6a5099;return await AccessibilityHelper[_0x1084b7(0x246)](_0x5c8c36,scripts[_0x1084b7(0x23f)]);})();}return logger[_0x6a5099(0x28c)](_0x26a227['bHWon']),{};},_0x5c8c36['getAccessibilityResults']=async()=>{const _0x5050f6=_0x38e469;if(global[_0x5050f6(0x297)]){const _0x904d82={};return _0x904d82['command']=_0x26a227[_0x5050f6(0x229)],await PerformanceTester[_0x5050f6(0x2b0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x5c8c36,scripts['performScan']);},_0x904d82)(),await PerformanceTester[_0x5050f6(0x2b0)](PerformanceA11yEvents[_0x5050f6(0x1e3)],async()=>{const _0x3970c4=_0x5050f6;return await AccessibilityHelper[_0x3970c4(0x246)](_0x5c8c36,scripts[_0x3970c4(0x25a)]);})();}return logger['warn'](_0x26a227[_0x5050f6(0x289)]),{};},_0x4b9335[_0x38e469(0x1e7)](patchSaveScreenshot,_0x5c8c36);})()),CodeceptJS['event'][_0x406767(0x267)]['on'](CodeceptJS['event'][_0x406767(0x28f)][_0x406767(0x23d)],()=>{const _0x2aacc9=_0x406767;PerformanceTester[_0x2aacc9(0x2c2)](PerformanceEvents[_0x2aacc9(0x29b)]);try{_0x3772f9[_0x2aacc9(0x2c2)](),testOpsHelper[_0x2aacc9(0x1ff)](),PerformanceTester[_0x2aacc9(0x2a2)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4a0184){PerformanceTester['captureError'](_0x4a0184),PerformanceTester[_0x2aacc9(0x2a2)](PerformanceEvents[_0x2aacc9(0x29b)],![],_0x4a0184);}}),CodeceptJS['event'][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x28f)][_0x406767(0x1ef)],async()=>{const _0x214985=_0x406767;PerformanceTester[_0x214985(0x2c2)](PerformanceEvents[_0x214985(0x287)]);try{requestSpy[_0x214985(0x28a)](),await _0x3772f9[_0x214985(0x280)](),PerformanceTester[_0x214985(0x2a2)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x349841){PerformanceTester[_0x214985(0x230)](_0x349841),PerformanceTester['end'](PerformanceEvents[_0x214985(0x287)],![],_0x349841);}finally{PerformanceTester[_0x214985(0x217)]();}}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS['event'][_0x406767(0x2a6)]['started'],_0x24a73e=>{const _0x2c91a2=_0x406767;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x185c7a=_0x24a73e['ctx'][_0x2c91a2(0x2bc)],_0x79abce=_0x3772f9[_0x2c91a2(0x2c1)](TEST_EVENTS[_0x2c91a2(0x219)],_0x185c7a);CodeceptRecorder[_0x2c91a2(0x237)](()=>_0x3772f9[_0x2c91a2(0x296)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x79abce));const _0x2dd7f1={};_0x2dd7f1[_0x2c91a2(0x2ad)]=_0x4b9335[_0x2c91a2(0x21d)],PerformanceTester['end'](PerformanceEvents[_0x2c91a2(0x27a)],!![],null,_0x2dd7f1);}catch(_0x4a4165){const _0x4852bc={};_0x4852bc[_0x2c91a2(0x2ad)]=_0x4b9335[_0x2c91a2(0x21d)],PerformanceTester['end'](PerformanceEvents[_0x2c91a2(0x27a)],![],_0x4a4165,_0x4852bc),PerformanceTester[_0x2c91a2(0x230)](_0x4a4165);}}),CodeceptJS['event'][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x2a6)][_0x406767(0x210)],_0x16b8a4=>{const _0x38c452=_0x406767,_0x504cc7={};_0x504cc7[_0x38c452(0x2ad)]=_0x4b9335['WLqaO'],PerformanceTester[_0x38c452(0x2c2)](PerformanceHookEvents[_0x38c452(0x27a)],!![],null,_0x504cc7);try{const _0x5d99d2=_0x16b8a4['ctx'][_0x38c452(0x2bc)],_0x2c943e=_0x3772f9[_0x38c452(0x2c1)](TEST_EVENTS[_0x38c452(0x1e1)],_0x5d99d2);CodeceptRecorder[_0x38c452(0x237)](()=>_0x3772f9[_0x38c452(0x296)](TEST_EVENTS[_0x38c452(0x1e1)],_0x2c943e));const _0x3cd922={};_0x3cd922[_0x38c452(0x2ad)]=_0x4b9335[_0x38c452(0x226)],PerformanceTester[_0x38c452(0x2a2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3cd922);}catch(_0x2577d5){PerformanceTester['captureError'](_0x2577d5);const _0x28c476={};_0x28c476['hookType']=_0x4b9335[_0x38c452(0x226)],PerformanceTester[_0x38c452(0x2a2)](PerformanceHookEvents[_0x38c452(0x27a)],![],_0x2577d5,_0x28c476);}}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)]['hook'][_0x406767(0x292)],async(_0x1b2fab,_0x4c2d57)=>{const _0x2fb45f=_0x406767;PerformanceTester[_0x2fb45f(0x2c2)](PerformanceHookEvents[_0x2fb45f(0x27a)]);try{const _0x3bf482=_0x1b2fab[_0x2fb45f(0x2a7)][_0x2fb45f(0x2bc)],_0x5edc22=_0x3772f9[_0x2fb45f(0x2c1)](TEST_EVENTS[_0x2fb45f(0x1e1)],_0x3bf482,_0x4c2d57);CodeceptRecorder[_0x2fb45f(0x237)](()=>_0x3772f9[_0x2fb45f(0x296)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5edc22));const _0x2e25c0={};_0x2e25c0[_0x2fb45f(0x2ad)]=_0x4b9335[_0x2fb45f(0x231)],PerformanceTester[_0x2fb45f(0x2c2)](PerformanceHookEvents[_0x2fb45f(0x27a)],!![],null,_0x2e25c0);}catch(_0x2ebfd1){PerformanceTester[_0x2fb45f(0x230)](_0x2ebfd1);const _0x2e0193={};_0x2e0193[_0x2fb45f(0x2ad)]=_0x4b9335[_0x2fb45f(0x231)],PerformanceTester['end'](PerformanceHookEvents[_0x2fb45f(0x27a)],![],_0x2ebfd1,_0x2e0193);}const _0x15e21f={};_0x15e21f['hookType']=_0x4b9335['kruVd'],PerformanceTester[_0x2fb45f(0x2a2)](PerformanceHookEvents[_0x2fb45f(0x27a)],!![],null,_0x15e21f);}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS['event'][_0x406767(0x2bc)]['before'],_0x3ec406=>{const _0x1e1194=_0x406767;PerformanceTester[_0x1e1194(0x2c2)](PerformanceHookEvents[_0x1e1194(0x27a)]);try{globals[_0x1e1194(0x20f)](_0x4b9335[_0x1e1194(0x20d)],_0x3ec406[_0x1e1194(0x1dd)]);_0x4b9335['YNdVA'](isBrowserstackInfra)&&(_0xaf872a&&(global[_0x1e1194(0x1cf)]={'currentTest':{'name':_0x3ec406['title'],'testInfo':{'titlePath':_0x3ec406[_0x1e1194(0x23b)]()}}}));const _0x58b077={};_0x58b077[_0x1e1194(0x2ad)]=_0x4b9335[_0x1e1194(0x298)],PerformanceTester[_0x1e1194(0x2a2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x58b077);}catch(_0x334d84){PerformanceTester['captureError'](_0x334d84);const _0x324a9e={};_0x324a9e['hookType']=_0x4b9335[_0x1e1194(0x298)],PerformanceTester[_0x1e1194(0x2a2)](PerformanceHookEvents[_0x1e1194(0x27a)],![],_0x334d84,_0x324a9e);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x2bc)][_0x406767(0x1d9)],_0x290a4c=>{const _0x26d6e1=_0x406767,_0xe7f638={'biBeI':function(_0x36288d){const _0x3b07ab=a1_0x3af1;return _0x4b9335[_0x3b07ab(0x2b7)](_0x36288d);},'hbDRg':function(_0x40cc71,_0x25307a){const _0x37985f=a1_0x3af1;return _0x4b9335[_0x37985f(0x27c)](_0x40cc71,_0x25307a);},'oBcxV':function(_0x1e4cc7,_0xa7c7b6,_0xfbd142){return _0x4b9335['CHlAF'](_0x1e4cc7,_0xa7c7b6,_0xfbd142);}};PerformanceTester[_0x26d6e1(0x2c2)](PerformanceHookEvents[_0x26d6e1(0x27a)]);try{globals[_0x26d6e1(0x20f)](_0x4b9335['grkaG'],_0x290a4c['title']);const _0x32ce46=_0x3772f9[_0x26d6e1(0x2c1)](TEST_EVENTS['TEST_RUN_STARTED'],_0x290a4c);CodeceptRecorder[_0x26d6e1(0x237)](()=>_0x3772f9[_0x26d6e1(0x296)](TEST_EVENTS[_0x26d6e1(0x2b6)],_0x32ce46)),CodeceptRecorder['add'](async()=>{const _0x2ee265=_0x26d6e1;_0xe7f638[_0x2ee265(0x243)](isBrowserstackInfra)&&(!_0xe7f638['hbDRg'](isTrue,_0x4e0c06[_0x2ee265(0x236)])&&await _0xe7f638['oBcxV'](markSessionName,_0x5c8c36,_0x290a4c[_0x2ee265(0x1dd)]),_0x3772f9[_0x2ee265(0x2bd)]&&await _0xe7f638[_0x2ee265(0x29d)](o11ySync,_0x5c8c36));});}catch(_0x446296){const _0x22d31d={};_0x22d31d['hookType']=_0x4b9335[_0x26d6e1(0x22a)],PerformanceTester['end'](PerformanceHookEvents[_0x26d6e1(0x27a)],![],_0x446296,_0x22d31d),PerformanceTester[_0x26d6e1(0x230)](_0x446296);}const _0xbc8806={};_0xbc8806[_0x26d6e1(0x2ad)]=_0x4b9335[_0x26d6e1(0x22a)],PerformanceTester[_0x26d6e1(0x2a2)](PerformanceHookEvents[_0x26d6e1(0x27a)],!![],null,_0xbc8806);}),CodeceptJS[_0x406767(0x22b)]['dispatcher']['on'](CodeceptJS[_0x406767(0x22b)]['test'][_0x406767(0x210)],_0x4dc816=>{const _0x153ff2=_0x406767,_0x54cec7={'rzOvL':function(_0xa9a881,_0x2d4ee6,_0x1998c7){return _0x4b9335['CHlAF'](_0xa9a881,_0x2d4ee6,_0x1998c7);},'Dinbb':function(_0x3ecd67){const _0x2ae372=a1_0x3af1;return _0x4b9335[_0x2ae372(0x2b7)](_0x3ecd67);}};PerformanceTester[_0x153ff2(0x2c2)](PerformanceHookEvents[_0x153ff2(0x27a)]);try{const _0x53a286=_0x3772f9[_0x153ff2(0x2c1)](TEST_EVENTS[_0x153ff2(0x261)],_0x4dc816);CodeceptRecorder[_0x153ff2(0x237)](()=>_0x3772f9['fireEvent'](TEST_EVENTS[_0x153ff2(0x261)],_0x53a286)),CodeceptRecorder['add'](async()=>{const _0x3c7eb7=_0x153ff2,_0x168a6e={'fzbTA':function(_0x1641da,_0x2362b4,_0x548e60){const _0x2ef058=a1_0x3af1;return _0x54cec7[_0x2ef058(0x20a)](_0x1641da,_0x2362b4,_0x548e60);}};_0x54cec7[_0x3c7eb7(0x288)](isBrowserstackInfra)&&await PerformanceTester[_0x3c7eb7(0x2b0)](PerformanceAutEvents['SESSION_STATUS'],async()=>{_0xaf872a?await _0x168a6e['fzbTA'](playwrightMarkSessionStatus,_0x5c8c36,STATE_PASSED):await _0x168a6e['fzbTA'](markSessionStatus,_0x5c8c36,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x3ad301){PerformanceTester[_0x153ff2(0x230)](_0x3ad301);const _0x466a60={};_0x466a60[_0x153ff2(0x2ad)]=_0x4b9335['IVqRb'],PerformanceTester[_0x153ff2(0x2a2)](PerformanceHookEvents[_0x153ff2(0x27a)],![],_0x3ad301,_0x466a60),PerformanceTester[_0x153ff2(0x2a2)](PerformanceEvents[_0x153ff2(0x29a)],![],_0x3ad301);}const _0x27226c={};_0x27226c[_0x153ff2(0x2ad)]=_0x4b9335['IVqRb'],PerformanceTester['end'](PerformanceHookEvents[_0x153ff2(0x27a)],!![],null,_0x27226c);}),CodeceptJS['event'][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)]['test'][_0x406767(0x292)],(_0x4eeba9,_0x3e10ad)=>{const _0x5626e1=_0x406767,_0x38d4ba={'fbDjX':function(_0x8a37f){return _0x4b9335['diatZ'](_0x8a37f);},'CnVKA':function(_0x56eb9e,_0x29e44d,_0x4eac00,_0xcb7d48){const _0x49cad3=a1_0x3af1;return _0x4b9335[_0x49cad3(0x24b)](_0x56eb9e,_0x29e44d,_0x4eac00,_0xcb7d48);},'UBBQy':function(_0x10df5f,_0x24ffda,_0x559a60,_0x285f47){const _0x2d1ad4=a1_0x3af1;return _0x4b9335[_0x2d1ad4(0x24b)](_0x10df5f,_0x24ffda,_0x559a60,_0x285f47);}};PerformanceTester[_0x5626e1(0x2c2)](PerformanceHookEvents[_0x5626e1(0x27a)]);try{if(_0x4b9335[_0x5626e1(0x255)](_0x4eeba9[_0x5626e1(0x29e)][_0x5626e1(0x232)],_0x4b9335['Smlia'])){const _0x1c2b4b=_0x3772f9[_0x5626e1(0x2c1)](TEST_EVENTS[_0x5626e1(0x227)],_0x4eeba9[_0x5626e1(0x2a7)][_0x5626e1(0x2ae)]);CodeceptRecorder[_0x5626e1(0x237)](()=>_0x3772f9[_0x5626e1(0x296)](TEST_EVENTS[_0x5626e1(0x227)],_0x1c2b4b));}else{const _0x8f5afd=_0x3772f9[_0x5626e1(0x2c1)](TEST_EVENTS[_0x5626e1(0x261)],_0x4eeba9,_0x3e10ad);CodeceptRecorder['add'](()=>{const _0xa8dfa7=_0x5626e1;try{_0x3772f9[_0xa8dfa7(0x296)](TEST_EVENTS[_0xa8dfa7(0x261)],_0x8f5afd);}catch(_0x2c50ba){logger['debug'](_0xa8dfa7(0x293)+util[_0xa8dfa7(0x2c7)](_0x2c50ba)),PerformanceTester[_0xa8dfa7(0x2a2)](PerformanceEvents['SDK_TEST'],![],_0x2c50ba);}}),CodeceptRecorder[_0x5626e1(0x237)](async()=>{const _0x948a53=_0x5626e1;try{_0x38d4ba[_0x948a53(0x265)](isBrowserstackInfra)&&(_0xaf872a?await _0x38d4ba[_0x948a53(0x250)](playwrightMarkSessionStatus,_0x5c8c36,STATE_FAILED,_0x3e10ad):await _0x38d4ba['UBBQy'](markSessionStatus,_0x5c8c36,STATE_FAILED,_0x3e10ad));}catch(_0x551710){logger['debug'](_0x948a53(0x202)+util['format'](_0x551710)),PerformanceTester[_0x948a53(0x2a2)](PerformanceEvents['SDK_TEST'],![],_0x551710);}});}PerformanceTester['end'](PerformanceEvents[_0x5626e1(0x29a)]);}catch(_0x5cb8d1){PerformanceTester[_0x5626e1(0x230)](_0x5cb8d1);const _0x4c5e5b={};_0x4c5e5b[_0x5626e1(0x2ad)]=_0x4b9335['mApSp'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x5cb8d1,_0x4c5e5b),PerformanceTester[_0x5626e1(0x2a2)](PerformanceEvents[_0x5626e1(0x29a)],![],_0x5cb8d1);}const _0x37437c={};_0x37437c[_0x5626e1(0x2ad)]=_0x4b9335[_0x5626e1(0x2aa)],PerformanceTester[_0x5626e1(0x2a2)](PerformanceHookEvents[_0x5626e1(0x27a)],!![],null,_0x37437c);}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS['event']['test'][_0x406767(0x277)],_0x131416=>{const _0x522343=_0x406767;PerformanceTester[_0x522343(0x2c2)](PerformanceHookEvents[_0x522343(0x27a)]);try{const _0x219308=_0x3772f9[_0x522343(0x2c1)](TEST_EVENTS[_0x522343(0x227)],_0x131416);CodeceptRecorder[_0x522343(0x237)](()=>_0x3772f9[_0x522343(0x296)](TEST_EVENTS[_0x522343(0x227)],_0x219308)),PerformanceTester[_0x522343(0x2a2)](PerformanceEvents[_0x522343(0x29a)]);}catch(_0x1d92fe){PerformanceTester['captureError'](_0x1d92fe),PerformanceTester[_0x522343(0x2a2)](PerformanceEvents[_0x522343(0x29a)],![],_0x1d92fe);const _0x126312={};_0x126312[_0x522343(0x2ad)]=_0x4b9335['pAoje'],PerformanceTester[_0x522343(0x2a2)](PerformanceHookEvents[_0x522343(0x27a)],![],_0x1d92fe,_0x126312);}const _0x3a363={};_0x3a363[_0x522343(0x2ad)]=_0x4b9335[_0x522343(0x1f1)],PerformanceTester[_0x522343(0x2a2)](PerformanceHookEvents[_0x522343(0x27a)],!![],null,_0x3a363);}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)]['test'][_0x406767(0x1ef)],async(_0x528540,_0x1dfb29)=>{const _0x28ae0c=_0x406767,_0x396662={};_0x396662['mGlZm']=_0x4b9335['joxSs'],_0x396662[_0x28ae0c(0x260)]=_0x4b9335[_0x28ae0c(0x268)];const _0x2c7b59=_0x396662;try{PerformanceTester[_0x28ae0c(0x2c2)](PerformanceHookEvents['SDK_HOOK']);const _0x1b7dfd=_0x4b9335['CHlAF'](shouldScanTestForAccessibility,_0x528540[_0x28ae0c(0x23b)](),!![]);if(_0x4b9335[_0x28ae0c(0x1dc)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1b7dfd){const _0x5e93b8={};_0x5e93b8[_0x28ae0c(0x1db)]=_0x528540[_0x28ae0c(0x257)],_0x5e93b8[_0x28ae0c(0x2a9)]=process[_0x28ae0c(0x2bb)][testHubConstants[_0x28ae0c(0x2a5)]['BROWSERSTACK_TESTHUB_UUID']],_0x5e93b8[_0x28ae0c(0x21b)]=process[_0x28ae0c(0x2bb)][testHubConstants[_0x28ae0c(0x2a5)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4785ee=_0x5e93b8;logger[_0x28ae0c(0x204)](_0x28ae0c(0x1f6)+JSON['stringify'](_0x4785ee)),CodeceptRecorder[_0x28ae0c(0x237)](async()=>{const _0x4067c6=_0x28ae0c,_0x420b54={};_0x420b54[_0x4067c6(0x200)]=_0x2c7b59[_0x4067c6(0x221)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4067c6(0x282)],async()=>{const _0x402ccc=_0x4067c6;await AccessibilityHelper[_0x402ccc(0x246)](_0x5c8c36,scripts['performScan']);},_0x420b54)(),globals[_0x4067c6(0x248)](_0x2c7b59[_0x4067c6(0x260)])&&(_0x4785ee['is_mobile_session']=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4067c6(0x212)],async()=>{const _0x1fd24a=_0x4067c6;await AccessibilityHelper[_0x1fd24a(0x246)](_0x5c8c36,scripts['saveTestResults'],_0x4785ee);})();}),logger[_0x28ae0c(0x24d)](_0x4b9335[_0x28ae0c(0x28e)]);}const _0x538063={};_0x538063[_0x28ae0c(0x2ad)]=_0x4b9335[_0x28ae0c(0x274)],PerformanceTester[_0x28ae0c(0x2a2)](PerformanceHookEvents[_0x28ae0c(0x27a)],!![],null,_0x538063);}catch(_0x59538d){PerformanceTester[_0x28ae0c(0x230)](_0x59538d);const _0x194562={};_0x194562[_0x28ae0c(0x2ad)]=_0x4b9335[_0x28ae0c(0x274)],PerformanceTester[_0x28ae0c(0x2a2)](PerformanceHookEvents['SDK_HOOK'],![],_0x59538d,_0x194562);}}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x28b)]['comment'],_0x9770c7=>{const _0x205c5f=_0x406767;PerformanceTester[_0x205c5f(0x2c2)](PerformanceHookEvents[_0x205c5f(0x27a)]);try{process[_0x205c5f(0x1eb)](_0x205c5f(0x21f)+process[_0x205c5f(0x220)],{'timestamp':new Date()['toISOString'](),'level':_0x4b9335[_0x205c5f(0x262)],'message':_0x9770c7,'kind':_0x4b9335[_0x205c5f(0x22c)],'http_response':{}});}catch(_0x6b9ba){PerformanceTester[_0x205c5f(0x230)](_0x6b9ba);const _0xf59dc={};_0xf59dc[_0x205c5f(0x2ad)]=_0x4b9335[_0x205c5f(0x2ab)],PerformanceTester[_0x205c5f(0x2a2)](PerformanceHookEvents[_0x205c5f(0x27a)],![],_0x6b9ba,_0xf59dc);}const _0x99bdff={};_0x99bdff[_0x205c5f(0x2ad)]=_0x4b9335[_0x205c5f(0x2ab)],PerformanceTester[_0x205c5f(0x2a2)](PerformanceHookEvents[_0x205c5f(0x27a)],!![],null,_0x99bdff);}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x284)][_0x406767(0x23d)],_0x3a431c=>{const _0x2d2a01=_0x406767,_0x26126b={};_0x26126b[_0x2d2a01(0x2ad)]=_0x4b9335[_0x2d2a01(0x295)],PerformanceTester[_0x2d2a01(0x2b0)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x4fcf52=_0x2d2a01;_0x3772f9[_0x4fcf52(0x1da)](_0x3a431c);},_0x26126b)();}),CodeceptJS[_0x406767(0x22b)][_0x406767(0x267)]['on'](CodeceptJS[_0x406767(0x22b)][_0x406767(0x284)][_0x406767(0x1ef)],_0x34b87b=>{const _0x35b5d9=_0x406767,_0x3dd448={};_0x3dd448[_0x35b5d9(0x2ad)]=_0x4b9335['ptwWm'],PerformanceTester[_0x35b5d9(0x2b0)](PerformanceHookEvents[_0x35b5d9(0x27a)],()=>{const _0x4e0694=_0x35b5d9;_0x3772f9[_0x4e0694(0x25c)](_0x34b87b);},_0x3dd448)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x4ca47d=a2_0x30d1;function a2_0xde7c(){const _0x32e041=['gNRsu','../../helpers/test-observability/constants','30541XMNvuu','info','WhrNz','rihOz','playwright-webkit','2785050wqQUGJ','isUndefined','enabled','existsSync','getUserWorkerCount','Passed\x20:\x20','PmjVD','HrRlr','test','process','Workers','title','run','10opYGde','../../helpers/logger','BROWSERSTACK_RERUN_TESTS','qrdgd','Playwright','finalExecution','length','32392CFeeCc','skipSessionStatus','3004320kmGtox','Failed\x20:\x20','playwright-firefox','testContextOptions','BrowserStackPlugin.js','errorMessage','event','env','gVEtq','failed','uPVwy','Started\x20:\x20','TnlNP','stack','before','../utils/clientTroubleshootingService','prepareCapabilities','split','hubUrl','require','mergeDeep','102554EGJBKb','key','teardownAll','profile','--config','accessibilityOptions','isTrue','getPlatformName','skipSessionName','browserName','join','urXew','dirname','qwKuj','jxNNe','browser','ZVHeD','util','forEach','now','3|4|0|5|1|2','end','qZFne','result','chrome','slice','bootstrapAll','WtTYq','findIndex','XpZwU','1XTrZFv','helpers','CODECEPT_CUCUMBER','../../helpers/helper','KzUuh','isEmpty','log','2817405SxgHhj','knqhI','format','ksAPb','root','spawn','validPlatformsPresent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','MhhGL','MJlxb','../utils/constants','desiredCapabilities','IaEnT','NbiTb','lilpe','addOptions','path','frameworkName','cwd','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','testConfig','CODECEPT','browserWSEndpoint','load','aZYww','../../helpers/accessibility-automation/helper','playwright-chromium','platforms','getPlaywrightUrl','parallelsPerPlatform','push','map','codeceptjs','lscoJ','assign','start','SDK_SETUP','useW3C','toLowerCase','WebDriver','378LvmkYm','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/BrowserStackSetup','USER_CONFIG_DETAILS_PATH','testObservability','all','12399750AhBPzu','FRAMEWORKS','replace','70kyYKSr','handleApp','firefox','browserStackCwd','isTestObservabilitySession','yxKFK','createGroupsOfSuites','QRbsk','BrowserStackPlugin','passed','winstonLogger','exports','YsonD','config','stop','accessibility','initialize','../../bin/playwright/accessibility-helper','codeceptjs/lib/index.js'];a2_0xde7c=function(){return _0x32e041;};return a2_0xde7c();}(function(_0x580382,_0x1ec23a){const _0x2d126b=a2_0x30d1,_0x5bd7c5=_0x580382();while(!![]){try{const _0xa6910d=parseInt(_0x2d126b(0x188))/0x1*(parseInt(_0x2d126b(0x16a))/0x2)+-parseInt(_0x2d126b(0x18f))/0x3+parseInt(_0x2d126b(0x1f0))/0x4*(-parseInt(_0x2d126b(0x1c2))/0x5)+-parseInt(_0x2d126b(0x1b7))/0x6*(parseInt(_0x2d126b(0x1d7))/0x7)+parseInt(_0x2d126b(0x1f2))/0x8+parseInt(_0x2d126b(0x1dc))/0x9+-parseInt(_0x2d126b(0x1e9))/0xa*(-parseInt(_0x2d126b(0x1bf))/0xb);if(_0xa6910d===_0x1ec23a)break;else _0x5bd7c5['push'](_0x5bd7c5['shift']());}catch(_0xecfdbe){_0x5bd7c5['push'](_0x5bd7c5['shift']());}}}(a2_0xde7c,0x82e4d));const fs=require('fs'),path=require('path'),util=require(a2_0x4ca47d(0x17b)),process=require(a2_0x4ca47d(0x1e5)),logger=require(a2_0x4ca47d(0x1ea))[a2_0x4ca47d(0x1cc)],{default:BrowserStackSetup}=require(a2_0x4ca47d(0x1bb)),helper=require(a2_0x4ca47d(0x18b)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x4ca47d(0x1a8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x4ca47d(0x1d3)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4ca47d(0x18b)),CodeceptJS=requireModule(a2_0x4ca47d(0x1d4),a2_0x4ca47d(0x1af)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x4ca47d(0x199)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x4ca47d(0x1d6)),PerformanceEvents=require(a2_0x4ca47d(0x1b9))['EVENTS'],ClientTroubleShootingService=require(a2_0x4ca47d(0x164)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xf4bc93,_0x13db16)=>{const _0x1e0f4d=a2_0x4ca47d,_0x35d255={};_0x35d255[_0x1e0f4d(0x19c)]=function(_0x70f1c0,_0x2afa3d){return _0x70f1c0===_0x2afa3d;},_0x35d255[_0x1e0f4d(0x178)]='codecept.conf.js',_0x35d255[_0x1e0f4d(0x1d5)]='codecept.json';const _0x1fe269=_0x35d255;let _0x5134c1=null;const _0x2b16ea={};let _0x229259=_0x13db16[_0x1e0f4d(0x186)](_0x20097f=>_0x20097f===_0x1e0f4d(0x16e));_0x1fe269[_0x1e0f4d(0x19c)](_0x229259,-0x1)&&(_0x229259=_0x13db16[_0x1e0f4d(0x186)](_0x4fb05f=>_0x4fb05f==='-c'));if(!helper[_0x1e0f4d(0x1dd)](_0xf4bc93['config'])&&fs[_0x1e0f4d(0x1df)](path['join'](process[_0x1e0f4d(0x1a1)](),_0xf4bc93[_0x1e0f4d(0x1cf)])))_0x5134c1=path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0xf4bc93[_0x1e0f4d(0x1cf)]),_0x13db16[_0x1e0f4d(0x183)](_0x229259,0x2);else{if(!helper[_0x1e0f4d(0x1dd)](_0xf4bc93['c'])&&fs[_0x1e0f4d(0x1df)](path['join'](process[_0x1e0f4d(0x1a1)](),_0xf4bc93['c'])))_0x5134c1=path[_0x1e0f4d(0x174)](process['cwd'](),_0xf4bc93['c']),_0x13db16[_0x1e0f4d(0x183)](_0x229259,0x2);else{if(fs[_0x1e0f4d(0x1df)](path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x178)])))_0x5134c1=path['join'](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x178)]);else fs[_0x1e0f4d(0x1df)](path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x1d5)]))&&(_0x5134c1=path[_0x1e0f4d(0x174)](process['cwd'](),_0x1fe269[_0x1e0f4d(0x1d5)]));}}return process[_0x1e0f4d(0x1f9)][_0x1e0f4d(0x1bc)]=_0x5134c1,_0x5134c1;},getO11yRerunPattern=()=>{const _0x1ff553=a2_0x4ca47d,_0x31a271=helper[_0x1ff553(0x170)](process[_0x1ff553(0x1f9)]['BROWSERSTACK_RERUN']);if(_0x31a271){const _0x440981=process[_0x1ff553(0x1f9)][_0x1ff553(0x1eb)],_0xacb636=[];if(helper['validateRerunTestList'](_0x440981)&&!helper[_0x1ff553(0x1dd)](_0x440981)){_0x440981[_0x1ff553(0x166)](',')[_0x1ff553(0x1ae)](_0xd2c7d=>{const _0x1cfabe=_0x1ff553;_0xacb636[_0x1cfabe(0x1ad)]('('+_0xd2c7d['trim']()+')');});const _0x44c0db='^'+_0xacb636[_0x1ff553(0x174)]('|')+'$';return _0x44c0db;}}return null;},a2_0x1e51eb={};a2_0x1e51eb[a2_0x4ca47d(0x182)]='chromium',a2_0x1e51eb[a2_0x4ca47d(0x1a9)]='chromium',a2_0x1e51eb[a2_0x4ca47d(0x1f4)]=a2_0x4ca47d(0x1c4),a2_0x1e51eb[a2_0x4ca47d(0x1db)]='webkit';function a2_0x30d1(_0x447c40,_0x5381ae){const _0xde7c24=a2_0xde7c();return a2_0x30d1=function(_0x30d13c,_0x49b532){_0x30d13c=_0x30d13c-0x15e;let _0x3e2022=_0xde7c24[_0x30d13c];return _0x3e2022;},a2_0x30d1(_0x447c40,_0x5381ae);}const pwToCodeceptBrowser=a2_0x1e51eb;async function run(_0x155424,_0x491153,_0x337fc6){const _0x16ae24=a2_0x4ca47d,_0x126c64={'HrRlr':function(_0xefb2b0,_0x11672e,_0x22a0e5,_0x15545b){return _0xefb2b0(_0x11672e,_0x22a0e5,_0x15545b);},'uPVwy':function(_0x41e564,_0x3d5817){return _0x41e564+_0x3d5817;},'ksAPb':function(_0xd29d6a,_0x1e18ff){return _0xd29d6a(_0x1e18ff);},'qZFne':function(_0x34dc2a,_0x2d207a,_0x1ae950){return _0x34dc2a(_0x2d207a,_0x1ae950);},'KzUuh':_0x16ae24(0x189),'aZYww':function(_0x5727aa){return _0x5727aa();},'SorCa':'/wd/hub','IaEnT':function(_0x144241){return _0x144241();},'XChej':_0x16ae24(0x1f3),'urXew':_0x16ae24(0x1e1),'TnlNP':_0x16ae24(0x160),'WtTYq':_0x16ae24(0x17e),'YsonD':_0x16ae24(0x1a2),'lilpe':function(_0x49b9fa,_0x187499,_0x16111e){return _0x49b9fa(_0x187499,_0x16111e);},'PmjVD':_0x16ae24(0x1ed),'XpZwU':'WebDriver','gVEtq':function(_0x73b92b,_0x4be877){return _0x73b92b(_0x4be877);},'rihOz':function(_0x292ad4,_0x52b54f){return _0x292ad4!=_0x52b54f;},'rcXGL':function(_0x1f2996,_0x409b64){return _0x1f2996===_0x409b64;},'knqhI':function(_0xb6ab82,_0x1ebee8,_0x9a8377){return _0xb6ab82(_0x1ebee8,_0x9a8377);},'lscoJ':'gherkin','qrdgd':function(_0x4a51f6,_0x294680){return _0x4a51f6*_0x294680;},'yxKFK':function(_0x1e7106,_0x50f999,_0x388071){return _0x1e7106(_0x50f999,_0x388071);},'ZVHeD':_0x16ae24(0x179),'QRbsk':function(_0x9578a6,_0x174b31,_0x5aeb11){return _0x9578a6(_0x174b31,_0x5aeb11);},'smSYK':_0x16ae24(0x19a),'qwKuj':_0x16ae24(0x193),'MhhGL':_0x16ae24(0x1f6),'WhrNz':_0x16ae24(0x1c5),'MJlxb':function(_0x14e870){return _0x14e870();}};await _0x337fc6[_0x16ae24(0x1d2)](_0x155424),await helper[_0x16ae24(0x1c3)](_0x337fc6[_0x16ae24(0x1cf)]);if(!_0x337fc6['config'])return;process['profile']=_0x155424[_0x16ae24(0x16d)];_0x155424[_0x16ae24(0x16d)]&&(process[_0x16ae24(0x1f9)][_0x16ae24(0x16d)]=_0x155424[_0x16ae24(0x16d)]);const _0x3567e3=_0x126c64[_0x16ae24(0x180)](getUserCodeceptJSConfigs,_0x155424,_0x491153);let _0x2fe88d={};_0x3567e3?(logger[_0x16ae24(0x1d8)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3567e3),_0x2fe88d=CodeceptJS[_0x16ae24(0x1cf)][_0x16ae24(0x1a6)](_0x3567e3)):logger[_0x16ae24(0x1d8)](_0x126c64[_0x16ae24(0x1ce)]);let _0x5397b2=![];_0x126c64[_0x16ae24(0x19d)](nestedKeyValue,_0x2fe88d,[_0x126c64['KzUuh'],_0x126c64[_0x16ae24(0x1e2)]])&&(_0x5397b2=!![]);const _0x2b6844=_0x5397b2?_0x126c64[_0x16ae24(0x1e2)]:_0x126c64[_0x16ae24(0x187)];let _0x39e949=!_0x5397b2?helper[_0x16ae24(0x1b4)](_0x337fc6[_0x16ae24(0x1cf)]):![];!helper['isUndefined'](_0x337fc6[_0x16ae24(0x1cf)]['accessibilityOptions'])&&(process[_0x16ae24(0x1f9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x16f)]));let _0x411ff1=_0x337fc6['config'][_0x16ae24(0x1d1)];_0x411ff1=_0x411ff1||_0x126c64[_0x16ae24(0x1fa)](checkAccessibilityPlatformConfig,_0x337fc6[_0x16ae24(0x1cf)]),process[_0x16ae24(0x1f9)][_0x16ae24(0x196)]=_0x411ff1;_0x411ff1&&(_0x39e949=!_0x411ff1);_0x126c64[_0x16ae24(0x1da)](_0x337fc6['config'][_0x16ae24(0x1bd)],null)?process[_0x16ae24(0x1f9)][_0x16ae24(0x1ba)]=_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1bd)]:process[_0x16ae24(0x1f9)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x126c64['rcXGL'](_0x2b6844,_0x126c64[_0x16ae24(0x1e2)]);const _0x4ad90c=_0x126c64[_0x16ae24(0x190)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x1b0)]]),_0x45229c=_0x4ad90c&&!helper[_0x16ae24(0x18d)](_0x4ad90c)?FRAMEWORKS[_0x16ae24(0x18a)]:FRAMEWORKS[_0x16ae24(0x1a4)],_0x30d627=await TestHubHandler['launchBuild'](_0x45229c,_0x337fc6);_0x411ff1&&_0x126c64[_0x16ae24(0x1fa)](setAccessibilityCapabilities,_0x337fc6[_0x16ae24(0x1cf)]);const _0x2f5d85={},_0x1a90bf=[],_0x2d163f=_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1ac)]||helper[_0x16ae24(0x1e0)](_0x155424,_0x491153,_0x337fc6[_0x16ae24(0x1cf)],constants[_0x16ae24(0x1c0)][_0x16ae24(0x1a4)])||0x1;let _0x23a89d=0x1;if(_0x126c64[_0x16ae24(0x19b)](isBrowserstackInfra)){const _0x3e1ba8=helper[_0x16ae24(0x165)](_0x337fc6['config'],_0x39e949,constants['FRAMEWORKS'][_0x16ae24(0x1a4)]);_0x3e1ba8[_0x16ae24(0x17c)](_0x47d09f=>{helper['setAdditionalCapabilities'](_0x47d09f);}),helper[_0x16ae24(0x195)](_0x337fc6[_0x16ae24(0x1cf)])?_0x23a89d=_0x126c64[_0x16ae24(0x1ec)](_0x2d163f,_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1aa)][_0x16ae24(0x1ef)]):_0x23a89d=_0x2d163f,_0x3e1ba8['forEach'](_0xb5c83e=>{const _0x216dae=_0x16ae24,_0x44dbd5=_0x126c64['uPVwy'](helper[_0x216dae(0x171)](_0xb5c83e,'_'),'_'+Date[_0x216dae(0x17d)]()),_0x1ea0d4=((()=>{const _0x1bd718=_0x216dae;if(_0x5397b2){const _0x1a6941=pwToCodeceptBrowser[_0xb5c83e[_0x1bd718(0x173)]]||_0xb5c83e['browserName'],_0x3d2f32=helper[_0x1bd718(0x1ab)](_0x337fc6[_0x1bd718(0x1cf)]),_0x590457=Object[_0x1bd718(0x1b1)]({},_0xb5c83e);return _0x126c64[_0x1bd718(0x1e3)](processAccessibilityCaps,_0x590457,_0x3d2f32,null),{'browser':_0x1a6941,[_0x1a6941]:{'browserWSEndpoint':_0x126c64[_0x1bd718(0x15f)](_0x3d2f32,_0x126c64[_0x1bd718(0x192)](encodeURIComponent,JSON['stringify'](_0x590457)))}};}const _0x5b2f46={};return _0x5b2f46[_0x1bd718(0x19a)]=_0xb5c83e,_0x5b2f46['user']=_0x337fc6[_0x1bd718(0x1cf)]['userName'],_0x5b2f46[_0x1bd718(0x16b)]=_0x337fc6['config']['accessKey'],_0x5b2f46;})()),_0x1b3e36=_0x126c64['qZFne'](nestedKeyValue,_0x2fe88d,[_0x126c64['KzUuh'],_0x2b6844]);_0x2f5d85[_0x44dbd5]=_0x1b3e36?helper[_0x216dae(0x169)](_0x1ea0d4,_0x1b3e36):_0x1ea0d4;if(_0x5397b2)_0x2f5d85[_0x44dbd5]['browser']=pwToCodeceptBrowser[_0xb5c83e[_0x216dae(0x173)]]||_0xb5c83e[_0x216dae(0x173)];else{_0x2f5d85[_0x44dbd5][_0x216dae(0x179)]=_0xb5c83e['browserName']||_0x1ea0d4['browser'];if(_0x126c64[_0x216dae(0x1a7)](isBrowserstackInfra)){_0x2f5d85[_0x44dbd5]['host']=constants[_0x216dae(0x167)]['replace'](_0x126c64['SorCa'],'')[_0x216dae(0x1c1)](/https?:\/\//,'');;_0x2f5d85[_0x44dbd5][_0x216dae(0x19f)]=_0x126c64['SorCa'];}}_0x1a90bf['push'](_0x44dbd5);});}else{_0x23a89d=0x1;if(_0x5397b2){const _0x2ff4c6=_0x126c64[_0x16ae24(0x1c7)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x126c64[_0x16ae24(0x17a)]]),_0x1abdf7=_0x126c64[_0x16ae24(0x1c9)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x2ff4c6]);if(_0x1abdf7&&_0x1abdf7[_0x16ae24(0x1a5)]){const _0x277857={};_0x277857[_0x16ae24(0x1aa)]=[],_0x1abdf7[_0x16ae24(0x1a5)]=helper[_0x16ae24(0x165)](Object[_0x16ae24(0x1b1)]({},_0x337fc6[_0x16ae24(0x1cf)],_0x277857),null,_0x45229c[_0x16ae24(0x1b5)](),null,null,_0x1abdf7['browserWSEndpoint']);}}else{const _0x57d90d={};_0x57d90d[_0x16ae24(0x1aa)]=[],_0x2fe88d[_0x126c64[_0x16ae24(0x18c)]][_0x2b6844][_0x126c64['smSYK']]=helper['prepareCapabilities'](Object['assign']({},_0x337fc6['config'],_0x57d90d),null,_0x45229c['toLowerCase'](),_0x126c64[_0x16ae24(0x180)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x126c64['smSYK']])||{},null,null);}_0x2f5d85[_0x126c64[_0x16ae24(0x177)]]=_0x2fe88d,_0x1a90bf['push'](_0x126c64[_0x16ae24(0x177)]);}const _0x28c75c={};_0x28c75c[_0x16ae24(0x1a3)]=_0x3567e3;const _0x2c6c00=_0x28c75c,_0x44c7c1=path['join'](__dirname,_0x126c64[_0x16ae24(0x197)]),_0x16376b=process[_0x16ae24(0x1a1)]();process['env'][_0x126c64[_0x16ae24(0x1d9)]]=_0x16376b,process['chdir'](path[_0x16ae24(0x176)](_0x3567e3));const _0x3486ac=new CodeceptJS[(_0x16ae24(0x1e6))](null,_0x2c6c00),_0x37111c=_0x3486ac[_0x16ae24(0x1c8)](_0x2d163f),_0x184970=testOpsHelper[_0x16ae24(0x1c6)](),_0x16fd24=_0x1a90bf[_0x16ae24(0x1ae)](_0x56e8b3=>{const _0x440a34=_0x16ae24,_0x4f4578={};_0x4f4578[_0x440a34(0x1ed)]=_0x2f5d85[_0x56e8b3];const _0x480e08={};_0x480e08[_0x440a34(0x1b6)]=_0x2f5d85[_0x56e8b3];const _0x379f63=_0x5397b2?_0x4f4578:_0x480e08,_0x37ca89=_0x126c64['aZYww'](getO11yRerunPattern),_0x15a247={};_0x15a247['helpers']=_0x379f63;const _0x2ccf0f={};_0x2ccf0f[_0x440a34(0x168)]=_0x44c7c1,_0x2ccf0f[_0x440a34(0x1de)]=!![],_0x2ccf0f[_0x440a34(0x172)]=_0x337fc6[_0x440a34(0x1cf)][_0x440a34(0x1f5)]['skipSessionName'],_0x2ccf0f['skipSessionStatus']=_0x337fc6['config'][_0x440a34(0x1f5)][_0x440a34(0x1f1)],_0x2ccf0f['testObservability']=_0x184970,_0x2ccf0f[_0x440a34(0x1a0)]=_0x45229c;const _0x2148f3={};_0x2148f3[_0x440a34(0x1ca)]=_0x2ccf0f;const _0x440229={};return _0x440229['plugins']=_0x2148f3,helper[_0x440a34(0x169)]({},_0x2fe88d,_0x126c64[_0x440a34(0x19b)](isBrowserstackInfra)?_0x15a247:{},_0x37ca89?{'grep':_0x37ca89}:{},_0x440229);});for(const _0x5ac8a8 of _0x16fd24){for(const _0x33a9d1 of _0x37111c){const _0x1af02d=_0x3486ac[_0x16ae24(0x194)]();_0x1af02d['addTests'](_0x33a9d1),_0x1af02d['addConfig'](_0x5ac8a8);const _0x1ffe02={};_0x1ffe02[_0x16ae24(0x1cf)]=_0x3567e3,_0x1af02d[_0x16ae24(0x19e)](Object[_0x16ae24(0x1b1)](_0x1ffe02,_0x155424));}}_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)][_0x16ae24(0x1e4)][_0x16ae24(0x15e)],(_0x29e203,_0x53d115)=>{const _0x585232=_0x16ae24;console['log'](_0x126c64['XChej'],_0x29e203['title']);const _0x4ac147={[_0x29e203['title']]:_0x29e203['err'][_0x585232(0x162)]};_testErrorData['push'](_0x4ac147);}),_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)]['test'][_0x16ae24(0x1cb)],async _0x1475f1=>{const _0x3763aa=_0x16ae24;console[_0x3763aa(0x18e)](_0x126c64[_0x3763aa(0x175)],_0x1475f1[_0x3763aa(0x1e7)]);}),_0x3486ac['on'](CodeceptJS['event'][_0x16ae24(0x1e4)][_0x16ae24(0x163)],async _0x490d4d=>{const _0x4ed8a4=_0x16ae24;console['log'](_0x126c64[_0x4ed8a4(0x161)],_0x490d4d[_0x4ed8a4(0x1e7)]);}),_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)][_0x16ae24(0x1be)][_0x16ae24(0x181)],async()=>{const _0x41eaa1=_0x16ae24,_0x1e8f0e=_0x126c64[_0x41eaa1(0x185)]['split']('|');let _0x975a92=0x0;while(!![]){switch(_0x1e8f0e[_0x975a92++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x41eaa1(0x1d0)]();}catch(_0xcfbfc2){logger['debug'](_0x41eaa1(0x1b8)+util[_0x41eaa1(0x191)](_0xcfbfc2));}continue;case'2':_0x3486ac['printResults']();continue;case'3':PerformanceTester[_0x41eaa1(0x1b2)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':_0x337fc6[_0x41eaa1(0x1f7)]=_testErrorData;continue;case'5':utilities[_0x41eaa1(0x1ee)](_0x337fc6);continue;}break;}});async function _0x1eb184(){const _0xede058=_0x16ae24;try{await _0x3486ac[_0xede058(0x184)](),await _0x3486ac[_0xede058(0x1e8)]();}finally{process['chdir'](_0x16376b),await _0x3486ac[_0xede058(0x16c)]();}}PerformanceTester[_0x16ae24(0x17f)](PerformanceEvents[_0x16ae24(0x1b3)]),await _0x126c64[_0x16ae24(0x198)](_0x1eb184);}module[a2_0x4ca47d(0x1cd)]=run;
|
|
2
|
+
'use strict';const a2_0x30d964=a2_0x55d5;function a2_0x2485(){const _0x594f03=['key','helpers','../../helpers/performance/constants','browserStackCwd','codeceptjs/lib/index.js','fTlYL','initialize','Playwright','chromium','jAELo','oAWGm','CODECEPT','addTests','testContextOptions','launchBuild','platforms','XlZVn','handleApp','wUTGk','finalExecution','Passed\x20:\x20','before','SDK_SETUP','../../helpers/test-observability/constants','hubUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML','XDYTj','info','YAZgk','skipSessionName','Inqrt','stringify','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','IexAH','existsSync','assign','addConfig','../../bin/playwright/accessibility-helper','start','require','14dYPTzt','bootstrapAll','replace','failed','stop','HXNst','BROWSERSTACK_RERUN_TESTS','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','13917996pCyqts','end','browserName','desiredCapabilities','all','oEPDp','codeceptjs','browserWSEndpoint','findIndex','trim','oXMxW','config','MDmpD','uNRJz','run','winstonLogger','frameworkName','exports','accessKey','toLowerCase','createGroupsOfSuites','EVENTS','IZVXZ','wOWbA','CODECEPT_CUCUMBER','accessibilityOptions','BROWSERSTACK_RERUN','ndgDv','codecept.json','debug','validateRerunTestList','log','chdir','1262035hHMBdK','process','iwaxn','isUndefined','1960122ylYMki','BrowserStackPlugin.js','getPlatformName','../../helpers/logger','passed','getUserWorkerCount','join','5|0|2|1|4|3','YvUPV','dirname','profile','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','../../helpers/test-observability/utils','test','Started\x20:\x20','teardownAll','env','qylQv','skipSessionStatus','mergeDeep','../../helpers/helper','ApHFP','6799464pqBWlg','push','playwright-webkit','jLAEQ','err','testObservability','NdCEU','plugins','/wd/hub','2fPrGZO','slice','webkit','printResults','lxhiy','codecept.conf.js','djjUV','split','playwright-firefox','map','4449784zOTlUy','Failed\x20:\x20','parallelsPerPlatform','browser','USER_CONFIG_DETAILS_PATH','FRAMEWORKS','errorMessage','root','title','useW3C','length','4810990xeCiRL','userName','duXwa','isTestObservabilitySession','2565856cWGceL','SDK_CLEANUP','isEmpty','BiuvV','enabled','rUVut','event','accessibility','getPlaywrightUrl','WebDriver','setAdditionalCapabilities','nGBHr','now','prepareCapabilities','path','nNHwQ','cwd'];a2_0x2485=function(){return _0x594f03;};return a2_0x2485();}(function(_0x23b10c,_0x2ce671){const _0x1c2a3d=a2_0x55d5,_0x4db86a=_0x23b10c();while(!![]){try{const _0x4a2b90=parseInt(_0x1c2a3d(0x1d4))/0x1+-parseInt(_0x1c2a3d(0x1f8))/0x2*(parseInt(_0x1c2a3d(0x1d8))/0x3)+parseInt(_0x1c2a3d(0x211))/0x4+parseInt(_0x1c2a3d(0x20d))/0x5+parseInt(_0x1c2a3d(0x1ef))/0x6+parseInt(_0x1c2a3d(0x1ab))/0x7*(-parseInt(_0x1c2a3d(0x202))/0x8)+-parseInt(_0x1c2a3d(0x1b3))/0x9;if(_0x4a2b90===_0x2ce671)break;else _0x4db86a['push'](_0x4db86a['shift']());}catch(_0x3327f3){_0x4db86a['push'](_0x4db86a['shift']());}}}(a2_0x2485,0xa7a55));const fs=require('fs'),path=require(a2_0x30d964(0x21f)),util=require(a2_0x30d964(0x1e4)),process=require(a2_0x30d964(0x1d5)),logger=require(a2_0x30d964(0x1db))[a2_0x30d964(0x1c2)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x30d964(0x1ed)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x30d964(0x1a8)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x30d964(0x1ed)),CodeceptJS=requireModule(a2_0x30d964(0x226),a2_0x30d964(0x1b9)),testOpsHelper=require(a2_0x30d964(0x1e5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x30d964(0x199)),PerformanceEvents=require(a2_0x30d964(0x224))[a2_0x30d964(0x1c8)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x221de4,_0x45985f)=>{const _0x363ae1=a2_0x30d964,_0x16da14={};_0x16da14['iwaxn']=function(_0x464491,_0x394a1e){return _0x464491===_0x394a1e;},_0x16da14[_0x363ae1(0x19c)]=_0x363ae1(0x1fd),_0x16da14[_0x363ae1(0x1ee)]=_0x363ae1(0x1cf);const _0x5cee83=_0x16da14;let _0x130c20=null;const _0x428d6f={};let _0x4ea436=_0x45985f[_0x363ae1(0x1bb)](_0x4b5056=>_0x4b5056==='--config');_0x5cee83[_0x363ae1(0x1d6)](_0x4ea436,-0x1)&&(_0x4ea436=_0x45985f[_0x363ae1(0x1bb)](_0x57686=>_0x57686==='-c'));if(!helper[_0x363ae1(0x1d7)](_0x221de4['config'])&&fs['existsSync'](path['join'](process[_0x363ae1(0x221)](),_0x221de4['config'])))_0x130c20=path[_0x363ae1(0x1de)](process[_0x363ae1(0x221)](),_0x221de4['config']),_0x45985f[_0x363ae1(0x1f9)](_0x4ea436,0x2);else{if(!helper[_0x363ae1(0x1d7)](_0x221de4['c'])&&fs['existsSync'](path[_0x363ae1(0x1de)](process[_0x363ae1(0x221)](),_0x221de4['c'])))_0x130c20=path[_0x363ae1(0x1de)](process[_0x363ae1(0x221)](),_0x221de4['c']),_0x45985f['slice'](_0x4ea436,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x5cee83[_0x363ae1(0x19c)])))_0x130c20=path[_0x363ae1(0x1de)](process[_0x363ae1(0x221)](),_0x5cee83[_0x363ae1(0x19c)]);else fs[_0x363ae1(0x1a5)](path[_0x363ae1(0x1de)](process[_0x363ae1(0x221)](),_0x5cee83[_0x363ae1(0x1ee)]))&&(_0x130c20=path['join'](process['cwd'](),_0x5cee83[_0x363ae1(0x1ee)]));}}return process['env'][_0x363ae1(0x206)]=_0x130c20,_0x130c20;},getO11yRerunPattern=()=>{const _0xaebdab=a2_0x30d964,_0x54b895=helper['isTrue'](process[_0xaebdab(0x1e9)][_0xaebdab(0x1cd)]);if(_0x54b895){const _0x152548=process[_0xaebdab(0x1e9)][_0xaebdab(0x1b1)],_0x4b2ae0=[];if(helper[_0xaebdab(0x1d1)](_0x152548)&&!helper[_0xaebdab(0x1d7)](_0x152548)){_0x152548[_0xaebdab(0x1ff)](',')[_0xaebdab(0x201)](_0x31a807=>{const _0x53bc6c=_0xaebdab;_0x4b2ae0[_0x53bc6c(0x1f0)]('('+_0x31a807[_0x53bc6c(0x1bc)]()+')');});const _0x3a475f='^'+_0x4b2ae0[_0xaebdab(0x1de)]('|')+'$';return _0x3a475f;}}return null;},a2_0x4b00b1={};a2_0x4b00b1['chrome']=a2_0x30d964(0x22a),a2_0x4b00b1['playwright-chromium']='chromium',a2_0x4b00b1[a2_0x30d964(0x200)]='firefox',a2_0x4b00b1[a2_0x30d964(0x1f1)]=a2_0x30d964(0x1fa);const pwToCodeceptBrowser=a2_0x4b00b1;function a2_0x55d5(_0x836938,_0x47025d){const _0x24852a=a2_0x2485();return a2_0x55d5=function(_0x55d56f,_0x5865fe){_0x55d56f=_0x55d56f-0x18b;let _0x32d621=_0x24852a[_0x55d56f];return _0x32d621;},a2_0x55d5(_0x836938,_0x47025d);}async function run(_0x586b11,_0x4ebd03,_0x43ec7a){const _0x34e084=a2_0x30d964,_0x5503d1={'BFbqw':function(_0x5e6639,_0x63a9cd,_0x519340,_0x31f8ab){return _0x5e6639(_0x63a9cd,_0x519340,_0x31f8ab);},'fTlYL':function(_0x3140a9,_0x5d3e37){return _0x3140a9+_0x5d3e37;},'QRIUs':function(_0x5cedd9,_0x8e4802){return _0x5cedd9(_0x8e4802);},'Inqrt':function(_0x1938ab,_0x313101){return _0x1938ab+_0x313101;},'uNRJz':function(_0x1915e4,_0x1126c5,_0x4ada31){return _0x1915e4(_0x1126c5,_0x4ada31);},'djjUV':_0x34e084(0x223),'zYmdO':function(_0x285889){return _0x285889();},'oEPDp':_0x34e084(0x1f7),'jLAEQ':function(_0xd8b08e){return _0xd8b08e();},'rUVut':function(_0x11b58f){return _0x11b58f();},'MDmpD':_0x34e084(0x203),'snuFI':_0x34e084(0x196),'YvUPV':_0x34e084(0x1e7),'RPnNT':_0x34e084(0x1df),'wUTGk':function(_0x396cca,_0x24bc6b,_0x36911b){return _0x396cca(_0x24bc6b,_0x36911b);},'qylQv':_0x34e084(0x1e3),'lxhiy':function(_0x43d3f3,_0x51265c,_0x1b8df9){return _0x43d3f3(_0x51265c,_0x1b8df9);},'ndgDv':_0x34e084(0x229),'duXwa':'WebDriver','BiuvV':function(_0x5a0411,_0x15e557){return _0x5a0411(_0x15e557);},'oXMxW':function(_0x134e8b,_0x39fa7e){return _0x134e8b!=_0x39fa7e;},'tzwWh':function(_0x58aed8,_0x4088cb){return _0x58aed8===_0x4088cb;},'ubvFB':function(_0xd84478,_0x2a6517,_0x47281a){return _0xd84478(_0x2a6517,_0x47281a);},'nGBHr':'gherkin','nNHwQ':function(_0x5ac1cf,_0x111900){return _0x5ac1cf(_0x111900);},'NdCEU':function(_0x210193,_0x22bc9f){return _0x210193*_0x22bc9f;},'jAELo':function(_0x38d44e,_0xf774ae,_0x3b485e){return _0x38d44e(_0xf774ae,_0x3b485e);},'kqbJf':_0x34e084(0x205),'wOWbA':_0x34e084(0x1b6),'oAWGm':_0x34e084(0x209),'kqXPy':_0x34e084(0x1d9),'IexAH':_0x34e084(0x225),'XlZVn':function(_0x5d78b9){return _0x5d78b9();}};await _0x43ec7a[_0x34e084(0x228)](_0x586b11),await helper[_0x34e084(0x193)](_0x43ec7a[_0x34e084(0x1be)]);if(!_0x43ec7a[_0x34e084(0x1be)])return;process[_0x34e084(0x1e2)]=_0x586b11[_0x34e084(0x1e2)];_0x586b11[_0x34e084(0x1e2)]&&(process['env'][_0x34e084(0x1e2)]=_0x586b11[_0x34e084(0x1e2)]);const _0x2e34e9=_0x5503d1[_0x34e084(0x194)](getUserCodeceptJSConfigs,_0x586b11,_0x4ebd03);let _0x31a13c={};_0x2e34e9?(logger[_0x34e084(0x19d)](_0x34e084(0x1b2)+_0x2e34e9),_0x31a13c=CodeceptJS[_0x34e084(0x1be)]['load'](_0x2e34e9)):logger['info'](_0x5503d1[_0x34e084(0x1ea)]);let _0x4bbd06=![];_0x5503d1[_0x34e084(0x1fc)](nestedKeyValue,_0x31a13c,[_0x5503d1[_0x34e084(0x1fe)],_0x5503d1[_0x34e084(0x1ce)]])&&(_0x4bbd06=!![]);const _0x3df385=_0x4bbd06?_0x5503d1['ndgDv']:_0x5503d1[_0x34e084(0x20f)];let _0xda33a=!_0x4bbd06?helper[_0x34e084(0x20b)](_0x43ec7a[_0x34e084(0x1be)]):![];!helper['isUndefined'](_0x43ec7a['config'][_0x34e084(0x1cc)])&&(process[_0x34e084(0x1e9)][_0x34e084(0x1a3)]=JSON[_0x34e084(0x1a1)](_0x43ec7a[_0x34e084(0x1be)]['accessibilityOptions']));let _0x5abe7f=_0x43ec7a[_0x34e084(0x1be)][_0x34e084(0x218)];_0x5abe7f=_0x5abe7f||_0x5503d1[_0x34e084(0x214)](checkAccessibilityPlatformConfig,_0x43ec7a[_0x34e084(0x1be)]),process[_0x34e084(0x1e9)][_0x34e084(0x19b)]=_0x5abe7f;_0x5abe7f&&(_0xda33a=!_0x5abe7f);_0x5503d1[_0x34e084(0x1bd)](_0x43ec7a[_0x34e084(0x1be)][_0x34e084(0x1f4)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x43ec7a[_0x34e084(0x1be)][_0x34e084(0x1f4)]:process[_0x34e084(0x1e9)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5503d1['tzwWh'](_0x3df385,_0x5503d1[_0x34e084(0x1ce)]);const _0x3cc586=_0x5503d1['ubvFB'](nestedKeyValue,_0x31a13c,[_0x5503d1[_0x34e084(0x21c)]]),_0x13931e=_0x3cc586&&!helper[_0x34e084(0x213)](_0x3cc586)?FRAMEWORKS[_0x34e084(0x1cb)]:FRAMEWORKS[_0x34e084(0x18d)],_0x3dddf5=await TestHubHandler[_0x34e084(0x190)](_0x13931e,_0x43ec7a);_0x5abe7f&&_0x5503d1[_0x34e084(0x220)](setAccessibilityCapabilities,_0x43ec7a[_0x34e084(0x1be)]);const _0x5e5b30={},_0x4fdc38=[],_0x52eec1=_0x43ec7a[_0x34e084(0x1be)][_0x34e084(0x204)]||helper[_0x34e084(0x1dd)](_0x586b11,_0x4ebd03,_0x43ec7a[_0x34e084(0x1be)],constants[_0x34e084(0x207)][_0x34e084(0x18d)])||0x1;let _0x47aca9=0x1;if(_0x5503d1[_0x34e084(0x216)](isBrowserstackInfra)){const _0x3c8ada=helper[_0x34e084(0x21e)](_0x43ec7a['config'],_0xda33a,constants[_0x34e084(0x207)][_0x34e084(0x18d)]);_0x3c8ada[_0x34e084(0x1a2)](_0x4ae333=>{const _0x292a4c=_0x34e084;helper[_0x292a4c(0x21b)](_0x4ae333);}),helper['validPlatformsPresent'](_0x43ec7a[_0x34e084(0x1be)])?_0x47aca9=_0x5503d1[_0x34e084(0x1f5)](_0x52eec1,_0x43ec7a[_0x34e084(0x1be)]['platforms'][_0x34e084(0x20c)]):_0x47aca9=_0x52eec1,_0x3c8ada[_0x34e084(0x1a2)](_0x12d3ce=>{const _0x2cff01=_0x34e084,_0x57cf82={'IZVXZ':function(_0x1348db,_0x21ef49,_0xaa6b6f,_0x26fa23){return _0x5503d1['BFbqw'](_0x1348db,_0x21ef49,_0xaa6b6f,_0x26fa23);},'YAZgk':function(_0x6fec77,_0x5b2ccc){const _0x956296=a2_0x55d5;return _0x5503d1[_0x956296(0x227)](_0x6fec77,_0x5b2ccc);},'HXNst':function(_0x56a9f2,_0x2e085a){return _0x5503d1['QRIUs'](_0x56a9f2,_0x2e085a);}},_0x5b3ec2=_0x5503d1[_0x2cff01(0x1a0)](helper[_0x2cff01(0x1da)](_0x12d3ce,'_'),'_'+Date[_0x2cff01(0x21d)]()),_0x3b8c83=((()=>{const _0x364278=_0x2cff01;if(_0x4bbd06){const _0x5d2319=pwToCodeceptBrowser[_0x12d3ce[_0x364278(0x1b5)]]||_0x12d3ce['browserName'],_0x43c8ca=helper[_0x364278(0x219)](_0x43ec7a['config']),_0x4c1a51=Object[_0x364278(0x1a6)]({},_0x12d3ce);return _0x57cf82[_0x364278(0x1c9)](processAccessibilityCaps,_0x4c1a51,_0x43c8ca,null),{'browser':_0x5d2319,[_0x5d2319]:{'browserWSEndpoint':_0x57cf82[_0x364278(0x19e)](_0x43c8ca,_0x57cf82[_0x364278(0x1b0)](encodeURIComponent,JSON[_0x364278(0x1a1)](_0x4c1a51)))}};}const _0x5b3634={};return _0x5b3634[_0x364278(0x1b6)]=_0x12d3ce,_0x5b3634['user']=_0x43ec7a[_0x364278(0x1be)][_0x364278(0x20e)],_0x5b3634[_0x364278(0x222)]=_0x43ec7a[_0x364278(0x1be)][_0x364278(0x1c5)],_0x5b3634;})()),_0x316654=_0x5503d1[_0x2cff01(0x1c0)](nestedKeyValue,_0x31a13c,[_0x5503d1['djjUV'],_0x3df385]);_0x5e5b30[_0x5b3ec2]=_0x316654?helper[_0x2cff01(0x1ec)](_0x3b8c83,_0x316654):_0x3b8c83;if(_0x4bbd06)_0x5e5b30[_0x5b3ec2]['browser']=pwToCodeceptBrowser[_0x12d3ce['browserName']]||_0x12d3ce[_0x2cff01(0x1b5)];else{_0x5e5b30[_0x5b3ec2][_0x2cff01(0x205)]=_0x12d3ce[_0x2cff01(0x1b5)]||_0x3b8c83[_0x2cff01(0x205)];if(_0x5503d1['zYmdO'](isBrowserstackInfra)){_0x5e5b30[_0x5b3ec2]['host']=constants[_0x2cff01(0x19a)][_0x2cff01(0x1ad)](_0x5503d1[_0x2cff01(0x1b8)],'')[_0x2cff01(0x1ad)](/https?:\/\//,'');;_0x5e5b30[_0x5b3ec2][_0x2cff01(0x21f)]=_0x5503d1['oEPDp'];}}_0x4fdc38[_0x2cff01(0x1f0)](_0x5b3ec2);});}else{_0x47aca9=0x1;if(_0x4bbd06){const _0x381bde=_0x5503d1[_0x34e084(0x18b)](nestedKeyValue,_0x31a13c,[_0x5503d1['djjUV'],_0x3df385,_0x5503d1['kqbJf']]),_0x269782=_0x5503d1[_0x34e084(0x1fc)](nestedKeyValue,_0x31a13c,[_0x5503d1[_0x34e084(0x1fe)],_0x3df385,_0x381bde]);if(_0x269782&&_0x269782[_0x34e084(0x1ba)]){const _0x899e1b={};_0x899e1b['platforms']=[],_0x269782[_0x34e084(0x1ba)]=helper['prepareCapabilities'](Object[_0x34e084(0x1a6)]({},_0x43ec7a[_0x34e084(0x1be)],_0x899e1b),null,_0x13931e[_0x34e084(0x1c6)](),null,null,_0x269782[_0x34e084(0x1ba)]);}}else{const _0x220bf0={};_0x220bf0[_0x34e084(0x191)]=[],_0x31a13c[_0x5503d1['djjUV']][_0x3df385][_0x5503d1[_0x34e084(0x1ca)]]=helper[_0x34e084(0x21e)](Object[_0x34e084(0x1a6)]({},_0x43ec7a[_0x34e084(0x1be)],_0x220bf0),null,_0x13931e[_0x34e084(0x1c6)](),_0x5503d1['lxhiy'](nestedKeyValue,_0x31a13c,[_0x5503d1[_0x34e084(0x1fe)],_0x3df385,_0x5503d1['wOWbA']])||{},null,null);}_0x5e5b30[_0x5503d1[_0x34e084(0x18c)]]=_0x31a13c,_0x4fdc38[_0x34e084(0x1f0)](_0x5503d1[_0x34e084(0x18c)]);}const _0x2aaf10={};_0x2aaf10['testConfig']=_0x2e34e9;const _0x17f172=_0x2aaf10,_0x58eaed=path[_0x34e084(0x1de)](__dirname,_0x5503d1['kqXPy']),_0x337a0d=process['cwd']();process[_0x34e084(0x1e9)][_0x5503d1[_0x34e084(0x1a4)]]=_0x337a0d,process[_0x34e084(0x1d3)](path[_0x34e084(0x1e1)](_0x2e34e9));const _0x94a031=new CodeceptJS['Workers'](null,_0x17f172),_0x80be60=_0x94a031[_0x34e084(0x1c7)](_0x52eec1),_0x18f836=testOpsHelper[_0x34e084(0x210)](),_0x5f47ee=_0x4fdc38['map'](_0x9dc788=>{const _0x36efb3=_0x34e084,_0x1d12ab={};_0x1d12ab[_0x36efb3(0x229)]=_0x5e5b30[_0x9dc788];const _0x487973={};_0x487973[_0x36efb3(0x21a)]=_0x5e5b30[_0x9dc788];const _0x5934ec=_0x4bbd06?_0x1d12ab:_0x487973,_0x33443b=_0x5503d1[_0x36efb3(0x1f2)](getO11yRerunPattern),_0x4a6ca7={};_0x4a6ca7['helpers']=_0x5934ec;const _0x4b2d98={};_0x4b2d98[_0x36efb3(0x1aa)]=_0x58eaed,_0x4b2d98[_0x36efb3(0x215)]=!![],_0x4b2d98[_0x36efb3(0x19f)]=_0x43ec7a[_0x36efb3(0x1be)][_0x36efb3(0x18f)][_0x36efb3(0x19f)],_0x4b2d98[_0x36efb3(0x1eb)]=_0x43ec7a[_0x36efb3(0x1be)][_0x36efb3(0x18f)][_0x36efb3(0x1eb)],_0x4b2d98[_0x36efb3(0x1f4)]=_0x18f836,_0x4b2d98[_0x36efb3(0x1c3)]=_0x13931e;const _0x58f74a={};_0x58f74a['BrowserStackPlugin']=_0x4b2d98;const _0x1f558d={};return _0x1f558d[_0x36efb3(0x1f6)]=_0x58f74a,helper[_0x36efb3(0x1ec)]({},_0x31a13c,_0x5503d1[_0x36efb3(0x216)](isBrowserstackInfra)?_0x4a6ca7:{},_0x33443b?{'grep':_0x33443b}:{},_0x1f558d);});for(const _0x4b8c1b of _0x5f47ee){for(const _0x4523c7 of _0x80be60){const _0x3b8f56=_0x94a031['spawn']();_0x3b8f56[_0x34e084(0x18e)](_0x4523c7),_0x3b8f56[_0x34e084(0x1a7)](_0x4b8c1b);const _0x2a44ce={};_0x2a44ce[_0x34e084(0x1be)]=_0x2e34e9,_0x3b8f56['addOptions'](Object[_0x34e084(0x1a6)](_0x2a44ce,_0x586b11));}}_0x94a031['on'](CodeceptJS[_0x34e084(0x217)]['test'][_0x34e084(0x1ae)],(_0xf603cf,_0xb4a456)=>{const _0x4133e2=_0x34e084;console[_0x4133e2(0x1d2)](_0x5503d1[_0x4133e2(0x1bf)],_0xf603cf[_0x4133e2(0x20a)]);const _0x284e3c={[_0xf603cf[_0x4133e2(0x20a)]]:_0xf603cf[_0x4133e2(0x1f3)]['stack']};_testErrorData[_0x4133e2(0x1f0)](_0x284e3c);}),_0x94a031['on'](CodeceptJS[_0x34e084(0x217)][_0x34e084(0x1e6)][_0x34e084(0x1dc)],async _0x3634f3=>{const _0x33bced=_0x34e084;console[_0x33bced(0x1d2)](_0x5503d1['snuFI'],_0x3634f3[_0x33bced(0x20a)]);}),_0x94a031['on'](CodeceptJS[_0x34e084(0x217)][_0x34e084(0x1e6)][_0x34e084(0x197)],async _0x29e8eb=>{const _0x81550e=_0x34e084;console['log'](_0x5503d1[_0x81550e(0x1e0)],_0x29e8eb[_0x81550e(0x20a)]);}),_0x94a031['on'](CodeceptJS[_0x34e084(0x217)][_0x34e084(0x1b7)]['result'],async()=>{const _0x34203=_0x34e084,_0x481b0d=_0x5503d1['RPnNT'][_0x34203(0x1ff)]('|');let _0x316676=0x0;while(!![]){switch(_0x481b0d[_0x316676++]){case'0':_0x43ec7a[_0x34203(0x208)]=_testErrorData;continue;case'1':utilities[_0x34203(0x195)](_0x43ec7a);continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':_0x94a031[_0x34203(0x1fb)]();continue;case'4':try{await TestHubHandler[_0x34203(0x1af)]();}catch(_0x432895){logger[_0x34203(0x1d0)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x432895));}continue;case'5':PerformanceTester[_0x34203(0x1a9)](PerformanceEvents[_0x34203(0x212)]);continue;}break;}});async function _0x5a8e22(){const _0x5256c8=_0x34e084;try{await _0x94a031[_0x5256c8(0x1ac)](),await _0x94a031[_0x5256c8(0x1c1)]();}finally{process['chdir'](_0x337a0d),await _0x94a031[_0x5256c8(0x1e8)]();}}PerformanceTester[_0x34e084(0x1b4)](PerformanceEvents[_0x34e084(0x198)]),await _0x5503d1[_0x34e084(0x192)](_0x5a8e22);}module[a2_0x30d964(0x1c4)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x550692=a3_0x1d78;function a3_0x4536(){const _0xd705d4=['1310CQCltH','3836090AtHWhc','accessibilityPlatform','browser_version','bstack:options','33mPQDKX','get','getBrowserDisplayName','ywEYr','WVFlx','os_version','warn','MiZpp','fetchPlatformDetails','parse','PdGBM','TKHof','__cloud_provider___','name','latest','processWebDriverConfig','ymDmX','caps','USVgI','winstonLogger','../../helpers/helper','browserVersion','\x20or\x20higher\x20','Uureo','isBrowserSupportedForAccessibility','string','../../helpers/logger','msWCM','EHoOs','platform','NXZWz','EaJpE','78MfBRIU','xDrom','../../bin/playwright/sessionDetails','2638380uXQFnO','lZIlf','cloudProvider','platformVersion','../../helpers/accessibility-automation/helper','zZSIM','7325037CAGeSj','GEdOI','Xqxjb','getDetails','browser','Wwtyi','browserstack_accessibility_automation_script','WGFqA','unknown_grid','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getMinVersionForBrowser','osVersion','MkAgm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','browserstack_executor','constructor','182vyofgO','278048wjvscf','WebDriver','includes','sNJcE','uSxla','OFXTi','on\x20non-BrowserStack\x20infrastructure\x20','SgISv','14772Ywsavu','platform_version','1391043kFWdLA','browserName'];a3_0x4536=function(){return _0xd705d4;};return a3_0x4536();}(function(_0x3487f6,_0x15049a){const _0x39c6ca=a3_0x1d78,_0xf04ca8=_0x3487f6();while(!![]){try{const _0x4a8375=-parseInt(_0x39c6ca(0x134))/0x1*(parseInt(_0x39c6ca(0x109))/0x2)+parseInt(_0x39c6ca(0x12d))/0x3+-parseInt(_0x39c6ca(0x12b))/0x4*(-parseInt(_0x39c6ca(0x12f))/0x5)+-parseInt(_0x39c6ca(0x10c))/0x6+parseInt(_0x39c6ca(0x122))/0x7*(-parseInt(_0x39c6ca(0x123))/0x8)+parseInt(_0x39c6ca(0x112))/0x9+-parseInt(_0x39c6ca(0x130))/0xa;if(_0x4a8375===_0x15049a)break;else _0xf04ca8['push'](_0xf04ca8['shift']());}catch(_0x4cb079){_0xf04ca8['push'](_0xf04ca8['shift']());}}}(a3_0x4536,0x7e2fa));function a3_0x1d78(_0x4fa7c2,_0x25120a){const _0x45365d=a3_0x4536();return a3_0x1d78=function(_0x1d78dd,_0x62c895){_0x1d78dd=_0x1d78dd-0xfd;let _0x189caa=_0x45365d[_0x1d78dd];return _0x189caa;},a3_0x1d78(_0x4fa7c2,_0x25120a);}const {isUndefined,nestedKeyValue}=require(a3_0x550692(0xfd)),logger=require(a3_0x550692(0x103))[a3_0x550692(0x147)],PlaywrightSessionDetails=require(a3_0x550692(0x10b)),{isAccessibilityAutomationSession}=require(a3_0x550692(0x110)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x550692(0x110)),{isBrowserstackInfra}=require(a3_0x550692(0xfd)),getOSVersionFromCaps=_0x53c7c8=>{const _0xaa9fe7=a3_0x550692,_0x5df9ef={};_0x5df9ef[_0xaa9fe7(0x10a)]=_0xaa9fe7(0x133),_0x5df9ef[_0xaa9fe7(0x108)]=_0xaa9fe7(0x10f),_0x5df9ef[_0xaa9fe7(0x13e)]=_0xaa9fe7(0x12c),_0x5df9ef[_0xaa9fe7(0x13b)]=_0xaa9fe7(0x11d),_0x5df9ef[_0xaa9fe7(0x10d)]=_0xaa9fe7(0x139);const _0x21df7f=_0x5df9ef;if(!_0x53c7c8)return null;const _0x3e4c60=_0x53c7c8[_0x21df7f[_0xaa9fe7(0x10a)]],_0x431506=[_0x21df7f[_0xaa9fe7(0x108)],_0x21df7f[_0xaa9fe7(0x13e)],_0x21df7f['MiZpp'],_0x21df7f[_0xaa9fe7(0x10d)]];for(const _0x19add5 of _0x431506){if(_0x3e4c60&&_0x3e4c60[_0x19add5])return _0x3e4c60[_0x19add5];else{if(_0x53c7c8[_0x19add5])return _0x53c7c8[_0x19add5];}}return null;};exports[a3_0x550692(0x13c)]=_0x5c072b=>{const _0x3a6fe4=a3_0x550692,_0x59417c={'Lbizf':_0x3a6fe4(0x11a),'ymDmX':function(_0x3764f2,_0x2fb600){return _0x3764f2===_0x2fb600;},'WVFlx':_0x3a6fe4(0x124),'OFXTi':function(_0x3245fc,_0x543da2){return _0x3245fc(_0x543da2);},'sNJcE':function(_0x40bd62,_0x5e78b4,_0x5c606e){return _0x40bd62(_0x5e78b4,_0x5c606e);},'GEdOI':'config','msWCM':'desiredCapabilities','GHmRV':function(_0x5091e3,_0x5ccc88){return _0x5091e3(_0x5ccc88);},'MkAgm':'Playwright','uSxla':function(_0xc3d3dc,_0x5a1ede,_0x4d8951){return _0xc3d3dc(_0x5a1ede,_0x4d8951);},'zZSIM':_0x3a6fe4(0x116),'Wwtyi':'browserWSEndpoint','TKHof':_0x3a6fe4(0x145),'WGFqA':function(_0x108062,_0x367623){return _0x108062(_0x367623);}};if(!_0x5c072b)return null;let _0x39a8f3=global[_0x3a6fe4(0x140)]||_0x59417c['Lbizf'];if(_0x59417c[_0x3a6fe4(0x144)](_0x5c072b[_0x3a6fe4(0x121)][_0x3a6fe4(0x141)],_0x59417c[_0x3a6fe4(0x138)])){const _0x50c52b=_0x5c072b['browser'];if(!_0x50c52b)return null;const _0x4818f4=_0x50c52b['capabilities'],_0x113264=_0x59417c[_0x3a6fe4(0x128)](getOSVersionFromCaps,_0x59417c[_0x3a6fe4(0x126)](nestedKeyValue,_0x5c072b,[_0x59417c['GEdOI'],_0x59417c[_0x3a6fe4(0x104)]]));return{[_0x39a8f3]:{'browser':_0x4818f4[_0x3a6fe4(0x12e)],'browser_version':_0x4818f4[_0x3a6fe4(0xfe)],'capabilities':_0x4818f4,'platform':_0x4818f4['platformName'],'platform_version':_0x4818f4['platformVersion']||_0x113264,'product':_0x59417c['GHmRV'](getObservabilityLinkedProductName,_0x4818f4),'session_id':_0x50c52b['sessionId']}};}else{if(_0x59417c[_0x3a6fe4(0x144)](_0x5c072b[_0x3a6fe4(0x121)]['name'],_0x59417c[_0x3a6fe4(0x11e)])){const _0x3da27e=PlaywrightSessionDetails[_0x3a6fe4(0x115)]();_0x39a8f3=_0x3da27e[_0x3a6fe4(0x10e)]||_0x39a8f3;const _0x13fb73=_0x59417c[_0x3a6fe4(0x127)](nestedKeyValue,_0x5c072b,[_0x59417c[_0x3a6fe4(0x113)],_0x59417c[_0x3a6fe4(0x111)],_0x59417c[_0x3a6fe4(0x117)]]),_0x427fa0=_0x13fb73?JSON[_0x3a6fe4(0x13d)](new URL(_0x13fb73)['searchParams'][_0x3a6fe4(0x135)](_0x59417c[_0x3a6fe4(0x13f)])):{};return{[_0x39a8f3]:{'browser':_0x3da27e['browser']||_0x427fa0['browserName'],'browser_version':_0x3da27e[_0x3a6fe4(0x132)]||_0x427fa0[_0x3a6fe4(0x132)],'capabilities':_0x427fa0,'platform':_0x3da27e[_0x3a6fe4(0x106)],'platform_version':_0x3da27e[_0x3a6fe4(0x12c)],'product':_0x59417c[_0x3a6fe4(0x119)](getObservabilityLinkedProductName,_0x427fa0),'session_id':_0x3da27e['bsSessionId']}};}}},exports[a3_0x550692(0x143)]=_0x29e680=>{const _0x7a7ad0=a3_0x550692,_0x1532a2={'KFtuc':function(_0x1bc2e1){return _0x1bc2e1();},'aCwWO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','Uureo':function(_0xda64b2,_0x2dbe4a){return _0xda64b2!==_0x2dbe4a;},'SgISv':_0x7a7ad0(0x142),'ObCSU':_0x7a7ad0(0x129),'Xqxjb':function(_0x362bda,_0x1d61e7){return _0x362bda(_0x1d61e7);},'NXZWz':_0x7a7ad0(0x11b)};if(_0x1532a2['KFtuc'](isAccessibilityAutomationSession)){const _0x40c1a7=_0x29e680[_0x7a7ad0(0x116)],_0x34b957=_0x40c1a7['capabilities'];global[_0x7a7ad0(0x131)]=!![];!accessibilityHelper[_0x7a7ad0(0x101)](_0x34b957[_0x7a7ad0(0x12e)])&&(logger['warn'](_0x1532a2['aCwWO']),global[_0x7a7ad0(0x131)]=![]);if(_0x1532a2[_0x7a7ad0(0x100)](_0x34b957[_0x7a7ad0(0xfe)],_0x1532a2[_0x7a7ad0(0x12a)])){const _0x3245c1=_0x1532a2['KFtuc'](isBrowserstackInfra),_0x4a0ed3=accessibilityHelper[_0x7a7ad0(0x11c)](_0x34b957['browserName'],_0x3245c1),_0x13eca2=accessibilityHelper[_0x7a7ad0(0x136)](_0x34b957[_0x7a7ad0(0x12e)]);if(!accessibilityHelper['isVersionSupported'](_0x34b957[_0x7a7ad0(0xfe)],_0x4a0ed3)){const _0xa76ded=_0x3245c1?'':_0x1532a2['ObCSU'];logger[_0x7a7ad0(0x13a)](_0x7a7ad0(0x11f)+_0x13eca2+'\x20browser\x20version\x20'+_0x4a0ed3+_0x7a7ad0(0xff)+_0xa76ded+'.'),global['accessibilityPlatform']=![];}}!_0x1532a2[_0x7a7ad0(0x114)](isUndefined,_0x34b957['deviceName'])&&(logger[_0x7a7ad0(0x13a)](_0x1532a2[_0x7a7ad0(0x107)]),global[_0x7a7ad0(0x131)]=![]);}},exports['shouldPatchExecuteScript']=_0x2d068d=>{const _0x50f980=a3_0x550692,_0x379973={};_0x379973['ywEYr']=function(_0x423a1e,_0x4de75d){return _0x423a1e!==_0x4de75d;},_0x379973[_0x50f980(0x105)]=_0x50f980(0x102),_0x379973[_0x50f980(0x146)]=_0x50f980(0x120),_0x379973['nwcyX']=_0x50f980(0x118);const _0x58fcca=_0x379973;if(!_0x2d068d)return![];else{if(_0x58fcca[_0x50f980(0x137)](typeof _0x2d068d,_0x58fcca[_0x50f980(0x105)]))return!![];}return!_0x2d068d[_0x50f980(0x125)](_0x58fcca[_0x50f980(0x146)])&&!_0x2d068d[_0x50f980(0x125)](_0x58fcca['nwcyX']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0xeb03ae=a4_0x56c9;(function(_0x3d5505,_0x533572){const _0x2e0790=a4_0x56c9,_0x50267e=_0x3d5505();while(!![]){try{const _0x17cf62=-parseInt(_0x2e0790(0x118))/0x1*(parseInt(_0x2e0790(0x1e2))/0x2)+-parseInt(_0x2e0790(0x182))/0x3*(-parseInt(_0x2e0790(0x11a))/0x4)+parseInt(_0x2e0790(0x1ba))/0x5+parseInt(_0x2e0790(0x19e))/0x6+parseInt(_0x2e0790(0x1df))/0x7*(-parseInt(_0x2e0790(0x139))/0x8)+parseInt(_0x2e0790(0x177))/0x9*(parseInt(_0x2e0790(0x14f))/0xa)+-parseInt(_0x2e0790(0x132))/0xb;if(_0x17cf62===_0x533572)break;else _0x50267e['push'](_0x50267e['shift']());}catch(_0x3e22cb){_0x50267e['push'](_0x50267e['shift']());}}}(a4_0x508e,0x896c5));const path=require(a4_0xeb03ae(0x1aa)),fs=require('fs'),{v4:uuidv4}=require(a4_0xeb03ae(0x142)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xeb03ae(0x14a)),testOpsHelper=require(a4_0xeb03ae(0x17c)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0xeb03ae(0x164)),logger=require(a4_0xeb03ae(0x166))[a4_0xeb03ae(0x105)],SessionHandler=require(a4_0xeb03ae(0x145)),RequestQueueHandler=require(a4_0xeb03ae(0xff)),PlaywrightSessionDetails=require(a4_0xeb03ae(0x1a9)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0xeb03ae(0x143)),Constants=require(a4_0xeb03ae(0x19d)),{fetchPlatformDetails}=require(a4_0xeb03ae(0x11c)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xeb03ae(0x1c8)),constants=require(a4_0xeb03ae(0x19d)),STATE_PASSED='passed',STATE_FAILED=a4_0xeb03ae(0x1ce),a4_0xd30bed={};a4_0xd30bed['TEST_RUN_STARTED']='TestRunStarted',a4_0xd30bed[a4_0xeb03ae(0x131)]=a4_0xeb03ae(0x10e),a4_0xd30bed[a4_0xeb03ae(0x1d3)]=a4_0xeb03ae(0x127),a4_0xd30bed[a4_0xeb03ae(0x1ca)]=a4_0xeb03ae(0x175),a4_0xd30bed[a4_0xeb03ae(0x1c4)]=a4_0xeb03ae(0x1e3);const TEST_EVENTS=a4_0xd30bed,parseEvent=_0x2fd8a9=>{const _0x3b1c30=a4_0xeb03ae,_0x424a1c={};_0x424a1c['IGnym']=function(_0xf37132,_0x2e5817){return _0xf37132<_0x2e5817;},_0x424a1c['EbTRr']=function(_0x3889de,_0x3605b8){return _0x3889de===_0x3605b8;},_0x424a1c[_0x3b1c30(0x137)]=_0x3b1c30(0x1d9),_0x424a1c[_0x3b1c30(0x1e9)]=function(_0x330feb,_0x4183ef){return _0x330feb===_0x4183ef;},_0x424a1c[_0x3b1c30(0x1bf)]=_0x3b1c30(0x146),_0x424a1c[_0x3b1c30(0x16c)]=_0x3b1c30(0x109),_0x424a1c[_0x3b1c30(0x110)]=function(_0x3e8469,_0x3ec637){return _0x3e8469===_0x3ec637;},_0x424a1c[_0x3b1c30(0x128)]=_0x3b1c30(0x1dd),_0x424a1c[_0x3b1c30(0x13d)]=_0x3b1c30(0x17d);const _0x52389c=_0x424a1c,_0x1311a4=_0x2fd8a9[_0x3b1c30(0x152)](/^(.*)Run(.*)$/);if(!_0x1311a4)return null;if(_0x52389c[_0x3b1c30(0x1ac)](_0x1311a4['length'],0x3))return null;const _0x506c21=_0x1311a4[0x1][_0x3b1c30(0x130)](),_0x133393=_0x1311a4[0x2][_0x3b1c30(0x130)]();return{'test':_0x52389c[_0x3b1c30(0x15a)](_0x506c21,_0x52389c['VZvbR']),'hook':_0x52389c[_0x3b1c30(0x1e9)](_0x506c21,_0x52389c['aeEFD']),'skipped':_0x52389c['EbTRr'](_0x133393,_0x52389c[_0x3b1c30(0x16c)]),'started':_0x52389c[_0x3b1c30(0x110)](_0x133393,_0x52389c['lOTmy']),'finished':_0x52389c['PxNeN'](_0x133393,_0x52389c['lMETM'])};},mockPWBrowserType=_0x28a992=>{const _0x37dc8d=a4_0xeb03ae,_0x2d55ce={'jNWBQ':function(_0x281200,_0x2ef2ba){return _0x281200===_0x2ef2ba;},'PfzjX':_0x37dc8d(0x151),'NjMUw':function(_0x4ac27e,_0x49e1a4,_0x8a8a5d){return _0x4ac27e(_0x49e1a4,_0x8a8a5d);},'odapF':_0x37dc8d(0x17a),'LzYBr':function(_0x4fdede,_0xfb3a9c){return _0x4fdede(_0xfb3a9c);},'TBJcr':_0x37dc8d(0xfe),'SzgUX':function(_0x39237b,_0x55b671,_0x5a2b93){return _0x39237b(_0x55b671,_0x5a2b93);},'ZYRhH':'lib','CETJH':_0x37dc8d(0x12c),'rImlu':_0x37dc8d(0x188),'hethK':function(_0xe0ec1d,_0x4d3234){return _0xe0ec1d(_0x4d3234);},'HhRjJ':function(_0x4e6d3f,_0x3657f9){return _0x4e6d3f(_0x3657f9);},'wPAMr':_0x37dc8d(0x1b3),'EQQml':_0x37dc8d(0x154),'lfMTT':'launch'},_0x46705c=path[_0x37dc8d(0x1d1)](_0x2d55ce[_0x37dc8d(0x17f)],_0x2d55ce[_0x37dc8d(0x1be)],_0x2d55ce['rImlu']),_0x3b71d1=_0x2d55ce['hethK'](importFileFromPWCore,_0x46705c);if(!_0x3b71d1){_0x2d55ce[_0x37dc8d(0x17b)](debug,_0x2d55ce[_0x37dc8d(0x120)]);return;}const _0x31d5fb=_0x3b71d1[_0x37dc8d(0x197)],_0x3e21e2=_0x31d5fb[_0x37dc8d(0x19a)];if(_0x3e21e2['obsBrowserTypeMockApplied'])return;const _0x2308a5=_0x3e21e2[_0x37dc8d(0x154)];Object['defineProperty'](_0x3e21e2,_0x2d55ce[_0x37dc8d(0x13f)],{'get':function(){return async function _0x73b148(_0x5bec8c,_0x375322){const _0x57a14e=a4_0x56c9,_0x4b781b={'aGotn':function(_0x4bfa51,_0xa886d2){const _0x309b92=a4_0x56c9;return _0x2d55ce[_0x309b92(0x19b)](_0x4bfa51,_0xa886d2);},'kObhs':_0x2d55ce[_0x57a14e(0x10b)]},_0x5939fe=_0x2d55ce[_0x57a14e(0x12b)](nestedKeyValue,_0x5bec8c,[_0x2d55ce[_0x57a14e(0xf9)]])||_0x5bec8c;let _0x1b7286=null,_0x164911=null;try{[_0x164911,_0x1b7286]=_0x5939fe?_0x2d55ce[_0x57a14e(0x161)](parseWSEndpoint,_0x5939fe):[null,null],global['__platformCaps']=_0x1b7286,logger[_0x57a14e(0x18e)](_0x57a14e(0x111)+_0x164911),_0x164911[_0x57a14e(0x125)](Constants[_0x57a14e(0x147)])&&(global['__cloud_provider___']=_0x2d55ce[_0x57a14e(0x1d6)]);}catch(_0x366f58){logger[_0x57a14e(0x18e)](_0x57a14e(0x13e)+_0x5939fe+'\x20'+_0x366f58);}_0x2d55ce['SzgUX'](processAccessibilityCaps,_0x1b7286,_0x164911);if(global[_0x57a14e(0x170)]){const _0x451374=await _0x3e21e2[_0x57a14e(0x156)]['apply'](this,[''+Constants[_0x57a14e(0x1da)]+_0x2d55ce['LzYBr'](encodeURIComponent,JSON[_0x57a14e(0x15c)](_0x1b7286))]);return PlaywrightSessionDetails[_0x57a14e(0x10d)](_0x451374,_0x28a992,_0x5939fe),_0x451374;}return _0x2308a5['apply'](this,arguments)[_0x57a14e(0x178)](_0x1478d6=>{const _0x3a758b=_0x57a14e;let _0x534081=_0x5bec8c[_0x3a758b(0x17a)];return _0x4b781b['aGotn'](typeof _0x5bec8c,_0x4b781b[_0x3a758b(0x1d8)])&&(_0x534081=_0x5bec8c),PlaywrightSessionDetails[_0x3a758b(0x10d)](_0x1478d6,_0x28a992,_0x534081),_0x1478d6;});};}});const _0x46b73e=_0x3e21e2['launch'];Object['defineProperty'](_0x3e21e2,_0x2d55ce[_0x37dc8d(0x190)],{'get':function(){return async function _0x565743(){const _0x589b19=a4_0x56c9;return _0x46b73e[_0x589b19(0x1c9)](this,arguments)[_0x589b19(0x178)](_0x5a7bf3=>{const _0x54f76=_0x589b19;return PlaywrightSessionDetails[_0x54f76(0x10d)](_0x5a7bf3,null),_0x5a7bf3;});};}});};class O11yHelper{[a4_0xeb03ae(0x1cb)]=null;['currentHook']=null;['enabled']=![];[a4_0xeb03ae(0x14b)]=![];constructor(_0x78ebf6,_0x4850ee){const _0x5f5078=a4_0xeb03ae,_0xca9306={'Rsqrj':_0x5f5078(0x1d7),'yeqhZ':function(_0x59a757){return _0x59a757();},'QJlYP':function(_0x513350,_0x7d1afc){return _0x513350===_0x7d1afc;},'TmDHs':_0x5f5078(0x11f),'PSMAT':function(_0x27c6e0,_0x4aeb23){return _0x27c6e0(_0x4aeb23);},'guLrp':function(_0x3a0f9){return _0x3a0f9();}},_0x46d376=_0xca9306['Rsqrj']['split']('|');let _0x57261e=0x0;while(!![]){switch(_0x46d376[_0x57261e++]){case'0':this['driver']=_0x78ebf6;continue;case'1':this[_0x5f5078(0x1d0)]=new testOpsHelper['PathHelper']({'cwd':process[_0x5f5078(0x1db)]()},this[_0x5f5078(0x16a)][_0x5f5078(0x18f)]);continue;case'2':this['frameworkName']=_0x4850ee[_0x5f5078(0x14b)];continue;case'3':this[_0x5f5078(0x1b0)]=_0xca9306['yeqhZ'](shouldProcessEventForTesthub);continue;case'4':this[_0x5f5078(0x115)]&&_0xca9306[_0x5f5078(0x149)](this[_0x5f5078(0x115)]['constructor'][_0x5f5078(0x1cf)],_0xca9306[_0x5f5078(0x12e)])&&_0xca9306['PSMAT'](mockPWBrowserType,null);continue;case'5':this[_0x5f5078(0x16a)]=_0xca9306[_0x5f5078(0x19c)](getTestEnv);continue;}break;}}[a4_0xeb03ae(0x155)](){const _0x35057e=a4_0xeb03ae;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x35057e(0x1a4)](_0x35057e(0x165)+process['pid']),process['on'](_0x35057e(0x165)+process[_0x35057e(0x1a0)],this[_0x35057e(0x104)][_0x35057e(0x1e8)](this));}async['stop'](){const _0x46e3b1=a4_0xeb03ae;await RequestQueueHandler[_0x46e3b1(0x138)]()[_0x46e3b1(0x163)]();}async[a4_0xeb03ae(0x104)](_0x183776){const _0x55f115=a4_0xeb03ae,_0xac54bd={'DStcC':'LogCreated','kxSXI':function(_0x77a77c,_0x36966f){return _0x77a77c(_0x36966f);}};try{this[_0x55f115(0x1a6)]&&!this[_0x55f115(0x1a6)]['markedStatus']&&(_0x183776[_0x55f115(0x153)]=this[_0x55f115(0x1a6)][_0x55f115(0x10f)]);!_0x183776[_0x55f115(0x153)]&&this['currentTest']&&!this[_0x55f115(0x1cb)][_0x55f115(0x16b)]&&(_0x183776[_0x55f115(0x15d)]=this[_0x55f115(0x1cb)][_0x55f115(0x199)]);if(_0x183776[_0x55f115(0x153)]||_0x183776['test_run_uuid']){const _0x402991={};_0x402991['event_type']=_0xac54bd[_0x55f115(0x18d)],_0x402991[_0x55f115(0x1c3)]=[_0x183776],await SessionHandler[_0x55f115(0x101)](_0x402991);}}catch(_0x5bf5df){_0xac54bd[_0x55f115(0x114)](debug,_0x55f115(0x1c2)+constants[_0x55f115(0x1c7)]+_0x55f115(0x1d5)+_0x5bf5df);}}async['sendCBTInfo'](_0x3f263e){const _0x557d37=a4_0xeb03ae,_0x555b4d={'QbgOX':_0x557d37(0x11d),'djBRW':function(_0x43e59f,_0x4adc7f){return _0x43e59f(_0x4adc7f);}};if(!this[_0x557d37(0x1b0)])return;const _0x26722e=this[_0x557d37(0x1a8)](this[_0x557d37(0x115)]);try{const _0x2f6d5c={};_0x2f6d5c[_0x557d37(0x142)]=_0x3f263e,_0x2f6d5c['integrations']=_0x26722e;const _0xcd2473=_0x2f6d5c,_0x4245a0={};_0x4245a0[_0x557d37(0x1a2)]=_0x555b4d[_0x557d37(0x122)],_0x4245a0[_0x557d37(0x13b)]=_0xcd2473,await SessionHandler[_0x557d37(0x101)](_0x4245a0);}catch(_0x139ad1){_0x555b4d['djBRW'](debug,_0x557d37(0x14e)+constants[_0x557d37(0x1c7)]+_0x557d37(0x1d5)+_0x139ad1);}}[a4_0xeb03ae(0x1a8)](_0x84ed1){const _0x3111f2=a4_0xeb03ae,_0x488cad={'fNhUF':function(_0x1043f3,_0x1fe3f8){return _0x1043f3(_0x1fe3f8);}};return _0x488cad[_0x3111f2(0xfb)](fetchPlatformDetails,_0x84ed1);}[a4_0xeb03ae(0x183)]=_0x82b7da=>{const _0x197b01=a4_0xeb03ae,_0x4f8d6f={};_0x4f8d6f['DUbKm']=_0x197b01(0x1b8),_0x4f8d6f[_0x197b01(0xf6)]='_afterEach';const _0x1255f8=_0x4f8d6f;if(!_0x82b7da||!_0x82b7da[_0x197b01(0x193)])return;[_0x1255f8[_0x197b01(0x129)],_0x1255f8[_0x197b01(0xf6)]][_0x197b01(0x1e6)](_0x2f0c81=>{const _0x4e1d77=_0x197b01,_0x392c83=_0x82b7da['parent'][_0x2f0c81];_0x392c83[_0x4e1d77(0x1e6)](_0x1d9f46=>{const _0x387481=_0x4e1d77;_0x1d9f46[_0x387481(0x10f)]&&(_0x1d9f46['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x4ee19d){const _0x42f0aa=a4_0xeb03ae,_0x3e29f2={'mmIrf':_0x42f0aa(0x1b6),'pWYOx':function(_0x5ef98f){return _0x5ef98f();},'KSSjc':function(_0x2d85d7,_0x493f50){return _0x2d85d7===_0x493f50;},'HYjYU':'_afterEach','kcmAW':_0x42f0aa(0x179),'cnjys':_0x42f0aa(0x1a7),'WxxUJ':_0x42f0aa(0x1b8)};if(!_0x4ee19d||!_0x4ee19d[_0x42f0aa(0x193)])return;[_0x3e29f2[_0x42f0aa(0x196)],_0x3e29f2[_0x42f0aa(0x14c)],_0x3e29f2['WxxUJ'],_0x3e29f2['HYjYU']]['forEach'](_0x40cf91=>{const _0x5bfdec=_0x42f0aa,_0x567d4b={'WMkIM':_0x3e29f2[_0x5bfdec(0x15b)],'XFyqm':function(_0x3532ae){const _0x30848b=_0x5bfdec;return _0x3e29f2[_0x30848b(0x1bb)](_0x3532ae);},'HMkTw':function(_0xc9e1cf,_0x411cb1){const _0x52d5db=_0x5bfdec;return _0x3e29f2[_0x52d5db(0x135)](_0xc9e1cf,_0x411cb1);},'qQJGP':_0x3e29f2['HYjYU'],'AcDpA':function(_0x2fc3c3){const _0x4b6cba=_0x5bfdec;return _0x3e29f2[_0x4b6cba(0x1bb)](_0x2fc3c3);}},_0x5b987b=_0x4ee19d[_0x5bfdec(0x193)][_0x40cf91]||[];_0x5b987b['forEach'](_0x1fd857=>{const _0x3210ce=_0x5bfdec;if(_0x1fd857[_0x3210ce(0x116)][_0x3210ce(0x125)](_0x567d4b[_0x3210ce(0x198)]))return;if(!_0x1fd857[_0x3210ce(0x10f)])_0x1fd857[_0x3210ce(0x10f)]=_0x567d4b[_0x3210ce(0x1e4)](uuidv4);else _0x1fd857[_0x3210ce(0x16b)]&&_0x567d4b[_0x3210ce(0x1b9)](_0x40cf91,_0x567d4b['qQJGP'])&&(_0x1fd857[_0x3210ce(0x10f)]=_0x567d4b['AcDpA'](uuidv4),delete _0x1fd857[_0x3210ce(0x16b)]);});}),this[_0x42f0aa(0x176)](_0x4ee19d['parent']);}['getHooksForTest'](_0xf9bf4a){const _0x312b12=a4_0xeb03ae,_0x489f24={};_0x489f24[_0x312b12(0x1ad)]=_0x312b12(0x179),_0x489f24[_0x312b12(0x180)]=_0x312b12(0x1a7),_0x489f24[_0x312b12(0x1b4)]=_0x312b12(0x1b8),_0x489f24[_0x312b12(0x1af)]=_0x312b12(0x16e);const _0x5f199e=_0x489f24;if(!_0xf9bf4a||!_0xf9bf4a['parent'])return[];const _0x54ccd6=[];return[_0x5f199e[_0x312b12(0x1ad)],_0x5f199e[_0x312b12(0x180)],_0x5f199e['UrUqV'],_0x5f199e[_0x312b12(0x1af)]][_0x312b12(0x1e6)](_0x41c6b0=>{const _0xbee3ea=_0xf9bf4a['parent'][_0x41c6b0]||[];_0xbee3ea['forEach'](_0x4a0c24=>{const _0x504394=a4_0x56c9;_0x4a0c24[_0x504394(0x10f)]&&_0x54ccd6[_0x504394(0x136)](_0x4a0c24['hookAnalyticsId']);});}),[][_0x312b12(0xfc)](_0x54ccd6,this['getHooksForTest'](_0xf9bf4a[_0x312b12(0x193)]));}[a4_0xeb03ae(0x134)](_0x980fd5){const _0x37153f=a4_0xeb03ae,_0x38be46=/^"(?<hook>.*)" hook:.*$/,_0x3cba8c=_0x980fd5['title'],_0x1e898e=_0x3cba8c['match'](_0x38be46);if(_0x1e898e&&_0x1e898e[_0x37153f(0x160)])return _0x1e898e[_0x37153f(0x160)][_0x37153f(0x146)][_0x37153f(0x10a)]()['replace']('\x20','_');return null;}[a4_0xeb03ae(0x12f)](_0x233146){const _0x18354d=a4_0xeb03ae,_0x5ef2d5={};_0x5ef2d5[_0x18354d(0x162)]=function(_0x2fa403,_0x27cb6e){return _0x2fa403===_0x27cb6e;},_0x5ef2d5[_0x18354d(0x103)]=_0x18354d(0x191),_0x5ef2d5['BqeGf']='config';const _0x2b33d5=_0x5ef2d5,_0x4562f7=path[_0x18354d(0x173)];if(_0x2b33d5[_0x18354d(0x162)](_0x233146,null)||_0x2b33d5[_0x18354d(0x162)](_0x233146,'')||_0x2b33d5[_0x18354d(0x162)](_0x233146,_0x4562f7)||_0x2b33d5[_0x18354d(0x162)](_0x233146,path['dirname'](_0x233146)))return null;try{return fs[_0x18354d(0x18b)](path[_0x18354d(0x1d1)](_0x233146,_0x2b33d5['LVEhS'],_0x2b33d5[_0x18354d(0x102)])),_0x233146;}catch(_0xa58040){const _0xa5e799=path[_0x18354d(0x141)](_0x233146);return this[_0x18354d(0x12f)](_0xa5e799);}}[a4_0xeb03ae(0x1bd)](_0x4dfa22){const _0x15f71a=a4_0xeb03ae,_0x65d869={};_0x65d869['RgvvF']=function(_0x12b8b6,_0x2074ea){return _0x12b8b6>_0x2074ea;};const _0x559a7e=_0x65d869;if(_0x4dfa22['file'])return _0x4dfa22[_0x15f71a(0x150)];if(_0x4dfa22[_0x15f71a(0x1b2)]){const _0x166b5a=_0x4dfa22[_0x15f71a(0x1b2)][_0x15f71a(0x1cb)]?this[_0x15f71a(0x1bd)](_0x4dfa22['ctx']['currentTest']):null;if(_0x166b5a)return _0x166b5a;}if(_0x4dfa22[_0x15f71a(0x193)]){const _0x10e0f4=this[_0x15f71a(0x1bd)](_0x4dfa22[_0x15f71a(0x193)])||(_0x4dfa22[_0x15f71a(0x193)]['ctx']&&_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0x1b2)]['currentTest']?this[_0x15f71a(0x1bd)](_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0x1b2)][_0x15f71a(0x1cb)]):null);if(_0x10e0f4)return _0x10e0f4;_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0xfd)]&&_0x559a7e['RgvvF'](_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0xfd)][_0x15f71a(0x184)],0x0)&&_0x4dfa22['parent'][_0x15f71a(0xfd)]['forEach'](_0x9323ea=>{const _0x26149d=_0x15f71a,_0x36854a=_0x9323ea['ctx']?this[_0x26149d(0x1bd)](_0x9323ea[_0x26149d(0x1b2)]):null;if(_0x36854a)return _0x36854a;});}return null;}[a4_0xeb03ae(0x171)](_0x373297){const _0x48fd25=a4_0xeb03ae,_0x41817c={};_0x41817c['jmBDH']=function(_0x11e05e,_0x51d4f1){return _0x11e05e!==_0x51d4f1;};const _0x12f73c=_0x41817c,_0x1f9952=[];if(_0x373297&&_0x373297['parent']){let _0x3eea76=_0x373297[_0x48fd25(0x193)];while(_0x3eea76&&_0x12f73c[_0x48fd25(0x121)](_0x3eea76['title'],'')){_0x1f9952['push'](_0x3eea76['title']),_0x3eea76=_0x3eea76['parent'];}}return _0x1f9952;}[a4_0xeb03ae(0x1e5)](_0x1656b6,_0x3a9cd8,_0x4d6ca5=undefined){const _0x4231d5=a4_0xeb03ae,_0x304e4d={'sZKDQ':function(_0x3fbfe3,_0x5c2adc){return _0x3fbfe3(_0x5c2adc);},'WVonW':function(_0x59f7e6){return _0x59f7e6();},'Juekv':function(_0x3e9146){return _0x3e9146();},'VYTPq':function(_0x51067c,_0x2fa2c1){return _0x51067c(_0x2fa2c1);},'XJBOl':'util','Zqrhn':'err','nkPAU':function(_0x109ab7,_0x2b75ce){return _0x109ab7!==_0x2b75ce;},'aREyk':function(_0x444800,_0x18649d){return _0x444800!==_0x18649d;},'EOnuy':_0x4231d5(0x1e7),'jBtNR':_0x4231d5(0x181),'zBwEK':_0x4231d5(0x1ce),'OjHfg':_0x4231d5(0x19f),'lnwJP':_0x4231d5(0x109),'ejGzm':'javascript','GdOdz':function(_0x2f06b2,_0x120ebd){return _0x2f06b2-_0x120ebd;},'gHhog':function(_0x19bd07,_0x30e117,_0x370d7d,_0x30c535,_0x25cdbd){return _0x19bd07(_0x30e117,_0x370d7d,_0x30c535,_0x25cdbd);},'XpEhQ':_0x4231d5(0x1e0),'HFskz':_0x4231d5(0x158),'LTcTe':_0x4231d5(0x194),'FnDnS':'failure_backtrace','BdKHk':_0x4231d5(0x186),'zssHD':_0x4231d5(0x106),'ZSeFF':'expanded','lPNDu':function(_0x21169b,_0x11c327){return _0x21169b===_0x11c327;},'oTtpG':_0x4231d5(0x1a5),'irfEz':_0x4231d5(0x13b)};if(!this[_0x4231d5(0x1b0)])return;try{if(_0x3a9cd8['fn']&&_0x3a9cd8['fn'][_0x4231d5(0x168)]()['match'](/browserstack internal helper hook/))return;const _0x1de5d9=_0x304e4d[_0x4231d5(0x10c)](parseEvent,_0x1656b6);if(!_0x1de5d9)return;if(_0x1de5d9[_0x4231d5(0x1d9)]){this[_0x4231d5(0x1cb)]=_0x3a9cd8,this[_0x4231d5(0x1a6)]=null;if(_0x1de5d9[_0x4231d5(0x1dd)]||_0x1de5d9[_0x4231d5(0x109)]){_0x3a9cd8[_0x4231d5(0x16f)]=new Date(),_0x3a9cd8[_0x4231d5(0x16b)]=![];if(!_0x3a9cd8['testAnalyticsId'])_0x3a9cd8[_0x4231d5(0x199)]=_0x304e4d[_0x4231d5(0x174)](uuidv4);else _0x3a9cd8[_0x4231d5(0x16b)]&&(!_0x3a9cd8[_0x4231d5(0x1de)]&&(_0x3a9cd8[_0x4231d5(0x1de)]=_0x3a9cd8[_0x4231d5(0x199)]),_0x3a9cd8[_0x4231d5(0x199)]=_0x304e4d[_0x4231d5(0x174)](uuidv4));}}else{if(_0x1de5d9[_0x4231d5(0x146)]){this[_0x4231d5(0x1a6)]=_0x3a9cd8;if(_0x1de5d9['started']){_0x3a9cd8[_0x4231d5(0x16f)]=new Date(),_0x3a9cd8['markedStatus']=![];if(!_0x3a9cd8[_0x4231d5(0x10f)])_0x3a9cd8[_0x4231d5(0x10f)]=_0x304e4d['Juekv'](uuidv4);else _0x3a9cd8[_0x4231d5(0x10f)]&&_0x3a9cd8[_0x4231d5(0x16b)]&&(_0x3a9cd8[_0x4231d5(0x10f)]=_0x304e4d[_0x4231d5(0x1d4)](uuidv4));}}}if(_0x1de5d9['finished']&&_0x3a9cd8[_0x4231d5(0x16b)])return;let _0x21abea;try{_0x21abea=this['getRootParentFile'](_0x3a9cd8);}catch(_0x2244e0){logger['debug'](_0x4231d5(0x133)+_0x2244e0),_0x21abea=null;}const _0x476d8a=_0x304e4d['VYTPq'](require,_0x304e4d['XJBOl']);let _0x592fa3=[];_0x4d6ca5&&(_0x592fa3=[_0x4d6ca5,_0x304e4d['Zqrhn']]);const _0x1b6046=_0x304e4d['nkPAU'](_0x3a9cd8[_0x4231d5(0x148)],undefined)?_0x476d8a['inspect'](_0x3a9cd8[_0x4231d5(0x148)][0x0]):_0x304e4d[_0x4231d5(0x11e)](_0x4d6ca5,undefined)?_0x4d6ca5[_0x4231d5(0x168)]():undefined,_0x422ba8=_0x21abea?this[_0x4231d5(0x12f)](_0x21abea):null,_0x1c907a=_0x21abea?this[_0x4231d5(0x1d0)]['prefixTestPath'](this[_0x4231d5(0x1bd)](_0x3a9cd8)):_0x304e4d[_0x4231d5(0x1a3)];let _0x21f77f=_0x304e4d['jBtNR'];const _0x146900=!_0x1de5d9[_0x4231d5(0x1dd)]?new Date()[_0x4231d5(0x107)]():null;if(_0x1de5d9['finished'])_0x21f77f=_0x4d6ca5?_0x304e4d[_0x4231d5(0x1c6)]:_0x304e4d[_0x4231d5(0xf7)],_0x3a9cd8['markedStatus']=!![];else _0x1de5d9['skipped']&&(_0x21f77f=_0x304e4d['lnwJP'],_0x3a9cd8['markedStatus']=!![]);const _0x3d2c34={'framework':this[_0x4231d5(0x14b)],'uuid':_0x3a9cd8[_0x4231d5(0x199)]||_0x3a9cd8[_0x4231d5(0x10f)],'name':_0x3a9cd8['title'],'body':{'lang':_0x304e4d[_0x4231d5(0x15e)],'code':_0x3a9cd8[_0x4231d5(0x113)][_0x4231d5(0x168)]()},'type':_0x3a9cd8[_0x4231d5(0x1c1)],'scope':_0x3a9cd8['fullTitle'](),'scopes':this[_0x4231d5(0x171)](_0x3a9cd8),'file_name':_0x1c907a,'vc_filepath':_0x422ba8?path[_0x4231d5(0x1a1)](_0x422ba8,_0x21abea):null,'location':_0x1c907a,'result':_0x21f77f,'failure_reason':_0x1b6046,'duration_in_ms':_0x3a9cd8[_0x4231d5(0xfa)]||(_0x1de5d9[_0x4231d5(0x17d)]||_0x1de5d9[_0x4231d5(0x109)])?_0x304e4d[_0x4231d5(0xf8)](Date[_0x4231d5(0x185)](),new Date(_0x3a9cd8[_0x4231d5(0x16f)])[_0x4231d5(0x169)]()):null,'started_at':new Date(_0x3a9cd8['startedAt'])[_0x4231d5(0x107)](),'finished_at':_0x146900,'failure':testOpsHelper[_0x4231d5(0x144)]['apply'](null,_0x592fa3),'failure_type':!_0x1b6046?null:testOpsHelper[_0x4231d5(0x1dc)](_0x1b6046),'retry_of':_0x3a9cd8['retryOf']||null,'tags':_0x3a9cd8[_0x4231d5(0x126)]||[],'customRerunParam':{'rerun_name':_0x3a9cd8[_0x4231d5(0x1cd)]()}};_0x304e4d[_0x4231d5(0x12a)](appendTesthubParams,_0x3d2c34,_0x1656b6,_0x3a9cd8,FRAMEWORKS[_0x4231d5(0x1c0)]);if(_0x1de5d9[_0x4231d5(0x146)])[_0x3d2c34[_0x4231d5(0x18c)],_0x3d2c34[_0x4231d5(0x1cf)]]=[this[_0x4231d5(0x134)](_0x3a9cd8),_0x3a9cd8[_0x4231d5(0x1b2)][_0x4231d5(0x1d9)][_0x4231d5(0x116)]],_0x1de5d9[_0x4231d5(0x17d)]?_0x304e4d[_0x4231d5(0x11e)](_0x3d2c34[_0x4231d5(0x1bc)],_0x304e4d[_0x4231d5(0x1c6)])&&(_0x3d2c34[_0x4231d5(0x1bc)]=_0x304e4d[_0x4231d5(0xf7)]):_0x3d2c34[_0x4231d5(0x113)]={};else _0x1de5d9['test']&&(this['mapTestHooks'](_0x3a9cd8),_0x1de5d9[_0x4231d5(0x109)]&&this[_0x4231d5(0x183)](_0x3a9cd8),(_0x1de5d9[_0x4231d5(0x17d)]||_0x1de5d9[_0x4231d5(0x109)])&&(_0x3d2c34['hooks']=this[_0x4231d5(0x18a)](_0x3a9cd8)));this[_0x4231d5(0x115)]&&(_0x1de5d9[_0x4231d5(0x1dd)]||_0x1de5d9['skipped'])&&(_0x3d2c34[_0x304e4d['XpEhQ']]=this[_0x4231d5(0x1a8)](this[_0x4231d5(0x115)]));_0x1de5d9[_0x4231d5(0x1d9)]&&_0x1de5d9[_0x4231d5(0x17d)]&&_0x3a9cd8[_0x4231d5(0x1c5)]&&(_0x3d2c34[_0x304e4d[_0x4231d5(0x112)]]={'feature':{'name':_0x3a9cd8[_0x4231d5(0x193)][_0x4231d5(0x12d)][_0x4231d5(0x1cf)],'path':_0x3d2c34[_0x4231d5(0x192)],'description':_0x3a9cd8[_0x4231d5(0x193)][_0x4231d5(0x140)]},'scenario':{'name':_0x3a9cd8[_0x4231d5(0x116)]},'steps':_0x3a9cd8['bddSteps']});const _0x2f31e0=_0x3d2c34[_0x304e4d[_0x4231d5(0x1b7)]][0x0];_0x2f31e0&&(_0x3d2c34[_0x304e4d[_0x4231d5(0x195)]]=_0x2f31e0[_0x304e4d['BdKHk']],_0x3d2c34[_0x304e4d['zssHD']]=_0x2f31e0[_0x304e4d[_0x4231d5(0x1b1)]]);if(_0x3a9cd8[_0x4231d5(0x1c5)])for(const _0x39a808 of _0x3a9cd8['bddSteps']){!_0x39a808[_0x4231d5(0x124)]&&(_0x39a808[_0x4231d5(0x124)]=new Date()['toISOString'](),_0x304e4d[_0x4231d5(0x11b)](_0x39a808[_0x4231d5(0x1bc)],_0x304e4d[_0x4231d5(0x16d)])&&(_0x2f31e0?(_0x39a808['result']=_0x304e4d[_0x4231d5(0x1c6)],_0x39a808[_0x4231d5(0x194)]=_0x2f31e0[_0x304e4d[_0x4231d5(0x117)]][0x0]):_0x39a808[_0x4231d5(0x1bc)]=_0x304e4d['OjHfg']));}const _0x2fd5e2={};_0x2fd5e2['event_type']=_0x1de5d9['skipped']?TEST_EVENTS[_0x4231d5(0x131)]:_0x1656b6;const _0x52d59c=_0x2fd5e2;return _0x1de5d9[_0x4231d5(0x146)]?_0x52d59c[_0x304e4d[_0x4231d5(0x1cc)]]=_0x3d2c34:_0x52d59c[_0x304e4d[_0x4231d5(0x13c)]]=_0x3d2c34,_0x52d59c;}catch(_0x129f81){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1656b6+_0x4231d5(0x1d5)+_0x129f81);}}async[a4_0xeb03ae(0x1e1)](_0x51bdd4,_0x10de7c){const _0x4356f9=a4_0xeb03ae;if(!this[_0x4356f9(0x1b0)]||!_0x10de7c||!_0x51bdd4)return![];try{return await SessionHandler['uploadEventData'](_0x10de7c);}catch(_0xf7957e){logger[_0x4356f9(0x18e)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x51bdd4+_0x4356f9(0x1d5)+_0xf7957e);}}['initializeBddStep'](_0x71f0c9){const _0x5c6176=a4_0xeb03ae,_0x69b624={};_0x69b624[_0x5c6176(0x15f)]=_0x5c6176(0x181);const _0x4ca8af=_0x69b624;return{'id':_0x71f0c9['stepAnalyticsId'],'text':_0x71f0c9[_0x5c6176(0x167)],'keyword':_0x71f0c9[_0x5c6176(0x172)],'started_at':_0x71f0c9[_0x5c6176(0x16f)]['toISOString'](),'result':_0x4ca8af[_0x5c6176(0x15f)]};}['bddStepStart'](_0xf0f43e){const _0x3416f3=a4_0xeb03ae,_0x4b6d9c={'FbbVR':function(_0x101cb4){return _0x101cb4();}};!this[_0x3416f3(0x1cb)]['bddSteps']&&(this[_0x3416f3(0x1cb)][_0x3416f3(0x1c5)]=[]),!_0xf0f43e[_0x3416f3(0x14d)]&&(_0xf0f43e[_0x3416f3(0x14d)]=_0x4b6d9c['FbbVR'](uuidv4),_0xf0f43e['startedAt']=new Date(),this[_0x3416f3(0x1cb)][_0x3416f3(0x1c5)]['push'](this[_0x3416f3(0x159)](_0xf0f43e)));}[a4_0xeb03ae(0x108)](_0x4fa77a){const _0x5390c9=a4_0xeb03ae,_0x59ca5c={'cYvdj':function(_0x574737,_0x274385){return _0x574737(_0x274385);},'Jdfyi':'success','JRORw':'pending','KPjHn':_0x5390c9(0x19f),'aSkjj':function(_0x3306a0,_0x36072a){return _0x3306a0-_0x36072a;}};let _0x34e7d3=this[_0x5390c9(0x1cb)]['bddSteps']['find'](_0x5439a2=>_0x5439a2['id']===_0x4fa77a['stepAnalyticsId']);_0x59ca5c[_0x5390c9(0x13a)](isUndefined,_0x34e7d3)&&(_0x34e7d3=this[_0x5390c9(0x159)](_0x4fa77a)),_0x34e7d3[_0x5390c9(0x1bc)]=[_0x59ca5c[_0x5390c9(0x123)],_0x59ca5c[_0x5390c9(0x1b5)]][_0x5390c9(0x125)](_0x4fa77a[_0x5390c9(0x1d2)])?_0x59ca5c['KPjHn']:_0x4fa77a[_0x5390c9(0x1d2)],_0x34e7d3[_0x5390c9(0x124)]=new Date()[_0x5390c9(0x107)](),_0x34e7d3[_0x5390c9(0xfa)]=_0x59ca5c[_0x5390c9(0x17e)](Date[_0x5390c9(0x185)](),_0x4fa77a[_0x5390c9(0x16f)][_0x5390c9(0x169)]()),_0x34e7d3[_0x5390c9(0x194)]=_0x4fa77a['err']?_0x4fa77a[_0x5390c9(0x1ae)][_0x5390c9(0x119)]:null;}}function a4_0x508e(){const _0xb3f3de=['getHookType','KSSjc','push','VZvbR','getInstance','8OXxdSo','cYvdj','test_run','irfEz','lMETM','Failed\x20to\x20parse\x20wsendpoint\x20','EQQml','comment','dirname','uuid','../playwright/accessibility-helper','failureData','../../helpers/test-observability/sessionHandler','hook','BROWSERSTACK','errorsDetailed','QJlYP','../../helpers/helper','frameworkName','cnjys','stepAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','9590790qDQuPy','file','string','match','hook_run_uuid','connect','start','connectOverCDP','O11yHelper','meta','initializeBddStep','EbTRr','mmIrf','stringify','test_run_uuid','ejGzm','pSHyk','groups','LzYBr','WzBhF','shutdown','../../helpers/test-observability/constants','bs:addLog:','../../helpers/logger','text','toString','getTime','_testEnv','markedStatus','ZARny','jBtNR','_afterEach','startedAt','accessibilityPlatform','getHierarchy','keyword','sep','WVonW','HookRunStarted','mapTestHooks','9ARWOxU','then','_beforeAll','wsEndpoint','HhRjJ','../../helpers/test-observability/utils','finished','aSkjj','ZYRhH','YBoLJ','pending','12xUhkWQ','resetSkipTestHooks','length','now','backtrace','exports','browserType.js','STATE_PASSED','getHooksForTest','statSync','hook_type','DStcC','debug','location_prefix','lfMTT','.git','file_name','parent','failure','FnDnS','kcmAW','BrowserType','WMkIM','testAnalyticsId','prototype','jNWBQ','guLrp','../utils/constants','3949956dacUtc','passed','pid','relative','event_type','EOnuy','removeAllListeners','hook_run','currentHook','_afterAll','getCBTInfo','../playwright/sessionDetails','path','STATE_FAILED','IGnym','TshdY','err','sGfvO','enabled','ZSeFF','ctx','Not\x20able\x20to\x20import\x20Browser','UrUqV','JRORw','codeceptjs','LTcTe','_beforeEach','HMkTw','433110jabWEA','pWYOx','result','getRootParentFile','CETJH','aeEFD','CODECEPT','type','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','logs','HOOK_RUN_FINISHED','bddSteps','zBwEK','TEST_REPORTING_ANALYTICS','../../helpers/testhub/utils.js','apply','HOOK_RUN_STARTED','currentTest','oTtpG','fullTitle','failed','name','_paths','join','status','TEST_RUN_SKIPPED','Juekv','\x20with\x20error\x20:\x20','TBJcr','3|2|0|5|1|4','kObhs','test','PLAYWRIGHT_HUB_URL','cwd','getFailureType','started','retryOf','4355330Gdxodu','integrations','fireEvent','2EGPPeT','HookRunFinished','XFyqm','captureEvent','forEach','File\x20path\x20could\x20not\x20be\x20found','bind','wAMTx','czAnV','OjHfg','GdOdz','odapF','duration','fNhUF','concat','suites','browserstack','../../helpers/test-observability/requestQueueHandler','TEST_EVENTS','uploadEventData','BqeGf','LVEhS','appendTestItemLog','winstonLogger','failure_reason_expanded','toISOString','bddStepFinish','skipped','toUpperCase','PfzjX','sZKDQ','setupBrowserDetails','TestRunFinished','hookAnalyticsId','PxNeN','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','HFskz','body','kxSXI','driver','title','BdKHk','841754WSqpyc','message','553864yRHHmF','lPNDu','./helper.js','CBTSessionCreated','aREyk','Playwright','wPAMr','jmBDH','QbgOX','Jdfyi','finished_at','includes','tags','TestRunSkipped','lOTmy','DUbKm','gHhog','NjMUw','client','feature','TmDHs','findGitConfig','toLowerCase','TEST_RUN_FINISHED','2541682cVhARn','failed\x20to\x20get\x20root\x20parent\x20file\x20'];a4_0x508e=function(){return _0xb3f3de;};return a4_0x508e();}const a4_0x5d5f08={};function a4_0x56c9(_0x76e33b,_0x5d7bad){const _0x508ef6=a4_0x508e();return a4_0x56c9=function(_0x56c923,_0x46a05a){_0x56c923=_0x56c923-0xf6;let _0xc7b228=_0x508ef6[_0x56c923];return _0xc7b228;},a4_0x56c9(_0x76e33b,_0x5d7bad);}a4_0x5d5f08[a4_0xeb03ae(0x157)]=O11yHelper,a4_0x5d5f08[a4_0xeb03ae(0x189)]=STATE_PASSED,a4_0x5d5f08[a4_0xeb03ae(0x1ab)]=STATE_FAILED,a4_0x5d5f08[a4_0xeb03ae(0x100)]=TEST_EVENTS,module[a4_0xeb03ae(0x187)]=a4_0x5d5f08;
|
|
1
|
+
function a4_0x2f58(){const _0x3b6194=['TestRunSkipped','rtwph','eoPea','HookRunFinished','forEach','apply','title','dirname','HYUOJ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','success','getHookType','PathHelper','util','testAnalyticsId','finished','getCBTInfo','feature','initializeBddStep','then','enabled','553080RKveIX','launch','ZasNb','wMjeE','stringify','passed','now','bddStepStart','removeAllListeners','hook_run','pCskL','skipped','qToPe','toLowerCase','1626482dgwIdQ','eMGXR','getInstance','ukltm','uploadEventData','started','resetSkipTestHooks','692700ccVytO','duration','bksOv','bind','status','clpAg','FqCMw','backtrace','statSync','captureEvent','TEST_RUN_FINISHED','find','DYncH','VnHsr','Playwright','IzwHb','event_type','sbcwp','errorsDetailed','qiEsi','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','_paths','xnAOy','TestRunStarted','BROWSERSTACK','FkHKI','GzzDT','11SpFoJZ','stop','\x20with\x20error\x20:\x20','dqxXu','replace','brtLb','file_name','ctx','135caUvqX','driver','stepAnalyticsId','RvZzk','xGXdW','HookRunStarted','hook','bSXwM','message','JvwJI','failure_backtrace','NDVgB','BrowserType','pending','30aBVkIZ','sep','body','bs:addLog:','TilsX','zVNBr','156424ecBvew','../../helpers/test-observability/utils','UBpXZ','javascript','setupBrowserDetails','patchConsoleLogger','accessibilityPlatform','toUpperCase','result','pIWJM','connect','markedStatus','PzrZK','length','../../helpers/logger','../../helpers/testhub/utils.js','meta','err','frameworkName','VJiKW','FVmZt','fullTitle','../../helpers/test-observability/requestQueueHandler','getRootParentFile','VkEWY','wACpc','.git','../utils/constants','LbWdT','aqEmX','4GXnRms','test_run_uuid','uuid','join','BgWpl','toISOString','hookAnalyticsId','finished_at','test','eDqlq','QjgdP','push','concat','bpQsa','_afterEach','KHQzV','hooks','Gxapw','debug','_beforeEach','3|0|5|4|2|1','dhCBs','appendTestItemLog','fAtYW','keyword','shutdown','codeceptjs','retryOf','CODECEPT','getHierarchy','7714iUOuRk','../../helpers/test-observability/sessionHandler','obsBrowserTypeMockApplied','mBjvq','findGitConfig','failure','file','Failed\x20to\x20parse\x20wsendpoint\x20','sSOmJ','logs','includes','TEST_RUN_SKIPPED','hook_type','kWsjl','pid','ZMmmP','match','GHWYy','getHooksForTest','bddStepFinish','BpNFc','lllZe','wsEndpoint','failed','bddSteps','mapTestHooks','wxAvM','pdkVC','vwTih','nMqio','zGidv','prefixTestPath','exports','STATE_FAILED','ZkqdO','failureData','name','parent','TestRunFinished','Rogwn','_beforeAll','test_run','PLAYWRIGHT_HUB_URL','BATkC','uxGOo','JyPNu','gkupI','HKalN','failure_reason_expanded','ifWzn','7707ogmGJc','ILIJo','LogCreated','_testEnv','JVmZt','hook_run_uuid','client','suites','currentTest','getTime','../../helpers/helper','startedAt','KabdM','Not\x20able\x20to\x20import\x20Browser','PQJZN','toString','fvwpr','split','VQLDu','ApMmP','integrations','HOOK_RUN_FINISHED','_afterAll','../mocha/test-observability/mochaUtils','currentHook','ldNrZ','defineProperty','RAzQo','type','groups','2728060jqzJIX','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','HOOK_RUN_STARTED','hiZUd','TEST_REPORTING_ANALYTICS'];a4_0x2f58=function(){return _0x3b6194;};return a4_0x2f58();}const a4_0x1622b9=a4_0x2e39;(function(_0x441a0b,_0x583648){const _0x1314d9=a4_0x2e39,_0x45b22d=_0x441a0b();while(!![]){try{const _0x1c4388=parseInt(_0x1314d9(0x113))/0x1*(parseInt(_0x1314d9(0x79))/0x2)+parseInt(_0x1314d9(0xe3))/0x3+-parseInt(_0x1314d9(0x14d))/0x4*(parseInt(_0x1314d9(0xf8))/0x5)+parseInt(_0x1314d9(0x129))/0x6*(-parseInt(_0x1314d9(0xab))/0x7)+-parseInt(_0x1314d9(0x12f))/0x8*(parseInt(_0x1314d9(0x11b))/0x9)+parseInt(_0x1314d9(0xc9))/0xa+parseInt(_0x1314d9(0xf1))/0xb;if(_0x1c4388===_0x583648)break;else _0x45b22d['push'](_0x45b22d['shift']());}catch(_0x4f944a){_0x45b22d['push'](_0x45b22d['shift']());}}}(a4_0x2f58,0x334c3));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x1622b9(0x14f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1622b9(0xb5)),testOpsHelper=require(a4_0x1622b9(0x130)),{getTestEnv}=require(a4_0x1622b9(0xc2)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x1622b9(0x13d))['winstonLogger'],SessionHandler=require(a4_0x1622b9(0x7a)),RequestQueueHandler=require(a4_0x1622b9(0x145)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x1622b9(0x14a)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x1622b9(0x13e)),constants=require(a4_0x1622b9(0x14a)),STATE_PASSED=a4_0x1622b9(0xe8),STATE_FAILED='failed',a4_0x528193={};a4_0x528193['TEST_RUN_STARTED']=a4_0x1622b9(0x10f),a4_0x528193['TEST_RUN_FINISHED']=a4_0x1622b9(0x9f),a4_0x528193[a4_0x1622b9(0x84)]=a4_0x1622b9(0xce),a4_0x528193[a4_0x1622b9(0xcb)]=a4_0x1622b9(0x120),a4_0x528193[a4_0x1622b9(0xc0)]=a4_0x1622b9(0xd1);const TEST_EVENTS=a4_0x528193,parseEvent=_0x157cdd=>{const _0x378a1c=a4_0x1622b9,_0x1b8ddf={};_0x1b8ddf[_0x378a1c(0xbb)]=function(_0x493ba0,_0x2307b6){return _0x493ba0<_0x2307b6;},_0x1b8ddf[_0x378a1c(0x164)]=function(_0x9938ed,_0x1f1e9d){return _0x9938ed===_0x1f1e9d;},_0x1b8ddf[_0x378a1c(0xd6)]='test',_0x1b8ddf[_0x378a1c(0x93)]=function(_0x20c792,_0x5b981d){return _0x20c792===_0x5b981d;},_0x1b8ddf[_0x378a1c(0x8e)]='hook',_0x1b8ddf['ILIJo']=_0x378a1c(0xee),_0x1b8ddf[_0x378a1c(0x138)]=_0x378a1c(0xf6),_0x1b8ddf[_0x378a1c(0xfd)]=_0x378a1c(0xdd);const _0x3f448a=_0x1b8ddf,_0x1a43a2=_0x157cdd['match'](/^(.*)Run(.*)$/);if(!_0x1a43a2)return null;if(_0x3f448a[_0x378a1c(0xbb)](_0x1a43a2[_0x378a1c(0x13c)],0x3))return null;const _0x52a0a0=_0x1a43a2[0x1][_0x378a1c(0xf0)](),_0x14d614=_0x1a43a2[0x2][_0x378a1c(0xf0)]();return{'test':_0x3f448a[_0x378a1c(0x164)](_0x52a0a0,_0x3f448a[_0x378a1c(0xd6)]),'hook':_0x3f448a[_0x378a1c(0x93)](_0x52a0a0,_0x3f448a[_0x378a1c(0x8e)]),'skipped':_0x3f448a['wxAvM'](_0x14d614,_0x3f448a[_0x378a1c(0xac)]),'started':_0x3f448a[_0x378a1c(0x93)](_0x14d614,_0x3f448a[_0x378a1c(0x138)]),'finished':_0x3f448a[_0x378a1c(0x93)](_0x14d614,_0x3f448a[_0x378a1c(0xfd)])};},mockPWBrowserType=_0x309f70=>{const _0x5e7db6=a4_0x1622b9,_0x489f87={'dhCBs':function(_0xca353c,_0xef721f){return _0xca353c===_0xef721f;},'DYncH':'string','oBohr':function(_0x6cbeb0,_0x4ca99b,_0x1bd1bd){return _0x6cbeb0(_0x4ca99b,_0x1bd1bd);},'FSzlg':_0x5e7db6(0x8f),'wACpc':function(_0x3895ee,_0xdd691d){return _0x3895ee(_0xdd691d);},'IQGmU':'browserstack','kWsjl':'lib','eoPea':_0x5e7db6(0xb1),'BATkC':'browserType.js','FUUdY':function(_0x45a8f9,_0xef5111){return _0x45a8f9(_0xef5111);},'mBjvq':function(_0x5af0e1,_0x1b1a3a){return _0x5af0e1(_0x1b1a3a);},'qToPe':_0x5e7db6(0xb8),'hiZUd':'connect','hcsiz':_0x5e7db6(0xe4)},_0x33710c=path[_0x5e7db6(0x150)](_0x489f87[_0x5e7db6(0x86)],_0x489f87[_0x5e7db6(0xd0)],_0x489f87[_0x5e7db6(0xa4)]),_0x296964=_0x489f87['FUUdY'](importFileFromPWCore,_0x33710c);if(!_0x296964){_0x489f87[_0x5e7db6(0x7c)](debug,_0x489f87[_0x5e7db6(0xef)]);return;}const _0x2e3120=_0x296964[_0x5e7db6(0x127)],_0x2c1e50=_0x2e3120['prototype'];if(_0x2c1e50[_0x5e7db6(0x7b)])return;const _0x82cc17=_0x2c1e50[_0x5e7db6(0x139)];Object[_0x5e7db6(0xc5)](_0x2c1e50,_0x489f87[_0x5e7db6(0xcc)],{'get':function(){const _0x502b29=_0x5e7db6,_0x221568={'ifWzn':function(_0x2cf789,_0x3c4a8e){const _0x1bb503=a4_0x2e39;return _0x489f87[_0x1bb503(0x162)](_0x2cf789,_0x3c4a8e);},'TilsX':_0x489f87[_0x502b29(0x104)],'PQJZN':function(_0x214c52,_0xf549ab,_0x1633de){return _0x489f87['oBohr'](_0x214c52,_0xf549ab,_0x1633de);},'PzrZK':_0x489f87['FSzlg'],'ApMmP':function(_0x2cbd31,_0x45255a){const _0x3e2304=_0x502b29;return _0x489f87[_0x3e2304(0x148)](_0x2cbd31,_0x45255a);},'brtLb':_0x489f87['IQGmU'],'bksOv':function(_0x30f515,_0x1ddfbd){const _0x3368d6=_0x502b29;return _0x489f87[_0x3368d6(0x148)](_0x30f515,_0x1ddfbd);}};return async function _0x3c0780(_0x1bd865,_0x54b7f4){const _0x3c90d0=_0x502b29,_0x5b06c={'jvEPJ':function(_0x408116,_0x14dd01){const _0x127e98=a4_0x2e39;return _0x221568[_0x127e98(0xaa)](_0x408116,_0x14dd01);},'yLAnM':_0x221568[_0x3c90d0(0x12d)]},_0x1f55a0=_0x221568[_0x3c90d0(0xb9)](nestedKeyValue,_0x1bd865,[_0x221568[_0x3c90d0(0x13b)]])||_0x1bd865;let _0x2daab6=null,_0x5048a6=null;try{[_0x5048a6,_0x2daab6]=_0x1f55a0?_0x221568[_0x3c90d0(0xbe)](parseWSEndpoint,_0x1f55a0):[null,null],global['__platformCaps']=_0x2daab6,logger[_0x3c90d0(0x15f)](_0x3c90d0(0xca)+_0x5048a6),_0x5048a6[_0x3c90d0(0x83)](Constants[_0x3c90d0(0x110)])&&(global['__cloud_provider___']=_0x221568[_0x3c90d0(0x118)]);}catch(_0x1fc5ca){logger[_0x3c90d0(0x15f)](_0x3c90d0(0x80)+_0x1f55a0+'\x20'+_0x1fc5ca);}_0x221568[_0x3c90d0(0xb9)](processAccessibilityCaps,_0x2daab6,_0x5048a6);if(global[_0x3c90d0(0x135)]){const _0x825c84=await _0x2c1e50['connectOverCDP'][_0x3c90d0(0xd3)](this,[''+Constants[_0x3c90d0(0xa3)]+_0x221568[_0x3c90d0(0xfa)](encodeURIComponent,JSON[_0x3c90d0(0xe7)](_0x2daab6))]);return PlaywrightSessionDetails[_0x3c90d0(0x133)](_0x825c84,_0x309f70,_0x1f55a0),_0x825c84;}return _0x82cc17[_0x3c90d0(0xd3)](this,arguments)[_0x3c90d0(0xe1)](_0x336d54=>{const _0x1c7725=_0x3c90d0;let _0x1ac7cd=_0x1bd865['wsEndpoint'];return _0x5b06c['jvEPJ'](typeof _0x1bd865,_0x5b06c['yLAnM'])&&(_0x1ac7cd=_0x1bd865),PlaywrightSessionDetails[_0x1c7725(0x133)](_0x336d54,_0x309f70,_0x1ac7cd),_0x336d54;});};}});const _0x2b153c=_0x2c1e50[_0x5e7db6(0xe4)];Object[_0x5e7db6(0xc5)](_0x2c1e50,_0x489f87['hcsiz'],{'get':function(){return async function _0x2509b3(){const _0x1d7522=a4_0x2e39;return _0x2b153c[_0x1d7522(0xd3)](this,arguments)[_0x1d7522(0xe1)](_0x109295=>{const _0x58130d=_0x1d7522;return PlaywrightSessionDetails[_0x58130d(0x133)](_0x109295,null),_0x109295;});};}});};function a4_0x2e39(_0x43daa3,_0x23f470){const _0x2f5809=a4_0x2f58();return a4_0x2e39=function(_0x2e392c,_0x59d076){_0x2e392c=_0x2e392c-0x78;let _0x26a6b2=_0x2f5809[_0x2e392c];return _0x26a6b2;},a4_0x2e39(_0x43daa3,_0x23f470);}class O11yHelper{[a4_0x1622b9(0xb3)]=null;['currentHook']=null;[a4_0x1622b9(0xe2)]=![];[a4_0x1622b9(0x141)]=![];constructor(_0x4091c5,_0x34b749){const _0x49c61e=a4_0x1622b9,_0xe5ccc6={'iiVqJ':_0x49c61e(0x161),'xGXdW':function(_0x552d87,_0x513fc4){return _0x552d87===_0x513fc4;},'dqxXu':_0x49c61e(0x106),'bpQsa':function(_0x561179,_0x176943){return _0x561179(_0x176943);},'GzzDT':function(_0x36d057){return _0x36d057();},'aTpaA':function(_0x2fe0c7){return _0x2fe0c7();}},_0x2ac4e1=_0xe5ccc6['iiVqJ'][_0x49c61e(0xbc)]('|');let _0x509620=0x0;while(!![]){switch(_0x2ac4e1[_0x509620++]){case'0':this[_0x49c61e(0x141)]=_0x34b749[_0x49c61e(0x141)];continue;case'1':this[_0x49c61e(0x11c)]&&_0xe5ccc6[_0x49c61e(0x11f)](this[_0x49c61e(0x11c)]['constructor']['name'],_0xe5ccc6[_0x49c61e(0x116)])&&_0xe5ccc6[_0x49c61e(0x15a)](mockPWBrowserType,null);continue;case'2':this[_0x49c61e(0x10d)]=new testOpsHelper[(_0x49c61e(0xda))]({'cwd':process['cwd']()},this[_0x49c61e(0xae)]['location_prefix']);continue;case'3':this[_0x49c61e(0xe2)]=_0xe5ccc6[_0x49c61e(0x112)](shouldProcessEventForTesthub);continue;case'4':this[_0x49c61e(0xae)]=_0xe5ccc6['aTpaA'](getTestEnv);continue;case'5':this[_0x49c61e(0x11c)]=_0x4091c5;continue;}break;}}['start'](){const _0x44eacd=a4_0x1622b9;if(!this[_0x44eacd(0xe2)])return;testOpsHelper[_0x44eacd(0x134)](),process[_0x44eacd(0xeb)]('bs:addLog:'+process[_0x44eacd(0x87)]),process['on'](_0x44eacd(0x12c)+process[_0x44eacd(0x87)],this[_0x44eacd(0x163)][_0x44eacd(0xfb)](this));}async[a4_0x1622b9(0x114)](){const _0x3e1657=a4_0x1622b9;await RequestQueueHandler[_0x3e1657(0xf3)]()[_0x3e1657(0x166)]();}async[a4_0x1622b9(0x163)](_0x4edcf6){const _0x407c79=a4_0x1622b9,_0x202ba4={'RTRId':_0x407c79(0xad),'Gxapw':function(_0x4a2d6c,_0x2a02cd){return _0x4a2d6c(_0x2a02cd);}};try{this['currentHook']&&!this[_0x407c79(0xc3)][_0x407c79(0x13a)]&&(_0x4edcf6[_0x407c79(0xb0)]=this['currentHook'][_0x407c79(0x153)]);!_0x4edcf6['hook_run_uuid']&&this['currentTest']&&!this[_0x407c79(0xb3)][_0x407c79(0x13a)]&&(_0x4edcf6[_0x407c79(0x14e)]=this['currentTest'][_0x407c79(0xdc)]);if(_0x4edcf6[_0x407c79(0xb0)]||_0x4edcf6[_0x407c79(0x14e)]){const _0x2f8534={};_0x2f8534[_0x407c79(0x108)]=_0x202ba4['RTRId'],_0x2f8534[_0x407c79(0x82)]=[_0x4edcf6],await SessionHandler[_0x407c79(0xf5)](_0x2f8534);}}catch(_0x447dd6){_0x202ba4[_0x407c79(0x15e)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x407c79(0xcd)]+_0x407c79(0x115)+_0x447dd6);}}async['sendCBTInfo'](_0xba17c){const _0x3c2711=a4_0x1622b9,_0x1d217c={'ukltm':'CBTSessionCreated','RAzQo':function(_0x5095aa,_0x55704c){return _0x5095aa(_0x55704c);}};if(!this[_0x3c2711(0xe2)])return;const _0x23474e=this[_0x3c2711(0xde)](this[_0x3c2711(0x11c)]);try{const _0x2712cc={};_0x2712cc[_0x3c2711(0x14f)]=_0xba17c,_0x2712cc['integrations']=_0x23474e;const _0x311e25=_0x2712cc,_0x3e299a={};_0x3e299a[_0x3c2711(0x108)]=_0x1d217c[_0x3c2711(0xf4)],_0x3e299a[_0x3c2711(0xa2)]=_0x311e25,await SessionHandler[_0x3c2711(0xf5)](_0x3e299a);}catch(_0x37131f){_0x1d217c[_0x3c2711(0xc6)](debug,_0x3c2711(0xd7)+constants['TEST_REPORTING_ANALYTICS']+_0x3c2711(0x115)+_0x37131f);}}[a4_0x1622b9(0xde)](_0x20d458){const _0x100e61=a4_0x1622b9,_0x5b8624={'UBpXZ':function(_0x3b52a5,_0xc72afe){return _0x3b52a5(_0xc72afe);}};return _0x5b8624[_0x100e61(0x131)](fetchPlatformDetails,_0x20d458);}[a4_0x1622b9(0xf7)]=_0x392a8f=>{const _0x5e16a2=a4_0x1622b9,_0x549a8d={};_0x549a8d[_0x5e16a2(0xa6)]='_beforeEach',_0x549a8d['rtwph']='_afterEach';const _0x25c28c=_0x549a8d;if(!_0x392a8f||!_0x392a8f[_0x5e16a2(0x9e)])return;[_0x25c28c[_0x5e16a2(0xa6)],_0x25c28c[_0x5e16a2(0xcf)]][_0x5e16a2(0xd2)](_0x4d682f=>{const _0x197488=_0x5e16a2,_0xbb3895=_0x392a8f[_0x197488(0x9e)][_0x4d682f];_0xbb3895[_0x197488(0xd2)](_0x1640bf=>{const _0x5ecb0a=_0x197488;_0x1640bf[_0x5ecb0a(0x153)]&&(_0x1640bf['hookAnalyticsId']=null);});});};[a4_0x1622b9(0x92)](_0x4ddc82){const _0xdf6271=a4_0x1622b9,_0x4d5dfd={'nMqio':_0xdf6271(0x167),'zGidv':function(_0x517fa9){return _0x517fa9();},'qiEsi':function(_0x5ab703,_0x5a17b0){return _0x5ab703===_0x5a17b0;},'FkHKI':_0xdf6271(0x15b),'Rogwn':_0xdf6271(0xa1),'xnAOy':_0xdf6271(0xc1),'LbWdT':_0xdf6271(0x160)};if(!_0x4ddc82||!_0x4ddc82[_0xdf6271(0x9e)])return;[_0x4d5dfd[_0xdf6271(0xa0)],_0x4d5dfd[_0xdf6271(0x10e)],_0x4d5dfd[_0xdf6271(0x14b)],_0x4d5dfd[_0xdf6271(0x111)]]['forEach'](_0x3a2c31=>{const _0x9f66ad=_0xdf6271,_0x54ea36=_0x4ddc82['parent'][_0x3a2c31]||[];_0x54ea36[_0x9f66ad(0xd2)](_0x514daa=>{const _0x4f1927=_0x9f66ad;if(_0x514daa[_0x4f1927(0xd4)][_0x4f1927(0x83)](_0x4d5dfd[_0x4f1927(0x96)]))return;if(!_0x514daa['hookAnalyticsId'])_0x514daa[_0x4f1927(0x153)]=_0x4d5dfd['zGidv'](uuidv4);else _0x514daa['markedStatus']&&_0x4d5dfd[_0x4f1927(0x10b)](_0x3a2c31,_0x4d5dfd['FkHKI'])&&(_0x514daa[_0x4f1927(0x153)]=_0x4d5dfd[_0x4f1927(0x97)](uuidv4),delete _0x514daa['markedStatus']);});}),this['mapTestHooks'](_0x4ddc82[_0xdf6271(0x9e)]);}[a4_0x1622b9(0x8b)](_0x39fa31){const _0x1a8b96=a4_0x1622b9,_0x1bf5b8={};_0x1bf5b8[_0x1a8b96(0xe5)]=_0x1a8b96(0xa1),_0x1bf5b8[_0x1a8b96(0xa7)]=_0x1a8b96(0xc1),_0x1bf5b8[_0x1a8b96(0x109)]=_0x1a8b96(0x160),_0x1bf5b8[_0x1a8b96(0x81)]=_0x1a8b96(0x15b);const _0x4e283c=_0x1bf5b8;if(!_0x39fa31||!_0x39fa31[_0x1a8b96(0x9e)])return[];const _0xf2b13b=[];return[_0x4e283c[_0x1a8b96(0xe5)],_0x4e283c[_0x1a8b96(0xa7)],_0x4e283c[_0x1a8b96(0x109)],_0x4e283c[_0x1a8b96(0x81)]]['forEach'](_0x44ac5a=>{const _0x26d5bc=_0x1a8b96,_0x674425=_0x39fa31[_0x26d5bc(0x9e)][_0x44ac5a]||[];_0x674425[_0x26d5bc(0xd2)](_0x5e573d=>{const _0x538e85=_0x26d5bc;_0x5e573d[_0x538e85(0x153)]&&_0xf2b13b[_0x538e85(0x158)](_0x5e573d[_0x538e85(0x153)]);});}),[][_0x1a8b96(0x159)](_0xf2b13b,this['getHooksForTest'](_0x39fa31[_0x1a8b96(0x9e)]));}[a4_0x1622b9(0xd9)](_0x5e6ca7){const _0x354585=a4_0x1622b9,_0x309290=/^"(?<hook>.*)" hook:.*$/,_0x4d6319=_0x5e6ca7[_0x354585(0xd4)],_0x82c5ff=_0x4d6319['match'](_0x309290);if(_0x82c5ff&&_0x82c5ff[_0x354585(0xc8)])return _0x82c5ff['groups'][_0x354585(0x121)][_0x354585(0x136)]()[_0x354585(0x117)]('\x20','_');return null;}[a4_0x1622b9(0x7d)](_0x457e5b){const _0xa7e0e6=a4_0x1622b9,_0x4f1e53={};_0x4f1e53['JiTWY']=function(_0x4992b4,_0x50deb6){return _0x4992b4===_0x50deb6;},_0x4f1e53[_0xa7e0e6(0xa8)]=function(_0x38bf38,_0x2e0167){return _0x38bf38===_0x2e0167;},_0x4f1e53[_0xa7e0e6(0xc4)]=_0xa7e0e6(0x149),_0x4f1e53[_0xa7e0e6(0x94)]='config';const _0x2f723c=_0x4f1e53,_0x36f665=path[_0xa7e0e6(0x12a)];if(_0x2f723c['JiTWY'](_0x457e5b,null)||_0x2f723c[_0xa7e0e6(0xa8)](_0x457e5b,'')||_0x2f723c['JiTWY'](_0x457e5b,_0x36f665)||_0x2f723c['JiTWY'](_0x457e5b,path[_0xa7e0e6(0xd5)](_0x457e5b)))return null;try{return fs[_0xa7e0e6(0x100)](path[_0xa7e0e6(0x150)](_0x457e5b,_0x2f723c[_0xa7e0e6(0xc4)],_0x2f723c[_0xa7e0e6(0x94)])),_0x457e5b;}catch(_0x9b7e08){const _0x53d0d9=path[_0xa7e0e6(0xd5)](_0x457e5b);return this[_0xa7e0e6(0x7d)](_0x53d0d9);}}['getRootParentFile'](_0x30f7ac){const _0x1dd69b=a4_0x1622b9,_0x3fc018={};_0x3fc018['HSXDW']=function(_0x3604f8,_0x139785){return _0x3604f8>_0x139785;};const _0x2297ba=_0x3fc018;if(_0x30f7ac[_0x1dd69b(0x7f)])return _0x30f7ac[_0x1dd69b(0x7f)];if(_0x30f7ac['ctx']){const _0x5d411b=_0x30f7ac['ctx'][_0x1dd69b(0xb3)]?this['getRootParentFile'](_0x30f7ac['ctx']['currentTest']):null;if(_0x5d411b)return _0x5d411b;}if(_0x30f7ac[_0x1dd69b(0x9e)]){const _0xe3e906=this[_0x1dd69b(0x146)](_0x30f7ac[_0x1dd69b(0x9e)])||(_0x30f7ac['parent'][_0x1dd69b(0x11a)]&&_0x30f7ac[_0x1dd69b(0x9e)][_0x1dd69b(0x11a)][_0x1dd69b(0xb3)]?this['getRootParentFile'](_0x30f7ac[_0x1dd69b(0x9e)][_0x1dd69b(0x11a)][_0x1dd69b(0xb3)]):null);if(_0xe3e906)return _0xe3e906;_0x30f7ac[_0x1dd69b(0x9e)]['suites']&&_0x2297ba['HSXDW'](_0x30f7ac[_0x1dd69b(0x9e)][_0x1dd69b(0xb2)]['length'],0x0)&&_0x30f7ac['parent'][_0x1dd69b(0xb2)]['forEach'](_0x35a328=>{const _0x440c93=_0x1dd69b,_0x159fab=_0x35a328[_0x440c93(0x11a)]?this[_0x440c93(0x146)](_0x35a328['ctx']):null;if(_0x159fab)return _0x159fab;});}return null;}['getHierarchy'](_0xb9252e){const _0x29992e=a4_0x1622b9,_0x2be88a={};_0x2be88a[_0x29992e(0x151)]=function(_0x1bf94d,_0x43f84d){return _0x1bf94d!==_0x43f84d;};const _0x267e86=_0x2be88a,_0x239b06=[];if(_0xb9252e&&_0xb9252e[_0x29992e(0x9e)]){let _0x1f8142=_0xb9252e[_0x29992e(0x9e)];while(_0x1f8142&&_0x267e86[_0x29992e(0x151)](_0x1f8142[_0x29992e(0xd4)],'')){_0x239b06['push'](_0x1f8142[_0x29992e(0xd4)]),_0x1f8142=_0x1f8142[_0x29992e(0x9e)];}}return _0x239b06;}[a4_0x1622b9(0x101)](_0x42f3d7,_0x1c4846,_0x1b5039=undefined){const _0x3d7dd1=a4_0x1622b9,_0x269a9e={'uxGOo':function(_0x2b427f,_0x5bd64c){return _0x2b427f(_0x5bd64c);},'FVmZt':function(_0x54b099){return _0x54b099();},'BpNFc':function(_0x584201){return _0x584201();},'NDVgB':function(_0x22506a){return _0x22506a();},'GCqiv':_0x3d7dd1(0xdb),'GHWYy':_0x3d7dd1(0x140),'AZIwy':function(_0x20c48e,_0x2bdbfd){return _0x20c48e!==_0x2bdbfd;},'JVmZt':function(_0xd78496,_0x4b8852){return _0xd78496!==_0x4b8852;},'ZkqdO':'File\x20path\x20could\x20not\x20be\x20found','RvZzk':'pending','FqCMw':_0x3d7dd1(0x90),'eDqlq':'passed','VnHsr':_0x3d7dd1(0xee),'VQLDu':_0x3d7dd1(0x132),'pCskL':function(_0x2c15b8,_0x267135){return _0x2c15b8-_0x267135;},'eMGXR':function(_0x48788b,_0x2bc60c,_0x19e2e9,_0x1390a8,_0x5f3136){return _0x48788b(_0x2bc60c,_0x19e2e9,_0x1390a8,_0x5f3136);},'Ilrcq':function(_0x50353c,_0xd6767a){return _0x50353c!==_0xd6767a;},'IzwHb':_0x3d7dd1(0xbf),'vtEFs':_0x3d7dd1(0x13f),'wMjeE':_0x3d7dd1(0x7e),'MqpZg':_0x3d7dd1(0x125),'bSXwM':_0x3d7dd1(0xff),'VkEWY':_0x3d7dd1(0xa9),'JvwJI':'expanded','aqEmX':function(_0x59617d,_0x54b79a){return _0x59617d===_0x54b79a;},'vwTih':_0x3d7dd1(0xec),'QFxwQ':_0x3d7dd1(0xa2)};if(!this[_0x3d7dd1(0xe2)])return;try{if(_0x1c4846['fn']&&_0x1c4846['fn']['toString']()[_0x3d7dd1(0x89)](/browserstack internal helper hook/))return;const _0x30a316=_0x269a9e[_0x3d7dd1(0xa5)](parseEvent,_0x42f3d7);if(!_0x30a316)return;if(_0x30a316[_0x3d7dd1(0x155)]){this[_0x3d7dd1(0xb3)]=_0x1c4846,this['currentHook']=null;if(_0x30a316[_0x3d7dd1(0xf6)]||_0x30a316['skipped']){_0x1c4846[_0x3d7dd1(0xb6)]=new Date(),_0x1c4846[_0x3d7dd1(0x13a)]=![];if(!_0x1c4846[_0x3d7dd1(0xdc)])_0x1c4846['testAnalyticsId']=_0x269a9e[_0x3d7dd1(0x143)](uuidv4);else _0x1c4846[_0x3d7dd1(0x13a)]&&(!_0x1c4846['retryOf']&&(_0x1c4846[_0x3d7dd1(0x168)]=_0x1c4846['testAnalyticsId']),_0x1c4846[_0x3d7dd1(0xdc)]=_0x269a9e[_0x3d7dd1(0x8d)](uuidv4));}}else{if(_0x30a316[_0x3d7dd1(0x121)]){this['currentHook']=_0x1c4846;if(_0x30a316[_0x3d7dd1(0xf6)]){_0x1c4846[_0x3d7dd1(0xb6)]=new Date(),_0x1c4846[_0x3d7dd1(0x13a)]=![];if(!_0x1c4846['hookAnalyticsId'])_0x1c4846[_0x3d7dd1(0x153)]=_0x269a9e[_0x3d7dd1(0x126)](uuidv4);else _0x1c4846[_0x3d7dd1(0x153)]&&_0x1c4846['markedStatus']&&(_0x1c4846[_0x3d7dd1(0x153)]=_0x269a9e[_0x3d7dd1(0x8d)](uuidv4));}}}if(_0x30a316['finished']&&_0x1c4846[_0x3d7dd1(0x13a)])return;let _0x2ebb5b;try{_0x2ebb5b=this['getRootParentFile'](_0x1c4846);}catch(_0x4f6102){logger[_0x3d7dd1(0x15f)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4f6102),_0x2ebb5b=null;}const _0x2a2464=_0x269a9e[_0x3d7dd1(0xa5)](require,_0x269a9e['GCqiv']);let _0x3a5022=[];_0x1b5039&&(_0x3a5022=[_0x1b5039,_0x269a9e[_0x3d7dd1(0x8a)]]);const _0x130a1a=_0x269a9e['AZIwy'](_0x1c4846[_0x3d7dd1(0x10a)],undefined)?_0x2a2464['inspect'](_0x1c4846[_0x3d7dd1(0x10a)][0x0]):_0x269a9e[_0x3d7dd1(0xaf)](_0x1b5039,undefined)?_0x1b5039[_0x3d7dd1(0xba)]():undefined,_0x407605=_0x2ebb5b?this[_0x3d7dd1(0x7d)](_0x2ebb5b):null,_0x126f38=_0x2ebb5b?this[_0x3d7dd1(0x10d)][_0x3d7dd1(0x98)](this[_0x3d7dd1(0x146)](_0x1c4846)):_0x269a9e[_0x3d7dd1(0x9b)];let _0x120f95=_0x269a9e['RvZzk'];const _0x3cfabb=!_0x30a316[_0x3d7dd1(0xf6)]?new Date()['toISOString']():null;if(_0x30a316['finished'])_0x120f95=_0x1b5039?_0x269a9e[_0x3d7dd1(0xfe)]:_0x269a9e[_0x3d7dd1(0x156)],_0x1c4846[_0x3d7dd1(0x13a)]=!![];else _0x30a316[_0x3d7dd1(0xee)]&&(_0x120f95=_0x269a9e[_0x3d7dd1(0x105)],_0x1c4846[_0x3d7dd1(0x13a)]=!![]);const _0x317192={'framework':this['frameworkName'],'uuid':_0x1c4846[_0x3d7dd1(0xdc)]||_0x1c4846[_0x3d7dd1(0x153)],'name':_0x1c4846[_0x3d7dd1(0xd4)],'body':{'lang':_0x269a9e[_0x3d7dd1(0xbd)],'code':_0x1c4846[_0x3d7dd1(0x12b)][_0x3d7dd1(0xba)]()},'type':_0x1c4846[_0x3d7dd1(0xc7)],'scope':_0x1c4846[_0x3d7dd1(0x144)](),'scopes':this[_0x3d7dd1(0x78)](_0x1c4846),'file_name':_0x126f38,'vc_filepath':_0x407605?path['relative'](_0x407605,_0x2ebb5b):null,'location':_0x126f38,'result':_0x120f95,'failure_reason':_0x130a1a,'duration_in_ms':_0x1c4846[_0x3d7dd1(0xf9)]||(_0x30a316[_0x3d7dd1(0xdd)]||_0x30a316[_0x3d7dd1(0xee)])?_0x269a9e[_0x3d7dd1(0xed)](Date[_0x3d7dd1(0xe9)](),new Date(_0x1c4846[_0x3d7dd1(0xb6)])[_0x3d7dd1(0xb4)]()):null,'started_at':new Date(_0x1c4846[_0x3d7dd1(0xb6)])[_0x3d7dd1(0x152)](),'finished_at':_0x3cfabb,'failure':testOpsHelper[_0x3d7dd1(0x9c)][_0x3d7dd1(0xd3)](null,_0x3a5022),'failure_type':!_0x130a1a?null:testOpsHelper['getFailureType'](_0x130a1a),'retry_of':_0x1c4846['retryOf']||null,'tags':_0x1c4846['tags']||[],'customRerunParam':{'rerun_name':_0x1c4846[_0x3d7dd1(0x144)]()}};_0x269a9e[_0x3d7dd1(0xf2)](appendTesthubParams,_0x317192,_0x42f3d7,_0x1c4846,FRAMEWORKS[_0x3d7dd1(0x169)]);if(_0x30a316[_0x3d7dd1(0x121)])[_0x317192[_0x3d7dd1(0x85)],_0x317192['name']]=[this[_0x3d7dd1(0xd9)](_0x1c4846),_0x1c4846[_0x3d7dd1(0x11a)][_0x3d7dd1(0x155)][_0x3d7dd1(0xd4)]],_0x30a316[_0x3d7dd1(0xdd)]?_0x269a9e['Ilrcq'](_0x317192[_0x3d7dd1(0x137)],_0x269a9e[_0x3d7dd1(0xfe)])&&(_0x317192['result']=_0x269a9e['eDqlq']):_0x317192['body']={};else _0x30a316[_0x3d7dd1(0x155)]&&(this[_0x3d7dd1(0x92)](_0x1c4846),_0x30a316[_0x3d7dd1(0xee)]&&this[_0x3d7dd1(0xf7)](_0x1c4846),(_0x30a316['finished']||_0x30a316[_0x3d7dd1(0xee)])&&(_0x317192[_0x3d7dd1(0x15d)]=this[_0x3d7dd1(0x8b)](_0x1c4846)));this[_0x3d7dd1(0x11c)]&&(_0x30a316[_0x3d7dd1(0xf6)]||_0x30a316['skipped'])&&(_0x317192[_0x269a9e[_0x3d7dd1(0x107)]]=this[_0x3d7dd1(0xde)](this[_0x3d7dd1(0x11c)]));_0x30a316[_0x3d7dd1(0x155)]&&_0x30a316[_0x3d7dd1(0xdd)]&&_0x1c4846[_0x3d7dd1(0x91)]&&(_0x317192[_0x269a9e['vtEFs']]={'feature':{'name':_0x1c4846[_0x3d7dd1(0x9e)][_0x3d7dd1(0xdf)][_0x3d7dd1(0x9d)],'path':_0x317192[_0x3d7dd1(0x119)],'description':_0x1c4846[_0x3d7dd1(0x9e)]['comment']},'scenario':{'name':_0x1c4846[_0x3d7dd1(0xd4)]},'steps':_0x1c4846[_0x3d7dd1(0x91)]});const _0xf47005=_0x317192[_0x269a9e[_0x3d7dd1(0xe6)]][0x0];_0xf47005&&(_0x317192[_0x269a9e['MqpZg']]=_0xf47005[_0x269a9e[_0x3d7dd1(0x122)]],_0x317192[_0x269a9e[_0x3d7dd1(0x147)]]=_0xf47005[_0x269a9e[_0x3d7dd1(0x124)]]);if(_0x1c4846[_0x3d7dd1(0x91)])for(const _0x1d8d6a of _0x1c4846[_0x3d7dd1(0x91)]){!_0x1d8d6a['finished_at']&&(_0x1d8d6a['finished_at']=new Date()[_0x3d7dd1(0x152)](),_0x269a9e[_0x3d7dd1(0x14c)](_0x1d8d6a[_0x3d7dd1(0x137)],_0x269a9e[_0x3d7dd1(0x11e)])&&(_0xf47005?(_0x1d8d6a[_0x3d7dd1(0x137)]=_0x269a9e[_0x3d7dd1(0xfe)],_0x1d8d6a[_0x3d7dd1(0x7e)]=_0xf47005[_0x269a9e['bSXwM']][0x0]):_0x1d8d6a[_0x3d7dd1(0x137)]=_0x269a9e[_0x3d7dd1(0x156)]));}const _0x316b05={};_0x316b05[_0x3d7dd1(0x108)]=_0x30a316['skipped']?TEST_EVENTS[_0x3d7dd1(0x102)]:_0x42f3d7;const _0x50ca6c=_0x316b05;return _0x30a316[_0x3d7dd1(0x121)]?_0x50ca6c[_0x269a9e[_0x3d7dd1(0x95)]]=_0x317192:_0x50ca6c[_0x269a9e['QFxwQ']]=_0x317192,_0x50ca6c;}catch(_0x1ae490){logger[_0x3d7dd1(0x15f)](_0x3d7dd1(0x10c)+_0x42f3d7+_0x3d7dd1(0x115)+_0x1ae490);}}async['fireEvent'](_0x4e9352,_0x1cdd13){const _0x4e1607=a4_0x1622b9;if(!this[_0x4e1607(0xe2)]||!_0x1cdd13||!_0x4e9352)return![];try{return await SessionHandler[_0x4e1607(0xf5)](_0x1cdd13);}catch(_0x3d0752){logger[_0x4e1607(0x15f)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4e9352+_0x4e1607(0x115)+_0x3d0752);}}['initializeBddStep'](_0x18b16b){const _0x4d5c2a=a4_0x1622b9,_0x16d272={};_0x16d272[_0x4d5c2a(0x142)]=_0x4d5c2a(0x128);const _0x223a13=_0x16d272;return{'id':_0x18b16b[_0x4d5c2a(0x11d)],'text':_0x18b16b['text'],'keyword':_0x18b16b[_0x4d5c2a(0x165)],'started_at':_0x18b16b[_0x4d5c2a(0xb6)][_0x4d5c2a(0x152)](),'result':_0x223a13[_0x4d5c2a(0x142)]};}[a4_0x1622b9(0xea)](_0x294a17){const _0x5b5166=a4_0x1622b9,_0x5de298={'ZMmmP':function(_0x1d5bd2){return _0x1d5bd2();}};!this['currentTest'][_0x5b5166(0x91)]&&(this[_0x5b5166(0xb3)]['bddSteps']=[]),!_0x294a17[_0x5b5166(0x11d)]&&(_0x294a17['stepAnalyticsId']=_0x5de298[_0x5b5166(0x88)](uuidv4),_0x294a17['startedAt']=new Date(),this[_0x5b5166(0xb3)]['bddSteps']['push'](this[_0x5b5166(0xe0)](_0x294a17)));}[a4_0x1622b9(0x8c)](_0x3bfda9){const _0x1db53e=a4_0x1622b9,_0x845de3={'QjgdP':function(_0x7cff59,_0x48446b){return _0x7cff59(_0x48446b);},'zVNBr':_0x1db53e(0xd8),'KabdM':_0x1db53e(0x128),'uhZeY':'passed','KHQzV':function(_0x5766ea,_0x39e464){return _0x5766ea-_0x39e464;}};let _0x507d12=this['currentTest'][_0x1db53e(0x91)][_0x1db53e(0x103)](_0x4fe16f=>_0x4fe16f['id']===_0x3bfda9[_0x1db53e(0x11d)]);_0x845de3[_0x1db53e(0x157)](isUndefined,_0x507d12)&&(_0x507d12=this[_0x1db53e(0xe0)](_0x3bfda9)),_0x507d12[_0x1db53e(0x137)]=[_0x845de3[_0x1db53e(0x12e)],_0x845de3[_0x1db53e(0xb7)]][_0x1db53e(0x83)](_0x3bfda9['status'])?_0x845de3['uhZeY']:_0x3bfda9[_0x1db53e(0xfc)],_0x507d12[_0x1db53e(0x154)]=new Date()['toISOString'](),_0x507d12[_0x1db53e(0xf9)]=_0x845de3[_0x1db53e(0x15c)](Date[_0x1db53e(0xe9)](),_0x3bfda9[_0x1db53e(0xb6)][_0x1db53e(0xb4)]()),_0x507d12[_0x1db53e(0x7e)]=_0x3bfda9[_0x1db53e(0x140)]?_0x3bfda9[_0x1db53e(0x140)][_0x1db53e(0x123)]:null;}}const a4_0x3789b8={};a4_0x3789b8['O11yHelper']=O11yHelper,a4_0x3789b8['STATE_PASSED']=STATE_PASSED,a4_0x3789b8[a4_0x1622b9(0x9a)]=STATE_FAILED,a4_0x3789b8['TEST_EVENTS']=TEST_EVENTS,module[a4_0x1622b9(0x99)]=a4_0x3789b8;
|