browserstack-node-sdk 1.34.1 → 1.34.2
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -0
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- 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 -0
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -0
- 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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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 -0
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x146fef=a0_0x1f7d;(function(_0x3223f2,_0x1e2c31){const _0x541233=a0_0x1f7d,_0x1a9108=_0x3223f2();while(!![]){try{const _0xdf1025=-parseInt(_0x541233(0xdd))/0x1*(-parseInt(_0x541233(0xee))/0x2)+parseInt(_0x541233(0x10e))/0x3*(parseInt(_0x541233(0xaf))/0x4)+parseInt(_0x541233(0x114))/0x5+-parseInt(_0x541233(0xf4))/0x6*(parseInt(_0x541233(0x134))/0x7)+-parseInt(_0x541233(0xe0))/0x8*(-parseInt(_0x541233(0xe2))/0x9)+parseInt(_0x541233(0xb3))/0xa+-parseInt(_0x541233(0x135))/0xb;if(_0xdf1025===_0x1e2c31)break;else _0x1a9108['push'](_0x1a9108['shift']());}catch(_0x2ae7d3){_0x1a9108['push'](_0x1a9108['shift']());}}}(a0_0x2f93,0x7137d));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a0_0x146fef(0xf8)),logger=require(a0_0x146fef(0xd1))[a0_0x146fef(0x11c)],testOpsHelper=require(a0_0x146fef(0x116)),requestSpy=require(a0_0x146fef(0x101)),PlaywrightSessionDetails=require(a0_0x146fef(0x107)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a0_0x146fef(0x13d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a0_0x146fef(0xb1)),AccessibilityHelper=require(a0_0x146fef(0xe7)),scripts=require(a0_0x146fef(0xeb)),PerformanceTester=require(a0_0x146fef(0xdf)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a0_0x146fef(0x14c)),CodeceptJS=requireModule(a0_0x146fef(0xba)),CodeceptUtils=requireModule(a0_0x146fef(0x120)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a0_0x146fef(0x132)),CodeceptPlaywright=requireModule(a0_0x146fef(0xaa)),playwrightMarkSessionStatus=(_0x28339f,_0x4c7d22,_0x37d46b)=>{const _0x1300a2=a0_0x146fef,_0x5d3b7a={'sxzYB':_0x1300a2(0x125),'xpCqe':function(_0x4c1b0a,_0x19f863){return _0x4c1b0a(_0x19f863);}},_0x14eb7b={};_0x14eb7b[_0x1300a2(0xf1)]=_0x4c7d22;const _0x50b05a={};_0x50b05a[_0x1300a2(0x123)]=_0x5d3b7a[_0x1300a2(0x124)],_0x50b05a['arguments']=_0x14eb7b;const _0x4d1683=_0x50b05a;return!_0x5d3b7a[_0x1300a2(0xdb)](isUndefined,_0x37d46b)&&(_0x4d1683[_0x1300a2(0xb8)][_0x1300a2(0x127)]=JSON[_0x1300a2(0xc8)](_0x37d46b)),_0x28339f[_0x1300a2(0x100)](()=>{},_0x1300a2(0x133)+JSON[_0x1300a2(0xc8)](_0x4d1683));},o11ySync=async _0x22e27c=>{const _0x34988c=a0_0x146fef,_0x5e3747={};_0x5e3747[_0x34988c(0x141)]=function(_0x2be56f,_0x221c51){return _0x2be56f===_0x221c51;},_0x5e3747[_0x34988c(0xf9)]=_0x34988c(0xe8);const _0x436e23=_0x5e3747;_0x436e23['jbeCz'](_0x22e27c[_0x34988c(0x138)][_0x34988c(0xb9)],_0x436e23[_0x34988c(0xf9)])?await _0x22e27c['executeScript'](_0x483ea5=>{},testOpsHelper[_0x34988c(0xb5)]()):await _0x22e27c['executeScript'](testOpsHelper[_0x34988c(0xb5)]());},markSessionName=async(_0x35e646,_0x4431a7)=>{const _0x254f6a=a0_0x146fef,_0x1140e1={};_0x1140e1['kBUBy']='setSessionName',_0x1140e1[_0x254f6a(0x106)]=function(_0x567c9e,_0x232e5f){return _0x567c9e===_0x232e5f;},_0x1140e1[_0x254f6a(0x136)]=_0x254f6a(0xe8);const _0x311771=_0x1140e1,_0x51e19b={};_0x51e19b[_0x254f6a(0xb9)]=_0x4431a7;const _0x22ee06={};_0x22ee06['action']=_0x311771['kBUBy'],_0x22ee06[_0x254f6a(0xb8)]=_0x51e19b;const _0x36c78d=_0x22ee06;_0x311771['CWGcK'](_0x35e646[_0x254f6a(0x138)][_0x254f6a(0xb9)],_0x311771[_0x254f6a(0x136)])?await _0x35e646[_0x254f6a(0x100)](()=>{},_0x254f6a(0x133)+JSON['stringify'](_0x36c78d)):await _0x35e646[_0x254f6a(0x100)](_0x254f6a(0x133)+JSON[_0x254f6a(0xc8)](_0x36c78d));},patchSaveScreenshot=_0xa1afca=>{const _0xa5d1ac=a0_0x146fef,_0x15ba55={'XLXnp':_0xa5d1ac(0xc6),'nlTGi':_0xa5d1ac(0x10b),'LxurO':function(_0x35966f){return _0x35966f();},'qoqWb':function(_0x2d69e2,_0x5d6e08){return _0x2d69e2(_0x5d6e08);}};_0x15ba55[_0xa5d1ac(0x149)](isTrue,process['env'][_0xa5d1ac(0x121)])&&!_0xa1afca['patchSaveScreenshot']&&(_0xa1afca[_0xa5d1ac(0xbe)]=!![],_0xa1afca['initSaveScreenshot']=_0xa1afca[_0xa5d1ac(0xca)],_0xa1afca[_0xa5d1ac(0xca)]=(_0x5b5eca,_0x35898a=![])=>{const _0x176140=_0xa5d1ac,_0x46c348={'ujxEj':_0x15ba55[_0x176140(0xb7)],'rnWrA':_0x15ba55['nlTGi'],'cNmby':function(_0x6ded39){const _0x1975dd=_0x176140;return _0x15ba55[_0x1975dd(0x140)](_0x6ded39);}};return new Promise(function(_0x38ed68,_0x13c50e){const _0x29a256=_0x176140,_0x1d572a={'ymdFJ':_0x46c348[_0x29a256(0xfb)],'rHiGD':_0x46c348[_0x29a256(0xb4)],'cYRLA':function(_0x179c99){const _0x2496dd=_0x29a256;return _0x46c348[_0x2496dd(0xd3)](_0x179c99);}};_0xa1afca['initSaveScreenshot'](_0x5b5eca,_0x35898a)[_0x29a256(0xe6)](()=>{const _0x445582=_0x29a256,_0x5cec6e=CodeceptUtils[_0x445582(0x12e)](_0x5b5eca),_0x37f976=fs[_0x445582(0x150)](_0x5cec6e);process[_0x445582(0x103)](_0x445582(0x12c)+process[_0x445582(0x137)],{'timestamp':new Date()[_0x445582(0x11e)](),'message':_0x37f976[_0x445582(0xff)](_0x1d572a[_0x445582(0xfe)]),'kind':_0x1d572a[_0x445582(0xf0)]}),_0x1d572a['cYRLA'](_0x38ed68);})[_0x29a256(0x14b)](()=>null);});});},patchWebDriverBefore=_0x39fd9c=>{const _0x438cb7=a0_0x146fef,_0x108983={'WTwjT':function(_0x3d674e){return _0x3d674e();},'ahVcu':function(_0x5552ab,_0x52b9d8){return _0x5552ab(_0x52b9d8);},'OLNbs':function(_0x5c2852,_0x4f2f48){return _0x5c2852===_0x4f2f48;},'BuZxJ':_0x438cb7(0x129),'KaZnN':function(_0x472359,_0x2fada8){return _0x472359(_0x2fada8);}},_0x4b5224=async function(_0x187fd2,_0x2aa577){const _0x489bc5=_0x438cb7;return _0x108983['WTwjT'](isAccessibilityAutomationSession)&&!global[_0x489bc5(0xa5)]&&global[_0x489bc5(0x104)]&&scripts[_0x489bc5(0x12f)](_0x187fd2[_0x489bc5(0xb9)])&&_0x108983[_0x489bc5(0xcf)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x489bc5(0xa5)]=!![],logger['debug'](_0x489bc5(0x128)+_0x187fd2['class']+'\x20'+_0x187fd2[_0x489bc5(0xb9)]),await AccessibilityHelper[_0x489bc5(0x111)](_0x39fd9c,scripts[_0x489bc5(0x14a)])),global[_0x489bc5(0xa5)]=![],_0x2aa577[_0x489bc5(0x14f)](this,Array[_0x489bc5(0x11f)][_0x489bc5(0xad)][_0x489bc5(0x147)](arguments,0x2));},_0xbd8988=CodeceptWebDriver[_0x438cb7(0x11f)]['_before'];CodeceptWebDriver[_0x438cb7(0x11f)][_0x438cb7(0xc3)]=async function(){const _0x2acafd=_0x438cb7,_0x3bc8df={'EJxiq':function(_0x508276,_0x3ff308){return _0x108983['OLNbs'](_0x508276,_0x3ff308);},'GAnPl':_0x108983[_0x2acafd(0xae)]};await _0xbd8988[_0x2acafd(0x14f)](this,arguments),scripts[_0x2acafd(0xde)][_0x2acafd(0xe9)](_0x592787=>_0x592787[_0x2acafd(0xb9)]&&_0x592787[_0x2acafd(0x102)])['forEach'](_0x1246e5=>{const _0x1fe1d0=_0x2acafd;this[_0x1fe1d0(0xdc)][_0x1fe1d0(0xcc)](_0x1246e5[_0x1fe1d0(0xb9)],_0x4b5224[_0x1fe1d0(0xac)](this,_0x1246e5),_0x3bc8df['EJxiq'](_0x1246e5[_0x1fe1d0(0x102)],_0x3bc8df[_0x1fe1d0(0xbb)]));}),_0x108983[_0x2acafd(0xf2)](processWebDriverConfig,_0x39fd9c);};},patchPlaywrightBefore=()=>{const _0x1e4c54=a0_0x146fef;PlaywrightSessionDetails[_0x1e4c54(0xa9)]();const _0x6cb54=CodeceptPlaywright[_0x1e4c54(0x11f)][_0x1e4c54(0xc3)];CodeceptPlaywright[_0x1e4c54(0x11f)][_0x1e4c54(0xc3)]=async function(){const _0x3bac03=_0x1e4c54;this['browserContext']=await this[_0x3bac03(0xdc)][_0x3bac03(0xf3)]()[0x0],await _0x6cb54['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x5c2ecf=a0_0x146fef,_0x2ef5cd={};_0x2ef5cd[_0x5c2ecf(0xfa)]=_0x5c2ecf(0xed),_0x2ef5cd[_0x5c2ecf(0xc9)]='Playwright',_0x2ef5cd['YOmUS']=_0x5c2ecf(0x130),_0x2ef5cd[_0x5c2ecf(0xce)]='TestCafe';const _0x380f07=_0x2ef5cd,_0xc9b8d9=[_0x380f07[_0x5c2ecf(0xfa)],_0x380f07[_0x5c2ecf(0xc9)],_0x380f07['YOmUS'],_0x380f07[_0x5c2ecf(0xce)]],_0x1bd199=_0xc9b8d9[_0x5c2ecf(0xb0)](_0x582fb8=>!!CodeceptJS[_0x5c2ecf(0xb2)][_0x5c2ecf(0x122)](_0x582fb8));if(!_0x1bd199)return null;return CodeceptJS['container']['helpers'](_0x1bd199);};function a0_0x1f7d(_0x22ec67,_0x10f9f2){const _0x2f93be=a0_0x2f93();return a0_0x1f7d=function(_0x1f7ddc,_0x5f0ccc){_0x1f7ddc=_0x1f7ddc-0xa5;let _0x355d8a=_0x2f93be[_0x1f7ddc];return _0x355d8a;},a0_0x1f7d(_0x22ec67,_0x10f9f2);}function a0_0x2f93(){const _0x13b334=['21qTiyZy','cWIYg','title','browserStackExecuteDriver','NQBiD','wTUXx','910995oqjbkq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/test-observability/utils','startMonitoring','ENV_VAR','started','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','TEST_RUN_FINISHED','winstonLogger','skipSessionName','toISOString','prototype','codeceptjs/lib/utils.js','BS_TESTOPS_ALLOW_SCREENSHOTS','helpers','action','sxzYB','setSessionStatus','bddStepStart','reason','Performing\x20scan\x20for\x20','Element','TEST_RUN_SKIPPED','captureEvent','bs:addLog:','saveTestResults','screenshotOutputFolder','shouldWrapCommand','Puppeteer','AdRGl','codeceptjs/lib/recorder.js','browserstack_executor:\x20','35xgfyAD','17010609vaUzKJ','PPDlv','pid','constructor','before','HOOK_RUN_FINISHED','nooIL','bddStepFinish','./o11yHelper','FSgAt','BROWSERSTACK_TESTHUB_JWT','LxurO','jbeCz','failed','CYsoL','after','hook','TEST_RUN_STARTED','call','__skipSessionStatus','qoqWb','performScan','catch','../../helpers/testhub/constants.js','captureError','XLaDg','apply','readFileSync','bstackAllyScanning','skipped','event','skipSessionStatus','patch','codeceptjs/lib/helper/Playwright.js','Suite','bind','slice','BuZxJ','225804pEHtjq','find','../../helpers/accessibility-automation/helper','container','6648580DlypSg','rnWrA','getSyncScript','Gjlao','XLXnp','arguments','name','codeceptjs/lib/index.js','GAnPl','stop','yEVPt','patchSaveScreenshot','thBuildUuid','TEST_LOG','addRequestSpy','env','_before','ewgIt','YrakP','base64','MxoPf','stringify','SPGTv','saveScreenshot','stopMonitoring','overwriteCommand','ZsdHd','ISwqD','ahVcu','PAIHs','../../helpers/logger','restore','cNmby','BROWSERSTACK_TESTHUB_UUID','INFO','fireEvent','all','dispatcher','comment','bddStep','xpCqe','browser','1QEoJlE','commandsToWrap','../../helpers/performance-tester','3354224ZtkYlL','warn','18pEBegi','info','thTestRunUuid','BpTcj','then','../../bin/playwright/accessibility-helper','Playwright','filter','__workerDetails','../../helpers/accessibility-automation/scripts','IYozy','WebDriver','1346630ADsllJ','currentTest','rHiGD','status','KaZnN','contexts','892710GkVxWd','titlePath','passed','thJwtToken','../../helpers/helper','SXIVm','VbqRG','ujxEj','ctx','getAccessibilityResultsSummary','ymdFJ','toString','executeScript','../../helpers/request-spy','class','emit','accessibilityPlatform','testAnalyticsId','CWGcK','../../bin/playwright/sessionDetails','test','fBCsF','add','TEST_SCREENSHOT','yxfCR','exports'];a0_0x2f93=function(){return _0x13b334;};return a0_0x2f93();}module[a0_0x146fef(0x10d)]=function(_0x361d34){const _0x2786de=a0_0x146fef,_0x22e31c={'NQBiD':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','ysSPt':_0x2786de(0x115),'YrakP':function(_0x263f74){return _0x263f74();},'Gjlao':function(_0x3f4594){return _0x3f4594();},'yEVPt':function(_0x5035b1,_0x420445){return _0x5035b1(_0x420445);},'MxoPf':function(_0x40ab34,_0x5c1297,_0x2240d5){return _0x40ab34(_0x5c1297,_0x2240d5);},'jWSEO':function(_0x1889a2){return _0x1889a2();},'cWIYg':function(_0x5b2753,_0xbd2875,_0x3b12b7){return _0x5b2753(_0xbd2875,_0x3b12b7);},'wTUXx':function(_0x24d016,_0x302114,_0x206af7){return _0x24d016(_0x302114,_0x206af7);},'PAIHs':function(_0x309ab4,_0x5763c2,_0x18d2b3,_0x2434c9){return _0x309ab4(_0x5763c2,_0x18d2b3,_0x2434c9);},'jogHz':function(_0x635e7b,_0x5a56f3,_0x30ad86,_0xd702e6){return _0x635e7b(_0x5a56f3,_0x30ad86,_0xd702e6);},'CYsoL':function(_0x4cfb95,_0x54300a){return _0x4cfb95===_0x54300a;},'yxfCR':_0x2786de(0xab),'BpTcj':_0x2786de(0x11a),'nooIL':_0x2786de(0xd5),'IYozy':_0x2786de(0xc0),'FSgAt':'Playwright','fBCsF':function(_0x2b199b){return _0x2b199b();},'AdRGl':function(_0xe95985,_0x172575){return _0xe95985(_0x172575);}};_0x361d34[_0x2786de(0xa8)]&&(global[_0x2786de(0x148)]=_0x361d34[_0x2786de(0xa8)]);PerformanceTester[_0x2786de(0x117)]();const _0x19af8a=_0x22e31c[_0x2786de(0xb6)](getCodeceptDriver),_0x428507=new O11yHelper(_0x19af8a,_0x361d34),_0x2e99fd=!!CodeceptJS[_0x2786de(0xb2)][_0x2786de(0x122)](_0x22e31c[_0x2786de(0x13e)]);global['__driver']=_0x19af8a,_0x19af8a&&(_0x2e99fd?_0x22e31c[_0x2786de(0x109)](patchPlaywrightBefore):_0x22e31c[_0x2786de(0xbd)](patchWebDriverBefore,_0x19af8a),_0x19af8a[_0x2786de(0xfd)]=async()=>{const _0xe66d7f=_0x2786de;if(global[_0xe66d7f(0x104)])await AccessibilityHelper[_0xe66d7f(0x111)](_0x19af8a,scripts[_0xe66d7f(0x14a)]),await AccessibilityHelper[_0xe66d7f(0x111)](_0x19af8a,scripts['getResultsSummary']);else return logger['warn'](_0x22e31c[_0xe66d7f(0x112)]),{};},_0x19af8a['getAccessibilityResults']=async()=>{const _0x11f05e=_0x2786de;if(global[_0x11f05e(0x104)])await AccessibilityHelper['browserStackExecuteDriver'](_0x19af8a,scripts[_0x11f05e(0x14a)]),await AccessibilityHelper[_0x11f05e(0x111)](_0x19af8a,scripts['getResults']);else return logger[_0x11f05e(0xe1)](_0x22e31c['ysSPt']),{};},_0x22e31c[_0x2786de(0x131)](patchSaveScreenshot,_0x19af8a)),CodeceptJS['event'][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd7)]['before'],()=>{const _0x1e659f=_0x2786de;try{_0x428507['start'](),testOpsHelper[_0x1e659f(0xc1)]();}catch(_0x362d68){PerformanceTester[_0x1e659f(0x14d)](_0x362d68);}}),CodeceptJS['event'][_0x2786de(0xd8)]['on'](CodeceptJS['event'][_0x2786de(0xd7)][_0x2786de(0x144)],async()=>{const _0x2bd534=_0x2786de;try{requestSpy[_0x2bd534(0xd2)](),await _0x428507[_0x2bd534(0xbc)]();}catch(_0x16bb0e){PerformanceTester['captureError'](_0x16bb0e);}finally{PerformanceTester[_0x2bd534(0xcb)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x145)][_0x2786de(0x119)],_0x483b44=>{const _0x177dce=_0x2786de;try{const _0x406ff4=_0x483b44[_0x177dce(0xfc)][_0x177dce(0x108)],_0x1cf472=_0x428507['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x406ff4);CodeceptRecorder[_0x177dce(0x10a)](()=>_0x428507[_0x177dce(0xd6)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1cf472));}catch(_0x1ed42f){PerformanceTester[_0x177dce(0x14d)](_0x1ed42f);}}),CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x145)][_0x2786de(0xf6)],_0x30f02e=>{const _0x5b76f5=_0x2786de;try{const _0x11c9a7=_0x30f02e['ctx'][_0x5b76f5(0x108)],_0xd0da07=_0x428507[_0x5b76f5(0x12b)](TEST_EVENTS[_0x5b76f5(0x13a)],_0x11c9a7);CodeceptRecorder[_0x5b76f5(0x10a)](()=>_0x428507[_0x5b76f5(0xd6)](TEST_EVENTS[_0x5b76f5(0x13a)],_0xd0da07));}catch(_0x4adb5a){PerformanceTester[_0x5b76f5(0x14d)](_0x4adb5a);}}),CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x145)][_0x2786de(0x142)],async(_0x2d2900,_0x8e38d0)=>{const _0x5f2c6a=_0x2786de;try{const _0x32e77c=_0x2d2900[_0x5f2c6a(0xfc)][_0x5f2c6a(0x108)],_0x39130a=_0x428507[_0x5f2c6a(0x12b)](TEST_EVENTS[_0x5f2c6a(0x13a)],_0x32e77c,_0x8e38d0);CodeceptRecorder[_0x5f2c6a(0x10a)](()=>_0x428507[_0x5f2c6a(0xd6)](TEST_EVENTS[_0x5f2c6a(0x13a)],_0x39130a));}catch(_0x450d41){PerformanceTester['captureError'](_0x450d41);}}),CodeceptJS['event'][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x108)][_0x2786de(0x139)],_0x4ea6a0=>{const _0x2bb836=_0x2786de;try{_0x22e31c['YrakP'](isBrowserstackInfra)&&(_0x2e99fd&&(global[_0x2bb836(0xea)]={'currentTest':{'name':_0x4ea6a0[_0x2bb836(0x110)],'testInfo':{'titlePath':_0x4ea6a0[_0x2bb836(0xf5)]()}}}));}catch(_0x5bad69){PerformanceTester[_0x2bb836(0x14d)](_0x5bad69);}}),CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x108)][_0x2786de(0x119)],_0xc450a5=>{const _0x32119b=_0x2786de,_0x42d3e0={'XLaDg':function(_0x55b50f){const _0x2f6d54=a0_0x1f7d;return _0x22e31c[_0x2f6d54(0xb6)](_0x55b50f);},'ZsdHd':function(_0x13e55e,_0x142764){const _0x3cc114=a0_0x1f7d;return _0x22e31c[_0x3cc114(0xbd)](_0x13e55e,_0x142764);},'ewgIt':function(_0x304eca,_0x24b7da,_0x4e2f3e){const _0x27e97a=a0_0x1f7d;return _0x22e31c[_0x27e97a(0xc7)](_0x304eca,_0x24b7da,_0x4e2f3e);}};try{const _0x413fb1=_0x428507[_0x32119b(0x12b)](TEST_EVENTS[_0x32119b(0x146)],_0xc450a5);CodeceptRecorder[_0x32119b(0x10a)](()=>_0x428507[_0x32119b(0xd6)](TEST_EVENTS[_0x32119b(0x146)],_0x413fb1)),CodeceptRecorder[_0x32119b(0x10a)](async()=>{const _0x3a0b66=_0x32119b;_0x42d3e0[_0x3a0b66(0x14e)](isBrowserstackInfra)&&(!_0x42d3e0[_0x3a0b66(0xcd)](isTrue,_0x361d34[_0x3a0b66(0x11d)])&&await _0x42d3e0[_0x3a0b66(0xc4)](markSessionName,_0x19af8a,_0xc450a5[_0x3a0b66(0x110)]),_0x428507['enabled']&&await _0x42d3e0[_0x3a0b66(0xcd)](o11ySync,_0x19af8a));});}catch(_0x53d073){PerformanceTester[_0x32119b(0x14d)](_0x53d073);}}),CodeceptJS[_0x2786de(0xa7)]['dispatcher']['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x108)]['passed'],_0x13f2f0=>{const _0x49167d=_0x2786de;try{const _0x157a8d=_0x428507['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x13f2f0);CodeceptRecorder['add'](()=>_0x428507[_0x49167d(0xd6)](TEST_EVENTS[_0x49167d(0x11b)],_0x157a8d)),CodeceptRecorder[_0x49167d(0x10a)](async()=>{const _0xe496f6=_0x49167d;_0x22e31c['jWSEO'](isBrowserstackInfra)&&(_0x2e99fd?await _0x22e31c[_0xe496f6(0x10f)](playwrightMarkSessionStatus,_0x19af8a,STATE_PASSED):await _0x22e31c[_0xe496f6(0x113)](markSessionStatus,_0x19af8a,STATE_PASSED));});}catch(_0x4b62d9){PerformanceTester[_0x49167d(0x14d)](_0x4b62d9);}}),CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd8)]['on'](CodeceptJS['event']['test'][_0x2786de(0x142)],(_0x3ad580,_0x129d15)=>{const _0x44cf5d=_0x2786de;try{if(_0x22e31c[_0x44cf5d(0x143)](_0x3ad580['constructor']['name'],_0x22e31c[_0x44cf5d(0x10c)])){const _0x426869=_0x428507['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3ad580[_0x44cf5d(0xfc)][_0x44cf5d(0xef)]);CodeceptRecorder[_0x44cf5d(0x10a)](()=>_0x428507[_0x44cf5d(0xd6)](TEST_EVENTS[_0x44cf5d(0x12a)],_0x426869));}else{const _0x5d66a5=_0x428507[_0x44cf5d(0x12b)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3ad580,_0x129d15);CodeceptRecorder['add'](()=>_0x428507[_0x44cf5d(0xd6)](TEST_EVENTS[_0x44cf5d(0x11b)],_0x5d66a5)),CodeceptRecorder[_0x44cf5d(0x10a)](async()=>{const _0x8a3a44=_0x44cf5d;_0x22e31c[_0x8a3a44(0xc5)](isBrowserstackInfra)&&(_0x2e99fd?await _0x22e31c[_0x8a3a44(0xd0)](playwrightMarkSessionStatus,_0x19af8a,STATE_FAILED,_0x129d15):await _0x22e31c['jogHz'](markSessionStatus,_0x19af8a,STATE_FAILED,_0x129d15));});}}catch(_0x1fe9ea){PerformanceTester[_0x44cf5d(0x14d)](_0x1fe9ea);}}),CodeceptJS[_0x2786de(0xa7)]['dispatcher']['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x108)][_0x2786de(0xa6)],_0x41817a=>{const _0x52f5d8=_0x2786de;try{const _0x4f7f48=_0x428507[_0x52f5d8(0x12b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x41817a);CodeceptRecorder[_0x52f5d8(0x10a)](()=>_0x428507[_0x52f5d8(0xd6)](TEST_EVENTS[_0x52f5d8(0x12a)],_0x4f7f48));}catch(_0x1f250f){PerformanceTester[_0x52f5d8(0x14d)](_0x1f250f);}}),CodeceptJS[_0x2786de(0xa7)]['dispatcher']['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0x108)][_0x2786de(0x144)],async(_0x289580,_0x580f6f)=>{const _0x403f53=_0x2786de;try{if(_0x22e31c[_0x403f53(0xc5)](isBrowserstackInfra)){const _0x49e1c3=_0x22e31c['MxoPf'](shouldScanTestForAccessibility,_0x289580[_0x403f53(0xf5)](),!![]);if(_0x22e31c['Gjlao'](isAccessibilityAutomationSession)&&global[_0x403f53(0x104)]&&_0x49e1c3){const _0x1c9f16={};_0x1c9f16[_0x403f53(0xe4)]=_0x289580[_0x403f53(0x105)],_0x1c9f16[_0x403f53(0xbf)]=process[_0x403f53(0xc2)][testHubConstants[_0x403f53(0x118)][_0x403f53(0xd4)]],_0x1c9f16[_0x403f53(0xf7)]=process[_0x403f53(0xc2)][testHubConstants['ENV_VAR'][_0x403f53(0x13f)]];const _0x23ff88=_0x1c9f16;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x403f53(0xc8)](_0x23ff88)),CodeceptRecorder[_0x403f53(0x10a)](async()=>{const _0x1d9860=_0x403f53;await AccessibilityHelper[_0x1d9860(0x111)](_0x19af8a,scripts[_0x1d9860(0x14a)]),await AccessibilityHelper[_0x1d9860(0x111)](_0x19af8a,scripts[_0x1d9860(0x12d)],_0x23ff88);}),logger[_0x403f53(0xe3)](_0x22e31c[_0x403f53(0xe5)]);}}}catch(_0x27fcd5){PerformanceTester[_0x403f53(0x14d)](_0x27fcd5);}}),CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)]['step'][_0x2786de(0xd9)],_0x4ac54b=>{const _0x48ae30=_0x2786de;try{process[_0x48ae30(0x103)](_0x48ae30(0x12c)+process[_0x48ae30(0x137)],{'timestamp':new Date()[_0x48ae30(0x11e)](),'level':_0x22e31c[_0x48ae30(0x13b)],'message':_0x4ac54b,'kind':_0x22e31c[_0x48ae30(0xec)],'http_response':{}});}catch(_0xcad6b9){PerformanceTester['captureError'](_0xcad6b9);}}),CodeceptJS[_0x2786de(0xa7)]['dispatcher']['on'](CodeceptJS['event'][_0x2786de(0xda)][_0x2786de(0x139)],_0x4dabb8=>{const _0x459a0f=_0x2786de;_0x428507[_0x459a0f(0x126)](_0x4dabb8);}),CodeceptJS['event'][_0x2786de(0xd8)]['on'](CodeceptJS[_0x2786de(0xa7)][_0x2786de(0xda)][_0x2786de(0x144)],_0x30be63=>{const _0x23af97=_0x2786de;_0x428507[_0x23af97(0x13c)](_0x30be63);});};
|
|
1
|
+
const a1_0x29e0b6=a1_0x180b;(function(_0x5ec619,_0x54826a){const _0x1bd5df=a1_0x180b,_0x4da282=_0x5ec619();while(!![]){try{const _0x1eaf5d=parseInt(_0x1bd5df(0xbf))/0x1*(-parseInt(_0x1bd5df(0x11f))/0x2)+parseInt(_0x1bd5df(0xc1))/0x3+-parseInt(_0x1bd5df(0xd2))/0x4+parseInt(_0x1bd5df(0x11b))/0x5+-parseInt(_0x1bd5df(0xd8))/0x6*(parseInt(_0x1bd5df(0x13b))/0x7)+parseInt(_0x1bd5df(0xce))/0x8*(-parseInt(_0x1bd5df(0xc9))/0x9)+-parseInt(_0x1bd5df(0x127))/0xa;if(_0x1eaf5d===_0x54826a)break;else _0x4da282['push'](_0x4da282['shift']());}catch(_0x6ff1c7){_0x4da282['push'](_0x4da282['shift']());}}}(a1_0x53d3,0xb9649));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x29e0b6(0xd6)),logger=require(a1_0x29e0b6(0x121))[a1_0x29e0b6(0xd0)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x29e0b6(0x141)),PlaywrightSessionDetails=require(a1_0x29e0b6(0xc6)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x29e0b6(0x126)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x29e0b6(0x139)),scripts=require(a1_0x29e0b6(0xed)),PerformanceTester=require(a1_0x29e0b6(0x12a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x29e0b6(0xeb)),testHubConstants=require(a1_0x29e0b6(0x132)),CodeceptJS=requireModule(a1_0x29e0b6(0x115)),CodeceptUtils=requireModule(a1_0x29e0b6(0xb7)),CodeceptWebDriver=requireModule(a1_0x29e0b6(0xfe)),CodeceptRecorder=requireModule(a1_0x29e0b6(0xba)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x3e05c4,_0x197085,_0x5ce5c5)=>{const _0x2ecf1f=a1_0x29e0b6,_0x54a035={'VdGbF':_0x2ecf1f(0x101),'oStWr':function(_0x27fbc4,_0xcdfdd){return _0x27fbc4(_0xcdfdd);}},_0x27bc39={};_0x27bc39[_0x2ecf1f(0xd9)]=_0x197085;const _0x1f2788={};_0x1f2788['action']=_0x54a035[_0x2ecf1f(0xf8)],_0x1f2788[_0x2ecf1f(0xfa)]=_0x27bc39;const _0x49dcce=_0x1f2788;return!_0x54a035['oStWr'](isUndefined,_0x5ce5c5)&&(_0x49dcce[_0x2ecf1f(0xfa)][_0x2ecf1f(0xf0)]=JSON[_0x2ecf1f(0xc3)](_0x5ce5c5)),_0x3e05c4[_0x2ecf1f(0x108)](()=>{},'browserstack_executor:\x20'+JSON[_0x2ecf1f(0xc3)](_0x49dcce));},o11ySync=async _0x39db00=>{const _0x5edac0=a1_0x29e0b6,_0x5b4534={};_0x5b4534[_0x5edac0(0x12c)]=function(_0x5ab85b,_0x1ab5ec){return _0x5ab85b===_0x1ab5ec;},_0x5b4534[_0x5edac0(0x12f)]=_0x5edac0(0xf4);const _0x5bf12d=_0x5b4534;_0x5bf12d[_0x5edac0(0x12c)](_0x39db00[_0x5edac0(0x12b)][_0x5edac0(0x14a)],_0x5bf12d[_0x5edac0(0x12f)])?await _0x39db00[_0x5edac0(0x108)](_0x491e1b=>{},testOpsHelper[_0x5edac0(0x14c)]()):await _0x39db00[_0x5edac0(0x108)](testOpsHelper[_0x5edac0(0x14c)]());},markSessionName=async(_0x551907,_0x598f8f)=>{const _0x213165=a1_0x29e0b6,_0x1d391b={};_0x1d391b[_0x213165(0x136)]=_0x213165(0xd3),_0x1d391b[_0x213165(0x116)]=function(_0x140f07,_0x2301fa){return _0x140f07===_0x2301fa;},_0x1d391b[_0x213165(0x144)]=_0x213165(0xf4);const _0x3fd1e3=_0x1d391b,_0x2fc216={};_0x2fc216['name']=_0x598f8f;const _0xf89011={};_0xf89011[_0x213165(0x135)]=_0x3fd1e3[_0x213165(0x136)],_0xf89011[_0x213165(0xfa)]=_0x2fc216;const _0x1450b0=_0xf89011;_0x3fd1e3[_0x213165(0x116)](_0x551907[_0x213165(0x12b)][_0x213165(0x14a)],_0x3fd1e3[_0x213165(0x144)])?await _0x551907[_0x213165(0x108)](()=>{},_0x213165(0x147)+JSON[_0x213165(0xc3)](_0x1450b0)):await _0x551907[_0x213165(0x108)]('browserstack_executor:\x20'+JSON['stringify'](_0x1450b0));},patchSaveScreenshot=_0x15191b=>{const _0x2b98d9=a1_0x29e0b6,_0x580c57={'GIegl':_0x2b98d9(0x134),'XCFuY':_0x2b98d9(0xca),'uJLWU':function(_0x2bd422){return _0x2bd422();},'dFwrr':function(_0x536c09,_0x376634){return _0x536c09(_0x376634);}};_0x580c57[_0x2b98d9(0xea)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x15191b['patchSaveScreenshot']&&(_0x15191b[_0x2b98d9(0xc2)]=!![],_0x15191b[_0x2b98d9(0xfd)]=_0x15191b[_0x2b98d9(0x15c)],_0x15191b[_0x2b98d9(0x15c)]=(_0x3febd3,_0x6eb570=![])=>{const _0x57accf=_0x2b98d9,_0x3630d4={'sZwBH':_0x580c57[_0x57accf(0xdc)],'ZuTxw':_0x580c57[_0x57accf(0xec)],'qfNMQ':function(_0x132f35){const _0x1079a2=_0x57accf;return _0x580c57[_0x1079a2(0x15f)](_0x132f35);}};return new Promise(function(_0x5504ee,_0x5a01ed){const _0x51d392=_0x57accf;_0x15191b['initSaveScreenshot'](_0x3febd3,_0x6eb570)['then'](()=>{const _0x375de0=a1_0x180b,_0x2c5269=CodeceptUtils[_0x375de0(0xf3)](_0x3febd3),_0x2a974a=fs[_0x375de0(0xcf)](_0x2c5269);process[_0x375de0(0x13d)]('bs:addLog:'+process[_0x375de0(0x128)],{'timestamp':new Date()[_0x375de0(0xee)](),'message':_0x2a974a[_0x375de0(0x158)](_0x3630d4[_0x375de0(0xe8)]),'kind':_0x3630d4[_0x375de0(0x106)]}),_0x3630d4[_0x375de0(0x14b)](_0x5504ee);})[_0x51d392(0x161)](()=>null);});});},patchWebDriverBefore=_0x23013c=>{const _0x3f1135=a1_0x29e0b6,_0x54f088={'cGSML':function(_0x2e25a1){return _0x2e25a1();},'zFAoa':function(_0x23ac4d,_0x5431cd){return _0x23ac4d(_0x5431cd);},'YVHiQ':function(_0x24bd89,_0x325045){return _0x24bd89===_0x325045;},'DTguQ':_0x3f1135(0xe4),'ikRDz':function(_0x5236dc,_0x1f46de){return _0x5236dc(_0x1f46de);}},_0x215eaa=async function(_0x293a15,_0x3a280d){const _0x7774f2=_0x3f1135;return _0x54f088[_0x7774f2(0x13c)](isAccessibilityAutomationSession)&&!global[_0x7774f2(0x10b)]&&global[_0x7774f2(0xdd)]&&scripts[_0x7774f2(0x151)](_0x293a15[_0x7774f2(0x14a)])&&_0x54f088[_0x7774f2(0xb6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x7774f2(0x10b)]=!![],logger[_0x7774f2(0xf2)](_0x7774f2(0x111)+_0x293a15[_0x7774f2(0xbd)]+'\x20'+_0x293a15[_0x7774f2(0x14a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x23013c,scripts[_0x7774f2(0x156)])),global['bstackAllyScanning']=![],_0x3a280d[_0x7774f2(0xbe)](this,Array[_0x7774f2(0x100)][_0x7774f2(0x142)][_0x7774f2(0xf1)](arguments,0x2));},_0x4aae5a=CodeceptWebDriver[_0x3f1135(0x100)]['_before'];CodeceptWebDriver[_0x3f1135(0x100)]['_before']=async function(){const _0x3aa6f7=_0x3f1135;await _0x4aae5a['apply'](this,arguments),scripts[_0x3aa6f7(0x11a)][_0x3aa6f7(0x133)](_0x39d6f0=>_0x39d6f0[_0x3aa6f7(0x14a)]&&_0x39d6f0[_0x3aa6f7(0xbd)])[_0x3aa6f7(0x102)](_0x39dcae=>{const _0x259f39=_0x3aa6f7;this[_0x259f39(0xe5)]['overwriteCommand'](_0x39dcae['name'],_0x215eaa[_0x259f39(0x14e)](this,_0x39dcae),_0x54f088[_0x259f39(0x15b)](_0x39dcae['class'],_0x54f088[_0x259f39(0x146)]));}),_0x54f088[_0x3aa6f7(0x10e)](processWebDriverConfig,_0x23013c);};},patchPlaywrightBefore=()=>{const _0x367276=a1_0x29e0b6;PlaywrightSessionDetails['patch']();const _0x177920=CodeceptPlaywright['prototype'][_0x367276(0xf7)];CodeceptPlaywright[_0x367276(0x100)][_0x367276(0xf7)]=async function(){const _0x34fac3=_0x367276;this[_0x34fac3(0x131)]=await this[_0x34fac3(0xe5)][_0x34fac3(0x110)]()[0x0],await _0x177920[_0x34fac3(0xbe)](this,arguments);};},getCodeceptDriver=()=>{const _0x188390=a1_0x29e0b6,_0x2ebe46={};_0x2ebe46['OFBbL']=_0x188390(0xb9),_0x2ebe46[_0x188390(0x15d)]=_0x188390(0xf4),_0x2ebe46[_0x188390(0xbc)]=_0x188390(0x148),_0x2ebe46['WRXXu']=_0x188390(0x15a);const _0xbbc09=_0x2ebe46,_0x3139a1=[_0xbbc09['OFBbL'],_0xbbc09[_0x188390(0x15d)],_0xbbc09['VeSIt'],_0xbbc09[_0x188390(0x109)]],_0x154789=_0x3139a1['find'](_0x52b563=>!!CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x52b563));if(!_0x154789)return null;return CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x154789);};function a1_0x180b(_0x46b6b2,_0x4b3cfe){const _0x53d336=a1_0x53d3();return a1_0x180b=function(_0x180bf5,_0x23fc5b){_0x180bf5=_0x180bf5-0xb5;let _0x4b9c69=_0x53d336[_0x180bf5];return _0x4b9c69;},a1_0x180b(_0x46b6b2,_0x4b3cfe);}function a1_0x53d3(){const _0x3b82de=['../../helpers/request-spy','slice','eerot','zHqDB','XCZuB','DTguQ','browserstack_executor:\x20','Puppeteer','cdLRK','name','qfNMQ','getSyncScript','auZTe','bind','format','all','shouldWrapCommand','dispatcher','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','CKRoz','CGmQS','performScan','Iihka','toString','ENV_VAR','TestCafe','YVHiQ','saveScreenshot','QUBWF','HOOK_RUN_FINISHED','uJLWU','getResultsSummary','catch','add','zFAoa','codeceptjs/lib/utils.js','papWI','WebDriver','codeceptjs/lib/recorder.js','BahuG','VeSIt','class','apply','6439YpuFMu','bs:addLog:','3687312prmJTu','patchSaveScreenshot','stringify','captureEvent','stop','../../bin/playwright/sessionDetails','fWUKT','izEcf','26370gIjdfZ','TEST_SCREENSHOT','getResults','KnAmU','TEST_RUN_STARTED','264sataoz','readFileSync','winstonLogger','qhWey','3145896vzObbc','setSessionName','INFO','addRequestSpy','../../helpers/helper','helpers','231510kdoMrj','status','after','container','GIegl','accessibilityPlatform','TlJiv','step','titlePath','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QfLbp','hook','Element','browser','TEST_LOG','title','sZwBH','skipSessionStatus','dFwrr','./helper.js','XCFuY','../../helpers/accessibility-automation/scripts','toISOString','startMonitoring','reason','call','debug','screenshotOutputFolder','Playwright','before','HuYuA','_before','VdGbF','env','arguments','KqOSC','restore','initSaveScreenshot','codeceptjs/lib/helper/WebDriver.js','fireEvent','prototype','setSessionStatus','forEach','__workerDetails','ctx','__skipSessionStatus','ZuTxw','oOuYe','executeScript','WRXXu','__driver','bstackAllyScanning','BROWSERSTACK_TESTHUB_UUID','warn','ikRDz','failed','contexts','Performing\x20scan\x20for\x20','skipSessionName','started','exports','codeceptjs/lib/index.js','xyfbC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jYJlw','Cjesi','commandsToWrap','6746145ryJDsm','PrWvZ','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TEST_RUN_FINISHED','178Kmraja','bddStep','../../helpers/logger','event','stopMonitoring','test','saveTestResults','./o11yHelper','926340ZCuTuF','pid','browserStackExecuteDriver','../../helpers/performance-tester','constructor','LTRZV','TEST_RUN_SKIPPED','BROWSERSTACK_TESTHUB_JWT','JsMkA','comment','browserContext','../../helpers/testhub/constants.js','filter','base64','action','vWjpv','bddStepStart','FMffJ','../../bin/playwright/accessibility-helper','getAccessibilityResultsSummary','49CDEXUQ','cGSML','emit','testAnalyticsId','bddStepFinish','captureError'];a1_0x53d3=function(){return _0x3b82de;};return a1_0x53d3();}module[a1_0x29e0b6(0x114)]=function(_0x50dbbd){const _0x56cce1=a1_0x29e0b6,_0x5ea838={'oOuYe':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','jYJlw':_0x56cce1(0x117),'KnAmU':function(_0x566da7){return _0x566da7();},'Cjesi':function(_0x549f90){return _0x549f90();},'TlJiv':function(_0x4bafa3,_0x40478b){return _0x4bafa3(_0x40478b);},'fWUKT':function(_0x248fe7,_0x4a74f5,_0x1bb48d){return _0x248fe7(_0x4a74f5,_0x1bb48d);},'PrWvZ':function(_0x35ed29){return _0x35ed29();},'HgLzn':function(_0x5efa3d,_0x10f8dd,_0x122e77){return _0x5efa3d(_0x10f8dd,_0x122e77);},'auZTe':function(_0xc990a6,_0x17c41b,_0x33a8e4,_0x426f71){return _0xc990a6(_0x17c41b,_0x33a8e4,_0x426f71);},'papWI':function(_0x132ab3,_0x1847ca,_0x3609a3,_0x3c1fdf){return _0x132ab3(_0x1847ca,_0x3609a3,_0x3c1fdf);},'qhWey':function(_0x561acd,_0x4e4ee9){return _0x561acd===_0x4e4ee9;},'CGmQS':'Suite','QfLbp':function(_0x48356e){return _0x48356e();},'KqOSC':_0x56cce1(0xe1),'FMffJ':_0x56cce1(0xd4),'izlhi':_0x56cce1(0xe6),'YqBkQ':function(_0x34a052){return _0x34a052();},'XCZuB':'Playwright','Iihka':function(_0x384a15){return _0x384a15();},'BahuG':function(_0x31526c,_0x401739){return _0x31526c(_0x401739);}};_0x50dbbd[_0x56cce1(0xe9)]&&(global[_0x56cce1(0x105)]=_0x50dbbd[_0x56cce1(0xe9)]);PerformanceTester[_0x56cce1(0xef)]();const _0x1f0ad5=_0x5ea838['YqBkQ'](getCodeceptDriver),_0x513074=new O11yHelper(_0x1f0ad5,_0x50dbbd),_0x1ebfa2=!!CodeceptJS['container'][_0x56cce1(0xd7)](_0x5ea838[_0x56cce1(0x145)]);global[_0x56cce1(0x10a)]=_0x1f0ad5,_0x1f0ad5&&(_0x1ebfa2?_0x5ea838[_0x56cce1(0x157)](patchPlaywrightBefore):_0x5ea838['BahuG'](patchWebDriverBefore,_0x1f0ad5),_0x1f0ad5[_0x56cce1(0x13a)]=async()=>{const _0x37a1c8=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x37a1c8(0x129)](_0x1f0ad5,scripts[_0x37a1c8(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x37a1c8(0x160)]);else return logger[_0x37a1c8(0x10d)](_0x5ea838[_0x37a1c8(0x107)]),{};},_0x1f0ad5['getAccessibilityResults']=async()=>{const _0x23ea7d=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x23ea7d(0x129)](_0x1f0ad5,scripts[_0x23ea7d(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x23ea7d(0xcb)]);else return logger[_0x23ea7d(0x10d)](_0x5ea838[_0x23ea7d(0x118)]),{};},_0x5ea838[_0x56cce1(0xbb)](patchSaveScreenshot,_0x1f0ad5)),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x150)][_0x56cce1(0xf5)],()=>{const _0x276418=_0x56cce1;try{_0x513074['start'](),testOpsHelper[_0x276418(0xd5)]();}catch(_0x59f7de){PerformanceTester[_0x276418(0x140)](_0x59f7de);}}),CodeceptJS[_0x56cce1(0x122)]['dispatcher']['on'](CodeceptJS[_0x56cce1(0x122)]['all']['after'],async()=>{const _0x4388c3=_0x56cce1;try{requestSpy[_0x4388c3(0xfc)](),await _0x513074[_0x4388c3(0xc5)]();}catch(_0x2411f4){PerformanceTester['captureError'](_0x2411f4);}finally{PerformanceTester[_0x4388c3(0x123)]();}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0xe3)][_0x56cce1(0x113)],_0x271a82=>{const _0x28754f=_0x56cce1;try{const _0x1dc503=_0x271a82[_0x28754f(0x104)]['test'],_0x818db5=_0x513074[_0x28754f(0xc4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1dc503);CodeceptRecorder['add'](()=>_0x513074['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x818db5));}catch(_0x3a1b1b){PerformanceTester[_0x28754f(0x140)](_0x3a1b1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['hook']['passed'],_0x41e277=>{const _0x47454e=_0x56cce1;try{const _0xeb54cc=_0x41e277[_0x47454e(0x104)][_0x47454e(0x124)],_0x4c1bf3=_0x513074[_0x47454e(0xc4)](TEST_EVENTS[_0x47454e(0x15e)],_0xeb54cc);CodeceptRecorder[_0x47454e(0xb5)](()=>_0x513074[_0x47454e(0xff)](TEST_EVENTS[_0x47454e(0x15e)],_0x4c1bf3));}catch(_0x101b0e){PerformanceTester[_0x47454e(0x140)](_0x101b0e);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event']['hook'][_0x56cce1(0x10f)],async(_0x3009eb,_0x4673ac)=>{const _0x233dd4=_0x56cce1;try{const _0x356a8c=_0x3009eb[_0x233dd4(0x104)][_0x233dd4(0x124)],_0x371ce0=_0x513074[_0x233dd4(0xc4)](TEST_EVENTS[_0x233dd4(0x15e)],_0x356a8c,_0x4673ac);CodeceptRecorder[_0x233dd4(0xb5)](()=>_0x513074[_0x233dd4(0xff)](TEST_EVENTS[_0x233dd4(0x15e)],_0x371ce0));}catch(_0x4b31a2){PerformanceTester[_0x233dd4(0x140)](_0x4b31a2);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)][_0x56cce1(0xf5)],_0x78f433=>{const _0x4c3e50=_0x56cce1;try{_0x5ea838[_0x4c3e50(0xcc)](isBrowserstackInfra)&&(_0x1ebfa2&&(global[_0x4c3e50(0x103)]={'currentTest':{'name':_0x78f433[_0x4c3e50(0xe7)],'testInfo':{'titlePath':_0x78f433[_0x4c3e50(0xe0)]()}}}));}catch(_0x54c987){PerformanceTester['captureError'](_0x54c987);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x124)][_0x56cce1(0x113)],_0x57ddac=>{const _0x1ba644=_0x56cce1,_0x1c2ed0={'cdLRK':function(_0x55e88e){return _0x5ea838['Cjesi'](_0x55e88e);},'HuYuA':function(_0x1272c4,_0x182349){const _0x504274=a1_0x180b;return _0x5ea838[_0x504274(0xde)](_0x1272c4,_0x182349);},'izEcf':function(_0x490cd4,_0x5bf17f,_0x57c3d0){const _0x4aae64=a1_0x180b;return _0x5ea838[_0x4aae64(0xc7)](_0x490cd4,_0x5bf17f,_0x57c3d0);},'eerot':function(_0x5e2c8e,_0x5e1af1){const _0x12fef1=a1_0x180b;return _0x5ea838[_0x12fef1(0xde)](_0x5e2c8e,_0x5e1af1);}};try{const _0x20696e=_0x513074[_0x1ba644(0xc4)](TEST_EVENTS[_0x1ba644(0xcd)],_0x57ddac);CodeceptRecorder[_0x1ba644(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x1ba644(0xcd)],_0x20696e)),CodeceptRecorder[_0x1ba644(0xb5)](async()=>{const _0x1383ff=_0x1ba644;_0x1c2ed0[_0x1383ff(0x149)](isBrowserstackInfra)&&(!_0x1c2ed0[_0x1383ff(0xf6)](isTrue,_0x50dbbd[_0x1383ff(0x112)])&&await _0x1c2ed0[_0x1383ff(0xc8)](markSessionName,_0x1f0ad5,_0x57ddac[_0x1383ff(0xe7)]),_0x513074['enabled']&&await _0x1c2ed0[_0x1383ff(0x143)](o11ySync,_0x1f0ad5));});}catch(_0xa2c6ed){PerformanceTester[_0x1ba644(0x140)](_0xa2c6ed);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['passed'],_0x7290bd=>{const _0x31a8e4=_0x56cce1,_0x37c6d4={'CKRoz':function(_0x4b3a51){const _0x3fcca2=a1_0x180b;return _0x5ea838[_0x3fcca2(0x11c)](_0x4b3a51);},'FlVSZ':function(_0x4876d7,_0x35b176,_0x4f8f99){const _0x9e6c6c=a1_0x180b;return _0x5ea838[_0x9e6c6c(0xc7)](_0x4876d7,_0x35b176,_0x4f8f99);},'EVZgw':function(_0x108591,_0x595523,_0xf1cea7){return _0x5ea838['HgLzn'](_0x108591,_0x595523,_0xf1cea7);}};try{const _0x1634dd=_0x513074[_0x31a8e4(0xc4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x7290bd);CodeceptRecorder[_0x31a8e4(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x31a8e4(0x11e)],_0x1634dd)),CodeceptRecorder[_0x31a8e4(0xb5)](async()=>{const _0x23eb82=_0x31a8e4;_0x37c6d4[_0x23eb82(0x154)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x37c6d4['FlVSZ'](playwrightMarkSessionStatus,_0x1f0ad5,STATE_PASSED):await _0x37c6d4['EVZgw'](markSessionStatus,_0x1f0ad5,STATE_PASSED));});}catch(_0x43ff1b){PerformanceTester[_0x31a8e4(0x140)](_0x43ff1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['failed'],(_0x9fccf1,_0x11f79a)=>{const _0x44593f=_0x56cce1;try{if(_0x5ea838[_0x44593f(0xd1)](_0x9fccf1[_0x44593f(0x12b)][_0x44593f(0x14a)],_0x5ea838[_0x44593f(0x155)])){const _0x5e6b56=_0x513074[_0x44593f(0xc4)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9fccf1[_0x44593f(0x104)]['currentTest']);CodeceptRecorder[_0x44593f(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x44593f(0x12d)],_0x5e6b56));}else{const _0x4668d7=_0x513074['captureEvent'](TEST_EVENTS[_0x44593f(0x11e)],_0x9fccf1,_0x11f79a);CodeceptRecorder[_0x44593f(0xb5)](()=>{const _0x4b1f98=_0x44593f;try{_0x513074[_0x4b1f98(0xff)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4668d7);}catch(_0x4df1b1){logger[_0x4b1f98(0xf2)](_0x4b1f98(0x153)+util[_0x4b1f98(0x14f)](_0x4df1b1));}}),CodeceptRecorder['add'](async()=>{const _0x253d4b=_0x44593f;try{_0x5ea838[_0x253d4b(0x11c)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x5ea838[_0x253d4b(0x14d)](playwrightMarkSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a):await _0x5ea838[_0x253d4b(0xb8)](markSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a));}catch(_0x5644f5){logger[_0x253d4b(0xf2)](_0x253d4b(0x11d)+util[_0x253d4b(0x14f)](_0x5644f5));}});}}catch(_0x55bb45){PerformanceTester[_0x44593f(0x140)](_0x55bb45);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test']['skipped'],_0x2eed6b=>{const _0x405d1c=_0x56cce1;try{const _0x8c1c2e=_0x513074[_0x405d1c(0xc4)](TEST_EVENTS[_0x405d1c(0x12d)],_0x2eed6b);CodeceptRecorder['add'](()=>_0x513074[_0x405d1c(0xff)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x8c1c2e));}catch(_0x1f6156){PerformanceTester[_0x405d1c(0x140)](_0x1f6156);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test'][_0x56cce1(0xda)],async(_0x2f3e14,_0x1b6fd6)=>{const _0xf81a36=_0x56cce1;try{if(_0x5ea838[_0xf81a36(0x119)](isBrowserstackInfra)){const _0x2bd823=_0x5ea838['fWUKT'](shouldScanTestForAccessibility,_0x2f3e14['titlePath'](),!![]);if(_0x5ea838[_0xf81a36(0xe2)](isAccessibilityAutomationSession)&&global[_0xf81a36(0xdd)]&&_0x2bd823){const _0x286bd4={};_0x286bd4['thTestRunUuid']=_0x2f3e14[_0xf81a36(0x13e)],_0x286bd4['thBuildUuid']=process[_0xf81a36(0xf9)][testHubConstants[_0xf81a36(0x159)][_0xf81a36(0x10c)]],_0x286bd4['thJwtToken']=process[_0xf81a36(0xf9)][testHubConstants['ENV_VAR'][_0xf81a36(0x12e)]];const _0x50a05a=_0x286bd4;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x50a05a)),CodeceptRecorder[_0xf81a36(0xb5)](async()=>{const _0xb2bae1=_0xf81a36;await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x156)]),await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x125)],_0x50a05a);}),logger['info'](_0x5ea838[_0xf81a36(0xfb)]);}}}catch(_0x55fb64){PerformanceTester[_0xf81a36(0x140)](_0x55fb64);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0xdf)][_0x56cce1(0x130)],_0x340c04=>{const _0x2772c4=_0x56cce1;try{process['emit'](_0x2772c4(0xc0)+process[_0x2772c4(0x128)],{'timestamp':new Date()['toISOString'](),'level':_0x5ea838[_0x2772c4(0x138)],'message':_0x340c04,'kind':_0x5ea838['izlhi'],'http_response':{}});}catch(_0x13982b){PerformanceTester[_0x2772c4(0x140)](_0x13982b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)][_0x56cce1(0xf5)],_0x13ff59=>{const _0xd79afb=_0x56cce1;_0x513074[_0xd79afb(0x137)](_0x13ff59);}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)]['after'],_0xb19429=>{const _0x5d7f93=_0x56cce1;_0x513074[_0x5d7f93(0x13f)](_0xb19429);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a1_0x235fe4=a1_0x4c24;function a1_0x313f(){const _0x143357=['hxcDg','FWNav','root','accessibilityOptions','exports','format','isTestObservabilitySession','stringify','isUndefined','6VABTBa','getPlatformName','BjZhb','wKohP','platforms','../../helpers/testhub/utils','slice','addTests','firefox','iDhGb','testConfig','playwright-firefox','vphvx','../../helpers/test-observability/utils','trim','toLowerCase','test','teardownAll','wcxaU','BROWSERSTACK_RERUN_TESTS','JvXIc','webkit','nlmvU','yoKvF','JLwkh','8447553grGJfG','11476392RIKqya','printResults','Workers','chdir','../../helpers/accessibility-automation/helper','passed','title','ZuyNL','log','frameworkName','plugins','codeceptjs','227747Dimoek','jNjxb','dpTOR','gherkin','BROWSERSTACK_RERUN','process','now','forEach','bootstrapAll','246741mcdcmn','testObservability','ZKpdV','mEDWd','cvlvo','desiredCapabilities','env','hzIfR','zCien','mergeDeep','require','Playwright','dGXhh','BrowserStackPlugin','../../helpers/test-observability/sessionHandler','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','prepareCapabilities','errorMessage','codecept.json','CODECEPT','FRAMEWORKS','split','testContextOptions','config','getPlaywrightUrl','skipSessionName','validPlatformsPresent','existsSync','stop','printBuildLink','join','all','profile','BROWSERSTACK_TEST_OBSERVABILITY_YML','uzVSa','enabled','Started\x20:\x20','4eQtJsU','vpzZp','playwright-webkit','useW3C','browserWSEndpoint','../../helpers/helper','browserStackCwd','skipSessionStatus','BrowserStackPlugin.js','PvXaX','YjYAx','addConfig','24iBxYqd','accessibility','path','launchBuild','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/testhub/testhubHandler','dirname','LjCWm','--config','2570785QwzTwd','push','Passed\x20:\x20','WebDriver','20xJXsGk','QAhtW','../../helpers/logger','1870508VVBFtc','false','fMBMs','info','chromium','kHOCe','helpers','browserName','cwd','../utils/constants','190ZKAzJc','null','cKxyt','event','1206726fAndeq','parallelsPerPlatform','isTrue','child_process','handleApp','../../helpers/BrowserStackSetup','failed','browser'];a1_0x313f=function(){return _0x143357;};return a1_0x313f();}(function(_0x491ff0,_0x42057a){const _0x23405c=a1_0x4c24,_0x8877bc=_0x491ff0();while(!![]){try{const _0x4e62a0=parseInt(_0x23405c(0x133))/0x1*(-parseInt(_0x23405c(0xd2))/0x2)+-parseInt(_0x23405c(0x10d))/0x3*(-parseInt(_0x23405c(0xee))/0x4)+parseInt(_0x23405c(0xeb))/0x5*(parseInt(_0x23405c(0xfc))/0x6)+parseInt(_0x23405c(0xe7))/0x7*(-parseInt(_0x23405c(0xde))/0x8)+-parseInt(_0x23405c(0x126))/0x9+-parseInt(_0x23405c(0xf8))/0xa*(-parseInt(_0x23405c(0x13c))/0xb)+parseInt(_0x23405c(0x127))/0xc;if(_0x4e62a0===_0x42057a)break;else _0x8877bc['push'](_0x8877bc['shift']());}catch(_0xd79cee){_0x8877bc['push'](_0x8877bc['shift']());}}}(a1_0x313f,0x98ef1));function a1_0x4c24(_0x2a5111,_0x2c8e32){const _0x313fe5=a1_0x313f();return a1_0x4c24=function(_0x4c2448,_0x20472c){_0x4c2448=_0x4c2448-0xc2;let _0x389814=_0x313fe5[_0x4c2448];return _0x389814;},a1_0x4c24(_0x2a5111,_0x2c8e32);}const fs=require('fs'),path=require(a1_0x235fe4(0xe0)),util=require(a1_0x235fe4(0x14c)),{spawn}=require(a1_0x235fe4(0xff)),process=require(a1_0x235fe4(0x138)),logger=require(a1_0x235fe4(0xed))['winstonLogger'],{default:BrowserStackSetup}=require(a1_0x235fe4(0x101)),helper=require('../../helpers/helper'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a1_0x235fe4(0x12b)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x235fe4(0xd7)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),SessionHandler=require(a1_0x235fe4(0x14a)),testOpsHelper=require(a1_0x235fe4(0x11a)),{shouldProcessEventForTesthub}=require(a1_0x235fe4(0x112)),TestHubHandler=require(a1_0x235fe4(0xe3)),constants=require(a1_0x235fe4(0xf7)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x9adba,_0xbca5a9)=>{const _0x404de8=a1_0x235fe4,_0xa60f10={};_0xa60f10[_0x404de8(0x123)]=function(_0x193970,_0x2f8d4d){return _0x193970===_0x2f8d4d;},_0xa60f10[_0x404de8(0xd3)]='codecept.conf.js',_0xa60f10[_0x404de8(0x140)]=_0x404de8(0x14f);const _0x488211=_0xa60f10;let _0x29a0b7=null;const _0xac06eb={};let _0x1a06e1=_0xbca5a9['findIndex'](_0x85f58b=>_0x85f58b===_0x404de8(0xe6));_0x488211[_0x404de8(0x123)](_0x1a06e1,-0x1)&&(_0x1a06e1=_0xbca5a9['findIndex'](_0x577f40=>_0x577f40==='-c'));if(!helper[_0x404de8(0x10c)](_0x9adba['config'])&&fs[_0x404de8(0xc8)](path['join'](process[_0x404de8(0xf6)](),_0x9adba[_0x404de8(0xc4)])))_0x29a0b7=path[_0x404de8(0xcb)](process[_0x404de8(0xf6)](),_0x9adba[_0x404de8(0xc4)]),_0xbca5a9['slice'](_0x1a06e1,0x2);else{if(!helper[_0x404de8(0x10c)](_0x9adba['c'])&&fs['existsSync'](path[_0x404de8(0xcb)](process[_0x404de8(0xf6)](),_0x9adba['c'])))_0x29a0b7=path['join'](process[_0x404de8(0xf6)](),_0x9adba['c']),_0xbca5a9[_0x404de8(0x113)](_0x1a06e1,0x2);else{if(fs[_0x404de8(0xc8)](path['join'](process[_0x404de8(0xf6)](),_0x488211[_0x404de8(0xd3)])))_0x29a0b7=path[_0x404de8(0xcb)](process[_0x404de8(0xf6)](),_0x488211[_0x404de8(0xd3)]);else fs[_0x404de8(0xc8)](path['join'](process[_0x404de8(0xf6)](),_0x488211[_0x404de8(0x140)]))&&(_0x29a0b7=path[_0x404de8(0xcb)](process[_0x404de8(0xf6)](),_0x488211[_0x404de8(0x140)]));}}return _0x29a0b7;},getO11yRerunPattern=()=>{const _0x22b46b=a1_0x235fe4,_0x1111f2={};_0x1111f2[_0x22b46b(0x135)]=function(_0x29be0a,_0x41f959){return _0x29be0a!==_0x41f959;},_0x1111f2['hzIfR']=_0x22b46b(0xf9);const _0x1a1b50=_0x1111f2,_0x2c6078=helper[_0x22b46b(0xfe)](process[_0x22b46b(0x142)][_0x22b46b(0x137)]);if(_0x2c6078){const _0x21b1e2=process[_0x22b46b(0x142)][_0x22b46b(0x120)],_0x8e9da9=[];if(_0x1a1b50[_0x22b46b(0x135)](_0x21b1e2,_0x1a1b50[_0x22b46b(0x143)])&&!helper['isUndefined'](_0x21b1e2)){_0x21b1e2[_0x22b46b(0xc2)](',')['map'](_0x4bbb5f=>{const _0x1cbb3f=_0x22b46b;_0x8e9da9[_0x1cbb3f(0xe8)]('('+_0x4bbb5f[_0x1cbb3f(0x11b)]()+')');});const _0x4d4f54='^'+_0x8e9da9[_0x22b46b(0xcb)]('|')+'$';return _0x4d4f54;}}return null;},a1_0x11142f={};a1_0x11142f['chrome']=a1_0x235fe4(0xf2),a1_0x11142f['playwright-chromium']='chromium',a1_0x11142f[a1_0x235fe4(0x118)]=a1_0x235fe4(0x115),a1_0x11142f[a1_0x235fe4(0xd4)]=a1_0x235fe4(0x122);const pwToCodeceptBrowser=a1_0x11142f;async function run(_0x584ea2,_0x2f42d5){const _0x9b6d21=a1_0x235fe4,_0x42630e={'QAhtW':function(_0xaa5901,_0x1a650f){return _0xaa5901+_0x1a650f;},'wLxgU':function(_0x19e21e,_0x325ac5){return _0x19e21e(_0x325ac5);},'ZuyNL':function(_0x55a165,_0x37bc72){return _0x55a165+_0x37bc72;},'mEDWd':function(_0x44351d,_0x5f5430,_0x5104c7){return _0x44351d(_0x5f5430,_0x5104c7);},'wKohP':_0x9b6d21(0xc4),'LjCWm':'helpers','wcxaU':function(_0x4a80ae){return _0x4a80ae();},'hxcDg':function(_0x3ee718){return _0x3ee718();},'zCien':'Failed\x20:\x20','fdIVT':_0x9b6d21(0xe9),'FESYw':_0x9b6d21(0xd1),'JLwkh':'4|1|0|3|2','ZKpdV':_0x9b6d21(0x132),'NoROh':function(_0x3d6ad0,_0x23d8f4){return _0x3d6ad0(_0x23d8f4);},'jNjxb':_0x9b6d21(0x14b),'aTJmA':function(_0x67d0fe,_0x32907f,_0x27719d){return _0x67d0fe(_0x32907f,_0x27719d);},'BjZhb':_0x9b6d21(0x147),'PvXaX':_0x9b6d21(0xea),'vphvx':function(_0x17dd93,_0x196d70){return _0x17dd93(_0x196d70);},'YAToF':function(_0x2e3f67,_0xeaba0a){return _0x2e3f67!=_0xeaba0a;},'kHOCe':_0x9b6d21(0xef),'fMBMs':function(_0x54b568,_0x176c14,_0x39f397){return _0x54b568(_0x176c14,_0x39f397);},'XeHeO':_0x9b6d21(0x136),'iDhGb':'-cucumber','cKxyt':function(_0x56f596,_0x371f7b){return _0x56f596(_0x371f7b);},'eWwgU':function(_0x42202a,_0x185207){return _0x42202a*_0x185207;},'JvXIc':'browser','yoKvF':_0x9b6d21(0x141),'uzVSa':function(_0x110e7f,_0x5d1c45,_0x3a6611){return _0x110e7f(_0x5d1c45,_0x3a6611);},'FWNav':_0x9b6d21(0x106),'YjYAx':_0x9b6d21(0xda),'dGXhh':_0x9b6d21(0xd8)},_0x29f64d=new BrowserStackSetup(_0x584ea2,_0x42630e[_0x9b6d21(0x13e)]);await _0x29f64d['initialize'](),await helper[_0x9b6d21(0x100)](_0x29f64d[_0x9b6d21(0xc4)]);if(!_0x29f64d[_0x9b6d21(0xc4)])return;process[_0x9b6d21(0xcd)]=_0x584ea2[_0x9b6d21(0xcd)];_0x584ea2[_0x9b6d21(0xcd)]&&(process[_0x9b6d21(0x142)]['profile']=_0x584ea2[_0x9b6d21(0xcd)]);const _0x5e85ab=_0x42630e[_0x9b6d21(0x13f)](getUserCodeceptJSConfigs,_0x584ea2,_0x2f42d5);let _0x180748={};_0x5e85ab?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x5e85ab),_0x180748=_0x42630e['NoROh'](require,_0x5e85ab)):logger[_0x9b6d21(0xf1)](_0x42630e[_0x9b6d21(0x134)]);let _0x50530c=![];_0x42630e['aTJmA'](nestedKeyValue,_0x180748,[_0x42630e[_0x9b6d21(0x110)],_0x42630e[_0x9b6d21(0xe5)],_0x42630e[_0x9b6d21(0x10f)]])&&(_0x50530c=!![]);const _0x58cbb0=_0x50530c?_0x42630e[_0x9b6d21(0x10f)]:_0x42630e[_0x9b6d21(0xdb)];let _0x514406=!_0x50530c?helper[_0x9b6d21(0xd5)](_0x29f64d[_0x9b6d21(0xc4)]):![];!helper[_0x9b6d21(0x10c)](_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0x107)])&&(process[_0x9b6d21(0x142)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x9b6d21(0x10b)](_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0x107)]));let _0xdeacb3=_0x29f64d['config'][_0x9b6d21(0xdf)];_0xdeacb3=_0xdeacb3||_0x42630e[_0x9b6d21(0x119)](checkAccessibilityPlatformConfig,_0x29f64d[_0x9b6d21(0xc4)]),process['env'][_0x9b6d21(0xe2)]=_0xdeacb3;_0xdeacb3&&(_0x514406=!_0xdeacb3);_0x42630e['YAToF'](_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0x13d)],null)?process[_0x9b6d21(0x142)][_0x9b6d21(0xce)]=_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0x13d)]:process['env'][_0x9b6d21(0xce)]=_0x42630e[_0x9b6d21(0xf3)];const _0x3d25cb=_0x42630e[_0x9b6d21(0xec)](_0x42630e['ZKpdV'],_0x42630e['fMBMs'](nestedKeyValue,_0x180748,[_0x42630e[_0x9b6d21(0x110)],_0x42630e['XeHeO']])?_0x42630e[_0x9b6d21(0x116)]:''),_0x547f6e=await TestHubHandler[_0x9b6d21(0xe1)](_0x3d25cb,_0x29f64d);_0xdeacb3&&_0x42630e[_0x9b6d21(0xfa)](setAccessibilityCapabilities,_0x29f64d['config']);const _0x543ffd={},_0x4ce9b3=[],_0x3af8d2=_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0xfd)]||helper['getUserWorkerCount'](_0x584ea2,_0x2f42d5,_0x29f64d[_0x9b6d21(0xc4)],constants[_0x9b6d21(0x151)][_0x9b6d21(0x150)])||0x1;let _0x161698=0x1;if(_0x42630e[_0x9b6d21(0x104)](isBrowserstackInfra)){const _0x5c580d=helper[_0x9b6d21(0x14d)](_0x29f64d[_0x9b6d21(0xc4)],_0x514406,constants['FRAMEWORKS'][_0x9b6d21(0x150)]);helper[_0x9b6d21(0xc7)](_0x29f64d['config'])?_0x161698=_0x42630e['eWwgU'](_0x3af8d2,_0x29f64d[_0x9b6d21(0xc4)][_0x9b6d21(0x111)]['length']):_0x161698=_0x3af8d2,_0x5c580d[_0x9b6d21(0x13a)](_0xa38c99=>{const _0x3e7cc8=_0x9b6d21,_0x30d086=_0x42630e[_0x3e7cc8(0x12e)](helper[_0x3e7cc8(0x10e)](_0xa38c99,'_'),'_'+Date[_0x3e7cc8(0x139)]()),_0x1b8321=((()=>{const _0x50e32a=_0x3e7cc8;if(_0x50530c){const _0x35365a=pwToCodeceptBrowser[_0xa38c99[_0x50e32a(0xf5)]]||_0xa38c99[_0x50e32a(0xf5)];return{'browser':_0x35365a,[_0x35365a]:{'browserWSEndpoint':_0x42630e[_0x50e32a(0xec)](helper[_0x50e32a(0xc5)](_0x29f64d[_0x50e32a(0xc4)]),_0x42630e['wLxgU'](encodeURIComponent,JSON[_0x50e32a(0x10b)](_0xa38c99)))}};}const _0x2c7243={};return _0x2c7243[_0x50e32a(0x141)]=_0xa38c99,_0x2c7243;})()),_0x1ab6a4=_0x42630e['mEDWd'](nestedKeyValue,_0x180748,[_0x42630e[_0x3e7cc8(0x110)],_0x42630e[_0x3e7cc8(0xe5)],_0x58cbb0]);_0x543ffd[_0x30d086]=_0x1ab6a4?helper['mergeDeep'](_0x1b8321,_0x1ab6a4):_0x1b8321,!_0x50530c&&(_0x543ffd[_0x30d086][_0x3e7cc8(0x103)]=_0xa38c99[_0x3e7cc8(0xf5)]||_0x1b8321[_0x3e7cc8(0x103)]),_0x4ce9b3[_0x3e7cc8(0xe8)](_0x30d086);});}else{_0x161698=0x1;if(_0x50530c){const _0x5f1601=_0x42630e[_0x9b6d21(0x13f)](nestedKeyValue,_0x180748,[_0x42630e['wKohP'],_0x42630e[_0x9b6d21(0xe5)],_0x58cbb0,_0x42630e[_0x9b6d21(0x121)]]),_0x47b036=_0x42630e[_0x9b6d21(0xf0)](nestedKeyValue,_0x180748,[_0x42630e['wKohP'],_0x42630e['LjCWm'],_0x58cbb0,_0x5f1601]);_0x47b036&&_0x47b036[_0x9b6d21(0xd6)]&&(_0x47b036[_0x9b6d21(0xd6)]=helper[_0x9b6d21(0x14d)](null,null,_0x3d25cb[_0x9b6d21(0x11c)](),null,null,_0x47b036['browserWSEndpoint']));}else _0x180748[_0x9b6d21(0xc4)][_0x42630e['LjCWm']][_0x58cbb0][_0x42630e['yoKvF']]=helper['prepareCapabilities'](null,null,_0x3d25cb['toLowerCase'](),_0x42630e[_0x9b6d21(0xcf)](nestedKeyValue,_0x180748,[_0x42630e[_0x9b6d21(0x110)],_0x42630e[_0x9b6d21(0xe5)],_0x58cbb0,_0x42630e[_0x9b6d21(0x124)]]),null,null);_0x543ffd[_0x42630e[_0x9b6d21(0x105)]]=_0x180748[_0x9b6d21(0xc4)],_0x4ce9b3[_0x9b6d21(0xe8)](_0x42630e['FWNav']);}const _0x8c7090={};_0x8c7090[_0x9b6d21(0x117)]=_0x5e85ab;const _0x3d5761=_0x8c7090,_0x20f745=path[_0x9b6d21(0xcb)](__dirname,_0x42630e[_0x9b6d21(0xdc)]),_0x12e6cc=process['cwd']();process[_0x9b6d21(0x142)][_0x42630e[_0x9b6d21(0x148)]]=_0x12e6cc,process[_0x9b6d21(0x12a)](path[_0x9b6d21(0xe4)](_0x5e85ab));const _0x597906=new CodeceptJS[(_0x9b6d21(0x129))](null,_0x3d5761),_0x270351=_0x597906['createGroupsOfSuites'](_0x161698),_0x178340=testOpsHelper[_0x9b6d21(0x10a)](),_0x4715a1=_0x4ce9b3['map'](_0x1cd8a9=>{const _0x48f12f=_0x9b6d21,_0x26a802={};_0x26a802[_0x48f12f(0x147)]=_0x543ffd[_0x1cd8a9];const _0x58d7a8={};_0x58d7a8[_0x48f12f(0xea)]=_0x543ffd[_0x1cd8a9];const _0x235cc0=_0x50530c?_0x26a802:_0x58d7a8,_0x41e233=_0x42630e[_0x48f12f(0x11f)](getO11yRerunPattern),_0x45d98d={};_0x45d98d[_0x48f12f(0xf4)]=_0x235cc0;const _0x22153a={};_0x22153a[_0x48f12f(0x146)]=_0x20f745,_0x22153a[_0x48f12f(0xd0)]=!![],_0x22153a['skipSessionName']=_0x29f64d['config'][_0x48f12f(0xc3)][_0x48f12f(0xc6)],_0x22153a[_0x48f12f(0xd9)]=_0x29f64d[_0x48f12f(0xc4)][_0x48f12f(0xc3)][_0x48f12f(0xd9)],_0x22153a['testObservability']=_0x178340,_0x22153a[_0x48f12f(0x130)]=_0x3d25cb;const _0x4b54eb={};_0x4b54eb[_0x48f12f(0x149)]=_0x22153a;const _0xec96af={};return _0xec96af[_0x48f12f(0x131)]=_0x4b54eb,helper[_0x48f12f(0x145)]({},_0x180748[_0x48f12f(0xc4)],_0x42630e[_0x48f12f(0x104)](isBrowserstackInfra)?_0x45d98d:{},_0x41e233?{'grep':_0x41e233}:{},_0xec96af);});for(const _0x55010b of _0x4715a1){for(const _0x4675b5 of _0x270351){const _0x2e0dee=_0x597906['spawn']();_0x2e0dee[_0x9b6d21(0x114)](_0x4675b5),_0x2e0dee[_0x9b6d21(0xdd)](_0x55010b);}}_0x597906['on'](CodeceptJS[_0x9b6d21(0xfb)][_0x9b6d21(0x11d)][_0x9b6d21(0x102)],(_0x3f025b,_0x4f87fa)=>{const _0x41339d=_0x9b6d21;console[_0x41339d(0x12f)](_0x42630e[_0x41339d(0x144)],_0x3f025b['title']);const _0x3cbcac={[_0x3f025b[_0x41339d(0x12d)]]:_0x3f025b['err']['stack']};_testErrorData[_0x41339d(0xe8)](_0x3cbcac);}),_0x597906['on'](CodeceptJS['event'][_0x9b6d21(0x11d)][_0x9b6d21(0x12c)],async _0x35f8c2=>{const _0x3a9dbc=_0x9b6d21;console['log'](_0x42630e['fdIVT'],_0x35f8c2[_0x3a9dbc(0x12d)]);}),_0x597906['on'](CodeceptJS[_0x9b6d21(0xfb)][_0x9b6d21(0x11d)]['before'],async _0x2cf6da=>{const _0x3b81d2=_0x9b6d21;console['log'](_0x42630e['FESYw'],_0x2cf6da[_0x3b81d2(0x12d)]);}),_0x597906['on'](CodeceptJS['event'][_0x9b6d21(0xcc)]['result'],async()=>{const _0x5a07a9=_0x9b6d21,_0x28c06c=_0x42630e[_0x5a07a9(0x125)]['split']('|');let _0x5e9be5=0x0;while(!![]){switch(_0x28c06c[_0x5e9be5++]){case'0':helper['finalExecution'](_0x29f64d);continue;case'1':testOpsHelper[_0x5a07a9(0xca)]();continue;case'2':_0x597906[_0x5a07a9(0x128)]();continue;case'3':try{await TestHubHandler[_0x5a07a9(0xc9)]();}catch(_0x20f3aa){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5a07a9(0x109)](_0x20f3aa));}continue;case'4':_0x29f64d[_0x5a07a9(0x14e)]=_testErrorData;continue;}break;}});async function _0x53ac3c(){const _0x121cb6=_0x9b6d21;try{await _0x597906[_0x121cb6(0x13b)](),await _0x597906['run']();}finally{process[_0x121cb6(0x12a)](_0x12e6cc),await _0x597906[_0x121cb6(0x11e)]();}}_0x42630e[_0x9b6d21(0x11f)](_0x53ac3c);}module[a1_0x235fe4(0x108)]=run;
|
|
2
|
+
'use strict';const a2_0x45ffcb=a2_0x342b;(function(_0x46b1d0,_0x3e1377){const _0x53b7b8=a2_0x342b,_0x5df8ff=_0x46b1d0();while(!![]){try{const _0x3cfcdf=parseInt(_0x53b7b8(0x97))/0x1*(parseInt(_0x53b7b8(0x83))/0x2)+parseInt(_0x53b7b8(0x100))/0x3+parseInt(_0x53b7b8(0x102))/0x4+-parseInt(_0x53b7b8(0xe2))/0x5+-parseInt(_0x53b7b8(0xea))/0x6+parseInt(_0x53b7b8(0xba))/0x7+-parseInt(_0x53b7b8(0x96))/0x8;if(_0x3cfcdf===_0x3e1377)break;else _0x5df8ff['push'](_0x5df8ff['shift']());}catch(_0x1da368){_0x5df8ff['push'](_0x5df8ff['shift']());}}}(a2_0x37f0,0xee765));function a2_0x342b(_0x539057,_0x368671){const _0x37f019=a2_0x37f0();return a2_0x342b=function(_0x342b3c,_0x11273e){_0x342b3c=_0x342b3c-0x83;let _0x512580=_0x37f019[_0x342b3c];return _0x512580;},a2_0x342b(_0x539057,_0x368671);}const fs=require('fs'),path=require('path'),util=require(a2_0x45ffcb(0xb7)),{spawn}=require('child_process'),process=require(a2_0x45ffcb(0xb8)),logger=require(a2_0x45ffcb(0xae))[a2_0x45ffcb(0x115)],{default:BrowserStackSetup}=require(a2_0x45ffcb(0x113)),helper=require(a2_0x45ffcb(0xfc)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a2_0x45ffcb(0x87)),{setAccessibilityCapabilities}=require(a2_0x45ffcb(0x89)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x45ffcb(0xfc)),CodeceptJS=requireModule(a2_0x45ffcb(0xc2)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),testOpsHelper=require(a2_0x45ffcb(0x106)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x45ffcb(0xc8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x50672a,_0x384c50)=>{const _0x212a95=a2_0x45ffcb,_0x305924={};_0x305924[_0x212a95(0x8c)]=function(_0x2af34d,_0x43d3fe){return _0x2af34d===_0x43d3fe;},_0x305924[_0x212a95(0xe5)]=_0x212a95(0xd3),_0x305924[_0x212a95(0xd9)]=_0x212a95(0xcd);const _0x48e894=_0x305924;let _0x311903=null;const _0x3bf438={};let _0x5d520a=_0x384c50['findIndex'](_0x426b23=>_0x426b23===_0x212a95(0xc9));_0x48e894['TkPEk'](_0x5d520a,-0x1)&&(_0x5d520a=_0x384c50[_0x212a95(0xa6)](_0x131e2d=>_0x131e2d==='-c'));if(!helper[_0x212a95(0xf4)](_0x50672a[_0x212a95(0x10d)])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)]),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(!helper[_0x212a95(0xf4)](_0x50672a['c'])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a['c'])))_0x311903=path[_0x212a95(0xf6)](process['cwd'](),_0x50672a['c']),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(fs[_0x212a95(0x8a)](path['join'](process['cwd'](),_0x48e894[_0x212a95(0xe5)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['jMJYM']);else fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894[_0x212a95(0xd9)]))&&(_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['anQOS']));}}return _0x311903;},getO11yRerunPattern=()=>{const _0x11dfba=a2_0x45ffcb,_0x4d9f1e={};_0x4d9f1e['UHSQK']=function(_0x17f462,_0x211187){return _0x17f462!==_0x211187;},_0x4d9f1e[_0x11dfba(0xce)]=_0x11dfba(0xbc);const _0xf31598=_0x4d9f1e,_0x240839=helper[_0x11dfba(0xbf)](process[_0x11dfba(0xaf)]['BROWSERSTACK_RERUN']);if(_0x240839){const _0x35c2d8=process[_0x11dfba(0xaf)][_0x11dfba(0xc4)],_0x4ba780=[];if(_0xf31598[_0x11dfba(0x85)](_0x35c2d8,_0xf31598[_0x11dfba(0xce)])&&!helper[_0x11dfba(0xf4)](_0x35c2d8)){_0x35c2d8[_0x11dfba(0xa3)](',')['map'](_0x35dcdd=>{const _0x4dc5e5=_0x11dfba;_0x4ba780[_0x4dc5e5(0xd7)]('('+_0x35dcdd['trim']()+')');});const _0x1612e8='^'+_0x4ba780['join']('|')+'$';return _0x1612e8;}}return null;},a2_0x46266b={};a2_0x46266b[a2_0x45ffcb(0x108)]='chromium',a2_0x46266b[a2_0x45ffcb(0x8d)]=a2_0x45ffcb(0xdb),a2_0x46266b['playwright-firefox']=a2_0x45ffcb(0xb5),a2_0x46266b[a2_0x45ffcb(0xc6)]='webkit';const pwToCodeceptBrowser=a2_0x46266b;async function run(_0x6a8821,_0x5a79ca){const _0x48868f=a2_0x45ffcb,_0x29476c={'MUInV':function(_0x53843e,_0x27dacc){return _0x53843e+_0x27dacc;},'YeDcg':function(_0x6f5569,_0x42d53f){return _0x6f5569(_0x42d53f);},'jECbO':function(_0x1d6b61,_0x11e6f7){return _0x1d6b61+_0x11e6f7;},'qzftw':function(_0x3c6d37,_0x2ea7d9,_0x30d16f){return _0x3c6d37(_0x2ea7d9,_0x30d16f);},'HwQJw':'config','TzCBr':_0x48868f(0xb3),'vsUqy':function(_0x3f76f5){return _0x3f76f5();},'rGRgk':_0x48868f(0x112),'pYdpC':_0x48868f(0xe0),'oeIli':'Started\x20:\x20','TCWpk':_0x48868f(0xcb),'fvNWj':_0x48868f(0x8e),'XrEYV':function(_0x55259a,_0x3a3b30,_0x15dec6){return _0x55259a(_0x3a3b30,_0x15dec6);},'fjSfv':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','dpJOm':_0x48868f(0xfe),'agFqW':_0x48868f(0x101),'jDVVf':function(_0x4c5591,_0x221462){return _0x4c5591(_0x221462);},'mFgoj':function(_0x2088e2,_0xbd3dd8){return _0x2088e2!=_0xbd3dd8;},'CrXdI':_0x48868f(0x95),'hWqgw':function(_0x2e544d,_0x2445ff){return _0x2e544d+_0x2445ff;},'RMrDQ':_0x48868f(0xec),'vfrDY':'-cucumber','jAyRW':function(_0x579990){return _0x579990();},'VXRiP':function(_0x483b48,_0x466a3b){return _0x483b48*_0x466a3b;},'otKHg':'browser','jnYFc':function(_0x17f8ac,_0x1c95b1,_0x169972){return _0x17f8ac(_0x1c95b1,_0x169972);},'PdEPR':_0x48868f(0xcf),'bvKeY':function(_0x3ca843,_0x591003,_0x50b395){return _0x3ca843(_0x591003,_0x50b395);},'gbHnu':_0x48868f(0xb6),'HQaJu':_0x48868f(0xa1),'LpiUt':'browserStackCwd','kqfEv':function(_0x5f4c8b){return _0x5f4c8b();}},_0xaca9b8=new BrowserStackSetup(_0x6a8821,_0x29476c[_0x48868f(0x91)]);await _0xaca9b8['initialize'](),await helper[_0x48868f(0x9f)](_0xaca9b8['config']);if(!_0xaca9b8[_0x48868f(0x10d)])return;process['profile']=_0x6a8821[_0x48868f(0xfa)];_0x6a8821[_0x48868f(0xfa)]&&(process[_0x48868f(0xaf)][_0x48868f(0xfa)]=_0x6a8821[_0x48868f(0xfa)]);const _0x3d587a=_0x29476c[_0x48868f(0x116)](getUserCodeceptJSConfigs,_0x6a8821,_0x5a79ca);let _0x3b8cb2={};_0x3d587a?(logger[_0x48868f(0xd5)](_0x48868f(0x104)+_0x3d587a),_0x3b8cb2=_0x29476c[_0x48868f(0xf7)](require,_0x3d587a)):logger[_0x48868f(0xd5)](_0x29476c['fjSfv']);let _0x782cfe=![];_0x29476c[_0x48868f(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x29476c[_0x48868f(0xd6)]])&&(_0x782cfe=!![]);const _0x2174e1=_0x782cfe?_0x29476c[_0x48868f(0xd6)]:_0x29476c['agFqW'];let _0x31f80e=!_0x782cfe?helper[_0x48868f(0xc0)](_0xaca9b8[_0x48868f(0x10d)]):![];!helper[_0x48868f(0xf4)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x48868f(0xdf)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)]));let _0x52fb73=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xb9)];_0x52fb73=_0x52fb73||_0x29476c[_0x48868f(0x117)](checkAccessibilityPlatformConfig,_0xaca9b8['config']),process[_0x48868f(0xaf)][_0x48868f(0x9a)]=_0x52fb73;_0x52fb73&&(_0x31f80e=!_0x52fb73);_0x29476c[_0x48868f(0xa7)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)],null)?process[_0x48868f(0xaf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)]:process[_0x48868f(0xaf)][_0x48868f(0x9d)]=_0x29476c[_0x48868f(0x111)];const _0x4e915d=_0x29476c['hWqgw'](_0x29476c[_0x48868f(0x91)],_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xac)]])?_0x29476c[_0x48868f(0xb0)]:''),_0x4a8f2e=await TestHubHandler['launchBuild'](_0x4e915d,_0xaca9b8);_0x52fb73&&_0x29476c[_0x48868f(0xf7)](setAccessibilityCapabilities,_0xaca9b8[_0x48868f(0x10d)]);const _0x4694a3={},_0x41362f=[],_0x1a4571=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xf8)]||helper[_0x48868f(0x92)](_0x6a8821,_0x5a79ca,_0xaca9b8[_0x48868f(0x10d)],constants[_0x48868f(0xc3)]['CODECEPT'])||0x1;let _0x35a91b=0x1;if(_0x29476c[_0x48868f(0xda)](isBrowserstackInfra)){const _0x3c4edb=helper[_0x48868f(0xbd)](_0xaca9b8[_0x48868f(0x10d)],_0x31f80e,constants[_0x48868f(0xc3)][_0x48868f(0x9c)]);helper[_0x48868f(0xee)](_0xaca9b8['config'])?_0x35a91b=_0x29476c[_0x48868f(0xd8)](_0x1a4571,_0xaca9b8['config'][_0x48868f(0xe6)][_0x48868f(0xf5)]):_0x35a91b=_0x1a4571,_0x3c4edb[_0x48868f(0xf2)](_0x297a83=>{const _0x51a51c=_0x48868f,_0x3cff66={'nvyqX':function(_0x2f12f3,_0x422500){const _0x1af69c=a2_0x342b;return _0x29476c[_0x1af69c(0x88)](_0x2f12f3,_0x422500);},'YKEIv':function(_0x320cbe,_0x2b822f){const _0x2e2296=a2_0x342b;return _0x29476c[_0x2e2296(0xf7)](_0x320cbe,_0x2b822f);}},_0x198c9d=_0x29476c['jECbO'](helper[_0x51a51c(0x107)](_0x297a83,'_'),'_'+Date[_0x51a51c(0x10c)]()),_0xa4ed28=((()=>{const _0x1eb34b=_0x51a51c;if(_0x782cfe){const _0x5440ec=pwToCodeceptBrowser[_0x297a83['browserName']]||_0x297a83['browserName'];return{'browser':_0x5440ec,[_0x5440ec]:{'browserWSEndpoint':_0x3cff66[_0x1eb34b(0xe3)](helper[_0x1eb34b(0x98)](_0xaca9b8[_0x1eb34b(0x10d)]),_0x3cff66[_0x1eb34b(0xbb)](encodeURIComponent,JSON[_0x1eb34b(0xdf)](_0x297a83)))}};}const _0x16b6f4={};return _0x16b6f4[_0x1eb34b(0xcf)]=_0x297a83,_0x16b6f4;})()),_0x456741=_0x29476c[_0x51a51c(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x51a51c(0xeb)],_0x29476c['TzCBr'],_0x2174e1]);_0x4694a3[_0x198c9d]=_0x456741?helper['mergeDeep'](_0xa4ed28,_0x456741):_0xa4ed28,!_0x782cfe&&(_0x4694a3[_0x198c9d][_0x51a51c(0xbe)]=_0x297a83[_0x51a51c(0xf1)]||_0xa4ed28['browser']),_0x41362f[_0x51a51c(0xd7)](_0x198c9d);});}else{_0x35a91b=0x1;if(_0x782cfe){const _0x565e2a=_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf0)]]),_0x1e6d16=_0x29476c[_0x48868f(0x103)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x565e2a]);_0x1e6d16&&_0x1e6d16[_0x48868f(0xdc)]&&(_0x1e6d16[_0x48868f(0xdc)]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),null,null,_0x1e6d16[_0x48868f(0xdc)]));}else _0x3b8cb2[_0x48868f(0x10d)][_0x29476c['TzCBr']][_0x2174e1][_0x29476c[_0x48868f(0xf3)]]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),_0x29476c[_0x48868f(0x10f)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf3)]]),null,null);_0x4694a3[_0x29476c[_0x48868f(0x10e)]]=_0x3b8cb2[_0x48868f(0x10d)],_0x41362f[_0x48868f(0xd7)](_0x29476c[_0x48868f(0x10e)]);}const _0x2abfe3={};_0x2abfe3[_0x48868f(0x94)]=_0x3d587a;const _0x3cbaf8=_0x2abfe3,_0x481cff=path['join'](__dirname,_0x29476c[_0x48868f(0xe9)]),_0x6adf73=process['cwd']();process[_0x48868f(0xaf)][_0x29476c[_0x48868f(0x9b)]]=_0x6adf73,process[_0x48868f(0xcc)](path[_0x48868f(0xff)](_0x3d587a));const _0x2c3347=new CodeceptJS['Workers'](null,_0x3cbaf8),_0x3a2e4f=_0x2c3347[_0x48868f(0x10a)](_0x35a91b),_0x2051af=testOpsHelper[_0x48868f(0x8b)](),_0x36affe=_0x41362f[_0x48868f(0xc5)](_0x57dd3f=>{const _0x3ee6ff=_0x48868f,_0xa64f08={};_0xa64f08[_0x3ee6ff(0xfe)]=_0x4694a3[_0x57dd3f];const _0x1d36cd={};_0x1d36cd[_0x3ee6ff(0x101)]=_0x4694a3[_0x57dd3f];const _0x2973ef=_0x782cfe?_0xa64f08:_0x1d36cd,_0x360ce5=_0x29476c[_0x3ee6ff(0xa8)](getO11yRerunPattern),_0x77e54a={};_0x77e54a['helpers']=_0x2973ef;const _0x20ac07={};_0x20ac07[_0x3ee6ff(0xa9)]=_0x481cff,_0x20ac07[_0x3ee6ff(0xe7)]=!![],_0x20ac07[_0x3ee6ff(0xd2)]=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xd2)],_0x20ac07['skipSessionStatus']=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xe8)],_0x20ac07['testObservability']=_0x2051af,_0x20ac07[_0x3ee6ff(0xd4)]=_0x4e915d;const _0x1350f0={};_0x1350f0[_0x3ee6ff(0xa4)]=_0x20ac07;const _0x30d573={};return _0x30d573[_0x3ee6ff(0x90)]=_0x1350f0,helper[_0x3ee6ff(0x114)]({},_0x3b8cb2['config'],_0x29476c[_0x3ee6ff(0xa8)](isBrowserstackInfra)?_0x77e54a:{},_0x360ce5?{'grep':_0x360ce5}:{},_0x30d573);});for(const _0x441091 of _0x36affe){for(const _0x320464 of _0x3a2e4f){const _0x3fa025=_0x2c3347['spawn']();_0x3fa025[_0x48868f(0xde)](_0x320464),_0x3fa025[_0x48868f(0xa2)](_0x441091);}}_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xf9)],(_0xe64e44,_0x3c82e6)=>{const _0x4e8706=_0x48868f;console['log'](_0x29476c[_0x4e8706(0xca)],_0xe64e44[_0x4e8706(0xb4)]);const _0x42629a={[_0xe64e44[_0x4e8706(0xb4)]]:_0xe64e44[_0x4e8706(0x8f)][_0x4e8706(0x93)]};_testErrorData[_0x4e8706(0xd7)](_0x42629a);}),_0x2c3347['on'](CodeceptJS['event']['test'][_0x48868f(0xd0)],async _0x3427e4=>{const _0x198921=_0x48868f;console[_0x198921(0xab)](_0x29476c[_0x198921(0xd1)],_0x3427e4[_0x198921(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xaa)],async _0x371753=>{const _0x46bc1e=_0x48868f;console[_0x46bc1e(0xab)](_0x29476c[_0x46bc1e(0x110)],_0x371753[_0x46bc1e(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)][_0x48868f(0x9e)][_0x48868f(0xed)],async()=>{const _0x2a0592=_0x48868f,_0xf22aa4=_0x29476c[_0x2a0592(0x10b)][_0x2a0592(0xa3)]('|');let _0x25e2a9=0x0;while(!![]){switch(_0xf22aa4[_0x25e2a9++]){case'0':_0x2c3347[_0x2a0592(0xfb)]();continue;case'1':_0xaca9b8['errorMessage']=_testErrorData;continue;case'2':testOpsHelper[_0x2a0592(0xa5)]();continue;case'3':helper['finalExecution'](_0xaca9b8);continue;case'4':try{await TestHubHandler[_0x2a0592(0x109)]();}catch(_0x148bab){logger[_0x2a0592(0x99)](_0x2a0592(0xdd)+util[_0x2a0592(0xe4)](_0x148bab));}continue;}break;}});async function _0xa3331f(){const _0x16dbde=_0x48868f;try{await _0x2c3347[_0x16dbde(0x86)](),await _0x2c3347['run']();}finally{process[_0x16dbde(0xcc)](_0x6adf73),await _0x2c3347[_0x16dbde(0xef)]();}}_0x29476c[_0x48868f(0xc7)](_0xa3331f);}function a2_0x37f0(){const _0x1aeeba=['isUndefined','length','join','YeDcg','parallelsPerPlatform','failed','profile','printResults','../../helpers/helper','slice','Playwright','dirname','4882872PeknrM','WebDriver','6688416qeRySm','jnYFc','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','accessibilityOptions','../../helpers/test-observability/utils','getPlatformName','chrome','stop','createGroupsOfSuites','TCWpk','now','config','gbHnu','bvKeY','oeIli','CrXdI','Failed\x20:\x20','../../helpers/BrowserStackSetup','mergeDeep','winstonLogger','XrEYV','jDVVf','8Pgzdqm','testObservability','UHSQK','bootstrapAll','../../helpers/accessibility-automation/helper','MUInV','../../bin/playwright/accessibility-helper','existsSync','isTestObservabilitySession','TkPEk','playwright-chromium','codeceptjs','err','plugins','fvNWj','getUserWorkerCount','stack','testConfig','false','7108800QaPgAp','181761epTLCn','getPlaywrightUrl','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LpiUt','CODECEPT','BROWSERSTACK_TEST_OBSERVABILITY_YML','all','handleApp','event','BrowserStackPlugin.js','addConfig','split','BrowserStackPlugin','printBuildLink','findIndex','mFgoj','vsUqy','require','before','log','RMrDQ','toLowerCase','../../helpers/logger','env','vfrDY','testContextOptions','qzftw','helpers','title','firefox','root','util','process','accessibility','1295406FfHSRX','YKEIv','null','prepareCapabilities','browser','isTrue','useW3C','TzCBr','codeceptjs/lib/index.js','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','map','playwright-webkit','kqfEv','../utils/constants','--config','rGRgk','1|2|3|4|0','chdir','codecept.json','GAZhY','desiredCapabilities','passed','pYdpC','skipSessionName','codecept.conf.js','frameworkName','info','dpJOm','push','VXRiP','anQOS','jAyRW','chromium','browserWSEndpoint','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','addTests','stringify','Passed\x20:\x20','cwd','2787090GqZNDI','nvyqX','format','jMJYM','platforms','enabled','skipSessionStatus','HQaJu','10734426OZPMmd','HwQJw','gherkin','result','validPlatformsPresent','teardownAll','otKHg','browserName','forEach','PdEPR'];a2_0x37f0=function(){return _0x1aeeba;};return a2_0x37f0();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x276329=a3_0x1264;function a3_0x382e(){const _0x226b1a=['includes','YVZwE','name','rTMsL','accessibilityPlatform','winstonLogger','appium:app','bsSessionId','RgntI','KNdtA','21nPkxPN','kjooz','tsYkC','192yOuerg','987056kOxKBK','MkRsp','WExcS','CAYQm','AbFkN','bstack:options','../../bin/playwright/sessionDetails','browserName','ewmgS','browser_version','ARUwp','qIkGa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/accessibility-automation/helper','KgKKk','constructor','EBoJk','VeSxK','WebDriver','platform_version','platform','caps','chrome','os_version','HkdSP','config','processWebDriverConfig','capabilities','browserstack_executor','osVersion','platformName','JsNtI','15210sNJKoS','warn','desiredCapabilities','app-automate','parse','12570998aPJhPK','cloudProvider','Fvpdm','CQtxc','../../helpers/logger','PlIgS','shouldPatchExecuteScript','33640zvGcri','SSpKd','browserVersion','browserstack','WUZWe','1197WeFnxj','unknown_grid','JivGP','1558712lkJeUG','3TvQvDg','deviceName','veIkS','Playwright','zrjSa','get','wFIud','YihCN','playwright-chromium','JZGEF','platformVersion','OkKXn','sessionId','../../helpers/helper','580518XQKbtp','739228odmWRO','latest','aqrcO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fetchPlatformDetails','__cloud_provider___','browser','browserWSEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a3_0x382e=function(){return _0x226b1a;};return a3_0x382e();}(function(_0x621c06,_0x29b1a6){const _0x406952=a3_0x1264,_0x598384=_0x621c06();while(!![]){try{const _0x5b1b2f=parseInt(_0x406952(0x10f))/0x1+-parseInt(_0x406952(0x110))/0x2+parseInt(_0x406952(0x101))/0x3*(parseInt(_0x406952(0x127))/0x4)+parseInt(_0x406952(0xf8))/0x5*(parseInt(_0x406952(0x126))/0x6)+-parseInt(_0x406952(0x123))/0x7*(-parseInt(_0x406952(0x100))/0x8)+-parseInt(_0x406952(0xfd))/0x9*(-parseInt(_0x406952(0xec))/0xa)+-parseInt(_0x406952(0xf1))/0xb;if(_0x5b1b2f===_0x29b1a6)break;else _0x598384['push'](_0x598384['shift']());}catch(_0x6807a8){_0x598384['push'](_0x598384['shift']());}}}(a3_0x382e,0x4d61c));function a3_0x1264(_0x1695ad,_0x3f7211){const _0x382e3b=a3_0x382e();return a3_0x1264=function(_0x1264ae,_0x211861){_0x1264ae=_0x1264ae-0xe5;let _0x5f2aa8=_0x382e3b[_0x1264ae];return _0x5f2aa8;},a3_0x1264(_0x1695ad,_0x3f7211);}const {isUndefined,nestedKeyValue}=require(a3_0x276329(0x10e)),logger=require(a3_0x276329(0xf5))[a3_0x276329(0x11e)],PlaywrightSessionDetails=require(a3_0x276329(0x12d)),{isAccessibilityAutomationSession}=require(a3_0x276329(0x134)),getOSVersionFromCaps=_0x1787d3=>{const _0x5e363e=a3_0x276329,_0x4b0aa1={};_0x4b0aa1[_0x5e363e(0x12b)]=_0x5e363e(0x12c),_0x4b0aa1[_0x5e363e(0x11a)]=_0x5e363e(0x10b),_0x4b0aa1[_0x5e363e(0x132)]=_0x5e363e(0x13a),_0x4b0aa1[_0x5e363e(0x10a)]=_0x5e363e(0xe9),_0x4b0aa1[_0x5e363e(0xf4)]=_0x5e363e(0x13e);const _0x54bd8d=_0x4b0aa1;if(!_0x1787d3)return null;const _0x4e691d=_0x1787d3[_0x54bd8d[_0x5e363e(0x12b)]],_0x5af8a0=[_0x54bd8d[_0x5e363e(0x11a)],_0x54bd8d[_0x5e363e(0x132)],_0x54bd8d[_0x5e363e(0x10a)],_0x54bd8d[_0x5e363e(0xf4)]];for(const _0x48d889 of _0x5af8a0){if(_0x4e691d&&_0x4e691d[_0x48d889])return _0x4e691d[_0x48d889];else{if(_0x1787d3[_0x48d889])return _0x1787d3[_0x48d889];}}return null;};exports[a3_0x276329(0x114)]=_0x8b1595=>{const _0x435791=a3_0x276329,_0x784b80={'YihCN':_0x435791(0xfe),'Fvpdm':function(_0x25481a,_0x1e0594){return _0x25481a===_0x1e0594;},'JivGP':_0x435791(0x139),'wFIud':function(_0x59bdf1,_0x4a3ef3){return _0x59bdf1(_0x4a3ef3);},'RgntI':function(_0x5b07da,_0x5c7b32,_0xd51ae){return _0x5b07da(_0x5c7b32,_0xd51ae);},'JsNtI':_0x435791(0xe5),'SSpKd':_0x435791(0xee),'VeSxK':_0x435791(0xfb),'ewmgS':_0x435791(0x11f),'CAYQm':'app','zrjSa':_0x435791(0xef),'WUZWe':'automate','zZfRT':function(_0x5821e8,_0x282e24){return _0x5821e8===_0x282e24;},'aqrcO':_0x435791(0x104),'rTMsL':function(_0x38600d,_0x8761e,_0x380f6f){return _0x38600d(_0x8761e,_0x380f6f);},'wwiaI':_0x435791(0x116),'veIkS':_0x435791(0x117),'EBoJk':_0x435791(0x13c)};if(!_0x8b1595)return null;let _0x574a3d=global[_0x435791(0x115)]||_0x784b80[_0x435791(0x108)];if(_0x784b80[_0x435791(0xf3)](_0x8b1595[_0x435791(0x136)][_0x435791(0x11b)],_0x784b80[_0x435791(0xff)])){const _0x2d016e=_0x8b1595[_0x435791(0x116)];if(!_0x2d016e)return null;const _0x841af3=_0x2d016e[_0x435791(0xe7)],_0x320f9a=_0x784b80[_0x435791(0x107)](getOSVersionFromCaps,_0x784b80[_0x435791(0x121)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80[_0x435791(0xf9)]]));return{[_0x574a3d]:{'browser':_0x841af3[_0x435791(0x12e)],'browser_version':_0x841af3[_0x435791(0xfa)],'capabilities':_0x841af3,'platform':_0x841af3[_0x435791(0xea)],'platform_version':_0x841af3[_0x435791(0x10b)]||_0x320f9a,'product':_0x784b80['Fvpdm'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x841af3[_0x784b80['ewmgS']]||_0x841af3[_0x784b80[_0x435791(0x12a)]]?_0x784b80['zrjSa']:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x2d016e[_0x435791(0x10d)]}};}else{if(_0x784b80['zZfRT'](_0x8b1595['constructor'][_0x435791(0x11b)],_0x784b80[_0x435791(0x112)])){const _0x5c9fbd=PlaywrightSessionDetails['getDetails']();_0x574a3d=_0x5c9fbd[_0x435791(0xf2)]||_0x574a3d;const _0x5ce6e6=_0x784b80[_0x435791(0x11c)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80['wwiaI'],_0x784b80[_0x435791(0x103)]]),_0x59db5f=_0x5ce6e6?JSON[_0x435791(0xf0)](new URL(_0x5ce6e6)['searchParams'][_0x435791(0x106)](_0x784b80[_0x435791(0x137)])):{};return{[_0x574a3d]:{'browser':_0x5c9fbd[_0x435791(0x116)]||_0x59db5f[_0x435791(0x12e)],'browser_version':_0x5c9fbd[_0x435791(0x130)]||_0x59db5f[_0x435791(0x130)],'capabilities':_0x59db5f,'platform':_0x5c9fbd[_0x435791(0x13b)],'platform_version':_0x5c9fbd['platform_version'],'product':_0x784b80['zZfRT'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x59db5f[_0x784b80[_0x435791(0x12f)]]||_0x59db5f[_0x784b80['CAYQm']]?_0x784b80[_0x435791(0x105)]:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x5c9fbd[_0x435791(0x120)]}};}}},exports[a3_0x276329(0xe6)]=_0xd7c6b7=>{const _0x2f62d0=a3_0x276329,_0x4e55a1={'WExcS':function(_0x330305){return _0x330305();},'tsYkC':function(_0x4e424b,_0x48251f){return _0x4e424b===_0x48251f;},'ARUwp':_0x2f62d0(0x111),'kjooz':function(_0x5a177d,_0x318965){return _0x5a177d>_0x318965;},'HkdSP':function(_0x62de2f,_0x47f376){return _0x62de2f(_0x47f376);},'KgKKk':_0x2f62d0(0x113),'PlIgS':_0x2f62d0(0x13d),'TpNNn':function(_0x26d363,_0x287629){return _0x26d363===_0x287629;},'WmOgH':_0x2f62d0(0x109),'bQjZa':_0x2f62d0(0x118),'KNdtA':_0x2f62d0(0x133)};if(_0x4e55a1[_0x2f62d0(0x129)](isAccessibilityAutomationSession)){const _0x4fd5d4=_0xd7c6b7[_0x2f62d0(0x116)],_0xfa09a0=_0x4fd5d4['capabilities'];global['accessibilityPlatform']=!![],!(_0x4e55a1[_0x2f62d0(0x125)](_0xfa09a0[_0x2f62d0(0xfa)],_0x4e55a1[_0x2f62d0(0x131)])||_0x4e55a1[_0x2f62d0(0x124)](_0x4e55a1[_0x2f62d0(0x13f)](parseInt,_0xfa09a0['browserVersion']),0x5e))&&(logger[_0x2f62d0(0xed)](_0x4e55a1[_0x2f62d0(0x135)]),global[_0x2f62d0(0x11d)]=![]),!(_0x4e55a1['tsYkC'](_0xfa09a0[_0x2f62d0(0x12e)],_0x4e55a1[_0x2f62d0(0xf6)])||_0x4e55a1['TpNNn'](_0xfa09a0['browserName'],_0x4e55a1['WmOgH']))&&(logger['warn'](_0x4e55a1['bQjZa']),global[_0x2f62d0(0x11d)]=![]),!_0x4e55a1[_0x2f62d0(0x13f)](isUndefined,_0xfa09a0[_0x2f62d0(0x102)])&&(logger['warn'](_0x4e55a1[_0x2f62d0(0x122)]),global[_0x2f62d0(0x11d)]=![]);}},exports[a3_0x276329(0xf7)]=_0x348e60=>{const _0x508af4=a3_0x276329,_0x4df922={};_0x4df922[_0x508af4(0x128)]=_0x508af4(0xe8),_0x4df922['OkKXn']='browserstack_accessibility_automation_script';const _0x5551c3=_0x4df922;if(!_0x348e60)return![];return!_0x348e60[_0x508af4(0x119)](_0x5551c3['MkRsp'])&&!_0x348e60[_0x508af4(0x119)](_0x5551c3[_0x508af4(0x10c)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x4deaf7=a3_0xd416;function a3_0x2b4f(){const _0x342a1e=['Efocz','result','feature','_beforeAll','passed','relative','OnWoy','FSmYd','pid','getHierarchy','ppLmr','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/accessibility-helper','inspect','javascript','vaSTt','_afterAll','test_run_uuid','266316SBmFZU','length','prototype','1856kPjzmA','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','cObxY','defineProperty','initializeBddStep','LXyMg','startedAt','_testEnv','markedStatus','ctx','backtrace','testAnalyticsId','iTIdU','bs:addLog:','bFMhd','TestRunStarted','_beforeEach','FBwtU','file','toUpperCase','sep','toLowerCase','Slmuw','GQWiQ','getCBTInfo','yzjTO','LzgQg','sQEgx','RgPqi','enabled','apply','MJsqq','TestRunFinished','TEST_RUN_FINISHED','BrowserType','sendCBTInfo','currentHook','AhaBQ','type','\x20with\x20error\x20:\x20','stepAnalyticsId','lib','getInstance','util','toString','string','keyword','lHhTs','Iujfg','tSfYG','xfwqx','RwyYY','ALUaQ','logs','lRlpU','frameworkName','hook','getHooksForTest','../../helpers/helper','location_prefix','EbcUO','Playwright','replace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','path','currentTest','getTime','captureEvent','SqfRC','errorsDetailed','findGitConfig','failed','finished','KJORx','test','KlQSV','started','winstonLogger','wPEeN','push','failure_reason_expanded','__platformCaps','kaBNs','CMuog','JHxrj','mrmEk','YiaPA','lOFlX','stop','3861KMKELv','jtPwc','STATE_FAILED','CBTSessionCreated','619231StvPXM','setupBrowserDetails','1014685QQRhsh','file_name','start','config','bddSteps','mmjbR','uploadEventData','xZTZH','exports','getRootParentFile','jULkm','test_run','wsEndpoint','find','bddStepStart','4000870paktcc','2381406caTTKS','HyJIL','LBOqM','codeceptjs','skipped','KgciA','integrations','eVOal','../../helpers/logger','accessibilityPlatform','TyQjF','getFailureType','hook_type','FjhQa','tags','../../helpers/test-observability/requestQueueHandler','concat','AemuW','mapTestHooks','pCRhp','O11yHelper','TEST_RUN_STARTED','browserType.js','__cloud_provider___','retryOf','bwSWu','jYhJJ','24npAKQr','hMsAd','qWknd','uuid','pending','patchConsoleLogger','kYRei','xvOXN','IjnmY','includes','1|4|5|0|2|3','CODECEPT','status','hook_run_uuid','5xEbmey','connect','err','match','ungAl','GHwgO','fullTitle','File\x20path\x20could\x20not\x20be\x20found','vBXAJ','finished_at','HookRunFinished','comment','LwJgj','nueqd','text','duration','LqRpl','gfQxL','browserstack','ZkQyz','KpFZy','title','parent','PVioi','BVmgc','77oAEIqN','join','bKvvo','pAhsK','VVKar','ekoFC','CzciI','split','driver','pNQmk','name','LogCreated','now','resetSkipTestHooks','4790925RcUlqL','../mocha/test-observability/mochaUtils','connectOverCDP','prefixTestPath','kghXk','TEST_EVENTS','constructor','NJARZ','STATE_PASSED','hook_run','GDRbo','HOOK_RUN_FINISHED','failureData','../../helpers/test-observability/sessionHandler','pGvcV','HOOK_RUN_STARTED','success','groups','hookAnalyticsId','.git','DbeyY','failure','suites','TEST_RUN_SKIPPED','launch','body','dirname','stringify','toISOString','forEach'];a3_0x2b4f=function(){return _0x342a1e;};return a3_0x2b4f();}function a3_0xd416(_0x4588de,_0x1a571a){const _0x2b4fd8=a3_0x2b4f();return a3_0xd416=function(_0xd4163d,_0xfdbbe2){_0xd4163d=_0xd4163d-0x6f;let _0x165c86=_0x2b4fd8[_0xd4163d];return _0x165c86;},a3_0xd416(_0x4588de,_0x1a571a);}(function(_0x313103,_0x464239){const _0x263146=a3_0xd416,_0x3c2cdc=_0x313103();while(!![]){try{const _0x419b74=-parseInt(_0x263146(0xe3))/0x1+parseInt(_0x263146(0x83))/0x2+-parseInt(_0x263146(0xdf))/0x3*(parseInt(_0x263146(0x86))/0x4)+-parseInt(_0x263146(0x11e))/0x5*(parseInt(_0x263146(0xf5))/0x6)+-parseInt(_0x263146(0xe5))/0x7*(parseInt(_0x263146(0x110))/0x8)+-parseInt(_0x263146(0x145))/0x9+-parseInt(_0x263146(0xf4))/0xa*(-parseInt(_0x263146(0x137))/0xb);if(_0x419b74===_0x464239)break;else _0x3c2cdc['push'](_0x3c2cdc['shift']());}catch(_0x2da666){_0x3c2cdc['push'](_0x3c2cdc['shift']());}}}(a3_0x2b4f,0x563fd));const path=require(a3_0x4deaf7(0xc6)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x4deaf7(0xc0)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a3_0x4deaf7(0x146)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x4deaf7(0xfd))[a3_0x4deaf7(0xd3)],SessionHandler=require(a3_0x4deaf7(0x152)),RequestQueueHandler=require(a3_0x4deaf7(0x104)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a3_0x4deaf7(0x7b)],{processAccessibilityCaps}=require(a3_0x4deaf7(0x7d)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a3_0x4deaf7(0x74),STATE_FAILED=a3_0x4deaf7(0xcd),a3_0x2e3e09={};a3_0x2e3e09[a3_0x4deaf7(0x10a)]=a3_0x4deaf7(0x95),a3_0x2e3e09[a3_0x4deaf7(0xa7)]=a3_0x4deaf7(0xa6),a3_0x2e3e09[a3_0x4deaf7(0x15c)]='TestRunSkipped',a3_0x2e3e09[a3_0x4deaf7(0x154)]='HookRunStarted',a3_0x2e3e09[a3_0x4deaf7(0x150)]=a3_0x4deaf7(0x128);const TEST_EVENTS=a3_0x2e3e09,parseEvent=_0x4735c4=>{const _0x4ce64d=a3_0x4deaf7,_0x7d85ee={};_0x7d85ee[_0x4ce64d(0xe0)]=function(_0x161a56,_0x53919e){return _0x161a56<_0x53919e;},_0x7d85ee['pCRhp']=function(_0x35fa8d,_0x27be6f){return _0x35fa8d===_0x27be6f;},_0x7d85ee[_0x4ce64d(0x112)]=_0x4ce64d(0xd0),_0x7d85ee['fbmqm']=_0x4ce64d(0xbe),_0x7d85ee[_0x4ce64d(0x13d)]=_0x4ce64d(0xf9),_0x7d85ee['ALUaQ']='started',_0x7d85ee[_0x4ce64d(0xfa)]=function(_0x40c906,_0x3c9bb9){return _0x40c906===_0x3c9bb9;},_0x7d85ee[_0x4ce64d(0x149)]=_0x4ce64d(0xce);const _0x7ba69f=_0x7d85ee,_0x5e890c=_0x4735c4[_0x4ce64d(0x121)](/^(.*)Run(.*)$/);if(!_0x5e890c)return null;if(_0x7ba69f[_0x4ce64d(0xe0)](_0x5e890c[_0x4ce64d(0x84)],0x3))return null;const _0x4bc94e=_0x5e890c[0x1][_0x4ce64d(0x9b)](),_0x1a5335=_0x5e890c[0x2]['toLowerCase']();return{'test':_0x7ba69f['pCRhp'](_0x4bc94e,_0x7ba69f['qWknd']),'hook':_0x7ba69f[_0x4ce64d(0x108)](_0x4bc94e,_0x7ba69f['fbmqm']),'skipped':_0x7ba69f[_0x4ce64d(0x108)](_0x1a5335,_0x7ba69f[_0x4ce64d(0x13d)]),'started':_0x7ba69f['pCRhp'](_0x1a5335,_0x7ba69f[_0x4ce64d(0xba)]),'finished':_0x7ba69f[_0x4ce64d(0xfa)](_0x1a5335,_0x7ba69f[_0x4ce64d(0x149)])};},mockPWBrowserType=_0x21a40c=>{const _0x122ef5=a3_0x4deaf7,_0x57d963={'LXyMg':function(_0x5b6c21,_0x47e883){return _0x5b6c21===_0x47e883;},'RwyYY':_0x122ef5(0xb3),'kYRei':function(_0x47056e,_0x3b227d,_0x686f63){return _0x47056e(_0x3b227d,_0x686f63);},'LIvjn':_0x122ef5(0xf1),'jMffi':function(_0x44a361,_0x46a196){return _0x44a361(_0x46a196);},'iTIdU':_0x122ef5(0x130),'tkRNS':function(_0x18e328,_0x5a4aa2,_0x14b5a0){return _0x18e328(_0x5a4aa2,_0x14b5a0);},'pAhsK':function(_0x1249fb,_0x2ae6dc){return _0x1249fb(_0x2ae6dc);},'vBXAJ':_0x122ef5(0xaf),'KpFZy':'client','xvOXN':_0x122ef5(0x10b),'CMuog':'Not\x20able\x20to\x20import\x20Browser','nrlKz':'connect','ppLmr':'launch'},_0x2fa7e1=path['join'](_0x57d963[_0x122ef5(0x126)],_0x57d963[_0x122ef5(0x132)],_0x57d963[_0x122ef5(0x117)]),_0x4d705b=_0x57d963['jMffi'](importFileFromPWCore,_0x2fa7e1);if(!_0x4d705b){_0x57d963[_0x122ef5(0x13a)](debug,_0x57d963[_0x122ef5(0xd9)]);return;}const _0x4c3734=_0x4d705b[_0x122ef5(0xa8)],_0x52e25d=_0x4c3734[_0x122ef5(0x85)];if(_0x52e25d['obsBrowserTypeMockApplied'])return;const _0x657f2f=_0x52e25d[_0x122ef5(0x11f)];Object[_0x122ef5(0x89)](_0x52e25d,_0x57d963['nrlKz'],{'get':function(){const _0x5b6850=_0x122ef5,_0x5ae84d={'LBOqM':function(_0x5f3c30,_0xf1128c){const _0x387234=a3_0xd416;return _0x57d963[_0x387234(0x8b)](_0x5f3c30,_0xf1128c);},'EbcUO':_0x57d963[_0x5b6850(0xb9)],'opVDd':function(_0x55e419,_0x1cb9a4,_0x29d4ec){const _0x1df15c=_0x5b6850;return _0x57d963[_0x1df15c(0x116)](_0x55e419,_0x1cb9a4,_0x29d4ec);},'YiaPA':_0x57d963['LIvjn'],'Efocz':function(_0x2b2fe1,_0x6e6f06){return _0x57d963['jMffi'](_0x2b2fe1,_0x6e6f06);},'lvtaR':_0x57d963[_0x5b6850(0x92)],'SqfRC':function(_0x4c8c86,_0x1ec06a,_0x5d1ff5){return _0x57d963['tkRNS'](_0x4c8c86,_0x1ec06a,_0x5d1ff5);},'lHhTs':function(_0x5e9521,_0x43b63d){const _0x4df131=_0x5b6850;return _0x57d963[_0x4df131(0x13a)](_0x5e9521,_0x43b63d);}};return async function _0xd29790(_0x13be5e,_0x2beb70){const _0x66be84=_0x5b6850,_0x1f3fe2=_0x5ae84d['opVDd'](nestedKeyValue,_0x13be5e,[_0x5ae84d[_0x66be84(0xdc)]])||_0x13be5e;let _0x17bb9e=null,_0x2321fc=null;try{[_0x2321fc,_0x17bb9e]=_0x1f3fe2?_0x5ae84d[_0x66be84(0x70)](parseWSEndpoint,_0x1f3fe2):[null,null],global[_0x66be84(0xd7)]=_0x17bb9e,_0x2321fc[_0x66be84(0x119)](_0x5ae84d['lvtaR'])&&(global[_0x66be84(0x10c)]=_0x5ae84d['lvtaR']);}catch(_0x4583e0){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x1f3fe2+'\x20'+_0x4583e0);}_0x5ae84d[_0x66be84(0xca)](processAccessibilityCaps,_0x17bb9e,_0x2321fc);if(global[_0x66be84(0xfe)]){const _0x16eeff=await _0x52e25d[_0x66be84(0x147)][_0x66be84(0xa4)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x5ae84d[_0x66be84(0xb5)](encodeURIComponent,JSON[_0x66be84(0x160)](_0x17bb9e))]);return PlaywrightSessionDetails[_0x66be84(0xe4)](_0x16eeff,_0x21a40c,_0x1f3fe2),_0x16eeff;}return _0x657f2f[_0x66be84(0xa4)](this,arguments)['then'](_0x422597=>{const _0x44d2da=_0x66be84;let _0x466e88=_0x13be5e['wsEndpoint'];return _0x5ae84d[_0x44d2da(0xf7)](typeof _0x13be5e,_0x5ae84d[_0x44d2da(0xc2)])&&(_0x466e88=_0x13be5e),PlaywrightSessionDetails['setupBrowserDetails'](_0x422597,_0x21a40c,_0x466e88),_0x422597;});};}});const _0x1966cf=_0x52e25d[_0x122ef5(0x15d)];Object['defineProperty'](_0x52e25d,_0x57d963[_0x122ef5(0x7a)],{'get':function(){return async function _0x1ecd4e(){const _0x3f0505=a3_0xd416;return _0x1966cf[_0x3f0505(0xa4)](this,arguments)['then'](_0x387b27=>{const _0x2ad877=_0x3f0505;return PlaywrightSessionDetails[_0x2ad877(0xe4)](_0x387b27,null),_0x387b27;});};}});};class O11yHelper{[a3_0x4deaf7(0xc7)]=null;[a3_0x4deaf7(0xaa)]=null;[a3_0x4deaf7(0xa3)]=![];['frameworkName']=![];constructor(_0x139d7e,_0x5ce1c1){const _0x25f1f4=a3_0x4deaf7,_0x57d5cb={'bKvvo':_0x25f1f4(0x11a),'pGvcV':function(_0x3d1501){return _0x3d1501();},'sQEgx':function(_0x4c7a05,_0x42a007){return _0x4c7a05===_0x42a007;},'nueqd':_0x25f1f4(0xc3),'lOFlX':function(_0x1b51de,_0x16703e){return _0x1b51de(_0x16703e);}},_0x3c9c9b=_0x57d5cb[_0x25f1f4(0x139)][_0x25f1f4(0x13e)]('|');let _0x473dc6=0x0;while(!![]){switch(_0x3c9c9b[_0x473dc6++]){case'0':this[_0x25f1f4(0x8d)]=_0x57d5cb[_0x25f1f4(0x153)](getTestEnv);continue;case'1':this[_0x25f1f4(0xa3)]=_0x57d5cb[_0x25f1f4(0x153)](shouldProcessEventForTesthub);continue;case'2':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x25f1f4(0x8d)][_0x25f1f4(0xc1)]);continue;case'3':this[_0x25f1f4(0x13f)]&&_0x57d5cb[_0x25f1f4(0xa1)](this[_0x25f1f4(0x13f)][_0x25f1f4(0x14b)][_0x25f1f4(0x141)],_0x57d5cb[_0x25f1f4(0x12b)])&&_0x57d5cb[_0x25f1f4(0xdd)](mockPWBrowserType,null);continue;case'4':this['frameworkName']=_0x5ce1c1[_0x25f1f4(0xbd)];continue;case'5':this[_0x25f1f4(0x13f)]=_0x139d7e;continue;}break;}}[a3_0x4deaf7(0xe7)](){const _0x486d10=a3_0x4deaf7;if(!this[_0x486d10(0xa3)])return;testOpsHelper[_0x486d10(0x115)](),process['removeAllListeners'](_0x486d10(0x93)+process[_0x486d10(0x78)]),process['on'](_0x486d10(0x93)+process[_0x486d10(0x78)],this['appendTestItemLog']['bind'](this));}async[a3_0x4deaf7(0xde)](){const _0x4455f6=a3_0x4deaf7;await RequestQueueHandler[_0x4455f6(0xb0)]()['shutdown']();}async['appendTestItemLog'](_0x280a39){const _0x9e76a9=a3_0x4deaf7,_0x3fa564={'AhaBQ':_0x9e76a9(0x142),'gHaHE':function(_0x47ae91,_0x2998d6){return _0x47ae91(_0x2998d6);}};try{this['currentHook']&&!this['currentHook'][_0x9e76a9(0x8e)]&&(_0x280a39[_0x9e76a9(0x11d)]=this['currentHook'][_0x9e76a9(0x157)]);!_0x280a39[_0x9e76a9(0x11d)]&&this[_0x9e76a9(0xc7)]&&!this[_0x9e76a9(0xc7)][_0x9e76a9(0x8e)]&&(_0x280a39[_0x9e76a9(0x82)]=this['currentTest']['testAnalyticsId']);if(_0x280a39['hook_run_uuid']||_0x280a39[_0x9e76a9(0x82)]){const _0x251623={};_0x251623['event_type']=_0x3fa564[_0x9e76a9(0xab)],_0x251623[_0x9e76a9(0xbb)]=[_0x280a39],await SessionHandler[_0x9e76a9(0xeb)](_0x251623);}}catch(_0x8cee55){_0x3fa564['gHaHE'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x8cee55);}}async[a3_0x4deaf7(0xa9)](_0x373dd0){const _0x46703f=a3_0x4deaf7,_0x36e5eb={'LqRpl':_0x46703f(0xe2),'UImAX':function(_0x537d80,_0x2c205c){return _0x537d80(_0x2c205c);}};if(!this[_0x46703f(0xa3)])return;const _0x241795=this['getCBTInfo'](this[_0x46703f(0x13f)]);try{const _0x4def04={};_0x4def04[_0x46703f(0x113)]=_0x373dd0,_0x4def04[_0x46703f(0xfb)]=_0x241795;const _0x4362c5=_0x4def04,_0x2b65df={};_0x2b65df['event_type']=_0x36e5eb[_0x46703f(0x12e)],_0x2b65df['test_run']=_0x4362c5,await SessionHandler[_0x46703f(0xeb)](_0x2b65df);}catch(_0x1d2c90){_0x36e5eb['UImAX'](debug,_0x46703f(0x7c)+_0x1d2c90);}}[a3_0x4deaf7(0x9e)](_0x28617f){const _0x35637c={'PfXrw':function(_0x115b1c,_0x31b13c){return _0x115b1c(_0x31b13c);}};return _0x35637c['PfXrw'](fetchPlatformDetails,_0x28617f);}['resetSkipTestHooks']=_0x302931=>{const _0x52444c=a3_0x4deaf7,_0x451a66={};_0x451a66[_0x52444c(0x9d)]=_0x52444c(0x96),_0x451a66[_0x52444c(0x14c)]='_afterEach';const _0x4c66a5=_0x451a66;if(!_0x302931||!_0x302931[_0x52444c(0x134)])return;[_0x4c66a5[_0x52444c(0x9d)],_0x4c66a5[_0x52444c(0x14c)]][_0x52444c(0x6f)](_0x80ca7b=>{const _0x35d331=_0x52444c,_0x163e84=_0x302931['parent'][_0x80ca7b];_0x163e84[_0x35d331(0x6f)](_0x1b54ef=>{const _0x3e7735=_0x35d331;_0x1b54ef['hookAnalyticsId']&&(_0x1b54ef[_0x3e7735(0x157)]=null);});});};[a3_0x4deaf7(0x107)](_0x5c1261){const _0x5f297e=a3_0x4deaf7,_0x383074={'JVwlo':_0x5f297e(0xf8),'vaSTt':function(_0x1ae4b0){return _0x1ae4b0();},'ekoFC':function(_0x2c49a3,_0x379693){return _0x2c49a3===_0x379693;},'DbeyY':'_afterEach','GHwgO':function(_0x29948a){return _0x29948a();},'kaBNs':'_beforeAll','jULkm':_0x5f297e(0x81),'LwJgj':_0x5f297e(0x96)};if(!_0x5c1261||!_0x5c1261[_0x5f297e(0x134)])return;[_0x383074[_0x5f297e(0xd8)],_0x383074[_0x5f297e(0xef)],_0x383074[_0x5f297e(0x12a)],_0x383074[_0x5f297e(0x159)]][_0x5f297e(0x6f)](_0x135010=>{const _0x1e74c3=_0x5f297e,_0x13da90=_0x5c1261[_0x1e74c3(0x134)][_0x135010]||[];_0x13da90[_0x1e74c3(0x6f)](_0x41638f=>{const _0x4cc15a=_0x1e74c3;if(_0x41638f['title'][_0x4cc15a(0x119)](_0x383074['JVwlo']))return;if(!_0x41638f[_0x4cc15a(0x157)])_0x41638f[_0x4cc15a(0x157)]=_0x383074[_0x4cc15a(0x80)](uuidv4);else _0x41638f['markedStatus']&&_0x383074[_0x4cc15a(0x13c)](_0x135010,_0x383074[_0x4cc15a(0x159)])&&(_0x41638f[_0x4cc15a(0x157)]=_0x383074[_0x4cc15a(0x123)](uuidv4),delete _0x41638f[_0x4cc15a(0x8e)]);});}),this[_0x5f297e(0x107)](_0x5c1261['parent']);}[a3_0x4deaf7(0xbf)](_0x4515a7){const _0x3240f6=a3_0x4deaf7,_0x2c2bf7={};_0x2c2bf7[_0x3240f6(0x14f)]=_0x3240f6(0x73),_0x2c2bf7[_0x3240f6(0xb6)]='_afterAll',_0x2c2bf7[_0x3240f6(0xa2)]=_0x3240f6(0x96),_0x2c2bf7[_0x3240f6(0xb8)]='_afterEach';const _0x15e13a=_0x2c2bf7;if(!_0x4515a7||!_0x4515a7[_0x3240f6(0x134)])return[];const _0x25c301=[];return[_0x15e13a['GDRbo'],_0x15e13a[_0x3240f6(0xb6)],_0x15e13a[_0x3240f6(0xa2)],_0x15e13a[_0x3240f6(0xb8)]][_0x3240f6(0x6f)](_0x4b481b=>{const _0x266509=_0x3240f6,_0x32d2d5=_0x4515a7[_0x266509(0x134)][_0x4b481b]||[];_0x32d2d5[_0x266509(0x6f)](_0x2ac709=>{const _0x1f55ec=_0x266509;_0x2ac709['hookAnalyticsId']&&_0x25c301['push'](_0x2ac709[_0x1f55ec(0x157)]);});}),[][_0x3240f6(0x105)](_0x25c301,this[_0x3240f6(0xbf)](_0x4515a7['parent']));}['getHookType'](_0x4691d5){const _0x4b4f89=a3_0x4deaf7,_0x19ca63=/^"(?<hook>.*)" hook:.*$/,_0x1d603e=_0x4691d5[_0x4b4f89(0x133)],_0x3a70f1=_0x1d603e[_0x4b4f89(0x121)](_0x19ca63);if(_0x3a70f1&&_0x3a70f1[_0x4b4f89(0x156)])return _0x3a70f1[_0x4b4f89(0x156)][_0x4b4f89(0xbe)][_0x4b4f89(0x99)]()[_0x4b4f89(0xc4)]('\x20','_');return null;}[a3_0x4deaf7(0xcc)](_0xc89437){const _0x546df3=a3_0x4deaf7,_0x14fb3e={};_0x14fb3e[_0x546df3(0x140)]=function(_0x3c7b7d,_0x28b84c){return _0x3c7b7d===_0x28b84c;},_0x14fb3e[_0x546df3(0x12f)]=function(_0x49f044,_0x5d61b8){return _0x49f044===_0x5d61b8;},_0x14fb3e['AemuW']=function(_0x4f4760,_0x2525ec){return _0x4f4760===_0x2525ec;},_0x14fb3e[_0x546df3(0xff)]=_0x546df3(0x158),_0x14fb3e['HyJIL']=_0x546df3(0xe8);const _0x1d305e=_0x14fb3e,_0x210fab=path[_0x546df3(0x9a)];if(_0x1d305e[_0x546df3(0x140)](_0xc89437,null)||_0x1d305e[_0x546df3(0x12f)](_0xc89437,'')||_0x1d305e[_0x546df3(0x106)](_0xc89437,_0x210fab))return null;try{return fs['statSync'](path[_0x546df3(0x138)](_0xc89437,_0x1d305e[_0x546df3(0xff)],_0x1d305e[_0x546df3(0xf6)])),_0xc89437;}catch(_0x4c175b){const _0x456cdd=path[_0x546df3(0x15f)](_0xc89437);return this['findGitConfig'](_0x456cdd);}}[a3_0x4deaf7(0xee)](_0x3e2fd7){const _0x2ef935=a3_0x4deaf7,_0x430451={};_0x430451[_0x2ef935(0x111)]=function(_0x1599fe,_0x4e36b8){return _0x1599fe>_0x4e36b8;};const _0x13d1dc=_0x430451;if(_0x3e2fd7['file'])return _0x3e2fd7[_0x2ef935(0x98)];if(_0x3e2fd7['ctx']){const _0x13bc6a=_0x3e2fd7['ctx'][_0x2ef935(0xc7)]?this[_0x2ef935(0xee)](_0x3e2fd7[_0x2ef935(0x8f)][_0x2ef935(0xc7)]):null;if(_0x13bc6a)return _0x13bc6a;}if(_0x3e2fd7[_0x2ef935(0x134)]){const _0x4d657e=this[_0x2ef935(0xee)](_0x3e2fd7[_0x2ef935(0x134)])||(_0x3e2fd7[_0x2ef935(0x134)][_0x2ef935(0x8f)]&&_0x3e2fd7[_0x2ef935(0x134)][_0x2ef935(0x8f)][_0x2ef935(0xc7)]?this['getRootParentFile'](_0x3e2fd7[_0x2ef935(0x134)][_0x2ef935(0x8f)]['currentTest']):null);if(_0x4d657e)return _0x4d657e;_0x3e2fd7['parent']['suites']&&_0x13d1dc[_0x2ef935(0x111)](_0x3e2fd7['parent'][_0x2ef935(0x15b)][_0x2ef935(0x84)],0x0)&&_0x3e2fd7[_0x2ef935(0x134)][_0x2ef935(0x15b)][_0x2ef935(0x6f)](_0x5c3c13=>{const _0x2c1386=_0x2ef935,_0x52318f=_0x5c3c13[_0x2c1386(0x8f)]?this['getRootParentFile'](_0x5c3c13[_0x2c1386(0x8f)]):null;if(_0x52318f)return _0x52318f;});}return null;}[a3_0x4deaf7(0x79)](_0x1c8baa){const _0x352408=a3_0x4deaf7,_0x133992={};_0x133992[_0x352408(0x10f)]=function(_0x3725b0,_0x20cfd6){return _0x3725b0!==_0x20cfd6;};const _0x535f86=_0x133992,_0x3766fb=[];if(_0x1c8baa&&_0x1c8baa[_0x352408(0x134)]){let _0x3ac696=_0x1c8baa[_0x352408(0x134)];while(_0x3ac696&&_0x535f86[_0x352408(0x10f)](_0x3ac696[_0x352408(0x133)],'')){_0x3766fb[_0x352408(0xd5)](_0x3ac696[_0x352408(0x133)]),_0x3ac696=_0x3ac696[_0x352408(0x134)];}}return _0x3766fb;}[a3_0x4deaf7(0xc9)](_0x411709,_0x497371,_0x11bd0a=undefined){const _0x5f4e66=a3_0x4deaf7,_0xb42d42={'FBwtU':function(_0x25f511,_0x11ee50){return _0x25f511(_0x11ee50);},'wRvxG':function(_0x486cb2){return _0x486cb2();},'NPsnH':function(_0x587938){return _0x587938();},'LzgQg':function(_0x59a1e1){return _0x59a1e1();},'Slmuw':function(_0x8e34fa){return _0x8e34fa();},'MJsqq':_0x5f4e66(0xb1),'bwSWu':_0x5f4e66(0x120),'lRlpU':function(_0x4df5a8,_0x67ad05){return _0x4df5a8!==_0x67ad05;},'VVKar':function(_0x370426,_0xc1ca6b){return _0x370426!==_0xc1ca6b;},'yzjTO':_0x5f4e66(0x125),'mmjbR':_0x5f4e66(0x114),'mrmEk':_0x5f4e66(0xcd),'ungAl':'passed','wPEeN':_0x5f4e66(0xf9),'OnWoy':_0x5f4e66(0x7f),'bFMhd':function(_0x3bf8df,_0x3a0133){return _0x3bf8df-_0x3a0133;},'uVLYb':function(_0x7454d4,_0xf54173,_0x4ce5aa,_0x2e21a2,_0x9fa6f0){return _0x7454d4(_0xf54173,_0x4ce5aa,_0x2e21a2,_0x9fa6f0);},'QBmRi':_0x5f4e66(0xfb),'PVioi':'meta','tSfYG':_0x5f4e66(0x15a),'JHxrj':'failure_backtrace','FjhQa':_0x5f4e66(0x90),'xZTZH':_0x5f4e66(0xd6),'ohkmT':'expanded','BVmgc':function(_0x2c9cce,_0x146774){return _0x2c9cce===_0x146774;},'KlQSV':_0x5f4e66(0x14e),'eVOal':_0x5f4e66(0xf0)};if(!this[_0x5f4e66(0xa3)])return;try{if(_0x497371['fn']&&_0x497371['fn'][_0x5f4e66(0xb2)]()[_0x5f4e66(0x121)](/browserstack internal helper hook/))return;const _0x260475=_0xb42d42[_0x5f4e66(0x97)](parseEvent,_0x411709);if(!_0x260475)return;if(_0x260475['test']){this[_0x5f4e66(0xc7)]=_0x497371,this[_0x5f4e66(0xaa)]=null;if(_0x260475[_0x5f4e66(0xd2)]||_0x260475[_0x5f4e66(0xf9)]){_0x497371[_0x5f4e66(0x8c)]=new Date(),_0x497371['markedStatus']=![];if(!_0x497371[_0x5f4e66(0x91)])_0x497371[_0x5f4e66(0x91)]=_0xb42d42['wRvxG'](uuidv4);else _0x497371['markedStatus']&&(!_0x497371[_0x5f4e66(0x10d)]&&(_0x497371[_0x5f4e66(0x10d)]=_0x497371['testAnalyticsId']),_0x497371[_0x5f4e66(0x91)]=_0xb42d42['NPsnH'](uuidv4));}}else{if(_0x260475['hook']){this[_0x5f4e66(0xaa)]=_0x497371;if(_0x260475[_0x5f4e66(0xd2)]){_0x497371[_0x5f4e66(0x8c)]=new Date(),_0x497371[_0x5f4e66(0x8e)]=![];if(!_0x497371[_0x5f4e66(0x157)])_0x497371[_0x5f4e66(0x157)]=_0xb42d42[_0x5f4e66(0xa0)](uuidv4);else _0x497371['hookAnalyticsId']&&_0x497371[_0x5f4e66(0x8e)]&&(_0x497371['hookAnalyticsId']=_0xb42d42[_0x5f4e66(0x9c)](uuidv4));}}}if(_0x260475[_0x5f4e66(0xce)]&&_0x497371['markedStatus'])return;let _0x1ee373;try{_0x1ee373=this['getRootParentFile'](_0x497371);}catch(_0x2c9ea6){logger[_0x5f4e66(0x7b)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x2c9ea6),_0x1ee373=null;}const _0x1dd7b0=_0xb42d42['FBwtU'](require,_0xb42d42[_0x5f4e66(0xa5)]);let _0x509f05=[];_0x11bd0a&&(_0x509f05=[_0x11bd0a,_0xb42d42[_0x5f4e66(0x10e)]]);const _0x291959=_0xb42d42[_0x5f4e66(0xbc)](_0x497371[_0x5f4e66(0xcb)],undefined)?_0x1dd7b0[_0x5f4e66(0x7e)](_0x497371[_0x5f4e66(0xcb)][0x0]):_0xb42d42['VVKar'](_0x11bd0a,undefined)?_0x11bd0a[_0x5f4e66(0xb2)]():undefined,_0x132393=_0x1ee373?this[_0x5f4e66(0xcc)](_0x1ee373):null,_0x478bd1=_0x1ee373?this['_paths'][_0x5f4e66(0x148)](this[_0x5f4e66(0xee)](_0x497371)):_0xb42d42[_0x5f4e66(0x9f)];let _0x145850=_0xb42d42[_0x5f4e66(0xea)];const _0x549ba2=!_0x260475[_0x5f4e66(0xd2)]?new Date()[_0x5f4e66(0x161)]():null;if(_0x260475[_0x5f4e66(0xce)])_0x145850=_0x11bd0a?_0xb42d42[_0x5f4e66(0xdb)]:_0xb42d42[_0x5f4e66(0x122)],_0x497371[_0x5f4e66(0x8e)]=!![];else _0x260475[_0x5f4e66(0xf9)]&&(_0x145850=_0xb42d42[_0x5f4e66(0xd4)],_0x497371[_0x5f4e66(0x8e)]=!![]);const _0x3be66e={'framework':this[_0x5f4e66(0xbd)],'uuid':_0x497371['testAnalyticsId']||_0x497371[_0x5f4e66(0x157)],'name':_0x497371['title'],'body':{'lang':_0xb42d42[_0x5f4e66(0x76)],'code':_0x497371[_0x5f4e66(0x15e)][_0x5f4e66(0xb2)]()},'type':_0x497371[_0x5f4e66(0xac)],'scope':_0x497371[_0x5f4e66(0x124)](),'scopes':this['getHierarchy'](_0x497371),'file_name':_0x478bd1,'vc_filepath':_0x132393?path[_0x5f4e66(0x75)](_0x132393,_0x1ee373):null,'location':_0x478bd1,'result':_0x145850,'failure_reason':_0x291959,'duration_in_ms':_0x497371['duration']||(_0x260475[_0x5f4e66(0xce)]||_0x260475[_0x5f4e66(0xf9)])?_0xb42d42[_0x5f4e66(0x94)](Date[_0x5f4e66(0x143)](),new Date(_0x497371[_0x5f4e66(0x8c)])[_0x5f4e66(0xc8)]()):null,'started_at':new Date(_0x497371[_0x5f4e66(0x8c)])['toISOString'](),'finished_at':_0x549ba2,'failure':testOpsHelper[_0x5f4e66(0x151)]['apply'](null,_0x509f05),'failure_type':!_0x291959?null:testOpsHelper[_0x5f4e66(0x100)](_0x291959),'retry_of':_0x497371['retryOf']||null,'tags':_0x497371[_0x5f4e66(0x103)]||[],'customRerunParam':{'rerun_name':_0x497371[_0x5f4e66(0x124)]()}};_0xb42d42['uVLYb'](appendTesthubParams,_0x3be66e,_0x411709,_0x497371,FRAMEWORKS[_0x5f4e66(0x11b)]);if(_0x260475[_0x5f4e66(0xbe)])[_0x3be66e[_0x5f4e66(0x101)],_0x3be66e[_0x5f4e66(0x141)]]=[this['getHookType'](_0x497371),_0x497371[_0x5f4e66(0x8f)][_0x5f4e66(0xd0)][_0x5f4e66(0x133)]],_0x260475['finished']?_0xb42d42[_0x5f4e66(0x13b)](_0x3be66e[_0x5f4e66(0x71)],_0xb42d42['mrmEk'])&&(_0x3be66e['result']=_0xb42d42[_0x5f4e66(0x122)]):_0x3be66e[_0x5f4e66(0x15e)]={};else _0x260475[_0x5f4e66(0xd0)]&&(this[_0x5f4e66(0x107)](_0x497371),_0x260475[_0x5f4e66(0xf9)]&&this[_0x5f4e66(0x144)](_0x497371),(_0x260475[_0x5f4e66(0xce)]||_0x260475[_0x5f4e66(0xf9)])&&(_0x3be66e['hooks']=this[_0x5f4e66(0xbf)](_0x497371)));this[_0x5f4e66(0x13f)]&&(_0x260475['started']||_0x260475[_0x5f4e66(0xf9)])&&(_0x3be66e[_0xb42d42['QBmRi']]=this[_0x5f4e66(0x9e)](this[_0x5f4e66(0x13f)]));_0x260475[_0x5f4e66(0xd0)]&&_0x260475[_0x5f4e66(0xce)]&&_0x497371[_0x5f4e66(0xe9)]&&(_0x3be66e[_0xb42d42[_0x5f4e66(0x135)]]={'feature':{'name':_0x497371['parent'][_0x5f4e66(0x72)]['name'],'path':_0x3be66e[_0x5f4e66(0xe6)],'description':_0x497371['parent'][_0x5f4e66(0x129)]},'scenario':{'name':_0x497371[_0x5f4e66(0x133)]},'steps':_0x497371[_0x5f4e66(0xe9)]});const _0x41d9bf=_0x3be66e[_0xb42d42[_0x5f4e66(0xb7)]][0x0];_0x41d9bf&&(_0x3be66e[_0xb42d42[_0x5f4e66(0xda)]]=_0x41d9bf[_0xb42d42[_0x5f4e66(0x102)]],_0x3be66e[_0xb42d42[_0x5f4e66(0xec)]]=_0x41d9bf[_0xb42d42['ohkmT']]);if(_0x497371[_0x5f4e66(0xe9)])for(const _0x4f36c0 of _0x497371[_0x5f4e66(0xe9)]){!_0x4f36c0[_0x5f4e66(0x127)]&&(_0x4f36c0[_0x5f4e66(0x127)]=new Date()[_0x5f4e66(0x161)](),_0xb42d42[_0x5f4e66(0x136)](_0x4f36c0[_0x5f4e66(0x71)],_0xb42d42[_0x5f4e66(0xea)])&&(_0x41d9bf?(_0x4f36c0['result']=_0xb42d42[_0x5f4e66(0xdb)],_0x4f36c0[_0x5f4e66(0x15a)]=_0x41d9bf[_0xb42d42[_0x5f4e66(0x102)]][0x0]):_0x4f36c0[_0x5f4e66(0x71)]=_0xb42d42[_0x5f4e66(0x122)]));}const _0x535312={};_0x535312['event_type']=_0x260475[_0x5f4e66(0xf9)]?TEST_EVENTS[_0x5f4e66(0xa7)]:_0x411709;const _0x57f37a=_0x535312;return _0x260475[_0x5f4e66(0xbe)]?_0x57f37a[_0xb42d42[_0x5f4e66(0xd1)]]=_0x3be66e:_0x57f37a[_0xb42d42[_0x5f4e66(0xfc)]]=_0x3be66e,_0x57f37a;}catch(_0x301b8d){logger[_0x5f4e66(0x7b)](_0x5f4e66(0xc5)+_0x411709+_0x5f4e66(0xad)+_0x301b8d);}}async['fireEvent'](_0x563e12,_0x32180a){const _0x1bd800=a3_0x4deaf7;if(!this['enabled']||!_0x32180a||!_0x563e12)return![];try{return await SessionHandler['uploadEventData'](_0x32180a);}catch(_0x4a554a){logger[_0x1bd800(0x7b)](_0x1bd800(0x87)+_0x563e12+'\x20with\x20error\x20:\x20'+_0x4a554a);}}[a3_0x4deaf7(0x8a)](_0x104ad9){const _0x253054=a3_0x4deaf7,_0x44e5fa={};_0x44e5fa[_0x253054(0x88)]='pending';const _0x413e6f=_0x44e5fa;return{'id':_0x104ad9[_0x253054(0xae)],'text':_0x104ad9[_0x253054(0x12c)],'keyword':_0x104ad9[_0x253054(0xb4)],'started_at':_0x104ad9['startedAt'][_0x253054(0x161)](),'result':_0x413e6f[_0x253054(0x88)]};}[a3_0x4deaf7(0xf3)](_0x5a6bc1){const _0x3c345a=a3_0x4deaf7,_0x11dcba={'ZkQyz':function(_0x47122b){return _0x47122b();}};!this['currentTest'][_0x3c345a(0xe9)]&&(this[_0x3c345a(0xc7)][_0x3c345a(0xe9)]=[]),!_0x5a6bc1[_0x3c345a(0xae)]&&(_0x5a6bc1['stepAnalyticsId']=_0x11dcba[_0x3c345a(0x131)](uuidv4),_0x5a6bc1['startedAt']=new Date(),this[_0x3c345a(0xc7)][_0x3c345a(0xe9)]['push'](this['initializeBddStep'](_0x5a6bc1)));}['bddStepFinish'](_0x71bbe0){const _0x4e72bb=a3_0x4deaf7,_0x2465dc={'IjnmY':function(_0x3552fb,_0x177230){return _0x3552fb(_0x177230);},'UxYzs':_0x4e72bb(0x155),'KJORx':_0x4e72bb(0x114),'FlHzZ':_0x4e72bb(0x74),'FSmYd':function(_0x2aa6a1,_0x36da87){return _0x2aa6a1-_0x36da87;}};let _0x483810=this[_0x4e72bb(0xc7)][_0x4e72bb(0xe9)][_0x4e72bb(0xf2)](_0x367af4=>_0x367af4['id']===_0x71bbe0[_0x4e72bb(0xae)]);_0x2465dc[_0x4e72bb(0x118)](isUndefined,_0x483810)&&(_0x483810=this[_0x4e72bb(0x8a)](_0x71bbe0)),_0x483810['result']=[_0x2465dc['UxYzs'],_0x2465dc[_0x4e72bb(0xcf)]][_0x4e72bb(0x119)](_0x71bbe0[_0x4e72bb(0x11c)])?_0x2465dc['FlHzZ']:_0x71bbe0[_0x4e72bb(0x11c)],_0x483810[_0x4e72bb(0x127)]=new Date()['toISOString'](),_0x483810[_0x4e72bb(0x12d)]=_0x2465dc[_0x4e72bb(0x77)](Date[_0x4e72bb(0x143)](),_0x71bbe0[_0x4e72bb(0x8c)][_0x4e72bb(0xc8)]()),_0x483810[_0x4e72bb(0x15a)]=_0x71bbe0[_0x4e72bb(0x120)]?_0x71bbe0[_0x4e72bb(0x120)]['message']:null;}}const a3_0xca27b9={};a3_0xca27b9[a3_0x4deaf7(0x109)]=O11yHelper,a3_0xca27b9[a3_0x4deaf7(0x14d)]=STATE_PASSED,a3_0xca27b9[a3_0x4deaf7(0xe1)]=STATE_FAILED,a3_0xca27b9[a3_0x4deaf7(0x14a)]=TEST_EVENTS,module[a3_0x4deaf7(0xed)]=a3_0xca27b9;
|
|
1
|
+
const a4_0xe971b=a4_0x3c05;(function(_0x3ebcd9,_0x88c74f){const _0x4cf62b=a4_0x3c05,_0x37aec1=_0x3ebcd9();while(!![]){try{const _0x4cb304=parseInt(_0x4cf62b(0x156))/0x1+parseInt(_0x4cf62b(0x18f))/0x2*(-parseInt(_0x4cf62b(0x17d))/0x3)+parseInt(_0x4cf62b(0x1b6))/0x4*(-parseInt(_0x4cf62b(0x19c))/0x5)+-parseInt(_0x4cf62b(0xf8))/0x6+parseInt(_0x4cf62b(0x1d5))/0x7+-parseInt(_0x4cf62b(0x1c7))/0x8+parseInt(_0x4cf62b(0x1b4))/0x9;if(_0x4cb304===_0x88c74f)break;else _0x37aec1['push'](_0x37aec1['shift']());}catch(_0x2f479f){_0x37aec1['push'](_0x37aec1['shift']());}}}(a4_0x3b02,0xbe0f2));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0xe971b(0xfb)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xe971b(0x18d)),testOpsHelper=require(a4_0xe971b(0x1b7)),{getTestEnv}=require(a4_0xe971b(0x110)),{FRAMEWORKS}=require(a4_0xe971b(0x116)),logger=require('../../helpers/logger')[a4_0xe971b(0x10d)],SessionHandler=require(a4_0xe971b(0x184)),RequestQueueHandler=require(a4_0xe971b(0x122)),PlaywrightSessionDetails=require(a4_0xe971b(0x1b0)),debug=testOpsHelper[a4_0xe971b(0xff)],{processAccessibilityCaps}=require(a4_0xe971b(0x1a3)),Constants=require(a4_0xe971b(0x17e)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0xe971b(0x129),STATE_FAILED=a4_0xe971b(0x1be),a4_0x2f06b5={};a4_0x2f06b5[a4_0xe971b(0x1dc)]=a4_0xe971b(0x150),a4_0x2f06b5[a4_0xe971b(0x1e2)]=a4_0xe971b(0x1a5),a4_0x2f06b5['TEST_RUN_SKIPPED']=a4_0xe971b(0x135),a4_0x2f06b5[a4_0xe971b(0x172)]=a4_0xe971b(0x176),a4_0x2f06b5['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x2f06b5,parseEvent=_0x579168=>{const _0x47ed19=a4_0xe971b,_0xf25aa6={};_0xf25aa6['IQaww']=function(_0x1c44e6,_0x40ee56){return _0x1c44e6<_0x40ee56;},_0xf25aa6[_0x47ed19(0x119)]=function(_0x33f093,_0x48ae4e){return _0x33f093===_0x48ae4e;},_0xf25aa6[_0x47ed19(0x17a)]=_0x47ed19(0x153),_0xf25aa6[_0x47ed19(0x1cb)]=_0x47ed19(0x188),_0xf25aa6[_0x47ed19(0x169)]='skipped',_0xf25aa6[_0x47ed19(0x13f)]=_0x47ed19(0x179),_0xf25aa6['rOZuY']=function(_0x59fdf8,_0xae2b38){return _0x59fdf8===_0xae2b38;},_0xf25aa6[_0x47ed19(0x151)]='finished';const _0x345b0b=_0xf25aa6,_0x524f83=_0x579168[_0x47ed19(0x1b8)](/^(.*)Run(.*)$/);if(!_0x524f83)return null;if(_0x345b0b[_0x47ed19(0x127)](_0x524f83[_0x47ed19(0x11f)],0x3))return null;const _0x2785d0=_0x524f83[0x1][_0x47ed19(0x19e)](),_0x48d233=_0x524f83[0x2][_0x47ed19(0x19e)]();return{'test':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b['MZFuS']),'hook':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b[_0x47ed19(0x1cb)]),'skipped':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x169)]),'started':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x13f)]),'finished':_0x345b0b['rOZuY'](_0x48d233,_0x345b0b[_0x47ed19(0x151)])};},mockPWBrowserType=_0x36c796=>{const _0x36a849=a4_0xe971b,_0x367a78={'owPJz':function(_0x2761a9,_0x3a15e8){return _0x2761a9===_0x3a15e8;},'ODLSP':_0x36a849(0x10e),'njXPx':function(_0x3a1e09,_0xed07a9,_0x340865){return _0x3a1e09(_0xed07a9,_0x340865);},'XASdE':_0x36a849(0x120),'HOjET':function(_0x4d1125,_0x1c3590){return _0x4d1125(_0x1c3590);},'XhQft':'browserstack','ZkgtJ':function(_0x1dbd98,_0x26b3d9,_0x5cb5f9){return _0x1dbd98(_0x26b3d9,_0x5cb5f9);},'mqtPO':_0x36a849(0x1df),'ZbRHq':_0x36a849(0x178),'MMDrX':_0x36a849(0x16e),'jasxw':_0x36a849(0x185),'EthTP':'connect','DDgON':_0x36a849(0x132)},_0xcd5d6=path[_0x36a849(0x118)](_0x367a78[_0x36a849(0x133)],_0x367a78[_0x36a849(0x147)],_0x367a78[_0x36a849(0x13d)]),_0x4cf270=_0x367a78[_0x36a849(0x1e1)](importFileFromPWCore,_0xcd5d6);if(!_0x4cf270){_0x367a78['HOjET'](debug,_0x367a78[_0x36a849(0x1e0)]);return;}const _0x1259db=_0x4cf270[_0x36a849(0xf9)],_0x341f45=_0x1259db[_0x36a849(0x113)];if(_0x341f45[_0x36a849(0x126)])return;const _0x191af4=_0x341f45[_0x36a849(0x16a)];Object['defineProperty'](_0x341f45,_0x367a78['EthTP'],{'get':function(){const _0x52d2b6=_0x36a849,_0x47e9b8={'hPWUl':function(_0x10812c,_0x46dcc3){const _0x1eb3bb=a4_0x3c05;return _0x367a78[_0x1eb3bb(0x1b5)](_0x10812c,_0x46dcc3);},'yxqtc':_0x367a78[_0x52d2b6(0x1ab)],'eXlXX':function(_0x4ce349,_0x337c8a,_0x123761){const _0x4dfad7=_0x52d2b6;return _0x367a78[_0x4dfad7(0x164)](_0x4ce349,_0x337c8a,_0x123761);},'UIDpN':_0x367a78[_0x52d2b6(0x14a)],'kNqqU':function(_0x50d10e,_0x5ab232){const _0x16144a=_0x52d2b6;return _0x367a78[_0x16144a(0x1e1)](_0x50d10e,_0x5ab232);},'LMdSZ':_0x367a78['XhQft'],'zvXED':function(_0x57a04c,_0x5249ac,_0x481585){const _0x36f3dd=_0x52d2b6;return _0x367a78[_0x36f3dd(0x171)](_0x57a04c,_0x5249ac,_0x481585);}};return async function _0x22d0d9(_0x65d302,_0x2b1be1){const _0x590900=_0x52d2b6,_0x431708={'sItBe':function(_0x386f02,_0x5892db){const _0x594f5f=a4_0x3c05;return _0x47e9b8[_0x594f5f(0x1d1)](_0x386f02,_0x5892db);},'ZkDlr':_0x47e9b8[_0x590900(0x1c5)]},_0x1a1135=_0x47e9b8[_0x590900(0x155)](nestedKeyValue,_0x65d302,[_0x47e9b8[_0x590900(0x1ad)]])||_0x65d302;let _0x271df2=null,_0x76015f=null;try{[_0x76015f,_0x271df2]=_0x1a1135?_0x47e9b8[_0x590900(0x121)](parseWSEndpoint,_0x1a1135):[null,null],global['__platformCaps']=_0x271df2,_0x76015f[_0x590900(0x1d7)](_0x47e9b8[_0x590900(0x10a)])&&(global['__cloud_provider___']=_0x47e9b8[_0x590900(0x10a)]);}catch(_0x44c81d){logger[_0x590900(0xff)](_0x590900(0x1aa)+_0x1a1135+'\x20'+_0x44c81d);}_0x47e9b8['zvXED'](processAccessibilityCaps,_0x271df2,_0x76015f);if(global[_0x590900(0x157)]){const _0x276c23=await _0x341f45['connectOverCDP'][_0x590900(0x1bd)](this,[''+Constants[_0x590900(0xfe)]+_0x47e9b8[_0x590900(0x121)](encodeURIComponent,JSON[_0x590900(0x18c)](_0x271df2))]);return PlaywrightSessionDetails[_0x590900(0x1b3)](_0x276c23,_0x36c796,_0x1a1135),_0x276c23;}return _0x191af4[_0x590900(0x1bd)](this,arguments)['then'](_0xcd8279=>{const _0x37c34b=_0x590900;let _0x4fde81=_0x65d302[_0x37c34b(0x120)];return _0x431708['sItBe'](typeof _0x65d302,_0x431708[_0x37c34b(0x12d)])&&(_0x4fde81=_0x65d302),PlaywrightSessionDetails[_0x37c34b(0x1b3)](_0xcd8279,_0x36c796,_0x4fde81),_0xcd8279;});};}});const _0x429a39=_0x341f45[_0x36a849(0x132)];Object[_0x36a849(0x1da)](_0x341f45,_0x367a78[_0x36a849(0x109)],{'get':function(){return async function _0x57a346(){const _0x38c49d=a4_0x3c05;return _0x429a39['apply'](this,arguments)[_0x38c49d(0x18a)](_0x20aa73=>{const _0x4c84b4=_0x38c49d;return PlaywrightSessionDetails[_0x4c84b4(0x1b3)](_0x20aa73,null),_0x20aa73;});};}});};class O11yHelper{['currentTest']=null;[a4_0xe971b(0x1dd)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x74e6b3,_0x3d2b40){const _0x507186=a4_0xe971b,_0x2e02ee={'knWdU':_0x507186(0x1bb),'pLFPt':function(_0xa011c){return _0xa011c();},'jTTSZ':function(_0x4f0180,_0x351439){return _0x4f0180===_0x351439;},'ejxfd':_0x507186(0x1ba),'ZnNMV':function(_0x60bb4b,_0x4f665f){return _0x60bb4b(_0x4f665f);}},_0xe64fc=_0x2e02ee[_0x507186(0x1bc)]['split']('|');let _0x38acb2=0x0;while(!![]){switch(_0xe64fc[_0x38acb2++]){case'0':this[_0x507186(0x103)]=_0x2e02ee[_0x507186(0x108)](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0x507186(0x14f))]({'cwd':process[_0x507186(0x158)]()},this['_testEnv'][_0x507186(0x19a)]);continue;case'2':this[_0x507186(0x134)]=_0x3d2b40[_0x507186(0x134)];continue;case'3':this[_0x507186(0x1b9)]&&_0x2e02ee['jTTSZ'](this['driver']['constructor'][_0x507186(0x1c2)],_0x2e02ee['ejxfd'])&&_0x2e02ee['ZnNMV'](mockPWBrowserType,null);continue;case'4':this[_0x507186(0x175)]=_0x2e02ee[_0x507186(0x108)](shouldProcessEventForTesthub);continue;case'5':this[_0x507186(0x1b9)]=_0x74e6b3;continue;}break;}}['start'](){const _0x1e7c0a=a4_0xe971b;if(!this[_0x1e7c0a(0x175)])return;testOpsHelper['patchConsoleLogger'](),process[_0x1e7c0a(0x195)]('bs:addLog:'+process['pid']),process['on'](_0x1e7c0a(0x14c)+process[_0x1e7c0a(0x1d6)],this[_0x1e7c0a(0x115)][_0x1e7c0a(0xf7)](this));}async[a4_0xe971b(0x1a0)](){const _0x5573e8=a4_0xe971b;await RequestQueueHandler[_0x5573e8(0x196)]()[_0x5573e8(0x13b)]();}async[a4_0xe971b(0x115)](_0x2c99ae){const _0x3efb9a=a4_0xe971b,_0x36029d={'kKbpg':_0x3efb9a(0x19f),'JGuCv':function(_0x4c6dfb,_0xb69d88){return _0x4c6dfb(_0xb69d88);}};try{this['currentHook']&&!this[_0x3efb9a(0x1dd)]['markedStatus']&&(_0x2c99ae[_0x3efb9a(0x148)]=this[_0x3efb9a(0x1dd)][_0x3efb9a(0x10f)]);!_0x2c99ae[_0x3efb9a(0x148)]&&this[_0x3efb9a(0x13c)]&&!this[_0x3efb9a(0x13c)][_0x3efb9a(0xfc)]&&(_0x2c99ae[_0x3efb9a(0x1e3)]=this[_0x3efb9a(0x13c)]['testAnalyticsId']);if(_0x2c99ae[_0x3efb9a(0x148)]||_0x2c99ae[_0x3efb9a(0x1e3)]){const _0x57c6c3={};_0x57c6c3[_0x3efb9a(0x190)]=_0x36029d[_0x3efb9a(0x1c0)],_0x57c6c3[_0x3efb9a(0x181)]=[_0x2c99ae],await SessionHandler['uploadEventData'](_0x57c6c3);}}catch(_0x2ec46c){_0x36029d[_0x3efb9a(0x139)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2ec46c);}}async[a4_0xe971b(0x198)](_0x2d384f){const _0x2ba663=a4_0xe971b,_0x3eb0f6={'vqmRc':_0x2ba663(0x114),'AMuwd':function(_0x5ef9ab,_0x337836){return _0x5ef9ab(_0x337836);}};if(!this[_0x2ba663(0x175)])return;const _0xb79f5c=this[_0x2ba663(0x124)](this[_0x2ba663(0x1b9)]);try{const _0x387013={};_0x387013['uuid']=_0x2d384f,_0x387013['integrations']=_0xb79f5c;const _0xe6caeb=_0x387013,_0x3c2308={};_0x3c2308[_0x2ba663(0x190)]=_0x3eb0f6[_0x2ba663(0x1d8)],_0x3c2308[_0x2ba663(0x191)]=_0xe6caeb,await SessionHandler['uploadEventData'](_0x3c2308);}catch(_0x20deba){_0x3eb0f6[_0x2ba663(0x140)](debug,_0x2ba663(0x100)+_0x20deba);}}[a4_0xe971b(0x124)](_0xa79628){const _0x19d2e2=a4_0xe971b,_0x3e1d12={'kNEpS':function(_0x5ba059,_0x63a67b){return _0x5ba059(_0x63a67b);}};return _0x3e1d12[_0x19d2e2(0x1a9)](fetchPlatformDetails,_0xa79628);}[a4_0xe971b(0x18e)]=_0x4abc28=>{const _0x57d158=a4_0xe971b,_0x4b70a4={};_0x4b70a4['BtKqb']=_0x57d158(0x1e5),_0x4b70a4[_0x57d158(0x1b1)]=_0x57d158(0x1c9);const _0x4e0056=_0x4b70a4;if(!_0x4abc28||!_0x4abc28[_0x57d158(0x131)])return;[_0x4e0056[_0x57d158(0x1a8)],_0x4e0056['EBfAH']][_0x57d158(0x1ae)](_0x4b4020=>{const _0x47be75=_0x57d158,_0x5e539a=_0x4abc28['parent'][_0x4b4020];_0x5e539a[_0x47be75(0x1ae)](_0x10b375=>{const _0x37a76b=_0x47be75;_0x10b375['hookAnalyticsId']&&(_0x10b375[_0x37a76b(0x10f)]=null);});});};[a4_0xe971b(0x159)](_0x218af3){const _0x5f3350=a4_0xe971b,_0x3a0079={'ZOFjE':_0x5f3350(0x1c3),'SLupi':function(_0x44dd08){return _0x44dd08();},'uAEzJ':function(_0x5bdf69,_0x114520){return _0x5bdf69===_0x114520;},'YggjU':_0x5f3350(0x1c9),'OFsdx':_0x5f3350(0x142),'KyYiu':_0x5f3350(0x14e),'yiMau':'_beforeEach'};if(!_0x218af3||!_0x218af3[_0x5f3350(0x131)])return;[_0x3a0079[_0x5f3350(0x166)],_0x3a0079['KyYiu'],_0x3a0079[_0x5f3350(0x104)],_0x3a0079[_0x5f3350(0x112)]]['forEach'](_0x20c99b=>{const _0x2500a5=_0x5f3350,_0x430803=_0x218af3[_0x2500a5(0x131)][_0x20c99b]||[];_0x430803[_0x2500a5(0x1ae)](_0x1cb4ba=>{const _0x1af67a=_0x2500a5;if(_0x1cb4ba[_0x1af67a(0x128)][_0x1af67a(0x1d7)](_0x3a0079[_0x1af67a(0x102)]))return;if(!_0x1cb4ba[_0x1af67a(0x10f)])_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4);else _0x1cb4ba[_0x1af67a(0xfc)]&&_0x3a0079[_0x1af67a(0x138)](_0x20c99b,_0x3a0079[_0x1af67a(0x112)])&&(_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4),delete _0x1cb4ba[_0x1af67a(0xfc)]);});}),this[_0x5f3350(0x159)](_0x218af3[_0x5f3350(0x131)]);}[a4_0xe971b(0x1cc)](_0xb5d408){const _0x273e13=a4_0xe971b,_0x2d76c7={};_0x2d76c7[_0x273e13(0x192)]=_0x273e13(0x142),_0x2d76c7['lzYzw']=_0x273e13(0x14e),_0x2d76c7['nIgDd']=_0x273e13(0x1e5),_0x2d76c7[_0x273e13(0x16c)]=_0x273e13(0x1c9);const _0x260909=_0x2d76c7;if(!_0xb5d408||!_0xb5d408['parent'])return[];const _0x31a38d=[];return[_0x260909[_0x273e13(0x192)],_0x260909[_0x273e13(0x19b)],_0x260909[_0x273e13(0x1de)],_0x260909[_0x273e13(0x16c)]][_0x273e13(0x1ae)](_0x1cd53b=>{const _0x49cbee=_0x273e13,_0x369594=_0xb5d408[_0x49cbee(0x131)][_0x1cd53b]||[];_0x369594[_0x49cbee(0x1ae)](_0x162ffb=>{const _0x4f114b=_0x49cbee;_0x162ffb[_0x4f114b(0x10f)]&&_0x31a38d['push'](_0x162ffb[_0x4f114b(0x10f)]);});}),[][_0x273e13(0x130)](_0x31a38d,this[_0x273e13(0x1cc)](_0xb5d408['parent']));}[a4_0xe971b(0x173)](_0x497ead){const _0x5d8709=a4_0xe971b,_0x2d5d5e=/^"(?<hook>.*)" hook:.*$/,_0x41590c=_0x497ead['title'],_0x24d30a=_0x41590c['match'](_0x2d5d5e);if(_0x24d30a&&_0x24d30a[_0x5d8709(0x101)])return _0x24d30a[_0x5d8709(0x101)][_0x5d8709(0x188)][_0x5d8709(0x13a)]()[_0x5d8709(0x154)]('\x20','_');return null;}[a4_0xe971b(0x1a6)](_0x3d6670){const _0x116ac3=a4_0xe971b,_0x1052d9={};_0x1052d9['tXsZh']=function(_0x1b24bf,_0x54a8a1){return _0x1b24bf===_0x54a8a1;},_0x1052d9[_0x116ac3(0x17c)]=_0x116ac3(0x111),_0x1052d9[_0x116ac3(0x1ce)]='config';const _0x2ec71a=_0x1052d9,_0x1c56fe=path[_0x116ac3(0x106)];if(_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,null)||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,'')||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,_0x1c56fe))return null;try{return fs[_0x116ac3(0x1a2)](path[_0x116ac3(0x118)](_0x3d6670,_0x2ec71a[_0x116ac3(0x17c)],_0x2ec71a[_0x116ac3(0x1ce)])),_0x3d6670;}catch(_0xa88f70){const _0x110c92=path[_0x116ac3(0x1a7)](_0x3d6670);return this['findGitConfig'](_0x110c92);}}[a4_0xe971b(0x187)](_0x37687b){const _0x4161e7=a4_0xe971b,_0x4d8f7c={};_0x4d8f7c[_0x4161e7(0x1ca)]=function(_0x2056ca,_0xad015d){return _0x2056ca>_0xad015d;};const _0x20a320=_0x4d8f7c;if(_0x37687b[_0x4161e7(0x136)])return _0x37687b[_0x4161e7(0x136)];if(_0x37687b[_0x4161e7(0x11a)]){const _0xa8af2=_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null;if(_0xa8af2)return _0xa8af2;}if(_0x37687b[_0x4161e7(0x131)]){const _0x54afb8=this[_0x4161e7(0x187)](_0x37687b['parent'])||(_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)]&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null);if(_0x54afb8)return _0x54afb8;_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)]&&_0x20a320[_0x4161e7(0x1ca)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x11f)],0x0)&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x1ae)](_0x5642e3=>{const _0x5ef80e=_0x4161e7,_0x50dbf3=_0x5642e3[_0x5ef80e(0x11a)]?this[_0x5ef80e(0x187)](_0x5642e3['ctx']):null;if(_0x50dbf3)return _0x50dbf3;});}return null;}[a4_0xe971b(0x180)](_0x2b34ff){const _0x54a166=a4_0xe971b,_0x4242fa={};_0x4242fa[_0x54a166(0x10c)]=function(_0x18914b,_0x5623e1){return _0x18914b!==_0x5623e1;};const _0x4e1c3c=_0x4242fa,_0x23882c=[];if(_0x2b34ff&&_0x2b34ff[_0x54a166(0x131)]){let _0x269f2a=_0x2b34ff[_0x54a166(0x131)];while(_0x269f2a&&_0x4e1c3c[_0x54a166(0x10c)](_0x269f2a[_0x54a166(0x128)],'')){_0x23882c['push'](_0x269f2a[_0x54a166(0x128)]),_0x269f2a=_0x269f2a[_0x54a166(0x131)];}}return _0x23882c;}[a4_0xe971b(0x193)](_0x1ca5e3,_0x48b5b0,_0x2318f0=undefined){const _0x679283=a4_0xe971b,_0x54bd8c={'jKmxf':function(_0x287fbb,_0x5dc86a){return _0x287fbb(_0x5dc86a);},'aCsTS':function(_0x4a4ee3){return _0x4a4ee3();},'ATCEn':function(_0x5e71ee){return _0x5e71ee();},'XxUzu':_0x679283(0x137),'lgqWP':'err','tjsFL':function(_0x8218d2,_0x29448f){return _0x8218d2!==_0x29448f;},'MjaZZ':'File\x20path\x20could\x20not\x20be\x20found','mNIGs':_0x679283(0x186),'lpcYM':_0x679283(0x1be),'fvZar':'passed','zczID':_0x679283(0x17f),'qCtKI':_0x679283(0xf5),'QJbXz':function(_0x3b60af,_0x21bcc2){return _0x3b60af-_0x21bcc2;},'EbLIa':function(_0xf9a4b7,_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274){return _0xf9a4b7(_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274);},'TmeDN':function(_0x272e6a,_0x5a988f){return _0x272e6a!==_0x5a988f;},'zabld':'integrations','lnnEn':_0x679283(0x1c6),'KldJw':_0x679283(0x11b),'omLCs':_0x679283(0x144),'WhNfX':'backtrace','TDMHH':_0x679283(0x165),'RwHjC':_0x679283(0x1a4),'HkiYj':function(_0x2ae6a1,_0x177ad8){return _0x2ae6a1===_0x177ad8;},'jAfat':_0x679283(0x11d),'UyaCU':'test_run'};if(!this['enabled'])return;try{if(_0x48b5b0['fn']&&_0x48b5b0['fn'][_0x679283(0x174)]()['match'](/browserstack internal helper hook/))return;const _0x49bf4c=_0x54bd8c[_0x679283(0x1cf)](parseEvent,_0x1ca5e3);if(!_0x49bf4c)return;if(_0x49bf4c['test']){this[_0x679283(0x13c)]=_0x48b5b0,this[_0x679283(0x1dd)]=null;if(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c[_0x679283(0x17f)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x1d0)])_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4);else _0x48b5b0[_0x679283(0xfc)]&&(!_0x48b5b0[_0x679283(0x1c4)]&&(_0x48b5b0[_0x679283(0x1c4)]=_0x48b5b0[_0x679283(0x1d0)]),_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}else{if(_0x49bf4c[_0x679283(0x188)]){this[_0x679283(0x1dd)]=_0x48b5b0;if(_0x49bf4c[_0x679283(0x179)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x10f)])_0x48b5b0['hookAnalyticsId']=_0x54bd8c[_0x679283(0x1cd)](uuidv4);else _0x48b5b0['hookAnalyticsId']&&_0x48b5b0[_0x679283(0xfc)]&&(_0x48b5b0[_0x679283(0x10f)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}}if(_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0xfc)])return;let _0x2f5388;try{_0x2f5388=this[_0x679283(0x187)](_0x48b5b0);}catch(_0x37136a){logger[_0x679283(0xff)](_0x679283(0x160)+_0x37136a),_0x2f5388=null;}const _0x46a45d=_0x54bd8c[_0x679283(0x1cf)](require,_0x54bd8c[_0x679283(0x182)]);let _0x283736=[];_0x2318f0&&(_0x283736=[_0x2318f0,_0x54bd8c[_0x679283(0x199)]]);const _0x51765b=_0x54bd8c[_0x679283(0x1d9)](_0x48b5b0[_0x679283(0x17b)],undefined)?_0x46a45d['inspect'](_0x48b5b0[_0x679283(0x17b)][0x0]):_0x54bd8c['tjsFL'](_0x2318f0,undefined)?_0x2318f0['toString']():undefined,_0x44071b=_0x2f5388?this[_0x679283(0x1a6)](_0x2f5388):null,_0x4beea6=_0x2f5388?this[_0x679283(0x16f)]['prefixTestPath'](this['getRootParentFile'](_0x48b5b0)):_0x54bd8c[_0x679283(0x14d)];let _0x324fdf=_0x54bd8c[_0x679283(0xf6)];const _0x1f3670=!_0x49bf4c[_0x679283(0x179)]?new Date()[_0x679283(0x18b)]():null;if(_0x49bf4c[_0x679283(0x183)])_0x324fdf=_0x2318f0?_0x54bd8c[_0x679283(0x143)]:_0x54bd8c[_0x679283(0x1a1)],_0x48b5b0['markedStatus']=!![];else _0x49bf4c['skipped']&&(_0x324fdf=_0x54bd8c[_0x679283(0x1db)],_0x48b5b0[_0x679283(0xfc)]=!![]);const _0x389cf1={'framework':this[_0x679283(0x134)],'uuid':_0x48b5b0['testAnalyticsId']||_0x48b5b0['hookAnalyticsId'],'name':_0x48b5b0[_0x679283(0x128)],'body':{'lang':_0x54bd8c[_0x679283(0x16d)],'code':_0x48b5b0[_0x679283(0x10b)][_0x679283(0x174)]()},'type':_0x48b5b0['type'],'scope':_0x48b5b0[_0x679283(0xfa)](),'scopes':this[_0x679283(0x180)](_0x48b5b0),'file_name':_0x4beea6,'vc_filepath':_0x44071b?path[_0x679283(0x1b2)](_0x44071b,_0x2f5388):null,'location':_0x4beea6,'result':_0x324fdf,'failure_reason':_0x51765b,'duration_in_ms':_0x48b5b0[_0x679283(0x1c8)]||(_0x49bf4c['finished']||_0x49bf4c[_0x679283(0x17f)])?_0x54bd8c[_0x679283(0x12f)](Date['now'](),new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x1d2)]()):null,'started_at':new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x18b)](),'finished_at':_0x1f3670,'failure':testOpsHelper[_0x679283(0x1bf)][_0x679283(0x1bd)](null,_0x283736),'failure_type':!_0x51765b?null:testOpsHelper['getFailureType'](_0x51765b),'retry_of':_0x48b5b0[_0x679283(0x1c4)]||null,'tags':_0x48b5b0[_0x679283(0x146)]||[],'customRerunParam':{'rerun_name':_0x48b5b0[_0x679283(0xfa)]()}};_0x54bd8c[_0x679283(0x105)](appendTesthubParams,_0x389cf1,_0x1ca5e3,_0x48b5b0,FRAMEWORKS[_0x679283(0x11e)]);if(_0x49bf4c[_0x679283(0x188)])[_0x389cf1['hook_type'],_0x389cf1[_0x679283(0x1c2)]]=[this[_0x679283(0x173)](_0x48b5b0),_0x48b5b0[_0x679283(0x11a)][_0x679283(0x153)][_0x679283(0x128)]],_0x49bf4c[_0x679283(0x183)]?_0x54bd8c[_0x679283(0x15c)](_0x389cf1['result'],_0x54bd8c[_0x679283(0x143)])&&(_0x389cf1[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x1a1)]):_0x389cf1[_0x679283(0x10b)]={};else _0x49bf4c[_0x679283(0x153)]&&(this['mapTestHooks'](_0x48b5b0),_0x49bf4c['skipped']&&this[_0x679283(0x18e)](_0x48b5b0),(_0x49bf4c[_0x679283(0x183)]||_0x49bf4c[_0x679283(0x17f)])&&(_0x389cf1[_0x679283(0x152)]=this[_0x679283(0x1cc)](_0x48b5b0)));this[_0x679283(0x1b9)]&&(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c['skipped'])&&(_0x389cf1[_0x54bd8c[_0x679283(0x117)]]=this[_0x679283(0x124)](this['driver']));_0x49bf4c[_0x679283(0x153)]&&_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0x12a)]&&(_0x389cf1[_0x54bd8c['lnnEn']]={'feature':{'name':_0x48b5b0[_0x679283(0x131)]['feature'][_0x679283(0x1c2)],'path':_0x389cf1['file_name'],'description':_0x48b5b0[_0x679283(0x131)][_0x679283(0x163)]},'scenario':{'name':_0x48b5b0[_0x679283(0x128)]},'steps':_0x48b5b0[_0x679283(0x12a)]});const _0x238c55=_0x389cf1[_0x54bd8c[_0x679283(0x189)]][0x0];_0x238c55&&(_0x389cf1[_0x54bd8c['omLCs']]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]],_0x389cf1[_0x54bd8c['TDMHH']]=_0x238c55[_0x54bd8c[_0x679283(0x1af)]]);if(_0x48b5b0[_0x679283(0x12a)])for(const _0x289175 of _0x48b5b0[_0x679283(0x12a)]){!_0x289175[_0x679283(0x167)]&&(_0x289175[_0x679283(0x167)]=new Date()[_0x679283(0x18b)](),_0x54bd8c[_0x679283(0x15e)](_0x289175[_0x679283(0x177)],_0x54bd8c[_0x679283(0xf6)])&&(_0x238c55?(_0x289175[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x143)],_0x289175[_0x679283(0x11b)]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]][0x0]):_0x289175[_0x679283(0x177)]=_0x54bd8c['fvZar']));}const _0x3f103f={};_0x3f103f[_0x679283(0x190)]=_0x49bf4c['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1ca5e3;const _0x269e04=_0x3f103f;return _0x49bf4c[_0x679283(0x188)]?_0x269e04[_0x54bd8c['jAfat']]=_0x389cf1:_0x269e04[_0x54bd8c['UyaCU']]=_0x389cf1,_0x269e04;}catch(_0x4f4459){logger[_0x679283(0xff)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1ca5e3+_0x679283(0x13e)+_0x4f4459);}}async[a4_0xe971b(0x197)](_0x4bc9af,_0xe68811){const _0xb7de21=a4_0xe971b;if(!this[_0xb7de21(0x175)]||!_0xe68811||!_0x4bc9af)return![];try{return await SessionHandler[_0xb7de21(0x162)](_0xe68811);}catch(_0x27668a){logger[_0xb7de21(0xff)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4bc9af+'\x20with\x20error\x20:\x20'+_0x27668a);}}[a4_0xe971b(0x15b)](_0x15d893){const _0x3f0dfd=a4_0xe971b,_0x3ebd11={};_0x3ebd11[_0x3f0dfd(0x16b)]=_0x3f0dfd(0x186);const _0x403d08=_0x3ebd11;return{'id':_0x15d893[_0x3f0dfd(0x15a)],'text':_0x15d893['text'],'keyword':_0x15d893[_0x3f0dfd(0x1ac)],'started_at':_0x15d893[_0x3f0dfd(0x161)]['toISOString'](),'result':_0x403d08['DAAow']};}[a4_0xe971b(0x12c)](_0x50d814){const _0x217bf7=a4_0xe971b,_0x44bc64={'bHScB':function(_0x4221b3){return _0x4221b3();}};!this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]&&(this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]=[]),!_0x50d814[_0x217bf7(0x15a)]&&(_0x50d814[_0x217bf7(0x15a)]=_0x44bc64[_0x217bf7(0x141)](uuidv4),_0x50d814[_0x217bf7(0x161)]=new Date(),this[_0x217bf7(0x13c)][_0x217bf7(0x12a)][_0x217bf7(0x15f)](this[_0x217bf7(0x15b)](_0x50d814)));}[a4_0xe971b(0x123)](_0x3d84c8){const _0x519f33=a4_0xe971b,_0xb85f7b={'zGAEC':function(_0x30190d,_0x14b2fe){return _0x30190d(_0x14b2fe);},'npETv':_0x519f33(0x1c1),'alKpF':_0x519f33(0x186),'hPVlx':_0x519f33(0x129),'OmzlU':function(_0xa27427,_0x36c8f1){return _0xa27427-_0x36c8f1;}};let _0x2ddb44=this[_0x519f33(0x13c)][_0x519f33(0x12a)][_0x519f33(0x149)](_0x5ab02c=>_0x5ab02c['id']===_0x3d84c8[_0x519f33(0x15a)]);_0xb85f7b[_0x519f33(0x1d4)](isUndefined,_0x2ddb44)&&(_0x2ddb44=this[_0x519f33(0x15b)](_0x3d84c8)),_0x2ddb44[_0x519f33(0x177)]=[_0xb85f7b[_0x519f33(0x107)],_0xb85f7b[_0x519f33(0x194)]][_0x519f33(0x1d7)](_0x3d84c8[_0x519f33(0x14b)])?_0xb85f7b['hPVlx']:_0x3d84c8['status'],_0x2ddb44['finished_at']=new Date()[_0x519f33(0x18b)](),_0x2ddb44[_0x519f33(0x1c8)]=_0xb85f7b[_0x519f33(0x168)](Date[_0x519f33(0x11c)](),_0x3d84c8['startedAt'][_0x519f33(0x1d2)]()),_0x2ddb44[_0x519f33(0x11b)]=_0x3d84c8['err']?_0x3d84c8[_0x519f33(0x170)]['message']:null;}}const a4_0x27d842={};a4_0x27d842[a4_0xe971b(0x145)]=O11yHelper,a4_0x27d842[a4_0xe971b(0x1e4)]=STATE_PASSED,a4_0x27d842[a4_0xe971b(0x15d)]=STATE_FAILED,a4_0x27d842[a4_0xe971b(0x1d3)]=TEST_EVENTS,module[a4_0xe971b(0x12b)]=a4_0x27d842;function a4_0x3c05(_0x4e9296,_0x26f239){const _0x3b0239=a4_0x3b02();return a4_0x3c05=function(_0x3c05a3,_0x34b485){_0x3c05a3=_0x3c05a3-0xf5;let _0x348ec4=_0x3b0239[_0x3c05a3];return _0x348ec4;},a4_0x3c05(_0x4e9296,_0x26f239);}function a4_0x3b02(){const _0x3cd733=['hWpuP','captureEvent','alKpF','removeAllListeners','getInstance','fireEvent','sendCBTInfo','lgqWP','location_prefix','lzYzw','25PnXHfT','aCsTS','toLowerCase','LogCreated','stop','fvZar','statSync','../playwright/accessibility-helper','expanded','TestRunFinished','findGitConfig','dirname','BtKqb','kNEpS','Failed\x20to\x20parse\x20wsendpoint\x20','ODLSP','keyword','UIDpN','forEach','RwHjC','../playwright/sessionDetails','EBfAH','relative','setupBrowserDetails','22684797ixdhOf','owPJz','993724KDRjry','../../helpers/test-observability/utils','match','driver','Playwright','4|2|5|0|1|3','knWdU','apply','failed','failureData','kKbpg','success','name','codeceptjs','retryOf','yxqtc','meta','2549976sgsfJp','duration','_afterEach','DCizP','VfQUc','getHooksForTest','ATCEn','ZsUJm','jKmxf','testAnalyticsId','hPWUl','getTime','TEST_EVENTS','zGAEC','1758897qkPiJt','pid','includes','vqmRc','tjsFL','defineProperty','zczID','TEST_RUN_STARTED','currentHook','nIgDd','lib','jasxw','HOjET','TEST_RUN_FINISHED','test_run_uuid','STATE_PASSED','_beforeEach','javascript','mNIGs','bind','7403400cZvcWW','BrowserType','fullTitle','uuid','markedStatus','WhNfX','PLAYWRIGHT_HUB_URL','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','groups','ZOFjE','_testEnv','yiMau','EbLIa','sep','npETv','pLFPt','DDgON','LMdSZ','body','GCHDd','winstonLogger','string','hookAnalyticsId','../mocha/test-observability/mochaUtils','.git','YggjU','prototype','CBTSessionCreated','appendTestItemLog','../../helpers/test-observability/constants','zabld','join','NNvzz','ctx','failure','now','hook_run','CODECEPT','length','wsEndpoint','kNqqU','../../helpers/test-observability/requestQueueHandler','bddStepFinish','getCBTInfo','tXsZh','obsBrowserTypeMockApplied','IQaww','title','passed','bddSteps','exports','bddStepStart','ZkDlr','suites','QJbXz','concat','parent','launch','mqtPO','frameworkName','TestRunSkipped','file','util','uAEzJ','JGuCv','toUpperCase','shutdown','currentTest','MMDrX','\x20with\x20error\x20:\x20','OigBK','AMuwd','bHScB','_beforeAll','lpcYM','failure_backtrace','O11yHelper','tags','ZbRHq','hook_run_uuid','find','XASdE','status','bs:addLog:','MjaZZ','_afterAll','PathHelper','TestRunStarted','aCueN','hooks','test','replace','eXlXX','890661NLRADj','accessibilityPlatform','cwd','mapTestHooks','stepAnalyticsId','initializeBddStep','TmeDN','STATE_FAILED','HkiYj','push','failed\x20to\x20get\x20root\x20parent\x20file\x20','startedAt','uploadEventData','comment','njXPx','failure_reason_expanded','OFsdx','finished_at','OmzlU','fzWZZ','connect','DAAow','QUrWX','qCtKI','browserType.js','_paths','err','ZkgtJ','HOOK_RUN_STARTED','getHookType','toString','enabled','HookRunStarted','result','client','started','MZFuS','errorsDetailed','UTLsN','9pEzzbg','../utils/constants','skipped','getHierarchy','logs','XxUzu','finished','../../helpers/test-observability/sessionHandler','Not\x20able\x20to\x20import\x20Browser','pending','getRootParentFile','hook','KldJw','then','toISOString','stringify','../../helpers/helper','resetSkipTestHooks','59454xMyjhb','event_type','test_run'];a4_0x3b02=function(){return _0x3cd733;};return a4_0x3b02();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a4_0x46d6b4=a4_0x5e24;(function(_0xeb56fa,_0x4f46a2){const _0x3af6d2=a4_0x5e24,_0x4281ba=_0xeb56fa();while(!![]){try{const _0x2bc83d=parseInt(_0x3af6d2(0x119))/0x1+-parseInt(_0x3af6d2(0x16e))/0x2+parseInt(_0x3af6d2(0x177))/0x3+-parseInt(_0x3af6d2(0x170))/0x4*(parseInt(_0x3af6d2(0x142))/0x5)+parseInt(_0x3af6d2(0x164))/0x6*(parseInt(_0x3af6d2(0x13f))/0x7)+-parseInt(_0x3af6d2(0x17e))/0x8+parseInt(_0x3af6d2(0x13d))/0x9;if(_0x2bc83d===_0x4f46a2)break;else _0x4281ba['push'](_0x4281ba['shift']());}catch(_0x15ed6c){_0x4281ba['push'](_0x4281ba['shift']());}}}(a4_0x1626,0xc6d6c));function a4_0x1626(){const _0x5a5ccc=['LtUBv','turboScaleUrl','../../helpers/testhub/testhubHandler','parallelsPerPlatform','60jZLJKA','../../helpers/logger','EcvJA','util','\x20passed','removeDir','stepsPending','launchBuild','processSuccess','XyPVP','2983998ygsXFh','argv','3329428AfVgAB','ixfdd','\x20pending','getUserWorkerCount','errorMessage','YyxRs','tmp','599433ieShXc','stepsSkipped','jPjZw','isUndefined','testObservability','\x20skipped','CUCUMBER','8965576QKpYls','getErrorMessageFromResults','stringify','bgWhite','EciKS','accessibilityOptions','mergeOutputFiles','AgtOw','stop','scenarios','1251745xkLQCF','bold','red','BROWSERSTACK_TEST_OBSERVABILITY_YML','../utils/constants','useW3C','join','QROev','getPlatformName','skipSessionStatus','format','createDir','cwd','prepareCapabilities','YQdnV','env','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','then','GKMAZ','uCoGm','ietzI','tAyPB','cyan','config','eVwMv','false','rabcc','../../helpers/helper','\x20scenarios','debug','qtrqI','\x20failed','stepsAmbiguous','DIAYF','stepsFailed','\x20undefined','20206089yUpIZe','skipSessionName','393974NEjcVc','\x20ambiguous','forEach','5eCOnnK','MTiJL','handleApp','getHubUrl','dNUiS','../test-runner','log','finalExecution','rhIUJ','proxySettings','markSDKSetupComplete','length','Removing\x20tmp\x20directory\x20created\x20for\x20reports','parseFormatters','\x20steps','stepsPassed','FRAMEWORKS','../../helpers/BrowserStackSetup','splice','chalk','testContextOptions','printBuildLink','PWwFs','green','WtECk','push','steps','qdlDL','initialize','yellow'];a4_0x1626=function(){return _0x5a5ccc;};return a4_0x1626();}function a4_0x5e24(_0x5d736f,_0xd30c8e){const _0x1626c0=a4_0x1626();return a4_0x5e24=function(_0x5e24fb,_0x2793f8){_0x5e24fb=_0x5e24fb-0x113;let _0x350b69=_0x1626c0[_0x5e24fb];return _0x350b69;},a4_0x5e24(_0x5d736f,_0xd30c8e);}const fs=require('fs'),path=require('path'),util=require(a4_0x46d6b4(0x167)),logger=require(a4_0x46d6b4(0x165))['winstonLogger'],{default:BrowserStackSetup}=require(a4_0x46d6b4(0x153)),helper=require(a4_0x46d6b4(0x134)),constants=require(a4_0x46d6b4(0x11d)),{parallelCucumberRun}=require(a4_0x46d6b4(0x147)),TestHubHandler=require(a4_0x46d6b4(0x162)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a4_0x46d6b4(0x155));function printCucumberStats(_0x58e720){const _0x26c28e=a4_0x46d6b4,_0x3523b4={};_0x3523b4['MTiJL']=function(_0x5498ee,_0x3f811c){return _0x5498ee>_0x3f811c;},_0x3523b4[_0x26c28e(0x12b)]=function(_0x55304e,_0x39bed7){return _0x55304e-_0x39bed7;},_0x3523b4[_0x26c28e(0x15d)]=function(_0x3518ba,_0x5d891e){return _0x3518ba>_0x5d891e;},_0x3523b4[_0x26c28e(0x13a)]=function(_0x3cbac7,_0x1ac0f6){return _0x3cbac7>_0x1ac0f6;},_0x3523b4['uCoGm']=function(_0x24b23c,_0x432fd7){return _0x24b23c>_0x432fd7;},_0x3523b4[_0x26c28e(0x15a)]=function(_0x367cc6,_0x34eacf){return _0x367cc6>_0x34eacf;},_0x3523b4[_0x26c28e(0x175)]=function(_0x49b466,_0x2ab21e){return _0x49b466>_0x2ab21e;},_0x3523b4['YQdnV']=function(_0x5afed0,_0x3d1d51){return _0x5afed0>_0x3d1d51;},_0x3523b4['DvCWG']=function(_0x1febca,_0x3599aa){return _0x1febca>_0x3599aa;},_0x3523b4['jPjZw']=function(_0x4443aa,_0xb2bb9f){return _0x4443aa+_0xb2bb9f;},_0x3523b4[_0x26c28e(0x160)]=function(_0x4c028e,_0x377caa){return _0x4c028e+_0x377caa;},_0x3523b4[_0x26c28e(0x16d)]=function(_0x18a8de,_0x4f863f){return _0x18a8de+_0x4f863f;},_0x3523b4[_0x26c28e(0x166)]=function(_0x274c99,_0x3aa331){return _0x274c99+_0x3aa331;},_0x3523b4[_0x26c28e(0x116)]=function(_0x30c194,_0x1ef428){return _0x30c194+_0x1ef428;},_0x3523b4[_0x26c28e(0x131)]=function(_0x33740c,_0x4dff6a){return _0x33740c===_0x4dff6a;},_0x3523b4['ixfdd']='****\x20RESULTS\x20****';const _0x272d6c=_0x3523b4;let _0x1590a1=0x0;if(_0x272d6c[_0x26c28e(0x131)](_0x58e720[_0x26c28e(0x14d)],0x0))return _0x1590a1;return console[_0x26c28e(0x148)](chalk[_0x26c28e(0x11a)][_0x26c28e(0x181)](_0x272d6c[_0x26c28e(0x171)])),_0x58e720[_0x26c28e(0x141)](_0x5af341=>{const _0x1edbed=_0x26c28e,_0xfee066=_0x5af341[0x0],_0x116d9d=_0x5af341[0x1];console[_0x1edbed(0x148)]('\x0a'+chalk[_0x1edbed(0x11a)][_0x1edbed(0x15f)](''+helper[_0x1edbed(0x121)](_0xfee066)));const _0xc999c1=_0x116d9d[_0x1edbed(0x118)],_0x3156e3=_0x116d9d[_0x1edbed(0x15c)],_0x86cd75=_0x116d9d['scenariosFailed'],_0x4e6fae=_0x116d9d[_0x1edbed(0x13b)],_0x279ee0=_0x116d9d[_0x1edbed(0x151)],_0x550507=_0x116d9d[_0x1edbed(0x178)],_0x26be25=_0x116d9d[_0x1edbed(0x16a)],_0x3844dc=_0x116d9d['stepsUndefined'],_0x93311f=_0x116d9d['stepsUnknown'],_0x2fefa8=_0x116d9d[_0x1edbed(0x139)],_0x330620=_0x116d9d[_0x1edbed(0x16c)];let _0x174b4f=_0xc999c1+_0x1edbed(0x135);const _0x1fa93b=_0x272d6c[_0x1edbed(0x143)](_0x272d6c[_0x1edbed(0x12b)](_0xc999c1,_0x86cd75),0x0)?_0x272d6c['GKMAZ'](_0xc999c1,_0x86cd75):0x0;if(_0x272d6c[_0x1edbed(0x143)](_0x86cd75,0x0)&&_0x272d6c['qdlDL'](_0x1fa93b,0x0))_0x174b4f+='\x20('+chalk[_0x1edbed(0x11a)][_0x1edbed(0x11b)](_0x86cd75+'\x20failed')+',\x20'+chalk[_0x1edbed(0x11a)][_0x1edbed(0x159)](_0x1fa93b+'\x20passed')+')';else(_0x272d6c[_0x1edbed(0x13a)](_0x86cd75,0x0)||_0x272d6c['DIAYF'](_0x1fa93b,0x0))&&(_0x174b4f+=_0x272d6c[_0x1edbed(0x12c)](_0x86cd75,0x0)?'\x20('+chalk[_0x1edbed(0x11a)][_0x1edbed(0x11b)](_0x86cd75+_0x1edbed(0x138))+')':'\x20('+chalk[_0x1edbed(0x11a)][_0x1edbed(0x159)](_0x1fa93b+_0x1edbed(0x168))+')');const _0xc7d9b4=_0x3156e3+_0x1edbed(0x150),_0xf09534=[];_0x272d6c[_0x1edbed(0x143)](_0x2fefa8,0x0)&&_0xf09534['push'](''+chalk[_0x1edbed(0x11a)][_0x1edbed(0x11b)](_0x2fefa8+_0x1edbed(0x140)));_0x272d6c[_0x1edbed(0x13a)](_0x4e6fae,0x0)&&_0xf09534[_0x1edbed(0x15b)](''+chalk[_0x1edbed(0x11a)]['red'](_0x4e6fae+_0x1edbed(0x138)));_0x272d6c[_0x1edbed(0x15a)](_0x279ee0,0x0)&&_0xf09534[_0x1edbed(0x15b)](''+chalk[_0x1edbed(0x11a)][_0x1edbed(0x159)](_0x279ee0+'\x20passed'));_0x272d6c[_0x1edbed(0x175)](_0x26be25,0x0)&&_0xf09534['push'](''+chalk[_0x1edbed(0x11a)][_0x1edbed(0x15f)](_0x26be25+_0x1edbed(0x172)));_0x272d6c[_0x1edbed(0x127)](_0x550507,0x0)&&_0xf09534[_0x1edbed(0x15b)](''+chalk[_0x1edbed(0x11a)][_0x1edbed(0x12f)](_0x550507+_0x1edbed(0x17c)));_0x272d6c['DvCWG'](_0x3844dc,0x0)&&_0xf09534[_0x1edbed(0x15b)](''+chalk[_0x1edbed(0x11a)][_0x1edbed(0x15f)](_0x3844dc+_0x1edbed(0x13c)));_0x272d6c[_0x1edbed(0x15a)](_0x93311f,0x0)&&_0xf09534['push'](''+chalk[_0x1edbed(0x11a)]['yellow'](_0x93311f+_0x1edbed(0x17c)));const _0x39f863=_0x272d6c[_0x1edbed(0x179)](_0x272d6c['LtUBv'](_0x272d6c['XyPVP'](_0xc7d9b4,'('),_0xf09534['join'](',\x20')),')');console[_0x1edbed(0x148)](_0x272d6c['XyPVP'](_0x272d6c[_0x1edbed(0x179)](_0x272d6c[_0x1edbed(0x166)](_0x272d6c['AgtOw']('\x0a',_0x174b4f),'\x0a'),_0x39f863),'\x0a')),_0x272d6c['eVwMv'](_0x330620,![])&&(_0x1590a1=0x1);}),_0x1590a1;}async function run(_0x3555e4,_0x1592da){const _0xcaf13c=a4_0x46d6b4,_0x32f942={'rhIUJ':function(_0x187a97,_0xfe71dd){return _0x187a97(_0xfe71dd);},'EciKS':function(_0x1d05f5,_0x1a3ea3){return _0x1d05f5>_0x1a3ea3;},'ietzI':'Generating\x20consolidated\x20report...','pHupY':_0xcaf13c(0x14e),'qtrqI':'cucumber','tMJeQ':'cucumber-js','QROev':_0xcaf13c(0x176),'rabcc':function(_0x14cb26,_0x5a1ae6){return _0x14cb26-_0x5a1ae6;},'tAyPB':function(_0x4cefa9,_0x33b674){return _0x4cefa9>=_0x33b674;},'RWyIb':function(_0xadbfff,_0x1c4f5d){return _0xadbfff!=_0x1c4f5d;},'PWwFs':_0xcaf13c(0x132),'dNUiS':function(_0x15eb9a,_0x435439,_0x280cc4,_0x473cf7,_0x41a7ae,_0x269e49){return _0x15eb9a(_0x435439,_0x280cc4,_0x473cf7,_0x41a7ae,_0x269e49);}},_0xf0bc8=new BrowserStackSetup(_0x3555e4,_0x32f942['tMJeQ']);await _0xf0bc8[_0xcaf13c(0x15e)](),await helper[_0xcaf13c(0x144)](_0xf0bc8[_0xcaf13c(0x130)]);const _0x3eab59=helper[_0xcaf13c(0x11e)](_0xf0bc8[_0xcaf13c(0x130)]),_0x22ed0c=helper[_0xcaf13c(0x126)](_0xf0bc8[_0xcaf13c(0x130)],_0x3eab59,constants[_0xcaf13c(0x152)]['CUCUMBER']);if(!_0xf0bc8[_0xcaf13c(0x130)])return;const _0x431b83=_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x163)]||helper[_0xcaf13c(0x173)](_0x3555e4,_0x1592da,_0xf0bc8[_0xcaf13c(0x130)],constants[_0xcaf13c(0x152)][_0xcaf13c(0x17d)])||0x1,_0x36d459={'server':helper[_0xcaf13c(0x145)](_0xf0bc8['config']),'proxySettings':_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x14b)],'maxWorkers':_0x431b83,'browserStackLogLevel':_0xf0bc8[_0xcaf13c(0x130)]['logLevel'],'skipSessionName':_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x156)][_0xcaf13c(0x13e)],'skipSessionStatus':_0xf0bc8[_0xcaf13c(0x130)]['testContextOptions'][_0xcaf13c(0x122)],'turboScaleUrl':_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x161)]},_0x3cfbe9=process[_0xcaf13c(0x16f)],[_0x86c2e4,_0x2a90b1]=helper[_0xcaf13c(0x14f)](_0x3cfbe9),_0x7015b5=path[_0xcaf13c(0x11f)](process[_0xcaf13c(0x125)](),_0x32f942[_0xcaf13c(0x120)]);if(_0x32f942[_0xcaf13c(0x113)](_0x2a90b1['length'],0x0)){helper[_0xcaf13c(0x124)](_0x7015b5);for(let _0x474e6c=_0x32f942[_0xcaf13c(0x133)](_0x86c2e4[_0xcaf13c(0x14d)],0x1);_0x32f942[_0xcaf13c(0x12e)](_0x474e6c,0x0);_0x474e6c--){_0x3cfbe9[_0xcaf13c(0x154)](_0x86c2e4[_0x474e6c],0x2);}}!helper[_0xcaf13c(0x17a)](_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x114)])&&(process[_0xcaf13c(0x128)][_0xcaf13c(0x129)]=JSON[_0xcaf13c(0x180)](_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x114)]));_0x32f942['RWyIb'](_0xf0bc8[_0xcaf13c(0x130)][_0xcaf13c(0x17b)],null)?process['env'][_0xcaf13c(0x11c)]=_0xf0bc8['config'][_0xcaf13c(0x17b)]:process[_0xcaf13c(0x128)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x32f942[_0xcaf13c(0x158)];const _0x5cadb8=await TestHubHandler[_0xcaf13c(0x16b)](constants['FRAMEWORKS']['CUCUMBER'],_0xf0bc8);helper[_0xcaf13c(0x14c)]();let _0x46920a;_0x32f942[_0xcaf13c(0x146)](parallelCucumberRun,_0x22ed0c,_0x36d459,_0xf0bc8[_0xcaf13c(0x130)],_0x3cfbe9,_0x2a90b1)[_0xcaf13c(0x12a)](async _0x42f24e=>{const _0x4c784d=_0xcaf13c;_0x46920a=_0x42f24e;const _0xd3f7e3=_0x32f942[_0x4c784d(0x14a)](printCucumberStats,_0x42f24e);process['exitCode']=_0xd3f7e3,_0x32f942[_0x4c784d(0x113)](_0x2a90b1['length'],0x0)&&(logger[_0x4c784d(0x136)](_0x32f942[_0x4c784d(0x12d)]),helper[_0x4c784d(0x115)](_0x7015b5,_0x2a90b1),logger[_0x4c784d(0x136)](_0x32f942['pHupY']),helper[_0x4c784d(0x169)](_0x7015b5));})['finally'](async()=>{const _0x57c539=_0xcaf13c;_0xf0bc8[_0x57c539(0x174)]=helper[_0x57c539(0x17f)](_0x46920a,_0x32f942[_0x57c539(0x137)]),testOpsHelper[_0x57c539(0x157)]();try{await TestHubHandler[_0x57c539(0x117)]();}catch(_0x4db0f0){logger[_0x57c539(0x136)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x57c539(0x123)](_0x4db0f0));}await helper[_0x57c539(0x149)](_0xf0bc8);});}module['exports']=run;
|
|
2
|
+
'use strict';function a5_0x5357(){const _0x43c172=['stepsPassed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cucumber-js','stepsPending','nJfNt','format','LxMUk','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','EjzLX','971037dDMkzz','join','initialize','996382rSUzVv','markSDKSetupComplete','length','testObservability','steps','scenarios','UYxWS','prepareCapabilities','VWnzi','path','getHubUrl','removeDir','UfGcH','CUCUMBER','../utils/constants','ZtsDv','MIccv','bgWhite','XZEBr','bUevZ','gCCAB','mergeOutputFiles','getErrorMessageFromResults','cyan','accessibilityOptions','printBuildLink','ccpvE','fOaqj','exports','push','****\x20RESULTS\x20****','\x20scenarios','testContextOptions','green','errorMessage','logLevel','\x20failed','parallelsPerPlatform','uZbkC','turboScaleUrl','splice','stringify','exitCode','finalExecution','processSuccess','\x20skipped','yellow','error\x20removing\x20tcg\x20config\x20file','../test-runner','skipSessionStatus','stepsFailed','scenariosFailed','isBrowserstackInfra','255iOuCIx','CKfSn','getUserWorkerCount','GyueY','util','352zcOMUT','config','1305Fxpeeu','forEach','stepsUndefined','stepsAmbiguous','red','89820CfQdRB','../../helpers/test-observability/utils','debug','\x20pending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','20258tkBOsC','dGwnp','\x20steps','../../helpers/helper','unlinkSync','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','getPlatformName','bold','WXTAD','createDir','handleApp','FRAMEWORKS','cwd','6031416raPmEk','launchBuild','getTCGConfigFilePaths','cucumber','../../helpers/BrowserStackSetup','setupTCGAuth','then','SGjlo','isUndefined','stop','stepsUnknown','argv','yINHd','31610QWmdXk','../../helpers/testhub/testhubHandler','rmdirSync','Generating\x20consolidated\x20report...','cndSN','1179420ZoWBaT','log','\x20passed'];a5_0x5357=function(){return _0x43c172;};return a5_0x5357();}const a5_0x2bdbf4=a5_0x3e6e;(function(_0x14b20f,_0x29837d){const _0x5d3a0a=a5_0x3e6e,_0x5128d4=_0x14b20f();while(!![]){try{const _0x14be6f=parseInt(_0x5d3a0a(0x19c))/0x1+-parseInt(_0x5d3a0a(0x1ab))/0x2+-parseInt(_0x5d3a0a(0x1a8))/0x3+parseInt(_0x5d3a0a(0x18a))/0x4+parseInt(_0x5d3a0a(0x1e0))/0x5*(-parseInt(_0x5d3a0a(0x177))/0x6)+parseInt(_0x5d3a0a(0x17c))/0x7*(parseInt(_0x5d3a0a(0x1e5))/0x8)+-parseInt(_0x5d3a0a(0x1e7))/0x9*(parseInt(_0x5d3a0a(0x197))/0xa);if(_0x14be6f===_0x29837d)break;else _0x5128d4['push'](_0x5128d4['shift']());}catch(_0x578fae){_0x5128d4['push'](_0x5128d4['shift']());}}}(a5_0x5357,0xbc36d));const fs=require('fs'),path=require(a5_0x2bdbf4(0x1b4)),util=require(a5_0x2bdbf4(0x1e4)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x2bdbf4(0x18e)),helper=require(a5_0x2bdbf4(0x17f)),constants=require(a5_0x2bdbf4(0x1b9)),{parallelCucumberRun}=require(a5_0x2bdbf4(0x1db)),TestHubHandler=require(a5_0x2bdbf4(0x198)),testOpsHelper=require(a5_0x2bdbf4(0x178)),chalk=require('chalk');function a5_0x3e6e(_0x580af0,_0x46e048){const _0x5357b7=a5_0x5357();return a5_0x3e6e=function(_0x3e6e96,_0x1f3162){_0x3e6e96=_0x3e6e96-0x177;let _0x260c68=_0x5357b7[_0x3e6e96];return _0x260c68;},a5_0x3e6e(_0x580af0,_0x46e048);}function printCucumberStats(_0x5d449f){const _0x4e0c54=a5_0x2bdbf4,_0x1e69ec={};_0x1e69ec[_0x4e0c54(0x1bb)]=function(_0x2fc641,_0x3e3554){return _0x2fc641>_0x3e3554;},_0x1e69ec[_0x4e0c54(0x1c5)]=function(_0x487e7c,_0x41aded){return _0x487e7c-_0x41aded;},_0x1e69ec['ZtsDv']=function(_0x3eaf0e,_0x24eef8){return _0x3eaf0e-_0x24eef8;},_0x1e69ec[_0x4e0c54(0x1b1)]=function(_0x1b1376,_0x4e1341){return _0x1b1376>_0x4e1341;},_0x1e69ec[_0x4e0c54(0x1e3)]=function(_0x54e497,_0x5590b0){return _0x54e497>_0x5590b0;},_0x1e69ec[_0x4e0c54(0x17d)]=function(_0x1da588,_0x5604b1){return _0x1da588>_0x5604b1;},_0x1e69ec[_0x4e0c54(0x1be)]=function(_0x3cedc9,_0x4bd08f){return _0x3cedc9>_0x4bd08f;},_0x1e69ec[_0x4e0c54(0x19b)]=function(_0x27c038,_0x12e2ee){return _0x27c038+_0x12e2ee;},_0x1e69ec['ZVstN']=function(_0x49a65b,_0x129eb5){return _0x49a65b+_0x129eb5;},_0x1e69ec[_0x4e0c54(0x1a3)]=function(_0x224f93,_0x2bee84){return _0x224f93+_0x2bee84;},_0x1e69ec[_0x4e0c54(0x196)]=function(_0x509c51,_0x19c5ea){return _0x509c51===_0x19c5ea;},_0x1e69ec[_0x4e0c54(0x185)]=function(_0x1422a0,_0x2eeb3a){return _0x1422a0===_0x2eeb3a;},_0x1e69ec[_0x4e0c54(0x1bd)]=_0x4e0c54(0x1c9);const _0x123042=_0x1e69ec;let _0x4a8da7=0x0;if(_0x123042[_0x4e0c54(0x185)](_0x5d449f[_0x4e0c54(0x1ad)],0x0))return _0x4a8da7;return console['log'](chalk[_0x4e0c54(0x184)][_0x4e0c54(0x1bc)](_0x123042[_0x4e0c54(0x1bd)])),_0x5d449f[_0x4e0c54(0x1e8)](_0x5f3414=>{const _0x22f650=_0x4e0c54,_0x1391a1=_0x5f3414[0x0],_0x582770=_0x5f3414[0x1];console['log']('\x0a'+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](''+helper[_0x22f650(0x183)](_0x1391a1)));const _0x200967=_0x582770[_0x22f650(0x1b0)],_0x51a388=_0x582770[_0x22f650(0x1af)],_0x4499a0=_0x582770[_0x22f650(0x1de)],_0xa32335=_0x582770[_0x22f650(0x1dd)],_0x37774a=_0x582770[_0x22f650(0x19f)],_0x4dcdc6=_0x582770['stepsSkipped'],_0x183740=_0x582770[_0x22f650(0x1a2)],_0x4116ac=_0x582770[_0x22f650(0x1e9)],_0x184d95=_0x582770[_0x22f650(0x194)],_0x5ad0ef=_0x582770[_0x22f650(0x1ea)],_0x5acc41=_0x582770[_0x22f650(0x1d7)];let _0x290f91=_0x200967+_0x22f650(0x1ca);const _0x35db7c=_0x123042[_0x22f650(0x1bb)](_0x123042[_0x22f650(0x1c5)](_0x200967,_0x4499a0),0x0)?_0x123042[_0x22f650(0x1ba)](_0x200967,_0x4499a0):0x0;if(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)&&_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))_0x290f91+='\x20('+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+',\x20'+chalk[_0x22f650(0x184)][_0x22f650(0x1cc)](_0x35db7c+_0x22f650(0x19e))+')';else(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)||_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))&&(_0x290f91+=_0x123042[_0x22f650(0x1b1)](_0x4499a0,0x0)?'\x20('+chalk['bold'][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+')':'\x20('+chalk[_0x22f650(0x184)]['green'](_0x35db7c+_0x22f650(0x19e))+')');const _0x56a2ff=_0x51a388+_0x22f650(0x17e),_0x2c1b08=[];_0x123042['GyueY'](_0x5ad0ef,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x5ad0ef+'\x20ambiguous'));_0x123042[_0x22f650(0x1b1)](_0xa32335,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0xa32335+_0x22f650(0x1cf)));_0x123042['MIccv'](_0x37774a,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold']['green'](_0x37774a+_0x22f650(0x19e)));_0x123042['GyueY'](_0x183740,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)]['yellow'](_0x183740+_0x22f650(0x17a)));_0x123042[_0x22f650(0x17d)](_0x4dcdc6,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold'][_0x22f650(0x1c2)](_0x4dcdc6+_0x22f650(0x1d8)));_0x123042[_0x22f650(0x1e3)](_0x4116ac,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x4116ac+'\x20undefined'));_0x123042[_0x22f650(0x1be)](_0x184d95,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x184d95+_0x22f650(0x1d8)));const _0x49497d=_0x123042[_0x22f650(0x19b)](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN'](_0x56a2ff,'('),_0x2c1b08[_0x22f650(0x1a9)](',\x20')),')');console[_0x22f650(0x19d)](_0x123042['ZVstN'](_0x123042['nJfNt'](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN']('\x0a',_0x290f91),'\x0a'),_0x49497d),'\x0a')),_0x123042[_0x22f650(0x196)](_0x5acc41,![])&&(_0x4a8da7=0x1);}),_0x4a8da7;}async function run(_0x16324a,_0x665e01){const _0x2a67ce=a5_0x2bdbf4,_0x84928={'uZbkC':function(_0x4566ab,_0x2cb30b){return _0x4566ab(_0x2cb30b);},'fOaqj':function(_0xbf04f8,_0x38fd1f){return _0xbf04f8>_0x38fd1f;},'jePyX':_0x2a67ce(0x19a),'VWnzi':_0x2a67ce(0x1a0),'oAlbi':_0x2a67ce(0x18d),'LxMUk':_0x2a67ce(0x1da),'TQwHk':_0x2a67ce(0x1a1),'YQwao':'tmp','SGjlo':function(_0x293f32,_0x37f564){return _0x293f32-_0x37f564;},'UfGcH':function(_0x22c9f0,_0x494d66){return _0x22c9f0>=_0x494d66;},'CKfSn':function(_0x2a0238,_0x493974){return _0x2a0238!=_0x493974;},'gCCAB':'false','EjzLX':function(_0x166dc1,_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b){return _0x166dc1(_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b);}},_0x438d35=new BrowserStackSetup(_0x16324a,_0x84928['TQwHk']);await _0x438d35[_0x2a67ce(0x1aa)]();!helper[_0x2a67ce(0x1df)]()&&await _0x438d35[_0x2a67ce(0x18f)]();await helper[_0x2a67ce(0x187)](_0x438d35[_0x2a67ce(0x1e6)]);const _0x4cb1c7=helper['useW3C'](_0x438d35[_0x2a67ce(0x1e6)]),_0x1e6cc5=helper[_0x2a67ce(0x1b2)](_0x438d35[_0x2a67ce(0x1e6)],_0x4cb1c7,constants[_0x2a67ce(0x188)][_0x2a67ce(0x1b8)]);if(!_0x438d35[_0x2a67ce(0x1e6)])return;const _0x1cc2db=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d0)]||helper[_0x2a67ce(0x1e2)](_0x16324a,_0x665e01,_0x438d35[_0x2a67ce(0x1e6)],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x23615a={'server':helper[_0x2a67ce(0x1b5)](_0x438d35[_0x2a67ce(0x1e6)]),'proxySettings':_0x438d35[_0x2a67ce(0x1e6)]['proxySettings'],'maxWorkers':_0x1cc2db,'browserStackLogLevel':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ce)],'skipSessionName':_0x438d35[_0x2a67ce(0x1e6)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1cb)][_0x2a67ce(0x1dc)],'turboScaleUrl':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d2)]},_0x4f5564=process[_0x2a67ce(0x195)],[_0x4002f9,_0x5f5508]=helper['parseFormatters'](_0x4f5564),_0xeff23=path[_0x2a67ce(0x1a9)](process[_0x2a67ce(0x189)](),_0x84928['YQwao']);if(_0x84928['fOaqj'](_0x5f5508['length'],0x0)){helper[_0x2a67ce(0x186)](_0xeff23);for(let _0x3c2bd4=_0x84928[_0x2a67ce(0x191)](_0x4002f9[_0x2a67ce(0x1ad)],0x1);_0x84928[_0x2a67ce(0x1b7)](_0x3c2bd4,0x0);_0x3c2bd4--){_0x4f5564[_0x2a67ce(0x1d3)](_0x4002f9[_0x3c2bd4],0x2);}}!helper[_0x2a67ce(0x192)](_0x438d35[_0x2a67ce(0x1e6)]['accessibilityOptions'])&&(process[_0x2a67ce(0x181)][_0x2a67ce(0x17b)]=JSON[_0x2a67ce(0x1d4)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1c3)]));_0x84928[_0x2a67ce(0x1e1)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)],null)?process[_0x2a67ce(0x181)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)]:process[_0x2a67ce(0x181)][_0x2a67ce(0x182)]=_0x84928[_0x2a67ce(0x1bf)];const _0x2cb850=await TestHubHandler[_0x2a67ce(0x18b)](constants['FRAMEWORKS']['CUCUMBER'],_0x438d35);helper[_0x2a67ce(0x1ac)]();let _0x37b6fd;_0x84928[_0x2a67ce(0x1a7)](parallelCucumberRun,_0x1e6cc5,_0x23615a,_0x438d35[_0x2a67ce(0x1e6)],_0x4f5564,_0x5f5508)[_0x2a67ce(0x190)](async _0x2152aa=>{const _0xa36049=_0x2a67ce;_0x37b6fd=_0x2152aa;const _0x2e14c6=_0x84928[_0xa36049(0x1d1)](printCucumberStats,_0x2152aa);process[_0xa36049(0x1d5)]=_0x2e14c6,_0x84928[_0xa36049(0x1c6)](_0x5f5508['length'],0x0)&&(logger[_0xa36049(0x179)](_0x84928['jePyX']),helper[_0xa36049(0x1c0)](_0xeff23,_0x5f5508),logger[_0xa36049(0x179)](_0x84928[_0xa36049(0x1b3)]),helper[_0xa36049(0x1b6)](_0xeff23));})['finally'](async()=>{const _0x1c22bd=_0x2a67ce;_0x438d35[_0x1c22bd(0x1cd)]=helper[_0x1c22bd(0x1c1)](_0x37b6fd,_0x84928['oAlbi']),testOpsHelper[_0x1c22bd(0x1c4)]();try{await TestHubHandler[_0x1c22bd(0x193)]();}catch(_0x2f563b){logger[_0x1c22bd(0x179)](_0x1c22bd(0x1a6)+util[_0x1c22bd(0x1a4)](_0x2f563b));}try{const {browserstackFolderPath:_0x15c489,tcgConfigPath:_0x506aa6}=helper[_0x1c22bd(0x18c)]();fs[_0x1c22bd(0x180)](_0x506aa6),fs[_0x1c22bd(0x199)](_0x15c489);}catch(_0x3ba2fe){logger[_0x1c22bd(0x179)](_0x84928[_0x1c22bd(0x1a5)],_0x3ba2fe);}await helper[_0x1c22bd(0x1d6)](_0x438d35);});}module[a5_0x2bdbf4(0x1c7)]=run;
|