browserstack-node-sdk 1.34.51 → 1.34.53
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
|
+
const a1_0x25772d=a1_0xf708;(function(_0x391866,_0xefa18d){const _0x1544d8=a1_0xf708,_0x58197f=_0x391866();while(!![]){try{const _0x391442=-parseInt(_0x1544d8(0xf7))/0x1+-parseInt(_0x1544d8(0xef))/0x2+parseInt(_0x1544d8(0xcc))/0x3*(-parseInt(_0x1544d8(0x140))/0x4)+parseInt(_0x1544d8(0x124))/0x5+parseInt(_0x1544d8(0xdc))/0x6+parseInt(_0x1544d8(0x12d))/0x7+parseInt(_0x1544d8(0x142))/0x8*(-parseInt(_0x1544d8(0xb3))/0x9);if(_0x391442===_0xefa18d)break;else _0x58197f['push'](_0x58197f['shift']());}catch(_0x175aae){_0x58197f['push'](_0x58197f['shift']());}}}(a1_0x6b59,0x1a5d1));const fs=require('fs'),util=require(a1_0x25772d(0xc8)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x25772d(0xc3)),logger=require(a1_0x25772d(0x87))[a1_0x25772d(0xad)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x25772d(0xe0)),PlaywrightSessionDetails=require(a1_0x25772d(0xc6)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x25772d(0xe8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x25772d(0x110)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x25772d(0x75)),PerformanceTester=require(a1_0x25772d(0x88)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x25772d(0x76)),testHubConstants=require(a1_0x25772d(0x13e)),globals=require(a1_0x25772d(0xca)),CodeceptJS=requireModule(a1_0x25772d(0x13a),'codeceptjs'),CodeceptUtils=requireModule(a1_0x25772d(0xf8),a1_0x25772d(0xf1)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule(a1_0x25772d(0x13c),a1_0x25772d(0xf1)),CodeceptPlaywright=requireModule(a1_0x25772d(0x10b),a1_0x25772d(0xf1)),playwrightMarkSessionStatus=(_0x5804b0,_0x4d719,_0x2f246a)=>{const _0x91c619=a1_0x25772d,_0x5b59ab={'TKhUe':_0x91c619(0xcd),'AgGmJ':function(_0x149354,_0x5b73f6){return _0x149354(_0x5b73f6);}},_0xa507db={};_0xa507db['status']=_0x4d719;const _0x10b565={};_0x10b565['action']=_0x5b59ab[_0x91c619(0x103)],_0x10b565[_0x91c619(0x72)]=_0xa507db;const _0x49e0ad=_0x10b565;return!_0x5b59ab[_0x91c619(0xd9)](isUndefined,_0x2f246a)&&(_0x49e0ad[_0x91c619(0x72)]['reason']=JSON[_0x91c619(0x126)](_0x2f246a)),_0x5804b0[_0x91c619(0xa1)](()=>{},_0x91c619(0x10e)+JSON['stringify'](_0x49e0ad));},o11ySync=PerformanceTester[a1_0x25772d(0xd0)](PerformanceO11yEvents[a1_0x25772d(0xf5)],async _0x3bb0b2=>{const _0x466121=a1_0x25772d,_0x3c6e05={};_0x3c6e05[_0x466121(0x112)]=function(_0x1e0dfd,_0x177cfa){return _0x1e0dfd===_0x177cfa;},_0x3c6e05['jXckF']='Playwright';const _0x53f37d=_0x3c6e05;_0x53f37d[_0x466121(0x112)](_0x3bb0b2[_0x466121(0x113)][_0x466121(0x118)],_0x53f37d[_0x466121(0x10d)])?await _0x3bb0b2['executeScript'](_0x281e4b=>{},testOpsHelper[_0x466121(0xc4)]()):await _0x3bb0b2[_0x466121(0xa1)](testOpsHelper[_0x466121(0xc4)]());}),markSessionName=PerformanceTester[a1_0x25772d(0xd0)](PerformanceAutEvents[a1_0x25772d(0x93)],async(_0x2bb2de,_0x45a781)=>{const _0x1743ec=a1_0x25772d,_0x33de58={};_0x33de58[_0x1743ec(0x73)]=_0x1743ec(0x133),_0x33de58[_0x1743ec(0x95)]=function(_0x32b29d,_0x40cf09){return _0x32b29d===_0x40cf09;},_0x33de58[_0x1743ec(0xaf)]=_0x1743ec(0x97);const _0x978c5b=_0x33de58,_0x411534={};_0x411534[_0x1743ec(0x118)]=_0x45a781;const _0x5b7520={};_0x5b7520[_0x1743ec(0x104)]=_0x978c5b[_0x1743ec(0x73)],_0x5b7520['arguments']=_0x411534;const _0x14d2e3=_0x5b7520;_0x978c5b[_0x1743ec(0x95)](_0x2bb2de[_0x1743ec(0x113)][_0x1743ec(0x118)],_0x978c5b['BUtYv'])?await _0x2bb2de['executeScript'](()=>{},_0x1743ec(0x10e)+JSON[_0x1743ec(0x126)](_0x14d2e3)):await _0x2bb2de[_0x1743ec(0xa1)](_0x1743ec(0x10e)+JSON[_0x1743ec(0x126)](_0x14d2e3));}),patchSaveScreenshot=_0x10115f=>{const _0x28052e=a1_0x25772d,_0x546abb={'BKwRl':'base64','retVz':_0x28052e(0xb5),'JCrxV':function(_0x3230b5){return _0x3230b5();},'FBobd':function(_0x37f191,_0x206783){return _0x37f191(_0x206783);},'tBfkq':_0x28052e(0xf9)};_0x546abb['FBobd'](isTrue,process[_0x28052e(0x12a)][_0x28052e(0x125)])&&!_0x10115f[_0x28052e(0x129)]&&(_0x10115f[_0x28052e(0x129)]=!![],_0x10115f[_0x28052e(0x8e)]=_0x10115f[_0x28052e(0x81)],_0x10115f['saveScreenshot']=(_0x4c1b0d,_0x3d74fb=![])=>{const _0x6cdbb0=_0x28052e,_0x22fc5d={'qEuKn':_0x546abb[_0x6cdbb0(0x127)],'wThzR':_0x546abb[_0x6cdbb0(0x9b)],'oisMu':function(_0x221593){const _0x56c01a=_0x6cdbb0;return _0x546abb[_0x56c01a(0xd3)](_0x221593);},'fsdpT':function(_0x15a9a8,_0x154622){const _0x306eda=_0x6cdbb0;return _0x546abb[_0x306eda(0xc0)](_0x15a9a8,_0x154622);},'wjZMB':_0x546abb[_0x6cdbb0(0x90)]};return new Promise(function(_0x56343d,_0x825299){const _0x296332=_0x6cdbb0;_0x10115f[_0x296332(0x8e)](_0x4c1b0d,_0x3d74fb)['then'](()=>{const _0x550357=_0x296332,_0x2ffc9c=CodeceptUtils[_0x550357(0xfe)](_0x4c1b0d);if(_0x2ffc9c){const _0x29c0ca=fs[_0x550357(0xfd)](_0x2ffc9c);process[_0x550357(0x11e)](_0x550357(0xb1)+process[_0x550357(0x94)],{'timestamp':new Date()[_0x550357(0x96)](),'message':_0x29c0ca[_0x550357(0xb8)](_0x22fc5d[_0x550357(0xee)]),'kind':_0x22fc5d['wThzR']}),_0x22fc5d['oisMu'](_0x56343d);}_0x22fc5d[_0x550357(0x117)](_0x825299,new Error(_0x22fc5d[_0x550357(0xff)]));})[_0x296332(0xe7)](()=>null);});});},patchWebDriverBefore=_0x4e12a8=>{const _0x896c88=a1_0x25772d,_0x108c96={'wtuUW':function(_0x528271){return _0x528271();},'KODuC':function(_0x6d5594,_0x4c5fbf){return _0x6d5594(_0x4c5fbf);},'fWoDV':function(_0x54467e,_0x52e9ae){return _0x54467e===_0x52e9ae;},'IivxN':'Element'},_0x162062=async function(_0x2c2b20,_0x4118cf){const _0x56063d=a1_0xf708;return _0x108c96[_0x56063d(0x6d)](isAccessibilityAutomationSession)&&!global[_0x56063d(0xb6)]&&global[_0x56063d(0xa6)]&&scripts['shouldWrapCommand'](_0x2c2b20[_0x56063d(0x118)])&&_0x108c96['KODuC'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x56063d(0xb6)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x56063d(0xaa)],async()=>{const _0x5b1deb=_0x56063d;logger[_0x5b1deb(0x9f)](_0x5b1deb(0xab)+_0x2c2b20['class']+'\x20'+_0x2c2b20[_0x5b1deb(0x118)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4e12a8,scripts[_0x5b1deb(0xa8)]);},{'command':_0x2c2b20[_0x56063d(0x118)]})()),global[_0x56063d(0xb6)]=![],_0x4118cf['apply'](this,Array[_0x56063d(0xd5)][_0x56063d(0xa5)][_0x56063d(0x141)](arguments,0x2));},_0x509c0d=CodeceptWebDriver[_0x896c88(0xd5)]['_before'];CodeceptWebDriver[_0x896c88(0xd5)][_0x896c88(0x9c)]=async function(){const _0x473463=_0x896c88,_0x1bd2ba={'OnqiA':function(_0x46e18f,_0x4cb21c){const _0x24f946=a1_0xf708;return _0x108c96[_0x24f946(0xd6)](_0x46e18f,_0x4cb21c);},'BCHla':_0x108c96['IivxN']};try{await _0x509c0d[_0x473463(0x12f)](this,arguments);}catch(_0x52e231){logger[_0x473463(0x9f)]('Failed\x20to\x20execute\x20_before:\x20'+util['format'](_0x52e231));}scripts[_0x473463(0xda)][_0x473463(0x122)](_0x18c653=>_0x18c653['name']&&_0x18c653['class'])[_0x473463(0xc7)](_0x356e50=>{const _0x585d82=_0x473463;this[_0x585d82(0x108)]['overwriteCommand'](_0x356e50[_0x585d82(0x118)],_0x162062[_0x585d82(0xbe)](this,_0x356e50),_0x1bd2ba[_0x585d82(0xfc)](_0x356e50[_0x585d82(0xf3)],_0x1bd2ba[_0x585d82(0x102)]));}),_0x108c96[_0x473463(0x98)](processWebDriverConfig,_0x4e12a8);};},patchPlaywrightBefore=()=>{const _0x12165c=a1_0x25772d;PlaywrightSessionDetails['patch']();const _0x23fcb5=CodeceptPlaywright[_0x12165c(0xd5)]['_before'];CodeceptPlaywright['prototype'][_0x12165c(0x9c)]=async function(){const _0x6a8662=_0x12165c;this[_0x6a8662(0xb4)]=await this['browser'][_0x6a8662(0x80)]()[0x0],await _0x23fcb5[_0x6a8662(0x12f)](this,arguments);};},getCodeceptDriver=()=>{const _0x248546=a1_0x25772d,_0x26995c={};_0x26995c['opIJl']=_0x248546(0x120),_0x26995c[_0x248546(0x71)]='Playwright',_0x26995c[_0x248546(0xde)]=_0x248546(0x101),_0x26995c[_0x248546(0x92)]=_0x248546(0x7d);const _0x489457=_0x26995c,_0x1b4429=[_0x489457[_0x248546(0xce)],_0x489457[_0x248546(0x71)],_0x489457[_0x248546(0xde)],_0x489457[_0x248546(0x92)]],_0x1a04db=_0x1b4429[_0x248546(0xa3)](_0x26edd4=>!!CodeceptJS[_0x248546(0x6e)][_0x248546(0xea)](_0x26edd4));if(!_0x1a04db)return null;return CodeceptJS[_0x248546(0x6e)][_0x248546(0xea)](_0x1a04db);};function a1_0xf708(_0x47880e,_0xc4121e){const _0x6b5999=a1_0x6b59();return a1_0xf708=function(_0xf70844,_0x5b8e80){_0xf70844=_0xf70844-0x6a;let _0x2fff18=_0x6b5999[_0xf70844];return _0x2fff18;},a1_0xf708(_0x47880e,_0xc4121e);}function a1_0x6b59(){const _0x422aec=['codeceptjs/lib/helper/Playwright.js','SDK_HOOK','jXckF','browserstack_executor:\x20','FwejA','../../helpers/accessibility-automation/helper','SFaQt','HDiZW','constructor','browserstackTestName','restore','hook-passed','fsdpT','name','failed','skipSessionStatus','addRequestSpy','end','event','emit','test-started','WebDriver','afterTest','filter','hook-started','385435TrBzCg','BS_TESTOPS_ALLOW_SCREENSHOTS','stringify','BKwRl','SESSION_STATUS','patchSaveScreenshot','env','getResults','setGlobal','798399yrefLt','SDK_POST_TEST','apply','bddStepFinish','bddStep-after','command','setSessionName','yfjrf','SDK_TEST','OxIha','title','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','enabled','codeceptjs/lib/index.js','warn','codeceptjs/lib/recorder.js','BkPNo','../../helpers/testhub/constants.js','stopMonitoring','1260ITvFus','call','17312MnRqGE','zOsqK','dispatcher','GqadP','skipped','wtuUW','container','test-passed','zlHFp','uFChZ','arguments','TqwAU','qdOZf','../../helpers/accessibility-automation/scripts','./helper.js','start','BfeNg','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','fireEvent','ASwvH','IViiV','TestCafe','GET_RESULTS_SUMMARY','comment','contexts','saveScreenshot','skipSessionName','TEST_RUN_SKIPPED','jqmPN','getAccessibilityResultsSummary','thBuildUuid','../../helpers/logger','../../helpers/performance/performance-tester','RmLYJ','__workerDetails','getAccessibilityResults','passed','BROWSERSTACK_TESTHUB_JWT','initSaveScreenshot','__driver','tBfkq','wmxzz','rbHFQ','SESSION_NAME','pid','XkWxG','toISOString','Playwright','KODuC','thJwtToken','captureError','retVz','_before','captureEvent','test-before','debug','hookType','executeScript','TEST_LOG','find','ZJAbM','slice','accessibilityPlatform','step','performScan','gdiId','PERFORM_SCAN','Performing\x20scan\x20for\x20','add','winstonLogger','rgguy','BUtYv','format','bs:addLog:','Aojci','99mrUFAF','browserContext','TEST_SCREENSHOT','bstackAllyScanning','startMonitoring','toString','info','HOOK_RUN_STARTED','aGLOs','test','TEST_RUN_STARTED','bind','xmUBC','FBobd','browserStackExecuteDriver','hbemV','../../helpers/helper','getSyncScript','uaOZS','../../bin/playwright/sessionDetails','forEach','util','PUITI','../../helpers/globals.js','exports','546oYbfPb','setSessionStatus','opIJl','TEST_RUN_FINISHED','measureWrapper','test-skipped','test-failed','JCrxV','GPoLO','prototype','fWoDV','saveTestResults','ctx','AgGmJ','commandsToWrap','before','848610ZyHnLF','JRKga','upEVO','Suite','../../helpers/request-spy','bddStep-before','ENV_VAR','eQcZj','started','OmIYZ','all','catch','./o11yHelper','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','helpers','thTestRunUuid','CSAUU','SAVE_RESULTS','qEuKn','217952InpQCz','HOOK_RUN_FINISHED','codeceptjs','BROWSERSTACK_TESTHUB_UUID','class','Tgbrp','SYNC','after','34484BHvhna','codeceptjs/lib/utils.js','Screenshot\x20path\x20not\x20found','hook','XcJQO','OnqiA','readFileSync','screenshotOutputFolder','wjZMB','SDK_PRE_TEST','Puppeteer','BCHla','TKhUe','action','SDK_PRE_INITIALIZE','titlePath','bddStep','browser','UyhjS','hook-failed'];a1_0x6b59=function(){return _0x422aec;};return a1_0x6b59();}module[a1_0x25772d(0xcb)]=function(_0x235499){const _0x5301b9=a1_0x25772d,_0x4e1c38={'uaOZS':function(_0x4cb997){return _0x4cb997();},'OxIha':function(_0x33494b,_0x54e9c8){return _0x33494b(_0x54e9c8);},'UyhjS':_0x5301b9(0x85),'jqmPN':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IViiV':_0x5301b9(0x8b),'qWXSF':_0x5301b9(0x79),'XcJQO':function(_0x2e44f1,_0x45b9bb){return _0x2e44f1(_0x45b9bb);},'JRKga':_0x5301b9(0x123),'Tgbrp':_0x5301b9(0x116),'hbemV':_0x5301b9(0x10a),'CSAUU':_0x5301b9(0x114),'wmxzz':function(_0x2d81ac){return _0x2d81ac();},'ASwvH':_0x5301b9(0x9e),'FwejA':function(_0x449ed9,_0x4946d0,_0x586303){return _0x449ed9(_0x4946d0,_0x586303);},'zOsqK':_0x5301b9(0x11f),'xmUBC':_0x5301b9(0x6f),'OmIYZ':function(_0x45d8f4,_0xad47b2,_0xb3cf88,_0xd03962){return _0x45d8f4(_0xad47b2,_0xb3cf88,_0xd03962);},'GPoLO':function(_0x4715b4,_0x24e3f7,_0x74f303,_0x243e73){return _0x4715b4(_0x24e3f7,_0x74f303,_0x243e73);},'yfjrf':function(_0x8820de,_0x1d9536){return _0x8820de===_0x1d9536;},'rgguy':_0x5301b9(0xdf),'BkPNo':_0x5301b9(0xd2),'SFaQt':_0x5301b9(0xd1),'eQcZj':_0x5301b9(0x121),'ZJAbM':function(_0x5da632){return _0x5da632();},'aGLOs':_0x5301b9(0x138),'twhMk':'test-after','MwTvQ':'INFO','PUITI':_0x5301b9(0xa2),'RmLYJ':'step-comment','zlHFp':_0x5301b9(0xe1),'nUCBG':_0x5301b9(0x131),'jbaTI':_0x5301b9(0x97)};_0x235499[_0x5301b9(0x11a)]&&(global['__skipSessionStatus']=_0x235499[_0x5301b9(0x11a)]);PerformanceTester[_0x5301b9(0xb7)]();const _0x410e22=_0x4e1c38[_0x5301b9(0xa4)](getCodeceptDriver),_0x14577d=new O11yHelper(_0x410e22,_0x235499),_0x5e066d=!!CodeceptJS[_0x5301b9(0x6e)]['helpers'](_0x4e1c38['jbaTI']);global[_0x5301b9(0x8f)]=_0x410e22,_0x410e22&&(PerformanceTester[_0x5301b9(0xd0)](PerformanceEvents[_0x5301b9(0x105)],()=>{const _0x45b755=_0x5301b9;_0x5e066d?_0x4e1c38[_0x45b755(0xc5)](patchPlaywrightBefore):_0x4e1c38[_0x45b755(0x136)](patchWebDriverBefore,_0x410e22);})(),PerformanceTester[_0x5301b9(0xd0)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x101f3d=_0x5301b9;_0x410e22[_0x101f3d(0x85)]=async()=>{const _0x570704=_0x101f3d;if(global[_0x570704(0xa6)]){const _0x275245={};_0x275245[_0x570704(0x132)]=_0x4e1c38[_0x570704(0x109)],await PerformanceTester[_0x570704(0xd0)](PerformanceA11yEvents[_0x570704(0xaa)],async()=>{const _0x1b13a2=_0x570704;await AccessibilityHelper[_0x1b13a2(0xc1)](_0x410e22,scripts[_0x1b13a2(0xa8)]);},_0x275245)(),await PerformanceTester[_0x570704(0xd0)](PerformanceA11yEvents[_0x570704(0x7e)],async()=>{const _0x2af027=_0x570704;await AccessibilityHelper[_0x2af027(0xc1)](_0x410e22,scripts['getResultsSummary']);})();}else return logger[_0x570704(0x13b)](_0x4e1c38[_0x570704(0x84)]),{};},_0x410e22[_0x101f3d(0x8b)]=async()=>{const _0x5dc757=_0x101f3d;if(global[_0x5dc757(0xa6)]){const _0x143fcc={};_0x143fcc[_0x5dc757(0x132)]=_0x4e1c38[_0x5dc757(0x7c)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5dc757(0xaa)],async()=>{const _0x345df5=_0x5dc757;await AccessibilityHelper['browserStackExecuteDriver'](_0x410e22,scripts[_0x345df5(0xa8)]);},_0x143fcc)(),await PerformanceTester[_0x5dc757(0xd0)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x29e718=_0x5dc757;await AccessibilityHelper[_0x29e718(0xc1)](_0x410e22,scripts[_0x29e718(0x12b)]);})();}else return logger['warn'](_0x4e1c38['qWXSF']),{};},_0x4e1c38[_0x101f3d(0xfb)](patchSaveScreenshot,_0x410e22);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x5301b9(0xe6)]['before'],()=>{const _0x1040cc=_0x5301b9;PerformanceTester[_0x1040cc(0x77)](PerformanceEvents[_0x1040cc(0x100)]);try{_0x14577d['start'](),testOpsHelper[_0x1040cc(0x11b)](),PerformanceTester[_0x1040cc(0x11c)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x75f430){PerformanceTester['captureError'](_0x75f430),PerformanceTester[_0x1040cc(0x11c)](PerformanceEvents['SDK_PRE_TEST'],![],_0x75f430);}}),CodeceptJS['event'][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)]['all'][_0x5301b9(0xf6)],async()=>{const _0x40fb92=_0x5301b9;PerformanceTester['start'](PerformanceEvents[_0x40fb92(0x12e)]);try{requestSpy[_0x40fb92(0x115)](),await _0x14577d['stop'](),PerformanceTester[_0x40fb92(0x11c)](PerformanceEvents[_0x40fb92(0x12e)]);}catch(_0x4ac15c){PerformanceTester[_0x40fb92(0x9a)](_0x4ac15c),PerformanceTester[_0x40fb92(0x11c)](PerformanceEvents[_0x40fb92(0x12e)],![],_0x4ac15c);}finally{PerformanceTester[_0x40fb92(0x13f)]();}}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)]['hook'][_0x5301b9(0xe4)],_0x4ea7ab=>{const _0x81bb10=_0x5301b9;PerformanceTester[_0x81bb10(0x77)](PerformanceEvents['SDK_HOOK']);try{const _0x3ac321=_0x4ea7ab[_0x81bb10(0xd8)][_0x81bb10(0xbc)],_0x16c8bc=_0x14577d['captureEvent'](TEST_EVENTS[_0x81bb10(0xba)],_0x3ac321);CodeceptRecorder[_0x81bb10(0xac)](()=>_0x14577d[_0x81bb10(0x7a)](TEST_EVENTS[_0x81bb10(0xba)],_0x16c8bc));const _0x410025={};_0x410025[_0x81bb10(0xa0)]=_0x4e1c38[_0x81bb10(0xdd)],PerformanceTester[_0x81bb10(0x11c)](PerformanceEvents['SDK_HOOK'],!![],null,_0x410025);}catch(_0x2a44b7){const _0x247e5e={};_0x247e5e[_0x81bb10(0xa0)]=_0x4e1c38[_0x81bb10(0xdd)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],![],_0x2a44b7,_0x247e5e),PerformanceTester[_0x81bb10(0x9a)](_0x2a44b7);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5301b9(0x11d)]['hook'][_0x5301b9(0x8c)],_0x15fe7b=>{const _0xe8083a=_0x5301b9,_0x1e6b13={};_0x1e6b13['hookType']=_0x4e1c38[_0xe8083a(0xf4)],PerformanceTester[_0xe8083a(0x77)](PerformanceHookEvents[_0xe8083a(0x10c)],!![],null,_0x1e6b13);try{const _0x55e7a2=_0x15fe7b[_0xe8083a(0xd8)][_0xe8083a(0xbc)],_0x2f8490=_0x14577d[_0xe8083a(0x9d)](TEST_EVENTS[_0xe8083a(0xf0)],_0x55e7a2);CodeceptRecorder[_0xe8083a(0xac)](()=>_0x14577d[_0xe8083a(0x7a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2f8490));const _0x47007a={};_0x47007a[_0xe8083a(0xa0)]=_0x4e1c38[_0xe8083a(0xf4)],PerformanceTester['end'](PerformanceHookEvents[_0xe8083a(0x10c)],!![],null,_0x47007a);}catch(_0x228ba4){PerformanceTester[_0xe8083a(0x9a)](_0x228ba4);const _0x2cf816={};_0x2cf816['hookType']=_0x4e1c38[_0xe8083a(0xf4)],PerformanceTester[_0xe8083a(0x11c)](PerformanceHookEvents['SDK_HOOK'],![],_0x228ba4,_0x2cf816);}}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS['event'][_0x5301b9(0xfa)][_0x5301b9(0x119)],async(_0x456442,_0x1ef5d1)=>{const _0x47edd1=_0x5301b9;PerformanceTester[_0x47edd1(0x77)](PerformanceHookEvents[_0x47edd1(0x10c)]);try{const _0x308b14=_0x456442[_0x47edd1(0xd8)][_0x47edd1(0xbc)],_0x36b5f3=_0x14577d[_0x47edd1(0x9d)](TEST_EVENTS[_0x47edd1(0xf0)],_0x308b14,_0x1ef5d1);CodeceptRecorder[_0x47edd1(0xac)](()=>_0x14577d[_0x47edd1(0x7a)](TEST_EVENTS[_0x47edd1(0xf0)],_0x36b5f3));const _0x2272ad={};_0x2272ad[_0x47edd1(0xa0)]=_0x4e1c38[_0x47edd1(0xc2)],PerformanceTester[_0x47edd1(0x77)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2272ad);}catch(_0x1c535c){PerformanceTester[_0x47edd1(0x9a)](_0x1c535c);const _0x34b3ff={};_0x34b3ff['hookType']=_0x4e1c38[_0x47edd1(0xc2)],PerformanceTester[_0x47edd1(0x11c)](PerformanceHookEvents[_0x47edd1(0x10c)],![],_0x1c535c,_0x34b3ff);}const _0x4b2983={};_0x4b2983[_0x47edd1(0xa0)]=_0x4e1c38[_0x47edd1(0xc2)],PerformanceTester[_0x47edd1(0x11c)](PerformanceHookEvents[_0x47edd1(0x10c)],!![],null,_0x4b2983);}),CodeceptJS['event'][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)]['test']['before'],_0x27b7b8=>{const _0x54b2dd=_0x5301b9;PerformanceTester['start'](PerformanceHookEvents[_0x54b2dd(0x10c)]);try{globals[_0x54b2dd(0x12c)](_0x4e1c38['CSAUU'],_0x27b7b8['title']);_0x4e1c38[_0x54b2dd(0x91)](isBrowserstackInfra)&&(_0x5e066d&&(global[_0x54b2dd(0x8a)]={'currentTest':{'name':_0x27b7b8[_0x54b2dd(0x137)],'testInfo':{'titlePath':_0x27b7b8[_0x54b2dd(0x106)]()}}}));const _0x5c161e={};_0x5c161e[_0x54b2dd(0xa0)]=_0x4e1c38[_0x54b2dd(0x7b)],PerformanceTester['end'](PerformanceHookEvents[_0x54b2dd(0x10c)],!![],null,_0x5c161e);}catch(_0x215f41){PerformanceTester['captureError'](_0x215f41);const _0x4f9339={};_0x4f9339['hookType']=_0x4e1c38[_0x54b2dd(0x7b)],PerformanceTester[_0x54b2dd(0x11c)](PerformanceHookEvents['SDK_HOOK'],![],_0x215f41,_0x4f9339);}}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0xbc)]['started'],_0x54ce9b=>{const _0x10ae09=_0x5301b9,_0x4bbc0c={'gdiId':function(_0x3ed1c6){const _0x590a3d=a1_0xf708;return _0x4e1c38[_0x590a3d(0xc5)](_0x3ed1c6);},'qdOZf':function(_0x5ecf04,_0x2683f4){return _0x4e1c38['OxIha'](_0x5ecf04,_0x2683f4);},'Aojci':function(_0x4ae3ab,_0x293a2e,_0xd6186d){const _0xfbf720=a1_0xf708;return _0x4e1c38[_0xfbf720(0x10f)](_0x4ae3ab,_0x293a2e,_0xd6186d);},'GqadP':function(_0x10ff86,_0xcc70a7){const _0x48d18a=a1_0xf708;return _0x4e1c38[_0x48d18a(0x136)](_0x10ff86,_0xcc70a7);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x10ae09(0x12c)](_0x4e1c38[_0x10ae09(0xec)],_0x54ce9b[_0x10ae09(0x137)]);const _0x5a0967=_0x14577d[_0x10ae09(0x9d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x54ce9b);CodeceptRecorder[_0x10ae09(0xac)](()=>_0x14577d[_0x10ae09(0x7a)](TEST_EVENTS[_0x10ae09(0xbd)],_0x5a0967)),CodeceptRecorder['add'](async()=>{const _0x5c0613=_0x10ae09;_0x4bbc0c[_0x5c0613(0xa9)](isBrowserstackInfra)&&(!_0x4bbc0c[_0x5c0613(0x74)](isTrue,_0x235499[_0x5c0613(0x82)])&&await _0x4bbc0c[_0x5c0613(0xb2)](markSessionName,_0x410e22,_0x54ce9b[_0x5c0613(0x137)]),_0x14577d[_0x5c0613(0x139)]&&await _0x4bbc0c[_0x5c0613(0x6b)](o11ySync,_0x410e22));});}catch(_0x5af96d){const _0x7ac0f8={};_0x7ac0f8[_0x10ae09(0xa0)]=_0x4e1c38[_0x10ae09(0x143)],PerformanceTester[_0x10ae09(0x11c)](PerformanceHookEvents['SDK_HOOK'],![],_0x5af96d,_0x7ac0f8),PerformanceTester[_0x10ae09(0x9a)](_0x5af96d);}const _0x1697c6={};_0x1697c6[_0x10ae09(0xa0)]=_0x4e1c38[_0x10ae09(0x143)],PerformanceTester[_0x10ae09(0x11c)](PerformanceHookEvents[_0x10ae09(0x10c)],!![],null,_0x1697c6);}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0xbc)][_0x5301b9(0x8c)],_0x2f3018=>{const _0x19d910=_0x5301b9,_0x44767d={'DfOzk':function(_0x3aed6b,_0x5481f4,_0x3153e7){return _0x4e1c38['FwejA'](_0x3aed6b,_0x5481f4,_0x3153e7);},'BfeNg':function(_0x152e17){const _0x38d7c8=a1_0xf708;return _0x4e1c38[_0x38d7c8(0x91)](_0x152e17);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x5c7544=_0x14577d[_0x19d910(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2f3018);CodeceptRecorder[_0x19d910(0xac)](()=>_0x14577d['fireEvent'](TEST_EVENTS[_0x19d910(0xcf)],_0x5c7544)),CodeceptRecorder[_0x19d910(0xac)](async()=>{const _0x43a88e=_0x19d910;_0x44767d[_0x43a88e(0x78)](isBrowserstackInfra)&&await PerformanceTester[_0x43a88e(0xd0)](PerformanceAutEvents[_0x43a88e(0x128)],async()=>{_0x5e066d?await _0x44767d['DfOzk'](playwrightMarkSessionStatus,_0x410e22,STATE_PASSED):await _0x44767d['DfOzk'](markSessionStatus,_0x410e22,STATE_PASSED);})();}),PerformanceTester[_0x19d910(0x11c)](PerformanceEvents[_0x19d910(0x135)]);}catch(_0x22dde0){PerformanceTester[_0x19d910(0x9a)](_0x22dde0);const _0x1e81fb={};_0x1e81fb['hookType']=_0x4e1c38[_0x19d910(0xbf)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x22dde0,_0x1e81fb),PerformanceTester[_0x19d910(0x11c)](PerformanceEvents[_0x19d910(0x135)],![],_0x22dde0);}const _0x396073={};_0x396073['hookType']=_0x4e1c38['xmUBC'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x396073);}),CodeceptJS['event'][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0xbc)][_0x5301b9(0x119)],(_0x2d1ed1,_0x5a5cb5)=>{const _0x482b38=_0x5301b9;PerformanceTester['start'](PerformanceHookEvents[_0x482b38(0x10c)]);try{if(_0x4e1c38[_0x482b38(0x134)](_0x2d1ed1[_0x482b38(0x113)][_0x482b38(0x118)],_0x4e1c38[_0x482b38(0xae)])){const _0x5a3547=_0x14577d[_0x482b38(0x9d)](TEST_EVENTS[_0x482b38(0x83)],_0x2d1ed1[_0x482b38(0xd8)]['currentTest']);CodeceptRecorder[_0x482b38(0xac)](()=>_0x14577d[_0x482b38(0x7a)](TEST_EVENTS[_0x482b38(0x83)],_0x5a3547));}else{const _0x1aa3a6=_0x14577d['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2d1ed1,_0x5a5cb5);CodeceptRecorder[_0x482b38(0xac)](()=>{const _0x25b342=_0x482b38;try{_0x14577d['fireEvent'](TEST_EVENTS[_0x25b342(0xcf)],_0x1aa3a6);}catch(_0x457a27){logger[_0x25b342(0x9f)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0x457a27)),PerformanceTester['end'](PerformanceEvents[_0x25b342(0x135)],![],_0x457a27);}}),CodeceptRecorder[_0x482b38(0xac)](async()=>{const _0x5054b4=_0x482b38;try{_0x4e1c38[_0x5054b4(0x91)](isBrowserstackInfra)&&(_0x5e066d?await _0x4e1c38[_0x5054b4(0xe5)](playwrightMarkSessionStatus,_0x410e22,STATE_FAILED,_0x5a5cb5):await _0x4e1c38[_0x5054b4(0xd4)](markSessionStatus,_0x410e22,STATE_FAILED,_0x5a5cb5));}catch(_0xe89598){logger[_0x5054b4(0x9f)](_0x5054b4(0xe9)+util[_0x5054b4(0xb0)](_0xe89598)),PerformanceTester[_0x5054b4(0x11c)](PerformanceEvents['SDK_TEST'],![],_0xe89598);}});}PerformanceTester['end'](PerformanceEvents[_0x482b38(0x135)]);}catch(_0x1892d2){PerformanceTester[_0x482b38(0x9a)](_0x1892d2);const _0x1c7c9f={};_0x1c7c9f[_0x482b38(0xa0)]=_0x4e1c38[_0x482b38(0x13d)],PerformanceTester[_0x482b38(0x11c)](PerformanceHookEvents[_0x482b38(0x10c)],![],_0x1892d2,_0x1c7c9f),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x1892d2);}const _0x3bea11={};_0x3bea11[_0x482b38(0xa0)]=_0x4e1c38['BkPNo'],PerformanceTester[_0x482b38(0x11c)](PerformanceHookEvents[_0x482b38(0x10c)],!![],null,_0x3bea11);}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0xbc)][_0x5301b9(0x6c)],_0x112575=>{const _0x412578=_0x5301b9;PerformanceTester[_0x412578(0x77)](PerformanceHookEvents[_0x412578(0x10c)]);try{const _0x2e5fc8=_0x14577d[_0x412578(0x9d)](TEST_EVENTS[_0x412578(0x83)],_0x112575);CodeceptRecorder[_0x412578(0xac)](()=>_0x14577d[_0x412578(0x7a)](TEST_EVENTS[_0x412578(0x83)],_0x2e5fc8)),PerformanceTester[_0x412578(0x11c)](PerformanceEvents['SDK_TEST']);}catch(_0x41e8e2){PerformanceTester[_0x412578(0x9a)](_0x41e8e2),PerformanceTester[_0x412578(0x11c)](PerformanceEvents['SDK_TEST'],![],_0x41e8e2);const _0x3f1cb2={};_0x3f1cb2[_0x412578(0xa0)]=_0x4e1c38[_0x412578(0x111)],PerformanceTester[_0x412578(0x11c)](PerformanceHookEvents[_0x412578(0x10c)],![],_0x41e8e2,_0x3f1cb2);}const _0x4014b9={};_0x4014b9['hookType']=_0x4e1c38[_0x412578(0x111)],PerformanceTester[_0x412578(0x11c)](PerformanceHookEvents[_0x412578(0x10c)],!![],null,_0x4014b9);}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0xbc)][_0x5301b9(0xf6)],async(_0x483bee,_0x486c34)=>{const _0x291607=_0x5301b9;try{PerformanceTester[_0x291607(0x77)](PerformanceHookEvents[_0x291607(0x10c)]);if(_0x4e1c38['wmxzz'](isBrowserstackInfra)){const _0x240f06=_0x4e1c38[_0x291607(0x10f)](shouldScanTestForAccessibility,_0x483bee[_0x291607(0x106)](),!![]);if(_0x4e1c38[_0x291607(0xa4)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x240f06){const _0x88f6c9={};_0x88f6c9[_0x291607(0xeb)]=_0x483bee['testAnalyticsId'],_0x88f6c9[_0x291607(0x86)]=process[_0x291607(0x12a)][testHubConstants[_0x291607(0xe2)][_0x291607(0xf2)]],_0x88f6c9[_0x291607(0x99)]=process[_0x291607(0x12a)][testHubConstants[_0x291607(0xe2)][_0x291607(0x8d)]];const _0x18a341=_0x88f6c9;logger[_0x291607(0x9f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x291607(0x126)](_0x18a341)),CodeceptRecorder[_0x291607(0xac)](async()=>{const _0x9bd86a=_0x291607,_0x5770be={};_0x5770be[_0x9bd86a(0x132)]=_0x4e1c38[_0x9bd86a(0xe3)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x170616=_0x9bd86a;await AccessibilityHelper[_0x170616(0xc1)](_0x410e22,scripts['performScan']);},_0x5770be)(),await PerformanceTester[_0x9bd86a(0xd0)](PerformanceA11yEvents[_0x9bd86a(0xed)],async()=>{const _0x30c02c=_0x9bd86a;await AccessibilityHelper[_0x30c02c(0xc1)](_0x410e22,scripts[_0x30c02c(0xd7)],_0x18a341);})();}),logger[_0x291607(0xb9)](_0x4e1c38[_0x291607(0xbb)]);}}const _0xd6f9a8={};_0xd6f9a8[_0x291607(0xa0)]=_0x4e1c38['twhMk'],PerformanceTester[_0x291607(0x11c)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd6f9a8);}catch(_0x16a2f4){PerformanceTester[_0x291607(0x9a)](_0x16a2f4);const _0x3b2d0b={};_0x3b2d0b[_0x291607(0xa0)]=_0x4e1c38['twhMk'],PerformanceTester[_0x291607(0x11c)](PerformanceHookEvents[_0x291607(0x10c)],![],_0x16a2f4,_0x3b2d0b);}}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS['event'][_0x5301b9(0xa7)][_0x5301b9(0x7f)],_0x2896cf=>{const _0x307ab6=_0x5301b9;PerformanceTester[_0x307ab6(0x77)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x307ab6(0xb1)+process['pid'],{'timestamp':new Date()[_0x307ab6(0x96)](),'level':_0x4e1c38['MwTvQ'],'message':_0x2896cf,'kind':_0x4e1c38[_0x307ab6(0xc9)],'http_response':{}});}catch(_0x15f515){PerformanceTester[_0x307ab6(0x9a)](_0x15f515);const _0x252c76={};_0x252c76['hookType']=_0x4e1c38[_0x307ab6(0x89)],PerformanceTester[_0x307ab6(0x11c)](PerformanceHookEvents['SDK_HOOK'],![],_0x15f515,_0x252c76);}const _0x5cd1e7={};_0x5cd1e7[_0x307ab6(0xa0)]=_0x4e1c38[_0x307ab6(0x89)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5cd1e7);}),CodeceptJS[_0x5301b9(0x11d)]['dispatcher']['on'](CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x107)][_0x5301b9(0xdb)],_0x28529e=>{const _0x4b1fc9=_0x5301b9,_0x5a04ce={};_0x5a04ce[_0x4b1fc9(0xa0)]=_0x4e1c38[_0x4b1fc9(0x70)],PerformanceTester[_0x4b1fc9(0xd0)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x14577d['bddStepStart'](_0x28529e);},_0x5a04ce)();}),CodeceptJS[_0x5301b9(0x11d)][_0x5301b9(0x6a)]['on'](CodeceptJS['event'][_0x5301b9(0x107)][_0x5301b9(0xf6)],_0x3a8456=>{const _0x36f473=_0x5301b9,_0x33ea5a={};_0x33ea5a[_0x36f473(0xa0)]=_0x4e1c38['nUCBG'],PerformanceTester[_0x36f473(0xd0)](PerformanceHookEvents[_0x36f473(0x10c)],()=>{const _0x1c02b6=_0x36f473;_0x14577d[_0x1c02b6(0x130)](_0x3a8456);},_0x33ea5a)();});};
|
|
@@ -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';const a2_0x5be407=a2_0xb9c9;(function(_0x199eba,_0x1b10eb){const _0x23eded=a2_0xb9c9,_0x5e5a3b=_0x199eba();while(!![]){try{const _0x2fd20=parseInt(_0x23eded(0x1ae))/0x1+parseInt(_0x23eded(0x14d))/0x2+parseInt(_0x23eded(0x18d))/0x3*(parseInt(_0x23eded(0x188))/0x4)+parseInt(_0x23eded(0x1d3))/0x5+parseInt(_0x23eded(0x1b5))/0x6*(parseInt(_0x23eded(0x156))/0x7)+-parseInt(_0x23eded(0x1bc))/0x8+-parseInt(_0x23eded(0x16e))/0x9*(parseInt(_0x23eded(0x170))/0xa);if(_0x2fd20===_0x1b10eb)break;else _0x5e5a3b['push'](_0x5e5a3b['shift']());}catch(_0x40c919){_0x5e5a3b['push'](_0x5e5a3b['shift']());}}}(a2_0x5720,0x5444e));const fs=require('fs'),path=require(a2_0x5be407(0x163)),util=require(a2_0x5be407(0x184)),process=require(a2_0x5be407(0x16d)),logger=require(a2_0x5be407(0x143))[a2_0x5be407(0x1a2)],{default:BrowserStackSetup}=require(a2_0x5be407(0x193)),helper=require(a2_0x5be407(0x186)),utilities=require(a2_0x5be407(0x153)),{checkAccessibilityPlatformConfig}=require(a2_0x5be407(0x191)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x5be407(0x186)),CodeceptJS=requireModule(a2_0x5be407(0x1b0),a2_0x5be407(0x141)),testOpsHelper=require(a2_0x5be407(0x17e)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x5be407(0x1a9)),PerformanceTester=require(a2_0x5be407(0x15b)),{FRAMEWORKS}=require(a2_0x5be407(0x195)),PerformanceEvents=require(a2_0x5be407(0x16b))[a2_0x5be407(0x161)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2587a4,_0x17c09f)=>{const _0x571876=a2_0x5be407,_0x33d201={};_0x33d201[_0x571876(0x199)]=function(_0x67ed2a,_0x50a71d){return _0x67ed2a===_0x50a71d;},_0x33d201['RZVmg']=_0x571876(0x16f),_0x33d201[_0x571876(0x1c3)]=_0x571876(0x148);const _0x1a2fd2=_0x33d201;let _0xdeb1f0=null;const _0xa43cc7={};let _0x495cc4=_0x17c09f[_0x571876(0x18e)](_0x3c1d5b=>_0x3c1d5b==='--config');_0x1a2fd2[_0x571876(0x199)](_0x495cc4,-0x1)&&(_0x495cc4=_0x17c09f[_0x571876(0x18e)](_0x22fc4e=>_0x22fc4e==='-c'));if(!helper['isUndefined'](_0x2587a4['config'])&&fs[_0x571876(0x1b9)](path[_0x571876(0x144)](process[_0x571876(0x149)](),_0x2587a4['config'])))_0xdeb1f0=path['join'](process['cwd'](),_0x2587a4[_0x571876(0x1c1)]),_0x17c09f['slice'](_0x495cc4,0x2);else{if(!helper[_0x571876(0x164)](_0x2587a4['c'])&&fs[_0x571876(0x1b9)](path[_0x571876(0x144)](process['cwd'](),_0x2587a4['c'])))_0xdeb1f0=path[_0x571876(0x144)](process['cwd'](),_0x2587a4['c']),_0x17c09f[_0x571876(0x1d2)](_0x495cc4,0x2);else{if(fs[_0x571876(0x1b9)](path[_0x571876(0x144)](process['cwd'](),_0x1a2fd2['RZVmg'])))_0xdeb1f0=path[_0x571876(0x144)](process[_0x571876(0x149)](),_0x1a2fd2[_0x571876(0x15f)]);else fs[_0x571876(0x1b9)](path[_0x571876(0x144)](process[_0x571876(0x149)](),_0x1a2fd2['bNNkh']))&&(_0xdeb1f0=path[_0x571876(0x144)](process['cwd'](),_0x1a2fd2[_0x571876(0x1c3)]));}}return process[_0x571876(0x16a)]['USER_CONFIG_DETAILS_PATH']=_0xdeb1f0,_0xdeb1f0;},getO11yRerunPattern=()=>{const _0x4eeed6=a2_0x5be407,_0x63e789=helper['isTrue'](process[_0x4eeed6(0x16a)][_0x4eeed6(0x1a1)]);if(_0x63e789){const _0x3ae633=process[_0x4eeed6(0x16a)][_0x4eeed6(0x1a0)],_0x5b221a=[];if(helper[_0x4eeed6(0x1c8)](_0x3ae633)&&!helper[_0x4eeed6(0x164)](_0x3ae633)){_0x3ae633['split'](',')[_0x4eeed6(0x1cb)](_0x5e2d12=>{const _0x541f10=_0x4eeed6;_0x5b221a['push']('('+_0x5e2d12[_0x541f10(0x1a7)]()+')');});const _0xa75730='^'+_0x5b221a[_0x4eeed6(0x144)]('|')+'$';return _0xa75730;}}return null;},a2_0x1d93e8={};a2_0x1d93e8[a2_0x5be407(0x14a)]=a2_0x5be407(0x167),a2_0x1d93e8[a2_0x5be407(0x185)]=a2_0x5be407(0x167),a2_0x1d93e8[a2_0x5be407(0x1a6)]=a2_0x5be407(0x15e),a2_0x1d93e8[a2_0x5be407(0x196)]=a2_0x5be407(0x180);const pwToCodeceptBrowser=a2_0x1d93e8;function a2_0x5720(){const _0x4ed9cd=['UZmtM','196205TCqMqW','printResults','codeceptjs/lib/index.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','useW3C','SDK_SETUP','push','9198xKzQHI','kfttL','isTestObservabilitySession','eqNaA','existsSync','testConfig','BrowserStackPlugin.js','3350720YALdYa','RHgkR','CODECEPT_CUCUMBER','accessibility','start','config','helpers','bNNkh','tQXIc','now','teardownAll','split','validateRerunTestList','browserWSEndpoint','Workers','map','KoMdh','skipSessionName','length','errorMessage','testObservability','WebDriver','slice','1835710gIcOoS','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getPlatformName','codeceptjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/logger','join','info','BrowserStackPlugin','parallelsPerPlatform','codecept.json','cwd','chrome','xatnV','all','1277284McEeut','spawn','uwNsr','require','Started\x20:\x20','Playwright','../../helpers/utilities','SwfpY','desiredCapabilities','2121vimsXM','zNczS','gherkin','AcJjt','SDK_CLEANUP','../../helpers/performance/performance-tester','result','browserStackCwd','firefox','RZVmg','frameworkName','EVENTS','err','path','isUndefined','skipSessionStatus','chdir','chromium','OxBkm','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','env','../../helpers/performance/constants','validPlatformsPresent','process','7515XhZkpb','codecept.conf.js','12550QYjOJY','stringify','stop','test','BEpOk','handleApp','plugins','createGroupsOfSuites','FRAMEWORKS','log','Passed\x20:\x20','browserName','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','../../helpers/test-observability/utils','accessibilityOptions','webkit','addConfig','finalExecution','testContextOptions','util','playwright-chromium','../../helpers/helper','KRjRM','12SzIfek','Wiose','VxZqX','title','event','145443ZMZLDh','findIndex','crIQR','stack','../../helpers/accessibility-automation/helper','sSden','../../helpers/BrowserStackSetup','AwxJX','../../helpers/test-observability/constants','playwright-webkit','prepareCapabilities','profile','NkTri','platforms','mergeDeep','wxDvm','format','zOzRk','toLowerCase','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_RERUN','winstonLogger','4|2|5|1|3|0','GiMmI','failed','playwright-firefox','trim','passed','../utils/constants','forEach','browser','JkYFr'];a2_0x5720=function(){return _0x4ed9cd;};return a2_0x5720();}function a2_0xb9c9(_0x468569,_0x3c5c25){const _0x57209b=a2_0x5720();return a2_0xb9c9=function(_0xb9c922,_0x40da55){_0xb9c922=_0xb9c922-0x140;let _0x3fdbe0=_0x57209b[_0xb9c922];return _0x3fdbe0;},a2_0xb9c9(_0x468569,_0x3c5c25);}async function run(_0x54465c,_0x2c9b72){const _0x47b25c=a2_0x5be407,_0x32b120={'lcoYv':function(_0x42826f,_0x3b64e2){return _0x42826f+_0x3b64e2;},'zOzRk':function(_0x569f52,_0x3ead9d){return _0x569f52(_0x3ead9d);},'GGXoA':function(_0x3eb9dc,_0x31c563){return _0x3eb9dc+_0x31c563;},'pKDzU':function(_0x2d0dd5,_0xd9ced6,_0xa5b578){return _0x2d0dd5(_0xd9ced6,_0xa5b578);},'JkYFr':'helpers','Wiose':function(_0x1893f3){return _0x1893f3();},'tQXIc':'Failed\x20:\x20','kfttL':_0x47b25c(0x17a),'VxZqX':_0x47b25c(0x151),'AcJjt':_0x47b25c(0x1a3),'GiMmI':'codeceptjs','RHgkR':function(_0x4df828,_0x4690fd,_0x38a30d){return _0x4df828(_0x4690fd,_0x38a30d);},'SwfpY':_0x47b25c(0x1d4),'KoMdh':function(_0x2f4b2d,_0x3e90f2,_0x22d8f8){return _0x2f4b2d(_0x3e90f2,_0x22d8f8);},'crIQR':_0x47b25c(0x152),'HufFM':'WebDriver','UZmtM':function(_0x1aae4d,_0x3c7a45){return _0x1aae4d!=_0x3c7a45;},'zNczS':function(_0x3afa54,_0x2ff36f){return _0x3afa54===_0x2ff36f;},'wxDvm':function(_0xbabdc9,_0x485e71,_0x26a3e4){return _0xbabdc9(_0x485e71,_0x26a3e4);},'sCfSh':_0x47b25c(0x158),'sSden':function(_0x14d9c2,_0x46feec){return _0x14d9c2(_0x46feec);},'KRjRM':function(_0x1e2ed1,_0x498ef9){return _0x1e2ed1*_0x498ef9;},'xatnV':_0x47b25c(0x1ab),'AwxJX':function(_0x5821fa,_0x4b35f4,_0x57039f){return _0x5821fa(_0x4b35f4,_0x57039f);},'OxBkm':_0x47b25c(0x155),'DLSIP':function(_0xc99064,_0x3d53e2,_0x1a43b3){return _0xc99064(_0x3d53e2,_0x1a43b3);},'BEpOk':'root','eqNaA':_0x47b25c(0x1bb),'uwNsr':_0x47b25c(0x15d)},_0x3c789b=new BrowserStackSetup(_0x54465c,_0x32b120[_0x47b25c(0x1a4)]);await _0x3c789b['initialize'](),await helper[_0x47b25c(0x175)](_0x3c789b[_0x47b25c(0x1c1)]);if(!_0x3c789b[_0x47b25c(0x1c1)])return;process['profile']=_0x54465c[_0x47b25c(0x198)];_0x54465c[_0x47b25c(0x198)]&&(process[_0x47b25c(0x16a)][_0x47b25c(0x198)]=_0x54465c[_0x47b25c(0x198)]);const _0x5bc9c7=_0x32b120[_0x47b25c(0x1bd)](getUserCodeceptJSConfigs,_0x54465c,_0x2c9b72);let _0x354e72={};_0x5bc9c7?(logger[_0x47b25c(0x145)](_0x47b25c(0x169)+_0x5bc9c7),_0x354e72=CodeceptJS['config']['load'](_0x5bc9c7)):logger[_0x47b25c(0x145)](_0x32b120[_0x47b25c(0x154)]);let _0xbab0ad=![];_0x32b120[_0x47b25c(0x1cc)](nestedKeyValue,_0x354e72,[_0x32b120[_0x47b25c(0x1ac)],_0x32b120[_0x47b25c(0x18f)]])&&(_0xbab0ad=!![]);const _0x37efdd=_0xbab0ad?_0x32b120[_0x47b25c(0x18f)]:_0x32b120['HufFM'];let _0x40ce43=!_0xbab0ad?helper[_0x47b25c(0x1b2)](_0x3c789b[_0x47b25c(0x1c1)]):![];!helper[_0x47b25c(0x164)](_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x17f)])&&(process[_0x47b25c(0x16a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x47b25c(0x171)](_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x17f)]));let _0x1644eb=_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x1bf)];_0x1644eb=_0x1644eb||_0x32b120[_0x47b25c(0x19e)](checkAccessibilityPlatformConfig,_0x3c789b[_0x47b25c(0x1c1)]),process[_0x47b25c(0x16a)][_0x47b25c(0x142)]=_0x1644eb;_0x1644eb&&(_0x40ce43=!_0x1644eb);_0x32b120[_0x47b25c(0x1ad)](_0x3c789b['config']['testObservability'],null)?process[_0x47b25c(0x16a)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x1d0)]:process[_0x47b25c(0x16a)][_0x47b25c(0x17c)]=_0x32b120[_0x47b25c(0x157)](_0x37efdd,_0x32b120[_0x47b25c(0x18f)]);const _0x5c81c2=_0x32b120[_0x47b25c(0x19c)](nestedKeyValue,_0x354e72,[_0x32b120['sCfSh']]),_0x362e5c=_0x5c81c2&&!helper['isEmpty'](_0x5c81c2)?FRAMEWORKS[_0x47b25c(0x1be)]:FRAMEWORKS['CODECEPT'],_0x4a4794=await TestHubHandler['launchBuild'](_0x362e5c,_0x3c789b);_0x1644eb&&_0x32b120[_0x47b25c(0x192)](setAccessibilityCapabilities,_0x3c789b[_0x47b25c(0x1c1)]);const _0x5d0a79={},_0x3817d6=[],_0x1e1ec7=_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x147)]||helper['getUserWorkerCount'](_0x54465c,_0x2c9b72,_0x3c789b['config'],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x5e26ab=0x1;if(_0x32b120[_0x47b25c(0x189)](isBrowserstackInfra)){const _0x1a3ff3=helper[_0x47b25c(0x197)](_0x3c789b[_0x47b25c(0x1c1)],_0x40ce43,constants[_0x47b25c(0x178)]['CODECEPT']);_0x1a3ff3[_0x47b25c(0x1aa)](_0xc5693a=>{helper['setAdditionalCapabilities'](_0xc5693a);}),helper[_0x47b25c(0x16c)](_0x3c789b[_0x47b25c(0x1c1)])?_0x5e26ab=_0x32b120[_0x47b25c(0x187)](_0x1e1ec7,_0x3c789b[_0x47b25c(0x1c1)][_0x47b25c(0x19a)][_0x47b25c(0x1ce)]):_0x5e26ab=_0x1e1ec7,_0x1a3ff3[_0x47b25c(0x1aa)](_0x40e519=>{const _0x340172=_0x47b25c,_0x489958=_0x32b120['GGXoA'](helper[_0x340172(0x140)](_0x40e519,'_'),'_'+Date[_0x340172(0x1c5)]()),_0x1a0d01=((()=>{const _0x2448f0=_0x340172;if(_0xbab0ad){const _0xef2f78=pwToCodeceptBrowser[_0x40e519[_0x2448f0(0x17b)]]||_0x40e519[_0x2448f0(0x17b)];return{'browser':_0xef2f78,[_0xef2f78]:{'browserWSEndpoint':_0x32b120['lcoYv'](helper['getPlaywrightUrl'](_0x3c789b[_0x2448f0(0x1c1)]),_0x32b120[_0x2448f0(0x19e)](encodeURIComponent,JSON[_0x2448f0(0x171)](_0x40e519)))}};}const _0x179457={};return _0x179457['desiredCapabilities']=_0x40e519,_0x179457;})()),_0x557808=_0x32b120['pKDzU'](nestedKeyValue,_0x354e72,[_0x32b120['JkYFr'],_0x37efdd]);_0x5d0a79[_0x489958]=_0x557808?helper[_0x340172(0x19b)](_0x1a0d01,_0x557808):_0x1a0d01,!_0xbab0ad&&(_0x5d0a79[_0x489958][_0x340172(0x1ab)]=_0x40e519[_0x340172(0x17b)]||_0x1a0d01[_0x340172(0x1ab)]),_0x3817d6[_0x340172(0x1b4)](_0x489958);});}else{_0x5e26ab=0x1;if(_0xbab0ad){const _0x3f055d=_0x32b120[_0x47b25c(0x1cc)](nestedKeyValue,_0x354e72,[_0x32b120['JkYFr'],_0x37efdd,_0x32b120[_0x47b25c(0x14b)]]),_0x705be=_0x32b120[_0x47b25c(0x194)](nestedKeyValue,_0x354e72,[_0x32b120[_0x47b25c(0x1ac)],_0x37efdd,_0x3f055d]);_0x705be&&_0x705be[_0x47b25c(0x1c9)]&&(_0x705be[_0x47b25c(0x1c9)]=helper[_0x47b25c(0x197)](null,null,_0x362e5c[_0x47b25c(0x19f)](),null,null,_0x705be[_0x47b25c(0x1c9)]));}else _0x354e72[_0x32b120[_0x47b25c(0x1ac)]][_0x37efdd][_0x32b120[_0x47b25c(0x168)]]=helper[_0x47b25c(0x197)](null,null,_0x362e5c[_0x47b25c(0x19f)](),_0x32b120['DLSIP'](nestedKeyValue,_0x354e72,[_0x32b120[_0x47b25c(0x1ac)],_0x37efdd,_0x32b120[_0x47b25c(0x168)]]),null,null);_0x5d0a79[_0x32b120[_0x47b25c(0x174)]]=_0x354e72,_0x3817d6['push'](_0x32b120['BEpOk']);}const _0x9be857={};_0x9be857[_0x47b25c(0x1ba)]=_0x5bc9c7;const _0x15d7c8=_0x9be857,_0x1be4e3=path['join'](__dirname,_0x32b120[_0x47b25c(0x1b8)]),_0x37f00f=process['cwd']();process[_0x47b25c(0x16a)][_0x32b120[_0x47b25c(0x14f)]]=_0x37f00f,process[_0x47b25c(0x166)](path['dirname'](_0x5bc9c7));const _0x3ce95c=new CodeceptJS[(_0x47b25c(0x1ca))](null,_0x15d7c8),_0x25213d=_0x3ce95c[_0x47b25c(0x177)](_0x5e26ab),_0x4ad543=testOpsHelper[_0x47b25c(0x1b7)](),_0x13bfc0=_0x3817d6[_0x47b25c(0x1cb)](_0x3a1e17=>{const _0x402e8b=_0x47b25c,_0x5147cd={};_0x5147cd[_0x402e8b(0x152)]=_0x5d0a79[_0x3a1e17];const _0xa7a679={};_0xa7a679[_0x402e8b(0x1d1)]=_0x5d0a79[_0x3a1e17];const _0x5164ab=_0xbab0ad?_0x5147cd:_0xa7a679,_0x1c1abd=_0x32b120['Wiose'](getO11yRerunPattern),_0xd11149={};_0xd11149[_0x402e8b(0x1c2)]=_0x5164ab;const _0x1c3f8d={};_0x1c3f8d[_0x402e8b(0x150)]=_0x1be4e3,_0x1c3f8d['enabled']=!![],_0x1c3f8d[_0x402e8b(0x1cd)]=_0x3c789b[_0x402e8b(0x1c1)][_0x402e8b(0x183)][_0x402e8b(0x1cd)],_0x1c3f8d[_0x402e8b(0x165)]=_0x3c789b[_0x402e8b(0x1c1)]['testContextOptions'][_0x402e8b(0x165)],_0x1c3f8d[_0x402e8b(0x1d0)]=_0x4ad543,_0x1c3f8d[_0x402e8b(0x160)]=_0x362e5c;const _0x3a3e1a={};_0x3a3e1a[_0x402e8b(0x146)]=_0x1c3f8d;const _0x423cad={};return _0x423cad[_0x402e8b(0x176)]=_0x3a3e1a,helper[_0x402e8b(0x19b)]({},_0x354e72,_0x32b120[_0x402e8b(0x189)](isBrowserstackInfra)?_0xd11149:{},_0x1c1abd?{'grep':_0x1c1abd}:{},_0x423cad);});for(const _0x21a521 of _0x13bfc0){for(const _0x2314a4 of _0x25213d){const _0x143821=_0x3ce95c[_0x47b25c(0x14e)]();_0x143821['addTests'](_0x2314a4),_0x143821[_0x47b25c(0x181)](_0x21a521);const _0x521d79={};_0x521d79[_0x47b25c(0x1c1)]=_0x5bc9c7,_0x143821['addOptions'](_0x521d79);}}_0x3ce95c['on'](CodeceptJS[_0x47b25c(0x18c)][_0x47b25c(0x173)][_0x47b25c(0x1a5)],(_0x1242f7,_0x43b359)=>{const _0x1a9a0a=_0x47b25c;console[_0x1a9a0a(0x179)](_0x32b120[_0x1a9a0a(0x1c4)],_0x1242f7[_0x1a9a0a(0x18b)]);const _0x1899c3={[_0x1242f7[_0x1a9a0a(0x18b)]]:_0x1242f7[_0x1a9a0a(0x162)][_0x1a9a0a(0x190)]};_testErrorData['push'](_0x1899c3);}),_0x3ce95c['on'](CodeceptJS[_0x47b25c(0x18c)][_0x47b25c(0x173)][_0x47b25c(0x1a8)],async _0x2b556d=>{const _0x1cac1e=_0x47b25c;console['log'](_0x32b120[_0x1cac1e(0x1b6)],_0x2b556d[_0x1cac1e(0x18b)]);}),_0x3ce95c['on'](CodeceptJS[_0x47b25c(0x18c)][_0x47b25c(0x173)]['before'],async _0x43a90d=>{const _0x3cef46=_0x47b25c;console[_0x3cef46(0x179)](_0x32b120[_0x3cef46(0x18a)],_0x43a90d[_0x3cef46(0x18b)]);}),_0x3ce95c['on'](CodeceptJS[_0x47b25c(0x18c)][_0x47b25c(0x14c)][_0x47b25c(0x15c)],async()=>{const _0x342d65=_0x47b25c,_0x1f718b=_0x32b120[_0x342d65(0x159)][_0x342d65(0x1c7)]('|');let _0x89e0b1=0x0;while(!![]){switch(_0x1f718b[_0x89e0b1++]){case'0':_0x3ce95c[_0x342d65(0x1af)]();continue;case'1':utilities[_0x342d65(0x182)](_0x3c789b);continue;case'2':_0x3c789b[_0x342d65(0x1cf)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x342d65(0x172)]();}catch(_0x5068f5){logger['debug'](_0x342d65(0x1b1)+util[_0x342d65(0x19d)](_0x5068f5));}continue;case'4':PerformanceTester[_0x342d65(0x1c0)](PerformanceEvents[_0x342d65(0x15a)]);continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x50d966(){const _0x5db7ea=_0x47b25c;try{await _0x3ce95c['bootstrapAll'](),await _0x3ce95c['run']();}finally{process[_0x5db7ea(0x166)](_0x37f00f),await _0x3ce95c[_0x5db7ea(0x1c6)]();}}PerformanceTester['end'](PerformanceEvents[_0x47b25c(0x1b3)]),_0x32b120[_0x47b25c(0x189)](_0x50d966);}module[a2_0x5be407(0x17d)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a3_0xfeb500=a3_0x2708;(function(_0x361a8c,_0x14199f){const _0x399fed=a3_0x2708,_0x41e5dd=_0x361a8c();while(!![]){try{const _0x4d7537=parseInt(_0x399fed(0x171))/0x1*(-parseInt(_0x399fed(0x142))/0x2)+-parseInt(_0x399fed(0x146))/0x3*(parseInt(_0x399fed(0x15e))/0x4)+parseInt(_0x399fed(0x167))/0x5+parseInt(_0x399fed(0x160))/0x6*(parseInt(_0x399fed(0x12a))/0x7)+parseInt(_0x399fed(0x134))/0x8*(parseInt(_0x399fed(0x139))/0x9)+-parseInt(_0x399fed(0x13e))/0xa+-parseInt(_0x399fed(0x14b))/0xb*(parseInt(_0x399fed(0x175))/0xc);if(_0x4d7537===_0x14199f)break;else _0x41e5dd['push'](_0x41e5dd['shift']());}catch(_0x43a785){_0x41e5dd['push'](_0x41e5dd['shift']());}}}(a3_0xb72c,0x70279));function a3_0xb72c(){const _0x29641f=['maBic','JUyuO','chrome','constructor','fetchPlatformDetails','accessibilityPlatform','GeDHT','warn','zXMYC','mTJgL','osVersion','os_version','20236BumRii','AWKEl','6upyFVh','includes','desiredCapabilities','cloudProvider','mqJZC','WebDriver','browser','2534180cCRUeu','capabilities','deviceName','caps','browserVersion','shouldPatchExecuteScript','unknown_grid','searchParams','FKZXP','processWebDriverConfig','40999sTUpgV','latest','../../helpers/accessibility-automation/helper','EPBaE','12eatgch','XdbPL','platform_version','bsSessionId','bstack:options','vQHDX','gmUhV','2739170jUDhtc','browserWSEndpoint','config','AZOoY','BFFHz','VrVPq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','QibGB','KmDJl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','7165352WDXeYh','ggQiU','../../helpers/helper','aQZwJ','Playwright','9lBoNNC','get','__cloud_provider___','ySAkf','Atdon','2985070IYVCnF','browser_version','browserstack_accessibility_automation_script','EWQZp','2ccYqfy','browserName','hwUvy','uytAG','351OqZFqX','jmeal','browserstack_executor','HNKqO','NddsK','4433231oPQacV','platformVersion','OsOUr','../../helpers/logger','TyVCC','../../helpers/test-observability/utils','eieUd'];a3_0xb72c=function(){return _0x29641f;};return a3_0xb72c();}const {isUndefined,nestedKeyValue}=require(a3_0xfeb500(0x136)),logger=require(a3_0xfeb500(0x14e))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0xfeb500(0x173)),{getObservabilityLinkedProductName}=require(a3_0xfeb500(0x150)),getOSVersionFromCaps=_0x5e223e=>{const _0x4db3d5=a3_0xfeb500,_0x26bf87={};_0x26bf87[_0x4db3d5(0x15b)]=_0x4db3d5(0x127),_0x26bf87[_0x4db3d5(0x15f)]=_0x4db3d5(0x14c),_0x26bf87[_0x4db3d5(0x128)]=_0x4db3d5(0x125),_0x26bf87['QibGB']=_0x4db3d5(0x15c),_0x26bf87['TyVCC']=_0x4db3d5(0x15d);const _0x42a43a=_0x26bf87;if(!_0x5e223e)return null;const _0x29d1ed=_0x5e223e[_0x42a43a['mTJgL']],_0x3e798b=[_0x42a43a[_0x4db3d5(0x15f)],_0x42a43a[_0x4db3d5(0x128)],_0x42a43a[_0x4db3d5(0x131)],_0x42a43a[_0x4db3d5(0x14f)]];for(const _0x443d72 of _0x3e798b){if(_0x29d1ed&&_0x29d1ed[_0x443d72])return _0x29d1ed[_0x443d72];else{if(_0x5e223e[_0x443d72])return _0x5e223e[_0x443d72];}}return null;};function a3_0x2708(_0x3a6406,_0x14dc11){const _0xb72cb1=a3_0xb72c();return a3_0x2708=function(_0x270821,_0x46f5ad){_0x270821=_0x270821-0x124;let _0x583729=_0xb72cb1[_0x270821];return _0x583729;},a3_0x2708(_0x3a6406,_0x14dc11);}exports[a3_0xfeb500(0x156)]=_0xe39df2=>{const _0x4f4322=a3_0xfeb500,_0x50a980={'Atdon':_0x4f4322(0x16d),'uytAG':function(_0x11ac30,_0xe7280f){return _0x11ac30===_0xe7280f;},'aQZwJ':_0x4f4322(0x165),'GeDHT':function(_0x16657f,_0xff97a9){return _0x16657f(_0xff97a9);},'ySAkf':function(_0x45d896,_0x2592ec,_0x3fc1b5){return _0x45d896(_0x2592ec,_0x3fc1b5);},'EPBaE':_0x4f4322(0x12c),'hwUvy':_0x4f4322(0x162),'XdbPL':function(_0x457e71,_0x950caa){return _0x457e71(_0x950caa);},'FKZXP':function(_0x8dee8,_0x292528){return _0x8dee8===_0x292528;},'VyKtT':_0x4f4322(0x138),'maBic':_0x4f4322(0x166),'KmDJl':_0x4f4322(0x12b),'jmeal':_0x4f4322(0x16a),'zXMYC':function(_0x4ec547,_0x2838b0){return _0x4ec547(_0x2838b0);}};if(!_0xe39df2)return null;let _0x48cd70=global[_0x4f4322(0x13b)]||_0x50a980[_0x4f4322(0x13d)];if(_0x50a980[_0x4f4322(0x145)](_0xe39df2[_0x4f4322(0x155)]['name'],_0x50a980[_0x4f4322(0x137)])){const _0x3d1050=_0xe39df2[_0x4f4322(0x166)];if(!_0x3d1050)return null;const _0x2276c9=_0x3d1050['capabilities'],_0x34b15d=_0x50a980[_0x4f4322(0x158)](getOSVersionFromCaps,_0x50a980[_0x4f4322(0x13c)](nestedKeyValue,_0xe39df2,[_0x50a980[_0x4f4322(0x174)],_0x50a980[_0x4f4322(0x144)]]));return{[_0x48cd70]:{'browser':_0x2276c9[_0x4f4322(0x143)],'browser_version':_0x2276c9[_0x4f4322(0x16b)],'capabilities':_0x2276c9,'platform':_0x2276c9['platformName'],'platform_version':_0x2276c9['platformVersion']||_0x34b15d,'product':_0x50a980[_0x4f4322(0x124)](getObservabilityLinkedProductName,_0x2276c9),'session_id':_0x3d1050['sessionId']}};}else{if(_0x50a980[_0x4f4322(0x16f)](_0xe39df2[_0x4f4322(0x155)]['name'],_0x50a980['VyKtT'])){const _0x203e29=PlaywrightSessionDetails['getDetails']();_0x48cd70=_0x203e29[_0x4f4322(0x163)]||_0x48cd70;const _0x403150=_0x50a980[_0x4f4322(0x13c)](nestedKeyValue,_0xe39df2,[_0x50a980[_0x4f4322(0x174)],_0x50a980[_0x4f4322(0x152)],_0x50a980[_0x4f4322(0x132)]]),_0x3923de=_0x403150?JSON['parse'](new URL(_0x403150)[_0x4f4322(0x16e)][_0x4f4322(0x13a)](_0x50a980[_0x4f4322(0x147)])):{};return{[_0x48cd70]:{'browser':_0x203e29['browser']||_0x3923de[_0x4f4322(0x143)],'browser_version':_0x203e29['browser_version']||_0x3923de[_0x4f4322(0x13f)],'capabilities':_0x3923de,'platform':_0x203e29['platform'],'platform_version':_0x203e29[_0x4f4322(0x125)],'product':_0x50a980[_0x4f4322(0x15a)](getObservabilityLinkedProductName,_0x3923de),'session_id':_0x203e29[_0x4f4322(0x126)]}};}}},exports[a3_0xfeb500(0x170)]=_0x172a74=>{const _0x5a6fdb=a3_0xfeb500,_0x576bb0={'EWQZp':function(_0x4e0f21){return _0x4e0f21();},'JUyuO':function(_0x1646ef,_0x26e9f2){return _0x1646ef===_0x26e9f2;},'NddsK':_0x5a6fdb(0x172),'HNKqO':function(_0x35d298,_0x1d3d65){return _0x35d298>_0x1d3d65;},'gmUhV':function(_0x3fd432,_0x2441a5){return _0x3fd432(_0x2441a5);},'OsOUr':_0x5a6fdb(0x133),'TLMqu':function(_0x2e47bc,_0x116d1b){return _0x2e47bc===_0x116d1b;},'eieUd':_0x5a6fdb(0x154),'ggQiU':function(_0x156c51,_0x4171bb){return _0x156c51===_0x4171bb;},'VrVPq':'playwright-chromium','lcKRO':_0x5a6fdb(0x130),'mqJZC':function(_0x4e4f2c,_0x3c4a11){return _0x4e4f2c(_0x3c4a11);},'kGceX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x576bb0[_0x5a6fdb(0x141)](isAccessibilityAutomationSession)){const _0x1149fa=_0x172a74[_0x5a6fdb(0x166)],_0x305319=_0x1149fa[_0x5a6fdb(0x168)];global[_0x5a6fdb(0x157)]=!![],!(_0x576bb0[_0x5a6fdb(0x153)](_0x305319['browserVersion'],_0x576bb0[_0x5a6fdb(0x14a)])||_0x576bb0[_0x5a6fdb(0x149)](_0x576bb0[_0x5a6fdb(0x129)](parseInt,_0x305319['browserVersion']),0x5e))&&(logger[_0x5a6fdb(0x159)](_0x576bb0[_0x5a6fdb(0x14d)]),global[_0x5a6fdb(0x157)]=![]),!(_0x576bb0['TLMqu'](_0x305319[_0x5a6fdb(0x143)],_0x576bb0[_0x5a6fdb(0x151)])||_0x576bb0[_0x5a6fdb(0x135)](_0x305319[_0x5a6fdb(0x143)],_0x576bb0[_0x5a6fdb(0x12f)]))&&(logger[_0x5a6fdb(0x159)](_0x576bb0['lcKRO']),global[_0x5a6fdb(0x157)]=![]),!_0x576bb0[_0x5a6fdb(0x164)](isUndefined,_0x305319[_0x5a6fdb(0x169)])&&(logger['warn'](_0x576bb0['kGceX']),global[_0x5a6fdb(0x157)]=![]);}},exports[a3_0xfeb500(0x16c)]=_0x2808dd=>{const _0x4c21b1=a3_0xfeb500,_0xa19bf9={};_0xa19bf9[_0x4c21b1(0x12d)]=_0x4c21b1(0x148),_0xa19bf9[_0x4c21b1(0x12e)]=_0x4c21b1(0x140);const _0x3fbbe8=_0xa19bf9;if(!_0x2808dd)return![];return!_0x2808dd[_0x4c21b1(0x161)](_0x3fbbe8[_0x4c21b1(0x12d)])&&!_0x2808dd[_0x4c21b1(0x161)](_0x3fbbe8[_0x4c21b1(0x12e)]);};
|
|
@@ -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
|
+
function a4_0x120e(_0x543693,_0x2e893f){const _0x44f711=a4_0x44f7();return a4_0x120e=function(_0x120ecc,_0x19198a){_0x120ecc=_0x120ecc-0x1ed;let _0x25d100=_0x44f711[_0x120ecc];return _0x25d100;},a4_0x120e(_0x543693,_0x2e893f);}const a4_0x35e0f2=a4_0x120e;(function(_0x5a95a5,_0x3a2ae5){const _0x35db21=a4_0x120e,_0x1d6ea1=_0x5a95a5();while(!![]){try{const _0x1ef864=parseInt(_0x35db21(0x2d6))/0x1+parseInt(_0x35db21(0x264))/0x2*(-parseInt(_0x35db21(0x20f))/0x3)+-parseInt(_0x35db21(0x275))/0x4*(parseInt(_0x35db21(0x27c))/0x5)+parseInt(_0x35db21(0x21b))/0x6*(parseInt(_0x35db21(0x20c))/0x7)+-parseInt(_0x35db21(0x2b6))/0x8*(-parseInt(_0x35db21(0x29f))/0x9)+parseInt(_0x35db21(0x2a6))/0xa*(-parseInt(_0x35db21(0x284))/0xb)+-parseInt(_0x35db21(0x286))/0xc*(-parseInt(_0x35db21(0x2b7))/0xd);if(_0x1ef864===_0x3a2ae5)break;else _0x1d6ea1['push'](_0x1d6ea1['shift']());}catch(_0x45a686){_0x1d6ea1['push'](_0x1d6ea1['shift']());}}}(a4_0x44f7,0x2d774));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x35e0f2(0x262)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x35e0f2(0x287)),logger=require('../../helpers/logger')[a4_0x35e0f2(0x25d)],SessionHandler=require(a4_0x35e0f2(0x2a5)),RequestQueueHandler=require(a4_0x35e0f2(0x2b3)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x35e0f2(0x278)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x35e0f2(0x244)),{fetchPlatformDetails}=require(a4_0x35e0f2(0x2cd)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x35e0f2(0x222),STATE_FAILED=a4_0x35e0f2(0x263),a4_0xae3026={};a4_0xae3026['TEST_RUN_STARTED']=a4_0x35e0f2(0x223),a4_0xae3026[a4_0x35e0f2(0x1fd)]=a4_0x35e0f2(0x2dd),a4_0xae3026[a4_0x35e0f2(0x22c)]=a4_0x35e0f2(0x266),a4_0xae3026[a4_0x35e0f2(0x248)]=a4_0x35e0f2(0x26c),a4_0xae3026[a4_0x35e0f2(0x21e)]='HookRunFinished';const TEST_EVENTS=a4_0xae3026,parseEvent=_0x3e5b0a=>{const _0xef9049=a4_0x35e0f2,_0x27e358={};_0x27e358[_0xef9049(0x1ee)]=function(_0x528bb2,_0x41250c){return _0x528bb2<_0x41250c;},_0x27e358['nXLas']=function(_0x33b80e,_0x55c8b1){return _0x33b80e===_0x55c8b1;},_0x27e358[_0xef9049(0x295)]=_0xef9049(0x216),_0x27e358[_0xef9049(0x231)]=function(_0x19c54c,_0x5391fc){return _0x19c54c===_0x5391fc;},_0x27e358[_0xef9049(0x24a)]='hook',_0x27e358['qXEMO']=function(_0x16c820,_0x2fded6){return _0x16c820===_0x2fded6;},_0x27e358['bAGxt']=_0xef9049(0x21a),_0x27e358['bEbNU']='started',_0x27e358[_0xef9049(0x277)]=_0xef9049(0x2ca);const _0x4b4d3a=_0x27e358,_0x3d8863=_0x3e5b0a['match'](/^(.*)Run(.*)$/);if(!_0x3d8863)return null;if(_0x4b4d3a[_0xef9049(0x1ee)](_0x3d8863[_0xef9049(0x273)],0x3))return null;const _0x183010=_0x3d8863[0x1]['toLowerCase'](),_0x1f2e92=_0x3d8863[0x2][_0xef9049(0x1ef)]();return{'test':_0x4b4d3a[_0xef9049(0x2d9)](_0x183010,_0x4b4d3a[_0xef9049(0x295)]),'hook':_0x4b4d3a[_0xef9049(0x231)](_0x183010,_0x4b4d3a[_0xef9049(0x24a)]),'skipped':_0x4b4d3a['qXEMO'](_0x1f2e92,_0x4b4d3a['bAGxt']),'started':_0x4b4d3a[_0xef9049(0x2a9)](_0x1f2e92,_0x4b4d3a[_0xef9049(0x207)]),'finished':_0x4b4d3a[_0xef9049(0x2a9)](_0x1f2e92,_0x4b4d3a[_0xef9049(0x277)])};},mockPWBrowserType=_0x3a4b56=>{const _0x250b25=a4_0x35e0f2,_0x2e139f={'RRXGJ':function(_0x31c427,_0x54e5ec){return _0x31c427===_0x54e5ec;},'VgbYc':'string','DHbFx':function(_0x5b3b1b,_0x548fae,_0x120641){return _0x5b3b1b(_0x548fae,_0x120641);},'HewVa':'wsEndpoint','XRWfm':function(_0x329d99,_0x51ceb0){return _0x329d99(_0x51ceb0);},'JhPSm':_0x250b25(0x28e),'kYdXd':'lib','VqDeX':'client','gfXED':_0x250b25(0x1fa),'qskYl':function(_0x19a5cb,_0x5842b5){return _0x19a5cb(_0x5842b5);},'wdzRQ':_0x250b25(0x268),'tPSMD':'connect','VStOs':_0x250b25(0x2d2)},_0x1e25fd=path['join'](_0x2e139f[_0x250b25(0x2dc)],_0x2e139f['VqDeX'],_0x2e139f['gfXED']),_0x394c4b=_0x2e139f[_0x250b25(0x252)](importFileFromPWCore,_0x1e25fd);if(!_0x394c4b){_0x2e139f[_0x250b25(0x2de)](debug,_0x2e139f[_0x250b25(0x293)]);return;}const _0x2ed9e0=_0x394c4b[_0x250b25(0x2ce)],_0x23bc5d=_0x2ed9e0[_0x250b25(0x21f)];if(_0x23bc5d[_0x250b25(0x2b1)])return;const _0x3f8193=_0x23bc5d['connect'];Object[_0x250b25(0x210)](_0x23bc5d,_0x2e139f[_0x250b25(0x29b)],{'get':function(){const _0x8b2334=_0x250b25,_0x4b3567={'hfKFq':function(_0x3ce904,_0x4ec1f5){return _0x2e139f['RRXGJ'](_0x3ce904,_0x4ec1f5);},'lQAss':_0x2e139f[_0x8b2334(0x1ed)],'tLWCl':function(_0x229957,_0x2fd981,_0x34738c){const _0x2651f3=_0x8b2334;return _0x2e139f[_0x2651f3(0x261)](_0x229957,_0x2fd981,_0x34738c);},'waUkB':_0x2e139f[_0x8b2334(0x24b)],'mFito':function(_0x53270,_0x890742){const _0x56847d=_0x8b2334;return _0x2e139f[_0x56847d(0x2de)](_0x53270,_0x890742);},'boxbD':_0x2e139f[_0x8b2334(0x2aa)],'kLTNL':function(_0x539266,_0x3238cd,_0xbfeb96){const _0x289c5a=_0x8b2334;return _0x2e139f[_0x289c5a(0x261)](_0x539266,_0x3238cd,_0xbfeb96);}};return async function _0x4f89c6(_0x198ea9,_0x31772c){const _0x32ac33=_0x8b2334,_0x432ade=_0x4b3567['tLWCl'](nestedKeyValue,_0x198ea9,[_0x4b3567[_0x32ac33(0x1f0)]])||_0x198ea9;let _0x340af1=null,_0x4e4c2a=null;try{[_0x4e4c2a,_0x340af1]=_0x432ade?_0x4b3567[_0x32ac33(0x1fb)](parseWSEndpoint,_0x432ade):[null,null],global[_0x32ac33(0x298)]=_0x340af1,_0x4e4c2a[_0x32ac33(0x24c)](_0x4b3567['boxbD'])&&(global[_0x32ac33(0x2d1)]=_0x4b3567['boxbD']);}catch(_0x119618){logger['debug'](_0x32ac33(0x2ba)+_0x432ade+'\x20'+_0x119618);}_0x4b3567[_0x32ac33(0x296)](processAccessibilityCaps,_0x340af1,_0x4e4c2a);if(global[_0x32ac33(0x2b0)]){const _0x2884b6=await _0x23bc5d[_0x32ac33(0x292)][_0x32ac33(0x1f6)](this,[''+Constants[_0x32ac33(0x211)]+_0x4b3567[_0x32ac33(0x1fb)](encodeURIComponent,JSON[_0x32ac33(0x27a)](_0x340af1))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x2884b6,_0x3a4b56,_0x432ade),_0x2884b6;}return _0x3f8193[_0x32ac33(0x1f6)](this,arguments)[_0x32ac33(0x20d)](_0x8e8363=>{const _0x25f090=_0x32ac33;let _0x10cae6=_0x198ea9[_0x25f090(0x24d)];return _0x4b3567['hfKFq'](typeof _0x198ea9,_0x4b3567['lQAss'])&&(_0x10cae6=_0x198ea9),PlaywrightSessionDetails[_0x25f090(0x23b)](_0x8e8363,_0x3a4b56,_0x10cae6),_0x8e8363;});};}});const _0x486e06=_0x23bc5d['launch'];Object['defineProperty'](_0x23bc5d,_0x2e139f['VStOs'],{'get':function(){return async function _0x32c382(){const _0x800a07=a4_0x120e;return _0x486e06[_0x800a07(0x1f6)](this,arguments)[_0x800a07(0x20d)](_0x11dfd3=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x11dfd3,null),_0x11dfd3;});};}});};function a4_0x44f7(){const _0x138fd8=['STATE_PASSED','bs:addLog:','65889XcHfVB','xOCii','event_type','hooks','FWiQb','hook_run_uuid','../../helpers/test-observability/sessionHandler','10PCOqxC','BYgqu','getCBTInfo','qXEMO','JhPSm','TyAiV','DwYqN','appendTestItemLog','file_name','TyiSB','accessibilityPlatform','obsBrowserTypeMockApplied','bddStepFinish','../../helpers/test-observability/requestQueueHandler','_afterAll','fvixg','152NjSWEc','143kyEXzq','TqHNt','AVMvK','Failed\x20to\x20parse\x20wsendpoint\x20','statSync','_paths','findGitConfig','driver','dirname','logs','meta','File\x20path\x20could\x20not\x20be\x20found','captureEvent','Smsag','gEFui','body','getTime','2|4|3|1|0|5','getHookType','finished','message','gOXPW','./helper.js','BrowserType','_testEnv','TFuYb','__cloud_provider___','launch','Playwright','bind','HQIDc','70690bvsKJq','toUpperCase','concat','nXLas','util','getFailureType','kYdXd','TestRunFinished','XRWfm','VgbYc','BJInb','toLowerCase','waUkB','dkHqd','relative','\x20with\x20error\x20:\x20','qpehz','config','apply','CBTSessionCreated','bddSteps','STATE_FAILED','browserType.js','mFito','xcNTV','TEST_RUN_FINISHED','err','PlpVD','file','yXrCw','pending','currentTest','BHGdn','OPZyC','replace','bEbNU','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','match','IOnhu','iZfHx','41608odYWyi','then','SGLsQ','12ZxoiKa','defineProperty','PLAYWRIGHT_HUB_URL','enabled','fireEvent','getRootParentFile','hookAnalyticsId','test','initializeBddStep','name','fullTitle','skipped','12TmTsLm','Zjvzx','qAUWm','HOOK_RUN_FINISHED','prototype','currentHook','hook','passed','TestRunStarted','now','hgGMa','frameworkName','hook_run','find','prefixTestPath','CFYsZ','pid','TEST_RUN_SKIPPED','push','ucjNt','ZjokZ','_beforeEach','ZmjaM','text','vtVHg','retryOf','test_run_uuid','jShNV','integrations','mapTestHooks','parent','duration','setupBrowserDetails','MBomZ','VJmqr','uuid','test_run','KNPgx','shutdown','O11yHelper','uploadEventData','../utils/constants','comment','VSiWL','jDPua','HOOK_RUN_STARTED','finished_at','DyONY','HewVa','includes','wsEndpoint','backtrace','ctx','lTXig','markedStatus','qskYl','result','_afterEach','stop','type','SfkkS','tMqDR','GFLFV','title','suites','expanded','winstonLogger','PsNNq','start','awcZi','DHbFx','../../helpers/helper','failed','163544eoBXyk','javascript','TestRunSkipped','toString','Not\x20able\x20to\x20import\x20Browser','CODECEPT','testAnalyticsId','toISOString','HookRunStarted','TEST_EVENTS','failure_reason_expanded','AdZCm','getHooksForTest','join','vNgir','length','patchConsoleLogger','4tILoHo','dKCuA','vASxt','debug','_beforeAll','stringify','failure','119095ePuDTq','peVWX','groups','Trpno','resetSkipTestHooks','cwd','sep','kIMZB','3400221UZhSkO','removeAllListeners','681348SEyXcW','../../helpers/test-observability/constants','stepAnalyticsId','failure_backtrace','forEach','getHierarchy','hook_type','startedAt','browserstack','status','vjfSo','fFtWe','connectOverCDP','wdzRQ','keyword','WgYsp','kLTNL','mCQwm','__platformCaps','started','LgxoW','tPSMD','UIFgJ'];a4_0x44f7=function(){return _0x138fd8;};return a4_0x44f7();}class O11yHelper{['currentTest']=null;[a4_0x35e0f2(0x220)]=null;['enabled']=![];[a4_0x35e0f2(0x226)]=![];constructor(_0x386ccb,_0x54247c){const _0x33bb24=a4_0x35e0f2,_0x53dc88={'xJQqO':_0x33bb24(0x2c8),'tMqDR':function(_0x1cf519){return _0x1cf519();},'kIMZB':function(_0x51b27d){return _0x51b27d();},'VSiWL':function(_0x3179c4,_0x5545a4){return _0x3179c4===_0x5545a4;},'hgGMa':_0x33bb24(0x2d3),'HQIDc':function(_0xb5ff71,_0x418cc1){return _0xb5ff71(_0x418cc1);}},_0x46a15b=_0x53dc88['xJQqO']['split']('|');let _0x13e23a=0x0;while(!![]){switch(_0x46a15b[_0x13e23a++]){case'0':this[_0x33bb24(0x2bc)]=new testOpsHelper['PathHelper']({'cwd':process[_0x33bb24(0x281)]()},this[_0x33bb24(0x2cf)]['location_prefix']);continue;case'1':this[_0x33bb24(0x2cf)]=_0x53dc88[_0x33bb24(0x258)](getTestEnv);continue;case'2':this['enabled']=_0x53dc88[_0x33bb24(0x283)](shouldProcessEventForTesthub);continue;case'3':this[_0x33bb24(0x2be)]=_0x386ccb;continue;case'4':this[_0x33bb24(0x226)]=_0x54247c[_0x33bb24(0x226)];continue;case'5':this[_0x33bb24(0x2be)]&&_0x53dc88[_0x33bb24(0x246)](this['driver']['constructor'][_0x33bb24(0x218)],_0x53dc88[_0x33bb24(0x225)])&&_0x53dc88[_0x33bb24(0x2d5)](mockPWBrowserType,null);continue;}break;}}[a4_0x35e0f2(0x25f)](){const _0x23d63d=a4_0x35e0f2;if(!this[_0x23d63d(0x212)])return;testOpsHelper[_0x23d63d(0x274)](),process[_0x23d63d(0x285)](_0x23d63d(0x29e)+process[_0x23d63d(0x22b)]),process['on']('bs:addLog:'+process[_0x23d63d(0x22b)],this['appendTestItemLog'][_0x23d63d(0x2d4)](this));}async[a4_0x35e0f2(0x255)](){const _0x19a76b=a4_0x35e0f2;await RequestQueueHandler['getInstance']()[_0x19a76b(0x241)]();}async[a4_0x35e0f2(0x2ad)](_0x44b20f){const _0x462d5e=a4_0x35e0f2,_0x33a414={'PsNNq':'LogCreated','TFuYb':function(_0xc7623b,_0x23105e){return _0xc7623b(_0x23105e);}};try{this['currentHook']&&!this['currentHook'][_0x462d5e(0x251)]&&(_0x44b20f[_0x462d5e(0x2a4)]=this[_0x462d5e(0x220)]['hookAnalyticsId']);!_0x44b20f[_0x462d5e(0x2a4)]&&this['currentTest']&&!this['currentTest'][_0x462d5e(0x251)]&&(_0x44b20f[_0x462d5e(0x235)]=this[_0x462d5e(0x203)][_0x462d5e(0x26a)]);if(_0x44b20f[_0x462d5e(0x2a4)]||_0x44b20f[_0x462d5e(0x235)]){const _0xfb72b7={};_0xfb72b7['event_type']=_0x33a414[_0x462d5e(0x25e)],_0xfb72b7[_0x462d5e(0x2c0)]=[_0x44b20f],await SessionHandler[_0x462d5e(0x243)](_0xfb72b7);}}catch(_0x383fc5){_0x33a414[_0x462d5e(0x2d0)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x383fc5);}}async['sendCBTInfo'](_0x1b501c){const _0x489a09=a4_0x35e0f2,_0x42ff2d={'yXrCw':_0x489a09(0x1f7),'oFtzy':function(_0x11ccb6,_0x5bab03){return _0x11ccb6(_0x5bab03);}};if(!this[_0x489a09(0x212)])return;const _0xe72a6b=this[_0x489a09(0x2a8)](this[_0x489a09(0x2be)]);try{const _0xdfbd63={};_0xdfbd63[_0x489a09(0x23e)]=_0x1b501c,_0xdfbd63[_0x489a09(0x237)]=_0xe72a6b;const _0x72a21d=_0xdfbd63,_0x25359c={};_0x25359c[_0x489a09(0x2a1)]=_0x42ff2d[_0x489a09(0x201)],_0x25359c[_0x489a09(0x23f)]=_0x72a21d,await SessionHandler['uploadEventData'](_0x25359c);}catch(_0x10af7b){_0x42ff2d['oFtzy'](debug,_0x489a09(0x208)+_0x10af7b);}}[a4_0x35e0f2(0x2a8)](_0xe30394){const _0x118c5e=a4_0x35e0f2,_0x9f900e={'SfkkS':function(_0x15cf4a,_0x5181b8){return _0x15cf4a(_0x5181b8);}};return _0x9f900e[_0x118c5e(0x257)](fetchPlatformDetails,_0xe30394);}[a4_0x35e0f2(0x280)]=_0x461d8d=>{const _0x60d933=a4_0x35e0f2,_0x211442={};_0x211442['gEFui']=_0x60d933(0x230),_0x211442[_0x60d933(0x2b5)]='_afterEach';const _0x407077=_0x211442;if(!_0x461d8d||!_0x461d8d[_0x60d933(0x239)])return;[_0x407077[_0x60d933(0x2c5)],_0x407077['fvixg']][_0x60d933(0x28a)](_0x31c2b6=>{const _0x24b4f6=_0x60d933,_0x2a7a2f=_0x461d8d[_0x24b4f6(0x239)][_0x31c2b6];_0x2a7a2f[_0x24b4f6(0x28a)](_0x4276f6=>{const _0x42529d=_0x24b4f6;_0x4276f6[_0x42529d(0x215)]&&(_0x4276f6[_0x42529d(0x215)]=null);});});};[a4_0x35e0f2(0x238)](_0x24731a){const _0x253f5e=a4_0x35e0f2,_0x276b72={'IOnhu':'codeceptjs','dKCuA':function(_0x122cfb){return _0x122cfb();},'kpJdk':function(_0x3ebf4b,_0xa2a85){return _0x3ebf4b===_0xa2a85;},'vjfSo':_0x253f5e(0x254),'SGLsQ':function(_0x5afa9d){return _0x5afa9d();},'AVMvK':_0x253f5e(0x279),'peVWX':_0x253f5e(0x2b4),'gOXPW':_0x253f5e(0x230)};if(!_0x24731a||!_0x24731a[_0x253f5e(0x239)])return;[_0x276b72[_0x253f5e(0x2b9)],_0x276b72[_0x253f5e(0x27d)],_0x276b72[_0x253f5e(0x2cc)],_0x276b72[_0x253f5e(0x290)]][_0x253f5e(0x28a)](_0x16712e=>{const _0x2efa87=_0x24731a['parent'][_0x16712e]||[];_0x2efa87['forEach'](_0x1cc388=>{const _0x4e29f3=a4_0x120e;if(_0x1cc388[_0x4e29f3(0x25a)][_0x4e29f3(0x24c)](_0x276b72[_0x4e29f3(0x20a)]))return;if(!_0x1cc388['hookAnalyticsId'])_0x1cc388['hookAnalyticsId']=_0x276b72[_0x4e29f3(0x276)](uuidv4);else _0x1cc388['markedStatus']&&_0x276b72['kpJdk'](_0x16712e,_0x276b72[_0x4e29f3(0x290)])&&(_0x1cc388['hookAnalyticsId']=_0x276b72[_0x4e29f3(0x20e)](uuidv4),delete _0x1cc388[_0x4e29f3(0x251)]);});}),this[_0x253f5e(0x238)](_0x24731a[_0x253f5e(0x239)]);}[a4_0x35e0f2(0x270)](_0x232d9e){const _0x449342=a4_0x35e0f2,_0x524701={};_0x524701['TyiSB']=_0x449342(0x279),_0x524701[_0x449342(0x247)]='_afterAll',_0x524701[_0x449342(0x297)]=_0x449342(0x230),_0x524701[_0x449342(0x1ff)]=_0x449342(0x254);const _0x353d06=_0x524701;if(!_0x232d9e||!_0x232d9e[_0x449342(0x239)])return[];const _0x262d3b=[];return[_0x353d06[_0x449342(0x2af)],_0x353d06[_0x449342(0x247)],_0x353d06[_0x449342(0x297)],_0x353d06[_0x449342(0x1ff)]]['forEach'](_0x399efc=>{const _0x4ccb17=_0x449342,_0x2059b0=_0x232d9e[_0x4ccb17(0x239)][_0x399efc]||[];_0x2059b0[_0x4ccb17(0x28a)](_0x3dbd2f=>{const _0x9b48df=_0x4ccb17;_0x3dbd2f[_0x9b48df(0x215)]&&_0x262d3b[_0x9b48df(0x22d)](_0x3dbd2f[_0x9b48df(0x215)]);});}),[][_0x449342(0x2d8)](_0x262d3b,this[_0x449342(0x270)](_0x232d9e[_0x449342(0x239)]));}[a4_0x35e0f2(0x2c9)](_0x588c91){const _0x3dec39=a4_0x35e0f2,_0x99fc39=/^"(?<hook>.*)" hook:.*$/,_0x4ee5c7=_0x588c91['title'],_0x5a4c15=_0x4ee5c7[_0x3dec39(0x209)](_0x99fc39);if(_0x5a4c15&&_0x5a4c15[_0x3dec39(0x27e)])return _0x5a4c15[_0x3dec39(0x27e)][_0x3dec39(0x221)][_0x3dec39(0x2d7)]()[_0x3dec39(0x206)]('\x20','_');return null;}[a4_0x35e0f2(0x2bd)](_0x47bc1c){const _0x4d528e=a4_0x35e0f2,_0x524031={};_0x524031['ZThci']=function(_0x37c640,_0x507d05){return _0x37c640===_0x507d05;},_0x524031[_0x4d528e(0x29a)]=function(_0x4f3f2f,_0x3f7b92){return _0x4f3f2f===_0x3f7b92;},_0x524031[_0x4d528e(0x2ab)]='.git',_0x524031['xcNTV']=_0x4d528e(0x1f5);const _0x112988=_0x524031,_0x3bfbac=path[_0x4d528e(0x282)];if(_0x112988['ZThci'](_0x47bc1c,null)||_0x112988['ZThci'](_0x47bc1c,'')||_0x112988['LgxoW'](_0x47bc1c,_0x3bfbac)||_0x112988[_0x4d528e(0x29a)](_0x47bc1c,path[_0x4d528e(0x2bf)](_0x47bc1c)))return null;try{return fs[_0x4d528e(0x2bb)](path[_0x4d528e(0x271)](_0x47bc1c,_0x112988[_0x4d528e(0x2ab)],_0x112988[_0x4d528e(0x1fc)])),_0x47bc1c;}catch(_0x532ea4){const _0x16dc4d=path[_0x4d528e(0x2bf)](_0x47bc1c);return this['findGitConfig'](_0x16dc4d);}}['getRootParentFile'](_0x27c72c){const _0x1c5e20=a4_0x35e0f2,_0x741467={};_0x741467[_0x1c5e20(0x20b)]=function(_0x47ccbc,_0x2302fc){return _0x47ccbc>_0x2302fc;};const _0x4a17f4=_0x741467;if(_0x27c72c[_0x1c5e20(0x200)])return _0x27c72c['file'];if(_0x27c72c['ctx']){const _0x129f52=_0x27c72c[_0x1c5e20(0x24f)]['currentTest']?this[_0x1c5e20(0x214)](_0x27c72c[_0x1c5e20(0x24f)][_0x1c5e20(0x203)]):null;if(_0x129f52)return _0x129f52;}if(_0x27c72c[_0x1c5e20(0x239)]){const _0x863ae1=this[_0x1c5e20(0x214)](_0x27c72c[_0x1c5e20(0x239)])||(_0x27c72c['parent'][_0x1c5e20(0x24f)]&&_0x27c72c[_0x1c5e20(0x239)]['ctx'][_0x1c5e20(0x203)]?this[_0x1c5e20(0x214)](_0x27c72c[_0x1c5e20(0x239)][_0x1c5e20(0x24f)]['currentTest']):null);if(_0x863ae1)return _0x863ae1;_0x27c72c[_0x1c5e20(0x239)]['suites']&&_0x4a17f4[_0x1c5e20(0x20b)](_0x27c72c[_0x1c5e20(0x239)][_0x1c5e20(0x25b)][_0x1c5e20(0x273)],0x0)&&_0x27c72c[_0x1c5e20(0x239)][_0x1c5e20(0x25b)][_0x1c5e20(0x28a)](_0x5288d5=>{const _0x35f60f=_0x1c5e20,_0x41b986=_0x5288d5[_0x35f60f(0x24f)]?this[_0x35f60f(0x214)](_0x5288d5[_0x35f60f(0x24f)]):null;if(_0x41b986)return _0x41b986;});}return null;}[a4_0x35e0f2(0x28b)](_0x14e3f7){const _0x59f3a2=a4_0x35e0f2,_0x110688={};_0x110688[_0x59f3a2(0x2a3)]=function(_0x5f5d6a,_0x5a8f27){return _0x5f5d6a!==_0x5a8f27;};const _0x38a781=_0x110688,_0x2ee803=[];if(_0x14e3f7&&_0x14e3f7[_0x59f3a2(0x239)]){let _0xc7ee40=_0x14e3f7[_0x59f3a2(0x239)];while(_0xc7ee40&&_0x38a781[_0x59f3a2(0x2a3)](_0xc7ee40['title'],'')){_0x2ee803['push'](_0xc7ee40[_0x59f3a2(0x25a)]),_0xc7ee40=_0xc7ee40[_0x59f3a2(0x239)];}}return _0x2ee803;}[a4_0x35e0f2(0x2c3)](_0x4899fe,_0x5c76d2,_0x37f868=undefined){const _0x3b4b95=a4_0x35e0f2,_0x1c944f={'KNPgx':function(_0x301dcd,_0x4579fa){return _0x301dcd(_0x4579fa);},'VuUSW':function(_0x5c6ddb){return _0x5c6ddb();},'jUeOt':function(_0x2f25cb){return _0x2f25cb();},'dVTjT':function(_0x3a732a){return _0x3a732a();},'FzoZP':_0x3b4b95(0x2da),'GFLFV':_0x3b4b95(0x1fe),'UIFgJ':function(_0x426c6f,_0x43f78c){return _0x426c6f!==_0x43f78c;},'RRFTi':_0x3b4b95(0x2c2),'OPZyC':_0x3b4b95(0x202),'qAUWm':_0x3b4b95(0x263),'VJmqr':_0x3b4b95(0x222),'TqHNt':_0x3b4b95(0x21a),'vNgir':_0x3b4b95(0x265),'Smsag':function(_0x4d7bda,_0x4ef762){return _0x4d7bda-_0x4ef762;},'DwYqN':function(_0xaa8ca9,_0x3d16c0,_0x3e293d,_0x4666ce,_0x461d37){return _0xaa8ca9(_0x3d16c0,_0x3e293d,_0x4666ce,_0x461d37);},'BHGdn':_0x3b4b95(0x237),'jShNV':_0x3b4b95(0x2c1),'Trpno':_0x3b4b95(0x27b),'Zjvzx':_0x3b4b95(0x289),'AdZCm':_0x3b4b95(0x24e),'awcZi':_0x3b4b95(0x26e),'MBomZ':_0x3b4b95(0x25c),'vtVHg':function(_0x525b4c,_0x14c29e){return _0x525b4c===_0x14c29e;},'lTXig':_0x3b4b95(0x227),'fFtWe':_0x3b4b95(0x23f)};if(!this['enabled'])return;try{if(_0x5c76d2['fn']&&_0x5c76d2['fn'][_0x3b4b95(0x267)]()[_0x3b4b95(0x209)](/browserstack internal helper hook/))return;const _0x5a680c=_0x1c944f[_0x3b4b95(0x240)](parseEvent,_0x4899fe);if(!_0x5a680c)return;if(_0x5a680c[_0x3b4b95(0x216)]){this[_0x3b4b95(0x203)]=_0x5c76d2,this[_0x3b4b95(0x220)]=null;if(_0x5a680c['started']||_0x5a680c[_0x3b4b95(0x21a)]){_0x5c76d2[_0x3b4b95(0x28d)]=new Date(),_0x5c76d2[_0x3b4b95(0x251)]=![];if(!_0x5c76d2[_0x3b4b95(0x26a)])_0x5c76d2[_0x3b4b95(0x26a)]=_0x1c944f['VuUSW'](uuidv4);else _0x5c76d2[_0x3b4b95(0x251)]&&(!_0x5c76d2[_0x3b4b95(0x234)]&&(_0x5c76d2[_0x3b4b95(0x234)]=_0x5c76d2[_0x3b4b95(0x26a)]),_0x5c76d2[_0x3b4b95(0x26a)]=_0x1c944f['jUeOt'](uuidv4));}}else{if(_0x5a680c[_0x3b4b95(0x221)]){this[_0x3b4b95(0x220)]=_0x5c76d2;if(_0x5a680c['started']){_0x5c76d2['startedAt']=new Date(),_0x5c76d2['markedStatus']=![];if(!_0x5c76d2[_0x3b4b95(0x215)])_0x5c76d2[_0x3b4b95(0x215)]=_0x1c944f['VuUSW'](uuidv4);else _0x5c76d2[_0x3b4b95(0x215)]&&_0x5c76d2[_0x3b4b95(0x251)]&&(_0x5c76d2[_0x3b4b95(0x215)]=_0x1c944f['dVTjT'](uuidv4));}}}if(_0x5a680c[_0x3b4b95(0x2ca)]&&_0x5c76d2[_0x3b4b95(0x251)])return;let _0x5e01b5;try{_0x5e01b5=this['getRootParentFile'](_0x5c76d2);}catch(_0x16dc7e){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x16dc7e),_0x5e01b5=null;}const _0x652df3=_0x1c944f[_0x3b4b95(0x240)](require,_0x1c944f['FzoZP']);let _0x3aab9b=[];_0x37f868&&(_0x3aab9b=[_0x37f868,_0x1c944f[_0x3b4b95(0x259)]]);const _0x2aa975=_0x1c944f[_0x3b4b95(0x29c)](_0x5c76d2['errorsDetailed'],undefined)?_0x652df3['inspect'](_0x5c76d2['errorsDetailed'][0x0]):_0x1c944f['UIFgJ'](_0x37f868,undefined)?_0x37f868[_0x3b4b95(0x267)]():undefined,_0x54363f=_0x5e01b5?this['findGitConfig'](_0x5e01b5):null,_0x434460=_0x5e01b5?this[_0x3b4b95(0x2bc)][_0x3b4b95(0x229)](this[_0x3b4b95(0x214)](_0x5c76d2)):_0x1c944f['RRFTi'];let _0x55065b=_0x1c944f[_0x3b4b95(0x205)];const _0x54d3c5=!_0x5a680c[_0x3b4b95(0x299)]?new Date()[_0x3b4b95(0x26b)]():null;if(_0x5a680c[_0x3b4b95(0x2ca)])_0x55065b=_0x37f868?_0x1c944f[_0x3b4b95(0x21d)]:_0x1c944f[_0x3b4b95(0x23d)],_0x5c76d2[_0x3b4b95(0x251)]=!![];else _0x5a680c[_0x3b4b95(0x21a)]&&(_0x55065b=_0x1c944f[_0x3b4b95(0x2b8)],_0x5c76d2[_0x3b4b95(0x251)]=!![]);const _0x19172c={'framework':this[_0x3b4b95(0x226)],'uuid':_0x5c76d2[_0x3b4b95(0x26a)]||_0x5c76d2['hookAnalyticsId'],'name':_0x5c76d2['title'],'body':{'lang':_0x1c944f[_0x3b4b95(0x272)],'code':_0x5c76d2['body'][_0x3b4b95(0x267)]()},'type':_0x5c76d2[_0x3b4b95(0x256)],'scope':_0x5c76d2['fullTitle'](),'scopes':this[_0x3b4b95(0x28b)](_0x5c76d2),'file_name':_0x434460,'vc_filepath':_0x54363f?path[_0x3b4b95(0x1f2)](_0x54363f,_0x5e01b5):null,'location':_0x434460,'result':_0x55065b,'failure_reason':_0x2aa975,'duration_in_ms':_0x5c76d2['duration']||(_0x5a680c['finished']||_0x5a680c['skipped'])?_0x1c944f[_0x3b4b95(0x2c4)](Date[_0x3b4b95(0x224)](),new Date(_0x5c76d2['startedAt'])[_0x3b4b95(0x2c7)]()):null,'started_at':new Date(_0x5c76d2[_0x3b4b95(0x28d)])[_0x3b4b95(0x26b)](),'finished_at':_0x54d3c5,'failure':testOpsHelper['failureData']['apply'](null,_0x3aab9b),'failure_type':!_0x2aa975?null:testOpsHelper[_0x3b4b95(0x2db)](_0x2aa975),'retry_of':_0x5c76d2['retryOf']||null,'tags':_0x5c76d2['tags']||[],'customRerunParam':{'rerun_name':_0x5c76d2[_0x3b4b95(0x219)]()}};_0x1c944f[_0x3b4b95(0x2ac)](appendTesthubParams,_0x19172c,_0x4899fe,_0x5c76d2,FRAMEWORKS[_0x3b4b95(0x269)]);if(_0x5a680c[_0x3b4b95(0x221)])[_0x19172c[_0x3b4b95(0x28c)],_0x19172c[_0x3b4b95(0x218)]]=[this[_0x3b4b95(0x2c9)](_0x5c76d2),_0x5c76d2[_0x3b4b95(0x24f)][_0x3b4b95(0x216)][_0x3b4b95(0x25a)]],_0x5a680c[_0x3b4b95(0x2ca)]?_0x1c944f[_0x3b4b95(0x29c)](_0x19172c['result'],_0x1c944f['qAUWm'])&&(_0x19172c[_0x3b4b95(0x253)]=_0x1c944f[_0x3b4b95(0x23d)]):_0x19172c[_0x3b4b95(0x2c6)]={};else _0x5a680c[_0x3b4b95(0x216)]&&(this[_0x3b4b95(0x238)](_0x5c76d2),_0x5a680c[_0x3b4b95(0x21a)]&&this[_0x3b4b95(0x280)](_0x5c76d2),(_0x5a680c[_0x3b4b95(0x2ca)]||_0x5a680c[_0x3b4b95(0x21a)])&&(_0x19172c[_0x3b4b95(0x2a2)]=this[_0x3b4b95(0x270)](_0x5c76d2)));this['driver']&&(_0x5a680c[_0x3b4b95(0x299)]||_0x5a680c['skipped'])&&(_0x19172c[_0x1c944f[_0x3b4b95(0x204)]]=this[_0x3b4b95(0x2a8)](this[_0x3b4b95(0x2be)]));_0x5a680c[_0x3b4b95(0x216)]&&_0x5a680c['finished']&&_0x5c76d2['bddSteps']&&(_0x19172c[_0x1c944f[_0x3b4b95(0x236)]]={'feature':{'name':_0x5c76d2[_0x3b4b95(0x239)]['feature'][_0x3b4b95(0x218)],'path':_0x19172c[_0x3b4b95(0x2ae)],'description':_0x5c76d2[_0x3b4b95(0x239)][_0x3b4b95(0x245)]},'scenario':{'name':_0x5c76d2['title']},'steps':_0x5c76d2[_0x3b4b95(0x1f8)]});const _0x11a186=_0x19172c[_0x1c944f[_0x3b4b95(0x27f)]][0x0];_0x11a186&&(_0x19172c[_0x1c944f[_0x3b4b95(0x21c)]]=_0x11a186[_0x1c944f[_0x3b4b95(0x26f)]],_0x19172c[_0x1c944f[_0x3b4b95(0x260)]]=_0x11a186[_0x1c944f[_0x3b4b95(0x23c)]]);if(_0x5c76d2['bddSteps'])for(const _0x5e39ae of _0x5c76d2['bddSteps']){!_0x5e39ae[_0x3b4b95(0x249)]&&(_0x5e39ae['finished_at']=new Date()['toISOString'](),_0x1c944f[_0x3b4b95(0x233)](_0x5e39ae[_0x3b4b95(0x253)],_0x1c944f[_0x3b4b95(0x205)])&&(_0x11a186?(_0x5e39ae[_0x3b4b95(0x253)]=_0x1c944f[_0x3b4b95(0x21d)],_0x5e39ae[_0x3b4b95(0x27b)]=_0x11a186[_0x1c944f[_0x3b4b95(0x26f)]][0x0]):_0x5e39ae[_0x3b4b95(0x253)]=_0x1c944f[_0x3b4b95(0x23d)]));}const _0x5df330={};_0x5df330[_0x3b4b95(0x2a1)]=_0x5a680c[_0x3b4b95(0x21a)]?TEST_EVENTS[_0x3b4b95(0x1fd)]:_0x4899fe;const _0xcfbe51=_0x5df330;return _0x5a680c[_0x3b4b95(0x221)]?_0xcfbe51[_0x1c944f[_0x3b4b95(0x250)]]=_0x19172c:_0xcfbe51[_0x1c944f[_0x3b4b95(0x291)]]=_0x19172c,_0xcfbe51;}catch(_0x4e55bc){logger[_0x3b4b95(0x278)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x4899fe+_0x3b4b95(0x1f3)+_0x4e55bc);}}async[a4_0x35e0f2(0x213)](_0x4ed03e,_0xc20358){const _0x140746=a4_0x35e0f2;if(!this[_0x140746(0x212)]||!_0xc20358||!_0x4ed03e)return![];try{return await SessionHandler[_0x140746(0x243)](_0xc20358);}catch(_0x1e6a23){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4ed03e+_0x140746(0x1f3)+_0x1e6a23);}}[a4_0x35e0f2(0x217)](_0x9c6507){const _0x369ece=a4_0x35e0f2,_0x3e85fb={};_0x3e85fb['ucjNt']=_0x369ece(0x202);const _0x4c49fd=_0x3e85fb;return{'id':_0x9c6507[_0x369ece(0x288)],'text':_0x9c6507[_0x369ece(0x232)],'keyword':_0x9c6507[_0x369ece(0x294)],'started_at':_0x9c6507['startedAt'][_0x369ece(0x26b)](),'result':_0x4c49fd[_0x369ece(0x22e)]};}['bddStepStart'](_0x195f66){const _0x1433ac=a4_0x35e0f2,_0x37adb9={'CFYsZ':function(_0x30ef21){return _0x30ef21();}};!this[_0x1433ac(0x203)][_0x1433ac(0x1f8)]&&(this[_0x1433ac(0x203)][_0x1433ac(0x1f8)]=[]),!_0x195f66[_0x1433ac(0x288)]&&(_0x195f66[_0x1433ac(0x288)]=_0x37adb9[_0x1433ac(0x22a)](uuidv4),_0x195f66[_0x1433ac(0x28d)]=new Date(),this[_0x1433ac(0x203)][_0x1433ac(0x1f8)]['push'](this[_0x1433ac(0x217)](_0x195f66)));}[a4_0x35e0f2(0x2b2)](_0x2dfaf0){const _0x1031b7=a4_0x35e0f2,_0x2040b6={'qpehz':function(_0x3bffad,_0x271ce4){return _0x3bffad(_0x271ce4);},'ZjokZ':'success','BYgqu':'pending','xOCii':_0x1031b7(0x222),'dkHqd':function(_0x9ab845,_0xe243f7){return _0x9ab845-_0xe243f7;}};let _0x1bdf95=this['currentTest'][_0x1031b7(0x1f8)][_0x1031b7(0x228)](_0x52adc9=>_0x52adc9['id']===_0x2dfaf0[_0x1031b7(0x288)]);_0x2040b6[_0x1031b7(0x1f4)](isUndefined,_0x1bdf95)&&(_0x1bdf95=this['initializeBddStep'](_0x2dfaf0)),_0x1bdf95[_0x1031b7(0x253)]=[_0x2040b6[_0x1031b7(0x22f)],_0x2040b6[_0x1031b7(0x2a7)]][_0x1031b7(0x24c)](_0x2dfaf0[_0x1031b7(0x28f)])?_0x2040b6[_0x1031b7(0x2a0)]:_0x2dfaf0[_0x1031b7(0x28f)],_0x1bdf95[_0x1031b7(0x249)]=new Date()['toISOString'](),_0x1bdf95[_0x1031b7(0x23a)]=_0x2040b6[_0x1031b7(0x1f1)](Date['now'](),_0x2dfaf0[_0x1031b7(0x28d)]['getTime']()),_0x1bdf95[_0x1031b7(0x27b)]=_0x2dfaf0[_0x1031b7(0x1fe)]?_0x2dfaf0['err'][_0x1031b7(0x2cb)]:null;}}const a4_0xc53545={};a4_0xc53545[a4_0x35e0f2(0x242)]=O11yHelper,a4_0xc53545[a4_0x35e0f2(0x29d)]=STATE_PASSED,a4_0xc53545[a4_0x35e0f2(0x1f9)]=STATE_FAILED,a4_0xc53545[a4_0x35e0f2(0x26d)]=TEST_EVENTS,module['exports']=a4_0xc53545;
|
|
@@ -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';const a5_0x451b00=a5_0x4084;(function(_0x3c8b01,_0x450849){const _0x1688f6=a5_0x4084,_0x29fad8=_0x3c8b01();while(!![]){try{const _0x1e7d81=-parseInt(_0x1688f6(0x19d))/0x1+parseInt(_0x1688f6(0x1a9))/0x2+-parseInt(_0x1688f6(0x1c1))/0x3+parseInt(_0x1688f6(0x196))/0x4+-parseInt(_0x1688f6(0x19f))/0x5+-parseInt(_0x1688f6(0x1aa))/0x6+parseInt(_0x1688f6(0x1b3))/0x7*(parseInt(_0x1688f6(0x1c5))/0x8);if(_0x1e7d81===_0x450849)break;else _0x29fad8['push'](_0x29fad8['shift']());}catch(_0x432829){_0x29fad8['push'](_0x29fad8['shift']());}}}(a5_0x2fdc,0x3eb4f));function a5_0x4084(_0x4de537,_0x25dc28){const _0x2fdc0b=a5_0x2fdc();return a5_0x4084=function(_0x4084f1,_0x482784){_0x4084f1=_0x4084f1-0x17c;let _0x2a2e8f=_0x2fdc0b[_0x4084f1];return _0x2a2e8f;},a5_0x4084(_0x4de537,_0x25dc28);}const fs=require('fs'),path=require(a5_0x451b00(0x19c)),util=require('util'),logger=require('../../helpers/logger')[a5_0x451b00(0x189)],{default:BrowserStackSetup}=require(a5_0x451b00(0x1cf)),helper=require('../../helpers/helper'),utilities=require(a5_0x451b00(0x197)),constants=require(a5_0x451b00(0x1c9)),{parallelCucumberRun}=require(a5_0x451b00(0x1ec)),TestHubHandler=require(a5_0x451b00(0x1ca)),testOpsHelper=require(a5_0x451b00(0x19a)),chalk=require(a5_0x451b00(0x199)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x451b00(0x186))[a5_0x451b00(0x194)];function a5_0x2fdc(){const _0x13423a=['stringify','cyan','skipSessionStatus','push','../../helpers/BrowserStackSetup','uCGZm','forEach','handleApp','mergeOutputFiles','errorMessage','txfJg','XdwXK','parseFormatters','aOkif','green','CJDnl','processSuccess','printBuildLink','env','oVmyd','ZPGzq','testContextOptions','steps','ROQzK','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','CUCUMBER','log','testObservability','accessibilityOptions','isBrowserstackInfra','ohkrf','getHubUrl','../test-runner','isUndefined','removeDir','stepsUndefined','length','prepareCapabilities','ApLQh','exitCode','finalExecution','stop','****\x20RESULTS\x20****','yellow','format','eYqJw','cucumber','RJOGI','bold','unlinkSync','eSKbd','../../helpers/performance/constants','debug','rTLeq','winstonLogger','createDir','\x20skipped','getUserWorkerCount','tmp','splice','start','HSHgH','lWUes','red','stepsUnknown','EVENTS','scenariosFailed','601244QfqZIO','../../helpers/utilities','IHEgW','chalk','../../helpers/test-observability/utils','JmYnY','path','15771IszAtf','getErrorMessageFromResults','2068775tokAjN','stepsPassed','\x20pending','initialize','pBLtv','stepsAmbiguous','skipSessionName','finally','bgWhite','true','141480Ljolka','2549814FmLXxh','stepsFailed','\x20ambiguous','SDK_CLEANUP','join','bkeFM','SDK_SETUP','\x20failed','ymbQa','2541ztTsCv','turboScaleUrl','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20undefined','logLevel','saMdn','setupTCGAuth','FRAMEWORKS','\x20passed','cucumber-js','useW3C','eNJfD','proxySettings','then','258537JbedTt','exports','misrg','eUwFw','21520kqNGgR','\x20scenarios','YAaZM','SUnkX','../utils/constants','../../helpers/testhub/testhubHandler'];a5_0x2fdc=function(){return _0x13423a;};return a5_0x2fdc();}function printCucumberStats(_0x4db886){const _0x17c5d5=a5_0x451b00,_0x225b66={};_0x225b66[_0x17c5d5(0x1de)]=function(_0x195d55,_0x33fdd8){return _0x195d55>_0x33fdd8;},_0x225b66[_0x17c5d5(0x1ea)]=function(_0x150b18,_0x5e0fc1){return _0x150b18-_0x5e0fc1;},_0x225b66[_0x17c5d5(0x1e2)]=function(_0x5a1f29,_0x4de865){return _0x5a1f29-_0x4de865;},_0x225b66['lWUes']=function(_0x273e76,_0x325fa0){return _0x273e76>_0x325fa0;},_0x225b66[_0x17c5d5(0x1da)]=function(_0x1d1718,_0x18d9c1){return _0x1d1718>_0x18d9c1;},_0x225b66['xoyHf']=function(_0x38e1b4,_0x11627d){return _0x38e1b4>_0x11627d;},_0x225b66[_0x17c5d5(0x1d5)]=function(_0x50d6e8,_0x4ee7d3){return _0x50d6e8>_0x4ee7d3;},_0x225b66[_0x17c5d5(0x188)]=function(_0x4d0c93,_0x518920){return _0x4d0c93>_0x518920;},_0x225b66[_0x17c5d5(0x1be)]=function(_0x4b7445,_0x364964){return _0x4b7445>_0x364964;},_0x225b66[_0x17c5d5(0x1d0)]=function(_0x1f1170,_0x2683b6){return _0x1f1170>_0x2683b6;},_0x225b66[_0x17c5d5(0x1c8)]=function(_0x238350,_0x126bd5){return _0x238350>_0x126bd5;},_0x225b66[_0x17c5d5(0x1a3)]=function(_0x55b7b5,_0x24f33d){return _0x55b7b5+_0x24f33d;},_0x225b66['misrg']=function(_0x2b676f,_0x2b334f){return _0x2b676f+_0x2b334f;},_0x225b66['eSKbd']=function(_0x5e7c56,_0xadbc7d){return _0x5e7c56+_0xadbc7d;},_0x225b66['ApLQh']=function(_0x532bca,_0x2aae4f){return _0x532bca+_0x2aae4f;},_0x225b66['aOkif']=function(_0x158edd,_0x3afa4b){return _0x158edd+_0x3afa4b;},_0x225b66[_0x17c5d5(0x198)]=function(_0x14fa75,_0x939d86){return _0x14fa75+_0x939d86;},_0x225b66[_0x17c5d5(0x180)]=function(_0x189a35,_0x4874fe){return _0x189a35===_0x4874fe;},_0x225b66['ZPGzq']=_0x17c5d5(0x17d);const _0x28f8fe=_0x225b66;let _0x47215b=0x0;if(_0x28f8fe[_0x17c5d5(0x180)](_0x4db886[_0x17c5d5(0x1f0)],0x0))return _0x47215b;return console[_0x17c5d5(0x1e6)](chalk[_0x17c5d5(0x183)][_0x17c5d5(0x1a7)](_0x28f8fe[_0x17c5d5(0x1df)])),_0x4db886[_0x17c5d5(0x1d1)](_0x45339a=>{const _0x5d2ce3=_0x17c5d5,_0x30c79f=_0x45339a[0x0],_0xc8c918=_0x45339a[0x1];console[_0x5d2ce3(0x1e6)]('\x0a'+chalk['bold'][_0x5d2ce3(0x17e)](''+helper['getPlatformName'](_0x30c79f)));const _0xa4fa9d=_0xc8c918['scenarios'],_0x2591e0=_0xc8c918[_0x5d2ce3(0x1e1)],_0x4d44e1=_0xc8c918[_0x5d2ce3(0x195)],_0xd825fa=_0xc8c918[_0x5d2ce3(0x1ab)],_0x204394=_0xc8c918[_0x5d2ce3(0x1a0)],_0x18a7a6=_0xc8c918['stepsSkipped'],_0x48ef5d=_0xc8c918['stepsPending'],_0x4902d2=_0xc8c918[_0x5d2ce3(0x1ef)],_0x571df2=_0xc8c918[_0x5d2ce3(0x193)],_0x4830ee=_0xc8c918[_0x5d2ce3(0x1a4)],_0x47e06d=_0xc8c918[_0x5d2ce3(0x1db)];let _0x2f97e2=_0xa4fa9d+_0x5d2ce3(0x1c6);const _0x4cd47d=_0x28f8fe[_0x5d2ce3(0x1de)](_0x28f8fe[_0x5d2ce3(0x1ea)](_0xa4fa9d,_0x4d44e1),0x0)?_0x28f8fe[_0x5d2ce3(0x1e2)](_0xa4fa9d,_0x4d44e1):0x0;if(_0x28f8fe[_0x5d2ce3(0x191)](_0x4d44e1,0x0)&&_0x28f8fe[_0x5d2ce3(0x1da)](_0x4cd47d,0x0))_0x2f97e2+='\x20('+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x192)](_0x4d44e1+_0x5d2ce3(0x1b1))+',\x20'+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x1d9)](_0x4cd47d+_0x5d2ce3(0x1bb))+')';else(_0x28f8fe['xoyHf'](_0x4d44e1,0x0)||_0x28f8fe[_0x5d2ce3(0x1da)](_0x4cd47d,0x0))&&(_0x2f97e2+=_0x28f8fe[_0x5d2ce3(0x1da)](_0x4d44e1,0x0)?'\x20('+chalk[_0x5d2ce3(0x183)]['red'](_0x4d44e1+_0x5d2ce3(0x1b1))+')':'\x20('+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x1d9)](_0x4cd47d+_0x5d2ce3(0x1bb))+')');const _0x530b9a=_0x2591e0+'\x20steps',_0x20c9a9=[];_0x28f8fe[_0x5d2ce3(0x1d5)](_0x4830ee,0x0)&&_0x20c9a9['push'](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x192)](_0x4830ee+_0x5d2ce3(0x1ac)));_0x28f8fe[_0x5d2ce3(0x188)](_0xd825fa,0x0)&&_0x20c9a9[_0x5d2ce3(0x1ce)](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x192)](_0xd825fa+'\x20failed'));_0x28f8fe[_0x5d2ce3(0x1be)](_0x204394,0x0)&&_0x20c9a9[_0x5d2ce3(0x1ce)](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x1d9)](_0x204394+_0x5d2ce3(0x1bb)));_0x28f8fe['xoyHf'](_0x48ef5d,0x0)&&_0x20c9a9['push'](''+chalk[_0x5d2ce3(0x183)]['yellow'](_0x48ef5d+_0x5d2ce3(0x1a1)));_0x28f8fe['eNJfD'](_0x18a7a6,0x0)&&_0x20c9a9[_0x5d2ce3(0x1ce)](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x1cc)](_0x18a7a6+_0x5d2ce3(0x18b)));_0x28f8fe[_0x5d2ce3(0x1d0)](_0x4902d2,0x0)&&_0x20c9a9[_0x5d2ce3(0x1ce)](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x17e)](_0x4902d2+_0x5d2ce3(0x1b6)));_0x28f8fe[_0x5d2ce3(0x1c8)](_0x571df2,0x0)&&_0x20c9a9[_0x5d2ce3(0x1ce)](''+chalk[_0x5d2ce3(0x183)][_0x5d2ce3(0x17e)](_0x571df2+_0x5d2ce3(0x18b)));const _0x1902dc=_0x28f8fe[_0x5d2ce3(0x1a3)](_0x28f8fe[_0x5d2ce3(0x1c3)](_0x28f8fe[_0x5d2ce3(0x185)](_0x530b9a,'('),_0x20c9a9['join'](',\x20')),')');console[_0x5d2ce3(0x1e6)](_0x28f8fe[_0x5d2ce3(0x1f2)](_0x28f8fe[_0x5d2ce3(0x1d8)](_0x28f8fe[_0x5d2ce3(0x198)](_0x28f8fe[_0x5d2ce3(0x1f2)]('\x0a',_0x2f97e2),'\x0a'),_0x1902dc),'\x0a')),_0x28f8fe[_0x5d2ce3(0x180)](_0x47e06d,![])&&(_0x47215b=0x1);}),_0x47215b;}async function run(_0x3680b0,_0x647a68){const _0x228e42=a5_0x451b00,_0x5bfb08={'HSHgH':function(_0x1c4291,_0x2dcf30){return _0x1c4291(_0x2dcf30);},'XdwXK':function(_0x53b211,_0x205c76){return _0x53b211>_0x205c76;},'qTASg':'Generating\x20consolidated\x20report...','saMdn':_0x228e42(0x1b5),'wFyzz':_0x228e42(0x181),'bkeFM':'error\x20removing\x20tcg\x20config\x20file','RJOGI':_0x228e42(0x1bc),'JmYnY':_0x228e42(0x18d),'eUwFw':function(_0x4391c4,_0x488df8){return _0x4391c4-_0x488df8;},'YAaZM':function(_0x3ce373,_0x26253c){return _0x3ce373>=_0x26253c;},'tppCj':function(_0x126beb,_0x4a0762){return _0x126beb!=_0x4a0762;},'JYiSE':_0x228e42(0x1a8),'ymbQa':function(_0x1fd433,_0x7016ce,_0x3339c8,_0x408517,_0x27cfcb,_0x578551){return _0x1fd433(_0x7016ce,_0x3339c8,_0x408517,_0x27cfcb,_0x578551);}},_0x38ab95=new BrowserStackSetup(_0x3680b0,_0x5bfb08[_0x228e42(0x182)]);await _0x38ab95[_0x228e42(0x1a2)](),helper['setUserConfigPath'](_0x38ab95['framework'],_0x3680b0);!helper[_0x228e42(0x1e9)]()&&await _0x38ab95[_0x228e42(0x1b9)]();await helper[_0x228e42(0x1d2)](_0x38ab95[_0x228e42(0x1e3)]);const _0x287fb0=helper[_0x228e42(0x1bd)](_0x38ab95['config']),_0x4d4394=helper[_0x228e42(0x1f1)](_0x38ab95['config'],_0x287fb0,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x38ab95['config'])return;const _0xd7231d=_0x38ab95[_0x228e42(0x1e3)]['parallelsPerPlatform']||helper[_0x228e42(0x18c)](_0x3680b0,_0x647a68,_0x38ab95[_0x228e42(0x1e3)],constants['FRAMEWORKS'][_0x228e42(0x1e5)])||0x1,_0x3cb18a={'server':helper[_0x228e42(0x1eb)](_0x38ab95[_0x228e42(0x1e3)]),'proxySettings':_0x38ab95[_0x228e42(0x1e3)][_0x228e42(0x1bf)],'maxWorkers':_0xd7231d,'browserStackLogLevel':_0x38ab95[_0x228e42(0x1e3)][_0x228e42(0x1b7)],'skipSessionName':_0x38ab95[_0x228e42(0x1e3)][_0x228e42(0x1e0)][_0x228e42(0x1a5)],'skipSessionStatus':_0x38ab95['config'][_0x228e42(0x1e0)][_0x228e42(0x1cd)],'turboScaleUrl':_0x38ab95[_0x228e42(0x1e3)][_0x228e42(0x1b4)]},_0x54a4e1=process['argv'],[_0x3bde9c,_0x53b3a0]=helper[_0x228e42(0x1d7)](_0x54a4e1),_0x9b17cf=path[_0x228e42(0x1ae)](process['cwd'](),_0x5bfb08[_0x228e42(0x19b)]);if(_0x5bfb08[_0x228e42(0x1d6)](_0x53b3a0[_0x228e42(0x1f0)],0x0)){helper[_0x228e42(0x18a)](_0x9b17cf);for(let _0x5a0cd1=_0x5bfb08[_0x228e42(0x1c4)](_0x3bde9c[_0x228e42(0x1f0)],0x1);_0x5bfb08[_0x228e42(0x1c7)](_0x5a0cd1,0x0);_0x5a0cd1--){_0x54a4e1[_0x228e42(0x18e)](_0x3bde9c[_0x5a0cd1],0x2);}}!helper[_0x228e42(0x1ed)](_0x38ab95['config'][_0x228e42(0x1e8)])&&(process[_0x228e42(0x1dd)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x228e42(0x1cb)](_0x38ab95[_0x228e42(0x1e3)]['accessibilityOptions']));_0x5bfb08['tppCj'](_0x38ab95[_0x228e42(0x1e3)][_0x228e42(0x1e7)],null)?process[_0x228e42(0x1dd)][_0x228e42(0x1e4)]=_0x38ab95[_0x228e42(0x1e3)]['testObservability']:process['env'][_0x228e42(0x1e4)]=_0x5bfb08['JYiSE'];const _0x9b1590=await TestHubHandler['launchBuild'](constants[_0x228e42(0x1ba)]['CUCUMBER'],_0x38ab95);PerformanceTester['end'](PerformanceEvents[_0x228e42(0x1b0)]);let _0x263fd5;_0x5bfb08[_0x228e42(0x1b2)](parallelCucumberRun,_0x4d4394,_0x3cb18a,_0x38ab95[_0x228e42(0x1e3)],_0x54a4e1,_0x53b3a0)[_0x228e42(0x1c0)](async _0x1d2ebb=>{const _0x281937=_0x228e42;PerformanceTester['start'](PerformanceEvents[_0x281937(0x1ad)]),_0x263fd5=_0x1d2ebb;const _0x55f489=_0x5bfb08[_0x281937(0x190)](printCucumberStats,_0x1d2ebb);process[_0x281937(0x1f3)]=_0x55f489,_0x5bfb08[_0x281937(0x1d6)](_0x53b3a0[_0x281937(0x1f0)],0x0)&&(logger[_0x281937(0x187)](_0x5bfb08['qTASg']),helper[_0x281937(0x1d3)](_0x9b17cf,_0x53b3a0),logger[_0x281937(0x187)](_0x5bfb08[_0x281937(0x1b8)]),helper[_0x281937(0x1ee)](_0x9b17cf));})[_0x228e42(0x1a6)](async()=>{const _0xaf4923=_0x228e42;PerformanceTester[_0xaf4923(0x18f)](PerformanceEvents[_0xaf4923(0x1ad)]),_0x38ab95[_0xaf4923(0x1d4)]=helper[_0xaf4923(0x19e)](_0x263fd5,_0x5bfb08['wFyzz']),testOpsHelper[_0xaf4923(0x1dc)]();try{await TestHubHandler[_0xaf4923(0x17c)]();}catch(_0x58f178){logger[_0xaf4923(0x187)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0xaf4923(0x17f)](_0x58f178));}try{const {browserstackFolderPath:_0x46aa9d,tcgConfigPath:_0x388ff8}=helper['getTCGConfigFilePaths']();fs[_0xaf4923(0x184)](_0x388ff8),fs['rmdirSync'](_0x46aa9d);}catch(_0x49f40f){logger['debug'](_0x5bfb08[_0xaf4923(0x1af)],_0x49f40f);}await utilities[_0xaf4923(0x1f4)](_0x38ab95);});}module[a5_0x451b00(0x1c2)]=run;
|