browserstack-node-sdk 1.34.21 → 1.34.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/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
|
+
function a1_0x12b2(_0x3f3d08,_0x525550){const _0x3dac8c=a1_0x3dac();return a1_0x12b2=function(_0x12b298,_0x43cf93){_0x12b298=_0x12b298-0xaa;let _0x3e5d22=_0x3dac8c[_0x12b298];return _0x3e5d22;},a1_0x12b2(_0x3f3d08,_0x525550);}const a1_0x31a119=a1_0x12b2;(function(_0x5214ff,_0x57929f){const _0x37d724=a1_0x12b2,_0x2a55f7=_0x5214ff();while(!![]){try{const _0x58aa88=parseInt(_0x37d724(0xcf))/0x1*(parseInt(_0x37d724(0xd2))/0x2)+parseInt(_0x37d724(0xcd))/0x3+parseInt(_0x37d724(0x10c))/0x4*(parseInt(_0x37d724(0xd9))/0x5)+-parseInt(_0x37d724(0x141))/0x6*(parseInt(_0x37d724(0x112))/0x7)+parseInt(_0x37d724(0x10a))/0x8+-parseInt(_0x37d724(0x12d))/0x9+-parseInt(_0x37d724(0xcc))/0xa*(parseInt(_0x37d724(0xcb))/0xb);if(_0x58aa88===_0x57929f)break;else _0x2a55f7['push'](_0x2a55f7['shift']());}catch(_0x431f63){_0x2a55f7['push'](_0x2a55f7['shift']());}}}(a1_0x3dac,0xf3fd8));const fs=require('fs'),util=require(a1_0x31a119(0x129)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x31a119(0xc3)),logger=require(a1_0x31a119(0x10e))[a1_0x31a119(0xe6)],testOpsHelper=require(a1_0x31a119(0xbd)),requestSpy=require(a1_0x31a119(0xe4)),PlaywrightSessionDetails=require(a1_0x31a119(0x100)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x31a119(0x13c)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x31a119(0x13d)),AccessibilityHelper=require(a1_0x31a119(0xbe)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x31a119(0x109)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule(a1_0x31a119(0x12e)),playwrightMarkSessionStatus=(_0x439c14,_0x433da3,_0xbc2e09)=>{const _0x801d2=a1_0x31a119,_0x47f267={'vPJfT':_0x801d2(0x102),'HvaVq':function(_0x3362a6,_0x22bcd2){return _0x3362a6(_0x22bcd2);}},_0x51ce93={};_0x51ce93[_0x801d2(0x101)]=_0x433da3;const _0x14717b={};_0x14717b['action']=_0x47f267[_0x801d2(0xd1)],_0x14717b[_0x801d2(0x137)]=_0x51ce93;const _0x54d266=_0x14717b;return!_0x47f267[_0x801d2(0xd4)](isUndefined,_0xbc2e09)&&(_0x54d266['arguments'][_0x801d2(0xd8)]=JSON[_0x801d2(0xff)](_0xbc2e09)),_0x439c14[_0x801d2(0x105)](()=>{},_0x801d2(0x14a)+JSON[_0x801d2(0xff)](_0x54d266));},o11ySync=async _0x27bd98=>{const _0x2dafbc=a1_0x31a119,_0x5a458e={};_0x5a458e['rnPbq']=function(_0x9f4000,_0x18b102){return _0x9f4000===_0x18b102;},_0x5a458e['ShIGA']=_0x2dafbc(0xe7);const _0x13a566=_0x5a458e;_0x13a566['rnPbq'](_0x27bd98[_0x2dafbc(0x103)][_0x2dafbc(0x134)],_0x13a566[_0x2dafbc(0x14b)])?await _0x27bd98['executeScript'](_0x728002=>{},testOpsHelper[_0x2dafbc(0x115)]()):await _0x27bd98[_0x2dafbc(0x105)](testOpsHelper[_0x2dafbc(0x115)]());},markSessionName=async(_0x46b31d,_0x1b932a)=>{const _0x13635a=a1_0x31a119,_0x490859={};_0x490859[_0x13635a(0x140)]='setSessionName',_0x490859[_0x13635a(0xdd)]=function(_0x48e17a,_0x1322c2){return _0x48e17a===_0x1322c2;},_0x490859[_0x13635a(0x12a)]='Playwright';const _0xdebea8=_0x490859,_0x5488c6={};_0x5488c6[_0x13635a(0x134)]=_0x1b932a;const _0x17d7c3={};_0x17d7c3['action']=_0xdebea8[_0x13635a(0x140)],_0x17d7c3['arguments']=_0x5488c6;const _0x3134a1=_0x17d7c3;_0xdebea8['SxumP'](_0x46b31d[_0x13635a(0x103)]['name'],_0xdebea8[_0x13635a(0x12a)])?await _0x46b31d[_0x13635a(0x105)](()=>{},_0x13635a(0x14a)+JSON[_0x13635a(0xff)](_0x3134a1)):await _0x46b31d[_0x13635a(0x105)](_0x13635a(0x14a)+JSON['stringify'](_0x3134a1));},patchSaveScreenshot=_0x402a2e=>{const _0x1d62b8=a1_0x31a119,_0x40f097={'pREcR':_0x1d62b8(0xb6),'HkZVN':_0x1d62b8(0x122),'qCOZE':function(_0x4a1ede){return _0x4a1ede();},'wBglb':function(_0x578fc4,_0x36b478){return _0x578fc4(_0x36b478);}};_0x40f097[_0x1d62b8(0xb2)](isTrue,process['env'][_0x1d62b8(0xb9)])&&!_0x402a2e['patchSaveScreenshot']&&(_0x402a2e['patchSaveScreenshot']=!![],_0x402a2e[_0x1d62b8(0x143)]=_0x402a2e[_0x1d62b8(0x108)],_0x402a2e[_0x1d62b8(0x108)]=(_0x44cf58,_0x4bc187=![])=>{return new Promise(function(_0x1b8176,_0x1d838c){const _0x4651ca=a1_0x12b2,_0x5ab7bc={'SLHNc':_0x40f097[_0x4651ca(0xd7)],'HFmlX':_0x40f097[_0x4651ca(0xfc)],'ljyvy':function(_0x52b521){const _0x40f3d2=_0x4651ca;return _0x40f097[_0x40f3d2(0xda)](_0x52b521);}};_0x402a2e[_0x4651ca(0x143)](_0x44cf58,_0x4bc187)[_0x4651ca(0x10d)](()=>{const _0x364925=_0x4651ca,_0x5ecc6e=CodeceptUtils['screenshotOutputFolder'](_0x44cf58),_0x28c383=fs[_0x364925(0xef)](_0x5ecc6e);process[_0x364925(0xc8)]('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x28c383[_0x364925(0x11f)](_0x5ab7bc[_0x364925(0xe5)]),'kind':_0x5ab7bc['HFmlX']}),_0x5ab7bc[_0x364925(0xba)](_0x1b8176);})['catch'](()=>null);});});},patchWebDriverBefore=_0x4df175=>{const _0x1fa135=a1_0x31a119,_0x1442f0={'iMBKc':function(_0x14c3c0){return _0x14c3c0();},'LbSsm':function(_0x4021b4,_0x23c46e){return _0x4021b4(_0x23c46e);},'GoaOz':function(_0x51427f,_0x52fe2d){return _0x51427f===_0x52fe2d;},'KjEQd':_0x1fa135(0xea)},_0x5b824d=async function(_0x56046b,_0x367f6d){const _0x129531=_0x1fa135;return _0x1442f0[_0x129531(0xc6)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts[_0x129531(0xca)](_0x56046b[_0x129531(0x134)])&&_0x1442f0[_0x129531(0xc9)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x129531(0x149)](_0x129531(0xeb)+_0x56046b[_0x129531(0xf6)]+'\x20'+_0x56046b[_0x129531(0x134)]),await AccessibilityHelper[_0x129531(0x12b)](_0x4df175,scripts[_0x129531(0x10f)])),global[_0x129531(0x104)]=![],_0x367f6d[_0x129531(0x127)](this,Array[_0x129531(0xb4)][_0x129531(0x128)][_0x129531(0xde)](arguments,0x2));},_0x1e19ac=CodeceptWebDriver[_0x1fa135(0xb4)]['_before'];CodeceptWebDriver[_0x1fa135(0xb4)][_0x1fa135(0x145)]=async function(){const _0x5c8f36=_0x1fa135,_0x356429={'JtPQv':function(_0x2f409b,_0xcf5308){const _0xbdee86=a1_0x12b2;return _0x1442f0[_0xbdee86(0x118)](_0x2f409b,_0xcf5308);},'TLpBg':_0x1442f0[_0x5c8f36(0x13b)]};await _0x1e19ac[_0x5c8f36(0x127)](this,arguments),scripts[_0x5c8f36(0xed)][_0x5c8f36(0xf5)](_0x3d125c=>_0x3d125c[_0x5c8f36(0x134)]&&_0x3d125c[_0x5c8f36(0xf6)])['forEach'](_0x350607=>{const _0x514929=_0x5c8f36;this['browser'][_0x514929(0xfd)](_0x350607[_0x514929(0x134)],_0x5b824d[_0x514929(0xf4)](this,_0x350607),_0x356429[_0x514929(0xfa)](_0x350607['class'],_0x356429[_0x514929(0x154)]));}),_0x1442f0[_0x5c8f36(0xc9)](processWebDriverConfig,_0x4df175);};},patchPlaywrightBefore=()=>{const _0x4a2dd2=a1_0x31a119;PlaywrightSessionDetails['patch']();const _0x243aff=CodeceptPlaywright[_0x4a2dd2(0xb4)][_0x4a2dd2(0x145)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x3001bb=_0x4a2dd2;this[_0x3001bb(0xd0)]=await this[_0x3001bb(0x10b)][_0x3001bb(0x13a)]()[0x0],await _0x243aff[_0x3001bb(0x127)](this,arguments);};},getCodeceptDriver=()=>{const _0x4b6dfd=a1_0x31a119,_0x1cc37e={};_0x1cc37e[_0x4b6dfd(0xb3)]='WebDriver',_0x1cc37e[_0x4b6dfd(0x139)]=_0x4b6dfd(0xe7),_0x1cc37e[_0x4b6dfd(0xaf)]='Puppeteer',_0x1cc37e[_0x4b6dfd(0x113)]=_0x4b6dfd(0xac);const _0x53fd4a=_0x1cc37e,_0x1f14fa=[_0x53fd4a['UOFCP'],_0x53fd4a['doFzI'],_0x53fd4a[_0x4b6dfd(0xaf)],_0x53fd4a['PDbrC']],_0x56b4d3=_0x1f14fa[_0x4b6dfd(0x12c)](_0x5ce248=>!!CodeceptJS['container']['helpers'](_0x5ce248));if(!_0x56b4d3)return null;return CodeceptJS[_0x4b6dfd(0x124)]['helpers'](_0x56b4d3);};module[a1_0x31a119(0x144)]=function(_0x3f533b){const _0x5b06ad=a1_0x31a119,_0x574393={'dpDOE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','kpRNW':_0x5b06ad(0x153),'xUwcL':function(_0x7e6d6e){return _0x7e6d6e();},'IDimw':function(_0x249661){return _0x249661();},'pbVMx':function(_0x4a73bd,_0x3ecfbc){return _0x4a73bd(_0x3ecfbc);},'rCMkV':function(_0x522a42,_0x126c8b,_0x590be0){return _0x522a42(_0x126c8b,_0x590be0);},'NGyKq':function(_0xb61e96,_0x3752aa,_0x231ce0){return _0xb61e96(_0x3752aa,_0x231ce0);},'OFWDo':function(_0xecfd7a,_0x29ef1b,_0x119a69,_0x5155d5){return _0xecfd7a(_0x29ef1b,_0x119a69,_0x5155d5);},'bhjII':function(_0xe4f353,_0x1bfc30){return _0xe4f353===_0x1bfc30;},'DfDnR':_0x5b06ad(0x12f),'eZElk':function(_0x4bcfdc){return _0x4bcfdc();},'VbTJq':function(_0x5f3244){return _0x5f3244();},'xxXry':_0x5b06ad(0xfb),'cRkID':'INFO','mhFUO':_0x5b06ad(0xe2),'mlJJF':_0x5b06ad(0xe7),'fkorW':function(_0x4a358d){return _0x4a358d();}};_0x3f533b['skipSessionStatus']&&(global['__skipSessionStatus']=_0x3f533b[_0x5b06ad(0xc5)]);PerformanceTester[_0x5b06ad(0x131)]();const _0x2ea726=_0x574393['IDimw'](getCodeceptDriver),_0x338073=new O11yHelper(_0x2ea726,_0x3f533b),_0x30bf08=!!CodeceptJS[_0x5b06ad(0x124)][_0x5b06ad(0xdc)](_0x574393[_0x5b06ad(0xe3)]);global[_0x5b06ad(0x13e)]=_0x2ea726,_0x2ea726&&(_0x30bf08?_0x574393[_0x5b06ad(0xee)](patchPlaywrightBefore):_0x574393['pbVMx'](patchWebDriverBefore,_0x2ea726),_0x2ea726[_0x5b06ad(0x142)]=async()=>{const _0x2dd9ae=_0x5b06ad;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x2dd9ae(0x12b)](_0x2ea726,scripts[_0x2dd9ae(0x10f)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2ea726,scripts[_0x2dd9ae(0x136)]);else return logger[_0x2dd9ae(0xaa)](_0x574393[_0x2dd9ae(0xd3)]),{};},_0x2ea726[_0x5b06ad(0xb7)]=async()=>{const _0x19a022=_0x5b06ad;if(global[_0x19a022(0xd6)])await AccessibilityHelper['browserStackExecuteDriver'](_0x2ea726,scripts[_0x19a022(0x10f)]),await AccessibilityHelper[_0x19a022(0x12b)](_0x2ea726,scripts[_0x19a022(0xe1)]);else return logger['warn'](_0x574393['kpRNW']),{};},_0x574393['pbVMx'](patchSaveScreenshot,_0x2ea726)),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xe0)][_0x5b06ad(0x11e)],()=>{const _0x523196=_0x5b06ad;try{_0x338073[_0x523196(0xf7)](),testOpsHelper[_0x523196(0xae)]();}catch(_0x118d41){PerformanceTester[_0x523196(0x121)](_0x118d41);}}),CodeceptJS['event'][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)]['all'][_0x5b06ad(0xbc)],async()=>{const _0x14ed4e=_0x5b06ad;try{requestSpy[_0x14ed4e(0xf9)](),await _0x338073[_0x14ed4e(0x110)]();}catch(_0x45328f){PerformanceTester[_0x14ed4e(0x121)](_0x45328f);}finally{PerformanceTester[_0x14ed4e(0xf3)]();}}),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xdf)][_0x5b06ad(0x147)],_0x5473a7=>{const _0x49cf12=_0x5b06ad;try{const _0x18d8dd=_0x5473a7[_0x49cf12(0xe8)][_0x49cf12(0x146)],_0x2231e1=_0x338073[_0x49cf12(0x116)](TEST_EVENTS[_0x49cf12(0x133)],_0x18d8dd);CodeceptRecorder[_0x49cf12(0x14c)](()=>_0x338073['fireEvent'](TEST_EVENTS[_0x49cf12(0x133)],_0x2231e1));}catch(_0x15bd94){PerformanceTester[_0x49cf12(0x121)](_0x15bd94);}}),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)]['hook'][_0x5b06ad(0xbf)],_0x4b499b=>{const _0x402820=_0x5b06ad;try{const _0x30b029=_0x4b499b[_0x402820(0xe8)][_0x402820(0x146)],_0x3b4be3=_0x338073[_0x402820(0x116)](TEST_EVENTS[_0x402820(0x117)],_0x30b029);CodeceptRecorder[_0x402820(0x14c)](()=>_0x338073[_0x402820(0xd5)](TEST_EVENTS[_0x402820(0x117)],_0x3b4be3));}catch(_0x567529){PerformanceTester['captureError'](_0x567529);}}),CodeceptJS['event'][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xdf)]['failed'],async(_0xdef770,_0x3744d1)=>{const _0x1c4a69=_0x5b06ad;try{const _0xaa836e=_0xdef770[_0x1c4a69(0xe8)][_0x1c4a69(0x146)],_0x206c63=_0x338073[_0x1c4a69(0x116)](TEST_EVENTS[_0x1c4a69(0x117)],_0xaa836e,_0x3744d1);CodeceptRecorder[_0x1c4a69(0x14c)](()=>_0x338073['fireEvent'](TEST_EVENTS[_0x1c4a69(0x117)],_0x206c63));}catch(_0x303010){PerformanceTester[_0x1c4a69(0x121)](_0x303010);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x146)][_0x5b06ad(0x11e)],_0x37c403=>{const _0x375052=_0x5b06ad;try{_0x574393[_0x375052(0x111)](isBrowserstackInfra)&&(_0x30bf08&&(global['__workerDetails']={'currentTest':{'name':_0x37c403[_0x375052(0x14d)],'testInfo':{'titlePath':_0x37c403[_0x375052(0x132)]()}}}));}catch(_0x5d61f2){PerformanceTester[_0x375052(0x121)](_0x5d61f2);}}),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x146)][_0x5b06ad(0x147)],_0x4e50ac=>{const _0x370fb1=_0x5b06ad,_0x11a7d4={'tcrgE':function(_0xd55bcc){return _0x574393['IDimw'](_0xd55bcc);},'QPDRd':function(_0x3daf34,_0x1d1f6c){const _0x5a8a6f=a1_0x12b2;return _0x574393[_0x5a8a6f(0xbb)](_0x3daf34,_0x1d1f6c);},'ATmra':function(_0x1bdbdf,_0x366752,_0x37431d){const _0x24a589=a1_0x12b2;return _0x574393[_0x24a589(0x152)](_0x1bdbdf,_0x366752,_0x37431d);}};try{const _0x3d19c2=_0x338073[_0x370fb1(0x116)](TEST_EVENTS[_0x370fb1(0x11b)],_0x4e50ac);CodeceptRecorder[_0x370fb1(0x14c)](()=>_0x338073[_0x370fb1(0xd5)](TEST_EVENTS['TEST_RUN_STARTED'],_0x3d19c2)),CodeceptRecorder[_0x370fb1(0x14c)](async()=>{const _0x3a572d=_0x370fb1;_0x11a7d4[_0x3a572d(0x11c)](isBrowserstackInfra)&&(!_0x11a7d4['QPDRd'](isTrue,_0x3f533b[_0x3a572d(0x119)])&&await _0x11a7d4[_0x3a572d(0xce)](markSessionName,_0x2ea726,_0x4e50ac[_0x3a572d(0x14d)]),_0x338073[_0x3a572d(0x150)]&&await _0x11a7d4[_0x3a572d(0xec)](o11ySync,_0x2ea726));});}catch(_0x5ba62c){PerformanceTester[_0x370fb1(0x121)](_0x5ba62c);}}),CodeceptJS['event'][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x146)][_0x5b06ad(0xbf)],_0x40e815=>{const _0x1e73c6=_0x5b06ad,_0x4347f={'UniAN':function(_0x1563af){const _0x423fb4=a1_0x12b2;return _0x574393[_0x423fb4(0xc0)](_0x1563af);},'RhOuP':function(_0x54fb5a,_0x2305f1,_0x2ac3ff){const _0x210f48=a1_0x12b2;return _0x574393[_0x210f48(0x107)](_0x54fb5a,_0x2305f1,_0x2ac3ff);}};try{const _0x1c86c9=_0x338073[_0x1e73c6(0x116)](TEST_EVENTS[_0x1e73c6(0xf0)],_0x40e815);CodeceptRecorder[_0x1e73c6(0x14c)](()=>_0x338073[_0x1e73c6(0xd5)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1c86c9)),CodeceptRecorder[_0x1e73c6(0x14c)](async()=>{const _0x400a8a=_0x1e73c6;_0x4347f[_0x400a8a(0xab)](isBrowserstackInfra)&&(_0x30bf08?await _0x4347f['RhOuP'](playwrightMarkSessionStatus,_0x2ea726,STATE_PASSED):await _0x4347f[_0x400a8a(0x123)](markSessionStatus,_0x2ea726,STATE_PASSED));});}catch(_0x4e2d4f){PerformanceTester[_0x1e73c6(0x121)](_0x4e2d4f);}}),CodeceptJS[_0x5b06ad(0xb0)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x5b06ad(0xad)],(_0x4c48e1,_0x469236)=>{const _0x12cc50=_0x5b06ad;try{if(_0x574393['bhjII'](_0x4c48e1[_0x12cc50(0x103)][_0x12cc50(0x134)],_0x574393['DfDnR'])){const _0x4a564f=_0x338073[_0x12cc50(0x116)](TEST_EVENTS[_0x12cc50(0x14f)],_0x4c48e1['ctx'][_0x12cc50(0x135)]);CodeceptRecorder['add'](()=>_0x338073['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4a564f));}else{const _0x39e509=_0x338073['captureEvent'](TEST_EVENTS[_0x12cc50(0xf0)],_0x4c48e1,_0x469236);CodeceptRecorder[_0x12cc50(0x14c)](()=>{const _0xad2af6=_0x12cc50;try{_0x338073[_0xad2af6(0xd5)](TEST_EVENTS[_0xad2af6(0xf0)],_0x39e509);}catch(_0x218e1a){logger[_0xad2af6(0x149)](_0xad2af6(0xc1)+util['format'](_0x218e1a));}}),CodeceptRecorder[_0x12cc50(0x14c)](async()=>{const _0x36e0a1=_0x12cc50;try{_0x574393[_0x36e0a1(0xc0)](isBrowserstackInfra)&&(_0x30bf08?await _0x574393[_0x36e0a1(0xfe)](playwrightMarkSessionStatus,_0x2ea726,STATE_FAILED,_0x469236):await _0x574393[_0x36e0a1(0xfe)](markSessionStatus,_0x2ea726,STATE_FAILED,_0x469236));}catch(_0x5e2c03){logger[_0x36e0a1(0x149)](_0x36e0a1(0x13f)+util[_0x36e0a1(0x148)](_0x5e2c03));}});}}catch(_0xfbf2d3){PerformanceTester[_0x12cc50(0x121)](_0xfbf2d3);}}),CodeceptJS['event'][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x146)][_0x5b06ad(0xb8)],_0x45a942=>{const _0x10fed8=_0x5b06ad;try{const _0x35eca7=_0x338073[_0x10fed8(0x116)](TEST_EVENTS[_0x10fed8(0x14f)],_0x45a942);CodeceptRecorder[_0x10fed8(0x14c)](()=>_0x338073[_0x10fed8(0xd5)](TEST_EVENTS[_0x10fed8(0x14f)],_0x35eca7));}catch(_0x3babe9){PerformanceTester[_0x10fed8(0x121)](_0x3babe9);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x5b06ad(0x146)][_0x5b06ad(0xbc)],async(_0x4a3934,_0x129c3f)=>{const _0x5d8f73=_0x5b06ad;try{if(_0x574393['eZElk'](isBrowserstackInfra)){const _0x458b8b=_0x574393[_0x5d8f73(0x152)](shouldScanTestForAccessibility,_0x4a3934[_0x5d8f73(0x132)](),!![]);if(_0x574393[_0x5d8f73(0xb1)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x458b8b){const _0x263ab9={};_0x263ab9[_0x5d8f73(0x114)]=_0x4a3934['testAnalyticsId'],_0x263ab9[_0x5d8f73(0x130)]=process[_0x5d8f73(0xc2)][testHubConstants[_0x5d8f73(0x120)][_0x5d8f73(0x106)]],_0x263ab9[_0x5d8f73(0xdb)]=process[_0x5d8f73(0xc2)][testHubConstants[_0x5d8f73(0x120)][_0x5d8f73(0x151)]];const _0x5a5576=_0x263ab9;logger[_0x5d8f73(0x149)](_0x5d8f73(0x11a)+JSON[_0x5d8f73(0xff)](_0x5a5576)),CodeceptRecorder[_0x5d8f73(0x14c)](async()=>{const _0x56a8f5=_0x5d8f73;await AccessibilityHelper['browserStackExecuteDriver'](_0x2ea726,scripts[_0x56a8f5(0x10f)]),await AccessibilityHelper[_0x56a8f5(0x12b)](_0x2ea726,scripts[_0x56a8f5(0xf1)],_0x5a5576);}),logger[_0x5d8f73(0xc4)](_0x574393[_0x5d8f73(0xf2)]);}}}catch(_0x5be072){PerformanceTester[_0x5d8f73(0x121)](_0x5be072);}}),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x14e)][_0x5b06ad(0x11d)],_0x31ba35=>{const _0x372251=_0x5b06ad;try{process[_0x372251(0xc8)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x372251(0xf8)](),'level':_0x574393[_0x372251(0xc7)],'message':_0x31ba35,'kind':_0x574393[_0x372251(0xe9)],'http_response':{}});}catch(_0x587f9e){PerformanceTester[_0x372251(0x121)](_0x587f9e);}}),CodeceptJS['event'][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x126)][_0x5b06ad(0x11e)],_0x28f32f=>{const _0x4fe3fd=_0x5b06ad;_0x338073[_0x4fe3fd(0x125)](_0x28f32f);}),CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0xb5)]['on'](CodeceptJS[_0x5b06ad(0xb0)][_0x5b06ad(0x126)][_0x5b06ad(0xbc)],_0x53f72a=>{const _0x1c0794=_0x5b06ad;_0x338073[_0x1c0794(0x138)](_0x53f72a);});};function a1_0x3dac(){const _0x2f23a8=['9249920eSbgfg','browser','2450324DeywXs','then','../../helpers/logger','performScan','stop','xUwcL','7dfPKNd','PDbrC','thTestRunUuid','getSyncScript','captureEvent','HOOK_RUN_FINISHED','GoaOz','skipSessionName','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','TEST_RUN_STARTED','tcrgE','comment','before','toString','ENV_VAR','captureError','TEST_SCREENSHOT','RhOuP','container','bddStepStart','bddStep','apply','slice','util','IrwoZ','browserStackExecuteDriver','find','834345CUCebL','codeceptjs/lib/helper/Playwright.js','Suite','thBuildUuid','startMonitoring','titlePath','HOOK_RUN_STARTED','name','currentTest','getResultsSummary','arguments','bddStepFinish','doFzI','contexts','KjEQd','./o11yHelper','../../helpers/accessibility-automation/helper','__driver','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','HZuCt','2341140DusTyV','getAccessibilityResultsSummary','initSaveScreenshot','exports','_before','test','started','format','debug','browserstack_executor:\x20','ShIGA','add','title','step','TEST_RUN_SKIPPED','enabled','BROWSERSTACK_TESTHUB_JWT','rCMkV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TLpBg','warn','UniAN','TestCafe','failed','addRequestSpy','wxpuV','event','VbTJq','wBglb','UOFCP','prototype','dispatcher','base64','getAccessibilityResults','skipped','BS_TESTOPS_ALLOW_SCREENSHOTS','ljyvy','pbVMx','after','../../helpers/test-observability/utils','../../bin/playwright/accessibility-helper','passed','IDimw','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','env','../../helpers/helper','info','skipSessionStatus','iMBKc','cRkID','emit','LbSsm','shouldWrapCommand','232331ccfGSg','670rWsdFg','989016oyifHr','ATmra','19VtJsdu','browserContext','vPJfT','84094qTllWh','dpDOE','HvaVq','fireEvent','accessibilityPlatform','pREcR','reason','5AoAnTz','qCOZE','thJwtToken','helpers','SxumP','call','hook','all','getResults','TEST_LOG','mlJJF','../../helpers/request-spy','SLHNc','winstonLogger','Playwright','ctx','mhFUO','Element','Performing\x20scan\x20for\x20','QPDRd','commandsToWrap','fkorW','readFileSync','TEST_RUN_FINISHED','saveTestResults','xxXry','stopMonitoring','bind','filter','class','start','toISOString','restore','JtPQv','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','HkZVN','overwriteCommand','OFWDo','stringify','../../bin/playwright/sessionDetails','status','setSessionStatus','constructor','bstackAllyScanning','executeScript','BROWSERSTACK_TESTHUB_UUID','NGyKq','saveScreenshot','codeceptjs/lib/helper/WebDriver.js'];a1_0x3dac=function(){return _0x2f23a8;};return a1_0x3dac();}
|
|
@@ -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';function a2_0x3fbc(){const _0x383e10=['ywqlv','QQdNn','desiredCapabilities','cwd','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isUndefined','join','chrome','info','addTests','../../helpers/accessibility-automation/helper','../../helpers/utilities','before','pyMsv','event','40976vEHYgG','browserWSEndpoint','failed','jbXuY','GoAsU','process','JtAga','chdir','null','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','17130PgSEZy','format','trim','test','eNmDX','SiSnj','teardownAll','skipSessionName','err','BROWSERSTACK_TEST_OBSERVABILITY_YML','handleApp','getUserWorkerCount','browserName','require','addConfig','push','9mlwHOS','BROWSERSTACK_RERUN','JXaAb','../../bin/playwright/accessibility-helper','playwright-chromium','helpers','3|0|2|4|1','printResults','ncHpf','../../helpers/testhub/testhubHandler','browser','webkit','yZEpF','CobnR','4975710uzhxxd','env','enabled','xeQWS','stack','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','HItPz','BrowserStackPlugin.js','initialize','errorMessage','12rDlXLc','config','stringify','split','Started\x20:\x20','profile','855184pnjpvx','accessibility','25qrNCBN','PmQyl','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','BROWSERSTACK_RERUN_TESTS','stop','TSJuy','../../helpers/helper','vFFKT','exports','getPlaywrightUrl','false','dkATi','aOGTh','isTestObservabilitySession','mNzSn','map','XGpEQ','path','BrowserStackPlugin','jCOUh','platforms','Passed\x20:\x20','passed','debug','66380hGgvgK','7604806NBQUlv','ACLAV','toLowerCase','322NoHEQM','validPlatformsPresent','findIndex','codecept.conf.js','parallelsPerPlatform','../../helpers/BrowserStackSetup','kGukv','../../helpers/logger','getPlatformName','testObservability','3qdcCGq','createGroupsOfSuites','gherkin','printBuildLink','plugins','slice','fsnqK','testContextOptions','Playwright','isTrue','772618jnndEU','Wwqsm','title','now','WebDriver','skipSessionStatus','YFkgZ','YrgUc','mergeDeep','log','GODcK','FRAMEWORKS','browserStackCwd','../../helpers/test-observability/utils','playwright-webkit','chromium','spawn','firefox','Failed\x20:\x20','prepareCapabilities','all','util','fCeTV','existsSync','Workers','OMkEU','length','accessibilityOptions','codeceptjs/lib/index.js','dirname','finalExecution'];a2_0x3fbc=function(){return _0x383e10;};return a2_0x3fbc();}const a2_0x2a7df4=a2_0x580e;(function(_0x29d397,_0x42feaa){const _0x26ac28=a2_0x580e,_0x250906=_0x29d397();while(!![]){try{const _0x33edcd=parseInt(_0x26ac28(0x1bb))/0x1+parseInt(_0x26ac28(0x1d3))/0x2+-parseInt(_0x26ac28(0x1c9))/0x3*(-parseInt(_0x26ac28(0x1a0))/0x4)+-parseInt(_0x26ac28(0x1a2))/0x5*(-parseInt(_0x26ac28(0x20b))/0x6)+parseInt(_0x26ac28(0x1bf))/0x7*(-parseInt(_0x26ac28(0x201))/0x8)+parseInt(_0x26ac28(0x21b))/0x9*(parseInt(_0x26ac28(0x229))/0xa)+-parseInt(_0x26ac28(0x1bc))/0xb*(parseInt(_0x26ac28(0x19a))/0xc);if(_0x33edcd===_0x42feaa)break;else _0x250906['push'](_0x250906['shift']());}catch(_0x1c81bc){_0x250906['push'](_0x250906['shift']());}}}(a2_0x3fbc,0x3d5ed));const fs=require('fs'),path=require(a2_0x2a7df4(0x1b4)),util=require(a2_0x2a7df4(0x1e8)),process=require(a2_0x2a7df4(0x206)),logger=require(a2_0x2a7df4(0x1c6))[a2_0x2a7df4(0x194)],{default:BrowserStackSetup}=require(a2_0x2a7df4(0x1c4)),helper=require(a2_0x2a7df4(0x1a9)),utilities=require(a2_0x2a7df4(0x1fd)),{checkAccessibilityPlatformConfig}=require(a2_0x2a7df4(0x1fc)),{setAccessibilityCapabilities}=require(a2_0x2a7df4(0x21e)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2a7df4(0x1a9)),CodeceptJS=requireModule(a2_0x2a7df4(0x1ef)),testOpsHelper=require(a2_0x2a7df4(0x1e0)),TestHubHandler=require(a2_0x2a7df4(0x224)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0xef5904,_0x25c2ff)=>{const _0x2da8f6=a2_0x2a7df4,_0x3dc3e8={};_0x3dc3e8[_0x2da8f6(0x1bd)]=function(_0x19edce,_0x1b6510){return _0x19edce===_0x1b6510;},_0x3dc3e8[_0x2da8f6(0x227)]=_0x2da8f6(0x1c2),_0x3dc3e8[_0x2da8f6(0x210)]='codecept.json';const _0x194e61=_0x3dc3e8;let _0x3dd2e=null;const _0x2fc3aa={};let _0x408d6c=_0x25c2ff[_0x2da8f6(0x1c1)](_0x104e9e=>_0x104e9e==='--config');_0x194e61[_0x2da8f6(0x1bd)](_0x408d6c,-0x1)&&(_0x408d6c=_0x25c2ff[_0x2da8f6(0x1c1)](_0x26af0a=>_0x26af0a==='-c'));if(!helper[_0x2da8f6(0x1f7)](_0xef5904['config'])&&fs[_0x2da8f6(0x1ea)](path[_0x2da8f6(0x1f8)](process[_0x2da8f6(0x1f5)](),_0xef5904[_0x2da8f6(0x19b)])))_0x3dd2e=path['join'](process[_0x2da8f6(0x1f5)](),_0xef5904[_0x2da8f6(0x19b)]),_0x25c2ff[_0x2da8f6(0x1ce)](_0x408d6c,0x2);else{if(!helper['isUndefined'](_0xef5904['c'])&&fs[_0x2da8f6(0x1ea)](path[_0x2da8f6(0x1f8)](process[_0x2da8f6(0x1f5)](),_0xef5904['c'])))_0x3dd2e=path[_0x2da8f6(0x1f8)](process[_0x2da8f6(0x1f5)](),_0xef5904['c']),_0x25c2ff[_0x2da8f6(0x1ce)](_0x408d6c,0x2);else{if(fs[_0x2da8f6(0x1ea)](path[_0x2da8f6(0x1f8)](process[_0x2da8f6(0x1f5)](),_0x194e61['yZEpF'])))_0x3dd2e=path[_0x2da8f6(0x1f8)](process[_0x2da8f6(0x1f5)](),_0x194e61[_0x2da8f6(0x227)]);else fs['existsSync'](path['join'](process[_0x2da8f6(0x1f5)](),_0x194e61[_0x2da8f6(0x210)]))&&(_0x3dd2e=path['join'](process[_0x2da8f6(0x1f5)](),_0x194e61[_0x2da8f6(0x210)]));}}return _0x3dd2e;},getO11yRerunPattern=()=>{const _0x56243e=a2_0x2a7df4,_0x4585a4={};_0x4585a4[_0x56243e(0x22c)]=function(_0x57f19a,_0x40415e){return _0x57f19a!==_0x40415e;},_0x4585a4[_0x56243e(0x1f3)]=_0x56243e(0x209);const _0x487cad=_0x4585a4,_0x2691c1=helper[_0x56243e(0x1d2)](process[_0x56243e(0x22a)][_0x56243e(0x21c)]);if(_0x2691c1){const _0x447efb=process[_0x56243e(0x22a)][_0x56243e(0x1a6)],_0x323c87=[];if(_0x487cad[_0x56243e(0x22c)](_0x447efb,_0x487cad[_0x56243e(0x1f3)])&&!helper['isUndefined'](_0x447efb)){_0x447efb['split'](',')[_0x56243e(0x1b2)](_0x533791=>{const _0x4790ac=_0x56243e;_0x323c87[_0x4790ac(0x21a)]('('+_0x533791[_0x4790ac(0x20d)]()+')');});const _0x49abd4='^'+_0x323c87[_0x56243e(0x1f8)]('|')+'$';return _0x49abd4;}}return null;},a2_0x218aba={};function a2_0x580e(_0x49da5d,_0x5ac2eb){const _0x3fbc1d=a2_0x3fbc();return a2_0x580e=function(_0x580efe,_0x2ca692){_0x580efe=_0x580efe-0x194;let _0x54b939=_0x3fbc1d[_0x580efe];return _0x54b939;},a2_0x580e(_0x49da5d,_0x5ac2eb);}a2_0x218aba[a2_0x2a7df4(0x1f9)]='chromium',a2_0x218aba[a2_0x2a7df4(0x21f)]=a2_0x2a7df4(0x1e2),a2_0x218aba['playwright-firefox']=a2_0x2a7df4(0x1e4),a2_0x218aba[a2_0x2a7df4(0x1e1)]=a2_0x2a7df4(0x226);const pwToCodeceptBrowser=a2_0x218aba;async function run(_0x25c8a8,_0x12ae89){const _0x428c41=a2_0x2a7df4,_0x311cdb={'ywqlv':function(_0x30d0f7,_0x1fd9a9){return _0x30d0f7+_0x1fd9a9;},'aOGTh':function(_0x54a389,_0x554f67){return _0x54a389(_0x554f67);},'vFFKT':function(_0x2117bc,_0x4fbb2f,_0x34d0e9){return _0x2117bc(_0x4fbb2f,_0x34d0e9);},'ncHpf':_0x428c41(0x19b),'jCOUh':_0x428c41(0x220),'OMkEU':function(_0x3d43d0){return _0x3d43d0();},'Wwqsm':function(_0x26b07a){return _0x26b07a();},'oADka':_0x428c41(0x1e5),'FdifF':_0x428c41(0x1b8),'GoAsU':_0x428c41(0x19e),'kGukv':_0x428c41(0x221),'JXaAb':'codeceptjs','HItPz':function(_0x59970d,_0x22cfb3,_0x502bc7){return _0x59970d(_0x22cfb3,_0x502bc7);},'dkATi':_0x428c41(0x1f6),'toJXr':function(_0x12b57e,_0x1ca095,_0x3a695d){return _0x12b57e(_0x1ca095,_0x3a695d);},'mNzSn':_0x428c41(0x1d1),'CobnR':'WebDriver','DniCV':function(_0x4ec83a,_0x16a08f){return _0x4ec83a!=_0x16a08f;},'fCeTV':_0x428c41(0x1ad),'JtAga':_0x428c41(0x1cb),'jbXuY':'-cucumber','UQxCr':function(_0x5b36a6,_0x15ef63){return _0x5b36a6(_0x15ef63);},'YFkgZ':function(_0x3f5651){return _0x3f5651();},'PmQyl':function(_0x709aeb,_0x37260a){return _0x709aeb*_0x37260a;},'fsnqK':function(_0x42091c,_0x44d0e7,_0x174785){return _0x42091c(_0x44d0e7,_0x174785);},'pyMsv':'browser','TSJuy':_0x428c41(0x1f4),'XGpEQ':function(_0x515afc,_0x4ae0ff,_0x54730e){return _0x515afc(_0x4ae0ff,_0x54730e);},'YrgUc':'root','eNmDX':_0x428c41(0x197),'DZSoW':_0x428c41(0x1df),'GODcK':function(_0x4547cf){return _0x4547cf();}},_0xf86ac6=new BrowserStackSetup(_0x25c8a8,_0x311cdb[_0x428c41(0x21d)]);await _0xf86ac6[_0x428c41(0x198)](),await helper[_0x428c41(0x215)](_0xf86ac6[_0x428c41(0x19b)]);if(!_0xf86ac6['config'])return;process[_0x428c41(0x19f)]=_0x25c8a8['profile'];_0x25c8a8['profile']&&(process[_0x428c41(0x22a)]['profile']=_0x25c8a8[_0x428c41(0x19f)]);const _0x1a797c=_0x311cdb['HItPz'](getUserCodeceptJSConfigs,_0x25c8a8,_0x12ae89);let _0x5db8ed={};_0x1a797c?(logger[_0x428c41(0x1fa)](_0x428c41(0x1a4)+_0x1a797c),_0x5db8ed=CodeceptJS[_0x428c41(0x19b)]['load'](_0x1a797c)):logger[_0x428c41(0x1fa)](_0x311cdb[_0x428c41(0x1ae)]);let _0x345a97=![];_0x311cdb['toJXr'](nestedKeyValue,_0x5db8ed,[_0x311cdb[_0x428c41(0x1b6)],_0x311cdb[_0x428c41(0x1b1)]])&&(_0x345a97=!![]);const _0x2f3e99=_0x345a97?_0x311cdb[_0x428c41(0x1b1)]:_0x311cdb[_0x428c41(0x228)];let _0x511d8f=!_0x345a97?helper['useW3C'](_0xf86ac6[_0x428c41(0x19b)]):![];!helper[_0x428c41(0x1f7)](_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1ee)])&&(process[_0x428c41(0x22a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x428c41(0x19c)](_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1ee)]));let _0x5dcf3b=_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1a1)];_0x5dcf3b=_0x5dcf3b||_0x311cdb[_0x428c41(0x1af)](checkAccessibilityPlatformConfig,_0xf86ac6[_0x428c41(0x19b)]),process['env'][_0x428c41(0x195)]=_0x5dcf3b;_0x5dcf3b&&(_0x511d8f=!_0x5dcf3b);_0x311cdb['DniCV'](_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1c8)],null)?process[_0x428c41(0x22a)][_0x428c41(0x214)]=_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1c8)]:process[_0x428c41(0x22a)][_0x428c41(0x214)]=_0x311cdb[_0x428c41(0x1e9)];const _0x43c0eb=_0x311cdb[_0x428c41(0x1f2)](_0x311cdb[_0x428c41(0x21d)],_0x311cdb[_0x428c41(0x196)](nestedKeyValue,_0x5db8ed,[_0x311cdb[_0x428c41(0x223)],_0x311cdb[_0x428c41(0x207)]])?_0x311cdb[_0x428c41(0x204)]:''),_0x513762=await TestHubHandler['launchBuild'](_0x43c0eb,_0xf86ac6);_0x5dcf3b&&_0x311cdb['UQxCr'](setAccessibilityCapabilities,_0xf86ac6[_0x428c41(0x19b)]);const _0x50fc12={},_0x5e72ea=[],_0x1c5fdc=_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1c3)]||helper[_0x428c41(0x216)](_0x25c8a8,_0x12ae89,_0xf86ac6['config'],constants[_0x428c41(0x1de)][_0x428c41(0x1a5)])||0x1;let _0x17ebc8=0x1;if(_0x311cdb[_0x428c41(0x1d9)](isBrowserstackInfra)){const _0x548d80=helper['prepareCapabilities'](_0xf86ac6[_0x428c41(0x19b)],_0x511d8f,constants[_0x428c41(0x1de)][_0x428c41(0x1a5)]);helper[_0x428c41(0x1c0)](_0xf86ac6['config'])?_0x17ebc8=_0x311cdb[_0x428c41(0x1a3)](_0x1c5fdc,_0xf86ac6[_0x428c41(0x19b)][_0x428c41(0x1b7)][_0x428c41(0x1ed)]):_0x17ebc8=_0x1c5fdc,_0x548d80['forEach'](_0x2ef81c=>{const _0x4d7bd8=_0x428c41,_0x28df62=_0x311cdb[_0x4d7bd8(0x1f2)](helper[_0x4d7bd8(0x1c7)](_0x2ef81c,'_'),'_'+Date[_0x4d7bd8(0x1d6)]()),_0x94a2f7=((()=>{const _0x3d7cfc=_0x4d7bd8;if(_0x345a97){const _0x37b725=pwToCodeceptBrowser[_0x2ef81c[_0x3d7cfc(0x217)]]||_0x2ef81c['browserName'];return{'browser':_0x37b725,[_0x37b725]:{'browserWSEndpoint':_0x311cdb[_0x3d7cfc(0x1f2)](helper[_0x3d7cfc(0x1ac)](_0xf86ac6[_0x3d7cfc(0x19b)]),_0x311cdb[_0x3d7cfc(0x1af)](encodeURIComponent,JSON[_0x3d7cfc(0x19c)](_0x2ef81c)))}};}const _0x59bc3a={};return _0x59bc3a[_0x3d7cfc(0x1f4)]=_0x2ef81c,_0x59bc3a;})()),_0x1c5c23=_0x311cdb[_0x4d7bd8(0x1aa)](nestedKeyValue,_0x5db8ed,[_0x311cdb['ncHpf'],_0x311cdb[_0x4d7bd8(0x1b6)],_0x2f3e99]);_0x50fc12[_0x28df62]=_0x1c5c23?helper[_0x4d7bd8(0x1db)](_0x94a2f7,_0x1c5c23):_0x94a2f7,!_0x345a97&&(_0x50fc12[_0x28df62][_0x4d7bd8(0x225)]=_0x2ef81c['browserName']||_0x94a2f7['browser']),_0x5e72ea[_0x4d7bd8(0x21a)](_0x28df62);});}else{_0x17ebc8=0x1;if(_0x345a97){const _0x25d44f=_0x311cdb[_0x428c41(0x1cf)](nestedKeyValue,_0x5db8ed,[_0x311cdb[_0x428c41(0x223)],_0x311cdb['jCOUh'],_0x2f3e99,_0x311cdb[_0x428c41(0x1ff)]]),_0x2c0a40=_0x311cdb[_0x428c41(0x1cf)](nestedKeyValue,_0x5db8ed,[_0x311cdb[_0x428c41(0x223)],_0x311cdb[_0x428c41(0x1b6)],_0x2f3e99,_0x25d44f]);_0x2c0a40&&_0x2c0a40[_0x428c41(0x202)]&&(_0x2c0a40[_0x428c41(0x202)]=helper[_0x428c41(0x1e6)](null,null,_0x43c0eb[_0x428c41(0x1be)](),null,null,_0x2c0a40[_0x428c41(0x202)]));}else _0x5db8ed['config'][_0x311cdb[_0x428c41(0x1b6)]][_0x2f3e99][_0x311cdb[_0x428c41(0x1a8)]]=helper['prepareCapabilities'](null,null,_0x43c0eb[_0x428c41(0x1be)](),_0x311cdb[_0x428c41(0x1b3)](nestedKeyValue,_0x5db8ed,[_0x311cdb[_0x428c41(0x223)],_0x311cdb[_0x428c41(0x1b6)],_0x2f3e99,_0x311cdb[_0x428c41(0x1a8)]]),null,null);_0x50fc12[_0x311cdb[_0x428c41(0x1da)]]=_0x5db8ed['config'],_0x5e72ea[_0x428c41(0x21a)](_0x311cdb[_0x428c41(0x1da)]);}const _0x1c5799={};_0x1c5799['testConfig']=_0x1a797c;const _0x1e99bc=_0x1c5799,_0x1ac35d=path[_0x428c41(0x1f8)](__dirname,_0x311cdb[_0x428c41(0x20f)]),_0x343186=process['cwd']();process[_0x428c41(0x22a)][_0x311cdb['DZSoW']]=_0x343186,process[_0x428c41(0x208)](path[_0x428c41(0x1f0)](_0x1a797c));const _0xa874b9=new CodeceptJS[(_0x428c41(0x1eb))](null,_0x1e99bc),_0x4fe84c=_0xa874b9[_0x428c41(0x1ca)](_0x17ebc8),_0xf5a760=testOpsHelper[_0x428c41(0x1b0)](),_0x4cfc66=_0x5e72ea[_0x428c41(0x1b2)](_0x1db566=>{const _0xe67aaa=_0x428c41,_0x41374b={};_0x41374b[_0xe67aaa(0x1d1)]=_0x50fc12[_0x1db566];const _0x3d8594={};_0x3d8594[_0xe67aaa(0x1d7)]=_0x50fc12[_0x1db566];const _0x4b8d69=_0x345a97?_0x41374b:_0x3d8594,_0x3b33dd=_0x311cdb[_0xe67aaa(0x1ec)](getO11yRerunPattern),_0x3b54a2={};_0x3b54a2[_0xe67aaa(0x220)]=_0x4b8d69;const _0x2030d3={};_0x2030d3[_0xe67aaa(0x218)]=_0x1ac35d,_0x2030d3[_0xe67aaa(0x22b)]=!![],_0x2030d3[_0xe67aaa(0x212)]=_0xf86ac6[_0xe67aaa(0x19b)][_0xe67aaa(0x1d0)][_0xe67aaa(0x212)],_0x2030d3[_0xe67aaa(0x1d8)]=_0xf86ac6[_0xe67aaa(0x19b)][_0xe67aaa(0x1d0)][_0xe67aaa(0x1d8)],_0x2030d3[_0xe67aaa(0x1c8)]=_0xf5a760,_0x2030d3['frameworkName']=_0x43c0eb;const _0x410639={};_0x410639[_0xe67aaa(0x1b5)]=_0x2030d3;const _0x4f9aa7={};return _0x4f9aa7[_0xe67aaa(0x1cd)]=_0x410639,helper['mergeDeep']({},_0x5db8ed[_0xe67aaa(0x19b)],_0x311cdb[_0xe67aaa(0x1d4)](isBrowserstackInfra)?_0x3b54a2:{},_0x3b33dd?{'grep':_0x3b33dd}:{},_0x4f9aa7);});for(const _0x1156ee of _0x4cfc66){for(const _0x4fc95c of _0x4fe84c){const _0x479024=_0xa874b9[_0x428c41(0x1e3)]();_0x479024[_0x428c41(0x1fb)](_0x4fc95c),_0x479024[_0x428c41(0x219)](_0x1156ee);}}_0xa874b9['on'](CodeceptJS[_0x428c41(0x200)][_0x428c41(0x20e)][_0x428c41(0x203)],(_0x1d7741,_0x22c6e1)=>{const _0x2dce10=_0x428c41;console[_0x2dce10(0x1dc)](_0x311cdb['oADka'],_0x1d7741[_0x2dce10(0x1d5)]);const _0x294012={[_0x1d7741['title']]:_0x1d7741[_0x2dce10(0x213)][_0x2dce10(0x22d)]};_testErrorData[_0x2dce10(0x21a)](_0x294012);}),_0xa874b9['on'](CodeceptJS['event']['test'][_0x428c41(0x1b9)],async _0x30fdc9=>{const _0x5950ab=_0x428c41;console[_0x5950ab(0x1dc)](_0x311cdb['FdifF'],_0x30fdc9[_0x5950ab(0x1d5)]);}),_0xa874b9['on'](CodeceptJS[_0x428c41(0x200)][_0x428c41(0x20e)][_0x428c41(0x1fe)],async _0x7cdf8f=>{const _0x23b5f3=_0x428c41;console[_0x23b5f3(0x1dc)](_0x311cdb[_0x23b5f3(0x205)],_0x7cdf8f[_0x23b5f3(0x1d5)]);}),_0xa874b9['on'](CodeceptJS['event'][_0x428c41(0x1e7)]['result'],async()=>{const _0x813265=_0x428c41,_0x1f13d1=_0x311cdb[_0x813265(0x1c5)][_0x813265(0x19d)]('|');let _0x1b45f2=0x0;while(!![]){switch(_0x1f13d1[_0x1b45f2++]){case'0':testOpsHelper[_0x813265(0x1cc)]();continue;case'1':_0xa874b9[_0x813265(0x222)]();continue;case'2':utilities[_0x813265(0x1f1)](_0xf86ac6);continue;case'3':_0xf86ac6[_0x813265(0x199)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0x813265(0x1a7)]();}catch(_0x546512){logger[_0x813265(0x1ba)](_0x813265(0x20a)+util[_0x813265(0x20c)](_0x546512));}continue;}break;}});async function _0x19a0d7(){const _0x532ae6=_0x428c41;try{await _0xa874b9['bootstrapAll'](),await _0xa874b9['run']();}finally{process[_0x532ae6(0x208)](_0x343186),await _0xa874b9[_0x532ae6(0x211)]();}}_0x311cdb[_0x428c41(0x1dd)](_0x19a0d7);}module[a2_0x2a7df4(0x1ab)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x3687(_0x5caca7,_0x2568a2){const _0xc5dfc8=a3_0xc5df();return a3_0x3687=function(_0x368798,_0x48708d){_0x368798=_0x368798-0x115;let _0x337bff=_0xc5dfc8[_0x368798];return _0x337bff;},a3_0x3687(_0x5caca7,_0x2568a2);}const a3_0x3de848=a3_0x3687;(function(_0x19c587,_0x47d086){const _0x5d3d08=a3_0x3687,_0x3a7602=_0x19c587();while(!![]){try{const _0x4d6af6=parseInt(_0x5d3d08(0x15e))/0x1*(-parseInt(_0x5d3d08(0x118))/0x2)+-parseInt(_0x5d3d08(0x120))/0x3+parseInt(_0x5d3d08(0x149))/0x4+parseInt(_0x5d3d08(0x14d))/0x5+-parseInt(_0x5d3d08(0x11f))/0x6+-parseInt(_0x5d3d08(0x13c))/0x7+-parseInt(_0x5d3d08(0x13e))/0x8*(-parseInt(_0x5d3d08(0x11a))/0x9);if(_0x4d6af6===_0x47d086)break;else _0x3a7602['push'](_0x3a7602['shift']());}catch(_0x1ed009){_0x3a7602['push'](_0x3a7602['shift']());}}}(a3_0xc5df,0x6d4ae));function a3_0xc5df(){const _0x29aa26=['name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','IXdUr','OXLGz','2064432xvHwrE','warn','browser','hdQro','3725205hTiqnk','sessionId','bstack:options','getDetails','parse','kbSHG','EyJKt','winstonLogger','../../bin/playwright/sessionDetails','includes','__cloud_provider___','platformVersion','lzZst','BeFVA','constructor','YZYSG','HAQSo','35hZdjGL','../../helpers/helper','Playwright','get','9574zMctWO','WebDriver','370926GDLSmz','VcavM','searchParams','nYYvC','platform_version','1882566ktMKBo','2576916SAEXSK','BeYQr','JuWKT','uAlCD','processWebDriverConfig','browserVersion','accessibilityPlatform','aCCHU','latest','pHvxu','config','FMfkO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack_accessibility_automation_script','browserName','deviceName','euPwI','browserstack_executor','Vioml','bsSessionId','DtIqE','platform','os_version','iXQPY','unknown_grid','UUcAq','vBCHh','ddgms','928431uvvpgO','LEoCf','128lbsKcl','capabilities','browserWSEndpoint','gcSAl','cloudProvider','browser_version','GyFED'];a3_0xc5df=function(){return _0x29aa26;};return a3_0xc5df();}const {isUndefined,nestedKeyValue}=require(a3_0x3de848(0x115)),logger=require('../../helpers/logger')[a3_0x3de848(0x154)],PlaywrightSessionDetails=require(a3_0x3de848(0x155)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x35e099=>{const _0x38d638=a3_0x3de848,_0x44136a={};_0x44136a['JuWKT']=_0x38d638(0x14f),_0x44136a[_0x38d638(0x15d)]=_0x38d638(0x158),_0x44136a[_0x38d638(0x129)]=_0x38d638(0x11e),_0x44136a['VcavM']='osVersion',_0x44136a['BeFVA']=_0x38d638(0x136);const _0x2a86e1=_0x44136a;if(!_0x35e099)return null;const _0x15ec25=_0x35e099[_0x2a86e1[_0x38d638(0x122)]],_0x4fd04c=[_0x2a86e1[_0x38d638(0x15d)],_0x2a86e1['pHvxu'],_0x2a86e1[_0x38d638(0x11b)],_0x2a86e1[_0x38d638(0x15a)]];for(const _0x426fad of _0x4fd04c){if(_0x15ec25&&_0x15ec25[_0x426fad])return _0x15ec25[_0x426fad];else{if(_0x35e099[_0x426fad])return _0x35e099[_0x426fad];}}return null;};exports['fetchPlatformDetails']=_0x2e4e7b=>{const _0x237157=a3_0x3de848,_0x1d13f5={'twhcR':_0x237157(0x138),'EyJKt':function(_0x39b663,_0x493517){return _0x39b663===_0x493517;},'ddgms':_0x237157(0x119),'iXQPY':function(_0x349dd0,_0x5e656d){return _0x349dd0(_0x5e656d);},'euPwI':function(_0x433a52,_0x14822a,_0x301746){return _0x433a52(_0x14822a,_0x301746);},'uszcY':_0x237157(0x12a),'vBCHh':'desiredCapabilities','hdQro':_0x237157(0x116),'OXLGz':_0x237157(0x14b),'YZYSG':_0x237157(0x140),'LEoCf':'caps','uAlCD':function(_0x4582e0,_0x35d781){return _0x4582e0(_0x35d781);}};if(!_0x2e4e7b)return null;let _0x42acd7=global[_0x237157(0x157)]||_0x1d13f5['twhcR'];if(_0x1d13f5['EyJKt'](_0x2e4e7b[_0x237157(0x15b)][_0x237157(0x145)],_0x1d13f5[_0x237157(0x13b)])){const _0x392f53=_0x2e4e7b[_0x237157(0x14b)];if(!_0x392f53)return null;const _0x5abfc2=_0x392f53[_0x237157(0x13f)],_0x3ec177=_0x1d13f5[_0x237157(0x137)](getOSVersionFromCaps,_0x1d13f5[_0x237157(0x130)](nestedKeyValue,_0x2e4e7b,[_0x1d13f5['uszcY'],_0x1d13f5[_0x237157(0x13a)]]));return{[_0x42acd7]:{'browser':_0x5abfc2[_0x237157(0x12e)],'browser_version':_0x5abfc2[_0x237157(0x125)],'capabilities':_0x5abfc2,'platform':_0x5abfc2['platformName'],'platform_version':_0x5abfc2['platformVersion']||_0x3ec177,'product':_0x1d13f5[_0x237157(0x137)](getObservabilityLinkedProductName,_0x5abfc2),'session_id':_0x392f53[_0x237157(0x14e)]}};}else{if(_0x1d13f5[_0x237157(0x153)](_0x2e4e7b['constructor']['name'],_0x1d13f5[_0x237157(0x14c)])){const _0x1f4d31=PlaywrightSessionDetails[_0x237157(0x150)]();_0x42acd7=_0x1f4d31[_0x237157(0x142)]||_0x42acd7;const _0x434be7=_0x1d13f5[_0x237157(0x130)](nestedKeyValue,_0x2e4e7b,[_0x1d13f5['uszcY'],_0x1d13f5[_0x237157(0x148)],_0x1d13f5[_0x237157(0x15c)]]),_0x104252=_0x434be7?JSON[_0x237157(0x151)](new URL(_0x434be7)[_0x237157(0x11c)][_0x237157(0x117)](_0x1d13f5[_0x237157(0x13d)])):{};return{[_0x42acd7]:{'browser':_0x1f4d31[_0x237157(0x14b)]||_0x104252[_0x237157(0x12e)],'browser_version':_0x1f4d31[_0x237157(0x143)]||_0x104252[_0x237157(0x143)],'capabilities':_0x104252,'platform':_0x1f4d31[_0x237157(0x135)],'platform_version':_0x1f4d31['platform_version'],'product':_0x1d13f5[_0x237157(0x123)](getObservabilityLinkedProductName,_0x104252),'session_id':_0x1f4d31[_0x237157(0x133)]}};}}},exports[a3_0x3de848(0x124)]=_0xdc914c=>{const _0x4956a6=a3_0x3de848,_0x3d28c5={'nYYvC':function(_0x4f3c44){return _0x4f3c44();},'DtIqE':function(_0x5178d9,_0x4c73a8){return _0x5178d9===_0x4c73a8;},'gcSAl':_0x4956a6(0x128),'BeYQr':function(_0x5266ae,_0x510230){return _0x5266ae>_0x510230;},'UUcAq':function(_0x24a30a,_0x3b16e0){return _0x24a30a(_0x3b16e0);},'Vioml':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','aCCHU':'chrome','FMfkO':'playwright-chromium','kbSHG':_0x4956a6(0x146),'lzZst':_0x4956a6(0x12c)};if(_0x3d28c5[_0x4956a6(0x11d)](isAccessibilityAutomationSession)){const _0x11b151=_0xdc914c[_0x4956a6(0x14b)],_0x46fb30=_0x11b151[_0x4956a6(0x13f)];global['accessibilityPlatform']=!![],!(_0x3d28c5['DtIqE'](_0x46fb30[_0x4956a6(0x125)],_0x3d28c5[_0x4956a6(0x141)])||_0x3d28c5[_0x4956a6(0x121)](_0x3d28c5['UUcAq'](parseInt,_0x46fb30[_0x4956a6(0x125)]),0x5e))&&(logger[_0x4956a6(0x14a)](_0x3d28c5[_0x4956a6(0x132)]),global[_0x4956a6(0x126)]=![]),!(_0x3d28c5[_0x4956a6(0x134)](_0x46fb30['browserName'],_0x3d28c5[_0x4956a6(0x127)])||_0x3d28c5[_0x4956a6(0x134)](_0x46fb30[_0x4956a6(0x12e)],_0x3d28c5[_0x4956a6(0x12b)]))&&(logger[_0x4956a6(0x14a)](_0x3d28c5[_0x4956a6(0x152)]),global['accessibilityPlatform']=![]),!_0x3d28c5[_0x4956a6(0x139)](isUndefined,_0x46fb30[_0x4956a6(0x12f)])&&(logger[_0x4956a6(0x14a)](_0x3d28c5[_0x4956a6(0x159)]),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x51b236=>{const _0x29cfef=a3_0x3de848,_0x4b49f5={};_0x4b49f5[_0x29cfef(0x147)]=_0x29cfef(0x131),_0x4b49f5[_0x29cfef(0x144)]=_0x29cfef(0x12d);const _0x1d9d24=_0x4b49f5;if(!_0x51b236)return![];return!_0x51b236[_0x29cfef(0x156)](_0x1d9d24[_0x29cfef(0x147)])&&!_0x51b236[_0x29cfef(0x156)](_0x1d9d24[_0x29cfef(0x144)]);};
|
|
@@ -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
|
+
function a4_0x2735(_0x537e19,_0x1f5fe9){const _0x494fdc=a4_0x494f();return a4_0x2735=function(_0x273590,_0x3e7640){_0x273590=_0x273590-0x181;let _0x4d0e3e=_0x494fdc[_0x273590];return _0x4d0e3e;},a4_0x2735(_0x537e19,_0x1f5fe9);}function a4_0x494f(){const _0x9db01a=['driver','itcTx','xDULK','uSzMX','../../helpers/logger','includes','BVrAJ','toISOString','132778iGdVtH','AqQqV','ctx','skipped','connectOverCDP','OnKGA','config','_afterAll','exports','PYYLW','getHooksForTest','patchConsoleLogger','test_run_uuid','resetSkipTestHooks','OYyTu','ffVcb','getTime','file','eGVad','dPEYv','pPeHV','wYXUS','../mocha/test-observability/mochaUtils','getFailureType','test_run','name','CBTSessionCreated','replace','_beforeEach','eYYok','getCBTInfo','TestRunStarted','fireEvent','_testEnv','client','xFkmb','hookAnalyticsId','Tqgfr','apply','length','bddStepFinish','RXfdm','then','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','retryOf','message','backtrace','STATE_PASSED','FNLAQ','__platformCaps','gUIeg','hook_run_uuid','bddSteps','ySKZB','cHlnk','parent','getRootParentFile','test','VtOkp','QgzEJ','testAnalyticsId','failed\x20to\x20get\x20root\x20parent\x20file\x20','markedStatus','obsBrowserTypeMockApplied','failure_reason_expanded','inspect','kEEvA','text','_afterEach','bs:addLog:','1284606CwKjNM','forEach','KWSJh','shutdown','expanded','.git','../../helpers/test-observability/requestQueueHandler','groups','wVImI','stringify','../../helpers/test-observability/constants','hooks','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','_paths','failure','File\x20path\x20could\x20not\x20be\x20found','iGzit','now','MAcEy','failed','../../helpers/helper','204197kmhcxD','7iLJzgl','started','CODECEPT','currentTest','XOZUL','getInstance','BjeLj','Ekyyh','toLowerCase','suites','toString','TEST_RUN_STARTED','getHookType','currentHook','GhnLd','PLAYWRIGHT_HUB_URL','tsdNO','IVluH','iVdrf','4009960wzMcSq','event_type','lQwCI','hook_run','winstonLogger','../playwright/accessibility-helper','file_name','getHierarchy','find','browserstack','removeAllListeners','enabled','failure_backtrace','TEST_RUN_FINISHED','mLIDd','DDkyv','./helper.js','pid','oIFLk','body','match','statSync','dirname','vuHcg','kpAOc','HookRunStarted','nbQsl','initializeBddStep','GeJJE','gHZoe','HmBRY','emlfO','fullTitle','util','__cloud_provider___','PZaeu','pczdd','QfjIT','_beforeAll','uFwTf','JkQlz','O11yHelper','codeceptjs','czEAt','GYbjb','HookRunFinished','duration','sVgdA','rruco','join','SyECQ','SvDQE','feature','uploadEventData','8530389WBUtYb','tGGzw','FvkMj','pZkUx','bind','result','hook_type','hook','defineProperty','Not\x20able\x20to\x20import\x20Browser','toUpperCase','ZXBGz','WixMt','pending','NMzFo','Failed\x20to\x20parse\x20wsendpoint\x20','fQlpP','TestRunFinished','stepAnalyticsId','sendCBTInfo','nqwhw','concat','setupBrowserDetails','err','HIPMR','../utils/constants','ZsyOp','yZDDe','20165CioKGp','push','connect','constructor','../../helpers/test-observability/sessionHandler','Rydiq','../playwright/sessionDetails','TEST_EVENTS','lib','5|1|4|2|3|0','STATE_FAILED','NhSXk','startedAt','vYKKf','split','status','relative','passed','NuWon','Playwright','findGitConfig','debug','vghLZ','HOOK_RUN_FINISHED','frameworkName','AJEbo','errorsDetailed','finished','sep','jChoq','appendTestItemLog','keyword','finished_at','../../helpers/test-observability/utils','mapTestHooks','sxTMX','qFTSo','integrations','sGSHY','15399FOdZOm','success','108UxvWrV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','launch','vCpwd','title','start'];a4_0x494f=function(){return _0x9db01a;};return a4_0x494f();}const a4_0x1d1dc3=a4_0x2735;(function(_0x5d6448,_0x3fed10){const _0x34b738=a4_0x2735,_0x49f770=_0x5d6448();while(!![]){try{const _0x5b8b1d=parseInt(_0x34b738(0x21d))/0x1*(-parseInt(_0x34b738(0x1c1))/0x2)+parseInt(_0x34b738(0x1b1))/0x3*(parseInt(_0x34b738(0x1b3))/0x4)+-parseInt(_0x34b738(0x18a))/0x5+parseInt(_0x34b738(0x207))/0x6+-parseInt(_0x34b738(0x21c))/0x7+-parseInt(_0x34b738(0x230))/0x8+parseInt(_0x34b738(0x266))/0x9;if(_0x5b8b1d===_0x3fed10)break;else _0x49f770['push'](_0x49f770['shift']());}catch(_0xdcaf64){_0x49f770['push'](_0x49f770['shift']());}}}(a4_0x494f,0x4991d));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1d1dc3(0x21b)),testOpsHelper=require(a4_0x1d1dc3(0x1ab)),{getTestEnv}=require(a4_0x1d1dc3(0x1d7)),{FRAMEWORKS}=require(a4_0x1d1dc3(0x211)),logger=require(a4_0x1d1dc3(0x1bd))[a4_0x1d1dc3(0x234)],SessionHandler=require(a4_0x1d1dc3(0x18e)),RequestQueueHandler=require(a4_0x1d1dc3(0x20d)),PlaywrightSessionDetails=require(a4_0x1d1dc3(0x190)),debug=testOpsHelper[a4_0x1d1dc3(0x19f)],{processAccessibilityCaps}=require(a4_0x1d1dc3(0x235)),Constants=require(a4_0x1d1dc3(0x187)),{fetchPlatformDetails}=require(a4_0x1d1dc3(0x240)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x1d1dc3(0x19b),STATE_FAILED=a4_0x1d1dc3(0x21a),a4_0x5808e6={};a4_0x5808e6[a4_0x1d1dc3(0x228)]=a4_0x1d1dc3(0x1e0),a4_0x5808e6[a4_0x1d1dc3(0x23d)]=a4_0x1d1dc3(0x277),a4_0x5808e6['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x5808e6['HOOK_RUN_STARTED']=a4_0x1d1dc3(0x249),a4_0x5808e6[a4_0x1d1dc3(0x1a1)]=a4_0x1d1dc3(0x25d);const TEST_EVENTS=a4_0x5808e6,parseEvent=_0x165d88=>{const _0x20ce25=a4_0x1d1dc3,_0x2eebdd={};_0x2eebdd[_0x20ce25(0x25c)]=function(_0x16af26,_0x24a91d){return _0x16af26<_0x24a91d;},_0x2eebdd[_0x20ce25(0x203)]=function(_0x512f13,_0x1f0b6f){return _0x512f13===_0x1f0b6f;},_0x2eebdd['WixMt']=_0x20ce25(0x1fa),_0x2eebdd['OYyTu']=_0x20ce25(0x26d),_0x2eebdd[_0x20ce25(0x274)]=_0x20ce25(0x1c4),_0x2eebdd[_0x20ce25(0x1f1)]=function(_0x2caf0e,_0x39ec76){return _0x2caf0e===_0x39ec76;},_0x2eebdd['HIPMR']='started',_0x2eebdd[_0x20ce25(0x1a0)]='finished';const _0x439ddb=_0x2eebdd,_0x4e528b=_0x165d88[_0x20ce25(0x244)](/^(.*)Run(.*)$/);if(!_0x4e528b)return null;if(_0x439ddb[_0x20ce25(0x25c)](_0x4e528b[_0x20ce25(0x1e8)],0x3))return null;const _0x285fda=_0x4e528b[0x1][_0x20ce25(0x225)](),_0x50aff0=_0x4e528b[0x2]['toLowerCase']();return{'test':_0x439ddb[_0x20ce25(0x203)](_0x285fda,_0x439ddb[_0x20ce25(0x272)]),'hook':_0x439ddb[_0x20ce25(0x203)](_0x285fda,_0x439ddb[_0x20ce25(0x1cf)]),'skipped':_0x439ddb[_0x20ce25(0x203)](_0x50aff0,_0x439ddb[_0x20ce25(0x274)]),'started':_0x439ddb[_0x20ce25(0x1f1)](_0x50aff0,_0x439ddb[_0x20ce25(0x186)]),'finished':_0x439ddb[_0x20ce25(0x1f1)](_0x50aff0,_0x439ddb[_0x20ce25(0x1a0)])};},mockPWBrowserType=_0x490a8a=>{const _0x361ad0=a4_0x1d1dc3,_0x358e12={'sVgdA':function(_0x439046,_0x3be01f,_0x101b04){return _0x439046(_0x3be01f,_0x101b04);},'ujpdq':'wsEndpoint','rruco':function(_0x375073,_0xddf04f){return _0x375073(_0xddf04f);},'GeJJE':_0x361ad0(0x239),'uYjHg':function(_0x2b3aa3,_0x1ba685,_0x26ce7f){return _0x2b3aa3(_0x1ba685,_0x26ce7f);},'NuWon':function(_0xe89d70,_0x58d2d3){return _0xe89d70(_0x58d2d3);},'ZsyOp':function(_0x5d9d7a,_0x4dee70){return _0x5d9d7a===_0x4dee70;},'sxTMX':'string','DDkyv':_0x361ad0(0x192),'OnKGA':_0x361ad0(0x1e3),'RXfdm':'browserType.js','emlfO':_0x361ad0(0x26f),'tsdNO':_0x361ad0(0x18c),'axHue':'launch'},_0x18c44d=path[_0x361ad0(0x261)](_0x358e12[_0x361ad0(0x23f)],_0x358e12[_0x361ad0(0x1c6)],_0x358e12[_0x361ad0(0x1ea)]),_0x20c0db=_0x358e12[_0x361ad0(0x19c)](importFileFromPWCore,_0x18c44d);if(!_0x20c0db){_0x358e12[_0x361ad0(0x19c)](debug,_0x358e12[_0x361ad0(0x24f)]);return;}const _0x939d5e=_0x20c0db['BrowserType'],_0x32cef3=_0x939d5e['prototype'];if(_0x32cef3[_0x361ad0(0x200)])return;const _0x1c9d0c=_0x32cef3[_0x361ad0(0x18c)];Object[_0x361ad0(0x26e)](_0x32cef3,_0x358e12[_0x361ad0(0x22d)],{'get':function(){const _0x5eff06=_0x361ad0,_0x415cc3={'KWSJh':function(_0x1a68bd,_0x162a9c){const _0x45fb73=a4_0x2735;return _0x358e12[_0x45fb73(0x188)](_0x1a68bd,_0x162a9c);},'PYYLW':_0x358e12[_0x5eff06(0x1ad)]};return async function _0x1d3eb5(_0x596a95,_0x56428a){const _0x207200=_0x5eff06,_0x38cb28=_0x358e12[_0x207200(0x25f)](nestedKeyValue,_0x596a95,[_0x358e12['ujpdq']])||_0x596a95;let _0x1d6aa6=null,_0x5eb1fd=null;try{[_0x5eb1fd,_0x1d6aa6]=_0x38cb28?_0x358e12[_0x207200(0x260)](parseWSEndpoint,_0x38cb28):[null,null],global[_0x207200(0x1f2)]=_0x1d6aa6,_0x5eb1fd['includes'](_0x358e12[_0x207200(0x24c)])&&(global[_0x207200(0x252)]=_0x358e12[_0x207200(0x24c)]);}catch(_0x49e2e2){logger[_0x207200(0x19f)](_0x207200(0x275)+_0x38cb28+'\x20'+_0x49e2e2);}_0x358e12['uYjHg'](processAccessibilityCaps,_0x1d6aa6,_0x5eb1fd);if(global['accessibilityPlatform']){const _0x49f4bf=await _0x32cef3[_0x207200(0x1c5)][_0x207200(0x1e7)](this,[''+Constants[_0x207200(0x22c)]+_0x358e12[_0x207200(0x19c)](encodeURIComponent,JSON[_0x207200(0x210)](_0x1d6aa6))]);return PlaywrightSessionDetails[_0x207200(0x184)](_0x49f4bf,_0x490a8a,_0x38cb28),_0x49f4bf;}return _0x1c9d0c[_0x207200(0x1e7)](this,arguments)[_0x207200(0x1eb)](_0x392de2=>{const _0x413afe=_0x207200;let _0x4ad4a2=_0x596a95['wsEndpoint'];return _0x415cc3[_0x413afe(0x209)](typeof _0x596a95,_0x415cc3[_0x413afe(0x1ca)])&&(_0x4ad4a2=_0x596a95),PlaywrightSessionDetails[_0x413afe(0x184)](_0x392de2,_0x490a8a,_0x4ad4a2),_0x392de2;});};}});const _0x5bc6db=_0x32cef3[_0x361ad0(0x1b5)];Object[_0x361ad0(0x26e)](_0x32cef3,_0x358e12['axHue'],{'get':function(){return async function _0x7613a7(){const _0x1e7574=a4_0x2735;return _0x5bc6db[_0x1e7574(0x1e7)](this,arguments)[_0x1e7574(0x1eb)](_0x569ece=>{const _0x13cd9c=_0x1e7574;return PlaywrightSessionDetails[_0x13cd9c(0x184)](_0x569ece,null),_0x569ece;});};}});};class O11yHelper{[a4_0x1d1dc3(0x220)]=null;[a4_0x1d1dc3(0x22a)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x229c2f,_0x164bd8){const _0x533911=a4_0x1d1dc3,_0x3dcb0e={'XOZUL':_0x533911(0x193),'MAcEy':function(_0x1f58fc,_0x46926c){return _0x1f58fc===_0x46926c;},'mLIDd':_0x533911(0x19d),'pczdd':function(_0x2d6966,_0x3cae10){return _0x2d6966(_0x3cae10);},'iVdrf':function(_0x3813d4){return _0x3813d4();}},_0x5a4048=_0x3dcb0e[_0x533911(0x221)][_0x533911(0x198)]('|');let _0x2caf3c=0x0;while(!![]){switch(_0x5a4048[_0x2caf3c++]){case'0':this[_0x533911(0x1b9)]&&_0x3dcb0e[_0x533911(0x219)](this[_0x533911(0x1b9)][_0x533911(0x18d)][_0x533911(0x1da)],_0x3dcb0e[_0x533911(0x23e)])&&_0x3dcb0e[_0x533911(0x254)](mockPWBrowserType,null);continue;case'1':this['frameworkName']=_0x164bd8[_0x533911(0x1a2)];continue;case'2':this[_0x533911(0x1e2)]=_0x3dcb0e[_0x533911(0x22f)](getTestEnv);continue;case'3':this[_0x533911(0x214)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x533911(0x1e2)]['location_prefix']);continue;case'4':this[_0x533911(0x1b9)]=_0x229c2f;continue;case'5':this[_0x533911(0x23b)]=_0x3dcb0e[_0x533911(0x22f)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x1d1dc3(0x1b8)](){const _0x7c05c9=a4_0x1d1dc3;if(!this[_0x7c05c9(0x23b)])return;testOpsHelper[_0x7c05c9(0x1cc)](),process[_0x7c05c9(0x23a)](_0x7c05c9(0x206)+process['pid']),process['on'](_0x7c05c9(0x206)+process[_0x7c05c9(0x241)],this[_0x7c05c9(0x1a8)][_0x7c05c9(0x26a)](this));}async['stop'](){const _0x2a0ac3=a4_0x1d1dc3;await RequestQueueHandler[_0x2a0ac3(0x222)]()[_0x2a0ac3(0x20a)]();}async[a4_0x1d1dc3(0x1a8)](_0x338999){const _0x4816a1=a4_0x1d1dc3,_0x2fc318={'OjpvH':'LogCreated','yZDDe':function(_0x2d02fa,_0x3f164c){return _0x2d02fa(_0x3f164c);}};try{this['currentHook']&&!this[_0x4816a1(0x22a)][_0x4816a1(0x1ff)]&&(_0x338999[_0x4816a1(0x1f4)]=this[_0x4816a1(0x22a)][_0x4816a1(0x1e5)]);!_0x338999['hook_run_uuid']&&this[_0x4816a1(0x220)]&&!this[_0x4816a1(0x220)]['markedStatus']&&(_0x338999[_0x4816a1(0x1cd)]=this['currentTest'][_0x4816a1(0x1fd)]);if(_0x338999[_0x4816a1(0x1f4)]||_0x338999[_0x4816a1(0x1cd)]){const _0x520350={};_0x520350['event_type']=_0x2fc318['OjpvH'],_0x520350['logs']=[_0x338999],await SessionHandler[_0x4816a1(0x265)](_0x520350);}}catch(_0x1789af){_0x2fc318[_0x4816a1(0x189)](debug,_0x4816a1(0x1ec)+_0x1789af);}}async[a4_0x1d1dc3(0x181)](_0x40bb1c){const _0x2f9799=a4_0x1d1dc3,_0x244b4c={'gHZoe':_0x2f9799(0x1db),'HmBRY':function(_0xeb69b9,_0x1620e7){return _0xeb69b9(_0x1620e7);}};if(!this['enabled'])return;const _0x39757f=this[_0x2f9799(0x1df)](this[_0x2f9799(0x1b9)]);try{const _0x2ef938={};_0x2ef938['uuid']=_0x40bb1c,_0x2ef938[_0x2f9799(0x1af)]=_0x39757f;const _0x3c15d2=_0x2ef938,_0x4bca7d={};_0x4bca7d[_0x2f9799(0x231)]=_0x244b4c[_0x2f9799(0x24d)],_0x4bca7d['test_run']=_0x3c15d2,await SessionHandler[_0x2f9799(0x265)](_0x4bca7d);}catch(_0x466096){_0x244b4c[_0x2f9799(0x24e)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x466096);}}['getCBTInfo'](_0x1c1e89){const _0x218dde=a4_0x1d1dc3,_0x549971={'PZaeu':function(_0x403534,_0x39408d){return _0x403534(_0x39408d);}};return _0x549971[_0x218dde(0x253)](fetchPlatformDetails,_0x1c1e89);}[a4_0x1d1dc3(0x1ce)]=_0x16983e=>{const _0x506305=a4_0x1d1dc3,_0x42e8e8={};_0x42e8e8[_0x506305(0x268)]=_0x506305(0x1dd),_0x42e8e8[_0x506305(0x258)]=_0x506305(0x205);const _0x116a7f=_0x42e8e8;if(!_0x16983e||!_0x16983e[_0x506305(0x1f8)])return;[_0x116a7f[_0x506305(0x268)],_0x116a7f[_0x506305(0x258)]][_0x506305(0x208)](_0x24418b=>{const _0xbbf2e=_0x506305,_0x2526e5=_0x16983e[_0xbbf2e(0x1f8)][_0x24418b];_0x2526e5['forEach'](_0x26e2ba=>{const _0x22ba9e=_0xbbf2e;_0x26e2ba[_0x22ba9e(0x1e5)]&&(_0x26e2ba['hookAnalyticsId']=null);});});};[a4_0x1d1dc3(0x1ac)](_0x2fdb9e){const _0x27e579=a4_0x1d1dc3,_0x5f20c1={'NhSXk':_0x27e579(0x25a),'AJEbo':function(_0x452b81){return _0x452b81();},'jChoq':function(_0x37c7f5,_0x4e2b8e){return _0x37c7f5===_0x4e2b8e;},'tGGzw':_0x27e579(0x205),'vuHcg':function(_0x47a1e7){return _0x47a1e7();},'ZXBGz':_0x27e579(0x256),'dPEYv':_0x27e579(0x1c8),'gUIeg':'_beforeEach'};if(!_0x2fdb9e||!_0x2fdb9e[_0x27e579(0x1f8)])return;[_0x5f20c1[_0x27e579(0x271)],_0x5f20c1[_0x27e579(0x1d4)],_0x5f20c1[_0x27e579(0x1f3)],_0x5f20c1[_0x27e579(0x267)]][_0x27e579(0x208)](_0x5c5977=>{const _0x2ee271=_0x27e579,_0x25f167=_0x2fdb9e[_0x2ee271(0x1f8)][_0x5c5977]||[];_0x25f167[_0x2ee271(0x208)](_0x11739e=>{const _0x48ca45=_0x2ee271;if(_0x11739e[_0x48ca45(0x1b7)][_0x48ca45(0x1be)](_0x5f20c1[_0x48ca45(0x195)]))return;if(!_0x11739e[_0x48ca45(0x1e5)])_0x11739e[_0x48ca45(0x1e5)]=_0x5f20c1[_0x48ca45(0x1a3)](uuidv4);else _0x11739e[_0x48ca45(0x1ff)]&&_0x5f20c1[_0x48ca45(0x1a7)](_0x5c5977,_0x5f20c1[_0x48ca45(0x267)])&&(_0x11739e[_0x48ca45(0x1e5)]=_0x5f20c1[_0x48ca45(0x247)](uuidv4),delete _0x11739e[_0x48ca45(0x1ff)]);});}),this[_0x27e579(0x1ac)](_0x2fdb9e[_0x27e579(0x1f8)]);}[a4_0x1d1dc3(0x1cb)](_0x5e6d4b){const _0x1a124a=a4_0x1d1dc3,_0x1e6811={};_0x1e6811[_0x1a124a(0x197)]='_beforeAll',_0x1e6811[_0x1a124a(0x25b)]=_0x1a124a(0x1c8),_0x1e6811['cHlnk']='_beforeEach',_0x1e6811[_0x1a124a(0x1f6)]=_0x1a124a(0x205);const _0x342b88=_0x1e6811;if(!_0x5e6d4b||!_0x5e6d4b['parent'])return[];const _0x5ebac7=[];return[_0x342b88[_0x1a124a(0x197)],_0x342b88[_0x1a124a(0x25b)],_0x342b88[_0x1a124a(0x1f7)],_0x342b88[_0x1a124a(0x1f6)]][_0x1a124a(0x208)](_0x2f9858=>{const _0x9491f8=_0x1a124a,_0x1bad03=_0x5e6d4b[_0x9491f8(0x1f8)][_0x2f9858]||[];_0x1bad03[_0x9491f8(0x208)](_0x1739fd=>{const _0x4f7233=_0x9491f8;_0x1739fd[_0x4f7233(0x1e5)]&&_0x5ebac7[_0x4f7233(0x18b)](_0x1739fd[_0x4f7233(0x1e5)]);});}),[][_0x1a124a(0x183)](_0x5ebac7,this[_0x1a124a(0x1cb)](_0x5e6d4b['parent']));}['getHookType'](_0x27a508){const _0x256a2b=a4_0x1d1dc3,_0x3e489b=/^"(?<hook>.*)" hook:.*$/,_0x145378=_0x27a508[_0x256a2b(0x1b7)],_0x566ea8=_0x145378[_0x256a2b(0x244)](_0x3e489b);if(_0x566ea8&&_0x566ea8[_0x256a2b(0x20e)])return _0x566ea8[_0x256a2b(0x20e)][_0x256a2b(0x26d)][_0x256a2b(0x270)]()[_0x256a2b(0x1dc)]('\x20','_');return null;}['findGitConfig'](_0x18abd9){const _0x3d324d=a4_0x1d1dc3,_0x2e502f={};_0x2e502f['qFTSo']=function(_0x59c08e,_0x29755a){return _0x59c08e===_0x29755a;},_0x2e502f[_0x3d324d(0x255)]=function(_0x3a77a1,_0x316588){return _0x3a77a1===_0x316588;},_0x2e502f[_0x3d324d(0x1d5)]=function(_0x488638,_0x25773a){return _0x488638===_0x25773a;},_0x2e502f[_0x3d324d(0x1d0)]=function(_0xea95c4,_0x401348){return _0xea95c4===_0x401348;},_0x2e502f['sGSHY']=_0x3d324d(0x20c),_0x2e502f[_0x3d324d(0x248)]=_0x3d324d(0x1c7);const _0x55110a=_0x2e502f,_0x694b8b=path[_0x3d324d(0x1a6)];if(_0x55110a[_0x3d324d(0x1ae)](_0x18abd9,null)||_0x55110a[_0x3d324d(0x255)](_0x18abd9,'')||_0x55110a[_0x3d324d(0x1d5)](_0x18abd9,_0x694b8b)||_0x55110a[_0x3d324d(0x1d0)](_0x18abd9,path[_0x3d324d(0x246)](_0x18abd9)))return null;try{return fs[_0x3d324d(0x245)](path['join'](_0x18abd9,_0x55110a[_0x3d324d(0x1b0)],_0x55110a['kpAOc'])),_0x18abd9;}catch(_0x24254c){const _0x29cd51=path['dirname'](_0x18abd9);return this[_0x3d324d(0x19e)](_0x29cd51);}}[a4_0x1d1dc3(0x1f9)](_0x42fa3c){const _0x3aa3e6=a4_0x1d1dc3,_0x5cfd1a={};_0x5cfd1a[_0x3aa3e6(0x263)]=function(_0x94591c,_0x1bd71f){return _0x94591c>_0x1bd71f;};const _0x18873e=_0x5cfd1a;if(_0x42fa3c[_0x3aa3e6(0x1d2)])return _0x42fa3c[_0x3aa3e6(0x1d2)];if(_0x42fa3c['ctx']){const _0x1175db=_0x42fa3c[_0x3aa3e6(0x1c3)][_0x3aa3e6(0x220)]?this[_0x3aa3e6(0x1f9)](_0x42fa3c[_0x3aa3e6(0x1c3)][_0x3aa3e6(0x220)]):null;if(_0x1175db)return _0x1175db;}if(_0x42fa3c[_0x3aa3e6(0x1f8)]){const _0x1170e0=this[_0x3aa3e6(0x1f9)](_0x42fa3c[_0x3aa3e6(0x1f8)])||(_0x42fa3c[_0x3aa3e6(0x1f8)][_0x3aa3e6(0x1c3)]&&_0x42fa3c[_0x3aa3e6(0x1f8)][_0x3aa3e6(0x1c3)][_0x3aa3e6(0x220)]?this[_0x3aa3e6(0x1f9)](_0x42fa3c[_0x3aa3e6(0x1f8)][_0x3aa3e6(0x1c3)][_0x3aa3e6(0x220)]):null);if(_0x1170e0)return _0x1170e0;_0x42fa3c[_0x3aa3e6(0x1f8)][_0x3aa3e6(0x226)]&&_0x18873e[_0x3aa3e6(0x263)](_0x42fa3c['parent'][_0x3aa3e6(0x226)][_0x3aa3e6(0x1e8)],0x0)&&_0x42fa3c[_0x3aa3e6(0x1f8)][_0x3aa3e6(0x226)][_0x3aa3e6(0x208)](_0x3eb4f7=>{const _0x1f7e5a=_0x3aa3e6,_0x2989fe=_0x3eb4f7[_0x1f7e5a(0x1c3)]?this[_0x1f7e5a(0x1f9)](_0x3eb4f7[_0x1f7e5a(0x1c3)]):null;if(_0x2989fe)return _0x2989fe;});}return null;}[a4_0x1d1dc3(0x237)](_0xd9886f){const _0x53b3fa=a4_0x1d1dc3,_0x40cdb5={};_0x40cdb5[_0x53b3fa(0x1d6)]=function(_0x5880b4,_0x1ed95b){return _0x5880b4!==_0x1ed95b;};const _0x2eb271=_0x40cdb5,_0x377395=[];if(_0xd9886f&&_0xd9886f[_0x53b3fa(0x1f8)]){let _0x1b7acc=_0xd9886f[_0x53b3fa(0x1f8)];while(_0x1b7acc&&_0x2eb271['wYXUS'](_0x1b7acc['title'],'')){_0x377395[_0x53b3fa(0x18b)](_0x1b7acc[_0x53b3fa(0x1b7)]),_0x1b7acc=_0x1b7acc['parent'];}}return _0x377395;}['captureEvent'](_0x299642,_0x175c20,_0x454e74=undefined){const _0x24d8b3=a4_0x1d1dc3,_0x1a12dd={'iGzit':function(_0x4026fe,_0x505f15){return _0x4026fe(_0x505f15);},'IVluH':function(_0x45391c){return _0x45391c();},'aWVgL':function(_0xa2bb15){return _0xa2bb15();},'xFkmb':function(_0x266744){return _0x266744();},'jzRbJ':function(_0x483dec){return _0x483dec();},'DNkzn':function(_0x2cb3b8,_0x314768){return _0x2cb3b8(_0x314768);},'Ekyyh':_0x24d8b3(0x251),'Rydiq':_0x24d8b3(0x185),'Tqgfr':function(_0x50f0d7,_0x5d4a9d){return _0x50f0d7!==_0x5d4a9d;},'nbQsl':function(_0x5e0eb3,_0x4e9090){return _0x5e0eb3!==_0x4e9090;},'eGVad':_0x24d8b3(0x216),'itcTx':_0x24d8b3(0x273),'xDULK':_0x24d8b3(0x21a),'AqQqV':_0x24d8b3(0x19b),'uFwTf':_0x24d8b3(0x1c4),'BjeLj':'javascript','SyECQ':function(_0x57d143,_0x27de40){return _0x57d143-_0x27de40;},'QgzEJ':function(_0x1278e2,_0xaeed1b,_0x50a177,_0x4e3c2c,_0x556710){return _0x1278e2(_0xaeed1b,_0x50a177,_0x4e3c2c,_0x556710);},'uSzMX':_0x24d8b3(0x1af),'VtOkp':'meta','nWbhx':_0x24d8b3(0x215),'fQlpP':_0x24d8b3(0x23c),'LuuEP':_0x24d8b3(0x1ef),'lQwCI':_0x24d8b3(0x201),'vCpwd':_0x24d8b3(0x20b),'wVImI':function(_0x431361,_0x22c1bf){return _0x431361===_0x22c1bf;},'nqwhw':_0x24d8b3(0x233),'GhnLd':_0x24d8b3(0x1d9)};if(!this[_0x24d8b3(0x23b)])return;try{if(_0x175c20['fn']&&_0x175c20['fn'][_0x24d8b3(0x227)]()[_0x24d8b3(0x244)](/browserstack internal helper hook/))return;const _0xeab25e=_0x1a12dd[_0x24d8b3(0x217)](parseEvent,_0x299642);if(!_0xeab25e)return;if(_0xeab25e[_0x24d8b3(0x1fa)]){this[_0x24d8b3(0x220)]=_0x175c20,this[_0x24d8b3(0x22a)]=null;if(_0xeab25e['started']||_0xeab25e['skipped']){_0x175c20[_0x24d8b3(0x196)]=new Date(),_0x175c20[_0x24d8b3(0x1ff)]=![];if(!_0x175c20['testAnalyticsId'])_0x175c20[_0x24d8b3(0x1fd)]=_0x1a12dd[_0x24d8b3(0x22e)](uuidv4);else _0x175c20['markedStatus']&&(!_0x175c20[_0x24d8b3(0x1ed)]&&(_0x175c20[_0x24d8b3(0x1ed)]=_0x175c20['testAnalyticsId']),_0x175c20['testAnalyticsId']=_0x1a12dd['aWVgL'](uuidv4));}}else{if(_0xeab25e[_0x24d8b3(0x26d)]){this[_0x24d8b3(0x22a)]=_0x175c20;if(_0xeab25e[_0x24d8b3(0x21e)]){_0x175c20[_0x24d8b3(0x196)]=new Date(),_0x175c20[_0x24d8b3(0x1ff)]=![];if(!_0x175c20[_0x24d8b3(0x1e5)])_0x175c20[_0x24d8b3(0x1e5)]=_0x1a12dd[_0x24d8b3(0x1e4)](uuidv4);else _0x175c20[_0x24d8b3(0x1e5)]&&_0x175c20[_0x24d8b3(0x1ff)]&&(_0x175c20['hookAnalyticsId']=_0x1a12dd['jzRbJ'](uuidv4));}}}if(_0xeab25e[_0x24d8b3(0x1a5)]&&_0x175c20[_0x24d8b3(0x1ff)])return;let _0x6fe68;try{_0x6fe68=this[_0x24d8b3(0x1f9)](_0x175c20);}catch(_0x1850ae){logger[_0x24d8b3(0x19f)](_0x24d8b3(0x1fe)+_0x1850ae),_0x6fe68=null;}const _0xfdad4d=_0x1a12dd['DNkzn'](require,_0x1a12dd[_0x24d8b3(0x224)]);let _0x37ab2a=[];_0x454e74&&(_0x37ab2a=[_0x454e74,_0x1a12dd[_0x24d8b3(0x18f)]]);const _0x1d6116=_0x1a12dd[_0x24d8b3(0x1e6)](_0x175c20[_0x24d8b3(0x1a4)],undefined)?_0xfdad4d[_0x24d8b3(0x202)](_0x175c20[_0x24d8b3(0x1a4)][0x0]):_0x1a12dd[_0x24d8b3(0x24a)](_0x454e74,undefined)?_0x454e74[_0x24d8b3(0x227)]():undefined,_0x11c16b=_0x6fe68?this[_0x24d8b3(0x19e)](_0x6fe68):null,_0x2a845f=_0x6fe68?this[_0x24d8b3(0x214)]['prefixTestPath'](this['getRootParentFile'](_0x175c20)):_0x1a12dd[_0x24d8b3(0x1d3)];let _0x58bbc2=_0x1a12dd['itcTx'];const _0x1e7555=!_0xeab25e['started']?new Date()[_0x24d8b3(0x1c0)]():null;if(_0xeab25e[_0x24d8b3(0x1a5)])_0x58bbc2=_0x454e74?_0x1a12dd[_0x24d8b3(0x1bb)]:_0x1a12dd['AqQqV'],_0x175c20['markedStatus']=!![];else _0xeab25e[_0x24d8b3(0x1c4)]&&(_0x58bbc2=_0x1a12dd[_0x24d8b3(0x257)],_0x175c20['markedStatus']=!![]);const _0x13cdea={'framework':this[_0x24d8b3(0x1a2)],'uuid':_0x175c20[_0x24d8b3(0x1fd)]||_0x175c20[_0x24d8b3(0x1e5)],'name':_0x175c20['title'],'body':{'lang':_0x1a12dd[_0x24d8b3(0x223)],'code':_0x175c20[_0x24d8b3(0x243)]['toString']()},'type':_0x175c20['type'],'scope':_0x175c20[_0x24d8b3(0x250)](),'scopes':this[_0x24d8b3(0x237)](_0x175c20),'file_name':_0x2a845f,'vc_filepath':_0x11c16b?path[_0x24d8b3(0x19a)](_0x11c16b,_0x6fe68):null,'location':_0x2a845f,'result':_0x58bbc2,'failure_reason':_0x1d6116,'duration_in_ms':_0x175c20['duration']||(_0xeab25e[_0x24d8b3(0x1a5)]||_0xeab25e[_0x24d8b3(0x1c4)])?_0x1a12dd[_0x24d8b3(0x262)](Date[_0x24d8b3(0x218)](),new Date(_0x175c20[_0x24d8b3(0x196)])[_0x24d8b3(0x1d1)]()):null,'started_at':new Date(_0x175c20[_0x24d8b3(0x196)])[_0x24d8b3(0x1c0)](),'finished_at':_0x1e7555,'failure':testOpsHelper['failureData']['apply'](null,_0x37ab2a),'failure_type':!_0x1d6116?null:testOpsHelper[_0x24d8b3(0x1d8)](_0x1d6116),'retry_of':_0x175c20[_0x24d8b3(0x1ed)]||null,'tags':_0x175c20['tags']||[],'customRerunParam':{'rerun_name':_0x175c20[_0x24d8b3(0x250)]()}};_0x1a12dd[_0x24d8b3(0x1fc)](appendTesthubParams,_0x13cdea,_0x299642,_0x175c20,FRAMEWORKS[_0x24d8b3(0x21f)]);if(_0xeab25e[_0x24d8b3(0x26d)])[_0x13cdea[_0x24d8b3(0x26c)],_0x13cdea[_0x24d8b3(0x1da)]]=[this[_0x24d8b3(0x229)](_0x175c20),_0x175c20[_0x24d8b3(0x1c3)]['test']['title']],_0xeab25e[_0x24d8b3(0x1a5)]?_0x1a12dd[_0x24d8b3(0x24a)](_0x13cdea['result'],_0x1a12dd[_0x24d8b3(0x1bb)])&&(_0x13cdea[_0x24d8b3(0x26b)]=_0x1a12dd[_0x24d8b3(0x1c2)]):_0x13cdea[_0x24d8b3(0x243)]={};else _0xeab25e['test']&&(this[_0x24d8b3(0x1ac)](_0x175c20),_0xeab25e[_0x24d8b3(0x1c4)]&&this[_0x24d8b3(0x1ce)](_0x175c20),(_0xeab25e[_0x24d8b3(0x1a5)]||_0xeab25e['skipped'])&&(_0x13cdea[_0x24d8b3(0x212)]=this['getHooksForTest'](_0x175c20)));this['driver']&&(_0xeab25e[_0x24d8b3(0x21e)]||_0xeab25e[_0x24d8b3(0x1c4)])&&(_0x13cdea[_0x1a12dd[_0x24d8b3(0x1bc)]]=this[_0x24d8b3(0x1df)](this['driver']));_0xeab25e[_0x24d8b3(0x1fa)]&&_0xeab25e[_0x24d8b3(0x1a5)]&&_0x175c20[_0x24d8b3(0x1f5)]&&(_0x13cdea[_0x1a12dd[_0x24d8b3(0x1fb)]]={'feature':{'name':_0x175c20[_0x24d8b3(0x1f8)][_0x24d8b3(0x264)][_0x24d8b3(0x1da)],'path':_0x13cdea[_0x24d8b3(0x236)],'description':_0x175c20[_0x24d8b3(0x1f8)]['comment']},'scenario':{'name':_0x175c20[_0x24d8b3(0x1b7)]},'steps':_0x175c20[_0x24d8b3(0x1f5)]});const _0x59cd0b=_0x13cdea[_0x1a12dd['nWbhx']][0x0];_0x59cd0b&&(_0x13cdea[_0x1a12dd[_0x24d8b3(0x276)]]=_0x59cd0b[_0x1a12dd['LuuEP']],_0x13cdea[_0x1a12dd[_0x24d8b3(0x232)]]=_0x59cd0b[_0x1a12dd[_0x24d8b3(0x1b6)]]);if(_0x175c20[_0x24d8b3(0x1f5)])for(const _0x2e5461 of _0x175c20[_0x24d8b3(0x1f5)]){!_0x2e5461[_0x24d8b3(0x1aa)]&&(_0x2e5461[_0x24d8b3(0x1aa)]=new Date()['toISOString'](),_0x1a12dd[_0x24d8b3(0x20f)](_0x2e5461[_0x24d8b3(0x26b)],_0x1a12dd[_0x24d8b3(0x1ba)])&&(_0x59cd0b?(_0x2e5461['result']=_0x1a12dd[_0x24d8b3(0x1bb)],_0x2e5461[_0x24d8b3(0x215)]=_0x59cd0b[_0x1a12dd['LuuEP']][0x0]):_0x2e5461[_0x24d8b3(0x26b)]=_0x1a12dd[_0x24d8b3(0x1c2)]));}const _0x32966d={};_0x32966d[_0x24d8b3(0x231)]=_0xeab25e[_0x24d8b3(0x1c4)]?TEST_EVENTS[_0x24d8b3(0x23d)]:_0x299642;const _0x48c433=_0x32966d;return _0xeab25e[_0x24d8b3(0x26d)]?_0x48c433[_0x1a12dd[_0x24d8b3(0x182)]]=_0x13cdea:_0x48c433[_0x1a12dd[_0x24d8b3(0x22b)]]=_0x13cdea,_0x48c433;}catch(_0x4b0620){logger[_0x24d8b3(0x19f)](_0x24d8b3(0x1b4)+_0x299642+'\x20with\x20error\x20:\x20'+_0x4b0620);}}async[a4_0x1d1dc3(0x1e1)](_0x190112,_0x4ab573){const _0x378285=a4_0x1d1dc3;if(!this[_0x378285(0x23b)]||!_0x4ab573||!_0x190112)return![];try{return await SessionHandler[_0x378285(0x265)](_0x4ab573);}catch(_0xa58f81){logger[_0x378285(0x19f)](_0x378285(0x213)+_0x190112+'\x20with\x20error\x20:\x20'+_0xa58f81);}}[a4_0x1d1dc3(0x24b)](_0x397196){const _0x19d69b=a4_0x1d1dc3,_0x2b3e61={};_0x2b3e61[_0x19d69b(0x242)]='pending';const _0x2aac82=_0x2b3e61;return{'id':_0x397196[_0x19d69b(0x278)],'text':_0x397196[_0x19d69b(0x204)],'keyword':_0x397196[_0x19d69b(0x1a9)],'started_at':_0x397196['startedAt']['toISOString'](),'result':_0x2aac82['oIFLk']};}['bddStepStart'](_0x35e5c7){const _0x2ae005=a4_0x1d1dc3,_0x161007={'eYYok':function(_0x18d177){return _0x18d177();}};!this[_0x2ae005(0x220)]['bddSteps']&&(this['currentTest'][_0x2ae005(0x1f5)]=[]),!_0x35e5c7[_0x2ae005(0x278)]&&(_0x35e5c7[_0x2ae005(0x278)]=_0x161007[_0x2ae005(0x1de)](uuidv4),_0x35e5c7[_0x2ae005(0x196)]=new Date(),this[_0x2ae005(0x220)][_0x2ae005(0x1f5)]['push'](this[_0x2ae005(0x24b)](_0x35e5c7)));}[a4_0x1d1dc3(0x1e9)](_0x2f6fd0){const _0x49dfb3=a4_0x1d1dc3,_0x25ae1e={'vtJFm':function(_0x181c2c,_0x42ff3b){return _0x181c2c(_0x42ff3b);},'zyYOf':_0x49dfb3(0x1b2),'DqZOn':'pending','pZkUx':_0x49dfb3(0x19b),'BVrAJ':function(_0x4b511a,_0x2e1c15){return _0x4b511a-_0x2e1c15;}};let _0x53cfc8=this[_0x49dfb3(0x220)][_0x49dfb3(0x1f5)][_0x49dfb3(0x238)](_0x3b22d7=>_0x3b22d7['id']===_0x2f6fd0[_0x49dfb3(0x278)]);_0x25ae1e['vtJFm'](isUndefined,_0x53cfc8)&&(_0x53cfc8=this[_0x49dfb3(0x24b)](_0x2f6fd0)),_0x53cfc8['result']=[_0x25ae1e['zyYOf'],_0x25ae1e['DqZOn']][_0x49dfb3(0x1be)](_0x2f6fd0[_0x49dfb3(0x199)])?_0x25ae1e[_0x49dfb3(0x269)]:_0x2f6fd0['status'],_0x53cfc8['finished_at']=new Date()[_0x49dfb3(0x1c0)](),_0x53cfc8[_0x49dfb3(0x25e)]=_0x25ae1e[_0x49dfb3(0x1bf)](Date['now'](),_0x2f6fd0[_0x49dfb3(0x196)][_0x49dfb3(0x1d1)]()),_0x53cfc8[_0x49dfb3(0x215)]=_0x2f6fd0[_0x49dfb3(0x185)]?_0x2f6fd0[_0x49dfb3(0x185)][_0x49dfb3(0x1ee)]:null;}}const a4_0xe97345={};a4_0xe97345[a4_0x1d1dc3(0x259)]=O11yHelper,a4_0xe97345[a4_0x1d1dc3(0x1f0)]=STATE_PASSED,a4_0xe97345[a4_0x1d1dc3(0x194)]=STATE_FAILED,a4_0xe97345[a4_0x1d1dc3(0x191)]=TEST_EVENTS,module[a4_0x1d1dc3(0x1c9)]=a4_0xe97345;
|
|
@@ -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';function a5_0x3b2f(_0x26e581,_0x285123){const _0x1bd08d=a5_0x1bd0();return a5_0x3b2f=function(_0x3b2f13,_0x412490){_0x3b2f13=_0x3b2f13-0x1aa;let _0x6ee38e=_0x1bd08d[_0x3b2f13];return _0x6ee38e;},a5_0x3b2f(_0x26e581,_0x285123);}const a5_0x3e5d2d=a5_0x3b2f;(function(_0x3ac339,_0x218ea1){const _0x4aaa99=a5_0x3b2f,_0x5440e7=_0x3ac339();while(!![]){try{const _0x235273=-parseInt(_0x4aaa99(0x212))/0x1+parseInt(_0x4aaa99(0x1e2))/0x2*(-parseInt(_0x4aaa99(0x1fb))/0x3)+-parseInt(_0x4aaa99(0x1bf))/0x4+-parseInt(_0x4aaa99(0x1fd))/0x5+-parseInt(_0x4aaa99(0x1be))/0x6+parseInt(_0x4aaa99(0x1d9))/0x7*(-parseInt(_0x4aaa99(0x1da))/0x8)+parseInt(_0x4aaa99(0x1eb))/0x9*(parseInt(_0x4aaa99(0x1d4))/0xa);if(_0x235273===_0x218ea1)break;else _0x5440e7['push'](_0x5440e7['shift']());}catch(_0xbf0722){_0x5440e7['push'](_0x5440e7['shift']());}}}(a5_0x1bd0,0xc1be5));function a5_0x1bd0(){const _0x2593e2=['bold','useW3C','stop','../../helpers/testhub/testhubHandler','finally','../utils/constants','CUCUMBER','../../helpers/BrowserStackSetup','cucumber','\x20pending','cucumber-js','\x20ambiguous','GjOEQ','10WfVatk','initialize','parseFormatters','****\x20RESULTS\x20****','then','934129wTBLtM','32vwspTS','setupTCGAuth','DYqNP','tYftH','stepsUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testContextOptions','xCsyV','7204RBaTxE','processSuccess','ZEDfh','\x20scenarios','removeDir','join','cwd','config','lrsYV','55745433fZRbcb','log','skipSessionStatus','JYfnb','env','CZNFU','prepareCapabilities','accessibilityOptions','Generating\x20consolidated\x20report...','red','NpMtW','yellow','argv','qYVMu','testObservability','false','729vLbTio','rmdirSync','7034825nHhZLG','format','ywqXV','finalExecution','chalk','winstonLogger','mrwJR','\x20undefined','stepsAmbiguous','path','tBOZV','green','debug','steps','Removing\x20tmp\x20directory\x20created\x20for\x20reports','skipSessionName','../../helpers/utilities','stringify','KcmeI','bLVgL','error\x20removing\x20tcg\x20config\x20file','388975xFMSEF','\x20skipped','proxySettings','isBrowserstackInfra','logLevel','lnmLO','uyKPe','exports','\x20failed','getTCGConfigFilePaths','ptQGo','\x20passed','MhXRK','stepsUnknown','plQbD','launchBuild','handleApp','cmMaw','JbBlG','BROWSERSTACK_TEST_OBSERVABILITY_YML','turboScaleUrl','FRAMEWORKS','parallelsPerPlatform','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','3691476RcrrVV','6320416INGzle','zDpeL','\x20steps','length','getUserWorkerCount','push','gWOvm','../../helpers/logger'];a5_0x1bd0=function(){return _0x2593e2;};return a5_0x1bd0();}const fs=require('fs'),path=require(a5_0x3e5d2d(0x206)),util=require('util'),logger=require(a5_0x3e5d2d(0x1c6))[a5_0x3e5d2d(0x202)],{default:BrowserStackSetup}=require(a5_0x3e5d2d(0x1ce)),helper=require('../../helpers/helper'),utilities=require(a5_0x3e5d2d(0x20d)),constants=require(a5_0x3e5d2d(0x1cc)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x3e5d2d(0x1ca)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x3e5d2d(0x201));function printCucumberStats(_0x921527){const _0xefbbbf=a5_0x3e5d2d,_0x4792da={};_0x4792da[_0xefbbbf(0x207)]=function(_0x2273b9,_0x3de2d3){return _0x2273b9>_0x3de2d3;},_0x4792da[_0xefbbbf(0x1ee)]=function(_0x1f39c9,_0x39cfac){return _0x1f39c9-_0x39cfac;},_0x4792da[_0xefbbbf(0x1b8)]=function(_0x15adfe,_0x41be06){return _0x15adfe-_0x41be06;},_0x4792da[_0xefbbbf(0x1d3)]=function(_0x3e7bf8,_0x3edf6b){return _0x3e7bf8>_0x3edf6b;},_0x4792da[_0xefbbbf(0x1dc)]=function(_0x1040fd,_0x3273dd){return _0x1040fd>_0x3273dd;},_0x4792da['lnmLO']=function(_0x3a7b21,_0x2f3942){return _0x3a7b21>_0x2f3942;},_0x4792da['MhXRK']=function(_0x5bfe91,_0x16b7d7){return _0x5bfe91>_0x16b7d7;},_0x4792da['uyKPe']=function(_0x3a702f,_0x4ecf1f){return _0x3a702f+_0x4ecf1f;},_0x4792da[_0xefbbbf(0x1f8)]=function(_0x41d955,_0x569a91){return _0x41d955+_0x569a91;},_0x4792da[_0xefbbbf(0x210)]=function(_0x3bd301,_0x1c5f54){return _0x3bd301===_0x1c5f54;},_0x4792da[_0xefbbbf(0x1dd)]=function(_0x467689,_0x55989a){return _0x467689===_0x55989a;},_0x4792da['zDpeL']=_0xefbbbf(0x1d7);const _0x27a296=_0x4792da;let _0x419f96=0x0;if(_0x27a296[_0xefbbbf(0x1dd)](_0x921527['length'],0x0))return _0x419f96;return console[_0xefbbbf(0x1ec)](chalk['bold']['bgWhite'](_0x27a296[_0xefbbbf(0x1c0)])),_0x921527['forEach'](_0x3055ca=>{const _0x42a7b7=_0xefbbbf,_0x12f93c=_0x3055ca[0x0],_0x3e4879=_0x3055ca[0x1];console['log']('\x0a'+chalk['bold'][_0x42a7b7(0x1f6)](''+helper['getPlatformName'](_0x12f93c)));const _0x195a24=_0x3e4879['scenarios'],_0xba6af2=_0x3e4879[_0x42a7b7(0x20a)],_0x2b9893=_0x3e4879['scenariosFailed'],_0x1f9893=_0x3e4879['stepsFailed'],_0x3c33c5=_0x3e4879['stepsPassed'],_0x375cdd=_0x3e4879['stepsSkipped'],_0x171317=_0x3e4879['stepsPending'],_0x1c9a05=_0x3e4879[_0x42a7b7(0x1de)],_0x1afb64=_0x3e4879[_0x42a7b7(0x1b3)],_0x2bd5d4=_0x3e4879[_0x42a7b7(0x205)],_0x52721d=_0x3e4879[_0x42a7b7(0x1e3)];let _0x510a4f=_0x195a24+_0x42a7b7(0x1e5);const _0x2cf880=_0x27a296['tBOZV'](_0x27a296[_0x42a7b7(0x1ee)](_0x195a24,_0x2b9893),0x0)?_0x27a296[_0x42a7b7(0x1b8)](_0x195a24,_0x2b9893):0x0;if(_0x27a296[_0x42a7b7(0x207)](_0x2b9893,0x0)&&_0x27a296[_0x42a7b7(0x207)](_0x2cf880,0x0))_0x510a4f+='\x20('+chalk[_0x42a7b7(0x1c7)]['red'](_0x2b9893+_0x42a7b7(0x1ae))+',\x20'+chalk['bold'][_0x42a7b7(0x208)](_0x2cf880+'\x20passed')+')';else(_0x27a296[_0x42a7b7(0x1d3)](_0x2b9893,0x0)||_0x27a296[_0x42a7b7(0x207)](_0x2cf880,0x0))&&(_0x510a4f+=_0x27a296[_0x42a7b7(0x1d3)](_0x2b9893,0x0)?'\x20('+chalk[_0x42a7b7(0x1c7)]['red'](_0x2b9893+_0x42a7b7(0x1ae))+')':'\x20('+chalk[_0x42a7b7(0x1c7)]['green'](_0x2cf880+_0x42a7b7(0x1b1))+')');const _0x28ec1a=_0xba6af2+_0x42a7b7(0x1c1),_0x2f80e0=[];_0x27a296[_0x42a7b7(0x207)](_0x2bd5d4,0x0)&&_0x2f80e0[_0x42a7b7(0x1c4)](''+chalk[_0x42a7b7(0x1c7)][_0x42a7b7(0x1f4)](_0x2bd5d4+_0x42a7b7(0x1d2)));_0x27a296[_0x42a7b7(0x1dc)](_0x1f9893,0x0)&&_0x2f80e0['push'](''+chalk[_0x42a7b7(0x1c7)]['red'](_0x1f9893+_0x42a7b7(0x1ae)));_0x27a296['lnmLO'](_0x3c33c5,0x0)&&_0x2f80e0[_0x42a7b7(0x1c4)](''+chalk['bold'][_0x42a7b7(0x208)](_0x3c33c5+_0x42a7b7(0x1b1)));_0x27a296['lnmLO'](_0x171317,0x0)&&_0x2f80e0['push'](''+chalk['bold'][_0x42a7b7(0x1f6)](_0x171317+_0x42a7b7(0x1d0)));_0x27a296[_0x42a7b7(0x1ab)](_0x375cdd,0x0)&&_0x2f80e0[_0x42a7b7(0x1c4)](''+chalk[_0x42a7b7(0x1c7)]['cyan'](_0x375cdd+_0x42a7b7(0x213)));_0x27a296[_0x42a7b7(0x1b2)](_0x1c9a05,0x0)&&_0x2f80e0[_0x42a7b7(0x1c4)](''+chalk[_0x42a7b7(0x1c7)]['yellow'](_0x1c9a05+_0x42a7b7(0x204)));_0x27a296[_0x42a7b7(0x207)](_0x1afb64,0x0)&&_0x2f80e0[_0x42a7b7(0x1c4)](''+chalk[_0x42a7b7(0x1c7)][_0x42a7b7(0x1f6)](_0x1afb64+_0x42a7b7(0x213)));const _0x4ddcb3=_0x27a296[_0x42a7b7(0x1ac)](_0x27a296['uyKPe'](_0x27a296[_0x42a7b7(0x1f8)](_0x28ec1a,'('),_0x2f80e0[_0x42a7b7(0x1e7)](',\x20')),')');console['log'](_0x27a296[_0x42a7b7(0x1f8)](_0x27a296[_0x42a7b7(0x1ac)](_0x27a296[_0x42a7b7(0x1ac)](_0x27a296[_0x42a7b7(0x1f8)]('\x0a',_0x510a4f),'\x0a'),_0x4ddcb3),'\x0a')),_0x27a296[_0x42a7b7(0x210)](_0x52721d,![])&&(_0x419f96=0x1);}),_0x419f96;}async function run(_0x547b61,_0x58ba8b){const _0x26c114=a5_0x3e5d2d,_0x526050={'cmMaw':function(_0x26b3c2,_0x43eab1){return _0x26b3c2(_0x43eab1);},'mrwJR':function(_0x1235c4,_0x5b325d){return _0x1235c4>_0x5b325d;},'xpflk':_0x26c114(0x1f3),'ywqXV':_0x26c114(0x20b),'ZEDfh':_0x26c114(0x1cf),'plQbD':_0x26c114(0x211),'lrsYV':_0x26c114(0x1d1),'NpMtW':'tmp','xCsyV':function(_0x47480b,_0x35bb22){return _0x47480b-_0x35bb22;},'KcmeI':function(_0x3991a7,_0x115fa3){return _0x3991a7>=_0x115fa3;},'CZNFU':function(_0x26e91e,_0x427ea8){return _0x26e91e!=_0x427ea8;},'gWOvm':_0x26c114(0x1fa),'ptQGo':function(_0x304e5e,_0x3371b9,_0x4d3c47,_0x4dc609,_0x126913,_0x34cb55){return _0x304e5e(_0x3371b9,_0x4d3c47,_0x4dc609,_0x126913,_0x34cb55);}},_0x523139=new BrowserStackSetup(_0x547b61,_0x526050[_0x26c114(0x1ea)]);await _0x523139[_0x26c114(0x1d5)]();!helper[_0x26c114(0x215)]()&&await _0x523139[_0x26c114(0x1db)]();await helper[_0x26c114(0x1b6)](_0x523139[_0x26c114(0x1e9)]);const _0x597f29=helper[_0x26c114(0x1c8)](_0x523139[_0x26c114(0x1e9)]),_0x279431=helper[_0x26c114(0x1f1)](_0x523139[_0x26c114(0x1e9)],_0x597f29,constants[_0x26c114(0x1bb)][_0x26c114(0x1cd)]);if(!_0x523139[_0x26c114(0x1e9)])return;const _0x334b67=_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1bc)]||helper[_0x26c114(0x1c3)](_0x547b61,_0x58ba8b,_0x523139[_0x26c114(0x1e9)],constants['FRAMEWORKS'][_0x26c114(0x1cd)])||0x1,_0x117748={'server':helper['getHubUrl'](_0x523139[_0x26c114(0x1e9)]),'proxySettings':_0x523139['config'][_0x26c114(0x214)],'maxWorkers':_0x334b67,'browserStackLogLevel':_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1aa)],'skipSessionName':_0x523139['config'][_0x26c114(0x1e0)][_0x26c114(0x20c)],'skipSessionStatus':_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1e0)][_0x26c114(0x1ed)],'turboScaleUrl':_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1ba)]},_0x43f48f=process[_0x26c114(0x1f7)],[_0x3ab35c,_0x2a3eca]=helper[_0x26c114(0x1d6)](_0x43f48f),_0xd01460=path[_0x26c114(0x1e7)](process[_0x26c114(0x1e8)](),_0x526050[_0x26c114(0x1f5)]);if(_0x526050[_0x26c114(0x203)](_0x2a3eca[_0x26c114(0x1c2)],0x0)){helper['createDir'](_0xd01460);for(let _0xab3f66=_0x526050[_0x26c114(0x1e1)](_0x3ab35c[_0x26c114(0x1c2)],0x1);_0x526050[_0x26c114(0x20f)](_0xab3f66,0x0);_0xab3f66--){_0x43f48f['splice'](_0x3ab35c[_0xab3f66],0x2);}}!helper['isUndefined'](_0x523139['config'][_0x26c114(0x1f2)])&&(process[_0x26c114(0x1ef)][_0x26c114(0x1df)]=JSON[_0x26c114(0x20e)](_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1f2)]));_0x526050[_0x26c114(0x1f0)](_0x523139[_0x26c114(0x1e9)]['testObservability'],null)?process[_0x26c114(0x1ef)][_0x26c114(0x1b9)]=_0x523139[_0x26c114(0x1e9)][_0x26c114(0x1f9)]:process[_0x26c114(0x1ef)][_0x26c114(0x1b9)]=_0x526050[_0x26c114(0x1c5)];const _0x487ad7=await TestHubHandler[_0x26c114(0x1b5)](constants[_0x26c114(0x1bb)][_0x26c114(0x1cd)],_0x523139);helper['markSDKSetupComplete']();let _0x118caa;_0x526050[_0x26c114(0x1b0)](parallelCucumberRun,_0x279431,_0x117748,_0x523139[_0x26c114(0x1e9)],_0x43f48f,_0x2a3eca)[_0x26c114(0x1d8)](async _0x29f62e=>{const _0x73369f=_0x26c114;_0x118caa=_0x29f62e;const _0x1f27a3=_0x526050[_0x73369f(0x1b7)](printCucumberStats,_0x29f62e);process['exitCode']=_0x1f27a3,_0x526050['mrwJR'](_0x2a3eca['length'],0x0)&&(logger[_0x73369f(0x209)](_0x526050['xpflk']),helper['mergeOutputFiles'](_0xd01460,_0x2a3eca),logger[_0x73369f(0x209)](_0x526050[_0x73369f(0x1ff)]),helper[_0x73369f(0x1e6)](_0xd01460));})[_0x26c114(0x1cb)](async()=>{const _0x5be22a=_0x26c114;_0x523139['errorMessage']=helper['getErrorMessageFromResults'](_0x118caa,_0x526050[_0x5be22a(0x1e4)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x5be22a(0x1c9)]();}catch(_0x57e915){logger['debug'](_0x5be22a(0x1bd)+util[_0x5be22a(0x1fe)](_0x57e915));}try{const {browserstackFolderPath:_0x5a79d7,tcgConfigPath:_0x17a5a8}=helper[_0x5be22a(0x1af)]();fs['unlinkSync'](_0x17a5a8),fs[_0x5be22a(0x1fc)](_0x5a79d7);}catch(_0x18f969){logger[_0x5be22a(0x209)](_0x526050[_0x5be22a(0x1b4)],_0x18f969);}await utilities[_0x5be22a(0x200)](_0x523139);});}module[a5_0x3e5d2d(0x1ad)]=run;
|