browserstack-node-sdk 1.34.21 → 1.34.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -0
- package/src/helpers/central-scanner/helpers.js +1 -0
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x4f9067=a1_0x2d33;(function(_0x21061b,_0x3da6b6){const _0x397ecc=a1_0x2d33,_0x18ab2d=_0x21061b();while(!![]){try{const _0x175532=-parseInt(_0x397ecc(0x220))/0x1+parseInt(_0x397ecc(0x184))/0x2+parseInt(_0x397ecc(0x195))/0x3*(-parseInt(_0x397ecc(0x1c4))/0x4)+-parseInt(_0x397ecc(0x18b))/0x5*(-parseInt(_0x397ecc(0x1c6))/0x6)+-parseInt(_0x397ecc(0x224))/0x7*(parseInt(_0x397ecc(0x1e7))/0x8)+-parseInt(_0x397ecc(0x1b5))/0x9*(-parseInt(_0x397ecc(0x1f0))/0xa)+parseInt(_0x397ecc(0x1aa))/0xb;if(_0x175532===_0x3da6b6)break;else _0x18ab2d['push'](_0x18ab2d['shift']());}catch(_0x329ef3){_0x18ab2d['push'](_0x18ab2d['shift']());}}}(a1_0x44e3,0xdadbd));function a1_0x44e3(){const _0x76fce1=['filter','11185009nGTgSr','../../helpers/accessibility-automation/scripts','call','stop','bddStep','prototype','Puppeteer','TEST_LOG','../../bin/playwright/sessionDetails','dYPXy','accessibilityPlatform','1080621dkfnsT','VBibe','sLPZp','initSaveScreenshot','Playwright','performScan','bstackAllyScanning','./helper.js','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','thTestRunUuid','FhYCP','YMoud','dispatcher','SnzdI','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','357132VGHtKc','skipped','249492SjNQVH','then','DhOaK','base64','getResultsSummary','../../helpers/testhub/constants.js','warn','thJwtToken','eGVYn','lQhnc','CtfLA','mpajz','class','__driver','zzuGN','../../helpers/performance-tester','passed','exports','container','Edaou','ApGAY','ctx','VdwSj','MBDYD','readFileSync','patch','helpers','./o11yHelper','BROWSERSTACK_TESTHUB_UUID','name','util','HInMO','SjwBg','763288RhJpNR','title','FdpCw','mTbSP','step','__skipSessionStatus','codeceptjs/lib/utils.js','ZcRjm','bind','60nyhtDy','event','SIeFt','captureEvent','catch','after','TEST_SCREENSHOT','Suite','Element','pid','overwriteCommand','stringify','constructor','enabled','dhnhK','FyFez','HOOK_RUN_STARTED','TEST_RUN_SKIPPED','patchSaveScreenshot','EttWX','started','__workerDetails','../../helpers/test-observability/utils','comment','hook','executeScript','test','getAccessibilityResultsSummary','status','ehiDL','Performing\x20scan\x20for\x20','MmTPn','HOOK_RUN_FINISHED','action','codeceptjs/lib/helper/WebDriver.js','arguments','add','MQSEX','../../bin/playwright/accessibility-helper','UWMCV','ENV_VAR','toISOString','browserStackExecuteDriver','setSessionName','before','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QOvdd','commandsToWrap','1304421BdCRch','restore','getAccessibilityResults','saveTestResults','7CmSppb','skipSessionName','thBuildUuid','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','captureError','okVBu','debug','reason','browserstack_executor:\x20','HPVUF','startMonitoring','cLNdQ','codeceptjs/lib/helper/Playwright.js','1847092jSZGkd','AwWdg','info','all','INFO','../../helpers/helper','skipSessionStatus','85QpvtmL','BS_TESTOPS_ALLOW_SCREENSHOTS','PCvUF','titlePath','fbdWa','TzSNQ','ZfrZz','env','GPRoj','TEST_RUN_STARTED','36loQkfQ','currentTest','JMkfh','bs:addLog:','IQzUx','sXCIA','stopMonitoring','RDrkM','bddStepFinish','fireEvent','_before','TEST_RUN_FINISHED','saveScreenshot','find','codeceptjs/lib/recorder.js','contexts','failed','bddStepStart','apply','TestCafe'];a1_0x44e3=function(){return _0x76fce1;};return a1_0x44e3();}const fs=require('fs'),util=require(a1_0x4f9067(0x1e4)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4f9067(0x189)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x4f9067(0x206)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x4f9067(0x1b2)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4f9067(0x1e1)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x4f9067(0x216)),scripts=require(a1_0x4f9067(0x1ab)),PerformanceTester=require(a1_0x4f9067(0x1d5)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4f9067(0x1bc)),testHubConstants=require(a1_0x4f9067(0x1cb)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x4f9067(0x1ed)),CodeceptWebDriver=requireModule(a1_0x4f9067(0x212)),CodeceptRecorder=requireModule(a1_0x4f9067(0x1a3)),CodeceptPlaywright=requireModule(a1_0x4f9067(0x183)),playwrightMarkSessionStatus=(_0x4bd306,_0x2360f1,_0x1448fd)=>{const _0x42fe54=a1_0x4f9067,_0x2150ca={'bOAac':'setSessionStatus','TzSNQ':function(_0x24cfb0,_0xffbbc5){return _0x24cfb0(_0xffbbc5);}},_0x230e73={};_0x230e73[_0x42fe54(0x20c)]=_0x2360f1;const _0x4f7a0b={};_0x4f7a0b[_0x42fe54(0x211)]=_0x2150ca['bOAac'],_0x4f7a0b[_0x42fe54(0x213)]=_0x230e73;const _0x5d3e01=_0x4f7a0b;return!_0x2150ca[_0x42fe54(0x190)](isUndefined,_0x1448fd)&&(_0x5d3e01[_0x42fe54(0x213)][_0x42fe54(0x17e)]=JSON[_0x42fe54(0x1fb)](_0x1448fd)),_0x4bd306[_0x42fe54(0x209)](()=>{},_0x42fe54(0x17f)+JSON['stringify'](_0x5d3e01));},o11ySync=async _0x450cf4=>{const _0x528fc5=a1_0x4f9067,_0x5376f3={};_0x5376f3['FdpCw']=function(_0x55d8b1,_0x2dd23e){return _0x55d8b1===_0x2dd23e;},_0x5376f3[_0x528fc5(0x197)]=_0x528fc5(0x1b9);const _0x257eb5=_0x5376f3;_0x257eb5[_0x528fc5(0x1e9)](_0x450cf4['constructor'][_0x528fc5(0x1e3)],_0x257eb5['JMkfh'])?await _0x450cf4[_0x528fc5(0x209)](_0x378e42=>{},testOpsHelper['getSyncScript']()):await _0x450cf4['executeScript'](testOpsHelper['getSyncScript']());},markSessionName=async(_0x1a44a5,_0x2e7c09)=>{const _0x18853b=a1_0x4f9067,_0x144bf6={};_0x144bf6[_0x18853b(0x185)]=_0x18853b(0x21b),_0x144bf6[_0x18853b(0x1ff)]=function(_0x47b4fc,_0x35d8a9){return _0x47b4fc===_0x35d8a9;},_0x144bf6[_0x18853b(0x1b3)]=_0x18853b(0x1b9);const _0x38a9d6=_0x144bf6,_0x2233fc={};_0x2233fc[_0x18853b(0x1e3)]=_0x2e7c09;const _0x44b9e6={};_0x44b9e6[_0x18853b(0x211)]=_0x38a9d6[_0x18853b(0x185)],_0x44b9e6['arguments']=_0x2233fc;const _0x42fcb1=_0x44b9e6;_0x38a9d6[_0x18853b(0x1ff)](_0x1a44a5[_0x18853b(0x1fc)][_0x18853b(0x1e3)],_0x38a9d6[_0x18853b(0x1b3)])?await _0x1a44a5[_0x18853b(0x209)](()=>{},'browserstack_executor:\x20'+JSON[_0x18853b(0x1fb)](_0x42fcb1)):await _0x1a44a5['executeScript']('browserstack_executor:\x20'+JSON[_0x18853b(0x1fb)](_0x42fcb1));},patchSaveScreenshot=_0x150b32=>{const _0x32a865=a1_0x4f9067,_0x5c07e2={'PCvUF':_0x32a865(0x1c9),'sXCIA':_0x32a865(0x1f6),'ZcRjm':function(_0x85687c){return _0x85687c();},'eGVYn':function(_0x1c0400,_0x13f831){return _0x1c0400(_0x13f831);}};_0x5c07e2[_0x32a865(0x1ce)](isTrue,process[_0x32a865(0x192)][_0x32a865(0x18c)])&&!_0x150b32['patchSaveScreenshot']&&(_0x150b32[_0x32a865(0x202)]=!![],_0x150b32[_0x32a865(0x1b8)]=_0x150b32['saveScreenshot'],_0x150b32[_0x32a865(0x1a1)]=(_0x4f74be,_0x574238=![])=>{const _0x3c7b4a=_0x32a865,_0x44ae8f={'VBibe':_0x5c07e2[_0x3c7b4a(0x18d)],'sLPZp':_0x5c07e2[_0x3c7b4a(0x19a)],'EttWX':function(_0x51b5e3){const _0x59e1d7=_0x3c7b4a;return _0x5c07e2[_0x59e1d7(0x1ee)](_0x51b5e3);}};return new Promise(function(_0x305297,_0x81bd68){const _0xf6b0ef=_0x3c7b4a;_0x150b32[_0xf6b0ef(0x1b8)](_0x4f74be,_0x574238)[_0xf6b0ef(0x1c7)](()=>{const _0x5e4afc=_0xf6b0ef,_0x4c3a67=CodeceptUtils['screenshotOutputFolder'](_0x4f74be),_0x5740cb=fs[_0x5e4afc(0x1de)](_0x4c3a67);process['emit']('bs:addLog:'+process[_0x5e4afc(0x1f9)],{'timestamp':new Date()['toISOString'](),'message':_0x5740cb['toString'](_0x44ae8f[_0x5e4afc(0x1b6)]),'kind':_0x44ae8f[_0x5e4afc(0x1b7)]}),_0x44ae8f[_0x5e4afc(0x203)](_0x305297);})[_0xf6b0ef(0x1f4)](()=>null);});});},patchWebDriverBefore=_0x46c485=>{const _0x557e8d=a1_0x4f9067,_0x30e4d2={'HInMO':function(_0xfa40a){return _0xfa40a();},'VdwSj':function(_0x3a5f9c,_0x240c1a){return _0x3a5f9c(_0x240c1a);},'fMyIW':function(_0x8c6378,_0x3b52f6){return _0x8c6378===_0x3b52f6;},'QOvdd':_0x557e8d(0x1f8),'Edaou':function(_0x4701a8,_0x368c7d){return _0x4701a8(_0x368c7d);}},_0x1d9a60=async function(_0x52de43,_0x5c4520){const _0x49a8c5=_0x557e8d;return _0x30e4d2[_0x49a8c5(0x1e5)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x49a8c5(0x1b4)]&&scripts['shouldWrapCommand'](_0x52de43['name'])&&_0x30e4d2[_0x49a8c5(0x1dc)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x49a8c5(0x1bb)]=!![],logger[_0x49a8c5(0x17d)](_0x49a8c5(0x20e)+_0x52de43[_0x49a8c5(0x1d2)]+'\x20'+_0x52de43['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x46c485,scripts[_0x49a8c5(0x1ba)])),global[_0x49a8c5(0x1bb)]=![],_0x5c4520[_0x49a8c5(0x1a7)](this,Array[_0x49a8c5(0x1af)]['slice'][_0x49a8c5(0x1ac)](arguments,0x2));},_0x35616f=CodeceptWebDriver[_0x557e8d(0x1af)][_0x557e8d(0x19f)];CodeceptWebDriver[_0x557e8d(0x1af)]['_before']=async function(){const _0x463ad3=_0x557e8d,_0x297cd0={'mEmfv':function(_0x25a28b,_0x400b32){return _0x30e4d2['fMyIW'](_0x25a28b,_0x400b32);},'ZfrZz':_0x30e4d2[_0x463ad3(0x21e)]};await _0x35616f[_0x463ad3(0x1a7)](this,arguments),scripts[_0x463ad3(0x21f)][_0x463ad3(0x1a9)](_0x1d95dc=>_0x1d95dc['name']&&_0x1d95dc[_0x463ad3(0x1d2)])['forEach'](_0x5c5412=>{const _0x4d3912=_0x463ad3;this['browser'][_0x4d3912(0x1fa)](_0x5c5412[_0x4d3912(0x1e3)],_0x1d9a60[_0x4d3912(0x1ef)](this,_0x5c5412),_0x297cd0['mEmfv'](_0x5c5412['class'],_0x297cd0[_0x4d3912(0x191)]));}),_0x30e4d2[_0x463ad3(0x1d9)](processWebDriverConfig,_0x46c485);};},patchPlaywrightBefore=()=>{const _0x53ebe5=a1_0x4f9067;PlaywrightSessionDetails[_0x53ebe5(0x1df)]();const _0x46ca7c=CodeceptPlaywright['prototype'][_0x53ebe5(0x19f)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x501991=_0x53ebe5;this['browserContext']=await this['browser'][_0x501991(0x1a4)]()[0x0],await _0x46ca7c[_0x501991(0x1a7)](this,arguments);};},getCodeceptDriver=()=>{const _0x1777bb=a1_0x4f9067,_0x18038b={};_0x18038b['SnzdI']='WebDriver',_0x18038b[_0x1777bb(0x19c)]=_0x1777bb(0x1b9),_0x18038b[_0x1777bb(0x1e6)]=_0x1777bb(0x1b0),_0x18038b[_0x1777bb(0x182)]=_0x1777bb(0x1a8);const _0x4f5964=_0x18038b,_0x4309d0=[_0x4f5964[_0x1777bb(0x1c2)],_0x4f5964[_0x1777bb(0x19c)],_0x4f5964[_0x1777bb(0x1e6)],_0x4f5964[_0x1777bb(0x182)]],_0x516631=_0x4309d0[_0x1777bb(0x1a2)](_0x2e0793=>!!CodeceptJS['container'][_0x1777bb(0x1e0)](_0x2e0793));if(!_0x516631)return null;return CodeceptJS[_0x1777bb(0x1d8)][_0x1777bb(0x1e0)](_0x516631);};function a1_0x2d33(_0x6848d7,_0x352e38){const _0x44e3f7=a1_0x44e3();return a1_0x2d33=function(_0x2d33a2,_0x30a3ff){_0x2d33a2=_0x2d33a2-0x17c;let _0x59e321=_0x44e3f7[_0x2d33a2];return _0x59e321;},a1_0x2d33(_0x6848d7,_0x352e38);}module[a1_0x4f9067(0x1d7)]=function(_0x46b6c1){const _0x577a0b=a1_0x4f9067,_0x541a82={'ApGAY':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fbdWa':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','GPRoj':function(_0x18fc7a){return _0x18fc7a();},'mTbSP':function(_0x4aa806){return _0x4aa806();},'SIeFt':function(_0x4aba86,_0x5e75b1){return _0x4aba86(_0x5e75b1);},'YMoud':function(_0x4c7bcf,_0x4cfcfa,_0x55bd7e){return _0x4c7bcf(_0x4cfcfa,_0x55bd7e);},'UWMCV':function(_0x4e31c4){return _0x4e31c4();},'MBDYD':function(_0x120de0,_0x216768,_0x41c553){return _0x120de0(_0x216768,_0x41c553);},'FhYCP':function(_0xf9dec5,_0x5dd0c9,_0x95f1d2,_0x1dfe25){return _0xf9dec5(_0x5dd0c9,_0x95f1d2,_0x1dfe25);},'dhnhK':function(_0xd87f3e,_0xf71fc){return _0xd87f3e===_0xf71fc;},'gHkGA':_0x577a0b(0x1f7),'NMPUp':function(_0x16697f){return _0x16697f();},'NxHkE':_0x577a0b(0x21d),'fJBwi':_0x577a0b(0x188),'MmTPn':_0x577a0b(0x1b1),'mpajz':_0x577a0b(0x1b9),'EhmaF':function(_0x4cae10){return _0x4cae10();}};_0x46b6c1[_0x577a0b(0x18a)]&&(global[_0x577a0b(0x1ec)]=_0x46b6c1[_0x577a0b(0x18a)]);PerformanceTester[_0x577a0b(0x181)]();const _0x2d96d4=_0x541a82[_0x577a0b(0x193)](getCodeceptDriver),_0x4fbbd2=new O11yHelper(_0x2d96d4,_0x46b6c1),_0x4b24eb=!!CodeceptJS[_0x577a0b(0x1d8)][_0x577a0b(0x1e0)](_0x541a82[_0x577a0b(0x1d1)]);global[_0x577a0b(0x1d3)]=_0x2d96d4,_0x2d96d4&&(_0x4b24eb?_0x541a82['EhmaF'](patchPlaywrightBefore):_0x541a82[_0x577a0b(0x1f2)](patchWebDriverBefore,_0x2d96d4),_0x2d96d4[_0x577a0b(0x20b)]=async()=>{const _0x193e63=_0x577a0b;if(global[_0x193e63(0x1b4)])await AccessibilityHelper[_0x193e63(0x21a)](_0x2d96d4,scripts[_0x193e63(0x1ba)]),await AccessibilityHelper[_0x193e63(0x21a)](_0x2d96d4,scripts[_0x193e63(0x1ca)]);else return logger[_0x193e63(0x1cc)](_0x541a82[_0x193e63(0x1da)]),{};},_0x2d96d4[_0x577a0b(0x222)]=async()=>{const _0x1ab80c=_0x577a0b;if(global[_0x1ab80c(0x1b4)])await AccessibilityHelper[_0x1ab80c(0x21a)](_0x2d96d4,scripts[_0x1ab80c(0x1ba)]),await AccessibilityHelper[_0x1ab80c(0x21a)](_0x2d96d4,scripts['getResults']);else return logger[_0x1ab80c(0x1cc)](_0x541a82[_0x1ab80c(0x18f)]),{};},_0x541a82[_0x577a0b(0x1f2)](patchSaveScreenshot,_0x2d96d4)),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x187)][_0x577a0b(0x21c)],()=>{try{_0x4fbbd2['start'](),testOpsHelper['addRequestSpy']();}catch(_0xe29c71){PerformanceTester['captureError'](_0xe29c71);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)]['all'][_0x577a0b(0x1f5)],async()=>{const _0x38b602=_0x577a0b;try{requestSpy[_0x38b602(0x221)](),await _0x4fbbd2[_0x38b602(0x1ad)]();}catch(_0x2d0a11){PerformanceTester[_0x38b602(0x228)](_0x2d0a11);}finally{PerformanceTester[_0x38b602(0x19b)]();}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)]['hook']['started'],_0x35205e=>{const _0x5d6427=_0x577a0b;try{const _0x2e9dbc=_0x35205e[_0x5d6427(0x1db)][_0x5d6427(0x20a)],_0x329707=_0x4fbbd2[_0x5d6427(0x1f3)](TEST_EVENTS[_0x5d6427(0x200)],_0x2e9dbc);CodeceptRecorder[_0x5d6427(0x214)](()=>_0x4fbbd2[_0x5d6427(0x19e)](TEST_EVENTS[_0x5d6427(0x200)],_0x329707));}catch(_0x584112){PerformanceTester[_0x5d6427(0x228)](_0x584112);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x577a0b(0x208)][_0x577a0b(0x1d6)],_0x1c9a4b=>{const _0x342443=_0x577a0b;try{const _0x195a88=_0x1c9a4b['ctx'][_0x342443(0x20a)],_0x41880c=_0x4fbbd2[_0x342443(0x1f3)](TEST_EVENTS[_0x342443(0x210)],_0x195a88);CodeceptRecorder[_0x342443(0x214)](()=>_0x4fbbd2[_0x342443(0x19e)](TEST_EVENTS[_0x342443(0x210)],_0x41880c));}catch(_0x492243){PerformanceTester[_0x342443(0x228)](_0x492243);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x208)][_0x577a0b(0x1a5)],async(_0x170a69,_0x13d93f)=>{const _0x4307ef=_0x577a0b;try{const _0x595ca0=_0x170a69[_0x4307ef(0x1db)][_0x4307ef(0x20a)],_0x26bcaf=_0x4fbbd2[_0x4307ef(0x1f3)](TEST_EVENTS[_0x4307ef(0x210)],_0x595ca0,_0x13d93f);CodeceptRecorder['add'](()=>_0x4fbbd2[_0x4307ef(0x19e)](TEST_EVENTS[_0x4307ef(0x210)],_0x26bcaf));}catch(_0x25bf03){PerformanceTester[_0x4307ef(0x228)](_0x25bf03);}}),CodeceptJS['event'][_0x577a0b(0x1c1)]['on'](CodeceptJS['event'][_0x577a0b(0x20a)][_0x577a0b(0x21c)],_0xd4cbfb=>{const _0x22e869=_0x577a0b;try{_0x541a82[_0x22e869(0x193)](isBrowserstackInfra)&&(_0x4b24eb&&(global[_0x22e869(0x205)]={'currentTest':{'name':_0xd4cbfb[_0x22e869(0x1e8)],'testInfo':{'titlePath':_0xd4cbfb[_0x22e869(0x18e)]()}}}));}catch(_0xb130b1){PerformanceTester[_0x22e869(0x228)](_0xb130b1);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x20a)][_0x577a0b(0x204)],_0x190ef2=>{const _0x4672a7=_0x577a0b,_0x1264b8={'zzuGN':function(_0x58af98){const _0x2fe499=a1_0x2d33;return _0x541a82[_0x2fe499(0x1ea)](_0x58af98);},'IQzUx':function(_0x51e5ef,_0x3224b4){const _0x5b3733=a1_0x2d33;return _0x541a82[_0x5b3733(0x1f2)](_0x51e5ef,_0x3224b4);},'HPVUF':function(_0x5cc38a,_0x25ab4a,_0x2775f3){const _0x5a3451=a1_0x2d33;return _0x541a82[_0x5a3451(0x1c0)](_0x5cc38a,_0x25ab4a,_0x2775f3);}};try{const _0x241022=_0x4fbbd2[_0x4672a7(0x1f3)](TEST_EVENTS['TEST_RUN_STARTED'],_0x190ef2);CodeceptRecorder[_0x4672a7(0x214)](()=>_0x4fbbd2[_0x4672a7(0x19e)](TEST_EVENTS[_0x4672a7(0x194)],_0x241022)),CodeceptRecorder[_0x4672a7(0x214)](async()=>{const _0x2090b3=_0x4672a7;_0x1264b8[_0x2090b3(0x1d4)](isBrowserstackInfra)&&(!_0x1264b8[_0x2090b3(0x199)](isTrue,_0x46b6c1[_0x2090b3(0x225)])&&await _0x1264b8[_0x2090b3(0x180)](markSessionName,_0x2d96d4,_0x190ef2[_0x2090b3(0x1e8)]),_0x4fbbd2[_0x2090b3(0x1fd)]&&await _0x1264b8[_0x2090b3(0x199)](o11ySync,_0x2d96d4));});}catch(_0x8bd054){PerformanceTester[_0x4672a7(0x228)](_0x8bd054);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS['event'][_0x577a0b(0x20a)]['passed'],_0x4bcc6a=>{const _0x3746e7=_0x577a0b,_0xb820b3={'okVBu':function(_0x24dcbb){return _0x541a82['UWMCV'](_0x24dcbb);},'ehiDL':function(_0x168a6e,_0x280781,_0x551f49){const _0x4198ef=a1_0x2d33;return _0x541a82[_0x4198ef(0x1c0)](_0x168a6e,_0x280781,_0x551f49);},'lQhnc':function(_0x42dbcb,_0x119cdb,_0x550405){const _0x3fecf0=a1_0x2d33;return _0x541a82[_0x3fecf0(0x1dd)](_0x42dbcb,_0x119cdb,_0x550405);}};try{const _0x1e1466=_0x4fbbd2[_0x3746e7(0x1f3)](TEST_EVENTS[_0x3746e7(0x1a0)],_0x4bcc6a);CodeceptRecorder[_0x3746e7(0x214)](()=>_0x4fbbd2[_0x3746e7(0x19e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1e1466)),CodeceptRecorder[_0x3746e7(0x214)](async()=>{const _0x10d10d=_0x3746e7;_0xb820b3[_0x10d10d(0x17c)](isBrowserstackInfra)&&(_0x4b24eb?await _0xb820b3[_0x10d10d(0x20d)](playwrightMarkSessionStatus,_0x2d96d4,STATE_PASSED):await _0xb820b3[_0x10d10d(0x1cf)](markSessionStatus,_0x2d96d4,STATE_PASSED));});}catch(_0x56df9b){PerformanceTester[_0x3746e7(0x228)](_0x56df9b);}}),CodeceptJS['event'][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)]['test'][_0x577a0b(0x1a5)],(_0x56ff39,_0x44e66e)=>{const _0x58b057=_0x577a0b,_0x7fcc32={'MQSEX':function(_0x1ed7ac){const _0x105ae0=a1_0x2d33;return _0x541a82[_0x105ae0(0x217)](_0x1ed7ac);},'CtfLA':function(_0x11ee6c,_0x25f6ad,_0xb1632e,_0x2d237e){const _0x2c4446=a1_0x2d33;return _0x541a82[_0x2c4446(0x1bf)](_0x11ee6c,_0x25f6ad,_0xb1632e,_0x2d237e);},'DhOaK':function(_0x3b63d9,_0x46462d,_0x209c6e,_0x233131){const _0x514461=a1_0x2d33;return _0x541a82[_0x514461(0x1bf)](_0x3b63d9,_0x46462d,_0x209c6e,_0x233131);}};try{if(_0x541a82[_0x58b057(0x1fe)](_0x56ff39[_0x58b057(0x1fc)][_0x58b057(0x1e3)],_0x541a82['gHkGA'])){const _0x5ab3e5=_0x4fbbd2[_0x58b057(0x1f3)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x56ff39[_0x58b057(0x1db)][_0x58b057(0x196)]);CodeceptRecorder['add'](()=>_0x4fbbd2['fireEvent'](TEST_EVENTS[_0x58b057(0x201)],_0x5ab3e5));}else{const _0x194286=_0x4fbbd2[_0x58b057(0x1f3)](TEST_EVENTS[_0x58b057(0x1a0)],_0x56ff39,_0x44e66e);CodeceptRecorder['add'](()=>{const _0x119543=_0x58b057;try{_0x4fbbd2[_0x119543(0x19e)](TEST_EVENTS[_0x119543(0x1a0)],_0x194286);}catch(_0x5aba08){logger['debug'](_0x119543(0x1c3)+util['format'](_0x5aba08));}}),CodeceptRecorder[_0x58b057(0x214)](async()=>{const _0x5e5f61=_0x58b057;try{_0x7fcc32[_0x5e5f61(0x215)](isBrowserstackInfra)&&(_0x4b24eb?await _0x7fcc32[_0x5e5f61(0x1d0)](playwrightMarkSessionStatus,_0x2d96d4,STATE_FAILED,_0x44e66e):await _0x7fcc32[_0x5e5f61(0x1c8)](markSessionStatus,_0x2d96d4,STATE_FAILED,_0x44e66e));}catch(_0x2d9bbc){logger[_0x5e5f61(0x17d)](_0x5e5f61(0x1bd)+util['format'](_0x2d9bbc));}});}}catch(_0x3c23a3){PerformanceTester[_0x58b057(0x228)](_0x3c23a3);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)]['test'][_0x577a0b(0x1c5)],_0x2b6f94=>{const _0x21b2b2=_0x577a0b;try{const _0x2cd68d=_0x4fbbd2[_0x21b2b2(0x1f3)](TEST_EVENTS[_0x21b2b2(0x201)],_0x2b6f94);CodeceptRecorder[_0x21b2b2(0x214)](()=>_0x4fbbd2[_0x21b2b2(0x19e)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2cd68d));}catch(_0x5f2874){PerformanceTester[_0x21b2b2(0x228)](_0x5f2874);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS['event'][_0x577a0b(0x20a)][_0x577a0b(0x1f5)],async(_0x486b41,_0x17bb67)=>{const _0x431bcd=_0x577a0b;try{if(_0x541a82['NMPUp'](isBrowserstackInfra)){const _0x16f0a5=_0x541a82[_0x431bcd(0x1c0)](shouldScanTestForAccessibility,_0x486b41['titlePath'](),!![]);if(_0x541a82['GPRoj'](isAccessibilityAutomationSession)&&global[_0x431bcd(0x1b4)]&&_0x16f0a5){const _0x4b2644={};_0x4b2644[_0x431bcd(0x1be)]=_0x486b41['testAnalyticsId'],_0x4b2644[_0x431bcd(0x226)]=process[_0x431bcd(0x192)][testHubConstants[_0x431bcd(0x218)][_0x431bcd(0x1e2)]],_0x4b2644[_0x431bcd(0x1cd)]=process[_0x431bcd(0x192)][testHubConstants[_0x431bcd(0x218)]['BROWSERSTACK_TESTHUB_JWT']];const _0x9b6aa1=_0x4b2644;logger['debug'](_0x431bcd(0x227)+JSON[_0x431bcd(0x1fb)](_0x9b6aa1)),CodeceptRecorder[_0x431bcd(0x214)](async()=>{const _0x39dccb=_0x431bcd;await AccessibilityHelper[_0x39dccb(0x21a)](_0x2d96d4,scripts[_0x39dccb(0x1ba)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2d96d4,scripts[_0x39dccb(0x223)],_0x9b6aa1);}),logger[_0x431bcd(0x186)](_0x541a82['NxHkE']);}}}catch(_0x47869c){PerformanceTester[_0x431bcd(0x228)](_0x47869c);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1eb)][_0x577a0b(0x207)],_0x4638d5=>{const _0x3975d7=_0x577a0b;try{process['emit'](_0x3975d7(0x198)+process[_0x3975d7(0x1f9)],{'timestamp':new Date()[_0x3975d7(0x219)](),'level':_0x541a82['fJBwi'],'message':_0x4638d5,'kind':_0x541a82[_0x3975d7(0x20f)],'http_response':{}});}catch(_0x30d294){PerformanceTester[_0x3975d7(0x228)](_0x30d294);}}),CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1c1)]['on'](CodeceptJS['event']['bddStep'][_0x577a0b(0x21c)],_0x129101=>{const _0x4468ba=_0x577a0b;_0x4fbbd2[_0x4468ba(0x1a6)](_0x129101);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x577a0b(0x1f1)][_0x577a0b(0x1ae)][_0x577a0b(0x1f5)],_0x131c9f=>{const _0x2b20b1=_0x577a0b;_0x4fbbd2[_0x2b20b1(0x19d)](_0x131c9f);});};
|
|
1
|
+
const a1_0x49cc73=a1_0x1662;(function(_0x583180,_0x10fcdc){const _0x3600d7=a1_0x1662,_0x35788b=_0x583180();while(!![]){try{const _0x1598ca=parseInt(_0x3600d7(0x16f))/0x1+parseInt(_0x3600d7(0x149))/0x2*(-parseInt(_0x3600d7(0x12e))/0x3)+parseInt(_0x3600d7(0x112))/0x4*(-parseInt(_0x3600d7(0x110))/0x5)+-parseInt(_0x3600d7(0xe1))/0x6*(parseInt(_0x3600d7(0x10f))/0x7)+parseInt(_0x3600d7(0xf0))/0x8+-parseInt(_0x3600d7(0x131))/0x9+parseInt(_0x3600d7(0xf1))/0xa;if(_0x1598ca===_0x10fcdc)break;else _0x35788b['push'](_0x35788b['shift']());}catch(_0x342098){_0x35788b['push'](_0x35788b['shift']());}}}(a1_0x5a11,0xc9495));function a1_0x1662(_0x570880,_0x4c6c96){const _0x5a118f=a1_0x5a11();return a1_0x1662=function(_0x166251,_0x50cd38){_0x166251=_0x166251-0xdb;let _0x545e50=_0x5a118f[_0x166251];return _0x545e50;},a1_0x1662(_0x570880,_0x4c6c96);}const fs=require('fs'),util=require(a1_0x49cc73(0x179)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x49cc73(0x177))[a1_0x49cc73(0x144)],testOpsHelper=require(a1_0x49cc73(0x11c)),requestSpy=require(a1_0x49cc73(0xed)),PlaywrightSessionDetails=require(a1_0x49cc73(0x14e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x49cc73(0xe9)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x49cc73(0x157)),AccessibilityHelper=require(a1_0x49cc73(0x163)),scripts=require(a1_0x49cc73(0x13f)),PerformanceTester=require(a1_0x49cc73(0x128)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x49cc73(0x12c)),testHubConstants=require(a1_0x49cc73(0x156)),CodeceptJS=requireModule(a1_0x49cc73(0x17e)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x49cc73(0x139)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule(a1_0x49cc73(0x155)),playwrightMarkSessionStatus=(_0x327d72,_0xcb8662,_0x3c6793)=>{const _0x595dfc=a1_0x49cc73,_0x3c3186={'iUfrY':_0x595dfc(0x13d),'LrKKv':function(_0x4a7cbb,_0x254362){return _0x4a7cbb(_0x254362);}},_0x49092c={};_0x49092c[_0x595dfc(0x17b)]=_0xcb8662;const _0x5afc83={};_0x5afc83[_0x595dfc(0x10d)]=_0x3c3186[_0x595dfc(0x147)],_0x5afc83[_0x595dfc(0x14c)]=_0x49092c;const _0x44461c=_0x5afc83;return!_0x3c3186['LrKKv'](isUndefined,_0x3c6793)&&(_0x44461c['arguments'][_0x595dfc(0x16d)]=JSON[_0x595dfc(0x14b)](_0x3c6793)),_0x327d72['executeScript'](()=>{},_0x595dfc(0x109)+JSON['stringify'](_0x44461c));},o11ySync=async _0x1dde02=>{const _0x5e3d9f=a1_0x49cc73,_0x5c6f85={};_0x5c6f85[_0x5e3d9f(0x16b)]=function(_0x51448b,_0x2f4dd6){return _0x51448b===_0x2f4dd6;},_0x5c6f85[_0x5e3d9f(0x135)]='Playwright';const _0x31d601=_0x5c6f85;_0x31d601[_0x5e3d9f(0x16b)](_0x1dde02['constructor'][_0x5e3d9f(0x138)],_0x31d601[_0x5e3d9f(0x135)])?await _0x1dde02['executeScript'](_0x271e64=>{},testOpsHelper[_0x5e3d9f(0xdc)]()):await _0x1dde02[_0x5e3d9f(0xe3)](testOpsHelper[_0x5e3d9f(0xdc)]());},markSessionName=async(_0x855868,_0x483c23)=>{const _0x1b377e=a1_0x49cc73,_0x2af51b={};_0x2af51b[_0x1b377e(0x13c)]=_0x1b377e(0xf9),_0x2af51b[_0x1b377e(0x164)]=function(_0xa844a6,_0x5f94fe){return _0xa844a6===_0x5f94fe;},_0x2af51b['IHWrJ']=_0x1b377e(0x129);const _0x3749db=_0x2af51b,_0x454639={};_0x454639[_0x1b377e(0x138)]=_0x483c23;const _0x9986d3={};_0x9986d3[_0x1b377e(0x10d)]=_0x3749db['YbWXM'],_0x9986d3[_0x1b377e(0x14c)]=_0x454639;const _0x138533=_0x9986d3;_0x3749db[_0x1b377e(0x164)](_0x855868[_0x1b377e(0x105)][_0x1b377e(0x138)],_0x3749db[_0x1b377e(0x103)])?await _0x855868['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x1b377e(0x14b)](_0x138533)):await _0x855868[_0x1b377e(0xe3)](_0x1b377e(0x109)+JSON[_0x1b377e(0x14b)](_0x138533));},patchSaveScreenshot=_0x431ba4=>{const _0x3b45ce=a1_0x49cc73,_0x4ebc31={'JIzPd':_0x3b45ce(0x178),'yfwxb':_0x3b45ce(0x111),'uNHYO':function(_0x5e5c23){return _0x5e5c23();},'HEyJj':function(_0x5a83db,_0x5e94a6){return _0x5a83db(_0x5e94a6);}};_0x4ebc31[_0x3b45ce(0x14a)](isTrue,process[_0x3b45ce(0x127)][_0x3b45ce(0x159)])&&!_0x431ba4[_0x3b45ce(0x145)]&&(_0x431ba4[_0x3b45ce(0x145)]=!![],_0x431ba4[_0x3b45ce(0x15d)]=_0x431ba4['saveScreenshot'],_0x431ba4[_0x3b45ce(0xf2)]=(_0x1200fe,_0x1aadc5=![])=>{const _0x26c6e3=_0x3b45ce,_0x3ec213={'EvhEb':_0x4ebc31[_0x26c6e3(0xff)],'AYqwB':_0x4ebc31[_0x26c6e3(0x143)],'YNFzY':function(_0x24f8f1){const _0x465caa=_0x26c6e3;return _0x4ebc31[_0x465caa(0xdb)](_0x24f8f1);}};return new Promise(function(_0x3efd8b,_0xeb7b4a){const _0x31d21b=_0x26c6e3;_0x431ba4['initSaveScreenshot'](_0x1200fe,_0x1aadc5)['then'](()=>{const _0x183736=a1_0x1662,_0xaa79c4=CodeceptUtils[_0x183736(0xec)](_0x1200fe),_0x4d6816=fs[_0x183736(0x141)](_0xaa79c4);process[_0x183736(0x152)](_0x183736(0x175)+process[_0x183736(0xdd)],{'timestamp':new Date()[_0x183736(0xea)](),'message':_0x4d6816[_0x183736(0x122)](_0x3ec213[_0x183736(0x101)]),'kind':_0x3ec213['AYqwB']}),_0x3ec213['YNFzY'](_0x3efd8b);})[_0x31d21b(0x150)](()=>null);});});},patchWebDriverBefore=_0x314b93=>{const _0x814a58=a1_0x49cc73,_0x1fc30f={'JevUB':function(_0x5381c9){return _0x5381c9();},'zopjH':function(_0x43030b,_0x57f44a){return _0x43030b(_0x57f44a);},'aaklN':function(_0x37a39e,_0x3a4e0a){return _0x37a39e===_0x3a4e0a;},'ZnBnW':'Element','UBWlZ':function(_0x1a36a1,_0x433a9d){return _0x1a36a1(_0x433a9d);}},_0x16aca7=async function(_0x17c72f,_0x4cc79c){const _0xccb34b=a1_0x1662;return _0x1fc30f[_0xccb34b(0xdf)](isAccessibilityAutomationSession)&&!global[_0xccb34b(0x114)]&&global[_0xccb34b(0x15a)]&&scripts[_0xccb34b(0xf3)](_0x17c72f['name'])&&_0x1fc30f[_0xccb34b(0x10e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0xccb34b(0xf8)](_0xccb34b(0x140)+_0x17c72f[_0xccb34b(0x102)]+'\x20'+_0x17c72f['name']),await AccessibilityHelper[_0xccb34b(0x10a)](_0x314b93,scripts['performScan'])),global[_0xccb34b(0x114)]=![],_0x4cc79c[_0xccb34b(0xde)](this,Array[_0xccb34b(0x165)]['slice'][_0xccb34b(0x15e)](arguments,0x2));},_0x7529e5=CodeceptWebDriver[_0x814a58(0x165)]['_before'];CodeceptWebDriver[_0x814a58(0x165)][_0x814a58(0xfa)]=async function(){const _0x9f2d8d=_0x814a58,_0x3ac3ac={'pvUrv':function(_0x451758,_0x550463){const _0x4b40ba=a1_0x1662;return _0x1fc30f[_0x4b40ba(0x17d)](_0x451758,_0x550463);},'MysQK':_0x1fc30f[_0x9f2d8d(0x172)]};await _0x7529e5['apply'](this,arguments),scripts[_0x9f2d8d(0x171)][_0x9f2d8d(0x153)](_0x2f3930=>_0x2f3930[_0x9f2d8d(0x138)]&&_0x2f3930[_0x9f2d8d(0x102)])['forEach'](_0x25d3b1=>{const _0x17fcd7=_0x9f2d8d;this[_0x17fcd7(0x126)][_0x17fcd7(0x100)](_0x25d3b1['name'],_0x16aca7[_0x17fcd7(0xe8)](this,_0x25d3b1),_0x3ac3ac[_0x17fcd7(0x162)](_0x25d3b1[_0x17fcd7(0x102)],_0x3ac3ac[_0x17fcd7(0x158)]));}),_0x1fc30f[_0x9f2d8d(0xf6)](processWebDriverConfig,_0x314b93);};},patchPlaywrightBefore=()=>{const _0x5c188a=a1_0x49cc73;PlaywrightSessionDetails['patch']();const _0x7d8950=CodeceptPlaywright[_0x5c188a(0x165)]['_before'];CodeceptPlaywright[_0x5c188a(0x165)][_0x5c188a(0xfa)]=async function(){const _0x108d04=_0x5c188a;this[_0x108d04(0x167)]=await this[_0x108d04(0x126)]['contexts']()[0x0],await _0x7d8950['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x1994c1=a1_0x49cc73,_0x55bafc={};_0x55bafc['DieWW']='WebDriver',_0x55bafc[_0x1994c1(0x137)]=_0x1994c1(0x129),_0x55bafc[_0x1994c1(0x10b)]=_0x1994c1(0xf7),_0x55bafc[_0x1994c1(0x11b)]=_0x1994c1(0x161);const _0x232fb3=_0x55bafc,_0x46823a=[_0x232fb3['DieWW'],_0x232fb3['aPFfF'],_0x232fb3[_0x1994c1(0x10b)],_0x232fb3[_0x1994c1(0x11b)]],_0x5e97df=_0x46823a[_0x1994c1(0x124)](_0x19bf49=>!!CodeceptJS[_0x1994c1(0xf4)][_0x1994c1(0x16e)](_0x19bf49));if(!_0x5e97df)return null;return CodeceptJS['container'][_0x1994c1(0x16e)](_0x5e97df);};module[a1_0x49cc73(0x106)]=function(_0xca0bd2){const _0x3c4c54=a1_0x49cc73,_0x23368e={'QeMBA':_0x3c4c54(0x180),'xyPtH':_0x3c4c54(0x115),'lQLes':function(_0x1d73f0){return _0x1d73f0();},'IxIDA':function(_0x585cd3,_0x113cfb){return _0x585cd3(_0x113cfb);},'ThCpg':function(_0x166fe6,_0x5835b7,_0x1aec80){return _0x166fe6(_0x5835b7,_0x1aec80);},'nLGNA':function(_0x4a8021,_0x1e4371){return _0x4a8021(_0x1e4371);},'Zcyoa':function(_0x554ebf){return _0x554ebf();},'ofdLs':function(_0x43c71b,_0x2fa385,_0x2c9080){return _0x43c71b(_0x2fa385,_0x2c9080);},'qEfjq':function(_0x516f2c,_0x53a9c8,_0x53b372,_0x282c08){return _0x516f2c(_0x53a9c8,_0x53b372,_0x282c08);},'Wcebj':function(_0x535bdf,_0x501e43){return _0x535bdf===_0x501e43;},'mOAVc':'Suite','gWMmo':function(_0x4ac43a){return _0x4ac43a();},'XpFGa':_0x3c4c54(0x136),'QFagh':_0x3c4c54(0xfb),'qZjYK':'TEST_LOG','cxXZs':_0x3c4c54(0x129)};_0xca0bd2['skipSessionStatus']&&(global[_0x3c4c54(0x108)]=_0xca0bd2[_0x3c4c54(0xfc)]);PerformanceTester['startMonitoring']();const _0x10fb44=_0x23368e[_0x3c4c54(0x11a)](getCodeceptDriver),_0x2c4e43=new O11yHelper(_0x10fb44,_0xca0bd2),_0x32c1e5=!!CodeceptJS['container'][_0x3c4c54(0x16e)](_0x23368e[_0x3c4c54(0x168)]);global[_0x3c4c54(0xee)]=_0x10fb44,_0x10fb44&&(_0x32c1e5?_0x23368e[_0x3c4c54(0x11a)](patchPlaywrightBefore):_0x23368e[_0x3c4c54(0x17c)](patchWebDriverBefore,_0x10fb44),_0x10fb44['getAccessibilityResultsSummary']=async()=>{const _0x5b3800=_0x3c4c54;if(global[_0x5b3800(0x15a)])await AccessibilityHelper[_0x5b3800(0x10a)](_0x10fb44,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x10fb44,scripts[_0x5b3800(0x170)]);else return logger[_0x5b3800(0xe6)](_0x23368e[_0x5b3800(0x154)]),{};},_0x10fb44[_0x3c4c54(0x13a)]=async()=>{const _0x270aac=_0x3c4c54;if(global[_0x270aac(0x15a)])await AccessibilityHelper[_0x270aac(0x10a)](_0x10fb44,scripts[_0x270aac(0x16a)]),await AccessibilityHelper[_0x270aac(0x10a)](_0x10fb44,scripts[_0x270aac(0x104)]);else return logger[_0x270aac(0xe6)](_0x23368e['xyPtH']),{};},_0x23368e[_0x3c4c54(0x17c)](patchSaveScreenshot,_0x10fb44)),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x15b)][_0x3c4c54(0x130)],()=>{const _0x2a34f0=_0x3c4c54;try{_0x2c4e43[_0x2a34f0(0xe0)](),testOpsHelper['addRequestSpy']();}catch(_0x332f28){PerformanceTester[_0x2a34f0(0x166)](_0x332f28);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x15b)][_0x3c4c54(0x15f)],async()=>{const _0x42754c=_0x3c4c54;try{requestSpy[_0x42754c(0x12b)](),await _0x2c4e43[_0x42754c(0x16c)]();}catch(_0x5ae7a7){PerformanceTester[_0x42754c(0x166)](_0x5ae7a7);}finally{PerformanceTester[_0x42754c(0xeb)]();}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x123)][_0x3c4c54(0x14f)],_0x2508d9=>{const _0x37e691=_0x3c4c54;try{const _0x53bfbf=_0x2508d9[_0x37e691(0x148)]['test'],_0x5dc206=_0x2c4e43[_0x37e691(0x121)](TEST_EVENTS[_0x37e691(0xe5)],_0x53bfbf);CodeceptRecorder['add'](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x5dc206));}catch(_0x3a91c1){PerformanceTester[_0x37e691(0x166)](_0x3a91c1);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS['event'][_0x3c4c54(0x123)][_0x3c4c54(0x118)],_0x4c3427=>{const _0x2456ff=_0x3c4c54;try{const _0x1845e7=_0x4c3427[_0x2456ff(0x148)][_0x2456ff(0x146)],_0x8f451b=_0x2c4e43[_0x2456ff(0x121)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1845e7);CodeceptRecorder[_0x2456ff(0x134)](()=>_0x2c4e43[_0x2456ff(0x11d)](TEST_EVENTS[_0x2456ff(0x10c)],_0x8f451b));}catch(_0x588fd5){PerformanceTester[_0x2456ff(0x166)](_0x588fd5);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x123)][_0x3c4c54(0x11e)],async(_0x1723d7,_0x2e372b)=>{const _0x5c8c96=_0x3c4c54;try{const _0x2ab6f4=_0x1723d7[_0x5c8c96(0x148)]['test'],_0x165f0d=_0x2c4e43[_0x5c8c96(0x121)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2ab6f4,_0x2e372b);CodeceptRecorder[_0x5c8c96(0x134)](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x165f0d));}catch(_0x5562b7){PerformanceTester['captureError'](_0x5562b7);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)]['before'],_0x151946=>{const _0x5cbdda=_0x3c4c54;try{_0x23368e['lQLes'](isBrowserstackInfra)&&(_0x32c1e5&&(global[_0x5cbdda(0x107)]={'currentTest':{'name':_0x151946[_0x5cbdda(0x125)],'testInfo':{'titlePath':_0x151946[_0x5cbdda(0x160)]()}}}));}catch(_0x207f37){PerformanceTester['captureError'](_0x207f37);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x14f)],_0x1136ca=>{const _0x19dce1=_0x3c4c54;try{const _0x4daa38=_0x2c4e43[_0x19dce1(0x121)](TEST_EVENTS[_0x19dce1(0x12d)],_0x1136ca);CodeceptRecorder[_0x19dce1(0x134)](()=>_0x2c4e43[_0x19dce1(0x11d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4daa38)),CodeceptRecorder[_0x19dce1(0x134)](async()=>{const _0x11b38a=_0x19dce1;_0x23368e['lQLes'](isBrowserstackInfra)&&(!_0x23368e['IxIDA'](isTrue,_0xca0bd2[_0x11b38a(0x151)])&&await _0x23368e[_0x11b38a(0x117)](markSessionName,_0x10fb44,_0x1136ca['title']),_0x2c4e43['enabled']&&await _0x23368e['nLGNA'](o11ySync,_0x10fb44));});}catch(_0x37db46){PerformanceTester[_0x19dce1(0x166)](_0x37db46);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x118)],_0x24a0f=>{const _0x5b9b0b=_0x3c4c54;try{const _0x5e091f=_0x2c4e43[_0x5b9b0b(0x121)](TEST_EVENTS[_0x5b9b0b(0xf5)],_0x24a0f);CodeceptRecorder['add'](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5e091f)),CodeceptRecorder[_0x5b9b0b(0x134)](async()=>{const _0x22c687=_0x5b9b0b;_0x23368e[_0x22c687(0x11a)](isBrowserstackInfra)&&(_0x32c1e5?await _0x23368e[_0x22c687(0x117)](playwrightMarkSessionStatus,_0x10fb44,STATE_PASSED):await _0x23368e[_0x22c687(0x169)](markSessionStatus,_0x10fb44,STATE_PASSED));});}catch(_0x10b7b8){PerformanceTester[_0x5b9b0b(0x166)](_0x10b7b8);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS['event'][_0x3c4c54(0x146)][_0x3c4c54(0x11e)],(_0x1a9132,_0x38686f)=>{const _0x411625=_0x3c4c54;try{if(_0x23368e['Wcebj'](_0x1a9132[_0x411625(0x105)][_0x411625(0x138)],_0x23368e[_0x411625(0x132)])){const _0x5a58b1=_0x2c4e43['captureEvent'](TEST_EVENTS[_0x411625(0x14d)],_0x1a9132['ctx'][_0x411625(0xfd)]);CodeceptRecorder[_0x411625(0x134)](()=>_0x2c4e43[_0x411625(0x11d)](TEST_EVENTS[_0x411625(0x14d)],_0x5a58b1));}else{const _0x17b2da=_0x2c4e43[_0x411625(0x121)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1a9132,_0x38686f);CodeceptRecorder['add'](()=>{const _0x2cf625=_0x411625;try{_0x2c4e43[_0x2cf625(0x11d)](TEST_EVENTS[_0x2cf625(0xf5)],_0x17b2da);}catch(_0x43dce9){logger[_0x2cf625(0xf8)](_0x2cf625(0xe2)+util[_0x2cf625(0x13e)](_0x43dce9));}}),CodeceptRecorder[_0x411625(0x134)](async()=>{const _0x32f338=_0x411625;try{_0x23368e[_0x32f338(0xe4)](isBrowserstackInfra)&&(_0x32c1e5?await _0x23368e[_0x32f338(0x12f)](playwrightMarkSessionStatus,_0x10fb44,STATE_FAILED,_0x38686f):await _0x23368e['qEfjq'](markSessionStatus,_0x10fb44,STATE_FAILED,_0x38686f));}catch(_0x3e6dc6){logger['debug'](_0x32f338(0xef)+util[_0x32f338(0x13e)](_0x3e6dc6));}});}}catch(_0x1b90e5){PerformanceTester['captureError'](_0x1b90e5);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x119)],_0x320763=>{const _0x56dd3a=_0x3c4c54;try{const _0x2c4f52=_0x2c4e43[_0x56dd3a(0x121)](TEST_EVENTS[_0x56dd3a(0x14d)],_0x320763);CodeceptRecorder[_0x56dd3a(0x134)](()=>_0x2c4e43[_0x56dd3a(0x11d)](TEST_EVENTS[_0x56dd3a(0x14d)],_0x2c4f52));}catch(_0x5595a3){PerformanceTester[_0x56dd3a(0x166)](_0x5595a3);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x15f)],async(_0x31f9f4,_0x58ad53)=>{const _0x1d13bd=_0x3c4c54;try{if(_0x23368e['gWMmo'](isBrowserstackInfra)){const _0x43bf49=_0x23368e['ofdLs'](shouldScanTestForAccessibility,_0x31f9f4[_0x1d13bd(0x160)](),!![]);if(_0x23368e[_0x1d13bd(0x12a)](isAccessibilityAutomationSession)&&global[_0x1d13bd(0x15a)]&&_0x43bf49){const _0x25facd={};_0x25facd[_0x1d13bd(0x11f)]=_0x31f9f4[_0x1d13bd(0x17f)],_0x25facd[_0x1d13bd(0x116)]=process[_0x1d13bd(0x127)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x25facd[_0x1d13bd(0x13b)]=process[_0x1d13bd(0x127)][testHubConstants[_0x1d13bd(0x142)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4a22de=_0x25facd;logger[_0x1d13bd(0xf8)](_0x1d13bd(0x120)+JSON[_0x1d13bd(0x14b)](_0x4a22de)),CodeceptRecorder['add'](async()=>{const _0x27ec28=_0x1d13bd;await AccessibilityHelper[_0x27ec28(0x10a)](_0x10fb44,scripts[_0x27ec28(0x16a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10fb44,scripts[_0x27ec28(0x15c)],_0x4a22de);}),logger[_0x1d13bd(0x173)](_0x23368e[_0x1d13bd(0xfe)]);}}}catch(_0x56cc57){PerformanceTester['captureError'](_0x56cc57);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)]['step'][_0x3c4c54(0x133)],_0xbca4ac=>{const _0x5a16b0=_0x3c4c54;try{process[_0x5a16b0(0x152)](_0x5a16b0(0x175)+process['pid'],{'timestamp':new Date()[_0x5a16b0(0xea)](),'level':_0x23368e['QFagh'],'message':_0xbca4ac,'kind':_0x23368e['qZjYK'],'http_response':{}});}catch(_0x41f5a1){PerformanceTester[_0x5a16b0(0x166)](_0x41f5a1);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS['event']['bddStep'][_0x3c4c54(0x130)],_0x2ec78a=>{const _0x4934ac=_0x3c4c54;_0x2c4e43[_0x4934ac(0x176)](_0x2ec78a);}),CodeceptJS['event'][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x174)][_0x3c4c54(0x15f)],_0x10f5ab=>{const _0x29d480=_0x3c4c54;_0x2c4e43[_0x29d480(0x17a)](_0x10f5ab);});};function a1_0x5a11(){const _0x423d02=['UBWlZ','Puppeteer','debug','setSessionName','_before','INFO','skipSessionStatus','currentTest','XpFGa','JIzPd','overwriteCommand','EvhEb','class','IHWrJ','getResults','constructor','exports','__workerDetails','__skipSessionStatus','browserstack_executor:\x20','browserStackExecuteDriver','nOkGt','HOOK_RUN_FINISHED','action','zopjH','28EHNOcZ','5CxjtKv','TEST_SCREENSHOT','2706248IkplQi','dispatcher','bstackAllyScanning','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','thBuildUuid','ThCpg','passed','skipped','Zcyoa','vvvZu','../../helpers/test-observability/utils','fireEvent','failed','thTestRunUuid','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','captureEvent','toString','hook','find','title','browser','env','../../helpers/performance-tester','Playwright','gWMmo','restore','./helper.js','TEST_RUN_STARTED','11451HcbBDH','qEfjq','before','162522XQqyga','mOAVc','comment','add','PaovT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','aPFfF','name','codeceptjs/lib/helper/WebDriver.js','getAccessibilityResults','thJwtToken','YbWXM','setSessionStatus','format','../../helpers/accessibility-automation/scripts','Performing\x20scan\x20for\x20','readFileSync','ENV_VAR','yfwxb','winstonLogger','patchSaveScreenshot','test','iUfrY','ctx','492xluIyZ','HEyJj','stringify','arguments','TEST_RUN_SKIPPED','../../bin/playwright/sessionDetails','started','catch','skipSessionName','emit','filter','QeMBA','codeceptjs/lib/helper/Playwright.js','../../helpers/testhub/constants.js','../../helpers/accessibility-automation/helper','MysQK','BS_TESTOPS_ALLOW_SCREENSHOTS','accessibilityPlatform','all','saveTestResults','initSaveScreenshot','call','after','titlePath','TestCafe','pvUrv','../../bin/playwright/accessibility-helper','jqETO','prototype','captureError','browserContext','cxXZs','ofdLs','performScan','EWNQi','stop','reason','helpers','959776SVfPnK','getResultsSummary','commandsToWrap','ZnBnW','info','bddStep','bs:addLog:','bddStepStart','../../helpers/logger','base64','util','bddStepFinish','status','nLGNA','aaklN','codeceptjs/lib/index.js','testAnalyticsId','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','uNHYO','getSyncScript','pid','apply','JevUB','start','929580eGVKZv','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','executeScript','lQLes','HOOK_RUN_STARTED','warn','event','bind','./o11yHelper','toISOString','stopMonitoring','screenshotOutputFolder','../../helpers/request-spy','__driver','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','9971576NOCwXo','8715680ssgpQM','saveScreenshot','shouldWrapCommand','container','TEST_RUN_FINISHED'];a1_0x5a11=function(){return _0x423d02;};return a1_0x5a11();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x27e76a=a2_0x248c;function a2_0x17ad(){const _0x4d905d=['profile','PVyxH','5715306imqyxV','info','xfUqb','Workers','browserName','HcdcY','path','browserWSEndpoint','4313988mPTigz','WltqE','../../helpers/test-observability/utils','BROWSERSTACK_RERUN_TESTS','findIndex','BrowserStackPlugin.js','skipSessionStatus','cbcKg','addTests','Passed\x20:\x20','26FjPBiq','browser','winstonLogger','../utils/constants','--config','CODECEPT','createGroupsOfSuites','Started\x20:\x20','XwDDB','testContextOptions','printBuildLink','chdir','BROWSERSTACK_TEST_OBSERVABILITY_YML','DCCbC','log','SCEPM','push','../../helpers/helper','stack','all','before','isTestObservabilitySession','../../helpers/utilities','getUserWorkerCount','title','codecept.json','rOYTK','desiredCapabilities','event','validPlatformsPresent','kuOoZ','chrome','184251FHyojg','length','FRAMEWORKS','gherkin','isUndefined','format','env','-cucumber','BrowserStackPlugin','CLQFK','tByLm','HuDCN','getPlaywrightUrl','iYwgD','err','map','WebDriver','UqWDq','oVeWa','teardownAll','jZSeW','stringify','HBUDN','existsSync','mJAlW','util','yawAi','6154928QByiQe','RXVqw','kjAgw','390xqaoCQ','browserStackCwd','mergeDeep','playwright-firefox','accessibilityOptions','split','passed','frameworkName','root','../../helpers/logger','testConfig','ESzBd','test','nlNMv','platforms','../../helpers/BrowserStackSetup','bootstrapAll','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','launchBuild','failed','ETwXA','playwright-webkit','../../helpers/accessibility-automation/helper','false','pAUfs','prepareCapabilities','codeceptjs','require','join','UmSAU','errorMessage','7349840CMOmqX','isTrue','addConfig','eDadr','printResults','cwd','enabled','handleApp','helpers','null','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','testObservability','chromium','Playwright','getPlatformName','firefox','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','45085oDXMOD','config','skipSessionName','toLowerCase','vsKZS','accessibility','606989Tytubc','slice','process'];a2_0x17ad=function(){return _0x4d905d;};return a2_0x17ad();}(function(_0x190798,_0x1004be){const _0x85dd72=a2_0x248c,_0x1ac257=_0x190798();while(!![]){try{const _0x30f4bc=parseInt(_0x85dd72(0x216))/0x1+parseInt(_0x85dd72(0x1a2))/0x2*(parseInt(_0x85dd72(0x1c2))/0x3)+-parseInt(_0x85dd72(0x1dd))/0x4+parseInt(_0x85dd72(0x210))/0x5*(parseInt(_0x85dd72(0x1e0))/0x6)+parseInt(_0x85dd72(0x223))/0x7+-parseInt(_0x85dd72(0x1ff))/0x8+parseInt(_0x85dd72(0x21b))/0x9;if(_0x30f4bc===_0x1004be)break;else _0x1ac257['push'](_0x1ac257['shift']());}catch(_0x590c7a){_0x1ac257['push'](_0x1ac257['shift']());}}}(a2_0x17ad,0xbfbdb));const fs=require('fs'),path=require(a2_0x27e76a(0x221)),util=require(a2_0x27e76a(0x1db)),process=require(a2_0x27e76a(0x218)),logger=require(a2_0x27e76a(0x1e9))[a2_0x27e76a(0x1a4)],{default:BrowserStackSetup}=require(a2_0x27e76a(0x1ef)),helper=require(a2_0x27e76a(0x1b3)),utilities=require(a2_0x27e76a(0x1b8)),{checkAccessibilityPlatformConfig}=require(a2_0x27e76a(0x1f6)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x27e76a(0x225)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x27e76a(0x1a5)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xee40b4,_0x1b79ea)=>{const _0x145120=a2_0x27e76a,_0x2c5aed={};_0x2c5aed[_0x145120(0x1cc)]=function(_0x35cc3a,_0x36c508){return _0x35cc3a===_0x36c508;},_0x2c5aed['ESzBd']='codecept.conf.js',_0x2c5aed[_0x145120(0x1cd)]=_0x145120(0x1bb);const _0x591766=_0x2c5aed;let _0x20bb54=null;const _0x228765={};let _0x5a90fd=_0x1b79ea[_0x145120(0x227)](_0x41ec2b=>_0x41ec2b===_0x145120(0x1a6));_0x591766[_0x145120(0x1cc)](_0x5a90fd,-0x1)&&(_0x5a90fd=_0x1b79ea[_0x145120(0x227)](_0x2a05fb=>_0x2a05fb==='-c'));if(!helper['isUndefined'](_0xee40b4[_0x145120(0x211)])&&fs[_0x145120(0x1d9)](path[_0x145120(0x1fc)](process[_0x145120(0x204)](),_0xee40b4['config'])))_0x20bb54=path['join'](process[_0x145120(0x204)](),_0xee40b4[_0x145120(0x211)]),_0x1b79ea[_0x145120(0x217)](_0x5a90fd,0x2);else{if(!helper[_0x145120(0x1c6)](_0xee40b4['c'])&&fs[_0x145120(0x1d9)](path[_0x145120(0x1fc)](process['cwd'](),_0xee40b4['c'])))_0x20bb54=path[_0x145120(0x1fc)](process['cwd'](),_0xee40b4['c']),_0x1b79ea[_0x145120(0x217)](_0x5a90fd,0x2);else{if(fs[_0x145120(0x1d9)](path[_0x145120(0x1fc)](process[_0x145120(0x204)](),_0x591766[_0x145120(0x1eb)])))_0x20bb54=path[_0x145120(0x1fc)](process[_0x145120(0x204)](),_0x591766[_0x145120(0x1eb)]);else fs['existsSync'](path['join'](process[_0x145120(0x204)](),_0x591766['HuDCN']))&&(_0x20bb54=path[_0x145120(0x1fc)](process[_0x145120(0x204)](),_0x591766[_0x145120(0x1cd)]));}}return _0x20bb54;},getO11yRerunPattern=()=>{const _0x4c1e70=a2_0x27e76a,_0x1c13ba={};_0x1c13ba[_0x4c1e70(0x1c0)]=function(_0x203ea6,_0x1930f9){return _0x203ea6!==_0x1930f9;},_0x1c13ba[_0x4c1e70(0x1d4)]=_0x4c1e70(0x208);const _0x3327d1=_0x1c13ba,_0x256ddb=helper[_0x4c1e70(0x200)](process[_0x4c1e70(0x1c8)]['BROWSERSTACK_RERUN']);if(_0x256ddb){const _0x10ae4f=process[_0x4c1e70(0x1c8)][_0x4c1e70(0x226)],_0x4a4fd2=[];if(_0x3327d1[_0x4c1e70(0x1c0)](_0x10ae4f,_0x3327d1[_0x4c1e70(0x1d4)])&&!helper[_0x4c1e70(0x1c6)](_0x10ae4f)){_0x10ae4f[_0x4c1e70(0x1e5)](',')[_0x4c1e70(0x1d1)](_0x5a9ffb=>{const _0x10c671=_0x4c1e70;_0x4a4fd2[_0x10c671(0x1b2)]('('+_0x5a9ffb['trim']()+')');});const _0x56bc70='^'+_0x4a4fd2[_0x4c1e70(0x1fc)]('|')+'$';return _0x56bc70;}}return null;},a2_0x5c209f={};a2_0x5c209f[a2_0x27e76a(0x1c1)]=a2_0x27e76a(0x20b),a2_0x5c209f['playwright-chromium']=a2_0x27e76a(0x20b),a2_0x5c209f[a2_0x27e76a(0x1e3)]=a2_0x27e76a(0x20e),a2_0x5c209f[a2_0x27e76a(0x1f5)]='webkit';function a2_0x248c(_0x1efb04,_0x272890){const _0x17adff=a2_0x17ad();return a2_0x248c=function(_0x248c85,_0x5b823e){_0x248c85=_0x248c85-0x19e;let _0x1bde7b=_0x17adff[_0x248c85];return _0x1bde7b;},a2_0x248c(_0x1efb04,_0x272890);}const pwToCodeceptBrowser=a2_0x5c209f;async function run(_0x2a85ef,_0x50e503){const _0x263caf=a2_0x27e76a,_0xdf6f67={'NJIJv':function(_0x4b200f,_0x445213){return _0x4b200f+_0x445213;},'WltqE':function(_0x279c5d,_0x3f1267){return _0x279c5d(_0x3f1267);},'jZSeW':function(_0x2030d6,_0x1871e3){return _0x2030d6+_0x1871e3;},'rOYTK':function(_0xa42f1b,_0x1d9472,_0x11c0fc){return _0xa42f1b(_0x1d9472,_0x11c0fc);},'iYwgD':'config','pAUfs':'helpers','HcdcY':function(_0x183f71){return _0x183f71();},'xfUqb':'Failed\x20:\x20','XwDDB':_0x263caf(0x1a1),'yawAi':_0x263caf(0x1a9),'NAtWG':'4|2|0|3|1','mJAlW':_0x263caf(0x1fa),'tqYfi':function(_0x1a6c38,_0x458abb,_0x193c0a){return _0x1a6c38(_0x458abb,_0x193c0a);},'CLQFK':_0x263caf(0x1f1),'SCEPM':'Playwright','UqWDq':_0x263caf(0x1d2),'nlNMv':function(_0x200c12,_0x187a58){return _0x200c12(_0x187a58);},'UmSAU':function(_0x50403c,_0xe91b91){return _0x50403c!=_0xe91b91;},'vsKZS':_0x263caf(0x1f7),'ETwXA':function(_0xab4810,_0x2a262d){return _0xab4810+_0x2a262d;},'DCCbC':function(_0x52daec,_0x27fd34,_0x4cdca3){return _0x52daec(_0x27fd34,_0x4cdca3);},'cbcKg':_0x263caf(0x1c5),'mmaSm':_0x263caf(0x1c9),'kjAgw':function(_0x5d3130,_0x35de5a){return _0x5d3130*_0x35de5a;},'eDadr':_0x263caf(0x1a3),'RXVqw':_0x263caf(0x1bd),'xebfB':function(_0x2d877a,_0x2ae83b,_0x53979b){return _0x2d877a(_0x2ae83b,_0x53979b);},'PVyxH':_0x263caf(0x1e8),'HBUDN':_0x263caf(0x228),'nkRNC':_0x263caf(0x1e1)},_0x53c24f=new BrowserStackSetup(_0x2a85ef,_0xdf6f67[_0x263caf(0x1da)]);await _0x53c24f['initialize'](),await helper[_0x263caf(0x206)](_0x53c24f['config']);if(!_0x53c24f['config'])return;process['profile']=_0x2a85ef[_0x263caf(0x219)];_0x2a85ef[_0x263caf(0x219)]&&(process[_0x263caf(0x1c8)]['profile']=_0x2a85ef['profile']);const _0x55b4cf=_0xdf6f67['tqYfi'](getUserCodeceptJSConfigs,_0x2a85ef,_0x50e503);let _0x3b52d2={};_0x55b4cf?(logger[_0x263caf(0x21c)](_0x263caf(0x20f)+_0x55b4cf),_0x3b52d2=_0xdf6f67[_0x263caf(0x224)](require,_0x55b4cf)):logger['info'](_0xdf6f67[_0x263caf(0x1cb)]);let _0x3c853a=![];_0xdf6f67[_0x263caf(0x1bc)](nestedKeyValue,_0x3b52d2,[_0xdf6f67['iYwgD'],_0xdf6f67[_0x263caf(0x1f8)],_0xdf6f67[_0x263caf(0x1b1)]])&&(_0x3c853a=!![]);const _0x1a6981=_0x3c853a?_0xdf6f67[_0x263caf(0x1b1)]:_0xdf6f67[_0x263caf(0x1d3)];let _0x554135=!_0x3c853a?helper['useW3C'](_0x53c24f[_0x263caf(0x211)]):![];!helper[_0x263caf(0x1c6)](_0x53c24f['config'][_0x263caf(0x1e4)])&&(process[_0x263caf(0x1c8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x263caf(0x1d7)](_0x53c24f[_0x263caf(0x211)][_0x263caf(0x1e4)]));let _0x5de973=_0x53c24f[_0x263caf(0x211)][_0x263caf(0x215)];_0x5de973=_0x5de973||_0xdf6f67[_0x263caf(0x1ed)](checkAccessibilityPlatformConfig,_0x53c24f[_0x263caf(0x211)]),process[_0x263caf(0x1c8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5de973;_0x5de973&&(_0x554135=!_0x5de973);_0xdf6f67[_0x263caf(0x1fd)](_0x53c24f[_0x263caf(0x211)][_0x263caf(0x20a)],null)?process[_0x263caf(0x1c8)][_0x263caf(0x1ae)]=_0x53c24f[_0x263caf(0x211)]['testObservability']:process[_0x263caf(0x1c8)][_0x263caf(0x1ae)]=_0xdf6f67[_0x263caf(0x214)];const _0xa0c0a9=_0xdf6f67[_0x263caf(0x1f4)](_0xdf6f67[_0x263caf(0x1da)],_0xdf6f67[_0x263caf(0x1af)](nestedKeyValue,_0x3b52d2,[_0xdf6f67[_0x263caf(0x1cf)],_0xdf6f67[_0x263caf(0x19f)]])?_0xdf6f67['mmaSm']:''),_0x5dffe1=await TestHubHandler[_0x263caf(0x1f2)](_0xa0c0a9,_0x53c24f);_0x5de973&&_0xdf6f67[_0x263caf(0x224)](setAccessibilityCapabilities,_0x53c24f[_0x263caf(0x211)]);const _0xbfc751={},_0x56fea8=[],_0x1babd9=_0x53c24f[_0x263caf(0x211)]['parallelsPerPlatform']||helper[_0x263caf(0x1b9)](_0x2a85ef,_0x50e503,_0x53c24f[_0x263caf(0x211)],constants['FRAMEWORKS'][_0x263caf(0x1a7)])||0x1;let _0x98af7a=0x1;if(_0xdf6f67[_0x263caf(0x220)](isBrowserstackInfra)){const _0x499283=helper[_0x263caf(0x1f9)](_0x53c24f[_0x263caf(0x211)],_0x554135,constants[_0x263caf(0x1c4)][_0x263caf(0x1a7)]);helper[_0x263caf(0x1bf)](_0x53c24f['config'])?_0x98af7a=_0xdf6f67[_0x263caf(0x1df)](_0x1babd9,_0x53c24f['config'][_0x263caf(0x1ee)][_0x263caf(0x1c3)]):_0x98af7a=_0x1babd9,_0x499283['forEach'](_0x2a0cd0=>{const _0x200223=_0x263caf,_0x53ed8a=_0xdf6f67[_0x200223(0x1d6)](helper[_0x200223(0x20d)](_0x2a0cd0,'_'),'_'+Date['now']()),_0x5ae030=((()=>{const _0x338211=_0x200223;if(_0x3c853a){const _0x2a7897=pwToCodeceptBrowser[_0x2a0cd0['browserName']]||_0x2a0cd0[_0x338211(0x21f)];return{'browser':_0x2a7897,[_0x2a7897]:{'browserWSEndpoint':_0xdf6f67['NJIJv'](helper[_0x338211(0x1ce)](_0x53c24f[_0x338211(0x211)]),_0xdf6f67[_0x338211(0x224)](encodeURIComponent,JSON[_0x338211(0x1d7)](_0x2a0cd0)))}};}const _0x4ce823={};return _0x4ce823[_0x338211(0x1bd)]=_0x2a0cd0,_0x4ce823;})()),_0x4d26aa=_0xdf6f67['rOYTK'](nestedKeyValue,_0x3b52d2,[_0xdf6f67[_0x200223(0x1cf)],_0xdf6f67['pAUfs'],_0x1a6981]);_0xbfc751[_0x53ed8a]=_0x4d26aa?helper[_0x200223(0x1e2)](_0x5ae030,_0x4d26aa):_0x5ae030,!_0x3c853a&&(_0xbfc751[_0x53ed8a][_0x200223(0x1a3)]=_0x2a0cd0[_0x200223(0x21f)]||_0x5ae030[_0x200223(0x1a3)]),_0x56fea8[_0x200223(0x1b2)](_0x53ed8a);});}else{_0x98af7a=0x1;if(_0x3c853a){const _0x3c80cd=_0xdf6f67[_0x263caf(0x1af)](nestedKeyValue,_0x3b52d2,[_0xdf6f67[_0x263caf(0x1cf)],_0xdf6f67['pAUfs'],_0x1a6981,_0xdf6f67[_0x263caf(0x202)]]),_0x206d7d=_0xdf6f67[_0x263caf(0x1af)](nestedKeyValue,_0x3b52d2,[_0xdf6f67[_0x263caf(0x1cf)],_0xdf6f67[_0x263caf(0x1f8)],_0x1a6981,_0x3c80cd]);_0x206d7d&&_0x206d7d[_0x263caf(0x222)]&&(_0x206d7d[_0x263caf(0x222)]=helper[_0x263caf(0x1f9)](null,null,_0xa0c0a9['toLowerCase'](),null,null,_0x206d7d['browserWSEndpoint']));}else _0x3b52d2['config'][_0xdf6f67[_0x263caf(0x1f8)]][_0x1a6981][_0xdf6f67[_0x263caf(0x1de)]]=helper[_0x263caf(0x1f9)](null,null,_0xa0c0a9[_0x263caf(0x213)](),_0xdf6f67['xebfB'](nestedKeyValue,_0x3b52d2,[_0xdf6f67[_0x263caf(0x1cf)],_0xdf6f67[_0x263caf(0x1f8)],_0x1a6981,_0xdf6f67[_0x263caf(0x1de)]]),null,null);_0xbfc751[_0xdf6f67[_0x263caf(0x21a)]]=_0x3b52d2['config'],_0x56fea8['push'](_0xdf6f67[_0x263caf(0x21a)]);}const _0x1ee2f8={};_0x1ee2f8[_0x263caf(0x1ea)]=_0x55b4cf;const _0x148032=_0x1ee2f8,_0x11a6a7=path['join'](__dirname,_0xdf6f67[_0x263caf(0x1d8)]),_0x60016b=process[_0x263caf(0x204)]();process[_0x263caf(0x1c8)][_0xdf6f67['nkRNC']]=_0x60016b,process[_0x263caf(0x1ad)](path['dirname'](_0x55b4cf));const _0x4d0c0e=new CodeceptJS[(_0x263caf(0x21e))](null,_0x148032),_0x17aa25=_0x4d0c0e[_0x263caf(0x1a8)](_0x98af7a),_0x4bb335=testOpsHelper[_0x263caf(0x1b7)](),_0x330e20=_0x56fea8['map'](_0xeb16a1=>{const _0x4a8b83=_0x263caf,_0x25108a={};_0x25108a[_0x4a8b83(0x20c)]=_0xbfc751[_0xeb16a1];const _0x529533={};_0x529533[_0x4a8b83(0x1d2)]=_0xbfc751[_0xeb16a1];const _0x54fbc0=_0x3c853a?_0x25108a:_0x529533,_0x421d2b=_0xdf6f67[_0x4a8b83(0x220)](getO11yRerunPattern),_0x358997={};_0x358997[_0x4a8b83(0x207)]=_0x54fbc0;const _0x120ccd={};_0x120ccd[_0x4a8b83(0x1fb)]=_0x11a6a7,_0x120ccd[_0x4a8b83(0x205)]=!![],_0x120ccd[_0x4a8b83(0x212)]=_0x53c24f[_0x4a8b83(0x211)][_0x4a8b83(0x1ab)][_0x4a8b83(0x212)],_0x120ccd[_0x4a8b83(0x19e)]=_0x53c24f['config']['testContextOptions'][_0x4a8b83(0x19e)],_0x120ccd[_0x4a8b83(0x20a)]=_0x4bb335,_0x120ccd[_0x4a8b83(0x1e7)]=_0xa0c0a9;const _0x3ee44b={};_0x3ee44b[_0x4a8b83(0x1ca)]=_0x120ccd;const _0x1b2933={};return _0x1b2933['plugins']=_0x3ee44b,helper['mergeDeep']({},_0x3b52d2['config'],_0xdf6f67['HcdcY'](isBrowserstackInfra)?_0x358997:{},_0x421d2b?{'grep':_0x421d2b}:{},_0x1b2933);});for(const _0x2fe017 of _0x330e20){for(const _0xd32452 of _0x17aa25){const _0x17e063=_0x4d0c0e['spawn']();_0x17e063[_0x263caf(0x1a0)](_0xd32452),_0x17e063[_0x263caf(0x201)](_0x2fe017);}}_0x4d0c0e['on'](CodeceptJS[_0x263caf(0x1be)]['test'][_0x263caf(0x1f3)],(_0x347afb,_0x45bba4)=>{const _0xb2579c=_0x263caf;console['log'](_0xdf6f67[_0xb2579c(0x21d)],_0x347afb['title']);const _0x72916c={[_0x347afb[_0xb2579c(0x1ba)]]:_0x347afb[_0xb2579c(0x1d0)][_0xb2579c(0x1b4)]};_testErrorData[_0xb2579c(0x1b2)](_0x72916c);}),_0x4d0c0e['on'](CodeceptJS[_0x263caf(0x1be)][_0x263caf(0x1ec)][_0x263caf(0x1e6)],async _0x151d3f=>{const _0x215343=_0x263caf;console[_0x215343(0x1b0)](_0xdf6f67[_0x215343(0x1aa)],_0x151d3f['title']);}),_0x4d0c0e['on'](CodeceptJS[_0x263caf(0x1be)]['test'][_0x263caf(0x1b6)],async _0x1f8896=>{const _0x29d71e=_0x263caf;console[_0x29d71e(0x1b0)](_0xdf6f67[_0x29d71e(0x1dc)],_0x1f8896[_0x29d71e(0x1ba)]);}),_0x4d0c0e['on'](CodeceptJS[_0x263caf(0x1be)][_0x263caf(0x1b5)]['result'],async()=>{const _0x5239ff=_0x263caf,_0x27935b=_0xdf6f67['NAtWG'][_0x5239ff(0x1e5)]('|');let _0x297ae3=0x0;while(!![]){switch(_0x27935b[_0x297ae3++]){case'0':utilities['finalExecution'](_0x53c24f);continue;case'1':_0x4d0c0e[_0x5239ff(0x203)]();continue;case'2':testOpsHelper[_0x5239ff(0x1ac)]();continue;case'3':try{await TestHubHandler['stop']();}catch(_0x4bb718){logger['debug'](_0x5239ff(0x209)+util[_0x5239ff(0x1c7)](_0x4bb718));}continue;case'4':_0x53c24f[_0x5239ff(0x1fe)]=_testErrorData;continue;}break;}});async function _0x1e2065(){const _0xed6618=_0x263caf;try{await _0x4d0c0e[_0xed6618(0x1f0)](),await _0x4d0c0e['run']();}finally{process['chdir'](_0x60016b),await _0x4d0c0e[_0xed6618(0x1d5)]();}}_0xdf6f67[_0x263caf(0x220)](_0x1e2065);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0x2cb11c=a2_0x5c4a;(function(_0x3789fd,_0x3012f7){const _0x1e4be4=a2_0x5c4a,_0xf19e87=_0x3789fd();while(!![]){try{const _0x14c7c3=parseInt(_0x1e4be4(0x1cd))/0x1+-parseInt(_0x1e4be4(0x148))/0x2*(-parseInt(_0x1e4be4(0x18d))/0x3)+-parseInt(_0x1e4be4(0x154))/0x4*(-parseInt(_0x1e4be4(0x18e))/0x5)+-parseInt(_0x1e4be4(0x188))/0x6+-parseInt(_0x1e4be4(0x15c))/0x7*(-parseInt(_0x1e4be4(0x1b8))/0x8)+parseInt(_0x1e4be4(0x1a8))/0x9+-parseInt(_0x1e4be4(0x150))/0xa;if(_0x14c7c3===_0x3012f7)break;else _0xf19e87['push'](_0xf19e87['shift']());}catch(_0x2f18db){_0xf19e87['push'](_0xf19e87['shift']());}}}(a2_0x41f1,0x94ab2));function a2_0x5c4a(_0x4b1188,_0x545d97){const _0x41f164=a2_0x41f1();return a2_0x5c4a=function(_0x5c4a4b,_0x4d49f2){_0x5c4a4b=_0x5c4a4b-0x141;let _0x292ffb=_0x41f164[_0x5c4a4b];return _0x292ffb;},a2_0x5c4a(_0x4b1188,_0x545d97);}function a2_0x41f1(){const _0xac8bd=['LcciS','WebDriver','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','zDtHj','JbIuu','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','title','before','winstonLogger','failed','err','util','YGVWo','getPlaywrightUrl','ZNmGw','skipSessionStatus','ubpDn','-cucumber','lBtfY','testConfig','lvsiF','gherkin','GZNxN','skipSessionName','existsSync','dzaCD','QWILL','codeceptjs','stringify','--config','path','teardownAll','getUserWorkerCount','browserName','4343904JRaxuP','YJrnW','info','printResults','playwright-webkit','3NZifIv','226515tefniU','YnZGE','now','WYMRb','trim','../../helpers/testhub/testhubHandler','desiredCapabilities','mMoSN','plugins','log','stop','parallelsPerPlatform','enabled','debug','createGroupsOfSuites','isTrue','profile','chromium','test','testContextOptions','browser','Passed\x20:\x20','enuIk','process','prepareCapabilities','firefox','4624578gRysmf','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','VQcVW','addConfig','eQoVG','bxTfj','codecept.conf.js','../../helpers/test-observability/utils','browserWSEndpoint','push','codecept.json','env','Workers','slice','CODECEPT','rLSRZ','22176LSFnWA','accessibility','jLCeH','config','accessibilityOptions','split','helpers','isUndefined','../utils/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','mergeDeep','isTestObservabilitySession','playwright-chromium','Cvxcp','browserStackCwd','testObservability','BrowserStackPlugin.js','useW3C','lTRbM','../../bin/playwright/accessibility-helper','printBuildLink','859180fGdxBJ','bootstrapAll','FRAMEWORKS','2|4|1|3|0','toLowerCase','playwright-firefox','forEach','map','chdir','frameworkName','launchBuild','MjgtE','cwd','require','validPlatformsPresent','2067362VbHaeO','jJheN','kJjvw','widSQ','platforms','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','webkit','26054350LvffaB','iPluP','vjUkA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','88mrDgsH','UtLUP','../../helpers/helper','handleApp','dirname','sxNVH','run','getPlatformName','1351OyRFas','finalExecution','lHjgK','join','event','Started\x20:\x20','BrowserStackPlugin','Playwright','zFxtp','chrome'];a2_0x41f1=function(){return _0xac8bd;};return a2_0x41f1();}const fs=require('fs'),path=require(a2_0x2cb11c(0x184)),util=require(a2_0x2cb11c(0x171)),process=require(a2_0x2cb11c(0x1a5)),logger=require('../../helpers/logger')[a2_0x2cb11c(0x16e)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x2cb11c(0x156)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x2cb11c(0x14d)),{setAccessibilityCapabilities}=require(a2_0x2cb11c(0x1cb)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2cb11c(0x156)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x2cb11c(0x1af)),TestHubHandler=require(a2_0x2cb11c(0x193)),constants=require(a2_0x2cb11c(0x1c0)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x587897,_0x196d18)=>{const _0x37c8d3=a2_0x2cb11c,_0x570439={};_0x570439[_0x37c8d3(0x195)]=function(_0x11c365,_0x544515){return _0x11c365===_0x544515;},_0x570439[_0x37c8d3(0x191)]=_0x37c8d3(0x1ae),_0x570439['lHjgK']=_0x37c8d3(0x1b2);const _0x5ba01b=_0x570439;let _0x507701=null;const _0x32b3d0={};let _0x3e56c7=_0x196d18['findIndex'](_0x3e0c3a=>_0x3e0c3a===_0x37c8d3(0x183));_0x5ba01b['mMoSN'](_0x3e56c7,-0x1)&&(_0x3e56c7=_0x196d18['findIndex'](_0x3e78e4=>_0x3e78e4==='-c'));if(!helper[_0x37c8d3(0x1bf)](_0x587897[_0x37c8d3(0x1bb)])&&fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897[_0x37c8d3(0x1bb)])))_0x507701=path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['config']),_0x196d18[_0x37c8d3(0x1b5)](_0x3e56c7,0x2);else{if(!helper[_0x37c8d3(0x1bf)](_0x587897['c'])&&fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['c'])))_0x507701=path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['c']),_0x196d18['slice'](_0x3e56c7,0x2);else{if(fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x5ba01b[_0x37c8d3(0x191)])))_0x507701=path[_0x37c8d3(0x15f)](process['cwd'](),_0x5ba01b[_0x37c8d3(0x191)]);else fs['existsSync'](path['join'](process[_0x37c8d3(0x145)](),_0x5ba01b['lHjgK']))&&(_0x507701=path[_0x37c8d3(0x15f)](process['cwd'](),_0x5ba01b[_0x37c8d3(0x15e)]));}}return _0x507701;},getO11yRerunPattern=()=>{const _0x173612=a2_0x2cb11c,_0x40911b={};_0x40911b[_0x173612(0x1a4)]=function(_0x4ae32f,_0x556703){return _0x4ae32f!==_0x556703;},_0x40911b[_0x173612(0x14a)]='null';const _0x29bc87=_0x40911b,_0x381d23=helper[_0x173612(0x19d)](process[_0x173612(0x1b3)]['BROWSERSTACK_RERUN']);if(_0x381d23){const _0x13e19c=process[_0x173612(0x1b3)][_0x173612(0x14e)],_0x15b78b=[];if(_0x29bc87[_0x173612(0x1a4)](_0x13e19c,_0x29bc87['kJjvw'])&&!helper[_0x173612(0x1bf)](_0x13e19c)){_0x13e19c[_0x173612(0x1bd)](',')[_0x173612(0x1d4)](_0x27137f=>{const _0x4142ae=_0x173612;_0x15b78b[_0x4142ae(0x1b1)]('('+_0x27137f[_0x4142ae(0x192)]()+')');});const _0x4b6d08='^'+_0x15b78b['join']('|')+'$';return _0x4b6d08;}}return null;},a2_0x26363a={};a2_0x26363a[a2_0x2cb11c(0x165)]=a2_0x2cb11c(0x19f),a2_0x26363a[a2_0x2cb11c(0x1c4)]=a2_0x2cb11c(0x19f),a2_0x26363a[a2_0x2cb11c(0x1d2)]=a2_0x2cb11c(0x1a7),a2_0x26363a[a2_0x2cb11c(0x18c)]=a2_0x2cb11c(0x14f);const pwToCodeceptBrowser=a2_0x26363a;async function run(_0x3631de,_0x46d056){const _0x389a68=a2_0x2cb11c,_0x59d607={'ubpDn':function(_0x294b2d,_0x5be20b){return _0x294b2d+_0x5be20b;},'dzaCD':function(_0x53f3a5,_0x17fc26){return _0x53f3a5(_0x17fc26);},'bxTfj':function(_0x513e98,_0x54ecc5){return _0x513e98+_0x54ecc5;},'YGVWo':function(_0xe1bf97,_0x1a28ba,_0x5875eb){return _0xe1bf97(_0x1a28ba,_0x5875eb);},'eQoVG':'config','YJrnW':_0x389a68(0x1be),'VQcVW':function(_0x51bbe9){return _0x51bbe9();},'lBtfY':function(_0x9339c4){return _0x9339c4();},'vjUkA':'Failed\x20:\x20','jJheN':_0x389a68(0x1a3),'zuuAH':_0x389a68(0x161),'UtLUP':_0x389a68(0x1d0),'zFxtp':_0x389a68(0x181),'QWILL':function(_0x512669,_0x447886,_0x3b5ae6){return _0x512669(_0x447886,_0x3b5ae6);},'EewVO':_0x389a68(0x168),'rLSRZ':function(_0x541e9a,_0x31bbe4,_0x1b32bf){return _0x541e9a(_0x31bbe4,_0x1b32bf);},'Cvxcp':_0x389a68(0x163),'vpEuJ':_0x389a68(0x167),'Iccvm':function(_0x2eddfd,_0x2e1ef7){return _0x2eddfd(_0x2e1ef7);},'JbIuu':function(_0x4b856e,_0x2bae95){return _0x4b856e!=_0x2bae95;},'ZNmGw':'false','sxNVH':function(_0x5b693a,_0x1665ce){return _0x5b693a+_0x1665ce;},'nQKRY':_0x389a68(0x17b),'GZNxN':_0x389a68(0x177),'lTRbM':function(_0x5a252a,_0x146037){return _0x5a252a(_0x146037);},'LcciS':function(_0x5cc61a,_0x292898){return _0x5cc61a*_0x292898;},'lvsiF':function(_0x57b8c0,_0x52f597,_0x1268cd){return _0x57b8c0(_0x52f597,_0x1268cd);},'MjgtE':'browser','zDtHj':_0x389a68(0x194),'jLCeH':'root','widSQ':_0x389a68(0x1c8),'YnZGE':_0x389a68(0x1c6),'iPluP':function(_0x3a4044){return _0x3a4044();}},_0x3044cb=new BrowserStackSetup(_0x3631de,_0x59d607['zFxtp']);await _0x3044cb['initialize'](),await helper[_0x389a68(0x157)](_0x3044cb['config']);if(!_0x3044cb['config'])return;process[_0x389a68(0x19e)]=_0x3631de[_0x389a68(0x19e)];_0x3631de['profile']&&(process['env']['profile']=_0x3631de[_0x389a68(0x19e)]);const _0x33c7ad=_0x59d607[_0x389a68(0x180)](getUserCodeceptJSConfigs,_0x3631de,_0x46d056);let _0x275104={};_0x33c7ad?(logger[_0x389a68(0x18a)](_0x389a68(0x16b)+_0x33c7ad),_0x275104=_0x59d607[_0x389a68(0x17f)](require,_0x33c7ad)):logger[_0x389a68(0x18a)](_0x59d607['EewVO']);let _0x3079ce=![];_0x59d607[_0x389a68(0x1b7)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607[_0x389a68(0x189)],_0x59d607[_0x389a68(0x1c5)]])&&(_0x3079ce=!![]);const _0x19dca1=_0x3079ce?_0x59d607['Cvxcp']:_0x59d607['vpEuJ'];let _0x55791f=!_0x3079ce?helper[_0x389a68(0x1c9)](_0x3044cb['config']):![];!helper[_0x389a68(0x1bf)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1bc)])&&(process[_0x389a68(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x389a68(0x182)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1bc)]));let _0x5ce15d=_0x3044cb['config'][_0x389a68(0x1b9)];_0x5ce15d=_0x5ce15d||_0x59d607['Iccvm'](checkAccessibilityPlatformConfig,_0x3044cb[_0x389a68(0x1bb)]),process[_0x389a68(0x1b3)][_0x389a68(0x153)]=_0x5ce15d;_0x5ce15d&&(_0x55791f=!_0x5ce15d);_0x59d607[_0x389a68(0x16a)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1c7)],null)?process[_0x389a68(0x1b3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1c7)]:process[_0x389a68(0x1b3)][_0x389a68(0x1c1)]=_0x59d607[_0x389a68(0x174)];const _0x1f5eef=_0x59d607[_0x389a68(0x159)](_0x59d607[_0x389a68(0x164)],_0x59d607[_0x389a68(0x1b7)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607['nQKRY']])?_0x59d607[_0x389a68(0x17c)]:''),_0x1e915b=await TestHubHandler[_0x389a68(0x143)](_0x1f5eef,_0x3044cb);_0x5ce15d&&_0x59d607[_0x389a68(0x1ca)](setAccessibilityCapabilities,_0x3044cb[_0x389a68(0x1bb)]);const _0x3ca5bc={},_0x2c8496=[],_0x49b325=_0x3044cb['config'][_0x389a68(0x199)]||helper[_0x389a68(0x186)](_0x3631de,_0x46d056,_0x3044cb[_0x389a68(0x1bb)],constants[_0x389a68(0x1cf)][_0x389a68(0x1b6)])||0x1;let _0x544242=0x1;if(_0x59d607[_0x389a68(0x178)](isBrowserstackInfra)){const _0x172d9e=helper['prepareCapabilities'](_0x3044cb[_0x389a68(0x1bb)],_0x55791f,constants[_0x389a68(0x1cf)][_0x389a68(0x1b6)]);helper[_0x389a68(0x147)](_0x3044cb['config'])?_0x544242=_0x59d607[_0x389a68(0x166)](_0x49b325,_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x14c)]['length']):_0x544242=_0x49b325,_0x172d9e[_0x389a68(0x1d3)](_0x1fbaf9=>{const _0x12442d=_0x389a68,_0x41be91=_0x59d607[_0x12442d(0x1ad)](helper[_0x12442d(0x15b)](_0x1fbaf9,'_'),'_'+Date[_0x12442d(0x190)]()),_0x5c61f0=((()=>{const _0x25547c=_0x12442d;if(_0x3079ce){const _0x2cc541=pwToCodeceptBrowser[_0x1fbaf9[_0x25547c(0x187)]]||_0x1fbaf9[_0x25547c(0x187)];return{'browser':_0x2cc541,[_0x2cc541]:{'browserWSEndpoint':_0x59d607[_0x25547c(0x176)](helper[_0x25547c(0x173)](_0x3044cb['config']),_0x59d607[_0x25547c(0x17f)](encodeURIComponent,JSON[_0x25547c(0x182)](_0x1fbaf9)))}};}const _0x3d78b6={};return _0x3d78b6[_0x25547c(0x194)]=_0x1fbaf9,_0x3d78b6;})()),_0x40468b=_0x59d607[_0x12442d(0x172)](nestedKeyValue,_0x275104,[_0x59d607[_0x12442d(0x1ac)],_0x59d607['YJrnW'],_0x19dca1]);_0x3ca5bc[_0x41be91]=_0x40468b?helper[_0x12442d(0x1c2)](_0x5c61f0,_0x40468b):_0x5c61f0,!_0x3079ce&&(_0x3ca5bc[_0x41be91][_0x12442d(0x1a2)]=_0x1fbaf9['browserName']||_0x5c61f0[_0x12442d(0x1a2)]),_0x2c8496[_0x12442d(0x1b1)](_0x41be91);});}else{_0x544242=0x1;if(_0x3079ce){const _0x1ed3ee=_0x59d607[_0x389a68(0x17a)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607[_0x389a68(0x189)],_0x19dca1,_0x59d607[_0x389a68(0x144)]]),_0x2e4f25=_0x59d607['QWILL'](nestedKeyValue,_0x275104,[_0x59d607['eQoVG'],_0x59d607[_0x389a68(0x189)],_0x19dca1,_0x1ed3ee]);_0x2e4f25&&_0x2e4f25[_0x389a68(0x1b0)]&&(_0x2e4f25['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x1f5eef[_0x389a68(0x1d1)](),null,null,_0x2e4f25[_0x389a68(0x1b0)]));}else _0x275104['config'][_0x59d607['YJrnW']][_0x19dca1][_0x59d607[_0x389a68(0x169)]]=helper[_0x389a68(0x1a6)](null,null,_0x1f5eef['toLowerCase'](),_0x59d607[_0x389a68(0x17a)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607['YJrnW'],_0x19dca1,_0x59d607[_0x389a68(0x169)]]),null,null);_0x3ca5bc[_0x59d607[_0x389a68(0x1ba)]]=_0x275104[_0x389a68(0x1bb)],_0x2c8496[_0x389a68(0x1b1)](_0x59d607[_0x389a68(0x1ba)]);}const _0x17ad97={};_0x17ad97[_0x389a68(0x179)]=_0x33c7ad;const _0x566426=_0x17ad97,_0x1a9d65=path[_0x389a68(0x15f)](__dirname,_0x59d607[_0x389a68(0x14b)]),_0x4f35f6=process[_0x389a68(0x145)]();process[_0x389a68(0x1b3)][_0x59d607[_0x389a68(0x18f)]]=_0x4f35f6,process[_0x389a68(0x141)](path[_0x389a68(0x158)](_0x33c7ad));const _0x3b6b6f=new CodeceptJS[(_0x389a68(0x1b4))](null,_0x566426),_0x19670d=_0x3b6b6f[_0x389a68(0x19c)](_0x544242),_0x49acce=testOpsHelper[_0x389a68(0x1c3)](),_0x57078c=_0x2c8496['map'](_0x424ab6=>{const _0x3e9487=_0x389a68,_0x400de0={};_0x400de0[_0x3e9487(0x163)]=_0x3ca5bc[_0x424ab6];const _0x2bf7e9={};_0x2bf7e9['WebDriver']=_0x3ca5bc[_0x424ab6];const _0x286fa0=_0x3079ce?_0x400de0:_0x2bf7e9,_0x2ed285=_0x59d607[_0x3e9487(0x1aa)](getO11yRerunPattern),_0x5d2d1a={};_0x5d2d1a[_0x3e9487(0x1be)]=_0x286fa0;const _0x156abb={};_0x156abb[_0x3e9487(0x146)]=_0x1a9d65,_0x156abb[_0x3e9487(0x19a)]=!![],_0x156abb['skipSessionName']=_0x3044cb[_0x3e9487(0x1bb)][_0x3e9487(0x1a1)][_0x3e9487(0x17d)],_0x156abb[_0x3e9487(0x175)]=_0x3044cb['config'][_0x3e9487(0x1a1)][_0x3e9487(0x175)],_0x156abb[_0x3e9487(0x1c7)]=_0x49acce,_0x156abb[_0x3e9487(0x142)]=_0x1f5eef;const _0x49521e={};_0x49521e[_0x3e9487(0x162)]=_0x156abb;const _0x20005b={};return _0x20005b[_0x3e9487(0x196)]=_0x49521e,helper[_0x3e9487(0x1c2)]({},_0x275104[_0x3e9487(0x1bb)],_0x59d607['lBtfY'](isBrowserstackInfra)?_0x5d2d1a:{},_0x2ed285?{'grep':_0x2ed285}:{},_0x20005b);});for(const _0xbc715f of _0x57078c){for(const _0x20c9c5 of _0x19670d){const _0x22f2a3=_0x3b6b6f['spawn']();_0x22f2a3['addTests'](_0x20c9c5),_0x22f2a3[_0x389a68(0x1ab)](_0xbc715f);}}_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)]['test'][_0x389a68(0x16f)],(_0x490b0b,_0x16f08d)=>{const _0x21ba57=_0x389a68;console['log'](_0x59d607[_0x21ba57(0x152)],_0x490b0b[_0x21ba57(0x16c)]);const _0x200a39={[_0x490b0b[_0x21ba57(0x16c)]]:_0x490b0b[_0x21ba57(0x170)]['stack']};_testErrorData[_0x21ba57(0x1b1)](_0x200a39);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)][_0x389a68(0x1a0)]['passed'],async _0x1bb38b=>{const _0x140073=_0x389a68;console[_0x140073(0x197)](_0x59d607[_0x140073(0x149)],_0x1bb38b[_0x140073(0x16c)]);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)][_0x389a68(0x1a0)][_0x389a68(0x16d)],async _0x14c994=>{const _0x580fc2=_0x389a68;console[_0x580fc2(0x197)](_0x59d607['zuuAH'],_0x14c994['title']);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)]['all']['result'],async()=>{const _0x4e6c97=_0x389a68,_0x2f6f18=_0x59d607[_0x4e6c97(0x155)][_0x4e6c97(0x1bd)]('|');let _0x554a2c=0x0;while(!![]){switch(_0x2f6f18[_0x554a2c++]){case'0':_0x3b6b6f[_0x4e6c97(0x18b)]();continue;case'1':utilities[_0x4e6c97(0x15d)](_0x3044cb);continue;case'2':_0x3044cb['errorMessage']=_testErrorData;continue;case'3':try{await TestHubHandler[_0x4e6c97(0x198)]();}catch(_0x1db166){logger[_0x4e6c97(0x19b)](_0x4e6c97(0x1a9)+util['format'](_0x1db166));}continue;case'4':testOpsHelper[_0x4e6c97(0x1cc)]();continue;}break;}});async function _0x4eb2a0(){const _0x26af3c=_0x389a68;try{await _0x3b6b6f[_0x26af3c(0x1ce)](),await _0x3b6b6f[_0x26af3c(0x15a)]();}finally{process[_0x26af3c(0x141)](_0x4f35f6),await _0x3b6b6f[_0x26af3c(0x185)]();}}_0x59d607[_0x389a68(0x151)](_0x4eb2a0);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x40c4(_0x250b6e,_0x44518d){const _0x5b163c=a3_0x5b16();return a3_0x40c4=function(_0x40c454,_0x4fc947){_0x40c454=_0x40c454-0xd0;let _0x533996=_0x5b163c[_0x40c454];return _0x533996;},a3_0x40c4(_0x250b6e,_0x44518d);}const a3_0x36c6af=a3_0x40c4;(function(_0x43116c,_0x202870){const _0x336133=a3_0x40c4,_0x1ba077=_0x43116c();while(!![]){try{const _0x12152a=-parseInt(_0x336133(0xe0))/0x1+-parseInt(_0x336133(0x119))/0x2+parseInt(_0x336133(0xeb))/0x3+-parseInt(_0x336133(0x11b))/0x4*(-parseInt(_0x336133(0x11d))/0x5)+parseInt(_0x336133(0xfc))/0x6*(-parseInt(_0x336133(0xfb))/0x7)+-parseInt(_0x336133(0xd2))/0x8+parseInt(_0x336133(0x10f))/0x9;if(_0x12152a===_0x202870)break;else _0x1ba077['push'](_0x1ba077['shift']());}catch(_0xdf2b9a){_0x1ba077['push'](_0x1ba077['shift']());}}}(a3_0x5b16,0x30dc3));function a3_0x5b16(){const _0x48cb33=['2453568lgwqgK','cbAOR','../../helpers/test-observability/utils','osVersion','platform','sessionId','name','PQAfX','QIHTV','cloudProvider','cfZxI','XMIQC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','108501LNqIOD','platform_version','vHcjX','playwright-chromium','chrome','KrPxW','OMMhw','platformVersion','caps','browser_version','clxFL','411624IefBZZ','ozqRz','HXwLp','../../helpers/accessibility-automation/helper','pgGwH','capabilities','accessibilityPlatform','psbeN','hvNEh','browserWSEndpoint','deviceName','browserstack_executor','parse','includes','uBZOi','warn','2239664LXvGXM','6JlnFGi','fXgMn','latest','processWebDriverConfig','fuNta','browserstack_accessibility_automation_script','bstack:options','Playwright','PiuRK','browserName','../../helpers/logger','../../helpers/helper','HNzBb','gPQeV','MUqJo','getDetails','get','shouldPatchExecuteScript','browserVersion','8258778bnvuOk','bsSessionId','ypuDU','RjwMb','__cloud_provider___','RYCIH','fetchPlatformDetails','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WebDriver','719024YmvlkV','bVTfS','479884wLzUHb','unknown_grid','10QrpepW','winstonLogger','platformName'];a3_0x5b16=function(){return _0x48cb33;};return a3_0x5b16();}const {isUndefined,nestedKeyValue}=require(a3_0x36c6af(0x107)),logger=require(a3_0x36c6af(0x106))[a3_0x36c6af(0xd0)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x36c6af(0xee)),{getObservabilityLinkedProductName}=require(a3_0x36c6af(0xd4)),getOSVersionFromCaps=_0x2ed0b1=>{const _0x3db597=a3_0x36c6af,_0x448473={};_0x448473[_0x3db597(0xef)]=_0x3db597(0x102),_0x448473[_0x3db597(0x10a)]=_0x3db597(0xe7),_0x448473[_0x3db597(0xf9)]=_0x3db597(0xe1),_0x448473[_0x3db597(0xda)]=_0x3db597(0xd5),_0x448473[_0x3db597(0x111)]='os_version';const _0x2812b5=_0x448473;if(!_0x2ed0b1)return null;const _0x53723d=_0x2ed0b1[_0x2812b5[_0x3db597(0xef)]],_0x39c867=[_0x2812b5[_0x3db597(0x10a)],_0x2812b5[_0x3db597(0xf9)],_0x2812b5[_0x3db597(0xda)],_0x2812b5[_0x3db597(0x111)]];for(const _0x27b7ea of _0x39c867){if(_0x53723d&&_0x53723d[_0x27b7ea])return _0x53723d[_0x27b7ea];else{if(_0x2ed0b1[_0x27b7ea])return _0x2ed0b1[_0x27b7ea];}}return null;};exports[a3_0x36c6af(0x115)]=_0x33f64b=>{const _0x4b77eb=a3_0x36c6af,_0xe7849e={'IfFan':_0x4b77eb(0x11c),'bVTfS':function(_0xfacaab,_0x5201bc){return _0xfacaab===_0x5201bc;},'sHsiJ':_0x4b77eb(0x118),'gPQeV':function(_0x5b72aa,_0x2d8344){return _0x5b72aa(_0x2d8344);},'cfZxI':function(_0x5bc47d,_0x131ae6,_0x5e979b){return _0x5bc47d(_0x131ae6,_0x5e979b);},'RYCIH':'config','XMIQC':'desiredCapabilities','nAdjt':_0x4b77eb(0x103),'KrPxW':_0x4b77eb(0x116),'fuNta':_0x4b77eb(0xf4),'vHcjX':_0x4b77eb(0xe8)};if(!_0x33f64b)return null;let _0x54968e=global[_0x4b77eb(0x113)]||_0xe7849e['IfFan'];if(_0xe7849e[_0x4b77eb(0x11a)](_0x33f64b['constructor'][_0x4b77eb(0xd8)],_0xe7849e['sHsiJ'])){const _0x3d0927=_0x33f64b[_0x4b77eb(0x116)];if(!_0x3d0927)return null;const _0x1d7d44=_0x3d0927[_0x4b77eb(0xf0)],_0x31fdc1=_0xe7849e[_0x4b77eb(0x109)](getOSVersionFromCaps,_0xe7849e[_0x4b77eb(0xdc)](nestedKeyValue,_0x33f64b,[_0xe7849e['RYCIH'],_0xe7849e[_0x4b77eb(0xdd)]]));return{[_0x54968e]:{'browser':_0x1d7d44[_0x4b77eb(0x105)],'browser_version':_0x1d7d44[_0x4b77eb(0x10e)],'capabilities':_0x1d7d44,'platform':_0x1d7d44[_0x4b77eb(0xd1)],'platform_version':_0x1d7d44[_0x4b77eb(0xe7)]||_0x31fdc1,'product':_0xe7849e[_0x4b77eb(0x109)](getObservabilityLinkedProductName,_0x1d7d44),'session_id':_0x3d0927[_0x4b77eb(0xd7)]}};}else{if(_0xe7849e[_0x4b77eb(0x11a)](_0x33f64b['constructor']['name'],_0xe7849e['nAdjt'])){const _0x3c6552=PlaywrightSessionDetails[_0x4b77eb(0x10b)]();_0x54968e=_0x3c6552[_0x4b77eb(0xdb)]||_0x54968e;const _0x49bc89=_0xe7849e['cfZxI'](nestedKeyValue,_0x33f64b,[_0xe7849e[_0x4b77eb(0x114)],_0xe7849e[_0x4b77eb(0xe5)],_0xe7849e[_0x4b77eb(0x100)]]),_0x488972=_0x49bc89?JSON[_0x4b77eb(0xf7)](new URL(_0x49bc89)['searchParams'][_0x4b77eb(0x10c)](_0xe7849e[_0x4b77eb(0xe2)])):{};return{[_0x54968e]:{'browser':_0x3c6552[_0x4b77eb(0x116)]||_0x488972[_0x4b77eb(0x105)],'browser_version':_0x3c6552[_0x4b77eb(0xe9)]||_0x488972['browser_version'],'capabilities':_0x488972,'platform':_0x3c6552[_0x4b77eb(0xd6)],'platform_version':_0x3c6552['platform_version'],'product':_0xe7849e[_0x4b77eb(0x109)](getObservabilityLinkedProductName,_0x488972),'session_id':_0x3c6552[_0x4b77eb(0x110)]}};}}},exports[a3_0x36c6af(0xff)]=_0x332b3f=>{const _0x58965c=a3_0x36c6af,_0x3a523c={'hvNEh':function(_0x2ee37a){return _0x2ee37a();},'OMMhw':function(_0x3579ce,_0x33ac20){return _0x3579ce===_0x33ac20;},'psbeN':_0x58965c(0xfe),'YzTwL':function(_0x3a1d9f,_0x162026){return _0x3a1d9f>_0x162026;},'HNzBb':function(_0x261d09,_0x42e340){return _0x261d09(_0x42e340);},'fXgMn':_0x58965c(0xde),'RjwMb':_0x58965c(0xe4),'cbAOR':function(_0x53bbed,_0x4cf6ef){return _0x53bbed===_0x4cf6ef;},'HXwLp':_0x58965c(0xe3),'QncyM':_0x58965c(0x117),'clxFL':function(_0x4a9ed8,_0x246dfa){return _0x4a9ed8(_0x246dfa);},'ozqRz':_0x58965c(0xdf)};if(_0x3a523c[_0x58965c(0xf3)](isAccessibilityAutomationSession)){const _0xf8f0eb=_0x332b3f[_0x58965c(0x116)],_0x509ad8=_0xf8f0eb[_0x58965c(0xf0)];global['accessibilityPlatform']=!![],!(_0x3a523c[_0x58965c(0xe6)](_0x509ad8[_0x58965c(0x10e)],_0x3a523c[_0x58965c(0xf2)])||_0x3a523c['YzTwL'](_0x3a523c[_0x58965c(0x108)](parseInt,_0x509ad8[_0x58965c(0x10e)]),0x5e))&&(logger[_0x58965c(0xfa)](_0x3a523c[_0x58965c(0xfd)]),global[_0x58965c(0xf1)]=![]),!(_0x3a523c[_0x58965c(0xe6)](_0x509ad8[_0x58965c(0x105)],_0x3a523c[_0x58965c(0x112)])||_0x3a523c[_0x58965c(0xd3)](_0x509ad8[_0x58965c(0x105)],_0x3a523c[_0x58965c(0xed)]))&&(logger['warn'](_0x3a523c['QncyM']),global[_0x58965c(0xf1)]=![]),!_0x3a523c[_0x58965c(0xea)](isUndefined,_0x509ad8[_0x58965c(0xf5)])&&(logger[_0x58965c(0xfa)](_0x3a523c[_0x58965c(0xec)]),global[_0x58965c(0xf1)]=![]);}},exports[a3_0x36c6af(0x10d)]=_0x3b5860=>{const _0x5d680c=a3_0x36c6af,_0x3a2295={};_0x3a2295[_0x5d680c(0xd9)]=_0x5d680c(0xf6),_0x3a2295[_0x5d680c(0x104)]=_0x5d680c(0x101);const _0x4de55e=_0x3a2295;if(!_0x3b5860)return![];return!_0x3b5860['includes'](_0x4de55e[_0x5d680c(0xd9)])&&!_0x3b5860[_0x5d680c(0xf8)](_0x4de55e[_0x5d680c(0x104)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x1e84(_0x3d3046,_0x1d4377){const _0x4369fa=a4_0x4369();return a4_0x1e84=function(_0x1e840b,_0x214bca){_0x1e840b=_0x1e840b-0x1f3;let _0x89f22a=_0x4369fa[_0x1e840b];return _0x89f22a;},a4_0x1e84(_0x3d3046,_0x1d4377);}const a4_0x26c2d7=a4_0x1e84;(function(_0x18584c,_0x381f78){const _0x546858=a4_0x1e84,_0x1b9111=_0x18584c();while(!![]){try{const _0x13780b=-parseInt(_0x546858(0x202))/0x1*(parseInt(_0x546858(0x2eb))/0x2)+parseInt(_0x546858(0x2b0))/0x3*(-parseInt(_0x546858(0x2cd))/0x4)+-parseInt(_0x546858(0x2ec))/0x5*(-parseInt(_0x546858(0x2c8))/0x6)+-parseInt(_0x546858(0x292))/0x7*(parseInt(_0x546858(0x1fd))/0x8)+parseInt(_0x546858(0x280))/0x9+parseInt(_0x546858(0x27c))/0xa*(parseInt(_0x546858(0x22f))/0xb)+parseInt(_0x546858(0x219))/0xc*(parseInt(_0x546858(0x284))/0xd);if(_0x13780b===_0x381f78)break;else _0x1b9111['push'](_0x1b9111['shift']());}catch(_0x280b79){_0x1b9111['push'](_0x1b9111['shift']());}}}(a4_0x4369,0x3d223));const path=require(a4_0x26c2d7(0x25f)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x26c2d7(0x1f6)),{getTestEnv}=require(a4_0x26c2d7(0x2e6)),{FRAMEWORKS}=require(a4_0x26c2d7(0x200)),logger=require(a4_0x26c2d7(0x2dc))[a4_0x26c2d7(0x22d)],SessionHandler=require(a4_0x26c2d7(0x21f)),RequestQueueHandler=require(a4_0x26c2d7(0x2c1)),PlaywrightSessionDetails=require(a4_0x26c2d7(0x230)),debug=testOpsHelper[a4_0x26c2d7(0x29a)],{processAccessibilityCaps}=require(a4_0x26c2d7(0x2e8)),Constants=require(a4_0x26c2d7(0x2df)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x26c2d7(0x271)),STATE_PASSED=a4_0x26c2d7(0x26c),STATE_FAILED='failed',a4_0x3bc5e0={};a4_0x3bc5e0[a4_0x26c2d7(0x234)]=a4_0x26c2d7(0x28b),a4_0x3bc5e0['TEST_RUN_FINISHED']=a4_0x26c2d7(0x2b7),a4_0x3bc5e0['TEST_RUN_SKIPPED']=a4_0x26c2d7(0x21e),a4_0x3bc5e0[a4_0x26c2d7(0x226)]=a4_0x26c2d7(0x265),a4_0x3bc5e0[a4_0x26c2d7(0x2bb)]='HookRunFinished';const TEST_EVENTS=a4_0x3bc5e0,parseEvent=_0x3ad663=>{const _0x3a338d=a4_0x26c2d7,_0x1573b1={};_0x1573b1[_0x3a338d(0x2b4)]=function(_0xbeb10e,_0x110aeb){return _0xbeb10e<_0x110aeb;},_0x1573b1['vNFHe']=function(_0x48acce,_0x2d2ba9){return _0x48acce===_0x2d2ba9;},_0x1573b1[_0x3a338d(0x259)]='test',_0x1573b1['Frowo']='hook',_0x1573b1['wOEMm']=function(_0xff7285,_0xbcbee5){return _0xff7285===_0xbcbee5;},_0x1573b1[_0x3a338d(0x2a2)]=_0x3a338d(0x210),_0x1573b1[_0x3a338d(0x2b2)]=_0x3a338d(0x231),_0x1573b1[_0x3a338d(0x207)]=_0x3a338d(0x2d4);const _0x585a8c=_0x1573b1,_0x4d7438=_0x3ad663[_0x3a338d(0x24c)](/^(.*)Run(.*)$/);if(!_0x4d7438)return null;if(_0x585a8c[_0x3a338d(0x2b4)](_0x4d7438[_0x3a338d(0x242)],0x3))return null;const _0xa7effc=_0x4d7438[0x1][_0x3a338d(0x2aa)](),_0x4ec3b2=_0x4d7438[0x2][_0x3a338d(0x2aa)]();return{'test':_0x585a8c[_0x3a338d(0x233)](_0xa7effc,_0x585a8c[_0x3a338d(0x259)]),'hook':_0x585a8c[_0x3a338d(0x233)](_0xa7effc,_0x585a8c['Frowo']),'skipped':_0x585a8c[_0x3a338d(0x2e9)](_0x4ec3b2,_0x585a8c['LqSKR']),'started':_0x585a8c[_0x3a338d(0x233)](_0x4ec3b2,_0x585a8c[_0x3a338d(0x2b2)]),'finished':_0x585a8c[_0x3a338d(0x2e9)](_0x4ec3b2,_0x585a8c[_0x3a338d(0x207)])};},mockPWBrowserType=_0x27b8cd=>{const _0x22b8f1=a4_0x26c2d7,_0x5a6d95={'qWPul':function(_0x464341,_0x3806dc){return _0x464341===_0x3806dc;},'iKiaS':_0x22b8f1(0x1fc),'emFfZ':function(_0x5c4f44,_0x30893e,_0x3402be){return _0x5c4f44(_0x30893e,_0x3402be);},'YbpXk':_0x22b8f1(0x2b8),'bfLOB':function(_0x4838e8,_0x436b0f){return _0x4838e8(_0x436b0f);},'ilfVc':_0x22b8f1(0x2a9),'phjhg':function(_0x8eab41,_0xd1afbd,_0xab79c3){return _0x8eab41(_0xd1afbd,_0xab79c3);},'lKkNf':_0x22b8f1(0x2e0),'JijSf':_0x22b8f1(0x2ba),'OuLMu':_0x22b8f1(0x27a),'kKemc':function(_0xe8831e,_0x5670ab){return _0xe8831e(_0x5670ab);},'uXiiI':function(_0x32fb82,_0x5b9811){return _0x32fb82(_0x5b9811);},'fTbWN':_0x22b8f1(0x253),'odXNz':_0x22b8f1(0x2c5),'GJOoj':_0x22b8f1(0x23a)},_0x39004f=path[_0x22b8f1(0x212)](_0x5a6d95[_0x22b8f1(0x28c)],_0x5a6d95['JijSf'],_0x5a6d95[_0x22b8f1(0x2b1)]),_0x508bd1=_0x5a6d95[_0x22b8f1(0x2a0)](importFileFromPWCore,_0x39004f);if(!_0x508bd1){_0x5a6d95[_0x22b8f1(0x209)](debug,_0x5a6d95[_0x22b8f1(0x244)]);return;}const _0x587d24=_0x508bd1[_0x22b8f1(0x20e)],_0x760b11=_0x587d24[_0x22b8f1(0x270)];if(_0x760b11[_0x22b8f1(0x205)])return;const _0x4403e5=_0x760b11[_0x22b8f1(0x2c5)];Object['defineProperty'](_0x760b11,_0x5a6d95[_0x22b8f1(0x2c3)],{'get':function(){return async function _0x38ad2c(_0x40b6a2,_0x4114d0){const _0x45467d=a4_0x1e84,_0x4291ba={'dApbc':function(_0x32daea,_0x405c49){const _0x573c04=a4_0x1e84;return _0x5a6d95[_0x573c04(0x2e5)](_0x32daea,_0x405c49);},'PZGuO':_0x5a6d95[_0x45467d(0x1f4)]},_0x46888c=_0x5a6d95[_0x45467d(0x249)](nestedKeyValue,_0x40b6a2,[_0x5a6d95[_0x45467d(0x206)]])||_0x40b6a2;let _0x565c28=null,_0x1f6609=null;try{[_0x1f6609,_0x565c28]=_0x46888c?_0x5a6d95[_0x45467d(0x2a5)](parseWSEndpoint,_0x46888c):[null,null],global[_0x45467d(0x275)]=_0x565c28,_0x1f6609['includes'](_0x5a6d95['ilfVc'])&&(global[_0x45467d(0x2d7)]=_0x5a6d95[_0x45467d(0x2dd)]);}catch(_0x5748a4){logger['debug'](_0x45467d(0x23d)+_0x46888c+'\x20'+_0x5748a4);}_0x5a6d95[_0x45467d(0x236)](processAccessibilityCaps,_0x565c28,_0x1f6609);if(global[_0x45467d(0x228)]){const _0x22c08d=await _0x760b11[_0x45467d(0x291)][_0x45467d(0x26d)](this,[''+Constants[_0x45467d(0x2ac)]+_0x5a6d95[_0x45467d(0x2a5)](encodeURIComponent,JSON[_0x45467d(0x276)](_0x565c28))]);return PlaywrightSessionDetails[_0x45467d(0x247)](_0x22c08d,_0x27b8cd,_0x46888c),_0x22c08d;}return _0x4403e5['apply'](this,arguments)[_0x45467d(0x2cb)](_0x408e76=>{const _0x3d3971=_0x45467d;let _0xa6be0d=_0x40b6a2[_0x3d3971(0x2b8)];return _0x4291ba['dApbc'](typeof _0x40b6a2,_0x4291ba[_0x3d3971(0x29c)])&&(_0xa6be0d=_0x40b6a2),PlaywrightSessionDetails[_0x3d3971(0x247)](_0x408e76,_0x27b8cd,_0xa6be0d),_0x408e76;});};}});const _0x4ab07d=_0x760b11[_0x22b8f1(0x23a)];Object[_0x22b8f1(0x2c7)](_0x760b11,_0x5a6d95[_0x22b8f1(0x27d)],{'get':function(){return async function _0x46aa89(){const _0x1f1397=a4_0x1e84;return _0x4ab07d['apply'](this,arguments)[_0x1f1397(0x2cb)](_0x2d0bb3=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2d0bb3,null),_0x2d0bb3;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x26c2d7(0x28e)]=![];[a4_0x26c2d7(0x20d)]=![];constructor(_0x5537ae,_0x2a4517){const _0x462d64=a4_0x26c2d7,_0x1e6a61={'MfuCB':'3|2|5|0|1|4','ZTCDv':function(_0xbbc66b){return _0xbbc66b();},'kmndH':function(_0xd557e1,_0x46eff5){return _0xd557e1===_0x46eff5;},'KrKNP':_0x462d64(0x28d),'lULlr':function(_0x2d28b7,_0x106f70){return _0x2d28b7(_0x106f70);}},_0xe141e9=_0x1e6a61[_0x462d64(0x2cf)][_0x462d64(0x268)]('|');let _0x3ccef5=0x0;while(!![]){switch(_0xe141e9[_0x3ccef5++]){case'0':this[_0x462d64(0x281)]=_0x1e6a61[_0x462d64(0x2d9)](getTestEnv);continue;case'1':this[_0x462d64(0x2ca)]=new testOpsHelper[(_0x462d64(0x2e1))]({'cwd':process[_0x462d64(0x215)]()},this['_testEnv']['location_prefix']);continue;case'2':this[_0x462d64(0x20d)]=_0x2a4517[_0x462d64(0x20d)];continue;case'3':this[_0x462d64(0x28e)]=_0x1e6a61['ZTCDv'](shouldProcessEventForTesthub);continue;case'4':this[_0x462d64(0x2b9)]&&_0x1e6a61[_0x462d64(0x2a3)](this[_0x462d64(0x2b9)][_0x462d64(0x23c)]['name'],_0x1e6a61[_0x462d64(0x214)])&&_0x1e6a61['lULlr'](mockPWBrowserType,null);continue;case'5':this[_0x462d64(0x2b9)]=_0x5537ae;continue;}break;}}[a4_0x26c2d7(0x213)](){const _0x3fee93=a4_0x26c2d7;if(!this[_0x3fee93(0x28e)])return;testOpsHelper[_0x3fee93(0x24d)](),process['removeAllListeners'](_0x3fee93(0x2de)+process[_0x3fee93(0x22b)]),process['on'](_0x3fee93(0x2de)+process[_0x3fee93(0x22b)],this[_0x3fee93(0x2da)][_0x3fee93(0x2be)](this));}async[a4_0x26c2d7(0x216)](){const _0x23bd5e=a4_0x26c2d7;await RequestQueueHandler['getInstance']()[_0x23bd5e(0x225)]();}async[a4_0x26c2d7(0x2da)](_0x3d554d){const _0x53c54a=a4_0x26c2d7,_0x535034={'yNfAL':_0x53c54a(0x2b5),'LossH':function(_0x3a64e5,_0x4e3a3b){return _0x3a64e5(_0x4e3a3b);}};try{this[_0x53c54a(0x20c)]&&!this['currentHook'][_0x53c54a(0x269)]&&(_0x3d554d[_0x53c54a(0x263)]=this[_0x53c54a(0x20c)][_0x53c54a(0x23f)]);!_0x3d554d[_0x53c54a(0x263)]&&this[_0x53c54a(0x2c9)]&&!this[_0x53c54a(0x2c9)][_0x53c54a(0x269)]&&(_0x3d554d[_0x53c54a(0x29b)]=this[_0x53c54a(0x2c9)][_0x53c54a(0x25d)]);if(_0x3d554d[_0x53c54a(0x263)]||_0x3d554d[_0x53c54a(0x29b)]){const _0xbf0d98={};_0xbf0d98[_0x53c54a(0x273)]=_0x535034['yNfAL'],_0xbf0d98['logs']=[_0x3d554d],await SessionHandler[_0x53c54a(0x2e2)](_0xbf0d98);}}catch(_0x18a66f){_0x535034['LossH'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x18a66f);}}async[a4_0x26c2d7(0x204)](_0x3b5a3c){const _0x43c35f=a4_0x26c2d7,_0x333651={'sSBMj':'CBTSessionCreated','rgZqF':function(_0x559ad1,_0x389f61){return _0x559ad1(_0x389f61);}};if(!this[_0x43c35f(0x28e)])return;const _0x3d723d=this[_0x43c35f(0x26b)](this[_0x43c35f(0x2b9)]);try{const _0x283027={};_0x283027[_0x43c35f(0x27b)]=_0x3b5a3c,_0x283027['integrations']=_0x3d723d;const _0x595ee0=_0x283027,_0x125169={};_0x125169['event_type']=_0x333651[_0x43c35f(0x20b)],_0x125169[_0x43c35f(0x1fb)]=_0x595ee0,await SessionHandler['uploadEventData'](_0x125169);}catch(_0x1de0ae){_0x333651[_0x43c35f(0x2c4)](debug,_0x43c35f(0x23e)+_0x1de0ae);}}[a4_0x26c2d7(0x26b)](_0x415657){const _0x1fb54c={'ZBbtz':function(_0x1ce52a,_0x569ba){return _0x1ce52a(_0x569ba);}};return _0x1fb54c['ZBbtz'](fetchPlatformDetails,_0x415657);}[a4_0x26c2d7(0x283)]=_0x1a04e2=>{const _0x1bc343=a4_0x26c2d7,_0x39d45c={};_0x39d45c[_0x1bc343(0x208)]='_beforeEach',_0x39d45c[_0x1bc343(0x290)]=_0x1bc343(0x2bc);const _0x212be4=_0x39d45c;if(!_0x1a04e2||!_0x1a04e2[_0x1bc343(0x2a4)])return;[_0x212be4[_0x1bc343(0x208)],_0x212be4['rnrVt']]['forEach'](_0x3a6ae5=>{const _0x2f252a=_0x1bc343,_0x45d5af=_0x1a04e2[_0x2f252a(0x2a4)][_0x3a6ae5];_0x45d5af[_0x2f252a(0x1f9)](_0x382ee1=>{const _0x357e53=_0x2f252a;_0x382ee1[_0x357e53(0x23f)]&&(_0x382ee1[_0x357e53(0x23f)]=null);});});};[a4_0x26c2d7(0x2b6)](_0x3bb7eb){const _0x35443e=a4_0x26c2d7,_0x513d7e={'fLRAc':_0x35443e(0x2b3),'wtEkJ':function(_0x26d126){return _0x26d126();},'hxXJj':function(_0x108456,_0x483f89){return _0x108456===_0x483f89;},'qZKZQ':'_afterEach','zygdg':_0x35443e(0x29e),'BYMpH':_0x35443e(0x27e),'AESkt':_0x35443e(0x237)};if(!_0x3bb7eb||!_0x3bb7eb[_0x35443e(0x2a4)])return;[_0x513d7e[_0x35443e(0x21d)],_0x513d7e[_0x35443e(0x2ad)],_0x513d7e[_0x35443e(0x28a)],_0x513d7e[_0x35443e(0x1f7)]][_0x35443e(0x1f9)](_0x532bfe=>{const _0x59203b=_0x35443e,_0x559bf9={'waAfV':_0x513d7e[_0x59203b(0x248)],'qzhuA':function(_0x3c7be1){return _0x513d7e['wtEkJ'](_0x3c7be1);},'IAGPs':function(_0x537f8c,_0x29ccec){const _0x24778b=_0x59203b;return _0x513d7e[_0x24778b(0x2d2)](_0x537f8c,_0x29ccec);},'SzKse':_0x513d7e[_0x59203b(0x1f7)],'RDNEW':function(_0xa58c67){return _0x513d7e['wtEkJ'](_0xa58c67);}},_0x37a847=_0x3bb7eb['parent'][_0x532bfe]||[];_0x37a847[_0x59203b(0x1f9)](_0x2abddc=>{const _0x44f7fa=_0x59203b;if(_0x2abddc[_0x44f7fa(0x289)][_0x44f7fa(0x277)](_0x559bf9[_0x44f7fa(0x1fe)]))return;if(!_0x2abddc['hookAnalyticsId'])_0x2abddc[_0x44f7fa(0x23f)]=_0x559bf9['qzhuA'](uuidv4);else _0x2abddc[_0x44f7fa(0x269)]&&_0x559bf9[_0x44f7fa(0x235)](_0x532bfe,_0x559bf9[_0x44f7fa(0x2d0)])&&(_0x2abddc[_0x44f7fa(0x23f)]=_0x559bf9[_0x44f7fa(0x287)](uuidv4),delete _0x2abddc[_0x44f7fa(0x269)]);});}),this[_0x35443e(0x2b6)](_0x3bb7eb[_0x35443e(0x2a4)]);}[a4_0x26c2d7(0x278)](_0x4a02c1){const _0x30576a=a4_0x26c2d7,_0x5d65fd={};_0x5d65fd[_0x30576a(0x261)]='_beforeAll',_0x5d65fd[_0x30576a(0x2d6)]=_0x30576a(0x27e),_0x5d65fd[_0x30576a(0x2d5)]='_beforeEach',_0x5d65fd[_0x30576a(0x2e7)]=_0x30576a(0x2bc);const _0x5829d9=_0x5d65fd;if(!_0x4a02c1||!_0x4a02c1[_0x30576a(0x2a4)])return[];const _0x38cf4b=[];return[_0x5829d9['TCPve'],_0x5829d9['pgkVC'],_0x5829d9[_0x30576a(0x2d5)],_0x5829d9[_0x30576a(0x2e7)]][_0x30576a(0x1f9)](_0x40b23a=>{const _0x48018b=_0x30576a,_0x2da247=_0x4a02c1[_0x48018b(0x2a4)][_0x40b23a]||[];_0x2da247[_0x48018b(0x1f9)](_0x2b5ceb=>{const _0x5c27fd=_0x48018b;_0x2b5ceb[_0x5c27fd(0x23f)]&&_0x38cf4b['push'](_0x2b5ceb[_0x5c27fd(0x23f)]);});}),[][_0x30576a(0x286)](_0x38cf4b,this[_0x30576a(0x278)](_0x4a02c1[_0x30576a(0x2a4)]));}[a4_0x26c2d7(0x23b)](_0x641fa7){const _0x948d26=a4_0x26c2d7,_0x227f53=/^"(?<hook>.*)" hook:.*$/,_0x2e9ab7=_0x641fa7[_0x948d26(0x289)],_0x981fc4=_0x2e9ab7[_0x948d26(0x24c)](_0x227f53);if(_0x981fc4&&_0x981fc4[_0x948d26(0x2d8)])return _0x981fc4[_0x948d26(0x2d8)][_0x948d26(0x29d)][_0x948d26(0x251)]()[_0x948d26(0x26a)]('\x20','_');return null;}[a4_0x26c2d7(0x28f)](_0x42a01e){const _0x7a6eaf=a4_0x26c2d7,_0x243383={};_0x243383[_0x7a6eaf(0x279)]=function(_0x30a5ae,_0x2a021a){return _0x30a5ae===_0x2a021a;},_0x243383['HIvfC']=function(_0x51e920,_0x12c13b){return _0x51e920===_0x12c13b;},_0x243383[_0x7a6eaf(0x2db)]=function(_0x20e63c,_0x50ae3c){return _0x20e63c===_0x50ae3c;},_0x243383[_0x7a6eaf(0x24a)]=function(_0x34224d,_0x2a7d10){return _0x34224d===_0x2a7d10;},_0x243383[_0x7a6eaf(0x2af)]=_0x7a6eaf(0x26e),_0x243383['oALmu']=_0x7a6eaf(0x1fa);const _0x1ac2a8=_0x243383,_0x25d126=path['sep'];if(_0x1ac2a8[_0x7a6eaf(0x279)](_0x42a01e,null)||_0x1ac2a8['HIvfC'](_0x42a01e,'')||_0x1ac2a8[_0x7a6eaf(0x2db)](_0x42a01e,_0x25d126)||_0x1ac2a8[_0x7a6eaf(0x24a)](_0x42a01e,path[_0x7a6eaf(0x2e3)](_0x42a01e)))return null;try{return fs[_0x7a6eaf(0x21b)](path['join'](_0x42a01e,_0x1ac2a8[_0x7a6eaf(0x2af)],_0x1ac2a8[_0x7a6eaf(0x201)])),_0x42a01e;}catch(_0x41a3ba){const _0x2f976f=path['dirname'](_0x42a01e);return this[_0x7a6eaf(0x28f)](_0x2f976f);}}[a4_0x26c2d7(0x2ce)](_0x226bfa){const _0x21032a=a4_0x26c2d7,_0x2040b2={};_0x2040b2['nhnyG']=function(_0xc081a0,_0x27c1b8){return _0xc081a0>_0x27c1b8;};const _0x3eb2bf=_0x2040b2;if(_0x226bfa[_0x21032a(0x20f)])return _0x226bfa['file'];if(_0x226bfa['ctx']){const _0xcc9da9=_0x226bfa['ctx'][_0x21032a(0x2c9)]?this['getRootParentFile'](_0x226bfa[_0x21032a(0x2e4)][_0x21032a(0x2c9)]):null;if(_0xcc9da9)return _0xcc9da9;}if(_0x226bfa[_0x21032a(0x2a4)]){const _0x2db688=this[_0x21032a(0x2ce)](_0x226bfa[_0x21032a(0x2a4)])||(_0x226bfa[_0x21032a(0x2a4)]['ctx']&&_0x226bfa[_0x21032a(0x2a4)][_0x21032a(0x2e4)][_0x21032a(0x2c9)]?this[_0x21032a(0x2ce)](_0x226bfa['parent'][_0x21032a(0x2e4)][_0x21032a(0x2c9)]):null);if(_0x2db688)return _0x2db688;_0x226bfa[_0x21032a(0x2a4)][_0x21032a(0x29f)]&&_0x3eb2bf[_0x21032a(0x1ff)](_0x226bfa[_0x21032a(0x2a4)][_0x21032a(0x29f)][_0x21032a(0x242)],0x0)&&_0x226bfa[_0x21032a(0x2a4)][_0x21032a(0x29f)][_0x21032a(0x1f9)](_0x32534b=>{const _0x2a3d40=_0x21032a,_0x259b29=_0x32534b[_0x2a3d40(0x2e4)]?this[_0x2a3d40(0x2ce)](_0x32534b[_0x2a3d40(0x2e4)]):null;if(_0x259b29)return _0x259b29;});}return null;}[a4_0x26c2d7(0x258)](_0x19c7d9){const _0x412db1=a4_0x26c2d7,_0x37ef8d={};_0x37ef8d['TzUPD']=function(_0x17a4ef,_0x38480b){return _0x17a4ef!==_0x38480b;};const _0x258819=_0x37ef8d,_0x29dee4=[];if(_0x19c7d9&&_0x19c7d9['parent']){let _0x4e09c1=_0x19c7d9['parent'];while(_0x4e09c1&&_0x258819[_0x412db1(0x25c)](_0x4e09c1[_0x412db1(0x289)],'')){_0x29dee4[_0x412db1(0x255)](_0x4e09c1['title']),_0x4e09c1=_0x4e09c1[_0x412db1(0x2a4)];}}return _0x29dee4;}['captureEvent'](_0x5bb400,_0x57b7bc,_0x5ae89d=undefined){const _0x642102=a4_0x26c2d7,_0x1192c3={'sHzKk':function(_0x43cb1c,_0x330896){return _0x43cb1c(_0x330896);},'jEmfz':function(_0xc344a7){return _0xc344a7();},'RsIAs':function(_0x407117){return _0x407117();},'bUoVw':function(_0x1223bc){return _0x1223bc();},'kKYph':function(_0x104a5c,_0x1105a5){return _0x104a5c(_0x1105a5);},'BNIjN':'util','gELXm':_0x642102(0x243),'YUKYh':function(_0x4f9536,_0x4ee6e9){return _0x4f9536!==_0x4ee6e9;},'LfFYe':_0x642102(0x2bd),'LmcQf':_0x642102(0x2bf),'RUpSO':_0x642102(0x25b),'OsawU':_0x642102(0x26c),'OMgZj':_0x642102(0x210),'wLHfP':'javascript','ogUAj':function(_0x1518e6,_0x46515f){return _0x1518e6-_0x46515f;},'efteq':function(_0x43ca75,_0x52109e,_0x30d8b9,_0xa6a564,_0x127d59){return _0x43ca75(_0x52109e,_0x30d8b9,_0xa6a564,_0x127d59);},'PPvCt':function(_0x49219e,_0x2fef02){return _0x49219e!==_0x2fef02;},'gsZAN':'integrations','qjwCx':_0x642102(0x299),'wmmKY':_0x642102(0x2a7),'NMlBz':_0x642102(0x297),'eUgdC':_0x642102(0x203),'cclgH':'failure_reason_expanded','EYozE':_0x642102(0x1f3),'MhNyu':function(_0x4aae0d,_0x5f7e24){return _0x4aae0d===_0x5f7e24;},'AyWOG':_0x642102(0x22a),'qAMfz':_0x642102(0x1fb)};if(!this[_0x642102(0x28e)])return;try{if(_0x57b7bc['fn']&&_0x57b7bc['fn'][_0x642102(0x2c6)]()[_0x642102(0x24c)](/browserstack internal helper hook/))return;const _0x13d861=_0x1192c3[_0x642102(0x238)](parseEvent,_0x5bb400);if(!_0x13d861)return;if(_0x13d861[_0x642102(0x22e)]){this[_0x642102(0x2c9)]=_0x57b7bc,this[_0x642102(0x20c)]=null;if(_0x13d861[_0x642102(0x231)]||_0x13d861['skipped']){_0x57b7bc[_0x642102(0x252)]=new Date(),_0x57b7bc[_0x642102(0x269)]=![];if(!_0x57b7bc[_0x642102(0x25d)])_0x57b7bc[_0x642102(0x25d)]=_0x1192c3[_0x642102(0x246)](uuidv4);else _0x57b7bc['markedStatus']&&(!_0x57b7bc[_0x642102(0x224)]&&(_0x57b7bc[_0x642102(0x224)]=_0x57b7bc[_0x642102(0x25d)]),_0x57b7bc['testAnalyticsId']=_0x1192c3['RsIAs'](uuidv4));}}else{if(_0x13d861[_0x642102(0x29d)]){this['currentHook']=_0x57b7bc;if(_0x13d861[_0x642102(0x231)]){_0x57b7bc['startedAt']=new Date(),_0x57b7bc[_0x642102(0x269)]=![];if(!_0x57b7bc[_0x642102(0x23f)])_0x57b7bc[_0x642102(0x23f)]=_0x1192c3[_0x642102(0x260)](uuidv4);else _0x57b7bc[_0x642102(0x23f)]&&_0x57b7bc[_0x642102(0x269)]&&(_0x57b7bc[_0x642102(0x23f)]=_0x1192c3[_0x642102(0x260)](uuidv4));}}}if(_0x13d861[_0x642102(0x2d4)]&&_0x57b7bc[_0x642102(0x269)])return;let _0x489197;try{_0x489197=this[_0x642102(0x2ce)](_0x57b7bc);}catch(_0x37a6ac){logger[_0x642102(0x29a)](_0x642102(0x2d3)+_0x37a6ac),_0x489197=null;}const _0x451ef9=_0x1192c3['kKYph'](require,_0x1192c3['BNIjN']);let _0x166446=[];_0x5ae89d&&(_0x166446=[_0x5ae89d,_0x1192c3['gELXm']]);const _0x2be568=_0x1192c3[_0x642102(0x256)](_0x57b7bc[_0x642102(0x240)],undefined)?_0x451ef9[_0x642102(0x21a)](_0x57b7bc['errorsDetailed'][0x0]):_0x1192c3[_0x642102(0x256)](_0x5ae89d,undefined)?_0x5ae89d['toString']():undefined,_0x1317ca=_0x489197?this['findGitConfig'](_0x489197):null,_0x993842=_0x489197?this[_0x642102(0x2ca)][_0x642102(0x229)](this[_0x642102(0x2ce)](_0x57b7bc)):_0x1192c3[_0x642102(0x266)];let _0x588de0=_0x1192c3[_0x642102(0x272)];const _0x50de2a=!_0x13d861[_0x642102(0x231)]?new Date()[_0x642102(0x1f5)]():null;if(_0x13d861[_0x642102(0x2d4)])_0x588de0=_0x5ae89d?_0x1192c3[_0x642102(0x2a8)]:_0x1192c3[_0x642102(0x267)],_0x57b7bc['markedStatus']=!![];else _0x13d861[_0x642102(0x210)]&&(_0x588de0=_0x1192c3['OMgZj'],_0x57b7bc['markedStatus']=!![]);const _0x43ff15={'framework':this[_0x642102(0x20d)],'uuid':_0x57b7bc['testAnalyticsId']||_0x57b7bc[_0x642102(0x23f)],'name':_0x57b7bc[_0x642102(0x289)],'body':{'lang':_0x1192c3[_0x642102(0x220)],'code':_0x57b7bc[_0x642102(0x222)][_0x642102(0x2c6)]()},'type':_0x57b7bc[_0x642102(0x241)],'scope':_0x57b7bc['fullTitle'](),'scopes':this[_0x642102(0x258)](_0x57b7bc),'file_name':_0x993842,'vc_filepath':_0x1317ca?path[_0x642102(0x2ae)](_0x1317ca,_0x489197):null,'location':_0x993842,'result':_0x588de0,'failure_reason':_0x2be568,'duration_in_ms':_0x57b7bc[_0x642102(0x25a)]||(_0x13d861[_0x642102(0x2d4)]||_0x13d861[_0x642102(0x210)])?_0x1192c3[_0x642102(0x293)](Date[_0x642102(0x2c2)](),new Date(_0x57b7bc['startedAt'])['getTime']()):null,'started_at':new Date(_0x57b7bc[_0x642102(0x252)])[_0x642102(0x1f5)](),'finished_at':_0x50de2a,'failure':testOpsHelper['failureData'][_0x642102(0x26d)](null,_0x166446),'failure_type':!_0x2be568?null:testOpsHelper[_0x642102(0x2d1)](_0x2be568),'retry_of':_0x57b7bc[_0x642102(0x224)]||null,'tags':_0x57b7bc[_0x642102(0x232)]||[],'customRerunParam':{'rerun_name':_0x57b7bc['fullTitle']()}};_0x1192c3[_0x642102(0x282)](appendTesthubParams,_0x43ff15,_0x5bb400,_0x57b7bc,FRAMEWORKS[_0x642102(0x21c)]);if(_0x13d861[_0x642102(0x29d)])[_0x43ff15['hook_type'],_0x43ff15[_0x642102(0x262)]]=[this[_0x642102(0x23b)](_0x57b7bc),_0x57b7bc['ctx'][_0x642102(0x22e)][_0x642102(0x289)]],_0x13d861[_0x642102(0x2d4)]?_0x1192c3[_0x642102(0x223)](_0x43ff15[_0x642102(0x254)],_0x1192c3[_0x642102(0x2a8)])&&(_0x43ff15[_0x642102(0x254)]=_0x1192c3[_0x642102(0x267)]):_0x43ff15[_0x642102(0x222)]={};else _0x13d861[_0x642102(0x22e)]&&(this[_0x642102(0x2b6)](_0x57b7bc),_0x13d861[_0x642102(0x210)]&&this[_0x642102(0x283)](_0x57b7bc),(_0x13d861['finished']||_0x13d861[_0x642102(0x210)])&&(_0x43ff15[_0x642102(0x2ab)]=this['getHooksForTest'](_0x57b7bc)));this[_0x642102(0x2b9)]&&(_0x13d861[_0x642102(0x231)]||_0x13d861['skipped'])&&(_0x43ff15[_0x1192c3[_0x642102(0x2ea)]]=this[_0x642102(0x26b)](this[_0x642102(0x2b9)]));_0x13d861[_0x642102(0x22e)]&&_0x13d861[_0x642102(0x2d4)]&&_0x57b7bc[_0x642102(0x26f)]&&(_0x43ff15[_0x1192c3[_0x642102(0x257)]]={'feature':{'name':_0x57b7bc[_0x642102(0x2a4)]['feature'][_0x642102(0x262)],'path':_0x43ff15[_0x642102(0x27f)],'description':_0x57b7bc['parent']['comment']},'scenario':{'name':_0x57b7bc[_0x642102(0x289)]},'steps':_0x57b7bc[_0x642102(0x26f)]});const _0x3aa4f4=_0x43ff15[_0x1192c3['wmmKY']][0x0];_0x3aa4f4&&(_0x43ff15[_0x1192c3[_0x642102(0x274)]]=_0x3aa4f4[_0x1192c3[_0x642102(0x20a)]],_0x43ff15[_0x1192c3[_0x642102(0x264)]]=_0x3aa4f4[_0x1192c3['EYozE']]);if(_0x57b7bc[_0x642102(0x26f)])for(const _0x31499f of _0x57b7bc['bddSteps']){!_0x31499f[_0x642102(0x211)]&&(_0x31499f[_0x642102(0x211)]=new Date()[_0x642102(0x1f5)](),_0x1192c3[_0x642102(0x2cc)](_0x31499f[_0x642102(0x254)],_0x1192c3[_0x642102(0x272)])&&(_0x3aa4f4?(_0x31499f['result']=_0x1192c3[_0x642102(0x2a8)],_0x31499f[_0x642102(0x2a7)]=_0x3aa4f4[_0x1192c3[_0x642102(0x20a)]][0x0]):_0x31499f['result']=_0x1192c3[_0x642102(0x267)]));}const _0x219b4e={};_0x219b4e[_0x642102(0x273)]=_0x13d861['skipped']?TEST_EVENTS[_0x642102(0x294)]:_0x5bb400;const _0x488f3a=_0x219b4e;return _0x13d861[_0x642102(0x29d)]?_0x488f3a[_0x1192c3[_0x642102(0x24e)]]=_0x43ff15:_0x488f3a[_0x1192c3[_0x642102(0x2a6)]]=_0x43ff15,_0x488f3a;}catch(_0x5d8756){logger[_0x642102(0x29a)](_0x642102(0x298)+_0x5bb400+'\x20with\x20error\x20:\x20'+_0x5d8756);}}async[a4_0x26c2d7(0x24b)](_0x500987,_0x43a37b){const _0xd781f1=a4_0x26c2d7;if(!this[_0xd781f1(0x28e)]||!_0x43a37b||!_0x500987)return![];try{return await SessionHandler[_0xd781f1(0x2e2)](_0x43a37b);}catch(_0x899a19){logger[_0xd781f1(0x29a)](_0xd781f1(0x1f8)+_0x500987+_0xd781f1(0x295)+_0x899a19);}}[a4_0x26c2d7(0x2c0)](_0x19b043){const _0x4830a7=a4_0x26c2d7,_0x253a44={};_0x253a44[_0x4830a7(0x25e)]=_0x4830a7(0x2bf);const _0x1fdb56=_0x253a44;return{'id':_0x19b043['stepAnalyticsId'],'text':_0x19b043['text'],'keyword':_0x19b043['keyword'],'started_at':_0x19b043[_0x4830a7(0x252)][_0x4830a7(0x1f5)](),'result':_0x1fdb56['qgRbk']};}['bddStepStart'](_0x37a12c){const _0x5b4cc7=a4_0x26c2d7,_0x5d7903={'Chndy':function(_0x429a32){return _0x429a32();}};!this[_0x5b4cc7(0x2c9)]['bddSteps']&&(this[_0x5b4cc7(0x2c9)][_0x5b4cc7(0x26f)]=[]),!_0x37a12c[_0x5b4cc7(0x245)]&&(_0x37a12c[_0x5b4cc7(0x245)]=_0x5d7903['Chndy'](uuidv4),_0x37a12c['startedAt']=new Date(),this[_0x5b4cc7(0x2c9)][_0x5b4cc7(0x26f)][_0x5b4cc7(0x255)](this[_0x5b4cc7(0x2c0)](_0x37a12c)));}['bddStepFinish'](_0x4a7f3c){const _0x94ceb9=a4_0x26c2d7,_0x119c11={'xKgQx':function(_0x4537ed,_0x157769){return _0x4537ed(_0x157769);},'gmwpc':_0x94ceb9(0x285),'NKbpI':'pending','OVMXB':_0x94ceb9(0x26c),'qCXOE':function(_0x322737,_0x2e38b1){return _0x322737-_0x2e38b1;}};let _0x1e69f9=this[_0x94ceb9(0x2c9)][_0x94ceb9(0x26f)]['find'](_0x4a996e=>_0x4a996e['id']===_0x4a7f3c[_0x94ceb9(0x245)]);_0x119c11[_0x94ceb9(0x227)](isUndefined,_0x1e69f9)&&(_0x1e69f9=this[_0x94ceb9(0x2c0)](_0x4a7f3c)),_0x1e69f9[_0x94ceb9(0x254)]=[_0x119c11[_0x94ceb9(0x239)],_0x119c11[_0x94ceb9(0x217)]][_0x94ceb9(0x277)](_0x4a7f3c[_0x94ceb9(0x218)])?_0x119c11[_0x94ceb9(0x22c)]:_0x4a7f3c[_0x94ceb9(0x218)],_0x1e69f9[_0x94ceb9(0x211)]=new Date()['toISOString'](),_0x1e69f9[_0x94ceb9(0x25a)]=_0x119c11[_0x94ceb9(0x2a1)](Date['now'](),_0x4a7f3c[_0x94ceb9(0x252)]['getTime']()),_0x1e69f9['failure']=_0x4a7f3c[_0x94ceb9(0x243)]?_0x4a7f3c[_0x94ceb9(0x243)][_0x94ceb9(0x250)]:null;}}const a4_0x163544={};function a4_0x4369(){const _0x10f6d7=['initializeBddStep','../../helpers/test-observability/requestQueueHandler','now','odXNz','rgZqF','connect','toString','defineProperty','42ljyxxF','currentTest','_paths','then','MhNyu','41268ZMUrxd','getRootParentFile','MfuCB','SzKse','getFailureType','hxXJj','failed\x20to\x20get\x20root\x20parent\x20file\x20','finished','PUxHF','pgkVC','__cloud_provider___','groups','ZTCDv','appendTestItemLog','YTkBp','../../helpers/logger','ilfVc','bs:addLog:','../utils/constants','lib','PathHelper','uploadEventData','dirname','ctx','qWPul','../mocha/test-observability/mochaUtils','hqsNY','../playwright/accessibility-helper','wOEMm','gsZAN','22cIMUbN','309545ORPkcW','expanded','iKiaS','toISOString','../../helpers/test-observability/utils','qZKZQ','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','forEach','config','test_run','string','104VuojGZ','waAfV','nhnyG','../../helpers/test-observability/constants','oALmu','44331VrPWHw','backtrace','sendCBTInfo','obsBrowserTypeMockApplied','YbpXk','ccDyp','oMoMM','uXiiI','eUgdC','sSBMj','currentHook','frameworkName','BrowserType','file','skipped','finished_at','join','start','KrKNP','cwd','stop','NKbpI','status','120948OtKmaU','inspect','statSync','CODECEPT','zygdg','TestRunSkipped','../../helpers/test-observability/sessionHandler','wLHfP','TEST_EVENTS','body','PPvCt','retryOf','shutdown','HOOK_RUN_STARTED','xKgQx','accessibilityPlatform','prefixTestPath','hook_run','pid','OVMXB','winstonLogger','test','33PfsVWz','../playwright/sessionDetails','started','tags','vNFHe','TEST_RUN_STARTED','IAGPs','phjhg','_beforeEach','sHzKk','gmwpc','launch','getHookType','constructor','Failed\x20to\x20parse\x20wsendpoint\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','hookAnalyticsId','errorsDetailed','type','length','err','fTbWN','stepAnalyticsId','jEmfz','setupBrowserDetails','fLRAc','emFfZ','LQPXr','fireEvent','match','patchConsoleLogger','AyWOG','O11yHelper','message','toUpperCase','startedAt','Not\x20able\x20to\x20import\x20Browser','result','push','YUKYh','qjwCx','getHierarchy','sxnVo','duration','failed','TzUPD','testAnalyticsId','qgRbk','path','bUoVw','TCPve','name','hook_run_uuid','cclgH','HookRunStarted','LfFYe','OsawU','split','markedStatus','replace','getCBTInfo','passed','apply','.git','bddSteps','prototype','../../helpers/testhub/utils.js','LmcQf','event_type','NMlBz','__platformCaps','stringify','includes','getHooksForTest','AzdWY','browserType.js','uuid','39570yDXtGw','GJOoj','_afterAll','file_name','2916036mMezLP','_testEnv','efteq','resetSkipTestHooks','689HJKCZY','success','concat','RDNEW','STATE_PASSED','title','AESkt','TestRunStarted','lKkNf','Playwright','enabled','findGitConfig','rnrVt','connectOverCDP','143332OWqYjR','ogUAj','TEST_RUN_FINISHED','\x20with\x20error\x20:\x20','exports','failure_backtrace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','meta','debug','test_run_uuid','PZGuO','hook','_beforeAll','suites','kKemc','qCXOE','LqSKR','kmndH','parent','bfLOB','qAMfz','failure','RUpSO','browserstack','toLowerCase','hooks','PLAYWRIGHT_HUB_URL','BYMpH','relative','vlBVL','87nePGIN','OuLMu','UQzUo','codeceptjs','gerFM','LogCreated','mapTestHooks','TestRunFinished','wsEndpoint','driver','client','HOOK_RUN_FINISHED','_afterEach','File\x20path\x20could\x20not\x20be\x20found','bind','pending'];a4_0x4369=function(){return _0x10f6d7;};return a4_0x4369();}a4_0x163544[a4_0x26c2d7(0x24f)]=O11yHelper,a4_0x163544[a4_0x26c2d7(0x288)]=STATE_PASSED,a4_0x163544['STATE_FAILED']=STATE_FAILED,a4_0x163544[a4_0x26c2d7(0x221)]=TEST_EVENTS,module[a4_0x26c2d7(0x296)]=a4_0x163544;
|
|
1
|
+
const a4_0x2f73dd=a4_0x45c4;(function(_0xc474b8,_0x1da55d){const _0x229c32=a4_0x45c4,_0x3bfc04=_0xc474b8();while(!![]){try{const _0x15e7e2=parseInt(_0x229c32(0x13b))/0x1+-parseInt(_0x229c32(0x1fe))/0x2*(parseInt(_0x229c32(0x203))/0x3)+-parseInt(_0x229c32(0x1fb))/0x4*(-parseInt(_0x229c32(0x1a5))/0x5)+parseInt(_0x229c32(0x20c))/0x6*(-parseInt(_0x229c32(0x17f))/0x7)+-parseInt(_0x229c32(0x1e7))/0x8*(parseInt(_0x229c32(0x1d9))/0x9)+-parseInt(_0x229c32(0x178))/0xa*(-parseInt(_0x229c32(0x217))/0xb)+-parseInt(_0x229c32(0x172))/0xc;if(_0x15e7e2===_0x1da55d)break;else _0x3bfc04['push'](_0x3bfc04['shift']());}catch(_0x2fc263){_0x3bfc04['push'](_0x3bfc04['shift']());}}}(a4_0x38ba,0xc99f9));function a4_0x38ba(){const _0x51ee13=['match','PYvAt','setupBrowserDetails','backtrace','resetSkipTestHooks','TEST_RUN_STARTED','browserstack','../utils/constants','TestRunStarted','bs:addLog:','suites','name','stringify','zJOxR','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','HNIaf','288YdZaQx','removeAllListeners','groups','push','FpnsM','tzLxa','xEHLm','TolOm','__cloud_provider___','failed','hook','integrations','5|2|0|3|4|1','split','168312HhgrBx','uGXWw','_paths','bfRoP','_testEnv','gkJYc','vzqdY','prototype','\x20with\x20error\x20:\x20','gIMpZ','./helper.js','comment','OHpeM','finished_at','UcroZ','hGNjM','getCBTInfo','testAnalyticsId','wsEndpoint','DWkNr','28zsouow','hook_run_uuid','rAgMv','404258eEZxVR','toISOString','errorsDetailed','../mocha/test-observability/mochaUtils','O11yHelper','3ngkuCb','xvYmd','uuid','event_type','thPmp','started','GdYtG','wQxFM','type','6006JGfuDr','gEkhZ','err','hook_run','Lspxy','location_prefix','gbukS','markedStatus','findGitConfig','../../helpers/testhub/utils.js','passed','2102287BGIkls','MAMDV','HSmdi','expanded','JRijD','RqSus','lyPSp','xpzMA','../../helpers/test-observability/requestQueueHandler','patchConsoleLogger','bCTcP','../playwright/sessionDetails','getHierarchy','feature','OIfcQ','launch','bnzwb','TestRunSkipped','status','enabled','failed\x20to\x20get\x20root\x20parent\x20file\x20','currentTest','TestRunFinished','HookRunStarted','ftyrI','1553780BxVdVE','CDsbb','getHooksForTest','TWLYB','vjvmr','../../helpers/logger','replace','opDPD','AvNBB','bddSteps','getRootParentFile','appendTestItemLog','finished','WazTK','hpvJG','driver','getTime','zDkir','javascript','eUKvB','then','logs','skipped','_beforeAll','eAReS','NOObM','sgcdJ','defineProperty','VcERq','stepAnalyticsId','forEach','retryOf','pRxxI','ZdKKj','apply','initializeBddStep','xpnNV','DmEps','file','includes','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','getHookType','inspect','toString','fdZvw','pid','string','lfZeC','ctx','Not\x20able\x20to\x20import\x20Browser','../../helpers/test-observability/utils','nUhEN','success','lOqDp','test_run_uuid','12649356GMIreW','stop','GacJK','TEST_RUN_FINISHED','VNpkL','failure','30WcdiNn','constructor','length','QrjtM','concat','mapTestHooks','PathHelper','2681gwoFeT','TEST_EVENTS','myJJw','File\x20path\x20could\x20not\x20be\x20found','BrowserType','_afterAll','toLowerCase','title','UqeYo','STATE_FAILED','wAPkW','kTqrS','keyword','eletR','dPwyW','wasFP','obsBrowserTypeMockApplied','fullTitle','relative','PLAYWRIGHT_HUB_URL','wXOrP','connect','JxKLU','dirname','join','yYXQx','getInstance','text','fnnqu','parent','hAgkf','browserType.js','connectOverCDP','sep','result','FFxHH','getFailureType','debug','722565oTwfaE','currentHook','accessibilityPlatform','config','failure_reason_expanded','HOOK_RUN_FINISHED','captureEvent','WKnUa','frameworkName','hookAnalyticsId','uploadEventData','WzYNd','lIMfK','start','TVwxo','startedAt','body','test','file_name','_beforeEach','FsrPI','uxtwR','message','Playwright','QKrkA','sendCBTInfo','BJzap','JaWxc','failure_backtrace','test_run','yFFkZ','bddStepStart','pending','Nyfsm','FLfVM','path'];a4_0x38ba=function(){return _0x51ee13;};return a4_0x38ba();}const path=require(a4_0x2f73dd(0x1c8)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2f73dd(0x205)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x2f73dd(0x16d)),{getTestEnv}=require(a4_0x2f73dd(0x201)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x2f73dd(0x140))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2f73dd(0x12a)),PlaywrightSessionDetails=require(a4_0x2f73dd(0x12d)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x2f73dd(0x1d0)),{fetchPlatformDetails}=require(a4_0x2f73dd(0x1f1)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2f73dd(0x215)),STATE_PASSED=a4_0x2f73dd(0x216),STATE_FAILED='failed',a4_0x257877={};a4_0x257877[a4_0x2f73dd(0x1ce)]=a4_0x2f73dd(0x1d1),a4_0x257877['TEST_RUN_FINISHED']=a4_0x2f73dd(0x138),a4_0x257877['TEST_RUN_SKIPPED']=a4_0x2f73dd(0x133),a4_0x257877['HOOK_RUN_STARTED']=a4_0x2f73dd(0x139),a4_0x257877[a4_0x2f73dd(0x1aa)]='HookRunFinished';const TEST_EVENTS=a4_0x257877,parseEvent=_0x18149e=>{const _0x26955d=a4_0x2f73dd,_0x2831b5={};_0x2831b5['wAPkW']=function(_0x4c72a3,_0x248e60){return _0x4c72a3<_0x248e60;},_0x2831b5[_0x26955d(0x1b3)]=function(_0x568172,_0x3e14bb){return _0x568172===_0x3e14bb;},_0x2831b5[_0x26955d(0x16e)]='test',_0x2831b5[_0x26955d(0x167)]=function(_0x48c393,_0x20d06a){return _0x48c393===_0x20d06a;},_0x2831b5[_0x26955d(0x148)]='hook',_0x2831b5[_0x26955d(0x187)]=_0x26955d(0x151),_0x2831b5[_0x26955d(0x1bd)]=function(_0x3cc2c5,_0x286756){return _0x3cc2c5===_0x286756;},_0x2831b5[_0x26955d(0x1c0)]=_0x26955d(0x208),_0x2831b5['GdYtG']=function(_0x292ce7,_0x5dc713){return _0x292ce7===_0x5dc713;},_0x2831b5[_0x26955d(0x219)]='finished';const _0x27c7ab=_0x2831b5,_0x21fd8d=_0x18149e[_0x26955d(0x1c9)](/^(.*)Run(.*)$/);if(!_0x21fd8d)return null;if(_0x27c7ab[_0x26955d(0x189)](_0x21fd8d[_0x26955d(0x17a)],0x3))return null;const _0x5703e4=_0x21fd8d[0x1][_0x26955d(0x185)](),_0x42d5d0=_0x21fd8d[0x2][_0x26955d(0x185)]();return{'test':_0x27c7ab[_0x26955d(0x1b3)](_0x5703e4,_0x27c7ab[_0x26955d(0x16e)]),'hook':_0x27c7ab['fdZvw'](_0x5703e4,_0x27c7ab[_0x26955d(0x148)]),'skipped':_0x27c7ab[_0x26955d(0x1b3)](_0x42d5d0,_0x27c7ab[_0x26955d(0x187)]),'started':_0x27c7ab[_0x26955d(0x1bd)](_0x42d5d0,_0x27c7ab[_0x26955d(0x1c0)]),'finished':_0x27c7ab[_0x26955d(0x209)](_0x42d5d0,_0x27c7ab[_0x26955d(0x219)])};},mockPWBrowserType=_0x266f27=>{const _0xb7e8d5=a4_0x2f73dd,_0xf79284={'myJJw':function(_0xdab66d,_0x34add3){return _0xdab66d===_0x34add3;},'cEqtT':_0xb7e8d5(0x169),'wasFP':function(_0x3af0df,_0x3e8155,_0x1390d8){return _0x3af0df(_0x3e8155,_0x1390d8);},'fnnqu':_0xb7e8d5(0x1f9),'GhWyj':function(_0x4e3a2b,_0x4901b0){return _0x4e3a2b(_0x4901b0);},'uGXWw':_0xb7e8d5(0x1cf),'MAMDV':function(_0x50d4db,_0x419530,_0x1cfd0a){return _0x50d4db(_0x419530,_0x1cfd0a);},'ETIlW':'lib','UsCwt':'client','OIfcQ':_0xb7e8d5(0x19e),'PYvAt':function(_0x3a9ab0,_0x119d7b){return _0x3a9ab0(_0x119d7b);},'yYXQx':_0xb7e8d5(0x16c),'zFgbb':_0xb7e8d5(0x194),'WKnUa':_0xb7e8d5(0x131)},_0x39cfcb=path[_0xb7e8d5(0x197)](_0xf79284['ETIlW'],_0xf79284['UsCwt'],_0xf79284[_0xb7e8d5(0x130)]),_0x12bd03=_0xf79284['GhWyj'](importFileFromPWCore,_0x39cfcb);if(!_0x12bd03){_0xf79284[_0xb7e8d5(0x1ca)](debug,_0xf79284[_0xb7e8d5(0x198)]);return;}const _0x52a6dc=_0x12bd03[_0xb7e8d5(0x183)],_0x2b36e5=_0x52a6dc[_0xb7e8d5(0x1ee)];if(_0x2b36e5[_0xb7e8d5(0x18f)])return;const _0x29f5ae=_0x2b36e5[_0xb7e8d5(0x194)];Object['defineProperty'](_0x2b36e5,_0xf79284['zFgbb'],{'get':function(){const _0x27358a=_0xb7e8d5,_0x404a5b={'dPwyW':function(_0x1ac468,_0x19bbbc){const _0x19debc=a4_0x45c4;return _0xf79284[_0x19debc(0x181)](_0x1ac468,_0x19bbbc);},'hpvJG':_0xf79284['cEqtT'],'zDkir':function(_0x17cd85,_0x3e72e8,_0x28ace0){const _0x2eb9be=a4_0x45c4;return _0xf79284[_0x2eb9be(0x18e)](_0x17cd85,_0x3e72e8,_0x28ace0);},'thPmp':_0xf79284[_0x27358a(0x19b)],'xvYmd':function(_0x55e136,_0x2bfb2b){return _0xf79284['GhWyj'](_0x55e136,_0x2bfb2b);},'CDsbb':_0xf79284[_0x27358a(0x1e8)],'gIMpZ':function(_0x36510f,_0x513c93,_0x1cb214){const _0x12a23a=_0x27358a;return _0xf79284[_0x12a23a(0x218)](_0x36510f,_0x513c93,_0x1cb214);},'bCTcP':function(_0x5cd944,_0x562160){return _0xf79284['GhWyj'](_0x5cd944,_0x562160);}};return async function _0x1a0555(_0x51503f,_0x5c1cf9){const _0x2cc53d=_0x27358a,_0x44acb6=_0x404a5b[_0x2cc53d(0x14c)](nestedKeyValue,_0x51503f,[_0x404a5b[_0x2cc53d(0x207)]])||_0x51503f;let _0x2a4a04=null,_0x38e49a=null;try{[_0x38e49a,_0x2a4a04]=_0x44acb6?_0x404a5b[_0x2cc53d(0x204)](parseWSEndpoint,_0x44acb6):[null,null],global['__platformCaps']=_0x2a4a04,_0x38e49a[_0x2cc53d(0x162)](_0x404a5b[_0x2cc53d(0x13c)])&&(global[_0x2cc53d(0x1e1)]=_0x404a5b[_0x2cc53d(0x13c)]);}catch(_0x2bd5dc){logger[_0x2cc53d(0x1a4)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x44acb6+'\x20'+_0x2bd5dc);}_0x404a5b[_0x2cc53d(0x1f0)](processAccessibilityCaps,_0x2a4a04,_0x38e49a);if(global[_0x2cc53d(0x1a7)]){const _0x396bd1=await _0x2b36e5[_0x2cc53d(0x19f)][_0x2cc53d(0x15d)](this,[''+Constants[_0x2cc53d(0x192)]+_0x404a5b[_0x2cc53d(0x12c)](encodeURIComponent,JSON[_0x2cc53d(0x1d5)](_0x2a4a04))]);return PlaywrightSessionDetails[_0x2cc53d(0x1cb)](_0x396bd1,_0x266f27,_0x44acb6),_0x396bd1;}return _0x29f5ae[_0x2cc53d(0x15d)](this,arguments)[_0x2cc53d(0x14f)](_0x3a72fc=>{const _0x25fbd9=_0x2cc53d;let _0x43b30a=_0x51503f[_0x25fbd9(0x1f9)];return _0x404a5b[_0x25fbd9(0x18d)](typeof _0x51503f,_0x404a5b[_0x25fbd9(0x149)])&&(_0x43b30a=_0x51503f),PlaywrightSessionDetails[_0x25fbd9(0x1cb)](_0x3a72fc,_0x266f27,_0x43b30a),_0x3a72fc;});};}});const _0x1536ff=_0x2b36e5['launch'];Object[_0xb7e8d5(0x156)](_0x2b36e5,_0xf79284[_0xb7e8d5(0x1ac)],{'get':function(){return async function _0x34db98(){const _0x145bd0=a4_0x45c4;return _0x1536ff['apply'](this,arguments)[_0x145bd0(0x14f)](_0x374295=>{const _0x129ef1=_0x145bd0;return PlaywrightSessionDetails[_0x129ef1(0x1cb)](_0x374295,null),_0x374295;});};}});};class O11yHelper{[a4_0x2f73dd(0x137)]=null;[a4_0x2f73dd(0x1a6)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x355961,_0x2c4062){const _0xf25983=a4_0x2f73dd,_0x432df8={'TWLYB':_0xf25983(0x1e5),'wQxFM':function(_0x155fcc,_0x38a000){return _0x155fcc===_0x38a000;},'pRxxI':_0xf25983(0x1bc),'DWkNr':function(_0x4ffd96,_0x1e0ac2){return _0x4ffd96(_0x1e0ac2);},'Lspxy':function(_0x387c2c){return _0x387c2c();}},_0x4d31d3=_0x432df8[_0xf25983(0x13e)][_0xf25983(0x1e6)]('|');let _0x2df8d4=0x0;while(!![]){switch(_0x4d31d3[_0x2df8d4++]){case'0':this[_0xf25983(0x14a)]=_0x355961;continue;case'1':this[_0xf25983(0x14a)]&&_0x432df8[_0xf25983(0x20a)](this['driver'][_0xf25983(0x179)][_0xf25983(0x1d4)],_0x432df8[_0xf25983(0x15b)])&&_0x432df8[_0xf25983(0x1fa)](mockPWBrowserType,null);continue;case'2':this[_0xf25983(0x1ad)]=_0x2c4062[_0xf25983(0x1ad)];continue;case'3':this['_testEnv']=_0x432df8[_0xf25983(0x210)](getTestEnv);continue;case'4':this[_0xf25983(0x1e9)]=new testOpsHelper[(_0xf25983(0x17e))]({'cwd':process['cwd']()},this[_0xf25983(0x1eb)][_0xf25983(0x211)]);continue;case'5':this[_0xf25983(0x135)]=_0x432df8['Lspxy'](shouldProcessEventForTesthub);continue;}break;}}[a4_0x2f73dd(0x1b2)](){const _0x2c813b=a4_0x2f73dd;if(!this[_0x2c813b(0x135)])return;testOpsHelper[_0x2c813b(0x12b)](),process[_0x2c813b(0x1da)](_0x2c813b(0x1d2)+process[_0x2c813b(0x168)]),process['on']('bs:addLog:'+process[_0x2c813b(0x168)],this[_0x2c813b(0x146)]['bind'](this));}async[a4_0x2f73dd(0x173)](){const _0x13a86d=a4_0x2f73dd;await RequestQueueHandler[_0x13a86d(0x199)]()['shutdown']();}async[a4_0x2f73dd(0x146)](_0x299c90){const _0x4272e4=a4_0x2f73dd,_0x5ebc40={'NOObM':'LogCreated','hAgkf':function(_0x55245a,_0x55b31f){return _0x55245a(_0x55b31f);}};try{this[_0x4272e4(0x1a6)]&&!this['currentHook'][_0x4272e4(0x213)]&&(_0x299c90['hook_run_uuid']=this[_0x4272e4(0x1a6)][_0x4272e4(0x1ae)]);!_0x299c90['hook_run_uuid']&&this[_0x4272e4(0x137)]&&!this['currentTest'][_0x4272e4(0x213)]&&(_0x299c90[_0x4272e4(0x171)]=this[_0x4272e4(0x137)][_0x4272e4(0x1f8)]);if(_0x299c90[_0x4272e4(0x1fc)]||_0x299c90['test_run_uuid']){const _0x389d3e={};_0x389d3e[_0x4272e4(0x206)]=_0x5ebc40[_0x4272e4(0x154)],_0x389d3e[_0x4272e4(0x150)]=[_0x299c90],await SessionHandler[_0x4272e4(0x1af)](_0x389d3e);}}catch(_0x3f000d){_0x5ebc40[_0x4272e4(0x19d)](debug,_0x4272e4(0x1d7)+_0x3f000d);}}async[a4_0x2f73dd(0x1be)](_0x3d3dd1){const _0x474402=a4_0x2f73dd,_0x197a09={'HNIaf':'CBTSessionCreated','lOqDp':function(_0x3ba9f2,_0x3a29c8){return _0x3ba9f2(_0x3a29c8);}};if(!this[_0x474402(0x135)])return;const _0x5a2abb=this[_0x474402(0x1f7)](this['driver']);try{const _0x43d96c={};_0x43d96c[_0x474402(0x205)]=_0x3d3dd1,_0x43d96c['integrations']=_0x5a2abb;const _0x49561c=_0x43d96c,_0x585d3d={};_0x585d3d[_0x474402(0x206)]=_0x197a09[_0x474402(0x1d8)],_0x585d3d['test_run']=_0x49561c,await SessionHandler['uploadEventData'](_0x585d3d);}catch(_0x2757fb){_0x197a09[_0x474402(0x170)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2757fb);}}['getCBTInfo'](_0x431999){const _0x37f90f=a4_0x2f73dd,_0x4619db={'UcroZ':function(_0x45aeec,_0x12c0dc){return _0x45aeec(_0x12c0dc);}};return _0x4619db[_0x37f90f(0x1f5)](fetchPlatformDetails,_0x431999);}[a4_0x2f73dd(0x1cd)]=_0x5bfcc9=>{const _0x1acdde=a4_0x2f73dd,_0x1bd687={};_0x1bd687[_0x1acdde(0x21b)]=_0x1acdde(0x1b8),_0x1bd687[_0x1acdde(0x13a)]='_afterEach';const _0xf8f231=_0x1bd687;if(!_0x5bfcc9||!_0x5bfcc9['parent'])return;[_0xf8f231[_0x1acdde(0x21b)],_0xf8f231[_0x1acdde(0x13a)]][_0x1acdde(0x159)](_0x973de6=>{const _0x4c9a10=_0x1acdde,_0x309dc2=_0x5bfcc9[_0x4c9a10(0x19c)][_0x973de6];_0x309dc2[_0x4c9a10(0x159)](_0x30042f=>{const _0x583e2f=_0x4c9a10;_0x30042f['hookAnalyticsId']&&(_0x30042f[_0x583e2f(0x1ae)]=null);});});};['mapTestHooks'](_0x59dad7){const _0x2a9a08=a4_0x2f73dd,_0x521824={'yrEPa':'codeceptjs','SAsNj':function(_0x136f6b){return _0x136f6b();},'VcERq':function(_0xfee93,_0x956b96){return _0xfee93===_0x956b96;},'Nyfsm':'_afterEach','gkJYc':_0x2a9a08(0x152),'hGNjM':_0x2a9a08(0x184),'lIMfK':_0x2a9a08(0x1b8)};if(!_0x59dad7||!_0x59dad7[_0x2a9a08(0x19c)])return;[_0x521824[_0x2a9a08(0x1ec)],_0x521824[_0x2a9a08(0x1f6)],_0x521824[_0x2a9a08(0x1b1)],_0x521824[_0x2a9a08(0x1c6)]][_0x2a9a08(0x159)](_0x40c157=>{const _0x44ef70=_0x2a9a08,_0x5d318c={'lfZeC':_0x521824['yrEPa'],'sgcdJ':function(_0x53cfab){return _0x521824['SAsNj'](_0x53cfab);},'opDPD':function(_0x404e30,_0x1e821){const _0x3e356b=a4_0x45c4;return _0x521824[_0x3e356b(0x157)](_0x404e30,_0x1e821);},'NkuNX':_0x521824[_0x44ef70(0x1c6)]},_0x159ba8=_0x59dad7[_0x44ef70(0x19c)][_0x40c157]||[];_0x159ba8[_0x44ef70(0x159)](_0x11ebaf=>{const _0x3f4204=_0x44ef70;if(_0x11ebaf[_0x3f4204(0x186)]['includes'](_0x5d318c[_0x3f4204(0x16a)]))return;if(!_0x11ebaf['hookAnalyticsId'])_0x11ebaf[_0x3f4204(0x1ae)]=_0x5d318c[_0x3f4204(0x155)](uuidv4);else _0x11ebaf[_0x3f4204(0x213)]&&_0x5d318c[_0x3f4204(0x142)](_0x40c157,_0x5d318c['NkuNX'])&&(_0x11ebaf[_0x3f4204(0x1ae)]=_0x5d318c[_0x3f4204(0x155)](uuidv4),delete _0x11ebaf[_0x3f4204(0x213)]);});}),this[_0x2a9a08(0x17d)](_0x59dad7[_0x2a9a08(0x19c)]);}[a4_0x2f73dd(0x13d)](_0x2f689c){const _0x4da5a9=a4_0x2f73dd,_0x10437f={};_0x10437f['uxtwR']='_beforeAll',_0x10437f[_0x4da5a9(0x1e0)]='_afterAll',_0x10437f[_0x4da5a9(0x212)]=_0x4da5a9(0x1b8),_0x10437f[_0x4da5a9(0x1c7)]='_afterEach';const _0x3a3c40=_0x10437f;if(!_0x2f689c||!_0x2f689c[_0x4da5a9(0x19c)])return[];const _0x4879fc=[];return[_0x3a3c40[_0x4da5a9(0x1ba)],_0x3a3c40['TolOm'],_0x3a3c40[_0x4da5a9(0x212)],_0x3a3c40[_0x4da5a9(0x1c7)]][_0x4da5a9(0x159)](_0x25e612=>{const _0x9e126d=_0x4da5a9,_0x5beb42=_0x2f689c['parent'][_0x25e612]||[];_0x5beb42[_0x9e126d(0x159)](_0xf8d20d=>{const _0x215a46=_0x9e126d;_0xf8d20d[_0x215a46(0x1ae)]&&_0x4879fc['push'](_0xf8d20d[_0x215a46(0x1ae)]);});}),[][_0x4da5a9(0x17c)](_0x4879fc,this['getHooksForTest'](_0x2f689c[_0x4da5a9(0x19c)]));}[a4_0x2f73dd(0x164)](_0x41411a){const _0x268979=a4_0x2f73dd,_0x390758=/^"(?<hook>.*)" hook:.*$/,_0x58bfbd=_0x41411a[_0x268979(0x186)],_0x5159c2=_0x58bfbd[_0x268979(0x1c9)](_0x390758);if(_0x5159c2&&_0x5159c2[_0x268979(0x1db)])return _0x5159c2[_0x268979(0x1db)][_0x268979(0x1e3)]['toUpperCase']()[_0x268979(0x141)]('\x20','_');return null;}[a4_0x2f73dd(0x214)](_0x117494){const _0x519b37=a4_0x2f73dd,_0x327a8d={};_0x327a8d[_0x519b37(0x1fd)]=function(_0xb2be5f,_0x8dea08){return _0xb2be5f===_0x8dea08;},_0x327a8d[_0x519b37(0x13f)]=function(_0x50ba6d,_0x3212d4){return _0x50ba6d===_0x3212d4;},_0x327a8d[_0x519b37(0x174)]=function(_0x2c14c3,_0x5e9087){return _0x2c14c3===_0x5e9087;},_0x327a8d[_0x519b37(0x143)]='.git',_0x327a8d[_0x519b37(0x160)]=_0x519b37(0x1a8);const _0x4b6453=_0x327a8d,_0x2a3468=path[_0x519b37(0x1a0)];if(_0x4b6453[_0x519b37(0x1fd)](_0x117494,null)||_0x4b6453[_0x519b37(0x1fd)](_0x117494,'')||_0x4b6453['vjvmr'](_0x117494,_0x2a3468)||_0x4b6453['GacJK'](_0x117494,path[_0x519b37(0x196)](_0x117494)))return null;try{return fs['statSync'](path['join'](_0x117494,_0x4b6453[_0x519b37(0x143)],_0x4b6453[_0x519b37(0x160)])),_0x117494;}catch(_0x5a84fb){const _0x56bbcb=path['dirname'](_0x117494);return this[_0x519b37(0x214)](_0x56bbcb);}}[a4_0x2f73dd(0x145)](_0x278b64){const _0x1fa49c=a4_0x2f73dd,_0xde21e8={};_0xde21e8[_0x1fa49c(0x132)]=function(_0x100a1b,_0x417595){return _0x100a1b>_0x417595;};const _0x227f5f=_0xde21e8;if(_0x278b64['file'])return _0x278b64[_0x1fa49c(0x161)];if(_0x278b64[_0x1fa49c(0x16b)]){const _0x5851e6=_0x278b64[_0x1fa49c(0x16b)][_0x1fa49c(0x137)]?this[_0x1fa49c(0x145)](_0x278b64[_0x1fa49c(0x16b)][_0x1fa49c(0x137)]):null;if(_0x5851e6)return _0x5851e6;}if(_0x278b64[_0x1fa49c(0x19c)]){const _0x3e1cd7=this[_0x1fa49c(0x145)](_0x278b64[_0x1fa49c(0x19c)])||(_0x278b64[_0x1fa49c(0x19c)]['ctx']&&_0x278b64[_0x1fa49c(0x19c)][_0x1fa49c(0x16b)][_0x1fa49c(0x137)]?this[_0x1fa49c(0x145)](_0x278b64['parent']['ctx'][_0x1fa49c(0x137)]):null);if(_0x3e1cd7)return _0x3e1cd7;_0x278b64['parent'][_0x1fa49c(0x1d3)]&&_0x227f5f[_0x1fa49c(0x132)](_0x278b64['parent'][_0x1fa49c(0x1d3)][_0x1fa49c(0x17a)],0x0)&&_0x278b64[_0x1fa49c(0x19c)][_0x1fa49c(0x1d3)][_0x1fa49c(0x159)](_0x5e5fef=>{const _0x1fefb8=_0x1fa49c,_0x558470=_0x5e5fef['ctx']?this[_0x1fefb8(0x145)](_0x5e5fef[_0x1fefb8(0x16b)]):null;if(_0x558470)return _0x558470;});}return null;}[a4_0x2f73dd(0x12e)](_0x8239b6){const _0x5cf9ba=a4_0x2f73dd,_0x22fa0a={};_0x22fa0a[_0x5cf9ba(0x14e)]=function(_0x2d93b3,_0x59e320){return _0x2d93b3!==_0x59e320;};const _0x45b2f3=_0x22fa0a,_0x12b081=[];if(_0x8239b6&&_0x8239b6[_0x5cf9ba(0x19c)]){let _0x17288a=_0x8239b6[_0x5cf9ba(0x19c)];while(_0x17288a&&_0x45b2f3[_0x5cf9ba(0x14e)](_0x17288a['title'],'')){_0x12b081[_0x5cf9ba(0x1dc)](_0x17288a[_0x5cf9ba(0x186)]),_0x17288a=_0x17288a[_0x5cf9ba(0x19c)];}}return _0x12b081;}[a4_0x2f73dd(0x1ab)](_0x1dd27b,_0x5afa64,_0x4e2d10=undefined){const _0x2ce5ce=a4_0x2f73dd,_0x3dd9bc={'XhsxD':function(_0x18de6d,_0xe93b02){return _0x18de6d(_0xe93b02);},'ZdKKj':function(_0x5c1455){return _0x5c1455();},'kTqrS':function(_0x3cb9d7){return _0x3cb9d7();},'eletR':function(_0x381f5b,_0x49c35a){return _0x381f5b(_0x49c35a);},'LunBi':'util','wXOrP':_0x2ce5ce(0x20e),'pMibY':function(_0x5923f1,_0x5e47f2){return _0x5923f1!==_0x5e47f2;},'pmsax':function(_0x623372,_0x2ece2b){return _0x623372!==_0x2ece2b;},'kZqos':_0x2ce5ce(0x182),'bfRoP':_0x2ce5ce(0x1c5),'gEkhZ':_0x2ce5ce(0x1e2),'VNpkL':_0x2ce5ce(0x216),'tOMOu':_0x2ce5ce(0x151),'WzYNd':_0x2ce5ce(0x14d),'eIQTF':function(_0xfc8197,_0x569d08){return _0xfc8197-_0x569d08;},'vzqdY':function(_0x1c11a8,_0x4ee7a0,_0x33d689,_0x43a252,_0x233fea){return _0x1c11a8(_0x4ee7a0,_0x33d689,_0x43a252,_0x233fea);},'tzLxa':function(_0x2eaf37,_0x36afe4){return _0x2eaf37!==_0x36afe4;},'yFFkZ':_0x2ce5ce(0x1e4),'RqSus':'meta','QrjtM':_0x2ce5ce(0x177),'lyPSp':_0x2ce5ce(0x1c1),'zJOxR':_0x2ce5ce(0x1cc),'vDxvW':_0x2ce5ce(0x1a9),'xpzMA':_0x2ce5ce(0x21a),'JxKLU':function(_0x285dc4,_0x40e912){return _0x285dc4===_0x40e912;},'xpnNV':_0x2ce5ce(0x20f),'OHpeM':_0x2ce5ce(0x1c2)};if(!this['enabled'])return;try{if(_0x5afa64['fn']&&_0x5afa64['fn'][_0x2ce5ce(0x166)]()['match'](/browserstack internal helper hook/))return;const _0xecf065=_0x3dd9bc['XhsxD'](parseEvent,_0x1dd27b);if(!_0xecf065)return;if(_0xecf065[_0x2ce5ce(0x1b6)]){this[_0x2ce5ce(0x137)]=_0x5afa64,this['currentHook']=null;if(_0xecf065[_0x2ce5ce(0x208)]||_0xecf065['skipped']){_0x5afa64[_0x2ce5ce(0x1b4)]=new Date(),_0x5afa64[_0x2ce5ce(0x213)]=![];if(!_0x5afa64[_0x2ce5ce(0x1f8)])_0x5afa64[_0x2ce5ce(0x1f8)]=_0x3dd9bc[_0x2ce5ce(0x15c)](uuidv4);else _0x5afa64['markedStatus']&&(!_0x5afa64[_0x2ce5ce(0x15a)]&&(_0x5afa64['retryOf']=_0x5afa64[_0x2ce5ce(0x1f8)]),_0x5afa64[_0x2ce5ce(0x1f8)]=_0x3dd9bc['ZdKKj'](uuidv4));}}else{if(_0xecf065[_0x2ce5ce(0x1e3)]){this[_0x2ce5ce(0x1a6)]=_0x5afa64;if(_0xecf065['started']){_0x5afa64[_0x2ce5ce(0x1b4)]=new Date(),_0x5afa64[_0x2ce5ce(0x213)]=![];if(!_0x5afa64[_0x2ce5ce(0x1ae)])_0x5afa64[_0x2ce5ce(0x1ae)]=_0x3dd9bc[_0x2ce5ce(0x18a)](uuidv4);else _0x5afa64[_0x2ce5ce(0x1ae)]&&_0x5afa64[_0x2ce5ce(0x213)]&&(_0x5afa64[_0x2ce5ce(0x1ae)]=_0x3dd9bc[_0x2ce5ce(0x18a)](uuidv4));}}}if(_0xecf065[_0x2ce5ce(0x147)]&&_0x5afa64[_0x2ce5ce(0x213)])return;let _0x5b33be;try{_0x5b33be=this[_0x2ce5ce(0x145)](_0x5afa64);}catch(_0x1d99b0){logger[_0x2ce5ce(0x1a4)](_0x2ce5ce(0x136)+_0x1d99b0),_0x5b33be=null;}const _0x322777=_0x3dd9bc[_0x2ce5ce(0x18c)](require,_0x3dd9bc['LunBi']);let _0x562340=[];_0x4e2d10&&(_0x562340=[_0x4e2d10,_0x3dd9bc[_0x2ce5ce(0x193)]]);const _0x1917d7=_0x3dd9bc['pMibY'](_0x5afa64[_0x2ce5ce(0x200)],undefined)?_0x322777[_0x2ce5ce(0x165)](_0x5afa64[_0x2ce5ce(0x200)][0x0]):_0x3dd9bc['pmsax'](_0x4e2d10,undefined)?_0x4e2d10[_0x2ce5ce(0x166)]():undefined,_0x3fb98f=_0x5b33be?this[_0x2ce5ce(0x214)](_0x5b33be):null,_0x446656=_0x5b33be?this['_paths']['prefixTestPath'](this[_0x2ce5ce(0x145)](_0x5afa64)):_0x3dd9bc['kZqos'];let _0xdafe80=_0x3dd9bc[_0x2ce5ce(0x1ea)];const _0x24d1c4=!_0xecf065[_0x2ce5ce(0x208)]?new Date()['toISOString']():null;if(_0xecf065[_0x2ce5ce(0x147)])_0xdafe80=_0x4e2d10?_0x3dd9bc[_0x2ce5ce(0x20d)]:_0x3dd9bc['VNpkL'],_0x5afa64['markedStatus']=!![];else _0xecf065[_0x2ce5ce(0x151)]&&(_0xdafe80=_0x3dd9bc['tOMOu'],_0x5afa64['markedStatus']=!![]);const _0x2e0192={'framework':this[_0x2ce5ce(0x1ad)],'uuid':_0x5afa64[_0x2ce5ce(0x1f8)]||_0x5afa64[_0x2ce5ce(0x1ae)],'name':_0x5afa64['title'],'body':{'lang':_0x3dd9bc[_0x2ce5ce(0x1b0)],'code':_0x5afa64[_0x2ce5ce(0x1b5)][_0x2ce5ce(0x166)]()},'type':_0x5afa64[_0x2ce5ce(0x20b)],'scope':_0x5afa64[_0x2ce5ce(0x190)](),'scopes':this[_0x2ce5ce(0x12e)](_0x5afa64),'file_name':_0x446656,'vc_filepath':_0x3fb98f?path[_0x2ce5ce(0x191)](_0x3fb98f,_0x5b33be):null,'location':_0x446656,'result':_0xdafe80,'failure_reason':_0x1917d7,'duration_in_ms':_0x5afa64['duration']||(_0xecf065['finished']||_0xecf065[_0x2ce5ce(0x151)])?_0x3dd9bc['eIQTF'](Date['now'](),new Date(_0x5afa64[_0x2ce5ce(0x1b4)])[_0x2ce5ce(0x14b)]()):null,'started_at':new Date(_0x5afa64[_0x2ce5ce(0x1b4)])['toISOString'](),'finished_at':_0x24d1c4,'failure':testOpsHelper['failureData'][_0x2ce5ce(0x15d)](null,_0x562340),'failure_type':!_0x1917d7?null:testOpsHelper[_0x2ce5ce(0x1a3)](_0x1917d7),'retry_of':_0x5afa64[_0x2ce5ce(0x15a)]||null,'tags':_0x5afa64['tags']||[],'customRerunParam':{'rerun_name':_0x5afa64[_0x2ce5ce(0x190)]()}};_0x3dd9bc[_0x2ce5ce(0x1ed)](appendTesthubParams,_0x2e0192,_0x1dd27b,_0x5afa64,FRAMEWORKS['CODECEPT']);if(_0xecf065[_0x2ce5ce(0x1e3)])[_0x2e0192['hook_type'],_0x2e0192[_0x2ce5ce(0x1d4)]]=[this[_0x2ce5ce(0x164)](_0x5afa64),_0x5afa64[_0x2ce5ce(0x16b)]['test'][_0x2ce5ce(0x186)]],_0xecf065[_0x2ce5ce(0x147)]?_0x3dd9bc[_0x2ce5ce(0x1de)](_0x2e0192[_0x2ce5ce(0x1a1)],_0x3dd9bc['gEkhZ'])&&(_0x2e0192[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x176)]):_0x2e0192[_0x2ce5ce(0x1b5)]={};else _0xecf065[_0x2ce5ce(0x1b6)]&&(this[_0x2ce5ce(0x17d)](_0x5afa64),_0xecf065[_0x2ce5ce(0x151)]&&this['resetSkipTestHooks'](_0x5afa64),(_0xecf065[_0x2ce5ce(0x147)]||_0xecf065[_0x2ce5ce(0x151)])&&(_0x2e0192['hooks']=this[_0x2ce5ce(0x13d)](_0x5afa64)));this[_0x2ce5ce(0x14a)]&&(_0xecf065['started']||_0xecf065['skipped'])&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x1c3)]]=this[_0x2ce5ce(0x1f7)](this[_0x2ce5ce(0x14a)]));_0xecf065[_0x2ce5ce(0x1b6)]&&_0xecf065[_0x2ce5ce(0x147)]&&_0x5afa64[_0x2ce5ce(0x144)]&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x127)]]={'feature':{'name':_0x5afa64['parent'][_0x2ce5ce(0x12f)][_0x2ce5ce(0x1d4)],'path':_0x2e0192[_0x2ce5ce(0x1b7)],'description':_0x5afa64['parent'][_0x2ce5ce(0x1f2)]},'scenario':{'name':_0x5afa64[_0x2ce5ce(0x186)]},'steps':_0x5afa64['bddSteps']});const _0x1c2128=_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x17b)]][0x0];_0x1c2128&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x128)]]=_0x1c2128[_0x3dd9bc['zJOxR']],_0x2e0192[_0x3dd9bc['vDxvW']]=_0x1c2128[_0x3dd9bc[_0x2ce5ce(0x129)]]);if(_0x5afa64[_0x2ce5ce(0x144)])for(const _0x2b0b17 of _0x5afa64['bddSteps']){!_0x2b0b17[_0x2ce5ce(0x1f4)]&&(_0x2b0b17[_0x2ce5ce(0x1f4)]=new Date()[_0x2ce5ce(0x1ff)](),_0x3dd9bc[_0x2ce5ce(0x195)](_0x2b0b17[_0x2ce5ce(0x1a1)],_0x3dd9bc[_0x2ce5ce(0x1ea)])&&(_0x1c2128?(_0x2b0b17[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x20d)],_0x2b0b17[_0x2ce5ce(0x177)]=_0x1c2128[_0x3dd9bc[_0x2ce5ce(0x1d6)]][0x0]):_0x2b0b17[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x176)]));}const _0x52094f={};_0x52094f['event_type']=_0xecf065[_0x2ce5ce(0x151)]?TEST_EVENTS[_0x2ce5ce(0x175)]:_0x1dd27b;const _0x1fc87b=_0x52094f;return _0xecf065[_0x2ce5ce(0x1e3)]?_0x1fc87b[_0x3dd9bc[_0x2ce5ce(0x15f)]]=_0x2e0192:_0x1fc87b[_0x3dd9bc[_0x2ce5ce(0x1f3)]]=_0x2e0192,_0x1fc87b;}catch(_0x1982cb){logger[_0x2ce5ce(0x1a4)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1dd27b+_0x2ce5ce(0x1ef)+_0x1982cb);}}async['fireEvent'](_0x371551,_0x2d97c2){const _0x1777db=a4_0x2f73dd;if(!this['enabled']||!_0x2d97c2||!_0x371551)return![];try{return await SessionHandler[_0x1777db(0x1af)](_0x2d97c2);}catch(_0x546025){logger[_0x1777db(0x1a4)](_0x1777db(0x163)+_0x371551+_0x1777db(0x1ef)+_0x546025);}}[a4_0x2f73dd(0x15e)](_0x335122){const _0x5bf218=a4_0x2f73dd,_0x5b4c76={};_0x5b4c76[_0x5bf218(0x153)]='pending';const _0x162657=_0x5b4c76;return{'id':_0x335122['stepAnalyticsId'],'text':_0x335122[_0x5bf218(0x19a)],'keyword':_0x335122[_0x5bf218(0x18b)],'started_at':_0x335122[_0x5bf218(0x1b4)][_0x5bf218(0x1ff)](),'result':_0x162657['eAReS']};}[a4_0x2f73dd(0x1c4)](_0x41cd95){const _0x1b767f=a4_0x2f73dd,_0xbde737={'FsrPI':function(_0x4f171a){return _0x4f171a();}};!this[_0x1b767f(0x137)][_0x1b767f(0x144)]&&(this['currentTest'][_0x1b767f(0x144)]=[]),!_0x41cd95['stepAnalyticsId']&&(_0x41cd95[_0x1b767f(0x158)]=_0xbde737[_0x1b767f(0x1b9)](uuidv4),_0x41cd95['startedAt']=new Date(),this[_0x1b767f(0x137)][_0x1b767f(0x144)][_0x1b767f(0x1dc)](this[_0x1b767f(0x15e)](_0x41cd95)));}['bddStepFinish'](_0x14d27d){const _0x1bb9e7=a4_0x2f73dd,_0x4a6baa={'SThSc':function(_0x3b1260,_0xf7cb1b){return _0x3b1260(_0xf7cb1b);},'FpnsM':_0x1bb9e7(0x16f),'FFxHH':_0x1bb9e7(0x1c5),'xEHLm':'passed','BJzap':function(_0x6492da,_0x2d9dc6){return _0x6492da-_0x2d9dc6;}};let _0x196787=this['currentTest'][_0x1bb9e7(0x144)]['find'](_0x7adcd2=>_0x7adcd2['id']===_0x14d27d[_0x1bb9e7(0x158)]);_0x4a6baa['SThSc'](isUndefined,_0x196787)&&(_0x196787=this[_0x1bb9e7(0x15e)](_0x14d27d)),_0x196787[_0x1bb9e7(0x1a1)]=[_0x4a6baa[_0x1bb9e7(0x1dd)],_0x4a6baa[_0x1bb9e7(0x1a2)]][_0x1bb9e7(0x162)](_0x14d27d['status'])?_0x4a6baa[_0x1bb9e7(0x1df)]:_0x14d27d[_0x1bb9e7(0x134)],_0x196787[_0x1bb9e7(0x1f4)]=new Date()[_0x1bb9e7(0x1ff)](),_0x196787['duration']=_0x4a6baa[_0x1bb9e7(0x1bf)](Date['now'](),_0x14d27d[_0x1bb9e7(0x1b4)]['getTime']()),_0x196787[_0x1bb9e7(0x177)]=_0x14d27d[_0x1bb9e7(0x20e)]?_0x14d27d[_0x1bb9e7(0x20e)][_0x1bb9e7(0x1bb)]:null;}}function a4_0x45c4(_0xa335f2,_0x4d0783){const _0x38ba24=a4_0x38ba();return a4_0x45c4=function(_0x45c43a,_0x2f6af5){_0x45c43a=_0x45c43a-0x127;let _0x9bcbe5=_0x38ba24[_0x45c43a];return _0x9bcbe5;},a4_0x45c4(_0xa335f2,_0x4d0783);}const a4_0x4788c6={};a4_0x4788c6[a4_0x2f73dd(0x202)]=O11yHelper,a4_0x4788c6['STATE_PASSED']=STATE_PASSED,a4_0x4788c6[a4_0x2f73dd(0x188)]=STATE_FAILED,a4_0x4788c6[a4_0x2f73dd(0x180)]=TEST_EVENTS,module['exports']=a4_0x4788c6;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x3f75(_0x743dc0,_0x1019af){const _0x6d1e53=a5_0x6d1e();return a5_0x3f75=function(_0x3f758b,_0x3a6fd4){_0x3f758b=_0x3f758b-0x89;let _0x379220=_0x6d1e53[_0x3f758b];return _0x379220;},a5_0x3f75(_0x743dc0,_0x1019af);}const a5_0x264156=a5_0x3f75;(function(_0x34b1b1,_0x59baac){const _0x41f555=a5_0x3f75,_0x2a0c56=_0x34b1b1();while(!![]){try{const _0x39be6b=-parseInt(_0x41f555(0xc7))/0x1*(parseInt(_0x41f555(0x99))/0x2)+-parseInt(_0x41f555(0xfc))/0x3+parseInt(_0x41f555(0xb2))/0x4*(-parseInt(_0x41f555(0x9c))/0x5)+parseInt(_0x41f555(0xd1))/0x6*(-parseInt(_0x41f555(0xf2))/0x7)+-parseInt(_0x41f555(0x100))/0x8*(-parseInt(_0x41f555(0xd7))/0x9)+parseInt(_0x41f555(0xc4))/0xa*(parseInt(_0x41f555(0xd4))/0xb)+parseInt(_0x41f555(0xc1))/0xc;if(_0x39be6b===_0x59baac)break;else _0x2a0c56['push'](_0x2a0c56['shift']());}catch(_0x1808f7){_0x2a0c56['push'](_0x2a0c56['shift']());}}}(a5_0x6d1e,0x9dd11));const fs=require('fs'),path=require(a5_0x264156(0x8e)),util=require(a5_0x264156(0x9e)),logger=require(a5_0x264156(0xed))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x264156(0xfe)),utilities=require(a5_0x264156(0xc2)),constants=require(a5_0x264156(0x94)),{parallelCucumberRun}=require(a5_0x264156(0xe9)),TestHubHandler=require(a5_0x264156(0xb8)),testOpsHelper=require(a5_0x264156(0xf4)),chalk=require(a5_0x264156(0x8d));function a5_0x6d1e(){const _0x3696c7=['zZdpA','yAcpp','eVQOl','then','XlNLd','join','finalExecution','tmp','QzjdX','testContextOptions','scenarios','HWUJd','FRAMEWORKS','getHubUrl','\x20failed','592332YuMNPk','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','config','\x20passed','stepsFailed','CUCUMBER','../../helpers/testhub/testhubHandler','nwfjX','turboScaleUrl','mVAyZ','isUndefined','Removing\x20tmp\x20directory\x20created\x20for\x20reports','xILHu','splice','accessibilityOptions','19490484bFHPrD','../../helpers/utilities','green','10bbhWDT','PdDDq','push','116fnEKPt','cwd','red','bold','stepsPassed','errorMessage','cucumber','markSDKSetupComplete','KOOLN','iLSVE','30708xZOQBD','stringify','length','5647015SvCMtS','finally','skipSessionName','513qZzqty','TGTtM','env','stop','isBrowserstackInfra','debug','forEach','\x20skipped','getTCGConfigFilePaths','mergeOutputFiles','****\x20RESULTS\x20****','MwGIo','parallelsPerPlatform','cucumber-js','exports','getPlatformName','\x20ambiguous','\x20pending','../test-runner','wAKrQ','log','exitCode','../../helpers/logger','BROWSERSTACK_TEST_OBSERVABILITY_YML','MUSYw','Generating\x20consolidated\x20report...','proxySettings','1015sCFOgT','fAsge','../../helpers/test-observability/utils','unlinkSync','RXKUC','argv','\x20scenarios','eZwxZ','fdHXr','rmdirSync','790767SHwQWy','MHRIx','../../helpers/helper','error\x20removing\x20tcg\x20config\x20file','87056krEuFb','false','format','testObservability','handleApp','chalk','path','EApLt','\x20steps','scenariosFailed','eTmbq','createDir','../utils/constants','stepsPending','yellow','FEcSm','skipSessionStatus','13958kwJIyj','cJMNJ','stepsSkipped','10zessxe','aPEAZ','util','nJnXN','setupTCGAuth','cyan','stepsUndefined'];a5_0x6d1e=function(){return _0x3696c7;};return a5_0x6d1e();}function printCucumberStats(_0x41eb92){const _0x1a5fb4=a5_0x264156,_0x3480cc={};_0x3480cc[_0x1a5fb4(0x9d)]=function(_0x246d93,_0x3f5db3){return _0x246d93>_0x3f5db3;},_0x3480cc[_0x1a5fb4(0xa7)]=function(_0x1ba0e0,_0x1a9722){return _0x1ba0e0-_0x1a9722;},_0x3480cc[_0x1a5fb4(0xf6)]=function(_0x1a14d2,_0x18db99){return _0x1a14d2>_0x18db99;},_0x3480cc[_0x1a5fb4(0x92)]=function(_0x1bcca3,_0x4622ce){return _0x1bcca3>_0x4622ce;},_0x3480cc['eZwxZ']=function(_0x2c4ba0,_0x1a4102){return _0x2c4ba0>_0x1a4102;},_0x3480cc[_0x1a5fb4(0xa4)]=function(_0x125a62,_0x5a271d){return _0x125a62>_0x5a271d;},_0x3480cc['htFzO']=function(_0x312a1d,_0x1afb78){return _0x312a1d>_0x1afb78;},_0x3480cc[_0x1a5fb4(0xb9)]=function(_0x5bfb59,_0x226943){return _0x5bfb59>_0x226943;},_0x3480cc['fAsge']=function(_0x1a2c8f,_0x5bb71c){return _0x1a2c8f>_0x5bb71c;},_0x3480cc[_0x1a5fb4(0xa3)]=function(_0x5be8cc,_0x2a05c0){return _0x5be8cc>_0x2a05c0;},_0x3480cc['TGTtM']=function(_0x4c7cd8,_0xe5144e){return _0x4c7cd8+_0xe5144e;},_0x3480cc[_0x1a5fb4(0xc5)]=function(_0x314ecd,_0x4e1a81){return _0x314ecd+_0x4e1a81;},_0x3480cc['MwGIo']=function(_0xa87056,_0x28018a){return _0xa87056+_0x28018a;},_0x3480cc[_0x1a5fb4(0xea)]=function(_0x9a358e,_0x57515f){return _0x9a358e+_0x57515f;},_0x3480cc[_0x1a5fb4(0x9a)]=function(_0x449ba2,_0x5096a1){return _0x449ba2+_0x5096a1;},_0x3480cc[_0x1a5fb4(0xa5)]=function(_0x57a60a,_0x93e2d1){return _0x57a60a+_0x93e2d1;},_0x3480cc[_0x1a5fb4(0x9f)]=function(_0x37880c,_0x549b40){return _0x37880c===_0x549b40;},_0x3480cc[_0x1a5fb4(0xbb)]=_0x1a5fb4(0xe1);const _0x1f066d=_0x3480cc;let _0x23d7b9=0x0;if(_0x1f066d[_0x1a5fb4(0x9f)](_0x41eb92['length'],0x0))return _0x23d7b9;return console['log'](chalk[_0x1a5fb4(0xca)]['bgWhite'](_0x1f066d[_0x1a5fb4(0xbb)])),_0x41eb92[_0x1a5fb4(0xdd)](_0x571c14=>{const _0x1f5ec6=_0x1a5fb4,_0x526d4c=_0x571c14[0x0],_0x5826c2=_0x571c14[0x1];console['log']('\x0a'+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0x96)](''+helper[_0x1f5ec6(0xe6)](_0x526d4c)));const _0xfc1079=_0x5826c2[_0x1f5ec6(0xad)],_0x290ac6=_0x5826c2['steps'],_0xde0106=_0x5826c2[_0x1f5ec6(0x91)],_0x56c7b2=_0x5826c2[_0x1f5ec6(0xb6)],_0x2bc2cf=_0x5826c2[_0x1f5ec6(0xcb)],_0x22a6f2=_0x5826c2[_0x1f5ec6(0x9b)],_0x5c30d8=_0x5826c2[_0x1f5ec6(0x95)],_0x22a407=_0x5826c2[_0x1f5ec6(0xa2)],_0x445be4=_0x5826c2['stepsUnknown'],_0xf5927a=_0x5826c2['stepsAmbiguous'],_0x169e2c=_0x5826c2['processSuccess'];let _0x3333f6=_0xfc1079+_0x1f5ec6(0xf8);const _0x3e6fe1=_0x1f066d[_0x1f5ec6(0x9d)](_0x1f066d[_0x1f5ec6(0xa7)](_0xfc1079,_0xde0106),0x0)?_0x1f066d[_0x1f5ec6(0xa7)](_0xfc1079,_0xde0106):0x0;if(_0x1f066d[_0x1f5ec6(0x9d)](_0xde0106,0x0)&&_0x1f066d['RXKUC'](_0x3e6fe1,0x0))_0x3333f6+='\x20('+chalk['bold']['red'](_0xde0106+_0x1f5ec6(0xb1))+',\x20'+chalk['bold'][_0x1f5ec6(0xc3)](_0x3e6fe1+_0x1f5ec6(0xb5))+')';else(_0x1f066d['eTmbq'](_0xde0106,0x0)||_0x1f066d['eZwxZ'](_0x3e6fe1,0x0))&&(_0x3333f6+=_0x1f066d['yAcpp'](_0xde0106,0x0)?'\x20('+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0xc9)](_0xde0106+_0x1f5ec6(0xb1))+')':'\x20('+chalk['bold'][_0x1f5ec6(0xc3)](_0x3e6fe1+_0x1f5ec6(0xb5))+')');const _0x2ec8a1=_0x290ac6+_0x1f5ec6(0x90),_0xcb5b21=[];_0x1f066d[_0x1f5ec6(0x92)](_0xf5927a,0x0)&&_0xcb5b21[_0x1f5ec6(0xc6)](''+chalk[_0x1f5ec6(0xca)]['red'](_0xf5927a+_0x1f5ec6(0xe7)));_0x1f066d[_0x1f5ec6(0xf9)](_0x56c7b2,0x0)&&_0xcb5b21[_0x1f5ec6(0xc6)](''+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0xc9)](_0x56c7b2+_0x1f5ec6(0xb1)));_0x1f066d['htFzO'](_0x2bc2cf,0x0)&&_0xcb5b21[_0x1f5ec6(0xc6)](''+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0xc3)](_0x2bc2cf+_0x1f5ec6(0xb5)));_0x1f066d[_0x1f5ec6(0xb9)](_0x5c30d8,0x0)&&_0xcb5b21['push'](''+chalk[_0x1f5ec6(0xca)]['yellow'](_0x5c30d8+_0x1f5ec6(0xe8)));_0x1f066d[_0x1f5ec6(0xf9)](_0x22a6f2,0x0)&&_0xcb5b21[_0x1f5ec6(0xc6)](''+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0xa1)](_0x22a6f2+_0x1f5ec6(0xde)));_0x1f066d[_0x1f5ec6(0xf3)](_0x22a407,0x0)&&_0xcb5b21[_0x1f5ec6(0xc6)](''+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0x96)](_0x22a407+'\x20undefined'));_0x1f066d[_0x1f5ec6(0xa3)](_0x445be4,0x0)&&_0xcb5b21['push'](''+chalk[_0x1f5ec6(0xca)][_0x1f5ec6(0x96)](_0x445be4+_0x1f5ec6(0xde)));const _0x4c0b89=_0x1f066d[_0x1f5ec6(0xd8)](_0x1f066d[_0x1f5ec6(0xc5)](_0x1f066d[_0x1f5ec6(0xe2)](_0x2ec8a1,'('),_0xcb5b21[_0x1f5ec6(0xa8)](',\x20')),')');console[_0x1f5ec6(0xeb)](_0x1f066d['wAKrQ'](_0x1f066d[_0x1f5ec6(0x9a)](_0x1f066d[_0x1f5ec6(0xe2)](_0x1f066d[_0x1f5ec6(0xa5)]('\x0a',_0x3333f6),'\x0a'),_0x4c0b89),'\x0a')),_0x1f066d['nJnXN'](_0x169e2c,![])&&(_0x23d7b9=0x1);}),_0x23d7b9;}async function run(_0x1ea5e5,_0x2967e5){const _0x7c4bb7=a5_0x264156,_0x2fb984={'iLSVE':function(_0x5a5d1b,_0x3e9241){return _0x5a5d1b(_0x3e9241);},'xILHu':function(_0x56414f,_0x5e6ee5){return _0x56414f>_0x5e6ee5;},'wuFDE':_0x7c4bb7(0xf0),'MHRIx':_0x7c4bb7(0xbd),'fdHXr':_0x7c4bb7(0xcd),'kAzur':_0x7c4bb7(0xff),'MUSYw':_0x7c4bb7(0xe4),'FEcSm':_0x7c4bb7(0xaa),'EApLt':function(_0x552b8c,_0x610057){return _0x552b8c>_0x610057;},'YebNb':function(_0x2969e7,_0x3a9762){return _0x2969e7-_0x3a9762;},'KOOLN':function(_0x3fad19,_0x344812){return _0x3fad19>=_0x344812;},'xUWGO':function(_0x17fdad,_0x532eaa){return _0x17fdad!=_0x532eaa;},'HWUJd':_0x7c4bb7(0x89),'QzjdX':function(_0x18029e,_0x596631,_0x155496,_0x286585,_0x1ef2f5,_0x4b2c9a){return _0x18029e(_0x596631,_0x155496,_0x286585,_0x1ef2f5,_0x4b2c9a);}},_0x2285ca=new BrowserStackSetup(_0x1ea5e5,_0x2fb984[_0x7c4bb7(0xef)]);await _0x2285ca['initialize']();!helper[_0x7c4bb7(0xdb)]()&&await _0x2285ca[_0x7c4bb7(0xa0)]();await helper[_0x7c4bb7(0x8c)](_0x2285ca[_0x7c4bb7(0xb4)]);const _0x2edda4=helper['useW3C'](_0x2285ca[_0x7c4bb7(0xb4)]),_0x476082=helper['prepareCapabilities'](_0x2285ca[_0x7c4bb7(0xb4)],_0x2edda4,constants['FRAMEWORKS'][_0x7c4bb7(0xb7)]);if(!_0x2285ca['config'])return;const _0x235b66=_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0xe3)]||helper['getUserWorkerCount'](_0x1ea5e5,_0x2967e5,_0x2285ca[_0x7c4bb7(0xb4)],constants['FRAMEWORKS'][_0x7c4bb7(0xb7)])||0x1,_0x3017dc={'server':helper[_0x7c4bb7(0xb0)](_0x2285ca[_0x7c4bb7(0xb4)]),'proxySettings':_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0xf1)],'maxWorkers':_0x235b66,'browserStackLogLevel':_0x2285ca[_0x7c4bb7(0xb4)]['logLevel'],'skipSessionName':_0x2285ca[_0x7c4bb7(0xb4)]['testContextOptions'][_0x7c4bb7(0xd6)],'skipSessionStatus':_0x2285ca['config'][_0x7c4bb7(0xac)][_0x7c4bb7(0x98)],'turboScaleUrl':_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0xba)]},_0x437337=process[_0x7c4bb7(0xf7)],[_0x4fe61a,_0x18d966]=helper['parseFormatters'](_0x437337),_0x5b0edb=path[_0x7c4bb7(0xa8)](process[_0x7c4bb7(0xc8)](),_0x2fb984[_0x7c4bb7(0x97)]);if(_0x2fb984[_0x7c4bb7(0x8f)](_0x18d966[_0x7c4bb7(0xd3)],0x0)){helper[_0x7c4bb7(0x93)](_0x5b0edb);for(let _0x741a19=_0x2fb984['YebNb'](_0x4fe61a[_0x7c4bb7(0xd3)],0x1);_0x2fb984[_0x7c4bb7(0xcf)](_0x741a19,0x0);_0x741a19--){_0x437337[_0x7c4bb7(0xbf)](_0x4fe61a[_0x741a19],0x2);}}!helper[_0x7c4bb7(0xbc)](_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0xc0)])&&(process[_0x7c4bb7(0xd9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x7c4bb7(0xd2)](_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0xc0)]));_0x2fb984['xUWGO'](_0x2285ca[_0x7c4bb7(0xb4)]['testObservability'],null)?process[_0x7c4bb7(0xd9)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2285ca[_0x7c4bb7(0xb4)][_0x7c4bb7(0x8b)]:process[_0x7c4bb7(0xd9)][_0x7c4bb7(0xee)]=_0x2fb984[_0x7c4bb7(0xae)];const _0x47d57b=await TestHubHandler['launchBuild'](constants[_0x7c4bb7(0xaf)][_0x7c4bb7(0xb7)],_0x2285ca);helper[_0x7c4bb7(0xce)]();let _0x1bac75;_0x2fb984[_0x7c4bb7(0xab)](parallelCucumberRun,_0x476082,_0x3017dc,_0x2285ca['config'],_0x437337,_0x18d966)[_0x7c4bb7(0xa6)](async _0x1d31d5=>{const _0x2c5790=_0x7c4bb7;_0x1bac75=_0x1d31d5;const _0x2a3e03=_0x2fb984[_0x2c5790(0xd0)](printCucumberStats,_0x1d31d5);process[_0x2c5790(0xec)]=_0x2a3e03,_0x2fb984[_0x2c5790(0xbe)](_0x18d966[_0x2c5790(0xd3)],0x0)&&(logger[_0x2c5790(0xdc)](_0x2fb984['wuFDE']),helper[_0x2c5790(0xe0)](_0x5b0edb,_0x18d966),logger['debug'](_0x2fb984[_0x2c5790(0xfd)]),helper['removeDir'](_0x5b0edb));})[_0x7c4bb7(0xd5)](async()=>{const _0x3eeafe=_0x7c4bb7;_0x2285ca[_0x3eeafe(0xcc)]=helper['getErrorMessageFromResults'](_0x1bac75,_0x2fb984[_0x3eeafe(0xfa)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x3eeafe(0xda)]();}catch(_0x180b93){logger['debug'](_0x3eeafe(0xb3)+util[_0x3eeafe(0x8a)](_0x180b93));}try{const {browserstackFolderPath:_0x46fc35,tcgConfigPath:_0x5ee76d}=helper[_0x3eeafe(0xdf)]();fs[_0x3eeafe(0xf5)](_0x5ee76d),fs[_0x3eeafe(0xfb)](_0x46fc35);}catch(_0x17c0c9){logger[_0x3eeafe(0xdc)](_0x2fb984['kAzur'],_0x17c0c9);}await utilities[_0x3eeafe(0xa9)](_0x2285ca);});}module[a5_0x264156(0xe5)]=run;
|
|
2
|
+
'use strict';const a5_0x9da283=a5_0xbfd4;(function(_0x3299e3,_0x438064){const _0x27fc2c=a5_0xbfd4,_0x577458=_0x3299e3();while(!![]){try{const _0x1772e2=parseInt(_0x27fc2c(0x8d))/0x1+-parseInt(_0x27fc2c(0x93))/0x2+-parseInt(_0x27fc2c(0xa9))/0x3*(-parseInt(_0x27fc2c(0xc6))/0x4)+parseInt(_0x27fc2c(0x89))/0x5*(-parseInt(_0x27fc2c(0x84))/0x6)+parseInt(_0x27fc2c(0x91))/0x7+-parseInt(_0x27fc2c(0xd0))/0x8+parseInt(_0x27fc2c(0xcf))/0x9;if(_0x1772e2===_0x438064)break;else _0x577458['push'](_0x577458['shift']());}catch(_0x414819){_0x577458['push'](_0x577458['shift']());}}}(a5_0xfb0e,0xab5da));const fs=require('fs'),path=require(a5_0x9da283(0xbd)),util=require(a5_0x9da283(0xe2)),logger=require(a5_0x9da283(0xf1))[a5_0x9da283(0x9b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x9da283(0x98)),utilities=require(a5_0x9da283(0xd4)),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x9da283(0xf3)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x9da283(0xaf));function printCucumberStats(_0x131805){const _0x8eb928=a5_0x9da283,_0x4f8554={};_0x4f8554['EaXsR']=function(_0x4df02b,_0x59a7f9){return _0x4df02b>_0x59a7f9;},_0x4f8554[_0x8eb928(0xdd)]=function(_0x31c09b,_0x2befe2){return _0x31c09b-_0x2befe2;},_0x4f8554['nXYji']=function(_0x31bf1c,_0x4eb15a){return _0x31bf1c-_0x4eb15a;},_0x4f8554[_0x8eb928(0x8a)]=function(_0x3526f9,_0x117879){return _0x3526f9>_0x117879;},_0x4f8554[_0x8eb928(0xd1)]=function(_0x1ac77e,_0x4cef61){return _0x1ac77e>_0x4cef61;},_0x4f8554['wUckQ']=function(_0x2c9a53,_0x4f3347){return _0x2c9a53>_0x4f3347;},_0x4f8554['VAZBY']=function(_0x1eee1c,_0x3c8f8e){return _0x1eee1c>_0x3c8f8e;},_0x4f8554[_0x8eb928(0xb5)]=function(_0x20db03,_0x2ac26d){return _0x20db03>_0x2ac26d;},_0x4f8554[_0x8eb928(0xe5)]=function(_0x2c15ac,_0x1efc83){return _0x2c15ac>_0x1efc83;},_0x4f8554[_0x8eb928(0xe8)]=function(_0x5b2461,_0x200a36){return _0x5b2461+_0x200a36;},_0x4f8554[_0x8eb928(0xe9)]=function(_0x1f3db7,_0x3ee0d7){return _0x1f3db7+_0x3ee0d7;},_0x4f8554[_0x8eb928(0xb4)]=function(_0x4a3f5a,_0x5709e1){return _0x4a3f5a+_0x5709e1;},_0x4f8554[_0x8eb928(0x9f)]=function(_0x3103c8,_0x2919cf){return _0x3103c8+_0x2919cf;},_0x4f8554[_0x8eb928(0xb9)]=function(_0x369699,_0x26f068){return _0x369699+_0x26f068;},_0x4f8554['fWQoK']=function(_0xe8e043,_0x20422e){return _0xe8e043===_0x20422e;},_0x4f8554[_0x8eb928(0xd8)]=function(_0xf4cbf4,_0x5cf2b9){return _0xf4cbf4===_0x5cf2b9;},_0x4f8554[_0x8eb928(0x8c)]='****\x20RESULTS\x20****';const _0x59eab3=_0x4f8554;let _0x14feef=0x0;if(_0x59eab3[_0x8eb928(0xd8)](_0x131805['length'],0x0))return _0x14feef;return console[_0x8eb928(0xe6)](chalk[_0x8eb928(0xb6)][_0x8eb928(0xe4)](_0x59eab3[_0x8eb928(0x8c)])),_0x131805[_0x8eb928(0xdb)](_0x257d10=>{const _0x13ab06=_0x8eb928,_0x41d05a=_0x257d10[0x0],_0x552b08=_0x257d10[0x1];console[_0x13ab06(0xe6)]('\x0a'+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](''+helper[_0x13ab06(0xa1)](_0x41d05a)));const _0x4f45e6=_0x552b08['scenarios'],_0x38b5c0=_0x552b08['steps'],_0x45afc1=_0x552b08[_0x13ab06(0xea)],_0x2713cf=_0x552b08[_0x13ab06(0xa7)],_0x33a8e2=_0x552b08['stepsPassed'],_0x37e80f=_0x552b08[_0x13ab06(0xac)],_0x49959d=_0x552b08[_0x13ab06(0xad)],_0x3f79de=_0x552b08['stepsUndefined'],_0x461149=_0x552b08[_0x13ab06(0xa6)],_0x138b1c=_0x552b08[_0x13ab06(0xb8)],_0x1d2433=_0x552b08['processSuccess'];let _0x4e1355=_0x4f45e6+'\x20scenarios';const _0x442c87=_0x59eab3[_0x13ab06(0x83)](_0x59eab3[_0x13ab06(0xdd)](_0x4f45e6,_0x45afc1),0x0)?_0x59eab3[_0x13ab06(0xa4)](_0x4f45e6,_0x45afc1):0x0;if(_0x59eab3[_0x13ab06(0x83)](_0x45afc1,0x0)&&_0x59eab3[_0x13ab06(0x8a)](_0x442c87,0x0))_0x4e1355+='\x20('+chalk[_0x13ab06(0xb6)][_0x13ab06(0xae)](_0x45afc1+_0x13ab06(0xc4))+',\x20'+chalk[_0x13ab06(0xb6)][_0x13ab06(0xa3)](_0x442c87+'\x20passed')+')';else(_0x59eab3[_0x13ab06(0x8a)](_0x45afc1,0x0)||_0x59eab3[_0x13ab06(0x83)](_0x442c87,0x0))&&(_0x4e1355+=_0x59eab3['rXxcD'](_0x45afc1,0x0)?'\x20('+chalk[_0x13ab06(0xb6)][_0x13ab06(0xae)](_0x45afc1+_0x13ab06(0xc4))+')':'\x20('+chalk['bold'][_0x13ab06(0xa3)](_0x442c87+'\x20passed')+')');const _0x37c9b8=_0x38b5c0+'\x20steps',_0x4e7303=[];_0x59eab3[_0x13ab06(0xd1)](_0x138b1c,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0xae)](_0x138b1c+_0x13ab06(0xde)));_0x59eab3[_0x13ab06(0xaa)](_0x2713cf,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)]['red'](_0x2713cf+_0x13ab06(0xc4)));_0x59eab3['VAZBY'](_0x33a8e2,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)]['green'](_0x33a8e2+_0x13ab06(0x9e)));_0x59eab3['rXxcD'](_0x49959d,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](_0x49959d+'\x20pending'));_0x59eab3[_0x13ab06(0xb5)](_0x37e80f,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0xb2)](_0x37e80f+_0x13ab06(0xf2)));_0x59eab3[_0x13ab06(0xaa)](_0x3f79de,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0x8b)](_0x3f79de+'\x20undefined'));_0x59eab3[_0x13ab06(0xe5)](_0x461149,0x0)&&_0x4e7303['push'](''+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](_0x461149+_0x13ab06(0xf2)));const _0x1f081b=_0x59eab3['brpCW'](_0x59eab3[_0x13ab06(0xe8)](_0x59eab3[_0x13ab06(0xe9)](_0x37c9b8,'('),_0x4e7303[_0x13ab06(0xa5)](',\x20')),')');console[_0x13ab06(0xe6)](_0x59eab3[_0x13ab06(0xe9)](_0x59eab3[_0x13ab06(0xb4)](_0x59eab3[_0x13ab06(0x9f)](_0x59eab3[_0x13ab06(0xb9)]('\x0a',_0x4e1355),'\x0a'),_0x1f081b),'\x0a')),_0x59eab3['fWQoK'](_0x1d2433,![])&&(_0x14feef=0x1);}),_0x14feef;}async function run(_0x8fe98f,_0x247f8f){const _0x16bd1a=a5_0x9da283,_0x4e3f14={'OWzGj':function(_0x2f9224,_0x1edd8d){return _0x2f9224(_0x1edd8d);},'CNEqH':function(_0x513d89,_0x4889df){return _0x513d89>_0x4889df;},'mGACe':_0x16bd1a(0x97),'uGVUG':_0x16bd1a(0x9a),'WbVUx':_0x16bd1a(0xa8),'hTjYy':_0x16bd1a(0xc9),'sKcLX':_0x16bd1a(0xb1),'urjqS':_0x16bd1a(0xe0),'mbrjc':function(_0x294ec4,_0x5d83a8){return _0x294ec4-_0x5d83a8;},'BLtCc':function(_0x35e3b5,_0x534179){return _0x35e3b5>=_0x534179;},'eicpR':function(_0x2ab999,_0xf2ddde){return _0x2ab999!=_0xf2ddde;},'IRJSB':_0x16bd1a(0xca),'nhAdG':function(_0x5d2a76,_0x124995,_0x2ef320,_0x43309c,_0x14c89d,_0x58fe12){return _0x5d2a76(_0x124995,_0x2ef320,_0x43309c,_0x14c89d,_0x58fe12);}},_0x169d67=new BrowserStackSetup(_0x8fe98f,_0x4e3f14[_0x16bd1a(0xc8)]);await _0x169d67['initialize']();!helper[_0x16bd1a(0xd5)]()&&await _0x169d67[_0x16bd1a(0x8e)]();await helper[_0x16bd1a(0xeb)](_0x169d67[_0x16bd1a(0x94)]);const _0x3fa7e1=helper[_0x16bd1a(0x9c)](_0x169d67[_0x16bd1a(0x94)]),_0x467cd1=helper[_0x16bd1a(0x8f)](_0x169d67[_0x16bd1a(0x94)],_0x3fa7e1,constants['FRAMEWORKS'][_0x16bd1a(0xba)]);if(!_0x169d67['config'])return;const _0x278581=_0x169d67[_0x16bd1a(0x94)]['parallelsPerPlatform']||helper[_0x16bd1a(0xcd)](_0x8fe98f,_0x247f8f,_0x169d67[_0x16bd1a(0x94)],constants[_0x16bd1a(0xf0)][_0x16bd1a(0xba)])||0x1,_0x340470={'server':helper[_0x16bd1a(0xcb)](_0x169d67[_0x16bd1a(0x94)]),'proxySettings':_0x169d67[_0x16bd1a(0x94)]['proxySettings'],'maxWorkers':_0x278581,'browserStackLogLevel':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x90)],'skipSessionName':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x96)][_0x16bd1a(0xab)],'skipSessionStatus':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x96)][_0x16bd1a(0xd9)],'turboScaleUrl':_0x169d67[_0x16bd1a(0x94)]['turboScaleUrl']},_0x49258f=process['argv'],[_0x47a5c1,_0x3a8a7f]=helper[_0x16bd1a(0xe3)](_0x49258f),_0x49f4b1=path[_0x16bd1a(0xa5)](process[_0x16bd1a(0xbf)](),_0x4e3f14[_0x16bd1a(0xb3)]);if(_0x4e3f14[_0x16bd1a(0x87)](_0x3a8a7f[_0x16bd1a(0xc3)],0x0)){helper[_0x16bd1a(0xd7)](_0x49f4b1);for(let _0x2456f0=_0x4e3f14[_0x16bd1a(0xd6)](_0x47a5c1[_0x16bd1a(0xc3)],0x1);_0x4e3f14[_0x16bd1a(0xec)](_0x2456f0,0x0);_0x2456f0--){_0x49258f[_0x16bd1a(0xef)](_0x47a5c1[_0x2456f0],0x2);}}!helper[_0x16bd1a(0x99)](_0x169d67['config'][_0x16bd1a(0xee)])&&(process[_0x16bd1a(0xdc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x16bd1a(0xa2)](_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0xee)]));_0x4e3f14['eicpR'](_0x169d67['config'][_0x16bd1a(0xb0)],null)?process[_0x16bd1a(0xdc)][_0x16bd1a(0xdf)]=_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0xb0)]:process[_0x16bd1a(0xdc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4e3f14[_0x16bd1a(0xc1)];const _0x230ff4=await TestHubHandler[_0x16bd1a(0x9d)](constants[_0x16bd1a(0xf0)][_0x16bd1a(0xba)],_0x169d67);helper[_0x16bd1a(0xc0)]();let _0x3bccf3;_0x4e3f14[_0x16bd1a(0x95)](parallelCucumberRun,_0x467cd1,_0x340470,_0x169d67[_0x16bd1a(0x94)],_0x49258f,_0x3a8a7f)[_0x16bd1a(0xa0)](async _0x54fdbc=>{const _0x3eb307=_0x16bd1a;_0x3bccf3=_0x54fdbc;const _0x932c2a=_0x4e3f14[_0x3eb307(0xbb)](printCucumberStats,_0x54fdbc);process[_0x3eb307(0xc2)]=_0x932c2a,_0x4e3f14[_0x3eb307(0x87)](_0x3a8a7f[_0x3eb307(0xc3)],0x0)&&(logger[_0x3eb307(0xbe)](_0x4e3f14[_0x3eb307(0xda)]),helper[_0x3eb307(0xed)](_0x49f4b1,_0x3a8a7f),logger[_0x3eb307(0xbe)](_0x4e3f14[_0x3eb307(0xbc)]),helper[_0x3eb307(0xcc)](_0x49f4b1));})[_0x16bd1a(0xd2)](async()=>{const _0x41a495=_0x16bd1a;_0x169d67[_0x41a495(0x85)]=helper[_0x41a495(0x92)](_0x3bccf3,_0x4e3f14['WbVUx']),testOpsHelper[_0x41a495(0xe7)]();try{await TestHubHandler[_0x41a495(0xb7)]();}catch(_0x5cbd93){logger[_0x41a495(0xbe)](_0x41a495(0xc5)+util[_0x41a495(0xd3)](_0x5cbd93));}try{const {browserstackFolderPath:_0x3e4ab5,tcgConfigPath:_0x1616af}=helper['getTCGConfigFilePaths']();fs[_0x41a495(0x86)](_0x1616af),fs[_0x41a495(0xce)](_0x3e4ab5);}catch(_0x300db1){logger[_0x41a495(0xbe)](_0x4e3f14['hTjYy'],_0x300db1);}await utilities[_0x41a495(0x88)](_0x169d67);});}function a5_0xbfd4(_0x2849a0,_0x683d76){const _0xfb0ea3=a5_0xfb0e();return a5_0xbfd4=function(_0xbfd4dc,_0x23c679){_0xbfd4dc=_0xbfd4dc-0x83;let _0xa0c670=_0xfb0ea3[_0xbfd4dc];return _0xa0c670;},a5_0xbfd4(_0x2849a0,_0x683d76);}function a5_0xfb0e(){const _0x36d6f8=['red','chalk','testObservability','cucumber-js','cyan','urjqS','wgmNY','zztpu','bold','stop','stepsAmbiguous','GDngn','CUCUMBER','OWzGj','uGVUG','path','debug','cwd','markSDKSetupComplete','IRJSB','exitCode','length','\x20failed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','12EoojYn','push','sKcLX','error\x20removing\x20tcg\x20config\x20file','false','getHubUrl','removeDir','getUserWorkerCount','rmdirSync','7026525ETpzvb','11015512oLQMaH','qwrNj','finally','format','../../helpers/utilities','isBrowserstackInfra','mbrjc','createDir','uHWkr','skipSessionStatus','mGACe','forEach','env','YMHko','\x20ambiguous','BROWSERSTACK_TEST_OBSERVABILITY_YML','tmp','exports','util','parseFormatters','bgWhite','kpAue','log','printBuildLink','brpCW','KcCxT','scenariosFailed','handleApp','BLtCc','mergeOutputFiles','accessibilityOptions','splice','FRAMEWORKS','../../helpers/logger','\x20skipped','../../helpers/testhub/testhubHandler','EaXsR','474162tDlLJZ','errorMessage','unlinkSync','CNEqH','finalExecution','15MiUZKD','rXxcD','yellow','wYPFB','301488aWbPux','setupTCGAuth','prepareCapabilities','logLevel','5891060fdWBeA','getErrorMessageFromResults','601610lliRbJ','config','nhAdG','testContextOptions','Generating\x20consolidated\x20report...','../../helpers/helper','isUndefined','Removing\x20tmp\x20directory\x20created\x20for\x20reports','winstonLogger','useW3C','launchBuild','\x20passed','Umdwq','then','getPlatformName','stringify','green','nXYji','join','stepsUnknown','stepsFailed','cucumber','692946nEsKDr','wUckQ','skipSessionName','stepsSkipped','stepsPending'];a5_0xfb0e=function(){return _0x36d6f8;};return a5_0xfb0e();}module[a5_0x9da283(0xe1)]=run;
|