browserstack-node-sdk 1.36.6 → 1.37.0
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 -66
- 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 -0
- 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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/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/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/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x56e3(){const _0x100f3d=['browserstack_executor:\x20','Element','util','test-passed','warn','pdhtV','browserContext','startMonitoring','fireEvent','bstackAllyScanning','SDK_TEST','filter','enabled','codeceptjs/lib/utils.js','UAXbp','shouldWrapCommand','GaWhp','forEach','SYNC','CJZYE','aUoGr','measureWrapper','mzOeZ','../../helpers/helper','BS_TESTOPS_ALLOW_SCREENSHOTS','contexts','SESSION_STATUS','bs:addLog:','Playwright','SDK_PRE_INITIALIZE','bddStep-before','../../helpers/performance/performance-tester','captureEvent','currentTest','Screenshot\x20path\x20not\x20found','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','GsPDD','thTestRunUuid','Performing\x20scan\x20for\x20','hook-failed','ZbbxI','BxoTW','__skipSessionStatus','../../helpers/testhub/constants.js','INFO','19114931sZpPAu','winstonLogger','anPig','zjzkd','SDK_POST_TEST','tiYzd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ctx','start','pcKae','skipSessionStatus','YaAiH','1926AwKBhk','tDclX','5NMEtQJ','SDK_PRE_TEST','toISOString','FzCQu','QmdQs','codeceptjs','OECvh','qkyXR','../../helpers/logger','test-skipped','info','codeceptjs/lib/helper/WebDriver.js','codeceptjs/lib/recorder.js','patchSaveScreenshot','step','xjTjd','CzdUK','../../helpers/performance/constants','btLsY','event','OPPBX','bddStepStart','xiitt','SDK_POST_INITIALIZE','../../helpers/globals.js','TEST_RUN_FINISHED','performScan','started','before','TXQRh','testAnalyticsId','debug','NBaTs','HBDJO','status','skipSessionName','then','HOOK_RUN_STARTED','command','setSessionName','9093380CMCZMV','ZqEwa','TEST_RUN_STARTED','browserStackExecuteDriver','hookType','FQZnO','comment','after','codeceptjs/lib/index.js','nIRdU','constructor','emit','lBQhF','ioPFs','../../helpers/request-spy','HOOK_RUN_FINISHED','../../bin/playwright/sessionDetails','commandsToWrap','thBuildUuid','class','all','tSDjj','NYfTw','Failed\x20to\x20execute\x20_before:\x20','ktRYF','test-after','xVXIY','accessibilityPlatform','LnJST','addRequestSpy','17706JYmTNf','hook-passed','browser','16rLFxlb','DOSEz','3684004gXKznp','saveScreenshot','captureError','executeScript','add','base64','rfuQr','stopMonitoring','name','SGSYV','env','test','stringify','end','__driver','setGlobal','25907KDFEjG','oAkxo','afterTest','_before','hYtfZ','helpers','lTyiN','BROWSERSTACK_TESTHUB_UUID','initSaveScreenshot','TEST_RUN_SKIPPED','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getSyncScript','./o11yHelper','nupwQ','skipped','dispatcher','format','BROWSERSTACK_TESTHUB_JWT','SESSION_NAME','NokpA','arguments','Suite','PERFORM_SCAN','failed','container','getAccessibilityResults','IZrPJ','setSessionStatus','7716RjInlT','WebDriver','getResults','action','679isIYfg','WnVCN','titlePath','prototype','toString','aZJQL','passed','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','pSukC','getAccessibilityResultsSummary','bind','readFileSync','ENV_VAR','Puppeteer','tGCxi','OfDAM','test-before','TestCafe','HveaY','zGJli','6712yZsoqX','GVyOx','step-comment','apply','pid','SDK_HOOK','../../helpers/accessibility-automation/helper','../../bin/playwright/accessibility-helper','stop','title','bddStep','overwriteCommand','hook','aKYQh','../../helpers/test-observability/utils','TEST_LOG','call','BgmCK'];a1_0x56e3=function(){return _0x100f3d;};return a1_0x56e3();}const a1_0x2eb09c=a1_0xae0e;(function(_0x5d2000,_0x119ee8){const _0x451e94=a1_0xae0e,_0x317329=_0x5d2000();while(!![]){try{const _0x4a8572=parseInt(_0x451e94(0x17c))/0x1+parseInt(_0x451e94(0x16a))/0x2*(parseInt(_0x451e94(0x167))/0x3)+-parseInt(_0x451e94(0x16c))/0x4*(-parseInt(_0x451e94(0x121))/0x5)+-parseInt(_0x451e94(0x198))/0x6*(-parseInt(_0x451e94(0x19c))/0x7)+parseInt(_0x451e94(0x1b0))/0x8*(parseInt(_0x451e94(0x11f))/0x9)+parseInt(_0x451e94(0x149))/0xa+-parseInt(_0x451e94(0x113))/0xb;if(_0x4a8572===_0x119ee8)break;else _0x317329['push'](_0x317329['shift']());}catch(_0x81ab13){_0x317329['push'](_0x317329['shift']());}}}(a1_0x56e3,0x72c0d));function a1_0xae0e(_0x2c6bb7,_0x328dd9){const _0x56e3df=a1_0x56e3();return a1_0xae0e=function(_0xae0ecf,_0xf2d159){_0xae0ecf=_0xae0ecf-0xe4;let _0x46cefb=_0x56e3df[_0xae0ecf];return _0x46cefb;},a1_0xae0e(_0x2c6bb7,_0x328dd9);}const fs=require('fs'),util=require(a1_0x2eb09c(0xe8)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2eb09c(0xfd)),logger=require(a1_0x2eb09c(0x129))[a1_0x2eb09c(0x114)],testOpsHelper=require(a1_0x2eb09c(0x1be)),requestSpy=require(a1_0x2eb09c(0x157)),PlaywrightSessionDetails=require(a1_0x2eb09c(0x159)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2eb09c(0x188)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2eb09c(0x1b6)),AccessibilityHelper=require(a1_0x2eb09c(0x1b7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x2eb09c(0x105)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2eb09c(0x132)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x2eb09c(0x111)),globals=require(a1_0x2eb09c(0x139)),CodeceptJS=requireModule(a1_0x2eb09c(0x151),a1_0x2eb09c(0x126)),CodeceptUtils=requireModule(a1_0x2eb09c(0xf3),a1_0x2eb09c(0x126)),CodeceptWebDriver=requireModule(a1_0x2eb09c(0x12c),a1_0x2eb09c(0x126)),CodeceptRecorder=requireModule(a1_0x2eb09c(0x12d),a1_0x2eb09c(0x126)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x2eb09c(0x126)),playwrightMarkSessionStatus=(_0x4a3f8d,_0x4a76b3,_0x138e19)=>{const _0xe7a34d=a1_0x2eb09c,_0x447d69={'tiYzd':_0xe7a34d(0x197),'aZJQL':function(_0x55e218,_0x16364e){return _0x55e218(_0x16364e);}},_0x67efb1={};_0x67efb1[_0xe7a34d(0x143)]=_0x4a76b3;const _0x2e2aa8={};_0x2e2aa8[_0xe7a34d(0x19b)]=_0x447d69[_0xe7a34d(0x118)],_0x2e2aa8[_0xe7a34d(0x190)]=_0x67efb1;const _0x2affc4=_0x2e2aa8;return!_0x447d69[_0xe7a34d(0x1a1)](isUndefined,_0x138e19)&&(_0x2affc4[_0xe7a34d(0x190)]['reason']=JSON[_0xe7a34d(0x178)](_0x138e19)),_0x4a3f8d[_0xe7a34d(0x16f)](()=>{},_0xe7a34d(0xe6)+JSON[_0xe7a34d(0x178)](_0x2affc4));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x2eb09c(0xf8)],async _0x3551a3=>{const _0x4a3a63=a1_0x2eb09c,_0x4635d9={};_0x4635d9[_0x4a3a63(0xf6)]=function(_0x473a47,_0x46769a){return _0x473a47===_0x46769a;},_0x4635d9[_0x4a3a63(0x116)]='Playwright';const _0x3e92ff=_0x4635d9;_0x3e92ff['GaWhp'](_0x3551a3[_0x4a3a63(0x153)][_0x4a3a63(0x174)],_0x3e92ff['zjzkd'])?await _0x3551a3['executeScript'](_0x48573b=>{},testOpsHelper['getSyncScript']()):await _0x3551a3['executeScript'](testOpsHelper[_0x4a3a63(0x187)]());}),markSessionName=PerformanceTester[a1_0x2eb09c(0xfb)](PerformanceAutEvents[a1_0x2eb09c(0x18e)],async(_0xb71315,_0x15f133)=>{const _0x5eb147=a1_0x2eb09c,_0x3285da={};_0x3285da[_0x5eb147(0x156)]=_0x5eb147(0x148),_0x3285da[_0x5eb147(0x13e)]=function(_0x4a023d,_0x49cc83){return _0x4a023d===_0x49cc83;},_0x3285da[_0x5eb147(0xfa)]=_0x5eb147(0x102);const _0x5ccf62=_0x3285da,_0xa7a489={};_0xa7a489[_0x5eb147(0x174)]=_0x15f133;const _0x5bcfa6={};_0x5bcfa6[_0x5eb147(0x19b)]=_0x5ccf62[_0x5eb147(0x156)],_0x5bcfa6[_0x5eb147(0x190)]=_0xa7a489;const _0x309223=_0x5bcfa6;_0x5ccf62[_0x5eb147(0x13e)](_0xb71315[_0x5eb147(0x153)][_0x5eb147(0x174)],_0x5ccf62[_0x5eb147(0xfa)])?await _0xb71315[_0x5eb147(0x16f)](()=>{},_0x5eb147(0xe6)+JSON[_0x5eb147(0x178)](_0x309223)):await _0xb71315[_0x5eb147(0x16f)](_0x5eb147(0xe6)+JSON[_0x5eb147(0x178)](_0x309223));}),patchSaveScreenshot=_0x5aac28=>{const _0x3308d7=a1_0x2eb09c,_0xdf10b5={'pcKae':_0x3308d7(0x171),'BgmCK':'TEST_SCREENSHOT','hYtfZ':function(_0x1705f6){return _0x1705f6();},'RUEVd':function(_0x456466,_0x160fe3){return _0x456466(_0x160fe3);},'HveaY':_0x3308d7(0x108),'nupwQ':function(_0x100b7f,_0x440953){return _0x100b7f(_0x440953);}};_0xdf10b5[_0x3308d7(0x189)](isTrue,process['env'][_0x3308d7(0xfe)])&&!_0x5aac28[_0x3308d7(0x12e)]&&(_0x5aac28['patchSaveScreenshot']=!![],_0x5aac28[_0x3308d7(0x184)]=_0x5aac28[_0x3308d7(0x16d)],_0x5aac28[_0x3308d7(0x16d)]=(_0x55b974,_0x398feb=![])=>{const _0x497507=_0x3308d7,_0x23dbd6={'nIRdU':_0xdf10b5[_0x497507(0x11c)],'CJZYE':_0xdf10b5[_0x497507(0xe5)],'pdhtV':function(_0x557c05){const _0x1c5490=_0x497507;return _0xdf10b5[_0x1c5490(0x180)](_0x557c05);},'ZbbxI':function(_0x415e72,_0x1493c1){return _0xdf10b5['RUEVd'](_0x415e72,_0x1493c1);},'Eatnv':_0xdf10b5[_0x497507(0x1ae)]};return new Promise(function(_0x5c525c,_0x38a15d){const _0xba984a=_0x497507;_0x5aac28[_0xba984a(0x184)](_0x55b974,_0x398feb)[_0xba984a(0x145)](()=>{const _0x1156cd=_0xba984a,_0x2f4f51=CodeceptUtils['screenshotOutputFolder'](_0x55b974);if(_0x2f4f51){const _0x5e1ac1=fs[_0x1156cd(0x1a7)](_0x2f4f51);process[_0x1156cd(0x154)](_0x1156cd(0x101)+process[_0x1156cd(0x1b4)],{'timestamp':new Date()[_0x1156cd(0x123)](),'message':_0x5e1ac1[_0x1156cd(0x1a0)](_0x23dbd6[_0x1156cd(0x152)]),'kind':_0x23dbd6[_0x1156cd(0xf9)]}),_0x23dbd6[_0x1156cd(0xeb)](_0x5c525c);}_0x23dbd6[_0x1156cd(0x10e)](_0x38a15d,new Error(_0x23dbd6['Eatnv']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x90569=>{const _0x33da1b=a1_0x2eb09c,_0x485455={'aKYQh':function(_0x1bc93c){return _0x1bc93c();},'zGJli':function(_0x461f98,_0x3ceb0b){return _0x461f98(_0x3ceb0b);},'oAkxo':function(_0x5326ef,_0x385df3){return _0x5326ef===_0x385df3;},'ZqEwa':_0x33da1b(0xe7)},_0x24bee4=async function(_0x122d6a,_0x1c83a7){const _0x6547db=_0x33da1b;return _0x485455[_0x6547db(0x1bd)](isAccessibilityAutomationSession)&&!global[_0x6547db(0xef)]&&global[_0x6547db(0x164)]&&scripts[_0x6547db(0xf5)](_0x122d6a['name'])&&_0x485455[_0x6547db(0x1af)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x6547db(0xfb)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1397e7=_0x6547db;logger[_0x1397e7(0x140)](_0x1397e7(0x10c)+_0x122d6a[_0x1397e7(0x15c)]+'\x20'+_0x122d6a[_0x1397e7(0x174)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x90569,scripts[_0x1397e7(0x13b)]);},{'command':_0x122d6a[_0x6547db(0x174)]})()),global[_0x6547db(0xef)]=![],_0x1c83a7[_0x6547db(0x1b3)](this,Array[_0x6547db(0x19f)]['slice'][_0x6547db(0xe4)](arguments,0x2));},_0x2d75db=CodeceptWebDriver[_0x33da1b(0x19f)][_0x33da1b(0x17f)];CodeceptWebDriver[_0x33da1b(0x19f)][_0x33da1b(0x17f)]=async function(){const _0x482796=_0x33da1b;try{await _0x2d75db[_0x482796(0x1b3)](this,arguments);}catch(_0x1a9f01){logger['debug'](_0x482796(0x160)+util[_0x482796(0x18c)](_0x1a9f01));}scripts[_0x482796(0x15a)][_0x482796(0xf1)](_0x511d00=>_0x511d00[_0x482796(0x174)]&&_0x511d00['class'])[_0x482796(0xf7)](_0x3052a8=>{const _0x18888f=_0x482796;this[_0x18888f(0x169)][_0x18888f(0x1bb)](_0x3052a8[_0x18888f(0x174)],_0x24bee4[_0x18888f(0x1a6)](this,_0x3052a8),_0x485455[_0x18888f(0x17d)](_0x3052a8['class'],_0x485455[_0x18888f(0x14a)]));}),_0x485455[_0x482796(0x1af)](processWebDriverConfig,_0x90569);};},patchPlaywrightBefore=()=>{const _0x45ff4f=a1_0x2eb09c;PlaywrightSessionDetails['patch']();const _0x2fcb8c=CodeceptPlaywright[_0x45ff4f(0x19f)][_0x45ff4f(0x17f)];CodeceptPlaywright[_0x45ff4f(0x19f)][_0x45ff4f(0x17f)]=async function(){const _0x349a8d=_0x45ff4f;this[_0x349a8d(0xec)]=await this['browser'][_0x349a8d(0xff)]()[0x0],await _0x2fcb8c[_0x349a8d(0x1b3)](this,arguments);};},getCodeceptDriver=()=>{const _0xa813a8=a1_0x2eb09c,_0x41560e={};_0x41560e[_0xa813a8(0x1ab)]=_0xa813a8(0x199),_0x41560e[_0xa813a8(0x142)]=_0xa813a8(0x102),_0x41560e[_0xa813a8(0x163)]=_0xa813a8(0x1a9),_0x41560e[_0xa813a8(0x11e)]=_0xa813a8(0x1ad);const _0x1f1443=_0x41560e,_0x518483=[_0x1f1443['OfDAM'],_0x1f1443[_0xa813a8(0x142)],_0x1f1443[_0xa813a8(0x163)],_0x1f1443[_0xa813a8(0x11e)]],_0x45a89e=_0x518483['find'](_0x38d2fb=>!!CodeceptJS[_0xa813a8(0x194)][_0xa813a8(0x181)](_0x38d2fb));if(!_0x45a89e)return null;return CodeceptJS[_0xa813a8(0x194)]['helpers'](_0x45a89e);};module['exports']=function(_0x1ba2b4){const _0x5ba7d9=a1_0x2eb09c,_0xedc405={'btLsY':function(_0x5e4dc6){return _0x5e4dc6();},'tGCxi':function(_0x35024c,_0x17c22d){return _0x35024c(_0x17c22d);},'UAXbp':'getAccessibilityResults','LnJST':_0x5ba7d9(0x119),'NBaTs':_0x5ba7d9(0x1a5),'CzdUK':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','FQZnO':'hook-started','mzOeZ':_0x5ba7d9(0x168),'rfuQr':_0x5ba7d9(0x10d),'pSukC':'browserstackTestName','tDclX':function(_0x465db9){return _0x465db9();},'lTyiN':_0x5ba7d9(0x1ac),'NokpA':function(_0x3d6268,_0x45c3c4){return _0x3d6268(_0x45c3c4);},'ktRYF':function(_0x401550,_0x15f049,_0x268b81){return _0x401550(_0x15f049,_0x268b81);},'xhjWY':function(_0x15d115,_0x353b1b){return _0x15d115(_0x353b1b);},'IZrPJ':'test-started','OPPBX':function(_0x389d0c){return _0x389d0c();},'WnVCN':_0x5ba7d9(0xe9),'anPig':function(_0x2409fc,_0x591308,_0x255bc4,_0x49a1d0){return _0x2409fc(_0x591308,_0x255bc4,_0x49a1d0);},'akHTk':function(_0x7b59ec,_0x574dff){return _0x7b59ec===_0x574dff;},'fqWmJ':_0x5ba7d9(0x191),'tSDjj':'test-failed','xjTjd':_0x5ba7d9(0x12a),'xiitt':_0x5ba7d9(0x17e),'Rlxtn':function(_0x16a792){return _0x16a792();},'SGSYV':function(_0x2d653a,_0x35b382,_0x28a7fe){return _0x2d653a(_0x35b382,_0x28a7fe);},'TwbPu':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','BxoTW':_0x5ba7d9(0x162),'NYfTw':_0x5ba7d9(0x112),'Ywzpd':_0x5ba7d9(0x1bf),'IFLtr':_0x5ba7d9(0x1b2),'uDiGS':_0x5ba7d9(0x104),'GsPDD':'bddStep-after','DOSEz':_0x5ba7d9(0x102)};_0x1ba2b4[_0x5ba7d9(0x11d)]&&(global[_0x5ba7d9(0x110)]=_0x1ba2b4[_0x5ba7d9(0x11d)]);PerformanceTester[_0x5ba7d9(0xed)]();const _0x200964=_0xedc405[_0x5ba7d9(0x133)](getCodeceptDriver),_0x4c53ef=new O11yHelper(_0x200964,_0x1ba2b4),_0x2d36af=!!CodeceptJS[_0x5ba7d9(0x194)]['helpers'](_0xedc405[_0x5ba7d9(0x16b)]);global[_0x5ba7d9(0x17a)]=_0x200964,_0x200964&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x5ba7d9(0x103)],()=>{const _0x20912d=_0x5ba7d9;_0x2d36af?_0xedc405[_0x20912d(0x133)](patchPlaywrightBefore):_0xedc405[_0x20912d(0x1aa)](patchWebDriverBefore,_0x200964);})(),PerformanceTester[_0x5ba7d9(0xfb)](PerformanceEvents[_0x5ba7d9(0x138)],()=>{const _0x47397f=_0x5ba7d9,_0x4c97b4={};_0x4c97b4['GVyOx']=_0xedc405[_0x47397f(0x141)],_0x4c97b4[_0x47397f(0x125)]=_0xedc405[_0x47397f(0x131)];const _0x4e23fc=_0x4c97b4;_0x200964[_0x47397f(0x1a5)]=async()=>{const _0x365d8a=_0x47397f;if(global[_0x365d8a(0x164)]){const _0x82f5d6={};_0x82f5d6[_0x365d8a(0x147)]=_0x4e23fc[_0x365d8a(0x1b1)],await PerformanceTester[_0x365d8a(0xfb)](PerformanceA11yEvents[_0x365d8a(0x192)],async()=>{const _0x3fd414=_0x365d8a;await AccessibilityHelper[_0x3fd414(0x14c)](_0x200964,scripts[_0x3fd414(0x13b)]);},_0x82f5d6)(),await PerformanceTester[_0x365d8a(0xfb)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x4e4c59=_0x365d8a;await AccessibilityHelper[_0x4e4c59(0x14c)](_0x200964,scripts['getResultsSummary']);})();}else return logger[_0x365d8a(0xea)](_0x4e23fc[_0x365d8a(0x125)]),{};},_0x200964[_0x47397f(0x195)]=async()=>{const _0x4c7212=_0x47397f;if(global[_0x4c7212(0x164)]){const _0x5b3fba={};_0x5b3fba[_0x4c7212(0x147)]=_0xedc405[_0x4c7212(0xf4)],await PerformanceTester[_0x4c7212(0xfb)](PerformanceA11yEvents[_0x4c7212(0x192)],async()=>{const _0x44a210=_0x4c7212;await AccessibilityHelper[_0x44a210(0x14c)](_0x200964,scripts[_0x44a210(0x13b)]);},_0x5b3fba)(),await PerformanceTester[_0x4c7212(0xfb)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x31ae0b=_0x4c7212;await AccessibilityHelper[_0x31ae0b(0x14c)](_0x200964,scripts[_0x31ae0b(0x19a)]);})();}else return logger['warn'](_0xedc405[_0x4c7212(0x165)]),{};},_0xedc405[_0x47397f(0x1aa)](patchSaveScreenshot,_0x200964);})()),CodeceptJS[_0x5ba7d9(0x134)]['dispatcher']['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x15d)]['before'],()=>{const _0xf26908=_0x5ba7d9;PerformanceTester['start'](PerformanceEvents[_0xf26908(0x122)]);try{_0x4c53ef[_0xf26908(0x11b)](),testOpsHelper[_0xf26908(0x166)](),PerformanceTester[_0xf26908(0x179)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x26be8b){PerformanceTester[_0xf26908(0x16e)](_0x26be8b),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x26be8b);}}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x15d)][_0x5ba7d9(0x150)],async()=>{const _0x2037b9=_0x5ba7d9;PerformanceTester['start'](PerformanceEvents[_0x2037b9(0x117)]);try{requestSpy['restore'](),await _0x4c53ef[_0x2037b9(0x1b8)](),PerformanceTester[_0x2037b9(0x179)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x2b93b2){PerformanceTester[_0x2037b9(0x16e)](_0x2b93b2),PerformanceTester[_0x2037b9(0x179)](PerformanceEvents[_0x2037b9(0x117)],![],_0x2b93b2);}finally{PerformanceTester[_0x2037b9(0x173)]();}}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x1bc)][_0x5ba7d9(0x13c)],_0x1895ff=>{const _0xa051d4=_0x5ba7d9;PerformanceTester[_0xa051d4(0x11b)](PerformanceEvents[_0xa051d4(0x1b5)]);try{const _0x17519c=_0x1895ff['ctx']['test'],_0x315a9e=_0x4c53ef['captureEvent'](TEST_EVENTS[_0xa051d4(0x146)],_0x17519c);CodeceptRecorder['add'](()=>_0x4c53ef[_0xa051d4(0xee)](TEST_EVENTS[_0xa051d4(0x146)],_0x315a9e));const _0x151855={};_0x151855[_0xa051d4(0x14d)]=_0xedc405[_0xa051d4(0x14e)],PerformanceTester['end'](PerformanceEvents[_0xa051d4(0x1b5)],!![],null,_0x151855);}catch(_0x37f5e4){const _0x29e35e={};_0x29e35e[_0xa051d4(0x14d)]=_0xedc405[_0xa051d4(0x14e)],PerformanceTester[_0xa051d4(0x179)](PerformanceEvents['SDK_HOOK'],![],_0x37f5e4,_0x29e35e),PerformanceTester[_0xa051d4(0x16e)](_0x37f5e4);}}),CodeceptJS['event'][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x1bc)][_0x5ba7d9(0x1a2)],_0xac5bcf=>{const _0x2481a5=_0x5ba7d9,_0x2cc3d3={};_0x2cc3d3['hookType']=_0xedc405[_0x2481a5(0xfc)],PerformanceTester[_0x2481a5(0x11b)](PerformanceHookEvents[_0x2481a5(0x1b5)],!![],null,_0x2cc3d3);try{const _0x500014=_0xac5bcf['ctx'][_0x2481a5(0x177)],_0x332109=_0x4c53ef[_0x2481a5(0x106)](TEST_EVENTS[_0x2481a5(0x158)],_0x500014);CodeceptRecorder['add'](()=>_0x4c53ef['fireEvent'](TEST_EVENTS[_0x2481a5(0x158)],_0x332109));const _0x148c44={};_0x148c44[_0x2481a5(0x14d)]=_0xedc405[_0x2481a5(0xfc)],PerformanceTester[_0x2481a5(0x179)](PerformanceHookEvents[_0x2481a5(0x1b5)],!![],null,_0x148c44);}catch(_0x28a710){PerformanceTester[_0x2481a5(0x16e)](_0x28a710);const _0x26b8f2={};_0x26b8f2[_0x2481a5(0x14d)]=_0xedc405[_0x2481a5(0xfc)],PerformanceTester[_0x2481a5(0x179)](PerformanceHookEvents['SDK_HOOK'],![],_0x28a710,_0x26b8f2);}}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)]['hook']['failed'],async(_0xb593bb,_0x1ef956)=>{const _0x51908c=_0x5ba7d9;PerformanceTester[_0x51908c(0x11b)](PerformanceHookEvents['SDK_HOOK']);try{const _0x11b4e2=_0xb593bb[_0x51908c(0x11a)]['test'],_0x470f88=_0x4c53ef[_0x51908c(0x106)](TEST_EVENTS[_0x51908c(0x158)],_0x11b4e2,_0x1ef956);CodeceptRecorder[_0x51908c(0x170)](()=>_0x4c53ef[_0x51908c(0xee)](TEST_EVENTS[_0x51908c(0x158)],_0x470f88));const _0x2c7fb5={};_0x2c7fb5['hookType']=_0xedc405[_0x51908c(0x172)],PerformanceTester['start'](PerformanceHookEvents[_0x51908c(0x1b5)],!![],null,_0x2c7fb5);}catch(_0x5c5fa1){PerformanceTester[_0x51908c(0x16e)](_0x5c5fa1);const _0x3367ec={};_0x3367ec['hookType']=_0xedc405[_0x51908c(0x172)],PerformanceTester['end'](PerformanceHookEvents[_0x51908c(0x1b5)],![],_0x5c5fa1,_0x3367ec);}const _0x12649a={};_0x12649a[_0x51908c(0x14d)]=_0xedc405[_0x51908c(0x172)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x12649a);}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)]['test'][_0x5ba7d9(0x13d)],_0x2bc857=>{const _0x5902f9=_0x5ba7d9;PerformanceTester['start'](PerformanceHookEvents[_0x5902f9(0x1b5)]);try{globals[_0x5902f9(0x17b)](_0xedc405[_0x5902f9(0x1a4)],_0x2bc857[_0x5902f9(0x1b9)]);_0xedc405[_0x5902f9(0x120)](isBrowserstackInfra)&&(_0x2d36af&&(global['__workerDetails']={'currentTest':{'name':_0x2bc857[_0x5902f9(0x1b9)],'testInfo':{'titlePath':_0x2bc857[_0x5902f9(0x19e)]()}}}));const _0x2cae47={};_0x2cae47[_0x5902f9(0x14d)]=_0xedc405['lTyiN'],PerformanceTester[_0x5902f9(0x179)](PerformanceHookEvents[_0x5902f9(0x1b5)],!![],null,_0x2cae47);}catch(_0x537746){PerformanceTester[_0x5902f9(0x16e)](_0x537746);const _0x6a93ea={};_0x6a93ea[_0x5902f9(0x14d)]=_0xedc405[_0x5902f9(0x182)],PerformanceTester['end'](PerformanceHookEvents[_0x5902f9(0x1b5)],![],_0x537746,_0x6a93ea);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5ba7d9(0x134)]['test'][_0x5ba7d9(0x13c)],_0x2ccd56=>{const _0x336bcd=_0x5ba7d9;PerformanceTester[_0x336bcd(0x11b)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0xedc405[_0x336bcd(0x1a4)],_0x2ccd56[_0x336bcd(0x1b9)]);const _0x5c8785=_0x4c53ef[_0x336bcd(0x106)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2ccd56);CodeceptRecorder[_0x336bcd(0x170)](()=>_0x4c53ef[_0x336bcd(0xee)](TEST_EVENTS[_0x336bcd(0x14b)],_0x5c8785)),CodeceptRecorder[_0x336bcd(0x170)](async()=>{const _0x2f24e9=_0x336bcd;_0xedc405[_0x2f24e9(0x120)](isBrowserstackInfra)&&(!_0xedc405[_0x2f24e9(0x18f)](isTrue,_0x1ba2b4[_0x2f24e9(0x144)])&&await _0xedc405[_0x2f24e9(0x161)](markSessionName,_0x200964,_0x2ccd56[_0x2f24e9(0x1b9)]),_0x4c53ef[_0x2f24e9(0xf2)]&&await _0xedc405['xhjWY'](o11ySync,_0x200964));});}catch(_0x456fb1){const _0x42a350={};_0x42a350['hookType']=_0xedc405[_0x336bcd(0x196)],PerformanceTester['end'](PerformanceHookEvents[_0x336bcd(0x1b5)],![],_0x456fb1,_0x42a350),PerformanceTester[_0x336bcd(0x16e)](_0x456fb1);}const _0x5dd2df={};_0x5dd2df[_0x336bcd(0x14d)]=_0xedc405[_0x336bcd(0x196)],PerformanceTester[_0x336bcd(0x179)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5dd2df);}),CodeceptJS['event'][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x177)][_0x5ba7d9(0x1a2)],_0x4febe9=>{const _0x328253=_0x5ba7d9,_0x2b6ebb={'qkyXR':function(_0x3a0780,_0x4ba403,_0xff389d){return _0xedc405['ktRYF'](_0x3a0780,_0x4ba403,_0xff389d);},'lBQhF':function(_0x4a1b3a,_0x374750,_0x511253){const _0x2471dd=a1_0xae0e;return _0xedc405[_0x2471dd(0x161)](_0x4a1b3a,_0x374750,_0x511253);},'tANpq':function(_0xbfa6d0){const _0x59fb4b=a1_0xae0e;return _0xedc405[_0x59fb4b(0x135)](_0xbfa6d0);}};PerformanceTester[_0x328253(0x11b)](PerformanceHookEvents[_0x328253(0x1b5)]);try{const _0x318168=_0x4c53ef[_0x328253(0x106)](TEST_EVENTS[_0x328253(0x13a)],_0x4febe9);CodeceptRecorder[_0x328253(0x170)](()=>_0x4c53ef[_0x328253(0xee)](TEST_EVENTS[_0x328253(0x13a)],_0x318168)),CodeceptRecorder[_0x328253(0x170)](async()=>{const _0x51f694=_0x328253;_0x2b6ebb['tANpq'](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x51f694(0x100)],async()=>{const _0x4e23a0=_0x51f694;_0x2d36af?await _0x2b6ebb[_0x4e23a0(0x128)](playwrightMarkSessionStatus,_0x200964,STATE_PASSED):await _0x2b6ebb[_0x4e23a0(0x155)](markSessionStatus,_0x200964,STATE_PASSED);})();}),PerformanceTester[_0x328253(0x179)](PerformanceEvents[_0x328253(0xf0)]);}catch(_0x155bf6){PerformanceTester[_0x328253(0x16e)](_0x155bf6);const _0x16dead={};_0x16dead[_0x328253(0x14d)]=_0xedc405[_0x328253(0x19d)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x155bf6,_0x16dead),PerformanceTester[_0x328253(0x179)](PerformanceEvents[_0x328253(0xf0)],![],_0x155bf6);}const _0xb360d8={};_0xb360d8[_0x328253(0x14d)]=_0xedc405['WnVCN'],PerformanceTester[_0x328253(0x179)](PerformanceHookEvents[_0x328253(0x1b5)],!![],null,_0xb360d8);}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS['event']['test'][_0x5ba7d9(0x193)],(_0x324821,_0x28254e)=>{const _0xda909=_0x5ba7d9,_0x27f535={'VvOVi':function(_0x262831){return _0xedc405['tDclX'](_0x262831);},'FzCQu':function(_0x47954d,_0x42af0b,_0x41aa11,_0x4a4a37){const _0x11c436=a1_0xae0e;return _0xedc405[_0x11c436(0x115)](_0x47954d,_0x42af0b,_0x41aa11,_0x4a4a37);}};PerformanceTester[_0xda909(0x11b)](PerformanceHookEvents[_0xda909(0x1b5)]);try{if(_0xedc405['akHTk'](_0x324821['constructor'][_0xda909(0x174)],_0xedc405['fqWmJ'])){const _0x52c58e=_0x4c53ef['captureEvent'](TEST_EVENTS[_0xda909(0x185)],_0x324821[_0xda909(0x11a)][_0xda909(0x107)]);CodeceptRecorder[_0xda909(0x170)](()=>_0x4c53ef['fireEvent'](TEST_EVENTS[_0xda909(0x185)],_0x52c58e));}else{const _0x679ad9=_0x4c53ef[_0xda909(0x106)](TEST_EVENTS[_0xda909(0x13a)],_0x324821,_0x28254e);CodeceptRecorder[_0xda909(0x170)](()=>{const _0x12d4fe=_0xda909;try{_0x4c53ef['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x679ad9);}catch(_0x5dc2e9){logger[_0x12d4fe(0x140)](_0x12d4fe(0x1a3)+util[_0x12d4fe(0x18c)](_0x5dc2e9)),PerformanceTester[_0x12d4fe(0x179)](PerformanceEvents[_0x12d4fe(0xf0)],![],_0x5dc2e9);}}),CodeceptRecorder[_0xda909(0x170)](async()=>{const _0x405b45=_0xda909;try{_0x27f535['VvOVi'](isBrowserstackInfra)&&(_0x2d36af?await _0x27f535[_0x405b45(0x124)](playwrightMarkSessionStatus,_0x200964,STATE_FAILED,_0x28254e):await _0x27f535[_0x405b45(0x124)](markSessionStatus,_0x200964,STATE_FAILED,_0x28254e));}catch(_0x27f44f){logger[_0x405b45(0x140)](_0x405b45(0x109)+util[_0x405b45(0x18c)](_0x27f44f)),PerformanceTester[_0x405b45(0x179)](PerformanceEvents[_0x405b45(0xf0)],![],_0x27f44f);}});}PerformanceTester[_0xda909(0x179)](PerformanceEvents['SDK_TEST']);}catch(_0xa7d372){PerformanceTester[_0xda909(0x16e)](_0xa7d372);const _0x3e4365={};_0x3e4365[_0xda909(0x14d)]=_0xedc405[_0xda909(0x15e)],PerformanceTester[_0xda909(0x179)](PerformanceHookEvents['SDK_HOOK'],![],_0xa7d372,_0x3e4365),PerformanceTester[_0xda909(0x179)](PerformanceEvents[_0xda909(0xf0)],![],_0xa7d372);}const _0x48f0e6={};_0x48f0e6[_0xda909(0x14d)]=_0xedc405[_0xda909(0x15e)],PerformanceTester[_0xda909(0x179)](PerformanceHookEvents[_0xda909(0x1b5)],!![],null,_0x48f0e6);}),CodeceptJS['event'][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x177)][_0x5ba7d9(0x18a)],_0x2a31d2=>{const _0x113cbc=_0x5ba7d9;PerformanceTester[_0x113cbc(0x11b)](PerformanceHookEvents[_0x113cbc(0x1b5)]);try{const _0x3a8b84=_0x4c53ef[_0x113cbc(0x106)](TEST_EVENTS[_0x113cbc(0x185)],_0x2a31d2);CodeceptRecorder[_0x113cbc(0x170)](()=>_0x4c53ef[_0x113cbc(0xee)](TEST_EVENTS[_0x113cbc(0x185)],_0x3a8b84)),PerformanceTester['end'](PerformanceEvents[_0x113cbc(0xf0)]);}catch(_0x151cec){PerformanceTester['captureError'](_0x151cec),PerformanceTester[_0x113cbc(0x179)](PerformanceEvents[_0x113cbc(0xf0)],![],_0x151cec);const _0x2f4903={};_0x2f4903[_0x113cbc(0x14d)]=_0xedc405[_0x113cbc(0x130)],PerformanceTester[_0x113cbc(0x179)](PerformanceHookEvents['SDK_HOOK'],![],_0x151cec,_0x2f4903);}const _0xf9d26f={};_0xf9d26f[_0x113cbc(0x14d)]=_0xedc405[_0x113cbc(0x130)],PerformanceTester[_0x113cbc(0x179)](PerformanceHookEvents[_0x113cbc(0x1b5)],!![],null,_0xf9d26f);}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS['event'][_0x5ba7d9(0x177)]['after'],async(_0x2ed321,_0x17f08a)=>{const _0x3953f1=_0x5ba7d9,_0x3e1363={};_0x3e1363['OECvh']=_0xedc405[_0x3953f1(0x137)];const _0x4085dd=_0x3e1363;try{PerformanceTester[_0x3953f1(0x11b)](PerformanceHookEvents['SDK_HOOK']);if(_0xedc405['Rlxtn'](isBrowserstackInfra)){const _0x1cf4b6=_0xedc405[_0x3953f1(0x175)](shouldScanTestForAccessibility,_0x2ed321[_0x3953f1(0x19e)](),!![]);if(_0xedc405['btLsY'](isAccessibilityAutomationSession)&&global[_0x3953f1(0x164)]&&_0x1cf4b6){const _0x877594={};_0x877594[_0x3953f1(0x10b)]=_0x2ed321[_0x3953f1(0x13f)],_0x877594[_0x3953f1(0x15b)]=process[_0x3953f1(0x176)][testHubConstants['ENV_VAR'][_0x3953f1(0x183)]],_0x877594['thJwtToken']=process[_0x3953f1(0x176)][testHubConstants[_0x3953f1(0x1a8)][_0x3953f1(0x18d)]];const _0x5a4b30=_0x877594;logger['debug'](_0x3953f1(0x186)+JSON[_0x3953f1(0x178)](_0x5a4b30)),CodeceptRecorder[_0x3953f1(0x170)](async()=>{const _0x3ea1e8=_0x3953f1,_0x1a35dc={};_0x1a35dc['command']=_0x4085dd[_0x3ea1e8(0x127)],await PerformanceTester[_0x3ea1e8(0xfb)](PerformanceA11yEvents[_0x3ea1e8(0x192)],async()=>{const _0x4d011c=_0x3ea1e8;await AccessibilityHelper[_0x4d011c(0x14c)](_0x200964,scripts[_0x4d011c(0x13b)]);},_0x1a35dc)(),await PerformanceTester[_0x3ea1e8(0xfb)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x5e098e=_0x3ea1e8;await AccessibilityHelper[_0x5e098e(0x14c)](_0x200964,scripts['saveTestResults'],_0x5a4b30);})();}),logger[_0x3953f1(0x12b)](_0xedc405['TwbPu']);}}const _0x1444e9={};_0x1444e9[_0x3953f1(0x14d)]=_0xedc405['BxoTW'],PerformanceTester[_0x3953f1(0x179)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1444e9);}catch(_0x2c74e2){PerformanceTester[_0x3953f1(0x16e)](_0x2c74e2);const _0x424151={};_0x424151[_0x3953f1(0x14d)]=_0xedc405[_0x3953f1(0x10f)],PerformanceTester['end'](PerformanceHookEvents[_0x3953f1(0x1b5)],![],_0x2c74e2,_0x424151);}}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS['event'][_0x5ba7d9(0x12f)][_0x5ba7d9(0x14f)],_0x39d7f2=>{const _0x92f88a=_0x5ba7d9;PerformanceTester[_0x92f88a(0x11b)](PerformanceHookEvents[_0x92f88a(0x1b5)]);try{process['emit'](_0x92f88a(0x101)+process[_0x92f88a(0x1b4)],{'timestamp':new Date()['toISOString'](),'level':_0xedc405[_0x92f88a(0x15f)],'message':_0x39d7f2,'kind':_0xedc405['Ywzpd'],'http_response':{}});}catch(_0x4ad797){PerformanceTester['captureError'](_0x4ad797);const _0x1b0429={};_0x1b0429[_0x92f88a(0x14d)]=_0xedc405['IFLtr'],PerformanceTester[_0x92f88a(0x179)](PerformanceHookEvents['SDK_HOOK'],![],_0x4ad797,_0x1b0429);}const _0x28d1cc={};_0x28d1cc[_0x92f88a(0x14d)]=_0xedc405['IFLtr'],PerformanceTester[_0x92f88a(0x179)](PerformanceHookEvents[_0x92f88a(0x1b5)],!![],null,_0x28d1cc);}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS['event'][_0x5ba7d9(0x1ba)]['before'],_0x1fd02b=>{const _0x14fc41=_0x5ba7d9,_0x2b38f2={};_0x2b38f2[_0x14fc41(0x14d)]=_0xedc405['uDiGS'],PerformanceTester[_0x14fc41(0xfb)](PerformanceHookEvents[_0x14fc41(0x1b5)],()=>{const _0x375cf9=_0x14fc41;_0x4c53ef[_0x375cf9(0x136)](_0x1fd02b);},_0x2b38f2)();}),CodeceptJS[_0x5ba7d9(0x134)][_0x5ba7d9(0x18b)]['on'](CodeceptJS[_0x5ba7d9(0x134)]['bddStep']['after'],_0x18cb64=>{const _0x338a2b=_0x5ba7d9,_0x2f17a3={};_0x2f17a3[_0x338a2b(0x14d)]=_0xedc405[_0x338a2b(0x10a)],PerformanceTester[_0x338a2b(0xfb)](PerformanceHookEvents[_0x338a2b(0x1b5)],()=>{_0x4c53ef['bddStepFinish'](_0x18cb64);},_0x2f17a3)();});};
|
|
1
|
+
function a1_0x56ec(_0x3e7334,_0x201927){const _0x3b990a=a1_0x3b99();return a1_0x56ec=function(_0x56ecda,_0x2dfe12){_0x56ecda=_0x56ecda-0x9c;let _0x18aaec=_0x3b990a[_0x56ecda];return _0x18aaec;},a1_0x56ec(_0x3e7334,_0x201927);}const a1_0x210285=a1_0x56ec;(function(_0x2122de,_0x1d0cc7){const _0x16c2b9=a1_0x56ec,_0x5e09c4=_0x2122de();while(!![]){try{const _0x28dfdb=-parseInt(_0x16c2b9(0xb5))/0x1*(-parseInt(_0x16c2b9(0x114))/0x2)+parseInt(_0x16c2b9(0xb6))/0x3*(parseInt(_0x16c2b9(0x167))/0x4)+-parseInt(_0x16c2b9(0xbd))/0x5+parseInt(_0x16c2b9(0x109))/0x6*(parseInt(_0x16c2b9(0xe0))/0x7)+parseInt(_0x16c2b9(0xc1))/0x8+parseInt(_0x16c2b9(0xf4))/0x9*(parseInt(_0x16c2b9(0x15c))/0xa)+-parseInt(_0x16c2b9(0x16c))/0xb;if(_0x28dfdb===_0x1d0cc7)break;else _0x5e09c4['push'](_0x5e09c4['shift']());}catch(_0x5bba40){_0x5e09c4['push'](_0x5e09c4['shift']());}}}(a1_0x3b99,0x99997));const fs=require('fs'),util=require(a1_0x210285(0x157)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x210285(0xaf)),logger=require('../../helpers/logger')[a1_0x210285(0xbb)],testOpsHelper=require(a1_0x210285(0x11d)),requestSpy=require(a1_0x210285(0x131)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x210285(0xfc)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x210285(0x129)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x210285(0x100)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x210285(0xae)),testHubConstants=require(a1_0x210285(0xf1)),globals=require(a1_0x210285(0x166)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x210285(0xe4)),CodeceptUtils=requireModule(a1_0x210285(0xf5),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x210285(0xc4),a1_0x210285(0xe4)),CodeceptRecorder=requireModule(a1_0x210285(0xd0),a1_0x210285(0xe4)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x210285(0xe4)),playwrightMarkSessionStatus=(_0x9b7f0e,_0x540f15,_0x5e025f)=>{const _0x4898e3=a1_0x210285,_0x456089={'wVEvB':'setSessionStatus','UUOMU':function(_0x32ed01,_0x2bbf71){return _0x32ed01(_0x2bbf71);}},_0x47b486={};_0x47b486['status']=_0x540f15;const _0x45e82d={};_0x45e82d['action']=_0x456089[_0x4898e3(0xcd)],_0x45e82d[_0x4898e3(0xde)]=_0x47b486;const _0x557db6=_0x45e82d;return!_0x456089['UUOMU'](isUndefined,_0x5e025f)&&(_0x557db6['arguments']['reason']=JSON[_0x4898e3(0x134)](_0x5e025f)),_0x9b7f0e[_0x4898e3(0x124)](()=>{},_0x4898e3(0x9f)+JSON['stringify'](_0x557db6));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x210285(0xb0)],async _0x209036=>{const _0x13775c=a1_0x210285,_0x32b01b={};_0x32b01b[_0x13775c(0xa1)]=function(_0x3ef8de,_0x2eb629){return _0x3ef8de===_0x2eb629;},_0x32b01b[_0x13775c(0x106)]='Playwright';const _0x25c0ce=_0x32b01b;_0x25c0ce[_0x13775c(0xa1)](_0x209036[_0x13775c(0x11c)][_0x13775c(0xfd)],_0x25c0ce['gyekY'])?await _0x209036[_0x13775c(0x124)](_0x35dedc=>{},testOpsHelper['getSyncScript']()):await _0x209036['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x210285(0xf9)](PerformanceAutEvents[a1_0x210285(0xe5)],async(_0x4d11f8,_0x114d18)=>{const _0x28bcde=a1_0x210285,_0x2529fe={};_0x2529fe[_0x28bcde(0x150)]=_0x28bcde(0x14f),_0x2529fe[_0x28bcde(0xce)]=function(_0x280aff,_0x1e9e63){return _0x280aff===_0x1e9e63;},_0x2529fe[_0x28bcde(0xd3)]=_0x28bcde(0x155);const _0x206daa=_0x2529fe,_0x42d663={};_0x42d663[_0x28bcde(0xfd)]=_0x114d18;const _0x2da6a1={};_0x2da6a1[_0x28bcde(0xc3)]=_0x206daa[_0x28bcde(0x150)],_0x2da6a1[_0x28bcde(0xde)]=_0x42d663;const _0x159365=_0x2da6a1;_0x206daa[_0x28bcde(0xce)](_0x4d11f8[_0x28bcde(0x11c)][_0x28bcde(0xfd)],_0x206daa[_0x28bcde(0xd3)])?await _0x4d11f8[_0x28bcde(0x124)](()=>{},'browserstack_executor:\x20'+JSON[_0x28bcde(0x134)](_0x159365)):await _0x4d11f8[_0x28bcde(0x124)](_0x28bcde(0x9f)+JSON['stringify'](_0x159365));}),patchSaveScreenshot=_0x102e72=>{const _0x49eb20=a1_0x210285,_0x365679={'Avtlz':'base64','hMUly':'TEST_SCREENSHOT','olFOF':function(_0x3700e1){return _0x3700e1();},'MyfSp':function(_0x46c444,_0x4b5c6e){return _0x46c444(_0x4b5c6e);},'MogEM':_0x49eb20(0xad)};_0x365679[_0x49eb20(0x104)](isTrue,process[_0x49eb20(0x15f)][_0x49eb20(0x112)])&&!_0x102e72[_0x49eb20(0x102)]&&(_0x102e72['patchSaveScreenshot']=!![],_0x102e72[_0x49eb20(0xac)]=_0x102e72['saveScreenshot'],_0x102e72[_0x49eb20(0xeb)]=(_0x4f0435,_0x57029a=![])=>{const _0x3bddc3=_0x49eb20,_0x5db5cc={'hJQdu':_0x365679['Avtlz'],'xQWYD':_0x365679[_0x3bddc3(0xc0)],'WRPVG':function(_0x23892b){const _0xaa56ae=_0x3bddc3;return _0x365679[_0xaa56ae(0x16b)](_0x23892b);},'MWDLz':function(_0x36c73b,_0x3aec66){const _0x2c7dc3=_0x3bddc3;return _0x365679[_0x2c7dc3(0x104)](_0x36c73b,_0x3aec66);},'sarhv':_0x365679['MogEM']};return new Promise(function(_0x2597e4,_0x3ca497){const _0x4d365f=_0x3bddc3;_0x102e72['initSaveScreenshot'](_0x4f0435,_0x57029a)[_0x4d365f(0x107)](()=>{const _0x346c67=_0x4d365f,_0x102239=CodeceptUtils[_0x346c67(0x10c)](_0x4f0435);if(_0x102239){const _0x251cb4=fs[_0x346c67(0x125)](_0x102239);process[_0x346c67(0x115)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x346c67(0xb8)](),'message':_0x251cb4[_0x346c67(0x146)](_0x5db5cc[_0x346c67(0xe3)]),'kind':_0x5db5cc['xQWYD']}),_0x5db5cc[_0x346c67(0xb2)](_0x2597e4);}_0x5db5cc[_0x346c67(0xdf)](_0x3ca497,new Error(_0x5db5cc[_0x346c67(0x152)]));})[_0x4d365f(0x121)](()=>null);});});},patchWebDriverBefore=_0x513be3=>{const _0x89e939=a1_0x210285,_0x23d79e={'FyeGb':function(_0x26fc3e){return _0x26fc3e();},'gsUwK':function(_0x38673d,_0xbca4af){return _0x38673d(_0xbca4af);},'YCXtz':function(_0x28b5c0,_0x3a1f5f){return _0x28b5c0===_0x3a1f5f;},'vxbel':_0x89e939(0x153),'DYNks':function(_0x58a74d,_0x26de02){return _0x58a74d(_0x26de02);}},_0x1efb13=async function(_0x3a054c,_0x47b80e){const _0x174226=_0x89e939;return _0x23d79e['FyeGb'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x174226(0x165)]&&scripts['shouldWrapCommand'](_0x3a054c[_0x174226(0xfd)])&&_0x23d79e[_0x174226(0x137)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x174226(0x160)]=!![],await PerformanceTester[_0x174226(0xf9)](PerformanceA11yEvents[_0x174226(0x14c)],async()=>{const _0x2f05a3=_0x174226;logger[_0x2f05a3(0xc9)](_0x2f05a3(0xec)+_0x3a054c[_0x2f05a3(0x149)]+'\x20'+_0x3a054c[_0x2f05a3(0xfd)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x513be3,scripts[_0x2f05a3(0x116)]);},{'command':_0x3a054c[_0x174226(0xfd)]})()),global[_0x174226(0x160)]=![],_0x47b80e[_0x174226(0xe6)](this,Array[_0x174226(0xe2)][_0x174226(0xf3)]['call'](arguments,0x2));},_0x4538fc=CodeceptWebDriver[_0x89e939(0xe2)][_0x89e939(0xf2)];CodeceptWebDriver[_0x89e939(0xe2)][_0x89e939(0xf2)]=async function(){const _0x3aec7a=_0x89e939,_0x6d3aab={'QTQQD':function(_0x34404c,_0x3128f8){const _0x50aabb=a1_0x56ec;return _0x23d79e[_0x50aabb(0x12d)](_0x34404c,_0x3128f8);},'NwpTG':_0x23d79e[_0x3aec7a(0xef)]};try{await _0x4538fc[_0x3aec7a(0xe6)](this,arguments);}catch(_0x3ca2c){logger[_0x3aec7a(0xc9)](_0x3aec7a(0xe9)+util[_0x3aec7a(0xba)](_0x3ca2c));}scripts[_0x3aec7a(0xe8)][_0x3aec7a(0x132)](_0x10c9e7=>_0x10c9e7[_0x3aec7a(0xfd)]&&_0x10c9e7['class'])[_0x3aec7a(0x151)](_0x32f07d=>{const _0x3d9e7d=_0x3aec7a;this[_0x3d9e7d(0xd7)][_0x3d9e7d(0xbc)](_0x32f07d[_0x3d9e7d(0xfd)],_0x1efb13[_0x3d9e7d(0x117)](this,_0x32f07d),_0x6d3aab['QTQQD'](_0x32f07d[_0x3d9e7d(0x149)],_0x6d3aab[_0x3d9e7d(0x122)]));}),_0x23d79e[_0x3aec7a(0xf6)](processWebDriverConfig,_0x513be3);};},patchPlaywrightBefore=()=>{const _0x36b1ce=a1_0x210285;PlaywrightSessionDetails[_0x36b1ce(0xbe)]();const _0x57703c=CodeceptPlaywright['prototype'][_0x36b1ce(0xf2)];CodeceptPlaywright[_0x36b1ce(0xe2)]['_before']=async function(){const _0x541d8b=_0x36b1ce;this[_0x541d8b(0xcc)]=await this[_0x541d8b(0xd7)]['contexts']()[0x0],await _0x57703c[_0x541d8b(0xe6)](this,arguments);};},getCodeceptDriver=()=>{const _0x2e0ba5=a1_0x210285,_0x53199d={};_0x53199d['MjKzD']=_0x2e0ba5(0x13a),_0x53199d[_0x2e0ba5(0x14a)]=_0x2e0ba5(0x155),_0x53199d[_0x2e0ba5(0xf7)]=_0x2e0ba5(0xf8),_0x53199d[_0x2e0ba5(0x145)]=_0x2e0ba5(0xab);const _0x1358a2=_0x53199d,_0x58a015=[_0x1358a2[_0x2e0ba5(0xd5)],_0x1358a2[_0x2e0ba5(0x14a)],_0x1358a2['XunaI'],_0x1358a2['dCRqx']],_0x77d8ca=_0x58a015[_0x2e0ba5(0x133)](_0x4a593b=>!!CodeceptJS[_0x2e0ba5(0xf0)][_0x2e0ba5(0x10a)](_0x4a593b));if(!_0x77d8ca)return null;return CodeceptJS[_0x2e0ba5(0xf0)][_0x2e0ba5(0x10a)](_0x77d8ca);};module['exports']=function(_0x5d72f0){const _0x1c84f2=a1_0x210285,_0x14548e={'fLQYF':function(_0x4474e2){return _0x4474e2();},'giJwt':function(_0x5a522a,_0x549d94){return _0x5a522a(_0x549d94);},'OVZXQ':'getAccessibilityResultsSummary','RDCdJ':_0x1c84f2(0xd2),'WYlrr':_0x1c84f2(0xaa),'OSKTc':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','IvMXv':_0x1c84f2(0xdc),'XsFIX':_0x1c84f2(0x154),'AIKWS':'hook-failed','HsPxk':_0x1c84f2(0x144),'ioaXu':_0x1c84f2(0x13d),'kzULs':function(_0x5ec3cc){return _0x5ec3cc();},'jcKVB':function(_0x74d249,_0x803fbc,_0xf320e){return _0x74d249(_0x803fbc,_0xf320e);},'ifawg':function(_0x76d624,_0x2e1519){return _0x76d624(_0x2e1519);},'QyJuR':_0x1c84f2(0xd1),'GfRIL':_0x1c84f2(0x15e),'Hddrz':function(_0x31778d,_0x1314a9,_0x523687,_0x58cd03){return _0x31778d(_0x1314a9,_0x523687,_0x58cd03);},'vqkXO':function(_0x121704,_0x40fff3){return _0x121704===_0x40fff3;},'ePKpn':'Suite','dpQGp':'test-failed','gKiFC':_0x1c84f2(0x147),'Xauqp':_0x1c84f2(0xff),'NLvxY':function(_0x8220d6,_0x554087,_0xbb641a){return _0x8220d6(_0x554087,_0xbb641a);},'nHCmP':function(_0xffe90){return _0xffe90();},'dGgLO':_0x1c84f2(0x9c),'lTVle':_0x1c84f2(0xd9),'bfnaX':_0x1c84f2(0x12e),'nJxsw':_0x1c84f2(0xc5),'CzdHL':'step-comment','gSAbH':'bddStep-before','kjzEk':_0x1c84f2(0x158),'sAibu':function(_0x5c3403){return _0x5c3403();},'IhmjX':'Playwright'};_0x5d72f0[_0x1c84f2(0xcb)]&&(global[_0x1c84f2(0xd6)]=_0x5d72f0['skipSessionStatus']);PerformanceTester[_0x1c84f2(0x10b)]();const _0x107dcb=_0x14548e['sAibu'](getCodeceptDriver),_0x580dd6=new O11yHelper(_0x107dcb,_0x5d72f0),_0x40e2ac=!!CodeceptJS['container'][_0x1c84f2(0x10a)](_0x14548e['IhmjX']);global['__driver']=_0x107dcb,_0x107dcb&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x1c84f2(0x120)],()=>{const _0x23d3c1=_0x1c84f2;_0x40e2ac?_0x14548e[_0x23d3c1(0x141)](patchPlaywrightBefore):_0x14548e[_0x23d3c1(0xee)](patchWebDriverBefore,_0x107dcb);})(),PerformanceTester[_0x1c84f2(0xf9)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1d6339=_0x1c84f2,_0xa61bb3={};_0xa61bb3[_0x1d6339(0xa3)]=_0x14548e[_0x1d6339(0x169)],_0xa61bb3[_0x1d6339(0x130)]=_0x14548e[_0x1d6339(0xb1)];const _0x1b190f=_0xa61bb3;_0x107dcb['getAccessibilityResultsSummary']=async()=>{const _0x1ba21f=_0x1d6339;if(global[_0x1ba21f(0x165)]){const _0x5c43f0={};_0x5c43f0['command']=_0x14548e[_0x1ba21f(0x128)],await PerformanceTester[_0x1ba21f(0xf9)](PerformanceA11yEvents[_0x1ba21f(0x14c)],async()=>{const _0x5bfd31=_0x1ba21f;await AccessibilityHelper[_0x5bfd31(0x162)](_0x107dcb,scripts[_0x5bfd31(0x116)]);},_0x5c43f0)(),await PerformanceTester[_0x1ba21f(0xf9)](PerformanceA11yEvents[_0x1ba21f(0x135)],async()=>{const _0x13097e=_0x1ba21f;await AccessibilityHelper[_0x13097e(0x162)](_0x107dcb,scripts[_0x13097e(0x105)]);})();}else return logger[_0x1ba21f(0xe7)](_0x14548e['RDCdJ']),{};},_0x107dcb[_0x1d6339(0xaa)]=async()=>{const _0x1ab578=_0x1d6339;if(global['accessibilityPlatform']){const _0x3f86f1={};_0x3f86f1['command']=_0x1b190f['hgSBV'],await PerformanceTester[_0x1ab578(0xf9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x23a8e3=_0x1ab578;await AccessibilityHelper[_0x23a8e3(0x162)](_0x107dcb,scripts['performScan']);},_0x3f86f1)(),await PerformanceTester[_0x1ab578(0xf9)](PerformanceA11yEvents[_0x1ab578(0x13c)],async()=>{const _0xa6e5ca=_0x1ab578;await AccessibilityHelper[_0xa6e5ca(0x162)](_0x107dcb,scripts[_0xa6e5ca(0xfa)]);})();}else return logger[_0x1ab578(0xe7)](_0x1b190f[_0x1ab578(0x130)]),{};},_0x14548e['giJwt'](patchSaveScreenshot,_0x107dcb);})()),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xe1)][_0x1c84f2(0x10e)],()=>{const _0x39548f=_0x1c84f2;PerformanceTester[_0x39548f(0x12f)](PerformanceEvents['SDK_PRE_TEST']);try{_0x580dd6[_0x39548f(0x12f)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x39548f(0x9d)](PerformanceEvents[_0x39548f(0x110)]);}catch(_0x40696c){PerformanceTester[_0x39548f(0x161)](_0x40696c),PerformanceTester[_0x39548f(0x9d)](PerformanceEvents['SDK_PRE_TEST'],![],_0x40696c);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xe1)][_0x1c84f2(0x10d)],async()=>{const _0x25d8ce=_0x1c84f2;PerformanceTester[_0x25d8ce(0x12f)](PerformanceEvents[_0x25d8ce(0x119)]);try{requestSpy[_0x25d8ce(0x111)](),await _0x580dd6['stop'](),PerformanceTester['end'](PerformanceEvents[_0x25d8ce(0x119)]);}catch(_0x5ead5e){PerformanceTester[_0x25d8ce(0x161)](_0x5ead5e),PerformanceTester[_0x25d8ce(0x9d)](PerformanceEvents[_0x25d8ce(0x119)],![],_0x5ead5e);}finally{PerformanceTester[_0x25d8ce(0x156)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x14b)][_0x1c84f2(0x136)],_0xf08cd0=>{const _0x5d2371=_0x1c84f2;PerformanceTester['start'](PerformanceEvents[_0x5d2371(0x11f)]);try{const _0x531b23=_0xf08cd0['ctx']['test'],_0x154200=_0x580dd6[_0x5d2371(0x108)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x531b23);CodeceptRecorder[_0x5d2371(0x143)](()=>_0x580dd6[_0x5d2371(0x148)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x154200));const _0x1f06c3={};_0x1f06c3[_0x5d2371(0x103)]=_0x14548e[_0x5d2371(0xd8)],PerformanceTester[_0x5d2371(0x9d)](PerformanceEvents[_0x5d2371(0x11f)],!![],null,_0x1f06c3);}catch(_0x2823f7){const _0x52ef7c={};_0x52ef7c['hookType']=_0x14548e['IvMXv'],PerformanceTester['end'](PerformanceEvents[_0x5d2371(0x11f)],![],_0x2823f7,_0x52ef7c),PerformanceTester[_0x5d2371(0x161)](_0x2823f7);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x14b)][_0x1c84f2(0x113)],_0x1fc979=>{const _0x359a1f=_0x1c84f2,_0x290239={};_0x290239[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x12f)](PerformanceHookEvents[_0x359a1f(0x11f)],!![],null,_0x290239);try{const _0x304b69=_0x1fc979[_0x359a1f(0xa6)][_0x359a1f(0x127)],_0x1a835d=_0x580dd6[_0x359a1f(0x108)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x304b69);CodeceptRecorder[_0x359a1f(0x143)](()=>_0x580dd6['fireEvent'](TEST_EVENTS[_0x359a1f(0x12a)],_0x1a835d));const _0x4c72f8={};_0x4c72f8[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x9d)](PerformanceHookEvents[_0x359a1f(0x11f)],!![],null,_0x4c72f8);}catch(_0x5cc0bb){PerformanceTester[_0x359a1f(0x161)](_0x5cc0bb);const _0x3bddbd={};_0x3bddbd[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x9d)](PerformanceHookEvents['SDK_HOOK'],![],_0x5cc0bb,_0x3bddbd);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x14b)]['failed'],async(_0x236912,_0x3b8c92)=>{const _0xf7c5c7=_0x1c84f2;PerformanceTester[_0xf7c5c7(0x12f)](PerformanceHookEvents['SDK_HOOK']);try{const _0x3a5577=_0x236912[_0xf7c5c7(0xa6)][_0xf7c5c7(0x127)],_0x3bb37a=_0x580dd6[_0xf7c5c7(0x108)](TEST_EVENTS[_0xf7c5c7(0x12a)],_0x3a5577,_0x3b8c92);CodeceptRecorder[_0xf7c5c7(0x143)](()=>_0x580dd6[_0xf7c5c7(0x148)](TEST_EVENTS[_0xf7c5c7(0x12a)],_0x3bb37a));const _0x272990={};_0x272990[_0xf7c5c7(0x103)]=_0x14548e['AIKWS'],PerformanceTester['start'](PerformanceHookEvents[_0xf7c5c7(0x11f)],!![],null,_0x272990);}catch(_0x40359e){PerformanceTester[_0xf7c5c7(0x161)](_0x40359e);const _0x44bbfb={};_0x44bbfb['hookType']=_0x14548e[_0xf7c5c7(0xc6)],PerformanceTester[_0xf7c5c7(0x9d)](PerformanceHookEvents[_0xf7c5c7(0x11f)],![],_0x40359e,_0x44bbfb);}const _0x379624={};_0x379624[_0xf7c5c7(0x103)]=_0x14548e['AIKWS'],PerformanceTester[_0xf7c5c7(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x379624);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x10e)],_0x25da37=>{const _0x48293e=_0x1c84f2;PerformanceTester['start'](PerformanceHookEvents[_0x48293e(0x11f)]);try{globals[_0x48293e(0xc7)](_0x14548e[_0x48293e(0x139)],_0x25da37[_0x48293e(0xb9)]);_0x14548e[_0x48293e(0x141)](isBrowserstackInfra)&&(_0x40e2ac&&(global[_0x48293e(0xfb)]={'currentTest':{'name':_0x25da37['title'],'testInfo':{'titlePath':_0x25da37[_0x48293e(0xa4)]()}}}));const _0x4c5966={};_0x4c5966[_0x48293e(0x103)]=_0x14548e[_0x48293e(0x159)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c5966);}catch(_0x4ba04b){PerformanceTester['captureError'](_0x4ba04b);const _0x24e3de={};_0x24e3de[_0x48293e(0x103)]=_0x14548e[_0x48293e(0x159)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x4ba04b,_0x24e3de);}}),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x136)],_0x5ac778=>{const _0x14ddcf=_0x1c84f2;PerformanceTester[_0x14ddcf(0x12f)](PerformanceHookEvents[_0x14ddcf(0x11f)]);try{globals[_0x14ddcf(0xc7)](_0x14548e[_0x14ddcf(0x139)],_0x5ac778[_0x14ddcf(0xb9)]);const _0x10b8fd=_0x580dd6[_0x14ddcf(0x108)](TEST_EVENTS[_0x14ddcf(0xc8)],_0x5ac778);CodeceptRecorder[_0x14ddcf(0x143)](()=>_0x580dd6[_0x14ddcf(0x148)](TEST_EVENTS['TEST_RUN_STARTED'],_0x10b8fd)),CodeceptRecorder[_0x14ddcf(0x143)](async()=>{const _0x219b64=_0x14ddcf;_0x14548e[_0x219b64(0xca)](isBrowserstackInfra)&&(!_0x14548e[_0x219b64(0xee)](isTrue,_0x5d72f0['skipSessionName'])&&await _0x14548e[_0x219b64(0x9e)](markSessionName,_0x107dcb,_0x5ac778[_0x219b64(0xb9)]),_0x580dd6[_0x219b64(0x14d)]&&await _0x14548e['ifawg'](o11ySync,_0x107dcb));});}catch(_0x131266){const _0x456d67={};_0x456d67['hookType']=_0x14548e[_0x14ddcf(0xed)],PerformanceTester[_0x14ddcf(0x9d)](PerformanceHookEvents['SDK_HOOK'],![],_0x131266,_0x456d67),PerformanceTester[_0x14ddcf(0x161)](_0x131266);}const _0x4d1b28={};_0x4d1b28[_0x14ddcf(0x103)]=_0x14548e[_0x14ddcf(0xed)],PerformanceTester[_0x14ddcf(0x9d)](PerformanceHookEvents[_0x14ddcf(0x11f)],!![],null,_0x4d1b28);}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x113)],_0x2b300c=>{const _0xc0df7a=_0x1c84f2,_0x222476={'hMHCP':function(_0x5f4bf7,_0x4459ec,_0x1cf83a){return _0x14548e['jcKVB'](_0x5f4bf7,_0x4459ec,_0x1cf83a);},'doAjX':function(_0x55da8b){const _0x5802cf=a1_0x56ec;return _0x14548e[_0x5802cf(0xca)](_0x55da8b);}};PerformanceTester[_0xc0df7a(0x12f)](PerformanceHookEvents[_0xc0df7a(0x11f)]);try{const _0x270f41=_0x580dd6[_0xc0df7a(0x108)](TEST_EVENTS[_0xc0df7a(0x163)],_0x2b300c);CodeceptRecorder[_0xc0df7a(0x143)](()=>_0x580dd6[_0xc0df7a(0x148)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x270f41)),CodeceptRecorder[_0xc0df7a(0x143)](async()=>{const _0x4b97a1=_0xc0df7a;_0x222476[_0x4b97a1(0x16a)](isBrowserstackInfra)&&await PerformanceTester[_0x4b97a1(0xf9)](PerformanceAutEvents[_0x4b97a1(0x15d)],async()=>{const _0x544a48=_0x4b97a1;_0x40e2ac?await _0x222476[_0x544a48(0xb7)](playwrightMarkSessionStatus,_0x107dcb,STATE_PASSED):await _0x222476[_0x544a48(0xb7)](markSessionStatus,_0x107dcb,STATE_PASSED);})();}),PerformanceTester[_0xc0df7a(0x9d)](PerformanceEvents[_0xc0df7a(0xb4)]);}catch(_0x5b7540){PerformanceTester[_0xc0df7a(0x161)](_0x5b7540);const _0x5de369={};_0x5de369[_0xc0df7a(0x103)]=_0x14548e[_0xc0df7a(0xea)],PerformanceTester[_0xc0df7a(0x9d)](PerformanceHookEvents[_0xc0df7a(0x11f)],![],_0x5b7540,_0x5de369),PerformanceTester[_0xc0df7a(0x9d)](PerformanceEvents[_0xc0df7a(0xb4)],![],_0x5b7540);}const _0x26c21a={};_0x26c21a[_0xc0df7a(0x103)]=_0x14548e[_0xc0df7a(0xea)],PerformanceTester[_0xc0df7a(0x9d)](PerformanceHookEvents[_0xc0df7a(0x11f)],!![],null,_0x26c21a);}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x11b)],(_0x384f1a,_0x3b5764)=>{const _0xbf72f2=_0x1c84f2,_0x14b45f={'byLQP':function(_0x170148){return _0x14548e['fLQYF'](_0x170148);},'EMmRP':function(_0x576cb8,_0x48fb31,_0x29645c,_0x276a0a){return _0x14548e['Hddrz'](_0x576cb8,_0x48fb31,_0x29645c,_0x276a0a);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x14548e[_0xbf72f2(0x101)](_0x384f1a[_0xbf72f2(0x11c)][_0xbf72f2(0xfd)],_0x14548e[_0xbf72f2(0x16d)])){const _0x51d003=_0x580dd6[_0xbf72f2(0x108)](TEST_EVENTS[_0xbf72f2(0x140)],_0x384f1a['ctx'][_0xbf72f2(0x126)]);CodeceptRecorder['add'](()=>_0x580dd6[_0xbf72f2(0x148)](TEST_EVENTS[_0xbf72f2(0x140)],_0x51d003));}else{const _0x4a6ad1=_0x580dd6[_0xbf72f2(0x108)](TEST_EVENTS[_0xbf72f2(0x163)],_0x384f1a,_0x3b5764);CodeceptRecorder['add'](()=>{const _0x3e43e6=_0xbf72f2;try{_0x580dd6[_0x3e43e6(0x148)](TEST_EVENTS[_0x3e43e6(0x163)],_0x4a6ad1);}catch(_0x4e365a){logger[_0x3e43e6(0xc9)](_0x3e43e6(0x11e)+util[_0x3e43e6(0xba)](_0x4e365a)),PerformanceTester[_0x3e43e6(0x9d)](PerformanceEvents['SDK_TEST'],![],_0x4e365a);}}),CodeceptRecorder[_0xbf72f2(0x143)](async()=>{const _0x12e9e1=_0xbf72f2;try{_0x14b45f[_0x12e9e1(0x16e)](isBrowserstackInfra)&&(_0x40e2ac?await _0x14b45f[_0x12e9e1(0x11a)](playwrightMarkSessionStatus,_0x107dcb,STATE_FAILED,_0x3b5764):await _0x14b45f[_0x12e9e1(0x11a)](markSessionStatus,_0x107dcb,STATE_FAILED,_0x3b5764));}catch(_0x5b0885){logger['debug'](_0x12e9e1(0x138)+util[_0x12e9e1(0xba)](_0x5b0885)),PerformanceTester[_0x12e9e1(0x9d)](PerformanceEvents['SDK_TEST'],![],_0x5b0885);}});}PerformanceTester['end'](PerformanceEvents[_0xbf72f2(0xb4)]);}catch(_0x964caa){PerformanceTester[_0xbf72f2(0x161)](_0x964caa);const _0x2f5132={};_0x2f5132[_0xbf72f2(0x103)]=_0x14548e[_0xbf72f2(0x164)],PerformanceTester['end'](PerformanceHookEvents[_0xbf72f2(0x11f)],![],_0x964caa,_0x2f5132),PerformanceTester[_0xbf72f2(0x9d)](PerformanceEvents[_0xbf72f2(0xb4)],![],_0x964caa);}const _0x332486={};_0x332486[_0xbf72f2(0x103)]=_0x14548e[_0xbf72f2(0x164)],PerformanceTester[_0xbf72f2(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x332486);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x127)][_0x1c84f2(0x13b)],_0x5275b7=>{const _0x1ad96a=_0x1c84f2;PerformanceTester['start'](PerformanceHookEvents[_0x1ad96a(0x11f)]);try{const _0x229fe4=_0x580dd6['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5275b7);CodeceptRecorder[_0x1ad96a(0x143)](()=>_0x580dd6[_0x1ad96a(0x148)](TEST_EVENTS[_0x1ad96a(0x140)],_0x229fe4)),PerformanceTester['end'](PerformanceEvents[_0x1ad96a(0xb4)]);}catch(_0x4465be){PerformanceTester[_0x1ad96a(0x161)](_0x4465be),PerformanceTester[_0x1ad96a(0x9d)](PerformanceEvents[_0x1ad96a(0xb4)],![],_0x4465be);const _0x19f2f4={};_0x19f2f4['hookType']=_0x14548e[_0x1ad96a(0x10f)],PerformanceTester[_0x1ad96a(0x9d)](PerformanceHookEvents[_0x1ad96a(0x11f)],![],_0x4465be,_0x19f2f4);}const _0x4c1ff2={};_0x4c1ff2[_0x1ad96a(0x103)]=_0x14548e['gKiFC'],PerformanceTester[_0x1ad96a(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c1ff2);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x127)]['after'],async(_0x219982,_0x483419)=>{const _0x3d43d4=_0x1c84f2;try{PerformanceTester[_0x3d43d4(0x12f)](PerformanceHookEvents[_0x3d43d4(0x11f)]);if(_0x14548e['kzULs'](isBrowserstackInfra)){const _0x300e2a=_0x14548e[_0x3d43d4(0x12b)](shouldScanTestForAccessibility,_0x219982[_0x3d43d4(0xa4)](),!![]);if(_0x14548e[_0x3d43d4(0xdb)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x300e2a){const _0x296ad9={};_0x296ad9['thTestRunUuid']=_0x219982[_0x3d43d4(0x142)],_0x296ad9[_0x3d43d4(0x14e)]=process[_0x3d43d4(0x15f)][testHubConstants[_0x3d43d4(0xcf)][_0x3d43d4(0xa2)]],_0x296ad9[_0x3d43d4(0xfe)]=process[_0x3d43d4(0x15f)][testHubConstants[_0x3d43d4(0xcf)][_0x3d43d4(0xa9)]];const _0x1eade2=_0x296ad9;logger[_0x3d43d4(0xc9)](_0x3d43d4(0xda)+JSON[_0x3d43d4(0x134)](_0x1eade2)),CodeceptRecorder['add'](async()=>{const _0x7f1682=_0x3d43d4,_0x2e854d={};_0x2e854d[_0x7f1682(0x15a)]=_0x14548e[_0x7f1682(0x12c)],await PerformanceTester[_0x7f1682(0xf9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5674fd=_0x7f1682;await AccessibilityHelper[_0x5674fd(0x162)](_0x107dcb,scripts['performScan']);},_0x2e854d)(),await PerformanceTester[_0x7f1682(0xf9)](PerformanceA11yEvents[_0x7f1682(0xa8)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x107dcb,scripts['saveTestResults'],_0x1eade2);})();}),logger[_0x3d43d4(0x13e)](_0x14548e[_0x3d43d4(0x168)]);}}const _0x5be229={};_0x5be229[_0x3d43d4(0x103)]=_0x14548e[_0x3d43d4(0xb3)],PerformanceTester[_0x3d43d4(0x9d)](PerformanceHookEvents[_0x3d43d4(0x11f)],!![],null,_0x5be229);}catch(_0xb14d5b){PerformanceTester[_0x3d43d4(0x161)](_0xb14d5b);const _0x3725df={};_0x3725df[_0x3d43d4(0x103)]=_0x14548e[_0x3d43d4(0xb3)],PerformanceTester[_0x3d43d4(0x9d)](PerformanceHookEvents[_0x3d43d4(0x11f)],![],_0xb14d5b,_0x3725df);}}),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xd4)][_0x1c84f2(0xa0)],_0x54e052=>{const _0x163cdd=_0x1c84f2;PerformanceTester[_0x163cdd(0x12f)](PerformanceHookEvents[_0x163cdd(0x11f)]);try{process[_0x163cdd(0x115)](_0x163cdd(0xa5)+process[_0x163cdd(0xdd)],{'timestamp':new Date()[_0x163cdd(0xb8)](),'level':_0x14548e['bfnaX'],'message':_0x54e052,'kind':_0x14548e['nJxsw'],'http_response':{}});}catch(_0x582bc3){PerformanceTester[_0x163cdd(0x161)](_0x582bc3);const _0x48bda2={};_0x48bda2[_0x163cdd(0x103)]=_0x14548e[_0x163cdd(0x123)],PerformanceTester[_0x163cdd(0x9d)](PerformanceHookEvents[_0x163cdd(0x11f)],![],_0x582bc3,_0x48bda2);}const _0x130d6c={};_0x130d6c[_0x163cdd(0x103)]=_0x14548e[_0x163cdd(0x123)],PerformanceTester[_0x163cdd(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x130d6c);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x13f)][_0x1c84f2(0x10e)],_0x1952b9=>{const _0x33eafb=_0x1c84f2,_0x7bb9e1={};_0x7bb9e1[_0x33eafb(0x103)]=_0x14548e[_0x33eafb(0xbf)],PerformanceTester[_0x33eafb(0xf9)](PerformanceHookEvents[_0x33eafb(0x11f)],()=>{const _0x371e78=_0x33eafb;_0x580dd6[_0x371e78(0xc2)](_0x1952b9);},_0x7bb9e1)();}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)]['bddStep'][_0x1c84f2(0x10d)],_0x571c86=>{const _0x41d389=_0x1c84f2,_0x28be26={};_0x28be26[_0x41d389(0x103)]=_0x14548e['kjzEk'],PerformanceTester[_0x41d389(0xf9)](PerformanceHookEvents[_0x41d389(0x11f)],()=>{_0x580dd6['bddStepFinish'](_0x571c86);},_0x28be26)();});};function a1_0x3b99(){const _0x495309=['test','OVZXQ','../../helpers/accessibility-automation/helper','HOOK_RUN_FINISHED','NLvxY','Xauqp','YCXtz','INFO','start','hGKrG','../../helpers/request-spy','filter','find','stringify','GET_RESULTS_SUMMARY','started','gsUwK','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','HsPxk','WebDriver','skipped','GET_RESULTS','test-before','info','bddStep','TEST_RUN_SKIPPED','fLQYF','testAnalyticsId','add','browserstackTestName','dCRqx','toString','test-skipped','fireEvent','class','VokRl','hook','PERFORM_SCAN','enabled','thBuildUuid','setSessionName','sotuR','forEach','sarhv','Element','hook-passed','Playwright','stopMonitoring','util','bddStep-after','ioaXu','command','event','10OrAzDl','SESSION_STATUS','test-passed','env','bstackAllyScanning','captureError','browserStackExecuteDriver','TEST_RUN_FINISHED','dpQGp','accessibilityPlatform','../../helpers/globals.js','3302452auKAUJ','dGgLO','WYlrr','doAjX','olFOF','30954836qDIyka','ePKpn','byLQP','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','end','jcKVB','browserstack_executor:\x20','comment','PsMwJ','BROWSERSTACK_TESTHUB_UUID','hgSBV','titlePath','bs:addLog:','ctx','dispatcher','SAVE_RESULTS','BROWSERSTACK_TESTHUB_JWT','getAccessibilityResults','TestCafe','initSaveScreenshot','Screenshot\x20path\x20not\x20found','./helper.js','../../helpers/helper','SYNC','OSKTc','WRPVG','lTVle','SDK_TEST','16stUaVl','3sJWsmy','hMHCP','toISOString','title','format','winstonLogger','overwriteCommand','1641625jQaDIT','patch','gSAbH','hMUly','3598616OxzNhB','bddStepStart','action','codeceptjs/lib/helper/WebDriver.js','TEST_LOG','AIKWS','setGlobal','TEST_RUN_STARTED','debug','kzULs','skipSessionStatus','browserContext','wVEvB','wIbIU','ENV_VAR','codeceptjs/lib/recorder.js','test-started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','wwXsV','step','MjKzD','__skipSessionStatus','browser','IvMXv','test-after','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','nHCmP','hook-started','pid','arguments','MWDLz','21KLzeyv','all','prototype','hJQdu','codeceptjs','SESSION_NAME','apply','warn','commandsToWrap','Failed\x20to\x20execute\x20_before:\x20','GfRIL','saveScreenshot','Performing\x20scan\x20for\x20','QyJuR','giJwt','vxbel','container','../../helpers/testhub/constants.js','_before','slice','3053727yYwRzc','codeceptjs/lib/utils.js','DYNks','XunaI','Puppeteer','measureWrapper','getResults','__workerDetails','./o11yHelper','name','thJwtToken','afterTest','../../helpers/performance/performance-tester','vqkXO','patchSaveScreenshot','hookType','MyfSp','getResultsSummary','gyekY','then','captureEvent','1801314eYpldE','helpers','startMonitoring','screenshotOutputFolder','after','before','gKiFC','SDK_PRE_TEST','restore','BS_TESTOPS_ALLOW_SCREENSHOTS','passed','157018phSRkY','emit','performScan','bind','XsFIX','SDK_POST_TEST','EMmRP','failed','constructor','../../helpers/test-observability/utils','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','SDK_HOOK','SDK_PRE_INITIALIZE','catch','NwpTG','CzdHL','executeScript','readFileSync','currentTest'];a1_0x3b99=function(){return _0x495309;};return a1_0x3b99();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x104b21=a2_0xc863;(function(_0x53c258,_0x443a3e){const _0x324b69=a2_0xc863,_0x538606=_0x53c258();while(!![]){try{const _0x4ac2c6=-parseInt(_0x324b69(0x1f5))/0x1*(parseInt(_0x324b69(0x20e))/0x2)+parseInt(_0x324b69(0x1a9))/0x3+-parseInt(_0x324b69(0x214))/0x4*(parseInt(_0x324b69(0x1bb))/0x5)+parseInt(_0x324b69(0x1de))/0x6+-parseInt(_0x324b69(0x1fb))/0x7+-parseInt(_0x324b69(0x1fa))/0x8+parseInt(_0x324b69(0x1dc))/0x9*(parseInt(_0x324b69(0x1ab))/0xa);if(_0x4ac2c6===_0x443a3e)break;else _0x538606['push'](_0x538606['shift']());}catch(_0x48dab4){_0x538606['push'](_0x538606['shift']());}}}(a2_0x1824,0xc0fb1));function a2_0xc863(_0x5e4f1d,_0x321977){const _0x1824ac=a2_0x1824();return a2_0xc863=function(_0xc8632,_0x3974ea){_0xc8632=_0xc8632-0x193;let _0x59a9eb=_0x1824ac[_0xc8632];return _0x59a9eb;},a2_0xc863(_0x5e4f1d,_0x321977);}const fs=require('fs'),path=require(a2_0x104b21(0x1c8)),util=require(a2_0x104b21(0x1c1)),process=require(a2_0x104b21(0x1c3)),logger=require(a2_0x104b21(0x1ad))[a2_0x104b21(0x1ae)],{default:BrowserStackSetup}=require(a2_0x104b21(0x19f)),helper=require(a2_0x104b21(0x208)),utilities=require(a2_0x104b21(0x1a8)),{checkAccessibilityPlatformConfig}=require(a2_0x104b21(0x1fe)),{setAccessibilityCapabilities}=require(a2_0x104b21(0x1d3)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x104b21(0x208)),CodeceptJS=requireModule(a2_0x104b21(0x1af),a2_0x104b21(0x20b)),testOpsHelper=require(a2_0x104b21(0x1ee)),TestHubHandler=require(a2_0x104b21(0x1ed)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x104b21(0x1c9)),{FRAMEWORKS}=require(a2_0x104b21(0x1df)),PerformanceEvents=require(a2_0x104b21(0x1f9))[a2_0x104b21(0x209)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1810d3,_0x414ac8)=>{const _0x52e7c0=a2_0x104b21,_0x468c9e={};_0x468c9e[_0x52e7c0(0x1e2)]=function(_0x397b95,_0x4007c8){return _0x397b95===_0x4007c8;},_0x468c9e[_0x52e7c0(0x1cd)]=_0x52e7c0(0x220),_0x468c9e[_0x52e7c0(0x21d)]=_0x52e7c0(0x1e5);const _0x386b99=_0x468c9e;let _0x2e4bfb=null;const _0x5e6bc5={};let _0x5114ff=_0x414ac8[_0x52e7c0(0x1e1)](_0x4a74c9=>_0x4a74c9===_0x52e7c0(0x1ac));_0x386b99[_0x52e7c0(0x1e2)](_0x5114ff,-0x1)&&(_0x5114ff=_0x414ac8[_0x52e7c0(0x1e1)](_0x32f818=>_0x32f818==='-c'));if(!helper['isUndefined'](_0x1810d3[_0x52e7c0(0x1e4)])&&fs[_0x52e7c0(0x1b7)](path['join'](process['cwd'](),_0x1810d3['config'])))_0x2e4bfb=path[_0x52e7c0(0x21e)](process[_0x52e7c0(0x194)](),_0x1810d3[_0x52e7c0(0x1e4)]),_0x414ac8[_0x52e7c0(0x1c6)](_0x5114ff,0x2);else{if(!helper[_0x52e7c0(0x1a2)](_0x1810d3['c'])&&fs[_0x52e7c0(0x1b7)](path[_0x52e7c0(0x21e)](process['cwd'](),_0x1810d3['c'])))_0x2e4bfb=path[_0x52e7c0(0x21e)](process['cwd'](),_0x1810d3['c']),_0x414ac8[_0x52e7c0(0x1c6)](_0x5114ff,0x2);else{if(fs[_0x52e7c0(0x1b7)](path[_0x52e7c0(0x21e)](process[_0x52e7c0(0x194)](),_0x386b99[_0x52e7c0(0x1cd)])))_0x2e4bfb=path[_0x52e7c0(0x21e)](process['cwd'](),_0x386b99[_0x52e7c0(0x1cd)]);else fs[_0x52e7c0(0x1b7)](path[_0x52e7c0(0x21e)](process['cwd'](),_0x386b99[_0x52e7c0(0x21d)]))&&(_0x2e4bfb=path[_0x52e7c0(0x21e)](process[_0x52e7c0(0x194)](),_0x386b99[_0x52e7c0(0x21d)]));}}return process[_0x52e7c0(0x19a)][_0x52e7c0(0x1f3)]=_0x2e4bfb,_0x2e4bfb;},getO11yRerunPattern=()=>{const _0x3a06a7=a2_0x104b21,_0x3df7c8=helper[_0x3a06a7(0x1c2)](process[_0x3a06a7(0x19a)][_0x3a06a7(0x202)]);if(_0x3df7c8){const _0xb868b=process[_0x3a06a7(0x19a)][_0x3a06a7(0x1e0)],_0x238939=[];if(helper['validateRerunTestList'](_0xb868b)&&!helper[_0x3a06a7(0x1a2)](_0xb868b)){_0xb868b[_0x3a06a7(0x1bf)](',')[_0x3a06a7(0x1a4)](_0x2f5dc6=>{const _0x15587a=_0x3a06a7;_0x238939[_0x15587a(0x1aa)]('('+_0x2f5dc6[_0x15587a(0x1d4)]()+')');});const _0x4c5709='^'+_0x238939['join']('|')+'$';return _0x4c5709;}}return null;},a2_0x8ef587={};function a2_0x1824(){const _0x1f856b=['toLowerCase','HQngY','finalExecution','../../helpers/testhub/testhubHandler','../../helpers/test-observability/utils','playwright-firefox','webkit','spawn','bootstrapAll','USER_CONFIG_DETAILS_PATH','playwright-chromium','622123WbZnyy','profile','failed','Started\x20:\x20','../../helpers/performance/constants','4531456gkeVgi','1449588bLIJxK','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','helpers','../../helpers/accessibility-automation/helper','addOptions','isTestObservabilitySession','addTests','BROWSERSTACK_RERUN','firefox','zelRh','useW3C','gFJeN','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/helper','EVENTS','mergeDeep','codeceptjs','stack','chromium','2WAdxMV','SfSsQ','BrowserStackPlugin','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_YML','load','16508KQrkVP','browserStackCwd','root','forEach','YEWof','uoTQs','WGrwy','format','accessibilityOptions','RSKfp','join','yScwc','codecept.conf.js','test','KHycW','prepareCapabilities','cwd','event','testContextOptions','mKOaL','stringify','plugins','env','clKhL','gherkin','CODECEPT','WebDriver','../../helpers/BrowserStackSetup','isEmpty','uJAgH','isUndefined','printResults','map','getPlaywrightUrl','browserWSEndpoint','BrowserStackPlugin.js','../../helpers/utilities','3292476ULZyqj','push','4860470cgUkbN','--config','../../helpers/logger','winstonLogger','codeceptjs/lib/index.js','launchBuild','jzVAj','accessibility','XvVTe','SDK_SETUP','dirname','testConfig','existsSync','validPlatformsPresent','testObservability','CnJVC','925MmkBQf','errorMessage','getUserWorkerCount','stop','split','Failed\x20:\x20','util','isTrue','process','info','skipSessionStatus','slice','getPlatformName','path','../../helpers/performance/performance-tester','BFuvK','createGroupsOfSuites','browserName','HcHaD','exports','end','desiredCapabilities','browser','Workers','../../bin/playwright/accessibility-helper','trim','length','chdir','FRAMEWORKS','before','TQptx','chrome','title','18aNWGln','require','5279982OBncSP','../../helpers/test-observability/constants','BROWSERSTACK_RERUN_TESTS','findIndex','SmxGK','Playwright','config','codecept.json','log','passed','start','parallelsPerPlatform'];a2_0x1824=function(){return _0x1f856b;};return a2_0x1824();}a2_0x8ef587[a2_0x104b21(0x1da)]=a2_0x104b21(0x20d),a2_0x8ef587[a2_0x104b21(0x1f4)]=a2_0x104b21(0x20d),a2_0x8ef587[a2_0x104b21(0x1ef)]=a2_0x104b21(0x203),a2_0x8ef587['playwright-webkit']=a2_0x104b21(0x1f0);const pwToCodeceptBrowser=a2_0x8ef587;async function run(_0x410eac,_0x2ddc2b,_0x28be51){const _0x253a9e=a2_0x104b21,_0x366f00={'TQptx':function(_0x287612,_0x4a66b5){return _0x287612+_0x4a66b5;},'clKhL':function(_0x3d0ba0,_0x251f1a){return _0x3d0ba0(_0x251f1a);},'YEWof':function(_0x418947,_0x2ab093,_0x5f0eb0){return _0x418947(_0x2ab093,_0x5f0eb0);},'XvVTe':_0x253a9e(0x1fd),'BFuvK':function(_0x43f31d){return _0x43f31d();},'gFJeN':_0x253a9e(0x1c0),'rVcfQ':'Passed\x20:\x20','ybUYF':_0x253a9e(0x1f8),'tpwLV':'3|5|1|0|4|2','OoSwC':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','uJAgH':function(_0xb16569,_0x13457b,_0x17628a){return _0xb16569(_0x13457b,_0x17628a);},'mKOaL':_0x253a9e(0x1e3),'HQngY':_0x253a9e(0x19e),'CnJVC':function(_0x335b23,_0x2590e5){return _0x335b23!=_0x2590e5;},'ZnThH':function(_0x3b1e53,_0x5f029f){return _0x3b1e53===_0x5f029f;},'uoTQs':_0x253a9e(0x19c),'mNLwS':function(_0x4f403e,_0x4dd767){return _0x4f403e*_0x4dd767;},'WGrwy':function(_0x1db032,_0x308917,_0x5d8949){return _0x1db032(_0x308917,_0x5d8949);},'SfSsQ':'browser','jzVAj':'desiredCapabilities','zelRh':_0x253a9e(0x216),'yScwc':_0x253a9e(0x1a7),'KHycW':_0x253a9e(0x215)};await _0x28be51['initialize'](_0x410eac),await helper['handleApp'](_0x28be51[_0x253a9e(0x1e4)]);if(!_0x28be51[_0x253a9e(0x1e4)])return;process[_0x253a9e(0x1f6)]=_0x410eac[_0x253a9e(0x1f6)];_0x410eac[_0x253a9e(0x1f6)]&&(process[_0x253a9e(0x19a)][_0x253a9e(0x1f6)]=_0x410eac['profile']);const _0x27d747=_0x366f00['YEWof'](getUserCodeceptJSConfigs,_0x410eac,_0x2ddc2b);let _0x182144={};_0x27d747?(logger[_0x253a9e(0x1c4)](_0x253a9e(0x1fc)+_0x27d747),_0x182144=CodeceptJS[_0x253a9e(0x1e4)][_0x253a9e(0x213)](_0x27d747)):logger[_0x253a9e(0x1c4)](_0x366f00['OoSwC']);let _0xd696e=![];_0x366f00['uJAgH'](nestedKeyValue,_0x182144,[_0x366f00[_0x253a9e(0x1b3)],_0x366f00[_0x253a9e(0x197)]])&&(_0xd696e=!![]);const _0x1e7b43=_0xd696e?_0x366f00[_0x253a9e(0x197)]:_0x366f00[_0x253a9e(0x1eb)];let _0x3fb238=!_0xd696e?helper[_0x253a9e(0x205)](_0x28be51[_0x253a9e(0x1e4)]):![];!helper[_0x253a9e(0x1a2)](_0x28be51['config'][_0x253a9e(0x21c)])&&(process['env'][_0x253a9e(0x207)]=JSON[_0x253a9e(0x198)](_0x28be51[_0x253a9e(0x1e4)]['accessibilityOptions']));let _0x15c121=_0x28be51['config'][_0x253a9e(0x1b2)];_0x15c121=_0x15c121||_0x366f00[_0x253a9e(0x19b)](checkAccessibilityPlatformConfig,_0x28be51[_0x253a9e(0x1e4)]),process[_0x253a9e(0x19a)][_0x253a9e(0x212)]=_0x15c121;_0x15c121&&(_0x3fb238=!_0x15c121);_0x366f00[_0x253a9e(0x1ba)](_0x28be51[_0x253a9e(0x1e4)]['testObservability'],null)?process['env'][_0x253a9e(0x211)]=_0x28be51[_0x253a9e(0x1e4)][_0x253a9e(0x1b9)]:process['env'][_0x253a9e(0x211)]=_0x366f00['ZnThH'](_0x1e7b43,_0x366f00['mKOaL']);const _0x41450a=_0x366f00['uJAgH'](nestedKeyValue,_0x182144,[_0x366f00[_0x253a9e(0x219)]]),_0x21d029=_0x41450a&&!helper[_0x253a9e(0x1a0)](_0x41450a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x253a9e(0x19d)],_0x43a163=await TestHubHandler[_0x253a9e(0x1b0)](_0x21d029,_0x28be51);_0x15c121&&_0x366f00[_0x253a9e(0x19b)](setAccessibilityCapabilities,_0x28be51[_0x253a9e(0x1e4)]);const _0x271e2d={},_0x55339e=[],_0x201969=_0x28be51['config'][_0x253a9e(0x1e9)]||helper[_0x253a9e(0x1bd)](_0x410eac,_0x2ddc2b,_0x28be51[_0x253a9e(0x1e4)],constants[_0x253a9e(0x1d7)]['CODECEPT'])||0x1;let _0x22d657=0x1;if(_0x366f00[_0x253a9e(0x1ca)](isBrowserstackInfra)){const _0x4e0fd6=helper['prepareCapabilities'](_0x28be51[_0x253a9e(0x1e4)],_0x3fb238,constants[_0x253a9e(0x1d7)][_0x253a9e(0x19d)]);_0x4e0fd6[_0x253a9e(0x217)](_0x3bc302=>{helper['setAdditionalCapabilities'](_0x3bc302);}),helper[_0x253a9e(0x1b8)](_0x28be51[_0x253a9e(0x1e4)])?_0x22d657=_0x366f00['mNLwS'](_0x201969,_0x28be51['config']['platforms'][_0x253a9e(0x1d5)]):_0x22d657=_0x201969,_0x4e0fd6[_0x253a9e(0x217)](_0x3f9e24=>{const _0x2e0864=_0x253a9e,_0x40f1be=_0x366f00[_0x2e0864(0x1d9)](helper[_0x2e0864(0x1c7)](_0x3f9e24,'_'),'_'+Date['now']()),_0x5870c8=((()=>{const _0x190bb9=_0x2e0864;if(_0xd696e){const _0x3d17a2=pwToCodeceptBrowser[_0x3f9e24[_0x190bb9(0x1cc)]]||_0x3f9e24[_0x190bb9(0x1cc)];return{'browser':_0x3d17a2,[_0x3d17a2]:{'browserWSEndpoint':_0x366f00[_0x190bb9(0x1d9)](helper[_0x190bb9(0x1a5)](_0x28be51['config']),_0x366f00[_0x190bb9(0x19b)](encodeURIComponent,JSON['stringify'](_0x3f9e24)))}};}const _0x43eb88={};return _0x43eb88[_0x190bb9(0x1d0)]=_0x3f9e24,_0x43eb88;})()),_0x400e1e=_0x366f00[_0x2e0864(0x218)](nestedKeyValue,_0x182144,[_0x366f00['XvVTe'],_0x1e7b43]);_0x271e2d[_0x40f1be]=_0x400e1e?helper[_0x2e0864(0x20a)](_0x5870c8,_0x400e1e):_0x5870c8,!_0xd696e&&(_0x271e2d[_0x40f1be][_0x2e0864(0x1d1)]=_0x3f9e24[_0x2e0864(0x1cc)]||_0x5870c8[_0x2e0864(0x1d1)]),_0x55339e['push'](_0x40f1be);});}else{_0x22d657=0x1;if(_0xd696e){const _0x36c1c4=_0x366f00[_0x253a9e(0x21a)](nestedKeyValue,_0x182144,[_0x366f00[_0x253a9e(0x1b3)],_0x1e7b43,_0x366f00[_0x253a9e(0x20f)]]),_0x458788=_0x366f00[_0x253a9e(0x218)](nestedKeyValue,_0x182144,[_0x366f00[_0x253a9e(0x1b3)],_0x1e7b43,_0x36c1c4]);_0x458788&&_0x458788[_0x253a9e(0x1a6)]&&(_0x458788['browserWSEndpoint']=helper[_0x253a9e(0x193)](null,null,_0x21d029[_0x253a9e(0x1ea)](),null,null,_0x458788[_0x253a9e(0x1a6)]));}else _0x182144[_0x366f00['XvVTe']][_0x1e7b43][_0x366f00[_0x253a9e(0x1b1)]]=helper[_0x253a9e(0x193)](null,null,_0x21d029[_0x253a9e(0x1ea)](),_0x366f00[_0x253a9e(0x1a1)](nestedKeyValue,_0x182144,[_0x366f00[_0x253a9e(0x1b3)],_0x1e7b43,_0x366f00[_0x253a9e(0x1b1)]]),null,null);_0x271e2d[_0x366f00[_0x253a9e(0x204)]]=_0x182144,_0x55339e[_0x253a9e(0x1aa)](_0x366f00['zelRh']);}const _0x2ca4ad={};_0x2ca4ad[_0x253a9e(0x1b6)]=_0x27d747;const _0x3537e9=_0x2ca4ad,_0x14cb37=path[_0x253a9e(0x21e)](__dirname,_0x366f00[_0x253a9e(0x21f)]),_0xfbf701=process['cwd']();process[_0x253a9e(0x19a)][_0x366f00[_0x253a9e(0x222)]]=_0xfbf701,process[_0x253a9e(0x1d6)](path[_0x253a9e(0x1b5)](_0x27d747));const _0x32a6b9=new CodeceptJS[(_0x253a9e(0x1d2))](null,_0x3537e9),_0x156620=_0x32a6b9[_0x253a9e(0x1cb)](_0x22d657),_0x36ad34=testOpsHelper[_0x253a9e(0x200)](),_0x3a5a05=_0x55339e['map'](_0x27dcd4=>{const _0x3c8080=_0x253a9e,_0x4535d1={};_0x4535d1[_0x3c8080(0x1e3)]=_0x271e2d[_0x27dcd4];const _0x2cffae={};_0x2cffae['WebDriver']=_0x271e2d[_0x27dcd4];const _0x167253=_0xd696e?_0x4535d1:_0x2cffae,_0x32f1d6=_0x366f00['BFuvK'](getO11yRerunPattern),_0x40fccd={};_0x40fccd[_0x3c8080(0x1fd)]=_0x167253;const _0x299f61={};_0x299f61[_0x3c8080(0x1dd)]=_0x14cb37,_0x299f61['enabled']=!![],_0x299f61['skipSessionName']=_0x28be51[_0x3c8080(0x1e4)][_0x3c8080(0x196)]['skipSessionName'],_0x299f61[_0x3c8080(0x1c5)]=_0x28be51[_0x3c8080(0x1e4)][_0x3c8080(0x196)]['skipSessionStatus'],_0x299f61[_0x3c8080(0x1b9)]=_0x36ad34,_0x299f61['frameworkName']=_0x21d029;const _0x1e0826={};_0x1e0826[_0x3c8080(0x210)]=_0x299f61;const _0x18f98e={};return _0x18f98e[_0x3c8080(0x199)]=_0x1e0826,helper[_0x3c8080(0x20a)]({},_0x182144,_0x366f00[_0x3c8080(0x1ca)](isBrowserstackInfra)?_0x40fccd:{},_0x32f1d6?{'grep':_0x32f1d6}:{},_0x18f98e);});for(const _0x1d6fe5 of _0x3a5a05){for(const _0x16b985 of _0x156620){const _0x3c4c56=_0x32a6b9[_0x253a9e(0x1f1)]();_0x3c4c56[_0x253a9e(0x201)](_0x16b985),_0x3c4c56['addConfig'](_0x1d6fe5);const _0x4fe77d={};_0x4fe77d[_0x253a9e(0x1e4)]=_0x27d747,_0x3c4c56[_0x253a9e(0x1ff)](_0x4fe77d);}}_0x32a6b9['on'](CodeceptJS['event'][_0x253a9e(0x221)][_0x253a9e(0x1f7)],(_0x3a3a76,_0x40617a)=>{const _0x7438df=_0x253a9e;console[_0x7438df(0x1e6)](_0x366f00[_0x7438df(0x206)],_0x3a3a76[_0x7438df(0x1db)]);const _0x461993={[_0x3a3a76[_0x7438df(0x1db)]]:_0x3a3a76['err'][_0x7438df(0x20c)]};_testErrorData['push'](_0x461993);}),_0x32a6b9['on'](CodeceptJS[_0x253a9e(0x195)]['test'][_0x253a9e(0x1e7)],async _0xfbf626=>{console['log'](_0x366f00['rVcfQ'],_0xfbf626['title']);}),_0x32a6b9['on'](CodeceptJS[_0x253a9e(0x195)][_0x253a9e(0x221)][_0x253a9e(0x1d8)],async _0x29f63a=>{const _0xf23b67=_0x253a9e;console[_0xf23b67(0x1e6)](_0x366f00['ybUYF'],_0x29f63a[_0xf23b67(0x1db)]);}),_0x32a6b9['on'](CodeceptJS[_0x253a9e(0x195)]['all']['result'],async()=>{const _0x29263c=_0x253a9e,_0x8d5924=_0x366f00['tpwLV'][_0x29263c(0x1bf)]('|');let _0x4f8582=0x0;while(!![]){switch(_0x8d5924[_0x4f8582++]){case'0':utilities[_0x29263c(0x1ec)](_0x28be51);continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x32a6b9[_0x29263c(0x1a3)]();continue;case'3':PerformanceTester[_0x29263c(0x1e8)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':try{await TestHubHandler[_0x29263c(0x1be)]();}catch(_0x45bc3c){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x29263c(0x21b)](_0x45bc3c));}continue;case'5':_0x28be51[_0x29263c(0x1bc)]=_testErrorData;continue;}break;}});async function _0x576364(){const _0x30fe25=_0x253a9e;try{await _0x32a6b9[_0x30fe25(0x1f2)](),await _0x32a6b9['run']();}finally{process[_0x30fe25(0x1d6)](_0xfbf701),await _0x32a6b9['teardownAll']();}}PerformanceTester[_0x253a9e(0x1cf)](PerformanceEvents[_0x253a9e(0x1b4)]),_0x366f00[_0x253a9e(0x1ca)](_0x576364);}module[a2_0x104b21(0x1ce)]=run;
|
|
2
|
+
'use strict';const a2_0x4f9439=a2_0x40f8;function a2_0x40f8(_0x4bbc22,_0x163137){const _0x2e5502=a2_0x2e55();return a2_0x40f8=function(_0x40f89c,_0x525f9d){_0x40f89c=_0x40f89c-0x132;let _0x1c3574=_0x2e5502[_0x40f89c];return _0x1c3574;},a2_0x40f8(_0x4bbc22,_0x163137);}(function(_0x5795af,_0xa457e7){const _0x1b13c1=a2_0x40f8,_0x446e24=_0x5795af();while(!![]){try{const _0x420a2e=parseInt(_0x1b13c1(0x1ae))/0x1+-parseInt(_0x1b13c1(0x162))/0x2*(-parseInt(_0x1b13c1(0x179))/0x3)+-parseInt(_0x1b13c1(0x174))/0x4*(-parseInt(_0x1b13c1(0x1a2))/0x5)+parseInt(_0x1b13c1(0x178))/0x6*(parseInt(_0x1b13c1(0x19a))/0x7)+parseInt(_0x1b13c1(0x134))/0x8+-parseInt(_0x1b13c1(0x16e))/0x9+-parseInt(_0x1b13c1(0x14e))/0xa;if(_0x420a2e===_0xa457e7)break;else _0x446e24['push'](_0x446e24['shift']());}catch(_0x33e124){_0x446e24['push'](_0x446e24['shift']());}}}(a2_0x2e55,0x536fe));const fs=require('fs'),path=require(a2_0x4f9439(0x160)),util=require(a2_0x4f9439(0x19e)),process=require(a2_0x4f9439(0x187)),logger=require('../../helpers/logger')[a2_0x4f9439(0x158)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x4f9439(0x154)),utilities=require(a2_0x4f9439(0x184)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4f9439(0x154)),CodeceptJS=requireModule(a2_0x4f9439(0x175),a2_0x4f9439(0x1b8)),testOpsHelper=require(a2_0x4f9439(0x17d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4f9439(0x1a9)),{FRAMEWORKS}=require(a2_0x4f9439(0x190)),PerformanceEvents=require(a2_0x4f9439(0x165))[a2_0x4f9439(0x1b9)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2b0f5a,_0x59fb56)=>{const _0x1e0513=a2_0x4f9439,_0x317f01={};_0x317f01['VZCxZ']=function(_0x89587d,_0x3c7505){return _0x89587d===_0x3c7505;},_0x317f01[_0x1e0513(0x1b2)]=_0x1e0513(0x18b),_0x317f01['wfiEl']=_0x1e0513(0x146);const _0x36d6f8=_0x317f01;let _0x2790f8=null;const _0x519409={};let _0x14d430=_0x59fb56['findIndex'](_0x291258=>_0x291258===_0x1e0513(0x18e));_0x36d6f8['VZCxZ'](_0x14d430,-0x1)&&(_0x14d430=_0x59fb56['findIndex'](_0x1a3f67=>_0x1a3f67==='-c'));if(!helper[_0x1e0513(0x19c)](_0x2b0f5a[_0x1e0513(0x193)])&&fs['existsSync'](path[_0x1e0513(0x164)](process['cwd'](),_0x2b0f5a[_0x1e0513(0x193)])))_0x2790f8=path['join'](process['cwd'](),_0x2b0f5a[_0x1e0513(0x193)]),_0x59fb56['slice'](_0x14d430,0x2);else{if(!helper[_0x1e0513(0x19c)](_0x2b0f5a['c'])&&fs[_0x1e0513(0x1b3)](path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x2b0f5a['c'])))_0x2790f8=path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x2b0f5a['c']),_0x59fb56[_0x1e0513(0x183)](_0x14d430,0x2);else{if(fs[_0x1e0513(0x1b3)](path['join'](process['cwd'](),_0x36d6f8[_0x1e0513(0x1b2)])))_0x2790f8=path['join'](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x1b2)]);else fs['existsSync'](path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x16d)]))&&(_0x2790f8=path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x16d)]));}}return process[_0x1e0513(0x1ab)][_0x1e0513(0x17e)]=_0x2790f8,_0x2790f8;},getO11yRerunPattern=()=>{const _0x3854ce=a2_0x4f9439,_0x1fac61=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x1fac61){const _0x107da8=process[_0x3854ce(0x1ab)][_0x3854ce(0x142)],_0x32392f=[];if(helper[_0x3854ce(0x191)](_0x107da8)&&!helper[_0x3854ce(0x19c)](_0x107da8)){_0x107da8[_0x3854ce(0x167)](',')[_0x3854ce(0x136)](_0x18e21a=>{const _0x3fdb03=_0x3854ce;_0x32392f['push']('('+_0x18e21a[_0x3fdb03(0x1be)]()+')');});const _0xb7448b='^'+_0x32392f[_0x3854ce(0x164)]('|')+'$';return _0xb7448b;}}return null;},a2_0x7ffccb={};a2_0x7ffccb[a2_0x4f9439(0x13f)]='chromium',a2_0x7ffccb['playwright-chromium']='chromium',a2_0x7ffccb['playwright-firefox']=a2_0x4f9439(0x186),a2_0x7ffccb[a2_0x4f9439(0x1bc)]=a2_0x4f9439(0x144);function a2_0x2e55(){const _0x2a6738=['helpers','1076814uEhTKK','BROWSERSTACK_TEST_ACCESSIBILITY_YML','join','../../helpers/performance/constants','fLHkt','split','isTestObservabilitySession','log','spawn','run','SDK_SETUP','wfiEl','3191931ZFroti','PEHaT','browser','skipSessionStatus','qqrTX','now','535360BVTiUQ','codeceptjs/lib/index.js','handleApp','parallelsPerPlatform','24396tqBhfA','3wSPJub','BROWSERSTACK_TEST_OBSERVABILITY_YML','UofPt','testObservability','../../helpers/test-observability/utils','USER_CONFIG_DETAILS_PATH','SgMON','skipSessionName','/wd/hub','event','slice','../../helpers/utilities','getPlatformName','firefox','process','CODECEPT','passed','AkGWe','codecept.conf.js','isEmpty','useW3C','--config','vKzvK','../../helpers/test-observability/constants','validateRerunTestList','require','config','2|0|3|4|1|5','all','stringify','desiredCapabilities','start','Workers','777JWUjMP','UMiDk','isUndefined','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','addTests','WebDriver','hubUrl','15JjbRXR','CODECEPT_CUCUMBER','wVjpJ','Vtfqy','Playwright','exports','browserWSEndpoint','../../helpers/performance/performance-tester','gherkin','env','hxHBW','stack','30540NFvvSV','test','launchBuild','before','ZSlPx','existsSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','addConfig','codeceptjs','EVENTS','WYFUv','validPlatformsPresent','playwright-webkit','KRJqL','trim','result','chdir','setAdditionalCapabilities','initialize','bootstrapAll','cwd','EHzqd','1659992AwODlw','printBuildLink','map','SDK_CLEANUP','prepareCapabilities','root','getUserWorkerCount','PWGxj','title','plugins','addOptions','chrome','SxZyr','accessibilityOptions','BROWSERSTACK_RERUN_TESTS','sUzSh','webkit','forEach','codecept.json','Passed\x20:\x20','zQagO','testConfig','replace','length','profile','browserName','9328750BgOqKd','errorMessage','testContextOptions','getPlaywrightUrl','toLowerCase','mergeDeep','../../helpers/helper','failed','FRAMEWORKS','jeYWp','winstonLogger','frameworkName','finalExecution','xvJnA','info','wjHca','stop','err','path'];a2_0x2e55=function(){return _0x2a6738;};return a2_0x2e55();}const pwToCodeceptBrowser=a2_0x7ffccb;async function run(_0x1af92f,_0x46b78c,_0x21020d){const _0x8b6dd6=a2_0x4f9439,_0x3c1780={'UMiDk':function(_0x2530a7,_0x164677){return _0x2530a7+_0x164677;},'SgMON':function(_0x5b5aed,_0xbd2829){return _0x5b5aed(_0xbd2829);},'wVjpJ':function(_0x1f16a9,_0xd1b0af,_0xb6c8d0){return _0x1f16a9(_0xd1b0af,_0xb6c8d0);},'EHzqd':_0x8b6dd6(0x161),'jeYWp':function(_0x2c8869){return _0x2c8869();},'WYFUv':_0x8b6dd6(0x181),'SxZyr':function(_0xb94b66){return _0xb94b66();},'zQagO':'Failed\x20:\x20','AkGWe':_0x8b6dd6(0x147),'hxHBW':'Started\x20:\x20','KSgrU':_0x8b6dd6(0x194),'PEHaT':function(_0x5043b7,_0x5e1a19,_0x168a36){return _0x5043b7(_0x5e1a19,_0x168a36);},'Mezhi':_0x8b6dd6(0x19d),'qqrTX':_0x8b6dd6(0x1a6),'JBDXB':_0x8b6dd6(0x1a0),'HrsxL':function(_0x5e8787,_0x5dfd6e){return _0x5e8787!=_0x5dfd6e;},'UofPt':function(_0x26a394,_0x8d9b04){return _0x26a394===_0x8d9b04;},'Vtfqy':_0x8b6dd6(0x1aa),'PWGxj':function(_0x2d6832,_0x36419e){return _0x2d6832(_0x36419e);},'wjHca':function(_0x495f4b){return _0x495f4b();},'SiVbV':function(_0x3fbef6,_0x4be2e5){return _0x3fbef6*_0x4be2e5;},'KRJqL':'browser','xvJnA':_0x8b6dd6(0x197),'sUzSh':function(_0x465255,_0x1ed464,_0x5f054c){return _0x465255(_0x1ed464,_0x5f054c);},'vKzvK':_0x8b6dd6(0x139),'cAXAg':'BrowserStackPlugin.js','fLHkt':'browserStackCwd','QCYci':function(_0x2fa66f){return _0x2fa66f();}};await _0x21020d[_0x8b6dd6(0x1c2)](_0x1af92f),await helper[_0x8b6dd6(0x176)](_0x21020d[_0x8b6dd6(0x193)]);if(!_0x21020d['config'])return;process[_0x8b6dd6(0x14c)]=_0x1af92f['profile'];_0x1af92f[_0x8b6dd6(0x14c)]&&(process['env'][_0x8b6dd6(0x14c)]=_0x1af92f['profile']);const _0x596c8b=_0x3c1780['PEHaT'](getUserCodeceptJSConfigs,_0x1af92f,_0x46b78c);let _0x2034a8={};_0x596c8b?(logger[_0x8b6dd6(0x15c)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x596c8b),_0x2034a8=CodeceptJS['config']['load'](_0x596c8b)):logger[_0x8b6dd6(0x15c)](_0x3c1780['Mezhi']);let _0x1212c7=![];_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x3c1780[_0x8b6dd6(0x172)]])&&(_0x1212c7=!![]);const _0x5418a2=_0x1212c7?_0x3c1780[_0x8b6dd6(0x172)]:_0x3c1780['JBDXB'];let _0x29a06e=!_0x1212c7?helper[_0x8b6dd6(0x18d)](_0x21020d[_0x8b6dd6(0x193)]):![];!helper[_0x8b6dd6(0x19c)](_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x141)])&&(process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x1b4)]=JSON[_0x8b6dd6(0x196)](_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x141)]));let _0x219f5c=_0x21020d[_0x8b6dd6(0x193)]['accessibility'];_0x219f5c=_0x219f5c||_0x3c1780['SgMON'](checkAccessibilityPlatformConfig,_0x21020d[_0x8b6dd6(0x193)]),process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x163)]=_0x219f5c;_0x219f5c&&(_0x29a06e=!_0x219f5c);_0x3c1780['HrsxL'](_0x21020d['config'][_0x8b6dd6(0x17c)],null)?process[_0x8b6dd6(0x1ab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x17c)]:process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x17a)]=_0x3c1780[_0x8b6dd6(0x17b)](_0x5418a2,_0x3c1780[_0x8b6dd6(0x172)]);const _0x28bc60=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x1a5)]]),_0x3fbe8c=_0x28bc60&&!helper[_0x8b6dd6(0x18c)](_0x28bc60)?FRAMEWORKS[_0x8b6dd6(0x1a3)]:FRAMEWORKS[_0x8b6dd6(0x188)],_0x2996fb=await TestHubHandler[_0x8b6dd6(0x1b0)](_0x3fbe8c,_0x21020d);_0x219f5c&&_0x3c1780[_0x8b6dd6(0x13b)](setAccessibilityCapabilities,_0x21020d[_0x8b6dd6(0x193)]);const _0x1da789={},_0x4db998=[],_0x2c28e5=_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x177)]||helper[_0x8b6dd6(0x13a)](_0x1af92f,_0x46b78c,_0x21020d[_0x8b6dd6(0x193)],constants[_0x8b6dd6(0x156)][_0x8b6dd6(0x188)])||0x1;let _0x5c5a3b=0x1;if(_0x3c1780[_0x8b6dd6(0x15d)](isBrowserstackInfra)){const _0x456939=helper[_0x8b6dd6(0x138)](_0x21020d[_0x8b6dd6(0x193)],_0x29a06e,constants[_0x8b6dd6(0x156)][_0x8b6dd6(0x188)]);_0x456939[_0x8b6dd6(0x145)](_0x5e9187=>{const _0xa7802a=_0x8b6dd6;helper[_0xa7802a(0x1c1)](_0x5e9187);}),helper[_0x8b6dd6(0x1bb)](_0x21020d[_0x8b6dd6(0x193)])?_0x5c5a3b=_0x3c1780['SiVbV'](_0x2c28e5,_0x21020d[_0x8b6dd6(0x193)]['platforms'][_0x8b6dd6(0x14b)]):_0x5c5a3b=_0x2c28e5,_0x456939['forEach'](_0x5a8e4f=>{const _0x50e093=_0x8b6dd6,_0x2267c9=_0x3c1780['UMiDk'](helper[_0x50e093(0x185)](_0x5a8e4f,'_'),'_'+Date[_0x50e093(0x173)]()),_0x211973=((()=>{const _0x5b6f1a=_0x50e093;if(_0x1212c7){const _0x4ef8d5=pwToCodeceptBrowser[_0x5a8e4f[_0x5b6f1a(0x14d)]]||_0x5a8e4f[_0x5b6f1a(0x14d)];return{'browser':_0x4ef8d5,[_0x4ef8d5]:{'browserWSEndpoint':_0x3c1780[_0x5b6f1a(0x19b)](helper[_0x5b6f1a(0x151)](_0x21020d[_0x5b6f1a(0x193)]),_0x3c1780[_0x5b6f1a(0x17f)](encodeURIComponent,JSON[_0x5b6f1a(0x196)](_0x5a8e4f)))}};}const _0x51cbbe={};return _0x51cbbe[_0x5b6f1a(0x197)]=_0x5a8e4f,_0x51cbbe;})()),_0x8af902=_0x3c1780[_0x50e093(0x1a4)](nestedKeyValue,_0x2034a8,[_0x3c1780['EHzqd'],_0x5418a2]);_0x1da789[_0x2267c9]=_0x8af902?helper[_0x50e093(0x153)](_0x211973,_0x8af902):_0x211973;if(!_0x1212c7){_0x1da789[_0x2267c9][_0x50e093(0x170)]=_0x5a8e4f[_0x50e093(0x14d)]||_0x211973['browser'];if(_0x3c1780[_0x50e093(0x157)](isBrowserstackInfra)){_0x1da789[_0x2267c9]['host']=constants[_0x50e093(0x1a1)][_0x50e093(0x14a)](_0x3c1780[_0x50e093(0x1ba)],'')[_0x50e093(0x14a)](/https?:\/\//,'');;_0x1da789[_0x2267c9][_0x50e093(0x160)]=_0x3c1780[_0x50e093(0x1ba)];}}_0x4db998[_0x50e093(0x1b5)](_0x2267c9);});}else{_0x5c5a3b=0x1;if(_0x1212c7){const _0x13b201=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780['EHzqd'],_0x5418a2,_0x3c1780[_0x8b6dd6(0x1bd)]]),_0x240263=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x5418a2,_0x13b201]);_0x240263&&_0x240263[_0x8b6dd6(0x1a8)]&&(_0x240263['browserWSEndpoint']=helper[_0x8b6dd6(0x138)](null,null,_0x3fbe8c[_0x8b6dd6(0x152)](),null,null,_0x240263[_0x8b6dd6(0x1a8)]));}else _0x2034a8[_0x3c1780[_0x8b6dd6(0x133)]][_0x5418a2][_0x3c1780[_0x8b6dd6(0x15b)]]=helper[_0x8b6dd6(0x138)](null,null,_0x3fbe8c['toLowerCase'](),_0x3c1780[_0x8b6dd6(0x143)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x5418a2,_0x3c1780[_0x8b6dd6(0x15b)]]),null,null);_0x1da789[_0x3c1780['vKzvK']]=_0x2034a8,_0x4db998[_0x8b6dd6(0x1b5)](_0x3c1780[_0x8b6dd6(0x18f)]);}const _0x49e03e={};_0x49e03e[_0x8b6dd6(0x149)]=_0x596c8b;const _0x4486fb=_0x49e03e,_0x2452f8=path[_0x8b6dd6(0x164)](__dirname,_0x3c1780['cAXAg']),_0x246024=process[_0x8b6dd6(0x132)]();process[_0x8b6dd6(0x1ab)][_0x3c1780[_0x8b6dd6(0x166)]]=_0x246024,process['chdir'](path['dirname'](_0x596c8b));const _0x136ee7=new CodeceptJS[(_0x8b6dd6(0x199))](null,_0x4486fb),_0x49a722=_0x136ee7['createGroupsOfSuites'](_0x5c5a3b),_0x223d0c=testOpsHelper[_0x8b6dd6(0x168)](),_0x16d4da=_0x4db998[_0x8b6dd6(0x136)](_0x3b98ff=>{const _0xe1da91=_0x8b6dd6,_0x48e484={};_0x48e484[_0xe1da91(0x1a6)]=_0x1da789[_0x3b98ff];const _0x3d090a={};_0x3d090a[_0xe1da91(0x1a0)]=_0x1da789[_0x3b98ff];const _0x477f48=_0x1212c7?_0x48e484:_0x3d090a,_0x46deea=_0x3c1780[_0xe1da91(0x140)](getO11yRerunPattern),_0x4ed44b={};_0x4ed44b[_0xe1da91(0x161)]=_0x477f48;const _0x1c897a={};_0x1c897a[_0xe1da91(0x192)]=_0x2452f8,_0x1c897a['enabled']=!![],_0x1c897a[_0xe1da91(0x180)]=_0x21020d[_0xe1da91(0x193)][_0xe1da91(0x150)][_0xe1da91(0x180)],_0x1c897a[_0xe1da91(0x171)]=_0x21020d[_0xe1da91(0x193)]['testContextOptions']['skipSessionStatus'],_0x1c897a[_0xe1da91(0x17c)]=_0x223d0c,_0x1c897a[_0xe1da91(0x159)]=_0x3fbe8c;const _0x2cfd82={};_0x2cfd82['BrowserStackPlugin']=_0x1c897a;const _0x2ce353={};return _0x2ce353[_0xe1da91(0x13d)]=_0x2cfd82,helper[_0xe1da91(0x153)]({},_0x2034a8,_0x3c1780['jeYWp'](isBrowserstackInfra)?_0x4ed44b:{},_0x46deea?{'grep':_0x46deea}:{},_0x2ce353);});for(const _0x5b8ec9 of _0x16d4da){for(const _0x5a9e8e of _0x49a722){const _0x3b2928=_0x136ee7[_0x8b6dd6(0x16a)]();_0x3b2928[_0x8b6dd6(0x19f)](_0x5a9e8e),_0x3b2928[_0x8b6dd6(0x1b7)](_0x5b8ec9);const _0x3f8d0f={};_0x3f8d0f[_0x8b6dd6(0x193)]=_0x596c8b,_0x3b2928[_0x8b6dd6(0x13e)](_0x3f8d0f);}}_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x1af)][_0x8b6dd6(0x155)],(_0x2b7148,_0x5a2e21)=>{const _0x1efba0=_0x8b6dd6;console['log'](_0x3c1780[_0x1efba0(0x148)],_0x2b7148[_0x1efba0(0x13c)]);const _0xadfcb0={[_0x2b7148[_0x1efba0(0x13c)]]:_0x2b7148[_0x1efba0(0x15f)][_0x1efba0(0x1ad)]};_testErrorData[_0x1efba0(0x1b5)](_0xadfcb0);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)]['test'][_0x8b6dd6(0x189)],async _0x52297e=>{const _0xc65329=_0x8b6dd6;console['log'](_0x3c1780[_0xc65329(0x18a)],_0x52297e['title']);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x1af)][_0x8b6dd6(0x1b1)],async _0x352053=>{const _0x31191a=_0x8b6dd6;console[_0x31191a(0x169)](_0x3c1780[_0x31191a(0x1ac)],_0x352053[_0x31191a(0x13c)]);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x195)][_0x8b6dd6(0x1bf)],async()=>{const _0x4103cd=_0x8b6dd6,_0x4264dc=_0x3c1780['KSgrU'][_0x4103cd(0x167)]('|');let _0x2442d9=0x0;while(!![]){switch(_0x4264dc[_0x2442d9++]){case'0':_0x21020d[_0x4103cd(0x14f)]=_testErrorData;continue;case'1':try{await TestHubHandler[_0x4103cd(0x15e)]();}catch(_0x5214fe){logger['debug'](_0x4103cd(0x1b6)+util['format'](_0x5214fe));}continue;case'2':PerformanceTester[_0x4103cd(0x198)](PerformanceEvents[_0x4103cd(0x137)]);continue;case'3':testOpsHelper[_0x4103cd(0x135)]();continue;case'4':utilities[_0x4103cd(0x15a)](_0x21020d);continue;case'5':_0x136ee7['printResults']();continue;}break;}});async function _0x560f58(){const _0x5c2778=_0x8b6dd6;try{await _0x136ee7[_0x5c2778(0x1c3)](),await _0x136ee7[_0x5c2778(0x16b)]();}finally{process[_0x5c2778(0x1c0)](_0x246024),await _0x136ee7['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x8b6dd6(0x16c)]),_0x3c1780['QCYci'](_0x560f58);}module[a2_0x4f9439(0x1a7)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x1e4b6d=a3_0x2450;(function(_0x2ce1c5,_0x33f919){const _0x409430=a3_0x2450,_0x842d08=_0x2ce1c5();while(!![]){try{const _0x557526=parseInt(_0x409430(0x1cd))/0x1*(parseInt(_0x409430(0x1bc))/0x2)+parseInt(_0x409430(0x1ab))/0x3*(-parseInt(_0x409430(0x1c5))/0x4)+-parseInt(_0x409430(0x1a5))/0x5+parseInt(_0x409430(0x1c6))/0x6*(parseInt(_0x409430(0x1af))/0x7)+-parseInt(_0x409430(0x1d9))/0x8+parseInt(_0x409430(0x1bf))/0x9*(parseInt(_0x409430(0x19a))/0xa)+-parseInt(_0x409430(0x1d4))/0xb*(-parseInt(_0x409430(0x1dd))/0xc);if(_0x557526===_0x33f919)break;else _0x842d08['push'](_0x842d08['shift']());}catch(_0xc0d7c2){_0x842d08['push'](_0x842d08['shift']());}}}(a3_0x3ff9,0x1ad94));function a3_0x2450(_0x29b403,_0x2080dc){const _0x3ff9f6=a3_0x3ff9();return a3_0x2450=function(_0x24504f,_0x2d862a){_0x24504f=_0x24504f-0x196;let _0x2b795d=_0x3ff9f6[_0x24504f];return _0x2b795d;},a3_0x2450(_0x29b403,_0x2080dc);}const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x1e4b6d(0x1ce))[a3_0x1e4b6d(0x1d6)],PlaywrightSessionDetails=require(a3_0x1e4b6d(0x196)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3633f4=>{const _0x2325fe=a3_0x1e4b6d,_0x507f58={};_0x507f58[_0x2325fe(0x1a1)]=_0x2325fe(0x1de),_0x507f58[_0x2325fe(0x1ba)]=_0x2325fe(0x1c3),_0x507f58['sPOcv']='platform_version',_0x507f58[_0x2325fe(0x1d0)]='osVersion',_0x507f58[_0x2325fe(0x1ae)]=_0x2325fe(0x1db);const _0x3a337e=_0x507f58;if(!_0x3633f4)return null;const _0x2c882c=_0x3633f4[_0x3a337e[_0x2325fe(0x1a1)]],_0x523b60=[_0x3a337e[_0x2325fe(0x1ba)],_0x3a337e['sPOcv'],_0x3a337e[_0x2325fe(0x1d0)],_0x3a337e[_0x2325fe(0x1ae)]];for(const _0x2aaf3f of _0x523b60){if(_0x2c882c&&_0x2c882c[_0x2aaf3f])return _0x2c882c[_0x2aaf3f];else{if(_0x3633f4[_0x2aaf3f])return _0x3633f4[_0x2aaf3f];}}return null;};exports[a3_0x1e4b6d(0x1d8)]=_0x56f4e7=>{const _0x47fa2a=a3_0x1e4b6d,_0x4ccc05={'rjYpy':_0x47fa2a(0x1d7),'lxlaY':function(_0xc963e8,_0x462606){return _0xc963e8===_0x462606;},'zxtTR':_0x47fa2a(0x1e2),'rGydu':function(_0x80d0a,_0x53bcfd){return _0x80d0a(_0x53bcfd);},'Dpqjc':function(_0x2e47e5,_0x4aea89,_0x37345d){return _0x2e47e5(_0x4aea89,_0x37345d);},'GBfEZ':_0x47fa2a(0x1da),'qkaWO':_0x47fa2a(0x1aa),'qzefo':'Playwright','yWiIH':_0x47fa2a(0x1a9),'nxUYM':_0x47fa2a(0x1cb),'OPsTF':_0x47fa2a(0x1b6)};if(!_0x56f4e7)return null;let _0x4d1c9a=global['__cloud_provider___']||_0x4ccc05[_0x47fa2a(0x1a0)];if(_0x4ccc05[_0x47fa2a(0x1b7)](_0x56f4e7['constructor'][_0x47fa2a(0x1b9)],_0x4ccc05[_0x47fa2a(0x1c8)])){const _0x4ff57d=_0x56f4e7[_0x47fa2a(0x1a9)];if(!_0x4ff57d)return null;const _0x38fe92=_0x4ff57d[_0x47fa2a(0x1cf)],_0xc01198=_0x4ccc05[_0x47fa2a(0x1c1)](getOSVersionFromCaps,_0x4ccc05['Dpqjc'](nestedKeyValue,_0x56f4e7,[_0x4ccc05['GBfEZ'],_0x4ccc05[_0x47fa2a(0x1a7)]]));return{[_0x4d1c9a]:{'browser':_0x38fe92[_0x47fa2a(0x1cc)],'browser_version':_0x38fe92[_0x47fa2a(0x1d1)],'capabilities':_0x38fe92,'platform':_0x38fe92['platformName'],'platform_version':_0x38fe92[_0x47fa2a(0x1c3)]||_0xc01198,'product':_0x4ccc05[_0x47fa2a(0x1c1)](getObservabilityLinkedProductName,_0x38fe92),'session_id':_0x4ff57d['sessionId']}};}else{if(_0x4ccc05[_0x47fa2a(0x1b7)](_0x56f4e7[_0x47fa2a(0x1a6)][_0x47fa2a(0x1b9)],_0x4ccc05[_0x47fa2a(0x1e1)])){const _0x1c6cd8=PlaywrightSessionDetails[_0x47fa2a(0x1ad)]();_0x4d1c9a=_0x1c6cd8[_0x47fa2a(0x19c)]||_0x4d1c9a;const _0x402131=_0x4ccc05[_0x47fa2a(0x1a8)](nestedKeyValue,_0x56f4e7,[_0x4ccc05['GBfEZ'],_0x4ccc05[_0x47fa2a(0x1bb)],_0x4ccc05[_0x47fa2a(0x1dc)]]),_0x3beefd=_0x402131?JSON[_0x47fa2a(0x1c0)](new URL(_0x402131)[_0x47fa2a(0x1e0)]['get'](_0x4ccc05[_0x47fa2a(0x1b2)])):{};return{[_0x4d1c9a]:{'browser':_0x1c6cd8[_0x47fa2a(0x1a9)]||_0x3beefd['browserName'],'browser_version':_0x1c6cd8['browser_version']||_0x3beefd[_0x47fa2a(0x1b5)],'capabilities':_0x3beefd,'platform':_0x1c6cd8[_0x47fa2a(0x1ac)],'platform_version':_0x1c6cd8[_0x47fa2a(0x1bd)],'product':_0x4ccc05[_0x47fa2a(0x1c1)](getObservabilityLinkedProductName,_0x3beefd),'session_id':_0x1c6cd8[_0x47fa2a(0x19f)]}};}}},exports[a3_0x1e4b6d(0x1b3)]=_0x23cc5f=>{const _0x4b160c=a3_0x1e4b6d,_0x3c604e={'fvBMP':function(_0xaea6d5){return _0xaea6d5();},'BzuGn':function(_0x317318,_0x21eb6a){return _0x317318===_0x21eb6a;},'luDYZ':_0x4b160c(0x1c4),'aShdy':function(_0x5b6d65,_0x3a3060){return _0x5b6d65>_0x3a3060;},'OFlxl':function(_0x24aa43,_0x3d74ae){return _0x24aa43(_0x3d74ae);},'oyWrn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','acWMS':function(_0x10fa63,_0x4d99b8){return _0x10fa63===_0x4d99b8;},'AMGYf':_0x4b160c(0x1b8),'ZFVkZ':_0x4b160c(0x1b0),'vHxAD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','VgYQK':_0x4b160c(0x1d5)};if(_0x3c604e[_0x4b160c(0x19d)](isAccessibilityAutomationSession)){const _0x86c7e8=_0x23cc5f[_0x4b160c(0x1a9)],_0x2d689b=_0x86c7e8[_0x4b160c(0x1cf)];global[_0x4b160c(0x1a2)]=!![],!(_0x3c604e[_0x4b160c(0x1c9)](_0x2d689b[_0x4b160c(0x1d1)],_0x3c604e[_0x4b160c(0x1d3)])||_0x3c604e[_0x4b160c(0x1a3)](_0x3c604e[_0x4b160c(0x1b4)](parseInt,_0x2d689b['browserVersion']),0x5e))&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x19b)]),global[_0x4b160c(0x1a2)]=![]),!(_0x3c604e[_0x4b160c(0x1a4)](_0x2d689b[_0x4b160c(0x1cc)],_0x3c604e[_0x4b160c(0x1c7)])||_0x3c604e[_0x4b160c(0x1a4)](_0x2d689b[_0x4b160c(0x1cc)],_0x3c604e[_0x4b160c(0x1c2)]))&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x1d2)]),global[_0x4b160c(0x1a2)]=![]),!_0x3c604e[_0x4b160c(0x1b4)](isUndefined,_0x2d689b[_0x4b160c(0x1b1)])&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x1ca)]),global['accessibilityPlatform']=![]);}},exports[a3_0x1e4b6d(0x19e)]=_0x125fc1=>{const _0x5ce201=a3_0x1e4b6d,_0x43056c={};_0x43056c[_0x5ce201(0x199)]='browserstack_executor',_0x43056c[_0x5ce201(0x1df)]=_0x5ce201(0x1be);const _0x518b78=_0x43056c;if(!_0x125fc1)return![];return!_0x125fc1[_0x5ce201(0x197)](_0x518b78['MbryK'])&&!_0x125fc1['includes'](_0x518b78['VeKhl']);};function a3_0x3ff9(){const _0x16a85=['config','os_version','nxUYM','120EfRJZj','bstack:options','VeKhl','searchParams','qzefo','WebDriver','../../bin/playwright/sessionDetails','includes','warn','MbryK','10dctxIg','oyWrn','cloudProvider','fvBMP','shouldPatchExecuteScript','bsSessionId','rjYpy','eapiF','accessibilityPlatform','aShdy','acWMS','837800lJQaHn','constructor','qkaWO','Dpqjc','browser','desiredCapabilities','3PjiuCo','platform','getDetails','ocCNm','378lrKzNO','playwright-chromium','deviceName','OPsTF','processWebDriverConfig','OFlxl','browser_version','caps','lxlaY','chrome','name','QlXgR','yWiIH','2936PjWkkr','platform_version','browserstack_accessibility_automation_script','394173vzdEcD','parse','rGydu','ZFVkZ','platformVersion','latest','216716rCXZmV','288yHXWcR','AMGYf','zxtTR','BzuGn','VgYQK','browserWSEndpoint','browserName','116yJKKmh','../../helpers/logger','capabilities','IXXpp','browserVersion','vHxAD','luDYZ','306515znBjSV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','unknown_grid','fetchPlatformDetails','1308928EVKIZw'];a3_0x3ff9=function(){return _0x16a85;};return a3_0x3ff9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x30d4d3=a4_0x1304;(function(_0x1c971b,_0x56c38e){const _0xc299a1=a4_0x1304,_0x44fed2=_0x1c971b();while(!![]){try{const _0x39c968=-parseInt(_0xc299a1(0xd3))/0x1+-parseInt(_0xc299a1(0x199))/0x2*(-parseInt(_0xc299a1(0x11c))/0x3)+parseInt(_0xc299a1(0xde))/0x4+-parseInt(_0xc299a1(0xbf))/0x5+parseInt(_0xc299a1(0x16a))/0x6*(-parseInt(_0xc299a1(0x1a0))/0x7)+parseInt(_0xc299a1(0x12f))/0x8*(parseInt(_0xc299a1(0x13d))/0x9)+-parseInt(_0xc299a1(0x161))/0xa;if(_0x39c968===_0x56c38e)break;else _0x44fed2['push'](_0x44fed2['shift']());}catch(_0x6f408){_0x44fed2['push'](_0x44fed2['shift']());}}}(a4_0xfcb5,0xa5d2f));function a4_0xfcb5(){const _0x5a99fe=['errorsDetailed','QBFWJ','connectOverCDP','apply','bind','feature','hookAnalyticsId','failure_backtrace','Not\x20able\x20to\x20import\x20Browser','bddStepFinish','kPNVR','STATE_FAILED','../utils/constants','OgfYn','304TgqTbf','jnYPV','HEtOe','pnzCd','push','qiwun','.git','bxPjQ','util','xaJuN','dirname','toUpperCase','_testEnv','backtrace','290196VjASRa','O11yHelper','Kjgbx','location_prefix','hook','start','connect','QaOkj','_paths','PZEjk','qVckV','STATE_PASSED','browserstack','fPUiC','Ipumt','getHooksForTest','currentTest','DCFOI','cwd','groups','PathHelper','fkopr','pid','pending','mCchV','constructor','frameworkName','startedAt','body','TestRunSkipped','duration','stop','testAnalyticsId','VSKqp','expanded','hook_run','4026430enRTFT','TestRunFinished','../../helpers/test-observability/utils','GgaAg','dEkYP','_beforeAll','enabled','getTime','suites','12eHwEFU','tEVgq','markedStatus','winstonLogger','launch','patchConsoleLogger','uvKjd','event_type','HOOK_RUN_FINISHED','path','yAyFC','result','TestRunStarted','finished','failed','failureData','err','__platformCaps','title','NGkTO','hook_type','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','ZBsjg','parent','status','YxygR','0|1|4|2|3|5','mapTestHooks','skipped','length','_afterAll','aEtpF','TDOPV','join','nNHAc','getHierarchy','failure_reason_expanded','stringify','failed\x20to\x20get\x20root\x20parent\x20file\x20','getHookType','stepAnalyticsId','type','forEach','TEST_RUN_STARTED','finished_at','uuid','Failed\x20to\x20parse\x20wsendpoint\x20','626014mFuxHw','test_run_uuid','oQzQJ','name','file_name','failure','debug','823634AvmCEU','test','uAaXX','HookRunStarted','string','Playwright','sep','../../helpers/test-observability/requestQueueHandler','tBLdq','match','CGYCJ','appendTestItemLog','test_run','3860810MHNXHW','EUTId','findGitConfig','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','text','bSZJx','toString','\x20with\x20error\x20:\x20','../../helpers/test-observability/sessionHandler','OEsfo','fullTitle','resetSkipTestHooks','message','SZZaQ','getRootParentFile','exports','integrations','beZbi','uploadEventData','concat','1112722ZpZGLd','ZcuQS','TEST_RUN_SKIPPED','Qgzdp','setupBrowserDetails','bddSteps','File\x20path\x20could\x20not\x20be\x20found','bddStepStart','includes','yUork','../../helpers/helper','2899064owRpgi','defineProperty','hbZpW','comment','now','eIyWc','toLowerCase','ctx','TEST_RUN_FINISHED','HookRunFinished','LVAaa','HOOK_RUN_STARTED','BrowserType','passed','SZTUH','browserType.js','ttAmB','TEST_EVENTS','YtbMI','MlAeD','retryOf','currentHook','file','KoJgn','zXIiP','./helper.js','removeAllListeners','prefixTestPath','efFXr','eoKZY','driver','xeviN','fxMtf','_afterEach','getCBTInfo','GCCwV','getFailureType','VKRPV','CBTSessionCreated','../../helpers/testhub/utils.js','fyZne','vCtuq','UaWcf','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','eHQPs','then','meta','skBxk','toISOString','started','sendCBTInfo','tags','uYxEm','Ubgms','prototype','relative','wsEndpoint','_beforeEach','uyqTU','split','getInstance','keyword','12OnDvoM','hRYyG','yNEYh','VOXaR','../../helpers/logger'];a4_0xfcb5=function(){return _0x5a99fe;};return a4_0xfcb5();}const path=require(a4_0x30d4d3(0x173)),fs=require('fs'),{v4:uuidv4}=require(a4_0x30d4d3(0x197)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x30d4d3(0xdd)),testOpsHelper=require(a4_0x30d4d3(0x163)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x30d4d3(0x120))[a4_0x30d4d3(0x16d)],SessionHandler=require(a4_0x30d4d3(0xc7)),RequestQueueHandler=require(a4_0x30d4d3(0x1a7)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x30d4d3(0x12d)),{fetchPlatformDetails}=require(a4_0x30d4d3(0xf7)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x30d4d3(0x105)),STATE_PASSED='passed',STATE_FAILED=a4_0x30d4d3(0x178),a4_0x578f0d={};a4_0x578f0d[a4_0x30d4d3(0x195)]=a4_0x30d4d3(0x176),a4_0x578f0d[a4_0x30d4d3(0xe6)]=a4_0x30d4d3(0x162),a4_0x578f0d[a4_0x30d4d3(0xd5)]=a4_0x30d4d3(0x15a),a4_0x578f0d[a4_0x30d4d3(0xe9)]=a4_0x30d4d3(0x1a3),a4_0x578f0d[a4_0x30d4d3(0x172)]=a4_0x30d4d3(0xe7);function a4_0x1304(_0x3e97b2,_0x2e00af){const _0xfcb5d=a4_0xfcb5();return a4_0x1304=function(_0x1304bf,_0x3a6cbd){_0x1304bf=_0x1304bf-0xbc;let _0x212e7c=_0xfcb5d[_0x1304bf];return _0x212e7c;},a4_0x1304(_0x3e97b2,_0x2e00af);}const TEST_EVENTS=a4_0x578f0d,parseEvent=_0x118a33=>{const _0x56116c=a4_0x30d4d3,_0x176a71={};_0x176a71[_0x56116c(0xfe)]=function(_0x1208b7,_0x229c98){return _0x1208b7<_0x229c98;},_0x176a71[_0x56116c(0x107)]=function(_0x5f158d,_0x1f7ede){return _0x5f158d===_0x1f7ede;},_0x176a71[_0x56116c(0xbc)]=_0x56116c(0x1a1),_0x176a71['bxPjQ']=function(_0x5e23c8,_0x54d155){return _0x5e23c8===_0x54d155;},_0x176a71[_0x56116c(0xfa)]=_0x56116c(0x141),_0x176a71[_0x56116c(0x144)]=_0x56116c(0x186),_0x176a71[_0x56116c(0x18c)]=function(_0x47e0bd,_0x2e931c){return _0x47e0bd===_0x2e931c;},_0x176a71[_0x56116c(0x17d)]=_0x56116c(0x10f),_0x176a71['KoJgn']='finished';const _0x546325=_0x176a71,_0xc5ed9c=_0x118a33[_0x56116c(0x1a9)](/^(.*)Run(.*)$/);if(!_0xc5ed9c)return null;if(_0x546325[_0x56116c(0xfe)](_0xc5ed9c['length'],0x3))return null;const _0x2c02cb=_0xc5ed9c[0x1]['toLowerCase'](),_0x1325fe=_0xc5ed9c[0x2][_0x56116c(0xe4)]();return{'test':_0x546325['vCtuq'](_0x2c02cb,_0x546325[_0x56116c(0xbc)]),'hook':_0x546325[_0x56116c(0x136)](_0x2c02cb,_0x546325[_0x56116c(0xfa)]),'skipped':_0x546325[_0x56116c(0x107)](_0x1325fe,_0x546325[_0x56116c(0x144)]),'started':_0x546325[_0x56116c(0x18c)](_0x1325fe,_0x546325[_0x56116c(0x17d)]),'finished':_0x546325[_0x56116c(0x18c)](_0x1325fe,_0x546325[_0x56116c(0xf5)])};},mockPWBrowserType=_0x1e70c3=>{const _0x548d46=a4_0x30d4d3,_0xaccbea={'cTNzA':function(_0x532075,_0x60ac3){return _0x532075===_0x60ac3;},'skBxk':_0x548d46(0x1a4),'UaWcf':function(_0x3af48a,_0x38d4f8,_0x2ed6a2){return _0x3af48a(_0x38d4f8,_0x2ed6a2);},'xOjzO':'wsEndpoint','WxbDg':function(_0x527138,_0x52cd20){return _0x527138(_0x52cd20);},'VSKqp':_0x548d46(0x149),'aEtpF':'lib','xeviN':'client','thoZU':_0x548d46(0xed),'ZhcPK':function(_0x45a6cd,_0x150db9){return _0x45a6cd(_0x150db9);},'xaJuN':_0x548d46(0x129),'dEkYP':_0x548d46(0x143),'mCchV':_0x548d46(0x16e)},_0x17df1f=path['join'](_0xaccbea[_0x548d46(0x189)],_0xaccbea[_0x548d46(0xfd)],_0xaccbea['thoZU']),_0x5beac6=_0xaccbea['WxbDg'](importFileFromPWCore,_0x17df1f);if(!_0x5beac6){_0xaccbea['ZhcPK'](debug,_0xaccbea[_0x548d46(0x138)]);return;}const _0x3abc5c=_0x5beac6[_0x548d46(0xea)],_0x37fd9a=_0x3abc5c[_0x548d46(0x114)];if(_0x37fd9a['obsBrowserTypeMockApplied'])return;const _0x3c066d=_0x37fd9a['connect'];Object[_0x548d46(0xdf)](_0x37fd9a,_0xaccbea[_0x548d46(0x165)],{'get':function(){return async function _0x1dd316(_0x1fd520,_0x311d13){const _0x229d1b=a4_0x1304,_0x5e6282={'soglR':function(_0x212011,_0x926cec){return _0xaccbea['cTNzA'](_0x212011,_0x926cec);},'YxygR':_0xaccbea[_0x229d1b(0x10d)]},_0x45bfdb=_0xaccbea['UaWcf'](nestedKeyValue,_0x1fd520,[_0xaccbea['xOjzO']])||_0x1fd520;let _0x48cf07=null,_0x1d4c3d=null;try{[_0x1d4c3d,_0x48cf07]=_0x45bfdb?_0xaccbea['WxbDg'](parseWSEndpoint,_0x45bfdb):[null,null],global[_0x229d1b(0x17b)]=_0x48cf07,_0x1d4c3d[_0x229d1b(0xdb)](_0xaccbea[_0x229d1b(0x15e)])&&(global['__cloud_provider___']=_0xaccbea[_0x229d1b(0x15e)]);}catch(_0x4e5ad7){logger['debug'](_0x229d1b(0x198)+_0x45bfdb+'\x20'+_0x4e5ad7);}_0xaccbea[_0x229d1b(0x108)](processAccessibilityCaps,_0x48cf07,_0x1d4c3d);if(global['accessibilityPlatform']){const _0x27a9b3=await _0x37fd9a[_0x229d1b(0x123)][_0x229d1b(0x124)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xaccbea['WxbDg'](encodeURIComponent,JSON[_0x229d1b(0x18f)](_0x48cf07))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x27a9b3,_0x1e70c3,_0x45bfdb),_0x27a9b3;}return _0x3c066d[_0x229d1b(0x124)](this,arguments)[_0x229d1b(0x10b)](_0x434ae2=>{const _0x4730c3=_0x229d1b;let _0x3691c8=_0x1fd520[_0x4730c3(0x116)];return _0x5e6282['soglR'](typeof _0x1fd520,_0x5e6282[_0x4730c3(0x183)])&&(_0x3691c8=_0x1fd520),PlaywrightSessionDetails[_0x4730c3(0xd7)](_0x434ae2,_0x1e70c3,_0x3691c8),_0x434ae2;});};}});const _0x638cd=_0x37fd9a[_0x548d46(0x16e)];Object[_0x548d46(0xdf)](_0x37fd9a,_0xaccbea[_0x548d46(0x155)],{'get':function(){return async function _0x427096(){const _0xeac252=a4_0x1304;return _0x638cd[_0xeac252(0x124)](this,arguments)[_0xeac252(0x10b)](_0x21b7d5=>{const _0x22e0c9=_0xeac252;return PlaywrightSessionDetails[_0x22e0c9(0xd7)](_0x21b7d5,null),_0x21b7d5;});};}});};class O11yHelper{[a4_0x30d4d3(0x14d)]=null;[a4_0x30d4d3(0xf3)]=null;[a4_0x30d4d3(0x167)]=![];['frameworkName']=![];constructor(_0x2ff13e,_0x942000){const _0x7e60b7=a4_0x30d4d3,_0x152e81={'cPFca':_0x7e60b7(0x184),'Ubgms':function(_0xc1257f){return _0xc1257f();},'SZZaQ':function(_0x2baf42,_0xb6ea6){return _0x2baf42===_0xb6ea6;},'dXCsO':_0x7e60b7(0x1a5),'uAaXX':function(_0x45000d,_0x4de93a){return _0x45000d(_0x4de93a);}},_0x31b39b=_0x152e81['cPFca'][_0x7e60b7(0x119)]('|');let _0x3c8739=0x0;while(!![]){switch(_0x31b39b[_0x3c8739++]){case'0':this[_0x7e60b7(0x167)]=_0x152e81[_0x7e60b7(0x113)](shouldProcessEventForTesthub);continue;case'1':this[_0x7e60b7(0x157)]=_0x942000[_0x7e60b7(0x157)];continue;case'2':this[_0x7e60b7(0x13b)]=_0x152e81[_0x7e60b7(0x113)](getTestEnv);continue;case'3':this[_0x7e60b7(0x145)]=new testOpsHelper[(_0x7e60b7(0x151))]({'cwd':process[_0x7e60b7(0x14f)]()},this[_0x7e60b7(0x13b)][_0x7e60b7(0x140)]);continue;case'4':this[_0x7e60b7(0xfc)]=_0x2ff13e;continue;case'5':this['driver']&&_0x152e81[_0x7e60b7(0xcc)](this[_0x7e60b7(0xfc)][_0x7e60b7(0x156)][_0x7e60b7(0x19c)],_0x152e81['dXCsO'])&&_0x152e81[_0x7e60b7(0x1a2)](mockPWBrowserType,null);continue;}break;}}[a4_0x30d4d3(0x142)](){const _0x218464=a4_0x30d4d3;if(!this[_0x218464(0x167)])return;testOpsHelper[_0x218464(0x16f)](),process[_0x218464(0xf8)]('bs:addLog:'+process[_0x218464(0x153)]),process['on']('bs:addLog:'+process['pid'],this[_0x218464(0xbd)][_0x218464(0x125)](this));}async[a4_0x30d4d3(0x15c)](){const _0x2c9f81=a4_0x30d4d3;await RequestQueueHandler[_0x2c9f81(0x11a)]()['shutdown']();}async['appendTestItemLog'](_0x2dca51){const _0x3573db=a4_0x30d4d3,_0x1b6466={'fyZne':'LogCreated','hbZpW':function(_0x4c068e,_0x493132){return _0x4c068e(_0x493132);}};try{this[_0x3573db(0xf3)]&&!this['currentHook'][_0x3573db(0x16c)]&&(_0x2dca51['hook_run_uuid']=this[_0x3573db(0xf3)][_0x3573db(0x127)]);!_0x2dca51['hook_run_uuid']&&this[_0x3573db(0x14d)]&&!this[_0x3573db(0x14d)][_0x3573db(0x16c)]&&(_0x2dca51[_0x3573db(0x19a)]=this[_0x3573db(0x14d)][_0x3573db(0x15d)]);if(_0x2dca51['hook_run_uuid']||_0x2dca51[_0x3573db(0x19a)]){const _0x3480b1={};_0x3480b1[_0x3573db(0x171)]=_0x1b6466[_0x3573db(0x106)],_0x3480b1['logs']=[_0x2dca51],await SessionHandler[_0x3573db(0xd1)](_0x3480b1);}}catch(_0x2a5394){_0x1b6466[_0x3573db(0xe0)](debug,_0x3573db(0x109)+_0x2a5394);}}async[a4_0x30d4d3(0x110)](_0x1ed28a){const _0x3c9895=a4_0x30d4d3,_0x5345e3={'oQzQJ':_0x3c9895(0x104),'uhGSQ':function(_0x39e4de,_0x507e73){return _0x39e4de(_0x507e73);}};if(!this[_0x3c9895(0x167)])return;const _0x659003=this[_0x3c9895(0x100)](this[_0x3c9895(0xfc)]);try{const _0x5673c9={};_0x5673c9['uuid']=_0x1ed28a,_0x5673c9[_0x3c9895(0xcf)]=_0x659003;const _0x294085=_0x5673c9,_0x1ab96f={};_0x1ab96f[_0x3c9895(0x171)]=_0x5345e3[_0x3c9895(0x19b)],_0x1ab96f[_0x3c9895(0xbe)]=_0x294085,await SessionHandler[_0x3c9895(0xd1)](_0x1ab96f);}catch(_0x416f07){_0x5345e3['uhGSQ'](debug,_0x3c9895(0xc2)+_0x416f07);}}[a4_0x30d4d3(0x100)](_0x3a92e6){const _0x5a4108={'XbZVF':function(_0x9ea485,_0x28533f){return _0x9ea485(_0x28533f);}};return _0x5a4108['XbZVF'](fetchPlatformDetails,_0x3a92e6);}[a4_0x30d4d3(0xca)]=_0x4c20b4=>{const _0x456505=a4_0x30d4d3,_0x444da2={};_0x444da2[_0x456505(0xe8)]=_0x456505(0x117),_0x444da2[_0x456505(0xe3)]=_0x456505(0xff);const _0x524f38=_0x444da2;if(!_0x4c20b4||!_0x4c20b4['parent'])return;[_0x524f38[_0x456505(0xe8)],_0x524f38[_0x456505(0xe3)]]['forEach'](_0x4b91bb=>{const _0x32478d=_0x456505,_0x56a399=_0x4c20b4['parent'][_0x4b91bb];_0x56a399[_0x32478d(0x194)](_0x219933=>{_0x219933['hookAnalyticsId']&&(_0x219933['hookAnalyticsId']=null);});});};[a4_0x30d4d3(0x185)](_0x2f9afb){const _0x544646=a4_0x30d4d3,_0x13ac00={'Ivbmr':'codeceptjs','ZBsjg':function(_0x18e906){return _0x18e906();},'tBLdq':function(_0x3ee3f0,_0x516f68){return _0x3ee3f0===_0x516f68;},'YtbMI':_0x544646(0xff),'Kjgbx':function(_0x5e093a){return _0x5e093a();},'lXWFq':_0x544646(0x166),'JRYGU':'_afterAll','Ipumt':_0x544646(0x117)};if(!_0x2f9afb||!_0x2f9afb['parent'])return;[_0x13ac00['lXWFq'],_0x13ac00['JRYGU'],_0x13ac00[_0x544646(0x14b)],_0x13ac00[_0x544646(0xf0)]][_0x544646(0x194)](_0x396e37=>{const _0x3d2faa=_0x544646,_0x4e279e=_0x2f9afb[_0x3d2faa(0x181)][_0x396e37]||[];_0x4e279e['forEach'](_0x154c3e=>{const _0x3ceb00=_0x3d2faa;if(_0x154c3e[_0x3ceb00(0x17c)][_0x3ceb00(0xdb)](_0x13ac00['Ivbmr']))return;if(!_0x154c3e[_0x3ceb00(0x127)])_0x154c3e['hookAnalyticsId']=_0x13ac00[_0x3ceb00(0x180)](uuidv4);else _0x154c3e['markedStatus']&&_0x13ac00[_0x3ceb00(0x1a8)](_0x396e37,_0x13ac00[_0x3ceb00(0xf0)])&&(_0x154c3e[_0x3ceb00(0x127)]=_0x13ac00[_0x3ceb00(0x13f)](uuidv4),delete _0x154c3e[_0x3ceb00(0x16c)]);});}),this['mapTestHooks'](_0x2f9afb[_0x544646(0x181)]);}[a4_0x30d4d3(0x14c)](_0x436836){const _0x5835fd=a4_0x30d4d3,_0x26ca4c={};_0x26ca4c['fPUiC']=_0x5835fd(0x166),_0x26ca4c[_0x5835fd(0x131)]=_0x5835fd(0x188),_0x26ca4c[_0x5835fd(0x12b)]='_beforeEach',_0x26ca4c[_0x5835fd(0xd0)]='_afterEach';const _0x1271ad=_0x26ca4c;if(!_0x436836||!_0x436836[_0x5835fd(0x181)])return[];const _0x359e56=[];return[_0x1271ad[_0x5835fd(0x14a)],_0x1271ad[_0x5835fd(0x131)],_0x1271ad[_0x5835fd(0x12b)],_0x1271ad[_0x5835fd(0xd0)]][_0x5835fd(0x194)](_0x594b4f=>{const _0x146ddc=_0x436836['parent'][_0x594b4f]||[];_0x146ddc['forEach'](_0x3846a9=>{const _0x547932=a4_0x1304;_0x3846a9['hookAnalyticsId']&&_0x359e56[_0x547932(0x133)](_0x3846a9[_0x547932(0x127)]);});}),[][_0x5835fd(0xd2)](_0x359e56,this['getHooksForTest'](_0x436836['parent']));}[a4_0x30d4d3(0x191)](_0x484f84){const _0x44ff52=a4_0x30d4d3,_0x551221=/^"(?<hook>.*)" hook:.*$/,_0xe7133=_0x484f84['title'],_0x5e49bd=_0xe7133[_0x44ff52(0x1a9)](_0x551221);if(_0x5e49bd&&_0x5e49bd['groups'])return _0x5e49bd[_0x44ff52(0x150)]['hook'][_0x44ff52(0x13a)]()['replace']('\x20','_');return null;}[a4_0x30d4d3(0xc1)](_0x2f9396){const _0x32eda1=a4_0x30d4d3,_0x47eaeb={};_0x47eaeb[_0x32eda1(0xf6)]=function(_0x5c0320,_0x23a850){return _0x5c0320===_0x23a850;},_0x47eaeb[_0x32eda1(0x152)]=function(_0xc811ad,_0x54862f){return _0xc811ad===_0x54862f;},_0x47eaeb['hSJTU']=function(_0x259b80,_0x2fa8b5){return _0x259b80===_0x2fa8b5;},_0x47eaeb[_0x32eda1(0xc8)]=function(_0x2acd43,_0x282836){return _0x2acd43===_0x282836;},_0x47eaeb['jnYPV']=_0x32eda1(0x135),_0x47eaeb['VOXaR']='config';const _0xc14457=_0x47eaeb,_0x4d11e2=path[_0x32eda1(0x1a6)];if(_0xc14457[_0x32eda1(0xf6)](_0x2f9396,null)||_0xc14457[_0x32eda1(0x152)](_0x2f9396,'')||_0xc14457['hSJTU'](_0x2f9396,_0x4d11e2)||_0xc14457[_0x32eda1(0xc8)](_0x2f9396,path[_0x32eda1(0x139)](_0x2f9396)))return null;try{return fs['statSync'](path[_0x32eda1(0x18b)](_0x2f9396,_0xc14457[_0x32eda1(0x130)],_0xc14457[_0x32eda1(0x11f)])),_0x2f9396;}catch(_0x3dc945){const _0x25d4f9=path[_0x32eda1(0x139)](_0x2f9396);return this['findGitConfig'](_0x25d4f9);}}[a4_0x30d4d3(0xcd)](_0x4de893){const _0x2cbe4f=a4_0x30d4d3,_0xbbb4e1={};_0xbbb4e1[_0x2cbe4f(0xfb)]=function(_0x4a355d,_0x368f61){return _0x4a355d>_0x368f61;};const _0x2b3515=_0xbbb4e1;if(_0x4de893[_0x2cbe4f(0xf4)])return _0x4de893['file'];if(_0x4de893[_0x2cbe4f(0xe5)]){const _0x3c43d6=_0x4de893[_0x2cbe4f(0xe5)][_0x2cbe4f(0x14d)]?this[_0x2cbe4f(0xcd)](_0x4de893[_0x2cbe4f(0xe5)][_0x2cbe4f(0x14d)]):null;if(_0x3c43d6)return _0x3c43d6;}if(_0x4de893['parent']){const _0x1939c4=this['getRootParentFile'](_0x4de893[_0x2cbe4f(0x181)])||(_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0xe5)]&&_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0xe5)]['currentTest']?this[_0x2cbe4f(0xcd)](_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0xe5)][_0x2cbe4f(0x14d)]):null);if(_0x1939c4)return _0x1939c4;_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0x169)]&&_0x2b3515['eoKZY'](_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0x169)][_0x2cbe4f(0x187)],0x0)&&_0x4de893[_0x2cbe4f(0x181)][_0x2cbe4f(0x169)][_0x2cbe4f(0x194)](_0x58b62d=>{const _0x25a33e=_0x2cbe4f,_0x1a6580=_0x58b62d['ctx']?this[_0x25a33e(0xcd)](_0x58b62d[_0x25a33e(0xe5)]):null;if(_0x1a6580)return _0x1a6580;});}return null;}[a4_0x30d4d3(0x18d)](_0x42918e){const _0x4ebfe2=a4_0x30d4d3,_0x81a3d3={};_0x81a3d3[_0x4ebfe2(0x134)]=function(_0x4e321f,_0x301e5a){return _0x4e321f!==_0x301e5a;};const _0x22feb5=_0x81a3d3,_0x4df42e=[];if(_0x42918e&&_0x42918e[_0x4ebfe2(0x181)]){let _0x18fe7f=_0x42918e[_0x4ebfe2(0x181)];while(_0x18fe7f&&_0x22feb5[_0x4ebfe2(0x134)](_0x18fe7f[_0x4ebfe2(0x17c)],'')){_0x4df42e[_0x4ebfe2(0x133)](_0x18fe7f[_0x4ebfe2(0x17c)]),_0x18fe7f=_0x18fe7f[_0x4ebfe2(0x181)];}}return _0x4df42e;}['captureEvent'](_0x29ee48,_0x172f69,_0x2f3b87=undefined){const _0x1f6bbd=a4_0x30d4d3,_0xa9aea4={'uvKjd':function(_0x1ad61e,_0x5513c6){return _0x1ad61e(_0x5513c6);},'qVckV':function(_0x3f9437){return _0x3f9437();},'VKRPV':function(_0x3d344e){return _0x3d344e();},'TDOPV':function(_0x3ee863,_0x342eb7){return _0x3ee863(_0x342eb7);},'mUySl':_0x1f6bbd(0x137),'GCCwV':_0x1f6bbd(0x17a),'MlAeD':function(_0x5d6d16,_0x17e015){return _0x5d6d16!==_0x17e015;},'eHQPs':_0x1f6bbd(0xd9),'EUTId':_0x1f6bbd(0x154),'SZTUH':'failed','PZEjk':_0x1f6bbd(0xeb),'pnzCd':_0x1f6bbd(0x186),'uyqTU':'javascript','VzAet':function(_0x2a3af4,_0x349736){return _0x2a3af4-_0x349736;},'hRYyG':function(_0x590a37,_0xbd7be7,_0x3bab56,_0x322852,_0x3c702f){return _0x590a37(_0xbd7be7,_0x3bab56,_0x322852,_0x3c702f);},'ZcuQS':'integrations','Qgzdp':_0x1f6bbd(0x10c),'ttAmB':_0x1f6bbd(0x19e),'uYxEm':_0x1f6bbd(0x128),'DCFOI':_0x1f6bbd(0x13c),'OgfYn':_0x1f6bbd(0x18e),'jIMdl':_0x1f6bbd(0x15f),'bSZJx':function(_0x533ea5,_0x2f99fd){return _0x533ea5===_0x2f99fd;},'yNEYh':_0x1f6bbd(0x160),'GgaAg':_0x1f6bbd(0xbe)};if(!this['enabled'])return;try{if(_0x172f69['fn']&&_0x172f69['fn'][_0x1f6bbd(0xc5)]()[_0x1f6bbd(0x1a9)](/browserstack internal helper hook/))return;const _0x3063d3=_0xa9aea4[_0x1f6bbd(0x170)](parseEvent,_0x29ee48);if(!_0x3063d3)return;if(_0x3063d3['test']){this['currentTest']=_0x172f69,this['currentHook']=null;if(_0x3063d3[_0x1f6bbd(0x10f)]||_0x3063d3[_0x1f6bbd(0x186)]){_0x172f69['startedAt']=new Date(),_0x172f69['markedStatus']=![];if(!_0x172f69[_0x1f6bbd(0x15d)])_0x172f69[_0x1f6bbd(0x15d)]=_0xa9aea4[_0x1f6bbd(0x147)](uuidv4);else _0x172f69[_0x1f6bbd(0x16c)]&&(!_0x172f69[_0x1f6bbd(0xf2)]&&(_0x172f69[_0x1f6bbd(0xf2)]=_0x172f69['testAnalyticsId']),_0x172f69[_0x1f6bbd(0x15d)]=_0xa9aea4[_0x1f6bbd(0x103)](uuidv4));}}else{if(_0x3063d3[_0x1f6bbd(0x141)]){this[_0x1f6bbd(0xf3)]=_0x172f69;if(_0x3063d3[_0x1f6bbd(0x10f)]){_0x172f69[_0x1f6bbd(0x158)]=new Date(),_0x172f69['markedStatus']=![];if(!_0x172f69[_0x1f6bbd(0x127)])_0x172f69[_0x1f6bbd(0x127)]=_0xa9aea4[_0x1f6bbd(0x103)](uuidv4);else _0x172f69[_0x1f6bbd(0x127)]&&_0x172f69[_0x1f6bbd(0x16c)]&&(_0x172f69[_0x1f6bbd(0x127)]=_0xa9aea4['qVckV'](uuidv4));}}}if(_0x3063d3[_0x1f6bbd(0x177)]&&_0x172f69[_0x1f6bbd(0x16c)])return;let _0x514bc9;try{_0x514bc9=this[_0x1f6bbd(0xcd)](_0x172f69);}catch(_0x56e8a2){logger[_0x1f6bbd(0x19f)](_0x1f6bbd(0x190)+_0x56e8a2),_0x514bc9=null;}const _0x29c4eb=_0xa9aea4[_0x1f6bbd(0x18a)](require,_0xa9aea4['mUySl']);let _0x4441dc=[];_0x2f3b87&&(_0x4441dc=[_0x2f3b87,_0xa9aea4[_0x1f6bbd(0x101)]]);const _0x356bc9=_0xa9aea4[_0x1f6bbd(0xf1)](_0x172f69[_0x1f6bbd(0x121)],undefined)?_0x29c4eb['inspect'](_0x172f69[_0x1f6bbd(0x121)][0x0]):_0xa9aea4[_0x1f6bbd(0xf1)](_0x2f3b87,undefined)?_0x2f3b87[_0x1f6bbd(0xc5)]():undefined,_0x43c346=_0x514bc9?this[_0x1f6bbd(0xc1)](_0x514bc9):null,_0x14acfc=_0x514bc9?this[_0x1f6bbd(0x145)][_0x1f6bbd(0xf9)](this['getRootParentFile'](_0x172f69)):_0xa9aea4[_0x1f6bbd(0x10a)];let _0x4855c4=_0xa9aea4[_0x1f6bbd(0xc0)];const _0x398e83=!_0x3063d3[_0x1f6bbd(0x10f)]?new Date()[_0x1f6bbd(0x10e)]():null;if(_0x3063d3[_0x1f6bbd(0x177)])_0x4855c4=_0x2f3b87?_0xa9aea4[_0x1f6bbd(0xec)]:_0xa9aea4[_0x1f6bbd(0x146)],_0x172f69[_0x1f6bbd(0x16c)]=!![];else _0x3063d3['skipped']&&(_0x4855c4=_0xa9aea4[_0x1f6bbd(0x132)],_0x172f69['markedStatus']=!![]);const _0xa67221={'framework':this[_0x1f6bbd(0x157)],'uuid':_0x172f69[_0x1f6bbd(0x15d)]||_0x172f69[_0x1f6bbd(0x127)],'name':_0x172f69['title'],'body':{'lang':_0xa9aea4[_0x1f6bbd(0x118)],'code':_0x172f69[_0x1f6bbd(0x159)][_0x1f6bbd(0xc5)]()},'type':_0x172f69[_0x1f6bbd(0x193)],'scope':_0x172f69[_0x1f6bbd(0xc9)](),'scopes':this['getHierarchy'](_0x172f69),'file_name':_0x14acfc,'vc_filepath':_0x43c346?path[_0x1f6bbd(0x115)](_0x43c346,_0x514bc9):null,'location':_0x14acfc,'result':_0x4855c4,'failure_reason':_0x356bc9,'duration_in_ms':_0x172f69['duration']||(_0x3063d3[_0x1f6bbd(0x177)]||_0x3063d3[_0x1f6bbd(0x186)])?_0xa9aea4['VzAet'](Date[_0x1f6bbd(0xe2)](),new Date(_0x172f69[_0x1f6bbd(0x158)])[_0x1f6bbd(0x168)]()):null,'started_at':new Date(_0x172f69[_0x1f6bbd(0x158)])['toISOString'](),'finished_at':_0x398e83,'failure':testOpsHelper[_0x1f6bbd(0x179)]['apply'](null,_0x4441dc),'failure_type':!_0x356bc9?null:testOpsHelper[_0x1f6bbd(0x102)](_0x356bc9),'retry_of':_0x172f69[_0x1f6bbd(0xf2)]||null,'tags':_0x172f69[_0x1f6bbd(0x111)]||[],'customRerunParam':{'rerun_name':_0x172f69[_0x1f6bbd(0xc9)]()}};_0xa9aea4[_0x1f6bbd(0x11d)](appendTesthubParams,_0xa67221,_0x29ee48,_0x172f69,FRAMEWORKS['CODECEPT']);if(_0x3063d3[_0x1f6bbd(0x141)])[_0xa67221[_0x1f6bbd(0x17e)],_0xa67221[_0x1f6bbd(0x19c)]]=[this[_0x1f6bbd(0x191)](_0x172f69),_0x172f69[_0x1f6bbd(0xe5)][_0x1f6bbd(0x1a1)]['title']],_0x3063d3[_0x1f6bbd(0x177)]?_0xa9aea4[_0x1f6bbd(0xf1)](_0xa67221[_0x1f6bbd(0x175)],_0xa9aea4[_0x1f6bbd(0xec)])&&(_0xa67221[_0x1f6bbd(0x175)]=_0xa9aea4['PZEjk']):_0xa67221[_0x1f6bbd(0x159)]={};else _0x3063d3[_0x1f6bbd(0x1a1)]&&(this['mapTestHooks'](_0x172f69),_0x3063d3[_0x1f6bbd(0x186)]&&this['resetSkipTestHooks'](_0x172f69),(_0x3063d3['finished']||_0x3063d3[_0x1f6bbd(0x186)])&&(_0xa67221['hooks']=this[_0x1f6bbd(0x14c)](_0x172f69)));this[_0x1f6bbd(0xfc)]&&(_0x3063d3[_0x1f6bbd(0x10f)]||_0x3063d3[_0x1f6bbd(0x186)])&&(_0xa67221[_0xa9aea4[_0x1f6bbd(0xd4)]]=this['getCBTInfo'](this[_0x1f6bbd(0xfc)]));_0x3063d3[_0x1f6bbd(0x1a1)]&&_0x3063d3['finished']&&_0x172f69[_0x1f6bbd(0xd8)]&&(_0xa67221[_0xa9aea4[_0x1f6bbd(0xd6)]]={'feature':{'name':_0x172f69[_0x1f6bbd(0x181)][_0x1f6bbd(0x126)]['name'],'path':_0xa67221[_0x1f6bbd(0x19d)],'description':_0x172f69[_0x1f6bbd(0x181)][_0x1f6bbd(0xe1)]},'scenario':{'name':_0x172f69['title']},'steps':_0x172f69[_0x1f6bbd(0xd8)]});const _0x1da16e=_0xa67221[_0xa9aea4[_0x1f6bbd(0xee)]][0x0];_0x1da16e&&(_0xa67221[_0xa9aea4[_0x1f6bbd(0x112)]]=_0x1da16e[_0xa9aea4[_0x1f6bbd(0x14e)]],_0xa67221[_0xa9aea4[_0x1f6bbd(0x12e)]]=_0x1da16e[_0xa9aea4['jIMdl']]);if(_0x172f69[_0x1f6bbd(0xd8)])for(const _0x15ad66 of _0x172f69['bddSteps']){!_0x15ad66[_0x1f6bbd(0x196)]&&(_0x15ad66['finished_at']=new Date()[_0x1f6bbd(0x10e)](),_0xa9aea4[_0x1f6bbd(0xc4)](_0x15ad66[_0x1f6bbd(0x175)],_0xa9aea4['EUTId'])&&(_0x1da16e?(_0x15ad66[_0x1f6bbd(0x175)]=_0xa9aea4['SZTUH'],_0x15ad66[_0x1f6bbd(0x19e)]=_0x1da16e[_0xa9aea4[_0x1f6bbd(0x14e)]][0x0]):_0x15ad66['result']=_0xa9aea4['PZEjk']));}const _0x23ab5a={};_0x23ab5a[_0x1f6bbd(0x171)]=_0x3063d3[_0x1f6bbd(0x186)]?TEST_EVENTS[_0x1f6bbd(0xe6)]:_0x29ee48;const _0x2627d0=_0x23ab5a;return _0x3063d3['hook']?_0x2627d0[_0xa9aea4[_0x1f6bbd(0x11e)]]=_0xa67221:_0x2627d0[_0xa9aea4[_0x1f6bbd(0x164)]]=_0xa67221,_0x2627d0;}catch(_0x39a12){logger[_0x1f6bbd(0x19f)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x29ee48+_0x1f6bbd(0xc6)+_0x39a12);}}async['fireEvent'](_0x375212,_0x15191e){const _0x224c36=a4_0x30d4d3;if(!this[_0x224c36(0x167)]||!_0x15191e||!_0x375212)return![];try{return await SessionHandler[_0x224c36(0xd1)](_0x15191e);}catch(_0x5172d9){logger[_0x224c36(0x19f)](_0x224c36(0x17f)+_0x375212+_0x224c36(0xc6)+_0x5172d9);}}['initializeBddStep'](_0x1188c2){const _0x166d17=a4_0x30d4d3,_0x133725={};_0x133725[_0x166d17(0xdc)]=_0x166d17(0x154);const _0x3f4c8a=_0x133725;return{'id':_0x1188c2[_0x166d17(0x192)],'text':_0x1188c2[_0x166d17(0xc3)],'keyword':_0x1188c2[_0x166d17(0x11b)],'started_at':_0x1188c2[_0x166d17(0x158)][_0x166d17(0x10e)](),'result':_0x3f4c8a[_0x166d17(0xdc)]};}[a4_0x30d4d3(0xda)](_0x315c48){const _0xa7dd01=a4_0x30d4d3,_0x4b51ed={'JMuyV':function(_0x40c336){return _0x40c336();}};!this[_0xa7dd01(0x14d)]['bddSteps']&&(this['currentTest'][_0xa7dd01(0xd8)]=[]),!_0x315c48['stepAnalyticsId']&&(_0x315c48['stepAnalyticsId']=_0x4b51ed['JMuyV'](uuidv4),_0x315c48[_0xa7dd01(0x158)]=new Date(),this[_0xa7dd01(0x14d)][_0xa7dd01(0xd8)][_0xa7dd01(0x133)](this['initializeBddStep'](_0x315c48)));}[a4_0x30d4d3(0x12a)](_0x40f080){const _0x3e5fcb=a4_0x30d4d3,_0x446faf={'QBFWJ':function(_0x503cb8,_0xc6e28a){return _0x503cb8(_0xc6e28a);},'tEVgq':'success','vjYeV':_0x3e5fcb(0x154),'yAyFC':_0x3e5fcb(0xeb),'kIfXh':function(_0x175a2a,_0x50cbbe){return _0x175a2a-_0x50cbbe;}};let _0x5ccff6=this[_0x3e5fcb(0x14d)][_0x3e5fcb(0xd8)]['find'](_0x1b3ac3=>_0x1b3ac3['id']===_0x40f080[_0x3e5fcb(0x192)]);_0x446faf[_0x3e5fcb(0x122)](isUndefined,_0x5ccff6)&&(_0x5ccff6=this['initializeBddStep'](_0x40f080)),_0x5ccff6[_0x3e5fcb(0x175)]=[_0x446faf[_0x3e5fcb(0x16b)],_0x446faf['vjYeV']][_0x3e5fcb(0xdb)](_0x40f080['status'])?_0x446faf[_0x3e5fcb(0x174)]:_0x40f080[_0x3e5fcb(0x182)],_0x5ccff6[_0x3e5fcb(0x196)]=new Date()['toISOString'](),_0x5ccff6[_0x3e5fcb(0x15b)]=_0x446faf['kIfXh'](Date['now'](),_0x40f080[_0x3e5fcb(0x158)][_0x3e5fcb(0x168)]()),_0x5ccff6['failure']=_0x40f080[_0x3e5fcb(0x17a)]?_0x40f080[_0x3e5fcb(0x17a)][_0x3e5fcb(0xcb)]:null;}}const a4_0x593ce6={};a4_0x593ce6[a4_0x30d4d3(0x13e)]=O11yHelper,a4_0x593ce6[a4_0x30d4d3(0x148)]=STATE_PASSED,a4_0x593ce6[a4_0x30d4d3(0x12c)]=STATE_FAILED,a4_0x593ce6[a4_0x30d4d3(0xef)]=TEST_EVENTS,module[a4_0x30d4d3(0xce)]=a4_0x593ce6;
|
|
1
|
+
const a4_0x18ada1=a4_0x48b0;(function(_0x35aca7,_0x4527ac){const _0x390932=a4_0x48b0,_0x336612=_0x35aca7();while(!![]){try{const _0x53b19a=-parseInt(_0x390932(0x1c2))/0x1+-parseInt(_0x390932(0x1b5))/0x2*(parseInt(_0x390932(0x1c0))/0x3)+parseInt(_0x390932(0x1b1))/0x4+parseInt(_0x390932(0x1c1))/0x5*(-parseInt(_0x390932(0x10f))/0x6)+parseInt(_0x390932(0x14c))/0x7+-parseInt(_0x390932(0x101))/0x8+parseInt(_0x390932(0x1d9))/0x9;if(_0x53b19a===_0x4527ac)break;else _0x336612['push'](_0x336612['shift']());}catch(_0x2138fb){_0x336612['push'](_0x336612['shift']());}}}(a4_0x57af,0x838eb));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x18ada1(0x17f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x18ada1(0x141)),testOpsHelper=require(a4_0x18ada1(0x199)),{getTestEnv}=require(a4_0x18ada1(0x13e)),{FRAMEWORKS}=require(a4_0x18ada1(0x120)),logger=require(a4_0x18ada1(0x158))['winstonLogger'],SessionHandler=require(a4_0x18ada1(0x14a)),RequestQueueHandler=require(a4_0x18ada1(0x1d8)),PlaywrightSessionDetails=require(a4_0x18ada1(0x1a9)),debug=testOpsHelper[a4_0x18ada1(0x176)],{processAccessibilityCaps}=require(a4_0x18ada1(0xfd)),Constants=require(a4_0x18ada1(0x174)),{fetchPlatformDetails}=require(a4_0x18ada1(0x1da)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x18ada1(0x15c)),STATE_PASSED=a4_0x18ada1(0x122),STATE_FAILED='failed',a4_0x293c05={};a4_0x293c05[a4_0x18ada1(0x164)]=a4_0x18ada1(0x15f),a4_0x293c05['TEST_RUN_FINISHED']=a4_0x18ada1(0x14f),a4_0x293c05['TEST_RUN_SKIPPED']=a4_0x18ada1(0x1a5),a4_0x293c05[a4_0x18ada1(0x161)]='HookRunStarted',a4_0x293c05['HOOK_RUN_FINISHED']=a4_0x18ada1(0xf7);function a4_0x57af(){const _0x21a4e6=['xSBnE','bEZLI','ZycHe','oGeVl','iaEFN','CODECEPT','getHooksForTest','xgGxA','../../helpers/test-observability/requestQueueHandler','9414621UIgriS','./helper.js','concat','body','NRjAf','title','KDDhq','HookRunFinished','length','tJWKa','bs:addLog:','launch','bddStepStart','../playwright/accessibility-helper','findGitConfig','tNskl','type','138776NZYxXU','ZOpZV','duration','GSMkL','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','testAnalyticsId','file','fNSND','now','lKAJL','TEST_EVENTS','test_run_uuid','TEST_RUN_FINISHED','24Omdnes','vAbkB','apply','gSJbI','oNYeP','_testEnv','YwlnV','message','DzaGY','setupBrowserDetails','XErbq','file_name','failure_backtrace','tags','getRootParentFile','toLowerCase','dirname','../../helpers/test-observability/constants','name','passed','codeceptjs','event_type','initializeBddStep','exports','PathHelper','javascript','enEno','currentHook','prefixTestPath','sendCBTInfo','suites','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','appendTestItemLog','QzZJU','CPgsx','getCBTInfo','bzXBY','enabled','integrations','File\x20path\x20could\x20not\x20be\x20found','hookAnalyticsId','ZJZMK','GwmHB','STATE_FAILED','skipped','finished','../mocha/test-observability/mochaUtils','slAbc','hook_run_uuid','../../helpers/helper','FugZD','_paths','hook_run','sWsqm','gaZDB','failure','JYkBW','1|0|2|5|3|4','../../helpers/test-observability/sessionHandler','currentTest','6917638XIlRou','qCruV','toISOString','TestRunFinished','OFLXa','getTime','stepAnalyticsId','bddSteps','push','expanded','status','getFailureType','../../helpers/logger','keyword','nSDHM','PVBqx','../../helpers/testhub/utils.js','groups','test','TestRunStarted','\x20with\x20error\x20:\x20','HOOK_RUN_STARTED','parent','failureData','TEST_RUN_STARTED','markedStatus','sMnoi','O11yHelper','test_run','Gzctl','UQLTB','startedAt','client','_beforeAll','pending','CBTSessionCreated','match','resetSkipTestHooks','NIDbP','ctx','../utils/constants','jnDAi','debug','XesNN','NnvQP','frameworkName','klEBN','gXJCX','shutdown','IsvHl','finished_at','uuid','NNOqM','result','driver','inspect','pid','BrowserType','stop','started','dAirL','forEach','meta','uZbcS','defineProperty','obsBrowserTypeMockApplied','ofSmX','_afterEach','feature','bddStepFinish','getHookType','includes','cwd','Playwright','RSeVd','accessibilityPlatform','KOktk','../../helpers/test-observability/utils','_beforeEach','UImiD','find','hooks','COIjz','LogCreated','connect','hook','captureEvent','DbnjP','ktwoR','TestRunSkipped','LkpES','constructor','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/sessionDetails','hXRnr','replace','VnPXZ','uploadEventData','then','toString','__cloud_provider___','645824iAlvMr','zcgyq','qMzZs','mapTestHooks','3788gENpnw','wsEndpoint','config','location_prefix','jILVM','Failed\x20to\x20parse\x20wsendpoint\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','NFwDY','retryOf','success','join','1065bYKChe','61920mkEOBZ','917647BNhake','ZdmPF','iubTz','getInstance','failure_reason_expanded','err','ZUhnf','dPEYx','SFFAk','_afterAll','getHierarchy','failed','vZFhH','removeAllListeners'];a4_0x57af=function(){return _0x21a4e6;};return a4_0x57af();}const TEST_EVENTS=a4_0x293c05,parseEvent=_0x190d10=>{const _0x1bb422=a4_0x18ada1,_0x1c4443={};_0x1c4443['EVAeD']=function(_0xad7dc9,_0x5d8bf7){return _0xad7dc9<_0x5d8bf7;},_0x1c4443[_0x1bb422(0x1c8)]=function(_0x1b32e1,_0x59841c){return _0x1b32e1===_0x59841c;},_0x1c4443['RdVnt']=_0x1bb422(0x15e),_0x1c4443[_0x1bb422(0x1ac)]='hook',_0x1c4443[_0x1bb422(0x10b)]=function(_0x571e24,_0x4f4110){return _0x571e24===_0x4f4110;},_0x1c4443[_0x1bb422(0x102)]=_0x1bb422(0x13c),_0x1c4443[_0x1bb422(0x150)]='started',_0x1c4443[_0x1bb422(0x1d0)]=function(_0x655cfb,_0x1f66e4){return _0x655cfb===_0x1f66e4;},_0x1c4443['YwlnV']='finished';const _0x2a2e31=_0x1c4443,_0x40e9d9=_0x190d10[_0x1bb422(0x170)](/^(.*)Run(.*)$/);if(!_0x40e9d9)return null;if(_0x2a2e31['EVAeD'](_0x40e9d9[_0x1bb422(0xf8)],0x3))return null;const _0x3a8e27=_0x40e9d9[0x1]['toLowerCase'](),_0x36f854=_0x40e9d9[0x2][_0x1bb422(0x11e)]();return{'test':_0x2a2e31['ZUhnf'](_0x3a8e27,_0x2a2e31['RdVnt']),'hook':_0x2a2e31[_0x1bb422(0x1c8)](_0x3a8e27,_0x2a2e31[_0x1bb422(0x1ac)]),'skipped':_0x2a2e31[_0x1bb422(0x10b)](_0x36f854,_0x2a2e31[_0x1bb422(0x102)]),'started':_0x2a2e31[_0x1bb422(0x1c8)](_0x36f854,_0x2a2e31[_0x1bb422(0x150)]),'finished':_0x2a2e31[_0x1bb422(0x1d0)](_0x36f854,_0x2a2e31[_0x1bb422(0x115)])};},mockPWBrowserType=_0x3cdb19=>{const _0xba08d9=a4_0x18ada1,_0x16c1d4={'bGSFi':function(_0x4e375d,_0x4afeee){return _0x4e375d===_0x4afeee;},'gaZDB':_0xba08d9(0x105),'bEZLI':function(_0x415409,_0x423a47,_0x50478b){return _0x415409(_0x423a47,_0x50478b);},'ktwoR':_0xba08d9(0x1b6),'fNSND':function(_0x308d4d,_0x429911){return _0x308d4d(_0x429911);},'enEno':'browserstack','qMzZs':'lib','dAirL':_0xba08d9(0x16c),'UlkIw':'browserType.js','uZbcS':'Not\x20able\x20to\x20import\x20Browser','GhEem':_0xba08d9(0x1a0),'LkpES':'launch'},_0x1f1bd0=path[_0xba08d9(0x1bf)](_0x16c1d4[_0xba08d9(0x1b3)],_0x16c1d4[_0xba08d9(0x188)],_0x16c1d4['UlkIw']),_0x4de9a2=_0x16c1d4[_0xba08d9(0x109)](importFileFromPWCore,_0x1f1bd0);if(!_0x4de9a2){_0x16c1d4[_0xba08d9(0x109)](debug,_0x16c1d4[_0xba08d9(0x18b)]);return;}const _0x28a3e1=_0x4de9a2[_0xba08d9(0x185)],_0x5d3bac=_0x28a3e1['prototype'];if(_0x5d3bac[_0xba08d9(0x18d)])return;const _0x44685f=_0x5d3bac[_0xba08d9(0x1a0)];Object['defineProperty'](_0x5d3bac,_0x16c1d4['GhEem'],{'get':function(){return async function _0x245a83(_0x1a0902,_0x2ed8d6){const _0x2c3508=a4_0x48b0,_0x158d18={'UImiD':function(_0x55d096,_0x43b097){return _0x16c1d4['bGSFi'](_0x55d096,_0x43b097);},'NnvQP':_0x16c1d4[_0x2c3508(0x146)]},_0x33c72a=_0x16c1d4[_0x2c3508(0x1d1)](nestedKeyValue,_0x1a0902,[_0x16c1d4[_0x2c3508(0x1a4)]])||_0x1a0902;let _0x444c73=null,_0x3d69df=null;try{[_0x3d69df,_0x444c73]=_0x33c72a?_0x16c1d4[_0x2c3508(0x109)](parseWSEndpoint,_0x33c72a):[null,null],global['__platformCaps']=_0x444c73,logger[_0x2c3508(0x176)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x3d69df),_0x3d69df[_0x2c3508(0x193)](Constants['BROWSERSTACK'])&&(global[_0x2c3508(0x1b0)]=_0x16c1d4[_0x2c3508(0x129)]);}catch(_0x4c146c){logger[_0x2c3508(0x176)](_0x2c3508(0x1ba)+_0x33c72a+'\x20'+_0x4c146c);}_0x16c1d4[_0x2c3508(0x1d1)](processAccessibilityCaps,_0x444c73,_0x3d69df);if(global[_0x2c3508(0x197)]){const _0xa0ffbd=await _0x5d3bac['connectOverCDP'][_0x2c3508(0x111)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x16c1d4[_0x2c3508(0x109)](encodeURIComponent,JSON['stringify'](_0x444c73))]);return PlaywrightSessionDetails[_0x2c3508(0x118)](_0xa0ffbd,_0x3cdb19,_0x33c72a),_0xa0ffbd;}return _0x44685f['apply'](this,arguments)[_0x2c3508(0x1ae)](_0x1834aa=>{const _0x2b0851=_0x2c3508;let _0x5d2422=_0x1a0902[_0x2b0851(0x1b6)];return _0x158d18[_0x2b0851(0x19b)](typeof _0x1a0902,_0x158d18[_0x2b0851(0x178)])&&(_0x5d2422=_0x1a0902),PlaywrightSessionDetails['setupBrowserDetails'](_0x1834aa,_0x3cdb19,_0x5d2422),_0x1834aa;});};}});const _0x596750=_0x5d3bac[_0xba08d9(0xfb)];Object[_0xba08d9(0x18c)](_0x5d3bac,_0x16c1d4[_0xba08d9(0x1a6)],{'get':function(){return async function _0x2b0862(){const _0x205b75=a4_0x48b0;return _0x596750[_0x205b75(0x111)](this,arguments)['then'](_0x305459=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x305459,null),_0x305459;});};}});};class O11yHelper{[a4_0x18ada1(0x14b)]=null;[a4_0x18ada1(0x12a)]=null;['enabled']=![];[a4_0x18ada1(0x179)]=![];constructor(_0x1c0622,_0x3aaa89){const _0x3b2cb6=a4_0x18ada1,_0x127663={'PVBqx':_0x3b2cb6(0x149),'xgGxA':function(_0x4bf731){return _0x4bf731();},'JYkBW':function(_0x541d68,_0x5112de){return _0x541d68===_0x5112de;},'knnja':_0x3b2cb6(0x195),'jILVM':function(_0x42b5a7,_0x18ed29){return _0x42b5a7(_0x18ed29);},'klEBN':function(_0x3f2b3b){return _0x3f2b3b();}},_0x30b611=_0x127663[_0x3b2cb6(0x15b)]['split']('|');let _0x5204ff=0x0;while(!![]){switch(_0x30b611[_0x5204ff++]){case'0':this[_0x3b2cb6(0x179)]=_0x3aaa89[_0x3b2cb6(0x179)];continue;case'1':this[_0x3b2cb6(0x135)]=_0x127663[_0x3b2cb6(0x1d7)](shouldProcessEventForTesthub);continue;case'2':this[_0x3b2cb6(0x182)]=_0x1c0622;continue;case'3':this[_0x3b2cb6(0x143)]=new testOpsHelper[(_0x3b2cb6(0x127))]({'cwd':process[_0x3b2cb6(0x194)]()},this['_testEnv'][_0x3b2cb6(0x1b8)]);continue;case'4':this[_0x3b2cb6(0x182)]&&_0x127663[_0x3b2cb6(0x148)](this[_0x3b2cb6(0x182)][_0x3b2cb6(0x1a7)][_0x3b2cb6(0x121)],_0x127663['knnja'])&&_0x127663[_0x3b2cb6(0x1b9)](mockPWBrowserType,null);continue;case'5':this[_0x3b2cb6(0x114)]=_0x127663[_0x3b2cb6(0x17a)](getTestEnv);continue;}break;}}['start'](){const _0xbe4b8e=a4_0x18ada1;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0xbe4b8e(0x1cf)](_0xbe4b8e(0xfa)+process['pid']),process['on'](_0xbe4b8e(0xfa)+process[_0xbe4b8e(0x184)],this[_0xbe4b8e(0x130)]['bind'](this));}async[a4_0x18ada1(0x186)](){const _0x2f609d=a4_0x18ada1;await RequestQueueHandler[_0x2f609d(0x1c5)]()[_0x2f609d(0x17c)]();}async[a4_0x18ada1(0x130)](_0x1487a9){const _0x6730b1=a4_0x18ada1,_0x5268ad={'WjVYW':_0x6730b1(0x19f),'IhSgM':function(_0x58736e,_0xec590d){return _0x58736e(_0xec590d);}};try{this[_0x6730b1(0x12a)]&&!this[_0x6730b1(0x12a)][_0x6730b1(0x165)]&&(_0x1487a9[_0x6730b1(0x140)]=this[_0x6730b1(0x12a)]['hookAnalyticsId']);!_0x1487a9[_0x6730b1(0x140)]&&this[_0x6730b1(0x14b)]&&!this[_0x6730b1(0x14b)][_0x6730b1(0x165)]&&(_0x1487a9[_0x6730b1(0x10d)]=this['currentTest'][_0x6730b1(0x107)]);if(_0x1487a9['hook_run_uuid']||_0x1487a9[_0x6730b1(0x10d)]){const _0x429e01={};_0x429e01['event_type']=_0x5268ad['WjVYW'],_0x429e01['logs']=[_0x1487a9],await SessionHandler[_0x6730b1(0x1ad)](_0x429e01);}}catch(_0x2ea7bd){_0x5268ad['IhSgM'](debug,_0x6730b1(0x1a8)+_0x2ea7bd);}}async[a4_0x18ada1(0x12c)](_0x7bdd2a){const _0x4acc56=a4_0x18ada1,_0xdd2c00={'NIDbP':_0x4acc56(0x16f),'XesNN':function(_0x437f8f,_0x2ebb46){return _0x437f8f(_0x2ebb46);}};if(!this[_0x4acc56(0x135)])return;const _0x13c6ff=this[_0x4acc56(0x133)](this[_0x4acc56(0x182)]);try{const _0x89fe45={};_0x89fe45[_0x4acc56(0x17f)]=_0x7bdd2a,_0x89fe45['integrations']=_0x13c6ff;const _0x377086=_0x89fe45,_0x58a584={};_0x58a584[_0x4acc56(0x124)]=_0xdd2c00[_0x4acc56(0x172)],_0x58a584[_0x4acc56(0x168)]=_0x377086,await SessionHandler[_0x4acc56(0x1ad)](_0x58a584);}catch(_0x52d149){_0xdd2c00[_0x4acc56(0x177)](debug,_0x4acc56(0x1bb)+_0x52d149);}}[a4_0x18ada1(0x133)](_0x56c050){const _0x592303=a4_0x18ada1,_0x3886c9={'iaEFN':function(_0x3448fc,_0x3c1698){return _0x3448fc(_0x3c1698);}};return _0x3886c9[_0x592303(0x1d4)](fetchPlatformDetails,_0x56c050);}[a4_0x18ada1(0x171)]=_0x29cc19=>{const _0x4ce6c4=a4_0x18ada1,_0x1ece94={};_0x1ece94[_0x4ce6c4(0x1a3)]=_0x4ce6c4(0x19a),_0x1ece94['NRjAf']=_0x4ce6c4(0x18f);const _0x3aab9c=_0x1ece94;if(!_0x29cc19||!_0x29cc19[_0x4ce6c4(0x162)])return;[_0x3aab9c[_0x4ce6c4(0x1a3)],_0x3aab9c[_0x4ce6c4(0x1dd)]][_0x4ce6c4(0x189)](_0x52b2e8=>{const _0x375183=_0x4ce6c4,_0x3adac5=_0x29cc19[_0x375183(0x162)][_0x52b2e8];_0x3adac5[_0x375183(0x189)](_0x23d333=>{const _0x1550bf=_0x375183;_0x23d333[_0x1550bf(0x138)]&&(_0x23d333[_0x1550bf(0x138)]=null);});});};[a4_0x18ada1(0x1b4)](_0x5ce054){const _0x4492e6=a4_0x18ada1,_0x198b00={'tNskl':_0x4492e6(0x123),'ZdmPF':function(_0x56e368){return _0x56e368();},'qFzAt':function(_0x2dd3f1,_0x305bb3){return _0x2dd3f1===_0x305bb3;},'rAtrC':'_afterEach','QzZJU':function(_0x54c634){return _0x54c634();},'ZycHe':_0x4492e6(0x16d),'eoZjo':_0x4492e6(0x1cb),'CPgsx':_0x4492e6(0x19a)};if(!_0x5ce054||!_0x5ce054['parent'])return;[_0x198b00[_0x4492e6(0x1d2)],_0x198b00['eoZjo'],_0x198b00[_0x4492e6(0x132)],_0x198b00['rAtrC']]['forEach'](_0x36bb44=>{const _0x2f3d6d=_0x4492e6,_0x551645=_0x5ce054['parent'][_0x36bb44]||[];_0x551645[_0x2f3d6d(0x189)](_0x597f7a=>{const _0x151f04=_0x2f3d6d;if(_0x597f7a[_0x151f04(0xf5)][_0x151f04(0x193)](_0x198b00[_0x151f04(0xff)]))return;if(!_0x597f7a['hookAnalyticsId'])_0x597f7a[_0x151f04(0x138)]=_0x198b00[_0x151f04(0x1c3)](uuidv4);else _0x597f7a[_0x151f04(0x165)]&&_0x198b00['qFzAt'](_0x36bb44,_0x198b00['rAtrC'])&&(_0x597f7a[_0x151f04(0x138)]=_0x198b00[_0x151f04(0x131)](uuidv4),delete _0x597f7a['markedStatus']);});}),this[_0x4492e6(0x1b4)](_0x5ce054[_0x4492e6(0x162)]);}[a4_0x18ada1(0x1d6)](_0xe4f37a){const _0x3604c5=a4_0x18ada1,_0x33a7bf={};_0x33a7bf[_0x3604c5(0x15a)]=_0x3604c5(0x16d),_0x33a7bf[_0x3604c5(0x112)]=_0x3604c5(0x1cb),_0x33a7bf[_0x3604c5(0x139)]='_beforeEach',_0x33a7bf[_0x3604c5(0x1d3)]=_0x3604c5(0x18f);const _0x1473f3=_0x33a7bf;if(!_0xe4f37a||!_0xe4f37a['parent'])return[];const _0x4334fa=[];return[_0x1473f3[_0x3604c5(0x15a)],_0x1473f3[_0x3604c5(0x112)],_0x1473f3[_0x3604c5(0x139)],_0x1473f3[_0x3604c5(0x1d3)]][_0x3604c5(0x189)](_0x2eb7e8=>{const _0x2c43b9=_0x3604c5,_0x5ae4f8=_0xe4f37a[_0x2c43b9(0x162)][_0x2eb7e8]||[];_0x5ae4f8[_0x2c43b9(0x189)](_0x208612=>{const _0x268250=_0x2c43b9;_0x208612[_0x268250(0x138)]&&_0x4334fa[_0x268250(0x154)](_0x208612[_0x268250(0x138)]);});}),[][_0x3604c5(0x1db)](_0x4334fa,this[_0x3604c5(0x1d6)](_0xe4f37a[_0x3604c5(0x162)]));}['getHookType'](_0x9d6dbb){const _0xbfc016=a4_0x18ada1,_0x1b403e=/^"(?<hook>.*)" hook:.*$/,_0x208f47=_0x9d6dbb[_0xbfc016(0xf5)],_0x4e85c9=_0x208f47[_0xbfc016(0x170)](_0x1b403e);if(_0x4e85c9&&_0x4e85c9[_0xbfc016(0x15d)])return _0x4e85c9[_0xbfc016(0x15d)][_0xbfc016(0x1a1)]['toUpperCase']()[_0xbfc016(0x1ab)]('\x20','_');return null;}[a4_0x18ada1(0xfe)](_0xebda36){const _0x522875=a4_0x18ada1,_0x5b25ce={};_0x5b25ce['sWsqm']=function(_0x5c4698,_0x169631){return _0x5c4698===_0x169631;},_0x5b25ce[_0x522875(0x113)]=function(_0x3268a4,_0x146586){return _0x3268a4===_0x146586;},_0x5b25ce[_0x522875(0x1aa)]='.git',_0x5b25ce[_0x522875(0x134)]=_0x522875(0x1b7);const _0x25fc77=_0x5b25ce,_0xd78876=path['sep'];if(_0x25fc77[_0x522875(0x145)](_0xebda36,null)||_0x25fc77[_0x522875(0x145)](_0xebda36,'')||_0x25fc77[_0x522875(0x145)](_0xebda36,_0xd78876)||_0x25fc77['oNYeP'](_0xebda36,path[_0x522875(0x11f)](_0xebda36)))return null;try{return fs['statSync'](path['join'](_0xebda36,_0x25fc77['hXRnr'],_0x25fc77['bzXBY'])),_0xebda36;}catch(_0x4df871){const _0x56f2a2=path[_0x522875(0x11f)](_0xebda36);return this[_0x522875(0xfe)](_0x56f2a2);}}[a4_0x18ada1(0x11d)](_0x11d2d0){const _0xeb082a=a4_0x18ada1,_0x1efaf9={};_0x1efaf9[_0xeb082a(0x169)]=function(_0x5f0c31,_0x46c8c3){return _0x5f0c31>_0x46c8c3;};const _0xa7394e=_0x1efaf9;if(_0x11d2d0['file'])return _0x11d2d0[_0xeb082a(0x108)];if(_0x11d2d0[_0xeb082a(0x173)]){const _0x8c7ef8=_0x11d2d0[_0xeb082a(0x173)][_0xeb082a(0x14b)]?this['getRootParentFile'](_0x11d2d0[_0xeb082a(0x173)][_0xeb082a(0x14b)]):null;if(_0x8c7ef8)return _0x8c7ef8;}if(_0x11d2d0[_0xeb082a(0x162)]){const _0x14224b=this['getRootParentFile'](_0x11d2d0[_0xeb082a(0x162)])||(_0x11d2d0['parent']['ctx']&&_0x11d2d0[_0xeb082a(0x162)]['ctx'][_0xeb082a(0x14b)]?this[_0xeb082a(0x11d)](_0x11d2d0[_0xeb082a(0x162)]['ctx'][_0xeb082a(0x14b)]):null);if(_0x14224b)return _0x14224b;_0x11d2d0['parent']['suites']&&_0xa7394e[_0xeb082a(0x169)](_0x11d2d0['parent'][_0xeb082a(0x12d)][_0xeb082a(0xf8)],0x0)&&_0x11d2d0['parent']['suites'][_0xeb082a(0x189)](_0x52456b=>{const _0x35325f=_0xeb082a,_0x2ec180=_0x52456b[_0x35325f(0x173)]?this['getRootParentFile'](_0x52456b[_0x35325f(0x173)]):null;if(_0x2ec180)return _0x2ec180;});}return null;}[a4_0x18ada1(0x1cc)](_0x1456ee){const _0xbc536f=a4_0x18ada1,_0x582e3a={};_0x582e3a[_0xbc536f(0x13a)]=function(_0x4bde53,_0x10946d){return _0x4bde53!==_0x10946d;};const _0x1fd1f6=_0x582e3a,_0x174bfa=[];if(_0x1456ee&&_0x1456ee[_0xbc536f(0x162)]){let _0x14213c=_0x1456ee['parent'];while(_0x14213c&&_0x1fd1f6[_0xbc536f(0x13a)](_0x14213c[_0xbc536f(0xf5)],'')){_0x174bfa[_0xbc536f(0x154)](_0x14213c['title']),_0x14213c=_0x14213c[_0xbc536f(0x162)];}}return _0x174bfa;}[a4_0x18ada1(0x1a2)](_0xed0be,_0x39982a,_0x140ff8=undefined){const _0x408400=a4_0x18ada1,_0xe7d291={'ofSmX':function(_0x5102d8,_0x472d96){return _0x5102d8(_0x472d96);},'vAbkB':function(_0x9f8240){return _0x9f8240();},'YcDAL':'util','iubTz':_0x408400(0x1c7),'IsvHl':function(_0x576fd7,_0x3de9d0){return _0x576fd7!==_0x3de9d0;},'NFwDY':_0x408400(0x137),'DzaGY':_0x408400(0x16e),'tJWKa':_0x408400(0x1cd),'jnDAi':_0x408400(0x122),'COIjz':_0x408400(0x13c),'gXJCX':_0x408400(0x128),'NNOqM':function(_0x2f5802,_0x52fbcf){return _0x2f5802-_0x52fbcf;},'SFFAk':function(_0x4786c2,_0x19adc0,_0x2666d2,_0x7e8077,_0x3eb02e){return _0x4786c2(_0x19adc0,_0x2666d2,_0x7e8077,_0x3eb02e);},'qCruV':function(_0x5c1f57,_0x128106){return _0x5c1f57!==_0x128106;},'vZFhH':_0x408400(0x136),'HRNMn':_0x408400(0x18a),'qkPwr':'failure','IWusN':_0x408400(0x11b),'zcgyq':'backtrace','RSeVd':_0x408400(0x1c6),'dPEYx':_0x408400(0x155),'KDDhq':function(_0x166d8b,_0x433798){return _0x166d8b===_0x433798;},'KOktk':_0x408400(0x144),'UQLTB':'test_run'};if(!this[_0x408400(0x135)])return;try{if(_0x39982a['fn']&&_0x39982a['fn'][_0x408400(0x1af)]()[_0x408400(0x170)](/browserstack internal helper hook/))return;const _0x512aab=_0xe7d291[_0x408400(0x18e)](parseEvent,_0xed0be);if(!_0x512aab)return;if(_0x512aab[_0x408400(0x15e)]){this['currentTest']=_0x39982a,this[_0x408400(0x12a)]=null;if(_0x512aab[_0x408400(0x187)]||_0x512aab['skipped']){_0x39982a[_0x408400(0x16b)]=new Date(),_0x39982a[_0x408400(0x165)]=![];if(!_0x39982a['testAnalyticsId'])_0x39982a['testAnalyticsId']=_0xe7d291[_0x408400(0x110)](uuidv4);else _0x39982a[_0x408400(0x165)]&&(!_0x39982a[_0x408400(0x1bd)]&&(_0x39982a[_0x408400(0x1bd)]=_0x39982a[_0x408400(0x107)]),_0x39982a[_0x408400(0x107)]=_0xe7d291[_0x408400(0x110)](uuidv4));}}else{if(_0x512aab[_0x408400(0x1a1)]){this['currentHook']=_0x39982a;if(_0x512aab[_0x408400(0x187)]){_0x39982a['startedAt']=new Date(),_0x39982a[_0x408400(0x165)]=![];if(!_0x39982a[_0x408400(0x138)])_0x39982a[_0x408400(0x138)]=_0xe7d291[_0x408400(0x110)](uuidv4);else _0x39982a[_0x408400(0x138)]&&_0x39982a[_0x408400(0x165)]&&(_0x39982a[_0x408400(0x138)]=_0xe7d291[_0x408400(0x110)](uuidv4));}}}if(_0x512aab[_0x408400(0x13d)]&&_0x39982a[_0x408400(0x165)])return;let _0x9feffd;try{_0x9feffd=this[_0x408400(0x11d)](_0x39982a);}catch(_0x4e9f34){logger[_0x408400(0x176)](_0x408400(0x106)+_0x4e9f34),_0x9feffd=null;}const _0x2f8421=_0xe7d291[_0x408400(0x18e)](require,_0xe7d291['YcDAL']);let _0x3f6d86=[];_0x140ff8&&(_0x3f6d86=[_0x140ff8,_0xe7d291[_0x408400(0x1c4)]]);const _0x3b5e4c=_0xe7d291[_0x408400(0x17d)](_0x39982a[_0x408400(0x12f)],undefined)?_0x2f8421[_0x408400(0x183)](_0x39982a[_0x408400(0x12f)][0x0]):_0xe7d291[_0x408400(0x17d)](_0x140ff8,undefined)?_0x140ff8[_0x408400(0x1af)]():undefined,_0x29aa5a=_0x9feffd?this['findGitConfig'](_0x9feffd):null,_0x599a5c=_0x9feffd?this[_0x408400(0x143)][_0x408400(0x12b)](this[_0x408400(0x11d)](_0x39982a)):_0xe7d291[_0x408400(0x1bc)];let _0x260a15=_0xe7d291['DzaGY'];const _0x1a8193=!_0x512aab[_0x408400(0x187)]?new Date()['toISOString']():null;if(_0x512aab['finished'])_0x260a15=_0x140ff8?_0xe7d291[_0x408400(0xf9)]:_0xe7d291['jnDAi'],_0x39982a[_0x408400(0x165)]=!![];else _0x512aab[_0x408400(0x13c)]&&(_0x260a15=_0xe7d291[_0x408400(0x19e)],_0x39982a[_0x408400(0x165)]=!![]);const _0x857c62={'framework':this[_0x408400(0x179)],'uuid':_0x39982a[_0x408400(0x107)]||_0x39982a[_0x408400(0x138)],'name':_0x39982a[_0x408400(0xf5)],'body':{'lang':_0xe7d291[_0x408400(0x17b)],'code':_0x39982a[_0x408400(0x1dc)][_0x408400(0x1af)]()},'type':_0x39982a[_0x408400(0x100)],'scope':_0x39982a['fullTitle'](),'scopes':this['getHierarchy'](_0x39982a),'file_name':_0x599a5c,'vc_filepath':_0x29aa5a?path['relative'](_0x29aa5a,_0x9feffd):null,'location':_0x599a5c,'result':_0x260a15,'failure_reason':_0x3b5e4c,'duration_in_ms':_0x39982a['duration']||(_0x512aab['finished']||_0x512aab['skipped'])?_0xe7d291[_0x408400(0x180)](Date[_0x408400(0x10a)](),new Date(_0x39982a['startedAt'])[_0x408400(0x151)]()):null,'started_at':new Date(_0x39982a[_0x408400(0x16b)])[_0x408400(0x14e)](),'finished_at':_0x1a8193,'failure':testOpsHelper[_0x408400(0x163)][_0x408400(0x111)](null,_0x3f6d86),'failure_type':!_0x3b5e4c?null:testOpsHelper[_0x408400(0x157)](_0x3b5e4c),'retry_of':_0x39982a['retryOf']||null,'tags':_0x39982a[_0x408400(0x11c)]||[],'customRerunParam':{'rerun_name':_0x39982a['fullTitle']()}};_0xe7d291[_0x408400(0x1ca)](appendTesthubParams,_0x857c62,_0xed0be,_0x39982a,FRAMEWORKS[_0x408400(0x1d5)]);if(_0x512aab[_0x408400(0x1a1)])[_0x857c62['hook_type'],_0x857c62[_0x408400(0x121)]]=[this[_0x408400(0x192)](_0x39982a),_0x39982a[_0x408400(0x173)][_0x408400(0x15e)][_0x408400(0xf5)]],_0x512aab[_0x408400(0x13d)]?_0xe7d291[_0x408400(0x14d)](_0x857c62[_0x408400(0x181)],_0xe7d291[_0x408400(0xf9)])&&(_0x857c62[_0x408400(0x181)]=_0xe7d291[_0x408400(0x175)]):_0x857c62[_0x408400(0x1dc)]={};else _0x512aab[_0x408400(0x15e)]&&(this[_0x408400(0x1b4)](_0x39982a),_0x512aab[_0x408400(0x13c)]&&this[_0x408400(0x171)](_0x39982a),(_0x512aab[_0x408400(0x13d)]||_0x512aab[_0x408400(0x13c)])&&(_0x857c62[_0x408400(0x19d)]=this[_0x408400(0x1d6)](_0x39982a)));this[_0x408400(0x182)]&&(_0x512aab[_0x408400(0x187)]||_0x512aab[_0x408400(0x13c)])&&(_0x857c62[_0xe7d291[_0x408400(0x1ce)]]=this[_0x408400(0x133)](this['driver']));_0x512aab[_0x408400(0x15e)]&&_0x512aab[_0x408400(0x13d)]&&_0x39982a[_0x408400(0x153)]&&(_0x857c62[_0xe7d291['HRNMn']]={'feature':{'name':_0x39982a[_0x408400(0x162)][_0x408400(0x190)][_0x408400(0x121)],'path':_0x857c62[_0x408400(0x11a)],'description':_0x39982a[_0x408400(0x162)]['comment']},'scenario':{'name':_0x39982a[_0x408400(0xf5)]},'steps':_0x39982a['bddSteps']});const _0x2bb437=_0x857c62[_0xe7d291['qkPwr']][0x0];_0x2bb437&&(_0x857c62[_0xe7d291['IWusN']]=_0x2bb437[_0xe7d291[_0x408400(0x1b2)]],_0x857c62[_0xe7d291[_0x408400(0x196)]]=_0x2bb437[_0xe7d291[_0x408400(0x1c9)]]);if(_0x39982a[_0x408400(0x153)])for(const _0x2454b1 of _0x39982a[_0x408400(0x153)]){!_0x2454b1[_0x408400(0x17e)]&&(_0x2454b1[_0x408400(0x17e)]=new Date()[_0x408400(0x14e)](),_0xe7d291[_0x408400(0xf6)](_0x2454b1[_0x408400(0x181)],_0xe7d291[_0x408400(0x117)])&&(_0x2bb437?(_0x2454b1[_0x408400(0x181)]=_0xe7d291[_0x408400(0xf9)],_0x2454b1[_0x408400(0x147)]=_0x2bb437[_0xe7d291[_0x408400(0x1b2)]][0x0]):_0x2454b1[_0x408400(0x181)]=_0xe7d291[_0x408400(0x175)]));}const _0x38209d={};_0x38209d['event_type']=_0x512aab['skipped']?TEST_EVENTS[_0x408400(0x10e)]:_0xed0be;const _0x5ec73d=_0x38209d;return _0x512aab[_0x408400(0x1a1)]?_0x5ec73d[_0xe7d291[_0x408400(0x198)]]=_0x857c62:_0x5ec73d[_0xe7d291[_0x408400(0x16a)]]=_0x857c62,_0x5ec73d;}catch(_0x3372f9){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0xed0be+_0x408400(0x160)+_0x3372f9);}}async['fireEvent'](_0x48a083,_0x4f88cd){const _0x1f4a0c=a4_0x18ada1;if(!this[_0x1f4a0c(0x135)]||!_0x4f88cd||!_0x48a083)return![];try{return await SessionHandler[_0x1f4a0c(0x1ad)](_0x4f88cd);}catch(_0x141d28){logger[_0x1f4a0c(0x176)](_0x1f4a0c(0x12e)+_0x48a083+_0x1f4a0c(0x160)+_0x141d28);}}[a4_0x18ada1(0x125)](_0x35fbc9){const _0x58872d=a4_0x18ada1,_0x3b9607={};_0x3b9607[_0x58872d(0x13f)]=_0x58872d(0x16e);const _0x53e1e7=_0x3b9607;return{'id':_0x35fbc9[_0x58872d(0x152)],'text':_0x35fbc9['text'],'keyword':_0x35fbc9[_0x58872d(0x159)],'started_at':_0x35fbc9[_0x58872d(0x16b)][_0x58872d(0x14e)](),'result':_0x53e1e7[_0x58872d(0x13f)]};}[a4_0x18ada1(0xfc)](_0x1f21d7){const _0xe40bc4=a4_0x18ada1,_0x2f1663={'sMnoi':function(_0x1946c2){return _0x1946c2();}};!this['currentTest'][_0xe40bc4(0x153)]&&(this[_0xe40bc4(0x14b)][_0xe40bc4(0x153)]=[]),!_0x1f21d7['stepAnalyticsId']&&(_0x1f21d7[_0xe40bc4(0x152)]=_0x2f1663[_0xe40bc4(0x166)](uuidv4),_0x1f21d7[_0xe40bc4(0x16b)]=new Date(),this[_0xe40bc4(0x14b)]['bddSteps'][_0xe40bc4(0x154)](this[_0xe40bc4(0x125)](_0x1f21d7)));}[a4_0x18ada1(0x191)](_0x493c4c){const _0x332387=a4_0x18ada1,_0x401e99={'XErbq':function(_0xe0297e,_0xbe7e10){return _0xe0297e(_0xbe7e10);},'chzjI':_0x332387(0x1be),'FugZD':_0x332387(0x16e),'YXKLX':_0x332387(0x122),'GSMkL':function(_0x136dd4,_0x5c9f68){return _0x136dd4-_0x5c9f68;}};let _0x5d61b1=this[_0x332387(0x14b)][_0x332387(0x153)][_0x332387(0x19c)](_0x3529bd=>_0x3529bd['id']===_0x493c4c[_0x332387(0x152)]);_0x401e99[_0x332387(0x119)](isUndefined,_0x5d61b1)&&(_0x5d61b1=this['initializeBddStep'](_0x493c4c)),_0x5d61b1[_0x332387(0x181)]=[_0x401e99['chzjI'],_0x401e99[_0x332387(0x142)]][_0x332387(0x193)](_0x493c4c[_0x332387(0x156)])?_0x401e99['YXKLX']:_0x493c4c[_0x332387(0x156)],_0x5d61b1[_0x332387(0x17e)]=new Date()['toISOString'](),_0x5d61b1[_0x332387(0x103)]=_0x401e99[_0x332387(0x104)](Date[_0x332387(0x10a)](),_0x493c4c[_0x332387(0x16b)][_0x332387(0x151)]()),_0x5d61b1[_0x332387(0x147)]=_0x493c4c['err']?_0x493c4c[_0x332387(0x1c7)][_0x332387(0x116)]:null;}}const a4_0x380447={};function a4_0x48b0(_0x3c2bd6,_0x3d9a6f){const _0x57af08=a4_0x57af();return a4_0x48b0=function(_0x48b084,_0x4367b8){_0x48b084=_0x48b084-0xf5;let _0x42a823=_0x57af08[_0x48b084];return _0x42a823;},a4_0x48b0(_0x3c2bd6,_0x3d9a6f);}a4_0x380447[a4_0x18ada1(0x167)]=O11yHelper,a4_0x380447['STATE_PASSED']=STATE_PASSED,a4_0x380447[a4_0x18ada1(0x13b)]=STATE_FAILED,a4_0x380447[a4_0x18ada1(0x10c)]=TEST_EVENTS,module[a4_0x18ada1(0x126)]=a4_0x380447;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x5528(_0x5c72ea,_0x340ebf){const _0x2f7e63=a5_0x2f7e();return a5_0x5528=function(_0x552881,_0x174f80){_0x552881=_0x552881-0xca;let _0x1f5ad9=_0x2f7e63[_0x552881];return _0x1f5ad9;},a5_0x5528(_0x5c72ea,_0x340ebf);}const a5_0x327b1b=a5_0x5528;(function(_0xc66593,_0x4e500d){const _0x2cc925=a5_0x5528,_0x36adae=_0xc66593();while(!![]){try{const _0x25422e=-parseInt(_0x2cc925(0x107))/0x1+parseInt(_0x2cc925(0xd2))/0x2*(-parseInt(_0x2cc925(0xdd))/0x3)+parseInt(_0x2cc925(0xf6))/0x4*(-parseInt(_0x2cc925(0x104))/0x5)+parseInt(_0x2cc925(0x125))/0x6+-parseInt(_0x2cc925(0xd0))/0x7+-parseInt(_0x2cc925(0x121))/0x8*(parseInt(_0x2cc925(0x112))/0x9)+parseInt(_0x2cc925(0x12c))/0xa;if(_0x25422e===_0x4e500d)break;else _0x36adae['push'](_0x36adae['shift']());}catch(_0x5ef3b1){_0x36adae['push'](_0x36adae['shift']());}}}(a5_0x2f7e,0xd1f27));const fs=require('fs'),path=require(a5_0x327b1b(0xe6)),util=require(a5_0x327b1b(0xca)),logger=require('../../helpers/logger')[a5_0x327b1b(0x135)],{default:BrowserStackSetup}=require(a5_0x327b1b(0x108)),helper=require(a5_0x327b1b(0xf0)),utilities=require('../../helpers/utilities'),constants=require(a5_0x327b1b(0xd9)),{parallelCucumberRun}=require(a5_0x327b1b(0xd3)),TestHubHandler=require(a5_0x327b1b(0x116)),testOpsHelper=require(a5_0x327b1b(0xef)),chalk=require(a5_0x327b1b(0xd6)),PerformanceTester=require(a5_0x327b1b(0xf8)),PerformanceEvents=require(a5_0x327b1b(0xe5))['EVENTS'];function printCucumberStats(_0xd833bc){const _0x131da3=a5_0x327b1b,_0x1180e8={};_0x1180e8[_0x131da3(0x115)]=function(_0x93063e,_0x4ab8a4){return _0x93063e>_0x4ab8a4;},_0x1180e8[_0x131da3(0xfa)]=function(_0x548eaf,_0x347343){return _0x548eaf-_0x347343;},_0x1180e8['apyBL']=function(_0x29b16b,_0x968e88){return _0x29b16b>_0x968e88;},_0x1180e8['ZtPho']=function(_0x5a8805,_0x585301){return _0x5a8805>_0x585301;},_0x1180e8[_0x131da3(0xe2)]=function(_0x4c9c61,_0x598912){return _0x4c9c61>_0x598912;},_0x1180e8['KDHkM']=function(_0x2afc9c,_0x24cfdc){return _0x2afc9c>_0x24cfdc;},_0x1180e8[_0x131da3(0xcb)]=function(_0x566723,_0x42f98a){return _0x566723>_0x42f98a;},_0x1180e8[_0x131da3(0xd8)]=function(_0x1a68c1,_0x91b475){return _0x1a68c1>_0x91b475;},_0x1180e8[_0x131da3(0x12f)]=function(_0x31716a,_0x17608e){return _0x31716a+_0x17608e;},_0x1180e8[_0x131da3(0xcc)]=function(_0x1f72df,_0x229658){return _0x1f72df+_0x229658;},_0x1180e8['dXtJj']=function(_0xe33829,_0xee3583){return _0xe33829+_0xee3583;},_0x1180e8[_0x131da3(0x136)]=function(_0x472258,_0x362d3f){return _0x472258+_0x362d3f;},_0x1180e8['XjuSO']=function(_0x45b058,_0x59f05d){return _0x45b058+_0x59f05d;},_0x1180e8[_0x131da3(0xf7)]=function(_0x3131dd,_0x440539){return _0x3131dd===_0x440539;},_0x1180e8[_0x131da3(0x10b)]=function(_0x557ed2,_0x8936ea){return _0x557ed2===_0x8936ea;},_0x1180e8[_0x131da3(0x124)]=_0x131da3(0x113);const _0x1fa6cc=_0x1180e8;let _0x3d87c5=0x0;if(_0x1fa6cc[_0x131da3(0x10b)](_0xd833bc['length'],0x0))return _0x3d87c5;return console['log'](chalk[_0x131da3(0x130)][_0x131da3(0xf9)](_0x1fa6cc[_0x131da3(0x124)])),_0xd833bc['forEach'](_0x575a7b=>{const _0x514c71=_0x131da3,_0x3aa744=_0x575a7b[0x0],_0xd623a=_0x575a7b[0x1];console[_0x514c71(0x105)]('\x0a'+chalk[_0x514c71(0x130)][_0x514c71(0xf4)](''+helper[_0x514c71(0x129)](_0x3aa744)));const _0x3b433b=_0xd623a[_0x514c71(0xd1)],_0xd367f9=_0xd623a[_0x514c71(0xf3)],_0x1a6ef2=_0xd623a[_0x514c71(0xeb)],_0x789a88=_0xd623a['stepsFailed'],_0x36c602=_0xd623a[_0x514c71(0xf5)],_0x106004=_0xd623a[_0x514c71(0xf1)],_0x52f6e6=_0xd623a['stepsPending'],_0xff6b45=_0xd623a['stepsUndefined'],_0x43de28=_0xd623a[_0x514c71(0x100)],_0x4eb042=_0xd623a['stepsAmbiguous'],_0x5b8cf5=_0xd623a[_0x514c71(0x122)];let _0x4e6955=_0x3b433b+_0x514c71(0x120);const _0x415afc=_0x1fa6cc['wSySv'](_0x1fa6cc['lAZMI'](_0x3b433b,_0x1a6ef2),0x0)?_0x1fa6cc[_0x514c71(0xfa)](_0x3b433b,_0x1a6ef2):0x0;if(_0x1fa6cc[_0x514c71(0x106)](_0x1a6ef2,0x0)&&_0x1fa6cc[_0x514c71(0x115)](_0x415afc,0x0))_0x4e6955+='\x20('+chalk[_0x514c71(0x130)][_0x514c71(0x10d)](_0x1a6ef2+_0x514c71(0xe1))+',\x20'+chalk[_0x514c71(0x130)][_0x514c71(0x138)](_0x415afc+_0x514c71(0xe8))+')';else(_0x1fa6cc[_0x514c71(0x106)](_0x1a6ef2,0x0)||_0x1fa6cc[_0x514c71(0x106)](_0x415afc,0x0))&&(_0x4e6955+=_0x1fa6cc[_0x514c71(0x106)](_0x1a6ef2,0x0)?'\x20('+chalk['bold'][_0x514c71(0x10d)](_0x1a6ef2+_0x514c71(0xe1))+')':'\x20('+chalk[_0x514c71(0x130)][_0x514c71(0x138)](_0x415afc+_0x514c71(0xe8))+')');const _0x1bd641=_0xd367f9+_0x514c71(0x10e),_0x2e062e=[];_0x1fa6cc[_0x514c71(0x115)](_0x4eb042,0x0)&&_0x2e062e[_0x514c71(0x10c)](''+chalk['bold'][_0x514c71(0x10d)](_0x4eb042+'\x20ambiguous'));_0x1fa6cc['ZtPho'](_0x789a88,0x0)&&_0x2e062e['push'](''+chalk['bold']['red'](_0x789a88+_0x514c71(0xe1)));_0x1fa6cc[_0x514c71(0x106)](_0x36c602,0x0)&&_0x2e062e['push'](''+chalk[_0x514c71(0x130)][_0x514c71(0x138)](_0x36c602+_0x514c71(0xe8)));_0x1fa6cc[_0x514c71(0xe2)](_0x52f6e6,0x0)&&_0x2e062e['push'](''+chalk[_0x514c71(0x130)]['yellow'](_0x52f6e6+'\x20pending'));_0x1fa6cc[_0x514c71(0x11d)](_0x106004,0x0)&&_0x2e062e['push'](''+chalk[_0x514c71(0x130)][_0x514c71(0xe3)](_0x106004+_0x514c71(0xcd)));_0x1fa6cc[_0x514c71(0xcb)](_0xff6b45,0x0)&&_0x2e062e[_0x514c71(0x10c)](''+chalk[_0x514c71(0x130)]['yellow'](_0xff6b45+_0x514c71(0xe0)));_0x1fa6cc[_0x514c71(0xd8)](_0x43de28,0x0)&&_0x2e062e[_0x514c71(0x10c)](''+chalk['bold']['yellow'](_0x43de28+_0x514c71(0xcd)));const _0x4c4ccd=_0x1fa6cc['YjHck'](_0x1fa6cc['YjHck'](_0x1fa6cc[_0x514c71(0xcc)](_0x1bd641,'('),_0x2e062e[_0x514c71(0x131)](',\x20')),')');console[_0x514c71(0x105)](_0x1fa6cc[_0x514c71(0xda)](_0x1fa6cc[_0x514c71(0x136)](_0x1fa6cc[_0x514c71(0x11e)](_0x1fa6cc[_0x514c71(0xcc)]('\x0a',_0x4e6955),'\x0a'),_0x4c4ccd),'\x0a')),_0x1fa6cc[_0x514c71(0xf7)](_0x5b8cf5,![])&&(_0x3d87c5=0x1);}),_0x3d87c5;}async function run(_0x562b55,_0x40ad62,_0x779706){const _0x4ce4eb=a5_0x327b1b,_0x313d43={'QLdqd':function(_0x2e9d11,_0x589a0d){return _0x2e9d11(_0x589a0d);},'DYIlR':function(_0x2872bf,_0x3bf8ab){return _0x2872bf>_0x3bf8ab;},'SJpiO':_0x4ce4eb(0xed),'TvxNa':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','fEYQG':_0x4ce4eb(0x114),'BhdHj':_0x4ce4eb(0x12e),'DtjXR':_0x4ce4eb(0xe7),'NIrCL':function(_0xd9c72e,_0x4ad0d9){return _0xd9c72e-_0x4ad0d9;},'Beszm':function(_0x53e14f,_0x1bac0d){return _0x53e14f>=_0x1bac0d;},'lHlme':function(_0x2f84a5,_0x41aa2e){return _0x2f84a5!=_0x41aa2e;},'WQyBn':'true','KWuMH':function(_0x146df2,_0x30426a,_0x4b443e,_0x25b2ac,_0x266c90,_0x275b0e){return _0x146df2(_0x30426a,_0x4b443e,_0x25b2ac,_0x266c90,_0x275b0e);}};await _0x779706['initialize'](_0x562b55),helper['setUserConfigPath'](_0x779706[_0x4ce4eb(0x13c)],_0x562b55);!helper[_0x4ce4eb(0xdf)]()&&await _0x779706[_0x4ce4eb(0x119)]();await helper[_0x4ce4eb(0x118)](_0x779706[_0x4ce4eb(0x117)]);const _0x3104ee=helper[_0x4ce4eb(0xff)](_0x779706['config']);!helper[_0x4ce4eb(0xee)](_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0xdb)])&&(process[_0x4ce4eb(0x103)][_0x4ce4eb(0x12b)]=JSON[_0x4ce4eb(0x11b)](_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0xdb)]));const _0x471cac=await TestHubHandler[_0x4ce4eb(0x132)](constants['FRAMEWORKS']['CUCUMBER'],_0x779706),_0x46530a=helper[_0x4ce4eb(0xcf)](_0x779706[_0x4ce4eb(0x117)],_0x3104ee,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x779706[_0x4ce4eb(0x117)])return;const _0x3e1382=_0x779706[_0x4ce4eb(0x117)]['parallelsPerPlatform']||helper[_0x4ce4eb(0xfc)](_0x562b55,_0x40ad62,_0x779706['config'],constants[_0x4ce4eb(0xd4)][_0x4ce4eb(0xdc)])||0x1,_0x1216d8={'server':helper[_0x4ce4eb(0xec)](_0x779706[_0x4ce4eb(0x117)]),'proxySettings':_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0xd5)],'maxWorkers':_0x3e1382,'browserStackLogLevel':_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0x123)],'skipSessionName':_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0x133)][_0x4ce4eb(0x10a)],'skipSessionStatus':_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0x133)]['skipSessionStatus'],'turboScaleUrl':_0x779706['config'][_0x4ce4eb(0x139)]},_0x569e58=process[_0x4ce4eb(0x102)],[_0x193585,_0x167097]=helper['parseFormatters'](_0x569e58),_0x401a13=path[_0x4ce4eb(0x131)](process[_0x4ce4eb(0x12d)](),_0x313d43[_0x4ce4eb(0xe4)]);if(_0x313d43[_0x4ce4eb(0xfd)](_0x167097[_0x4ce4eb(0x110)],0x0)){helper['createDir'](_0x401a13);for(let _0x271d91=_0x313d43[_0x4ce4eb(0x101)](_0x193585[_0x4ce4eb(0x110)],0x1);_0x313d43[_0x4ce4eb(0xe9)](_0x271d91,0x0);_0x271d91--){_0x569e58[_0x4ce4eb(0xd7)](_0x193585[_0x271d91],0x2);}}_0x313d43[_0x4ce4eb(0xea)](_0x779706[_0x4ce4eb(0x117)][_0x4ce4eb(0xde)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x779706[_0x4ce4eb(0x117)]['testObservability']:process['env'][_0x4ce4eb(0x10f)]=_0x313d43['WQyBn'];PerformanceTester[_0x4ce4eb(0xf2)](PerformanceEvents['SDK_SETUP']);let _0x3cb8e3;_0x313d43[_0x4ce4eb(0xce)](parallelCucumberRun,_0x46530a,_0x1216d8,_0x779706[_0x4ce4eb(0x117)],_0x569e58,_0x167097)[_0x4ce4eb(0x127)](async _0xc1e57c=>{const _0x3670d0=_0x4ce4eb;PerformanceTester['start'](PerformanceEvents[_0x3670d0(0x13b)]),_0x3cb8e3=_0xc1e57c;const _0x2a769b=_0x313d43[_0x3670d0(0xfb)](printCucumberStats,_0xc1e57c);process[_0x3670d0(0x137)]=_0x2a769b,_0x313d43['DYIlR'](_0x167097['length'],0x0)&&(logger[_0x3670d0(0x134)](_0x313d43['SJpiO']),helper['mergeOutputFiles'](_0x401a13,_0x167097),logger[_0x3670d0(0x134)](_0x313d43[_0x3670d0(0x13a)]),helper['removeDir'](_0x401a13));})[_0x4ce4eb(0x11c)](async()=>{const _0x58d0ee=_0x4ce4eb;PerformanceTester[_0x58d0ee(0x109)](PerformanceEvents[_0x58d0ee(0x13b)]),_0x779706[_0x58d0ee(0xfe)]=helper[_0x58d0ee(0x12a)](_0x3cb8e3,_0x313d43[_0x58d0ee(0x128)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x545ac0){logger[_0x58d0ee(0x134)](_0x58d0ee(0x126)+util['format'](_0x545ac0));}try{const {browserstackFolderPath:_0x1251c8,tcgConfigPath:_0x1a4b24}=helper['getTCGConfigFilePaths']();fs[_0x58d0ee(0x11f)](_0x1a4b24),fs['rmdirSync'](_0x1251c8);}catch(_0x56e1f2){logger[_0x58d0ee(0x134)](_0x313d43[_0x58d0ee(0x11a)],_0x56e1f2);}await utilities[_0x58d0ee(0x13d)](_0x779706);});}module[a5_0x327b1b(0x111)]=run;function a5_0x2f7e(){const _0x104b87=['scenariosFailed','getHubUrl','Generating\x20consolidated\x20report...','isUndefined','../../helpers/test-observability/utils','../../helpers/helper','stepsSkipped','end','steps','yellow','stepsPassed','1217604HGFwMv','AtFZu','../../helpers/performance/performance-tester','bgWhite','lAZMI','QLdqd','getUserWorkerCount','DYIlR','errorMessage','useW3C','stepsUnknown','NIrCL','argv','env','5PmBlzA','log','apyBL','1050072YPsLNL','../../helpers/BrowserStackSetup','start','skipSessionName','WmXlR','push','red','\x20steps','BROWSERSTACK_TEST_OBSERVABILITY_YML','length','exports','857817zVMhrc','****\x20RESULTS\x20****','cucumber','wSySv','../../helpers/testhub/testhubHandler','config','handleApp','setupTCGAuth','BhdHj','stringify','finally','KDHkM','XjuSO','unlinkSync','\x20scenarios','120KPfzbY','processSuccess','logLevel','knriH','444864OAKriQ','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','then','fEYQG','getPlatformName','getErrorMessageFromResults','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','59024030ZYiBpq','cwd','error\x20removing\x20tcg\x20config\x20file','YjHck','bold','join','launchBuild','testContextOptions','debug','winstonLogger','qYbtg','exitCode','green','turboScaleUrl','TvxNa','SDK_CLEANUP','framework','finalExecution','util','mmDbP','ZBqTk','\x20skipped','KWuMH','prepareCapabilities','10471944NQIKjP','scenarios','119492hZrTUa','../test-runner','FRAMEWORKS','proxySettings','chalk','splice','qDdqj','../utils/constants','dXtJj','accessibilityOptions','CUCUMBER','42RYeEMB','testObservability','isBrowserstackInfra','\x20undefined','\x20failed','QURbM','cyan','DtjXR','../../helpers/performance/constants','path','tmp','\x20passed','Beszm','lHlme'];a5_0x2f7e=function(){return _0x104b87;};return a5_0x2f7e();}
|
|
2
|
+
'use strict';const a5_0x448adf=a5_0x119b;(function(_0x35c2fd,_0x1eb86){const _0x198ccf=a5_0x119b,_0x2bae72=_0x35c2fd();while(!![]){try{const _0x4361c9=parseInt(_0x198ccf(0x186))/0x1*(-parseInt(_0x198ccf(0x1cb))/0x2)+parseInt(_0x198ccf(0x1c2))/0x3+-parseInt(_0x198ccf(0x1c0))/0x4*(-parseInt(_0x198ccf(0x1cd))/0x5)+parseInt(_0x198ccf(0x1c9))/0x6+parseInt(_0x198ccf(0x199))/0x7+-parseInt(_0x198ccf(0x1a9))/0x8+parseInt(_0x198ccf(0x1c5))/0x9*(-parseInt(_0x198ccf(0x193))/0xa);if(_0x4361c9===_0x1eb86)break;else _0x2bae72['push'](_0x2bae72['shift']());}catch(_0x491010){_0x2bae72['push'](_0x2bae72['shift']());}}}(a5_0x1d36,0xbbeb1));function a5_0x1d36(){const _0x29baff=['****\x20RESULTS\x20****','617139mnpNir','mZVCJ','lxrTY','1013499wAruFN','testObservability','vsAag','error\x20removing\x20tcg\x20config\x20file','89310RjTusP','start','1686ivjAgW','testContextOptions','420tjLeyP','\x20steps','errorMessage','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bupCy','\x20skipped','cpznR','eYJkv','utwUx','kasBI','splice','SDK_SETUP','accessibilityOptions','mCmfN','cyan','length','PlxTh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','debug','exports','env','mrSQv','argv','FRAMEWORKS','gYdNH','then','isBrowserstackInfra','bold','parallelsPerPlatform','stepsFailed','setupTCGAuth','uNATL','log','mUDam','setUserConfigPath','useW3C','OOITK','prepareCapabilities','../../helpers/utilities','\x20failed','\x20undefined','proxySettings','stringify','initialize','../test-runner','\x20ambiguous','590GancbQ','turboScaleUrl','printBuildLink','GfbBe','KZBUC','tVcBS','stepsUndefined','cucumber','nEzyY','CUCUMBER','scenarios','Generating\x20consolidated\x20report...','stepsSkipped','10kCexvm','end','DqnEr','join','bGsbx','qVCEi','6383496Umkuza','mergeOutputFiles','qyxJu','unlinkSync','../../helpers/testhub/testhubHandler','red','push','chalk','parseFormatters','createDir','rmdirSync','finalExecution','yellow','scenariosFailed','BROWSERSTACK_TEST_OBSERVABILITY_YML','format','8892928HeZRMJ','Removing\x20tmp\x20directory\x20created\x20for\x20reports','config','getHubUrl','../../helpers/helper','\x20passed','handleApp','green','../../helpers/logger','exitCode','../../helpers/performance/constants','SDK_CLEANUP','getUserWorkerCount','\x20scenarios','getErrorMessageFromResults','finally','ruPac','winstonLogger','rznkp','processSuccess','steps','logLevel','EVENTS','64704cLbjLC'];a5_0x1d36=function(){return _0x29baff;};return a5_0x1d36();}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x448adf(0x1b1))[a5_0x448adf(0x1ba)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x448adf(0x1ad)),utilities=require(a5_0x448adf(0x17e)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x448adf(0x184)),TestHubHandler=require(a5_0x448adf(0x19d)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x448adf(0x1a0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x448adf(0x1b3))[a5_0x448adf(0x1bf)];function a5_0x119b(_0x6548eb,_0x1350e9){const _0x1d360e=a5_0x1d36();return a5_0x119b=function(_0x119bff,_0x622859){_0x119bff=_0x119bff-0x177;let _0x2b018e=_0x1d360e[_0x119bff];return _0x2b018e;},a5_0x119b(_0x6548eb,_0x1350e9);}function printCucumberStats(_0x5ba9a8){const _0x4328cf=a5_0x448adf,_0x21f349={};_0x21f349[_0x4328cf(0x1e5)]=function(_0x58fc35,_0x4dd283){return _0x58fc35>_0x4dd283;},_0x21f349[_0x4328cf(0x1b9)]=function(_0x28d3c3,_0x1b8ac5){return _0x28d3c3-_0x1b8ac5;},_0x21f349[_0x4328cf(0x1e2)]=function(_0x4fb28c,_0x55a046){return _0x4fb28c-_0x55a046;},_0x21f349[_0x4328cf(0x195)]=function(_0x511ca6,_0x42d832){return _0x511ca6>_0x42d832;},_0x21f349[_0x4328cf(0x1d4)]=function(_0x4e9a21,_0x177dc4){return _0x4e9a21>_0x177dc4;},_0x21f349[_0x4328cf(0x1d5)]=function(_0x29c7d1,_0x43a62f){return _0x29c7d1>_0x43a62f;},_0x21f349['KZBUC']=function(_0x13e507,_0x22aa32){return _0x13e507>_0x22aa32;},_0x21f349[_0x4328cf(0x179)]=function(_0x389686,_0x29bda9){return _0x389686>_0x29bda9;},_0x21f349[_0x4328cf(0x1dd)]=function(_0x287c2a,_0x28a2f9){return _0x287c2a>_0x28a2f9;},_0x21f349['tVcBS']=function(_0x4c39ce,_0x29b0e6){return _0x4c39ce+_0x29b0e6;},_0x21f349[_0x4328cf(0x1bb)]=function(_0x2d8a1a,_0x14df4e){return _0x2d8a1a+_0x14df4e;},_0x21f349[_0x4328cf(0x19b)]=function(_0x1e4b82,_0x1882b3){return _0x1e4b82+_0x1882b3;},_0x21f349[_0x4328cf(0x1d6)]=function(_0xef2ba3,_0x217afe){return _0xef2ba3+_0x217afe;},_0x21f349['GfbBe']=function(_0x43c1f8,_0x4b8511){return _0x43c1f8+_0x4b8511;},_0x21f349[_0x4328cf(0x1da)]=function(_0x486558,_0x2f43e1){return _0x486558===_0x2f43e1;},_0x21f349[_0x4328cf(0x1c7)]=function(_0x2b9ec7,_0x175841){return _0x2b9ec7===_0x175841;},_0x21f349['uNATL']=_0x4328cf(0x1c1);const _0x3db101=_0x21f349;let _0x44b961=0x0;if(_0x3db101[_0x4328cf(0x1c7)](_0x5ba9a8['length'],0x0))return _0x44b961;return console[_0x4328cf(0x178)](chalk['bold']['bgWhite'](_0x3db101[_0x4328cf(0x177)])),_0x5ba9a8['forEach'](_0x4a4bfa=>{const _0x300f94=_0x4328cf,_0x537dda=_0x4a4bfa[0x0],_0x51537b=_0x4a4bfa[0x1];console[_0x300f94(0x178)]('\x0a'+chalk['bold']['yellow'](''+helper['getPlatformName'](_0x537dda)));const _0x1de8fb=_0x51537b[_0x300f94(0x190)],_0x9d9948=_0x51537b[_0x300f94(0x1bd)],_0x16375f=_0x51537b[_0x300f94(0x1a6)],_0x205728=_0x51537b[_0x300f94(0x1ea)],_0x18cb0f=_0x51537b['stepsPassed'],_0x42201f=_0x51537b[_0x300f94(0x192)],_0x5e2285=_0x51537b['stepsPending'],_0x13837a=_0x51537b[_0x300f94(0x18c)],_0xb742c2=_0x51537b['stepsUnknown'],_0x4e20e6=_0x51537b['stepsAmbiguous'],_0x47b955=_0x51537b[_0x300f94(0x1bc)];let _0x4b5ef1=_0x1de8fb+_0x300f94(0x1b6);const _0x6a845c=_0x3db101[_0x300f94(0x1e5)](_0x3db101[_0x300f94(0x1b9)](_0x1de8fb,_0x16375f),0x0)?_0x3db101[_0x300f94(0x1e2)](_0x1de8fb,_0x16375f):0x0;if(_0x3db101['gYdNH'](_0x16375f,0x0)&&_0x3db101[_0x300f94(0x195)](_0x6a845c,0x0))_0x4b5ef1+='\x20('+chalk['bold'][_0x300f94(0x19e)](_0x16375f+_0x300f94(0x17f))+',\x20'+chalk['bold'][_0x300f94(0x1b0)](_0x6a845c+_0x300f94(0x1ae))+')';else(_0x3db101[_0x300f94(0x195)](_0x16375f,0x0)||_0x3db101[_0x300f94(0x1e5)](_0x6a845c,0x0))&&(_0x4b5ef1+=_0x3db101[_0x300f94(0x1d4)](_0x16375f,0x0)?'\x20('+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x16375f+_0x300f94(0x17f))+')':'\x20('+chalk[_0x300f94(0x1e8)][_0x300f94(0x1b0)](_0x6a845c+_0x300f94(0x1ae))+')');const _0x5279c2=_0x9d9948+_0x300f94(0x1ce),_0x47920e=[];_0x3db101[_0x300f94(0x1e5)](_0x4e20e6,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x4e20e6+_0x300f94(0x185)));_0x3db101['utwUx'](_0x205728,0x0)&&_0x47920e['push'](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x205728+_0x300f94(0x17f)));_0x3db101[_0x300f94(0x1d5)](_0x18cb0f,0x0)&&_0x47920e['push'](''+chalk['bold'][_0x300f94(0x1b0)](_0x18cb0f+_0x300f94(0x1ae)));_0x3db101[_0x300f94(0x18a)](_0x5e2285,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x1a5)](_0x5e2285+'\x20pending'));_0x3db101[_0x300f94(0x179)](_0x42201f,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk['bold'][_0x300f94(0x1db)](_0x42201f+_0x300f94(0x1d2)));_0x3db101['DqnEr'](_0x13837a,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)]['yellow'](_0x13837a+_0x300f94(0x180)));_0x3db101['PlxTh'](_0xb742c2,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk['bold']['yellow'](_0xb742c2+'\x20skipped'));const _0x5bcc56=_0x3db101[_0x300f94(0x18b)](_0x3db101['rznkp'](_0x3db101[_0x300f94(0x19b)](_0x5279c2,'('),_0x47920e[_0x300f94(0x196)](',\x20')),')');console[_0x300f94(0x178)](_0x3db101[_0x300f94(0x1d6)](_0x3db101['tVcBS'](_0x3db101[_0x300f94(0x189)](_0x3db101[_0x300f94(0x18b)]('\x0a',_0x4b5ef1),'\x0a'),_0x5bcc56),'\x0a')),_0x3db101[_0x300f94(0x1da)](_0x47b955,![])&&(_0x44b961=0x1);}),_0x44b961;}async function run(_0xfc728c,_0x1d1af8,_0x3121cd){const _0x470a7b=a5_0x448adf,_0x46f9b9={'bupCy':function(_0x5776e9,_0x3d2754){return _0x5776e9(_0x3d2754);},'cpznR':function(_0x1e61e9,_0x2d65d3){return _0x1e61e9>_0x2d65d3;},'vZCnY':_0x470a7b(0x191),'bGsbx':_0x470a7b(0x1aa),'mZVCJ':_0x470a7b(0x18d),'vbWwA':_0x470a7b(0x1c8),'CRClK':'tmp','OOITK':function(_0x2c6144,_0x46a47f){return _0x2c6144>_0x46a47f;},'fgIHl':function(_0x1ff404,_0x221075){return _0x1ff404-_0x221075;},'lxrTY':function(_0x13379a,_0x547f0b){return _0x13379a>=_0x547f0b;},'nEzyY':function(_0x362e22,_0x3bb0a6){return _0x362e22!=_0x3bb0a6;},'gBhls':'true','qVCEi':function(_0x12c0ed,_0x152fda,_0x4f7733,_0x326c68,_0x273be8,_0xec64d9){return _0x12c0ed(_0x152fda,_0x4f7733,_0x326c68,_0x273be8,_0xec64d9);}};await _0x3121cd[_0x470a7b(0x183)](_0xfc728c),helper[_0x470a7b(0x17a)](_0x3121cd['framework'],_0xfc728c);!helper[_0x470a7b(0x1e7)]()&&await _0x3121cd[_0x470a7b(0x1eb)]();await helper[_0x470a7b(0x1af)](_0x3121cd[_0x470a7b(0x1ab)]);const _0x3ec157=helper[_0x470a7b(0x17b)](_0x3121cd['config']);!helper['isUndefined'](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1d9)])&&(process['env'][_0x470a7b(0x1d0)]=JSON[_0x470a7b(0x182)](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1d9)]));const _0x296579=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x3121cd),_0x1a2e84=helper[_0x470a7b(0x17d)](_0x3121cd[_0x470a7b(0x1ab)],_0x3ec157,constants[_0x470a7b(0x1e4)][_0x470a7b(0x18f)]);if(!_0x3121cd[_0x470a7b(0x1ab)])return;const _0x6fa639=_0x3121cd['config'][_0x470a7b(0x1e9)]||helper[_0x470a7b(0x1b5)](_0xfc728c,_0x1d1af8,_0x3121cd['config'],constants[_0x470a7b(0x1e4)][_0x470a7b(0x18f)])||0x1,_0x572c72={'server':helper[_0x470a7b(0x1ac)](_0x3121cd[_0x470a7b(0x1ab)]),'proxySettings':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x181)],'maxWorkers':_0x6fa639,'browserStackLogLevel':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1be)],'skipSessionName':_0x3121cd[_0x470a7b(0x1ab)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1cc)]['skipSessionStatus'],'turboScaleUrl':_0x3121cd['config'][_0x470a7b(0x187)]},_0x2c0c51=process[_0x470a7b(0x1e3)],[_0x582b77,_0x2cc565]=helper[_0x470a7b(0x1a1)](_0x2c0c51),_0x400a8c=path[_0x470a7b(0x196)](process['cwd'](),_0x46f9b9['CRClK']);if(_0x46f9b9[_0x470a7b(0x17c)](_0x2cc565[_0x470a7b(0x1dc)],0x0)){helper[_0x470a7b(0x1a2)](_0x400a8c);for(let _0x268bbc=_0x46f9b9['fgIHl'](_0x582b77['length'],0x1);_0x46f9b9[_0x470a7b(0x1c4)](_0x268bbc,0x0);_0x268bbc--){_0x2c0c51[_0x470a7b(0x1d7)](_0x582b77[_0x268bbc],0x2);}}_0x46f9b9[_0x470a7b(0x18e)](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1c6)],null)?process[_0x470a7b(0x1e1)][_0x470a7b(0x1a7)]=_0x3121cd['config'][_0x470a7b(0x1c6)]:process['env'][_0x470a7b(0x1a7)]=_0x46f9b9['gBhls'];PerformanceTester[_0x470a7b(0x194)](PerformanceEvents[_0x470a7b(0x1d8)]);let _0x2938a1;_0x46f9b9[_0x470a7b(0x198)](parallelCucumberRun,_0x1a2e84,_0x572c72,_0x3121cd['config'],_0x2c0c51,_0x2cc565)[_0x470a7b(0x1e6)](async _0x2d3158=>{const _0x174492=_0x470a7b;PerformanceTester[_0x174492(0x1ca)](PerformanceEvents[_0x174492(0x1b4)]),_0x2938a1=_0x2d3158;const _0x34494e=_0x46f9b9[_0x174492(0x1d1)](printCucumberStats,_0x2d3158);process[_0x174492(0x1b2)]=_0x34494e,_0x46f9b9[_0x174492(0x1d3)](_0x2cc565['length'],0x0)&&(logger[_0x174492(0x1df)](_0x46f9b9['vZCnY']),helper[_0x174492(0x19a)](_0x400a8c,_0x2cc565),logger[_0x174492(0x1df)](_0x46f9b9[_0x174492(0x197)]),helper['removeDir'](_0x400a8c));})[_0x470a7b(0x1b8)](async()=>{const _0x1e24d1=_0x470a7b;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3121cd[_0x1e24d1(0x1cf)]=helper[_0x1e24d1(0x1b7)](_0x2938a1,_0x46f9b9[_0x1e24d1(0x1c3)]),testOpsHelper[_0x1e24d1(0x188)]();try{await TestHubHandler['stop']();}catch(_0x4bb6ba){logger[_0x1e24d1(0x1df)](_0x1e24d1(0x1de)+util[_0x1e24d1(0x1a8)](_0x4bb6ba));}try{const {browserstackFolderPath:_0x407be1,tcgConfigPath:_0x55d6cd}=helper['getTCGConfigFilePaths']();fs[_0x1e24d1(0x19c)](_0x55d6cd),fs[_0x1e24d1(0x1a3)](_0x407be1);}catch(_0x392a91){logger[_0x1e24d1(0x1df)](_0x46f9b9['vbWwA'],_0x392a91);}await utilities[_0x1e24d1(0x1a4)](_0x3121cd);});}module[a5_0x448adf(0x1e0)]=run;
|