browserstack-node-sdk 1.34.45 → 1.34.46
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/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x106d44=a1_0x3b8a;function a1_0x3b8a(_0x28eefa,_0x19b4f5){const _0xa0ab81=a1_0xa0ab();return a1_0x3b8a=function(_0x3b8af3,_0x3b3f8d){_0x3b8af3=_0x3b8af3-0x1a0;let _0x4e4e4c=_0xa0ab81[_0x3b8af3];return _0x4e4e4c;},a1_0x3b8a(_0x28eefa,_0x19b4f5);}(function(_0x4aaa72,_0x523b66){const _0x34aca0=a1_0x3b8a,_0x478ec5=_0x4aaa72();while(!![]){try{const _0x488370=-parseInt(_0x34aca0(0x242))/0x1*(-parseInt(_0x34aca0(0x23d))/0x2)+-parseInt(_0x34aca0(0x1f1))/0x3+parseInt(_0x34aca0(0x24e))/0x4*(-parseInt(_0x34aca0(0x1b1))/0x5)+parseInt(_0x34aca0(0x270))/0x6*(-parseInt(_0x34aca0(0x201))/0x7)+parseInt(_0x34aca0(0x1ae))/0x8+-parseInt(_0x34aca0(0x256))/0x9+parseInt(_0x34aca0(0x269))/0xa;if(_0x488370===_0x523b66)break;else _0x478ec5['push'](_0x478ec5['shift']());}catch(_0xdfe9b6){_0x478ec5['push'](_0x478ec5['shift']());}}}(a1_0xa0ab,0x43d74));function a1_0xa0ab(){const _0x162ff0=['28pyIjuD','winstonLogger','ctx','find','overwriteCommand','format','RCxsn','./helper.js','2591037bxkurQ','add','Suite','../../helpers/performance/constants','SESSION_STATUS','before','rcgKM','ddiWd','CPDFk','saveScreenshot','Failed\x20to\x20execute\x20_before:\x20','all','qTWER','passed','fiMDU','bARsJ','start','iZZAk','SDK_TEST','13256630UmtCXf','test-before','setGlobal','codeceptjs','CfyRH','../../helpers/testhub/constants.js','fireEvent','370878wDFwcX','ArKtj','xKgJT','test-after','captureEvent','prototype','jZbLH','emit','../../helpers/request-spy','currentTest','pYsRM','IGEAi','CZnnb','jdiVw','class','skipSessionStatus','1533928meuexu','SDK_HOOK','titlePath','6610brpqXP','bBGdU','hookType','codeceptjs/lib/utils.js','../../helpers/logger','patch','EwCsy','HOOK_RUN_STARTED','executeScript','spGBu','bddStep-after','../../bin/playwright/accessibility-helper','arguments','browserstackTestName','bddStep-before','BROWSERSTACK_TESTHUB_UUID','AmNsW','status','setSessionName','CpZnO','fZBgJ','BS_TESTOPS_ALLOW_SCREENSHOTS','base64','restore','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','measureWrapper','call','UJfjS','step','end','TpQxc','EXsLm','../../helpers/accessibility-automation/helper','hook','commandsToWrap','hook-started','__skipSessionStatus','SDK_PRE_TEST','SAVE_RESULTS','event','getAccessibilityResultsSummary','constructor','iWJjM','SDK_POST_TEST','accessibilityPlatform','fRhov','jrmTt','../../helpers/accessibility-automation/scripts','captureError','DoIBs','test-failed','failed','../../bin/playwright/sessionDetails','TestCafe','bstackAllyScanning','slice','saveTestResults','test-skipped','toISOString','browserstack_executor:\x20','apply','LEwMG','after','puoJP','1607202GyHPrE','iuuJF','debug','exports','HgrzI','Playwright','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','stringify','__driver','BwsyL','TEST_RUN_FINISHED','started','warn','KFmCl','action','bddStepFinish','49iUypTV','SDK_POST_INITIALIZE','initSaveScreenshot','patchSaveScreenshot','_before','pHvtD','SbTgI','WebDriver','./o11yHelper','getResultsSummary','yMbTz','INFO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','guNMG','tHKQX','dqOrz','info','uHIyZ','contexts','setSessionStatus','afterTest','name','util','browser','wmzsA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','readFileSync','PERFORM_SCAN','helpers','SESSION_NAME','otxlg','DgvJa','GET_RESULTS','browserStackExecuteDriver','../../helpers/globals.js','Element','getAccessibilityResults','command','test','qTZnA','TEST_LOG','hIycQ','thTestRunUuid','VOyDC','bddStep','dispatcher','loykv','bddStepStart','urvgn','codeceptjs/lib/helper/WebDriver.js','ENV_VAR','bs:addLog:','comment','cSyQu','performScan','XgeHI','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','wmzHX','Performing\x20scan\x20for\x20','pid','2FEgtmC','BROWSERSTACK_TESTHUB_JWT','pGHRK','HOOK_RUN_FINISHED','title','26044OOzOZp','XPVCD','bqbYR','test-started','catch','BqAoa','../../helpers/helper','XQXGS','stop','forEach','../../helpers/performance/performance-tester','TEST_RUN_SKIPPED'];a1_0xa0ab=function(){return _0x162ff0;};return a1_0xa0ab();}const fs=require('fs'),util=require(a1_0x106d44(0x217)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x106d44(0x248)),logger=require(a1_0x106d44(0x1b5))[a1_0x106d44(0x24f)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x106d44(0x1a6)),PlaywrightSessionDetails=require(a1_0x106d44(0x1e5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x106d44(0x209)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x106d44(0x1d1)),AccessibilityHelper=require(a1_0x106d44(0x1bc)),scripts=require(a1_0x106d44(0x1e0)),PerformanceTester=require(a1_0x106d44(0x24c)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x106d44(0x259)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x106d44(0x255)),testHubConstants=require(a1_0x106d44(0x26e)),globals=require(a1_0x106d44(0x223)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x106d44(0x26c)),CodeceptUtils=requireModule(a1_0x106d44(0x1b4),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x106d44(0x232),a1_0x106d44(0x26c)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x106d44(0x26c)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x106d44(0x26c)),playwrightMarkSessionStatus=(_0x50234a,_0x4ad171,_0x4d6065)=>{const _0x4d58da=a1_0x106d44,_0x7e4dfc={'hIycQ':_0x4d58da(0x214),'qyvDq':function(_0x45d276,_0x3bdbcc){return _0x45d276(_0x3bdbcc);}},_0x277788={};_0x277788[_0x4d58da(0x1c2)]=_0x4ad171;const _0x32fcae={};_0x32fcae['action']=_0x7e4dfc[_0x4d58da(0x22a)],_0x32fcae['arguments']=_0x277788;const _0x3342fc=_0x32fcae;return!_0x7e4dfc['qyvDq'](isUndefined,_0x4d6065)&&(_0x3342fc[_0x4d58da(0x1bd)]['reason']=JSON[_0x4d58da(0x1f8)](_0x4d6065)),_0x50234a[_0x4d58da(0x1b9)](()=>{},_0x4d58da(0x1ec)+JSON[_0x4d58da(0x1f8)](_0x3342fc));},o11ySync=PerformanceTester[a1_0x106d44(0x1ca)](PerformanceO11yEvents['SYNC'],async _0x2b6fba=>{const _0x1da967=a1_0x106d44,_0x2edbf6={};_0x2edbf6[_0x1da967(0x236)]=function(_0xdb35f5,_0x66ab51){return _0xdb35f5===_0x66ab51;},_0x2edbf6[_0x1da967(0x1b7)]=_0x1da967(0x1f6);const _0x322207=_0x2edbf6;_0x322207['cSyQu'](_0x2b6fba[_0x1da967(0x1da)][_0x1da967(0x216)],_0x322207[_0x1da967(0x1b7)])?await _0x2b6fba[_0x1da967(0x1b9)](_0x58677b=>{},testOpsHelper['getSyncScript']()):await _0x2b6fba[_0x1da967(0x1b9)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x106d44(0x1ca)](PerformanceAutEvents[a1_0x106d44(0x21e)],async(_0x41c5fd,_0x17d032)=>{const _0x45816c=a1_0x106d44,_0x1c9da6={};_0x1c9da6[_0x45816c(0x228)]=_0x45816c(0x1c3),_0x1c9da6[_0x45816c(0x22f)]=function(_0x5f4823,_0xedcc04){return _0x5f4823===_0xedcc04;},_0x1c9da6['ddiWd']=_0x45816c(0x1f6);const _0x42a975=_0x1c9da6,_0x316ba9={};_0x316ba9[_0x45816c(0x216)]=_0x17d032;const _0x32b013={};_0x32b013[_0x45816c(0x1ff)]=_0x42a975['qTZnA'],_0x32b013[_0x45816c(0x1bd)]=_0x316ba9;const _0x445e46=_0x32b013;_0x42a975['loykv'](_0x41c5fd[_0x45816c(0x1da)][_0x45816c(0x216)],_0x42a975[_0x45816c(0x25d)])?await _0x41c5fd['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x45816c(0x1f8)](_0x445e46)):await _0x41c5fd[_0x45816c(0x1b9)]('browserstack_executor:\x20'+JSON[_0x45816c(0x1f8)](_0x445e46));}),patchSaveScreenshot=_0x115bbc=>{const _0x5e506d=a1_0x106d44,_0x1b9eda={'CpZnO':_0x5e506d(0x1c7),'rEuGY':'TEST_SCREENSHOT','qTWER':function(_0x281834){return _0x281834();},'eWxAS':function(_0x1943e7,_0x1c0ae7){return _0x1943e7(_0x1c0ae7);}};_0x1b9eda['eWxAS'](isTrue,process['env'][_0x5e506d(0x1c6)])&&!_0x115bbc['patchSaveScreenshot']&&(_0x115bbc[_0x5e506d(0x204)]=!![],_0x115bbc['initSaveScreenshot']=_0x115bbc[_0x5e506d(0x25f)],_0x115bbc['saveScreenshot']=(_0x52df6e,_0x458fab=![])=>{const _0x3354eb=_0x5e506d,_0x59e833={'fRhov':_0x1b9eda[_0x3354eb(0x1c4)],'BqAoa':_0x1b9eda['rEuGY'],'yMbTz':function(_0x376167){const _0x2bd4b5=_0x3354eb;return _0x1b9eda[_0x2bd4b5(0x262)](_0x376167);}};return new Promise(function(_0x114516,_0x22cd2c){const _0x1216ae=_0x3354eb,_0x3181c8={'JImer':_0x59e833[_0x1216ae(0x1de)],'CZnnb':_0x59e833[_0x1216ae(0x247)],'UJfjS':function(_0x3a1a17){const _0x15ab17=_0x1216ae;return _0x59e833[_0x15ab17(0x20b)](_0x3a1a17);}};_0x115bbc[_0x1216ae(0x203)](_0x52df6e,_0x458fab)['then'](()=>{const _0x553ff6=_0x1216ae,_0x4b83af=CodeceptUtils['screenshotOutputFolder'](_0x52df6e),_0x46c4c3=fs[_0x553ff6(0x21b)](_0x4b83af);process['emit'](_0x553ff6(0x234)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x46c4c3['toString'](_0x3181c8['JImer']),'kind':_0x3181c8[_0x553ff6(0x1aa)]}),_0x3181c8[_0x553ff6(0x1cc)](_0x114516);})[_0x1216ae(0x246)](()=>null);});});},patchWebDriverBefore=_0xf72c6a=>{const _0x12ee23=a1_0x106d44,_0x143bb7={'BwsyL':function(_0x92b4d7){return _0x92b4d7();},'RCxsn':function(_0x4e93f1,_0x481abb){return _0x4e93f1(_0x481abb);},'mIiSZ':function(_0x1966ae,_0x3c04bc){return _0x1966ae===_0x3c04bc;},'xKgJT':_0x12ee23(0x224),'zDhJT':function(_0x5a04cb,_0x22a1da){return _0x5a04cb(_0x22a1da);}},_0x373453=async function(_0x2662f3,_0x3519d4){const _0x1c9373=_0x12ee23;return _0x143bb7[_0x1c9373(0x1fa)](isAccessibilityAutomationSession)&&!global[_0x1c9373(0x1e7)]&&global[_0x1c9373(0x1dd)]&&scripts['shouldWrapCommand'](_0x2662f3[_0x1c9373(0x216)])&&_0x143bb7[_0x1c9373(0x254)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x1c9373(0x1ca)](PerformanceA11yEvents[_0x1c9373(0x21c)],async()=>{const _0x1906d0=_0x1c9373;logger[_0x1906d0(0x1f3)](_0x1906d0(0x23b)+_0x2662f3[_0x1906d0(0x1ac)]+'\x20'+_0x2662f3['name']),await AccessibilityHelper[_0x1906d0(0x222)](_0xf72c6a,scripts['performScan']);},{'command':_0x2662f3['name']})()),global[_0x1c9373(0x1e7)]=![],_0x3519d4[_0x1c9373(0x1ed)](this,Array[_0x1c9373(0x1a3)][_0x1c9373(0x1e8)][_0x1c9373(0x1cb)](arguments,0x2));},_0x81a0c2=CodeceptWebDriver[_0x12ee23(0x1a3)][_0x12ee23(0x205)];CodeceptWebDriver[_0x12ee23(0x1a3)][_0x12ee23(0x205)]=async function(){const _0x5cca93=_0x12ee23;try{await _0x81a0c2[_0x5cca93(0x1ed)](this,arguments);}catch(_0x46b56c){logger['debug'](_0x5cca93(0x260)+util[_0x5cca93(0x253)](_0x46b56c));}scripts[_0x5cca93(0x1d3)]['filter'](_0x34b12b=>_0x34b12b[_0x5cca93(0x216)]&&_0x34b12b[_0x5cca93(0x1ac)])[_0x5cca93(0x24b)](_0x4b5f53=>{const _0x5c0635=_0x5cca93;this['browser'][_0x5c0635(0x252)](_0x4b5f53[_0x5c0635(0x216)],_0x373453['bind'](this,_0x4b5f53),_0x143bb7['mIiSZ'](_0x4b5f53[_0x5c0635(0x1ac)],_0x143bb7[_0x5c0635(0x1a0)]));}),_0x143bb7['zDhJT'](processWebDriverConfig,_0xf72c6a);};},patchPlaywrightBefore=()=>{const _0x3afb24=a1_0x106d44;PlaywrightSessionDetails[_0x3afb24(0x1b6)]();const _0x1a987a=CodeceptPlaywright['prototype'][_0x3afb24(0x205)];CodeceptPlaywright[_0x3afb24(0x1a3)]['_before']=async function(){const _0x5ef935=_0x3afb24;this['browserContext']=await this[_0x5ef935(0x218)][_0x5ef935(0x213)]()[0x0],await _0x1a987a[_0x5ef935(0x1ed)](this,arguments);};},getCodeceptDriver=()=>{const _0x3e9166=a1_0x106d44,_0x4d4136={};_0x4d4136['EBrvh']=_0x3e9166(0x208),_0x4d4136[_0x3e9166(0x238)]=_0x3e9166(0x1f6),_0x4d4136[_0x3e9166(0x1df)]='Puppeteer',_0x4d4136[_0x3e9166(0x1a4)]=_0x3e9166(0x1e6);const _0x356a7b=_0x4d4136,_0x558c66=[_0x356a7b['EBrvh'],_0x356a7b[_0x3e9166(0x238)],_0x356a7b['jrmTt'],_0x356a7b[_0x3e9166(0x1a4)]],_0x190ed0=_0x558c66[_0x3e9166(0x251)](_0x3ce9c9=>!!CodeceptJS['container'][_0x3e9166(0x21d)](_0x3ce9c9));if(!_0x190ed0)return null;return CodeceptJS['container']['helpers'](_0x190ed0);};module[a1_0x106d44(0x1f4)]=function(_0x4adfe0){const _0x372060=a1_0x106d44,_0x5f57af={'VOyDC':function(_0xba0f8b){return _0xba0f8b();},'AmNsW':function(_0xbe8c2d,_0x4cd0b2){return _0xbe8c2d(_0x4cd0b2);},'Xzlmh':_0x372060(0x225),'otxlg':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bqbYR':'getAccessibilityResultsSummary','IGEAi':_0x372060(0x1c9),'LEwMG':_0x372060(0x1d4),'KFmCl':'hook-passed','DoIBs':'hook-failed','QQrgw':_0x372060(0x1be),'jdiVw':function(_0x99ab62){return _0x99ab62();},'pGHRK':_0x372060(0x26a),'fZBgJ':function(_0x48b976){return _0x48b976();},'urvgn':function(_0x5ef1a1,_0x1dd168,_0x273654){return _0x5ef1a1(_0x1dd168,_0x273654);},'SbTgI':_0x372060(0x245),'wmzsA':function(_0x5bc95d,_0x5ac0e3,_0x71c0ad){return _0x5bc95d(_0x5ac0e3,_0x71c0ad);},'KrFBa':'test-passed','pHvtD':function(_0x134bf1){return _0x134bf1();},'iuuJF':function(_0x395de8,_0x3c53a8,_0x4f1b3b,_0x334111){return _0x395de8(_0x3c53a8,_0x4f1b3b,_0x334111);},'vDtmC':function(_0x4d4250,_0x2f1694){return _0x4d4250===_0x2f1694;},'fiMDU':_0x372060(0x258),'ArKtj':_0x372060(0x1e3),'DgvJa':_0x372060(0x1ea),'wmzHX':_0x372060(0x215),'SgtxB':function(_0x96086c){return _0x96086c();},'iWJjM':function(_0x44c8d2,_0x4addee,_0x38ab1e){return _0x44c8d2(_0x4addee,_0x38ab1e);},'gNuQY':function(_0x2d31e8){return _0x2d31e8();},'uHIyZ':_0x372060(0x21a),'tHKQX':_0x372060(0x1a1),'dqOrz':_0x372060(0x20c),'TpQxc':_0x372060(0x229),'CfyRH':'step-comment','bBGdU':_0x372060(0x1bf),'bARsJ':_0x372060(0x1bb),'pYsRM':'Playwright'};_0x4adfe0[_0x372060(0x1ad)]&&(global[_0x372060(0x1d5)]=_0x4adfe0[_0x372060(0x1ad)]);PerformanceTester['startMonitoring']();const _0x9daadc=_0x5f57af[_0x372060(0x22c)](getCodeceptDriver),_0x303b01=new O11yHelper(_0x9daadc,_0x4adfe0),_0x5445c7=!!CodeceptJS['container'][_0x372060(0x21d)](_0x5f57af[_0x372060(0x1a8)]);global[_0x372060(0x1f9)]=_0x9daadc,_0x9daadc&&(PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x248252=_0x372060;_0x5445c7?_0x5f57af[_0x248252(0x22c)](patchPlaywrightBefore):_0x5f57af['AmNsW'](patchWebDriverBefore,_0x9daadc);})(),PerformanceTester[_0x372060(0x1ca)](PerformanceEvents[_0x372060(0x202)],()=>{const _0x2246e6=_0x372060,_0x575168={};_0x575168[_0x2246e6(0x267)]=_0x5f57af[_0x2246e6(0x244)],_0x575168[_0x2246e6(0x1d0)]=_0x5f57af[_0x2246e6(0x1a9)];const _0x236833=_0x575168;_0x9daadc[_0x2246e6(0x1d9)]=async()=>{const _0x5bedbe=_0x2246e6;if(global[_0x5bedbe(0x1dd)]){const _0x30f1a4={};_0x30f1a4[_0x5bedbe(0x226)]=_0x236833[_0x5bedbe(0x267)],await PerformanceTester[_0x5bedbe(0x1ca)](PerformanceA11yEvents[_0x5bedbe(0x21c)],async()=>{const _0x3278cc=_0x5bedbe;await AccessibilityHelper[_0x3278cc(0x222)](_0x9daadc,scripts[_0x3278cc(0x237)]);},_0x30f1a4)(),await PerformanceTester[_0x5bedbe(0x1ca)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x5c6689=_0x5bedbe;await AccessibilityHelper[_0x5c6689(0x222)](_0x9daadc,scripts[_0x5c6689(0x20a)]);})();}else return logger[_0x5bedbe(0x1fd)](_0x236833[_0x5bedbe(0x1d0)]),{};},_0x9daadc[_0x2246e6(0x225)]=async()=>{const _0x54f83f=_0x2246e6;if(global['accessibilityPlatform']){const _0x2c5d13={};_0x2c5d13[_0x54f83f(0x226)]=_0x5f57af['Xzlmh'],await PerformanceTester[_0x54f83f(0x1ca)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3e3043=_0x54f83f;await AccessibilityHelper[_0x3e3043(0x222)](_0x9daadc,scripts[_0x3e3043(0x237)]);},_0x2c5d13)(),await PerformanceTester[_0x54f83f(0x1ca)](PerformanceA11yEvents[_0x54f83f(0x221)],async()=>{const _0x2780b1=_0x54f83f;await AccessibilityHelper[_0x2780b1(0x222)](_0x9daadc,scripts['getResults']);})();}else return logger['warn'](_0x5f57af[_0x54f83f(0x21f)]),{};},_0x5f57af[_0x2246e6(0x1c1)](patchSaveScreenshot,_0x9daadc);})()),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS['event'][_0x372060(0x261)][_0x372060(0x25b)],()=>{const _0x1e9116=_0x372060;PerformanceTester['start'](PerformanceEvents[_0x1e9116(0x1d6)]);try{_0x303b01['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x25153a){PerformanceTester[_0x1e9116(0x1e1)](_0x25153a),PerformanceTester[_0x1e9116(0x1ce)](PerformanceEvents[_0x1e9116(0x1d6)],![],_0x25153a);}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS['event'][_0x372060(0x261)][_0x372060(0x1ef)],async()=>{const _0x5f4317=_0x372060;PerformanceTester['start'](PerformanceEvents[_0x5f4317(0x1dc)]);try{requestSpy[_0x5f4317(0x1c8)](),await _0x303b01[_0x5f4317(0x24a)](),PerformanceTester[_0x5f4317(0x1ce)](PerformanceEvents[_0x5f4317(0x1dc)]);}catch(_0x16e73a){PerformanceTester[_0x5f4317(0x1e1)](_0x16e73a),PerformanceTester[_0x5f4317(0x1ce)](PerformanceEvents[_0x5f4317(0x1dc)],![],_0x16e73a);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x1d2)]['started'],_0x5448a0=>{const _0x38f5d5=_0x372060;PerformanceTester[_0x38f5d5(0x266)](PerformanceEvents[_0x38f5d5(0x1af)]);try{const _0x1294e7=_0x5448a0['ctx'][_0x38f5d5(0x227)],_0xdc429a=_0x303b01[_0x38f5d5(0x1a2)](TEST_EVENTS[_0x38f5d5(0x1b8)],_0x1294e7);CodeceptRecorder[_0x38f5d5(0x257)](()=>_0x303b01[_0x38f5d5(0x26f)](TEST_EVENTS[_0x38f5d5(0x1b8)],_0xdc429a));const _0x18ee8f={};_0x18ee8f['hookType']=_0x5f57af['LEwMG'],PerformanceTester[_0x38f5d5(0x1ce)](PerformanceEvents['SDK_HOOK'],!![],null,_0x18ee8f);}catch(_0x2d1a45){const _0x581601={};_0x581601[_0x38f5d5(0x1b3)]=_0x5f57af[_0x38f5d5(0x1ee)],PerformanceTester[_0x38f5d5(0x1ce)](PerformanceEvents[_0x38f5d5(0x1af)],![],_0x2d1a45,_0x581601),PerformanceTester['captureError'](_0x2d1a45);}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS['event']['hook'][_0x372060(0x263)],_0x14d585=>{const _0x1a79a8=_0x372060,_0x38a9c6={};_0x38a9c6[_0x1a79a8(0x1b3)]=_0x5f57af['KFmCl'],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x38a9c6);try{const _0x418289=_0x14d585[_0x1a79a8(0x250)][_0x1a79a8(0x227)],_0x5eac0b=_0x303b01['captureEvent'](TEST_EVENTS[_0x1a79a8(0x240)],_0x418289);CodeceptRecorder[_0x1a79a8(0x257)](()=>_0x303b01[_0x1a79a8(0x26f)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5eac0b));const _0x4f2e1c={};_0x4f2e1c[_0x1a79a8(0x1b3)]=_0x5f57af[_0x1a79a8(0x1fe)],PerformanceTester[_0x1a79a8(0x1ce)](PerformanceHookEvents[_0x1a79a8(0x1af)],!![],null,_0x4f2e1c);}catch(_0x27ef75){PerformanceTester[_0x1a79a8(0x1e1)](_0x27ef75);const _0x2ec5e9={};_0x2ec5e9[_0x1a79a8(0x1b3)]=_0x5f57af['KFmCl'],PerformanceTester['end'](PerformanceHookEvents[_0x1a79a8(0x1af)],![],_0x27ef75,_0x2ec5e9);}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x1d2)][_0x372060(0x1e4)],async(_0x4252b2,_0x2c8fba)=>{const _0x4999a4=_0x372060;PerformanceTester[_0x4999a4(0x266)](PerformanceHookEvents[_0x4999a4(0x1af)]);try{const _0x3e3354=_0x4252b2['ctx'][_0x4999a4(0x227)],_0x558208=_0x303b01[_0x4999a4(0x1a2)](TEST_EVENTS[_0x4999a4(0x240)],_0x3e3354,_0x2c8fba);CodeceptRecorder[_0x4999a4(0x257)](()=>_0x303b01[_0x4999a4(0x26f)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x558208));const _0x1e6791={};_0x1e6791[_0x4999a4(0x1b3)]=_0x5f57af[_0x4999a4(0x1e2)],PerformanceTester['start'](PerformanceHookEvents[_0x4999a4(0x1af)],!![],null,_0x1e6791);}catch(_0x2afa5e){PerformanceTester[_0x4999a4(0x1e1)](_0x2afa5e);const _0x31b90b={};_0x31b90b['hookType']=_0x5f57af[_0x4999a4(0x1e2)],PerformanceTester['end'](PerformanceHookEvents[_0x4999a4(0x1af)],![],_0x2afa5e,_0x31b90b);}const _0x172635={};_0x172635['hookType']=_0x5f57af['DoIBs'],PerformanceTester[_0x4999a4(0x1ce)](PerformanceHookEvents[_0x4999a4(0x1af)],!![],null,_0x172635);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x227)][_0x372060(0x25b)],_0x25f667=>{const _0x59f8f8=_0x372060;PerformanceTester['start'](PerformanceHookEvents[_0x59f8f8(0x1af)]);try{globals[_0x59f8f8(0x26b)](_0x5f57af['QQrgw'],_0x25f667[_0x59f8f8(0x241)]);_0x5f57af[_0x59f8f8(0x1ab)](isBrowserstackInfra)&&(_0x5445c7&&(global['__workerDetails']={'currentTest':{'name':_0x25f667[_0x59f8f8(0x241)],'testInfo':{'titlePath':_0x25f667[_0x59f8f8(0x1b0)]()}}}));const _0x50883e={};_0x50883e[_0x59f8f8(0x1b3)]=_0x5f57af[_0x59f8f8(0x23f)],PerformanceTester['end'](PerformanceHookEvents[_0x59f8f8(0x1af)],!![],null,_0x50883e);}catch(_0x86d3a5){PerformanceTester[_0x59f8f8(0x1e1)](_0x86d3a5);const _0x2f34ef={};_0x2f34ef[_0x59f8f8(0x1b3)]=_0x5f57af[_0x59f8f8(0x23f)],PerformanceTester[_0x59f8f8(0x1ce)](PerformanceHookEvents[_0x59f8f8(0x1af)],![],_0x86d3a5,_0x2f34ef);}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x227)][_0x372060(0x1fc)],_0x1e6d9f=>{const _0x13c856=_0x372060,_0x1456d1={'ErOGa':function(_0x24dcb5){const _0x59ce0e=a1_0x3b8a;return _0x5f57af[_0x59ce0e(0x1c5)](_0x24dcb5);},'CPDFk':function(_0x2aabe2,_0x4a9aa9){return _0x5f57af['AmNsW'](_0x2aabe2,_0x4a9aa9);},'XPVCD':function(_0x2f95e4,_0x39b888,_0x1d6099){const _0x42209c=a1_0x3b8a;return _0x5f57af[_0x42209c(0x231)](_0x2f95e4,_0x39b888,_0x1d6099);},'puoJP':function(_0xe2157f,_0x1c6609){return _0x5f57af['AmNsW'](_0xe2157f,_0x1c6609);}};PerformanceTester[_0x13c856(0x266)](PerformanceHookEvents[_0x13c856(0x1af)]);try{globals['setGlobal'](_0x5f57af['QQrgw'],_0x1e6d9f[_0x13c856(0x241)]);const _0xffbf83=_0x303b01[_0x13c856(0x1a2)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1e6d9f);CodeceptRecorder[_0x13c856(0x257)](()=>_0x303b01[_0x13c856(0x26f)](TEST_EVENTS['TEST_RUN_STARTED'],_0xffbf83)),CodeceptRecorder[_0x13c856(0x257)](async()=>{const _0x1dc6f6=_0x13c856;_0x1456d1['ErOGa'](isBrowserstackInfra)&&(!_0x1456d1[_0x1dc6f6(0x25e)](isTrue,_0x4adfe0['skipSessionName'])&&await _0x1456d1[_0x1dc6f6(0x243)](markSessionName,_0x9daadc,_0x1e6d9f['title']),_0x303b01['enabled']&&await _0x1456d1[_0x1dc6f6(0x1f0)](o11ySync,_0x9daadc));});}catch(_0x304447){const _0x2dad78={};_0x2dad78[_0x13c856(0x1b3)]=_0x5f57af[_0x13c856(0x207)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x304447,_0x2dad78),PerformanceTester[_0x13c856(0x1e1)](_0x304447);}const _0x504c83={};_0x504c83[_0x13c856(0x1b3)]=_0x5f57af[_0x13c856(0x207)],PerformanceTester[_0x13c856(0x1ce)](PerformanceHookEvents[_0x13c856(0x1af)],!![],null,_0x504c83);}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x227)]['passed'],_0x5a23a0=>{const _0x4acf06=_0x372060,_0x39d2a8={'HgrzI':function(_0x307744,_0x8fe5b9,_0x4b7473){const _0x4fa475=a1_0x3b8a;return _0x5f57af[_0x4fa475(0x231)](_0x307744,_0x8fe5b9,_0x4b7473);},'XQXGS':function(_0x458324,_0x234461,_0x3ae4b9){const _0x5285f7=a1_0x3b8a;return _0x5f57af[_0x5285f7(0x219)](_0x458324,_0x234461,_0x3ae4b9);},'rcgKM':function(_0x7bb3){return _0x5f57af['jdiVw'](_0x7bb3);}};PerformanceTester[_0x4acf06(0x266)](PerformanceHookEvents[_0x4acf06(0x1af)]);try{const _0xa52220=_0x303b01['captureEvent'](TEST_EVENTS[_0x4acf06(0x1fb)],_0x5a23a0);CodeceptRecorder[_0x4acf06(0x257)](()=>_0x303b01[_0x4acf06(0x26f)](TEST_EVENTS[_0x4acf06(0x1fb)],_0xa52220)),CodeceptRecorder['add'](async()=>{const _0x1be71c=_0x4acf06;_0x39d2a8[_0x1be71c(0x25c)](isBrowserstackInfra)&&await PerformanceTester[_0x1be71c(0x1ca)](PerformanceAutEvents[_0x1be71c(0x25a)],async()=>{const _0x14ef1d=_0x1be71c;_0x5445c7?await _0x39d2a8[_0x14ef1d(0x1f5)](playwrightMarkSessionStatus,_0x9daadc,STATE_PASSED):await _0x39d2a8[_0x14ef1d(0x249)](markSessionStatus,_0x9daadc,STATE_PASSED);})();}),PerformanceTester[_0x4acf06(0x1ce)](PerformanceEvents[_0x4acf06(0x268)]);}catch(_0x188568){PerformanceTester[_0x4acf06(0x1e1)](_0x188568);const _0x1c6e5d={};_0x1c6e5d[_0x4acf06(0x1b3)]=_0x5f57af['KrFBa'],PerformanceTester[_0x4acf06(0x1ce)](PerformanceHookEvents[_0x4acf06(0x1af)],![],_0x188568,_0x1c6e5d),PerformanceTester[_0x4acf06(0x1ce)](PerformanceEvents['SDK_TEST'],![],_0x188568);}const _0x5af244={};_0x5af244[_0x4acf06(0x1b3)]=_0x5f57af['KrFBa'],PerformanceTester[_0x4acf06(0x1ce)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5af244);}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x227)][_0x372060(0x1e4)],(_0x3a0b49,_0x172a9e)=>{const _0x48f446=_0x372060,_0xa91ae0={'spGBu':function(_0x47c00d){const _0x22576d=a1_0x3b8a;return _0x5f57af[_0x22576d(0x206)](_0x47c00d);},'guNMG':function(_0x5f0fe5,_0x12296a,_0x5c82ed,_0xad69dd){const _0x438234=a1_0x3b8a;return _0x5f57af[_0x438234(0x1f2)](_0x5f0fe5,_0x12296a,_0x5c82ed,_0xad69dd);}};PerformanceTester[_0x48f446(0x266)](PerformanceHookEvents[_0x48f446(0x1af)]);try{if(_0x5f57af['vDtmC'](_0x3a0b49[_0x48f446(0x1da)][_0x48f446(0x216)],_0x5f57af[_0x48f446(0x264)])){const _0x3112b1=_0x303b01['captureEvent'](TEST_EVENTS[_0x48f446(0x24d)],_0x3a0b49[_0x48f446(0x250)][_0x48f446(0x1a7)]);CodeceptRecorder['add'](()=>_0x303b01['fireEvent'](TEST_EVENTS[_0x48f446(0x24d)],_0x3112b1));}else{const _0x353a4a=_0x303b01['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3a0b49,_0x172a9e);CodeceptRecorder[_0x48f446(0x257)](()=>{const _0x13b339=_0x48f446;try{_0x303b01['fireEvent'](TEST_EVENTS[_0x13b339(0x1fb)],_0x353a4a);}catch(_0x1eaf17){logger['debug'](_0x13b339(0x1f7)+util[_0x13b339(0x253)](_0x1eaf17)),PerformanceTester[_0x13b339(0x1ce)](PerformanceEvents[_0x13b339(0x268)],![],_0x1eaf17);}}),CodeceptRecorder[_0x48f446(0x257)](async()=>{const _0x31e15c=_0x48f446;try{_0xa91ae0[_0x31e15c(0x1ba)](isBrowserstackInfra)&&(_0x5445c7?await _0xa91ae0[_0x31e15c(0x20e)](playwrightMarkSessionStatus,_0x9daadc,STATE_FAILED,_0x172a9e):await _0xa91ae0[_0x31e15c(0x20e)](markSessionStatus,_0x9daadc,STATE_FAILED,_0x172a9e));}catch(_0x1e380e){logger[_0x31e15c(0x1f3)](_0x31e15c(0x239)+util[_0x31e15c(0x253)](_0x1e380e)),PerformanceTester[_0x31e15c(0x1ce)](PerformanceEvents[_0x31e15c(0x268)],![],_0x1e380e);}});}PerformanceTester[_0x48f446(0x1ce)](PerformanceEvents['SDK_TEST']);}catch(_0x5aef9){PerformanceTester[_0x48f446(0x1e1)](_0x5aef9);const _0x43ab66={};_0x43ab66[_0x48f446(0x1b3)]=_0x5f57af[_0x48f446(0x271)],PerformanceTester[_0x48f446(0x1ce)](PerformanceHookEvents['SDK_HOOK'],![],_0x5aef9,_0x43ab66),PerformanceTester['end'](PerformanceEvents[_0x48f446(0x268)],![],_0x5aef9);}const _0x11b28c={};_0x11b28c[_0x48f446(0x1b3)]=_0x5f57af['ArKtj'],PerformanceTester[_0x48f446(0x1ce)](PerformanceHookEvents[_0x48f446(0x1af)],!![],null,_0x11b28c);}),CodeceptJS['event'][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)]['test']['skipped'],_0x2ba9a6=>{const _0xa21f65=_0x372060;PerformanceTester['start'](PerformanceHookEvents[_0xa21f65(0x1af)]);try{const _0x7232fb=_0x303b01['captureEvent'](TEST_EVENTS[_0xa21f65(0x24d)],_0x2ba9a6);CodeceptRecorder[_0xa21f65(0x257)](()=>_0x303b01[_0xa21f65(0x26f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x7232fb)),PerformanceTester[_0xa21f65(0x1ce)](PerformanceEvents[_0xa21f65(0x268)]);}catch(_0x494bf1){PerformanceTester[_0xa21f65(0x1e1)](_0x494bf1),PerformanceTester[_0xa21f65(0x1ce)](PerformanceEvents[_0xa21f65(0x268)],![],_0x494bf1);const _0x18eebc={};_0x18eebc['hookType']=_0x5f57af['DgvJa'],PerformanceTester['end'](PerformanceHookEvents[_0xa21f65(0x1af)],![],_0x494bf1,_0x18eebc);}const _0x5b6feb={};_0x5b6feb[_0xa21f65(0x1b3)]=_0x5f57af[_0xa21f65(0x220)],PerformanceTester['end'](PerformanceHookEvents[_0xa21f65(0x1af)],!![],null,_0x5b6feb);}),CodeceptJS['event'][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)][_0x372060(0x227)]['after'],async(_0x8a2066,_0x2383d7)=>{const _0x114a0f=_0x372060;try{PerformanceTester[_0x114a0f(0x266)](PerformanceHookEvents['SDK_HOOK']);if(_0x5f57af['SgtxB'](isBrowserstackInfra)){const _0x2ab2b8=_0x5f57af[_0x114a0f(0x1db)](shouldScanTestForAccessibility,_0x8a2066[_0x114a0f(0x1b0)](),!![]);if(_0x5f57af['gNuQY'](isAccessibilityAutomationSession)&&global[_0x114a0f(0x1dd)]&&_0x2ab2b8){const _0x39e4cd={};_0x39e4cd[_0x114a0f(0x22b)]=_0x8a2066['testAnalyticsId'],_0x39e4cd['thBuildUuid']=process['env'][testHubConstants['ENV_VAR'][_0x114a0f(0x1c0)]],_0x39e4cd['thJwtToken']=process['env'][testHubConstants[_0x114a0f(0x233)][_0x114a0f(0x23e)]];const _0x21d081=_0x39e4cd;logger['debug'](_0x114a0f(0x20d)+JSON[_0x114a0f(0x1f8)](_0x21d081)),CodeceptRecorder[_0x114a0f(0x257)](async()=>{const _0x1bdd24=_0x114a0f,_0xf9c361={};_0xf9c361[_0x1bdd24(0x226)]=_0x5f57af[_0x1bdd24(0x23a)],await PerformanceTester[_0x1bdd24(0x1ca)](PerformanceA11yEvents[_0x1bdd24(0x21c)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x9daadc,scripts['performScan']);},_0xf9c361)(),await PerformanceTester[_0x1bdd24(0x1ca)](PerformanceA11yEvents[_0x1bdd24(0x1d7)],async()=>{const _0x306c73=_0x1bdd24;await AccessibilityHelper['browserStackExecuteDriver'](_0x9daadc,scripts[_0x306c73(0x1e9)],_0x21d081);})();}),logger[_0x114a0f(0x211)](_0x5f57af[_0x114a0f(0x212)]);}}const _0x307ca9={};_0x307ca9[_0x114a0f(0x1b3)]=_0x5f57af['tHKQX'],PerformanceTester[_0x114a0f(0x1ce)](PerformanceHookEvents[_0x114a0f(0x1af)],!![],null,_0x307ca9);}catch(_0x5be776){PerformanceTester[_0x114a0f(0x1e1)](_0x5be776);const _0x58733f={};_0x58733f['hookType']=_0x5f57af[_0x114a0f(0x20f)],PerformanceTester[_0x114a0f(0x1ce)](PerformanceHookEvents[_0x114a0f(0x1af)],![],_0x5be776,_0x58733f);}}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS['event'][_0x372060(0x1cd)][_0x372060(0x235)],_0x3ad65d=>{const _0x35174c=_0x372060;PerformanceTester[_0x35174c(0x266)](PerformanceHookEvents[_0x35174c(0x1af)]);try{process[_0x35174c(0x1a5)]('bs:addLog:'+process[_0x35174c(0x23c)],{'timestamp':new Date()[_0x35174c(0x1eb)](),'level':_0x5f57af[_0x35174c(0x210)],'message':_0x3ad65d,'kind':_0x5f57af[_0x35174c(0x1cf)],'http_response':{}});}catch(_0x301c6e){PerformanceTester[_0x35174c(0x1e1)](_0x301c6e);const _0x7a3df6={};_0x7a3df6[_0x35174c(0x1b3)]=_0x5f57af[_0x35174c(0x26d)],PerformanceTester[_0x35174c(0x1ce)](PerformanceHookEvents[_0x35174c(0x1af)],![],_0x301c6e,_0x7a3df6);}const _0x5c7307={};_0x5c7307[_0x35174c(0x1b3)]=_0x5f57af[_0x35174c(0x26d)],PerformanceTester[_0x35174c(0x1ce)](PerformanceHookEvents[_0x35174c(0x1af)],!![],null,_0x5c7307);}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS['event'][_0x372060(0x22d)][_0x372060(0x25b)],_0x3a8750=>{const _0x5618a9=_0x372060,_0x3c1be5={};_0x3c1be5[_0x5618a9(0x1b3)]=_0x5f57af[_0x5618a9(0x1b2)],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x5305ce=_0x5618a9;_0x303b01[_0x5305ce(0x230)](_0x3a8750);},_0x3c1be5)();}),CodeceptJS[_0x372060(0x1d8)][_0x372060(0x22e)]['on'](CodeceptJS[_0x372060(0x1d8)]['bddStep']['after'],_0x531e3e=>{const _0x353b83=_0x372060,_0x2d8941={};_0x2d8941[_0x353b83(0x1b3)]=_0x5f57af[_0x353b83(0x265)],PerformanceTester[_0x353b83(0x1ca)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x26a53e=_0x353b83;_0x303b01[_0x26a53e(0x200)](_0x531e3e);},_0x2d8941)();});};
|
|
1
|
+
const a1_0x553f1a=a1_0x13b3;(function(_0x3f841d,_0x111316){const _0x3acb04=a1_0x13b3,_0x3cecd8=_0x3f841d();while(!![]){try{const _0x293e53=parseInt(_0x3acb04(0x11f))/0x1+-parseInt(_0x3acb04(0x122))/0x2+parseInt(_0x3acb04(0x198))/0x3*(-parseInt(_0x3acb04(0x12f))/0x4)+parseInt(_0x3acb04(0x170))/0x5+parseInt(_0x3acb04(0x1b2))/0x6*(-parseInt(_0x3acb04(0x146))/0x7)+parseInt(_0x3acb04(0x1d8))/0x8+-parseInt(_0x3acb04(0x131))/0x9*(-parseInt(_0x3acb04(0x1f0))/0xa);if(_0x293e53===_0x111316)break;else _0x3cecd8['push'](_0x3cecd8['shift']());}catch(_0x424fba){_0x3cecd8['push'](_0x3cecd8['shift']());}}}(a1_0x14ca,0x78770));function a1_0x13b3(_0x16e80b,_0x2d5b01){const _0x14ca1f=a1_0x14ca();return a1_0x13b3=function(_0x13b3ce,_0x581f39){_0x13b3ce=_0x13b3ce-0x11c;let _0x1a40ce=_0x14ca1f[_0x13b3ce];return _0x1a40ce;},a1_0x13b3(_0x16e80b,_0x2d5b01);}const fs=require('fs'),util=require(a1_0x553f1a(0x1cf)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x553f1a(0x1a6)),logger=require(a1_0x553f1a(0x1e2))[a1_0x553f1a(0x12c)],testOpsHelper=require(a1_0x553f1a(0x15e)),requestSpy=require(a1_0x553f1a(0x1be)),PlaywrightSessionDetails=require(a1_0x553f1a(0x19b)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x553f1a(0x1bd)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x553f1a(0x1e8)),AccessibilityHelper=require(a1_0x553f1a(0x138)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x553f1a(0x17b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x553f1a(0x18a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x553f1a(0x1c9)),testHubConstants=require(a1_0x553f1a(0x14b)),globals=require(a1_0x553f1a(0x1c2)),CodeceptJS=requireModule(a1_0x553f1a(0x1e0),a1_0x553f1a(0x184)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x553f1a(0x184)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x553f1a(0x184)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x553f1a(0x184)),CodeceptPlaywright=requireModule(a1_0x553f1a(0x19a),a1_0x553f1a(0x184)),playwrightMarkSessionStatus=(_0x26556e,_0x56af59,_0x4b3a3b)=>{const _0x69cd84=a1_0x553f1a,_0x3bad41={'XpsRV':_0x69cd84(0x1d5),'AjWNH':function(_0x11c81f,_0x13712a){return _0x11c81f(_0x13712a);}},_0xe498ae={};_0xe498ae['status']=_0x56af59;const _0xbf9d2f={};_0xbf9d2f[_0x69cd84(0x1ec)]=_0x3bad41[_0x69cd84(0x1a7)],_0xbf9d2f[_0x69cd84(0x1d9)]=_0xe498ae;const _0x103d94=_0xbf9d2f;return!_0x3bad41[_0x69cd84(0x1d7)](isUndefined,_0x4b3a3b)&&(_0x103d94[_0x69cd84(0x1d9)][_0x69cd84(0x1aa)]=JSON[_0x69cd84(0x165)](_0x4b3a3b)),_0x26556e[_0x69cd84(0x1a8)](()=>{},'browserstack_executor:\x20'+JSON[_0x69cd84(0x165)](_0x103d94));},o11ySync=PerformanceTester[a1_0x553f1a(0x1cc)](PerformanceO11yEvents[a1_0x553f1a(0x14c)],async _0xb181ef=>{const _0x409359=a1_0x553f1a,_0x36ce96={};_0x36ce96[_0x409359(0x162)]=function(_0x46706d,_0x45781b){return _0x46706d===_0x45781b;},_0x36ce96['YXccf']=_0x409359(0x167);const _0x55dc27=_0x36ce96;_0x55dc27[_0x409359(0x162)](_0xb181ef[_0x409359(0x181)]['name'],_0x55dc27[_0x409359(0x1ad)])?await _0xb181ef['executeScript'](_0x3e44e7=>{},testOpsHelper[_0x409359(0x1ef)]()):await _0xb181ef[_0x409359(0x1a8)](testOpsHelper[_0x409359(0x1ef)]());}),markSessionName=PerformanceTester[a1_0x553f1a(0x1cc)](PerformanceAutEvents[a1_0x553f1a(0x1a0)],async(_0x4648a8,_0x5b79b)=>{const _0x473d49=a1_0x553f1a,_0x18f8e0={};_0x18f8e0['VBftN']=_0x473d49(0x183),_0x18f8e0['aKaQu']=function(_0x1e2083,_0xd526cc){return _0x1e2083===_0xd526cc;},_0x18f8e0[_0x473d49(0x1b3)]='Playwright';const _0x5b991d=_0x18f8e0,_0xe3a1f3={};_0xe3a1f3['name']=_0x5b79b;const _0x55f02a={};_0x55f02a[_0x473d49(0x1ec)]=_0x5b991d[_0x473d49(0x149)],_0x55f02a['arguments']=_0xe3a1f3;const _0xea8672=_0x55f02a;_0x5b991d['aKaQu'](_0x4648a8[_0x473d49(0x181)][_0x473d49(0x19e)],_0x5b991d[_0x473d49(0x1b3)])?await _0x4648a8[_0x473d49(0x1a8)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0xea8672)):await _0x4648a8['executeScript']('browserstack_executor:\x20'+JSON['stringify'](_0xea8672));}),patchSaveScreenshot=_0x45fc40=>{const _0x50a24d=a1_0x553f1a,_0x12d433={'WCtta':_0x50a24d(0x1a9),'NhyhS':_0x50a24d(0x192),'fSJBV':function(_0x5c94b5){return _0x5c94b5();},'byDVd':function(_0x59f572,_0x4ad52b){return _0x59f572(_0x4ad52b);}};_0x12d433[_0x50a24d(0x1dd)](isTrue,process[_0x50a24d(0x133)][_0x50a24d(0x1f6)])&&!_0x45fc40['patchSaveScreenshot']&&(_0x45fc40[_0x50a24d(0x1b7)]=!![],_0x45fc40[_0x50a24d(0x16a)]=_0x45fc40['saveScreenshot'],_0x45fc40[_0x50a24d(0x13a)]=(_0x1bc48e,_0x3f3d9e=![])=>{const _0xd28e5a=_0x50a24d,_0x5d3660={'GXVHp':_0x12d433[_0xd28e5a(0x1a5)],'rsLLt':_0x12d433[_0xd28e5a(0x196)],'oApJk':function(_0x476a27){const _0x41d72a=_0xd28e5a;return _0x12d433[_0x41d72a(0x14a)](_0x476a27);}};return new Promise(function(_0x9a3d71,_0x50d41d){const _0x872094=_0xd28e5a,_0x399cb4={'tmKbc':_0x5d3660[_0x872094(0x1d3)],'opKLh':_0x5d3660[_0x872094(0x11d)],'udnPQ':function(_0x208703){const _0x274e98=_0x872094;return _0x5d3660[_0x274e98(0x176)](_0x208703);}};_0x45fc40[_0x872094(0x16a)](_0x1bc48e,_0x3f3d9e)[_0x872094(0x163)](()=>{const _0x40315c=_0x872094,_0x3a2eb2=CodeceptUtils[_0x40315c(0x1c6)](_0x1bc48e),_0xc54f80=fs[_0x40315c(0x134)](_0x3a2eb2);process[_0x40315c(0x1a4)](_0x40315c(0x1a3)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0xc54f80[_0x40315c(0x151)](_0x399cb4[_0x40315c(0x126)]),'kind':_0x399cb4[_0x40315c(0x145)]}),_0x399cb4['udnPQ'](_0x9a3d71);})['catch'](()=>null);});});},patchWebDriverBefore=_0x3c2cff=>{const _0x5811e1=a1_0x553f1a,_0x514ff9={'XlqHi':function(_0x23ae82){return _0x23ae82();},'whwPh':function(_0x300be0,_0x2dd04a){return _0x300be0(_0x2dd04a);},'QvVun':function(_0xcfc099,_0x68fd86){return _0xcfc099===_0x68fd86;},'bWAAf':_0x5811e1(0x15a),'pouuL':function(_0x46f4c6,_0x5c9ccc){return _0x46f4c6(_0x5c9ccc);}},_0x549725=async function(_0x1d7650,_0x49a348){const _0x9f98e4=_0x5811e1;return _0x514ff9[_0x9f98e4(0x143)](isAccessibilityAutomationSession)&&!global[_0x9f98e4(0x1e7)]&&global[_0x9f98e4(0x1b0)]&&scripts[_0x9f98e4(0x1e4)](_0x1d7650['name'])&&_0x514ff9[_0x9f98e4(0x1d0)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x9f98e4(0x1e7)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x9f98e4(0x179)],async()=>{const _0x1ceba0=_0x9f98e4;logger[_0x1ceba0(0x18c)](_0x1ceba0(0x129)+_0x1d7650[_0x1ceba0(0x164)]+'\x20'+_0x1d7650[_0x1ceba0(0x19e)]),await AccessibilityHelper[_0x1ceba0(0x1f4)](_0x3c2cff,scripts['performScan']);},{'command':_0x1d7650[_0x9f98e4(0x19e)]})()),global[_0x9f98e4(0x1e7)]=![],_0x49a348[_0x9f98e4(0x127)](this,Array[_0x9f98e4(0x177)][_0x9f98e4(0x144)]['call'](arguments,0x2));},_0x1fdf9e=CodeceptWebDriver[_0x5811e1(0x177)][_0x5811e1(0x16c)];CodeceptWebDriver[_0x5811e1(0x177)][_0x5811e1(0x16c)]=async function(){const _0x4ec343=_0x5811e1;try{await _0x1fdf9e[_0x4ec343(0x127)](this,arguments);}catch(_0xc4fd90){logger[_0x4ec343(0x18c)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x4ec343(0x1cb)](_0xc4fd90));}scripts[_0x4ec343(0x13f)]['filter'](_0x1fb550=>_0x1fb550[_0x4ec343(0x19e)]&&_0x1fb550[_0x4ec343(0x164)])['forEach'](_0x2de41d=>{const _0x2d9502=_0x4ec343;this['browser']['overwriteCommand'](_0x2de41d[_0x2d9502(0x19e)],_0x549725[_0x2d9502(0x1ab)](this,_0x2de41d),_0x514ff9['QvVun'](_0x2de41d['class'],_0x514ff9[_0x2d9502(0x15d)]));}),_0x514ff9[_0x4ec343(0x16b)](processWebDriverConfig,_0x3c2cff);};},patchPlaywrightBefore=()=>{const _0xbc1ea2=a1_0x553f1a;PlaywrightSessionDetails['patch']();const _0x44089f=CodeceptPlaywright[_0xbc1ea2(0x177)][_0xbc1ea2(0x16c)];CodeceptPlaywright['prototype'][_0xbc1ea2(0x16c)]=async function(){const _0x50739c=_0xbc1ea2;this[_0x50739c(0x14f)]=await this['browser'][_0x50739c(0x174)]()[0x0],await _0x44089f[_0x50739c(0x127)](this,arguments);};},getCodeceptDriver=()=>{const _0x1405e6=a1_0x553f1a,_0x371132={};_0x371132['ynCJe']=_0x1405e6(0x14d),_0x371132[_0x1405e6(0x18f)]=_0x1405e6(0x167),_0x371132['mHhOY']='Puppeteer',_0x371132[_0x1405e6(0x1ee)]=_0x1405e6(0x1eb);const _0x2c0f76=_0x371132,_0x30f3a6=[_0x2c0f76[_0x1405e6(0x1b5)],_0x2c0f76[_0x1405e6(0x18f)],_0x2c0f76['mHhOY'],_0x2c0f76[_0x1405e6(0x1ee)]],_0x23bafb=_0x30f3a6[_0x1405e6(0x14e)](_0xbe0582=>!!CodeceptJS[_0x1405e6(0x128)][_0x1405e6(0x152)](_0xbe0582));if(!_0x23bafb)return null;return CodeceptJS[_0x1405e6(0x128)][_0x1405e6(0x152)](_0x23bafb);};function a1_0x14ca(){const _0x184c1d=['find','browserContext','event','toString','helpers','step','ctx','ckmMo','KtAFs','noIkS','lsjes','ROkPT','Element','ENV_VAR','dispatcher','bWAAf','../../helpers/test-observability/utils','startMonitoring','bddStep-after','uujgO','TNnvr','then','class','stringify','step-comment','Playwright','after','FcKuO','initSaveScreenshot','pouuL','_before','TEST_RUN_STARTED','GET_RESULTS_SUMMARY','lZbZJ','513005CEmCuv','uQUNQ','Suite','MwqVE','contexts','command','oApJk','prototype','BROWSERSTACK_TESTHUB_UUID','PERFORM_SCAN','BROWSERSTACK_TESTHUB_JWT','../../helpers/performance/performance-tester','lOImF','HOOK_RUN_STARTED','stop','thBuildUuid','captureError','constructor','titlePath','setSessionName','codeceptjs','skipped','bddStepStart','hJjZb','skipSessionStatus','hook','../../helpers/performance/constants','Blycw','debug','thJwtToken','end','aevzt','TLtly','SDK_POST_INITIALIZE','TEST_SCREENSHOT','hookType','wtAji','stGVy','NhyhS','failed','584754tfTQRT','SDK_PRE_TEST','codeceptjs/lib/helper/Playwright.js','../../bin/playwright/sessionDetails','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','JeEDR','name','pid','SESSION_NAME','SDK_TEST','INFO','bs:addLog:','emit','WCtta','../../helpers/helper','XpsRV','executeScript','base64','reason','bind','TEST_LOG','YXccf','getResultsSummary','test','accessibilityPlatform','KveiG','19938lLWZXc','qZhGZ','stopMonitoring','ynCJe','hook-passed','patchSaveScreenshot','wxYtp','fSocs','HOOK_RUN_FINISHED','test-before','SDK_POST_TEST','./o11yHelper','../../helpers/request-spy','TEST_RUN_SKIPPED','afterTest','TEST_RUN_FINISHED','../../helpers/globals.js','VUrFz','tTvmL','currentTest','screenshotOutputFolder','NfTXT','title','./helper.js','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','format','measureWrapper','__workerDetails','wlNxz','util','whwPh','all','fireEvent','GXVHp','GET_RESULTS','setSessionStatus','started','AjWNH','3233472VYYhkS','arguments','SDK_HOOK','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sswPY','byDVd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','CbYUA','codeceptjs/lib/index.js','getAccessibilityResults','../../helpers/logger','OzfpN','shouldWrapCommand','add','getResults','bstackAllyScanning','../../helpers/accessibility-automation/helper','restore','performScan','TestCafe','action','oOIMr','khliW','getSyncScript','213520iXBhRy','eCXwH','eXpTc','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserStackExecuteDriver','test-failed','BS_TESTOPS_ALLOW_SCREENSHOTS','toISOString','comment','passed','bddStep','exports','rsLLt','test-started','364583GGEEYr','__skipSessionStatus','__driver','30782KJnJSM','USThl','getAccessibilityResultsSummary','addRequestSpy','tmKbc','apply','container','Performing\x20scan\x20for\x20','testAnalyticsId','OJEDR','winstonLogger','info','captureEvent','4ZUfvqy','hook-failed','54PCucVi','enabled','env','readFileSync','test-skipped','bVHNv','warn','../../bin/playwright/accessibility-helper','doxtx','saveScreenshot','deafs','test-passed','Nvikl','JuAhs','commandsToWrap','start','thTestRunUuid','before','XlqHi','slice','opKLh','623quJJjN','setGlobal','FymAO','VBftN','fSJBV','../../helpers/testhub/constants.js','SYNC','WebDriver'];a1_0x14ca=function(){return _0x184c1d;};return a1_0x14ca();}module[a1_0x553f1a(0x11c)]=function(_0x5034f1){const _0x2ed7ad=a1_0x553f1a,_0x3ae06a={'hJjZb':function(_0x557b93){return _0x557b93();},'uujgO':function(_0x2e5aec,_0x2d2906){return _0x2e5aec(_0x2d2906);},'sswPY':_0x2ed7ad(0x1e1),'fSocs':_0x2ed7ad(0x1f3),'tTvmL':_0x2ed7ad(0x124),'noIkS':_0x2ed7ad(0x1de),'KtAFs':'hook-started','oOIMr':_0x2ed7ad(0x1b6),'VUrFz':_0x2ed7ad(0x130),'OzfpN':'browserstackTestName','HcXrP':function(_0x2ec544){return _0x2ec544();},'wxYtp':_0x2ed7ad(0x1bb),'NfTXT':function(_0x150313,_0x1308e1,_0x325125){return _0x150313(_0x1308e1,_0x325125);},'TLtly':_0x2ed7ad(0x11e),'bVHNv':function(_0x443370){return _0x443370();},'FymAO':function(_0x289920,_0x37565e,_0xaee75e){return _0x289920(_0x37565e,_0xaee75e);},'deafs':function(_0x44e046,_0x683950,_0x2d9e27){return _0x44e046(_0x683950,_0x2d9e27);},'JeEDR':_0x2ed7ad(0x13c),'gdAxN':function(_0x489eec,_0x3fa015,_0x2da307,_0x34a115){return _0x489eec(_0x3fa015,_0x2da307,_0x34a115);},'wlNxz':function(_0xea184d,_0x552c3d,_0x55bbd8,_0x4edb65){return _0xea184d(_0x552c3d,_0x55bbd8,_0x4edb65);},'cyQhO':function(_0x1a942a,_0x5cf6b7){return _0x1a942a===_0x5cf6b7;},'ckmMo':_0x2ed7ad(0x172),'FcKuO':_0x2ed7ad(0x1f5),'lZbZJ':_0x2ed7ad(0x135),'MwqVE':_0x2ed7ad(0x1c0),'CbYUA':function(_0x173064){return _0x173064();},'lOImF':function(_0x4ce00f){return _0x4ce00f();},'LMCNH':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lsjes':'test-after','wtAji':_0x2ed7ad(0x1a2),'vdhQB':_0x2ed7ad(0x1ac),'JuAhs':_0x2ed7ad(0x166),'eCXwH':'bddStep-before','doxtx':_0x2ed7ad(0x160),'uQUNQ':_0x2ed7ad(0x167)};_0x5034f1[_0x2ed7ad(0x188)]&&(global[_0x2ed7ad(0x120)]=_0x5034f1[_0x2ed7ad(0x188)]);PerformanceTester[_0x2ed7ad(0x15f)]();const _0x448634=_0x3ae06a[_0x2ed7ad(0x1df)](getCodeceptDriver),_0x2bb5d6=new O11yHelper(_0x448634,_0x5034f1),_0x6f763f=!!CodeceptJS[_0x2ed7ad(0x128)][_0x2ed7ad(0x152)](_0x3ae06a[_0x2ed7ad(0x171)]);global[_0x2ed7ad(0x121)]=_0x448634,_0x448634&&(PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x1ebaf1=_0x2ed7ad;_0x6f763f?_0x3ae06a[_0x1ebaf1(0x187)](patchPlaywrightBefore):_0x3ae06a[_0x1ebaf1(0x161)](patchWebDriverBefore,_0x448634);})(),PerformanceTester[_0x2ed7ad(0x1cc)](PerformanceEvents[_0x2ed7ad(0x191)],()=>{const _0x3569c3=_0x2ed7ad,_0xca5936={};_0xca5936[_0x3569c3(0x13d)]=_0x3ae06a[_0x3569c3(0x1c4)],_0xca5936[_0x3569c3(0x159)]=_0x3ae06a[_0x3569c3(0x157)];const _0x508b93=_0xca5936;_0x448634[_0x3569c3(0x124)]=async()=>{const _0x154ba8=_0x3569c3;if(global['accessibilityPlatform']){const _0x3674ea={};_0x3674ea['command']=_0x508b93['Nvikl'],await PerformanceTester[_0x154ba8(0x1cc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3db219=_0x154ba8;await AccessibilityHelper[_0x3db219(0x1f4)](_0x448634,scripts[_0x3db219(0x1ea)]);},_0x3674ea)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x154ba8(0x16e)],async()=>{const _0x2757cb=_0x154ba8;await AccessibilityHelper[_0x2757cb(0x1f4)](_0x448634,scripts[_0x2757cb(0x1ae)]);})();}else return logger['warn'](_0x508b93[_0x154ba8(0x159)]),{};},_0x448634[_0x3569c3(0x1e1)]=async()=>{const _0x298364=_0x3569c3;if(global[_0x298364(0x1b0)]){const _0x457fd2={};_0x457fd2[_0x298364(0x175)]=_0x3ae06a[_0x298364(0x1dc)],await PerformanceTester[_0x298364(0x1cc)](PerformanceA11yEvents[_0x298364(0x179)],async()=>{const _0x2b4e72=_0x298364;await AccessibilityHelper[_0x2b4e72(0x1f4)](_0x448634,scripts['performScan']);},_0x457fd2)(),await PerformanceTester[_0x298364(0x1cc)](PerformanceA11yEvents[_0x298364(0x1d4)],async()=>{const _0x337826=_0x298364;await AccessibilityHelper[_0x337826(0x1f4)](_0x448634,scripts[_0x337826(0x1e6)]);})();}else return logger[_0x298364(0x137)](_0x3ae06a[_0x298364(0x1b9)]),{};},_0x3ae06a[_0x3569c3(0x161)](patchSaveScreenshot,_0x448634);})()),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1d1)]['before'],()=>{const _0x57abc0=_0x2ed7ad;PerformanceTester[_0x57abc0(0x140)](PerformanceEvents[_0x57abc0(0x199)]);try{_0x2bb5d6[_0x57abc0(0x140)](),testOpsHelper[_0x57abc0(0x125)](),PerformanceTester[_0x57abc0(0x18e)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x3b6a63){PerformanceTester[_0x57abc0(0x180)](_0x3b6a63),PerformanceTester[_0x57abc0(0x18e)](PerformanceEvents['SDK_PRE_TEST'],![],_0x3b6a63);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1d1)][_0x2ed7ad(0x168)],async()=>{const _0x1001f5=_0x2ed7ad;PerformanceTester['start'](PerformanceEvents[_0x1001f5(0x1bc)]);try{requestSpy[_0x1001f5(0x1e9)](),await _0x2bb5d6[_0x1001f5(0x17e)](),PerformanceTester[_0x1001f5(0x18e)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x5bcf64){PerformanceTester[_0x1001f5(0x180)](_0x5bcf64),PerformanceTester[_0x1001f5(0x18e)](PerformanceEvents[_0x1001f5(0x1bc)],![],_0x5bcf64);}finally{PerformanceTester[_0x1001f5(0x1b4)]();}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event']['hook'][_0x2ed7ad(0x1d6)],_0x165e42=>{const _0x12e4a4=_0x2ed7ad;PerformanceTester[_0x12e4a4(0x140)](PerformanceEvents[_0x12e4a4(0x1da)]);try{const _0x3ca78f=_0x165e42['ctx']['test'],_0x58ec41=_0x2bb5d6[_0x12e4a4(0x12e)](TEST_EVENTS[_0x12e4a4(0x17d)],_0x3ca78f);CodeceptRecorder[_0x12e4a4(0x1e5)](()=>_0x2bb5d6['fireEvent'](TEST_EVENTS[_0x12e4a4(0x17d)],_0x58ec41));const _0x261c8a={};_0x261c8a['hookType']=_0x3ae06a[_0x12e4a4(0x156)],PerformanceTester[_0x12e4a4(0x18e)](PerformanceEvents[_0x12e4a4(0x1da)],!![],null,_0x261c8a);}catch(_0x275d25){const _0x5dc7d7={};_0x5dc7d7[_0x12e4a4(0x193)]=_0x3ae06a[_0x12e4a4(0x156)],PerformanceTester[_0x12e4a4(0x18e)](PerformanceEvents['SDK_HOOK'],![],_0x275d25,_0x5dc7d7),PerformanceTester[_0x12e4a4(0x180)](_0x275d25);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x189)][_0x2ed7ad(0x1f9)],_0xbf7e1=>{const _0xf0799e=_0x2ed7ad,_0x5a972c={};_0x5a972c[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester['start'](PerformanceHookEvents[_0xf0799e(0x1da)],!![],null,_0x5a972c);try{const _0x37e319=_0xbf7e1['ctx'][_0xf0799e(0x1af)],_0x5b48ce=_0x2bb5d6[_0xf0799e(0x12e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x37e319);CodeceptRecorder[_0xf0799e(0x1e5)](()=>_0x2bb5d6['fireEvent'](TEST_EVENTS[_0xf0799e(0x1ba)],_0x5b48ce));const _0x892616={};_0x892616[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester[_0xf0799e(0x18e)](PerformanceHookEvents[_0xf0799e(0x1da)],!![],null,_0x892616);}catch(_0x28d42c){PerformanceTester['captureError'](_0x28d42c);const _0x2396a5={};_0x2396a5[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester[_0xf0799e(0x18e)](PerformanceHookEvents[_0xf0799e(0x1da)],![],_0x28d42c,_0x2396a5);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x189)][_0x2ed7ad(0x197)],async(_0x5c42ad,_0x49314c)=>{const _0x21d7cc=_0x2ed7ad;PerformanceTester[_0x21d7cc(0x140)](PerformanceHookEvents[_0x21d7cc(0x1da)]);try{const _0x59bcca=_0x5c42ad[_0x21d7cc(0x154)]['test'],_0x3d7749=_0x2bb5d6[_0x21d7cc(0x12e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x59bcca,_0x49314c);CodeceptRecorder[_0x21d7cc(0x1e5)](()=>_0x2bb5d6[_0x21d7cc(0x1d2)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3d7749));const _0x208940={};_0x208940[_0x21d7cc(0x193)]=_0x3ae06a['VUrFz'],PerformanceTester[_0x21d7cc(0x140)](PerformanceHookEvents[_0x21d7cc(0x1da)],!![],null,_0x208940);}catch(_0x6af244){PerformanceTester['captureError'](_0x6af244);const _0x195bc9={};_0x195bc9['hookType']=_0x3ae06a[_0x21d7cc(0x1c3)],PerformanceTester[_0x21d7cc(0x18e)](PerformanceHookEvents[_0x21d7cc(0x1da)],![],_0x6af244,_0x195bc9);}const _0x5dcd69={};_0x5dcd69['hookType']=_0x3ae06a[_0x21d7cc(0x1c3)],PerformanceTester[_0x21d7cc(0x18e)](PerformanceHookEvents[_0x21d7cc(0x1da)],!![],null,_0x5dcd69);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x142)],_0x176897=>{const _0x2e785e=_0x2ed7ad;PerformanceTester[_0x2e785e(0x140)](PerformanceHookEvents[_0x2e785e(0x1da)]);try{globals['setGlobal'](_0x3ae06a['OzfpN'],_0x176897['title']);_0x3ae06a['HcXrP'](isBrowserstackInfra)&&(_0x6f763f&&(global[_0x2e785e(0x1cd)]={'currentTest':{'name':_0x176897[_0x2e785e(0x1c8)],'testInfo':{'titlePath':_0x176897[_0x2e785e(0x182)]()}}}));const _0x350822={};_0x350822[_0x2e785e(0x193)]=_0x3ae06a['wxYtp'],PerformanceTester[_0x2e785e(0x18e)](PerformanceHookEvents[_0x2e785e(0x1da)],!![],null,_0x350822);}catch(_0x229500){PerformanceTester[_0x2e785e(0x180)](_0x229500);const _0x337c0d={};_0x337c0d[_0x2e785e(0x193)]=_0x3ae06a[_0x2e785e(0x1b8)],PerformanceTester['end'](PerformanceHookEvents[_0x2e785e(0x1da)],![],_0x229500,_0x337c0d);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event']['test']['started'],_0x16a13b=>{const _0x358f21=_0x2ed7ad,_0x53f74c={'Blycw':function(_0x2aa978){const _0x2c9561=a1_0x13b3;return _0x3ae06a[_0x2c9561(0x187)](_0x2aa978);},'OJEDR':function(_0x526fc4,_0x5652cb){const _0x348838=a1_0x13b3;return _0x3ae06a[_0x348838(0x161)](_0x526fc4,_0x5652cb);},'VpCyz':function(_0x2cc6c9,_0x5e05e6,_0x143609){return _0x3ae06a['NfTXT'](_0x2cc6c9,_0x5e05e6,_0x143609);},'tNEqc':function(_0x274ad6,_0x47b474){return _0x3ae06a['uujgO'](_0x274ad6,_0x47b474);}};PerformanceTester[_0x358f21(0x140)](PerformanceHookEvents[_0x358f21(0x1da)]);try{globals[_0x358f21(0x147)](_0x3ae06a[_0x358f21(0x1e3)],_0x16a13b[_0x358f21(0x1c8)]);const _0x479757=_0x2bb5d6[_0x358f21(0x12e)](TEST_EVENTS[_0x358f21(0x16d)],_0x16a13b);CodeceptRecorder[_0x358f21(0x1e5)](()=>_0x2bb5d6[_0x358f21(0x1d2)](TEST_EVENTS[_0x358f21(0x16d)],_0x479757)),CodeceptRecorder[_0x358f21(0x1e5)](async()=>{const _0x41c206=_0x358f21;_0x53f74c[_0x41c206(0x18b)](isBrowserstackInfra)&&(!_0x53f74c[_0x41c206(0x12b)](isTrue,_0x5034f1['skipSessionName'])&&await _0x53f74c['VpCyz'](markSessionName,_0x448634,_0x16a13b[_0x41c206(0x1c8)]),_0x2bb5d6[_0x41c206(0x132)]&&await _0x53f74c['tNEqc'](o11ySync,_0x448634));});}catch(_0x4d9316){const _0x2ba205={};_0x2ba205[_0x358f21(0x193)]=_0x3ae06a[_0x358f21(0x190)],PerformanceTester['end'](PerformanceHookEvents[_0x358f21(0x1da)],![],_0x4d9316,_0x2ba205),PerformanceTester[_0x358f21(0x180)](_0x4d9316);}const _0x30b340={};_0x30b340['hookType']=_0x3ae06a[_0x358f21(0x190)],PerformanceTester[_0x358f21(0x18e)](PerformanceHookEvents[_0x358f21(0x1da)],!![],null,_0x30b340);}),CodeceptJS['event'][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x1f9)],_0xaae74e=>{const _0x33e3fa=_0x2ed7ad,_0x30b4ca={'KveiG':function(_0x23c67e,_0x551489,_0x3a00f5){const _0x2e3d76=a1_0x13b3;return _0x3ae06a[_0x2e3d76(0x148)](_0x23c67e,_0x551489,_0x3a00f5);},'eXpTc':function(_0x527036,_0x3e385d,_0x2f7d23){const _0x2a0b7b=a1_0x13b3;return _0x3ae06a[_0x2a0b7b(0x13b)](_0x527036,_0x3e385d,_0x2f7d23);}};PerformanceTester['start'](PerformanceHookEvents[_0x33e3fa(0x1da)]);try{const _0x280406=_0x2bb5d6[_0x33e3fa(0x12e)](TEST_EVENTS[_0x33e3fa(0x1c1)],_0xaae74e);CodeceptRecorder['add'](()=>_0x2bb5d6[_0x33e3fa(0x1d2)](TEST_EVENTS[_0x33e3fa(0x1c1)],_0x280406)),CodeceptRecorder['add'](async()=>{const _0x1ce099=_0x33e3fa;_0x3ae06a[_0x1ce099(0x136)](isBrowserstackInfra)&&await PerformanceTester[_0x1ce099(0x1cc)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x315019=_0x1ce099;_0x6f763f?await _0x30b4ca[_0x315019(0x1b1)](playwrightMarkSessionStatus,_0x448634,STATE_PASSED):await _0x30b4ca[_0x315019(0x1f2)](markSessionStatus,_0x448634,STATE_PASSED);})();}),PerformanceTester[_0x33e3fa(0x18e)](PerformanceEvents[_0x33e3fa(0x1a1)]);}catch(_0x110790){PerformanceTester[_0x33e3fa(0x180)](_0x110790);const _0x3239aa={};_0x3239aa[_0x33e3fa(0x193)]=_0x3ae06a[_0x33e3fa(0x19d)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x110790,_0x3239aa),PerformanceTester[_0x33e3fa(0x18e)](PerformanceEvents[_0x33e3fa(0x1a1)],![],_0x110790);}const _0x27a62a={};_0x27a62a[_0x33e3fa(0x193)]=_0x3ae06a[_0x33e3fa(0x19d)],PerformanceTester[_0x33e3fa(0x18e)](PerformanceHookEvents[_0x33e3fa(0x1da)],!![],null,_0x27a62a);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1af)][_0x2ed7ad(0x197)],(_0x143e48,_0x462c0f)=>{const _0x5a8647=_0x2ed7ad,_0x3d4a23={'lcYrH':function(_0x37705d){const _0x3e4021=a1_0x13b3;return _0x3ae06a[_0x3e4021(0x136)](_0x37705d);},'USThl':function(_0x3f76e4,_0x24bcb1,_0x27a3bf,_0x1340ac){return _0x3ae06a['gdAxN'](_0x3f76e4,_0x24bcb1,_0x27a3bf,_0x1340ac);},'uQhMk':function(_0x5a24a7,_0x518c36,_0x5d8e88,_0xcfcc3d){const _0x51db54=a1_0x13b3;return _0x3ae06a[_0x51db54(0x1ce)](_0x5a24a7,_0x518c36,_0x5d8e88,_0xcfcc3d);}};PerformanceTester[_0x5a8647(0x140)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3ae06a['cyQhO'](_0x143e48[_0x5a8647(0x181)][_0x5a8647(0x19e)],_0x3ae06a[_0x5a8647(0x155)])){const _0x3fc80a=_0x2bb5d6['captureEvent'](TEST_EVENTS[_0x5a8647(0x1bf)],_0x143e48[_0x5a8647(0x154)][_0x5a8647(0x1c5)]);CodeceptRecorder[_0x5a8647(0x1e5)](()=>_0x2bb5d6[_0x5a8647(0x1d2)](TEST_EVENTS[_0x5a8647(0x1bf)],_0x3fc80a));}else{const _0x3037f2=_0x2bb5d6[_0x5a8647(0x12e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x143e48,_0x462c0f);CodeceptRecorder['add'](()=>{const _0x2fcf00=_0x5a8647;try{_0x2bb5d6['fireEvent'](TEST_EVENTS[_0x2fcf00(0x1c1)],_0x3037f2);}catch(_0x8d7215){logger[_0x2fcf00(0x18c)](_0x2fcf00(0x1ca)+util[_0x2fcf00(0x1cb)](_0x8d7215)),PerformanceTester[_0x2fcf00(0x18e)](PerformanceEvents[_0x2fcf00(0x1a1)],![],_0x8d7215);}}),CodeceptRecorder[_0x5a8647(0x1e5)](async()=>{const _0x15901f=_0x5a8647;try{_0x3d4a23['lcYrH'](isBrowserstackInfra)&&(_0x6f763f?await _0x3d4a23[_0x15901f(0x123)](playwrightMarkSessionStatus,_0x448634,STATE_FAILED,_0x462c0f):await _0x3d4a23['uQhMk'](markSessionStatus,_0x448634,STATE_FAILED,_0x462c0f));}catch(_0xacba69){logger[_0x15901f(0x18c)](_0x15901f(0x19c)+util[_0x15901f(0x1cb)](_0xacba69)),PerformanceTester[_0x15901f(0x18e)](PerformanceEvents[_0x15901f(0x1a1)],![],_0xacba69);}});}PerformanceTester[_0x5a8647(0x18e)](PerformanceEvents[_0x5a8647(0x1a1)]);}catch(_0x5ec187){PerformanceTester[_0x5a8647(0x180)](_0x5ec187);const _0x303964={};_0x303964[_0x5a8647(0x193)]=_0x3ae06a[_0x5a8647(0x169)],PerformanceTester[_0x5a8647(0x18e)](PerformanceHookEvents[_0x5a8647(0x1da)],![],_0x5ec187,_0x303964),PerformanceTester[_0x5a8647(0x18e)](PerformanceEvents[_0x5a8647(0x1a1)],![],_0x5ec187);}const _0x5359fe={};_0x5359fe[_0x5a8647(0x193)]=_0x3ae06a[_0x5a8647(0x169)],PerformanceTester['end'](PerformanceHookEvents[_0x5a8647(0x1da)],!![],null,_0x5359fe);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x185)],_0x5a25b9=>{const _0x1ed33b=_0x2ed7ad;PerformanceTester[_0x1ed33b(0x140)](PerformanceHookEvents[_0x1ed33b(0x1da)]);try{const _0x5bbbec=_0x2bb5d6[_0x1ed33b(0x12e)](TEST_EVENTS[_0x1ed33b(0x1bf)],_0x5a25b9);CodeceptRecorder[_0x1ed33b(0x1e5)](()=>_0x2bb5d6[_0x1ed33b(0x1d2)](TEST_EVENTS[_0x1ed33b(0x1bf)],_0x5bbbec)),PerformanceTester[_0x1ed33b(0x18e)](PerformanceEvents['SDK_TEST']);}catch(_0x4d36cc){PerformanceTester[_0x1ed33b(0x180)](_0x4d36cc),PerformanceTester[_0x1ed33b(0x18e)](PerformanceEvents[_0x1ed33b(0x1a1)],![],_0x4d36cc);const _0x3c2939={};_0x3c2939[_0x1ed33b(0x193)]=_0x3ae06a[_0x1ed33b(0x16f)],PerformanceTester[_0x1ed33b(0x18e)](PerformanceHookEvents[_0x1ed33b(0x1da)],![],_0x4d36cc,_0x3c2939);}const _0x4aee73={};_0x4aee73[_0x1ed33b(0x193)]=_0x3ae06a[_0x1ed33b(0x16f)],PerformanceTester[_0x1ed33b(0x18e)](PerformanceHookEvents[_0x1ed33b(0x1da)],!![],null,_0x4aee73);}),CodeceptJS['event'][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x168)],async(_0x337922,_0x1a0190)=>{const _0x5c2393=_0x2ed7ad,_0x77795a={};_0x77795a[_0x5c2393(0x195)]=_0x3ae06a[_0x5c2393(0x173)];const _0x2adcf9=_0x77795a;try{PerformanceTester[_0x5c2393(0x140)](PerformanceHookEvents['SDK_HOOK']);if(_0x3ae06a['CbYUA'](isBrowserstackInfra)){const _0x3d1330=_0x3ae06a[_0x5c2393(0x1c7)](shouldScanTestForAccessibility,_0x337922['titlePath'](),!![]);if(_0x3ae06a[_0x5c2393(0x17c)](isAccessibilityAutomationSession)&&global[_0x5c2393(0x1b0)]&&_0x3d1330){const _0x1c4c54={};_0x1c4c54[_0x5c2393(0x141)]=_0x337922[_0x5c2393(0x12a)],_0x1c4c54[_0x5c2393(0x17f)]=process['env'][testHubConstants[_0x5c2393(0x15b)][_0x5c2393(0x178)]],_0x1c4c54[_0x5c2393(0x18d)]=process[_0x5c2393(0x133)][testHubConstants[_0x5c2393(0x15b)][_0x5c2393(0x17a)]];const _0x1b6caa=_0x1c4c54;logger[_0x5c2393(0x18c)](_0x5c2393(0x1db)+JSON[_0x5c2393(0x165)](_0x1b6caa)),CodeceptRecorder[_0x5c2393(0x1e5)](async()=>{const _0x1d5481=_0x5c2393,_0x3df924={};_0x3df924[_0x1d5481(0x175)]=_0x2adcf9[_0x1d5481(0x195)],await PerformanceTester[_0x1d5481(0x1cc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x303de2=_0x1d5481;await AccessibilityHelper[_0x303de2(0x1f4)](_0x448634,scripts[_0x303de2(0x1ea)]);},_0x3df924)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xb3838e=_0x1d5481;await AccessibilityHelper[_0xb3838e(0x1f4)](_0x448634,scripts['saveTestResults'],_0x1b6caa);})();}),logger[_0x5c2393(0x12d)](_0x3ae06a['LMCNH']);}}const _0x5efd77={};_0x5efd77[_0x5c2393(0x193)]=_0x3ae06a[_0x5c2393(0x158)],PerformanceTester[_0x5c2393(0x18e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5efd77);}catch(_0x858e07){PerformanceTester[_0x5c2393(0x180)](_0x858e07);const _0xe0c40d={};_0xe0c40d[_0x5c2393(0x193)]=_0x3ae06a['lsjes'],PerformanceTester[_0x5c2393(0x18e)](PerformanceHookEvents[_0x5c2393(0x1da)],![],_0x858e07,_0xe0c40d);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x153)][_0x2ed7ad(0x1f8)],_0x3fc239=>{const _0x523850=_0x2ed7ad;PerformanceTester[_0x523850(0x140)](PerformanceHookEvents[_0x523850(0x1da)]);try{process[_0x523850(0x1a4)](_0x523850(0x1a3)+process[_0x523850(0x19f)],{'timestamp':new Date()[_0x523850(0x1f7)](),'level':_0x3ae06a[_0x523850(0x194)],'message':_0x3fc239,'kind':_0x3ae06a['vdhQB'],'http_response':{}});}catch(_0xaca3d7){PerformanceTester[_0x523850(0x180)](_0xaca3d7);const _0x5b33fa={};_0x5b33fa[_0x523850(0x193)]=_0x3ae06a[_0x523850(0x13e)],PerformanceTester[_0x523850(0x18e)](PerformanceHookEvents[_0x523850(0x1da)],![],_0xaca3d7,_0x5b33fa);}const _0x5976ab={};_0x5976ab[_0x523850(0x193)]=_0x3ae06a[_0x523850(0x13e)],PerformanceTester[_0x523850(0x18e)](PerformanceHookEvents[_0x523850(0x1da)],!![],null,_0x5976ab);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1fa)][_0x2ed7ad(0x142)],_0x3c0a0f=>{const _0x35026b=_0x2ed7ad,_0x45d87c={};_0x45d87c['hookType']=_0x3ae06a[_0x35026b(0x1f1)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x35026b(0x1da)],()=>{const _0xf5969=_0x35026b;_0x2bb5d6[_0xf5969(0x186)](_0x3c0a0f);},_0x45d87c)();}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1fa)][_0x2ed7ad(0x168)],_0x315147=>{const _0x229c79=_0x2ed7ad,_0x2c182c={};_0x2c182c[_0x229c79(0x193)]=_0x3ae06a[_0x229c79(0x139)],PerformanceTester[_0x229c79(0x1cc)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x2bb5d6['bddStepFinish'](_0x315147);},_0x2c182c)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x790df1=a2_0x19b7;(function(_0x47b038,_0x5fc2da){const _0x3e2f17=a2_0x19b7,_0x325016=_0x47b038();while(!![]){try{const _0x29764e=parseInt(_0x3e2f17(0x1b8))/0x1*(-parseInt(_0x3e2f17(0x18f))/0x2)+-parseInt(_0x3e2f17(0x178))/0x3+parseInt(_0x3e2f17(0x192))/0x4+-parseInt(_0x3e2f17(0x18b))/0x5+parseInt(_0x3e2f17(0x15c))/0x6*(parseInt(_0x3e2f17(0x191))/0x7)+parseInt(_0x3e2f17(0x1a9))/0x8*(-parseInt(_0x3e2f17(0x19d))/0x9)+parseInt(_0x3e2f17(0x166))/0xa;if(_0x29764e===_0x5fc2da)break;else _0x325016['push'](_0x325016['shift']());}catch(_0x63ea1a){_0x325016['push'](_0x325016['shift']());}}}(a2_0x322c,0x4865d));const fs=require('fs'),path=require(a2_0x790df1(0x1d4)),util=require('util'),process=require('process'),logger=require(a2_0x790df1(0x189))[a2_0x790df1(0x1cd)],{default:BrowserStackSetup}=require(a2_0x790df1(0x1c1)),helper=require(a2_0x790df1(0x1d6)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x790df1(0x175)),{setAccessibilityCapabilities}=require(a2_0x790df1(0x1e7)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x790df1(0x1d6)),CodeceptJS=requireModule(a2_0x790df1(0x1a3),a2_0x790df1(0x1e2)),testOpsHelper=require(a2_0x790df1(0x1e1)),TestHubHandler=require(a2_0x790df1(0x19a)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x790df1(0x1e3)),PerformanceEvents=require(a2_0x790df1(0x1d5))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1fb823,_0x48c558)=>{const _0x5db86a=a2_0x790df1,_0x1c80b5={};_0x1c80b5['ENcjZ']=function(_0x3e51ab,_0x10d140){return _0x3e51ab===_0x10d140;},_0x1c80b5[_0x5db86a(0x1c5)]='codecept.conf.js',_0x1c80b5[_0x5db86a(0x1ee)]=_0x5db86a(0x17a);const _0x4b08d3=_0x1c80b5;let _0x5bfc68=null;const _0x1e362d={};let _0x187c68=_0x48c558[_0x5db86a(0x1b1)](_0x503da6=>_0x503da6==='--config');_0x4b08d3['ENcjZ'](_0x187c68,-0x1)&&(_0x187c68=_0x48c558[_0x5db86a(0x1b1)](_0x4ef04c=>_0x4ef04c==='-c'));if(!helper[_0x5db86a(0x1ad)](_0x1fb823['config'])&&fs['existsSync'](path['join'](process[_0x5db86a(0x1e4)](),_0x1fb823[_0x5db86a(0x1f3)])))_0x5bfc68=path['join'](process[_0x5db86a(0x1e4)](),_0x1fb823[_0x5db86a(0x1f3)]),_0x48c558[_0x5db86a(0x1c2)](_0x187c68,0x2);else{if(!helper[_0x5db86a(0x1ad)](_0x1fb823['c'])&&fs['existsSync'](path['join'](process[_0x5db86a(0x1e4)](),_0x1fb823['c'])))_0x5bfc68=path[_0x5db86a(0x16f)](process[_0x5db86a(0x1e4)](),_0x1fb823['c']),_0x48c558[_0x5db86a(0x1c2)](_0x187c68,0x2);else{if(fs[_0x5db86a(0x1ec)](path[_0x5db86a(0x16f)](process[_0x5db86a(0x1e4)](),_0x4b08d3[_0x5db86a(0x1c5)])))_0x5bfc68=path[_0x5db86a(0x16f)](process[_0x5db86a(0x1e4)](),_0x4b08d3[_0x5db86a(0x1c5)]);else fs[_0x5db86a(0x1ec)](path['join'](process[_0x5db86a(0x1e4)](),_0x4b08d3[_0x5db86a(0x1ee)]))&&(_0x5bfc68=path[_0x5db86a(0x16f)](process[_0x5db86a(0x1e4)](),_0x4b08d3[_0x5db86a(0x1ee)]));}}return process['env'][_0x5db86a(0x1d0)]=_0x5bfc68,_0x5bfc68;},getO11yRerunPattern=()=>{const _0x5e149d=a2_0x790df1,_0x4cb196=helper[_0x5e149d(0x1a7)](process['env'][_0x5e149d(0x17b)]);if(_0x4cb196){const _0x2c9d55=process[_0x5e149d(0x1b7)][_0x5e149d(0x198)],_0x6b7556=[];if(helper['validateRerunTestList'](_0x2c9d55)&&!helper['isUndefined'](_0x2c9d55)){_0x2c9d55['split'](',')['map'](_0x54027a=>{const _0x4a6bc7=_0x5e149d;_0x6b7556[_0x4a6bc7(0x1a8)]('('+_0x54027a[_0x4a6bc7(0x1eb)]()+')');});const _0x2f9d70='^'+_0x6b7556['join']('|')+'$';return _0x2f9d70;}}return null;},a2_0x4f1cad={};a2_0x4f1cad[a2_0x790df1(0x1ba)]=a2_0x790df1(0x18d),a2_0x4f1cad['playwright-chromium']=a2_0x790df1(0x18d),a2_0x4f1cad['playwright-firefox']=a2_0x790df1(0x1f1),a2_0x4f1cad['playwright-webkit']=a2_0x790df1(0x1bd);const pwToCodeceptBrowser=a2_0x4f1cad;function a2_0x322c(){const _0x472c21=['stop','before','ElQec','platforms','spawn','isEmpty','13637770FmkPGi','result','end','testContextOptions','map','all','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5|3|2|4|1|0','helpers','join','NNWmq','launchBuild','printBuildLink','split','parallelsPerPlatform','../../helpers/accessibility-automation/helper','ItEVY','JNjrb','1451427fnkNeW','browserWSEndpoint','codecept.json','BROWSERSTACK_RERUN','FRAMEWORKS','desiredCapabilities','HyvRV','profile','root','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','handleApp','pXTEF','teardownAll','testConfig','stringify','gherkin','plugins','../../helpers/logger','Rphxm','2027385ybYFPY','browserName','chromium','LPooO','58642chnrmH','skipSessionStatus','742SdTnyp','1162576mPxPqD','Started\x20:\x20','testObservability','fDKmv','load','setAdditionalCapabilities','BROWSERSTACK_RERUN_TESTS','bDHfs','../../helpers/testhub/testhubHandler','prepareCapabilities','printResults','2043SMQdpd','browser','LJekW','accessibility','forEach','browserStackCwd','codeceptjs/lib/index.js','initialize','start','BROWSERSTACK_TEST_OBSERVABILITY_YML','isTrue','push','15192uwMZJb','now','Workers','title','isUndefined','isTestObservabilitySession','skipSessionName','Passed\x20:\x20','findIndex','hBYhP','CODECEPT','AYEDs','getPlaywrightUrl','validPlatformsPresent','env','13ggMyKb','IyWTt','chrome','uSfKR','TtIsd','webkit','addConfig','BrowserStackPlugin','UexuH','../../helpers/BrowserStackSetup','slice','useW3C','createGroupsOfSuites','FVvHI','exports','ATAst','mergeDeep','debug','jfSnm','run','stack','winstonLogger','info','errorMessage','USER_CONFIG_DETAILS_PATH','WebDriver','event','pejbZ','path','../../helpers/performance/constants','../../helpers/helper','aNwLE','finalExecution','MQEJC','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chdir','SDK_CLEANUP','fmxBb','format','QAjKx','VjlTA','../../helpers/test-observability/utils','codeceptjs','../../helpers/performance/performance-tester','cwd','failed','bootstrapAll','../../bin/playwright/accessibility-helper','toLowerCase','Playwright','DEkAa','trim','existsSync','log','LsiIn','accessibilityOptions','length','firefox','require','config','test','frameworkName','passed','BrowserStackPlugin.js','getPlatformName','19452KPbaBD','sxNNI','addTests','fCJmE'];a2_0x322c=function(){return _0x472c21;};return a2_0x322c();}async function run(_0x17d887,_0x2d7fb2){const _0x12df4c=a2_0x790df1,_0x25d9ca={'bDHfs':function(_0x2c41a0,_0x17404d){return _0x2c41a0+_0x17404d;},'QAjKx':function(_0x314742,_0x54789e){return _0x314742(_0x54789e);},'VjlTA':function(_0x27afad,_0x51f678,_0x50f208){return _0x27afad(_0x51f678,_0x50f208);},'ItEVY':'helpers','ElQec':function(_0x57b63b){return _0x57b63b();},'jfSnm':function(_0x33d32e){return _0x33d32e();},'LPooO':'Failed\x20:\x20','lNWWj':_0x12df4c(0x1b0),'QRJXZ':_0x12df4c(0x193),'IyWTt':_0x12df4c(0x16d),'NNWmq':_0x12df4c(0x1e2),'HyvRV':function(_0xc2bc78,_0x4a0bbe,_0x2774ff){return _0xc2bc78(_0x4a0bbe,_0x2774ff);},'EPEqf':_0x12df4c(0x1da),'oDVIV':function(_0x34f849,_0x261d07,_0x498c57){return _0x34f849(_0x261d07,_0x498c57);},'AYEDs':_0x12df4c(0x1e9),'DEkAa':_0x12df4c(0x1d1),'fCJmE':function(_0x556675,_0x18d51d){return _0x556675(_0x18d51d);},'uSfKR':function(_0x5267b7,_0x98adca){return _0x5267b7!=_0x98adca;},'hBYhP':function(_0x6268d4,_0x1c768d){return _0x6268d4===_0x1c768d;},'TtIsd':_0x12df4c(0x187),'fmxBb':function(_0x2377b9,_0x577621){return _0x2377b9+_0x577621;},'MQEJC':'-cucumber','fDKmv':function(_0x4dc6f7,_0x6432f6){return _0x4dc6f7(_0x6432f6);},'jmSXW':function(_0x21a584,_0x5e0943){return _0x21a584*_0x5e0943;},'JNjrb':function(_0x489eb8,_0xc2b6a7,_0x17d035){return _0x489eb8(_0xc2b6a7,_0x17d035);},'dlhGJ':'browser','LJekW':function(_0xb259ae,_0x47b57f,_0x48dda2){return _0xb259ae(_0x47b57f,_0x48dda2);},'pejbZ':_0x12df4c(0x17d),'Rphxm':_0x12df4c(0x180),'pXTEF':_0x12df4c(0x15a),'ATAst':_0x12df4c(0x1a2),'sxNNI':function(_0x486a86){return _0x486a86();}},_0x3f3ed9=new BrowserStackSetup(_0x17d887,_0x25d9ca[_0x12df4c(0x170)]);await _0x3f3ed9[_0x12df4c(0x1a4)](),await helper[_0x12df4c(0x182)](_0x3f3ed9[_0x12df4c(0x1f3)]);if(!_0x3f3ed9[_0x12df4c(0x1f3)])return;process[_0x12df4c(0x17f)]=_0x17d887['profile'];_0x17d887['profile']&&(process[_0x12df4c(0x1b7)]['profile']=_0x17d887[_0x12df4c(0x17f)]);const _0x3f93e6=_0x25d9ca[_0x12df4c(0x17e)](getUserCodeceptJSConfigs,_0x17d887,_0x2d7fb2);let _0x9b21c5={};_0x3f93e6?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3f93e6),_0x9b21c5=CodeceptJS[_0x12df4c(0x1f3)][_0x12df4c(0x196)](_0x3f93e6)):logger[_0x12df4c(0x1ce)](_0x25d9ca['EPEqf']);let _0x3fb3af=![];_0x25d9ca['oDVIV'](nestedKeyValue,_0x9b21c5,[_0x25d9ca['ItEVY'],_0x25d9ca[_0x12df4c(0x1b4)]])&&(_0x3fb3af=!![]);const _0x2bc7fa=_0x3fb3af?_0x25d9ca['AYEDs']:_0x25d9ca[_0x12df4c(0x1ea)];let _0x1c5b74=!_0x3fb3af?helper[_0x12df4c(0x1c3)](_0x3f3ed9['config']):![];!helper[_0x12df4c(0x1ad)](_0x3f3ed9[_0x12df4c(0x1f3)][_0x12df4c(0x1ef)])&&(process['env'][_0x12df4c(0x16c)]=JSON[_0x12df4c(0x186)](_0x3f3ed9[_0x12df4c(0x1f3)]['accessibilityOptions']));let _0x489655=_0x3f3ed9[_0x12df4c(0x1f3)][_0x12df4c(0x1a0)];_0x489655=_0x489655||_0x25d9ca[_0x12df4c(0x15f)](checkAccessibilityPlatformConfig,_0x3f3ed9[_0x12df4c(0x1f3)]),process[_0x12df4c(0x1b7)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x489655;_0x489655&&(_0x1c5b74=!_0x489655);_0x25d9ca[_0x12df4c(0x1bb)](_0x3f3ed9[_0x12df4c(0x1f3)][_0x12df4c(0x194)],null)?process[_0x12df4c(0x1b7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3f3ed9[_0x12df4c(0x1f3)][_0x12df4c(0x194)]:process[_0x12df4c(0x1b7)][_0x12df4c(0x1a6)]=_0x25d9ca[_0x12df4c(0x1b2)](_0x2bc7fa,_0x25d9ca[_0x12df4c(0x1b4)]);const _0x3b4279=_0x25d9ca[_0x12df4c(0x17e)](nestedKeyValue,_0x9b21c5,[_0x25d9ca[_0x12df4c(0x1bc)]]),_0x892e84=_0x25d9ca[_0x12df4c(0x1dd)](_0x25d9ca[_0x12df4c(0x170)],_0x3b4279&&!helper[_0x12df4c(0x165)](_0x3b4279)?_0x25d9ca[_0x12df4c(0x1d9)]:''),_0x3d1d44=await TestHubHandler[_0x12df4c(0x171)](_0x892e84,_0x3f3ed9);_0x489655&&_0x25d9ca[_0x12df4c(0x195)](setAccessibilityCapabilities,_0x3f3ed9[_0x12df4c(0x1f3)]);const _0x48c505={},_0x1d8b7b=[],_0x35eef0=_0x3f3ed9['config'][_0x12df4c(0x174)]||helper['getUserWorkerCount'](_0x17d887,_0x2d7fb2,_0x3f3ed9[_0x12df4c(0x1f3)],constants[_0x12df4c(0x17c)][_0x12df4c(0x1b3)])||0x1;let _0x3034d4=0x1;if(_0x25d9ca[_0x12df4c(0x1ca)](isBrowserstackInfra)){const _0x219de9=helper[_0x12df4c(0x19b)](_0x3f3ed9[_0x12df4c(0x1f3)],_0x1c5b74,constants[_0x12df4c(0x17c)]['CODECEPT']);_0x219de9['forEach'](_0x31b01f=>{const _0x5b3210=_0x12df4c;helper[_0x5b3210(0x197)](_0x31b01f);}),helper[_0x12df4c(0x1b6)](_0x3f3ed9[_0x12df4c(0x1f3)])?_0x3034d4=_0x25d9ca['jmSXW'](_0x35eef0,_0x3f3ed9['config'][_0x12df4c(0x163)][_0x12df4c(0x1f0)]):_0x3034d4=_0x35eef0,_0x219de9[_0x12df4c(0x1a1)](_0x24a522=>{const _0xbea3b4=_0x12df4c,_0x40a57d={'UexuH':function(_0x22b1be,_0x4564c5){const _0xbe666=a2_0x19b7;return _0x25d9ca[_0xbe666(0x199)](_0x22b1be,_0x4564c5);},'aNwLE':function(_0xb59f8,_0x28f9e6){const _0x4287a9=a2_0x19b7;return _0x25d9ca[_0x4287a9(0x1df)](_0xb59f8,_0x28f9e6);}},_0x182491=_0x25d9ca['bDHfs'](helper[_0xbea3b4(0x15b)](_0x24a522,'_'),'_'+Date[_0xbea3b4(0x1aa)]()),_0x1c2455=((()=>{const _0x237d73=_0xbea3b4;if(_0x3fb3af){const _0x41b42c=pwToCodeceptBrowser[_0x24a522[_0x237d73(0x18c)]]||_0x24a522[_0x237d73(0x18c)];return{'browser':_0x41b42c,[_0x41b42c]:{'browserWSEndpoint':_0x40a57d[_0x237d73(0x1c0)](helper[_0x237d73(0x1b5)](_0x3f3ed9[_0x237d73(0x1f3)]),_0x40a57d[_0x237d73(0x1d7)](encodeURIComponent,JSON[_0x237d73(0x186)](_0x24a522)))}};}const _0x1b7b24={};return _0x1b7b24[_0x237d73(0x17d)]=_0x24a522,_0x1b7b24;})()),_0x449d4f=_0x25d9ca[_0xbea3b4(0x1e0)](nestedKeyValue,_0x9b21c5,[_0x25d9ca[_0xbea3b4(0x176)],_0x2bc7fa]);_0x48c505[_0x182491]=_0x449d4f?helper[_0xbea3b4(0x1c8)](_0x1c2455,_0x449d4f):_0x1c2455,!_0x3fb3af&&(_0x48c505[_0x182491][_0xbea3b4(0x19e)]=_0x24a522['browserName']||_0x1c2455[_0xbea3b4(0x19e)]),_0x1d8b7b[_0xbea3b4(0x1a8)](_0x182491);});}else{_0x3034d4=0x1;if(_0x3fb3af){const _0x40649c=_0x25d9ca[_0x12df4c(0x177)](nestedKeyValue,_0x9b21c5,[_0x25d9ca[_0x12df4c(0x176)],_0x2bc7fa,_0x25d9ca['dlhGJ']]),_0x6da9dd=_0x25d9ca[_0x12df4c(0x19f)](nestedKeyValue,_0x9b21c5,[_0x25d9ca[_0x12df4c(0x176)],_0x2bc7fa,_0x40649c]);_0x6da9dd&&_0x6da9dd[_0x12df4c(0x179)]&&(_0x6da9dd[_0x12df4c(0x179)]=helper['prepareCapabilities'](null,null,_0x892e84[_0x12df4c(0x1e8)](),null,null,_0x6da9dd['browserWSEndpoint']));}else _0x9b21c5[_0x25d9ca[_0x12df4c(0x176)]][_0x2bc7fa][_0x25d9ca[_0x12df4c(0x1d3)]]=helper[_0x12df4c(0x19b)](null,null,_0x892e84[_0x12df4c(0x1e8)](),_0x25d9ca[_0x12df4c(0x17e)](nestedKeyValue,_0x9b21c5,[_0x25d9ca[_0x12df4c(0x176)],_0x2bc7fa,_0x25d9ca[_0x12df4c(0x1d3)]]),null,null);_0x48c505[_0x25d9ca[_0x12df4c(0x18a)]]=_0x9b21c5,_0x1d8b7b[_0x12df4c(0x1a8)](_0x25d9ca[_0x12df4c(0x18a)]);}const _0x55d447={};_0x55d447[_0x12df4c(0x185)]=_0x3f93e6;const _0x3e6fc9=_0x55d447,_0x5cd456=path[_0x12df4c(0x16f)](__dirname,_0x25d9ca[_0x12df4c(0x183)]),_0x55cc45=process['cwd']();process[_0x12df4c(0x1b7)][_0x25d9ca[_0x12df4c(0x1c7)]]=_0x55cc45,process[_0x12df4c(0x1db)](path['dirname'](_0x3f93e6));const _0x4608bb=new CodeceptJS[(_0x12df4c(0x1ab))](null,_0x3e6fc9),_0x1ef145=_0x4608bb[_0x12df4c(0x1c4)](_0x3034d4),_0x1b1a1b=testOpsHelper[_0x12df4c(0x1ae)](),_0x54b072=_0x1d8b7b[_0x12df4c(0x16a)](_0x53d35c=>{const _0x1b66d5=_0x12df4c,_0x1014e8={};_0x1014e8[_0x1b66d5(0x1e9)]=_0x48c505[_0x53d35c];const _0x3af082={};_0x3af082[_0x1b66d5(0x1d1)]=_0x48c505[_0x53d35c];const _0x59f0fa=_0x3fb3af?_0x1014e8:_0x3af082,_0x54cdc2=_0x25d9ca[_0x1b66d5(0x162)](getO11yRerunPattern),_0x57760f={};_0x57760f[_0x1b66d5(0x16e)]=_0x59f0fa;const _0x3a8a5d={};_0x3a8a5d[_0x1b66d5(0x1f2)]=_0x5cd456,_0x3a8a5d['enabled']=!![],_0x3a8a5d[_0x1b66d5(0x1af)]=_0x3f3ed9['config'][_0x1b66d5(0x169)][_0x1b66d5(0x1af)],_0x3a8a5d['skipSessionStatus']=_0x3f3ed9[_0x1b66d5(0x1f3)][_0x1b66d5(0x169)][_0x1b66d5(0x190)],_0x3a8a5d[_0x1b66d5(0x194)]=_0x1b1a1b,_0x3a8a5d[_0x1b66d5(0x158)]=_0x892e84;const _0x421ba1={};_0x421ba1[_0x1b66d5(0x1bf)]=_0x3a8a5d;const _0xcc575={};return _0xcc575[_0x1b66d5(0x188)]=_0x421ba1,helper[_0x1b66d5(0x1c8)]({},_0x9b21c5,_0x25d9ca[_0x1b66d5(0x1ca)](isBrowserstackInfra)?_0x57760f:{},_0x54cdc2?{'grep':_0x54cdc2}:{},_0xcc575);});for(const _0xac6bb9 of _0x54b072){for(const _0x21c3f5 of _0x1ef145){const _0x3b6e52=_0x4608bb[_0x12df4c(0x164)]();_0x3b6e52[_0x12df4c(0x15e)](_0x21c3f5),_0x3b6e52[_0x12df4c(0x1be)](_0xac6bb9);}}_0x4608bb['on'](CodeceptJS[_0x12df4c(0x1d2)][_0x12df4c(0x157)][_0x12df4c(0x1e5)],(_0x58745e,_0xcc2bdb)=>{const _0x1fc7bd=_0x12df4c;console[_0x1fc7bd(0x1ed)](_0x25d9ca[_0x1fc7bd(0x18e)],_0x58745e[_0x1fc7bd(0x1ac)]);const _0x4dfae9={[_0x58745e[_0x1fc7bd(0x1ac)]]:_0x58745e['err'][_0x1fc7bd(0x1cc)]};_testErrorData[_0x1fc7bd(0x1a8)](_0x4dfae9);}),_0x4608bb['on'](CodeceptJS[_0x12df4c(0x1d2)][_0x12df4c(0x157)][_0x12df4c(0x159)],async _0x56cc67=>{const _0x18840a=_0x12df4c;console['log'](_0x25d9ca['lNWWj'],_0x56cc67[_0x18840a(0x1ac)]);}),_0x4608bb['on'](CodeceptJS['event'][_0x12df4c(0x157)][_0x12df4c(0x161)],async _0x13ef21=>{const _0x467d64=_0x12df4c;console[_0x467d64(0x1ed)](_0x25d9ca['QRJXZ'],_0x13ef21['title']);}),_0x4608bb['on'](CodeceptJS[_0x12df4c(0x1d2)][_0x12df4c(0x16b)][_0x12df4c(0x167)],async()=>{const _0x5ef0d0=_0x12df4c,_0x89d49b=_0x25d9ca[_0x5ef0d0(0x1b9)][_0x5ef0d0(0x173)]('|');let _0x195a3e=0x0;while(!![]){switch(_0x89d49b[_0x195a3e++]){case'0':_0x4608bb[_0x5ef0d0(0x19c)]();continue;case'1':try{await TestHubHandler[_0x5ef0d0(0x160)]();}catch(_0x12d71b){logger[_0x5ef0d0(0x1c9)](_0x5ef0d0(0x181)+util[_0x5ef0d0(0x1de)](_0x12d71b));}continue;case'2':testOpsHelper[_0x5ef0d0(0x172)]();continue;case'3':_0x3f3ed9[_0x5ef0d0(0x1cf)]=_testErrorData;continue;case'4':utilities[_0x5ef0d0(0x1d8)](_0x3f3ed9);continue;case'5':PerformanceTester[_0x5ef0d0(0x1a5)](PerformanceEvents[_0x5ef0d0(0x1dc)]);continue;}break;}});async function _0x5a7a01(){const _0x3a742a=_0x12df4c;try{await _0x4608bb[_0x3a742a(0x1e6)](),await _0x4608bb[_0x3a742a(0x1cb)]();}finally{process[_0x3a742a(0x1db)](_0x55cc45),await _0x4608bb[_0x3a742a(0x184)]();}}PerformanceTester[_0x12df4c(0x168)](PerformanceEvents['SDK_SETUP']),_0x25d9ca[_0x12df4c(0x15d)](_0x5a7a01);}function a2_0x19b7(_0x46285e,_0xe1052e){const _0x322cba=a2_0x322c();return a2_0x19b7=function(_0x19b7a4,_0x157108){_0x19b7a4=_0x19b7a4-0x157;let _0x6bf42=_0x322cba[_0x19b7a4];return _0x6bf42;},a2_0x19b7(_0x46285e,_0xe1052e);}module[a2_0x790df1(0x1c6)]=run;
|
|
2
|
+
'use strict';const a2_0x498333=a2_0x53d0;function a2_0x3963(){const _0x202a0e=['codeceptjs','Workers','../../helpers/helper','dirname','profile','playwright-chromium','browserName','end','chromium','../../helpers/test-observability/utils','44653ZEPgiU','finalExecution','njPXM','BROWSERSTACK_TEST_OBSERVABILITY_YML','NutXv','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','testContextOptions','spawn','now','bYdjU','zBcqM','codecept.conf.js','bVbCM','ZXsON','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','2eaPRQV','qnRVV','../utils/constants','isEmpty','BrowserStackPlugin','stringify','toLowerCase','chrome','1326FhPbPm','518059fJUjPy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-webkit','launchBuild','USER_CONFIG_DETAILS_PATH','9139790USZNWR','TZzSE','2542833NFYUvC','BrowserStackPlugin.js','handleApp','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','552280QQOjhp','exports','DBRcp','title','zMxDu','tBhFi','platforms','SDK_SETUP','err','codecept.json','codeceptjs/lib/index.js','rkBaU','CODECEPT','XQjzz','enabled','UMvET','existsSync','cwd','LVaRA','map','load','gUvUs','playwright-firefox','rKXCV','browser','FRAMEWORKS','test','printResults','mergeDeep','env','run','config','testConfig','JxUyD','OSUmN','join','dgTVw','debug','BROWSERSTACK_RERUN','accessibility','addTests','../../helpers/testhub/testhubHandler','isUndefined','../../helpers/logger','10eclRjx','all','before','Started\x20:\x20','format','kduMg','isTrue','chdir','rZFwF','failed','trim','SDK_CLEANUP','helpers','findIndex','process','stack','-cucumber','../../helpers/performance/performance-tester','stop','WebDriver','winstonLogger','addConfig','mWlyK','browserWSEndpoint','validPlatformsPresent','Kiqci','850408CIlFdt','YiVKr','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','skipSessionName','2|3|4|0|5|1','gherkin','../../helpers/accessibility-automation/helper','forEach','LgbCj','desiredCapabilities','length','printBuildLink','slice','addOptions','frameworkName','3918366EFGxwo','setAdditionalCapabilities','info','log','prepareCapabilities','accessibilityOptions','SENNI','validateRerunTestList','rCMqz','path','HuWtl','push','event','../../bin/playwright/accessibility-helper','elycK','Playwright','rsWGn','testObservability','--config','../../helpers/utilities','Failed\x20:\x20','passed'];a2_0x3963=function(){return _0x202a0e;};return a2_0x3963();}(function(_0x576c2d,_0x7b701b){const _0x9ab6c5=a2_0x53d0,_0x15deed=_0x576c2d();while(!![]){try{const _0x5c80e4=parseInt(_0x9ab6c5(0x1e0))/0x1*(parseInt(_0x9ab6c5(0x1d7))/0x2)+-parseInt(_0x9ab6c5(0x1a7))/0x3+-parseInt(_0x9ab6c5(0x231))/0x4*(parseInt(_0x9ab6c5(0x217))/0x5)+parseInt(_0x9ab6c5(0x1df))/0x6*(parseInt(_0x9ab6c5(0x1c7))/0x7)+parseInt(_0x9ab6c5(0x1eb))/0x8+-parseInt(_0x9ab6c5(0x1e7))/0x9+parseInt(_0x9ab6c5(0x1e5))/0xa;if(_0x5c80e4===_0x7b701b)break;else _0x15deed['push'](_0x15deed['shift']());}catch(_0x65a9e){_0x15deed['push'](_0x15deed['shift']());}}}(a2_0x3963,0xdafc9));const fs=require('fs'),path=require(a2_0x498333(0x1b0)),util=require('util'),process=require(a2_0x498333(0x225)),logger=require(a2_0x498333(0x216))[a2_0x498333(0x22b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x498333(0x1ba)),{checkAccessibilityPlatformConfig}=require(a2_0x498333(0x238)),{setAccessibilityCapabilities}=require(a2_0x498333(0x1b4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x498333(0x1bf)),CodeceptJS=requireModule(a2_0x498333(0x1f5),a2_0x498333(0x1bd)),testOpsHelper=require(a2_0x498333(0x1c6)),TestHubHandler=require(a2_0x498333(0x214)),constants=require(a2_0x498333(0x1d9)),PerformanceTester=require(a2_0x498333(0x228)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x498333(0x1d5)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x8b8a8d,_0x52d224)=>{const _0x1351f7=a2_0x498333,_0x4924d7={};_0x4924d7[_0x1351f7(0x1d1)]=function(_0x3ad558,_0x6c665f){return _0x3ad558===_0x6c665f;},_0x4924d7[_0x1351f7(0x1b5)]=_0x1351f7(0x1d2),_0x4924d7['njPXM']=_0x1351f7(0x1f4);const _0x201d18=_0x4924d7;let _0x2ae819=null;const _0x15888b={};let _0x58de6c=_0x52d224[_0x1351f7(0x224)](_0x31839c=>_0x31839c===_0x1351f7(0x1b9));_0x201d18[_0x1351f7(0x1d1)](_0x58de6c,-0x1)&&(_0x58de6c=_0x52d224[_0x1351f7(0x224)](_0x15e190=>_0x15e190==='-c'));if(!helper[_0x1351f7(0x215)](_0x8b8a8d[_0x1351f7(0x20a)])&&fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d[_0x1351f7(0x20a)])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d[_0x1351f7(0x20a)]),_0x52d224[_0x1351f7(0x1a4)](_0x58de6c,0x2);else{if(!helper[_0x1351f7(0x215)](_0x8b8a8d['c'])&&fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process['cwd'](),_0x8b8a8d['c'])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d['c']),_0x52d224[_0x1351f7(0x1a4)](_0x58de6c,0x2);else{if(fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process['cwd'](),_0x201d18[_0x1351f7(0x1b5)])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x201d18['elycK']);else fs['existsSync'](path['join'](process[_0x1351f7(0x1fc)](),_0x201d18['njPXM']))&&(_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x201d18[_0x1351f7(0x1c9)]));}}return process[_0x1351f7(0x208)][_0x1351f7(0x1e4)]=_0x2ae819,_0x2ae819;},getO11yRerunPattern=()=>{const _0xd0293f=a2_0x498333,_0x1acf84=helper[_0xd0293f(0x21d)](process[_0xd0293f(0x208)][_0xd0293f(0x211)]);if(_0x1acf84){const _0x46b9f9=process[_0xd0293f(0x208)][_0xd0293f(0x233)],_0xc0aed9=[];if(helper[_0xd0293f(0x1ae)](_0x46b9f9)&&!helper[_0xd0293f(0x215)](_0x46b9f9)){_0x46b9f9['split'](',')[_0xd0293f(0x1fe)](_0x319f96=>{const _0x450cb8=_0xd0293f;_0xc0aed9[_0x450cb8(0x1b2)]('('+_0x319f96[_0x450cb8(0x221)]()+')');});const _0x548170='^'+_0xc0aed9[_0xd0293f(0x20e)]('|')+'$';return _0x548170;}}return null;},a2_0x76f37b={};a2_0x76f37b[a2_0x498333(0x1de)]='chromium',a2_0x76f37b[a2_0x498333(0x1c2)]=a2_0x498333(0x1c5),a2_0x76f37b[a2_0x498333(0x201)]='firefox',a2_0x76f37b[a2_0x498333(0x1e2)]='webkit';function a2_0x53d0(_0x379cea,_0x160b05){const _0x39632e=a2_0x3963();return a2_0x53d0=function(_0x53d0d3,_0x385040){_0x53d0d3=_0x53d0d3-0x19f;let _0xa308e5=_0x39632e[_0x53d0d3];return _0xa308e5;},a2_0x53d0(_0x379cea,_0x160b05);}const pwToCodeceptBrowser=a2_0x76f37b;async function run(_0x58429f,_0x294a2b){const _0x3d2d02=a2_0x498333,_0x4f0465={'ZXsON':function(_0x4a1628,_0x3fb73a){return _0x4a1628+_0x3fb73a;},'OSUmN':function(_0xe3842a,_0x469b08){return _0xe3842a(_0x469b08);},'gUvUs':function(_0x59c4cf,_0x28d869,_0x12266d){return _0x59c4cf(_0x28d869,_0x12266d);},'UMvET':'helpers','TZzSE':function(_0x1635be){return _0x1635be();},'JxUyD':function(_0x319bb5){return _0x319bb5();},'hcQdO':_0x3d2d02(0x1bb),'SENNI':'Passed\x20:\x20','rZFwF':_0x3d2d02(0x21a),'NutXv':_0x3d2d02(0x236),'dgTVw':_0x3d2d02(0x1bd),'rCMqz':function(_0x5214e3,_0x107a0a,_0xea5f8f){return _0x5214e3(_0x107a0a,_0xea5f8f);},'bVbCM':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mWlyK':'Playwright','rkBaU':_0x3d2d02(0x22a),'rsWGn':function(_0x2be6cf,_0x467e86){return _0x2be6cf(_0x467e86);},'EivCL':function(_0x2c06c4,_0x265876){return _0x2c06c4!=_0x265876;},'HuWtl':function(_0x1d4056,_0x47984e){return _0x1d4056===_0x47984e;},'bYdjU':_0x3d2d02(0x237),'XQjzz':function(_0x408432,_0xde50c0){return _0x408432+_0xde50c0;},'tBhFi':_0x3d2d02(0x227),'rKXCV':function(_0x566f92,_0x5e92d6){return _0x566f92*_0x5e92d6;},'zMxDu':_0x3d2d02(0x203),'KthUA':function(_0x924ff4,_0x2098fc,_0x36a0f0){return _0x924ff4(_0x2098fc,_0x36a0f0);},'kduMg':_0x3d2d02(0x1a1),'qnRVV':function(_0x515424,_0x1fe9b8,_0x474ce2){return _0x515424(_0x1fe9b8,_0x474ce2);},'LVaRA':'root','YiVKr':_0x3d2d02(0x1e8),'DBRcp':'browserStackCwd','Kiqci':function(_0x310e48){return _0x310e48();}},_0x443c56=new BrowserStackSetup(_0x58429f,_0x4f0465[_0x3d2d02(0x20f)]);await _0x443c56['initialize'](),await helper[_0x3d2d02(0x1e9)](_0x443c56[_0x3d2d02(0x20a)]);if(!_0x443c56[_0x3d2d02(0x20a)])return;process[_0x3d2d02(0x1c1)]=_0x58429f[_0x3d2d02(0x1c1)];_0x58429f[_0x3d2d02(0x1c1)]&&(process[_0x3d2d02(0x208)][_0x3d2d02(0x1c1)]=_0x58429f['profile']);const _0x31977e=_0x4f0465[_0x3d2d02(0x1af)](getUserCodeceptJSConfigs,_0x58429f,_0x294a2b);let _0x34f0e8={};_0x31977e?(logger[_0x3d2d02(0x1a9)](_0x3d2d02(0x1cc)+_0x31977e),_0x34f0e8=CodeceptJS[_0x3d2d02(0x20a)][_0x3d2d02(0x1ff)](_0x31977e)):logger[_0x3d2d02(0x1a9)](_0x4f0465[_0x3d2d02(0x1d3)]);let _0x229e2b=![];_0x4f0465[_0x3d2d02(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465['UMvET'],_0x4f0465['mWlyK']])&&(_0x229e2b=!![]);const _0x437aa3=_0x229e2b?_0x4f0465[_0x3d2d02(0x22d)]:_0x4f0465[_0x3d2d02(0x1f6)];let _0x4e41e6=!_0x229e2b?helper['useW3C'](_0x443c56[_0x3d2d02(0x20a)]):![];!helper[_0x3d2d02(0x215)](_0x443c56[_0x3d2d02(0x20a)]['accessibilityOptions'])&&(process['env'][_0x3d2d02(0x1e1)]=JSON['stringify'](_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x1ac)]));let _0x320961=_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x212)];_0x320961=_0x320961||_0x4f0465[_0x3d2d02(0x1b7)](checkAccessibilityPlatformConfig,_0x443c56[_0x3d2d02(0x20a)]),process[_0x3d2d02(0x208)][_0x3d2d02(0x1d6)]=_0x320961;_0x320961&&(_0x4e41e6=!_0x320961);_0x4f0465['EivCL'](_0x443c56['config']['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x1b8)]:process[_0x3d2d02(0x208)][_0x3d2d02(0x1ca)]=_0x4f0465[_0x3d2d02(0x1b1)](_0x437aa3,_0x4f0465[_0x3d2d02(0x22d)]);const _0x373209=_0x4f0465[_0x3d2d02(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1d0)]]),_0x268548=_0x4f0465[_0x3d2d02(0x1f8)](_0x4f0465[_0x3d2d02(0x20f)],_0x373209&&!helper[_0x3d2d02(0x1da)](_0x373209)?_0x4f0465[_0x3d2d02(0x1f0)]:''),_0x10f9f6=await TestHubHandler[_0x3d2d02(0x1e3)](_0x268548,_0x443c56);_0x320961&&_0x4f0465[_0x3d2d02(0x1b7)](setAccessibilityCapabilities,_0x443c56[_0x3d2d02(0x20a)]);const _0x574528={},_0x36d0f9=[],_0x9960c8=_0x443c56['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x58429f,_0x294a2b,_0x443c56['config'],constants[_0x3d2d02(0x204)][_0x3d2d02(0x1f7)])||0x1;let _0x32f854=0x1;if(_0x4f0465[_0x3d2d02(0x1e6)](isBrowserstackInfra)){const _0x346f43=helper[_0x3d2d02(0x1ab)](_0x443c56[_0x3d2d02(0x20a)],_0x4e41e6,constants[_0x3d2d02(0x204)]['CODECEPT']);_0x346f43['forEach'](_0x57fb7d=>{const _0x2ce2c1=_0x3d2d02;helper[_0x2ce2c1(0x1a8)](_0x57fb7d);}),helper[_0x3d2d02(0x22f)](_0x443c56['config'])?_0x32f854=_0x4f0465[_0x3d2d02(0x202)](_0x9960c8,_0x443c56['config'][_0x3d2d02(0x1f1)][_0x3d2d02(0x1a2)]):_0x32f854=_0x9960c8,_0x346f43[_0x3d2d02(0x19f)](_0x1f5304=>{const _0x1cb4dd=_0x3d2d02,_0x4c4dc5={'LgbCj':function(_0x25cfaf,_0x4e4213){const _0x9fb360=a2_0x53d0;return _0x4f0465[_0x9fb360(0x1d4)](_0x25cfaf,_0x4e4213);},'zriWM':function(_0x319cab,_0x2d7800){const _0x30da1f=a2_0x53d0;return _0x4f0465[_0x30da1f(0x20d)](_0x319cab,_0x2d7800);}},_0x176f4b=_0x4f0465[_0x1cb4dd(0x1d4)](helper['getPlatformName'](_0x1f5304,'_'),'_'+Date[_0x1cb4dd(0x1cf)]()),_0x5ca189=((()=>{const _0x5d0a1a=_0x1cb4dd;if(_0x229e2b){const _0xcac9ed=pwToCodeceptBrowser[_0x1f5304[_0x5d0a1a(0x1c3)]]||_0x1f5304[_0x5d0a1a(0x1c3)];return{'browser':_0xcac9ed,[_0xcac9ed]:{'browserWSEndpoint':_0x4c4dc5[_0x5d0a1a(0x1a0)](helper['getPlaywrightUrl'](_0x443c56[_0x5d0a1a(0x20a)]),_0x4c4dc5['zriWM'](encodeURIComponent,JSON[_0x5d0a1a(0x1dc)](_0x1f5304)))}};}const _0x2c42f5={};return _0x2c42f5[_0x5d0a1a(0x1a1)]=_0x1f5304,_0x2c42f5;})()),_0x3aeb92=_0x4f0465[_0x1cb4dd(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x1cb4dd(0x1fa)],_0x437aa3]);_0x574528[_0x176f4b]=_0x3aeb92?helper['mergeDeep'](_0x5ca189,_0x3aeb92):_0x5ca189,!_0x229e2b&&(_0x574528[_0x176f4b][_0x1cb4dd(0x203)]=_0x1f5304[_0x1cb4dd(0x1c3)]||_0x5ca189[_0x1cb4dd(0x203)]),_0x36d0f9[_0x1cb4dd(0x1b2)](_0x176f4b);});}else{_0x32f854=0x1;if(_0x229e2b){const _0x2d3989=_0x4f0465[_0x3d2d02(0x1af)](nestedKeyValue,_0x34f0e8,[_0x4f0465['UMvET'],_0x437aa3,_0x4f0465[_0x3d2d02(0x1ef)]]),_0x3ea3c5=_0x4f0465['KthUA'](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1fa)],_0x437aa3,_0x2d3989]);_0x3ea3c5&&_0x3ea3c5[_0x3d2d02(0x22e)]&&(_0x3ea3c5[_0x3d2d02(0x22e)]=helper[_0x3d2d02(0x1ab)](null,null,_0x268548[_0x3d2d02(0x1dd)](),null,null,_0x3ea3c5[_0x3d2d02(0x22e)]));}else _0x34f0e8[_0x4f0465[_0x3d2d02(0x1fa)]][_0x437aa3][_0x4f0465[_0x3d2d02(0x21c)]]=helper['prepareCapabilities'](null,null,_0x268548[_0x3d2d02(0x1dd)](),_0x4f0465[_0x3d2d02(0x1d8)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1fa)],_0x437aa3,_0x4f0465['kduMg']]),null,null);_0x574528[_0x4f0465[_0x3d2d02(0x1fd)]]=_0x34f0e8,_0x36d0f9['push'](_0x4f0465[_0x3d2d02(0x1fd)]);}const _0x2f8b71={};_0x2f8b71[_0x3d2d02(0x20b)]=_0x31977e;const _0x3e7a91=_0x2f8b71,_0x50e67b=path['join'](__dirname,_0x4f0465[_0x3d2d02(0x232)]),_0x35f4ba=process[_0x3d2d02(0x1fc)]();process['env'][_0x4f0465[_0x3d2d02(0x1ed)]]=_0x35f4ba,process['chdir'](path[_0x3d2d02(0x1c0)](_0x31977e));const _0x3cd935=new CodeceptJS[(_0x3d2d02(0x1be))](null,_0x3e7a91),_0x124c67=_0x3cd935['createGroupsOfSuites'](_0x32f854),_0x44dc02=testOpsHelper[_0x3d2d02(0x234)](),_0x1c7571=_0x36d0f9[_0x3d2d02(0x1fe)](_0x229098=>{const _0x3368f7=_0x3d2d02,_0xf986c8={};_0xf986c8[_0x3368f7(0x1b6)]=_0x574528[_0x229098];const _0x45eabf={};_0x45eabf['WebDriver']=_0x574528[_0x229098];const _0x111945=_0x229e2b?_0xf986c8:_0x45eabf,_0x4ef26e=_0x4f0465['TZzSE'](getO11yRerunPattern),_0x250253={};_0x250253[_0x3368f7(0x223)]=_0x111945;const _0xae216b={};_0xae216b['require']=_0x50e67b,_0xae216b[_0x3368f7(0x1f9)]=!![],_0xae216b[_0x3368f7(0x235)]=_0x443c56[_0x3368f7(0x20a)][_0x3368f7(0x1cd)][_0x3368f7(0x235)],_0xae216b['skipSessionStatus']=_0x443c56[_0x3368f7(0x20a)]['testContextOptions']['skipSessionStatus'],_0xae216b[_0x3368f7(0x1b8)]=_0x44dc02,_0xae216b[_0x3368f7(0x1a6)]=_0x268548;const _0x287f4e={};_0x287f4e[_0x3368f7(0x1db)]=_0xae216b;const _0x3c17a9={};return _0x3c17a9['plugins']=_0x287f4e,helper[_0x3368f7(0x207)]({},_0x34f0e8,_0x4f0465[_0x3368f7(0x20c)](isBrowserstackInfra)?_0x250253:{},_0x4ef26e?{'grep':_0x4ef26e}:{},_0x3c17a9);});for(const _0x476c5b of _0x1c7571){for(const _0x53d4b9 of _0x124c67){const _0x2c9a72=_0x3cd935[_0x3d2d02(0x1ce)]();_0x2c9a72[_0x3d2d02(0x213)](_0x53d4b9),_0x2c9a72[_0x3d2d02(0x22c)](_0x476c5b);const _0x5bb739={};_0x5bb739['config']=_0x31977e,_0x2c9a72[_0x3d2d02(0x1a5)](_0x5bb739);}}_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)][_0x3d2d02(0x205)][_0x3d2d02(0x220)],(_0x36d5ed,_0x28135a)=>{const _0x1d5797=_0x3d2d02;console[_0x1d5797(0x1aa)](_0x4f0465['hcQdO'],_0x36d5ed['title']);const _0x18415f={[_0x36d5ed[_0x1d5797(0x1ee)]]:_0x36d5ed[_0x1d5797(0x1f3)][_0x1d5797(0x226)]};_testErrorData[_0x1d5797(0x1b2)](_0x18415f);}),_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)][_0x3d2d02(0x205)][_0x3d2d02(0x1bc)],async _0xc2af65=>{const _0x3e00ea=_0x3d2d02;console[_0x3e00ea(0x1aa)](_0x4f0465[_0x3e00ea(0x1ad)],_0xc2af65[_0x3e00ea(0x1ee)]);}),_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)]['test'][_0x3d2d02(0x219)],async _0x3ffac9=>{const _0x1807bc=_0x3d2d02;console['log'](_0x4f0465[_0x1807bc(0x21f)],_0x3ffac9['title']);}),_0x3cd935['on'](CodeceptJS['event'][_0x3d2d02(0x218)]['result'],async()=>{const _0xb45ee=_0x3d2d02,_0x142f5e=_0x4f0465[_0xb45ee(0x1cb)]['split']('|');let _0x307f39=0x0;while(!![]){switch(_0x142f5e[_0x307f39++]){case'0':utilities[_0xb45ee(0x1c8)](_0x443c56);continue;case'1':_0x3cd935[_0xb45ee(0x206)]();continue;case'2':PerformanceTester['start'](PerformanceEvents[_0xb45ee(0x222)]);continue;case'3':_0x443c56['errorMessage']=_testErrorData;continue;case'4':testOpsHelper[_0xb45ee(0x1a3)]();continue;case'5':try{await TestHubHandler[_0xb45ee(0x229)]();}catch(_0x5bd6dc){logger[_0xb45ee(0x210)](_0xb45ee(0x1ea)+util[_0xb45ee(0x21b)](_0x5bd6dc));}continue;}break;}});async function _0x5a39f8(){const _0x1a2d42=_0x3d2d02;try{await _0x3cd935['bootstrapAll'](),await _0x3cd935[_0x1a2d42(0x209)]();}finally{process[_0x1a2d42(0x21e)](_0x35f4ba),await _0x3cd935['teardownAll']();}}PerformanceTester[_0x3d2d02(0x1c4)](PerformanceEvents[_0x3d2d02(0x1f2)]),_0x4f0465[_0x3d2d02(0x230)](_0x5a39f8);}module[a2_0x498333(0x1ec)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x211502=a3_0x2635;(function(_0x12cbcc,_0x1ca841){const _0x10b6d3=a3_0x2635,_0xef3e7a=_0x12cbcc();while(!![]){try{const _0x4ad07c=parseInt(_0x10b6d3(0x13d))/0x1+-parseInt(_0x10b6d3(0x129))/0x2+-parseInt(_0x10b6d3(0x12c))/0x3+-parseInt(_0x10b6d3(0x164))/0x4+-parseInt(_0x10b6d3(0x135))/0x5*(-parseInt(_0x10b6d3(0x140))/0x6)+parseInt(_0x10b6d3(0x152))/0x7*(-parseInt(_0x10b6d3(0x12d))/0x8)+parseInt(_0x10b6d3(0x127))/0x9;if(_0x4ad07c===_0x1ca841)break;else _0xef3e7a['push'](_0xef3e7a['shift']());}catch(_0x4efa19){_0xef3e7a['push'](_0xef3e7a['shift']());}}}(a3_0x189e,0x3239c));const {isUndefined,nestedKeyValue}=require(a3_0x211502(0x136)),logger=require(a3_0x211502(0x12f))[a3_0x211502(0x14a)],PlaywrightSessionDetails=require(a3_0x211502(0x15f)),{isAccessibilityAutomationSession}=require(a3_0x211502(0x12b)),{getObservabilityLinkedProductName}=require(a3_0x211502(0x128)),getOSVersionFromCaps=_0x480782=>{const _0x4841c6=a3_0x211502,_0x22f7cb={};_0x22f7cb[_0x4841c6(0x14d)]=_0x4841c6(0x15d),_0x22f7cb[_0x4841c6(0x130)]=_0x4841c6(0x13a),_0x22f7cb[_0x4841c6(0x12a)]=_0x4841c6(0x142),_0x22f7cb[_0x4841c6(0x137)]=_0x4841c6(0x16a),_0x22f7cb[_0x4841c6(0x123)]=_0x4841c6(0x125);const _0x41881c=_0x22f7cb;if(!_0x480782)return null;const _0x56cfc2=_0x480782[_0x41881c['gcooV']],_0x5f3d12=[_0x41881c[_0x4841c6(0x130)],_0x41881c[_0x4841c6(0x12a)],_0x41881c[_0x4841c6(0x137)],_0x41881c['XSLgo']];for(const _0x50ae39 of _0x5f3d12){if(_0x56cfc2&&_0x56cfc2[_0x50ae39])return _0x56cfc2[_0x50ae39];else{if(_0x480782[_0x50ae39])return _0x480782[_0x50ae39];}}return null;};function a3_0x2635(_0x49732f,_0x279ab0){const _0x189ecb=a3_0x189e();return a3_0x2635=function(_0x26358e,_0x517587){_0x26358e=_0x26358e-0x120;let _0x127fc6=_0x189ecb[_0x26358e];return _0x127fc6;},a3_0x2635(_0x49732f,_0x279ab0);}function a3_0x189e(){const _0x49b7db=['winstonLogger','platformName','PXtIn','gcooV','RyXOj','constructor','latest','DsdJu','854Wrlgzb','accessibilityPlatform','irdIR','TpJJI','includes','browserWSEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browser','HTenl','oRlSb','platform','bstack:options','name','../../bin/playwright/sessionDetails','browserstack_executor','parse','VJVkV','processWebDriverConfig','1050320pqusPZ','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','OgtLQ','SsLnD','xyJiB','osVersion','eelDG','browserstack_accessibility_automation_script','browserVersion','XSLgo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','os_version','playwright-chromium','8928603gMPTmg','../../helpers/test-observability/utils','764544tKFezc','xnpkz','../../helpers/accessibility-automation/helper','1040757ENrzfm','20816tfcdJl','deviceName','../../helpers/logger','qYAOA','config','WebDriver','cWnBP','desiredCapabilities','174025juZtIy','../../helpers/helper','gtRCu','tUymD','cxXys','platformVersion','lLHwv','VckBV','383652MfONxG','lMoVc','browser_version','24ngbMoe','capabilities','platform_version','__cloud_provider___','iUWeb','browserName','fetchPlatformDetails','cloudProvider','warn','PUsPW'];a3_0x189e=function(){return _0x49b7db;};return a3_0x189e();}exports[a3_0x211502(0x146)]=_0x16927c=>{const _0x4303e0=a3_0x211502,_0x5a8010={'OgtLQ':'unknown_grid','VvFUW':function(_0x2c06cb,_0x507c0b){return _0x2c06cb===_0x507c0b;},'yoXUs':_0x4303e0(0x132),'iUWeb':function(_0x4cf694,_0x37f7d1){return _0x4cf694(_0x37f7d1);},'RyXOj':function(_0x278e01,_0x576c1d,_0x1065ad){return _0x278e01(_0x576c1d,_0x1065ad);},'oRlSb':_0x4303e0(0x131),'VJVkV':_0x4303e0(0x134),'SsLnD':function(_0x1c4455,_0x37715e){return _0x1c4455===_0x37715e;},'HTenl':'Playwright','lMoVc':_0x4303e0(0x159),'VckBV':_0x4303e0(0x157),'qyogC':_0x4303e0(0x165)};if(!_0x16927c)return null;let _0x4fb111=global[_0x4303e0(0x143)]||_0x5a8010[_0x4303e0(0x167)];if(_0x5a8010['VvFUW'](_0x16927c[_0x4303e0(0x14f)][_0x4303e0(0x15e)],_0x5a8010['yoXUs'])){const _0xf7c246=_0x16927c[_0x4303e0(0x159)];if(!_0xf7c246)return null;const _0x1f4545=_0xf7c246[_0x4303e0(0x141)],_0x42fba4=_0x5a8010['iUWeb'](getOSVersionFromCaps,_0x5a8010[_0x4303e0(0x14e)](nestedKeyValue,_0x16927c,[_0x5a8010['oRlSb'],_0x5a8010[_0x4303e0(0x162)]]));return{[_0x4fb111]:{'browser':_0x1f4545[_0x4303e0(0x145)],'browser_version':_0x1f4545[_0x4303e0(0x122)],'capabilities':_0x1f4545,'platform':_0x1f4545[_0x4303e0(0x14b)],'platform_version':_0x1f4545[_0x4303e0(0x13a)]||_0x42fba4,'product':_0x5a8010[_0x4303e0(0x144)](getObservabilityLinkedProductName,_0x1f4545),'session_id':_0xf7c246['sessionId']}};}else{if(_0x5a8010[_0x4303e0(0x168)](_0x16927c['constructor'][_0x4303e0(0x15e)],_0x5a8010[_0x4303e0(0x15a)])){const _0x5d7377=PlaywrightSessionDetails['getDetails']();_0x4fb111=_0x5d7377[_0x4303e0(0x147)]||_0x4fb111;const _0x669f82=_0x5a8010[_0x4303e0(0x14e)](nestedKeyValue,_0x16927c,[_0x5a8010[_0x4303e0(0x15b)],_0x5a8010[_0x4303e0(0x13e)],_0x5a8010[_0x4303e0(0x13c)]]),_0x332936=_0x669f82?JSON[_0x4303e0(0x161)](new URL(_0x669f82)['searchParams']['get'](_0x5a8010['qyogC'])):{};return{[_0x4fb111]:{'browser':_0x5d7377[_0x4303e0(0x159)]||_0x332936[_0x4303e0(0x145)],'browser_version':_0x5d7377[_0x4303e0(0x13f)]||_0x332936[_0x4303e0(0x13f)],'capabilities':_0x332936,'platform':_0x5d7377[_0x4303e0(0x15c)],'platform_version':_0x5d7377[_0x4303e0(0x142)],'product':_0x5a8010[_0x4303e0(0x144)](getObservabilityLinkedProductName,_0x332936),'session_id':_0x5d7377['bsSessionId']}};}}},exports[a3_0x211502(0x163)]=_0x28cab6=>{const _0x2e1d99=a3_0x211502,_0x16497c={'cxXys':function(_0x42a81c){return _0x42a81c();},'eelDG':function(_0x2a7c65,_0x490fc8){return _0x2a7c65===_0x490fc8;},'FMMTt':_0x2e1d99(0x150),'lLHwv':function(_0x57cbd3,_0x55cbd3){return _0x57cbd3>_0x55cbd3;},'MsQdc':function(_0x4dc787,_0x2a6704){return _0x4dc787(_0x2a6704);},'HFAxO':_0x2e1d99(0x166),'TpJJI':function(_0xe4ea03,_0x224ea7){return _0xe4ea03===_0x224ea7;},'cWnBP':'chrome','PUsPW':function(_0x77972e,_0x1d040f){return _0x77972e===_0x1d040f;},'tUymD':_0x2e1d99(0x126),'irdIR':_0x2e1d99(0x124),'DsdJu':_0x2e1d99(0x158)};if(_0x16497c[_0x2e1d99(0x139)](isAccessibilityAutomationSession)){const _0x4ae4c8=_0x28cab6[_0x2e1d99(0x159)],_0x434d0f=_0x4ae4c8['capabilities'];global[_0x2e1d99(0x153)]=!![],!(_0x16497c[_0x2e1d99(0x120)](_0x434d0f[_0x2e1d99(0x122)],_0x16497c['FMMTt'])||_0x16497c[_0x2e1d99(0x13b)](_0x16497c['MsQdc'](parseInt,_0x434d0f['browserVersion']),0x5e))&&(logger[_0x2e1d99(0x148)](_0x16497c['HFAxO']),global['accessibilityPlatform']=![]),!(_0x16497c[_0x2e1d99(0x155)](_0x434d0f['browserName'],_0x16497c[_0x2e1d99(0x133)])||_0x16497c[_0x2e1d99(0x149)](_0x434d0f[_0x2e1d99(0x145)],_0x16497c[_0x2e1d99(0x138)]))&&(logger[_0x2e1d99(0x148)](_0x16497c[_0x2e1d99(0x154)]),global[_0x2e1d99(0x153)]=![]),!_0x16497c['MsQdc'](isUndefined,_0x434d0f[_0x2e1d99(0x12e)])&&(logger[_0x2e1d99(0x148)](_0x16497c[_0x2e1d99(0x151)]),global[_0x2e1d99(0x153)]=![]);}},exports['shouldPatchExecuteScript']=_0x4a929c=>{const _0x35a183=a3_0x211502,_0x1c3836={};_0x1c3836[_0x35a183(0x14c)]=_0x35a183(0x160),_0x1c3836[_0x35a183(0x169)]=_0x35a183(0x121);const _0x521b20=_0x1c3836;if(!_0x4a929c)return![];return!_0x4a929c[_0x35a183(0x156)](_0x521b20[_0x35a183(0x14c)])&&!_0x4a929c[_0x35a183(0x156)](_0x521b20[_0x35a183(0x169)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x25b6e9=a4_0x416d;(function(_0x44f860,_0x99a2af){const _0x3ce5d2=a4_0x416d,_0xd7820f=_0x44f860();while(!![]){try{const _0x2c8ab6=parseInt(_0x3ce5d2(0x20c))/0x1*(-parseInt(_0x3ce5d2(0x178))/0x2)+-parseInt(_0x3ce5d2(0x1d8))/0x3*(-parseInt(_0x3ce5d2(0x24d))/0x4)+-parseInt(_0x3ce5d2(0x1dd))/0x5+parseInt(_0x3ce5d2(0x1e6))/0x6*(parseInt(_0x3ce5d2(0x17d))/0x7)+parseInt(_0x3ce5d2(0x1f4))/0x8*(-parseInt(_0x3ce5d2(0x185))/0x9)+-parseInt(_0x3ce5d2(0x1e9))/0xa*(parseInt(_0x3ce5d2(0x191))/0xb)+parseInt(_0x3ce5d2(0x18d))/0xc;if(_0x2c8ab6===_0x99a2af)break;else _0xd7820f['push'](_0xd7820f['shift']());}catch(_0x55842a){_0xd7820f['push'](_0xd7820f['shift']());}}}(a4_0x205f,0x9c4a0));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x25b6e9(0x1ab)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x25b6e9(0x183)),testOpsHelper=require(a4_0x25b6e9(0x244)),{getTestEnv}=require(a4_0x25b6e9(0x1c6)),{FRAMEWORKS}=require(a4_0x25b6e9(0x250)),logger=require(a4_0x25b6e9(0x22e))[a4_0x25b6e9(0x212)],SessionHandler=require(a4_0x25b6e9(0x1f1)),RequestQueueHandler=require(a4_0x25b6e9(0x22b)),PlaywrightSessionDetails=require(a4_0x25b6e9(0x1bd)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x25b6e9(0x231)),Constants=require(a4_0x25b6e9(0x1e1)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x25b6e9(0x1d0)),STATE_PASSED='passed',STATE_FAILED=a4_0x25b6e9(0x1d1),a4_0x5440ff={};a4_0x5440ff[a4_0x25b6e9(0x186)]=a4_0x25b6e9(0x1ed),a4_0x5440ff['TEST_RUN_FINISHED']=a4_0x25b6e9(0x233),a4_0x5440ff[a4_0x25b6e9(0x181)]='TestRunSkipped',a4_0x5440ff[a4_0x25b6e9(0x209)]=a4_0x25b6e9(0x180),a4_0x5440ff[a4_0x25b6e9(0x188)]=a4_0x25b6e9(0x1ee);function a4_0x205f(){const _0x5eb4d3=['\x20with\x20error\x20:\x20','getHookType','PathHelper','mYqUf','logs','JmuRN','GpHJO','uuid','yqxoX','getHooksForTest','currentTest','iQPhq','ErLBp','failure_reason_expanded','yTPRv','duration','NhZGS','nJkvT','apply','toISOString','bbNym','pending','integrations','skEpY','removeAllListeners','../playwright/sessionDetails','test_run','util','join','stepAnalyticsId','currentHook','xcFFv','initializeBddStep','UwcZn','../mocha/test-observability/mochaUtils','KnMAO','jjWMn','status','bddSteps','file','Nsxyr','finished_at','ZuXkg','rYqIp','../../helpers/testhub/utils.js','failed','failure','includes','replace','Kjpfy','event_type','HesQd','190380yubiBX','comment','concat','CemhO','string','3274760gBgMkn','stop','markedStatus','JpOOP','../utils/constants','uploadEventData','prefixTestPath','_paths','body','5070822XIQviQ','_beforeAll','keyword','3172690MutNat','_testEnv','getCBTInfo','YmUbk','TestRunStarted','HookRunFinished','OiYjv','huQVM','../../helpers/test-observability/sessionHandler','accessibilityPlatform','wWRgV','80Cjvaze','MEagp','finished','fRCRL','4|5|2|0|3|1','toString','push','title','captureEvent','getRootParentFile','forEach','BrowserType','passed','failureData','err','OTits','driver','bind','connect','FBfCi','wsEndpoint','HOOK_RUN_STARTED','failure_backtrace','fXLCB','1113341SjUSOS','zVijx','config','ctx','errorsDetailed','hook','winstonLogger','pid','YSRRL','LogCreated','atYvG','statSync','.git','meta','connectOverCDP','hookAnalyticsId','RhQMX','TMjKq','defineProperty','success','enabled','HhsbK','_beforeEach','DvArU','SAOjm','message','fBBXS','File\x20path\x20could\x20not\x20be\x20found','IydKT','javascript','startedAt','../../helpers/test-observability/requestQueueHandler','Failed\x20to\x20parse\x20wsendpoint\x20','file_name','../../helpers/logger','stringify','setupBrowserDetails','../playwright/accessibility-helper','WPlbi','TestRunFinished','launch','debug','cwd','EuuBY','sanrf','result','test','failed\x20to\x20get\x20root\x20parent\x20file\x20','suites','qCRZg','_afterEach','mwUSJ','CBTSessionCreated','jabiW','__cloud_provider___','feature','../../helpers/test-observability/utils','bddStepStart','Gwwco','test_run_uuid','STATE_FAILED','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','browserType.js','resetSkipTestHooks','68jWiruS','talwp','bs:addLog:','../../helpers/test-observability/constants','started','codeceptjs','skipped','hook_run_uuid','ZvWoX','yNlcn','Xgvbe','name','browserstack','vZSrl','groups','getTime','constructor','oWUWq','mjUqr','mapTestHooks','_afterAll','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','sendCBTInfo','2pWwhSU','getHierarchy','bddStepFinish','findGitConfig','length','7xAxmiJ','bFOFT','Playwright','HookRunStarted','TEST_RUN_SKIPPED','then','../../helpers/helper','location_prefix','392202LWNKby','TEST_RUN_STARTED','backtrace','HOOK_RUN_FINISHED','split','JJqmQ','appendTestItemLog','text','14850540ZQJGgk','prototype','retryOf','toLowerCase','11bnroft','CODECEPT','getInstance','now','fullTitle','testAnalyticsId','__platformCaps','frameworkName','XVpMe','JicPM','QCjrK','match','TEST_RUN_FINISHED','NaQmc','uFPYX','parent','grvsl','inspect','expanded'];a4_0x205f=function(){return _0x5eb4d3;};return a4_0x205f();}const TEST_EVENTS=a4_0x5440ff,parseEvent=_0x494a9f=>{const _0xdbc14d=a4_0x25b6e9,_0x5eeb73={};_0x5eeb73[_0xdbc14d(0x25a)]=function(_0x1fb718,_0x30fb25){return _0x1fb718<_0x30fb25;},_0x5eeb73[_0xdbc14d(0x23f)]=function(_0x3de95a,_0x8d1769){return _0x3de95a===_0x8d1769;},_0x5eeb73['yqxoX']=_0xdbc14d(0x23a),_0x5eeb73[_0xdbc14d(0x1d7)]=function(_0x1e850c,_0x2f716d){return _0x1e850c===_0x2f716d;},_0x5eeb73['xMeno']=_0xdbc14d(0x211),_0x5eeb73['NaQmc']=function(_0x31dcb8,_0x48364d){return _0x31dcb8===_0x48364d;},_0x5eeb73[_0xdbc14d(0x203)]=_0xdbc14d(0x253),_0x5eeb73[_0xdbc14d(0x232)]=function(_0x1c6723,_0x5dfecd){return _0x1c6723===_0x5dfecd;},_0x5eeb73[_0xdbc14d(0x237)]='started',_0x5eeb73[_0xdbc14d(0x1c7)]=_0xdbc14d(0x1f6);const _0x47a38c=_0x5eeb73,_0x30865d=_0x494a9f['match'](/^(.*)Run(.*)$/);if(!_0x30865d)return null;if(_0x47a38c[_0xdbc14d(0x25a)](_0x30865d[_0xdbc14d(0x17c)],0x3))return null;const _0x37e4db=_0x30865d[0x1][_0xdbc14d(0x190)](),_0x4c2740=_0x30865d[0x2][_0xdbc14d(0x190)]();return{'test':_0x47a38c[_0xdbc14d(0x23f)](_0x37e4db,_0x47a38c[_0xdbc14d(0x1ac)]),'hook':_0x47a38c[_0xdbc14d(0x1d7)](_0x37e4db,_0x47a38c['xMeno']),'skipped':_0x47a38c[_0xdbc14d(0x19e)](_0x4c2740,_0x47a38c[_0xdbc14d(0x203)]),'started':_0x47a38c['WPlbi'](_0x4c2740,_0x47a38c[_0xdbc14d(0x237)]),'finished':_0x47a38c[_0xdbc14d(0x19e)](_0x4c2740,_0x47a38c['KnMAO'])};},mockPWBrowserType=_0x42421d=>{const _0x12efa3=a4_0x25b6e9,_0x5d80df={'DvArU':function(_0x33547e,_0x2db6d6,_0x59697f){return _0x33547e(_0x2db6d6,_0x59697f);},'NjfpW':_0x12efa3(0x208),'zVijx':function(_0x2ce489,_0x4a080a){return _0x2ce489(_0x4a080a);},'yNlcn':_0x12efa3(0x259),'GpHJO':function(_0x287332,_0x1c95f7){return _0x287332===_0x1c95f7;},'hiClJ':_0x12efa3(0x1dc),'FBfCi':'lib','huQVM':'client','talwp':_0x12efa3(0x24b),'fRCRL':'Not\x20able\x20to\x20import\x20Browser','SNacB':_0x12efa3(0x206),'fBBXS':_0x12efa3(0x234)},_0x34a232=path[_0x12efa3(0x1c0)](_0x5d80df[_0x12efa3(0x207)],_0x5d80df[_0x12efa3(0x1f0)],_0x5d80df[_0x12efa3(0x24e)]),_0x288e9a=_0x5d80df['zVijx'](importFileFromPWCore,_0x34a232);if(!_0x288e9a){_0x5d80df[_0x12efa3(0x20d)](debug,_0x5d80df[_0x12efa3(0x1f7)]);return;}const _0x279251=_0x288e9a[_0x12efa3(0x1ff)],_0x113ecb=_0x279251[_0x12efa3(0x18e)];if(_0x113ecb['obsBrowserTypeMockApplied'])return;const _0x564ffa=_0x113ecb[_0x12efa3(0x206)];Object['defineProperty'](_0x113ecb,_0x5d80df['SNacB'],{'get':function(){const _0x26deb0={'ScnhT':function(_0x18545a,_0x54c23e){const _0x3951c1=a4_0x416d;return _0x5d80df[_0x3951c1(0x1aa)](_0x18545a,_0x54c23e);},'PTcrb':_0x5d80df['hiClJ']};return async function _0x4333e1(_0x368a78,_0x300394){const _0x4b2ebb=a4_0x416d,_0x34c25e=_0x5d80df[_0x4b2ebb(0x223)](nestedKeyValue,_0x368a78,[_0x5d80df['NjfpW']])||_0x368a78;let _0x315eaa=null,_0x4c6f81=null;try{[_0x4c6f81,_0x315eaa]=_0x34c25e?_0x5d80df[_0x4b2ebb(0x20d)](parseWSEndpoint,_0x34c25e):[null,null],global[_0x4b2ebb(0x197)]=_0x315eaa,_0x4c6f81[_0x4b2ebb(0x1d3)](_0x5d80df[_0x4b2ebb(0x256)])&&(global[_0x4b2ebb(0x242)]=_0x5d80df[_0x4b2ebb(0x256)]);}catch(_0x1c8808){logger['debug'](_0x4b2ebb(0x22c)+_0x34c25e+'\x20'+_0x1c8808);}_0x5d80df[_0x4b2ebb(0x223)](processAccessibilityCaps,_0x315eaa,_0x4c6f81);if(global[_0x4b2ebb(0x1f2)]){const _0x794357=await _0x113ecb[_0x4b2ebb(0x21a)][_0x4b2ebb(0x1b6)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x5d80df[_0x4b2ebb(0x20d)](encodeURIComponent,JSON[_0x4b2ebb(0x22f)](_0x315eaa))]);return PlaywrightSessionDetails[_0x4b2ebb(0x230)](_0x794357,_0x42421d,_0x34c25e),_0x794357;}return _0x564ffa[_0x4b2ebb(0x1b6)](this,arguments)[_0x4b2ebb(0x182)](_0x43218f=>{const _0x11b98f=_0x4b2ebb;let _0xd286e3=_0x368a78[_0x11b98f(0x208)];return _0x26deb0['ScnhT'](typeof _0x368a78,_0x26deb0['PTcrb'])&&(_0xd286e3=_0x368a78),PlaywrightSessionDetails['setupBrowserDetails'](_0x43218f,_0x42421d,_0xd286e3),_0x43218f;});};}});const _0x51d504=_0x113ecb[_0x12efa3(0x234)];Object[_0x12efa3(0x21e)](_0x113ecb,_0x5d80df[_0x12efa3(0x226)],{'get':function(){return async function _0x5529ce(){const _0x53f50a=a4_0x416d;return _0x51d504['apply'](this,arguments)[_0x53f50a(0x182)](_0x372e11=>{const _0x5977da=_0x53f50a;return PlaywrightSessionDetails[_0x5977da(0x230)](_0x372e11,null),_0x372e11;});};}});};function a4_0x416d(_0x313bc9,_0x56e5de){const _0x205fed=a4_0x205f();return a4_0x416d=function(_0x416d84,_0x17b990){_0x416d84=_0x416d84-0x174;let _0x13baad=_0x205fed[_0x416d84];return _0x13baad;},a4_0x416d(_0x313bc9,_0x56e5de);}class O11yHelper{[a4_0x25b6e9(0x1ae)]=null;[a4_0x25b6e9(0x1c2)]=null;['enabled']=![];[a4_0x25b6e9(0x198)]=![];constructor(_0x2c1ca9,_0x66e9a3){const _0x3505ed=a4_0x25b6e9,_0x229e40={'VfvCQ':_0x3505ed(0x1f8),'mYqUf':function(_0xb4ede4){return _0xb4ede4();},'bbNym':function(_0x25254e,_0x49eb4f){return _0x25254e===_0x49eb4f;},'nerBj':_0x3505ed(0x17f),'ntNsg':function(_0x3b07b3,_0x17a8cf){return _0x3b07b3(_0x17a8cf);}},_0x28a7e6=_0x229e40['VfvCQ'][_0x3505ed(0x189)]('|');let _0x31aefb=0x0;while(!![]){switch(_0x28a7e6[_0x31aefb++]){case'0':this[_0x3505ed(0x1ea)]=_0x229e40[_0x3505ed(0x1a7)](getTestEnv);continue;case'1':this['driver']&&_0x229e40[_0x3505ed(0x1b8)](this[_0x3505ed(0x204)][_0x3505ed(0x25d)][_0x3505ed(0x258)],_0x229e40['nerBj'])&&_0x229e40['ntNsg'](mockPWBrowserType,null);continue;case'2':this['driver']=_0x2c1ca9;continue;case'3':this[_0x3505ed(0x1e4)]=new testOpsHelper[(_0x3505ed(0x1a6))]({'cwd':process[_0x3505ed(0x236)]()},this['_testEnv'][_0x3505ed(0x184)]);continue;case'4':this[_0x3505ed(0x220)]=_0x229e40[_0x3505ed(0x1a7)](shouldProcessEventForTesthub);continue;case'5':this['frameworkName']=_0x66e9a3['frameworkName'];continue;}break;}}['start'](){const _0x6a72db=a4_0x25b6e9;if(!this[_0x6a72db(0x220)])return;testOpsHelper['patchConsoleLogger'](),process[_0x6a72db(0x1bc)](_0x6a72db(0x24f)+process['pid']),process['on']('bs:addLog:'+process[_0x6a72db(0x213)],this['appendTestItemLog'][_0x6a72db(0x205)](this));}async[a4_0x25b6e9(0x1de)](){const _0x1f9aa3=a4_0x25b6e9;await RequestQueueHandler[_0x1f9aa3(0x193)]()['shutdown']();}async[a4_0x25b6e9(0x18b)](_0x3fdece){const _0x61aeb7=a4_0x25b6e9,_0x4efe6c={'XVpMe':_0x61aeb7(0x215),'oWUWq':function(_0x48661a,_0x57d124){return _0x48661a(_0x57d124);}};try{this[_0x61aeb7(0x1c2)]&&!this[_0x61aeb7(0x1c2)][_0x61aeb7(0x1df)]&&(_0x3fdece[_0x61aeb7(0x254)]=this[_0x61aeb7(0x1c2)][_0x61aeb7(0x21b)]);!_0x3fdece[_0x61aeb7(0x254)]&&this[_0x61aeb7(0x1ae)]&&!this['currentTest'][_0x61aeb7(0x1df)]&&(_0x3fdece['test_run_uuid']=this['currentTest'][_0x61aeb7(0x196)]);if(_0x3fdece['hook_run_uuid']||_0x3fdece[_0x61aeb7(0x247)]){const _0x390592={};_0x390592[_0x61aeb7(0x1d6)]=_0x4efe6c[_0x61aeb7(0x199)],_0x390592[_0x61aeb7(0x1a8)]=[_0x3fdece],await SessionHandler[_0x61aeb7(0x1e2)](_0x390592);}}catch(_0x42a784){_0x4efe6c[_0x61aeb7(0x25e)](debug,_0x61aeb7(0x176)+_0x42a784);}}async[a4_0x25b6e9(0x177)](_0x114b7a){const _0x51564d=a4_0x25b6e9,_0x28122c={'OiYjv':_0x51564d(0x240),'JJqmQ':function(_0xa0116d,_0x40a2d1){return _0xa0116d(_0x40a2d1);}};if(!this[_0x51564d(0x220)])return;const _0x1d992f=this[_0x51564d(0x1eb)](this['driver']);try{const _0x2b487c={};_0x2b487c[_0x51564d(0x1ab)]=_0x114b7a,_0x2b487c[_0x51564d(0x1ba)]=_0x1d992f;const _0x2a6a59=_0x2b487c,_0x2a0ab5={};_0x2a0ab5['event_type']=_0x28122c[_0x51564d(0x1ef)],_0x2a0ab5[_0x51564d(0x1be)]=_0x2a6a59,await SessionHandler[_0x51564d(0x1e2)](_0x2a0ab5);}catch(_0xf0eb0a){_0x28122c[_0x51564d(0x18a)](debug,_0x51564d(0x24a)+_0xf0eb0a);}}[a4_0x25b6e9(0x1eb)](_0x380bad){const _0x146c3d=a4_0x25b6e9,_0xc76f32={'fXLCB':function(_0x1e1b86,_0x5a0b93){return _0x1e1b86(_0x5a0b93);}};return _0xc76f32[_0x146c3d(0x20b)](fetchPlatformDetails,_0x380bad);}[a4_0x25b6e9(0x24c)]=_0x2ae7e1=>{const _0x404388=a4_0x25b6e9,_0x54baea={};_0x54baea['ZvWoX']=_0x404388(0x222),_0x54baea['iIfOh']=_0x404388(0x23e);const _0x34851a=_0x54baea;if(!_0x2ae7e1||!_0x2ae7e1[_0x404388(0x1a0)])return;[_0x34851a[_0x404388(0x255)],_0x34851a['iIfOh']][_0x404388(0x1fe)](_0x16464e=>{const _0x17ac8e=_0x404388,_0xb1654=_0x2ae7e1[_0x17ac8e(0x1a0)][_0x16464e];_0xb1654[_0x17ac8e(0x1fe)](_0x306d7a=>{const _0x1454c4=_0x17ac8e;_0x306d7a[_0x1454c4(0x21b)]&&(_0x306d7a[_0x1454c4(0x21b)]=null);});});};[a4_0x25b6e9(0x174)](_0x47c600){const _0x4cdde0=a4_0x25b6e9,_0x1ea751={'sanrf':_0x4cdde0(0x252),'exHlO':function(_0x3cd2f7){return _0x3cd2f7();},'jabiW':function(_0x4726e9,_0x18a98e){return _0x4726e9===_0x18a98e;},'QCjrK':_0x4cdde0(0x23e),'JicPM':'_beforeAll','skEpY':_0x4cdde0(0x175),'BTTaH':_0x4cdde0(0x222)};if(!_0x47c600||!_0x47c600[_0x4cdde0(0x1a0)])return;[_0x1ea751[_0x4cdde0(0x19a)],_0x1ea751[_0x4cdde0(0x1bb)],_0x1ea751['BTTaH'],_0x1ea751[_0x4cdde0(0x19b)]][_0x4cdde0(0x1fe)](_0x2cfb9a=>{const _0x5241a7=_0x47c600['parent'][_0x2cfb9a]||[];_0x5241a7['forEach'](_0x5b40a4=>{const _0xf33edc=a4_0x416d;if(_0x5b40a4[_0xf33edc(0x1fb)]['includes'](_0x1ea751[_0xf33edc(0x238)]))return;if(!_0x5b40a4[_0xf33edc(0x21b)])_0x5b40a4['hookAnalyticsId']=_0x1ea751['exHlO'](uuidv4);else _0x5b40a4[_0xf33edc(0x1df)]&&_0x1ea751[_0xf33edc(0x241)](_0x2cfb9a,_0x1ea751[_0xf33edc(0x19b)])&&(_0x5b40a4[_0xf33edc(0x21b)]=_0x1ea751['exHlO'](uuidv4),delete _0x5b40a4[_0xf33edc(0x1df)]);});}),this[_0x4cdde0(0x174)](_0x47c600[_0x4cdde0(0x1a0)]);}[a4_0x25b6e9(0x1ad)](_0x487009){const _0x1bcb5d=a4_0x25b6e9,_0x5c4bd8={};_0x5c4bd8[_0x1bcb5d(0x246)]=_0x1bcb5d(0x1e7),_0x5c4bd8[_0x1bcb5d(0x1b0)]=_0x1bcb5d(0x175),_0x5c4bd8['atYvG']=_0x1bcb5d(0x222),_0x5c4bd8[_0x1bcb5d(0x1c8)]=_0x1bcb5d(0x23e);const _0x7aa54f=_0x5c4bd8;if(!_0x487009||!_0x487009[_0x1bcb5d(0x1a0)])return[];const _0x5240ed=[];return[_0x7aa54f['Gwwco'],_0x7aa54f[_0x1bcb5d(0x1b0)],_0x7aa54f[_0x1bcb5d(0x216)],_0x7aa54f[_0x1bcb5d(0x1c8)]][_0x1bcb5d(0x1fe)](_0x23dbf3=>{const _0x3a349a=_0x1bcb5d,_0x248b7e=_0x487009[_0x3a349a(0x1a0)][_0x23dbf3]||[];_0x248b7e[_0x3a349a(0x1fe)](_0x47913f=>{const _0x15a37b=_0x3a349a;_0x47913f['hookAnalyticsId']&&_0x5240ed[_0x15a37b(0x1fa)](_0x47913f[_0x15a37b(0x21b)]);});}),[][_0x1bcb5d(0x1da)](_0x5240ed,this[_0x1bcb5d(0x1ad)](_0x487009['parent']));}[a4_0x25b6e9(0x1a5)](_0x37e25f){const _0x231ed7=a4_0x25b6e9,_0x25139f=/^"(?<hook>.*)" hook:.*$/,_0x4c123c=_0x37e25f[_0x231ed7(0x1fb)],_0x1b99ab=_0x4c123c[_0x231ed7(0x19c)](_0x25139f);if(_0x1b99ab&&_0x1b99ab[_0x231ed7(0x25b)])return _0x1b99ab[_0x231ed7(0x25b)][_0x231ed7(0x211)]['toUpperCase']()[_0x231ed7(0x1d4)]('\x20','_');return null;}[a4_0x25b6e9(0x17b)](_0x39623f){const _0x171a7e=a4_0x25b6e9,_0x3f79e1={};_0x3f79e1[_0x171a7e(0x1d5)]=function(_0x3a34ed,_0x1f9848){return _0x3a34ed===_0x1f9848;},_0x3f79e1[_0x171a7e(0x1db)]=_0x171a7e(0x218),_0x3f79e1['Wbjah']=_0x171a7e(0x20e);const _0x3bd3b5=_0x3f79e1,_0x4572dc=path['sep'];if(_0x3bd3b5[_0x171a7e(0x1d5)](_0x39623f,null)||_0x3bd3b5[_0x171a7e(0x1d5)](_0x39623f,'')||_0x3bd3b5['Kjpfy'](_0x39623f,_0x4572dc)||_0x3bd3b5[_0x171a7e(0x1d5)](_0x39623f,path['dirname'](_0x39623f)))return null;try{return fs[_0x171a7e(0x217)](path['join'](_0x39623f,_0x3bd3b5['CemhO'],_0x3bd3b5['Wbjah'])),_0x39623f;}catch(_0x245636){const _0x5af71e=path['dirname'](_0x39623f);return this[_0x171a7e(0x17b)](_0x5af71e);}}[a4_0x25b6e9(0x1fd)](_0x43b2a5){const _0x8ad625=a4_0x25b6e9,_0x25fd05={};_0x25fd05['uFPYX']=function(_0x209b36,_0x1e7b1e){return _0x209b36>_0x1e7b1e;};const _0xedcd4a=_0x25fd05;if(_0x43b2a5[_0x8ad625(0x1cb)])return _0x43b2a5[_0x8ad625(0x1cb)];if(_0x43b2a5[_0x8ad625(0x20f)]){const _0x3c790f=_0x43b2a5[_0x8ad625(0x20f)][_0x8ad625(0x1ae)]?this[_0x8ad625(0x1fd)](_0x43b2a5[_0x8ad625(0x20f)][_0x8ad625(0x1ae)]):null;if(_0x3c790f)return _0x3c790f;}if(_0x43b2a5[_0x8ad625(0x1a0)]){const _0x529974=this[_0x8ad625(0x1fd)](_0x43b2a5[_0x8ad625(0x1a0)])||(_0x43b2a5[_0x8ad625(0x1a0)]['ctx']&&_0x43b2a5['parent']['ctx']['currentTest']?this[_0x8ad625(0x1fd)](_0x43b2a5[_0x8ad625(0x1a0)][_0x8ad625(0x20f)]['currentTest']):null);if(_0x529974)return _0x529974;_0x43b2a5[_0x8ad625(0x1a0)][_0x8ad625(0x23c)]&&_0xedcd4a[_0x8ad625(0x19f)](_0x43b2a5[_0x8ad625(0x1a0)][_0x8ad625(0x23c)][_0x8ad625(0x17c)],0x0)&&_0x43b2a5[_0x8ad625(0x1a0)][_0x8ad625(0x23c)][_0x8ad625(0x1fe)](_0x11ba6e=>{const _0x2e0919=_0x8ad625,_0x49e2d1=_0x11ba6e[_0x2e0919(0x20f)]?this[_0x2e0919(0x1fd)](_0x11ba6e[_0x2e0919(0x20f)]):null;if(_0x49e2d1)return _0x49e2d1;});}return null;}[a4_0x25b6e9(0x179)](_0x555087){const _0xe9e3d7=a4_0x25b6e9,_0xb6fbf4={};_0xb6fbf4[_0xe9e3d7(0x17e)]=function(_0x9b5155,_0x56119c){return _0x9b5155!==_0x56119c;};const _0x718da7=_0xb6fbf4,_0x4c44c7=[];if(_0x555087&&_0x555087[_0xe9e3d7(0x1a0)]){let _0x4b3beb=_0x555087['parent'];while(_0x4b3beb&&_0x718da7['bFOFT'](_0x4b3beb[_0xe9e3d7(0x1fb)],'')){_0x4c44c7[_0xe9e3d7(0x1fa)](_0x4b3beb[_0xe9e3d7(0x1fb)]),_0x4b3beb=_0x4b3beb[_0xe9e3d7(0x1a0)];}}return _0x4c44c7;}[a4_0x25b6e9(0x1fc)](_0x17dd5e,_0x1e4721,_0x3ebba3=undefined){const _0x38feaa=a4_0x25b6e9,_0x2f23d1={'Nsxyr':function(_0x2cfa2b,_0x2adc48){return _0x2cfa2b(_0x2adc48);},'IydKT':function(_0x59ab96){return _0x59ab96();},'SAOjm':function(_0x560b71){return _0x560b71();},'PDstL':function(_0x21fe94){return _0x21fe94();},'HvYNy':_0x38feaa(0x1bf),'UwcZn':_0x38feaa(0x202),'xcFFv':function(_0x7e8f38,_0x1646ba){return _0x7e8f38!==_0x1646ba;},'iQPhq':_0x38feaa(0x227),'MEagp':_0x38feaa(0x1b9),'wWRgV':_0x38feaa(0x1d1),'NhZGS':'passed','UYZyt':_0x38feaa(0x253),'ZuXkg':_0x38feaa(0x229),'TMjKq':function(_0x403176,_0x34376c){return _0x403176-_0x34376c;},'JpOOP':function(_0x20241d,_0x1509b9,_0x366023,_0x30d6ea,_0x6d1ad6){return _0x20241d(_0x1509b9,_0x366023,_0x30d6ea,_0x6d1ad6);},'Xgvbe':function(_0x2a4f83,_0x45d9e7){return _0x2a4f83!==_0x45d9e7;},'nJkvT':_0x38feaa(0x1ba),'HhsbK':_0x38feaa(0x219),'dWXLI':_0x38feaa(0x1d2),'vlVfD':_0x38feaa(0x20a),'yTPRv':_0x38feaa(0x187),'RhQMX':_0x38feaa(0x1b1),'rYqIp':_0x38feaa(0x1a3),'Yeclw':function(_0x34d314,_0x4b0fcf){return _0x34d314===_0x4b0fcf;},'PIBOQ':'hook_run','YmUbk':'test_run'};if(!this[_0x38feaa(0x220)])return;try{if(_0x1e4721['fn']&&_0x1e4721['fn'][_0x38feaa(0x1f9)]()['match'](/browserstack internal helper hook/))return;const _0x5ed53=_0x2f23d1[_0x38feaa(0x1cc)](parseEvent,_0x17dd5e);if(!_0x5ed53)return;if(_0x5ed53[_0x38feaa(0x23a)]){this[_0x38feaa(0x1ae)]=_0x1e4721,this['currentHook']=null;if(_0x5ed53['started']||_0x5ed53['skipped']){_0x1e4721[_0x38feaa(0x22a)]=new Date(),_0x1e4721[_0x38feaa(0x1df)]=![];if(!_0x1e4721[_0x38feaa(0x196)])_0x1e4721['testAnalyticsId']=_0x2f23d1[_0x38feaa(0x228)](uuidv4);else _0x1e4721[_0x38feaa(0x1df)]&&(!_0x1e4721[_0x38feaa(0x18f)]&&(_0x1e4721[_0x38feaa(0x18f)]=_0x1e4721[_0x38feaa(0x196)]),_0x1e4721[_0x38feaa(0x196)]=_0x2f23d1[_0x38feaa(0x224)](uuidv4));}}else{if(_0x5ed53[_0x38feaa(0x211)]){this[_0x38feaa(0x1c2)]=_0x1e4721;if(_0x5ed53[_0x38feaa(0x251)]){_0x1e4721[_0x38feaa(0x22a)]=new Date(),_0x1e4721[_0x38feaa(0x1df)]=![];if(!_0x1e4721[_0x38feaa(0x21b)])_0x1e4721[_0x38feaa(0x21b)]=_0x2f23d1['PDstL'](uuidv4);else _0x1e4721[_0x38feaa(0x21b)]&&_0x1e4721[_0x38feaa(0x1df)]&&(_0x1e4721[_0x38feaa(0x21b)]=_0x2f23d1[_0x38feaa(0x224)](uuidv4));}}}if(_0x5ed53[_0x38feaa(0x1f6)]&&_0x1e4721[_0x38feaa(0x1df)])return;let _0x8a0d0e;try{_0x8a0d0e=this[_0x38feaa(0x1fd)](_0x1e4721);}catch(_0x2b253f){logger[_0x38feaa(0x235)](_0x38feaa(0x23b)+_0x2b253f),_0x8a0d0e=null;}const _0x512ec3=_0x2f23d1[_0x38feaa(0x1cc)](require,_0x2f23d1['HvYNy']);let _0x109242=[];_0x3ebba3&&(_0x109242=[_0x3ebba3,_0x2f23d1[_0x38feaa(0x1c5)]]);const _0x3ab523=_0x2f23d1[_0x38feaa(0x1c3)](_0x1e4721[_0x38feaa(0x210)],undefined)?_0x512ec3[_0x38feaa(0x1a2)](_0x1e4721[_0x38feaa(0x210)][0x0]):_0x2f23d1['xcFFv'](_0x3ebba3,undefined)?_0x3ebba3[_0x38feaa(0x1f9)]():undefined,_0x4171a2=_0x8a0d0e?this['findGitConfig'](_0x8a0d0e):null,_0x43b533=_0x8a0d0e?this[_0x38feaa(0x1e4)][_0x38feaa(0x1e3)](this[_0x38feaa(0x1fd)](_0x1e4721)):_0x2f23d1[_0x38feaa(0x1af)];let _0x6550ef=_0x2f23d1[_0x38feaa(0x1f5)];const _0x3737bc=!_0x5ed53[_0x38feaa(0x251)]?new Date()[_0x38feaa(0x1b7)]():null;if(_0x5ed53['finished'])_0x6550ef=_0x3ebba3?_0x2f23d1[_0x38feaa(0x1f3)]:_0x2f23d1[_0x38feaa(0x1b4)],_0x1e4721[_0x38feaa(0x1df)]=!![];else _0x5ed53[_0x38feaa(0x253)]&&(_0x6550ef=_0x2f23d1['UYZyt'],_0x1e4721[_0x38feaa(0x1df)]=!![]);const _0x15a70c={'framework':this['frameworkName'],'uuid':_0x1e4721[_0x38feaa(0x196)]||_0x1e4721[_0x38feaa(0x21b)],'name':_0x1e4721[_0x38feaa(0x1fb)],'body':{'lang':_0x2f23d1[_0x38feaa(0x1ce)],'code':_0x1e4721[_0x38feaa(0x1e5)][_0x38feaa(0x1f9)]()},'type':_0x1e4721['type'],'scope':_0x1e4721[_0x38feaa(0x195)](),'scopes':this[_0x38feaa(0x179)](_0x1e4721),'file_name':_0x43b533,'vc_filepath':_0x4171a2?path['relative'](_0x4171a2,_0x8a0d0e):null,'location':_0x43b533,'result':_0x6550ef,'failure_reason':_0x3ab523,'duration_in_ms':_0x1e4721[_0x38feaa(0x1b3)]||(_0x5ed53[_0x38feaa(0x1f6)]||_0x5ed53['skipped'])?_0x2f23d1[_0x38feaa(0x21d)](Date[_0x38feaa(0x194)](),new Date(_0x1e4721['startedAt'])[_0x38feaa(0x25c)]()):null,'started_at':new Date(_0x1e4721[_0x38feaa(0x22a)])[_0x38feaa(0x1b7)](),'finished_at':_0x3737bc,'failure':testOpsHelper[_0x38feaa(0x201)][_0x38feaa(0x1b6)](null,_0x109242),'failure_type':!_0x3ab523?null:testOpsHelper['getFailureType'](_0x3ab523),'retry_of':_0x1e4721[_0x38feaa(0x18f)]||null,'tags':_0x1e4721['tags']||[],'customRerunParam':{'rerun_name':_0x1e4721[_0x38feaa(0x195)]()}};_0x2f23d1[_0x38feaa(0x1e0)](appendTesthubParams,_0x15a70c,_0x17dd5e,_0x1e4721,FRAMEWORKS[_0x38feaa(0x192)]);if(_0x5ed53[_0x38feaa(0x211)])[_0x15a70c['hook_type'],_0x15a70c[_0x38feaa(0x258)]]=[this[_0x38feaa(0x1a5)](_0x1e4721),_0x1e4721['ctx'][_0x38feaa(0x23a)][_0x38feaa(0x1fb)]],_0x5ed53['finished']?_0x2f23d1[_0x38feaa(0x257)](_0x15a70c[_0x38feaa(0x239)],_0x2f23d1['wWRgV'])&&(_0x15a70c[_0x38feaa(0x239)]=_0x2f23d1[_0x38feaa(0x1b4)]):_0x15a70c[_0x38feaa(0x1e5)]={};else _0x5ed53[_0x38feaa(0x23a)]&&(this[_0x38feaa(0x174)](_0x1e4721),_0x5ed53['skipped']&&this[_0x38feaa(0x24c)](_0x1e4721),(_0x5ed53[_0x38feaa(0x1f6)]||_0x5ed53[_0x38feaa(0x253)])&&(_0x15a70c['hooks']=this['getHooksForTest'](_0x1e4721)));this[_0x38feaa(0x204)]&&(_0x5ed53['started']||_0x5ed53[_0x38feaa(0x253)])&&(_0x15a70c[_0x2f23d1[_0x38feaa(0x1b5)]]=this['getCBTInfo'](this[_0x38feaa(0x204)]));_0x5ed53['test']&&_0x5ed53['finished']&&_0x1e4721[_0x38feaa(0x1ca)]&&(_0x15a70c[_0x2f23d1[_0x38feaa(0x221)]]={'feature':{'name':_0x1e4721['parent'][_0x38feaa(0x243)][_0x38feaa(0x258)],'path':_0x15a70c[_0x38feaa(0x22d)],'description':_0x1e4721[_0x38feaa(0x1a0)][_0x38feaa(0x1d9)]},'scenario':{'name':_0x1e4721['title']},'steps':_0x1e4721[_0x38feaa(0x1ca)]});const _0x2b947c=_0x15a70c[_0x2f23d1['dWXLI']][0x0];_0x2b947c&&(_0x15a70c[_0x2f23d1['vlVfD']]=_0x2b947c[_0x2f23d1[_0x38feaa(0x1b2)]],_0x15a70c[_0x2f23d1[_0x38feaa(0x21c)]]=_0x2b947c[_0x2f23d1[_0x38feaa(0x1cf)]]);if(_0x1e4721[_0x38feaa(0x1ca)])for(const _0xe77b0f of _0x1e4721['bddSteps']){!_0xe77b0f[_0x38feaa(0x1cd)]&&(_0xe77b0f['finished_at']=new Date()[_0x38feaa(0x1b7)](),_0x2f23d1['Yeclw'](_0xe77b0f['result'],_0x2f23d1['MEagp'])&&(_0x2b947c?(_0xe77b0f[_0x38feaa(0x239)]=_0x2f23d1[_0x38feaa(0x1f3)],_0xe77b0f[_0x38feaa(0x1d2)]=_0x2b947c[_0x2f23d1['yTPRv']][0x0]):_0xe77b0f[_0x38feaa(0x239)]=_0x2f23d1[_0x38feaa(0x1b4)]));}const _0xb7ecef={};_0xb7ecef[_0x38feaa(0x1d6)]=_0x5ed53[_0x38feaa(0x253)]?TEST_EVENTS[_0x38feaa(0x19d)]:_0x17dd5e;const _0xc56b3f=_0xb7ecef;return _0x5ed53[_0x38feaa(0x211)]?_0xc56b3f[_0x2f23d1['PIBOQ']]=_0x15a70c:_0xc56b3f[_0x2f23d1[_0x38feaa(0x1ec)]]=_0x15a70c,_0xc56b3f;}catch(_0x15431d){logger[_0x38feaa(0x235)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x17dd5e+_0x38feaa(0x1a4)+_0x15431d);}}async['fireEvent'](_0xa9b04c,_0x22a59d){const _0x3462f9=a4_0x25b6e9;if(!this[_0x3462f9(0x220)]||!_0x22a59d||!_0xa9b04c)return![];try{return await SessionHandler[_0x3462f9(0x1e2)](_0x22a59d);}catch(_0x5d3e85){logger[_0x3462f9(0x235)](_0x3462f9(0x249)+_0xa9b04c+_0x3462f9(0x1a4)+_0x5d3e85);}}[a4_0x25b6e9(0x1c4)](_0x41c2a7){const _0x267a15=a4_0x25b6e9,_0x401040={};_0x401040[_0x267a15(0x23d)]=_0x267a15(0x1b9);const _0x5dc36f=_0x401040;return{'id':_0x41c2a7[_0x267a15(0x1c1)],'text':_0x41c2a7[_0x267a15(0x18c)],'keyword':_0x41c2a7[_0x267a15(0x1e8)],'started_at':_0x41c2a7[_0x267a15(0x22a)][_0x267a15(0x1b7)](),'result':_0x5dc36f['qCRZg']};}[a4_0x25b6e9(0x245)](_0x286767){const _0xc44b57=a4_0x25b6e9,_0x1801c8={'grvsl':function(_0x46ed8f){return _0x46ed8f();}};!this[_0xc44b57(0x1ae)][_0xc44b57(0x1ca)]&&(this[_0xc44b57(0x1ae)][_0xc44b57(0x1ca)]=[]),!_0x286767[_0xc44b57(0x1c1)]&&(_0x286767[_0xc44b57(0x1c1)]=_0x1801c8[_0xc44b57(0x1a1)](uuidv4),_0x286767['startedAt']=new Date(),this[_0xc44b57(0x1ae)][_0xc44b57(0x1ca)][_0xc44b57(0x1fa)](this[_0xc44b57(0x1c4)](_0x286767)));}[a4_0x25b6e9(0x17a)](_0x1735a4){const _0x2944e6=a4_0x25b6e9,_0x1f1aa5={'JmuRN':function(_0x3688ff,_0xf7de1a){return _0x3688ff(_0xf7de1a);},'gmdHY':_0x2944e6(0x21f),'mjUqr':'pending','YSRRL':_0x2944e6(0x200),'goWmY':function(_0x2e083c,_0x135baf){return _0x2e083c-_0x135baf;}};let _0x2ff873=this['currentTest']['bddSteps']['find'](_0x1eb173=>_0x1eb173['id']===_0x1735a4['stepAnalyticsId']);_0x1f1aa5[_0x2944e6(0x1a9)](isUndefined,_0x2ff873)&&(_0x2ff873=this[_0x2944e6(0x1c4)](_0x1735a4)),_0x2ff873[_0x2944e6(0x239)]=[_0x1f1aa5['gmdHY'],_0x1f1aa5[_0x2944e6(0x25f)]]['includes'](_0x1735a4[_0x2944e6(0x1c9)])?_0x1f1aa5[_0x2944e6(0x214)]:_0x1735a4[_0x2944e6(0x1c9)],_0x2ff873[_0x2944e6(0x1cd)]=new Date()[_0x2944e6(0x1b7)](),_0x2ff873[_0x2944e6(0x1b3)]=_0x1f1aa5['goWmY'](Date[_0x2944e6(0x194)](),_0x1735a4[_0x2944e6(0x22a)]['getTime']()),_0x2ff873[_0x2944e6(0x1d2)]=_0x1735a4['err']?_0x1735a4[_0x2944e6(0x202)][_0x2944e6(0x225)]:null;}}const a4_0x515dba={};a4_0x515dba['O11yHelper']=O11yHelper,a4_0x515dba['STATE_PASSED']=STATE_PASSED,a4_0x515dba[a4_0x25b6e9(0x248)]=STATE_FAILED,a4_0x515dba['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x515dba;
|
|
1
|
+
const a4_0xc9dcdf=a4_0x4adc;(function(_0x377d1f,_0xa87fe4){const _0x2a683a=a4_0x4adc,_0x3054a1=_0x377d1f();while(!![]){try{const _0x49323e=parseInt(_0x2a683a(0x1c6))/0x1+-parseInt(_0x2a683a(0x1df))/0x2*(parseInt(_0x2a683a(0x229))/0x3)+-parseInt(_0x2a683a(0x17f))/0x4+-parseInt(_0x2a683a(0x1d3))/0x5+parseInt(_0x2a683a(0x1f9))/0x6+parseInt(_0x2a683a(0x186))/0x7*(-parseInt(_0x2a683a(0x209))/0x8)+-parseInt(_0x2a683a(0x1c8))/0x9*(-parseInt(_0x2a683a(0x23f))/0xa);if(_0x49323e===_0xa87fe4)break;else _0x3054a1['push'](_0x3054a1['shift']());}catch(_0x555ac3){_0x3054a1['push'](_0x3054a1['shift']());}}}(a4_0x1ebb,0x7a4bf));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0xc9dcdf(0x1d5)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0xc9dcdf(0x1c3)),{getTestEnv}=require(a4_0xc9dcdf(0x1af)),{FRAMEWORKS}=require(a4_0xc9dcdf(0x1e6)),logger=require(a4_0xc9dcdf(0x254))[a4_0xc9dcdf(0x207)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0xc9dcdf(0x1ff)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0xc9dcdf(0x1e3)],{processAccessibilityCaps}=require(a4_0xc9dcdf(0x17b)),Constants=require(a4_0xc9dcdf(0x1d8)),{fetchPlatformDetails}=require(a4_0xc9dcdf(0x1b7)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xc9dcdf(0x205)),STATE_PASSED='passed',STATE_FAILED=a4_0xc9dcdf(0x238),a4_0x3751a5={};a4_0x3751a5[a4_0xc9dcdf(0x1a6)]=a4_0xc9dcdf(0x24f),a4_0x3751a5[a4_0xc9dcdf(0x22e)]=a4_0xc9dcdf(0x1a9),a4_0x3751a5['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x3751a5[a4_0xc9dcdf(0x1c0)]=a4_0xc9dcdf(0x18a),a4_0x3751a5['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x3751a5,parseEvent=_0x42146c=>{const _0x2208dd=a4_0xc9dcdf,_0x5cf937={};_0x5cf937[_0x2208dd(0x1f4)]=function(_0x213269,_0x376ba4){return _0x213269<_0x376ba4;},_0x5cf937['axGCJ']=function(_0xd4c6a,_0x276d7e){return _0xd4c6a===_0x276d7e;},_0x5cf937['BeapQ']=_0x2208dd(0x1e0),_0x5cf937['QOlAF']=function(_0x127785,_0xb58105){return _0x127785===_0xb58105;},_0x5cf937['tZPhd']=_0x2208dd(0x200),_0x5cf937['SEFVa']=function(_0x2011da,_0x5c388f){return _0x2011da===_0x5c388f;},_0x5cf937[_0x2208dd(0x20a)]='skipped',_0x5cf937[_0x2208dd(0x260)]=function(_0x1386d6,_0x28e75b){return _0x1386d6===_0x28e75b;},_0x5cf937['QTBhY']=_0x2208dd(0x26a),_0x5cf937[_0x2208dd(0x26e)]=_0x2208dd(0x24b);const _0x52a7a5=_0x5cf937,_0x2e900b=_0x42146c[_0x2208dd(0x1db)](/^(.*)Run(.*)$/);if(!_0x2e900b)return null;if(_0x52a7a5['ythfJ'](_0x2e900b[_0x2208dd(0x253)],0x3))return null;const _0x540733=_0x2e900b[0x1][_0x2208dd(0x1d6)](),_0x282245=_0x2e900b[0x2][_0x2208dd(0x1d6)]();return{'test':_0x52a7a5[_0x2208dd(0x217)](_0x540733,_0x52a7a5[_0x2208dd(0x232)]),'hook':_0x52a7a5[_0x2208dd(0x225)](_0x540733,_0x52a7a5[_0x2208dd(0x1b1)]),'skipped':_0x52a7a5['SEFVa'](_0x282245,_0x52a7a5[_0x2208dd(0x20a)]),'started':_0x52a7a5[_0x2208dd(0x260)](_0x282245,_0x52a7a5['QTBhY']),'finished':_0x52a7a5[_0x2208dd(0x260)](_0x282245,_0x52a7a5['fbcsd'])};},mockPWBrowserType=_0x1901bf=>{const _0x1a0781=a4_0xc9dcdf,_0x31d37a={'SgHDa':function(_0xd9fb8c,_0x4825f3){return _0xd9fb8c===_0x4825f3;},'fEUYF':_0x1a0781(0x256),'LfzOP':function(_0x3bac9c,_0x4c345a,_0x246136){return _0x3bac9c(_0x4c345a,_0x246136);},'ShIvd':_0x1a0781(0x215),'JNQhn':function(_0x1afe94,_0x1547ab){return _0x1afe94(_0x1547ab);},'aVXDm':_0x1a0781(0x278),'PmBVx':_0x1a0781(0x191),'Sqgie':_0x1a0781(0x23c),'PjiUy':_0x1a0781(0x183),'SpFDT':_0x1a0781(0x245),'bCuMP':_0x1a0781(0x233),'tCvgf':_0x1a0781(0x213)},_0x3c317d=path[_0x1a0781(0x18d)](_0x31d37a[_0x1a0781(0x21f)],_0x31d37a[_0x1a0781(0x180)],_0x31d37a[_0x1a0781(0x21b)]),_0x7c06c0=_0x31d37a[_0x1a0781(0x268)](importFileFromPWCore,_0x3c317d);if(!_0x7c06c0){_0x31d37a[_0x1a0781(0x268)](debug,_0x31d37a[_0x1a0781(0x258)]);return;}const _0x4c219a=_0x7c06c0[_0x1a0781(0x1ad)],_0x39e807=_0x4c219a[_0x1a0781(0x1b8)];if(_0x39e807[_0x1a0781(0x22d)])return;const _0x5ad21b=_0x39e807[_0x1a0781(0x233)];Object['defineProperty'](_0x39e807,_0x31d37a[_0x1a0781(0x1ea)],{'get':function(){const _0x3aef5c=_0x1a0781,_0x35d2d1={'nOCTa':function(_0x41b348,_0x576cf9){const _0x2a4a9c=a4_0x4adc;return _0x31d37a[_0x2a4a9c(0x1c4)](_0x41b348,_0x576cf9);},'vFxmn':_0x31d37a[_0x3aef5c(0x262)],'lXUWZ':function(_0x80a5c6,_0x131c68,_0x4930c){const _0x391746=_0x3aef5c;return _0x31d37a[_0x391746(0x1a3)](_0x80a5c6,_0x131c68,_0x4930c);},'eXSoc':_0x31d37a[_0x3aef5c(0x243)],'UANak':function(_0x2d16ee,_0x52423c){const _0x440339=_0x3aef5c;return _0x31d37a[_0x440339(0x268)](_0x2d16ee,_0x52423c);},'GioTg':_0x31d37a[_0x3aef5c(0x1cf)]};return async function _0x350eb0(_0x4116c4,_0x42046e){const _0x273bfc=_0x3aef5c,_0xc2443b=_0x35d2d1[_0x273bfc(0x1f5)](nestedKeyValue,_0x4116c4,[_0x35d2d1[_0x273bfc(0x1bb)]])||_0x4116c4;let _0x1b0c82=null,_0x28a99e=null;try{[_0x28a99e,_0x1b0c82]=_0xc2443b?_0x35d2d1[_0x273bfc(0x192)](parseWSEndpoint,_0xc2443b):[null,null],global[_0x273bfc(0x1ce)]=_0x1b0c82,_0x28a99e[_0x273bfc(0x252)](_0x35d2d1[_0x273bfc(0x1c9)])&&(global[_0x273bfc(0x263)]=_0x35d2d1[_0x273bfc(0x1c9)]);}catch(_0x109774){logger[_0x273bfc(0x1e3)](_0x273bfc(0x19f)+_0xc2443b+'\x20'+_0x109774);}_0x35d2d1[_0x273bfc(0x1f5)](processAccessibilityCaps,_0x1b0c82,_0x28a99e);if(global['accessibilityPlatform']){const _0x559763=await _0x39e807[_0x273bfc(0x1d7)][_0x273bfc(0x1ca)](this,[''+Constants[_0x273bfc(0x1ee)]+_0x35d2d1['UANak'](encodeURIComponent,JSON[_0x273bfc(0x196)](_0x1b0c82))]);return PlaywrightSessionDetails[_0x273bfc(0x1f7)](_0x559763,_0x1901bf,_0xc2443b),_0x559763;}return _0x5ad21b[_0x273bfc(0x1ca)](this,arguments)['then'](_0x35f9d4=>{const _0x375fe6=_0x273bfc;let _0x193868=_0x4116c4['wsEndpoint'];return _0x35d2d1[_0x375fe6(0x20d)](typeof _0x4116c4,_0x35d2d1[_0x375fe6(0x1b0)])&&(_0x193868=_0x4116c4),PlaywrightSessionDetails[_0x375fe6(0x1f7)](_0x35f9d4,_0x1901bf,_0x193868),_0x35f9d4;});};}});const _0x1c1af1=_0x39e807[_0x1a0781(0x213)];Object[_0x1a0781(0x230)](_0x39e807,_0x31d37a['tCvgf'],{'get':function(){return async function _0x730325(){const _0x5caa30=a4_0x4adc;return _0x1c1af1['apply'](this,arguments)[_0x5caa30(0x231)](_0xa94431=>{const _0x39fcfd=_0x5caa30;return PlaywrightSessionDetails[_0x39fcfd(0x1f7)](_0xa94431,null),_0xa94431;});};}});};function a4_0x1ebb(){const _0x25d9bd=['bind','fullTitle','STATE_FAILED','type','removeAllListeners','rKNnf','browserstack','O11yHelper','_beforeEach','../playwright/accessibility-helper','bddStepStart','inspect','Qivpf','1152260IQECkj','Sqgie','hook_run_uuid','getFailureType','browserType.js','startedAt','bs:addLog:','1981MnOGLR','currentHook','PathHelper','meta','HookRunStarted','fireEvent','enabled','join','iBGOQ','stepAnalyticsId','svNFE','lib','UANak','VqQke','errorsDetailed','driver','stringify','Playwright','BwRjd','File\x20path\x20could\x20not\x20be\x20found','IYodY','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','test_run','config','location_prefix','Failed\x20to\x20parse\x20wsendpoint\x20','wzfsh','codeceptjs','wihMv','LfzOP','DFJCK','parent','TEST_RUN_STARTED','patchConsoleLogger','resetSkipTestHooks','TestRunFinished','getInstance','expanded','toString','BrowserType','1|0|5|2|4|3','../mocha/test-observability/mochaUtils','vFxmn','tZPhd','zoKnr','pending','getTime','YyoVP','stop','./helper.js','prototype','test_run_uuid','now','eXSoc','sep','name','YmDbn','file','HOOK_RUN_STARTED','exports','mapTestHooks','../../helpers/test-observability/utils','SgHDa','getCBTInfo','549207ZRRuba','comment','14917977YQLAXU','GioTg','apply','CBTSessionCreated','_paths','eZnPI','__platformCaps','aVXDm','getRootParentFile','KHKKR','suites','1562665KglbRH','hooks','uuid','toLowerCase','connectOverCDP','../utils/constants','finished_at','TEST_EVENTS','match','frameworkName','NvoUG','findGitConfig','2162ctMAvH','test','CLoJK','VcRBc','debug','result','backtrace','../../helpers/test-observability/constants','LogCreated','file_name','ctx','bCuMP','shutdown','xUVTo','testAnalyticsId','PLAYWRIGHT_HUB_URL','FkivL','_beforeAll','start','javascript','captureEvent','ythfJ','lXUWZ','initializeBddStep','setupBrowserDetails','failureData','1452168MuUYha','bddStepFinish','event_type','ogFAt','HMiIi','hookAnalyticsId','../../helpers/test-observability/requestQueueHandler','hook','keyword','body','getHierarchy','sendCBTInfo','../../helpers/testhub/utils.js','eRETo','winstonLogger','DtnIW','10216sVxGub','hYdQP','NbtOC','kbcQk','nOCTa','duration','kZPab','AJTCf','UwqRK','cwd','launch','tUvxS','wsEndpoint','retryOf','axGCJ','_afterEach','logs','zAHnY','PjiUy','appendTestItemLog','push','success','PmBVx','VeTnS','find','failed\x20to\x20get\x20root\x20parent\x20file\x20','currentTest','pAJCx','QOlAF','Ykzir','split','_testEnv','2736feNUKW','toUpperCase','nNsXz','LSiOt','obsBrowserTypeMockApplied','TEST_RUN_FINISHED','yBzzo','defineProperty','then','BeapQ','connect','getHookType','toISOString','bddSteps','hook_type','failed','err','concat','passed','client','uHwEf','CVnsa','10FQutYE','PGQuh','markedStatus','getHooksForTest','ShIvd','riGmQ','Not\x20able\x20to\x20import\x20Browser','\x20with\x20error\x20:\x20','uVzOW','bzUdH','util','statSync','finished','uploadEventData','pid','message','TestRunStarted','OwAbg','tags','includes','length','../../helpers/logger','smvsY','string','FEocD','SpFDT','pQKDW','failure_backtrace','skipped','_afterAll','sNZBI','feature','forEach','ycnPo','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','fEUYF','__cloud_provider___','integrations','FhnLy','STATE_PASSED','failure','JNQhn','yleAD','started','status','relative','LMeyr','fbcsd','groups','dirname','title'];a4_0x1ebb=function(){return _0x25d9bd;};return a4_0x1ebb();}class O11yHelper{[a4_0xc9dcdf(0x223)]=null;['currentHook']=null;[a4_0xc9dcdf(0x18c)]=![];[a4_0xc9dcdf(0x1dc)]=![];constructor(_0x4ef08c,_0x1d526a){const _0x280c64=a4_0xc9dcdf,_0x43c49e={'svNFE':_0x280c64(0x1ae),'bzUdH':function(_0x1c9324){return _0x1c9324();},'yBzzo':function(_0x2c65c6){return _0x2c65c6();},'rKNnf':function(_0x119ad3,_0x3bc846){return _0x119ad3===_0x3bc846;},'fcjZh':_0x280c64(0x197),'kZPab':function(_0x478740,_0x255ae6){return _0x478740(_0x255ae6);}},_0xff75aa=_0x43c49e[_0x280c64(0x190)][_0x280c64(0x227)]('|');let _0x219112=0x0;while(!![]){switch(_0xff75aa[_0x219112++]){case'0':this[_0x280c64(0x1dc)]=_0x1d526a[_0x280c64(0x1dc)];continue;case'1':this['enabled']=_0x43c49e[_0x280c64(0x248)](shouldProcessEventForTesthub);continue;case'2':this[_0x280c64(0x228)]=_0x43c49e[_0x280c64(0x22f)](getTestEnv);continue;case'3':this[_0x280c64(0x195)]&&_0x43c49e[_0x280c64(0x277)](this[_0x280c64(0x195)]['constructor'][_0x280c64(0x1bd)],_0x43c49e['fcjZh'])&&_0x43c49e[_0x280c64(0x20f)](mockPWBrowserType,null);continue;case'4':this[_0x280c64(0x1cc)]=new testOpsHelper[(_0x280c64(0x188))]({'cwd':process[_0x280c64(0x212)]()},this['_testEnv'][_0x280c64(0x19e)]);continue;case'5':this[_0x280c64(0x195)]=_0x4ef08c;continue;}break;}}[a4_0xc9dcdf(0x1f1)](){const _0xb9aad3=a4_0xc9dcdf;if(!this[_0xb9aad3(0x18c)])return;testOpsHelper[_0xb9aad3(0x1a7)](),process[_0xb9aad3(0x276)](_0xb9aad3(0x185)+process[_0xb9aad3(0x24d)]),process['on']('bs:addLog:'+process[_0xb9aad3(0x24d)],this[_0xb9aad3(0x21c)][_0xb9aad3(0x272)](this));}async[a4_0xc9dcdf(0x1b6)](){const _0x527d15=a4_0xc9dcdf;await RequestQueueHandler[_0x527d15(0x1aa)]()[_0x527d15(0x1eb)]();}async[a4_0xc9dcdf(0x21c)](_0xc4aca7){const _0x29b7d2=a4_0xc9dcdf,_0x5d8a4c={'BwRjd':_0x29b7d2(0x1e7),'pNILa':function(_0x1b8be9,_0x208590){return _0x1b8be9(_0x208590);}};try{this[_0x29b7d2(0x187)]&&!this[_0x29b7d2(0x187)][_0x29b7d2(0x241)]&&(_0xc4aca7['hook_run_uuid']=this[_0x29b7d2(0x187)][_0x29b7d2(0x1fe)]);!_0xc4aca7[_0x29b7d2(0x181)]&&this[_0x29b7d2(0x223)]&&!this[_0x29b7d2(0x223)]['markedStatus']&&(_0xc4aca7[_0x29b7d2(0x1b9)]=this[_0x29b7d2(0x223)]['testAnalyticsId']);if(_0xc4aca7['hook_run_uuid']||_0xc4aca7[_0x29b7d2(0x1b9)]){const _0x282bce={};_0x282bce[_0x29b7d2(0x1fb)]=_0x5d8a4c[_0x29b7d2(0x198)],_0x282bce[_0x29b7d2(0x219)]=[_0xc4aca7],await SessionHandler[_0x29b7d2(0x24c)](_0x282bce);}}catch(_0x20781b){_0x5d8a4c['pNILa'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x20781b);}}async[a4_0xc9dcdf(0x204)](_0xbd8a80){const _0x25a1b1=a4_0xc9dcdf,_0x3dee1a={'xcFwV':_0x25a1b1(0x1cb),'pAJCx':function(_0x512b21,_0x3fe895){return _0x512b21(_0x3fe895);}};if(!this[_0x25a1b1(0x18c)])return;const _0x5f1fc2=this[_0x25a1b1(0x1c5)](this[_0x25a1b1(0x195)]);try{const _0x454105={};_0x454105[_0x25a1b1(0x1d5)]=_0xbd8a80,_0x454105[_0x25a1b1(0x264)]=_0x5f1fc2;const _0x2ccae4=_0x454105,_0x20f95d={};_0x20f95d['event_type']=_0x3dee1a['xcFwV'],_0x20f95d[_0x25a1b1(0x19c)]=_0x2ccae4,await SessionHandler[_0x25a1b1(0x24c)](_0x20f95d);}catch(_0x2e8514){_0x3dee1a[_0x25a1b1(0x224)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2e8514);}}['getCBTInfo'](_0x507379){const _0x9cad55=a4_0xc9dcdf,_0x269e23={'FhnLy':function(_0x57800d,_0x11cc32){return _0x57800d(_0x11cc32);}};return _0x269e23[_0x9cad55(0x265)](fetchPlatformDetails,_0x507379);}[a4_0xc9dcdf(0x1a8)]=_0x4e4efc=>{const _0x146de4=a4_0xc9dcdf,_0x136e93={};_0x136e93[_0x146de4(0x210)]=_0x146de4(0x17a),_0x136e93[_0x146de4(0x23e)]=_0x146de4(0x218);const _0xae5341=_0x136e93;if(!_0x4e4efc||!_0x4e4efc['parent'])return;[_0xae5341[_0x146de4(0x210)],_0xae5341[_0x146de4(0x23e)]][_0x146de4(0x25f)](_0x5cd875=>{const _0x229b20=_0x146de4,_0x3d2b19=_0x4e4efc[_0x229b20(0x1a5)][_0x5cd875];_0x3d2b19[_0x229b20(0x25f)](_0x5343f7=>{const _0x1e037a=_0x229b20;_0x5343f7[_0x1e037a(0x1fe)]&&(_0x5343f7[_0x1e037a(0x1fe)]=null);});});};['mapTestHooks'](_0x47b85f){const _0x2f93f2=a4_0xc9dcdf,_0x2f4743={'pQKDW':_0x2f93f2(0x1a1),'IYodY':function(_0x3db6b1){return _0x3db6b1();},'VeTnS':function(_0x125a58,_0x1bd00a){return _0x125a58===_0x1bd00a;},'uHwEf':'_afterEach','tUvxS':function(_0x161878){return _0x161878();},'nvucW':'_beforeAll','fAxXP':_0x2f93f2(0x25c),'nHuqT':'_beforeEach'};if(!_0x47b85f||!_0x47b85f[_0x2f93f2(0x1a5)])return;[_0x2f4743['nvucW'],_0x2f4743['fAxXP'],_0x2f4743['nHuqT'],_0x2f4743['uHwEf']][_0x2f93f2(0x25f)](_0xb8b2d2=>{const _0x5ee8b7=_0x2f93f2,_0x26faa8=_0x47b85f[_0x5ee8b7(0x1a5)][_0xb8b2d2]||[];_0x26faa8[_0x5ee8b7(0x25f)](_0x54e98f=>{const _0x773dbc=_0x5ee8b7;if(_0x54e98f[_0x773dbc(0x271)]['includes'](_0x2f4743[_0x773dbc(0x259)]))return;if(!_0x54e98f[_0x773dbc(0x1fe)])_0x54e98f['hookAnalyticsId']=_0x2f4743[_0x773dbc(0x19a)](uuidv4);else _0x54e98f[_0x773dbc(0x241)]&&_0x2f4743[_0x773dbc(0x220)](_0xb8b2d2,_0x2f4743[_0x773dbc(0x23d)])&&(_0x54e98f['hookAnalyticsId']=_0x2f4743[_0x773dbc(0x214)](uuidv4),delete _0x54e98f[_0x773dbc(0x241)]);});}),this[_0x2f93f2(0x1c2)](_0x47b85f[_0x2f93f2(0x1a5)]);}[a4_0xc9dcdf(0x242)](_0x37612c){const _0xf1df5f=a4_0xc9dcdf,_0x34f788={};_0x34f788[_0xf1df5f(0x20b)]=_0xf1df5f(0x1f0),_0x34f788[_0xf1df5f(0x1b5)]=_0xf1df5f(0x25c),_0x34f788[_0xf1df5f(0x255)]=_0xf1df5f(0x17a),_0x34f788[_0xf1df5f(0x211)]=_0xf1df5f(0x218);const _0x3c7f54=_0x34f788;if(!_0x37612c||!_0x37612c[_0xf1df5f(0x1a5)])return[];const _0x1c1147=[];return[_0x3c7f54['NbtOC'],_0x3c7f54[_0xf1df5f(0x1b5)],_0x3c7f54['smvsY'],_0x3c7f54[_0xf1df5f(0x211)]][_0xf1df5f(0x25f)](_0x464bf8=>{const _0x411249=_0xf1df5f,_0x3b623b=_0x37612c['parent'][_0x464bf8]||[];_0x3b623b[_0x411249(0x25f)](_0x37c38b=>{const _0x21020f=_0x411249;_0x37c38b['hookAnalyticsId']&&_0x1c1147['push'](_0x37c38b[_0x21020f(0x1fe)]);});}),[][_0xf1df5f(0x23a)](_0x1c1147,this[_0xf1df5f(0x242)](_0x37612c[_0xf1df5f(0x1a5)]));}['getHookType'](_0x158cb3){const _0x5b47f1=a4_0xc9dcdf,_0x27b63c=/^"(?<hook>.*)" hook:.*$/,_0x27eb16=_0x158cb3[_0x5b47f1(0x271)],_0x9c8c82=_0x27eb16[_0x5b47f1(0x1db)](_0x27b63c);if(_0x9c8c82&&_0x9c8c82[_0x5b47f1(0x26f)])return _0x9c8c82[_0x5b47f1(0x26f)]['hook'][_0x5b47f1(0x22a)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x3c0a37){const _0x3a3e6d=a4_0xc9dcdf,_0x414241={};_0x414241[_0x3a3e6d(0x20c)]=function(_0x3a01b6,_0x41e31e){return _0x3a01b6===_0x41e31e;},_0x414241['FEocD']=function(_0x38cd2f,_0x2cf37a){return _0x38cd2f===_0x2cf37a;},_0x414241[_0x3a3e6d(0x17e)]='.git',_0x414241[_0x3a3e6d(0x206)]=_0x3a3e6d(0x19d);const _0x414841=_0x414241,_0xa74d3e=path[_0x3a3e6d(0x1bc)];if(_0x414841['kbcQk'](_0x3c0a37,null)||_0x414841[_0x3a3e6d(0x257)](_0x3c0a37,'')||_0x414841[_0x3a3e6d(0x257)](_0x3c0a37,_0xa74d3e)||_0x414841[_0x3a3e6d(0x20c)](_0x3c0a37,path[_0x3a3e6d(0x270)](_0x3c0a37)))return null;try{return fs[_0x3a3e6d(0x24a)](path[_0x3a3e6d(0x18d)](_0x3c0a37,_0x414841[_0x3a3e6d(0x17e)],_0x414841['eRETo'])),_0x3c0a37;}catch(_0x48f8dc){const _0x4f21e2=path[_0x3a3e6d(0x270)](_0x3c0a37);return this[_0x3a3e6d(0x1de)](_0x4f21e2);}}[a4_0xc9dcdf(0x1d0)](_0x55ba8f){const _0x1146ee=a4_0xc9dcdf,_0x205709={};_0x205709[_0x1146ee(0x250)]=function(_0x3cc2a6,_0x268a5a){return _0x3cc2a6>_0x268a5a;};const _0x4ce055=_0x205709;if(_0x55ba8f[_0x1146ee(0x1bf)])return _0x55ba8f[_0x1146ee(0x1bf)];if(_0x55ba8f[_0x1146ee(0x1e9)]){const _0x5045ee=_0x55ba8f[_0x1146ee(0x1e9)][_0x1146ee(0x223)]?this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1e9)][_0x1146ee(0x223)]):null;if(_0x5045ee)return _0x5045ee;}if(_0x55ba8f[_0x1146ee(0x1a5)]){const _0x4c9f8d=this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1a5)])||(_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)]&&_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)][_0x1146ee(0x223)]?this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)][_0x1146ee(0x223)]):null);if(_0x4c9f8d)return _0x4c9f8d;_0x55ba8f['parent']['suites']&&_0x4ce055[_0x1146ee(0x250)](_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1d2)][_0x1146ee(0x253)],0x0)&&_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1d2)][_0x1146ee(0x25f)](_0x4faa6f=>{const _0x1ad513=_0x1146ee,_0xc83430=_0x4faa6f['ctx']?this[_0x1ad513(0x1d0)](_0x4faa6f['ctx']):null;if(_0xc83430)return _0xc83430;});}return null;}[a4_0xc9dcdf(0x203)](_0x1c2e56){const _0x5d6173=a4_0xc9dcdf,_0x3b28d4={};_0x3b28d4[_0x5d6173(0x1ec)]=function(_0x43caa0,_0x3ee255){return _0x43caa0!==_0x3ee255;};const _0x1e7e76=_0x3b28d4,_0x365534=[];if(_0x1c2e56&&_0x1c2e56[_0x5d6173(0x1a5)]){let _0x15ea2d=_0x1c2e56[_0x5d6173(0x1a5)];while(_0x15ea2d&&_0x1e7e76[_0x5d6173(0x1ec)](_0x15ea2d[_0x5d6173(0x271)],'')){_0x365534[_0x5d6173(0x21d)](_0x15ea2d[_0x5d6173(0x271)]),_0x15ea2d=_0x15ea2d[_0x5d6173(0x1a5)];}}return _0x365534;}[a4_0xc9dcdf(0x1f3)](_0x4d4cfc,_0x5a0de2,_0x1d95ab=undefined){const _0x401ad8=a4_0xc9dcdf,_0x480e81={'zAHnY':function(_0x5e9314,_0x5275ba){return _0x5e9314(_0x5275ba);},'HMiIi':function(_0x4f069f){return _0x4f069f();},'riGmQ':function(_0x39d43b){return _0x39d43b();},'yypkJ':_0x401ad8(0x249),'FkivL':'err','DFJCK':function(_0x1e4dc9,_0x7fda5b){return _0x1e4dc9!==_0x7fda5b;},'uVzOW':function(_0x419c77,_0x192f36){return _0x419c77!==_0x192f36;},'DtnIW':_0x401ad8(0x199),'wzfsh':_0x401ad8(0x1b3),'LSiOt':_0x401ad8(0x238),'YmDbn':_0x401ad8(0x23b),'iBGOQ':_0x401ad8(0x25b),'wihMv':_0x401ad8(0x1f2),'VqQke':function(_0xc5424d,_0x19e7e6){return _0xc5424d-_0x19e7e6;},'yleAD':function(_0x5a4561,_0xf4367e,_0x180b84,_0x54f4a4,_0x495794){return _0x5a4561(_0xf4367e,_0x180b84,_0x54f4a4,_0x495794);},'FMmjR':_0x401ad8(0x264),'dsfFW':_0x401ad8(0x189),'YRZzh':_0x401ad8(0x267),'KHKKR':_0x401ad8(0x25a),'sNZBI':_0x401ad8(0x1e5),'Ykzir':'failure_reason_expanded','cZHRB':_0x401ad8(0x1ab),'LMeyr':function(_0x78e9d6,_0x1ffced){return _0x78e9d6===_0x1ffced;},'ZrYeg':'hook_run','CLoJK':_0x401ad8(0x19c)};if(!this[_0x401ad8(0x18c)])return;try{if(_0x5a0de2['fn']&&_0x5a0de2['fn']['toString']()[_0x401ad8(0x1db)](/browserstack internal helper hook/))return;const _0x5e2cf7=_0x480e81['zAHnY'](parseEvent,_0x4d4cfc);if(!_0x5e2cf7)return;if(_0x5e2cf7[_0x401ad8(0x1e0)]){this[_0x401ad8(0x223)]=_0x5a0de2,this['currentHook']=null;if(_0x5e2cf7[_0x401ad8(0x26a)]||_0x5e2cf7[_0x401ad8(0x25b)]){_0x5a0de2[_0x401ad8(0x184)]=new Date(),_0x5a0de2[_0x401ad8(0x241)]=![];if(!_0x5a0de2[_0x401ad8(0x1ed)])_0x5a0de2[_0x401ad8(0x1ed)]=_0x480e81[_0x401ad8(0x1fd)](uuidv4);else _0x5a0de2[_0x401ad8(0x241)]&&(!_0x5a0de2[_0x401ad8(0x216)]&&(_0x5a0de2[_0x401ad8(0x216)]=_0x5a0de2[_0x401ad8(0x1ed)]),_0x5a0de2[_0x401ad8(0x1ed)]=_0x480e81[_0x401ad8(0x1fd)](uuidv4));}}else{if(_0x5e2cf7[_0x401ad8(0x200)]){this[_0x401ad8(0x187)]=_0x5a0de2;if(_0x5e2cf7['started']){_0x5a0de2['startedAt']=new Date(),_0x5a0de2[_0x401ad8(0x241)]=![];if(!_0x5a0de2[_0x401ad8(0x1fe)])_0x5a0de2[_0x401ad8(0x1fe)]=_0x480e81[_0x401ad8(0x244)](uuidv4);else _0x5a0de2['hookAnalyticsId']&&_0x5a0de2[_0x401ad8(0x241)]&&(_0x5a0de2['hookAnalyticsId']=_0x480e81[_0x401ad8(0x1fd)](uuidv4));}}}if(_0x5e2cf7[_0x401ad8(0x24b)]&&_0x5a0de2['markedStatus'])return;let _0x467081;try{_0x467081=this['getRootParentFile'](_0x5a0de2);}catch(_0x1ec550){logger[_0x401ad8(0x1e3)](_0x401ad8(0x222)+_0x1ec550),_0x467081=null;}const _0x54eae1=_0x480e81[_0x401ad8(0x21a)](require,_0x480e81['yypkJ']);let _0x291e09=[];_0x1d95ab&&(_0x291e09=[_0x1d95ab,_0x480e81[_0x401ad8(0x1ef)]]);const _0x27baf9=_0x480e81[_0x401ad8(0x1a4)](_0x5a0de2[_0x401ad8(0x194)],undefined)?_0x54eae1[_0x401ad8(0x17d)](_0x5a0de2[_0x401ad8(0x194)][0x0]):_0x480e81[_0x401ad8(0x247)](_0x1d95ab,undefined)?_0x1d95ab[_0x401ad8(0x1ac)]():undefined,_0x3473a6=_0x467081?this[_0x401ad8(0x1de)](_0x467081):null,_0x1423b9=_0x467081?this[_0x401ad8(0x1cc)]['prefixTestPath'](this[_0x401ad8(0x1d0)](_0x5a0de2)):_0x480e81[_0x401ad8(0x208)];let _0x3c5476=_0x480e81[_0x401ad8(0x1a0)];const _0x111908=!_0x5e2cf7['started']?new Date()['toISOString']():null;if(_0x5e2cf7[_0x401ad8(0x24b)])_0x3c5476=_0x1d95ab?_0x480e81[_0x401ad8(0x22c)]:_0x480e81[_0x401ad8(0x1be)],_0x5a0de2['markedStatus']=!![];else _0x5e2cf7['skipped']&&(_0x3c5476=_0x480e81[_0x401ad8(0x18e)],_0x5a0de2[_0x401ad8(0x241)]=!![]);const _0x381db3={'framework':this[_0x401ad8(0x1dc)],'uuid':_0x5a0de2[_0x401ad8(0x1ed)]||_0x5a0de2[_0x401ad8(0x1fe)],'name':_0x5a0de2[_0x401ad8(0x271)],'body':{'lang':_0x480e81[_0x401ad8(0x1a2)],'code':_0x5a0de2[_0x401ad8(0x202)][_0x401ad8(0x1ac)]()},'type':_0x5a0de2[_0x401ad8(0x275)],'scope':_0x5a0de2[_0x401ad8(0x273)](),'scopes':this[_0x401ad8(0x203)](_0x5a0de2),'file_name':_0x1423b9,'vc_filepath':_0x3473a6?path[_0x401ad8(0x26c)](_0x3473a6,_0x467081):null,'location':_0x1423b9,'result':_0x3c5476,'failure_reason':_0x27baf9,'duration_in_ms':_0x5a0de2[_0x401ad8(0x20e)]||(_0x5e2cf7[_0x401ad8(0x24b)]||_0x5e2cf7[_0x401ad8(0x25b)])?_0x480e81[_0x401ad8(0x193)](Date[_0x401ad8(0x1ba)](),new Date(_0x5a0de2['startedAt'])[_0x401ad8(0x1b4)]()):null,'started_at':new Date(_0x5a0de2[_0x401ad8(0x184)])['toISOString'](),'finished_at':_0x111908,'failure':testOpsHelper[_0x401ad8(0x1f8)][_0x401ad8(0x1ca)](null,_0x291e09),'failure_type':!_0x27baf9?null:testOpsHelper[_0x401ad8(0x182)](_0x27baf9),'retry_of':_0x5a0de2[_0x401ad8(0x216)]||null,'tags':_0x5a0de2[_0x401ad8(0x251)]||[],'customRerunParam':{'rerun_name':_0x5a0de2[_0x401ad8(0x273)]()}};_0x480e81[_0x401ad8(0x269)](appendTesthubParams,_0x381db3,_0x4d4cfc,_0x5a0de2,FRAMEWORKS['CODECEPT']);if(_0x5e2cf7[_0x401ad8(0x200)])[_0x381db3[_0x401ad8(0x237)],_0x381db3[_0x401ad8(0x1bd)]]=[this[_0x401ad8(0x234)](_0x5a0de2),_0x5a0de2[_0x401ad8(0x1e9)][_0x401ad8(0x1e0)]['title']],_0x5e2cf7[_0x401ad8(0x24b)]?_0x480e81[_0x401ad8(0x1a4)](_0x381db3[_0x401ad8(0x1e4)],_0x480e81[_0x401ad8(0x22c)])&&(_0x381db3['result']=_0x480e81['YmDbn']):_0x381db3[_0x401ad8(0x202)]={};else _0x5e2cf7[_0x401ad8(0x1e0)]&&(this[_0x401ad8(0x1c2)](_0x5a0de2),_0x5e2cf7[_0x401ad8(0x25b)]&&this['resetSkipTestHooks'](_0x5a0de2),(_0x5e2cf7['finished']||_0x5e2cf7[_0x401ad8(0x25b)])&&(_0x381db3[_0x401ad8(0x1d4)]=this[_0x401ad8(0x242)](_0x5a0de2)));this[_0x401ad8(0x195)]&&(_0x5e2cf7['started']||_0x5e2cf7[_0x401ad8(0x25b)])&&(_0x381db3[_0x480e81['FMmjR']]=this[_0x401ad8(0x1c5)](this[_0x401ad8(0x195)]));_0x5e2cf7[_0x401ad8(0x1e0)]&&_0x5e2cf7[_0x401ad8(0x24b)]&&_0x5a0de2[_0x401ad8(0x236)]&&(_0x381db3[_0x480e81['dsfFW']]={'feature':{'name':_0x5a0de2[_0x401ad8(0x1a5)][_0x401ad8(0x25e)]['name'],'path':_0x381db3[_0x401ad8(0x1e8)],'description':_0x5a0de2[_0x401ad8(0x1a5)][_0x401ad8(0x1c7)]},'scenario':{'name':_0x5a0de2[_0x401ad8(0x271)]},'steps':_0x5a0de2[_0x401ad8(0x236)]});const _0x571bb9=_0x381db3[_0x480e81['YRZzh']][0x0];_0x571bb9&&(_0x381db3[_0x480e81[_0x401ad8(0x1d1)]]=_0x571bb9[_0x480e81[_0x401ad8(0x25d)]],_0x381db3[_0x480e81[_0x401ad8(0x226)]]=_0x571bb9[_0x480e81['cZHRB']]);if(_0x5a0de2['bddSteps'])for(const _0x533b48 of _0x5a0de2[_0x401ad8(0x236)]){!_0x533b48[_0x401ad8(0x1d9)]&&(_0x533b48['finished_at']=new Date()[_0x401ad8(0x235)](),_0x480e81[_0x401ad8(0x26d)](_0x533b48[_0x401ad8(0x1e4)],_0x480e81[_0x401ad8(0x1a0)])&&(_0x571bb9?(_0x533b48[_0x401ad8(0x1e4)]=_0x480e81[_0x401ad8(0x22c)],_0x533b48[_0x401ad8(0x267)]=_0x571bb9[_0x480e81[_0x401ad8(0x25d)]][0x0]):_0x533b48[_0x401ad8(0x1e4)]=_0x480e81[_0x401ad8(0x1be)]));}const _0x44e6f5={};_0x44e6f5[_0x401ad8(0x1fb)]=_0x5e2cf7[_0x401ad8(0x25b)]?TEST_EVENTS[_0x401ad8(0x22e)]:_0x4d4cfc;const _0x61c638=_0x44e6f5;return _0x5e2cf7[_0x401ad8(0x200)]?_0x61c638[_0x480e81['ZrYeg']]=_0x381db3:_0x61c638[_0x480e81[_0x401ad8(0x1e1)]]=_0x381db3,_0x61c638;}catch(_0x4cf405){logger[_0x401ad8(0x1e3)](_0x401ad8(0x19b)+_0x4d4cfc+_0x401ad8(0x246)+_0x4cf405);}}async[a4_0xc9dcdf(0x18b)](_0x534944,_0x3a7106){const _0x52d1e5=a4_0xc9dcdf;if(!this[_0x52d1e5(0x18c)]||!_0x3a7106||!_0x534944)return![];try{return await SessionHandler[_0x52d1e5(0x24c)](_0x3a7106);}catch(_0x41ba8d){logger[_0x52d1e5(0x1e3)](_0x52d1e5(0x261)+_0x534944+_0x52d1e5(0x246)+_0x41ba8d);}}[a4_0xc9dcdf(0x1f6)](_0x554893){const _0x5a074b=a4_0xc9dcdf,_0x425941={};_0x425941[_0x5a074b(0x1dd)]=_0x5a074b(0x1b3);const _0x4bbdb3=_0x425941;return{'id':_0x554893[_0x5a074b(0x18f)],'text':_0x554893['text'],'keyword':_0x554893[_0x5a074b(0x201)],'started_at':_0x554893[_0x5a074b(0x184)]['toISOString'](),'result':_0x4bbdb3[_0x5a074b(0x1dd)]};}[a4_0xc9dcdf(0x17c)](_0x13e30e){const _0x5362fa=a4_0xc9dcdf,_0x4ff4ec={'nNsXz':function(_0xfe7a44){return _0xfe7a44();}};!this[_0x5362fa(0x223)]['bddSteps']&&(this[_0x5362fa(0x223)]['bddSteps']=[]),!_0x13e30e[_0x5362fa(0x18f)]&&(_0x13e30e[_0x5362fa(0x18f)]=_0x4ff4ec[_0x5362fa(0x22b)](uuidv4),_0x13e30e[_0x5362fa(0x184)]=new Date(),this[_0x5362fa(0x223)][_0x5362fa(0x236)][_0x5362fa(0x21d)](this['initializeBddStep'](_0x13e30e)));}[a4_0xc9dcdf(0x1fa)](_0x3b6d3b){const _0xf1276c=a4_0xc9dcdf,_0x302f51={'PGQuh':function(_0x35324c,_0x2d6391){return _0x35324c(_0x2d6391);},'zoKnr':_0xf1276c(0x21e),'VcRBc':_0xf1276c(0x1b3),'ogFAt':_0xf1276c(0x23b),'eZnPI':function(_0x2a0277,_0x421587){return _0x2a0277-_0x421587;}};let _0x34fbd7=this[_0xf1276c(0x223)][_0xf1276c(0x236)][_0xf1276c(0x221)](_0x17b51c=>_0x17b51c['id']===_0x3b6d3b[_0xf1276c(0x18f)]);_0x302f51[_0xf1276c(0x240)](isUndefined,_0x34fbd7)&&(_0x34fbd7=this[_0xf1276c(0x1f6)](_0x3b6d3b)),_0x34fbd7['result']=[_0x302f51[_0xf1276c(0x1b2)],_0x302f51[_0xf1276c(0x1e2)]][_0xf1276c(0x252)](_0x3b6d3b[_0xf1276c(0x26b)])?_0x302f51[_0xf1276c(0x1fc)]:_0x3b6d3b[_0xf1276c(0x26b)],_0x34fbd7['finished_at']=new Date()[_0xf1276c(0x235)](),_0x34fbd7[_0xf1276c(0x20e)]=_0x302f51[_0xf1276c(0x1cd)](Date[_0xf1276c(0x1ba)](),_0x3b6d3b[_0xf1276c(0x184)][_0xf1276c(0x1b4)]()),_0x34fbd7[_0xf1276c(0x267)]=_0x3b6d3b['err']?_0x3b6d3b[_0xf1276c(0x239)][_0xf1276c(0x24e)]:null;}}function a4_0x4adc(_0x37b278,_0xa06288){const _0x1ebb07=a4_0x1ebb();return a4_0x4adc=function(_0x4adc26,_0x3d9b22){_0x4adc26=_0x4adc26-0x179;let _0x2ce240=_0x1ebb07[_0x4adc26];return _0x2ce240;},a4_0x4adc(_0x37b278,_0xa06288);}const a4_0x39d8b7={};a4_0x39d8b7[a4_0xc9dcdf(0x179)]=O11yHelper,a4_0x39d8b7[a4_0xc9dcdf(0x266)]=STATE_PASSED,a4_0x39d8b7[a4_0xc9dcdf(0x274)]=STATE_FAILED,a4_0x39d8b7[a4_0xc9dcdf(0x1da)]=TEST_EVENTS,module[a4_0xc9dcdf(0x1c1)]=a4_0x39d8b7;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x406ee2=a5_0x5992;(function(_0x5ac39e,_0x5d712d){const _0x4909f3=a5_0x5992,_0x4fd885=_0x5ac39e();while(!![]){try{const _0xa9fe65=parseInt(_0x4909f3(0x102))/0x1*(-parseInt(_0x4909f3(0xfc))/0x2)+parseInt(_0x4909f3(0x138))/0x3*(parseInt(_0x4909f3(0xe6))/0x4)+-parseInt(_0x4909f3(0xe2))/0x5*(parseInt(_0x4909f3(0x100))/0x6)+parseInt(_0x4909f3(0x142))/0x7*(parseInt(_0x4909f3(0x10b))/0x8)+parseInt(_0x4909f3(0x11d))/0x9*(parseInt(_0x4909f3(0xf6))/0xa)+-parseInt(_0x4909f3(0xe4))/0xb*(parseInt(_0x4909f3(0x114))/0xc)+-parseInt(_0x4909f3(0xef))/0xd*(-parseInt(_0x4909f3(0x105))/0xe);if(_0xa9fe65===_0x5d712d)break;else _0x4fd885['push'](_0x4fd885['shift']());}catch(_0x29a416){_0x4fd885['push'](_0x4fd885['shift']());}}}(a5_0x13e8,0x2f9c9));const fs=require('fs'),path=require(a5_0x406ee2(0x13b)),util=require('util'),logger=require(a5_0x406ee2(0x10c))[a5_0x406ee2(0x130)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a5_0x406ee2(0x11a)),constants=require(a5_0x406ee2(0x14d)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x406ee2(0x10e)),testOpsHelper=require(a5_0x406ee2(0xfe)),chalk=require('chalk'),PerformanceTester=require(a5_0x406ee2(0x13a)),PerformanceEvents=require(a5_0x406ee2(0xe5))[a5_0x406ee2(0xe9)];function a5_0x5992(_0x180771,_0x1236fb){const _0x13e8df=a5_0x13e8();return a5_0x5992=function(_0x5992dd,_0x1693f1){_0x5992dd=_0x5992dd-0xdc;let _0x2ea601=_0x13e8df[_0x5992dd];return _0x2ea601;},a5_0x5992(_0x180771,_0x1236fb);}function printCucumberStats(_0x5ef5d2){const _0x2c9bb7=a5_0x406ee2,_0x52c32c={};_0x52c32c[_0x2c9bb7(0xff)]=function(_0x198844,_0x5f43da){return _0x198844>_0x5f43da;},_0x52c32c['SOTpY']=function(_0x35e2ca,_0xa229d9){return _0x35e2ca-_0xa229d9;},_0x52c32c[_0x2c9bb7(0x126)]=function(_0x1fd4dc,_0x44e34d){return _0x1fd4dc>_0x44e34d;},_0x52c32c[_0x2c9bb7(0x10d)]=function(_0x341dde,_0x384c04){return _0x341dde>_0x384c04;},_0x52c32c[_0x2c9bb7(0x10a)]=function(_0x5e8029,_0x489d83){return _0x5e8029>_0x489d83;},_0x52c32c['lJABT']=function(_0x42ca3d,_0x4a8449){return _0x42ca3d>_0x4a8449;},_0x52c32c[_0x2c9bb7(0xf4)]=function(_0x53d425,_0x36da66){return _0x53d425>_0x36da66;},_0x52c32c[_0x2c9bb7(0x13c)]=function(_0x665f09,_0x3f1e37){return _0x665f09>_0x3f1e37;},_0x52c32c['VdNMj']=function(_0x35f4ee,_0x4dada1){return _0x35f4ee>_0x4dada1;},_0x52c32c[_0x2c9bb7(0x115)]=function(_0x1863b5,_0x33f0c4){return _0x1863b5+_0x33f0c4;},_0x52c32c[_0x2c9bb7(0x11e)]=function(_0x3c46db,_0x345106){return _0x3c46db+_0x345106;},_0x52c32c[_0x2c9bb7(0xe1)]=function(_0x26afe3,_0x2882ff){return _0x26afe3+_0x2882ff;},_0x52c32c['TircU']=function(_0x59859e,_0x2e867b){return _0x59859e===_0x2e867b;},_0x52c32c[_0x2c9bb7(0xf5)]=_0x2c9bb7(0x149);const _0xe6e758=_0x52c32c;let _0x1a42a7=0x0;if(_0xe6e758['TircU'](_0x5ef5d2[_0x2c9bb7(0x113)],0x0))return _0x1a42a7;return console['log'](chalk[_0x2c9bb7(0x124)][_0x2c9bb7(0x136)](_0xe6e758[_0x2c9bb7(0xf5)])),_0x5ef5d2[_0x2c9bb7(0x107)](_0x52e66d=>{const _0x29e18c=_0x2c9bb7,_0x357554=_0x52e66d[0x0],_0x21b347=_0x52e66d[0x1];console['log']('\x0a'+chalk[_0x29e18c(0x124)][_0x29e18c(0x103)](''+helper[_0x29e18c(0x10f)](_0x357554)));const _0x42c2b3=_0x21b347[_0x29e18c(0x152)],_0x107fb4=_0x21b347[_0x29e18c(0xf9)],_0xa05d20=_0x21b347[_0x29e18c(0x145)],_0x15fb80=_0x21b347[_0x29e18c(0xf7)],_0xf6d217=_0x21b347['stepsPassed'],_0xa05627=_0x21b347['stepsSkipped'],_0x2740c5=_0x21b347[_0x29e18c(0xe8)],_0x477bc7=_0x21b347['stepsUndefined'],_0x11cedc=_0x21b347[_0x29e18c(0x14a)],_0x475a69=_0x21b347[_0x29e18c(0x141)],_0x6f2a38=_0x21b347[_0x29e18c(0x123)];let _0x87b611=_0x42c2b3+_0x29e18c(0x112);const _0x4d542e=_0xe6e758[_0x29e18c(0xff)](_0xe6e758[_0x29e18c(0x122)](_0x42c2b3,_0xa05d20),0x0)?_0xe6e758[_0x29e18c(0x122)](_0x42c2b3,_0xa05d20):0x0;if(_0xe6e758[_0x29e18c(0xff)](_0xa05d20,0x0)&&_0xe6e758[_0x29e18c(0xff)](_0x4d542e,0x0))_0x87b611+='\x20('+chalk[_0x29e18c(0x124)]['red'](_0xa05d20+_0x29e18c(0xec))+',\x20'+chalk[_0x29e18c(0x124)]['green'](_0x4d542e+_0x29e18c(0xdf))+')';else(_0xe6e758[_0x29e18c(0x126)](_0xa05d20,0x0)||_0xe6e758[_0x29e18c(0x126)](_0x4d542e,0x0))&&(_0x87b611+=_0xe6e758[_0x29e18c(0x10d)](_0xa05d20,0x0)?'\x20('+chalk[_0x29e18c(0x124)][_0x29e18c(0x118)](_0xa05d20+_0x29e18c(0xec))+')':'\x20('+chalk[_0x29e18c(0x124)][_0x29e18c(0x110)](_0x4d542e+_0x29e18c(0xdf))+')');const _0xd3e525=_0x107fb4+_0x29e18c(0x13d),_0x23e25a=[];_0xe6e758['lSfvi'](_0x475a69,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk[_0x29e18c(0x124)]['red'](_0x475a69+_0x29e18c(0x14b)));_0xe6e758[_0x29e18c(0xdd)](_0x15fb80,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk[_0x29e18c(0x124)][_0x29e18c(0x118)](_0x15fb80+_0x29e18c(0xec)));_0xe6e758[_0x29e18c(0xf4)](_0xf6d217,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk['bold']['green'](_0xf6d217+_0x29e18c(0xdf)));_0xe6e758[_0x29e18c(0x13c)](_0x2740c5,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk[_0x29e18c(0x124)][_0x29e18c(0x103)](_0x2740c5+_0x29e18c(0x127)));_0xe6e758[_0x29e18c(0x109)](_0xa05627,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk[_0x29e18c(0x124)][_0x29e18c(0xea)](_0xa05627+'\x20skipped'));_0xe6e758['VdNMj'](_0x477bc7,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk[_0x29e18c(0x124)][_0x29e18c(0x103)](_0x477bc7+_0x29e18c(0x14e)));_0xe6e758[_0x29e18c(0x10a)](_0x11cedc,0x0)&&_0x23e25a[_0x29e18c(0x132)](''+chalk['bold']['yellow'](_0x11cedc+'\x20skipped'));const _0x2b1e6f=_0xe6e758[_0x29e18c(0x115)](_0xe6e758[_0x29e18c(0x115)](_0xe6e758[_0x29e18c(0x115)](_0xd3e525,'('),_0x23e25a[_0x29e18c(0x11c)](',\x20')),')');console[_0x29e18c(0x12e)](_0xe6e758[_0x29e18c(0x115)](_0xe6e758[_0x29e18c(0x11e)](_0xe6e758[_0x29e18c(0xe1)](_0xe6e758[_0x29e18c(0x115)]('\x0a',_0x87b611),'\x0a'),_0x2b1e6f),'\x0a')),_0xe6e758[_0x29e18c(0x14f)](_0x6f2a38,![])&&(_0x1a42a7=0x1);}),_0x1a42a7;}function a5_0x13e8(){const _0x135c76=['exitCode','config','format','stepsAmbiguous','35PZxwoL','DtRgJ','Generating\x20consolidated\x20report...','scenariosFailed','VUssx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getHubUrl','****\x20RESULTS\x20****','stepsUnknown','\x20ambiguous','end','../utils/constants','\x20undefined','TircU','isUndefined','SDK_CLEANUP','scenarios','testObservability','lJABT','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20passed','getTCGConfigFilePaths','MKOuW','325YcXVoC','createDir','3201NTYqku','../../helpers/performance/constants','6884cXOtxD','framework','stepsPending','EVENTS','cyan','stop','\x20failed','SgZJd','parseFormatters','1298414YjArew','finalExecution','setupTCGAuth','error\x20removing\x20tcg\x20config\x20file','VOldk','rbGTb','TSWXi','20ICcHFG','stepsFailed','getUserWorkerCount','steps','start','env','68YLQpBx','rmdirSync','../../helpers/test-observability/utils','MSLBM','35442mwLRsX','mergeOutputFiles','2412seXRGR','yellow','tmp','14JxlKgz','Removing\x20tmp\x20directory\x20created\x20for\x20reports','forEach','unlinkSync','VdNMj','lSfvi','430264MfZzql','../../helpers/logger','AsiJM','../../helpers/testhub/testhubHandler','getPlatformName','green','prepareCapabilities','\x20scenarios','length','5592mWnPEt','nFePQ','true','FDgbW','red','accessibilityOptions','../../helpers/utilities','turboScaleUrl','join','941517IXtqOC','HaMsi','testContextOptions','setUserConfigPath','skipSessionName','SOTpY','processSuccess','bold','skipSessionStatus','UaVBu','\x20pending','QYLNe','removeDir','CUCUMBER','SDK_SETUP','dnKTp','cucumber-js','log','stringify','winstonLogger','nDgsZ','push','printBuildLink','debug','FRAMEWORKS','bgWhite','launchBuild','381mxadwO','getErrorMessageFromResults','../../helpers/performance/performance-tester','path','bzhmm','\x20steps'];a5_0x13e8=function(){return _0x135c76;};return a5_0x13e8();}async function run(_0x2b0477,_0x3567ea){const _0x1fccda=a5_0x406ee2,_0x43dba9={'nDgsZ':function(_0x46ef8a,_0xb763d7){return _0x46ef8a(_0xb763d7);},'aogow':function(_0x5c6495,_0x2a19e2){return _0x5c6495>_0x2a19e2;},'VKHZp':_0x1fccda(0x144),'VUssx':_0x1fccda(0x106),'FDgbW':'cucumber','BMRsF':_0x1fccda(0xf2),'QYLNe':_0x1fccda(0x12d),'NfCqi':_0x1fccda(0x104),'VOldk':function(_0x20a65e,_0x33a5a0){return _0x20a65e>_0x33a5a0;},'DtRgJ':function(_0xed9a1e,_0x746f2d){return _0xed9a1e-_0x746f2d;},'oFNap':function(_0x4c55de,_0x40c84d){return _0x4c55de>=_0x40c84d;},'SgZJd':function(_0x131b2a,_0x37fef5){return _0x131b2a!=_0x37fef5;},'dnKTp':_0x1fccda(0x116),'OLpiu':function(_0x429480,_0x2e01bf,_0x1b815b,_0x48e03e,_0x17e331,_0x2b6152){return _0x429480(_0x2e01bf,_0x1b815b,_0x48e03e,_0x17e331,_0x2b6152);}},_0x517088=new BrowserStackSetup(_0x2b0477,_0x43dba9[_0x1fccda(0x128)]);await _0x517088['initialize'](),helper[_0x1fccda(0x120)](_0x517088[_0x1fccda(0xe7)],_0x2b0477);!helper['isBrowserstackInfra']()&&await _0x517088[_0x1fccda(0xf1)]();await helper['handleApp'](_0x517088[_0x1fccda(0x13f)]);const _0x25e782=helper['useW3C'](_0x517088['config']),_0x34a855=helper[_0x1fccda(0x111)](_0x517088[_0x1fccda(0x13f)],_0x25e782,constants[_0x1fccda(0x135)][_0x1fccda(0x12a)]);if(!_0x517088[_0x1fccda(0x13f)])return;const _0x56dd05=_0x517088[_0x1fccda(0x13f)]['parallelsPerPlatform']||helper[_0x1fccda(0xf8)](_0x2b0477,_0x3567ea,_0x517088[_0x1fccda(0x13f)],constants[_0x1fccda(0x135)][_0x1fccda(0x12a)])||0x1,_0x366964={'server':helper[_0x1fccda(0x148)](_0x517088[_0x1fccda(0x13f)]),'proxySettings':_0x517088['config']['proxySettings'],'maxWorkers':_0x56dd05,'browserStackLogLevel':_0x517088[_0x1fccda(0x13f)]['logLevel'],'skipSessionName':_0x517088[_0x1fccda(0x13f)][_0x1fccda(0x11f)][_0x1fccda(0x121)],'skipSessionStatus':_0x517088[_0x1fccda(0x13f)][_0x1fccda(0x11f)][_0x1fccda(0x125)],'turboScaleUrl':_0x517088[_0x1fccda(0x13f)][_0x1fccda(0x11b)]},_0x49c6c5=process['argv'],[_0x23b155,_0x32e2c3]=helper[_0x1fccda(0xee)](_0x49c6c5),_0x525df0=path[_0x1fccda(0x11c)](process['cwd'](),_0x43dba9['NfCqi']);if(_0x43dba9[_0x1fccda(0xf3)](_0x32e2c3[_0x1fccda(0x113)],0x0)){helper[_0x1fccda(0xe3)](_0x525df0);for(let _0x2f9190=_0x43dba9[_0x1fccda(0x143)](_0x23b155[_0x1fccda(0x113)],0x1);_0x43dba9['oFNap'](_0x2f9190,0x0);_0x2f9190--){_0x49c6c5['splice'](_0x23b155[_0x2f9190],0x2);}}!helper[_0x1fccda(0x150)](_0x517088[_0x1fccda(0x13f)][_0x1fccda(0x119)])&&(process['env'][_0x1fccda(0x147)]=JSON[_0x1fccda(0x12f)](_0x517088[_0x1fccda(0x13f)][_0x1fccda(0x119)]));_0x43dba9[_0x1fccda(0xed)](_0x517088[_0x1fccda(0x13f)][_0x1fccda(0xdc)],null)?process['env'][_0x1fccda(0xde)]=_0x517088[_0x1fccda(0x13f)]['testObservability']:process[_0x1fccda(0xfb)][_0x1fccda(0xde)]=_0x43dba9[_0x1fccda(0x12c)];const _0x5cab6d=await TestHubHandler[_0x1fccda(0x137)](constants[_0x1fccda(0x135)][_0x1fccda(0x12a)],_0x517088);PerformanceTester[_0x1fccda(0x14c)](PerformanceEvents[_0x1fccda(0x12b)]);let _0x59236d;_0x43dba9['OLpiu'](parallelCucumberRun,_0x34a855,_0x366964,_0x517088['config'],_0x49c6c5,_0x32e2c3)['then'](async _0x2e6287=>{const _0x3dd783=_0x1fccda;PerformanceTester['start'](PerformanceEvents[_0x3dd783(0x151)]),_0x59236d=_0x2e6287;const _0x20c7bd=_0x43dba9[_0x3dd783(0x131)](printCucumberStats,_0x2e6287);process[_0x3dd783(0x13e)]=_0x20c7bd,_0x43dba9['aogow'](_0x32e2c3[_0x3dd783(0x113)],0x0)&&(logger[_0x3dd783(0x134)](_0x43dba9['VKHZp']),helper[_0x3dd783(0x101)](_0x525df0,_0x32e2c3),logger[_0x3dd783(0x134)](_0x43dba9[_0x3dd783(0x146)]),helper[_0x3dd783(0x129)](_0x525df0));})['finally'](async()=>{const _0xbcaf4b=_0x1fccda;PerformanceTester[_0xbcaf4b(0xfa)](PerformanceEvents['SDK_CLEANUP']),_0x517088['errorMessage']=helper[_0xbcaf4b(0x139)](_0x59236d,_0x43dba9[_0xbcaf4b(0x117)]),testOpsHelper[_0xbcaf4b(0x133)]();try{await TestHubHandler[_0xbcaf4b(0xeb)]();}catch(_0x198078){logger[_0xbcaf4b(0x134)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0xbcaf4b(0x140)](_0x198078));}try{const {browserstackFolderPath:_0x5cf328,tcgConfigPath:_0x2fbcdd}=helper[_0xbcaf4b(0xe0)]();fs[_0xbcaf4b(0x108)](_0x2fbcdd),fs[_0xbcaf4b(0xfd)](_0x5cf328);}catch(_0x2f2b54){logger[_0xbcaf4b(0x134)](_0x43dba9['BMRsF'],_0x2f2b54);}await utilities[_0xbcaf4b(0xf0)](_0x517088);});}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0x37d3e0=a5_0x1097;function a5_0xd49b(){const _0x505a0e=['stepsFailed','push','errorMessage','splice','CUCUMBER','\x20pending','yellow','../../helpers/utilities','15113nvPJle','9hnnEpk','bnvxI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','\x20skipped','error\x20removing\x20tcg\x20config\x20file','QAuXR','getUserWorkerCount','skipSessionStatus','cwd','isBrowserstackInfra','true','logLevel','lZFwz','red','prepareCapabilities','createDir','WHOKe','getPlatformName','useW3C','stop','path','****\x20RESULTS\x20****','isUndefined','QgUKj','handleApp','../test-runner','turboScaleUrl','end','tmp','SDK_SETUP','\x20undefined','178xactxQ','EdXeH','accessibilityOptions','../../helpers/BrowserStackSetup','bgWhite','Jkovj','411152kElbZI','exitCode','\x20failed','initialize','tLdFg','3437148QVSMve','../../helpers/testhub/testhubHandler','stepsPending','61527BBorEz','unlinkSync','bold','Removing\x20tmp\x20directory\x20created\x20for\x20reports','EVENTS','../../helpers/performance/constants','2335730SHshSh','util','scenarios','CJLyc','BROWSERSTACK_TEST_OBSERVABILITY_YML','8jGIEFT','then','debug','cucumber-js','length','HCgUa','4591BRYevO','gBrWi','start','scenariosFailed','euWcy','tmHAv','stringify','cucumber','WkFOZ','testContextOptions','FRAMEWORKS','stepsAmbiguous','env','winstonLogger','1684870sTuUYI','../../helpers/performance/performance-tester','argv','setupTCGAuth','stepsUndefined','removeDir','\x20passed','KVoPa','framework','VlkSo','skipSessionName','tBiOt','SDK_CLEANUP','nbWMw','gxnyi','BkyHi','config','printBuildLink','testObservability','cyan','green','\x20scenarios','zPcCn','getTCGConfigFilePaths','log','AOIMZ','390wZTVsQ','stepsUnknown','jKhRY','proxySettings','rbdOe','OxtzZ'];a5_0xd49b=function(){return _0x505a0e;};return a5_0xd49b();}(function(_0x5df4b5,_0x4be14e){const _0x3120ca=a5_0x1097,_0x1179ad=_0x5df4b5();while(!![]){try{const _0x1ce67a=-parseInt(_0x3120ca(0x181))/0x1*(-parseInt(_0x3120ca(0x162))/0x2)+-parseInt(_0x3120ca(0x170))/0x3*(-parseInt(_0x3120ca(0x17b))/0x4)+-parseInt(_0x3120ca(0x18f))/0x5+-parseInt(_0x3120ca(0x1a9))/0x6*(-parseInt(_0x3120ca(0x1b7))/0x7)+parseInt(_0x3120ca(0x168))/0x8*(parseInt(_0x3120ca(0x1b8))/0x9)+parseInt(_0x3120ca(0x176))/0xa+-parseInt(_0x3120ca(0x16d))/0xb;if(_0x1ce67a===_0x4be14e)break;else _0x1179ad['push'](_0x1179ad['shift']());}catch(_0xba590c){_0x1179ad['push'](_0x1179ad['shift']());}}}(a5_0xd49b,0x370c5));function a5_0x1097(_0x2b632e,_0x5373ad){const _0xd49b6b=a5_0xd49b();return a5_0x1097=function(_0x10970b,_0x3d730a){_0x10970b=_0x10970b-0x15f;let _0x35e4a7=_0xd49b6b[_0x10970b];return _0x35e4a7;},a5_0x1097(_0x2b632e,_0x5373ad);}const fs=require('fs'),path=require(a5_0x37d3e0(0x1cd)),util=require(a5_0x37d3e0(0x177)),logger=require('../../helpers/logger')[a5_0x37d3e0(0x18e)],{default:BrowserStackSetup}=require(a5_0x37d3e0(0x165)),helper=require('../../helpers/helper'),utilities=require(a5_0x37d3e0(0x1b6)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x37d3e0(0x1d2)),TestHubHandler=require(a5_0x37d3e0(0x16e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require(a5_0x37d3e0(0x190)),PerformanceEvents=require(a5_0x37d3e0(0x175))[a5_0x37d3e0(0x174)];function printCucumberStats(_0x14ec18){const _0x3b612c=a5_0x37d3e0,_0x59900f={};_0x59900f['tBiOt']=function(_0x1cf32d,_0x50dbff){return _0x1cf32d>_0x50dbff;},_0x59900f[_0x3b612c(0x186)]=function(_0x408449,_0x5a15a7){return _0x408449-_0x5a15a7;},_0x59900f[_0x3b612c(0x185)]=function(_0x212c6a,_0x34e84c){return _0x212c6a-_0x34e84c;},_0x59900f[_0x3b612c(0x198)]=function(_0x3fcd47,_0x2a53e3){return _0x3fcd47>_0x2a53e3;},_0x59900f['AimNy']=function(_0x458978,_0xf8ac9e){return _0x458978>_0xf8ac9e;},_0x59900f[_0x3b612c(0x1c9)]=function(_0xaecdc6,_0x575c97){return _0xaecdc6>_0x575c97;},_0x59900f[_0x3b612c(0x19d)]=function(_0xdcf636,_0x23b982){return _0xdcf636>_0x23b982;},_0x59900f[_0x3b612c(0x1b9)]=function(_0x4cc1a5,_0x3f84fd){return _0x4cc1a5>_0x3f84fd;},_0x59900f[_0x3b612c(0x19e)]=function(_0x5655dd,_0x4fa966){return _0x5655dd>_0x4fa966;},_0x59900f[_0x3b612c(0x16c)]=function(_0x8d4f2a,_0x203bab){return _0x8d4f2a>_0x203bab;},_0x59900f['uDMny']=function(_0x3a30a3,_0x63b945){return _0x3a30a3>_0x63b945;},_0x59900f[_0x3b612c(0x196)]=function(_0x3499ee,_0x26f8ea){return _0x3499ee+_0x26f8ea;},_0x59900f[_0x3b612c(0x1c5)]=function(_0xcc3686,_0x2f3bae){return _0xcc3686+_0x2f3bae;},_0x59900f[_0x3b612c(0x179)]=function(_0x82052d,_0x194d97){return _0x82052d+_0x194d97;},_0x59900f[_0x3b612c(0x1ae)]=function(_0xa1704f,_0x3e0b52){return _0xa1704f===_0x3e0b52;},_0x59900f[_0x3b612c(0x1d0)]=_0x3b612c(0x1ce);const _0x4b9c04=_0x59900f;let _0xc8662b=0x0;if(_0x4b9c04[_0x3b612c(0x1ae)](_0x14ec18['length'],0x0))return _0xc8662b;return console[_0x3b612c(0x1a7)](chalk[_0x3b612c(0x172)][_0x3b612c(0x166)](_0x4b9c04[_0x3b612c(0x1d0)])),_0x14ec18['forEach'](_0x14d554=>{const _0x3e54dd=_0x3b612c,_0x1b2b3d=_0x14d554[0x0],_0x8d8f23=_0x14d554[0x1];console[_0x3e54dd(0x1a7)]('\x0a'+chalk['bold'][_0x3e54dd(0x1b5)](''+helper[_0x3e54dd(0x1ca)](_0x1b2b3d)));const _0x716d26=_0x8d8f23[_0x3e54dd(0x178)],_0x45d0de=_0x8d8f23['steps'],_0x902dd4=_0x8d8f23[_0x3e54dd(0x184)],_0x3f6572=_0x8d8f23[_0x3e54dd(0x1af)],_0x53fdd9=_0x8d8f23['stepsPassed'],_0x342db2=_0x8d8f23['stepsSkipped'],_0x2c82a6=_0x8d8f23[_0x3e54dd(0x16f)],_0x7641b4=_0x8d8f23[_0x3e54dd(0x193)],_0x207590=_0x8d8f23[_0x3e54dd(0x1aa)],_0x117edc=_0x8d8f23[_0x3e54dd(0x18c)],_0x23f73b=_0x8d8f23['processSuccess'];let _0x263300=_0x716d26+_0x3e54dd(0x1a4);const _0x25cb9c=_0x4b9c04['tBiOt'](_0x4b9c04[_0x3e54dd(0x186)](_0x716d26,_0x902dd4),0x0)?_0x4b9c04[_0x3e54dd(0x185)](_0x716d26,_0x902dd4):0x0;if(_0x4b9c04[_0x3e54dd(0x198)](_0x902dd4,0x0)&&_0x4b9c04['AimNy'](_0x25cb9c,0x0))_0x263300+='\x20('+chalk['bold'][_0x3e54dd(0x1c6)](_0x902dd4+_0x3e54dd(0x16a))+',\x20'+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a3)](_0x25cb9c+_0x3e54dd(0x195))+')';else(_0x4b9c04[_0x3e54dd(0x19a)](_0x902dd4,0x0)||_0x4b9c04[_0x3e54dd(0x1c9)](_0x25cb9c,0x0))&&(_0x263300+=_0x4b9c04['VlkSo'](_0x902dd4,0x0)?'\x20('+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x902dd4+_0x3e54dd(0x16a))+')':'\x20('+chalk[_0x3e54dd(0x172)]['green'](_0x25cb9c+'\x20passed')+')');const _0xa1a4c7=_0x45d0de+'\x20steps',_0x5bcc22=[];_0x4b9c04[_0x3e54dd(0x198)](_0x117edc,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x117edc+'\x20ambiguous'));_0x4b9c04[_0x3e54dd(0x19d)](_0x3f6572,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x3f6572+_0x3e54dd(0x16a)));_0x4b9c04['AimNy'](_0x53fdd9,0x0)&&_0x5bcc22['push'](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a3)](_0x53fdd9+_0x3e54dd(0x195)));_0x4b9c04['bnvxI'](_0x2c82a6,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1b5)](_0x2c82a6+_0x3e54dd(0x1b4)));_0x4b9c04[_0x3e54dd(0x19e)](_0x342db2,0x0)&&_0x5bcc22['push'](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a2)](_0x342db2+_0x3e54dd(0x1bc)));_0x4b9c04[_0x3e54dd(0x16c)](_0x7641b4,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1b5)](_0x7641b4+_0x3e54dd(0x161)));_0x4b9c04['uDMny'](_0x207590,0x0)&&_0x5bcc22['push'](''+chalk['bold']['yellow'](_0x207590+_0x3e54dd(0x1bc)));const _0x28607d=_0x4b9c04[_0x3e54dd(0x196)](_0x4b9c04[_0x3e54dd(0x196)](_0x4b9c04[_0x3e54dd(0x196)](_0xa1a4c7,'('),_0x5bcc22['join'](',\x20')),')');console[_0x3e54dd(0x1a7)](_0x4b9c04['lZFwz'](_0x4b9c04[_0x3e54dd(0x1c5)](_0x4b9c04[_0x3e54dd(0x179)](_0x4b9c04[_0x3e54dd(0x196)]('\x0a',_0x263300),'\x0a'),_0x28607d),'\x0a')),_0x4b9c04[_0x3e54dd(0x1ae)](_0x23f73b,![])&&(_0xc8662b=0x1);}),_0xc8662b;}async function run(_0x3b21d5,_0x265a98){const _0x2aacd2=a5_0x37d3e0,_0x539f6a={'nbWMw':function(_0x50f5b1,_0x2ede70){return _0x50f5b1(_0x2ede70);},'rbdOe':function(_0x4c5d59,_0x53a038){return _0x4c5d59>_0x53a038;},'Jkovj':'Generating\x20consolidated\x20report...','sjYok':_0x2aacd2(0x173),'AhCef':_0x2aacd2(0x188),'uflKo':_0x2aacd2(0x1bd),'AOIMZ':_0x2aacd2(0x17e),'gBrWi':_0x2aacd2(0x15f),'WkFOZ':function(_0x229084,_0x1e006d){return _0x229084>_0x1e006d;},'HCgUa':function(_0x36674d,_0x44ef76){return _0x36674d-_0x44ef76;},'zPcCn':function(_0x40f961,_0x58c7de){return _0x40f961>=_0x58c7de;},'QAuXR':function(_0x1afb1f,_0x41689a){return _0x1afb1f!=_0x41689a;},'EdXeH':_0x2aacd2(0x1c3),'jKhRY':function(_0x2bed07,_0x1f586c,_0x4a3dab,_0x4a21ac,_0x384351,_0x42a1dd){return _0x2bed07(_0x1f586c,_0x4a3dab,_0x4a21ac,_0x384351,_0x42a1dd);}},_0x2008ea=new BrowserStackSetup(_0x3b21d5,_0x539f6a[_0x2aacd2(0x1a8)]);await _0x2008ea[_0x2aacd2(0x16b)](),helper['setUserConfigPath'](_0x2008ea[_0x2aacd2(0x197)],_0x3b21d5);!helper[_0x2aacd2(0x1c2)]()&&await _0x2008ea[_0x2aacd2(0x192)]();await helper[_0x2aacd2(0x1d1)](_0x2008ea[_0x2aacd2(0x19f)]);const _0x5df627=helper[_0x2aacd2(0x1cb)](_0x2008ea[_0x2aacd2(0x19f)]),_0x53c68a=helper[_0x2aacd2(0x1c7)](_0x2008ea[_0x2aacd2(0x19f)],_0x5df627,constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)]);if(!_0x2008ea['config'])return;const _0x2b4f38=_0x2008ea[_0x2aacd2(0x19f)]['parallelsPerPlatform']||helper[_0x2aacd2(0x1bf)](_0x3b21d5,_0x265a98,_0x2008ea[_0x2aacd2(0x19f)],constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)])||0x1,_0x119126={'server':helper['getHubUrl'](_0x2008ea[_0x2aacd2(0x19f)]),'proxySettings':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1ac)],'maxWorkers':_0x2b4f38,'browserStackLogLevel':_0x2008ea['config'][_0x2aacd2(0x1c4)],'skipSessionName':_0x2008ea[_0x2aacd2(0x19f)]['testContextOptions'][_0x2aacd2(0x199)],'skipSessionStatus':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x18a)][_0x2aacd2(0x1c0)],'turboScaleUrl':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1d3)]},_0x90b526=process[_0x2aacd2(0x191)],[_0x25857e,_0x3abd48]=helper['parseFormatters'](_0x90b526),_0x3bbb99=path['join'](process[_0x2aacd2(0x1c1)](),_0x539f6a[_0x2aacd2(0x182)]);if(_0x539f6a[_0x2aacd2(0x189)](_0x3abd48['length'],0x0)){helper[_0x2aacd2(0x1c8)](_0x3bbb99);for(let _0x5c81c1=_0x539f6a[_0x2aacd2(0x180)](_0x25857e[_0x2aacd2(0x17f)],0x1);_0x539f6a[_0x2aacd2(0x1a5)](_0x5c81c1,0x0);_0x5c81c1--){_0x90b526[_0x2aacd2(0x1b2)](_0x25857e[_0x5c81c1],0x2);}}!helper[_0x2aacd2(0x1cf)](_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x164)])&&(process[_0x2aacd2(0x18d)][_0x2aacd2(0x1ba)]=JSON[_0x2aacd2(0x187)](_0x2008ea['config']['accessibilityOptions']));_0x539f6a[_0x2aacd2(0x1be)](_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1a1)],null)?process[_0x2aacd2(0x18d)][_0x2aacd2(0x17a)]=_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1a1)]:process[_0x2aacd2(0x18d)][_0x2aacd2(0x17a)]=_0x539f6a[_0x2aacd2(0x163)];const _0x397437=await TestHubHandler['launchBuild'](constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)],_0x2008ea);PerformanceTester[_0x2aacd2(0x1d4)](PerformanceEvents[_0x2aacd2(0x160)]);let _0x26ea63;_0x539f6a[_0x2aacd2(0x1ab)](parallelCucumberRun,_0x53c68a,_0x119126,_0x2008ea[_0x2aacd2(0x19f)],_0x90b526,_0x3abd48)[_0x2aacd2(0x17c)](async _0x5b2d2d=>{const _0x4cc6cb=_0x2aacd2;PerformanceTester[_0x4cc6cb(0x183)](PerformanceEvents['SDK_CLEANUP']),_0x26ea63=_0x5b2d2d;const _0x3533ee=_0x539f6a[_0x4cc6cb(0x19c)](printCucumberStats,_0x5b2d2d);process[_0x4cc6cb(0x169)]=_0x3533ee,_0x539f6a[_0x4cc6cb(0x1ad)](_0x3abd48['length'],0x0)&&(logger[_0x4cc6cb(0x17d)](_0x539f6a[_0x4cc6cb(0x167)]),helper['mergeOutputFiles'](_0x3bbb99,_0x3abd48),logger[_0x4cc6cb(0x17d)](_0x539f6a['sjYok']),helper[_0x4cc6cb(0x194)](_0x3bbb99));})['finally'](async()=>{const _0x13640a=_0x2aacd2;PerformanceTester['start'](PerformanceEvents[_0x13640a(0x19b)]),_0x2008ea[_0x13640a(0x1b1)]=helper['getErrorMessageFromResults'](_0x26ea63,_0x539f6a['AhCef']),testOpsHelper[_0x13640a(0x1a0)]();try{await TestHubHandler[_0x13640a(0x1cc)]();}catch(_0x598a10){logger[_0x13640a(0x17d)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x598a10));}try{const {browserstackFolderPath:_0x5bf98d,tcgConfigPath:_0x3d5375}=helper[_0x13640a(0x1a6)]();fs[_0x13640a(0x171)](_0x3d5375),fs['rmdirSync'](_0x5bf98d);}catch(_0xefb9a){logger[_0x13640a(0x17d)](_0x539f6a['uflKo'],_0xefb9a);}await utilities['finalExecution'](_0x2008ea);});}module[a5_0x37d3e0(0x1bb)]=run;
|