browserstack-node-sdk 1.34.29 → 1.34.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.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
|
-
function a1_0x5305(_0x272bd7,_0x157157){const _0x57f8c1=a1_0x57f8();return a1_0x5305=function(_0x5305cf,_0x38fb55){_0x5305cf=_0x5305cf-0xee;let _0x598a76=_0x57f8c1[_0x5305cf];return _0x598a76;},a1_0x5305(_0x272bd7,_0x157157);}const a1_0x19650e=a1_0x5305;(function(_0xbd6b85,_0x33b913){const _0xb32662=a1_0x5305,_0x32268d=_0xbd6b85();while(!![]){try{const _0xc6dc42=-parseInt(_0xb32662(0x103))/0x1*(parseInt(_0xb32662(0xfd))/0x2)+parseInt(_0xb32662(0x110))/0x3*(-parseInt(_0xb32662(0x14b))/0x4)+parseInt(_0xb32662(0x160))/0x5*(-parseInt(_0xb32662(0x11e))/0x6)+parseInt(_0xb32662(0x151))/0x7*(parseInt(_0xb32662(0x116))/0x8)+-parseInt(_0xb32662(0x10c))/0x9+parseInt(_0xb32662(0x190))/0xa*(-parseInt(_0xb32662(0x140))/0xb)+parseInt(_0xb32662(0x153))/0xc;if(_0xc6dc42===_0x33b913)break;else _0x32268d['push'](_0x32268d['shift']());}catch(_0x210ad5){_0x32268d['push'](_0x32268d['shift']());}}}(a1_0x57f8,0x74193));const fs=require('fs'),util=require(a1_0x19650e(0x115)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x19650e(0x18a)),logger=require(a1_0x19650e(0x12f))[a1_0x19650e(0xf7)],testOpsHelper=require(a1_0x19650e(0x139)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x19650e(0x123)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x19650e(0x149)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x19650e(0x130)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x19650e(0x135)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x19650e(0x152)),testHubConstants=require(a1_0x19650e(0x11c)),CodeceptJS=requireModule(a1_0x19650e(0x13c),a1_0x19650e(0x11d)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x19650e(0x11d)),CodeceptWebDriver=requireModule(a1_0x19650e(0x193),a1_0x19650e(0x11d)),CodeceptRecorder=requireModule(a1_0x19650e(0x15c),a1_0x19650e(0x11d)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x19650e(0x11d)),playwrightMarkSessionStatus=(_0x2146e0,_0x5eb679,_0x1e63a3)=>{const _0x5246f4=a1_0x19650e,_0x1b4811={'JQjcI':'setSessionStatus','iQTTL':function(_0xb9c08,_0x1cff77){return _0xb9c08(_0x1cff77);}},_0x42375b={};_0x42375b[_0x5246f4(0x14e)]=_0x5eb679;const _0x22d05b={};_0x22d05b[_0x5246f4(0x155)]=_0x1b4811['JQjcI'],_0x22d05b['arguments']=_0x42375b;const _0xd73bac=_0x22d05b;return!_0x1b4811[_0x5246f4(0x18b)](isUndefined,_0x1e63a3)&&(_0xd73bac[_0x5246f4(0x192)][_0x5246f4(0x16c)]=JSON[_0x5246f4(0xfc)](_0x1e63a3)),_0x2146e0[_0x5246f4(0x186)](()=>{},_0x5246f4(0xff)+JSON[_0x5246f4(0xfc)](_0xd73bac));},o11ySync=async _0x382b2a=>{const _0xb3dcab=a1_0x19650e,_0x40ac42={};_0x40ac42[_0xb3dcab(0x104)]=function(_0x2315e7,_0x49a948){return _0x2315e7===_0x49a948;},_0x40ac42[_0xb3dcab(0x144)]=_0xb3dcab(0x18c);const _0x50d74c=_0x40ac42;_0x50d74c[_0xb3dcab(0x104)](_0x382b2a[_0xb3dcab(0x10a)][_0xb3dcab(0x15e)],_0x50d74c[_0xb3dcab(0x144)])?await _0x382b2a[_0xb3dcab(0x186)](_0x1548ed=>{},testOpsHelper[_0xb3dcab(0x18f)]()):await _0x382b2a['executeScript'](testOpsHelper['getSyncScript']());},markSessionName=async(_0x79684d,_0x53b148)=>{const _0x441ae1=a1_0x19650e,_0x668384={};_0x668384[_0x441ae1(0x179)]='setSessionName',_0x668384[_0x441ae1(0x13d)]=function(_0x419952,_0x248b46){return _0x419952===_0x248b46;},_0x668384[_0x441ae1(0x173)]='Playwright';const _0x27fbb1=_0x668384,_0xf304e4={};_0xf304e4[_0x441ae1(0x15e)]=_0x53b148;const _0x205193={};_0x205193[_0x441ae1(0x155)]=_0x27fbb1[_0x441ae1(0x179)],_0x205193[_0x441ae1(0x192)]=_0xf304e4;const _0x2c0dff=_0x205193;_0x27fbb1['CTwUO'](_0x79684d[_0x441ae1(0x10a)][_0x441ae1(0x15e)],_0x27fbb1[_0x441ae1(0x173)])?await _0x79684d[_0x441ae1(0x186)](()=>{},'browserstack_executor:\x20'+JSON[_0x441ae1(0xfc)](_0x2c0dff)):await _0x79684d['executeScript'](_0x441ae1(0xff)+JSON[_0x441ae1(0xfc)](_0x2c0dff));},patchSaveScreenshot=_0x5b40c9=>{const _0x4e90e6=a1_0x19650e,_0x1eb1f3={'YINsL':_0x4e90e6(0x158),'hbuhg':'TEST_SCREENSHOT','iCagw':function(_0x5e98da){return _0x5e98da();},'yaaqD':function(_0x3fb31b,_0x57d220){return _0x3fb31b(_0x57d220);}};_0x1eb1f3['yaaqD'](isTrue,process[_0x4e90e6(0x10e)][_0x4e90e6(0x165)])&&!_0x5b40c9[_0x4e90e6(0x108)]&&(_0x5b40c9[_0x4e90e6(0x108)]=!![],_0x5b40c9[_0x4e90e6(0x170)]=_0x5b40c9[_0x4e90e6(0x112)],_0x5b40c9[_0x4e90e6(0x112)]=(_0x1168a2,_0xcb98a4=![])=>{const _0x41b55c=_0x4e90e6,_0xebe13={'LgOkN':_0x1eb1f3[_0x41b55c(0x161)],'LaDEr':_0x1eb1f3[_0x41b55c(0x185)],'CPOSF':function(_0x414e96){return _0x1eb1f3['iCagw'](_0x414e96);}};return new Promise(function(_0x4534d5,_0x54a499){const _0x409cf9=_0x41b55c;_0x5b40c9[_0x409cf9(0x170)](_0x1168a2,_0xcb98a4)[_0x409cf9(0x131)](()=>{const _0x53fa91=_0x409cf9,_0x2fb35b=CodeceptUtils[_0x53fa91(0x16f)](_0x1168a2),_0x5482c7=fs['readFileSync'](_0x2fb35b);process[_0x53fa91(0x114)](_0x53fa91(0xf8)+process[_0x53fa91(0x125)],{'timestamp':new Date()['toISOString'](),'message':_0x5482c7[_0x53fa91(0x157)](_0xebe13[_0x53fa91(0x12e)]),'kind':_0xebe13[_0x53fa91(0x16b)]}),_0xebe13[_0x53fa91(0x124)](_0x4534d5);})[_0x409cf9(0xfb)](()=>null);});});},patchWebDriverBefore=_0x59473f=>{const _0x1c0cd1=a1_0x19650e,_0x3d3b6f={'omPOi':function(_0x52efb2){return _0x52efb2();},'IACDf':function(_0x3fe98d,_0x42fb3d){return _0x3fe98d(_0x42fb3d);},'HRotY':function(_0x197393,_0x19318a){return _0x197393===_0x19318a;},'WKpEJ':'Element','Obkym':function(_0x1e4b0d,_0x38074c){return _0x1e4b0d(_0x38074c);}},_0x2af184=async function(_0x1623d7,_0x1cb57b){const _0x2f5fbd=a1_0x5305;return _0x3d3b6f['omPOi'](isAccessibilityAutomationSession)&&!global[_0x2f5fbd(0x13e)]&&global[_0x2f5fbd(0x15d)]&&scripts['shouldWrapCommand'](_0x1623d7[_0x2f5fbd(0x15e)])&&_0x3d3b6f['IACDf'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2f5fbd(0x13e)]=!![],logger[_0x2f5fbd(0x17f)]('Performing\x20scan\x20for\x20'+_0x1623d7[_0x2f5fbd(0x172)]+'\x20'+_0x1623d7[_0x2f5fbd(0x15e)]),await AccessibilityHelper[_0x2f5fbd(0x11a)](_0x59473f,scripts['performScan'])),global[_0x2f5fbd(0x13e)]=![],_0x1cb57b['apply'](this,Array[_0x2f5fbd(0xee)]['slice']['call'](arguments,0x2));},_0x2c9ad6=CodeceptWebDriver[_0x1c0cd1(0xee)][_0x1c0cd1(0x10f)];CodeceptWebDriver[_0x1c0cd1(0xee)][_0x1c0cd1(0x10f)]=async function(){const _0x105201=_0x1c0cd1,_0x52eb36={'tsYJP':function(_0x5b3af6,_0xa2ce45){const _0x131d92=a1_0x5305;return _0x3d3b6f[_0x131d92(0x147)](_0x5b3af6,_0xa2ce45);},'SEoEM':_0x3d3b6f[_0x105201(0x17b)]};await _0x2c9ad6[_0x105201(0x106)](this,arguments),scripts['commandsToWrap'][_0x105201(0xf1)](_0x68526f=>_0x68526f[_0x105201(0x15e)]&&_0x68526f['class'])[_0x105201(0x121)](_0x4a9cc9=>{const _0x4d1226=_0x105201;this[_0x4d1226(0x16d)][_0x4d1226(0x17a)](_0x4a9cc9['name'],_0x2af184[_0x4d1226(0x176)](this,_0x4a9cc9),_0x52eb36[_0x4d1226(0x133)](_0x4a9cc9[_0x4d1226(0x172)],_0x52eb36['SEoEM']));}),_0x3d3b6f[_0x105201(0x141)](processWebDriverConfig,_0x59473f);};},patchPlaywrightBefore=()=>{const _0x4ea3b4=a1_0x19650e;PlaywrightSessionDetails[_0x4ea3b4(0xf5)]();const _0x3f29c5=CodeceptPlaywright[_0x4ea3b4(0xee)][_0x4ea3b4(0x10f)];CodeceptPlaywright[_0x4ea3b4(0xee)]['_before']=async function(){const _0x414de2=_0x4ea3b4;this[_0x414de2(0x13a)]=await this[_0x414de2(0x16d)][_0x414de2(0x128)]()[0x0],await _0x3f29c5[_0x414de2(0x106)](this,arguments);};},getCodeceptDriver=()=>{const _0x540aec=a1_0x19650e,_0x10c044={};_0x10c044[_0x540aec(0xf0)]=_0x540aec(0x177),_0x10c044['EDsnR']='Playwright',_0x10c044[_0x540aec(0x13b)]=_0x540aec(0x187),_0x10c044[_0x540aec(0x129)]=_0x540aec(0x11b);const _0x3509bb=_0x10c044,_0x53cc42=[_0x3509bb[_0x540aec(0xf0)],_0x3509bb['EDsnR'],_0x3509bb[_0x540aec(0x13b)],_0x3509bb[_0x540aec(0x129)]],_0x1ff1b8=_0x53cc42[_0x540aec(0x146)](_0x246c67=>!!CodeceptJS[_0x540aec(0x159)][_0x540aec(0x164)](_0x246c67));if(!_0x1ff1b8)return null;return CodeceptJS[_0x540aec(0x159)]['helpers'](_0x1ff1b8);};function a1_0x57f8(){const _0x3947e6=['bind','WebDriver','all','HcUGp','overwriteCommand','WKpEJ','stop','thBuildUuid','performScan','debug','OLQlI','HOOK_RUN_FINISHED','dispatcher','getResults','testAnalyticsId','hbuhg','executeScript','Puppeteer','saveTestResults','test','../../helpers/helper','iQTTL','Playwright','__workerDetails','after','getSyncScript','10MHlgnm','vNrXY','arguments','codeceptjs/lib/helper/WebDriver.js','prototype','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','Mymkk','filter','addRequestSpy','failed','started','patch','before','winstonLogger','bs:addLog:','HOOK_RUN_STARTED','add','catch','stringify','420Jkgusd','skipSessionName','browserstack_executor:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','fireEvent','4049xnKqUS','wWsPe','thTestRunUuid','apply','qVkCV','patchSaveScreenshot','comment','constructor','enabled','3755430nmRWdW','ENV_VAR','env','_before','6oWFKOX','captureEvent','saveScreenshot','bddStep','emit','util','2672DbDyoz','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','skipped','getAccessibilityResultsSummary','browserStackExecuteDriver','TestCafe','../../helpers/testhub/constants.js','codeceptjs','287034dGilCh','jrXMa','warn','forEach','xFTEj','../../bin/playwright/sessionDetails','CPOSF','pid','__skipSessionStatus','goAKz','contexts','tfwmS','step','bddStepStart','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','faWxf','LgOkN','../../helpers/logger','../../bin/playwright/accessibility-helper','then','kRmYI','tsYJP','Suite','../../helpers/performance-tester','titlePath','info','TEST_RUN_FINISHED','../../helpers/test-observability/utils','browserContext','pPOqH','codeceptjs/lib/index.js','CTwUO','bstackAllyScanning','title','8876747yeewWM','Obkym','FTUdv','BROWSERSTACK_TESTHUB_UUID','ToKSc','event','find','HRotY','ctx','./o11yHelper','YzdXW','236796ATcQdl','currentTest','TEST_RUN_SKIPPED','status','exports','format','5670NTqxdv','./helper.js','30497412FTsqgQ','rRzsZ','action','startMonitoring','toString','base64','container','skipSessionStatus','hook','codeceptjs/lib/recorder.js','accessibilityPlatform','name','__driver','15alfbRC','YINsL','ycasq','INFO','helpers','BS_TESTOPS_ALLOW_SCREENSHOTS','start','captureError','TEST_RUN_STARTED','aQhvn','getAccessibilityResults','LaDEr','reason','browser','restore','screenshotOutputFolder','initSaveScreenshot','getResultsSummary','class','eoyFU','iFGWv','gUumL'];a1_0x57f8=function(){return _0x3947e6;};return a1_0x57f8();}module[a1_0x19650e(0x14f)]=function(_0x3dc403){const _0x2410b4=a1_0x19650e,_0xaf473a={'qVkCV':_0x2410b4(0x100),'kRmYI':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jrXMa':function(_0x812016){return _0x812016();},'rRzsZ':function(_0x4e733f,_0x327fd9){return _0x4e733f(_0x327fd9);},'YzdXW':function(_0x755442,_0x54010d,_0xa01390){return _0x755442(_0x54010d,_0xa01390);},'FTUdv':function(_0xf32dae,_0x15668b){return _0xf32dae(_0x15668b);},'Iisnl':function(_0x441d3c,_0x2ae55c,_0x3067c0){return _0x441d3c(_0x2ae55c,_0x3067c0);},'ilakc':function(_0x47e47c,_0x536d01,_0x3beb9d,_0x37f176){return _0x47e47c(_0x536d01,_0x3beb9d,_0x37f176);},'vNrXY':function(_0x59202d,_0x3b8715,_0x36468c,_0x1e2ae1){return _0x59202d(_0x3b8715,_0x36468c,_0x1e2ae1);},'ePqyP':function(_0x41fcb1,_0x442450){return _0x41fcb1===_0x442450;},'gUumL':_0x2410b4(0x134),'iFGWv':_0x2410b4(0x12c),'faWxf':_0x2410b4(0x163),'OLQlI':'TEST_LOG','aQhvn':'Playwright','Emytx':function(_0x1ebb5e){return _0x1ebb5e();},'ycasq':function(_0x30be90,_0x28536c){return _0x30be90(_0x28536c);}};_0x3dc403[_0x2410b4(0x15a)]&&(global[_0x2410b4(0x126)]=_0x3dc403[_0x2410b4(0x15a)]);PerformanceTester[_0x2410b4(0x156)]();const _0x3e0c39=_0xaf473a[_0x2410b4(0x11f)](getCodeceptDriver),_0x3fe405=new O11yHelper(_0x3e0c39,_0x3dc403),_0x466192=!!CodeceptJS[_0x2410b4(0x159)][_0x2410b4(0x164)](_0xaf473a[_0x2410b4(0x169)]);global[_0x2410b4(0x15f)]=_0x3e0c39,_0x3e0c39&&(_0x466192?_0xaf473a['Emytx'](patchPlaywrightBefore):_0xaf473a[_0x2410b4(0x162)](patchWebDriverBefore,_0x3e0c39),_0x3e0c39[_0x2410b4(0x119)]=async()=>{const _0x280fec=_0x2410b4;if(global[_0x280fec(0x15d)])await AccessibilityHelper['browserStackExecuteDriver'](_0x3e0c39,scripts[_0x280fec(0x17e)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x3e0c39,scripts[_0x280fec(0x171)]);else return logger['warn'](_0xaf473a[_0x280fec(0x107)]),{};},_0x3e0c39[_0x2410b4(0x16a)]=async()=>{const _0x5b09b0=_0x2410b4;if(global[_0x5b09b0(0x15d)])await AccessibilityHelper[_0x5b09b0(0x11a)](_0x3e0c39,scripts['performScan']),await AccessibilityHelper[_0x5b09b0(0x11a)](_0x3e0c39,scripts[_0x5b09b0(0x183)]);else return logger[_0x5b09b0(0x120)](_0xaf473a[_0x5b09b0(0x132)]),{};},_0xaf473a['rRzsZ'](patchSaveScreenshot,_0x3e0c39)),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x178)][_0x2410b4(0xf6)],()=>{const _0x227631=_0x2410b4;try{_0x3fe405[_0x227631(0x166)](),testOpsHelper[_0x227631(0xf2)]();}catch(_0x59e32f){PerformanceTester[_0x227631(0x167)](_0x59e32f);}}),CodeceptJS[_0x2410b4(0x145)]['dispatcher']['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x178)][_0x2410b4(0x18e)],async()=>{const _0x5c9d59=_0x2410b4;try{requestSpy[_0x5c9d59(0x16e)](),await _0x3fe405[_0x5c9d59(0x17c)]();}catch(_0x51945e){PerformanceTester[_0x5c9d59(0x167)](_0x51945e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x15b)][_0x2410b4(0xf4)],_0x420354=>{const _0x67e2f=_0x2410b4;try{const _0x3e5ceb=_0x420354['ctx'][_0x67e2f(0x189)],_0x48cfaa=_0x3fe405['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3e5ceb);CodeceptRecorder['add'](()=>_0x3fe405[_0x67e2f(0x102)](TEST_EVENTS[_0x67e2f(0xf9)],_0x48cfaa));}catch(_0xcaf4b6){PerformanceTester['captureError'](_0xcaf4b6);}}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS['event'][_0x2410b4(0x15b)]['passed'],_0x3045b8=>{const _0x4d5d35=_0x2410b4;try{const _0x3203b4=_0x3045b8[_0x4d5d35(0x148)][_0x4d5d35(0x189)],_0x3474a5=_0x3fe405[_0x4d5d35(0x111)](TEST_EVENTS[_0x4d5d35(0x181)],_0x3203b4);CodeceptRecorder[_0x4d5d35(0xfa)](()=>_0x3fe405['fireEvent'](TEST_EVENTS[_0x4d5d35(0x181)],_0x3474a5));}catch(_0x335bff){PerformanceTester[_0x4d5d35(0x167)](_0x335bff);}}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x15b)][_0x2410b4(0xf3)],async(_0x14c2f9,_0x588c88)=>{const _0xbf8b3a=_0x2410b4;try{const _0x435055=_0x14c2f9[_0xbf8b3a(0x148)][_0xbf8b3a(0x189)],_0x3a9e4c=_0x3fe405[_0xbf8b3a(0x111)](TEST_EVENTS[_0xbf8b3a(0x181)],_0x435055,_0x588c88);CodeceptRecorder[_0xbf8b3a(0xfa)](()=>_0x3fe405[_0xbf8b3a(0x102)](TEST_EVENTS[_0xbf8b3a(0x181)],_0x3a9e4c));}catch(_0x14128e){PerformanceTester[_0xbf8b3a(0x167)](_0x14128e);}}),CodeceptJS[_0x2410b4(0x145)]['dispatcher']['on'](CodeceptJS[_0x2410b4(0x145)]['test']['before'],_0x5b3a9a=>{const _0x14bc57=_0x2410b4;try{_0xaf473a[_0x14bc57(0x11f)](isBrowserstackInfra)&&(_0x466192&&(global[_0x14bc57(0x18d)]={'currentTest':{'name':_0x5b3a9a[_0x14bc57(0x13f)],'testInfo':{'titlePath':_0x5b3a9a['titlePath']()}}}));}catch(_0x52bcb5){PerformanceTester[_0x14bc57(0x167)](_0x52bcb5);}}),CodeceptJS['event'][_0x2410b4(0x182)]['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x189)][_0x2410b4(0xf4)],_0x1cb967=>{const _0x242545=_0x2410b4;try{const _0x3e3247=_0x3fe405[_0x242545(0x111)](TEST_EVENTS[_0x242545(0x168)],_0x1cb967);CodeceptRecorder[_0x242545(0xfa)](()=>_0x3fe405[_0x242545(0x102)](TEST_EVENTS[_0x242545(0x168)],_0x3e3247)),CodeceptRecorder[_0x242545(0xfa)](async()=>{const _0x139016=_0x242545;_0xaf473a[_0x139016(0x11f)](isBrowserstackInfra)&&(!_0xaf473a[_0x139016(0x154)](isTrue,_0x3dc403[_0x139016(0xfe)])&&await _0xaf473a[_0x139016(0x14a)](markSessionName,_0x3e0c39,_0x1cb967[_0x139016(0x13f)]),_0x3fe405[_0x139016(0x10b)]&&await _0xaf473a[_0x139016(0x142)](o11ySync,_0x3e0c39));});}catch(_0x3050b6){PerformanceTester['captureError'](_0x3050b6);}}),CodeceptJS['event'][_0x2410b4(0x182)]['on'](CodeceptJS[_0x2410b4(0x145)]['test']['passed'],_0x22f17c=>{const _0x339241=_0x2410b4,_0x2ff955={'JmFcF':function(_0x43985e){const _0x4843b2=a1_0x5305;return _0xaf473a[_0x4843b2(0x11f)](_0x43985e);},'eMBAE':function(_0x4291de,_0x4455df,_0x5ba33a){return _0xaf473a['Iisnl'](_0x4291de,_0x4455df,_0x5ba33a);}};try{const _0x4eb758=_0x3fe405[_0x339241(0x111)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x22f17c);CodeceptRecorder[_0x339241(0xfa)](()=>_0x3fe405[_0x339241(0x102)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4eb758)),CodeceptRecorder[_0x339241(0xfa)](async()=>{_0x2ff955['JmFcF'](isBrowserstackInfra)&&(_0x466192?await _0x2ff955['eMBAE'](playwrightMarkSessionStatus,_0x3e0c39,STATE_PASSED):await _0x2ff955['eMBAE'](markSessionStatus,_0x3e0c39,STATE_PASSED));});}catch(_0x56f828){PerformanceTester['captureError'](_0x56f828);}}),CodeceptJS['event'][_0x2410b4(0x182)]['on'](CodeceptJS['event'][_0x2410b4(0x189)][_0x2410b4(0xf3)],(_0x499373,_0x3591a0)=>{const _0x588d6d=_0x2410b4,_0x243361={'xFTEj':function(_0x3d0295){const _0x2332ab=a1_0x5305;return _0xaf473a[_0x2332ab(0x11f)](_0x3d0295);},'wlUJc':function(_0x38bb36,_0x582160,_0x25ffb8,_0x2b8fd7){return _0xaf473a['ilakc'](_0x38bb36,_0x582160,_0x25ffb8,_0x2b8fd7);},'goAKz':function(_0x39ee2b,_0x30393a,_0x5c16ed,_0x4e276a){const _0x461c99=a1_0x5305;return _0xaf473a[_0x461c99(0x191)](_0x39ee2b,_0x30393a,_0x5c16ed,_0x4e276a);}};try{if(_0xaf473a['ePqyP'](_0x499373[_0x588d6d(0x10a)][_0x588d6d(0x15e)],_0xaf473a[_0x588d6d(0x175)])){const _0x24a379=_0x3fe405[_0x588d6d(0x111)](TEST_EVENTS[_0x588d6d(0x14d)],_0x499373[_0x588d6d(0x148)][_0x588d6d(0x14c)]);CodeceptRecorder[_0x588d6d(0xfa)](()=>_0x3fe405['fireEvent'](TEST_EVENTS[_0x588d6d(0x14d)],_0x24a379));}else{const _0x390ed7=_0x3fe405['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x499373,_0x3591a0);CodeceptRecorder[_0x588d6d(0xfa)](()=>{const _0x3a9682=_0x588d6d;try{_0x3fe405[_0x3a9682(0x102)](TEST_EVENTS[_0x3a9682(0x138)],_0x390ed7);}catch(_0x423513){logger[_0x3a9682(0x17f)](_0x3a9682(0xef)+util['format'](_0x423513));}}),CodeceptRecorder[_0x588d6d(0xfa)](async()=>{const _0xe4b279=_0x588d6d;try{_0x243361[_0xe4b279(0x122)](isBrowserstackInfra)&&(_0x466192?await _0x243361['wlUJc'](playwrightMarkSessionStatus,_0x3e0c39,STATE_FAILED,_0x3591a0):await _0x243361[_0xe4b279(0x127)](markSessionStatus,_0x3e0c39,STATE_FAILED,_0x3591a0));}catch(_0x1e1c1b){logger[_0xe4b279(0x17f)](_0xe4b279(0x101)+util[_0xe4b279(0x150)](_0x1e1c1b));}});}}catch(_0x4b776c){PerformanceTester[_0x588d6d(0x167)](_0x4b776c);}}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS[_0x2410b4(0x145)]['test'][_0x2410b4(0x118)],_0x24b55f=>{const _0x285866=_0x2410b4;try{const _0x32732e=_0x3fe405[_0x285866(0x111)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x24b55f);CodeceptRecorder[_0x285866(0xfa)](()=>_0x3fe405[_0x285866(0x102)](TEST_EVENTS[_0x285866(0x14d)],_0x32732e));}catch(_0x33f8b6){PerformanceTester[_0x285866(0x167)](_0x33f8b6);}}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS['event']['test'][_0x2410b4(0x18e)],async(_0xa6adda,_0x47b025)=>{const _0x5947eb=_0x2410b4;try{if(_0xaf473a['jrXMa'](isBrowserstackInfra)){const _0x2d4325=_0xaf473a[_0x5947eb(0x14a)](shouldScanTestForAccessibility,_0xa6adda[_0x5947eb(0x136)](),!![]);if(_0xaf473a[_0x5947eb(0x11f)](isAccessibilityAutomationSession)&&global[_0x5947eb(0x15d)]&&_0x2d4325){const _0x421fb4={};_0x421fb4[_0x5947eb(0x105)]=_0xa6adda[_0x5947eb(0x184)],_0x421fb4[_0x5947eb(0x17d)]=process[_0x5947eb(0x10e)][testHubConstants[_0x5947eb(0x10d)][_0x5947eb(0x143)]],_0x421fb4['thJwtToken']=process[_0x5947eb(0x10e)][testHubConstants[_0x5947eb(0x10d)]['BROWSERSTACK_TESTHUB_JWT']];const _0x517163=_0x421fb4;logger[_0x5947eb(0x17f)](_0x5947eb(0x117)+JSON[_0x5947eb(0xfc)](_0x517163)),CodeceptRecorder[_0x5947eb(0xfa)](async()=>{const _0x23bbfa=_0x5947eb;await AccessibilityHelper[_0x23bbfa(0x11a)](_0x3e0c39,scripts[_0x23bbfa(0x17e)]),await AccessibilityHelper[_0x23bbfa(0x11a)](_0x3e0c39,scripts[_0x23bbfa(0x188)],_0x517163);}),logger[_0x5947eb(0x137)](_0xaf473a[_0x5947eb(0x174)]);}}}catch(_0x44b17b){PerformanceTester['captureError'](_0x44b17b);}}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS['event'][_0x2410b4(0x12a)][_0x2410b4(0x109)],_0x57f842=>{const _0x12afc2=_0x2410b4;try{process[_0x12afc2(0x114)](_0x12afc2(0xf8)+process[_0x12afc2(0x125)],{'timestamp':new Date()['toISOString'](),'level':_0xaf473a[_0x12afc2(0x12d)],'message':_0x57f842,'kind':_0xaf473a[_0x12afc2(0x180)],'http_response':{}});}catch(_0x93da4e){PerformanceTester[_0x12afc2(0x167)](_0x93da4e);}}),CodeceptJS[_0x2410b4(0x145)]['dispatcher']['on'](CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x113)][_0x2410b4(0xf6)],_0x2fb9e4=>{const _0x5655b4=_0x2410b4;_0x3fe405[_0x5655b4(0x12b)](_0x2fb9e4);}),CodeceptJS[_0x2410b4(0x145)][_0x2410b4(0x182)]['on'](CodeceptJS['event'][_0x2410b4(0x113)][_0x2410b4(0x18e)],_0x4eea71=>{_0x3fe405['bddStepFinish'](_0x4eea71);});};
|
|
1
|
+
const a1_0x3176ba=a1_0x342a;(function(_0x3b44f9,_0x13659f){const _0x2e3de3=a1_0x342a,_0x3438ed=_0x3b44f9();while(!![]){try{const _0x32cf03=-parseInt(_0x2e3de3(0x16d))/0x1*(-parseInt(_0x2e3de3(0x166))/0x2)+parseInt(_0x2e3de3(0x11c))/0x3+-parseInt(_0x2e3de3(0x116))/0x4*(-parseInt(_0x2e3de3(0x141))/0x5)+-parseInt(_0x2e3de3(0x111))/0x6+parseInt(_0x2e3de3(0x191))/0x7+-parseInt(_0x2e3de3(0x12c))/0x8*(parseInt(_0x2e3de3(0x14d))/0x9)+-parseInt(_0x2e3de3(0x115))/0xa;if(_0x32cf03===_0x13659f)break;else _0x3438ed['push'](_0x3438ed['shift']());}catch(_0x1dec09){_0x3438ed['push'](_0x3438ed['shift']());}}}(a1_0x3e5d,0xe73a2));function a1_0x3e5d(){const _0x16d167=['bs:addLog:','performScan','HqQTH','debug','hook','bddStepStart','captureEvent','dMbzA','captureError','Playwright','constructor','initSaveScreenshot','titlePath','reason','patch','skipped','YOQQg','prototype','fireEvent','8625084yuOusx','bddStepFinish','Puppeteer','emit','5361760jkNsUh','342196UHVUGO','DGmSt','./o11yHelper','forEach','action','mYHxj','1214346asnrKT','helpers','stop','env','skipSessionStatus','IlVhU','skipSessionName','screenshotOutputFolder','LQYQf','testAnalyticsId','xaaNR','HLSDA','../../bin/playwright/accessibility-helper','IRkQz','contexts','after','69064JkYrjH','ENV_VAR','enabled','ALGOO','readFileSync','pid','rGylm','codeceptjs/lib/helper/WebDriver.js','thTestRunUuid','before','browser','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','vgrbu','step','winstonLogger','./helper.js','thBuildUuid','TEST_RUN_SKIPPED','stopMonitoring','../../helpers/accessibility-automation/scripts','comment','95KYSFTj','MZdXb','bzJJK','toISOString','arguments','_before','saveTestResults','HOOK_RUN_FINISHED','setSessionName','failed','class','QrIgt','1503sKDjtM','qlSgb','bind','oJiaz','ctx','tRATb','TEST_SCREENSHOT','HMBIP','accessibilityPlatform','title','Yukqj','shouldWrapCommand','filter','executeScript','PRtgS','lTZVY','browserStackExecuteDriver','qQXsh','PiXbW','patchSaveScreenshot','status','util','bstackAllyScanning','container','../../bin/playwright/sessionDetails','191494UyevHk','event','start','iRocb','RUjty','zeOPR','format','11SkVEyF','HOOK_RUN_STARTED','getResults','codeceptjs','started','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../helpers/accessibility-automation/helper','bddStep','codeceptjs/lib/utils.js','then','jaEyR','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','add','TEST_RUN_FINISHED','browserstack_executor:\x20','BROWSERSTACK_TESTHUB_JWT','MTzRi','getResultsSummary','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','gsSQk','Element','YBmHJ','getSyncScript','warn','TEST_RUN_STARTED','all','passed','PDWct','getAccessibilityResultsSummary','codeceptjs/lib/recorder.js','../../helpers/testhub/constants.js','MqZzT','dispatcher','codeceptjs/lib/index.js','RWaPH','8953539GWXmKB','Performing\x20scan\x20for\x20','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','WebDriver','base64','saveScreenshot','overwriteCommand','apply','find','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','name','exports','__driver','test'];a1_0x3e5d=function(){return _0x16d167;};return a1_0x3e5d();}const fs=require('fs'),util=require(a1_0x3176ba(0x162)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x3176ba(0x13a)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x3176ba(0x165)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3176ba(0x118)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3176ba(0x173)),AccessibilityHelper=require(a1_0x3176ba(0x128)),scripts=require(a1_0x3176ba(0x13f)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3176ba(0x13b)),testHubConstants=require(a1_0x3176ba(0x18c)),CodeceptJS=requireModule(a1_0x3176ba(0x18f),a1_0x3176ba(0x170)),CodeceptUtils=requireModule(a1_0x3176ba(0x175),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x3176ba(0x133),a1_0x3176ba(0x170)),CodeceptRecorder=requireModule(a1_0x3176ba(0x18b),a1_0x3176ba(0x170)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x3176ba(0x170)),playwrightMarkSessionStatus=(_0xadd156,_0x531937,_0x24a8dd)=>{const _0x18382d=a1_0x3176ba,_0x687c4e={'MYddy':'setSessionStatus','IZrHd':function(_0x43a62a,_0x491c22){return _0x43a62a(_0x491c22);}},_0x3f8245={};_0x3f8245[_0x18382d(0x161)]=_0x531937;const _0x1579f0={};_0x1579f0[_0x18382d(0x11a)]=_0x687c4e['MYddy'],_0x1579f0[_0x18382d(0x145)]=_0x3f8245;const _0x490788=_0x1579f0;return!_0x687c4e['IZrHd'](isUndefined,_0x24a8dd)&&(_0x490788[_0x18382d(0x145)][_0x18382d(0x10b)]=JSON[_0x18382d(0x193)](_0x24a8dd)),_0xadd156[_0x18382d(0x15a)](()=>{},_0x18382d(0x17b)+JSON[_0x18382d(0x193)](_0x490788));},o11ySync=async _0x38af72=>{const _0x54e382=a1_0x3176ba,_0x24c79a={};_0x24c79a[_0x54e382(0x1a2)]=function(_0x1090ac,_0x49cbc1){return _0x1090ac===_0x49cbc1;},_0x24c79a['mYHxj']=_0x54e382(0x107);const _0x547645=_0x24c79a;_0x547645[_0x54e382(0x1a2)](_0x38af72[_0x54e382(0x108)][_0x54e382(0x19c)],_0x547645[_0x54e382(0x11b)])?await _0x38af72[_0x54e382(0x15a)](_0x3789db=>{},testOpsHelper[_0x54e382(0x184)]()):await _0x38af72['executeScript'](testOpsHelper[_0x54e382(0x184)]());},markSessionName=async(_0x26b136,_0x295133)=>{const _0x319eaa=a1_0x3176ba,_0x2f2e06={};_0x2f2e06[_0x319eaa(0x169)]=_0x319eaa(0x149),_0x2f2e06[_0x319eaa(0x15c)]=function(_0x54e00d,_0x5a6d96){return _0x54e00d===_0x5a6d96;},_0x2f2e06['xaaNR']=_0x319eaa(0x107);const _0x32f943=_0x2f2e06,_0x3c2596={};_0x3c2596[_0x319eaa(0x19c)]=_0x295133;const _0x54fe85={};_0x54fe85[_0x319eaa(0x11a)]=_0x32f943[_0x319eaa(0x169)],_0x54fe85[_0x319eaa(0x145)]=_0x3c2596;const _0x417992=_0x54fe85;_0x32f943['lTZVY'](_0x26b136['constructor'][_0x319eaa(0x19c)],_0x32f943[_0x319eaa(0x126)])?await _0x26b136[_0x319eaa(0x15a)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x417992)):await _0x26b136[_0x319eaa(0x15a)]('browserstack_executor:\x20'+JSON[_0x319eaa(0x193)](_0x417992));},patchSaveScreenshot=_0x1a3f77=>{const _0x3e3ac2=a1_0x3176ba,_0xc761d2={'RUjty':_0x3e3ac2(0x196),'bzJJK':_0x3e3ac2(0x153),'Yukqj':function(_0x7b99af){return _0x7b99af();},'gsSQk':function(_0x2ab90e,_0x1ad569){return _0x2ab90e(_0x1ad569);}};_0xc761d2[_0x3e3ac2(0x181)](isTrue,process[_0x3e3ac2(0x11f)][_0x3e3ac2(0x194)])&&!_0x1a3f77['patchSaveScreenshot']&&(_0x1a3f77[_0x3e3ac2(0x160)]=!![],_0x1a3f77[_0x3e3ac2(0x109)]=_0x1a3f77[_0x3e3ac2(0x197)],_0x1a3f77[_0x3e3ac2(0x197)]=(_0x3fbd45,_0x4fc435=![])=>{const _0x38fbbf=_0x3e3ac2,_0x44c97f={'RWaPH':_0xc761d2[_0x38fbbf(0x16a)],'YOQQg':_0xc761d2[_0x38fbbf(0x143)],'jaEyR':function(_0x474512){const _0x47da86=_0x38fbbf;return _0xc761d2[_0x47da86(0x157)](_0x474512);}};return new Promise(function(_0x40e5aa,_0x11deef){const _0x1bb226=_0x38fbbf;_0x1a3f77[_0x1bb226(0x109)](_0x3fbd45,_0x4fc435)[_0x1bb226(0x176)](()=>{const _0x58c182=_0x1bb226,_0x73626a=CodeceptUtils[_0x58c182(0x123)](_0x3fbd45),_0x2bff64=fs[_0x58c182(0x130)](_0x73626a);process[_0x58c182(0x114)]('bs:addLog:'+process[_0x58c182(0x131)],{'timestamp':new Date()[_0x58c182(0x144)](),'message':_0x2bff64['toString'](_0x44c97f[_0x58c182(0x190)]),'kind':_0x44c97f[_0x58c182(0x10e)]}),_0x44c97f[_0x58c182(0x177)](_0x40e5aa);})['catch'](()=>null);});});},patchWebDriverBefore=_0x5ab330=>{const _0x8d795d=a1_0x3176ba,_0x1f1035={'PDWct':function(_0x38ab45){return _0x38ab45();},'qQXsh':function(_0x469b03,_0x52b1d1){return _0x469b03(_0x52b1d1);},'zeOPR':function(_0x528566,_0x934235){return _0x528566===_0x934235;},'MqZzT':_0x8d795d(0x182)},_0x579bf8=async function(_0xa67127,_0x2c9631){const _0x447a80=_0x8d795d;return _0x1f1035[_0x447a80(0x189)](isAccessibilityAutomationSession)&&!global[_0x447a80(0x163)]&&global[_0x447a80(0x155)]&&scripts[_0x447a80(0x158)](_0xa67127[_0x447a80(0x19c)])&&_0x1f1035[_0x447a80(0x15e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x447a80(0x1a3)](_0x447a80(0x192)+_0xa67127[_0x447a80(0x14b)]+'\x20'+_0xa67127[_0x447a80(0x19c)]),await AccessibilityHelper[_0x447a80(0x15d)](_0x5ab330,scripts[_0x447a80(0x1a1)])),global['bstackAllyScanning']=![],_0x2c9631['apply'](this,Array[_0x447a80(0x10f)]['slice']['call'](arguments,0x2));},_0x3d0ebb=CodeceptWebDriver[_0x8d795d(0x10f)][_0x8d795d(0x146)];CodeceptWebDriver['prototype'][_0x8d795d(0x146)]=async function(){const _0x1f6f94=_0x8d795d;await _0x3d0ebb['apply'](this,arguments),scripts['commandsToWrap'][_0x1f6f94(0x159)](_0x679469=>_0x679469[_0x1f6f94(0x19c)]&&_0x679469[_0x1f6f94(0x14b)])[_0x1f6f94(0x119)](_0xf4358b=>{const _0x2c1504=_0x1f6f94;this['browser'][_0x2c1504(0x198)](_0xf4358b[_0x2c1504(0x19c)],_0x579bf8[_0x2c1504(0x14f)](this,_0xf4358b),_0x1f1035[_0x2c1504(0x16b)](_0xf4358b[_0x2c1504(0x14b)],_0x1f1035[_0x2c1504(0x18d)]));}),_0x1f1035[_0x1f6f94(0x15e)](processWebDriverConfig,_0x5ab330);};},patchPlaywrightBefore=()=>{const _0x19d2bd=a1_0x3176ba;PlaywrightSessionDetails[_0x19d2bd(0x10c)]();const _0x2d56f2=CodeceptPlaywright[_0x19d2bd(0x10f)]['_before'];CodeceptPlaywright[_0x19d2bd(0x10f)][_0x19d2bd(0x146)]=async function(){const _0x519418=_0x19d2bd;this['browserContext']=await this[_0x519418(0x136)][_0x519418(0x12a)]()[0x0],await _0x2d56f2[_0x519418(0x199)](this,arguments);};},getCodeceptDriver=()=>{const _0x13a050=a1_0x3176ba,_0x328ffa={};_0x328ffa['DGmSt']=_0x13a050(0x195),_0x328ffa[_0x13a050(0x138)]=_0x13a050(0x107),_0x328ffa['dMbzA']=_0x13a050(0x113),_0x328ffa['tRATb']='TestCafe';const _0x4da112=_0x328ffa,_0x176e47=[_0x4da112[_0x13a050(0x117)],_0x4da112[_0x13a050(0x138)],_0x4da112[_0x13a050(0x105)],_0x4da112[_0x13a050(0x152)]],_0x1b924d=_0x176e47[_0x13a050(0x19a)](_0x57b151=>!!CodeceptJS[_0x13a050(0x164)][_0x13a050(0x11d)](_0x57b151));if(!_0x1b924d)return null;return CodeceptJS['container'][_0x13a050(0x11d)](_0x1b924d);};function a1_0x342a(_0x24002f,_0x37100c){const _0x3e5d3f=a1_0x3e5d();return a1_0x342a=function(_0x342a0e,_0x16f5ff){_0x342a0e=_0x342a0e-0x103;let _0x514aca=_0x3e5d3f[_0x342a0e];return _0x514aca;},a1_0x342a(_0x24002f,_0x37100c);}module[a1_0x3176ba(0x19d)]=function(_0xd2488c){const _0x4e6f43=a1_0x3176ba,_0x436f2a={'PRtgS':_0x4e6f43(0x180),'rGylm':_0x4e6f43(0x178),'MTzRi':function(_0x231ca5){return _0x231ca5();},'IlVhU':function(_0x2a89d3,_0x4ecb28){return _0x2a89d3(_0x4ecb28);},'ALGOO':function(_0x48bdd7,_0x889df0,_0x1b86ca){return _0x48bdd7(_0x889df0,_0x1b86ca);},'QrIgt':function(_0x39534e){return _0x39534e();},'HLSDA':function(_0x3f82c8){return _0x3f82c8();},'PiXbW':function(_0x1ff70c,_0x2bdee5,_0x588c8b,_0x33536a){return _0x1ff70c(_0x2bdee5,_0x588c8b,_0x33536a);},'HMBIP':function(_0x55f92c,_0x11028d){return _0x55f92c===_0x11028d;},'IRkQz':'Suite','LQYQf':function(_0x4ae197){return _0x4ae197();},'qvrDN':_0x4e6f43(0x17f),'MZdXb':'INFO','bRxcc':'TEST_LOG','hQFXd':'Playwright','PmDdn':function(_0x214625,_0x3495b8){return _0x214625(_0x3495b8);},'YBmHJ':function(_0x148410,_0x2e5015){return _0x148410(_0x2e5015);}};_0xd2488c[_0x4e6f43(0x120)]&&(global['__skipSessionStatus']=_0xd2488c[_0x4e6f43(0x120)]);PerformanceTester['startMonitoring']();const _0x5ac094=_0x436f2a[_0x4e6f43(0x17d)](getCodeceptDriver),_0x402acb=new O11yHelper(_0x5ac094,_0xd2488c),_0xa8610e=!!CodeceptJS[_0x4e6f43(0x164)]['helpers'](_0x436f2a['hQFXd']);global[_0x4e6f43(0x19e)]=_0x5ac094,_0x5ac094&&(_0xa8610e?_0x436f2a[_0x4e6f43(0x14c)](patchPlaywrightBefore):_0x436f2a['PmDdn'](patchWebDriverBefore,_0x5ac094),_0x5ac094[_0x4e6f43(0x18a)]=async()=>{const _0x265bf0=_0x4e6f43;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x5ac094,scripts['performScan']),await AccessibilityHelper[_0x265bf0(0x15d)](_0x5ac094,scripts[_0x265bf0(0x17e)]);else return logger['warn'](_0x436f2a[_0x265bf0(0x15b)]),{};},_0x5ac094['getAccessibilityResults']=async()=>{const _0xe991e=_0x4e6f43;if(global[_0xe991e(0x155)])await AccessibilityHelper[_0xe991e(0x15d)](_0x5ac094,scripts[_0xe991e(0x1a1)]),await AccessibilityHelper[_0xe991e(0x15d)](_0x5ac094,scripts[_0xe991e(0x16f)]);else return logger[_0xe991e(0x185)](_0x436f2a[_0xe991e(0x132)]),{};},_0x436f2a[_0x4e6f43(0x183)](patchSaveScreenshot,_0x5ac094)),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS['event'][_0x4e6f43(0x187)]['before'],()=>{const _0x3b430f=_0x4e6f43;try{_0x402acb[_0x3b430f(0x168)](),testOpsHelper['addRequestSpy']();}catch(_0x58da70){PerformanceTester[_0x3b430f(0x106)](_0x58da70);}}),CodeceptJS['event'][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x187)][_0x4e6f43(0x12b)],async()=>{const _0x591568=_0x4e6f43;try{requestSpy['restore'](),await _0x402acb[_0x591568(0x11e)]();}catch(_0x17fee7){PerformanceTester['captureError'](_0x17fee7);}finally{PerformanceTester[_0x591568(0x13e)]();}}),CodeceptJS['event'][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x1a4)]['started'],_0x27f48b=>{const _0x3e7f1a=_0x4e6f43;try{const _0x326aab=_0x27f48b['ctx']['test'],_0x554e99=_0x402acb[_0x3e7f1a(0x104)](TEST_EVENTS[_0x3e7f1a(0x16e)],_0x326aab);CodeceptRecorder[_0x3e7f1a(0x179)](()=>_0x402acb[_0x3e7f1a(0x110)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x554e99));}catch(_0x569e1c){PerformanceTester[_0x3e7f1a(0x106)](_0x569e1c);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x1a4)]['passed'],_0x56028b=>{const _0x3ce198=_0x4e6f43;try{const _0x17f76e=_0x56028b['ctx']['test'],_0x32dbef=_0x402acb[_0x3ce198(0x104)](TEST_EVENTS[_0x3ce198(0x148)],_0x17f76e);CodeceptRecorder['add'](()=>_0x402acb[_0x3ce198(0x110)](TEST_EVENTS[_0x3ce198(0x148)],_0x32dbef));}catch(_0x5663e4){PerformanceTester[_0x3ce198(0x106)](_0x5663e4);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS['event'][_0x4e6f43(0x1a4)][_0x4e6f43(0x14a)],async(_0xe31d5f,_0x5b9e59)=>{const _0x2a6dd5=_0x4e6f43;try{const _0x4b366f=_0xe31d5f[_0x2a6dd5(0x151)][_0x2a6dd5(0x19f)],_0x5695a5=_0x402acb[_0x2a6dd5(0x104)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4b366f,_0x5b9e59);CodeceptRecorder[_0x2a6dd5(0x179)](()=>_0x402acb[_0x2a6dd5(0x110)](TEST_EVENTS[_0x2a6dd5(0x148)],_0x5695a5));}catch(_0x27e30f){PerformanceTester['captureError'](_0x27e30f);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)]['before'],_0x1fe008=>{const _0x5e3994=_0x4e6f43;try{_0x436f2a[_0x5e3994(0x17d)](isBrowserstackInfra)&&(_0xa8610e&&(global['__workerDetails']={'currentTest':{'name':_0x1fe008[_0x5e3994(0x156)],'testInfo':{'titlePath':_0x1fe008['titlePath']()}}}));}catch(_0x468907){PerformanceTester[_0x5e3994(0x106)](_0x468907);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)]['test'][_0x4e6f43(0x171)],_0x5279e7=>{const _0x35dd84=_0x4e6f43;try{const _0x339e57=_0x402acb[_0x35dd84(0x104)](TEST_EVENTS[_0x35dd84(0x186)],_0x5279e7);CodeceptRecorder[_0x35dd84(0x179)](()=>_0x402acb[_0x35dd84(0x110)](TEST_EVENTS[_0x35dd84(0x186)],_0x339e57)),CodeceptRecorder[_0x35dd84(0x179)](async()=>{const _0x350a12=_0x35dd84;_0x436f2a[_0x350a12(0x17d)](isBrowserstackInfra)&&(!_0x436f2a['IlVhU'](isTrue,_0xd2488c[_0x350a12(0x122)])&&await _0x436f2a[_0x350a12(0x12f)](markSessionName,_0x5ac094,_0x5279e7[_0x350a12(0x156)]),_0x402acb[_0x350a12(0x12e)]&&await _0x436f2a[_0x350a12(0x121)](o11ySync,_0x5ac094));});}catch(_0x8e4469){PerformanceTester[_0x35dd84(0x106)](_0x8e4469);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x188)],_0x551dbb=>{const _0x10fd2b=_0x4e6f43,_0x483da6={'oJiaz':function(_0x1b87c1){return _0x436f2a['QrIgt'](_0x1b87c1);},'qlSgb':function(_0x1c5ac6,_0x4acf85,_0x16aa6b){const _0x462d7a=a1_0x342a;return _0x436f2a[_0x462d7a(0x12f)](_0x1c5ac6,_0x4acf85,_0x16aa6b);}};try{const _0x4f8c30=_0x402acb[_0x10fd2b(0x104)](TEST_EVENTS[_0x10fd2b(0x17a)],_0x551dbb);CodeceptRecorder[_0x10fd2b(0x179)](()=>_0x402acb[_0x10fd2b(0x110)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4f8c30)),CodeceptRecorder[_0x10fd2b(0x179)](async()=>{const _0x4d363f=_0x10fd2b;_0x483da6[_0x4d363f(0x150)](isBrowserstackInfra)&&(_0xa8610e?await _0x483da6[_0x4d363f(0x14e)](playwrightMarkSessionStatus,_0x5ac094,STATE_PASSED):await _0x483da6[_0x4d363f(0x14e)](markSessionStatus,_0x5ac094,STATE_PASSED));});}catch(_0x275035){PerformanceTester['captureError'](_0x275035);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x14a)],(_0x2d9695,_0x527a8e)=>{const _0x8f14a9=_0x4e6f43;try{if(_0x436f2a[_0x8f14a9(0x154)](_0x2d9695[_0x8f14a9(0x108)][_0x8f14a9(0x19c)],_0x436f2a[_0x8f14a9(0x129)])){const _0x26b8f9=_0x402acb[_0x8f14a9(0x104)](TEST_EVENTS[_0x8f14a9(0x13d)],_0x2d9695[_0x8f14a9(0x151)]['currentTest']);CodeceptRecorder[_0x8f14a9(0x179)](()=>_0x402acb['fireEvent'](TEST_EVENTS[_0x8f14a9(0x13d)],_0x26b8f9));}else{const _0xee261e=_0x402acb[_0x8f14a9(0x104)](TEST_EVENTS[_0x8f14a9(0x17a)],_0x2d9695,_0x527a8e);CodeceptRecorder['add'](()=>{const _0x1b2784=_0x8f14a9;try{_0x402acb[_0x1b2784(0x110)](TEST_EVENTS[_0x1b2784(0x17a)],_0xee261e);}catch(_0x56fe93){logger['debug'](_0x1b2784(0x19b)+util[_0x1b2784(0x16c)](_0x56fe93));}}),CodeceptRecorder[_0x8f14a9(0x179)](async()=>{const _0x12cd65=_0x8f14a9;try{_0x436f2a[_0x12cd65(0x127)](isBrowserstackInfra)&&(_0xa8610e?await _0x436f2a[_0x12cd65(0x15f)](playwrightMarkSessionStatus,_0x5ac094,STATE_FAILED,_0x527a8e):await _0x436f2a[_0x12cd65(0x15f)](markSessionStatus,_0x5ac094,STATE_FAILED,_0x527a8e));}catch(_0x351aac){logger[_0x12cd65(0x1a3)](_0x12cd65(0x172)+util[_0x12cd65(0x16c)](_0x351aac));}});}}catch(_0xea88a2){PerformanceTester[_0x8f14a9(0x106)](_0xea88a2);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x10d)],_0x828c43=>{const _0x24ddfe=_0x4e6f43;try{const _0x2a1782=_0x402acb['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x828c43);CodeceptRecorder[_0x24ddfe(0x179)](()=>_0x402acb[_0x24ddfe(0x110)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2a1782));}catch(_0x257e73){PerformanceTester[_0x24ddfe(0x106)](_0x257e73);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x12b)],async(_0x176cf2,_0x42c9de)=>{const _0x109bf9=_0x4e6f43;try{if(_0x436f2a[_0x109bf9(0x124)](isBrowserstackInfra)){const _0x24fa51=_0x436f2a[_0x109bf9(0x12f)](shouldScanTestForAccessibility,_0x176cf2[_0x109bf9(0x10a)](),!![]);if(_0x436f2a['MTzRi'](isAccessibilityAutomationSession)&&global[_0x109bf9(0x155)]&&_0x24fa51){const _0x3bbaee={};_0x3bbaee[_0x109bf9(0x134)]=_0x176cf2[_0x109bf9(0x125)],_0x3bbaee[_0x109bf9(0x13c)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x3bbaee['thJwtToken']=process['env'][testHubConstants[_0x109bf9(0x12d)][_0x109bf9(0x17c)]];const _0x304fdb=_0x3bbaee;logger[_0x109bf9(0x1a3)](_0x109bf9(0x137)+JSON[_0x109bf9(0x193)](_0x304fdb)),CodeceptRecorder[_0x109bf9(0x179)](async()=>{const _0x38c29d=_0x109bf9;await AccessibilityHelper[_0x38c29d(0x15d)](_0x5ac094,scripts[_0x38c29d(0x1a1)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5ac094,scripts[_0x38c29d(0x147)],_0x304fdb);}),logger['info'](_0x436f2a['qvrDN']);}}}catch(_0x1491f8){PerformanceTester[_0x109bf9(0x106)](_0x1491f8);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x139)][_0x4e6f43(0x140)],_0x780de5=>{const _0x26b25c=_0x4e6f43;try{process[_0x26b25c(0x114)](_0x26b25c(0x1a0)+process[_0x26b25c(0x131)],{'timestamp':new Date()[_0x26b25c(0x144)](),'level':_0x436f2a[_0x26b25c(0x142)],'message':_0x780de5,'kind':_0x436f2a['bRxcc'],'http_response':{}});}catch(_0x46c308){PerformanceTester[_0x26b25c(0x106)](_0x46c308);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x174)][_0x4e6f43(0x135)],_0x440101=>{const _0x34160b=_0x4e6f43;_0x402acb[_0x34160b(0x103)](_0x440101);}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x174)]['after'],_0x4bcc42=>{const _0x53d175=_0x4e6f43;_0x402acb[_0x53d175(0x112)](_0x4bcc42);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x5d17(_0x14ca5f,_0x20ccde){const _0x5ac500=a2_0x5ac5();return a2_0x5d17=function(_0x5d1797,_0x10ef62){_0x5d1797=_0x5d1797-0x139;let _0x170a80=_0x5ac500[_0x5d1797];return _0x170a80;},a2_0x5d17(_0x14ca5f,_0x20ccde);}function a2_0x5ac5(){const _0x5ac370=['useW3C','lQVwP','qVIzw','exports','run','147420whtgwq','stringify','accessibilityOptions','desiredCapabilities','CumSW','BrowserStackPlugin.js','HwlFR','profile','getPlaywrightUrl','slice','testContextOptions','zRJXg','addConfig','frameworkName','path','../../bin/playwright/accessibility-helper','VIWMT','trim','require','182212HkyMly','BROWSERSTACK_RERUN_TESTS','codeceptjs','printBuildLink','245016kDMIpQ','printResults','NRhCC','stack','process','info','skipSessionName','env','spawn','test','codecept.json','VUQbG','YFsWc','21CieKEy','browserName','config','cwd','plugins','46910kxKTUs','oQigM','finalExecution','map','browserWSEndpoint','log','Workers','chrome','setAdditionalCapabilities','mergeDeep','0|4|1|2|3','initialize','CODECEPT','856IGXQQl','qrOfA','isTrue','winstonLogger','../../helpers/testhub/testhubHandler','../../helpers/utilities','event','err','utGFF','load','passed','WebDriver','dirname','testObservability','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','forEach','Started\x20:\x20','existsSync','xZDbo','testConfig','isUndefined','now','1323pzHmqe','failed','addTests','findIndex','toLowerCase','parallelsPerPlatform','ineSm','platforms','KbZCa','chdir','BROWSERSTACK_TEST_ACCESSIBILITY_YML','createGroupsOfSuites','FkrFZ','103151cQHgbC','format','WURfE','prepareCapabilities','browser','dqxac','all','RPYbF','../../helpers/helper','util','../../helpers/logger','getPlatformName','BIIou','playwright-chromium','../../helpers/test-observability/utils','chromium','tseEK','helpers','FRAMEWORKS','split','length','TQeNz','null','skipSessionStatus','isTestObservabilitySession','BrowserStackPlugin','../../helpers/accessibility-automation/helper','kbUjh','xJadz','gherkin','root','title','KaWqt','webkit','18851LtwURi','join','bootstrapAll','auApb','XEeme','--config','510886KFIAEA','browserStackCwd','codecept.conf.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','QwsrZ','teardownAll','../../helpers/BrowserStackSetup','sfZlA','push','playwright-firefox'];a2_0x5ac5=function(){return _0x5ac370;};return a2_0x5ac5();}const a2_0x3ab3ee=a2_0x5d17;(function(_0x1bf1d8,_0x3b29e5){const _0x1b0cca=a2_0x5d17,_0x4ec47e=_0x1bf1d8();while(!![]){try{const _0x1b6575=-parseInt(_0x1b0cca(0x170))/0x1+parseInt(_0x1b0cca(0x198))/0x2+parseInt(_0x1b0cca(0x13b))/0x3*(-parseInt(_0x1b0cca(0x1ba))/0x4)+parseInt(_0x1b0cca(0x1a7))/0x5+-parseInt(_0x1b0cca(0x1be))/0x6+-parseInt(_0x1b0cca(0x192))/0x7*(parseInt(_0x1b0cca(0x14d))/0x8)+parseInt(_0x1b0cca(0x163))/0x9*(parseInt(_0x1b0cca(0x140))/0xa);if(_0x1b6575===_0x3b29e5)break;else _0x4ec47e['push'](_0x4ec47e['shift']());}catch(_0x1291b5){_0x4ec47e['push'](_0x4ec47e['shift']());}}}(a2_0x5ac5,0x36907));const fs=require('fs'),path=require(a2_0x3ab3ee(0x1b5)),util=require(a2_0x3ab3ee(0x179)),process=require(a2_0x3ab3ee(0x1c2)),logger=require(a2_0x3ab3ee(0x17a))[a2_0x3ab3ee(0x150)],{default:BrowserStackSetup}=require(a2_0x3ab3ee(0x19e)),helper=require(a2_0x3ab3ee(0x178)),utilities=require(a2_0x3ab3ee(0x152)),{checkAccessibilityPlatformConfig}=require(a2_0x3ab3ee(0x18a)),{setAccessibilityCapabilities}=require(a2_0x3ab3ee(0x1b6)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3ab3ee(0x178)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x3ab3ee(0x1bc)),testOpsHelper=require(a2_0x3ab3ee(0x17e)),TestHubHandler=require(a2_0x3ab3ee(0x151)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x312a7b,_0x57b66c)=>{const _0x1ca307=a2_0x3ab3ee,_0x554244={};_0x554244[_0x1ca307(0x19f)]=function(_0x1c61c0,_0x5c1657){return _0x1c61c0===_0x5c1657;},_0x554244[_0x1ca307(0x1a4)]=_0x1ca307(0x19a),_0x554244['CumSW']=_0x1ca307(0x1c8);const _0x38fdfb=_0x554244;let _0x512931=null;const _0x158aae={};let _0x1b630d=_0x57b66c['findIndex'](_0x1f819f=>_0x1f819f===_0x1ca307(0x197));_0x38fdfb[_0x1ca307(0x19f)](_0x1b630d,-0x1)&&(_0x1b630d=_0x57b66c[_0x1ca307(0x166)](_0x1ac371=>_0x1ac371==='-c'));if(!helper['isUndefined'](_0x312a7b[_0x1ca307(0x13d)])&&fs[_0x1ca307(0x15e)](path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x312a7b[_0x1ca307(0x13d)])))_0x512931=path[_0x1ca307(0x193)](process['cwd'](),_0x312a7b[_0x1ca307(0x13d)]),_0x57b66c[_0x1ca307(0x1b0)](_0x1b630d,0x2);else{if(!helper[_0x1ca307(0x161)](_0x312a7b['c'])&&fs[_0x1ca307(0x15e)](path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x312a7b['c'])))_0x512931=path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x312a7b['c']),_0x57b66c[_0x1ca307(0x1b0)](_0x1b630d,0x2);else{if(fs[_0x1ca307(0x15e)](path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x38fdfb['qVIzw'])))_0x512931=path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x38fdfb[_0x1ca307(0x1a4)]);else fs['existsSync'](path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x38fdfb[_0x1ca307(0x1ab)]))&&(_0x512931=path[_0x1ca307(0x193)](process[_0x1ca307(0x13e)](),_0x38fdfb[_0x1ca307(0x1ab)]));}}return _0x512931;},getO11yRerunPattern=()=>{const _0xd193ee=a2_0x3ab3ee,_0x390366={};_0x390366[_0xd193ee(0x17c)]=function(_0x55024b,_0x29daf7){return _0x55024b!==_0x29daf7;},_0x390366[_0xd193ee(0x19c)]=_0xd193ee(0x186);const _0x2e28f3=_0x390366,_0x3a8c97=helper[_0xd193ee(0x14f)](process['env']['BROWSERSTACK_RERUN']);if(_0x3a8c97){const _0x4967b9=process[_0xd193ee(0x1c5)][_0xd193ee(0x1bb)],_0x191767=[];if(_0x2e28f3[_0xd193ee(0x17c)](_0x4967b9,_0x2e28f3[_0xd193ee(0x19c)])&&!helper[_0xd193ee(0x161)](_0x4967b9)){_0x4967b9[_0xd193ee(0x183)](',')[_0xd193ee(0x143)](_0x541b3e=>{const _0x301aec=_0xd193ee;_0x191767[_0x301aec(0x1a0)]('('+_0x541b3e[_0x301aec(0x1b8)]()+')');});const _0x92d108='^'+_0x191767[_0xd193ee(0x193)]('|')+'$';return _0x92d108;}}return null;},a2_0x10046d={};a2_0x10046d[a2_0x3ab3ee(0x147)]=a2_0x3ab3ee(0x17f),a2_0x10046d[a2_0x3ab3ee(0x17d)]=a2_0x3ab3ee(0x17f),a2_0x10046d[a2_0x3ab3ee(0x1a1)]='firefox',a2_0x10046d['playwright-webkit']=a2_0x3ab3ee(0x191);const pwToCodeceptBrowser=a2_0x10046d;async function run(_0x29f567,_0x2dc5e8){const _0xb478b3=a2_0x3ab3ee,_0x4bc037={'WURfE':function(_0xc2bb70,_0x3b76eb){return _0xc2bb70+_0x3b76eb;},'RPYbF':function(_0xbb2923,_0x1c6f4b){return _0xbb2923(_0x1c6f4b);},'ineSm':function(_0x473159,_0x24f0d3,_0x49c59f){return _0x473159(_0x24f0d3,_0x49c59f);},'HwlFR':_0xb478b3(0x181),'KaWqt':function(_0x52f04a){return _0x52f04a();},'TQeNz':'Failed\x20:\x20','AFBxq':'Passed\x20:\x20','qrOfA':_0xb478b3(0x15d),'VUQbG':_0xb478b3(0x14a),'NRhCC':_0xb478b3(0x1bc),'auApb':_0xb478b3(0x15b),'tseEK':'Playwright','tKUnI':_0xb478b3(0x158),'ZkYtR':function(_0x588659,_0x32a3aa){return _0x588659(_0x32a3aa);},'FkrFZ':function(_0xe250af,_0x302678){return _0xe250af!=_0x302678;},'dqxac':function(_0x38d9f0,_0x551b72){return _0x38d9f0===_0x551b72;},'VIWMT':function(_0x1a7deb,_0x340a16){return _0x1a7deb+_0x340a16;},'JZkuG':function(_0x5de1e9,_0x531924,_0x306978){return _0x5de1e9(_0x531924,_0x306978);},'xZDbo':_0xb478b3(0x18d),'XEeme':'-cucumber','fUDvp':function(_0x3f5d1f,_0x1c7089){return _0x3f5d1f*_0x1c7089;},'oQigM':_0xb478b3(0x174),'YFsWc':function(_0x51943d,_0xaae671,_0xa101e1){return _0x51943d(_0xaae671,_0xa101e1);},'utGFF':_0xb478b3(0x1aa),'zRJXg':function(_0x26e72b,_0x461413,_0x1dcba8){return _0x26e72b(_0x461413,_0x1dcba8);},'xJadz':_0xb478b3(0x18e),'KbZCa':_0xb478b3(0x1ac),'kbUjh':_0xb478b3(0x199),'AXdLK':function(_0x48fe8a){return _0x48fe8a();}},_0x53c3a9=new BrowserStackSetup(_0x29f567,_0x4bc037[_0xb478b3(0x1c0)]);await _0x53c3a9[_0xb478b3(0x14b)](),await helper['handleApp'](_0x53c3a9['config']);if(!_0x53c3a9[_0xb478b3(0x13d)])return;process[_0xb478b3(0x1ae)]=_0x29f567[_0xb478b3(0x1ae)];_0x29f567[_0xb478b3(0x1ae)]&&(process[_0xb478b3(0x1c5)][_0xb478b3(0x1ae)]=_0x29f567[_0xb478b3(0x1ae)]);const _0x3fee05=_0x4bc037['ineSm'](getUserCodeceptJSConfigs,_0x29f567,_0x2dc5e8);let _0xe5c175={};_0x3fee05?(logger[_0xb478b3(0x1c3)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3fee05),_0xe5c175=CodeceptJS[_0xb478b3(0x13d)][_0xb478b3(0x156)](_0x3fee05)):logger[_0xb478b3(0x1c3)](_0x4bc037[_0xb478b3(0x195)]);let _0x4d97da=![];_0x4bc037[_0xb478b3(0x169)](nestedKeyValue,_0xe5c175,[_0x4bc037[_0xb478b3(0x1ad)],_0x4bc037[_0xb478b3(0x180)]])&&(_0x4d97da=!![]);const _0x57dfbb=_0x4d97da?_0x4bc037['tseEK']:_0x4bc037['tKUnI'];let _0x1a6429=!_0x4d97da?helper[_0xb478b3(0x1a2)](_0x53c3a9[_0xb478b3(0x13d)]):![];!helper[_0xb478b3(0x161)](_0x53c3a9[_0xb478b3(0x13d)][_0xb478b3(0x1a9)])&&(process[_0xb478b3(0x1c5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xb478b3(0x1a8)](_0x53c3a9[_0xb478b3(0x13d)][_0xb478b3(0x1a9)]));let _0x31d477=_0x53c3a9[_0xb478b3(0x13d)]['accessibility'];_0x31d477=_0x31d477||_0x4bc037['ZkYtR'](checkAccessibilityPlatformConfig,_0x53c3a9[_0xb478b3(0x13d)]),process[_0xb478b3(0x1c5)][_0xb478b3(0x16d)]=_0x31d477;_0x31d477&&(_0x1a6429=!_0x31d477);_0x4bc037[_0xb478b3(0x16f)](_0x53c3a9[_0xb478b3(0x13d)]['testObservability'],null)?process[_0xb478b3(0x1c5)][_0xb478b3(0x19b)]=_0x53c3a9[_0xb478b3(0x13d)][_0xb478b3(0x15a)]:process['env'][_0xb478b3(0x19b)]=_0x4bc037[_0xb478b3(0x175)](_0x57dfbb,_0x4bc037[_0xb478b3(0x180)]);const _0x436176=_0x4bc037[_0xb478b3(0x1b7)](_0x4bc037['NRhCC'],_0x4bc037['JZkuG'](nestedKeyValue,_0xe5c175,[_0x4bc037[_0xb478b3(0x15f)]])?_0x4bc037[_0xb478b3(0x196)]:''),_0x3edcf7=await TestHubHandler['launchBuild'](_0x436176,_0x53c3a9);_0x31d477&&_0x4bc037[_0xb478b3(0x177)](setAccessibilityCapabilities,_0x53c3a9['config']);const _0x3553fb={},_0x400cac=[],_0x4f109f=_0x53c3a9[_0xb478b3(0x13d)][_0xb478b3(0x168)]||helper['getUserWorkerCount'](_0x29f567,_0x2dc5e8,_0x53c3a9['config'],constants[_0xb478b3(0x182)][_0xb478b3(0x14c)])||0x1;let _0x5b9f7=0x1;if(_0x4bc037[_0xb478b3(0x190)](isBrowserstackInfra)){const _0x5cddff=helper['prepareCapabilities'](_0x53c3a9[_0xb478b3(0x13d)],_0x1a6429,constants[_0xb478b3(0x182)]['CODECEPT']);_0x5cddff[_0xb478b3(0x15c)](_0x6d56b4=>{const _0x2ed95f=_0xb478b3;helper[_0x2ed95f(0x148)](_0x6d56b4);}),helper['validPlatformsPresent'](_0x53c3a9[_0xb478b3(0x13d)])?_0x5b9f7=_0x4bc037['fUDvp'](_0x4f109f,_0x53c3a9[_0xb478b3(0x13d)][_0xb478b3(0x16a)][_0xb478b3(0x184)]):_0x5b9f7=_0x4f109f,_0x5cddff[_0xb478b3(0x15c)](_0x58d5e2=>{const _0x1e6eb0=_0xb478b3,_0x49d91a={'hdpns':function(_0x7e0dc1,_0xde3cce){const _0x2a74c7=a2_0x5d17;return _0x4bc037[_0x2a74c7(0x172)](_0x7e0dc1,_0xde3cce);},'lQVwP':function(_0x3e2a8a,_0x2eff16){const _0x325920=a2_0x5d17;return _0x4bc037[_0x325920(0x177)](_0x3e2a8a,_0x2eff16);}},_0x491eb4=_0x4bc037[_0x1e6eb0(0x172)](helper[_0x1e6eb0(0x17b)](_0x58d5e2,'_'),'_'+Date[_0x1e6eb0(0x162)]()),_0x22539d=((()=>{const _0x3646ed=_0x1e6eb0;if(_0x4d97da){const _0x32fa3d=pwToCodeceptBrowser[_0x58d5e2[_0x3646ed(0x13c)]]||_0x58d5e2[_0x3646ed(0x13c)];return{'browser':_0x32fa3d,[_0x32fa3d]:{'browserWSEndpoint':_0x49d91a['hdpns'](helper[_0x3646ed(0x1af)](_0x53c3a9[_0x3646ed(0x13d)]),_0x49d91a[_0x3646ed(0x1a3)](encodeURIComponent,JSON[_0x3646ed(0x1a8)](_0x58d5e2)))}};}const _0x2f0132={};return _0x2f0132[_0x3646ed(0x1aa)]=_0x58d5e2,_0x2f0132;})()),_0x918010=_0x4bc037[_0x1e6eb0(0x169)](nestedKeyValue,_0xe5c175,[_0x4bc037[_0x1e6eb0(0x1ad)],_0x57dfbb]);_0x3553fb[_0x491eb4]=_0x918010?helper[_0x1e6eb0(0x149)](_0x22539d,_0x918010):_0x22539d,!_0x4d97da&&(_0x3553fb[_0x491eb4]['browser']=_0x58d5e2['browserName']||_0x22539d[_0x1e6eb0(0x174)]),_0x400cac[_0x1e6eb0(0x1a0)](_0x491eb4);});}else{_0x5b9f7=0x1;if(_0x4d97da){const _0x36c3e2=_0x4bc037['ineSm'](nestedKeyValue,_0xe5c175,[_0x4bc037['HwlFR'],_0x57dfbb,_0x4bc037[_0xb478b3(0x141)]]),_0x241585=_0x4bc037[_0xb478b3(0x13a)](nestedKeyValue,_0xe5c175,[_0x4bc037[_0xb478b3(0x1ad)],_0x57dfbb,_0x36c3e2]);_0x241585&&_0x241585['browserWSEndpoint']&&(_0x241585[_0xb478b3(0x144)]=helper['prepareCapabilities'](null,null,_0x436176[_0xb478b3(0x167)](),null,null,_0x241585[_0xb478b3(0x144)]));}else _0xe5c175[_0x4bc037[_0xb478b3(0x1ad)]][_0x57dfbb][_0x4bc037[_0xb478b3(0x155)]]=helper[_0xb478b3(0x173)](null,null,_0x436176[_0xb478b3(0x167)](),_0x4bc037[_0xb478b3(0x1b2)](nestedKeyValue,_0xe5c175,[_0x4bc037[_0xb478b3(0x1ad)],_0x57dfbb,_0x4bc037[_0xb478b3(0x155)]]),null,null);_0x3553fb[_0x4bc037[_0xb478b3(0x18c)]]=_0xe5c175,_0x400cac['push'](_0x4bc037[_0xb478b3(0x18c)]);}const _0x20cac0={};_0x20cac0[_0xb478b3(0x160)]=_0x3fee05;const _0x225f88=_0x20cac0,_0x35f623=path['join'](__dirname,_0x4bc037[_0xb478b3(0x16b)]),_0x3974d9=process[_0xb478b3(0x13e)]();process['env'][_0x4bc037[_0xb478b3(0x18b)]]=_0x3974d9,process[_0xb478b3(0x16c)](path[_0xb478b3(0x159)](_0x3fee05));const _0x34ea01=new CodeceptJS[(_0xb478b3(0x146))](null,_0x225f88),_0x4ee230=_0x34ea01[_0xb478b3(0x16e)](_0x5b9f7),_0x2a83c2=testOpsHelper[_0xb478b3(0x188)](),_0x13ec3d=_0x400cac['map'](_0x520ab3=>{const _0x1a7366=_0xb478b3,_0x40460b={};_0x40460b['Playwright']=_0x3553fb[_0x520ab3];const _0x4baf7a={};_0x4baf7a[_0x1a7366(0x158)]=_0x3553fb[_0x520ab3];const _0x26cd3a=_0x4d97da?_0x40460b:_0x4baf7a,_0x16b4e8=_0x4bc037[_0x1a7366(0x190)](getO11yRerunPattern),_0x4d67ef={};_0x4d67ef[_0x1a7366(0x181)]=_0x26cd3a;const _0x17ca83={};_0x17ca83[_0x1a7366(0x1b9)]=_0x35f623,_0x17ca83['enabled']=!![],_0x17ca83['skipSessionName']=_0x53c3a9[_0x1a7366(0x13d)][_0x1a7366(0x1b1)][_0x1a7366(0x1c4)],_0x17ca83['skipSessionStatus']=_0x53c3a9[_0x1a7366(0x13d)][_0x1a7366(0x1b1)][_0x1a7366(0x187)],_0x17ca83['testObservability']=_0x2a83c2,_0x17ca83[_0x1a7366(0x1b4)]=_0x436176;const _0x195723={};_0x195723[_0x1a7366(0x189)]=_0x17ca83;const _0x461408={};return _0x461408[_0x1a7366(0x13f)]=_0x195723,helper[_0x1a7366(0x149)]({},_0xe5c175,_0x4bc037[_0x1a7366(0x190)](isBrowserstackInfra)?_0x4d67ef:{},_0x16b4e8?{'grep':_0x16b4e8}:{},_0x461408);});for(const _0x46d6c5 of _0x13ec3d){for(const _0x4a2741 of _0x4ee230){const _0x4c852a=_0x34ea01[_0xb478b3(0x1c6)]();_0x4c852a[_0xb478b3(0x165)](_0x4a2741),_0x4c852a[_0xb478b3(0x1b3)](_0x46d6c5);}}_0x34ea01['on'](CodeceptJS[_0xb478b3(0x153)][_0xb478b3(0x1c7)][_0xb478b3(0x164)],(_0xa7b346,_0x1ca031)=>{const _0x26d617=_0xb478b3;console[_0x26d617(0x145)](_0x4bc037[_0x26d617(0x185)],_0xa7b346[_0x26d617(0x18f)]);const _0x2f9c30={[_0xa7b346[_0x26d617(0x18f)]]:_0xa7b346[_0x26d617(0x154)][_0x26d617(0x1c1)]};_testErrorData[_0x26d617(0x1a0)](_0x2f9c30);}),_0x34ea01['on'](CodeceptJS[_0xb478b3(0x153)][_0xb478b3(0x1c7)][_0xb478b3(0x157)],async _0x387982=>{const _0x45708d=_0xb478b3;console[_0x45708d(0x145)](_0x4bc037['AFBxq'],_0x387982[_0x45708d(0x18f)]);}),_0x34ea01['on'](CodeceptJS[_0xb478b3(0x153)]['test']['before'],async _0x46d278=>{const _0x125f52=_0xb478b3;console[_0x125f52(0x145)](_0x4bc037[_0x125f52(0x14e)],_0x46d278[_0x125f52(0x18f)]);}),_0x34ea01['on'](CodeceptJS['event'][_0xb478b3(0x176)]['result'],async()=>{const _0x1cd8dd=_0xb478b3,_0x21c131=_0x4bc037[_0x1cd8dd(0x139)]['split']('|');let _0xb6dcb0=0x0;while(!![]){switch(_0x21c131[_0xb6dcb0++]){case'0':_0x53c3a9['errorMessage']=_testErrorData;continue;case'1':utilities[_0x1cd8dd(0x142)](_0x53c3a9);continue;case'2':try{await TestHubHandler['stop']();}catch(_0x3d1c1e){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1cd8dd(0x171)](_0x3d1c1e));}continue;case'3':_0x34ea01[_0x1cd8dd(0x1bf)]();continue;case'4':testOpsHelper[_0x1cd8dd(0x1bd)]();continue;}break;}});async function _0x3a943e(){const _0x3214c7=_0xb478b3;try{await _0x34ea01[_0x3214c7(0x194)](),await _0x34ea01[_0x3214c7(0x1a6)]();}finally{process[_0x3214c7(0x16c)](_0x3974d9),await _0x34ea01[_0x3214c7(0x19d)]();}}_0x4bc037['AXdLK'](_0x3a943e);}module[a2_0x3ab3ee(0x1a5)]=run;
|
|
2
|
+
'use strict';function a2_0x4f65(_0x5881e9,_0xa2cbc8){const _0xb27070=a2_0xb270();return a2_0x4f65=function(_0x4f65cf,_0x518e7f){_0x4f65cf=_0x4f65cf-0xcc;let _0xb1d5ca=_0xb27070[_0x4f65cf];return _0xb1d5ca;},a2_0x4f65(_0x5881e9,_0xa2cbc8);}const a2_0x163bca=a2_0x4f65;(function(_0x3f313c,_0x967ce8){const _0x3ab0ee=a2_0x4f65,_0x2d47c1=_0x3f313c();while(!![]){try{const _0x1305e3=-parseInt(_0x3ab0ee(0xce))/0x1+parseInt(_0x3ab0ee(0x121))/0x2+-parseInt(_0x3ab0ee(0x130))/0x3+-parseInt(_0x3ab0ee(0x12a))/0x4*(parseInt(_0x3ab0ee(0xf2))/0x5)+parseInt(_0x3ab0ee(0x13b))/0x6+parseInt(_0x3ab0ee(0xd6))/0x7+parseInt(_0x3ab0ee(0x151))/0x8*(parseInt(_0x3ab0ee(0x11f))/0x9);if(_0x1305e3===_0x967ce8)break;else _0x2d47c1['push'](_0x2d47c1['shift']());}catch(_0x3dc859){_0x2d47c1['push'](_0x2d47c1['shift']());}}}(a2_0xb270,0xec546));const fs=require('fs'),path=require('path'),util=require(a2_0x163bca(0x13d)),process=require(a2_0x163bca(0xdf)),logger=require('../../helpers/logger')[a2_0x163bca(0x14c)],{default:BrowserStackSetup}=require(a2_0x163bca(0x11e)),helper=require('../../helpers/helper'),utilities=require(a2_0x163bca(0x104)),{checkAccessibilityPlatformConfig}=require(a2_0x163bca(0x127)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x163bca(0xec)),CodeceptJS=requireModule(a2_0x163bca(0x143),a2_0x163bca(0x103)),testOpsHelper=require(a2_0x163bca(0xe4)),TestHubHandler=require(a2_0x163bca(0x112)),constants=require(a2_0x163bca(0x14f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x3f64da,_0x1e0635)=>{const _0x2c7099=a2_0x163bca,_0x393ac7={};_0x393ac7['ksadm']=function(_0x8c040f,_0x2847a7){return _0x8c040f===_0x2847a7;},_0x393ac7[_0x2c7099(0x120)]=_0x2c7099(0x155),_0x393ac7[_0x2c7099(0x106)]=_0x2c7099(0xd7);const _0x1fd65b=_0x393ac7;let _0x257abc=null;const _0x29d21f={};let _0x5b16a5=_0x1e0635['findIndex'](_0x1557a6=>_0x1557a6===_0x2c7099(0x153));_0x1fd65b[_0x2c7099(0x139)](_0x5b16a5,-0x1)&&(_0x5b16a5=_0x1e0635[_0x2c7099(0x138)](_0x59b895=>_0x59b895==='-c'));if(!helper[_0x2c7099(0x15c)](_0x3f64da[_0x2c7099(0x13a)])&&fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x3f64da['config'])))_0x257abc=path[_0x2c7099(0x15b)](process['cwd'](),_0x3f64da[_0x2c7099(0x13a)]),_0x1e0635[_0x2c7099(0xf4)](_0x5b16a5,0x2);else{if(!helper['isUndefined'](_0x3f64da['c'])&&fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x3f64da['c'])))_0x257abc=path['join'](process['cwd'](),_0x3f64da['c']),_0x1e0635['slice'](_0x5b16a5,0x2);else{if(fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x120)])))_0x257abc=path['join'](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x120)]);else fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x106)]))&&(_0x257abc=path['join'](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x106)]));}}return _0x257abc;},getO11yRerunPattern=()=>{const _0x2d86d0=a2_0x163bca,_0x4d5970={};_0x4d5970[_0x2d86d0(0xe6)]=function(_0xc6993e,_0x444a9d){return _0xc6993e!==_0x444a9d;},_0x4d5970[_0x2d86d0(0x12b)]='null';const _0xe72de0=_0x4d5970,_0x3c7faa=helper[_0x2d86d0(0x107)](process[_0x2d86d0(0x110)]['BROWSERSTACK_RERUN']);if(_0x3c7faa){const _0x44e619=process[_0x2d86d0(0x110)]['BROWSERSTACK_RERUN_TESTS'],_0x41dd6d=[];if(_0xe72de0[_0x2d86d0(0xe6)](_0x44e619,_0xe72de0[_0x2d86d0(0x12b)])&&!helper[_0x2d86d0(0x15c)](_0x44e619)){_0x44e619[_0x2d86d0(0x142)](',')['map'](_0x3dae28=>{const _0x5d7421=_0x2d86d0;_0x41dd6d[_0x5d7421(0x13c)]('('+_0x3dae28[_0x5d7421(0xf8)]()+')');});const _0x3f0107='^'+_0x41dd6d['join']('|')+'$';return _0x3f0107;}}return null;},a2_0xbc7fe3={};a2_0xbc7fe3['chrome']=a2_0x163bca(0x145),a2_0xbc7fe3[a2_0x163bca(0xea)]='chromium',a2_0xbc7fe3[a2_0x163bca(0xe7)]=a2_0x163bca(0xfd),a2_0xbc7fe3['playwright-webkit']=a2_0x163bca(0x14e);const pwToCodeceptBrowser=a2_0xbc7fe3;async function run(_0x99e18,_0x3011d8){const _0x6202ed=a2_0x163bca,_0x2d0c6f={'QfZRQ':function(_0x198634,_0x3a7305){return _0x198634+_0x3a7305;},'ACjtX':function(_0x49388d,_0x267d7d){return _0x49388d(_0x267d7d);},'YJZAL':function(_0x1823bb,_0x39171c){return _0x1823bb+_0x39171c;},'DUPkJ':function(_0x44fe93,_0x198dde,_0x3a78bb){return _0x44fe93(_0x198dde,_0x3a78bb);},'EaMbV':_0x6202ed(0x15a),'ltaso':function(_0xa6af76){return _0xa6af76();},'nNQIT':_0x6202ed(0x131),'aSlEu':'Passed\x20:\x20','VIGOM':_0x6202ed(0x148),'DhQGq':_0x6202ed(0x128),'cbCYi':_0x6202ed(0x103),'VAuoK':function(_0x5ac476,_0x38534a,_0x3b8696){return _0x5ac476(_0x38534a,_0x3b8696);},'kblOQ':_0x6202ed(0xd5),'QVWfq':function(_0x129a39,_0x343f56,_0x23ce3e){return _0x129a39(_0x343f56,_0x23ce3e);},'kRbJD':'Playwright','rXvpX':_0x6202ed(0x159),'opPRP':function(_0x2bba87,_0x1c0653){return _0x2bba87(_0x1c0653);},'wHSyT':function(_0x197d61,_0x414242){return _0x197d61!=_0x414242;},'BhtNF':function(_0x25d1a1,_0x12a9e3){return _0x25d1a1===_0x12a9e3;},'JbRLF':function(_0x32b80a,_0x32e8b7){return _0x32b80a+_0x32e8b7;},'kARPE':function(_0x3e75ec,_0x346eaa,_0x1f191e){return _0x3e75ec(_0x346eaa,_0x1f191e);},'QoqTE':'gherkin','DFFqS':_0x6202ed(0xf5),'fWodc':function(_0x27f599,_0x54f75f){return _0x27f599(_0x54f75f);},'aEEhv':function(_0x19e137){return _0x19e137();},'xtduw':function(_0x54dd89,_0x188e33){return _0x54dd89*_0x188e33;},'JmunO':function(_0x31f26b,_0x3ac058,_0x594528){return _0x31f26b(_0x3ac058,_0x594528);},'KDrgN':_0x6202ed(0xe9),'iqfNU':'desiredCapabilities','eLaJA':function(_0x2183c2,_0x25f3cf,_0x27f300){return _0x2183c2(_0x25f3cf,_0x27f300);},'Rxnlz':'root','VZZNf':'BrowserStackPlugin.js','IuNpU':_0x6202ed(0xdd)},_0x235f4d=new BrowserStackSetup(_0x99e18,_0x2d0c6f['cbCYi']);await _0x235f4d[_0x6202ed(0x13e)](),await helper[_0x6202ed(0x122)](_0x235f4d['config']);if(!_0x235f4d['config'])return;process['profile']=_0x99e18[_0x6202ed(0xee)];_0x99e18['profile']&&(process[_0x6202ed(0x110)][_0x6202ed(0xee)]=_0x99e18[_0x6202ed(0xee)]);const _0x12ee91=_0x2d0c6f[_0x6202ed(0x140)](getUserCodeceptJSConfigs,_0x99e18,_0x3011d8);let _0x5658dd={};_0x12ee91?(logger[_0x6202ed(0x124)](_0x6202ed(0xf7)+_0x12ee91),_0x5658dd=CodeceptJS[_0x6202ed(0x13a)][_0x6202ed(0x13f)](_0x12ee91)):logger[_0x6202ed(0x124)](_0x2d0c6f[_0x6202ed(0x147)]);let _0x375f3f=![];_0x2d0c6f[_0x6202ed(0x116)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x2d0c6f[_0x6202ed(0xe3)]])&&(_0x375f3f=!![]);const _0x15bc68=_0x375f3f?_0x2d0c6f[_0x6202ed(0xe3)]:_0x2d0c6f[_0x6202ed(0x113)];let _0x2b9bb4=!_0x375f3f?helper[_0x6202ed(0xd1)](_0x235f4d[_0x6202ed(0x13a)]):![];!helper[_0x6202ed(0x15c)](_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x105)])&&(process[_0x6202ed(0x110)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x6202ed(0x134)](_0x235f4d['config']['accessibilityOptions']));let _0x513929=_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x137)];_0x513929=_0x513929||_0x2d0c6f[_0x6202ed(0x10b)](checkAccessibilityPlatformConfig,_0x235f4d[_0x6202ed(0x13a)]),process[_0x6202ed(0x110)][_0x6202ed(0x132)]=_0x513929;_0x513929&&(_0x2b9bb4=!_0x513929);_0x2d0c6f['wHSyT'](_0x235f4d[_0x6202ed(0x13a)]['testObservability'],null)?process['env'][_0x6202ed(0x117)]=_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x10c)]:process[_0x6202ed(0x110)][_0x6202ed(0x117)]=_0x2d0c6f[_0x6202ed(0xfe)](_0x15bc68,_0x2d0c6f[_0x6202ed(0xe3)]);const _0x3376f6=_0x2d0c6f[_0x6202ed(0xf1)](_0x2d0c6f['cbCYi'],_0x2d0c6f[_0x6202ed(0x108)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x12f)]])?_0x2d0c6f[_0x6202ed(0x11b)]:''),_0x5ed96b=await TestHubHandler[_0x6202ed(0x118)](_0x3376f6,_0x235f4d);_0x513929&&_0x2d0c6f['fWodc'](setAccessibilityCapabilities,_0x235f4d['config']);const _0x4e6a41={},_0x303d72=[],_0x177ac0=_0x235f4d['config'][_0x6202ed(0x144)]||helper[_0x6202ed(0xdb)](_0x99e18,_0x3011d8,_0x235f4d[_0x6202ed(0x13a)],constants['FRAMEWORKS'][_0x6202ed(0x14b)])||0x1;let _0x47ee50=0x1;if(_0x2d0c6f['aEEhv'](isBrowserstackInfra)){const _0x51fa48=helper['prepareCapabilities'](_0x235f4d[_0x6202ed(0x13a)],_0x2b9bb4,constants[_0x6202ed(0xe0)][_0x6202ed(0x14b)]);_0x51fa48[_0x6202ed(0x10e)](_0x194fdb=>{const _0x6e6d9d=_0x6202ed;helper[_0x6e6d9d(0xd9)](_0x194fdb);}),helper[_0x6202ed(0x136)](_0x235f4d['config'])?_0x47ee50=_0x2d0c6f[_0x6202ed(0x115)](_0x177ac0,_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x11d)][_0x6202ed(0x10d)]):_0x47ee50=_0x177ac0,_0x51fa48[_0x6202ed(0x10e)](_0x8e8014=>{const _0x30fb4f=_0x6202ed,_0x5d42c1={'SsgUh':function(_0x2d588f,_0x2b7d51){const _0xeb4f89=a2_0x4f65;return _0x2d0c6f[_0xeb4f89(0x12d)](_0x2d588f,_0x2b7d51);},'eWeLb':function(_0x329c88,_0x5af099){const _0x322948=a2_0x4f65;return _0x2d0c6f[_0x322948(0xcd)](_0x329c88,_0x5af099);}},_0x4cbeb4=_0x2d0c6f[_0x30fb4f(0x10a)](helper[_0x30fb4f(0xe8)](_0x8e8014,'_'),'_'+Date['now']()),_0x4c7768=((()=>{const _0xe95378=_0x30fb4f;if(_0x375f3f){const _0x572fa7=pwToCodeceptBrowser[_0x8e8014[_0xe95378(0x158)]]||_0x8e8014[_0xe95378(0x158)];return{'browser':_0x572fa7,[_0x572fa7]:{'browserWSEndpoint':_0x5d42c1['SsgUh'](helper[_0xe95378(0xfc)](_0x235f4d['config']),_0x5d42c1[_0xe95378(0x111)](encodeURIComponent,JSON[_0xe95378(0x134)](_0x8e8014)))}};}const _0x2890aa={};return _0x2890aa[_0xe95378(0x157)]=_0x8e8014,_0x2890aa;})()),_0x48532d=_0x2d0c6f[_0x30fb4f(0x150)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x30fb4f(0x119)],_0x15bc68]);_0x4e6a41[_0x4cbeb4]=_0x48532d?helper[_0x30fb4f(0x11c)](_0x4c7768,_0x48532d):_0x4c7768,!_0x375f3f&&(_0x4e6a41[_0x4cbeb4][_0x30fb4f(0xe9)]=_0x8e8014[_0x30fb4f(0x158)]||_0x4c7768[_0x30fb4f(0xe9)]),_0x303d72[_0x30fb4f(0x13c)](_0x4cbeb4);});}else{_0x47ee50=0x1;if(_0x375f3f){const _0x357e5c=_0x2d0c6f[_0x6202ed(0x12c)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x15bc68,_0x2d0c6f[_0x6202ed(0x125)]]),_0x25c891=_0x2d0c6f['VAuoK'](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x15bc68,_0x357e5c]);_0x25c891&&_0x25c891[_0x6202ed(0x126)]&&(_0x25c891[_0x6202ed(0x126)]=helper['prepareCapabilities'](null,null,_0x3376f6[_0x6202ed(0x12e)](),null,null,_0x25c891[_0x6202ed(0x126)]));}else _0x5658dd[_0x2d0c6f[_0x6202ed(0x119)]][_0x15bc68][_0x2d0c6f[_0x6202ed(0xd0)]]=helper[_0x6202ed(0xcc)](null,null,_0x3376f6[_0x6202ed(0x12e)](),_0x2d0c6f['eLaJA'](nestedKeyValue,_0x5658dd,[_0x2d0c6f['EaMbV'],_0x15bc68,_0x2d0c6f[_0x6202ed(0xd0)]]),null,null);_0x4e6a41[_0x2d0c6f[_0x6202ed(0xe5)]]=_0x5658dd,_0x303d72[_0x6202ed(0x13c)](_0x2d0c6f['Rxnlz']);}const _0x187eb2={};_0x187eb2[_0x6202ed(0x14d)]=_0x12ee91;const _0x160c38=_0x187eb2,_0x35831e=path[_0x6202ed(0x15b)](__dirname,_0x2d0c6f[_0x6202ed(0x133)]),_0x5275c1=process[_0x6202ed(0xe2)]();process['env'][_0x2d0c6f['IuNpU']]=_0x5275c1,process[_0x6202ed(0xd4)](path[_0x6202ed(0xda)](_0x12ee91));const _0x1cefb8=new CodeceptJS['Workers'](null,_0x160c38),_0x85ef79=_0x1cefb8[_0x6202ed(0x123)](_0x47ee50),_0x6a2ea2=testOpsHelper[_0x6202ed(0x11a)](),_0x140d85=_0x303d72[_0x6202ed(0x14a)](_0x403348=>{const _0x3a0c02=_0x6202ed,_0x9e43fb={};_0x9e43fb[_0x3a0c02(0x146)]=_0x4e6a41[_0x403348];const _0x2eaf87={};_0x2eaf87[_0x3a0c02(0x159)]=_0x4e6a41[_0x403348];const _0x54c320=_0x375f3f?_0x9e43fb:_0x2eaf87,_0x188543=_0x2d0c6f[_0x3a0c02(0x135)](getO11yRerunPattern),_0x13bc89={};_0x13bc89[_0x3a0c02(0x15a)]=_0x54c320;const _0x5c7147={};_0x5c7147[_0x3a0c02(0x141)]=_0x35831e,_0x5c7147[_0x3a0c02(0xd3)]=!![],_0x5c7147[_0x3a0c02(0xfa)]=_0x235f4d[_0x3a0c02(0x13a)][_0x3a0c02(0x101)][_0x3a0c02(0xfa)],_0x5c7147[_0x3a0c02(0xff)]=_0x235f4d[_0x3a0c02(0x13a)][_0x3a0c02(0x101)][_0x3a0c02(0xff)],_0x5c7147[_0x3a0c02(0x10c)]=_0x6a2ea2,_0x5c7147['frameworkName']=_0x3376f6;const _0x23e0c8={};_0x23e0c8[_0x3a0c02(0x129)]=_0x5c7147;const _0x4ddec8={};return _0x4ddec8['plugins']=_0x23e0c8,helper[_0x3a0c02(0x11c)]({},_0x5658dd,_0x2d0c6f[_0x3a0c02(0x135)](isBrowserstackInfra)?_0x13bc89:{},_0x188543?{'grep':_0x188543}:{},_0x4ddec8);});for(const _0x536970 of _0x140d85){for(const _0x2c8c9f of _0x85ef79){const _0x3a96b9=_0x1cefb8[_0x6202ed(0x152)]();_0x3a96b9['addTests'](_0x2c8c9f),_0x3a96b9['addConfig'](_0x536970);}}_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xf6)]['failed'],(_0x391510,_0x50a374)=>{const _0x5df0a1=_0x6202ed;console['log'](_0x2d0c6f['nNQIT'],_0x391510[_0x5df0a1(0xf3)]);const _0x2b8f00={[_0x391510['title']]:_0x391510[_0x5df0a1(0xd2)]['stack']};_testErrorData['push'](_0x2b8f00);}),_0x1cefb8['on'](CodeceptJS['event'][_0x6202ed(0xf6)][_0x6202ed(0x154)],async _0x359afe=>{const _0x522c25=_0x6202ed;console[_0x522c25(0xeb)](_0x2d0c6f[_0x522c25(0xd8)],_0x359afe[_0x522c25(0xf3)]);}),_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xf6)][_0x6202ed(0xdc)],async _0xd1e5d2=>{const _0x2da253=_0x6202ed;console[_0x2da253(0xeb)](_0x2d0c6f[_0x2da253(0xed)],_0xd1e5d2[_0x2da253(0xf3)]);}),_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xcf)]['result'],async()=>{const _0x5814d7=_0x6202ed,_0x256035=_0x2d0c6f[_0x5814d7(0x102)][_0x5814d7(0x142)]('|');let _0xee8702=0x0;while(!![]){switch(_0x256035[_0xee8702++]){case'0':_0x235f4d[_0x5814d7(0x156)]=_testErrorData;continue;case'1':utilities[_0x5814d7(0x149)](_0x235f4d);continue;case'2':_0x1cefb8[_0x5814d7(0x100)]();continue;case'3':testOpsHelper[_0x5814d7(0xf0)]();continue;case'4':try{await TestHubHandler[_0x5814d7(0x109)]();}catch(_0x195d7f){logger[_0x5814d7(0x10f)](_0x5814d7(0xfb)+util[_0x5814d7(0x114)](_0x195d7f));}continue;}break;}});async function _0x21d1df(){const _0x5bd463=_0x6202ed;try{await _0x1cefb8['bootstrapAll'](),await _0x1cefb8[_0x5bd463(0xf9)]();}finally{process[_0x5bd463(0xd4)](_0x5275c1),await _0x1cefb8['teardownAll']();}}_0x2d0c6f[_0x6202ed(0xde)](_0x21d1df);}module['exports']=run;function a2_0xb270(){const _0x386e63=['testConfig','webkit','../utils/constants','DUPkJ','5781496MKPdoF','spawn','--config','passed','codecept.conf.js','errorMessage','desiredCapabilities','browserName','WebDriver','helpers','join','isUndefined','prepareCapabilities','ACjtX','1368226HToGIW','all','iqfNU','useW3C','err','enabled','chdir','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','5797939OROijm','codecept.json','aSlEu','setAdditionalCapabilities','dirname','getUserWorkerCount','before','browserStackCwd','aEEhv','process','FRAMEWORKS','existsSync','cwd','kRbJD','../../helpers/test-observability/utils','Rxnlz','vqwiw','playwright-firefox','getPlatformName','browser','playwright-chromium','log','../../helpers/helper','VIGOM','profile','event','printBuildLink','JbRLF','59635TQrpzk','title','slice','-cucumber','test','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','trim','run','skipSessionName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getPlaywrightUrl','firefox','BhtNF','skipSessionStatus','printResults','testContextOptions','DhQGq','codeceptjs','../../helpers/utilities','accessibilityOptions','NHEzA','isTrue','kARPE','stop','YJZAL','opPRP','testObservability','length','forEach','debug','env','eWeLb','../../helpers/testhub/testhubHandler','rXvpX','format','xtduw','QVWfq','BROWSERSTACK_TEST_OBSERVABILITY_YML','launchBuild','EaMbV','isTestObservabilitySession','DFFqS','mergeDeep','platforms','../../helpers/BrowserStackSetup','9pWsSKb','hCOPC','1747720TePPDv','handleApp','createGroupsOfSuites','info','KDrgN','browserWSEndpoint','../../helpers/accessibility-automation/helper','0|3|1|4|2','BrowserStackPlugin','244LYrJlL','UMckR','JmunO','QfZRQ','toLowerCase','QoqTE','3243147vqzyzL','Failed\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VZZNf','stringify','ltaso','validPlatformsPresent','accessibility','findIndex','ksadm','config','10320024pvJhMe','push','util','initialize','load','VAuoK','require','split','codeceptjs/lib/index.js','parallelsPerPlatform','chromium','Playwright','kblOQ','Started\x20:\x20','finalExecution','map','CODECEPT','winstonLogger'];a2_0xb270=function(){return _0x386e63;};return a2_0xb270();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0xd992(){const _0x5e9111=['xSQtf','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','1006622HNbLqB','IyWXI','VSzPw','oGZyr','../../helpers/logger','652419lVhfyu','browserWSEndpoint','yipHJ','browserstack_executor','gVyRX','IfHHg','processWebDriverConfig','osVersion','oUppV','WebDriver','platformVersion','AuHse','6514792LJXZfd','searchParams','../../helpers/accessibility-automation/helper','shouldPatchExecuteScript','capabilities','WwgPq','72205XzffOG','browserstack_accessibility_automation_script','platform','1261672EwoKsn','OUNuH','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','get','desiredCapabilities','accessibilityPlatform','UQUyd','sessionId','os_version','bstack:options','AIUip','cloudProvider','config','deviceName','platform_version','browser','eFYQK','IfrLQ','unknown_grid','platformName','playwright-chromium','IYjpz','includes','../../helpers/test-observability/utils','BGSbe','BnDYe','bsSessionId','ZdzFX','Playwright','browser_version','7EmDfbg','iZaoe','CguPg','lulOx','OrmVX','2461902kAjHaM','caps','parse','browserVersion','aqHgT','xQwvN','fetchPlatformDetails','UWcxs','12AhQkqo','../../helpers/helper','getDetails','UjLyQ','name','warn','../../bin/playwright/sessionDetails','4797900xXBBuM','constructor'];a3_0xd992=function(){return _0x5e9111;};return a3_0xd992();}const a3_0x469c0e=a3_0x34f8;(function(_0x3d8f10,_0xe08ccb){const _0x31db04=a3_0x34f8,_0x37add7=_0x3d8f10();while(!![]){try{const _0x43e29c=parseInt(_0x31db04(0x117))/0x1+parseInt(_0x31db04(0x131))/0x2+parseInt(_0x31db04(0x11c))/0x3*(parseInt(_0x31db04(0x10b))/0x4)+parseInt(_0x31db04(0x12e))/0x5+-parseInt(_0x31db04(0x103))/0x6*(parseInt(_0x31db04(0xfe))/0x7)+-parseInt(_0x31db04(0x128))/0x8+-parseInt(_0x31db04(0x112))/0x9;if(_0x43e29c===_0xe08ccb)break;else _0x37add7['push'](_0x37add7['shift']());}catch(_0x6c56eb){_0x37add7['push'](_0x37add7['shift']());}}}(a3_0xd992,0x856f8));function a3_0x34f8(_0x5a99e3,_0x1ebeca){const _0xd9924b=a3_0xd992();return a3_0x34f8=function(_0x34f8af,_0x393331){_0x34f8af=_0x34f8af-0xea;let _0x5803c6=_0xd9924b[_0x34f8af];return _0x5803c6;},a3_0x34f8(_0x5a99e3,_0x1ebeca);}const {isUndefined,nestedKeyValue}=require(a3_0x469c0e(0x10c)),logger=require(a3_0x469c0e(0x11b))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x469c0e(0x111)),{isAccessibilityAutomationSession}=require(a3_0x469c0e(0x12a)),{getObservabilityLinkedProductName}=require(a3_0x469c0e(0xf7)),getOSVersionFromCaps=_0x1f14af=>{const _0x41f2f3=a3_0x469c0e,_0x55de54={};_0x55de54[_0x41f2f3(0xf8)]=_0x41f2f3(0x13c),_0x55de54[_0x41f2f3(0x139)]='platformVersion',_0x55de54['gVyRX']=_0x41f2f3(0xee),_0x55de54[_0x41f2f3(0x11e)]=_0x41f2f3(0x123),_0x55de54[_0x41f2f3(0x124)]=_0x41f2f3(0x13b);const _0x4b7d18=_0x55de54;if(!_0x1f14af)return null;const _0xcd1c6c=_0x1f14af[_0x4b7d18[_0x41f2f3(0xf8)]],_0x5f1fe6=[_0x4b7d18[_0x41f2f3(0x139)],_0x4b7d18[_0x41f2f3(0x120)],_0x4b7d18['yipHJ'],_0x4b7d18['oUppV']];for(const _0x17f1bd of _0x5f1fe6){if(_0xcd1c6c&&_0xcd1c6c[_0x17f1bd])return _0xcd1c6c[_0x17f1bd];else{if(_0x1f14af[_0x17f1bd])return _0x1f14af[_0x17f1bd];}}return null;};exports[a3_0x469c0e(0x109)]=_0x36daf7=>{const _0x233bd9=a3_0x469c0e,_0x39f03c={'OUNuH':_0x233bd9(0xf2),'IfHHg':function(_0x4f6b80,_0x59f8cd){return _0x4f6b80===_0x59f8cd;},'AIUip':_0x233bd9(0x125),'oGZyr':function(_0x299143,_0x422820){return _0x299143(_0x422820);},'IYjpz':function(_0x99fa00,_0x15233d,_0x4188f4){return _0x99fa00(_0x15233d,_0x4188f4);},'BnDYe':_0x233bd9(0xec),'aqHgT':_0x233bd9(0x137),'IyWXI':_0x233bd9(0xfc),'UjLyQ':function(_0x417ed9,_0x3b3a65,_0xaaa455){return _0x417ed9(_0x3b3a65,_0xaaa455);},'xQwvN':_0x233bd9(0xef),'IfrLQ':_0x233bd9(0x11d),'AuHse':_0x233bd9(0x104)};if(!_0x36daf7)return null;let _0x533f45=global['__cloud_provider___']||_0x39f03c[_0x233bd9(0x132)];if(_0x39f03c[_0x233bd9(0x121)](_0x36daf7[_0x233bd9(0x113)][_0x233bd9(0x10f)],_0x39f03c[_0x233bd9(0xea)])){const _0x2ee23a=_0x36daf7[_0x233bd9(0xef)];if(!_0x2ee23a)return null;const _0xdf5b8=_0x2ee23a[_0x233bd9(0x12c)],_0x2b2eec=_0x39f03c['oGZyr'](getOSVersionFromCaps,_0x39f03c[_0x233bd9(0xf5)](nestedKeyValue,_0x36daf7,[_0x39f03c[_0x233bd9(0xf9)],_0x39f03c[_0x233bd9(0x107)]]));return{[_0x533f45]:{'browser':_0xdf5b8[_0x233bd9(0x133)],'browser_version':_0xdf5b8[_0x233bd9(0x106)],'capabilities':_0xdf5b8,'platform':_0xdf5b8[_0x233bd9(0xf3)],'platform_version':_0xdf5b8[_0x233bd9(0x126)]||_0x2b2eec,'product':_0x39f03c[_0x233bd9(0x11a)](getObservabilityLinkedProductName,_0xdf5b8),'session_id':_0x2ee23a[_0x233bd9(0x13a)]}};}else{if(_0x39f03c[_0x233bd9(0x121)](_0x36daf7[_0x233bd9(0x113)][_0x233bd9(0x10f)],_0x39f03c[_0x233bd9(0x118)])){const _0xd00d27=PlaywrightSessionDetails[_0x233bd9(0x10d)]();_0x533f45=_0xd00d27[_0x233bd9(0xeb)]||_0x533f45;const _0x4f8126=_0x39f03c[_0x233bd9(0x10e)](nestedKeyValue,_0x36daf7,[_0x39f03c[_0x233bd9(0xf9)],_0x39f03c[_0x233bd9(0x108)],_0x39f03c[_0x233bd9(0xf1)]]),_0xa60733=_0x4f8126?JSON[_0x233bd9(0x105)](new URL(_0x4f8126)[_0x233bd9(0x129)][_0x233bd9(0x136)](_0x39f03c[_0x233bd9(0x127)])):{};return{[_0x533f45]:{'browser':_0xd00d27[_0x233bd9(0xef)]||_0xa60733['browserName'],'browser_version':_0xd00d27[_0x233bd9(0xfd)]||_0xa60733[_0x233bd9(0xfd)],'capabilities':_0xa60733,'platform':_0xd00d27[_0x233bd9(0x130)],'platform_version':_0xd00d27[_0x233bd9(0xee)],'product':_0x39f03c[_0x233bd9(0x11a)](getObservabilityLinkedProductName,_0xa60733),'session_id':_0xd00d27[_0x233bd9(0xfa)]}};}}},exports[a3_0x469c0e(0x122)]=_0x438dc9=>{const _0x20c864=a3_0x469c0e,_0x501385={'OrmVX':function(_0x503b37){return _0x503b37();},'lulOx':function(_0x3ddf5f,_0x164b98){return _0x3ddf5f===_0x164b98;},'VSzPw':'latest','CguPg':function(_0x29ca52,_0x1da35d){return _0x29ca52>_0x1da35d;},'ZdzFX':function(_0x10268e,_0xcf6031){return _0x10268e(_0xcf6031);},'eFYQK':_0x20c864(0x116),'iZaoe':function(_0x342539,_0x3114f1){return _0x342539===_0x3114f1;},'ysQtv':_0x20c864(0x115),'UWcxs':_0x20c864(0xf4),'STRLz':_0x20c864(0x135),'oHsTJ':_0x20c864(0x134)};if(_0x501385[_0x20c864(0x102)](isAccessibilityAutomationSession)){const _0x3d73f3=_0x438dc9[_0x20c864(0xef)],_0x491fa3=_0x3d73f3['capabilities'];global['accessibilityPlatform']=!![],!(_0x501385[_0x20c864(0x101)](_0x491fa3[_0x20c864(0x106)],_0x501385[_0x20c864(0x119)])||_0x501385[_0x20c864(0x100)](_0x501385['ZdzFX'](parseInt,_0x491fa3[_0x20c864(0x106)]),0x5e))&&(logger[_0x20c864(0x110)](_0x501385[_0x20c864(0xf0)]),global['accessibilityPlatform']=![]),!(_0x501385['iZaoe'](_0x491fa3[_0x20c864(0x133)],_0x501385['ysQtv'])||_0x501385[_0x20c864(0xff)](_0x491fa3['browserName'],_0x501385[_0x20c864(0x10a)]))&&(logger[_0x20c864(0x110)](_0x501385['STRLz']),global[_0x20c864(0x138)]=![]),!_0x501385[_0x20c864(0xfb)](isUndefined,_0x491fa3[_0x20c864(0xed)])&&(logger[_0x20c864(0x110)](_0x501385['oHsTJ']),global[_0x20c864(0x138)]=![]);}},exports[a3_0x469c0e(0x12b)]=_0x43fdb2=>{const _0x6f0b3e=a3_0x469c0e,_0xe7b92c={};_0xe7b92c[_0x6f0b3e(0x12d)]=_0x6f0b3e(0x11f),_0xe7b92c[_0x6f0b3e(0x114)]=_0x6f0b3e(0x12f);const _0x10c9c0=_0xe7b92c;if(!_0x43fdb2)return![];return!_0x43fdb2[_0x6f0b3e(0xf6)](_0x10c9c0[_0x6f0b3e(0x12d)])&&!_0x43fdb2['includes'](_0x10c9c0[_0x6f0b3e(0x114)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x1c390c=a4_0x96b1;function a4_0x2492(){const _0x19c878=['hook_run_uuid','TestRunStarted','groups','resetSkipTestHooks','getInstance','../../helpers/test-observability/requestQueueHandler','jHaVR','replace','lqwjl','STATE_PASSED','exports','STATE_FAILED','test_run','finished','started','vpVvm','yIQUv','findGitConfig','RKnjv','qsmrh','../../helpers/test-observability/constants','LdIUu','wsEndpoint','../playwright/accessibility-helper','javascript','comment','finished_at','ibahZ','getCBTInfo','type','feature','statSync','cZpYi','currentHook','_paths','jiyJw','TestRunSkipped','PLAYWRIGHT_HUB_URL','apply','OiKCX','event_type','VyzrR','defineProperty','UwLly','../../helpers/test-observability/sessionHandler','AaKMV','join','failureData','qGWqT','165zRIKUM','Playwright','732329QnDgqe','cwd','../utils/constants','connect','O11yHelper','err','tags','failed\x20to\x20get\x20root\x20parent\x20file\x20','FiuZw','612234NcUHXe','bs:addLog:','bddStepStart','file_name','stringify','dirname','dpWYn','fireEvent','_beforeAll','toUpperCase','TEST_RUN_STARTED','RSBMp','HhLiu','failure_backtrace','startedAt','TEST_RUN_SKIPPED','lib','captureEvent','fYwbo','prefixTestPath','whfjO','initializeBddStep','testAnalyticsId','_beforeEach','shutdown','skipped','meta','qKSkv','znqfo','split','nAJOO','zqYyR','hbzNI','toISOString','TEST_RUN_FINISHED','bOQnF','ZQXml','xrBLK','Not\x20able\x20to\x20import\x20Browser','SQszS','dFsbW','bddSteps','_afterEach','result','BGzbD','hookAnalyticsId','HOOK_RUN_STARTED','BgJbW','sendCBTInfo','retryOf','driver','8PDRoQq','zowje','DyAGM','834JQgBjz','forEach','zQRHQ','toLowerCase','integrations','HSYoK','util','kMEeL','vxSvG','aUhqX','3|2|0|1|5|4','parent','cGcGr','keyword','LogCreated','tVmeH','crQAV','prototype','errorsDetailed','now','duration','3829292hJWVSM','iMqJL','suites','XYksC','hooks','stepAnalyticsId','eLVfU','LFMGf','mGZkf','hook_type','connectOverCDP','mGgqL','5236374vQfpNc','getRootParentFile','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','file','length','mapTestHooks','WAJuW','browserType.js','cwBeY','_afterAll','enabled','YBuYV','frameworkName','RdkoE','lPXKN','PathHelper','../../helpers/helper','pending','find','TnnQu','uploadEventData','wDSZo','WjuOZ','test_run_uuid','stop','YFfGo','launch','LpCrq','ctx','\x20with\x20error\x20:\x20','match','obsBrowserTypeMockApplied','FnIXH','bind','setupBrowserDetails','name','currentTest','hook','accessibilityPlatform','getHooksForTest','toString','RSgaX','concat','dXhaC','bkNxw','../mocha/test-observability/mochaUtils','.git','tTuVz','config','6195930FGZTPB','markedStatus','debug','passed','test','message','expanded','push','FgDsX','5WYwkfH','failed','DTIEc','getFailureType','status','uuid','includes','aAeMV','Ktsoc','fnUbV','hook_run','start','../../helpers/logger','WjTOz','HookRunFinished','VANIZ','7535731lpVenu','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','sep','Twlkj','KjeWu','CODECEPT','title','hahfo','bddStepFinish','success','fqlQJ','__cloud_provider___','CtrSn','INqwi','logs','_testEnv','__platformCaps','failure','then','getHookType','path'];a4_0x2492=function(){return _0x19c878;};return a4_0x2492();}(function(_0x318c44,_0x57f2b3){const _0x2f969c=a4_0x96b1,_0x15674d=_0x318c44();while(!![]){try{const _0xc24f50=-parseInt(_0x2f969c(0x1ed))/0x1+-parseInt(_0x2f969c(0x22c))/0x2*(-parseInt(_0x2f969c(0x1eb))/0x3)+-parseInt(_0x2f969c(0x241))/0x4*(-parseInt(_0x2f969c(0x195))/0x5)+parseInt(_0x2f969c(0x15b))/0x6+-parseInt(_0x2f969c(0x1a5))/0x7+parseInt(_0x2f969c(0x229))/0x8*(-parseInt(_0x2f969c(0x1f6))/0x9)+parseInt(_0x2f969c(0x18c))/0xa;if(_0xc24f50===_0x57f2b3)break;else _0x15674d['push'](_0x15674d['shift']());}catch(_0x2cb59d){_0x15674d['push'](_0x15674d['shift']());}}}(a4_0x2492,0x916ec));const path=require(a4_0x1c390c(0x1b9)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1c390c(0x19a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1c390c(0x16b)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x1c390c(0x188)),{FRAMEWORKS}=require(a4_0x1c390c(0x1ce)),logger=require(a4_0x1c390c(0x1a1))['winstonLogger'],SessionHandler=require(a4_0x1c390c(0x1e6)),RequestQueueHandler=require(a4_0x1c390c(0x1bf)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x1c390c(0x18e)],{processAccessibilityCaps}=require(a4_0x1c390c(0x1d1)),Constants=require(a4_0x1c390c(0x1ef)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x1c390c(0x18f),STATE_FAILED='failed',a4_0x51ad83={};a4_0x51ad83[a4_0x1c390c(0x200)]=a4_0x1c390c(0x1bb),a4_0x51ad83[a4_0x1c390c(0x218)]='TestRunFinished',a4_0x51ad83[a4_0x1c390c(0x205)]=a4_0x1c390c(0x1de),a4_0x51ad83[a4_0x1c390c(0x224)]='HookRunStarted',a4_0x51ad83['HOOK_RUN_FINISHED']=a4_0x1c390c(0x1a3);const TEST_EVENTS=a4_0x51ad83,parseEvent=_0x16d5c3=>{const _0x1fffe6=a4_0x1c390c,_0x37cb56={};_0x37cb56[_0x1fffe6(0x197)]=function(_0x48985d,_0x5079ce){return _0x48985d<_0x5079ce;},_0x37cb56[_0x1fffe6(0x1c2)]=function(_0x3c3e0e,_0x49cef8){return _0x3c3e0e===_0x49cef8;},_0x37cb56[_0x1fffe6(0x1b2)]=_0x1fffe6(0x190),_0x37cb56['hahfo']=function(_0x49e982,_0x314268){return _0x49e982===_0x314268;},_0x37cb56['sBJvx']=_0x1fffe6(0x180),_0x37cb56[_0x1fffe6(0x1e3)]=_0x1fffe6(0x20f),_0x37cb56[_0x1fffe6(0x202)]=_0x1fffe6(0x1c8),_0x37cb56[_0x1fffe6(0x201)]=_0x1fffe6(0x1c7);const _0x3cb42c=_0x37cb56,_0x510cfe=_0x16d5c3[_0x1fffe6(0x179)](/^(.*)Run(.*)$/);if(!_0x510cfe)return null;if(_0x3cb42c[_0x1fffe6(0x197)](_0x510cfe[_0x1fffe6(0x15f)],0x3))return null;const _0x78e03b=_0x510cfe[0x1][_0x1fffe6(0x22f)](),_0x258941=_0x510cfe[0x2][_0x1fffe6(0x22f)]();return{'test':_0x3cb42c[_0x1fffe6(0x1c2)](_0x78e03b,_0x3cb42c[_0x1fffe6(0x1b2)]),'hook':_0x3cb42c[_0x1fffe6(0x1ac)](_0x78e03b,_0x3cb42c['sBJvx']),'skipped':_0x3cb42c[_0x1fffe6(0x1c2)](_0x258941,_0x3cb42c[_0x1fffe6(0x1e3)]),'started':_0x3cb42c[_0x1fffe6(0x1ac)](_0x258941,_0x3cb42c[_0x1fffe6(0x202)]),'finished':_0x3cb42c[_0x1fffe6(0x1c2)](_0x258941,_0x3cb42c['RSBMp'])};},mockPWBrowserType=_0x184b73=>{const _0x1b62b9=a4_0x1c390c,_0x3bdb4f={'qgYAu':function(_0x1e5f74,_0x2637ab,_0x2d1519){return _0x1e5f74(_0x2637ab,_0x2d1519);},'crQAV':_0x1b62b9(0x1d0),'vpVvm':function(_0x4cfed7,_0x12b7db){return _0x4cfed7(_0x12b7db);},'znqfo':'browserstack','EFUnh':function(_0x149200,_0x176fea,_0x19fa3a){return _0x149200(_0x176fea,_0x19fa3a);},'UwLly':function(_0x420b20,_0x891579){return _0x420b20(_0x891579);},'wDSZo':function(_0x245fe1,_0x4a1413){return _0x245fe1===_0x4a1413;},'zQRHQ':'string','Twlkj':_0x1b62b9(0x206),'WjuOZ':'client','LpCrq':_0x1b62b9(0x162),'TrAgu':function(_0x9b5afc,_0x409907){return _0x9b5afc(_0x409907);},'pZLja':function(_0x76eea4,_0x35f54f){return _0x76eea4(_0x35f54f);},'xGjGq':_0x1b62b9(0x21c),'KjeWu':_0x1b62b9(0x1f0),'ysUBq':_0x1b62b9(0x175)},_0x22a141=path[_0x1b62b9(0x1e8)](_0x3bdb4f[_0x1b62b9(0x1a8)],_0x3bdb4f[_0x1b62b9(0x171)],_0x3bdb4f[_0x1b62b9(0x176)]),_0x4652e6=_0x3bdb4f['TrAgu'](importFileFromPWCore,_0x22a141);if(!_0x4652e6){_0x3bdb4f['pZLja'](debug,_0x3bdb4f['xGjGq']);return;}const _0x3a8fce=_0x4652e6['BrowserType'],_0x1e1777=_0x3a8fce[_0x1b62b9(0x23d)];if(_0x1e1777[_0x1b62b9(0x17a)])return;const _0x381496=_0x1e1777[_0x1b62b9(0x1f0)];Object[_0x1b62b9(0x1e4)](_0x1e1777,_0x3bdb4f[_0x1b62b9(0x1a9)],{'get':function(){const _0xa314fc=_0x1b62b9,_0x3802c1={'HSYoK':function(_0xdc1f8e,_0x2eb055){const _0x219b3f=a4_0x96b1;return _0x3bdb4f[_0x219b3f(0x170)](_0xdc1f8e,_0x2eb055);},'bkNxw':_0x3bdb4f[_0xa314fc(0x22e)]};return async function _0x442239(_0x2405bb,_0xcf6df){const _0x217980=_0xa314fc,_0x5e6c91=_0x3bdb4f['qgYAu'](nestedKeyValue,_0x2405bb,[_0x3bdb4f[_0x217980(0x23c)]])||_0x2405bb;let _0x545fd4=null,_0x76a1bb=null;try{[_0x76a1bb,_0x545fd4]=_0x5e6c91?_0x3bdb4f[_0x217980(0x1c9)](parseWSEndpoint,_0x5e6c91):[null,null],global[_0x217980(0x1b5)]=_0x545fd4,_0x76a1bb['includes'](_0x3bdb4f[_0x217980(0x212)])&&(global[_0x217980(0x1b0)]=_0x3bdb4f[_0x217980(0x212)]);}catch(_0x100a48){logger[_0x217980(0x18e)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5e6c91+'\x20'+_0x100a48);}_0x3bdb4f['EFUnh'](processAccessibilityCaps,_0x545fd4,_0x76a1bb);if(global[_0x217980(0x181)]){const _0x39fb7d=await _0x1e1777[_0x217980(0x24b)][_0x217980(0x1e0)](this,[''+Constants[_0x217980(0x1df)]+_0x3bdb4f[_0x217980(0x1e5)](encodeURIComponent,JSON[_0x217980(0x1fa)](_0x545fd4))]);return PlaywrightSessionDetails[_0x217980(0x17d)](_0x39fb7d,_0x184b73,_0x5e6c91),_0x39fb7d;}return _0x381496[_0x217980(0x1e0)](this,arguments)[_0x217980(0x1b7)](_0x2840a2=>{const _0x18a5cf=_0x217980;let _0x4b6ffc=_0x2405bb['wsEndpoint'];return _0x3802c1[_0x18a5cf(0x231)](typeof _0x2405bb,_0x3802c1[_0x18a5cf(0x187)])&&(_0x4b6ffc=_0x2405bb),PlaywrightSessionDetails['setupBrowserDetails'](_0x2840a2,_0x184b73,_0x4b6ffc),_0x2840a2;});};}});const _0x4b2966=_0x1e1777[_0x1b62b9(0x175)];Object[_0x1b62b9(0x1e4)](_0x1e1777,_0x3bdb4f['ysUBq'],{'get':function(){return async function _0x54d5cd(){const _0x107c0c=a4_0x96b1;return _0x4b2966[_0x107c0c(0x1e0)](this,arguments)[_0x107c0c(0x1b7)](_0x2f2b15=>{const _0x3d6ea1=_0x107c0c;return PlaywrightSessionDetails[_0x3d6ea1(0x17d)](_0x2f2b15,null),_0x2f2b15;});};}});};function a4_0x96b1(_0xa817b8,_0x12c1ab){const _0x249270=a4_0x2492();return a4_0x96b1=function(_0x96b106,_0x2162df){_0x96b106=_0x96b106-0x15a;let _0x26d646=_0x249270[_0x96b106];return _0x26d646;},a4_0x96b1(_0xa817b8,_0x12c1ab);}class O11yHelper{[a4_0x1c390c(0x17f)]=null;['currentHook']=null;['enabled']=![];[a4_0x1c390c(0x167)]=![];constructor(_0x55cf1f,_0x91a39e){const _0x1682df=a4_0x1c390c,_0x50eaa6={'aAeMV':_0x1682df(0x236),'CtrSn':function(_0x16d38f){return _0x16d38f();},'vGOLo':function(_0x2bcaf0,_0x5a2768){return _0x2bcaf0===_0x5a2768;},'BGzbD':_0x1682df(0x1ec),'RKnjv':function(_0x6fa235,_0x1daa51){return _0x6fa235(_0x1daa51);}},_0x232eab=_0x50eaa6[_0x1682df(0x19c)][_0x1682df(0x213)]('|');let _0x1d6990=0x0;while(!![]){switch(_0x232eab[_0x1d6990++]){case'0':this[_0x1682df(0x228)]=_0x55cf1f;continue;case'1':this[_0x1682df(0x1b4)]=_0x50eaa6[_0x1682df(0x1b1)](getTestEnv);continue;case'2':this[_0x1682df(0x167)]=_0x91a39e['frameworkName'];continue;case'3':this[_0x1682df(0x165)]=_0x50eaa6['CtrSn'](shouldProcessEventForTesthub);continue;case'4':this[_0x1682df(0x228)]&&_0x50eaa6['vGOLo'](this[_0x1682df(0x228)]['constructor']['name'],_0x50eaa6[_0x1682df(0x222)])&&_0x50eaa6[_0x1682df(0x1cc)](mockPWBrowserType,null);continue;case'5':this[_0x1682df(0x1dc)]=new testOpsHelper[(_0x1682df(0x16a))]({'cwd':process[_0x1682df(0x1ee)]()},this['_testEnv']['location_prefix']);continue;}break;}}[a4_0x1c390c(0x1a0)](){const _0x4a7d14=a4_0x1c390c;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process['removeAllListeners'](_0x4a7d14(0x1f7)+process['pid']),process['on'](_0x4a7d14(0x1f7)+process['pid'],this['appendTestItemLog'][_0x4a7d14(0x17c)](this));}async[a4_0x1c390c(0x173)](){const _0x24d28b=a4_0x1c390c;await RequestQueueHandler[_0x24d28b(0x1be)]()[_0x24d28b(0x20e)]();}async['appendTestItemLog'](_0x28c039){const _0x2eefec=a4_0x1c390c,_0x3a1c0a={'mGgqL':_0x2eefec(0x23a),'lPXKN':function(_0x157538,_0x470531){return _0x157538(_0x470531);}};try{this[_0x2eefec(0x1db)]&&!this[_0x2eefec(0x1db)]['markedStatus']&&(_0x28c039['hook_run_uuid']=this[_0x2eefec(0x1db)]['hookAnalyticsId']);!_0x28c039[_0x2eefec(0x1ba)]&&this[_0x2eefec(0x17f)]&&!this[_0x2eefec(0x17f)][_0x2eefec(0x18d)]&&(_0x28c039['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x28c039[_0x2eefec(0x1ba)]||_0x28c039[_0x2eefec(0x172)]){const _0x20d66d={};_0x20d66d[_0x2eefec(0x1e2)]=_0x3a1c0a[_0x2eefec(0x15a)],_0x20d66d[_0x2eefec(0x1b3)]=[_0x28c039],await SessionHandler[_0x2eefec(0x16f)](_0x20d66d);}}catch(_0x1a13ce){_0x3a1c0a[_0x2eefec(0x169)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1a13ce);}}async[a4_0x1c390c(0x226)](_0x426c37){const _0x5c8b6b=a4_0x1c390c,_0x95cc54={'qGWqT':'CBTSessionCreated','mGZkf':function(_0x3b9d21,_0x213eee){return _0x3b9d21(_0x213eee);}};if(!this['enabled'])return;const _0x2bf26c=this['getCBTInfo'](this[_0x5c8b6b(0x228)]);try{const _0x9ad15c={};_0x9ad15c['uuid']=_0x426c37,_0x9ad15c[_0x5c8b6b(0x230)]=_0x2bf26c;const _0x513327=_0x9ad15c,_0x4e8a86={};_0x4e8a86['event_type']=_0x95cc54[_0x5c8b6b(0x1ea)],_0x4e8a86['test_run']=_0x513327,await SessionHandler[_0x5c8b6b(0x16f)](_0x4e8a86);}catch(_0x305e7f){_0x95cc54[_0x5c8b6b(0x249)](debug,_0x5c8b6b(0x15d)+_0x305e7f);}}[a4_0x1c390c(0x1d6)](_0x4878e9){const _0x2b7432=a4_0x1c390c,_0x45cd89={'iMqJL':function(_0x29e2c6,_0xbed2a0){return _0x29e2c6(_0xbed2a0);}};return _0x45cd89[_0x2b7432(0x242)](fetchPlatformDetails,_0x4878e9);}[a4_0x1c390c(0x1bd)]=_0x23673d=>{const _0x32c095=a4_0x1c390c,_0x2710d3={};_0x2710d3[_0x32c095(0x235)]=_0x32c095(0x20d),_0x2710d3['xrBLK']='_afterEach';const _0x1f894a=_0x2710d3;if(!_0x23673d||!_0x23673d[_0x32c095(0x237)])return;[_0x1f894a['aUhqX'],_0x1f894a[_0x32c095(0x21b)]]['forEach'](_0x540115=>{const _0x8331f=_0x32c095,_0x15c0ce=_0x23673d['parent'][_0x540115];_0x15c0ce[_0x8331f(0x22d)](_0x2a51ae=>{const _0xbba23e=_0x8331f;_0x2a51ae[_0xbba23e(0x223)]&&(_0x2a51ae[_0xbba23e(0x223)]=null);});});};[a4_0x1c390c(0x160)](_0x379b37){const _0x574005=a4_0x1c390c,_0x2bf466={'qsmrh':'codeceptjs','RdkoE':function(_0x342d78){return _0x342d78();},'OiKCX':function(_0x400435,_0x18fad5){return _0x400435===_0x18fad5;},'dXhaC':_0x574005(0x220),'fYwbo':_0x574005(0x1fe),'Ktsoc':_0x574005(0x164),'dpWYn':_0x574005(0x20d)};if(!_0x379b37||!_0x379b37[_0x574005(0x237)])return;[_0x2bf466[_0x574005(0x208)],_0x2bf466[_0x574005(0x19d)],_0x2bf466[_0x574005(0x1fc)],_0x2bf466[_0x574005(0x186)]][_0x574005(0x22d)](_0x3291c7=>{const _0xa65de6=_0x574005,_0x3a7ca3=_0x379b37[_0xa65de6(0x237)][_0x3291c7]||[];_0x3a7ca3[_0xa65de6(0x22d)](_0x3046c8=>{const _0x49d659=_0xa65de6;if(_0x3046c8[_0x49d659(0x1ab)]['includes'](_0x2bf466[_0x49d659(0x1cd)]))return;if(!_0x3046c8[_0x49d659(0x223)])_0x3046c8[_0x49d659(0x223)]=_0x2bf466[_0x49d659(0x168)](uuidv4);else _0x3046c8[_0x49d659(0x18d)]&&_0x2bf466[_0x49d659(0x1e1)](_0x3291c7,_0x2bf466[_0x49d659(0x186)])&&(_0x3046c8[_0x49d659(0x223)]=_0x2bf466['RdkoE'](uuidv4),delete _0x3046c8[_0x49d659(0x18d)]);});}),this[_0x574005(0x160)](_0x379b37[_0x574005(0x237)]);}[a4_0x1c390c(0x182)](_0x592767){const _0x391dfc=a4_0x1c390c,_0x330d3c={};_0x330d3c['LdIUu']='_beforeAll',_0x330d3c[_0x391dfc(0x215)]=_0x391dfc(0x164),_0x330d3c[_0x391dfc(0x1af)]=_0x391dfc(0x20d),_0x330d3c[_0x391dfc(0x22a)]=_0x391dfc(0x220);const _0x116808=_0x330d3c;if(!_0x592767||!_0x592767[_0x391dfc(0x237)])return[];const _0x563ae4=[];return[_0x116808[_0x391dfc(0x1cf)],_0x116808['zqYyR'],_0x116808[_0x391dfc(0x1af)],_0x116808[_0x391dfc(0x22a)]][_0x391dfc(0x22d)](_0x3c376d=>{const _0x3b1c97=_0x391dfc,_0x3c996e=_0x592767[_0x3b1c97(0x237)][_0x3c376d]||[];_0x3c996e[_0x3b1c97(0x22d)](_0x3e1cae=>{const _0x4cfa52=_0x3b1c97;_0x3e1cae[_0x4cfa52(0x223)]&&_0x563ae4[_0x4cfa52(0x193)](_0x3e1cae['hookAnalyticsId']);});}),[][_0x391dfc(0x185)](_0x563ae4,this[_0x391dfc(0x182)](_0x592767[_0x391dfc(0x237)]));}[a4_0x1c390c(0x1b8)](_0x1115c6){const _0x154897=a4_0x1c390c,_0x10c27f=/^"(?<hook>.*)" hook:.*$/,_0x4ee7aa=_0x1115c6[_0x154897(0x1ab)],_0x39eb5e=_0x4ee7aa[_0x154897(0x179)](_0x10c27f);if(_0x39eb5e&&_0x39eb5e[_0x154897(0x1bc)])return _0x39eb5e['groups']['hook'][_0x154897(0x1ff)]()[_0x154897(0x1c1)]('\x20','_');return null;}[a4_0x1c390c(0x1cb)](_0x1d493d){const _0x4e234c=a4_0x1c390c,_0x45a420={};_0x45a420['yIQUv']=function(_0x5dfdd6,_0x26f505){return _0x5dfdd6===_0x26f505;},_0x45a420[_0x4e234c(0x248)]=_0x4e234c(0x189),_0x45a420[_0x4e234c(0x233)]=_0x4e234c(0x18b);const _0x19a1c5=_0x45a420,_0x1f1c07=path[_0x4e234c(0x1a7)];if(_0x19a1c5['yIQUv'](_0x1d493d,null)||_0x19a1c5[_0x4e234c(0x1ca)](_0x1d493d,'')||_0x19a1c5[_0x4e234c(0x1ca)](_0x1d493d,_0x1f1c07)||_0x19a1c5[_0x4e234c(0x1ca)](_0x1d493d,path[_0x4e234c(0x1fb)](_0x1d493d)))return null;try{return fs[_0x4e234c(0x1d9)](path[_0x4e234c(0x1e8)](_0x1d493d,_0x19a1c5[_0x4e234c(0x248)],_0x19a1c5[_0x4e234c(0x233)])),_0x1d493d;}catch(_0x2e9b61){const _0xa97d52=path['dirname'](_0x1d493d);return this['findGitConfig'](_0xa97d52);}}['getRootParentFile'](_0x2ab268){const _0x1e51a4=a4_0x1c390c,_0x12cdb6={};_0x12cdb6[_0x1e51a4(0x1e7)]=function(_0x95178c,_0x3772ea){return _0x95178c>_0x3772ea;};const _0x2b4584=_0x12cdb6;if(_0x2ab268[_0x1e51a4(0x15e)])return _0x2ab268[_0x1e51a4(0x15e)];if(_0x2ab268[_0x1e51a4(0x177)]){const _0x1f012d=_0x2ab268[_0x1e51a4(0x177)][_0x1e51a4(0x17f)]?this[_0x1e51a4(0x15c)](_0x2ab268[_0x1e51a4(0x177)][_0x1e51a4(0x17f)]):null;if(_0x1f012d)return _0x1f012d;}if(_0x2ab268[_0x1e51a4(0x237)]){const _0x283e9f=this['getRootParentFile'](_0x2ab268[_0x1e51a4(0x237)])||(_0x2ab268[_0x1e51a4(0x237)]['ctx']&&_0x2ab268[_0x1e51a4(0x237)][_0x1e51a4(0x177)]['currentTest']?this[_0x1e51a4(0x15c)](_0x2ab268['parent'][_0x1e51a4(0x177)][_0x1e51a4(0x17f)]):null);if(_0x283e9f)return _0x283e9f;_0x2ab268[_0x1e51a4(0x237)][_0x1e51a4(0x243)]&&_0x2b4584[_0x1e51a4(0x1e7)](_0x2ab268[_0x1e51a4(0x237)][_0x1e51a4(0x243)]['length'],0x0)&&_0x2ab268[_0x1e51a4(0x237)][_0x1e51a4(0x243)][_0x1e51a4(0x22d)](_0x28d746=>{const _0x594adb=_0x1e51a4,_0x509616=_0x28d746[_0x594adb(0x177)]?this[_0x594adb(0x15c)](_0x28d746[_0x594adb(0x177)]):null;if(_0x509616)return _0x509616;});}return null;}['getHierarchy'](_0x93e21){const _0x3a8422=a4_0x1c390c,_0x182966={};_0x182966[_0x3a8422(0x23b)]=function(_0xc47728,_0x21dfd8){return _0xc47728!==_0x21dfd8;};const _0x15160e=_0x182966,_0x3d11fe=[];if(_0x93e21&&_0x93e21[_0x3a8422(0x237)]){let _0x1360b8=_0x93e21[_0x3a8422(0x237)];while(_0x1360b8&&_0x15160e['tVmeH'](_0x1360b8['title'],'')){_0x3d11fe[_0x3a8422(0x193)](_0x1360b8[_0x3a8422(0x1ab)]),_0x1360b8=_0x1360b8[_0x3a8422(0x237)];}}return _0x3d11fe;}[a4_0x1c390c(0x207)](_0x331742,_0x246218,_0x129730=undefined){const _0x3b4ba3=a4_0x1c390c,_0x4f6118={'TnnQu':function(_0x1df3d5,_0x117924){return _0x1df3d5(_0x117924);},'jiyJw':function(_0x3e1fff){return _0x3e1fff();},'cwBeY':function(_0x144647,_0x5421ee){return _0x144647(_0x5421ee);},'jHaVR':_0x3b4ba3(0x232),'YFfGo':'err','cGcGr':function(_0x2118a0,_0xbb346){return _0x2118a0!==_0xbb346;},'vxSvG':function(_0x381d6c,_0x5d7b8f){return _0x381d6c!==_0x5d7b8f;},'VANIZ':'File\x20path\x20could\x20not\x20be\x20found','qKSkv':_0x3b4ba3(0x16c),'YBuYV':_0x3b4ba3(0x196),'XYksC':_0x3b4ba3(0x18f),'FiuZw':_0x3b4ba3(0x20f),'hbzNI':_0x3b4ba3(0x1d2),'ZQXml':function(_0x15b43b,_0x37ce08){return _0x15b43b-_0x37ce08;},'WAJuW':function(_0x1290d6,_0x3bcba0,_0x3951f6,_0x268577,_0x297449){return _0x1290d6(_0x3bcba0,_0x3951f6,_0x268577,_0x297449);},'ibahZ':function(_0x3d341e,_0x53b975){return _0x3d341e!==_0x53b975;},'dFsbW':'integrations','WjTOz':_0x3b4ba3(0x210),'OnBop':_0x3b4ba3(0x1b6),'RSgaX':_0x3b4ba3(0x203),'FgDsX':'backtrace','eLVfU':'failure_reason_expanded','whfjO':_0x3b4ba3(0x192),'FnIXH':function(_0x3c365f,_0x1cd45f){return _0x3c365f===_0x1cd45f;},'cZpYi':_0x3b4ba3(0x19f),'bOQnF':_0x3b4ba3(0x1c6)};if(!this[_0x3b4ba3(0x165)])return;try{if(_0x246218['fn']&&_0x246218['fn']['toString']()[_0x3b4ba3(0x179)](/browserstack internal helper hook/))return;const _0x587ac7=_0x4f6118[_0x3b4ba3(0x16e)](parseEvent,_0x331742);if(!_0x587ac7)return;if(_0x587ac7[_0x3b4ba3(0x190)]){this[_0x3b4ba3(0x17f)]=_0x246218,this[_0x3b4ba3(0x1db)]=null;if(_0x587ac7[_0x3b4ba3(0x1c8)]||_0x587ac7[_0x3b4ba3(0x20f)]){_0x246218[_0x3b4ba3(0x204)]=new Date(),_0x246218['markedStatus']=![];if(!_0x246218['testAnalyticsId'])_0x246218[_0x3b4ba3(0x20c)]=_0x4f6118[_0x3b4ba3(0x1dd)](uuidv4);else _0x246218[_0x3b4ba3(0x18d)]&&(!_0x246218[_0x3b4ba3(0x227)]&&(_0x246218[_0x3b4ba3(0x227)]=_0x246218['testAnalyticsId']),_0x246218[_0x3b4ba3(0x20c)]=_0x4f6118[_0x3b4ba3(0x1dd)](uuidv4));}}else{if(_0x587ac7[_0x3b4ba3(0x180)]){this[_0x3b4ba3(0x1db)]=_0x246218;if(_0x587ac7[_0x3b4ba3(0x1c8)]){_0x246218[_0x3b4ba3(0x204)]=new Date(),_0x246218['markedStatus']=![];if(!_0x246218['hookAnalyticsId'])_0x246218[_0x3b4ba3(0x223)]=_0x4f6118[_0x3b4ba3(0x1dd)](uuidv4);else _0x246218[_0x3b4ba3(0x223)]&&_0x246218[_0x3b4ba3(0x18d)]&&(_0x246218['hookAnalyticsId']=_0x4f6118[_0x3b4ba3(0x1dd)](uuidv4));}}}if(_0x587ac7[_0x3b4ba3(0x1c7)]&&_0x246218['markedStatus'])return;let _0x2b7f8c;try{_0x2b7f8c=this['getRootParentFile'](_0x246218);}catch(_0x54aece){logger[_0x3b4ba3(0x18e)](_0x3b4ba3(0x1f4)+_0x54aece),_0x2b7f8c=null;}const _0x194c7a=_0x4f6118[_0x3b4ba3(0x163)](require,_0x4f6118[_0x3b4ba3(0x1c0)]);let _0x4e915d=[];_0x129730&&(_0x4e915d=[_0x129730,_0x4f6118[_0x3b4ba3(0x174)]]);const _0x3cc1b6=_0x4f6118[_0x3b4ba3(0x238)](_0x246218[_0x3b4ba3(0x23e)],undefined)?_0x194c7a['inspect'](_0x246218[_0x3b4ba3(0x23e)][0x0]):_0x4f6118[_0x3b4ba3(0x234)](_0x129730,undefined)?_0x129730[_0x3b4ba3(0x183)]():undefined,_0x4d6bab=_0x2b7f8c?this[_0x3b4ba3(0x1cb)](_0x2b7f8c):null,_0x261719=_0x2b7f8c?this[_0x3b4ba3(0x1dc)][_0x3b4ba3(0x209)](this[_0x3b4ba3(0x15c)](_0x246218)):_0x4f6118[_0x3b4ba3(0x1a4)];let _0x1fe054=_0x4f6118['qKSkv'];const _0x4cee4e=!_0x587ac7[_0x3b4ba3(0x1c8)]?new Date()[_0x3b4ba3(0x217)]():null;if(_0x587ac7[_0x3b4ba3(0x1c7)])_0x1fe054=_0x129730?_0x4f6118['YBuYV']:_0x4f6118[_0x3b4ba3(0x244)],_0x246218['markedStatus']=!![];else _0x587ac7[_0x3b4ba3(0x20f)]&&(_0x1fe054=_0x4f6118[_0x3b4ba3(0x1f5)],_0x246218[_0x3b4ba3(0x18d)]=!![]);const _0x2059cd={'framework':this[_0x3b4ba3(0x167)],'uuid':_0x246218[_0x3b4ba3(0x20c)]||_0x246218[_0x3b4ba3(0x223)],'name':_0x246218['title'],'body':{'lang':_0x4f6118[_0x3b4ba3(0x216)],'code':_0x246218['body'][_0x3b4ba3(0x183)]()},'type':_0x246218[_0x3b4ba3(0x1d7)],'scope':_0x246218['fullTitle'](),'scopes':this['getHierarchy'](_0x246218),'file_name':_0x261719,'vc_filepath':_0x4d6bab?path['relative'](_0x4d6bab,_0x2b7f8c):null,'location':_0x261719,'result':_0x1fe054,'failure_reason':_0x3cc1b6,'duration_in_ms':_0x246218['duration']||(_0x587ac7[_0x3b4ba3(0x1c7)]||_0x587ac7[_0x3b4ba3(0x20f)])?_0x4f6118[_0x3b4ba3(0x21a)](Date['now'](),new Date(_0x246218['startedAt'])['getTime']()):null,'started_at':new Date(_0x246218[_0x3b4ba3(0x204)])['toISOString'](),'finished_at':_0x4cee4e,'failure':testOpsHelper[_0x3b4ba3(0x1e9)][_0x3b4ba3(0x1e0)](null,_0x4e915d),'failure_type':!_0x3cc1b6?null:testOpsHelper[_0x3b4ba3(0x198)](_0x3cc1b6),'retry_of':_0x246218[_0x3b4ba3(0x227)]||null,'tags':_0x246218[_0x3b4ba3(0x1f3)]||[],'customRerunParam':{'rerun_name':_0x246218['fullTitle']()}};_0x4f6118[_0x3b4ba3(0x161)](appendTesthubParams,_0x2059cd,_0x331742,_0x246218,FRAMEWORKS[_0x3b4ba3(0x1aa)]);if(_0x587ac7['hook'])[_0x2059cd[_0x3b4ba3(0x24a)],_0x2059cd[_0x3b4ba3(0x17e)]]=[this[_0x3b4ba3(0x1b8)](_0x246218),_0x246218[_0x3b4ba3(0x177)]['test'][_0x3b4ba3(0x1ab)]],_0x587ac7[_0x3b4ba3(0x1c7)]?_0x4f6118[_0x3b4ba3(0x1d5)](_0x2059cd[_0x3b4ba3(0x221)],_0x4f6118['YBuYV'])&&(_0x2059cd['result']=_0x4f6118[_0x3b4ba3(0x244)]):_0x2059cd['body']={};else _0x587ac7[_0x3b4ba3(0x190)]&&(this[_0x3b4ba3(0x160)](_0x246218),_0x587ac7[_0x3b4ba3(0x20f)]&&this[_0x3b4ba3(0x1bd)](_0x246218),(_0x587ac7['finished']||_0x587ac7[_0x3b4ba3(0x20f)])&&(_0x2059cd[_0x3b4ba3(0x245)]=this['getHooksForTest'](_0x246218)));this[_0x3b4ba3(0x228)]&&(_0x587ac7[_0x3b4ba3(0x1c8)]||_0x587ac7[_0x3b4ba3(0x20f)])&&(_0x2059cd[_0x4f6118[_0x3b4ba3(0x21e)]]=this['getCBTInfo'](this[_0x3b4ba3(0x228)]));_0x587ac7['test']&&_0x587ac7[_0x3b4ba3(0x1c7)]&&_0x246218[_0x3b4ba3(0x21f)]&&(_0x2059cd[_0x4f6118[_0x3b4ba3(0x1a2)]]={'feature':{'name':_0x246218[_0x3b4ba3(0x237)][_0x3b4ba3(0x1d8)][_0x3b4ba3(0x17e)],'path':_0x2059cd[_0x3b4ba3(0x1f9)],'description':_0x246218['parent'][_0x3b4ba3(0x1d3)]},'scenario':{'name':_0x246218['title']},'steps':_0x246218[_0x3b4ba3(0x21f)]});const _0x52d1eb=_0x2059cd[_0x4f6118['OnBop']][0x0];_0x52d1eb&&(_0x2059cd[_0x4f6118[_0x3b4ba3(0x184)]]=_0x52d1eb[_0x4f6118[_0x3b4ba3(0x194)]],_0x2059cd[_0x4f6118[_0x3b4ba3(0x247)]]=_0x52d1eb[_0x4f6118[_0x3b4ba3(0x20a)]]);if(_0x246218[_0x3b4ba3(0x21f)])for(const _0x555bde of _0x246218[_0x3b4ba3(0x21f)]){!_0x555bde[_0x3b4ba3(0x1d4)]&&(_0x555bde[_0x3b4ba3(0x1d4)]=new Date()[_0x3b4ba3(0x217)](),_0x4f6118[_0x3b4ba3(0x17b)](_0x555bde['result'],_0x4f6118[_0x3b4ba3(0x211)])&&(_0x52d1eb?(_0x555bde['result']=_0x4f6118[_0x3b4ba3(0x166)],_0x555bde[_0x3b4ba3(0x1b6)]=_0x52d1eb[_0x4f6118[_0x3b4ba3(0x194)]][0x0]):_0x555bde[_0x3b4ba3(0x221)]=_0x4f6118[_0x3b4ba3(0x244)]));}const _0x52dc06={};_0x52dc06[_0x3b4ba3(0x1e2)]=_0x587ac7[_0x3b4ba3(0x20f)]?TEST_EVENTS[_0x3b4ba3(0x218)]:_0x331742;const _0xf8d5aa=_0x52dc06;return _0x587ac7[_0x3b4ba3(0x180)]?_0xf8d5aa[_0x4f6118[_0x3b4ba3(0x1da)]]=_0x2059cd:_0xf8d5aa[_0x4f6118[_0x3b4ba3(0x219)]]=_0x2059cd,_0xf8d5aa;}catch(_0x2aa84a){logger[_0x3b4ba3(0x18e)](_0x3b4ba3(0x1a6)+_0x331742+'\x20with\x20error\x20:\x20'+_0x2aa84a);}}async[a4_0x1c390c(0x1fd)](_0x19b022,_0x5c88c2){const _0xf8106a=a4_0x1c390c;if(!this[_0xf8106a(0x165)]||!_0x5c88c2||!_0x19b022)return![];try{return await SessionHandler['uploadEventData'](_0x5c88c2);}catch(_0x179d5c){logger[_0xf8106a(0x18e)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x19b022+_0xf8106a(0x178)+_0x179d5c);}}[a4_0x1c390c(0x20b)](_0x3d4864){const _0x495542=a4_0x1c390c,_0x372703={};_0x372703[_0x495542(0x19e)]='pending';const _0x5ea7bd=_0x372703;return{'id':_0x3d4864['stepAnalyticsId'],'text':_0x3d4864['text'],'keyword':_0x3d4864[_0x495542(0x239)],'started_at':_0x3d4864['startedAt'][_0x495542(0x217)](),'result':_0x5ea7bd['fnUbV']};}[a4_0x1c390c(0x1f8)](_0x4cf793){const _0x3c5dfd=a4_0x1c390c,_0x65322c={'tTuVz':function(_0x2ae4ee){return _0x2ae4ee();}};!this[_0x3c5dfd(0x17f)][_0x3c5dfd(0x21f)]&&(this[_0x3c5dfd(0x17f)][_0x3c5dfd(0x21f)]=[]),!_0x4cf793[_0x3c5dfd(0x246)]&&(_0x4cf793[_0x3c5dfd(0x246)]=_0x65322c[_0x3c5dfd(0x18a)](uuidv4),_0x4cf793[_0x3c5dfd(0x204)]=new Date(),this['currentTest'][_0x3c5dfd(0x21f)][_0x3c5dfd(0x193)](this[_0x3c5dfd(0x20b)](_0x4cf793)));}[a4_0x1c390c(0x1ad)](_0x3a8e9e){const _0x445dd4=a4_0x1c390c,_0x2741f5={'DyAGM':function(_0x281106,_0x5ae34a){return _0x281106(_0x5ae34a);},'nAJOO':_0x445dd4(0x1ae),'vEHdq':_0x445dd4(0x16c),'BgJbW':_0x445dd4(0x18f),'SQszS':function(_0x523a82,_0x1b7e07){return _0x523a82-_0x1b7e07;}};let _0x586ad0=this[_0x445dd4(0x17f)]['bddSteps'][_0x445dd4(0x16d)](_0x58179d=>_0x58179d['id']===_0x3a8e9e[_0x445dd4(0x246)]);_0x2741f5[_0x445dd4(0x22b)](isUndefined,_0x586ad0)&&(_0x586ad0=this['initializeBddStep'](_0x3a8e9e)),_0x586ad0[_0x445dd4(0x221)]=[_0x2741f5[_0x445dd4(0x214)],_0x2741f5['vEHdq']][_0x445dd4(0x19b)](_0x3a8e9e[_0x445dd4(0x199)])?_0x2741f5[_0x445dd4(0x225)]:_0x3a8e9e[_0x445dd4(0x199)],_0x586ad0['finished_at']=new Date()[_0x445dd4(0x217)](),_0x586ad0[_0x445dd4(0x240)]=_0x2741f5[_0x445dd4(0x21d)](Date[_0x445dd4(0x23f)](),_0x3a8e9e[_0x445dd4(0x204)]['getTime']()),_0x586ad0[_0x445dd4(0x1b6)]=_0x3a8e9e[_0x445dd4(0x1f2)]?_0x3a8e9e[_0x445dd4(0x1f2)][_0x445dd4(0x191)]:null;}}const a4_0x4bb73e={};a4_0x4bb73e[a4_0x1c390c(0x1f1)]=O11yHelper,a4_0x4bb73e[a4_0x1c390c(0x1c3)]=STATE_PASSED,a4_0x4bb73e[a4_0x1c390c(0x1c5)]=STATE_FAILED,a4_0x4bb73e['TEST_EVENTS']=TEST_EVENTS,module[a4_0x1c390c(0x1c4)]=a4_0x4bb73e;
|
|
1
|
+
const a4_0x3d85d5=a4_0x5d9e;(function(_0x560394,_0x337c38){const _0x57d6fd=a4_0x5d9e,_0x4905c5=_0x560394();while(!![]){try{const _0x543cca=parseInt(_0x57d6fd(0x151))/0x1*(-parseInt(_0x57d6fd(0x11d))/0x2)+parseInt(_0x57d6fd(0x1e7))/0x3+-parseInt(_0x57d6fd(0x185))/0x4+-parseInt(_0x57d6fd(0x176))/0x5*(-parseInt(_0x57d6fd(0x1dd))/0x6)+-parseInt(_0x57d6fd(0x1c4))/0x7*(parseInt(_0x57d6fd(0x1b7))/0x8)+-parseInt(_0x57d6fd(0x1c5))/0x9*(parseInt(_0x57d6fd(0x1ac))/0xa)+-parseInt(_0x57d6fd(0x17b))/0xb;if(_0x543cca===_0x337c38)break;else _0x4905c5['push'](_0x4905c5['shift']());}catch(_0x13aeb1){_0x4905c5['push'](_0x4905c5['shift']());}}}(a4_0x9872,0x7c13a));const path=require(a4_0x3d85d5(0x19b)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3d85d5(0x1d8)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3d85d5(0x12f)),testOpsHelper=require(a4_0x3d85d5(0x14b)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x3d85d5(0x1c9)),logger=require(a4_0x3d85d5(0x1a5))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x3d85d5(0x1be)),PlaywrightSessionDetails=require(a4_0x3d85d5(0x1ea)),debug=testOpsHelper[a4_0x3d85d5(0x19e)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3d85d5(0x1b6)),{fetchPlatformDetails}=require(a4_0x3d85d5(0x141)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3d85d5(0x1d7)),STATE_PASSED=a4_0x3d85d5(0x10f),STATE_FAILED=a4_0x3d85d5(0x14f),a4_0x1bf589={};a4_0x1bf589[a4_0x3d85d5(0x1dc)]=a4_0x3d85d5(0x122),a4_0x1bf589[a4_0x3d85d5(0xff)]=a4_0x3d85d5(0x143),a4_0x1bf589[a4_0x3d85d5(0x1af)]='TestRunSkipped',a4_0x1bf589['HOOK_RUN_STARTED']=a4_0x3d85d5(0x1a2),a4_0x1bf589[a4_0x3d85d5(0x1e2)]=a4_0x3d85d5(0x111);const TEST_EVENTS=a4_0x1bf589,parseEvent=_0x2296de=>{const _0x377731=a4_0x3d85d5,_0x2c9918={};_0x2c9918[_0x377731(0x1ae)]=function(_0x501754,_0x1fe9d9){return _0x501754<_0x1fe9d9;},_0x2c9918['iMgKI']=function(_0x288b6e,_0x52b665){return _0x288b6e===_0x52b665;},_0x2c9918[_0x377731(0x121)]=_0x377731(0x197),_0x2c9918['GOBek']=function(_0xc626f1,_0xe070dc){return _0xc626f1===_0xe070dc;},_0x2c9918[_0x377731(0x134)]=_0x377731(0x184),_0x2c9918['wIFnW']=function(_0xd4fb48,_0x2c1a89){return _0xd4fb48===_0x2c1a89;},_0x2c9918[_0x377731(0x116)]=_0x377731(0x14e),_0x2c9918[_0x377731(0x1c3)]='started',_0x2c9918['iphjl']='finished';const _0x5f5aa0=_0x2c9918,_0x2878fd=_0x2296de[_0x377731(0x16c)](/^(.*)Run(.*)$/);if(!_0x2878fd)return null;if(_0x5f5aa0[_0x377731(0x1ae)](_0x2878fd[_0x377731(0x17c)],0x3))return null;const _0x1b65fc=_0x2878fd[0x1][_0x377731(0x163)](),_0x2b4f38=_0x2878fd[0x2][_0x377731(0x163)]();return{'test':_0x5f5aa0[_0x377731(0x1d5)](_0x1b65fc,_0x5f5aa0[_0x377731(0x121)]),'hook':_0x5f5aa0[_0x377731(0x1a6)](_0x1b65fc,_0x5f5aa0['OewAl']),'skipped':_0x5f5aa0[_0x377731(0x14c)](_0x2b4f38,_0x5f5aa0[_0x377731(0x116)]),'started':_0x5f5aa0['GOBek'](_0x2b4f38,_0x5f5aa0[_0x377731(0x1c3)]),'finished':_0x5f5aa0[_0x377731(0x1d5)](_0x2b4f38,_0x5f5aa0[_0x377731(0x147)])};},mockPWBrowserType=_0x4b6c45=>{const _0x260001=a4_0x3d85d5,_0x3fb31a={'hctWP':function(_0x3b40be,_0x2c8447,_0x1e2126){return _0x3b40be(_0x2c8447,_0x1e2126);},'Gfqph':'wsEndpoint','uaHVu':function(_0x1002d7,_0x232955){return _0x1002d7(_0x232955);},'scCpv':_0x260001(0x1ad),'xNIvr':function(_0xcef281,_0x27b617){return _0xcef281===_0x27b617;},'fBose':_0x260001(0x13c),'sGIeg':_0x260001(0x1bb),'iDvzk':'client','UilhA':_0x260001(0x179),'CYpIH':function(_0x439d6d,_0x16fefe){return _0x439d6d(_0x16fefe);},'wkhtA':_0x260001(0x1f2),'PyoMI':'connect','zTaZi':_0x260001(0x1a7)},_0x35f395=path[_0x260001(0x10a)](_0x3fb31a[_0x260001(0x12e)],_0x3fb31a[_0x260001(0x136)],_0x3fb31a['UilhA']),_0x53cecb=_0x3fb31a[_0x260001(0x10b)](importFileFromPWCore,_0x35f395);if(!_0x53cecb){_0x3fb31a['CYpIH'](debug,_0x3fb31a[_0x260001(0x181)]);return;}const _0x4ec16c=_0x53cecb[_0x260001(0x171)],_0x2039ee=_0x4ec16c[_0x260001(0x15f)];if(_0x2039ee[_0x260001(0x11f)])return;const _0x17dcac=_0x2039ee['connect'];Object['defineProperty'](_0x2039ee,_0x3fb31a['PyoMI'],{'get':function(){const _0x5c8232=_0x260001,_0x2fb1e5={'mdBgU':function(_0x3f4acd,_0x5772f3){const _0x3b19fa=a4_0x5d9e;return _0x3fb31a[_0x3b19fa(0x156)](_0x3f4acd,_0x5772f3);},'zKLmq':_0x3fb31a[_0x5c8232(0x10e)]};return async function _0x9ed001(_0x544a45,_0x4d46a2){const _0x361dcb=_0x5c8232,_0x3a3e62=_0x3fb31a[_0x361dcb(0x1ec)](nestedKeyValue,_0x544a45,[_0x3fb31a[_0x361dcb(0x10d)]])||_0x544a45;let _0x542104=null,_0xe30418=null;try{[_0xe30418,_0x542104]=_0x3a3e62?_0x3fb31a[_0x361dcb(0x10b)](parseWSEndpoint,_0x3a3e62):[null,null],global[_0x361dcb(0x1d3)]=_0x542104,_0xe30418['includes'](_0x3fb31a[_0x361dcb(0x172)])&&(global[_0x361dcb(0x101)]=_0x3fb31a['scCpv']);}catch(_0x5b4d64){logger[_0x361dcb(0x19e)](_0x361dcb(0x175)+_0x3a3e62+'\x20'+_0x5b4d64);}_0x3fb31a[_0x361dcb(0x1ec)](processAccessibilityCaps,_0x542104,_0xe30418);if(global[_0x361dcb(0x150)]){const _0x4e28a1=await _0x2039ee[_0x361dcb(0x1bc)][_0x361dcb(0xfd)](this,[''+Constants[_0x361dcb(0x1a8)]+_0x3fb31a[_0x361dcb(0x10b)](encodeURIComponent,JSON[_0x361dcb(0x15c)](_0x542104))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x4e28a1,_0x4b6c45,_0x3a3e62),_0x4e28a1;}return _0x17dcac[_0x361dcb(0xfd)](this,arguments)[_0x361dcb(0x1f7)](_0x49c169=>{const _0x4d6753=_0x361dcb;let _0x10dbb9=_0x544a45[_0x4d6753(0x103)];return _0x2fb1e5[_0x4d6753(0x196)](typeof _0x544a45,_0x2fb1e5[_0x4d6753(0x1e5)])&&(_0x10dbb9=_0x544a45),PlaywrightSessionDetails[_0x4d6753(0x160)](_0x49c169,_0x4b6c45,_0x10dbb9),_0x49c169;});};}});const _0x11e938=_0x2039ee['launch'];Object[_0x260001(0x1ce)](_0x2039ee,_0x3fb31a[_0x260001(0x1c2)],{'get':function(){return async function _0x2844ac(){const _0x35b2db=a4_0x5d9e;return _0x11e938[_0x35b2db(0xfd)](this,arguments)[_0x35b2db(0x1f7)](_0x4a2499=>{const _0x11adea=_0x35b2db;return PlaywrightSessionDetails[_0x11adea(0x160)](_0x4a2499,null),_0x4a2499;});};}});};function a4_0x9872(){const _0x1ff5fd=['O11yHelper','split','CzLZz','huAGc','Not\x20able\x20to\x20import\x20Browser','parent','concat','appendTestItemLog','removeAllListeners','then','getHierarchy','QLcyP','apply','DyfjF','TEST_RUN_FINISHED','duration','__cloud_provider___','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','wsEndpoint','body','kfNZK','xrSyJ','replace','zOedC','PVOeJ','join','uaHVu','ctx','Gfqph','fBose','passed','CODECEPT','HookRunFinished','BTlyP','exports','type','title','zBtSN','getInstance','FJHTz','\x20with\x20error\x20:\x20','hookAnalyticsId','qikMh','initializeBddStep','2fGaKmV','prefixTestPath','obsBrowserTypeMockApplied','pending','ellPc','TestRunStarted','TEST_EVENTS','_afterAll','findGitConfig','CBTSessionCreated','NPyDh','driver','_beforeAll','mapTestHooks','location_prefix','PathHelper','TACPD','sGIeg','../../helpers/helper','comment','tags','markedStatus','relative','OewAl','hooks','iDvzk','fvQkp','resetSkipTestHooks','bddStepFinish','javascript','failureData','string','enabled','fyWRp','STATE_PASSED','Xchlf','./helper.js','_paths','TestRunFinished','integrations','pid','.git','iphjl','retryOf','toUpperCase','TMqxn','../../helpers/test-observability/utils','wIFnW','stop','skipped','failed','accessibilityPlatform','477499yJWrBk','byPAa','qCBYr','startedAt','Ciexp','xNIvr','bind','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','fwcuo','toString','IjzlJ','stringify','vLVLz','VIpzs','prototype','setupBrowserDetails','shutdown','text','toLowerCase','sep','file_name','LogCreated','started','finished','zagiH','fRIjk','name','match','UBxde','toISOString','Rinjl','loZdq','BrowserType','scCpv','frameworkName','backtrace','Failed\x20to\x20parse\x20wsendpoint\x20','746245Oskiow','getRootParentFile','getHooksForTest','browserType.js','YGKwl','5933961FWlLeT','length','forEach','File\x20path\x20could\x20not\x20be\x20found','now','event_type','wkhtA','hook_type','oYBPe','hook','157252umGkhk','hook_run_uuid','XjaiV','fullTitle','LWQiQ','suites','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','getTime','XJCMa','AxQpr','meta','getFailureType','test_run_uuid','dirname','XyEYQ','QYcFm','ePcwJ','mdBgU','test','bddStepStart','stepAnalyticsId','Bhnlx','path','SeneC','find','debug','failure','_beforeEach','IMvPX','HookRunStarted','push','expanded','../../helpers/logger','GOBek','launch','PLAYWRIGHT_HUB_URL','UuiUS','STATE_FAILED','start','7410LaejqO','browserstack','vPLiJ','TEST_RUN_SKIPPED','err','PrKUB','getHookType','bs:addLog:','currentTest','bddSteps','../utils/constants','1720Effsab','errorsDetailed','testAnalyticsId','CHDWf','lib','connectOverCDP','GGrFv','../../helpers/test-observability/requestQueueHandler','XVgqr','util','eNLcF','zTaZi','YUfYT','7651QaYcva','801PhViWc','XwIXt','result','nxICP','../../helpers/test-observability/constants','status','dvGGQ','groups','fireEvent','defineProperty','constructor','zEAdL','fxGXO','nZMbH','__platformCaps','RjhQd','iMgKI','hook_run','../../helpers/testhub/utils.js','uuid','getCBTInfo','message','includes','TEST_RUN_STARTED','36SOqXKi','uploadEventData','test_run','failed\x20to\x20get\x20root\x20parent\x20file\x20','file','HOOK_RUN_FINISHED','NHTAS','currentHook','zKLmq','1|0|3|2|5|4','2909793BzTyEE','finished_at','_testEnv','../playwright/sessionDetails','VwBKL','hctWP','_afterEach'];a4_0x9872=function(){return _0x1ff5fd;};return a4_0x9872();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x3d85d5(0x13d)]=![];[a4_0x3d85d5(0x173)]=![];constructor(_0x7e1084,_0x4e30bf){const _0x1db28c=a4_0x3d85d5,_0x1349e4={'zOedC':_0x1db28c(0x1e6),'NPyDh':function(_0x45aa68){return _0x45aa68();},'Rinjl':function(_0x52c308){return _0x52c308();},'PrKUB':function(_0x5a7ea7,_0x1bd2bc){return _0x5a7ea7===_0x1bd2bc;},'NHTAS':'Playwright','PjSCY':function(_0x5acf44,_0x3756ea){return _0x5acf44(_0x3756ea);}},_0x270637=_0x1349e4[_0x1db28c(0x108)][_0x1db28c(0x1ef)]('|');let _0x3948d6=0x0;while(!![]){switch(_0x270637[_0x3948d6++]){case'0':this['frameworkName']=_0x4e30bf[_0x1db28c(0x173)];continue;case'1':this['enabled']=_0x1349e4[_0x1db28c(0x127)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x1349e4[_0x1db28c(0x16f)](getTestEnv);continue;case'3':this[_0x1db28c(0x128)]=_0x7e1084;continue;case'4':this[_0x1db28c(0x128)]&&_0x1349e4[_0x1db28c(0x1b1)](this[_0x1db28c(0x128)][_0x1db28c(0x1cf)][_0x1db28c(0x16b)],_0x1349e4[_0x1db28c(0x1e3)])&&_0x1349e4['PjSCY'](mockPWBrowserType,null);continue;case'5':this[_0x1db28c(0x142)]=new testOpsHelper[(_0x1db28c(0x12c))]({'cwd':process['cwd']()},this[_0x1db28c(0x1e9)][_0x1db28c(0x12b)]);continue;}break;}}[a4_0x3d85d5(0x1ab)](){const _0x526ad8=a4_0x3d85d5;if(!this[_0x526ad8(0x13d)])return;testOpsHelper['patchConsoleLogger'](),process[_0x526ad8(0x1f6)](_0x526ad8(0x1b3)+process['pid']),process['on'](_0x526ad8(0x1b3)+process[_0x526ad8(0x145)],this[_0x526ad8(0x1f5)][_0x526ad8(0x157)](this));}async[a4_0x3d85d5(0x14d)](){const _0x22a610=a4_0x3d85d5;await RequestQueueHandler[_0x22a610(0x117)]()[_0x22a610(0x161)]();}async[a4_0x3d85d5(0x1f5)](_0x38511f){const _0x3f5563=a4_0x3d85d5,_0x2a0d18={'DeVxn':_0x3f5563(0x166),'eNLcF':function(_0x37c1f3,_0x3b417f){return _0x37c1f3(_0x3b417f);}};try{this[_0x3f5563(0x1e4)]&&!this['currentHook'][_0x3f5563(0x132)]&&(_0x38511f[_0x3f5563(0x186)]=this[_0x3f5563(0x1e4)][_0x3f5563(0x11a)]);!_0x38511f[_0x3f5563(0x186)]&&this[_0x3f5563(0x1b4)]&&!this[_0x3f5563(0x1b4)]['markedStatus']&&(_0x38511f[_0x3f5563(0x191)]=this[_0x3f5563(0x1b4)][_0x3f5563(0x1b9)]);if(_0x38511f[_0x3f5563(0x186)]||_0x38511f['test_run_uuid']){const _0x44cd94={};_0x44cd94['event_type']=_0x2a0d18['DeVxn'],_0x44cd94['logs']=[_0x38511f],await SessionHandler['uploadEventData'](_0x44cd94);}}catch(_0x4df898){_0x2a0d18[_0x3f5563(0x1c1)](debug,_0x3f5563(0x18b)+_0x4df898);}}async['sendCBTInfo'](_0x5df7f8){const _0x43f877=a4_0x3d85d5,_0x26695d={'VwBKL':_0x43f877(0x126),'xewrH':function(_0x1c51a9,_0x5102cb){return _0x1c51a9(_0x5102cb);}};if(!this[_0x43f877(0x13d)])return;const _0xb64c60=this[_0x43f877(0x1d9)](this[_0x43f877(0x128)]);try{const _0x4db448={};_0x4db448[_0x43f877(0x1d8)]=_0x5df7f8,_0x4db448[_0x43f877(0x144)]=_0xb64c60;const _0x992898=_0x4db448,_0x25485d={};_0x25485d[_0x43f877(0x180)]=_0x26695d[_0x43f877(0x1eb)],_0x25485d[_0x43f877(0x1df)]=_0x992898,await SessionHandler[_0x43f877(0x1de)](_0x25485d);}catch(_0x2079b2){_0x26695d['xewrH'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2079b2);}}[a4_0x3d85d5(0x1d9)](_0x533af7){const _0x41cca2=a4_0x3d85d5,_0x55a3d6={'byPAa':function(_0xec8e17,_0x1b8722){return _0xec8e17(_0x1b8722);}};return _0x55a3d6[_0x41cca2(0x152)](fetchPlatformDetails,_0x533af7);}['resetSkipTestHooks']=_0x5075cc=>{const _0x47493f=a4_0x3d85d5,_0xc5829e={};_0xc5829e['fyWRp']=_0x47493f(0x1a0),_0xc5829e[_0x47493f(0x153)]=_0x47493f(0x1ed);const _0x40983d=_0xc5829e;if(!_0x5075cc||!_0x5075cc[_0x47493f(0x1f3)])return;[_0x40983d[_0x47493f(0x13e)],_0x40983d['qCBYr']][_0x47493f(0x17d)](_0xc1eadf=>{const _0x28fb55=_0x47493f,_0x142ed8=_0x5075cc[_0x28fb55(0x1f3)][_0xc1eadf];_0x142ed8[_0x28fb55(0x17d)](_0x2338f6=>{const _0x40f509=_0x28fb55;_0x2338f6['hookAnalyticsId']&&(_0x2338f6[_0x40f509(0x11a)]=null);});});};[a4_0x3d85d5(0x12a)](_0x29c387){const _0x23a727=a4_0x3d85d5,_0x3a4425={'oYBPe':'codeceptjs','BTlyP':function(_0x10ad6c){return _0x10ad6c();},'QYcFm':function(_0x324e5f,_0x256c56){return _0x324e5f===_0x256c56;},'nZMbH':'_afterEach','huAGc':_0x23a727(0x129),'PVOeJ':'_afterAll','Bhnlx':_0x23a727(0x1a0)};if(!_0x29c387||!_0x29c387[_0x23a727(0x1f3)])return;[_0x3a4425[_0x23a727(0x1f1)],_0x3a4425[_0x23a727(0x109)],_0x3a4425[_0x23a727(0x19a)],_0x3a4425[_0x23a727(0x1d2)]][_0x23a727(0x17d)](_0x53d75e=>{const _0x3e3727=_0x23a727,_0x27ac6d={'AxQpr':_0x3a4425[_0x3e3727(0x183)],'DyfjF':function(_0x54a2d2){return _0x3a4425['BTlyP'](_0x54a2d2);},'gWXlL':function(_0x4daaea,_0x3f5b38){const _0x2194f7=_0x3e3727;return _0x3a4425[_0x2194f7(0x194)](_0x4daaea,_0x3f5b38);},'UuiUS':_0x3a4425[_0x3e3727(0x1d2)],'Xchlf':function(_0x3f57e1){const _0x156773=_0x3e3727;return _0x3a4425[_0x156773(0x112)](_0x3f57e1);}},_0x57e875=_0x29c387[_0x3e3727(0x1f3)][_0x53d75e]||[];_0x57e875[_0x3e3727(0x17d)](_0x520c88=>{const _0x493561=_0x3e3727;if(_0x520c88[_0x493561(0x115)][_0x493561(0x1db)](_0x27ac6d[_0x493561(0x18e)]))return;if(!_0x520c88[_0x493561(0x11a)])_0x520c88[_0x493561(0x11a)]=_0x27ac6d[_0x493561(0xfe)](uuidv4);else _0x520c88[_0x493561(0x132)]&&_0x27ac6d['gWXlL'](_0x53d75e,_0x27ac6d[_0x493561(0x1a9)])&&(_0x520c88[_0x493561(0x11a)]=_0x27ac6d[_0x493561(0x140)](uuidv4),delete _0x520c88[_0x493561(0x132)]);});}),this[_0x23a727(0x12a)](_0x29c387[_0x23a727(0x1f3)]);}['getHooksForTest'](_0x17e78c){const _0x5c5fd0=a4_0x3d85d5,_0x50c5ac={};_0x50c5ac[_0x5c5fd0(0x1ba)]='_beforeAll',_0x50c5ac[_0x5c5fd0(0x15d)]=_0x5c5fd0(0x124),_0x50c5ac[_0x5c5fd0(0x1d1)]=_0x5c5fd0(0x1a0),_0x50c5ac[_0x5c5fd0(0x155)]='_afterEach';const _0x1800a1=_0x50c5ac;if(!_0x17e78c||!_0x17e78c['parent'])return[];const _0xb0eb94=[];return[_0x1800a1[_0x5c5fd0(0x1ba)],_0x1800a1[_0x5c5fd0(0x15d)],_0x1800a1['fxGXO'],_0x1800a1[_0x5c5fd0(0x155)]]['forEach'](_0x1b670a=>{const _0xee103d=_0x17e78c['parent'][_0x1b670a]||[];_0xee103d['forEach'](_0x565e84=>{const _0x10a0b0=a4_0x5d9e;_0x565e84[_0x10a0b0(0x11a)]&&_0xb0eb94[_0x10a0b0(0x1a3)](_0x565e84['hookAnalyticsId']);});}),[][_0x5c5fd0(0x1f4)](_0xb0eb94,this[_0x5c5fd0(0x178)](_0x17e78c[_0x5c5fd0(0x1f3)]));}[a4_0x3d85d5(0x1b2)](_0xfa2026){const _0x3aacab=a4_0x3d85d5,_0x9af949=/^"(?<hook>.*)" hook:.*$/,_0x4b370e=_0xfa2026[_0x3aacab(0x115)],_0x5ce57a=_0x4b370e[_0x3aacab(0x16c)](_0x9af949);if(_0x5ce57a&&_0x5ce57a[_0x3aacab(0x1cc)])return _0x5ce57a['groups']['hook'][_0x3aacab(0x149)]()[_0x3aacab(0x107)]('\x20','_');return null;}['findGitConfig'](_0x48d3c6){const _0x5a9226=a4_0x3d85d5,_0x569271={};_0x569271[_0x5a9226(0x106)]=function(_0x57365f,_0x5763d3){return _0x57365f===_0x5763d3;},_0x569271[_0x5a9226(0x169)]=function(_0xbbecda,_0xc676cc){return _0xbbecda===_0xc676cc;},_0x569271[_0x5a9226(0x14a)]=_0x5a9226(0x146),_0x569271[_0x5a9226(0x1bf)]='config';const _0x3235f2=_0x569271,_0x62a9bb=path[_0x5a9226(0x164)];if(_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,null)||_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,'')||_0x3235f2['zagiH'](_0x48d3c6,_0x62a9bb)||_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,path[_0x5a9226(0x192)](_0x48d3c6)))return null;try{return fs['statSync'](path[_0x5a9226(0x10a)](_0x48d3c6,_0x3235f2[_0x5a9226(0x14a)],_0x3235f2['XVgqr'])),_0x48d3c6;}catch(_0x43e72a){const _0x3babdf=path['dirname'](_0x48d3c6);return this[_0x5a9226(0x125)](_0x3babdf);}}['getRootParentFile'](_0x2f5525){const _0x5d72be=a4_0x3d85d5,_0x4fc087={};_0x4fc087['nxICP']=function(_0x135f2c,_0xf3d006){return _0x135f2c>_0xf3d006;};const _0x1eaacf=_0x4fc087;if(_0x2f5525[_0x5d72be(0x1e1)])return _0x2f5525['file'];if(_0x2f5525[_0x5d72be(0x10c)]){const _0x40c702=_0x2f5525[_0x5d72be(0x10c)][_0x5d72be(0x1b4)]?this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x10c)][_0x5d72be(0x1b4)]):null;if(_0x40c702)return _0x40c702;}if(_0x2f5525['parent']){const _0x43abce=this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x1f3)])||(_0x2f5525['parent'][_0x5d72be(0x10c)]&&_0x2f5525['parent']['ctx'][_0x5d72be(0x1b4)]?this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x1f3)][_0x5d72be(0x10c)][_0x5d72be(0x1b4)]):null);if(_0x43abce)return _0x43abce;_0x2f5525[_0x5d72be(0x1f3)][_0x5d72be(0x18a)]&&_0x1eaacf[_0x5d72be(0x1c8)](_0x2f5525['parent'][_0x5d72be(0x18a)]['length'],0x0)&&_0x2f5525['parent'][_0x5d72be(0x18a)][_0x5d72be(0x17d)](_0xb4a6cc=>{const _0x144889=_0x5d72be,_0x599ffb=_0xb4a6cc[_0x144889(0x10c)]?this[_0x144889(0x177)](_0xb4a6cc[_0x144889(0x10c)]):null;if(_0x599ffb)return _0x599ffb;});}return null;}[a4_0x3d85d5(0x1f8)](_0x30f598){const _0x45bbd5=a4_0x3d85d5,_0x59db50={};_0x59db50[_0x45bbd5(0x18d)]=function(_0x24d313,_0xe6a3ab){return _0x24d313!==_0xe6a3ab;};const _0x43ccd0=_0x59db50,_0x3a44a3=[];if(_0x30f598&&_0x30f598[_0x45bbd5(0x1f3)]){let _0x1d884c=_0x30f598[_0x45bbd5(0x1f3)];while(_0x1d884c&&_0x43ccd0[_0x45bbd5(0x18d)](_0x1d884c[_0x45bbd5(0x115)],'')){_0x3a44a3[_0x45bbd5(0x1a3)](_0x1d884c['title']),_0x1d884c=_0x1d884c[_0x45bbd5(0x1f3)];}}return _0x3a44a3;}['captureEvent'](_0x1b3f49,_0x361f5b,_0x486450=undefined){const _0x1a7738=a4_0x3d85d5,_0x1bb9f0={'loZdq':function(_0x24c717,_0x2a89ec){return _0x24c717(_0x2a89ec);},'zNPCU':function(_0x175240){return _0x175240();},'IjzlJ':function(_0x588f6b){return _0x588f6b();},'YGKwl':function(_0x2a15a6){return _0x2a15a6();},'UBxde':function(_0x4f9cca){return _0x4f9cca();},'zEAdL':_0x1a7738(0x1c0),'XyEYQ':_0x1a7738(0x1b0),'TACPD':function(_0x2af0c9,_0x4380dd){return _0x2af0c9!==_0x4380dd;},'dvGGQ':_0x1a7738(0x17e),'XwIXt':_0x1a7738(0x120),'LWQiQ':'failed','RjhQd':'passed','ePcwJ':_0x1a7738(0x14e),'fvQkp':_0x1a7738(0x13a),'kfNZK':function(_0x27a5e7,_0x4e9298){return _0x27a5e7-_0x4e9298;},'AsKtA':function(_0x37c8b0,_0x2d7449,_0x4542b7,_0x4693a0,_0x226a01){return _0x37c8b0(_0x2d7449,_0x4542b7,_0x4693a0,_0x226a01);},'GGrFv':_0x1a7738(0x144),'VIpzs':_0x1a7738(0x18f),'pBRZb':_0x1a7738(0x19f),'XjaiV':'failure_backtrace','FJHTz':_0x1a7738(0x174),'fyVSB':'failure_reason_expanded','qikMh':_0x1a7738(0x1a4),'CzLZz':function(_0xc7fbb,_0x5c950d){return _0xc7fbb===_0x5c950d;},'fwcuo':_0x1a7738(0x1d6),'QLcyP':_0x1a7738(0x1df)};if(!this['enabled'])return;try{if(_0x361f5b['fn']&&_0x361f5b['fn'][_0x1a7738(0x15a)]()[_0x1a7738(0x16c)](/browserstack internal helper hook/))return;const _0x24b17e=_0x1bb9f0[_0x1a7738(0x170)](parseEvent,_0x1b3f49);if(!_0x24b17e)return;if(_0x24b17e[_0x1a7738(0x197)]){this[_0x1a7738(0x1b4)]=_0x361f5b,this[_0x1a7738(0x1e4)]=null;if(_0x24b17e[_0x1a7738(0x167)]||_0x24b17e[_0x1a7738(0x14e)]){_0x361f5b['startedAt']=new Date(),_0x361f5b['markedStatus']=![];if(!_0x361f5b[_0x1a7738(0x1b9)])_0x361f5b[_0x1a7738(0x1b9)]=_0x1bb9f0['zNPCU'](uuidv4);else _0x361f5b[_0x1a7738(0x132)]&&(!_0x361f5b[_0x1a7738(0x148)]&&(_0x361f5b[_0x1a7738(0x148)]=_0x361f5b[_0x1a7738(0x1b9)]),_0x361f5b[_0x1a7738(0x1b9)]=_0x1bb9f0[_0x1a7738(0x15b)](uuidv4));}}else{if(_0x24b17e[_0x1a7738(0x184)]){this[_0x1a7738(0x1e4)]=_0x361f5b;if(_0x24b17e[_0x1a7738(0x167)]){_0x361f5b[_0x1a7738(0x154)]=new Date(),_0x361f5b[_0x1a7738(0x132)]=![];if(!_0x361f5b[_0x1a7738(0x11a)])_0x361f5b[_0x1a7738(0x11a)]=_0x1bb9f0[_0x1a7738(0x17a)](uuidv4);else _0x361f5b[_0x1a7738(0x11a)]&&_0x361f5b[_0x1a7738(0x132)]&&(_0x361f5b[_0x1a7738(0x11a)]=_0x1bb9f0[_0x1a7738(0x16d)](uuidv4));}}}if(_0x24b17e[_0x1a7738(0x168)]&&_0x361f5b[_0x1a7738(0x132)])return;let _0x554852;try{_0x554852=this[_0x1a7738(0x177)](_0x361f5b);}catch(_0x4c5565){logger[_0x1a7738(0x19e)](_0x1a7738(0x1e0)+_0x4c5565),_0x554852=null;}const _0x53239d=_0x1bb9f0['loZdq'](require,_0x1bb9f0[_0x1a7738(0x1d0)]);let _0x53022e=[];_0x486450&&(_0x53022e=[_0x486450,_0x1bb9f0[_0x1a7738(0x193)]]);const _0x3ea2d5=_0x1bb9f0[_0x1a7738(0x12d)](_0x361f5b[_0x1a7738(0x1b8)],undefined)?_0x53239d['inspect'](_0x361f5b[_0x1a7738(0x1b8)][0x0]):_0x1bb9f0[_0x1a7738(0x12d)](_0x486450,undefined)?_0x486450[_0x1a7738(0x15a)]():undefined,_0x345d21=_0x554852?this[_0x1a7738(0x125)](_0x554852):null,_0xfabb25=_0x554852?this[_0x1a7738(0x142)][_0x1a7738(0x11e)](this['getRootParentFile'](_0x361f5b)):_0x1bb9f0[_0x1a7738(0x1cb)];let _0x32f3fe=_0x1bb9f0['XwIXt'];const _0x2fe12f=!_0x24b17e[_0x1a7738(0x167)]?new Date()[_0x1a7738(0x16e)]():null;if(_0x24b17e[_0x1a7738(0x168)])_0x32f3fe=_0x486450?_0x1bb9f0[_0x1a7738(0x189)]:_0x1bb9f0['RjhQd'],_0x361f5b[_0x1a7738(0x132)]=!![];else _0x24b17e[_0x1a7738(0x14e)]&&(_0x32f3fe=_0x1bb9f0[_0x1a7738(0x195)],_0x361f5b[_0x1a7738(0x132)]=!![]);const _0x5e3f76={'framework':this['frameworkName'],'uuid':_0x361f5b[_0x1a7738(0x1b9)]||_0x361f5b[_0x1a7738(0x11a)],'name':_0x361f5b['title'],'body':{'lang':_0x1bb9f0[_0x1a7738(0x137)],'code':_0x361f5b[_0x1a7738(0x104)][_0x1a7738(0x15a)]()},'type':_0x361f5b[_0x1a7738(0x114)],'scope':_0x361f5b[_0x1a7738(0x188)](),'scopes':this['getHierarchy'](_0x361f5b),'file_name':_0xfabb25,'vc_filepath':_0x345d21?path[_0x1a7738(0x133)](_0x345d21,_0x554852):null,'location':_0xfabb25,'result':_0x32f3fe,'failure_reason':_0x3ea2d5,'duration_in_ms':_0x361f5b[_0x1a7738(0x100)]||(_0x24b17e[_0x1a7738(0x168)]||_0x24b17e[_0x1a7738(0x14e)])?_0x1bb9f0[_0x1a7738(0x105)](Date[_0x1a7738(0x17f)](),new Date(_0x361f5b[_0x1a7738(0x154)])[_0x1a7738(0x18c)]()):null,'started_at':new Date(_0x361f5b['startedAt'])[_0x1a7738(0x16e)](),'finished_at':_0x2fe12f,'failure':testOpsHelper[_0x1a7738(0x13b)][_0x1a7738(0xfd)](null,_0x53022e),'failure_type':!_0x3ea2d5?null:testOpsHelper[_0x1a7738(0x190)](_0x3ea2d5),'retry_of':_0x361f5b['retryOf']||null,'tags':_0x361f5b[_0x1a7738(0x131)]||[],'customRerunParam':{'rerun_name':_0x361f5b['fullTitle']()}};_0x1bb9f0['AsKtA'](appendTesthubParams,_0x5e3f76,_0x1b3f49,_0x361f5b,FRAMEWORKS[_0x1a7738(0x110)]);if(_0x24b17e[_0x1a7738(0x184)])[_0x5e3f76[_0x1a7738(0x182)],_0x5e3f76[_0x1a7738(0x16b)]]=[this['getHookType'](_0x361f5b),_0x361f5b['ctx']['test']['title']],_0x24b17e['finished']?_0x1bb9f0[_0x1a7738(0x12d)](_0x5e3f76[_0x1a7738(0x1c7)],_0x1bb9f0[_0x1a7738(0x189)])&&(_0x5e3f76[_0x1a7738(0x1c7)]=_0x1bb9f0[_0x1a7738(0x1d4)]):_0x5e3f76[_0x1a7738(0x104)]={};else _0x24b17e[_0x1a7738(0x197)]&&(this['mapTestHooks'](_0x361f5b),_0x24b17e[_0x1a7738(0x14e)]&&this[_0x1a7738(0x138)](_0x361f5b),(_0x24b17e[_0x1a7738(0x168)]||_0x24b17e[_0x1a7738(0x14e)])&&(_0x5e3f76[_0x1a7738(0x135)]=this[_0x1a7738(0x178)](_0x361f5b)));this[_0x1a7738(0x128)]&&(_0x24b17e['started']||_0x24b17e[_0x1a7738(0x14e)])&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x1bd)]]=this[_0x1a7738(0x1d9)](this['driver']));_0x24b17e['test']&&_0x24b17e[_0x1a7738(0x168)]&&_0x361f5b[_0x1a7738(0x1b5)]&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x15e)]]={'feature':{'name':_0x361f5b['parent']['feature'][_0x1a7738(0x16b)],'path':_0x5e3f76[_0x1a7738(0x165)],'description':_0x361f5b[_0x1a7738(0x1f3)][_0x1a7738(0x130)]},'scenario':{'name':_0x361f5b['title']},'steps':_0x361f5b[_0x1a7738(0x1b5)]});const _0x3a5636=_0x5e3f76[_0x1bb9f0['pBRZb']][0x0];_0x3a5636&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x187)]]=_0x3a5636[_0x1bb9f0['FJHTz']],_0x5e3f76[_0x1bb9f0['fyVSB']]=_0x3a5636[_0x1bb9f0[_0x1a7738(0x11b)]]);if(_0x361f5b[_0x1a7738(0x1b5)])for(const _0x5627f3 of _0x361f5b[_0x1a7738(0x1b5)]){!_0x5627f3[_0x1a7738(0x1e8)]&&(_0x5627f3['finished_at']=new Date()[_0x1a7738(0x16e)](),_0x1bb9f0[_0x1a7738(0x1f0)](_0x5627f3[_0x1a7738(0x1c7)],_0x1bb9f0[_0x1a7738(0x1c6)])&&(_0x3a5636?(_0x5627f3[_0x1a7738(0x1c7)]=_0x1bb9f0['LWQiQ'],_0x5627f3['failure']=_0x3a5636[_0x1bb9f0[_0x1a7738(0x118)]][0x0]):_0x5627f3[_0x1a7738(0x1c7)]=_0x1bb9f0[_0x1a7738(0x1d4)]));}const _0x58491e={};_0x58491e[_0x1a7738(0x180)]=_0x24b17e[_0x1a7738(0x14e)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1b3f49;const _0x3e2e04=_0x58491e;return _0x24b17e[_0x1a7738(0x184)]?_0x3e2e04[_0x1bb9f0[_0x1a7738(0x159)]]=_0x5e3f76:_0x3e2e04[_0x1bb9f0[_0x1a7738(0xfc)]]=_0x5e3f76,_0x3e2e04;}catch(_0x310e96){logger[_0x1a7738(0x19e)](_0x1a7738(0x102)+_0x1b3f49+_0x1a7738(0x119)+_0x310e96);}}async[a4_0x3d85d5(0x1cd)](_0x42d6aa,_0xe2d0a0){const _0x236e1d=a4_0x3d85d5;if(!this['enabled']||!_0xe2d0a0||!_0x42d6aa)return![];try{return await SessionHandler[_0x236e1d(0x1de)](_0xe2d0a0);}catch(_0x1be026){logger[_0x236e1d(0x19e)](_0x236e1d(0x158)+_0x42d6aa+'\x20with\x20error\x20:\x20'+_0x1be026);}}[a4_0x3d85d5(0x11c)](_0x56ed74){const _0x1d9ac3=a4_0x3d85d5,_0x45d991={};_0x45d991[_0x1d9ac3(0x19c)]=_0x1d9ac3(0x120);const _0x5648b8=_0x45d991;return{'id':_0x56ed74['stepAnalyticsId'],'text':_0x56ed74[_0x1d9ac3(0x162)],'keyword':_0x56ed74['keyword'],'started_at':_0x56ed74[_0x1d9ac3(0x154)][_0x1d9ac3(0x16e)](),'result':_0x5648b8['SeneC']};}[a4_0x3d85d5(0x198)](_0x47fa1f){const _0x530e48=a4_0x3d85d5,_0x20b533={'iteWH':function(_0x145dbc){return _0x145dbc();}};!this[_0x530e48(0x1b4)][_0x530e48(0x1b5)]&&(this[_0x530e48(0x1b4)]['bddSteps']=[]),!_0x47fa1f[_0x530e48(0x199)]&&(_0x47fa1f[_0x530e48(0x199)]=_0x20b533['iteWH'](uuidv4),_0x47fa1f[_0x530e48(0x154)]=new Date(),this[_0x530e48(0x1b4)][_0x530e48(0x1b5)][_0x530e48(0x1a3)](this['initializeBddStep'](_0x47fa1f)));}[a4_0x3d85d5(0x139)](_0x29b79f){const _0x313c04=a4_0x3d85d5,_0x156993={'fRIjk':function(_0x3925db,_0x4f3b48){return _0x3925db(_0x4f3b48);},'VwyjI':'success','IMvPX':_0x313c04(0x120),'KHvCD':_0x313c04(0x10f),'pkTxw':function(_0xdba590,_0xebff17){return _0xdba590-_0xebff17;}};let _0x153be1=this[_0x313c04(0x1b4)][_0x313c04(0x1b5)][_0x313c04(0x19d)](_0x401be1=>_0x401be1['id']===_0x29b79f[_0x313c04(0x199)]);_0x156993[_0x313c04(0x16a)](isUndefined,_0x153be1)&&(_0x153be1=this[_0x313c04(0x11c)](_0x29b79f)),_0x153be1[_0x313c04(0x1c7)]=[_0x156993['VwyjI'],_0x156993[_0x313c04(0x1a1)]][_0x313c04(0x1db)](_0x29b79f[_0x313c04(0x1ca)])?_0x156993['KHvCD']:_0x29b79f[_0x313c04(0x1ca)],_0x153be1['finished_at']=new Date()[_0x313c04(0x16e)](),_0x153be1[_0x313c04(0x100)]=_0x156993['pkTxw'](Date[_0x313c04(0x17f)](),_0x29b79f[_0x313c04(0x154)][_0x313c04(0x18c)]()),_0x153be1['failure']=_0x29b79f[_0x313c04(0x1b0)]?_0x29b79f[_0x313c04(0x1b0)][_0x313c04(0x1da)]:null;}}function a4_0x5d9e(_0x2e6dd6,_0x272c7a){const _0x98725f=a4_0x9872();return a4_0x5d9e=function(_0x5d9ea5,_0x500f5b){_0x5d9ea5=_0x5d9ea5-0xfc;let _0x164550=_0x98725f[_0x5d9ea5];return _0x164550;},a4_0x5d9e(_0x2e6dd6,_0x272c7a);}const a4_0x34226c={};a4_0x34226c[a4_0x3d85d5(0x1ee)]=O11yHelper,a4_0x34226c[a4_0x3d85d5(0x13f)]=STATE_PASSED,a4_0x34226c[a4_0x3d85d5(0x1aa)]=STATE_FAILED,a4_0x34226c[a4_0x3d85d5(0x123)]=TEST_EVENTS,module[a4_0x3d85d5(0x113)]=a4_0x34226c;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x11f7(_0x24e5f8,_0x2c08fc){const _0x56326e=a5_0x5632();return a5_0x11f7=function(_0x11f7d7,_0xc1905b){_0x11f7d7=_0x11f7d7-0x111;let _0x2d63e0=_0x56326e[_0x11f7d7];return _0x2d63e0;},a5_0x11f7(_0x24e5f8,_0x2c08fc);}const a5_0x3dfc8c=a5_0x11f7;function a5_0x5632(){const _0x458152=['jECCk','steps','skipSessionName','prepareCapabilities','\x20failed','QLshb','4MbJXhm','CNPcM','join','winstonLogger','3967835eggfeM','isUndefined','bgWhite','getUserWorkerCount','isBrowserstackInfra','useW3C','then','CUCUMBER','8RdLlhh','getHubUrl','stepsUnknown','YxNmT','\x20passed','erKvz','testContextOptions','../../helpers/helper','initialize','Generating\x20consolidated\x20report...','yellow','handleApp','parseFormatters','exitCode','accessibilityOptions','77396vTNqBC','mergeOutputFiles','tmp','parallelsPerPlatform','8572520xGRMvg','format','length','testObservability','push','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','forEach','env','\x20scenarios','Removing\x20tmp\x20directory\x20created\x20for\x20reports','proxySettings','49lpLRpK','117657ZmUZNF','KXiEo','vnEVc','hoTDF','qbdNY','../../helpers/utilities','stepsPending','splice','BYHeX','FRAMEWORKS','getTCGConfigFilePaths','stepsUndefined','stepsAmbiguous','gCZsc','argv','red','green','getErrorMessageFromResults','debug','\x20steps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stop','error\x20removing\x20tcg\x20config\x20file','exports','2MwEhYn','HmzyH','xCGJw','2350140SAlaFx','\x20ambiguous','true','printBuildLink','log','909618uNmvAE','chalk','\x20skipped','****\x20RESULTS\x20****','LuaIW','finalExecution','../utils/constants','getPlatformName','uHNCN','bold','scenariosFailed','setupTCGAuth','stepsFailed','finally','wXfVI','wVWpG','cyan','../../helpers/testhub/testhubHandler','path','processSuccess','krmvP','cwd','mTjod','\x20pending','unlinkSync','scenarios','270293fkeOtU','KqAXb','3732SXgeRx','logLevel','turboScaleUrl'];a5_0x5632=function(){return _0x458152;};return a5_0x5632();}(function(_0x4837bb,_0x5a86c2){const _0x3faaf5=a5_0x11f7,_0x54e894=_0x4837bb();while(!![]){try{const _0x56226b=-parseInt(_0x3faaf5(0x114))/0x1*(parseInt(_0x3faaf5(0x163))/0x2)+-parseInt(_0x3faaf5(0x166))/0x3+-parseInt(_0x3faaf5(0x11f))/0x4*(parseInt(_0x3faaf5(0x123))/0x5)+-parseInt(_0x3faaf5(0x16b))/0x6*(-parseInt(_0x3faaf5(0x14a))/0x7)+-parseInt(_0x3faaf5(0x12b))/0x8*(parseInt(_0x3faaf5(0x14b))/0x9)+-parseInt(_0x3faaf5(0x13e))/0xa+parseInt(_0x3faaf5(0x13a))/0xb*(parseInt(_0x3faaf5(0x116))/0xc);if(_0x56226b===_0x5a86c2)break;else _0x54e894['push'](_0x54e894['shift']());}catch(_0x17ec74){_0x54e894['push'](_0x54e894['shift']());}}}(a5_0x5632,0x81d8c));const fs=require('fs'),path=require(a5_0x3dfc8c(0x17d)),util=require('util'),logger=require('../../helpers/logger')[a5_0x3dfc8c(0x122)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x3dfc8c(0x132)),utilities=require(a5_0x3dfc8c(0x150)),constants=require(a5_0x3dfc8c(0x171)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x3dfc8c(0x17c)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x3dfc8c(0x16c));function printCucumberStats(_0x26b555){const _0x4988cb=a5_0x3dfc8c,_0x383cd3={};_0x383cd3[_0x4988cb(0x164)]=function(_0x3d2e40,_0x3ced7c){return _0x3d2e40>_0x3ced7c;},_0x383cd3[_0x4988cb(0x11e)]=function(_0x5eb40e,_0x305013){return _0x5eb40e-_0x305013;},_0x383cd3['LuaIW']=function(_0x1cb480,_0x363eb9){return _0x1cb480>_0x363eb9;},_0x383cd3[_0x4988cb(0x120)]=function(_0x51ca9e,_0x4f2ff6){return _0x51ca9e>_0x4f2ff6;},_0x383cd3[_0x4988cb(0x181)]=function(_0x543907,_0x2e037b){return _0x543907+_0x2e037b;},_0x383cd3[_0x4988cb(0x14c)]=function(_0x1772a9,_0x25af10){return _0x1772a9+_0x25af10;},_0x383cd3[_0x4988cb(0x153)]=function(_0x28a061,_0x46019c){return _0x28a061+_0x46019c;},_0x383cd3['erKvz']=function(_0x296127,_0x1497be){return _0x296127+_0x1497be;},_0x383cd3[_0x4988cb(0x17a)]=function(_0x25ab5f,_0x32dba0){return _0x25ab5f===_0x32dba0;},_0x383cd3[_0x4988cb(0x12e)]=function(_0x420c9b,_0x467473){return _0x420c9b===_0x467473;},_0x383cd3[_0x4988cb(0x14f)]=_0x4988cb(0x16e);const _0x235e9b=_0x383cd3;let _0x5ded72=0x0;if(_0x235e9b[_0x4988cb(0x12e)](_0x26b555[_0x4988cb(0x140)],0x0))return _0x5ded72;return console['log'](chalk[_0x4988cb(0x174)][_0x4988cb(0x125)](_0x235e9b[_0x4988cb(0x14f)])),_0x26b555[_0x4988cb(0x145)](_0x3d6d15=>{const _0x3c706e=_0x4988cb,_0x51eb46=_0x3d6d15[0x0],_0x294e68=_0x3d6d15[0x1];console[_0x3c706e(0x16a)]('\x0a'+chalk[_0x3c706e(0x174)][_0x3c706e(0x135)](''+helper[_0x3c706e(0x172)](_0x51eb46)));const _0x14f51a=_0x294e68[_0x3c706e(0x113)],_0x5ca1d3=_0x294e68[_0x3c706e(0x11a)],_0x20c974=_0x294e68[_0x3c706e(0x175)],_0x5f242d=_0x294e68[_0x3c706e(0x177)],_0x54fb23=_0x294e68['stepsPassed'],_0x35453e=_0x294e68['stepsSkipped'],_0x55a8fd=_0x294e68[_0x3c706e(0x151)],_0xe98137=_0x294e68[_0x3c706e(0x156)],_0x2e7920=_0x294e68[_0x3c706e(0x12d)],_0x48c6f7=_0x294e68[_0x3c706e(0x157)],_0x2cc114=_0x294e68[_0x3c706e(0x17e)];let _0xda80ce=_0x14f51a+_0x3c706e(0x147);const _0x5b6a2b=_0x235e9b[_0x3c706e(0x164)](_0x235e9b['QLshb'](_0x14f51a,_0x20c974),0x0)?_0x235e9b[_0x3c706e(0x11e)](_0x14f51a,_0x20c974):0x0;if(_0x235e9b[_0x3c706e(0x164)](_0x20c974,0x0)&&_0x235e9b[_0x3c706e(0x164)](_0x5b6a2b,0x0))_0xda80ce+='\x20('+chalk[_0x3c706e(0x174)][_0x3c706e(0x15a)](_0x20c974+_0x3c706e(0x11d))+',\x20'+chalk[_0x3c706e(0x174)][_0x3c706e(0x15b)](_0x5b6a2b+'\x20passed')+')';else(_0x235e9b['HmzyH'](_0x20c974,0x0)||_0x235e9b[_0x3c706e(0x164)](_0x5b6a2b,0x0))&&(_0xda80ce+=_0x235e9b['HmzyH'](_0x20c974,0x0)?'\x20('+chalk[_0x3c706e(0x174)][_0x3c706e(0x15a)](_0x20c974+_0x3c706e(0x11d))+')':'\x20('+chalk['bold']['green'](_0x5b6a2b+_0x3c706e(0x12f))+')');const _0x1aa30d=_0x5ca1d3+_0x3c706e(0x15e),_0x2d3eca=[];_0x235e9b['HmzyH'](_0x48c6f7,0x0)&&_0x2d3eca['push'](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x15a)](_0x48c6f7+_0x3c706e(0x167)));_0x235e9b[_0x3c706e(0x16f)](_0x5f242d,0x0)&&_0x2d3eca[_0x3c706e(0x142)](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x15a)](_0x5f242d+_0x3c706e(0x11d)));_0x235e9b[_0x3c706e(0x164)](_0x54fb23,0x0)&&_0x2d3eca['push'](''+chalk[_0x3c706e(0x174)]['green'](_0x54fb23+_0x3c706e(0x12f)));_0x235e9b[_0x3c706e(0x16f)](_0x55a8fd,0x0)&&_0x2d3eca['push'](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x135)](_0x55a8fd+_0x3c706e(0x111)));_0x235e9b['LuaIW'](_0x35453e,0x0)&&_0x2d3eca[_0x3c706e(0x142)](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x17b)](_0x35453e+_0x3c706e(0x16d)));_0x235e9b['HmzyH'](_0xe98137,0x0)&&_0x2d3eca[_0x3c706e(0x142)](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x135)](_0xe98137+'\x20undefined'));_0x235e9b['CNPcM'](_0x2e7920,0x0)&&_0x2d3eca[_0x3c706e(0x142)](''+chalk[_0x3c706e(0x174)][_0x3c706e(0x135)](_0x2e7920+_0x3c706e(0x16d)));const _0x1f4c5a=_0x235e9b[_0x3c706e(0x181)](_0x235e9b[_0x3c706e(0x181)](_0x235e9b[_0x3c706e(0x14c)](_0x1aa30d,'('),_0x2d3eca[_0x3c706e(0x121)](',\x20')),')');console[_0x3c706e(0x16a)](_0x235e9b['mTjod'](_0x235e9b[_0x3c706e(0x153)](_0x235e9b[_0x3c706e(0x130)](_0x235e9b['erKvz']('\x0a',_0xda80ce),'\x0a'),_0x1f4c5a),'\x0a')),_0x235e9b[_0x3c706e(0x17a)](_0x2cc114,![])&&(_0x5ded72=0x1);}),_0x5ded72;}async function run(_0x300576,_0x3df11){const _0x1fefe1=a5_0x3dfc8c,_0x4ca451={'iufYT':function(_0x33ca84,_0x3a424d){return _0x33ca84(_0x3a424d);},'vnEVc':function(_0x5df282,_0x12d439){return _0x5df282>_0x12d439;},'KqAXb':_0x1fefe1(0x134),'jKJMg':_0x1fefe1(0x148),'uHNCN':'cucumber','hoTDF':_0x1fefe1(0x161),'wXfVI':'cucumber-js','TrFPg':_0x1fefe1(0x13c),'krmvP':function(_0x4951cb,_0x5f986d){return _0x4951cb>_0x5f986d;},'sdoQE':function(_0x482c65,_0x4b6840){return _0x482c65-_0x4b6840;},'xCGJw':function(_0x4ba025,_0xecc147){return _0x4ba025>=_0xecc147;},'gCZsc':function(_0x56f36b,_0x13a2c4){return _0x56f36b!=_0x13a2c4;},'jECCk':_0x1fefe1(0x168),'OYlNm':function(_0x2ae814,_0x3e3962,_0x241391,_0x15912d,_0x585d47,_0x3703df){return _0x2ae814(_0x3e3962,_0x241391,_0x15912d,_0x585d47,_0x3703df);}},_0x247d82=new BrowserStackSetup(_0x300576,_0x4ca451[_0x1fefe1(0x179)]);await _0x247d82[_0x1fefe1(0x133)]();!helper[_0x1fefe1(0x127)]()&&await _0x247d82[_0x1fefe1(0x176)]();await helper[_0x1fefe1(0x136)](_0x247d82[_0x1fefe1(0x143)]);const _0x25f1b5=helper[_0x1fefe1(0x128)](_0x247d82[_0x1fefe1(0x143)]),_0x159394=helper[_0x1fefe1(0x11c)](_0x247d82[_0x1fefe1(0x143)],_0x25f1b5,constants['FRAMEWORKS'][_0x1fefe1(0x12a)]);if(!_0x247d82[_0x1fefe1(0x143)])return;const _0x41595e=_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x13d)]||helper[_0x1fefe1(0x126)](_0x300576,_0x3df11,_0x247d82[_0x1fefe1(0x143)],constants[_0x1fefe1(0x154)][_0x1fefe1(0x12a)])||0x1,_0x12b394={'server':helper[_0x1fefe1(0x12c)](_0x247d82[_0x1fefe1(0x143)]),'proxySettings':_0x247d82['config'][_0x1fefe1(0x149)],'maxWorkers':_0x41595e,'browserStackLogLevel':_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x117)],'skipSessionName':_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x131)][_0x1fefe1(0x11b)],'skipSessionStatus':_0x247d82['config'][_0x1fefe1(0x131)]['skipSessionStatus'],'turboScaleUrl':_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x118)]},_0x5a5092=process[_0x1fefe1(0x159)],[_0x343a5e,_0x55e8bf]=helper[_0x1fefe1(0x137)](_0x5a5092),_0x32a90e=path[_0x1fefe1(0x121)](process[_0x1fefe1(0x180)](),_0x4ca451['TrFPg']);if(_0x4ca451[_0x1fefe1(0x17f)](_0x55e8bf[_0x1fefe1(0x140)],0x0)){helper['createDir'](_0x32a90e);for(let _0x3a67fd=_0x4ca451['sdoQE'](_0x343a5e[_0x1fefe1(0x140)],0x1);_0x4ca451[_0x1fefe1(0x165)](_0x3a67fd,0x0);_0x3a67fd--){_0x5a5092[_0x1fefe1(0x152)](_0x343a5e[_0x3a67fd],0x2);}}!helper[_0x1fefe1(0x124)](_0x247d82['config'][_0x1fefe1(0x139)])&&(process['env'][_0x1fefe1(0x15f)]=JSON['stringify'](_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x139)]));_0x4ca451[_0x1fefe1(0x158)](_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x141)],null)?process[_0x1fefe1(0x146)][_0x1fefe1(0x144)]=_0x247d82[_0x1fefe1(0x143)][_0x1fefe1(0x141)]:process['env'][_0x1fefe1(0x144)]=_0x4ca451[_0x1fefe1(0x119)];const _0x44b897=await TestHubHandler['launchBuild'](constants[_0x1fefe1(0x154)][_0x1fefe1(0x12a)],_0x247d82);helper['markSDKSetupComplete']();let _0x34967a;_0x4ca451['OYlNm'](parallelCucumberRun,_0x159394,_0x12b394,_0x247d82['config'],_0x5a5092,_0x55e8bf)[_0x1fefe1(0x129)](async _0x48aa40=>{const _0x5e9fe9=_0x1fefe1;_0x34967a=_0x48aa40;const _0x38c1d7=_0x4ca451['iufYT'](printCucumberStats,_0x48aa40);process[_0x5e9fe9(0x138)]=_0x38c1d7,_0x4ca451[_0x5e9fe9(0x14d)](_0x55e8bf[_0x5e9fe9(0x140)],0x0)&&(logger[_0x5e9fe9(0x15d)](_0x4ca451[_0x5e9fe9(0x115)]),helper[_0x5e9fe9(0x13b)](_0x32a90e,_0x55e8bf),logger['debug'](_0x4ca451['jKJMg']),helper['removeDir'](_0x32a90e));})[_0x1fefe1(0x178)](async()=>{const _0x5e89f5=_0x1fefe1;_0x247d82['errorMessage']=helper[_0x5e89f5(0x15c)](_0x34967a,_0x4ca451[_0x5e89f5(0x173)]),testOpsHelper[_0x5e89f5(0x169)]();try{await TestHubHandler[_0x5e89f5(0x160)]();}catch(_0x45ce02){logger[_0x5e89f5(0x15d)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5e89f5(0x13f)](_0x45ce02));}try{const {browserstackFolderPath:_0x1aabe4,tcgConfigPath:_0x256ce1}=helper[_0x5e89f5(0x155)]();fs[_0x5e89f5(0x112)](_0x256ce1),fs['rmdirSync'](_0x1aabe4);}catch(_0x23ab37){logger['debug'](_0x4ca451[_0x5e89f5(0x14e)],_0x23ab37);}await utilities[_0x5e89f5(0x170)](_0x247d82);});}module[a5_0x3dfc8c(0x162)]=run;
|
|
2
|
+
'use strict';const a5_0x607ef3=a5_0x4a84;function a5_0x20f6(){const _0x4c921a=['\x20skipped','BROWSERSTACK_TEST_OBSERVABILITY_YML','qmUeY','\x20ambiguous','turboScaleUrl','getPlatformName','EKELf','708opUydH','114xkzYQV','5560686acplsT','smGIH','5169VFwGEJ','HDMrb','../test-runner','stringify','CUCUMBER','processSuccess','../../helpers/testhub/testhubHandler','parseFormatters','log','PHkug','hJlnI','getTCGConfigFilePaths','808360fnyzpb','../../helpers/test-observability/utils','stepsSkipped','\x20passed','yellow','accessibilityOptions','isUndefined','stepsPassed','UaKmI','stepsUnknown','steps','eNdgQ','length','NHaSp','\x20pending','join','testObservability','\x20steps','29911KtbHEm','rmdirSync','../utils/constants','bbqwM','22430700mvECVV','handleApp','cucumber','\x20failed','Iflmi','scenariosFailed','forEach','../../helpers/utilities','chalk','push','FRAMEWORKS','5783336xJahOX','error\x20removing\x20tcg\x20config\x20file','OOjLM','Yzibi','removeDir','setupTCGAuth','then','KpiFE','debug','winstonLogger','KgFYW','env','../../helpers/logger','../../helpers/helper','stepsAmbiguous','green','quZfd','wbLCG','dMJyk','config','initialize','prepareCapabilities','bXcgN','YrkAX','skipSessionStatus','errorMessage','unlinkSync','286836nkWKoI','launchBuild','proxySettings','FrurG','red','exitCode','IPjhM','1GgQARY','cucumber-js','splice','useW3C','format','stop','rNbbs','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','OJJft','bgWhite','logLevel','mergeOutputFiles','cyan','printBuildLink','bold','JyrjK','parallelsPerPlatform','finally','exports','****\x20RESULTS\x20****','AxWyl','testContextOptions'];a5_0x20f6=function(){return _0x4c921a;};return a5_0x20f6();}function a5_0x4a84(_0x25833f,_0x20ff3a){const _0x20f6af=a5_0x20f6();return a5_0x4a84=function(_0x4a8483,_0x76d8f2){_0x4a8483=_0x4a8483-0xe6;let _0xc23aaf=_0x20f6af[_0x4a8483];return _0xc23aaf;},a5_0x4a84(_0x25833f,_0x20ff3a);}(function(_0x16fa90,_0x109eab){const _0x4a05b9=a5_0x4a84,_0x58756c=_0x16fa90();while(!![]){try{const _0x4b7498=parseInt(_0x4a05b9(0x11c))/0x1*(-parseInt(_0x4a05b9(0x115))/0x2)+-parseInt(_0x4a05b9(0x13d))/0x3*(parseInt(_0x4a05b9(0x139))/0x4)+-parseInt(_0x4a05b9(0x149))/0x5+parseInt(_0x4a05b9(0x13a))/0x6*(parseInt(_0x4a05b9(0xeb))/0x7)+-parseInt(_0x4a05b9(0xfa))/0x8+-parseInt(_0x4a05b9(0x13b))/0x9+parseInt(_0x4a05b9(0xef))/0xa;if(_0x4b7498===_0x109eab)break;else _0x58756c['push'](_0x58756c['shift']());}catch(_0x4a4d72){_0x58756c['push'](_0x58756c['shift']());}}}(a5_0x20f6,0x5b2b1));const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x607ef3(0x106))[a5_0x607ef3(0x103)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x607ef3(0x107)),utilities=require(a5_0x607ef3(0xf6)),constants=require(a5_0x607ef3(0xed)),{parallelCucumberRun}=require(a5_0x607ef3(0x13f)),TestHubHandler=require(a5_0x607ef3(0x143)),testOpsHelper=require(a5_0x607ef3(0x14a)),chalk=require(a5_0x607ef3(0xf7));function printCucumberStats(_0x5b58b1){const _0x5e8f10=a5_0x607ef3,_0x1bad85={};_0x1bad85[_0x5e8f10(0x10a)]=function(_0x4dd6c7,_0x2112f1){return _0x4dd6c7>_0x2112f1;},_0x1bad85[_0x5e8f10(0x122)]=function(_0x2dc9c2,_0x49f353){return _0x2dc9c2-_0x49f353;},_0x1bad85[_0x5e8f10(0x134)]=function(_0x15faae,_0x6a15f2){return _0x15faae-_0x6a15f2;},_0x1bad85[_0x5e8f10(0x138)]=function(_0x318631,_0x5a64ab){return _0x318631>_0x5a64ab;},_0x1bad85[_0x5e8f10(0x111)]=function(_0x2335d8,_0x2d8441){return _0x2335d8>_0x2d8441;},_0x1bad85[_0x5e8f10(0x118)]=function(_0x24d88d,_0x5dc931){return _0x24d88d>_0x5dc931;},_0x1bad85[_0x5e8f10(0x10c)]=function(_0x2051db,_0x55b582){return _0x2051db>_0x55b582;},_0x1bad85[_0x5e8f10(0x110)]=function(_0x39fbe6,_0x131c2e){return _0x39fbe6>_0x131c2e;},_0x1bad85[_0x5e8f10(0xfc)]=function(_0xef98c4,_0x57965d){return _0xef98c4>_0x57965d;},_0x1bad85['KpiFE']=function(_0x2f2eb7,_0x1b1e56){return _0x2f2eb7+_0x1b1e56;},_0x1bad85[_0x5e8f10(0xe6)]=function(_0x4ff962,_0x4d3e4a){return _0x4ff962+_0x4d3e4a;},_0x1bad85[_0x5e8f10(0x130)]=function(_0x496789,_0x53269a){return _0x496789+_0x53269a;},_0x1bad85[_0x5e8f10(0x10b)]=function(_0x59d9c9,_0x5e2ced){return _0x59d9c9+_0x5e2ced;},_0x1bad85['IPjhM']=function(_0x5ae4cb,_0x5a0c74){return _0x5ae4cb+_0x5a0c74;},_0x1bad85[_0x5e8f10(0x151)]=function(_0x5b3cb9,_0x59f118){return _0x5b3cb9===_0x59f118;},_0x1bad85['smGIH']=_0x5e8f10(0x12f);const _0x375d4a=_0x1bad85;let _0x4073ca=0x0;if(_0x375d4a['UaKmI'](_0x5b58b1['length'],0x0))return _0x4073ca;return console[_0x5e8f10(0x145)](chalk['bold'][_0x5e8f10(0x125)](_0x375d4a[_0x5e8f10(0x13c)])),_0x5b58b1[_0x5e8f10(0xf5)](_0x3c000f=>{const _0x17bf4d=_0x5e8f10,_0x25f7ea=_0x3c000f[0x0],_0x5d4b73=_0x3c000f[0x1];console[_0x17bf4d(0x145)]('\x0a'+chalk['bold'][_0x17bf4d(0x14d)](''+helper[_0x17bf4d(0x137)](_0x25f7ea)));const _0x8e3832=_0x5d4b73['scenarios'],_0x560199=_0x5d4b73[_0x17bf4d(0x153)],_0x1fb66e=_0x5d4b73[_0x17bf4d(0xf4)],_0x5d6ee4=_0x5d4b73['stepsFailed'],_0x1e6ff4=_0x5d4b73[_0x17bf4d(0x150)],_0x4abdab=_0x5d4b73[_0x17bf4d(0x14b)],_0x53ac92=_0x5d4b73['stepsPending'],_0x59e06f=_0x5d4b73['stepsUndefined'],_0x186044=_0x5d4b73[_0x17bf4d(0x152)],_0x308769=_0x5d4b73[_0x17bf4d(0x108)],_0x5a3e56=_0x5d4b73[_0x17bf4d(0x142)];let _0x3d3036=_0x8e3832+'\x20scenarios';const _0x24a664=_0x375d4a['quZfd'](_0x375d4a['rNbbs'](_0x8e3832,_0x1fb66e),0x0)?_0x375d4a[_0x17bf4d(0x134)](_0x8e3832,_0x1fb66e):0x0;if(_0x375d4a['quZfd'](_0x1fb66e,0x0)&&_0x375d4a[_0x17bf4d(0x10a)](_0x24a664,0x0))_0x3d3036+='\x20('+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x1fb66e+_0x17bf4d(0xf2))+',\x20'+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x24a664+'\x20passed')+')';else(_0x375d4a['quZfd'](_0x1fb66e,0x0)||_0x375d4a[_0x17bf4d(0x10a)](_0x24a664,0x0))&&(_0x3d3036+=_0x375d4a['EKELf'](_0x1fb66e,0x0)?'\x20('+chalk['bold'][_0x17bf4d(0x119)](_0x1fb66e+_0x17bf4d(0xf2))+')':'\x20('+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x24a664+_0x17bf4d(0x14c))+')');const _0x457245=_0x560199+_0x17bf4d(0xea),_0x169e60=[];_0x375d4a[_0x17bf4d(0x111)](_0x308769,0x0)&&_0x169e60['push'](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x308769+_0x17bf4d(0x135)));_0x375d4a[_0x17bf4d(0x111)](_0x5d6ee4,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x5d6ee4+_0x17bf4d(0xf2)));_0x375d4a['FrurG'](_0x1e6ff4,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x1e6ff4+_0x17bf4d(0x14c)));_0x375d4a['quZfd'](_0x53ac92,0x0)&&_0x169e60['push'](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x14d)](_0x53ac92+_0x17bf4d(0xe7)));_0x375d4a[_0x17bf4d(0x10c)](_0x4abdab,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x128)](_0x4abdab+_0x17bf4d(0x132)));_0x375d4a['bXcgN'](_0x59e06f,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)]['yellow'](_0x59e06f+'\x20undefined'));_0x375d4a[_0x17bf4d(0xfc)](_0x186044,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x14d)](_0x186044+_0x17bf4d(0x132)));const _0x1cc040=_0x375d4a['KpiFE'](_0x375d4a[_0x17bf4d(0xe6)](_0x375d4a[_0x17bf4d(0xe6)](_0x457245,'('),_0x169e60[_0x17bf4d(0xe8)](',\x20')),')');console[_0x17bf4d(0x145)](_0x375d4a['AxWyl'](_0x375d4a[_0x17bf4d(0x10b)](_0x375d4a[_0x17bf4d(0x11b)](_0x375d4a[_0x17bf4d(0x101)]('\x0a',_0x3d3036),'\x0a'),_0x1cc040),'\x0a')),_0x375d4a['UaKmI'](_0x5a3e56,![])&&(_0x4073ca=0x1);}),_0x4073ca;}async function run(_0x368b29,_0x1c6033){const _0x259e13=a5_0x607ef3,_0x11a58f={'Yzibi':function(_0x4fd615,_0x4a18ea){return _0x4fd615(_0x4a18ea);},'Iflmi':function(_0x1243a9,_0x3ecb06){return _0x1243a9>_0x3ecb06;},'hJlnI':'Generating\x20consolidated\x20report...','KwrmE':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','OyzeL':_0x259e13(0xf1),'HDMrb':_0x259e13(0xfb),'PHkug':_0x259e13(0x11d),'KgFYW':'tmp','bbqwM':function(_0x1a0b51,_0x56eb7f){return _0x1a0b51>_0x56eb7f;},'JyrjK':function(_0x2f4c37,_0x3bee93){return _0x2f4c37-_0x3bee93;},'OJJft':function(_0x19ed59,_0x5c7b11){return _0x19ed59>=_0x5c7b11;},'sbWCz':function(_0x2f9abd,_0x55e2dc){return _0x2f9abd!=_0x55e2dc;},'eNdgQ':'true','ONTnW':function(_0x65947c,_0x5f1010,_0x527b35,_0x220f2c,_0xf02c8a,_0x5735cc){return _0x65947c(_0x5f1010,_0x527b35,_0x220f2c,_0xf02c8a,_0x5735cc);}},_0x54b6ba=new BrowserStackSetup(_0x368b29,_0x11a58f[_0x259e13(0x146)]);await _0x54b6ba[_0x259e13(0x10e)]();!helper['isBrowserstackInfra']()&&await _0x54b6ba[_0x259e13(0xff)]();await helper[_0x259e13(0xf0)](_0x54b6ba['config']);const _0x40cd9f=helper[_0x259e13(0x11f)](_0x54b6ba[_0x259e13(0x10d)]),_0x267a20=helper[_0x259e13(0x10f)](_0x54b6ba[_0x259e13(0x10d)],_0x40cd9f,constants[_0x259e13(0xf9)][_0x259e13(0x141)]);if(!_0x54b6ba[_0x259e13(0x10d)])return;const _0x5829e5=_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x12c)]||helper['getUserWorkerCount'](_0x368b29,_0x1c6033,_0x54b6ba['config'],constants['FRAMEWORKS'][_0x259e13(0x141)])||0x1,_0x4c0805={'server':helper['getHubUrl'](_0x54b6ba[_0x259e13(0x10d)]),'proxySettings':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x117)],'maxWorkers':_0x5829e5,'browserStackLogLevel':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x126)],'skipSessionName':_0x54b6ba[_0x259e13(0x10d)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x54b6ba['config'][_0x259e13(0x131)][_0x259e13(0x112)],'turboScaleUrl':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x136)]},_0x12c49d=process['argv'],[_0x3f0114,_0x5e577a]=helper[_0x259e13(0x144)](_0x12c49d),_0x1c1820=path['join'](process['cwd'](),_0x11a58f[_0x259e13(0x104)]);if(_0x11a58f[_0x259e13(0xee)](_0x5e577a['length'],0x0)){helper['createDir'](_0x1c1820);for(let _0x4f8e23=_0x11a58f[_0x259e13(0x12b)](_0x3f0114[_0x259e13(0x155)],0x1);_0x11a58f[_0x259e13(0x124)](_0x4f8e23,0x0);_0x4f8e23--){_0x12c49d[_0x259e13(0x11e)](_0x3f0114[_0x4f8e23],0x2);}}!helper[_0x259e13(0x14f)](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x14e)])&&(process[_0x259e13(0x105)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x259e13(0x140)](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x14e)]));_0x11a58f['sbWCz'](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0xe9)],null)?process[_0x259e13(0x105)][_0x259e13(0x133)]=_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0xe9)]:process[_0x259e13(0x105)][_0x259e13(0x133)]=_0x11a58f[_0x259e13(0x154)];const _0x49cf9c=await TestHubHandler[_0x259e13(0x116)](constants[_0x259e13(0xf9)][_0x259e13(0x141)],_0x54b6ba);helper['markSDKSetupComplete']();let _0x96c53e;_0x11a58f['ONTnW'](parallelCucumberRun,_0x267a20,_0x4c0805,_0x54b6ba[_0x259e13(0x10d)],_0x12c49d,_0x5e577a)[_0x259e13(0x100)](async _0x185561=>{const _0x2afcd9=_0x259e13;_0x96c53e=_0x185561;const _0x5afa3d=_0x11a58f[_0x2afcd9(0xfd)](printCucumberStats,_0x185561);process[_0x2afcd9(0x11a)]=_0x5afa3d,_0x11a58f[_0x2afcd9(0xf3)](_0x5e577a[_0x2afcd9(0x155)],0x0)&&(logger[_0x2afcd9(0x102)](_0x11a58f[_0x2afcd9(0x147)]),helper[_0x2afcd9(0x127)](_0x1c1820,_0x5e577a),logger['debug'](_0x11a58f['KwrmE']),helper[_0x2afcd9(0xfe)](_0x1c1820));})[_0x259e13(0x12d)](async()=>{const _0x348206=_0x259e13;_0x54b6ba[_0x348206(0x113)]=helper['getErrorMessageFromResults'](_0x96c53e,_0x11a58f['OyzeL']),testOpsHelper[_0x348206(0x129)]();try{await TestHubHandler[_0x348206(0x121)]();}catch(_0x220a3c){logger[_0x348206(0x102)](_0x348206(0x123)+util[_0x348206(0x120)](_0x220a3c));}try{const {browserstackFolderPath:_0x4382d5,tcgConfigPath:_0x4ce22c}=helper[_0x348206(0x148)]();fs[_0x348206(0x114)](_0x4ce22c),fs[_0x348206(0xec)](_0x4382d5);}catch(_0x45744c){logger['debug'](_0x11a58f[_0x348206(0x13e)],_0x45744c);}await utilities['finalExecution'](_0x54b6ba);});}module[a5_0x607ef3(0x12e)]=run;
|