browserstack-node-sdk 1.34.10 → 1.34.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/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
|
-
const a1_0x1caa40=a1_0x8953;(function(_0x53f36e,_0x4bc477){const _0xdb4035=a1_0x8953,_0x1483ff=_0x53f36e();while(!![]){try{const _0x54a344=parseInt(_0xdb4035(0x15c))/0x1+parseInt(_0xdb4035(0x1b4))/0x2+parseInt(_0xdb4035(0x1c9))/0x3+-parseInt(_0xdb4035(0x156))/0x4+-parseInt(_0xdb4035(0x193))/0x5*(-parseInt(_0xdb4035(0x1d6))/0x6)+parseInt(_0xdb4035(0x16e))/0x7*(parseInt(_0xdb4035(0x188))/0x8)+-parseInt(_0xdb4035(0x162))/0x9;if(_0x54a344===_0x4bc477)break;else _0x1483ff['push'](_0x1483ff['shift']());}catch(_0x56667c){_0x1483ff['push'](_0x1483ff['shift']());}}}(a1_0x4738,0x4a02c));const fs=require('fs'),util=require(a1_0x1caa40(0x1c2)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x1caa40(0x1cd)),logger=require(a1_0x1caa40(0x192))[a1_0x1caa40(0x1a9)],testOpsHelper=require(a1_0x1caa40(0x1da)),requestSpy=require(a1_0x1caa40(0x198)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1caa40(0x164)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x1caa40(0x1e0)),AccessibilityHelper=require(a1_0x1caa40(0x167)),scripts=require(a1_0x1caa40(0x1dd)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1caa40(0x17a)),testHubConstants=require(a1_0x1caa40(0x1a2)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x1caa40(0x189)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule(a1_0x1caa40(0x170)),playwrightMarkSessionStatus=(_0x2ae804,_0x2fed05,_0x3612d1)=>{const _0x4bea78=a1_0x1caa40,_0x4daa10={'IBCMN':'setSessionStatus','EjNpv':function(_0x17c1d0,_0x566dec){return _0x17c1d0(_0x566dec);}},_0x1c51c1={};_0x1c51c1[_0x4bea78(0x1ae)]=_0x2fed05;const _0x2d6893={};_0x2d6893[_0x4bea78(0x14a)]=_0x4daa10['IBCMN'],_0x2d6893['arguments']=_0x1c51c1;const _0x163847=_0x2d6893;return!_0x4daa10[_0x4bea78(0x153)](isUndefined,_0x3612d1)&&(_0x163847['arguments'][_0x4bea78(0x17c)]=JSON['stringify'](_0x3612d1)),_0x2ae804[_0x4bea78(0x1a4)](()=>{},_0x4bea78(0x1d5)+JSON['stringify'](_0x163847));},o11ySync=async _0x20116e=>{const _0x2b0dd5=a1_0x1caa40,_0x8e8986={};_0x8e8986[_0x2b0dd5(0x1b3)]=function(_0x65e04f,_0x55a7f5){return _0x65e04f===_0x55a7f5;},_0x8e8986[_0x2b0dd5(0x151)]=_0x2b0dd5(0x185);const _0x5ea9ee=_0x8e8986;_0x5ea9ee[_0x2b0dd5(0x1b3)](_0x20116e[_0x2b0dd5(0x158)][_0x2b0dd5(0x16b)],_0x5ea9ee['JDzpK'])?await _0x20116e[_0x2b0dd5(0x1a4)](_0x4d8909=>{},testOpsHelper[_0x2b0dd5(0x14e)]()):await _0x20116e[_0x2b0dd5(0x1a4)](testOpsHelper[_0x2b0dd5(0x14e)]());},markSessionName=async(_0x805c15,_0xc992e8)=>{const _0x3b2a32=a1_0x1caa40,_0x18047e={};_0x18047e[_0x3b2a32(0x1df)]=_0x3b2a32(0x14c),_0x18047e[_0x3b2a32(0x179)]=function(_0x592edf,_0x48972d){return _0x592edf===_0x48972d;},_0x18047e[_0x3b2a32(0x1a7)]=_0x3b2a32(0x185);const _0x2de3db=_0x18047e,_0x468da2={};_0x468da2[_0x3b2a32(0x16b)]=_0xc992e8;const _0x455357={};_0x455357[_0x3b2a32(0x14a)]=_0x2de3db['COBzM'],_0x455357['arguments']=_0x468da2;const _0x515cb9=_0x455357;_0x2de3db[_0x3b2a32(0x179)](_0x805c15[_0x3b2a32(0x158)][_0x3b2a32(0x16b)],_0x2de3db[_0x3b2a32(0x1a7)])?await _0x805c15[_0x3b2a32(0x1a4)](()=>{},'browserstack_executor:\x20'+JSON[_0x3b2a32(0x15e)](_0x515cb9)):await _0x805c15['executeScript'](_0x3b2a32(0x1d5)+JSON[_0x3b2a32(0x15e)](_0x515cb9));},patchSaveScreenshot=_0x5eb733=>{const _0x48f006=a1_0x1caa40,_0x202a91={'fRiiB':'base64','kahHP':'TEST_SCREENSHOT','bHIzc':function(_0x5bf56b){return _0x5bf56b();},'bEAgJ':function(_0x35ee7b,_0x26228f){return _0x35ee7b(_0x26228f);}};_0x202a91[_0x48f006(0x159)](isTrue,process[_0x48f006(0x19b)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x5eb733[_0x48f006(0x163)]&&(_0x5eb733[_0x48f006(0x163)]=!![],_0x5eb733[_0x48f006(0x14b)]=_0x5eb733[_0x48f006(0x181)],_0x5eb733[_0x48f006(0x181)]=(_0x357c80,_0x4f2fef=![])=>{const _0x4fc2a5=_0x48f006,_0x82aff6={'YRtzy':_0x202a91[_0x4fc2a5(0x1d8)],'fyBCY':_0x202a91[_0x4fc2a5(0x1cb)],'Bltdj':function(_0x6f26c9){const _0xe60a37=_0x4fc2a5;return _0x202a91[_0xe60a37(0x1a3)](_0x6f26c9);}};return new Promise(function(_0x5bac2d,_0x38bcca){const _0x3acf84=_0x4fc2a5;_0x5eb733[_0x3acf84(0x14b)](_0x357c80,_0x4f2fef)[_0x3acf84(0x18d)](()=>{const _0xcc9149=_0x3acf84,_0x52d1f7=CodeceptUtils[_0xcc9149(0x149)](_0x357c80),_0x3231a6=fs['readFileSync'](_0x52d1f7);process[_0xcc9149(0x19f)](_0xcc9149(0x1a8)+process[_0xcc9149(0x152)],{'timestamp':new Date()['toISOString'](),'message':_0x3231a6[_0xcc9149(0x1ba)](_0x82aff6['YRtzy']),'kind':_0x82aff6['fyBCY']}),_0x82aff6[_0xcc9149(0x1c8)](_0x5bac2d);})['catch'](()=>null);});});},patchWebDriverBefore=_0x556325=>{const _0x307830=a1_0x1caa40,_0x4c7d2f={'lbScL':function(_0x2fde64){return _0x2fde64();},'Dtgjg':function(_0x5722ed,_0x1e635c){return _0x5722ed(_0x1e635c);},'qYcHz':function(_0x37fb0c,_0x10739c){return _0x37fb0c===_0x10739c;},'eimaS':'Element','dyjcV':function(_0x3b3a67,_0x3fb182){return _0x3b3a67(_0x3fb182);}},_0x201840=async function(_0x2313b9,_0x25ee92){const _0x5152f4=a1_0x8953;return _0x4c7d2f[_0x5152f4(0x1c1)](isAccessibilityAutomationSession)&&!global[_0x5152f4(0x1c6)]&&global[_0x5152f4(0x19e)]&&scripts[_0x5152f4(0x17d)](_0x2313b9[_0x5152f4(0x16b)])&&_0x4c7d2f[_0x5152f4(0x154)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x5152f4(0x1d0)](_0x5152f4(0x18e)+_0x2313b9[_0x5152f4(0x1ca)]+'\x20'+_0x2313b9['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x556325,scripts[_0x5152f4(0x190)])),global[_0x5152f4(0x1c6)]=![],_0x25ee92[_0x5152f4(0x18f)](this,Array['prototype'][_0x5152f4(0x1d7)]['call'](arguments,0x2));},_0x229cd9=CodeceptWebDriver['prototype'][_0x307830(0x1ac)];CodeceptWebDriver[_0x307830(0x1a5)]['_before']=async function(){const _0x46e96c=_0x307830;await _0x229cd9[_0x46e96c(0x18f)](this,arguments),scripts['commandsToWrap'][_0x46e96c(0x1c7)](_0xc7a0c3=>_0xc7a0c3[_0x46e96c(0x16b)]&&_0xc7a0c3['class'])[_0x46e96c(0x166)](_0x2ec7fc=>{const _0x14a672=_0x46e96c;this['browser'][_0x14a672(0x1a1)](_0x2ec7fc[_0x14a672(0x16b)],_0x201840[_0x14a672(0x187)](this,_0x2ec7fc),_0x4c7d2f['qYcHz'](_0x2ec7fc[_0x14a672(0x1ca)],_0x4c7d2f[_0x14a672(0x1b1)]));}),_0x4c7d2f['dyjcV'](processWebDriverConfig,_0x556325);};},patchPlaywrightBefore=()=>{const _0xe433b=a1_0x1caa40;PlaywrightSessionDetails[_0xe433b(0x147)]();const _0x4d95a0=CodeceptPlaywright[_0xe433b(0x1a5)][_0xe433b(0x1ac)];CodeceptPlaywright[_0xe433b(0x1a5)][_0xe433b(0x1ac)]=async function(){const _0x389fa5=_0xe433b;this[_0x389fa5(0x191)]=await this['browser'][_0x389fa5(0x14d)]()[0x0],await _0x4d95a0[_0x389fa5(0x18f)](this,arguments);};},getCodeceptDriver=()=>{const _0x2dfbeb=a1_0x1caa40,_0x2b520c={};_0x2b520c['njxqc']='WebDriver',_0x2b520c[_0x2dfbeb(0x15f)]=_0x2dfbeb(0x185),_0x2b520c['DXQxS']=_0x2dfbeb(0x1b0),_0x2b520c['UwJOG']='TestCafe';const _0x13e6a9=_0x2b520c,_0x3a25fe=[_0x13e6a9[_0x2dfbeb(0x184)],_0x13e6a9['HEvlF'],_0x13e6a9[_0x2dfbeb(0x173)],_0x13e6a9[_0x2dfbeb(0x1bc)]],_0xa93be6=_0x3a25fe['find'](_0x18e41c=>!!CodeceptJS[_0x2dfbeb(0x15d)][_0x2dfbeb(0x17e)](_0x18e41c));if(!_0xa93be6)return null;return CodeceptJS[_0x2dfbeb(0x15d)]['helpers'](_0xa93be6);};function a1_0x8953(_0x227e44,_0x504134){const _0x4738b1=a1_0x4738();return a1_0x8953=function(_0x895314,_0x3967b6){_0x895314=_0x895314-0x146;let _0x3edcb3=_0x4738b1[_0x895314];return _0x3edcb3;},a1_0x8953(_0x227e44,_0x504134);}function a1_0x4738(){const _0x83c336=['thJwtToken','MnAgR','oAwQk','./helper.js','after','reason','shouldWrapCommand','helpers','skipSessionStatus','info','saveScreenshot','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IRZyE','njxqc','Playwright','exports','bind','92648gpSgHK','codeceptjs/lib/utils.js','BROWSERSTACK_TESTHUB_JWT','vXGcm','all','then','Performing\x20scan\x20for\x20','apply','performScan','browserContext','../../helpers/logger','16955qBJowI','GRfPw','vLDdn','stop','hook','../../helpers/request-spy','nCcgp','NOEwt','env','stopMonitoring','started','accessibilityPlatform','emit','getResultsSummary','overwriteCommand','../../helpers/testhub/constants.js','bHIzc','executeScript','prototype','bViCf','DpvTr','bs:addLog:','winstonLogger','test','TEST_LOG','_before','HOOK_RUN_STARTED','status','toISOString','Puppeteer','eimaS','step','yROCi','117144zyZdzR','TEST_RUN_STARTED','failed','skipSessionName','HOOK_RUN_FINISHED','browserStackExecuteDriver','toString','warn','UwJOG','format','saveTestResults','skipped','startMonitoring','lbScL','util','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','getResults','ENV_VAR','bstackAllyScanning','filter','Bltdj','619704pXXshd','class','kahHP','title','../../helpers/helper','FiBdL','passed','debug','before','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','testAnalyticsId','TEST_RUN_FINISHED','browserstack_executor:\x20','246Gpfxpk','slice','fRiiB','MvcPC','../../helpers/test-observability/utils','captureError','ZgjPn','../../helpers/accessibility-automation/scripts','Suite','COBzM','../../helpers/accessibility-automation/helper','FqocZ','patch','thTestRunUuid','screenshotOutputFolder','action','initSaveScreenshot','setSessionName','contexts','getSyncScript','ctx','captureEvent','JDzpK','pid','EjNpv','Dtgjg','enabled','761444qvJlUI','fireEvent','constructor','bEAgJ','__driver','thBuildUuid','102229FpoMXE','container','stringify','HEvlF','etVob','event','1783683OXHsHg','patchSaveScreenshot','./o11yHelper','bddStep','forEach','../../bin/playwright/accessibility-helper','TEST_RUN_SKIPPED','getAccessibilityResults','titlePath','name','ZOgNQ','__skipSessionStatus','112EziMfq','start','codeceptjs/lib/helper/Playwright.js','restore','dispatcher','DXQxS','add','eXOpU','INFO'];a1_0x4738=function(){return _0x83c336;};return a1_0x4738();}module[a1_0x1caa40(0x186)]=function(_0x302340){const _0x2a8480=a1_0x1caa40,_0x165ce6={'vLDdn':_0x2a8480(0x182),'FiBdL':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','etVob':function(_0x102dc7){return _0x102dc7();},'bViCf':function(_0x2e5bd0,_0x2d258e){return _0x2e5bd0(_0x2d258e);},'nCcgp':function(_0x3ee8f3,_0x5bd929,_0x7d293d){return _0x3ee8f3(_0x5bd929,_0x7d293d);},'vXGcm':function(_0x13afae,_0x58b81e,_0x577ff3){return _0x13afae(_0x58b81e,_0x577ff3);},'GRfPw':function(_0x37fe69,_0x30b096,_0x14c3fa){return _0x37fe69(_0x30b096,_0x14c3fa);},'FqocZ':function(_0x59b1e3,_0x2b7cb3,_0x573be4,_0x3a0969){return _0x59b1e3(_0x2b7cb3,_0x573be4,_0x3a0969);},'NTZnF':function(_0xe29429,_0x3fb9eb){return _0xe29429===_0x3fb9eb;},'ZgjPn':_0x2a8480(0x1de),'MvcPC':_0x2a8480(0x1c3),'NOEwt':_0x2a8480(0x176),'rBiYW':_0x2a8480(0x1ab),'eXOpU':function(_0x1d765b){return _0x1d765b();},'IRZyE':_0x2a8480(0x185),'JKGKr':function(_0x4a12b1){return _0x4a12b1();}};_0x302340[_0x2a8480(0x17f)]&&(global[_0x2a8480(0x16d)]=_0x302340[_0x2a8480(0x17f)]);PerformanceTester[_0x2a8480(0x1c0)]();const _0x24f67d=_0x165ce6[_0x2a8480(0x175)](getCodeceptDriver),_0x54872e=new O11yHelper(_0x24f67d,_0x302340),_0x525887=!!CodeceptJS[_0x2a8480(0x15d)]['helpers'](_0x165ce6[_0x2a8480(0x183)]);global[_0x2a8480(0x15a)]=_0x24f67d,_0x24f67d&&(_0x525887?_0x165ce6['JKGKr'](patchPlaywrightBefore):_0x165ce6[_0x2a8480(0x1a6)](patchWebDriverBefore,_0x24f67d),_0x24f67d['getAccessibilityResultsSummary']=async()=>{const _0x1f87da=_0x2a8480;if(global[_0x1f87da(0x19e)])await AccessibilityHelper['browserStackExecuteDriver'](_0x24f67d,scripts[_0x1f87da(0x190)]),await AccessibilityHelper[_0x1f87da(0x1b9)](_0x24f67d,scripts[_0x1f87da(0x1a0)]);else return logger[_0x1f87da(0x1bb)](_0x165ce6[_0x1f87da(0x195)]),{};},_0x24f67d[_0x2a8480(0x169)]=async()=>{const _0x41b601=_0x2a8480;if(global[_0x41b601(0x19e)])await AccessibilityHelper[_0x41b601(0x1b9)](_0x24f67d,scripts[_0x41b601(0x190)]),await AccessibilityHelper[_0x41b601(0x1b9)](_0x24f67d,scripts[_0x41b601(0x1c4)]);else return logger[_0x41b601(0x1bb)](_0x165ce6[_0x41b601(0x1ce)]),{};},_0x165ce6[_0x2a8480(0x1a6)](patchSaveScreenshot,_0x24f67d)),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x18c)]['before'],()=>{const _0x9c0026=_0x2a8480;try{_0x54872e[_0x9c0026(0x16f)](),testOpsHelper['addRequestSpy']();}catch(_0x2bd0a1){PerformanceTester[_0x9c0026(0x1db)](_0x2bd0a1);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x18c)][_0x2a8480(0x17b)],async()=>{const _0x3bed9c=_0x2a8480;try{requestSpy[_0x3bed9c(0x171)](),await _0x54872e[_0x3bed9c(0x196)]();}catch(_0x14f5da){PerformanceTester[_0x3bed9c(0x1db)](_0x14f5da);}finally{PerformanceTester[_0x3bed9c(0x19c)]();}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x197)]['started'],_0x5bf5bc=>{const _0x5442ee=_0x2a8480;try{const _0x3f9239=_0x5bf5bc[_0x5442ee(0x14f)][_0x5442ee(0x1aa)],_0x39b1f9=_0x54872e[_0x5442ee(0x150)](TEST_EVENTS[_0x5442ee(0x1ad)],_0x3f9239);CodeceptRecorder[_0x5442ee(0x174)](()=>_0x54872e[_0x5442ee(0x157)](TEST_EVENTS[_0x5442ee(0x1ad)],_0x39b1f9));}catch(_0x12980a){PerformanceTester[_0x5442ee(0x1db)](_0x12980a);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)]['hook'][_0x2a8480(0x1cf)],_0x564f43=>{const _0x15539c=_0x2a8480;try{const _0x3a4148=_0x564f43[_0x15539c(0x14f)][_0x15539c(0x1aa)],_0x1788ce=_0x54872e[_0x15539c(0x150)](TEST_EVENTS[_0x15539c(0x1b8)],_0x3a4148);CodeceptRecorder[_0x15539c(0x174)](()=>_0x54872e[_0x15539c(0x157)](TEST_EVENTS[_0x15539c(0x1b8)],_0x1788ce));}catch(_0x2befef){PerformanceTester[_0x15539c(0x1db)](_0x2befef);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x197)][_0x2a8480(0x1b6)],async(_0x2538a2,_0x34fcac)=>{const _0x2a213d=_0x2a8480;try{const _0x4dfe1f=_0x2538a2[_0x2a213d(0x14f)][_0x2a213d(0x1aa)],_0x2a4631=_0x54872e['captureEvent'](TEST_EVENTS[_0x2a213d(0x1b8)],_0x4dfe1f,_0x34fcac);CodeceptRecorder['add'](()=>_0x54872e[_0x2a213d(0x157)](TEST_EVENTS[_0x2a213d(0x1b8)],_0x2a4631));}catch(_0x186969){PerformanceTester[_0x2a213d(0x1db)](_0x186969);}}),CodeceptJS[_0x2a8480(0x161)]['dispatcher']['on'](CodeceptJS[_0x2a8480(0x161)]['test'][_0x2a8480(0x1d1)],_0x2f52da=>{const _0x5b42d2=_0x2a8480;try{_0x165ce6[_0x5b42d2(0x160)](isBrowserstackInfra)&&(_0x525887&&(global['__workerDetails']={'currentTest':{'name':_0x2f52da[_0x5b42d2(0x1cc)],'testInfo':{'titlePath':_0x2f52da[_0x5b42d2(0x16a)]()}}}));}catch(_0x1df3c2){PerformanceTester[_0x5b42d2(0x1db)](_0x1df3c2);}}),CodeceptJS[_0x2a8480(0x161)]['dispatcher']['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x1aa)][_0x2a8480(0x19d)],_0x56cce6=>{const _0x5972d4=_0x2a8480,_0x2426c={'viRzL':function(_0xda13bf){const _0xc091ea=a1_0x8953;return _0x165ce6[_0xc091ea(0x160)](_0xda13bf);},'MnAgR':function(_0x125a07,_0x5b25c5){const _0x21ead5=a1_0x8953;return _0x165ce6[_0x21ead5(0x1a6)](_0x125a07,_0x5b25c5);},'ZOgNQ':function(_0x163524,_0x8b301,_0x2012e2){const _0x3f031e=a1_0x8953;return _0x165ce6[_0x3f031e(0x199)](_0x163524,_0x8b301,_0x2012e2);},'BFZid':function(_0x25b91e,_0x2c266b){const _0x5efd3c=a1_0x8953;return _0x165ce6[_0x5efd3c(0x1a6)](_0x25b91e,_0x2c266b);}};try{const _0x503855=_0x54872e[_0x5972d4(0x150)](TEST_EVENTS[_0x5972d4(0x1b5)],_0x56cce6);CodeceptRecorder[_0x5972d4(0x174)](()=>_0x54872e[_0x5972d4(0x157)](TEST_EVENTS[_0x5972d4(0x1b5)],_0x503855)),CodeceptRecorder['add'](async()=>{const _0x321952=_0x5972d4;_0x2426c['viRzL'](isBrowserstackInfra)&&(!_0x2426c[_0x321952(0x178)](isTrue,_0x302340[_0x321952(0x1b7)])&&await _0x2426c[_0x321952(0x16c)](markSessionName,_0x24f67d,_0x56cce6[_0x321952(0x1cc)]),_0x54872e[_0x321952(0x155)]&&await _0x2426c['BFZid'](o11ySync,_0x24f67d));});}catch(_0x575717){PerformanceTester[_0x5972d4(0x1db)](_0x575717);}}),CodeceptJS[_0x2a8480(0x161)]['dispatcher']['on'](CodeceptJS[_0x2a8480(0x161)]['test'][_0x2a8480(0x1cf)],_0x3deeba=>{const _0x209f5e=_0x2a8480;try{const _0x2ae39a=_0x54872e['captureEvent'](TEST_EVENTS[_0x209f5e(0x1d4)],_0x3deeba);CodeceptRecorder[_0x209f5e(0x174)](()=>_0x54872e[_0x209f5e(0x157)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2ae39a)),CodeceptRecorder[_0x209f5e(0x174)](async()=>{const _0x2776fd=_0x209f5e;_0x165ce6[_0x2776fd(0x160)](isBrowserstackInfra)&&(_0x525887?await _0x165ce6[_0x2776fd(0x18b)](playwrightMarkSessionStatus,_0x24f67d,STATE_PASSED):await _0x165ce6[_0x2776fd(0x194)](markSessionStatus,_0x24f67d,STATE_PASSED));});}catch(_0x4fbfd7){PerformanceTester[_0x209f5e(0x1db)](_0x4fbfd7);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x1aa)][_0x2a8480(0x1b6)],(_0x25386a,_0xd2ae1d)=>{const _0x4fbabb=_0x2a8480;try{if(_0x165ce6['NTZnF'](_0x25386a['constructor']['name'],_0x165ce6[_0x4fbabb(0x1dc)])){const _0xa301d1=_0x54872e[_0x4fbabb(0x150)](TEST_EVENTS[_0x4fbabb(0x168)],_0x25386a[_0x4fbabb(0x14f)]['currentTest']);CodeceptRecorder[_0x4fbabb(0x174)](()=>_0x54872e['fireEvent'](TEST_EVENTS[_0x4fbabb(0x168)],_0xa301d1));}else{const _0x138f60=_0x54872e['captureEvent'](TEST_EVENTS[_0x4fbabb(0x1d4)],_0x25386a,_0xd2ae1d);CodeceptRecorder[_0x4fbabb(0x174)](()=>{const _0x121ea9=_0x4fbabb;try{_0x54872e[_0x121ea9(0x157)](TEST_EVENTS[_0x121ea9(0x1d4)],_0x138f60);}catch(_0x2ae965){logger['debug'](_0x121ea9(0x1d2)+util[_0x121ea9(0x1bd)](_0x2ae965));}}),CodeceptRecorder[_0x4fbabb(0x174)](async()=>{const _0x5d0725=_0x4fbabb;try{_0x165ce6['etVob'](isBrowserstackInfra)&&(_0x525887?await _0x165ce6[_0x5d0725(0x146)](playwrightMarkSessionStatus,_0x24f67d,STATE_FAILED,_0xd2ae1d):await _0x165ce6[_0x5d0725(0x146)](markSessionStatus,_0x24f67d,STATE_FAILED,_0xd2ae1d));}catch(_0xad726d){logger[_0x5d0725(0x1d0)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x5d0725(0x1bd)](_0xad726d));}});}}catch(_0x2ceb51){PerformanceTester['captureError'](_0x2ceb51);}}),CodeceptJS[_0x2a8480(0x161)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x2a8480(0x1bf)],_0x38b247=>{const _0x4f548b=_0x2a8480;try{const _0x219a03=_0x54872e[_0x4f548b(0x150)](TEST_EVENTS[_0x4f548b(0x168)],_0x38b247);CodeceptRecorder[_0x4f548b(0x174)](()=>_0x54872e['fireEvent'](TEST_EVENTS[_0x4f548b(0x168)],_0x219a03));}catch(_0x3bc1a7){PerformanceTester[_0x4f548b(0x1db)](_0x3bc1a7);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)]['test'][_0x2a8480(0x17b)],async(_0x5c183a,_0x56e349)=>{const _0x32ac4c=_0x2a8480;try{if(_0x165ce6['etVob'](isBrowserstackInfra)){const _0x5ef0cc=_0x165ce6[_0x32ac4c(0x18b)](shouldScanTestForAccessibility,_0x5c183a[_0x32ac4c(0x16a)](),!![]);if(_0x165ce6['etVob'](isAccessibilityAutomationSession)&&global[_0x32ac4c(0x19e)]&&_0x5ef0cc){const _0x1bc6cd={};_0x1bc6cd[_0x32ac4c(0x148)]=_0x5c183a[_0x32ac4c(0x1d3)],_0x1bc6cd[_0x32ac4c(0x15b)]=process[_0x32ac4c(0x19b)][testHubConstants[_0x32ac4c(0x1c5)]['BROWSERSTACK_TESTHUB_UUID']],_0x1bc6cd[_0x32ac4c(0x177)]=process[_0x32ac4c(0x19b)][testHubConstants[_0x32ac4c(0x1c5)][_0x32ac4c(0x18a)]];const _0xd167f5=_0x1bc6cd;logger[_0x32ac4c(0x1d0)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x32ac4c(0x15e)](_0xd167f5)),CodeceptRecorder[_0x32ac4c(0x174)](async()=>{const _0x2e8ae8=_0x32ac4c;await AccessibilityHelper[_0x2e8ae8(0x1b9)](_0x24f67d,scripts['performScan']),await AccessibilityHelper[_0x2e8ae8(0x1b9)](_0x24f67d,scripts[_0x2e8ae8(0x1be)],_0xd167f5);}),logger[_0x32ac4c(0x180)](_0x165ce6[_0x32ac4c(0x1d9)]);}}}catch(_0x4b6127){PerformanceTester[_0x32ac4c(0x1db)](_0x4b6127);}}),CodeceptJS['event'][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x1b2)]['comment'],_0x149acf=>{const _0x35ee7c=_0x2a8480;try{process['emit'](_0x35ee7c(0x1a8)+process[_0x35ee7c(0x152)],{'timestamp':new Date()[_0x35ee7c(0x1af)](),'level':_0x165ce6[_0x35ee7c(0x19a)],'message':_0x149acf,'kind':_0x165ce6['rBiYW'],'http_response':{}});}catch(_0x10bd7d){PerformanceTester[_0x35ee7c(0x1db)](_0x10bd7d);}}),CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x172)]['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x165)][_0x2a8480(0x1d1)],_0x3511c0=>{_0x54872e['bddStepStart'](_0x3511c0);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2a8480(0x161)][_0x2a8480(0x165)][_0x2a8480(0x17b)],_0x485fbf=>{_0x54872e['bddStepFinish'](_0x485fbf);});};
|
|
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x4faa(_0x47d2b5,_0x55c179){const _0x43be63=a2_0x43be();return a2_0x4faa=function(_0x4faa1f,_0x199c03){_0x4faa1f=_0x4faa1f-0xab;let _0x1e7c8c=_0x43be63[_0x4faa1f];return _0x1e7c8c;},a2_0x4faa(_0x47d2b5,_0x55c179);}const a2_0x38016f=a2_0x4faa;(function(_0x262932,_0x251c6d){const _0x484ac7=a2_0x4faa,_0x682d88=_0x262932();while(!![]){try{const _0xa62a99=-parseInt(_0x484ac7(0x12d))/0x1+-parseInt(_0x484ac7(0xc9))/0x2*(parseInt(_0x484ac7(0x132))/0x3)+-parseInt(_0x484ac7(0x119))/0x4*(-parseInt(_0x484ac7(0xdb))/0x5)+parseInt(_0x484ac7(0x111))/0x6*(-parseInt(_0x484ac7(0x11d))/0x7)+parseInt(_0x484ac7(0xbc))/0x8+parseInt(_0x484ac7(0x112))/0x9+parseInt(_0x484ac7(0xfd))/0xa;if(_0xa62a99===_0x251c6d)break;else _0x682d88['push'](_0x682d88['shift']());}catch(_0x1bb3db){_0x682d88['push'](_0x682d88['shift']());}}}(a2_0x43be,0xb85e0));const fs=require('fs'),path=require('path'),util=require(a2_0x38016f(0x101)),process=require(a2_0x38016f(0xe9)),logger=require(a2_0x38016f(0xd4))[a2_0x38016f(0xcf)],{default:BrowserStackSetup}=require(a2_0x38016f(0xc8)),helper=require(a2_0x38016f(0x116)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x38016f(0xf0)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x38016f(0x116)),CodeceptJS=requireModule(a2_0x38016f(0x134)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x38016f(0xcb)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2d810b,_0x32e0cd)=>{const _0x5941bb=a2_0x38016f,_0x156fc5={};_0x156fc5['zucIg']=function(_0x38fd8b,_0x54cbb5){return _0x38fd8b===_0x54cbb5;},_0x156fc5[_0x5941bb(0x121)]=_0x5941bb(0xd1),_0x156fc5[_0x5941bb(0x12c)]=_0x5941bb(0xe5);const _0x29e34a=_0x156fc5;let _0x56b8fe=null;const _0x2f89c9={};let _0x32afe0=_0x32e0cd[_0x5941bb(0xf5)](_0x44eda5=>_0x44eda5===_0x5941bb(0x11a));_0x29e34a[_0x5941bb(0x12f)](_0x32afe0,-0x1)&&(_0x32afe0=_0x32e0cd[_0x5941bb(0xf5)](_0x189700=>_0x189700==='-c'));if(!helper[_0x5941bb(0xbd)](_0x2d810b[_0x5941bb(0xb7)])&&fs['existsSync'](path[_0x5941bb(0xe7)](process[_0x5941bb(0xf1)](),_0x2d810b[_0x5941bb(0xb7)])))_0x56b8fe=path['join'](process['cwd'](),_0x2d810b[_0x5941bb(0xb7)]),_0x32e0cd[_0x5941bb(0xf7)](_0x32afe0,0x2);else{if(!helper[_0x5941bb(0xbd)](_0x2d810b['c'])&&fs[_0x5941bb(0xc0)](path[_0x5941bb(0xe7)](process[_0x5941bb(0xf1)](),_0x2d810b['c'])))_0x56b8fe=path[_0x5941bb(0xe7)](process['cwd'](),_0x2d810b['c']),_0x32e0cd[_0x5941bb(0xf7)](_0x32afe0,0x2);else{if(fs[_0x5941bb(0xc0)](path['join'](process[_0x5941bb(0xf1)](),_0x29e34a[_0x5941bb(0x121)])))_0x56b8fe=path['join'](process[_0x5941bb(0xf1)](),_0x29e34a['fZVTq']);else fs[_0x5941bb(0xc0)](path[_0x5941bb(0xe7)](process[_0x5941bb(0xf1)](),_0x29e34a[_0x5941bb(0x12c)]))&&(_0x56b8fe=path[_0x5941bb(0xe7)](process[_0x5941bb(0xf1)](),_0x29e34a['EHaKC']));}}return _0x56b8fe;},getO11yRerunPattern=()=>{const _0x272a99=a2_0x38016f,_0x4349b7={};_0x4349b7[_0x272a99(0xd8)]=function(_0x383c94,_0x25be2f){return _0x383c94!==_0x25be2f;},_0x4349b7[_0x272a99(0xae)]=_0x272a99(0xee);const _0x3eaf92=_0x4349b7,_0x41f80d=helper[_0x272a99(0xc2)](process[_0x272a99(0x122)][_0x272a99(0xf8)]);if(_0x41f80d){const _0x188786=process[_0x272a99(0x122)][_0x272a99(0x103)],_0x46a152=[];if(_0x3eaf92['uOWBu'](_0x188786,_0x3eaf92[_0x272a99(0xae)])&&!helper[_0x272a99(0xbd)](_0x188786)){_0x188786[_0x272a99(0x108)](',')[_0x272a99(0x10c)](_0x1bb22f=>{_0x46a152['push']('('+_0x1bb22f['trim']()+')');});const _0x469467='^'+_0x46a152[_0x272a99(0xe7)]('|')+'$';return _0x469467;}}return null;},a2_0x289ff2={};a2_0x289ff2[a2_0x38016f(0x12e)]='chromium',a2_0x289ff2[a2_0x38016f(0xf9)]=a2_0x38016f(0xad),a2_0x289ff2[a2_0x38016f(0x131)]=a2_0x38016f(0x118),a2_0x289ff2['playwright-webkit']=a2_0x38016f(0xb8);const pwToCodeceptBrowser=a2_0x289ff2;function a2_0x43be(){const _0x2b2661=['validPlatformsPresent','../../helpers/accessibility-automation/helper','cwd','ItirP','wXokV','Workers','findIndex','MUgIw','slice','BROWSERSTACK_RERUN','playwright-chromium','prepareCapabilities','zaVyZ','forEach','2507310dowVhU','getUserWorkerCount','debug','testConfig','util','isTestObservabilitySession','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','printResults','testContextOptions','WLyza','split','finalExecution','plugins','Playwright','map','event','getPlatformName','cMprI','profile','685092hbODoA','3082095yUdtyB','desiredCapabilities','mergeDeep','WiTuq','../../helpers/helper','KFpiL','firefox','52hZIUrh','--config','helpers','test','56OgseTy','chdir','printBuildLink','browserName','fZVTq','env','getPlaywrightUrl','title','false','browserWSEndpoint','skipSessionStatus','errorMessage','addConfig','MNbIu','toLowerCase','EHaKC','585824ttlkpw','chrome','zucIg','-cucumber','playwright-firefox','68529mOkHJp','all','codeceptjs/lib/index.js','parallelsPerPlatform','platforms','testObservability','CODECEPT','chromium','AGwNX','enabled','push','omsHi','codeceptjs','exports','browserStackCwd','failed','log','config','webkit','dirname','ySjYh','VWbDr','9689984mFsAMa','isUndefined','browser','info','existsSync','Gotbf','isTrue','XVYqh','VXMqx','launchBuild','stringify','before','../../helpers/BrowserStackSetup','20uEvpIW','stack','../utils/constants','initialize','run','4|2|1|3|0','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','codecept.conf.js','accessibility','handleApp','../../helpers/logger','cqItE','spawn','gherkin','uOWBu','KlDje','frameworkName','260940pEhdVO','NuTnE','Passed\x20:\x20','length','BrowserStackPlugin.js','iVkxZ','root','addTests','skipSessionName','createGroupsOfSuites','codecept.json','format','join','DsGzq','process','FRAMEWORKS','bootstrapAll','SRGtx','ZrwLO','null'];a2_0x43be=function(){return _0x2b2661;};return a2_0x43be();}async function run(_0x3e2be0,_0x27d435){const _0x506960=a2_0x38016f,_0x50ff61={'TRYlZ':function(_0x2417a0,_0x1f792c){return _0x2417a0+_0x1f792c;},'PUUNo':function(_0x244a7a,_0x5aa3a4){return _0x244a7a(_0x5aa3a4);},'XVYqh':function(_0x58c4b9,_0x655d46,_0x4cb11d){return _0x58c4b9(_0x655d46,_0x4cb11d);},'KlDje':_0x506960(0xb7),'KFpiL':_0x506960(0x11b),'ItirP':function(_0x53f291){return _0x53f291();},'wXokV':function(_0x166aef){return _0x166aef();},'oCcwE':'Failed\x20:\x20','dbiEM':_0x506960(0xdd),'SRGtx':'Started\x20:\x20','ZrwLO':_0x506960(0xce),'WiTuq':_0x506960(0xb2),'iVkxZ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MUgIw':function(_0x1c8a7e,_0x47dd1c,_0x325f23){return _0x1c8a7e(_0x47dd1c,_0x325f23);},'zaVyZ':_0x506960(0x10b),'liQfk':'WebDriver','pGaEm':function(_0x58bd4c,_0x223b8a){return _0x58bd4c(_0x223b8a);},'MNbIu':function(_0x49893f,_0xdace3){return _0x49893f!=_0xdace3;},'Gotbf':_0x506960(0x125),'WLyza':function(_0x2e1502,_0x2350fc,_0x209f2a){return _0x2e1502(_0x2350fc,_0x209f2a);},'cqItE':_0x506960(0xd7),'DsGzq':_0x506960(0x130),'VWbDr':function(_0x59f3b9,_0x30be03){return _0x59f3b9(_0x30be03);},'ySjYh':function(_0x84af65,_0x300de5){return _0x84af65*_0x300de5;},'ldUqh':_0x506960(0xbe),'NuTnE':function(_0x35e2c0,_0x5a7c0c,_0x235612){return _0x35e2c0(_0x5a7c0c,_0x235612);},'VXMqx':_0x506960(0x113),'hjaJz':function(_0x19aa09,_0x17327d,_0x2817e7){return _0x19aa09(_0x17327d,_0x2817e7);},'cMprI':_0x506960(0xe1),'UxtBN':_0x506960(0xdf),'omsHi':_0x506960(0xb4)},_0xf81c85=new BrowserStackSetup(_0x3e2be0,_0x50ff61[_0x506960(0x115)]);await _0xf81c85[_0x506960(0xcc)](),await helper[_0x506960(0xd3)](_0xf81c85[_0x506960(0xb7)]);if(!_0xf81c85[_0x506960(0xb7)])return;process['profile']=_0x3e2be0[_0x506960(0x110)];_0x3e2be0['profile']&&(process[_0x506960(0x122)][_0x506960(0x110)]=_0x3e2be0[_0x506960(0x110)]);const _0x353688=_0x50ff61[_0x506960(0xc3)](getUserCodeceptJSConfigs,_0x3e2be0,_0x27d435);let _0x3bdf8f={};_0x353688?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x353688),_0x3bdf8f=_0x50ff61['PUUNo'](require,_0x353688)):logger[_0x506960(0xbf)](_0x50ff61[_0x506960(0xe0)]);let _0x196ef8=![];_0x50ff61[_0x506960(0xf6)](nestedKeyValue,_0x3bdf8f,[_0x50ff61[_0x506960(0xd9)],_0x50ff61[_0x506960(0x117)],_0x50ff61[_0x506960(0xfb)]])&&(_0x196ef8=!![]);const _0x4221aa=_0x196ef8?_0x50ff61[_0x506960(0xfb)]:_0x50ff61['liQfk'];let _0x490627=!_0x196ef8?helper['useW3C'](_0xf81c85['config']):![];!helper[_0x506960(0xbd)](_0xf81c85[_0x506960(0xb7)]['accessibilityOptions'])&&(process[_0x506960(0x122)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x506960(0xc6)](_0xf81c85[_0x506960(0xb7)]['accessibilityOptions']));let _0x35d8e9=_0xf81c85['config'][_0x506960(0xd2)];_0x35d8e9=_0x35d8e9||_0x50ff61['pGaEm'](checkAccessibilityPlatformConfig,_0xf81c85[_0x506960(0xb7)]),process[_0x506960(0x122)][_0x506960(0xd0)]=_0x35d8e9;_0x35d8e9&&(_0x490627=!_0x35d8e9);_0x50ff61[_0x506960(0x12a)](_0xf81c85[_0x506960(0xb7)][_0x506960(0xab)],null)?process[_0x506960(0x122)][_0x506960(0x104)]=_0xf81c85['config'][_0x506960(0xab)]:process[_0x506960(0x122)][_0x506960(0x104)]=_0x50ff61[_0x506960(0xc1)];const _0x27eef6=_0x50ff61['TRYlZ'](_0x50ff61[_0x506960(0x115)],_0x50ff61[_0x506960(0x107)](nestedKeyValue,_0x3bdf8f,[_0x50ff61['KlDje'],_0x50ff61[_0x506960(0xd5)]])?_0x50ff61[_0x506960(0xe8)]:''),_0x17ab10=await TestHubHandler[_0x506960(0xc5)](_0x27eef6,_0xf81c85);_0x35d8e9&&_0x50ff61[_0x506960(0xbb)](setAccessibilityCapabilities,_0xf81c85[_0x506960(0xb7)]);const _0x115a7c={},_0x4739e9=[],_0xe17df9=_0xf81c85[_0x506960(0xb7)][_0x506960(0x135)]||helper[_0x506960(0xfe)](_0x3e2be0,_0x27d435,_0xf81c85[_0x506960(0xb7)],constants[_0x506960(0xea)][_0x506960(0xac)])||0x1;let _0x183f7d=0x1;if(_0x50ff61[_0x506960(0xf2)](isBrowserstackInfra)){const _0x5a8171=helper[_0x506960(0xfa)](_0xf81c85['config'],_0x490627,constants['FRAMEWORKS'][_0x506960(0xac)]);helper[_0x506960(0xef)](_0xf81c85[_0x506960(0xb7)])?_0x183f7d=_0x50ff61[_0x506960(0xba)](_0xe17df9,_0xf81c85[_0x506960(0xb7)][_0x506960(0x136)][_0x506960(0xde)]):_0x183f7d=_0xe17df9,_0x5a8171[_0x506960(0xfc)](_0x4b3f65=>{const _0x42a427=_0x506960,_0xec75f=_0x50ff61['TRYlZ'](helper[_0x42a427(0x10e)](_0x4b3f65,'_'),'_'+Date['now']()),_0x358728=((()=>{const _0x44edcc=_0x42a427;if(_0x196ef8){const _0x411c63=pwToCodeceptBrowser[_0x4b3f65['browserName']]||_0x4b3f65[_0x44edcc(0x120)];return{'browser':_0x411c63,[_0x411c63]:{'browserWSEndpoint':_0x50ff61['TRYlZ'](helper[_0x44edcc(0x123)](_0xf81c85[_0x44edcc(0xb7)]),_0x50ff61['PUUNo'](encodeURIComponent,JSON['stringify'](_0x4b3f65)))}};}const _0x2dee53={};return _0x2dee53[_0x44edcc(0x113)]=_0x4b3f65,_0x2dee53;})()),_0x24dc04=_0x50ff61[_0x42a427(0xc3)](nestedKeyValue,_0x3bdf8f,[_0x50ff61[_0x42a427(0xd9)],_0x50ff61[_0x42a427(0x117)],_0x4221aa]);_0x115a7c[_0xec75f]=_0x24dc04?helper[_0x42a427(0x114)](_0x358728,_0x24dc04):_0x358728,!_0x196ef8&&(_0x115a7c[_0xec75f][_0x42a427(0xbe)]=_0x4b3f65[_0x42a427(0x120)]||_0x358728[_0x42a427(0xbe)]),_0x4739e9[_0x42a427(0xb0)](_0xec75f);});}else{_0x183f7d=0x1;if(_0x196ef8){const _0x3d0278=_0x50ff61[_0x506960(0x107)](nestedKeyValue,_0x3bdf8f,[_0x50ff61['KlDje'],_0x50ff61['KFpiL'],_0x4221aa,_0x50ff61['ldUqh']]),_0x302555=_0x50ff61[_0x506960(0xdc)](nestedKeyValue,_0x3bdf8f,[_0x50ff61[_0x506960(0xd9)],_0x50ff61[_0x506960(0x117)],_0x4221aa,_0x3d0278]);_0x302555&&_0x302555[_0x506960(0x126)]&&(_0x302555[_0x506960(0x126)]=helper[_0x506960(0xfa)](null,null,_0x27eef6[_0x506960(0x12b)](),null,null,_0x302555[_0x506960(0x126)]));}else _0x3bdf8f[_0x506960(0xb7)][_0x50ff61[_0x506960(0x117)]][_0x4221aa][_0x50ff61['VXMqx']]=helper[_0x506960(0xfa)](null,null,_0x27eef6[_0x506960(0x12b)](),_0x50ff61['hjaJz'](nestedKeyValue,_0x3bdf8f,[_0x50ff61[_0x506960(0xd9)],_0x50ff61['KFpiL'],_0x4221aa,_0x50ff61[_0x506960(0xc4)]]),null,null);_0x115a7c[_0x50ff61['cMprI']]=_0x3bdf8f[_0x506960(0xb7)],_0x4739e9['push'](_0x50ff61[_0x506960(0x10f)]);}const _0x1ffd73={};_0x1ffd73[_0x506960(0x100)]=_0x353688;const _0x96c8f0=_0x1ffd73,_0x487e49=path[_0x506960(0xe7)](__dirname,_0x50ff61['UxtBN']),_0x55d51e=process[_0x506960(0xf1)]();process['env'][_0x50ff61[_0x506960(0xb1)]]=_0x55d51e,process[_0x506960(0x11e)](path[_0x506960(0xb9)](_0x353688));const _0x35c00c=new CodeceptJS[(_0x506960(0xf4))](null,_0x96c8f0),_0x38cd22=_0x35c00c[_0x506960(0xe4)](_0x183f7d),_0x4629f6=testOpsHelper[_0x506960(0x102)](),_0x107440=_0x4739e9['map'](_0x33d948=>{const _0x36294d=_0x506960,_0x279fd4={};_0x279fd4[_0x36294d(0x10b)]=_0x115a7c[_0x33d948];const _0x3a35ad={};_0x3a35ad['WebDriver']=_0x115a7c[_0x33d948];const _0x1336b6=_0x196ef8?_0x279fd4:_0x3a35ad,_0x43088e=_0x50ff61[_0x36294d(0xf2)](getO11yRerunPattern),_0x57eb83={};_0x57eb83['helpers']=_0x1336b6;const _0x110578={};_0x110578['require']=_0x487e49,_0x110578[_0x36294d(0xaf)]=!![],_0x110578[_0x36294d(0xe3)]=_0xf81c85[_0x36294d(0xb7)][_0x36294d(0x106)]['skipSessionName'],_0x110578[_0x36294d(0x127)]=_0xf81c85[_0x36294d(0xb7)][_0x36294d(0x106)]['skipSessionStatus'],_0x110578[_0x36294d(0xab)]=_0x4629f6,_0x110578[_0x36294d(0xda)]=_0x27eef6;const _0x2d337b={};_0x2d337b['BrowserStackPlugin']=_0x110578;const _0xc9706={};return _0xc9706[_0x36294d(0x10a)]=_0x2d337b,helper['mergeDeep']({},_0x3bdf8f[_0x36294d(0xb7)],_0x50ff61['wXokV'](isBrowserstackInfra)?_0x57eb83:{},_0x43088e?{'grep':_0x43088e}:{},_0xc9706);});for(const _0x4e97d4 of _0x107440){for(const _0x13e2e1 of _0x38cd22){const _0x1e6c0d=_0x35c00c[_0x506960(0xd6)]();_0x1e6c0d[_0x506960(0xe2)](_0x13e2e1),_0x1e6c0d[_0x506960(0x129)](_0x4e97d4);}}_0x35c00c['on'](CodeceptJS[_0x506960(0x10d)]['test'][_0x506960(0xb5)],(_0x442bbd,_0x4277c5)=>{const _0x2dfdab=_0x506960;console[_0x2dfdab(0xb6)](_0x50ff61['oCcwE'],_0x442bbd[_0x2dfdab(0x124)]);const _0x549499={[_0x442bbd['title']]:_0x442bbd['err'][_0x2dfdab(0xca)]};_testErrorData[_0x2dfdab(0xb0)](_0x549499);}),_0x35c00c['on'](CodeceptJS[_0x506960(0x10d)][_0x506960(0x11c)]['passed'],async _0x676953=>{const _0x40c833=_0x506960;console[_0x40c833(0xb6)](_0x50ff61['dbiEM'],_0x676953['title']);}),_0x35c00c['on'](CodeceptJS[_0x506960(0x10d)]['test'][_0x506960(0xc7)],async _0x2b276e=>{const _0x558a90=_0x506960;console['log'](_0x50ff61[_0x558a90(0xec)],_0x2b276e[_0x558a90(0x124)]);}),_0x35c00c['on'](CodeceptJS['event'][_0x506960(0x133)]['result'],async()=>{const _0x1f15a1=_0x506960,_0xda94ef=_0x50ff61[_0x1f15a1(0xed)][_0x1f15a1(0x108)]('|');let _0x13f110=0x0;while(!![]){switch(_0xda94ef[_0x13f110++]){case'0':_0x35c00c[_0x1f15a1(0x105)]();continue;case'1':utilities[_0x1f15a1(0x109)](_0xf81c85);continue;case'2':testOpsHelper[_0x1f15a1(0x11f)]();continue;case'3':try{await TestHubHandler['stop']();}catch(_0x3d4b69){logger[_0x1f15a1(0xff)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1f15a1(0xe6)](_0x3d4b69));}continue;case'4':_0xf81c85[_0x1f15a1(0x128)]=_testErrorData;continue;}break;}});async function _0x1a6bdf(){const _0x3b539c=_0x506960;try{await _0x35c00c[_0x3b539c(0xeb)](),await _0x35c00c[_0x3b539c(0xcd)]();}finally{process[_0x3b539c(0x11e)](_0x55d51e),await _0x35c00c['teardownAll']();}}_0x50ff61[_0x506960(0xf3)](_0x1a6bdf);}module[a2_0x38016f(0xb3)]=run;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x44b54a=a3_0x4a5d;function a3_0x4a5d(_0x3f6c37,_0x370dab){const _0xda04af=a3_0xda04();return a3_0x4a5d=function(_0x4a5d9c,_0x357bbc){_0x4a5d9c=_0x4a5d9c-0x1d6;let _0x507ca0=_0xda04af[_0x4a5d9c];return _0x507ca0;},a3_0x4a5d(_0x3f6c37,_0x370dab);}function a3_0xda04(){const _0x59fd4a=['9380898gYSxev','nNinR','YzaMS','chrome','shouldPatchExecuteScript','HhGuO','eLBPH','app','winstonLogger','51582yCqwxq','browserstack','EFVRk','__cloud_provider___','SSxgz','browserName','1436132DpVcSy','automate','config','browserVersion','grfjt','ffroQ','sKqXw','../../helpers/logger','5473332rLXNey','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','DFZnG','eAOvh','browserstack_executor','caps','YIcNS','app-automate','dEPLy','ZKUpL','warn','constructor','platform','platformName','wCLKt','qQkXZ','68393ZAxpoy','DPLzd','processWebDriverConfig','../../helpers/helper','../../bin/playwright/sessionDetails','OfUzM','105JVmqOC','LBzHB','capabilities','iYihW','xxCYV','gKBGe','get','BpVyq','Ayaaw','os_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OdEIZ','5NFkRtZ','latest','qiLdQ','NYreF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Vdjqg','browser_version','8phAnVY','bstack:options','fetchPlatformDetails','QyHNE','browser','cloudProvider','osVersion','unknown_grid','name','WxWoO','80WovTeO','getDetails','includes','kdyoV','1353011AMFhIh','platformVersion','58198xSyHpn','accessibilityPlatform','Playwright','sessionId','721AJWjFb','Dvasl','playwright-chromium','WebDriver'];a3_0xda04=function(){return _0x59fd4a;};return a3_0xda04();}(function(_0x566109,_0xa0d1e8){const _0x4012a9=a3_0x4a5d,_0x5b1a80=_0x566109();while(!![]){try{const _0x512733=-parseInt(_0x4012a9(0x1f8))/0x1+-parseInt(_0x4012a9(0x221))/0x2*(-parseInt(_0x4012a9(0x1fe))/0x3)+-parseInt(_0x4012a9(0x1e0))/0x4*(-parseInt(_0x4012a9(0x20a))/0x5)+-parseInt(_0x4012a9(0x1da))/0x6*(-parseInt(_0x4012a9(0x225))/0x7)+parseInt(_0x4012a9(0x211))/0x8*(-parseInt(_0x4012a9(0x229))/0x9)+-parseInt(_0x4012a9(0x21b))/0xa*(parseInt(_0x4012a9(0x21f))/0xb)+parseInt(_0x4012a9(0x1e8))/0xc;if(_0x512733===_0xa0d1e8)break;else _0x5b1a80['push'](_0x5b1a80['shift']());}catch(_0x254380){_0x5b1a80['push'](_0x5b1a80['shift']());}}}(a3_0xda04,0x986f9));const {isUndefined,nestedKeyValue}=require(a3_0x44b54a(0x1fb)),logger=require(a3_0x44b54a(0x1e7))[a3_0x44b54a(0x1d9)],PlaywrightSessionDetails=require(a3_0x44b54a(0x1fc)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),getOSVersionFromCaps=_0x321a41=>{const _0xc3ea21=a3_0x44b54a,_0x2ca3d2={};_0x2ca3d2[_0xc3ea21(0x21e)]=_0xc3ea21(0x212),_0x2ca3d2['XOtCT']='platformVersion',_0x2ca3d2['DFZnG']='platform_version',_0x2ca3d2['xxCYV']=_0xc3ea21(0x217),_0x2ca3d2[_0xc3ea21(0x201)]=_0xc3ea21(0x207);const _0x42eea1=_0x2ca3d2;if(!_0x321a41)return null;const _0x331e3b=_0x321a41[_0x42eea1[_0xc3ea21(0x21e)]],_0x1b1960=[_0x42eea1['XOtCT'],_0x42eea1[_0xc3ea21(0x1ea)],_0x42eea1[_0xc3ea21(0x202)],_0x42eea1[_0xc3ea21(0x201)]];for(const _0x15ca40 of _0x1b1960){if(_0x331e3b&&_0x331e3b[_0x15ca40])return _0x331e3b[_0x15ca40];else{if(_0x321a41[_0x15ca40])return _0x321a41[_0x15ca40];}}return null;};exports[a3_0x44b54a(0x213)]=_0x2b08c0=>{const _0x5379f1=a3_0x44b54a,_0x457825={'wCLKt':_0x5379f1(0x218),'eAOvh':function(_0xeb6dfe,_0x32ae00){return _0xeb6dfe===_0x32ae00;},'LBzHB':_0x5379f1(0x228),'HhGuO':function(_0xe07a1c,_0x325a4e){return _0xe07a1c(_0x325a4e);},'Ayaaw':function(_0x2ad56d,_0x52556b,_0x935eb5){return _0x2ad56d(_0x52556b,_0x935eb5);},'qiLdQ':_0x5379f1(0x1e2),'qQkXZ':'desiredCapabilities','nNinR':_0x5379f1(0x1db),'gKBGe':'appium:app','ffroQ':_0x5379f1(0x1d8),'SSxgz':_0x5379f1(0x1ef),'OdEIZ':_0x5379f1(0x1e1),'EFVRk':_0x5379f1(0x223),'eLBPH':_0x5379f1(0x215),'DrYow':'browserWSEndpoint','OfUzM':_0x5379f1(0x1ed),'YzaMS':function(_0x27534e,_0x9a9f5f){return _0x27534e===_0x9a9f5f;}};if(!_0x2b08c0)return null;let _0x4d6327=global['__cloud_provider___']||_0x457825[_0x5379f1(0x1f6)];if(_0x457825[_0x5379f1(0x1eb)](_0x2b08c0[_0x5379f1(0x1f3)][_0x5379f1(0x219)],_0x457825[_0x5379f1(0x1ff)])){const _0x3d4568=_0x2b08c0[_0x5379f1(0x215)];if(!_0x3d4568)return null;const _0x4211ba=_0x3d4568[_0x5379f1(0x200)],_0x1a18c7=_0x457825[_0x5379f1(0x1d6)](getOSVersionFromCaps,_0x457825['Ayaaw'](nestedKeyValue,_0x2b08c0,[_0x457825[_0x5379f1(0x20c)],_0x457825[_0x5379f1(0x1f7)]]));return{[_0x4d6327]:{'browser':_0x4211ba[_0x5379f1(0x1df)],'browser_version':_0x4211ba['browserVersion'],'capabilities':_0x4211ba,'platform':_0x4211ba[_0x5379f1(0x1f5)],'platform_version':_0x4211ba[_0x5379f1(0x220)]||_0x1a18c7,'product':_0x457825[_0x5379f1(0x1eb)](global[_0x5379f1(0x1dd)],_0x457825['nNinR'])?_0x4211ba[_0x457825['gKBGe']]||_0x4211ba[_0x457825[_0x5379f1(0x1e5)]]?_0x457825[_0x5379f1(0x1de)]:_0x457825[_0x5379f1(0x209)]:null,'session_id':_0x3d4568[_0x5379f1(0x224)]}};}else{if(_0x457825[_0x5379f1(0x1eb)](_0x2b08c0[_0x5379f1(0x1f3)][_0x5379f1(0x219)],_0x457825[_0x5379f1(0x1dc)])){const _0x56e821=PlaywrightSessionDetails[_0x5379f1(0x21c)]();_0x4d6327=_0x56e821[_0x5379f1(0x216)]||_0x4d6327;const _0x134a5e=_0x457825[_0x5379f1(0x206)](nestedKeyValue,_0x2b08c0,[_0x457825[_0x5379f1(0x20c)],_0x457825[_0x5379f1(0x1d7)],_0x457825['DrYow']]),_0x2068ab=_0x134a5e?JSON['parse'](new URL(_0x134a5e)['searchParams'][_0x5379f1(0x204)](_0x457825[_0x5379f1(0x1fd)])):{};return{[_0x4d6327]:{'browser':_0x56e821[_0x5379f1(0x215)]||_0x2068ab[_0x5379f1(0x1df)],'browser_version':_0x56e821[_0x5379f1(0x210)]||_0x2068ab[_0x5379f1(0x210)],'capabilities':_0x2068ab,'platform':_0x56e821[_0x5379f1(0x1f4)],'platform_version':_0x56e821['platform_version'],'product':_0x457825[_0x5379f1(0x22b)](global[_0x5379f1(0x1dd)],_0x457825[_0x5379f1(0x22a)])?_0x2068ab[_0x457825[_0x5379f1(0x203)]]||_0x2068ab[_0x457825['ffroQ']]?_0x457825[_0x5379f1(0x1de)]:_0x457825[_0x5379f1(0x209)]:null,'session_id':_0x56e821['bsSessionId']}};}}},exports[a3_0x44b54a(0x1fa)]=_0x213f0c=>{const _0x1d0e47=a3_0x44b54a,_0x3e8f49={'dEPLy':function(_0x56e2da){return _0x56e2da();},'NYreF':function(_0x318d9b,_0x32e383){return _0x318d9b===_0x32e383;},'DPLzd':_0x1d0e47(0x20b),'qEUFQ':function(_0x6cb4b4,_0x998d6b){return _0x6cb4b4>_0x998d6b;},'Dvasl':function(_0x2078db,_0xf7dc0b){return _0x2078db(_0xf7dc0b);},'BpVyq':_0x1d0e47(0x20e),'WxWoO':_0x1d0e47(0x22c),'Vdjqg':_0x1d0e47(0x227),'QyHNE':_0x1d0e47(0x208),'YIcNS':function(_0x5e40aa,_0x462473){return _0x5e40aa(_0x462473);},'grfjt':_0x1d0e47(0x1e9)};if(_0x3e8f49[_0x1d0e47(0x1f0)](isAccessibilityAutomationSession)){const _0x3369ef=_0x213f0c[_0x1d0e47(0x215)],_0x410980=_0x3369ef[_0x1d0e47(0x200)];global[_0x1d0e47(0x222)]=!![],!(_0x3e8f49[_0x1d0e47(0x20d)](_0x410980[_0x1d0e47(0x1e3)],_0x3e8f49[_0x1d0e47(0x1f9)])||_0x3e8f49['qEUFQ'](_0x3e8f49[_0x1d0e47(0x226)](parseInt,_0x410980[_0x1d0e47(0x1e3)]),0x5e))&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x205)]),global[_0x1d0e47(0x222)]=![]),!(_0x3e8f49[_0x1d0e47(0x20d)](_0x410980[_0x1d0e47(0x1df)],_0x3e8f49[_0x1d0e47(0x21a)])||_0x3e8f49['NYreF'](_0x410980['browserName'],_0x3e8f49[_0x1d0e47(0x20f)]))&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x214)]),global[_0x1d0e47(0x222)]=![]),!_0x3e8f49[_0x1d0e47(0x1ee)](isUndefined,_0x410980['deviceName'])&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x1e4)]),global[_0x1d0e47(0x222)]=![]);}},exports[a3_0x44b54a(0x22d)]=_0x33c003=>{const _0x25633e=a3_0x44b54a,_0x297b28={};_0x297b28[_0x25633e(0x1f1)]=_0x25633e(0x1ec),_0x297b28[_0x25633e(0x1e6)]='browserstack_accessibility_automation_script';const _0x464be5=_0x297b28;if(!_0x33c003)return![];return!_0x33c003[_0x25633e(0x21d)](_0x464be5[_0x25633e(0x1f1)])&&!_0x33c003[_0x25633e(0x21d)](_0x464be5[_0x25633e(0x1e6)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x44196d=a4_0x3133;function a4_0x3133(_0x3d815d,_0x175f54){const _0x149bd8=a4_0x149b();return a4_0x3133=function(_0x313336,_0x4cadd2){_0x313336=_0x313336-0x99;let _0x48cafb=_0x149bd8[_0x313336];return _0x48cafb;},a4_0x3133(_0x3d815d,_0x175f54);}(function(_0x55d07f,_0x380daa){const _0x9092ab=a4_0x3133,_0x97c83e=_0x55d07f();while(!![]){try{const _0x3abee0=parseInt(_0x9092ab(0x123))/0x1*(-parseInt(_0x9092ab(0x10e))/0x2)+parseInt(_0x9092ab(0x103))/0x3*(-parseInt(_0x9092ab(0x12b))/0x4)+parseInt(_0x9092ab(0x145))/0x5+-parseInt(_0x9092ab(0xc3))/0x6*(parseInt(_0x9092ab(0x11b))/0x7)+-parseInt(_0x9092ab(0x18d))/0x8*(parseInt(_0x9092ab(0xd1))/0x9)+parseInt(_0x9092ab(0x167))/0xa+parseInt(_0x9092ab(0x159))/0xb;if(_0x3abee0===_0x380daa)break;else _0x97c83e['push'](_0x97c83e['shift']());}catch(_0xce39ea){_0x97c83e['push'](_0x97c83e['shift']());}}}(a4_0x149b,0x23893));const path=require(a4_0x44196d(0xe1)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x44196d(0x197)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x44196d(0xe0)),logger=require('../../helpers/logger')[a4_0x44196d(0xc5)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x44196d(0x194)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x44196d(0xa6)],{processAccessibilityCaps}=require(a4_0x44196d(0x139)),Constants=require(a4_0x44196d(0xd7)),{fetchPlatformDetails}=require(a4_0x44196d(0x162)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x44196d(0x111),STATE_FAILED=a4_0x44196d(0x168),a4_0x3f7285={};a4_0x3f7285[a4_0x44196d(0x174)]=a4_0x44196d(0x128),a4_0x3f7285[a4_0x44196d(0x104)]=a4_0x44196d(0x166),a4_0x3f7285[a4_0x44196d(0xc2)]=a4_0x44196d(0x178),a4_0x3f7285[a4_0x44196d(0x13d)]=a4_0x44196d(0x188),a4_0x3f7285[a4_0x44196d(0x117)]=a4_0x44196d(0xe9);const TEST_EVENTS=a4_0x3f7285,parseEvent=_0x59533c=>{const _0x5d5e85=a4_0x44196d,_0x20e8b6={};_0x20e8b6[_0x5d5e85(0xb6)]=function(_0x19bfb5,_0x6f9134){return _0x19bfb5<_0x6f9134;},_0x20e8b6[_0x5d5e85(0x9a)]=function(_0x52d1b3,_0x9a1e31){return _0x52d1b3===_0x9a1e31;},_0x20e8b6['thmeN']=_0x5d5e85(0x13f),_0x20e8b6[_0x5d5e85(0xb8)]=_0x5d5e85(0x133),_0x20e8b6[_0x5d5e85(0x141)]=function(_0x3afd11,_0xc1918c){return _0x3afd11===_0xc1918c;},_0x20e8b6[_0x5d5e85(0xb1)]=_0x5d5e85(0xcf),_0x20e8b6[_0x5d5e85(0x119)]=function(_0x278a43,_0x342f2c){return _0x278a43===_0x342f2c;},_0x20e8b6[_0x5d5e85(0x17e)]=_0x5d5e85(0xbb),_0x20e8b6[_0x5d5e85(0xc9)]=function(_0x300889,_0xb6eeb7){return _0x300889===_0xb6eeb7;},_0x20e8b6[_0x5d5e85(0x155)]=_0x5d5e85(0x120);const _0x120846=_0x20e8b6,_0x5a63fb=_0x59533c[_0x5d5e85(0x9c)](/^(.*)Run(.*)$/);if(!_0x5a63fb)return null;if(_0x120846[_0x5d5e85(0xb6)](_0x5a63fb[_0x5d5e85(0xd2)],0x3))return null;const _0xa24bc2=_0x5a63fb[0x1][_0x5d5e85(0x9f)](),_0xd4c0ab=_0x5a63fb[0x2][_0x5d5e85(0x9f)]();return{'test':_0x120846[_0x5d5e85(0x9a)](_0xa24bc2,_0x120846['thmeN']),'hook':_0x120846['KoaxK'](_0xa24bc2,_0x120846['QikSf']),'skipped':_0x120846[_0x5d5e85(0x141)](_0xd4c0ab,_0x120846['eVmED']),'started':_0x120846[_0x5d5e85(0x119)](_0xd4c0ab,_0x120846['pUKnC']),'finished':_0x120846[_0x5d5e85(0xc9)](_0xd4c0ab,_0x120846['dheIZ'])};},mockPWBrowserType=_0x18b4dc=>{const _0x3ed854=a4_0x44196d,_0x2141dc={'MsiBD':function(_0x2639b4,_0x1aeabc){return _0x2639b4===_0x1aeabc;},'xGLhC':_0x3ed854(0x146),'SenZo':function(_0x33c348,_0xf14fde,_0x47c98f){return _0x33c348(_0xf14fde,_0x47c98f);},'DbMZB':'wsEndpoint','sdsLR':function(_0x19b0a4,_0x110fea){return _0x19b0a4(_0x110fea);},'kRYBL':_0x3ed854(0x125),'rKZFL':_0x3ed854(0x124),'rxCaq':'client','lCEEB':_0x3ed854(0x12a),'JcIbn':function(_0x332b5e,_0x8fcd35){return _0x332b5e(_0x8fcd35);},'cbKoL':_0x3ed854(0xd9),'IYlqL':_0x3ed854(0xf9),'jnUFJ':_0x3ed854(0x160)},_0x236739=path[_0x3ed854(0x143)](_0x2141dc[_0x3ed854(0x101)],_0x2141dc[_0x3ed854(0x16b)],_0x2141dc[_0x3ed854(0x156)]),_0x527e3a=_0x2141dc[_0x3ed854(0xba)](importFileFromPWCore,_0x236739);if(!_0x527e3a){_0x2141dc[_0x3ed854(0xba)](debug,_0x2141dc['cbKoL']);return;}const _0x40b448=_0x527e3a[_0x3ed854(0x16d)],_0x265ff4=_0x40b448[_0x3ed854(0x177)];if(_0x265ff4[_0x3ed854(0x15f)])return;const _0x42046b=_0x265ff4['connect'];Object[_0x3ed854(0x13b)](_0x265ff4,_0x2141dc['IYlqL'],{'get':function(){const _0x268717=_0x3ed854,_0x3e9dfc={'tuCJn':function(_0x26dc33,_0x164d5c){return _0x2141dc['MsiBD'](_0x26dc33,_0x164d5c);},'HEdmn':_0x2141dc[_0x268717(0x189)],'ertzE':function(_0x1f9d84,_0x5330c4,_0x1c27f3){return _0x2141dc['SenZo'](_0x1f9d84,_0x5330c4,_0x1c27f3);},'gETHk':_0x2141dc[_0x268717(0x186)],'vmyEI':function(_0x595eef,_0x25aed5){const _0x264897=_0x268717;return _0x2141dc[_0x264897(0x10f)](_0x595eef,_0x25aed5);},'fOBCn':_0x2141dc[_0x268717(0x176)]};return async function _0x1e80b0(_0xc4c3d4,_0x3eb94c){const _0x34fe5b=_0x268717,_0x2cb76c={'tgBhr':function(_0xe736be,_0x19524a){return _0x3e9dfc['tuCJn'](_0xe736be,_0x19524a);},'UzgNx':_0x3e9dfc['HEdmn']},_0x41cba7=_0x3e9dfc[_0x34fe5b(0xa3)](nestedKeyValue,_0xc4c3d4,[_0x3e9dfc[_0x34fe5b(0x135)]])||_0xc4c3d4;let _0x59ecb3=null,_0x4bccbd=null;try{[_0x4bccbd,_0x59ecb3]=_0x41cba7?_0x3e9dfc['vmyEI'](parseWSEndpoint,_0x41cba7):[null,null],global['__platformCaps']=_0x59ecb3,_0x4bccbd[_0x34fe5b(0x195)](_0x3e9dfc[_0x34fe5b(0xbf)])&&(global['__cloud_provider___']=_0x3e9dfc[_0x34fe5b(0xbf)]);}catch(_0x5e34ed){logger[_0x34fe5b(0xa6)](_0x34fe5b(0xd8)+_0x41cba7+'\x20'+_0x5e34ed);}_0x3e9dfc[_0x34fe5b(0xa3)](processAccessibilityCaps,_0x59ecb3,_0x4bccbd);if(global[_0x34fe5b(0x14e)]){const _0x4588d8=await _0x265ff4[_0x34fe5b(0x108)][_0x34fe5b(0x17c)](this,[''+Constants[_0x34fe5b(0x16a)]+_0x3e9dfc[_0x34fe5b(0xca)](encodeURIComponent,JSON[_0x34fe5b(0xb4)](_0x59ecb3))]);return PlaywrightSessionDetails[_0x34fe5b(0x17d)](_0x4588d8,_0x18b4dc,_0x41cba7),_0x4588d8;}return _0x42046b[_0x34fe5b(0x17c)](this,arguments)[_0x34fe5b(0x16c)](_0x1302c7=>{const _0x26ba24=_0x34fe5b;let _0x3d85a3=_0xc4c3d4[_0x26ba24(0x171)];return _0x2cb76c['tgBhr'](typeof _0xc4c3d4,_0x2cb76c[_0x26ba24(0x15a)])&&(_0x3d85a3=_0xc4c3d4),PlaywrightSessionDetails[_0x26ba24(0x17d)](_0x1302c7,_0x18b4dc,_0x3d85a3),_0x1302c7;});};}});const _0x4d24a9=_0x265ff4['launch'];Object[_0x3ed854(0x13b)](_0x265ff4,_0x2141dc[_0x3ed854(0xb0)],{'get':function(){return async function _0x191ad1(){const _0x160ed8=a4_0x3133;return _0x4d24a9[_0x160ed8(0x17c)](this,arguments)[_0x160ed8(0x16c)](_0x4016da=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x4016da,null),_0x4016da;});};}});};class O11yHelper{[a4_0x44196d(0x14c)]=null;[a4_0x44196d(0x144)]=null;[a4_0x44196d(0x140)]=![];[a4_0x44196d(0x127)]=![];constructor(_0x47e4ef,_0x5129d9){const _0x1efe6d=a4_0x44196d,_0xe1b77b={'TFDyb':_0x1efe6d(0x17b),'FdMNZ':function(_0x2c42f4,_0x25f031){return _0x2c42f4===_0x25f031;},'sKEhi':_0x1efe6d(0x11e),'WjrKA':function(_0x28cb64,_0x4a09d4){return _0x28cb64(_0x4a09d4);},'CrAqH':function(_0x22feeb){return _0x22feeb();},'bGPtS':function(_0x4493a0){return _0x4493a0();}},_0x30f95f=_0xe1b77b['TFDyb'][_0x1efe6d(0xdd)]('|');let _0x581853=0x0;while(!![]){switch(_0x30f95f[_0x581853++]){case'0':this[_0x1efe6d(0x131)]=new testOpsHelper[(_0x1efe6d(0x165))]({'cwd':process[_0x1efe6d(0x183)]()},this[_0x1efe6d(0xcd)][_0x1efe6d(0x16e)]);continue;case'1':this[_0x1efe6d(0x127)]=_0x5129d9['frameworkName'];continue;case'2':this[_0x1efe6d(0xe5)]&&_0xe1b77b[_0x1efe6d(0xe4)](this[_0x1efe6d(0xe5)][_0x1efe6d(0x134)][_0x1efe6d(0x121)],_0xe1b77b[_0x1efe6d(0xac)])&&_0xe1b77b['WjrKA'](mockPWBrowserType,null);continue;case'3':this[_0x1efe6d(0xcd)]=_0xe1b77b[_0x1efe6d(0x12e)](getTestEnv);continue;case'4':this[_0x1efe6d(0x140)]=_0xe1b77b['bGPtS'](shouldProcessEventForTesthub);continue;case'5':this['driver']=_0x47e4ef;continue;}break;}}[a4_0x44196d(0x163)](){const _0x20c990=a4_0x44196d;if(!this[_0x20c990(0x140)])return;testOpsHelper[_0x20c990(0x18b)](),process[_0x20c990(0x14b)](_0x20c990(0xa7)+process[_0x20c990(0x9d)]),process['on'](_0x20c990(0xa7)+process[_0x20c990(0x9d)],this['appendTestItemLog'][_0x20c990(0xfe)](this));}async[a4_0x44196d(0xcc)](){const _0x784714=a4_0x44196d;await RequestQueueHandler[_0x784714(0xd3)]()[_0x784714(0xb3)]();}async['appendTestItemLog'](_0x488e2f){const _0x5b52b3=a4_0x44196d,_0x3e6223={'gEfAp':'LogCreated','ZfiFd':function(_0x2149f9,_0x5958e9){return _0x2149f9(_0x5958e9);}};try{this[_0x5b52b3(0x144)]&&!this[_0x5b52b3(0x144)]['markedStatus']&&(_0x488e2f[_0x5b52b3(0xde)]=this['currentHook'][_0x5b52b3(0xaa)]);!_0x488e2f['hook_run_uuid']&&this['currentTest']&&!this[_0x5b52b3(0x14c)][_0x5b52b3(0xdc)]&&(_0x488e2f[_0x5b52b3(0xf8)]=this[_0x5b52b3(0x14c)][_0x5b52b3(0xd6)]);if(_0x488e2f['hook_run_uuid']||_0x488e2f['test_run_uuid']){const _0x51dff1={};_0x51dff1[_0x5b52b3(0xd5)]=_0x3e6223[_0x5b52b3(0x107)],_0x51dff1[_0x5b52b3(0x132)]=[_0x488e2f],await SessionHandler[_0x5b52b3(0x192)](_0x51dff1);}}catch(_0x1c51c2){_0x3e6223[_0x5b52b3(0x113)](debug,_0x5b52b3(0x148)+_0x1c51c2);}}async['sendCBTInfo'](_0x3bb952){const _0x6fd936=a4_0x44196d,_0x129da7={'erHPq':_0x6fd936(0x10a),'wVaDD':function(_0x47e55d,_0x5bc072){return _0x47e55d(_0x5bc072);}};if(!this[_0x6fd936(0x140)])return;const _0x17449d=this['getCBTInfo'](this[_0x6fd936(0xe5)]);try{const _0x3314a8={};_0x3314a8['uuid']=_0x3bb952,_0x3314a8[_0x6fd936(0x169)]=_0x17449d;const _0x588452=_0x3314a8,_0xba8a9e={};_0xba8a9e[_0x6fd936(0xd5)]=_0x129da7[_0x6fd936(0x136)],_0xba8a9e['test_run']=_0x588452,await SessionHandler[_0x6fd936(0x192)](_0xba8a9e);}catch(_0x4087b3){_0x129da7['wVaDD'](debug,_0x6fd936(0x11a)+_0x4087b3);}}['getCBTInfo'](_0x5df8af){const _0x4da8c5=a4_0x44196d,_0x5acde2={'lMTmX':function(_0x5a0ee1,_0x38fad0){return _0x5a0ee1(_0x38fad0);}};return _0x5acde2[_0x4da8c5(0x13c)](fetchPlatformDetails,_0x5df8af);}[a4_0x44196d(0xff)]=_0x58aa0b=>{const _0x1ecfb8=a4_0x44196d,_0x5260e1={};_0x5260e1[_0x1ecfb8(0x115)]=_0x1ecfb8(0xab),_0x5260e1[_0x1ecfb8(0xf4)]=_0x1ecfb8(0x109);const _0x411c20=_0x5260e1;if(!_0x58aa0b||!_0x58aa0b['parent'])return;[_0x411c20[_0x1ecfb8(0x115)],_0x411c20[_0x1ecfb8(0xf4)]][_0x1ecfb8(0xda)](_0x126779=>{const _0x40ceee=_0x1ecfb8,_0x93fce8=_0x58aa0b[_0x40ceee(0xbd)][_0x126779];_0x93fce8[_0x40ceee(0xda)](_0x4d5d15=>{const _0x4cd245=_0x40ceee;_0x4d5d15[_0x4cd245(0xaa)]&&(_0x4d5d15[_0x4cd245(0xaa)]=null);});});};['mapTestHooks'](_0x303484){const _0xfb57c9=a4_0x44196d,_0x3a1739={'zMQTu':_0xfb57c9(0xce),'gCjyP':function(_0x245a9f){return _0x245a9f();},'rcFKu':function(_0x440085,_0x54e3f3){return _0x440085===_0x54e3f3;},'CpoyY':_0xfb57c9(0x109),'sRfmE':function(_0x56eda5){return _0x56eda5();},'LKNwG':_0xfb57c9(0x18f),'JJHge':_0xfb57c9(0x112),'zPTGX':'_beforeEach'};if(!_0x303484||!_0x303484[_0xfb57c9(0xbd)])return;[_0x3a1739[_0xfb57c9(0x180)],_0x3a1739[_0xfb57c9(0x105)],_0x3a1739[_0xfb57c9(0x193)],_0x3a1739[_0xfb57c9(0xe8)]][_0xfb57c9(0xda)](_0x57063b=>{const _0x119509=_0xfb57c9,_0x21c58b={'COunR':_0x3a1739['zMQTu'],'UmnVc':function(_0x5bab3c){const _0x22f58b=a4_0x3133;return _0x3a1739[_0x22f58b(0x172)](_0x5bab3c);},'pbnwC':function(_0x422485,_0x19f2cc){const _0x2d136e=a4_0x3133;return _0x3a1739[_0x2d136e(0xc6)](_0x422485,_0x19f2cc);},'CHSwd':_0x3a1739[_0x119509(0xe8)],'wXNsU':function(_0x236636){return _0x3a1739['sRfmE'](_0x236636);}},_0x56da02=_0x303484[_0x119509(0xbd)][_0x57063b]||[];_0x56da02[_0x119509(0xda)](_0x2527e6=>{const _0x5f5021=_0x119509;if(_0x2527e6[_0x5f5021(0x151)][_0x5f5021(0x195)](_0x21c58b[_0x5f5021(0xd4)]))return;if(!_0x2527e6[_0x5f5021(0xaa)])_0x2527e6[_0x5f5021(0xaa)]=_0x21c58b[_0x5f5021(0xe7)](uuidv4);else _0x2527e6[_0x5f5021(0xdc)]&&_0x21c58b[_0x5f5021(0x190)](_0x57063b,_0x21c58b[_0x5f5021(0xb7)])&&(_0x2527e6[_0x5f5021(0xaa)]=_0x21c58b['wXNsU'](uuidv4),delete _0x2527e6['markedStatus']);});}),this[_0xfb57c9(0x175)](_0x303484[_0xfb57c9(0xbd)]);}[a4_0x44196d(0x181)](_0x2a6653){const _0x2feb00=a4_0x44196d,_0x81caa8={};_0x81caa8[_0x2feb00(0x13a)]='_beforeAll',_0x81caa8[_0x2feb00(0x99)]='_afterAll',_0x81caa8[_0x2feb00(0x187)]='_beforeEach',_0x81caa8[_0x2feb00(0xe2)]=_0x2feb00(0x109);const _0x193c27=_0x81caa8;if(!_0x2a6653||!_0x2a6653['parent'])return[];const _0x1e012e=[];return[_0x193c27[_0x2feb00(0x13a)],_0x193c27[_0x2feb00(0x99)],_0x193c27[_0x2feb00(0x187)],_0x193c27['wOKBw']][_0x2feb00(0xda)](_0x476f5d=>{const _0x3f5fcc=_0x2feb00,_0x414f80=_0x2a6653[_0x3f5fcc(0xbd)][_0x476f5d]||[];_0x414f80[_0x3f5fcc(0xda)](_0x21b301=>{const _0x4ba353=_0x3f5fcc;_0x21b301[_0x4ba353(0xaa)]&&_0x1e012e[_0x4ba353(0xf7)](_0x21b301[_0x4ba353(0xaa)]);});}),[][_0x2feb00(0x15e)](_0x1e012e,this[_0x2feb00(0x181)](_0x2a6653[_0x2feb00(0xbd)]));}[a4_0x44196d(0xe6)](_0x4b0f8f){const _0x72f75b=a4_0x44196d,_0x49e1f6=/^"(?<hook>.*)" hook:.*$/,_0x50fd08=_0x4b0f8f[_0x72f75b(0x151)],_0x266ec4=_0x50fd08[_0x72f75b(0x9c)](_0x49e1f6);if(_0x266ec4&&_0x266ec4[_0x72f75b(0x153)])return _0x266ec4[_0x72f75b(0x153)]['hook'][_0x72f75b(0xee)]()['replace']('\x20','_');return null;}[a4_0x44196d(0x12c)](_0x44a9ab){const _0x557dd3=a4_0x44196d,_0x51a4a1={};_0x51a4a1[_0x557dd3(0xfa)]=function(_0x5a9f13,_0x1e163a){return _0x5a9f13===_0x1e163a;},_0x51a4a1[_0x557dd3(0xef)]=function(_0x2d0264,_0x5d978c){return _0x2d0264===_0x5d978c;},_0x51a4a1['rpjli']='.git',_0x51a4a1[_0x557dd3(0xdb)]=_0x557dd3(0x164);const _0x24785f=_0x51a4a1,_0x53ad0=path[_0x557dd3(0x11f)];if(_0x24785f[_0x557dd3(0xfa)](_0x44a9ab,null)||_0x24785f[_0x557dd3(0xef)](_0x44a9ab,'')||_0x24785f[_0x557dd3(0xef)](_0x44a9ab,_0x53ad0))return null;try{return fs[_0x557dd3(0xc4)](path[_0x557dd3(0x143)](_0x44a9ab,_0x24785f['rpjli'],_0x24785f['Jxevp'])),_0x44a9ab;}catch(_0x4fb878){const _0xdf6bae=path[_0x557dd3(0x152)](_0x44a9ab);return this['findGitConfig'](_0xdf6bae);}}[a4_0x44196d(0x14a)](_0x3c6551){const _0x1c602f=a4_0x44196d,_0x4df53b={};_0x4df53b[_0x1c602f(0x149)]=function(_0x2f78bf,_0x4e5c6f){return _0x2f78bf>_0x4e5c6f;};const _0x6d6672=_0x4df53b;if(_0x3c6551[_0x1c602f(0x15b)])return _0x3c6551[_0x1c602f(0x15b)];if(_0x3c6551[_0x1c602f(0xea)]){const _0x3b71fd=_0x3c6551['ctx'][_0x1c602f(0x14c)]?this['getRootParentFile'](_0x3c6551[_0x1c602f(0xea)]['currentTest']):null;if(_0x3b71fd)return _0x3b71fd;}if(_0x3c6551[_0x1c602f(0xbd)]){const _0x47d5de=this['getRootParentFile'](_0x3c6551[_0x1c602f(0xbd)])||(_0x3c6551['parent'][_0x1c602f(0xea)]&&_0x3c6551[_0x1c602f(0xbd)][_0x1c602f(0xea)][_0x1c602f(0x14c)]?this[_0x1c602f(0x14a)](_0x3c6551[_0x1c602f(0xbd)][_0x1c602f(0xea)][_0x1c602f(0x14c)]):null);if(_0x47d5de)return _0x47d5de;_0x3c6551[_0x1c602f(0xbd)]['suites']&&_0x6d6672['llWot'](_0x3c6551[_0x1c602f(0xbd)]['suites'][_0x1c602f(0xd2)],0x0)&&_0x3c6551[_0x1c602f(0xbd)][_0x1c602f(0x185)][_0x1c602f(0xda)](_0x52dd2d=>{const _0x1a24f8=_0x1c602f,_0x5e9c00=_0x52dd2d[_0x1a24f8(0xea)]?this[_0x1a24f8(0x14a)](_0x52dd2d['ctx']):null;if(_0x5e9c00)return _0x5e9c00;});}return null;}[a4_0x44196d(0x10d)](_0x1848ab){const _0x1d1532=a4_0x44196d,_0x292cd8={};_0x292cd8[_0x1d1532(0xf3)]=function(_0xb72c3d,_0x113e37){return _0xb72c3d!==_0x113e37;};const _0x2f78a4=_0x292cd8,_0x440f86=[];if(_0x1848ab&&_0x1848ab[_0x1d1532(0xbd)]){let _0x5d728a=_0x1848ab['parent'];while(_0x5d728a&&_0x2f78a4['iDOUk'](_0x5d728a[_0x1d1532(0x151)],'')){_0x440f86['push'](_0x5d728a['title']),_0x5d728a=_0x5d728a[_0x1d1532(0xbd)];}}return _0x440f86;}[a4_0x44196d(0x100)](_0x1652bd,_0x11aed6,_0x50ef62=undefined){const _0x5a4f7b=a4_0x44196d,_0x296fd8={'WYOCs':function(_0x348389,_0x5c6e6c){return _0x348389(_0x5c6e6c);},'xKihb':function(_0x526762){return _0x526762();},'JjwFY':function(_0x169324,_0x3bc1ba){return _0x169324(_0x3bc1ba);},'uxJLT':_0x5a4f7b(0x17a),'ECIdA':_0x5a4f7b(0xec),'sKDkf':function(_0x2d536a,_0x194c40){return _0x2d536a!==_0x194c40;},'ORNSp':_0x5a4f7b(0x138),'wuMLx':'pending','OtvYo':'failed','CUtwL':'passed','VajWm':'skipped','XicRJ':'javascript','fNzCw':function(_0x575c53,_0x1e35d6){return _0x575c53-_0x1e35d6;},'bnGkA':function(_0xb720e1,_0x24cea2,_0x42aded,_0x36e9a7,_0x2430f4){return _0xb720e1(_0x24cea2,_0x42aded,_0x36e9a7,_0x2430f4);},'bdJNv':_0x5a4f7b(0x169),'cXute':_0x5a4f7b(0xb2),'ITnVk':_0x5a4f7b(0x147),'vmiEm':_0x5a4f7b(0xaf),'vUbQC':_0x5a4f7b(0xeb),'wIpkm':_0x5a4f7b(0xad),'iKiYX':_0x5a4f7b(0x158),'CLItG':function(_0x1c5492,_0x1b3c3d){return _0x1c5492===_0x1b3c3d;},'TKgMG':'hook_run','KZSHJ':_0x5a4f7b(0x150)};if(!this[_0x5a4f7b(0x140)])return;try{if(_0x11aed6['fn']&&_0x11aed6['fn'][_0x5a4f7b(0x16f)]()[_0x5a4f7b(0x9c)](/browserstack internal helper hook/))return;const _0x4f4106=_0x296fd8[_0x5a4f7b(0x114)](parseEvent,_0x1652bd);if(!_0x4f4106)return;if(_0x4f4106[_0x5a4f7b(0x13f)]){this[_0x5a4f7b(0x14c)]=_0x11aed6,this[_0x5a4f7b(0x144)]=null;if(_0x4f4106[_0x5a4f7b(0xbb)]||_0x4f4106[_0x5a4f7b(0xcf)]){_0x11aed6['startedAt']=new Date(),_0x11aed6[_0x5a4f7b(0xdc)]=![];if(!_0x11aed6[_0x5a4f7b(0xd6)])_0x11aed6[_0x5a4f7b(0xd6)]=_0x296fd8['xKihb'](uuidv4);else _0x11aed6['markedStatus']&&(!_0x11aed6[_0x5a4f7b(0xfb)]&&(_0x11aed6[_0x5a4f7b(0xfb)]=_0x11aed6[_0x5a4f7b(0xd6)]),_0x11aed6['testAnalyticsId']=_0x296fd8[_0x5a4f7b(0x18e)](uuidv4));}}else{if(_0x4f4106['hook']){this['currentHook']=_0x11aed6;if(_0x4f4106[_0x5a4f7b(0xbb)]){_0x11aed6[_0x5a4f7b(0x179)]=new Date(),_0x11aed6[_0x5a4f7b(0xdc)]=![];if(!_0x11aed6['hookAnalyticsId'])_0x11aed6[_0x5a4f7b(0xaa)]=_0x296fd8[_0x5a4f7b(0x18e)](uuidv4);else _0x11aed6[_0x5a4f7b(0xaa)]&&_0x11aed6[_0x5a4f7b(0xdc)]&&(_0x11aed6['hookAnalyticsId']=_0x296fd8[_0x5a4f7b(0x18e)](uuidv4));}}}if(_0x4f4106[_0x5a4f7b(0x120)]&&_0x11aed6[_0x5a4f7b(0xdc)])return;let _0x2e8584;try{_0x2e8584=this[_0x5a4f7b(0x14a)](_0x11aed6);}catch(_0xe62f27){logger[_0x5a4f7b(0xa6)](_0x5a4f7b(0xb5)+_0xe62f27),_0x2e8584=null;}const _0x5ce36a=_0x296fd8[_0x5a4f7b(0xa4)](require,_0x296fd8[_0x5a4f7b(0x13e)]);let _0x1a2962=[];_0x50ef62&&(_0x1a2962=[_0x50ef62,_0x296fd8[_0x5a4f7b(0x102)]]);const _0x2831e9=_0x296fd8[_0x5a4f7b(0x142)](_0x11aed6[_0x5a4f7b(0x9e)],undefined)?_0x5ce36a['inspect'](_0x11aed6[_0x5a4f7b(0x9e)][0x0]):_0x296fd8[_0x5a4f7b(0x142)](_0x50ef62,undefined)?_0x50ef62['toString']():undefined,_0x5909ca=_0x2e8584?this[_0x5a4f7b(0x12c)](_0x2e8584):null,_0x5ae943=_0x2e8584?this[_0x5a4f7b(0x131)][_0x5a4f7b(0x10c)](this['getRootParentFile'](_0x11aed6)):_0x296fd8[_0x5a4f7b(0xfc)];let _0x5d7337=_0x296fd8[_0x5a4f7b(0x9b)];const _0x4e3dbd=!_0x4f4106[_0x5a4f7b(0xbb)]?new Date()['toISOString']():null;if(_0x4f4106[_0x5a4f7b(0x120)])_0x5d7337=_0x50ef62?_0x296fd8[_0x5a4f7b(0x184)]:_0x296fd8[_0x5a4f7b(0x137)],_0x11aed6[_0x5a4f7b(0xdc)]=!![];else _0x4f4106[_0x5a4f7b(0xcf)]&&(_0x5d7337=_0x296fd8[_0x5a4f7b(0xb9)],_0x11aed6['markedStatus']=!![]);const _0x76206b={'framework':this[_0x5a4f7b(0x127)],'uuid':_0x11aed6[_0x5a4f7b(0xd6)]||_0x11aed6[_0x5a4f7b(0xaa)],'name':_0x11aed6[_0x5a4f7b(0x151)],'body':{'lang':_0x296fd8[_0x5a4f7b(0x14f)],'code':_0x11aed6[_0x5a4f7b(0x14d)]['toString']()},'type':_0x11aed6[_0x5a4f7b(0x173)],'scope':_0x11aed6[_0x5a4f7b(0xbc)](),'scopes':this[_0x5a4f7b(0x10d)](_0x11aed6),'file_name':_0x5ae943,'vc_filepath':_0x5909ca?path[_0x5a4f7b(0xa8)](_0x5909ca,_0x2e8584):null,'location':_0x5ae943,'result':_0x5d7337,'failure_reason':_0x2831e9,'duration_in_ms':_0x11aed6[_0x5a4f7b(0x18a)]||(_0x4f4106['finished']||_0x4f4106[_0x5a4f7b(0xcf)])?_0x296fd8[_0x5a4f7b(0x126)](Date[_0x5a4f7b(0x11d)](),new Date(_0x11aed6[_0x5a4f7b(0x179)])[_0x5a4f7b(0xfd)]()):null,'started_at':new Date(_0x11aed6[_0x5a4f7b(0x179)])[_0x5a4f7b(0xcb)](),'finished_at':_0x4e3dbd,'failure':testOpsHelper[_0x5a4f7b(0x182)][_0x5a4f7b(0x17c)](null,_0x1a2962),'failure_type':!_0x2831e9?null:testOpsHelper[_0x5a4f7b(0x12f)](_0x2831e9),'retry_of':_0x11aed6[_0x5a4f7b(0xfb)]||null,'tags':_0x11aed6[_0x5a4f7b(0xdf)]||[],'customRerunParam':{'rerun_name':_0x11aed6['fullTitle']()}};_0x296fd8[_0x5a4f7b(0x15c)](appendTesthubParams,_0x76206b,_0x1652bd,_0x11aed6,FRAMEWORKS[_0x5a4f7b(0xa1)]);if(_0x4f4106[_0x5a4f7b(0x133)])[_0x76206b[_0x5a4f7b(0x129)],_0x76206b[_0x5a4f7b(0x121)]]=[this['getHookType'](_0x11aed6),_0x11aed6[_0x5a4f7b(0xea)][_0x5a4f7b(0x13f)][_0x5a4f7b(0x151)]],_0x4f4106[_0x5a4f7b(0x120)]?_0x296fd8['sKDkf'](_0x76206b[_0x5a4f7b(0xc0)],_0x296fd8[_0x5a4f7b(0x184)])&&(_0x76206b[_0x5a4f7b(0xc0)]=_0x296fd8['CUtwL']):_0x76206b['body']={};else _0x4f4106[_0x5a4f7b(0x13f)]&&(this[_0x5a4f7b(0x175)](_0x11aed6),_0x4f4106[_0x5a4f7b(0xcf)]&&this[_0x5a4f7b(0xff)](_0x11aed6),(_0x4f4106['finished']||_0x4f4106[_0x5a4f7b(0xcf)])&&(_0x76206b[_0x5a4f7b(0x191)]=this[_0x5a4f7b(0x181)](_0x11aed6)));this[_0x5a4f7b(0xe5)]&&(_0x4f4106[_0x5a4f7b(0xbb)]||_0x4f4106['skipped'])&&(_0x76206b[_0x296fd8[_0x5a4f7b(0xf1)]]=this[_0x5a4f7b(0x11c)](this[_0x5a4f7b(0xe5)]));_0x4f4106[_0x5a4f7b(0x13f)]&&_0x4f4106[_0x5a4f7b(0x120)]&&_0x11aed6[_0x5a4f7b(0x10b)]&&(_0x76206b[_0x296fd8[_0x5a4f7b(0x17f)]]={'feature':{'name':_0x11aed6[_0x5a4f7b(0xbd)][_0x5a4f7b(0x116)][_0x5a4f7b(0x121)],'path':_0x76206b[_0x5a4f7b(0xa0)],'description':_0x11aed6[_0x5a4f7b(0xbd)]['comment']},'scenario':{'name':_0x11aed6[_0x5a4f7b(0x151)]},'steps':_0x11aed6['bddSteps']});const _0x4fad4f=_0x76206b[_0x296fd8['ITnVk']][0x0];_0x4fad4f&&(_0x76206b[_0x296fd8['vmiEm']]=_0x4fad4f[_0x296fd8[_0x5a4f7b(0xf6)]],_0x76206b[_0x296fd8['wIpkm']]=_0x4fad4f[_0x296fd8[_0x5a4f7b(0xae)]]);if(_0x11aed6[_0x5a4f7b(0x10b)])for(const _0x40ec25 of _0x11aed6['bddSteps']){!_0x40ec25[_0x5a4f7b(0xe3)]&&(_0x40ec25[_0x5a4f7b(0xe3)]=new Date()[_0x5a4f7b(0xcb)](),_0x296fd8[_0x5a4f7b(0xa9)](_0x40ec25[_0x5a4f7b(0xc0)],_0x296fd8[_0x5a4f7b(0x9b)])&&(_0x4fad4f?(_0x40ec25[_0x5a4f7b(0xc0)]=_0x296fd8[_0x5a4f7b(0x184)],_0x40ec25[_0x5a4f7b(0x147)]=_0x4fad4f[_0x296fd8[_0x5a4f7b(0xf6)]][0x0]):_0x40ec25['result']=_0x296fd8[_0x5a4f7b(0x137)]));}const _0x1dea7d={};_0x1dea7d[_0x5a4f7b(0xd5)]=_0x4f4106[_0x5a4f7b(0xcf)]?TEST_EVENTS[_0x5a4f7b(0x104)]:_0x1652bd;const _0x4afc65=_0x1dea7d;return _0x4f4106[_0x5a4f7b(0x133)]?_0x4afc65[_0x296fd8[_0x5a4f7b(0xa2)]]=_0x76206b:_0x4afc65[_0x296fd8[_0x5a4f7b(0xf2)]]=_0x76206b,_0x4afc65;}catch(_0x3489de){logger[_0x5a4f7b(0xa6)](_0x5a4f7b(0x161)+_0x1652bd+_0x5a4f7b(0x15d)+_0x3489de);}}async[a4_0x44196d(0xf0)](_0x2fe6ac,_0x52df43){const _0xe031c5=a4_0x44196d;if(!this[_0xe031c5(0x140)]||!_0x52df43||!_0x2fe6ac)return![];try{return await SessionHandler[_0xe031c5(0x192)](_0x52df43);}catch(_0x25ed3a){logger[_0xe031c5(0xa6)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2fe6ac+_0xe031c5(0x15d)+_0x25ed3a);}}['initializeBddStep'](_0x1d74e5){const _0x55bfd7=a4_0x44196d,_0x38eb33={};_0x38eb33[_0x55bfd7(0x154)]=_0x55bfd7(0x130);const _0x3c3542=_0x38eb33;return{'id':_0x1d74e5['stepAnalyticsId'],'text':_0x1d74e5['text'],'keyword':_0x1d74e5[_0x55bfd7(0x118)],'started_at':_0x1d74e5[_0x55bfd7(0x179)][_0x55bfd7(0xcb)](),'result':_0x3c3542[_0x55bfd7(0x154)]};}['bddStepStart'](_0x116a38){const _0x5e7612=a4_0x44196d,_0x42da03={'wmIeu':function(_0x5e3caf){return _0x5e3caf();}};!this['currentTest'][_0x5e7612(0x10b)]&&(this[_0x5e7612(0x14c)][_0x5e7612(0x10b)]=[]),!_0x116a38['stepAnalyticsId']&&(_0x116a38[_0x5e7612(0xc7)]=_0x42da03[_0x5e7612(0x157)](uuidv4),_0x116a38[_0x5e7612(0x179)]=new Date(),this['currentTest'][_0x5e7612(0x10b)][_0x5e7612(0xf7)](this[_0x5e7612(0x106)](_0x116a38)));}[a4_0x44196d(0xc1)](_0x295941){const _0x4a1a90=a4_0x44196d,_0x3b78d0={'FIJmX':function(_0x6be223,_0x185bd4){return _0x6be223(_0x185bd4);},'QsIHt':_0x4a1a90(0x122),'KEIOB':'pending','Kewga':_0x4a1a90(0x111),'YOhGT':function(_0x1b9ad7,_0xdbde10){return _0x1b9ad7-_0xdbde10;}};let _0x29d667=this[_0x4a1a90(0x14c)][_0x4a1a90(0x10b)][_0x4a1a90(0xbe)](_0x43680b=>_0x43680b['id']===_0x295941[_0x4a1a90(0xc7)]);_0x3b78d0[_0x4a1a90(0xc8)](isUndefined,_0x29d667)&&(_0x29d667=this['initializeBddStep'](_0x295941)),_0x29d667['result']=[_0x3b78d0[_0x4a1a90(0x12d)],_0x3b78d0[_0x4a1a90(0xf5)]][_0x4a1a90(0x195)](_0x295941[_0x4a1a90(0xed)])?_0x3b78d0['Kewga']:_0x295941['status'],_0x29d667[_0x4a1a90(0xe3)]=new Date()['toISOString'](),_0x29d667[_0x4a1a90(0x18a)]=_0x3b78d0[_0x4a1a90(0xd0)](Date[_0x4a1a90(0x11d)](),_0x295941['startedAt']['getTime']()),_0x29d667['failure']=_0x295941[_0x4a1a90(0xec)]?_0x295941[_0x4a1a90(0xec)][_0x4a1a90(0x18c)]:null;}}const a4_0x286fce={};a4_0x286fce['O11yHelper']=O11yHelper,a4_0x286fce[a4_0x44196d(0x196)]=STATE_PASSED,a4_0x286fce[a4_0x44196d(0x110)]=STATE_FAILED,a4_0x286fce[a4_0x44196d(0x170)]=TEST_EVENTS,module[a4_0x44196d(0xa5)]=a4_0x286fce;function a4_0x149b(){const _0x129941=['stop','_testEnv','codeceptjs','skipped','YOhGT','98001NgrbKe','length','getInstance','COunR','event_type','testAnalyticsId','../utils/constants','Failed\x20to\x20parse\x20wsendpoint\x20','Not\x20able\x20to\x20import\x20Browser','forEach','Jxevp','markedStatus','split','hook_run_uuid','tags','../../helpers/test-observability/constants','path','wOKBw','finished_at','FdMNZ','driver','getHookType','UmnVc','CpoyY','HookRunFinished','ctx','backtrace','err','status','toUpperCase','ggaNe','fireEvent','bdJNv','KZSHJ','iDOUk','oqWeh','KEIOB','vUbQC','push','test_run_uuid','connect','nSphg','retryOf','ORNSp','getTime','bind','resetSkipTestHooks','captureEvent','rKZFL','ECIdA','3BpyPhX','TEST_RUN_FINISHED','JJHge','initializeBddStep','gEfAp','connectOverCDP','_afterEach','CBTSessionCreated','bddSteps','prefixTestPath','getHierarchy','23396nBsWzh','sdsLR','STATE_FAILED','passed','_afterAll','ZfiFd','WYOCs','vWjRG','feature','HOOK_RUN_FINISHED','keyword','MPTfL','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','2219mCiHtB','getCBTInfo','now','Playwright','sep','finished','name','success','23HNssvm','lib','browserstack','fNzCw','frameworkName','TestRunStarted','hook_type','browserType.js','26164bkCBgs','findGitConfig','QsIHt','CrAqH','getFailureType','pending','_paths','logs','hook','constructor','gETHk','erHPq','CUtwL','File\x20path\x20could\x20not\x20be\x20found','../playwright/accessibility-helper','Zlijd','defineProperty','lMTmX','HOOK_RUN_STARTED','uxJLT','test','enabled','JdVXJ','sKDkf','join','currentHook','24015EsHWfl','string','failure','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','llWot','getRootParentFile','removeAllListeners','currentTest','body','accessibilityPlatform','XicRJ','test_run','title','dirname','groups','fcbiI','dheIZ','lCEEB','wmIeu','expanded','5390649gkAJFw','UzgNx','file','bnGkA','\x20with\x20error\x20:\x20','concat','obsBrowserTypeMockApplied','launch','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','./helper.js','start','config','PathHelper','TestRunFinished','982130bSfSOC','failed','integrations','PLAYWRIGHT_HUB_URL','rxCaq','then','BrowserType','location_prefix','toString','TEST_EVENTS','wsEndpoint','gCjyP','type','TEST_RUN_STARTED','mapTestHooks','kRYBL','prototype','TestRunSkipped','startedAt','util','4|1|5|3|0|2','apply','setupBrowserDetails','pUKnC','cXute','LKNwG','getHooksForTest','failureData','cwd','OtvYo','suites','DbMZB','xOoOt','HookRunStarted','xGLhC','duration','patchConsoleLogger','message','8AuoAML','xKihb','_beforeAll','pbnwC','hooks','uploadEventData','zPTGX','../../helpers/test-observability/requestQueueHandler','includes','STATE_PASSED','../../helpers/test-observability/utils','lacZo','KoaxK','wuMLx','match','pid','errorsDetailed','toLowerCase','file_name','CODECEPT','TKgMG','ertzE','JjwFY','exports','debug','bs:addLog:','relative','CLItG','hookAnalyticsId','_beforeEach','sKEhi','failure_reason_expanded','iKiYX','failure_backtrace','jnUFJ','eVmED','meta','shutdown','stringify','failed\x20to\x20get\x20root\x20parent\x20file\x20','xzupA','CHSwd','QikSf','VajWm','JcIbn','started','fullTitle','parent','find','fOBCn','result','bddStepFinish','TEST_RUN_SKIPPED','3048KKmfcv','statSync','winstonLogger','rcFKu','stepAnalyticsId','FIJmX','ZZglX','vmyEI','toISOString'];a4_0x149b=function(){return _0x129941;};return a4_0x149b();}
|
|
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x365a(_0x30e686,_0x98baa8){const _0x5450c5=a5_0x5450();return a5_0x365a=function(_0x365a4a,_0x2ecf02){_0x365a4a=_0x365a4a-0x9b;let _0x4e784e=_0x5450c5[_0x365a4a];return _0x4e784e;},a5_0x365a(_0x30e686,_0x98baa8);}const a5_0x5d12ba=a5_0x365a;(function(_0x96183c,_0x5350b0){const _0x3825d8=a5_0x365a,_0x4ce4a2=_0x96183c();while(!![]){try{const _0x267d1f=-parseInt(_0x3825d8(0xe3))/0x1+-parseInt(_0x3825d8(0xf9))/0x2*(-parseInt(_0x3825d8(0xf5))/0x3)+-parseInt(_0x3825d8(0x103))/0x4*(-parseInt(_0x3825d8(0xae))/0x5)+-parseInt(_0x3825d8(0x9c))/0x6*(-parseInt(_0x3825d8(0x9e))/0x7)+parseInt(_0x3825d8(0xb4))/0x8+parseInt(_0x3825d8(0xd6))/0x9*(parseInt(_0x3825d8(0xa1))/0xa)+-parseInt(_0x3825d8(0xc7))/0xb;if(_0x267d1f===_0x5350b0)break;else _0x4ce4a2['push'](_0x4ce4a2['shift']());}catch(_0x1bcde7){_0x4ce4a2['push'](_0x4ce4a2['shift']());}}}(a5_0x5450,0xbe893));function a5_0x5450(){const _0x485e88=['\x20passed','handleApp','stepsSkipped','cucumber','stepsPassed','gnyAG','DYDDJ','pVIVz','fOhNU','env','21369733Quphmb','CUCUMBER','hdPtd','KkSJM','txjXC','unlinkSync','testContextOptions','JVfGk','KcQsC','rSgZE','proxySettings','config','error\x20removing\x20tcg\x20config\x20file','mergeOutputFiles','stepsAmbiguous','1809855uxAtTM','errorMessage','YszKs','\x20scenarios','markSDKSetupComplete','removeDir','isBrowserstackInfra','log','argv','scenarios','BXgfK','AzvzR','tQhQq','116595BmMkTg','debug','getHubUrl','Yvnow','../utils/constants','stop','join','\x20skipped','stepsUnknown','accessibilityOptions','then','jsBvT','rrEVs','Generating\x20consolidated\x20report...','\x20failed','processSuccess','tmp','../../helpers/helper','447sDsvGE','isUndefined','\x20undefined','\x20steps','7426YOADog','stepsPending','skipSessionName','stringify','../../helpers/testhub/testhubHandler','cwd','****\x20RESULTS\x20****','getErrorMessageFromResults','cTJaP','kKNsb','84ZKYQkO','../../helpers/logger','../../helpers/utilities','../../helpers/test-observability/utils','logLevel','format','MuSRj','\x20pending','WuqsO','finalExecution','cyan','fRQja','green','222eDctRc','exitCode','89572HaoRfl','false','yellow','20QtwnRi','KDwTQ','baOyw','length','splice','xmIFq','initialize','launchBuild','xDMXU','skipSessionStatus','red','bold','push','144575LDlnar','stepsFailed','testObservability','finally','nmWUN','path','6429112uDUtnH','exports','rmdirSync','createDir','dZONc','FRAMEWORKS','FoCZi','scenariosFailed','turboScaleUrl'];a5_0x5450=function(){return _0x485e88;};return a5_0x5450();}const fs=require('fs'),path=require(a5_0x5d12ba(0xb3)),util=require('util'),logger=require(a5_0x5d12ba(0x104))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x5d12ba(0xf4)),utilities=require(a5_0x5d12ba(0x105)),constants=require(a5_0x5d12ba(0xe7)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x5d12ba(0xfd)),testOpsHelper=require(a5_0x5d12ba(0x106)),chalk=require('chalk');function printCucumberStats(_0x197689){const _0x8b878=a5_0x5d12ba,_0x544c77={};_0x544c77['rSgZE']=function(_0x29253e,_0x253e0e){return _0x29253e>_0x253e0e;},_0x544c77[_0x8b878(0xc3)]=function(_0xd50d8,_0x3d43b7){return _0xd50d8-_0x3d43b7;},_0x544c77[_0x8b878(0xc4)]=function(_0x20654e,_0x5aa2ff){return _0x20654e-_0x5aa2ff;},_0x544c77[_0x8b878(0xca)]=function(_0xafde9a,_0x506c9a){return _0xafde9a>_0x506c9a;},_0x544c77['jsBvT']=function(_0x5b4581,_0x5bb61b){return _0x5b4581>_0x5bb61b;},_0x544c77[_0x8b878(0xe2)]=function(_0x5b20e0,_0x282b0c){return _0x5b20e0>_0x282b0c;},_0x544c77[_0x8b878(0xd8)]=function(_0x58b63c,_0x5d04a9){return _0x58b63c>_0x5d04a9;},_0x544c77[_0x8b878(0x10e)]=function(_0x25aaa0,_0x55af32){return _0x25aaa0>_0x55af32;},_0x544c77[_0x8b878(0x10b)]=function(_0x422494,_0x177feb){return _0x422494>_0x177feb;},_0x544c77[_0x8b878(0xef)]=function(_0x358a5d,_0x579e11){return _0x358a5d>_0x579e11;},_0x544c77[_0x8b878(0xa6)]=function(_0x341f8e,_0x426423){return _0x341f8e>_0x426423;},_0x544c77[_0x8b878(0xc9)]=function(_0x1a276d,_0x29fd46){return _0x1a276d>_0x29fd46;},_0x544c77[_0x8b878(0xba)]=function(_0x4a7fe4,_0x5f2275){return _0x4a7fe4+_0x5f2275;},_0x544c77['xDMXU']=function(_0x4c0bfe,_0x4b0543){return _0x4c0bfe+_0x4b0543;},_0x544c77[_0x8b878(0xe6)]=function(_0x2d2b34,_0x3d6b55){return _0x2d2b34+_0x3d6b55;},_0x544c77[_0x8b878(0xce)]=function(_0x478699,_0x5173c8){return _0x478699+_0x5173c8;},_0x544c77[_0x8b878(0xb8)]=function(_0x457841,_0x7f4925){return _0x457841+_0x7f4925;},_0x544c77[_0x8b878(0xa3)]=function(_0x5b322b,_0x44d42c){return _0x5b322b===_0x44d42c;},_0x544c77[_0x8b878(0xe1)]=_0x8b878(0xff);const _0x40a58c=_0x544c77;let _0x4f2f28=0x0;if(_0x40a58c[_0x8b878(0xa3)](_0x197689[_0x8b878(0xa4)],0x0))return _0x4f2f28;return console[_0x8b878(0xdd)](chalk['bold']['bgWhite'](_0x40a58c[_0x8b878(0xe1)])),_0x197689['forEach'](_0x1a1d5f=>{const _0x136ee4=_0x8b878,_0x5cf7e7=_0x1a1d5f[0x0],_0x1bc405=_0x1a1d5f[0x1];console[_0x136ee4(0xdd)]('\x0a'+chalk['bold'][_0x136ee4(0xa0)](''+helper['getPlatformName'](_0x5cf7e7)));const _0x2439a7=_0x1bc405[_0x136ee4(0xdf)],_0xd29125=_0x1bc405['steps'],_0x11654f=_0x1bc405[_0x136ee4(0xbb)],_0x580c1a=_0x1bc405[_0x136ee4(0xaf)],_0x12f290=_0x1bc405[_0x136ee4(0xc1)],_0x3459e8=_0x1bc405[_0x136ee4(0xbf)],_0x2114c9=_0x1bc405[_0x136ee4(0xfa)],_0x40ac34=_0x1bc405['stepsUndefined'],_0x5cd2c4=_0x1bc405[_0x136ee4(0xeb)],_0x15dc1b=_0x1bc405[_0x136ee4(0xd5)],_0x16e4f4=_0x1bc405[_0x136ee4(0xf2)];let _0x3d8c4a=_0x2439a7+_0x136ee4(0xd9);const _0x4a6f8c=_0x40a58c[_0x136ee4(0xd0)](_0x40a58c[_0x136ee4(0xc3)](_0x2439a7,_0x11654f),0x0)?_0x40a58c[_0x136ee4(0xc4)](_0x2439a7,_0x11654f):0x0;if(_0x40a58c[_0x136ee4(0xca)](_0x11654f,0x0)&&_0x40a58c[_0x136ee4(0xd0)](_0x4a6f8c,0x0))_0x3d8c4a+='\x20('+chalk[_0x136ee4(0xac)][_0x136ee4(0xab)](_0x11654f+_0x136ee4(0xf1))+',\x20'+chalk[_0x136ee4(0xac)][_0x136ee4(0x9b)](_0x4a6f8c+_0x136ee4(0xbd))+')';else(_0x40a58c[_0x136ee4(0xd0)](_0x11654f,0x0)||_0x40a58c['KkSJM'](_0x4a6f8c,0x0))&&(_0x3d8c4a+=_0x40a58c[_0x136ee4(0xee)](_0x11654f,0x0)?'\x20('+chalk[_0x136ee4(0xac)]['red'](_0x11654f+'\x20failed')+')':'\x20('+chalk[_0x136ee4(0xac)][_0x136ee4(0x9b)](_0x4a6f8c+_0x136ee4(0xbd))+')');const _0x5e98b0=_0xd29125+_0x136ee4(0xf8),_0x50378b=[];_0x40a58c[_0x136ee4(0xe2)](_0x15dc1b,0x0)&&_0x50378b[_0x136ee4(0xad)](''+chalk[_0x136ee4(0xac)]['red'](_0x15dc1b+'\x20ambiguous'));_0x40a58c[_0x136ee4(0xd8)](_0x580c1a,0x0)&&_0x50378b['push'](''+chalk['bold'][_0x136ee4(0xab)](_0x580c1a+_0x136ee4(0xf1)));_0x40a58c[_0x136ee4(0x10e)](_0x12f290,0x0)&&_0x50378b[_0x136ee4(0xad)](''+chalk[_0x136ee4(0xac)][_0x136ee4(0x9b)](_0x12f290+'\x20passed'));_0x40a58c[_0x136ee4(0x10b)](_0x2114c9,0x0)&&_0x50378b['push'](''+chalk[_0x136ee4(0xac)][_0x136ee4(0xa0)](_0x2114c9+_0x136ee4(0x10a)));_0x40a58c[_0x136ee4(0xef)](_0x3459e8,0x0)&&_0x50378b[_0x136ee4(0xad)](''+chalk[_0x136ee4(0xac)][_0x136ee4(0x10d)](_0x3459e8+_0x136ee4(0xea)));_0x40a58c[_0x136ee4(0xa6)](_0x40ac34,0x0)&&_0x50378b[_0x136ee4(0xad)](''+chalk[_0x136ee4(0xac)][_0x136ee4(0xa0)](_0x40ac34+_0x136ee4(0xf7)));_0x40a58c['hdPtd'](_0x5cd2c4,0x0)&&_0x50378b[_0x136ee4(0xad)](''+chalk[_0x136ee4(0xac)][_0x136ee4(0xa0)](_0x5cd2c4+_0x136ee4(0xea)));const _0x2cf3f0=_0x40a58c[_0x136ee4(0xba)](_0x40a58c[_0x136ee4(0xa9)](_0x40a58c[_0x136ee4(0xa9)](_0x5e98b0,'('),_0x50378b[_0x136ee4(0xe9)](',\x20')),')');console[_0x136ee4(0xdd)](_0x40a58c[_0x136ee4(0xe6)](_0x40a58c[_0x136ee4(0xba)](_0x40a58c[_0x136ee4(0xce)](_0x40a58c[_0x136ee4(0xb8)]('\x0a',_0x3d8c4a),'\x0a'),_0x2cf3f0),'\x0a')),_0x40a58c[_0x136ee4(0xa3)](_0x16e4f4,![])&&(_0x4f2f28=0x1);}),_0x4f2f28;}async function run(_0x1f426c,_0x3d568e){const _0x539004=a5_0x5d12ba,_0x2aca63={'cTJaP':function(_0xdb7d5f,_0x311eac){return _0xdb7d5f(_0x311eac);},'MuSRj':function(_0xc71df4,_0xd57653){return _0xc71df4>_0xd57653;},'BXgfK':_0x539004(0xf0),'XbCyf':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','fOhNU':_0x539004(0xc0),'KDwTQ':_0x539004(0xd3),'qvTIv':'cucumber-js','gnyAG':_0x539004(0xf3),'mOWgq':function(_0x429316,_0x275702){return _0x429316>_0x275702;},'txjXC':function(_0x562733,_0x4b7eb2){return _0x562733-_0x4b7eb2;},'KcQsC':function(_0x507e49,_0x1b982f){return _0x507e49>=_0x1b982f;},'kKNsb':function(_0x19bac4,_0x449795){return _0x19bac4!=_0x449795;},'JQzYT':_0x539004(0x9f),'nmWUN':function(_0x202c80,_0x469f9b,_0x499b7e,_0xfd045d,_0x539581,_0x35b6d8){return _0x202c80(_0x469f9b,_0x499b7e,_0xfd045d,_0x539581,_0x35b6d8);}},_0x2f69a5=new BrowserStackSetup(_0x1f426c,_0x2aca63['qvTIv']);await _0x2f69a5[_0x539004(0xa7)]();!helper[_0x539004(0xdc)]()&&await _0x2f69a5['setupTCGAuth']();await helper[_0x539004(0xbe)](_0x2f69a5['config']);const _0x16bbbe=helper['useW3C'](_0x2f69a5[_0x539004(0xd2)]),_0x1e0374=helper['prepareCapabilities'](_0x2f69a5[_0x539004(0xd2)],_0x16bbbe,constants[_0x539004(0xb9)][_0x539004(0xc8)]);if(!_0x2f69a5[_0x539004(0xd2)])return;const _0x25a116=_0x2f69a5[_0x539004(0xd2)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1f426c,_0x3d568e,_0x2f69a5[_0x539004(0xd2)],constants['FRAMEWORKS'][_0x539004(0xc8)])||0x1,_0x5cd447={'server':helper[_0x539004(0xe5)](_0x2f69a5[_0x539004(0xd2)]),'proxySettings':_0x2f69a5[_0x539004(0xd2)][_0x539004(0xd1)],'maxWorkers':_0x25a116,'browserStackLogLevel':_0x2f69a5[_0x539004(0xd2)][_0x539004(0x107)],'skipSessionName':_0x2f69a5['config'][_0x539004(0xcd)][_0x539004(0xfb)],'skipSessionStatus':_0x2f69a5['config'][_0x539004(0xcd)][_0x539004(0xaa)],'turboScaleUrl':_0x2f69a5['config'][_0x539004(0xbc)]},_0x31eb1c=process[_0x539004(0xde)],[_0x287b4a,_0x5e3cb5]=helper['parseFormatters'](_0x31eb1c),_0x5520de=path[_0x539004(0xe9)](process[_0x539004(0xfe)](),_0x2aca63[_0x539004(0xc2)]);if(_0x2aca63['mOWgq'](_0x5e3cb5[_0x539004(0xa4)],0x0)){helper[_0x539004(0xb7)](_0x5520de);for(let _0x3bc42c=_0x2aca63[_0x539004(0xcb)](_0x287b4a[_0x539004(0xa4)],0x1);_0x2aca63[_0x539004(0xcf)](_0x3bc42c,0x0);_0x3bc42c--){_0x31eb1c[_0x539004(0xa5)](_0x287b4a[_0x3bc42c],0x2);}}!helper[_0x539004(0xf6)](_0x2f69a5[_0x539004(0xd2)][_0x539004(0xec)])&&(process[_0x539004(0xc6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x539004(0xfc)](_0x2f69a5['config'][_0x539004(0xec)]));_0x2aca63[_0x539004(0x102)](_0x2f69a5[_0x539004(0xd2)]['testObservability'],null)?process[_0x539004(0xc6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2f69a5[_0x539004(0xd2)][_0x539004(0xb0)]:process[_0x539004(0xc6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2aca63['JQzYT'];const _0x5d14c5=await TestHubHandler[_0x539004(0xa8)](constants[_0x539004(0xb9)][_0x539004(0xc8)],_0x2f69a5);helper[_0x539004(0xda)]();let _0x48a4c2;_0x2aca63[_0x539004(0xb2)](parallelCucumberRun,_0x1e0374,_0x5cd447,_0x2f69a5[_0x539004(0xd2)],_0x31eb1c,_0x5e3cb5)[_0x539004(0xed)](async _0x3feccb=>{const _0x39d781=_0x539004;_0x48a4c2=_0x3feccb;const _0x32233f=_0x2aca63[_0x39d781(0x101)](printCucumberStats,_0x3feccb);process[_0x39d781(0x9d)]=_0x32233f,_0x2aca63[_0x39d781(0x109)](_0x5e3cb5[_0x39d781(0xa4)],0x0)&&(logger[_0x39d781(0xe4)](_0x2aca63[_0x39d781(0xe0)]),helper[_0x39d781(0xd4)](_0x5520de,_0x5e3cb5),logger[_0x39d781(0xe4)](_0x2aca63['XbCyf']),helper[_0x39d781(0xdb)](_0x5520de));})[_0x539004(0xb1)](async()=>{const _0x29d3c0=_0x539004;_0x2f69a5[_0x29d3c0(0xd7)]=helper[_0x29d3c0(0x100)](_0x48a4c2,_0x2aca63[_0x29d3c0(0xc5)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x29d3c0(0xe8)]();}catch(_0x494b3d){logger[_0x29d3c0(0xe4)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x29d3c0(0x108)](_0x494b3d));}try{const {browserstackFolderPath:_0x3163f0,tcgConfigPath:_0x779337}=helper['getTCGConfigFilePaths']();fs[_0x29d3c0(0xcc)](_0x779337),fs[_0x29d3c0(0xb6)](_0x3163f0);}catch(_0x4cba54){logger['debug'](_0x2aca63[_0x29d3c0(0xa2)],_0x4cba54);}await utilities[_0x29d3c0(0x10c)](_0x2f69a5);});}module[a5_0x5d12ba(0xb5)]=run;
|
|
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;
|