browserstack-node-sdk 1.50.8 → 1.50.9
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_0xb81c(){const _0x1f0492=['reason','ZOZMB','MGlvN','QmTuX','LRHPn','info','container','GPKoS','chromium','HOOK_RUN_STARTED','nymdQ','_before','SESSION_STATUS','getAccessibilityResults','helpers','comment','gUkjn','stack','winstonLogger','accessibilityPlatform','executeScript','screenshotOutputFolder','getSyncScript','__skipSessionStatus','shouldWrapCommand','BROWSERSTACK_TESTHUB_UUID','CFmrg','emit','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','../../helpers/accessibility-automation/helper','setSessionStatus','then','TEST_SCREENSHOT','DUjxI','test-passed','failed','Element','GWHNE','codeceptjs/lib/helper/Playwright.js','test-failed','hook-failed','3880665BMlhxx','apply','Performing\x20scan\x20for\x20','test-before','Failed\x20to\x20execute\x20_before:\x20','setSessionName','pfUGO','wTJDs','FRAMEWORK_DETAILS','titlePath','SDK_POST_INITIALIZE','yXOQt','Suite','getResults','TestCafe','BS_TESTOPS_ALLOW_SCREENSHOTS','toISOString','slice','hookType','FKcGb','all','url','WRAbS','devtools://','../../helpers/logger','after','ENV_VAR','dispatcher','stopMonitoring','readFileSync','env','pKsni','browser','VnzET','prototype','webdriverio','test-after','BS_A11Y_JWT','startsWith','browserstackTestName','SDK_PRE_INITIALIZE','commandsToWrap','PERFORM_SCAN','codeceptjs/lib/recorder.js','../../helpers/request-spy','Puppeteer','end','jsZXy','NQuBa','push','ozijX','erUWn','args','GXOWw','NsPWH','3893660MqkTxU','--auto-open-devtools-for-tabs','qhqoT','rJYvd','codeceptjs','config','bxzIw','ieOdX','patchSaveScreenshot','from','IRXOX','test','HVhbV','hQuUX','name','13192630RalNMu','SxByL','nSVgg','SYNC','browserContext','startMonitoring','INSPT','4yPnTBS','addRequestSpy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','tvoHM','duqhK','ONstQ','ZhHQw','codeceptjs/lib/helper/WebDriver.js','base64','xdZgH','CFkze','eKGbd','63TiSJqo','arguments','pages','forEach','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','hook','stringify','690hzpdTb','NGkdK','Vxskq','HOnjY','format','389196WhfTyW','GqrvS','bstackAllyScanning','cUYng','bddStep-before','UVKop','HVQaw','__driver','started','211072mjhZJP','INFO','bs:addLog:','browserstack_executor:\x20','testFramework','UOlZO','fireEvent','vglJq','captureEvent','SAVE_RESULTS','passed','TEST_RUN_SKIPPED','nLoTY','GmRVb','bddStep','thJwtToken','ctx','warn','codeceptjs/lib/utils.js','JwZcy','hook-passed','add','TEST_RUN_STARTED','performScan','string','event','yRnfG','version','HXwUc','thBuildUuid','SDK_POST_TEST','util','Screenshot\x20path\x20not\x20found','title','aMTUm','aLeCe','BFuxm','message','RCQMa','domForge','saveTestResults','setGlobal','../../helpers/test-observability/utils','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','./helper.js','JtnFS','debug','a11y_core_config','skipSessionStatus','afterTest','../../helpers/globals.js','Rbulh','kmQWJ','../../bin/playwright/sessionDetails','captureError','restore','SDK_HOOK','yhGwW','SESSION_NAME','parse','aaOWm','find','hPRCf','stop','pOanO','kxjan','includes','step-comment','saveScreenshot','class','SDK_PRE_TEST','constructor','before','codeceptjs/lib/index.js','Jkifl','GET_RESULTS','MmzGs','SDK_TEST','kSHnd','toString','TEST_LOG','bddStepStart','cGZvO','browserStackExecuteDriver','initSaveScreenshot','fKsFJ','measureWrapper','pid','MAaWQ','patch','start','CDooz','\x0aStack:\x20','getResultsSummary','catch','TEST_RUN_FINISHED','contexts','47194jyuboG','HOOK_RUN_FINISHED','zWaRX','../../helpers/helper','MxiWk','bind','BROWSERSTACK_TESTHUB_JWT','bddStepFinish','2466591VrQsmW','step','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','test-started','Playwright','../../helpers/testhub/constants.js','gwQYT','call','action'];a1_0xb81c=function(){return _0x1f0492;};return a1_0xb81c();}const a1_0x21710f=a1_0x343d;(function(_0xc08dce,_0x54eb48){const _0x3e815c=a1_0x343d,_0xab3a6f=_0xc08dce();while(!![]){try{const _0x12c5f0=-parseInt(_0x3e815c(0x14e))/0x1*(parseInt(_0x3e815c(0x136))/0x2)+parseInt(_0x3e815c(0xb7))/0x3+-parseInt(_0x3e815c(0x120))/0x4+-parseInt(_0x3e815c(0xe9))/0x5+parseInt(_0x3e815c(0x149))/0x6*(parseInt(_0x3e815c(0xaf))/0x7)+-parseInt(_0x3e815c(0x157))/0x8*(-parseInt(_0x3e815c(0x142))/0x9)+parseInt(_0x3e815c(0x12f))/0xa;if(_0x12c5f0===_0x54eb48)break;else _0xab3a6f['push'](_0xab3a6f['shift']());}catch(_0x16ce01){_0xab3a6f['push'](_0xab3a6f['shift']());}}}(a1_0xb81c,0x8c062));const fs=require('fs'),util=require(a1_0x21710f(0x176)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x21710f(0xb2)),logger=require(a1_0x21710f(0x101))[a1_0x21710f(0xd2)],testOpsHelper=require(a1_0x21710f(0x78)),requestSpy=require(a1_0x21710f(0x115)),PlaywrightSessionDetails=require(a1_0x21710f(0x83)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x21710f(0xdd)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x21710f(0x7a)),testHubConstants=require(a1_0x21710f(0xbc)),globals=require(a1_0x21710f(0x80)),CodeceptJS=requireModule(a1_0x21710f(0x97),a1_0x21710f(0x124)),CodeceptUtils=requireModule(a1_0x21710f(0x169),a1_0x21710f(0x124)),CodeceptWebDriver=requireModule(a1_0x21710f(0x13d),a1_0x21710f(0x124)),CodeceptRecorder=requireModule(a1_0x21710f(0x114),'codeceptjs'),CodeceptPlaywright=requireModule(a1_0x21710f(0xe6),a1_0x21710f(0x124)),playwrightMarkSessionStatus=(_0x378769,_0x1393e7,_0x456261)=>{const _0x372b1a=a1_0x21710f,_0xc1e139={'UOlZO':_0x372b1a(0xde),'CFkze':function(_0x57a00c,_0xd7b9fc){return _0x57a00c(_0xd7b9fc);}},_0x20155f={};_0x20155f['status']=_0x1393e7;const _0x50254d={};_0x50254d[_0x372b1a(0xbf)]=_0xc1e139[_0x372b1a(0x15c)],_0x50254d['arguments']=_0x20155f;const _0x5c21f4=_0x50254d;return!_0xc1e139[_0x372b1a(0x140)](isUndefined,_0x456261)&&(_0x5c21f4[_0x372b1a(0x143)][_0x372b1a(0xc0)]=JSON['stringify'](_0x456261)),_0x378769['executeScript'](()=>{},_0x372b1a(0x15a)+JSON[_0x372b1a(0x148)](_0x5c21f4));},o11ySync=PerformanceTester[a1_0x21710f(0xa4)](PerformanceO11yEvents[a1_0x21710f(0x132)],async _0x1774e3=>{const _0x51d8c6=a1_0x21710f,_0x36dd5f={};_0x36dd5f[_0x51d8c6(0x14f)]=function(_0x282731,_0x4a82fb){return _0x282731===_0x4a82fb;},_0x36dd5f[_0x51d8c6(0xa0)]='Playwright';const _0x1ee88b=_0x36dd5f;_0x1ee88b[_0x51d8c6(0x14f)](_0x1774e3[_0x51d8c6(0x95)][_0x51d8c6(0x12e)],_0x1ee88b[_0x51d8c6(0xa0)])?await _0x1774e3[_0x51d8c6(0xd4)](_0x4cdb2a=>{},testOpsHelper[_0x51d8c6(0xd6)]()):await _0x1774e3[_0x51d8c6(0xd4)](testOpsHelper[_0x51d8c6(0xd6)]());}),markSessionName=PerformanceTester[a1_0x21710f(0xa4)](PerformanceAutEvents[a1_0x21710f(0x88)],async(_0x27ae34,_0x2f1ab3)=>{const _0x57dc80=a1_0x21710f,_0x32c076={};_0x32c076[_0x57dc80(0x17a)]=_0x57dc80(0xee),_0x32c076['gUkjn']=function(_0x2c2f6d,_0x1b2278){return _0x2c2f6d===_0x1b2278;},_0x32c076[_0x57dc80(0x14c)]=_0x57dc80(0xbb);const _0x32e5f3=_0x32c076,_0x505fd3={};_0x505fd3[_0x57dc80(0x12e)]=_0x2f1ab3;const _0x1e6394={};_0x1e6394['action']=_0x32e5f3[_0x57dc80(0x17a)],_0x1e6394[_0x57dc80(0x143)]=_0x505fd3;const _0x2d2fe8=_0x1e6394;_0x32e5f3[_0x57dc80(0xd0)](_0x27ae34[_0x57dc80(0x95)]['name'],_0x32e5f3[_0x57dc80(0x14c)])?await _0x27ae34[_0x57dc80(0xd4)](()=>{},_0x57dc80(0x15a)+JSON[_0x57dc80(0x148)](_0x2d2fe8)):await _0x27ae34[_0x57dc80(0xd4)](_0x57dc80(0x15a)+JSON[_0x57dc80(0x148)](_0x2d2fe8));}),patchSaveScreenshot=_0x45f107=>{const _0x19703b=a1_0x21710f,_0x2edf3e={'GPKoS':'base64','rJYvd':_0x19703b(0xe0),'doPHs':function(_0x309f69){return _0x309f69();},'NGkdK':function(_0x51be4d,_0x4d03a8){return _0x51be4d(_0x4d03a8);},'FKcGb':_0x19703b(0x177),'GXOWw':function(_0x2d2ed5,_0x35a782){return _0x2d2ed5(_0x35a782);}};_0x2edf3e[_0x19703b(0x11e)](isTrue,process[_0x19703b(0x107)][_0x19703b(0xf8)])&&!_0x45f107[_0x19703b(0x128)]&&(_0x45f107[_0x19703b(0x128)]=!![],_0x45f107['initSaveScreenshot']=_0x45f107[_0x19703b(0x92)],_0x45f107[_0x19703b(0x92)]=(_0x2adc46,_0x3ecf69=![])=>{const _0x52f62d=_0x19703b,_0x38211a={'IRXOX':_0x2edf3e[_0x52f62d(0xc7)],'ieOdX':_0x2edf3e[_0x52f62d(0x123)],'MGlvN':function(_0x32f566){return _0x2edf3e['doPHs'](_0x32f566);},'nymdQ':function(_0x2b8eb9,_0xfb4ffc){const _0x52a026=_0x52f62d;return _0x2edf3e[_0x52a026(0x14a)](_0x2b8eb9,_0xfb4ffc);},'CFmrg':_0x2edf3e[_0x52f62d(0xfc)]};return new Promise(function(_0x3bf128,_0xc6abbf){const _0x2cd681=_0x52f62d,_0xd777f9={'nLoTY':_0x38211a[_0x2cd681(0x12a)],'pOanO':_0x38211a[_0x2cd681(0x127)],'HXwUc':function(_0x215780){const _0x2068e1=_0x2cd681;return _0x38211a[_0x2068e1(0xc2)](_0x215780);},'PbKST':function(_0x49a934,_0x5551f4){const _0xf3d9ff=_0x2cd681;return _0x38211a[_0xf3d9ff(0xca)](_0x49a934,_0x5551f4);},'xdZgH':_0x38211a[_0x2cd681(0xda)]};_0x45f107[_0x2cd681(0xa2)](_0x2adc46,_0x3ecf69)[_0x2cd681(0xdf)](()=>{const _0x55050e=_0x2cd681,_0x45daf6=CodeceptUtils[_0x55050e(0xd5)](_0x2adc46);if(_0x45daf6){const _0x2819db=fs[_0x55050e(0x106)](_0x45daf6);process[_0x55050e(0xdb)](_0x55050e(0x159)+process['pid'],{'timestamp':new Date()[_0x55050e(0xf9)](),'message':_0x2819db[_0x55050e(0x9d)](_0xd777f9[_0x55050e(0x163)]),'kind':_0xd777f9[_0x55050e(0x8e)]}),_0xd777f9[_0x55050e(0x173)](_0x3bf128);}_0xd777f9['PbKST'](_0xc6abbf,new Error(_0xd777f9[_0x55050e(0x13f)]));})[_0x2cd681(0xac)](()=>null);});});},patchWebDriverBefore=_0x31c8a4=>{const _0x3f7dd0=a1_0x21710f,_0x3747b6={'Rbulh':function(_0x434f25){return _0x434f25();},'NQuBa':function(_0x34d119,_0x4ebcae){return _0x34d119(_0x4ebcae);},'VnzET':function(_0x35d10f,_0x3a8236){return _0x35d10f===_0x3a8236;},'CDooz':_0x3f7dd0(0x10c),'GWHNE':function(_0x1f9757,_0x576078){return _0x1f9757===_0x576078;},'duqhK':_0x3f7dd0(0x16f),'zWaRX':function(_0x38f595,_0x4143f6){return _0x38f595===_0x4143f6;},'INSPT':_0x3f7dd0(0xe4),'uqCly':function(_0x1c7e4d,_0x2e97cc){return _0x1c7e4d(_0x2e97cc);}},_0x417583=async function(_0xa2f612,_0x48acec){const _0x55ec1b=_0x3f7dd0;_0x3747b6[_0x55ec1b(0x81)](isAccessibilityAutomationSession)&&!global[_0x55ec1b(0x150)]&&global[_0x55ec1b(0xd3)]&&scripts[_0x55ec1b(0xd8)](_0xa2f612[_0x55ec1b(0x12e)])&&_0x3747b6[_0x55ec1b(0x119)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x55ec1b(0x150)]=!![],await PerformanceTester[_0x55ec1b(0xa4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3c6b1f=_0x55ec1b;logger['debug'](_0x3c6b1f(0xeb)+_0xa2f612[_0x3c6b1f(0x93)]+'\x20'+_0xa2f612[_0x3c6b1f(0x12e)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x31c8a4,scripts[_0x3c6b1f(0x16e)]);},{'command':_0xa2f612[_0x55ec1b(0x12e)]})());global['bstackAllyScanning']=![];const _0xcb4195=JSON[_0x55ec1b(0x89)](process[_0x55ec1b(0x107)][_0x55ec1b(0xf1)]||'{}');if(_0x3747b6[_0x55ec1b(0x10a)](_0xcb4195?.[_0x55ec1b(0x15b)]?.[_0x55ec1b(0x12e)],_0x3747b6[_0x55ec1b(0xa9)])&&_0x3747b6[_0x55ec1b(0xe5)](typeof _0xcb4195?.[_0x55ec1b(0x15b)]?.['version'],_0x3747b6[_0x55ec1b(0x13a)])&&_0xcb4195?.[_0x55ec1b(0x15b)]?.[_0x55ec1b(0x172)][_0x55ec1b(0x10f)]('7'))return _0x48acec['apply'](null,Array[_0x55ec1b(0x10b)]['slice'][_0x55ec1b(0xbe)](arguments,0x2));return _0x48acec['apply'](this,Array[_0x55ec1b(0x10b)][_0x55ec1b(0xfa)]['call'](arguments,0x2));},_0x183fff=CodeceptWebDriver[_0x3f7dd0(0x10b)][_0x3f7dd0(0xcb)];CodeceptWebDriver[_0x3f7dd0(0x10b)]['_before']=async function(){const _0x1ad4ae=_0x3f7dd0;try{await _0x183fff[_0x1ad4ae(0xea)](this,arguments);}catch(_0x486a11){logger['debug'](_0x1ad4ae(0xed)+util[_0x1ad4ae(0x14d)](_0x486a11));}scripts[_0x1ad4ae(0x112)]['filter'](_0x186df5=>_0x186df5[_0x1ad4ae(0x12e)]&&_0x186df5[_0x1ad4ae(0x93)])[_0x1ad4ae(0x145)](_0x4af75e=>{const _0x29f125=_0x1ad4ae;this[_0x29f125(0x109)]['overwriteCommand'](_0x4af75e[_0x29f125(0x12e)],_0x417583[_0x29f125(0xb4)](this,_0x4af75e),_0x3747b6[_0x29f125(0xb1)](_0x4af75e['class'],_0x3747b6[_0x29f125(0x135)]));}),_0x3747b6['uqCly'](processWebDriverConfig,_0x31c8a4);};};function parseJwt(_0x72cae4){const _0x134a76=a1_0x21710f,_0x1533a8={};_0x1533a8[_0x134a76(0xc3)]=_0x134a76(0x13e);const _0x2d0988=_0x1533a8;if(!_0x72cae4)return null;return JSON['parse'](Buffer[_0x134a76(0x129)](_0x72cae4['split']('.')[0x1],_0x2d0988[_0x134a76(0xc3)])[_0x134a76(0x9d)]());}const patchPlaywrightBefore=()=>{const _0x57072a=a1_0x21710f,_0xa482d8={'gwQYT':function(_0x79b0a0){return _0x79b0a0();},'Jkifl':_0x57072a(0x100),'yXOQt':_0x57072a(0x121),'INcSH':function(_0x3b3653,_0x512bd9){return _0x3b3653(_0x512bd9);},'jsZXy':function(_0x58b798,_0x19fdb6){return _0x58b798+_0x19fdb6;},'aaOWm':_0x57072a(0xaa),'ZOZMB':function(_0x571162){return _0x571162();},'pKsni':function(_0x39dc2d){return _0x39dc2d();}};PlaywrightSessionDetails[_0x57072a(0xa7)]();const _0x526568=CodeceptPlaywright[_0x57072a(0x10b)][_0x57072a(0xcb)];CodeceptPlaywright[_0x57072a(0x10b)][_0x57072a(0xcb)]=async function(){const _0x371efe=_0x57072a,_0x2e4306={'GmRVb':function(_0x49bbcd){const _0x51511d=a1_0x343d;return _0xa482d8[_0x51511d(0xbd)](_0x49bbcd);},'WRAbS':_0xa482d8[_0x371efe(0x98)],'tTGbA':_0xa482d8[_0x371efe(0xf4)],'wTJDs':function(_0xf0ade4,_0x31d3ff){return _0xa482d8['INcSH'](_0xf0ade4,_0x31d3ff);},'qhqoT':function(_0x5952d6,_0x45fc91){const _0x4a4fef=_0x371efe;return _0xa482d8[_0x4a4fef(0x118)](_0x5952d6,_0x45fc91);},'jTplc':_0xa482d8[_0x371efe(0x8a)]};this['browserContext']=await this['browser'][_0x371efe(0xae)]()[0x0];const _0x1c0a34=async()=>{const _0x12cd3a=_0x371efe,_0x48dee2={'UVKop':function(_0x1d3590){const _0x322407=a1_0x343d;return _0x2e4306[_0x322407(0x164)](_0x1d3590);},'cUYng':_0x2e4306[_0x12cd3a(0xff)]},_0x255d6b=this[_0x12cd3a(0x125)]&&this[_0x12cd3a(0x125)][_0x12cd3a(0xc8)]&&this[_0x12cd3a(0x125)][_0x12cd3a(0xc8)][_0x12cd3a(0x11d)]&&Array['isArray'](this[_0x12cd3a(0x125)][_0x12cd3a(0xc8)][_0x12cd3a(0x11d)])&&this['config'][_0x12cd3a(0xc8)][_0x12cd3a(0x11d)][_0x12cd3a(0x90)](_0x2e4306['tTGbA']);if(_0x2e4306[_0x12cd3a(0x164)](isAccessibilityAutomationSession)&&!_0x255d6b)try{const _0x4a3889=_0x2e4306[_0x12cd3a(0xf0)](parseJwt,process[_0x12cd3a(0x107)][_0x12cd3a(0x10e)]);if(_0x4a3889&&_0x4a3889[_0x12cd3a(0x7d)]&&_0x4a3889['a11y_core_config'][_0x12cd3a(0x75)]){const _0x4bd923=this[_0x12cd3a(0x133)][_0x12cd3a(0x144)]['bind'](this[_0x12cd3a(0x133)]);this[_0x12cd3a(0x133)][_0x12cd3a(0x144)]=async function(){const _0xed4e7d=_0x12cd3a,_0x35df70=await _0x48dee2[_0xed4e7d(0x153)](_0x4bd923),_0x272add=[];for(const _0x24d563 of _0x35df70){try{const _0x3dff58=await _0x24d563[_0xed4e7d(0xfe)]();!_0x3dff58[_0xed4e7d(0x10f)](_0x48dee2[_0xed4e7d(0x151)])&&_0x272add[_0xed4e7d(0x11a)](_0x24d563);}catch(_0x28b8d3){_0x272add['push'](_0x24d563);}}return _0x272add;};}if(!_0x2e4306[_0x12cd3a(0x164)](isBrowserstackInfra)){const _0x53601d=await this['page']['url']();if(_0x53601d[_0x12cd3a(0x10f)](_0x2e4306[_0x12cd3a(0xff)])){const _0x1c047f=await this[_0x12cd3a(0x133)][_0x12cd3a(0x144)]();this['_setPage'](_0x1c047f[0x0]);}}}catch(_0xba8e3e){logger[_0x12cd3a(0x7c)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0xba8e3e[_0x12cd3a(0x73)]+(_0xba8e3e[_0x12cd3a(0xd1)]?_0x2e4306[_0x12cd3a(0x122)](_0x2e4306['jTplc'],_0xba8e3e['stack']):''));}};_0xa482d8[_0x371efe(0xbd)](isBrowserstackInfra)&&await _0xa482d8[_0x371efe(0xc1)](_0x1c0a34),await _0x526568[_0x371efe(0xea)](this,arguments),!_0xa482d8[_0x371efe(0x108)](isBrowserstackInfra)&&await _0xa482d8['ZOZMB'](_0x1c0a34);};},getCodeceptDriver=()=>{const _0xbb2828=a1_0x21710f,_0x2df2bb={};_0x2df2bb['yJaQB']='WebDriver',_0x2df2bb['MWbEP']=_0xbb2828(0xbb),_0x2df2bb['hPRCf']=_0xbb2828(0x116),_0x2df2bb['kxjan']=_0xbb2828(0xf7);const _0x3886d4=_0x2df2bb,_0x2f4a7c=[_0x3886d4['yJaQB'],_0x3886d4['MWbEP'],_0x3886d4[_0xbb2828(0x8c)],_0x3886d4[_0xbb2828(0x8f)]],_0x2b7783=_0x2f4a7c[_0xbb2828(0x8b)](_0x3dbd61=>!!CodeceptJS[_0xbb2828(0xc6)][_0xbb2828(0xce)](_0x3dbd61));if(!_0x2b7783)return null;return CodeceptJS[_0xbb2828(0xc6)][_0xbb2828(0xce)](_0x2b7783);};function a1_0x343d(_0x3168e4,_0x26c001){const _0xb81cca=a1_0xb81c();return a1_0x343d=function(_0x343dc8,_0x3e3235){_0x343dc8=_0x343dc8-0x73;let _0xbb9a82=_0xb81cca[_0x343dc8];return _0xbb9a82;},a1_0x343d(_0x3168e4,_0x26c001);}module['exports']=function(_0x5d4194){const _0x432950=a1_0x21710f,_0x1d37bd={'fKsFJ':function(_0x4f46ed){return _0x4f46ed();},'ZhHQw':function(_0x1f62fd,_0x593701){return _0x1f62fd(_0x593701);},'tvoHM':_0x432950(0xcd),'uYPnP':_0x432950(0xb9),'yhGwW':'getAccessibilityResultsSummary','XDxIa':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','LRHPn':'hook-started','NsPWH':_0x432950(0x16b),'MAaWQ':_0x432950(0xe8),'kmQWJ':_0x432950(0x110),'yRnfG':_0x432950(0xec),'BFuxm':function(_0x7bf08,_0x256b38){return _0x7bf08(_0x256b38);},'DUjxI':function(_0xf5f978,_0x5e4cc7,_0x4d5c1a){return _0xf5f978(_0x5e4cc7,_0x4d5c1a);},'bxzIw':_0x432950(0xba),'JtnFS':function(_0x3f8d96,_0x4e5e8e,_0x3c6200){return _0x3f8d96(_0x4e5e8e,_0x3c6200);},'AinII':function(_0x5bdb06,_0x53b80c,_0xc277aa){return _0x5bdb06(_0x53b80c,_0xc277aa);},'HVQaw':_0x432950(0xe2),'SxByL':function(_0x4612ce){return _0x4612ce();},'ONstQ':function(_0x4a41d3,_0x4b41f1,_0x4d4d6a,_0x1477f3){return _0x4a41d3(_0x4b41f1,_0x4d4d6a,_0x1477f3);},'MmzGs':function(_0x5e8127,_0x43e3ad,_0x54b071,_0x14901b){return _0x5e8127(_0x43e3ad,_0x54b071,_0x14901b);},'HVhbV':function(_0x5dadbe,_0x1e3aec){return _0x5dadbe===_0x1e3aec;},'GOAOL':_0x432950(0xf5),'MxiWk':_0x432950(0xe7),'hQuUX':'test-skipped','pfUGO':_0x432950(0x7f),'nSVgg':function(_0x47adda,_0x254998,_0xf2fa26){return _0x47adda(_0x254998,_0xf2fa26);},'eKGbd':_0x432950(0x138),'vglJq':_0x432950(0x10d),'EhALQ':_0x432950(0x158),'kSHnd':_0x432950(0x9e),'RCQMa':_0x432950(0x91),'ozijX':_0x432950(0x152),'eiOLQ':'bddStep-after','aMTUm':function(_0x2e4fc6){return _0x2e4fc6();},'XkgCT':'Playwright'};_0x5d4194[_0x432950(0x7e)]&&(global[_0x432950(0xd7)]=_0x5d4194[_0x432950(0x7e)]);PerformanceTester[_0x432950(0x134)]();const _0x5373fa=_0x1d37bd[_0x432950(0x179)](getCodeceptDriver),_0x453319=new O11yHelper(_0x5373fa,_0x5d4194),_0xbc2b66=!!CodeceptJS[_0x432950(0xc6)]['helpers'](_0x1d37bd['XkgCT']);global[_0x432950(0x155)]=_0x5373fa,_0x5373fa&&(PerformanceTester[_0x432950(0xa4)](PerformanceEvents[_0x432950(0x111)],()=>{const _0x33e707=_0x432950;_0xbc2b66?_0x1d37bd['fKsFJ'](patchPlaywrightBefore):_0x1d37bd[_0x33e707(0x13c)](patchWebDriverBefore,_0x5373fa);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x432950(0xf3)],()=>{const _0x10a870=_0x432950,_0x260e58={};_0x260e58['CdjHJ']=_0x1d37bd[_0x10a870(0x87)],_0x260e58[_0x10a870(0x11c)]=_0x1d37bd['XDxIa'];const _0x40e9ad=_0x260e58;_0x5373fa['getAccessibilityResultsSummary']=async()=>{const _0xb245b5=_0x10a870;if(global['accessibilityPlatform']){const _0x465b83={};return _0x465b83['command']=_0x40e9ad['CdjHJ'],await PerformanceTester[_0xb245b5(0xa4)](PerformanceA11yEvents[_0xb245b5(0x113)],async()=>{const _0x340bed=_0xb245b5;return await AccessibilityHelper[_0x340bed(0xa1)](_0x5373fa,scripts[_0x340bed(0x16e)]);},_0x465b83)(),await PerformanceTester[_0xb245b5(0xa4)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x54b722=_0xb245b5;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5373fa,scripts[_0x54b722(0xab)]);})();}return logger['warn'](_0x40e9ad['erUWn']),{};},_0x5373fa[_0x10a870(0xcd)]=async()=>{const _0x3c4d03=_0x10a870;if(global[_0x3c4d03(0xd3)]){const _0x256734={};return _0x256734['command']=_0x1d37bd[_0x3c4d03(0x139)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3c4d03(0x113)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x5373fa,scripts['performScan']);},_0x256734)(),await PerformanceTester[_0x3c4d03(0xa4)](PerformanceA11yEvents[_0x3c4d03(0x99)],async()=>{const _0x55012e=_0x3c4d03;return await AccessibilityHelper[_0x55012e(0xa1)](_0x5373fa,scripts[_0x55012e(0xf6)]);})();}return logger[_0x3c4d03(0x168)](_0x1d37bd['uYPnP']),{};},_0x1d37bd[_0x10a870(0x13c)](patchSaveScreenshot,_0x5373fa);})()),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0xfd)]['before'],()=>{const _0x9dfc7b=_0x432950;PerformanceTester[_0x9dfc7b(0xa8)](PerformanceEvents[_0x9dfc7b(0x94)]);try{_0x453319[_0x9dfc7b(0xa8)](),testOpsHelper[_0x9dfc7b(0x137)](),PerformanceTester[_0x9dfc7b(0x117)](PerformanceEvents[_0x9dfc7b(0x94)]);}catch(_0x361046){PerformanceTester['captureError'](_0x361046),PerformanceTester[_0x9dfc7b(0x117)](PerformanceEvents['SDK_PRE_TEST'],![],_0x361046);}}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS['event'][_0x432950(0xfd)][_0x432950(0x102)],async()=>{const _0x28ca57=_0x432950;PerformanceTester['start'](PerformanceEvents[_0x28ca57(0x175)]);try{requestSpy[_0x28ca57(0x85)](),await _0x453319[_0x28ca57(0x8d)](),PerformanceTester[_0x28ca57(0x117)](PerformanceEvents[_0x28ca57(0x175)]);}catch(_0x515c73){PerformanceTester['captureError'](_0x515c73),PerformanceTester[_0x28ca57(0x117)](PerformanceEvents[_0x28ca57(0x175)],![],_0x515c73);}finally{PerformanceTester[_0x28ca57(0x105)]();}}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS['event'][_0x432950(0x147)][_0x432950(0x156)],_0xbb21cf=>{const _0x1dba13=_0x432950;PerformanceTester[_0x1dba13(0xa8)](PerformanceEvents['SDK_HOOK']);try{const _0x1de83a=_0xbb21cf[_0x1dba13(0x167)][_0x1dba13(0x12b)],_0x161416=_0x453319['captureEvent'](TEST_EVENTS[_0x1dba13(0xc9)],_0x1de83a);CodeceptRecorder[_0x1dba13(0x16c)](()=>_0x453319['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x161416));const _0x5a5705={};_0x5a5705['hookType']=_0x1d37bd[_0x1dba13(0xc4)],PerformanceTester[_0x1dba13(0x117)](PerformanceEvents[_0x1dba13(0x86)],!![],null,_0x5a5705);}catch(_0x35538a){const _0x5dcb3c={};_0x5dcb3c[_0x1dba13(0xfb)]=_0x1d37bd[_0x1dba13(0xc4)],PerformanceTester[_0x1dba13(0x117)](PerformanceEvents['SDK_HOOK'],![],_0x35538a,_0x5dcb3c),PerformanceTester[_0x1dba13(0x84)](_0x35538a);}}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x147)]['passed'],_0x1f71ba=>{const _0x3ecfd3=_0x432950,_0x47b336={};_0x47b336[_0x3ecfd3(0xfb)]=_0x1d37bd[_0x3ecfd3(0x11f)],PerformanceTester[_0x3ecfd3(0xa8)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x47b336);try{const _0x8f368=_0x1f71ba[_0x3ecfd3(0x167)]['test'],_0x57fdd0=_0x453319['captureEvent'](TEST_EVENTS[_0x3ecfd3(0xb0)],_0x8f368);CodeceptRecorder[_0x3ecfd3(0x16c)](()=>_0x453319[_0x3ecfd3(0x15d)](TEST_EVENTS[_0x3ecfd3(0xb0)],_0x57fdd0));const _0x28c50b={};_0x28c50b[_0x3ecfd3(0xfb)]=_0x1d37bd[_0x3ecfd3(0x11f)],PerformanceTester[_0x3ecfd3(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x28c50b);}catch(_0x56ebf0){PerformanceTester['captureError'](_0x56ebf0);const _0x5cd099={};_0x5cd099['hookType']=_0x1d37bd['NsPWH'],PerformanceTester[_0x3ecfd3(0x117)](PerformanceHookEvents[_0x3ecfd3(0x86)],![],_0x56ebf0,_0x5cd099);}}),CodeceptJS[_0x432950(0x170)]['dispatcher']['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x147)]['failed'],async(_0x3fd8b2,_0x1e85be)=>{const _0x574876=_0x432950;PerformanceTester[_0x574876(0xa8)](PerformanceHookEvents[_0x574876(0x86)]);try{const _0x45ac2b=_0x3fd8b2['ctx'][_0x574876(0x12b)],_0x3d667c=_0x453319['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x45ac2b,_0x1e85be);CodeceptRecorder[_0x574876(0x16c)](()=>_0x453319['fireEvent'](TEST_EVENTS[_0x574876(0xb0)],_0x3d667c));const _0x3eda17={};_0x3eda17[_0x574876(0xfb)]=_0x1d37bd[_0x574876(0xa6)],PerformanceTester[_0x574876(0xa8)](PerformanceHookEvents[_0x574876(0x86)],!![],null,_0x3eda17);}catch(_0x37cace){PerformanceTester[_0x574876(0x84)](_0x37cace);const _0x1c3f7c={};_0x1c3f7c['hookType']=_0x1d37bd['MAaWQ'],PerformanceTester[_0x574876(0x117)](PerformanceHookEvents['SDK_HOOK'],![],_0x37cace,_0x1c3f7c);}const _0x54b68f={};_0x54b68f[_0x574876(0xfb)]=_0x1d37bd[_0x574876(0xa6)],PerformanceTester[_0x574876(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x54b68f);}),CodeceptJS['event'][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x12b)][_0x432950(0x96)],_0x41157a=>{const _0x45fcd4=_0x432950;PerformanceTester[_0x45fcd4(0xa8)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x45fcd4(0x77)](_0x1d37bd[_0x45fcd4(0x82)],_0x41157a[_0x45fcd4(0x178)]);_0x1d37bd[_0x45fcd4(0xa3)](isBrowserstackInfra)&&(_0xbc2b66&&(global['__workerDetails']={'currentTest':{'name':_0x41157a['title'],'testInfo':{'titlePath':_0x41157a[_0x45fcd4(0xf2)]()}}}));const _0x1b31b1={};_0x1b31b1[_0x45fcd4(0xfb)]=_0x1d37bd['yRnfG'],PerformanceTester[_0x45fcd4(0x117)](PerformanceHookEvents[_0x45fcd4(0x86)],!![],null,_0x1b31b1);}catch(_0x588a39){PerformanceTester['captureError'](_0x588a39);const _0x45bd4d={};_0x45bd4d[_0x45fcd4(0xfb)]=_0x1d37bd[_0x45fcd4(0x171)],PerformanceTester['end'](PerformanceHookEvents[_0x45fcd4(0x86)],![],_0x588a39,_0x45bd4d);}}),CodeceptJS[_0x432950(0x170)]['dispatcher']['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x12b)][_0x432950(0x156)],_0x5b0c90=>{const _0x569d12=_0x432950;PerformanceTester[_0x569d12(0xa8)](PerformanceHookEvents[_0x569d12(0x86)]);try{globals[_0x569d12(0x77)](_0x1d37bd['kmQWJ'],_0x5b0c90[_0x569d12(0x178)]);const _0x21ec52=_0x453319['captureEvent'](TEST_EVENTS[_0x569d12(0x16d)],_0x5b0c90);CodeceptRecorder[_0x569d12(0x16c)](()=>_0x453319[_0x569d12(0x15d)](TEST_EVENTS[_0x569d12(0x16d)],_0x21ec52)),CodeceptRecorder[_0x569d12(0x16c)](async()=>{const _0x17ba21=_0x569d12;_0x1d37bd[_0x17ba21(0xa3)](isBrowserstackInfra)&&(!_0x1d37bd[_0x17ba21(0x17b)](isTrue,_0x5d4194['skipSessionName'])&&await _0x1d37bd[_0x17ba21(0xe1)](markSessionName,_0x5373fa,_0x5b0c90[_0x17ba21(0x178)]),_0x453319['enabled']&&await _0x1d37bd['ZhHQw'](o11ySync,_0x5373fa));});}catch(_0x4261fe){const _0x5d198b={};_0x5d198b[_0x569d12(0xfb)]=_0x1d37bd[_0x569d12(0x126)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x4261fe,_0x5d198b),PerformanceTester[_0x569d12(0x84)](_0x4261fe);}const _0x1666b5={};_0x1666b5['hookType']=_0x1d37bd[_0x569d12(0x126)],PerformanceTester[_0x569d12(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1666b5);}),CodeceptJS['event'][_0x432950(0x104)]['on'](CodeceptJS['event'][_0x432950(0x12b)][_0x432950(0x161)],_0xb9cabc=>{const _0x347156=_0x432950;PerformanceTester['start'](PerformanceHookEvents[_0x347156(0x86)]);try{const _0x4b6d9e=_0x453319['captureEvent'](TEST_EVENTS[_0x347156(0xad)],_0xb9cabc);CodeceptRecorder[_0x347156(0x16c)](()=>_0x453319[_0x347156(0x15d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4b6d9e)),CodeceptRecorder[_0x347156(0x16c)](async()=>{const _0x438ea5=_0x347156,_0xfb5e91={'Vxskq':function(_0x807bb7,_0x50bfd7,_0x10c347){const _0x176cb4=a1_0x343d;return _0x1d37bd[_0x176cb4(0x7b)](_0x807bb7,_0x50bfd7,_0x10c347);},'JwZcy':function(_0xe0b99b,_0x3b1441,_0x62aa26){return _0x1d37bd['AinII'](_0xe0b99b,_0x3b1441,_0x62aa26);}};_0x1d37bd[_0x438ea5(0xa3)](isBrowserstackInfra)&&await PerformanceTester[_0x438ea5(0xa4)](PerformanceAutEvents[_0x438ea5(0xcc)],async()=>{const _0x4eb4e9=_0x438ea5;_0xbc2b66?await _0xfb5e91[_0x4eb4e9(0x14b)](playwrightMarkSessionStatus,_0x5373fa,STATE_PASSED):await _0xfb5e91[_0x4eb4e9(0x16a)](markSessionStatus,_0x5373fa,STATE_PASSED);})();}),PerformanceTester[_0x347156(0x117)](PerformanceEvents[_0x347156(0x9b)]);}catch(_0x36d36a){PerformanceTester[_0x347156(0x84)](_0x36d36a);const _0x5317f1={};_0x5317f1[_0x347156(0xfb)]=_0x1d37bd[_0x347156(0x154)],PerformanceTester[_0x347156(0x117)](PerformanceHookEvents['SDK_HOOK'],![],_0x36d36a,_0x5317f1),PerformanceTester[_0x347156(0x117)](PerformanceEvents[_0x347156(0x9b)],![],_0x36d36a);}const _0x35b370={};_0x35b370[_0x347156(0xfb)]=_0x1d37bd[_0x347156(0x154)],PerformanceTester[_0x347156(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x35b370);}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS['event']['test'][_0x432950(0xe3)],(_0x5b886f,_0x23b441)=>{const _0x552e54=_0x432950;PerformanceTester[_0x552e54(0xa8)](PerformanceHookEvents[_0x552e54(0x86)]);try{if(_0x1d37bd[_0x552e54(0x12c)](_0x5b886f['constructor'][_0x552e54(0x12e)],_0x1d37bd['GOAOL'])){const _0x2e887f=_0x453319[_0x552e54(0x15f)](TEST_EVENTS[_0x552e54(0x162)],_0x5b886f['ctx']['currentTest']);CodeceptRecorder['add'](()=>_0x453319[_0x552e54(0x15d)](TEST_EVENTS[_0x552e54(0x162)],_0x2e887f));}else{const _0x175351=_0x453319['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5b886f,_0x23b441);CodeceptRecorder[_0x552e54(0x16c)](()=>{const _0x19ccdd=_0x552e54;try{_0x453319[_0x19ccdd(0x15d)](TEST_EVENTS[_0x19ccdd(0xad)],_0x175351);}catch(_0x102f95){logger[_0x19ccdd(0x7c)](_0x19ccdd(0xdc)+util['format'](_0x102f95)),PerformanceTester[_0x19ccdd(0x117)](PerformanceEvents['SDK_TEST'],![],_0x102f95);}}),CodeceptRecorder[_0x552e54(0x16c)](async()=>{const _0x5733d7=_0x552e54;try{_0x1d37bd[_0x5733d7(0x130)](isBrowserstackInfra)&&(_0xbc2b66?await _0x1d37bd[_0x5733d7(0x13b)](playwrightMarkSessionStatus,_0x5373fa,STATE_FAILED,_0x23b441):await _0x1d37bd[_0x5733d7(0x9a)](markSessionStatus,_0x5373fa,STATE_FAILED,_0x23b441));}catch(_0xe94629){logger[_0x5733d7(0x7c)](_0x5733d7(0x79)+util[_0x5733d7(0x14d)](_0xe94629)),PerformanceTester[_0x5733d7(0x117)](PerformanceEvents['SDK_TEST'],![],_0xe94629);}});}PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x19091c){PerformanceTester['captureError'](_0x19091c);const _0x5579bc={};_0x5579bc[_0x552e54(0xfb)]=_0x1d37bd['MxiWk'],PerformanceTester[_0x552e54(0x117)](PerformanceHookEvents['SDK_HOOK'],![],_0x19091c,_0x5579bc),PerformanceTester[_0x552e54(0x117)](PerformanceEvents[_0x552e54(0x9b)],![],_0x19091c);}const _0x280791={};_0x280791[_0x552e54(0xfb)]=_0x1d37bd[_0x552e54(0xb3)],PerformanceTester[_0x552e54(0x117)](PerformanceHookEvents[_0x552e54(0x86)],!![],null,_0x280791);}),CodeceptJS[_0x432950(0x170)]['dispatcher']['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x12b)]['skipped'],_0x4a9dd1=>{const _0x57e87c=_0x432950;PerformanceTester[_0x57e87c(0xa8)](PerformanceHookEvents[_0x57e87c(0x86)]);try{const _0x1aaf9b=_0x453319[_0x57e87c(0x15f)](TEST_EVENTS[_0x57e87c(0x162)],_0x4a9dd1);CodeceptRecorder[_0x57e87c(0x16c)](()=>_0x453319[_0x57e87c(0x15d)](TEST_EVENTS[_0x57e87c(0x162)],_0x1aaf9b)),PerformanceTester[_0x57e87c(0x117)](PerformanceEvents[_0x57e87c(0x9b)]);}catch(_0x5557fd){PerformanceTester[_0x57e87c(0x84)](_0x5557fd),PerformanceTester[_0x57e87c(0x117)](PerformanceEvents[_0x57e87c(0x9b)],![],_0x5557fd);const _0x509bae={};_0x509bae[_0x57e87c(0xfb)]=_0x1d37bd[_0x57e87c(0x12d)],PerformanceTester['end'](PerformanceHookEvents[_0x57e87c(0x86)],![],_0x5557fd,_0x509bae);}const _0x151969={};_0x151969[_0x57e87c(0xfb)]=_0x1d37bd[_0x57e87c(0x12d)],PerformanceTester[_0x57e87c(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x151969);}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x12b)][_0x432950(0x102)],async(_0x36bf78,_0x1146a4)=>{const _0x261153=_0x432950;try{PerformanceTester[_0x261153(0xa8)](PerformanceHookEvents[_0x261153(0x86)]);const _0x18e2ce=_0x1d37bd[_0x261153(0x131)](shouldScanTestForAccessibility,_0x36bf78[_0x261153(0xf2)](),!![]);if(_0x1d37bd['fKsFJ'](isAccessibilityAutomationSession)&&global[_0x261153(0xd3)]&&_0x18e2ce){const _0x11c219={};_0x11c219['thTestRunUuid']=_0x36bf78['testAnalyticsId'],_0x11c219[_0x261153(0x174)]=process['env'][testHubConstants[_0x261153(0x103)][_0x261153(0xd9)]],_0x11c219[_0x261153(0x166)]=process['env'][testHubConstants[_0x261153(0x103)][_0x261153(0xb5)]];const _0x27d5c8=_0x11c219;logger[_0x261153(0x7c)](_0x261153(0x146)+JSON[_0x261153(0x148)](_0x27d5c8)),CodeceptRecorder['add'](async()=>{const _0x143f49=_0x261153,_0x2aa8e0={};_0x2aa8e0['command']=_0x1d37bd[_0x143f49(0xef)],await PerformanceTester[_0x143f49(0xa4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x7a4dc1=_0x143f49;await AccessibilityHelper[_0x7a4dc1(0xa1)](_0x5373fa,scripts[_0x7a4dc1(0x16e)]);},_0x2aa8e0)(),await PerformanceTester[_0x143f49(0xa4)](PerformanceA11yEvents[_0x143f49(0x160)],async()=>{const _0x3bbb3b=_0x143f49;await AccessibilityHelper[_0x3bbb3b(0xa1)](_0x5373fa,scripts[_0x3bbb3b(0x76)],_0x27d5c8);})();}),logger[_0x261153(0xc5)](_0x1d37bd[_0x261153(0x141)]);}const _0x3a2444={};_0x3a2444[_0x261153(0xfb)]=_0x1d37bd[_0x261153(0x15e)],PerformanceTester[_0x261153(0x117)](PerformanceHookEvents[_0x261153(0x86)],!![],null,_0x3a2444);}catch(_0x5d6b95){PerformanceTester[_0x261153(0x84)](_0x5d6b95);const _0xed2e48={};_0xed2e48[_0x261153(0xfb)]=_0x1d37bd[_0x261153(0x15e)],PerformanceTester[_0x261153(0x117)](PerformanceHookEvents[_0x261153(0x86)],![],_0x5d6b95,_0xed2e48);}}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS['event'][_0x432950(0xb8)][_0x432950(0xcf)],_0x57e206=>{const _0x584e3e=_0x432950;PerformanceTester[_0x584e3e(0xa8)](PerformanceHookEvents[_0x584e3e(0x86)]);try{process[_0x584e3e(0xdb)](_0x584e3e(0x159)+process[_0x584e3e(0xa5)],{'timestamp':new Date()['toISOString'](),'level':_0x1d37bd['EhALQ'],'message':_0x57e206,'kind':_0x1d37bd[_0x584e3e(0x9c)],'http_response':{}});}catch(_0x434221){PerformanceTester[_0x584e3e(0x84)](_0x434221);const _0x21ad01={};_0x21ad01['hookType']=_0x1d37bd[_0x584e3e(0x74)],PerformanceTester[_0x584e3e(0x117)](PerformanceHookEvents['SDK_HOOK'],![],_0x434221,_0x21ad01);}const _0x4a48a2={};_0x4a48a2[_0x584e3e(0xfb)]=_0x1d37bd[_0x584e3e(0x74)],PerformanceTester['end'](PerformanceHookEvents[_0x584e3e(0x86)],!![],null,_0x4a48a2);}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)]['bddStep'][_0x432950(0x96)],_0x50ee90=>{const _0x5aecb0=_0x432950,_0x13a3ee={};_0x13a3ee['hookType']=_0x1d37bd[_0x5aecb0(0x11b)],PerformanceTester[_0x5aecb0(0xa4)](PerformanceHookEvents[_0x5aecb0(0x86)],()=>{const _0x23ffa2=_0x5aecb0;_0x453319[_0x23ffa2(0x9f)](_0x50ee90);},_0x13a3ee)();}),CodeceptJS[_0x432950(0x170)][_0x432950(0x104)]['on'](CodeceptJS[_0x432950(0x170)][_0x432950(0x165)][_0x432950(0x102)],_0x3ea32a=>{const _0xedcffb=_0x432950,_0x128012={};_0x128012[_0xedcffb(0xfb)]=_0x1d37bd['eiOLQ'],PerformanceTester[_0xedcffb(0xa4)](PerformanceHookEvents[_0xedcffb(0x86)],()=>{const _0x56efbe=_0xedcffb;_0x453319[_0x56efbe(0xb6)](_0x3ea32a);},_0x128012)();});};
|
|
1
|
+
const a1_0x3b706d=a1_0x236f;(function(_0x57007c,_0x14806f){const _0x5830d5=a1_0x236f,_0x2c654c=_0x57007c();while(!![]){try{const _0x1f3335=parseInt(_0x5830d5(0x20c))/0x1+parseInt(_0x5830d5(0x15b))/0x2+parseInt(_0x5830d5(0x25d))/0x3+-parseInt(_0x5830d5(0x222))/0x4+-parseInt(_0x5830d5(0x19f))/0x5+-parseInt(_0x5830d5(0x224))/0x6+parseInt(_0x5830d5(0x24c))/0x7*(parseInt(_0x5830d5(0x16f))/0x8);if(_0x1f3335===_0x14806f)break;else _0x2c654c['push'](_0x2c654c['shift']());}catch(_0x4a4ef2){_0x2c654c['push'](_0x2c654c['shift']());}}}(a1_0x2b5a,0x7d5d9));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3b706d(0x252)),logger=require(a1_0x3b706d(0x19d))[a1_0x3b706d(0x1b8)],testOpsHelper=require(a1_0x3b706d(0x22e)),requestSpy=require(a1_0x3b706d(0x195)),PlaywrightSessionDetails=require(a1_0x3b706d(0x1c5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3b706d(0x1f8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x3b706d(0x19a)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x3b706d(0x1be)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x3b706d(0x18a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3b706d(0x187)),testHubConstants=require(a1_0x3b706d(0x1ff)),globals=require(a1_0x3b706d(0x1ed)),CodeceptJS=requireModule(a1_0x3b706d(0x16a),a1_0x3b706d(0x213)),CodeceptUtils=requireModule(a1_0x3b706d(0x1e4),a1_0x3b706d(0x213)),CodeceptWebDriver=requireModule(a1_0x3b706d(0x227),a1_0x3b706d(0x213)),CodeceptRecorder=requireModule(a1_0x3b706d(0x1f4),a1_0x3b706d(0x213)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x3b706d(0x213)),playwrightMarkSessionStatus=(_0x89dd68,_0x3621ea,_0x5cc278)=>{const _0x40b5f9=a1_0x3b706d,_0x368e80={'jTJnh':_0x40b5f9(0x1d4),'YYGps':function(_0x57f7c7,_0x16d590){return _0x57f7c7(_0x16d590);}},_0x59ae27={};_0x59ae27['status']=_0x3621ea;const _0x9a4666={};_0x9a4666['action']=_0x368e80[_0x40b5f9(0x1cd)],_0x9a4666['arguments']=_0x59ae27;const _0x20a31d=_0x9a4666;return!_0x368e80[_0x40b5f9(0x1ef)](isUndefined,_0x5cc278)&&(_0x20a31d[_0x40b5f9(0x180)]['reason']=JSON[_0x40b5f9(0x1fd)](_0x5cc278)),_0x89dd68[_0x40b5f9(0x1c0)](()=>{},'browserstack_executor:\x20'+JSON[_0x40b5f9(0x1fd)](_0x20a31d));},o11ySync=PerformanceTester[a1_0x3b706d(0x1ea)](PerformanceO11yEvents[a1_0x3b706d(0x161)],async _0x2d0d43=>{const _0x54c895=a1_0x3b706d,_0x360573={};_0x360573[_0x54c895(0x1dc)]=function(_0x2b6cc3,_0x37c412){return _0x2b6cc3===_0x37c412;},_0x360573[_0x54c895(0x171)]=_0x54c895(0x17f);const _0x503361=_0x360573;_0x503361[_0x54c895(0x1dc)](_0x2d0d43[_0x54c895(0x225)][_0x54c895(0x238)],_0x503361[_0x54c895(0x171)])?await _0x2d0d43[_0x54c895(0x1c0)](_0x32fe25=>{},testOpsHelper[_0x54c895(0x1f0)]()):await _0x2d0d43['executeScript'](testOpsHelper[_0x54c895(0x1f0)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x3b706d(0x1a2)],async(_0xceaed5,_0x4205cb)=>{const _0x2d7357=a1_0x3b706d,_0x5a305f={};_0x5a305f[_0x2d7357(0x20e)]=_0x2d7357(0x1d7),_0x5a305f[_0x2d7357(0x249)]=function(_0x4f891c,_0x51f372){return _0x4f891c===_0x51f372;},_0x5a305f[_0x2d7357(0x203)]=_0x2d7357(0x17f);const _0x2a5ce1=_0x5a305f,_0x18ea4b={};_0x18ea4b[_0x2d7357(0x238)]=_0x4205cb;const _0x21fdaa={};_0x21fdaa['action']=_0x2a5ce1[_0x2d7357(0x20e)],_0x21fdaa['arguments']=_0x18ea4b;const _0x2ad9c8=_0x21fdaa;_0x2a5ce1[_0x2d7357(0x249)](_0xceaed5[_0x2d7357(0x225)]['name'],_0x2a5ce1[_0x2d7357(0x203)])?await _0xceaed5[_0x2d7357(0x1c0)](()=>{},_0x2d7357(0x18d)+JSON[_0x2d7357(0x1fd)](_0x2ad9c8)):await _0xceaed5['executeScript'](_0x2d7357(0x18d)+JSON['stringify'](_0x2ad9c8));}),patchSaveScreenshot=_0x466106=>{const _0x3c7c08=a1_0x3b706d,_0x20a09d={'QccPY':_0x3c7c08(0x20b),'wYURA':_0x3c7c08(0x169),'MHfxD':function(_0x3e7ac2){return _0x3e7ac2();},'Alkpk':function(_0x422844,_0x498722){return _0x422844(_0x498722);},'lopxH':_0x3c7c08(0x23e)};_0x20a09d['Alkpk'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x466106[_0x3c7c08(0x255)]&&(_0x466106[_0x3c7c08(0x255)]=!![],_0x466106[_0x3c7c08(0x1f3)]=_0x466106['saveScreenshot'],_0x466106[_0x3c7c08(0x217)]=(_0x1975c2,_0x1264f5=![])=>{const _0x103958=_0x3c7c08,_0x5993b0={'tHUFi':_0x20a09d['QccPY'],'ThWeR':_0x20a09d[_0x103958(0x204)],'VSUNX':function(_0x130468){const _0x284568=_0x103958;return _0x20a09d[_0x284568(0x214)](_0x130468);},'ULTca':function(_0x476681,_0x2fdd41){const _0x43883f=_0x103958;return _0x20a09d[_0x43883f(0x176)](_0x476681,_0x2fdd41);},'xPoaH':_0x20a09d[_0x103958(0x21a)]};return new Promise(function(_0x302358,_0x420ac8){const _0x59d4a5=_0x103958;_0x466106['initSaveScreenshot'](_0x1975c2,_0x1264f5)['then'](()=>{const _0x45c1ab=a1_0x236f,_0x347bac=CodeceptUtils[_0x45c1ab(0x256)](_0x1975c2);if(_0x347bac){const _0x2f4a8e=fs[_0x45c1ab(0x206)](_0x347bac);process[_0x45c1ab(0x19b)](_0x45c1ab(0x178)+process[_0x45c1ab(0x179)],{'timestamp':new Date()['toISOString'](),'message':_0x2f4a8e[_0x45c1ab(0x1f9)](_0x5993b0[_0x45c1ab(0x198)]),'kind':_0x5993b0[_0x45c1ab(0x185)]}),_0x5993b0['VSUNX'](_0x302358);}_0x5993b0[_0x45c1ab(0x1b7)](_0x420ac8,new Error(_0x5993b0[_0x45c1ab(0x192)]));})[_0x59d4a5(0x231)](()=>null);});});},patchWebDriverBefore=_0xb1fb89=>{const _0x10e12a=a1_0x3b706d,_0x373ad0={'ZwPdA':function(_0x380b81){return _0x380b81();},'WHLDZ':function(_0x9c8f30,_0x2dff4b){return _0x9c8f30(_0x2dff4b);},'copGK':function(_0x405856,_0x5d54f5){return _0x405856===_0x5d54f5;},'FwUnd':_0x10e12a(0x1bf),'QrsPh':_0x10e12a(0x1af),'WKzrr':function(_0x3d0b52,_0xb9c414){return _0x3d0b52===_0xb9c414;},'jLHzN':'Element'},_0x483c02=async function(_0x144c40,_0xb3703a){const _0x5f1a7b=_0x10e12a;_0x373ad0[_0x5f1a7b(0x15a)](isAccessibilityAutomationSession)&&!global[_0x5f1a7b(0x212)]&&global[_0x5f1a7b(0x1da)]&&scripts[_0x5f1a7b(0x157)](_0x144c40[_0x5f1a7b(0x238)])&&_0x373ad0[_0x5f1a7b(0x25b)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5f1a7b(0x212)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5f1a7b(0x16d)],async()=>{const _0x1a00ae=_0x5f1a7b;logger[_0x1a00ae(0x22a)](_0x1a00ae(0x1c8)+_0x144c40[_0x1a00ae(0x15c)]+'\x20'+_0x144c40[_0x1a00ae(0x238)]),await AccessibilityHelper[_0x1a00ae(0x21b)](_0xb1fb89,scripts[_0x1a00ae(0x170)]);},{'command':_0x144c40[_0x5f1a7b(0x238)]})());global['bstackAllyScanning']=![];const _0x1e77dd=JSON['parse'](process['env'][_0x5f1a7b(0x1e9)]||'{}');if(_0x373ad0['copGK'](_0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x238)],_0x373ad0[_0x5f1a7b(0x239)])&&_0x373ad0[_0x5f1a7b(0x1e6)](typeof _0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x243)],_0x373ad0[_0x5f1a7b(0x208)])&&_0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x243)]['startsWith']('7'))return _0xb3703a[_0x5f1a7b(0x194)](null,Array[_0x5f1a7b(0x242)][_0x5f1a7b(0x211)][_0x5f1a7b(0x16e)](arguments,0x2));return _0xb3703a[_0x5f1a7b(0x194)](this,Array[_0x5f1a7b(0x242)][_0x5f1a7b(0x211)][_0x5f1a7b(0x16e)](arguments,0x2));},_0x1cdb6d=CodeceptWebDriver['prototype'][_0x10e12a(0x17c)];CodeceptWebDriver[_0x10e12a(0x242)]['_before']=async function(){const _0x20378d=_0x10e12a,_0x5a9e55={'EOOmF':function(_0x2b6afa,_0x584951){return _0x373ad0['WKzrr'](_0x2b6afa,_0x584951);},'ydVZW':_0x373ad0[_0x20378d(0x17a)]};try{await _0x1cdb6d['apply'](this,arguments);}catch(_0x2d38e8){logger[_0x20378d(0x22a)](_0x20378d(0x166)+util['format'](_0x2d38e8));}scripts[_0x20378d(0x24f)][_0x20378d(0x1a9)](_0x3db08c=>_0x3db08c[_0x20378d(0x238)]&&_0x3db08c['class'])[_0x20378d(0x228)](_0x583339=>{const _0xb21330=_0x20378d;this[_0xb21330(0x1e2)][_0xb21330(0x18f)](_0x583339[_0xb21330(0x238)],_0x483c02[_0xb21330(0x1d8)](this,_0x583339),_0x5a9e55[_0xb21330(0x196)](_0x583339[_0xb21330(0x15c)],_0x5a9e55[_0xb21330(0x183)]));}),_0x373ad0[_0x20378d(0x25b)](processWebDriverConfig,_0xb1fb89);};};function parseJwt(_0x27bea0){const _0xc8c99b=a1_0x3b706d,_0x745dc5={};_0x745dc5[_0xc8c99b(0x1ad)]=_0xc8c99b(0x20b);const _0x3d6192=_0x745dc5;if(!_0x27bea0)return null;return JSON[_0xc8c99b(0x1b6)](Buffer[_0xc8c99b(0x193)](_0x27bea0['split']('.')[0x1],_0x3d6192[_0xc8c99b(0x1ad)])[_0xc8c99b(0x1f9)]());}function a1_0x236f(_0x205f5a,_0x59dcf6){const _0x2b5ad6=a1_0x2b5a();return a1_0x236f=function(_0x236f1b,_0x23fdc3){_0x236f1b=_0x236f1b-0x157;let _0x521037=_0x2b5ad6[_0x236f1b];return _0x521037;},a1_0x236f(_0x205f5a,_0x59dcf6);}const patchPlaywrightBefore=()=>{const _0xc9cf60=a1_0x3b706d,_0x3a6767={'tyGiI':function(_0x169393){return _0x169393();},'AnSCV':_0xc9cf60(0x1a1),'WFmou':'--auto-open-devtools-for-tabs','ROeMI':function(_0xddc4c9,_0x55d550){return _0xddc4c9(_0x55d550);},'gnNCH':function(_0x148f07,_0x3b5005){return _0x148f07+_0x3b5005;},'AJzNo':'\x0aStack:\x20','ftDBs':function(_0x16e5de){return _0x16e5de();},'AVlnU':function(_0x510431){return _0x510431();}};PlaywrightSessionDetails['patch']();const _0x2a369c=CodeceptPlaywright[_0xc9cf60(0x242)][_0xc9cf60(0x17c)];CodeceptPlaywright[_0xc9cf60(0x242)][_0xc9cf60(0x17c)]=async function(){const _0x20762c=_0xc9cf60,_0x542c13={'YpBuM':function(_0x2101cd){const _0x15fa8f=a1_0x236f;return _0x3a6767[_0x15fa8f(0x20a)](_0x2101cd);},'IGsyy':_0x3a6767[_0x20762c(0x254)],'YsOOE':_0x3a6767[_0x20762c(0x18e)],'XmQTd':function(_0x952bf4,_0x117a50){const _0x3ccdae=_0x20762c;return _0x3a6767[_0x3ccdae(0x1b5)](_0x952bf4,_0x117a50);},'jowIo':function(_0x9e8caa,_0x5ca9dc){const _0x591cc5=_0x20762c;return _0x3a6767[_0x591cc5(0x219)](_0x9e8caa,_0x5ca9dc);},'rnAUm':_0x3a6767['AJzNo']};this[_0x20762c(0x164)]=await this[_0x20762c(0x1e2)][_0x20762c(0x246)]()[0x0];const _0x1fb64e=async()=>{const _0x315e30=_0x20762c,_0x50c810=this[_0x315e30(0x177)]&&this['config']['chromium']&&this['config']['chromium'][_0x315e30(0x21c)]&&Array[_0x315e30(0x24b)](this[_0x315e30(0x177)]['chromium'][_0x315e30(0x21c)])&&this[_0x315e30(0x177)][_0x315e30(0x186)][_0x315e30(0x21c)]['includes'](_0x542c13[_0x315e30(0x160)]);if(_0x542c13[_0x315e30(0x168)](isAccessibilityAutomationSession)&&!_0x50c810)try{const _0x5b7c0d=_0x542c13[_0x315e30(0x158)](parseJwt,process[_0x315e30(0x22d)][_0x315e30(0x1b1)]);if(_0x5b7c0d&&_0x5b7c0d[_0x315e30(0x25a)]&&_0x5b7c0d[_0x315e30(0x25a)]['domForge']){const _0x23d5e0=this[_0x315e30(0x164)][_0x315e30(0x1f2)][_0x315e30(0x1d8)](this['browserContext']);this[_0x315e30(0x164)]['pages']=async function(){const _0x122d0f=_0x315e30,_0xa1b1a1=await _0x542c13[_0x122d0f(0x168)](_0x23d5e0),_0x902080=[];for(const _0x5b4304 of _0xa1b1a1){try{const _0x38e284=await _0x5b4304[_0x122d0f(0x1c9)]();!_0x38e284[_0x122d0f(0x1bd)](_0x542c13[_0x122d0f(0x20d)])&&_0x902080[_0x122d0f(0x1e7)](_0x5b4304);}catch(_0x4f2f38){_0x902080[_0x122d0f(0x1e7)](_0x5b4304);}}return _0x902080;};}if(!_0x542c13[_0x315e30(0x168)](isBrowserstackInfra)){const _0x5e01a6=await this[_0x315e30(0x1b0)][_0x315e30(0x1c9)]();if(_0x5e01a6[_0x315e30(0x1bd)](_0x542c13[_0x315e30(0x20d)])){const _0x140951=await this[_0x315e30(0x164)][_0x315e30(0x1f2)]();this[_0x315e30(0x15f)](_0x140951[0x0]);}}}catch(_0x2f7f97){logger[_0x315e30(0x22a)](_0x315e30(0x1aa)+_0x2f7f97[_0x315e30(0x1d2)]+(_0x2f7f97[_0x315e30(0x1cf)]?_0x542c13['jowIo'](_0x542c13[_0x315e30(0x24e)],_0x2f7f97[_0x315e30(0x1cf)]):''));}};_0x3a6767[_0x20762c(0x20a)](isBrowserstackInfra)&&await _0x3a6767[_0x20762c(0x20a)](_0x1fb64e),await _0x2a369c[_0x20762c(0x194)](this,arguments),!_0x3a6767[_0x20762c(0x215)](isBrowserstackInfra)&&await _0x3a6767[_0x20762c(0x197)](_0x1fb64e);};},getCodeceptDriver=()=>{const _0x430488=a1_0x3b706d,_0x1c9988={};_0x1c9988[_0x430488(0x1bb)]=_0x430488(0x23b),_0x1c9988[_0x430488(0x17b)]=_0x430488(0x17f),_0x1c9988[_0x430488(0x1fa)]='Puppeteer',_0x1c9988[_0x430488(0x1f6)]=_0x430488(0x1ce);const _0x1eba77=_0x1c9988,_0x5dd626=[_0x1eba77[_0x430488(0x1bb)],_0x1eba77[_0x430488(0x17b)],_0x1eba77[_0x430488(0x1fa)],_0x1eba77[_0x430488(0x1f6)]],_0x58a272=_0x5dd626[_0x430488(0x1a4)](_0x22cad6=>!!CodeceptJS[_0x430488(0x258)][_0x430488(0x1c2)](_0x22cad6));if(!_0x58a272)return null;return CodeceptJS[_0x430488(0x258)]['helpers'](_0x58a272);};module[a1_0x3b706d(0x163)]=function(_0x183998){const _0x14da2b=a1_0x3b706d,_0x1435ed={'zOPVh':function(_0x3e4a10){return _0x3e4a10();},'dYSMx':function(_0x28e4f2,_0x30cd12){return _0x28e4f2(_0x30cd12);},'UvdSz':'getAccessibilityResults','Cuksx':_0x14da2b(0x1fb),'YHLUY':_0x14da2b(0x1e0),'wsuHB':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','LTfaK':_0x14da2b(0x1a7),'ZJFJv':_0x14da2b(0x191),'tLAWi':_0x14da2b(0x244),'gNKUY':_0x14da2b(0x1de),'qFeaX':function(_0x12c00c){return _0x12c00c();},'fDCpa':'test-before','hxATt':function(_0x3d32cc,_0x31d312){return _0x3d32cc(_0x31d312);},'cvAUj':function(_0x14d910,_0x434aa8,_0x184560){return _0x14d910(_0x434aa8,_0x184560);},'lmGKD':function(_0x2da4ec,_0x27ada2){return _0x2da4ec(_0x27ada2);},'NDCWo':_0x14da2b(0x1e5),'TVxZh':function(_0x40282e){return _0x40282e();},'YDrkV':_0x14da2b(0x1a0),'UAScS':function(_0x1b231c){return _0x1b231c();},'FUnJg':function(_0x215965,_0x1c62b3,_0x222bfe,_0x5bc1eb){return _0x215965(_0x1c62b3,_0x222bfe,_0x5bc1eb);},'Otrfp':function(_0x15d0e5,_0x231d94){return _0x15d0e5===_0x231d94;},'yzCgl':_0x14da2b(0x165),'psusp':_0x14da2b(0x1dd),'TSttF':_0x14da2b(0x1fc),'xxACO':_0x14da2b(0x1ee),'MtBlq':function(_0xc9a7f6){return _0xc9a7f6();},'YOejj':_0x14da2b(0x184),'wjQDS':_0x14da2b(0x188),'OYWer':_0x14da2b(0x229),'baxso':_0x14da2b(0x1c6),'MWZym':_0x14da2b(0x257),'kvaGJ':_0x14da2b(0x1c1),'cVNzg':_0x14da2b(0x182),'gdcFM':'Playwright'};_0x183998[_0x14da2b(0x1ec)]&&(global[_0x14da2b(0x236)]=_0x183998[_0x14da2b(0x1ec)]);PerformanceTester[_0x14da2b(0x20f)]();const _0x4dc4c6=_0x1435ed[_0x14da2b(0x190)](getCodeceptDriver),_0x4ad711=new O11yHelper(_0x4dc4c6,_0x183998),_0x140d32=!!CodeceptJS[_0x14da2b(0x258)]['helpers'](_0x1435ed[_0x14da2b(0x21d)]);global['__driver']=_0x4dc4c6,_0x4dc4c6&&(PerformanceTester[_0x14da2b(0x1ea)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x24d0bf=_0x14da2b;_0x140d32?_0x1435ed['zOPVh'](patchPlaywrightBefore):_0x1435ed[_0x24d0bf(0x17d)](patchWebDriverBefore,_0x4dc4c6);})(),PerformanceTester[_0x14da2b(0x1ea)](PerformanceEvents[_0x14da2b(0x230)],()=>{const _0x5b34bd=_0x14da2b,_0x32411d={};_0x32411d['DNVMj']=_0x1435ed[_0x5b34bd(0x173)],_0x32411d[_0x5b34bd(0x1a8)]=_0x1435ed['wsuHB'];const _0x180a53=_0x32411d;_0x4dc4c6['getAccessibilityResultsSummary']=async()=>{const _0x10846e=_0x5b34bd;if(global['accessibilityPlatform']){const _0x11532f={};return _0x11532f[_0x10846e(0x1ba)]=_0x180a53[_0x10846e(0x24d)],await PerformanceTester[_0x10846e(0x1ea)](PerformanceA11yEvents[_0x10846e(0x16d)],async()=>{const _0x44729a=_0x10846e;return await AccessibilityHelper[_0x44729a(0x21b)](_0x4dc4c6,scripts[_0x44729a(0x170)]);},_0x11532f)(),await PerformanceTester[_0x10846e(0x1ea)](PerformanceA11yEvents[_0x10846e(0x1cb)],async()=>{const _0x3bca0d=_0x10846e;return await AccessibilityHelper[_0x3bca0d(0x21b)](_0x4dc4c6,scripts[_0x3bca0d(0x251)]);})();}return logger[_0x10846e(0x1cc)](_0x180a53[_0x10846e(0x1a8)]),{};},_0x4dc4c6[_0x5b34bd(0x223)]=async()=>{const _0x24d1ce=_0x5b34bd;if(global['accessibilityPlatform']){const _0x2d2523={};return _0x2d2523[_0x24d1ce(0x1ba)]=_0x1435ed[_0x24d1ce(0x250)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x24d1ce(0x16d)],async()=>{const _0x1ef248=_0x24d1ce;return await AccessibilityHelper[_0x1ef248(0x21b)](_0x4dc4c6,scripts[_0x1ef248(0x170)]);},_0x2d2523)(),await PerformanceTester[_0x24d1ce(0x1ea)](PerformanceA11yEvents[_0x24d1ce(0x18b)],async()=>{const _0x4c1630=_0x24d1ce;return await AccessibilityHelper[_0x4c1630(0x21b)](_0x4dc4c6,scripts['getResults']);})();}return logger['warn'](_0x1435ed['Cuksx']),{};},_0x1435ed[_0x5b34bd(0x17d)](patchSaveScreenshot,_0x4dc4c6);})()),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event']['all'][_0x14da2b(0x207)],()=>{const _0x32a152=_0x14da2b;PerformanceTester[_0x32a152(0x201)](PerformanceEvents['SDK_PRE_TEST']);try{_0x4ad711[_0x32a152(0x201)](),testOpsHelper[_0x32a152(0x1e8)](),PerformanceTester[_0x32a152(0x199)](PerformanceEvents[_0x32a152(0x1d5)]);}catch(_0x29fed7){PerformanceTester['captureError'](_0x29fed7),PerformanceTester[_0x32a152(0x199)](PerformanceEvents[_0x32a152(0x1d5)],![],_0x29fed7);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x167)][_0x14da2b(0x1ca)],async()=>{const _0x39cb04=_0x14da2b;PerformanceTester['start'](PerformanceEvents[_0x39cb04(0x1a5)]);try{requestSpy[_0x39cb04(0x1e3)](),await _0x4ad711[_0x39cb04(0x23f)](),PerformanceTester[_0x39cb04(0x199)](PerformanceEvents[_0x39cb04(0x1a5)]);}catch(_0x3506d6){PerformanceTester['captureError'](_0x3506d6),PerformanceTester[_0x39cb04(0x199)](PerformanceEvents[_0x39cb04(0x1a5)],![],_0x3506d6);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x226)]['started'],_0x470c09=>{const _0x3cf0d2=_0x14da2b;PerformanceTester[_0x3cf0d2(0x201)](PerformanceEvents[_0x3cf0d2(0x205)]);try{const _0x23efb5=_0x470c09['ctx'][_0x3cf0d2(0x1d0)],_0x2843be=_0x4ad711[_0x3cf0d2(0x241)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x23efb5);CodeceptRecorder[_0x3cf0d2(0x210)](()=>_0x4ad711[_0x3cf0d2(0x1c4)](TEST_EVENTS[_0x3cf0d2(0x1b9)],_0x2843be));const _0x3ac7f5={};_0x3ac7f5[_0x3cf0d2(0x253)]=_0x1435ed[_0x3cf0d2(0x1b4)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x3ac7f5);}catch(_0x4dccd0){const _0x4e26e8={};_0x4e26e8[_0x3cf0d2(0x253)]=_0x1435ed[_0x3cf0d2(0x1b4)],PerformanceTester['end'](PerformanceEvents[_0x3cf0d2(0x205)],![],_0x4dccd0,_0x4e26e8),PerformanceTester['captureError'](_0x4dccd0);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x226)][_0x14da2b(0x248)],_0x409ccc=>{const _0x12759f=_0x14da2b,_0x405cc3={};_0x405cc3['hookType']=_0x1435ed[_0x12759f(0x181)],PerformanceTester[_0x12759f(0x201)](PerformanceHookEvents[_0x12759f(0x205)],!![],null,_0x405cc3);try{const _0x5a777f=_0x409ccc[_0x12759f(0x240)]['test'],_0x4691cd=_0x4ad711[_0x12759f(0x241)](TEST_EVENTS[_0x12759f(0x22b)],_0x5a777f);CodeceptRecorder['add'](()=>_0x4ad711['fireEvent'](TEST_EVENTS[_0x12759f(0x22b)],_0x4691cd));const _0x2ae0e0={};_0x2ae0e0[_0x12759f(0x253)]=_0x1435ed['ZJFJv'],PerformanceTester[_0x12759f(0x199)](PerformanceHookEvents[_0x12759f(0x205)],!![],null,_0x2ae0e0);}catch(_0x1199f5){PerformanceTester[_0x12759f(0x174)](_0x1199f5);const _0x5e6a1c={};_0x5e6a1c['hookType']=_0x1435ed[_0x12759f(0x181)],PerformanceTester['end'](PerformanceHookEvents[_0x12759f(0x205)],![],_0x1199f5,_0x5e6a1c);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x226)]['failed'],async(_0x2c34e0,_0x206d62)=>{const _0x1862fe=_0x14da2b;PerformanceTester[_0x1862fe(0x201)](PerformanceHookEvents[_0x1862fe(0x205)]);try{const _0x33a125=_0x2c34e0['ctx']['test'],_0x28d689=_0x4ad711[_0x1862fe(0x241)](TEST_EVENTS[_0x1862fe(0x22b)],_0x33a125,_0x206d62);CodeceptRecorder[_0x1862fe(0x210)](()=>_0x4ad711[_0x1862fe(0x1c4)](TEST_EVENTS[_0x1862fe(0x22b)],_0x28d689));const _0x597c30={};_0x597c30[_0x1862fe(0x253)]=_0x1435ed[_0x1862fe(0x233)],PerformanceTester[_0x1862fe(0x201)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x597c30);}catch(_0x5e059e){PerformanceTester[_0x1862fe(0x174)](_0x5e059e);const _0x592eff={};_0x592eff[_0x1862fe(0x253)]=_0x1435ed['tLAWi'],PerformanceTester[_0x1862fe(0x199)](PerformanceHookEvents[_0x1862fe(0x205)],![],_0x5e059e,_0x592eff);}const _0x4c4750={};_0x4c4750[_0x1862fe(0x253)]=_0x1435ed[_0x1862fe(0x233)],PerformanceTester[_0x1862fe(0x199)](PerformanceHookEvents[_0x1862fe(0x205)],!![],null,_0x4c4750);}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x1d0)]['before'],_0x388525=>{const _0x563bc6=_0x14da2b;PerformanceTester[_0x563bc6(0x201)](PerformanceHookEvents[_0x563bc6(0x205)]);try{globals[_0x563bc6(0x1ae)](_0x1435ed[_0x563bc6(0x1d6)],_0x388525[_0x563bc6(0x237)]);_0x1435ed[_0x563bc6(0x1d3)](isBrowserstackInfra)&&(_0x140d32&&(global[_0x563bc6(0x22c)]={'currentTest':{'name':_0x388525[_0x563bc6(0x237)],'testInfo':{'titlePath':_0x388525[_0x563bc6(0x202)]()}}}));const _0x32e7e9={};_0x32e7e9[_0x563bc6(0x253)]=_0x1435ed[_0x563bc6(0x259)],PerformanceTester[_0x563bc6(0x199)](PerformanceHookEvents[_0x563bc6(0x205)],!![],null,_0x32e7e9);}catch(_0xba61a4){PerformanceTester['captureError'](_0xba61a4);const _0x5b73ca={};_0x5b73ca[_0x563bc6(0x253)]=_0x1435ed['fDCpa'],PerformanceTester[_0x563bc6(0x199)](PerformanceHookEvents[_0x563bc6(0x205)],![],_0xba61a4,_0x5b73ca);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)][_0x14da2b(0x23a)],_0x2406c9=>{const _0x1aadd4=_0x14da2b;PerformanceTester[_0x1aadd4(0x201)](PerformanceHookEvents[_0x1aadd4(0x205)]);try{globals[_0x1aadd4(0x1ae)](_0x1435ed[_0x1aadd4(0x1d6)],_0x2406c9['title']);const _0x48250a=_0x4ad711[_0x1aadd4(0x241)](TEST_EVENTS[_0x1aadd4(0x19e)],_0x2406c9);CodeceptRecorder[_0x1aadd4(0x210)](()=>_0x4ad711[_0x1aadd4(0x1c4)](TEST_EVENTS[_0x1aadd4(0x19e)],_0x48250a)),CodeceptRecorder['add'](async()=>{const _0x3aaf01=_0x1aadd4;_0x1435ed[_0x3aaf01(0x1d3)](isBrowserstackInfra)&&(!_0x1435ed[_0x3aaf01(0x200)](isTrue,_0x183998[_0x3aaf01(0x19c)])&&await _0x1435ed[_0x3aaf01(0x17e)](markSessionName,_0x4dc4c6,_0x2406c9[_0x3aaf01(0x237)]),_0x4ad711['enabled']&&await _0x1435ed[_0x3aaf01(0x16c)](o11ySync,_0x4dc4c6));});}catch(_0x5e6f67){const _0xeb9020={};_0xeb9020[_0x1aadd4(0x253)]=_0x1435ed[_0x1aadd4(0x1fe)],PerformanceTester[_0x1aadd4(0x199)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e6f67,_0xeb9020),PerformanceTester[_0x1aadd4(0x174)](_0x5e6f67);}const _0x59d4b7={};_0x59d4b7[_0x1aadd4(0x253)]=_0x1435ed[_0x1aadd4(0x1fe)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x59d4b7);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)]['test'][_0x14da2b(0x248)],_0x33e2ee=>{const _0x317497=_0x14da2b,_0x57033f={'YuNov':function(_0xecae89,_0x300cc3,_0x368289){const _0x4678f5=a1_0x236f;return _0x1435ed[_0x4678f5(0x17e)](_0xecae89,_0x300cc3,_0x368289);},'XOPXH':function(_0x27689b){const _0x453bc1=a1_0x236f;return _0x1435ed[_0x453bc1(0x15d)](_0x27689b);}};PerformanceTester[_0x317497(0x201)](PerformanceHookEvents[_0x317497(0x205)]);try{const _0x108165=_0x4ad711[_0x317497(0x241)](TEST_EVENTS[_0x317497(0x1d1)],_0x33e2ee);CodeceptRecorder[_0x317497(0x210)](()=>_0x4ad711[_0x317497(0x1c4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x108165)),CodeceptRecorder[_0x317497(0x210)](async()=>{const _0x1a2443=_0x317497,_0x3e9292={'ctllZ':function(_0x5ff4fb,_0x301200,_0x31d9fc){const _0x4d6e0a=a1_0x236f;return _0x57033f[_0x4d6e0a(0x209)](_0x5ff4fb,_0x301200,_0x31d9fc);}};_0x57033f[_0x1a2443(0x1c7)](isBrowserstackInfra)&&await PerformanceTester[_0x1a2443(0x1ea)](PerformanceAutEvents[_0x1a2443(0x25e)],async()=>{const _0x32c54d=_0x1a2443;_0x140d32?await _0x3e9292[_0x32c54d(0x1bc)](playwrightMarkSessionStatus,_0x4dc4c6,STATE_PASSED):await _0x3e9292['ctllZ'](markSessionStatus,_0x4dc4c6,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x317497(0x1c3)]);}catch(_0x14767a){PerformanceTester[_0x317497(0x174)](_0x14767a);const _0x436d96={};_0x436d96[_0x317497(0x253)]=_0x1435ed[_0x317497(0x1f1)],PerformanceTester[_0x317497(0x199)](PerformanceHookEvents[_0x317497(0x205)],![],_0x14767a,_0x436d96),PerformanceTester[_0x317497(0x199)](PerformanceEvents[_0x317497(0x1c3)],![],_0x14767a);}const _0x3be44d={};_0x3be44d[_0x317497(0x253)]=_0x1435ed[_0x317497(0x1f1)],PerformanceTester[_0x317497(0x199)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3be44d);}),CodeceptJS['event'][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)]['failed'],(_0x1e9a55,_0x57ebe4)=>{const _0x2773b7=_0x14da2b,_0x11cf14={'ZzDos':function(_0x2d82d4){return _0x1435ed['UAScS'](_0x2d82d4);},'aFCvP':function(_0xf0727c,_0x1485e6,_0x426832,_0x9d5ab){const _0x24f5fa=a1_0x236f;return _0x1435ed[_0x24f5fa(0x1f5)](_0xf0727c,_0x1485e6,_0x426832,_0x9d5ab);}};PerformanceTester[_0x2773b7(0x201)](PerformanceHookEvents[_0x2773b7(0x205)]);try{if(_0x1435ed[_0x2773b7(0x21e)](_0x1e9a55['constructor']['name'],_0x1435ed[_0x2773b7(0x1a6)])){const _0x2d60b2=_0x4ad711[_0x2773b7(0x241)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1e9a55['ctx'][_0x2773b7(0x1d9)]);CodeceptRecorder['add'](()=>_0x4ad711['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2d60b2));}else{const _0x2de6b6=_0x4ad711[_0x2773b7(0x241)](TEST_EVENTS[_0x2773b7(0x1d1)],_0x1e9a55,_0x57ebe4);CodeceptRecorder[_0x2773b7(0x210)](()=>{const _0x5d2ac7=_0x2773b7;try{_0x4ad711[_0x5d2ac7(0x1c4)](TEST_EVENTS[_0x5d2ac7(0x1d1)],_0x2de6b6);}catch(_0x4f280f){logger[_0x5d2ac7(0x22a)](_0x5d2ac7(0x1ab)+util[_0x5d2ac7(0x172)](_0x4f280f)),PerformanceTester[_0x5d2ac7(0x199)](PerformanceEvents[_0x5d2ac7(0x1c3)],![],_0x4f280f);}}),CodeceptRecorder[_0x2773b7(0x210)](async()=>{const _0x1e6e57=_0x2773b7;try{_0x11cf14[_0x1e6e57(0x234)](isBrowserstackInfra)&&(_0x140d32?await _0x11cf14['aFCvP'](playwrightMarkSessionStatus,_0x4dc4c6,STATE_FAILED,_0x57ebe4):await _0x11cf14['aFCvP'](markSessionStatus,_0x4dc4c6,STATE_FAILED,_0x57ebe4));}catch(_0xa59339){logger['debug'](_0x1e6e57(0x232)+util[_0x1e6e57(0x172)](_0xa59339)),PerformanceTester[_0x1e6e57(0x199)](PerformanceEvents[_0x1e6e57(0x1c3)],![],_0xa59339);}});}PerformanceTester[_0x2773b7(0x199)](PerformanceEvents[_0x2773b7(0x1c3)]);}catch(_0x2b1e92){PerformanceTester['captureError'](_0x2b1e92);const _0x1141db={};_0x1141db[_0x2773b7(0x253)]=_0x1435ed[_0x2773b7(0x245)],PerformanceTester[_0x2773b7(0x199)](PerformanceHookEvents[_0x2773b7(0x205)],![],_0x2b1e92,_0x1141db),PerformanceTester['end'](PerformanceEvents[_0x2773b7(0x1c3)],![],_0x2b1e92);}const _0x38364f={};_0x38364f['hookType']=_0x1435ed[_0x2773b7(0x245)],PerformanceTester[_0x2773b7(0x199)](PerformanceHookEvents[_0x2773b7(0x205)],!![],null,_0x38364f);}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)]['test'][_0x14da2b(0x247)],_0x4bb71f=>{const _0x4fa9d2=_0x14da2b;PerformanceTester[_0x4fa9d2(0x201)](PerformanceHookEvents[_0x4fa9d2(0x205)]);try{const _0x309f8b=_0x4ad711[_0x4fa9d2(0x241)](TEST_EVENTS[_0x4fa9d2(0x15e)],_0x4bb71f);CodeceptRecorder[_0x4fa9d2(0x210)](()=>_0x4ad711[_0x4fa9d2(0x1c4)](TEST_EVENTS[_0x4fa9d2(0x15e)],_0x309f8b)),PerformanceTester[_0x4fa9d2(0x199)](PerformanceEvents[_0x4fa9d2(0x1c3)]);}catch(_0x51f9f4){PerformanceTester[_0x4fa9d2(0x174)](_0x51f9f4),PerformanceTester[_0x4fa9d2(0x199)](PerformanceEvents[_0x4fa9d2(0x1c3)],![],_0x51f9f4);const _0x3fb4f7={};_0x3fb4f7[_0x4fa9d2(0x253)]=_0x1435ed[_0x4fa9d2(0x175)],PerformanceTester[_0x4fa9d2(0x199)](PerformanceHookEvents[_0x4fa9d2(0x205)],![],_0x51f9f4,_0x3fb4f7);}const _0x3a8f4e={};_0x3a8f4e[_0x4fa9d2(0x253)]=_0x1435ed[_0x4fa9d2(0x175)],PerformanceTester[_0x4fa9d2(0x199)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3a8f4e);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)][_0x14da2b(0x1ca)],async(_0x44aee1,_0x3d4ced)=>{const _0x3afab4=_0x14da2b,_0x54e719={};_0x54e719['YyYnT']=_0x1435ed[_0x3afab4(0x16b)];const _0x3b84ff=_0x54e719;try{PerformanceTester[_0x3afab4(0x201)](PerformanceHookEvents[_0x3afab4(0x205)]);const _0x3f8d1a=_0x1435ed['cvAUj'](shouldScanTestForAccessibility,_0x44aee1[_0x3afab4(0x202)](),!![]);if(_0x1435ed['MtBlq'](isAccessibilityAutomationSession)&&global[_0x3afab4(0x1da)]&&_0x3f8d1a){const _0x5c95d2={};_0x5c95d2[_0x3afab4(0x25f)]=_0x44aee1['testAnalyticsId'],_0x5c95d2[_0x3afab4(0x1a3)]=process[_0x3afab4(0x22d)][testHubConstants[_0x3afab4(0x220)][_0x3afab4(0x23c)]],_0x5c95d2[_0x3afab4(0x221)]=process[_0x3afab4(0x22d)][testHubConstants['ENV_VAR'][_0x3afab4(0x25c)]];const _0x250431=_0x5c95d2;logger['debug'](_0x3afab4(0x1eb)+JSON[_0x3afab4(0x1fd)](_0x250431)),CodeceptRecorder['add'](async()=>{const _0x8b299=_0x3afab4,_0x13b703={};_0x13b703[_0x8b299(0x1ba)]=_0x3b84ff[_0x8b299(0x1b2)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xee36a0=_0x8b299;await AccessibilityHelper[_0xee36a0(0x21b)](_0x4dc4c6,scripts[_0xee36a0(0x170)]);},_0x13b703)(),await PerformanceTester[_0x8b299(0x1ea)](PerformanceA11yEvents[_0x8b299(0x18c)],async()=>{const _0x244c0a=_0x8b299;await AccessibilityHelper['browserStackExecuteDriver'](_0x4dc4c6,scripts[_0x244c0a(0x21f)],_0x250431);})();}),logger[_0x3afab4(0x1ac)](_0x1435ed[_0x3afab4(0x162)]);}const _0x57a302={};_0x57a302['hookType']=_0x1435ed[_0x3afab4(0x218)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x57a302);}catch(_0x21a39a){PerformanceTester[_0x3afab4(0x174)](_0x21a39a);const _0x496be5={};_0x496be5[_0x3afab4(0x253)]=_0x1435ed['wjQDS'],PerformanceTester[_0x3afab4(0x199)](PerformanceHookEvents[_0x3afab4(0x205)],![],_0x21a39a,_0x496be5);}}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x1db)]['comment'],_0xd0318a=>{const _0x856f95=_0x14da2b;PerformanceTester[_0x856f95(0x201)](PerformanceHookEvents[_0x856f95(0x205)]);try{process[_0x856f95(0x19b)](_0x856f95(0x178)+process[_0x856f95(0x179)],{'timestamp':new Date()[_0x856f95(0x1b3)](),'level':_0x1435ed[_0x856f95(0x1f7)],'message':_0xd0318a,'kind':_0x1435ed[_0x856f95(0x23d)],'http_response':{}});}catch(_0xee21b9){PerformanceTester['captureError'](_0xee21b9);const _0x576fe4={};_0x576fe4[_0x856f95(0x253)]=_0x1435ed[_0x856f95(0x22f)],PerformanceTester[_0x856f95(0x199)](PerformanceHookEvents[_0x856f95(0x205)],![],_0xee21b9,_0x576fe4);}const _0xb74259={};_0xb74259[_0x856f95(0x253)]=_0x1435ed['MWZym'],PerformanceTester[_0x856f95(0x199)](PerformanceHookEvents[_0x856f95(0x205)],!![],null,_0xb74259);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x24a)]['before'],_0x3cb4b1=>{const _0x4d2c55=_0x14da2b,_0x55d320={};_0x55d320['hookType']=_0x1435ed[_0x4d2c55(0x235)],PerformanceTester[_0x4d2c55(0x1ea)](PerformanceHookEvents[_0x4d2c55(0x205)],()=>{const _0x54d557=_0x4d2c55;_0x4ad711[_0x54d557(0x1df)](_0x3cb4b1);},_0x55d320)();}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)]['bddStep'][_0x14da2b(0x1ca)],_0x363162=>{const _0x434ef5=_0x14da2b,_0x18f09a={};_0x18f09a[_0x434ef5(0x253)]=_0x1435ed['cVNzg'],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x434ef5(0x205)],()=>{const _0x1cd58a=_0x434ef5;_0x4ad711[_0x1cd58a(0x189)](_0x363162);},_0x18f09a)();});};function a1_0x2b5a(){const _0x358b51=['Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','dOBzx','setGlobal','string','page','BS_A11Y_JWT','YyYnT','toISOString','LTfaK','ROeMI','parse','ULTca','winstonLogger','HOOK_RUN_STARTED','command','jivgp','ctllZ','startsWith','../../helpers/performance/performance-tester','webdriverio','executeScript','bddStep-before','helpers','SDK_TEST','fireEvent','../../bin/playwright/sessionDetails','TEST_LOG','XOPXH','Performing\x20scan\x20for\x20','url','after','GET_RESULTS_SUMMARY','warn','jTJnh','TestCafe','stack','test','TEST_RUN_FINISHED','message','qFeaX','setSessionStatus','SDK_PRE_TEST','gNKUY','setSessionName','bind','currentTest','accessibilityPlatform','step','doxDB','test-failed','browserstackTestName','bddStepStart','getAccessibilityResultsSummary','testFramework','browser','restore','codeceptjs/lib/utils.js','test-started','copGK','push','addRequestSpy','FRAMEWORK_DETAILS','measureWrapper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','skipSessionStatus','../../helpers/globals.js','afterTest','YYGps','getSyncScript','YDrkV','pages','initSaveScreenshot','codeceptjs/lib/recorder.js','FUnJg','qzaxV','OYWer','./o11yHelper','toString','NnRgF','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','test-skipped','stringify','NDCWo','../../helpers/testhub/constants.js','hxATt','start','titlePath','vzCcl','wYURA','SDK_HOOK','readFileSync','before','QrsPh','YuNov','tyGiI','base64','697369WlFAqu','IGsyy','CQGfc','startMonitoring','add','slice','bstackAllyScanning','codeceptjs','MHfxD','ftDBs','dispatcher','saveScreenshot','wjQDS','gnNCH','lopxH','browserStackExecuteDriver','args','gdcFM','Otrfp','saveTestResults','ENV_VAR','thJwtToken','3889752ndINsu','getAccessibilityResults','4040592ZbEjqI','constructor','hook','codeceptjs/lib/helper/WebDriver.js','forEach','INFO','debug','HOOK_RUN_FINISHED','__workerDetails','env','../../helpers/test-observability/utils','MWZym','SDK_POST_INITIALIZE','catch','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','tLAWi','ZzDos','kvaGJ','__skipSessionStatus','title','name','FwUnd','started','WebDriver','BROWSERSTACK_TESTHUB_UUID','baxso','Screenshot\x20path\x20not\x20found','stop','ctx','captureEvent','prototype','version','hook-failed','psusp','contexts','skipped','passed','qTkyX','bddStep','isArray','2890979UdqUxo','DNVMj','rnAUm','commandsToWrap','UvdSz','getResultsSummary','../../helpers/helper','hookType','AnSCV','patchSaveScreenshot','screenshotOutputFolder','step-comment','container','fDCpa','a11y_core_config','WHLDZ','BROWSERSTACK_TESTHUB_JWT','569073mcydtY','SESSION_STATUS','thTestRunUuid','shouldWrapCommand','XmQTd','event','ZwPdA','1886756ZwAWSR','class','TVxZh','TEST_RUN_SKIPPED','_setPage','YsOOE','SYNC','YOejj','exports','browserContext','Suite','Failed\x20to\x20execute\x20_before:\x20','all','YpBuM','TEST_SCREENSHOT','codeceptjs/lib/index.js','xxACO','lmGKD','PERFORM_SCAN','call','8HQsDDF','performScan','MFKSB','format','YHLUY','captureError','TSttF','Alkpk','config','bs:addLog:','pid','jLHzN','xbhjc','_before','dYSMx','cvAUj','Playwright','arguments','ZJFJv','bddStep-after','ydVZW','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ThWeR','chromium','./helper.js','test-after','bddStepFinish','../../helpers/performance/constants','GET_RESULTS','SAVE_RESULTS','browserstack_executor:\x20','WFmou','overwriteCommand','zOPVh','hook-passed','xPoaH','from','apply','../../helpers/request-spy','EOOmF','AVlnU','tHUFi','end','../../bin/playwright/accessibility-helper','emit','skipSessionName','../../helpers/logger','TEST_RUN_STARTED','420340NskscB','test-passed','devtools://','SESSION_NAME','thBuildUuid','find','SDK_POST_TEST','yzCgl','hook-started','rsZEK','filter','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'];a1_0x2b5a=function(){return _0x358b51;};return a1_0x2b5a();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0xb4d4ae=a2_0x4605;(function(_0x4f120f,_0x3391e6){const _0x360675=a2_0x4605,_0x234e69=_0x4f120f();while(!![]){try{const _0x44b012=parseInt(_0x360675(0xdc))/0x1*(parseInt(_0x360675(0xe4))/0x2)+-parseInt(_0x360675(0x100))/0x3+parseInt(_0x360675(0x13b))/0x4*(-parseInt(_0x360675(0x143))/0x5)+-parseInt(_0x360675(0xdf))/0x6+parseInt(_0x360675(0x154))/0x7+parseInt(_0x360675(0xd5))/0x8+parseInt(_0x360675(0x12f))/0x9*(parseInt(_0x360675(0xe3))/0xa);if(_0x44b012===_0x3391e6)break;else _0x234e69['push'](_0x234e69['shift']());}catch(_0xd59205){_0x234e69['push'](_0x234e69['shift']());}}}(a2_0x35be,0xcaf29));function a2_0x35be(){const _0x33e171=['exports','hubUrl','Started\x20:\x20','1053112XhNILQ','../../helpers/test-observability/utils','frameworkName','eSYOk','existsSync','stop','format','join','10MfyQtu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','util','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mPKSV','/wd/hub','uQszi','test','BpAmB','YVjev','end','Rqmlx','chromium','codeceptjs/lib/index.js','qRMJs','cwd','key','2298793aVUZog','helpers','desiredCapabilities','map','lqdQO','../../helpers/helper','bootstrapAll','err','chrome','codecept.conf.js','accessibilityOptions','start','WTOjA','Failed\x20:\x20','env','config','sTAUV','log','../utils/constants','useW3C','toLowerCase','browserName','addOptions','prepareCapabilities','process','WLIcZ','root','slice','codecept.json','isTrue','browserWSEndpoint','teardownAll','bEepv','4651392yHMCfb','push','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','before','EVENTS','webkit','2Xwcyxd','firefox','SxMDG','2500308hXbyQU','getPlaywrightUrl','winstonLogger','tnUfI','4290cRfrwh','1193710kvkClb','load','spawn','iYxoJ','drjzh','playwright-webkit','accessKey','../../helpers/BrowserStackSetup','stringify','BrowserStackPlugin.js','plugins','skipSessionName','printResults','0|3|5|2|4|1','Passed\x20:\x20','../../helpers/utilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','event','testConfig','../../helpers/test-observability/constants','browserStackCwd','kALCy','now','errorMessage','addConfig','length','Workers','SDK_SETUP','3346029EgSoNY','platforms','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','parallelsPerPlatform','assign','testContextOptions','run','result','findIndex','SEWPb','split','Playwright','failed','playwright-chromium','skipSessionStatus','BrowserStackPlugin','isEmpty','finalExecution','jugBL','stack','host','launchBuild','BUWWQ','isUndefined','profile','CODECEPT','user','replace','isTestObservabilitySession','forEach','SEOwu','lrIJa','browser','ACVBl','testObservability','chdir','jncsv','getPlatformName','MDKBZ','initialize','../../helpers/testhub/testhubHandler','title','JwUof','trim','mergeDeep','handleApp','SaaZX','16497vybcpg','enabled','info','USER_CONFIG_DETAILS_PATH','--config','TUYUd','createGroupsOfSuites','WebDriver','gherkin'];a2_0x35be=function(){return _0x33e171;};return a2_0x35be();}const fs=require('fs'),path=require('path'),util=require(a2_0xb4d4ae(0x145)),process=require(a2_0xb4d4ae(0xcc)),logger=require('../../helpers/logger')[a2_0xb4d4ae(0xe1)],{default:BrowserStackSetup}=require(a2_0xb4d4ae(0xeb)),helper=require(a2_0xb4d4ae(0x159)),utilities=require(a2_0xb4d4ae(0xf3)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xb4d4ae(0x159)),CodeceptJS=requireModule(a2_0xb4d4ae(0x150),'codeceptjs'),testOpsHelper=require(a2_0xb4d4ae(0x13c)),TestHubHandler=require(a2_0xb4d4ae(0x128)),constants=require(a2_0xb4d4ae(0xc6)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0xb4d4ae(0xf7)),PerformanceEvents=require(a2_0xb4d4ae(0xd7))[a2_0xb4d4ae(0xda)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2630b7,_0x5cf84a)=>{const _0x3ae6f8=a2_0xb4d4ae,_0x518a8a={};_0x518a8a['eSYOk']=function(_0x17d79e,_0x34a6f6){return _0x17d79e===_0x34a6f6;},_0x518a8a[_0x3ae6f8(0xe8)]=_0x3ae6f8(0x15d),_0x518a8a[_0x3ae6f8(0x116)]=_0x3ae6f8(0xd0);const _0x499d5b=_0x518a8a;let _0x308913=null;const _0x6a24fb={};let _0x9946=_0x5cf84a[_0x3ae6f8(0x108)](_0x6967b9=>_0x6967b9===_0x3ae6f8(0x133));_0x499d5b[_0x3ae6f8(0x13e)](_0x9946,-0x1)&&(_0x9946=_0x5cf84a[_0x3ae6f8(0x108)](_0x3c3dab=>_0x3c3dab==='-c'));if(!helper[_0x3ae6f8(0x117)](_0x2630b7['config'])&&fs[_0x3ae6f8(0x13f)](path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x2630b7[_0x3ae6f8(0x163)])))_0x308913=path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x2630b7[_0x3ae6f8(0x163)]),_0x5cf84a['slice'](_0x9946,0x2);else{if(!helper[_0x3ae6f8(0x117)](_0x2630b7['c'])&&fs[_0x3ae6f8(0x13f)](path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x2630b7['c'])))_0x308913=path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x2630b7['c']),_0x5cf84a[_0x3ae6f8(0xcf)](_0x9946,0x2);else{if(fs[_0x3ae6f8(0x13f)](path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x499d5b[_0x3ae6f8(0xe8)])))_0x308913=path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x499d5b[_0x3ae6f8(0xe8)]);else fs[_0x3ae6f8(0x13f)](path['join'](process[_0x3ae6f8(0x152)](),_0x499d5b[_0x3ae6f8(0x116)]))&&(_0x308913=path[_0x3ae6f8(0x142)](process[_0x3ae6f8(0x152)](),_0x499d5b[_0x3ae6f8(0x116)]));}}return process[_0x3ae6f8(0x162)][_0x3ae6f8(0x132)]=_0x308913,_0x308913;},getO11yRerunPattern=()=>{const _0x40723f=a2_0xb4d4ae,_0x554c19=helper[_0x40723f(0xd1)](process[_0x40723f(0x162)]['BROWSERSTACK_RERUN']);if(_0x554c19){const _0x53a526=process[_0x40723f(0x162)]['BROWSERSTACK_RERUN_TESTS'],_0x990d08=[];if(helper['validateRerunTestList'](_0x53a526)&&!helper[_0x40723f(0x117)](_0x53a526)){_0x53a526[_0x40723f(0x10a)](',')[_0x40723f(0x157)](_0x30ba0a=>{const _0x4d7547=_0x40723f;_0x990d08['push']('('+_0x30ba0a[_0x4d7547(0x12b)]()+')');});const _0x2927c5='^'+_0x990d08[_0x40723f(0x142)]('|')+'$';return _0x2927c5;}}return null;},a2_0x23af76={};function a2_0x4605(_0x3f0484,_0x19e157){const _0x35be34=a2_0x35be();return a2_0x4605=function(_0x460593,_0x561b28){_0x460593=_0x460593-0xc6;let _0x47fd2a=_0x35be34[_0x460593];return _0x47fd2a;},a2_0x4605(_0x3f0484,_0x19e157);}a2_0x23af76[a2_0xb4d4ae(0x15c)]='chromium',a2_0x23af76[a2_0xb4d4ae(0x10d)]=a2_0xb4d4ae(0x14f),a2_0x23af76['playwright-firefox']=a2_0xb4d4ae(0xdd),a2_0x23af76[a2_0xb4d4ae(0xe9)]=a2_0xb4d4ae(0xdb);const pwToCodeceptBrowser=a2_0x23af76;async function run(_0x2c2845,_0x21e2dc,_0x3a4b9b){const _0x50ed96=a2_0xb4d4ae,_0x305ca9={'lrIJa':function(_0x175a5c,_0x2ab5e6,_0x549077,_0x4c876e){return _0x175a5c(_0x2ab5e6,_0x549077,_0x4c876e);},'JwUof':function(_0x39e0ae,_0x48c025){return _0x39e0ae+_0x48c025;},'tOPzw':function(_0x491f40,_0x4cd707){return _0x491f40(_0x4cd707);},'SaaZX':function(_0x3e99e1,_0x43b929,_0x56f722){return _0x3e99e1(_0x43b929,_0x56f722);},'kALCy':_0x50ed96(0x155),'SEWPb':function(_0x1310c6){return _0x1310c6();},'TUYUd':_0x50ed96(0x148),'qRMJs':function(_0x283ec6){return _0x283ec6();},'MQBaY':_0x50ed96(0x161),'Rqmlx':_0x50ed96(0xf2),'SxMDG':_0x50ed96(0x13a),'sTAUV':_0x50ed96(0xf1),'WLIcZ':_0x50ed96(0x146),'TRoao':function(_0x342bd8,_0x3ccac0,_0x4ef472){return _0x342bd8(_0x3ccac0,_0x4ef472);},'SEOwu':'Playwright','tQSGN':'WebDriver','jncsv':function(_0x2573bb,_0x3bcbbf){return _0x2573bb(_0x3bcbbf);},'MDKBZ':function(_0x2cc3d8,_0x22b4b8){return _0x2cc3d8!=_0x22b4b8;},'DxIWI':function(_0x3e3f29,_0x469797){return _0x3e3f29===_0x469797;},'CDHaK':function(_0x2ade7d,_0x3cec92,_0x517ae8){return _0x2ade7d(_0x3cec92,_0x517ae8);},'lqdQO':_0x50ed96(0x137),'vRXGH':function(_0xf77ed6){return _0xf77ed6();},'jugBL':function(_0xf30cba,_0x418bf5){return _0xf30cba*_0x418bf5;},'BpAmB':function(_0x531391,_0x36b225,_0x278b72){return _0x531391(_0x36b225,_0x278b72);},'iYxoJ':_0x50ed96(0x120),'WTOjA':function(_0x50b22f,_0x1340a2,_0x15d0ea){return _0x50b22f(_0x1340a2,_0x15d0ea);},'uQszi':_0x50ed96(0x156),'tnUfI':_0x50ed96(0xce),'ACVBl':_0x50ed96(0xed),'bEepv':_0x50ed96(0xf8)};await _0x3a4b9b[_0x50ed96(0x127)](_0x2c2845),await helper[_0x50ed96(0x12d)](_0x3a4b9b['config']);if(!_0x3a4b9b[_0x50ed96(0x163)])return;process[_0x50ed96(0x118)]=_0x2c2845[_0x50ed96(0x118)];_0x2c2845['profile']&&(process[_0x50ed96(0x162)]['profile']=_0x2c2845['profile']);const _0xc3f1ec=_0x305ca9['SaaZX'](getUserCodeceptJSConfigs,_0x2c2845,_0x21e2dc);let _0x68c477={};_0xc3f1ec?(logger[_0x50ed96(0x131)](_0x50ed96(0xf4)+_0xc3f1ec),_0x68c477=CodeceptJS['config'][_0x50ed96(0xe5)](_0xc3f1ec)):logger['info'](_0x305ca9[_0x50ed96(0xcd)]);let _0x417717=![];_0x305ca9['TRoao'](nestedKeyValue,_0x68c477,[_0x305ca9['kALCy'],_0x305ca9[_0x50ed96(0x11e)]])&&(_0x417717=!![]);const _0x17580a=_0x417717?_0x305ca9[_0x50ed96(0x11e)]:_0x305ca9['tQSGN'];let _0x266b78=!_0x417717?helper[_0x50ed96(0xc7)](_0x3a4b9b[_0x50ed96(0x163)]):![];!helper[_0x50ed96(0x117)](_0x3a4b9b[_0x50ed96(0x163)][_0x50ed96(0x15e)])&&(process[_0x50ed96(0x162)][_0x50ed96(0x144)]=JSON[_0x50ed96(0xec)](_0x3a4b9b[_0x50ed96(0x163)]['accessibilityOptions']));let _0x25960c=_0x3a4b9b['config']['accessibility'];_0x25960c=_0x25960c||_0x305ca9[_0x50ed96(0x124)](checkAccessibilityPlatformConfig,_0x3a4b9b['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x25960c;_0x25960c&&(_0x266b78=!_0x25960c);_0x305ca9[_0x50ed96(0x126)](_0x3a4b9b['config'][_0x50ed96(0x122)],null)?process[_0x50ed96(0x162)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3a4b9b[_0x50ed96(0x163)][_0x50ed96(0x122)]:process[_0x50ed96(0x162)][_0x50ed96(0xd8)]=_0x305ca9['DxIWI'](_0x17580a,_0x305ca9[_0x50ed96(0x11e)]);const _0x33e55a=_0x305ca9['CDHaK'](nestedKeyValue,_0x68c477,[_0x305ca9[_0x50ed96(0x158)]]),_0x5c8d2d=_0x33e55a&&!helper[_0x50ed96(0x110)](_0x33e55a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x50ed96(0x119)],_0xf4f112=await TestHubHandler[_0x50ed96(0x115)](_0x5c8d2d,_0x3a4b9b);_0x25960c&&_0x305ca9['jncsv'](setAccessibilityCapabilities,_0x3a4b9b[_0x50ed96(0x163)]);const _0x3102e0={},_0x5d4504=[],_0x233aa3=_0x3a4b9b['config'][_0x50ed96(0x103)]||helper['getUserWorkerCount'](_0x2c2845,_0x21e2dc,_0x3a4b9b['config'],constants['FRAMEWORKS'][_0x50ed96(0x119)])||0x1;let _0x2be16b=0x1;if(_0x305ca9['vRXGH'](isBrowserstackInfra)){const _0x30c3fb=helper[_0x50ed96(0xcb)](_0x3a4b9b['config'],_0x266b78,constants['FRAMEWORKS'][_0x50ed96(0x119)]);_0x30c3fb[_0x50ed96(0x11d)](_0x5106cd=>{helper['setAdditionalCapabilities'](_0x5106cd);}),helper['validPlatformsPresent'](_0x3a4b9b[_0x50ed96(0x163)])?_0x2be16b=_0x305ca9[_0x50ed96(0x112)](_0x233aa3,_0x3a4b9b['config'][_0x50ed96(0x101)][_0x50ed96(0xfd)]):_0x2be16b=_0x233aa3,_0x30c3fb['forEach'](_0x51c073=>{const _0x53afec=_0x50ed96,_0x20aae7={'SLxvb':function(_0x37300e,_0x3bdb86,_0x59d47f,_0x330a5b){const _0x9f3a5e=a2_0x4605;return _0x305ca9[_0x9f3a5e(0x11f)](_0x37300e,_0x3bdb86,_0x59d47f,_0x330a5b);},'YVjev':function(_0xf5985,_0x5977f6){const _0x526314=a2_0x4605;return _0x305ca9[_0x526314(0x12a)](_0xf5985,_0x5977f6);},'mPKSV':function(_0x410593,_0x2bb169){return _0x305ca9['tOPzw'](_0x410593,_0x2bb169);}},_0x97e459=_0x305ca9[_0x53afec(0x12a)](helper[_0x53afec(0x125)](_0x51c073,'_'),'_'+Date[_0x53afec(0xfa)]()),_0x3cce86=((()=>{const _0x9bfc63=_0x53afec;if(_0x417717){const _0x175e63=pwToCodeceptBrowser[_0x51c073[_0x9bfc63(0xc9)]]||_0x51c073[_0x9bfc63(0xc9)],_0xeff250=helper[_0x9bfc63(0xe0)](_0x3a4b9b[_0x9bfc63(0x163)]),_0xb7dc4b=Object[_0x9bfc63(0x104)]({},_0x51c073);return _0x20aae7['SLxvb'](processAccessibilityCaps,_0xb7dc4b,_0xeff250,null),{'browser':_0x175e63,[_0x175e63]:{'browserWSEndpoint':_0x20aae7[_0x9bfc63(0x14c)](_0xeff250,_0x20aae7[_0x9bfc63(0x147)](encodeURIComponent,JSON[_0x9bfc63(0xec)](_0xb7dc4b)))}};}const _0x1ca623={};return _0x1ca623[_0x9bfc63(0x156)]=_0x51c073,_0x1ca623[_0x9bfc63(0x11a)]=_0x3a4b9b[_0x9bfc63(0x163)]['userName'],_0x1ca623[_0x9bfc63(0x153)]=_0x3a4b9b['config'][_0x9bfc63(0xea)],_0x1ca623;})()),_0x193f4f=_0x305ca9[_0x53afec(0x12e)](nestedKeyValue,_0x68c477,[_0x305ca9[_0x53afec(0xf9)],_0x17580a]);_0x3102e0[_0x97e459]=_0x193f4f?helper[_0x53afec(0x12c)](_0x3cce86,_0x193f4f):_0x3cce86;if(_0x417717)_0x3102e0[_0x97e459][_0x53afec(0x120)]=pwToCodeceptBrowser[_0x51c073['browserName']]||_0x51c073[_0x53afec(0xc9)];else{_0x3102e0[_0x97e459][_0x53afec(0x120)]=_0x51c073[_0x53afec(0xc9)]||_0x3cce86['browser'];if(_0x305ca9[_0x53afec(0x109)](isBrowserstackInfra)){_0x3102e0[_0x97e459][_0x53afec(0x114)]=constants[_0x53afec(0x139)][_0x53afec(0x11b)](_0x305ca9[_0x53afec(0x134)],'')['replace'](/https?:\/\//,'');;_0x3102e0[_0x97e459]['path']=_0x305ca9[_0x53afec(0x134)];}}_0x5d4504['push'](_0x97e459);});}else{_0x2be16b=0x1;if(_0x417717){const _0x50c9f3=_0x305ca9['BpAmB'](nestedKeyValue,_0x68c477,[_0x305ca9[_0x50ed96(0xf9)],_0x17580a,_0x305ca9[_0x50ed96(0xe7)]]),_0x3f6101=_0x305ca9[_0x50ed96(0x160)](nestedKeyValue,_0x68c477,[_0x305ca9[_0x50ed96(0xf9)],_0x17580a,_0x50c9f3]);if(_0x3f6101&&_0x3f6101[_0x50ed96(0xd2)]){const _0x2ae340={};_0x2ae340[_0x50ed96(0x101)]=[],_0x3f6101['browserWSEndpoint']=helper[_0x50ed96(0xcb)](Object['assign']({},_0x3a4b9b[_0x50ed96(0x163)],_0x2ae340),null,_0x5c8d2d['toLowerCase'](),null,null,_0x3f6101[_0x50ed96(0xd2)]);}}else{const _0x12d8e9={};_0x12d8e9[_0x50ed96(0x101)]=[],_0x68c477[_0x305ca9['kALCy']][_0x17580a][_0x305ca9['uQszi']]=helper[_0x50ed96(0xcb)](Object['assign']({},_0x3a4b9b[_0x50ed96(0x163)],_0x12d8e9),null,_0x5c8d2d[_0x50ed96(0xc8)](),_0x305ca9[_0x50ed96(0x14b)](nestedKeyValue,_0x68c477,[_0x305ca9['kALCy'],_0x17580a,_0x305ca9[_0x50ed96(0x149)]])||{},null,null);}_0x3102e0[_0x305ca9[_0x50ed96(0xe2)]]=_0x68c477,_0x5d4504[_0x50ed96(0xd6)](_0x305ca9[_0x50ed96(0xe2)]);}const _0x18c540={};_0x18c540[_0x50ed96(0xf6)]=_0xc3f1ec;const _0x5a2a75=_0x18c540,_0x3af5f7=path[_0x50ed96(0x142)](__dirname,_0x305ca9[_0x50ed96(0x121)]),_0x21154d=process[_0x50ed96(0x152)]();process[_0x50ed96(0x162)][_0x305ca9[_0x50ed96(0xd4)]]=_0x21154d,process[_0x50ed96(0x123)](path['dirname'](_0xc3f1ec));const _0x17cee4=new CodeceptJS[(_0x50ed96(0xfe))](null,_0x5a2a75),_0x243f23=_0x17cee4[_0x50ed96(0x135)](_0x2be16b),_0xfe2e77=testOpsHelper[_0x50ed96(0x11c)](),_0x445ec9=_0x5d4504['map'](_0x2c9ad2=>{const _0x3fd6f7=_0x50ed96,_0x5711f2={};_0x5711f2[_0x3fd6f7(0x10b)]=_0x3102e0[_0x2c9ad2];const _0x2be1b5={};_0x2be1b5[_0x3fd6f7(0x136)]=_0x3102e0[_0x2c9ad2];const _0x1321b4=_0x417717?_0x5711f2:_0x2be1b5,_0x239134=_0x305ca9[_0x3fd6f7(0x109)](getO11yRerunPattern),_0x47edc4={};_0x47edc4[_0x3fd6f7(0x155)]=_0x1321b4;const _0x282594={};_0x282594['require']=_0x3af5f7,_0x282594[_0x3fd6f7(0x130)]=!![],_0x282594[_0x3fd6f7(0xef)]=_0x3a4b9b[_0x3fd6f7(0x163)][_0x3fd6f7(0x105)][_0x3fd6f7(0xef)],_0x282594[_0x3fd6f7(0x10e)]=_0x3a4b9b[_0x3fd6f7(0x163)][_0x3fd6f7(0x105)][_0x3fd6f7(0x10e)],_0x282594['testObservability']=_0xfe2e77,_0x282594[_0x3fd6f7(0x13d)]=_0x5c8d2d;const _0x5253f8={};_0x5253f8[_0x3fd6f7(0x10f)]=_0x282594;const _0x3681b6={};return _0x3681b6[_0x3fd6f7(0xee)]=_0x5253f8,helper[_0x3fd6f7(0x12c)]({},_0x68c477,_0x305ca9['qRMJs'](isBrowserstackInfra)?_0x47edc4:{},_0x239134?{'grep':_0x239134}:{},_0x3681b6);});for(const _0x5c4915 of _0x445ec9){for(const _0x3cad50 of _0x243f23){const _0x27d717=_0x17cee4[_0x50ed96(0xe6)]();_0x27d717['addTests'](_0x3cad50),_0x27d717[_0x50ed96(0xfc)](_0x5c4915);const _0x228545={};_0x228545[_0x50ed96(0x163)]=_0xc3f1ec,_0x27d717[_0x50ed96(0xca)](Object[_0x50ed96(0x104)](_0x228545,_0x2c2845));}}_0x17cee4['on'](CodeceptJS[_0x50ed96(0xf5)]['test'][_0x50ed96(0x10c)],(_0x230b09,_0x3807e8)=>{const _0x53ba99=_0x50ed96;console[_0x53ba99(0x165)](_0x305ca9['MQBaY'],_0x230b09['title']);const _0x431e0e={[_0x230b09[_0x53ba99(0x129)]]:_0x230b09[_0x53ba99(0x15b)][_0x53ba99(0x113)]};_testErrorData[_0x53ba99(0xd6)](_0x431e0e);}),_0x17cee4['on'](CodeceptJS[_0x50ed96(0xf5)][_0x50ed96(0x14a)]['passed'],async _0x53d140=>{const _0x1b6a87=_0x50ed96;console['log'](_0x305ca9[_0x1b6a87(0x14e)],_0x53d140[_0x1b6a87(0x129)]);}),_0x17cee4['on'](CodeceptJS[_0x50ed96(0xf5)][_0x50ed96(0x14a)][_0x50ed96(0xd9)],async _0x53a29b=>{const _0x28ead7=_0x50ed96;console[_0x28ead7(0x165)](_0x305ca9[_0x28ead7(0xde)],_0x53a29b['title']);}),_0x17cee4['on'](CodeceptJS[_0x50ed96(0xf5)]['all'][_0x50ed96(0x107)],async()=>{const _0x49c4d4=_0x50ed96,_0x345e42=_0x305ca9[_0x49c4d4(0x164)]['split']('|');let _0x2211d8=0x0;while(!![]){switch(_0x345e42[_0x2211d8++]){case'0':PerformanceTester[_0x49c4d4(0x15f)](PerformanceEvents['SDK_CLEANUP']);continue;case'1':_0x17cee4[_0x49c4d4(0xf0)]();continue;case'2':utilities[_0x49c4d4(0x111)](_0x3a4b9b);continue;case'3':_0x3a4b9b[_0x49c4d4(0xfb)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0x49c4d4(0x140)]();}catch(_0x5e85b9){logger['debug'](_0x49c4d4(0x102)+util[_0x49c4d4(0x141)](_0x5e85b9));}continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x276167(){const _0x4b0cc5=_0x50ed96;try{await _0x17cee4[_0x4b0cc5(0x15a)](),await _0x17cee4[_0x4b0cc5(0x106)]();}finally{process['chdir'](_0x21154d),await _0x17cee4[_0x4b0cc5(0xd3)]();}}PerformanceTester[_0x50ed96(0x14d)](PerformanceEvents[_0x50ed96(0xff)]),_0x305ca9[_0x50ed96(0x151)](_0x276167);}module[a2_0xb4d4ae(0x138)]=run;
|
|
2
|
+
'use strict';const a2_0x44f5eb=a2_0x4f94;(function(_0x157715,_0x3a0e78){const _0x3e5389=a2_0x4f94,_0x2d61f0=_0x157715();while(!![]){try{const _0x2d3118=-parseInt(_0x3e5389(0x20f))/0x1*(-parseInt(_0x3e5389(0x282))/0x2)+parseInt(_0x3e5389(0x1f8))/0x3*(-parseInt(_0x3e5389(0x237))/0x4)+-parseInt(_0x3e5389(0x21d))/0x5+parseInt(_0x3e5389(0x227))/0x6*(-parseInt(_0x3e5389(0x26e))/0x7)+-parseInt(_0x3e5389(0x26f))/0x8*(parseInt(_0x3e5389(0x225))/0x9)+-parseInt(_0x3e5389(0x22e))/0xa+parseInt(_0x3e5389(0x285))/0xb;if(_0x2d3118===_0x3a0e78)break;else _0x2d61f0['push'](_0x2d61f0['shift']());}catch(_0x2079a1){_0x2d61f0['push'](_0x2d61f0['shift']());}}}(a2_0x1ac2,0x99207));const fs=require('fs'),path=require('path'),util=require(a2_0x44f5eb(0x24f)),process=require(a2_0x44f5eb(0x279)),logger=require('../../helpers/logger')[a2_0x44f5eb(0x260)],{default:BrowserStackSetup}=require(a2_0x44f5eb(0x201)),helper=require(a2_0x44f5eb(0x238)),utilities=require(a2_0x44f5eb(0x216)),{checkAccessibilityPlatformConfig}=require(a2_0x44f5eb(0x27b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x44f5eb(0x24d)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x44f5eb(0x238)),CodeceptJS=requireModule(a2_0x44f5eb(0x259),a2_0x44f5eb(0x208)),testOpsHelper=require(a2_0x44f5eb(0x20b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x44f5eb(0x21b)),PerformanceTester=require(a2_0x44f5eb(0x249)),{FRAMEWORKS}=require(a2_0x44f5eb(0x257)),PerformanceEvents=require(a2_0x44f5eb(0x23f))[a2_0x44f5eb(0x241)],ClientTroubleShootingService=require(a2_0x44f5eb(0x22d)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4668b4,_0x1d6f49)=>{const _0x36046f=a2_0x44f5eb,_0x31c79b={};_0x31c79b[_0x36046f(0x251)]=function(_0x3c2a5d,_0x5811d7){return _0x3c2a5d===_0x5811d7;},_0x31c79b[_0x36046f(0x26b)]='codecept.conf.js',_0x31c79b[_0x36046f(0x1f7)]='codecept.json';const _0x296d57=_0x31c79b;let _0x490b3d=null;const _0x3a4f37={};let _0x492063=_0x1d6f49[_0x36046f(0x248)](_0x4c2b3a=>_0x4c2b3a===_0x36046f(0x272));_0x296d57[_0x36046f(0x251)](_0x492063,-0x1)&&(_0x492063=_0x1d6f49[_0x36046f(0x248)](_0x437364=>_0x437364==='-c'));if(!helper[_0x36046f(0x23e)](_0x4668b4[_0x36046f(0x246)])&&fs[_0x36046f(0x21a)](path['join'](process[_0x36046f(0x254)](),_0x4668b4[_0x36046f(0x246)])))_0x490b3d=path['join'](process['cwd'](),_0x4668b4[_0x36046f(0x246)]),_0x1d6f49['slice'](_0x492063,0x2);else{if(!helper[_0x36046f(0x23e)](_0x4668b4['c'])&&fs[_0x36046f(0x21a)](path[_0x36046f(0x284)](process['cwd'](),_0x4668b4['c'])))_0x490b3d=path['join'](process[_0x36046f(0x254)](),_0x4668b4['c']),_0x1d6f49[_0x36046f(0x223)](_0x492063,0x2);else{if(fs['existsSync'](path['join'](process[_0x36046f(0x254)](),_0x296d57[_0x36046f(0x26b)])))_0x490b3d=path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x26b)]);else fs[_0x36046f(0x21a)](path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x1f7)]))&&(_0x490b3d=path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x1f7)]));}}return process[_0x36046f(0x203)][_0x36046f(0x27a)]=_0x490b3d,_0x490b3d;},getO11yRerunPattern=()=>{const _0x3c0d6d=a2_0x44f5eb,_0x3c3fb9=helper[_0x3c0d6d(0x25b)](process[_0x3c0d6d(0x203)][_0x3c0d6d(0x271)]);if(_0x3c3fb9){const _0x3b3f05=process['env'][_0x3c0d6d(0x231)],_0x5155f7=[];if(helper[_0x3c0d6d(0x25c)](_0x3b3f05)&&!helper['isUndefined'](_0x3b3f05)){_0x3b3f05[_0x3c0d6d(0x247)](',')[_0x3c0d6d(0x244)](_0x2a2e5f=>{const _0x3c60b4=_0x3c0d6d;_0x5155f7[_0x3c60b4(0x232)]('('+_0x2a2e5f[_0x3c60b4(0x267)]()+')');});const _0x1144b2='^'+_0x5155f7[_0x3c0d6d(0x284)]('|')+'$';return _0x1144b2;}}return null;},a2_0x4e8b1c={};a2_0x4e8b1c[a2_0x44f5eb(0x230)]=a2_0x44f5eb(0x28b),a2_0x4e8b1c[a2_0x44f5eb(0x25f)]=a2_0x44f5eb(0x28b),a2_0x4e8b1c[a2_0x44f5eb(0x242)]=a2_0x44f5eb(0x236),a2_0x4e8b1c[a2_0x44f5eb(0x219)]='webkit';function a2_0x1ac2(){const _0x194a42=['CODECEPT_CUCUMBER','addConfig','replace','addTests','errorMessage','../utils/clientTroubleshootingService','1595570PFSWsv','getPlaywrightUrl','chrome','BROWSERSTACK_RERUN_TESTS','push','userName','load','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','firefox','188336gJEJzg','../../helpers/helper','forEach','dUIsx','iqwKT','now','printBuildLink','isUndefined','../../helpers/performance/constants','prepareCapabilities','EVENTS','playwright-firefox','FRAMEWORKS','map','toLowerCase','config','split','findIndex','../../helpers/performance/performance-tester','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chdir','RmmkD','../../bin/playwright/accessibility-helper','path','util','result','cainm','yVSZb','dirname','cwd','run','skipSessionName','../../helpers/test-observability/constants','SDK_SETUP','codeceptjs/lib/index.js','getUserWorkerCount','isTrue','validateRerunTestList','length','EQIYF','playwright-chromium','winstonLogger','validPlatformsPresent','dcUQO','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','platforms','useW3C','addOptions','trim','start','JwGQN','key','iJAee','teardownAll','PHifT','4420717jQGnjA','8UxZanG','Playwright','BROWSERSTACK_RERUN','--config','browserWSEndpoint','NqRZD','enabled','browser','spawn','WebDriver','process','USER_CONFIG_DETAILS_PATH','../../helpers/accessibility-automation/helper','accessibility','testObservability','mergeDeep','require','before','createGroupsOfSuites','14172qmbhlW','end','join','30378964yjbcBV','kDsOx','plugins','stringify','browserName','desiredCapabilities','chromium','title','setAdditionalCapabilities','Failed\x20:\x20','testContextOptions','ofHRn','12zFuhdE','ePAyW','initialize','skipSessionStatus','err','assign','qkybX','UtZJa','frameworkName','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','env','event','profile','helpers','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','codeceptjs','YSopZ','log','../../helpers/test-observability/utils','test','accessibilityOptions','VobSZ','1oDSHWU','MXNeG','CODECEPT','gherkin','failed','JVwap','format','../../helpers/utilities','UfdPV','BrowserStackPlugin.js','playwright-webkit','existsSync','../utils/constants','handleApp','2528040AwvqWg','passed','testConfig','browserStackCwd','HwdVX','dcAEd','slice','getPlatformName','5909139XWiDNb','bootstrapAll','6NGwlJN'];a2_0x1ac2=function(){return _0x194a42;};return a2_0x1ac2();}const pwToCodeceptBrowser=a2_0x4e8b1c;async function run(_0x41ebbb,_0x1ae8fc,_0x4acdb3){const _0x11a346=a2_0x44f5eb,_0x3ca319={'YSopZ':function(_0x5a4e06,_0x1e0416,_0x147382,_0x29c2c0){return _0x5a4e06(_0x1e0416,_0x147382,_0x29c2c0);},'HwdVX':function(_0x2f2cda,_0x4c6620){return _0x2f2cda+_0x4c6620;},'PHifT':function(_0x59eea8,_0x17c87b){return _0x59eea8(_0x17c87b);},'JwGQN':function(_0x5c6f02,_0x391be9,_0x30c5b0){return _0x5c6f02(_0x391be9,_0x30c5b0);},'MXNeG':'helpers','yVSZb':function(_0x4f5f3f){return _0x4f5f3f();},'UfdPV':'/wd/hub','dcUQO':function(_0x23031b){return _0x23031b();},'qfoVU':function(_0x187d81){return _0x187d81();},'wnGIn':_0x11a346(0x1f5),'VobSZ':'Passed\x20:\x20','EQIYF':'Started\x20:\x20','qfGRa':'5|2|3|4|0|1','ePAyW':function(_0x3f4398,_0x15fbd4,_0x11017d){return _0x3f4398(_0x15fbd4,_0x11017d);},'NqRZD':_0x11a346(0x24a),'kDsOx':_0x11a346(0x270),'JVwap':_0x11a346(0x278),'NOlIq':function(_0x11a163,_0x43e9e4){return _0x11a163!=_0x43e9e4;},'XKVhc':function(_0x876311,_0x44feee){return _0x876311===_0x44feee;},'qYXAL':_0x11a346(0x212),'RmmkD':function(_0x30454e,_0x4d4ae7){return _0x30454e*_0x4d4ae7;},'HNVcG':_0x11a346(0x276),'dUIsx':function(_0x43985b,_0x44e004,_0x368d23){return _0x43985b(_0x44e004,_0x368d23);},'dcAEd':'desiredCapabilities','qkybX':'root','iqwKT':_0x11a346(0x218),'DIlCN':_0x11a346(0x220),'UtZJa':function(_0x54c81f){return _0x54c81f();}};await _0x4acdb3[_0x11a346(0x1fa)](_0x41ebbb),await helper[_0x11a346(0x21c)](_0x4acdb3['config']);if(!_0x4acdb3[_0x11a346(0x246)])return;process[_0x11a346(0x205)]=_0x41ebbb[_0x11a346(0x205)];_0x41ebbb[_0x11a346(0x205)]&&(process['env'][_0x11a346(0x205)]=_0x41ebbb[_0x11a346(0x205)]);const _0x3bd75d=_0x3ca319[_0x11a346(0x1f9)](getUserCodeceptJSConfigs,_0x41ebbb,_0x1ae8fc);let _0x319942={};_0x3bd75d?(logger['info'](_0x11a346(0x235)+_0x3bd75d),_0x319942=CodeceptJS[_0x11a346(0x246)][_0x11a346(0x234)](_0x3bd75d)):logger['info'](_0x3ca319[_0x11a346(0x274)]);let _0x4c57f0=![];_0x3ca319[_0x11a346(0x1f9)](nestedKeyValue,_0x319942,[_0x3ca319['MXNeG'],_0x3ca319[_0x11a346(0x286)]])&&(_0x4c57f0=!![]);const _0x5343fe=_0x4c57f0?_0x3ca319[_0x11a346(0x286)]:_0x3ca319[_0x11a346(0x214)];let _0x134712=!_0x4c57f0?helper[_0x11a346(0x265)](_0x4acdb3[_0x11a346(0x246)]):![];!helper[_0x11a346(0x23e)](_0x4acdb3[_0x11a346(0x246)][_0x11a346(0x20d)])&&(process[_0x11a346(0x203)][_0x11a346(0x207)]=JSON[_0x11a346(0x288)](_0x4acdb3[_0x11a346(0x246)][_0x11a346(0x20d)]));let _0x33711a=_0x4acdb3['config'][_0x11a346(0x27c)];_0x33711a=_0x33711a||_0x3ca319[_0x11a346(0x26d)](checkAccessibilityPlatformConfig,_0x4acdb3[_0x11a346(0x246)]),process[_0x11a346(0x203)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33711a;_0x33711a&&(_0x134712=!_0x33711a);_0x3ca319['NOlIq'](_0x4acdb3[_0x11a346(0x246)]['testObservability'],null)?process[_0x11a346(0x203)][_0x11a346(0x202)]=_0x4acdb3[_0x11a346(0x246)]['testObservability']:process['env'][_0x11a346(0x202)]=_0x3ca319['XKVhc'](_0x5343fe,_0x3ca319[_0x11a346(0x286)]);const _0x1f64a7=_0x3ca319[_0x11a346(0x1f9)](nestedKeyValue,_0x319942,[_0x3ca319['qYXAL']]),_0x390e7d=_0x1f64a7&&!helper['isEmpty'](_0x1f64a7)?FRAMEWORKS[_0x11a346(0x228)]:FRAMEWORKS[_0x11a346(0x211)],_0x3006ca=await TestHubHandler['launchBuild'](_0x390e7d,_0x4acdb3);_0x33711a&&_0x3ca319[_0x11a346(0x26d)](setAccessibilityCapabilities,_0x4acdb3['config']);const _0x14b618={},_0x42a444=[],_0x4aa91c=_0x4acdb3[_0x11a346(0x246)]['parallelsPerPlatform']||helper[_0x11a346(0x25a)](_0x41ebbb,_0x1ae8fc,_0x4acdb3[_0x11a346(0x246)],constants[_0x11a346(0x243)][_0x11a346(0x211)])||0x1;let _0x49704c=0x1;if(_0x3ca319[_0x11a346(0x262)](isBrowserstackInfra)){const _0x2d1fbf=helper['prepareCapabilities'](_0x4acdb3[_0x11a346(0x246)],_0x134712,constants[_0x11a346(0x243)][_0x11a346(0x211)]);_0x2d1fbf[_0x11a346(0x239)](_0x12af62=>{const _0x542dd7=_0x11a346;helper[_0x542dd7(0x1f4)](_0x12af62);}),helper[_0x11a346(0x261)](_0x4acdb3[_0x11a346(0x246)])?_0x49704c=_0x3ca319[_0x11a346(0x24c)](_0x4aa91c,_0x4acdb3['config'][_0x11a346(0x264)][_0x11a346(0x25d)]):_0x49704c=_0x4aa91c,_0x2d1fbf[_0x11a346(0x239)](_0x467eed=>{const _0x26e53c=_0x11a346,_0x585ce7=_0x3ca319['HwdVX'](helper[_0x26e53c(0x224)](_0x467eed,'_'),'_'+Date[_0x26e53c(0x23c)]()),_0x58a28d=((()=>{const _0x22d107=_0x26e53c;if(_0x4c57f0){const _0x487626=pwToCodeceptBrowser[_0x467eed['browserName']]||_0x467eed[_0x22d107(0x289)],_0x3d00a4=helper[_0x22d107(0x22f)](_0x4acdb3['config']),_0x4b2440=Object[_0x22d107(0x1fd)]({},_0x467eed);return _0x3ca319[_0x22d107(0x209)](processAccessibilityCaps,_0x4b2440,_0x3d00a4,null),{'browser':_0x487626,[_0x487626]:{'browserWSEndpoint':_0x3ca319[_0x22d107(0x221)](_0x3d00a4,_0x3ca319['PHifT'](encodeURIComponent,JSON['stringify'](_0x4b2440)))}};}const _0x38e5ed={};return _0x38e5ed[_0x22d107(0x28a)]=_0x467eed,_0x38e5ed['user']=_0x4acdb3[_0x22d107(0x246)][_0x22d107(0x233)],_0x38e5ed[_0x22d107(0x26a)]=_0x4acdb3[_0x22d107(0x246)]['accessKey'],_0x38e5ed;})()),_0x41832c=_0x3ca319[_0x26e53c(0x269)](nestedKeyValue,_0x319942,[_0x3ca319[_0x26e53c(0x210)],_0x5343fe]);_0x14b618[_0x585ce7]=_0x41832c?helper['mergeDeep'](_0x58a28d,_0x41832c):_0x58a28d;if(_0x4c57f0)_0x14b618[_0x585ce7][_0x26e53c(0x276)]=pwToCodeceptBrowser[_0x467eed[_0x26e53c(0x289)]]||_0x467eed[_0x26e53c(0x289)];else{_0x14b618[_0x585ce7][_0x26e53c(0x276)]=_0x467eed['browserName']||_0x58a28d[_0x26e53c(0x276)];if(_0x3ca319[_0x26e53c(0x252)](isBrowserstackInfra)){_0x14b618[_0x585ce7]['host']=constants['hubUrl'][_0x26e53c(0x22a)](_0x3ca319['UfdPV'],'')[_0x26e53c(0x22a)](/https?:\/\//,'');;_0x14b618[_0x585ce7][_0x26e53c(0x24e)]=_0x3ca319[_0x26e53c(0x217)];}}_0x42a444['push'](_0x585ce7);});}else{_0x49704c=0x1;if(_0x4c57f0){const _0x234337=_0x3ca319[_0x11a346(0x269)](nestedKeyValue,_0x319942,[_0x3ca319[_0x11a346(0x210)],_0x5343fe,_0x3ca319['HNVcG']]),_0x382aa0=_0x3ca319[_0x11a346(0x23a)](nestedKeyValue,_0x319942,[_0x3ca319['MXNeG'],_0x5343fe,_0x234337]);if(_0x382aa0&&_0x382aa0[_0x11a346(0x273)]){const _0x5f41f5={};_0x5f41f5[_0x11a346(0x264)]=[],_0x382aa0['browserWSEndpoint']=helper[_0x11a346(0x240)](Object['assign']({},_0x4acdb3[_0x11a346(0x246)],_0x5f41f5),null,_0x390e7d[_0x11a346(0x245)](),null,null,_0x382aa0[_0x11a346(0x273)]);}}else{const _0x5c6c39={};_0x5c6c39['platforms']=[],_0x319942[_0x3ca319[_0x11a346(0x210)]][_0x5343fe][_0x3ca319[_0x11a346(0x222)]]=helper[_0x11a346(0x240)](Object[_0x11a346(0x1fd)]({},_0x4acdb3['config'],_0x5c6c39),null,_0x390e7d['toLowerCase'](),_0x3ca319['ePAyW'](nestedKeyValue,_0x319942,[_0x3ca319[_0x11a346(0x210)],_0x5343fe,_0x3ca319[_0x11a346(0x222)]])||{},null,null);}_0x14b618[_0x3ca319[_0x11a346(0x1fe)]]=_0x319942,_0x42a444[_0x11a346(0x232)](_0x3ca319[_0x11a346(0x1fe)]);}const _0x2699f1={};_0x2699f1[_0x11a346(0x21f)]=_0x3bd75d;const _0x50bbf5=_0x2699f1,_0x14a8d5=path[_0x11a346(0x284)](__dirname,_0x3ca319[_0x11a346(0x23b)]),_0x40424e=process['cwd']();process[_0x11a346(0x203)][_0x3ca319['DIlCN']]=_0x40424e,process[_0x11a346(0x24b)](path[_0x11a346(0x253)](_0x3bd75d));const _0x24465e=new CodeceptJS['Workers'](null,_0x50bbf5),_0x251b59=_0x24465e[_0x11a346(0x281)](_0x49704c),_0x1e13bf=testOpsHelper['isTestObservabilitySession'](),_0x37798a=_0x42a444[_0x11a346(0x244)](_0x2813e6=>{const _0x9c0aba=_0x11a346,_0x4e1c40={};_0x4e1c40['Playwright']=_0x14b618[_0x2813e6];const _0x26be94={};_0x26be94[_0x9c0aba(0x278)]=_0x14b618[_0x2813e6];const _0x40d193=_0x4c57f0?_0x4e1c40:_0x26be94,_0x27305f=_0x3ca319[_0x9c0aba(0x262)](getO11yRerunPattern),_0x74687={};_0x74687[_0x9c0aba(0x206)]=_0x40d193;const _0x298881={};_0x298881[_0x9c0aba(0x27f)]=_0x14a8d5,_0x298881[_0x9c0aba(0x275)]=!![],_0x298881[_0x9c0aba(0x256)]=_0x4acdb3[_0x9c0aba(0x246)][_0x9c0aba(0x1f6)][_0x9c0aba(0x256)],_0x298881[_0x9c0aba(0x1fb)]=_0x4acdb3['config'][_0x9c0aba(0x1f6)][_0x9c0aba(0x1fb)],_0x298881[_0x9c0aba(0x27d)]=_0x1e13bf,_0x298881[_0x9c0aba(0x200)]=_0x390e7d;const _0x1fd73c={};_0x1fd73c['BrowserStackPlugin']=_0x298881;const _0xf6bdd3={};return _0xf6bdd3[_0x9c0aba(0x287)]=_0x1fd73c,helper[_0x9c0aba(0x27e)]({},_0x319942,_0x3ca319['qfoVU'](isBrowserstackInfra)?_0x74687:{},_0x27305f?{'grep':_0x27305f}:{},_0xf6bdd3);});for(const _0x8ebf59 of _0x37798a){for(const _0x49c82b of _0x251b59){const _0x57ed5b=_0x24465e[_0x11a346(0x277)]();_0x57ed5b[_0x11a346(0x22b)](_0x49c82b),_0x57ed5b[_0x11a346(0x229)](_0x8ebf59);const _0x1c98ae={};_0x1c98ae[_0x11a346(0x246)]=_0x3bd75d,_0x57ed5b[_0x11a346(0x266)](Object[_0x11a346(0x1fd)](_0x1c98ae,_0x41ebbb));}}_0x24465e['on'](CodeceptJS[_0x11a346(0x204)][_0x11a346(0x20c)][_0x11a346(0x213)],(_0x4aca7b,_0x71eb55)=>{const _0x5c49db=_0x11a346;console[_0x5c49db(0x20a)](_0x3ca319['wnGIn'],_0x4aca7b[_0x5c49db(0x1f3)]);const _0x4ab9f2={[_0x4aca7b[_0x5c49db(0x1f3)]]:_0x4aca7b[_0x5c49db(0x1fc)]['stack']};_testErrorData['push'](_0x4ab9f2);}),_0x24465e['on'](CodeceptJS[_0x11a346(0x204)]['test'][_0x11a346(0x21e)],async _0x3f876f=>{const _0x2a1814=_0x11a346;console['log'](_0x3ca319[_0x2a1814(0x20e)],_0x3f876f[_0x2a1814(0x1f3)]);}),_0x24465e['on'](CodeceptJS[_0x11a346(0x204)][_0x11a346(0x20c)][_0x11a346(0x280)],async _0x3b6614=>{const _0x452520=_0x11a346;console[_0x452520(0x20a)](_0x3ca319[_0x452520(0x25e)],_0x3b6614[_0x452520(0x1f3)]);}),_0x24465e['on'](CodeceptJS['event']['all'][_0x11a346(0x250)],async()=>{const _0xb47227=_0x11a346,_0x53ad2e=_0x3ca319['qfGRa']['split']('|');let _0x1ebda9=0x0;while(!![]){switch(_0x53ad2e[_0x1ebda9++]){case'0':try{await TestHubHandler['stop']();}catch(_0x4818be){logger['debug'](_0xb47227(0x263)+util[_0xb47227(0x215)](_0x4818be));}continue;case'1':_0x24465e['printResults']();continue;case'2':_0x4acdb3[_0xb47227(0x22c)]=_testErrorData;continue;case'3':testOpsHelper[_0xb47227(0x23d)]();continue;case'4':utilities['finalExecution'](_0x4acdb3);continue;case'5':PerformanceTester[_0xb47227(0x268)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0x2e519d(){const _0x4b0531=_0x11a346;try{await _0x24465e[_0x4b0531(0x226)](),await _0x24465e[_0x4b0531(0x255)]();}finally{process[_0x4b0531(0x24b)](_0x40424e),await _0x24465e[_0x4b0531(0x26c)]();}}PerformanceTester[_0x11a346(0x283)](PerformanceEvents[_0x11a346(0x258)]),_0x3ca319[_0x11a346(0x1ff)](_0x2e519d);}function a2_0x4f94(_0x3a8a93,_0x591bd3){const _0x1ac21c=a2_0x1ac2();return a2_0x4f94=function(_0x4f942b,_0x7989dd){_0x4f942b=_0x4f942b-0x1f3;let _0x26d796=_0x1ac21c[_0x4f942b];return _0x26d796;},a2_0x4f94(_0x3a8a93,_0x591bd3);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x57486c=a3_0x5448;(function(_0x3cfd2c,_0x1c002d){const _0x3152d4=a3_0x5448,_0x1638b9=_0x3cfd2c();while(!![]){try{const _0x5cd32c=parseInt(_0x3152d4(0xdf))/0x1+-parseInt(_0x3152d4(0xb9))/0x2*(parseInt(_0x3152d4(0xc7))/0x3)+parseInt(_0x3152d4(0xc4))/0x4+parseInt(_0x3152d4(0x9e))/0x5+-parseInt(_0x3152d4(0xcb))/0x6+parseInt(_0x3152d4(0xca))/0x7*(-parseInt(_0x3152d4(0xc5))/0x8)+parseInt(_0x3152d4(0xce))/0x9;if(_0x5cd32c===_0x1c002d)break;else _0x1638b9['push'](_0x1638b9['shift']());}catch(_0x2b8836){_0x1638b9['push'](_0x1638b9['shift']());}}}(a3_0x4529,0x8c64d));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x57486c(0xb1)],PlaywrightSessionDetails=require(a3_0x57486c(0xd5)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x57486c(0xd4)),getOSVersionFromCaps=_0x1ed88c=>{const _0x116f4c=a3_0x57486c,_0x3b1503={};_0x3b1503[_0x116f4c(0xc1)]='bstack:options',_0x3b1503['fJmiK']=_0x116f4c(0xbd),_0x3b1503[_0x116f4c(0xe0)]=_0x116f4c(0xcd),_0x3b1503[_0x116f4c(0xb4)]='osVersion',_0x3b1503[_0x116f4c(0xd6)]=_0x116f4c(0xb7);const _0x36d049=_0x3b1503;if(!_0x1ed88c)return null;const _0x1c7c38=_0x1ed88c[_0x36d049['daXMY']],_0x1ff076=[_0x36d049[_0x116f4c(0xdc)],_0x36d049[_0x116f4c(0xe0)],_0x36d049['exFjG'],_0x36d049[_0x116f4c(0xd6)]];for(const _0x44632e of _0x1ff076){if(_0x1c7c38&&_0x1c7c38[_0x44632e])return _0x1c7c38[_0x44632e];else{if(_0x1ed88c[_0x44632e])return _0x1ed88c[_0x44632e];}}return null;};exports[a3_0x57486c(0xc8)]=_0xda6c7b=>{const _0x318f80=a3_0x57486c,_0x27bfed={'pHtXE':_0x318f80(0xd8),'zkxqf':function(_0x2eefe7,_0x53b9f4){return _0x2eefe7===_0x53b9f4;},'AgPTm':'WebDriver','NXShd':function(_0x30140f,_0x588538){return _0x30140f(_0x588538);},'IhRhn':function(_0xb69014,_0x43d5d2,_0x52c9cb){return _0xb69014(_0x43d5d2,_0x52c9cb);},'UzFhD':_0x318f80(0xda),'eViEt':'desiredCapabilities','WraZv':function(_0x2ef3dc,_0x1dbe19){return _0x2ef3dc(_0x1dbe19);},'pEeQS':_0x318f80(0xa7),'syfqO':function(_0x5e3add,_0x2d2330,_0x3e2f24){return _0x5e3add(_0x2d2330,_0x3e2f24);},'lBmbO':_0x318f80(0xa5),'lrpYy':'browserWSEndpoint','XWJBN':_0x318f80(0xcf)};if(!_0xda6c7b)return null;let _0x5afe2a=global[_0x318f80(0xa9)]||_0x27bfed[_0x318f80(0xad)];if(_0x27bfed['zkxqf'](_0xda6c7b[_0x318f80(0xa1)][_0x318f80(0x9b)],_0x27bfed['AgPTm'])){const _0x4beac1=_0xda6c7b[_0x318f80(0xa5)];if(!_0x4beac1)return null;const _0x48a1a5=_0x4beac1[_0x318f80(0xab)],_0x51eca4=_0x27bfed[_0x318f80(0xbe)](getOSVersionFromCaps,_0x27bfed['IhRhn'](nestedKeyValue,_0xda6c7b,[_0x27bfed[_0x318f80(0xbc)],_0x27bfed[_0x318f80(0xaa)]]));return{[_0x5afe2a]:{'browser':_0x48a1a5[_0x318f80(0xc9)],'browser_version':_0x48a1a5[_0x318f80(0xae)],'capabilities':_0x48a1a5,'platform':_0x48a1a5[_0x318f80(0xcc)],'platform_version':_0x48a1a5[_0x318f80(0xbd)]||_0x51eca4,'product':_0x27bfed[_0x318f80(0xb2)](getObservabilityLinkedProductName,_0x48a1a5),'session_id':_0x4beac1[_0x318f80(0xa4)]}};}else{if(_0x27bfed[_0x318f80(0xd3)](_0xda6c7b[_0x318f80(0xa1)][_0x318f80(0x9b)],_0x27bfed[_0x318f80(0x9d)])){const _0xfb51ee=PlaywrightSessionDetails[_0x318f80(0x9f)]();_0x5afe2a=_0xfb51ee['cloudProvider']||_0x5afe2a;const _0x171e37=_0x27bfed[_0x318f80(0xd7)](nestedKeyValue,_0xda6c7b,[_0x27bfed[_0x318f80(0xbc)],_0x27bfed[_0x318f80(0xd1)],_0x27bfed[_0x318f80(0x9c)]]),_0x5db4ab=_0x171e37?JSON[_0x318f80(0xd0)](new URL(_0x171e37)[_0x318f80(0xdd)]['get'](_0x27bfed['XWJBN'])):{};return{[_0x5afe2a]:{'browser':_0xfb51ee[_0x318f80(0xa5)]||_0x5db4ab['browserName'],'browser_version':_0xfb51ee[_0x318f80(0xde)]||_0x5db4ab[_0x318f80(0xde)],'capabilities':_0x5db4ab,'platform':_0xfb51ee[_0x318f80(0xaf)],'platform_version':_0xfb51ee[_0x318f80(0xcd)],'product':_0x27bfed['NXShd'](getObservabilityLinkedProductName,_0x5db4ab),'session_id':_0xfb51ee[_0x318f80(0xa8)]}};}}},exports[a3_0x57486c(0xc3)]=_0x48cfd6=>{const _0xe8ce25=a3_0x57486c,_0x4ed91b={'limpD':function(_0x4342c8){return _0x4342c8();},'jmyaR':function(_0x583076,_0x33e7a5){return _0x583076===_0x33e7a5;},'wiICr':'latest','sNSDA':function(_0x3ca654,_0x323614){return _0x3ca654>_0x323614;},'zuUJu':function(_0x349452,_0x260ba1){return _0x349452(_0x260ba1);},'xWWYm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','dNslG':_0xe8ce25(0xa0),'XgRDq':'playwright-chromium','fXnHR':_0xe8ce25(0xb0),'YsIAJ':_0xe8ce25(0xb6)};if(_0x4ed91b['limpD'](isAccessibilityAutomationSession)){const _0x1716c6=_0x48cfd6[_0xe8ce25(0xa5)],_0x5eca3d=_0x1716c6[_0xe8ce25(0xab)];global[_0xe8ce25(0xb8)]=!![],!(_0x4ed91b['jmyaR'](_0x5eca3d[_0xe8ce25(0xae)],_0x4ed91b['wiICr'])||_0x4ed91b['sNSDA'](_0x4ed91b[_0xe8ce25(0x9a)](parseInt,_0x5eca3d[_0xe8ce25(0xae)]),0x5e))&&(logger[_0xe8ce25(0xb5)](_0x4ed91b[_0xe8ce25(0xb3)]),global['accessibilityPlatform']=![]),!(_0x4ed91b['jmyaR'](_0x5eca3d[_0xe8ce25(0xc9)],_0x4ed91b[_0xe8ce25(0xa6)])||_0x4ed91b[_0xe8ce25(0xc6)](_0x5eca3d[_0xe8ce25(0xc9)],_0x4ed91b[_0xe8ce25(0xa2)]))&&(logger['warn'](_0x4ed91b[_0xe8ce25(0xdb)]),global[_0xe8ce25(0xb8)]=![]),!_0x4ed91b[_0xe8ce25(0x9a)](isUndefined,_0x5eca3d[_0xe8ce25(0xba)])&&(logger[_0xe8ce25(0xb5)](_0x4ed91b[_0xe8ce25(0xac)]),global['accessibilityPlatform']=![]);}},exports[a3_0x57486c(0xc2)]=_0x2f8e0f=>{const _0x3a9442=a3_0x57486c,_0x34ba20={};_0x34ba20['pjLXU']=function(_0xffb238,_0x4f04b9){return _0xffb238!==_0x4f04b9;},_0x34ba20[_0x3a9442(0xd9)]=_0x3a9442(0xe1),_0x34ba20[_0x3a9442(0xbf)]='browserstack_executor',_0x34ba20[_0x3a9442(0xd2)]=_0x3a9442(0xa3);const _0x5ac215=_0x34ba20;if(!_0x2f8e0f)return![];else{if(_0x5ac215[_0x3a9442(0xc0)](typeof _0x2f8e0f,_0x5ac215['LjrwM']))return!![];}return!_0x2f8e0f[_0x3a9442(0xbb)](_0x5ac215[_0x3a9442(0xbf)])&&!_0x2f8e0f[_0x3a9442(0xbb)](_0x5ac215[_0x3a9442(0xd2)]);};function a3_0x5448(_0x1d808f,_0x59f599){const _0x452908=a3_0x4529();return a3_0x5448=function(_0x5448ba,_0x53adfe){_0x5448ba=_0x5448ba-0x9a;let _0x1b9434=_0x452908[_0x5448ba];return _0x1b9434;},a3_0x5448(_0x1d808f,_0x59f599);}function a3_0x4529(){const _0x1cdd75=['WraZv','xWWYm','exFjG','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','os_version','accessibilityPlatform','38dtCgXd','deviceName','includes','UzFhD','platformVersion','NXShd','jWWyS','pjLXU','daXMY','shouldPatchExecuteScript','processWebDriverConfig','4249160BFcVii','496yBbKSN','jmyaR','142974kknxpR','fetchPlatformDetails','browserName','100863vssIuG','5303106UpWKJv','platformName','platform_version','12626469ricrCG','caps','parse','lBmbO','ZtdRM','zkxqf','../../helpers/test-observability/utils','../../bin/playwright/sessionDetails','WdCBD','syfqO','unknown_grid','LjrwM','config','fXnHR','fJmiK','searchParams','browser_version','175560WWzDOV','yJBqS','string','zuUJu','name','lrpYy','pEeQS','3084865cjAnHv','getDetails','chrome','constructor','XgRDq','browserstack_accessibility_automation_script','sessionId','browser','dNslG','Playwright','bsSessionId','__cloud_provider___','eViEt','capabilities','YsIAJ','pHtXE','browserVersion','platform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','winstonLogger'];a3_0x4529=function(){return _0x1cdd75;};return a3_0x4529();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x1db952=a4_0x323a;(function(_0xedfab2,_0x3dba1d){const _0x47eba8=a4_0x323a,_0xd729dd=_0xedfab2();while(!![]){try{const _0x57efd3=-parseInt(_0x47eba8(0x200))/0x1*(parseInt(_0x47eba8(0x26f))/0x2)+parseInt(_0x47eba8(0x191))/0x3+parseInt(_0x47eba8(0x225))/0x4*(-parseInt(_0x47eba8(0x1da))/0x5)+-parseInt(_0x47eba8(0x1ea))/0x6*(parseInt(_0x47eba8(0x253))/0x7)+-parseInt(_0x47eba8(0x223))/0x8*(-parseInt(_0x47eba8(0x24d))/0x9)+parseInt(_0x47eba8(0x1f2))/0xa*(parseInt(_0x47eba8(0x19f))/0xb)+-parseInt(_0x47eba8(0x1e1))/0xc*(-parseInt(_0x47eba8(0x19b))/0xd);if(_0x57efd3===_0x3dba1d)break;else _0xd729dd['push'](_0xd729dd['shift']());}catch(_0x4d9ee9){_0xd729dd['push'](_0xd729dd['shift']());}}}(a4_0x2e47,0xa3682));const path=require(a4_0x1db952(0x203)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1db952(0x19a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1db952(0x185)),testOpsHelper=require(a4_0x1db952(0x1c9)),{getTestEnv}=require(a4_0x1db952(0x230)),{FRAMEWORKS}=require(a4_0x1db952(0x26c)),logger=require(a4_0x1db952(0x1e5))[a4_0x1db952(0x212)],SessionHandler=require(a4_0x1db952(0x226)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x1db952(0x1d2)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x1db952(0x18c)),Constants=require(a4_0x1db952(0x23b)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a4_0x1db952(0x1c5),STATE_FAILED=a4_0x1db952(0x255),a4_0x5dee52={};a4_0x5dee52[a4_0x1db952(0x20a)]=a4_0x1db952(0x1f5),a4_0x5dee52[a4_0x1db952(0x209)]=a4_0x1db952(0x1dc),a4_0x5dee52[a4_0x1db952(0x1d4)]=a4_0x1db952(0x22d),a4_0x5dee52['HOOK_RUN_STARTED']=a4_0x1db952(0x1b8),a4_0x5dee52['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x5dee52,parseEvent=_0x1c6b58=>{const _0xb37e6e=a4_0x1db952,_0x638326={};_0x638326[_0xb37e6e(0x25d)]=function(_0x5f2ff6,_0x10c4bd){return _0x5f2ff6<_0x10c4bd;},_0x638326['pgQtw']=function(_0x3826d5,_0x30e173){return _0x3826d5===_0x30e173;},_0x638326[_0xb37e6e(0x187)]=_0xb37e6e(0x247),_0x638326['rmASy']=_0xb37e6e(0x210),_0x638326[_0xb37e6e(0x224)]='skipped',_0x638326['iudSp']=function(_0x23efb7,_0x31c4a9){return _0x23efb7===_0x31c4a9;},_0x638326[_0xb37e6e(0x248)]=_0xb37e6e(0x193),_0x638326['RaJwR']=function(_0x44534e,_0x22a20c){return _0x44534e===_0x22a20c;},_0x638326[_0xb37e6e(0x1fd)]=_0xb37e6e(0x1e2);const _0x44f95d=_0x638326,_0x41410d=_0x1c6b58['match'](/^(.*)Run(.*)$/);if(!_0x41410d)return null;if(_0x44f95d['UHwOI'](_0x41410d[_0xb37e6e(0x24b)],0x3))return null;const _0x3742c0=_0x41410d[0x1]['toLowerCase'](),_0x5dd5ae=_0x41410d[0x2][_0xb37e6e(0x1bd)]();return{'test':_0x44f95d['pgQtw'](_0x3742c0,_0x44f95d[_0xb37e6e(0x187)]),'hook':_0x44f95d[_0xb37e6e(0x22b)](_0x3742c0,_0x44f95d[_0xb37e6e(0x1b6)]),'skipped':_0x44f95d[_0xb37e6e(0x22b)](_0x5dd5ae,_0x44f95d[_0xb37e6e(0x224)]),'started':_0x44f95d[_0xb37e6e(0x1e9)](_0x5dd5ae,_0x44f95d[_0xb37e6e(0x248)]),'finished':_0x44f95d[_0xb37e6e(0x251)](_0x5dd5ae,_0x44f95d[_0xb37e6e(0x1fd)])};},mockPWBrowserType=_0x3e0a42=>{const _0x24a1fd=a4_0x1db952,_0x3ad445={'YoIJc':function(_0x47944c,_0xe2ecaf){return _0x47944c===_0xe2ecaf;},'Urifm':_0x24a1fd(0x218),'hazMQ':function(_0x3ea2c4,_0x4a5018,_0x73f4cf){return _0x3ea2c4(_0x4a5018,_0x73f4cf);},'eeMrE':_0x24a1fd(0x237),'UUroJ':function(_0x23873c,_0x26d255){return _0x23873c(_0x26d255);},'TmpIL':_0x24a1fd(0x1df),'pPyVc':function(_0x3043c9,_0x34d682){return _0x3043c9(_0x34d682);},'ADIaF':'lib','tPJzg':_0x24a1fd(0x23c),'koZHX':_0x24a1fd(0x1ff),'kTCHN':_0x24a1fd(0x236),'ueFDh':_0x24a1fd(0x198),'wVKnp':_0x24a1fd(0x1ec)},_0x296ed4=path[_0x24a1fd(0x23e)](_0x3ad445[_0x24a1fd(0x1be)],_0x3ad445[_0x24a1fd(0x199)],_0x3ad445['koZHX']),_0x1d4a30=_0x3ad445[_0x24a1fd(0x222)](importFileFromPWCore,_0x296ed4);if(!_0x1d4a30){_0x3ad445['UUroJ'](debug,_0x3ad445[_0x24a1fd(0x1f6)]);return;}const _0x377285=_0x1d4a30[_0x24a1fd(0x1dd)],_0x3960ae=_0x377285[_0x24a1fd(0x21e)];if(_0x3960ae[_0x24a1fd(0x1cf)])return;const _0x532a61=_0x3960ae['connect'];Object[_0x24a1fd(0x188)](_0x3960ae,_0x3ad445['ueFDh'],{'get':function(){return async function _0x39405b(_0x3ce05b,_0x4689e6){const _0x43873f=a4_0x323a,_0x2809aa={'awnAK':function(_0x24f9d1,_0x1156a3){const _0x2652dc=a4_0x323a;return _0x3ad445[_0x2652dc(0x1a9)](_0x24f9d1,_0x1156a3);},'PwqCX':_0x3ad445['Urifm']},_0x3a24ff=_0x3ad445[_0x43873f(0x25e)](nestedKeyValue,_0x3ce05b,[_0x3ad445[_0x43873f(0x214)]])||_0x3ce05b;let _0x44ab31=null,_0x3b7e48=null;try{[_0x3b7e48,_0x44ab31]=_0x3a24ff?_0x3ad445[_0x43873f(0x222)](parseWSEndpoint,_0x3a24ff):[null,null],global['__platformCaps']=_0x44ab31,logger[_0x43873f(0x1c8)](_0x43873f(0x250)+_0x3b7e48),_0x3b7e48[_0x43873f(0x1e7)](Constants[_0x43873f(0x1a3)])&&(global[_0x43873f(0x1d7)]=_0x3ad445[_0x43873f(0x245)]);}catch(_0x422e3b){logger[_0x43873f(0x1c8)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x3a24ff+'\x20'+_0x422e3b);}_0x3ad445[_0x43873f(0x25e)](processAccessibilityCaps,_0x44ab31,_0x3b7e48);if(global[_0x43873f(0x1ab)]){const _0x551968=await _0x3960ae[_0x43873f(0x22e)][_0x43873f(0x240)](this,[''+Constants[_0x43873f(0x192)]+_0x3ad445[_0x43873f(0x1eb)](encodeURIComponent,JSON['stringify'](_0x44ab31))]);return PlaywrightSessionDetails[_0x43873f(0x27b)](_0x551968,_0x3e0a42,_0x3a24ff),_0x551968;}return _0x532a61[_0x43873f(0x240)](this,arguments)[_0x43873f(0x275)](_0x58d479=>{const _0x3ec21f=_0x43873f;let _0x53cff1=_0x3ce05b[_0x3ec21f(0x237)];return _0x2809aa[_0x3ec21f(0x239)](typeof _0x3ce05b,_0x2809aa[_0x3ec21f(0x1ee)])&&(_0x53cff1=_0x3ce05b),PlaywrightSessionDetails[_0x3ec21f(0x27b)](_0x58d479,_0x3e0a42,_0x53cff1),_0x58d479;});};}});const _0x4da78d=_0x3960ae[_0x24a1fd(0x1ec)];Object[_0x24a1fd(0x188)](_0x3960ae,_0x3ad445['wVKnp'],{'get':function(){return async function _0x4affde(){const _0x4da334=a4_0x323a;return _0x4da78d[_0x4da334(0x240)](this,arguments)[_0x4da334(0x275)](_0x88e8fd=>{const _0x24bed9=_0x4da334;return PlaywrightSessionDetails[_0x24bed9(0x27b)](_0x88e8fd,null),_0x88e8fd;});};}});};class O11yHelper{[a4_0x1db952(0x195)]=null;['currentHook']=null;[a4_0x1db952(0x273)]=![];[a4_0x1db952(0x217)]=![];constructor(_0x55f337,_0x548123){const _0x3f1fe0=a4_0x1db952,_0x5941ad={'XZJrr':'3|0|1|4|2|5','otqaX':function(_0x32cbd7){return _0x32cbd7();},'Opawg':function(_0x267fd1,_0x154e17){return _0x267fd1===_0x154e17;},'fHRCj':_0x3f1fe0(0x25c),'OSeuL':function(_0xdb17e5,_0x4ba567){return _0xdb17e5(_0x4ba567);}},_0x29b291=_0x5941ad['XZJrr'][_0x3f1fe0(0x1cc)]('|');let _0x33ce47=0x0;while(!![]){switch(_0x29b291[_0x33ce47++]){case'0':this[_0x3f1fe0(0x217)]=_0x548123['frameworkName'];continue;case'1':this[_0x3f1fe0(0x27a)]=_0x55f337;continue;case'2':this[_0x3f1fe0(0x1b1)]=new testOpsHelper[(_0x3f1fe0(0x1a0))]({'cwd':process[_0x3f1fe0(0x1a8)]()},this[_0x3f1fe0(0x201)][_0x3f1fe0(0x181)]);continue;case'3':this['enabled']=_0x5941ad['otqaX'](shouldProcessEventForTesthub);continue;case'4':this[_0x3f1fe0(0x201)]=_0x5941ad[_0x3f1fe0(0x208)](getTestEnv);continue;case'5':this['driver']&&_0x5941ad['Opawg'](this[_0x3f1fe0(0x27a)]['constructor'][_0x3f1fe0(0x20b)],_0x5941ad[_0x3f1fe0(0x259)])&&_0x5941ad[_0x3f1fe0(0x269)](mockPWBrowserType,null);continue;}break;}}[a4_0x1db952(0x1cd)](){const _0x520f1c=a4_0x1db952;if(!this[_0x520f1c(0x273)])return;testOpsHelper[_0x520f1c(0x19d)](),process['removeAllListeners'](_0x520f1c(0x20f)+process[_0x520f1c(0x18f)]),process['on'](_0x520f1c(0x20f)+process[_0x520f1c(0x18f)],this[_0x520f1c(0x25a)]['bind'](this));}async[a4_0x1db952(0x205)](){const _0x5b1031=a4_0x1db952;await RequestQueueHandler[_0x5b1031(0x1a5)]()['shutdown']();}async[a4_0x1db952(0x25a)](_0x56e314){const _0x2afd8a=a4_0x1db952,_0x11dc0e={'hEQBx':_0x2afd8a(0x271),'CetJZ':function(_0xcdad4c,_0x39d0c2){return _0xcdad4c(_0x39d0c2);}};try{this[_0x2afd8a(0x1ef)]&&!this[_0x2afd8a(0x1ef)][_0x2afd8a(0x1f7)]&&(_0x56e314[_0x2afd8a(0x1c7)]=this['currentHook'][_0x2afd8a(0x1b9)]);!_0x56e314[_0x2afd8a(0x1c7)]&&this[_0x2afd8a(0x195)]&&!this[_0x2afd8a(0x195)]['markedStatus']&&(_0x56e314[_0x2afd8a(0x18e)]=this[_0x2afd8a(0x195)][_0x2afd8a(0x1d6)]);if(_0x56e314[_0x2afd8a(0x1c7)]||_0x56e314['test_run_uuid']){const _0x2eba20={};_0x2eba20['event_type']=_0x11dc0e[_0x2afd8a(0x1d9)],_0x2eba20['logs']=[_0x56e314],await SessionHandler[_0x2afd8a(0x18b)](_0x2eba20);}}catch(_0x3d11d9){_0x11dc0e[_0x2afd8a(0x221)](debug,_0x2afd8a(0x1a1)+constants['TEST_REPORTING_ANALYTICS']+_0x2afd8a(0x242)+_0x3d11d9);}}async[a4_0x1db952(0x267)](_0x472fd0){const _0x4c7f86=a4_0x1db952,_0x2c35b4={'wbbUo':'CBTSessionCreated','GiaZQ':function(_0x32c3cf,_0x338f6b){return _0x32c3cf(_0x338f6b);}};if(!this[_0x4c7f86(0x273)])return;const _0x24e16c=this['getCBTInfo'](this[_0x4c7f86(0x27a)]);try{const _0x11c7d6={};_0x11c7d6['uuid']=_0x472fd0,_0x11c7d6['integrations']=_0x24e16c;const _0xf09254=_0x11c7d6,_0xd7a1db={};_0xd7a1db[_0x4c7f86(0x23a)]=_0x2c35b4[_0x4c7f86(0x260)],_0xd7a1db[_0x4c7f86(0x22c)]=_0xf09254,await SessionHandler['uploadEventData'](_0xd7a1db);}catch(_0x271aa5){_0x2c35b4[_0x4c7f86(0x1c2)](debug,_0x4c7f86(0x279)+constants[_0x4c7f86(0x21b)]+_0x4c7f86(0x242)+_0x271aa5);}}[a4_0x1db952(0x1b2)](_0x346758){const _0x364fef=a4_0x1db952,_0x1ca996={'DaNgY':function(_0x4bb179,_0x1789ee){return _0x4bb179(_0x1789ee);}};return _0x1ca996[_0x364fef(0x1bc)](fetchPlatformDetails,_0x346758);}['resetSkipTestHooks']=_0x56317c=>{const _0x1765cc=a4_0x1db952,_0x2855dc={};_0x2855dc[_0x1765cc(0x190)]=_0x1765cc(0x19e),_0x2855dc[_0x1765cc(0x206)]='_afterEach';const _0x3917c1=_0x2855dc;if(!_0x56317c||!_0x56317c[_0x1765cc(0x182)])return;[_0x3917c1[_0x1765cc(0x190)],_0x3917c1[_0x1765cc(0x206)]]['forEach'](_0x22006e=>{const _0x29d41c=_0x1765cc,_0x4624f8=_0x56317c[_0x29d41c(0x182)][_0x22006e];_0x4624f8[_0x29d41c(0x227)](_0x20adf0=>{const _0x2b4244=_0x29d41c;_0x20adf0[_0x2b4244(0x1b9)]&&(_0x20adf0[_0x2b4244(0x1b9)]=null);});});};[a4_0x1db952(0x233)](_0x1cce43){const _0x4736fb=a4_0x1db952,_0x232ea8={'ucwlJ':'codeceptjs','pFVlW':function(_0x2a99b0){return _0x2a99b0();},'qKvZZ':function(_0x118a3c,_0x16585d){return _0x118a3c===_0x16585d;},'EcFAQ':_0x4736fb(0x184),'mrRij':function(_0xe9cc5b){return _0xe9cc5b();},'Vpgdn':_0x4736fb(0x219),'wCbza':_0x4736fb(0x1aa),'FVTRq':_0x4736fb(0x19e)};if(!_0x1cce43||!_0x1cce43[_0x4736fb(0x182)])return;[_0x232ea8[_0x4736fb(0x276)],_0x232ea8[_0x4736fb(0x18a)],_0x232ea8[_0x4736fb(0x189)],_0x232ea8[_0x4736fb(0x26a)]][_0x4736fb(0x227)](_0x43fec0=>{const _0x4a79af=_0x4736fb,_0x22ee68=_0x1cce43['parent'][_0x43fec0]||[];_0x22ee68[_0x4a79af(0x227)](_0x2533a=>{const _0x2887aa=_0x4a79af;if(_0x2533a[_0x2887aa(0x215)][_0x2887aa(0x1e7)](_0x232ea8[_0x2887aa(0x1e3)]))return;if(!_0x2533a[_0x2887aa(0x1b9)])_0x2533a[_0x2887aa(0x1b9)]=_0x232ea8[_0x2887aa(0x261)](uuidv4);else _0x2533a[_0x2887aa(0x1f7)]&&_0x232ea8[_0x2887aa(0x277)](_0x43fec0,_0x232ea8['EcFAQ'])&&(_0x2533a[_0x2887aa(0x1b9)]=_0x232ea8[_0x2887aa(0x243)](uuidv4),delete _0x2533a['markedStatus']);});}),this[_0x4736fb(0x233)](_0x1cce43[_0x4736fb(0x182)]);}[a4_0x1db952(0x1e0)](_0xe64ce8){const _0x42d329=a4_0x1db952,_0x581470={};_0x581470[_0x42d329(0x1c1)]=_0x42d329(0x219),_0x581470[_0x42d329(0x24c)]=_0x42d329(0x1aa),_0x581470[_0x42d329(0x1d8)]='_beforeEach',_0x581470[_0x42d329(0x232)]=_0x42d329(0x184);const _0x36a20f=_0x581470;if(!_0xe64ce8||!_0xe64ce8['parent'])return[];const _0x2f2bfb=[];return[_0x36a20f[_0x42d329(0x1c1)],_0x36a20f[_0x42d329(0x24c)],_0x36a20f[_0x42d329(0x1d8)],_0x36a20f[_0x42d329(0x232)]]['forEach'](_0x1c43b7=>{const _0x5a1d3b=_0x42d329,_0x59c8e8=_0xe64ce8[_0x5a1d3b(0x182)][_0x1c43b7]||[];_0x59c8e8['forEach'](_0x55f822=>{const _0x4a9bd1=_0x5a1d3b;_0x55f822[_0x4a9bd1(0x1b9)]&&_0x2f2bfb['push'](_0x55f822['hookAnalyticsId']);});}),[][_0x42d329(0x25f)](_0x2f2bfb,this[_0x42d329(0x1e0)](_0xe64ce8[_0x42d329(0x182)]));}[a4_0x1db952(0x24e)](_0x5b9baa){const _0x6e3680=a4_0x1db952,_0x40e211=/^"(?<hook>.*)" hook:.*$/,_0x5c516b=_0x5b9baa[_0x6e3680(0x215)],_0x39ca42=_0x5c516b[_0x6e3680(0x207)](_0x40e211);if(_0x39ca42&&_0x39ca42[_0x6e3680(0x1de)])return _0x39ca42[_0x6e3680(0x1de)][_0x6e3680(0x210)][_0x6e3680(0x216)]()[_0x6e3680(0x278)]('\x20','_');return null;}[a4_0x1db952(0x202)](_0x2cccf7){const _0x50ca9b=a4_0x1db952,_0x7a8659={};_0x7a8659[_0x50ca9b(0x238)]=function(_0x5cc995,_0x1c2dd1){return _0x5cc995===_0x1c2dd1;},_0x7a8659['qWVsq']=function(_0x24c943,_0x4a284e){return _0x24c943===_0x4a284e;},_0x7a8659[_0x50ca9b(0x1f3)]=_0x50ca9b(0x26d),_0x7a8659[_0x50ca9b(0x1ca)]=_0x50ca9b(0x257);const _0x5632f3=_0x7a8659,_0x2a4ada=path[_0x50ca9b(0x274)];if(_0x5632f3[_0x50ca9b(0x238)](_0x2cccf7,null)||_0x5632f3[_0x50ca9b(0x22a)](_0x2cccf7,'')||_0x5632f3[_0x50ca9b(0x238)](_0x2cccf7,_0x2a4ada)||_0x5632f3[_0x50ca9b(0x22a)](_0x2cccf7,path[_0x50ca9b(0x1ac)](_0x2cccf7)))return null;try{return fs[_0x50ca9b(0x264)](path['join'](_0x2cccf7,_0x5632f3[_0x50ca9b(0x1f3)],_0x5632f3[_0x50ca9b(0x1ca)])),_0x2cccf7;}catch(_0x374502){const _0x505e04=path[_0x50ca9b(0x1ac)](_0x2cccf7);return this['findGitConfig'](_0x505e04);}}[a4_0x1db952(0x26e)](_0xb08cee){const _0x5affd1=a4_0x1db952,_0x304108={};_0x304108[_0x5affd1(0x1f9)]=function(_0x232165,_0x7ece95){return _0x232165>_0x7ece95;};const _0x4ba2cc=_0x304108;if(_0xb08cee[_0x5affd1(0x25b)])return _0xb08cee[_0x5affd1(0x25b)];if(_0xb08cee[_0x5affd1(0x1c3)]){const _0x5db4b1=_0xb08cee[_0x5affd1(0x1c3)][_0x5affd1(0x195)]?this[_0x5affd1(0x26e)](_0xb08cee[_0x5affd1(0x1c3)]['currentTest']):null;if(_0x5db4b1)return _0x5db4b1;}if(_0xb08cee[_0x5affd1(0x182)]){const _0x10bfe2=this[_0x5affd1(0x26e)](_0xb08cee[_0x5affd1(0x182)])||(_0xb08cee['parent']['ctx']&&_0xb08cee[_0x5affd1(0x182)][_0x5affd1(0x1c3)]['currentTest']?this['getRootParentFile'](_0xb08cee[_0x5affd1(0x182)]['ctx'][_0x5affd1(0x195)]):null);if(_0x10bfe2)return _0x10bfe2;_0xb08cee[_0x5affd1(0x182)][_0x5affd1(0x265)]&&_0x4ba2cc[_0x5affd1(0x1f9)](_0xb08cee[_0x5affd1(0x182)][_0x5affd1(0x265)]['length'],0x0)&&_0xb08cee[_0x5affd1(0x182)]['suites'][_0x5affd1(0x227)](_0x2540b2=>{const _0x4c2cb1=_0x5affd1,_0x224884=_0x2540b2[_0x4c2cb1(0x1c3)]?this[_0x4c2cb1(0x26e)](_0x2540b2['ctx']):null;if(_0x224884)return _0x224884;});}return null;}['getHierarchy'](_0x2dce61){const _0x1a2d9b=a4_0x1db952,_0xa2569f={};_0xa2569f[_0x1a2d9b(0x20c)]=function(_0x29cf98,_0x3c2230){return _0x29cf98!==_0x3c2230;};const _0xec2f68=_0xa2569f,_0x18a345=[];if(_0x2dce61&&_0x2dce61['parent']){let _0x34fc52=_0x2dce61[_0x1a2d9b(0x182)];while(_0x34fc52&&_0xec2f68[_0x1a2d9b(0x20c)](_0x34fc52[_0x1a2d9b(0x215)],'')){_0x18a345[_0x1a2d9b(0x211)](_0x34fc52[_0x1a2d9b(0x215)]),_0x34fc52=_0x34fc52[_0x1a2d9b(0x182)];}}return _0x18a345;}['captureEvent'](_0x297ce3,_0x27d72b,_0x2026ea=undefined){const _0x218dfe=a4_0x1db952,_0xb4cd3e={'ySJjn':function(_0x599e26,_0x39c870){return _0x599e26(_0x39c870);},'fscEU':function(_0x76b637){return _0x76b637();},'uBqPH':function(_0xbb237b){return _0xbb237b();},'NQnbb':function(_0x422a32,_0x161512){return _0x422a32(_0x161512);},'pzxlQ':_0x218dfe(0x1c4),'uBCwU':_0x218dfe(0x21f),'UCniH':function(_0x34ce89,_0x1360c9){return _0x34ce89!==_0x1360c9;},'saHvV':function(_0x174ccb,_0x3e6fc2){return _0x174ccb!==_0x3e6fc2;},'RoLHg':_0x218dfe(0x1e8),'mjsdy':_0x218dfe(0x24a),'UZaba':_0x218dfe(0x255),'BLeoq':'passed','cOIYt':_0x218dfe(0x1a7),'IinxD':'javascript','zGFuj':function(_0x1d6fcc,_0x109c53){return _0x1d6fcc-_0x109c53;},'wwRVc':function(_0xad2325,_0x151296,_0xff204e,_0x13ffc0,_0x200bc8){return _0xad2325(_0x151296,_0xff204e,_0x13ffc0,_0x200bc8);},'neOlM':function(_0x5596d9,_0x4720e7){return _0x5596d9!==_0x4720e7;},'KzyyI':_0x218dfe(0x197),'SjRTG':'meta','DKggv':_0x218dfe(0x1fa),'SnBdm':_0x218dfe(0x1d0),'mGerk':_0x218dfe(0x24f),'ymRwz':'failure_reason_expanded','uHwTQ':_0x218dfe(0x1ed),'LqINV':function(_0x1cff50,_0x4bd242){return _0x1cff50===_0x4bd242;},'fkegC':_0x218dfe(0x1c6),'sTfvP':'test_run'};if(!this[_0x218dfe(0x273)])return;try{if(_0x27d72b['fn']&&_0x27d72b['fn'][_0x218dfe(0x196)]()[_0x218dfe(0x207)](/browserstack internal helper hook/))return;const _0x491a6b=_0xb4cd3e[_0x218dfe(0x23d)](parseEvent,_0x297ce3);if(!_0x491a6b)return;if(_0x491a6b[_0x218dfe(0x247)]){this[_0x218dfe(0x195)]=_0x27d72b,this['currentHook']=null;if(_0x491a6b[_0x218dfe(0x193)]||_0x491a6b[_0x218dfe(0x1a7)]){_0x27d72b[_0x218dfe(0x194)]=new Date(),_0x27d72b['markedStatus']=![];if(!_0x27d72b['testAnalyticsId'])_0x27d72b[_0x218dfe(0x1d6)]=_0xb4cd3e[_0x218dfe(0x21c)](uuidv4);else _0x27d72b[_0x218dfe(0x1f7)]&&(!_0x27d72b[_0x218dfe(0x272)]&&(_0x27d72b[_0x218dfe(0x272)]=_0x27d72b[_0x218dfe(0x1d6)]),_0x27d72b[_0x218dfe(0x1d6)]=_0xb4cd3e[_0x218dfe(0x244)](uuidv4));}}else{if(_0x491a6b[_0x218dfe(0x210)]){this[_0x218dfe(0x1ef)]=_0x27d72b;if(_0x491a6b['started']){_0x27d72b[_0x218dfe(0x194)]=new Date(),_0x27d72b['markedStatus']=![];if(!_0x27d72b[_0x218dfe(0x1b9)])_0x27d72b[_0x218dfe(0x1b9)]=_0xb4cd3e[_0x218dfe(0x21c)](uuidv4);else _0x27d72b[_0x218dfe(0x1b9)]&&_0x27d72b[_0x218dfe(0x1f7)]&&(_0x27d72b[_0x218dfe(0x1b9)]=_0xb4cd3e[_0x218dfe(0x244)](uuidv4));}}}if(_0x491a6b[_0x218dfe(0x1e2)]&&_0x27d72b[_0x218dfe(0x1f7)])return;let _0x38e72c;try{_0x38e72c=this[_0x218dfe(0x26e)](_0x27d72b);}catch(_0x31d57e){logger[_0x218dfe(0x1c8)](_0x218dfe(0x1b5)+_0x31d57e),_0x38e72c=null;}const _0x416347=_0xb4cd3e['NQnbb'](require,_0xb4cd3e[_0x218dfe(0x1af)]);let _0x4068c5=[];_0x2026ea&&(_0x4068c5=[_0x2026ea,_0xb4cd3e[_0x218dfe(0x252)]]);const _0x2d5728=_0xb4cd3e[_0x218dfe(0x204)](_0x27d72b[_0x218dfe(0x1e4)],undefined)?_0x416347[_0x218dfe(0x263)](_0x27d72b[_0x218dfe(0x1e4)][0x0]):_0xb4cd3e[_0x218dfe(0x1bf)](_0x2026ea,undefined)?_0x2026ea[_0x218dfe(0x196)]():undefined,_0x574958=_0x38e72c?this['findGitConfig'](_0x38e72c):null,_0x41a6a3=_0x38e72c?this[_0x218dfe(0x1b1)][_0x218dfe(0x1fe)](this['getRootParentFile'](_0x27d72b)):_0xb4cd3e['RoLHg'];let _0x1b61c9=_0xb4cd3e[_0x218dfe(0x268)];const _0x5639a2=!_0x491a6b['started']?new Date()[_0x218dfe(0x235)]():null;if(_0x491a6b[_0x218dfe(0x1e2)])_0x1b61c9=_0x2026ea?_0xb4cd3e[_0x218dfe(0x1b3)]:_0xb4cd3e['BLeoq'],_0x27d72b[_0x218dfe(0x1f7)]=!![];else _0x491a6b[_0x218dfe(0x1a7)]&&(_0x1b61c9=_0xb4cd3e[_0x218dfe(0x220)],_0x27d72b[_0x218dfe(0x1f7)]=!![]);const _0x319bdd={'framework':this[_0x218dfe(0x217)],'uuid':_0x27d72b[_0x218dfe(0x1d6)]||_0x27d72b[_0x218dfe(0x1b9)],'name':_0x27d72b[_0x218dfe(0x215)],'body':{'lang':_0xb4cd3e[_0x218dfe(0x1b7)],'code':_0x27d72b[_0x218dfe(0x1fb)]['toString']()},'type':_0x27d72b[_0x218dfe(0x1ad)],'scope':_0x27d72b['fullTitle'](),'scopes':this[_0x218dfe(0x1e6)](_0x27d72b),'file_name':_0x41a6a3,'vc_filepath':_0x574958?path[_0x218dfe(0x1b0)](_0x574958,_0x38e72c):null,'location':_0x41a6a3,'result':_0x1b61c9,'failure_reason':_0x2d5728,'duration_in_ms':_0x27d72b[_0x218dfe(0x1f4)]||(_0x491a6b[_0x218dfe(0x1e2)]||_0x491a6b[_0x218dfe(0x1a7)])?_0xb4cd3e['zGFuj'](Date[_0x218dfe(0x1f8)](),new Date(_0x27d72b[_0x218dfe(0x194)])[_0x218dfe(0x258)]()):null,'started_at':new Date(_0x27d72b[_0x218dfe(0x194)])[_0x218dfe(0x235)](),'finished_at':_0x5639a2,'failure':testOpsHelper[_0x218dfe(0x1a6)][_0x218dfe(0x240)](null,_0x4068c5),'failure_type':!_0x2d5728?null:testOpsHelper[_0x218dfe(0x1db)](_0x2d5728),'retry_of':_0x27d72b[_0x218dfe(0x272)]||null,'tags':_0x27d72b[_0x218dfe(0x1b4)]||[],'customRerunParam':{'rerun_name':_0x27d72b['fullTitle']()}};_0xb4cd3e[_0x218dfe(0x213)](appendTesthubParams,_0x319bdd,_0x297ce3,_0x27d72b,FRAMEWORKS[_0x218dfe(0x1f1)]);if(_0x491a6b[_0x218dfe(0x210)])[_0x319bdd['hook_type'],_0x319bdd[_0x218dfe(0x20b)]]=[this[_0x218dfe(0x24e)](_0x27d72b),_0x27d72b[_0x218dfe(0x1c3)][_0x218dfe(0x247)][_0x218dfe(0x215)]],_0x491a6b[_0x218dfe(0x1e2)]?_0xb4cd3e[_0x218dfe(0x1cb)](_0x319bdd[_0x218dfe(0x21a)],_0xb4cd3e[_0x218dfe(0x1b3)])&&(_0x319bdd['result']=_0xb4cd3e[_0x218dfe(0x21d)]):_0x319bdd['body']={};else _0x491a6b[_0x218dfe(0x247)]&&(this['mapTestHooks'](_0x27d72b),_0x491a6b[_0x218dfe(0x1a7)]&&this[_0x218dfe(0x1d1)](_0x27d72b),(_0x491a6b[_0x218dfe(0x1e2)]||_0x491a6b[_0x218dfe(0x1a7)])&&(_0x319bdd['hooks']=this['getHooksForTest'](_0x27d72b)));this[_0x218dfe(0x27a)]&&(_0x491a6b[_0x218dfe(0x193)]||_0x491a6b[_0x218dfe(0x1a7)])&&(_0x319bdd[_0xb4cd3e[_0x218dfe(0x1d3)]]=this[_0x218dfe(0x1b2)](this[_0x218dfe(0x27a)]));_0x491a6b[_0x218dfe(0x247)]&&_0x491a6b[_0x218dfe(0x1e2)]&&_0x27d72b['bddSteps']&&(_0x319bdd[_0xb4cd3e[_0x218dfe(0x266)]]={'feature':{'name':_0x27d72b[_0x218dfe(0x182)][_0x218dfe(0x1c0)][_0x218dfe(0x20b)],'path':_0x319bdd[_0x218dfe(0x20d)],'description':_0x27d72b[_0x218dfe(0x182)][_0x218dfe(0x270)]},'scenario':{'name':_0x27d72b['title']},'steps':_0x27d72b['bddSteps']});const _0x512600=_0x319bdd[_0xb4cd3e[_0x218dfe(0x1ba)]][0x0];_0x512600&&(_0x319bdd[_0xb4cd3e[_0x218dfe(0x186)]]=_0x512600[_0xb4cd3e[_0x218dfe(0x1f0)]],_0x319bdd[_0xb4cd3e[_0x218dfe(0x262)]]=_0x512600[_0xb4cd3e[_0x218dfe(0x254)]]);if(_0x27d72b['bddSteps'])for(const _0x5d50c0 of _0x27d72b[_0x218dfe(0x249)]){!_0x5d50c0[_0x218dfe(0x229)]&&(_0x5d50c0['finished_at']=new Date()['toISOString'](),_0xb4cd3e['LqINV'](_0x5d50c0[_0x218dfe(0x21a)],_0xb4cd3e['mjsdy'])&&(_0x512600?(_0x5d50c0[_0x218dfe(0x21a)]=_0xb4cd3e[_0x218dfe(0x1b3)],_0x5d50c0['failure']=_0x512600[_0xb4cd3e[_0x218dfe(0x1f0)]][0x0]):_0x5d50c0[_0x218dfe(0x21a)]=_0xb4cd3e[_0x218dfe(0x21d)]));}const _0x3e2fa1={};_0x3e2fa1['event_type']=_0x491a6b['skipped']?TEST_EVENTS[_0x218dfe(0x209)]:_0x297ce3;const _0x268b39=_0x3e2fa1;return _0x491a6b[_0x218dfe(0x210)]?_0x268b39[_0xb4cd3e['fkegC']]=_0x319bdd:_0x268b39[_0xb4cd3e['sTfvP']]=_0x319bdd,_0x268b39;}catch(_0x3d54b1){logger[_0x218dfe(0x1c8)](_0x218dfe(0x241)+_0x297ce3+_0x218dfe(0x242)+_0x3d54b1);}}async[a4_0x1db952(0x183)](_0x553f4e,_0x45c183){const _0x82d855=a4_0x1db952;if(!this[_0x82d855(0x273)]||!_0x45c183||!_0x553f4e)return![];try{return await SessionHandler['uploadEventData'](_0x45c183);}catch(_0x52535a){logger[_0x82d855(0x1c8)](_0x82d855(0x246)+_0x553f4e+_0x82d855(0x242)+_0x52535a);}}[a4_0x1db952(0x18d)](_0x185825){const _0x24e0ea=a4_0x1db952,_0x488d41={};_0x488d41[_0x24e0ea(0x1a2)]=_0x24e0ea(0x24a);const _0x3bd708=_0x488d41;return{'id':_0x185825[_0x24e0ea(0x1fc)],'text':_0x185825[_0x24e0ea(0x234)],'keyword':_0x185825[_0x24e0ea(0x1a4)],'started_at':_0x185825[_0x24e0ea(0x194)]['toISOString'](),'result':_0x3bd708[_0x24e0ea(0x1a2)]};}[a4_0x1db952(0x231)](_0x1077b0){const _0x4ea82b=a4_0x1db952,_0x490edd={'BXjON':function(_0x10ebfc){return _0x10ebfc();}};!this[_0x4ea82b(0x195)][_0x4ea82b(0x249)]&&(this[_0x4ea82b(0x195)]['bddSteps']=[]),!_0x1077b0[_0x4ea82b(0x1fc)]&&(_0x1077b0['stepAnalyticsId']=_0x490edd['BXjON'](uuidv4),_0x1077b0[_0x4ea82b(0x194)]=new Date(),this[_0x4ea82b(0x195)][_0x4ea82b(0x249)][_0x4ea82b(0x211)](this['initializeBddStep'](_0x1077b0)));}[a4_0x1db952(0x1bb)](_0x125af2){const _0x350a2c=a4_0x1db952,_0x299064={'jeUCn':function(_0x42613c,_0x2039f9){return _0x42613c(_0x2039f9);},'bdADt':_0x350a2c(0x19c),'HvNuo':_0x350a2c(0x24a),'FQciW':_0x350a2c(0x1c5),'WuoKI':function(_0x2ca1e3,_0x3b9ee3){return _0x2ca1e3-_0x3b9ee3;}};let _0x368602=this['currentTest'][_0x350a2c(0x249)][_0x350a2c(0x1ce)](_0x40060a=>_0x40060a['id']===_0x125af2[_0x350a2c(0x1fc)]);_0x299064[_0x350a2c(0x20e)](isUndefined,_0x368602)&&(_0x368602=this[_0x350a2c(0x18d)](_0x125af2)),_0x368602[_0x350a2c(0x21a)]=[_0x299064[_0x350a2c(0x1d5)],_0x299064['HvNuo']][_0x350a2c(0x1e7)](_0x125af2[_0x350a2c(0x1ae)])?_0x299064[_0x350a2c(0x22f)]:_0x125af2[_0x350a2c(0x1ae)],_0x368602[_0x350a2c(0x229)]=new Date()[_0x350a2c(0x235)](),_0x368602[_0x350a2c(0x1f4)]=_0x299064['WuoKI'](Date[_0x350a2c(0x1f8)](),_0x125af2[_0x350a2c(0x194)][_0x350a2c(0x258)]()),_0x368602[_0x350a2c(0x1fa)]=_0x125af2[_0x350a2c(0x21f)]?_0x125af2[_0x350a2c(0x21f)]['message']:null;}}const a4_0x1b89d2={};a4_0x1b89d2[a4_0x1db952(0x23f)]=O11yHelper,a4_0x1b89d2['STATE_PASSED']=STATE_PASSED,a4_0x1b89d2[a4_0x1db952(0x256)]=STATE_FAILED,a4_0x1b89d2[a4_0x1db952(0x228)]=TEST_EVENTS,module[a4_0x1db952(0x26b)]=a4_0x1b89d2;function a4_0x323a(_0x15a3aa,_0x1abeda){const _0x2e47b8=a4_0x2e47();return a4_0x323a=function(_0x323a32,_0x242017){_0x323a32=_0x323a32-0x181;let _0x4464d3=_0x2e47b8[_0x323a32];return _0x4464d3;},a4_0x323a(_0x15a3aa,_0x1abeda);}function a4_0x2e47(){const _0x1a576a=['toUpperCase','frameworkName','string','_beforeAll','result','TEST_REPORTING_ANALYTICS','fscEU','BLeoq','prototype','err','cOIYt','CetJZ','UUroJ','37712MyrXfI','SuxUR','1082836jOmBCD','../../helpers/test-observability/sessionHandler','forEach','TEST_EVENTS','finished_at','qWVsq','pgQtw','test_run','TestRunSkipped','connectOverCDP','FQciW','../mocha/test-observability/mochaUtils','bddStepStart','dkHXt','mapTestHooks','text','toISOString','Not\x20able\x20to\x20import\x20Browser','wsEndpoint','ZyBPC','awnAK','event_type','../utils/constants','client','ySJjn','join','O11yHelper','apply','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','\x20with\x20error\x20:\x20','mrRij','uBqPH','TmpIL','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','test','vJdaM','bddSteps','pending','length','YTbhN','1269LVjaAk','getHookType','backtrace','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','RaJwR','uBCwU','715568bahERi','uHwTQ','failed','STATE_FAILED','config','getTime','fHRCj','appendTestItemLog','file','Playwright','UHwOI','hazMQ','concat','wbbUo','pFVlW','ymRwz','inspect','statSync','suites','SjRTG','sendCBTInfo','mjsdy','OSeuL','EcFAQ','exports','../../helpers/test-observability/constants','.git','getRootParentFile','5654wCnxAa','comment','LogCreated','retryOf','enabled','sep','then','Vpgdn','qKvZZ','replace','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','driver','setupBrowserDetails','location_prefix','parent','fireEvent','_afterEach','../../helpers/helper','SnBdm','akOWF','defineProperty','FVTRq','wCbza','uploadEventData','../playwright/accessibility-helper','initializeBddStep','test_run_uuid','pid','BBmlP','591162quirCD','PLAYWRIGHT_HUB_URL','started','startedAt','currentTest','toString','integrations','connect','tPJzg','uuid','8882276ELwcpa','success','patchConsoleLogger','_beforeEach','213455xShKNH','PathHelper','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','CTojZ','BROWSERSTACK','keyword','getInstance','failureData','skipped','cwd','YoIJc','_afterAll','accessibilityPlatform','dirname','type','status','pzxlQ','relative','_paths','getCBTInfo','UZaba','tags','failed\x20to\x20get\x20root\x20parent\x20file\x20','rmASy','IinxD','HookRunStarted','hookAnalyticsId','DKggv','bddStepFinish','DaNgY','toLowerCase','ADIaF','saHvV','feature','pVSVO','GiaZQ','ctx','util','passed','hook_run','hook_run_uuid','debug','../../helpers/test-observability/utils','KAmGf','neOlM','split','start','find','obsBrowserTypeMockApplied','failure_backtrace','resetSkipTestHooks','../playwright/sessionDetails','KzyyI','TEST_RUN_SKIPPED','bdADt','testAnalyticsId','__cloud_provider___','BMOjo','hEQBx','20tKKRRq','getFailureType','TestRunFinished','BrowserType','groups','browserstack','getHooksForTest','24cplhLv','finished','ucwlJ','errorsDetailed','../../helpers/logger','getHierarchy','includes','File\x20path\x20could\x20not\x20be\x20found','iudSp','24Jbwbte','pPyVc','launch','expanded','PwqCX','currentHook','mGerk','CODECEPT','130vaNkhT','CYWJu','duration','TestRunStarted','kTCHN','markedStatus','now','iGHZn','failure','body','stepAnalyticsId','NipVr','prefixTestPath','browserType.js','113GKidJQ','_testEnv','findGitConfig','path','UCniH','stop','SXVVN','match','otqaX','TEST_RUN_FINISHED','TEST_RUN_STARTED','name','mwcPk','file_name','jeUCn','bs:addLog:','hook','push','winstonLogger','wwRVc','eeMrE','title'];a4_0x2e47=function(){return _0x1a576a;};return a4_0x2e47();}
|
|
1
|
+
const a4_0x143d67=a4_0x9ddf;(function(_0xfd3c9a,_0x380211){const _0xa35acd=a4_0x9ddf,_0x4c5c0e=_0xfd3c9a();while(!![]){try{const _0xc5847d=parseInt(_0xa35acd(0xe6))/0x1+parseInt(_0xa35acd(0x159))/0x2*(parseInt(_0xa35acd(0xc9))/0x3)+parseInt(_0xa35acd(0x115))/0x4+-parseInt(_0xa35acd(0x11a))/0x5+parseInt(_0xa35acd(0x166))/0x6*(-parseInt(_0xa35acd(0x18f))/0x7)+-parseInt(_0xa35acd(0x104))/0x8*(-parseInt(_0xa35acd(0x18a))/0x9)+-parseInt(_0xa35acd(0x170))/0xa;if(_0xc5847d===_0x380211)break;else _0x4c5c0e['push'](_0x4c5c0e['shift']());}catch(_0x473c8e){_0x4c5c0e['push'](_0x4c5c0e['shift']());}}}(a4_0x1ebf,0x4b29c));const path=require(a4_0x143d67(0x126)),fs=require('fs'),{v4:uuidv4}=require(a4_0x143d67(0xb2)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x143d67(0x158)),{getTestEnv}=require(a4_0x143d67(0x102)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x143d67(0x148))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x143d67(0xca)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x143d67(0xf5)],{processAccessibilityCaps}=require(a4_0x143d67(0xf4)),Constants=require(a4_0x143d67(0xc0)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x143d67(0x127)),constants=require('../utils/constants'),STATE_PASSED=a4_0x143d67(0xd4),STATE_FAILED='failed',a4_0x52d2b8={};a4_0x52d2b8[a4_0x143d67(0x10d)]=a4_0x143d67(0x155),a4_0x52d2b8[a4_0x143d67(0x11f)]=a4_0x143d67(0x178),a4_0x52d2b8[a4_0x143d67(0x150)]=a4_0x143d67(0xd8),a4_0x52d2b8[a4_0x143d67(0xfa)]=a4_0x143d67(0xf3),a4_0x52d2b8[a4_0x143d67(0xbd)]=a4_0x143d67(0x196);const TEST_EVENTS=a4_0x52d2b8,parseEvent=_0x19caab=>{const _0x127205=a4_0x143d67,_0x5403d9={};_0x5403d9[_0x127205(0x189)]=function(_0x3fedb6,_0x5ca3dc){return _0x3fedb6<_0x5ca3dc;},_0x5403d9[_0x127205(0x14b)]=function(_0x162526,_0x1e853d){return _0x162526===_0x1e853d;},_0x5403d9[_0x127205(0x17b)]='test',_0x5403d9[_0x127205(0xb7)]=function(_0xfd4cb5,_0x48cd79){return _0xfd4cb5===_0x48cd79;},_0x5403d9[_0x127205(0xfe)]=_0x127205(0x103),_0x5403d9[_0x127205(0x19b)]='skipped',_0x5403d9[_0x127205(0x11e)]=_0x127205(0x14d),_0x5403d9[_0x127205(0x14a)]=function(_0x18fff0,_0x2912c5){return _0x18fff0===_0x2912c5;},_0x5403d9[_0x127205(0x18c)]=_0x127205(0xcb);const _0x6f8458=_0x5403d9,_0x69a338=_0x19caab[_0x127205(0x13c)](/^(.*)Run(.*)$/);if(!_0x69a338)return null;if(_0x6f8458[_0x127205(0x189)](_0x69a338['length'],0x3))return null;const _0x30c0dd=_0x69a338[0x1][_0x127205(0x153)](),_0x1a2148=_0x69a338[0x2][_0x127205(0x153)]();return{'test':_0x6f8458['NOgGv'](_0x30c0dd,_0x6f8458[_0x127205(0x17b)]),'hook':_0x6f8458[_0x127205(0xb7)](_0x30c0dd,_0x6f8458[_0x127205(0xfe)]),'skipped':_0x6f8458[_0x127205(0x14b)](_0x1a2148,_0x6f8458[_0x127205(0x19b)]),'started':_0x6f8458[_0x127205(0xb7)](_0x1a2148,_0x6f8458[_0x127205(0x11e)]),'finished':_0x6f8458[_0x127205(0x14a)](_0x1a2148,_0x6f8458['oENqq'])};},mockPWBrowserType=_0x26d2d0=>{const _0x1a3474=a4_0x143d67,_0x9ca9a5={'CKuVH':function(_0x5e60f6,_0x3b957c){return _0x5e60f6===_0x3b957c;},'WIcFj':_0x1a3474(0x128),'DUEJg':function(_0x1776ca,_0x43d6c3,_0xf9bfe5){return _0x1776ca(_0x43d6c3,_0xf9bfe5);},'PHEAl':_0x1a3474(0xc1),'rMtza':function(_0x3ce840,_0x164318){return _0x3ce840(_0x164318);},'xfWbt':_0x1a3474(0x17c),'eziTE':function(_0x190363,_0x41857f){return _0x190363(_0x41857f);},'QTZPu':_0x1a3474(0xac),'iroEP':_0x1a3474(0x122),'pAjQD':_0x1a3474(0xed),'WJLpT':function(_0x14f8d9,_0x5cb04a){return _0x14f8d9(_0x5cb04a);},'UMmzb':'Not\x20able\x20to\x20import\x20Browser','UxiRN':'connect','FJDLD':_0x1a3474(0x18b)},_0x78d12e=path[_0x1a3474(0x18d)](_0x9ca9a5[_0x1a3474(0x10e)],_0x9ca9a5['iroEP'],_0x9ca9a5['pAjQD']),_0x28fc90=_0x9ca9a5[_0x1a3474(0x182)](importFileFromPWCore,_0x78d12e);if(!_0x28fc90){_0x9ca9a5[_0x1a3474(0xf9)](debug,_0x9ca9a5[_0x1a3474(0x136)]);return;}const _0x25ecef=_0x28fc90[_0x1a3474(0xc2)],_0x171ecd=_0x25ecef['prototype'];if(_0x171ecd[_0x1a3474(0x138)])return;const _0x283f0c=_0x171ecd[_0x1a3474(0xab)];Object[_0x1a3474(0x188)](_0x171ecd,_0x9ca9a5[_0x1a3474(0xaf)],{'get':function(){return async function _0x533629(_0x12c3c3,_0x403486){const _0x20f444=a4_0x9ddf,_0x287484={'orOht':function(_0x1262be,_0x535eb0){const _0x31db29=a4_0x9ddf;return _0x9ca9a5[_0x31db29(0x105)](_0x1262be,_0x535eb0);},'ehYQh':_0x9ca9a5[_0x20f444(0x10b)]},_0x52fb95=_0x9ca9a5['DUEJg'](nestedKeyValue,_0x12c3c3,[_0x9ca9a5[_0x20f444(0x15a)]])||_0x12c3c3;let _0x48a87b=null,_0x10979f=null;try{[_0x10979f,_0x48a87b]=_0x52fb95?_0x9ca9a5['rMtza'](parseWSEndpoint,_0x52fb95):[null,null],global[_0x20f444(0x19f)]=_0x48a87b,logger['debug'](_0x20f444(0x191)+_0x10979f),_0x10979f[_0x20f444(0x13a)](Constants[_0x20f444(0x110)])&&(global['__cloud_provider___']=_0x9ca9a5[_0x20f444(0x132)]);}catch(_0x3efa8d){logger[_0x20f444(0xf5)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x52fb95+'\x20'+_0x3efa8d);}_0x9ca9a5['DUEJg'](processAccessibilityCaps,_0x48a87b,_0x10979f);if(global[_0x20f444(0x173)]){const _0x48fd35=await _0x171ecd['connectOverCDP'][_0x20f444(0x17d)](this,[''+Constants[_0x20f444(0xeb)]+_0x9ca9a5[_0x20f444(0xdf)](encodeURIComponent,JSON[_0x20f444(0x193)](_0x48a87b))]);return PlaywrightSessionDetails[_0x20f444(0xe4)](_0x48fd35,_0x26d2d0,_0x52fb95),_0x48fd35;}return _0x283f0c[_0x20f444(0x17d)](this,arguments)['then'](_0x2f99e7=>{const _0x55dd03=_0x20f444;let _0x2d769d=_0x12c3c3[_0x55dd03(0xc1)];return _0x287484['orOht'](typeof _0x12c3c3,_0x287484[_0x55dd03(0xb9)])&&(_0x2d769d=_0x12c3c3),PlaywrightSessionDetails[_0x55dd03(0xe4)](_0x2f99e7,_0x26d2d0,_0x2d769d),_0x2f99e7;});};}});const _0x167adc=_0x171ecd[_0x1a3474(0x18b)];Object[_0x1a3474(0x188)](_0x171ecd,_0x9ca9a5[_0x1a3474(0xf8)],{'get':function(){return async function _0x480397(){const _0x5e41bf=a4_0x9ddf;return _0x167adc['apply'](this,arguments)[_0x5e41bf(0x16e)](_0x42ca19=>{const _0x4f1f00=_0x5e41bf;return PlaywrightSessionDetails[_0x4f1f00(0xe4)](_0x42ca19,null),_0x42ca19;});};}});};class O11yHelper{[a4_0x143d67(0x143)]=null;[a4_0x143d67(0x1a3)]=null;['enabled']=![];[a4_0x143d67(0xb8)]=![];constructor(_0x1a8b29,_0x4d398a){const _0x2b870f=a4_0x143d67,_0x3317f2={'AMZIt':_0x2b870f(0x124),'Dchnl':function(_0xb9e9f6,_0x4242bf){return _0xb9e9f6===_0x4242bf;},'xqiLs':'Playwright','QusXv':function(_0x1f4804,_0x5d4609){return _0x1f4804(_0x5d4609);},'qUYhV':function(_0x11db2d){return _0x11db2d();}},_0x2ee739=_0x3317f2['AMZIt'][_0x2b870f(0xd5)]('|');let _0x57cee7=0x0;while(!![]){switch(_0x2ee739[_0x57cee7++]){case'0':this[_0x2b870f(0xae)]=_0x1a8b29;continue;case'1':this[_0x2b870f(0xae)]&&_0x3317f2[_0x2b870f(0x116)](this[_0x2b870f(0xae)]['constructor']['name'],_0x3317f2[_0x2b870f(0xd0)])&&_0x3317f2['QusXv'](mockPWBrowserType,null);continue;case'2':this[_0x2b870f(0xd6)]=_0x3317f2[_0x2b870f(0x169)](shouldProcessEventForTesthub);continue;case'3':this[_0x2b870f(0xb8)]=_0x4d398a['frameworkName'];continue;case'4':this[_0x2b870f(0x117)]=_0x3317f2[_0x2b870f(0x169)](getTestEnv);continue;case'5':this[_0x2b870f(0xee)]=new testOpsHelper['PathHelper']({'cwd':process[_0x2b870f(0x12e)]()},this['_testEnv'][_0x2b870f(0x181)]);continue;}break;}}[a4_0x143d67(0x10f)](){const _0x3d08e7=a4_0x143d67;if(!this[_0x3d08e7(0xd6)])return;testOpsHelper[_0x3d08e7(0x163)](),process[_0x3d08e7(0x133)](_0x3d08e7(0x179)+process[_0x3d08e7(0xe8)]),process['on'](_0x3d08e7(0x179)+process[_0x3d08e7(0xe8)],this[_0x3d08e7(0x111)]['bind'](this));}async['stop'](){const _0x2da1db=a4_0x143d67;await RequestQueueHandler[_0x2da1db(0x194)]()['shutdown']();}async[a4_0x143d67(0x111)](_0x361658){const _0x1fb93c=a4_0x143d67,_0x371cbe={'TDXjN':_0x1fb93c(0xb5),'bvQsP':function(_0x2ca28d,_0x4e112e){return _0x2ca28d(_0x4e112e);}};try{this['currentHook']&&!this[_0x1fb93c(0x1a3)][_0x1fb93c(0x19d)]&&(_0x361658[_0x1fb93c(0x107)]=this['currentHook'][_0x1fb93c(0x106)]);!_0x361658[_0x1fb93c(0x107)]&&this[_0x1fb93c(0x143)]&&!this[_0x1fb93c(0x143)][_0x1fb93c(0x19d)]&&(_0x361658['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x361658[_0x1fb93c(0x107)]||_0x361658[_0x1fb93c(0x156)]){const _0x4e6427={};_0x4e6427[_0x1fb93c(0x15b)]=_0x371cbe[_0x1fb93c(0x146)],_0x4e6427['logs']=[_0x361658],await SessionHandler[_0x1fb93c(0x154)](_0x4e6427);}}catch(_0x586dc5){_0x371cbe[_0x1fb93c(0xc6)](debug,_0x1fb93c(0x197)+constants[_0x1fb93c(0xd2)]+'\x20with\x20error\x20:\x20'+_0x586dc5);}}async[a4_0x143d67(0xe5)](_0x11999a){const _0x3e7735=a4_0x143d67,_0x1656ce={'dcsxf':_0x3e7735(0xc3),'zQnpC':function(_0x1bfb55,_0x2e61f5){return _0x1bfb55(_0x2e61f5);}};if(!this[_0x3e7735(0xd6)])return;const _0x264010=this[_0x3e7735(0xf7)](this[_0x3e7735(0xae)]);try{const _0x2e42d6={};_0x2e42d6['uuid']=_0x11999a,_0x2e42d6[_0x3e7735(0x17e)]=_0x264010;const _0x4092c1=_0x2e42d6,_0xb8b489={};_0xb8b489['event_type']=_0x1656ce[_0x3e7735(0xdb)],_0xb8b489[_0x3e7735(0x119)]=_0x4092c1,await SessionHandler['uploadEventData'](_0xb8b489);}catch(_0x76f9b6){_0x1656ce[_0x3e7735(0x165)](debug,_0x3e7735(0x114)+constants['TEST_REPORTING_ANALYTICS']+_0x3e7735(0xb4)+_0x76f9b6);}}['getCBTInfo'](_0x581a72){const _0x510e64=a4_0x143d67,_0x2fc992={'BOzaT':function(_0x2e63a5,_0xda387c){return _0x2e63a5(_0xda387c);}};return _0x2fc992[_0x510e64(0x180)](fetchPlatformDetails,_0x581a72);}[a4_0x143d67(0xd7)]=_0x4dd0f8=>{const _0x2902d8=a4_0x143d67,_0x1fba3d={};_0x1fba3d[_0x2902d8(0x11c)]=_0x2902d8(0x198),_0x1fba3d[_0x2902d8(0x12b)]=_0x2902d8(0x139);const _0x455718=_0x1fba3d;if(!_0x4dd0f8||!_0x4dd0f8['parent'])return;[_0x455718['nWCDC'],_0x455718['pJYmR']][_0x2902d8(0x175)](_0x5b0c71=>{const _0x2f5403=_0x4dd0f8['parent'][_0x5b0c71];_0x2f5403['forEach'](_0x29f001=>{const _0xb2e4ef=a4_0x9ddf;_0x29f001['hookAnalyticsId']&&(_0x29f001[_0xb2e4ef(0x106)]=null);});});};[a4_0x143d67(0x12c)](_0xcaff30){const _0x17becc=a4_0x143d67,_0x1d41aa={'ztPlK':_0x17becc(0x15c),'uAknS':function(_0x46d804){return _0x46d804();},'qrVKg':function(_0x591f62,_0x26fe27){return _0x591f62===_0x26fe27;},'oxQUU':_0x17becc(0x139),'ZtRtC':_0x17becc(0x1a0),'EoHnz':_0x17becc(0xf2),'CaAQw':'_beforeEach'};if(!_0xcaff30||!_0xcaff30['parent'])return;[_0x1d41aa['ZtRtC'],_0x1d41aa['EoHnz'],_0x1d41aa[_0x17becc(0xba)],_0x1d41aa[_0x17becc(0xbb)]][_0x17becc(0x175)](_0x459260=>{const _0x488143=_0x17becc,_0x53d003={'zwLLg':_0x1d41aa['ztPlK'],'bYJaq':function(_0x50b398){const _0x2b3d52=a4_0x9ddf;return _0x1d41aa[_0x2b3d52(0x121)](_0x50b398);},'ZkapA':function(_0x4e6ce4,_0x58ba90){const _0x26e364=a4_0x9ddf;return _0x1d41aa[_0x26e364(0x118)](_0x4e6ce4,_0x58ba90);},'rxIfd':_0x1d41aa[_0x488143(0xbb)]},_0x49b3db=_0xcaff30[_0x488143(0xb6)][_0x459260]||[];_0x49b3db[_0x488143(0x175)](_0x4c7fb2=>{const _0x15c144=_0x488143;if(_0x4c7fb2[_0x15c144(0x16d)][_0x15c144(0x13a)](_0x53d003['zwLLg']))return;if(!_0x4c7fb2['hookAnalyticsId'])_0x4c7fb2[_0x15c144(0x106)]=_0x53d003[_0x15c144(0x162)](uuidv4);else _0x4c7fb2['markedStatus']&&_0x53d003['ZkapA'](_0x459260,_0x53d003[_0x15c144(0x18e)])&&(_0x4c7fb2[_0x15c144(0x106)]=_0x53d003[_0x15c144(0x162)](uuidv4),delete _0x4c7fb2['markedStatus']);});}),this[_0x17becc(0x12c)](_0xcaff30[_0x17becc(0xb6)]);}[a4_0x143d67(0x141)](_0x2d846b){const _0x5dc7d2=a4_0x143d67,_0x272c5a={};_0x272c5a[_0x5dc7d2(0xf0)]=_0x5dc7d2(0x1a0),_0x272c5a[_0x5dc7d2(0x168)]=_0x5dc7d2(0xf2),_0x272c5a[_0x5dc7d2(0xc5)]='_beforeEach',_0x272c5a['gXHJW']=_0x5dc7d2(0x139);const _0x157ba9=_0x272c5a;if(!_0x2d846b||!_0x2d846b[_0x5dc7d2(0xb6)])return[];const _0x108ea5=[];return[_0x157ba9[_0x5dc7d2(0xf0)],_0x157ba9['gabdi'],_0x157ba9[_0x5dc7d2(0xc5)],_0x157ba9[_0x5dc7d2(0x11d)]][_0x5dc7d2(0x175)](_0x66d0ca=>{const _0x42ef13=_0x5dc7d2,_0x44eb92=_0x2d846b[_0x42ef13(0xb6)][_0x66d0ca]||[];_0x44eb92[_0x42ef13(0x175)](_0x566401=>{const _0x18d6d7=_0x42ef13;_0x566401[_0x18d6d7(0x106)]&&_0x108ea5[_0x18d6d7(0x101)](_0x566401['hookAnalyticsId']);});}),[][_0x5dc7d2(0x157)](_0x108ea5,this['getHooksForTest'](_0x2d846b[_0x5dc7d2(0xb6)]));}[a4_0x143d67(0x177)](_0x1c3f0a){const _0x402733=a4_0x143d67,_0x24835b=/^"(?<hook>.*)" hook:.*$/,_0x4dc157=_0x1c3f0a[_0x402733(0x16d)],_0x122693=_0x4dc157['match'](_0x24835b);if(_0x122693&&_0x122693[_0x402733(0xec)])return _0x122693[_0x402733(0xec)][_0x402733(0x103)][_0x402733(0x149)]()['replace']('\x20','_');return null;}[a4_0x143d67(0x137)](_0x293a4b){const _0x34b0b0=a4_0x143d67,_0x445653={};_0x445653[_0x34b0b0(0x19a)]=function(_0xe4b6cd,_0x5ce55d){return _0xe4b6cd===_0x5ce55d;},_0x445653[_0x34b0b0(0xe7)]=function(_0x1f5419,_0x1fd70a){return _0x1f5419===_0x1fd70a;},_0x445653['sejOn']=_0x34b0b0(0x147),_0x445653[_0x34b0b0(0xe9)]=_0x34b0b0(0xe0);const _0x124f3c=_0x445653,_0x1dfed4=path[_0x34b0b0(0xbe)];if(_0x124f3c[_0x34b0b0(0x19a)](_0x293a4b,null)||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,'')||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,_0x1dfed4)||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,path[_0x34b0b0(0x134)](_0x293a4b)))return null;try{return fs[_0x34b0b0(0xd1)](path[_0x34b0b0(0x18d)](_0x293a4b,_0x124f3c[_0x34b0b0(0x108)],_0x124f3c[_0x34b0b0(0xe9)])),_0x293a4b;}catch(_0x5adce1){const _0x1c97f4=path[_0x34b0b0(0x134)](_0x293a4b);return this['findGitConfig'](_0x1c97f4);}}[a4_0x143d67(0x125)](_0x2717dd){const _0x120c12=a4_0x143d67,_0x1a1e83={};_0x1a1e83[_0x120c12(0x14f)]=function(_0x270e2a,_0x5c7037){return _0x270e2a>_0x5c7037;};const _0x506397=_0x1a1e83;if(_0x2717dd[_0x120c12(0x167)])return _0x2717dd[_0x120c12(0x167)];if(_0x2717dd[_0x120c12(0x19c)]){const _0x51592a=_0x2717dd[_0x120c12(0x19c)][_0x120c12(0x143)]?this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0x19c)][_0x120c12(0x143)]):null;if(_0x51592a)return _0x51592a;}if(_0x2717dd[_0x120c12(0xb6)]){const _0x455c82=this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0xb6)])||(_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x19c)]&&_0x2717dd['parent'][_0x120c12(0x19c)][_0x120c12(0x143)]?this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x19c)][_0x120c12(0x143)]):null);if(_0x455c82)return _0x455c82;_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x140)]&&_0x506397[_0x120c12(0x14f)](_0x2717dd[_0x120c12(0xb6)]['suites'][_0x120c12(0x17f)],0x0)&&_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x140)][_0x120c12(0x175)](_0x257cff=>{const _0x3a8604=_0x120c12,_0x569fa2=_0x257cff[_0x3a8604(0x19c)]?this[_0x3a8604(0x125)](_0x257cff[_0x3a8604(0x19c)]):null;if(_0x569fa2)return _0x569fa2;});}return null;}[a4_0x143d67(0x186)](_0x54ff91){const _0x5448b4=a4_0x143d67,_0xd59963={};_0xd59963[_0x5448b4(0x172)]=function(_0x3a9d88,_0x30fce1){return _0x3a9d88!==_0x30fce1;};const _0x417a53=_0xd59963,_0xd2d187=[];if(_0x54ff91&&_0x54ff91[_0x5448b4(0xb6)]){let _0x2db193=_0x54ff91[_0x5448b4(0xb6)];while(_0x2db193&&_0x417a53[_0x5448b4(0x172)](_0x2db193[_0x5448b4(0x16d)],'')){_0xd2d187[_0x5448b4(0x101)](_0x2db193[_0x5448b4(0x16d)]),_0x2db193=_0x2db193[_0x5448b4(0xb6)];}}return _0xd2d187;}[a4_0x143d67(0x19e)](_0x25aaa3,_0x18114a,_0x43ca8d=undefined){const _0x5c633e=a4_0x143d67,_0x384685={'CKHEP':function(_0x3e159b,_0x2f868){return _0x3e159b(_0x2f868);},'NQsod':function(_0xf00e69){return _0xf00e69();},'lFShz':_0x5c633e(0x15d),'ScnTJ':_0x5c633e(0x183),'AXnco':function(_0x1e55e7,_0x2b9afa){return _0x1e55e7!==_0x2b9afa;},'PgDGj':_0x5c633e(0x13e),'rMtyA':'pending','sVpDq':_0x5c633e(0xd3),'QTAmI':_0x5c633e(0xd4),'sStQw':_0x5c633e(0x12a),'Hobnl':_0x5c633e(0x130),'PsRPW':function(_0x25b0c2,_0x4f7221){return _0x25b0c2-_0x4f7221;},'TtbYN':function(_0x55f971,_0x44a17b,_0xd92cb4,_0x32b7d7,_0x29fd30){return _0x55f971(_0x44a17b,_0xd92cb4,_0x32b7d7,_0x29fd30);},'YmmLH':function(_0x10d381,_0x833bdd){return _0x10d381!==_0x833bdd;},'rsZOB':'integrations','Izxxc':_0x5c633e(0x129),'UMNrK':_0x5c633e(0x135),'JZSks':_0x5c633e(0x1a1),'cHTRd':_0x5c633e(0xfd),'rvaCT':_0x5c633e(0x152),'nDeaM':_0x5c633e(0x123),'XbOfK':function(_0x44aade,_0x2058f3){return _0x44aade===_0x2058f3;},'tsKMo':_0x5c633e(0x12d),'FiQjw':_0x5c633e(0x119)};if(!this[_0x5c633e(0xd6)])return;try{if(_0x18114a['fn']&&_0x18114a['fn'][_0x5c633e(0x195)]()[_0x5c633e(0x13c)](/browserstack internal helper hook/))return;const _0x44ecce=_0x384685[_0x5c633e(0x142)](parseEvent,_0x25aaa3);if(!_0x44ecce)return;if(_0x44ecce[_0x5c633e(0x16b)]){this[_0x5c633e(0x143)]=_0x18114a,this[_0x5c633e(0x1a3)]=null;if(_0x44ecce['started']||_0x44ecce[_0x5c633e(0x12a)]){_0x18114a[_0x5c633e(0xc7)]=new Date(),_0x18114a[_0x5c633e(0x19d)]=![];if(!_0x18114a[_0x5c633e(0x16a)])_0x18114a[_0x5c633e(0x16a)]=_0x384685['NQsod'](uuidv4);else _0x18114a[_0x5c633e(0x19d)]&&(!_0x18114a['retryOf']&&(_0x18114a['retryOf']=_0x18114a[_0x5c633e(0x16a)]),_0x18114a[_0x5c633e(0x16a)]=_0x384685[_0x5c633e(0x16f)](uuidv4));}}else{if(_0x44ecce[_0x5c633e(0x103)]){this[_0x5c633e(0x1a3)]=_0x18114a;if(_0x44ecce[_0x5c633e(0x14d)]){_0x18114a['startedAt']=new Date(),_0x18114a[_0x5c633e(0x19d)]=![];if(!_0x18114a[_0x5c633e(0x106)])_0x18114a[_0x5c633e(0x106)]=_0x384685[_0x5c633e(0x16f)](uuidv4);else _0x18114a[_0x5c633e(0x106)]&&_0x18114a[_0x5c633e(0x19d)]&&(_0x18114a['hookAnalyticsId']=_0x384685['NQsod'](uuidv4));}}}if(_0x44ecce[_0x5c633e(0xcb)]&&_0x18114a[_0x5c633e(0x19d)])return;let _0x2b6579;try{_0x2b6579=this[_0x5c633e(0x125)](_0x18114a);}catch(_0xc2a4be){logger[_0x5c633e(0xf5)](_0x5c633e(0x184)+_0xc2a4be),_0x2b6579=null;}const _0x28cc96=_0x384685[_0x5c633e(0x142)](require,_0x384685['lFShz']);let _0x3c42b4=[];_0x43ca8d&&(_0x3c42b4=[_0x43ca8d,_0x384685[_0x5c633e(0x187)]]);const _0x3e0b48=_0x384685[_0x5c633e(0x10c)](_0x18114a[_0x5c633e(0xce)],undefined)?_0x28cc96[_0x5c633e(0xbf)](_0x18114a[_0x5c633e(0xce)][0x0]):_0x384685[_0x5c633e(0x10c)](_0x43ca8d,undefined)?_0x43ca8d[_0x5c633e(0x195)]():undefined,_0xfe6f52=_0x2b6579?this[_0x5c633e(0x137)](_0x2b6579):null,_0x1911d3=_0x2b6579?this[_0x5c633e(0xee)][_0x5c633e(0xe1)](this[_0x5c633e(0x125)](_0x18114a)):_0x384685['PgDGj'];let _0x8bde6e=_0x384685[_0x5c633e(0xde)];const _0x282ec9=!_0x44ecce[_0x5c633e(0x14d)]?new Date()[_0x5c633e(0xc8)]():null;if(_0x44ecce['finished'])_0x8bde6e=_0x43ca8d?_0x384685['sVpDq']:_0x384685[_0x5c633e(0x151)],_0x18114a[_0x5c633e(0x19d)]=!![];else _0x44ecce[_0x5c633e(0x12a)]&&(_0x8bde6e=_0x384685[_0x5c633e(0xc4)],_0x18114a[_0x5c633e(0x19d)]=!![]);const _0x4d251a={'framework':this[_0x5c633e(0xb8)],'uuid':_0x18114a['testAnalyticsId']||_0x18114a['hookAnalyticsId'],'name':_0x18114a[_0x5c633e(0x16d)],'body':{'lang':_0x384685[_0x5c633e(0xfb)],'code':_0x18114a[_0x5c633e(0x16c)]['toString']()},'type':_0x18114a[_0x5c633e(0x164)],'scope':_0x18114a[_0x5c633e(0x1a2)](),'scopes':this[_0x5c633e(0x186)](_0x18114a),'file_name':_0x1911d3,'vc_filepath':_0xfe6f52?path[_0x5c633e(0xcc)](_0xfe6f52,_0x2b6579):null,'location':_0x1911d3,'result':_0x8bde6e,'failure_reason':_0x3e0b48,'duration_in_ms':_0x18114a[_0x5c633e(0x185)]||(_0x44ecce[_0x5c633e(0xcb)]||_0x44ecce[_0x5c633e(0x12a)])?_0x384685[_0x5c633e(0x131)](Date[_0x5c633e(0x113)](),new Date(_0x18114a['startedAt'])[_0x5c633e(0x13f)]()):null,'started_at':new Date(_0x18114a[_0x5c633e(0xc7)])[_0x5c633e(0xc8)](),'finished_at':_0x282ec9,'failure':testOpsHelper[_0x5c633e(0xdd)][_0x5c633e(0x17d)](null,_0x3c42b4),'failure_type':!_0x3e0b48?null:testOpsHelper[_0x5c633e(0x100)](_0x3e0b48),'retry_of':_0x18114a[_0x5c633e(0xbc)]||null,'tags':_0x18114a[_0x5c633e(0x190)]||[],'customRerunParam':{'rerun_name':_0x18114a['fullTitle']()}};_0x384685[_0x5c633e(0xcf)](appendTesthubParams,_0x4d251a,_0x25aaa3,_0x18114a,FRAMEWORKS[_0x5c633e(0x120)]);if(_0x44ecce[_0x5c633e(0x103)])[_0x4d251a['hook_type'],_0x4d251a['name']]=[this[_0x5c633e(0x177)](_0x18114a),_0x18114a[_0x5c633e(0x19c)][_0x5c633e(0x16b)][_0x5c633e(0x16d)]],_0x44ecce[_0x5c633e(0xcb)]?_0x384685[_0x5c633e(0xff)](_0x4d251a[_0x5c633e(0xcd)],_0x384685[_0x5c633e(0xd9)])&&(_0x4d251a[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0x151)]):_0x4d251a['body']={};else _0x44ecce[_0x5c633e(0x16b)]&&(this[_0x5c633e(0x12c)](_0x18114a),_0x44ecce[_0x5c633e(0x12a)]&&this[_0x5c633e(0xd7)](_0x18114a),(_0x44ecce[_0x5c633e(0xcb)]||_0x44ecce[_0x5c633e(0x12a)])&&(_0x4d251a['hooks']=this[_0x5c633e(0x141)](_0x18114a)));this[_0x5c633e(0xae)]&&(_0x44ecce[_0x5c633e(0x14d)]||_0x44ecce[_0x5c633e(0x12a)])&&(_0x4d251a[_0x384685[_0x5c633e(0xef)]]=this[_0x5c633e(0xf7)](this[_0x5c633e(0xae)]));_0x44ecce[_0x5c633e(0x16b)]&&_0x44ecce[_0x5c633e(0xcb)]&&_0x18114a[_0x5c633e(0xad)]&&(_0x4d251a[_0x384685[_0x5c633e(0x109)]]={'feature':{'name':_0x18114a[_0x5c633e(0xb6)][_0x5c633e(0x12f)][_0x5c633e(0x11b)],'path':_0x4d251a[_0x5c633e(0x14e)],'description':_0x18114a['parent'][_0x5c633e(0xdc)]},'scenario':{'name':_0x18114a[_0x5c633e(0x16d)]},'steps':_0x18114a[_0x5c633e(0xad)]});const _0xefd37f=_0x4d251a[_0x384685['UMNrK']][0x0];_0xefd37f&&(_0x4d251a[_0x384685[_0x5c633e(0x15e)]]=_0xefd37f[_0x384685['cHTRd']],_0x4d251a[_0x384685[_0x5c633e(0xb0)]]=_0xefd37f[_0x384685[_0x5c633e(0x176)]]);if(_0x18114a[_0x5c633e(0xad)])for(const _0x4959ce of _0x18114a[_0x5c633e(0xad)]){!_0x4959ce['finished_at']&&(_0x4959ce[_0x5c633e(0x171)]=new Date()[_0x5c633e(0xc8)](),_0x384685[_0x5c633e(0x10a)](_0x4959ce[_0x5c633e(0xcd)],_0x384685[_0x5c633e(0xde)])&&(_0xefd37f?(_0x4959ce[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0xd9)],_0x4959ce[_0x5c633e(0x135)]=_0xefd37f[_0x384685[_0x5c633e(0xb1)]][0x0]):_0x4959ce[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0x151)]));}const _0xf7768e={};_0xf7768e[_0x5c633e(0x15b)]=_0x44ecce[_0x5c633e(0x12a)]?TEST_EVENTS[_0x5c633e(0x11f)]:_0x25aaa3;const _0x1a4d83=_0xf7768e;return _0x44ecce[_0x5c633e(0x103)]?_0x1a4d83[_0x384685['tsKMo']]=_0x4d251a:_0x1a4d83[_0x384685[_0x5c633e(0x1a4)]]=_0x4d251a,_0x1a4d83;}catch(_0x1b1c2c){logger[_0x5c633e(0xf5)](_0x5c633e(0xfc)+_0x25aaa3+_0x5c633e(0xb4)+_0x1b1c2c);}}async[a4_0x143d67(0xe3)](_0x21b6b6,_0x3718de){const _0x2d838c=a4_0x143d67;if(!this[_0x2d838c(0xd6)]||!_0x3718de||!_0x21b6b6)return![];try{return await SessionHandler['uploadEventData'](_0x3718de);}catch(_0x145bce){logger[_0x2d838c(0xf5)](_0x2d838c(0x199)+_0x21b6b6+'\x20with\x20error\x20:\x20'+_0x145bce);}}[a4_0x143d67(0x174)](_0x2c26fa){const _0x2cffd9=a4_0x143d67,_0x51e70e={};_0x51e70e[_0x2cffd9(0xe2)]=_0x2cffd9(0x160);const _0x4ea9a5=_0x51e70e;return{'id':_0x2c26fa['stepAnalyticsId'],'text':_0x2c26fa['text'],'keyword':_0x2c26fa[_0x2cffd9(0x14c)],'started_at':_0x2c26fa[_0x2cffd9(0xc7)][_0x2cffd9(0xc8)](),'result':_0x4ea9a5[_0x2cffd9(0xe2)]};}['bddStepStart'](_0x304d15){const _0x3c130f=a4_0x143d67,_0xf69233={'BgVJm':function(_0x43145c){return _0x43145c();}};!this[_0x3c130f(0x143)][_0x3c130f(0xad)]&&(this['currentTest'][_0x3c130f(0xad)]=[]),!_0x304d15[_0x3c130f(0x15f)]&&(_0x304d15[_0x3c130f(0x15f)]=_0xf69233[_0x3c130f(0x13b)](uuidv4),_0x304d15[_0x3c130f(0xc7)]=new Date(),this[_0x3c130f(0x143)][_0x3c130f(0xad)][_0x3c130f(0x101)](this['initializeBddStep'](_0x304d15)));}[a4_0x143d67(0x17a)](_0x9b46a1){const _0x3f82ee=a4_0x143d67,_0x1d24ff={'tlyNu':function(_0x17a176,_0x1b5b41){return _0x17a176(_0x1b5b41);},'uGCfN':_0x3f82ee(0x13d),'OEYqc':_0x3f82ee(0x160),'VpOnq':_0x3f82ee(0xd4),'gjKbY':function(_0x303d18,_0x25c671){return _0x303d18-_0x25c671;}};let _0x2eadcd=this[_0x3f82ee(0x143)][_0x3f82ee(0xad)][_0x3f82ee(0x145)](_0xaa4ce9=>_0xaa4ce9['id']===_0x9b46a1[_0x3f82ee(0x15f)]);_0x1d24ff[_0x3f82ee(0xf1)](isUndefined,_0x2eadcd)&&(_0x2eadcd=this[_0x3f82ee(0x174)](_0x9b46a1)),_0x2eadcd['result']=[_0x1d24ff[_0x3f82ee(0xb3)],_0x1d24ff['OEYqc']][_0x3f82ee(0x13a)](_0x9b46a1['status'])?_0x1d24ff[_0x3f82ee(0xf6)]:_0x9b46a1['status'],_0x2eadcd[_0x3f82ee(0x171)]=new Date()[_0x3f82ee(0xc8)](),_0x2eadcd[_0x3f82ee(0x185)]=_0x1d24ff[_0x3f82ee(0xea)](Date[_0x3f82ee(0x113)](),_0x9b46a1[_0x3f82ee(0xc7)][_0x3f82ee(0x13f)]()),_0x2eadcd[_0x3f82ee(0x135)]=_0x9b46a1[_0x3f82ee(0x183)]?_0x9b46a1[_0x3f82ee(0x183)][_0x3f82ee(0x161)]:null;}}const a4_0x3b4ac0={};function a4_0x1ebf(){const _0x5f1ab9=['wsEndpoint','BrowserType','CBTSessionCreated','sStQw','FRXzZ','bvQsP','startedAt','toISOString','3rBZqSN','../../helpers/test-observability/requestQueueHandler','finished','relative','result','errorsDetailed','TtbYN','xqiLs','statSync','TEST_REPORTING_ANALYTICS','failed','passed','split','enabled','resetSkipTestHooks','TestRunSkipped','sVpDq','STATE_FAILED','dcsxf','comment','failureData','rMtyA','eziTE','config','prefixTestPath','QbJzL','fireEvent','setupBrowserDetails','sendCBTInfo','122481kUxCNl','ujMsU','pid','NXPIx','gjKbY','PLAYWRIGHT_HUB_URL','groups','browserType.js','_paths','rsZOB','FYiQe','tlyNu','_afterAll','HookRunStarted','../playwright/accessibility-helper','debug','VpOnq','getCBTInfo','FJDLD','rMtza','HOOK_RUN_STARTED','Hobnl','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','backtrace','EWxwh','YmmLH','getFailureType','push','../mocha/test-observability/mochaUtils','hook','30216XkmXzy','CKuVH','hookAnalyticsId','hook_run_uuid','sejOn','Izxxc','XbOfK','WIcFj','AXnco','TEST_RUN_STARTED','QTZPu','start','BROWSERSTACK','appendTestItemLog','TEST_EVENTS','now','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','934852WrTUEJ','Dchnl','_testEnv','qrVKg','test_run','1077215CFckoS','name','nWCDC','gXHJW','hCkZM','TEST_RUN_FINISHED','CODECEPT','uAknS','client','expanded','2|3|0|4|5|1','getRootParentFile','path','../../helpers/testhub/utils.js','string','meta','skipped','pJYmR','mapTestHooks','hook_run','cwd','feature','javascript','PsRPW','xfWbt','removeAllListeners','dirname','failure','UMmzb','findGitConfig','obsBrowserTypeMockApplied','_afterEach','includes','BgVJm','match','success','File\x20path\x20could\x20not\x20be\x20found','getTime','suites','getHooksForTest','CKHEP','currentTest','O11yHelper','find','TDXjN','.git','../../helpers/logger','toUpperCase','iAhqp','NOgGv','keyword','started','file_name','wIZYH','TEST_RUN_SKIPPED','QTAmI','failure_reason_expanded','toLowerCase','uploadEventData','TestRunStarted','test_run_uuid','concat','../../helpers/test-observability/utils','618010lUjSNd','PHEAl','event_type','codeceptjs','util','JZSks','stepAnalyticsId','pending','message','bYJaq','patchConsoleLogger','type','zQnpC','1458smAsGl','file','gabdi','qUYhV','testAnalyticsId','test','body','title','then','NQsod','385740ijjeYn','finished_at','krdWG','accessibilityPlatform','initializeBddStep','forEach','nDeaM','getHookType','TestRunFinished','bs:addLog:','bddStepFinish','CpWtH','browserstack','apply','integrations','length','BOzaT','location_prefix','WJLpT','err','failed\x20to\x20get\x20root\x20parent\x20file\x20','duration','getHierarchy','ScnTJ','defineProperty','EkUAS','279EJPKfA','launch','oENqq','join','rxIfd','6349zOgsbB','tags','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','exports','stringify','getInstance','toString','HookRunFinished','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','_beforeEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','RmfQq','cUHDL','ctx','markedStatus','captureEvent','__platformCaps','_beforeAll','failure_backtrace','fullTitle','currentHook','FiQjw','connect','lib','bddSteps','driver','UxiRN','rvaCT','cHTRd','uuid','uGCfN','\x20with\x20error\x20:\x20','LogCreated','parent','oNrZm','frameworkName','ehYQh','CaAQw','oxQUU','retryOf','HOOK_RUN_FINISHED','sep','inspect','../utils/constants'];a4_0x1ebf=function(){return _0x5f1ab9;};return a4_0x1ebf();}function a4_0x9ddf(_0x50c2a3,_0x3c1471){const _0x1ebf15=a4_0x1ebf();return a4_0x9ddf=function(_0x9ddf75,_0x34182c){_0x9ddf75=_0x9ddf75-0xab;let _0x2f54d5=_0x1ebf15[_0x9ddf75];return _0x2f54d5;},a4_0x9ddf(_0x50c2a3,_0x3c1471);}a4_0x3b4ac0[a4_0x143d67(0x144)]=O11yHelper,a4_0x3b4ac0['STATE_PASSED']=STATE_PASSED,a4_0x3b4ac0[a4_0x143d67(0xda)]=STATE_FAILED,a4_0x3b4ac0[a4_0x143d67(0x112)]=TEST_EVENTS,module[a4_0x143d67(0x192)]=a4_0x3b4ac0;
|