browserstack-node-sdk 1.34.51 → 1.34.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/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_0x302636=a1_0x2612;function a1_0x2612(_0x5e4e3b,_0xcf0075){const _0x155cf6=a1_0x155c();return a1_0x2612=function(_0x261202,_0x158fd6){_0x261202=_0x261202-0x17d;let _0x4d1ab7=_0x155cf6[_0x261202];return _0x4d1ab7;},a1_0x2612(_0x5e4e3b,_0xcf0075);}(function(_0x27cc10,_0x3e704a){const _0x13c6e4=a1_0x2612,_0x280841=_0x27cc10();while(!![]){try{const _0x5d3070=parseInt(_0x13c6e4(0x1e0))/0x1+-parseInt(_0x13c6e4(0x1e5))/0x2+parseInt(_0x13c6e4(0x245))/0x3*(-parseInt(_0x13c6e4(0x1cc))/0x4)+parseInt(_0x13c6e4(0x229))/0x5+-parseInt(_0x13c6e4(0x243))/0x6*(parseInt(_0x13c6e4(0x1ef))/0x7)+-parseInt(_0x13c6e4(0x228))/0x8+parseInt(_0x13c6e4(0x1f9))/0x9;if(_0x5d3070===_0x3e704a)break;else _0x280841['push'](_0x280841['shift']());}catch(_0x3ab299){_0x280841['push'](_0x280841['shift']());}}}(a1_0x155c,0x5b035));function a1_0x155c(){const _0x1de018=['../../helpers/testhub/constants.js','getAccessibilityResults','jmsSB','HzUOz','SESSION_STATUS','setSessionStatus','NAQLc','gjAww','test-skipped','2868204LSbmju','Performing\x20scan\x20for\x20','passed','mOznX','bstackAllyScanning','../../bin/playwright/sessionDetails','stop','bswgp','../../helpers/helper','hookType','titlePath','step-comment','pid','../../helpers/request-spy','codeceptjs/lib/index.js','patchSaveScreenshot','prototype','captureEvent','LriWn','../../helpers/performance/constants','528933PLZWXw','qoNWT','eSBEu','bigam','helpers','99380CqZwnM','readFileSync','XvROP','debug','dBwmV','format','Hvcgu','WGlJo','dispatcher','../../bin/playwright/accessibility-helper','8071digLWS','test-passed','DLjPu','bouFa','SAVE_RESULTS','start','eXyve','ENV_VAR','WebDriver','BROWSERSTACK_TESTHUB_UUID','4799655kZKvru','ctx','shouldWrapCommand','tqJJg','../../helpers/accessibility-automation/helper','getResults','info','all','afHYp','XhRmT','codeceptjs/lib/helper/Playwright.js','ZaLOc','after','action','Puppeteer','TestCafe','GET_RESULTS','SDK_POST_INITIALIZE','uireJ','performScan','status','getSyncScript','env','oSEjP','testAnalyticsId','PmnMU','name','constructor','afterTest','HOOK_RUN_STARTED','test','./o11yHelper','browserStackExecuteDriver','getAccessibilityResultsSummary','jKuIv','bUVJP','sLhyf','stopMonitoring','OsaqV','PERFORM_SCAN','__driver','fyoGl','../../helpers/logger','title','measureWrapper','stringify','dAQTG','4924792mkZqYw','3470270Xmtbjv','browserstack_executor:\x20','mNLsP','evjgT','RrfYs','SDK_HOOK','Playwright','hzrLm','SDK_TEST','nZHlS','thJwtToken','SDK_PRE_INITIALIZE','HOOK_RUN_FINISHED','bddStep-after','KDONJ','util','skipSessionName','winstonLogger','test-started','../../helpers/globals.js','browserContext','bddStepStart','ohAGh','then','event','YnBAx','6qywZaF','base64','3JMBftN','iUgqL','TEST_SCREENSHOT','HGJYE','pMbrN','reason','failed','SDvaH','comment','test-after','step','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gVXKW','enabled','forEach','class','browser','vikqa','gdRJF','getResultsSummary','initSaveScreenshot','ozKHG','yczmH','TEST_RUN_SKIPPED','glNzf','FdDvf','filter','executeScript','tvluI','TEST_RUN_STARTED','../../helpers/test-observability/utils','command','TqHCF','pALaC','warn','end','container','contexts','pdeUE','SDK_POST_TEST','setGlobal','hook','add','./helper.js','INFO','browserstackTestName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/performance/performance-tester','__skipSessionStatus','__workerDetails','codeceptjs/lib/utils.js','thTestRunUuid','started','_before','hook-started','Suite','TEST_RUN_FINISHED','screenshotOutputFolder','captureError','KPBdT','call','qCWJF','apply','fbKMV','accessibilityPlatform','setSessionName','codeceptjs','pjKvT','exports','saveScreenshot','SDK_PRE_TEST','arguments','commandsToWrap','catch','fireEvent','skipSessionStatus','before','SESSION_NAME','rQvJo','currentTest','SYNC','hook-failed'];a1_0x155c=function(){return _0x1de018;};return a1_0x155c();}const fs=require('fs'),util=require(a1_0x302636(0x238)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x302636(0x1d4)),logger=require(a1_0x302636(0x223))[a1_0x302636(0x23a)],testOpsHelper=require(a1_0x302636(0x18f)),requestSpy=require(a1_0x302636(0x1d9)),PlaywrightSessionDetails=require(a1_0x302636(0x1d1)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x302636(0x218)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x302636(0x1fd)),AccessibilityHelper=require(a1_0x302636(0x1ee)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x302636(0x1a0)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x302636(0x1df)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x302636(0x19c)),testHubConstants=require(a1_0x302636(0x1c3)),globals=require(a1_0x302636(0x23c)),CodeceptJS=requireModule(a1_0x302636(0x1da),a1_0x302636(0x1b3)),CodeceptUtils=requireModule(a1_0x302636(0x1a3),a1_0x302636(0x1b3)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x302636(0x1b3)),CodeceptPlaywright=requireModule(a1_0x302636(0x203),'codeceptjs'),playwrightMarkSessionStatus=(_0x55ca0d,_0x4f3427,_0x35fdf5)=>{const _0x1bcd33=a1_0x302636,_0x515e59={'vikqa':_0x1bcd33(0x1c8),'qoNWT':function(_0x9b5966,_0x5d55a4){return _0x9b5966(_0x5d55a4);}},_0x5f2397={};_0x5f2397[_0x1bcd33(0x20d)]=_0x4f3427;const _0x1dc908={};_0x1dc908['action']=_0x515e59[_0x1bcd33(0x182)],_0x1dc908['arguments']=_0x5f2397;const _0x33bc28=_0x1dc908;return!_0x515e59[_0x1bcd33(0x1e1)](isUndefined,_0x35fdf5)&&(_0x33bc28[_0x1bcd33(0x1b8)][_0x1bcd33(0x24a)]=JSON[_0x1bcd33(0x226)](_0x35fdf5)),_0x55ca0d[_0x1bcd33(0x18c)](()=>{},_0x1bcd33(0x22a)+JSON['stringify'](_0x33bc28));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x302636(0x1c1)],async _0x3ace8d=>{const _0x432e9e=a1_0x302636,_0x15567a={};_0x15567a[_0x432e9e(0x249)]=function(_0x4b893b,_0x326897){return _0x4b893b===_0x326897;},_0x15567a['gjAww']=_0x432e9e(0x22f);const _0x360466=_0x15567a;_0x360466['pMbrN'](_0x3ace8d[_0x432e9e(0x214)]['name'],_0x360466[_0x432e9e(0x1ca)])?await _0x3ace8d[_0x432e9e(0x18c)](_0x318a35=>{},testOpsHelper[_0x432e9e(0x20e)]()):await _0x3ace8d[_0x432e9e(0x18c)](testOpsHelper[_0x432e9e(0x20e)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x302636(0x1be)],async(_0x18d47e,_0x48233b)=>{const _0x638c7d=a1_0x302636,_0x25c447={};_0x25c447[_0x638c7d(0x242)]=_0x638c7d(0x1b2),_0x25c447[_0x638c7d(0x202)]=function(_0x4fe5f0,_0x3a75bd){return _0x4fe5f0===_0x3a75bd;},_0x25c447[_0x638c7d(0x20b)]=_0x638c7d(0x22f);const _0x3b808b=_0x25c447,_0xc4bb88={};_0xc4bb88['name']=_0x48233b;const _0x440f7d={};_0x440f7d[_0x638c7d(0x206)]=_0x3b808b[_0x638c7d(0x242)],_0x440f7d[_0x638c7d(0x1b8)]=_0xc4bb88;const _0x3d210f=_0x440f7d;_0x3b808b[_0x638c7d(0x202)](_0x18d47e['constructor'][_0x638c7d(0x213)],_0x3b808b['uireJ'])?await _0x18d47e[_0x638c7d(0x18c)](()=>{},_0x638c7d(0x22a)+JSON[_0x638c7d(0x226)](_0x3d210f)):await _0x18d47e[_0x638c7d(0x18c)](_0x638c7d(0x22a)+JSON[_0x638c7d(0x226)](_0x3d210f));}),patchSaveScreenshot=_0x1d3e0a=>{const _0x43d7bb=a1_0x302636,_0x2e1107={'sLhyf':_0x43d7bb(0x244),'pdeUE':_0x43d7bb(0x247),'pALaC':function(_0x21d6b4){return _0x21d6b4();},'Npcrz':function(_0x25aef0,_0x23b965){return _0x25aef0(_0x23b965);}};_0x2e1107['Npcrz'](isTrue,process[_0x43d7bb(0x20f)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1d3e0a[_0x43d7bb(0x1db)]&&(_0x1d3e0a[_0x43d7bb(0x1db)]=!![],_0x1d3e0a[_0x43d7bb(0x185)]=_0x1d3e0a[_0x43d7bb(0x1b6)],_0x1d3e0a[_0x43d7bb(0x1b6)]=(_0x10b781,_0x2fb6af=![])=>{const _0x1749cf=_0x43d7bb,_0x3e49c7={'hzrLm':_0x2e1107[_0x1749cf(0x21d)],'RrfYs':_0x2e1107[_0x1749cf(0x197)],'KPBdT':function(_0x5d6a1e){const _0x322c47=_0x1749cf;return _0x2e1107[_0x322c47(0x192)](_0x5d6a1e);}};return new Promise(function(_0x462df5,_0x484927){const _0x4da89a=_0x1749cf;_0x1d3e0a['initSaveScreenshot'](_0x10b781,_0x2fb6af)[_0x4da89a(0x240)](()=>{const _0x188c67=_0x4da89a,_0xd45b79=CodeceptUtils[_0x188c67(0x1aa)](_0x10b781),_0x3475dd=fs[_0x188c67(0x1e6)](_0xd45b79);process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x3475dd['toString'](_0x3e49c7[_0x188c67(0x230)]),'kind':_0x3e49c7[_0x188c67(0x22d)]}),_0x3e49c7[_0x188c67(0x1ac)](_0x462df5);})[_0x4da89a(0x1ba)](()=>null);});});},patchWebDriverBefore=_0x3164b6=>{const _0x5433a7=a1_0x302636,_0xeb6c91={'FdDvf':function(_0x355d87){return _0x355d87();},'afHYp':function(_0x600f82,_0x245cb9){return _0x600f82(_0x245cb9);},'ozKHG':function(_0x1d208d,_0x32558a){return _0x1d208d===_0x32558a;},'HGJYE':'Element','fyoGl':function(_0x2768f6,_0x19883c){return _0x2768f6(_0x19883c);}},_0x2a5e14=async function(_0x35c9cd,_0x1b6302){const _0x19c985=a1_0x2612;return _0xeb6c91[_0x19c985(0x18a)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x19c985(0x1b1)]&&scripts[_0x19c985(0x1fb)](_0x35c9cd[_0x19c985(0x213)])&&_0xeb6c91[_0x19c985(0x201)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x19c985(0x1d0)]=!![],await PerformanceTester[_0x19c985(0x225)](PerformanceA11yEvents[_0x19c985(0x220)],async()=>{const _0x480a7a=_0x19c985;logger['debug'](_0x480a7a(0x1cd)+_0x35c9cd[_0x480a7a(0x180)]+'\x20'+_0x35c9cd[_0x480a7a(0x213)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x3164b6,scripts[_0x480a7a(0x20c)]);},{'command':_0x35c9cd[_0x19c985(0x213)]})()),global[_0x19c985(0x1d0)]=![],_0x1b6302['apply'](this,Array[_0x19c985(0x1dc)]['slice'][_0x19c985(0x1ad)](arguments,0x2));},_0x5b67a6=CodeceptWebDriver[_0x5433a7(0x1dc)][_0x5433a7(0x1a6)];CodeceptWebDriver['prototype']['_before']=async function(){const _0xdbe131=_0x5433a7,_0x4f0882={'szaTv':function(_0x4ce172,_0x3a5cff){const _0x2f2ae0=a1_0x2612;return _0xeb6c91[_0x2f2ae0(0x186)](_0x4ce172,_0x3a5cff);},'pjKvT':_0xeb6c91[_0xdbe131(0x248)]};try{await _0x5b67a6[_0xdbe131(0x1af)](this,arguments);}catch(_0x8d679b){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0xdbe131(0x1ea)](_0x8d679b));}scripts[_0xdbe131(0x1b9)][_0xdbe131(0x18b)](_0x573fb2=>_0x573fb2['name']&&_0x573fb2['class'])[_0xdbe131(0x17f)](_0x176651=>{const _0x6a4551=_0xdbe131;this[_0x6a4551(0x181)]['overwriteCommand'](_0x176651['name'],_0x2a5e14['bind'](this,_0x176651),_0x4f0882['szaTv'](_0x176651['class'],_0x4f0882[_0x6a4551(0x1b4)]));}),_0xeb6c91[_0xdbe131(0x222)](processWebDriverConfig,_0x3164b6);};},patchPlaywrightBefore=()=>{const _0x139854=a1_0x302636;PlaywrightSessionDetails['patch']();const _0x3d59b8=CodeceptPlaywright['prototype'][_0x139854(0x1a6)];CodeceptPlaywright['prototype'][_0x139854(0x1a6)]=async function(){const _0x1b2a9e=_0x139854;this[_0x1b2a9e(0x23d)]=await this['browser'][_0x1b2a9e(0x196)]()[0x0],await _0x3d59b8[_0x1b2a9e(0x1af)](this,arguments);};},getCodeceptDriver=()=>{const _0x2d6cf5=a1_0x302636,_0x1a668f={};_0x1a668f['mNLsP']=_0x2d6cf5(0x1f7),_0x1a668f['NAQLc']='Playwright',_0x1a668f[_0x2d6cf5(0x1ae)]=_0x2d6cf5(0x207),_0x1a668f[_0x2d6cf5(0x191)]=_0x2d6cf5(0x208);const _0x2706cf=_0x1a668f,_0x3968b7=[_0x2706cf[_0x2d6cf5(0x22b)],_0x2706cf[_0x2d6cf5(0x1c9)],_0x2706cf['qCWJF'],_0x2706cf[_0x2d6cf5(0x191)]],_0x289fb3=_0x3968b7['find'](_0x5f115e=>!!CodeceptJS['container'][_0x2d6cf5(0x1e4)](_0x5f115e));if(!_0x289fb3)return null;return CodeceptJS[_0x2d6cf5(0x195)][_0x2d6cf5(0x1e4)](_0x289fb3);};module[a1_0x302636(0x1b5)]=function(_0x2781c6){const _0x22f390=a1_0x302636,_0x21ea29={'jmsSB':function(_0x32ee5a){return _0x32ee5a();},'eXyve':function(_0x1c0186,_0x860e39){return _0x1c0186(_0x860e39);},'glNzf':_0x22f390(0x1c4),'zCIEH':_0x22f390(0x19f),'OsaqV':_0x22f390(0x21a),'tqJJg':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','nbCIr':function(_0x3191f4,_0x41beea){return _0x3191f4(_0x41beea);},'HzUOz':_0x22f390(0x1a7),'mOznX':'hook-passed','tvluI':_0x22f390(0x1c2),'yczmH':_0x22f390(0x19e),'yULmK':function(_0x207d40){return _0x207d40();},'evjgT':'test-before','OoHlS':function(_0x5b9a93,_0x4dd88e){return _0x5b9a93(_0x4dd88e);},'jKuIv':function(_0x3ad12a,_0x256158,_0x1292c3){return _0x3ad12a(_0x256158,_0x1292c3);},'DLjPu':_0x22f390(0x23b),'zdzFg':function(_0x1a25ee,_0xa37886,_0x258f3f){return _0x1a25ee(_0xa37886,_0x258f3f);},'gVXKW':_0x22f390(0x1f0),'nwiBU':function(_0x2713d8){return _0x2713d8();},'dBwmV':function(_0x421806,_0x54a7d1,_0x36e2fe,_0x194f79){return _0x421806(_0x54a7d1,_0x36e2fe,_0x194f79);},'esgIH':function(_0x838db9,_0x5e7ce4){return _0x838db9===_0x5e7ce4;},'KDONJ':_0x22f390(0x1a8),'WGlJo':'test-failed','dAQTG':_0x22f390(0x1cb),'XvROP':_0x22f390(0x215),'LriWn':function(_0x569309){return _0x569309();},'gdRJF':function(_0x1da167,_0x1c2fba,_0xf524b5){return _0x1da167(_0x1c2fba,_0xf524b5);},'bigam':function(_0x250a8f){return _0x250a8f();},'rQvJo':_0x22f390(0x250),'oSEjP':_0x22f390(0x24e),'SDvaH':_0x22f390(0x19d),'PmnMU':'TEST_LOG','nZHlS':_0x22f390(0x1d7),'Hvcgu':'bddStep-before','fbKMV':_0x22f390(0x236),'owvOB':function(_0x4c6855){return _0x4c6855();},'bDzew':_0x22f390(0x22f)};_0x2781c6[_0x22f390(0x1bc)]&&(global[_0x22f390(0x1a1)]=_0x2781c6[_0x22f390(0x1bc)]);PerformanceTester['startMonitoring']();const _0x94faa9=_0x21ea29['owvOB'](getCodeceptDriver),_0x58c51d=new O11yHelper(_0x94faa9,_0x2781c6),_0x545f91=!!CodeceptJS[_0x22f390(0x195)]['helpers'](_0x21ea29['bDzew']);global[_0x22f390(0x221)]=_0x94faa9,_0x94faa9&&(PerformanceTester[_0x22f390(0x225)](PerformanceEvents[_0x22f390(0x234)],()=>{const _0x5e7441=_0x22f390;_0x545f91?_0x21ea29[_0x5e7441(0x1c5)](patchPlaywrightBefore):_0x21ea29[_0x5e7441(0x1f5)](patchWebDriverBefore,_0x94faa9);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x22f390(0x20a)],()=>{const _0x168aa8=_0x22f390,_0x26038f={};_0x26038f[_0x168aa8(0x246)]=_0x21ea29[_0x168aa8(0x21f)],_0x26038f[_0x168aa8(0x1e2)]=_0x21ea29[_0x168aa8(0x1fc)];const _0x114110=_0x26038f;_0x94faa9[_0x168aa8(0x21a)]=async()=>{const _0x1fe302=_0x168aa8;if(global[_0x1fe302(0x1b1)]){const _0x3607d2={};_0x3607d2['command']=_0x114110[_0x1fe302(0x246)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1fe302(0x220)],async()=>{const _0x16788c=_0x1fe302;await AccessibilityHelper[_0x16788c(0x219)](_0x94faa9,scripts['performScan']);},_0x3607d2)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x396bda=_0x1fe302;await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts[_0x396bda(0x184)]);})();}else return logger['warn'](_0x114110[_0x1fe302(0x1e2)]),{};},_0x94faa9['getAccessibilityResults']=async()=>{const _0x3b48a1=_0x168aa8;if(global['accessibilityPlatform']){const _0x30b3fc={};_0x30b3fc[_0x3b48a1(0x190)]=_0x21ea29[_0x3b48a1(0x189)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b48a1(0x220)],async()=>{const _0x23991d=_0x3b48a1;await AccessibilityHelper[_0x23991d(0x219)](_0x94faa9,scripts[_0x23991d(0x20c)]);},_0x30b3fc)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b48a1(0x209)],async()=>{const _0x3cdb2=_0x3b48a1;await AccessibilityHelper[_0x3cdb2(0x219)](_0x94faa9,scripts[_0x3cdb2(0x1fe)]);})();}else return logger[_0x3b48a1(0x193)](_0x21ea29['zCIEH']),{};},_0x21ea29['nbCIr'](patchSaveScreenshot,_0x94faa9);})()),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['all'][_0x22f390(0x1bd)],()=>{const _0x3e7d0=_0x22f390;PerformanceTester[_0x3e7d0(0x1f4)](PerformanceEvents[_0x3e7d0(0x1b7)]);try{_0x58c51d[_0x3e7d0(0x1f4)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x3e7d0(0x194)](PerformanceEvents[_0x3e7d0(0x1b7)]);}catch(_0x2bab3f){PerformanceTester[_0x3e7d0(0x1ab)](_0x2bab3f),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x2bab3f);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x200)][_0x22f390(0x205)],async()=>{const _0x24aa90=_0x22f390;PerformanceTester[_0x24aa90(0x1f4)](PerformanceEvents[_0x24aa90(0x198)]);try{requestSpy['restore'](),await _0x58c51d[_0x24aa90(0x1d2)](),PerformanceTester[_0x24aa90(0x194)](PerformanceEvents[_0x24aa90(0x198)]);}catch(_0x4d762e){PerformanceTester['captureError'](_0x4d762e),PerformanceTester[_0x24aa90(0x194)](PerformanceEvents['SDK_POST_TEST'],![],_0x4d762e);}finally{PerformanceTester[_0x24aa90(0x21e)]();}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x1a5)],_0x4c0710=>{const _0x1466b7=_0x22f390;PerformanceTester[_0x1466b7(0x1f4)](PerformanceEvents[_0x1466b7(0x22e)]);try{const _0x3fcbde=_0x4c0710[_0x1466b7(0x1fa)]['test'],_0x3ee6d5=_0x58c51d[_0x1466b7(0x1dd)](TEST_EVENTS[_0x1466b7(0x216)],_0x3fcbde);CodeceptRecorder['add'](()=>_0x58c51d['fireEvent'](TEST_EVENTS[_0x1466b7(0x216)],_0x3ee6d5));const _0x2a41fc={};_0x2a41fc[_0x1466b7(0x1d5)]=_0x21ea29[_0x1466b7(0x1c6)],PerformanceTester[_0x1466b7(0x194)](PerformanceEvents['SDK_HOOK'],!![],null,_0x2a41fc);}catch(_0x29102a){const _0x4434ac={};_0x4434ac[_0x1466b7(0x1d5)]=_0x21ea29[_0x1466b7(0x1c6)],PerformanceTester[_0x1466b7(0x194)](PerformanceEvents[_0x1466b7(0x22e)],![],_0x29102a,_0x4434ac),PerformanceTester['captureError'](_0x29102a);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x1ce)],_0x30e95f=>{const _0x134e45=_0x22f390,_0x575ccd={};_0x575ccd['hookType']=_0x21ea29['mOznX'],PerformanceTester[_0x134e45(0x1f4)](PerformanceHookEvents[_0x134e45(0x22e)],!![],null,_0x575ccd);try{const _0x22f72c=_0x30e95f[_0x134e45(0x1fa)][_0x134e45(0x217)],_0x5059b2=_0x58c51d['captureEvent'](TEST_EVENTS[_0x134e45(0x235)],_0x22f72c);CodeceptRecorder[_0x134e45(0x19b)](()=>_0x58c51d['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5059b2));const _0x19268b={};_0x19268b[_0x134e45(0x1d5)]=_0x21ea29[_0x134e45(0x1cf)],PerformanceTester[_0x134e45(0x194)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19268b);}catch(_0x13d608){PerformanceTester[_0x134e45(0x1ab)](_0x13d608);const _0x55bd0f={};_0x55bd0f[_0x134e45(0x1d5)]=_0x21ea29[_0x134e45(0x1cf)],PerformanceTester[_0x134e45(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x13d608,_0x55bd0f);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x24b)],async(_0x58d4ec,_0x1b75cf)=>{const _0x178227=_0x22f390;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x25750a=_0x58d4ec[_0x178227(0x1fa)][_0x178227(0x217)],_0x5417e2=_0x58c51d['captureEvent'](TEST_EVENTS[_0x178227(0x235)],_0x25750a,_0x1b75cf);CodeceptRecorder['add'](()=>_0x58c51d['fireEvent'](TEST_EVENTS[_0x178227(0x235)],_0x5417e2));const _0x298c1e={};_0x298c1e['hookType']=_0x21ea29[_0x178227(0x18d)],PerformanceTester[_0x178227(0x1f4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x298c1e);}catch(_0x563e5c){PerformanceTester['captureError'](_0x563e5c);const _0x17b0cc={};_0x17b0cc[_0x178227(0x1d5)]=_0x21ea29['tvluI'],PerformanceTester[_0x178227(0x194)](PerformanceHookEvents[_0x178227(0x22e)],![],_0x563e5c,_0x17b0cc);}const _0x5d9ccd={};_0x5d9ccd['hookType']=_0x21ea29['tvluI'],PerformanceTester['end'](PerformanceHookEvents[_0x178227(0x22e)],!![],null,_0x5d9ccd);}),CodeceptJS[_0x22f390(0x241)]['dispatcher']['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x1bd)],_0x305bdc=>{const _0x45f24f=_0x22f390;PerformanceTester[_0x45f24f(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x45f24f(0x199)](_0x21ea29[_0x45f24f(0x187)],_0x305bdc['title']);_0x21ea29['yULmK'](isBrowserstackInfra)&&(_0x545f91&&(global[_0x45f24f(0x1a2)]={'currentTest':{'name':_0x305bdc[_0x45f24f(0x224)],'testInfo':{'titlePath':_0x305bdc[_0x45f24f(0x1d6)]()}}}));const _0x4d72e2={};_0x4d72e2['hookType']=_0x21ea29[_0x45f24f(0x22c)],PerformanceTester[_0x45f24f(0x194)](PerformanceHookEvents[_0x45f24f(0x22e)],!![],null,_0x4d72e2);}catch(_0x39a697){PerformanceTester[_0x45f24f(0x1ab)](_0x39a697);const _0x11d63b={};_0x11d63b[_0x45f24f(0x1d5)]=_0x21ea29['evjgT'],PerformanceTester[_0x45f24f(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x39a697,_0x11d63b);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x1a5)],_0x4305ea=>{const _0x1f01be=_0x22f390,_0x231629={'ZaLOc':function(_0x4f5f6e){const _0x521c8c=a1_0x2612;return _0x21ea29[_0x521c8c(0x1c5)](_0x4f5f6e);},'ohAGh':function(_0x4e00af,_0x23af9b){return _0x21ea29['OoHlS'](_0x4e00af,_0x23af9b);},'bswgp':function(_0x362eae,_0x3e0210,_0x35a4b1){const _0x291883=a1_0x2612;return _0x21ea29[_0x291883(0x21b)](_0x362eae,_0x3e0210,_0x35a4b1);}};PerformanceTester[_0x1f01be(0x1f4)](PerformanceHookEvents[_0x1f01be(0x22e)]);try{globals[_0x1f01be(0x199)](_0x21ea29[_0x1f01be(0x187)],_0x4305ea[_0x1f01be(0x224)]);const _0x3834b4=_0x58c51d[_0x1f01be(0x1dd)](TEST_EVENTS[_0x1f01be(0x18e)],_0x4305ea);CodeceptRecorder['add'](()=>_0x58c51d[_0x1f01be(0x1bb)](TEST_EVENTS[_0x1f01be(0x18e)],_0x3834b4)),CodeceptRecorder['add'](async()=>{const _0x459d5a=_0x1f01be;_0x231629[_0x459d5a(0x204)](isBrowserstackInfra)&&(!_0x231629[_0x459d5a(0x23f)](isTrue,_0x2781c6[_0x459d5a(0x239)])&&await _0x231629[_0x459d5a(0x1d3)](markSessionName,_0x94faa9,_0x4305ea[_0x459d5a(0x224)]),_0x58c51d[_0x459d5a(0x17e)]&&await _0x231629[_0x459d5a(0x23f)](o11ySync,_0x94faa9));});}catch(_0x499a41){const _0x58b3d8={};_0x58b3d8[_0x1f01be(0x1d5)]=_0x21ea29[_0x1f01be(0x1f1)],PerformanceTester[_0x1f01be(0x194)](PerformanceHookEvents[_0x1f01be(0x22e)],![],_0x499a41,_0x58b3d8),PerformanceTester[_0x1f01be(0x1ab)](_0x499a41);}const _0x46db4a={};_0x46db4a['hookType']=_0x21ea29[_0x1f01be(0x1f1)],PerformanceTester[_0x1f01be(0x194)](PerformanceHookEvents[_0x1f01be(0x22e)],!![],null,_0x46db4a);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['test'][_0x22f390(0x1ce)],_0x194c64=>{const _0x19fd2d=_0x22f390,_0x1498c7={'bUVJP':function(_0x46d35e,_0xa744f,_0x3ff193){return _0x21ea29['zdzFg'](_0x46d35e,_0xa744f,_0x3ff193);},'bouFa':function(_0x45ae72,_0x12cc83,_0x4e0d9a){return _0x21ea29['jKuIv'](_0x45ae72,_0x12cc83,_0x4e0d9a);}};PerformanceTester[_0x19fd2d(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{const _0x396902=_0x58c51d['captureEvent'](TEST_EVENTS[_0x19fd2d(0x1a9)],_0x194c64);CodeceptRecorder[_0x19fd2d(0x19b)](()=>_0x58c51d[_0x19fd2d(0x1bb)](TEST_EVENTS[_0x19fd2d(0x1a9)],_0x396902)),CodeceptRecorder[_0x19fd2d(0x19b)](async()=>{const _0x388026=_0x19fd2d;_0x21ea29[_0x388026(0x1c5)](isBrowserstackInfra)&&await PerformanceTester[_0x388026(0x225)](PerformanceAutEvents[_0x388026(0x1c7)],async()=>{const _0x29bead=_0x388026;_0x545f91?await _0x1498c7[_0x29bead(0x21c)](playwrightMarkSessionStatus,_0x94faa9,STATE_PASSED):await _0x1498c7[_0x29bead(0x1f2)](markSessionStatus,_0x94faa9,STATE_PASSED);})();}),PerformanceTester[_0x19fd2d(0x194)](PerformanceEvents['SDK_TEST']);}catch(_0x50d7ee){PerformanceTester[_0x19fd2d(0x1ab)](_0x50d7ee);const _0x46349d={};_0x46349d['hookType']=_0x21ea29['gVXKW'],PerformanceTester[_0x19fd2d(0x194)](PerformanceHookEvents[_0x19fd2d(0x22e)],![],_0x50d7ee,_0x46349d),PerformanceTester[_0x19fd2d(0x194)](PerformanceEvents['SDK_TEST'],![],_0x50d7ee);}const _0x209a1b={};_0x209a1b[_0x19fd2d(0x1d5)]=_0x21ea29[_0x19fd2d(0x17d)],PerformanceTester['end'](PerformanceHookEvents[_0x19fd2d(0x22e)],!![],null,_0x209a1b);}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x24b)],(_0x2dda33,_0x2c9d5d)=>{const _0xed0729=_0x22f390;PerformanceTester['start'](PerformanceHookEvents[_0xed0729(0x22e)]);try{if(_0x21ea29['esgIH'](_0x2dda33[_0xed0729(0x214)]['name'],_0x21ea29[_0xed0729(0x237)])){const _0x1df9d7=_0x58c51d['captureEvent'](TEST_EVENTS[_0xed0729(0x188)],_0x2dda33['ctx'][_0xed0729(0x1c0)]);CodeceptRecorder[_0xed0729(0x19b)](()=>_0x58c51d[_0xed0729(0x1bb)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1df9d7));}else{const _0x47255c=_0x58c51d[_0xed0729(0x1dd)](TEST_EVENTS[_0xed0729(0x1a9)],_0x2dda33,_0x2c9d5d);CodeceptRecorder[_0xed0729(0x19b)](()=>{const _0x2cb820=_0xed0729;try{_0x58c51d['fireEvent'](TEST_EVENTS[_0x2cb820(0x1a9)],_0x47255c);}catch(_0x16c50e){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x2cb820(0x1ea)](_0x16c50e)),PerformanceTester[_0x2cb820(0x194)](PerformanceEvents[_0x2cb820(0x231)],![],_0x16c50e);}}),CodeceptRecorder[_0xed0729(0x19b)](async()=>{const _0x4df17d=_0xed0729;try{_0x21ea29['nwiBU'](isBrowserstackInfra)&&(_0x545f91?await _0x21ea29[_0x4df17d(0x1e9)](playwrightMarkSessionStatus,_0x94faa9,STATE_FAILED,_0x2c9d5d):await _0x21ea29['dBwmV'](markSessionStatus,_0x94faa9,STATE_FAILED,_0x2c9d5d));}catch(_0x1ed8ac){logger[_0x4df17d(0x1e8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4df17d(0x1ea)](_0x1ed8ac)),PerformanceTester['end'](PerformanceEvents[_0x4df17d(0x231)],![],_0x1ed8ac);}});}PerformanceTester[_0xed0729(0x194)](PerformanceEvents['SDK_TEST']);}catch(_0x2f3d41){PerformanceTester[_0xed0729(0x1ab)](_0x2f3d41);const _0x5cfe6b={};_0x5cfe6b[_0xed0729(0x1d5)]=_0x21ea29['WGlJo'],PerformanceTester[_0xed0729(0x194)](PerformanceHookEvents[_0xed0729(0x22e)],![],_0x2f3d41,_0x5cfe6b),PerformanceTester[_0xed0729(0x194)](PerformanceEvents[_0xed0729(0x231)],![],_0x2f3d41);}const _0x1a95d9={};_0x1a95d9[_0xed0729(0x1d5)]=_0x21ea29[_0xed0729(0x1ec)],PerformanceTester[_0xed0729(0x194)](PerformanceHookEvents[_0xed0729(0x22e)],!![],null,_0x1a95d9);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)]['skipped'],_0x155976=>{const _0x32e1bd=_0x22f390;PerformanceTester[_0x32e1bd(0x1f4)](PerformanceHookEvents[_0x32e1bd(0x22e)]);try{const _0x19e782=_0x58c51d[_0x32e1bd(0x1dd)](TEST_EVENTS[_0x32e1bd(0x188)],_0x155976);CodeceptRecorder[_0x32e1bd(0x19b)](()=>_0x58c51d[_0x32e1bd(0x1bb)](TEST_EVENTS[_0x32e1bd(0x188)],_0x19e782)),PerformanceTester[_0x32e1bd(0x194)](PerformanceEvents[_0x32e1bd(0x231)]);}catch(_0x3f4658){PerformanceTester[_0x32e1bd(0x1ab)](_0x3f4658),PerformanceTester[_0x32e1bd(0x194)](PerformanceEvents[_0x32e1bd(0x231)],![],_0x3f4658);const _0x17f326={};_0x17f326[_0x32e1bd(0x1d5)]=_0x21ea29[_0x32e1bd(0x227)],PerformanceTester[_0x32e1bd(0x194)](PerformanceHookEvents[_0x32e1bd(0x22e)],![],_0x3f4658,_0x17f326);}const _0x752e30={};_0x752e30[_0x32e1bd(0x1d5)]=_0x21ea29[_0x32e1bd(0x227)],PerformanceTester[_0x32e1bd(0x194)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x752e30);}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS['event']['test'][_0x22f390(0x205)],async(_0x2979f5,_0x4c5296)=>{const _0x986d4e=_0x22f390;try{PerformanceTester[_0x986d4e(0x1f4)](PerformanceHookEvents[_0x986d4e(0x22e)]);if(_0x21ea29[_0x986d4e(0x1de)](isBrowserstackInfra)){const _0x434e0a=_0x21ea29[_0x986d4e(0x183)](shouldScanTestForAccessibility,_0x2979f5['titlePath'](),!![]);if(_0x21ea29[_0x986d4e(0x1e3)](isAccessibilityAutomationSession)&&global[_0x986d4e(0x1b1)]&&_0x434e0a){const _0x1144b3={};_0x1144b3[_0x986d4e(0x1a4)]=_0x2979f5[_0x986d4e(0x211)],_0x1144b3['thBuildUuid']=process[_0x986d4e(0x20f)][testHubConstants[_0x986d4e(0x1f6)][_0x986d4e(0x1f8)]],_0x1144b3[_0x986d4e(0x233)]=process[_0x986d4e(0x20f)][testHubConstants[_0x986d4e(0x1f6)]['BROWSERSTACK_TESTHUB_JWT']];const _0x22d3bc=_0x1144b3;logger[_0x986d4e(0x1e8)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x986d4e(0x226)](_0x22d3bc)),CodeceptRecorder[_0x986d4e(0x19b)](async()=>{const _0x1d5e4f=_0x986d4e,_0x5be520={};_0x5be520[_0x1d5e4f(0x190)]=_0x21ea29[_0x1d5e4f(0x1e7)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d5e4f(0x220)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts['performScan']);},_0x5be520)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d5e4f(0x1f3)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts['saveTestResults'],_0x22d3bc);})();}),logger[_0x986d4e(0x1ff)](_0x21ea29[_0x986d4e(0x1bf)]);}}const _0x989730={};_0x989730[_0x986d4e(0x1d5)]=_0x21ea29[_0x986d4e(0x210)],PerformanceTester['end'](PerformanceHookEvents[_0x986d4e(0x22e)],!![],null,_0x989730);}catch(_0x10a0c2){PerformanceTester[_0x986d4e(0x1ab)](_0x10a0c2);const _0x24bc9d={};_0x24bc9d[_0x986d4e(0x1d5)]=_0x21ea29[_0x986d4e(0x210)],PerformanceTester['end'](PerformanceHookEvents[_0x986d4e(0x22e)],![],_0x10a0c2,_0x24bc9d);}}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS['event'][_0x22f390(0x24f)][_0x22f390(0x24d)],_0x5df5aa=>{const _0xc830ff=_0x22f390;PerformanceTester[_0xc830ff(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{process['emit']('bs:addLog:'+process[_0xc830ff(0x1d8)],{'timestamp':new Date()['toISOString'](),'level':_0x21ea29[_0xc830ff(0x24c)],'message':_0x5df5aa,'kind':_0x21ea29[_0xc830ff(0x212)],'http_response':{}});}catch(_0x456477){PerformanceTester[_0xc830ff(0x1ab)](_0x456477);const _0x3a422f={};_0x3a422f[_0xc830ff(0x1d5)]=_0x21ea29[_0xc830ff(0x232)],PerformanceTester['end'](PerformanceHookEvents[_0xc830ff(0x22e)],![],_0x456477,_0x3a422f);}const _0x410cbc={};_0x410cbc[_0xc830ff(0x1d5)]=_0x21ea29[_0xc830ff(0x232)],PerformanceTester[_0xc830ff(0x194)](PerformanceHookEvents[_0xc830ff(0x22e)],!![],null,_0x410cbc);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['bddStep']['before'],_0x481daa=>{const _0x31a85d=_0x22f390,_0x48077e={};_0x48077e[_0x31a85d(0x1d5)]=_0x21ea29[_0x31a85d(0x1eb)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x31a85d(0x22e)],()=>{const _0x22ec25=_0x31a85d;_0x58c51d[_0x22ec25(0x23e)](_0x481daa);},_0x48077e)();}),CodeceptJS[_0x22f390(0x241)]['dispatcher']['on'](CodeceptJS[_0x22f390(0x241)]['bddStep']['after'],_0x417763=>{const _0x583eb6=_0x22f390,_0x1e3989={};_0x1e3989[_0x583eb6(0x1d5)]=_0x21ea29[_0x583eb6(0x1b0)],PerformanceTester[_0x583eb6(0x225)](PerformanceHookEvents[_0x583eb6(0x22e)],()=>{_0x58c51d['bddStepFinish'](_0x417763);},_0x1e3989)();});};
|
|
1
|
+
function a1_0x41d5(_0x1f07dc,_0x198f29){const _0xb8c46b=a1_0xb8c4();return a1_0x41d5=function(_0x41d5c8,_0x54a643){_0x41d5c8=_0x41d5c8-0xca;let _0x4f8740=_0xb8c46b[_0x41d5c8];return _0x4f8740;},a1_0x41d5(_0x1f07dc,_0x198f29);}const a1_0x934054=a1_0x41d5;(function(_0xb9a082,_0x16b691){const _0x498640=a1_0x41d5,_0xf45878=_0xb9a082();while(!![]){try{const _0x1d6928=parseInt(_0x498640(0x118))/0x1*(-parseInt(_0x498640(0x189))/0x2)+-parseInt(_0x498640(0xd4))/0x3+-parseInt(_0x498640(0x1a1))/0x4+parseInt(_0x498640(0x16e))/0x5+-parseInt(_0x498640(0x16d))/0x6*(-parseInt(_0x498640(0x17c))/0x7)+-parseInt(_0x498640(0xd8))/0x8+parseInt(_0x498640(0x168))/0x9;if(_0x1d6928===_0x16b691)break;else _0xf45878['push'](_0xf45878['shift']());}catch(_0x319c8f){_0xf45878['push'](_0xf45878['shift']());}}}(a1_0xb8c4,0xc9534));function a1_0xb8c4(){const _0x13bc14=['28VWiZHG','__driver','TEST_RUN_SKIPPED','getResults','format','codeceptjs/lib/index.js','SDK_HOOK','GET_RESULTS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','GsmcP','qQobl','jhdhx','initSaveScreenshot','6rTdAMO','NnMei','bddStep-before','SESSION_STATUS','YxNqP','setGlobal','IVRrs','aigXM','SDK_PRE_INITIALIZE','test','thBuildUuid','start','pPRcw','TestCafe','codeceptjs/lib/helper/Playwright.js','dfKtv','captureError','./o11yHelper','pid','XSDXS','warn','jlrJp','RFiNN','EVcPr','6487472KXcIfe','passed','XucjN','../../helpers/testhub/constants.js','stringify','SAVE_RESULTS','toISOString','TEST_RUN_STARTED','hook-failed','qXuQQ','cWTwL','../../helpers/logger','1308912SXFIsD','Failed\x20to\x20execute\x20_before:\x20','container','../../helpers/accessibility-automation/helper','3716240CuEvGk','../../helpers/request-spy','sjgmz','stop','CKkJe','step-comment','hook-started','util','SYNC','bddStepFinish','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Playwright','OQuKl','thJwtToken','dispatcher','HOOK_RUN_STARTED','enabled','Mpxaf','toString','SBqRW','class','zzEep','skipSessionName','cxPVd','aZvFW','patchSaveScreenshot','XMgUX','afterTest','contexts','bddStep','addRequestSpy','Xllfg','bind','bddStep-after','browserstack_executor:\x20','apply','exports','arguments','EVLSw','before','TEST_RUN_FINISHED','test-skipped','FXODB','info','../../helpers/performance/performance-tester','../../bin/playwright/accessibility-helper','test-after','../../helpers/test-observability/utils','bs:addLog:','mZSHV','captureEvent','_before','forEach','failed','measureWrapper','after','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','ztQWo','BROWSERSTACK_TESTHUB_JWT','comment','getAccessibilityResults','test-started','command','SDK_PRE_TEST','463529NmOCTl','kLHJB','qWqBE','browser','gHQEc','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','skipSessionStatus','end','setSessionName','fireEvent','CHGEd','PERFORM_SCAN','filter','PVzIv','BROWSERSTACK_TESTHUB_UUID','PMmJL','AMujh','test-before','HOOK_RUN_FINISHED','testAnalyticsId','accessibilityPlatform','readFileSync','cYsTn','XVTZi','screenshotOutputFolder','slice','../../helpers/globals.js','shouldWrapCommand','xcTnI','skipped','bstackAllyScanning','Puppeteer','base64','env','SDK_POST_TEST','mHgHJ','lCRMM','JHQNI','getResultsSummary','YIXvg','performScan','started','__workerDetails','CPnOV','find','patch','czhyX','iCdmm','hookType','bGMAt','Suite','hook','lnJXq','Urkms','../../bin/playwright/sessionDetails','add','name','test-passed','GAIaV','GET_RESULTS_SUMMARY','executeScript','constructor','currentTest','call','titlePath','action','helpers','event','emit','overwriteCommand','GMWKq','all','step','FfKyH','codeceptjs','getAccessibilityResultsSummary','ctx','debug','TEST_SCREENSHOT','../../helpers/accessibility-automation/scripts','26142867zdjBtR','WebDriver','./helper.js','saveScreenshot','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','1091022HuNgkH','5529030SAmfia','codeceptjs/lib/utils.js','browserContext','TEST_LOG','winstonLogger','title','../../helpers/helper','browserStackExecuteDriver','ENV_VAR','browserstackTestName','prototype','SDK_TEST','status','RwEMQ'];a1_0xb8c4=function(){return _0x13bc14;};return a1_0xb8c4();}const fs=require('fs'),util=require(a1_0x934054(0xdf)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x934054(0x174)),logger=require(a1_0x934054(0xd3))[a1_0x934054(0x172)],testOpsHelper=require(a1_0x934054(0x107)),requestSpy=require(a1_0x934054(0xd9)),PlaywrightSessionDetails=require(a1_0x934054(0x14e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x934054(0x19a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x934054(0xd7)),AccessibilityHelper=require(a1_0x934054(0x105)),scripts=require(a1_0x934054(0x167)),PerformanceTester=require(a1_0x934054(0x104)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x934054(0x16a)),testHubConstants=require(a1_0x934054(0xcb)),globals=require(a1_0x934054(0x132)),CodeceptJS=requireModule(a1_0x934054(0x181),a1_0x934054(0x162)),CodeceptUtils=requireModule(a1_0x934054(0x16f),a1_0x934054(0x162)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x934054(0x162)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x934054(0x162)),CodeceptPlaywright=requireModule(a1_0x934054(0x197),a1_0x934054(0x162)),playwrightMarkSessionStatus=(_0x537f95,_0x200b89,_0x1ce044)=>{const _0x36a18f=a1_0x934054,_0x1eec71={'XSDXS':'setSessionStatus','zzEep':function(_0x2dcf50,_0x1045db){return _0x2dcf50(_0x1045db);}},_0x5d4b9b={};_0x5d4b9b[_0x36a18f(0x17a)]=_0x200b89;const _0x2ccc3c={};_0x2ccc3c[_0x36a18f(0x159)]=_0x1eec71[_0x36a18f(0x19c)],_0x2ccc3c['arguments']=_0x5d4b9b;const _0x323085=_0x2ccc3c;return!_0x1eec71[_0x36a18f(0xed)](isUndefined,_0x1ce044)&&(_0x323085[_0x36a18f(0xfd)]['reason']=JSON[_0x36a18f(0xcc)](_0x1ce044)),_0x537f95[_0x36a18f(0x154)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x323085));},o11ySync=PerformanceTester[a1_0x934054(0x10e)](PerformanceO11yEvents[a1_0x934054(0xe0)],async _0x230c7e=>{const _0x2d2988=a1_0x934054,_0x42835d={};_0x42835d[_0x2d2988(0xeb)]=function(_0x222ce6,_0x4c3236){return _0x222ce6===_0x4c3236;},_0x42835d['cQuBz']=_0x2d2988(0xe3);const _0x59bf27=_0x42835d;_0x59bf27['SBqRW'](_0x230c7e[_0x2d2988(0x155)][_0x2d2988(0x150)],_0x59bf27['cQuBz'])?await _0x230c7e['executeScript'](_0x343c13=>{},testOpsHelper['getSyncScript']()):await _0x230c7e[_0x2d2988(0x154)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x934054(0x10e)](PerformanceAutEvents['SESSION_NAME'],async(_0x323382,_0x1c4790)=>{const _0x3f0384=a1_0x934054,_0x2c9fe5={};_0x2c9fe5['JHQNI']=_0x3f0384(0x120),_0x2c9fe5[_0x3f0384(0x109)]=function(_0x44a209,_0x16f190){return _0x44a209===_0x16f190;},_0x2c9fe5[_0x3f0384(0xd1)]=_0x3f0384(0xe3);const _0x630beb=_0x2c9fe5,_0x5d0657={};_0x5d0657[_0x3f0384(0x150)]=_0x1c4790;const _0x2cd644={};_0x2cd644[_0x3f0384(0x159)]=_0x630beb[_0x3f0384(0x13d)],_0x2cd644[_0x3f0384(0xfd)]=_0x5d0657;const _0x38ec04=_0x2cd644;_0x630beb['mZSHV'](_0x323382[_0x3f0384(0x155)]['name'],_0x630beb[_0x3f0384(0xd1)])?await _0x323382['executeScript'](()=>{},_0x3f0384(0xfa)+JSON[_0x3f0384(0xcc)](_0x38ec04)):await _0x323382['executeScript']('browserstack_executor:\x20'+JSON[_0x3f0384(0xcc)](_0x38ec04));}),patchSaveScreenshot=_0x95fd18=>{const _0x390c6b=a1_0x934054,_0x3781b0={'AMujh':_0x390c6b(0x138),'cxPVd':_0x390c6b(0x166),'Urkms':function(_0x2434ea){return _0x2434ea();},'XucjN':function(_0x2c04ee,_0x42c53f){return _0x2c04ee(_0x42c53f);}};_0x3781b0[_0x390c6b(0xca)](isTrue,process[_0x390c6b(0x139)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x95fd18['patchSaveScreenshot']&&(_0x95fd18[_0x390c6b(0xf1)]=!![],_0x95fd18[_0x390c6b(0x188)]=_0x95fd18[_0x390c6b(0x16b)],_0x95fd18[_0x390c6b(0x16b)]=(_0x584bfd,_0x257308=![])=>{return new Promise(function(_0x4ceda8,_0x1ac294){const _0x2e098c=a1_0x41d5,_0x201d27={'YIXvg':_0x3781b0[_0x2e098c(0x128)],'CHGEd':_0x3781b0[_0x2e098c(0xef)],'vYJsf':function(_0x11b95a){const _0x195c6d=_0x2e098c;return _0x3781b0[_0x195c6d(0x14d)](_0x11b95a);}};_0x95fd18['initSaveScreenshot'](_0x584bfd,_0x257308)['then'](()=>{const _0x538ab0=_0x2e098c,_0x26812e=CodeceptUtils[_0x538ab0(0x130)](_0x584bfd),_0x53d6c4=fs[_0x538ab0(0x12d)](_0x26812e);process[_0x538ab0(0x15c)](_0x538ab0(0x108)+process['pid'],{'timestamp':new Date()[_0x538ab0(0xce)](),'message':_0x53d6c4[_0x538ab0(0xea)](_0x201d27[_0x538ab0(0x13f)]),'kind':_0x201d27[_0x538ab0(0x122)]}),_0x201d27['vYJsf'](_0x4ceda8);})['catch'](()=>null);});});},patchWebDriverBefore=_0x4690b2=>{const _0x31b0a2=a1_0x934054,_0x168af8={'vjKrp':function(_0x169598){return _0x169598();},'aZvFW':function(_0x5b69e0,_0x5be1ef){return _0x5b69e0(_0x5be1ef);},'sjgmz':function(_0x2b9388,_0x4944ed){return _0x2b9388===_0x4944ed;},'PVzIv':'Element'},_0x5b4f93=async function(_0x248cb6,_0xa84c5){const _0xcd31f8=a1_0x41d5;return _0x168af8['vjKrp'](isAccessibilityAutomationSession)&&!global[_0xcd31f8(0x136)]&&global[_0xcd31f8(0x12c)]&&scripts[_0xcd31f8(0x133)](_0x248cb6[_0xcd31f8(0x150)])&&_0x168af8[_0xcd31f8(0xf0)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0xcd31f8(0x10e)](PerformanceA11yEvents[_0xcd31f8(0x123)],async()=>{const _0x10f1bf=_0xcd31f8;logger[_0x10f1bf(0x165)]('Performing\x20scan\x20for\x20'+_0x248cb6[_0x10f1bf(0xec)]+'\x20'+_0x248cb6[_0x10f1bf(0x150)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4690b2,scripts[_0x10f1bf(0x140)]);},{'command':_0x248cb6[_0xcd31f8(0x150)]})()),global[_0xcd31f8(0x136)]=![],_0xa84c5[_0xcd31f8(0xfb)](this,Array[_0xcd31f8(0x178)][_0xcd31f8(0x131)][_0xcd31f8(0x157)](arguments,0x2));},_0x25aaa0=CodeceptWebDriver[_0x31b0a2(0x178)][_0x31b0a2(0x10b)];CodeceptWebDriver[_0x31b0a2(0x178)][_0x31b0a2(0x10b)]=async function(){const _0x17ec6e=_0x31b0a2;try{await _0x25aaa0[_0x17ec6e(0xfb)](this,arguments);}catch(_0x471feb){logger['debug'](_0x17ec6e(0xd5)+util['format'](_0x471feb));}scripts['commandsToWrap'][_0x17ec6e(0x124)](_0x4623ad=>_0x4623ad[_0x17ec6e(0x150)]&&_0x4623ad[_0x17ec6e(0xec)])[_0x17ec6e(0x10c)](_0x32b47f=>{const _0x4a8626=_0x17ec6e;this[_0x4a8626(0x11b)][_0x4a8626(0x15d)](_0x32b47f[_0x4a8626(0x150)],_0x5b4f93[_0x4a8626(0xf8)](this,_0x32b47f),_0x168af8[_0x4a8626(0xda)](_0x32b47f[_0x4a8626(0xec)],_0x168af8[_0x4a8626(0x125)]));}),_0x168af8[_0x17ec6e(0xf0)](processWebDriverConfig,_0x4690b2);};},patchPlaywrightBefore=()=>{const _0x4e8826=a1_0x934054;PlaywrightSessionDetails[_0x4e8826(0x145)]();const _0x560963=CodeceptPlaywright[_0x4e8826(0x178)][_0x4e8826(0x10b)];CodeceptPlaywright[_0x4e8826(0x178)][_0x4e8826(0x10b)]=async function(){const _0x7dc1ad=_0x4e8826;this[_0x7dc1ad(0x170)]=await this[_0x7dc1ad(0x11b)][_0x7dc1ad(0xf4)]()[0x0],await _0x560963[_0x7dc1ad(0xfb)](this,arguments);};},getCodeceptDriver=()=>{const _0x40a203=a1_0x934054,_0x5a1759={};_0x5a1759[_0x40a203(0x13b)]=_0x40a203(0x169),_0x5a1759[_0x40a203(0x143)]=_0x40a203(0xe3),_0x5a1759[_0x40a203(0x195)]=_0x40a203(0x137),_0x5a1759[_0x40a203(0x198)]=_0x40a203(0x196);const _0x2f25c6=_0x5a1759,_0x3a50d2=[_0x2f25c6[_0x40a203(0x13b)],_0x2f25c6[_0x40a203(0x143)],_0x2f25c6[_0x40a203(0x195)],_0x2f25c6['dfKtv']],_0x249e1a=_0x3a50d2[_0x40a203(0x144)](_0x59ddab=>!!CodeceptJS[_0x40a203(0xd6)][_0x40a203(0x15a)](_0x59ddab));if(!_0x249e1a)return null;return CodeceptJS[_0x40a203(0xd6)][_0x40a203(0x15a)](_0x249e1a);};module[a1_0x934054(0xfc)]=function(_0x2d620e){const _0xfd959a=a1_0x934054,_0x597f2e={'YxNqP':function(_0x9da5b3){return _0x9da5b3();},'xcTnI':function(_0x42a6e8,_0x532396){return _0x42a6e8(_0x532396);},'FfKyH':'getAccessibilityResults','GsmcP':_0xfd959a(0xe2),'RFiNN':_0xfd959a(0x163),'dZTFv':_0xfd959a(0x11d),'RwEMQ':_0xfd959a(0xde),'czhyX':'hook-passed','IVRrs':_0xfd959a(0xd0),'OQuKl':_0xfd959a(0x177),'cYsTn':function(_0x276375){return _0x276375();},'qQobl':_0xfd959a(0x129),'GMWKq':function(_0x35278d){return _0x35278d();},'FXODB':function(_0x141620,_0x2c9358){return _0x141620(_0x2c9358);},'EVLSw':function(_0x385361,_0x163b92,_0x5bad03){return _0x385361(_0x163b92,_0x5bad03);},'qWqBE':_0xfd959a(0x115),'EKyiR':function(_0x3869e7,_0x3b235b,_0x381173){return _0x3869e7(_0x3b235b,_0x381173);},'QNHGN':_0xfd959a(0x151),'PMmJL':function(_0x5a2238,_0x48d1ea,_0x42ca99,_0x34852f){return _0x5a2238(_0x48d1ea,_0x42ca99,_0x34852f);},'CKkJe':function(_0x3fa572,_0x4121be,_0x5c170c,_0x226cc3){return _0x3fa572(_0x4121be,_0x5c170c,_0x226cc3);},'qUyLO':function(_0x1364a1,_0x1eb77a){return _0x1364a1===_0x1eb77a;},'YeLeV':_0xfd959a(0x14a),'uNSvG':'test-failed','XVTZi':_0xfd959a(0x101),'bGMAt':_0xfd959a(0xf3),'lnJXq':function(_0x512bf5,_0x373e68,_0x27f993){return _0x512bf5(_0x373e68,_0x27f993);},'lCRMM':function(_0x40bd3b){return _0x40bd3b();},'Xllfg':_0xfd959a(0x184),'XMgUX':_0xfd959a(0x106),'KkIVQ':'INFO','iCdmm':_0xfd959a(0x171),'jlrJp':_0xfd959a(0xdd),'EVcPr':_0xfd959a(0x18b),'Mpxaf':_0xfd959a(0xf9),'aigXM':_0xfd959a(0xe3)};_0x2d620e[_0xfd959a(0x11e)]&&(global['__skipSessionStatus']=_0x2d620e[_0xfd959a(0x11e)]);PerformanceTester['startMonitoring']();const _0xa1cd86=_0x597f2e[_0xfd959a(0x12e)](getCodeceptDriver),_0xb37a83=new O11yHelper(_0xa1cd86,_0x2d620e),_0x2d5e91=!!CodeceptJS[_0xfd959a(0xd6)][_0xfd959a(0x15a)](_0x597f2e[_0xfd959a(0x190)]);global[_0xfd959a(0x17d)]=_0xa1cd86,_0xa1cd86&&(PerformanceTester[_0xfd959a(0x10e)](PerformanceEvents[_0xfd959a(0x191)],()=>{const _0x3f1709=_0xfd959a;_0x2d5e91?_0x597f2e[_0x3f1709(0x18d)](patchPlaywrightBefore):_0x597f2e[_0x3f1709(0x134)](patchWebDriverBefore,_0xa1cd86);})(),PerformanceTester[_0xfd959a(0x10e)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1c368d=_0xfd959a,_0xd382f8={};_0xd382f8[_0x1c368d(0x187)]=_0x597f2e[_0x1c368d(0x19f)],_0xd382f8[_0x1c368d(0x11c)]=_0x597f2e['dZTFv'];const _0x307803=_0xd382f8;_0xa1cd86['getAccessibilityResultsSummary']=async()=>{const _0x1d7b67=_0x1c368d;if(global[_0x1d7b67(0x12c)]){const _0x10be7c={};_0x10be7c[_0x1d7b67(0x116)]=_0x307803[_0x1d7b67(0x187)],await PerformanceTester[_0x1d7b67(0x10e)](PerformanceA11yEvents[_0x1d7b67(0x123)],async()=>{const _0x2cc8fc=_0x1d7b67;await AccessibilityHelper[_0x2cc8fc(0x175)](_0xa1cd86,scripts[_0x2cc8fc(0x140)]);},_0x10be7c)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d7b67(0x153)],async()=>{const _0x2e35a0=_0x1d7b67;await AccessibilityHelper[_0x2e35a0(0x175)](_0xa1cd86,scripts[_0x2e35a0(0x13e)]);})();}else return logger[_0x1d7b67(0x19d)](_0x307803[_0x1d7b67(0x11c)]),{};},_0xa1cd86[_0x1c368d(0x114)]=async()=>{const _0xe14a1d=_0x1c368d;if(global[_0xe14a1d(0x12c)]){const _0xcbe88c={};_0xcbe88c[_0xe14a1d(0x116)]=_0x597f2e[_0xe14a1d(0x161)],await PerformanceTester[_0xe14a1d(0x10e)](PerformanceA11yEvents[_0xe14a1d(0x123)],async()=>{const _0x5bc0a9=_0xe14a1d;await AccessibilityHelper[_0x5bc0a9(0x175)](_0xa1cd86,scripts['performScan']);},_0xcbe88c)(),await PerformanceTester[_0xe14a1d(0x10e)](PerformanceA11yEvents[_0xe14a1d(0x183)],async()=>{const _0x1d873a=_0xe14a1d;await AccessibilityHelper[_0x1d873a(0x175)](_0xa1cd86,scripts[_0x1d873a(0x17f)]);})();}else return logger[_0xe14a1d(0x19d)](_0x597f2e[_0xe14a1d(0x185)]),{};},_0x597f2e[_0x1c368d(0x134)](patchSaveScreenshot,_0xa1cd86);})()),CodeceptJS[_0xfd959a(0x15b)]['dispatcher']['on'](CodeceptJS['event']['all']['before'],()=>{const _0x41a93c=_0xfd959a;PerformanceTester[_0x41a93c(0x194)](PerformanceEvents[_0x41a93c(0x117)]);try{_0xb37a83[_0x41a93c(0x194)](),testOpsHelper[_0x41a93c(0xf6)](),PerformanceTester[_0x41a93c(0x11f)](PerformanceEvents[_0x41a93c(0x117)]);}catch(_0x337e8c){PerformanceTester[_0x41a93c(0x199)](_0x337e8c),PerformanceTester['end'](PerformanceEvents[_0x41a93c(0x117)],![],_0x337e8c);}}),CodeceptJS[_0xfd959a(0x15b)]['dispatcher']['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x15f)][_0xfd959a(0x10f)],async()=>{const _0xf50200=_0xfd959a;PerformanceTester['start'](PerformanceEvents[_0xf50200(0x13a)]);try{requestSpy['restore'](),await _0xb37a83[_0xf50200(0xdb)](),PerformanceTester[_0xf50200(0x11f)](PerformanceEvents[_0xf50200(0x13a)]);}catch(_0xb72b51){PerformanceTester[_0xf50200(0x199)](_0xb72b51),PerformanceTester['end'](PerformanceEvents[_0xf50200(0x13a)],![],_0xb72b51);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x14b)]['started'],_0x1dc105=>{const _0x1c8d88=_0xfd959a;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x4384e8=_0x1dc105[_0x1c8d88(0x164)][_0x1c8d88(0x192)],_0x1344fb=_0xb37a83[_0x1c8d88(0x10a)](TEST_EVENTS[_0x1c8d88(0xe7)],_0x4384e8);CodeceptRecorder['add'](()=>_0xb37a83[_0x1c8d88(0x121)](TEST_EVENTS[_0x1c8d88(0xe7)],_0x1344fb));const _0x20fa31={};_0x20fa31[_0x1c8d88(0x148)]=_0x597f2e[_0x1c8d88(0x17b)],PerformanceTester[_0x1c8d88(0x11f)](PerformanceEvents[_0x1c8d88(0x182)],!![],null,_0x20fa31);}catch(_0x272a53){const _0x465b30={};_0x465b30[_0x1c8d88(0x148)]=_0x597f2e[_0x1c8d88(0x17b)],PerformanceTester['end'](PerformanceEvents[_0x1c8d88(0x182)],![],_0x272a53,_0x465b30),PerformanceTester[_0x1c8d88(0x199)](_0x272a53);}}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x14b)][_0xfd959a(0x1a2)],_0x3ae9b2=>{const _0x2c2fe4=_0xfd959a,_0x3c40b0={};_0x3c40b0[_0x2c2fe4(0x148)]=_0x597f2e['czhyX'],PerformanceTester[_0x2c2fe4(0x194)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3c40b0);try{const _0x28c74a=_0x3ae9b2[_0x2c2fe4(0x164)][_0x2c2fe4(0x192)],_0x2cd45e=_0xb37a83[_0x2c2fe4(0x10a)](TEST_EVENTS[_0x2c2fe4(0x12a)],_0x28c74a);CodeceptRecorder[_0x2c2fe4(0x14f)](()=>_0xb37a83[_0x2c2fe4(0x121)](TEST_EVENTS[_0x2c2fe4(0x12a)],_0x2cd45e));const _0x4e73f2={};_0x4e73f2['hookType']=_0x597f2e[_0x2c2fe4(0x146)],PerformanceTester[_0x2c2fe4(0x11f)](PerformanceHookEvents[_0x2c2fe4(0x182)],!![],null,_0x4e73f2);}catch(_0x5ad71e){PerformanceTester['captureError'](_0x5ad71e);const _0x44756d={};_0x44756d[_0x2c2fe4(0x148)]=_0x597f2e['czhyX'],PerformanceTester[_0x2c2fe4(0x11f)](PerformanceHookEvents[_0x2c2fe4(0x182)],![],_0x5ad71e,_0x44756d);}}),CodeceptJS[_0xfd959a(0x15b)]['dispatcher']['on'](CodeceptJS['event'][_0xfd959a(0x14b)][_0xfd959a(0x10d)],async(_0x320525,_0x1cf11d)=>{const _0x567002=_0xfd959a;PerformanceTester[_0x567002(0x194)](PerformanceHookEvents[_0x567002(0x182)]);try{const _0xe4a265=_0x320525[_0x567002(0x164)][_0x567002(0x192)],_0x42125f=_0xb37a83[_0x567002(0x10a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xe4a265,_0x1cf11d);CodeceptRecorder[_0x567002(0x14f)](()=>_0xb37a83[_0x567002(0x121)](TEST_EVENTS[_0x567002(0x12a)],_0x42125f));const _0x8c510a={};_0x8c510a[_0x567002(0x148)]=_0x597f2e[_0x567002(0x18f)],PerformanceTester[_0x567002(0x194)](PerformanceHookEvents[_0x567002(0x182)],!![],null,_0x8c510a);}catch(_0x533ca5){PerformanceTester['captureError'](_0x533ca5);const _0x43104d={};_0x43104d[_0x567002(0x148)]=_0x597f2e['IVRrs'],PerformanceTester[_0x567002(0x11f)](PerformanceHookEvents[_0x567002(0x182)],![],_0x533ca5,_0x43104d);}const _0x59d5a6={};_0x59d5a6['hookType']=_0x597f2e['IVRrs'],PerformanceTester[_0x567002(0x11f)](PerformanceHookEvents[_0x567002(0x182)],!![],null,_0x59d5a6);}),CodeceptJS['event'][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)]['test'][_0xfd959a(0xff)],_0x3766a9=>{const _0x16d47e=_0xfd959a;PerformanceTester['start'](PerformanceHookEvents[_0x16d47e(0x182)]);try{globals[_0x16d47e(0x18e)](_0x597f2e[_0x16d47e(0xe4)],_0x3766a9['title']);_0x597f2e['cYsTn'](isBrowserstackInfra)&&(_0x2d5e91&&(global[_0x16d47e(0x142)]={'currentTest':{'name':_0x3766a9[_0x16d47e(0x173)],'testInfo':{'titlePath':_0x3766a9[_0x16d47e(0x158)]()}}}));const _0xb30c88={};_0xb30c88[_0x16d47e(0x148)]=_0x597f2e['qQobl'],PerformanceTester[_0x16d47e(0x11f)](PerformanceHookEvents[_0x16d47e(0x182)],!![],null,_0xb30c88);}catch(_0x52041e){PerformanceTester['captureError'](_0x52041e);const _0x3d3d4b={};_0x3d3d4b[_0x16d47e(0x148)]=_0x597f2e[_0x16d47e(0x186)],PerformanceTester[_0x16d47e(0x11f)](PerformanceHookEvents[_0x16d47e(0x182)],![],_0x52041e,_0x3d3d4b);}}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS['event'][_0xfd959a(0x192)][_0xfd959a(0x141)],_0x266c50=>{const _0xa1ce87=_0xfd959a,_0x3eb575={'cWTwL':function(_0x3e782c){const _0x2927b4=a1_0x41d5;return _0x597f2e[_0x2927b4(0x15e)](_0x3e782c);},'kLHJB':function(_0x4151a1,_0x371dbc){const _0x32297f=a1_0x41d5;return _0x597f2e[_0x32297f(0x102)](_0x4151a1,_0x371dbc);},'GAIaV':function(_0x4e939c,_0x4c6cef,_0x4e387a){return _0x597f2e['EVLSw'](_0x4e939c,_0x4c6cef,_0x4e387a);}};PerformanceTester[_0xa1ce87(0x194)](PerformanceHookEvents[_0xa1ce87(0x182)]);try{globals[_0xa1ce87(0x18e)](_0x597f2e[_0xa1ce87(0xe4)],_0x266c50[_0xa1ce87(0x173)]);const _0x4762dd=_0xb37a83['captureEvent'](TEST_EVENTS[_0xa1ce87(0xcf)],_0x266c50);CodeceptRecorder[_0xa1ce87(0x14f)](()=>_0xb37a83[_0xa1ce87(0x121)](TEST_EVENTS[_0xa1ce87(0xcf)],_0x4762dd)),CodeceptRecorder['add'](async()=>{const _0x1f7c7f=_0xa1ce87;_0x3eb575[_0x1f7c7f(0xd2)](isBrowserstackInfra)&&(!_0x3eb575[_0x1f7c7f(0x119)](isTrue,_0x2d620e[_0x1f7c7f(0xee)])&&await _0x3eb575[_0x1f7c7f(0x152)](markSessionName,_0xa1cd86,_0x266c50[_0x1f7c7f(0x173)]),_0xb37a83[_0x1f7c7f(0xe8)]&&await _0x3eb575[_0x1f7c7f(0x119)](o11ySync,_0xa1cd86));});}catch(_0x390350){const _0x1f5600={};_0x1f5600[_0xa1ce87(0x148)]=_0x597f2e['qWqBE'],PerformanceTester[_0xa1ce87(0x11f)](PerformanceHookEvents[_0xa1ce87(0x182)],![],_0x390350,_0x1f5600),PerformanceTester[_0xa1ce87(0x199)](_0x390350);}const _0x5f2510={};_0x5f2510['hookType']=_0x597f2e[_0xa1ce87(0x11a)],PerformanceTester[_0xa1ce87(0x11f)](PerformanceHookEvents[_0xa1ce87(0x182)],!![],null,_0x5f2510);}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x192)][_0xfd959a(0x1a2)],_0x35a81a=>{const _0x50fef1=_0xfd959a;PerformanceTester[_0x50fef1(0x194)](PerformanceHookEvents[_0x50fef1(0x182)]);try{const _0x319514=_0xb37a83[_0x50fef1(0x10a)](TEST_EVENTS[_0x50fef1(0x100)],_0x35a81a);CodeceptRecorder['add'](()=>_0xb37a83[_0x50fef1(0x121)](TEST_EVENTS[_0x50fef1(0x100)],_0x319514)),CodeceptRecorder[_0x50fef1(0x14f)](async()=>{const _0x13a841=_0x50fef1,_0x3a656b={'ztQWo':function(_0x480c3b,_0xbf93cb,_0x5dce3c){return _0x597f2e['EKyiR'](_0x480c3b,_0xbf93cb,_0x5dce3c);},'NnMei':function(_0x23a4b1,_0x2527c6,_0x202dfb){const _0x15bb58=a1_0x41d5;return _0x597f2e[_0x15bb58(0xfe)](_0x23a4b1,_0x2527c6,_0x202dfb);}};_0x597f2e[_0x13a841(0x18d)](isBrowserstackInfra)&&await PerformanceTester[_0x13a841(0x10e)](PerformanceAutEvents[_0x13a841(0x18c)],async()=>{const _0x49a1e8=_0x13a841;_0x2d5e91?await _0x3a656b[_0x49a1e8(0x111)](playwrightMarkSessionStatus,_0xa1cd86,STATE_PASSED):await _0x3a656b[_0x49a1e8(0x18a)](markSessionStatus,_0xa1cd86,STATE_PASSED);})();}),PerformanceTester[_0x50fef1(0x11f)](PerformanceEvents[_0x50fef1(0x179)]);}catch(_0x4ae337){PerformanceTester[_0x50fef1(0x199)](_0x4ae337);const _0x80f62d={};_0x80f62d[_0x50fef1(0x148)]=_0x597f2e['QNHGN'],PerformanceTester[_0x50fef1(0x11f)](PerformanceHookEvents[_0x50fef1(0x182)],![],_0x4ae337,_0x80f62d),PerformanceTester[_0x50fef1(0x11f)](PerformanceEvents['SDK_TEST'],![],_0x4ae337);}const _0x274080={};_0x274080[_0x50fef1(0x148)]=_0x597f2e['QNHGN'],PerformanceTester[_0x50fef1(0x11f)](PerformanceHookEvents[_0x50fef1(0x182)],!![],null,_0x274080);}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x192)]['failed'],(_0xacf19c,_0x373ce4)=>{const _0x2bea65=_0xfd959a;PerformanceTester[_0x2bea65(0x194)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x597f2e['qUyLO'](_0xacf19c[_0x2bea65(0x155)][_0x2bea65(0x150)],_0x597f2e['YeLeV'])){const _0x37e22c=_0xb37a83[_0x2bea65(0x10a)](TEST_EVENTS[_0x2bea65(0x17e)],_0xacf19c[_0x2bea65(0x164)][_0x2bea65(0x156)]);CodeceptRecorder['add'](()=>_0xb37a83[_0x2bea65(0x121)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x37e22c));}else{const _0x47c5c3=_0xb37a83[_0x2bea65(0x10a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xacf19c,_0x373ce4);CodeceptRecorder['add'](()=>{const _0x524cbf=_0x2bea65;try{_0xb37a83[_0x524cbf(0x121)](TEST_EVENTS[_0x524cbf(0x100)],_0x47c5c3);}catch(_0x22ff29){logger[_0x524cbf(0x165)](_0x524cbf(0x110)+util[_0x524cbf(0x180)](_0x22ff29)),PerformanceTester[_0x524cbf(0x11f)](PerformanceEvents[_0x524cbf(0x179)],![],_0x22ff29);}}),CodeceptRecorder[_0x2bea65(0x14f)](async()=>{const _0x1ae366=_0x2bea65;try{_0x597f2e[_0x1ae366(0x15e)](isBrowserstackInfra)&&(_0x2d5e91?await _0x597f2e[_0x1ae366(0x127)](playwrightMarkSessionStatus,_0xa1cd86,STATE_FAILED,_0x373ce4):await _0x597f2e[_0x1ae366(0xdc)](markSessionStatus,_0xa1cd86,STATE_FAILED,_0x373ce4));}catch(_0x5c3975){logger[_0x1ae366(0x165)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x1ae366(0x180)](_0x5c3975)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x5c3975);}});}PerformanceTester[_0x2bea65(0x11f)](PerformanceEvents['SDK_TEST']);}catch(_0x118e68){PerformanceTester[_0x2bea65(0x199)](_0x118e68);const _0x4cdeba={};_0x4cdeba[_0x2bea65(0x148)]=_0x597f2e['uNSvG'],PerformanceTester[_0x2bea65(0x11f)](PerformanceHookEvents[_0x2bea65(0x182)],![],_0x118e68,_0x4cdeba),PerformanceTester[_0x2bea65(0x11f)](PerformanceEvents[_0x2bea65(0x179)],![],_0x118e68);}const _0x30cbf4={};_0x30cbf4[_0x2bea65(0x148)]=_0x597f2e['uNSvG'],PerformanceTester[_0x2bea65(0x11f)](PerformanceHookEvents[_0x2bea65(0x182)],!![],null,_0x30cbf4);}),CodeceptJS[_0xfd959a(0x15b)]['dispatcher']['on'](CodeceptJS[_0xfd959a(0x15b)]['test'][_0xfd959a(0x135)],_0x23d445=>{const _0x6ebb52=_0xfd959a;PerformanceTester['start'](PerformanceHookEvents[_0x6ebb52(0x182)]);try{const _0x255722=_0xb37a83['captureEvent'](TEST_EVENTS[_0x6ebb52(0x17e)],_0x23d445);CodeceptRecorder[_0x6ebb52(0x14f)](()=>_0xb37a83[_0x6ebb52(0x121)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x255722)),PerformanceTester[_0x6ebb52(0x11f)](PerformanceEvents[_0x6ebb52(0x179)]);}catch(_0x49cb4b){PerformanceTester[_0x6ebb52(0x199)](_0x49cb4b),PerformanceTester[_0x6ebb52(0x11f)](PerformanceEvents[_0x6ebb52(0x179)],![],_0x49cb4b);const _0x200818={};_0x200818[_0x6ebb52(0x148)]=_0x597f2e[_0x6ebb52(0x12f)],PerformanceTester[_0x6ebb52(0x11f)](PerformanceHookEvents[_0x6ebb52(0x182)],![],_0x49cb4b,_0x200818);}const _0x27bf2a={};_0x27bf2a['hookType']=_0x597f2e[_0x6ebb52(0x12f)],PerformanceTester[_0x6ebb52(0x11f)](PerformanceHookEvents[_0x6ebb52(0x182)],!![],null,_0x27bf2a);}),CodeceptJS[_0xfd959a(0x15b)]['dispatcher']['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x192)]['after'],async(_0x2f1d18,_0x1b7d9c)=>{const _0x571ac7=_0xfd959a;try{PerformanceTester[_0x571ac7(0x194)](PerformanceHookEvents[_0x571ac7(0x182)]);if(_0x597f2e[_0x571ac7(0x12e)](isBrowserstackInfra)){const _0x3d3e0e=_0x597f2e[_0x571ac7(0x14c)](shouldScanTestForAccessibility,_0x2f1d18[_0x571ac7(0x158)](),!![]);if(_0x597f2e[_0x571ac7(0x13c)](isAccessibilityAutomationSession)&&global[_0x571ac7(0x12c)]&&_0x3d3e0e){const _0xd56f85={};_0xd56f85['thTestRunUuid']=_0x2f1d18[_0x571ac7(0x12b)],_0xd56f85[_0x571ac7(0x193)]=process[_0x571ac7(0x139)][testHubConstants['ENV_VAR'][_0x571ac7(0x126)]],_0xd56f85[_0x571ac7(0xe5)]=process['env'][testHubConstants[_0x571ac7(0x176)][_0x571ac7(0x112)]];const _0x3da3a2=_0xd56f85;logger['debug'](_0x571ac7(0x16c)+JSON[_0x571ac7(0xcc)](_0x3da3a2)),CodeceptRecorder[_0x571ac7(0x14f)](async()=>{const _0x27f0db=_0x571ac7,_0xdee23e={};_0xdee23e['command']=_0x597f2e[_0x27f0db(0x149)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x27f0db(0x123)],async()=>{const _0x39588b=_0x27f0db;await AccessibilityHelper[_0x39588b(0x175)](_0xa1cd86,scripts[_0x39588b(0x140)]);},_0xdee23e)(),await PerformanceTester[_0x27f0db(0x10e)](PerformanceA11yEvents[_0x27f0db(0xcd)],async()=>{const _0x3ea44a=_0x27f0db;await AccessibilityHelper[_0x3ea44a(0x175)](_0xa1cd86,scripts['saveTestResults'],_0x3da3a2);})();}),logger[_0x571ac7(0x103)](_0x597f2e[_0x571ac7(0xf7)]);}}const _0x4ddbc5={};_0x4ddbc5[_0x571ac7(0x148)]=_0x597f2e[_0x571ac7(0xf2)],PerformanceTester[_0x571ac7(0x11f)](PerformanceHookEvents[_0x571ac7(0x182)],!![],null,_0x4ddbc5);}catch(_0x574665){PerformanceTester[_0x571ac7(0x199)](_0x574665);const _0x412dd3={};_0x412dd3[_0x571ac7(0x148)]=_0x597f2e['XMgUX'],PerformanceTester[_0x571ac7(0x11f)](PerformanceHookEvents[_0x571ac7(0x182)],![],_0x574665,_0x412dd3);}}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0x160)][_0xfd959a(0x113)],_0x6925ae=>{const _0xfdc48e=_0xfd959a;PerformanceTester[_0xfdc48e(0x194)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0xfdc48e(0x108)+process[_0xfdc48e(0x19b)],{'timestamp':new Date()[_0xfdc48e(0xce)](),'level':_0x597f2e['KkIVQ'],'message':_0x6925ae,'kind':_0x597f2e[_0xfdc48e(0x147)],'http_response':{}});}catch(_0x334a3c){PerformanceTester[_0xfdc48e(0x199)](_0x334a3c);const _0x518443={};_0x518443[_0xfdc48e(0x148)]=_0x597f2e[_0xfdc48e(0x19e)],PerformanceTester[_0xfdc48e(0x11f)](PerformanceHookEvents['SDK_HOOK'],![],_0x334a3c,_0x518443);}const _0x41a4b3={};_0x41a4b3[_0xfdc48e(0x148)]=_0x597f2e[_0xfdc48e(0x19e)],PerformanceTester['end'](PerformanceHookEvents[_0xfdc48e(0x182)],!![],null,_0x41a4b3);}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS['event'][_0xfd959a(0xf5)][_0xfd959a(0xff)],_0x5d3cd6=>{const _0x4420d7=_0xfd959a,_0x542537={};_0x542537['hookType']=_0x597f2e[_0x4420d7(0x1a0)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x4420d7(0x182)],()=>{_0xb37a83['bddStepStart'](_0x5d3cd6);},_0x542537)();}),CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xe6)]['on'](CodeceptJS[_0xfd959a(0x15b)][_0xfd959a(0xf5)][_0xfd959a(0x10f)],_0x2854bd=>{const _0x4a98f4=_0xfd959a,_0x68a4ff={};_0x68a4ff['hookType']=_0x597f2e[_0x4a98f4(0xe9)],PerformanceTester[_0x4a98f4(0x10e)](PerformanceHookEvents[_0x4a98f4(0x182)],()=>{const _0x1c7382=_0x4a98f4;_0xb37a83[_0x1c7382(0xe1)](_0x2854bd);},_0x68a4ff)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0xa82872=a2_0x1167;(function(_0x2ad80a,_0x22ad89){const _0x46535a=a2_0x1167,_0x23ebe9=_0x2ad80a();while(!![]){try{const _0x599057=-parseInt(_0x46535a(0x203))/0x1+-parseInt(_0x46535a(0x1ea))/0x2+-parseInt(_0x46535a(0x22e))/0x3*(parseInt(_0x46535a(0x1d4))/0x4)+parseInt(_0x46535a(0x218))/0x5+parseInt(_0x46535a(0x22d))/0x6+-parseInt(_0x46535a(0x229))/0x7+parseInt(_0x46535a(0x1e2))/0x8;if(_0x599057===_0x22ad89)break;else _0x23ebe9['push'](_0x23ebe9['shift']());}catch(_0x30c511){_0x23ebe9['push'](_0x23ebe9['shift']());}}}(a2_0x47c6,0xa44cc));function a2_0x47c6(){const _0xc45130=['xOSCS','validPlatformsPresent','playwright-webkit','SDK_SETUP','useW3C','map','xIexV','USER_CONFIG_DETAILS_PATH','debug','codecept.conf.js','browserWSEndpoint','TQdqw','split','frameworkName','4219334BnzkKr','desiredCapabilities','MBgrD','SDK_CLEANUP','6429576tVgrme','305043rkVKjH','finalExecution','title','existsSync','2|5|0|4|1|3','TyOXs','MFKwv','push','load','xJXFM','info','skipSessionName','enabled','skipSessionStatus','../../helpers/test-observability/utils','pZVpE','hxXmm','BrowserStackPlugin.js','helpers','WebDriver','EVENTS','webkit','env','kPFIg','process','mergeDeep','FRAMEWORKS','CODECEPT','getPlatformName','before','isTestObservabilitySession','event','HNsiu','platforms','testObservability','failed','test','prepareCapabilities','UIffV','uTPIW','isEmpty','browser','firefox','gakqF','config','passed','accessibilityOptions','Failed\x20:\x20','cwd','root','end','browserName','codeceptjs','result','DEUKs','36KnrZhh','chromium','createGroupsOfSuites','forEach','findIndex','Yuykd','phfXB','--config','chdir','McTQW','-cucumber','../../helpers/BrowserStackSetup','toLowerCase','accessibility','12229920Ssmgnv','winstonLogger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTrue','DojWO','addOptions','BrowserStackPlugin','DPcHA','1319378jkAIsv','bvoIv','../../helpers/testhub/testhubHandler','gherkin','slice','join','Playwright','parallelsPerPlatform','zilbE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LTlHl','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Passed\x20:\x20','length','../../helpers/performance/performance-tester','FnjwO','err','stringify','ZBHqd','all','hjjEM','addConfig','NAuni','testContextOptions','../../helpers/utilities','85262ELBJVW','eYbzt','bhqYa','stop','printBuildLink','isUndefined','initialize','errorMessage','util','profile','teardownAll','testConfig','printResults','../../bin/playwright/accessibility-helper','Started\x20:\x20','exports','ETNrp','YZBQo','log','../../helpers/accessibility-automation/helper','spawn','1677390CAGetA','setAdditionalCapabilities','require'];a2_0x47c6=function(){return _0xc45130;};return a2_0x47c6();}const fs=require('fs'),path=require('path'),util=require(a2_0xa82872(0x20b)),process=require(a2_0xa82872(0x246)),logger=require('../../helpers/logger')[a2_0xa82872(0x1e3)],{default:BrowserStackSetup}=require(a2_0xa82872(0x1df)),helper=require('../../helpers/helper'),utilities=require(a2_0xa82872(0x202)),{checkAccessibilityPlatformConfig}=require(a2_0xa82872(0x216)),{setAccessibilityCapabilities}=require(a2_0xa82872(0x210)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),testOpsHelper=require(a2_0xa82872(0x23c)),TestHubHandler=require(a2_0xa82872(0x1ec)),constants=require('../utils/constants'),PerformanceTester=require(a2_0xa82872(0x1f8)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0xa82872(0x242)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4600d2,_0x27a4c8)=>{const _0x1fcf8c=a2_0xa82872,_0x4d616c={};_0x4d616c[_0x1fcf8c(0x254)]=function(_0x56d5b8,_0xdf220e){return _0x56d5b8===_0xdf220e;},_0x4d616c['kPFIg']=_0x1fcf8c(0x224),_0x4d616c[_0x1fcf8c(0x1f2)]='codecept.json';const _0x42dd93=_0x4d616c;let _0x31ceec=null;const _0x5f0661={};let _0x100961=_0x27a4c8[_0x1fcf8c(0x1d8)](_0x245fdb=>_0x245fdb===_0x1fcf8c(0x1db));_0x42dd93[_0x1fcf8c(0x254)](_0x100961,-0x1)&&(_0x100961=_0x27a4c8[_0x1fcf8c(0x1d8)](_0x34c77b=>_0x34c77b==='-c'));if(!helper['isUndefined'](_0x4600d2[_0x1fcf8c(0x25a)])&&fs[_0x1fcf8c(0x231)](path['join'](process[_0x1fcf8c(0x25e)](),_0x4600d2[_0x1fcf8c(0x25a)])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['config']),_0x27a4c8[_0x1fcf8c(0x1ee)](_0x100961,0x2);else{if(!helper[_0x1fcf8c(0x208)](_0x4600d2['c'])&&fs[_0x1fcf8c(0x231)](path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['c'])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['c']),_0x27a4c8[_0x1fcf8c(0x1ee)](_0x100961,0x2);else{if(fs[_0x1fcf8c(0x231)](path['join'](process[_0x1fcf8c(0x25e)](),_0x42dd93[_0x1fcf8c(0x245)])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process['cwd'](),_0x42dd93[_0x1fcf8c(0x245)]);else fs[_0x1fcf8c(0x231)](path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x42dd93[_0x1fcf8c(0x1f2)]))&&(_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x42dd93['zilbE']));}}return process['env'][_0x1fcf8c(0x222)]=_0x31ceec,_0x31ceec;},getO11yRerunPattern=()=>{const _0x4eac17=a2_0xa82872,_0x51a4f6=helper[_0x4eac17(0x1e5)](process[_0x4eac17(0x244)]['BROWSERSTACK_RERUN']);if(_0x51a4f6){const _0x35bbcb=process[_0x4eac17(0x244)]['BROWSERSTACK_RERUN_TESTS'],_0x16f480=[];if(helper['validateRerunTestList'](_0x35bbcb)&&!helper[_0x4eac17(0x208)](_0x35bbcb)){_0x35bbcb[_0x4eac17(0x227)](',')[_0x4eac17(0x220)](_0x4055a5=>{const _0x142cc7=_0x4eac17;_0x16f480[_0x142cc7(0x235)]('('+_0x4055a5['trim']()+')');});const _0x4da91a='^'+_0x16f480[_0x4eac17(0x1ef)]('|')+'$';return _0x4da91a;}}return null;},a2_0x53dc9c={};a2_0x53dc9c['chrome']=a2_0xa82872(0x1d5),a2_0x53dc9c['playwright-chromium']=a2_0xa82872(0x1d5),a2_0x53dc9c['playwright-firefox']=a2_0xa82872(0x258),a2_0x53dc9c[a2_0xa82872(0x21d)]=a2_0xa82872(0x243);function a2_0x1167(_0x502494,_0x52f7fa){const _0x47c6fc=a2_0x47c6();return a2_0x1167=function(_0x11673f,_0x2545de){_0x11673f=_0x11673f-0x1d4;let _0x2d7fb0=_0x47c6fc[_0x11673f];return _0x2d7fb0;},a2_0x1167(_0x502494,_0x52f7fa);}const pwToCodeceptBrowser=a2_0x53dc9c;async function run(_0x3b9c93,_0x315f53){const _0x1a7ba5=a2_0xa82872,_0x27a888={'uTPIW':function(_0x3e0fff,_0x156e7f){return _0x3e0fff+_0x156e7f;},'xJXFM':function(_0x5e4cd1,_0x479ef3){return _0x5e4cd1(_0x479ef3);},'FnjwO':function(_0x2323e7,_0x4dfec0,_0x2da054){return _0x2323e7(_0x4dfec0,_0x2da054);},'xIexV':_0x1a7ba5(0x240),'gakqF':function(_0x2c7118){return _0x2c7118();},'eYbzt':_0x1a7ba5(0x25d),'bvoIv':_0x1a7ba5(0x1f6),'YZBQo':_0x1a7ba5(0x211),'DojWO':_0x1a7ba5(0x232),'NAuni':_0x1a7ba5(0x262),'MBgrD':function(_0xb650f6,_0x3b33da,_0xea4949){return _0xb650f6(_0x3b33da,_0xea4949);},'xOSCS':_0x1a7ba5(0x1e4),'LTlHl':'Playwright','DEUKs':'WebDriver','phfXB':function(_0x1f41e8,_0xb43ad3){return _0x1f41e8!=_0xb43ad3;},'MFKwv':function(_0x30f7f6,_0x51e38a){return _0x30f7f6===_0x51e38a;},'HNsiu':_0x1a7ba5(0x1ed),'oCDXu':_0x1a7ba5(0x1de),'hjjEM':function(_0x2a5ad5){return _0x2a5ad5();},'TyOXs':function(_0x141f3c,_0x11f830){return _0x141f3c*_0x11f830;},'McTQW':'browser','ETNrp':function(_0x54b9b8,_0x916b93,_0x359994){return _0x54b9b8(_0x916b93,_0x359994);},'bhqYa':'desiredCapabilities','TQdqw':_0x1a7ba5(0x25f),'pZVpE':_0x1a7ba5(0x23f),'Yuykd':'browserStackCwd','ZBHqd':function(_0x2ee622){return _0x2ee622();}},_0x37b620=new BrowserStackSetup(_0x3b9c93,_0x27a888[_0x1a7ba5(0x200)]);await _0x37b620[_0x1a7ba5(0x209)](),await helper['handleApp'](_0x37b620[_0x1a7ba5(0x25a)]);if(!_0x37b620[_0x1a7ba5(0x25a)])return;process[_0x1a7ba5(0x20c)]=_0x3b9c93[_0x1a7ba5(0x20c)];_0x3b9c93[_0x1a7ba5(0x20c)]&&(process[_0x1a7ba5(0x244)][_0x1a7ba5(0x20c)]=_0x3b9c93[_0x1a7ba5(0x20c)]);const _0x4d26cc=_0x27a888[_0x1a7ba5(0x22b)](getUserCodeceptJSConfigs,_0x3b9c93,_0x315f53);let _0x4c9051={};_0x4d26cc?(logger[_0x1a7ba5(0x238)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4d26cc),_0x4c9051=CodeceptJS[_0x1a7ba5(0x25a)][_0x1a7ba5(0x236)](_0x4d26cc)):logger[_0x1a7ba5(0x238)](_0x27a888[_0x1a7ba5(0x21b)]);let _0x448cac=![];_0x27a888['FnjwO'](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x27a888[_0x1a7ba5(0x1f4)]])&&(_0x448cac=!![]);const _0x4c076c=_0x448cac?_0x27a888[_0x1a7ba5(0x1f4)]:_0x27a888[_0x1a7ba5(0x264)];let _0x18c086=!_0x448cac?helper[_0x1a7ba5(0x21f)](_0x37b620['config']):![];!helper[_0x1a7ba5(0x208)](_0x37b620['config'][_0x1a7ba5(0x25c)])&&(process[_0x1a7ba5(0x244)][_0x1a7ba5(0x1f3)]=JSON[_0x1a7ba5(0x1fb)](_0x37b620[_0x1a7ba5(0x25a)]['accessibilityOptions']));let _0x351a3d=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x1e1)];_0x351a3d=_0x351a3d||_0x27a888[_0x1a7ba5(0x237)](checkAccessibilityPlatformConfig,_0x37b620[_0x1a7ba5(0x25a)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x351a3d;_0x351a3d&&(_0x18c086=!_0x351a3d);_0x27a888[_0x1a7ba5(0x1da)](_0x37b620['config'][_0x1a7ba5(0x250)],null)?process[_0x1a7ba5(0x244)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x250)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x27a888[_0x1a7ba5(0x234)](_0x4c076c,_0x27a888[_0x1a7ba5(0x1f4)]);const _0x39b501=_0x27a888[_0x1a7ba5(0x22b)](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x24e)]]),_0x71b06e=_0x27a888[_0x1a7ba5(0x255)](_0x27a888[_0x1a7ba5(0x200)],_0x39b501&&!helper[_0x1a7ba5(0x256)](_0x39b501)?_0x27a888['oCDXu']:''),_0xd25ba3=await TestHubHandler['launchBuild'](_0x71b06e,_0x37b620);_0x351a3d&&_0x27a888['xJXFM'](setAccessibilityCapabilities,_0x37b620[_0x1a7ba5(0x25a)]);const _0x1a6356={},_0x1c818c=[],_0x8af262=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x1f1)]||helper['getUserWorkerCount'](_0x3b9c93,_0x315f53,_0x37b620[_0x1a7ba5(0x25a)],constants[_0x1a7ba5(0x248)][_0x1a7ba5(0x249)])||0x1;let _0x39efbb=0x1;if(_0x27a888[_0x1a7ba5(0x1fe)](isBrowserstackInfra)){const _0x50e727=helper[_0x1a7ba5(0x253)](_0x37b620[_0x1a7ba5(0x25a)],_0x18c086,constants[_0x1a7ba5(0x248)][_0x1a7ba5(0x249)]);_0x50e727[_0x1a7ba5(0x1d7)](_0x3d3087=>{const _0x1b3ba4=_0x1a7ba5;helper[_0x1b3ba4(0x219)](_0x3d3087);}),helper[_0x1a7ba5(0x21c)](_0x37b620[_0x1a7ba5(0x25a)])?_0x39efbb=_0x27a888[_0x1a7ba5(0x233)](_0x8af262,_0x37b620['config'][_0x1a7ba5(0x24f)][_0x1a7ba5(0x1f7)]):_0x39efbb=_0x8af262,_0x50e727[_0x1a7ba5(0x1d7)](_0xa42191=>{const _0x1263c8=_0x1a7ba5,_0x94b028={'hxXmm':function(_0x5c7ea1,_0x3c45ec){return _0x27a888['uTPIW'](_0x5c7ea1,_0x3c45ec);},'DPcHA':function(_0x383c48,_0x1e8ee3){const _0x123347=a2_0x1167;return _0x27a888[_0x123347(0x237)](_0x383c48,_0x1e8ee3);}},_0x3a0076=_0x27a888['uTPIW'](helper[_0x1263c8(0x24a)](_0xa42191,'_'),'_'+Date['now']()),_0x308f68=((()=>{const _0x204f11=_0x1263c8;if(_0x448cac){const _0xee8982=pwToCodeceptBrowser[_0xa42191['browserName']]||_0xa42191[_0x204f11(0x261)];return{'browser':_0xee8982,[_0xee8982]:{'browserWSEndpoint':_0x94b028[_0x204f11(0x23e)](helper['getPlaywrightUrl'](_0x37b620['config']),_0x94b028[_0x204f11(0x1e9)](encodeURIComponent,JSON[_0x204f11(0x1fb)](_0xa42191)))}};}const _0x415f5c={};return _0x415f5c[_0x204f11(0x22a)]=_0xa42191,_0x415f5c;})()),_0x4f8487=_0x27a888[_0x1263c8(0x1f9)](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x4c076c]);_0x1a6356[_0x3a0076]=_0x4f8487?helper[_0x1263c8(0x247)](_0x308f68,_0x4f8487):_0x308f68,!_0x448cac&&(_0x1a6356[_0x3a0076][_0x1263c8(0x257)]=_0xa42191['browserName']||_0x308f68[_0x1263c8(0x257)]),_0x1c818c[_0x1263c8(0x235)](_0x3a0076);});}else{_0x39efbb=0x1;if(_0x448cac){const _0x2d0cbe=_0x27a888['FnjwO'](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x221)],_0x4c076c,_0x27a888[_0x1a7ba5(0x1dd)]]),_0x399767=_0x27a888[_0x1a7ba5(0x213)](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x4c076c,_0x2d0cbe]);_0x399767&&_0x399767['browserWSEndpoint']&&(_0x399767[_0x1a7ba5(0x225)]=helper[_0x1a7ba5(0x253)](null,null,_0x71b06e[_0x1a7ba5(0x1e0)](),null,null,_0x399767[_0x1a7ba5(0x225)]));}else _0x4c9051[_0x27a888[_0x1a7ba5(0x221)]][_0x4c076c][_0x27a888[_0x1a7ba5(0x205)]]=helper[_0x1a7ba5(0x253)](null,null,_0x71b06e[_0x1a7ba5(0x1e0)](),_0x27a888[_0x1a7ba5(0x1f9)](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x221)],_0x4c076c,_0x27a888[_0x1a7ba5(0x205)]]),null,null);_0x1a6356[_0x27a888[_0x1a7ba5(0x226)]]=_0x4c9051,_0x1c818c[_0x1a7ba5(0x235)](_0x27a888[_0x1a7ba5(0x226)]);}const _0x1917ca={};_0x1917ca[_0x1a7ba5(0x20e)]=_0x4d26cc;const _0xa5538a=_0x1917ca,_0x3feb1e=path[_0x1a7ba5(0x1ef)](__dirname,_0x27a888[_0x1a7ba5(0x23d)]),_0x2ac12b=process[_0x1a7ba5(0x25e)]();process[_0x1a7ba5(0x244)][_0x27a888[_0x1a7ba5(0x1d9)]]=_0x2ac12b,process[_0x1a7ba5(0x1dc)](path['dirname'](_0x4d26cc));const _0x10d558=new CodeceptJS['Workers'](null,_0xa5538a),_0x23503e=_0x10d558[_0x1a7ba5(0x1d6)](_0x39efbb),_0x2fb19f=testOpsHelper[_0x1a7ba5(0x24c)](),_0x104e0d=_0x1c818c[_0x1a7ba5(0x220)](_0x11325e=>{const _0x3a1eb8=_0x1a7ba5,_0x1f6f9b={};_0x1f6f9b[_0x3a1eb8(0x1f0)]=_0x1a6356[_0x11325e];const _0x7efe66={};_0x7efe66[_0x3a1eb8(0x241)]=_0x1a6356[_0x11325e];const _0x2016f7=_0x448cac?_0x1f6f9b:_0x7efe66,_0x2a43af=_0x27a888[_0x3a1eb8(0x259)](getO11yRerunPattern),_0x5d8103={};_0x5d8103['helpers']=_0x2016f7;const _0x48e963={};_0x48e963[_0x3a1eb8(0x21a)]=_0x3feb1e,_0x48e963[_0x3a1eb8(0x23a)]=!![],_0x48e963[_0x3a1eb8(0x239)]=_0x37b620[_0x3a1eb8(0x25a)][_0x3a1eb8(0x201)][_0x3a1eb8(0x239)],_0x48e963[_0x3a1eb8(0x23b)]=_0x37b620[_0x3a1eb8(0x25a)][_0x3a1eb8(0x201)][_0x3a1eb8(0x23b)],_0x48e963[_0x3a1eb8(0x250)]=_0x2fb19f,_0x48e963[_0x3a1eb8(0x228)]=_0x71b06e;const _0x13c9f8={};_0x13c9f8[_0x3a1eb8(0x1e8)]=_0x48e963;const _0x26e99d={};return _0x26e99d['plugins']=_0x13c9f8,helper['mergeDeep']({},_0x4c9051,_0x27a888[_0x3a1eb8(0x259)](isBrowserstackInfra)?_0x5d8103:{},_0x2a43af?{'grep':_0x2a43af}:{},_0x26e99d);});for(const _0x3c954e of _0x104e0d){for(const _0x17b913 of _0x23503e){const _0x50c7de=_0x10d558[_0x1a7ba5(0x217)]();_0x50c7de['addTests'](_0x17b913),_0x50c7de[_0x1a7ba5(0x1ff)](_0x3c954e);const _0x2a0f12={};_0x2a0f12[_0x1a7ba5(0x25a)]=_0x4d26cc,_0x50c7de[_0x1a7ba5(0x1e7)](_0x2a0f12);}}_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x251)],(_0x5acd0e,_0x144069)=>{const _0x4c9fe5=_0x1a7ba5;console[_0x4c9fe5(0x215)](_0x27a888[_0x4c9fe5(0x204)],_0x5acd0e[_0x4c9fe5(0x230)]);const _0x5c92e7={[_0x5acd0e[_0x4c9fe5(0x230)]]:_0x5acd0e[_0x4c9fe5(0x1fa)]['stack']};_testErrorData[_0x4c9fe5(0x235)](_0x5c92e7);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x25b)],async _0x2acd0b=>{const _0xfd72fa=_0x1a7ba5;console[_0xfd72fa(0x215)](_0x27a888[_0xfd72fa(0x1eb)],_0x2acd0b[_0xfd72fa(0x230)]);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x24b)],async _0xa7e01c=>{const _0x68747b=_0x1a7ba5;console[_0x68747b(0x215)](_0x27a888[_0x68747b(0x214)],_0xa7e01c[_0x68747b(0x230)]);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x1fd)][_0x1a7ba5(0x263)],async()=>{const _0x39bd6b=_0x1a7ba5,_0x51ec98=_0x27a888[_0x39bd6b(0x1e6)][_0x39bd6b(0x227)]('|');let _0x3940a6=0x0;while(!![]){switch(_0x51ec98[_0x3940a6++]){case'0':testOpsHelper[_0x39bd6b(0x207)]();continue;case'1':try{await TestHubHandler[_0x39bd6b(0x206)]();}catch(_0x36041d){logger[_0x39bd6b(0x223)](_0x39bd6b(0x1f5)+util['format'](_0x36041d));}continue;case'2':PerformanceTester['start'](PerformanceEvents[_0x39bd6b(0x22c)]);continue;case'3':_0x10d558[_0x39bd6b(0x20f)]();continue;case'4':utilities[_0x39bd6b(0x22f)](_0x37b620);continue;case'5':_0x37b620[_0x39bd6b(0x20a)]=_testErrorData;continue;}break;}});async function _0x1a1106(){const _0x51faf6=_0x1a7ba5;try{await _0x10d558['bootstrapAll'](),await _0x10d558['run']();}finally{process['chdir'](_0x2ac12b),await _0x10d558[_0x51faf6(0x20d)]();}}PerformanceTester[_0x1a7ba5(0x260)](PerformanceEvents[_0x1a7ba5(0x21e)]),_0x27a888[_0x1a7ba5(0x1fc)](_0x1a1106);}module[a2_0xa82872(0x212)]=run;
|
|
2
|
+
'use strict';function a2_0x247c(){const _0x21a7ba=['enabled','1558472PcryYe','err','codeceptjs','spawn','Passed\x20:\x20','codecept.conf.js','cwd','40810tIpkoU','findIndex','gherkin','teardownAll','printResults','addTests','10jSmDRV','33bOqFVs','DxIwp','playwright-webkit','exports','BROWSERSTACK_RERUN','chrome','../../helpers/helper','addOptions','1605900VrAwVT','Started\x20:\x20','launchBuild','end','run','plugins','isTestObservabilitySession','setAdditionalCapabilities','passed','FcAFa','map','chdir','500ubFhhA','getUserWorkerCount','finalExecution','playwright-chromium','CODECEPT_CUCUMBER','bgfgj','60684HuwrJg','addConfig','accessibilityOptions','debug','env','handleApp','JPlYP','skipSessionName','PnIHM','DlAJn','event','stringify','../../helpers/performance/performance-tester','getPlatformName','BrowserStackPlugin.js','helpers','stop','createGroupsOfSuites','FRAMEWORKS','SyGIz','300FWhePQ','OWlXK','Workers','SDK_CLEANUP','firefox','kORMt','failed','initialize','isTrue','uGLJb','nREHd','527948kqKLPh','vdcnj','isEmpty','stack','../../helpers/utilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','browserWSEndpoint','codecept.json','config','LLZwm','path','split','getPlaywrightUrl','testObservability','playwright-firefox','IxQkX','BROWSERSTACK_TEST_ACCESSIBILITY_YML','0|5|1|4|2|3','format','isUndefined','require','profile','fvSXm','CODECEPT','aWcVz','push','../../bin/playwright/accessibility-helper','nlAWF','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','browser','slice','SDK_SETUP','result','length','title','moyZs','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','info','100118cBZxDl','WnfnK','root','gOvUa','mSNsM','now','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','printBuildLink','log','TClIi','toLowerCase','errorMessage','WebDriver','qAVyU','all','start','BROWSERSTACK_TEST_OBSERVABILITY_YML','dirname','testContextOptions','cNhrh','forEach','../../helpers/testhub/testhubHandler','GwxwJ','BROWSERSTACK_RERUN_TESTS','existsSync','browserName','platforms','9UauLUx','Failed\x20:\x20','join','Playwright','3609bNyoHU','trim','FZLkI','EVENTS','../utils/constants','../../helpers/BrowserStackSetup','mergeDeep','util','prepareCapabilities','../../helpers/accessibility-automation/helper','test'];a2_0x247c=function(){return _0x21a7ba;};return a2_0x247c();}const a2_0x46c6e1=a2_0x4ebe;(function(_0x4dfb15,_0x229956){const _0x265413=a2_0x4ebe,_0x49cc93=_0x4dfb15();while(!![]){try{const _0x1e2c71=-parseInt(_0x265413(0x1b9))/0x1+-parseInt(_0x265413(0x16e))/0x2*(-parseInt(_0x265413(0x140))/0x3)+parseInt(_0x265413(0x193))/0x4*(parseInt(_0x265413(0x159))/0x5)+parseInt(_0x265413(0x188))/0x6*(-parseInt(_0x265413(0x153))/0x7)+parseInt(_0x265413(0x14c))/0x8*(-parseInt(_0x265413(0x1d4))/0x9)+parseInt(_0x265413(0x162))/0xa+-parseInt(_0x265413(0x15a))/0xb*(-parseInt(_0x265413(0x174))/0xc);if(_0x1e2c71===_0x229956)break;else _0x49cc93['push'](_0x49cc93['shift']());}catch(_0x513eae){_0x49cc93['push'](_0x49cc93['shift']());}}}(a2_0x247c,0x259ca));const fs=require('fs'),path=require(a2_0x46c6e1(0x19d)),util=require(a2_0x46c6e1(0x147)),process=require('process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x46c6e1(0x145)),helper=require(a2_0x46c6e1(0x160)),utilities=require(a2_0x46c6e1(0x197)),{checkAccessibilityPlatformConfig}=require(a2_0x46c6e1(0x149)),{setAccessibilityCapabilities}=require(a2_0x46c6e1(0x1ad)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x46c6e1(0x160)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x46c6e1(0x14e)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x46c6e1(0x1ce)),constants=require(a2_0x46c6e1(0x144)),PerformanceTester=require(a2_0x46c6e1(0x180)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x46c6e1(0x143)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x5699aa,_0x403909)=>{const _0x3200f5=a2_0x46c6e1,_0x126bce={};_0x126bce['moyZs']=function(_0x44643c,_0x395bd5){return _0x44643c===_0x395bd5;},_0x126bce[_0x3200f5(0x173)]=_0x3200f5(0x151),_0x126bce[_0x3200f5(0x18d)]=_0x3200f5(0x19a);const _0x2ef9c2=_0x126bce;let _0x1c907b=null;const _0x3e7637={};let _0x16692b=_0x403909[_0x3200f5(0x154)](_0x2b9841=>_0x2b9841==='--config');_0x2ef9c2[_0x3200f5(0x1b6)](_0x16692b,-0x1)&&(_0x16692b=_0x403909[_0x3200f5(0x154)](_0x48ca30=>_0x48ca30==='-c'));if(!helper['isUndefined'](_0x5699aa[_0x3200f5(0x19b)])&&fs['existsSync'](path[_0x3200f5(0x13e)](process['cwd'](),_0x5699aa[_0x3200f5(0x19b)])))_0x1c907b=path[_0x3200f5(0x13e)](process[_0x3200f5(0x152)](),_0x5699aa[_0x3200f5(0x19b)]),_0x403909[_0x3200f5(0x1b1)](_0x16692b,0x2);else{if(!helper[_0x3200f5(0x1a6)](_0x5699aa['c'])&&fs[_0x3200f5(0x1d1)](path['join'](process['cwd'](),_0x5699aa['c'])))_0x1c907b=path[_0x3200f5(0x13e)](process['cwd'](),_0x5699aa['c']),_0x403909[_0x3200f5(0x1b1)](_0x16692b,0x2);else{if(fs['existsSync'](path[_0x3200f5(0x13e)](process[_0x3200f5(0x152)](),_0x2ef9c2[_0x3200f5(0x173)])))_0x1c907b=path['join'](process['cwd'](),_0x2ef9c2[_0x3200f5(0x173)]);else fs[_0x3200f5(0x1d1)](path[_0x3200f5(0x13e)](process[_0x3200f5(0x152)](),_0x2ef9c2[_0x3200f5(0x18d)]))&&(_0x1c907b=path['join'](process['cwd'](),_0x2ef9c2[_0x3200f5(0x18d)]));}}return process[_0x3200f5(0x178)]['USER_CONFIG_DETAILS_PATH']=_0x1c907b,_0x1c907b;},getO11yRerunPattern=()=>{const _0x53a408=a2_0x46c6e1,_0x405858=helper[_0x53a408(0x190)](process['env'][_0x53a408(0x15e)]);if(_0x405858){const _0x4b315e=process[_0x53a408(0x178)][_0x53a408(0x1d0)],_0x2f00d9=[];if(helper['validateRerunTestList'](_0x4b315e)&&!helper[_0x53a408(0x1a6)](_0x4b315e)){_0x4b315e[_0x53a408(0x19e)](',')[_0x53a408(0x16c)](_0x1dec81=>{const _0xd4cad1=_0x53a408;_0x2f00d9[_0xd4cad1(0x1ac)]('('+_0x1dec81[_0xd4cad1(0x141)]()+')');});const _0x517447='^'+_0x2f00d9[_0x53a408(0x13e)]('|')+'$';return _0x517447;}}return null;},a2_0x3355d={};function a2_0x4ebe(_0x58d8d9,_0x5521b7){const _0x247c0a=a2_0x247c();return a2_0x4ebe=function(_0x4ebeb0,_0x4c068a){_0x4ebeb0=_0x4ebeb0-0x13d;let _0x6ab8c2=_0x247c0a[_0x4ebeb0];return _0x6ab8c2;},a2_0x4ebe(_0x58d8d9,_0x5521b7);}a2_0x3355d[a2_0x46c6e1(0x15f)]='chromium',a2_0x3355d[a2_0x46c6e1(0x171)]='chromium',a2_0x3355d[a2_0x46c6e1(0x1a1)]=a2_0x46c6e1(0x18c),a2_0x3355d[a2_0x46c6e1(0x15c)]='webkit';const pwToCodeceptBrowser=a2_0x3355d;async function run(_0x3b99b0,_0x45ce87){const _0x5261c7=a2_0x46c6e1,_0x4e0d12={'LLZwm':function(_0x408ac,_0x4fff28){return _0x408ac+_0x4fff28;},'nREHd':function(_0xd8f8b,_0x420a4e){return _0xd8f8b(_0x420a4e);},'FZLkI':function(_0x1761b3,_0x2b7760,_0x45bc57){return _0x1761b3(_0x2b7760,_0x45bc57);},'SyGIz':_0x5261c7(0x183),'DlAJn':function(_0x3b8792){return _0x3b8792();},'qAVyU':_0x5261c7(0x13d),'uGLJb':_0x5261c7(0x150),'wMkkb':_0x5261c7(0x163),'IxQkX':_0x5261c7(0x1a4),'WnfnK':_0x5261c7(0x14e),'JhneT':_0x5261c7(0x1b7),'OWlXK':function(_0x48c805,_0x2a3966,_0x18d687){return _0x48c805(_0x2a3966,_0x18d687);},'PnIHM':_0x5261c7(0x13f),'vdcnj':'WebDriver','gOvUa':function(_0x34f648,_0x5ae7c9){return _0x34f648!=_0x5ae7c9;},'XztaW':function(_0x5c7a28,_0x5ec045){return _0x5c7a28===_0x5ec045;},'nlAWF':function(_0xc362e8,_0x24e7a0,_0x16a4ce){return _0xc362e8(_0x24e7a0,_0x16a4ce);},'sGqdO':_0x5261c7(0x155),'ZUneq':function(_0x47b135,_0x4bf063){return _0x47b135(_0x4bf063);},'GwxwJ':function(_0x40b8b1,_0x890688){return _0x40b8b1*_0x890688;},'JPlYP':_0x5261c7(0x1b0),'cNhrh':'desiredCapabilities','TClIi':function(_0x10b506,_0x1acc26,_0x16edcf){return _0x10b506(_0x1acc26,_0x16edcf);},'DxIwp':_0x5261c7(0x1bb),'mSNsM':_0x5261c7(0x182),'aWcVz':'browserStackCwd','fvSXm':function(_0x3b0d9a){return _0x3b0d9a();}},_0x531b8c=new BrowserStackSetup(_0x3b99b0,_0x4e0d12[_0x5261c7(0x1ba)]);await _0x531b8c[_0x5261c7(0x18f)](),await helper[_0x5261c7(0x179)](_0x531b8c[_0x5261c7(0x19b)]);if(!_0x531b8c[_0x5261c7(0x19b)])return;process['profile']=_0x3b99b0[_0x5261c7(0x1a8)];_0x3b99b0[_0x5261c7(0x1a8)]&&(process[_0x5261c7(0x178)][_0x5261c7(0x1a8)]=_0x3b99b0[_0x5261c7(0x1a8)]);const _0x5de46d=_0x4e0d12[_0x5261c7(0x142)](getUserCodeceptJSConfigs,_0x3b99b0,_0x45ce87);let _0x889a2={};_0x5de46d?(logger[_0x5261c7(0x1b8)](_0x5261c7(0x1af)+_0x5de46d),_0x889a2=CodeceptJS['config']['load'](_0x5de46d)):logger[_0x5261c7(0x1b8)](_0x4e0d12['JhneT']);let _0x5dd840=![];_0x4e0d12[_0x5261c7(0x189)](nestedKeyValue,_0x889a2,[_0x4e0d12[_0x5261c7(0x187)],_0x4e0d12[_0x5261c7(0x17c)]])&&(_0x5dd840=!![]);const _0x3c846a=_0x5dd840?_0x4e0d12[_0x5261c7(0x17c)]:_0x4e0d12[_0x5261c7(0x194)];let _0x534641=!_0x5dd840?helper['useW3C'](_0x531b8c[_0x5261c7(0x19b)]):![];!helper[_0x5261c7(0x1a6)](_0x531b8c[_0x5261c7(0x19b)]['accessibilityOptions'])&&(process[_0x5261c7(0x178)][_0x5261c7(0x1bf)]=JSON['stringify'](_0x531b8c[_0x5261c7(0x19b)][_0x5261c7(0x176)]));let _0x4348d9=_0x531b8c[_0x5261c7(0x19b)]['accessibility'];_0x4348d9=_0x4348d9||_0x4e0d12['nREHd'](checkAccessibilityPlatformConfig,_0x531b8c[_0x5261c7(0x19b)]),process[_0x5261c7(0x178)][_0x5261c7(0x1a3)]=_0x4348d9;_0x4348d9&&(_0x534641=!_0x4348d9);_0x4e0d12[_0x5261c7(0x1bc)](_0x531b8c['config'][_0x5261c7(0x1a0)],null)?process[_0x5261c7(0x178)][_0x5261c7(0x1c9)]=_0x531b8c['config']['testObservability']:process['env'][_0x5261c7(0x1c9)]=_0x4e0d12['XztaW'](_0x3c846a,_0x4e0d12[_0x5261c7(0x17c)]);const _0x37c879=_0x4e0d12[_0x5261c7(0x1ae)](nestedKeyValue,_0x889a2,[_0x4e0d12['sGqdO']]),_0x44d03b=_0x37c879&&!helper[_0x5261c7(0x195)](_0x37c879)?FRAMEWORKS[_0x5261c7(0x172)]:FRAMEWORKS[_0x5261c7(0x1aa)],_0x59fbd1=await TestHubHandler[_0x5261c7(0x164)](_0x44d03b,_0x531b8c);_0x4348d9&&_0x4e0d12['ZUneq'](setAccessibilityCapabilities,_0x531b8c[_0x5261c7(0x19b)]);const _0x430df5={},_0x21a0b3=[],_0x4ca1df=_0x531b8c[_0x5261c7(0x19b)]['parallelsPerPlatform']||helper[_0x5261c7(0x16f)](_0x3b99b0,_0x45ce87,_0x531b8c['config'],constants[_0x5261c7(0x186)][_0x5261c7(0x1aa)])||0x1;let _0x1e2a70=0x1;if(_0x4e0d12[_0x5261c7(0x17d)](isBrowserstackInfra)){const _0x4acf05=helper['prepareCapabilities'](_0x531b8c[_0x5261c7(0x19b)],_0x534641,constants[_0x5261c7(0x186)][_0x5261c7(0x1aa)]);_0x4acf05['forEach'](_0x4170b0=>{const _0x9e8e0e=_0x5261c7;helper[_0x9e8e0e(0x169)](_0x4170b0);}),helper['validPlatformsPresent'](_0x531b8c[_0x5261c7(0x19b)])?_0x1e2a70=_0x4e0d12[_0x5261c7(0x1cf)](_0x4ca1df,_0x531b8c[_0x5261c7(0x19b)][_0x5261c7(0x1d3)][_0x5261c7(0x1b4)]):_0x1e2a70=_0x4ca1df,_0x4acf05[_0x5261c7(0x1cd)](_0x79d8d3=>{const _0x14a727=_0x5261c7,_0x298f50={'kWnWk':function(_0x1b017c,_0xda057){const _0x513802=a2_0x4ebe;return _0x4e0d12[_0x513802(0x19c)](_0x1b017c,_0xda057);},'FcAFa':function(_0x1624f5,_0x5cb9cc){const _0x409a96=a2_0x4ebe;return _0x4e0d12[_0x409a96(0x192)](_0x1624f5,_0x5cb9cc);}},_0x57b0d1=_0x4e0d12[_0x14a727(0x19c)](helper[_0x14a727(0x181)](_0x79d8d3,'_'),'_'+Date[_0x14a727(0x1be)]()),_0x5c2ce9=((()=>{const _0x2a018c=_0x14a727;if(_0x5dd840){const _0x3193b7=pwToCodeceptBrowser[_0x79d8d3[_0x2a018c(0x1d2)]]||_0x79d8d3[_0x2a018c(0x1d2)];return{'browser':_0x3193b7,[_0x3193b7]:{'browserWSEndpoint':_0x298f50['kWnWk'](helper[_0x2a018c(0x19f)](_0x531b8c[_0x2a018c(0x19b)]),_0x298f50[_0x2a018c(0x16b)](encodeURIComponent,JSON[_0x2a018c(0x17f)](_0x79d8d3)))}};}const _0x25a18a={};return _0x25a18a['desiredCapabilities']=_0x79d8d3,_0x25a18a;})()),_0x16833a=_0x4e0d12[_0x14a727(0x142)](nestedKeyValue,_0x889a2,[_0x4e0d12['SyGIz'],_0x3c846a]);_0x430df5[_0x57b0d1]=_0x16833a?helper[_0x14a727(0x146)](_0x5c2ce9,_0x16833a):_0x5c2ce9,!_0x5dd840&&(_0x430df5[_0x57b0d1][_0x14a727(0x1b0)]=_0x79d8d3[_0x14a727(0x1d2)]||_0x5c2ce9[_0x14a727(0x1b0)]),_0x21a0b3[_0x14a727(0x1ac)](_0x57b0d1);});}else{_0x1e2a70=0x1;if(_0x5dd840){const _0x170da0=_0x4e0d12[_0x5261c7(0x189)](nestedKeyValue,_0x889a2,[_0x4e0d12[_0x5261c7(0x187)],_0x3c846a,_0x4e0d12[_0x5261c7(0x17a)]]),_0x96f84b=_0x4e0d12['nlAWF'](nestedKeyValue,_0x889a2,[_0x4e0d12[_0x5261c7(0x187)],_0x3c846a,_0x170da0]);_0x96f84b&&_0x96f84b['browserWSEndpoint']&&(_0x96f84b[_0x5261c7(0x199)]=helper[_0x5261c7(0x148)](null,null,_0x44d03b[_0x5261c7(0x1c3)](),null,null,_0x96f84b[_0x5261c7(0x199)]));}else _0x889a2[_0x4e0d12[_0x5261c7(0x187)]][_0x3c846a][_0x4e0d12[_0x5261c7(0x1cc)]]=helper[_0x5261c7(0x148)](null,null,_0x44d03b[_0x5261c7(0x1c3)](),_0x4e0d12[_0x5261c7(0x1c2)](nestedKeyValue,_0x889a2,[_0x4e0d12['SyGIz'],_0x3c846a,_0x4e0d12[_0x5261c7(0x1cc)]]),null,null);_0x430df5[_0x4e0d12['DxIwp']]=_0x889a2,_0x21a0b3[_0x5261c7(0x1ac)](_0x4e0d12[_0x5261c7(0x15b)]);}const _0x9d37c8={};_0x9d37c8['testConfig']=_0x5de46d;const _0xdec620=_0x9d37c8,_0x32c3be=path[_0x5261c7(0x13e)](__dirname,_0x4e0d12[_0x5261c7(0x1bd)]),_0x524d34=process[_0x5261c7(0x152)]();process[_0x5261c7(0x178)][_0x4e0d12[_0x5261c7(0x1ab)]]=_0x524d34,process[_0x5261c7(0x16d)](path[_0x5261c7(0x1ca)](_0x5de46d));const _0x5ab648=new CodeceptJS[(_0x5261c7(0x18a))](null,_0xdec620),_0x493db1=_0x5ab648[_0x5261c7(0x185)](_0x1e2a70),_0x20045b=testOpsHelper[_0x5261c7(0x168)](),_0x5318ba=_0x21a0b3[_0x5261c7(0x16c)](_0x37d625=>{const _0xd7b251=_0x5261c7,_0x122f0e={};_0x122f0e[_0xd7b251(0x13f)]=_0x430df5[_0x37d625];const _0x6fbde5={};_0x6fbde5[_0xd7b251(0x1c5)]=_0x430df5[_0x37d625];const _0x34f147=_0x5dd840?_0x122f0e:_0x6fbde5,_0x1725e2=_0x4e0d12['DlAJn'](getO11yRerunPattern),_0x3d6369={};_0x3d6369[_0xd7b251(0x183)]=_0x34f147;const _0x5596d4={};_0x5596d4[_0xd7b251(0x1a7)]=_0x32c3be,_0x5596d4[_0xd7b251(0x14b)]=!![],_0x5596d4[_0xd7b251(0x17b)]=_0x531b8c[_0xd7b251(0x19b)][_0xd7b251(0x1cb)]['skipSessionName'],_0x5596d4['skipSessionStatus']=_0x531b8c[_0xd7b251(0x19b)][_0xd7b251(0x1cb)]['skipSessionStatus'],_0x5596d4['testObservability']=_0x20045b,_0x5596d4['frameworkName']=_0x44d03b;const _0x1281c3={};_0x1281c3['BrowserStackPlugin']=_0x5596d4;const _0x31b0eb={};return _0x31b0eb[_0xd7b251(0x167)]=_0x1281c3,helper[_0xd7b251(0x146)]({},_0x889a2,_0x4e0d12[_0xd7b251(0x17d)](isBrowserstackInfra)?_0x3d6369:{},_0x1725e2?{'grep':_0x1725e2}:{},_0x31b0eb);});for(const _0x47e646 of _0x5318ba){for(const _0x875828 of _0x493db1){const _0x30c378=_0x5ab648[_0x5261c7(0x14f)]();_0x30c378[_0x5261c7(0x158)](_0x875828),_0x30c378[_0x5261c7(0x175)](_0x47e646);const _0x471208={};_0x471208[_0x5261c7(0x19b)]=_0x5de46d,_0x30c378[_0x5261c7(0x161)](_0x471208);}}_0x5ab648['on'](CodeceptJS[_0x5261c7(0x17e)][_0x5261c7(0x14a)][_0x5261c7(0x18e)],(_0x3455df,_0x1be342)=>{const _0x20f812=_0x5261c7;console[_0x20f812(0x1c1)](_0x4e0d12[_0x20f812(0x1c6)],_0x3455df[_0x20f812(0x1b5)]);const _0x48d9bf={[_0x3455df[_0x20f812(0x1b5)]]:_0x3455df[_0x20f812(0x14d)][_0x20f812(0x196)]};_testErrorData['push'](_0x48d9bf);}),_0x5ab648['on'](CodeceptJS[_0x5261c7(0x17e)]['test'][_0x5261c7(0x16a)],async _0x4baa50=>{const _0x1b60c0=_0x5261c7;console['log'](_0x4e0d12[_0x1b60c0(0x191)],_0x4baa50[_0x1b60c0(0x1b5)]);}),_0x5ab648['on'](CodeceptJS['event'][_0x5261c7(0x14a)]['before'],async _0x2fc19e=>{const _0x1dd4cb=_0x5261c7;console[_0x1dd4cb(0x1c1)](_0x4e0d12['wMkkb'],_0x2fc19e[_0x1dd4cb(0x1b5)]);}),_0x5ab648['on'](CodeceptJS[_0x5261c7(0x17e)][_0x5261c7(0x1c7)][_0x5261c7(0x1b3)],async()=>{const _0x5a0098=_0x5261c7,_0x56993e=_0x4e0d12[_0x5a0098(0x1a2)]['split']('|');let _0x11266a=0x0;while(!![]){switch(_0x56993e[_0x11266a++]){case'0':PerformanceTester[_0x5a0098(0x1c8)](PerformanceEvents[_0x5a0098(0x18b)]);continue;case'1':testOpsHelper[_0x5a0098(0x1c0)]();continue;case'2':try{await TestHubHandler[_0x5a0098(0x184)]();}catch(_0x162555){logger[_0x5a0098(0x177)](_0x5a0098(0x198)+util[_0x5a0098(0x1a5)](_0x162555));}continue;case'3':_0x5ab648[_0x5a0098(0x157)]();continue;case'4':utilities[_0x5a0098(0x170)](_0x531b8c);continue;case'5':_0x531b8c[_0x5a0098(0x1c4)]=_testErrorData;continue;}break;}});async function _0x2768e8(){const _0x43df70=_0x5261c7;try{await _0x5ab648['bootstrapAll'](),await _0x5ab648[_0x43df70(0x166)]();}finally{process[_0x43df70(0x16d)](_0x524d34),await _0x5ab648[_0x43df70(0x156)]();}}PerformanceTester[_0x5261c7(0x165)](PerformanceEvents[_0x5261c7(0x1b2)]),_0x4e0d12[_0x5261c7(0x1a9)](_0x2768e8);}module[a2_0x46c6e1(0x15d)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x10ef5d=a3_0x480c;(function(_0x181ccf,_0x1cd73a){const _0x687495=a3_0x480c,_0x21c58a=_0x181ccf();while(!![]){try{const _0x2eee44=parseInt(_0x687495(0x14a))/0x1+-parseInt(_0x687495(0x140))/0x2*(parseInt(_0x687495(0x160))/0x3)+-parseInt(_0x687495(0x124))/0x4*(parseInt(_0x687495(0x13a))/0x5)+-parseInt(_0x687495(0x12d))/0x6*(parseInt(_0x687495(0x14d))/0x7)+-parseInt(_0x687495(0x125))/0x8*(-parseInt(_0x687495(0x12f))/0x9)+parseInt(_0x687495(0x11b))/0xa+parseInt(_0x687495(0x137))/0xb;if(_0x2eee44===_0x1cd73a)break;else _0x21c58a['push'](_0x21c58a['shift']());}catch(_0x494a48){_0x21c58a['push'](_0x21c58a['shift']());}}}(a3_0x46c3,0x276e4));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x10ef5d(0x13b))[a3_0x10ef5d(0x112)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x10ef5d(0x120)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x210076=>{const _0x14576b=a3_0x10ef5d,_0x39d42d={};_0x39d42d[_0x14576b(0x122)]=_0x14576b(0x131),_0x39d42d[_0x14576b(0x11f)]=_0x14576b(0x121),_0x39d42d[_0x14576b(0x119)]=_0x14576b(0x11a),_0x39d42d[_0x14576b(0x115)]=_0x14576b(0x159),_0x39d42d[_0x14576b(0x15e)]=_0x14576b(0x15b);const _0x301709=_0x39d42d;if(!_0x210076)return null;const _0x26c33e=_0x210076[_0x301709[_0x14576b(0x122)]],_0xb8d43=[_0x301709[_0x14576b(0x11f)],_0x301709[_0x14576b(0x119)],_0x301709[_0x14576b(0x115)],_0x301709[_0x14576b(0x15e)]];for(const _0x17bfa6 of _0xb8d43){if(_0x26c33e&&_0x26c33e[_0x17bfa6])return _0x26c33e[_0x17bfa6];else{if(_0x210076[_0x17bfa6])return _0x210076[_0x17bfa6];}}return null;};function a3_0x480c(_0x3f9274,_0x2f002f){const _0x46c359=a3_0x46c3();return a3_0x480c=function(_0x480c74,_0x1ac292){_0x480c74=_0x480c74-0x112;let _0x1de765=_0x46c359[_0x480c74];return _0x1de765;},a3_0x480c(_0x3f9274,_0x2f002f);}function a3_0x46c3(){const _0x15d77e=['FpPXt','DicQw','../../helpers/accessibility-automation/helper','platformVersion','bZqAM','warn','884JWpqle','16TEpySf','fetchPlatformDetails','Uvkdp','uKBnC','jrfcs','WebDriver','desiredCapabilities','config','6MDfPyy','uDHIP','1136853YOQtOC','browser','bstack:options','browser_version','JSnzB','processWebDriverConfig','platform','caps','1710764PwvVLk','LtCld','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','6535NzwzOf','../../helpers/logger','unknown_grid','parse','sessionId','getDetails','372750VEQokd','YgqJf','browserName','bpfrr','BhnEo','cloudProvider','chrome','get','YrJkm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','316106DwDAQF','browserVersion','platformName','710759uAauEr','xCTRl','capabilities','playwright-chromium','deviceName','QaflM','shouldPatchExecuteScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PbhyD','IWQAZ','zxUtw','PeVUg','osVersion','Playwright','os_version','xjjki','name','iZHIC','searchParams','3fEGiLL','YkCgi','winstonLogger','includes','bsSessionId','ceFeV','qhric','__cloud_provider___','accessibilityPlatform','XMBSS','platform_version','140030sFTrMS','constructor','LDwIh'];a3_0x46c3=function(){return _0x15d77e;};return a3_0x46c3();}exports[a3_0x10ef5d(0x126)]=_0x5f24df=>{const _0x4f061e=a3_0x10ef5d,_0x4cf0e0={'PbhyD':_0x4f061e(0x13c),'xCTRl':function(_0x54293c,_0x4c433f){return _0x54293c===_0x4c433f;},'IWQAZ':_0x4f061e(0x12a),'LDwIh':function(_0x15e8d8,_0x15a905){return _0x15e8d8(_0x15a905);},'xjjki':function(_0x1009b2,_0x175d65,_0x5dd87b){return _0x1009b2(_0x175d65,_0x5dd87b);},'uKBnC':_0x4f061e(0x12c),'BhnEo':_0x4f061e(0x12b),'PlGrK':function(_0x1cffbd,_0x4c1a0c){return _0x1cffbd===_0x4c1a0c;},'uDHIP':_0x4f061e(0x15a),'JSnzB':function(_0x27d07b,_0x338693,_0x27e171){return _0x27d07b(_0x338693,_0x27e171);},'PeVUg':'browser','FpPXt':'browserWSEndpoint','LtCld':_0x4f061e(0x136)};if(!_0x5f24df)return null;let _0x15407f=global[_0x4f061e(0x117)]||_0x4cf0e0[_0x4f061e(0x155)];if(_0x4cf0e0[_0x4f061e(0x14e)](_0x5f24df['constructor'][_0x4f061e(0x15d)],_0x4cf0e0[_0x4f061e(0x156)])){const _0xfc7c94=_0x5f24df[_0x4f061e(0x130)];if(!_0xfc7c94)return null;const _0x4b4bae=_0xfc7c94[_0x4f061e(0x14f)],_0x5c3a9f=_0x4cf0e0[_0x4f061e(0x11d)](getOSVersionFromCaps,_0x4cf0e0[_0x4f061e(0x15c)](nestedKeyValue,_0x5f24df,[_0x4cf0e0[_0x4f061e(0x128)],_0x4cf0e0[_0x4f061e(0x144)]]));return{[_0x15407f]:{'browser':_0x4b4bae[_0x4f061e(0x142)],'browser_version':_0x4b4bae[_0x4f061e(0x14b)],'capabilities':_0x4b4bae,'platform':_0x4b4bae[_0x4f061e(0x14c)],'platform_version':_0x4b4bae[_0x4f061e(0x121)]||_0x5c3a9f,'product':_0x4cf0e0[_0x4f061e(0x11d)](getObservabilityLinkedProductName,_0x4b4bae),'session_id':_0xfc7c94[_0x4f061e(0x13e)]}};}else{if(_0x4cf0e0['PlGrK'](_0x5f24df[_0x4f061e(0x11c)]['name'],_0x4cf0e0[_0x4f061e(0x12e)])){const _0x4cf126=PlaywrightSessionDetails[_0x4f061e(0x13f)]();_0x15407f=_0x4cf126[_0x4f061e(0x145)]||_0x15407f;const _0x28655f=_0x4cf0e0[_0x4f061e(0x133)](nestedKeyValue,_0x5f24df,[_0x4cf0e0[_0x4f061e(0x128)],_0x4cf0e0[_0x4f061e(0x158)],_0x4cf0e0[_0x4f061e(0x11e)]]),_0x2e0ba2=_0x28655f?JSON[_0x4f061e(0x13d)](new URL(_0x28655f)[_0x4f061e(0x15f)][_0x4f061e(0x147)](_0x4cf0e0[_0x4f061e(0x138)])):{};return{[_0x15407f]:{'browser':_0x4cf126[_0x4f061e(0x130)]||_0x2e0ba2[_0x4f061e(0x142)],'browser_version':_0x4cf126[_0x4f061e(0x132)]||_0x2e0ba2[_0x4f061e(0x132)],'capabilities':_0x2e0ba2,'platform':_0x4cf126[_0x4f061e(0x135)],'platform_version':_0x4cf126[_0x4f061e(0x11a)],'product':_0x4cf0e0[_0x4f061e(0x11d)](getObservabilityLinkedProductName,_0x2e0ba2),'session_id':_0x4cf126[_0x4f061e(0x114)]}};}}},exports[a3_0x10ef5d(0x134)]=_0x449c9e=>{const _0xc1740d=a3_0x10ef5d,_0x2058f1={'jrfcs':function(_0x274233){return _0x274233();},'zxUtw':function(_0x202855,_0x4f05f1){return _0x202855===_0x4f05f1;},'DIXjm':'latest','YgqJf':function(_0x498b4e,_0x42a161){return _0x498b4e>_0x42a161;},'SwRCw':function(_0x54f225,_0x3f9062){return _0x54f225(_0x3f9062);},'RCyCx':_0xc1740d(0x149),'qhric':_0xc1740d(0x146),'Uvkdp':function(_0x105d96,_0x39b45f){return _0x105d96===_0x39b45f;},'YkCgi':_0xc1740d(0x150),'bpfrr':_0xc1740d(0x154),'YrJkm':_0xc1740d(0x139)};if(_0x2058f1[_0xc1740d(0x129)](isAccessibilityAutomationSession)){const _0x1bebf7=_0x449c9e[_0xc1740d(0x130)],_0x40d8b0=_0x1bebf7['capabilities'];global['accessibilityPlatform']=!![],!(_0x2058f1[_0xc1740d(0x157)](_0x40d8b0['browserVersion'],_0x2058f1['DIXjm'])||_0x2058f1[_0xc1740d(0x141)](_0x2058f1['SwRCw'](parseInt,_0x40d8b0[_0xc1740d(0x14b)]),0x5e))&&(logger[_0xc1740d(0x123)](_0x2058f1['RCyCx']),global['accessibilityPlatform']=![]),!(_0x2058f1[_0xc1740d(0x157)](_0x40d8b0['browserName'],_0x2058f1[_0xc1740d(0x116)])||_0x2058f1[_0xc1740d(0x127)](_0x40d8b0[_0xc1740d(0x142)],_0x2058f1[_0xc1740d(0x161)]))&&(logger[_0xc1740d(0x123)](_0x2058f1[_0xc1740d(0x143)]),global[_0xc1740d(0x118)]=![]),!_0x2058f1['SwRCw'](isUndefined,_0x40d8b0[_0xc1740d(0x151)])&&(logger[_0xc1740d(0x123)](_0x2058f1[_0xc1740d(0x148)]),global[_0xc1740d(0x118)]=![]);}},exports[a3_0x10ef5d(0x153)]=_0x1c1016=>{const _0x96c4b0=a3_0x10ef5d,_0x329d23={};_0x329d23[_0x96c4b0(0x152)]='browserstack_executor',_0x329d23['zARZy']='browserstack_accessibility_automation_script';const _0x13937a=_0x329d23;if(!_0x1c1016)return![];return!_0x1c1016[_0x96c4b0(0x113)](_0x13937a[_0x96c4b0(0x152)])&&!_0x1c1016[_0x96c4b0(0x113)](_0x13937a['zARZy']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x13aca0=a4_0x4d2a;function a4_0x303e(){const _0x2742e7=['_beforeEach','wsEndpoint','HookRunStarted','start','getHooksForTest','captureEvent','WTLhQ','qNIKF','MoBDS','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','EyhPA','driver','RbZcu','AixrI','markedStatus','finished_at','EmYpd','__platformCaps','77235uxvDiB','title','./helper.js','concat','xyxVr','passed','includes','test_run','getRootParentFile','XWkYw','forEach','../../helpers/helper','appendTestItemLog','84dvjYOq','oCfYy','mOlUd','PLAYWRIGHT_HUB_URL','hook','../../helpers/testhub/utils.js','groups','JHDmS','launch','eDxxv','../../helpers/logger','TEST_EVENTS','bjYgD','4824616yjLxpD','YuiqR','zFGLX','hook_run_uuid','getFailureType','ktSMI','pid','vqQHL','JiYAT','nXqLi','RYZDI','path','cUuGx','obsBrowserTypeMockApplied','failure','bddStepFinish','debug','_testEnv','patchConsoleLogger','join','vVweY','yotBA','4401306dXCNBi','Playwright','find','fullTitle','VNxXj','HOOK_RUN_STARTED','zUKYz','icNYM','KzEKl','retryOf','getHookType','stepAnalyticsId','browserType.js','766200vsfDur','hCQLg','pending','Failed\x20to\x20parse\x20wsendpoint\x20','accessibilityPlatform','EFFxY','aflTN','rHwXw','TEST_RUN_STARTED','bddSteps','owpld','constructor','file','statSync','sendCBTInfo','HookRunFinished','uploadEventData','TEST_RUN_SKIPPED','toString','2844318gPWYYg','AjxYl','match','BrowserType','initializeBddStep','test','location_prefix','edhWf','hook_type','.git','YWIRb','length','apply','hqcTb','aKlJZ','hooks','1164714nAHuOt','../../helpers/test-observability/requestQueueHandler','connect','CBTSessionCreated','nHaaj','hookAnalyticsId','now','tags','failureData','enabled','relative','duration','ycOnQ','\x20with\x20error\x20:\x20','../../helpers/test-observability/sessionHandler','getTime','testAnalyticsId','stop','rySUK','TlZcO','replace','keyword','ctx','err','javascript','toISOString','_paths','cXvAd','defineProperty','util','result','xVZkb','currentTest','failure_backtrace','skipped','file_name','iQNFy','ucjlt','client','IZUOM','started','setupBrowserDetails','dtgIX','getInstance','bind','getHierarchy','LAAot','event_type','uuid','bkQTL','parent','push','pryEZ','Not\x20able\x20to\x20import\x20Browser','frameworkName','HOOK_RUN_FINISHED','mEcnE','vcqET','owFjy','logs','SjqmO','finished','CJpBq','ScEpQ','connectOverCDP','meta','mapTestHooks','_beforeAll','../utils/constants','oiCUJ','prototype','ZgAis','Padkd','RIrRL','errorsDetailed','O11yHelper','status','toUpperCase','TestRunSkipped','dirname','sep','currentHook','IAbgB','_afterAll','PathHelper','__cloud_provider___','text','TestRunFinished','CVGun','failed','QxCEq','message','startedAt','feature','then','test_run_uuid','winstonLogger','paTqg','hook_run','suites','../playwright/sessionDetails','resetSkipTestHooks','getCBTInfo','STATE_FAILED','findGitConfig','exports','246318yzVoao','../../helpers/test-observability/constants','name','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','body','TEST_RUN_FINISHED','stringify'];a4_0x303e=function(){return _0x2742e7;};return a4_0x303e();}function a4_0x4d2a(_0x8eb9a1,_0x222e33){const _0x303e05=a4_0x303e();return a4_0x4d2a=function(_0x4d2a15,_0x394025){_0x4d2a15=_0x4d2a15-0x112;let _0x5b183b=_0x303e05[_0x4d2a15];return _0x5b183b;},a4_0x4d2a(_0x8eb9a1,_0x222e33);}(function(_0x13ed36,_0x39129d){const _0x2c131b=a4_0x4d2a,_0x2b3853=_0x13ed36();while(!![]){try{const _0xaeff35=-parseInt(_0x2c131b(0x1b4))/0x1+parseInt(_0x2c131b(0x14a))/0x2+parseInt(_0x2c131b(0x13a))/0x3+parseInt(_0x2c131b(0x1da))/0x4*(parseInt(_0x2c131b(0x1cd))/0x5)+parseInt(_0x2c131b(0x127))/0x6+-parseInt(_0x2c131b(0x11a))/0x7+-parseInt(_0x2c131b(0x1e7))/0x8;if(_0xaeff35===_0x39129d)break;else _0x2b3853['push'](_0x2b3853['shift']());}catch(_0x1057ea){_0x2b3853['push'](_0x2b3853['shift']());}}}(a4_0x303e,0x7b24d));const path=require(a4_0x13aca0(0x1f2)),fs=require('fs'),{v4:uuidv4}=require(a4_0x13aca0(0x17a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x13aca0(0x1d8)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x13aca0(0x1b5)),logger=require(a4_0x13aca0(0x1e4))[a4_0x13aca0(0x1aa)],SessionHandler=require(a4_0x13aca0(0x158)),RequestQueueHandler=require(a4_0x13aca0(0x14b)),PlaywrightSessionDetails=require(a4_0x13aca0(0x1ae)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x13aca0(0x18e)),{fetchPlatformDetails}=require(a4_0x13aca0(0x1cf)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x13aca0(0x1df)),STATE_PASSED='passed',STATE_FAILED=a4_0x13aca0(0x1a3),a4_0xe53af2={};a4_0xe53af2[a4_0x13aca0(0x12f)]='TestRunStarted',a4_0xe53af2['TEST_RUN_FINISHED']=a4_0x13aca0(0x1a1),a4_0xe53af2[a4_0x13aca0(0x138)]=a4_0x13aca0(0x198),a4_0xe53af2[a4_0x13aca0(0x11f)]=a4_0x13aca0(0x1bd),a4_0xe53af2[a4_0x13aca0(0x181)]=a4_0x13aca0(0x136);const TEST_EVENTS=a4_0xe53af2,parseEvent=_0xbd33ba=>{const _0x5845f0=a4_0x13aca0,_0x2ec910={};_0x2ec910['owFjy']=function(_0x44b2fe,_0x1f17ce){return _0x44b2fe<_0x1f17ce;},_0x2ec910['EFFxY']=function(_0x4c3589,_0xdd3e4c){return _0x4c3589===_0xdd3e4c;},_0x2ec910[_0x5845f0(0x1c1)]=_0x5845f0(0x13f),_0x2ec910[_0x5845f0(0x183)]=function(_0x3bec08,_0x54da41){return _0x3bec08===_0x54da41;},_0x2ec910['IZUOM']=_0x5845f0(0x1de),_0x2ec910[_0x5845f0(0x144)]=function(_0x1b0045,_0x5666db){return _0x1b0045===_0x5666db;},_0x2ec910[_0x5845f0(0x141)]='skipped',_0x2ec910[_0x5845f0(0x11e)]=_0x5845f0(0x172),_0x2ec910[_0x5845f0(0x1e1)]=_0x5845f0(0x187);const _0x5d0c00=_0x2ec910,_0x489c7a=_0xbd33ba['match'](/^(.*)Run(.*)$/);if(!_0x489c7a)return null;if(_0x5d0c00[_0x5845f0(0x184)](_0x489c7a[_0x5845f0(0x145)],0x3))return null;const _0x1ec605=_0x489c7a[0x1]['toLowerCase'](),_0x5aeb61=_0x489c7a[0x2]['toLowerCase']();return{'test':_0x5d0c00[_0x5845f0(0x12c)](_0x1ec605,_0x5d0c00['WTLhQ']),'hook':_0x5d0c00[_0x5845f0(0x183)](_0x1ec605,_0x5d0c00[_0x5845f0(0x171)]),'skipped':_0x5d0c00['YWIRb'](_0x5aeb61,_0x5d0c00[_0x5845f0(0x141)]),'started':_0x5d0c00[_0x5845f0(0x183)](_0x5aeb61,_0x5d0c00['VNxXj']),'finished':_0x5d0c00['EFFxY'](_0x5aeb61,_0x5d0c00[_0x5845f0(0x1e1)])};},mockPWBrowserType=_0x57ad1f=>{const _0x2a6860=a4_0x13aca0,_0x477230={'nxSUR':function(_0x4437be,_0xa84a7f,_0x54acf4){return _0x4437be(_0xa84a7f,_0x54acf4);},'VvOFo':_0x2a6860(0x1bc),'yotBA':function(_0x91b685,_0x5d4c83){return _0x91b685(_0x5d4c83);},'EmYpd':'browserstack','IAbgB':function(_0x3b1c57,_0x4b9ff8,_0x4f3ce6){return _0x3b1c57(_0x4b9ff8,_0x4f3ce6);},'HhFcB':function(_0x1c0d13,_0x4fc00e){return _0x1c0d13===_0x4fc00e;},'mfgZK':'string','EyhPA':'lib','ggsIE':_0x2a6860(0x170),'ZgAis':_0x2a6860(0x126),'nXqLi':_0x2a6860(0x17f),'icNYM':'connect','aKlJZ':_0x2a6860(0x1e2)},_0x3ad35c=path[_0x2a6860(0x117)](_0x477230[_0x2a6860(0x1c5)],_0x477230['ggsIE'],_0x477230[_0x2a6860(0x191)]),_0x373850=_0x477230[_0x2a6860(0x119)](importFileFromPWCore,_0x3ad35c);if(!_0x373850){_0x477230[_0x2a6860(0x119)](debug,_0x477230[_0x2a6860(0x1f0)]);return;}const _0x22d0f1=_0x373850[_0x2a6860(0x13d)],_0x7e5bac=_0x22d0f1[_0x2a6860(0x190)];if(_0x7e5bac[_0x2a6860(0x1f4)])return;const _0x3fcdb5=_0x7e5bac[_0x2a6860(0x14c)];Object['defineProperty'](_0x7e5bac,_0x477230[_0x2a6860(0x121)],{'get':function(){const _0x4c0d4b={'dkEtl':function(_0x303331,_0x3f2662){return _0x477230['HhFcB'](_0x303331,_0x3f2662);},'zUKYz':_0x477230['mfgZK']};return async function _0x1ee970(_0x41e717,_0x13443e){const _0x2092f8=a4_0x4d2a,_0xb9dc2a=_0x477230['nxSUR'](nestedKeyValue,_0x41e717,[_0x477230['VvOFo']])||_0x41e717;let _0x4801a1=null,_0x1b704f=null;try{[_0x1b704f,_0x4801a1]=_0xb9dc2a?_0x477230[_0x2092f8(0x119)](parseWSEndpoint,_0xb9dc2a):[null,null],global[_0x2092f8(0x1cc)]=_0x4801a1,_0x1b704f[_0x2092f8(0x1d3)](_0x477230['EmYpd'])&&(global[_0x2092f8(0x19f)]=_0x477230[_0x2092f8(0x1cb)]);}catch(_0x31ec52){logger['debug'](_0x2092f8(0x12a)+_0xb9dc2a+'\x20'+_0x31ec52);}_0x477230[_0x2092f8(0x19c)](processAccessibilityCaps,_0x4801a1,_0x1b704f);if(global[_0x2092f8(0x12b)]){const _0x506bfd=await _0x7e5bac[_0x2092f8(0x18a)]['apply'](this,[''+Constants[_0x2092f8(0x1dd)]+_0x477230[_0x2092f8(0x119)](encodeURIComponent,JSON[_0x2092f8(0x1ba)](_0x4801a1))]);return PlaywrightSessionDetails[_0x2092f8(0x173)](_0x506bfd,_0x57ad1f,_0xb9dc2a),_0x506bfd;}return _0x3fcdb5[_0x2092f8(0x146)](this,arguments)[_0x2092f8(0x1a8)](_0x4c6a0b=>{const _0x1fa0d7=_0x2092f8;let _0x1a0ea4=_0x41e717[_0x1fa0d7(0x1bc)];return _0x4c0d4b['dkEtl'](typeof _0x41e717,_0x4c0d4b[_0x1fa0d7(0x120)])&&(_0x1a0ea4=_0x41e717),PlaywrightSessionDetails[_0x1fa0d7(0x173)](_0x4c6a0b,_0x57ad1f,_0x1a0ea4),_0x4c6a0b;});};}});const _0x2d41f3=_0x7e5bac[_0x2a6860(0x1e2)];Object[_0x2a6860(0x166)](_0x7e5bac,_0x477230[_0x2a6860(0x148)],{'get':function(){return async function _0x169f0d(){const _0x1fc21d=a4_0x4d2a;return _0x2d41f3[_0x1fc21d(0x146)](this,arguments)[_0x1fc21d(0x1a8)](_0x3566e3=>{const _0x395f59=_0x1fc21d;return PlaywrightSessionDetails[_0x395f59(0x173)](_0x3566e3,null),_0x3566e3;});};}});};class O11yHelper{['currentTest']=null;[a4_0x13aca0(0x19b)]=null;[a4_0x13aca0(0x153)]=![];[a4_0x13aca0(0x180)]=![];constructor(_0x300cfa,_0x3fdc5d){const _0x537007=a4_0x13aca0,_0x342af9={'WTxCN':'3|2|5|4|0|1','rPAkM':function(_0x3955a2,_0xdacd5c){return _0x3955a2===_0xdacd5c;},'mEcnE':_0x537007(0x11b),'nHaaj':function(_0x276462,_0x3945e2){return _0x276462(_0x3945e2);},'LAAot':function(_0x3ce455){return _0x3ce455();},'paTqg':function(_0xad9b3e){return _0xad9b3e();}},_0x5565b3=_0x342af9['WTxCN']['split']('|');let _0x46c8de=0x0;while(!![]){switch(_0x5565b3[_0x46c8de++]){case'0':this[_0x537007(0x164)]=new testOpsHelper[(_0x537007(0x19e))]({'cwd':process['cwd']()},this[_0x537007(0x115)][_0x537007(0x140)]);continue;case'1':this[_0x537007(0x1c6)]&&_0x342af9['rPAkM'](this['driver'][_0x537007(0x132)][_0x537007(0x1b6)],_0x342af9[_0x537007(0x182)])&&_0x342af9[_0x537007(0x14e)](mockPWBrowserType,null);continue;case'2':this[_0x537007(0x180)]=_0x3fdc5d['frameworkName'];continue;case'3':this[_0x537007(0x153)]=_0x342af9[_0x537007(0x178)](shouldProcessEventForTesthub);continue;case'4':this[_0x537007(0x115)]=_0x342af9[_0x537007(0x1ab)](getTestEnv);continue;case'5':this['driver']=_0x300cfa;continue;}break;}}[a4_0x13aca0(0x1be)](){const _0xbd2540=a4_0x13aca0;if(!this[_0xbd2540(0x153)])return;testOpsHelper[_0xbd2540(0x116)](),process['removeAllListeners']('bs:addLog:'+process[_0xbd2540(0x1ed)]),process['on']('bs:addLog:'+process[_0xbd2540(0x1ed)],this[_0xbd2540(0x1d9)][_0xbd2540(0x176)](this));}async[a4_0x13aca0(0x15b)](){const _0x310111=a4_0x13aca0;await RequestQueueHandler[_0x310111(0x175)]()['shutdown']();}async[a4_0x13aca0(0x1d9)](_0x3a2ca0){const _0x3003b7=a4_0x13aca0,_0x279c51={'XMROK':'LogCreated','CTwhQ':function(_0x9a9ab0,_0x25b332){return _0x9a9ab0(_0x25b332);}};try{this['currentHook']&&!this[_0x3003b7(0x19b)][_0x3003b7(0x1c9)]&&(_0x3a2ca0[_0x3003b7(0x1ea)]=this[_0x3003b7(0x19b)][_0x3003b7(0x14f)]);!_0x3a2ca0[_0x3003b7(0x1ea)]&&this[_0x3003b7(0x16a)]&&!this[_0x3003b7(0x16a)][_0x3003b7(0x1c9)]&&(_0x3a2ca0[_0x3003b7(0x1a9)]=this[_0x3003b7(0x16a)][_0x3003b7(0x15a)]);if(_0x3a2ca0[_0x3003b7(0x1ea)]||_0x3a2ca0[_0x3003b7(0x1a9)]){const _0x3a6263={};_0x3a6263[_0x3003b7(0x179)]=_0x279c51['XMROK'],_0x3a6263[_0x3003b7(0x185)]=[_0x3a2ca0],await SessionHandler[_0x3003b7(0x137)](_0x3a6263);}}catch(_0xf84350){_0x279c51['CTwhQ'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0xf84350);}}async[a4_0x13aca0(0x135)](_0x3a8e19){const _0x45da57=a4_0x13aca0,_0x545f4a={'CVGun':_0x45da57(0x14d),'cUuGx':function(_0x4cfb2d,_0x4f2bfa){return _0x4cfb2d(_0x4f2bfa);}};if(!this[_0x45da57(0x153)])return;const _0xb1da98=this[_0x45da57(0x1b0)](this[_0x45da57(0x1c6)]);try{const _0x5a9b69={};_0x5a9b69['uuid']=_0x3a8e19,_0x5a9b69['integrations']=_0xb1da98;const _0x15aa4d=_0x5a9b69,_0x93efd7={};_0x93efd7[_0x45da57(0x179)]=_0x545f4a[_0x45da57(0x1a2)],_0x93efd7[_0x45da57(0x1d4)]=_0x15aa4d,await SessionHandler[_0x45da57(0x137)](_0x93efd7);}catch(_0x2de390){_0x545f4a[_0x45da57(0x1f3)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2de390);}}[a4_0x13aca0(0x1b0)](_0x73783e){const _0x23d8f6=a4_0x13aca0,_0x4bc68d={'hCQLg':function(_0xea55c8,_0x27dcab){return _0xea55c8(_0x27dcab);}};return _0x4bc68d[_0x23d8f6(0x128)](fetchPlatformDetails,_0x73783e);}[a4_0x13aca0(0x1af)]=_0x1d4b6d=>{const _0x5cdd3e=a4_0x13aca0,_0x26badc={};_0x26badc[_0x5cdd3e(0x186)]=_0x5cdd3e(0x1bb),_0x26badc['Padkd']='_afterEach';const _0x4652bd=_0x26badc;if(!_0x1d4b6d||!_0x1d4b6d[_0x5cdd3e(0x17c)])return;[_0x4652bd[_0x5cdd3e(0x186)],_0x4652bd[_0x5cdd3e(0x192)]]['forEach'](_0x3ad411=>{const _0x4fe2c5=_0x5cdd3e,_0x1add3b=_0x1d4b6d['parent'][_0x3ad411];_0x1add3b[_0x4fe2c5(0x1d7)](_0x4e4b3b=>{_0x4e4b3b['hookAnalyticsId']&&(_0x4e4b3b['hookAnalyticsId']=null);});});};[a4_0x13aca0(0x18c)](_0xa95ea4){const _0x35d954=a4_0x13aca0,_0x42a76d={'ScEpQ':'codeceptjs','YGMnB':function(_0x1b7012){return _0x1b7012();},'vVweY':function(_0xf268b8,_0x42fc65){return _0xf268b8===_0x42fc65;},'bjYgD':'_afterEach','aflTN':function(_0x576573){return _0x576573();},'RbZcu':_0x35d954(0x18d),'lhabi':_0x35d954(0x19d),'AjxYl':_0x35d954(0x1bb)};if(!_0xa95ea4||!_0xa95ea4[_0x35d954(0x17c)])return;[_0x42a76d[_0x35d954(0x1c7)],_0x42a76d['lhabi'],_0x42a76d[_0x35d954(0x13b)],_0x42a76d[_0x35d954(0x1e6)]][_0x35d954(0x1d7)](_0x2ca217=>{const _0x164fec=_0x35d954,_0x64ab57={'RIrRL':_0x42a76d[_0x164fec(0x189)],'luxTr':function(_0x44805a){return _0x42a76d['YGMnB'](_0x44805a);},'LSfyU':function(_0x46b4bd,_0x47be8c){const _0x4b0eb8=_0x164fec;return _0x42a76d[_0x4b0eb8(0x118)](_0x46b4bd,_0x47be8c);},'cXvAd':_0x42a76d[_0x164fec(0x1e6)],'xyxVr':function(_0x9d9cf6){const _0x560696=_0x164fec;return _0x42a76d[_0x560696(0x12d)](_0x9d9cf6);}},_0x3b60a0=_0xa95ea4[_0x164fec(0x17c)][_0x2ca217]||[];_0x3b60a0[_0x164fec(0x1d7)](_0x39dfe1=>{const _0x5a76f5=_0x164fec;if(_0x39dfe1[_0x5a76f5(0x1ce)][_0x5a76f5(0x1d3)](_0x64ab57[_0x5a76f5(0x193)]))return;if(!_0x39dfe1[_0x5a76f5(0x14f)])_0x39dfe1['hookAnalyticsId']=_0x64ab57['luxTr'](uuidv4);else _0x39dfe1[_0x5a76f5(0x1c9)]&&_0x64ab57['LSfyU'](_0x2ca217,_0x64ab57[_0x5a76f5(0x165)])&&(_0x39dfe1[_0x5a76f5(0x14f)]=_0x64ab57[_0x5a76f5(0x1d1)](uuidv4),delete _0x39dfe1[_0x5a76f5(0x1c9)]);});}),this[_0x35d954(0x18c)](_0xa95ea4['parent']);}[a4_0x13aca0(0x1bf)](_0x32b375){const _0x4f99e7=a4_0x13aca0,_0x472a4a={};_0x472a4a[_0x4f99e7(0x1e9)]=_0x4f99e7(0x18d),_0x472a4a['ucjlt']=_0x4f99e7(0x19d),_0x472a4a[_0x4f99e7(0x131)]=_0x4f99e7(0x1bb),_0x472a4a['QxCEq']='_afterEach';const _0x3a337a=_0x472a4a;if(!_0x32b375||!_0x32b375[_0x4f99e7(0x17c)])return[];const _0x49fdb0=[];return[_0x3a337a[_0x4f99e7(0x1e9)],_0x3a337a[_0x4f99e7(0x16f)],_0x3a337a[_0x4f99e7(0x131)],_0x3a337a[_0x4f99e7(0x1a4)]][_0x4f99e7(0x1d7)](_0x3efe1b=>{const _0x1f69b2=_0x4f99e7,_0x3ed801=_0x32b375[_0x1f69b2(0x17c)][_0x3efe1b]||[];_0x3ed801['forEach'](_0x37bb43=>{const _0x3f526d=_0x1f69b2;_0x37bb43['hookAnalyticsId']&&_0x49fdb0[_0x3f526d(0x17d)](_0x37bb43[_0x3f526d(0x14f)]);});}),[][_0x4f99e7(0x1d0)](_0x49fdb0,this[_0x4f99e7(0x1bf)](_0x32b375[_0x4f99e7(0x17c)]));}[a4_0x13aca0(0x124)](_0x5599e4){const _0x5929aa=a4_0x13aca0,_0x3f576c=/^"(?<hook>.*)" hook:.*$/,_0x2114d5=_0x5599e4['title'],_0x4011b2=_0x2114d5[_0x5929aa(0x13c)](_0x3f576c);if(_0x4011b2&&_0x4011b2[_0x5929aa(0x1e0)])return _0x4011b2[_0x5929aa(0x1e0)][_0x5929aa(0x1de)][_0x5929aa(0x197)]()[_0x5929aa(0x15e)]('\x20','_');return null;}[a4_0x13aca0(0x1b2)](_0x4e8f32){const _0x49e9e8=a4_0x13aca0,_0x2f929c={};_0x2f929c[_0x49e9e8(0x1f1)]=function(_0x53083f,_0x2a5579){return _0x53083f===_0x2a5579;},_0x2f929c[_0x49e9e8(0x1ee)]=function(_0xc24d63,_0x1928bb){return _0xc24d63===_0x1928bb;},_0x2f929c[_0x49e9e8(0x15c)]=_0x49e9e8(0x143),_0x2f929c[_0x49e9e8(0x1e3)]='config';const _0x34dca9=_0x2f929c,_0xb4b3ac=path[_0x49e9e8(0x19a)];if(_0x34dca9[_0x49e9e8(0x1f1)](_0x4e8f32,null)||_0x34dca9[_0x49e9e8(0x1ee)](_0x4e8f32,'')||_0x34dca9[_0x49e9e8(0x1f1)](_0x4e8f32,_0xb4b3ac)||_0x34dca9['vqQHL'](_0x4e8f32,path['dirname'](_0x4e8f32)))return null;try{return fs[_0x49e9e8(0x134)](path[_0x49e9e8(0x117)](_0x4e8f32,_0x34dca9[_0x49e9e8(0x15c)],_0x34dca9[_0x49e9e8(0x1e3)])),_0x4e8f32;}catch(_0x3a016a){const _0x26183b=path[_0x49e9e8(0x199)](_0x4e8f32);return this['findGitConfig'](_0x26183b);}}['getRootParentFile'](_0x4e1021){const _0x575427=a4_0x13aca0,_0x144c7a={};_0x144c7a[_0x575427(0x18f)]=function(_0x59f16b,_0x46f867){return _0x59f16b>_0x46f867;};const _0x314c75=_0x144c7a;if(_0x4e1021[_0x575427(0x133)])return _0x4e1021[_0x575427(0x133)];if(_0x4e1021[_0x575427(0x160)]){const _0x1fc4de=_0x4e1021[_0x575427(0x160)]['currentTest']?this[_0x575427(0x1d5)](_0x4e1021[_0x575427(0x160)][_0x575427(0x16a)]):null;if(_0x1fc4de)return _0x1fc4de;}if(_0x4e1021[_0x575427(0x17c)]){const _0x2a692f=this[_0x575427(0x1d5)](_0x4e1021['parent'])||(_0x4e1021[_0x575427(0x17c)][_0x575427(0x160)]&&_0x4e1021[_0x575427(0x17c)]['ctx'][_0x575427(0x16a)]?this[_0x575427(0x1d5)](_0x4e1021['parent'][_0x575427(0x160)][_0x575427(0x16a)]):null);if(_0x2a692f)return _0x2a692f;_0x4e1021[_0x575427(0x17c)][_0x575427(0x1ad)]&&_0x314c75['oiCUJ'](_0x4e1021['parent']['suites'][_0x575427(0x145)],0x0)&&_0x4e1021['parent']['suites']['forEach'](_0x59d98d=>{const _0x2573c4=_0x575427,_0x208b00=_0x59d98d[_0x2573c4(0x160)]?this[_0x2573c4(0x1d5)](_0x59d98d[_0x2573c4(0x160)]):null;if(_0x208b00)return _0x208b00;});}return null;}[a4_0x13aca0(0x177)](_0x1be076){const _0x1a2146=a4_0x13aca0,_0x261b5b={};_0x261b5b['JiYAT']=function(_0x5a4130,_0x305acf){return _0x5a4130!==_0x305acf;};const _0x54e0a3=_0x261b5b,_0x189702=[];if(_0x1be076&&_0x1be076[_0x1a2146(0x17c)]){let _0x178362=_0x1be076[_0x1a2146(0x17c)];while(_0x178362&&_0x54e0a3[_0x1a2146(0x1ef)](_0x178362[_0x1a2146(0x1ce)],'')){_0x189702['push'](_0x178362[_0x1a2146(0x1ce)]),_0x178362=_0x178362[_0x1a2146(0x17c)];}}return _0x189702;}[a4_0x13aca0(0x1c0)](_0x229ffe,_0x50cd17,_0xf01c9=undefined){const _0xe4be62=a4_0x13aca0,_0xa10429={'xVZkb':function(_0x3e177c,_0x3d0f6d){return _0x3e177c(_0x3d0f6d);},'KzEKl':function(_0x58d6cf){return _0x58d6cf();},'pryEZ':function(_0x510b28){return _0x510b28();},'qNIKF':_0xe4be62(0x167),'YuiqR':_0xe4be62(0x161),'ktSMI':function(_0x5dfc9b,_0x14fd32){return _0x5dfc9b!==_0x14fd32;},'gqNeV':'File\x20path\x20could\x20not\x20be\x20found','CJpBq':'pending','mOlUd':_0xe4be62(0x1a3),'TlZcO':_0xe4be62(0x1d2),'tUOcN':_0xe4be62(0x16c),'XWkYw':_0xe4be62(0x162),'dtgIX':function(_0x61478c,_0x5821aa){return _0x61478c-_0x5821aa;},'kPfPl':function(_0x33ac35,_0x18ad30,_0x1dede0,_0x3c9e54,_0x29ad6e){return _0x33ac35(_0x18ad30,_0x1dede0,_0x3c9e54,_0x29ad6e);},'rRejL':function(_0x55f38b,_0x2273f6){return _0x55f38b!==_0x2273f6;},'qXSSY':'integrations','QrQds':_0xe4be62(0x18b),'oCfYy':_0xe4be62(0x112),'bkQTL':_0xe4be62(0x16b),'iQNFy':'backtrace','rHwXw':'failure_reason_expanded','lyjxA':'expanded','MoBDS':function(_0x6116e,_0x305bee){return _0x6116e===_0x305bee;},'PqPqq':_0xe4be62(0x1ac),'ycOnQ':_0xe4be62(0x1d4)};if(!this[_0xe4be62(0x153)])return;try{if(_0x50cd17['fn']&&_0x50cd17['fn'][_0xe4be62(0x139)]()[_0xe4be62(0x13c)](/browserstack internal helper hook/))return;const _0x36bd30=_0xa10429[_0xe4be62(0x169)](parseEvent,_0x229ffe);if(!_0x36bd30)return;if(_0x36bd30['test']){this['currentTest']=_0x50cd17,this[_0xe4be62(0x19b)]=null;if(_0x36bd30[_0xe4be62(0x172)]||_0x36bd30[_0xe4be62(0x16c)]){_0x50cd17[_0xe4be62(0x1a6)]=new Date(),_0x50cd17[_0xe4be62(0x1c9)]=![];if(!_0x50cd17['testAnalyticsId'])_0x50cd17[_0xe4be62(0x15a)]=_0xa10429[_0xe4be62(0x122)](uuidv4);else _0x50cd17[_0xe4be62(0x1c9)]&&(!_0x50cd17[_0xe4be62(0x123)]&&(_0x50cd17['retryOf']=_0x50cd17[_0xe4be62(0x15a)]),_0x50cd17[_0xe4be62(0x15a)]=_0xa10429[_0xe4be62(0x17e)](uuidv4));}}else{if(_0x36bd30[_0xe4be62(0x1de)]){this['currentHook']=_0x50cd17;if(_0x36bd30['started']){_0x50cd17[_0xe4be62(0x1a6)]=new Date(),_0x50cd17['markedStatus']=![];if(!_0x50cd17[_0xe4be62(0x14f)])_0x50cd17[_0xe4be62(0x14f)]=_0xa10429[_0xe4be62(0x17e)](uuidv4);else _0x50cd17['hookAnalyticsId']&&_0x50cd17['markedStatus']&&(_0x50cd17[_0xe4be62(0x14f)]=_0xa10429[_0xe4be62(0x17e)](uuidv4));}}}if(_0x36bd30[_0xe4be62(0x187)]&&_0x50cd17[_0xe4be62(0x1c9)])return;let _0x986c99;try{_0x986c99=this[_0xe4be62(0x1d5)](_0x50cd17);}catch(_0x313021){logger[_0xe4be62(0x114)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x313021),_0x986c99=null;}const _0x5d4c0b=_0xa10429[_0xe4be62(0x169)](require,_0xa10429[_0xe4be62(0x1c2)]);let _0x387f06=[];_0xf01c9&&(_0x387f06=[_0xf01c9,_0xa10429[_0xe4be62(0x1e8)]]);const _0x3936f2=_0xa10429[_0xe4be62(0x1ec)](_0x50cd17[_0xe4be62(0x194)],undefined)?_0x5d4c0b['inspect'](_0x50cd17[_0xe4be62(0x194)][0x0]):_0xa10429[_0xe4be62(0x1ec)](_0xf01c9,undefined)?_0xf01c9['toString']():undefined,_0x88d84=_0x986c99?this['findGitConfig'](_0x986c99):null,_0x1e451f=_0x986c99?this[_0xe4be62(0x164)]['prefixTestPath'](this[_0xe4be62(0x1d5)](_0x50cd17)):_0xa10429['gqNeV'];let _0x511d36=_0xa10429[_0xe4be62(0x188)];const _0x703221=!_0x36bd30[_0xe4be62(0x172)]?new Date()['toISOString']():null;if(_0x36bd30[_0xe4be62(0x187)])_0x511d36=_0xf01c9?_0xa10429[_0xe4be62(0x1dc)]:_0xa10429['TlZcO'],_0x50cd17['markedStatus']=!![];else _0x36bd30['skipped']&&(_0x511d36=_0xa10429['tUOcN'],_0x50cd17[_0xe4be62(0x1c9)]=!![]);const _0x17b8cb={'framework':this[_0xe4be62(0x180)],'uuid':_0x50cd17[_0xe4be62(0x15a)]||_0x50cd17[_0xe4be62(0x14f)],'name':_0x50cd17[_0xe4be62(0x1ce)],'body':{'lang':_0xa10429[_0xe4be62(0x1d6)],'code':_0x50cd17['body']['toString']()},'type':_0x50cd17['type'],'scope':_0x50cd17[_0xe4be62(0x11d)](),'scopes':this[_0xe4be62(0x177)](_0x50cd17),'file_name':_0x1e451f,'vc_filepath':_0x88d84?path[_0xe4be62(0x154)](_0x88d84,_0x986c99):null,'location':_0x1e451f,'result':_0x511d36,'failure_reason':_0x3936f2,'duration_in_ms':_0x50cd17[_0xe4be62(0x155)]||(_0x36bd30['finished']||_0x36bd30[_0xe4be62(0x16c)])?_0xa10429[_0xe4be62(0x174)](Date[_0xe4be62(0x150)](),new Date(_0x50cd17[_0xe4be62(0x1a6)])[_0xe4be62(0x159)]()):null,'started_at':new Date(_0x50cd17['startedAt'])[_0xe4be62(0x163)](),'finished_at':_0x703221,'failure':testOpsHelper[_0xe4be62(0x152)][_0xe4be62(0x146)](null,_0x387f06),'failure_type':!_0x3936f2?null:testOpsHelper[_0xe4be62(0x1eb)](_0x3936f2),'retry_of':_0x50cd17[_0xe4be62(0x123)]||null,'tags':_0x50cd17[_0xe4be62(0x151)]||[],'customRerunParam':{'rerun_name':_0x50cd17[_0xe4be62(0x11d)]()}};_0xa10429['kPfPl'](appendTesthubParams,_0x17b8cb,_0x229ffe,_0x50cd17,FRAMEWORKS['CODECEPT']);if(_0x36bd30[_0xe4be62(0x1de)])[_0x17b8cb[_0xe4be62(0x142)],_0x17b8cb['name']]=[this[_0xe4be62(0x124)](_0x50cd17),_0x50cd17[_0xe4be62(0x160)][_0xe4be62(0x13f)][_0xe4be62(0x1ce)]],_0x36bd30[_0xe4be62(0x187)]?_0xa10429['rRejL'](_0x17b8cb[_0xe4be62(0x168)],_0xa10429[_0xe4be62(0x1dc)])&&(_0x17b8cb[_0xe4be62(0x168)]=_0xa10429[_0xe4be62(0x15d)]):_0x17b8cb[_0xe4be62(0x1b8)]={};else _0x36bd30[_0xe4be62(0x13f)]&&(this[_0xe4be62(0x18c)](_0x50cd17),_0x36bd30[_0xe4be62(0x16c)]&&this[_0xe4be62(0x1af)](_0x50cd17),(_0x36bd30[_0xe4be62(0x187)]||_0x36bd30[_0xe4be62(0x16c)])&&(_0x17b8cb[_0xe4be62(0x149)]=this[_0xe4be62(0x1bf)](_0x50cd17)));this[_0xe4be62(0x1c6)]&&(_0x36bd30[_0xe4be62(0x172)]||_0x36bd30[_0xe4be62(0x16c)])&&(_0x17b8cb[_0xa10429['qXSSY']]=this['getCBTInfo'](this[_0xe4be62(0x1c6)]));_0x36bd30['test']&&_0x36bd30[_0xe4be62(0x187)]&&_0x50cd17[_0xe4be62(0x130)]&&(_0x17b8cb[_0xa10429['QrQds']]={'feature':{'name':_0x50cd17['parent'][_0xe4be62(0x1a7)][_0xe4be62(0x1b6)],'path':_0x17b8cb[_0xe4be62(0x16d)],'description':_0x50cd17['parent']['comment']},'scenario':{'name':_0x50cd17[_0xe4be62(0x1ce)]},'steps':_0x50cd17[_0xe4be62(0x130)]});const _0x5acf32=_0x17b8cb[_0xa10429[_0xe4be62(0x1db)]][0x0];_0x5acf32&&(_0x17b8cb[_0xa10429[_0xe4be62(0x17b)]]=_0x5acf32[_0xa10429['iQNFy']],_0x17b8cb[_0xa10429[_0xe4be62(0x12e)]]=_0x5acf32[_0xa10429['lyjxA']]);if(_0x50cd17[_0xe4be62(0x130)])for(const _0x18fa0c of _0x50cd17[_0xe4be62(0x130)]){!_0x18fa0c[_0xe4be62(0x1ca)]&&(_0x18fa0c['finished_at']=new Date()['toISOString'](),_0xa10429[_0xe4be62(0x1c3)](_0x18fa0c['result'],_0xa10429['CJpBq'])&&(_0x5acf32?(_0x18fa0c[_0xe4be62(0x168)]=_0xa10429['mOlUd'],_0x18fa0c[_0xe4be62(0x112)]=_0x5acf32[_0xa10429[_0xe4be62(0x16e)]][0x0]):_0x18fa0c[_0xe4be62(0x168)]=_0xa10429[_0xe4be62(0x15d)]));}const _0x142053={};_0x142053[_0xe4be62(0x179)]=_0x36bd30['skipped']?TEST_EVENTS[_0xe4be62(0x1b9)]:_0x229ffe;const _0x1f4a7b=_0x142053;return _0x36bd30['hook']?_0x1f4a7b[_0xa10429['PqPqq']]=_0x17b8cb:_0x1f4a7b[_0xa10429[_0xe4be62(0x156)]]=_0x17b8cb,_0x1f4a7b;}catch(_0x438f40){logger[_0xe4be62(0x114)](_0xe4be62(0x1b7)+_0x229ffe+_0xe4be62(0x157)+_0x438f40);}}async['fireEvent'](_0x30dc43,_0x506d86){const _0x2faa78=a4_0x13aca0;if(!this['enabled']||!_0x506d86||!_0x30dc43)return![];try{return await SessionHandler[_0x2faa78(0x137)](_0x506d86);}catch(_0x29f85a){logger[_0x2faa78(0x114)](_0x2faa78(0x1c4)+_0x30dc43+_0x2faa78(0x157)+_0x29f85a);}}[a4_0x13aca0(0x13e)](_0x8b03c9){const _0x3851e2=a4_0x13aca0,_0x3c51d1={};_0x3c51d1[_0x3851e2(0x1c8)]=_0x3851e2(0x129);const _0x6f25c8=_0x3c51d1;return{'id':_0x8b03c9[_0x3851e2(0x125)],'text':_0x8b03c9[_0x3851e2(0x1a0)],'keyword':_0x8b03c9[_0x3851e2(0x15f)],'started_at':_0x8b03c9['startedAt'][_0x3851e2(0x163)](),'result':_0x6f25c8[_0x3851e2(0x1c8)]};}['bddStepStart'](_0x12ac1d){const _0xd61154=a4_0x13aca0,_0xe18710={'hqcTb':function(_0x4c4614){return _0x4c4614();}};!this[_0xd61154(0x16a)][_0xd61154(0x130)]&&(this[_0xd61154(0x16a)][_0xd61154(0x130)]=[]),!_0x12ac1d[_0xd61154(0x125)]&&(_0x12ac1d[_0xd61154(0x125)]=_0xe18710[_0xd61154(0x147)](uuidv4),_0x12ac1d[_0xd61154(0x1a6)]=new Date(),this[_0xd61154(0x16a)][_0xd61154(0x130)][_0xd61154(0x17d)](this[_0xd61154(0x13e)](_0x12ac1d)));}[a4_0x13aca0(0x113)](_0x290b55){const _0x371ba0=a4_0x13aca0,_0x3baa1b={'pdUSD':function(_0x58d423,_0x208ccb){return _0x58d423(_0x208ccb);},'ufnZP':'success','tcByU':'pending','kpiOn':_0x371ba0(0x1d2),'rHDGu':function(_0x39205c,_0x4e7186){return _0x39205c-_0x4e7186;}};let _0x5bb6c6=this[_0x371ba0(0x16a)][_0x371ba0(0x130)][_0x371ba0(0x11c)](_0x26433b=>_0x26433b['id']===_0x290b55[_0x371ba0(0x125)]);_0x3baa1b['pdUSD'](isUndefined,_0x5bb6c6)&&(_0x5bb6c6=this['initializeBddStep'](_0x290b55)),_0x5bb6c6[_0x371ba0(0x168)]=[_0x3baa1b['ufnZP'],_0x3baa1b['tcByU']][_0x371ba0(0x1d3)](_0x290b55[_0x371ba0(0x196)])?_0x3baa1b['kpiOn']:_0x290b55[_0x371ba0(0x196)],_0x5bb6c6[_0x371ba0(0x1ca)]=new Date()[_0x371ba0(0x163)](),_0x5bb6c6[_0x371ba0(0x155)]=_0x3baa1b['rHDGu'](Date['now'](),_0x290b55[_0x371ba0(0x1a6)][_0x371ba0(0x159)]()),_0x5bb6c6[_0x371ba0(0x112)]=_0x290b55['err']?_0x290b55[_0x371ba0(0x161)][_0x371ba0(0x1a5)]:null;}}const a4_0xa2801c={};a4_0xa2801c[a4_0x13aca0(0x195)]=O11yHelper,a4_0xa2801c['STATE_PASSED']=STATE_PASSED,a4_0xa2801c[a4_0x13aca0(0x1b1)]=STATE_FAILED,a4_0xa2801c[a4_0x13aca0(0x1e5)]=TEST_EVENTS,module[a4_0x13aca0(0x1b3)]=a4_0xa2801c;
|
|
1
|
+
const a4_0x51433f=a4_0x50c1;(function(_0x9dce44,_0x436dee){const _0x45aa8f=a4_0x50c1,_0x111bec=_0x9dce44();while(!![]){try{const _0x709317=-parseInt(_0x45aa8f(0x1f9))/0x1*(parseInt(_0x45aa8f(0x1ea))/0x2)+-parseInt(_0x45aa8f(0x1e3))/0x3+-parseInt(_0x45aa8f(0x20e))/0x4+parseInt(_0x45aa8f(0x19f))/0x5+parseInt(_0x45aa8f(0x222))/0x6+-parseInt(_0x45aa8f(0x22f))/0x7+parseInt(_0x45aa8f(0x19a))/0x8;if(_0x709317===_0x436dee)break;else _0x111bec['push'](_0x111bec['shift']());}catch(_0x124290){_0x111bec['push'](_0x111bec['shift']());}}}(a4_0x36be,0x2564e));const path=require(a4_0x51433f(0x25e)),fs=require('fs'),{v4:uuidv4}=require(a4_0x51433f(0x1fa)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x51433f(0x231)),testOpsHelper=require(a4_0x51433f(0x16b)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x51433f(0x1ef)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x51433f(0x1d5)),PlaywrightSessionDetails=require(a4_0x51433f(0x1dd)),debug=testOpsHelper[a4_0x51433f(0x202)],{processAccessibilityCaps}=require(a4_0x51433f(0x20c)),Constants=require(a4_0x51433f(0x1b2)),{fetchPlatformDetails}=require(a4_0x51433f(0x1c6)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x51433f(0x249),STATE_FAILED=a4_0x51433f(0x1f0),a4_0x3edf8f={};function a4_0x50c1(_0x5689e5,_0x13e7f9){const _0x36bead=a4_0x36be();return a4_0x50c1=function(_0x50c12e,_0x2bb884){_0x50c12e=_0x50c12e-0x16b;let _0x39d497=_0x36bead[_0x50c12e];return _0x39d497;},a4_0x50c1(_0x5689e5,_0x13e7f9);}a4_0x3edf8f[a4_0x51433f(0x209)]=a4_0x51433f(0x228),a4_0x3edf8f[a4_0x51433f(0x175)]=a4_0x51433f(0x1cb),a4_0x3edf8f['TEST_RUN_SKIPPED']=a4_0x51433f(0x1a5),a4_0x3edf8f[a4_0x51433f(0x198)]=a4_0x51433f(0x24c),a4_0x3edf8f[a4_0x51433f(0x190)]=a4_0x51433f(0x226);function a4_0x36be(){const _0x44fe2d=['length','TxWqe','wlBIl','duration','646750SdZQvG','XqSLF','uKgHe','mvcam','TVXyp','statSync','TestRunSkipped','VJewl','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','getTime','match','HmTor','exports','removeAllListeners','constructor','mapTestHooks','startedAt','browserType.js','WVxVb','../utils/constants','stringify','MLMSD','File\x20path\x20could\x20not\x20be\x20found','replace','hbIep','toString','OMXHN','toLowerCase','getInstance','WjPqo','file_name','PathHelper','success','bs:addLog:','bddStepStart','PDpxq','mqgBL','toUpperCase','accessibilityPlatform','./helper.js','VamSk','enabled','forEach','event_type','TestRunFinished','xjydE','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','tLXLe','qCEPm','title','concat','wsEndpoint','kUzLj','push','../../helpers/test-observability/requestQueueHandler','hook_run_uuid','IOEkg','_testEnv','apply','split','pUudi','config','../playwright/sessionDetails','lKFrJ','fCPHM','fireEvent','driver','DfXen','43233gMmbRi','szvBc','retryOf','uqYmf','finished_at','getRootParentFile','KQDme','6hUhNss','Not\x20able\x20to\x20import\x20Browser','TQKVg','result','lib','../../helpers/test-observability/constants','failed','toISOString','findGitConfig','bCshZ','\x20with\x20error\x20:\x20','name','ewhqX','aAkYm','getFailureType','52606kwPAKG','uuid','kWsVb','defineProperty','body','.git','join','includes','UVAvr','debug','started','connect','getHooksForTest','duQFy','snfcs','util','TEST_RUN_STARTED','dEqdZ','failure_backtrace','../playwright/accessibility-helper','initializeBddStep','533564XNRJKX','suites','then','mUtZl','Playwright','hYJNb','bind','zCoxt','TEST_EVENTS','now','failure','lRhmb','FxcRa','_afterEach','ctx','eZUmE','markedStatus','prototype','sendCBTInfo','xWUCa','14316PLdqgN','bddSteps','hook','pQCKR','HookRunFinished','__cloud_provider___','TestRunStarted','SVaKz','_paths','status','obsBrowserTypeMockApplied','hook_type','setupBrowserDetails','27328tQmvvu','errorsDetailed','../../helpers/helper','RfBQH','bpYqZ','failed\x20to\x20get\x20root\x20parent\x20file\x20','test_run_uuid','hBZLi','getCBTInfo','aIuFC','tags','xreoc','CXwPc','finished','test','shutdown','stepAnalyticsId','ysUHM','test_run','codeceptjs','uploadEventData','kMMIQ','dnJFL','pid','_beforeEach','groups','passed','string','HRoTw','HookRunStarted','frameworkName','uksGt','parent','sJUjn','OsWCT','skipped','bHZqP','kKpRN','slflx','patchConsoleLogger','dirname','bMWus','integrations','uobLg','hookAnalyticsId','Mpwen','hsBJB','path','getHierarchy','comment','../../helpers/test-observability/utils','stop','_afterAll','failureData','cwd','Cryee','getHookType','fullTitle','wfgyv','err','TEST_RUN_FINISHED','captureEvent','ktapW','launch','sep','inspect','testAnalyticsId','hBEMs','appendTestItemLog','CShPj','wcMBi','file','bCGDY','connectOverCDP','_beforeAll','meta','resetSkipTestHooks','currentHook','ZVepq','start','1|0|5|4|2|3','PBpdQ','client','jaPOQ','type','nAhra','JoCpS','HOOK_RUN_FINISHED','boncl','VBxpM','SatWx','currentTest','pending','failure_reason_expanded','Kogyb','HOOK_RUN_STARTED','jFizT','2647632cRPSzG'];a4_0x36be=function(){return _0x44fe2d;};return a4_0x36be();}const TEST_EVENTS=a4_0x3edf8f,parseEvent=_0x23fd3a=>{const _0x370d9e=a4_0x51433f,_0x5a81ee={};_0x5a81ee[_0x370d9e(0x244)]=function(_0x428320,_0x104d6e){return _0x428320<_0x104d6e;},_0x5a81ee[_0x370d9e(0x240)]=function(_0x50bbd5,_0x4df342){return _0x50bbd5===_0x4df342;},_0x5a81ee[_0x370d9e(0x207)]=_0x370d9e(0x23d),_0x5a81ee['hbIep']=_0x370d9e(0x224),_0x5a81ee[_0x370d9e(0x18f)]=function(_0x4be53e,_0x494609){return _0x4be53e===_0x494609;},_0x5a81ee[_0x370d9e(0x1a1)]=_0x370d9e(0x252),_0x5a81ee[_0x370d9e(0x19c)]='started',_0x5a81ee[_0x370d9e(0x245)]=_0x370d9e(0x23c);const _0x1a89a1=_0x5a81ee,_0x15dbb3=_0x23fd3a[_0x370d9e(0x1a9)](/^(.*)Run(.*)$/);if(!_0x15dbb3)return null;if(_0x1a89a1[_0x370d9e(0x244)](_0x15dbb3[_0x370d9e(0x19b)],0x3))return null;const _0x4a1d6d=_0x15dbb3[0x1][_0x370d9e(0x1ba)](),_0x473ef6=_0x15dbb3[0x2][_0x370d9e(0x1ba)]();return{'test':_0x1a89a1['ysUHM'](_0x4a1d6d,_0x1a89a1['snfcs']),'hook':_0x1a89a1[_0x370d9e(0x240)](_0x4a1d6d,_0x1a89a1[_0x370d9e(0x1b7)]),'skipped':_0x1a89a1['JoCpS'](_0x473ef6,_0x1a89a1[_0x370d9e(0x1a1)]),'started':_0x1a89a1[_0x370d9e(0x18f)](_0x473ef6,_0x1a89a1[_0x370d9e(0x19c)]),'finished':_0x1a89a1['ysUHM'](_0x473ef6,_0x1a89a1['dnJFL'])};},mockPWBrowserType=_0xe96e23=>{const _0x42c804=a4_0x51433f,_0x17bae1={'wcMBi':function(_0x162a52,_0x3257e9){return _0x162a52===_0x3257e9;},'jaPOQ':_0x42c804(0x24a),'Mpwen':function(_0x5d497c,_0x45a7bf,_0x3be872){return _0x5d497c(_0x45a7bf,_0x3be872);},'kWsVb':_0x42c804(0x1d2),'kKpRN':function(_0x1d9169,_0x264425){return _0x1d9169(_0x264425);},'bpYqZ':'browserstack','KQDme':function(_0x560c97,_0x73af06,_0x38a600){return _0x560c97(_0x73af06,_0x38a600);},'XqSLF':_0x42c804(0x1ee),'boncl':_0x42c804(0x18b),'WjPqo':_0x42c804(0x1b0),'RfBQH':_0x42c804(0x1eb),'YHIXk':_0x42c804(0x204),'HmTor':_0x42c804(0x178)},_0x2b74ba=path[_0x42c804(0x1ff)](_0x17bae1[_0x42c804(0x1a0)],_0x17bae1[_0x42c804(0x191)],_0x17bae1[_0x42c804(0x1bc)]),_0x169948=_0x17bae1['kKpRN'](importFileFromPWCore,_0x2b74ba);if(!_0x169948){_0x17bae1[_0x42c804(0x254)](debug,_0x17bae1[_0x42c804(0x232)]);return;}const _0x34318d=_0x169948['BrowserType'],_0x167d85=_0x34318d[_0x42c804(0x21f)];if(_0x167d85[_0x42c804(0x22c)])return;const _0x4afa9a=_0x167d85[_0x42c804(0x204)];Object[_0x42c804(0x1fc)](_0x167d85,_0x17bae1['YHIXk'],{'get':function(){const _0x1b05a6=_0x42c804,_0x2efb37={'pQCKR':function(_0x41de26,_0xf1b9d0){const _0x2bd47f=a4_0x50c1;return _0x17bae1[_0x2bd47f(0x17f)](_0x41de26,_0xf1b9d0);},'uksGt':_0x17bae1[_0x1b05a6(0x18c)],'hgnUu':function(_0x197623,_0x218191,_0x556554){const _0x435c3b=_0x1b05a6;return _0x17bae1[_0x435c3b(0x25c)](_0x197623,_0x218191,_0x556554);},'Dehnw':_0x17bae1[_0x1b05a6(0x1fb)],'IOEkg':function(_0x3aae09,_0x35ddf0){const _0x4bd78b=_0x1b05a6;return _0x17bae1[_0x4bd78b(0x254)](_0x3aae09,_0x35ddf0);},'ILyJx':_0x17bae1[_0x1b05a6(0x233)],'Cryee':function(_0x15acce,_0x4fc550,_0x31a0b9){const _0xec6169=_0x1b05a6;return _0x17bae1[_0xec6169(0x1e9)](_0x15acce,_0x4fc550,_0x31a0b9);}};return async function _0x13ea1b(_0x3be2fc,_0x29a962){const _0x57e29c=_0x1b05a6,_0x51550b={'uobLg':function(_0x1dd921,_0x43a41e){const _0xf9cc0f=a4_0x50c1;return _0x2efb37[_0xf9cc0f(0x225)](_0x1dd921,_0x43a41e);},'dEqdZ':_0x2efb37[_0x57e29c(0x24e)]},_0x2f7e7b=_0x2efb37['hgnUu'](nestedKeyValue,_0x3be2fc,[_0x2efb37['Dehnw']])||_0x3be2fc;let _0x55dc37=null,_0x7348a0=null;try{[_0x7348a0,_0x55dc37]=_0x2f7e7b?_0x2efb37[_0x57e29c(0x1d7)](parseWSEndpoint,_0x2f7e7b):[null,null],global['__platformCaps']=_0x55dc37,_0x7348a0[_0x57e29c(0x200)](_0x2efb37['ILyJx'])&&(global[_0x57e29c(0x227)]=_0x2efb37['ILyJx']);}catch(_0x355072){logger[_0x57e29c(0x202)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x2f7e7b+'\x20'+_0x355072);}_0x2efb37[_0x57e29c(0x170)](processAccessibilityCaps,_0x55dc37,_0x7348a0);if(global[_0x57e29c(0x1c5)]){const _0x17d0a3=await _0x167d85[_0x57e29c(0x182)][_0x57e29c(0x1d9)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2efb37[_0x57e29c(0x1d7)](encodeURIComponent,JSON[_0x57e29c(0x1b3)](_0x55dc37))]);return PlaywrightSessionDetails[_0x57e29c(0x22e)](_0x17d0a3,_0xe96e23,_0x2f7e7b),_0x17d0a3;}return _0x4afa9a[_0x57e29c(0x1d9)](this,arguments)[_0x57e29c(0x210)](_0x366eb4=>{const _0x4717af=_0x57e29c;let _0xb05b1c=_0x3be2fc[_0x4717af(0x1d2)];return _0x51550b[_0x4717af(0x25a)](typeof _0x3be2fc,_0x51550b[_0x4717af(0x20a)])&&(_0xb05b1c=_0x3be2fc),PlaywrightSessionDetails[_0x4717af(0x22e)](_0x366eb4,_0xe96e23,_0xb05b1c),_0x366eb4;});};}});const _0x10d425=_0x167d85['launch'];Object['defineProperty'](_0x167d85,_0x17bae1[_0x42c804(0x1aa)],{'get':function(){return async function _0x3f7b9d(){const _0x2d54e9=a4_0x50c1;return _0x10d425[_0x2d54e9(0x1d9)](this,arguments)['then'](_0x192fb5=>{const _0x43fb67=_0x2d54e9;return PlaywrightSessionDetails[_0x43fb67(0x22e)](_0x192fb5,null),_0x192fb5;});};}});};class O11yHelper{[a4_0x51433f(0x194)]=null;[a4_0x51433f(0x186)]=null;['enabled']=![];[a4_0x51433f(0x24d)]=![];constructor(_0x550cb1,_0x428b1c){const _0x5229a6=a4_0x51433f,_0x296cc4={'CXwPc':_0x5229a6(0x189),'WVxVb':function(_0x56b938){return _0x56b938();},'hsBJB':function(_0x4acde4,_0x4e7598){return _0x4acde4===_0x4e7598;},'GBBLB':_0x5229a6(0x212),'OsWCT':function(_0x24d3f0,_0x37bf3f){return _0x24d3f0(_0x37bf3f);},'qCEPm':function(_0x5ab4b4){return _0x5ab4b4();}},_0x4e9829=_0x296cc4[_0x5229a6(0x23b)][_0x5229a6(0x1da)]('|');let _0x1bcb16=0x0;while(!![]){switch(_0x4e9829[_0x1bcb16++]){case'0':this['frameworkName']=_0x428b1c[_0x5229a6(0x24d)];continue;case'1':this[_0x5229a6(0x1c8)]=_0x296cc4[_0x5229a6(0x1b1)](shouldProcessEventForTesthub);continue;case'2':this[_0x5229a6(0x22a)]=new testOpsHelper[(_0x5229a6(0x1be))]({'cwd':process[_0x5229a6(0x16f)]()},this[_0x5229a6(0x1d8)]['location_prefix']);continue;case'3':this[_0x5229a6(0x1e1)]&&_0x296cc4[_0x5229a6(0x25d)](this[_0x5229a6(0x1e1)][_0x5229a6(0x1ad)][_0x5229a6(0x1f5)],_0x296cc4['GBBLB'])&&_0x296cc4[_0x5229a6(0x251)](mockPWBrowserType,null);continue;case'4':this[_0x5229a6(0x1d8)]=_0x296cc4[_0x5229a6(0x1cf)](getTestEnv);continue;case'5':this[_0x5229a6(0x1e1)]=_0x550cb1;continue;}break;}}[a4_0x51433f(0x188)](){const _0x52fdc3=a4_0x51433f;if(!this['enabled'])return;testOpsHelper[_0x52fdc3(0x256)](),process[_0x52fdc3(0x1ac)](_0x52fdc3(0x1c0)+process[_0x52fdc3(0x246)]),process['on']('bs:addLog:'+process[_0x52fdc3(0x246)],this[_0x52fdc3(0x17d)][_0x52fdc3(0x214)](this));}async[a4_0x51433f(0x16c)](){const _0x187fac=a4_0x51433f;await RequestQueueHandler[_0x187fac(0x1bb)]()[_0x187fac(0x23e)]();}async[a4_0x51433f(0x17d)](_0xf75b1d){const _0x44ccdf=a4_0x51433f,_0x308f58={'JAgLo':'LogCreated','rIvec':function(_0x1a4ea9,_0x85a9cf){return _0x1a4ea9(_0x85a9cf);}};try{this[_0x44ccdf(0x186)]&&!this['currentHook']['markedStatus']&&(_0xf75b1d[_0x44ccdf(0x1d6)]=this[_0x44ccdf(0x186)][_0x44ccdf(0x25b)]);!_0xf75b1d[_0x44ccdf(0x1d6)]&&this[_0x44ccdf(0x194)]&&!this[_0x44ccdf(0x194)][_0x44ccdf(0x21e)]&&(_0xf75b1d[_0x44ccdf(0x235)]=this['currentTest'][_0x44ccdf(0x17b)]);if(_0xf75b1d['hook_run_uuid']||_0xf75b1d[_0x44ccdf(0x235)]){const _0xa0ee28={};_0xa0ee28['event_type']=_0x308f58['JAgLo'],_0xa0ee28['logs']=[_0xf75b1d],await SessionHandler[_0x44ccdf(0x243)](_0xa0ee28);}}catch(_0x24e5dd){_0x308f58['rIvec'](debug,_0x44ccdf(0x1cd)+_0x24e5dd);}}async[a4_0x51433f(0x220)](_0x359e75){const _0x3f9041=a4_0x51433f,_0x4298c0={'MnjBk':'CBTSessionCreated','KscGw':function(_0x2a5af3,_0x777f7b){return _0x2a5af3(_0x777f7b);}};if(!this['enabled'])return;const _0x1fae64=this[_0x3f9041(0x237)](this[_0x3f9041(0x1e1)]);try{const _0x2ea6b2={};_0x2ea6b2['uuid']=_0x359e75,_0x2ea6b2['integrations']=_0x1fae64;const _0x490f12=_0x2ea6b2,_0x4a305d={};_0x4a305d[_0x3f9041(0x1ca)]=_0x4298c0['MnjBk'],_0x4a305d[_0x3f9041(0x241)]=_0x490f12,await SessionHandler[_0x3f9041(0x243)](_0x4a305d);}catch(_0xe9619c){_0x4298c0['KscGw'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0xe9619c);}}[a4_0x51433f(0x237)](_0x3313ea){const _0x20095a=a4_0x51433f,_0x3d62bc={'aAkYm':function(_0x462241,_0x499721){return _0x462241(_0x499721);}};return _0x3d62bc[_0x20095a(0x1f7)](fetchPlatformDetails,_0x3313ea);}[a4_0x51433f(0x185)]=_0x5a98b1=>{const _0x3e2ef1=a4_0x51433f,_0x2da61d={};_0x2da61d[_0x3e2ef1(0x18a)]=_0x3e2ef1(0x247),_0x2da61d[_0x3e2ef1(0x253)]=_0x3e2ef1(0x21b);const _0x1348c1=_0x2da61d;if(!_0x5a98b1||!_0x5a98b1[_0x3e2ef1(0x24f)])return;[_0x1348c1['PBpdQ'],_0x1348c1[_0x3e2ef1(0x253)]][_0x3e2ef1(0x1c9)](_0x205462=>{const _0x5e8e19=_0x3e2ef1,_0x80e3a7=_0x5a98b1[_0x5e8e19(0x24f)][_0x205462];_0x80e3a7['forEach'](_0xbdd81f=>{const _0x477cf0=_0x5e8e19;_0xbdd81f[_0x477cf0(0x25b)]&&(_0xbdd81f[_0x477cf0(0x25b)]=null);});});};[a4_0x51433f(0x1ae)](_0x47a015){const _0xab346f=a4_0x51433f,_0x22b762={'hBEMs':_0xab346f(0x242),'xWUCa':function(_0x2020ab){return _0x2020ab();},'SatWx':function(_0x3f76ed,_0x3c6dd6){return _0x3f76ed===_0x3c6dd6;},'xreoc':_0xab346f(0x21b),'CSnyu':_0xab346f(0x183),'MLMSD':_0xab346f(0x16d),'hYJNb':_0xab346f(0x247)};if(!_0x47a015||!_0x47a015[_0xab346f(0x24f)])return;[_0x22b762['CSnyu'],_0x22b762[_0xab346f(0x1b4)],_0x22b762[_0xab346f(0x213)],_0x22b762[_0xab346f(0x23a)]][_0xab346f(0x1c9)](_0x4742a2=>{const _0x4cd8b9=_0xab346f,_0x12b6f8={'uqYmf':_0x22b762[_0x4cd8b9(0x17c)],'hBZLi':function(_0x5f2e56){const _0x4305b5=_0x4cd8b9;return _0x22b762[_0x4305b5(0x221)](_0x5f2e56);},'DfXen':function(_0x1f7348,_0x37598a){const _0x504bde=_0x4cd8b9;return _0x22b762[_0x504bde(0x193)](_0x1f7348,_0x37598a);},'lRhmb':_0x22b762[_0x4cd8b9(0x23a)]},_0x3b636d=_0x47a015['parent'][_0x4742a2]||[];_0x3b636d[_0x4cd8b9(0x1c9)](_0x330972=>{const _0x48fae8=_0x4cd8b9;if(_0x330972['title'][_0x48fae8(0x200)](_0x12b6f8[_0x48fae8(0x1e6)]))return;if(!_0x330972['hookAnalyticsId'])_0x330972[_0x48fae8(0x25b)]=_0x12b6f8[_0x48fae8(0x236)](uuidv4);else _0x330972[_0x48fae8(0x21e)]&&_0x12b6f8[_0x48fae8(0x1e2)](_0x4742a2,_0x12b6f8[_0x48fae8(0x219)])&&(_0x330972[_0x48fae8(0x25b)]=_0x12b6f8[_0x48fae8(0x236)](uuidv4),delete _0x330972[_0x48fae8(0x21e)]);});}),this[_0xab346f(0x1ae)](_0x47a015[_0xab346f(0x24f)]);}[a4_0x51433f(0x205)](_0x4a5cf2){const _0x435b65=a4_0x51433f,_0x553c5e={};_0x553c5e[_0x435b65(0x1cc)]=_0x435b65(0x183),_0x553c5e['PDpxq']=_0x435b65(0x16d),_0x553c5e[_0x435b65(0x197)]='_beforeEach',_0x553c5e[_0x435b65(0x1a3)]=_0x435b65(0x21b);const _0xf95b83=_0x553c5e;if(!_0x4a5cf2||!_0x4a5cf2['parent'])return[];const _0x20f1b4=[];return[_0xf95b83[_0x435b65(0x1cc)],_0xf95b83[_0x435b65(0x1c2)],_0xf95b83[_0x435b65(0x197)],_0xf95b83[_0x435b65(0x1a3)]][_0x435b65(0x1c9)](_0x30a1ef=>{const _0x1046dd=_0x435b65,_0x38ca22=_0x4a5cf2[_0x1046dd(0x24f)][_0x30a1ef]||[];_0x38ca22[_0x1046dd(0x1c9)](_0x46dd92=>{const _0x500011=_0x1046dd;_0x46dd92['hookAnalyticsId']&&_0x20f1b4[_0x500011(0x1d4)](_0x46dd92[_0x500011(0x25b)]);});}),[][_0x435b65(0x1d1)](_0x20f1b4,this[_0x435b65(0x205)](_0x4a5cf2[_0x435b65(0x24f)]));}[a4_0x51433f(0x171)](_0x3942e3){const _0x192bc3=a4_0x51433f,_0x5dfc49=/^"(?<hook>.*)" hook:.*$/,_0x12ce66=_0x3942e3[_0x192bc3(0x1d0)],_0x1f2d1d=_0x12ce66[_0x192bc3(0x1a9)](_0x5dfc49);if(_0x1f2d1d&&_0x1f2d1d[_0x192bc3(0x248)])return _0x1f2d1d[_0x192bc3(0x248)][_0x192bc3(0x224)][_0x192bc3(0x1c4)]()[_0x192bc3(0x1b6)]('\x20','_');return null;}[a4_0x51433f(0x1f2)](_0x1816d2){const _0x39b4aa=a4_0x51433f,_0x18c932={};_0x18c932[_0x39b4aa(0x1db)]=function(_0x8746e7,_0x4da839){return _0x8746e7===_0x4da839;},_0x18c932[_0x39b4aa(0x255)]=function(_0x5c9064,_0x359157){return _0x5c9064===_0x359157;},_0x18c932['szvBc']=function(_0x1f2299,_0x22ff55){return _0x1f2299===_0x22ff55;},_0x18c932[_0x39b4aa(0x201)]=_0x39b4aa(0x1fe),_0x18c932[_0x39b4aa(0x258)]=_0x39b4aa(0x1dc);const _0xe3ce30=_0x18c932,_0x411106=path[_0x39b4aa(0x179)];if(_0xe3ce30[_0x39b4aa(0x1db)](_0x1816d2,null)||_0xe3ce30[_0x39b4aa(0x255)](_0x1816d2,'')||_0xe3ce30[_0x39b4aa(0x1db)](_0x1816d2,_0x411106)||_0xe3ce30[_0x39b4aa(0x1e4)](_0x1816d2,path[_0x39b4aa(0x257)](_0x1816d2)))return null;try{return fs[_0x39b4aa(0x1a4)](path['join'](_0x1816d2,_0xe3ce30[_0x39b4aa(0x201)],_0xe3ce30[_0x39b4aa(0x258)])),_0x1816d2;}catch(_0x40b068){const _0x4f066e=path[_0x39b4aa(0x257)](_0x1816d2);return this[_0x39b4aa(0x1f2)](_0x4f066e);}}[a4_0x51433f(0x1e8)](_0x43da51){const _0x431012=a4_0x51433f,_0x2741c3={};_0x2741c3[_0x431012(0x1ce)]=function(_0x1b13b9,_0x29eef9){return _0x1b13b9>_0x29eef9;};const _0x23361f=_0x2741c3;if(_0x43da51[_0x431012(0x180)])return _0x43da51[_0x431012(0x180)];if(_0x43da51[_0x431012(0x21c)]){const _0x3a31c8=_0x43da51[_0x431012(0x21c)]['currentTest']?this['getRootParentFile'](_0x43da51['ctx'][_0x431012(0x194)]):null;if(_0x3a31c8)return _0x3a31c8;}if(_0x43da51[_0x431012(0x24f)]){const _0x4a3e75=this['getRootParentFile'](_0x43da51[_0x431012(0x24f)])||(_0x43da51[_0x431012(0x24f)][_0x431012(0x21c)]&&_0x43da51[_0x431012(0x24f)][_0x431012(0x21c)][_0x431012(0x194)]?this[_0x431012(0x1e8)](_0x43da51[_0x431012(0x24f)][_0x431012(0x21c)][_0x431012(0x194)]):null);if(_0x4a3e75)return _0x4a3e75;_0x43da51[_0x431012(0x24f)][_0x431012(0x20f)]&&_0x23361f[_0x431012(0x1ce)](_0x43da51[_0x431012(0x24f)][_0x431012(0x20f)][_0x431012(0x19b)],0x0)&&_0x43da51[_0x431012(0x24f)][_0x431012(0x20f)][_0x431012(0x1c9)](_0x2cb4d9=>{const _0x26742a=_0x431012,_0x430d3a=_0x2cb4d9['ctx']?this[_0x26742a(0x1e8)](_0x2cb4d9[_0x26742a(0x21c)]):null;if(_0x430d3a)return _0x430d3a;});}return null;}['getHierarchy'](_0x4a24d7){const _0x1daa65=a4_0x51433f,_0xa11e34={};_0xa11e34[_0x1daa65(0x24b)]=function(_0x27e1b2,_0x5a6100){return _0x27e1b2!==_0x5a6100;};const _0x17f677=_0xa11e34,_0x1a3cbd=[];if(_0x4a24d7&&_0x4a24d7['parent']){let _0x27df34=_0x4a24d7[_0x1daa65(0x24f)];while(_0x27df34&&_0x17f677['HRoTw'](_0x27df34[_0x1daa65(0x1d0)],'')){_0x1a3cbd[_0x1daa65(0x1d4)](_0x27df34[_0x1daa65(0x1d0)]),_0x27df34=_0x27df34[_0x1daa65(0x24f)];}}return _0x1a3cbd;}[a4_0x51433f(0x176)](_0x2127a4,_0x5776f8,_0x5276e9=undefined){const _0x524ca0=a4_0x51433f,_0x75d7d6={'eZUmE':function(_0x1df05a,_0x3eacde){return _0x1df05a(_0x3eacde);},'TQKVg':function(_0x2cd47f){return _0x2cd47f();},'VamSk':function(_0xfc0328){return _0xfc0328();},'CShPj':function(_0x4fcb4f){return _0x4fcb4f();},'jFizT':function(_0x4496fb){return _0x4496fb();},'duQFy':function(_0x2f7676,_0x4a23c4){return _0x2f7676(_0x4a23c4);},'ewhqX':_0x524ca0(0x208),'rUoKj':_0x524ca0(0x174),'VBxpM':function(_0x2dec77,_0x3b36bc){return _0x2dec77!==_0x3b36bc;},'ibSFY':_0x524ca0(0x1b5),'sJUjn':_0x524ca0(0x195),'mvcam':_0x524ca0(0x1f0),'lKFrJ':_0x524ca0(0x249),'ZVepq':_0x524ca0(0x252),'aIuFC':'javascript','FxcRa':function(_0x13e667,_0x5989cc){return _0x13e667-_0x5989cc;},'nAhra':function(_0x4f072d,_0x3ba72d,_0x5ab92b,_0x568e0e,_0x35588e){return _0x4f072d(_0x3ba72d,_0x5ab92b,_0x568e0e,_0x35588e);},'fCPHM':_0x524ca0(0x259),'wlBIl':_0x524ca0(0x184),'mUtZl':_0x524ca0(0x218),'zCoxt':_0x524ca0(0x20b),'lisZz':'backtrace','obDSi':_0x524ca0(0x196),'mqgBL':'expanded','snGqx':function(_0x3366c8,_0x575550){return _0x3366c8===_0x575550;},'VJewl':'hook_run','bCshZ':_0x524ca0(0x241)};if(!this[_0x524ca0(0x1c8)])return;try{if(_0x5776f8['fn']&&_0x5776f8['fn']['toString']()[_0x524ca0(0x1a9)](/browserstack internal helper hook/))return;const _0x575268=_0x75d7d6[_0x524ca0(0x21d)](parseEvent,_0x2127a4);if(!_0x575268)return;if(_0x575268[_0x524ca0(0x23d)]){this[_0x524ca0(0x194)]=_0x5776f8,this[_0x524ca0(0x186)]=null;if(_0x575268['started']||_0x575268[_0x524ca0(0x252)]){_0x5776f8[_0x524ca0(0x1af)]=new Date(),_0x5776f8[_0x524ca0(0x21e)]=![];if(!_0x5776f8[_0x524ca0(0x17b)])_0x5776f8[_0x524ca0(0x17b)]=_0x75d7d6[_0x524ca0(0x1ec)](uuidv4);else _0x5776f8[_0x524ca0(0x21e)]&&(!_0x5776f8[_0x524ca0(0x1e5)]&&(_0x5776f8['retryOf']=_0x5776f8[_0x524ca0(0x17b)]),_0x5776f8[_0x524ca0(0x17b)]=_0x75d7d6[_0x524ca0(0x1c7)](uuidv4));}}else{if(_0x575268[_0x524ca0(0x224)]){this[_0x524ca0(0x186)]=_0x5776f8;if(_0x575268[_0x524ca0(0x203)]){_0x5776f8[_0x524ca0(0x1af)]=new Date(),_0x5776f8[_0x524ca0(0x21e)]=![];if(!_0x5776f8[_0x524ca0(0x25b)])_0x5776f8['hookAnalyticsId']=_0x75d7d6[_0x524ca0(0x17e)](uuidv4);else _0x5776f8[_0x524ca0(0x25b)]&&_0x5776f8['markedStatus']&&(_0x5776f8[_0x524ca0(0x25b)]=_0x75d7d6[_0x524ca0(0x199)](uuidv4));}}}if(_0x575268[_0x524ca0(0x23c)]&&_0x5776f8[_0x524ca0(0x21e)])return;let _0x117e09;try{_0x117e09=this[_0x524ca0(0x1e8)](_0x5776f8);}catch(_0xdc991a){logger[_0x524ca0(0x202)](_0x524ca0(0x234)+_0xdc991a),_0x117e09=null;}const _0x11e20b=_0x75d7d6[_0x524ca0(0x206)](require,_0x75d7d6[_0x524ca0(0x1f6)]);let _0x9f637d=[];_0x5276e9&&(_0x9f637d=[_0x5276e9,_0x75d7d6['rUoKj']]);const _0x516ab7=_0x75d7d6[_0x524ca0(0x192)](_0x5776f8[_0x524ca0(0x230)],undefined)?_0x11e20b[_0x524ca0(0x17a)](_0x5776f8[_0x524ca0(0x230)][0x0]):_0x75d7d6['VBxpM'](_0x5276e9,undefined)?_0x5276e9['toString']():undefined,_0x33640e=_0x117e09?this[_0x524ca0(0x1f2)](_0x117e09):null,_0x194f66=_0x117e09?this[_0x524ca0(0x22a)]['prefixTestPath'](this[_0x524ca0(0x1e8)](_0x5776f8)):_0x75d7d6['ibSFY'];let _0x12579d=_0x75d7d6[_0x524ca0(0x250)];const _0x5c04d7=!_0x575268[_0x524ca0(0x203)]?new Date()[_0x524ca0(0x1f1)]():null;if(_0x575268[_0x524ca0(0x23c)])_0x12579d=_0x5276e9?_0x75d7d6[_0x524ca0(0x1a2)]:_0x75d7d6[_0x524ca0(0x1de)],_0x5776f8[_0x524ca0(0x21e)]=!![];else _0x575268['skipped']&&(_0x12579d=_0x75d7d6[_0x524ca0(0x187)],_0x5776f8[_0x524ca0(0x21e)]=!![]);const _0x57ed64={'framework':this[_0x524ca0(0x24d)],'uuid':_0x5776f8['testAnalyticsId']||_0x5776f8[_0x524ca0(0x25b)],'name':_0x5776f8[_0x524ca0(0x1d0)],'body':{'lang':_0x75d7d6[_0x524ca0(0x238)],'code':_0x5776f8['body'][_0x524ca0(0x1b8)]()},'type':_0x5776f8[_0x524ca0(0x18d)],'scope':_0x5776f8['fullTitle'](),'scopes':this[_0x524ca0(0x25f)](_0x5776f8),'file_name':_0x194f66,'vc_filepath':_0x33640e?path['relative'](_0x33640e,_0x117e09):null,'location':_0x194f66,'result':_0x12579d,'failure_reason':_0x516ab7,'duration_in_ms':_0x5776f8[_0x524ca0(0x19e)]||(_0x575268[_0x524ca0(0x23c)]||_0x575268[_0x524ca0(0x252)])?_0x75d7d6[_0x524ca0(0x21a)](Date[_0x524ca0(0x217)](),new Date(_0x5776f8[_0x524ca0(0x1af)])[_0x524ca0(0x1a8)]()):null,'started_at':new Date(_0x5776f8[_0x524ca0(0x1af)])[_0x524ca0(0x1f1)](),'finished_at':_0x5c04d7,'failure':testOpsHelper[_0x524ca0(0x16e)]['apply'](null,_0x9f637d),'failure_type':!_0x516ab7?null:testOpsHelper[_0x524ca0(0x1f8)](_0x516ab7),'retry_of':_0x5776f8[_0x524ca0(0x1e5)]||null,'tags':_0x5776f8[_0x524ca0(0x239)]||[],'customRerunParam':{'rerun_name':_0x5776f8[_0x524ca0(0x172)]()}};_0x75d7d6[_0x524ca0(0x18e)](appendTesthubParams,_0x57ed64,_0x2127a4,_0x5776f8,FRAMEWORKS['CODECEPT']);if(_0x575268[_0x524ca0(0x224)])[_0x57ed64[_0x524ca0(0x22d)],_0x57ed64['name']]=[this['getHookType'](_0x5776f8),_0x5776f8[_0x524ca0(0x21c)]['test'][_0x524ca0(0x1d0)]],_0x575268[_0x524ca0(0x23c)]?_0x75d7d6[_0x524ca0(0x192)](_0x57ed64['result'],_0x75d7d6[_0x524ca0(0x1a2)])&&(_0x57ed64['result']=_0x75d7d6[_0x524ca0(0x1de)]):_0x57ed64[_0x524ca0(0x1fd)]={};else _0x575268[_0x524ca0(0x23d)]&&(this['mapTestHooks'](_0x5776f8),_0x575268[_0x524ca0(0x252)]&&this[_0x524ca0(0x185)](_0x5776f8),(_0x575268[_0x524ca0(0x23c)]||_0x575268[_0x524ca0(0x252)])&&(_0x57ed64['hooks']=this['getHooksForTest'](_0x5776f8)));this['driver']&&(_0x575268[_0x524ca0(0x203)]||_0x575268['skipped'])&&(_0x57ed64[_0x75d7d6[_0x524ca0(0x1df)]]=this[_0x524ca0(0x237)](this['driver']));_0x575268['test']&&_0x575268[_0x524ca0(0x23c)]&&_0x5776f8['bddSteps']&&(_0x57ed64[_0x75d7d6[_0x524ca0(0x19d)]]={'feature':{'name':_0x5776f8[_0x524ca0(0x24f)]['feature']['name'],'path':_0x57ed64[_0x524ca0(0x1bd)],'description':_0x5776f8[_0x524ca0(0x24f)][_0x524ca0(0x260)]},'scenario':{'name':_0x5776f8['title']},'steps':_0x5776f8[_0x524ca0(0x223)]});const _0x3e9b41=_0x57ed64[_0x75d7d6[_0x524ca0(0x211)]][0x0];_0x3e9b41&&(_0x57ed64[_0x75d7d6[_0x524ca0(0x215)]]=_0x3e9b41[_0x75d7d6['lisZz']],_0x57ed64[_0x75d7d6['obDSi']]=_0x3e9b41[_0x75d7d6[_0x524ca0(0x1c3)]]);if(_0x5776f8[_0x524ca0(0x223)])for(const _0x9b5c50 of _0x5776f8['bddSteps']){!_0x9b5c50['finished_at']&&(_0x9b5c50[_0x524ca0(0x1e7)]=new Date()['toISOString'](),_0x75d7d6['snGqx'](_0x9b5c50[_0x524ca0(0x1ed)],_0x75d7d6[_0x524ca0(0x250)])&&(_0x3e9b41?(_0x9b5c50[_0x524ca0(0x1ed)]=_0x75d7d6[_0x524ca0(0x1a2)],_0x9b5c50[_0x524ca0(0x218)]=_0x3e9b41[_0x75d7d6['lisZz']][0x0]):_0x9b5c50['result']=_0x75d7d6[_0x524ca0(0x1de)]));}const _0x134b2d={};_0x134b2d['event_type']=_0x575268['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2127a4;const _0x576e41=_0x134b2d;return _0x575268['hook']?_0x576e41[_0x75d7d6[_0x524ca0(0x1a6)]]=_0x57ed64:_0x576e41[_0x75d7d6[_0x524ca0(0x1f3)]]=_0x57ed64,_0x576e41;}catch(_0x24b9e5){logger[_0x524ca0(0x202)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2127a4+_0x524ca0(0x1f4)+_0x24b9e5);}}async[a4_0x51433f(0x1e0)](_0x47a26b,_0x1133dd){const _0x370907=a4_0x51433f;if(!this[_0x370907(0x1c8)]||!_0x1133dd||!_0x47a26b)return![];try{return await SessionHandler['uploadEventData'](_0x1133dd);}catch(_0x1b31e1){logger[_0x370907(0x202)](_0x370907(0x1a7)+_0x47a26b+'\x20with\x20error\x20:\x20'+_0x1b31e1);}}[a4_0x51433f(0x20d)](_0x589844){const _0x47da7b=a4_0x51433f,_0xb58ece={};_0xb58ece[_0x47da7b(0x1d3)]=_0x47da7b(0x195);const _0x431b0d=_0xb58ece;return{'id':_0x589844[_0x47da7b(0x23f)],'text':_0x589844['text'],'keyword':_0x589844['keyword'],'started_at':_0x589844[_0x47da7b(0x1af)][_0x47da7b(0x1f1)](),'result':_0x431b0d[_0x47da7b(0x1d3)]};}[a4_0x51433f(0x1c1)](_0x4ffa84){const _0x263658=a4_0x51433f,_0xac6a46={'wfgyv':function(_0x5e535c){return _0x5e535c();}};!this[_0x263658(0x194)][_0x263658(0x223)]&&(this['currentTest']['bddSteps']=[]),!_0x4ffa84['stepAnalyticsId']&&(_0x4ffa84[_0x263658(0x23f)]=_0xac6a46[_0x263658(0x173)](uuidv4),_0x4ffa84[_0x263658(0x1af)]=new Date(),this[_0x263658(0x194)][_0x263658(0x223)][_0x263658(0x1d4)](this['initializeBddStep'](_0x4ffa84)));}['bddStepFinish'](_0x4dd8db){const _0x843b25=a4_0x51433f,_0x12a2af={'bCGDY':function(_0x5a627a,_0x55457a){return _0x5a627a(_0x55457a);},'SVaKz':_0x843b25(0x1bf),'OMXHN':_0x843b25(0x195),'aTjYr':_0x843b25(0x249),'ktapW':function(_0x524008,_0x164043){return _0x524008-_0x164043;}};let _0x1afed1=this[_0x843b25(0x194)]['bddSteps']['find'](_0x6c8ee3=>_0x6c8ee3['id']===_0x4dd8db['stepAnalyticsId']);_0x12a2af[_0x843b25(0x181)](isUndefined,_0x1afed1)&&(_0x1afed1=this[_0x843b25(0x20d)](_0x4dd8db)),_0x1afed1['result']=[_0x12a2af[_0x843b25(0x229)],_0x12a2af[_0x843b25(0x1b9)]][_0x843b25(0x200)](_0x4dd8db[_0x843b25(0x22b)])?_0x12a2af['aTjYr']:_0x4dd8db[_0x843b25(0x22b)],_0x1afed1[_0x843b25(0x1e7)]=new Date()[_0x843b25(0x1f1)](),_0x1afed1['duration']=_0x12a2af[_0x843b25(0x177)](Date['now'](),_0x4dd8db['startedAt']['getTime']()),_0x1afed1['failure']=_0x4dd8db['err']?_0x4dd8db[_0x843b25(0x174)]['message']:null;}}const a4_0x190171={};a4_0x190171['O11yHelper']=O11yHelper,a4_0x190171['STATE_PASSED']=STATE_PASSED,a4_0x190171['STATE_FAILED']=STATE_FAILED,a4_0x190171[a4_0x51433f(0x216)]=TEST_EVENTS,module[a4_0x51433f(0x1ab)]=a4_0x190171;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x3e9e(){const _0x532b74=['yXHCf','xDdGd','exitCode','initialize','5463HswNYA','path','stop','42KAWfST','AQCel','log','logLevel','fFULc','124056GGKwRk','8KVUpGH','join','framework','gjgEx','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1336461SPJJDg','oSgEP','length','finalExecution','tRkmB','getErrorMessageFromResults','670650hUdTNr','createDir','eKvCC','cyan','TZjUQ','then','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','error\x20removing\x20tcg\x20config\x20file','2894880ALHSdQ','KywqL','format','rifok','tmp','SDK_SETUP','stepsSkipped','jFQXY','../../helpers/BrowserStackSetup','109105qLcvae','useW3C','FRAMEWORKS','../../helpers/helper','cDwTs','QWGrd','forEach','../test-runner','\x20skipped','AdOdv','JpHQA','getTCGConfigFilePaths','splice','bold','removeDir','steps','lFVjZ','isUndefined','lWqhr','winstonLogger','chalk','stepsUndefined','stepsPassed','335590spWPDe','Generating\x20consolidated\x20report...','../../helpers/utilities','\x20passed','../../helpers/testhub/testhubHandler','processSuccess','exports','unlinkSync','parallelsPerPlatform','ujsFL','QysMg','debug','SDK_CLEANUP','isBrowserstackInfra','env','getUserWorkerCount','scenariosFailed','../../helpers/logger','proxySettings','../../helpers/performance/performance-tester','printBuildLink','errorMessage','voovU','config','green','red','argv','setupTCGAuth','bgWhite','ScfKy','CUCUMBER','\x20steps','stepsFailed','setUserConfigPath','****\x20RESULTS\x20****','ZAXje','yellow','launchBuild','getHubUrl','parseFormatters','NzIUg','testObservability','stepsAmbiguous','getPlatformName','push','stepsPending','end','nbCFy','stepsUnknown','22270APFoJg','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','EVENTS','accessibilityOptions','\x20failed','start','rmdirSync','JfLJE','Removing\x20tmp\x20directory\x20created\x20for\x20reports'];a5_0x3e9e=function(){return _0x532b74;};return a5_0x3e9e();}const a5_0x23a162=a5_0x4c2c;function a5_0x4c2c(_0x512543,_0x4e801e){const _0x3e9e79=a5_0x3e9e();return a5_0x4c2c=function(_0x4c2c3d,_0x4bde97){_0x4c2c3d=_0x4c2c3d-0x177;let _0x346aca=_0x3e9e79[_0x4c2c3d];return _0x346aca;},a5_0x4c2c(_0x512543,_0x4e801e);}(function(_0x40b932,_0x17e02b){const _0x1a2a29=a5_0x4c2c,_0x33c0c5=_0x40b932();while(!![]){try{const _0x3cc913=-parseInt(_0x1a2a29(0x1cb))/0x1+-parseInt(_0x1a2a29(0x1b9))/0x2+parseInt(_0x1a2a29(0x1a8))/0x3*(-parseInt(_0x1a2a29(0x1ad))/0x4)+parseInt(_0x1a2a29(0x1e2))/0x5+-parseInt(_0x1a2a29(0x1c2))/0x6+-parseInt(_0x1a2a29(0x1b3))/0x7*(-parseInt(_0x1a2a29(0x1ae))/0x8)+-parseInt(_0x1a2a29(0x1a5))/0x9*(-parseInt(_0x1a2a29(0x196))/0xa);if(_0x3cc913===_0x17e02b)break;else _0x33c0c5['push'](_0x33c0c5['shift']());}catch(_0x3622e1){_0x33c0c5['push'](_0x33c0c5['shift']());}}}(a5_0x3e9e,0x3cb94));const fs=require('fs'),path=require(a5_0x23a162(0x1a6)),util=require('util'),logger=require(a5_0x23a162(0x1f3))[a5_0x23a162(0x1de)],{default:BrowserStackSetup}=require(a5_0x23a162(0x1ca)),helper=require(a5_0x23a162(0x1ce)),utilities=require(a5_0x23a162(0x1e4)),constants=require(a5_0x23a162(0x199)),{parallelCucumberRun}=require(a5_0x23a162(0x1d2)),TestHubHandler=require(a5_0x23a162(0x1e6)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x23a162(0x1df)),PerformanceTester=require(a5_0x23a162(0x178)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x23a162(0x19a)];function printCucumberStats(_0x516e37){const _0x55f728=a5_0x23a162,_0x28dff1={};_0x28dff1[_0x55f728(0x1ec)]=function(_0x3110af,_0x4dd578){return _0x3110af>_0x4dd578;},_0x28dff1[_0x55f728(0x1b7)]=function(_0x198799,_0x431a60){return _0x198799-_0x431a60;},_0x28dff1[_0x55f728(0x1ac)]=function(_0x1328f4,_0x538aa2){return _0x1328f4-_0x538aa2;},_0x28dff1['yXHCf']=function(_0x4dd61f,_0x5568c9){return _0x4dd61f>_0x5568c9;},_0x28dff1['KywqL']=function(_0x1dca19,_0xb0f5a0){return _0x1dca19>_0xb0f5a0;},_0x28dff1[_0x55f728(0x1c9)]=function(_0x511da6,_0x5a31b3){return _0x511da6>_0x5a31b3;},_0x28dff1[_0x55f728(0x1cf)]=function(_0x10b7ca,_0xe1c939){return _0x10b7ca>_0xe1c939;},_0x28dff1[_0x55f728(0x18d)]=function(_0x46829c,_0x2a9137){return _0x46829c>_0x2a9137;},_0x28dff1[_0x55f728(0x1c5)]=function(_0x202660,_0x607c6f){return _0x202660>_0x607c6f;},_0x28dff1['Cvaww']=function(_0x3244b8,_0x36817a){return _0x3244b8+_0x36817a;},_0x28dff1[_0x55f728(0x1bb)]=function(_0x1b0d62,_0x241311){return _0x1b0d62+_0x241311;},_0x28dff1[_0x55f728(0x1eb)]=function(_0x2a3ce0,_0x304800){return _0x2a3ce0+_0x304800;},_0x28dff1['JfLJE']=function(_0x5a64f3,_0x865f3){return _0x5a64f3+_0x865f3;},_0x28dff1[_0x55f728(0x1d0)]=function(_0x4efd21,_0x3ca2e1){return _0x4efd21===_0x3ca2e1;},_0x28dff1['JpHQA']=_0x55f728(0x187);const _0x42e6ff=_0x28dff1;let _0x4eaeb6=0x0;if(_0x42e6ff[_0x55f728(0x1d0)](_0x516e37['length'],0x0))return _0x4eaeb6;return console[_0x55f728(0x1aa)](chalk[_0x55f728(0x1d8)][_0x55f728(0x181)](_0x42e6ff[_0x55f728(0x1d5)])),_0x516e37[_0x55f728(0x1d1)](_0x235345=>{const _0x378b6c=_0x55f728,_0x293ed5=_0x235345[0x0],_0x57d854=_0x235345[0x1];console[_0x378b6c(0x1aa)]('\x0a'+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](''+helper[_0x378b6c(0x190)](_0x293ed5)));const _0x1c4216=_0x57d854['scenarios'],_0xd79a14=_0x57d854[_0x378b6c(0x1da)],_0x231ea6=_0x57d854[_0x378b6c(0x1f2)],_0x4403bd=_0x57d854[_0x378b6c(0x185)],_0x5ac2a8=_0x57d854[_0x378b6c(0x1e1)],_0x5eb50c=_0x57d854[_0x378b6c(0x1c8)],_0xcd2b51=_0x57d854[_0x378b6c(0x192)],_0x46fc66=_0x57d854[_0x378b6c(0x1e0)],_0x2f5995=_0x57d854[_0x378b6c(0x195)],_0x16434a=_0x57d854[_0x378b6c(0x18f)],_0xabd488=_0x57d854[_0x378b6c(0x1e7)];let _0x545495=_0x1c4216+'\x20scenarios';const _0x1a7a7b=_0x42e6ff['QysMg'](_0x42e6ff['tRkmB'](_0x1c4216,_0x231ea6),0x0)?_0x42e6ff[_0x378b6c(0x1ac)](_0x1c4216,_0x231ea6):0x0;if(_0x42e6ff[_0x378b6c(0x1a1)](_0x231ea6,0x0)&&_0x42e6ff['KywqL'](_0x1a7a7b,0x0))_0x545495+='\x20('+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17e)](_0x231ea6+_0x378b6c(0x19c))+',\x20'+chalk['bold'][_0x378b6c(0x17d)](_0x1a7a7b+'\x20passed')+')';else(_0x42e6ff[_0x378b6c(0x1c3)](_0x231ea6,0x0)||_0x42e6ff['jFQXY'](_0x1a7a7b,0x0))&&(_0x545495+=_0x42e6ff['KywqL'](_0x231ea6,0x0)?'\x20('+chalk[_0x378b6c(0x1d8)]['red'](_0x231ea6+_0x378b6c(0x19c))+')':'\x20('+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17d)](_0x1a7a7b+'\x20passed')+')');const _0x28acc9=_0xd79a14+_0x378b6c(0x184),_0x50f1e2=[];_0x42e6ff[_0x378b6c(0x1cf)](_0x16434a,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)]['red'](_0x16434a+'\x20ambiguous'));_0x42e6ff[_0x378b6c(0x1a1)](_0x4403bd,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17e)](_0x4403bd+_0x378b6c(0x19c)));_0x42e6ff['jFQXY'](_0x5ac2a8,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17d)](_0x5ac2a8+_0x378b6c(0x1e5)));_0x42e6ff[_0x378b6c(0x1c3)](_0xcd2b51,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](_0xcd2b51+'\x20pending'));_0x42e6ff[_0x378b6c(0x18d)](_0x5eb50c,0x0)&&_0x50f1e2['push'](''+chalk['bold'][_0x378b6c(0x1bc)](_0x5eb50c+_0x378b6c(0x1d3)));_0x42e6ff['rifok'](_0x46fc66,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)]['yellow'](_0x46fc66+'\x20undefined'));_0x42e6ff['yXHCf'](_0x2f5995,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](_0x2f5995+_0x378b6c(0x1d3)));const _0x3f86bc=_0x42e6ff['Cvaww'](_0x42e6ff[_0x378b6c(0x1bb)](_0x42e6ff['eKvCC'](_0x28acc9,'('),_0x50f1e2[_0x378b6c(0x1af)](',\x20')),')');console[_0x378b6c(0x1aa)](_0x42e6ff[_0x378b6c(0x1eb)](_0x42e6ff[_0x378b6c(0x1eb)](_0x42e6ff[_0x378b6c(0x19f)](_0x42e6ff[_0x378b6c(0x1eb)]('\x0a',_0x545495),'\x0a'),_0x3f86bc),'\x0a')),_0x42e6ff[_0x378b6c(0x1d0)](_0xabd488,![])&&(_0x4eaeb6=0x1);}),_0x4eaeb6;}async function run(_0x301e27,_0x4f40be){const _0x10414d=a5_0x23a162,_0x4529ee={'lFVjZ':function(_0x5f451a,_0x304bd9){return _0x5f451a(_0x304bd9);},'aSCdL':function(_0x10ebb0,_0x3fbc44){return _0x10ebb0>_0x3fbc44;},'xDdGd':_0x10414d(0x1e3),'gjgEx':_0x10414d(0x1a0),'AdOdv':'cucumber','scltD':_0x10414d(0x1c1),'AQCel':'cucumber-js','ZAXje':_0x10414d(0x1c6),'TZjUQ':function(_0x5ad862,_0x398f8e){return _0x5ad862>_0x398f8e;},'lWqhr':function(_0x365e78,_0x3cad12){return _0x365e78-_0x3cad12;},'voovU':function(_0x33105f,_0x556e71){return _0x33105f>=_0x556e71;},'oSgEP':function(_0xb541a4,_0x3771c7){return _0xb541a4!=_0x3771c7;},'nbCFy':'true','ScfKy':function(_0x512505,_0xe30d5,_0x35223a,_0x1e45c7,_0x91f584,_0x236a3d){return _0x512505(_0xe30d5,_0x35223a,_0x1e45c7,_0x91f584,_0x236a3d);}},_0x507f76=new BrowserStackSetup(_0x301e27,_0x4529ee[_0x10414d(0x1a9)]);await _0x507f76[_0x10414d(0x1a4)](),helper[_0x10414d(0x186)](_0x507f76[_0x10414d(0x1b0)],_0x301e27);!helper[_0x10414d(0x1ef)]()&&await _0x507f76[_0x10414d(0x180)]();await helper['handleApp'](_0x507f76[_0x10414d(0x17c)]);const _0x471c04=helper[_0x10414d(0x1cc)](_0x507f76[_0x10414d(0x17c)]),_0x5d413c=helper[_0x10414d(0x197)](_0x507f76['config'],_0x471c04,constants[_0x10414d(0x1cd)][_0x10414d(0x183)]);if(!_0x507f76[_0x10414d(0x17c)])return;const _0x196bc6=_0x507f76[_0x10414d(0x17c)][_0x10414d(0x1ea)]||helper[_0x10414d(0x1f1)](_0x301e27,_0x4f40be,_0x507f76[_0x10414d(0x17c)],constants['FRAMEWORKS'][_0x10414d(0x183)])||0x1,_0x39d3ec={'server':helper[_0x10414d(0x18b)](_0x507f76[_0x10414d(0x17c)]),'proxySettings':_0x507f76[_0x10414d(0x17c)][_0x10414d(0x177)],'maxWorkers':_0x196bc6,'browserStackLogLevel':_0x507f76[_0x10414d(0x17c)][_0x10414d(0x1ab)],'skipSessionName':_0x507f76[_0x10414d(0x17c)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x507f76[_0x10414d(0x17c)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x507f76[_0x10414d(0x17c)]['turboScaleUrl']},_0x15a609=process[_0x10414d(0x17f)],[_0x527b37,_0x243aa5]=helper[_0x10414d(0x18c)](_0x15a609),_0x316774=path['join'](process['cwd'](),_0x4529ee[_0x10414d(0x188)]);if(_0x4529ee[_0x10414d(0x1bd)](_0x243aa5['length'],0x0)){helper[_0x10414d(0x1ba)](_0x316774);for(let _0x1f6145=_0x4529ee[_0x10414d(0x1dd)](_0x527b37['length'],0x1);_0x4529ee[_0x10414d(0x17b)](_0x1f6145,0x0);_0x1f6145--){_0x15a609[_0x10414d(0x1d7)](_0x527b37[_0x1f6145],0x2);}}!helper[_0x10414d(0x1dc)](_0x507f76[_0x10414d(0x17c)][_0x10414d(0x19b)])&&(process[_0x10414d(0x1f0)][_0x10414d(0x198)]=JSON[_0x10414d(0x1c0)](_0x507f76[_0x10414d(0x17c)][_0x10414d(0x19b)]));_0x4529ee[_0x10414d(0x1b4)](_0x507f76[_0x10414d(0x17c)]['testObservability'],null)?process['env'][_0x10414d(0x1bf)]=_0x507f76[_0x10414d(0x17c)][_0x10414d(0x18e)]:process[_0x10414d(0x1f0)][_0x10414d(0x1bf)]=_0x4529ee[_0x10414d(0x194)];const _0x318096=await TestHubHandler[_0x10414d(0x18a)](constants[_0x10414d(0x1cd)]['CUCUMBER'],_0x507f76);PerformanceTester[_0x10414d(0x193)](PerformanceEvents[_0x10414d(0x1c7)]);let _0x13caac;_0x4529ee[_0x10414d(0x182)](parallelCucumberRun,_0x5d413c,_0x39d3ec,_0x507f76[_0x10414d(0x17c)],_0x15a609,_0x243aa5)[_0x10414d(0x1be)](async _0x5bf34f=>{const _0x496f1d=_0x10414d;PerformanceTester['start'](PerformanceEvents[_0x496f1d(0x1ee)]),_0x13caac=_0x5bf34f;const _0x1a0b57=_0x4529ee[_0x496f1d(0x1db)](printCucumberStats,_0x5bf34f);process[_0x496f1d(0x1a3)]=_0x1a0b57,_0x4529ee['aSCdL'](_0x243aa5[_0x496f1d(0x1b5)],0x0)&&(logger['debug'](_0x4529ee[_0x496f1d(0x1a2)]),helper['mergeOutputFiles'](_0x316774,_0x243aa5),logger[_0x496f1d(0x1ed)](_0x4529ee[_0x496f1d(0x1b1)]),helper[_0x496f1d(0x1d9)](_0x316774));})['finally'](async()=>{const _0x23b84c=_0x10414d;PerformanceTester[_0x23b84c(0x19d)](PerformanceEvents[_0x23b84c(0x1ee)]),_0x507f76[_0x23b84c(0x17a)]=helper[_0x23b84c(0x1b8)](_0x13caac,_0x4529ee[_0x23b84c(0x1d4)]),testOpsHelper[_0x23b84c(0x179)]();try{await TestHubHandler[_0x23b84c(0x1a7)]();}catch(_0x5358ae){logger[_0x23b84c(0x1ed)](_0x23b84c(0x1b2)+util[_0x23b84c(0x1c4)](_0x5358ae));}try{const {browserstackFolderPath:_0x75cfb2,tcgConfigPath:_0xaaa4b3}=helper[_0x23b84c(0x1d6)]();fs[_0x23b84c(0x1e9)](_0xaaa4b3),fs[_0x23b84c(0x19e)](_0x75cfb2);}catch(_0xe77dcc){logger[_0x23b84c(0x1ed)](_0x4529ee['scltD'],_0xe77dcc);}await utilities[_0x23b84c(0x1b6)](_0x507f76);});}module[a5_0x23a162(0x1e8)]=run;
|
|
2
|
+
'use strict';function a5_0x4c47(){const _0x3dcd0f=['5fqBkaZ','config','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20pending','DKZwE','../../helpers/utilities','stepsUnknown','EzaLn','XLYUl','195554ZSuqvk','red','getTCGConfigFilePaths','forEach','winstonLogger','framework','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/constants','start','../../helpers/helper','setupTCGAuth','fGlVV','debug','GnoVf','cwd','chalk','EXres','error\x20removing\x20tcg\x20config\x20file','Generating\x20consolidated\x20report...','tmp','FtABv','../../helpers/test-observability/utils','scenariosFailed','format','\x20undefined','path','parallelsPerPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','green','FRAMEWORKS','isBrowserstackInfra','gNxIv','YBEmz','zFgyb','bgWhite','getHubUrl','hOYSU','removeDir','processSuccess','CUCUMBER','steps','xWxVx','OyabZ','getUserWorkerCount','join','\x20ambiguous','30EDFvIj','turboScaleUrl','then','stepsAmbiguous','\x20failed','EVENTS','mYcBN','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','argv','log','exitCode','ZHLFd','stop','vgYyd','../../helpers/logger','testContextOptions','SDK_CLEANUP','true','UQZQv','../utils/constants','****\x20RESULTS\x20****','mergeOutputFiles','useW3C','TydOW','1118250qdbllW','cucumber','yellow','3943616HTlZwT','HFLGM','initialize','rmdirSync','proxySettings','bold','VpMCX','length','push','../../helpers/BrowserStackSetup','ILRCA','\x20passed','oyofl','env','stringify','finalExecution','MzVtY','stepsUndefined','xVfkB','handleApp','getPlatformName','100ONlhwx','logLevel','399015cLwlHY','\x20steps','isUndefined','stepsFailed','../test-runner','accessibilityOptions','launchBuild','1475404GLqFAa','skipSessionName','setUserConfigPath','util','555768QpiVId','testObservability','1942199rEjPBY'];a5_0x4c47=function(){return _0x3dcd0f;};return a5_0x4c47();}const a5_0x209adf=a5_0x1194;(function(_0x3470c2,_0x1bb8cf){const _0xd62e38=a5_0x1194,_0x34b1a3=_0x3470c2();while(!![]){try{const _0x4afb35=parseInt(_0xd62e38(0x1b3))/0x1*(-parseInt(_0xd62e38(0x1bc))/0x2)+parseInt(_0xd62e38(0x18b))/0x3+parseInt(_0xd62e38(0x1ac))/0x4+parseInt(_0xd62e38(0x1a5))/0x5*(parseInt(_0xd62e38(0x173))/0x6)+-parseInt(_0xd62e38(0x1b2))/0x7+parseInt(_0xd62e38(0x18e))/0x8+parseInt(_0xd62e38(0x1b0))/0x9*(-parseInt(_0xd62e38(0x1a3))/0xa);if(_0x4afb35===_0x1bb8cf)break;else _0x34b1a3['push'](_0x34b1a3['shift']());}catch(_0x1c0b11){_0x34b1a3['push'](_0x34b1a3['shift']());}}}(a5_0x4c47,0x3cf6a));function a5_0x1194(_0x2fba02,_0x5df67f){const _0x4c4765=a5_0x4c47();return a5_0x1194=function(_0x11946a,_0x3dc42c){_0x11946a=_0x11946a-0x154;let _0x3f7fd6=_0x4c4765[_0x11946a];return _0x3f7fd6;},a5_0x1194(_0x2fba02,_0x5df67f);}const fs=require('fs'),path=require(a5_0x209adf(0x15e)),util=require(a5_0x209adf(0x1af)),logger=require(a5_0x209adf(0x181))[a5_0x209adf(0x1c0)],{default:BrowserStackSetup}=require(a5_0x209adf(0x197)),helper=require(a5_0x209adf(0x1c5)),utilities=require(a5_0x209adf(0x1b8)),constants=require(a5_0x209adf(0x186)),{parallelCucumberRun}=require(a5_0x209adf(0x1a9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x209adf(0x15a)),chalk=require(a5_0x209adf(0x154)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x209adf(0x1c3))[a5_0x209adf(0x178)];function printCucumberStats(_0x48f76e){const _0x34af7c=a5_0x209adf,_0x14dffa={};_0x14dffa['zFgyb']=function(_0x49834d,_0x10661d){return _0x49834d>_0x10661d;},_0x14dffa[_0x34af7c(0x1c7)]=function(_0x123686,_0x3a34c1){return _0x123686-_0x3a34c1;},_0x14dffa['FtABv']=function(_0x4ae32f,_0x3f802d){return _0x4ae32f-_0x3f802d;},_0x14dffa[_0x34af7c(0x19e)]=function(_0x3378b1,_0x50c2ae){return _0x3378b1>_0x50c2ae;},_0x14dffa['mYcBN']=function(_0x1051b0,_0x1cc66a){return _0x1051b0>_0x1cc66a;},_0x14dffa[_0x34af7c(0x17e)]=function(_0x3e07cb,_0x283fd3){return _0x3e07cb>_0x283fd3;},_0x14dffa[_0x34af7c(0x164)]=function(_0x20ba80,_0x4f6f01){return _0x20ba80>_0x4f6f01;},_0x14dffa[_0x34af7c(0x1bb)]=function(_0x2c438d,_0x42e21d){return _0x2c438d>_0x42e21d;},_0x14dffa[_0x34af7c(0x194)]=function(_0x1b474e,_0x29970e){return _0x1b474e+_0x29970e;},_0x14dffa[_0x34af7c(0x180)]=function(_0x3955ae,_0x5ca57d){return _0x3955ae+_0x5ca57d;},_0x14dffa[_0x34af7c(0x185)]=function(_0x8c339e,_0x429b27){return _0x8c339e+_0x429b27;},_0x14dffa[_0x34af7c(0x155)]=function(_0x58f520,_0x34de35){return _0x58f520===_0x34de35;},_0x14dffa[_0x34af7c(0x1c9)]=_0x34af7c(0x187);const _0x53a41e=_0x14dffa;let _0x32b197=0x0;if(_0x53a41e[_0x34af7c(0x155)](_0x48f76e['length'],0x0))return _0x32b197;return console['log'](chalk[_0x34af7c(0x193)][_0x34af7c(0x167)](_0x53a41e[_0x34af7c(0x1c9)])),_0x48f76e[_0x34af7c(0x1bf)](_0x37f5ae=>{const _0x4b8fd4=_0x34af7c,_0x2b3470=_0x37f5ae[0x0],_0x2d790a=_0x37f5ae[0x1];console[_0x4b8fd4(0x17c)]('\x0a'+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x18d)](''+helper[_0x4b8fd4(0x1a2)](_0x2b3470)));const _0xd9f62c=_0x2d790a['scenarios'],_0x6d6ad6=_0x2d790a[_0x4b8fd4(0x16d)],_0x1089f6=_0x2d790a[_0x4b8fd4(0x15b)],_0x4d9a23=_0x2d790a[_0x4b8fd4(0x1a8)],_0x4d82df=_0x2d790a['stepsPassed'],_0x528572=_0x2d790a['stepsSkipped'],_0x18fbbf=_0x2d790a['stepsPending'],_0x56094c=_0x2d790a[_0x4b8fd4(0x19f)],_0x1568e9=_0x2d790a[_0x4b8fd4(0x1b9)],_0x5522ef=_0x2d790a[_0x4b8fd4(0x176)],_0x59b8c8=_0x2d790a[_0x4b8fd4(0x16b)];let _0x19c2a3=_0xd9f62c+'\x20scenarios';const _0x1f6387=_0x53a41e['zFgyb'](_0x53a41e[_0x4b8fd4(0x1c7)](_0xd9f62c,_0x1089f6),0x0)?_0x53a41e[_0x4b8fd4(0x159)](_0xd9f62c,_0x1089f6):0x0;if(_0x53a41e[_0x4b8fd4(0x166)](_0x1089f6,0x0)&&_0x53a41e[_0x4b8fd4(0x166)](_0x1f6387,0x0))_0x19c2a3+='\x20('+chalk['bold'][_0x4b8fd4(0x1bd)](_0x1089f6+_0x4b8fd4(0x177))+',\x20'+chalk['bold']['green'](_0x1f6387+'\x20passed')+')';else(_0x53a41e[_0x4b8fd4(0x166)](_0x1089f6,0x0)||_0x53a41e[_0x4b8fd4(0x19e)](_0x1f6387,0x0))&&(_0x19c2a3+=_0x53a41e[_0x4b8fd4(0x179)](_0x1089f6,0x0)?'\x20('+chalk['bold']['red'](_0x1089f6+_0x4b8fd4(0x177))+')':'\x20('+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x161)](_0x1f6387+_0x4b8fd4(0x199))+')');const _0x57f160=_0x6d6ad6+_0x4b8fd4(0x1a6),_0x4b9283=[];_0x53a41e['MzVtY'](_0x5522ef,0x0)&&_0x4b9283[_0x4b8fd4(0x196)](''+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x1bd)](_0x5522ef+_0x4b8fd4(0x172)));_0x53a41e[_0x4b8fd4(0x17e)](_0x4d9a23,0x0)&&_0x4b9283[_0x4b8fd4(0x196)](''+chalk['bold']['red'](_0x4d9a23+_0x4b8fd4(0x177)));_0x53a41e[_0x4b8fd4(0x17e)](_0x4d82df,0x0)&&_0x4b9283[_0x4b8fd4(0x196)](''+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x161)](_0x4d82df+'\x20passed'));_0x53a41e[_0x4b8fd4(0x17e)](_0x18fbbf,0x0)&&_0x4b9283[_0x4b8fd4(0x196)](''+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x18d)](_0x18fbbf+_0x4b8fd4(0x1b6)));_0x53a41e[_0x4b8fd4(0x164)](_0x528572,0x0)&&_0x4b9283['push'](''+chalk[_0x4b8fd4(0x193)]['cyan'](_0x528572+'\x20skipped'));_0x53a41e['XLYUl'](_0x56094c,0x0)&&_0x4b9283[_0x4b8fd4(0x196)](''+chalk[_0x4b8fd4(0x193)][_0x4b8fd4(0x18d)](_0x56094c+_0x4b8fd4(0x15d)));_0x53a41e[_0x4b8fd4(0x19e)](_0x1568e9,0x0)&&_0x4b9283['push'](''+chalk['bold'][_0x4b8fd4(0x18d)](_0x1568e9+'\x20skipped'));const _0x31f4a6=_0x53a41e[_0x4b8fd4(0x194)](_0x53a41e[_0x4b8fd4(0x194)](_0x53a41e[_0x4b8fd4(0x194)](_0x57f160,'('),_0x4b9283[_0x4b8fd4(0x171)](',\x20')),')');console['log'](_0x53a41e[_0x4b8fd4(0x180)](_0x53a41e[_0x4b8fd4(0x194)](_0x53a41e[_0x4b8fd4(0x185)](_0x53a41e[_0x4b8fd4(0x194)]('\x0a',_0x19c2a3),'\x0a'),_0x31f4a6),'\x0a')),_0x53a41e[_0x4b8fd4(0x155)](_0x59b8c8,![])&&(_0x32b197=0x1);}),_0x32b197;}async function run(_0x162c43,_0x1d78e1){const _0x48eb23=a5_0x209adf,_0x46d574={'DKZwE':function(_0x2d99b0,_0x47a73d){return _0x2d99b0(_0x47a73d);},'TydOW':function(_0x1a3827,_0x234976){return _0x1a3827>_0x234976;},'YBEmz':_0x48eb23(0x157),'JVjkx':_0x48eb23(0x1b5),'xWxVx':_0x48eb23(0x18c),'xVfkB':_0x48eb23(0x156),'oyofl':'cucumber-js','zLoTX':_0x48eb23(0x158),'EzaLn':function(_0x42d782,_0x2f6412){return _0x42d782>_0x2f6412;},'hOYSU':function(_0x5b64a3,_0x1648f7){return _0x5b64a3-_0x1648f7;},'ILRCA':function(_0x439e71,_0x5cba8e){return _0x439e71>=_0x5cba8e;},'HFLGM':function(_0x152eaf,_0x2c7255){return _0x152eaf!=_0x2c7255;},'dNxgo':_0x48eb23(0x184),'OyabZ':function(_0x3b341c,_0x3f4c48,_0x22ec9e,_0x576be9,_0x4bbbd2,_0x40047b){return _0x3b341c(_0x3f4c48,_0x22ec9e,_0x576be9,_0x4bbbd2,_0x40047b);}},_0x2076f9=new BrowserStackSetup(_0x162c43,_0x46d574[_0x48eb23(0x19a)]);await _0x2076f9[_0x48eb23(0x190)](),helper[_0x48eb23(0x1ae)](_0x2076f9[_0x48eb23(0x1c1)],_0x162c43);!helper[_0x48eb23(0x163)]()&&await _0x2076f9[_0x48eb23(0x1c6)]();await helper[_0x48eb23(0x1a1)](_0x2076f9[_0x48eb23(0x1b4)]);const _0x3d7912=helper[_0x48eb23(0x189)](_0x2076f9[_0x48eb23(0x1b4)]),_0x57d3eb=helper['prepareCapabilities'](_0x2076f9['config'],_0x3d7912,constants[_0x48eb23(0x162)]['CUCUMBER']);if(!_0x2076f9[_0x48eb23(0x1b4)])return;const _0x1e49b6=_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x15f)]||helper[_0x48eb23(0x170)](_0x162c43,_0x1d78e1,_0x2076f9[_0x48eb23(0x1b4)],constants['FRAMEWORKS'][_0x48eb23(0x16c)])||0x1,_0x4c19fa={'server':helper[_0x48eb23(0x168)](_0x2076f9[_0x48eb23(0x1b4)]),'proxySettings':_0x2076f9['config'][_0x48eb23(0x192)],'maxWorkers':_0x1e49b6,'browserStackLogLevel':_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x1a4)],'skipSessionName':_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x182)][_0x48eb23(0x1ad)],'skipSessionStatus':_0x2076f9['config'][_0x48eb23(0x182)]['skipSessionStatus'],'turboScaleUrl':_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x174)]},_0x5a4dcc=process[_0x48eb23(0x17b)],[_0x50f2d2,_0x2c7046]=helper['parseFormatters'](_0x5a4dcc),_0x424e3e=path[_0x48eb23(0x171)](process[_0x48eb23(0x1ca)](),_0x46d574['zLoTX']);if(_0x46d574[_0x48eb23(0x1ba)](_0x2c7046[_0x48eb23(0x195)],0x0)){helper['createDir'](_0x424e3e);for(let _0x2cf6f0=_0x46d574[_0x48eb23(0x169)](_0x50f2d2[_0x48eb23(0x195)],0x1);_0x46d574[_0x48eb23(0x198)](_0x2cf6f0,0x0);_0x2cf6f0--){_0x5a4dcc['splice'](_0x50f2d2[_0x2cf6f0],0x2);}}!helper[_0x48eb23(0x1a7)](_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x1aa)])&&(process[_0x48eb23(0x19b)][_0x48eb23(0x160)]=JSON[_0x48eb23(0x19c)](_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x1aa)]));_0x46d574[_0x48eb23(0x18f)](_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x1b1)],null)?process[_0x48eb23(0x19b)][_0x48eb23(0x1c2)]=_0x2076f9[_0x48eb23(0x1b4)][_0x48eb23(0x1b1)]:process[_0x48eb23(0x19b)][_0x48eb23(0x1c2)]=_0x46d574['dNxgo'];const _0x268ec0=await TestHubHandler[_0x48eb23(0x1ab)](constants[_0x48eb23(0x162)][_0x48eb23(0x16c)],_0x2076f9);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x258c6b;_0x46d574[_0x48eb23(0x16f)](parallelCucumberRun,_0x57d3eb,_0x4c19fa,_0x2076f9['config'],_0x5a4dcc,_0x2c7046)[_0x48eb23(0x175)](async _0xf1046c=>{const _0x42716b=_0x48eb23;PerformanceTester[_0x42716b(0x1c4)](PerformanceEvents['SDK_CLEANUP']),_0x258c6b=_0xf1046c;const _0x30b546=_0x46d574[_0x42716b(0x1b7)](printCucumberStats,_0xf1046c);process[_0x42716b(0x17d)]=_0x30b546,_0x46d574[_0x42716b(0x18a)](_0x2c7046[_0x42716b(0x195)],0x0)&&(logger[_0x42716b(0x1c8)](_0x46d574[_0x42716b(0x165)]),helper[_0x42716b(0x188)](_0x424e3e,_0x2c7046),logger[_0x42716b(0x1c8)](_0x46d574['JVjkx']),helper[_0x42716b(0x16a)](_0x424e3e));})['finally'](async()=>{const _0x4f5c1f=_0x48eb23;PerformanceTester[_0x4f5c1f(0x1c4)](PerformanceEvents[_0x4f5c1f(0x183)]),_0x2076f9['errorMessage']=helper['getErrorMessageFromResults'](_0x258c6b,_0x46d574[_0x4f5c1f(0x16e)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x4f5c1f(0x17f)]();}catch(_0x14a327){logger[_0x4f5c1f(0x1c8)](_0x4f5c1f(0x17a)+util[_0x4f5c1f(0x15c)](_0x14a327));}try{const {browserstackFolderPath:_0x40440b,tcgConfigPath:_0x3bab52}=helper[_0x4f5c1f(0x1be)]();fs['unlinkSync'](_0x3bab52),fs[_0x4f5c1f(0x191)](_0x40440b);}catch(_0x29e1b8){logger[_0x4f5c1f(0x1c8)](_0x46d574[_0x4f5c1f(0x1a0)],_0x29e1b8);}await utilities[_0x4f5c1f(0x19d)](_0x2076f9);});}module['exports']=run;
|