browserstack-node-sdk 1.56.3 → 1.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +5 -4
- 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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/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/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x43ea6e=a1_0x4c1c;(function(_0x335c38,_0x5e2e13){const _0x25b526=a1_0x4c1c,_0x515e1d=_0x335c38();while(!![]){try{const _0x18ea2a=parseInt(_0x25b526(0x1b6))/0x1+parseInt(_0x25b526(0x1ea))/0x2*(-parseInt(_0x25b526(0x268))/0x3)+parseInt(_0x25b526(0x2b5))/0x4*(parseInt(_0x25b526(0x1f0))/0x5)+-parseInt(_0x25b526(0x25c))/0x6+parseInt(_0x25b526(0x21d))/0x7+parseInt(_0x25b526(0x273))/0x8+parseInt(_0x25b526(0x1dc))/0x9*(-parseInt(_0x25b526(0x251))/0xa);if(_0x18ea2a===_0x5e2e13)break;else _0x515e1d['push'](_0x515e1d['shift']());}catch(_0x44a9f3){_0x515e1d['push'](_0x515e1d['shift']());}}}(a1_0x58af,0xd1c60));function a1_0x4c1c(_0x2914c2,_0x1c3eed){const _0x58af04=a1_0x58af();return a1_0x4c1c=function(_0x4c1c0d,_0x567dab){_0x4c1c0d=_0x4c1c0d-0x1af;let _0x5f5b2f=_0x58af04[_0x4c1c0d];return _0x5f5b2f;},a1_0x4c1c(_0x2914c2,_0x1c3eed);}const fs=require('fs'),util=require(a1_0x43ea6e(0x222)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x43ea6e(0x235))[a1_0x43ea6e(0x1ba)],testOpsHelper=require(a1_0x43ea6e(0x218)),requestSpy=require(a1_0x43ea6e(0x294)),PlaywrightSessionDetails=require(a1_0x43ea6e(0x211)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x43ea6e(0x1c8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x43ea6e(0x2a9)),AccessibilityHelper=require(a1_0x43ea6e(0x258)),scripts=require(a1_0x43ea6e(0x201)),PerformanceTester=require(a1_0x43ea6e(0x1b9)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x43ea6e(0x1c0)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x43ea6e(0x2bf),a1_0x43ea6e(0x265)),CodeceptWebDriver=requireModule(a1_0x43ea6e(0x2b3),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x43ea6e(0x2af),'codeceptjs'),CodeceptPlaywright=requireModule(a1_0x43ea6e(0x230),'codeceptjs');try{require(a1_0x43ea6e(0x2be))['installAll'](a1_0x43ea6e(0x265));}catch(a1_0x34dc21){logger[a1_0x43ea6e(0x26d)](a1_0x43ea6e(0x280)+(a1_0x34dc21&&a1_0x34dc21['message']));}const playwrightMarkSessionStatus=(_0x292e3d,_0x565529,_0x422b43)=>{const _0x5a6258=a1_0x43ea6e,_0x4c4243={'JIjsF':_0x5a6258(0x1d5),'KtSMb':function(_0x33d048,_0x24256c){return _0x33d048(_0x24256c);}},_0x321892={};_0x321892[_0x5a6258(0x1bb)]=_0x565529;const _0x187d18={};_0x187d18[_0x5a6258(0x295)]=_0x4c4243['JIjsF'],_0x187d18[_0x5a6258(0x2ba)]=_0x321892;const _0x3319b4=_0x187d18;return!_0x4c4243[_0x5a6258(0x289)](isUndefined,_0x422b43)&&(_0x3319b4[_0x5a6258(0x2ba)][_0x5a6258(0x224)]=JSON[_0x5a6258(0x269)](_0x422b43)),_0x292e3d['executeScript'](()=>{},_0x5a6258(0x272)+JSON[_0x5a6258(0x269)](_0x3319b4));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x43ea6e(0x252)],async _0x2ad5be=>{const _0x5b34cc=a1_0x43ea6e,_0xe95a16={};_0xe95a16[_0x5b34cc(0x29b)]=function(_0x4ea6ca,_0x558ad1){return _0x4ea6ca===_0x558ad1;},_0xe95a16['tfZYv']=_0x5b34cc(0x1f6);const _0x4141ce=_0xe95a16;_0x4141ce[_0x5b34cc(0x29b)](_0x2ad5be[_0x5b34cc(0x253)][_0x5b34cc(0x1cf)],_0x4141ce[_0x5b34cc(0x1de)])?await _0x2ad5be[_0x5b34cc(0x209)](_0x502ef2=>{},testOpsHelper[_0x5b34cc(0x26f)]()):await _0x2ad5be[_0x5b34cc(0x209)](testOpsHelper[_0x5b34cc(0x26f)]());}),markSessionName=PerformanceTester[a1_0x43ea6e(0x286)](PerformanceAutEvents[a1_0x43ea6e(0x1ee)],async(_0x93ce6b,_0xe33da1)=>{const _0x865124=a1_0x43ea6e,_0x201e5c={};_0x201e5c[_0x865124(0x1cb)]=_0x865124(0x220),_0x201e5c['TWdku']=function(_0x349deb,_0x3aa7f7){return _0x349deb===_0x3aa7f7;},_0x201e5c[_0x865124(0x264)]=_0x865124(0x1f6);const _0x486e29=_0x201e5c,_0x2969c9={};_0x2969c9[_0x865124(0x1cf)]=_0xe33da1;const _0xae5d89={};_0xae5d89[_0x865124(0x295)]=_0x486e29[_0x865124(0x1cb)],_0xae5d89[_0x865124(0x2ba)]=_0x2969c9;const _0x594793=_0xae5d89;_0x486e29[_0x865124(0x284)](_0x93ce6b[_0x865124(0x253)][_0x865124(0x1cf)],_0x486e29[_0x865124(0x264)])?await _0x93ce6b[_0x865124(0x209)](()=>{},_0x865124(0x272)+JSON['stringify'](_0x594793)):await _0x93ce6b['executeScript']('browserstack_executor:\x20'+JSON[_0x865124(0x269)](_0x594793));}),patchSaveScreenshot=_0x1bace6=>{const _0x159038=a1_0x43ea6e,_0xfcdaf0={'RWYsz':_0x159038(0x24e),'HJAUK':_0x159038(0x1b4),'BvPrn':function(_0x3242fb){return _0x3242fb();},'HmEVt':function(_0x37bfcf,_0x37dcf1){return _0x37bfcf(_0x37dcf1);},'hCxMK':'Screenshot\x20path\x20not\x20found','kKeiR':function(_0x52e246,_0x227c3d){return _0x52e246(_0x227c3d);}};_0xfcdaf0[_0x159038(0x239)](isTrue,process[_0x159038(0x298)][_0x159038(0x1d7)])&&!_0x1bace6['patchSaveScreenshot']&&(_0x1bace6[_0x159038(0x231)]=!![],_0x1bace6['initSaveScreenshot']=_0x1bace6[_0x159038(0x219)],_0x1bace6[_0x159038(0x219)]=(_0x3e9dbd,_0x51973d=![])=>{const _0x180180=_0x159038,_0x86418b={'vhqcQ':_0xfcdaf0[_0x180180(0x2c0)],'gKiTz':_0xfcdaf0[_0x180180(0x1f7)],'emsCh':function(_0x3e6181){const _0x1e2eec=_0x180180;return _0xfcdaf0[_0x1e2eec(0x275)](_0x3e6181);},'BWJaV':function(_0x5349cf,_0x190cb5){const _0x487b0c=_0x180180;return _0xfcdaf0[_0x487b0c(0x20d)](_0x5349cf,_0x190cb5);},'ubwYH':_0xfcdaf0[_0x180180(0x2b9)]};return new Promise(function(_0xc08d1e,_0x280a53){const _0x5dcc32=_0x180180;_0x1bace6[_0x5dcc32(0x27b)](_0x3e9dbd,_0x51973d)[_0x5dcc32(0x1dd)](()=>{const _0x50d7e1=_0x5dcc32,_0x4303ad=CodeceptUtils[_0x50d7e1(0x2bb)](_0x3e9dbd);if(_0x4303ad){const _0x24ad75=fs[_0x50d7e1(0x281)](_0x4303ad);process[_0x50d7e1(0x1f1)]('bs:addLog:'+process[_0x50d7e1(0x271)],{'timestamp':new Date()['toISOString'](),'message':_0x24ad75['toString'](_0x86418b[_0x50d7e1(0x274)]),'kind':_0x86418b['gKiTz']}),_0x86418b['emsCh'](_0xc08d1e);}_0x86418b[_0x50d7e1(0x1b8)](_0x280a53,new Error(_0x86418b['ubwYH']));})[_0x5dcc32(0x26b)](()=>null);});});},patchWebDriverBefore=(_0x43905f,_0x2323b3)=>{const _0x553ad5=a1_0x43ea6e,_0x5372f1={'yJyJG':function(_0x2ad4fb){return _0x2ad4fb();},'TBLUK':function(_0x348d4d,_0x30857f){return _0x348d4d(_0x30857f);},'sBHhP':function(_0x993a58,_0x39237c){return _0x993a58===_0x39237c;},'VeLyf':_0x553ad5(0x29a),'WpxNU':function(_0x3b262b,_0x18a72a){return _0x3b262b===_0x18a72a;},'qZjsu':_0x553ad5(0x270),'UykPc':function(_0x184ab7,_0x2cfb67){return _0x184ab7===_0x2cfb67;},'onclt':'Element','ainoN':function(_0x5e34bf,_0x59a4da){return _0x5e34bf===_0x59a4da;},'FTSnQ':'function'},_0x16810c=async function(_0x444382,_0x70135b){const _0x15df6c=_0x553ad5;_0x5372f1[_0x15df6c(0x2c5)](isAccessibilityAutomationSession)&&!global[_0x15df6c(0x256)]&&global[_0x15df6c(0x1c7)]&&scripts[_0x15df6c(0x221)](_0x444382['name'])&&_0x5372f1['TBLUK'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x15df6c(0x286)](PerformanceA11yEvents[_0x15df6c(0x1ef)],async()=>{const _0x195fc3=_0x15df6c;logger['debug']('Performing\x20scan\x20for\x20'+_0x444382[_0x195fc3(0x299)]+'\x20'+_0x444382[_0x195fc3(0x1cf)]),await AccessibilityHelper[_0x195fc3(0x21a)](_0x43905f,scripts[_0x195fc3(0x1af)]);},{'command':_0x444382[_0x15df6c(0x1cf)]})());global[_0x15df6c(0x256)]=![];const _0x2f6a8f=JSON[_0x15df6c(0x292)](process[_0x15df6c(0x298)]['FRAMEWORK_DETAILS']||'{}');if(_0x5372f1[_0x15df6c(0x27d)](_0x2f6a8f?.[_0x15df6c(0x1cd)]?.[_0x15df6c(0x1cf)],_0x5372f1[_0x15df6c(0x1ed)])&&_0x5372f1[_0x15df6c(0x276)](typeof _0x2f6a8f?.['testFramework']?.[_0x15df6c(0x285)],_0x5372f1['qZjsu'])&&_0x2f6a8f?.[_0x15df6c(0x1cd)]?.[_0x15df6c(0x285)][_0x15df6c(0x2a2)]('7'))return _0x70135b[_0x15df6c(0x207)](null,Array['prototype'][_0x15df6c(0x213)][_0x15df6c(0x225)](arguments,0x2));return _0x70135b[_0x15df6c(0x207)](this,Array[_0x15df6c(0x2a1)][_0x15df6c(0x213)][_0x15df6c(0x225)](arguments,0x2));},_0x4905f8=CodeceptWebDriver[_0x553ad5(0x2a1)]['_before'];CodeceptWebDriver[_0x553ad5(0x2a1)][_0x553ad5(0x27a)]=async function(){const _0x6734b9=_0x553ad5;try{await _0x4905f8['apply'](this,arguments);}catch(_0x369949){logger[_0x6734b9(0x26d)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x6734b9(0x2c6)](_0x369949));}scripts[_0x6734b9(0x29c)][_0x6734b9(0x1c2)](_0x3dcf84=>_0x3dcf84['name']&&_0x3dcf84[_0x6734b9(0x299)])['forEach'](_0x372317=>{const _0x50a529=_0x6734b9;this[_0x50a529(0x22f)][_0x50a529(0x259)](_0x372317[_0x50a529(0x1cf)],_0x16810c['bind'](this,_0x372317),_0x5372f1[_0x50a529(0x1fd)](_0x372317[_0x50a529(0x299)],_0x5372f1[_0x50a529(0x226)]));}),_0x5372f1[_0x6734b9(0x1ca)](processWebDriverConfig,_0x43905f);try{_0x2323b3&&_0x5372f1[_0x6734b9(0x2b4)](typeof _0x2323b3[_0x6734b9(0x254)],_0x5372f1[_0x6734b9(0x22d)])&&await _0x2323b3[_0x6734b9(0x254)]();}catch(_0x5b409c){logger['debug'](_0x6734b9(0x2b1)+util[_0x6734b9(0x2c6)](_0x5b409c));}};};function a1_0x58af(){const _0x1505f7=['testFramework','test','name','setGlobal','startMonitoring','SDK_POST_INITIALIZE','function','hmUKc','setSessionStatus','PdYhT','BS_TESTOPS_ALLOW_SCREENSHOTS','rbutt','before','jKSYq','hook-failed','908073jCGoPK','then','tfZYv','config','thJwtToken','fFDud','captureError','container','after','currentTest','Puppeteer','ClIYx','hasLiveDriverSession','klikW','2BrHjgY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','GpdIA','VeLyf','SESSION_NAME','PERFORM_SCAN','3681555oMVCqT','emit','step','bddStep-after','wKDbJ','yQqzI','Playwright','HJAUK','hookType','all','__skipSessionStatus','helpers','KJHgT','UykPc','stopMonitoring','test-failed','leSvC','../../helpers/accessibility-automation/scripts','vsGcl','exports','getAccessibilityResults','push','bufferPendingHookEvent','apply','weldX','executeScript','pQnsc','VDyKA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','HmEVt','test-skipped','GikwP','hook-started','../../bin/playwright/sessionDetails','warn','slice','title','TEST_RUN_SKIPPED','stack','vbrHn','../../helpers/test-observability/utils','saveScreenshot','browserStackExecuteDriver','hook-passed','SDK_POST_TEST','11442816lqGnOT','message','SDK_PRE_INITIALIZE','setSessionName','shouldWrapCommand','util','ENV_VAR','reason','call','onclt','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','end','APdHg','dispatcher','SDK_TEST','isMobilePlatform','FTSnQ','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','browser','codeceptjs/lib/helper/Playwright.js','patchSaveScreenshot','UmxWL','getGlobal','BS_A11Y_JWT','../../helpers/logger','addRequestSpy','titlePath','BROWSERSTACK_TESTHUB_JWT','kKeiR','captureEvent','polBa','isArray','GET_RESULTS','test-started','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','YalGY','getResultsSummary','from','WTQBu','hook','skipped','AGFDR','page','command','TEST_RUN_STARTED','Suite','LSbWs','fuFMB','base64','includes','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','190jvnGYM','SYNC','constructor','flushPendingHookEvents','event','bstackAllyScanning','test-after','../../bin/playwright/accessibility-helper','overwriteCommand','ZZjWg','YLHtJ','124812avqIEe','failed','CUsrx','tfAOK','saveTestResults','prRgg','QkTWG','HOOK_RUN_STARTED','DeRIm','codeceptjs','lkWcv','bddStepStart','1154997dbkPqP','stringify','started','catch','test-before','debug','TEST_RUN_FINISHED','getSyncScript','string','pid','browserstack_executor:\x20','28096EFVTol','vhqcQ','BvPrn','WpxNU','wHwku','jAXPm','SAVE_RESULTS','_before','initSaveScreenshot','GkWcR','sBHhP','test-passed','psPTO','driver-init\x20capture\x20install\x20failed:\x20','readFileSync','vpNEA','KieKe','TWdku','version','measureWrapper','SyPnN','--auto-open-devtools-for-tabs','KtSMb','gxqme','sefZO','OmkSR','is_mobile_session','EePzn','xOPmj','devtools://','SDK_HOOK','parse','passed','../../helpers/request-spy','action','bind','pages','env','class','webdriverio','HVPSJ','commandsToWrap','testAnalyticsId','bYQNL','start','LHSeN','prototype','startsWith','vmvjQ','thTestRunUuid','add','aCnfW','VsaYS','skipSessionStatus','../../helpers/accessibility-automation/helper','url','jxXqv','\x0aStack:\x20','browserContext','comment','codeceptjs/lib/recorder.js','afterTest','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','GET_RESULTS_SUMMARY','codeceptjs/lib/helper/WebDriver.js','ainoN','4QZUmkA','a11y_core_config','skipSessionName','args','hCxMK','arguments','screenshotOutputFolder','XNiwJ','__workerDetails','../../helpers/driverInitErrorReporter','codeceptjs/lib/utils.js','RWYsz','BROWSERSTACK_TESTHUB_UUID','chromium','ctx','bddStep','yJyJG','format','performScan','BmRzB','patch','fireEvent','btuiU','TEST_SCREENSHOT','INFO','807565xBSKlN','kdFTu','BWJaV','../../helpers/performance/performance-tester','winstonLogger','status','kSjDw','SDK_PRE_TEST','HOOK_RUN_FINISHED','find','./helper.js','getAccessibilityResultsSummary','filter','blbGd','restore','jwWuF','poCYy','accessibilityPlatform','./o11yHelper','bddStepFinish','TBLUK','GsAQg','getResults'];a1_0x58af=function(){return _0x1505f7;};return a1_0x58af();}function parseJwt(_0x12aa84){const _0x2ca03b=a1_0x43ea6e,_0x8ac1ca={};_0x8ac1ca[_0x2ca03b(0x2a0)]=_0x2ca03b(0x24e);const _0x123cf9=_0x8ac1ca;if(!_0x12aa84)return null;return JSON[_0x2ca03b(0x292)](Buffer[_0x2ca03b(0x243)](_0x12aa84['split']('.')[0x1],_0x123cf9[_0x2ca03b(0x2a0)])['toString']());}const patchPlaywrightBefore=_0x44ef0b=>{const _0x49af3d=a1_0x43ea6e,_0x3a4d94={'fuFMB':function(_0x96fe99){return _0x96fe99();},'uertq':_0x49af3d(0x290),'psPTO':_0x49af3d(0x288),'PdYhT':function(_0x5d2035,_0x18c36c){return _0x5d2035(_0x18c36c);},'qaFAi':function(_0x99538a,_0xf7b3d8){return _0x99538a+_0xf7b3d8;},'ClIYx':_0x49af3d(0x2ac),'ukCur':function(_0x594b28){return _0x594b28();},'XtqpL':function(_0x4a62d5,_0x82d461){return _0x4a62d5===_0x82d461;},'UmxWL':_0x49af3d(0x1d3)};PlaywrightSessionDetails[_0x49af3d(0x1b1)]();const _0x1b39f7=CodeceptPlaywright[_0x49af3d(0x2a1)][_0x49af3d(0x27a)];CodeceptPlaywright[_0x49af3d(0x2a1)][_0x49af3d(0x27a)]=async function(){const _0x15c939=_0x49af3d,_0x1376a2={'vbrHn':function(_0x36ab7a){const _0x509700=a1_0x4c1c;return _0x3a4d94[_0x509700(0x24d)](_0x36ab7a);},'btuiU':_0x3a4d94['uertq'],'weldX':_0x3a4d94[_0x15c939(0x27f)],'rbutt':function(_0x24944c,_0x16644e){const _0x4f7d00=_0x15c939;return _0x3a4d94[_0x4f7d00(0x1d6)](_0x24944c,_0x16644e);},'XuhPE':function(_0x4b6028,_0x1f0a7d){return _0x3a4d94['qaFAi'](_0x4b6028,_0x1f0a7d);},'GPFyz':_0x3a4d94[_0x15c939(0x1e7)]};this[_0x15c939(0x2ad)]=await this['browser']['contexts']()[0x0];const _0x50b6c3=async()=>{const _0xea6c35=_0x15c939,_0x9a7def={'LSbWs':function(_0x49d15f){const _0x334153=a1_0x4c1c;return _0x1376a2[_0x334153(0x217)](_0x49d15f);},'CUsrx':_0x1376a2[_0xea6c35(0x1b3)]},_0x24f4f0=this[_0xea6c35(0x1df)]&&this[_0xea6c35(0x1df)][_0xea6c35(0x2c2)]&&this[_0xea6c35(0x1df)][_0xea6c35(0x2c2)]['args']&&Array[_0xea6c35(0x23c)](this[_0xea6c35(0x1df)][_0xea6c35(0x2c2)][_0xea6c35(0x2b8)])&&this['config'][_0xea6c35(0x2c2)]['args'][_0xea6c35(0x24f)](_0x1376a2[_0xea6c35(0x208)]);if(_0x1376a2['vbrHn'](isAccessibilityAutomationSession)&&!_0x24f4f0)try{const _0x4686b2=_0x1376a2[_0xea6c35(0x1d8)](parseJwt,process['env'][_0xea6c35(0x234)]);if(_0x4686b2&&_0x4686b2['a11y_core_config']&&_0x4686b2[_0xea6c35(0x2b6)]['domForge']){const _0x3e7636=this[_0xea6c35(0x2ad)]['pages'][_0xea6c35(0x296)](this[_0xea6c35(0x2ad)]);this[_0xea6c35(0x2ad)][_0xea6c35(0x297)]=async function(){const _0x4b788f=_0xea6c35,_0x39c63f=await _0x9a7def[_0x4b788f(0x24c)](_0x3e7636),_0x444d8f=[];for(const _0x19ea89 of _0x39c63f){try{const _0x4ed2a5=await _0x19ea89[_0x4b788f(0x2aa)]();!_0x4ed2a5[_0x4b788f(0x2a2)](_0x9a7def[_0x4b788f(0x25e)])&&_0x444d8f[_0x4b788f(0x205)](_0x19ea89);}catch(_0x7a19c7){_0x444d8f[_0x4b788f(0x205)](_0x19ea89);}}return _0x444d8f;};}if(!_0x1376a2[_0xea6c35(0x217)](isBrowserstackInfra)){const _0x53e096=await this[_0xea6c35(0x248)][_0xea6c35(0x2aa)]();if(_0x53e096[_0xea6c35(0x2a2)](_0x1376a2['btuiU'])){const _0x5e79cf=await this[_0xea6c35(0x2ad)]['pages']();this['_setPage'](_0x5e79cf[0x0]);}}}catch(_0x2a64c5){logger[_0xea6c35(0x26d)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x2a64c5[_0xea6c35(0x21e)]+(_0x2a64c5[_0xea6c35(0x216)]?_0x1376a2['XuhPE'](_0x1376a2['GPFyz'],_0x2a64c5[_0xea6c35(0x216)]):''));}};_0x3a4d94[_0x15c939(0x24d)](isBrowserstackInfra)&&await _0x3a4d94[_0x15c939(0x24d)](_0x50b6c3);await _0x1b39f7['apply'](this,arguments);!_0x3a4d94['ukCur'](isBrowserstackInfra)&&await _0x3a4d94['ukCur'](_0x50b6c3);try{_0x44ef0b&&_0x3a4d94['XtqpL'](typeof _0x44ef0b[_0x15c939(0x254)],_0x3a4d94[_0x15c939(0x232)])&&await _0x44ef0b[_0x15c939(0x254)]();}catch(_0x3bee3a){logger[_0x15c939(0x26d)](_0x15c939(0x22e)+util[_0x15c939(0x2c6)](_0x3bee3a));}};},getCodeceptDriver=()=>{const _0x31e247=a1_0x43ea6e,_0x56544c={};_0x56544c[_0x31e247(0x25f)]='WebDriver',_0x56544c['klikW']=_0x31e247(0x1f6),_0x56544c[_0x31e247(0x1c6)]=_0x31e247(0x1e6),_0x56544c[_0x31e247(0x20a)]='TestCafe';const _0x2fef35=_0x56544c,_0x5d173b=[_0x2fef35[_0x31e247(0x25f)],_0x2fef35[_0x31e247(0x1e9)],_0x2fef35[_0x31e247(0x1c6)],_0x2fef35['pQnsc']],_0x3b12b8=_0x5d173b[_0x31e247(0x1bf)](_0x10c809=>!!CodeceptJS[_0x31e247(0x1e3)][_0x31e247(0x1fb)](_0x10c809));if(!_0x3b12b8)return null;return CodeceptJS[_0x31e247(0x1e3)][_0x31e247(0x1fb)](_0x3b12b8);};module[a1_0x43ea6e(0x203)]=function(_0x1f3cf1){const _0x1c410f=a1_0x43ea6e,_0x5653d8={'kSjDw':function(_0x12a4a7,_0x4ee0e3){return _0x12a4a7(_0x4ee0e3);},'GpdIA':function(_0x54211e,_0x5a7d6d,_0xa5c1f5){return _0x54211e(_0x5a7d6d,_0xa5c1f5);},'blbGd':'getAccessibilityResultsSummary','APdHg':_0x1c410f(0x1eb),'XNiwJ':'getAccessibilityResults','wKDbJ':_0x1c410f(0x20c),'vpNEA':function(_0x310fa5,_0x5cc370){return _0x310fa5(_0x5cc370);},'OmkSR':function(_0x11fc72,_0x2c6140,_0x42f131){return _0x11fc72(_0x2c6140,_0x42f131);},'SyPnN':_0x1c410f(0x210),'hmUKc':_0x1c410f(0x21b),'vmvjQ':function(_0x3b49e6,_0x3703b3,_0x46a314){return _0x3b49e6(_0x3703b3,_0x46a314);},'sefZO':_0x1c410f(0x1db),'WTQBu':'browserstackTestName','EePzn':function(_0xfef02d){return _0xfef02d();},'GikwP':_0x1c410f(0x26c),'prRgg':function(_0x26790d,_0x5f1e77,_0x417744){return _0x26790d(_0x5f1e77,_0x417744);},'jKSYq':_0x1c410f(0x23e),'wHwku':function(_0x171653,_0x2cac8d,_0x186cf2){return _0x171653(_0x2cac8d,_0x186cf2);},'bYQNL':function(_0x1499ff,_0x2aebb1,_0x425a8d){return _0x1499ff(_0x2aebb1,_0x425a8d);},'YalGY':function(_0x99bfb4){return _0x99bfb4();},'fFDud':_0x1c410f(0x27e),'xOPmj':function(_0x55f51e){return _0x55f51e();},'kdFTu':function(_0x54ced3,_0x4c9d30,_0x2d3cb2,_0x40483d){return _0x54ced3(_0x4c9d30,_0x2d3cb2,_0x40483d);},'QkTWG':function(_0xd79c77,_0x370b43){return _0xd79c77===_0x370b43;},'fjotX':_0x1c410f(0x24b),'polBa':_0x1c410f(0x1ff),'yQqzI':_0x1c410f(0x20e),'KieKe':_0x1c410f(0x2b0),'BmRzB':_0x1c410f(0x22c),'vsGcl':function(_0x3f04a1,_0x3a171e,_0x51704f){return _0x3f04a1(_0x3a171e,_0x51704f);},'VDyKA':function(_0x40110a){return _0x40110a();},'GkWcR':_0x1c410f(0x250),'jwWuF':_0x1c410f(0x257),'gxqme':_0x1c410f(0x1b5),'AGFDR':'TEST_LOG','lkWcv':'step-comment','YeCDK':'bddStep-before','kIAEO':_0x1c410f(0x1f3),'VsaYS':_0x1c410f(0x1f6)};_0x1f3cf1[_0x1c410f(0x2a8)]&&(global[_0x1c410f(0x1fa)]=_0x1f3cf1[_0x1c410f(0x2a8)]);PerformanceTester[_0x1c410f(0x1d1)]();const _0x5057a9=_0x5653d8[_0x1c410f(0x28f)](getCodeceptDriver),_0x52da9f=new O11yHelper(_0x5057a9,_0x1f3cf1),_0x452ae3=!!CodeceptJS['container'][_0x1c410f(0x1fb)](_0x5653d8[_0x1c410f(0x2a7)]);global['__driver']=_0x5057a9;_0x5057a9&&(PerformanceTester[_0x1c410f(0x286)](PerformanceEvents[_0x1c410f(0x21f)],()=>{const _0xffaf44=_0x1c410f;_0x452ae3?_0x5653d8[_0xffaf44(0x1bc)](patchPlaywrightBefore,_0x52da9f):_0x5653d8[_0xffaf44(0x1ec)](patchWebDriverBefore,_0x5057a9,_0x52da9f);})(),PerformanceTester[_0x1c410f(0x286)](PerformanceEvents[_0x1c410f(0x1d2)],()=>{const _0x2a286e=_0x1c410f;_0x5057a9[_0x2a286e(0x1c1)]=async()=>{const _0x5f4892=_0x2a286e;if(global[_0x5f4892(0x1c7)]){const _0x1f350e={};return _0x1f350e[_0x5f4892(0x249)]=_0x5653d8[_0x5f4892(0x1c3)],await PerformanceTester[_0x5f4892(0x286)](PerformanceA11yEvents[_0x5f4892(0x1ef)],async()=>{const _0x41f7a8=_0x5f4892;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5057a9,scripts[_0x41f7a8(0x1af)]);},_0x1f350e)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5f4892(0x2b2)],async()=>{const _0x48f9fb=_0x5f4892;return await AccessibilityHelper[_0x48f9fb(0x21a)](_0x5057a9,scripts[_0x48f9fb(0x242)]);})();}return logger[_0x5f4892(0x212)](_0x5653d8[_0x5f4892(0x229)]),{};},_0x5057a9[_0x2a286e(0x204)]=async()=>{const _0x2a39a3=_0x2a286e;if(global[_0x2a39a3(0x1c7)]){const _0x2ca367={};return _0x2ca367[_0x2a39a3(0x249)]=_0x5653d8[_0x2a39a3(0x2bc)],await PerformanceTester[_0x2a39a3(0x286)](PerformanceA11yEvents[_0x2a39a3(0x1ef)],async()=>{const _0x55f874=_0x2a39a3;return await AccessibilityHelper[_0x55f874(0x21a)](_0x5057a9,scripts['performScan']);},_0x2ca367)(),await PerformanceTester[_0x2a39a3(0x286)](PerformanceA11yEvents[_0x2a39a3(0x23d)],async()=>{const _0x40c330=_0x2a39a3;return await AccessibilityHelper[_0x40c330(0x21a)](_0x5057a9,scripts[_0x40c330(0x1cc)]);})();}return logger[_0x2a39a3(0x212)](_0x5653d8[_0x2a39a3(0x1f4)]),{};},_0x5653d8[_0x2a286e(0x282)](patchSaveScreenshot,_0x5057a9);})());CodeceptJS['event'][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x1f9)][_0x1c410f(0x1d9)],()=>{const _0x3fed63=_0x1c410f;PerformanceTester['start'](PerformanceEvents[_0x3fed63(0x1bd)]);try{_0x52da9f['start'](),testOpsHelper[_0x3fed63(0x236)](),PerformanceTester['end'](PerformanceEvents[_0x3fed63(0x1bd)]);}catch(_0x120382){PerformanceTester[_0x3fed63(0x1e2)](_0x120382),PerformanceTester[_0x3fed63(0x228)](PerformanceEvents[_0x3fed63(0x1bd)],![],_0x120382);}}),CodeceptJS[_0x1c410f(0x255)]['dispatcher']['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x1f9)][_0x1c410f(0x1e4)],async()=>{const _0x176b27=_0x1c410f;PerformanceTester[_0x176b27(0x29f)](PerformanceEvents[_0x176b27(0x21c)]);try{requestSpy[_0x176b27(0x1c4)](),await _0x52da9f['stop'](),PerformanceTester[_0x176b27(0x228)](PerformanceEvents[_0x176b27(0x21c)]);}catch(_0x117eda){PerformanceTester[_0x176b27(0x1e2)](_0x117eda),PerformanceTester[_0x176b27(0x228)](PerformanceEvents[_0x176b27(0x21c)],![],_0x117eda);}finally{PerformanceTester[_0x176b27(0x1fe)]();}});const _0x1e2f2a=(_0x323e34,_0x292ddf)=>{const _0x404459=_0x1c410f;if(!_0x52da9f)return;if(!_0x52da9f[_0x404459(0x1e8)]()){_0x52da9f[_0x404459(0x206)](_0x323e34,_0x292ddf);return;}CodeceptRecorder[_0x404459(0x2a5)](()=>_0x52da9f['fireEvent'](_0x323e34,_0x292ddf));};CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x245)][_0x1c410f(0x26a)],_0x243fec=>{const _0x24d07b=_0x1c410f;PerformanceTester[_0x24d07b(0x29f)](PerformanceEvents['SDK_HOOK']);try{const _0x4ed8de=_0x243fec[_0x24d07b(0x2c3)][_0x24d07b(0x1ce)],_0x51a5b5=_0x52da9f[_0x24d07b(0x23a)](TEST_EVENTS[_0x24d07b(0x263)],_0x4ed8de);_0x5653d8[_0x24d07b(0x28c)](_0x1e2f2a,TEST_EVENTS[_0x24d07b(0x263)],_0x51a5b5);const _0x21a833={};_0x21a833[_0x24d07b(0x1f8)]=_0x5653d8[_0x24d07b(0x287)],PerformanceTester['end'](PerformanceEvents[_0x24d07b(0x291)],!![],null,_0x21a833);}catch(_0x57ea68){const _0x5dfc3a={};_0x5dfc3a[_0x24d07b(0x1f8)]=_0x5653d8[_0x24d07b(0x287)],PerformanceTester[_0x24d07b(0x228)](PerformanceEvents[_0x24d07b(0x291)],![],_0x57ea68,_0x5dfc3a),PerformanceTester['captureError'](_0x57ea68);}}),CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x245)][_0x1c410f(0x293)],_0x5d4d9f=>{const _0x38ce72=_0x1c410f,_0x2294a9={};_0x2294a9[_0x38ce72(0x1f8)]=_0x5653d8[_0x38ce72(0x1d4)],PerformanceTester[_0x38ce72(0x29f)](PerformanceHookEvents[_0x38ce72(0x291)],!![],null,_0x2294a9);try{const _0x28eb73=_0x5d4d9f[_0x38ce72(0x2c3)][_0x38ce72(0x1ce)],_0x274192=_0x52da9f[_0x38ce72(0x23a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x28eb73);_0x5653d8[_0x38ce72(0x28c)](_0x1e2f2a,TEST_EVENTS[_0x38ce72(0x1be)],_0x274192);const _0x53b4b3={};_0x53b4b3[_0x38ce72(0x1f8)]=_0x5653d8[_0x38ce72(0x1d4)],PerformanceTester[_0x38ce72(0x228)](PerformanceHookEvents[_0x38ce72(0x291)],!![],null,_0x53b4b3);}catch(_0xe57e7b){PerformanceTester[_0x38ce72(0x1e2)](_0xe57e7b);const _0x30c81d={};_0x30c81d['hookType']=_0x5653d8[_0x38ce72(0x1d4)],PerformanceTester[_0x38ce72(0x228)](PerformanceHookEvents[_0x38ce72(0x291)],![],_0xe57e7b,_0x30c81d);}}),CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x245)][_0x1c410f(0x25d)],async(_0x463098,_0x8b8550)=>{const _0x44019f=_0x1c410f;PerformanceTester[_0x44019f(0x29f)](PerformanceHookEvents['SDK_HOOK']);try{const _0x44fbb4=_0x463098[_0x44019f(0x2c3)][_0x44019f(0x1ce)],_0x5627d5=_0x52da9f['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x44fbb4,_0x8b8550);_0x5653d8[_0x44019f(0x2a3)](_0x1e2f2a,TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5627d5);const _0x22e252={};_0x22e252[_0x44019f(0x1f8)]=_0x5653d8[_0x44019f(0x28b)],PerformanceTester[_0x44019f(0x29f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x22e252);}catch(_0x1e4fd8){PerformanceTester[_0x44019f(0x1e2)](_0x1e4fd8);const _0x70b362={};_0x70b362['hookType']=_0x5653d8[_0x44019f(0x28b)],PerformanceTester[_0x44019f(0x228)](PerformanceHookEvents[_0x44019f(0x291)],![],_0x1e4fd8,_0x70b362);}const _0x3b9f62={};_0x3b9f62['hookType']=_0x5653d8[_0x44019f(0x28b)],PerformanceTester[_0x44019f(0x228)](PerformanceHookEvents[_0x44019f(0x291)],!![],null,_0x3b9f62);}),CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS['event'][_0x1c410f(0x1ce)]['before'],_0x3d8061=>{const _0x553ef7=_0x1c410f;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x5653d8[_0x553ef7(0x244)],_0x3d8061[_0x553ef7(0x214)]);_0x5653d8[_0x553ef7(0x28e)](isBrowserstackInfra)&&(_0x452ae3&&(global[_0x553ef7(0x2bd)]={'currentTest':{'name':_0x3d8061[_0x553ef7(0x214)],'testInfo':{'titlePath':_0x3d8061['titlePath']()}}}));const _0x4aaac7={};_0x4aaac7[_0x553ef7(0x1f8)]=_0x5653d8[_0x553ef7(0x20f)],PerformanceTester[_0x553ef7(0x228)](PerformanceHookEvents[_0x553ef7(0x291)],!![],null,_0x4aaac7);}catch(_0x3d9ee3){PerformanceTester[_0x553ef7(0x1e2)](_0x3d9ee3);const _0x5a554d={};_0x5a554d[_0x553ef7(0x1f8)]=_0x5653d8[_0x553ef7(0x20f)],PerformanceTester[_0x553ef7(0x228)](PerformanceHookEvents[_0x553ef7(0x291)],![],_0x3d9ee3,_0x5a554d);}}),CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x1ce)]['started'],_0x5781a4=>{const _0x3c6dca=_0x1c410f,_0xc31489={'aCnfW':function(_0x350581){const _0x5584ea=a1_0x4c1c;return _0x5653d8[_0x5584ea(0x28e)](_0x350581);},'ZZjWg':function(_0x4387cd,_0x38ad88){const _0x19970a=a1_0x4c1c;return _0x5653d8[_0x19970a(0x1bc)](_0x4387cd,_0x38ad88);},'YLHtJ':function(_0x196051,_0x512b7e,_0x34d962){const _0x1ddd90=a1_0x4c1c;return _0x5653d8[_0x1ddd90(0x261)](_0x196051,_0x512b7e,_0x34d962);}};PerformanceTester[_0x3c6dca(0x29f)](PerformanceHookEvents[_0x3c6dca(0x291)]);try{globals[_0x3c6dca(0x1d0)](_0x5653d8['WTQBu'],_0x5781a4[_0x3c6dca(0x214)]);const _0x59146a=_0x52da9f[_0x3c6dca(0x23a)](TEST_EVENTS[_0x3c6dca(0x24a)],_0x5781a4);CodeceptRecorder['add'](()=>_0x52da9f['flushPendingHookEvents']()),CodeceptRecorder[_0x3c6dca(0x2a5)](()=>_0x52da9f[_0x3c6dca(0x1b2)](TEST_EVENTS[_0x3c6dca(0x24a)],_0x59146a)),CodeceptRecorder[_0x3c6dca(0x2a5)](async()=>{const _0xe42f6c=_0x3c6dca;_0xc31489[_0xe42f6c(0x2a6)](isBrowserstackInfra)&&(!_0xc31489[_0xe42f6c(0x25a)](isTrue,_0x1f3cf1[_0xe42f6c(0x2b7)])&&await _0xc31489[_0xe42f6c(0x25b)](markSessionName,_0x5057a9,_0x5781a4[_0xe42f6c(0x214)]),_0x52da9f['enabled']&&await _0xc31489['ZZjWg'](o11ySync,_0x5057a9));});}catch(_0xbba179){const _0x30b17d={};_0x30b17d['hookType']=_0x5653d8[_0x3c6dca(0x1da)],PerformanceTester[_0x3c6dca(0x228)](PerformanceHookEvents[_0x3c6dca(0x291)],![],_0xbba179,_0x30b17d),PerformanceTester[_0x3c6dca(0x1e2)](_0xbba179);}const _0x284e9b={};_0x284e9b[_0x3c6dca(0x1f8)]=_0x5653d8[_0x3c6dca(0x1da)],PerformanceTester[_0x3c6dca(0x228)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x284e9b);}),CodeceptJS['event'][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x1ce)][_0x1c410f(0x293)],_0x2fe38d=>{const _0x207e22=_0x1c410f,_0xe9cc78={'Dznyg':function(_0x537e7d,_0x205cf2,_0x43d12a){const _0x2d3db3=a1_0x4c1c;return _0x5653d8[_0x2d3db3(0x277)](_0x537e7d,_0x205cf2,_0x43d12a);},'jxXqv':function(_0x416729,_0x500e0b,_0x4f7072){const _0x22a214=a1_0x4c1c;return _0x5653d8[_0x22a214(0x29e)](_0x416729,_0x500e0b,_0x4f7072);},'jAXPm':function(_0x5a584b){const _0x565914=a1_0x4c1c;return _0x5653d8[_0x565914(0x241)](_0x5a584b);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x5856b8=_0x52da9f[_0x207e22(0x23a)](TEST_EVENTS[_0x207e22(0x26e)],_0x2fe38d);CodeceptRecorder['add'](()=>_0x52da9f[_0x207e22(0x1b2)](TEST_EVENTS[_0x207e22(0x26e)],_0x5856b8)),CodeceptRecorder['add'](async()=>{const _0x5e331e=_0x207e22;_0xe9cc78[_0x5e331e(0x278)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x299a59=_0x5e331e;_0x452ae3?await _0xe9cc78['Dznyg'](playwrightMarkSessionStatus,_0x5057a9,STATE_PASSED):await _0xe9cc78[_0x299a59(0x2ab)](markSessionStatus,_0x5057a9,STATE_PASSED);})();}),PerformanceTester[_0x207e22(0x228)](PerformanceEvents[_0x207e22(0x22b)]);}catch(_0x21fa19){PerformanceTester[_0x207e22(0x1e2)](_0x21fa19);const _0x58d908={};_0x58d908['hookType']=_0x5653d8[_0x207e22(0x1e1)],PerformanceTester['end'](PerformanceHookEvents[_0x207e22(0x291)],![],_0x21fa19,_0x58d908),PerformanceTester[_0x207e22(0x228)](PerformanceEvents['SDK_TEST'],![],_0x21fa19);}const _0x1961b2={};_0x1961b2[_0x207e22(0x1f8)]=_0x5653d8[_0x207e22(0x1e1)],PerformanceTester[_0x207e22(0x228)](PerformanceHookEvents[_0x207e22(0x291)],!![],null,_0x1961b2);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1c410f(0x255)]['test']['failed'],(_0x35516e,_0x349f6e)=>{const _0x142922=_0x1c410f;PerformanceTester[_0x142922(0x29f)](PerformanceHookEvents[_0x142922(0x291)]);try{if(_0x5653d8[_0x142922(0x262)](_0x35516e['constructor'][_0x142922(0x1cf)],_0x5653d8['fjotX'])){const _0x28ab2d=_0x52da9f[_0x142922(0x23a)](TEST_EVENTS[_0x142922(0x215)],_0x35516e['ctx'][_0x142922(0x1e5)]);CodeceptRecorder[_0x142922(0x2a5)](()=>_0x52da9f[_0x142922(0x1b2)](TEST_EVENTS[_0x142922(0x215)],_0x28ab2d));}else{const _0x511d51=_0x52da9f[_0x142922(0x23a)](TEST_EVENTS[_0x142922(0x26e)],_0x35516e,_0x349f6e);CodeceptRecorder[_0x142922(0x2a5)](()=>{const _0x169436=_0x142922;try{_0x52da9f['fireEvent'](TEST_EVENTS[_0x169436(0x26e)],_0x511d51);}catch(_0x39612f){logger['debug'](_0x169436(0x240)+util[_0x169436(0x2c6)](_0x39612f)),PerformanceTester['end'](PerformanceEvents[_0x169436(0x22b)],![],_0x39612f);}}),CodeceptRecorder['add'](async()=>{const _0x178fbb=_0x142922;try{_0x5653d8[_0x178fbb(0x28f)](isBrowserstackInfra)&&(_0x452ae3?await _0x5653d8[_0x178fbb(0x1b7)](playwrightMarkSessionStatus,_0x5057a9,STATE_FAILED,_0x349f6e):await _0x5653d8[_0x178fbb(0x1b7)](markSessionStatus,_0x5057a9,STATE_FAILED,_0x349f6e));}catch(_0x4d8bd8){logger[_0x178fbb(0x26d)](_0x178fbb(0x23f)+util[_0x178fbb(0x2c6)](_0x4d8bd8)),PerformanceTester[_0x178fbb(0x228)](PerformanceEvents[_0x178fbb(0x22b)],![],_0x4d8bd8);}});}PerformanceTester[_0x142922(0x228)](PerformanceEvents['SDK_TEST']);}catch(_0x5b9eab){PerformanceTester['captureError'](_0x5b9eab);const _0x388104={};_0x388104['hookType']=_0x5653d8[_0x142922(0x23b)],PerformanceTester[_0x142922(0x228)](PerformanceHookEvents['SDK_HOOK'],![],_0x5b9eab,_0x388104),PerformanceTester[_0x142922(0x228)](PerformanceEvents[_0x142922(0x22b)],![],_0x5b9eab);}const _0x2e1251={};_0x2e1251[_0x142922(0x1f8)]=_0x5653d8['polBa'],PerformanceTester[_0x142922(0x228)](PerformanceHookEvents[_0x142922(0x291)],!![],null,_0x2e1251);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1c410f(0x255)]['test'][_0x1c410f(0x246)],_0x72042=>{const _0xa5d35a=_0x1c410f;PerformanceTester[_0xa5d35a(0x29f)](PerformanceHookEvents[_0xa5d35a(0x291)]);try{const _0x5a1703=_0x52da9f[_0xa5d35a(0x23a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x72042);CodeceptRecorder['add'](()=>_0x52da9f[_0xa5d35a(0x1b2)](TEST_EVENTS[_0xa5d35a(0x215)],_0x5a1703)),PerformanceTester[_0xa5d35a(0x228)](PerformanceEvents[_0xa5d35a(0x22b)]);}catch(_0x208f8b){PerformanceTester[_0xa5d35a(0x1e2)](_0x208f8b),PerformanceTester['end'](PerformanceEvents[_0xa5d35a(0x22b)],![],_0x208f8b);const _0x45a2a4={};_0x45a2a4[_0xa5d35a(0x1f8)]=_0x5653d8[_0xa5d35a(0x1f5)],PerformanceTester[_0xa5d35a(0x228)](PerformanceHookEvents[_0xa5d35a(0x291)],![],_0x208f8b,_0x45a2a4);}const _0x39704e={};_0x39704e[_0xa5d35a(0x1f8)]=_0x5653d8[_0xa5d35a(0x1f5)],PerformanceTester[_0xa5d35a(0x228)](PerformanceHookEvents[_0xa5d35a(0x291)],!![],null,_0x39704e);}),CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x22a)]['on'](CodeceptJS['event'][_0x1c410f(0x1ce)][_0x1c410f(0x1e4)],async(_0x185dac,_0x13cabb)=>{const _0x460a54=_0x1c410f,_0x500303={};_0x500303['leSvC']=_0x5653d8[_0x460a54(0x283)],_0x500303[_0x460a54(0x1fc)]=_0x5653d8[_0x460a54(0x1b0)];const _0x25e684=_0x500303;try{PerformanceTester['start'](PerformanceHookEvents[_0x460a54(0x291)]);const _0x305025=_0x5653d8[_0x460a54(0x202)](shouldScanTestForAccessibility,_0x185dac[_0x460a54(0x237)](),!![]);if(_0x5653d8[_0x460a54(0x20b)](isAccessibilityAutomationSession)&&global[_0x460a54(0x1c7)]&&_0x305025){const _0x19dc0f={};_0x19dc0f[_0x460a54(0x2a4)]=_0x185dac[_0x460a54(0x29d)],_0x19dc0f['thBuildUuid']=process['env'][testHubConstants[_0x460a54(0x223)][_0x460a54(0x2c1)]],_0x19dc0f[_0x460a54(0x1e0)]=process[_0x460a54(0x298)][testHubConstants['ENV_VAR'][_0x460a54(0x238)]];const _0x3a8248=_0x19dc0f;logger[_0x460a54(0x26d)](_0x460a54(0x227)+JSON[_0x460a54(0x269)](_0x3a8248)),CodeceptRecorder[_0x460a54(0x2a5)](async()=>{const _0x2a0f2c=_0x460a54,_0x53fc6c={};_0x53fc6c[_0x2a0f2c(0x249)]=_0x25e684[_0x2a0f2c(0x200)],await PerformanceTester[_0x2a0f2c(0x286)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x5057a9,scripts['performScan']);},_0x53fc6c)(),globals[_0x2a0f2c(0x233)](_0x25e684['KJHgT'])&&(_0x3a8248[_0x2a0f2c(0x28d)]=!![]),await PerformanceTester[_0x2a0f2c(0x286)](PerformanceA11yEvents[_0x2a0f2c(0x279)],async()=>{const _0x2a4473=_0x2a0f2c;await AccessibilityHelper[_0x2a4473(0x21a)](_0x5057a9,scripts[_0x2a4473(0x260)],_0x3a8248);})();}),logger['info'](_0x5653d8[_0x460a54(0x27c)]);}const _0x1f49fc={};_0x1f49fc['hookType']=_0x5653d8[_0x460a54(0x1c5)],PerformanceTester[_0x460a54(0x228)](PerformanceHookEvents[_0x460a54(0x291)],!![],null,_0x1f49fc);}catch(_0x1a3b0c){PerformanceTester[_0x460a54(0x1e2)](_0x1a3b0c);const _0x221b72={};_0x221b72[_0x460a54(0x1f8)]=_0x5653d8[_0x460a54(0x1c5)],PerformanceTester['end'](PerformanceHookEvents[_0x460a54(0x291)],![],_0x1a3b0c,_0x221b72);}}),CodeceptJS['event'][_0x1c410f(0x22a)]['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x1f2)][_0x1c410f(0x2ae)],_0x4543a7=>{const _0x39e257=_0x1c410f;PerformanceTester[_0x39e257(0x29f)](PerformanceHookEvents[_0x39e257(0x291)]);try{process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x5653d8[_0x39e257(0x28a)],'message':_0x4543a7,'kind':_0x5653d8[_0x39e257(0x247)],'http_response':{}});}catch(_0x2590de){PerformanceTester[_0x39e257(0x1e2)](_0x2590de);const _0x1b5262={};_0x1b5262[_0x39e257(0x1f8)]=_0x5653d8[_0x39e257(0x266)],PerformanceTester['end'](PerformanceHookEvents[_0x39e257(0x291)],![],_0x2590de,_0x1b5262);}const _0x58b27e={};_0x58b27e[_0x39e257(0x1f8)]=_0x5653d8[_0x39e257(0x266)],PerformanceTester['end'](PerformanceHookEvents[_0x39e257(0x291)],!![],null,_0x58b27e);}),CodeceptJS[_0x1c410f(0x255)]['dispatcher']['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x2c4)][_0x1c410f(0x1d9)],_0x4366b6=>{const _0x24b56f=_0x1c410f,_0x3f02f1={};_0x3f02f1['hookType']=_0x5653d8['YeCDK'],PerformanceTester[_0x24b56f(0x286)](PerformanceHookEvents[_0x24b56f(0x291)],()=>{const _0x3dd0d9=_0x24b56f;_0x52da9f[_0x3dd0d9(0x267)](_0x4366b6);},_0x3f02f1)();}),CodeceptJS[_0x1c410f(0x255)]['dispatcher']['on'](CodeceptJS[_0x1c410f(0x255)][_0x1c410f(0x2c4)][_0x1c410f(0x1e4)],_0x1e766a=>{const _0x59fdec=_0x1c410f,_0x46640f={};_0x46640f[_0x59fdec(0x1f8)]=_0x5653d8['kIAEO'],PerformanceTester[_0x59fdec(0x286)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x46fac5=_0x59fdec;_0x52da9f[_0x46fac5(0x1c9)](_0x1e766a);},_0x46640f)();});};
|
|
1
|
+
const a1_0xd78b6a=a1_0x6be4;(function(_0x16ad3a,_0x215cd8){const _0x186d4c=a1_0x6be4,_0x5d2568=_0x16ad3a();while(!![]){try{const _0x5c8b74=parseInt(_0x186d4c(0x128))/0x1+parseInt(_0x186d4c(0x150))/0x2+-parseInt(_0x186d4c(0x1c8))/0x3*(parseInt(_0x186d4c(0x1d9))/0x4)+-parseInt(_0x186d4c(0x1c6))/0x5*(parseInt(_0x186d4c(0x11a))/0x6)+parseInt(_0x186d4c(0x15e))/0x7+-parseInt(_0x186d4c(0x19c))/0x8*(parseInt(_0x186d4c(0x11e))/0x9)+parseInt(_0x186d4c(0x115))/0xa;if(_0x5c8b74===_0x215cd8)break;else _0x5d2568['push'](_0x5d2568['shift']());}catch(_0x2f9bcf){_0x5d2568['push'](_0x5d2568['shift']());}}}(a1_0x7fde,0x6fb3d));const fs=require('fs'),util=require(a1_0xd78b6a(0x12a)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0xd78b6a(0x173)),logger=require(a1_0xd78b6a(0x16e))[a1_0xd78b6a(0x1bd)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0xd78b6a(0x13f)),AccessibilityHelper=require(a1_0xd78b6a(0x15f)),scripts=require(a1_0xd78b6a(0x109)),PerformanceTester=require(a1_0xd78b6a(0xdd)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0xd78b6a(0x139)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0xd78b6a(0xf1)),testHubConstants=require(a1_0xd78b6a(0x18c)),globals=require(a1_0xd78b6a(0x149)),CodeceptJS=requireModule(a1_0xd78b6a(0x1c2),'codeceptjs'),CodeceptUtils=requireModule(a1_0xd78b6a(0x10b),a1_0xd78b6a(0x111)),CodeceptWebDriver=requireModule(a1_0xd78b6a(0xe9),a1_0xd78b6a(0x111)),CodeceptRecorder=requireModule(a1_0xd78b6a(0x1ac),a1_0xd78b6a(0x111)),CodeceptPlaywright=requireModule(a1_0xd78b6a(0x157),a1_0xd78b6a(0x111));try{require('../../helpers/driverInitErrorReporter')[a1_0xd78b6a(0x124)](a1_0xd78b6a(0x111));}catch(a1_0x109c76){logger[a1_0xd78b6a(0x13b)](a1_0xd78b6a(0xdb)+(a1_0x109c76&&a1_0x109c76[a1_0xd78b6a(0x152)]));}const playwrightMarkSessionStatus=(_0x5ab42a,_0x2bdaa3,_0x49f695)=>{const _0xcbbe68=a1_0xd78b6a,_0x3f8c26={'CJjIr':'setSessionStatus','tXSVM':function(_0x2e9f33,_0x5332e1){return _0x2e9f33(_0x5332e1);}},_0x281d48={};_0x281d48['status']=_0x2bdaa3;const _0x4d5111={};_0x4d5111[_0xcbbe68(0x1a3)]=_0x3f8c26[_0xcbbe68(0x184)],_0x4d5111[_0xcbbe68(0xe4)]=_0x281d48;const _0x27bc2b=_0x4d5111;return!_0x3f8c26[_0xcbbe68(0x195)](isUndefined,_0x49f695)&&(_0x27bc2b[_0xcbbe68(0xe4)][_0xcbbe68(0x1cc)]=JSON[_0xcbbe68(0x1ba)](_0x49f695)),_0x5ab42a[_0xcbbe68(0x175)](()=>{},_0xcbbe68(0x151)+JSON[_0xcbbe68(0x1ba)](_0x27bc2b));},o11ySync=PerformanceTester[a1_0xd78b6a(0x174)](PerformanceO11yEvents[a1_0xd78b6a(0x1b2)],async _0x5a622c=>{const _0x1c558e=a1_0xd78b6a,_0x1c2747={};_0x1c2747['zhgWP']=function(_0x202df1,_0xe3ee1e){return _0x202df1===_0xe3ee1e;},_0x1c2747[_0x1c558e(0xdc)]=_0x1c558e(0x169);const _0x1ab8a3=_0x1c2747;_0x1ab8a3[_0x1c558e(0x13d)](_0x5a622c[_0x1c558e(0x10d)][_0x1c558e(0xda)],_0x1ab8a3[_0x1c558e(0xdc)])?await _0x5a622c['executeScript'](_0x564259=>{},testOpsHelper['getSyncScript']()):await _0x5a622c[_0x1c558e(0x175)](testOpsHelper[_0x1c558e(0x1dc)]());}),markSessionName=PerformanceTester[a1_0xd78b6a(0x174)](PerformanceAutEvents[a1_0xd78b6a(0xe2)],async(_0x4882d4,_0x5e2395)=>{const _0x3a3de8=a1_0xd78b6a,_0x28eade={};_0x28eade['guztm']=_0x3a3de8(0x1a7),_0x28eade[_0x3a3de8(0x102)]=function(_0x3dae8a,_0x1853a1){return _0x3dae8a===_0x1853a1;},_0x28eade[_0x3a3de8(0x156)]=_0x3a3de8(0x169);const _0x1c8f76=_0x28eade,_0x10f694={};_0x10f694['name']=_0x5e2395;const _0x20c4d6={};_0x20c4d6[_0x3a3de8(0x1a3)]=_0x1c8f76['guztm'],_0x20c4d6[_0x3a3de8(0xe4)]=_0x10f694;const _0x2fd643=_0x20c4d6;_0x1c8f76[_0x3a3de8(0x102)](_0x4882d4[_0x3a3de8(0x10d)][_0x3a3de8(0xda)],_0x1c8f76['XIOQj'])?await _0x4882d4['executeScript'](()=>{},_0x3a3de8(0x151)+JSON[_0x3a3de8(0x1ba)](_0x2fd643)):await _0x4882d4[_0x3a3de8(0x175)]('browserstack_executor:\x20'+JSON[_0x3a3de8(0x1ba)](_0x2fd643));}),patchSaveScreenshot=_0x1a6c2c=>{const _0x4b7339=a1_0xd78b6a,_0x48da80={'BgLHv':_0x4b7339(0x144),'kKxGZ':_0x4b7339(0x13a),'EcQyF':function(_0x2201e1){return _0x2201e1();},'snAan':function(_0xe05f19,_0x326ac5){return _0xe05f19(_0x326ac5);},'hHVHl':'Screenshot\x20path\x20not\x20found','BKJTA':function(_0x39bea5,_0x5a1b41){return _0x39bea5(_0x5a1b41);}};_0x48da80[_0x4b7339(0x1b6)](isTrue,process[_0x4b7339(0x180)][_0x4b7339(0x12f)])&&!_0x1a6c2c[_0x4b7339(0xff)]&&(_0x1a6c2c[_0x4b7339(0xff)]=!![],_0x1a6c2c[_0x4b7339(0x1db)]=_0x1a6c2c[_0x4b7339(0x107)],_0x1a6c2c[_0x4b7339(0x107)]=(_0x5d2cd5,_0x567d54=![])=>{return new Promise(function(_0x2afd43,_0x501c8b){const _0x41b1dd=a1_0x6be4,_0x50a9fe={'aCtej':_0x48da80[_0x41b1dd(0xdf)],'woUbE':_0x48da80['kKxGZ'],'GydYW':function(_0x18ba4d){return _0x48da80['EcQyF'](_0x18ba4d);},'rcipd':function(_0x3b2b91,_0x1c1385){return _0x48da80['snAan'](_0x3b2b91,_0x1c1385);},'fRgWp':_0x48da80[_0x41b1dd(0x1c9)]};_0x1a6c2c[_0x41b1dd(0x1db)](_0x5d2cd5,_0x567d54)[_0x41b1dd(0x194)](()=>{const _0x5999e5=_0x41b1dd,_0x1b5fc8=CodeceptUtils[_0x5999e5(0x141)](_0x5d2cd5);if(_0x1b5fc8){const _0x8ecc0=fs['readFileSync'](_0x1b5fc8);process['emit'](_0x5999e5(0xf4)+process[_0x5999e5(0xe1)],{'timestamp':new Date()[_0x5999e5(0x170)](),'message':_0x8ecc0[_0x5999e5(0x1c3)](_0x50a9fe[_0x5999e5(0x15a)]),'kind':_0x50a9fe[_0x5999e5(0x134)]}),_0x50a9fe[_0x5999e5(0x1e3)](_0x2afd43);}_0x50a9fe[_0x5999e5(0x13c)](_0x501c8b,new Error(_0x50a9fe[_0x5999e5(0xfc)]));})[_0x41b1dd(0x1d7)](()=>null);});});},patchWebDriverBefore=(_0x571bf9,_0x1f2f13)=>{const _0x5c5ff5=a1_0xd78b6a,_0x1babdf={'wfVuW':function(_0x450b18){return _0x450b18();},'UayKE':function(_0x2821d7,_0x37063a){return _0x2821d7(_0x37063a);},'mJZCd':function(_0x46ae4c,_0x4edf32){return _0x46ae4c===_0x4edf32;},'updfT':_0x5c5ff5(0x14e),'imBJG':function(_0x4c49c1,_0x74f892){return _0x4c49c1===_0x74f892;},'rcryg':_0x5c5ff5(0x148),'FzjMK':_0x5c5ff5(0x185),'QrnDS':function(_0x1f97bf,_0x39269c){return _0x1f97bf(_0x39269c);},'SRVzF':function(_0x582995,_0x1b8662){return _0x582995===_0x1b8662;},'tYrRk':_0x5c5ff5(0x1d4)},_0x316248=async function(_0x550e60,_0x489a83){const _0x501d4e=_0x5c5ff5;_0x1babdf[_0x501d4e(0xf8)](isAccessibilityAutomationSession)&&!global[_0x501d4e(0x1c4)]&&global[_0x501d4e(0xea)]&&scripts[_0x501d4e(0x1de)](_0x550e60[_0x501d4e(0xda)])&&_0x1babdf['UayKE'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x501d4e(0x174)](PerformanceA11yEvents[_0x501d4e(0x1c7)],async()=>{const _0x3925b3=_0x501d4e;logger['debug'](_0x3925b3(0x188)+_0x550e60[_0x3925b3(0xf0)]+'\x20'+_0x550e60['name']),await AccessibilityHelper[_0x3925b3(0x16d)](_0x571bf9,scripts[_0x3925b3(0x1bb)]);},{'command':_0x550e60[_0x501d4e(0xda)]})());global[_0x501d4e(0x1c4)]=![];const _0x5525bf=JSON[_0x501d4e(0x114)](process[_0x501d4e(0x180)]['FRAMEWORK_DETAILS']||'{}');if(_0x1babdf['mJZCd'](_0x5525bf?.['testFramework']?.['name'],_0x1babdf['updfT'])&&_0x1babdf[_0x501d4e(0x1d6)](typeof _0x5525bf?.[_0x501d4e(0x129)]?.[_0x501d4e(0x1b7)],_0x1babdf[_0x501d4e(0x121)])&&_0x5525bf?.['testFramework']?.['version'][_0x501d4e(0x182)]('7'))return _0x489a83[_0x501d4e(0x1cb)](null,Array[_0x501d4e(0x105)]['slice']['call'](arguments,0x2));return _0x489a83[_0x501d4e(0x1cb)](this,Array[_0x501d4e(0x105)][_0x501d4e(0x12b)]['call'](arguments,0x2));},_0x2fbccc=CodeceptWebDriver[_0x5c5ff5(0x105)][_0x5c5ff5(0x19a)];CodeceptWebDriver[_0x5c5ff5(0x105)][_0x5c5ff5(0x19a)]=async function(){const _0xb5cb45=_0x5c5ff5,_0x2ddefc={'vvMxo':function(_0x40c228,_0x14189f){return _0x1babdf['imBJG'](_0x40c228,_0x14189f);},'mYkad':_0x1babdf[_0xb5cb45(0x171)]};try{await _0x2fbccc['apply'](this,arguments);}catch(_0x2f70f7){logger['debug'](_0xb5cb45(0x1da)+util[_0xb5cb45(0x189)](_0x2f70f7));}scripts[_0xb5cb45(0x140)][_0xb5cb45(0x106)](_0x26a96a=>_0x26a96a[_0xb5cb45(0xda)]&&_0x26a96a['class'])[_0xb5cb45(0x108)](_0x31aaf9=>{const _0x106c21=_0xb5cb45;this[_0x106c21(0x126)][_0x106c21(0x1d8)](_0x31aaf9[_0x106c21(0xda)],_0x316248[_0x106c21(0x1df)](this,_0x31aaf9),_0x2ddefc[_0x106c21(0x18f)](_0x31aaf9[_0x106c21(0xf0)],_0x2ddefc[_0x106c21(0x192)]));}),_0x1babdf[_0xb5cb45(0x1e0)](processWebDriverConfig,_0x571bf9);try{_0x1f2f13&&_0x1babdf['SRVzF'](typeof _0x1f2f13[_0xb5cb45(0x10e)],_0x1babdf[_0xb5cb45(0x15b)])&&await _0x1f2f13['flushPendingHookEvents']();}catch(_0x4ee56d){logger['debug'](_0xb5cb45(0xf2)+util[_0xb5cb45(0x189)](_0x4ee56d));}};};function parseJwt(_0x3df26b){const _0x342e5a=a1_0xd78b6a,_0xd1bfbd={};_0xd1bfbd[_0x342e5a(0x18b)]=_0x342e5a(0x144);const _0x1eec27=_0xd1bfbd;if(!_0x3df26b)return null;return JSON['parse'](Buffer[_0x342e5a(0x160)](_0x3df26b[_0x342e5a(0x1ad)]('.')[0x1],_0x1eec27[_0x342e5a(0x18b)])[_0x342e5a(0x1c3)]());}const patchPlaywrightBefore=_0x55d2fb=>{const _0x33ad22=a1_0xd78b6a,_0x5d0fbe={'zjYTJ':'--auto-open-devtools-for-tabs','JYAXj':function(_0x105716){return _0x105716();},'FoBWB':function(_0x14b735,_0x361420){return _0x14b735(_0x361420);},'YbeIu':function(_0x28ed5a){return _0x28ed5a();},'PFRCz':_0x33ad22(0x120),'RRnNf':function(_0x9ab0d1,_0x4b8ba0){return _0x9ab0d1+_0x4b8ba0;},'CiRpn':_0x33ad22(0x193),'ACRsP':function(_0xe8e5a0){return _0xe8e5a0();},'UJCDG':function(_0x3b9969){return _0x3b9969();},'lSLTq':function(_0x215ec7){return _0x215ec7();},'AXSbj':function(_0x2d5370,_0x2c9cf1){return _0x2d5370===_0x2c9cf1;},'aYnrn':_0x33ad22(0x1d4)};PlaywrightSessionDetails[_0x33ad22(0xf5)]();const _0x17e456=CodeceptPlaywright[_0x33ad22(0x105)]['_before'];CodeceptPlaywright[_0x33ad22(0x105)][_0x33ad22(0x19a)]=async function(){const _0x4e369d=_0x33ad22,_0x2dfc89={'sPYEm':function(_0x56af99){const _0x1593f3=a1_0x6be4;return _0x5d0fbe[_0x1593f3(0x154)](_0x56af99);},'cTIHa':_0x5d0fbe['PFRCz']};this[_0x4e369d(0x191)]=await this['browser'][_0x4e369d(0x1a4)]()[0x0];const _0x3f71a1=async()=>{const _0x58ee45=_0x4e369d,_0x5bd077=this[_0x58ee45(0x15d)]&&this['config'][_0x58ee45(0x17a)]&&this[_0x58ee45(0x15d)][_0x58ee45(0x17a)][_0x58ee45(0x17c)]&&Array[_0x58ee45(0x10a)](this[_0x58ee45(0x15d)][_0x58ee45(0x17a)][_0x58ee45(0x17c)])&&this[_0x58ee45(0x15d)]['chromium'][_0x58ee45(0x17c)]['includes'](_0x5d0fbe[_0x58ee45(0x11d)]);if(_0x5d0fbe[_0x58ee45(0x1af)](isAccessibilityAutomationSession)&&!_0x5bd077)try{const _0x9b7027=_0x5d0fbe[_0x58ee45(0xf7)](parseJwt,process[_0x58ee45(0x180)][_0x58ee45(0x138)]);if(_0x9b7027&&_0x9b7027['a11y_core_config']&&_0x9b7027['a11y_core_config'][_0x58ee45(0x113)]){const _0x3c96ea=this[_0x58ee45(0x191)]['pages'][_0x58ee45(0x1df)](this[_0x58ee45(0x191)]);this[_0x58ee45(0x191)]['pages']=async function(){const _0x4aea1f=_0x58ee45,_0x23f36e=await _0x2dfc89[_0x4aea1f(0x181)](_0x3c96ea),_0x2ecd1b=[];for(const _0x354299 of _0x23f36e){try{const _0x939607=await _0x354299[_0x4aea1f(0x167)]();!_0x939607[_0x4aea1f(0x182)](_0x2dfc89[_0x4aea1f(0x161)])&&_0x2ecd1b[_0x4aea1f(0x125)](_0x354299);}catch(_0x1fa97e){_0x2ecd1b['push'](_0x354299);}}return _0x2ecd1b;};}if(!_0x5d0fbe[_0x58ee45(0x14d)](isBrowserstackInfra)){const _0x3045fa=await this[_0x58ee45(0x1b1)]['url']();if(_0x3045fa[_0x58ee45(0x182)](_0x5d0fbe[_0x58ee45(0x117)])){const _0x595f1a=await this['browserContext'][_0x58ee45(0x122)]();this[_0x58ee45(0x183)](_0x595f1a[0x0]);}}}catch(_0x3049b5){logger[_0x58ee45(0x13b)](_0x58ee45(0x162)+_0x3049b5[_0x58ee45(0x152)]+(_0x3049b5['stack']?_0x5d0fbe[_0x58ee45(0x178)](_0x5d0fbe[_0x58ee45(0x187)],_0x3049b5[_0x58ee45(0x198)]):''));}};_0x5d0fbe[_0x4e369d(0x1d3)](isBrowserstackInfra)&&await _0x5d0fbe[_0x4e369d(0x154)](_0x3f71a1);await _0x17e456[_0x4e369d(0x1cb)](this,arguments);!_0x5d0fbe[_0x4e369d(0x10f)](isBrowserstackInfra)&&await _0x5d0fbe['YbeIu'](_0x3f71a1);try{_0x55d2fb&&_0x5d0fbe[_0x4e369d(0x1cd)](typeof _0x55d2fb[_0x4e369d(0x10e)],_0x5d0fbe[_0x4e369d(0x16c)])&&await _0x55d2fb[_0x4e369d(0x10e)]();}catch(_0x4dc6aa){logger['debug'](_0x4e369d(0x146)+util['format'](_0x4dc6aa));}};},getCodeceptDriver=()=>{const _0x559299=a1_0xd78b6a,_0x107cc1={};_0x107cc1['xtoOu']=_0x559299(0x164),_0x107cc1[_0x559299(0x17f)]='Playwright',_0x107cc1[_0x559299(0x142)]=_0x559299(0x136),_0x107cc1[_0x559299(0x19e)]=_0x559299(0x1b5);const _0x58e86e=_0x107cc1,_0x16f30e=[_0x58e86e[_0x559299(0x1a8)],_0x58e86e['LZYGi'],_0x58e86e[_0x559299(0x142)],_0x58e86e[_0x559299(0x19e)]],_0x22c772=_0x16f30e[_0x559299(0x1e8)](_0x4dc8b6=>!!CodeceptJS[_0x559299(0x12c)][_0x559299(0x16f)](_0x4dc8b6));if(!_0x22c772)return null;return CodeceptJS[_0x559299(0x12c)]['helpers'](_0x22c772);};function a1_0x6be4(_0x132091,_0x584c0a){const _0x7fde92=a1_0x7fde();return a1_0x6be4=function(_0x6be46,_0x2783a8){_0x6be46=_0x6be46-0xda;let _0x5da380=_0x7fde92[_0x6be46];return _0x5da380;},a1_0x6be4(_0x132091,_0x584c0a);}function a1_0x7fde(){const _0x16d545=['reason','AXSbj','skipped','yroIC','event','uNJvY','SDK_PRE_TEST','UJCDG','function','TEST_RUN_STARTED','imBJG','catch','overwriteCommand','28516QVteJV','Failed\x20to\x20execute\x20_before:\x20','initSaveScreenshot','getSyncScript','restore','shouldWrapCommand','bind','QrnDS','test-passed','PzpfS','GydYW','npJIS','BROWSERSTACK_TESTHUB_JWT','bHoWK','bddStepStart','find','captureEvent','name','driver-init\x20capture\x20install\x20failed:\x20','MQhpp','../../helpers/performance/performance-tester','SFVEZ','BgLHv','startMonitoring','pid','SESSION_NAME','skipSessionName','arguments','HOOK_RUN_STARTED','dispatcher','RQKvQ','warn','codeceptjs/lib/helper/WebDriver.js','accessibilityPlatform','titlePath','stopMonitoring','title','command','captureError','class','./helper.js','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','browserstackTestName','bs:addLog:','patch','skipSessionStatus','FoBWB','wfVuW','thTestRunUuid','enabled','BWNsr','fRgWp','add','info','patchSaveScreenshot','stop','KhYOY','NctcI','UNlAz','eQLfC','prototype','filter','saveScreenshot','forEach','../../helpers/accessibility-automation/scripts','isArray','codeceptjs/lib/utils.js','SDK_TEST','constructor','flushPendingHookEvents','lSLTq','step-comment','codeceptjs','SDK_POST_INITIALIZE','domForge','parse','9602600GBSrSj','__workerDetails','PFRCz','GET_RESULTS_SUMMARY','all','9318bTFxpB','SDK_PRE_INITIALIZE','addRequestSpy','zjYTJ','27ejZQNc','getAccessibilityResultsSummary','devtools://','rcryg','pages','TEutN','installAll','push','browser','start','545955eOvTTc','testFramework','util','slice','container','INFO','hook-failed','BS_TESTOPS_ALLOW_SCREENSHOTS','AIEaW','DDcgs','started','__driver','woUbE','thJwtToken','Puppeteer','SDK_POST_TEST','BS_A11Y_JWT','../../helpers/performance/constants','TEST_SCREENSHOT','debug','rcipd','zhgWP','aZobc','../../helpers/accessibility-automation/helper','commandsToWrap','screenshotOutputFolder','Chzlb','test','base64','TEST_RUN_FINISHED','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','IBEub','string','../../helpers/globals.js','hasLiveDriverSession','after','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','YbeIu','webdriverio','SDK_HOOK','410978QVJQMl','browserstack_executor:\x20','message','TGMqC','ACRsP','getAccessibilityResults','XIOQj','codeceptjs/lib/helper/Playwright.js','ctx','kVlwf','aCtej','tYrRk','bddStep-before','config','4483899DEOEdU','../../bin/playwright/accessibility-helper','from','cTIHa','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','hook-passed','WebDriver','HfWtG','fhlCd','url','TEST_RUN_SKIPPED','Playwright','test-after','thBuildUuid','aYnrn','browserStackExecuteDriver','../../helpers/logger','helpers','toISOString','FzjMK','hook-started','../../helpers/helper','measureWrapper','executeScript','yOLKH','NXSmT','RRnNf','is_mobile_session','chromium','getResults','args','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','step','LZYGi','env','sPYEm','startsWith','_setPage','CJjIr','Element','end','CiRpn','Performing\x20scan\x20for\x20','format','hook','sGXDD','../../helpers/testhub/constants.js','passed','HOOK_RUN_FINISHED','vvMxo','UjcOQ','browserContext','mYkad','\x0aStack:\x20','then','tXSVM','test-before','test-failed','stack','failed','_before','iJdAW','1741240INwZUk','ENV_VAR','EuAEc','bXPOt','comment','UERpe','bddStep','action','contexts','__skipSessionStatus','currentTest','setSessionName','xtoOu','setGlobal','hookType','gIqFx','codeceptjs/lib/recorder.js','split','bufferPendingHookEvent','JYAXj','ztqad','page','SYNC','before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TestCafe','BKJTA','version','pMcuU','GET_RESULTS','stringify','performScan','jSnKN','winstonLogger','TEST_LOG','mWSOY','afterTest','fireEvent','codeceptjs/lib/index.js','toString','bstackAllyScanning','bOPud','1565TzCCzc','PERFORM_SCAN','318tKwCVy','hHVHl','SxXAm','apply'];a1_0x7fde=function(){return _0x16d545;};return a1_0x7fde();}module['exports']=function(_0x49a6c8){const _0x4f8bf2=a1_0xd78b6a,_0x33d205={'BWNsr':function(_0x3aa084,_0x5bf38c){return _0x3aa084(_0x5bf38c);},'UERpe':function(_0xe05459,_0x2b9d91,_0x34f5b7){return _0xe05459(_0x2b9d91,_0x34f5b7);},'EDvuW':_0x4f8bf2(0x11f),'NXSmT':_0x4f8bf2(0x14c),'yroIC':_0x4f8bf2(0x155),'RQKvQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','UNlAz':_0x4f8bf2(0x172),'fhlCd':_0x4f8bf2(0x163),'AIEaW':function(_0xf2f320,_0x21311e,_0x2990b5){return _0xf2f320(_0x21311e,_0x2990b5);},'uNJvY':_0x4f8bf2(0x12e),'IBEub':_0x4f8bf2(0xf3),'kVlwf':function(_0x27d4c5){return _0x27d4c5();},'eQLfC':_0x4f8bf2(0x196),'TEutN':function(_0x5bfb56){return _0x5bfb56();},'pMcuU':function(_0x427593,_0x27e581,_0x460f67){return _0x427593(_0x27e581,_0x460f67);},'npJIS':'test-started','LWJEJ':function(_0x4c5460,_0x10b88f,_0x1ed332){return _0x4c5460(_0x10b88f,_0x1ed332);},'zvNtE':function(_0xb9b54c){return _0xb9b54c();},'jSnKN':_0x4f8bf2(0x1e1),'aZobc':function(_0x58e63d,_0x4f6895,_0x179784,_0x59e05f){return _0x58e63d(_0x4f6895,_0x179784,_0x59e05f);},'iJdAW':function(_0x278f0a,_0x249d52){return _0x278f0a===_0x249d52;},'HfWtG':'Suite','bOPud':_0x4f8bf2(0x197),'TGMqC':'test-skipped','yOLKH':_0x4f8bf2(0x1c0),'UjcOQ':'isMobilePlatform','bXPOt':function(_0x1742df){return _0x1742df();},'Bmgai':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LZXBF':_0x4f8bf2(0x16a),'SFVEZ':_0x4f8bf2(0x12d),'xarun':_0x4f8bf2(0x1be),'KhYOY':_0x4f8bf2(0x110),'DDcgs':_0x4f8bf2(0x15c),'BNCqN':'bddStep-after','nPdiR':_0x4f8bf2(0x169)};_0x49a6c8[_0x4f8bf2(0xf6)]&&(global[_0x4f8bf2(0x1a5)]=_0x49a6c8[_0x4f8bf2(0xf6)]);PerformanceTester[_0x4f8bf2(0xe0)]();const _0x386324=_0x33d205[_0x4f8bf2(0x123)](getCodeceptDriver),_0x5780d0=new O11yHelper(_0x386324,_0x49a6c8),_0x12d6e4=!!CodeceptJS[_0x4f8bf2(0x12c)][_0x4f8bf2(0x16f)](_0x33d205['nPdiR']);global[_0x4f8bf2(0x133)]=_0x386324;_0x386324&&(PerformanceTester[_0x4f8bf2(0x174)](PerformanceEvents[_0x4f8bf2(0x11b)],()=>{const _0xab6bc2=_0x4f8bf2;_0x12d6e4?_0x33d205['BWNsr'](patchPlaywrightBefore,_0x5780d0):_0x33d205[_0xab6bc2(0x1a1)](patchWebDriverBefore,_0x386324,_0x5780d0);})(),PerformanceTester[_0x4f8bf2(0x174)](PerformanceEvents[_0x4f8bf2(0x112)],()=>{const _0x39d8d5=_0x4f8bf2,_0x1ac5d7={};_0x1ac5d7['PzpfS']=_0x33d205[_0x39d8d5(0x1cf)],_0x1ac5d7[_0x39d8d5(0x1ca)]=_0x33d205[_0x39d8d5(0xe7)];const _0x1bccdd=_0x1ac5d7;_0x386324[_0x39d8d5(0x11f)]=async()=>{const _0x556098=_0x39d8d5;if(global[_0x556098(0xea)]){const _0x412ed9={};return _0x412ed9[_0x556098(0xee)]=_0x33d205['EDvuW'],await PerformanceTester[_0x556098(0x174)](PerformanceA11yEvents[_0x556098(0x1c7)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts['performScan']);},_0x412ed9)(),await PerformanceTester[_0x556098(0x174)](PerformanceA11yEvents[_0x556098(0x118)],async()=>{const _0x49739e=_0x556098;return await AccessibilityHelper[_0x49739e(0x16d)](_0x386324,scripts['getResultsSummary']);})();}return logger[_0x556098(0xe8)](_0x33d205[_0x556098(0x177)]),{};},_0x386324[_0x39d8d5(0x155)]=async()=>{const _0x360207=_0x39d8d5;if(global[_0x360207(0xea)]){const _0x22d275={};return _0x22d275[_0x360207(0xee)]=_0x1bccdd[_0x360207(0x1e2)],await PerformanceTester[_0x360207(0x174)](PerformanceA11yEvents[_0x360207(0x1c7)],async()=>{const _0x31a55d=_0x360207;return await AccessibilityHelper[_0x31a55d(0x16d)](_0x386324,scripts[_0x31a55d(0x1bb)]);},_0x22d275)(),await PerformanceTester[_0x360207(0x174)](PerformanceA11yEvents[_0x360207(0x1b9)],async()=>{const _0x2f5c2c=_0x360207;return await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts[_0x2f5c2c(0x17b)]);})();}return logger['warn'](_0x1bccdd['SxXAm']),{};},_0x33d205[_0x39d8d5(0xfb)](patchSaveScreenshot,_0x386324);})());CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x119)][_0x4f8bf2(0x1b3)],()=>{const _0x4cb32e=_0x4f8bf2;PerformanceTester[_0x4cb32e(0x127)](PerformanceEvents[_0x4cb32e(0x1d2)]);try{_0x5780d0['start'](),testOpsHelper[_0x4cb32e(0x11c)](),PerformanceTester[_0x4cb32e(0x186)](PerformanceEvents[_0x4cb32e(0x1d2)]);}catch(_0x2e552b){PerformanceTester[_0x4cb32e(0xef)](_0x2e552b),PerformanceTester[_0x4cb32e(0x186)](PerformanceEvents[_0x4cb32e(0x1d2)],![],_0x2e552b);}}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS[_0x4f8bf2(0x1d0)]['all'][_0x4f8bf2(0x14b)],async()=>{const _0x4ffbc6=_0x4f8bf2;PerformanceTester[_0x4ffbc6(0x127)](PerformanceEvents[_0x4ffbc6(0x137)]);try{requestSpy[_0x4ffbc6(0x1dd)](),await _0x5780d0[_0x4ffbc6(0x100)](),PerformanceTester[_0x4ffbc6(0x186)](PerformanceEvents[_0x4ffbc6(0x137)]);}catch(_0x17e5b3){PerformanceTester[_0x4ffbc6(0xef)](_0x17e5b3),PerformanceTester[_0x4ffbc6(0x186)](PerformanceEvents[_0x4ffbc6(0x137)],![],_0x17e5b3);}finally{PerformanceTester[_0x4ffbc6(0xec)]();}});const _0x402436=(_0x52e169,_0x3161a0)=>{const _0x586cff=_0x4f8bf2;if(!_0x5780d0)return;if(!_0x5780d0[_0x586cff(0x14a)]()){_0x5780d0[_0x586cff(0x1ae)](_0x52e169,_0x3161a0);return;}CodeceptRecorder[_0x586cff(0xfd)](()=>_0x5780d0[_0x586cff(0x1c1)](_0x52e169,_0x3161a0));};CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x18a)]['started'],_0x2efa54=>{const _0x1733df=_0x4f8bf2;PerformanceTester[_0x1733df(0x127)](PerformanceEvents[_0x1733df(0x14f)]);try{const _0x197d10=_0x2efa54[_0x1733df(0x158)][_0x1733df(0x143)],_0x3f28bb=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1733df(0xe5)],_0x197d10);_0x33d205[_0x1733df(0x1a1)](_0x402436,TEST_EVENTS[_0x1733df(0xe5)],_0x3f28bb);const _0x32dda4={};_0x32dda4[_0x1733df(0x1aa)]=_0x33d205[_0x1733df(0x103)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x32dda4);}catch(_0x5640d1){const _0x3944b7={};_0x3944b7[_0x1733df(0x1aa)]=_0x33d205[_0x1733df(0x103)],PerformanceTester[_0x1733df(0x186)](PerformanceEvents[_0x1733df(0x14f)],![],_0x5640d1,_0x3944b7),PerformanceTester[_0x1733df(0xef)](_0x5640d1);}}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS['event'][_0x4f8bf2(0x18a)][_0x4f8bf2(0x18d)],_0x29c3e8=>{const _0x4bfc2f=_0x4f8bf2,_0x31738d={};_0x31738d[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester[_0x4bfc2f(0x127)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x31738d);try{const _0x21cbf4=_0x29c3e8[_0x4bfc2f(0x158)][_0x4bfc2f(0x143)],_0x578afc=_0x5780d0[_0x4bfc2f(0x1e9)](TEST_EVENTS[_0x4bfc2f(0x18e)],_0x21cbf4);_0x33d205['AIEaW'](_0x402436,TEST_EVENTS[_0x4bfc2f(0x18e)],_0x578afc);const _0x1ae61b={};_0x1ae61b[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester['end'](PerformanceHookEvents[_0x4bfc2f(0x14f)],!![],null,_0x1ae61b);}catch(_0x203632){PerformanceTester[_0x4bfc2f(0xef)](_0x203632);const _0x1bd357={};_0x1bd357[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester[_0x4bfc2f(0x186)](PerformanceHookEvents['SDK_HOOK'],![],_0x203632,_0x1bd357);}}),CodeceptJS['event'][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x18a)][_0x4f8bf2(0x199)],async(_0x230615,_0x3d5eea)=>{const _0x12721a=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x3adb32=_0x230615[_0x12721a(0x158)]['test'],_0x4b5fb8=_0x5780d0[_0x12721a(0x1e9)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3adb32,_0x3d5eea);_0x33d205[_0x12721a(0x130)](_0x402436,TEST_EVENTS[_0x12721a(0x18e)],_0x4b5fb8);const _0x377f19={};_0x377f19[_0x12721a(0x1aa)]=_0x33d205[_0x12721a(0x1d1)],PerformanceTester[_0x12721a(0x127)](PerformanceHookEvents[_0x12721a(0x14f)],!![],null,_0x377f19);}catch(_0x3e18d0){PerformanceTester[_0x12721a(0xef)](_0x3e18d0);const _0xd527a2={};_0xd527a2['hookType']=_0x33d205[_0x12721a(0x1d1)],PerformanceTester[_0x12721a(0x186)](PerformanceHookEvents['SDK_HOOK'],![],_0x3e18d0,_0xd527a2);}const _0x50045f={};_0x50045f[_0x12721a(0x1aa)]=_0x33d205[_0x12721a(0x1d1)],PerformanceTester['end'](PerformanceHookEvents[_0x12721a(0x14f)],!![],null,_0x50045f);}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS['event'][_0x4f8bf2(0x143)][_0x4f8bf2(0x1b3)],_0x361cbf=>{const _0x6dc416=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents[_0x6dc416(0x14f)]);try{globals[_0x6dc416(0x1a9)](_0x33d205[_0x6dc416(0x147)],_0x361cbf[_0x6dc416(0xed)]);_0x33d205[_0x6dc416(0x159)](isBrowserstackInfra)&&(_0x12d6e4&&(global[_0x6dc416(0x116)]={'currentTest':{'name':_0x361cbf[_0x6dc416(0xed)],'testInfo':{'titlePath':_0x361cbf[_0x6dc416(0xeb)]()}}}));const _0x50f258={};_0x50f258[_0x6dc416(0x1aa)]=_0x33d205[_0x6dc416(0x104)],PerformanceTester[_0x6dc416(0x186)](PerformanceHookEvents[_0x6dc416(0x14f)],!![],null,_0x50f258);}catch(_0x5b0575){PerformanceTester[_0x6dc416(0xef)](_0x5b0575);const _0x59d8f6={};_0x59d8f6['hookType']=_0x33d205[_0x6dc416(0x104)],PerformanceTester[_0x6dc416(0x186)](PerformanceHookEvents[_0x6dc416(0x14f)],![],_0x5b0575,_0x59d8f6);}}),CodeceptJS['event'][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x132)],_0x726bb2=>{const _0x2e13eb=_0x4f8bf2,_0x59d48a={'bHoWK':function(_0x4e12e7){const _0x54c154=a1_0x6be4;return _0x33d205[_0x54c154(0x123)](_0x4e12e7);},'ztqad':function(_0x566a21,_0x33ae51){const _0x4000dc=a1_0x6be4;return _0x33d205[_0x4000dc(0xfb)](_0x566a21,_0x33ae51);},'mWSOY':function(_0x132961,_0x838762,_0x1c8bbe){const _0x3613bb=a1_0x6be4;return _0x33d205[_0x3613bb(0x1b8)](_0x132961,_0x838762,_0x1c8bbe);}};PerformanceTester[_0x2e13eb(0x127)](PerformanceHookEvents[_0x2e13eb(0x14f)]);try{globals[_0x2e13eb(0x1a9)](_0x33d205[_0x2e13eb(0x147)],_0x726bb2[_0x2e13eb(0xed)]);const _0x36bcbf=_0x5780d0[_0x2e13eb(0x1e9)](TEST_EVENTS['TEST_RUN_STARTED'],_0x726bb2);CodeceptRecorder[_0x2e13eb(0xfd)](()=>_0x5780d0[_0x2e13eb(0x10e)]()),CodeceptRecorder[_0x2e13eb(0xfd)](()=>_0x5780d0[_0x2e13eb(0x1c1)](TEST_EVENTS[_0x2e13eb(0x1d5)],_0x36bcbf)),CodeceptRecorder['add'](async()=>{const _0x2e8430=_0x2e13eb;_0x59d48a[_0x2e8430(0x1e6)](isBrowserstackInfra)&&(!_0x59d48a['ztqad'](isTrue,_0x49a6c8[_0x2e8430(0xe3)])&&await _0x59d48a[_0x2e8430(0x1bf)](markSessionName,_0x386324,_0x726bb2[_0x2e8430(0xed)]),_0x5780d0[_0x2e8430(0xfa)]&&await _0x59d48a[_0x2e8430(0x1b0)](o11ySync,_0x386324));});}catch(_0x1d909e){const _0xe64563={};_0xe64563[_0x2e13eb(0x1aa)]=_0x33d205['npJIS'],PerformanceTester[_0x2e13eb(0x186)](PerformanceHookEvents[_0x2e13eb(0x14f)],![],_0x1d909e,_0xe64563),PerformanceTester[_0x2e13eb(0xef)](_0x1d909e);}const _0x148ba9={};_0x148ba9[_0x2e13eb(0x1aa)]=_0x33d205[_0x2e13eb(0x1e4)],PerformanceTester[_0x2e13eb(0x186)](PerformanceHookEvents[_0x2e13eb(0x14f)],!![],null,_0x148ba9);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x18d)],_0x211c09=>{const _0x2e117c=_0x4f8bf2,_0x3c036c={'gIqFx':function(_0x48d886,_0x133493,_0xbc70d6){return _0x33d205['LWJEJ'](_0x48d886,_0x133493,_0xbc70d6);},'SKTBB':function(_0x3004ef){return _0x33d205['zvNtE'](_0x3004ef);}};PerformanceTester[_0x2e117c(0x127)](PerformanceHookEvents['SDK_HOOK']);try{const _0x308c6a=_0x5780d0[_0x2e117c(0x1e9)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x211c09);CodeceptRecorder[_0x2e117c(0xfd)](()=>_0x5780d0[_0x2e117c(0x1c1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x308c6a)),CodeceptRecorder['add'](async()=>{const _0x1e9112=_0x2e117c;_0x3c036c['SKTBB'](isBrowserstackInfra)&&await PerformanceTester[_0x1e9112(0x174)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1f3746=_0x1e9112;_0x12d6e4?await _0x3c036c[_0x1f3746(0x1ab)](playwrightMarkSessionStatus,_0x386324,STATE_PASSED):await _0x3c036c['gIqFx'](markSessionStatus,_0x386324,STATE_PASSED);})();}),PerformanceTester[_0x2e117c(0x186)](PerformanceEvents[_0x2e117c(0x10c)]);}catch(_0x302b47){PerformanceTester[_0x2e117c(0xef)](_0x302b47);const _0x4f6085={};_0x4f6085[_0x2e117c(0x1aa)]=_0x33d205['jSnKN'],PerformanceTester['end'](PerformanceHookEvents[_0x2e117c(0x14f)],![],_0x302b47,_0x4f6085),PerformanceTester[_0x2e117c(0x186)](PerformanceEvents[_0x2e117c(0x10c)],![],_0x302b47);}const _0x5854d9={};_0x5854d9[_0x2e117c(0x1aa)]=_0x33d205[_0x2e117c(0x1bc)],PerformanceTester[_0x2e117c(0x186)](PerformanceHookEvents[_0x2e117c(0x14f)],!![],null,_0x5854d9);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS['event'][_0x4f8bf2(0x143)][_0x4f8bf2(0x199)],(_0x5d9216,_0x3d7564)=>{const _0x1160f7=_0x4f8bf2;PerformanceTester[_0x1160f7(0x127)](PerformanceHookEvents[_0x1160f7(0x14f)]);try{if(_0x33d205[_0x1160f7(0x19b)](_0x5d9216[_0x1160f7(0x10d)][_0x1160f7(0xda)],_0x33d205[_0x1160f7(0x165)])){const _0x43ad5b=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1160f7(0x168)],_0x5d9216[_0x1160f7(0x158)][_0x1160f7(0x1a6)]);CodeceptRecorder[_0x1160f7(0xfd)](()=>_0x5780d0[_0x1160f7(0x1c1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x43ad5b));}else{const _0x109f41=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1160f7(0x145)],_0x5d9216,_0x3d7564);CodeceptRecorder['add'](()=>{const _0x4e24b5=_0x1160f7;try{_0x5780d0[_0x4e24b5(0x1c1)](TEST_EVENTS[_0x4e24b5(0x145)],_0x109f41);}catch(_0x26edca){logger[_0x4e24b5(0x13b)](_0x4e24b5(0x17d)+util['format'](_0x26edca)),PerformanceTester[_0x4e24b5(0x186)](PerformanceEvents[_0x4e24b5(0x10c)],![],_0x26edca);}}),CodeceptRecorder[_0x1160f7(0xfd)](async()=>{const _0x591cc9=_0x1160f7;try{_0x33d205[_0x591cc9(0x123)](isBrowserstackInfra)&&(_0x12d6e4?await _0x33d205['aZobc'](playwrightMarkSessionStatus,_0x386324,STATE_FAILED,_0x3d7564):await _0x33d205[_0x591cc9(0x13e)](markSessionStatus,_0x386324,STATE_FAILED,_0x3d7564));}catch(_0x42eccf){logger[_0x591cc9(0x13b)](_0x591cc9(0x1b4)+util[_0x591cc9(0x189)](_0x42eccf)),PerformanceTester[_0x591cc9(0x186)](PerformanceEvents[_0x591cc9(0x10c)],![],_0x42eccf);}});}PerformanceTester[_0x1160f7(0x186)](PerformanceEvents[_0x1160f7(0x10c)]);}catch(_0x466683){PerformanceTester[_0x1160f7(0xef)](_0x466683);const _0x458464={};_0x458464[_0x1160f7(0x1aa)]=_0x33d205[_0x1160f7(0x1c5)],PerformanceTester[_0x1160f7(0x186)](PerformanceHookEvents[_0x1160f7(0x14f)],![],_0x466683,_0x458464),PerformanceTester[_0x1160f7(0x186)](PerformanceEvents[_0x1160f7(0x10c)],![],_0x466683);}const _0xc410d={};_0xc410d[_0x1160f7(0x1aa)]=_0x33d205[_0x1160f7(0x1c5)],PerformanceTester[_0x1160f7(0x186)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xc410d);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)]['test'][_0x4f8bf2(0x1ce)],_0x31e86a=>{const _0x348c1b=_0x4f8bf2;PerformanceTester[_0x348c1b(0x127)](PerformanceHookEvents[_0x348c1b(0x14f)]);try{const _0x5541a5=_0x5780d0[_0x348c1b(0x1e9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x31e86a);CodeceptRecorder[_0x348c1b(0xfd)](()=>_0x5780d0[_0x348c1b(0x1c1)](TEST_EVENTS[_0x348c1b(0x168)],_0x5541a5)),PerformanceTester[_0x348c1b(0x186)](PerformanceEvents[_0x348c1b(0x10c)]);}catch(_0x1abe20){PerformanceTester[_0x348c1b(0xef)](_0x1abe20),PerformanceTester[_0x348c1b(0x186)](PerformanceEvents[_0x348c1b(0x10c)],![],_0x1abe20);const _0x3715de={};_0x3715de[_0x348c1b(0x1aa)]=_0x33d205[_0x348c1b(0x153)],PerformanceTester[_0x348c1b(0x186)](PerformanceHookEvents[_0x348c1b(0x14f)],![],_0x1abe20,_0x3715de);}const _0x232492={};_0x232492['hookType']=_0x33d205[_0x348c1b(0x153)],PerformanceTester[_0x348c1b(0x186)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x232492);}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x14b)],async(_0x3531fe,_0x24f1e7)=>{const _0x105f5c=_0x4f8bf2;try{PerformanceTester[_0x105f5c(0x127)](PerformanceHookEvents[_0x105f5c(0x14f)]);const _0x2f6841=_0x33d205[_0x105f5c(0x130)](shouldScanTestForAccessibility,_0x3531fe[_0x105f5c(0xeb)](),!![]);if(_0x33d205[_0x105f5c(0x19f)](isAccessibilityAutomationSession)&&global[_0x105f5c(0xea)]&&_0x2f6841){const _0x4676da={};_0x4676da[_0x105f5c(0xf9)]=_0x3531fe['testAnalyticsId'],_0x4676da[_0x105f5c(0x16b)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4676da[_0x105f5c(0x135)]=process['env'][testHubConstants[_0x105f5c(0x19d)][_0x105f5c(0x1e5)]];const _0x280922=_0x4676da;logger[_0x105f5c(0x13b)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x105f5c(0x1ba)](_0x280922)),CodeceptRecorder[_0x105f5c(0xfd)](async()=>{const _0x6541=_0x105f5c,_0x16d70c={};_0x16d70c['command']=_0x33d205[_0x6541(0x176)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x6541(0x1c7)],async()=>{const _0x524fe8=_0x6541;await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts[_0x524fe8(0x1bb)]);},_0x16d70c)(),globals['getGlobal'](_0x33d205[_0x6541(0x190)])&&(_0x280922[_0x6541(0x179)]=!![]),await PerformanceTester[_0x6541(0x174)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4b4b6e=_0x6541;await AccessibilityHelper[_0x4b4b6e(0x16d)](_0x386324,scripts['saveTestResults'],_0x280922);})();}),logger[_0x105f5c(0xfe)](_0x33d205['Bmgai']);}const _0x274d03={};_0x274d03[_0x105f5c(0x1aa)]=_0x33d205['LZXBF'],PerformanceTester[_0x105f5c(0x186)](PerformanceHookEvents[_0x105f5c(0x14f)],!![],null,_0x274d03);}catch(_0x3b6800){PerformanceTester[_0x105f5c(0xef)](_0x3b6800);const _0x16fe1b={};_0x16fe1b[_0x105f5c(0x1aa)]=_0x33d205['LZXBF'],PerformanceTester[_0x105f5c(0x186)](PerformanceHookEvents[_0x105f5c(0x14f)],![],_0x3b6800,_0x16fe1b);}}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x17e)][_0x4f8bf2(0x1a0)],_0xc64a07=>{const _0x3c11fa=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents[_0x3c11fa(0x14f)]);try{process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x3c11fa(0x170)](),'level':_0x33d205[_0x3c11fa(0xde)],'message':_0xc64a07,'kind':_0x33d205['xarun'],'http_response':{}});}catch(_0x3eb22e){PerformanceTester['captureError'](_0x3eb22e);const _0x5bea21={};_0x5bea21[_0x3c11fa(0x1aa)]=_0x33d205[_0x3c11fa(0x101)],PerformanceTester[_0x3c11fa(0x186)](PerformanceHookEvents[_0x3c11fa(0x14f)],![],_0x3eb22e,_0x5bea21);}const _0x553be5={};_0x553be5[_0x3c11fa(0x1aa)]=_0x33d205[_0x3c11fa(0x101)],PerformanceTester['end'](PerformanceHookEvents[_0x3c11fa(0x14f)],!![],null,_0x553be5);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x1a2)]['before'],_0xa4bc4f=>{const _0x75bd30=_0x4f8bf2,_0x18fd1e={};_0x18fd1e[_0x75bd30(0x1aa)]=_0x33d205[_0x75bd30(0x131)],PerformanceTester[_0x75bd30(0x174)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x1e9f3d=_0x75bd30;_0x5780d0[_0x1e9f3d(0x1e7)](_0xa4bc4f);},_0x18fd1e)();}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x1a2)][_0x4f8bf2(0x14b)],_0x21639e=>{const _0x2b0ef2=_0x4f8bf2,_0x3a2098={};_0x3a2098[_0x2b0ef2(0x1aa)]=_0x33d205['BNCqN'],PerformanceTester[_0x2b0ef2(0x174)](PerformanceHookEvents[_0x2b0ef2(0x14f)],()=>{_0x5780d0['bddStepFinish'](_0x21639e);},_0x3a2098)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x21aca5=a2_0x4152;(function(_0x2e5666,_0x4a8c85){const _0x46f7ca=a2_0x4152,_0x5f214f=_0x2e5666();while(!![]){try{const _0x5cb8a9=-parseInt(_0x46f7ca(0x159))/0x1*(-parseInt(_0x46f7ca(0x170))/0x2)+parseInt(_0x46f7ca(0x192))/0x3+parseInt(_0x46f7ca(0x19e))/0x4*(parseInt(_0x46f7ca(0x17b))/0x5)+parseInt(_0x46f7ca(0x18d))/0x6*(parseInt(_0x46f7ca(0x1d3))/0x7)+parseInt(_0x46f7ca(0x147))/0x8+parseInt(_0x46f7ca(0x16f))/0x9+-parseInt(_0x46f7ca(0x1a3))/0xa*(parseInt(_0x46f7ca(0x152))/0xb);if(_0x5cb8a9===_0x4a8c85)break;else _0x5f214f['push'](_0x5f214f['shift']());}catch(_0x432275){_0x5f214f['push'](_0x5f214f['shift']());}}}(a2_0x5ae2,0x7ee06));const fs=require('fs'),path=require(a2_0x21aca5(0x1ca)),util=require('util'),process=require(a2_0x21aca5(0x149)),logger=require('../../helpers/logger')[a2_0x21aca5(0x13f)],{default:BrowserStackSetup}=require(a2_0x21aca5(0x15d)),helper=require(a2_0x21aca5(0x15f)),utilities=require(a2_0x21aca5(0x1cb)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x21aca5(0x1d4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x21aca5(0x15f)),CodeceptJS=requireModule(a2_0x21aca5(0x190),'codeceptjs'),testOpsHelper=require(a2_0x21aca5(0x181)),TestHubHandler=require(a2_0x21aca5(0x187)),constants=require(a2_0x21aca5(0x1b8)),PerformanceTester=require(a2_0x21aca5(0x1bf)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x21aca5(0x1c5)],ClientTroubleShootingService=require(a2_0x21aca5(0x14d)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xe3d05f,_0x52b00d)=>{const _0xb97b67=a2_0x21aca5,_0xec583c={};_0xec583c[_0xb97b67(0x156)]=function(_0x2666f9,_0x558f7b){return _0x2666f9===_0x558f7b;},_0xec583c['RKItm']=_0xb97b67(0x143),_0xec583c['NpvHZ']=_0xb97b67(0x16a);const _0x1c274e=_0xec583c;let _0x33249c=null;const _0x2f5fb8={};let _0x2e3ffb=_0x52b00d[_0xb97b67(0x197)](_0x589a5a=>_0x589a5a===_0xb97b67(0x1a9));_0x1c274e['kyYos'](_0x2e3ffb,-0x1)&&(_0x2e3ffb=_0x52b00d[_0xb97b67(0x197)](_0x22bb6d=>_0x22bb6d==='-c'));if(!helper[_0xb97b67(0x174)](_0xe3d05f[_0xb97b67(0x1c2)])&&fs[_0xb97b67(0x1d7)](path['join'](process[_0xb97b67(0x168)](),_0xe3d05f[_0xb97b67(0x1c2)])))_0x33249c=path['join'](process[_0xb97b67(0x168)](),_0xe3d05f[_0xb97b67(0x1c2)]),_0x52b00d[_0xb97b67(0x17c)](_0x2e3ffb,0x2);else{if(!helper[_0xb97b67(0x174)](_0xe3d05f['c'])&&fs[_0xb97b67(0x1d7)](path[_0xb97b67(0x19f)](process[_0xb97b67(0x168)](),_0xe3d05f['c'])))_0x33249c=path['join'](process[_0xb97b67(0x168)](),_0xe3d05f['c']),_0x52b00d[_0xb97b67(0x17c)](_0x2e3ffb,0x2);else{if(fs[_0xb97b67(0x1d7)](path[_0xb97b67(0x19f)](process[_0xb97b67(0x168)](),_0x1c274e[_0xb97b67(0x165)])))_0x33249c=path[_0xb97b67(0x19f)](process[_0xb97b67(0x168)](),_0x1c274e[_0xb97b67(0x165)]);else fs['existsSync'](path[_0xb97b67(0x19f)](process['cwd'](),_0x1c274e[_0xb97b67(0x175)]))&&(_0x33249c=path['join'](process['cwd'](),_0x1c274e[_0xb97b67(0x175)]));}}return process['env']['USER_CONFIG_DETAILS_PATH']=_0x33249c,_0x33249c;},getO11yRerunPattern=()=>{const _0x3e010=a2_0x21aca5,_0x8687ff=helper[_0x3e010(0x14a)](process[_0x3e010(0x1c0)][_0x3e010(0x15e)]);if(_0x8687ff){const _0x1e1e6a=process[_0x3e010(0x1c0)][_0x3e010(0x139)],_0xf9f376=[];if(helper[_0x3e010(0x1a6)](_0x1e1e6a)&&!helper[_0x3e010(0x174)](_0x1e1e6a)){_0x1e1e6a[_0x3e010(0x198)](',')[_0x3e010(0x1d0)](_0x2e7ba8=>{_0xf9f376['push']('('+_0x2e7ba8['trim']()+')');});const _0x41bfe8='^'+_0xf9f376[_0x3e010(0x19f)]('|')+'$';return _0x41bfe8;}}return null;},a2_0x5632c3={};function a2_0x5ae2(){const _0x2307f2=['FRAMEWORKS','MytBx','map','Started\x20:\x20','stringify','371XUKsJU','../../bin/playwright/accessibility-helper','exports','all','existsSync','ellza','wiNTs','host','mgzVC','printResults','XNWYg','morIM','BROWSERSTACK_RERUN_TESTS','skipSessionName','now','gherkin','yiOix','FDwrp','winstonLogger','format','FZhFW','mGPwh','codecept.conf.js','bootstrapAll','result','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','3392016YTxHaH','ksLol','process','isTrue','teardownAll','user','../utils/clientTroubleshootingService','BROWSERSTACK_TEST_OBSERVABILITY_YML','prepareCapabilities','printBuildLink','BROWSERSTACK_TEST_ACCESSIBILITY_YML','11OGgvMi','mergeDeep','CODECEPT','BrowserStackPlugin','kyYos','getPlatformName','SDK_SETUP','354Rohbel','browser','skipSessionStatus','FhIMM','../../helpers/BrowserStackSetup','BROWSERSTACK_RERUN','../../helpers/helper','browserWSEndpoint','assign','playwright-webkit','end','handleApp','RKItm','browserName','hMckU','cwd','chdir','codecept.json','test','WebDriver','hubUrl','Playwright','6682860VIgubN','998GlgpGa','accessibility','ZxDdZ','spawn','isUndefined','NpvHZ','validPlatformsPresent','addConfig','passed','eqvVI','getPlaywrightUrl','5ovhrWS','slice','before','FrWWE','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','require','../../helpers/test-observability/utils','key','setAdditionalCapabilities','debug','chromium','testContextOptions','../../helpers/testhub/testhubHandler','BROWSERSTACK_FRAMEWORK','stop','Pnqmv','testObservability','isTestObservabilitySession','54654QFmaYg','start','BcvZd','codeceptjs/lib/index.js','parallelsPerPlatform','130980sgCeAh','FKrLA','GRHsr','FbkzI','avCEp','findIndex','split','createGroupsOfSuites','/wd/hub','PYzqk','profile','hGeGx','483872bEvdik','join','browserStackCwd','addTests','uLmxT','14709070zIoLRn','Workers','finalExecution','validateRerunTestList','forEach','chrome','--config','playwright-chromium','mISuD','accessKey','TZvva','plugins','platforms','accessibilityOptions','helpers','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','title','dirname','push','frameworkName','run','../utils/constants','failed','Passed\x20:\x20','izsBn','ZghZG','FkJjS','toLowerCase','../../helpers/performance/performance-tester','env','event','config','tGCyu','info','EVENTS','length','firefox','desiredCapabilities','stack','path','../../helpers/utilities','isEmpty','replace'];a2_0x5ae2=function(){return _0x2307f2;};return a2_0x5ae2();}a2_0x5632c3[a2_0x21aca5(0x1a8)]=a2_0x21aca5(0x185),a2_0x5632c3[a2_0x21aca5(0x1aa)]=a2_0x21aca5(0x185),a2_0x5632c3['playwright-firefox']=a2_0x21aca5(0x1c7),a2_0x5632c3[a2_0x21aca5(0x162)]='webkit';const pwToCodeceptBrowser=a2_0x5632c3;async function run(_0x1b4d8d,_0x4c3d1f,_0x5b2b08){const _0x43c296=a2_0x21aca5,_0x43638b={'XNWYg':function(_0x260728,_0x26ea59,_0x16788d,_0x9b9859){return _0x260728(_0x26ea59,_0x16788d,_0x9b9859);},'eqvVI':function(_0x3a0825,_0x5e039b){return _0x3a0825+_0x5e039b;},'izsBn':function(_0x1f2896,_0x279a85){return _0x1f2896(_0x279a85);},'JFKGS':function(_0x2be6a7,_0x118325){return _0x2be6a7+_0x118325;},'FkJjS':function(_0x32d76a,_0x41a984,_0x248e12){return _0x32d76a(_0x41a984,_0x248e12);},'PYzqk':_0x43c296(0x1b1),'FbkzI':function(_0x32ae3f){return _0x32ae3f();},'FDwrp':_0x43c296(0x19a),'wiNTs':function(_0x293187){return _0x293187();},'morIM':'Failed\x20:\x20','mgzVC':_0x43c296(0x1ba),'nSDdF':_0x43c296(0x1d1),'TZvva':'3|0|5|2|1|4','yiOix':function(_0x4e3be7,_0xa7d93,_0x35d13d){return _0x4e3be7(_0xa7d93,_0x35d13d);},'BcvZd':_0x43c296(0x17f),'ZxDdZ':_0x43c296(0x16e),'hMckU':_0x43c296(0x16c),'Pnqmv':function(_0x2e56c9,_0x10559e){return _0x2e56c9(_0x10559e);},'FKrLA':function(_0xf1739d,_0x59a142){return _0xf1739d!=_0x59a142;},'mISuD':function(_0x47b169,_0x3607e4){return _0x47b169===_0x3607e4;},'avCEp':function(_0xd39040,_0x332008,_0x476f4c){return _0xd39040(_0x332008,_0x476f4c);},'uLmxT':_0x43c296(0x13c),'hGeGx':function(_0x38bd05){return _0x38bd05();},'mbtWB':function(_0x1cf3cd,_0x506090){return _0x1cf3cd*_0x506090;},'GRHsr':_0x43c296(0x15a),'FZhFW':function(_0x750a09,_0x37844f,_0x27b989){return _0x750a09(_0x37844f,_0x27b989);},'mGPwh':'desiredCapabilities','FrWWE':function(_0x41848a,_0x5cbcc0,_0x416f86){return _0x41848a(_0x5cbcc0,_0x416f86);},'FhIMM':'root','MytBx':'BrowserStackPlugin.js','ZghZG':_0x43c296(0x1a0),'TTECT':'codeceptjs'};await _0x5b2b08['initialize'](_0x1b4d8d),await helper[_0x43c296(0x164)](_0x5b2b08[_0x43c296(0x1c2)]);if(!_0x5b2b08['config'])return;process[_0x43c296(0x19c)]=_0x1b4d8d['profile'];_0x1b4d8d[_0x43c296(0x19c)]&&(process[_0x43c296(0x1c0)][_0x43c296(0x19c)]=_0x1b4d8d['profile']);const _0x29eea5=_0x43638b[_0x43c296(0x13d)](getUserCodeceptJSConfigs,_0x1b4d8d,_0x4c3d1f);let _0x37674e={};_0x29eea5?(logger[_0x43c296(0x1c4)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x29eea5),_0x37674e=CodeceptJS[_0x43c296(0x1c2)]['load'](_0x29eea5)):logger[_0x43c296(0x1c4)](_0x43638b[_0x43c296(0x18f)]);let _0x2ca104=![];_0x43638b[_0x43c296(0x1bd)](nestedKeyValue,_0x37674e,[_0x43638b['PYzqk'],_0x43638b[_0x43c296(0x172)]])&&(_0x2ca104=!![]);const _0x465938=_0x2ca104?_0x43638b[_0x43c296(0x172)]:_0x43638b[_0x43c296(0x167)];let _0x19777d=!_0x2ca104?helper['useW3C'](_0x5b2b08[_0x43c296(0x1c2)]):![];!helper[_0x43c296(0x174)](_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x1b0)])&&(process[_0x43c296(0x1c0)][_0x43c296(0x1b2)]=JSON['stringify'](_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x1b0)]));let _0x4e9875=_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x171)];_0x4e9875=_0x4e9875||_0x43638b[_0x43c296(0x18a)](checkAccessibilityPlatformConfig,_0x5b2b08[_0x43c296(0x1c2)]),process[_0x43c296(0x1c0)][_0x43c296(0x151)]=_0x4e9875;_0x4e9875&&(_0x19777d=!_0x4e9875);_0x43638b[_0x43c296(0x193)](_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x18b)],null)?process[_0x43c296(0x1c0)][_0x43c296(0x14e)]=_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x18b)]:process['env'][_0x43c296(0x14e)]=_0x43638b[_0x43c296(0x1ab)](_0x465938,_0x43638b[_0x43c296(0x172)]);const _0x5c1bd8=_0x43638b[_0x43c296(0x196)](nestedKeyValue,_0x37674e,[_0x43638b[_0x43c296(0x1a2)]]),_0xd15953=_0x5c1bd8&&!helper[_0x43c296(0x1cc)](_0x5c1bd8)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x43c296(0x154)],_0x5f1bff=await TestHubHandler['launchBuild'](_0xd15953,_0x5b2b08);_0x4e9875&&_0x43638b[_0x43c296(0x1bb)](setAccessibilityCapabilities,_0x5b2b08[_0x43c296(0x1c2)]);const _0x2fdf48={},_0x2b70e0=[],_0x5826d2=_0x5b2b08['config'][_0x43c296(0x191)]||helper['getUserWorkerCount'](_0x1b4d8d,_0x4c3d1f,_0x5b2b08['config'],constants[_0x43c296(0x1ce)][_0x43c296(0x154)])||0x1;let _0x4f4f32=0x1;if(_0x43638b[_0x43c296(0x19d)](isBrowserstackInfra)){const _0x36d406=helper[_0x43c296(0x14f)](_0x5b2b08['config'],_0x19777d,constants[_0x43c296(0x1ce)][_0x43c296(0x154)]);_0x36d406[_0x43c296(0x1a7)](_0x2c7c31=>{const _0x22c446=_0x43c296;helper[_0x22c446(0x183)](_0x2c7c31);}),helper[_0x43c296(0x176)](_0x5b2b08[_0x43c296(0x1c2)])?_0x4f4f32=_0x43638b['mbtWB'](_0x5826d2,_0x5b2b08[_0x43c296(0x1c2)][_0x43c296(0x1af)][_0x43c296(0x1c6)]):_0x4f4f32=_0x5826d2,_0x36d406['forEach'](_0x43cd32=>{const _0x1b2074=_0x43c296,_0x21dbc6={'ksLol':function(_0x3f7aec,_0xa743c6,_0x4c78bc,_0x104911){const _0x121fa9=a2_0x4152;return _0x43638b[_0x121fa9(0x1dd)](_0x3f7aec,_0xa743c6,_0x4c78bc,_0x104911);},'ellza':function(_0x521961,_0x6178af){const _0x355c75=a2_0x4152;return _0x43638b[_0x355c75(0x179)](_0x521961,_0x6178af);},'tGCyu':function(_0x5ace7f,_0x3bc841){return _0x43638b['izsBn'](_0x5ace7f,_0x3bc841);}},_0x2170b7=_0x43638b['JFKGS'](helper[_0x1b2074(0x157)](_0x43cd32,'_'),'_'+Date[_0x1b2074(0x13b)]()),_0x10ea2e=((()=>{const _0x1d4819=_0x1b2074;if(_0x2ca104){const _0x451220=pwToCodeceptBrowser[_0x43cd32[_0x1d4819(0x166)]]||_0x43cd32[_0x1d4819(0x166)],_0x30dd59=helper[_0x1d4819(0x17a)](_0x5b2b08[_0x1d4819(0x1c2)]),_0xbb8f1=Object[_0x1d4819(0x161)]({},_0x43cd32);return _0x21dbc6[_0x1d4819(0x148)](processAccessibilityCaps,_0xbb8f1,_0x30dd59,null),{'browser':_0x451220,[_0x451220]:{'browserWSEndpoint':_0x21dbc6[_0x1d4819(0x1d8)](_0x30dd59,_0x21dbc6[_0x1d4819(0x1c3)](encodeURIComponent,JSON[_0x1d4819(0x1d2)](_0xbb8f1)))}};}const _0x2fec32={};return _0x2fec32[_0x1d4819(0x1c8)]=_0x43cd32,_0x2fec32[_0x1d4819(0x14c)]=_0x5b2b08['config']['userName'],_0x2fec32[_0x1d4819(0x182)]=_0x5b2b08[_0x1d4819(0x1c2)][_0x1d4819(0x1ac)],_0x2fec32;})()),_0xf497e5=_0x43638b[_0x1b2074(0x1bd)](nestedKeyValue,_0x37674e,[_0x43638b[_0x1b2074(0x19b)],_0x465938]);_0x2fdf48[_0x2170b7]=_0xf497e5?helper[_0x1b2074(0x153)](_0x10ea2e,_0xf497e5):_0x10ea2e;if(_0x2ca104)_0x2fdf48[_0x2170b7][_0x1b2074(0x15a)]=pwToCodeceptBrowser[_0x43cd32[_0x1b2074(0x166)]]||_0x43cd32['browserName'];else{_0x2fdf48[_0x2170b7]['browser']=_0x43cd32[_0x1b2074(0x166)]||_0x10ea2e[_0x1b2074(0x15a)];if(_0x43638b[_0x1b2074(0x195)](isBrowserstackInfra)){_0x2fdf48[_0x2170b7][_0x1b2074(0x1da)]=constants[_0x1b2074(0x16d)]['replace'](_0x43638b[_0x1b2074(0x13e)],'')[_0x1b2074(0x1cd)](/https?:\/\//,'');;_0x2fdf48[_0x2170b7][_0x1b2074(0x1ca)]=_0x43638b['FDwrp'];}}_0x2b70e0[_0x1b2074(0x1b5)](_0x2170b7);});}else{_0x4f4f32=0x1;if(_0x2ca104){const _0x24316b=_0x43638b[_0x43c296(0x13d)](nestedKeyValue,_0x37674e,[_0x43638b[_0x43c296(0x19b)],_0x465938,_0x43638b[_0x43c296(0x194)]]),_0x9e9a4f=_0x43638b[_0x43c296(0x141)](nestedKeyValue,_0x37674e,[_0x43638b[_0x43c296(0x19b)],_0x465938,_0x24316b]);if(_0x9e9a4f&&_0x9e9a4f[_0x43c296(0x160)]){const _0x58646f={};_0x58646f[_0x43c296(0x1af)]=[],_0x9e9a4f[_0x43c296(0x160)]=helper[_0x43c296(0x14f)](Object[_0x43c296(0x161)]({},_0x5b2b08['config'],_0x58646f),null,_0xd15953[_0x43c296(0x1be)](),null,null,_0x9e9a4f[_0x43c296(0x160)]);}}else{const _0x3a8642={};_0x3a8642['platforms']=[],_0x37674e[_0x43638b[_0x43c296(0x19b)]][_0x465938][_0x43638b['mGPwh']]=helper[_0x43c296(0x14f)](Object[_0x43c296(0x161)]({},_0x5b2b08[_0x43c296(0x1c2)],_0x3a8642),null,_0xd15953[_0x43c296(0x1be)](),_0x43638b[_0x43c296(0x17e)](nestedKeyValue,_0x37674e,[_0x43638b[_0x43c296(0x19b)],_0x465938,_0x43638b[_0x43c296(0x142)]])||{},null,null);}_0x2fdf48[_0x43638b['FhIMM']]=_0x37674e,_0x2b70e0[_0x43c296(0x1b5)](_0x43638b[_0x43c296(0x15c)]);}const _0xd068f6={};_0xd068f6['testConfig']=_0x29eea5;const _0x250645=_0xd068f6,_0x5024c5=path[_0x43c296(0x19f)](__dirname,_0x43638b[_0x43c296(0x1cf)]),_0x38d44a=process[_0x43c296(0x168)]();process['env'][_0x43638b[_0x43c296(0x1bc)]]=_0x38d44a,process['env'][_0x43c296(0x188)]=process[_0x43c296(0x1c0)][_0x43c296(0x188)]||_0x43638b['TTECT'],process['chdir'](path[_0x43c296(0x1b4)](_0x29eea5));const _0x45bebf=new CodeceptJS[(_0x43c296(0x1a4))](null,_0x250645),_0xb499cf=_0x45bebf[_0x43c296(0x199)](_0x5826d2),_0x4aacfd=testOpsHelper[_0x43c296(0x18c)](),_0x4df80f=_0x2b70e0[_0x43c296(0x1d0)](_0x3b2b9b=>{const _0x5f1599=_0x43c296,_0x405252={};_0x405252[_0x5f1599(0x16e)]=_0x2fdf48[_0x3b2b9b];const _0x444dcf={};_0x444dcf[_0x5f1599(0x16c)]=_0x2fdf48[_0x3b2b9b];const _0x425882=_0x2ca104?_0x405252:_0x444dcf,_0x178cb6=_0x43638b[_0x5f1599(0x1d9)](getO11yRerunPattern),_0x52d72={};_0x52d72[_0x5f1599(0x1b1)]=_0x425882;const _0x211b9d={};_0x211b9d[_0x5f1599(0x180)]=_0x5024c5,_0x211b9d['enabled']=!![],_0x211b9d[_0x5f1599(0x13a)]=_0x5b2b08[_0x5f1599(0x1c2)][_0x5f1599(0x186)]['skipSessionName'],_0x211b9d[_0x5f1599(0x15b)]=_0x5b2b08[_0x5f1599(0x1c2)][_0x5f1599(0x186)][_0x5f1599(0x15b)],_0x211b9d[_0x5f1599(0x18b)]=_0x4aacfd,_0x211b9d[_0x5f1599(0x1b6)]=_0xd15953;const _0x493dd4={};_0x493dd4[_0x5f1599(0x155)]=_0x211b9d;const _0x34b67e={};return _0x34b67e[_0x5f1599(0x1ae)]=_0x493dd4,helper[_0x5f1599(0x153)]({},_0x37674e,_0x43638b[_0x5f1599(0x1d9)](isBrowserstackInfra)?_0x52d72:{},_0x178cb6?{'grep':_0x178cb6}:{},_0x34b67e);});for(const _0x28323d of _0x4df80f){for(const _0x800422 of _0xb499cf){const _0x531400=_0x45bebf[_0x43c296(0x173)]();_0x531400[_0x43c296(0x1a1)](_0x800422),_0x531400[_0x43c296(0x177)](_0x28323d);const _0x6a70a1={};_0x6a70a1['config']=_0x29eea5,_0x531400['addOptions'](Object[_0x43c296(0x161)](_0x6a70a1,_0x1b4d8d));}}_0x45bebf['on'](CodeceptJS[_0x43c296(0x1c1)]['test'][_0x43c296(0x1b9)],(_0xf8bcf6,_0x1f222d)=>{const _0x35e5ea=_0x43c296;console['log'](_0x43638b[_0x35e5ea(0x1de)],_0xf8bcf6[_0x35e5ea(0x1b3)]);const _0x288a85={[_0xf8bcf6['title']]:_0xf8bcf6['err'][_0x35e5ea(0x1c9)]};_testErrorData[_0x35e5ea(0x1b5)](_0x288a85);}),_0x45bebf['on'](CodeceptJS[_0x43c296(0x1c1)][_0x43c296(0x16b)][_0x43c296(0x178)],async _0x1ea72a=>{const _0x38fc49=_0x43c296;console['log'](_0x43638b[_0x38fc49(0x1db)],_0x1ea72a[_0x38fc49(0x1b3)]);}),_0x45bebf['on'](CodeceptJS[_0x43c296(0x1c1)]['test'][_0x43c296(0x17d)],async _0x139d13=>{const _0x2f6765=_0x43c296;console['log'](_0x43638b['nSDdF'],_0x139d13[_0x2f6765(0x1b3)]);}),_0x45bebf['on'](CodeceptJS[_0x43c296(0x1c1)][_0x43c296(0x1d6)][_0x43c296(0x145)],async()=>{const _0x2ec3b9=_0x43c296,_0x304758=_0x43638b[_0x2ec3b9(0x1ad)]['split']('|');let _0x1cc1c3=0x0;while(!![]){switch(_0x304758[_0x1cc1c3++]){case'0':_0x5b2b08['errorMessage']=_testErrorData;continue;case'1':try{await TestHubHandler[_0x2ec3b9(0x189)]();}catch(_0x46dc49){logger[_0x2ec3b9(0x184)](_0x2ec3b9(0x146)+util[_0x2ec3b9(0x140)](_0x46dc49));}continue;case'2':utilities[_0x2ec3b9(0x1a5)](_0x5b2b08);continue;case'3':PerformanceTester[_0x2ec3b9(0x18e)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':_0x45bebf[_0x2ec3b9(0x1dc)]();continue;case'5':testOpsHelper[_0x2ec3b9(0x150)]();continue;}break;}});async function _0x1cb89f(){const _0x1816a7=_0x43c296;try{await _0x45bebf[_0x1816a7(0x144)](),await _0x45bebf[_0x1816a7(0x1b7)]();}finally{process[_0x1816a7(0x169)](_0x38d44a),await _0x45bebf[_0x1816a7(0x14b)]();}}PerformanceTester[_0x43c296(0x163)](PerformanceEvents[_0x43c296(0x158)]),await _0x43638b[_0x43c296(0x1d9)](_0x1cb89f);}function a2_0x4152(_0x1e520f,_0x56eebd){const _0x5ae2ff=a2_0x5ae2();return a2_0x4152=function(_0x415219,_0x461061){_0x415219=_0x415219-0x139;let _0x46a35d=_0x5ae2ff[_0x415219];return _0x46a35d;},a2_0x4152(_0x1e520f,_0x56eebd);}module[a2_0x21aca5(0x1d5)]=run;
|
|
2
|
+
'use strict';function a2_0x5b1d(_0x4516a3,_0x272f02){const _0x9c0a84=a2_0x9c0a();return a2_0x5b1d=function(_0x5b1dca,_0x1328ae){_0x5b1dca=_0x5b1dca-0x66;let _0x360509=_0x9c0a84[_0x5b1dca];return _0x360509;},a2_0x5b1d(_0x4516a3,_0x272f02);}const a2_0x50cf45=a2_0x5b1d;(function(_0x576a42,_0x56808f){const _0x128f15=a2_0x5b1d,_0xc320d=_0x576a42();while(!![]){try{const _0x2cda86=parseInt(_0x128f15(0x102))/0x1*(-parseInt(_0x128f15(0xd9))/0x2)+parseInt(_0x128f15(0xb0))/0x3+-parseInt(_0x128f15(0x76))/0x4+-parseInt(_0x128f15(0x8a))/0x5*(parseInt(_0x128f15(0x79))/0x6)+parseInt(_0x128f15(0xda))/0x7+-parseInt(_0x128f15(0xaf))/0x8*(parseInt(_0x128f15(0xf2))/0x9)+parseInt(_0x128f15(0xae))/0xa;if(_0x2cda86===_0x56808f)break;else _0xc320d['push'](_0xc320d['shift']());}catch(_0x112c0a){_0xc320d['push'](_0xc320d['shift']());}}}(a2_0x9c0a,0xedf36));function a2_0x9c0a(){const _0xe732a6=['codeceptjs','XygSi','AgAPx','failed','awTkt','playwright-chromium','before','util','findIndex','WebDriver','mqaJG','debug','validateRerunTestList','../utils/clientTroubleshootingService','4|5|3|2|0|1','title','parallelsPerPlatform','getPlaywrightUrl','../utils/constants','SpoKE','USER_CONFIG_DETAILS_PATH','testConfig','exports','252mnjOYT','mxCRa','desiredCapabilities','info','isTestObservabilitySession','chromium','DZVde','mergeDeep','helpers','codecept.json','Wkoxy','process','../v2/browserstackCLI','addOptions','BrowserStackPlugin.js','forEach','4061cDguIZ','useW3C','AxUir','toLowerCase','config','playwright-firefox','key','jGfUr','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','codeceptjs/lib/index.js','testContextOptions','Failed\x20:\x20','ZNgIO','userName','isUndefined','assign','jFIUz','prepareCapabilities','isRunning','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','end','4101660VclmsK','BROWSERSTACK_FRAMEWORK','../../helpers/BrowserStackSetup','6wNEshc','/wd/hub','getUserWorkerCount','SDK_SETUP','env','gherkin','pQUjh','slice','SDK_CLEANUP','Passed\x20:\x20','stack','browserWSEndpoint','getInstance','../../bin/playwright/accessibility-helper','test','playwright-webkit','addConfig','680065TUldFp','codecept.conf.js','xODgO','MFuqT','monaj','plugins','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','webkit','profile','skipSessionStatus','BKzZk','Workers','existsSync','chrome','stringify','browserName','cwd','zCBRz','HSUWJ','MNerN','BROWSERSTACK_TEST_OBSERVABILITY_YML','UQzVy','enabled','PuCwW','accessKey','map','length','../../helpers/test-observability/constants','browserStackCwd','../../helpers/accessibility-automation/helper','start','load','frameworkName','join','jhqEb','21546570TeKqZi','554536OTxsAt','4234251XaOkxO','EVENTS','chdir','uLeQY','push','oJOlS','path','trim','ayXEG','printResults','platforms','../../helpers/helper','skipSessionName','accessibilityOptions','CODECEPT','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','DetPz','format','../../helpers/performance/constants','BNQQQ','browser','run','Playwright','errorMessage','now','split','finalExecution','stop','result','initialize','log','testObservability','handleApp','event','CODECEPT_CUCUMBER','addTests','wmHHB','setAdditionalCapabilities','replace','BROWSERSTACK_RERUN','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','654ikdMhd','12871761hiLuFW'];a2_0x9c0a=function(){return _0xe732a6;};return a2_0x9c0a();}const fs=require('fs'),path=require(a2_0x50cf45(0xb6)),util=require(a2_0x50cf45(0xe2)),process=require(a2_0x50cf45(0xfd)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x50cf45(0x78)),helper=require(a2_0x50cf45(0xbb)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x50cf45(0xa8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x50cf45(0x86)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x50cf45(0xbb)),CodeceptJS=requireModule(a2_0x50cf45(0x6a),a2_0x50cf45(0xdb)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a2_0x50cf45(0xfe)),constants=require(a2_0x50cf45(0xed)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x50cf45(0xa6)),PerformanceEvents=require(a2_0x50cf45(0xc2))[a2_0x50cf45(0xb1)],ClientTroubleShootingService=require(a2_0x50cf45(0xe8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x478717,_0x476d2d)=>{const _0x3be71e=a2_0x50cf45,_0x28d3c3={};_0x28d3c3[_0x3be71e(0x71)]=function(_0x1f15da,_0xd79b6b){return _0x1f15da===_0xd79b6b;},_0x28d3c3[_0x3be71e(0xb3)]=_0x3be71e(0x8b),_0x28d3c3['BNQQQ']=_0x3be71e(0xfb);const _0x128450=_0x28d3c3;let _0x38d773=null;const _0x483b6d={};let _0x5f4c69=_0x476d2d[_0x3be71e(0xe3)](_0x1759ad=>_0x1759ad==='--config');_0x128450['jFIUz'](_0x5f4c69,-0x1)&&(_0x5f4c69=_0x476d2d[_0x3be71e(0xe3)](_0x1375fd=>_0x1375fd==='-c'));if(!helper[_0x3be71e(0x6f)](_0x478717[_0x3be71e(0x106)])&&fs[_0x3be71e(0x97)](path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717[_0x3be71e(0x106)])))_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717[_0x3be71e(0x106)]),_0x476d2d[_0x3be71e(0x80)](_0x5f4c69,0x2);else{if(!helper[_0x3be71e(0x6f)](_0x478717['c'])&&fs[_0x3be71e(0x97)](path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717['c'])))_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717['c']),_0x476d2d[_0x3be71e(0x80)](_0x5f4c69,0x2);else{if(fs[_0x3be71e(0x97)](path['join'](process['cwd'](),_0x128450[_0x3be71e(0xb3)])))_0x38d773=path['join'](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xb3)]);else fs[_0x3be71e(0x97)](path['join'](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xc3)]))&&(_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xc3)]));}}return process['env'][_0x3be71e(0xef)]=_0x38d773,_0x38d773;},getO11yRerunPattern=()=>{const _0x20ecce=a2_0x50cf45,_0x3b04e1=helper['isTrue'](process[_0x20ecce(0x7d)][_0x20ecce(0xd7)]);if(_0x3b04e1){const _0x2568a5=process['env'][_0x20ecce(0x91)],_0x344ee8=[];if(helper[_0x20ecce(0xe7)](_0x2568a5)&&!helper[_0x20ecce(0x6f)](_0x2568a5)){_0x2568a5[_0x20ecce(0xc9)](',')[_0x20ecce(0xa4)](_0x57bd6c=>{const _0x324c2a=_0x20ecce;_0x344ee8[_0x324c2a(0xb4)]('('+_0x57bd6c[_0x324c2a(0xb7)]()+')');});const _0x4d1f4f='^'+_0x344ee8[_0x20ecce(0xac)]('|')+'$';return _0x4d1f4f;}}return null;},a2_0x5f164f={};a2_0x5f164f[a2_0x50cf45(0x98)]=a2_0x50cf45(0xf7),a2_0x5f164f[a2_0x50cf45(0xe0)]=a2_0x50cf45(0xf7),a2_0x5f164f[a2_0x50cf45(0x107)]='firefox',a2_0x5f164f[a2_0x50cf45(0x88)]=a2_0x50cf45(0x92);const pwToCodeceptBrowser=a2_0x5f164f;async function run(_0x4a8980,_0x368b03,_0x56f8ff){const _0x4642db=a2_0x50cf45,_0x1a0439={'wmHHB':function(_0x194770,_0x2b8d42,_0x3e5848,_0x27ecdc){return _0x194770(_0x2b8d42,_0x3e5848,_0x27ecdc);},'Wkoxy':function(_0xbe3d1e,_0x3a8666){return _0xbe3d1e+_0x3a8666;},'pQUjh':function(_0x366a5b,_0xea88b2){return _0x366a5b(_0xea88b2);},'DetPz':function(_0x353020,_0x48955a){return _0x353020+_0x48955a;},'SpoKE':function(_0x4f9669,_0x2a26e5,_0x186873){return _0x4f9669(_0x2a26e5,_0x186873);},'mxCRa':_0x4642db(0xfa),'PuCwW':function(_0x12e7e7){return _0x12e7e7();},'mqaJG':_0x4642db(0x7a),'MNerN':_0x4642db(0x6c),'jGfUr':_0x4642db(0x82),'ZNgIO':'Started\x20:\x20','DZVde':_0x4642db(0xe9),'xODgO':_0x4642db(0x74),'jhqEb':function(_0xa807cd,_0x3feb8e,_0x37c9d7){return _0xa807cd(_0x3feb8e,_0x37c9d7);},'UQzVy':_0x4642db(0xc6),'MFuqT':_0x4642db(0xe4),'HSUWJ':function(_0x4f8953,_0x302f08){return _0x4f8953!=_0x302f08;},'JjUVG':function(_0x13b2d7,_0x360319){return _0x13b2d7===_0x360319;},'XgLuY':_0x4642db(0x7e),'AxUir':function(_0x296df4,_0x40b0d4){return _0x296df4(_0x40b0d4);},'monaj':function(_0x238623,_0x25ae58){return _0x238623*_0x25ae58;},'awTkt':function(_0x14d3dd,_0x3ccd37,_0x2c3709){return _0x14d3dd(_0x3ccd37,_0x2c3709);},'ayXEG':_0x4642db(0xc4),'oJOlS':function(_0x58cfe0,_0x54d4fd,_0x205cb5){return _0x58cfe0(_0x54d4fd,_0x205cb5);},'BKzZk':_0x4642db(0xf4),'zCBRz':'root','XygSi':_0x4642db(0x100),'AgAPx':_0x4642db(0xa7),'cgllx':_0x4642db(0xdb)};await _0x56f8ff[_0x4642db(0xcd)](_0x4a8980);!BrowserstackCLI[_0x4642db(0x85)]()[_0x4642db(0x73)]()&&await _0x56f8ff['setupBrowserstackLocal']();await helper[_0x4642db(0xd0)](_0x56f8ff[_0x4642db(0x106)]);if(!_0x56f8ff[_0x4642db(0x106)])return;process[_0x4642db(0x93)]=_0x4a8980[_0x4642db(0x93)];_0x4a8980[_0x4642db(0x93)]&&(process[_0x4642db(0x7d)][_0x4642db(0x93)]=_0x4a8980[_0x4642db(0x93)]);const _0x3085f8=_0x1a0439[_0x4642db(0xee)](getUserCodeceptJSConfigs,_0x4a8980,_0x368b03);let _0x38bbcb={};_0x3085f8?(logger[_0x4642db(0xf5)](_0x4642db(0xd8)+_0x3085f8),_0x38bbcb=CodeceptJS['config'][_0x4642db(0xaa)](_0x3085f8)):logger[_0x4642db(0xf5)](_0x1a0439[_0x4642db(0x8c)]);let _0xb35852=![];_0x1a0439[_0x4642db(0xad)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x1a0439[_0x4642db(0xa0)]])&&(_0xb35852=!![]);const _0x12d4f3=_0xb35852?_0x1a0439[_0x4642db(0xa0)]:_0x1a0439[_0x4642db(0x8d)];let _0x52e641=!_0xb35852?helper[_0x4642db(0x103)](_0x56f8ff[_0x4642db(0x106)]):![];!helper['isUndefined'](_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xbd)])&&(process[_0x4642db(0x7d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4642db(0x99)](_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xbd)]));let _0xd9841f=_0x56f8ff[_0x4642db(0x106)][_0x4642db(0x69)];_0xd9841f=_0xd9841f||_0x1a0439['pQUjh'](checkAccessibilityPlatformConfig,_0x56f8ff[_0x4642db(0x106)]),process['env'][_0x4642db(0x68)]=_0xd9841f;_0xd9841f&&(_0x52e641=!_0xd9841f);_0x1a0439[_0x4642db(0x9d)](_0x56f8ff[_0x4642db(0x106)]['testObservability'],null)?process[_0x4642db(0x7d)][_0x4642db(0x9f)]=_0x56f8ff[_0x4642db(0x106)]['testObservability']:process[_0x4642db(0x7d)][_0x4642db(0x9f)]=_0x1a0439['JjUVG'](_0x12d4f3,_0x1a0439[_0x4642db(0xa0)]);const _0x6afba7=_0x1a0439[_0x4642db(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439['XgLuY']]),_0x7bde93=_0x6afba7&&!helper['isEmpty'](_0x6afba7)?FRAMEWORKS[_0x4642db(0xd2)]:FRAMEWORKS[_0x4642db(0xbe)],_0x3a2d72=await TestHubHandler['launchBuild'](_0x7bde93,_0x56f8ff);_0xd9841f&&_0x1a0439[_0x4642db(0x104)](setAccessibilityCapabilities,_0x56f8ff[_0x4642db(0x106)]);const _0x588bb7={},_0x13a455=[],_0x16dc9d=_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xeb)]||helper[_0x4642db(0x7b)](_0x4a8980,_0x368b03,_0x56f8ff['config'],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x7224b3=0x1;if(_0x1a0439['PuCwW'](isBrowserstackInfra)){const _0x5a7e94=helper[_0x4642db(0x72)](_0x56f8ff[_0x4642db(0x106)],_0x52e641,constants[_0x4642db(0x90)][_0x4642db(0xbe)]);_0x5a7e94[_0x4642db(0x101)](_0x5225ce=>{const _0x4247ce=_0x4642db;helper[_0x4247ce(0xd5)](_0x5225ce);}),helper['validPlatformsPresent'](_0x56f8ff['config'])?_0x7224b3=_0x1a0439[_0x4642db(0x8e)](_0x16dc9d,_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xba)][_0x4642db(0xa5)]):_0x7224b3=_0x16dc9d,_0x5a7e94[_0x4642db(0x101)](_0x1209f0=>{const _0x138274=_0x4642db,_0x9d043b={'NBzWe':function(_0x455852,_0x5375ba,_0x52770d,_0x178586){const _0x59d9e9=a2_0x5b1d;return _0x1a0439[_0x59d9e9(0xd4)](_0x455852,_0x5375ba,_0x52770d,_0x178586);},'gWGri':function(_0x3f3118,_0x48e069){const _0x20ee83=a2_0x5b1d;return _0x1a0439[_0x20ee83(0xfc)](_0x3f3118,_0x48e069);},'VknLz':function(_0x5051d1,_0x1497d0){const _0x3b9c74=a2_0x5b1d;return _0x1a0439[_0x3b9c74(0x7f)](_0x5051d1,_0x1497d0);}},_0x59f92d=_0x1a0439[_0x138274(0xc0)](helper['getPlatformName'](_0x1209f0,'_'),'_'+Date[_0x138274(0xc8)]()),_0x351107=((()=>{const _0x2cfcd2=_0x138274;if(_0xb35852){const _0x36fdba=pwToCodeceptBrowser[_0x1209f0[_0x2cfcd2(0x9a)]]||_0x1209f0[_0x2cfcd2(0x9a)],_0x14639e=helper[_0x2cfcd2(0xec)](_0x56f8ff[_0x2cfcd2(0x106)]),_0x1e091f=Object[_0x2cfcd2(0x70)]({},_0x1209f0);return _0x9d043b['NBzWe'](processAccessibilityCaps,_0x1e091f,_0x14639e,null),{'browser':_0x36fdba,[_0x36fdba]:{'browserWSEndpoint':_0x9d043b['gWGri'](_0x14639e,_0x9d043b['VknLz'](encodeURIComponent,JSON[_0x2cfcd2(0x99)](_0x1e091f)))}};}const _0x1c7b8a={};return _0x1c7b8a[_0x2cfcd2(0xf4)]=_0x1209f0,_0x1c7b8a['user']=_0x56f8ff['config'][_0x2cfcd2(0x6e)],_0x1c7b8a[_0x2cfcd2(0x66)]=_0x56f8ff[_0x2cfcd2(0x106)][_0x2cfcd2(0xa3)],_0x1c7b8a;})()),_0x3d6330=_0x1a0439[_0x138274(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439[_0x138274(0xf3)],_0x12d4f3]);_0x588bb7[_0x59f92d]=_0x3d6330?helper[_0x138274(0xf9)](_0x351107,_0x3d6330):_0x351107;if(_0xb35852)_0x588bb7[_0x59f92d][_0x138274(0xc4)]=pwToCodeceptBrowser[_0x1209f0['browserName']]||_0x1209f0[_0x138274(0x9a)];else{_0x588bb7[_0x59f92d][_0x138274(0xc4)]=_0x1209f0[_0x138274(0x9a)]||_0x351107[_0x138274(0xc4)];if(_0x1a0439[_0x138274(0xa2)](isBrowserstackInfra)){_0x588bb7[_0x59f92d]['host']=constants['hubUrl'][_0x138274(0xd6)](_0x1a0439[_0x138274(0xe5)],'')[_0x138274(0xd6)](/https?:\/\//,'');;_0x588bb7[_0x59f92d]['path']=_0x1a0439[_0x138274(0xe5)];}}_0x13a455[_0x138274(0xb4)](_0x59f92d);});}else{_0x7224b3=0x1;if(_0xb35852){const _0x33fef1=_0x1a0439[_0x4642db(0xdf)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x12d4f3,_0x1a0439[_0x4642db(0xb8)]]),_0x51b248=_0x1a0439[_0x4642db(0xb5)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x12d4f3,_0x33fef1]);if(_0x51b248&&_0x51b248[_0x4642db(0x84)]){const _0x4d7c1e={};_0x4d7c1e[_0x4642db(0xba)]=[],_0x51b248[_0x4642db(0x84)]=helper['prepareCapabilities'](Object[_0x4642db(0x70)]({},_0x56f8ff[_0x4642db(0x106)],_0x4d7c1e),null,_0x7bde93[_0x4642db(0x105)](),null,null,_0x51b248['browserWSEndpoint']);}}else{const _0x363cba={};_0x363cba[_0x4642db(0xba)]=[],_0x38bbcb[_0x1a0439[_0x4642db(0xf3)]][_0x12d4f3][_0x1a0439['BKzZk']]=helper[_0x4642db(0x72)](Object[_0x4642db(0x70)]({},_0x56f8ff[_0x4642db(0x106)],_0x363cba),null,_0x7bde93[_0x4642db(0x105)](),_0x1a0439[_0x4642db(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439[_0x4642db(0xf3)],_0x12d4f3,_0x1a0439[_0x4642db(0x95)]])||{},null,null);}_0x588bb7[_0x1a0439[_0x4642db(0x9c)]]=_0x38bbcb,_0x13a455[_0x4642db(0xb4)](_0x1a0439[_0x4642db(0x9c)]);}const _0xb4f21d={};_0xb4f21d[_0x4642db(0xf0)]=_0x3085f8;const _0x13102b=_0xb4f21d,_0x255d1f=path['join'](__dirname,_0x1a0439[_0x4642db(0xdc)]),_0x1d36e2=process[_0x4642db(0x9b)]();process['env'][_0x1a0439[_0x4642db(0xdd)]]=_0x1d36e2,process[_0x4642db(0x7d)]['BROWSERSTACK_FRAMEWORK']=process[_0x4642db(0x7d)][_0x4642db(0x77)]||_0x1a0439['cgllx'],process[_0x4642db(0xb2)](path['dirname'](_0x3085f8));const _0x2727b9=new CodeceptJS[(_0x4642db(0x96))](null,_0x13102b),_0x26aa7f=_0x2727b9['createGroupsOfSuites'](_0x16dc9d),_0x385d3d=testOpsHelper[_0x4642db(0xf6)](),_0x3d6670=_0x13a455[_0x4642db(0xa4)](_0x4b0c86=>{const _0x735f5d=_0x4642db,_0x20ebbb={};_0x20ebbb[_0x735f5d(0xc6)]=_0x588bb7[_0x4b0c86];const _0x31f997={};_0x31f997['WebDriver']=_0x588bb7[_0x4b0c86];const _0x3edce8=_0xb35852?_0x20ebbb:_0x31f997,_0x60e85=_0x1a0439[_0x735f5d(0xa2)](getO11yRerunPattern),_0x36d026={};_0x36d026['helpers']=_0x3edce8;const _0xb73714={};_0xb73714['require']=_0x255d1f,_0xb73714[_0x735f5d(0xa1)]=!![],_0xb73714['skipSessionName']=_0x56f8ff['config']['testContextOptions'][_0x735f5d(0xbc)],_0xb73714[_0x735f5d(0x94)]=_0x56f8ff[_0x735f5d(0x106)][_0x735f5d(0x6b)]['skipSessionStatus'],_0xb73714[_0x735f5d(0xcf)]=_0x385d3d,_0xb73714[_0x735f5d(0xab)]=_0x7bde93;const _0x56ca8b={};_0x56ca8b['BrowserStackPlugin']=_0xb73714;const _0x1e3845={};return _0x1e3845[_0x735f5d(0x8f)]=_0x56ca8b,helper[_0x735f5d(0xf9)]({},_0x38bbcb,_0x1a0439[_0x735f5d(0xa2)](isBrowserstackInfra)?_0x36d026:{},_0x60e85?{'grep':_0x60e85}:{},_0x1e3845);});for(const _0x24a3c4 of _0x3d6670){for(const _0x111d3a of _0x26aa7f){const _0x4d74de=_0x2727b9['spawn']();_0x4d74de[_0x4642db(0xd3)](_0x111d3a),_0x4d74de[_0x4642db(0x89)](_0x24a3c4);const _0x433ca1={};_0x433ca1[_0x4642db(0x106)]=_0x3085f8,_0x4d74de[_0x4642db(0xff)](Object[_0x4642db(0x70)](_0x433ca1,_0x4a8980));}}_0x2727b9['on'](CodeceptJS['event'][_0x4642db(0x87)][_0x4642db(0xde)],(_0x341116,_0x14af21)=>{const _0x43317b=_0x4642db;console[_0x43317b(0xce)](_0x1a0439[_0x43317b(0x9e)],_0x341116[_0x43317b(0xea)]);const _0x331e97={[_0x341116[_0x43317b(0xea)]]:_0x341116['err'][_0x43317b(0x83)]};_testErrorData[_0x43317b(0xb4)](_0x331e97);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)][_0x4642db(0x87)]['passed'],async _0x328523=>{const _0x51f535=_0x4642db;console[_0x51f535(0xce)](_0x1a0439[_0x51f535(0x67)],_0x328523[_0x51f535(0xea)]);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)][_0x4642db(0x87)][_0x4642db(0xe1)],async _0x34740c=>{const _0x51f98d=_0x4642db;console[_0x51f98d(0xce)](_0x1a0439[_0x51f98d(0x6d)],_0x34740c[_0x51f98d(0xea)]);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)]['all'][_0x4642db(0xcc)],async()=>{const _0x428419=_0x4642db,_0x4f10ed=_0x1a0439[_0x428419(0xf8)]['split']('|');let _0x5a5b98=0x0;while(!![]){switch(_0x4f10ed[_0x5a5b98++]){case'0':try{await TestHubHandler[_0x428419(0xcb)]();}catch(_0x454a03){logger[_0x428419(0xe6)](_0x428419(0xbf)+util[_0x428419(0xc1)](_0x454a03));}continue;case'1':_0x2727b9[_0x428419(0xb9)]();continue;case'2':utilities[_0x428419(0xca)](_0x56f8ff);continue;case'3':testOpsHelper['printBuildLink']();continue;case'4':PerformanceTester[_0x428419(0xa9)](PerformanceEvents[_0x428419(0x81)]);continue;case'5':_0x56f8ff[_0x428419(0xc7)]=_testErrorData;continue;}break;}});async function _0x2afa4b(){const _0xd30c41=_0x4642db;try{await _0x2727b9['bootstrapAll'](),await _0x2727b9[_0xd30c41(0xc5)]();}finally{process[_0xd30c41(0xb2)](_0x1d36e2),await _0x2727b9['teardownAll']();}}PerformanceTester[_0x4642db(0x75)](PerformanceEvents[_0x4642db(0x7c)]),await _0x1a0439[_0x4642db(0xa2)](_0x2afa4b);}module[a2_0x50cf45(0xf1)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x2fbf60=a3_0x215f;(function(_0x2d09e1,_0xa746d7){const _0x295146=a3_0x215f,_0x484dae=_0x2d09e1();while(!![]){try{const _0x2e9f76=-parseInt(_0x295146(0x15d))/0x1+parseInt(_0x295146(0x17d))/0x2*(parseInt(_0x295146(0x17b))/0x3)+-parseInt(_0x295146(0x14f))/0x4+parseInt(_0x295146(0x17e))/0x5*(parseInt(_0x295146(0x151))/0x6)+-parseInt(_0x295146(0x15c))/0x7+parseInt(_0x295146(0x16e))/0x8*(-parseInt(_0x295146(0x143))/0x9)+parseInt(_0x295146(0x17c))/0xa;if(_0x2e9f76===_0xa746d7)break;else _0x484dae['push'](_0x484dae['shift']());}catch(_0x16b8e6){_0x484dae['push'](_0x484dae['shift']());}}}(a3_0x4fc6,0x43508));const {isUndefined,nestedKeyValue}=require(a3_0x2fbf60(0x164)),logger=require('../../helpers/logger')[a3_0x2fbf60(0x168)],PlaywrightSessionDetails=require(a3_0x2fbf60(0x163)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x2fbf60(0x174)),accessibilityHelper=require(a3_0x2fbf60(0x13a)),{isBrowserstackInfra}=require(a3_0x2fbf60(0x164)),getOSVersionFromCaps=_0x23e7bd=>{const _0x2ef69e=a3_0x2fbf60,_0x2de3a0={};_0x2de3a0['szCLt']=_0x2ef69e(0x16b),_0x2de3a0['yiqFr']=_0x2ef69e(0x161),_0x2de3a0[_0x2ef69e(0x155)]=_0x2ef69e(0x17f),_0x2de3a0['zvSwI']=_0x2ef69e(0x149),_0x2de3a0[_0x2ef69e(0x179)]=_0x2ef69e(0x173);const _0x3c5c43=_0x2de3a0;if(!_0x23e7bd)return null;const _0x361a97=_0x23e7bd[_0x3c5c43[_0x2ef69e(0x139)]],_0x35bc3d=[_0x3c5c43['yiqFr'],_0x3c5c43['hKIJS'],_0x3c5c43[_0x2ef69e(0x16d)],_0x3c5c43[_0x2ef69e(0x179)]];for(const _0x55655d of _0x35bc3d){if(_0x361a97&&_0x361a97[_0x55655d])return _0x361a97[_0x55655d];else{if(_0x23e7bd[_0x55655d])return _0x23e7bd[_0x55655d];}}return null;};function a3_0x215f(_0x3b51fc,_0xb4cc7a){const _0x4fc60b=a3_0x4fc6();return a3_0x215f=function(_0x215f35,_0x5743a8){_0x215f35=_0x215f35-0x139;let _0x1d739c=_0x4fc60b[_0x215f35];return _0x1d739c;},a3_0x215f(_0x3b51fc,_0xb4cc7a);}function a3_0x4fc6(){const _0x1a3470=['../../bin/playwright/sessionDetails','../../helpers/helper','opKPO','__cloud_provider___','iQdWH','winstonLogger','latest','fimsa','bstack:options','EMgVv','zvSwI','8cLgWqs','get','unknown_grid','deviceName','includes','os_version','../../helpers/test-observability/utils','browser','dcygI','capabilities','browserVersion','EorFc','wXLfl','1519281yjbeUs','5123390ivKjod','2dkIqTu','1930crJrkn','platform_version','caps','on\x20non-BrowserStack\x20infrastructure\x20','szCLt','../../helpers/accessibility-automation/helper','fetchPlatformDetails','sessionId','browserName','aGHHi','isBrowserSupportedForAccessibility','FWwDd','warn','browserWSEndpoint','3109383iHrqZl','ugQDJ','hdTAM','\x20or\x20higher\x20','accessibilityPlatform','name','osVersion','searchParams','AUyNH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','constructor','DHUVu','1238428hqfCCq','isVersionSupported','1542ZYblzp','QUbTD','processWebDriverConfig','KlNYs','hKIJS','\x20browser\x20version\x20','string','ZvaWn','ZCKdR','uqdbq','WJelX','273588gXYIfo','148070CUpswa','browser_version','raGZA','parse','platformVersion','getMinVersionForBrowser'];a3_0x4fc6=function(){return _0x1a3470;};return a3_0x4fc6();}exports[a3_0x2fbf60(0x13b)]=_0x194227=>{const _0x5d0ded=a3_0x2fbf60,_0x29896e={'FWwDd':_0x5d0ded(0x170),'raGZA':function(_0xd0f3be,_0x4e736e){return _0xd0f3be===_0x4e736e;},'WJelX':'WebDriver','opKPO':function(_0x507bcb,_0x886859){return _0x507bcb(_0x886859);},'wGguR':function(_0x53bb04,_0x264789,_0x5f4f01){return _0x53bb04(_0x264789,_0x5f4f01);},'nLOFJ':'config','QUbTD':'desiredCapabilities','COkvd':function(_0x4d06a4,_0x545210){return _0x4d06a4===_0x545210;},'fimsa':'Playwright','wXLfl':function(_0x453af2,_0x4b461b,_0x2562a9){return _0x453af2(_0x4b461b,_0x2562a9);},'KlNYs':_0x5d0ded(0x175),'SVHEX':_0x5d0ded(0x142),'LGiyQ':_0x5d0ded(0x180),'dcygI':function(_0x47b89e,_0x50479d){return _0x47b89e(_0x50479d);}};if(!_0x194227)return null;let _0x19e3d5=global[_0x5d0ded(0x166)]||_0x29896e[_0x5d0ded(0x140)];if(_0x29896e[_0x5d0ded(0x15f)](_0x194227[_0x5d0ded(0x14d)][_0x5d0ded(0x148)],_0x29896e[_0x5d0ded(0x15b)])){const _0x3575d0=_0x194227[_0x5d0ded(0x175)];if(!_0x3575d0)return null;const _0x2000e0=_0x3575d0[_0x5d0ded(0x177)],_0x10556b=_0x29896e[_0x5d0ded(0x165)](getOSVersionFromCaps,_0x29896e['wGguR'](nestedKeyValue,_0x194227,[_0x29896e['nLOFJ'],_0x29896e[_0x5d0ded(0x152)]]));return{[_0x19e3d5]:{'browser':_0x2000e0[_0x5d0ded(0x13d)],'browser_version':_0x2000e0[_0x5d0ded(0x178)],'capabilities':_0x2000e0,'platform':_0x2000e0['platformName'],'platform_version':_0x2000e0[_0x5d0ded(0x161)]||_0x10556b,'product':_0x29896e[_0x5d0ded(0x165)](getObservabilityLinkedProductName,_0x2000e0),'session_id':_0x3575d0[_0x5d0ded(0x13c)]}};}else{if(_0x29896e['COkvd'](_0x194227['constructor']['name'],_0x29896e[_0x5d0ded(0x16a)])){const _0x48d63b=PlaywrightSessionDetails['getDetails']();_0x19e3d5=_0x48d63b['cloudProvider']||_0x19e3d5;const _0x19550e=_0x29896e[_0x5d0ded(0x17a)](nestedKeyValue,_0x194227,[_0x29896e['nLOFJ'],_0x29896e[_0x5d0ded(0x154)],_0x29896e['SVHEX']]),_0x1420b8=_0x19550e?JSON[_0x5d0ded(0x160)](new URL(_0x19550e)[_0x5d0ded(0x14a)][_0x5d0ded(0x16f)](_0x29896e['LGiyQ'])):{};return{[_0x19e3d5]:{'browser':_0x48d63b['browser']||_0x1420b8[_0x5d0ded(0x13d)],'browser_version':_0x48d63b[_0x5d0ded(0x15e)]||_0x1420b8[_0x5d0ded(0x15e)],'capabilities':_0x1420b8,'platform':_0x48d63b['platform'],'platform_version':_0x48d63b[_0x5d0ded(0x17f)],'product':_0x29896e[_0x5d0ded(0x176)](getObservabilityLinkedProductName,_0x1420b8),'session_id':_0x48d63b['bsSessionId']}};}}},exports[a3_0x2fbf60(0x153)]=_0xce17a5=>{const _0x33db8a=a3_0x2fbf60,_0x3fc7a9={'ZCKdR':function(_0x295919){return _0x295919();},'wlQUN':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','uqdbq':function(_0x4aefc9,_0x2dedf0){return _0x4aefc9!==_0x2dedf0;},'aGHHi':_0x33db8a(0x169),'DHUVu':_0x33db8a(0x181),'AUyNH':function(_0x35c78f,_0x50a71a){return _0x35c78f(_0x50a71a);},'iQdWH':_0x33db8a(0x14c)};if(_0x3fc7a9[_0x33db8a(0x159)](isAccessibilityAutomationSession)){const _0x1b96f5=_0xce17a5[_0x33db8a(0x175)],_0x19220d=_0x1b96f5[_0x33db8a(0x177)];global[_0x33db8a(0x147)]=!![];!accessibilityHelper[_0x33db8a(0x13f)](_0x19220d[_0x33db8a(0x13d)])&&(logger[_0x33db8a(0x141)](_0x3fc7a9['wlQUN']),global[_0x33db8a(0x147)]=![]);if(_0x3fc7a9[_0x33db8a(0x15a)](_0x19220d[_0x33db8a(0x178)],_0x3fc7a9[_0x33db8a(0x13e)])){const _0x145140=_0x3fc7a9[_0x33db8a(0x159)](isBrowserstackInfra),_0x12ce9b=accessibilityHelper[_0x33db8a(0x162)](_0x19220d['browserName'],_0x145140),_0x58abf0=accessibilityHelper['getBrowserDisplayName'](_0x19220d['browserName']);if(!accessibilityHelper[_0x33db8a(0x150)](_0x19220d[_0x33db8a(0x178)],_0x12ce9b)){const _0x55648b=_0x145140?'':_0x3fc7a9[_0x33db8a(0x14e)];logger[_0x33db8a(0x141)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x58abf0+_0x33db8a(0x156)+_0x12ce9b+_0x33db8a(0x146)+_0x55648b+'.'),global[_0x33db8a(0x147)]=![];}}!_0x3fc7a9[_0x33db8a(0x14b)](isUndefined,_0x19220d[_0x33db8a(0x171)])&&(logger['warn'](_0x3fc7a9[_0x33db8a(0x167)]),global[_0x33db8a(0x147)]=![]);}},exports['shouldPatchExecuteScript']=_0x16bd65=>{const _0x31bdaa=a3_0x2fbf60,_0x50185f={};_0x50185f[_0x31bdaa(0x144)]=function(_0x4dabec,_0x24ec95){return _0x4dabec!==_0x24ec95;},_0x50185f[_0x31bdaa(0x158)]=_0x31bdaa(0x157),_0x50185f['hdTAM']='browserstack_executor',_0x50185f[_0x31bdaa(0x16c)]='browserstack_accessibility_automation_script';const _0xdb2723=_0x50185f;if(!_0x16bd65)return![];else{if(_0xdb2723[_0x31bdaa(0x144)](typeof _0x16bd65,_0xdb2723[_0x31bdaa(0x158)]))return!![];}return!_0x16bd65[_0x31bdaa(0x172)](_0xdb2723[_0x31bdaa(0x145)])&&!_0x16bd65['includes'](_0xdb2723['EMgVv']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x45b313=a4_0x4ddd;(function(_0x54232a,_0x574e53){const _0x1f9c2c=a4_0x4ddd,_0x527527=_0x54232a();while(!![]){try{const _0x205a55=-parseInt(_0x1f9c2c(0x19e))/0x1+parseInt(_0x1f9c2c(0x204))/0x2+-parseInt(_0x1f9c2c(0x15d))/0x3*(parseInt(_0x1f9c2c(0x15a))/0x4)+parseInt(_0x1f9c2c(0x169))/0x5*(-parseInt(_0x1f9c2c(0x1f1))/0x6)+-parseInt(_0x1f9c2c(0x1ca))/0x7+parseInt(_0x1f9c2c(0x179))/0x8*(-parseInt(_0x1f9c2c(0x168))/0x9)+parseInt(_0x1f9c2c(0x1fc))/0xa;if(_0x205a55===_0x574e53)break;else _0x527527['push'](_0x527527['shift']());}catch(_0x16eb26){_0x527527['push'](_0x527527['shift']());}}}(a4_0x406a,0x9a341));const path=require(a4_0x45b313(0x1a0)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a4_0x45b313(0x1a1)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x45b313(0x192)),testOpsHelper=require(a4_0x45b313(0x137)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x45b313(0x205)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require(a4_0x45b313(0x219)),RequestQueueHandler=require(a4_0x45b313(0x16f)),PlaywrightSessionDetails=require(a4_0x45b313(0x19c)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x45b313(0x125)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x45b313(0x133)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x45b313(0x171)),STATE_PASSED=a4_0x45b313(0x1d6),STATE_FAILED=a4_0x45b313(0x229),a4_0x52003d={};a4_0x52003d[a4_0x45b313(0x21d)]=a4_0x45b313(0x15f),a4_0x52003d['TEST_RUN_FINISHED']=a4_0x45b313(0x12e),a4_0x52003d[a4_0x45b313(0x181)]=a4_0x45b313(0x207),a4_0x52003d[a4_0x45b313(0x17e)]='HookRunStarted',a4_0x52003d[a4_0x45b313(0x14f)]=a4_0x45b313(0x1b2);const TEST_EVENTS=a4_0x52003d,parseEvent=_0x235179=>{const _0x5b4a8f=a4_0x45b313,_0xcb210e={};_0xcb210e[_0x5b4a8f(0x161)]=function(_0x3e88a8,_0x56d95e){return _0x3e88a8<_0x56d95e;},_0xcb210e[_0x5b4a8f(0x16b)]=function(_0x5bb0be,_0x2d4dec){return _0x5bb0be===_0x2d4dec;},_0xcb210e[_0x5b4a8f(0x1c7)]=_0x5b4a8f(0x13f),_0xcb210e['QSmDH']=_0x5b4a8f(0x227),_0xcb210e[_0x5b4a8f(0x1db)]=function(_0x143ea7,_0x46b346){return _0x143ea7===_0x46b346;},_0xcb210e[_0x5b4a8f(0x1bb)]=_0x5b4a8f(0x20a),_0xcb210e[_0x5b4a8f(0x1f0)]=function(_0x424776,_0x340943){return _0x424776===_0x340943;},_0xcb210e[_0x5b4a8f(0x1e4)]='started',_0xcb210e['TscDs']=function(_0xc00401,_0x25e94b){return _0xc00401===_0x25e94b;},_0xcb210e[_0x5b4a8f(0x1b4)]=_0x5b4a8f(0x1bf);const _0x3f5cb3=_0xcb210e,_0xf40674=_0x235179['match'](/^(.*)Run(.*)$/);if(!_0xf40674)return null;if(_0x3f5cb3[_0x5b4a8f(0x161)](_0xf40674[_0x5b4a8f(0x147)],0x3))return null;const _0x41d9a5=_0xf40674[0x1]['toLowerCase'](),_0x185a24=_0xf40674[0x2]['toLowerCase']();return{'test':_0x3f5cb3[_0x5b4a8f(0x16b)](_0x41d9a5,_0x3f5cb3[_0x5b4a8f(0x1c7)]),'hook':_0x3f5cb3[_0x5b4a8f(0x16b)](_0x41d9a5,_0x3f5cb3[_0x5b4a8f(0x188)]),'skipped':_0x3f5cb3['fsDPC'](_0x185a24,_0x3f5cb3[_0x5b4a8f(0x1bb)]),'started':_0x3f5cb3[_0x5b4a8f(0x1f0)](_0x185a24,_0x3f5cb3['ZJxrA']),'finished':_0x3f5cb3[_0x5b4a8f(0x158)](_0x185a24,_0x3f5cb3[_0x5b4a8f(0x1b4)])};},mockPWBrowserType=_0x1f32fd=>{const _0x464ce9=a4_0x45b313,_0x3fb1d8={'eCNSv':function(_0x10a586,_0x2f2cd8,_0x5b0f01){return _0x10a586(_0x2f2cd8,_0x5b0f01);},'TZFRp':'wsEndpoint','wWXOa':function(_0xdab760,_0x209808){return _0xdab760(_0x209808);},'OjSJK':_0x464ce9(0x1e9),'ojlsg':function(_0x4d4e32,_0x143100){return _0x4d4e32(_0x143100);},'bVZQi':function(_0x615344,_0xb6b046){return _0x615344===_0xb6b046;},'QcgNn':_0x464ce9(0x1d4),'SaxsB':_0x464ce9(0x126),'OLruU':_0x464ce9(0x194),'alhww':_0x464ce9(0x1ab),'uuObH':function(_0x471dfd,_0x44a26f){return _0x471dfd(_0x44a26f);},'XDuas':_0x464ce9(0x1be),'HuGuU':_0x464ce9(0x1ba),'wZQVH':'launch'},_0x4c709e=path['join'](_0x3fb1d8[_0x464ce9(0x1cd)],_0x3fb1d8['OLruU'],_0x3fb1d8[_0x464ce9(0x1c2)]),_0x5578f6=_0x3fb1d8['uuObH'](importFileFromPWCore,_0x4c709e);if(!_0x5578f6){_0x3fb1d8[_0x464ce9(0x22a)](debug,_0x3fb1d8[_0x464ce9(0x1ec)]);return;}const _0x38ba6c=_0x5578f6[_0x464ce9(0x225)],_0x326225=_0x38ba6c[_0x464ce9(0x1ad)];if(_0x326225[_0x464ce9(0x1d3)])return;const _0x357ff2=_0x326225[_0x464ce9(0x1ba)];Object[_0x464ce9(0x19a)](_0x326225,_0x3fb1d8[_0x464ce9(0x217)],{'get':function(){const _0x5d5cd3=_0x464ce9,_0x3372f7={'sfPxN':function(_0x1763ab,_0x17aecd){const _0x17ca1b=a4_0x4ddd;return _0x3fb1d8[_0x17ca1b(0x146)](_0x1763ab,_0x17aecd);},'ZGWWk':_0x3fb1d8[_0x5d5cd3(0x198)]};return async function _0x461366(_0x1af701,_0x449dc9){const _0x13431e=_0x5d5cd3,_0x21276f=_0x3fb1d8[_0x13431e(0x224)](nestedKeyValue,_0x1af701,[_0x3fb1d8[_0x13431e(0x1a4)]])||_0x1af701;let _0x5326ad=null,_0x195880=null;try{[_0x195880,_0x5326ad]=_0x21276f?_0x3fb1d8[_0x13431e(0x144)](parseWSEndpoint,_0x21276f):[null,null],global[_0x13431e(0x1cb)]=_0x5326ad,logger[_0x13431e(0x129)](_0x13431e(0x138)+_0x195880),_0x195880[_0x13431e(0x13b)](Constants[_0x13431e(0x174)])&&(global[_0x13431e(0x160)]=_0x3fb1d8['OjSJK']);}catch(_0x654257){logger['debug'](_0x13431e(0x213)+_0x21276f+'\x20'+_0x654257);}_0x3fb1d8[_0x13431e(0x224)](processAccessibilityCaps,_0x5326ad,_0x195880);if(global[_0x13431e(0x220)]){const _0x535b02=await _0x326225[_0x13431e(0x1f5)][_0x13431e(0x16c)](this,[''+Constants[_0x13431e(0x1a7)]+_0x3fb1d8['ojlsg'](encodeURIComponent,JSON[_0x13431e(0x22c)](_0x5326ad))]);return PlaywrightSessionDetails[_0x13431e(0x1da)](_0x535b02,_0x1f32fd,_0x21276f),_0x535b02;}return _0x357ff2['apply'](this,arguments)[_0x13431e(0x156)](_0x1e9393=>{const _0x3cfd4b=_0x13431e;let _0x4a7f0a=_0x1af701[_0x3cfd4b(0x20e)];return _0x3372f7[_0x3cfd4b(0x1eb)](typeof _0x1af701,_0x3372f7['ZGWWk'])&&(_0x4a7f0a=_0x1af701),PlaywrightSessionDetails['setupBrowserDetails'](_0x1e9393,_0x1f32fd,_0x4a7f0a),_0x1e9393;});};}});const _0x48b4a4=_0x326225['launch'];Object[_0x464ce9(0x19a)](_0x326225,_0x3fb1d8[_0x464ce9(0x14c)],{'get':function(){return async function _0x5a4e5a(){const _0x299d3a=a4_0x4ddd;return _0x48b4a4[_0x299d3a(0x16c)](this,arguments)[_0x299d3a(0x156)](_0x2c4a60=>{const _0x4cf365=_0x299d3a;return PlaywrightSessionDetails[_0x4cf365(0x1da)](_0x2c4a60,null),_0x2c4a60;});};}});};function a4_0x406a(){const _0x4f1bf2=['finished','split','mctqS','alhww','_paths','groups','zDhWq','integrations','NBXlb','_testEnv','test_run_uuid','2894255QZxzxB','__platformCaps','uploadEventData','SaxsB','getFailureType','JiRxY','started','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','codeceptjs','obsBrowserTypeMockApplied','string','ROgod','passed','inspect','success','_beforeEach','setupBrowserDetails','fsDPC','duration','Fvvae','hook_run_uuid','dirname','start','message','shutdown','aeMvp','ZJxrA','location_prefix','sep','eventType','exports','browserstack','PathHelper','sfPxN','XDuas','now','DBhEo','getRootParentFile','WLZJg','258CvcdOE','WXHyB','bufferPendingHookEvent','JftPO','connectOverCDP','markedStatus','forEach','session_id','O11yHelper','frameworkName','STATE_PASSED','23009290QcQcXe','relative','CKsbm','enabled','hook_run','wMRih','javascript','parent','2301108mDXjxx','../../helpers/test-observability/constants','splice','TestRunSkipped','replace','yEzqs','skipped','PnPeZ','getTime','_afterEach','wsEndpoint','tags','RinVM','.git','stepAnalyticsId','Failed\x20to\x20parse\x20wsendpoint\x20','fullTitle','MxAtO','logs','HuGuU','CODECEPT','../../helpers/test-observability/sessionHandler','bind','backtrace','getCBTInfo','TEST_RUN_STARTED','match','IYoSf','accessibilityPlatform','errorsDetailed','failure','failureData','eCNSv','BrowserType','finished_at','hook','toString','failed','uuObH','bqPjG','stringify','body','../playwright/accessibility-helper','lib','NBmsk','vrQGi','debug','toISOString','findGitConfig','hookAnalyticsId','currentHook','TestRunFinished','feature','FsAUX','failure_reason_expanded','keys','./helper.js','sfGLs','resetSkipTestHooks','removeAllListeners','../../helpers/test-observability/utils','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','test_run','NemLO','includes','driver','BGiRu','flushPendingHookEvents','test','pending','currentTest','join','captureEvent','wWXOa','mapTestHooks','bVZQi','length','YMWlu','failed\x20to\x20get\x20root\x20parent\x20file\x20','bddSteps','wCABd','wZQVH','expanded','DIrwJ','HOOK_RUN_FINISHED','file','uNOlg','vPIQt','_afterAll','CapSQ','getHierarchy','then','YrHGh','TscDs','comment','4oAqjKM','lVvuf','YBppH','2521698AoLxlh','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TestRunStarted','__cloud_provider___','DCMiM','pid','find','initializeBddStep','hasLiveDriverSession','push','STATE_FAILED','216SFfdsF','25255LfLqAt','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','ZFqZf','apply','Mbojp','title','../../helpers/test-observability/requestQueueHandler','bddStepStart','../utils/constants','TEST_RUN_FINISHED','type','BROWSERSTACK','getInstance','suites','cwd','result','399864hrtZtm','event_type','constructor','retryOf','YoMFo','HOOK_RUN_STARTED','dmWuD','tZOfC','TEST_RUN_SKIPPED','XgTfD','YFFAH','pendingHookEvents','Exezf','jFofh','name','QSmDH','fireEvent','aFcds','File\x20path\x20could\x20not\x20be\x20found','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','qoxlB','config','bbhIO','_beforeAll','ELGUd','../../helpers/helper','getHooksForTest','client','\x20with\x20error\x20:\x20','format','lJZgb','QcgNn','3|5|4|2|1|0','defineProperty','failure_backtrace','../playwright/sessionDetails','toUpperCase','149050QijDnu','startedAt','path','uuid','TEST_REPORTING_ANALYTICS','appendTestItemLog','TZFRp','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','DMpuE','PLAYWRIGHT_HUB_URL','meta','Xbmyl','CBTSessionCreated','browserType.js','status','prototype','KsHsf','fIauv','bs:addLog:','ujYfz','HookRunFinished','qvVCJ','LKMfz','MusyS','PdfDm','testAnalyticsId','LogCreated','err','connect','esYEZ','bddStepFinish','ctx','Not\x20able\x20to\x20import\x20Browser'];a4_0x406a=function(){return _0x4f1bf2;};return a4_0x406a();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x45b313(0x1ff)]=![];['frameworkName']=![];[a4_0x45b313(0x184)]=[];constructor(_0x5a0434,_0x34a737){const _0x154bf3=a4_0x45b313,_0x531555={'lVvuf':_0x154bf3(0x199),'JiRxY':function(_0x1274e3,_0x576f3c){return _0x1274e3===_0x576f3c;},'Xbmyl':'Playwright','bbhIO':function(_0x216a63,_0x26b61f){return _0x216a63(_0x26b61f);},'Vecmb':function(_0x40f2dc){return _0x40f2dc();}},_0x139651=_0x531555[_0x154bf3(0x15b)][_0x154bf3(0x1c0)]('|');let _0x425742=0x0;while(!![]){switch(_0x139651[_0x425742++]){case'0':this[_0x154bf3(0x13c)]&&_0x531555[_0x154bf3(0x1cf)](this[_0x154bf3(0x13c)][_0x154bf3(0x17b)][_0x154bf3(0x187)],_0x531555[_0x154bf3(0x1a9)])&&_0x531555[_0x154bf3(0x18f)](mockPWBrowserType,null);continue;case'1':this[_0x154bf3(0x1c3)]=new testOpsHelper[(_0x154bf3(0x1ea))]({'cwd':process[_0x154bf3(0x177)]()},this[_0x154bf3(0x1c8)][_0x154bf3(0x1e5)]);continue;case'2':this[_0x154bf3(0x1c8)]=_0x531555['Vecmb'](getTestEnv);continue;case'3':this[_0x154bf3(0x1ff)]=_0x531555['Vecmb'](shouldProcessEventForTesthub);continue;case'4':this['driver']=_0x5a0434;continue;case'5':this[_0x154bf3(0x1fa)]=_0x34a737['frameworkName'];continue;}break;}}[a4_0x45b313(0x165)](){const _0x3b7716=a4_0x45b313,_0x48e25e={'WXHyB':function(_0x3bd12d,_0x20a05c){return _0x3bd12d(_0x20a05c);}};if(!this[_0x3b7716(0x13c)])return![];try{const _0x1eb95e=_0x48e25e[_0x3b7716(0x1f2)](fetchPlatformDetails,this[_0x3b7716(0x13c)]);if(!_0x1eb95e)return![];const _0x45290e=Object[_0x3b7716(0x132)](_0x1eb95e)[0x0];return!!(_0x45290e&&_0x1eb95e[_0x45290e]&&_0x1eb95e[_0x45290e][_0x3b7716(0x1f8)]);}catch(_0xdd4ded){return![];}}[a4_0x45b313(0x1f3)](_0x32d402,_0x14329e){const _0x50979b=a4_0x45b313;if(!_0x14329e)return;const _0x5b919e={};_0x5b919e[_0x50979b(0x1e7)]=_0x32d402,_0x5b919e['uploadData']=_0x14329e,this[_0x50979b(0x184)][_0x50979b(0x166)](_0x5b919e);}async[a4_0x45b313(0x13e)](){const _0x18455c=a4_0x45b313,_0x2507dc={};_0x2507dc[_0x18455c(0x15c)]=function(_0x367764,_0x4ce074){return _0x367764&&_0x4ce074;};const _0x15f6bc=_0x2507dc;if(!this[_0x18455c(0x184)]['length'])return;if(!this[_0x18455c(0x165)]())return;const _0x47c40c=this[_0x18455c(0x21c)](this['driver']),_0x1957b5=this[_0x18455c(0x184)][_0x18455c(0x206)](0x0,this['pendingHookEvents'][_0x18455c(0x147)]);for(const {eventType:_0x191169,uploadData:_0x11a792}of _0x1957b5){try{const _0x56b487=_0x11a792['hook_run']||_0x11a792[_0x18455c(0x139)];_0x15f6bc[_0x18455c(0x15c)](_0x56b487,_0x47c40c)&&(_0x56b487[_0x18455c(0x1c6)]=_0x47c40c),await this[_0x18455c(0x189)](_0x191169,_0x11a792);}catch(_0x17e47e){logger[_0x18455c(0x129)](_0x18455c(0x16a)+_0x191169+':\x20'+util[_0x18455c(0x196)](_0x17e47e));}}}[a4_0x45b313(0x1e0)](){const _0x988cf7=a4_0x45b313;if(!this[_0x988cf7(0x1ff)])return;testOpsHelper['patchConsoleLogger'](),process[_0x988cf7(0x136)](_0x988cf7(0x1b0)+process[_0x988cf7(0x162)]),process['on'](_0x988cf7(0x1b0)+process[_0x988cf7(0x162)],this[_0x988cf7(0x1a3)][_0x988cf7(0x21a)](this));}async['stop'](){const _0x59650e=a4_0x45b313;await RequestQueueHandler[_0x59650e(0x175)]()[_0x59650e(0x1e2)]();}async[a4_0x45b313(0x1a3)](_0x5eb62b){const _0x3a1672=a4_0x45b313,_0x238c92={'DBhEo':_0x3a1672(0x1b8),'sfGLs':function(_0x30bf08,_0x278b22){return _0x30bf08(_0x278b22);}};try{this[_0x3a1672(0x12d)]&&!this[_0x3a1672(0x12d)][_0x3a1672(0x1f6)]&&(_0x5eb62b[_0x3a1672(0x1de)]=this[_0x3a1672(0x12d)][_0x3a1672(0x12c)]);!_0x5eb62b['hook_run_uuid']&&this[_0x3a1672(0x141)]&&!this[_0x3a1672(0x141)][_0x3a1672(0x1f6)]&&(_0x5eb62b[_0x3a1672(0x1c9)]=this[_0x3a1672(0x141)][_0x3a1672(0x1b7)]);if(_0x5eb62b[_0x3a1672(0x1de)]||_0x5eb62b[_0x3a1672(0x1c9)]){const _0x137132={};_0x137132[_0x3a1672(0x17a)]=_0x238c92[_0x3a1672(0x1ee)],_0x137132[_0x3a1672(0x216)]=[_0x5eb62b],await SessionHandler[_0x3a1672(0x1cc)](_0x137132);}}catch(_0x228fcb){_0x238c92[_0x3a1672(0x134)](debug,_0x3a1672(0x1d1)+constants[_0x3a1672(0x1a2)]+_0x3a1672(0x195)+_0x228fcb);}}async['sendCBTInfo'](_0x2978f8){const _0x45fefc=a4_0x45b313,_0x31c404={'ELGUd':_0x45fefc(0x1aa),'ROgod':function(_0x3f4ab5,_0x5a92f1){return _0x3f4ab5(_0x5a92f1);}};if(!this[_0x45fefc(0x1ff)])return;const _0x215a5d=this['getCBTInfo'](this['driver']);try{const _0x2f3283={};_0x2f3283[_0x45fefc(0x1a1)]=_0x2978f8,_0x2f3283[_0x45fefc(0x1c6)]=_0x215a5d;const _0x59c802=_0x2f3283,_0x2eec68={};_0x2eec68[_0x45fefc(0x17a)]=_0x31c404[_0x45fefc(0x191)],_0x2eec68[_0x45fefc(0x139)]=_0x59c802,await SessionHandler[_0x45fefc(0x1cc)](_0x2eec68);}catch(_0x47019d){_0x31c404[_0x45fefc(0x1d5)](debug,_0x45fefc(0x1a5)+constants[_0x45fefc(0x1a2)]+_0x45fefc(0x195)+_0x47019d);}}[a4_0x45b313(0x21c)](_0x259ecc){const _0xd8baf0=a4_0x45b313,_0x5d546a={'tZOfC':function(_0x10a04b,_0x488ed3){return _0x10a04b(_0x488ed3);}};return _0x5d546a[_0xd8baf0(0x180)](fetchPlatformDetails,_0x259ecc);}['resetSkipTestHooks']=_0x1bbc76=>{const _0x56fa42=a4_0x45b313,_0x3dfa6d={};_0x3dfa6d['pKKEk']=_0x56fa42(0x1d9),_0x3dfa6d[_0x56fa42(0x130)]=_0x56fa42(0x20d);const _0x4035e0=_0x3dfa6d;if(!_0x1bbc76||!_0x1bbc76['parent'])return;[_0x4035e0['pKKEk'],_0x4035e0['FsAUX']]['forEach'](_0x4c6a67=>{const _0x427036=_0x56fa42,_0x4c028e=_0x1bbc76['parent'][_0x4c6a67];_0x4c028e[_0x427036(0x1f7)](_0x5d3e87=>{const _0x25837e=_0x427036;_0x5d3e87[_0x25837e(0x12c)]&&(_0x5d3e87[_0x25837e(0x12c)]=null);});});};[a4_0x45b313(0x145)](_0x10c1d4){const _0x5301b7=a4_0x45b313,_0x7b989d={'vrQGi':_0x5301b7(0x1d2),'irGLw':function(_0x358a91){return _0x358a91();},'CKsbm':function(_0xc45948,_0x398459){return _0xc45948===_0x398459;},'wMRih':'_afterEach','zszBa':_0x5301b7(0x190),'XgTfD':_0x5301b7(0x153),'YrHGh':_0x5301b7(0x1d9)};if(!_0x10c1d4||!_0x10c1d4['parent'])return;[_0x7b989d['zszBa'],_0x7b989d[_0x5301b7(0x182)],_0x7b989d[_0x5301b7(0x157)],_0x7b989d[_0x5301b7(0x201)]][_0x5301b7(0x1f7)](_0x51e01b=>{const _0xa3b24=_0x5301b7,_0x11af5f={'DIrwJ':_0x7b989d[_0xa3b24(0x128)],'YMWlu':function(_0x116735){return _0x7b989d['irGLw'](_0x116735);},'KsHsf':function(_0x18816c,_0x14fdad){const _0x3a72f9=_0xa3b24;return _0x7b989d[_0x3a72f9(0x1fe)](_0x18816c,_0x14fdad);},'qvVCJ':_0x7b989d[_0xa3b24(0x201)]},_0x338084=_0x10c1d4[_0xa3b24(0x203)][_0x51e01b]||[];_0x338084[_0xa3b24(0x1f7)](_0x188ed8=>{const _0x577187=_0xa3b24;if(_0x188ed8[_0x577187(0x16e)][_0x577187(0x13b)](_0x11af5f[_0x577187(0x14e)]))return;if(!_0x188ed8[_0x577187(0x12c)])_0x188ed8[_0x577187(0x12c)]=_0x11af5f[_0x577187(0x148)](uuidv4);else _0x188ed8[_0x577187(0x1f6)]&&_0x11af5f[_0x577187(0x1ae)](_0x51e01b,_0x11af5f[_0x577187(0x1b3)])&&(_0x188ed8[_0x577187(0x12c)]=_0x11af5f['YMWlu'](uuidv4),delete _0x188ed8[_0x577187(0x1f6)]);});}),this[_0x5301b7(0x145)](_0x10c1d4[_0x5301b7(0x203)]);}['getHooksForTest'](_0x38808e){const _0x2e8576=a4_0x45b313,_0x3ef0bf={};_0x3ef0bf[_0x2e8576(0x1e3)]=_0x2e8576(0x190),_0x3ef0bf[_0x2e8576(0x183)]='_afterAll',_0x3ef0bf[_0x2e8576(0x1b6)]=_0x2e8576(0x1d9),_0x3ef0bf['mIFXW']=_0x2e8576(0x20d);const _0xe7c933=_0x3ef0bf;if(!_0x38808e||!_0x38808e[_0x2e8576(0x203)])return[];const _0x342fd2=[];return[_0xe7c933[_0x2e8576(0x1e3)],_0xe7c933[_0x2e8576(0x183)],_0xe7c933[_0x2e8576(0x1b6)],_0xe7c933['mIFXW']][_0x2e8576(0x1f7)](_0xc39e6=>{const _0x4e9fb7=_0x2e8576,_0x494f1b=_0x38808e[_0x4e9fb7(0x203)][_0xc39e6]||[];_0x494f1b[_0x4e9fb7(0x1f7)](_0x38f173=>{const _0x222155=_0x4e9fb7;_0x38f173[_0x222155(0x12c)]&&_0x342fd2['push'](_0x38f173[_0x222155(0x12c)]);});}),[]['concat'](_0x342fd2,this[_0x2e8576(0x193)](_0x38808e['parent']));}['getHookType'](_0x2408c1){const _0x4cecbc=a4_0x45b313,_0x1cb911=/^"(?<hook>.*)" hook:.*$/,_0x2a0fcf=_0x2408c1[_0x4cecbc(0x16e)],_0x446c2e=_0x2a0fcf['match'](_0x1cb911);if(_0x446c2e&&_0x446c2e[_0x4cecbc(0x1c4)])return _0x446c2e['groups'][_0x4cecbc(0x227)][_0x4cecbc(0x19d)]()[_0x4cecbc(0x208)]('\x20','_');return null;}[a4_0x45b313(0x12b)](_0x23e2b2){const _0x4040f3=a4_0x45b313,_0xede7e7={};_0xede7e7['aFcds']=function(_0xff704b,_0x22968e){return _0xff704b===_0x22968e;},_0xede7e7['rnOmn']=function(_0xff0167,_0x38ac1a){return _0xff0167===_0x38ac1a;},_0xede7e7['Exezf']=function(_0xd5fa3c,_0x547020){return _0xd5fa3c===_0x547020;},_0xede7e7['RinVM']=_0x4040f3(0x211),_0xede7e7[_0x4040f3(0x197)]=_0x4040f3(0x18e);const _0x2e6f2b=_0xede7e7,_0x3f139b=path[_0x4040f3(0x1e6)];if(_0x2e6f2b[_0x4040f3(0x18a)](_0x23e2b2,null)||_0x2e6f2b[_0x4040f3(0x18a)](_0x23e2b2,'')||_0x2e6f2b['rnOmn'](_0x23e2b2,_0x3f139b)||_0x2e6f2b[_0x4040f3(0x185)](_0x23e2b2,path['dirname'](_0x23e2b2)))return null;try{return fs['statSync'](path[_0x4040f3(0x142)](_0x23e2b2,_0x2e6f2b[_0x4040f3(0x210)],_0x2e6f2b[_0x4040f3(0x197)])),_0x23e2b2;}catch(_0x181a40){const _0x3ed445=path[_0x4040f3(0x1df)](_0x23e2b2);return this[_0x4040f3(0x12b)](_0x3ed445);}}['getRootParentFile'](_0x41eef7){const _0x48bf0d=a4_0x45b313,_0x36c439={};_0x36c439[_0x48bf0d(0x1b1)]=function(_0x55b4a3,_0x1c6bfd){return _0x55b4a3>_0x1c6bfd;};const _0x27512f=_0x36c439;if(_0x41eef7[_0x48bf0d(0x150)])return _0x41eef7['file'];if(_0x41eef7['ctx']){const _0x5b8da3=_0x41eef7['ctx'][_0x48bf0d(0x141)]?this['getRootParentFile'](_0x41eef7[_0x48bf0d(0x1bd)]['currentTest']):null;if(_0x5b8da3)return _0x5b8da3;}if(_0x41eef7[_0x48bf0d(0x203)]){const _0x432573=this[_0x48bf0d(0x1ef)](_0x41eef7[_0x48bf0d(0x203)])||(_0x41eef7['parent'][_0x48bf0d(0x1bd)]&&_0x41eef7['parent']['ctx'][_0x48bf0d(0x141)]?this[_0x48bf0d(0x1ef)](_0x41eef7['parent'][_0x48bf0d(0x1bd)][_0x48bf0d(0x141)]):null);if(_0x432573)return _0x432573;_0x41eef7[_0x48bf0d(0x203)][_0x48bf0d(0x176)]&&_0x27512f[_0x48bf0d(0x1b1)](_0x41eef7[_0x48bf0d(0x203)]['suites'][_0x48bf0d(0x147)],0x0)&&_0x41eef7[_0x48bf0d(0x203)][_0x48bf0d(0x176)][_0x48bf0d(0x1f7)](_0x452ed8=>{const _0x2398b9=_0x48bf0d,_0x48a5db=_0x452ed8[_0x2398b9(0x1bd)]?this[_0x2398b9(0x1ef)](_0x452ed8[_0x2398b9(0x1bd)]):null;if(_0x48a5db)return _0x48a5db;});}return null;}[a4_0x45b313(0x155)](_0x1dcc8a){const _0x5e9f64=a4_0x45b313,_0x412387={};_0x412387[_0x5e9f64(0x151)]=function(_0x49a656,_0x4e1d79){return _0x49a656!==_0x4e1d79;};const _0x370a28=_0x412387,_0x285cb8=[];if(_0x1dcc8a&&_0x1dcc8a[_0x5e9f64(0x203)]){let _0x168265=_0x1dcc8a[_0x5e9f64(0x203)];while(_0x168265&&_0x370a28[_0x5e9f64(0x151)](_0x168265['title'],'')){_0x285cb8[_0x5e9f64(0x166)](_0x168265['title']),_0x168265=_0x168265['parent'];}}return _0x285cb8;}[a4_0x45b313(0x143)](_0xe36673,_0xb2ade2,_0x3725d7=undefined){const _0x5bb4ad=a4_0x45b313,_0x18dcbc={'CjklR':function(_0x31149e,_0x41dfe9){return _0x31149e(_0x41dfe9);},'ALpuR':function(_0x4f02f2){return _0x4f02f2();},'yEzqs':function(_0x2fdfc5){return _0x2fdfc5();},'wCABd':function(_0x45c01b){return _0x45c01b();},'dmWuD':_0x5bb4ad(0x1b9),'NemLO':function(_0x13d24a,_0x257d76){return _0x13d24a!==_0x257d76;},'Mbojp':_0x5bb4ad(0x18b),'NBmsk':_0x5bb4ad(0x140),'fIauv':_0x5bb4ad(0x229),'DMpuE':_0x5bb4ad(0x1d6),'mctqS':'skipped','JftPO':_0x5bb4ad(0x202),'YoMFo':function(_0x3ae948,_0x356fc5){return _0x3ae948-_0x356fc5;},'oyiQX':function(_0x3ec552,_0x589844,_0x352917,_0x591720,_0x3b6299){return _0x3ec552(_0x589844,_0x352917,_0x591720,_0x3b6299);},'HOnzC':_0x5bb4ad(0x1c6),'IYoSf':_0x5bb4ad(0x1a8),'CapSQ':_0x5bb4ad(0x222),'zDhWq':_0x5bb4ad(0x19b),'Fvvae':_0x5bb4ad(0x21b),'vPIQt':_0x5bb4ad(0x131),'bqPjG':_0x5bb4ad(0x14d),'wrYfY':function(_0x2cde14,_0x37a790){return _0x2cde14===_0x37a790;},'BGiRu':_0x5bb4ad(0x200),'vdFVl':_0x5bb4ad(0x139)};if(!this[_0x5bb4ad(0x1ff)])return;try{if(_0xb2ade2['fn']&&_0xb2ade2['fn'][_0x5bb4ad(0x228)]()[_0x5bb4ad(0x21e)](/browserstack internal helper hook/))return;const _0xe58a83=_0x18dcbc['CjklR'](parseEvent,_0xe36673);if(!_0xe58a83)return;if(_0xe58a83[_0x5bb4ad(0x13f)]){this['currentTest']=_0xb2ade2,this[_0x5bb4ad(0x12d)]=null;if(_0xe58a83[_0x5bb4ad(0x1d0)]||_0xe58a83[_0x5bb4ad(0x20a)]){_0xb2ade2[_0x5bb4ad(0x19f)]=new Date(),_0xb2ade2[_0x5bb4ad(0x1f6)]=![];if(!_0xb2ade2['testAnalyticsId'])_0xb2ade2[_0x5bb4ad(0x1b7)]=_0x18dcbc['ALpuR'](uuidv4);else _0xb2ade2[_0x5bb4ad(0x1f6)]&&(!_0xb2ade2[_0x5bb4ad(0x17c)]&&(_0xb2ade2[_0x5bb4ad(0x17c)]=_0xb2ade2[_0x5bb4ad(0x1b7)]),_0xb2ade2[_0x5bb4ad(0x1b7)]=_0x18dcbc[_0x5bb4ad(0x209)](uuidv4));}}else{if(_0xe58a83['hook']){this[_0x5bb4ad(0x12d)]=_0xb2ade2;if(_0xe58a83[_0x5bb4ad(0x1d0)]){_0xb2ade2[_0x5bb4ad(0x19f)]=new Date(),_0xb2ade2[_0x5bb4ad(0x1f6)]=![];if(!_0xb2ade2[_0x5bb4ad(0x12c)])_0xb2ade2['hookAnalyticsId']=_0x18dcbc[_0x5bb4ad(0x14b)](uuidv4);else _0xb2ade2['hookAnalyticsId']&&_0xb2ade2[_0x5bb4ad(0x1f6)]&&(_0xb2ade2['hookAnalyticsId']=_0x18dcbc[_0x5bb4ad(0x209)](uuidv4));}}}if(_0xe58a83['finished']&&_0xb2ade2[_0x5bb4ad(0x1f6)])return;let _0x16d92d;try{_0x16d92d=this[_0x5bb4ad(0x1ef)](_0xb2ade2);}catch(_0x2e33de){logger[_0x5bb4ad(0x129)](_0x5bb4ad(0x149)+_0x2e33de),_0x16d92d=null;}let _0x53cfa9=[];_0x3725d7&&(_0x53cfa9=[_0x3725d7,_0x18dcbc[_0x5bb4ad(0x17f)]]);const _0x2903db=_0x18dcbc[_0x5bb4ad(0x13a)](_0xb2ade2[_0x5bb4ad(0x221)],undefined)?util[_0x5bb4ad(0x1d7)](_0xb2ade2[_0x5bb4ad(0x221)][0x0]):_0x18dcbc[_0x5bb4ad(0x13a)](_0x3725d7,undefined)?_0x3725d7[_0x5bb4ad(0x228)]():undefined,_0x27e544=_0x16d92d?this['findGitConfig'](_0x16d92d):null,_0x32b4c4=_0x16d92d?this[_0x5bb4ad(0x1c3)]['prefixTestPath'](this[_0x5bb4ad(0x1ef)](_0xb2ade2)):_0x18dcbc[_0x5bb4ad(0x16d)];let _0x32a0e5=_0x18dcbc[_0x5bb4ad(0x127)];const _0xeeebb=!_0xe58a83[_0x5bb4ad(0x1d0)]?new Date()[_0x5bb4ad(0x12a)]():null;if(_0xe58a83['finished'])_0x32a0e5=_0x3725d7?_0x18dcbc['fIauv']:_0x18dcbc[_0x5bb4ad(0x1a6)],_0xb2ade2[_0x5bb4ad(0x1f6)]=!![];else _0xe58a83[_0x5bb4ad(0x20a)]&&(_0x32a0e5=_0x18dcbc[_0x5bb4ad(0x1c1)],_0xb2ade2[_0x5bb4ad(0x1f6)]=!![]);const _0x370142={'framework':this['frameworkName'],'uuid':_0xb2ade2['testAnalyticsId']||_0xb2ade2[_0x5bb4ad(0x12c)],'name':_0xb2ade2[_0x5bb4ad(0x16e)],'body':{'lang':_0x18dcbc[_0x5bb4ad(0x1f4)],'code':_0xb2ade2[_0x5bb4ad(0x22d)]['toString']()},'type':_0xb2ade2[_0x5bb4ad(0x173)],'scope':_0xb2ade2[_0x5bb4ad(0x214)](),'scopes':this[_0x5bb4ad(0x155)](_0xb2ade2),'file_name':_0x32b4c4,'vc_filepath':_0x27e544?path[_0x5bb4ad(0x1fd)](_0x27e544,_0x16d92d):null,'location':_0x32b4c4,'result':_0x32a0e5,'failure_reason':_0x2903db,'duration_in_ms':_0xb2ade2[_0x5bb4ad(0x1dc)]||(_0xe58a83[_0x5bb4ad(0x1bf)]||_0xe58a83[_0x5bb4ad(0x20a)])?_0x18dcbc[_0x5bb4ad(0x17d)](Date[_0x5bb4ad(0x1ed)](),new Date(_0xb2ade2[_0x5bb4ad(0x19f)])[_0x5bb4ad(0x20c)]()):null,'started_at':new Date(_0xb2ade2['startedAt'])[_0x5bb4ad(0x12a)](),'finished_at':_0xeeebb,'failure':testOpsHelper[_0x5bb4ad(0x223)][_0x5bb4ad(0x16c)](null,_0x53cfa9),'failure_type':!_0x2903db?null:testOpsHelper[_0x5bb4ad(0x1ce)](_0x2903db),'retry_of':_0xb2ade2[_0x5bb4ad(0x17c)]||null,'tags':_0xb2ade2[_0x5bb4ad(0x20f)]||[],'customRerunParam':{'rerun_name':_0xb2ade2[_0x5bb4ad(0x214)]()}};_0x18dcbc['oyiQX'](appendTesthubParams,_0x370142,_0xe36673,_0xb2ade2,FRAMEWORKS[_0x5bb4ad(0x218)]);if(_0xe58a83['hook'])[_0x370142['hook_type'],_0x370142[_0x5bb4ad(0x187)]]=[this['getHookType'](_0xb2ade2),_0xb2ade2[_0x5bb4ad(0x1bd)]['test']['title']],_0xe58a83[_0x5bb4ad(0x1bf)]?_0x18dcbc[_0x5bb4ad(0x13a)](_0x370142[_0x5bb4ad(0x178)],_0x18dcbc['fIauv'])&&(_0x370142['result']=_0x18dcbc[_0x5bb4ad(0x1a6)]):_0x370142[_0x5bb4ad(0x22d)]={};else _0xe58a83[_0x5bb4ad(0x13f)]&&(this[_0x5bb4ad(0x145)](_0xb2ade2),_0xe58a83[_0x5bb4ad(0x20a)]&&this[_0x5bb4ad(0x135)](_0xb2ade2),(_0xe58a83[_0x5bb4ad(0x1bf)]||_0xe58a83[_0x5bb4ad(0x20a)])&&(_0x370142['hooks']=this[_0x5bb4ad(0x193)](_0xb2ade2)));this[_0x5bb4ad(0x13c)]&&(_0xe58a83[_0x5bb4ad(0x1d0)]||_0xe58a83[_0x5bb4ad(0x20a)])&&(_0x370142[_0x18dcbc['HOnzC']]=this[_0x5bb4ad(0x21c)](this[_0x5bb4ad(0x13c)]));_0xe58a83[_0x5bb4ad(0x13f)]&&_0xe58a83[_0x5bb4ad(0x1bf)]&&_0xb2ade2[_0x5bb4ad(0x14a)]&&(_0x370142[_0x18dcbc[_0x5bb4ad(0x21f)]]={'feature':{'name':_0xb2ade2[_0x5bb4ad(0x203)][_0x5bb4ad(0x12f)]['name'],'path':_0x370142['file_name'],'description':_0xb2ade2[_0x5bb4ad(0x203)][_0x5bb4ad(0x159)]},'scenario':{'name':_0xb2ade2[_0x5bb4ad(0x16e)]},'steps':_0xb2ade2[_0x5bb4ad(0x14a)]});const _0x56682e=_0x370142[_0x18dcbc[_0x5bb4ad(0x154)]][0x0];_0x56682e&&(_0x370142[_0x18dcbc[_0x5bb4ad(0x1c5)]]=_0x56682e[_0x18dcbc[_0x5bb4ad(0x1dd)]],_0x370142[_0x18dcbc[_0x5bb4ad(0x152)]]=_0x56682e[_0x18dcbc[_0x5bb4ad(0x22b)]]);if(_0xb2ade2[_0x5bb4ad(0x14a)])for(const _0x3b526b of _0xb2ade2['bddSteps']){!_0x3b526b['finished_at']&&(_0x3b526b[_0x5bb4ad(0x226)]=new Date()['toISOString'](),_0x18dcbc['wrYfY'](_0x3b526b[_0x5bb4ad(0x178)],_0x18dcbc[_0x5bb4ad(0x127)])&&(_0x56682e?(_0x3b526b[_0x5bb4ad(0x178)]=_0x18dcbc[_0x5bb4ad(0x1af)],_0x3b526b[_0x5bb4ad(0x222)]=_0x56682e[_0x18dcbc[_0x5bb4ad(0x1dd)]][0x0]):_0x3b526b['result']=_0x18dcbc[_0x5bb4ad(0x1a6)]));}const _0x3de9d8={};_0x3de9d8['event_type']=_0xe58a83[_0x5bb4ad(0x20a)]?TEST_EVENTS[_0x5bb4ad(0x172)]:_0xe36673;const _0x78b18=_0x3de9d8;return _0xe58a83[_0x5bb4ad(0x227)]?_0x78b18[_0x18dcbc[_0x5bb4ad(0x13d)]]=_0x370142:_0x78b18[_0x18dcbc['vdFVl']]=_0x370142,_0x78b18;}catch(_0x193b98){logger[_0x5bb4ad(0x129)](_0x5bb4ad(0x18c)+_0xe36673+_0x5bb4ad(0x195)+_0x193b98);}}async['fireEvent'](_0x105e0f,_0x37b375){const _0x6e6446=a4_0x45b313;if(!this[_0x6e6446(0x1ff)]||!_0x37b375||!_0x105e0f)return![];try{return await SessionHandler['uploadEventData'](_0x37b375);}catch(_0x4d65fa){logger['debug'](_0x6e6446(0x15e)+_0x105e0f+'\x20with\x20error\x20:\x20'+_0x4d65fa);}}[a4_0x45b313(0x164)](_0x1bb41d){const _0x46de3a=a4_0x45b313,_0x26181d={};_0x26181d[_0x46de3a(0x20b)]=_0x46de3a(0x140);const _0x5707dd=_0x26181d;return{'id':_0x1bb41d[_0x46de3a(0x212)],'text':_0x1bb41d['text'],'keyword':_0x1bb41d['keyword'],'started_at':_0x1bb41d[_0x46de3a(0x19f)][_0x46de3a(0x12a)](),'result':_0x5707dd[_0x46de3a(0x20b)]};}[a4_0x45b313(0x170)](_0x2b5dba){const _0x4a6542=a4_0x45b313,_0x28baec={'DrQHO':function(_0x567557){return _0x567557();}};!this[_0x4a6542(0x141)][_0x4a6542(0x14a)]&&(this[_0x4a6542(0x141)][_0x4a6542(0x14a)]=[]),!_0x2b5dba[_0x4a6542(0x212)]&&(_0x2b5dba['stepAnalyticsId']=_0x28baec['DrQHO'](uuidv4),_0x2b5dba[_0x4a6542(0x19f)]=new Date(),this['currentTest'][_0x4a6542(0x14a)][_0x4a6542(0x166)](this[_0x4a6542(0x164)](_0x2b5dba)));}[a4_0x45b313(0x1bc)](_0x318db8){const _0x7fd853=a4_0x45b313,_0x1f16dc={'jFofh':function(_0x2f5d97,_0x5c5a46){return _0x2f5d97(_0x5c5a46);},'MusyS':_0x7fd853(0x1d8),'MxAtO':_0x7fd853(0x140),'epuNI':_0x7fd853(0x1d6),'qoxlB':function(_0xa419f7,_0x191c56){return _0xa419f7-_0x191c56;}};let _0x596d8c=this[_0x7fd853(0x141)][_0x7fd853(0x14a)][_0x7fd853(0x163)](_0x20ef13=>_0x20ef13['id']===_0x318db8[_0x7fd853(0x212)]);_0x1f16dc[_0x7fd853(0x186)](isUndefined,_0x596d8c)&&(_0x596d8c=this[_0x7fd853(0x164)](_0x318db8)),_0x596d8c[_0x7fd853(0x178)]=[_0x1f16dc[_0x7fd853(0x1b5)],_0x1f16dc[_0x7fd853(0x215)]]['includes'](_0x318db8[_0x7fd853(0x1ac)])?_0x1f16dc['epuNI']:_0x318db8[_0x7fd853(0x1ac)],_0x596d8c['finished_at']=new Date()[_0x7fd853(0x12a)](),_0x596d8c[_0x7fd853(0x1dc)]=_0x1f16dc[_0x7fd853(0x18d)](Date['now'](),_0x318db8[_0x7fd853(0x19f)][_0x7fd853(0x20c)]()),_0x596d8c[_0x7fd853(0x222)]=_0x318db8['err']?_0x318db8[_0x7fd853(0x1b9)][_0x7fd853(0x1e1)]:null;}}const a4_0x51e06b={};function a4_0x4ddd(_0x350d47,_0x1010b4){const _0x406a3c=a4_0x406a();return a4_0x4ddd=function(_0x4dddb7,_0x3bee7c){_0x4dddb7=_0x4dddb7-0x125;let _0x39dad4=_0x406a3c[_0x4dddb7];return _0x39dad4;},a4_0x4ddd(_0x350d47,_0x1010b4);}a4_0x51e06b[a4_0x45b313(0x1f9)]=O11yHelper,a4_0x51e06b[a4_0x45b313(0x1fb)]=STATE_PASSED,a4_0x51e06b[a4_0x45b313(0x167)]=STATE_FAILED,a4_0x51e06b['TEST_EVENTS']=TEST_EVENTS,module[a4_0x45b313(0x1e8)]=a4_0x51e06b;
|
|
1
|
+
function a4_0x238e(){const _0x530f5e=['name','find','browserstack','../mocha/test-observability/mochaUtils','connect','codeceptjs','VbEUk','WmeBa','hook_type','file','../playwright/sessionDetails','finished','kaLuO','setupBrowserDetails','apply','toString','_afterEach','removeAllListeners','fullTitle','guxYi','resetSkipTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','groups','../playwright/accessibility-helper','jcTvL','iNVDC','bs:addLog:','emyRU','splice','_testEnv','hooks','skipped','FvwLr','stop','../../helpers/test-observability/requestQueueHandler','failure','err','HookRunStarted','keyword','TestRunStarted','RuuME','hookAnalyticsId','failed','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','hook_run_uuid','split','connectOverCDP','.git','Irxoj','tIshL','447882Ovubnn','constructor','ZLVfP','Qltlr','sep','ZFuUM','patchConsoleLogger','../../helpers/test-observability/constants','length','getCBTInfo','pending','hoYYC','AcWUD','browserType.js','pid','string','woYtQ','6IPZAAb','driver','YxvDu','nGKes','DQuKs','4|2|1|0|5|3','bddStepFinish','EuOMr','hook_run','pendingHookEvents','passed','uuid','failureData','../../helpers/test-observability/sessionHandler','CODECEPT','gfYSY','event_type','getHierarchy','PfIPf','xSBml','10qDfmQT','ARORI','10OrmhJw','zqhvE','ejukh','relative','getTime','zhjic','started','integrations','WNqDg','now','debug','../../helpers/helper','gahZh','util','obsBrowserTypeMockApplied','SVkMF','client','ctx','dQbxQ','oTPiL','format','_beforeEach','9hnTADQ','RmdfO','zgQkv','ETHEu','bddSteps','eventType','QAyLq','XdaZI','CBTSessionCreated','wCHJj','WjZYN','push','replace','tags','test_run_uuid','testAnalyticsId','KCgrn','startedAt','cFjko','shutdown','toLowerCase','__cloud_provider___','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','bXMNh','keys','IwOpL','hLcXX','parent','hmVCe','UluGV','launch','stringify','2739363xHmWGO','toUpperCase','aExdj','accessibilityPlatform','mapTestHooks','WSokG','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','WyHtE','SNaQA','KbXYy','qZbRF','meta','feature','TEST_RUN_FINISHED','Qycmw','YVPFE','inspect','5060839yajxhX','winstonLogger','XbftN','TEST_EVENTS','JDzsr','../../helpers/testhub/utils.js','location_prefix','ghqFC','PLAYWRIGHT_HUB_URL','pcLsk','body','appendTestItemLog','test','BLOYg','statSync','markedStatus','PathHelper','ETHwE','finished_at','status','__platformCaps','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','errorsDetailed','flushPendingHookEvents','getInstance','GkDIn','MYlLd','uploadEventData','qPJSw','concat','659805opWQNl','duration','currentTest','lib','forEach','getRootParentFile','hook','enabled','jgqpl','failure_reason_expanded','stepAnalyticsId','currentHook','EbziR','javascript','bind','prototype','toISOString','expanded','NhXpT','fireEvent','dirname','TEST_RUN_STARTED','result','title','PLOcI','rsncd','match','\x20with\x20error\x20:\x20','comment','includes','258739vfMYSm','suites','irjbq','NojDw','./helper.js','nbLVn','initializeBddStep','5571344NFVaBM','vYBcG','KQROT','getHookType','nrCVX','_beforeAll','TestRunFinished','IBxpR','cwd','test_run','QKycE','path','then','../../helpers/test-observability/utils','hasLiveDriverSession','zoSSY','uploadData','Playwright','oLetV','getFailureType','join','STATE_FAILED','GXNRn','STATE_PASSED','2356128hXGXDc','tiFfU','retryOf','frameworkName','message','../utils/constants','jhDuF','AMZPu','file_name','findGitConfig'];a4_0x238e=function(){return _0x530f5e;};return a4_0x238e();}const a4_0x4a3231=a4_0x2ba8;(function(_0x2ea245,_0x285b94){const _0x1e16b7=a4_0x2ba8,_0x2141c5=_0x2ea245();while(!![]){try{const _0x4b00ad=parseInt(_0x1e16b7(0x265))/0x1+-parseInt(_0x1e16b7(0x2e7))/0x2*(-parseInt(_0x1e16b7(0x2c0))/0x3)+-parseInt(_0x1e16b7(0x284))/0x4+-parseInt(_0x1e16b7(0x247))/0x5+parseInt(_0x1e16b7(0x2d1))/0x6*(-parseInt(_0x1e16b7(0x229))/0x7)+parseInt(_0x1e16b7(0x26c))/0x8*(parseInt(_0x1e16b7(0x1f8))/0x9)+-parseInt(_0x1e16b7(0x2e5))/0xa*(-parseInt(_0x1e16b7(0x218))/0xb);if(_0x4b00ad===_0x285b94)break;else _0x2141c5['push'](_0x2141c5['shift']());}catch(_0x43079f){_0x2141c5['push'](_0x2141c5['shift']());}}}(a4_0x238e,0x7bb42));const path=require(a4_0x4a3231(0x277)),util=require(a4_0x4a3231(0x1ef)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4a3231(0x2dc)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4a3231(0x1ed)),testOpsHelper=require(a4_0x4a3231(0x279)),{getTestEnv}=require(a4_0x4a3231(0x291)),{FRAMEWORKS}=require(a4_0x4a3231(0x2c7)),logger=require('../../helpers/logger')[a4_0x4a3231(0x22a)],SessionHandler=require(a4_0x4a3231(0x2de)),RequestQueueHandler=require(a4_0x4a3231(0x2b0)),PlaywrightSessionDetails=require(a4_0x4a3231(0x298)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x4a3231(0x2a5)),Constants=require(a4_0x4a3231(0x289)),{fetchPlatformDetails}=require(a4_0x4a3231(0x269)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x4a3231(0x22e)),constants=require('../utils/constants'),STATE_PASSED=a4_0x4a3231(0x2db),STATE_FAILED=a4_0x4a3231(0x2b8),a4_0x461118={};a4_0x461118[a4_0x4a3231(0x25c)]=a4_0x4a3231(0x2b5),a4_0x461118['TEST_RUN_FINISHED']=a4_0x4a3231(0x272),a4_0x461118['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x461118['HOOK_RUN_STARTED']=a4_0x4a3231(0x2b3),a4_0x461118['HOOK_RUN_FINISHED']='HookRunFinished';function a4_0x2ba8(_0x139208,_0xfb5e2b){const _0x238ef7=a4_0x238e();return a4_0x2ba8=function(_0x2ba8c3,_0x552d4a){_0x2ba8c3=_0x2ba8c3-0x1ed;let _0x14e63d=_0x238ef7[_0x2ba8c3];return _0x14e63d;},a4_0x2ba8(_0x139208,_0xfb5e2b);}const TEST_EVENTS=a4_0x461118,parseEvent=_0x16f298=>{const _0x377a78=a4_0x4a3231,_0x3954db={};_0x3954db['EuOMr']=function(_0x3c80c2,_0x8c674f){return _0x3c80c2<_0x8c674f;},_0x3954db[_0x377a78(0x21f)]=function(_0x6b6be7,_0x5209cd){return _0x6b6be7===_0x5209cd;},_0x3954db[_0x377a78(0x294)]=_0x377a78(0x235),_0x3954db[_0x377a78(0x2c2)]=_0x377a78(0x24d),_0x3954db['zqhvE']=function(_0x1a88f9,_0x267f30){return _0x1a88f9===_0x267f30;},_0x3954db[_0x377a78(0x260)]='skipped',_0x3954db['ejukh']=function(_0x53fcf2,_0x1896bf){return _0x53fcf2===_0x1896bf;},_0x3954db[_0x377a78(0x215)]=_0x377a78(0x2ed),_0x3954db[_0x377a78(0x1ee)]='finished';const _0x170622=_0x3954db,_0x20584f=_0x16f298[_0x377a78(0x261)](/^(.*)Run(.*)$/);if(!_0x20584f)return null;if(_0x170622[_0x377a78(0x2d8)](_0x20584f[_0x377a78(0x2c8)],0x3))return null;const _0x3457f6=_0x20584f[0x1][_0x377a78(0x20c)](),_0x24bef8=_0x20584f[0x2][_0x377a78(0x20c)]();return{'test':_0x170622[_0x377a78(0x21f)](_0x3457f6,_0x170622[_0x377a78(0x294)]),'hook':_0x170622[_0x377a78(0x21f)](_0x3457f6,_0x170622[_0x377a78(0x2c2)]),'skipped':_0x170622[_0x377a78(0x2e8)](_0x24bef8,_0x170622['rsncd']),'started':_0x170622[_0x377a78(0x2e9)](_0x24bef8,_0x170622[_0x377a78(0x215)]),'finished':_0x170622[_0x377a78(0x2e9)](_0x24bef8,_0x170622['gahZh'])};},mockPWBrowserType=_0x528ffb=>{const _0x132e9d=a4_0x4a3231,_0x1179c5={'MrFtL':function(_0x2353da,_0xd19872){return _0x2353da===_0xd19872;},'xSBml':_0x132e9d(0x2cf),'QKycE':function(_0xdf20ff,_0x45aa38,_0x395efb){return _0xdf20ff(_0x45aa38,_0x395efb);},'Yjslw':'wsEndpoint','WSokG':function(_0x12116f,_0x3e0864){return _0x12116f(_0x3e0864);},'vEezg':_0x132e9d(0x290),'JDzsr':_0x132e9d(0x24a),'IBxpR':_0x132e9d(0x1f2),'nrCVX':_0x132e9d(0x2cd),'zgQkv':function(_0x1c6c47,_0x445e21){return _0x1c6c47(_0x445e21);},'GkDIn':function(_0xeafef5,_0x2f1e78){return _0xeafef5(_0x2f1e78);},'vYBcG':'Not\x20able\x20to\x20import\x20Browser','KCgrn':_0x132e9d(0x292),'dQbxQ':_0x132e9d(0x216)},_0x57a4f6=path[_0x132e9d(0x280)](_0x1179c5[_0x132e9d(0x22d)],_0x1179c5[_0x132e9d(0x273)],_0x1179c5[_0x132e9d(0x270)]),_0x58bfc1=_0x1179c5[_0x132e9d(0x1fa)](importFileFromPWCore,_0x57a4f6);if(!_0x58bfc1){_0x1179c5[_0x132e9d(0x242)](debug,_0x1179c5[_0x132e9d(0x26d)]);return;}const _0x276a4c=_0x58bfc1['BrowserType'],_0x16648d=_0x276a4c[_0x132e9d(0x256)];if(_0x16648d[_0x132e9d(0x1f0)])return;const _0x29b405=_0x16648d[_0x132e9d(0x292)];Object['defineProperty'](_0x16648d,_0x1179c5[_0x132e9d(0x208)],{'get':function(){const _0x507e51=_0x132e9d,_0xb08816={'nWNTa':function(_0x55133a,_0x40fbd2){return _0x1179c5['MrFtL'](_0x55133a,_0x40fbd2);},'SNaQA':_0x1179c5[_0x507e51(0x2e4)],'KbXYy':function(_0x7edc9,_0x5b5eb3,_0xe68b93){const _0x375224=_0x507e51;return _0x1179c5[_0x375224(0x276)](_0x7edc9,_0x5b5eb3,_0xe68b93);},'RJXiT':_0x1179c5['Yjslw'],'zoSSY':function(_0x12b0d0,_0x47151a){const _0x41e965=_0x507e51;return _0x1179c5[_0x41e965(0x21d)](_0x12b0d0,_0x47151a);},'wCHJj':_0x1179c5['vEezg']};return async function _0x3b06cb(_0x3344e4,_0x4d52b3){const _0x102b73=_0x507e51,_0x776c3d={'FfikC':function(_0x3ad8f0,_0x1f961b){return _0xb08816['nWNTa'](_0x3ad8f0,_0x1f961b);},'prLuD':_0xb08816[_0x102b73(0x220)]},_0x558a18=_0xb08816[_0x102b73(0x221)](nestedKeyValue,_0x3344e4,[_0xb08816['RJXiT']])||_0x3344e4;let _0x36ffb2=null,_0x179aa4=null;try{[_0x179aa4,_0x36ffb2]=_0x558a18?_0xb08816[_0x102b73(0x27b)](parseWSEndpoint,_0x558a18):[null,null],global[_0x102b73(0x23d)]=_0x36ffb2,logger[_0x102b73(0x2f1)](_0x102b73(0x23e)+_0x179aa4),_0x179aa4[_0x102b73(0x264)](Constants['BROWSERSTACK'])&&(global[_0x102b73(0x20d)]=_0xb08816[_0x102b73(0x201)]);}catch(_0xc7a8ef){logger[_0x102b73(0x2f1)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x558a18+'\x20'+_0xc7a8ef);}_0xb08816['KbXYy'](processAccessibilityCaps,_0x36ffb2,_0x179aa4);if(global[_0x102b73(0x21b)]){const _0x24d837=await _0x16648d[_0x102b73(0x2bc)][_0x102b73(0x29c)](this,[''+Constants[_0x102b73(0x231)]+_0xb08816[_0x102b73(0x27b)](encodeURIComponent,JSON[_0x102b73(0x217)](_0x36ffb2))]);return PlaywrightSessionDetails[_0x102b73(0x29b)](_0x24d837,_0x528ffb,_0x558a18),_0x24d837;}return _0x29b405['apply'](this,arguments)[_0x102b73(0x278)](_0x2af025=>{let _0x59fe2d=_0x3344e4['wsEndpoint'];return _0x776c3d['FfikC'](typeof _0x3344e4,_0x776c3d['prLuD'])&&(_0x59fe2d=_0x3344e4),PlaywrightSessionDetails['setupBrowserDetails'](_0x2af025,_0x528ffb,_0x59fe2d),_0x2af025;});};}});const _0x590b29=_0x16648d['launch'];Object['defineProperty'](_0x16648d,_0x1179c5[_0x132e9d(0x1f4)],{'get':function(){return async function _0x48d7a1(){const _0x49395c=a4_0x2ba8;return _0x590b29[_0x49395c(0x29c)](this,arguments)[_0x49395c(0x278)](_0x4a6bc2=>{const _0x480697=_0x49395c;return PlaywrightSessionDetails[_0x480697(0x29b)](_0x4a6bc2,null),_0x4a6bc2;});};}});};class O11yHelper{[a4_0x4a3231(0x249)]=null;[a4_0x4a3231(0x252)]=null;['enabled']=![];['frameworkName']=![];[a4_0x4a3231(0x2da)]=[];constructor(_0x418746,_0x17b0e7){const _0x48ec33=a4_0x4a3231,_0x53be3a={'bXMNh':_0x48ec33(0x2d6),'RuuME':function(_0x6dfe9f){return _0x6dfe9f();},'WmeBa':function(_0x483d75,_0x2de4d8){return _0x483d75===_0x2de4d8;},'YVPFE':_0x48ec33(0x27d),'apfvr':function(_0x28a931,_0x3ecd16){return _0x28a931(_0x3ecd16);}},_0xbc8c26=_0x53be3a[_0x48ec33(0x20f)][_0x48ec33(0x2bb)]('|');let _0x3be949=0x0;while(!![]){switch(_0xbc8c26[_0x3be949++]){case'0':this[_0x48ec33(0x2ab)]=_0x53be3a[_0x48ec33(0x2b6)](getTestEnv);continue;case'1':this[_0x48ec33(0x2d2)]=_0x418746;continue;case'2':this[_0x48ec33(0x287)]=_0x17b0e7[_0x48ec33(0x287)];continue;case'3':this[_0x48ec33(0x2d2)]&&_0x53be3a[_0x48ec33(0x295)](this['driver'][_0x48ec33(0x2c1)][_0x48ec33(0x28e)],_0x53be3a[_0x48ec33(0x227)])&&_0x53be3a['apfvr'](mockPWBrowserType,null);continue;case'4':this[_0x48ec33(0x24e)]=_0x53be3a['RuuME'](shouldProcessEventForTesthub);continue;case'5':this['_paths']=new testOpsHelper[(_0x48ec33(0x239))]({'cwd':process[_0x48ec33(0x274)]()},this[_0x48ec33(0x2ab)][_0x48ec33(0x22f)]);continue;}break;}}[a4_0x4a3231(0x27a)](){const _0x4ec5fd=a4_0x4a3231,_0x35a413={'ghqFC':function(_0x24bf94,_0x5e67bf){return _0x24bf94(_0x5e67bf);}};if(!this['driver'])return![];try{const _0x1efa61=_0x35a413[_0x4ec5fd(0x230)](fetchPlatformDetails,this[_0x4ec5fd(0x2d2)]);if(!_0x1efa61)return![];const _0x35ba5=Object[_0x4ec5fd(0x210)](_0x1efa61)[0x0];return!!(_0x35ba5&&_0x1efa61[_0x35ba5]&&_0x1efa61[_0x35ba5]['session_id']);}catch(_0x656556){return![];}}['bufferPendingHookEvent'](_0x5043df,_0x384b9b){const _0xd8816a=a4_0x4a3231;if(!_0x384b9b)return;const _0x3e4bdf={};_0x3e4bdf[_0xd8816a(0x1fd)]=_0x5043df,_0x3e4bdf[_0xd8816a(0x27c)]=_0x384b9b,this['pendingHookEvents']['push'](_0x3e4bdf);}async[a4_0x4a3231(0x240)](){const _0x3b5a5a=a4_0x4a3231,_0x401362={};_0x401362[_0x3b5a5a(0x2be)]=function(_0x504cdd,_0x2821ee){return _0x504cdd&&_0x2821ee;};const _0x161782=_0x401362;if(!this['pendingHookEvents'][_0x3b5a5a(0x2c8)])return;if(!this[_0x3b5a5a(0x27a)]())return;const _0x15743f=this[_0x3b5a5a(0x2c9)](this['driver']),_0x274d9c=this[_0x3b5a5a(0x2da)][_0x3b5a5a(0x2aa)](0x0,this[_0x3b5a5a(0x2da)][_0x3b5a5a(0x2c8)]);for(const {eventType:_0x1735cc,uploadData:_0x113e45}of _0x274d9c){try{const _0x1ad1db=_0x113e45[_0x3b5a5a(0x2d9)]||_0x113e45[_0x3b5a5a(0x275)];_0x161782[_0x3b5a5a(0x2be)](_0x1ad1db,_0x15743f)&&(_0x1ad1db[_0x3b5a5a(0x2ee)]=_0x15743f),await this['fireEvent'](_0x1735cc,_0x113e45);}catch(_0x738c5c){logger[_0x3b5a5a(0x2f1)](_0x3b5a5a(0x2b9)+_0x1735cc+':\x20'+util[_0x3b5a5a(0x1f6)](_0x738c5c));}}}['start'](){const _0x4d94ea=a4_0x4a3231;if(!this[_0x4d94ea(0x24e)])return;testOpsHelper[_0x4d94ea(0x2c6)](),process[_0x4d94ea(0x29f)](_0x4d94ea(0x2a8)+process[_0x4d94ea(0x2ce)]),process['on'](_0x4d94ea(0x2a8)+process[_0x4d94ea(0x2ce)],this[_0x4d94ea(0x234)][_0x4d94ea(0x255)](this));}async[a4_0x4a3231(0x2af)](){const _0x53eb2f=a4_0x4a3231;await RequestQueueHandler[_0x53eb2f(0x241)]()[_0x53eb2f(0x20b)]();}async[a4_0x4a3231(0x234)](_0x3eeb6a){const _0x81b931=a4_0x4a3231,_0x4b40a0={'EbziR':'LogCreated','anQAs':function(_0x5513de,_0x550209){return _0x5513de(_0x550209);}};try{this[_0x81b931(0x252)]&&!this[_0x81b931(0x252)]['markedStatus']&&(_0x3eeb6a['hook_run_uuid']=this[_0x81b931(0x252)][_0x81b931(0x2b7)]);!_0x3eeb6a[_0x81b931(0x2ba)]&&this[_0x81b931(0x249)]&&!this[_0x81b931(0x249)]['markedStatus']&&(_0x3eeb6a['test_run_uuid']=this[_0x81b931(0x249)][_0x81b931(0x207)]);if(_0x3eeb6a['hook_run_uuid']||_0x3eeb6a[_0x81b931(0x206)]){const _0x1da4f0={};_0x1da4f0[_0x81b931(0x2e1)]=_0x4b40a0[_0x81b931(0x253)],_0x1da4f0['logs']=[_0x3eeb6a],await SessionHandler[_0x81b931(0x244)](_0x1da4f0);}}catch(_0x3541b9){_0x4b40a0['anQAs'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x81b931(0x262)+_0x3541b9);}}async['sendCBTInfo'](_0x40a9ba){const _0x360094=a4_0x4a3231,_0x309f42={'zhjic':_0x360094(0x200),'lPTVh':function(_0x26970b,_0x2f1546){return _0x26970b(_0x2f1546);}};if(!this[_0x360094(0x24e)])return;const _0x4fbdcf=this[_0x360094(0x2c9)](this['driver']);try{const _0x2ab192={};_0x2ab192[_0x360094(0x2dc)]=_0x40a9ba,_0x2ab192[_0x360094(0x2ee)]=_0x4fbdcf;const _0x18f5be=_0x2ab192,_0x51bb73={};_0x51bb73['event_type']=_0x309f42[_0x360094(0x2ec)],_0x51bb73[_0x360094(0x275)]=_0x18f5be,await SessionHandler['uploadEventData'](_0x51bb73);}catch(_0x50c41a){_0x309f42['lPTVh'](debug,_0x360094(0x2a3)+constants['TEST_REPORTING_ANALYTICS']+_0x360094(0x262)+_0x50c41a);}}[a4_0x4a3231(0x2c9)](_0x1f6fdb){const _0x457cba=a4_0x4a3231,_0x2ca433={'nbLVn':function(_0x5fa0e2,_0x511883){return _0x5fa0e2(_0x511883);}};return _0x2ca433[_0x457cba(0x26a)](fetchPlatformDetails,_0x1f6fdb);}[a4_0x4a3231(0x2a2)]=_0x2897fc=>{const _0x2004c9=a4_0x4a3231,_0x31552f={};_0x31552f['SVkMF']='_beforeEach',_0x31552f[_0x2004c9(0x243)]=_0x2004c9(0x29e);const _0x45eada=_0x31552f;if(!_0x2897fc||!_0x2897fc[_0x2004c9(0x213)])return;[_0x45eada[_0x2004c9(0x1f1)],_0x45eada[_0x2004c9(0x243)]][_0x2004c9(0x24b)](_0x390606=>{const _0x1b31e4=_0x2004c9,_0x4a18d2=_0x2897fc[_0x1b31e4(0x213)][_0x390606];_0x4a18d2[_0x1b31e4(0x24b)](_0x5974db=>{const _0x47a12f=_0x1b31e4;_0x5974db[_0x47a12f(0x2b7)]&&(_0x5974db[_0x47a12f(0x2b7)]=null);});});};[a4_0x4a3231(0x21c)](_0x48dcce){const _0x414edd=a4_0x4a3231,_0x2e8692={'ARORI':_0x414edd(0x293),'iNVDC':function(_0x306c12){return _0x306c12();},'WjZYN':function(_0x242ad8,_0x2ef13b){return _0x242ad8===_0x2ef13b;},'aJsvM':_0x414edd(0x29e),'fSIsF':_0x414edd(0x271),'IwOpL':'_afterAll','irjbq':_0x414edd(0x1f7)};if(!_0x48dcce||!_0x48dcce[_0x414edd(0x213)])return;[_0x2e8692['fSIsF'],_0x2e8692[_0x414edd(0x211)],_0x2e8692[_0x414edd(0x267)],_0x2e8692['aJsvM']][_0x414edd(0x24b)](_0x26e9df=>{const _0x64f676=_0x414edd,_0x3da4dd={'NhXpT':_0x2e8692[_0x64f676(0x2e6)],'emyRU':function(_0x72ddc5){const _0x4617c8=_0x64f676;return _0x2e8692[_0x4617c8(0x2a7)](_0x72ddc5);},'Qycmw':function(_0x41541a,_0x167038){const _0x23ef6f=_0x64f676;return _0x2e8692[_0x23ef6f(0x202)](_0x41541a,_0x167038);},'ETHEu':_0x2e8692['aJsvM']},_0x1f449f=_0x48dcce[_0x64f676(0x213)][_0x26e9df]||[];_0x1f449f[_0x64f676(0x24b)](_0x58b0e3=>{const _0x3f8d65=_0x64f676;if(_0x58b0e3[_0x3f8d65(0x25e)][_0x3f8d65(0x264)](_0x3da4dd[_0x3f8d65(0x259)]))return;if(!_0x58b0e3[_0x3f8d65(0x2b7)])_0x58b0e3['hookAnalyticsId']=_0x3da4dd['emyRU'](uuidv4);else _0x58b0e3[_0x3f8d65(0x238)]&&_0x3da4dd[_0x3f8d65(0x226)](_0x26e9df,_0x3da4dd[_0x3f8d65(0x1fb)])&&(_0x58b0e3[_0x3f8d65(0x2b7)]=_0x3da4dd[_0x3f8d65(0x2a9)](uuidv4),delete _0x58b0e3[_0x3f8d65(0x238)]);});}),this[_0x414edd(0x21c)](_0x48dcce[_0x414edd(0x213)]);}['getHooksForTest'](_0x28fdec){const _0x108b75=a4_0x4a3231,_0x36c3bc={};_0x36c3bc[_0x108b75(0x2d4)]=_0x108b75(0x271),_0x36c3bc[_0x108b75(0x20a)]='_afterAll',_0x36c3bc[_0x108b75(0x28a)]=_0x108b75(0x1f7),_0x36c3bc[_0x108b75(0x21a)]=_0x108b75(0x29e);const _0x4460fc=_0x36c3bc;if(!_0x28fdec||!_0x28fdec[_0x108b75(0x213)])return[];const _0x2f1e44=[];return[_0x4460fc[_0x108b75(0x2d4)],_0x4460fc['cFjko'],_0x4460fc[_0x108b75(0x28a)],_0x4460fc[_0x108b75(0x21a)]][_0x108b75(0x24b)](_0xac7801=>{const _0x30f677=_0x108b75,_0x2f2bb2=_0x28fdec[_0x30f677(0x213)][_0xac7801]||[];_0x2f2bb2[_0x30f677(0x24b)](_0xa7f1ca=>{const _0x2d00cd=_0x30f677;_0xa7f1ca['hookAnalyticsId']&&_0x2f1e44[_0x2d00cd(0x203)](_0xa7f1ca['hookAnalyticsId']);});}),[][_0x108b75(0x246)](_0x2f1e44,this['getHooksForTest'](_0x28fdec[_0x108b75(0x213)]));}[a4_0x4a3231(0x26f)](_0x52566f){const _0x3e3247=a4_0x4a3231,_0x344e57=/^"(?<hook>.*)" hook:.*$/,_0x316f02=_0x52566f[_0x3e3247(0x25e)],_0x5e096c=_0x316f02[_0x3e3247(0x261)](_0x344e57);if(_0x5e096c&&_0x5e096c['groups'])return _0x5e096c[_0x3e3247(0x2a4)][_0x3e3247(0x24d)][_0x3e3247(0x219)]()[_0x3e3247(0x204)]('\x20','_');return null;}['findGitConfig'](_0x15de08){const _0x139633=a4_0x4a3231,_0x434b07={};_0x434b07[_0x139633(0x2d5)]=function(_0x5d9d4d,_0xbdd878){return _0x5d9d4d===_0xbdd878;},_0x434b07[_0x139633(0x2bf)]=_0x139633(0x2bd),_0x434b07[_0x139633(0x222)]='config';const _0x27fb0f=_0x434b07,_0x43f4c9=path[_0x139633(0x2c4)];if(_0x27fb0f[_0x139633(0x2d5)](_0x15de08,null)||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,'')||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,_0x43f4c9)||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,path[_0x139633(0x25b)](_0x15de08)))return null;try{return fs[_0x139633(0x237)](path[_0x139633(0x280)](_0x15de08,_0x27fb0f[_0x139633(0x2bf)],_0x27fb0f[_0x139633(0x222)])),_0x15de08;}catch(_0x2e7d8d){const _0x315c09=path['dirname'](_0x15de08);return this[_0x139633(0x28d)](_0x315c09);}}[a4_0x4a3231(0x24c)](_0x480d17){const _0x51e22b=a4_0x4a3231,_0x56ace6={};_0x56ace6[_0x51e22b(0x1f5)]=function(_0x499b07,_0x4dba6b){return _0x499b07>_0x4dba6b;};const _0x3fd4af=_0x56ace6;if(_0x480d17[_0x51e22b(0x297)])return _0x480d17[_0x51e22b(0x297)];if(_0x480d17['ctx']){const _0x5db31f=_0x480d17[_0x51e22b(0x1f3)][_0x51e22b(0x249)]?this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x1f3)]['currentTest']):null;if(_0x5db31f)return _0x5db31f;}if(_0x480d17[_0x51e22b(0x213)]){const _0x231685=this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x213)])||(_0x480d17[_0x51e22b(0x213)]['ctx']&&_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x1f3)][_0x51e22b(0x249)]?this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x1f3)][_0x51e22b(0x249)]):null);if(_0x231685)return _0x231685;_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]&&_0x3fd4af['oTPiL'](_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]['length'],0x0)&&_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]['forEach'](_0x175282=>{const _0x5fb29b=_0x51e22b,_0x2c0912=_0x175282[_0x5fb29b(0x1f3)]?this[_0x5fb29b(0x24c)](_0x175282[_0x5fb29b(0x1f3)]):null;if(_0x2c0912)return _0x2c0912;});}return null;}[a4_0x4a3231(0x2e2)](_0x179446){const _0x1d8fde=a4_0x4a3231,_0x2807c3={};_0x2807c3[_0x1d8fde(0x268)]=function(_0x21f736,_0x51baf8){return _0x21f736!==_0x51baf8;};const _0x25cc1b=_0x2807c3,_0x1634a9=[];if(_0x179446&&_0x179446[_0x1d8fde(0x213)]){let _0x295a3a=_0x179446[_0x1d8fde(0x213)];while(_0x295a3a&&_0x25cc1b[_0x1d8fde(0x268)](_0x295a3a[_0x1d8fde(0x25e)],'')){_0x1634a9[_0x1d8fde(0x203)](_0x295a3a['title']),_0x295a3a=_0x295a3a[_0x1d8fde(0x213)];}}return _0x1634a9;}['captureEvent'](_0x45cc3d,_0xc93a4e,_0x4dd20c=undefined){const _0x141329=a4_0x4a3231,_0xe7d61={'tiFfU':function(_0x1c18aa,_0x3ce438){return _0x1c18aa(_0x3ce438);},'hmVCe':function(_0x4c20b9){return _0x4c20b9();},'QAyLq':function(_0x5c9a58){return _0x5c9a58();},'AMZPu':function(_0x131fd9){return _0x131fd9();},'qPJSw':_0x141329(0x2b2),'PfIPf':function(_0x276754,_0x299ec1){return _0x276754!==_0x299ec1;},'jgqpl':function(_0x4a3bc6,_0x454976){return _0x4a3bc6!==_0x454976;},'hLcXX':'File\x20path\x20could\x20not\x20be\x20found','woYtQ':_0x141329(0x2ca),'pcLsk':_0x141329(0x2b8),'oLetV':_0x141329(0x2db),'RmdfO':_0x141329(0x2ad),'WNqDg':_0x141329(0x254),'XdaZI':function(_0x30c092,_0x4d22ad){return _0x30c092-_0x4d22ad;},'YxvDu':function(_0x51547f,_0xf2b819,_0x335486,_0x17ed30,_0x13235f){return _0x51547f(_0xf2b819,_0x335486,_0x17ed30,_0x13235f);},'GXNRn':function(_0x57b4b9,_0x3b72a5){return _0x57b4b9!==_0x3b72a5;},'ZFuUM':_0x141329(0x2ee),'Qltlr':_0x141329(0x223),'gfYSY':_0x141329(0x2b1),'AOwNq':'failure_backtrace','kaLuO':'backtrace','UTWDC':_0x141329(0x250),'zMBiV':_0x141329(0x258),'jcTvL':function(_0x30c25a,_0x6ac5ac){return _0x30c25a===_0x6ac5ac;},'hoYYC':_0x141329(0x2d9),'ETHwE':'test_run'};if(!this[_0x141329(0x24e)])return;try{if(_0xc93a4e['fn']&&_0xc93a4e['fn'][_0x141329(0x29d)]()[_0x141329(0x261)](/browserstack internal helper hook/))return;const _0x21069b=_0xe7d61[_0x141329(0x285)](parseEvent,_0x45cc3d);if(!_0x21069b)return;if(_0x21069b[_0x141329(0x235)]){this[_0x141329(0x249)]=_0xc93a4e,this[_0x141329(0x252)]=null;if(_0x21069b['started']||_0x21069b[_0x141329(0x2ad)]){_0xc93a4e[_0x141329(0x209)]=new Date(),_0xc93a4e[_0x141329(0x238)]=![];if(!_0xc93a4e[_0x141329(0x207)])_0xc93a4e[_0x141329(0x207)]=_0xe7d61[_0x141329(0x214)](uuidv4);else _0xc93a4e[_0x141329(0x238)]&&(!_0xc93a4e[_0x141329(0x286)]&&(_0xc93a4e['retryOf']=_0xc93a4e[_0x141329(0x207)]),_0xc93a4e[_0x141329(0x207)]=_0xe7d61[_0x141329(0x1fe)](uuidv4));}}else{if(_0x21069b[_0x141329(0x24d)]){this['currentHook']=_0xc93a4e;if(_0x21069b[_0x141329(0x2ed)]){_0xc93a4e[_0x141329(0x209)]=new Date(),_0xc93a4e[_0x141329(0x238)]=![];if(!_0xc93a4e[_0x141329(0x2b7)])_0xc93a4e[_0x141329(0x2b7)]=_0xe7d61[_0x141329(0x214)](uuidv4);else _0xc93a4e[_0x141329(0x2b7)]&&_0xc93a4e[_0x141329(0x238)]&&(_0xc93a4e['hookAnalyticsId']=_0xe7d61[_0x141329(0x28b)](uuidv4));}}}if(_0x21069b[_0x141329(0x299)]&&_0xc93a4e[_0x141329(0x238)])return;let _0x6179fd;try{_0x6179fd=this[_0x141329(0x24c)](_0xc93a4e);}catch(_0x12c254){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x12c254),_0x6179fd=null;}let _0x1f82bc=[];_0x4dd20c&&(_0x1f82bc=[_0x4dd20c,_0xe7d61[_0x141329(0x245)]]);const _0x5bb6ae=_0xe7d61[_0x141329(0x2e3)](_0xc93a4e[_0x141329(0x23f)],undefined)?util[_0x141329(0x228)](_0xc93a4e['errorsDetailed'][0x0]):_0xe7d61[_0x141329(0x24f)](_0x4dd20c,undefined)?_0x4dd20c[_0x141329(0x29d)]():undefined,_0x452d2e=_0x6179fd?this[_0x141329(0x28d)](_0x6179fd):null,_0xe6aa65=_0x6179fd?this['_paths']['prefixTestPath'](this[_0x141329(0x24c)](_0xc93a4e)):_0xe7d61[_0x141329(0x212)];let _0x407c4b=_0xe7d61[_0x141329(0x2d0)];const _0xe4a78c=!_0x21069b[_0x141329(0x2ed)]?new Date()[_0x141329(0x257)]():null;if(_0x21069b['finished'])_0x407c4b=_0x4dd20c?_0xe7d61[_0x141329(0x232)]:_0xe7d61[_0x141329(0x27e)],_0xc93a4e[_0x141329(0x238)]=!![];else _0x21069b[_0x141329(0x2ad)]&&(_0x407c4b=_0xe7d61[_0x141329(0x1f9)],_0xc93a4e[_0x141329(0x238)]=!![]);const _0x3ebe4c={'framework':this[_0x141329(0x287)],'uuid':_0xc93a4e['testAnalyticsId']||_0xc93a4e[_0x141329(0x2b7)],'name':_0xc93a4e[_0x141329(0x25e)],'body':{'lang':_0xe7d61[_0x141329(0x2ef)],'code':_0xc93a4e[_0x141329(0x233)][_0x141329(0x29d)]()},'type':_0xc93a4e['type'],'scope':_0xc93a4e[_0x141329(0x2a0)](),'scopes':this[_0x141329(0x2e2)](_0xc93a4e),'file_name':_0xe6aa65,'vc_filepath':_0x452d2e?path[_0x141329(0x2ea)](_0x452d2e,_0x6179fd):null,'location':_0xe6aa65,'result':_0x407c4b,'failure_reason':_0x5bb6ae,'duration_in_ms':_0xc93a4e['duration']||(_0x21069b[_0x141329(0x299)]||_0x21069b['skipped'])?_0xe7d61[_0x141329(0x1ff)](Date[_0x141329(0x2f0)](),new Date(_0xc93a4e[_0x141329(0x209)])[_0x141329(0x2eb)]()):null,'started_at':new Date(_0xc93a4e[_0x141329(0x209)])['toISOString'](),'finished_at':_0xe4a78c,'failure':testOpsHelper[_0x141329(0x2dd)]['apply'](null,_0x1f82bc),'failure_type':!_0x5bb6ae?null:testOpsHelper[_0x141329(0x27f)](_0x5bb6ae),'retry_of':_0xc93a4e[_0x141329(0x286)]||null,'tags':_0xc93a4e[_0x141329(0x205)]||[],'customRerunParam':{'rerun_name':_0xc93a4e[_0x141329(0x2a0)]()}};_0xe7d61[_0x141329(0x2d3)](appendTesthubParams,_0x3ebe4c,_0x45cc3d,_0xc93a4e,FRAMEWORKS[_0x141329(0x2df)]);if(_0x21069b[_0x141329(0x24d)])[_0x3ebe4c[_0x141329(0x296)],_0x3ebe4c[_0x141329(0x28e)]]=[this[_0x141329(0x26f)](_0xc93a4e),_0xc93a4e[_0x141329(0x1f3)][_0x141329(0x235)][_0x141329(0x25e)]],_0x21069b[_0x141329(0x299)]?_0xe7d61[_0x141329(0x282)](_0x3ebe4c['result'],_0xe7d61[_0x141329(0x232)])&&(_0x3ebe4c[_0x141329(0x25d)]=_0xe7d61['oLetV']):_0x3ebe4c[_0x141329(0x233)]={};else _0x21069b[_0x141329(0x235)]&&(this[_0x141329(0x21c)](_0xc93a4e),_0x21069b[_0x141329(0x2ad)]&&this[_0x141329(0x2a2)](_0xc93a4e),(_0x21069b[_0x141329(0x299)]||_0x21069b[_0x141329(0x2ad)])&&(_0x3ebe4c[_0x141329(0x2ac)]=this['getHooksForTest'](_0xc93a4e)));this[_0x141329(0x2d2)]&&(_0x21069b[_0x141329(0x2ed)]||_0x21069b['skipped'])&&(_0x3ebe4c[_0xe7d61[_0x141329(0x2c5)]]=this[_0x141329(0x2c9)](this[_0x141329(0x2d2)]));_0x21069b[_0x141329(0x235)]&&_0x21069b[_0x141329(0x299)]&&_0xc93a4e[_0x141329(0x1fc)]&&(_0x3ebe4c[_0xe7d61[_0x141329(0x2c3)]]={'feature':{'name':_0xc93a4e['parent'][_0x141329(0x224)]['name'],'path':_0x3ebe4c[_0x141329(0x28c)],'description':_0xc93a4e[_0x141329(0x213)][_0x141329(0x263)]},'scenario':{'name':_0xc93a4e[_0x141329(0x25e)]},'steps':_0xc93a4e[_0x141329(0x1fc)]});const _0x407381=_0x3ebe4c[_0xe7d61[_0x141329(0x2e0)]][0x0];_0x407381&&(_0x3ebe4c[_0xe7d61['AOwNq']]=_0x407381[_0xe7d61[_0x141329(0x29a)]],_0x3ebe4c[_0xe7d61['UTWDC']]=_0x407381[_0xe7d61['zMBiV']]);if(_0xc93a4e[_0x141329(0x1fc)])for(const _0x8af2b1 of _0xc93a4e[_0x141329(0x1fc)]){!_0x8af2b1[_0x141329(0x23b)]&&(_0x8af2b1['finished_at']=new Date()[_0x141329(0x257)](),_0xe7d61[_0x141329(0x2a6)](_0x8af2b1[_0x141329(0x25d)],_0xe7d61[_0x141329(0x2d0)])&&(_0x407381?(_0x8af2b1['result']=_0xe7d61[_0x141329(0x232)],_0x8af2b1[_0x141329(0x2b1)]=_0x407381[_0xe7d61[_0x141329(0x29a)]][0x0]):_0x8af2b1[_0x141329(0x25d)]=_0xe7d61[_0x141329(0x27e)]));}const _0x5c4a78={};_0x5c4a78['event_type']=_0x21069b[_0x141329(0x2ad)]?TEST_EVENTS[_0x141329(0x225)]:_0x45cc3d;const _0x2429ee=_0x5c4a78;return _0x21069b[_0x141329(0x24d)]?_0x2429ee[_0xe7d61[_0x141329(0x2cb)]]=_0x3ebe4c:_0x2429ee[_0xe7d61[_0x141329(0x23a)]]=_0x3ebe4c,_0x2429ee;}catch(_0x14c640){logger['debug'](_0x141329(0x21e)+_0x45cc3d+_0x141329(0x262)+_0x14c640);}}async[a4_0x4a3231(0x25a)](_0x40c866,_0x50c38f){const _0x5b22cc=a4_0x4a3231;if(!this[_0x5b22cc(0x24e)]||!_0x50c38f||!_0x40c866)return![];try{return await SessionHandler[_0x5b22cc(0x244)](_0x50c38f);}catch(_0x2b2841){logger[_0x5b22cc(0x2f1)](_0x5b22cc(0x20e)+_0x40c866+'\x20with\x20error\x20:\x20'+_0x2b2841);}}[a4_0x4a3231(0x26b)](_0x38454a){const _0x3306da=a4_0x4a3231,_0x131ac0={};_0x131ac0[_0x3306da(0x2cc)]='pending';const _0x56b1a0=_0x131ac0;return{'id':_0x38454a['stepAnalyticsId'],'text':_0x38454a['text'],'keyword':_0x38454a[_0x3306da(0x2b4)],'started_at':_0x38454a[_0x3306da(0x209)]['toISOString'](),'result':_0x56b1a0[_0x3306da(0x2cc)]};}['bddStepStart'](_0x1c7f22){const _0x374e3b=a4_0x4a3231,_0x4b3ce0={'XbftN':function(_0x38c02b){return _0x38c02b();}};!this[_0x374e3b(0x249)][_0x374e3b(0x1fc)]&&(this[_0x374e3b(0x249)][_0x374e3b(0x1fc)]=[]),!_0x1c7f22['stepAnalyticsId']&&(_0x1c7f22[_0x374e3b(0x251)]=_0x4b3ce0[_0x374e3b(0x22b)](uuidv4),_0x1c7f22[_0x374e3b(0x209)]=new Date(),this[_0x374e3b(0x249)]['bddSteps'][_0x374e3b(0x203)](this[_0x374e3b(0x26b)](_0x1c7f22)));}[a4_0x4a3231(0x2d7)](_0x414e8e){const _0x1b82c6=a4_0x4a3231,_0x4d6035={'KQROT':function(_0x1d0a9b,_0xebc3a8){return _0x1d0a9b(_0xebc3a8);},'PLOcI':'success','FvwLr':_0x1b82c6(0x2ca),'BLOYg':'passed','guxYi':function(_0xeccc1f,_0x11cf3b){return _0xeccc1f-_0x11cf3b;}};let _0x46ad53=this['currentTest'][_0x1b82c6(0x1fc)][_0x1b82c6(0x28f)](_0x3ba84e=>_0x3ba84e['id']===_0x414e8e[_0x1b82c6(0x251)]);_0x4d6035[_0x1b82c6(0x26e)](isUndefined,_0x46ad53)&&(_0x46ad53=this[_0x1b82c6(0x26b)](_0x414e8e)),_0x46ad53['result']=[_0x4d6035[_0x1b82c6(0x25f)],_0x4d6035[_0x1b82c6(0x2ae)]][_0x1b82c6(0x264)](_0x414e8e[_0x1b82c6(0x23c)])?_0x4d6035[_0x1b82c6(0x236)]:_0x414e8e[_0x1b82c6(0x23c)],_0x46ad53['finished_at']=new Date()[_0x1b82c6(0x257)](),_0x46ad53[_0x1b82c6(0x248)]=_0x4d6035[_0x1b82c6(0x2a1)](Date[_0x1b82c6(0x2f0)](),_0x414e8e[_0x1b82c6(0x209)][_0x1b82c6(0x2eb)]()),_0x46ad53[_0x1b82c6(0x2b1)]=_0x414e8e[_0x1b82c6(0x2b2)]?_0x414e8e[_0x1b82c6(0x2b2)][_0x1b82c6(0x288)]:null;}}const a4_0x4624dd={};a4_0x4624dd['O11yHelper']=O11yHelper,a4_0x4624dd[a4_0x4a3231(0x283)]=STATE_PASSED,a4_0x4624dd[a4_0x4a3231(0x281)]=STATE_FAILED,a4_0x4624dd[a4_0x4a3231(0x22c)]=TEST_EVENTS,module['exports']=a4_0x4624dd;
|