browserstack-node-sdk 1.49.3 → 1.49.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x13f7(){const _0x1b5e48=['iETzI','mFLlR','prototype','hIRhE','testAnalyticsId','constructor','_setPage','QGClK','browserStackExecuteDriver','ZRCJM','dUXaT','enabled','warn','event','isArray','bind','4833480cgVlcb','OnUKX','name','class','ctx','2932374lMQmvj','Screenshot\x20path\x20not\x20found','PERFORM_SCAN','orirf','SidSZ','arguments','pages','hook-failed','stringify','addRequestSpy','end','catch','browserstack_executor:\x20','measureWrapper','info','INFO','hook-passed','THcMR','container','bddStepFinish','../../helpers/testhub/constants.js','ijtht','saveScreenshot','yBGQc','TEST_LOG','initSaveScreenshot','stack','ukgqF','FNTWB','bddStepStart','test-started','captureEvent','QYcQW','SDK_PRE_INITIALIZE','hookType','BiaQJ','before','startsWith','stopMonitoring','EsKaG','HoQgw','failed','SDK_POST_TEST','codeceptjs','7OvDGQc','Failed\x20to\x20execute\x20_before:\x20','BtnJL','domForge','dispatcher','setGlobal','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','stop','parse','setSessionName','HsNzg','FmXey','executeScript','Performing\x20scan\x20for\x20','WebDriver','browser','add','665325IiVkzF','includes','2617300HaSLZS','captureError','LYqnC','BROWSERSTACK_TESTHUB_JWT','SDK_TEST','after','afterTest','thTestRunUuid','../../helpers/accessibility-automation/helper','util','MBoPu','patch','getResultsSummary','TdmWz','skipSessionName','a11y_core_config','then','zQHHP','_before','185697nMhxkB','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','push','../../helpers/accessibility-automation/scripts','test-failed','eBJlG','YBisR','gaJUx','TEST_SCREENSHOT','JdCuE','hook','SDK_HOOK','VOMTl','SESSION_NAME','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','codeceptjs/lib/recorder.js','action','title','Suite','BROWSERSTACK_TESTHUB_UUID','start','call','SAVE_RESULTS','HOOK_RUN_FINISHED','BS_TESTOPS_ALLOW_SCREENSHOTS','MidMK','winstonLogger','Playwright','../../helpers/test-observability/utils','find','split','TEST_RUN_FINISHED','../../helpers/performance/performance-tester','gbIcc','vBBDA','DyEFZ','chromium','AVXXb','SDK_POST_INITIALIZE','performScan','xTECV','format','SDK_PRE_TEST','getAccessibilityResultsSummary','test-after','setSessionStatus','xkuOv','screenshotOutputFolder','from','GET_RESULTS_SUMMARY','80PpmSYc','toISOString','GET_RESULTS','FHFtK','accessibilityPlatform','getSyncScript','uMMsU','CNydl','config','TEST_RUN_STARTED','ENV_VAR','CIVxl','TEST_RUN_SKIPPED','startMonitoring','RIJNV','SjwOl','Element','emit','IlyVG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','args','bs:addLog:','\x0aStack:\x20','./helper.js','ckVlB','bstackAllyScanning','VhWpD','currentTest','xCEsG','GluSG','slice','env','commandsToWrap','JRWpt','getResults','ofYbU','../../bin/playwright/sessionDetails','FRAMEWORK_DETAILS','codeceptjs/lib/index.js','GtYyh','gHMzy','QDnzD','test-skipped','saveTestResults','IlUEm','bddStep','patchSaveScreenshot','HOOK_RUN_STARTED','apply','TestCafe','SnbsV','helpers','bddStep-after','bmMhG','passed','PenLN','skipSessionStatus','iDSlX','filter','browserstackTestName','1459tTtQGE','bddStep-before','test','__workerDetails','pid','step-comment','nPWmC','page','all','fireEvent','../../helpers/request-spy','UrXGg','titlePath','testFramework','../../helpers/globals.js','getAccessibilityResults','mIvfX','../../helpers/helper','cUQZo','hook-started','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','toString','ZspMi','SgftS','kAGbF','BS_A11Y_JWT','url','command','TgGxi','comment','debug','1080792CqyOUp','guQHy','VlmfC','VPbKN','SESSION_STATUS','message','browserContext','VmKcb','__skipSessionStatus','--auto-open-devtools-for-tabs','KOdwf','tEBGz','./o11yHelper','vdxkp','652lzEIZx','status'];a1_0x13f7=function(){return _0x1b5e48;};return a1_0x13f7();}const a1_0x15ccb8=a1_0x58d3;(function(_0x18531c,_0x1b5894){const _0x2ffe24=a1_0x58d3,_0x1d4a90=_0x18531c();while(!![]){try{const _0x2ede3b=parseInt(_0x2ffe24(0x1e4))/0x1*(-parseInt(_0x2ffe24(0x211))/0x2)+-parseInt(_0x2ffe24(0x27a))/0x3+parseInt(_0x2ffe24(0x267))/0x4+parseInt(_0x2ffe24(0x265))/0x5+parseInt(_0x2ffe24(0x228))/0x6*(parseInt(_0x2ffe24(0x254))/0x7)+parseInt(_0x2ffe24(0x223))/0x8+parseInt(_0x2ffe24(0x203))/0x9*(-parseInt(_0x2ffe24(0x2ac))/0xa);if(_0x2ede3b===_0x1b5894)break;else _0x1d4a90['push'](_0x1d4a90['shift']());}catch(_0x3928d1){_0x1d4a90['push'](_0x1d4a90['shift']());}}}(a1_0x13f7,0x5d473));const fs=require('fs'),util=require(a1_0x15ccb8(0x270)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x15ccb8(0x1f5)),logger=require('../../helpers/logger')[a1_0x15ccb8(0x294)],testOpsHelper=require(a1_0x15ccb8(0x296)),requestSpy=require(a1_0x15ccb8(0x1ee)),PlaywrightSessionDetails=require(a1_0x15ccb8(0x1cc)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x15ccb8(0x20f)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x15ccb8(0x26f)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x15ccb8(0x27d)),PerformanceTester=require(a1_0x15ccb8(0x29a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x15ccb8(0x1bf)),testHubConstants=require(a1_0x15ccb8(0x23c)),globals=require(a1_0x15ccb8(0x1f2)),CodeceptJS=requireModule(a1_0x15ccb8(0x1ce),a1_0x15ccb8(0x253)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x15ccb8(0x253)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x15ccb8(0x253)),CodeceptRecorder=requireModule(a1_0x15ccb8(0x289),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x15ccb8(0x253)),playwrightMarkSessionStatus=(_0x106a45,_0x1ab75f,_0x430c7b)=>{const _0x11aaac=a1_0x15ccb8,_0x4d5b02={'FHFtK':_0x11aaac(0x2a7),'iDSlX':function(_0x4a9e66,_0xad133a){return _0x4a9e66(_0xad133a);}},_0x3c5ec2={};_0x3c5ec2[_0x11aaac(0x212)]=_0x1ab75f;const _0x14fad2={};_0x14fad2[_0x11aaac(0x28a)]=_0x4d5b02[_0x11aaac(0x2af)],_0x14fad2[_0x11aaac(0x22d)]=_0x3c5ec2;const _0x250c98=_0x14fad2;return!_0x4d5b02[_0x11aaac(0x1e1)](isUndefined,_0x430c7b)&&(_0x250c98[_0x11aaac(0x22d)]['reason']=JSON[_0x11aaac(0x230)](_0x430c7b)),_0x106a45[_0x11aaac(0x260)](()=>{},_0x11aaac(0x234)+JSON[_0x11aaac(0x230)](_0x250c98));},o11ySync=PerformanceTester[a1_0x15ccb8(0x235)](PerformanceO11yEvents['SYNC'],async _0x53d941=>{const _0x19c9d7=a1_0x15ccb8,_0xc205eb={};_0xc205eb['EsKaG']=function(_0x28a120,_0x5b71c4){return _0x28a120===_0x5b71c4;},_0xc205eb[_0x19c9d7(0x1df)]='Playwright';const _0x2f475b=_0xc205eb;_0x2f475b[_0x19c9d7(0x24f)](_0x53d941[_0x19c9d7(0x218)][_0x19c9d7(0x225)],_0x2f475b[_0x19c9d7(0x1df)])?await _0x53d941[_0x19c9d7(0x260)](_0x330a2d=>{},testOpsHelper[_0x19c9d7(0x2b1)]()):await _0x53d941[_0x19c9d7(0x260)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x15ccb8(0x235)](PerformanceAutEvents[a1_0x15ccb8(0x287)],async(_0x49a6d0,_0x2f7a13)=>{const _0x38bd3a=a1_0x15ccb8,_0xccd809={};_0xccd809['FBvSj']=_0x38bd3a(0x25d),_0xccd809[_0x38bd3a(0x286)]=function(_0x311112,_0x1c08b9){return _0x311112===_0x1c08b9;},_0xccd809[_0x38bd3a(0x2b7)]='Playwright';const _0x2cd824=_0xccd809,_0x53da14={};_0x53da14[_0x38bd3a(0x225)]=_0x2f7a13;const _0x44f04c={};_0x44f04c[_0x38bd3a(0x28a)]=_0x2cd824['FBvSj'],_0x44f04c[_0x38bd3a(0x22d)]=_0x53da14;const _0x354d07=_0x44f04c;_0x2cd824[_0x38bd3a(0x286)](_0x49a6d0['constructor'][_0x38bd3a(0x225)],_0x2cd824[_0x38bd3a(0x2b7)])?await _0x49a6d0[_0x38bd3a(0x260)](()=>{},'browserstack_executor:\x20'+JSON[_0x38bd3a(0x230)](_0x354d07)):await _0x49a6d0[_0x38bd3a(0x260)](_0x38bd3a(0x234)+JSON['stringify'](_0x354d07));}),patchSaveScreenshot=_0x29c074=>{const _0x470d64=a1_0x15ccb8,_0x2b089b={'BiaQJ':'base64','SjwOl':_0x470d64(0x282),'bmMhG':function(_0x595ca8){return _0x595ca8();},'mtCbH':function(_0x2dfb4e,_0x5d8707){return _0x2dfb4e(_0x5d8707);},'ZspMi':_0x470d64(0x229),'IFZjI':function(_0x3b7b78,_0x118b72){return _0x3b7b78(_0x118b72);}};_0x2b089b['IFZjI'](isTrue,process['env'][_0x470d64(0x292)])&&!_0x29c074[_0x470d64(0x1d6)]&&(_0x29c074['patchSaveScreenshot']=!![],_0x29c074[_0x470d64(0x241)]=_0x29c074[_0x470d64(0x23e)],_0x29c074['saveScreenshot']=(_0x5209bd,_0x4c3b1a=![])=>{const _0x1d1211=_0x470d64,_0x3f1f18={'guQHy':_0x2b089b[_0x1d1211(0x24b)],'ofYbU':_0x2b089b[_0x1d1211(0x1b7)],'RaSnM':function(_0x37303f){const _0x14b6eb=_0x1d1211;return _0x2b089b[_0x14b6eb(0x1dd)](_0x37303f);},'FmXey':function(_0x3c5981,_0x590fa2){return _0x2b089b['mtCbH'](_0x3c5981,_0x590fa2);},'tiZHN':_0x2b089b[_0x1d1211(0x1fa)]};return new Promise(function(_0x4b82a3,_0x44d71c){const _0x5093ce=_0x1d1211;_0x29c074['initSaveScreenshot'](_0x5209bd,_0x4c3b1a)[_0x5093ce(0x277)](()=>{const _0x2610a4=_0x5093ce,_0x406bc7=CodeceptUtils[_0x2610a4(0x2a9)](_0x5209bd);if(_0x406bc7){const _0x4a8df6=fs['readFileSync'](_0x406bc7);process[_0x2610a4(0x1b9)](_0x2610a4(0x1bd)+process[_0x2610a4(0x1e8)],{'timestamp':new Date()[_0x2610a4(0x2ad)](),'message':_0x4a8df6[_0x2610a4(0x1f9)](_0x3f1f18[_0x2610a4(0x204)]),'kind':_0x3f1f18[_0x2610a4(0x1cb)]}),_0x3f1f18['RaSnM'](_0x4b82a3);}_0x3f1f18[_0x2610a4(0x25f)](_0x44d71c,new Error(_0x3f1f18['tiZHN']));})[_0x5093ce(0x233)](()=>null);});});},patchWebDriverBefore=_0x52af74=>{const _0x442bb5=a1_0x15ccb8,_0x2d1fc0={'aRBMQ':function(_0x4fad68){return _0x4fad68();},'gHMzy':function(_0x4fdf07,_0x5f3ca7){return _0x4fdf07(_0x5f3ca7);},'mFLlR':function(_0x59dcff,_0x4d5aa8){return _0x59dcff===_0x4d5aa8;},'ckVlB':'webdriverio','QDnzD':function(_0x1077d4,_0x172034){return _0x1077d4===_0x172034;},'DyEFZ':'string','tEBGz':_0x442bb5(0x1b8)},_0x495d69=async function(_0x386748,_0x523224){const _0x3159dd=_0x442bb5;_0x2d1fc0['aRBMQ'](isAccessibilityAutomationSession)&&!global[_0x3159dd(0x1c1)]&&global[_0x3159dd(0x2b0)]&&scripts['shouldWrapCommand'](_0x386748[_0x3159dd(0x225)])&&_0x2d1fc0['gHMzy'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3159dd(0x1c1)]=!![],await PerformanceTester[_0x3159dd(0x235)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x21143f=_0x3159dd;logger[_0x21143f(0x202)](_0x21143f(0x261)+_0x386748[_0x21143f(0x226)]+'\x20'+_0x386748['name']),await AccessibilityHelper[_0x21143f(0x21b)](_0x52af74,scripts[_0x21143f(0x2a1)]);},{'command':_0x386748[_0x3159dd(0x225)]})());global[_0x3159dd(0x1c1)]=![];const _0x4240d0=JSON[_0x3159dd(0x25c)](process[_0x3159dd(0x1c7)][_0x3159dd(0x1cd)]||'{}');if(_0x2d1fc0['mFLlR'](_0x4240d0?.[_0x3159dd(0x1f1)]?.[_0x3159dd(0x225)],_0x2d1fc0[_0x3159dd(0x1c0)])&&_0x2d1fc0[_0x3159dd(0x1d1)](typeof _0x4240d0?.[_0x3159dd(0x1f1)]?.['version'],_0x2d1fc0[_0x3159dd(0x29d)])&&_0x4240d0?.[_0x3159dd(0x1f1)]?.['version'][_0x3159dd(0x24d)]('7'))return _0x523224[_0x3159dd(0x1d8)](null,Array[_0x3159dd(0x215)]['slice']['call'](arguments,0x2));return _0x523224['apply'](this,Array[_0x3159dd(0x215)][_0x3159dd(0x1c6)][_0x3159dd(0x28f)](arguments,0x2));},_0x128dfc=CodeceptWebDriver['prototype'][_0x442bb5(0x279)];CodeceptWebDriver[_0x442bb5(0x215)][_0x442bb5(0x279)]=async function(){const _0x34c48f=_0x442bb5;try{await _0x128dfc[_0x34c48f(0x1d8)](this,arguments);}catch(_0x48c63d){logger[_0x34c48f(0x202)](_0x34c48f(0x255)+util[_0x34c48f(0x2a3)](_0x48c63d));}scripts[_0x34c48f(0x1c8)][_0x34c48f(0x1e2)](_0x21bc6b=>_0x21bc6b['name']&&_0x21bc6b[_0x34c48f(0x226)])['forEach'](_0x5a414f=>{const _0x78dc2e=_0x34c48f;this[_0x78dc2e(0x263)]['overwriteCommand'](_0x5a414f[_0x78dc2e(0x225)],_0x495d69['bind'](this,_0x5a414f),_0x2d1fc0[_0x78dc2e(0x214)](_0x5a414f['class'],_0x2d1fc0[_0x78dc2e(0x20e)]));}),_0x2d1fc0[_0x34c48f(0x1d0)](processWebDriverConfig,_0x52af74);};};function a1_0x58d3(_0x31fe7c,_0x1fd342){const _0x13f750=a1_0x13f7();return a1_0x58d3=function(_0x58d390,_0x29ed97){_0x58d390=_0x58d390-0x1b5;let _0x309493=_0x13f750[_0x58d390];return _0x309493;},a1_0x58d3(_0x31fe7c,_0x1fd342);}function parseJwt(_0x3ec261){const _0x139dd1=a1_0x15ccb8,_0x391035={};_0x391035[_0x139dd1(0x250)]='base64';const _0x4c9fe8=_0x391035;if(!_0x3ec261)return null;return JSON[_0x139dd1(0x25c)](Buffer[_0x139dd1(0x2aa)](_0x3ec261[_0x139dd1(0x298)]('.')[0x1],_0x4c9fe8[_0x139dd1(0x250)])[_0x139dd1(0x1f9)]());}const patchPlaywrightBefore=()=>{const _0x49f3f0=a1_0x15ccb8,_0x562ac1={'sekBO':function(_0x1b53a2){return _0x1b53a2();},'FMKiw':'devtools://','GluSG':_0x49f3f0(0x20c),'UrXGg':function(_0x1c7dd0,_0x4dda9c){return _0x1c7dd0(_0x4dda9c);},'VmKcb':function(_0x2be83e,_0x57e3fb){return _0x2be83e+_0x57e3fb;},'QYcQW':_0x49f3f0(0x1be),'cUQZo':function(_0x5be95b){return _0x5be95b();},'nPWmC':function(_0x53c760){return _0x53c760();}};PlaywrightSessionDetails[_0x49f3f0(0x272)]();const _0x38237a=CodeceptPlaywright[_0x49f3f0(0x215)][_0x49f3f0(0x279)];CodeceptPlaywright[_0x49f3f0(0x215)][_0x49f3f0(0x279)]=async function(){const _0x19a1bd=_0x49f3f0,_0x2d765e={'JdCuE':function(_0x46a76a){return _0x562ac1['sekBO'](_0x46a76a);},'SgftS':_0x562ac1['FMKiw'],'ZjbrS':_0x562ac1[_0x19a1bd(0x1c5)],'xTECV':function(_0x47cce0,_0x5376fb){const _0x2a90ba=_0x19a1bd;return _0x562ac1[_0x2a90ba(0x1ef)](_0x47cce0,_0x5376fb);},'YBisR':function(_0xe8140c,_0x141b95){const _0x4e8ba6=_0x19a1bd;return _0x562ac1[_0x4e8ba6(0x20a)](_0xe8140c,_0x141b95);},'SnbsV':_0x562ac1[_0x19a1bd(0x248)]};this[_0x19a1bd(0x209)]=await this['browser']['contexts']()[0x0];const _0x46f359=async()=>{const _0x242e3b=_0x19a1bd,_0x3835e2={'VPbKN':function(_0x52f342){const _0x350451=a1_0x58d3;return _0x2d765e[_0x350451(0x283)](_0x52f342);},'GYNVJ':_0x2d765e[_0x242e3b(0x1fb)]},_0x5a1c69=this[_0x242e3b(0x2b4)]&&this[_0x242e3b(0x2b4)][_0x242e3b(0x29e)]&&this[_0x242e3b(0x2b4)]['chromium'][_0x242e3b(0x1bc)]&&Array[_0x242e3b(0x221)](this[_0x242e3b(0x2b4)][_0x242e3b(0x29e)]['args'])&&this[_0x242e3b(0x2b4)][_0x242e3b(0x29e)]['args'][_0x242e3b(0x266)](_0x2d765e['ZjbrS']);if(_0x2d765e['JdCuE'](isAccessibilityAutomationSession)&&!_0x5a1c69)try{const _0x140287=_0x2d765e[_0x242e3b(0x2a2)](parseJwt,process[_0x242e3b(0x1c7)][_0x242e3b(0x1fd)]);if(_0x140287&&_0x140287[_0x242e3b(0x276)]&&_0x140287[_0x242e3b(0x276)][_0x242e3b(0x257)]){const _0xe067f=this[_0x242e3b(0x209)]['pages'][_0x242e3b(0x222)](this['browserContext']);this[_0x242e3b(0x209)][_0x242e3b(0x22e)]=async function(){const _0x5266f7=_0x242e3b,_0x18c178=await _0x3835e2[_0x5266f7(0x206)](_0xe067f),_0x19576d=[];for(const _0x59e431 of _0x18c178){try{const _0x5ee2ef=await _0x59e431[_0x5266f7(0x1fe)]();!_0x5ee2ef[_0x5266f7(0x24d)](_0x3835e2['GYNVJ'])&&_0x19576d[_0x5266f7(0x27c)](_0x59e431);}catch(_0x4b8081){_0x19576d[_0x5266f7(0x27c)](_0x59e431);}}return _0x19576d;};}if(!_0x2d765e[_0x242e3b(0x283)](isBrowserstackInfra)){const _0x558629=await this[_0x242e3b(0x1eb)][_0x242e3b(0x1fe)]();if(_0x558629['startsWith'](_0x2d765e['SgftS'])){const _0x1d049d=await this[_0x242e3b(0x209)][_0x242e3b(0x22e)]();this[_0x242e3b(0x219)](_0x1d049d[0x0]);}}}catch(_0x3fa401){logger[_0x242e3b(0x202)](_0x242e3b(0x25a)+_0x3fa401[_0x242e3b(0x208)]+(_0x3fa401['stack']?_0x2d765e[_0x242e3b(0x280)](_0x2d765e[_0x242e3b(0x1da)],_0x3fa401[_0x242e3b(0x242)]):''));}};_0x562ac1['cUQZo'](isBrowserstackInfra)&&await _0x562ac1[_0x19a1bd(0x1f6)](_0x46f359),await _0x38237a[_0x19a1bd(0x1d8)](this,arguments),!_0x562ac1[_0x19a1bd(0x1f6)](isBrowserstackInfra)&&await _0x562ac1[_0x19a1bd(0x1ea)](_0x46f359);};},getCodeceptDriver=()=>{const _0x4ea9bf=a1_0x15ccb8,_0xd9c1d1={};_0xd9c1d1[_0x4ea9bf(0x21d)]=_0x4ea9bf(0x262),_0xd9c1d1[_0x4ea9bf(0x1d4)]='Playwright',_0xd9c1d1[_0x4ea9bf(0x20d)]='Puppeteer',_0xd9c1d1[_0x4ea9bf(0x22b)]=_0x4ea9bf(0x1d9);const _0x4da1af=_0xd9c1d1,_0x46defb=[_0x4da1af['dUXaT'],_0x4da1af['IlUEm'],_0x4da1af[_0x4ea9bf(0x20d)],_0x4da1af[_0x4ea9bf(0x22b)]],_0x90a055=_0x46defb[_0x4ea9bf(0x297)](_0x225ee5=>!!CodeceptJS['container'][_0x4ea9bf(0x1db)](_0x225ee5));if(!_0x90a055)return null;return CodeceptJS[_0x4ea9bf(0x23a)][_0x4ea9bf(0x1db)](_0x90a055);};module['exports']=function(_0x2bbbe6){const _0x4fe287=a1_0x15ccb8,_0x569f4c={'AVXXb':function(_0x547452){return _0x547452();},'gaJUx':function(_0x1bd5f5,_0x5d5aec){return _0x1bd5f5(_0x5d5aec);},'RIJNV':_0x4fe287(0x2a5),'vBBDA':_0x4fe287(0x288),'QGClK':_0x4fe287(0x1f3),'hIRhE':_0x4fe287(0x1bb),'ijtht':function(_0xe2675f,_0x2ee8db){return _0xe2675f(_0x2ee8db);},'yBGQc':_0x4fe287(0x1f7),'TgGxi':_0x4fe287(0x238),'FNTWB':_0x4fe287(0x22f),'xkuOv':_0x4fe287(0x1e3),'SidSZ':'test-before','GtYyh':function(_0x33c3b2){return _0x33c3b2();},'LYqnC':function(_0x3786d9,_0x27d8f8,_0x1f725e){return _0x3786d9(_0x27d8f8,_0x1f725e);},'BtnJL':function(_0x6cd842,_0x1003d7){return _0x6cd842(_0x1003d7);},'eBJlG':_0x4fe287(0x246),'THcMR':function(_0x38b478,_0x542d60,_0x49697f){return _0x38b478(_0x542d60,_0x49697f);},'MBoPu':function(_0x3a8539){return _0x3a8539();},'dYHqi':'test-passed','ukgqF':function(_0x10db4d,_0x44cd72,_0x1c0700,_0x51f8e4){return _0x10db4d(_0x44cd72,_0x1c0700,_0x51f8e4);},'TytQb':function(_0x34c02d,_0x3e19cb){return _0x34c02d===_0x3e19cb;},'vdxkp':_0x4fe287(0x28c),'HsNzg':_0x4fe287(0x27e),'Fzcvv':_0x4fe287(0x1d2),'ZRCJM':_0x4fe287(0x26d),'VhWpD':function(_0x12ffc8,_0x4276a7,_0x18f3f2){return _0x12ffc8(_0x4276a7,_0x18f3f2);},'CNydl':function(_0x350264){return _0x350264();},'kAGbF':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','xCEsG':_0x4fe287(0x2a6),'mIvfX':_0x4fe287(0x237),'IlyVG':_0x4fe287(0x240),'uMMsU':_0x4fe287(0x1e9),'VlmfC':_0x4fe287(0x1e5),'MidMK':_0x4fe287(0x1dc),'JRWpt':function(_0x110b14){return _0x110b14();},'zQHHP':_0x4fe287(0x295)};_0x2bbbe6[_0x4fe287(0x1e0)]&&(global[_0x4fe287(0x20b)]=_0x2bbbe6[_0x4fe287(0x1e0)]);PerformanceTester[_0x4fe287(0x1b5)]();const _0x205807=_0x569f4c[_0x4fe287(0x1c9)](getCodeceptDriver),_0x966f08=new O11yHelper(_0x205807,_0x2bbbe6),_0x5986db=!!CodeceptJS['container']['helpers'](_0x569f4c[_0x4fe287(0x278)]);global['__driver']=_0x205807,_0x205807&&(PerformanceTester[_0x4fe287(0x235)](PerformanceEvents[_0x4fe287(0x249)],()=>{const _0x85458f=_0x4fe287;_0x5986db?_0x569f4c[_0x85458f(0x29f)](patchPlaywrightBefore):_0x569f4c[_0x85458f(0x281)](patchWebDriverBefore,_0x205807);})(),PerformanceTester[_0x4fe287(0x235)](PerformanceEvents[_0x4fe287(0x2a0)],()=>{const _0x38b8ce=_0x4fe287;_0x205807[_0x38b8ce(0x2a5)]=async()=>{const _0x2fa04d=_0x38b8ce;if(global['accessibilityPlatform']){const _0x34eeb9={};return _0x34eeb9[_0x2fa04d(0x1ff)]=_0x569f4c[_0x2fa04d(0x1b6)],await PerformanceTester[_0x2fa04d(0x235)](PerformanceA11yEvents[_0x2fa04d(0x22a)],async()=>{const _0x757339=_0x2fa04d;return await AccessibilityHelper['browserStackExecuteDriver'](_0x205807,scripts[_0x757339(0x2a1)]);},_0x34eeb9)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2fa04d(0x2ab)],async()=>{const _0x1e6edd=_0x2fa04d;return await AccessibilityHelper['browserStackExecuteDriver'](_0x205807,scripts[_0x1e6edd(0x273)]);})();}return logger[_0x2fa04d(0x21f)](_0x569f4c[_0x2fa04d(0x29c)]),{};},_0x205807['getAccessibilityResults']=async()=>{const _0x4a71e0=_0x38b8ce;if(global[_0x4a71e0(0x2b0)]){const _0x27d567={};return _0x27d567[_0x4a71e0(0x1ff)]=_0x569f4c[_0x4a71e0(0x21a)],await PerformanceTester[_0x4a71e0(0x235)](PerformanceA11yEvents[_0x4a71e0(0x22a)],async()=>{const _0x5bd932=_0x4a71e0;return await AccessibilityHelper['browserStackExecuteDriver'](_0x205807,scripts[_0x5bd932(0x2a1)]);},_0x27d567)(),await PerformanceTester[_0x4a71e0(0x235)](PerformanceA11yEvents[_0x4a71e0(0x2ae)],async()=>{const _0x292f80=_0x4a71e0;return await AccessibilityHelper[_0x292f80(0x21b)](_0x205807,scripts[_0x292f80(0x1ca)]);})();}return logger['warn'](_0x569f4c[_0x4a71e0(0x216)]),{};},_0x569f4c[_0x38b8ce(0x23d)](patchSaveScreenshot,_0x205807);})()),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS['event'][_0x4fe287(0x1ec)][_0x4fe287(0x24c)],()=>{const _0x45c70b=_0x4fe287;PerformanceTester[_0x45c70b(0x28e)](PerformanceEvents[_0x45c70b(0x2a4)]);try{_0x966f08['start'](),testOpsHelper[_0x45c70b(0x231)](),PerformanceTester['end'](PerformanceEvents[_0x45c70b(0x2a4)]);}catch(_0x2a70e6){PerformanceTester[_0x45c70b(0x268)](_0x2a70e6),PerformanceTester['end'](PerformanceEvents[_0x45c70b(0x2a4)],![],_0x2a70e6);}}),CodeceptJS['event'][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1ec)]['after'],async()=>{const _0x14e8e2=_0x4fe287;PerformanceTester[_0x14e8e2(0x28e)](PerformanceEvents[_0x14e8e2(0x252)]);try{requestSpy['restore'](),await _0x966f08[_0x14e8e2(0x25b)](),PerformanceTester[_0x14e8e2(0x232)](PerformanceEvents[_0x14e8e2(0x252)]);}catch(_0x474ba6){PerformanceTester[_0x14e8e2(0x268)](_0x474ba6),PerformanceTester[_0x14e8e2(0x232)](PerformanceEvents[_0x14e8e2(0x252)],![],_0x474ba6);}finally{PerformanceTester[_0x14e8e2(0x24e)]();}}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x284)]['started'],_0x4bc652=>{const _0x14005e=_0x4fe287;PerformanceTester[_0x14005e(0x28e)](PerformanceEvents[_0x14005e(0x285)]);try{const _0x5d2587=_0x4bc652[_0x14005e(0x227)][_0x14005e(0x1e6)],_0x506c78=_0x966f08[_0x14005e(0x247)](TEST_EVENTS[_0x14005e(0x1d7)],_0x5d2587);CodeceptRecorder[_0x14005e(0x264)](()=>_0x966f08['fireEvent'](TEST_EVENTS[_0x14005e(0x1d7)],_0x506c78));const _0x43e8c1={};_0x43e8c1[_0x14005e(0x24a)]=_0x569f4c[_0x14005e(0x23f)],PerformanceTester[_0x14005e(0x232)](PerformanceEvents[_0x14005e(0x285)],!![],null,_0x43e8c1);}catch(_0x3c724d){const _0x1d5c3c={};_0x1d5c3c[_0x14005e(0x24a)]=_0x569f4c[_0x14005e(0x23f)],PerformanceTester[_0x14005e(0x232)](PerformanceEvents[_0x14005e(0x285)],![],_0x3c724d,_0x1d5c3c),PerformanceTester['captureError'](_0x3c724d);}}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS['event']['hook'][_0x4fe287(0x1de)],_0x24435d=>{const _0x23c305=_0x4fe287,_0x47ad67={};_0x47ad67[_0x23c305(0x24a)]=_0x569f4c[_0x23c305(0x200)],PerformanceTester[_0x23c305(0x28e)](PerformanceHookEvents[_0x23c305(0x285)],!![],null,_0x47ad67);try{const _0x326893=_0x24435d[_0x23c305(0x227)]['test'],_0x6ad12d=_0x966f08['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x326893);CodeceptRecorder[_0x23c305(0x264)](()=>_0x966f08[_0x23c305(0x1ed)](TEST_EVENTS[_0x23c305(0x291)],_0x6ad12d));const _0x2c9d98={};_0x2c9d98['hookType']=_0x569f4c[_0x23c305(0x200)],PerformanceTester[_0x23c305(0x232)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2c9d98);}catch(_0x453faf){PerformanceTester[_0x23c305(0x268)](_0x453faf);const _0xf04646={};_0xf04646[_0x23c305(0x24a)]=_0x569f4c[_0x23c305(0x200)],PerformanceTester['end'](PerformanceHookEvents[_0x23c305(0x285)],![],_0x453faf,_0xf04646);}}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS['event'][_0x4fe287(0x284)][_0x4fe287(0x251)],async(_0x166727,_0x5dc965)=>{const _0x52fc70=_0x4fe287;PerformanceTester[_0x52fc70(0x28e)](PerformanceHookEvents[_0x52fc70(0x285)]);try{const _0x514527=_0x166727[_0x52fc70(0x227)]['test'],_0x312400=_0x966f08[_0x52fc70(0x247)](TEST_EVENTS[_0x52fc70(0x291)],_0x514527,_0x5dc965);CodeceptRecorder[_0x52fc70(0x264)](()=>_0x966f08[_0x52fc70(0x1ed)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x312400));const _0x590a33={};_0x590a33[_0x52fc70(0x24a)]=_0x569f4c[_0x52fc70(0x244)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x590a33);}catch(_0x5db43f){PerformanceTester[_0x52fc70(0x268)](_0x5db43f);const _0x19086f={};_0x19086f['hookType']=_0x569f4c['FNTWB'],PerformanceTester[_0x52fc70(0x232)](PerformanceHookEvents[_0x52fc70(0x285)],![],_0x5db43f,_0x19086f);}const _0x3040bf={};_0x3040bf['hookType']=_0x569f4c[_0x52fc70(0x244)],PerformanceTester[_0x52fc70(0x232)](PerformanceHookEvents[_0x52fc70(0x285)],!![],null,_0x3040bf);}),CodeceptJS['event'][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1e6)][_0x4fe287(0x24c)],_0xe95de0=>{const _0x12137e=_0x4fe287;PerformanceTester['start'](PerformanceHookEvents[_0x12137e(0x285)]);try{globals[_0x12137e(0x259)](_0x569f4c[_0x12137e(0x2a8)],_0xe95de0[_0x12137e(0x28b)]);_0x569f4c[_0x12137e(0x29f)](isBrowserstackInfra)&&(_0x5986db&&(global[_0x12137e(0x1e7)]={'currentTest':{'name':_0xe95de0[_0x12137e(0x28b)],'testInfo':{'titlePath':_0xe95de0['titlePath']()}}}));const _0x417e3e={};_0x417e3e['hookType']=_0x569f4c[_0x12137e(0x22c)],PerformanceTester['end'](PerformanceHookEvents[_0x12137e(0x285)],!![],null,_0x417e3e);}catch(_0x30ca1f){PerformanceTester['captureError'](_0x30ca1f);const _0x5a56b1={};_0x5a56b1[_0x12137e(0x24a)]=_0x569f4c[_0x12137e(0x22c)],PerformanceTester[_0x12137e(0x232)](PerformanceHookEvents[_0x12137e(0x285)],![],_0x30ca1f,_0x5a56b1);}}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)]['test']['started'],_0x1dd8c8=>{const _0x20c3c3=_0x4fe287;PerformanceTester[_0x20c3c3(0x28e)](PerformanceHookEvents[_0x20c3c3(0x285)]);try{globals[_0x20c3c3(0x259)](_0x569f4c[_0x20c3c3(0x2a8)],_0x1dd8c8['title']);const _0x418b13=_0x966f08[_0x20c3c3(0x247)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1dd8c8);CodeceptRecorder[_0x20c3c3(0x264)](()=>_0x966f08[_0x20c3c3(0x1ed)](TEST_EVENTS[_0x20c3c3(0x2b5)],_0x418b13)),CodeceptRecorder[_0x20c3c3(0x264)](async()=>{const _0x559e39=_0x20c3c3;_0x569f4c[_0x559e39(0x1cf)](isBrowserstackInfra)&&(!_0x569f4c['ijtht'](isTrue,_0x2bbbe6[_0x559e39(0x275)])&&await _0x569f4c[_0x559e39(0x269)](markSessionName,_0x205807,_0x1dd8c8['title']),_0x966f08[_0x559e39(0x21e)]&&await _0x569f4c[_0x559e39(0x256)](o11ySync,_0x205807));});}catch(_0x34a62f){const _0x27e84e={};_0x27e84e[_0x20c3c3(0x24a)]=_0x569f4c[_0x20c3c3(0x27f)],PerformanceTester[_0x20c3c3(0x232)](PerformanceHookEvents[_0x20c3c3(0x285)],![],_0x34a62f,_0x27e84e),PerformanceTester[_0x20c3c3(0x268)](_0x34a62f);}const _0x28e7e2={};_0x28e7e2[_0x20c3c3(0x24a)]=_0x569f4c[_0x20c3c3(0x27f)],PerformanceTester[_0x20c3c3(0x232)](PerformanceHookEvents[_0x20c3c3(0x285)],!![],null,_0x28e7e2);}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)]['test']['passed'],_0x3b866c=>{const _0x5bca86=_0x4fe287,_0x575398={'TdmWz':function(_0x47595f,_0x5c2e7a,_0x2457ce){const _0x4b4799=a1_0x58d3;return _0x569f4c[_0x4b4799(0x239)](_0x47595f,_0x5c2e7a,_0x2457ce);},'gbIcc':function(_0x2d3c31){return _0x569f4c['MBoPu'](_0x2d3c31);}};PerformanceTester[_0x5bca86(0x28e)](PerformanceHookEvents[_0x5bca86(0x285)]);try{const _0x57c1e5=_0x966f08['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3b866c);CodeceptRecorder[_0x5bca86(0x264)](()=>_0x966f08[_0x5bca86(0x1ed)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x57c1e5)),CodeceptRecorder['add'](async()=>{const _0xc53273=_0x5bca86,_0x4c7dfb={'OnUKX':function(_0x4df906,_0x4377ae,_0x2275a7){const _0x4387e0=a1_0x58d3;return _0x575398[_0x4387e0(0x274)](_0x4df906,_0x4377ae,_0x2275a7);},'iETzI':function(_0x4478ba,_0x36eb5e,_0x2efdc5){const _0x3984be=a1_0x58d3;return _0x575398[_0x3984be(0x274)](_0x4478ba,_0x36eb5e,_0x2efdc5);}};_0x575398[_0xc53273(0x29b)](isBrowserstackInfra)&&await PerformanceTester[_0xc53273(0x235)](PerformanceAutEvents[_0xc53273(0x207)],async()=>{const _0x375ad7=_0xc53273;_0x5986db?await _0x4c7dfb[_0x375ad7(0x224)](playwrightMarkSessionStatus,_0x205807,STATE_PASSED):await _0x4c7dfb[_0x375ad7(0x213)](markSessionStatus,_0x205807,STATE_PASSED);})();}),PerformanceTester[_0x5bca86(0x232)](PerformanceEvents[_0x5bca86(0x26b)]);}catch(_0x2f80ff){PerformanceTester['captureError'](_0x2f80ff);const _0x2a8172={};_0x2a8172['hookType']=_0x569f4c['dYHqi'],PerformanceTester[_0x5bca86(0x232)](PerformanceHookEvents['SDK_HOOK'],![],_0x2f80ff,_0x2a8172),PerformanceTester[_0x5bca86(0x232)](PerformanceEvents[_0x5bca86(0x26b)],![],_0x2f80ff);}const _0x53c8d2={};_0x53c8d2[_0x5bca86(0x24a)]=_0x569f4c['dYHqi'],PerformanceTester[_0x5bca86(0x232)](PerformanceHookEvents[_0x5bca86(0x285)],!![],null,_0x53c8d2);}),CodeceptJS['event'][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1e6)][_0x4fe287(0x251)],(_0xb701fd,_0x128b11)=>{const _0x8439b2=_0x4fe287;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x569f4c['TytQb'](_0xb701fd[_0x8439b2(0x218)][_0x8439b2(0x225)],_0x569f4c[_0x8439b2(0x210)])){const _0x12e544=_0x966f08[_0x8439b2(0x247)](TEST_EVENTS[_0x8439b2(0x2b8)],_0xb701fd[_0x8439b2(0x227)][_0x8439b2(0x1c3)]);CodeceptRecorder[_0x8439b2(0x264)](()=>_0x966f08[_0x8439b2(0x1ed)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x12e544));}else{const _0x4e3b2=_0x966f08['captureEvent'](TEST_EVENTS[_0x8439b2(0x299)],_0xb701fd,_0x128b11);CodeceptRecorder[_0x8439b2(0x264)](()=>{const _0x53ff1d=_0x8439b2;try{_0x966f08['fireEvent'](TEST_EVENTS[_0x53ff1d(0x299)],_0x4e3b2);}catch(_0x37618d){logger[_0x53ff1d(0x202)](_0x53ff1d(0x1f8)+util[_0x53ff1d(0x2a3)](_0x37618d)),PerformanceTester[_0x53ff1d(0x232)](PerformanceEvents[_0x53ff1d(0x26b)],![],_0x37618d);}}),CodeceptRecorder['add'](async()=>{const _0x8aa055=_0x8439b2;try{_0x569f4c[_0x8aa055(0x271)](isBrowserstackInfra)&&(_0x5986db?await _0x569f4c[_0x8aa055(0x243)](playwrightMarkSessionStatus,_0x205807,STATE_FAILED,_0x128b11):await _0x569f4c[_0x8aa055(0x243)](markSessionStatus,_0x205807,STATE_FAILED,_0x128b11));}catch(_0x48fb4e){logger[_0x8aa055(0x202)](_0x8aa055(0x27b)+util[_0x8aa055(0x2a3)](_0x48fb4e)),PerformanceTester[_0x8aa055(0x232)](PerformanceEvents[_0x8aa055(0x26b)],![],_0x48fb4e);}});}PerformanceTester[_0x8439b2(0x232)](PerformanceEvents['SDK_TEST']);}catch(_0x19dcd5){PerformanceTester[_0x8439b2(0x268)](_0x19dcd5);const _0xce0dbc={};_0xce0dbc[_0x8439b2(0x24a)]=_0x569f4c['HsNzg'],PerformanceTester[_0x8439b2(0x232)](PerformanceHookEvents[_0x8439b2(0x285)],![],_0x19dcd5,_0xce0dbc),PerformanceTester[_0x8439b2(0x232)](PerformanceEvents['SDK_TEST'],![],_0x19dcd5);}const _0x55b124={};_0x55b124[_0x8439b2(0x24a)]=_0x569f4c[_0x8439b2(0x25e)],PerformanceTester[_0x8439b2(0x232)](PerformanceHookEvents[_0x8439b2(0x285)],!![],null,_0x55b124);}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1e6)]['skipped'],_0xad2477=>{const _0x4d5023=_0x4fe287;PerformanceTester[_0x4d5023(0x28e)](PerformanceHookEvents[_0x4d5023(0x285)]);try{const _0xbe60a=_0x966f08['captureEvent'](TEST_EVENTS[_0x4d5023(0x2b8)],_0xad2477);CodeceptRecorder[_0x4d5023(0x264)](()=>_0x966f08[_0x4d5023(0x1ed)](TEST_EVENTS[_0x4d5023(0x2b8)],_0xbe60a)),PerformanceTester[_0x4d5023(0x232)](PerformanceEvents[_0x4d5023(0x26b)]);}catch(_0x3fb04e){PerformanceTester['captureError'](_0x3fb04e),PerformanceTester[_0x4d5023(0x232)](PerformanceEvents['SDK_TEST'],![],_0x3fb04e);const _0x377e30={};_0x377e30[_0x4d5023(0x24a)]=_0x569f4c['Fzcvv'],PerformanceTester[_0x4d5023(0x232)](PerformanceHookEvents[_0x4d5023(0x285)],![],_0x3fb04e,_0x377e30);}const _0x3a8704={};_0x3a8704[_0x4d5023(0x24a)]=_0x569f4c['Fzcvv'],PerformanceTester[_0x4d5023(0x232)](PerformanceHookEvents[_0x4d5023(0x285)],!![],null,_0x3a8704);}),CodeceptJS['event'][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1e6)][_0x4fe287(0x26c)],async(_0x480c1f,_0x5389cc)=>{const _0x2625ee=_0x4fe287;try{PerformanceTester['start'](PerformanceHookEvents[_0x2625ee(0x285)]);const _0x32f63a=_0x569f4c[_0x2625ee(0x1c2)](shouldScanTestForAccessibility,_0x480c1f[_0x2625ee(0x1f0)](),!![]);if(_0x569f4c[_0x2625ee(0x2b3)](isAccessibilityAutomationSession)&&global[_0x2625ee(0x2b0)]&&_0x32f63a){const _0xdc3a91={};_0xdc3a91[_0x2625ee(0x26e)]=_0x480c1f[_0x2625ee(0x217)],_0xdc3a91['thBuildUuid']=process[_0x2625ee(0x1c7)][testHubConstants[_0x2625ee(0x2b6)][_0x2625ee(0x28d)]],_0xdc3a91['thJwtToken']=process[_0x2625ee(0x1c7)][testHubConstants[_0x2625ee(0x2b6)][_0x2625ee(0x26a)]];const _0x4ece85=_0xdc3a91;logger[_0x2625ee(0x202)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2625ee(0x230)](_0x4ece85)),CodeceptRecorder['add'](async()=>{const _0x52ed96=_0x2625ee,_0x1de807={};_0x1de807['command']=_0x569f4c[_0x52ed96(0x21c)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x25ecf6=_0x52ed96;await AccessibilityHelper[_0x25ecf6(0x21b)](_0x205807,scripts[_0x25ecf6(0x2a1)]);},_0x1de807)(),await PerformanceTester[_0x52ed96(0x235)](PerformanceA11yEvents[_0x52ed96(0x290)],async()=>{const _0x238635=_0x52ed96;await AccessibilityHelper['browserStackExecuteDriver'](_0x205807,scripts[_0x238635(0x1d3)],_0x4ece85);})();}),logger[_0x2625ee(0x236)](_0x569f4c[_0x2625ee(0x1fc)]);}const _0x3a0872={};_0x3a0872[_0x2625ee(0x24a)]=_0x569f4c[_0x2625ee(0x1c4)],PerformanceTester[_0x2625ee(0x232)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3a0872);}catch(_0x57215e){PerformanceTester[_0x2625ee(0x268)](_0x57215e);const _0x5243ba={};_0x5243ba['hookType']=_0x569f4c['xCEsG'],PerformanceTester[_0x2625ee(0x232)](PerformanceHookEvents[_0x2625ee(0x285)],![],_0x57215e,_0x5243ba);}}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)]['step'][_0x4fe287(0x201)],_0x3b93cf=>{const _0x5b1d98=_0x4fe287;PerformanceTester[_0x5b1d98(0x28e)](PerformanceHookEvents[_0x5b1d98(0x285)]);try{process[_0x5b1d98(0x1b9)](_0x5b1d98(0x1bd)+process[_0x5b1d98(0x1e8)],{'timestamp':new Date()['toISOString'](),'level':_0x569f4c[_0x5b1d98(0x1f4)],'message':_0x3b93cf,'kind':_0x569f4c[_0x5b1d98(0x1ba)],'http_response':{}});}catch(_0x1367a3){PerformanceTester[_0x5b1d98(0x268)](_0x1367a3);const _0x26a45e={};_0x26a45e['hookType']=_0x569f4c[_0x5b1d98(0x2b2)],PerformanceTester['end'](PerformanceHookEvents[_0x5b1d98(0x285)],![],_0x1367a3,_0x26a45e);}const _0x1280d5={};_0x1280d5[_0x5b1d98(0x24a)]=_0x569f4c['uMMsU'],PerformanceTester['end'](PerformanceHookEvents[_0x5b1d98(0x285)],!![],null,_0x1280d5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x1d5)][_0x4fe287(0x24c)],_0x5b4cfd=>{const _0x517981=_0x4fe287,_0x3daf7b={};_0x3daf7b[_0x517981(0x24a)]=_0x569f4c[_0x517981(0x205)],PerformanceTester[_0x517981(0x235)](PerformanceHookEvents[_0x517981(0x285)],()=>{const _0x448316=_0x517981;_0x966f08[_0x448316(0x245)](_0x5b4cfd);},_0x3daf7b)();}),CodeceptJS[_0x4fe287(0x220)][_0x4fe287(0x258)]['on'](CodeceptJS[_0x4fe287(0x220)]['bddStep']['after'],_0x1c9262=>{const _0x16b4b1=_0x4fe287,_0x16b8d0={};_0x16b8d0[_0x16b4b1(0x24a)]=_0x569f4c[_0x16b4b1(0x293)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x16b4b1(0x285)],()=>{const _0x215315=_0x16b4b1;_0x966f08[_0x215315(0x23b)](_0x1c9262);},_0x16b8d0)();});};
|
|
1
|
+
const a1_0x5f0dfe=a1_0x3cd8;(function(_0x223ae3,_0x3d19db){const _0x27df32=a1_0x3cd8,_0x2d21f2=_0x223ae3();while(!![]){try{const _0x238073=-parseInt(_0x27df32(0x229))/0x1+-parseInt(_0x27df32(0x25b))/0x2*(parseInt(_0x27df32(0x2b0))/0x3)+-parseInt(_0x27df32(0x221))/0x4+parseInt(_0x27df32(0x1db))/0x5*(-parseInt(_0x27df32(0x21c))/0x6)+-parseInt(_0x27df32(0x203))/0x7*(parseInt(_0x27df32(0x1e4))/0x8)+-parseInt(_0x27df32(0x264))/0x9+parseInt(_0x27df32(0x217))/0xa;if(_0x238073===_0x3d19db)break;else _0x2d21f2['push'](_0x2d21f2['shift']());}catch(_0x59e075){_0x2d21f2['push'](_0x2d21f2['shift']());}}}(a1_0x550f,0xc4568));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5f0dfe(0x25e)),logger=require(a1_0x5f0dfe(0x224))[a1_0x5f0dfe(0x253)],testOpsHelper=require(a1_0x5f0dfe(0x23b)),requestSpy=require(a1_0x5f0dfe(0x29a)),PlaywrightSessionDetails=require(a1_0x5f0dfe(0x26f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5f0dfe(0x237)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x5f0dfe(0x233)),AccessibilityHelper=require(a1_0x5f0dfe(0x2ae)),scripts=require(a1_0x5f0dfe(0x1c5)),PerformanceTester=require(a1_0x5f0dfe(0x209)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5f0dfe(0x1ef)),testHubConstants=require(a1_0x5f0dfe(0x297)),globals=require(a1_0x5f0dfe(0x1d8)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x5f0dfe(0x27b)),CodeceptUtils=requireModule(a1_0x5f0dfe(0x1c3),a1_0x5f0dfe(0x27b)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule(a1_0x5f0dfe(0x280),a1_0x5f0dfe(0x27b)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x5f0dfe(0x27b)),playwrightMarkSessionStatus=(_0x2dff95,_0x36f77c,_0x52c9c0)=>{const _0x2057bc=a1_0x5f0dfe,_0x567894={'mLEfN':'setSessionStatus','LFTyk':function(_0x416fff,_0x15ee12){return _0x416fff(_0x15ee12);}},_0x246dbf={};_0x246dbf[_0x2057bc(0x289)]=_0x36f77c;const _0x417bc5={};_0x417bc5[_0x2057bc(0x260)]=_0x567894['mLEfN'],_0x417bc5[_0x2057bc(0x2b2)]=_0x246dbf;const _0x2da8fa=_0x417bc5;return!_0x567894[_0x2057bc(0x277)](isUndefined,_0x52c9c0)&&(_0x2da8fa[_0x2057bc(0x2b2)][_0x2057bc(0x239)]=JSON['stringify'](_0x52c9c0)),_0x2dff95[_0x2057bc(0x206)](()=>{},_0x2057bc(0x1f3)+JSON[_0x2057bc(0x2b5)](_0x2da8fa));},o11ySync=PerformanceTester[a1_0x5f0dfe(0x212)](PerformanceO11yEvents[a1_0x5f0dfe(0x232)],async _0x40bb6c=>{const _0x6a1ab6=a1_0x5f0dfe,_0xf75111={};_0xf75111[_0x6a1ab6(0x223)]=function(_0x2273c9,_0x5a2743){return _0x2273c9===_0x5a2743;},_0xf75111['AEGOy']=_0x6a1ab6(0x23e);const _0x3caf25=_0xf75111;_0x3caf25[_0x6a1ab6(0x223)](_0x40bb6c[_0x6a1ab6(0x23d)][_0x6a1ab6(0x1fb)],_0x3caf25['AEGOy'])?await _0x40bb6c[_0x6a1ab6(0x206)](_0x46c51d=>{},testOpsHelper['getSyncScript']()):await _0x40bb6c[_0x6a1ab6(0x206)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x106976,_0x5216e3)=>{const _0x2672e1=a1_0x5f0dfe,_0x2d3bd1={};_0x2d3bd1[_0x2672e1(0x1ca)]='setSessionName',_0x2d3bd1[_0x2672e1(0x219)]=function(_0xad7f38,_0x31a53f){return _0xad7f38===_0x31a53f;},_0x2d3bd1['sBePB']=_0x2672e1(0x23e);const _0x25e868=_0x2d3bd1,_0x1a0ff0={};_0x1a0ff0[_0x2672e1(0x1fb)]=_0x5216e3;const _0x5b7adf={};_0x5b7adf[_0x2672e1(0x260)]=_0x25e868[_0x2672e1(0x1ca)],_0x5b7adf[_0x2672e1(0x2b2)]=_0x1a0ff0;const _0x282a16=_0x5b7adf;_0x25e868[_0x2672e1(0x219)](_0x106976[_0x2672e1(0x23d)]['name'],_0x25e868[_0x2672e1(0x1e5)])?await _0x106976[_0x2672e1(0x206)](()=>{},_0x2672e1(0x1f3)+JSON['stringify'](_0x282a16)):await _0x106976[_0x2672e1(0x206)](_0x2672e1(0x1f3)+JSON['stringify'](_0x282a16));}),patchSaveScreenshot=_0x2bc87d=>{const _0x428064=a1_0x5f0dfe,_0x8adfda={'fpPVJ':_0x428064(0x220),'pCWMh':'TEST_SCREENSHOT','hRTxq':function(_0x127fa4){return _0x127fa4();},'ZwhiM':function(_0x48c6bc,_0x28c5a7){return _0x48c6bc(_0x28c5a7);},'DPlva':_0x428064(0x1ee)};_0x8adfda['ZwhiM'](isTrue,process['env'][_0x428064(0x2a8)])&&!_0x2bc87d[_0x428064(0x26c)]&&(_0x2bc87d[_0x428064(0x26c)]=!![],_0x2bc87d[_0x428064(0x28f)]=_0x2bc87d['saveScreenshot'],_0x2bc87d[_0x428064(0x22a)]=(_0x2b2945,_0xd6b189=![])=>{return new Promise(function(_0x13c040,_0x1cc75b){const _0x2d2a46=a1_0x3cd8,_0x25535f={'riIeU':_0x8adfda[_0x2d2a46(0x245)],'CVPjx':_0x8adfda[_0x2d2a46(0x1e3)],'pJChK':function(_0x4fc9fd){const _0x498f1f=_0x2d2a46;return _0x8adfda[_0x498f1f(0x24a)](_0x4fc9fd);},'YRIVR':function(_0xbf225b,_0x2d85ab){const _0x52c125=_0x2d2a46;return _0x8adfda[_0x52c125(0x29d)](_0xbf225b,_0x2d85ab);},'ANsqa':_0x8adfda[_0x2d2a46(0x26b)]};_0x2bc87d[_0x2d2a46(0x28f)](_0x2b2945,_0xd6b189)[_0x2d2a46(0x1ce)](()=>{const _0x1c6103=_0x2d2a46,_0x41177b=CodeceptUtils['screenshotOutputFolder'](_0x2b2945);if(_0x41177b){const _0x55c714=fs['readFileSync'](_0x41177b);process[_0x1c6103(0x256)]('bs:addLog:'+process[_0x1c6103(0x276)],{'timestamp':new Date()[_0x1c6103(0x257)](),'message':_0x55c714[_0x1c6103(0x249)](_0x25535f[_0x1c6103(0x226)]),'kind':_0x25535f[_0x1c6103(0x1e0)]}),_0x25535f[_0x1c6103(0x21e)](_0x13c040);}_0x25535f['YRIVR'](_0x1cc75b,new Error(_0x25535f[_0x1c6103(0x1d2)]));})[_0x2d2a46(0x2a6)](()=>null);});});},patchWebDriverBefore=_0x224401=>{const _0x9c69dd=a1_0x5f0dfe,_0x54c67f={'FdkTI':function(_0x303876){return _0x303876();},'DWoXL':function(_0x3c60fb,_0x58d477){return _0x3c60fb(_0x58d477);},'YbCUY':function(_0x4b159a,_0x24735c){return _0x4b159a===_0x24735c;},'BGhET':_0x9c69dd(0x271),'qaEfX':'string','wMQQe':function(_0x24b877,_0xf23af){return _0x24b877===_0xf23af;},'HoUnT':_0x9c69dd(0x227),'svAOT':function(_0x515d65,_0x22eede){return _0x515d65(_0x22eede);}},_0x35f42b=async function(_0x4fad46,_0x134054){const _0xa4881a=_0x9c69dd;_0x54c67f['FdkTI'](isAccessibilityAutomationSession)&&!global[_0xa4881a(0x1cf)]&&global[_0xa4881a(0x211)]&&scripts['shouldWrapCommand'](_0x4fad46[_0xa4881a(0x1fb)])&&_0x54c67f[_0xa4881a(0x29e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xa4881a(0x1cf)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xa4881a(0x215)],async()=>{const _0x4b7d6c=_0xa4881a;logger[_0x4b7d6c(0x207)](_0x4b7d6c(0x2b3)+_0x4fad46[_0x4b7d6c(0x1dc)]+'\x20'+_0x4fad46[_0x4b7d6c(0x1fb)]),await AccessibilityHelper[_0x4b7d6c(0x21d)](_0x224401,scripts[_0x4b7d6c(0x1ff)]);},{'command':_0x4fad46['name']})());global[_0xa4881a(0x1cf)]=![];const _0x316a45=JSON['parse'](process[_0xa4881a(0x1ea)][_0xa4881a(0x1cc)]||'{}');if(_0x54c67f[_0xa4881a(0x1da)](_0x316a45?.['testFramework']?.[_0xa4881a(0x1fb)],_0x54c67f['BGhET'])&&_0x54c67f[_0xa4881a(0x1da)](typeof _0x316a45?.[_0xa4881a(0x288)]?.[_0xa4881a(0x28a)],_0x54c67f[_0xa4881a(0x263)])&&_0x316a45?.[_0xa4881a(0x288)]?.[_0xa4881a(0x28a)]['startsWith']('7'))return _0x134054[_0xa4881a(0x1f8)](null,Array[_0xa4881a(0x2a2)]['slice']['call'](arguments,0x2));return _0x134054[_0xa4881a(0x1f8)](this,Array[_0xa4881a(0x2a2)][_0xa4881a(0x259)][_0xa4881a(0x2a1)](arguments,0x2));},_0x1fb8c6=CodeceptWebDriver[_0x9c69dd(0x2a2)][_0x9c69dd(0x21b)];CodeceptWebDriver[_0x9c69dd(0x2a2)][_0x9c69dd(0x21b)]=async function(){const _0x445ed4=_0x9c69dd;try{await _0x1fb8c6[_0x445ed4(0x1f8)](this,arguments);}catch(_0x30fc2c){logger['debug'](_0x445ed4(0x2a4)+util[_0x445ed4(0x296)](_0x30fc2c));}scripts[_0x445ed4(0x1c0)][_0x445ed4(0x22c)](_0x3c683f=>_0x3c683f[_0x445ed4(0x1fb)]&&_0x3c683f[_0x445ed4(0x1dc)])[_0x445ed4(0x240)](_0x3742f3=>{const _0x8abd8b=_0x445ed4;this[_0x8abd8b(0x2a9)][_0x8abd8b(0x274)](_0x3742f3[_0x8abd8b(0x1fb)],_0x35f42b[_0x8abd8b(0x287)](this,_0x3742f3),_0x54c67f[_0x8abd8b(0x24c)](_0x3742f3['class'],_0x54c67f['HoUnT']));}),_0x54c67f[_0x445ed4(0x234)](processWebDriverConfig,_0x224401);};};function parseJwt(_0x1d0225){const _0x36a1d9=a1_0x5f0dfe,_0x34766e={};_0x34766e['GmZKA']=_0x36a1d9(0x220);const _0x2731a1=_0x34766e;if(!_0x1d0225)return null;return JSON['parse'](Buffer[_0x36a1d9(0x255)](_0x1d0225[_0x36a1d9(0x236)]('.')[0x1],_0x2731a1[_0x36a1d9(0x1e6)])['toString']());}const patchPlaywrightBefore=()=>{const _0x5a94e6=a1_0x5f0dfe,_0x84a862={'Oeujd':function(_0x216c60){return _0x216c60();},'PmShj':_0x5a94e6(0x28e),'GRDtk':_0x5a94e6(0x218),'iBjFI':function(_0x34249c,_0x1eead3){return _0x34249c(_0x1eead3);},'kvIpK':function(_0x3466a4,_0x23b1ba){return _0x3466a4+_0x23b1ba;},'AVqSK':_0x5a94e6(0x292),'mVnyt':function(_0x412424){return _0x412424();},'xjJyJ':function(_0x2e56fb){return _0x2e56fb();},'rHLmr':function(_0xa1d534){return _0xa1d534();}};PlaywrightSessionDetails[_0x5a94e6(0x2b7)]();const _0x240503=CodeceptPlaywright[_0x5a94e6(0x2a2)][_0x5a94e6(0x21b)];CodeceptPlaywright[_0x5a94e6(0x2a2)][_0x5a94e6(0x21b)]=async function(){const _0x5ff037=_0x5a94e6,_0x3582a6={'ALUBQ':function(_0x1a0ec2){return _0x84a862['Oeujd'](_0x1a0ec2);},'tfTvQ':_0x84a862[_0x5ff037(0x210)],'LHTHa':_0x84a862[_0x5ff037(0x1eb)],'MRcgd':function(_0xb6a5b9){const _0x44bca5=_0x5ff037;return _0x84a862[_0x44bca5(0x22b)](_0xb6a5b9);},'knkFN':function(_0x40cda3,_0x50b3d6){const _0x282663=_0x5ff037;return _0x84a862[_0x282663(0x201)](_0x40cda3,_0x50b3d6);},'fzEzU':function(_0x2e42e7,_0x56fb96){const _0xe49589=_0x5ff037;return _0x84a862[_0xe49589(0x22e)](_0x2e42e7,_0x56fb96);},'uQhwV':_0x84a862[_0x5ff037(0x2b4)]};this[_0x5ff037(0x242)]=await this[_0x5ff037(0x2a9)][_0x5ff037(0x1d3)]()[0x0];const _0x37a9aa=async()=>{const _0x144cba=_0x5ff037,_0x1ca4b6=this[_0x144cba(0x286)]&&this['config'][_0x144cba(0x1fc)]&&this['config'][_0x144cba(0x1fc)][_0x144cba(0x247)]&&Array[_0x144cba(0x23f)](this['config'][_0x144cba(0x1fc)][_0x144cba(0x247)])&&this[_0x144cba(0x286)][_0x144cba(0x1fc)][_0x144cba(0x247)]['includes'](_0x3582a6[_0x144cba(0x20a)]);if(_0x3582a6['MRcgd'](isAccessibilityAutomationSession)&&!_0x1ca4b6)try{const _0xd86351=_0x3582a6[_0x144cba(0x261)](parseJwt,process[_0x144cba(0x1ea)][_0x144cba(0x2aa)]);if(_0xd86351&&_0xd86351[_0x144cba(0x266)]&&_0xd86351[_0x144cba(0x266)]['domForge']){const _0x1622e9=this[_0x144cba(0x242)][_0x144cba(0x21a)][_0x144cba(0x287)](this[_0x144cba(0x242)]);this[_0x144cba(0x242)]['pages']=async function(){const _0x186962=_0x144cba,_0x420b74=await _0x3582a6[_0x186962(0x2b6)](_0x1622e9),_0x367e6e=[];for(const _0x525679 of _0x420b74){try{const _0x5668db=await _0x525679['url']();!_0x5668db[_0x186962(0x24e)](_0x3582a6['tfTvQ'])&&_0x367e6e['push'](_0x525679);}catch(_0xba27d3){_0x367e6e[_0x186962(0x254)](_0x525679);}}return _0x367e6e;};}if(!_0x3582a6['MRcgd'](isBrowserstackInfra)){const _0x598c09=await this[_0x144cba(0x1e7)][_0x144cba(0x1d5)]();if(_0x598c09['startsWith'](_0x3582a6[_0x144cba(0x1cd)])){const _0x21a520=await this[_0x144cba(0x242)]['pages']();this[_0x144cba(0x24b)](_0x21a520[0x0]);}}}catch(_0x254963){logger[_0x144cba(0x207)](_0x144cba(0x295)+_0x254963[_0x144cba(0x27c)]+(_0x254963[_0x144cba(0x1d4)]?_0x3582a6[_0x144cba(0x270)](_0x3582a6[_0x144cba(0x26e)],_0x254963[_0x144cba(0x1d4)]):''));}};_0x84a862['Oeujd'](isBrowserstackInfra)&&await _0x84a862[_0x5ff037(0x22d)](_0x37a9aa),await _0x240503[_0x5ff037(0x1f8)](this,arguments),!_0x84a862[_0x5ff037(0x2b1)](isBrowserstackInfra)&&await _0x84a862['rHLmr'](_0x37a9aa);};},getCodeceptDriver=()=>{const _0x554779=a1_0x5f0dfe,_0x47ba66={};_0x47ba66[_0x554779(0x1bd)]=_0x554779(0x1f1),_0x47ba66['GeasO']=_0x554779(0x23e),_0x47ba66[_0x554779(0x27e)]='Puppeteer',_0x47ba66['EVPPj']=_0x554779(0x2a5);const _0x4ec399=_0x47ba66,_0x2eb3f5=[_0x4ec399[_0x554779(0x1bd)],_0x4ec399[_0x554779(0x1fe)],_0x4ec399[_0x554779(0x27e)],_0x4ec399['EVPPj']],_0x4f25b8=_0x2eb3f5[_0x554779(0x1e2)](_0xfd0206=>!!CodeceptJS[_0x554779(0x1c4)][_0x554779(0x291)](_0xfd0206));if(!_0x4f25b8)return null;return CodeceptJS['container'][_0x554779(0x291)](_0x4f25b8);};function a1_0x3cd8(_0x204094,_0x388620){const _0x550fde=a1_0x550f();return a1_0x3cd8=function(_0x3cd862,_0x2017fb){_0x3cd862=_0x3cd862-0x1bd;let _0x50ca61=_0x550fde[_0x3cd862];return _0x50ca61;},a1_0x3cd8(_0x204094,_0x388620);}function a1_0x550f(){const _0x43f8b8=['measureWrapper','aCWoW','BROWSERSTACK_TESTHUB_JWT','PERFORM_SCAN','VIQbF','51547080Srpunh','--auto-open-devtools-for-tabs','mKmgW','pages','_before','811914muDbgX','browserStackExecuteDriver','pJChK','SDK_HOOK','base64','1238328NdCBbD','dispatcher','VHIst','../../helpers/logger','bddStep-after','riIeU','Element','title','36709YoEQGA','saveScreenshot','Oeujd','filter','mVnyt','kvIpK','SESSION_STATUS','SDK_POST_INITIALIZE','stopMonitoring','SYNC','../../helpers/accessibility-automation/helper','svAOT','QHqGR','split','./o11yHelper','pXvUX','reason','startMonitoring','../../helpers/test-observability/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','constructor','Playwright','isArray','forEach','comment','browserContext','mWBwI','XoiwL','fpPVJ','fireEvent','args','test-after','toString','hRTxq','_setPage','wMQQe','SDK_PRE_INITIALIZE','startsWith','enabled','captureError','GET_RESULTS_SUMMARY','SAVE_RESULTS','winstonLogger','push','from','emit','toISOString','thJwtToken','slice','afterTest','174WEGGUK','yRCuo','captureEvent','../../helpers/helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','action','knkFN','add','qaEfX','12743532jjDsEy','DDaCw','a11y_core_config','TEST_RUN_SKIPPED','SDK_POST_TEST','currentTest','end','DPlva','patchSaveScreenshot','step-comment','uQhwV','../../bin/playwright/sessionDetails','fzEzU','webdriverio','saveTestResults','__workerDetails','overwriteCommand','vbpth','pid','LFTyk','restore','skipped','getAccessibilityResultsSummary','codeceptjs','message','ywuCc','nmFJN','thBuildUuid','codeceptjs/lib/recorder.js','rmPDZ','addRequestSpy','setGlobal','getAccessibilityResults','osHJQ','config','bind','testFramework','status','version','HOOK_RUN_FINISHED','NBrdx','browserstackTestName','devtools://','initSaveScreenshot','passed','helpers','\x0aStack:\x20','EKYKg','command','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','format','../../helpers/testhub/constants.js','__skipSessionStatus','hookType','../../helpers/request-spy','thTestRunUuid','Suite','ZwhiM','DWoXL','TEST_RUN_FINISHED','getResultsSummary','call','prototype','ENV_VAR','Failed\x20to\x20execute\x20_before:\x20','TestCafe','catch','bs:addLog:','BS_TESTOPS_ALLOW_SCREENSHOTS','browser','BS_A11Y_JWT','test-started','bddStepStart','event','../../bin/playwright/accessibility-helper','skipSessionStatus','44931RsNDHy','xjJyJ','arguments','Performing\x20scan\x20for\x20','AVqSK','stringify','ALUBQ','patch','rXBHj','sWalm','qNboY','commandsToWrap','Hllqh','step','codeceptjs/lib/utils.js','container','../../helpers/accessibility-automation/scripts','ctx','test-before','warn','NYAXu','jIYwF','hook','FRAMEWORK_DETAILS','tfTvQ','then','bstackAllyScanning','lYYMb','NBXGc','ANsqa','contexts','stack','url','bddStep','bddStep-before','../../helpers/globals.js','test','YbCUY','35nAsHvI','class','QSeqA','getResults','SDK_TEST','CVPjx','TEST_RUN_STARTED','find','pCWMh','56DAGiSz','sBePB','GmZKA','page','GET_RESULTS','before','env','GRDtk','swCgw','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','Screenshot\x20path\x20not\x20found','./helper.js','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','WebDriver','HOOK_RUN_STARTED','browserstack_executor:\x20','lFbEd','all','after','stop','apply','SDK_PRE_TEST','hook-passed','name','chromium','start','GeasO','performScan','fciYl','iBjFI','failed','338037finrEy','mBHFm','titlePath','executeScript','debug','hook-failed','../../helpers/performance/performance-tester','LHTHa','zsyRm','__driver','rOtAf','skipSessionName','MwhlX','PmShj','accessibilityPlatform'];a1_0x550f=function(){return _0x43f8b8;};return a1_0x550f();}module['exports']=function(_0x371543){const _0xc9691=a1_0x5f0dfe,_0x1b631c={'mWBwI':function(_0x308bd5){return _0x308bd5();},'pXvUX':function(_0x27624e,_0x2b511c){return _0x27624e(_0x2b511c);},'QHqGR':'getAccessibilityResultsSummary','VuTWo':_0xc9691(0x1ed),'VIQbF':'getAccessibilityResults','mXUeP':_0xc9691(0x25f),'wAROh':function(_0x22012b,_0x3d1eb0){return _0x22012b(_0x3d1eb0);},'EKYKg':'hook-started','NBXGc':_0xc9691(0x1fa),'NBrdx':_0xc9691(0x208),'rmPDZ':_0xc9691(0x28d),'sWalm':_0xc9691(0x1c7),'vbpth':function(_0x5e6a6e,_0xd3725a){return _0x5e6a6e(_0xd3725a);},'XoiwL':function(_0xc75740,_0x1a4814,_0x5a69b7){return _0xc75740(_0x1a4814,_0x5a69b7);},'Hllqh':function(_0x396da2,_0x4cbb56){return _0x396da2(_0x4cbb56);},'aCWoW':_0xc9691(0x2ab),'lxLMi':function(_0x320815,_0x2dc0fa,_0xb99da7){return _0x320815(_0x2dc0fa,_0xb99da7);},'lFbEd':'test-passed','qNboY':function(_0xd5236b){return _0xd5236b();},'lYYMb':function(_0x3cf81f,_0x20d218,_0xbb670,_0x17565f){return _0x3cf81f(_0x20d218,_0xbb670,_0x17565f);},'yRCuo':function(_0x4a49d8,_0x16ac01){return _0x4a49d8===_0x16ac01;},'ywuCc':_0xc9691(0x29c),'ZlqAb':'test-failed','DDaCw':'test-skipped','cMQhP':_0xc9691(0x25a),'QSeqA':function(_0x13dcc6,_0x304918,_0x214af2){return _0x13dcc6(_0x304918,_0x214af2);},'osHJQ':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','cZolI':_0xc9691(0x248),'NYAXu':'INFO','zsyRm':'TEST_LOG','fciYl':_0xc9691(0x26d),'MwhlX':_0xc9691(0x1d7),'rOtAf':_0xc9691(0x225),'mBHFm':_0xc9691(0x23e)};_0x371543[_0xc9691(0x2af)]&&(global[_0xc9691(0x298)]=_0x371543[_0xc9691(0x2af)]);PerformanceTester[_0xc9691(0x23a)]();const _0xffdb99=_0x1b631c[_0xc9691(0x243)](getCodeceptDriver),_0x46e6a8=new O11yHelper(_0xffdb99,_0x371543),_0x39a89b=!!CodeceptJS[_0xc9691(0x1c4)][_0xc9691(0x291)](_0x1b631c[_0xc9691(0x204)]);global[_0xc9691(0x20c)]=_0xffdb99,_0xffdb99&&(PerformanceTester[_0xc9691(0x212)](PerformanceEvents[_0xc9691(0x24d)],()=>{const _0x363e54=_0xc9691;_0x39a89b?_0x1b631c[_0x363e54(0x243)](patchPlaywrightBefore):_0x1b631c[_0x363e54(0x238)](patchWebDriverBefore,_0xffdb99);})(),PerformanceTester[_0xc9691(0x212)](PerformanceEvents[_0xc9691(0x230)],()=>{const _0x50dd24=_0xc9691;_0xffdb99[_0x50dd24(0x27a)]=async()=>{const _0x511961=_0x50dd24;if(global['accessibilityPlatform']){const _0x2a7c27={};return _0x2a7c27[_0x511961(0x294)]=_0x1b631c[_0x511961(0x235)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x511961(0x215)],async()=>{const _0x43d13c=_0x511961;return await AccessibilityHelper[_0x43d13c(0x21d)](_0xffdb99,scripts[_0x43d13c(0x1ff)]);},_0x2a7c27)(),await PerformanceTester[_0x511961(0x212)](PerformanceA11yEvents[_0x511961(0x251)],async()=>{const _0x4dd638=_0x511961;return await AccessibilityHelper[_0x4dd638(0x21d)](_0xffdb99,scripts[_0x4dd638(0x2a0)]);})();}return logger[_0x511961(0x1c8)](_0x1b631c['VuTWo']),{};},_0xffdb99[_0x50dd24(0x284)]=async()=>{const _0x7f88fa=_0x50dd24;if(global[_0x7f88fa(0x211)]){const _0x1bb159={};return _0x1bb159[_0x7f88fa(0x294)]=_0x1b631c[_0x7f88fa(0x216)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x7f88fa(0x215)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0xffdb99,scripts['performScan']);},_0x1bb159)(),await PerformanceTester[_0x7f88fa(0x212)](PerformanceA11yEvents[_0x7f88fa(0x1e8)],async()=>{const _0xfc1618=_0x7f88fa;return await AccessibilityHelper['browserStackExecuteDriver'](_0xffdb99,scripts[_0xfc1618(0x1de)]);})();}return logger[_0x7f88fa(0x1c8)](_0x1b631c['mXUeP']),{};},_0x1b631c['wAROh'](patchSaveScreenshot,_0xffdb99);})()),CodeceptJS[_0xc9691(0x2ad)]['dispatcher']['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1f5)]['before'],()=>{const _0x462ee9=_0xc9691;PerformanceTester['start'](PerformanceEvents[_0x462ee9(0x1f9)]);try{_0x46e6a8[_0x462ee9(0x1fd)](),testOpsHelper[_0x462ee9(0x282)](),PerformanceTester[_0x462ee9(0x26a)](PerformanceEvents[_0x462ee9(0x1f9)]);}catch(_0x43550b){PerformanceTester[_0x462ee9(0x250)](_0x43550b),PerformanceTester[_0x462ee9(0x26a)](PerformanceEvents[_0x462ee9(0x1f9)],![],_0x43550b);}}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)]['all'][_0xc9691(0x1f6)],async()=>{const _0x3dffa2=_0xc9691;PerformanceTester[_0x3dffa2(0x1fd)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x3dffa2(0x278)](),await _0x46e6a8[_0x3dffa2(0x1f7)](),PerformanceTester[_0x3dffa2(0x26a)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x7f0ea3){PerformanceTester[_0x3dffa2(0x250)](_0x7f0ea3),PerformanceTester[_0x3dffa2(0x26a)](PerformanceEvents[_0x3dffa2(0x268)],![],_0x7f0ea3);}finally{PerformanceTester[_0x3dffa2(0x231)]();}}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)]['hook']['started'],_0x1b0828=>{const _0x46a7f6=_0xc9691;PerformanceTester['start'](PerformanceEvents[_0x46a7f6(0x21f)]);try{const _0x2d1615=_0x1b0828[_0x46a7f6(0x1c6)][_0x46a7f6(0x1d9)],_0x24942c=_0x46e6a8[_0x46a7f6(0x25d)](TEST_EVENTS[_0x46a7f6(0x1f2)],_0x2d1615);CodeceptRecorder[_0x46a7f6(0x262)](()=>_0x46e6a8[_0x46a7f6(0x246)](TEST_EVENTS[_0x46a7f6(0x1f2)],_0x24942c));const _0x40c307={};_0x40c307[_0x46a7f6(0x299)]=_0x1b631c[_0x46a7f6(0x293)],PerformanceTester[_0x46a7f6(0x26a)](PerformanceEvents[_0x46a7f6(0x21f)],!![],null,_0x40c307);}catch(_0xa29c1c){const _0x445154={};_0x445154[_0x46a7f6(0x299)]=_0x1b631c[_0x46a7f6(0x293)],PerformanceTester[_0x46a7f6(0x26a)](PerformanceEvents[_0x46a7f6(0x21f)],![],_0xa29c1c,_0x445154),PerformanceTester[_0x46a7f6(0x250)](_0xa29c1c);}}),CodeceptJS[_0xc9691(0x2ad)]['dispatcher']['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1cb)][_0xc9691(0x290)],_0xc7235b=>{const _0x504bf8=_0xc9691,_0x592f06={};_0x592f06[_0x504bf8(0x299)]=_0x1b631c[_0x504bf8(0x1d1)],PerformanceTester[_0x504bf8(0x1fd)](PerformanceHookEvents[_0x504bf8(0x21f)],!![],null,_0x592f06);try{const _0x279729=_0xc7235b['ctx'][_0x504bf8(0x1d9)],_0x3d70eb=_0x46e6a8['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x279729);CodeceptRecorder[_0x504bf8(0x262)](()=>_0x46e6a8[_0x504bf8(0x246)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3d70eb));const _0x11689e={};_0x11689e[_0x504bf8(0x299)]=_0x1b631c['NBXGc'],PerformanceTester['end'](PerformanceHookEvents[_0x504bf8(0x21f)],!![],null,_0x11689e);}catch(_0x31cfd9){PerformanceTester['captureError'](_0x31cfd9);const _0x3cd646={};_0x3cd646['hookType']=_0x1b631c[_0x504bf8(0x1d1)],PerformanceTester[_0x504bf8(0x26a)](PerformanceHookEvents['SDK_HOOK'],![],_0x31cfd9,_0x3cd646);}}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1cb)]['failed'],async(_0x4c0cfa,_0x2aa2c8)=>{const _0x1e09c4=_0xc9691;PerformanceTester[_0x1e09c4(0x1fd)](PerformanceHookEvents[_0x1e09c4(0x21f)]);try{const _0x490199=_0x4c0cfa[_0x1e09c4(0x1c6)][_0x1e09c4(0x1d9)],_0x29c7aa=_0x46e6a8[_0x1e09c4(0x25d)](TEST_EVENTS[_0x1e09c4(0x28b)],_0x490199,_0x2aa2c8);CodeceptRecorder[_0x1e09c4(0x262)](()=>_0x46e6a8[_0x1e09c4(0x246)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x29c7aa));const _0x1e3064={};_0x1e3064[_0x1e09c4(0x299)]=_0x1b631c['NBrdx'],PerformanceTester[_0x1e09c4(0x1fd)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1e3064);}catch(_0x16cd2b){PerformanceTester[_0x1e09c4(0x250)](_0x16cd2b);const _0x271038={};_0x271038[_0x1e09c4(0x299)]=_0x1b631c['NBrdx'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x16cd2b,_0x271038);}const _0x161c13={};_0x161c13[_0x1e09c4(0x299)]=_0x1b631c[_0x1e09c4(0x28c)],PerformanceTester[_0x1e09c4(0x26a)](PerformanceHookEvents[_0x1e09c4(0x21f)],!![],null,_0x161c13);}),CodeceptJS[_0xc9691(0x2ad)]['dispatcher']['on'](CodeceptJS['event'][_0xc9691(0x1d9)][_0xc9691(0x1e9)],_0x461783=>{const _0x2292a0=_0xc9691;PerformanceTester[_0x2292a0(0x1fd)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x1b631c[_0x2292a0(0x281)],_0x461783[_0x2292a0(0x228)]);_0x1b631c[_0x2292a0(0x243)](isBrowserstackInfra)&&(_0x39a89b&&(global[_0x2292a0(0x273)]={'currentTest':{'name':_0x461783[_0x2292a0(0x228)],'testInfo':{'titlePath':_0x461783[_0x2292a0(0x205)]()}}}));const _0x4a2729={};_0x4a2729[_0x2292a0(0x299)]=_0x1b631c[_0x2292a0(0x1be)],PerformanceTester['end'](PerformanceHookEvents[_0x2292a0(0x21f)],!![],null,_0x4a2729);}catch(_0x3a4e66){PerformanceTester[_0x2292a0(0x250)](_0x3a4e66);const _0x1adb66={};_0x1adb66[_0x2292a0(0x299)]=_0x1b631c[_0x2292a0(0x1be)],PerformanceTester[_0x2292a0(0x26a)](PerformanceHookEvents['SDK_HOOK'],![],_0x3a4e66,_0x1adb66);}}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1d9)]['started'],_0x27abce=>{const _0x3a2d7b=_0xc9691;PerformanceTester[_0x3a2d7b(0x1fd)](PerformanceHookEvents[_0x3a2d7b(0x21f)]);try{globals[_0x3a2d7b(0x283)](_0x1b631c['rmPDZ'],_0x27abce[_0x3a2d7b(0x228)]);const _0x1aa692=_0x46e6a8[_0x3a2d7b(0x25d)](TEST_EVENTS[_0x3a2d7b(0x1e1)],_0x27abce);CodeceptRecorder[_0x3a2d7b(0x262)](()=>_0x46e6a8[_0x3a2d7b(0x246)](TEST_EVENTS[_0x3a2d7b(0x1e1)],_0x1aa692)),CodeceptRecorder[_0x3a2d7b(0x262)](async()=>{const _0x3a1c3e=_0x3a2d7b;_0x1b631c[_0x3a1c3e(0x243)](isBrowserstackInfra)&&(!_0x1b631c[_0x3a1c3e(0x275)](isTrue,_0x371543[_0x3a1c3e(0x20e)])&&await _0x1b631c[_0x3a1c3e(0x244)](markSessionName,_0xffdb99,_0x27abce[_0x3a1c3e(0x228)]),_0x46e6a8[_0x3a1c3e(0x24f)]&&await _0x1b631c[_0x3a1c3e(0x1c1)](o11ySync,_0xffdb99));});}catch(_0x166a1c){const _0x2d2549={};_0x2d2549['hookType']=_0x1b631c[_0x3a2d7b(0x213)],PerformanceTester['end'](PerformanceHookEvents[_0x3a2d7b(0x21f)],![],_0x166a1c,_0x2d2549),PerformanceTester[_0x3a2d7b(0x250)](_0x166a1c);}const _0x1af8bf={};_0x1af8bf['hookType']=_0x1b631c[_0x3a2d7b(0x213)],PerformanceTester[_0x3a2d7b(0x26a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1af8bf);}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1d9)][_0xc9691(0x290)],_0x129503=>{const _0x5e630b=_0xc9691,_0x2a894e={'swCgw':function(_0x469aba,_0x1cebad,_0x43f4dd){const _0x41cf6c=a1_0x3cd8;return _0x1b631c[_0x41cf6c(0x244)](_0x469aba,_0x1cebad,_0x43f4dd);},'GcZyY':function(_0x8b2237,_0x38b28a,_0x3c205c){return _0x1b631c['lxLMi'](_0x8b2237,_0x38b28a,_0x3c205c);}};PerformanceTester[_0x5e630b(0x1fd)](PerformanceHookEvents[_0x5e630b(0x21f)]);try{const _0xae3720=_0x46e6a8['captureEvent'](TEST_EVENTS[_0x5e630b(0x29f)],_0x129503);CodeceptRecorder[_0x5e630b(0x262)](()=>_0x46e6a8[_0x5e630b(0x246)](TEST_EVENTS[_0x5e630b(0x29f)],_0xae3720)),CodeceptRecorder[_0x5e630b(0x262)](async()=>{const _0x50bc36=_0x5e630b;_0x1b631c['mWBwI'](isBrowserstackInfra)&&await PerformanceTester[_0x50bc36(0x212)](PerformanceAutEvents[_0x50bc36(0x22f)],async()=>{const _0x17ebbc=_0x50bc36;_0x39a89b?await _0x2a894e[_0x17ebbc(0x1ec)](playwrightMarkSessionStatus,_0xffdb99,STATE_PASSED):await _0x2a894e['GcZyY'](markSessionStatus,_0xffdb99,STATE_PASSED);})();}),PerformanceTester[_0x5e630b(0x26a)](PerformanceEvents[_0x5e630b(0x1df)]);}catch(_0x569426){PerformanceTester[_0x5e630b(0x250)](_0x569426);const _0x58c5b2={};_0x58c5b2[_0x5e630b(0x299)]=_0x1b631c[_0x5e630b(0x1f4)],PerformanceTester[_0x5e630b(0x26a)](PerformanceHookEvents[_0x5e630b(0x21f)],![],_0x569426,_0x58c5b2),PerformanceTester[_0x5e630b(0x26a)](PerformanceEvents[_0x5e630b(0x1df)],![],_0x569426);}const _0x119e4e={};_0x119e4e[_0x5e630b(0x299)]=_0x1b631c['lFbEd'],PerformanceTester[_0x5e630b(0x26a)](PerformanceHookEvents[_0x5e630b(0x21f)],!![],null,_0x119e4e);}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)]['test'][_0xc9691(0x202)],(_0x30bb1c,_0x2d300b)=>{const _0x148334=_0xc9691;PerformanceTester[_0x148334(0x1fd)](PerformanceHookEvents[_0x148334(0x21f)]);try{if(_0x1b631c[_0x148334(0x25c)](_0x30bb1c[_0x148334(0x23d)][_0x148334(0x1fb)],_0x1b631c[_0x148334(0x27d)])){const _0x37719a=_0x46e6a8[_0x148334(0x25d)](TEST_EVENTS[_0x148334(0x267)],_0x30bb1c[_0x148334(0x1c6)][_0x148334(0x269)]);CodeceptRecorder[_0x148334(0x262)](()=>_0x46e6a8['fireEvent'](TEST_EVENTS[_0x148334(0x267)],_0x37719a));}else{const _0x28e59b=_0x46e6a8[_0x148334(0x25d)](TEST_EVENTS[_0x148334(0x29f)],_0x30bb1c,_0x2d300b);CodeceptRecorder['add'](()=>{const _0x4a7976=_0x148334;try{_0x46e6a8[_0x4a7976(0x246)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x28e59b);}catch(_0x3a9704){logger[_0x4a7976(0x207)](_0x4a7976(0x1f0)+util[_0x4a7976(0x296)](_0x3a9704)),PerformanceTester[_0x4a7976(0x26a)](PerformanceEvents[_0x4a7976(0x1df)],![],_0x3a9704);}}),CodeceptRecorder['add'](async()=>{const _0x50c0ba=_0x148334;try{_0x1b631c[_0x50c0ba(0x1bf)](isBrowserstackInfra)&&(_0x39a89b?await _0x1b631c[_0x50c0ba(0x1d0)](playwrightMarkSessionStatus,_0xffdb99,STATE_FAILED,_0x2d300b):await _0x1b631c[_0x50c0ba(0x1d0)](markSessionStatus,_0xffdb99,STATE_FAILED,_0x2d300b));}catch(_0x3a18db){logger[_0x50c0ba(0x207)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x50c0ba(0x296)](_0x3a18db)),PerformanceTester[_0x50c0ba(0x26a)](PerformanceEvents[_0x50c0ba(0x1df)],![],_0x3a18db);}});}PerformanceTester[_0x148334(0x26a)](PerformanceEvents[_0x148334(0x1df)]);}catch(_0x2e597f){PerformanceTester[_0x148334(0x250)](_0x2e597f);const _0x53d6e2={};_0x53d6e2[_0x148334(0x299)]=_0x1b631c['ZlqAb'],PerformanceTester[_0x148334(0x26a)](PerformanceHookEvents[_0x148334(0x21f)],![],_0x2e597f,_0x53d6e2),PerformanceTester[_0x148334(0x26a)](PerformanceEvents['SDK_TEST'],![],_0x2e597f);}const _0x199d85={};_0x199d85[_0x148334(0x299)]=_0x1b631c['ZlqAb'],PerformanceTester[_0x148334(0x26a)](PerformanceHookEvents[_0x148334(0x21f)],!![],null,_0x199d85);}),CodeceptJS[_0xc9691(0x2ad)]['dispatcher']['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1d9)][_0xc9691(0x279)],_0x542782=>{const _0x521497=_0xc9691;PerformanceTester['start'](PerformanceHookEvents[_0x521497(0x21f)]);try{const _0x2efbbe=_0x46e6a8[_0x521497(0x25d)](TEST_EVENTS[_0x521497(0x267)],_0x542782);CodeceptRecorder[_0x521497(0x262)](()=>_0x46e6a8[_0x521497(0x246)](TEST_EVENTS[_0x521497(0x267)],_0x2efbbe)),PerformanceTester[_0x521497(0x26a)](PerformanceEvents[_0x521497(0x1df)]);}catch(_0x2b9a3c){PerformanceTester['captureError'](_0x2b9a3c),PerformanceTester[_0x521497(0x26a)](PerformanceEvents[_0x521497(0x1df)],![],_0x2b9a3c);const _0xcfa761={};_0xcfa761[_0x521497(0x299)]=_0x1b631c[_0x521497(0x265)],PerformanceTester[_0x521497(0x26a)](PerformanceHookEvents[_0x521497(0x21f)],![],_0x2b9a3c,_0xcfa761);}const _0xc2dab2={};_0xc2dab2[_0x521497(0x299)]=_0x1b631c[_0x521497(0x265)],PerformanceTester[_0x521497(0x26a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xc2dab2);}),CodeceptJS[_0xc9691(0x2ad)]['dispatcher']['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1d9)][_0xc9691(0x1f6)],async(_0x418cc5,_0x183632)=>{const _0x26d0a9=_0xc9691;try{PerformanceTester[_0x26d0a9(0x1fd)](PerformanceHookEvents[_0x26d0a9(0x21f)]);const _0x397929=_0x1b631c[_0x26d0a9(0x1dd)](shouldScanTestForAccessibility,_0x418cc5[_0x26d0a9(0x205)](),!![]);if(_0x1b631c[_0x26d0a9(0x243)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x397929){const _0x2c08e7={};_0x2c08e7[_0x26d0a9(0x29b)]=_0x418cc5['testAnalyticsId'],_0x2c08e7[_0x26d0a9(0x27f)]=process[_0x26d0a9(0x1ea)][testHubConstants[_0x26d0a9(0x2a3)]['BROWSERSTACK_TESTHUB_UUID']],_0x2c08e7[_0x26d0a9(0x258)]=process['env'][testHubConstants[_0x26d0a9(0x2a3)][_0x26d0a9(0x214)]];const _0x2e49c7=_0x2c08e7;logger[_0x26d0a9(0x207)](_0x26d0a9(0x23c)+JSON['stringify'](_0x2e49c7)),CodeceptRecorder[_0x26d0a9(0x262)](async()=>{const _0x42432f=_0x26d0a9,_0x1ea55d={};_0x1ea55d[_0x42432f(0x294)]=_0x1b631c['cMQhP'],await PerformanceTester[_0x42432f(0x212)](PerformanceA11yEvents[_0x42432f(0x215)],async()=>{const _0x133c17=_0x42432f;await AccessibilityHelper[_0x133c17(0x21d)](_0xffdb99,scripts[_0x133c17(0x1ff)]);},_0x1ea55d)(),await PerformanceTester[_0x42432f(0x212)](PerformanceA11yEvents[_0x42432f(0x252)],async()=>{const _0x5031a8=_0x42432f;await AccessibilityHelper[_0x5031a8(0x21d)](_0xffdb99,scripts[_0x5031a8(0x272)],_0x2e49c7);})();}),logger['info'](_0x1b631c[_0x26d0a9(0x285)]);}const _0x34baa7={};_0x34baa7['hookType']=_0x1b631c['cZolI'],PerformanceTester[_0x26d0a9(0x26a)](PerformanceHookEvents[_0x26d0a9(0x21f)],!![],null,_0x34baa7);}catch(_0x92703b){PerformanceTester[_0x26d0a9(0x250)](_0x92703b);const _0x45c0f5={};_0x45c0f5[_0x26d0a9(0x299)]=_0x1b631c['cZolI'],PerformanceTester[_0x26d0a9(0x26a)](PerformanceHookEvents[_0x26d0a9(0x21f)],![],_0x92703b,_0x45c0f5);}}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1c2)][_0xc9691(0x241)],_0x22e277=>{const _0x232bf6=_0xc9691;PerformanceTester[_0x232bf6(0x1fd)](PerformanceHookEvents[_0x232bf6(0x21f)]);try{process[_0x232bf6(0x256)](_0x232bf6(0x2a7)+process[_0x232bf6(0x276)],{'timestamp':new Date()[_0x232bf6(0x257)](),'level':_0x1b631c[_0x232bf6(0x1c9)],'message':_0x22e277,'kind':_0x1b631c[_0x232bf6(0x20b)],'http_response':{}});}catch(_0x137f07){PerformanceTester[_0x232bf6(0x250)](_0x137f07);const _0x7929f3={};_0x7929f3['hookType']=_0x1b631c['fciYl'],PerformanceTester[_0x232bf6(0x26a)](PerformanceHookEvents[_0x232bf6(0x21f)],![],_0x137f07,_0x7929f3);}const _0x438acf={};_0x438acf[_0x232bf6(0x299)]=_0x1b631c[_0x232bf6(0x200)],PerformanceTester[_0x232bf6(0x26a)](PerformanceHookEvents[_0x232bf6(0x21f)],!![],null,_0x438acf);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x1d6)][_0xc9691(0x1e9)],_0x179196=>{const _0x598739=_0xc9691,_0x423aa1={};_0x423aa1[_0x598739(0x299)]=_0x1b631c[_0x598739(0x20f)],PerformanceTester[_0x598739(0x212)](PerformanceHookEvents[_0x598739(0x21f)],()=>{const _0x24d4b7=_0x598739;_0x46e6a8[_0x24d4b7(0x2ac)](_0x179196);},_0x423aa1)();}),CodeceptJS[_0xc9691(0x2ad)][_0xc9691(0x222)]['on'](CodeceptJS[_0xc9691(0x2ad)]['bddStep']['after'],_0x2346b6=>{const _0x81af4c=_0xc9691,_0x2402ae={};_0x2402ae[_0x81af4c(0x299)]=_0x1b631c[_0x81af4c(0x20d)],PerformanceTester[_0x81af4c(0x212)](PerformanceHookEvents[_0x81af4c(0x21f)],()=>{_0x46e6a8['bddStepFinish'](_0x2346b6);},_0x2402ae)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x1e8f8b=a2_0x23d5;(function(_0x3361b0,_0x979273){const _0x11db28=a2_0x23d5,_0x50be50=_0x3361b0();while(!![]){try{const _0x5b4c12=-parseInt(_0x11db28(0x13f))/0x1*(-parseInt(_0x11db28(0x153))/0x2)+-parseInt(_0x11db28(0x16c))/0x3+-parseInt(_0x11db28(0x16b))/0x4*(-parseInt(_0x11db28(0x142))/0x5)+-parseInt(_0x11db28(0x11a))/0x6+parseInt(_0x11db28(0x118))/0x7+parseInt(_0x11db28(0x15b))/0x8*(parseInt(_0x11db28(0x18b))/0x9)+parseInt(_0x11db28(0x173))/0xa;if(_0x5b4c12===_0x979273)break;else _0x50be50['push'](_0x50be50['shift']());}catch(_0x25bd7e){_0x50be50['push'](_0x50be50['shift']());}}}(a2_0x5bcd,0x68744));function a2_0x5bcd(){const _0x12c38d=['assign','skipSessionName','addConfig','config','env','BrowserStackPlugin','LEZmu','LklZd','BGgkw','--config','isUndefined','RGfym','Passed\x20:\x20','../../helpers/test-observability/constants','codeceptjs/lib/index.js','require','../../helpers/test-observability/utils','browserWSEndpoint','slice','../utils/constants','MmONX','dAlFr','1|5|4|3|2|0','skipSessionStatus','forEach','84737DtSoMz','teardownAll','BROWSERSTACK_TEST_OBSERVABILITY_YML','865QpHhqv','push','replace','tQuvK','plugins','cAlsk','testContextOptions','../../helpers/logger','saCqO','printResults','ORAcf','isTestObservabilitySession','createGroupsOfSuites','FyLHR','mergeDeep','TirSd','playwright-firefox','14YGbpKq','UPSzY','desiredCapabilities','info','USER_CONFIG_DETAILS_PATH','AVHjc','validPlatformsPresent','cwd','8jwCoKX','Failed\x20:\x20','RSdvq','frameworkName','codecept.conf.js','spawn','exports','dirname','useW3C','dHvro','WebDriver','hubUrl','playwright-webkit','SDK_CLEANUP','platforms','profile','5332CBBNuw','2548962GwhfPk','finalExecution','path','../../helpers/performance/performance-tester','parallelsPerPlatform','getUserWorkerCount','../../helpers/accessibility-automation/helper','1400020upjcQX','playwright-chromium','BROWSERSTACK_RERUN','initialize','split','format','process','COIOI','before','UCYyj','Workers','FfHEi','SDK_SETUP','stack','key','CODECEPT','title','root','EVENTS','helpers','NAsLk','Playwright','toLowerCase','FRAMEWORKS','2978973TyEykn','findIndex','addTests','debug','getPlatformName','host','ETHaA','handleApp','setAdditionalCapabilities','browserName','QjrDU','stop','util','gherkin','BROWSERSTACK_RERUN_TESTS','leEgM','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromium','enabled','stringify','testObservability','accessibilityOptions','event','../../bin/playwright/accessibility-helper','isTrue','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','seBcQ','../../helpers/performance/constants','test','../../helpers/utilities','vUcgN','browser','../../helpers/BrowserStackSetup','existsSync','getPlaywrightUrl','isEmpty','map','result','../../helpers/helper','join','end','now','testConfig','prepareCapabilities','accessKey','errorMessage','752353eHasaA','launchBuild','748488BGenbt','validateRerunTestList','eJkQe','start','addOptions','../../helpers/testhub/testhubHandler','bootstrapAll','CBNTr','err','log','LnQBP','../utils/clientTroubleshootingService'];a2_0x5bcd=function(){return _0x12c38d;};return a2_0x5bcd();}const fs=require('fs'),path=require(a2_0x1e8f8b(0x16e)),util=require(a2_0x1e8f8b(0x197)),process=require(a2_0x1e8f8b(0x179)),logger=require(a2_0x1e8f8b(0x149))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x1e8f8b(0x1ab)),helper=require(a2_0x1e8f8b(0x1b1)),utilities=require(a2_0x1e8f8b(0x1a8)),{checkAccessibilityPlatformConfig}=require(a2_0x1e8f8b(0x172)),{setAccessibilityCapabilities}=require(a2_0x1e8f8b(0x1a2)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1e8f8b(0x1b1)),CodeceptJS=requireModule(a2_0x1e8f8b(0x134),'codeceptjs'),testOpsHelper=require(a2_0x1e8f8b(0x136)),TestHubHandler=require(a2_0x1e8f8b(0x11f)),constants=require(a2_0x1e8f8b(0x139)),PerformanceTester=require(a2_0x1e8f8b(0x16f)),{FRAMEWORKS}=require(a2_0x1e8f8b(0x133)),PerformanceEvents=require(a2_0x1e8f8b(0x1a6))[a2_0x1e8f8b(0x185)],ClientTroubleShootingService=require(a2_0x1e8f8b(0x125)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5c6e17,_0x2c6b55)=>{const _0x3cf509=a2_0x1e8f8b,_0x35c1e3={};_0x35c1e3[_0x3cf509(0x12e)]=function(_0x42dbfe,_0x5b53e3){return _0x42dbfe===_0x5b53e3;},_0x35c1e3[_0x3cf509(0x17e)]=_0x3cf509(0x15f),_0x35c1e3[_0x3cf509(0x147)]='codecept.json';const _0x20a0f6=_0x35c1e3;let _0x3111b6=null;const _0x292c10={};let _0x28f517=_0x2c6b55['findIndex'](_0x4b6596=>_0x4b6596===_0x3cf509(0x12f));_0x20a0f6[_0x3cf509(0x12e)](_0x28f517,-0x1)&&(_0x28f517=_0x2c6b55[_0x3cf509(0x18c)](_0x379db9=>_0x379db9==='-c'));if(!helper['isUndefined'](_0x5c6e17['config'])&&fs[_0x3cf509(0x1ac)](path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x5c6e17['config'])))_0x3111b6=path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x5c6e17[_0x3cf509(0x129)]),_0x2c6b55[_0x3cf509(0x138)](_0x28f517,0x2);else{if(!helper[_0x3cf509(0x130)](_0x5c6e17['c'])&&fs[_0x3cf509(0x1ac)](path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x5c6e17['c'])))_0x3111b6=path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x5c6e17['c']),_0x2c6b55[_0x3cf509(0x138)](_0x28f517,0x2);else{if(fs[_0x3cf509(0x1ac)](path[_0x3cf509(0x1b2)](process['cwd'](),_0x20a0f6[_0x3cf509(0x17e)])))_0x3111b6=path['join'](process[_0x3cf509(0x15a)](),_0x20a0f6[_0x3cf509(0x17e)]);else fs['existsSync'](path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x20a0f6[_0x3cf509(0x147)]))&&(_0x3111b6=path[_0x3cf509(0x1b2)](process[_0x3cf509(0x15a)](),_0x20a0f6['cAlsk']));}}return process['env'][_0x3cf509(0x157)]=_0x3111b6,_0x3111b6;},getO11yRerunPattern=()=>{const _0x5405ea=a2_0x1e8f8b,_0x2a925b=helper[_0x5405ea(0x1a3)](process[_0x5405ea(0x12a)][_0x5405ea(0x175)]);if(_0x2a925b){const _0x44e2b8=process[_0x5405ea(0x12a)][_0x5405ea(0x199)],_0x2230ca=[];if(helper[_0x5405ea(0x11b)](_0x44e2b8)&&!helper['isUndefined'](_0x44e2b8)){_0x44e2b8[_0x5405ea(0x177)](',')[_0x5405ea(0x1af)](_0x324b51=>{const _0x3a6b44=_0x5405ea;_0x2230ca[_0x3a6b44(0x143)]('('+_0x324b51['trim']()+')');});const _0xc6f32a='^'+_0x2230ca['join']('|')+'$';return _0xc6f32a;}}return null;},a2_0x53dde8={};a2_0x53dde8['chrome']=a2_0x1e8f8b(0x19c),a2_0x53dde8[a2_0x1e8f8b(0x174)]='chromium',a2_0x53dde8[a2_0x1e8f8b(0x152)]='firefox',a2_0x53dde8[a2_0x1e8f8b(0x167)]='webkit';function a2_0x23d5(_0x2bb0b3,_0x4561a5){const _0x5bcd07=a2_0x5bcd();return a2_0x23d5=function(_0x23d5a7,_0x10d294){_0x23d5a7=_0x23d5a7-0x112;let _0x8a54d7=_0x5bcd07[_0x23d5a7];return _0x8a54d7;},a2_0x23d5(_0x2bb0b3,_0x4561a5);}const pwToCodeceptBrowser=a2_0x53dde8;async function run(_0x19e54e,_0x5c2128,_0x1bb419){const _0x2c5da8=a2_0x1e8f8b,_0x145b42={'COIOI':function(_0x4a0e6b,_0x493299){return _0x4a0e6b+_0x493299;},'LklZd':function(_0x2bb013,_0x29ef7f){return _0x2bb013(_0x29ef7f);},'LEZmu':function(_0x4541f5,_0x5cbac7){return _0x4541f5+_0x5cbac7;},'QjrDU':function(_0x4f6a6e,_0x54112f,_0x3a7ab0){return _0x4f6a6e(_0x54112f,_0x3a7ab0);},'RGfym':_0x2c5da8(0x186),'LnQBP':function(_0x2fef53){return _0x2fef53();},'tQuvK':'/wd/hub','cGRWU':function(_0x3027ca){return _0x3027ca();},'mAGdz':function(_0x53b798){return _0x53b798();},'yxpwC':_0x2c5da8(0x15c),'NAsLk':_0x2c5da8(0x132),'UCYyj':'Started\x20:\x20','saCqO':_0x2c5da8(0x13c),'vUcgN':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','RSdvq':_0x2c5da8(0x188),'seBcQ':_0x2c5da8(0x165),'eJkQe':function(_0x28a9c0,_0x30c87b){return _0x28a9c0(_0x30c87b);},'ETHaA':function(_0x36ab7d,_0x292e57){return _0x36ab7d!=_0x292e57;},'GRgfW':function(_0x3aac1d,_0xff6402){return _0x3aac1d===_0xff6402;},'CBNTr':function(_0xd3ff4a,_0x72f1eb,_0x5c7d55){return _0xd3ff4a(_0x72f1eb,_0x5c7d55);},'dHvro':_0x2c5da8(0x198),'UPSzY':function(_0x3effe7){return _0x3effe7();},'FyLHR':function(_0x4416f9,_0x780396){return _0x4416f9*_0x780396;},'MmONX':function(_0x9964ac,_0xd73dd6,_0x47f842){return _0x9964ac(_0xd73dd6,_0x47f842);},'AVHjc':'browser','wEuCU':_0x2c5da8(0x155),'BVIHr':function(_0x173bc2,_0x1700d3,_0xd166cc){return _0x173bc2(_0x1700d3,_0xd166cc);},'leEgM':_0x2c5da8(0x184),'ORAcf':'BrowserStackPlugin.js','TirSd':'browserStackCwd','dAlFr':function(_0x16e367){return _0x16e367();}};await _0x1bb419[_0x2c5da8(0x176)](_0x19e54e),await helper[_0x2c5da8(0x192)](_0x1bb419['config']);if(!_0x1bb419['config'])return;process[_0x2c5da8(0x16a)]=_0x19e54e[_0x2c5da8(0x16a)];_0x19e54e['profile']&&(process[_0x2c5da8(0x12a)][_0x2c5da8(0x16a)]=_0x19e54e[_0x2c5da8(0x16a)]);const _0x1e7860=_0x145b42[_0x2c5da8(0x195)](getUserCodeceptJSConfigs,_0x19e54e,_0x5c2128);let _0x8ae87f={};_0x1e7860?(logger[_0x2c5da8(0x156)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x1e7860),_0x8ae87f=CodeceptJS[_0x2c5da8(0x129)]['load'](_0x1e7860)):logger[_0x2c5da8(0x156)](_0x145b42[_0x2c5da8(0x1a9)]);let _0x324946=![];_0x145b42[_0x2c5da8(0x195)](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x2c5da8(0x131)],_0x145b42[_0x2c5da8(0x15d)]])&&(_0x324946=!![]);const _0x125015=_0x324946?_0x145b42[_0x2c5da8(0x15d)]:_0x145b42[_0x2c5da8(0x1a5)];let _0x41a9b9=!_0x324946?helper[_0x2c5da8(0x163)](_0x1bb419['config']):![];!helper[_0x2c5da8(0x130)](_0x1bb419[_0x2c5da8(0x129)][_0x2c5da8(0x1a0)])&&(process[_0x2c5da8(0x12a)][_0x2c5da8(0x19b)]=JSON[_0x2c5da8(0x19e)](_0x1bb419[_0x2c5da8(0x129)][_0x2c5da8(0x1a0)]));let _0x3e01bc=_0x1bb419[_0x2c5da8(0x129)]['accessibility'];_0x3e01bc=_0x3e01bc||_0x145b42[_0x2c5da8(0x11c)](checkAccessibilityPlatformConfig,_0x1bb419[_0x2c5da8(0x129)]),process[_0x2c5da8(0x12a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3e01bc;_0x3e01bc&&(_0x41a9b9=!_0x3e01bc);_0x145b42[_0x2c5da8(0x191)](_0x1bb419[_0x2c5da8(0x129)][_0x2c5da8(0x19f)],null)?process['env'][_0x2c5da8(0x141)]=_0x1bb419['config'][_0x2c5da8(0x19f)]:process[_0x2c5da8(0x12a)][_0x2c5da8(0x141)]=_0x145b42['GRgfW'](_0x125015,_0x145b42[_0x2c5da8(0x15d)]);const _0x14e2ca=_0x145b42[_0x2c5da8(0x121)](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x2c5da8(0x164)]]),_0x55fcf4=_0x14e2ca&&!helper[_0x2c5da8(0x1ae)](_0x14e2ca)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x2bf9c5=await TestHubHandler[_0x2c5da8(0x119)](_0x55fcf4,_0x1bb419);_0x3e01bc&&_0x145b42[_0x2c5da8(0x12d)](setAccessibilityCapabilities,_0x1bb419[_0x2c5da8(0x129)]);const _0x3ffacd={},_0x140baf=[],_0x440076=_0x1bb419[_0x2c5da8(0x129)][_0x2c5da8(0x170)]||helper[_0x2c5da8(0x171)](_0x19e54e,_0x5c2128,_0x1bb419[_0x2c5da8(0x129)],constants[_0x2c5da8(0x18a)][_0x2c5da8(0x182)])||0x1;let _0x2fb6f0=0x1;if(_0x145b42[_0x2c5da8(0x154)](isBrowserstackInfra)){const _0x347eb0=helper[_0x2c5da8(0x115)](_0x1bb419['config'],_0x41a9b9,constants['FRAMEWORKS']['CODECEPT']);_0x347eb0[_0x2c5da8(0x13e)](_0x49b7e1=>{const _0x5e18cb=_0x2c5da8;helper[_0x5e18cb(0x193)](_0x49b7e1);}),helper[_0x2c5da8(0x159)](_0x1bb419[_0x2c5da8(0x129)])?_0x2fb6f0=_0x145b42[_0x2c5da8(0x14f)](_0x440076,_0x1bb419[_0x2c5da8(0x129)][_0x2c5da8(0x169)]['length']):_0x2fb6f0=_0x440076,_0x347eb0[_0x2c5da8(0x13e)](_0xf8ff8e=>{const _0x477566=_0x2c5da8,_0x3d6699=_0x145b42[_0x477566(0x12c)](helper[_0x477566(0x18f)](_0xf8ff8e,'_'),'_'+Date[_0x477566(0x113)]()),_0x4e5f0b=((()=>{const _0x823560=_0x477566;if(_0x324946){const _0x27e98e=pwToCodeceptBrowser[_0xf8ff8e['browserName']]||_0xf8ff8e['browserName'];return{'browser':_0x27e98e,[_0x27e98e]:{'browserWSEndpoint':_0x145b42[_0x823560(0x17a)](helper[_0x823560(0x1ad)](_0x1bb419[_0x823560(0x129)]),_0x145b42[_0x823560(0x12d)](encodeURIComponent,JSON[_0x823560(0x19e)](_0xf8ff8e)))}};}const _0xb98f64={};return _0xb98f64[_0x823560(0x155)]=_0xf8ff8e,_0xb98f64['user']=_0x1bb419['config']['userName'],_0xb98f64[_0x823560(0x181)]=_0x1bb419['config'][_0x823560(0x116)],_0xb98f64;})()),_0x22e7f5=_0x145b42[_0x477566(0x195)](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x477566(0x131)],_0x125015]);_0x3ffacd[_0x3d6699]=_0x22e7f5?helper[_0x477566(0x150)](_0x4e5f0b,_0x22e7f5):_0x4e5f0b;if(_0x324946)_0x3ffacd[_0x3d6699][_0x477566(0x1aa)]=pwToCodeceptBrowser[_0xf8ff8e[_0x477566(0x194)]]||_0xf8ff8e[_0x477566(0x194)];else{_0x3ffacd[_0x3d6699]['browser']=_0xf8ff8e[_0x477566(0x194)]||_0x4e5f0b[_0x477566(0x1aa)];if(_0x145b42[_0x477566(0x124)](isBrowserstackInfra)){_0x3ffacd[_0x3d6699][_0x477566(0x190)]=constants[_0x477566(0x166)][_0x477566(0x144)](_0x145b42[_0x477566(0x145)],'')['replace'](/https?:\/\//,'');;_0x3ffacd[_0x3d6699][_0x477566(0x16e)]=_0x145b42[_0x477566(0x145)];}}_0x140baf[_0x477566(0x143)](_0x3d6699);});}else{_0x2fb6f0=0x1;if(_0x324946){const _0x41f2a9=_0x145b42[_0x2c5da8(0x13a)](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x2c5da8(0x131)],_0x125015,_0x145b42[_0x2c5da8(0x158)]]),_0x2098c5=_0x145b42[_0x2c5da8(0x13a)](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x2c5da8(0x131)],_0x125015,_0x41f2a9]);if(_0x2098c5&&_0x2098c5['browserWSEndpoint']){const _0xc6d61e={};_0xc6d61e[_0x2c5da8(0x169)]=[],_0x2098c5['browserWSEndpoint']=helper[_0x2c5da8(0x115)](Object[_0x2c5da8(0x126)]({},_0x1bb419[_0x2c5da8(0x129)],_0xc6d61e),null,_0x55fcf4['toLowerCase'](),null,null,_0x2098c5[_0x2c5da8(0x137)]);}}else{const _0x118316={};_0x118316[_0x2c5da8(0x169)]=[],_0x8ae87f[_0x145b42['RGfym']][_0x125015][_0x145b42['wEuCU']]=helper[_0x2c5da8(0x115)](Object[_0x2c5da8(0x126)]({},_0x1bb419['config'],_0x118316),null,_0x55fcf4[_0x2c5da8(0x189)](),_0x145b42['BVIHr'](nestedKeyValue,_0x8ae87f,[_0x145b42[_0x2c5da8(0x131)],_0x125015,_0x145b42['wEuCU']])||{},null,null);}_0x3ffacd[_0x145b42[_0x2c5da8(0x19a)]]=_0x8ae87f,_0x140baf[_0x2c5da8(0x143)](_0x145b42[_0x2c5da8(0x19a)]);}const _0x33fc7b={};_0x33fc7b[_0x2c5da8(0x114)]=_0x1e7860;const _0xd25755=_0x33fc7b,_0x454413=path[_0x2c5da8(0x1b2)](__dirname,_0x145b42[_0x2c5da8(0x14c)]),_0x15909a=process[_0x2c5da8(0x15a)]();process['env'][_0x145b42[_0x2c5da8(0x151)]]=_0x15909a,process['chdir'](path[_0x2c5da8(0x162)](_0x1e7860));const _0x8cdb77=new CodeceptJS[(_0x2c5da8(0x17d))](null,_0xd25755),_0x2b124e=_0x8cdb77[_0x2c5da8(0x14e)](_0x2fb6f0),_0x49ded0=testOpsHelper[_0x2c5da8(0x14d)](),_0x5ce134=_0x140baf[_0x2c5da8(0x1af)](_0x59dd66=>{const _0xf9edc3=_0x2c5da8,_0x5e5426={};_0x5e5426[_0xf9edc3(0x188)]=_0x3ffacd[_0x59dd66];const _0x1b8170={};_0x1b8170[_0xf9edc3(0x165)]=_0x3ffacd[_0x59dd66];const _0x53bf08=_0x324946?_0x5e5426:_0x1b8170,_0x1fa9a7=_0x145b42['cGRWU'](getO11yRerunPattern),_0x329302={};_0x329302[_0xf9edc3(0x186)]=_0x53bf08;const _0x3aaa69={};_0x3aaa69[_0xf9edc3(0x135)]=_0x454413,_0x3aaa69[_0xf9edc3(0x19d)]=!![],_0x3aaa69[_0xf9edc3(0x127)]=_0x1bb419['config'][_0xf9edc3(0x148)][_0xf9edc3(0x127)],_0x3aaa69[_0xf9edc3(0x13d)]=_0x1bb419[_0xf9edc3(0x129)]['testContextOptions'][_0xf9edc3(0x13d)],_0x3aaa69[_0xf9edc3(0x19f)]=_0x49ded0,_0x3aaa69[_0xf9edc3(0x15e)]=_0x55fcf4;const _0x23ac83={};_0x23ac83[_0xf9edc3(0x12b)]=_0x3aaa69;const _0x2ee161={};return _0x2ee161[_0xf9edc3(0x146)]=_0x23ac83,helper[_0xf9edc3(0x150)]({},_0x8ae87f,_0x145b42['mAGdz'](isBrowserstackInfra)?_0x329302:{},_0x1fa9a7?{'grep':_0x1fa9a7}:{},_0x2ee161);});for(const _0xfc56d4 of _0x5ce134){for(const _0x593d9e of _0x2b124e){const _0x40c2d3=_0x8cdb77[_0x2c5da8(0x160)]();_0x40c2d3[_0x2c5da8(0x18d)](_0x593d9e),_0x40c2d3[_0x2c5da8(0x128)](_0xfc56d4);const _0x44d782={};_0x44d782['config']=_0x1e7860,_0x40c2d3[_0x2c5da8(0x11e)](Object['assign'](_0x44d782,_0x19e54e));}}_0x8cdb77['on'](CodeceptJS['event'][_0x2c5da8(0x1a7)]['failed'],(_0x14f7f1,_0x556a1b)=>{const _0x1d7eb6=_0x2c5da8;console['log'](_0x145b42['yxpwC'],_0x14f7f1[_0x1d7eb6(0x183)]);const _0x490460={[_0x14f7f1['title']]:_0x14f7f1[_0x1d7eb6(0x122)][_0x1d7eb6(0x180)]};_testErrorData[_0x1d7eb6(0x143)](_0x490460);}),_0x8cdb77['on'](CodeceptJS[_0x2c5da8(0x1a1)][_0x2c5da8(0x1a7)]['passed'],async _0x41f05e=>{const _0x7afc96=_0x2c5da8;console['log'](_0x145b42[_0x7afc96(0x187)],_0x41f05e[_0x7afc96(0x183)]);}),_0x8cdb77['on'](CodeceptJS[_0x2c5da8(0x1a1)]['test'][_0x2c5da8(0x17b)],async _0x20036e=>{const _0x34ec9d=_0x2c5da8;console[_0x34ec9d(0x123)](_0x145b42[_0x34ec9d(0x17c)],_0x20036e[_0x34ec9d(0x183)]);}),_0x8cdb77['on'](CodeceptJS[_0x2c5da8(0x1a1)]['all'][_0x2c5da8(0x1b0)],async()=>{const _0x215854=_0x2c5da8,_0x3560bc=_0x145b42[_0x215854(0x14a)]['split']('|');let _0x2864bf=0x0;while(!![]){switch(_0x3560bc[_0x2864bf++]){case'0':_0x8cdb77[_0x215854(0x14b)]();continue;case'1':PerformanceTester[_0x215854(0x11d)](PerformanceEvents[_0x215854(0x168)]);continue;case'2':try{await TestHubHandler[_0x215854(0x196)]();}catch(_0x36c68a){logger[_0x215854(0x18e)](_0x215854(0x1a4)+util[_0x215854(0x178)](_0x36c68a));}continue;case'3':utilities[_0x215854(0x16d)](_0x1bb419);continue;case'4':testOpsHelper['printBuildLink']();continue;case'5':_0x1bb419[_0x215854(0x117)]=_testErrorData;continue;}break;}});async function _0x4e0356(){const _0x528d7f=_0x2c5da8;try{await _0x8cdb77[_0x528d7f(0x120)](),await _0x8cdb77['run']();}finally{process['chdir'](_0x15909a),await _0x8cdb77[_0x528d7f(0x140)]();}}PerformanceTester[_0x2c5da8(0x112)](PerformanceEvents[_0x2c5da8(0x17f)]),_0x145b42[_0x2c5da8(0x13b)](_0x4e0356);}module[a2_0x1e8f8b(0x161)]=run;
|
|
2
|
+
'use strict';const a2_0x2d2be3=a2_0x125b;function a2_0x4fc4(){const _0x1410fd=['../utils/clientTroubleshootingService','Playwright','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser','findIndex','title','HNZSZ','../../helpers/test-observability/utils','../../helpers/testhub/testhubHandler','config','Failed\x20:\x20','handleApp','split','run','testContextOptions','err','slice','stringify','playwright-webkit','wMNYA','format','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','EVENTS','xvvUK','isTestObservabilitySession','ctVJm','../../helpers/test-observability/constants','failed','util','chdir','load','3277038ZGainJ','env','existsSync','push','qKMYe','BrowserStackPlugin.js','start','../../helpers/logger','ctQea','4GCvqBH','accessibilityOptions','skipSessionStatus','test','7bvllRT','before','browserStackCwd','IFwfr','plugins','2403585HQFrlK','codecept.conf.js','../utils/constants','platforms','chromium','assign','--config','toLowerCase','USER_CONFIG_DETAILS_PATH','prepareCapabilities','../../helpers/helper','vrpNV','../../helpers/accessibility-automation/helper','BrowserStackPlugin','XDHpb','spawn','rOdQs','replace','event','isTrue','qOmEm','skipSessionName','../../helpers/performance/constants','../../helpers/performance/performance-tester','jeTUf','29752DaBcVd','uffOE','testObservability','info','FRAMEWORKS','../../helpers/BrowserStackSetup','codeceptjs/lib/index.js','addTests','cwd','stack','501OwemBl','createGroupsOfSuites','firefox','map','browserWSEndpoint','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getPlaywrightUrl','qaDiu','CODECEPT','12503810ANUngN','desiredCapabilities','profile','playwright-chromium','MSJVv','/wd/hub','result','testConfig','key','finalExecution','browserName','chrome','passed','codeceptjs','301590PlfZNF','../../helpers/utilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','initialize','hubUrl','webkit','addOptions','NSQOc','parallelsPerPlatform','length','debug','OSPwt','enabled','Workers','playwright-firefox','join','Passed\x20:\x20','winstonLogger','validateRerunTestList','helpers','VUBxF','WebDriver','SDK_SETUP','bootstrapAll','1|0|4|5|3|2','setAdditionalCapabilities','gherkin','getUserWorkerCount','BROWSERSTACK_TEST_OBSERVABILITY_YML','CODECEPT_CUCUMBER','log','MSmft','UASfU','now','637413gjCIBk','IBwOI','qLQsy','mergeDeep','all','nSSNG','process','accessibility','PAHux','user','5332fLMUvQ','host','isUndefined','useW3C','SDK_CLEANUP','BROWSERSTACK_RERUN_TESTS','../../bin/playwright/accessibility-helper','zBTQX'];a2_0x4fc4=function(){return _0x1410fd;};return a2_0x4fc4();}(function(_0x5f1add,_0x23e3b5){const _0x5c7840=a2_0x125b,_0x310e5f=_0x5f1add();while(!![]){try{const _0x3c6404=parseInt(_0x5c7840(0x202))/0x1+-parseInt(_0x5c7840(0x20c))/0x2*(parseInt(_0x5c7840(0x1c9))/0x3)+parseInt(_0x5c7840(0x23d))/0x4*(-parseInt(_0x5c7840(0x246))/0x5)+-parseInt(_0x5c7840(0x234))/0x6+parseInt(_0x5c7840(0x241))/0x7*(parseInt(_0x5c7840(0x1bf))/0x8)+-parseInt(_0x5c7840(0x1e0))/0x9+parseInt(_0x5c7840(0x1d2))/0xa;if(_0x3c6404===_0x23e3b5)break;else _0x310e5f['push'](_0x310e5f['shift']());}catch(_0xb35ebf){_0x310e5f['push'](_0x310e5f['shift']());}}}(a2_0x4fc4,0x5e363));const fs=require('fs'),path=require(a2_0x2d2be3(0x229)),util=require(a2_0x2d2be3(0x231)),process=require(a2_0x2d2be3(0x208)),logger=require(a2_0x2d2be3(0x23b))[a2_0x2d2be3(0x1f1)],{default:BrowserStackSetup}=require(a2_0x2d2be3(0x1c4)),helper=require(a2_0x2d2be3(0x250)),utilities=require(a2_0x2d2be3(0x1e1)),{checkAccessibilityPlatformConfig}=require(a2_0x2d2be3(0x1b2)),{setAccessibilityCapabilities}=require(a2_0x2d2be3(0x212)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x2d2be3(0x1c5),a2_0x2d2be3(0x1df)),testOpsHelper=require(a2_0x2d2be3(0x21b)),TestHubHandler=require(a2_0x2d2be3(0x21c)),constants=require(a2_0x2d2be3(0x248)),PerformanceTester=require(a2_0x2d2be3(0x1bd)),{FRAMEWORKS}=require(a2_0x2d2be3(0x22f)),PerformanceEvents=require(a2_0x2d2be3(0x1bc))[a2_0x2d2be3(0x22b)],ClientTroubleShootingService=require(a2_0x2d2be3(0x214)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x3c6c55,_0x38d159)=>{const _0x2472f3=a2_0x2d2be3,_0x27c04b={};_0x27c04b[_0x2472f3(0x1c0)]=function(_0x29755e,_0x4d10db){return _0x29755e===_0x4d10db;},_0x27c04b[_0x2472f3(0x213)]=_0x2472f3(0x247),_0x27c04b[_0x2472f3(0x207)]='codecept.json';const _0x186c8b=_0x27c04b;let _0x1ce871=null;const _0x5a671b={};let _0x43cc11=_0x38d159['findIndex'](_0x114956=>_0x114956===_0x2472f3(0x24c));_0x186c8b[_0x2472f3(0x1c0)](_0x43cc11,-0x1)&&(_0x43cc11=_0x38d159[_0x2472f3(0x218)](_0x572bd4=>_0x572bd4==='-c'));if(!helper[_0x2472f3(0x20e)](_0x3c6c55['config'])&&fs[_0x2472f3(0x236)](path['join'](process[_0x2472f3(0x1c7)](),_0x3c6c55[_0x2472f3(0x21d)])))_0x1ce871=path[_0x2472f3(0x1ef)](process[_0x2472f3(0x1c7)](),_0x3c6c55['config']),_0x38d159[_0x2472f3(0x224)](_0x43cc11,0x2);else{if(!helper['isUndefined'](_0x3c6c55['c'])&&fs[_0x2472f3(0x236)](path[_0x2472f3(0x1ef)](process['cwd'](),_0x3c6c55['c'])))_0x1ce871=path[_0x2472f3(0x1ef)](process[_0x2472f3(0x1c7)](),_0x3c6c55['c']),_0x38d159[_0x2472f3(0x224)](_0x43cc11,0x2);else{if(fs[_0x2472f3(0x236)](path[_0x2472f3(0x1ef)](process['cwd'](),_0x186c8b[_0x2472f3(0x213)])))_0x1ce871=path[_0x2472f3(0x1ef)](process[_0x2472f3(0x1c7)](),_0x186c8b[_0x2472f3(0x213)]);else fs[_0x2472f3(0x236)](path['join'](process[_0x2472f3(0x1c7)](),_0x186c8b['nSSNG']))&&(_0x1ce871=path[_0x2472f3(0x1ef)](process[_0x2472f3(0x1c7)](),_0x186c8b[_0x2472f3(0x207)]));}}return process[_0x2472f3(0x235)][_0x2472f3(0x24e)]=_0x1ce871,_0x1ce871;},getO11yRerunPattern=()=>{const _0x3247da=a2_0x2d2be3,_0x41b9f3=helper[_0x3247da(0x1b9)](process[_0x3247da(0x235)]['BROWSERSTACK_RERUN']);if(_0x41b9f3){const _0x294251=process[_0x3247da(0x235)][_0x3247da(0x211)],_0x26c5f0=[];if(helper[_0x3247da(0x1f2)](_0x294251)&&!helper[_0x3247da(0x20e)](_0x294251)){_0x294251[_0x3247da(0x220)](',')['map'](_0x38225=>{const _0x305e01=_0x3247da;_0x26c5f0[_0x305e01(0x237)]('('+_0x38225['trim']()+')');});const _0x535958='^'+_0x26c5f0[_0x3247da(0x1ef)]('|')+'$';return _0x535958;}}return null;},a2_0x63bd14={};a2_0x63bd14[a2_0x2d2be3(0x1dd)]='chromium',a2_0x63bd14[a2_0x2d2be3(0x1d5)]=a2_0x2d2be3(0x24a),a2_0x63bd14[a2_0x2d2be3(0x1ee)]=a2_0x2d2be3(0x1cb),a2_0x63bd14[a2_0x2d2be3(0x226)]=a2_0x2d2be3(0x1e5);const pwToCodeceptBrowser=a2_0x63bd14;function a2_0x125b(_0x52babd,_0x4cee9b){const _0x4fc409=a2_0x4fc4();return a2_0x125b=function(_0x125b3f,_0x415ed9){_0x125b3f=_0x125b3f-0x1b1;let _0x3fd7d5=_0x4fc409[_0x125b3f];return _0x3fd7d5;},a2_0x125b(_0x52babd,_0x4cee9b);}async function run(_0x4bac05,_0x428549,_0x4de3fd){const _0x4c5f41=a2_0x2d2be3,_0x3e07b2={'qaDiu':function(_0x542956,_0x170cee){return _0x542956+_0x170cee;},'qLQsy':function(_0x5a721a,_0x1bd0d6){return _0x5a721a(_0x1bd0d6);},'IFwfr':function(_0x1c56b3,_0x2cf568,_0x50ba67){return _0x1c56b3(_0x2cf568,_0x50ba67);},'HNZSZ':_0x4c5f41(0x1f3),'EWkjy':function(_0xbd3663){return _0xbd3663();},'ctQea':_0x4c5f41(0x1d7),'rOdQs':function(_0x49e0b0){return _0x49e0b0();},'ctVJm':function(_0x3a2af3){return _0x3a2af3();},'PAHux':_0x4c5f41(0x21e),'MSJVv':_0x4c5f41(0x1f0),'MSmft':'Started\x20:\x20','vrpNV':_0x4c5f41(0x1f8),'XDHpb':function(_0x18fbb9,_0x2eb3bf,_0x105397){return _0x18fbb9(_0x2eb3bf,_0x105397);},'lDQob':_0x4c5f41(0x22a),'qOmEm':_0x4c5f41(0x215),'UASfU':'WebDriver','NSQOc':function(_0x550562,_0x2001b5){return _0x550562!=_0x2001b5;},'WDpwG':function(_0x2b60ad,_0x3f631c){return _0x2b60ad===_0x3f631c;},'xvvUK':_0x4c5f41(0x1fa),'OSPwt':function(_0x58a6b9){return _0x58a6b9();},'IBwOI':function(_0x339344,_0x468f33){return _0x339344*_0x468f33;},'jeTUf':_0x4c5f41(0x217),'qKMYe':_0x4c5f41(0x1d3),'wMNYA':function(_0x221fd0,_0x501b07,_0x5e7ec2){return _0x221fd0(_0x501b07,_0x5e7ec2);},'zivil':'root','VUBxF':_0x4c5f41(0x239),'YkIeA':_0x4c5f41(0x243)};await _0x4de3fd[_0x4c5f41(0x1e3)](_0x4bac05),await helper[_0x4c5f41(0x21f)](_0x4de3fd[_0x4c5f41(0x21d)]);if(!_0x4de3fd[_0x4c5f41(0x21d)])return;process['profile']=_0x4bac05[_0x4c5f41(0x1d4)];_0x4bac05[_0x4c5f41(0x1d4)]&&(process[_0x4c5f41(0x235)][_0x4c5f41(0x1d4)]=_0x4bac05[_0x4c5f41(0x1d4)]);const _0x4b0f19=_0x3e07b2[_0x4c5f41(0x1b4)](getUserCodeceptJSConfigs,_0x4bac05,_0x428549);let _0x18a945={};_0x4b0f19?(logger[_0x4c5f41(0x1c2)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4b0f19),_0x18a945=CodeceptJS[_0x4c5f41(0x21d)][_0x4c5f41(0x233)](_0x4b0f19)):logger[_0x4c5f41(0x1c2)](_0x3e07b2['lDQob']);let _0x2befd8=![];_0x3e07b2[_0x4c5f41(0x244)](nestedKeyValue,_0x18a945,[_0x3e07b2[_0x4c5f41(0x21a)],_0x3e07b2['qOmEm']])&&(_0x2befd8=!![]);const _0x188074=_0x2befd8?_0x3e07b2[_0x4c5f41(0x1ba)]:_0x3e07b2[_0x4c5f41(0x200)];let _0xe15715=!_0x2befd8?helper[_0x4c5f41(0x20f)](_0x4de3fd[_0x4c5f41(0x21d)]):![];!helper[_0x4c5f41(0x20e)](_0x4de3fd[_0x4c5f41(0x21d)][_0x4c5f41(0x23e)])&&(process[_0x4c5f41(0x235)][_0x4c5f41(0x216)]=JSON['stringify'](_0x4de3fd[_0x4c5f41(0x21d)][_0x4c5f41(0x23e)]));let _0x576751=_0x4de3fd['config'][_0x4c5f41(0x209)];_0x576751=_0x576751||_0x3e07b2[_0x4c5f41(0x204)](checkAccessibilityPlatformConfig,_0x4de3fd[_0x4c5f41(0x21d)]),process[_0x4c5f41(0x235)][_0x4c5f41(0x1ce)]=_0x576751;_0x576751&&(_0xe15715=!_0x576751);_0x3e07b2[_0x4c5f41(0x1e7)](_0x4de3fd[_0x4c5f41(0x21d)][_0x4c5f41(0x1c1)],null)?process[_0x4c5f41(0x235)][_0x4c5f41(0x1fc)]=_0x4de3fd[_0x4c5f41(0x21d)]['testObservability']:process[_0x4c5f41(0x235)][_0x4c5f41(0x1fc)]=_0x3e07b2['WDpwG'](_0x188074,_0x3e07b2[_0x4c5f41(0x1ba)]);const _0x17b4da=_0x3e07b2[_0x4c5f41(0x1b4)](nestedKeyValue,_0x18a945,[_0x3e07b2[_0x4c5f41(0x22c)]]),_0x46051f=_0x17b4da&&!helper['isEmpty'](_0x17b4da)?FRAMEWORKS[_0x4c5f41(0x1fd)]:FRAMEWORKS[_0x4c5f41(0x1d1)],_0x532752=await TestHubHandler['launchBuild'](_0x46051f,_0x4de3fd);_0x576751&&_0x3e07b2[_0x4c5f41(0x204)](setAccessibilityCapabilities,_0x4de3fd[_0x4c5f41(0x21d)]);const _0x38b562={},_0x3c1fab=[],_0x4cebba=_0x4de3fd[_0x4c5f41(0x21d)][_0x4c5f41(0x1e8)]||helper[_0x4c5f41(0x1fb)](_0x4bac05,_0x428549,_0x4de3fd[_0x4c5f41(0x21d)],constants[_0x4c5f41(0x1c3)][_0x4c5f41(0x1d1)])||0x1;let _0x382768=0x1;if(_0x3e07b2[_0x4c5f41(0x1eb)](isBrowserstackInfra)){const _0x3ac6a6=helper[_0x4c5f41(0x24f)](_0x4de3fd[_0x4c5f41(0x21d)],_0xe15715,constants[_0x4c5f41(0x1c3)][_0x4c5f41(0x1d1)]);_0x3ac6a6['forEach'](_0x27a184=>{const _0x2e0d89=_0x4c5f41;helper[_0x2e0d89(0x1f9)](_0x27a184);}),helper['validPlatformsPresent'](_0x4de3fd[_0x4c5f41(0x21d)])?_0x382768=_0x3e07b2[_0x4c5f41(0x203)](_0x4cebba,_0x4de3fd['config'][_0x4c5f41(0x249)][_0x4c5f41(0x1e9)]):_0x382768=_0x4cebba,_0x3ac6a6['forEach'](_0x5c88ee=>{const _0x23c430=_0x4c5f41,_0x39856f=_0x3e07b2[_0x23c430(0x1d0)](helper['getPlatformName'](_0x5c88ee,'_'),'_'+Date[_0x23c430(0x201)]()),_0x2f7237=((()=>{const _0x2067b9=_0x23c430;if(_0x2befd8){const _0x1bb37f=pwToCodeceptBrowser[_0x5c88ee[_0x2067b9(0x1dc)]]||_0x5c88ee[_0x2067b9(0x1dc)];return{'browser':_0x1bb37f,[_0x1bb37f]:{'browserWSEndpoint':_0x3e07b2[_0x2067b9(0x1d0)](helper[_0x2067b9(0x1cf)](_0x4de3fd[_0x2067b9(0x21d)]),_0x3e07b2[_0x2067b9(0x204)](encodeURIComponent,JSON[_0x2067b9(0x225)](_0x5c88ee)))}};}const _0x24b6cd={};return _0x24b6cd['desiredCapabilities']=_0x5c88ee,_0x24b6cd[_0x2067b9(0x20b)]=_0x4de3fd[_0x2067b9(0x21d)]['userName'],_0x24b6cd[_0x2067b9(0x1da)]=_0x4de3fd[_0x2067b9(0x21d)]['accessKey'],_0x24b6cd;})()),_0x1ee141=_0x3e07b2[_0x23c430(0x244)](nestedKeyValue,_0x18a945,[_0x3e07b2[_0x23c430(0x21a)],_0x188074]);_0x38b562[_0x39856f]=_0x1ee141?helper[_0x23c430(0x205)](_0x2f7237,_0x1ee141):_0x2f7237;if(_0x2befd8)_0x38b562[_0x39856f][_0x23c430(0x217)]=pwToCodeceptBrowser[_0x5c88ee['browserName']]||_0x5c88ee['browserName'];else{_0x38b562[_0x39856f]['browser']=_0x5c88ee['browserName']||_0x2f7237[_0x23c430(0x217)];if(_0x3e07b2['EWkjy'](isBrowserstackInfra)){_0x38b562[_0x39856f][_0x23c430(0x20d)]=constants[_0x23c430(0x1e4)][_0x23c430(0x1b7)](_0x3e07b2[_0x23c430(0x23c)],'')[_0x23c430(0x1b7)](/https?:\/\//,'');;_0x38b562[_0x39856f][_0x23c430(0x229)]=_0x3e07b2[_0x23c430(0x23c)];}}_0x3c1fab[_0x23c430(0x237)](_0x39856f);});}else{_0x382768=0x1;if(_0x2befd8){const _0x576fcd=_0x3e07b2[_0x4c5f41(0x244)](nestedKeyValue,_0x18a945,[_0x3e07b2[_0x4c5f41(0x21a)],_0x188074,_0x3e07b2[_0x4c5f41(0x1be)]]),_0x286dd8=_0x3e07b2['XDHpb'](nestedKeyValue,_0x18a945,[_0x3e07b2[_0x4c5f41(0x21a)],_0x188074,_0x576fcd]);if(_0x286dd8&&_0x286dd8[_0x4c5f41(0x1cd)]){const _0x829d86={};_0x829d86[_0x4c5f41(0x249)]=[],_0x286dd8['browserWSEndpoint']=helper[_0x4c5f41(0x24f)](Object[_0x4c5f41(0x24b)]({},_0x4de3fd[_0x4c5f41(0x21d)],_0x829d86),null,_0x46051f[_0x4c5f41(0x24d)](),null,null,_0x286dd8['browserWSEndpoint']);}}else{const _0x3d65d9={};_0x3d65d9[_0x4c5f41(0x249)]=[],_0x18a945[_0x3e07b2[_0x4c5f41(0x21a)]][_0x188074][_0x3e07b2[_0x4c5f41(0x238)]]=helper['prepareCapabilities'](Object['assign']({},_0x4de3fd['config'],_0x3d65d9),null,_0x46051f[_0x4c5f41(0x24d)](),_0x3e07b2[_0x4c5f41(0x227)](nestedKeyValue,_0x18a945,[_0x3e07b2['HNZSZ'],_0x188074,_0x3e07b2['qKMYe']])||{},null,null);}_0x38b562[_0x3e07b2['zivil']]=_0x18a945,_0x3c1fab[_0x4c5f41(0x237)](_0x3e07b2['zivil']);}const _0x2d295f={};_0x2d295f[_0x4c5f41(0x1d9)]=_0x4b0f19;const _0x43054f=_0x2d295f,_0x5cb422=path[_0x4c5f41(0x1ef)](__dirname,_0x3e07b2[_0x4c5f41(0x1f4)]),_0x147bcf=process[_0x4c5f41(0x1c7)]();process['env'][_0x3e07b2['YkIeA']]=_0x147bcf,process[_0x4c5f41(0x232)](path['dirname'](_0x4b0f19));const _0x119365=new CodeceptJS[(_0x4c5f41(0x1ed))](null,_0x43054f),_0xe96999=_0x119365[_0x4c5f41(0x1ca)](_0x382768),_0xa6454c=testOpsHelper[_0x4c5f41(0x22d)](),_0x3144a4=_0x3c1fab[_0x4c5f41(0x1cc)](_0x35d500=>{const _0x1da8cc=_0x4c5f41,_0x35c67b={};_0x35c67b['Playwright']=_0x38b562[_0x35d500];const _0x3d0b5a={};_0x3d0b5a[_0x1da8cc(0x1f5)]=_0x38b562[_0x35d500];const _0xd4fa1f=_0x2befd8?_0x35c67b:_0x3d0b5a,_0x40db95=_0x3e07b2[_0x1da8cc(0x1b6)](getO11yRerunPattern),_0x5988c4={};_0x5988c4[_0x1da8cc(0x1f3)]=_0xd4fa1f;const _0x3eb7b3={};_0x3eb7b3['require']=_0x5cb422,_0x3eb7b3[_0x1da8cc(0x1ec)]=!![],_0x3eb7b3[_0x1da8cc(0x1bb)]=_0x4de3fd[_0x1da8cc(0x21d)][_0x1da8cc(0x222)][_0x1da8cc(0x1bb)],_0x3eb7b3[_0x1da8cc(0x23f)]=_0x4de3fd['config'][_0x1da8cc(0x222)][_0x1da8cc(0x23f)],_0x3eb7b3[_0x1da8cc(0x1c1)]=_0xa6454c,_0x3eb7b3['frameworkName']=_0x46051f;const _0xe881cd={};_0xe881cd[_0x1da8cc(0x1b3)]=_0x3eb7b3;const _0x2731ea={};return _0x2731ea[_0x1da8cc(0x245)]=_0xe881cd,helper[_0x1da8cc(0x205)]({},_0x18a945,_0x3e07b2[_0x1da8cc(0x22e)](isBrowserstackInfra)?_0x5988c4:{},_0x40db95?{'grep':_0x40db95}:{},_0x2731ea);});for(const _0x3ba0b1 of _0x3144a4){for(const _0x360ce0 of _0xe96999){const _0x36f570=_0x119365[_0x4c5f41(0x1b5)]();_0x36f570[_0x4c5f41(0x1c6)](_0x360ce0),_0x36f570['addConfig'](_0x3ba0b1);const _0x42708a={};_0x42708a[_0x4c5f41(0x21d)]=_0x4b0f19,_0x36f570[_0x4c5f41(0x1e6)](Object[_0x4c5f41(0x24b)](_0x42708a,_0x4bac05));}}_0x119365['on'](CodeceptJS['event'][_0x4c5f41(0x240)][_0x4c5f41(0x230)],(_0x3a1391,_0x91b59f)=>{const _0x340399=_0x4c5f41;console[_0x340399(0x1fe)](_0x3e07b2[_0x340399(0x20a)],_0x3a1391[_0x340399(0x219)]);const _0xffedc8={[_0x3a1391[_0x340399(0x219)]]:_0x3a1391[_0x340399(0x223)][_0x340399(0x1c8)]};_testErrorData[_0x340399(0x237)](_0xffedc8);}),_0x119365['on'](CodeceptJS[_0x4c5f41(0x1b8)]['test'][_0x4c5f41(0x1de)],async _0x2a1a58=>{const _0x4fe4cd=_0x4c5f41;console['log'](_0x3e07b2[_0x4fe4cd(0x1d6)],_0x2a1a58[_0x4fe4cd(0x219)]);}),_0x119365['on'](CodeceptJS[_0x4c5f41(0x1b8)]['test'][_0x4c5f41(0x242)],async _0x56bbbc=>{const _0x2eb4f9=_0x4c5f41;console[_0x2eb4f9(0x1fe)](_0x3e07b2[_0x2eb4f9(0x1ff)],_0x56bbbc[_0x2eb4f9(0x219)]);}),_0x119365['on'](CodeceptJS[_0x4c5f41(0x1b8)][_0x4c5f41(0x206)][_0x4c5f41(0x1d8)],async()=>{const _0x5a45c5=_0x4c5f41,_0x762524=_0x3e07b2[_0x5a45c5(0x1b1)][_0x5a45c5(0x220)]('|');let _0x587957=0x0;while(!![]){switch(_0x762524[_0x587957++]){case'0':_0x4de3fd['errorMessage']=_testErrorData;continue;case'1':PerformanceTester[_0x5a45c5(0x23a)](PerformanceEvents[_0x5a45c5(0x210)]);continue;case'2':_0x119365['printResults']();continue;case'3':try{await TestHubHandler['stop']();}catch(_0x23e00c){logger[_0x5a45c5(0x1ea)](_0x5a45c5(0x1e2)+util[_0x5a45c5(0x228)](_0x23e00c));}continue;case'4':testOpsHelper['printBuildLink']();continue;case'5':utilities[_0x5a45c5(0x1db)](_0x4de3fd);continue;}break;}});async function _0x3d538e(){const _0x2c634b=_0x4c5f41;try{await _0x119365[_0x2c634b(0x1f7)](),await _0x119365[_0x2c634b(0x221)]();}finally{process['chdir'](_0x147bcf),await _0x119365['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x4c5f41(0x1f6)]),_0x3e07b2[_0x4c5f41(0x1b6)](_0x3d538e);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x31c3(_0x5c62ed,_0x26513d){const _0x292e62=a3_0x292e();return a3_0x31c3=function(_0x31c390,_0x147411){_0x31c390=_0x31c390-0xe3;let _0x359ea0=_0x292e62[_0x31c390];return _0x359ea0;},a3_0x31c3(_0x5c62ed,_0x26513d);}const a3_0x31f9cf=a3_0x31c3;function a3_0x292e(){const _0x1159f0=['oOROq','jCSIq','QoQio','browserstack_accessibility_automation_script','get','WjLLd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','name','browser_version','../../helpers/accessibility-automation/helper','desiredCapabilities','2YiyjdD','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kcZVc','zMpBg','browser','shouldPatchExecuteScript','../../helpers/helper','deviceName','browserVersion','ckmLK','platformVersion','processWebDriverConfig','getDetails','browserstack_executor','platformName','184294ZjEIAn','config','471sxsRaE','osVersion','browserName','os_version','UMLSj','4782giZLMd','hfzeh','yRvpI','YhGKG','FPFkj','973rgCOeg','../../helpers/test-observability/utils','emsSI','16qBbhSv','accessibilityPlatform','11701846meDfii','ZobBj','22252NIwjoG','constructor','../../bin/playwright/sessionDetails','bstack:options','latest','799506rmivpc','warn','226165zBsyYW','60960zNVlvZ','string','12DZOEyc','bsSessionId','chrome','cVort','WebDriver','dUnlK','OtSoE','sUxMc','platform_version','platform','xcPfA','VCXVV','caps','sessionId','SGzci','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','parse','1298XZQsZh','UKzgO','yeVCC','unknown_grid','searchParams','HzKVe','xysok','includes'];a3_0x292e=function(){return _0x1159f0;};return a3_0x292e();}(function(_0x131900,_0x209a20){const _0x1f2fe3=a3_0x31c3,_0x4b073c=_0x131900();while(!![]){try{const _0x49d463=-parseInt(_0x1f2fe3(0x12f))/0x1*(parseInt(_0x1f2fe3(0x120))/0x2)+-parseInt(_0x1f2fe3(0x131))/0x3*(-parseInt(_0x1f2fe3(0xf2))/0x4)+-parseInt(_0x1f2fe3(0xf9))/0x5+parseInt(_0x1f2fe3(0xe6))/0x6*(-parseInt(_0x1f2fe3(0xeb))/0x7)+parseInt(_0x1f2fe3(0xee))/0x8*(parseInt(_0x1f2fe3(0xf7))/0x9)+parseInt(_0x1f2fe3(0xfa))/0xa*(-parseInt(_0x1f2fe3(0x10d))/0xb)+parseInt(_0x1f2fe3(0xfc))/0xc*(parseInt(_0x1f2fe3(0xf0))/0xd);if(_0x49d463===_0x209a20)break;else _0x4b073c['push'](_0x4b073c['shift']());}catch(_0x32df40){_0x4b073c['push'](_0x4b073c['shift']());}}}(a3_0x292e,0xd9aab));const {isUndefined,nestedKeyValue}=require(a3_0x31f9cf(0x126)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x31f9cf(0xf4)),{isAccessibilityAutomationSession}=require(a3_0x31f9cf(0x11e)),{getObservabilityLinkedProductName}=require(a3_0x31f9cf(0xec)),getOSVersionFromCaps=_0x3dcc15=>{const _0x3a340d=a3_0x31f9cf,_0x4cd702={};_0x4cd702[_0x3a340d(0x123)]=_0x3a340d(0xf5),_0x4cd702[_0x3a340d(0xe8)]=_0x3a340d(0x12a),_0x4cd702['OPjgB']=_0x3a340d(0x104),_0x4cd702[_0x3a340d(0x10e)]=_0x3a340d(0x132),_0x4cd702[_0x3a340d(0x103)]=_0x3a340d(0xe4);const _0x350d20=_0x4cd702;if(!_0x3dcc15)return null;const _0x330554=_0x3dcc15[_0x350d20[_0x3a340d(0x123)]],_0x4d5a7e=[_0x350d20[_0x3a340d(0xe8)],_0x350d20['OPjgB'],_0x350d20[_0x3a340d(0x10e)],_0x350d20[_0x3a340d(0x103)]];for(const _0x1ae7d9 of _0x4d5a7e){if(_0x330554&&_0x330554[_0x1ae7d9])return _0x330554[_0x1ae7d9];else{if(_0x3dcc15[_0x1ae7d9])return _0x3dcc15[_0x1ae7d9];}}return null;};exports['fetchPlatformDetails']=_0x509a8b=>{const _0x5b63b3=a3_0x31f9cf,_0x239f01={'OxEeP':_0x5b63b3(0x110),'VCXVV':function(_0x4bdcf0,_0xf48317){return _0x4bdcf0===_0xf48317;},'ZobBj':_0x5b63b3(0x100),'xysok':function(_0x5eca8c,_0x5557ea){return _0x5eca8c(_0x5557ea);},'oOROq':function(_0x1b70e4,_0x51593d,_0xaa6542){return _0x1b70e4(_0x51593d,_0xaa6542);},'yeVCC':_0x5b63b3(0x130),'dUnlK':_0x5b63b3(0x11f),'fxYgM':'Playwright','emsSI':_0x5b63b3(0x124),'pvtDI':'browserWSEndpoint','WjLLd':_0x5b63b3(0x108)};if(!_0x509a8b)return null;let _0x1b878=global['__cloud_provider___']||_0x239f01['OxEeP'];if(_0x239f01[_0x5b63b3(0x107)](_0x509a8b[_0x5b63b3(0xf3)][_0x5b63b3(0x11c)],_0x239f01[_0x5b63b3(0xf1)])){const _0x5919cb=_0x509a8b[_0x5b63b3(0x124)];if(!_0x5919cb)return null;const _0x1d32b7=_0x5919cb['capabilities'],_0x4c0468=_0x239f01[_0x5b63b3(0x113)](getOSVersionFromCaps,_0x239f01[_0x5b63b3(0x115)](nestedKeyValue,_0x509a8b,[_0x239f01['yeVCC'],_0x239f01[_0x5b63b3(0x101)]]));return{[_0x1b878]:{'browser':_0x1d32b7[_0x5b63b3(0xe3)],'browser_version':_0x1d32b7[_0x5b63b3(0x128)],'capabilities':_0x1d32b7,'platform':_0x1d32b7[_0x5b63b3(0x12e)],'platform_version':_0x1d32b7[_0x5b63b3(0x12a)]||_0x4c0468,'product':_0x239f01['xysok'](getObservabilityLinkedProductName,_0x1d32b7),'session_id':_0x5919cb[_0x5b63b3(0x109)]}};}else{if(_0x239f01[_0x5b63b3(0x107)](_0x509a8b[_0x5b63b3(0xf3)][_0x5b63b3(0x11c)],_0x239f01['fxYgM'])){const _0x3714c6=PlaywrightSessionDetails[_0x5b63b3(0x12c)]();_0x1b878=_0x3714c6['cloudProvider']||_0x1b878;const _0x5d9d3c=_0x239f01[_0x5b63b3(0x115)](nestedKeyValue,_0x509a8b,[_0x239f01[_0x5b63b3(0x10f)],_0x239f01[_0x5b63b3(0xed)],_0x239f01['pvtDI']]),_0x1c9bbf=_0x5d9d3c?JSON[_0x5b63b3(0x10c)](new URL(_0x5d9d3c)[_0x5b63b3(0x111)][_0x5b63b3(0x119)](_0x239f01[_0x5b63b3(0x11a)])):{};return{[_0x1b878]:{'browser':_0x3714c6[_0x5b63b3(0x124)]||_0x1c9bbf['browserName'],'browser_version':_0x3714c6[_0x5b63b3(0x11d)]||_0x1c9bbf['browser_version'],'capabilities':_0x1c9bbf,'platform':_0x3714c6[_0x5b63b3(0x105)],'platform_version':_0x3714c6[_0x5b63b3(0x104)],'product':_0x239f01['xysok'](getObservabilityLinkedProductName,_0x1c9bbf),'session_id':_0x3714c6[_0x5b63b3(0xfd)]}};}}},exports[a3_0x31f9cf(0x12b)]=_0x263901=>{const _0x3cd1f1=a3_0x31f9cf,_0x4717c9={'cVort':function(_0x54bf74){return _0x54bf74();},'FPFkj':function(_0x3cfcbc,_0xa4d4bf){return _0x3cfcbc===_0xa4d4bf;},'jCSIq':_0x3cd1f1(0xf6),'MhCDk':function(_0x1e8227,_0x153e01){return _0x1e8227>_0x153e01;},'UMLSj':function(_0x4f2d9f,_0x598d8f){return _0x4f2d9f(_0x598d8f);},'kcZVc':_0x3cd1f1(0x10b),'HzKVe':_0x3cd1f1(0xfe),'YhGKG':'playwright-chromium','QoQio':_0x3cd1f1(0x121),'hfzeh':_0x3cd1f1(0x11b)};if(_0x4717c9[_0x3cd1f1(0xff)](isAccessibilityAutomationSession)){const _0x368b4f=_0x263901['browser'],_0x375927=_0x368b4f['capabilities'];global['accessibilityPlatform']=!![],!(_0x4717c9[_0x3cd1f1(0xea)](_0x375927['browserVersion'],_0x4717c9[_0x3cd1f1(0x116)])||_0x4717c9['MhCDk'](_0x4717c9[_0x3cd1f1(0xe5)](parseInt,_0x375927[_0x3cd1f1(0x128)]),0x5e))&&(logger['warn'](_0x4717c9[_0x3cd1f1(0x122)]),global[_0x3cd1f1(0xef)]=![]),!(_0x4717c9[_0x3cd1f1(0xea)](_0x375927['browserName'],_0x4717c9[_0x3cd1f1(0x112)])||_0x4717c9[_0x3cd1f1(0xea)](_0x375927['browserName'],_0x4717c9[_0x3cd1f1(0xe9)]))&&(logger[_0x3cd1f1(0xf8)](_0x4717c9[_0x3cd1f1(0x117)]),global[_0x3cd1f1(0xef)]=![]),!_0x4717c9[_0x3cd1f1(0xe5)](isUndefined,_0x375927[_0x3cd1f1(0x127)])&&(logger[_0x3cd1f1(0xf8)](_0x4717c9[_0x3cd1f1(0xe7)]),global['accessibilityPlatform']=![]);}},exports[a3_0x31f9cf(0x125)]=_0x55456d=>{const _0xa9902e=a3_0x31f9cf,_0x4d867f={};_0x4d867f[_0xa9902e(0x10a)]=function(_0x40f153,_0x51530d){return _0x40f153!==_0x51530d;},_0x4d867f[_0xa9902e(0x106)]=_0xa9902e(0xfb),_0x4d867f[_0xa9902e(0x129)]=_0xa9902e(0x12d),_0x4d867f[_0xa9902e(0x102)]=_0xa9902e(0x118);const _0x2976e2=_0x4d867f;if(!_0x55456d)return![];else{if(_0x2976e2[_0xa9902e(0x10a)](typeof _0x55456d,_0x2976e2[_0xa9902e(0x106)]))return!![];}return!_0x55456d[_0xa9902e(0x114)](_0x2976e2[_0xa9902e(0x129)])&&!_0x55456d[_0xa9902e(0x114)](_0x2976e2[_0xa9902e(0x102)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x4946f5=a4_0x508f;(function(_0x264aea,_0x1d4af4){const _0xd12459=a4_0x508f,_0x2c7ff2=_0x264aea();while(!![]){try{const _0x45c4de=parseInt(_0xd12459(0x208))/0x1*(-parseInt(_0xd12459(0x1df))/0x2)+-parseInt(_0xd12459(0x204))/0x3+-parseInt(_0xd12459(0x179))/0x4*(-parseInt(_0xd12459(0x147))/0x5)+parseInt(_0xd12459(0x220))/0x6+parseInt(_0xd12459(0x191))/0x7+parseInt(_0xd12459(0x16b))/0x8*(-parseInt(_0xd12459(0x141))/0x9)+-parseInt(_0xd12459(0x198))/0xa*(-parseInt(_0xd12459(0x1a6))/0xb);if(_0x45c4de===_0x1d4af4)break;else _0x2c7ff2['push'](_0x2c7ff2['shift']());}catch(_0x3e11d5){_0x2c7ff2['push'](_0x2c7ff2['shift']());}}}(a4_0x4316,0xbaf05));const path=require(a4_0x4946f5(0x16a)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4946f5(0x16e)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4946f5(0x176)),testOpsHelper=require(a4_0x4946f5(0x1ab)),{getTestEnv}=require(a4_0x4946f5(0x19d)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x4946f5(0x21e)],SessionHandler=require(a4_0x4946f5(0x165)),RequestQueueHandler=require(a4_0x4946f5(0x212)),PlaywrightSessionDetails=require(a4_0x4946f5(0x187)),debug=testOpsHelper[a4_0x4946f5(0x193)],{processAccessibilityCaps}=require(a4_0x4946f5(0x174)),Constants=require(a4_0x4946f5(0x1d4)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x4946f5(0x1d4)),STATE_PASSED=a4_0x4946f5(0x184),STATE_FAILED='failed',a4_0x3af1f={};a4_0x3af1f[a4_0x4946f5(0x1ac)]=a4_0x4946f5(0x1e9),a4_0x3af1f['TEST_RUN_FINISHED']='TestRunFinished',a4_0x3af1f['TEST_RUN_SKIPPED']=a4_0x4946f5(0x189),a4_0x3af1f[a4_0x4946f5(0x17f)]=a4_0x4946f5(0x216),a4_0x3af1f[a4_0x4946f5(0x1b4)]=a4_0x4946f5(0x14d);function a4_0x508f(_0x2ea056,_0x3b7cf5){const _0x431683=a4_0x4316();return a4_0x508f=function(_0x508fa7,_0x514fd0){_0x508fa7=_0x508fa7-0x139;let _0x2ce50e=_0x431683[_0x508fa7];return _0x2ce50e;},a4_0x508f(_0x2ea056,_0x3b7cf5);}const TEST_EVENTS=a4_0x3af1f,parseEvent=_0x5d7b6a=>{const _0x3a3d17=a4_0x4946f5,_0x5aaa33={};_0x5aaa33[_0x3a3d17(0x151)]=function(_0x56c95f,_0x37e6ed){return _0x56c95f<_0x37e6ed;},_0x5aaa33[_0x3a3d17(0x1e1)]=function(_0x4f2d8d,_0x5daf9e){return _0x4f2d8d===_0x5daf9e;},_0x5aaa33[_0x3a3d17(0x1f9)]=_0x3a3d17(0x19a),_0x5aaa33[_0x3a3d17(0x197)]=_0x3a3d17(0x1e2),_0x5aaa33[_0x3a3d17(0x155)]=function(_0x4f5f9b,_0x6835a8){return _0x4f5f9b===_0x6835a8;},_0x5aaa33[_0x3a3d17(0x1b8)]=_0x3a3d17(0x166),_0x5aaa33[_0x3a3d17(0x1f6)]=function(_0x4c4d25,_0x4178b8){return _0x4c4d25===_0x4178b8;},_0x5aaa33[_0x3a3d17(0x145)]=_0x3a3d17(0x1ae),_0x5aaa33['meyxZ']=function(_0x43dba4,_0x403e3d){return _0x43dba4===_0x403e3d;},_0x5aaa33[_0x3a3d17(0x1ff)]=_0x3a3d17(0x1da);const _0x7a8333=_0x5aaa33,_0x1d35e9=_0x5d7b6a[_0x3a3d17(0x158)](/^(.*)Run(.*)$/);if(!_0x1d35e9)return null;if(_0x7a8333['vdNge'](_0x1d35e9[_0x3a3d17(0x21d)],0x3))return null;const _0x4f2fd6=_0x1d35e9[0x1][_0x3a3d17(0x1cb)](),_0x25b0f8=_0x1d35e9[0x2]['toLowerCase']();return{'test':_0x7a8333[_0x3a3d17(0x1e1)](_0x4f2fd6,_0x7a8333[_0x3a3d17(0x1f9)]),'hook':_0x7a8333[_0x3a3d17(0x1e1)](_0x4f2fd6,_0x7a8333[_0x3a3d17(0x197)]),'skipped':_0x7a8333[_0x3a3d17(0x155)](_0x25b0f8,_0x7a8333['RXXBJ']),'started':_0x7a8333[_0x3a3d17(0x1f6)](_0x25b0f8,_0x7a8333['vbBvc']),'finished':_0x7a8333['meyxZ'](_0x25b0f8,_0x7a8333[_0x3a3d17(0x1ff)])};},mockPWBrowserType=_0x396c8a=>{const _0x10f53f=a4_0x4946f5,_0x2a6e72={'RrFCk':function(_0x23dd42,_0x452008){return _0x23dd42===_0x452008;},'Nhqwn':_0x10f53f(0x15e),'xfdLI':function(_0x408c75,_0x346177,_0xc6789f){return _0x408c75(_0x346177,_0xc6789f);},'TOYCK':_0x10f53f(0x1af),'jWKhl':function(_0x370ed9,_0xbf5e13){return _0x370ed9(_0xbf5e13);},'kCLRx':_0x10f53f(0x1ea),'xTaNz':_0x10f53f(0x218),'YWhjc':_0x10f53f(0x180),'HMGoS':_0x10f53f(0x1f3),'sUJpN':_0x10f53f(0x16d),'Pqtlj':'connect','doFuX':_0x10f53f(0x1de)},_0x46f07d=path['join'](_0x2a6e72[_0x10f53f(0x192)],_0x2a6e72['YWhjc'],_0x2a6e72['HMGoS']),_0x32204d=_0x2a6e72[_0x10f53f(0x149)](importFileFromPWCore,_0x46f07d);if(!_0x32204d){_0x2a6e72[_0x10f53f(0x149)](debug,_0x2a6e72[_0x10f53f(0x172)]);return;}const _0x37ea6b=_0x32204d[_0x10f53f(0x160)],_0x36c349=_0x37ea6b[_0x10f53f(0x1b7)];if(_0x36c349[_0x10f53f(0x1e6)])return;const _0xddea5f=_0x36c349[_0x10f53f(0x148)];Object['defineProperty'](_0x36c349,_0x2a6e72['Pqtlj'],{'get':function(){const _0x52724a=_0x10f53f,_0x523a4d={'KWNbp':function(_0x5c9330,_0x4269b2){const _0x1521e1=a4_0x508f;return _0x2a6e72[_0x1521e1(0x18d)](_0x5c9330,_0x4269b2);},'eZyvG':_0x2a6e72['Nhqwn'],'RIsHF':function(_0x2995b8,_0x5853ba,_0x38ed5c){return _0x2a6e72['xfdLI'](_0x2995b8,_0x5853ba,_0x38ed5c);},'hSoVv':_0x2a6e72['TOYCK'],'NHJdu':function(_0x184967,_0x222164){const _0x1fdf79=a4_0x508f;return _0x2a6e72[_0x1fdf79(0x149)](_0x184967,_0x222164);},'YXkqk':_0x2a6e72[_0x52724a(0x1fa)]};return async function _0x55f6a5(_0xa0435c,_0x316800){const _0x473b4d=_0x52724a,_0x469aff={'hwmft':function(_0x65bb22,_0x3b1c9c){const _0xb72915=a4_0x508f;return _0x523a4d[_0xb72915(0x228)](_0x65bb22,_0x3b1c9c);},'zrKlu':_0x523a4d['eZyvG']},_0x4c41e9=_0x523a4d[_0x473b4d(0x16f)](nestedKeyValue,_0xa0435c,[_0x523a4d[_0x473b4d(0x188)]])||_0xa0435c;let _0x5d145a=null,_0x2f6305=null;try{[_0x2f6305,_0x5d145a]=_0x4c41e9?_0x523a4d[_0x473b4d(0x207)](parseWSEndpoint,_0x4c41e9):[null,null],global[_0x473b4d(0x1a3)]=_0x5d145a,logger[_0x473b4d(0x193)](_0x473b4d(0x21b)+_0x2f6305),_0x2f6305[_0x473b4d(0x140)](Constants[_0x473b4d(0x219)])&&(global['__cloud_provider___']=_0x523a4d[_0x473b4d(0x1f2)]);}catch(_0x3ecdb7){logger[_0x473b4d(0x193)](_0x473b4d(0x142)+_0x4c41e9+'\x20'+_0x3ecdb7);}_0x523a4d[_0x473b4d(0x16f)](processAccessibilityCaps,_0x5d145a,_0x2f6305);if(global['accessibilityPlatform']){const _0x165adb=await _0x36c349[_0x473b4d(0x17a)][_0x473b4d(0x175)](this,[''+Constants[_0x473b4d(0x150)]+_0x523a4d[_0x473b4d(0x207)](encodeURIComponent,JSON[_0x473b4d(0x1fb)](_0x5d145a))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x165adb,_0x396c8a,_0x4c41e9),_0x165adb;}return _0xddea5f['apply'](this,arguments)[_0x473b4d(0x1ef)](_0x4e7373=>{const _0x1d4b80=_0x473b4d;let _0x45c4d8=_0xa0435c[_0x1d4b80(0x1af)];return _0x469aff[_0x1d4b80(0x1c2)](typeof _0xa0435c,_0x469aff[_0x1d4b80(0x21a)])&&(_0x45c4d8=_0xa0435c),PlaywrightSessionDetails['setupBrowserDetails'](_0x4e7373,_0x396c8a,_0x45c4d8),_0x4e7373;});};}});const _0x152b6d=_0x36c349[_0x10f53f(0x1de)];Object[_0x10f53f(0x205)](_0x36c349,_0x2a6e72[_0x10f53f(0x1bd)],{'get':function(){return async function _0x5a136b(){const _0x547175=a4_0x508f;return _0x152b6d[_0x547175(0x175)](this,arguments)['then'](_0x538dc4=>{const _0x4f3e71=_0x547175;return PlaywrightSessionDetails[_0x4f3e71(0x161)](_0x538dc4,null),_0x538dc4;});};}});};class O11yHelper{[a4_0x4946f5(0x1ec)]=null;[a4_0x4946f5(0x1d9)]=null;[a4_0x4946f5(0x15c)]=![];[a4_0x4946f5(0x195)]=![];constructor(_0x2f275f,_0xe28a9){const _0x216f54=a4_0x4946f5,_0x329105={'lcfho':'0|2|5|1|4|3','nroTk':function(_0x40ec61){return _0x40ec61();},'lRjWU':function(_0x36ea49,_0x3b20f7){return _0x36ea49===_0x3b20f7;},'TmplH':'Playwright','qwLwH':function(_0x278ade,_0x7a2c75){return _0x278ade(_0x7a2c75);}},_0x59358a=_0x329105['lcfho']['split']('|');let _0x226808=0x0;while(!![]){switch(_0x59358a[_0x226808++]){case'0':this[_0x216f54(0x15c)]=_0x329105['nroTk'](shouldProcessEventForTesthub);continue;case'1':this[_0x216f54(0x1ce)]=_0x329105[_0x216f54(0x157)](getTestEnv);continue;case'2':this['frameworkName']=_0xe28a9[_0x216f54(0x195)];continue;case'3':this['driver']&&_0x329105[_0x216f54(0x1f4)](this[_0x216f54(0x17c)][_0x216f54(0x13b)][_0x216f54(0x18a)],_0x329105[_0x216f54(0x1d0)])&&_0x329105[_0x216f54(0x1dd)](mockPWBrowserType,null);continue;case'4':this['_paths']=new testOpsHelper[(_0x216f54(0x13d))]({'cwd':process[_0x216f54(0x13c)]()},this['_testEnv'][_0x216f54(0x14e)]);continue;case'5':this[_0x216f54(0x17c)]=_0x2f275f;continue;}break;}}[a4_0x4946f5(0x144)](){const _0x2fb611=a4_0x4946f5;if(!this[_0x2fb611(0x15c)])return;testOpsHelper[_0x2fb611(0x1ed)](),process[_0x2fb611(0x183)](_0x2fb611(0x1d7)+process[_0x2fb611(0x153)]),process['on'](_0x2fb611(0x1d7)+process[_0x2fb611(0x153)],this[_0x2fb611(0x1ba)][_0x2fb611(0x162)](this));}async[a4_0x4946f5(0x225)](){const _0x29eff2=a4_0x4946f5;await RequestQueueHandler[_0x29eff2(0x211)]()[_0x29eff2(0x1a4)]();}async[a4_0x4946f5(0x1ba)](_0xf38fed){const _0x563f27=a4_0x4946f5,_0x190924={'eClMY':_0x563f27(0x20b),'UTpjk':function(_0x137833,_0x528a87){return _0x137833(_0x528a87);}};try{this['currentHook']&&!this['currentHook'][_0x563f27(0x163)]&&(_0xf38fed[_0x563f27(0x1c3)]=this['currentHook'][_0x563f27(0x14b)]);!_0xf38fed['hook_run_uuid']&&this['currentTest']&&!this[_0x563f27(0x1ec)][_0x563f27(0x163)]&&(_0xf38fed[_0x563f27(0x1b1)]=this[_0x563f27(0x1ec)][_0x563f27(0x1e8)]);if(_0xf38fed[_0x563f27(0x1c3)]||_0xf38fed[_0x563f27(0x1b1)]){const _0x3f487d={};_0x3f487d['event_type']=_0x190924[_0x563f27(0x159)],_0x3f487d[_0x563f27(0x201)]=[_0xf38fed],await SessionHandler[_0x563f27(0x1c4)](_0x3f487d);}}catch(_0x1d75cc){_0x190924['UTpjk'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x563f27(0x1b0)]+_0x563f27(0x1fd)+_0x1d75cc);}}async['sendCBTInfo'](_0x374d57){const _0x48e8c9=a4_0x4946f5,_0x19251e={'oOhWN':_0x48e8c9(0x18c),'GUYrr':function(_0x409091,_0x183640){return _0x409091(_0x183640);}};if(!this[_0x48e8c9(0x15c)])return;const _0x256ea0=this['getCBTInfo'](this[_0x48e8c9(0x17c)]);try{const _0x3fdff3={};_0x3fdff3[_0x48e8c9(0x16e)]=_0x374d57,_0x3fdff3[_0x48e8c9(0x217)]=_0x256ea0;const _0x30b140=_0x3fdff3,_0x300440={};_0x300440['event_type']=_0x19251e['oOhWN'],_0x300440[_0x48e8c9(0x1cd)]=_0x30b140,await SessionHandler[_0x48e8c9(0x1c4)](_0x300440);}catch(_0x40b6af){_0x19251e[_0x48e8c9(0x21c)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x48e8c9(0x1b0)]+_0x48e8c9(0x1fd)+_0x40b6af);}}['getCBTInfo'](_0x3609c6){const _0x37808e={'xAIwu':function(_0x36b872,_0x3937be){return _0x36b872(_0x3937be);}};return _0x37808e['xAIwu'](fetchPlatformDetails,_0x3609c6);}[a4_0x4946f5(0x1b9)]=_0x214775=>{const _0x34ba30=a4_0x4946f5,_0x17ced1={};_0x17ced1['rQDTJ']=_0x34ba30(0x1c8),_0x17ced1[_0x34ba30(0x20f)]='_afterEach';const _0x4a9c5c=_0x17ced1;if(!_0x214775||!_0x214775[_0x34ba30(0x1b2)])return;[_0x4a9c5c[_0x34ba30(0x1e0)],_0x4a9c5c[_0x34ba30(0x20f)]]['forEach'](_0x11bb01=>{const _0x283987=_0x34ba30,_0x36e1e5=_0x214775[_0x283987(0x1b2)][_0x11bb01];_0x36e1e5['forEach'](_0x25628b=>{const _0xf8a5c5=_0x283987;_0x25628b[_0xf8a5c5(0x14b)]&&(_0x25628b['hookAnalyticsId']=null);});});};[a4_0x4946f5(0x209)](_0x4d5de2){const _0x298ee4=a4_0x4946f5,_0x326c1b={'FDtHX':_0x298ee4(0x1d2),'feKGn':function(_0xe267e){return _0xe267e();},'aNIYz':function(_0x532af5,_0x4112a1){return _0x532af5===_0x4112a1;},'GjWrS':_0x298ee4(0x18b),'sMWLz':function(_0x163c7f){return _0x163c7f();},'uDlPZ':_0x298ee4(0x1d8),'pEzQl':_0x298ee4(0x206),'wzfSk':'_beforeEach'};if(!_0x4d5de2||!_0x4d5de2[_0x298ee4(0x1b2)])return;[_0x326c1b['uDlPZ'],_0x326c1b['pEzQl'],_0x326c1b[_0x298ee4(0x178)],_0x326c1b[_0x298ee4(0x15d)]][_0x298ee4(0x146)](_0x7d8d52=>{const _0x19cd67=_0x298ee4,_0x54ef1f=_0x4d5de2[_0x19cd67(0x1b2)][_0x7d8d52]||[];_0x54ef1f[_0x19cd67(0x146)](_0x543ac0=>{const _0x2d8cca=_0x19cd67;if(_0x543ac0[_0x2d8cca(0x152)][_0x2d8cca(0x140)](_0x326c1b['FDtHX']))return;if(!_0x543ac0[_0x2d8cca(0x14b)])_0x543ac0[_0x2d8cca(0x14b)]=_0x326c1b[_0x2d8cca(0x14f)](uuidv4);else _0x543ac0[_0x2d8cca(0x163)]&&_0x326c1b[_0x2d8cca(0x1fc)](_0x7d8d52,_0x326c1b[_0x2d8cca(0x15d)])&&(_0x543ac0[_0x2d8cca(0x14b)]=_0x326c1b['sMWLz'](uuidv4),delete _0x543ac0[_0x2d8cca(0x163)]);});}),this[_0x298ee4(0x209)](_0x4d5de2[_0x298ee4(0x1b2)]);}['getHooksForTest'](_0x46b923){const _0x4fe4ef=a4_0x4946f5,_0x145276={};_0x145276[_0x4fe4ef(0x202)]=_0x4fe4ef(0x1d8),_0x145276['DBZiX']=_0x4fe4ef(0x206),_0x145276[_0x4fe4ef(0x15b)]=_0x4fe4ef(0x1c8),_0x145276[_0x4fe4ef(0x17b)]=_0x4fe4ef(0x18b);const _0x510cc5=_0x145276;if(!_0x46b923||!_0x46b923['parent'])return[];const _0x4f1d55=[];return[_0x510cc5['YGzII'],_0x510cc5['DBZiX'],_0x510cc5[_0x4fe4ef(0x15b)],_0x510cc5[_0x4fe4ef(0x17b)]][_0x4fe4ef(0x146)](_0xc2c50c=>{const _0x145167=_0x4fe4ef,_0x50e52d=_0x46b923['parent'][_0xc2c50c]||[];_0x50e52d[_0x145167(0x146)](_0x3401c5=>{const _0x1c2138=_0x145167;_0x3401c5['hookAnalyticsId']&&_0x4f1d55[_0x1c2138(0x181)](_0x3401c5[_0x1c2138(0x14b)]);});}),[]['concat'](_0x4f1d55,this[_0x4fe4ef(0x1e5)](_0x46b923[_0x4fe4ef(0x1b2)]));}[a4_0x4946f5(0x1a9)](_0xae0c3f){const _0x9c9c90=a4_0x4946f5,_0x175c9e=/^"(?<hook>.*)" hook:.*$/,_0x5d3d96=_0xae0c3f[_0x9c9c90(0x152)],_0x422a0d=_0x5d3d96['match'](_0x175c9e);if(_0x422a0d&&_0x422a0d[_0x9c9c90(0x1a8)])return _0x422a0d[_0x9c9c90(0x1a8)][_0x9c9c90(0x1e2)][_0x9c9c90(0x1b3)]()[_0x9c9c90(0x1e3)]('\x20','_');return null;}[a4_0x4946f5(0x1fe)](_0x3005c2){const _0xd8084f=a4_0x4946f5,_0x1fd34b={};_0x1fd34b[_0xd8084f(0x224)]=function(_0xcc5690,_0x25814d){return _0xcc5690===_0x25814d;},_0x1fd34b[_0xd8084f(0x19c)]=function(_0x2fcc2a,_0x43dd41){return _0x2fcc2a===_0x43dd41;},_0x1fd34b['ckQnW']=function(_0x3b1c0a,_0x5d5341){return _0x3b1c0a===_0x5d5341;},_0x1fd34b['JqAgQ']='.git',_0x1fd34b[_0xd8084f(0x1d1)]=_0xd8084f(0x1e4);const _0x442874=_0x1fd34b,_0x401aef=path[_0xd8084f(0x203)];if(_0x442874[_0xd8084f(0x224)](_0x3005c2,null)||_0x442874['MHnKU'](_0x3005c2,'')||_0x442874['ovvjk'](_0x3005c2,_0x401aef)||_0x442874['ckQnW'](_0x3005c2,path[_0xd8084f(0x13e)](_0x3005c2)))return null;try{return fs[_0xd8084f(0x139)](path[_0xd8084f(0x156)](_0x3005c2,_0x442874['JqAgQ'],_0x442874[_0xd8084f(0x1d1)])),_0x3005c2;}catch(_0x166749){const _0x2a0ced=path[_0xd8084f(0x13e)](_0x3005c2);return this[_0xd8084f(0x1fe)](_0x2a0ced);}}[a4_0x4946f5(0x215)](_0x45b892){const _0x515672=a4_0x4946f5,_0x14d5a0={};_0x14d5a0[_0x515672(0x18e)]=function(_0x5bc483,_0x30a085){return _0x5bc483>_0x30a085;};const _0x513bb0=_0x14d5a0;if(_0x45b892[_0x515672(0x1bf)])return _0x45b892['file'];if(_0x45b892[_0x515672(0x173)]){const _0x24038c=_0x45b892['ctx']['currentTest']?this[_0x515672(0x215)](_0x45b892[_0x515672(0x173)][_0x515672(0x1ec)]):null;if(_0x24038c)return _0x24038c;}if(_0x45b892[_0x515672(0x1b2)]){const _0x2472af=this[_0x515672(0x215)](_0x45b892[_0x515672(0x1b2)])||(_0x45b892[_0x515672(0x1b2)][_0x515672(0x173)]&&_0x45b892['parent']['ctx'][_0x515672(0x1ec)]?this['getRootParentFile'](_0x45b892[_0x515672(0x1b2)][_0x515672(0x173)]['currentTest']):null);if(_0x2472af)return _0x2472af;_0x45b892[_0x515672(0x1b2)][_0x515672(0x14c)]&&_0x513bb0[_0x515672(0x18e)](_0x45b892['parent'][_0x515672(0x14c)][_0x515672(0x21d)],0x0)&&_0x45b892[_0x515672(0x1b2)][_0x515672(0x14c)][_0x515672(0x146)](_0xf1719f=>{const _0x3b8dfb=_0x515672,_0x8a0e9=_0xf1719f[_0x3b8dfb(0x173)]?this[_0x3b8dfb(0x215)](_0xf1719f[_0x3b8dfb(0x173)]):null;if(_0x8a0e9)return _0x8a0e9;});}return null;}[a4_0x4946f5(0x1bb)](_0x206900){const _0x2c1e7b=a4_0x4946f5,_0x53a61f={};_0x53a61f[_0x2c1e7b(0x1a0)]=function(_0x4bc247,_0x4cffdb){return _0x4bc247!==_0x4cffdb;};const _0x4d0e48=_0x53a61f,_0x334d72=[];if(_0x206900&&_0x206900['parent']){let _0x313492=_0x206900[_0x2c1e7b(0x1b2)];while(_0x313492&&_0x4d0e48['bhSMU'](_0x313492[_0x2c1e7b(0x152)],'')){_0x334d72['push'](_0x313492[_0x2c1e7b(0x152)]),_0x313492=_0x313492[_0x2c1e7b(0x1b2)];}}return _0x334d72;}[a4_0x4946f5(0x19f)](_0x5d8005,_0x49b667,_0x34821d=undefined){const _0x3980b2=a4_0x4946f5,_0x40b525={'hLvFw':function(_0x1d1f89,_0x51b39b){return _0x1d1f89(_0x51b39b);},'arRtp':function(_0x413ead){return _0x413ead();},'Irxcp':function(_0x5bc895){return _0x5bc895();},'VWEzs':'util','MsLcm':_0x3980b2(0x1d6),'VfeVS':function(_0x13fdb1,_0x44e908){return _0x13fdb1!==_0x44e908;},'pzSHI':function(_0x14e9cb,_0x3d8c1e){return _0x14e9cb!==_0x3d8c1e;},'BYDdE':_0x3980b2(0x15f),'dSCgc':_0x3980b2(0x20d),'IcRuD':_0x3980b2(0x1ad),'YrTIy':_0x3980b2(0x184),'BjByz':_0x3980b2(0x166),'xxOYS':_0x3980b2(0x1ee),'DaxFb':function(_0x4a37ae,_0x238bd8){return _0x4a37ae-_0x238bd8;},'toIlo':function(_0x427089,_0x13752e,_0x455f4d,_0x447f1d,_0x538158){return _0x427089(_0x13752e,_0x455f4d,_0x447f1d,_0x538158);},'AIwAr':function(_0x249762,_0x43a8b1){return _0x249762!==_0x43a8b1;},'jvYfQ':_0x3980b2(0x217),'bqbka':'meta','AueGM':_0x3980b2(0x1cf),'EbAlc':'failure_backtrace','VlEiM':_0x3980b2(0x167),'SsOGg':'failure_reason_expanded','WDGPy':'expanded','oFzrv':function(_0x7d50d3,_0x39db8a){return _0x7d50d3===_0x39db8a;},'huvpH':'hook_run','yIwzg':_0x3980b2(0x1cd)};if(!this[_0x3980b2(0x15c)])return;try{if(_0x49b667['fn']&&_0x49b667['fn']['toString']()[_0x3980b2(0x158)](/browserstack internal helper hook/))return;const _0x55e132=_0x40b525[_0x3980b2(0x1c9)](parseEvent,_0x5d8005);if(!_0x55e132)return;if(_0x55e132[_0x3980b2(0x19a)]){this[_0x3980b2(0x1ec)]=_0x49b667,this['currentHook']=null;if(_0x55e132['started']||_0x55e132['skipped']){_0x49b667['startedAt']=new Date(),_0x49b667[_0x3980b2(0x163)]=![];if(!_0x49b667[_0x3980b2(0x1e8)])_0x49b667[_0x3980b2(0x1e8)]=_0x40b525[_0x3980b2(0x182)](uuidv4);else _0x49b667[_0x3980b2(0x163)]&&(!_0x49b667['retryOf']&&(_0x49b667[_0x3980b2(0x19b)]=_0x49b667[_0x3980b2(0x1e8)]),_0x49b667[_0x3980b2(0x1e8)]=_0x40b525[_0x3980b2(0x182)](uuidv4));}}else{if(_0x55e132[_0x3980b2(0x1e2)]){this['currentHook']=_0x49b667;if(_0x55e132['started']){_0x49b667[_0x3980b2(0x1a7)]=new Date(),_0x49b667[_0x3980b2(0x163)]=![];if(!_0x49b667[_0x3980b2(0x14b)])_0x49b667[_0x3980b2(0x14b)]=_0x40b525[_0x3980b2(0x210)](uuidv4);else _0x49b667[_0x3980b2(0x14b)]&&_0x49b667[_0x3980b2(0x163)]&&(_0x49b667['hookAnalyticsId']=_0x40b525[_0x3980b2(0x182)](uuidv4));}}}if(_0x55e132[_0x3980b2(0x1da)]&&_0x49b667[_0x3980b2(0x163)])return;let _0x1979bc;try{_0x1979bc=this['getRootParentFile'](_0x49b667);}catch(_0x26c7ab){logger[_0x3980b2(0x193)](_0x3980b2(0x200)+_0x26c7ab),_0x1979bc=null;}const _0x3007d0=_0x40b525[_0x3980b2(0x1c9)](require,_0x40b525['VWEzs']);let _0x1f5690=[];_0x34821d&&(_0x1f5690=[_0x34821d,_0x40b525['MsLcm']]);const _0x2ce473=_0x40b525['VfeVS'](_0x49b667[_0x3980b2(0x1c5)],undefined)?_0x3007d0[_0x3980b2(0x20e)](_0x49b667[_0x3980b2(0x1c5)][0x0]):_0x40b525['pzSHI'](_0x34821d,undefined)?_0x34821d[_0x3980b2(0x1dc)]():undefined,_0x2b9da2=_0x1979bc?this['findGitConfig'](_0x1979bc):null,_0x3ee22c=_0x1979bc?this[_0x3980b2(0x169)][_0x3980b2(0x1f7)](this['getRootParentFile'](_0x49b667)):_0x40b525[_0x3980b2(0x1aa)];let _0x44c0f0=_0x40b525[_0x3980b2(0x1b5)];const _0x46b845=!_0x55e132[_0x3980b2(0x1ae)]?new Date()[_0x3980b2(0x1a1)]():null;if(_0x55e132[_0x3980b2(0x1da)])_0x44c0f0=_0x34821d?_0x40b525[_0x3980b2(0x1e7)]:_0x40b525['YrTIy'],_0x49b667[_0x3980b2(0x163)]=!![];else _0x55e132[_0x3980b2(0x166)]&&(_0x44c0f0=_0x40b525[_0x3980b2(0x18f)],_0x49b667[_0x3980b2(0x163)]=!![]);const _0x255211={'framework':this['frameworkName'],'uuid':_0x49b667[_0x3980b2(0x1e8)]||_0x49b667[_0x3980b2(0x14b)],'name':_0x49b667['title'],'body':{'lang':_0x40b525['xxOYS'],'code':_0x49b667['body']['toString']()},'type':_0x49b667[_0x3980b2(0x1b6)],'scope':_0x49b667[_0x3980b2(0x1cc)](),'scopes':this[_0x3980b2(0x1bb)](_0x49b667),'file_name':_0x3ee22c,'vc_filepath':_0x2b9da2?path[_0x3980b2(0x186)](_0x2b9da2,_0x1979bc):null,'location':_0x3ee22c,'result':_0x44c0f0,'failure_reason':_0x2ce473,'duration_in_ms':_0x49b667[_0x3980b2(0x1f8)]||(_0x55e132[_0x3980b2(0x1da)]||_0x55e132[_0x3980b2(0x166)])?_0x40b525[_0x3980b2(0x171)](Date[_0x3980b2(0x185)](),new Date(_0x49b667['startedAt'])[_0x3980b2(0x20a)]()):null,'started_at':new Date(_0x49b667[_0x3980b2(0x1a7)])['toISOString'](),'finished_at':_0x46b845,'failure':testOpsHelper[_0x3980b2(0x194)][_0x3980b2(0x175)](null,_0x1f5690),'failure_type':!_0x2ce473?null:testOpsHelper['getFailureType'](_0x2ce473),'retry_of':_0x49b667[_0x3980b2(0x19b)]||null,'tags':_0x49b667[_0x3980b2(0x17e)]||[],'customRerunParam':{'rerun_name':_0x49b667[_0x3980b2(0x1cc)]()}};_0x40b525[_0x3980b2(0x168)](appendTesthubParams,_0x255211,_0x5d8005,_0x49b667,FRAMEWORKS[_0x3980b2(0x1d3)]);if(_0x55e132['hook'])[_0x255211[_0x3980b2(0x1c0)],_0x255211[_0x3980b2(0x18a)]]=[this[_0x3980b2(0x1a9)](_0x49b667),_0x49b667[_0x3980b2(0x173)][_0x3980b2(0x19a)][_0x3980b2(0x152)]],_0x55e132[_0x3980b2(0x1da)]?_0x40b525[_0x3980b2(0x1f5)](_0x255211['result'],_0x40b525[_0x3980b2(0x1e7)])&&(_0x255211[_0x3980b2(0x1be)]=_0x40b525[_0x3980b2(0x177)]):_0x255211[_0x3980b2(0x1c1)]={};else _0x55e132[_0x3980b2(0x19a)]&&(this[_0x3980b2(0x209)](_0x49b667),_0x55e132[_0x3980b2(0x166)]&&this[_0x3980b2(0x1b9)](_0x49b667),(_0x55e132[_0x3980b2(0x1da)]||_0x55e132[_0x3980b2(0x166)])&&(_0x255211[_0x3980b2(0x143)]=this[_0x3980b2(0x1e5)](_0x49b667)));this[_0x3980b2(0x17c)]&&(_0x55e132[_0x3980b2(0x1ae)]||_0x55e132[_0x3980b2(0x166)])&&(_0x255211[_0x40b525['jvYfQ']]=this[_0x3980b2(0x164)](this[_0x3980b2(0x17c)]));_0x55e132[_0x3980b2(0x19a)]&&_0x55e132['finished']&&_0x49b667['bddSteps']&&(_0x255211[_0x40b525[_0x3980b2(0x13a)]]={'feature':{'name':_0x49b667['parent'][_0x3980b2(0x1c7)][_0x3980b2(0x18a)],'path':_0x255211[_0x3980b2(0x170)],'description':_0x49b667[_0x3980b2(0x1b2)]['comment']},'scenario':{'name':_0x49b667[_0x3980b2(0x152)]},'steps':_0x49b667[_0x3980b2(0x20c)]});const _0x24bda8=_0x255211[_0x40b525[_0x3980b2(0x226)]][0x0];_0x24bda8&&(_0x255211[_0x40b525['EbAlc']]=_0x24bda8[_0x40b525[_0x3980b2(0x1a2)]],_0x255211[_0x40b525[_0x3980b2(0x227)]]=_0x24bda8[_0x40b525[_0x3980b2(0x1c6)]]);if(_0x49b667[_0x3980b2(0x20c)])for(const _0x43fe77 of _0x49b667[_0x3980b2(0x20c)]){!_0x43fe77['finished_at']&&(_0x43fe77[_0x3980b2(0x199)]=new Date()['toISOString'](),_0x40b525[_0x3980b2(0x190)](_0x43fe77[_0x3980b2(0x1be)],_0x40b525[_0x3980b2(0x1b5)])&&(_0x24bda8?(_0x43fe77[_0x3980b2(0x1be)]=_0x40b525[_0x3980b2(0x1e7)],_0x43fe77[_0x3980b2(0x1cf)]=_0x24bda8[_0x40b525['VlEiM']][0x0]):_0x43fe77[_0x3980b2(0x1be)]=_0x40b525[_0x3980b2(0x177)]));}const _0x128da1={};_0x128da1[_0x3980b2(0x14a)]=_0x55e132[_0x3980b2(0x166)]?TEST_EVENTS[_0x3980b2(0x196)]:_0x5d8005;const _0x1a1b42=_0x128da1;return _0x55e132[_0x3980b2(0x1e2)]?_0x1a1b42[_0x40b525[_0x3980b2(0x213)]]=_0x255211:_0x1a1b42[_0x40b525['yIwzg']]=_0x255211,_0x1a1b42;}catch(_0x406486){logger[_0x3980b2(0x193)](_0x3980b2(0x1ca)+_0x5d8005+_0x3980b2(0x1fd)+_0x406486);}}async[a4_0x4946f5(0x1eb)](_0x45927e,_0x4f4dda){const _0x3dbeec=a4_0x4946f5;if(!this[_0x3dbeec(0x15c)]||!_0x4f4dda||!_0x45927e)return![];try{return await SessionHandler[_0x3dbeec(0x1c4)](_0x4f4dda);}catch(_0x55c549){logger[_0x3dbeec(0x193)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x45927e+'\x20with\x20error\x20:\x20'+_0x55c549);}}[a4_0x4946f5(0x222)](_0x22c49b){const _0x552baf=a4_0x4946f5,_0x35fa2f={};_0x35fa2f[_0x552baf(0x21f)]=_0x552baf(0x20d);const _0x39ef33=_0x35fa2f;return{'id':_0x22c49b[_0x552baf(0x16c)],'text':_0x22c49b['text'],'keyword':_0x22c49b[_0x552baf(0x13f)],'started_at':_0x22c49b[_0x552baf(0x1a7)][_0x552baf(0x1a1)](),'result':_0x39ef33[_0x552baf(0x21f)]};}[a4_0x4946f5(0x1d5)](_0x208e6d){const _0x5e0fc5=a4_0x4946f5,_0x4080f7={'qTwyb':function(_0x52a582){return _0x52a582();}};!this['currentTest']['bddSteps']&&(this['currentTest']['bddSteps']=[]),!_0x208e6d[_0x5e0fc5(0x16c)]&&(_0x208e6d[_0x5e0fc5(0x16c)]=_0x4080f7[_0x5e0fc5(0x1db)](uuidv4),_0x208e6d[_0x5e0fc5(0x1a7)]=new Date(),this[_0x5e0fc5(0x1ec)][_0x5e0fc5(0x20c)][_0x5e0fc5(0x181)](this['initializeBddStep'](_0x208e6d)));}[a4_0x4946f5(0x221)](_0x439ce1){const _0x43eb5d=a4_0x4946f5,_0x3d8d9e={'NpVBX':function(_0x45455c,_0x31043c){return _0x45455c(_0x31043c);},'kAgVP':'success','hJMEZ':_0x43eb5d(0x20d),'LqKqP':_0x43eb5d(0x184),'eeHOF':function(_0x2745fd,_0x2435d0){return _0x2745fd-_0x2435d0;}};let _0x359e82=this[_0x43eb5d(0x1ec)][_0x43eb5d(0x20c)]['find'](_0x1943c4=>_0x1943c4['id']===_0x439ce1[_0x43eb5d(0x16c)]);_0x3d8d9e[_0x43eb5d(0x15a)](isUndefined,_0x359e82)&&(_0x359e82=this[_0x43eb5d(0x222)](_0x439ce1)),_0x359e82[_0x43eb5d(0x1be)]=[_0x3d8d9e[_0x43eb5d(0x214)],_0x3d8d9e[_0x43eb5d(0x1f1)]][_0x43eb5d(0x140)](_0x439ce1['status'])?_0x3d8d9e['LqKqP']:_0x439ce1[_0x43eb5d(0x17d)],_0x359e82[_0x43eb5d(0x199)]=new Date()[_0x43eb5d(0x1a1)](),_0x359e82[_0x43eb5d(0x1f8)]=_0x3d8d9e[_0x43eb5d(0x19e)](Date[_0x43eb5d(0x185)](),_0x439ce1[_0x43eb5d(0x1a7)]['getTime']()),_0x359e82[_0x43eb5d(0x1cf)]=_0x439ce1[_0x43eb5d(0x1d6)]?_0x439ce1['err'][_0x43eb5d(0x1bc)]:null;}}const a4_0x57f4c7={};a4_0x57f4c7[a4_0x4946f5(0x154)]=O11yHelper,a4_0x57f4c7[a4_0x4946f5(0x1f0)]=STATE_PASSED,a4_0x57f4c7['STATE_FAILED']=STATE_FAILED,a4_0x57f4c7[a4_0x4946f5(0x223)]=TEST_EVENTS,module[a4_0x4946f5(0x1a5)]=a4_0x57f4c7;function a4_0x4316(){const _0x3d0950=['toUpperCase','HOOK_RUN_FINISHED','dSCgc','type','prototype','RXXBJ','resetSkipTestHooks','appendTestItemLog','getHierarchy','message','doFuX','result','file','hook_type','body','hwmft','hook_run_uuid','uploadEventData','errorsDetailed','WDGPy','feature','_beforeEach','hLvFw','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','toLowerCase','fullTitle','test_run','_testEnv','failure','TmplH','zrobl','codeceptjs','CODECEPT','../utils/constants','bddStepStart','err','bs:addLog:','_beforeAll','currentHook','finished','qTwyb','toString','qwLwH','launch','42842cOJMRT','rQDTJ','iGCAc','hook','replace','config','getHooksForTest','obsBrowserTypeMockApplied','IcRuD','testAnalyticsId','TestRunStarted','browserstack','fireEvent','currentTest','patchConsoleLogger','javascript','then','STATE_PASSED','hJMEZ','YXkqk','browserType.js','lRjWU','AIwAr','yNcCs','prefixTestPath','duration','GBuZn','kCLRx','stringify','aNIYz','\x20with\x20error\x20:\x20','findGitConfig','EVrLI','failed\x20to\x20get\x20root\x20parent\x20file\x20','logs','YGzII','sep','4489146qyKMLu','defineProperty','_afterAll','NHJdu','47gZjcRk','mapTestHooks','getTime','LogCreated','bddSteps','pending','inspect','QYfMW','Irxcp','getInstance','../../helpers/test-observability/requestQueueHandler','huvpH','kAgVP','getRootParentFile','HookRunStarted','integrations','lib','BROWSERSTACK','zrKlu','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','GUYrr','length','winstonLogger','iaQSv','5417748KDUfjK','bddStepFinish','initializeBddStep','TEST_EVENTS','ovvjk','stop','AueGM','SsOGg','KWNbp','statSync','bqbka','constructor','cwd','PathHelper','dirname','keyword','includes','9GprihE','Failed\x20to\x20parse\x20wsendpoint\x20','hooks','start','vbBvc','forEach','7060yJoSQe','connect','jWKhl','event_type','hookAnalyticsId','suites','HookRunFinished','location_prefix','feKGn','PLAYWRIGHT_HUB_URL','vdNge','title','pid','O11yHelper','fXIkO','join','nroTk','match','eClMY','NpVBX','UEodv','enabled','GjWrS','string','File\x20path\x20could\x20not\x20be\x20found','BrowserType','setupBrowserDetails','bind','markedStatus','getCBTInfo','../../helpers/test-observability/sessionHandler','skipped','backtrace','toIlo','_paths','path','4294856RhEQdt','stepAnalyticsId','Not\x20able\x20to\x20import\x20Browser','uuid','RIsHF','file_name','DaxFb','sUJpN','ctx','../playwright/accessibility-helper','apply','../../helpers/helper','YrTIy','wzfSk','1588oBjSWy','connectOverCDP','iCHZP','driver','status','tags','HOOK_RUN_STARTED','client','push','arRtp','removeAllListeners','passed','now','relative','../playwright/sessionDetails','hSoVv','TestRunSkipped','name','_afterEach','CBTSessionCreated','RrFCk','tkuqX','BjByz','oFzrv','7920276ZjvWhE','xTaNz','debug','failureData','frameworkName','TEST_RUN_FINISHED','hndTL','330CjCAGW','finished_at','test','retryOf','MHnKU','../mocha/test-observability/mochaUtils','eeHOF','captureEvent','bhSMU','toISOString','VlEiM','__platformCaps','shutdown','exports','403579iYZscG','startedAt','groups','getHookType','BYDdE','../../helpers/test-observability/utils','TEST_RUN_STARTED','failed','started','wsEndpoint','TEST_REPORTING_ANALYTICS','test_run_uuid','parent'];a4_0x4316=function(){return _0x3d0950;};return a4_0x4316();}
|
|
1
|
+
const a4_0x39e511=a4_0x14db;function a4_0x14db(_0x5d2b49,_0x44b744){const _0x15bdd5=a4_0x15bd();return a4_0x14db=function(_0x14dbf5,_0x58825e){_0x14dbf5=_0x14dbf5-0x1df;let _0x581491=_0x15bdd5[_0x14dbf5];return _0x581491;},a4_0x14db(_0x5d2b49,_0x44b744);}function a4_0x15bd(){const _0x458cd8=['mxyMN','Playwright','HOOK_RUN_STARTED','concat','bddStepFinish','inspect','path','status','BrowserType','4|3|1|0|2|5','\x20with\x20error\x20:\x20','../../helpers/logger','827415DNHWtl','../../helpers/test-observability/constants','_paths','eVmbK','ctx','OCZeb','setupBrowserDetails','CODECEPT','HjYJL','skipped','Nvwjd','laiXl','success','1063980AgVeoc','dirname','groups','hook','../../helpers/testhub/utils.js','mapTestHooks','wsEndpoint','IJsAM','IJzsc','uploadEventData','expanded','tFpbc','YJNKp','XgoQA','startedAt','lLCwX','eiuoz','failureData','failure_backtrace','Aceag','fJjvw','CBTSessionCreated','toLowerCase','pid','../../helpers/test-observability/utils','util','failed','../playwright/accessibility-helper','../../helpers/test-observability/requestQueueHandler','124oJiHPS','wvwLz','toString','BmYOL','removeAllListeners','976660cOZgVH','cFUmW','then','obsBrowserTypeMockApplied','initializeBddStep','LogCreated','markedStatus','duration','statSync','wSdTu','27NsdNrg','qENKv','_beforeEach','uddde','toUpperCase','tUWRW','STATE_FAILED','stringify','hooks','_afterAll','uuid','HookRunFinished','name','HrQnp','failure','EaDuR','find','diIQP','config','apply','hook_run_uuid','location_prefix','defineProperty','replace','TEST_REPORTING_ANALYTICS','FtvmR','getRootParentFile','driver','finished_at','lVHAp','_testEnv','split','ADWHG','hookAnalyticsId','currentTest','match','TNkKL','iqzxr','202374jAuwrx','testAnalyticsId','finished','text','rbuAQ','getHierarchy','toISOString','started','backtrace','../mocha/test-observability/mochaUtils','connectOverCDP','test_run_uuid','4804mHGTMc','pending','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','fullTitle','EmkEH','GATdH','HookRunStarted','fmyKg','result','STATE_PASSED','join','20EptcpT','length','FRsYE','findGitConfig','resetSkipTestHooks','now','push','GPCPO','hFtvz','EINZd','getTime','iXpgT','ffiGv','CbElg','TEST_RUN_STARTED','bddStepStart','lib','../playwright/sessionDetails','title','SBvEG','hEQLh','failure_reason_expanded','meta','failed\x20to\x20get\x20root\x20parent\x20file\x20','feature','Retcg','appendTestItemLog','constructor','ATjtQ','PathHelper','KcRbN','oURxn','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','enabled','MJEYW','getInstance','prototype','connect','codeceptjs','getHookType','WYNcm','comment','dpYQu','vYhXb','_afterEach','getHooksForTest','eoPRe','sdfcc','bddSteps','HjzET','__cloud_provider___','sep','Iedad','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_FINISHED','relative','gasYX','__platformCaps','errorsDetailed','forEach','YwSJX','../utils/constants','BROWSERSTACK','rGvHQ','launch','winstonLogger','shutdown','vGxdo','610088pgOPni','ubPRZ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','frameworkName','bs:addLog:','passed','logs','browserstack','HOOK_RUN_FINISHED','stepAnalyticsId','parent','test','fireEvent','PLAYWRIGHT_HUB_URL','WAxHr','body','_beforeAll','includes','reKGJ','odZEx','RUFIL','RarTM','TuZEn','event_type','string','exports','keyword','retryOf','browserType.js','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','file','fbnlb','prefixTestPath','383194BBvjAT','yNfuu','integrations','suites','err','ALzwH','debug','currentHook','dIZYS'];a4_0x15bd=function(){return _0x458cd8;};return a4_0x15bd();}(function(_0x1ce08a,_0x46800b){const _0x4841c9=a4_0x14db,_0x332351=_0x1ce08a();while(!![]){try{const _0x4a7a51=-parseInt(_0x4841c9(0x257))/0x1*(parseInt(_0x4841c9(0x216))/0x2)+parseInt(_0x4841c9(0x1ec))/0x3+parseInt(_0x4841c9(0x21b))/0x4+parseInt(_0x4841c9(0x262))/0x5*(parseInt(_0x4841c9(0x24b))/0x6)+-parseInt(_0x4841c9(0x2c7))/0x7+-parseInt(_0x4841c9(0x2a6))/0x8*(parseInt(_0x4841c9(0x225))/0x9)+parseInt(_0x4841c9(0x1f9))/0xa;if(_0x4a7a51===_0x46800b)break;else _0x332351['push'](_0x332351['shift']());}catch(_0x33ba45){_0x332351['push'](_0x332351['shift']());}}}(a4_0x15bd,0x2bec7));const path=require(a4_0x39e511(0x1e6)),fs=require('fs'),{v4:uuidv4}=require(a4_0x39e511(0x22f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x39e511(0x211)),{getTestEnv}=require(a4_0x39e511(0x254)),{FRAMEWORKS}=require(a4_0x39e511(0x1ed)),logger=require(a4_0x39e511(0x1eb))[a4_0x39e511(0x2a3)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x39e511(0x215)),PlaywrightSessionDetails=require(a4_0x39e511(0x273)),debug=testOpsHelper[a4_0x39e511(0x2cd)],{processAccessibilityCaps}=require(a4_0x39e511(0x214)),Constants=require(a4_0x39e511(0x29f)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x39e511(0x1fd)),constants=require(a4_0x39e511(0x29f)),STATE_PASSED=a4_0x39e511(0x2ab),STATE_FAILED=a4_0x39e511(0x213),a4_0x262d1f={};a4_0x262d1f[a4_0x39e511(0x270)]='TestRunStarted',a4_0x262d1f['TEST_RUN_FINISHED']='TestRunFinished',a4_0x262d1f['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x262d1f[a4_0x39e511(0x1e2)]=a4_0x39e511(0x25d),a4_0x262d1f[a4_0x39e511(0x2ae)]=a4_0x39e511(0x230);const TEST_EVENTS=a4_0x262d1f,parseEvent=_0x3cd591=>{const _0x35f0d6=a4_0x39e511,_0x3c600e={};_0x3c600e[_0x35f0d6(0x26b)]=function(_0x1d062d,_0x3ca978){return _0x1d062d<_0x3ca978;},_0x3c600e[_0x35f0d6(0x1df)]=function(_0x330c41,_0x23688b){return _0x330c41===_0x23688b;},_0x3c600e[_0x35f0d6(0x291)]=_0x35f0d6(0x2b1),_0x3c600e['cFUmW']=function(_0x15bdda,_0x68619a){return _0x15bdda===_0x68619a;},_0x3c600e[_0x35f0d6(0x206)]='hook',_0x3c600e[_0x35f0d6(0x22a)]='skipped',_0x3c600e['JyMrA']=_0x35f0d6(0x252),_0x3c600e[_0x35f0d6(0x209)]=function(_0x2d88f9,_0x220b6d){return _0x2d88f9===_0x220b6d;},_0x3c600e[_0x35f0d6(0x2a5)]=_0x35f0d6(0x24d);const _0x2f79cb=_0x3c600e,_0x50df24=_0x3cd591[_0x35f0d6(0x248)](/^(.*)Run(.*)$/);if(!_0x50df24)return null;if(_0x2f79cb[_0x35f0d6(0x26b)](_0x50df24['length'],0x3))return null;const _0x13e7ac=_0x50df24[0x1][_0x35f0d6(0x20f)](),_0x153321=_0x50df24[0x2][_0x35f0d6(0x20f)]();return{'test':_0x2f79cb[_0x35f0d6(0x1df)](_0x13e7ac,_0x2f79cb['sdfcc']),'hook':_0x2f79cb[_0x35f0d6(0x21c)](_0x13e7ac,_0x2f79cb[_0x35f0d6(0x206)]),'skipped':_0x2f79cb[_0x35f0d6(0x21c)](_0x153321,_0x2f79cb['tUWRW']),'started':_0x2f79cb['cFUmW'](_0x153321,_0x2f79cb['JyMrA']),'finished':_0x2f79cb[_0x35f0d6(0x209)](_0x153321,_0x2f79cb[_0x35f0d6(0x2a5)])};},mockPWBrowserType=_0x152c02=>{const _0x2dd4ae=a4_0x39e511,_0x40aaeb={'ADWHG':function(_0x1c6d26,_0xaed63d,_0x46fd1d){return _0x1c6d26(_0xaed63d,_0x46fd1d);},'zLwCv':_0x2dd4ae(0x1ff),'eoPRe':function(_0x12104b,_0x24e19a){return _0x12104b(_0x24e19a);},'WYNcm':_0x2dd4ae(0x2ad),'SBvEG':function(_0x54fa2f,_0x4657ee){return _0x54fa2f(_0x4657ee);},'HrQnp':function(_0x54e970,_0x5ddcd2){return _0x54e970===_0x5ddcd2;},'DEkFm':_0x2dd4ae(0x2be),'NkSwW':_0x2dd4ae(0x272),'ubPRZ':'client','fmyKg':_0x2dd4ae(0x2c2),'vYhXb':function(_0xd6fb61,_0x2e5880){return _0xd6fb61(_0x2e5880);},'uddde':_0x2dd4ae(0x297),'fbnlb':_0x2dd4ae(0x287),'hXKBd':_0x2dd4ae(0x2a2)},_0x1f27ba=path[_0x2dd4ae(0x261)](_0x40aaeb['NkSwW'],_0x40aaeb[_0x2dd4ae(0x2a7)],_0x40aaeb[_0x2dd4ae(0x25e)]),_0x5a8e8c=_0x40aaeb[_0x2dd4ae(0x290)](importFileFromPWCore,_0x1f27ba);if(!_0x5a8e8c){_0x40aaeb[_0x2dd4ae(0x28d)](debug,_0x40aaeb[_0x2dd4ae(0x228)]);return;}const _0x3d6299=_0x5a8e8c[_0x2dd4ae(0x1e8)],_0x1c243c=_0x3d6299[_0x2dd4ae(0x286)];if(_0x1c243c[_0x2dd4ae(0x21e)])return;const _0x4c3597=_0x1c243c[_0x2dd4ae(0x287)];Object['defineProperty'](_0x1c243c,_0x40aaeb[_0x2dd4ae(0x2c5)],{'get':function(){const _0x36f0a7={'iXpgT':function(_0x3841ca,_0x52ddc4){const _0xa90dac=a4_0x14db;return _0x40aaeb[_0xa90dac(0x232)](_0x3841ca,_0x52ddc4);},'laiXl':_0x40aaeb['DEkFm']};return async function _0x2cbb64(_0x41f438,_0x1400e2){const _0xd363c6=a4_0x14db,_0x24b14a=_0x40aaeb[_0xd363c6(0x245)](nestedKeyValue,_0x41f438,[_0x40aaeb['zLwCv']])||_0x41f438;let _0x1e7ba3=null,_0x2a0664=null;try{[_0x2a0664,_0x1e7ba3]=_0x24b14a?_0x40aaeb['eoPRe'](parseWSEndpoint,_0x24b14a):[null,null],global[_0xd363c6(0x29b)]=_0x1e7ba3,logger[_0xd363c6(0x2cd)](_0xd363c6(0x259)+_0x2a0664),_0x2a0664[_0xd363c6(0x2b7)](Constants[_0xd363c6(0x2a0)])&&(global[_0xd363c6(0x294)]=_0x40aaeb[_0xd363c6(0x28a)]);}catch(_0x24c855){logger[_0xd363c6(0x2cd)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x24b14a+'\x20'+_0x24c855);}_0x40aaeb[_0xd363c6(0x245)](processAccessibilityCaps,_0x1e7ba3,_0x2a0664);if(global['accessibilityPlatform']){const _0x117824=await _0x1c243c[_0xd363c6(0x255)][_0xd363c6(0x238)](this,[''+Constants[_0xd363c6(0x2b3)]+_0x40aaeb[_0xd363c6(0x275)](encodeURIComponent,JSON[_0xd363c6(0x22c)](_0x1e7ba3))]);return PlaywrightSessionDetails[_0xd363c6(0x1f2)](_0x117824,_0x152c02,_0x24b14a),_0x117824;}return _0x4c3597[_0xd363c6(0x238)](this,arguments)[_0xd363c6(0x21d)](_0x2da181=>{const _0x109824=_0xd363c6;let _0x18371e=_0x41f438['wsEndpoint'];return _0x36f0a7[_0x109824(0x26d)](typeof _0x41f438,_0x36f0a7[_0x109824(0x1f7)])&&(_0x18371e=_0x41f438),PlaywrightSessionDetails[_0x109824(0x1f2)](_0x2da181,_0x152c02,_0x18371e),_0x2da181;});};}});const _0x4aeb57=_0x1c243c[_0x2dd4ae(0x2a2)];Object[_0x2dd4ae(0x23b)](_0x1c243c,_0x40aaeb['hXKBd'],{'get':function(){return async function _0x850df2(){const _0x507f4c=a4_0x14db;return _0x4aeb57['apply'](this,arguments)[_0x507f4c(0x21d)](_0x24e206=>{const _0x30aec1=_0x507f4c;return PlaywrightSessionDetails[_0x30aec1(0x1f2)](_0x24e206,null),_0x24e206;});};}});};class O11yHelper{[a4_0x39e511(0x247)]=null;[a4_0x39e511(0x2ce)]=null;[a4_0x39e511(0x283)]=![];[a4_0x39e511(0x2a9)]=![];constructor(_0x5ca9f5,_0x566756){const _0x36f421=a4_0x39e511,_0x231fcb={'hEQLh':_0x36f421(0x1e9),'rbuAQ':function(_0x2f32be){return _0x2f32be();},'IJsAM':function(_0x3ee46e,_0x3820af){return _0x3ee46e===_0x3820af;},'Nvwjd':_0x36f421(0x1e1),'dpYQu':function(_0x22d1b9,_0x2ad19a){return _0x22d1b9(_0x2ad19a);}},_0x3e1e1a=_0x231fcb[_0x36f421(0x276)][_0x36f421(0x244)]('|');let _0x32be67=0x0;while(!![]){switch(_0x3e1e1a[_0x32be67++]){case'0':this[_0x36f421(0x243)]=_0x231fcb[_0x36f421(0x24f)](getTestEnv);continue;case'1':this[_0x36f421(0x240)]=_0x5ca9f5;continue;case'2':this[_0x36f421(0x1ee)]=new testOpsHelper[(_0x36f421(0x27f))]({'cwd':process['cwd']()},this[_0x36f421(0x243)][_0x36f421(0x23a)]);continue;case'3':this['frameworkName']=_0x566756[_0x36f421(0x2a9)];continue;case'4':this['enabled']=_0x231fcb[_0x36f421(0x24f)](shouldProcessEventForTesthub);continue;case'5':this['driver']&&_0x231fcb[_0x36f421(0x200)](this[_0x36f421(0x240)][_0x36f421(0x27d)][_0x36f421(0x231)],_0x231fcb[_0x36f421(0x1f6)])&&_0x231fcb[_0x36f421(0x28c)](mockPWBrowserType,null);continue;}break;}}['start'](){const _0x12067e=a4_0x39e511;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x12067e(0x21a)](_0x12067e(0x2aa)+process['pid']),process['on']('bs:addLog:'+process[_0x12067e(0x210)],this[_0x12067e(0x27c)]['bind'](this));}async['stop'](){const _0x17cf88=a4_0x39e511;await RequestQueueHandler[_0x17cf88(0x285)]()[_0x17cf88(0x2a4)]();}async[a4_0x39e511(0x27c)](_0x55743f){const _0x23031e=a4_0x39e511,_0x48b73c={'VbitX':_0x23031e(0x220),'CbElg':function(_0x44a1b4,_0xb5906f){return _0x44a1b4(_0xb5906f);}};try{this[_0x23031e(0x2ce)]&&!this[_0x23031e(0x2ce)]['markedStatus']&&(_0x55743f[_0x23031e(0x239)]=this[_0x23031e(0x2ce)][_0x23031e(0x246)]);!_0x55743f['hook_run_uuid']&&this[_0x23031e(0x247)]&&!this[_0x23031e(0x247)]['markedStatus']&&(_0x55743f['test_run_uuid']=this[_0x23031e(0x247)][_0x23031e(0x24c)]);if(_0x55743f[_0x23031e(0x239)]||_0x55743f[_0x23031e(0x256)]){const _0x2ec5f8={};_0x2ec5f8[_0x23031e(0x2bd)]=_0x48b73c['VbitX'],_0x2ec5f8[_0x23031e(0x2ac)]=[_0x55743f],await SessionHandler[_0x23031e(0x202)](_0x2ec5f8);}}catch(_0x1d8c70){_0x48b73c[_0x23031e(0x26f)](debug,_0x23031e(0x282)+constants[_0x23031e(0x23d)]+_0x23031e(0x1ea)+_0x1d8c70);}}async['sendCBTInfo'](_0x39522b){const _0x757e9=a4_0x39e511,_0x3ea5cd={'HjYJL':_0x757e9(0x20e),'fJjvw':function(_0x2f04eb,_0x82dd71){return _0x2f04eb(_0x82dd71);}};if(!this['enabled'])return;const _0x1f9786=this['getCBTInfo'](this[_0x757e9(0x240)]);try{const _0x192f19={};_0x192f19[_0x757e9(0x22f)]=_0x39522b,_0x192f19['integrations']=_0x1f9786;const _0x1712d3=_0x192f19,_0x5b18db={};_0x5b18db[_0x757e9(0x2bd)]=_0x3ea5cd[_0x757e9(0x1f4)],_0x5b18db['test_run']=_0x1712d3,await SessionHandler['uploadEventData'](_0x5b18db);}catch(_0x516d14){_0x3ea5cd[_0x757e9(0x20d)](debug,_0x757e9(0x2a8)+constants[_0x757e9(0x23d)]+'\x20with\x20error\x20:\x20'+_0x516d14);}}['getCBTInfo'](_0x2c2b42){const _0x274355=a4_0x39e511,_0xde442e={'oURxn':function(_0x411a9a,_0x5c1a68){return _0x411a9a(_0x5c1a68);}};return _0xde442e[_0x274355(0x281)](fetchPlatformDetails,_0x2c2b42);}[a4_0x39e511(0x266)]=_0x5a6307=>{const _0x4ab6a2=a4_0x39e511,_0x39d8e0={};_0x39d8e0['xhcRb']=_0x4ab6a2(0x227),_0x39d8e0[_0x4ab6a2(0x205)]=_0x4ab6a2(0x28e);const _0x306bd3=_0x39d8e0;if(!_0x5a6307||!_0x5a6307[_0x4ab6a2(0x2b0)])return;[_0x306bd3['xhcRb'],_0x306bd3[_0x4ab6a2(0x205)]][_0x4ab6a2(0x29d)](_0x3830ae=>{const _0x59836e=_0x4ab6a2,_0x475b97=_0x5a6307[_0x59836e(0x2b0)][_0x3830ae];_0x475b97[_0x59836e(0x29d)](_0x10bb8d=>{const _0x484a42=_0x59836e;_0x10bb8d[_0x484a42(0x246)]&&(_0x10bb8d[_0x484a42(0x246)]=null);});});};[a4_0x39e511(0x1fe)](_0x16b704){const _0x30e756=a4_0x39e511,_0x15e46d={'tFpbc':_0x30e756(0x288),'rGvHQ':function(_0x499020){return _0x499020();},'tbSJD':function(_0x32bddf,_0x2394ff){return _0x32bddf===_0x2394ff;},'wvwLz':_0x30e756(0x28e),'LqsTC':function(_0x5a1eec){return _0x5a1eec();},'XcyfL':_0x30e756(0x2b6),'odZEx':_0x30e756(0x22e),'QeRvl':'_beforeEach'};if(!_0x16b704||!_0x16b704[_0x30e756(0x2b0)])return;[_0x15e46d['XcyfL'],_0x15e46d[_0x30e756(0x2b9)],_0x15e46d['QeRvl'],_0x15e46d[_0x30e756(0x217)]][_0x30e756(0x29d)](_0x564f71=>{const _0x365c3d=_0x30e756,_0x4fca91=_0x16b704[_0x365c3d(0x2b0)][_0x564f71]||[];_0x4fca91[_0x365c3d(0x29d)](_0x3a7685=>{const _0x22c59a=_0x365c3d;if(_0x3a7685[_0x22c59a(0x274)][_0x22c59a(0x2b7)](_0x15e46d[_0x22c59a(0x204)]))return;if(!_0x3a7685['hookAnalyticsId'])_0x3a7685[_0x22c59a(0x246)]=_0x15e46d[_0x22c59a(0x2a1)](uuidv4);else _0x3a7685[_0x22c59a(0x221)]&&_0x15e46d['tbSJD'](_0x564f71,_0x15e46d[_0x22c59a(0x217)])&&(_0x3a7685['hookAnalyticsId']=_0x15e46d['LqsTC'](uuidv4),delete _0x3a7685['markedStatus']);});}),this[_0x30e756(0x1fe)](_0x16b704[_0x30e756(0x2b0)]);}['getHooksForTest'](_0x52bd36){const _0x239769=a4_0x39e511,_0x8c4826={};_0x8c4826[_0x239769(0x242)]=_0x239769(0x2b6),_0x8c4826[_0x239769(0x226)]=_0x239769(0x22e),_0x8c4826[_0x239769(0x2b8)]=_0x239769(0x227),_0x8c4826[_0x239769(0x29e)]=_0x239769(0x28e);const _0x323464=_0x8c4826;if(!_0x52bd36||!_0x52bd36[_0x239769(0x2b0)])return[];const _0x3bf39e=[];return[_0x323464['lVHAp'],_0x323464['qENKv'],_0x323464['reKGJ'],_0x323464[_0x239769(0x29e)]][_0x239769(0x29d)](_0xda4295=>{const _0x1b4d49=_0x239769,_0x142333=_0x52bd36[_0x1b4d49(0x2b0)][_0xda4295]||[];_0x142333[_0x1b4d49(0x29d)](_0x1d0764=>{const _0x597c39=_0x1b4d49;_0x1d0764['hookAnalyticsId']&&_0x3bf39e['push'](_0x1d0764[_0x597c39(0x246)]);});}),[][_0x239769(0x1e3)](_0x3bf39e,this[_0x239769(0x28f)](_0x52bd36['parent']));}[a4_0x39e511(0x289)](_0x5435ca){const _0x1c3560=a4_0x39e511,_0x3080ea=/^"(?<hook>.*)" hook:.*$/,_0x48b366=_0x5435ca[_0x1c3560(0x274)],_0x218d2d=_0x48b366['match'](_0x3080ea);if(_0x218d2d&&_0x218d2d['groups'])return _0x218d2d[_0x1c3560(0x1fb)][_0x1c3560(0x1fc)][_0x1c3560(0x229)]()[_0x1c3560(0x23c)]('\x20','_');return null;}['findGitConfig'](_0x8ddd12){const _0x46d26d=a4_0x39e511,_0x1a8e42={};_0x1a8e42[_0x46d26d(0x24a)]=function(_0x38c5f9,_0x534f4c){return _0x38c5f9===_0x534f4c;},_0x1a8e42[_0x46d26d(0x293)]=function(_0x2de30c,_0x197645){return _0x2de30c===_0x197645;},_0x1a8e42[_0x46d26d(0x27b)]='.git',_0x1a8e42[_0x46d26d(0x26a)]=_0x46d26d(0x237);const _0x4a491e=_0x1a8e42,_0x288ff4=path[_0x46d26d(0x295)];if(_0x4a491e['iqzxr'](_0x8ddd12,null)||_0x4a491e[_0x46d26d(0x24a)](_0x8ddd12,'')||_0x4a491e[_0x46d26d(0x24a)](_0x8ddd12,_0x288ff4)||_0x4a491e[_0x46d26d(0x293)](_0x8ddd12,path['dirname'](_0x8ddd12)))return null;try{return fs[_0x46d26d(0x223)](path[_0x46d26d(0x261)](_0x8ddd12,_0x4a491e['Retcg'],_0x4a491e[_0x46d26d(0x26a)])),_0x8ddd12;}catch(_0xdbd556){const _0x53f5a2=path[_0x46d26d(0x1fa)](_0x8ddd12);return this['findGitConfig'](_0x53f5a2);}}['getRootParentFile'](_0x3119cd){const _0x1bf0b7=a4_0x39e511,_0x4e87c5={};_0x4e87c5[_0x1bf0b7(0x25c)]=function(_0x4d3db2,_0x400781){return _0x4d3db2>_0x400781;};const _0x1dade0=_0x4e87c5;if(_0x3119cd[_0x1bf0b7(0x2c4)])return _0x3119cd[_0x1bf0b7(0x2c4)];if(_0x3119cd[_0x1bf0b7(0x1f0)]){const _0x475e4a=_0x3119cd['ctx'][_0x1bf0b7(0x247)]?this['getRootParentFile'](_0x3119cd[_0x1bf0b7(0x1f0)][_0x1bf0b7(0x247)]):null;if(_0x475e4a)return _0x475e4a;}if(_0x3119cd['parent']){const _0x44e7e6=this[_0x1bf0b7(0x23f)](_0x3119cd[_0x1bf0b7(0x2b0)])||(_0x3119cd[_0x1bf0b7(0x2b0)]['ctx']&&_0x3119cd[_0x1bf0b7(0x2b0)][_0x1bf0b7(0x1f0)][_0x1bf0b7(0x247)]?this[_0x1bf0b7(0x23f)](_0x3119cd['parent'][_0x1bf0b7(0x1f0)][_0x1bf0b7(0x247)]):null);if(_0x44e7e6)return _0x44e7e6;_0x3119cd[_0x1bf0b7(0x2b0)][_0x1bf0b7(0x2ca)]&&_0x1dade0[_0x1bf0b7(0x25c)](_0x3119cd[_0x1bf0b7(0x2b0)][_0x1bf0b7(0x2ca)][_0x1bf0b7(0x263)],0x0)&&_0x3119cd[_0x1bf0b7(0x2b0)][_0x1bf0b7(0x2ca)]['forEach'](_0x1a2778=>{const _0x544ce2=_0x1bf0b7,_0x2221c3=_0x1a2778[_0x544ce2(0x1f0)]?this[_0x544ce2(0x23f)](_0x1a2778[_0x544ce2(0x1f0)]):null;if(_0x2221c3)return _0x2221c3;});}return null;}[a4_0x39e511(0x250)](_0x54031a){const _0x4d3cb2=a4_0x39e511,_0x41f875={};_0x41f875[_0x4d3cb2(0x234)]=function(_0xd370b2,_0xf5ad8a){return _0xd370b2!==_0xf5ad8a;};const _0x47f5ea=_0x41f875,_0x43b8e7=[];if(_0x54031a&&_0x54031a[_0x4d3cb2(0x2b0)]){let _0x56404b=_0x54031a[_0x4d3cb2(0x2b0)];while(_0x56404b&&_0x47f5ea['EaDuR'](_0x56404b['title'],'')){_0x43b8e7[_0x4d3cb2(0x268)](_0x56404b['title']),_0x56404b=_0x56404b[_0x4d3cb2(0x2b0)];}}return _0x43b8e7;}['captureEvent'](_0x10523e,_0x3606a1,_0x17b8ff=undefined){const _0x1714f1=a4_0x39e511,_0x40db09={'IJzsc':function(_0x4b6368,_0x4169b4){return _0x4b6368(_0x4169b4);},'FtvmR':function(_0x5ec679){return _0x5ec679();},'diIQP':function(_0x673df3){return _0x673df3();},'Iedad':function(_0x53ac40){return _0x53ac40();},'RarTM':_0x1714f1(0x212),'ffiGv':_0x1714f1(0x2cb),'GPCPO':function(_0x5665a8,_0x144e07){return _0x5665a8!==_0x144e07;},'FdfJP':'File\x20path\x20could\x20not\x20be\x20found','KcRbN':_0x1714f1(0x258),'wSdTu':_0x1714f1(0x213),'TuZEn':'passed','MJEYW':_0x1714f1(0x1f5),'pAnqy':'javascript','EmkEH':function(_0x197fe7,_0x3abab6){return _0x197fe7-_0x3abab6;},'ATjtQ':function(_0x32fc87,_0x40e253,_0x12fbd6,_0x3e4cd8,_0x1e3253){return _0x32fc87(_0x40e253,_0x12fbd6,_0x3e4cd8,_0x1e3253);},'JVpbN':function(_0x3197e4,_0x3691cc){return _0x3197e4!==_0x3691cc;},'BmYOL':_0x1714f1(0x2c9),'eVmbK':_0x1714f1(0x278),'lLCwX':_0x1714f1(0x233),'TNkKL':_0x1714f1(0x20b),'yNfuu':_0x1714f1(0x253),'Aceag':_0x1714f1(0x277),'gcxCP':_0x1714f1(0x203),'Bekef':function(_0x20b55e,_0x157b9d){return _0x20b55e===_0x157b9d;},'ALzwH':'hook_run','AGtYv':'test_run'};if(!this['enabled'])return;try{if(_0x3606a1['fn']&&_0x3606a1['fn'][_0x1714f1(0x218)]()[_0x1714f1(0x248)](/browserstack internal helper hook/))return;const _0x19463d=_0x40db09[_0x1714f1(0x201)](parseEvent,_0x10523e);if(!_0x19463d)return;if(_0x19463d[_0x1714f1(0x2b1)]){this[_0x1714f1(0x247)]=_0x3606a1,this[_0x1714f1(0x2ce)]=null;if(_0x19463d['started']||_0x19463d[_0x1714f1(0x1f5)]){_0x3606a1[_0x1714f1(0x207)]=new Date(),_0x3606a1['markedStatus']=![];if(!_0x3606a1['testAnalyticsId'])_0x3606a1[_0x1714f1(0x24c)]=_0x40db09[_0x1714f1(0x23e)](uuidv4);else _0x3606a1[_0x1714f1(0x221)]&&(!_0x3606a1['retryOf']&&(_0x3606a1[_0x1714f1(0x2c1)]=_0x3606a1[_0x1714f1(0x24c)]),_0x3606a1[_0x1714f1(0x24c)]=_0x40db09[_0x1714f1(0x23e)](uuidv4));}}else{if(_0x19463d[_0x1714f1(0x1fc)]){this[_0x1714f1(0x2ce)]=_0x3606a1;if(_0x19463d['started']){_0x3606a1[_0x1714f1(0x207)]=new Date(),_0x3606a1[_0x1714f1(0x221)]=![];if(!_0x3606a1[_0x1714f1(0x246)])_0x3606a1[_0x1714f1(0x246)]=_0x40db09[_0x1714f1(0x236)](uuidv4);else _0x3606a1[_0x1714f1(0x246)]&&_0x3606a1['markedStatus']&&(_0x3606a1['hookAnalyticsId']=_0x40db09[_0x1714f1(0x296)](uuidv4));}}}if(_0x19463d['finished']&&_0x3606a1[_0x1714f1(0x221)])return;let _0x5e1a19;try{_0x5e1a19=this['getRootParentFile'](_0x3606a1);}catch(_0x213523){logger['debug'](_0x1714f1(0x279)+_0x213523),_0x5e1a19=null;}const _0x2b1e36=_0x40db09[_0x1714f1(0x201)](require,_0x40db09[_0x1714f1(0x2bb)]);let _0x4fa837=[];_0x17b8ff&&(_0x4fa837=[_0x17b8ff,_0x40db09[_0x1714f1(0x26e)]]);const _0x2a5cd1=_0x40db09['GPCPO'](_0x3606a1[_0x1714f1(0x29c)],undefined)?_0x2b1e36[_0x1714f1(0x1e5)](_0x3606a1[_0x1714f1(0x29c)][0x0]):_0x40db09[_0x1714f1(0x269)](_0x17b8ff,undefined)?_0x17b8ff[_0x1714f1(0x218)]():undefined,_0x3e8006=_0x5e1a19?this[_0x1714f1(0x265)](_0x5e1a19):null,_0x571c9f=_0x5e1a19?this['_paths'][_0x1714f1(0x2c6)](this[_0x1714f1(0x23f)](_0x3606a1)):_0x40db09['FdfJP'];let _0x2edb8e=_0x40db09[_0x1714f1(0x280)];const _0x585eb8=!_0x19463d[_0x1714f1(0x252)]?new Date()['toISOString']():null;if(_0x19463d[_0x1714f1(0x24d)])_0x2edb8e=_0x17b8ff?_0x40db09['wSdTu']:_0x40db09['TuZEn'],_0x3606a1[_0x1714f1(0x221)]=!![];else _0x19463d['skipped']&&(_0x2edb8e=_0x40db09[_0x1714f1(0x284)],_0x3606a1[_0x1714f1(0x221)]=!![]);const _0x239c43={'framework':this[_0x1714f1(0x2a9)],'uuid':_0x3606a1[_0x1714f1(0x24c)]||_0x3606a1[_0x1714f1(0x246)],'name':_0x3606a1[_0x1714f1(0x274)],'body':{'lang':_0x40db09['pAnqy'],'code':_0x3606a1[_0x1714f1(0x2b5)]['toString']()},'type':_0x3606a1['type'],'scope':_0x3606a1[_0x1714f1(0x25a)](),'scopes':this[_0x1714f1(0x250)](_0x3606a1),'file_name':_0x571c9f,'vc_filepath':_0x3e8006?path[_0x1714f1(0x299)](_0x3e8006,_0x5e1a19):null,'location':_0x571c9f,'result':_0x2edb8e,'failure_reason':_0x2a5cd1,'duration_in_ms':_0x3606a1[_0x1714f1(0x222)]||(_0x19463d[_0x1714f1(0x24d)]||_0x19463d['skipped'])?_0x40db09[_0x1714f1(0x25b)](Date[_0x1714f1(0x267)](),new Date(_0x3606a1[_0x1714f1(0x207)])['getTime']()):null,'started_at':new Date(_0x3606a1[_0x1714f1(0x207)])[_0x1714f1(0x251)](),'finished_at':_0x585eb8,'failure':testOpsHelper[_0x1714f1(0x20a)]['apply'](null,_0x4fa837),'failure_type':!_0x2a5cd1?null:testOpsHelper['getFailureType'](_0x2a5cd1),'retry_of':_0x3606a1[_0x1714f1(0x2c1)]||null,'tags':_0x3606a1['tags']||[],'customRerunParam':{'rerun_name':_0x3606a1[_0x1714f1(0x25a)]()}};_0x40db09[_0x1714f1(0x27e)](appendTesthubParams,_0x239c43,_0x10523e,_0x3606a1,FRAMEWORKS[_0x1714f1(0x1f3)]);if(_0x19463d[_0x1714f1(0x1fc)])[_0x239c43['hook_type'],_0x239c43[_0x1714f1(0x231)]]=[this[_0x1714f1(0x289)](_0x3606a1),_0x3606a1[_0x1714f1(0x1f0)]['test']['title']],_0x19463d[_0x1714f1(0x24d)]?_0x40db09['JVpbN'](_0x239c43[_0x1714f1(0x25f)],_0x40db09[_0x1714f1(0x224)])&&(_0x239c43[_0x1714f1(0x25f)]=_0x40db09[_0x1714f1(0x2bc)]):_0x239c43[_0x1714f1(0x2b5)]={};else _0x19463d['test']&&(this['mapTestHooks'](_0x3606a1),_0x19463d[_0x1714f1(0x1f5)]&&this[_0x1714f1(0x266)](_0x3606a1),(_0x19463d[_0x1714f1(0x24d)]||_0x19463d['skipped'])&&(_0x239c43[_0x1714f1(0x22d)]=this['getHooksForTest'](_0x3606a1)));this['driver']&&(_0x19463d[_0x1714f1(0x252)]||_0x19463d[_0x1714f1(0x1f5)])&&(_0x239c43[_0x40db09[_0x1714f1(0x219)]]=this['getCBTInfo'](this[_0x1714f1(0x240)]));_0x19463d[_0x1714f1(0x2b1)]&&_0x19463d[_0x1714f1(0x24d)]&&_0x3606a1[_0x1714f1(0x292)]&&(_0x239c43[_0x40db09[_0x1714f1(0x1ef)]]={'feature':{'name':_0x3606a1[_0x1714f1(0x2b0)][_0x1714f1(0x27a)][_0x1714f1(0x231)],'path':_0x239c43['file_name'],'description':_0x3606a1[_0x1714f1(0x2b0)][_0x1714f1(0x28b)]},'scenario':{'name':_0x3606a1[_0x1714f1(0x274)]},'steps':_0x3606a1[_0x1714f1(0x292)]});const _0x178ad5=_0x239c43[_0x40db09[_0x1714f1(0x208)]][0x0];_0x178ad5&&(_0x239c43[_0x40db09[_0x1714f1(0x249)]]=_0x178ad5[_0x40db09[_0x1714f1(0x2c8)]],_0x239c43[_0x40db09[_0x1714f1(0x20c)]]=_0x178ad5[_0x40db09['gcxCP']]);if(_0x3606a1[_0x1714f1(0x292)])for(const _0x41a819 of _0x3606a1[_0x1714f1(0x292)]){!_0x41a819[_0x1714f1(0x241)]&&(_0x41a819['finished_at']=new Date()['toISOString'](),_0x40db09['Bekef'](_0x41a819[_0x1714f1(0x25f)],_0x40db09['KcRbN'])&&(_0x178ad5?(_0x41a819[_0x1714f1(0x25f)]=_0x40db09[_0x1714f1(0x224)],_0x41a819[_0x1714f1(0x233)]=_0x178ad5[_0x40db09[_0x1714f1(0x2c8)]][0x0]):_0x41a819['result']=_0x40db09['TuZEn']));}const _0x396cbf={};_0x396cbf[_0x1714f1(0x2bd)]=_0x19463d[_0x1714f1(0x1f5)]?TEST_EVENTS[_0x1714f1(0x298)]:_0x10523e;const _0x42b192=_0x396cbf;return _0x19463d[_0x1714f1(0x1fc)]?_0x42b192[_0x40db09[_0x1714f1(0x2cc)]]=_0x239c43:_0x42b192[_0x40db09['AGtYv']]=_0x239c43,_0x42b192;}catch(_0x46fd15){logger[_0x1714f1(0x2cd)](_0x1714f1(0x2c3)+_0x10523e+_0x1714f1(0x1ea)+_0x46fd15);}}async[a4_0x39e511(0x2b2)](_0xf96fe6,_0xb488e7){const _0x365d2d=a4_0x39e511;if(!this[_0x365d2d(0x283)]||!_0xb488e7||!_0xf96fe6)return![];try{return await SessionHandler['uploadEventData'](_0xb488e7);}catch(_0x52429d){logger[_0x365d2d(0x2cd)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0xf96fe6+'\x20with\x20error\x20:\x20'+_0x52429d);}}['initializeBddStep'](_0x32ba97){const _0x44bb00=a4_0x39e511,_0xedd7c9={};_0xedd7c9['ovnAh']=_0x44bb00(0x258);const _0x4fa47c=_0xedd7c9;return{'id':_0x32ba97[_0x44bb00(0x2af)],'text':_0x32ba97[_0x44bb00(0x24e)],'keyword':_0x32ba97[_0x44bb00(0x2c0)],'started_at':_0x32ba97['startedAt']['toISOString'](),'result':_0x4fa47c['ovnAh']};}[a4_0x39e511(0x271)](_0x180be0){const _0x2ecff8=a4_0x39e511,_0x4fd4e1={'OCZeb':function(_0x17aeb0){return _0x17aeb0();}};!this[_0x2ecff8(0x247)]['bddSteps']&&(this['currentTest'][_0x2ecff8(0x292)]=[]),!_0x180be0[_0x2ecff8(0x2af)]&&(_0x180be0[_0x2ecff8(0x2af)]=_0x4fd4e1[_0x2ecff8(0x1f1)](uuidv4),_0x180be0[_0x2ecff8(0x207)]=new Date(),this[_0x2ecff8(0x247)]['bddSteps'][_0x2ecff8(0x268)](this['initializeBddStep'](_0x180be0)));}[a4_0x39e511(0x1e4)](_0x55900f){const _0x2aa086=a4_0x39e511,_0x3f5eee={'mxyMN':function(_0x52adc8,_0x4cebf9){return _0x52adc8(_0x4cebf9);},'gasYX':_0x2aa086(0x1f8),'WAxHr':_0x2aa086(0x258),'FRsYE':_0x2aa086(0x2ab),'RUFIL':function(_0x1ccecd,_0xd0eb02){return _0x1ccecd-_0xd0eb02;}};let _0x882f0e=this[_0x2aa086(0x247)][_0x2aa086(0x292)][_0x2aa086(0x235)](_0x3e36f8=>_0x3e36f8['id']===_0x55900f[_0x2aa086(0x2af)]);_0x3f5eee[_0x2aa086(0x1e0)](isUndefined,_0x882f0e)&&(_0x882f0e=this[_0x2aa086(0x21f)](_0x55900f)),_0x882f0e['result']=[_0x3f5eee[_0x2aa086(0x29a)],_0x3f5eee[_0x2aa086(0x2b4)]]['includes'](_0x55900f[_0x2aa086(0x1e7)])?_0x3f5eee[_0x2aa086(0x264)]:_0x55900f['status'],_0x882f0e[_0x2aa086(0x241)]=new Date()[_0x2aa086(0x251)](),_0x882f0e[_0x2aa086(0x222)]=_0x3f5eee[_0x2aa086(0x2ba)](Date[_0x2aa086(0x267)](),_0x55900f[_0x2aa086(0x207)][_0x2aa086(0x26c)]()),_0x882f0e['failure']=_0x55900f[_0x2aa086(0x2cb)]?_0x55900f[_0x2aa086(0x2cb)]['message']:null;}}const a4_0x4100d9={};a4_0x4100d9['O11yHelper']=O11yHelper,a4_0x4100d9[a4_0x39e511(0x260)]=STATE_PASSED,a4_0x4100d9[a4_0x39e511(0x22b)]=STATE_FAILED,a4_0x4100d9['TEST_EVENTS']=TEST_EVENTS,module[a4_0x39e511(0x2bf)]=a4_0x4100d9;
|