browserstack-node-sdk 1.34.11 → 1.34.12
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 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/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 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x3590(){const _0xaf5570=['hAehf','apply','executeScript','browser','tTlGZ','_before','WebDriver','browserstack_executor:\x20','getSyncScript','Fevdr','step','XRAOX','then','commandsToWrap','HOOK_RUN_FINISHED','exports','./o11yHelper','forEach','Performing\x20scan\x20for\x20','getAccessibilityResults','action','saveTestResults','ctx','../../helpers/test-observability/utils','bZVDU','biaEE','readFileSync','VCwfZ','2810iIVqHC','vyHaW','AlGhE','11531685lgKxsm','gfSBY','env','browserContext','bgSmS','toISOString','lrttR','../../helpers/logger','initSaveScreenshot','arguments','ENV_VAR','Playwright','edqAb','TestCafe','browserStackExecuteDriver','GPlmq','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','setSessionStatus','container','format','869419mPYWVU','base64','after','INFO','started','all','OOZpS','TVEmI','reason','status','iKsXC','20574HrAgEl','codeceptjs/lib/helper/Playwright.js','call','QvilZ','rbzxf','passed','hQjrY','hook','patch','PgruM','slice','captureEvent','getResultsSummary','helpers','Puppeteer','captureError','bddStep','debug','failed','bstackAllyScanning','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../bin/playwright/sessionDetails','fireEvent','bMVZa','class','currentTest','info','getAccessibilityResultsSummary','zjDwL','nhrbL','saveScreenshot','testAnalyticsId','suNLx','bddStepStart','WsTIe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','iGEgI','before','patchSaveScreenshot','codeceptjs/lib/recorder.js','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/request-spy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','133KiNswx','PCYIU','POgBz','codeceptjs/lib/index.js','../../helpers/accessibility-automation/scripts','thTestRunUuid','HOOK_RUN_STARTED','Element','../../bin/playwright/accessibility-helper','BROWSERSTACK_TESTHUB_UUID','2155JCmxEA','302552WjIlBd','catch','bddStepFinish','TEST_RUN_STARTED','./helper.js','stringify','restore','titlePath','stopMonitoring','prototype','cNLTH','skipSessionStatus','TEST_RUN_SKIPPED','31221QQVLGR','YQqZz','UOOwO','util','YuewE','../../helpers/performance-tester','emit','3236456mZhhQy','pid','start','name','title','BROWSERSTACK_TESTHUB_JWT','overwriteCommand','thBuildUuid','event','IEqCY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NcaZa','performScan','TEST_RUN_FINISHED','addRequestSpy','setSessionName','constructor','add','test','accessibilityPlatform','enabled','1750020tdjUBz','dispatcher','thJwtToken','XDDcs','contexts','yNudk','hOOHj','winstonLogger','IoTOY','lyHpE','4tViavt','warn','bs:addLog:','WaDWD'];a1_0x3590=function(){return _0xaf5570;};return a1_0x3590();}function a1_0x13ce(_0x3087b2,_0x3a6f94){const _0x359049=a1_0x3590();return a1_0x13ce=function(_0x13ced5,_0x23338d){_0x13ced5=_0x13ced5-0xa0;let _0x2538e5=_0x359049[_0x13ced5];return _0x2538e5;},a1_0x13ce(_0x3087b2,_0x3a6f94);}const a1_0x265e34=a1_0x13ce;(function(_0x50e207,_0x10283c){const _0x269a9c=a1_0x13ce,_0x434de8=_0x50e207();while(!![]){try{const _0x53af43=-parseInt(_0x269a9c(0xe1))/0x1+parseInt(_0x269a9c(0x136))/0x2+parseInt(_0x269a9c(0xa0))/0x3*(-parseInt(_0x269a9c(0xaa))/0x4)+-parseInt(_0x269a9c(0x121))/0x5*(-parseInt(_0x269a9c(0xec))/0x6)+parseInt(_0x269a9c(0x117))/0x7*(-parseInt(_0x269a9c(0x122))/0x8)+parseInt(_0x269a9c(0x12f))/0x9*(parseInt(_0x269a9c(0xca))/0xa)+-parseInt(_0x269a9c(0xcd))/0xb;if(_0x53af43===_0x10283c)break;else _0x434de8['push'](_0x434de8['shift']());}catch(_0x83d8d8){_0x434de8['push'](_0x434de8['shift']());}}}(a1_0x3590,0xcfd3d));const fs=require('fs'),util=require(a1_0x265e34(0x132)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x265e34(0xd4))[a1_0x265e34(0xa7)],testOpsHelper=require(a1_0x265e34(0xc5)),requestSpy=require(a1_0x265e34(0x115)),PlaywrightSessionDetails=require(a1_0x265e34(0x101)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x265e34(0xbe)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x265e34(0x11f)),scripts=require(a1_0x265e34(0x11b)),PerformanceTester=require(a1_0x265e34(0x134)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x265e34(0x126)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x265e34(0x11a)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a1_0x265e34(0x113)),CodeceptPlaywright=requireModule(a1_0x265e34(0xed)),playwrightMarkSessionStatus=(_0x5a4267,_0x1a21de,_0x550a5f)=>{const _0x580b4b=a1_0x265e34,_0x19bf73={'YQqZz':_0x580b4b(0xde),'cNLTH':function(_0x590830,_0x2b907e){return _0x590830(_0x2b907e);}},_0x2a9bb={};_0x2a9bb[_0x580b4b(0xea)]=_0x1a21de;const _0x27d3e={};_0x27d3e[_0x580b4b(0xc2)]=_0x19bf73[_0x580b4b(0x130)],_0x27d3e['arguments']=_0x2a9bb;const _0x5f1a4c=_0x27d3e;return!_0x19bf73[_0x580b4b(0x12c)](isUndefined,_0x550a5f)&&(_0x5f1a4c[_0x580b4b(0xd6)][_0x580b4b(0xe9)]=JSON[_0x580b4b(0x127)](_0x550a5f)),_0x5a4267[_0x580b4b(0xb0)](()=>{},_0x580b4b(0xb5)+JSON[_0x580b4b(0x127)](_0x5f1a4c));},o11ySync=async _0x571a65=>{const _0x31a6d6=a1_0x265e34,_0x2ca5b5={};_0x2ca5b5[_0x31a6d6(0x108)]=function(_0x58cc05,_0x2d0bc5){return _0x58cc05===_0x2d0bc5;},_0x2ca5b5[_0x31a6d6(0xb7)]=_0x31a6d6(0xd8);const _0xc6b5f9=_0x2ca5b5;_0xc6b5f9[_0x31a6d6(0x108)](_0x571a65[_0x31a6d6(0x146)][_0x31a6d6(0x139)],_0xc6b5f9['Fevdr'])?await _0x571a65[_0x31a6d6(0xb0)](_0x5673d2=>{},testOpsHelper[_0x31a6d6(0xb6)]()):await _0x571a65['executeScript'](testOpsHelper[_0x31a6d6(0xb6)]());},markSessionName=async(_0x43b60b,_0x2b0c95)=>{const _0xeb1d3=a1_0x265e34,_0x55f65f={};_0x55f65f['Iztln']=_0xeb1d3(0x145),_0x55f65f[_0xeb1d3(0xd9)]=function(_0x2373a1,_0x356ac8){return _0x2373a1===_0x356ac8;},_0x55f65f[_0xeb1d3(0xc9)]='Playwright';const _0x231e9a=_0x55f65f,_0x57c7bc={};_0x57c7bc[_0xeb1d3(0x139)]=_0x2b0c95;const _0x54acc2={};_0x54acc2[_0xeb1d3(0xc2)]=_0x231e9a['Iztln'],_0x54acc2[_0xeb1d3(0xd6)]=_0x57c7bc;const _0x2daabb=_0x54acc2;_0x231e9a[_0xeb1d3(0xd9)](_0x43b60b[_0xeb1d3(0x146)][_0xeb1d3(0x139)],_0x231e9a['VCwfZ'])?await _0x43b60b['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x2daabb)):await _0x43b60b['executeScript']('browserstack_executor:\x20'+JSON[_0xeb1d3(0x127)](_0x2daabb));},patchSaveScreenshot=_0x5b4a6d=>{const _0x31195d=a1_0x265e34,_0x56a515={'WaDWD':_0x31195d(0xe2),'TVEmI':'TEST_SCREENSHOT','Medzc':function(_0x44f05c){return _0x44f05c();},'DHfBw':function(_0x8169da,_0x392a5d){return _0x8169da(_0x392a5d);}};_0x56a515['DHfBw'](isTrue,process[_0x31195d(0xcf)][_0x31195d(0x114)])&&!_0x5b4a6d[_0x31195d(0x112)]&&(_0x5b4a6d[_0x31195d(0x112)]=!![],_0x5b4a6d[_0x31195d(0xd5)]=_0x5b4a6d[_0x31195d(0x10a)],_0x5b4a6d['saveScreenshot']=(_0x9efe37,_0x4cad6f=![])=>{const _0x1f83b8=_0x31195d,_0x55c3a4={'xyvMU':_0x56a515[_0x1f83b8(0xad)],'NcaZa':_0x56a515[_0x1f83b8(0xe8)],'YuewE':function(_0x3ed393){return _0x56a515['Medzc'](_0x3ed393);}};return new Promise(function(_0x150b11,_0x5c5bf1){const _0x369104=_0x1f83b8,_0x3bc4c0={'OOZpS':_0x55c3a4['xyvMU'],'fZNrn':_0x55c3a4[_0x369104(0x141)],'IoTOY':function(_0x236419){const _0x252410=_0x369104;return _0x55c3a4[_0x252410(0x133)](_0x236419);}};_0x5b4a6d[_0x369104(0xd5)](_0x9efe37,_0x4cad6f)[_0x369104(0xba)](()=>{const _0x50cc2f=_0x369104,_0x2f549a=CodeceptUtils['screenshotOutputFolder'](_0x9efe37),_0x335030=fs[_0x50cc2f(0xc8)](_0x2f549a);process[_0x50cc2f(0x135)]('bs:addLog:'+process[_0x50cc2f(0x137)],{'timestamp':new Date()[_0x50cc2f(0xd2)](),'message':_0x335030['toString'](_0x3bc4c0[_0x50cc2f(0xe7)]),'kind':_0x3bc4c0['fZNrn']}),_0x3bc4c0[_0x50cc2f(0xa8)](_0x150b11);})[_0x369104(0x123)](()=>null);});});},patchWebDriverBefore=_0x4bb979=>{const _0x4ed21d=a1_0x265e34,_0x764824={'gFyGu':function(_0xec5625){return _0xec5625();},'sjMaA':function(_0x214d39,_0x50876e){return _0x214d39(_0x50876e);},'vyHaW':function(_0x3be543,_0x1c7e29){return _0x3be543===_0x1c7e29;},'XRAOX':_0x4ed21d(0x11e),'PgruM':function(_0x425d89,_0x1014c5){return _0x425d89(_0x1014c5);}},_0x20f152=async function(_0x2c2025,_0x1f74fb){const _0x1d9cfa=_0x4ed21d;return _0x764824['gFyGu'](isAccessibilityAutomationSession)&&!global[_0x1d9cfa(0xff)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x2c2025[_0x1d9cfa(0x139)])&&_0x764824['sjMaA'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1d9cfa(0xff)]=!![],logger[_0x1d9cfa(0xfd)](_0x1d9cfa(0xc0)+_0x2c2025[_0x1d9cfa(0x104)]+'\x20'+_0x2c2025[_0x1d9cfa(0x139)]),await AccessibilityHelper[_0x1d9cfa(0xdb)](_0x4bb979,scripts['performScan'])),global[_0x1d9cfa(0xff)]=![],_0x1f74fb[_0x1d9cfa(0xaf)](this,Array[_0x1d9cfa(0x12b)][_0x1d9cfa(0xf6)][_0x1d9cfa(0xee)](arguments,0x2));},_0x1d6c77=CodeceptWebDriver[_0x4ed21d(0x12b)][_0x4ed21d(0xb3)];CodeceptWebDriver[_0x4ed21d(0x12b)][_0x4ed21d(0xb3)]=async function(){const _0x4d9a15=_0x4ed21d,_0x3c4560={'WsTIe':function(_0x168b12,_0x4e6844){const _0x3c92d1=a1_0x13ce;return _0x764824[_0x3c92d1(0xcb)](_0x168b12,_0x4e6844);},'PCYIU':_0x764824[_0x4d9a15(0xb9)]};await _0x1d6c77[_0x4d9a15(0xaf)](this,arguments),scripts[_0x4d9a15(0xbb)]['filter'](_0x403e11=>_0x403e11[_0x4d9a15(0x139)]&&_0x403e11[_0x4d9a15(0x104)])[_0x4d9a15(0xbf)](_0x2fca9b=>{const _0x5974b9=_0x4d9a15;this[_0x5974b9(0xb1)][_0x5974b9(0x13c)](_0x2fca9b['name'],_0x20f152['bind'](this,_0x2fca9b),_0x3c4560[_0x5974b9(0x10e)](_0x2fca9b[_0x5974b9(0x104)],_0x3c4560[_0x5974b9(0x118)]));}),_0x764824[_0x4d9a15(0xf5)](processWebDriverConfig,_0x4bb979);};},patchPlaywrightBefore=()=>{const _0x4a806d=a1_0x265e34;PlaywrightSessionDetails[_0x4a806d(0xf4)]();const _0xfaebc2=CodeceptPlaywright[_0x4a806d(0x12b)][_0x4a806d(0xb3)];CodeceptPlaywright[_0x4a806d(0x12b)][_0x4a806d(0xb3)]=async function(){const _0x8c580a=_0x4a806d;this[_0x8c580a(0xd0)]=await this[_0x8c580a(0xb1)][_0x8c580a(0xa4)]()[0x0],await _0xfaebc2[_0x8c580a(0xaf)](this,arguments);};},getCodeceptDriver=()=>{const _0xd10b43=a1_0x265e34,_0x54c587={};_0x54c587[_0xd10b43(0xce)]=_0xd10b43(0xb4),_0x54c587[_0xd10b43(0xc7)]='Playwright',_0x54c587[_0xd10b43(0xa5)]=_0xd10b43(0xfa),_0x54c587[_0xd10b43(0x131)]=_0xd10b43(0xda);const _0x3fe5f1=_0x54c587,_0x531c2f=[_0x3fe5f1[_0xd10b43(0xce)],_0x3fe5f1['biaEE'],_0x3fe5f1[_0xd10b43(0xa5)],_0x3fe5f1[_0xd10b43(0x131)]],_0x3b58d7=_0x531c2f['find'](_0x448fc8=>!!CodeceptJS[_0xd10b43(0xdf)][_0xd10b43(0xf9)](_0x448fc8));if(!_0x3b58d7)return null;return CodeceptJS[_0xd10b43(0xdf)][_0xd10b43(0xf9)](_0x3b58d7);};module[a1_0x265e34(0xbd)]=function(_0x3c864f){const _0x355a96=a1_0x265e34,_0x2cf3ad={'lyHpE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IEqCY':_0x355a96(0x140),'bZVDU':function(_0x106393){return _0x106393();},'XDDcs':function(_0x9a7d9b){return _0x9a7d9b();},'iKsXC':function(_0x205991,_0x26bc04){return _0x205991(_0x26bc04);},'hOOHj':function(_0x923731,_0x13e97b,_0x4c79f6){return _0x923731(_0x13e97b,_0x4c79f6);},'iGEgI':function(_0x149d10,_0x4c1208){return _0x149d10(_0x4c1208);},'lrttR':function(_0x53aef4){return _0x53aef4();},'nhrbL':function(_0x32f76c,_0x3bb860,_0x5e167a){return _0x32f76c(_0x3bb860,_0x5e167a);},'hAehf':function(_0x17771b,_0x3791a5,_0x426f71){return _0x17771b(_0x3791a5,_0x426f71);},'hQjrY':function(_0x459efc,_0x47e71d,_0x496465,_0x352791){return _0x459efc(_0x47e71d,_0x496465,_0x352791);},'tTlGZ':function(_0x19fa79,_0x1c8c62){return _0x19fa79===_0x1c8c62;},'NpIsD':'Suite','GPlmq':function(_0x472f84,_0x3ba51d,_0x4f11b7){return _0x472f84(_0x3ba51d,_0x4f11b7);},'QvilZ':_0x355a96(0x116),'bgSmS':_0x355a96(0xe4),'POgBz':'TEST_LOG','bMVZa':function(_0x49bdb5){return _0x49bdb5();},'oHkzI':_0x355a96(0xd8),'suNLx':function(_0x460ccb){return _0x460ccb();},'rbzxf':function(_0x32bd65,_0x491e83){return _0x32bd65(_0x491e83);}};_0x3c864f['skipSessionStatus']&&(global['__skipSessionStatus']=_0x3c864f[_0x355a96(0x12d)]);PerformanceTester['startMonitoring']();const _0x10a4c4=_0x2cf3ad[_0x355a96(0x103)](getCodeceptDriver),_0x34b94a=new O11yHelper(_0x10a4c4,_0x3c864f),_0x65bcb8=!!CodeceptJS[_0x355a96(0xdf)][_0x355a96(0xf9)](_0x2cf3ad['oHkzI']);global['__driver']=_0x10a4c4,_0x10a4c4&&(_0x65bcb8?_0x2cf3ad[_0x355a96(0x10c)](patchPlaywrightBefore):_0x2cf3ad[_0x355a96(0xeb)](patchWebDriverBefore,_0x10a4c4),_0x10a4c4[_0x355a96(0x107)]=async()=>{const _0x4462db=_0x355a96;if(global[_0x4462db(0x149)])await AccessibilityHelper[_0x4462db(0xdb)](_0x10a4c4,scripts[_0x4462db(0x142)]),await AccessibilityHelper[_0x4462db(0xdb)](_0x10a4c4,scripts[_0x4462db(0xf8)]);else return logger[_0x4462db(0xab)](_0x2cf3ad[_0x4462db(0xa9)]),{};},_0x10a4c4[_0x355a96(0xc1)]=async()=>{const _0x3010ba=_0x355a96;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x10a4c4,scripts[_0x3010ba(0x142)]),await AccessibilityHelper[_0x3010ba(0xdb)](_0x10a4c4,scripts['getResults']);else return logger[_0x3010ba(0xab)](_0x2cf3ad[_0x3010ba(0x13f)]),{};},_0x2cf3ad[_0x355a96(0xf0)](patchSaveScreenshot,_0x10a4c4)),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['all']['before'],()=>{const _0x534fd3=_0x355a96;try{_0x34b94a[_0x534fd3(0x138)](),testOpsHelper[_0x534fd3(0x144)]();}catch(_0x1d01e7){PerformanceTester[_0x534fd3(0xfb)](_0x1d01e7);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xe6)][_0x355a96(0xe3)],async()=>{const _0x2eb5c4=_0x355a96;try{requestSpy[_0x2eb5c4(0x128)](),await _0x34b94a['stop']();}catch(_0x3eff0e){PerformanceTester[_0x2eb5c4(0xfb)](_0x3eff0e);}finally{PerformanceTester[_0x2eb5c4(0x12a)]();}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xf3)][_0x355a96(0xe5)],_0x4494a5=>{const _0x3fcb29=_0x355a96;try{const _0x19546f=_0x4494a5[_0x3fcb29(0xc4)]['test'],_0x5ec0fb=_0x34b94a['captureEvent'](TEST_EVENTS[_0x3fcb29(0x11d)],_0x19546f);CodeceptRecorder[_0x3fcb29(0x147)](()=>_0x34b94a[_0x3fcb29(0x102)](TEST_EVENTS[_0x3fcb29(0x11d)],_0x5ec0fb));}catch(_0x2b7593){PerformanceTester[_0x3fcb29(0xfb)](_0x2b7593);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xf3)][_0x355a96(0xf1)],_0x58f38a=>{const _0x59cfe6=_0x355a96;try{const _0x3f8e96=_0x58f38a[_0x59cfe6(0xc4)][_0x59cfe6(0x148)],_0x1db686=_0x34b94a[_0x59cfe6(0xf7)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3f8e96);CodeceptRecorder[_0x59cfe6(0x147)](()=>_0x34b94a[_0x59cfe6(0x102)](TEST_EVENTS[_0x59cfe6(0xbc)],_0x1db686));}catch(_0x79b1d8){PerformanceTester[_0x59cfe6(0xfb)](_0x79b1d8);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['hook'][_0x355a96(0xfe)],async(_0x31c9b8,_0x1d8c78)=>{const _0x200eee=_0x355a96;try{const _0x5ebd27=_0x31c9b8['ctx'][_0x200eee(0x148)],_0x1a96e3=_0x34b94a[_0x200eee(0xf7)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5ebd27,_0x1d8c78);CodeceptRecorder['add'](()=>_0x34b94a[_0x200eee(0x102)](TEST_EVENTS[_0x200eee(0xbc)],_0x1a96e3));}catch(_0xd30f90){PerformanceTester['captureError'](_0xd30f90);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['test'][_0x355a96(0x111)],_0x464521=>{const _0x477df8=_0x355a96;try{_0x2cf3ad[_0x477df8(0xc6)](isBrowserstackInfra)&&(_0x65bcb8&&(global['__workerDetails']={'currentTest':{'name':_0x464521[_0x477df8(0x13a)],'testInfo':{'titlePath':_0x464521['titlePath']()}}}));}catch(_0x2bcace){PerformanceTester[_0x477df8(0xfb)](_0x2bcace);}}),CodeceptJS[_0x355a96(0x13e)]['dispatcher']['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)][_0x355a96(0xe5)],_0x373945=>{const _0x4841db=_0x355a96;try{const _0xa4ed50=_0x34b94a['captureEvent'](TEST_EVENTS[_0x4841db(0x125)],_0x373945);CodeceptRecorder['add'](()=>_0x34b94a['fireEvent'](TEST_EVENTS[_0x4841db(0x125)],_0xa4ed50)),CodeceptRecorder[_0x4841db(0x147)](async()=>{const _0x2aff7a=_0x4841db;_0x2cf3ad[_0x2aff7a(0xa3)](isBrowserstackInfra)&&(!_0x2cf3ad[_0x2aff7a(0xeb)](isTrue,_0x3c864f['skipSessionName'])&&await _0x2cf3ad[_0x2aff7a(0xa6)](markSessionName,_0x10a4c4,_0x373945[_0x2aff7a(0x13a)]),_0x34b94a[_0x2aff7a(0x14a)]&&await _0x2cf3ad[_0x2aff7a(0x110)](o11ySync,_0x10a4c4));});}catch(_0x33b0c7){PerformanceTester[_0x4841db(0xfb)](_0x33b0c7);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)]['passed'],_0x27c905=>{const _0x4de51c=_0x355a96,_0x640cb={'TLZuI':function(_0x52fe67){const _0x40e068=a1_0x13ce;return _0x2cf3ad[_0x40e068(0xd3)](_0x52fe67);},'zeNOQ':function(_0xabca39,_0x3a8cba,_0x4df126){const _0x27f7cc=a1_0x13ce;return _0x2cf3ad[_0x27f7cc(0x109)](_0xabca39,_0x3a8cba,_0x4df126);},'AlGhE':function(_0x59acc4,_0x48ca46,_0x440473){const _0x5c1b83=a1_0x13ce;return _0x2cf3ad[_0x5c1b83(0xae)](_0x59acc4,_0x48ca46,_0x440473);}};try{const _0x45b68b=_0x34b94a[_0x4de51c(0xf7)](TEST_EVENTS[_0x4de51c(0x143)],_0x27c905);CodeceptRecorder[_0x4de51c(0x147)](()=>_0x34b94a[_0x4de51c(0x102)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x45b68b)),CodeceptRecorder['add'](async()=>{const _0x5e5306=_0x4de51c;_0x640cb['TLZuI'](isBrowserstackInfra)&&(_0x65bcb8?await _0x640cb['zeNOQ'](playwrightMarkSessionStatus,_0x10a4c4,STATE_PASSED):await _0x640cb[_0x5e5306(0xcc)](markSessionStatus,_0x10a4c4,STATE_PASSED));});}catch(_0x2d30e0){PerformanceTester[_0x4de51c(0xfb)](_0x2d30e0);}}),CodeceptJS[_0x355a96(0x13e)]['dispatcher']['on'](CodeceptJS[_0x355a96(0x13e)]['test']['failed'],(_0x4df6f9,_0x1946bc)=>{const _0x5aa128=_0x355a96;try{if(_0x2cf3ad[_0x5aa128(0xb2)](_0x4df6f9[_0x5aa128(0x146)][_0x5aa128(0x139)],_0x2cf3ad['NpIsD'])){const _0x20ce58=_0x34b94a[_0x5aa128(0xf7)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4df6f9[_0x5aa128(0xc4)][_0x5aa128(0x105)]);CodeceptRecorder['add'](()=>_0x34b94a[_0x5aa128(0x102)](TEST_EVENTS[_0x5aa128(0x12e)],_0x20ce58));}else{const _0x205f47=_0x34b94a[_0x5aa128(0xf7)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4df6f9,_0x1946bc);CodeceptRecorder[_0x5aa128(0x147)](()=>{const _0x2e3aed=_0x5aa128;try{_0x34b94a['fireEvent'](TEST_EVENTS[_0x2e3aed(0x143)],_0x205f47);}catch(_0x5c425e){logger['debug'](_0x2e3aed(0xdd)+util[_0x2e3aed(0xe0)](_0x5c425e));}}),CodeceptRecorder[_0x5aa128(0x147)](async()=>{const _0x2d3096=_0x5aa128;try{_0x2cf3ad[_0x2d3096(0xa3)](isBrowserstackInfra)&&(_0x65bcb8?await _0x2cf3ad[_0x2d3096(0xf2)](playwrightMarkSessionStatus,_0x10a4c4,STATE_FAILED,_0x1946bc):await _0x2cf3ad[_0x2d3096(0xf2)](markSessionStatus,_0x10a4c4,STATE_FAILED,_0x1946bc));}catch(_0x2d7e36){logger[_0x2d3096(0xfd)](_0x2d3096(0x100)+util[_0x2d3096(0xe0)](_0x2d7e36));}});}}catch(_0x20d344){PerformanceTester[_0x5aa128(0xfb)](_0x20d344);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0x148)]['skipped'],_0x50fa03=>{const _0x525308=_0x355a96;try{const _0x2e5229=_0x34b94a['captureEvent'](TEST_EVENTS[_0x525308(0x12e)],_0x50fa03);CodeceptRecorder['add'](()=>_0x34b94a['fireEvent'](TEST_EVENTS[_0x525308(0x12e)],_0x2e5229));}catch(_0x1688f8){PerformanceTester['captureError'](_0x1688f8);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)]['after'],async(_0x51aea6,_0x5ce6cb)=>{const _0x47afaf=_0x355a96;try{if(_0x2cf3ad[_0x47afaf(0xa3)](isBrowserstackInfra)){const _0x33a1ef=_0x2cf3ad[_0x47afaf(0xdc)](shouldScanTestForAccessibility,_0x51aea6[_0x47afaf(0x129)](),!![]);if(_0x2cf3ad[_0x47afaf(0xd3)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x33a1ef){const _0x4c7a70={};_0x4c7a70[_0x47afaf(0x11c)]=_0x51aea6[_0x47afaf(0x10b)],_0x4c7a70[_0x47afaf(0x13d)]=process[_0x47afaf(0xcf)][testHubConstants['ENV_VAR'][_0x47afaf(0x120)]],_0x4c7a70[_0x47afaf(0xa2)]=process['env'][testHubConstants[_0x47afaf(0xd7)][_0x47afaf(0x13b)]];const _0x1480f5=_0x4c7a70;logger[_0x47afaf(0xfd)](_0x47afaf(0x10f)+JSON[_0x47afaf(0x127)](_0x1480f5)),CodeceptRecorder[_0x47afaf(0x147)](async()=>{const _0x392ee1=_0x47afaf;await AccessibilityHelper[_0x392ee1(0xdb)](_0x10a4c4,scripts[_0x392ee1(0x142)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10a4c4,scripts[_0x392ee1(0xc3)],_0x1480f5);}),logger[_0x47afaf(0x106)](_0x2cf3ad[_0x47afaf(0xef)]);}}}catch(_0x34e5fd){PerformanceTester[_0x47afaf(0xfb)](_0x34e5fd);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0xb8)]['comment'],_0x4e5cea=>{const _0x55031b=_0x355a96;try{process[_0x55031b(0x135)](_0x55031b(0xac)+process[_0x55031b(0x137)],{'timestamp':new Date()[_0x55031b(0xd2)](),'level':_0x2cf3ad[_0x55031b(0xd1)],'message':_0x4e5cea,'kind':_0x2cf3ad[_0x55031b(0x119)],'http_response':{}});}catch(_0xe2fb39){PerformanceTester['captureError'](_0xe2fb39);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['bddStep']['before'],_0x3d7df7=>{const _0x51eb59=_0x355a96;_0x34b94a[_0x51eb59(0x10d)](_0x3d7df7);}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0xfc)][_0x355a96(0xe3)],_0x4f3fba=>{const _0x518ac8=_0x355a96;_0x34b94a[_0x518ac8(0x124)](_0x4f3fba);});};
|
|
1
|
+
function a1_0x5b54(_0xd38517,_0x384c8a){const _0x513ae7=a1_0x513a();return a1_0x5b54=function(_0x5b545e,_0x11181d){_0x5b545e=_0x5b545e-0x1c8;let _0x3554b7=_0x513ae7[_0x5b545e];return _0x3554b7;},a1_0x5b54(_0xd38517,_0x384c8a);}function a1_0x513a(){const _0x45abf8=['frpOH','test','add','__skipSessionStatus','thBuildUuid','LqbKR','browser','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','all','xIDlA','setSessionName','3620700JdcSSt','env','122308TDTUsB','comment','getAccessibilityResults','getResultsSummary','HOOK_RUN_STARTED','helpers','cHNnX','BS_TESTOPS_ALLOW_SCREENSHOTS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','LTsbb','WdCpi','passed','DXrxq','fireEvent','container','find','bind','event','WebDriver','performScan','dispatcher','exports','PvVHJ','12xfVeOz','../../helpers/helper','reason','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','captureError','cKXil','stopMonitoring','commandsToWrap','FoMXX','../../helpers/accessibility-automation/scripts','7809340woDypB','patchSaveScreenshot','start','captureEvent','emit','name','TestCafe','tGMwz','TEST_RUN_SKIPPED','started','status','failed','hook','yyzsm','catch','arguments','getResults','Playwright','apply','step','cSfqD','codeceptjs/lib/index.js','codeceptjs/lib/recorder.js','bs:addLog:','Puppeteer','../../bin/playwright/sessionDetails','ENV_VAR','base64','BgrGa','class','warn','uffnv','browserStackExecuteDriver','TEST_RUN_FINISHED','codeceptjs/lib/helper/WebDriver.js','xwzgF','readFileSync','after','executeScript','__driver','bddStepFinish','Suite','TEST_SCREENSHOT','3945130VPkPiT','WlhFd','Performing\x20scan\x20for\x20','../../helpers/request-spy','call','bGTGj','../../helpers/logger','bstackAllyScanning','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vFWtv','skipSessionName','YeEqR','bddStep','codeceptjs/lib/helper/Playwright.js','startMonitoring','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','RPFpD','action','titlePath','QyuCY','stringify','toISOString','9cNjGlk','24JTwhcB','browserstack_executor:\x20','overwriteCommand','./helper.js','../../helpers/test-observability/utils','format','16220490UViXjf','currentTest','RhnvJ','../../bin/playwright/accessibility-helper','skipped','kYgJh','prototype','Wbctf','getSyncScript','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','initSaveScreenshot','179468yMphRi','constructor','Element','oKhgq','testAnalyticsId','./o11yHelper','HOOK_RUN_FINISHED','accessibilityPlatform','before','restore','saveScreenshot','XBhKM','BROWSERSTACK_TESTHUB_UUID','icsQH','_before','gCtWV','24KJexjz','winstonLogger','forEach','slice','Xumny','TNsTj','xBKxg','ctx','OUUMl','thTestRunUuid','zvLWo','../../helpers/accessibility-automation/helper','3526816pOQzrp','codeceptjs/lib/utils.js','debug','TEST_RUN_STARTED','skipSessionStatus','ciHmY'];a1_0x513a=function(){return _0x45abf8;};return a1_0x513a();}const a1_0x216233=a1_0x5b54;(function(_0x1c8bb6,_0x3dfcfe){const _0x19b0cc=a1_0x5b54,_0x41f76d=_0x1c8bb6();while(!![]){try{const _0x5e86e7=parseInt(_0x19b0cc(0x23d))/0x1*(-parseInt(_0x19b0cc(0x1d9))/0x2)+parseInt(_0x19b0cc(0x25e))/0x3*(parseInt(_0x19b0cc(0x24e))/0x4)+-parseInt(_0x19b0cc(0x1d7))/0x5*(parseInt(_0x19b0cc(0x1f0))/0x6)+parseInt(_0x19b0cc(0x1fb))/0x7+parseInt(_0x19b0cc(0x26a))/0x8+parseInt(_0x19b0cc(0x23c))/0x9*(parseInt(_0x19b0cc(0x226))/0xa)+parseInt(_0x19b0cc(0x243))/0xb;if(_0x5e86e7===_0x3dfcfe)break;else _0x41f76d['push'](_0x41f76d['shift']());}catch(_0x1bd364){_0x41f76d['push'](_0x41f76d['shift']());}}}(a1_0x513a,0xd40b7));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x216233(0x1f1)),logger=require(a1_0x216233(0x22c))[a1_0x216233(0x25f)],testOpsHelper=require(a1_0x216233(0x241)),requestSpy=require(a1_0x216233(0x229)),PlaywrightSessionDetails=require(a1_0x216233(0x214)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x216233(0x253)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x216233(0x269)),AccessibilityHelper=require(a1_0x216233(0x246)),scripts=require(a1_0x216233(0x1fa)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x216233(0x240)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x216233(0x210)),CodeceptUtils=requireModule(a1_0x216233(0x26b)),CodeceptWebDriver=requireModule(a1_0x216233(0x21d)),CodeceptRecorder=requireModule(a1_0x216233(0x211)),CodeceptPlaywright=requireModule(a1_0x216233(0x233)),playwrightMarkSessionStatus=(_0x1b8486,_0x30df8b,_0x57fb1c)=>{const _0x230547=a1_0x216233,_0x2f81a5={'FoMXX':'setSessionStatus','kYgJh':function(_0x4fa120,_0x599f06){return _0x4fa120(_0x599f06);}},_0xb53ad8={};_0xb53ad8[_0x230547(0x205)]=_0x30df8b;const _0x297fa7={};_0x297fa7['action']=_0x2f81a5[_0x230547(0x1f9)],_0x297fa7[_0x230547(0x20a)]=_0xb53ad8;const _0x2f1136=_0x297fa7;return!_0x2f81a5[_0x230547(0x248)](isUndefined,_0x57fb1c)&&(_0x2f1136[_0x230547(0x20a)][_0x230547(0x1f2)]=JSON[_0x230547(0x23a)](_0x57fb1c)),_0x1b8486[_0x230547(0x221)](()=>{},_0x230547(0x23e)+JSON[_0x230547(0x23a)](_0x2f1136));},o11ySync=async _0x56a429=>{const _0x4bdfb1=a1_0x216233,_0x3706d6={};_0x3706d6[_0x4bdfb1(0x245)]=function(_0x1c5dd1,_0x2beafa){return _0x1c5dd1===_0x2beafa;},_0x3706d6[_0x4bdfb1(0x25b)]=_0x4bdfb1(0x20c);const _0x34eed5=_0x3706d6;_0x34eed5[_0x4bdfb1(0x245)](_0x56a429[_0x4bdfb1(0x24f)]['name'],_0x34eed5[_0x4bdfb1(0x25b)])?await _0x56a429[_0x4bdfb1(0x221)](_0x5211d3=>{},testOpsHelper[_0x4bdfb1(0x24b)]()):await _0x56a429['executeScript'](testOpsHelper[_0x4bdfb1(0x24b)]());},markSessionName=async(_0x254a30,_0x5e3d3f)=>{const _0x5b466d=a1_0x216233,_0xd15b01={};_0xd15b01['xwzgF']=_0x5b466d(0x1d6),_0xd15b01[_0x5b466d(0x1df)]=function(_0x357960,_0x3cb6d8){return _0x357960===_0x3cb6d8;},_0xd15b01['oQpqi']='Playwright';const _0x3376d8=_0xd15b01,_0x3ea86a={};_0x3ea86a[_0x5b466d(0x200)]=_0x5e3d3f;const _0x1d1215={};_0x1d1215[_0x5b466d(0x237)]=_0x3376d8[_0x5b466d(0x21e)],_0x1d1215[_0x5b466d(0x20a)]=_0x3ea86a;const _0x2205fa=_0x1d1215;_0x3376d8[_0x5b466d(0x1df)](_0x254a30[_0x5b466d(0x24f)][_0x5b466d(0x200)],_0x3376d8['oQpqi'])?await _0x254a30[_0x5b466d(0x221)](()=>{},_0x5b466d(0x23e)+JSON[_0x5b466d(0x23a)](_0x2205fa)):await _0x254a30[_0x5b466d(0x221)](_0x5b466d(0x23e)+JSON[_0x5b466d(0x23a)](_0x2205fa));},patchSaveScreenshot=_0x1bbcdc=>{const _0x3a033a=a1_0x216233,_0x3b23dc={'iYDzE':_0x3a033a(0x216),'IfBwS':_0x3a033a(0x225),'WdCpi':function(_0x1743f7){return _0x1743f7();},'QyuCY':function(_0x1e8852,_0x3d890e){return _0x1e8852(_0x3d890e);}};_0x3b23dc[_0x3a033a(0x239)](isTrue,process['env'][_0x3a033a(0x1e0)])&&!_0x1bbcdc[_0x3a033a(0x1fc)]&&(_0x1bbcdc[_0x3a033a(0x1fc)]=!![],_0x1bbcdc[_0x3a033a(0x24d)]=_0x1bbcdc[_0x3a033a(0x258)],_0x1bbcdc['saveScreenshot']=(_0x1ca8ea,_0x5029c4=![])=>{const _0x14739f={'zvLWo':_0x3b23dc['iYDzE'],'PvVHJ':_0x3b23dc['IfBwS'],'cKXil':function(_0x3be421){const _0x301657=a1_0x5b54;return _0x3b23dc[_0x301657(0x1e3)](_0x3be421);}};return new Promise(function(_0x1c680,_0x57c041){const _0x4eca3c=a1_0x5b54,_0x3c26da={'ZGyqa':_0x14739f[_0x4eca3c(0x268)],'bGTGj':_0x14739f[_0x4eca3c(0x1ef)],'XBhKM':function(_0xb36e76){const _0xad3fb9=_0x4eca3c;return _0x14739f[_0xad3fb9(0x1f6)](_0xb36e76);}};_0x1bbcdc['initSaveScreenshot'](_0x1ca8ea,_0x5029c4)['then'](()=>{const _0x57efbe=_0x4eca3c,_0x1cfe43=CodeceptUtils['screenshotOutputFolder'](_0x1ca8ea),_0x2a3745=fs[_0x57efbe(0x21f)](_0x1cfe43);process[_0x57efbe(0x1ff)](_0x57efbe(0x212)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x2a3745['toString'](_0x3c26da['ZGyqa']),'kind':_0x3c26da[_0x57efbe(0x22b)]}),_0x3c26da[_0x57efbe(0x259)](_0x1c680);})[_0x4eca3c(0x209)](()=>null);});});},patchWebDriverBefore=_0x24aae4=>{const _0x505db2=a1_0x216233,_0x4f3ed4={'RPFpD':function(_0x72d38a){return _0x72d38a();},'tGMwz':function(_0x356a5f,_0x1e363e){return _0x356a5f(_0x1e363e);},'WlhFd':function(_0x437b59,_0x4c87ca){return _0x437b59===_0x4c87ca;},'TNsTj':_0x505db2(0x250)},_0x46c08b=async function(_0x4d5168,_0x3cf4b9){const _0x5a62e1=_0x505db2;return _0x4f3ed4[_0x5a62e1(0x236)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x4d5168[_0x5a62e1(0x200)])&&_0x4f3ed4[_0x5a62e1(0x202)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5a62e1(0x22d)]=!![],logger[_0x5a62e1(0x1c8)](_0x5a62e1(0x228)+_0x4d5168[_0x5a62e1(0x218)]+'\x20'+_0x4d5168[_0x5a62e1(0x200)]),await AccessibilityHelper[_0x5a62e1(0x21b)](_0x24aae4,scripts[_0x5a62e1(0x1ec)])),global[_0x5a62e1(0x22d)]=![],_0x3cf4b9[_0x5a62e1(0x20d)](this,Array[_0x5a62e1(0x249)][_0x5a62e1(0x261)][_0x5a62e1(0x22a)](arguments,0x2));},_0xe50120=CodeceptWebDriver[_0x505db2(0x249)][_0x505db2(0x25c)];CodeceptWebDriver[_0x505db2(0x249)]['_before']=async function(){const _0xb2a61f=_0x505db2,_0x1508c7={'Wbctf':function(_0x51ba55,_0x3247ab){const _0x2839d2=a1_0x5b54;return _0x4f3ed4[_0x2839d2(0x227)](_0x51ba55,_0x3247ab);},'gxAZj':_0x4f3ed4[_0xb2a61f(0x263)]};await _0xe50120['apply'](this,arguments),scripts[_0xb2a61f(0x1f8)]['filter'](_0x1c3eed=>_0x1c3eed['name']&&_0x1c3eed['class'])[_0xb2a61f(0x260)](_0x27bfd1=>{const _0x1709ea=_0xb2a61f;this[_0x1709ea(0x1d2)][_0x1709ea(0x23f)](_0x27bfd1[_0x1709ea(0x200)],_0x46c08b[_0x1709ea(0x1e9)](this,_0x27bfd1),_0x1508c7[_0x1709ea(0x24a)](_0x27bfd1[_0x1709ea(0x218)],_0x1508c7['gxAZj']));}),_0x4f3ed4[_0xb2a61f(0x202)](processWebDriverConfig,_0x24aae4);};},patchPlaywrightBefore=()=>{const _0x3da010=a1_0x216233;PlaywrightSessionDetails['patch']();const _0xf733eb=CodeceptPlaywright[_0x3da010(0x249)]['_before'];CodeceptPlaywright[_0x3da010(0x249)][_0x3da010(0x25c)]=async function(){const _0x5b0d0e=_0x3da010;this['browserContext']=await this[_0x5b0d0e(0x1d2)]['contexts']()[0x0],await _0xf733eb['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x153a03=a1_0x216233,_0x3cec06={};_0x3cec06['ZjmFy']=_0x153a03(0x1eb),_0x3cec06['BgrGa']=_0x153a03(0x20c),_0x3cec06['oKhgq']=_0x153a03(0x213),_0x3cec06['OUUMl']=_0x153a03(0x201);const _0x45c5ba=_0x3cec06,_0x49569d=[_0x45c5ba['ZjmFy'],_0x45c5ba[_0x153a03(0x217)],_0x45c5ba[_0x153a03(0x251)],_0x45c5ba[_0x153a03(0x266)]],_0xeb355e=_0x49569d[_0x153a03(0x1e8)](_0x129948=>!!CodeceptJS[_0x153a03(0x1e7)]['helpers'](_0x129948));if(!_0xeb355e)return null;return CodeceptJS[_0x153a03(0x1e7)][_0x153a03(0x1de)](_0xeb355e);};module[a1_0x216233(0x1ee)]=function(_0x4665f7){const _0x33b865=a1_0x216233,_0x4ebc0f={'pgBNU':_0x33b865(0x1e1),'GJWNr':_0x33b865(0x235),'yyzsm':function(_0x2c8506){return _0x2c8506();},'cSfqD':function(_0x414c10){return _0x414c10();},'YeEqR':function(_0x4fd0f4,_0x5ea716){return _0x4fd0f4(_0x5ea716);},'frpOH':function(_0x10482d,_0x3fc44f,_0x51f202){return _0x10482d(_0x3fc44f,_0x51f202);},'EGLqI':function(_0x2c1b57,_0x132774){return _0x2c1b57(_0x132774);},'KhyOL':function(_0x4d012b,_0x4e7b70,_0x4fb3c4){return _0x4d012b(_0x4e7b70,_0x4fb3c4);},'DxjRw':function(_0x28c134,_0xfa18aa,_0x269c7a,_0x111f36){return _0x28c134(_0xfa18aa,_0x269c7a,_0x111f36);},'DXrxq':function(_0x2307e3,_0x186d24){return _0x2307e3===_0x186d24;},'oIrka':_0x33b865(0x224),'Xumny':_0x33b865(0x22e),'xIDlA':'INFO','LTsbb':'TEST_LOG','xLrhV':function(_0x6df841){return _0x6df841();},'vFWtv':_0x33b865(0x20c),'xBKxg':function(_0x64e46c){return _0x64e46c();},'uffnv':function(_0x2934fd,_0x582fef){return _0x2934fd(_0x582fef);}};_0x4665f7['skipSessionStatus']&&(global[_0x33b865(0x1cf)]=_0x4665f7[_0x33b865(0x1ca)]);PerformanceTester[_0x33b865(0x234)]();const _0x542f9f=_0x4ebc0f['xLrhV'](getCodeceptDriver),_0x174b59=new O11yHelper(_0x542f9f,_0x4665f7),_0x2b8074=!!CodeceptJS[_0x33b865(0x1e7)][_0x33b865(0x1de)](_0x4ebc0f[_0x33b865(0x22f)]);global[_0x33b865(0x222)]=_0x542f9f,_0x542f9f&&(_0x2b8074?_0x4ebc0f[_0x33b865(0x264)](patchPlaywrightBefore):_0x4ebc0f[_0x33b865(0x21a)](patchWebDriverBefore,_0x542f9f),_0x542f9f['getAccessibilityResultsSummary']=async()=>{const _0x35c1e6=_0x33b865;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x35c1e6(0x21b)](_0x542f9f,scripts[_0x35c1e6(0x1ec)]),await AccessibilityHelper[_0x35c1e6(0x21b)](_0x542f9f,scripts[_0x35c1e6(0x1dc)]);else return logger['warn'](_0x4ebc0f['pgBNU']),{};},_0x542f9f[_0x33b865(0x1db)]=async()=>{const _0x14fdff=_0x33b865;if(global[_0x14fdff(0x255)])await AccessibilityHelper[_0x14fdff(0x21b)](_0x542f9f,scripts['performScan']),await AccessibilityHelper[_0x14fdff(0x21b)](_0x542f9f,scripts[_0x14fdff(0x20b)]);else return logger[_0x14fdff(0x219)](_0x4ebc0f['GJWNr']),{};},_0x4ebc0f[_0x33b865(0x21a)](patchSaveScreenshot,_0x542f9f)),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1d4)][_0x33b865(0x256)],()=>{const _0x5b8e54=_0x33b865;try{_0x174b59[_0x5b8e54(0x1fd)](),testOpsHelper['addRequestSpy']();}catch(_0x303faf){PerformanceTester['captureError'](_0x303faf);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)]['all'][_0x33b865(0x220)],async()=>{const _0x5ee436=_0x33b865;try{requestSpy[_0x5ee436(0x257)](),await _0x174b59['stop']();}catch(_0x3418c6){PerformanceTester[_0x5ee436(0x1f5)](_0x3418c6);}finally{PerformanceTester[_0x5ee436(0x1f7)]();}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x207)][_0x33b865(0x204)],_0x4e535a=>{const _0x5f2b2b=_0x33b865;try{const _0x146b32=_0x4e535a[_0x5f2b2b(0x265)][_0x5f2b2b(0x1cd)],_0x305f48=_0x174b59['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x146b32);CodeceptRecorder[_0x5f2b2b(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x5f2b2b(0x1dd)],_0x305f48));}catch(_0x259158){PerformanceTester[_0x5f2b2b(0x1f5)](_0x259158);}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)]['hook'][_0x33b865(0x1e4)],_0x8ab583=>{const _0xebb554=_0x33b865;try{const _0x2b40ac=_0x8ab583['ctx'][_0xebb554(0x1cd)],_0x46c5b4=_0x174b59[_0xebb554(0x1fe)](TEST_EVENTS[_0xebb554(0x254)],_0x2b40ac);CodeceptRecorder['add'](()=>_0x174b59[_0xebb554(0x1e6)](TEST_EVENTS[_0xebb554(0x254)],_0x46c5b4));}catch(_0x3499ba){PerformanceTester[_0xebb554(0x1f5)](_0x3499ba);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x207)]['failed'],async(_0x1d09ca,_0x359211)=>{const _0x5a282c=_0x33b865;try{const _0x26ab08=_0x1d09ca[_0x5a282c(0x265)][_0x5a282c(0x1cd)],_0xe4efba=_0x174b59[_0x5a282c(0x1fe)](TEST_EVENTS[_0x5a282c(0x254)],_0x26ab08,_0x359211);CodeceptRecorder[_0x5a282c(0x1ce)](()=>_0x174b59[_0x5a282c(0x1e6)](TEST_EVENTS[_0x5a282c(0x254)],_0xe4efba));}catch(_0x3dc1bc){PerformanceTester['captureError'](_0x3dc1bc);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x256)],_0x45bc67=>{const _0x52c470=_0x33b865;try{_0x4ebc0f['yyzsm'](isBrowserstackInfra)&&(_0x2b8074&&(global['__workerDetails']={'currentTest':{'name':_0x45bc67['title'],'testInfo':{'titlePath':_0x45bc67[_0x52c470(0x238)]()}}}));}catch(_0x26e5d9){PerformanceTester[_0x52c470(0x1f5)](_0x26e5d9);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x204)],_0x4e02c6=>{const _0x37b6db=_0x33b865;try{const _0x2f5c58=_0x174b59[_0x37b6db(0x1fe)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4e02c6);CodeceptRecorder[_0x37b6db(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x37b6db(0x1c9)],_0x2f5c58)),CodeceptRecorder['add'](async()=>{const _0x31e939=_0x37b6db;_0x4ebc0f['cSfqD'](isBrowserstackInfra)&&(!_0x4ebc0f[_0x31e939(0x231)](isTrue,_0x4665f7[_0x31e939(0x230)])&&await _0x4ebc0f[_0x31e939(0x1cc)](markSessionName,_0x542f9f,_0x4e02c6['title']),_0x174b59['enabled']&&await _0x4ebc0f['EGLqI'](o11ySync,_0x542f9f));});}catch(_0x3595f2){PerformanceTester['captureError'](_0x3595f2);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS['event'][_0x33b865(0x1cd)][_0x33b865(0x1e4)],_0x125c4f=>{const _0x240d9f=_0x33b865,_0x36650c={'MXPzH':function(_0x37cd2e){const _0x26b080=a1_0x5b54;return _0x4ebc0f[_0x26b080(0x20f)](_0x37cd2e);},'LqbKR':function(_0x5e76f8,_0x11eaca,_0x1b7741){const _0x5a2464=a1_0x5b54;return _0x4ebc0f[_0x5a2464(0x1cc)](_0x5e76f8,_0x11eaca,_0x1b7741);},'GhHAM':function(_0xe1c0c7,_0xbadf19,_0x56a581){return _0x4ebc0f['KhyOL'](_0xe1c0c7,_0xbadf19,_0x56a581);}};try{const _0x2e18a3=_0x174b59['captureEvent'](TEST_EVENTS[_0x240d9f(0x21c)],_0x125c4f);CodeceptRecorder[_0x240d9f(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x240d9f(0x21c)],_0x2e18a3)),CodeceptRecorder[_0x240d9f(0x1ce)](async()=>{const _0x27d754=_0x240d9f;_0x36650c['MXPzH'](isBrowserstackInfra)&&(_0x2b8074?await _0x36650c[_0x27d754(0x1d1)](playwrightMarkSessionStatus,_0x542f9f,STATE_PASSED):await _0x36650c['GhHAM'](markSessionStatus,_0x542f9f,STATE_PASSED));});}catch(_0x2b5be9){PerformanceTester[_0x240d9f(0x1f5)](_0x2b5be9);}}),CodeceptJS['event'][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x206)],(_0x486487,_0x391f37)=>{const _0xaabc1c=_0x33b865,_0x249c3e={'gCtWV':function(_0x4df8a1){const _0x599dd3=a1_0x5b54;return _0x4ebc0f[_0x599dd3(0x20f)](_0x4df8a1);},'ciHmY':function(_0x686817,_0x332645,_0x3f489c,_0x259232){return _0x4ebc0f['DxjRw'](_0x686817,_0x332645,_0x3f489c,_0x259232);},'cniat':function(_0x4cb775,_0x462ac8,_0x1ed763,_0xb8b875){return _0x4ebc0f['DxjRw'](_0x4cb775,_0x462ac8,_0x1ed763,_0xb8b875);}};try{if(_0x4ebc0f[_0xaabc1c(0x1e5)](_0x486487[_0xaabc1c(0x24f)][_0xaabc1c(0x200)],_0x4ebc0f['oIrka'])){const _0x27a2cb=_0x174b59['captureEvent'](TEST_EVENTS[_0xaabc1c(0x203)],_0x486487[_0xaabc1c(0x265)][_0xaabc1c(0x244)]);CodeceptRecorder[_0xaabc1c(0x1ce)](()=>_0x174b59[_0xaabc1c(0x1e6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x27a2cb));}else{const _0x6b529d=_0x174b59['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x486487,_0x391f37);CodeceptRecorder['add'](()=>{const _0xb04b2b=_0xaabc1c;try{_0x174b59[_0xb04b2b(0x1e6)](TEST_EVENTS[_0xb04b2b(0x21c)],_0x6b529d);}catch(_0x353c65){logger[_0xb04b2b(0x1c8)](_0xb04b2b(0x1f3)+util['format'](_0x353c65));}}),CodeceptRecorder['add'](async()=>{const _0x31d9e4=_0xaabc1c;try{_0x249c3e[_0x31d9e4(0x25d)](isBrowserstackInfra)&&(_0x2b8074?await _0x249c3e[_0x31d9e4(0x1cb)](playwrightMarkSessionStatus,_0x542f9f,STATE_FAILED,_0x391f37):await _0x249c3e['cniat'](markSessionStatus,_0x542f9f,STATE_FAILED,_0x391f37));}catch(_0x3a11cd){logger['debug'](_0x31d9e4(0x24c)+util[_0x31d9e4(0x242)](_0x3a11cd));}});}}catch(_0x18f7d3){PerformanceTester[_0xaabc1c(0x1f5)](_0x18f7d3);}}),CodeceptJS['event'][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x247)],_0x1edac2=>{const _0x3e7070=_0x33b865;try{const _0x24fb44=_0x174b59['captureEvent'](TEST_EVENTS[_0x3e7070(0x203)],_0x1edac2);CodeceptRecorder[_0x3e7070(0x1ce)](()=>_0x174b59[_0x3e7070(0x1e6)](TEST_EVENTS[_0x3e7070(0x203)],_0x24fb44));}catch(_0x59aecb){PerformanceTester[_0x3e7070(0x1f5)](_0x59aecb);}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS['event'][_0x33b865(0x1cd)][_0x33b865(0x220)],async(_0x31f343,_0x110366)=>{const _0x2b556f=_0x33b865;try{if(_0x4ebc0f['cSfqD'](isBrowserstackInfra)){const _0x42b1a2=_0x4ebc0f[_0x2b556f(0x1cc)](shouldScanTestForAccessibility,_0x31f343[_0x2b556f(0x238)](),!![]);if(_0x4ebc0f[_0x2b556f(0x208)](isAccessibilityAutomationSession)&&global[_0x2b556f(0x255)]&&_0x42b1a2){const _0x38b283={};_0x38b283[_0x2b556f(0x267)]=_0x31f343[_0x2b556f(0x252)],_0x38b283[_0x2b556f(0x1d0)]=process[_0x2b556f(0x1d8)][testHubConstants[_0x2b556f(0x215)][_0x2b556f(0x25a)]],_0x38b283['thJwtToken']=process[_0x2b556f(0x1d8)][testHubConstants[_0x2b556f(0x215)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4cc61f=_0x38b283;logger[_0x2b556f(0x1c8)](_0x2b556f(0x1d3)+JSON[_0x2b556f(0x23a)](_0x4cc61f)),CodeceptRecorder[_0x2b556f(0x1ce)](async()=>{const _0xfd9a58=_0x2b556f;await AccessibilityHelper[_0xfd9a58(0x21b)](_0x542f9f,scripts[_0xfd9a58(0x1ec)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x542f9f,scripts['saveTestResults'],_0x4cc61f);}),logger[_0x2b556f(0x1f4)](_0x4ebc0f[_0x2b556f(0x262)]);}}}catch(_0x416a02){PerformanceTester['captureError'](_0x416a02);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x20e)][_0x33b865(0x1da)],_0x8c6580=>{const _0x5950ab=_0x33b865;try{process['emit'](_0x5950ab(0x212)+process['pid'],{'timestamp':new Date()[_0x5950ab(0x23b)](),'level':_0x4ebc0f[_0x5950ab(0x1d5)],'message':_0x8c6580,'kind':_0x4ebc0f[_0x5950ab(0x1e2)],'http_response':{}});}catch(_0x235cb1){PerformanceTester[_0x5950ab(0x1f5)](_0x235cb1);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)]['bddStep'][_0x33b865(0x256)],_0x73c2c1=>{_0x174b59['bddStepStart'](_0x73c2c1);}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x232)][_0x33b865(0x220)],_0x557dc4=>{const _0x245982=_0x33b865;_0x174b59[_0x245982(0x223)](_0x557dc4);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x486fec=a2_0x3e44;function a2_0x1fc3(){const _0x515678=['browserName','pHuit','getUserWorkerCount','testObservability','../../helpers/logger','teardownAll','olmRF','Passed\x20:\x20','nFOvo','CkcCr','-cucumber','../../bin/playwright/accessibility-helper','event','all','ERpFq','fBDNC','92ASgPcH','slice','result','stack','browser','stop','path','cQPxQ','null','../../helpers/utilities','testContextOptions','firefox','accessibilityOptions','BrowserStackPlugin.js','require','62fDYwEp','frameworkName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserStackCwd','3773085mEWBwk','8mMkFjZ','Started\x20:\x20','chdir','browserWSEndpoint','gherkin','pqncq','validPlatformsPresent','info','parallelsPerPlatform','title','cwd','Failed\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','playwright-webkit','debug','profile','vEica','existsSync','lHEQI','uIPWp','playwright-firefox','CODECEPT','prepareCapabilities','ZevWj','isUndefined','playwright-chromium','qVtww','11BHShTx','DkQrB','forEach','root','desiredCapabilities','dirname','rTkgV','config','skipSessionName','initialize','drIXt','failed','chrome','codeceptjs/lib/index.js','Workers','chromium','test','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','uwOwV','MhBCK','before','2168217OxSCXV','map','bootstrapAll','plugins','Playwright','pdrnU','passed','../../helpers/BrowserStackSetup','1069830rvKFFT','qQpzH','TFbQO','util','17398QAqntW','false','blHoV','BoQgE','3153388eFANsI','ZXusw','err','helpers','join','now','finalExecution','accessibility','codeceptjs','../../helpers/helper','addConfig','WebDriver','format','launchBuild','../../helpers/testhub/testhubHandler','MhSqS','getPlaywrightUrl','getPlatformName','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','mergeDeep','../utils/constants','1178172TPYhQe','2|3|0|4|1','eZNYS','FRAMEWORKS','log','handleApp','printBuildLink','split','LLUpj','cSlwc','ctqIp','createGroupsOfSuites','findIndex','toLowerCase','QvlnO','31791zjeOEq','webkit','BROWSERSTACK_RERUN','useW3C','testConfig'];a2_0x1fc3=function(){return _0x515678;};return a2_0x1fc3();}(function(_0x130a68,_0x3e10c8){const _0x1ee48f=a2_0x3e44,_0x57319c=_0x130a68();while(!![]){try{const _0x20a37f=parseInt(_0x1ee48f(0x158))/0x1*(parseInt(_0x1ee48f(0x19a))/0x2)+-parseInt(_0x1ee48f(0x134))/0x3*(parseInt(_0x1ee48f(0x149))/0x4)+parseInt(_0x1ee48f(0x15c))/0x5+parseInt(_0x1ee48f(0x125))/0x6+-parseInt(_0x1ee48f(0x19e))/0x7+parseInt(_0x1ee48f(0x15d))/0x8*(-parseInt(_0x1ee48f(0x18e))/0x9)+-parseInt(_0x1ee48f(0x196))/0xa*(parseInt(_0x1ee48f(0x178))/0xb);if(_0x20a37f===_0x3e10c8)break;else _0x57319c['push'](_0x57319c['shift']());}catch(_0x68891e){_0x57319c['push'](_0x57319c['shift']());}}}(a2_0x1fc3,0x6d6ce));function a2_0x3e44(_0x28ce78,_0xa6e5f0){const _0x1fc38c=a2_0x1fc3();return a2_0x3e44=function(_0x3e442b,_0x5b29dd){_0x3e442b=_0x3e442b-0x119;let _0x5b6c87=_0x1fc38c[_0x3e442b];return _0x5b6c87;},a2_0x3e44(_0x28ce78,_0xa6e5f0);}const fs=require('fs'),path=require(a2_0x486fec(0x14f)),util=require(a2_0x486fec(0x199)),process=require('process'),logger=require(a2_0x486fec(0x13d))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x486fec(0x195)),helper=require(a2_0x486fec(0x1a7)),utilities=require(a2_0x486fec(0x152)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x486fec(0x144)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x486fec(0x1a7)),CodeceptJS=requireModule(a2_0x486fec(0x185)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x486fec(0x11c)),constants=require(a2_0x486fec(0x124)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2a50bc,_0x274b2e)=>{const _0x2f73bc=a2_0x486fec,_0xc1bcf6={};_0xc1bcf6[_0x2f73bc(0x133)]=function(_0x133327,_0x15589f){return _0x133327===_0x15589f;},_0xc1bcf6[_0x2f73bc(0x148)]='codecept.conf.js',_0xc1bcf6[_0x2f73bc(0x19d)]='codecept.json';const _0x600703=_0xc1bcf6;let _0x115002=null;const _0x59e4d9={};let _0x7ab3fc=_0x274b2e['findIndex'](_0x2c9262=>_0x2c9262==='--config');_0x600703[_0x2f73bc(0x133)](_0x7ab3fc,-0x1)&&(_0x7ab3fc=_0x274b2e[_0x2f73bc(0x131)](_0x4ff77b=>_0x4ff77b==='-c'));if(!helper[_0x2f73bc(0x175)](_0x2a50bc[_0x2f73bc(0x17f)])&&fs[_0x2f73bc(0x16e)](path['join'](process[_0x2f73bc(0x167)](),_0x2a50bc[_0x2f73bc(0x17f)])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc[_0x2f73bc(0x17f)]),_0x274b2e[_0x2f73bc(0x14a)](_0x7ab3fc,0x2);else{if(!helper['isUndefined'](_0x2a50bc['c'])&&fs['existsSync'](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc['c'])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc['c']),_0x274b2e[_0x2f73bc(0x14a)](_0x7ab3fc,0x2);else{if(fs[_0x2f73bc(0x16e)](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x148)])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x148)]);else fs[_0x2f73bc(0x16e)](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x19d)]))&&(_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703['BoQgE']));}}return _0x115002;},getO11yRerunPattern=()=>{const _0x1a34d5=a2_0x486fec,_0x5d8d94={};_0x5d8d94[_0x1a34d5(0x12d)]=function(_0x497f1d,_0x348b9e){return _0x497f1d!==_0x348b9e;},_0x5d8d94['ctqIp']=_0x1a34d5(0x151);const _0x5bad39=_0x5d8d94,_0x23082c=helper['isTrue'](process['env'][_0x1a34d5(0x136)]);if(_0x23082c){const _0x366864=process[_0x1a34d5(0x120)]['BROWSERSTACK_RERUN_TESTS'],_0x1e02e8=[];if(_0x5bad39[_0x1a34d5(0x12d)](_0x366864,_0x5bad39[_0x1a34d5(0x12f)])&&!helper['isUndefined'](_0x366864)){_0x366864[_0x1a34d5(0x12c)](',')[_0x1a34d5(0x18f)](_0x194caf=>{const _0x3e29c7=_0x1a34d5;_0x1e02e8[_0x3e29c7(0x18a)]('('+_0x194caf['trim']()+')');});const _0x484635='^'+_0x1e02e8[_0x1a34d5(0x1a2)]('|')+'$';return _0x484635;}}return null;},a2_0x2d0ab9={};a2_0x2d0ab9[a2_0x486fec(0x184)]='chromium',a2_0x2d0ab9[a2_0x486fec(0x176)]=a2_0x486fec(0x187),a2_0x2d0ab9[a2_0x486fec(0x171)]=a2_0x486fec(0x154),a2_0x2d0ab9[a2_0x486fec(0x16a)]=a2_0x486fec(0x135);const pwToCodeceptBrowser=a2_0x2d0ab9;async function run(_0x5739ff,_0xa9d78d){const _0x1dce27=a2_0x486fec,_0x501451={'nFOvo':function(_0xd41e38,_0x28d9e1){return _0xd41e38+_0x28d9e1;},'MhBCK':function(_0x169340,_0x1df487){return _0x169340(_0x1df487);},'ERpFq':function(_0x3c3c80,_0x5284a6){return _0x3c3c80+_0x5284a6;},'ZevWj':function(_0x4afbac,_0x320c7c,_0x2f2d0a){return _0x4afbac(_0x320c7c,_0x2f2d0a);},'blHoV':_0x1dce27(0x17f),'TFbQO':_0x1dce27(0x1a1),'vEica':function(_0xceca0a){return _0xceca0a();},'pHuit':_0x1dce27(0x168),'uwOwV':_0x1dce27(0x140),'MhSqS':_0x1dce27(0x15e),'cQPxQ':_0x1dce27(0x126),'uIPWp':_0x1dce27(0x1a6),'rTkgV':function(_0x5b5eb6,_0x1659b6,_0x6d597){return _0x5b5eb6(_0x1659b6,_0x6d597);},'pdrnU':function(_0x2e8d6f,_0x5b43ed){return _0x2e8d6f(_0x5b43ed);},'LkXJk':_0x1dce27(0x15a),'pqncq':function(_0x57df53,_0xdc68f0,_0x466566){return _0x57df53(_0xdc68f0,_0x466566);},'ZXusw':_0x1dce27(0x192),'FvxgK':_0x1dce27(0x119),'lHEQI':function(_0xd8e82e,_0x2d7857){return _0xd8e82e!=_0x2d7857;},'drIXt':_0x1dce27(0x19b),'FHLRy':_0x1dce27(0x161),'OSATV':_0x1dce27(0x143),'cSlwc':function(_0x51aa4b,_0x209626){return _0x51aa4b(_0x209626);},'JrVPq':function(_0x1f3ba6,_0x445751){return _0x1f3ba6*_0x445751;},'olmRF':function(_0x394dc2,_0x2d11c2,_0x5fb00a){return _0x394dc2(_0x2d11c2,_0x5fb00a);},'eZNYS':_0x1dce27(0x14d),'DkQrB':'desiredCapabilities','CkcCr':_0x1dce27(0x17b),'qQpzH':_0x1dce27(0x156),'qVtww':_0x1dce27(0x15b),'Eledm':function(_0x47664a){return _0x47664a();}},_0x8eb5e5=new BrowserStackSetup(_0x5739ff,_0x501451[_0x1dce27(0x170)]);await _0x8eb5e5[_0x1dce27(0x181)](),await helper[_0x1dce27(0x12a)](_0x8eb5e5['config']);if(!_0x8eb5e5['config'])return;process[_0x1dce27(0x16c)]=_0x5739ff[_0x1dce27(0x16c)];_0x5739ff['profile']&&(process[_0x1dce27(0x120)][_0x1dce27(0x16c)]=_0x5739ff[_0x1dce27(0x16c)]);const _0x37ca25=_0x501451['rTkgV'](getUserCodeceptJSConfigs,_0x5739ff,_0xa9d78d);let _0x2ad8bb={};_0x37ca25?(logger[_0x1dce27(0x164)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x37ca25),_0x2ad8bb=_0x501451[_0x1dce27(0x193)](require,_0x37ca25)):logger['info'](_0x501451['LkXJk']);let _0x3882f6=![];_0x501451['pqncq'](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x1dce27(0x19c)],_0x501451['TFbQO'],_0x501451[_0x1dce27(0x19f)]])&&(_0x3882f6=!![]);const _0x3c7573=_0x3882f6?_0x501451[_0x1dce27(0x19f)]:_0x501451['FvxgK'];let _0xb0bdae=!_0x3882f6?helper[_0x1dce27(0x137)](_0x8eb5e5[_0x1dce27(0x17f)]):![];!helper[_0x1dce27(0x175)](_0x8eb5e5['config'][_0x1dce27(0x155)])&&(process[_0x1dce27(0x120)][_0x1dce27(0x189)]=JSON[_0x1dce27(0x122)](_0x8eb5e5[_0x1dce27(0x17f)][_0x1dce27(0x155)]));let _0x173f2c=_0x8eb5e5['config'][_0x1dce27(0x1a5)];_0x173f2c=_0x173f2c||_0x501451['MhBCK'](checkAccessibilityPlatformConfig,_0x8eb5e5[_0x1dce27(0x17f)]),process['env'][_0x1dce27(0x169)]=_0x173f2c;_0x173f2c&&(_0xb0bdae=!_0x173f2c);_0x501451[_0x1dce27(0x16f)](_0x8eb5e5[_0x1dce27(0x17f)]['testObservability'],null)?process[_0x1dce27(0x120)][_0x1dce27(0x121)]=_0x8eb5e5[_0x1dce27(0x17f)]['testObservability']:process['env'][_0x1dce27(0x121)]=_0x501451[_0x1dce27(0x182)];const _0x3a35ff=_0x501451[_0x1dce27(0x141)](_0x501451[_0x1dce27(0x170)],_0x501451[_0x1dce27(0x162)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451['FHLRy']])?_0x501451['OSATV']:''),_0x171cbc=await TestHubHandler[_0x1dce27(0x11b)](_0x3a35ff,_0x8eb5e5);_0x173f2c&&_0x501451[_0x1dce27(0x12e)](setAccessibilityCapabilities,_0x8eb5e5[_0x1dce27(0x17f)]);const _0x1324d8={},_0x15639d=[],_0x4ab64e=_0x8eb5e5['config'][_0x1dce27(0x165)]||helper[_0x1dce27(0x13b)](_0x5739ff,_0xa9d78d,_0x8eb5e5['config'],constants[_0x1dce27(0x128)][_0x1dce27(0x172)])||0x1;let _0x1ee862=0x1;if(_0x501451[_0x1dce27(0x16d)](isBrowserstackInfra)){const _0x5d8c=helper[_0x1dce27(0x173)](_0x8eb5e5[_0x1dce27(0x17f)],_0xb0bdae,constants[_0x1dce27(0x128)][_0x1dce27(0x172)]);helper[_0x1dce27(0x163)](_0x8eb5e5['config'])?_0x1ee862=_0x501451['JrVPq'](_0x4ab64e,_0x8eb5e5[_0x1dce27(0x17f)]['platforms']['length']):_0x1ee862=_0x4ab64e,_0x5d8c[_0x1dce27(0x17a)](_0x3ddab5=>{const _0x345cf5=_0x1dce27,_0x5c4739=_0x501451[_0x345cf5(0x147)](helper[_0x345cf5(0x11f)](_0x3ddab5,'_'),'_'+Date[_0x345cf5(0x1a3)]()),_0x193f4c=((()=>{const _0x58185b=_0x345cf5;if(_0x3882f6){const _0x964873=pwToCodeceptBrowser[_0x3ddab5[_0x58185b(0x139)]]||_0x3ddab5[_0x58185b(0x139)];return{'browser':_0x964873,[_0x964873]:{'browserWSEndpoint':_0x501451[_0x58185b(0x141)](helper[_0x58185b(0x11e)](_0x8eb5e5[_0x58185b(0x17f)]),_0x501451[_0x58185b(0x18c)](encodeURIComponent,JSON['stringify'](_0x3ddab5)))}};}const _0x4a2f2a={};return _0x4a2f2a[_0x58185b(0x17c)]=_0x3ddab5,_0x4a2f2a;})()),_0x3e8aab=_0x501451[_0x345cf5(0x174)](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x345cf5(0x19c)],_0x501451[_0x345cf5(0x198)],_0x3c7573]);_0x1324d8[_0x5c4739]=_0x3e8aab?helper[_0x345cf5(0x123)](_0x193f4c,_0x3e8aab):_0x193f4c,!_0x3882f6&&(_0x1324d8[_0x5c4739]['browser']=_0x3ddab5[_0x345cf5(0x139)]||_0x193f4c[_0x345cf5(0x14d)]),_0x15639d[_0x345cf5(0x18a)](_0x5c4739);});}else{_0x1ee862=0x1;if(_0x3882f6){const _0xb9404b=_0x501451[_0x1dce27(0x13f)](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x1dce27(0x19c)],_0x501451[_0x1dce27(0x198)],_0x3c7573,_0x501451[_0x1dce27(0x127)]]),_0x3b8354=_0x501451[_0x1dce27(0x17e)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451['TFbQO'],_0x3c7573,_0xb9404b]);_0x3b8354&&_0x3b8354[_0x1dce27(0x160)]&&(_0x3b8354[_0x1dce27(0x160)]=helper[_0x1dce27(0x173)](null,null,_0x3a35ff['toLowerCase'](),null,null,_0x3b8354['browserWSEndpoint']));}else _0x2ad8bb[_0x1dce27(0x17f)][_0x501451[_0x1dce27(0x198)]][_0x3c7573][_0x501451[_0x1dce27(0x179)]]=helper[_0x1dce27(0x173)](null,null,_0x3a35ff[_0x1dce27(0x132)](),_0x501451[_0x1dce27(0x174)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451[_0x1dce27(0x198)],_0x3c7573,_0x501451[_0x1dce27(0x179)]]),null,null);_0x1324d8[_0x501451[_0x1dce27(0x142)]]=_0x2ad8bb['config'],_0x15639d['push'](_0x501451[_0x1dce27(0x142)]);}const _0x62b009={};_0x62b009[_0x1dce27(0x138)]=_0x37ca25;const _0x5191c5=_0x62b009,_0x3fc528=path[_0x1dce27(0x1a2)](__dirname,_0x501451[_0x1dce27(0x197)]),_0x5583cd=process[_0x1dce27(0x167)]();process[_0x1dce27(0x120)][_0x501451[_0x1dce27(0x177)]]=_0x5583cd,process[_0x1dce27(0x15f)](path[_0x1dce27(0x17d)](_0x37ca25));const _0x24e1f0=new CodeceptJS[(_0x1dce27(0x186))](null,_0x5191c5),_0x301bb8=_0x24e1f0[_0x1dce27(0x130)](_0x1ee862),_0x191224=testOpsHelper['isTestObservabilitySession'](),_0x4d236f=_0x15639d[_0x1dce27(0x18f)](_0x11cfbd=>{const _0x564f72=_0x1dce27,_0x11748c={};_0x11748c[_0x564f72(0x192)]=_0x1324d8[_0x11cfbd];const _0x1ce949={};_0x1ce949[_0x564f72(0x119)]=_0x1324d8[_0x11cfbd];const _0x370d82=_0x3882f6?_0x11748c:_0x1ce949,_0x35165d=_0x501451[_0x564f72(0x16d)](getO11yRerunPattern),_0x37159={};_0x37159[_0x564f72(0x1a1)]=_0x370d82;const _0xa13a92={};_0xa13a92[_0x564f72(0x157)]=_0x3fc528,_0xa13a92['enabled']=!![],_0xa13a92[_0x564f72(0x180)]=_0x8eb5e5[_0x564f72(0x17f)]['testContextOptions'][_0x564f72(0x180)],_0xa13a92['skipSessionStatus']=_0x8eb5e5[_0x564f72(0x17f)][_0x564f72(0x153)]['skipSessionStatus'],_0xa13a92[_0x564f72(0x13c)]=_0x191224,_0xa13a92[_0x564f72(0x159)]=_0x3a35ff;const _0x18c7c4={};_0x18c7c4['BrowserStackPlugin']=_0xa13a92;const _0x46cf4e={};return _0x46cf4e[_0x564f72(0x191)]=_0x18c7c4,helper[_0x564f72(0x123)]({},_0x2ad8bb[_0x564f72(0x17f)],_0x501451[_0x564f72(0x16d)](isBrowserstackInfra)?_0x37159:{},_0x35165d?{'grep':_0x35165d}:{},_0x46cf4e);});for(const _0x5edb8f of _0x4d236f){for(const _0x83cb08 of _0x301bb8){const _0x4ba3d7=_0x24e1f0['spawn']();_0x4ba3d7['addTests'](_0x83cb08),_0x4ba3d7[_0x1dce27(0x1a8)](_0x5edb8f);}}_0x24e1f0['on'](CodeceptJS['event']['test'][_0x1dce27(0x183)],(_0x28fbd2,_0x2a6283)=>{const _0x8d2511=_0x1dce27;console[_0x8d2511(0x129)](_0x501451[_0x8d2511(0x13a)],_0x28fbd2[_0x8d2511(0x166)]);const _0x54a2da={[_0x28fbd2[_0x8d2511(0x166)]]:_0x28fbd2[_0x8d2511(0x1a0)][_0x8d2511(0x14c)]};_testErrorData[_0x8d2511(0x18a)](_0x54a2da);}),_0x24e1f0['on'](CodeceptJS['event'][_0x1dce27(0x188)][_0x1dce27(0x194)],async _0x44f312=>{const _0x226839=_0x1dce27;console[_0x226839(0x129)](_0x501451[_0x226839(0x18b)],_0x44f312['title']);}),_0x24e1f0['on'](CodeceptJS['event'][_0x1dce27(0x188)][_0x1dce27(0x18d)],async _0x21a392=>{const _0x47b159=_0x1dce27;console[_0x47b159(0x129)](_0x501451[_0x47b159(0x11d)],_0x21a392['title']);}),_0x24e1f0['on'](CodeceptJS[_0x1dce27(0x145)][_0x1dce27(0x146)][_0x1dce27(0x14b)],async()=>{const _0x368544=_0x1dce27,_0x20bb01=_0x501451[_0x368544(0x150)][_0x368544(0x12c)]('|');let _0x3e45f3=0x0;while(!![]){switch(_0x20bb01[_0x3e45f3++]){case'0':utilities[_0x368544(0x1a4)](_0x8eb5e5);continue;case'1':_0x24e1f0['printResults']();continue;case'2':_0x8eb5e5['errorMessage']=_testErrorData;continue;case'3':testOpsHelper[_0x368544(0x12b)]();continue;case'4':try{await TestHubHandler[_0x368544(0x14e)]();}catch(_0x2d7efc){logger[_0x368544(0x16b)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x368544(0x11a)](_0x2d7efc));}continue;}break;}});async function _0x4d1694(){const _0x2d8a5a=_0x1dce27;try{await _0x24e1f0[_0x2d8a5a(0x190)](),await _0x24e1f0['run']();}finally{process[_0x2d8a5a(0x15f)](_0x5583cd),await _0x24e1f0[_0x2d8a5a(0x13e)]();}}_0x501451['Eledm'](_0x4d1694);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0x191651=a2_0x2f72;(function(_0x23e369,_0x5e8a6d){const _0x2ef413=a2_0x2f72,_0x5db723=_0x23e369();while(!![]){try{const _0x1c8167=-parseInt(_0x2ef413(0x1ea))/0x1*(parseInt(_0x2ef413(0x1ef))/0x2)+-parseInt(_0x2ef413(0x206))/0x3+-parseInt(_0x2ef413(0x1c7))/0x4+parseInt(_0x2ef413(0x1fb))/0x5*(-parseInt(_0x2ef413(0x1e9))/0x6)+-parseInt(_0x2ef413(0x20c))/0x7+-parseInt(_0x2ef413(0x1ca))/0x8*(parseInt(_0x2ef413(0x1d6))/0x9)+parseInt(_0x2ef413(0x1cd))/0xa;if(_0x1c8167===_0x5e8a6d)break;else _0x5db723['push'](_0x5db723['shift']());}catch(_0x2046e6){_0x5db723['push'](_0x5db723['shift']());}}}(a2_0x5ecc,0x4a843));function a2_0x5ecc(){const _0x18af3f=['handleApp','isTrue','LcfYZ','info','moTpf','length','Workers','testObservability','30oNQzZN','236iHnxOt','Failed\x20:\x20','useW3C','Mepua','parallelsPerPlatform','4474zQjTGO','stack','helpers','accessibilityOptions','platforms','getUserWorkerCount','findIndex','errorMessage','vjnsd','0|1|4|3|2','isTestObservabilitySession','chromium','21785QgttRw','before','gBNfL','WebDriver','FRAMEWORKS','TxTtS','getPlaywrightUrl','TIVEv','codeceptjs/lib/index.js','env','browserWSEndpoint','1708524rGYGmQ','toLowerCase','playwright-webkit','skipSessionStatus','accessibility','shXsD','2898672nsJDeG','Started\x20:\x20','../../helpers/logger','frameworkName','vkHqp','BROWSERSTACK_RERUN','slice','gherkin','-cucumber','test','browser','webkit','Passed\x20:\x20','all','validPlatformsPresent','result','cSVsv','Rftfy','msGrQ','../../bin/playwright/accessibility-helper','profile','ugSZH','codecept.json','failed','QciIM','itcGQ','wUqHe','testConfig','teardownAll','dirname','cwd','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','CODECEPT','../../helpers/accessibility-automation/helper','NChYy','addConfig','log','debug','browserStackCwd','mergeDeep','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chrome','null','wLYHu','desiredCapabilities','BrowserStackPlugin','split','skipSessionName','gYbfO','event','push','format','playwright-firefox','ywASV','title','passed','playwright-chromium','codecept.conf.js','trim','Drwdj','BROWSERSTACK_RERUN_TESTS','prepareCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','spawn','jPvmM','browserName','err','bootstrapAll','process','ADQkk','IBwTk','isUndefined','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','map','YfDaj','config','BtQrE','addTests','1759324yMKvVH','false','hgSKC','8DuYTtz','existsSync','join','25440440wiGTjB','../../helpers/helper','xaoTG','mCdHM','util','path','getPlatformName','WYBAu','Playwright','2391057pgcNIH','dfGlw','enabled','VIGnF','IqRkz','plugins','codeceptjs','RDsPo','jWnIL','testContextOptions','../../helpers/utilities'];a2_0x5ecc=function(){return _0x18af3f;};return a2_0x5ecc();}const fs=require('fs'),path=require(a2_0x191651(0x1d2)),util=require(a2_0x191651(0x1d1)),process=require(a2_0x191651(0x1bd)),logger=require(a2_0x191651(0x20e))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x191651(0x1ce)),utilities=require(a2_0x191651(0x1e0)),{checkAccessibilityPlatformConfig}=require(a2_0x191651(0x19a)),{setAccessibilityCapabilities}=require(a2_0x191651(0x21f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x191651(0x1ce)),CodeceptJS=requireModule(a2_0x191651(0x203)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x13b679,_0x4a088b)=>{const _0x19b845=a2_0x191651,_0x792114={};_0x792114[_0x19b845(0x21d)]=function(_0xb6c9f,_0x108104){return _0xb6c9f===_0x108104;},_0x792114['jPvmM']=_0x19b845(0x1b2),_0x792114[_0x19b845(0x1c9)]=_0x19b845(0x222);const _0x4c4018=_0x792114;let _0x4bf0b0=null;const _0x46776c={};let _0x5b57ec=_0x4a088b['findIndex'](_0x5dbcf2=>_0x5dbcf2==='--config');_0x4c4018[_0x19b845(0x21d)](_0x5b57ec,-0x1)&&(_0x5b57ec=_0x4a088b[_0x19b845(0x1f5)](_0x47e2e0=>_0x47e2e0==='-c'));if(!helper[_0x19b845(0x1c0)](_0x13b679['config'])&&fs[_0x19b845(0x1cb)](path['join'](process[_0x19b845(0x22a)](),_0x13b679['config'])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679[_0x19b845(0x1c4)]),_0x4a088b[_0x19b845(0x212)](_0x5b57ec,0x2);else{if(!helper[_0x19b845(0x1c0)](_0x13b679['c'])&&fs['existsSync'](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679['c'])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679['c']),_0x4a088b['slice'](_0x5b57ec,0x2);else{if(fs[_0x19b845(0x1cb)](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1b9)])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1b9)]);else fs['existsSync'](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1c9)]))&&(_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1c9)]));}}return _0x4bf0b0;},getO11yRerunPattern=()=>{const _0xe50170=a2_0x191651,_0x377589={};_0x377589[_0xe50170(0x1f7)]=function(_0x52b595,_0x12cbe2){return _0x52b595!==_0x12cbe2;},_0x377589[_0xe50170(0x20b)]=_0xe50170(0x1a3);const _0x1e923c=_0x377589,_0x3fd837=helper[_0xe50170(0x1e2)](process[_0xe50170(0x204)][_0xe50170(0x211)]);if(_0x3fd837){const _0x14c71d=process[_0xe50170(0x204)][_0xe50170(0x1b5)],_0x3726a1=[];if(_0x1e923c[_0xe50170(0x1f7)](_0x14c71d,_0x1e923c[_0xe50170(0x20b)])&&!helper[_0xe50170(0x1c0)](_0x14c71d)){_0x14c71d['split'](',')['map'](_0x34d7de=>{const _0x2c1320=_0xe50170;_0x3726a1[_0x2c1320(0x1ab)]('('+_0x34d7de[_0x2c1320(0x1b3)]()+')');});const _0x5e6b12='^'+_0x3726a1[_0xe50170(0x1cc)]('|')+'$';return _0x5e6b12;}}return null;},a2_0x2a4845={};a2_0x2a4845[a2_0x191651(0x1a2)]=a2_0x191651(0x1fa),a2_0x2a4845[a2_0x191651(0x1b1)]='chromium',a2_0x2a4845[a2_0x191651(0x1ad)]='firefox',a2_0x2a4845[a2_0x191651(0x208)]=a2_0x191651(0x217);const pwToCodeceptBrowser=a2_0x2a4845;function a2_0x2f72(_0x4b0c02,_0xba3f9f){const _0x5ecc17=a2_0x5ecc();return a2_0x2f72=function(_0x2f726c,_0x1de2c3){_0x2f726c=_0x2f726c-0x19a;let _0x3cab01=_0x5ecc17[_0x2f726c];return _0x3cab01;},a2_0x2f72(_0x4b0c02,_0xba3f9f);}async function run(_0x10efa6,_0x39019){const _0xe8dfea=a2_0x191651,_0x2030b4={'TIVEv':function(_0x4ca019,_0x3cc474){return _0x4ca019+_0x3cc474;},'wLYHu':function(_0xf9ece7,_0x59d829){return _0xf9ece7(_0x59d829);},'chhaF':function(_0x328f39,_0x42d5f7,_0x1e7393){return _0x328f39(_0x42d5f7,_0x1e7393);},'vkHqp':'config','itcGQ':'helpers','eQRii':function(_0x5b9b37){return _0x5b9b37();},'RDsPo':function(_0x47d40d){return _0x47d40d();},'Mepua':_0xe8dfea(0x1eb),'mCdHM':_0xe8dfea(0x218),'gosbf':_0xe8dfea(0x20d),'gYbfO':_0xe8dfea(0x1f8),'dfGlw':_0xe8dfea(0x1dc),'NChYy':function(_0x1b543b,_0x1a658e,_0x2df7f4){return _0x1b543b(_0x1a658e,_0x2df7f4);},'moTpf':function(_0x2465da,_0x5ceab6){return _0x2465da(_0x5ceab6);},'tnVdE':_0xe8dfea(0x1a1),'QciIM':function(_0x169de6,_0x18b6a8,_0x2e38b1){return _0x169de6(_0x18b6a8,_0x2e38b1);},'gBNfL':'Playwright','cSVsv':_0xe8dfea(0x1fe),'jWnIL':function(_0x46cac7,_0x4fbfd6){return _0x46cac7!=_0x4fbfd6;},'ugSZH':_0xe8dfea(0x1c8),'msGrQ':function(_0xac9aac,_0x1c221e){return _0xac9aac+_0x1c221e;},'Drwdj':_0xe8dfea(0x213),'ADQkk':_0xe8dfea(0x214),'BtQrE':function(_0x425c80,_0x1a4e01){return _0x425c80(_0x1a4e01);},'IBwTk':function(_0x310bf1,_0x509f33){return _0x310bf1*_0x509f33;},'WYBAu':function(_0x914580,_0x5a71fd,_0x45eccf){return _0x914580(_0x5a71fd,_0x45eccf);},'wUqHe':'browser','xaoTG':function(_0x3d0e76,_0x55876e,_0x479621){return _0x3d0e76(_0x55876e,_0x479621);},'ywASV':'desiredCapabilities','YfDaj':'root','LcfYZ':'BrowserStackPlugin.js','VIGnF':_0xe8dfea(0x19f)},_0x26dd42=new BrowserStackSetup(_0x10efa6,_0x2030b4[_0xe8dfea(0x1d7)]);await _0x26dd42['initialize'](),await helper[_0xe8dfea(0x1e1)](_0x26dd42[_0xe8dfea(0x1c4)]);if(!_0x26dd42['config'])return;process[_0xe8dfea(0x220)]=_0x10efa6[_0xe8dfea(0x220)];_0x10efa6[_0xe8dfea(0x220)]&&(process[_0xe8dfea(0x204)][_0xe8dfea(0x220)]=_0x10efa6[_0xe8dfea(0x220)]);const _0x2e0ebe=_0x2030b4[_0xe8dfea(0x19b)](getUserCodeceptJSConfigs,_0x10efa6,_0x39019);let _0x1ae887={};_0x2e0ebe?(logger[_0xe8dfea(0x1e4)](_0xe8dfea(0x1c1)+_0x2e0ebe),_0x1ae887=_0x2030b4[_0xe8dfea(0x1e5)](require,_0x2e0ebe)):logger['info'](_0x2030b4['tnVdE']);let _0x28a019=![];_0x2030b4[_0xe8dfea(0x224)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4['itcGQ'],_0x2030b4['gBNfL']])&&(_0x28a019=!![]);const _0xcd7f1b=_0x28a019?_0x2030b4[_0xe8dfea(0x1fd)]:_0x2030b4[_0xe8dfea(0x21c)];let _0x5e1404=!_0x28a019?helper[_0xe8dfea(0x1ec)](_0x26dd42[_0xe8dfea(0x1c4)]):![];!helper['isUndefined'](_0x26dd42['config'][_0xe8dfea(0x1f2)])&&(process[_0xe8dfea(0x204)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1f2)]));let _0x2a3d2b=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x20a)];_0x2a3d2b=_0x2a3d2b||_0x2030b4[_0xe8dfea(0x1e5)](checkAccessibilityPlatformConfig,_0x26dd42[_0xe8dfea(0x1c4)]),process[_0xe8dfea(0x204)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2a3d2b;_0x2a3d2b&&(_0x5e1404=!_0x2a3d2b);_0x2030b4[_0xe8dfea(0x1de)](_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1e8)],null)?process[_0xe8dfea(0x204)][_0xe8dfea(0x1b7)]=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1e8)]:process[_0xe8dfea(0x204)][_0xe8dfea(0x1b7)]=_0x2030b4[_0xe8dfea(0x221)];const _0x3818a0=_0x2030b4[_0xe8dfea(0x21e)](_0x2030b4[_0xe8dfea(0x1d7)],_0x2030b4[_0xe8dfea(0x224)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x1b4)]])?_0x2030b4[_0xe8dfea(0x1be)]:''),_0x2f32ed=await TestHubHandler['launchBuild'](_0x3818a0,_0x26dd42);_0x2a3d2b&&_0x2030b4[_0xe8dfea(0x1c5)](setAccessibilityCapabilities,_0x26dd42[_0xe8dfea(0x1c4)]);const _0x5dc84c={},_0x1d1554=[],_0x188625=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1ee)]||helper[_0xe8dfea(0x1f4)](_0x10efa6,_0x39019,_0x26dd42[_0xe8dfea(0x1c4)],constants[_0xe8dfea(0x1ff)][_0xe8dfea(0x22c)])||0x1;let _0x63cb48=0x1;if(_0x2030b4[_0xe8dfea(0x1dd)](isBrowserstackInfra)){const _0x14b581=helper[_0xe8dfea(0x1b6)](_0x26dd42[_0xe8dfea(0x1c4)],_0x5e1404,constants['FRAMEWORKS'][_0xe8dfea(0x22c)]);helper[_0xe8dfea(0x21a)](_0x26dd42[_0xe8dfea(0x1c4)])?_0x63cb48=_0x2030b4[_0xe8dfea(0x1bf)](_0x188625,_0x26dd42['config'][_0xe8dfea(0x1f3)][_0xe8dfea(0x1e6)]):_0x63cb48=_0x188625,_0x14b581['forEach'](_0x95f877=>{const _0x592d02=_0xe8dfea,_0x33aa47={'TxTtS':function(_0x7a9931,_0x3cb9b5){const _0x1d1bb6=a2_0x2f72;return _0x2030b4[_0x1d1bb6(0x202)](_0x7a9931,_0x3cb9b5);},'IqRkz':function(_0x6c3d5b,_0x29a16c){const _0x5304a7=a2_0x2f72;return _0x2030b4[_0x5304a7(0x1a4)](_0x6c3d5b,_0x29a16c);}},_0x1fa882=_0x2030b4[_0x592d02(0x202)](helper[_0x592d02(0x1d3)](_0x95f877,'_'),'_'+Date['now']()),_0x288b2a=((()=>{const _0x58f7db=_0x592d02;if(_0x28a019){const _0x3c2994=pwToCodeceptBrowser[_0x95f877['browserName']]||_0x95f877[_0x58f7db(0x1ba)];return{'browser':_0x3c2994,[_0x3c2994]:{'browserWSEndpoint':_0x33aa47[_0x58f7db(0x200)](helper[_0x58f7db(0x201)](_0x26dd42[_0x58f7db(0x1c4)]),_0x33aa47[_0x58f7db(0x1da)](encodeURIComponent,JSON['stringify'](_0x95f877)))}};}const _0x1e14f7={};return _0x1e14f7[_0x58f7db(0x1a5)]=_0x95f877,_0x1e14f7;})()),_0x12f68b=_0x2030b4['chhaF'](nestedKeyValue,_0x1ae887,[_0x2030b4[_0x592d02(0x210)],_0x2030b4['itcGQ'],_0xcd7f1b]);_0x5dc84c[_0x1fa882]=_0x12f68b?helper[_0x592d02(0x1a0)](_0x288b2a,_0x12f68b):_0x288b2a,!_0x28a019&&(_0x5dc84c[_0x1fa882][_0x592d02(0x216)]=_0x95f877[_0x592d02(0x1ba)]||_0x288b2a[_0x592d02(0x216)]),_0x1d1554['push'](_0x1fa882);});}else{_0x63cb48=0x1;if(_0x28a019){const _0x1c58c5=_0x2030b4[_0xe8dfea(0x1d4)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4['itcGQ'],_0xcd7f1b,_0x2030b4[_0xe8dfea(0x226)]]),_0x278099=_0x2030b4[_0xe8dfea(0x1cf)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x225)],_0xcd7f1b,_0x1c58c5]);_0x278099&&_0x278099[_0xe8dfea(0x205)]&&(_0x278099[_0xe8dfea(0x205)]=helper[_0xe8dfea(0x1b6)](null,null,_0x3818a0[_0xe8dfea(0x207)](),null,null,_0x278099[_0xe8dfea(0x205)]));}else _0x1ae887[_0xe8dfea(0x1c4)][_0x2030b4['itcGQ']][_0xcd7f1b][_0x2030b4[_0xe8dfea(0x1ae)]]=helper[_0xe8dfea(0x1b6)](null,null,_0x3818a0[_0xe8dfea(0x207)](),_0x2030b4[_0xe8dfea(0x1d4)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x225)],_0xcd7f1b,_0x2030b4[_0xe8dfea(0x1ae)]]),null,null);_0x5dc84c[_0x2030b4['YfDaj']]=_0x1ae887[_0xe8dfea(0x1c4)],_0x1d1554['push'](_0x2030b4[_0xe8dfea(0x1c3)]);}const _0x5642e9={};_0x5642e9[_0xe8dfea(0x227)]=_0x2e0ebe;const _0x576322=_0x5642e9,_0x55def8=path[_0xe8dfea(0x1cc)](__dirname,_0x2030b4[_0xe8dfea(0x1e3)]),_0x4067aa=process[_0xe8dfea(0x22a)]();process[_0xe8dfea(0x204)][_0x2030b4[_0xe8dfea(0x1d9)]]=_0x4067aa,process['chdir'](path[_0xe8dfea(0x229)](_0x2e0ebe));const _0x1fe863=new CodeceptJS[(_0xe8dfea(0x1e7))](null,_0x576322),_0x271491=_0x1fe863['createGroupsOfSuites'](_0x63cb48),_0x2b9edc=testOpsHelper[_0xe8dfea(0x1f9)](),_0x53dd2d=_0x1d1554[_0xe8dfea(0x1c2)](_0x7706eb=>{const _0x32fc9e=_0xe8dfea,_0x2d41d7={};_0x2d41d7[_0x32fc9e(0x1d5)]=_0x5dc84c[_0x7706eb];const _0x5c05cc={};_0x5c05cc[_0x32fc9e(0x1fe)]=_0x5dc84c[_0x7706eb];const _0x5b9597=_0x28a019?_0x2d41d7:_0x5c05cc,_0x5bff38=_0x2030b4['eQRii'](getO11yRerunPattern),_0x5465be={};_0x5465be[_0x32fc9e(0x1f1)]=_0x5b9597;const _0x55dfa1={};_0x55dfa1['require']=_0x55def8,_0x55dfa1[_0x32fc9e(0x1d8)]=!![],_0x55dfa1[_0x32fc9e(0x1a8)]=_0x26dd42[_0x32fc9e(0x1c4)]['testContextOptions']['skipSessionName'],_0x55dfa1[_0x32fc9e(0x209)]=_0x26dd42['config'][_0x32fc9e(0x1df)][_0x32fc9e(0x209)],_0x55dfa1[_0x32fc9e(0x1e8)]=_0x2b9edc,_0x55dfa1[_0x32fc9e(0x20f)]=_0x3818a0;const _0x43b39f={};_0x43b39f[_0x32fc9e(0x1a6)]=_0x55dfa1;const _0x25f526={};return _0x25f526[_0x32fc9e(0x1db)]=_0x43b39f,helper[_0x32fc9e(0x1a0)]({},_0x1ae887['config'],_0x2030b4[_0x32fc9e(0x1dd)](isBrowserstackInfra)?_0x5465be:{},_0x5bff38?{'grep':_0x5bff38}:{},_0x25f526);});for(const _0x549eb9 of _0x53dd2d){for(const _0x534b20 of _0x271491){const _0x4ce21a=_0x1fe863[_0xe8dfea(0x1b8)]();_0x4ce21a[_0xe8dfea(0x1c6)](_0x534b20),_0x4ce21a[_0xe8dfea(0x19c)](_0x549eb9);}}_0x1fe863['on'](CodeceptJS['event']['test'][_0xe8dfea(0x223)],(_0x39c402,_0x4a1b1a)=>{const _0xef3f38=_0xe8dfea;console[_0xef3f38(0x19d)](_0x2030b4[_0xef3f38(0x1ed)],_0x39c402[_0xef3f38(0x1af)]);const _0x241a4e={[_0x39c402['title']]:_0x39c402[_0xef3f38(0x1bb)][_0xef3f38(0x1f0)]};_testErrorData[_0xef3f38(0x1ab)](_0x241a4e);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)]['test'][_0xe8dfea(0x1b0)],async _0x338ce9=>{const _0x269792=_0xe8dfea;console[_0x269792(0x19d)](_0x2030b4[_0x269792(0x1d0)],_0x338ce9[_0x269792(0x1af)]);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)][_0xe8dfea(0x215)][_0xe8dfea(0x1fc)],async _0x16ec81=>{const _0x1ecb58=_0xe8dfea;console[_0x1ecb58(0x19d)](_0x2030b4['gosbf'],_0x16ec81[_0x1ecb58(0x1af)]);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)][_0xe8dfea(0x219)][_0xe8dfea(0x21b)],async()=>{const _0x478109=_0xe8dfea,_0xd3051e=_0x2030b4[_0x478109(0x1a9)][_0x478109(0x1a7)]('|');let _0x3e366b=0x0;while(!![]){switch(_0xd3051e[_0x3e366b++]){case'0':_0x26dd42[_0x478109(0x1f6)]=_testErrorData;continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x1fe863['printResults']();continue;case'3':try{await TestHubHandler['stop']();}catch(_0x4a9565){logger[_0x478109(0x19e)](_0x478109(0x22b)+util[_0x478109(0x1ac)](_0x4a9565));}continue;case'4':utilities['finalExecution'](_0x26dd42);continue;}break;}});async function _0x59c758(){const _0x35ca10=_0xe8dfea;try{await _0x1fe863[_0x35ca10(0x1bc)](),await _0x1fe863['run']();}finally{process['chdir'](_0x4067aa),await _0x1fe863[_0x35ca10(0x228)]();}}_0x2030b4[_0xe8dfea(0x1dd)](_0x59c758);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x1518f5=a3_0x41e4;function a3_0x41e4(_0x25a5b6,_0x3d7568){const _0x3afbcf=a3_0x3afb();return a3_0x41e4=function(_0x41e45d,_0x2148d6){_0x41e45d=_0x41e45d-0x12b;let _0x9fa095=_0x3afbcf[_0x41e45d];return _0x9fa095;},a3_0x41e4(_0x25a5b6,_0x3d7568);}function a3_0x3afb(){const _0x268e97=['../../bin/playwright/sessionDetails','playwright-chromium','platformName','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/logger','browserName','LRIJk','../../helpers/accessibility-automation/helper','OnLCP','RQmYx','LDkqn','bstack:options','latest','warn','125928tZJwft','DmhNQ','platform','1235157bpGpJp','TDyOj','Playwright','12dyBmgg','cMGrm','sessionId','eJITN','4138056FzzRtJ','browser','18618SBHihB','cLyXb','config','../../helpers/helper','dWeAv','QTxis','huBTP','browserVersion','includes','getDetails','XMrYQ','chrome','browserWSEndpoint','WAtlC','oShLa','143801zbrgUe','winstonLogger','constructor','ixiHN','parse','get','dsRAN','osVersion','cloudProvider','HVGxT','capabilities','platformVersion','77667dVWadl','browser_version','757225nqmtzf','NGvcX','awsos','browserstack_executor','os_version','fetchPlatformDetails','name','eGRaV','../../helpers/test-observability/utils','DTaIO','platform_version','desiredCapabilities','unknown_grid','RLvID','jkAjp','mApnh','shouldPatchExecuteScript','iLsGJ','searchParams'];a3_0x3afb=function(){return _0x268e97;};return a3_0x3afb();}(function(_0x502263,_0x55175b){const _0x2a5f30=a3_0x41e4,_0xde0a2b=_0x502263();while(!![]){try{const _0xe92df5=-parseInt(_0x2a5f30(0x13a))/0x1+parseInt(_0x2a5f30(0x12b))/0x2+-parseInt(_0x2a5f30(0x146))/0x3*(-parseInt(_0x2a5f30(0x170))/0x4)+-parseInt(_0x2a5f30(0x148))/0x5+-parseInt(_0x2a5f30(0x16a))/0x6+-parseInt(_0x2a5f30(0x16d))/0x7+parseInt(_0x2a5f30(0x174))/0x8;if(_0xe92df5===_0x55175b)break;else _0xde0a2b['push'](_0xde0a2b['shift']());}catch(_0x4f45d1){_0xde0a2b['push'](_0xde0a2b['shift']());}}}(a3_0x3afb,0x1b3bc));const {isUndefined,nestedKeyValue}=require(a3_0x1518f5(0x12e)),logger=require(a3_0x1518f5(0x160))[a3_0x1518f5(0x13b)],PlaywrightSessionDetails=require(a3_0x1518f5(0x15b)),{isAccessibilityAutomationSession}=require(a3_0x1518f5(0x163)),{getObservabilityLinkedProductName}=require(a3_0x1518f5(0x150)),getOSVersionFromCaps=_0x15b361=>{const _0x18ef23=a3_0x1518f5,_0x3312f3={};_0x3312f3[_0x18ef23(0x131)]=_0x18ef23(0x167),_0x3312f3[_0x18ef23(0x140)]=_0x18ef23(0x145),_0x3312f3[_0x18ef23(0x156)]='platform_version',_0x3312f3[_0x18ef23(0x138)]=_0x18ef23(0x141),_0x3312f3[_0x18ef23(0x171)]=_0x18ef23(0x14c);const _0x4d90e8=_0x3312f3;if(!_0x15b361)return null;const _0x2e1f70=_0x15b361[_0x4d90e8['huBTP']],_0x4c48bc=[_0x4d90e8[_0x18ef23(0x140)],_0x4d90e8[_0x18ef23(0x156)],_0x4d90e8['WAtlC'],_0x4d90e8['cMGrm']];for(const _0x3a24e6 of _0x4c48bc){if(_0x2e1f70&&_0x2e1f70[_0x3a24e6])return _0x2e1f70[_0x3a24e6];else{if(_0x15b361[_0x3a24e6])return _0x15b361[_0x3a24e6];}}return null;};exports[a3_0x1518f5(0x14d)]=_0x4c5660=>{const _0x4e2382=a3_0x1518f5,_0x41eece={'eGRaV':_0x4e2382(0x154),'HVGxT':function(_0x57a269,_0x5ad1a0){return _0x57a269===_0x5ad1a0;},'thAwM':'WebDriver','OnLCP':function(_0x2c5451,_0x468cdb){return _0x2c5451(_0x468cdb);},'RQmYx':function(_0x1af7c8,_0x2bb07d,_0x189dfe){return _0x1af7c8(_0x2bb07d,_0x189dfe);},'LDkqn':_0x4e2382(0x12d),'DTaIO':_0x4e2382(0x153),'eJITN':_0x4e2382(0x16f),'mApnh':function(_0x4a825f,_0x135d9a,_0x43b5f6){return _0x4a825f(_0x135d9a,_0x43b5f6);},'RLvID':_0x4e2382(0x175),'QTxis':_0x4e2382(0x137),'cLyXb':'caps'};if(!_0x4c5660)return null;let _0x28d3f0=global['__cloud_provider___']||_0x41eece[_0x4e2382(0x14f)];if(_0x41eece[_0x4e2382(0x143)](_0x4c5660['constructor'][_0x4e2382(0x14e)],_0x41eece['thAwM'])){const _0x5baf83=_0x4c5660[_0x4e2382(0x175)];if(!_0x5baf83)return null;const _0x23619b=_0x5baf83[_0x4e2382(0x144)],_0x44e4bf=_0x41eece[_0x4e2382(0x164)](getOSVersionFromCaps,_0x41eece[_0x4e2382(0x165)](nestedKeyValue,_0x4c5660,[_0x41eece[_0x4e2382(0x166)],_0x41eece[_0x4e2382(0x151)]]));return{[_0x28d3f0]:{'browser':_0x23619b[_0x4e2382(0x161)],'browser_version':_0x23619b['browserVersion'],'capabilities':_0x23619b,'platform':_0x23619b[_0x4e2382(0x15d)],'platform_version':_0x23619b[_0x4e2382(0x145)]||_0x44e4bf,'product':_0x41eece['OnLCP'](getObservabilityLinkedProductName,_0x23619b),'session_id':_0x5baf83[_0x4e2382(0x172)]}};}else{if(_0x41eece['HVGxT'](_0x4c5660[_0x4e2382(0x13c)][_0x4e2382(0x14e)],_0x41eece[_0x4e2382(0x173)])){const _0x30f2f2=PlaywrightSessionDetails[_0x4e2382(0x134)]();_0x28d3f0=_0x30f2f2[_0x4e2382(0x142)]||_0x28d3f0;const _0x353cbd=_0x41eece[_0x4e2382(0x157)](nestedKeyValue,_0x4c5660,[_0x41eece['LDkqn'],_0x41eece[_0x4e2382(0x155)],_0x41eece[_0x4e2382(0x130)]]),_0x51ef70=_0x353cbd?JSON[_0x4e2382(0x13e)](new URL(_0x353cbd)[_0x4e2382(0x15a)][_0x4e2382(0x13f)](_0x41eece[_0x4e2382(0x12c)])):{};return{[_0x28d3f0]:{'browser':_0x30f2f2[_0x4e2382(0x175)]||_0x51ef70[_0x4e2382(0x161)],'browser_version':_0x30f2f2[_0x4e2382(0x147)]||_0x51ef70[_0x4e2382(0x147)],'capabilities':_0x51ef70,'platform':_0x30f2f2[_0x4e2382(0x16c)],'platform_version':_0x30f2f2[_0x4e2382(0x152)],'product':_0x41eece[_0x4e2382(0x164)](getObservabilityLinkedProductName,_0x51ef70),'session_id':_0x30f2f2['bsSessionId']}};}}},exports['processWebDriverConfig']=_0x52d154=>{const _0x2eec32=a3_0x1518f5,_0x72da05={'iLsGJ':function(_0x321115){return _0x321115();},'NGvcX':function(_0x1b02f3,_0x5bbff2){return _0x1b02f3===_0x5bbff2;},'awsos':_0x2eec32(0x168),'UPmZS':function(_0x2854e3,_0x48e1ee){return _0x2854e3>_0x48e1ee;},'ixiHN':function(_0x2b73b7,_0x41ac64){return _0x2b73b7(_0x41ac64);},'XFgvT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','LRIJk':_0x2eec32(0x136),'WGXSR':_0x2eec32(0x15c),'XMrYQ':_0x2eec32(0x15f),'TDyOj':function(_0x2cada,_0xf3a857){return _0x2cada(_0xf3a857);},'dWeAv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x72da05[_0x2eec32(0x159)](isAccessibilityAutomationSession)){const _0x562413=_0x52d154[_0x2eec32(0x175)],_0x21d760=_0x562413['capabilities'];global[_0x2eec32(0x15e)]=!![],!(_0x72da05[_0x2eec32(0x149)](_0x21d760[_0x2eec32(0x132)],_0x72da05[_0x2eec32(0x14a)])||_0x72da05['UPmZS'](_0x72da05[_0x2eec32(0x13d)](parseInt,_0x21d760['browserVersion']),0x5e))&&(logger[_0x2eec32(0x169)](_0x72da05['XFgvT']),global['accessibilityPlatform']=![]),!(_0x72da05['NGvcX'](_0x21d760[_0x2eec32(0x161)],_0x72da05[_0x2eec32(0x162)])||_0x72da05[_0x2eec32(0x149)](_0x21d760['browserName'],_0x72da05['WGXSR']))&&(logger[_0x2eec32(0x169)](_0x72da05[_0x2eec32(0x135)]),global['accessibilityPlatform']=![]),!_0x72da05[_0x2eec32(0x16e)](isUndefined,_0x21d760['deviceName'])&&(logger[_0x2eec32(0x169)](_0x72da05[_0x2eec32(0x12f)]),global[_0x2eec32(0x15e)]=![]);}},exports[a3_0x1518f5(0x158)]=_0x466255=>{const _0x216c23=a3_0x1518f5,_0x275046={};_0x275046['DmhNQ']=_0x216c23(0x14b),_0x275046['oShLa']='browserstack_accessibility_automation_script';const _0x57e6a8=_0x275046;if(!_0x466255)return![];return!_0x466255[_0x216c23(0x133)](_0x57e6a8[_0x216c23(0x16b)])&&!_0x466255[_0x216c23(0x133)](_0x57e6a8[_0x216c23(0x139)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x10b02a=a4_0xa79e;(function(_0xde1649,_0x187957){const _0x286834=a4_0xa79e,_0x263132=_0xde1649();while(!![]){try{const _0x345e7c=-parseInt(_0x286834(0x169))/0x1+-parseInt(_0x286834(0x1cf))/0x2+parseInt(_0x286834(0x1bb))/0x3+-parseInt(_0x286834(0x205))/0x4+parseInt(_0x286834(0x1d0))/0x5+parseInt(_0x286834(0x13d))/0x6*(-parseInt(_0x286834(0x168))/0x7)+parseInt(_0x286834(0x1f1))/0x8*(parseInt(_0x286834(0x1bf))/0x9);if(_0x345e7c===_0x187957)break;else _0x263132['push'](_0x263132['shift']());}catch(_0x3cf9c9){_0x263132['push'](_0x263132['shift']());}}}(a4_0x1fa6,0xea875));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x10b02a(0x15f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x10b02a(0x1a8)),testOpsHelper=require(a4_0x10b02a(0x162)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x10b02a(0x151)),logger=require(a4_0x10b02a(0x1f4))[a4_0x10b02a(0x165)],SessionHandler=require(a4_0x10b02a(0x18f)),RequestQueueHandler=require(a4_0x10b02a(0x1ff)),PlaywrightSessionDetails=require(a4_0x10b02a(0x1d1)),debug=testOpsHelper[a4_0x10b02a(0x1ac)],{processAccessibilityCaps}=require(a4_0x10b02a(0x16b)),Constants=require(a4_0x10b02a(0x159)),{fetchPlatformDetails}=require(a4_0x10b02a(0x164)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x10b02a(0x1b8)),STATE_PASSED=a4_0x10b02a(0x1ec),STATE_FAILED='failed',a4_0x233de6={};a4_0x233de6['TEST_RUN_STARTED']='TestRunStarted',a4_0x233de6[a4_0x10b02a(0x21e)]=a4_0x10b02a(0x15a),a4_0x233de6['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x233de6['HOOK_RUN_STARTED']=a4_0x10b02a(0x1a4),a4_0x233de6[a4_0x10b02a(0x177)]='HookRunFinished';const TEST_EVENTS=a4_0x233de6,parseEvent=_0x2cd42d=>{const _0x20729d=a4_0x10b02a,_0x288a44={};_0x288a44['HHoga']=function(_0x402ad5,_0x175aa4){return _0x402ad5<_0x175aa4;},_0x288a44[_0x20729d(0x228)]=function(_0x4c7fd8,_0xce1f3f){return _0x4c7fd8===_0xce1f3f;},_0x288a44[_0x20729d(0x17d)]=_0x20729d(0x1b0),_0x288a44[_0x20729d(0x214)]='hook',_0x288a44['OEFJu']=function(_0x1f3686,_0x1a15d7){return _0x1f3686===_0x1a15d7;},_0x288a44[_0x20729d(0x13a)]=_0x20729d(0x17f),_0x288a44['xiTOe']=_0x20729d(0x1e1),_0x288a44['KopPP']=_0x20729d(0x1b7);const _0x3a5633=_0x288a44,_0x3c284f=_0x2cd42d[_0x20729d(0x1d3)](/^(.*)Run(.*)$/);if(!_0x3c284f)return null;if(_0x3a5633[_0x20729d(0x19b)](_0x3c284f[_0x20729d(0x1f8)],0x3))return null;const _0x1a8dd1=_0x3c284f[0x1][_0x20729d(0x141)](),_0x150810=_0x3c284f[0x2]['toLowerCase']();return{'test':_0x3a5633[_0x20729d(0x228)](_0x1a8dd1,_0x3a5633['uckPx']),'hook':_0x3a5633[_0x20729d(0x228)](_0x1a8dd1,_0x3a5633['OLkEK']),'skipped':_0x3a5633[_0x20729d(0x1fa)](_0x150810,_0x3a5633[_0x20729d(0x13a)]),'started':_0x3a5633['gCqQG'](_0x150810,_0x3a5633['xiTOe']),'finished':_0x3a5633['gCqQG'](_0x150810,_0x3a5633[_0x20729d(0x17e)])};},mockPWBrowserType=_0x11e8b6=>{const _0x5e29cc=a4_0x10b02a,_0x169ff5={'uZYHI':function(_0x41190c,_0x53e821){return _0x41190c===_0x53e821;},'jTOnp':_0x5e29cc(0x190),'UkrTC':function(_0x36acc2,_0x5ecf1e,_0xb547dd){return _0x36acc2(_0x5ecf1e,_0xb547dd);},'cZkfq':_0x5e29cc(0x1c5),'zcaUI':function(_0x2e870b,_0x58eb14){return _0x2e870b(_0x58eb14);},'HICZb':_0x5e29cc(0x153),'eiHrE':function(_0x10e0db,_0xf046eb,_0x1fde95){return _0x10e0db(_0xf046eb,_0x1fde95);},'SXxNR':function(_0x56bd83,_0x156b46){return _0x56bd83(_0x156b46);},'XnlyC':_0x5e29cc(0x1df),'atDWs':_0x5e29cc(0x1f5),'nxEjJ':'browserType.js','zIgVW':function(_0x4172ab,_0x564d99){return _0x4172ab(_0x564d99);},'ZfkAf':function(_0x132254,_0x705825){return _0x132254(_0x705825);},'cBtLf':_0x5e29cc(0x1e8),'dgViA':_0x5e29cc(0x1a6),'eoJVi':_0x5e29cc(0x1cc)},_0x44d4f4=path[_0x5e29cc(0x202)](_0x169ff5[_0x5e29cc(0x16c)],_0x169ff5[_0x5e29cc(0x1db)],_0x169ff5[_0x5e29cc(0x15c)]),_0x4e5494=_0x169ff5['zIgVW'](importFileFromPWCore,_0x44d4f4);if(!_0x4e5494){_0x169ff5[_0x5e29cc(0x1c1)](debug,_0x169ff5[_0x5e29cc(0x19a)]);return;}const _0x526c8d=_0x4e5494[_0x5e29cc(0x14b)],_0x474af3=_0x526c8d[_0x5e29cc(0x1a3)];if(_0x474af3[_0x5e29cc(0x1e5)])return;const _0x1d74fa=_0x474af3[_0x5e29cc(0x1a6)];Object[_0x5e29cc(0x19c)](_0x474af3,_0x169ff5[_0x5e29cc(0x1b2)],{'get':function(){const _0x54901c=_0x5e29cc,_0x1b6b7d={'pBzbk':function(_0x2b70a7,_0x4e82d9){const _0x5cb547=a4_0xa79e;return _0x169ff5[_0x5cb547(0x1fd)](_0x2b70a7,_0x4e82d9);},'LNJvW':_0x169ff5[_0x54901c(0x1a0)],'muzrL':function(_0x364f18,_0x3a8381,_0x162fb3){const _0x35580b=_0x54901c;return _0x169ff5[_0x35580b(0x1d6)](_0x364f18,_0x3a8381,_0x162fb3);},'lmqfa':_0x169ff5[_0x54901c(0x188)],'RHgZJ':function(_0x272691,_0x1f7493){const _0x7a4763=_0x54901c;return _0x169ff5[_0x7a4763(0x229)](_0x272691,_0x1f7493);},'kpwde':_0x169ff5[_0x54901c(0x1ba)],'qHhAD':function(_0xef521d,_0x361859,_0x1ca6c3){const _0x11c905=_0x54901c;return _0x169ff5[_0x11c905(0x222)](_0xef521d,_0x361859,_0x1ca6c3);},'JNsvm':function(_0x21115c,_0x4dee9a){return _0x169ff5['SXxNR'](_0x21115c,_0x4dee9a);}};return async function _0x3188fd(_0x9a8481,_0x5f4b3f){const _0x26ccee=_0x54901c,_0x3ca4ae={'dDJmF':function(_0x56e78e,_0x599f23){const _0x3b29d4=a4_0xa79e;return _0x1b6b7d[_0x3b29d4(0x189)](_0x56e78e,_0x599f23);},'HgpMD':_0x1b6b7d[_0x26ccee(0x1c7)]},_0x44243e=_0x1b6b7d[_0x26ccee(0x1e9)](nestedKeyValue,_0x9a8481,[_0x1b6b7d['lmqfa']])||_0x9a8481;let _0x4f3dfd=null,_0x3c5eba=null;try{[_0x3c5eba,_0x4f3dfd]=_0x44243e?_0x1b6b7d[_0x26ccee(0x1ed)](parseWSEndpoint,_0x44243e):[null,null],global[_0x26ccee(0x158)]=_0x4f3dfd,_0x3c5eba[_0x26ccee(0x21b)](_0x1b6b7d[_0x26ccee(0x22e)])&&(global[_0x26ccee(0x1be)]=_0x1b6b7d[_0x26ccee(0x22e)]);}catch(_0x5b28c4){logger[_0x26ccee(0x1ac)](_0x26ccee(0x1cb)+_0x44243e+'\x20'+_0x5b28c4);}_0x1b6b7d[_0x26ccee(0x1c3)](processAccessibilityCaps,_0x4f3dfd,_0x3c5eba);if(global['accessibilityPlatform']){const _0x49bfa0=await _0x474af3['connectOverCDP'][_0x26ccee(0x157)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x1b6b7d['JNsvm'](encodeURIComponent,JSON[_0x26ccee(0x18c)](_0x4f3dfd))]);return PlaywrightSessionDetails[_0x26ccee(0x20b)](_0x49bfa0,_0x11e8b6,_0x44243e),_0x49bfa0;}return _0x1d74fa[_0x26ccee(0x157)](this,arguments)['then'](_0x4cdaf1=>{const _0x3e7ae4=_0x26ccee;let _0x1eda9e=_0x9a8481[_0x3e7ae4(0x1c5)];return _0x3ca4ae['dDJmF'](typeof _0x9a8481,_0x3ca4ae[_0x3e7ae4(0x1ca)])&&(_0x1eda9e=_0x9a8481),PlaywrightSessionDetails[_0x3e7ae4(0x20b)](_0x4cdaf1,_0x11e8b6,_0x1eda9e),_0x4cdaf1;});};}});const _0x109f22=_0x474af3[_0x5e29cc(0x1cc)];Object[_0x5e29cc(0x19c)](_0x474af3,_0x169ff5[_0x5e29cc(0x15d)],{'get':function(){return async function _0x24dc03(){const _0x5ae6a0=a4_0xa79e;return _0x109f22[_0x5ae6a0(0x157)](this,arguments)[_0x5ae6a0(0x13c)](_0x1e884c=>{const _0xdee353=_0x5ae6a0;return PlaywrightSessionDetails[_0xdee353(0x20b)](_0x1e884c,null),_0x1e884c;});};}});};function a4_0xa79e(_0x147814,_0x1bbac7){const _0x1fa6ce=a4_0x1fa6();return a4_0xa79e=function(_0xa79e8d,_0x441b31){_0xa79e8d=_0xa79e8d-0x139;let _0x57b319=_0x1fa6ce[_0xa79e8d];return _0x57b319;},a4_0xa79e(_0x147814,_0x1bbac7);}class O11yHelper{[a4_0x10b02a(0x20f)]=null;[a4_0x10b02a(0x16e)]=null;[a4_0x10b02a(0x219)]=![];[a4_0x10b02a(0x22b)]=![];constructor(_0x421f14,_0x22ad5d){const _0x36b7ff=a4_0x10b02a,_0x5d4232={'Zryts':_0x36b7ff(0x156),'KIawe':function(_0x240392){return _0x240392();},'Fincw':function(_0x5ccac1){return _0x5ccac1();},'WnCSS':function(_0x5bf2c7,_0x2fe1f9){return _0x5bf2c7===_0x2fe1f9;},'brory':'Playwright','vcXgQ':function(_0x5aa966,_0x18d5cd){return _0x5aa966(_0x18d5cd);}},_0x3d7d24=_0x5d4232[_0x36b7ff(0x1a5)][_0x36b7ff(0x14e)]('|');let _0x22e60d=0x0;while(!![]){switch(_0x3d7d24[_0x22e60d++]){case'0':this[_0x36b7ff(0x219)]=_0x5d4232['KIawe'](shouldProcessEventForTesthub);continue;case'1':this['_paths']=new testOpsHelper[(_0x36b7ff(0x1f6))]({'cwd':process['cwd']()},this[_0x36b7ff(0x139)][_0x36b7ff(0x13e)]);continue;case'2':this[_0x36b7ff(0x1d9)]=_0x421f14;continue;case'3':this['_testEnv']=_0x5d4232[_0x36b7ff(0x19d)](getTestEnv);continue;case'4':this[_0x36b7ff(0x1d9)]&&_0x5d4232[_0x36b7ff(0x193)](this['driver'][_0x36b7ff(0x175)][_0x36b7ff(0x197)],_0x5d4232[_0x36b7ff(0x16d)])&&_0x5d4232[_0x36b7ff(0x206)](mockPWBrowserType,null);continue;case'5':this[_0x36b7ff(0x22b)]=_0x22ad5d[_0x36b7ff(0x22b)];continue;}break;}}[a4_0x10b02a(0x1b1)](){const _0x2fd664=a4_0x10b02a;if(!this[_0x2fd664(0x219)])return;testOpsHelper[_0x2fd664(0x1c9)](),process[_0x2fd664(0x145)](_0x2fd664(0x1dc)+process[_0x2fd664(0x171)]),process['on'](_0x2fd664(0x1dc)+process['pid'],this['appendTestItemLog']['bind'](this));}async['stop'](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x10b02a(0x19f)](_0x3199c9){const _0x266d1a=a4_0x10b02a,_0x445032={'lBxGZ':_0x266d1a(0x143),'ozqGy':function(_0x5d2293,_0x1045c0){return _0x5d2293(_0x1045c0);}};try{this[_0x266d1a(0x16e)]&&!this[_0x266d1a(0x16e)][_0x266d1a(0x215)]&&(_0x3199c9[_0x266d1a(0x1f7)]=this[_0x266d1a(0x16e)][_0x266d1a(0x1ce)]);!_0x3199c9[_0x266d1a(0x1f7)]&&this[_0x266d1a(0x20f)]&&!this['currentTest'][_0x266d1a(0x215)]&&(_0x3199c9[_0x266d1a(0x13b)]=this['currentTest'][_0x266d1a(0x147)]);if(_0x3199c9[_0x266d1a(0x1f7)]||_0x3199c9[_0x266d1a(0x13b)]){const _0x5a8a64={};_0x5a8a64['event_type']=_0x445032[_0x266d1a(0x14c)],_0x5a8a64['logs']=[_0x3199c9],await SessionHandler['uploadEventData'](_0x5a8a64);}}catch(_0xf45d2d){_0x445032['ozqGy'](debug,_0x266d1a(0x150)+_0xf45d2d);}}async[a4_0x10b02a(0x13f)](_0x38d64d){const _0x4e35f7=a4_0x10b02a,_0x589e77={'scCtB':_0x4e35f7(0x20c),'IfYRR':function(_0x9c175a,_0x4e6f92){return _0x9c175a(_0x4e6f92);}};if(!this[_0x4e35f7(0x219)])return;const _0x109a42=this['getCBTInfo'](this['driver']);try{const _0x522279={};_0x522279[_0x4e35f7(0x15f)]=_0x38d64d,_0x522279[_0x4e35f7(0x22f)]=_0x109a42;const _0x3fd734=_0x522279,_0x2a16d1={};_0x2a16d1[_0x4e35f7(0x182)]=_0x589e77[_0x4e35f7(0x1cd)],_0x2a16d1[_0x4e35f7(0x20d)]=_0x3fd734,await SessionHandler[_0x4e35f7(0x173)](_0x2a16d1);}catch(_0x57df83){_0x589e77[_0x4e35f7(0x211)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x57df83);}}[a4_0x10b02a(0x1a1)](_0x3081bf){const _0x51f4e9=a4_0x10b02a,_0x109a5b={'ifxLI':function(_0x3ee5f6,_0x292138){return _0x3ee5f6(_0x292138);}};return _0x109a5b[_0x51f4e9(0x1bc)](fetchPlatformDetails,_0x3081bf);}[a4_0x10b02a(0x14f)]=_0x580a27=>{const _0x1babc9=a4_0x10b02a,_0xf7de29={};_0xf7de29[_0x1babc9(0x21c)]=_0x1babc9(0x1d4),_0xf7de29[_0x1babc9(0x195)]=_0x1babc9(0x18e);const _0x109063=_0xf7de29;if(!_0x580a27||!_0x580a27[_0x1babc9(0x1d5)])return;[_0x109063[_0x1babc9(0x21c)],_0x109063['NOTkX']][_0x1babc9(0x200)](_0x441f1a=>{const _0xac13de=_0x1babc9,_0x24380d=_0x580a27[_0xac13de(0x1d5)][_0x441f1a];_0x24380d['forEach'](_0x122c61=>{_0x122c61['hookAnalyticsId']&&(_0x122c61['hookAnalyticsId']=null);});});};[a4_0x10b02a(0x15b)](_0x2e7e56){const _0x47fadf=a4_0x10b02a,_0x5daea3={'RJWvE':_0x47fadf(0x179),'HUsGG':function(_0x1c0dd9){return _0x1c0dd9();},'BdgxV':function(_0x5d53cc,_0x345526){return _0x5d53cc===_0x345526;},'Aiagf':_0x47fadf(0x18e),'fNkjb':function(_0x15b90d){return _0x15b90d();},'xieTe':_0x47fadf(0x220),'DwSnG':'_afterAll','OARdN':'_beforeEach'};if(!_0x2e7e56||!_0x2e7e56['parent'])return;[_0x5daea3[_0x47fadf(0x1eb)],_0x5daea3['DwSnG'],_0x5daea3[_0x47fadf(0x20a)],_0x5daea3[_0x47fadf(0x21d)]][_0x47fadf(0x200)](_0x1bf055=>{const _0x3b8c8d=_0x47fadf,_0x20ed9f=_0x2e7e56[_0x3b8c8d(0x1d5)][_0x1bf055]||[];_0x20ed9f[_0x3b8c8d(0x200)](_0x1c2677=>{const _0x5a225a=_0x3b8c8d;if(_0x1c2677[_0x5a225a(0x1ab)][_0x5a225a(0x21b)](_0x5daea3[_0x5a225a(0x1dd)]))return;if(!_0x1c2677[_0x5a225a(0x1ce)])_0x1c2677['hookAnalyticsId']=_0x5daea3['HUsGG'](uuidv4);else _0x1c2677[_0x5a225a(0x215)]&&_0x5daea3['BdgxV'](_0x1bf055,_0x5daea3[_0x5a225a(0x21d)])&&(_0x1c2677['hookAnalyticsId']=_0x5daea3[_0x5a225a(0x167)](uuidv4),delete _0x1c2677[_0x5a225a(0x215)]);});}),this['mapTestHooks'](_0x2e7e56[_0x47fadf(0x1d5)]);}['getHooksForTest'](_0x5da409){const _0x38bde=a4_0x10b02a,_0x190d22={};_0x190d22['IKWrK']=_0x38bde(0x220),_0x190d22['fbpyo']=_0x38bde(0x166),_0x190d22[_0x38bde(0x19e)]='_beforeEach',_0x190d22[_0x38bde(0x1fc)]=_0x38bde(0x18e);const _0x171d19=_0x190d22;if(!_0x5da409||!_0x5da409[_0x38bde(0x1d5)])return[];const _0x33ffd6=[];return[_0x171d19[_0x38bde(0x22c)],_0x171d19[_0x38bde(0x203)],_0x171d19[_0x38bde(0x19e)],_0x171d19['pLahN']][_0x38bde(0x200)](_0x4b2f18=>{const _0x50dae2=_0x38bde,_0x4ee3a2=_0x5da409['parent'][_0x4b2f18]||[];_0x4ee3a2[_0x50dae2(0x200)](_0x5892bf=>{const _0x33e36d=_0x50dae2;_0x5892bf[_0x33e36d(0x1ce)]&&_0x33ffd6['push'](_0x5892bf[_0x33e36d(0x1ce)]);});}),[]['concat'](_0x33ffd6,this['getHooksForTest'](_0x5da409[_0x38bde(0x1d5)]));}[a4_0x10b02a(0x18a)](_0x422ba4){const _0x375b25=a4_0x10b02a,_0x240cb5=/^"(?<hook>.*)" hook:.*$/,_0x1ade7c=_0x422ba4[_0x375b25(0x1ab)],_0x4412e6=_0x1ade7c[_0x375b25(0x1d3)](_0x240cb5);if(_0x4412e6&&_0x4412e6[_0x375b25(0x213)])return _0x4412e6['groups'][_0x375b25(0x17b)][_0x375b25(0x1a9)]()[_0x375b25(0x1fe)]('\x20','_');return null;}[a4_0x10b02a(0x16a)](_0x3aa2cb){const _0x4cd492=a4_0x10b02a,_0x50db60={};_0x50db60[_0x4cd492(0x1c4)]=function(_0x3f3d3e,_0x29533f){return _0x3f3d3e===_0x29533f;},_0x50db60[_0x4cd492(0x18b)]=function(_0x2794d5,_0x1d94c9){return _0x2794d5===_0x1d94c9;},_0x50db60[_0x4cd492(0x148)]='.git',_0x50db60[_0x4cd492(0x163)]=_0x4cd492(0x183);const _0x162943=_0x50db60,_0x315ef2=path[_0x4cd492(0x187)];if(_0x162943[_0x4cd492(0x1c4)](_0x3aa2cb,null)||_0x162943[_0x4cd492(0x18b)](_0x3aa2cb,'')||_0x162943[_0x4cd492(0x18b)](_0x3aa2cb,_0x315ef2))return null;try{return fs[_0x4cd492(0x144)](path[_0x4cd492(0x202)](_0x3aa2cb,_0x162943['Xyibt'],_0x162943[_0x4cd492(0x163)])),_0x3aa2cb;}catch(_0x49c9eb){const _0x414964=path[_0x4cd492(0x1c0)](_0x3aa2cb);return this['findGitConfig'](_0x414964);}}[a4_0x10b02a(0x186)](_0x1d7db5){const _0x487e5b=a4_0x10b02a,_0x46d4b1={};_0x46d4b1[_0x487e5b(0x1af)]=function(_0x48c2a8,_0x74a68f){return _0x48c2a8>_0x74a68f;};const _0x4cdfa1=_0x46d4b1;if(_0x1d7db5['file'])return _0x1d7db5[_0x487e5b(0x149)];if(_0x1d7db5['ctx']){const _0x38a425=_0x1d7db5['ctx'][_0x487e5b(0x20f)]?this[_0x487e5b(0x186)](_0x1d7db5['ctx'][_0x487e5b(0x20f)]):null;if(_0x38a425)return _0x38a425;}if(_0x1d7db5[_0x487e5b(0x1d5)]){const _0x35e304=this[_0x487e5b(0x186)](_0x1d7db5['parent'])||(_0x1d7db5[_0x487e5b(0x1d5)][_0x487e5b(0x180)]&&_0x1d7db5['parent'][_0x487e5b(0x180)][_0x487e5b(0x20f)]?this[_0x487e5b(0x186)](_0x1d7db5['parent'][_0x487e5b(0x180)][_0x487e5b(0x20f)]):null);if(_0x35e304)return _0x35e304;_0x1d7db5['parent'][_0x487e5b(0x14a)]&&_0x4cdfa1['xhdvO'](_0x1d7db5[_0x487e5b(0x1d5)][_0x487e5b(0x14a)]['length'],0x0)&&_0x1d7db5[_0x487e5b(0x1d5)]['suites'][_0x487e5b(0x200)](_0x404081=>{const _0x304bd0=_0x487e5b,_0x119ea2=_0x404081[_0x304bd0(0x180)]?this[_0x304bd0(0x186)](_0x404081['ctx']):null;if(_0x119ea2)return _0x119ea2;});}return null;}[a4_0x10b02a(0x1a7)](_0x469b86){const _0x3d66c2=a4_0x10b02a,_0x24f7c3={};_0x24f7c3[_0x3d66c2(0x1b3)]=function(_0x2046c7,_0x5495ee){return _0x2046c7!==_0x5495ee;};const _0x5ed82a=_0x24f7c3,_0x564e0e=[];if(_0x469b86&&_0x469b86[_0x3d66c2(0x1d5)]){let _0xaaece8=_0x469b86[_0x3d66c2(0x1d5)];while(_0xaaece8&&_0x5ed82a['Xowoz'](_0xaaece8[_0x3d66c2(0x1ab)],'')){_0x564e0e['push'](_0xaaece8['title']),_0xaaece8=_0xaaece8[_0x3d66c2(0x1d5)];}}return _0x564e0e;}[a4_0x10b02a(0x1f9)](_0x193abb,_0xc87766,_0x1e956b=undefined){const _0x1eb80d=a4_0x10b02a,_0x1088db={'LcTPp':function(_0x34f500,_0x13ff72){return _0x34f500(_0x13ff72);},'rJJcJ':function(_0x48f602){return _0x48f602();},'yjKog':_0x1eb80d(0x17a),'rGypF':_0x1eb80d(0x1e0),'NAQoQ':function(_0x2547ce,_0x2ecadf){return _0x2547ce!==_0x2ecadf;},'IbfXQ':function(_0x3b05ac,_0x548dd4){return _0x3b05ac!==_0x548dd4;},'gkOeR':'File\x20path\x20could\x20not\x20be\x20found','DLfom':_0x1eb80d(0x176),'uIedU':_0x1eb80d(0x223),'lTOID':_0x1eb80d(0x1ec),'lrdMM':'skipped','fvxtT':_0x1eb80d(0x1e6),'RUWlr':function(_0xfe3325,_0x4dbbdf){return _0xfe3325-_0x4dbbdf;},'Hhswc':function(_0x3e5ef1,_0x4529c7,_0x5c8c22,_0x5cd466,_0x37b95e){return _0x3e5ef1(_0x4529c7,_0x5c8c22,_0x5cd466,_0x37b95e);},'AXCUP':_0x1eb80d(0x22f),'DIyTY':_0x1eb80d(0x1c2),'bnWbS':_0x1eb80d(0x191),'RdSTX':'failure_backtrace','ZCEFM':_0x1eb80d(0x1de),'GFBxw':_0x1eb80d(0x198),'WiUnw':'expanded','tfwBB':function(_0x28be45,_0x94c9a3){return _0x28be45===_0x94c9a3;},'icaue':_0x1eb80d(0x170),'DlXtI':'test_run'};if(!this[_0x1eb80d(0x219)])return;try{if(_0xc87766['fn']&&_0xc87766['fn'][_0x1eb80d(0x221)]()[_0x1eb80d(0x1d3)](/browserstack internal helper hook/))return;const _0x2922e9=_0x1088db[_0x1eb80d(0x1ae)](parseEvent,_0x193abb);if(!_0x2922e9)return;if(_0x2922e9[_0x1eb80d(0x1b0)]){this[_0x1eb80d(0x20f)]=_0xc87766,this[_0x1eb80d(0x16e)]=null;if(_0x2922e9[_0x1eb80d(0x1e1)]||_0x2922e9['skipped']){_0xc87766[_0x1eb80d(0x1e3)]=new Date(),_0xc87766[_0x1eb80d(0x215)]=![];if(!_0xc87766[_0x1eb80d(0x147)])_0xc87766[_0x1eb80d(0x147)]=_0x1088db[_0x1eb80d(0x146)](uuidv4);else _0xc87766[_0x1eb80d(0x215)]&&(!_0xc87766[_0x1eb80d(0x226)]&&(_0xc87766[_0x1eb80d(0x226)]=_0xc87766[_0x1eb80d(0x147)]),_0xc87766['testAnalyticsId']=_0x1088db[_0x1eb80d(0x146)](uuidv4));}}else{if(_0x2922e9['hook']){this['currentHook']=_0xc87766;if(_0x2922e9[_0x1eb80d(0x1e1)]){_0xc87766[_0x1eb80d(0x1e3)]=new Date(),_0xc87766['markedStatus']=![];if(!_0xc87766['hookAnalyticsId'])_0xc87766[_0x1eb80d(0x1ce)]=_0x1088db[_0x1eb80d(0x146)](uuidv4);else _0xc87766[_0x1eb80d(0x1ce)]&&_0xc87766[_0x1eb80d(0x215)]&&(_0xc87766[_0x1eb80d(0x1ce)]=_0x1088db['rJJcJ'](uuidv4));}}}if(_0x2922e9['finished']&&_0xc87766[_0x1eb80d(0x215)])return;let _0x92be24;try{_0x92be24=this['getRootParentFile'](_0xc87766);}catch(_0x2e818f){logger[_0x1eb80d(0x1ac)](_0x1eb80d(0x1c8)+_0x2e818f),_0x92be24=null;}const _0x1d7709=_0x1088db[_0x1eb80d(0x1ae)](require,_0x1088db[_0x1eb80d(0x212)]);let _0x5ccd6e=[];_0x1e956b&&(_0x5ccd6e=[_0x1e956b,_0x1088db[_0x1eb80d(0x1ee)]]);const _0x19269d=_0x1088db[_0x1eb80d(0x21a)](_0xc87766[_0x1eb80d(0x217)],undefined)?_0x1d7709[_0x1eb80d(0x22d)](_0xc87766['errorsDetailed'][0x0]):_0x1088db[_0x1eb80d(0x207)](_0x1e956b,undefined)?_0x1e956b['toString']():undefined,_0x595cd2=_0x92be24?this[_0x1eb80d(0x16a)](_0x92be24):null,_0x5aff5c=_0x92be24?this['_paths'][_0x1eb80d(0x201)](this['getRootParentFile'](_0xc87766)):_0x1088db[_0x1eb80d(0x154)];let _0x666b7f=_0x1088db['DLfom'];const _0x916038=!_0x2922e9[_0x1eb80d(0x1e1)]?new Date()['toISOString']():null;if(_0x2922e9[_0x1eb80d(0x1b7)])_0x666b7f=_0x1e956b?_0x1088db[_0x1eb80d(0x209)]:_0x1088db[_0x1eb80d(0x1f0)],_0xc87766['markedStatus']=!![];else _0x2922e9[_0x1eb80d(0x17f)]&&(_0x666b7f=_0x1088db[_0x1eb80d(0x185)],_0xc87766[_0x1eb80d(0x215)]=!![]);const _0x5922e6={'framework':this['frameworkName'],'uuid':_0xc87766['testAnalyticsId']||_0xc87766[_0x1eb80d(0x1ce)],'name':_0xc87766[_0x1eb80d(0x1ab)],'body':{'lang':_0x1088db['fvxtT'],'code':_0xc87766['body'][_0x1eb80d(0x221)]()},'type':_0xc87766[_0x1eb80d(0x230)],'scope':_0xc87766[_0x1eb80d(0x224)](),'scopes':this[_0x1eb80d(0x1a7)](_0xc87766),'file_name':_0x5aff5c,'vc_filepath':_0x595cd2?path[_0x1eb80d(0x218)](_0x595cd2,_0x92be24):null,'location':_0x5aff5c,'result':_0x666b7f,'failure_reason':_0x19269d,'duration_in_ms':_0xc87766[_0x1eb80d(0x1b5)]||(_0x2922e9[_0x1eb80d(0x1b7)]||_0x2922e9[_0x1eb80d(0x17f)])?_0x1088db[_0x1eb80d(0x1fb)](Date[_0x1eb80d(0x1aa)](),new Date(_0xc87766[_0x1eb80d(0x1e3)])[_0x1eb80d(0x1ad)]()):null,'started_at':new Date(_0xc87766[_0x1eb80d(0x1e3)])[_0x1eb80d(0x152)](),'finished_at':_0x916038,'failure':testOpsHelper[_0x1eb80d(0x1f3)][_0x1eb80d(0x157)](null,_0x5ccd6e),'failure_type':!_0x19269d?null:testOpsHelper[_0x1eb80d(0x155)](_0x19269d),'retry_of':_0xc87766[_0x1eb80d(0x226)]||null,'tags':_0xc87766[_0x1eb80d(0x184)]||[],'customRerunParam':{'rerun_name':_0xc87766[_0x1eb80d(0x224)]()}};_0x1088db[_0x1eb80d(0x1a2)](appendTesthubParams,_0x5922e6,_0x193abb,_0xc87766,FRAMEWORKS[_0x1eb80d(0x21f)]);if(_0x2922e9[_0x1eb80d(0x17b)])[_0x5922e6[_0x1eb80d(0x210)],_0x5922e6[_0x1eb80d(0x197)]]=[this['getHookType'](_0xc87766),_0xc87766[_0x1eb80d(0x180)]['test'][_0x1eb80d(0x1ab)]],_0x2922e9['finished']?_0x1088db[_0x1eb80d(0x207)](_0x5922e6['result'],_0x1088db[_0x1eb80d(0x209)])&&(_0x5922e6[_0x1eb80d(0x140)]=_0x1088db[_0x1eb80d(0x1f0)]):_0x5922e6[_0x1eb80d(0x16f)]={};else _0x2922e9['test']&&(this['mapTestHooks'](_0xc87766),_0x2922e9[_0x1eb80d(0x17f)]&&this['resetSkipTestHooks'](_0xc87766),(_0x2922e9[_0x1eb80d(0x1b7)]||_0x2922e9[_0x1eb80d(0x17f)])&&(_0x5922e6[_0x1eb80d(0x204)]=this[_0x1eb80d(0x208)](_0xc87766)));this[_0x1eb80d(0x1d9)]&&(_0x2922e9[_0x1eb80d(0x1e1)]||_0x2922e9[_0x1eb80d(0x17f)])&&(_0x5922e6[_0x1088db[_0x1eb80d(0x1e2)]]=this['getCBTInfo'](this[_0x1eb80d(0x1d9)]));_0x2922e9['test']&&_0x2922e9['finished']&&_0xc87766[_0x1eb80d(0x1e4)]&&(_0x5922e6[_0x1088db[_0x1eb80d(0x216)]]={'feature':{'name':_0xc87766[_0x1eb80d(0x1d5)]['feature'][_0x1eb80d(0x197)],'path':_0x5922e6[_0x1eb80d(0x1b6)],'description':_0xc87766[_0x1eb80d(0x1d5)][_0x1eb80d(0x160)]},'scenario':{'name':_0xc87766['title']},'steps':_0xc87766[_0x1eb80d(0x1e4)]});const _0x50daf5=_0x5922e6[_0x1088db['bnWbS']][0x0];_0x50daf5&&(_0x5922e6[_0x1088db[_0x1eb80d(0x14d)]]=_0x50daf5[_0x1088db['ZCEFM']],_0x5922e6[_0x1088db[_0x1eb80d(0x227)]]=_0x50daf5[_0x1088db[_0x1eb80d(0x181)]]);if(_0xc87766[_0x1eb80d(0x1e4)])for(const _0x3e6841 of _0xc87766['bddSteps']){!_0x3e6841[_0x1eb80d(0x192)]&&(_0x3e6841[_0x1eb80d(0x192)]=new Date()['toISOString'](),_0x1088db[_0x1eb80d(0x161)](_0x3e6841['result'],_0x1088db['DLfom'])&&(_0x50daf5?(_0x3e6841[_0x1eb80d(0x140)]=_0x1088db[_0x1eb80d(0x209)],_0x3e6841[_0x1eb80d(0x191)]=_0x50daf5[_0x1088db[_0x1eb80d(0x1d7)]][0x0]):_0x3e6841[_0x1eb80d(0x140)]=_0x1088db['lTOID']));}const _0x330d76={};_0x330d76[_0x1eb80d(0x182)]=_0x2922e9[_0x1eb80d(0x17f)]?TEST_EVENTS[_0x1eb80d(0x21e)]:_0x193abb;const _0x110a6d=_0x330d76;return _0x2922e9[_0x1eb80d(0x17b)]?_0x110a6d[_0x1088db[_0x1eb80d(0x142)]]=_0x5922e6:_0x110a6d[_0x1088db[_0x1eb80d(0x1f2)]]=_0x5922e6,_0x110a6d;}catch(_0x44498c){logger[_0x1eb80d(0x1ac)](_0x1eb80d(0x1da)+_0x193abb+_0x1eb80d(0x199)+_0x44498c);}}async[a4_0x10b02a(0x1c6)](_0x4cd418,_0x5b0a8a){const _0x1e68d3=a4_0x10b02a;if(!this['enabled']||!_0x5b0a8a||!_0x4cd418)return![];try{return await SessionHandler[_0x1e68d3(0x173)](_0x5b0a8a);}catch(_0x67dc1f){logger['debug'](_0x1e68d3(0x1ea)+_0x4cd418+_0x1e68d3(0x199)+_0x67dc1f);}}['initializeBddStep'](_0x2df923){const _0x3f3e71=a4_0x10b02a,_0x4660f9={};_0x4660f9[_0x3f3e71(0x17c)]=_0x3f3e71(0x176);const _0x350e60=_0x4660f9;return{'id':_0x2df923[_0x3f3e71(0x194)],'text':_0x2df923[_0x3f3e71(0x1bd)],'keyword':_0x2df923[_0x3f3e71(0x1d8)],'started_at':_0x2df923['startedAt'][_0x3f3e71(0x152)](),'result':_0x350e60['jMQXv']};}[a4_0x10b02a(0x172)](_0x132eba){const _0x5de848=a4_0x10b02a,_0x58b08a={'wTbnB':function(_0x1e8c41){return _0x1e8c41();}};!this['currentTest'][_0x5de848(0x1e4)]&&(this['currentTest'][_0x5de848(0x1e4)]=[]),!_0x132eba[_0x5de848(0x194)]&&(_0x132eba[_0x5de848(0x194)]=_0x58b08a['wTbnB'](uuidv4),_0x132eba[_0x5de848(0x1e3)]=new Date(),this[_0x5de848(0x20f)][_0x5de848(0x1e4)][_0x5de848(0x196)](this[_0x5de848(0x1b9)](_0x132eba)));}[a4_0x10b02a(0x20e)](_0x19f5cd){const _0x124d89=a4_0x10b02a,_0x3ca27b={'yiTVL':function(_0x16f314,_0x8f6a42){return _0x16f314(_0x8f6a42);},'dxswV':_0x124d89(0x1b4),'XBWBC':_0x124d89(0x176),'lxmqX':_0x124d89(0x1ec),'KHJbz':function(_0x1b6f63,_0x2bc2bf){return _0x1b6f63-_0x2bc2bf;}};let _0x391b6e=this['currentTest']['bddSteps'][_0x124d89(0x15e)](_0x3de6d3=>_0x3de6d3['id']===_0x19f5cd['stepAnalyticsId']);_0x3ca27b[_0x124d89(0x174)](isUndefined,_0x391b6e)&&(_0x391b6e=this['initializeBddStep'](_0x19f5cd)),_0x391b6e['result']=[_0x3ca27b[_0x124d89(0x178)],_0x3ca27b[_0x124d89(0x225)]][_0x124d89(0x21b)](_0x19f5cd[_0x124d89(0x1ef)])?_0x3ca27b['lxmqX']:_0x19f5cd[_0x124d89(0x1ef)],_0x391b6e[_0x124d89(0x192)]=new Date()['toISOString'](),_0x391b6e[_0x124d89(0x1b5)]=_0x3ca27b[_0x124d89(0x18d)](Date[_0x124d89(0x1aa)](),_0x19f5cd[_0x124d89(0x1e3)][_0x124d89(0x1ad)]()),_0x391b6e[_0x124d89(0x191)]=_0x19f5cd[_0x124d89(0x1e0)]?_0x19f5cd['err'][_0x124d89(0x1d2)]:null;}}const a4_0x4b3046={};function a4_0x1fa6(){const _0xb8ead2=['now','title','debug','getTime','LcTPp','xhdvO','test','start','dgViA','Xowoz','success','duration','file_name','finished','../../helpers/testhub/utils.js','initializeBddStep','HICZb','412206JrlEQx','ifxLI','text','__cloud_provider___','5085765AnRkEH','dirname','ZfkAf','meta','qHhAD','BMwtU','wsEndpoint','fireEvent','LNJvW','failed\x20to\x20get\x20root\x20parent\x20file\x20','patchConsoleLogger','HgpMD','Failed\x20to\x20parse\x20wsendpoint\x20','launch','scCtB','hookAnalyticsId','2024756defLmo','7653450MVwlZJ','../playwright/sessionDetails','message','match','_beforeEach','parent','UkrTC','ZCEFM','keyword','driver','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','atDWs','bs:addLog:','RJWvE','backtrace','lib','err','started','AXCUP','startedAt','bddSteps','obsBrowserTypeMockApplied','javascript','STATE_FAILED','Not\x20able\x20to\x20import\x20Browser','muzrL','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','xieTe','passed','RHgZJ','rGypF','status','lTOID','32EvQBQL','DlXtI','failureData','../../helpers/logger','client','PathHelper','hook_run_uuid','length','captureEvent','OEFJu','RUWlr','pLahN','uZYHI','replace','../../helpers/test-observability/requestQueueHandler','forEach','prefixTestPath','join','fbpyo','hooks','6440336eTyOOf','vcXgQ','IbfXQ','getHooksForTest','uIedU','OARdN','setupBrowserDetails','CBTSessionCreated','test_run','bddStepFinish','currentTest','hook_type','IfYRR','yjKog','groups','OLkEK','markedStatus','DIyTY','errorsDetailed','relative','enabled','NAQoQ','includes','SUUKZ','Aiagf','TEST_RUN_FINISHED','CODECEPT','_beforeAll','toString','eiHrE','failed','fullTitle','XBWBC','retryOf','GFBxw','gCqQG','zcaUI','O11yHelper','frameworkName','IKWrK','inspect','kpwde','integrations','type','_testEnv','lkAkT','test_run_uuid','then','4410ESoxlZ','location_prefix','sendCBTInfo','result','toLowerCase','icaue','LogCreated','statSync','removeAllListeners','rJJcJ','testAnalyticsId','Xyibt','file','suites','BrowserType','lBxGZ','RdSTX','split','resetSkipTestHooks','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../../helpers/test-observability/constants','toISOString','browserstack','gkOeR','getFailureType','0|5|2|3|1|4','apply','__platformCaps','../utils/constants','TestRunFinished','mapTestHooks','nxEjJ','eoJVi','find','uuid','comment','tfwBB','../../helpers/test-observability/utils','gjEFx','./helper.js','winstonLogger','_afterAll','fNkjb','1743gJaXoe','162326rjIMZi','findGitConfig','../playwright/accessibility-helper','XnlyC','brory','currentHook','body','hook_run','pid','bddStepStart','uploadEventData','yiTVL','constructor','pending','HOOK_RUN_FINISHED','dxswV','codeceptjs','util','hook','jMQXv','uckPx','KopPP','skipped','ctx','WiUnw','event_type','config','tags','lrdMM','getRootParentFile','sep','cZkfq','pBzbk','getHookType','Xngve','stringify','KHJbz','_afterEach','../../helpers/test-observability/sessionHandler','string','failure','finished_at','WnCSS','stepAnalyticsId','NOTkX','push','name','failure_reason_expanded','\x20with\x20error\x20:\x20','cBtLf','HHoga','defineProperty','Fincw','ekJyF','appendTestItemLog','jTOnp','getCBTInfo','Hhswc','prototype','HookRunStarted','Zryts','connect','getHierarchy','../../helpers/helper','toUpperCase'];a4_0x1fa6=function(){return _0xb8ead2;};return a4_0x1fa6();}a4_0x4b3046[a4_0x10b02a(0x22a)]=O11yHelper,a4_0x4b3046['STATE_PASSED']=STATE_PASSED,a4_0x4b3046[a4_0x10b02a(0x1e7)]=STATE_FAILED,a4_0x4b3046['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x4b3046;
|
|
1
|
+
const a4_0x2e3e5a=a4_0x3016;(function(_0x26351d,_0x10c030){const _0x3b9dda=a4_0x3016,_0x26196e=_0x26351d();while(!![]){try{const _0x1767c8=parseInt(_0x3b9dda(0x1d9))/0x1*(-parseInt(_0x3b9dda(0x1ea))/0x2)+-parseInt(_0x3b9dda(0x1f5))/0x3+parseInt(_0x3b9dda(0x212))/0x4+parseInt(_0x3b9dda(0x20f))/0x5+parseInt(_0x3b9dda(0x1c5))/0x6+-parseInt(_0x3b9dda(0x256))/0x7*(parseInt(_0x3b9dda(0x227))/0x8)+parseInt(_0x3b9dda(0x27f))/0x9;if(_0x1767c8===_0x10c030)break;else _0x26196e['push'](_0x26196e['shift']());}catch(_0x12ecb6){_0x26196e['push'](_0x26196e['shift']());}}}(a4_0x785b,0xeea19));const path=require(a4_0x2e3e5a(0x24a)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2e3e5a(0x21f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2e3e5a(0x27e)),testOpsHelper=require(a4_0x2e3e5a(0x1fd)),{getTestEnv}=require(a4_0x2e3e5a(0x266)),{FRAMEWORKS}=require(a4_0x2e3e5a(0x279)),logger=require(a4_0x2e3e5a(0x218))[a4_0x2e3e5a(0x1ff)],SessionHandler=require(a4_0x2e3e5a(0x1bf)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x2e3e5a(0x208)),debug=testOpsHelper[a4_0x2e3e5a(0x271)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x2e3e5a(0x220)),{fetchPlatformDetails}=require(a4_0x2e3e5a(0x23f)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2e3e5a(0x1db)),STATE_PASSED=a4_0x2e3e5a(0x1f1),STATE_FAILED='failed',a4_0x3e2a25={};function a4_0x3016(_0x12b12d,_0x1dd96c){const _0x785b48=a4_0x785b();return a4_0x3016=function(_0x3016e6,_0x173618){_0x3016e6=_0x3016e6-0x19e;let _0xca5e16=_0x785b48[_0x3016e6];return _0xca5e16;},a4_0x3016(_0x12b12d,_0x1dd96c);}a4_0x3e2a25[a4_0x2e3e5a(0x260)]=a4_0x2e3e5a(0x201),a4_0x3e2a25[a4_0x2e3e5a(0x27b)]='TestRunFinished',a4_0x3e2a25[a4_0x2e3e5a(0x25b)]='TestRunSkipped',a4_0x3e2a25[a4_0x2e3e5a(0x261)]='HookRunStarted',a4_0x3e2a25[a4_0x2e3e5a(0x22d)]='HookRunFinished';const TEST_EVENTS=a4_0x3e2a25,parseEvent=_0x5e25cb=>{const _0x4849fc=a4_0x2e3e5a,_0xa7bd6d={};_0xa7bd6d[_0x4849fc(0x1ae)]=function(_0x128600,_0x4372f4){return _0x128600<_0x4372f4;},_0xa7bd6d['eYHkd']=function(_0x221f26,_0x5d0bec){return _0x221f26===_0x5d0bec;},_0xa7bd6d[_0x4849fc(0x26b)]='test',_0xa7bd6d[_0x4849fc(0x1e7)]=_0x4849fc(0x262),_0xa7bd6d[_0x4849fc(0x253)]=function(_0x5e5902,_0x48a880){return _0x5e5902===_0x48a880;},_0xa7bd6d['NNJEQ']='skipped',_0xa7bd6d[_0x4849fc(0x1c6)]=_0x4849fc(0x22f),_0xa7bd6d['gafLq']=function(_0xa30265,_0x2bac76){return _0xa30265===_0x2bac76;},_0xa7bd6d[_0x4849fc(0x246)]=_0x4849fc(0x1dd);const _0x4fcbc8=_0xa7bd6d,_0x3f2d5a=_0x5e25cb[_0x4849fc(0x1f0)](/^(.*)Run(.*)$/);if(!_0x3f2d5a)return null;if(_0x4fcbc8[_0x4849fc(0x1ae)](_0x3f2d5a[_0x4849fc(0x1ba)],0x3))return null;const _0x3e5059=_0x3f2d5a[0x1]['toLowerCase'](),_0x34ef36=_0x3f2d5a[0x2]['toLowerCase']();return{'test':_0x4fcbc8[_0x4849fc(0x255)](_0x3e5059,_0x4fcbc8[_0x4849fc(0x26b)]),'hook':_0x4fcbc8['eYHkd'](_0x3e5059,_0x4fcbc8[_0x4849fc(0x1e7)]),'skipped':_0x4fcbc8[_0x4849fc(0x253)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x213)]),'started':_0x4fcbc8[_0x4849fc(0x253)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x1c6)]),'finished':_0x4fcbc8[_0x4849fc(0x28a)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x246)])};},mockPWBrowserType=_0x2a939=>{const _0x27fb65=a4_0x2e3e5a,_0x32760a={'WbsUF':function(_0x18669a,_0x173092){return _0x18669a===_0x173092;},'CmeOM':'string','liqfx':function(_0x25804c,_0x18dc04,_0x464933){return _0x25804c(_0x18dc04,_0x464933);},'uhiCG':_0x27fb65(0x251),'NfQAX':function(_0x4c8cfe,_0x13fdc9){return _0x4c8cfe(_0x13fdc9);},'fqLUj':_0x27fb65(0x27a),'BpUwD':function(_0x6e55c6,_0x56ee37){return _0x6e55c6(_0x56ee37);},'eRkZS':_0x27fb65(0x211),'xOfkj':_0x27fb65(0x206),'uCCCq':_0x27fb65(0x29a),'pJhEN':function(_0x2c0dfc,_0x2773b0){return _0x2c0dfc(_0x2773b0);},'NykbV':function(_0x16d14b,_0x325396){return _0x16d14b(_0x325396);},'qBVuP':_0x27fb65(0x1c8),'WXJmZ':_0x27fb65(0x28b),'vJWww':'launch'},_0x3e8cc2=path[_0x27fb65(0x21a)](_0x32760a[_0x27fb65(0x205)],_0x32760a[_0x27fb65(0x24d)],_0x32760a[_0x27fb65(0x21e)]),_0x3432a7=_0x32760a[_0x27fb65(0x19e)](importFileFromPWCore,_0x3e8cc2);if(!_0x3432a7){_0x32760a[_0x27fb65(0x248)](debug,_0x32760a[_0x27fb65(0x1f6)]);return;}const _0x125519=_0x3432a7[_0x27fb65(0x1b1)],_0x5890a3=_0x125519[_0x27fb65(0x1bc)];if(_0x5890a3[_0x27fb65(0x245)])return;const _0x204dd3=_0x5890a3[_0x27fb65(0x28b)];Object['defineProperty'](_0x5890a3,_0x32760a['WXJmZ'],{'get':function(){const _0x9a80d7=_0x27fb65,_0xc6ee0c={'TqMkO':function(_0x2b94dd,_0x41e950){const _0x16b553=a4_0x3016;return _0x32760a[_0x16b553(0x223)](_0x2b94dd,_0x41e950);},'NlDPy':_0x32760a['CmeOM'],'lubJz':function(_0x3fe922,_0x13d511,_0x3b4934){const _0x142004=a4_0x3016;return _0x32760a[_0x142004(0x230)](_0x3fe922,_0x13d511,_0x3b4934);},'XBtYs':_0x32760a[_0x9a80d7(0x217)],'dYcYa':function(_0x197884,_0x407db4){const _0x493082=_0x9a80d7;return _0x32760a[_0x493082(0x267)](_0x197884,_0x407db4);},'YYrcL':_0x32760a[_0x9a80d7(0x275)],'tQJlm':function(_0x1e923f,_0x1bf0e8,_0x273fd0){const _0x5e7cb8=_0x9a80d7;return _0x32760a[_0x5e7cb8(0x230)](_0x1e923f,_0x1bf0e8,_0x273fd0);},'lHUAN':function(_0x4ad54a,_0x8f4904){const _0x2f91ea=_0x9a80d7;return _0x32760a[_0x2f91ea(0x1f9)](_0x4ad54a,_0x8f4904);}};return async function _0x47bf0c(_0x5cfcf7,_0x95eeea){const _0x252f71=_0x9a80d7,_0xfdc439={'eXIUn':function(_0x537ac6,_0x50b8dd){const _0xf3fd65=a4_0x3016;return _0xc6ee0c[_0xf3fd65(0x1d3)](_0x537ac6,_0x50b8dd);},'slJGm':_0xc6ee0c['NlDPy']},_0x5e7739=_0xc6ee0c[_0x252f71(0x204)](nestedKeyValue,_0x5cfcf7,[_0xc6ee0c[_0x252f71(0x1b9)]])||_0x5cfcf7;let _0x4fe0be=null,_0x8286af=null;try{[_0x8286af,_0x4fe0be]=_0x5e7739?_0xc6ee0c[_0x252f71(0x250)](parseWSEndpoint,_0x5e7739):[null,null],global[_0x252f71(0x1e1)]=_0x4fe0be,_0x8286af[_0x252f71(0x233)](_0xc6ee0c['YYrcL'])&&(global['__cloud_provider___']=_0xc6ee0c[_0x252f71(0x24e)]);}catch(_0x373fde){logger[_0x252f71(0x271)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5e7739+'\x20'+_0x373fde);}_0xc6ee0c[_0x252f71(0x1be)](processAccessibilityCaps,_0x4fe0be,_0x8286af);if(global[_0x252f71(0x296)]){const _0x58588c=await _0x5890a3[_0x252f71(0x24f)][_0x252f71(0x1d7)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xc6ee0c[_0x252f71(0x24b)](encodeURIComponent,JSON[_0x252f71(0x241)](_0x4fe0be))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x58588c,_0x2a939,_0x5e7739),_0x58588c;}return _0x204dd3[_0x252f71(0x1d7)](this,arguments)[_0x252f71(0x1c2)](_0x521c2c=>{const _0x29731c=_0x252f71;let _0x3a32a7=_0x5cfcf7[_0x29731c(0x251)];return _0xfdc439['eXIUn'](typeof _0x5cfcf7,_0xfdc439[_0x29731c(0x23a)])&&(_0x3a32a7=_0x5cfcf7),PlaywrightSessionDetails[_0x29731c(0x226)](_0x521c2c,_0x2a939,_0x3a32a7),_0x521c2c;});};}});const _0x5000f8=_0x5890a3[_0x27fb65(0x1a6)];Object['defineProperty'](_0x5890a3,_0x32760a[_0x27fb65(0x1a7)],{'get':function(){return async function _0x2a4efd(){const _0x4540a5=a4_0x3016;return _0x5000f8[_0x4540a5(0x1d7)](this,arguments)[_0x4540a5(0x1c2)](_0x2a975f=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2a975f,null),_0x2a975f;});};}});};function a4_0x785b(){const _0x28301e=['file','fpsdn','lsiCk','IVDOv','currentHook','LkkjF','launch','vJWww','message','cSZDf','inspect','SOdJG','failed\x20to\x20get\x20root\x20parent\x20file\x20','removeAllListeners','NdIzn','skipped','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','BrowserType','1|5|3|4|0|2','parent','event_type','bddSteps','uploadEventData','success','relative','XBtYs','length','shutdown','prototype','File\x20path\x20could\x20not\x20be\x20found','tQJlm','../../helpers/test-observability/sessionHandler','_testEnv','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','then','result','ilpUe','899670Pdlwte','BrKBP','NOfbE','Not\x20able\x20to\x20import\x20Browser','err','sendCBTInfo','xTNHU','markedStatus','mihAu','test','STATE_PASSED','vnPNM','_paths','failure_backtrace','TqMkO','wxiBU','appendTestItemLog','dOfGf','apply','push','1lSzvHX','hook_type','../../helpers/testhub/utils.js','prefixTestPath','finished','cwd','hooks','title','__platformCaps','getHierarchy','TKYXf','GKMvG','getCBTInfo','driver','qevIV','YmMYh','CBTSessionCreated','2266898vWyxwg','getTime','KxMUk','Dfadf','testAnalyticsId','hook_run','match','passed','mapTestHooks','meta','comment','1446726XIYHYJ','qBVuP','name','toUpperCase','BpUwD','retryOf','pid','failure','../../helpers/test-observability/utils','tags','winstonLogger','bs:addLog:','TestRunStarted','yvCyG','concat','lubJz','eRkZS','client','test_run','../playwright/sessionDetails','eknHr','TEST_EVENTS','_afterEach','finished_at','LIxPg','now','7613080knXOpP','constructor','lib','4508464FNQqlt','NNJEQ','errorsDetailed','toISOString','initializeBddStep','uhiCG','../../helpers/logger','file_name','join','Playwright','toString','ruDhR','uCCCq','uuid','../utils/constants','vRxWU','nsjhO','WbsUF','text','ugbjH','setupBrowserDetails','7071368OrfzFE','gAUKD','_afterAll','replace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','keyword','HOOK_RUN_FINISHED','groups','started','liqfx','test_run_uuid','split','includes','expanded','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','getHookType','currentTest','KkPjG','stop','slJGm','feature','hook_run_uuid','getRootParentFile','duration','./helper.js','\x20with\x20error\x20:\x20','stringify','statSync','_beforeAll','fullTitle','obsBrowserTypeMockApplied','ejgoV','pvrCp','NykbV','hookAnalyticsId','path','lHUAN','codeceptjs','xOfkj','YYrcL','connectOverCDP','dYcYa','wsEndpoint','getHooksForTest','EWXjJ','stepAnalyticsId','eYHkd','7NnXoBS','SDqwi','bddStepStart','aVASf','resetSkipTestHooks','TEST_RUN_SKIPPED','ikRNw','frameworkName','SYVLX','getInstance','TEST_RUN_STARTED','HOOK_RUN_STARTED','hook','forEach','ctx','startedAt','../mocha/test-observability/mochaUtils','NfQAX','IYutH','vmRms','srIhV','oXNRn','javascript','DMTZJ','enabled','jBuKs','O11yHelper','debug','qHEsy','fireEvent','suites','fqLUj','kNYuX','XBYGB','patchConsoleLogger','../../helpers/test-observability/constants','browserstack','TEST_RUN_FINISHED','QAfzO','logs','../../helpers/helper','6096312bUFZWQ','status','GpMeS','integrations','failed','RySIr','backtrace','body','_beforeEach','CxaMV','nHuzT','gafLq','connect','PathHelper','cnxbe','type','findGitConfig','VNoKE','upatP','CgdZG','exports','LVYGD','.git','accessibilityPlatform','vglAG','WsJEU','pending','browserType.js','pJhEN','Gxvsi'];a4_0x785b=function(){return _0x28301e;};return a4_0x785b();}class O11yHelper{[a4_0x2e3e5a(0x237)]=null;[a4_0x2e3e5a(0x1a4)]=null;[a4_0x2e3e5a(0x26e)]=![];[a4_0x2e3e5a(0x25d)]=![];constructor(_0x4a3cba,_0x1e3456){const _0x20c471=a4_0x2e3e5a,_0x5aab7f={'upatP':_0x20c471(0x1b2),'aQGNG':function(_0x2504f6){return _0x2504f6();},'nHuzT':function(_0x59242b,_0x3f3fef){return _0x59242b===_0x3f3fef;},'DMTZJ':_0x20c471(0x21b),'YZGYI':function(_0x54a878,_0x2cfe94){return _0x54a878(_0x2cfe94);},'KkPjG':function(_0x1ea49e){return _0x1ea49e();}},_0xd47378=_0x5aab7f[_0x20c471(0x291)][_0x20c471(0x232)]('|');let _0x1386cc=0x0;while(!![]){switch(_0xd47378[_0x1386cc++]){case'0':this[_0x20c471(0x1d1)]=new testOpsHelper[(_0x20c471(0x28c))]({'cwd':process[_0x20c471(0x1de)]()},this[_0x20c471(0x1c0)]['location_prefix']);continue;case'1':this[_0x20c471(0x26e)]=_0x5aab7f['aQGNG'](shouldProcessEventForTesthub);continue;case'2':this[_0x20c471(0x1e6)]&&_0x5aab7f[_0x20c471(0x289)](this[_0x20c471(0x1e6)][_0x20c471(0x210)]['name'],_0x5aab7f[_0x20c471(0x26d)])&&_0x5aab7f['YZGYI'](mockPWBrowserType,null);continue;case'3':this['driver']=_0x4a3cba;continue;case'4':this[_0x20c471(0x1c0)]=_0x5aab7f[_0x20c471(0x238)](getTestEnv);continue;case'5':this[_0x20c471(0x25d)]=_0x1e3456[_0x20c471(0x25d)];continue;}break;}}['start'](){const _0x2289f3=a4_0x2e3e5a;if(!this[_0x2289f3(0x26e)])return;testOpsHelper[_0x2289f3(0x278)](),process[_0x2289f3(0x1ad)](_0x2289f3(0x200)+process[_0x2289f3(0x1fb)]),process['on'](_0x2289f3(0x200)+process[_0x2289f3(0x1fb)],this[_0x2289f3(0x1d5)]['bind'](this));}async[a4_0x2e3e5a(0x239)](){const _0x1a6110=a4_0x2e3e5a;await RequestQueueHandler[_0x1a6110(0x25f)]()[_0x1a6110(0x1bb)]();}async[a4_0x2e3e5a(0x1d5)](_0x233912){const _0x3bfd57=a4_0x2e3e5a,_0x187c6e={'jpZsH':'LogCreated','LIxPg':function(_0x423e46,_0x390a5f){return _0x423e46(_0x390a5f);}};try{this[_0x3bfd57(0x1a4)]&&!this[_0x3bfd57(0x1a4)]['markedStatus']&&(_0x233912[_0x3bfd57(0x23c)]=this['currentHook'][_0x3bfd57(0x249)]);!_0x233912['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x3bfd57(0x1cc)]&&(_0x233912[_0x3bfd57(0x231)]=this['currentTest'][_0x3bfd57(0x1ee)]);if(_0x233912[_0x3bfd57(0x23c)]||_0x233912[_0x3bfd57(0x231)]){const _0xccc798={};_0xccc798['event_type']=_0x187c6e['jpZsH'],_0xccc798[_0x3bfd57(0x27d)]=[_0x233912],await SessionHandler[_0x3bfd57(0x1b6)](_0xccc798);}}catch(_0x1052b0){_0x187c6e[_0x3bfd57(0x20d)](debug,_0x3bfd57(0x1b0)+_0x1052b0);}}async[a4_0x2e3e5a(0x1ca)](_0x343d0c){const _0x217522=a4_0x2e3e5a,_0x191bd6={'aYXrj':_0x217522(0x1e9),'XBYGB':function(_0x437719,_0x3383ec){return _0x437719(_0x3383ec);}};if(!this[_0x217522(0x26e)])return;const _0x1e5360=this[_0x217522(0x1e5)](this[_0x217522(0x1e6)]);try{const _0x3bbc46={};_0x3bbc46[_0x217522(0x21f)]=_0x343d0c,_0x3bbc46[_0x217522(0x282)]=_0x1e5360;const _0x402eaa=_0x3bbc46,_0x590d5e={};_0x590d5e[_0x217522(0x1b4)]=_0x191bd6['aYXrj'],_0x590d5e[_0x217522(0x207)]=_0x402eaa,await SessionHandler[_0x217522(0x1b6)](_0x590d5e);}catch(_0x52d55b){_0x191bd6[_0x217522(0x277)](debug,_0x217522(0x1c1)+_0x52d55b);}}[a4_0x2e3e5a(0x1e5)](_0x441b8c){const _0xdf7619={'gLNNl':function(_0x1b6c1f,_0x1cb10f){return _0x1b6c1f(_0x1cb10f);}};return _0xdf7619['gLNNl'](fetchPlatformDetails,_0x441b8c);}['resetSkipTestHooks']=_0x59c896=>{const _0xc89b3d=a4_0x2e3e5a,_0x2927f3={};_0x2927f3[_0xc89b3d(0x1cb)]=_0xc89b3d(0x287),_0x2927f3[_0xc89b3d(0x294)]=_0xc89b3d(0x20b);const _0x586c1e=_0x2927f3;if(!_0x59c896||!_0x59c896[_0xc89b3d(0x1b3)])return;[_0x586c1e[_0xc89b3d(0x1cb)],_0x586c1e[_0xc89b3d(0x294)]][_0xc89b3d(0x263)](_0x50b775=>{const _0x32b963=_0xc89b3d,_0x4886c0=_0x59c896[_0x32b963(0x1b3)][_0x50b775];_0x4886c0[_0x32b963(0x263)](_0x55c500=>{const _0x45d412=_0x32b963;_0x55c500[_0x45d412(0x249)]&&(_0x55c500['hookAnalyticsId']=null);});});};[a4_0x2e3e5a(0x1f2)](_0x1aeb10){const _0x1eb394=a4_0x2e3e5a,_0x4487ff={'USmEL':_0x1eb394(0x24c),'SDqwi':function(_0x432e57){return _0x432e57();},'TKYXf':function(_0x19b5db,_0x4145f2){return _0x19b5db===_0x4145f2;},'SYVLX':_0x1eb394(0x20b),'QAfzO':_0x1eb394(0x243),'WYTfB':_0x1eb394(0x229),'pvrCp':'_beforeEach'};if(!_0x1aeb10||!_0x1aeb10[_0x1eb394(0x1b3)])return;[_0x4487ff[_0x1eb394(0x27c)],_0x4487ff['WYTfB'],_0x4487ff[_0x1eb394(0x247)],_0x4487ff[_0x1eb394(0x25e)]][_0x1eb394(0x263)](_0x17972f=>{const _0x3b00ee=_0x1eb394,_0x533e91={'CgdZG':_0x4487ff['USmEL'],'IVDOv':function(_0x1bc43f){const _0x510841=a4_0x3016;return _0x4487ff[_0x510841(0x257)](_0x1bc43f);},'qHEsy':function(_0x3c3084,_0x2f1409){const _0x268c35=a4_0x3016;return _0x4487ff[_0x268c35(0x1e3)](_0x3c3084,_0x2f1409);},'vRxWU':_0x4487ff[_0x3b00ee(0x25e)]},_0x2b8d33=_0x1aeb10[_0x3b00ee(0x1b3)][_0x17972f]||[];_0x2b8d33['forEach'](_0x32aaad=>{const _0x1a89b8=_0x3b00ee;if(_0x32aaad[_0x1a89b8(0x1e0)][_0x1a89b8(0x233)](_0x533e91[_0x1a89b8(0x292)]))return;if(!_0x32aaad['hookAnalyticsId'])_0x32aaad[_0x1a89b8(0x249)]=_0x533e91[_0x1a89b8(0x1a3)](uuidv4);else _0x32aaad[_0x1a89b8(0x1cc)]&&_0x533e91[_0x1a89b8(0x272)](_0x17972f,_0x533e91[_0x1a89b8(0x221)])&&(_0x32aaad['hookAnalyticsId']=_0x533e91['IVDOv'](uuidv4),delete _0x32aaad[_0x1a89b8(0x1cc)]);});}),this[_0x1eb394(0x1f2)](_0x1aeb10[_0x1eb394(0x1b3)]);}[a4_0x2e3e5a(0x252)](_0x3e0c71){const _0x2029ba=a4_0x2e3e5a,_0x5a509d={};_0x5a509d[_0x2029ba(0x276)]=_0x2029ba(0x243),_0x5a509d['fpsdn']=_0x2029ba(0x229),_0x5a509d[_0x2029ba(0x1c7)]=_0x2029ba(0x287),_0x5a509d[_0x2029ba(0x281)]=_0x2029ba(0x20b);const _0x12e95c=_0x5a509d;if(!_0x3e0c71||!_0x3e0c71['parent'])return[];const _0x5c6cf9=[];return[_0x12e95c[_0x2029ba(0x276)],_0x12e95c[_0x2029ba(0x1a1)],_0x12e95c[_0x2029ba(0x1c7)],_0x12e95c[_0x2029ba(0x281)]][_0x2029ba(0x263)](_0x3f38df=>{const _0x5e87be=_0x2029ba,_0x443512=_0x3e0c71['parent'][_0x3f38df]||[];_0x443512[_0x5e87be(0x263)](_0x48e8d7=>{const _0x5445f7=_0x5e87be;_0x48e8d7[_0x5445f7(0x249)]&&_0x5c6cf9[_0x5445f7(0x1d8)](_0x48e8d7['hookAnalyticsId']);});}),[][_0x2029ba(0x203)](_0x5c6cf9,this[_0x2029ba(0x252)](_0x3e0c71['parent']));}[a4_0x2e3e5a(0x236)](_0x3d653d){const _0x1c8f6e=a4_0x2e3e5a,_0x474abf=/^"(?<hook>.*)" hook:.*$/,_0x4ce095=_0x3d653d['title'],_0xf5bc25=_0x4ce095[_0x1c8f6e(0x1f0)](_0x474abf);if(_0xf5bc25&&_0xf5bc25[_0x1c8f6e(0x22e)])return _0xf5bc25[_0x1c8f6e(0x22e)][_0x1c8f6e(0x262)][_0x1c8f6e(0x1f8)]()[_0x1c8f6e(0x22a)]('\x20','_');return null;}[a4_0x2e3e5a(0x28f)](_0x382643){const _0x199410=a4_0x2e3e5a,_0x55f19b={};_0x55f19b[_0x199410(0x222)]=function(_0x1a9a65,_0x4135ea){return _0x1a9a65===_0x4135ea;},_0x55f19b[_0x199410(0x25c)]=function(_0x950a73,_0x145d9f){return _0x950a73===_0x145d9f;},_0x55f19b['yvCyG']=_0x199410(0x295),_0x55f19b['GKMvG']='config';const _0x4cf261=_0x55f19b,_0x4bb582=path['sep'];if(_0x4cf261[_0x199410(0x222)](_0x382643,null)||_0x4cf261[_0x199410(0x25c)](_0x382643,'')||_0x4cf261[_0x199410(0x25c)](_0x382643,_0x4bb582))return null;try{return fs[_0x199410(0x242)](path[_0x199410(0x21a)](_0x382643,_0x4cf261[_0x199410(0x202)],_0x4cf261[_0x199410(0x1e4)])),_0x382643;}catch(_0x28be8c){const _0x3c18df=path['dirname'](_0x382643);return this[_0x199410(0x28f)](_0x3c18df);}}['getRootParentFile'](_0x412f9c){const _0x57693c=a4_0x2e3e5a,_0xdee621={};_0xdee621['WXSyw']=function(_0x4693c8,_0x522667){return _0x4693c8>_0x522667;};const _0x54bf44=_0xdee621;if(_0x412f9c[_0x57693c(0x1a0)])return _0x412f9c[_0x57693c(0x1a0)];if(_0x412f9c[_0x57693c(0x264)]){const _0x304092=_0x412f9c[_0x57693c(0x264)][_0x57693c(0x237)]?this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x264)][_0x57693c(0x237)]):null;if(_0x304092)return _0x304092;}if(_0x412f9c[_0x57693c(0x1b3)]){const _0x6bb742=this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x1b3)])||(_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x264)]&&_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x264)][_0x57693c(0x237)]?this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x1b3)]['ctx'][_0x57693c(0x237)]):null);if(_0x6bb742)return _0x6bb742;_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x274)]&&_0x54bf44['WXSyw'](_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x274)]['length'],0x0)&&_0x412f9c[_0x57693c(0x1b3)]['suites'][_0x57693c(0x263)](_0x35b988=>{const _0x2beca5=_0x57693c,_0x348bd5=_0x35b988[_0x2beca5(0x264)]?this['getRootParentFile'](_0x35b988[_0x2beca5(0x264)]):null;if(_0x348bd5)return _0x348bd5;});}return null;}['getHierarchy'](_0x3e3cc1){const _0x384bb8=a4_0x2e3e5a,_0x1f95a5={};_0x1f95a5[_0x384bb8(0x1d6)]=function(_0x139faf,_0x4ade1e){return _0x139faf!==_0x4ade1e;};const _0x28aed9=_0x1f95a5,_0x147e1c=[];if(_0x3e3cc1&&_0x3e3cc1[_0x384bb8(0x1b3)]){let _0x33ca98=_0x3e3cc1[_0x384bb8(0x1b3)];while(_0x33ca98&&_0x28aed9['dOfGf'](_0x33ca98[_0x384bb8(0x1e0)],'')){_0x147e1c[_0x384bb8(0x1d8)](_0x33ca98['title']),_0x33ca98=_0x33ca98['parent'];}}return _0x147e1c;}['captureEvent'](_0x5298fe,_0x1a2a5c,_0x9d459c=undefined){const _0x429994=a4_0x2e3e5a,_0x1ad81b={'IYutH':function(_0x24d30a,_0x48bf8b){return _0x24d30a(_0x48bf8b);},'YmMYh':function(_0x2cfff1){return _0x2cfff1();},'jBuKs':function(_0x5c2b80){return _0x5c2b80();},'ZMXbp':function(_0x2caba1){return _0x2caba1();},'eknHr':'util','VNoKE':_0x429994(0x1c9),'WsJEU':function(_0x5a3f16,_0x4cef2f){return _0x5a3f16!==_0x4cef2f;},'cnxbe':function(_0x1cdda1,_0x18e47d){return _0x1cdda1!==_0x18e47d;},'RiIkr':_0x429994(0x1bd),'KxMUk':'pending','Gxvsi':_0x429994(0x283),'srIhV':_0x429994(0x1f1),'vnPNM':_0x429994(0x1af),'SlguY':_0x429994(0x26c),'vglAG':function(_0x4efabe,_0x4ea895){return _0x4efabe-_0x4ea895;},'ugbjH':function(_0x49fbb1,_0x1101de,_0x342e06,_0xdefe13,_0x1027f6){return _0x49fbb1(_0x1101de,_0x342e06,_0xdefe13,_0x1027f6);},'JsdaB':function(_0x24b4b4,_0x2a3d04){return _0x24b4b4!==_0x2a3d04;},'SOdJG':_0x429994(0x282),'qRyuT':_0x429994(0x1f3),'CxaMV':_0x429994(0x1fc),'RySIr':_0x429994(0x1d2),'LkkjF':_0x429994(0x285),'ruDhR':'failure_reason_expanded','wujvr':_0x429994(0x234),'ilpUe':function(_0x91cd0b,_0x4e3c39){return _0x91cd0b===_0x4e3c39;},'cSZDf':_0x429994(0x1ef),'WGKxb':'test_run'};if(!this['enabled'])return;try{if(_0x1a2a5c['fn']&&_0x1a2a5c['fn'][_0x429994(0x21c)]()[_0x429994(0x1f0)](/browserstack internal helper hook/))return;const _0x48cf76=_0x1ad81b['IYutH'](parseEvent,_0x5298fe);if(!_0x48cf76)return;if(_0x48cf76['test']){this['currentTest']=_0x1a2a5c,this[_0x429994(0x1a4)]=null;if(_0x48cf76[_0x429994(0x22f)]||_0x48cf76[_0x429994(0x1af)]){_0x1a2a5c['startedAt']=new Date(),_0x1a2a5c['markedStatus']=![];if(!_0x1a2a5c[_0x429994(0x1ee)])_0x1a2a5c['testAnalyticsId']=_0x1ad81b[_0x429994(0x1e8)](uuidv4);else _0x1a2a5c['markedStatus']&&(!_0x1a2a5c['retryOf']&&(_0x1a2a5c['retryOf']=_0x1a2a5c[_0x429994(0x1ee)]),_0x1a2a5c[_0x429994(0x1ee)]=_0x1ad81b['jBuKs'](uuidv4));}}else{if(_0x48cf76[_0x429994(0x262)]){this[_0x429994(0x1a4)]=_0x1a2a5c;if(_0x48cf76[_0x429994(0x22f)]){_0x1a2a5c[_0x429994(0x265)]=new Date(),_0x1a2a5c['markedStatus']=![];if(!_0x1a2a5c['hookAnalyticsId'])_0x1a2a5c[_0x429994(0x249)]=_0x1ad81b[_0x429994(0x26f)](uuidv4);else _0x1a2a5c[_0x429994(0x249)]&&_0x1a2a5c[_0x429994(0x1cc)]&&(_0x1a2a5c[_0x429994(0x249)]=_0x1ad81b['ZMXbp'](uuidv4));}}}if(_0x48cf76['finished']&&_0x1a2a5c['markedStatus'])return;let _0x4092c3;try{_0x4092c3=this[_0x429994(0x23d)](_0x1a2a5c);}catch(_0x4779ad){logger[_0x429994(0x271)](_0x429994(0x1ac)+_0x4779ad),_0x4092c3=null;}const _0x3f8f7a=_0x1ad81b[_0x429994(0x268)](require,_0x1ad81b[_0x429994(0x209)]);let _0x39bc07=[];_0x9d459c&&(_0x39bc07=[_0x9d459c,_0x1ad81b[_0x429994(0x290)]]);const _0x50231f=_0x1ad81b[_0x429994(0x298)](_0x1a2a5c[_0x429994(0x214)],undefined)?_0x3f8f7a[_0x429994(0x1aa)](_0x1a2a5c[_0x429994(0x214)][0x0]):_0x1ad81b[_0x429994(0x28d)](_0x9d459c,undefined)?_0x9d459c['toString']():undefined,_0x1ab8b8=_0x4092c3?this[_0x429994(0x28f)](_0x4092c3):null,_0x401664=_0x4092c3?this[_0x429994(0x1d1)][_0x429994(0x1dc)](this[_0x429994(0x23d)](_0x1a2a5c)):_0x1ad81b['RiIkr'];let _0xeb0153=_0x1ad81b[_0x429994(0x1ec)];const _0x4c4661=!_0x48cf76['started']?new Date()['toISOString']():null;if(_0x48cf76['finished'])_0xeb0153=_0x9d459c?_0x1ad81b[_0x429994(0x19f)]:_0x1ad81b['srIhV'],_0x1a2a5c['markedStatus']=!![];else _0x48cf76['skipped']&&(_0xeb0153=_0x1ad81b[_0x429994(0x1d0)],_0x1a2a5c['markedStatus']=!![]);const _0x506db2={'framework':this[_0x429994(0x25d)],'uuid':_0x1a2a5c[_0x429994(0x1ee)]||_0x1a2a5c['hookAnalyticsId'],'name':_0x1a2a5c['title'],'body':{'lang':_0x1ad81b['SlguY'],'code':_0x1a2a5c[_0x429994(0x286)][_0x429994(0x21c)]()},'type':_0x1a2a5c[_0x429994(0x28e)],'scope':_0x1a2a5c[_0x429994(0x244)](),'scopes':this[_0x429994(0x1e2)](_0x1a2a5c),'file_name':_0x401664,'vc_filepath':_0x1ab8b8?path[_0x429994(0x1b8)](_0x1ab8b8,_0x4092c3):null,'location':_0x401664,'result':_0xeb0153,'failure_reason':_0x50231f,'duration_in_ms':_0x1a2a5c[_0x429994(0x23e)]||(_0x48cf76[_0x429994(0x1dd)]||_0x48cf76[_0x429994(0x1af)])?_0x1ad81b[_0x429994(0x297)](Date[_0x429994(0x20e)](),new Date(_0x1a2a5c[_0x429994(0x265)])[_0x429994(0x1eb)]()):null,'started_at':new Date(_0x1a2a5c[_0x429994(0x265)])[_0x429994(0x215)](),'finished_at':_0x4c4661,'failure':testOpsHelper['failureData'][_0x429994(0x1d7)](null,_0x39bc07),'failure_type':!_0x50231f?null:testOpsHelper['getFailureType'](_0x50231f),'retry_of':_0x1a2a5c[_0x429994(0x1fa)]||null,'tags':_0x1a2a5c[_0x429994(0x1fe)]||[],'customRerunParam':{'rerun_name':_0x1a2a5c['fullTitle']()}};_0x1ad81b[_0x429994(0x225)](appendTesthubParams,_0x506db2,_0x5298fe,_0x1a2a5c,FRAMEWORKS['CODECEPT']);if(_0x48cf76[_0x429994(0x262)])[_0x506db2[_0x429994(0x1da)],_0x506db2[_0x429994(0x1f7)]]=[this[_0x429994(0x236)](_0x1a2a5c),_0x1a2a5c['ctx'][_0x429994(0x1ce)][_0x429994(0x1e0)]],_0x48cf76['finished']?_0x1ad81b['JsdaB'](_0x506db2[_0x429994(0x1c3)],_0x1ad81b[_0x429994(0x19f)])&&(_0x506db2['result']=_0x1ad81b['srIhV']):_0x506db2[_0x429994(0x286)]={};else _0x48cf76[_0x429994(0x1ce)]&&(this[_0x429994(0x1f2)](_0x1a2a5c),_0x48cf76[_0x429994(0x1af)]&&this[_0x429994(0x25a)](_0x1a2a5c),(_0x48cf76[_0x429994(0x1dd)]||_0x48cf76[_0x429994(0x1af)])&&(_0x506db2[_0x429994(0x1df)]=this[_0x429994(0x252)](_0x1a2a5c)));this[_0x429994(0x1e6)]&&(_0x48cf76[_0x429994(0x22f)]||_0x48cf76[_0x429994(0x1af)])&&(_0x506db2[_0x1ad81b[_0x429994(0x1ab)]]=this[_0x429994(0x1e5)](this[_0x429994(0x1e6)]));_0x48cf76[_0x429994(0x1ce)]&&_0x48cf76[_0x429994(0x1dd)]&&_0x1a2a5c[_0x429994(0x1b5)]&&(_0x506db2[_0x1ad81b['qRyuT']]={'feature':{'name':_0x1a2a5c['parent'][_0x429994(0x23b)][_0x429994(0x1f7)],'path':_0x506db2[_0x429994(0x219)],'description':_0x1a2a5c[_0x429994(0x1b3)][_0x429994(0x1f4)]},'scenario':{'name':_0x1a2a5c[_0x429994(0x1e0)]},'steps':_0x1a2a5c[_0x429994(0x1b5)]});const _0x58a8ef=_0x506db2[_0x1ad81b[_0x429994(0x288)]][0x0];_0x58a8ef&&(_0x506db2[_0x1ad81b[_0x429994(0x284)]]=_0x58a8ef[_0x1ad81b[_0x429994(0x1a5)]],_0x506db2[_0x1ad81b[_0x429994(0x21d)]]=_0x58a8ef[_0x1ad81b['wujvr']]);if(_0x1a2a5c[_0x429994(0x1b5)])for(const _0xfda261 of _0x1a2a5c[_0x429994(0x1b5)]){!_0xfda261[_0x429994(0x20c)]&&(_0xfda261[_0x429994(0x20c)]=new Date()[_0x429994(0x215)](),_0x1ad81b[_0x429994(0x1c4)](_0xfda261[_0x429994(0x1c3)],_0x1ad81b[_0x429994(0x1ec)])&&(_0x58a8ef?(_0xfda261[_0x429994(0x1c3)]=_0x1ad81b[_0x429994(0x19f)],_0xfda261[_0x429994(0x1fc)]=_0x58a8ef[_0x1ad81b[_0x429994(0x1a5)]][0x0]):_0xfda261['result']=_0x1ad81b[_0x429994(0x26a)]));}const _0x4271be={};_0x4271be[_0x429994(0x1b4)]=_0x48cf76[_0x429994(0x1af)]?TEST_EVENTS[_0x429994(0x27b)]:_0x5298fe;const _0x3ebfaa=_0x4271be;return _0x48cf76[_0x429994(0x262)]?_0x3ebfaa[_0x1ad81b[_0x429994(0x1a9)]]=_0x506db2:_0x3ebfaa[_0x1ad81b['WGKxb']]=_0x506db2,_0x3ebfaa;}catch(_0x2278a0){logger[_0x429994(0x271)](_0x429994(0x22b)+_0x5298fe+_0x429994(0x240)+_0x2278a0);}}async[a4_0x2e3e5a(0x273)](_0x5f3aff,_0x4af065){const _0x28d422=a4_0x2e3e5a;if(!this[_0x28d422(0x26e)]||!_0x4af065||!_0x5f3aff)return![];try{return await SessionHandler[_0x28d422(0x1b6)](_0x4af065);}catch(_0x33c14b){logger['debug'](_0x28d422(0x235)+_0x5f3aff+_0x28d422(0x240)+_0x33c14b);}}[a4_0x2e3e5a(0x216)](_0x23defc){const _0x4fc56a=a4_0x2e3e5a,_0x4aa1d5={};_0x4aa1d5[_0x4fc56a(0x1a2)]=_0x4fc56a(0x299);const _0x46ec80=_0x4aa1d5;return{'id':_0x23defc[_0x4fc56a(0x254)],'text':_0x23defc[_0x4fc56a(0x224)],'keyword':_0x23defc[_0x4fc56a(0x22c)],'started_at':_0x23defc[_0x4fc56a(0x265)][_0x4fc56a(0x215)](),'result':_0x46ec80[_0x4fc56a(0x1a2)]};}[a4_0x2e3e5a(0x258)](_0x484f8a){const _0x54dca0=a4_0x2e3e5a,_0x45a4a5={'vmRms':function(_0x215bfa){return _0x215bfa();}};!this[_0x54dca0(0x237)]['bddSteps']&&(this[_0x54dca0(0x237)][_0x54dca0(0x1b5)]=[]),!_0x484f8a[_0x54dca0(0x254)]&&(_0x484f8a['stepAnalyticsId']=_0x45a4a5[_0x54dca0(0x269)](uuidv4),_0x484f8a[_0x54dca0(0x265)]=new Date(),this[_0x54dca0(0x237)][_0x54dca0(0x1b5)][_0x54dca0(0x1d8)](this[_0x54dca0(0x216)](_0x484f8a)));}['bddStepFinish'](_0x115527){const _0x112d66=a4_0x2e3e5a,_0x365646={'Dfadf':function(_0x47c8b6,_0x1393c7){return _0x47c8b6(_0x1393c7);},'aVASf':_0x112d66(0x1b7),'wxiBU':_0x112d66(0x299),'gAUKD':_0x112d66(0x1f1),'mihAu':function(_0x1960c9,_0x2950ae){return _0x1960c9-_0x2950ae;}};let _0x2a1900=this[_0x112d66(0x237)][_0x112d66(0x1b5)]['find'](_0x105891=>_0x105891['id']===_0x115527[_0x112d66(0x254)]);_0x365646[_0x112d66(0x1ed)](isUndefined,_0x2a1900)&&(_0x2a1900=this[_0x112d66(0x216)](_0x115527)),_0x2a1900[_0x112d66(0x1c3)]=[_0x365646[_0x112d66(0x259)],_0x365646[_0x112d66(0x1d4)]][_0x112d66(0x233)](_0x115527[_0x112d66(0x280)])?_0x365646[_0x112d66(0x228)]:_0x115527['status'],_0x2a1900[_0x112d66(0x20c)]=new Date()['toISOString'](),_0x2a1900['duration']=_0x365646[_0x112d66(0x1cd)](Date[_0x112d66(0x20e)](),_0x115527[_0x112d66(0x265)][_0x112d66(0x1eb)]()),_0x2a1900['failure']=_0x115527['err']?_0x115527[_0x112d66(0x1c9)][_0x112d66(0x1a8)]:null;}}const a4_0x25085c={};a4_0x25085c[a4_0x2e3e5a(0x270)]=O11yHelper,a4_0x25085c[a4_0x2e3e5a(0x1cf)]=STATE_PASSED,a4_0x25085c['STATE_FAILED']=STATE_FAILED,a4_0x25085c[a4_0x2e3e5a(0x20a)]=TEST_EVENTS,module[a4_0x2e3e5a(0x293)]=a4_0x25085c;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x3c011d=a5_0x1e0a;(function(_0x549c73,_0x4b72eb){const _0x4aef29=a5_0x1e0a,_0x114aa2=_0x549c73();while(!![]){try{const _0x1a532e=-parseInt(_0x4aef29(0x250))/0x1+parseInt(_0x4aef29(0x204))/0x2*(parseInt(_0x4aef29(0x21d))/0x3)+parseInt(_0x4aef29(0x23d))/0x4*(-parseInt(_0x4aef29(0x23b))/0x5)+-parseInt(_0x4aef29(0x21e))/0x6+-parseInt(_0x4aef29(0x22b))/0x7*(parseInt(_0x4aef29(0x227))/0x8)+-parseInt(_0x4aef29(0x232))/0x9+parseInt(_0x4aef29(0x24d))/0xa*(parseInt(_0x4aef29(0x20d))/0xb);if(_0x1a532e===_0x4b72eb)break;else _0x114aa2['push'](_0x114aa2['shift']());}catch(_0x373300){_0x114aa2['push'](_0x114aa2['shift']());}}}(a5_0x4fe0,0x62003));const fs=require('fs'),path=require('path'),util=require(a5_0x3c011d(0x222)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x3c011d(0x1fd)),helper=require(a5_0x3c011d(0x21f)),utilities=require('../../helpers/utilities'),constants=require(a5_0x3c011d(0x228)),{parallelCucumberRun}=require(a5_0x3c011d(0x213)),TestHubHandler=require(a5_0x3c011d(0x209)),testOpsHelper=require(a5_0x3c011d(0x22c)),chalk=require(a5_0x3c011d(0x224));function printCucumberStats(_0x955a31){const _0x1849f5=a5_0x3c011d,_0x3af7b5={};_0x3af7b5[_0x1849f5(0x1fe)]=function(_0x2eed74,_0x1acd5f){return _0x2eed74>_0x1acd5f;},_0x3af7b5[_0x1849f5(0x237)]=function(_0x17c4ea,_0x50676b){return _0x17c4ea-_0x50676b;},_0x3af7b5[_0x1849f5(0x236)]=function(_0x561d56,_0x1243ac){return _0x561d56>_0x1243ac;},_0x3af7b5[_0x1849f5(0x22d)]=function(_0x1d41f0,_0x25e66b){return _0x1d41f0>_0x25e66b;},_0x3af7b5[_0x1849f5(0x20f)]=function(_0x3f2dd2,_0x327da6){return _0x3f2dd2>_0x327da6;},_0x3af7b5[_0x1849f5(0x1f0)]=function(_0x4dcea4,_0x3e43a1){return _0x4dcea4>_0x3e43a1;},_0x3af7b5[_0x1849f5(0x24f)]=function(_0x2097d2,_0x50b75f){return _0x2097d2>_0x50b75f;},_0x3af7b5[_0x1849f5(0x1f4)]=function(_0x52bc74,_0x341afe){return _0x52bc74>_0x341afe;},_0x3af7b5[_0x1849f5(0x242)]=function(_0x2fff38,_0x2be826){return _0x2fff38>_0x2be826;},_0x3af7b5['TsLGl']=function(_0x2b0139,_0x7d395c){return _0x2b0139+_0x7d395c;},_0x3af7b5[_0x1849f5(0x241)]=function(_0x398cb2,_0x101c7f){return _0x398cb2+_0x101c7f;},_0x3af7b5[_0x1849f5(0x24a)]=function(_0x175a8a,_0x5a4827){return _0x175a8a+_0x5a4827;},_0x3af7b5[_0x1849f5(0x212)]=function(_0x5a8f45,_0x349a2a){return _0x5a8f45+_0x349a2a;},_0x3af7b5[_0x1849f5(0x243)]=function(_0x197320,_0x27fce3){return _0x197320===_0x27fce3;},_0x3af7b5['wlsig']='****\x20RESULTS\x20****';const _0x212486=_0x3af7b5;let _0x4fb43a=0x0;if(_0x212486['zTMms'](_0x955a31['length'],0x0))return _0x4fb43a;return console[_0x1849f5(0x20a)](chalk[_0x1849f5(0x226)][_0x1849f5(0x1f9)](_0x212486['wlsig'])),_0x955a31['forEach'](_0x47072d=>{const _0x5f4663=_0x1849f5,_0x294d1a=_0x47072d[0x0],_0x1420d1=_0x47072d[0x1];console[_0x5f4663(0x20a)]('\x0a'+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](''+helper[_0x5f4663(0x219)](_0x294d1a)));const _0x2435f1=_0x1420d1[_0x5f4663(0x21a)],_0xfa050=_0x1420d1[_0x5f4663(0x24b)],_0x1e1887=_0x1420d1[_0x5f4663(0x1e3)],_0x1e3cfb=_0x1420d1[_0x5f4663(0x1e5)],_0x2e5042=_0x1420d1[_0x5f4663(0x220)],_0x33b5d1=_0x1420d1[_0x5f4663(0x20e)],_0xb75699=_0x1420d1['stepsPending'],_0x4c2702=_0x1420d1[_0x5f4663(0x23e)],_0x5d26f5=_0x1420d1[_0x5f4663(0x1fc)],_0x52f950=_0x1420d1['stepsAmbiguous'],_0x35bac5=_0x1420d1['processSuccess'];let _0x3640ee=_0x2435f1+'\x20scenarios';const _0x4a7995=_0x212486['joHup'](_0x212486[_0x5f4663(0x237)](_0x2435f1,_0x1e1887),0x0)?_0x212486[_0x5f4663(0x237)](_0x2435f1,_0x1e1887):0x0;if(_0x212486[_0x5f4663(0x236)](_0x1e1887,0x0)&&_0x212486[_0x5f4663(0x1fe)](_0x4a7995,0x0))_0x3640ee+='\x20('+chalk['bold'][_0x5f4663(0x1fb)](_0x1e1887+_0x5f4663(0x205))+',\x20'+chalk[_0x5f4663(0x226)][_0x5f4663(0x1ea)](_0x4a7995+'\x20passed')+')';else(_0x212486[_0x5f4663(0x1fe)](_0x1e1887,0x0)||_0x212486[_0x5f4663(0x1fe)](_0x4a7995,0x0))&&(_0x3640ee+=_0x212486['WKJPM'](_0x1e1887,0x0)?'\x20('+chalk[_0x5f4663(0x226)]['red'](_0x1e1887+_0x5f4663(0x205))+')':'\x20('+chalk[_0x5f4663(0x226)][_0x5f4663(0x1ea)](_0x4a7995+_0x5f4663(0x244))+')');const _0x325043=_0xfa050+'\x20steps',_0x306d7e=[];_0x212486['yiVub'](_0x52f950,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk['bold'][_0x5f4663(0x1fb)](_0x52f950+_0x5f4663(0x23a)));_0x212486[_0x5f4663(0x1f0)](_0x1e3cfb,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk['bold']['red'](_0x1e3cfb+_0x5f4663(0x205)));_0x212486['dspze'](_0x2e5042,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['green'](_0x2e5042+_0x5f4663(0x244)));_0x212486[_0x5f4663(0x1fe)](_0xb75699,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](_0xb75699+_0x5f4663(0x245)));_0x212486[_0x5f4663(0x1f4)](_0x33b5d1,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['cyan'](_0x33b5d1+'\x20skipped'));_0x212486[_0x5f4663(0x242)](_0x4c2702,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](_0x4c2702+_0x5f4663(0x1fa)));_0x212486[_0x5f4663(0x24f)](_0x5d26f5,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['yellow'](_0x5d26f5+'\x20skipped'));const _0x3e1e0f=_0x212486[_0x5f4663(0x1eb)](_0x212486['sTbTz'](_0x212486[_0x5f4663(0x24a)](_0x325043,'('),_0x306d7e[_0x5f4663(0x21b)](',\x20')),')');console['log'](_0x212486['sTbTz'](_0x212486[_0x5f4663(0x1eb)](_0x212486['TsLGl'](_0x212486[_0x5f4663(0x212)]('\x0a',_0x3640ee),'\x0a'),_0x3e1e0f),'\x0a')),_0x212486[_0x5f4663(0x243)](_0x35bac5,![])&&(_0x4fb43a=0x1);}),_0x4fb43a;}async function run(_0x457f92,_0x2c940e){const _0x48910a=a5_0x3c011d,_0x25a2a8={'rVaBA':function(_0x22cff6,_0x4e5255){return _0x22cff6(_0x4e5255);},'qZSva':function(_0x47018e,_0x5798b3){return _0x47018e>_0x5798b3;},'OOQep':'Generating\x20consolidated\x20report...','UqENv':_0x48910a(0x21c),'YJKLx':'cucumber','jASLU':_0x48910a(0x1f6),'rFbPJ':_0x48910a(0x1e4),'CqPDN':_0x48910a(0x22e),'UlFhb':function(_0x30b506,_0x5d679d){return _0x30b506-_0x5d679d;},'JFuYC':function(_0x5310c2,_0xfc23df){return _0x5310c2>=_0xfc23df;},'PChxK':function(_0x4ef905,_0x36c866){return _0x4ef905!=_0x36c866;},'HINfG':_0x48910a(0x221),'NmxUY':function(_0x5e9c00,_0x21ea00,_0x4a5724,_0x226d79,_0x38f666,_0xfeeea2){return _0x5e9c00(_0x21ea00,_0x4a5724,_0x226d79,_0x38f666,_0xfeeea2);}},_0x545366=new BrowserStackSetup(_0x457f92,_0x25a2a8['rFbPJ']);await _0x545366[_0x48910a(0x20c)]();!helper[_0x48910a(0x1ee)]()&&await _0x545366[_0x48910a(0x215)]();await helper[_0x48910a(0x217)](_0x545366[_0x48910a(0x20b)]);const _0x4fc4eb=helper[_0x48910a(0x234)](_0x545366[_0x48910a(0x20b)]),_0x2e517e=helper[_0x48910a(0x230)](_0x545366[_0x48910a(0x20b)],_0x4fc4eb,constants[_0x48910a(0x238)][_0x48910a(0x229)]);if(!_0x545366[_0x48910a(0x20b)])return;const _0x3271d3=_0x545366['config'][_0x48910a(0x249)]||helper[_0x48910a(0x225)](_0x457f92,_0x2c940e,_0x545366[_0x48910a(0x20b)],constants[_0x48910a(0x238)][_0x48910a(0x229)])||0x1,_0x4e0d7f={'server':helper[_0x48910a(0x233)](_0x545366[_0x48910a(0x20b)]),'proxySettings':_0x545366['config'][_0x48910a(0x1f7)],'maxWorkers':_0x3271d3,'browserStackLogLevel':_0x545366[_0x48910a(0x20b)]['logLevel'],'skipSessionName':_0x545366[_0x48910a(0x20b)][_0x48910a(0x235)]['skipSessionName'],'skipSessionStatus':_0x545366[_0x48910a(0x20b)][_0x48910a(0x235)][_0x48910a(0x23c)],'turboScaleUrl':_0x545366[_0x48910a(0x20b)][_0x48910a(0x203)]},_0x461ae2=process['argv'],[_0x2d7efa,_0x320ec3]=helper[_0x48910a(0x252)](_0x461ae2),_0x365288=path[_0x48910a(0x21b)](process[_0x48910a(0x22a)](),_0x25a2a8[_0x48910a(0x211)]);if(_0x25a2a8[_0x48910a(0x251)](_0x320ec3[_0x48910a(0x1ef)],0x0)){helper[_0x48910a(0x216)](_0x365288);for(let _0x34c9d7=_0x25a2a8[_0x48910a(0x239)](_0x2d7efa[_0x48910a(0x1ef)],0x1);_0x25a2a8[_0x48910a(0x24e)](_0x34c9d7,0x0);_0x34c9d7--){_0x461ae2[_0x48910a(0x208)](_0x2d7efa[_0x34c9d7],0x2);}}!helper[_0x48910a(0x23f)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x207)])&&(process[_0x48910a(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x48910a(0x1e7)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x207)]));_0x25a2a8[_0x48910a(0x1f1)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x1e8)],null)?process[_0x48910a(0x1f8)][_0x48910a(0x1f2)]=_0x545366[_0x48910a(0x20b)][_0x48910a(0x1e8)]:process[_0x48910a(0x1f8)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x25a2a8[_0x48910a(0x206)];const _0x1cef09=await TestHubHandler[_0x48910a(0x1ed)](constants[_0x48910a(0x238)]['CUCUMBER'],_0x545366);helper['markSDKSetupComplete']();let _0x50fad4;_0x25a2a8[_0x48910a(0x231)](parallelCucumberRun,_0x2e517e,_0x4e0d7f,_0x545366[_0x48910a(0x20b)],_0x461ae2,_0x320ec3)[_0x48910a(0x1e6)](async _0x3deb84=>{const _0x531e52=_0x48910a;_0x50fad4=_0x3deb84;const _0x9467ac=_0x25a2a8['rVaBA'](printCucumberStats,_0x3deb84);process[_0x531e52(0x218)]=_0x9467ac,_0x25a2a8[_0x531e52(0x251)](_0x320ec3[_0x531e52(0x1ef)],0x0)&&(logger['debug'](_0x25a2a8[_0x531e52(0x1f5)]),helper[_0x531e52(0x1ec)](_0x365288,_0x320ec3),logger[_0x531e52(0x247)](_0x25a2a8[_0x531e52(0x24c)]),helper[_0x531e52(0x210)](_0x365288));})[_0x48910a(0x223)](async()=>{const _0x3d6cd6=_0x48910a;_0x545366[_0x3d6cd6(0x246)]=helper[_0x3d6cd6(0x1ff)](_0x50fad4,_0x25a2a8[_0x3d6cd6(0x214)]),testOpsHelper[_0x3d6cd6(0x202)]();try{await TestHubHandler['stop']();}catch(_0x5df2e6){logger[_0x3d6cd6(0x247)](_0x3d6cd6(0x200)+util['format'](_0x5df2e6));}try{const {browserstackFolderPath:_0x45b891,tcgConfigPath:_0x5d02e7}=helper[_0x3d6cd6(0x201)]();fs[_0x3d6cd6(0x22f)](_0x5d02e7),fs['rmdirSync'](_0x45b891);}catch(_0x35611c){logger[_0x3d6cd6(0x247)](_0x25a2a8['jASLU'],_0x35611c);}await utilities[_0x3d6cd6(0x1f3)](_0x545366);});}function a5_0x4fe0(){const _0x225de7=['319ALkvQJ','stepsSkipped','yiVub','removeDir','CqPDN','qydlf','../test-runner','YJKLx','setupTCGAuth','createDir','handleApp','exitCode','getPlatformName','scenarios','join','Removing\x20tmp\x20directory\x20created\x20for\x20reports','30XqhAlB','3053100HHKzfz','../../helpers/helper','stepsPassed','false','util','finally','chalk','getUserWorkerCount','bold','16GHwoaq','../utils/constants','CUCUMBER','cwd','633248pcePRU','../../helpers/test-observability/utils','WKJPM','tmp','unlinkSync','prepareCapabilities','NmxUY','4061637LypZAa','getHubUrl','useW3C','testContextOptions','LfUfx','wNMuV','FRAMEWORKS','UlFhb','\x20ambiguous','5fZwHOq','skipSessionStatus','1295656jPIYWU','stepsUndefined','isUndefined','exports','sTbTz','pLTcp','zTMms','\x20passed','\x20pending','errorMessage','debug','push','parallelsPerPlatform','tJlXD','steps','UqENv','622960nwIeZs','JFuYC','dspze','421068aQzMrD','qZSva','parseFormatters','scenariosFailed','cucumber-js','stepsFailed','then','stringify','testObservability','yellow','green','TsLGl','mergeOutputFiles','launchBuild','isBrowserstackInfra','length','kxOCJ','PChxK','BROWSERSTACK_TEST_OBSERVABILITY_YML','finalExecution','xzokG','OOQep','error\x20removing\x20tcg\x20config\x20file','proxySettings','env','bgWhite','\x20undefined','red','stepsUnknown','../../helpers/BrowserStackSetup','joHup','getErrorMessageFromResults','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getTCGConfigFilePaths','printBuildLink','turboScaleUrl','96176uRFeaD','\x20failed','HINfG','accessibilityOptions','splice','../../helpers/testhub/testhubHandler','log','config','initialize'];a5_0x4fe0=function(){return _0x225de7;};return a5_0x4fe0();}function a5_0x1e0a(_0x4e6e04,_0x59896e){const _0x4fe0dc=a5_0x4fe0();return a5_0x1e0a=function(_0x1e0a7d,_0x5f46e1){_0x1e0a7d=_0x1e0a7d-0x1e3;let _0x1c0173=_0x4fe0dc[_0x1e0a7d];return _0x1c0173;},a5_0x1e0a(_0x4e6e04,_0x59896e);}module[a5_0x3c011d(0x240)]=run;
|
|
2
|
+
'use strict';const a5_0x4f18d1=a5_0x2f28;(function(_0x2a61d0,_0x8da08a){const _0x39ef19=a5_0x2f28,_0x170b1c=_0x2a61d0();while(!![]){try{const _0x2affff=-parseInt(_0x39ef19(0x1ff))/0x1+parseInt(_0x39ef19(0x1e3))/0x2*(-parseInt(_0x39ef19(0x1d2))/0x3)+parseInt(_0x39ef19(0x201))/0x4+parseInt(_0x39ef19(0x1ca))/0x5+parseInt(_0x39ef19(0x1a4))/0x6+parseInt(_0x39ef19(0x1d8))/0x7+-parseInt(_0x39ef19(0x1b2))/0x8*(parseInt(_0x39ef19(0x197))/0x9);if(_0x2affff===_0x8da08a)break;else _0x170b1c['push'](_0x170b1c['shift']());}catch(_0x46e556){_0x170b1c['push'](_0x170b1c['shift']());}}}(a5_0x40d2,0x9e9d8));function a5_0x2f28(_0x4e1ca1,_0xa17328){const _0x40d2f8=a5_0x40d2();return a5_0x2f28=function(_0x2f286c,_0x4a6259){_0x2f286c=_0x2f286c-0x193;let _0x3fca79=_0x40d2f8[_0x2f286c];return _0x3fca79;},a5_0x2f28(_0x4e1ca1,_0xa17328);}const fs=require('fs'),path=require(a5_0x4f18d1(0x1bd)),util=require('util'),logger=require(a5_0x4f18d1(0x1f2))[a5_0x4f18d1(0x1a8)],{default:BrowserStackSetup}=require(a5_0x4f18d1(0x1ef)),helper=require(a5_0x4f18d1(0x1b4)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x4f18d1(0x1aa)),TestHubHandler=require(a5_0x4f18d1(0x198)),testOpsHelper=require(a5_0x4f18d1(0x1cc)),chalk=require(a5_0x4f18d1(0x1d9));function printCucumberStats(_0x3422db){const _0x5499b1=a5_0x4f18d1,_0x58f6a5={};_0x58f6a5[_0x5499b1(0x1d3)]=function(_0x4a5e00,_0x48c9fe){return _0x4a5e00>_0x48c9fe;},_0x58f6a5[_0x5499b1(0x1c1)]=function(_0x39516c,_0xe7b945){return _0x39516c-_0xe7b945;},_0x58f6a5[_0x5499b1(0x19f)]=function(_0x8b5419,_0x59bf39){return _0x8b5419>_0x59bf39;},_0x58f6a5[_0x5499b1(0x1d4)]=function(_0x27a0bc,_0x38cf69){return _0x27a0bc>_0x38cf69;},_0x58f6a5[_0x5499b1(0x1fa)]=function(_0x1d3576,_0x5068a9){return _0x1d3576>_0x5068a9;},_0x58f6a5['qhczD']=function(_0x4206ea,_0x3cdb0b){return _0x4206ea>_0x3cdb0b;},_0x58f6a5[_0x5499b1(0x1c3)]=function(_0x5467d9,_0x1312f2){return _0x5467d9>_0x1312f2;},_0x58f6a5['zTNFH']=function(_0x1c8a02,_0xdcf9dd){return _0x1c8a02>_0xdcf9dd;},_0x58f6a5[_0x5499b1(0x1c4)]=function(_0x61bcd5,_0x2ad15c){return _0x61bcd5>_0x2ad15c;},_0x58f6a5[_0x5499b1(0x1ee)]=function(_0x280418,_0xd9ab67){return _0x280418+_0xd9ab67;},_0x58f6a5[_0x5499b1(0x204)]=function(_0x2aade0,_0x3944f2){return _0x2aade0+_0x3944f2;},_0x58f6a5[_0x5499b1(0x19d)]=function(_0xc8c605,_0xf4b1ee){return _0xc8c605+_0xf4b1ee;},_0x58f6a5[_0x5499b1(0x1ab)]=function(_0x218fc7,_0x48f2ab){return _0x218fc7+_0x48f2ab;},_0x58f6a5[_0x5499b1(0x1f1)]=function(_0x197745,_0x4fc3d3){return _0x197745===_0x4fc3d3;},_0x58f6a5[_0x5499b1(0x1c8)]=_0x5499b1(0x1a1);const _0x57d9fb=_0x58f6a5;let _0x2a9d03=0x0;if(_0x57d9fb[_0x5499b1(0x1f1)](_0x3422db['length'],0x0))return _0x2a9d03;return console[_0x5499b1(0x1b3)](chalk[_0x5499b1(0x1a0)]['bgWhite'](_0x57d9fb[_0x5499b1(0x1c8)])),_0x3422db[_0x5499b1(0x1fe)](_0x959e6a=>{const _0x2104d8=_0x5499b1,_0x92a95d=_0x959e6a[0x0],_0x5f5dbd=_0x959e6a[0x1];console[_0x2104d8(0x1b3)]('\x0a'+chalk['bold'][_0x2104d8(0x1dd)](''+helper[_0x2104d8(0x1bc)](_0x92a95d)));const _0x12fa72=_0x5f5dbd[_0x2104d8(0x1ec)],_0x188491=_0x5f5dbd[_0x2104d8(0x1c2)],_0x320358=_0x5f5dbd[_0x2104d8(0x1ed)],_0x10ad07=_0x5f5dbd[_0x2104d8(0x1d6)],_0x15f1c6=_0x5f5dbd[_0x2104d8(0x1a5)],_0x2f99f3=_0x5f5dbd[_0x2104d8(0x1bb)],_0x2ee235=_0x5f5dbd[_0x2104d8(0x1c6)],_0x50c75=_0x5f5dbd['stepsUndefined'],_0x2e0dd1=_0x5f5dbd['stepsUnknown'],_0x227850=_0x5f5dbd[_0x2104d8(0x1d1)],_0x4c64a0=_0x5f5dbd[_0x2104d8(0x200)];let _0x479e98=_0x12fa72+_0x2104d8(0x1db);const _0x358967=_0x57d9fb['pZRKn'](_0x57d9fb[_0x2104d8(0x1c1)](_0x12fa72,_0x320358),0x0)?_0x57d9fb['lcymv'](_0x12fa72,_0x320358):0x0;if(_0x57d9fb['pZRKn'](_0x320358,0x0)&&_0x57d9fb['CAUUb'](_0x358967,0x0))_0x479e98+='\x20('+chalk['bold'][_0x2104d8(0x1b9)](_0x320358+_0x2104d8(0x1be))+',\x20'+chalk[_0x2104d8(0x1a0)]['green'](_0x358967+_0x2104d8(0x1c5))+')';else(_0x57d9fb['CAUUb'](_0x320358,0x0)||_0x57d9fb[_0x2104d8(0x1d4)](_0x358967,0x0))&&(_0x479e98+=_0x57d9fb[_0x2104d8(0x1d3)](_0x320358,0x0)?'\x20('+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1b9)](_0x320358+'\x20failed')+')':'\x20('+chalk[_0x2104d8(0x1a0)]['green'](_0x358967+_0x2104d8(0x1c5))+')');const _0x1158b6=_0x188491+_0x2104d8(0x195),_0x25e570=[];_0x57d9fb[_0x2104d8(0x1d3)](_0x227850,0x0)&&_0x25e570['push'](''+chalk[_0x2104d8(0x1a0)]['red'](_0x227850+'\x20ambiguous'));_0x57d9fb[_0x2104d8(0x1d4)](_0x10ad07,0x0)&&_0x25e570['push'](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1b9)](_0x10ad07+_0x2104d8(0x1be)));_0x57d9fb[_0x2104d8(0x1fa)](_0x15f1c6,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1fb)](_0x15f1c6+_0x2104d8(0x1c5)));_0x57d9fb['qhczD'](_0x2ee235,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk['bold'][_0x2104d8(0x1dd)](_0x2ee235+'\x20pending'));_0x57d9fb[_0x2104d8(0x1c3)](_0x2f99f3,0x0)&&_0x25e570['push'](''+chalk['bold'][_0x2104d8(0x199)](_0x2f99f3+_0x2104d8(0x1ce)));_0x57d9fb[_0x2104d8(0x1e8)](_0x50c75,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1dd)](_0x50c75+_0x2104d8(0x1dc)));_0x57d9fb[_0x2104d8(0x1c4)](_0x2e0dd1,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1dd)](_0x2e0dd1+_0x2104d8(0x1ce)));const _0x1545e6=_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x204)](_0x57d9fb[_0x2104d8(0x204)](_0x1158b6,'('),_0x25e570[_0x2104d8(0x1ae)](',\x20')),')');console[_0x2104d8(0x1b3)](_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x19d)](_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x1ab)]('\x0a',_0x479e98),'\x0a'),_0x1545e6),'\x0a')),_0x57d9fb[_0x2104d8(0x1f1)](_0x4c64a0,![])&&(_0x2a9d03=0x1);}),_0x2a9d03;}async function run(_0x372fad,_0x4eefe6){const _0x1c8f7c=a5_0x4f18d1,_0x55c4a4={'LNMLs':function(_0x11a68b,_0x5b8c30){return _0x11a68b(_0x5b8c30);},'cdqOE':function(_0x34f3ea,_0x189b19){return _0x34f3ea>_0x189b19;},'tyCAQ':_0x1c8f7c(0x1de),'fKZiE':_0x1c8f7c(0x1d7),'Tjzxf':'cucumber','lObmu':_0x1c8f7c(0x1ad),'cfPUE':_0x1c8f7c(0x1cd),'FCnAC':_0x1c8f7c(0x1c9),'pURFg':function(_0x62762,_0x217f4c){return _0x62762-_0x217f4c;},'iQdss':function(_0x5ec86d,_0x39284c){return _0x5ec86d>=_0x39284c;},'MxSsf':function(_0x13fd27,_0x195824){return _0x13fd27!=_0x195824;},'IoWLS':_0x1c8f7c(0x1d0),'aGCqx':function(_0xbe9f76,_0x3e2ce8,_0x570060,_0x57a5ff,_0x2f3d09,_0x10300b){return _0xbe9f76(_0x3e2ce8,_0x570060,_0x57a5ff,_0x2f3d09,_0x10300b);}},_0x542d4a=new BrowserStackSetup(_0x372fad,_0x55c4a4[_0x1c8f7c(0x19b)]);await _0x542d4a[_0x1c8f7c(0x1e6)]();!helper['isBrowserstackInfra']()&&await _0x542d4a[_0x1c8f7c(0x1df)]();await helper[_0x1c8f7c(0x1af)](_0x542d4a[_0x1c8f7c(0x1e5)]);const _0x132281=helper[_0x1c8f7c(0x19c)](_0x542d4a[_0x1c8f7c(0x1e5)]),_0x5edade=helper[_0x1c8f7c(0x196)](_0x542d4a[_0x1c8f7c(0x1e5)],_0x132281,constants[_0x1c8f7c(0x1cf)][_0x1c8f7c(0x1cb)]);if(!_0x542d4a['config'])return;const _0x4d84b2=_0x542d4a[_0x1c8f7c(0x1e5)]['parallelsPerPlatform']||helper[_0x1c8f7c(0x1b5)](_0x372fad,_0x4eefe6,_0x542d4a[_0x1c8f7c(0x1e5)],constants[_0x1c8f7c(0x1cf)]['CUCUMBER'])||0x1,_0x2ccf60={'server':helper[_0x1c8f7c(0x1a2)](_0x542d4a[_0x1c8f7c(0x1e5)]),'proxySettings':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a9)],'maxWorkers':_0x4d84b2,'browserStackLogLevel':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1f4)],'skipSessionName':_0x542d4a[_0x1c8f7c(0x1e5)]['testContextOptions'][_0x1c8f7c(0x203)],'skipSessionStatus':_0x542d4a['config'][_0x1c8f7c(0x1a7)][_0x1c8f7c(0x1da)],'turboScaleUrl':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1b7)]},_0x44c2b4=process[_0x1c8f7c(0x1b6)],[_0x2d75d3,_0x2389ae]=helper[_0x1c8f7c(0x193)](_0x44c2b4),_0x479ed2=path[_0x1c8f7c(0x1ae)](process[_0x1c8f7c(0x1e9)](),_0x55c4a4[_0x1c8f7c(0x1ea)]);if(_0x55c4a4['cdqOE'](_0x2389ae[_0x1c8f7c(0x1e0)],0x0)){helper[_0x1c8f7c(0x1d5)](_0x479ed2);for(let _0x5f124e=_0x55c4a4[_0x1c8f7c(0x1fc)](_0x2d75d3[_0x1c8f7c(0x1e0)],0x1);_0x55c4a4[_0x1c8f7c(0x1f9)](_0x5f124e,0x0);_0x5f124e--){_0x44c2b4[_0x1c8f7c(0x1f5)](_0x2d75d3[_0x5f124e],0x2);}}!helper[_0x1c8f7c(0x19e)](_0x542d4a[_0x1c8f7c(0x1e5)]['accessibilityOptions'])&&(process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1c8f7c(0x1ac)](_0x542d4a[_0x1c8f7c(0x1e5)]['accessibilityOptions']));_0x55c4a4['MxSsf'](_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a6)],null)?process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a6)]:process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x55c4a4[_0x1c8f7c(0x1f6)];const _0x7b3b91=await TestHubHandler[_0x1c8f7c(0x1ba)](constants[_0x1c8f7c(0x1cf)]['CUCUMBER'],_0x542d4a);helper[_0x1c8f7c(0x1eb)]();let _0x378c48;_0x55c4a4[_0x1c8f7c(0x1bf)](parallelCucumberRun,_0x5edade,_0x2ccf60,_0x542d4a[_0x1c8f7c(0x1e5)],_0x44c2b4,_0x2389ae)[_0x1c8f7c(0x1b0)](async _0x3a3e1a=>{const _0x24c93b=_0x1c8f7c;_0x378c48=_0x3a3e1a;const _0x2cb624=_0x55c4a4[_0x24c93b(0x1c0)](printCucumberStats,_0x3a3e1a);process[_0x24c93b(0x1e4)]=_0x2cb624,_0x55c4a4[_0x24c93b(0x1e2)](_0x2389ae[_0x24c93b(0x1e0)],0x0)&&(logger['debug'](_0x55c4a4['tyCAQ']),helper[_0x24c93b(0x1b8)](_0x479ed2,_0x2389ae),logger[_0x24c93b(0x19a)](_0x55c4a4[_0x24c93b(0x1f8)]),helper['removeDir'](_0x479ed2));})[_0x1c8f7c(0x1c7)](async()=>{const _0x13919f=_0x1c8f7c;_0x542d4a['errorMessage']=helper[_0x13919f(0x202)](_0x378c48,_0x55c4a4[_0x13919f(0x1f0)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x4c4df6){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13919f(0x194)](_0x4c4df6));}try{const {browserstackFolderPath:_0x4bc8c7,tcgConfigPath:_0x3bed06}=helper[_0x13919f(0x1f7)]();fs[_0x13919f(0x1b1)](_0x3bed06),fs['rmdirSync'](_0x4bc8c7);}catch(_0x53a746){logger['debug'](_0x55c4a4[_0x13919f(0x1e7)],_0x53a746);}await utilities[_0x13919f(0x1e1)](_0x542d4a);});}function a5_0x40d2(){const _0x51cbfd=['../../helpers/logger','env','logLevel','splice','IoWLS','getTCGConfigFilePaths','fKZiE','iQdss','xuHhe','green','pURFg','push','forEach','497888kVitqV','processSuccess','1578664DxSKvO','getErrorMessageFromResults','skipSessionName','FKKqY','parseFormatters','format','\x20steps','prepareCapabilities','18GWALPP','../../helpers/testhub/testhubHandler','cyan','debug','cfPUE','useW3C','qDglI','isUndefined','CAUUb','bold','****\x20RESULTS\x20****','getHubUrl','exports','5785344rGdYrz','stepsPassed','testObservability','testContextOptions','winstonLogger','proxySettings','../test-runner','cQeXZ','stringify','error\x20removing\x20tcg\x20config\x20file','join','handleApp','then','unlinkSync','7012264EtQWzg','log','../../helpers/helper','getUserWorkerCount','argv','turboScaleUrl','mergeOutputFiles','red','launchBuild','stepsSkipped','getPlatformName','path','\x20failed','aGCqx','LNMLs','lcymv','steps','jgVLA','moUTm','\x20passed','stepsPending','finally','JnMJH','tmp','6127505bHOiYc','CUCUMBER','../../helpers/test-observability/utils','cucumber-js','\x20skipped','FRAMEWORKS','false','stepsAmbiguous','10839RAMDmV','pZRKn','nwCSv','createDir','stepsFailed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','2340212qVSzOv','chalk','skipSessionStatus','\x20scenarios','\x20undefined','yellow','Generating\x20consolidated\x20report...','setupTCGAuth','length','finalExecution','cdqOE','10RBpNbm','exitCode','config','initialize','lObmu','zTNFH','cwd','FCnAC','markSDKSetupComplete','scenarios','scenariosFailed','TDlnl','../../helpers/BrowserStackSetup','Tjzxf','JPxjs'];a5_0x40d2=function(){return _0x51cbfd;};return a5_0x40d2();}module[a5_0x4f18d1(0x1a3)]=run;
|