browserstack-node-sdk 1.34.13 → 1.34.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x28a5(_0x1dba45,_0x218b76){const _0x173e22=a1_0x173e();return a1_0x28a5=function(_0x28a5db,_0x292f5c){_0x28a5db=_0x28a5db-0x16e;let _0x3cdb3d=_0x173e22[_0x28a5db];return _0x3cdb3d;},a1_0x28a5(_0x1dba45,_0x218b76);}const a1_0x544dd2=a1_0x28a5;(function(_0x452323,_0x5968af){const _0x210e25=a1_0x28a5,_0x2e29f7=_0x452323();while(!![]){try{const _0x562898=-parseInt(_0x210e25(0x1ca))/0x1*(parseInt(_0x210e25(0x1b7))/0x2)+parseInt(_0x210e25(0x1e9))/0x3+-parseInt(_0x210e25(0x19e))/0x4*(-parseInt(_0x210e25(0x1ad))/0x5)+-parseInt(_0x210e25(0x189))/0x6*(parseInt(_0x210e25(0x1c1))/0x7)+parseInt(_0x210e25(0x1c3))/0x8+-parseInt(_0x210e25(0x196))/0x9+parseInt(_0x210e25(0x192))/0xa;if(_0x562898===_0x5968af)break;else _0x2e29f7['push'](_0x2e29f7['shift']());}catch(_0x5514b2){_0x2e29f7['push'](_0x2e29f7['shift']());}}}(a1_0x173e,0x20fa9));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x544dd2(0x19c)),logger=require('../../helpers/logger')[a1_0x544dd2(0x1df)],testOpsHelper=require(a1_0x544dd2(0x1d2)),requestSpy=require(a1_0x544dd2(0x170)),PlaywrightSessionDetails=require(a1_0x544dd2(0x184)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x544dd2(0x1dc)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x544dd2(0x195)),scripts=require(a1_0x544dd2(0x210)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x544dd2(0x16e)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x544dd2(0x1ae)),CodeceptWebDriver=requireModule(a1_0x544dd2(0x212)),CodeceptRecorder=requireModule(a1_0x544dd2(0x18d)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x4e9469,_0x1011b7,_0x46a341)=>{const _0x13ea27=a1_0x544dd2,_0xb11155={'yUlPT':_0x13ea27(0x201),'YyYhg':function(_0x3ae834,_0x5d98c0){return _0x3ae834(_0x5d98c0);}},_0x30875c={};_0x30875c[_0x13ea27(0x1a0)]=_0x1011b7;const _0x15a8d8={};_0x15a8d8[_0x13ea27(0x16f)]=_0xb11155['yUlPT'],_0x15a8d8[_0x13ea27(0x1a5)]=_0x30875c;const _0x158ed1=_0x15a8d8;return!_0xb11155[_0x13ea27(0x1d0)](isUndefined,_0x46a341)&&(_0x158ed1[_0x13ea27(0x1a5)]['reason']=JSON[_0x13ea27(0x181)](_0x46a341)),_0x4e9469[_0x13ea27(0x186)](()=>{},_0x13ea27(0x1db)+JSON['stringify'](_0x158ed1));},o11ySync=async _0x2b76a5=>{const _0x3473e8=a1_0x544dd2,_0x3bea7d={};_0x3bea7d[_0x3473e8(0x1b6)]=function(_0x1daac9,_0x526124){return _0x1daac9===_0x526124;},_0x3bea7d['JkoWb']='Playwright';const _0x2c59ab=_0x3bea7d;_0x2c59ab[_0x3473e8(0x1b6)](_0x2b76a5['constructor'][_0x3473e8(0x1a4)],_0x2c59ab[_0x3473e8(0x1ac)])?await _0x2b76a5[_0x3473e8(0x186)](_0x116bfb=>{},testOpsHelper[_0x3473e8(0x19d)]()):await _0x2b76a5[_0x3473e8(0x186)](testOpsHelper[_0x3473e8(0x19d)]());},markSessionName=async(_0x199884,_0x2d5ca6)=>{const _0x26090d=a1_0x544dd2,_0x53fb2e={};_0x53fb2e['gNxmH']=_0x26090d(0x1d3),_0x53fb2e[_0x26090d(0x1d5)]=function(_0x2fb7cd,_0x2c1014){return _0x2fb7cd===_0x2c1014;},_0x53fb2e['zJNJC']=_0x26090d(0x1aa);const _0x287969=_0x53fb2e,_0x127b74={};_0x127b74[_0x26090d(0x1a4)]=_0x2d5ca6;const _0x23bb13={};_0x23bb13['action']=_0x287969[_0x26090d(0x17e)],_0x23bb13[_0x26090d(0x1a5)]=_0x127b74;const _0xcaf4ca=_0x23bb13;_0x287969[_0x26090d(0x1d5)](_0x199884[_0x26090d(0x1a7)][_0x26090d(0x1a4)],_0x287969[_0x26090d(0x18b)])?await _0x199884[_0x26090d(0x186)](()=>{},_0x26090d(0x1db)+JSON[_0x26090d(0x181)](_0xcaf4ca)):await _0x199884[_0x26090d(0x186)](_0x26090d(0x1db)+JSON[_0x26090d(0x181)](_0xcaf4ca));},patchSaveScreenshot=_0x1fec8f=>{const _0x18ff59=a1_0x544dd2,_0x2bdd7e={'JsTlQ':_0x18ff59(0x1b2),'UCCml':_0x18ff59(0x1b1),'UuVas':function(_0x37dc48){return _0x37dc48();},'phGXw':function(_0x5e5b12,_0x16724e){return _0x5e5b12(_0x16724e);}};_0x2bdd7e[_0x18ff59(0x1ed)](isTrue,process[_0x18ff59(0x1f6)][_0x18ff59(0x182)])&&!_0x1fec8f['patchSaveScreenshot']&&(_0x1fec8f[_0x18ff59(0x1bc)]=!![],_0x1fec8f[_0x18ff59(0x1da)]=_0x1fec8f[_0x18ff59(0x1d4)],_0x1fec8f['saveScreenshot']=(_0x24e20d,_0x3538a5=![])=>{const _0x2d1f7e=_0x18ff59,_0x6c595d={'RQmQc':_0x2bdd7e[_0x2d1f7e(0x190)],'eORiI':_0x2bdd7e['UCCml'],'BtfkZ':function(_0x390180){const _0x17d2ea=_0x2d1f7e;return _0x2bdd7e[_0x17d2ea(0x1f3)](_0x390180);}};return new Promise(function(_0x35c326,_0x4fd20c){const _0x2302ce=_0x2d1f7e;_0x1fec8f[_0x2302ce(0x1da)](_0x24e20d,_0x3538a5)[_0x2302ce(0x187)](()=>{const _0x7c73db=_0x2302ce,_0x5ef0e5=CodeceptUtils[_0x7c73db(0x1f2)](_0x24e20d),_0x58976a=fs['readFileSync'](_0x5ef0e5);process['emit']('bs:addLog:'+process[_0x7c73db(0x183)],{'timestamp':new Date()[_0x7c73db(0x200)](),'message':_0x58976a[_0x7c73db(0x1d7)](_0x6c595d['RQmQc']),'kind':_0x6c595d['eORiI']}),_0x6c595d[_0x7c73db(0x1e5)](_0x35c326);})['catch'](()=>null);});});},patchWebDriverBefore=_0x20799b=>{const _0xfe19b7=a1_0x544dd2,_0x3e279d={'vNBuY':function(_0x1bb65a){return _0x1bb65a();},'tqJwj':function(_0x49deae,_0x2da4de){return _0x49deae(_0x2da4de);},'DEgKH':function(_0x41fda6,_0x285cb1){return _0x41fda6===_0x285cb1;},'UPtlZ':'Element'},_0x58b14c=async function(_0x2a350f,_0x1b3845){const _0x26d45b=a1_0x28a5;return _0x3e279d[_0x26d45b(0x1b9)](isAccessibilityAutomationSession)&&!global[_0x26d45b(0x1d8)]&&global[_0x26d45b(0x1eb)]&&scripts[_0x26d45b(0x1fe)](_0x2a350f['name'])&&_0x3e279d[_0x26d45b(0x1e0)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x26d45b(0x1d8)]=!![],logger[_0x26d45b(0x17d)](_0x26d45b(0x1c4)+_0x2a350f['class']+'\x20'+_0x2a350f[_0x26d45b(0x1a4)]),await AccessibilityHelper[_0x26d45b(0x1f9)](_0x20799b,scripts[_0x26d45b(0x1d1)])),global['bstackAllyScanning']=![],_0x1b3845[_0x26d45b(0x1e3)](this,Array[_0x26d45b(0x1b8)]['slice'][_0x26d45b(0x191)](arguments,0x2));},_0x3636c2=CodeceptWebDriver[_0xfe19b7(0x1b8)][_0xfe19b7(0x1ea)];CodeceptWebDriver[_0xfe19b7(0x1b8)][_0xfe19b7(0x1ea)]=async function(){const _0x32bb42=_0xfe19b7,_0x9504f5={'YPHIl':function(_0x32815b,_0x5dfaf4){const _0x526e3b=a1_0x28a5;return _0x3e279d[_0x526e3b(0x17f)](_0x32815b,_0x5dfaf4);},'ShfAG':_0x3e279d[_0x32bb42(0x1fd)]};await _0x3636c2['apply'](this,arguments),scripts[_0x32bb42(0x215)][_0x32bb42(0x1bf)](_0x4e341b=>_0x4e341b['name']&&_0x4e341b[_0x32bb42(0x1e8)])['forEach'](_0x8f2704=>{const _0x3e6398=_0x32bb42;this['browser'][_0x3e6398(0x1d6)](_0x8f2704[_0x3e6398(0x1a4)],_0x58b14c[_0x3e6398(0x1c0)](this,_0x8f2704),_0x9504f5['YPHIl'](_0x8f2704[_0x3e6398(0x1e8)],_0x9504f5[_0x3e6398(0x1dd)]));}),_0x3e279d[_0x32bb42(0x1e0)](processWebDriverConfig,_0x20799b);};},patchPlaywrightBefore=()=>{const _0x4fd8ae=a1_0x544dd2;PlaywrightSessionDetails[_0x4fd8ae(0x1ff)]();const _0x1e3afb=CodeceptPlaywright[_0x4fd8ae(0x1b8)][_0x4fd8ae(0x1ea)];CodeceptPlaywright[_0x4fd8ae(0x1b8)][_0x4fd8ae(0x1ea)]=async function(){const _0xe0be4a=_0x4fd8ae;this[_0xe0be4a(0x205)]=await this['browser'][_0xe0be4a(0x173)]()[0x0],await _0x1e3afb[_0xe0be4a(0x1e3)](this,arguments);};},getCodeceptDriver=()=>{const _0x267878=a1_0x544dd2,_0x527907={};_0x527907[_0x267878(0x1ce)]='WebDriver',_0x527907[_0x267878(0x209)]='Playwright',_0x527907[_0x267878(0x18e)]=_0x267878(0x1bd),_0x527907['zVOFQ']='TestCafe';const _0x46a9cd=_0x527907,_0x3a625a=[_0x46a9cd[_0x267878(0x1ce)],_0x46a9cd[_0x267878(0x209)],_0x46a9cd[_0x267878(0x18e)],_0x46a9cd[_0x267878(0x178)]],_0x301291=_0x3a625a[_0x267878(0x17c)](_0x23dbfa=>!!CodeceptJS[_0x267878(0x199)][_0x267878(0x1b5)](_0x23dbfa));if(!_0x301291)return null;return CodeceptJS[_0x267878(0x199)][_0x267878(0x1b5)](_0x301291);};function a1_0x173e(){const _0x331295=['codeceptjs/lib/recorder.js','AuAvj','after','JsTlQ','call','3061510dwjZas','DGEXK','skipSessionName','../../bin/playwright/accessibility-helper','1010421HeIGkH','RhrER','format','container','WeLzi','started','../../helpers/helper','getSyncScript','4kNryai','__workerDetails','status','captureEvent','kPuWv','hAbpS','name','arguments','rSXvv','constructor','currentTest','BROWSERSTACK_TESTHUB_JWT','Playwright','emit','JkoWb','281525qGBBTv','codeceptjs/lib/utils.js','failed','getAccessibilityResultsSummary','TEST_SCREENSHOT','base64','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','__skipSessionStatus','helpers','LxZkY','3038MlJUZT','prototype','vNBuY','getResultsSummary','passed','patchSaveScreenshot','Puppeteer','LKFWo','filter','bind','1561Ymsfif','TEST_RUN_FINISHED','334184iSJsCr','Performing\x20scan\x20for\x20','HOOK_RUN_FINISHED','warn','wEvUo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','WnmXd','137TCwseV','event','thBuildUuid','before','JQGMA','ENV_VAR','YyYhg','performScan','../../helpers/test-observability/utils','setSessionName','saveScreenshot','RZewt','overwriteCommand','toString','bstackAllyScanning','enTmu','initSaveScreenshot','browserstack_executor:\x20','./o11yHelper','ShfAG','ctx','winstonLogger','tqJwj','step','xOsKj','apply','thTestRunUuid','BtfkZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','HOOK_RUN_STARTED','class','447363hnnarW','_before','accessibilityPlatform','FwPke','phGXw','test','captureError','add','stop','screenshotOutputFolder','UuVas','bs:addLog:','title','env','TEST_RUN_STARTED','exports','browserStackExecuteDriver','addRequestSpy','thJwtToken','VwyWm','UPtlZ','shouldWrapCommand','patch','toISOString','setSessionStatus','qYbTP','hook','startMonitoring','browserContext','GPxHZ','UJpzU','start','NYJIh','fireEvent','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bddStep','testAnalyticsId','enabled','stopMonitoring','../../helpers/accessibility-automation/scripts','LEhgB','codeceptjs/lib/helper/WebDriver.js','TEST_RUN_SKIPPED','skipSessionStatus','commandsToWrap','./helper.js','action','../../helpers/request-spy','CThhv','comment','contexts','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','saveTestResults','hfoOB','titlePath','zVOFQ','dispatcher','umZln','getAccessibilityResults','find','debug','gNxmH','DEgKH','hLGDd','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','pid','../../bin/playwright/sessionDetails','all','executeScript','then','Suite','2634lsQmcA','BROWSERSTACK_TESTHUB_UUID','zJNJC','info'];a1_0x173e=function(){return _0x331295;};return a1_0x173e();}module[a1_0x544dd2(0x1f8)]=function(_0x5f4255){const _0x46e8be=a1_0x544dd2,_0x3ca901={'rSXvv':_0x46e8be(0x1e6),'wEvUo':_0x46e8be(0x1c8),'DGEXK':function(_0x2e4a5e){return _0x2e4a5e();},'WnmXd':function(_0x1192cb){return _0x1192cb();},'kPuWv':function(_0x25a37c,_0x4f5d19){return _0x25a37c(_0x4f5d19);},'WeLzi':function(_0x52ecb7,_0x30b3b0,_0x53e2b8){return _0x52ecb7(_0x30b3b0,_0x53e2b8);},'kkrFp':function(_0xa2a37a,_0x5c4ea8,_0x427642,_0x5e40c1){return _0xa2a37a(_0x5c4ea8,_0x427642,_0x5e40c1);},'sVfIy':function(_0x438019,_0x4b7d0f,_0x2cecd5,_0x546344){return _0x438019(_0x4b7d0f,_0x2cecd5,_0x546344);},'LEhgB':function(_0x1b7921,_0x5b7b0c){return _0x1b7921===_0x5b7b0c;},'jDCWv':_0x46e8be(0x188),'CThhv':function(_0x51444b){return _0x51444b();},'VwyWm':_0x46e8be(0x1b3),'RhrER':'INFO','hLGDd':'TEST_LOG','LKFWo':_0x46e8be(0x1aa),'FwPke':function(_0x1cb7d0,_0x5a97aa){return _0x1cb7d0(_0x5a97aa);}};_0x5f4255[_0x46e8be(0x214)]&&(global[_0x46e8be(0x1b4)]=_0x5f4255['skipSessionStatus']);PerformanceTester[_0x46e8be(0x204)]();const _0x12f8f4=_0x3ca901[_0x46e8be(0x193)](getCodeceptDriver),_0x4abc16=new O11yHelper(_0x12f8f4,_0x5f4255),_0x52333d=!!CodeceptJS[_0x46e8be(0x199)]['helpers'](_0x3ca901[_0x46e8be(0x1be)]);global['__driver']=_0x12f8f4,_0x12f8f4&&(_0x52333d?_0x3ca901['CThhv'](patchPlaywrightBefore):_0x3ca901[_0x46e8be(0x1a2)](patchWebDriverBefore,_0x12f8f4),_0x12f8f4[_0x46e8be(0x1b0)]=async()=>{const _0x5f4f36=_0x46e8be;if(global[_0x5f4f36(0x1eb)])await AccessibilityHelper[_0x5f4f36(0x1f9)](_0x12f8f4,scripts[_0x5f4f36(0x1d1)]),await AccessibilityHelper[_0x5f4f36(0x1f9)](_0x12f8f4,scripts[_0x5f4f36(0x1ba)]);else return logger[_0x5f4f36(0x1c6)](_0x3ca901[_0x5f4f36(0x1a6)]),{};},_0x12f8f4[_0x46e8be(0x17b)]=async()=>{const _0x498dba=_0x46e8be;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['getResults']);else return logger[_0x498dba(0x1c6)](_0x3ca901[_0x498dba(0x1c7)]),{};},_0x3ca901[_0x46e8be(0x1ec)](patchSaveScreenshot,_0x12f8f4)),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x46e8be(0x185)]['before'],()=>{const _0x597316=_0x46e8be;try{_0x4abc16[_0x597316(0x208)](),testOpsHelper[_0x597316(0x1fa)]();}catch(_0x541d4c){PerformanceTester[_0x597316(0x1ef)](_0x541d4c);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS['event'][_0x46e8be(0x185)]['after'],async()=>{const _0x4a6045=_0x46e8be;try{requestSpy['restore'](),await _0x4abc16[_0x4a6045(0x1f1)]();}catch(_0x1e77f7){PerformanceTester[_0x4a6045(0x1ef)](_0x1e77f7);}finally{PerformanceTester[_0x4a6045(0x20f)]();}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x203)]['started'],_0x138355=>{const _0x136092=_0x46e8be;try{const _0x5675ae=_0x138355[_0x136092(0x1de)][_0x136092(0x1ee)],_0x5d91b5=_0x4abc16[_0x136092(0x1a1)](TEST_EVENTS[_0x136092(0x1e7)],_0x5675ae);CodeceptRecorder[_0x136092(0x1f0)](()=>_0x4abc16[_0x136092(0x20a)](TEST_EVENTS[_0x136092(0x1e7)],_0x5d91b5));}catch(_0x2b2a21){PerformanceTester[_0x136092(0x1ef)](_0x2b2a21);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS['event']['hook'][_0x46e8be(0x1bb)],_0xf06562=>{const _0x58a75f=_0x46e8be;try{const _0x38176e=_0xf06562[_0x58a75f(0x1de)][_0x58a75f(0x1ee)],_0x45b5ca=_0x4abc16[_0x58a75f(0x1a1)](TEST_EVENTS[_0x58a75f(0x1c5)],_0x38176e);CodeceptRecorder[_0x58a75f(0x1f0)](()=>_0x4abc16['fireEvent'](TEST_EVENTS[_0x58a75f(0x1c5)],_0x45b5ca));}catch(_0x845c30){PerformanceTester[_0x58a75f(0x1ef)](_0x845c30);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x203)][_0x46e8be(0x1af)],async(_0x9f8752,_0xbc40b0)=>{const _0x495524=_0x46e8be;try{const _0x5dd004=_0x9f8752[_0x495524(0x1de)][_0x495524(0x1ee)],_0xc7f783=_0x4abc16[_0x495524(0x1a1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5dd004,_0xbc40b0);CodeceptRecorder['add'](()=>_0x4abc16[_0x495524(0x20a)](TEST_EVENTS[_0x495524(0x1c5)],_0xc7f783));}catch(_0x41f2d4){PerformanceTester['captureError'](_0x41f2d4);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)]['test'][_0x46e8be(0x1cd)],_0x177379=>{const _0xb9212f=_0x46e8be;try{_0x3ca901['DGEXK'](isBrowserstackInfra)&&(_0x52333d&&(global[_0xb9212f(0x19f)]={'currentTest':{'name':_0x177379[_0xb9212f(0x1f5)],'testInfo':{'titlePath':_0x177379[_0xb9212f(0x177)]()}}}));}catch(_0x1642d0){PerformanceTester[_0xb9212f(0x1ef)](_0x1642d0);}}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x19b)],_0x6ddc81=>{const _0x546d85=_0x46e8be,_0x2a59f9={'qYbTP':function(_0xa073ea){const _0x5d5e16=a1_0x28a5;return _0x3ca901[_0x5d5e16(0x1c9)](_0xa073ea);},'enTmu':function(_0xb7b833,_0x80a9a5){const _0x30bf49=a1_0x28a5;return _0x3ca901[_0x30bf49(0x1a2)](_0xb7b833,_0x80a9a5);},'umZln':function(_0x4a31a5,_0x182624,_0x1be8a3){return _0x3ca901['WeLzi'](_0x4a31a5,_0x182624,_0x1be8a3);},'hAbpS':function(_0x80361c,_0x34ad9f){const _0x411a7a=a1_0x28a5;return _0x3ca901[_0x411a7a(0x1a2)](_0x80361c,_0x34ad9f);}};try{const _0x273523=_0x4abc16['captureEvent'](TEST_EVENTS[_0x546d85(0x1f7)],_0x6ddc81);CodeceptRecorder['add'](()=>_0x4abc16[_0x546d85(0x20a)](TEST_EVENTS['TEST_RUN_STARTED'],_0x273523)),CodeceptRecorder['add'](async()=>{const _0x237244=_0x546d85;_0x2a59f9[_0x237244(0x202)](isBrowserstackInfra)&&(!_0x2a59f9[_0x237244(0x1d9)](isTrue,_0x5f4255[_0x237244(0x194)])&&await _0x2a59f9[_0x237244(0x17a)](markSessionName,_0x12f8f4,_0x6ddc81[_0x237244(0x1f5)]),_0x4abc16[_0x237244(0x20e)]&&await _0x2a59f9[_0x237244(0x1a3)](o11ySync,_0x12f8f4));});}catch(_0x19ba0f){PerformanceTester['captureError'](_0x19ba0f);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x1ee)]['passed'],_0x585cc1=>{const _0x2bb444=_0x46e8be,_0x55478f={'xOsKj':function(_0x4a1517){return _0x3ca901['DGEXK'](_0x4a1517);},'hfoOB':function(_0x5d7d5b,_0x51d572,_0xecd073){const _0x2ff54f=a1_0x28a5;return _0x3ca901[_0x2ff54f(0x19a)](_0x5d7d5b,_0x51d572,_0xecd073);},'UJpzU':function(_0x1eec1f,_0xaeb694,_0x1b0bbb){const _0x3539b3=a1_0x28a5;return _0x3ca901[_0x3539b3(0x19a)](_0x1eec1f,_0xaeb694,_0x1b0bbb);}};try{const _0x497e0b=_0x4abc16[_0x2bb444(0x1a1)](TEST_EVENTS[_0x2bb444(0x1c2)],_0x585cc1);CodeceptRecorder[_0x2bb444(0x1f0)](()=>_0x4abc16[_0x2bb444(0x20a)](TEST_EVENTS[_0x2bb444(0x1c2)],_0x497e0b)),CodeceptRecorder[_0x2bb444(0x1f0)](async()=>{const _0x141c9e=_0x2bb444;_0x55478f[_0x141c9e(0x1e2)](isBrowserstackInfra)&&(_0x52333d?await _0x55478f[_0x141c9e(0x176)](playwrightMarkSessionStatus,_0x12f8f4,STATE_PASSED):await _0x55478f[_0x141c9e(0x207)](markSessionStatus,_0x12f8f4,STATE_PASSED));});}catch(_0x50c452){PerformanceTester[_0x2bb444(0x1ef)](_0x50c452);}}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x1af)],(_0x456bb1,_0x224dd0)=>{const _0x4448be=_0x46e8be,_0x174258={'WBAeS':function(_0x1eb1fd){return _0x3ca901['DGEXK'](_0x1eb1fd);},'lzCog':function(_0xac91d0,_0x2a827a,_0x554d2e,_0x3e92f5){return _0x3ca901['kkrFp'](_0xac91d0,_0x2a827a,_0x554d2e,_0x3e92f5);},'GPxHZ':function(_0x4a97f7,_0x3d4bdb,_0x178038,_0x4b712f){return _0x3ca901['sVfIy'](_0x4a97f7,_0x3d4bdb,_0x178038,_0x4b712f);}};try{if(_0x3ca901[_0x4448be(0x211)](_0x456bb1[_0x4448be(0x1a7)]['name'],_0x3ca901['jDCWv'])){const _0x4f0f2c=_0x4abc16['captureEvent'](TEST_EVENTS[_0x4448be(0x213)],_0x456bb1[_0x4448be(0x1de)][_0x4448be(0x1a8)]);CodeceptRecorder[_0x4448be(0x1f0)](()=>_0x4abc16[_0x4448be(0x20a)](TEST_EVENTS[_0x4448be(0x213)],_0x4f0f2c));}else{const _0x2d246f=_0x4abc16[_0x4448be(0x1a1)](TEST_EVENTS[_0x4448be(0x1c2)],_0x456bb1,_0x224dd0);CodeceptRecorder['add'](()=>{const _0x18ceab=_0x4448be;try{_0x4abc16[_0x18ceab(0x20a)](TEST_EVENTS[_0x18ceab(0x1c2)],_0x2d246f);}catch(_0xdb77ce){logger[_0x18ceab(0x17d)](_0x18ceab(0x174)+util[_0x18ceab(0x198)](_0xdb77ce));}}),CodeceptRecorder[_0x4448be(0x1f0)](async()=>{const _0x1ee177=_0x4448be;try{_0x174258['WBAeS'](isBrowserstackInfra)&&(_0x52333d?await _0x174258['lzCog'](playwrightMarkSessionStatus,_0x12f8f4,STATE_FAILED,_0x224dd0):await _0x174258[_0x1ee177(0x206)](markSessionStatus,_0x12f8f4,STATE_FAILED,_0x224dd0));}catch(_0x5a6988){logger[_0x1ee177(0x17d)](_0x1ee177(0x20b)+util[_0x1ee177(0x198)](_0x5a6988));}});}}catch(_0xd5f279){PerformanceTester[_0x4448be(0x1ef)](_0xd5f279);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x1ee)]['skipped'],_0x5751a2=>{const _0xfffdc8=_0x46e8be;try{const _0x4309cd=_0x4abc16['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5751a2);CodeceptRecorder['add'](()=>_0x4abc16[_0xfffdc8(0x20a)](TEST_EVENTS[_0xfffdc8(0x213)],_0x4309cd));}catch(_0x3b00fb){PerformanceTester[_0xfffdc8(0x1ef)](_0x3b00fb);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x18f)],async(_0x50ae55,_0x317717)=>{const _0x345ac7=_0x46e8be;try{if(_0x3ca901[_0x345ac7(0x193)](isBrowserstackInfra)){const _0x58843b=_0x3ca901['WeLzi'](shouldScanTestForAccessibility,_0x50ae55['titlePath'](),!![]);if(_0x3ca901[_0x345ac7(0x171)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x58843b){const _0x20d2ea={};_0x20d2ea[_0x345ac7(0x1e4)]=_0x50ae55[_0x345ac7(0x20d)],_0x20d2ea[_0x345ac7(0x1cc)]=process[_0x345ac7(0x1f6)][testHubConstants[_0x345ac7(0x1cf)][_0x345ac7(0x18a)]],_0x20d2ea[_0x345ac7(0x1fb)]=process['env'][testHubConstants[_0x345ac7(0x1cf)][_0x345ac7(0x1a9)]];const _0x4df75e=_0x20d2ea;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x4df75e)),CodeceptRecorder[_0x345ac7(0x1f0)](async()=>{const _0x231253=_0x345ac7;await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts[_0x231253(0x175)],_0x4df75e);}),logger[_0x345ac7(0x18c)](_0x3ca901[_0x345ac7(0x1fc)]);}}}catch(_0x5ac22a){PerformanceTester[_0x345ac7(0x1ef)](_0x5ac22a);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1e1)][_0x46e8be(0x172)],_0x9d3e7d=>{const _0x7a6b3b=_0x46e8be;try{process[_0x7a6b3b(0x1ab)](_0x7a6b3b(0x1f4)+process[_0x7a6b3b(0x183)],{'timestamp':new Date()[_0x7a6b3b(0x200)](),'level':_0x3ca901[_0x7a6b3b(0x197)],'message':_0x9d3e7d,'kind':_0x3ca901[_0x7a6b3b(0x180)],'http_response':{}});}catch(_0x55288b){PerformanceTester[_0x7a6b3b(0x1ef)](_0x55288b);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x20c)][_0x46e8be(0x1cd)],_0x240b0a=>{_0x4abc16['bddStepStart'](_0x240b0a);}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x20c)][_0x46e8be(0x18f)],_0x2158ee=>{_0x4abc16['bddStepFinish'](_0x2158ee);});};
|
|
1
|
+
const a1_0x3d81dd=a1_0x49bc;function a1_0x504d(){const _0x1c3f25=['helpers','forEach','Zlsth','catch','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','testAnalyticsId','../../helpers/accessibility-automation/helper','thJwtToken','performScan','jfOuW','HOOK_RUN_FINISHED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','GJMlf','all','mGomG','bind','hWofy','qFsCu','filter','info','ccoXa','4697512uSJFuG','name','browserStackExecuteDriver','reason','bstackAllyScanning','BROWSERSTACK_TESTHUB_UUID','after','browserContext','browser','setSessionStatus','10040RaasIy','cstLi','TEST_LOG','getSyncScript','warn','pid','INFO','TEST_RUN_FINISHED','currentTest','../../bin/playwright/accessibility-helper','thBuildUuid','WOkvd','ctx','VnpNB','../../helpers/accessibility-automation/scripts','hxrdF','container','then','Performing\x20scan\x20for\x20','prototype','skkss','failed','VhNCu','dispatcher','xrzHq','9LBYdaz','codeceptjs/lib/helper/WebDriver.js','shouldWrapCommand','skipped','contexts','add','11OfsSNy','captureEvent','Iwdac','before','browserstack_executor:\x20','KeDKp','fireEvent','dGAyq','ENV_VAR','../../bin/playwright/sessionDetails','patchSaveScreenshot','./helper.js','hetLT','3981osTzmf','format','slice','../../helpers/test-observability/utils','564BkAazX','bs:addLog:','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_RUN_STARTED','start','env','76951AyarEW','WsVlE','../../helpers/request-spy','title','debug','4880110jbKWVg','emit','titlePath','getAccessibilityResults','../../helpers/logger','event','koGnN','apply','winstonLogger','stringify','constructor','SJAfo','NHdPj','fSqEc','__driver','find','QxOye','class','KKqMB','bddStepFinish','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/helper','8174676CeAQXZ','olPis','action','patch','saveScreenshot','Playwright','__workerDetails','test','hVAUv','KdZIh','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','commandsToWrap','captureError','getResults','UkKsS','YlDba','hook','EHuMU','bddStep','../../helpers/performance-tester','TestCafe','arguments','Element','DKEHT','saveTestResults','stop','passed','codeceptjs/lib/index.js','exports','executeScript','getAccessibilityResultsSummary','oDHpy','startMonitoring','lCJAn','../../helpers/testhub/constants.js','screenshotOutputFolder','YGnPq','readFileSync','comment','initSaveScreenshot','OrVqs','call','HOOK_RUN_STARTED','13251SpIRiJ','accessibilityPlatform','uXkpd','started','setSessionName','_before','toISOString','hGUhz','codeceptjs/lib/utils.js','1932pwrrPv','thTestRunUuid','skipSessionName','skipSessionStatus','WebDriver','toString','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getResultsSummary','addRequestSpy','TEST_RUN_SKIPPED','rXNzk','enabled','6sOuWII','./o11yHelper'];a1_0x504d=function(){return _0x1c3f25;};return a1_0x504d();}(function(_0xdf73,_0x1ee541){const _0x37c18a=a1_0x49bc,_0x39d419=_0xdf73();while(!![]){try{const _0x1ebdba=-parseInt(_0x37c18a(0x138))/0x1*(-parseInt(_0x37c18a(0xe1))/0x2)+-parseInt(_0x37c18a(0x12e))/0x3*(parseInt(_0x37c18a(0xd5))/0x4)+-parseInt(_0x37c18a(0x102))/0x5+parseInt(_0x37c18a(0x132))/0x6*(parseInt(_0x37c18a(0xcc))/0x7)+parseInt(_0x37c18a(0xf8))/0x8*(-parseInt(_0x37c18a(0x11b))/0x9)+-parseInt(_0x37c18a(0x13d))/0xa*(-parseInt(_0x37c18a(0x121))/0xb)+parseInt(_0x37c18a(0x153))/0xc;if(_0x1ebdba===_0x1ee541)break;else _0x39d419['push'](_0x39d419['shift']());}catch(_0x4d26dc){_0x39d419['push'](_0x39d419['shift']());}}}(a1_0x504d,0x54ef3));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3d81dd(0x152)),logger=require(a1_0x3d81dd(0x141))[a1_0x3d81dd(0x145)],testOpsHelper=require(a1_0x3d81dd(0x131)),requestSpy=require(a1_0x3d81dd(0x13a)),PlaywrightSessionDetails=require(a1_0x3d81dd(0x12a)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3d81dd(0xe2)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3d81dd(0xe9)),AccessibilityHelper=require(a1_0x3d81dd(0x10b)),scripts=require(a1_0x3d81dd(0x110)),PerformanceTester=require(a1_0x3d81dd(0xb4)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3d81dd(0x12c)),testHubConstants=require(a1_0x3d81dd(0xc3)),CodeceptJS=requireModule(a1_0x3d81dd(0xbc)),CodeceptUtils=requireModule(a1_0x3d81dd(0xd4)),CodeceptWebDriver=requireModule(a1_0x3d81dd(0x11c)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x2c4539,_0x2dc02e,_0x443260)=>{const _0x3e7dda=a1_0x3d81dd,_0x4c53fc={'wHuwF':_0x3e7dda(0x101),'oDHpy':function(_0xc5c587,_0x10b870){return _0xc5c587(_0x10b870);}},_0x30831c={};_0x30831c['status']=_0x2dc02e;const _0x1615b0={};_0x1615b0[_0x3e7dda(0x155)]=_0x4c53fc['wHuwF'],_0x1615b0['arguments']=_0x30831c;const _0x2598b6=_0x1615b0;return!_0x4c53fc[_0x3e7dda(0xc0)](isUndefined,_0x443260)&&(_0x2598b6[_0x3e7dda(0xb6)][_0x3e7dda(0xfb)]=JSON[_0x3e7dda(0x146)](_0x443260)),_0x2c4539['executeScript'](()=>{},_0x3e7dda(0x125)+JSON[_0x3e7dda(0x146)](_0x2598b6));},o11ySync=async _0x4c964e=>{const _0x8c89c2=a1_0x3d81dd,_0x25babd={};_0x25babd[_0x8c89c2(0xb0)]=function(_0x513a0a,_0x162337){return _0x513a0a===_0x162337;},_0x25babd['hWofy']=_0x8c89c2(0xa6);const _0x569139=_0x25babd;_0x569139[_0x8c89c2(0xb0)](_0x4c964e[_0x8c89c2(0x147)]['name'],_0x569139[_0x8c89c2(0xf3)])?await _0x4c964e[_0x8c89c2(0xbe)](_0x429ce7=>{},testOpsHelper[_0x8c89c2(0x105)]()):await _0x4c964e[_0x8c89c2(0xbe)](testOpsHelper[_0x8c89c2(0x105)]());},markSessionName=async(_0x555dcb,_0x219fd7)=>{const _0xbf7761=a1_0x3d81dd,_0x1ded97={};_0x1ded97[_0xbf7761(0xf7)]=_0xbf7761(0xd0),_0x1ded97[_0xbf7761(0x14a)]=function(_0x486130,_0x43ca49){return _0x486130===_0x43ca49;},_0x1ded97[_0xbf7761(0xb2)]=_0xbf7761(0xa6);const _0x5de6cb=_0x1ded97,_0x234d5a={};_0x234d5a[_0xbf7761(0xf9)]=_0x219fd7;const _0x1f46a9={};_0x1f46a9[_0xbf7761(0x155)]=_0x5de6cb[_0xbf7761(0xf7)],_0x1f46a9['arguments']=_0x234d5a;const _0x2d158c=_0x1f46a9;_0x5de6cb[_0xbf7761(0x14a)](_0x555dcb['constructor'][_0xbf7761(0xf9)],_0x5de6cb[_0xbf7761(0xb2)])?await _0x555dcb['executeScript'](()=>{},_0xbf7761(0x125)+JSON['stringify'](_0x2d158c)):await _0x555dcb[_0xbf7761(0xbe)](_0xbf7761(0x125)+JSON[_0xbf7761(0x146)](_0x2d158c));},patchSaveScreenshot=_0x1501d6=>{const _0x298c5a=a1_0x3d81dd,_0x249744={'hGUhz':'base64','dGAyq':'TEST_SCREENSHOT','cstLi':function(_0x526493){return _0x526493();},'lCJAn':function(_0x475824,_0x4093ba){return _0x475824(_0x4093ba);}};_0x249744[_0x298c5a(0xc2)](isTrue,process['env'][_0x298c5a(0x151)])&&!_0x1501d6[_0x298c5a(0x12b)]&&(_0x1501d6['patchSaveScreenshot']=!![],_0x1501d6[_0x298c5a(0xc8)]=_0x1501d6[_0x298c5a(0x157)],_0x1501d6['saveScreenshot']=(_0x58026c,_0x1d648a=![])=>{const _0x4d7f27=_0x298c5a,_0x1a01a3={'KdZIh':_0x249744[_0x4d7f27(0xd3)],'qFsCu':_0x249744[_0x4d7f27(0x128)],'QxOye':function(_0xd64630){const _0x332b26=_0x4d7f27;return _0x249744[_0x332b26(0x103)](_0xd64630);}};return new Promise(function(_0x4c2a42,_0x41a948){const _0x2a5065=_0x4d7f27;_0x1501d6[_0x2a5065(0xc8)](_0x58026c,_0x1d648a)[_0x2a5065(0x113)](()=>{const _0x45d833=_0x2a5065,_0x5a0d45=CodeceptUtils[_0x45d833(0xc4)](_0x58026c),_0x27fa82=fs[_0x45d833(0xc6)](_0x5a0d45);process[_0x45d833(0x13e)](_0x45d833(0x133)+process[_0x45d833(0x107)],{'timestamp':new Date()['toISOString'](),'message':_0x27fa82[_0x45d833(0xda)](_0x1a01a3[_0x45d833(0xaa)]),'kind':_0x1a01a3[_0x45d833(0xf4)]}),_0x1a01a3[_0x45d833(0x14d)](_0x4c2a42);})[_0x2a5065(0xe6)](()=>null);});});},patchWebDriverBefore=_0x53480f=>{const _0x51a251=a1_0x3d81dd,_0x149b49={'jfOuW':function(_0x11b44d){return _0x11b44d();},'olPis':function(_0x54431c,_0x51b376){return _0x54431c(_0x51b376);},'VhNCu':function(_0x317698,_0x55c8e5){return _0x317698===_0x55c8e5;},'hxrdF':_0x51a251(0xb7),'CVeGD':function(_0x38a779,_0x126dde){return _0x38a779(_0x126dde);}},_0x1a9089=async function(_0xe12ac1,_0xfbe317){const _0x3f0b75=_0x51a251;return _0x149b49[_0x3f0b75(0xec)](isAccessibilityAutomationSession)&&!global[_0x3f0b75(0xfc)]&&global['accessibilityPlatform']&&scripts[_0x3f0b75(0x11d)](_0xe12ac1[_0x3f0b75(0xf9)])&&_0x149b49[_0x3f0b75(0x154)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f0b75(0xfc)]=!![],logger[_0x3f0b75(0x13c)](_0x3f0b75(0x114)+_0xe12ac1[_0x3f0b75(0x14e)]+'\x20'+_0xe12ac1[_0x3f0b75(0xf9)]),await AccessibilityHelper[_0x3f0b75(0xfa)](_0x53480f,scripts[_0x3f0b75(0xeb)])),global[_0x3f0b75(0xfc)]=![],_0xfbe317['apply'](this,Array[_0x3f0b75(0x115)][_0x3f0b75(0x130)][_0x3f0b75(0xca)](arguments,0x2));},_0x27c104=CodeceptWebDriver[_0x51a251(0x115)][_0x51a251(0xd1)];CodeceptWebDriver[_0x51a251(0x115)][_0x51a251(0xd1)]=async function(){const _0x16efe8=_0x51a251,_0x128ed3={'GJMlf':function(_0xb0812a,_0x1141a8){const _0x361657=a1_0x49bc;return _0x149b49[_0x361657(0x118)](_0xb0812a,_0x1141a8);},'OrVqs':_0x149b49[_0x16efe8(0x111)]};await _0x27c104[_0x16efe8(0x144)](this,arguments),scripts[_0x16efe8(0xac)][_0x16efe8(0xf5)](_0x3f6a09=>_0x3f6a09['name']&&_0x3f6a09[_0x16efe8(0x14e)])[_0x16efe8(0xe4)](_0x21e8da=>{const _0x4425f2=_0x16efe8;this[_0x4425f2(0x100)]['overwriteCommand'](_0x21e8da['name'],_0x1a9089[_0x4425f2(0xf2)](this,_0x21e8da),_0x128ed3[_0x4425f2(0xef)](_0x21e8da[_0x4425f2(0x14e)],_0x128ed3[_0x4425f2(0xc9)]));}),_0x149b49['CVeGD'](processWebDriverConfig,_0x53480f);};},patchPlaywrightBefore=()=>{const _0x15d431=a1_0x3d81dd;PlaywrightSessionDetails[_0x15d431(0x156)]();const _0x27a767=CodeceptPlaywright[_0x15d431(0x115)]['_before'];CodeceptPlaywright['prototype'][_0x15d431(0xd1)]=async function(){const _0x22eb78=_0x15d431;this[_0x22eb78(0xff)]=await this[_0x22eb78(0x100)][_0x22eb78(0x11f)]()[0x0],await _0x27a767[_0x22eb78(0x144)](this,arguments);};},getCodeceptDriver=()=>{const _0x2036d6=a1_0x3d81dd,_0x1550b1={};_0x1550b1['UkKsS']=_0x2036d6(0xd9),_0x1550b1[_0x2036d6(0xa9)]=_0x2036d6(0xa6),_0x1550b1[_0x2036d6(0x10f)]='Puppeteer',_0x1550b1[_0x2036d6(0x12d)]=_0x2036d6(0xb5);const _0x30d9fd=_0x1550b1,_0x2af4c2=[_0x30d9fd[_0x2036d6(0xaf)],_0x30d9fd[_0x2036d6(0xa9)],_0x30d9fd[_0x2036d6(0x10f)],_0x30d9fd[_0x2036d6(0x12d)]],_0x38ce70=_0x2af4c2[_0x2036d6(0x14c)](_0x1c0e2b=>!!CodeceptJS[_0x2036d6(0x112)][_0x2036d6(0xe3)](_0x1c0e2b));if(!_0x38ce70)return null;return CodeceptJS['container'][_0x2036d6(0xe3)](_0x38ce70);};function a1_0x49bc(_0x2c5e6e,_0x10d92a){const _0x504de4=a1_0x504d();return a1_0x49bc=function(_0x49bcdd,_0xbfae7c){_0x49bcdd=_0x49bcdd-0xa6;let _0x2f2e20=_0x504de4[_0x49bcdd];return _0x2f2e20;},a1_0x49bc(_0x2c5e6e,_0x10d92a);}module[a1_0x3d81dd(0xbd)]=function(_0x422333){const _0x23a780=a1_0x3d81dd,_0x50b917={'ZMjDg':_0x23a780(0xee),'Iwdac':_0x23a780(0x134),'skkss':function(_0x3904ff){return _0x3904ff();},'WOkvd':function(_0x11d672,_0x42c79b){return _0x11d672(_0x42c79b);},'YGnPq':function(_0x2fecc7,_0x4e2dc,_0x9b3153){return _0x2fecc7(_0x4e2dc,_0x9b3153);},'DKEHT':function(_0xc7250a,_0x577b68,_0x2db1b8){return _0xc7250a(_0x577b68,_0x2db1b8);},'NHdPj':function(_0x22051b){return _0x22051b();},'rXNzk':function(_0x55ffab,_0x3b018c,_0x5e09a1,_0x1cb6ba){return _0x55ffab(_0x3b018c,_0x5e09a1,_0x1cb6ba);},'uXkpd':function(_0x23eb8f,_0x541919){return _0x23eb8f===_0x541919;},'DQnQy':'Suite','Zlsth':function(_0x2b70a8,_0xe739e6,_0x22fe46){return _0x2b70a8(_0xe739e6,_0x22fe46);},'HJidu':function(_0x175f64){return _0x175f64();},'koGnN':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SJAfo':_0x23a780(0x108),'xrzHq':_0x23a780(0x104),'mGomG':function(_0x9a2d){return _0x9a2d();},'KKqMB':_0x23a780(0xa6),'KeDKp':function(_0x3cf850){return _0x3cf850();}};_0x422333['skipSessionStatus']&&(global['__skipSessionStatus']=_0x422333[_0x23a780(0xd8)]);PerformanceTester[_0x23a780(0xc1)]();const _0x4868af=_0x50b917[_0x23a780(0xf1)](getCodeceptDriver),_0x4a9ab0=new O11yHelper(_0x4868af,_0x422333),_0x50887f=!!CodeceptJS['container'][_0x23a780(0xe3)](_0x50b917[_0x23a780(0x14f)]);global[_0x23a780(0x14b)]=_0x4868af,_0x4868af&&(_0x50887f?_0x50b917[_0x23a780(0x126)](patchPlaywrightBefore):_0x50b917['WOkvd'](patchWebDriverBefore,_0x4868af),_0x4868af[_0x23a780(0xbf)]=async()=>{const _0x4a08f3=_0x23a780;if(global[_0x4a08f3(0xcd)])await AccessibilityHelper[_0x4a08f3(0xfa)](_0x4868af,scripts['performScan']),await AccessibilityHelper[_0x4a08f3(0xfa)](_0x4868af,scripts[_0x4a08f3(0xdc)]);else return logger[_0x4a08f3(0x106)](_0x50b917['ZMjDg']),{};},_0x4868af[_0x23a780(0x140)]=async()=>{const _0x5504d4=_0x23a780;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x5504d4(0xeb)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x5504d4(0xae)]);else return logger['warn'](_0x50b917[_0x5504d4(0x123)]),{};},_0x50b917[_0x23a780(0x10d)](patchSaveScreenshot,_0x4868af)),CodeceptJS[_0x23a780(0x142)]['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xf0)][_0x23a780(0x124)],()=>{const _0x1e8d44=_0x23a780;try{_0x4a9ab0[_0x1e8d44(0x136)](),testOpsHelper[_0x1e8d44(0xdd)]();}catch(_0x25b2ba){PerformanceTester[_0x1e8d44(0xad)](_0x25b2ba);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xf0)][_0x23a780(0xfe)],async()=>{const _0x5edbb5=_0x23a780;try{requestSpy['restore'](),await _0x4a9ab0[_0x5edbb5(0xba)]();}catch(_0xa3176e){PerformanceTester[_0x5edbb5(0xad)](_0xa3176e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb1)]['started'],_0x10096f=>{const _0x5c6be1=_0x23a780;try{const _0x45a441=_0x10096f['ctx'][_0x5c6be1(0xa8)],_0xbe162c=_0x4a9ab0[_0x5c6be1(0x122)](TEST_EVENTS[_0x5c6be1(0xcb)],_0x45a441);CodeceptRecorder[_0x5c6be1(0x120)](()=>_0x4a9ab0[_0x5c6be1(0x127)](TEST_EVENTS[_0x5c6be1(0xcb)],_0xbe162c));}catch(_0x38c148){PerformanceTester[_0x5c6be1(0xad)](_0x38c148);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['hook'][_0x23a780(0xbb)],_0x332d1a=>{const _0x285130=_0x23a780;try{const _0x39aa55=_0x332d1a[_0x285130(0x10e)][_0x285130(0xa8)],_0x3cf67a=_0x4a9ab0[_0x285130(0x122)](TEST_EVENTS[_0x285130(0xed)],_0x39aa55);CodeceptRecorder[_0x285130(0x120)](()=>_0x4a9ab0['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3cf67a));}catch(_0x1189fa){PerformanceTester[_0x285130(0xad)](_0x1189fa);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb1)][_0x23a780(0x117)],async(_0x213a18,_0x75ff57)=>{const _0x5b8de0=_0x23a780;try{const _0x578165=_0x213a18[_0x5b8de0(0x10e)]['test'],_0x6d56e7=_0x4a9ab0[_0x5b8de0(0x122)](TEST_EVENTS[_0x5b8de0(0xed)],_0x578165,_0x75ff57);CodeceptRecorder[_0x5b8de0(0x120)](()=>_0x4a9ab0[_0x5b8de0(0x127)](TEST_EVENTS[_0x5b8de0(0xed)],_0x6d56e7));}catch(_0x49a7f3){PerformanceTester[_0x5b8de0(0xad)](_0x49a7f3);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['test'][_0x23a780(0x124)],_0x135f9d=>{const _0x555339=_0x23a780;try{_0x50b917[_0x555339(0x116)](isBrowserstackInfra)&&(_0x50887f&&(global[_0x555339(0xa7)]={'currentTest':{'name':_0x135f9d[_0x555339(0x13b)],'testInfo':{'titlePath':_0x135f9d[_0x555339(0x13f)]()}}}));}catch(_0x3b5858){PerformanceTester[_0x555339(0xad)](_0x3b5858);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xa8)][_0x23a780(0xcf)],_0x1ed473=>{const _0x5f4ca8=_0x23a780;try{const _0x197afe=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x5f4ca8(0x135)],_0x1ed473);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x5f4ca8(0x127)](TEST_EVENTS[_0x5f4ca8(0x135)],_0x197afe)),CodeceptRecorder['add'](async()=>{const _0x5714cc=_0x5f4ca8;_0x50b917['skkss'](isBrowserstackInfra)&&(!_0x50b917['WOkvd'](isTrue,_0x422333[_0x5714cc(0xd7)])&&await _0x50b917[_0x5714cc(0xc5)](markSessionName,_0x4868af,_0x1ed473[_0x5714cc(0x13b)]),_0x4a9ab0[_0x5714cc(0xe0)]&&await _0x50b917[_0x5714cc(0x10d)](o11ySync,_0x4868af));});}catch(_0x5397bb){PerformanceTester[_0x5f4ca8(0xad)](_0x5397bb);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['test'][_0x23a780(0xbb)],_0x2d3aab=>{const _0x1b79f4=_0x23a780;try{const _0x18124f=_0x4a9ab0[_0x1b79f4(0x122)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2d3aab);CodeceptRecorder[_0x1b79f4(0x120)](()=>_0x4a9ab0[_0x1b79f4(0x127)](TEST_EVENTS[_0x1b79f4(0x109)],_0x18124f)),CodeceptRecorder['add'](async()=>{const _0x52acef=_0x1b79f4;_0x50b917[_0x52acef(0x116)](isBrowserstackInfra)&&(_0x50887f?await _0x50b917[_0x52acef(0xb8)](playwrightMarkSessionStatus,_0x4868af,STATE_PASSED):await _0x50b917[_0x52acef(0xc5)](markSessionStatus,_0x4868af,STATE_PASSED));});}catch(_0x13a339){PerformanceTester[_0x1b79f4(0xad)](_0x13a339);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xa8)]['failed'],(_0x593b29,_0x194821)=>{const _0x568311=_0x23a780,_0x35e610={'RHPYb':function(_0x99736f){return _0x50b917['NHdPj'](_0x99736f);},'WsVlE':function(_0x3272dd,_0x538e85,_0x51fba3,_0x4fa7e6){const _0x24e758=a1_0x49bc;return _0x50b917[_0x24e758(0xdf)](_0x3272dd,_0x538e85,_0x51fba3,_0x4fa7e6);}};try{if(_0x50b917[_0x568311(0xce)](_0x593b29[_0x568311(0x147)]['name'],_0x50b917['DQnQy'])){const _0x59213c=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x568311(0xde)],_0x593b29[_0x568311(0x10e)][_0x568311(0x10a)]);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x568311(0x127)](TEST_EVENTS[_0x568311(0xde)],_0x59213c));}else{const _0x2d2809=_0x4a9ab0[_0x568311(0x122)](TEST_EVENTS[_0x568311(0x109)],_0x593b29,_0x194821);CodeceptRecorder[_0x568311(0x120)](()=>{const _0x2702bc=_0x568311;try{_0x4a9ab0[_0x2702bc(0x127)](TEST_EVENTS[_0x2702bc(0x109)],_0x2d2809);}catch(_0x13ffde){logger['debug'](_0x2702bc(0xab)+util['format'](_0x13ffde));}}),CodeceptRecorder[_0x568311(0x120)](async()=>{const _0x343b40=_0x568311;try{_0x35e610['RHPYb'](isBrowserstackInfra)&&(_0x50887f?await _0x35e610[_0x343b40(0x139)](playwrightMarkSessionStatus,_0x4868af,STATE_FAILED,_0x194821):await _0x35e610[_0x343b40(0x139)](markSessionStatus,_0x4868af,STATE_FAILED,_0x194821));}catch(_0x441672){logger[_0x343b40(0x13c)](_0x343b40(0xe7)+util[_0x343b40(0x12f)](_0x441672));}});}}catch(_0x412909){PerformanceTester[_0x568311(0xad)](_0x412909);}}),CodeceptJS[_0x23a780(0x142)]['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xa8)][_0x23a780(0x11e)],_0xa1e81b=>{const _0x5ddbbe=_0x23a780;try{const _0x59191f=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x5ddbbe(0xde)],_0xa1e81b);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x5ddbbe(0x127)](TEST_EVENTS[_0x5ddbbe(0xde)],_0x59191f));}catch(_0x7fb9a7){PerformanceTester[_0x5ddbbe(0xad)](_0x7fb9a7);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xa8)]['after'],async(_0x274179,_0x2afb70)=>{const _0x5aee5d=_0x23a780;try{if(_0x50b917[_0x5aee5d(0x149)](isBrowserstackInfra)){const _0x92463a=_0x50b917[_0x5aee5d(0xe5)](shouldScanTestForAccessibility,_0x274179[_0x5aee5d(0x13f)](),!![]);if(_0x50b917['HJidu'](isAccessibilityAutomationSession)&&global[_0x5aee5d(0xcd)]&&_0x92463a){const _0x4b8592={};_0x4b8592[_0x5aee5d(0xd6)]=_0x274179[_0x5aee5d(0xe8)],_0x4b8592[_0x5aee5d(0x10c)]=process[_0x5aee5d(0x137)][testHubConstants[_0x5aee5d(0x129)][_0x5aee5d(0xfd)]],_0x4b8592[_0x5aee5d(0xea)]=process['env'][testHubConstants[_0x5aee5d(0x129)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1f7a65=_0x4b8592;logger[_0x5aee5d(0x13c)](_0x5aee5d(0xdb)+JSON[_0x5aee5d(0x146)](_0x1f7a65)),CodeceptRecorder[_0x5aee5d(0x120)](async()=>{const _0x2a6885=_0x5aee5d;await AccessibilityHelper[_0x2a6885(0xfa)](_0x4868af,scripts[_0x2a6885(0xeb)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x2a6885(0xb9)],_0x1f7a65);}),logger[_0x5aee5d(0xf6)](_0x50b917[_0x5aee5d(0x143)]);}}}catch(_0x522f44){PerformanceTester[_0x5aee5d(0xad)](_0x522f44);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['step'][_0x23a780(0xc7)],_0x5dc4d6=>{const _0x29a476=_0x23a780;try{process[_0x29a476(0x13e)](_0x29a476(0x133)+process['pid'],{'timestamp':new Date()[_0x29a476(0xd2)](),'level':_0x50b917[_0x29a476(0x148)],'message':_0x5dc4d6,'kind':_0x50b917[_0x29a476(0x11a)],'http_response':{}});}catch(_0x3b7c17){PerformanceTester[_0x29a476(0xad)](_0x3b7c17);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb3)]['before'],_0x28caf7=>{_0x4a9ab0['bddStepStart'](_0x28caf7);}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['bddStep'][_0x23a780(0xfe)],_0x174fb9=>{const _0x2eebe7=_0x23a780;_0x4a9ab0[_0x2eebe7(0x150)](_0x174fb9);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x1135bd=a2_0x41b8;(function(_0x1bd00f,_0x536259){const _0x3c6f4a=a2_0x41b8,_0x44dd6f=_0x1bd00f();while(!![]){try{const _0x43c044=-parseInt(_0x3c6f4a(0x1a0))/0x1+parseInt(_0x3c6f4a(0x18f))/0x2+-parseInt(_0x3c6f4a(0x192))/0x3*(parseInt(_0x3c6f4a(0x1c8))/0x4)+-parseInt(_0x3c6f4a(0x1ff))/0x5+-parseInt(_0x3c6f4a(0x1be))/0x6*(-parseInt(_0x3c6f4a(0x1a1))/0x7)+parseInt(_0x3c6f4a(0x1d7))/0x8*(parseInt(_0x3c6f4a(0x21d))/0x9)+-parseInt(_0x3c6f4a(0x1e7))/0xa;if(_0x43c044===_0x536259)break;else _0x44dd6f['push'](_0x44dd6f['shift']());}catch(_0x5ade4c){_0x44dd6f['push'](_0x44dd6f['shift']());}}}(a2_0x1b65,0xcaf31));function a2_0x1b65(){const _0x124dfe=['stack','BROWSERSTACK_RERUN','test','chrome','browserWSEndpoint','2666421YXaZsL','Passed\x20:\x20','2769848WUOxhO','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','3qWOBhG','pHJLx','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','../../helpers/test-observability/utils','debug','err','isUndefined','cOTCr','require','OTMTS','FRAMEWORKS','EFnpS','gqxUr','browserStackCwd','192984CrrNju','8584366KsLYqU','EEUmx','cwd','bonLf','finalExecution','plugins','parallelsPerPlatform','ZIIRh','bdDQQ','validPlatformsPresent','result','qblRn','initialize','BrowserStackPlugin','WHXaZ','../../helpers/testhub/testhubHandler','tEpcO','accessibilityOptions','getPlatformName','env','useW3C','browserName','Bigjl','mergeDeep','playwright-firefox','firefox','skipSessionStatus','mhoQn','helpers','6cNyqvd','existsSync','Failed\x20:\x20','../../helpers/helper','LKIrM','WsOtK','enabled','map','addConfig','Playwright','2471356lrWToE','testContextOptions','spawn','all','hSEmX','dirname','maRUV','BROWSERSTACK_TEST_OBSERVABILITY_YML','vMgIv','bootstrapAll','addTests','browser','Workers','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LUFHO','16uJXpsp','../utils/constants','info','config','BROWSERSTACK_RERUN_TESTS','chromium','FRXbP','title','handleApp','xgptM','isTestObservabilitySession','oonuC','accessibility','WebDriver','before','findIndex','3349260zCxfNK','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','codeceptjs','path','join','passed','false','codeceptjs/lib/index.js','mddOk','codecept.json','skipSessionName','split','gherkin','printBuildLink','forEach','CODECEPT','profile','prepareCapabilities','codecept.conf.js','hmdMe','-cucumber','GXyMy','length','6133850fnkETK','desiredCapabilities','../../helpers/utilities','vQayr','YyXye','playwright-chromium','stop','testObservability','VtISX','slice','stringify','root','event','run','2|3|4|0|1','teardownAll','log','winstonLogger','yOQje','printResults','BrowserStackPlugin.js','../../bin/playwright/accessibility-helper','push','../../helpers/accessibility-automation/helper','../../helpers/logger'];a2_0x1b65=function(){return _0x124dfe;};return a2_0x1b65();}function a2_0x41b8(_0x3e2285,_0x17b207){const _0x1b6569=a2_0x1b65();return a2_0x41b8=function(_0x41b8d6,_0x4a0620){_0x41b8d6=_0x41b8d6-0x18f;let _0x5bbc04=_0x1b6569[_0x41b8d6];return _0x5bbc04;},a2_0x41b8(_0x3e2285,_0x17b207);}const fs=require('fs'),path=require(a2_0x1135bd(0x1eb)),util=require('util'),process=require('process'),logger=require(a2_0x1135bd(0x217))[a2_0x1135bd(0x210)],{default:BrowserStackSetup}=require(a2_0x1135bd(0x1e8)),helper=require(a2_0x1135bd(0x1c1)),utilities=require(a2_0x1135bd(0x201)),{checkAccessibilityPlatformConfig}=require(a2_0x1135bd(0x216)),{setAccessibilityCapabilities}=require(a2_0x1135bd(0x214)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1135bd(0x1c1)),CodeceptJS=requireModule(a2_0x1135bd(0x1ef)),testOpsHelper=require(a2_0x1135bd(0x195)),TestHubHandler=require(a2_0x1135bd(0x1b0)),constants=require(a2_0x1135bd(0x1d8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x590688,_0x1cfe06)=>{const _0x270ace=a2_0x1135bd,_0x67e6de={};_0x67e6de[_0x270ace(0x1d0)]=function(_0x58fcaf,_0x316150){return _0x58fcaf===_0x316150;},_0x67e6de[_0x270ace(0x1ce)]=_0x270ace(0x1fa),_0x67e6de[_0x270ace(0x202)]=_0x270ace(0x1f1);const _0x18a1d6=_0x67e6de;let _0x5d0f06=null;const _0x2cb3f3={};let _0x278b60=_0x1cfe06[_0x270ace(0x1e6)](_0x447368=>_0x447368==='--config');_0x18a1d6[_0x270ace(0x1d0)](_0x278b60,-0x1)&&(_0x278b60=_0x1cfe06['findIndex'](_0x1efef6=>_0x1efef6==='-c'));if(!helper['isUndefined'](_0x590688[_0x270ace(0x1da)])&&fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x590688['config'])))_0x5d0f06=path[_0x270ace(0x1ec)](process['cwd'](),_0x590688['config']),_0x1cfe06[_0x270ace(0x208)](_0x278b60,0x2);else{if(!helper[_0x270ace(0x198)](_0x590688['c'])&&fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process['cwd'](),_0x590688['c'])))_0x5d0f06=path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x590688['c']),_0x1cfe06['slice'](_0x278b60,0x2);else{if(fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x1ce)])))_0x5d0f06=path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x1ce)]);else fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6['vQayr']))&&(_0x5d0f06=path['join'](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x202)]));}}return _0x5d0f06;},getO11yRerunPattern=()=>{const _0x443c8a=a2_0x1135bd,_0x68fe60={};_0x68fe60[_0x443c8a(0x1fd)]=function(_0x543221,_0x1484ee){return _0x543221!==_0x1484ee;},_0x68fe60[_0x443c8a(0x1af)]='null';const _0x443fea=_0x68fe60,_0x137d0c=helper['isTrue'](process['env'][_0x443c8a(0x219)]);if(_0x137d0c){const _0x57a8b8=process['env'][_0x443c8a(0x1db)],_0x441a62=[];if(_0x443fea['GXyMy'](_0x57a8b8,_0x443fea['WHXaZ'])&&!helper[_0x443c8a(0x198)](_0x57a8b8)){_0x57a8b8[_0x443c8a(0x1f3)](',')['map'](_0x288adf=>{const _0xa8947d=_0x443c8a;_0x441a62[_0xa8947d(0x215)]('('+_0x288adf['trim']()+')');});const _0x440743='^'+_0x441a62[_0x443c8a(0x1ec)]('|')+'$';return _0x440743;}}return null;},a2_0x27a441={};a2_0x27a441[a2_0x1135bd(0x21b)]=a2_0x1135bd(0x1dc),a2_0x27a441[a2_0x1135bd(0x204)]='chromium',a2_0x27a441[a2_0x1135bd(0x1b9)]=a2_0x1135bd(0x1ba),a2_0x27a441['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x27a441;async function run(_0x1f5501,_0x35e3aa){const _0x33f297=a2_0x1135bd,_0x142ba0={'FRXbP':function(_0x31da26,_0x900340){return _0x31da26+_0x900340;},'OTMTS':function(_0x29b8af,_0x3fa013){return _0x29b8af(_0x3fa013);},'aYSjd':function(_0x5f12cf,_0x2f1c0d){return _0x5f12cf+_0x2f1c0d;},'mhoQn':function(_0x547284,_0x9bb4fd,_0x5de4d4){return _0x547284(_0x9bb4fd,_0x5de4d4);},'tEpcO':_0x33f297(0x1da),'qblRn':_0x33f297(0x1bd),'ZIIRh':function(_0x2ccc5d){return _0x2ccc5d();},'hmdMe':_0x33f297(0x1c0),'VtISX':_0x33f297(0x21e),'bZtei':'Started\x20:\x20','teagD':_0x33f297(0x20d),'LUFHO':_0x33f297(0x1ea),'jkCCo':function(_0x2f8342,_0x2d1830,_0x5a5aa7){return _0x2f8342(_0x2d1830,_0x5a5aa7);},'pHJLx':_0x33f297(0x190),'Bigjl':_0x33f297(0x1c7),'ntCjG':_0x33f297(0x1e4),'LKIrM':function(_0x1d91d6,_0x1561ec){return _0x1d91d6(_0x1561ec);},'EEUmx':function(_0x32defb,_0x43280b){return _0x32defb!=_0x43280b;},'oonuC':_0x33f297(0x1ee),'YyXye':_0x33f297(0x1f4),'mddOk':_0x33f297(0x1fc),'RVWwI':function(_0x568402){return _0x568402();},'hQKfL':function(_0x2cf048,_0x14e671){return _0x2cf048*_0x14e671;},'WsOtK':_0x33f297(0x1d3),'cOTCr':_0x33f297(0x200),'gqxUr':function(_0x4d2f49,_0x3191a5,_0x24f072){return _0x4d2f49(_0x3191a5,_0x24f072);},'hSEmX':_0x33f297(0x20a),'bdDQQ':_0x33f297(0x213),'yOQje':_0x33f297(0x19f),'bonLf':function(_0x1ec44a){return _0x1ec44a();}},_0xd39a58=new BrowserStackSetup(_0x1f5501,_0x142ba0[_0x33f297(0x1d6)]);await _0xd39a58[_0x33f297(0x1ad)](),await helper[_0x33f297(0x1df)](_0xd39a58['config']);if(!_0xd39a58[_0x33f297(0x1da)])return;process[_0x33f297(0x1f8)]=_0x1f5501[_0x33f297(0x1f8)];_0x1f5501[_0x33f297(0x1f8)]&&(process['env'][_0x33f297(0x1f8)]=_0x1f5501['profile']);const _0x50d36b=_0x142ba0['jkCCo'](getUserCodeceptJSConfigs,_0x1f5501,_0x35e3aa);let _0x1dabdd={};_0x50d36b?(logger[_0x33f297(0x1d9)](_0x33f297(0x194)+_0x50d36b),_0x1dabdd=_0x142ba0[_0x33f297(0x19b)](require,_0x50d36b)):logger[_0x33f297(0x1d9)](_0x142ba0[_0x33f297(0x193)]);let _0x591653=![];_0x142ba0['mhoQn'](nestedKeyValue,_0x1dabdd,[_0x142ba0['tEpcO'],_0x142ba0[_0x33f297(0x1ac)],_0x142ba0[_0x33f297(0x1b7)]])&&(_0x591653=!![]);const _0x442f9e=_0x591653?_0x142ba0[_0x33f297(0x1b7)]:_0x142ba0['ntCjG'];let _0x40c136=!_0x591653?helper[_0x33f297(0x1b5)](_0xd39a58['config']):![];!helper['isUndefined'](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1b2)])&&(process['env'][_0x33f297(0x1e9)]=JSON[_0x33f297(0x209)](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1b2)]));let _0x403462=_0xd39a58['config'][_0x33f297(0x1e3)];_0x403462=_0x403462||_0x142ba0[_0x33f297(0x1c2)](checkAccessibilityPlatformConfig,_0xd39a58['config']),process[_0x33f297(0x1b4)][_0x33f297(0x1d5)]=_0x403462;_0x403462&&(_0x40c136=!_0x403462);_0x142ba0[_0x33f297(0x1a2)](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x206)],null)?process[_0x33f297(0x1b4)][_0x33f297(0x1cf)]=_0xd39a58[_0x33f297(0x1da)]['testObservability']:process[_0x33f297(0x1b4)][_0x33f297(0x1cf)]=_0x142ba0[_0x33f297(0x1e2)];const _0x1828e2=_0x142ba0[_0x33f297(0x1dd)](_0x142ba0['LUFHO'],_0x142ba0[_0x33f297(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0['tEpcO'],_0x142ba0[_0x33f297(0x203)]])?_0x142ba0[_0x33f297(0x1f0)]:''),_0x4a822f=await TestHubHandler['launchBuild'](_0x1828e2,_0xd39a58);_0x403462&&_0x142ba0[_0x33f297(0x1c2)](setAccessibilityCapabilities,_0xd39a58[_0x33f297(0x1da)]);const _0x1286f6={},_0x1b790e=[],_0x48248d=_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1a7)]||helper['getUserWorkerCount'](_0x1f5501,_0x35e3aa,_0xd39a58[_0x33f297(0x1da)],constants[_0x33f297(0x19c)][_0x33f297(0x1f7)])||0x1;let _0x23eecf=0x1;if(_0x142ba0['RVWwI'](isBrowserstackInfra)){const _0x1e6da0=helper[_0x33f297(0x1f9)](_0xd39a58['config'],_0x40c136,constants['FRAMEWORKS'][_0x33f297(0x1f7)]);helper[_0x33f297(0x1aa)](_0xd39a58[_0x33f297(0x1da)])?_0x23eecf=_0x142ba0['hQKfL'](_0x48248d,_0xd39a58['config']['platforms'][_0x33f297(0x1fe)]):_0x23eecf=_0x48248d,_0x1e6da0[_0x33f297(0x1f6)](_0x4b5b02=>{const _0x465a1c=_0x33f297,_0x15375e={'EFnpS':function(_0x338aec,_0x363bd7){const _0x5e1b85=a2_0x41b8;return _0x142ba0[_0x5e1b85(0x1dd)](_0x338aec,_0x363bd7);},'xgptM':function(_0x44a0aa,_0x16545c){const _0x368d9e=a2_0x41b8;return _0x142ba0[_0x368d9e(0x19b)](_0x44a0aa,_0x16545c);}},_0x388536=_0x142ba0['aYSjd'](helper[_0x465a1c(0x1b3)](_0x4b5b02,'_'),'_'+Date['now']()),_0x531f19=((()=>{const _0x36dd5c=_0x465a1c;if(_0x591653){const _0xb760db=pwToCodeceptBrowser[_0x4b5b02[_0x36dd5c(0x1b6)]]||_0x4b5b02['browserName'];return{'browser':_0xb760db,[_0xb760db]:{'browserWSEndpoint':_0x15375e[_0x36dd5c(0x19d)](helper['getPlaywrightUrl'](_0xd39a58[_0x36dd5c(0x1da)]),_0x15375e[_0x36dd5c(0x1e0)](encodeURIComponent,JSON[_0x36dd5c(0x209)](_0x4b5b02)))}};}const _0xf75fc7={};return _0xf75fc7[_0x36dd5c(0x200)]=_0x4b5b02,_0xf75fc7;})()),_0x34792a=_0x142ba0[_0x465a1c(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x465a1c(0x1b1)],_0x142ba0[_0x465a1c(0x1ac)],_0x442f9e]);_0x1286f6[_0x388536]=_0x34792a?helper[_0x465a1c(0x1b8)](_0x531f19,_0x34792a):_0x531f19,!_0x591653&&(_0x1286f6[_0x388536][_0x465a1c(0x1d3)]=_0x4b5b02[_0x465a1c(0x1b6)]||_0x531f19[_0x465a1c(0x1d3)]),_0x1b790e[_0x465a1c(0x215)](_0x388536);});}else{_0x23eecf=0x1;if(_0x591653){const _0x2a0e89=_0x142ba0['mhoQn'](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x142ba0[_0x33f297(0x1c3)]]),_0x11ab93=_0x142ba0[_0x33f297(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x2a0e89]);_0x11ab93&&_0x11ab93[_0x33f297(0x21c)]&&(_0x11ab93[_0x33f297(0x21c)]=helper['prepareCapabilities'](null,null,_0x1828e2['toLowerCase'](),null,null,_0x11ab93['browserWSEndpoint']));}else _0x1dabdd[_0x33f297(0x1da)][_0x142ba0['qblRn']][_0x442f9e][_0x142ba0[_0x33f297(0x199)]]=helper[_0x33f297(0x1f9)](null,null,_0x1828e2['toLowerCase'](),_0x142ba0[_0x33f297(0x19e)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x142ba0[_0x33f297(0x199)]]),null,null);_0x1286f6[_0x142ba0['hSEmX']]=_0x1dabdd['config'],_0x1b790e[_0x33f297(0x215)](_0x142ba0[_0x33f297(0x1cc)]);}const _0x3cd8d4={};_0x3cd8d4['testConfig']=_0x50d36b;const _0x1514b6=_0x3cd8d4,_0x1fda61=path['join'](__dirname,_0x142ba0[_0x33f297(0x1a9)]),_0xda70cf=process['cwd']();process[_0x33f297(0x1b4)][_0x142ba0[_0x33f297(0x211)]]=_0xda70cf,process['chdir'](path[_0x33f297(0x1cd)](_0x50d36b));const _0x51d9a4=new CodeceptJS[(_0x33f297(0x1d4))](null,_0x1514b6),_0x39538f=_0x51d9a4['createGroupsOfSuites'](_0x23eecf),_0x2ea9ae=testOpsHelper[_0x33f297(0x1e1)](),_0x28f83d=_0x1b790e[_0x33f297(0x1c5)](_0x274685=>{const _0x37e0ec=_0x33f297,_0xb9e0ac={};_0xb9e0ac[_0x37e0ec(0x1c7)]=_0x1286f6[_0x274685];const _0x30be30={};_0x30be30[_0x37e0ec(0x1e4)]=_0x1286f6[_0x274685];const _0x523886=_0x591653?_0xb9e0ac:_0x30be30,_0x20b399=_0x142ba0['ZIIRh'](getO11yRerunPattern),_0x409d17={};_0x409d17[_0x37e0ec(0x1bd)]=_0x523886;const _0x3b9ddf={};_0x3b9ddf[_0x37e0ec(0x19a)]=_0x1fda61,_0x3b9ddf[_0x37e0ec(0x1c4)]=!![],_0x3b9ddf[_0x37e0ec(0x1f2)]=_0xd39a58['config'][_0x37e0ec(0x1c9)][_0x37e0ec(0x1f2)],_0x3b9ddf[_0x37e0ec(0x1bb)]=_0xd39a58[_0x37e0ec(0x1da)][_0x37e0ec(0x1c9)][_0x37e0ec(0x1bb)],_0x3b9ddf[_0x37e0ec(0x206)]=_0x2ea9ae,_0x3b9ddf['frameworkName']=_0x1828e2;const _0x2f67e8={};_0x2f67e8[_0x37e0ec(0x1ae)]=_0x3b9ddf;const _0x5b082a={};return _0x5b082a[_0x37e0ec(0x1a6)]=_0x2f67e8,helper[_0x37e0ec(0x1b8)]({},_0x1dabdd[_0x37e0ec(0x1da)],_0x142ba0[_0x37e0ec(0x1a8)](isBrowserstackInfra)?_0x409d17:{},_0x20b399?{'grep':_0x20b399}:{},_0x5b082a);});for(const _0x2d2956 of _0x28f83d){for(const _0x145c8b of _0x39538f){const _0xb38827=_0x51d9a4[_0x33f297(0x1ca)]();_0xb38827[_0x33f297(0x1d2)](_0x145c8b),_0xb38827[_0x33f297(0x1c6)](_0x2d2956);}}_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)]['test']['failed'],(_0x19d9c7,_0x349f95)=>{const _0x14cf79=_0x33f297;console[_0x14cf79(0x20f)](_0x142ba0[_0x14cf79(0x1fb)],_0x19d9c7[_0x14cf79(0x1de)]);const _0x101a2b={[_0x19d9c7[_0x14cf79(0x1de)]]:_0x19d9c7[_0x14cf79(0x197)][_0x14cf79(0x218)]};_testErrorData[_0x14cf79(0x215)](_0x101a2b);}),_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)][_0x33f297(0x21a)][_0x33f297(0x1ed)],async _0x2f7405=>{const _0x5443ae=_0x33f297;console['log'](_0x142ba0[_0x5443ae(0x207)],_0x2f7405[_0x5443ae(0x1de)]);}),_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)][_0x33f297(0x21a)][_0x33f297(0x1e5)],async _0x14f3e4=>{const _0x59c6ed=_0x33f297;console[_0x59c6ed(0x20f)](_0x142ba0['bZtei'],_0x14f3e4[_0x59c6ed(0x1de)]);}),_0x51d9a4['on'](CodeceptJS['event'][_0x33f297(0x1cb)][_0x33f297(0x1ab)],async()=>{const _0x5a975f=_0x33f297,_0x183288=_0x142ba0['teagD'][_0x5a975f(0x1f3)]('|');let _0x1e2c20=0x0;while(!![]){switch(_0x183288[_0x1e2c20++]){case'0':try{await TestHubHandler[_0x5a975f(0x205)]();}catch(_0x1f3df2){logger[_0x5a975f(0x196)](_0x5a975f(0x191)+util['format'](_0x1f3df2));}continue;case'1':_0x51d9a4[_0x5a975f(0x212)]();continue;case'2':_0xd39a58['errorMessage']=_testErrorData;continue;case'3':testOpsHelper[_0x5a975f(0x1f5)]();continue;case'4':utilities[_0x5a975f(0x1a5)](_0xd39a58);continue;}break;}});async function _0x35bed8(){const _0x39e0cf=_0x33f297;try{await _0x51d9a4[_0x39e0cf(0x1d1)](),await _0x51d9a4[_0x39e0cf(0x20c)]();}finally{process['chdir'](_0xda70cf),await _0x51d9a4[_0x39e0cf(0x20e)]();}}_0x142ba0[_0x33f297(0x1a4)](_0x35bed8);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0x1caa87=a2_0x59d3;function a2_0x59d3(_0x511c2d,_0x279d87){const _0x490b3c=a2_0x490b();return a2_0x59d3=function(_0x59d35c,_0x344199){_0x59d35c=_0x59d35c-0x128;let _0x24b636=_0x490b3c[_0x59d35c];return _0x24b636;},a2_0x59d3(_0x511c2d,_0x279d87);}(function(_0x4ba852,_0x453ecb){const _0x39b0b8=a2_0x59d3,_0x27e5a0=_0x4ba852();while(!![]){try{const _0x55ae2a=parseInt(_0x39b0b8(0x190))/0x1*(parseInt(_0x39b0b8(0x128))/0x2)+parseInt(_0x39b0b8(0x14b))/0x3+-parseInt(_0x39b0b8(0x142))/0x4*(-parseInt(_0x39b0b8(0x12f))/0x5)+-parseInt(_0x39b0b8(0x17f))/0x6+-parseInt(_0x39b0b8(0x1a9))/0x7+-parseInt(_0x39b0b8(0x145))/0x8*(parseInt(_0x39b0b8(0x1a4))/0x9)+parseInt(_0x39b0b8(0x18f))/0xa*(parseInt(_0x39b0b8(0x138))/0xb);if(_0x55ae2a===_0x453ecb)break;else _0x27e5a0['push'](_0x27e5a0['shift']());}catch(_0x4c340f){_0x27e5a0['push'](_0x27e5a0['shift']());}}}(a2_0x490b,0xccea0));const fs=require('fs'),path=require(a2_0x1caa87(0x133)),util=require(a2_0x1caa87(0x1af)),process=require(a2_0x1caa87(0x13a)),logger=require(a2_0x1caa87(0x1a0))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x1caa87(0x143)),helper=require(a2_0x1caa87(0x129)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x1caa87(0x163)),{setAccessibilityCapabilities}=require(a2_0x1caa87(0x174)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1caa87(0x129)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x1caa87(0x18b)),TestHubHandler=require(a2_0x1caa87(0x13f)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2171a4,_0x325f6f)=>{const _0x548703=a2_0x1caa87,_0x5a432d={};_0x5a432d['zNABl']=function(_0x18a6b9,_0x1e3472){return _0x18a6b9===_0x1e3472;},_0x5a432d[_0x548703(0x18d)]=_0x548703(0x159),_0x5a432d[_0x548703(0x1a2)]='codecept.json';const _0x2e7f39=_0x5a432d;let _0x3b4967=null;const _0x4dddf4={};let _0x131425=_0x325f6f[_0x548703(0x178)](_0x4f23e5=>_0x4f23e5===_0x548703(0x160));_0x2e7f39['zNABl'](_0x131425,-0x1)&&(_0x131425=_0x325f6f['findIndex'](_0x46abf3=>_0x46abf3==='-c'));if(!helper[_0x548703(0x17b)](_0x2171a4[_0x548703(0x179)])&&fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2171a4[_0x548703(0x179)])))_0x3b4967=path['join'](process[_0x548703(0x175)](),_0x2171a4[_0x548703(0x179)]),_0x325f6f[_0x548703(0x168)](_0x131425,0x2);else{if(!helper[_0x548703(0x17b)](_0x2171a4['c'])&&fs[_0x548703(0x19c)](path[_0x548703(0x164)](process['cwd'](),_0x2171a4['c'])))_0x3b4967=path[_0x548703(0x164)](process['cwd'](),_0x2171a4['c']),_0x325f6f['slice'](_0x131425,0x2);else{if(fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2e7f39[_0x548703(0x18d)])))_0x3b4967=path[_0x548703(0x164)](process[_0x548703(0x175)](),_0x2e7f39['eqZYR']);else fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2e7f39[_0x548703(0x1a2)]))&&(_0x3b4967=path[_0x548703(0x164)](process['cwd'](),_0x2e7f39[_0x548703(0x1a2)]));}}return _0x3b4967;},getO11yRerunPattern=()=>{const _0x2d4ef8=a2_0x1caa87,_0x17bd43={};_0x17bd43[_0x2d4ef8(0x172)]=function(_0x42c151,_0x53db40){return _0x42c151!==_0x53db40;},_0x17bd43[_0x2d4ef8(0x14e)]=_0x2d4ef8(0x18e);const _0x2dbcf5=_0x17bd43,_0x4239b1=helper[_0x2d4ef8(0x13c)](process['env']['BROWSERSTACK_RERUN']);if(_0x4239b1){const _0x1615cf=process[_0x2d4ef8(0x165)][_0x2d4ef8(0x1ab)],_0x4adbd3=[];if(_0x2dbcf5[_0x2d4ef8(0x172)](_0x1615cf,_0x2dbcf5['XCrvK'])&&!helper[_0x2d4ef8(0x17b)](_0x1615cf)){_0x1615cf[_0x2d4ef8(0x1aa)](',')[_0x2d4ef8(0x16c)](_0x4f4729=>{const _0x457707=_0x2d4ef8;_0x4adbd3[_0x457707(0x19b)]('('+_0x4f4729[_0x457707(0x135)]()+')');});const _0x2401b3='^'+_0x4adbd3[_0x2d4ef8(0x164)]('|')+'$';return _0x2401b3;}}return null;},a2_0x2f37b6={};a2_0x2f37b6[a2_0x1caa87(0x14a)]=a2_0x1caa87(0x196),a2_0x2f37b6[a2_0x1caa87(0x173)]='chromium',a2_0x2f37b6[a2_0x1caa87(0x148)]='firefox',a2_0x2f37b6[a2_0x1caa87(0x181)]=a2_0x1caa87(0x177);const pwToCodeceptBrowser=a2_0x2f37b6;function a2_0x490b(){const _0x5c9744=['../../helpers/BrowserStackSetup','now','8kZWTJq','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','info','playwright-firefox','tMDsF','chrome','4939956XbzrUh','NEcMJ','ETGuj','XCrvK','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','browserWSEndpoint','AiwbE','TXKWb','launchBuild','parallelsPerPlatform','failed','false','testObservability','before','codecept.conf.js','JOSbF','CODECEPT','printBuildLink','bootstrapAll','desiredCapabilities','result','--config','uJdft','nQnwQ','../../helpers/accessibility-automation/helper','join','env','getUserWorkerCount','finalExecution','slice','isTestObservabilitySession','validPlatformsPresent','skipSessionName','map','getPlaywrightUrl','root','nzmqB','handleApp','czixd','SbieL','playwright-chromium','../../bin/playwright/accessibility-helper','cwd','testConfig','webkit','findIndex','config','browser','isUndefined','printResults','event','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','3741192ANGoLJ','errorMessage','playwright-webkit','browserName','aFuCm','length','FRAMEWORKS','WebDriver','mergeDeep','stop','BrowserStackPlugin.js','-cucumber','../../helpers/test-observability/utils','run','eqZYR','null','747220uMfWPi','4835qdvtxL','accessibilityOptions','prepareCapabilities','BrowserStackPlugin','BROWSERSTACK_TEST_ACCESSIBILITY_YML','require','chromium','rYRGz','chdir','test','dWkTj','push','existsSync','helpers','Playwright','initialize','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LWUHX','addTests','13957038OTjgld','platforms','codeceptjs','Passed\x20:\x20','format','8939476raGoUF','split','BROWSERSTACK_RERUN_TESTS','skipSessionStatus','vBJBi','log','util','tohxq','516jFdfeH','../../helpers/helper','dirname','HbFUg','stringify','iHFtW','forEach','852515SihFYx','passed','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserStackCwd','path','testContextOptions','trim','zmPzk','ZbtQC','55PDRYtM','profile','process','4|0|2|1|3','isTrue','gherkin','title','../../helpers/testhub/testhubHandler','vcNjO','QjIsj','24eFmYNf'];a2_0x490b=function(){return _0x5c9744;};return a2_0x490b();}async function run(_0x5c2010,_0x4078a5){const _0x557a58=a2_0x1caa87,_0x3da524={'SauRh':function(_0xd8b9c3,_0x232b21){return _0xd8b9c3+_0x232b21;},'jfqUd':function(_0xe8c150,_0x4e65df){return _0xe8c150(_0x4e65df);},'tMDsF':function(_0x26394c,_0x32e21f){return _0x26394c+_0x32e21f;},'ZbtQC':function(_0x5d2bfb,_0x346728,_0x547b23){return _0x5d2bfb(_0x346728,_0x547b23);},'dWkTj':_0x557a58(0x179),'ETGuj':_0x557a58(0x19d),'QjIsj':function(_0x4f9dcb){return _0x4f9dcb();},'zmPzk':'Failed\x20:\x20','HbFUg':_0x557a58(0x1a7),'JOSbF':'Started\x20:\x20','iHFtW':_0x557a58(0x13b),'TXKWb':_0x557a58(0x1a6),'pJFqj':function(_0x5c1840,_0xa135a7){return _0x5c1840(_0xa135a7);},'nzmqB':_0x557a58(0x146),'vcNjO':_0x557a58(0x19e),'NEcMJ':_0x557a58(0x186),'nkaup':function(_0x4fd74f,_0x3d0fdb){return _0x4fd74f(_0x3d0fdb);},'VhHLp':function(_0x25cb4e,_0x5f1b5a){return _0x25cb4e!=_0x5f1b5a;},'nQnwQ':_0x557a58(0x156),'rYRGz':_0x557a58(0x13d),'UgteA':_0x557a58(0x18a),'wbMhB':function(_0x503b18,_0x19c2a2){return _0x503b18(_0x19c2a2);},'tohxq':function(_0x1797cc){return _0x1797cc();},'fkqkc':function(_0x494ff2,_0x116c32){return _0x494ff2*_0x116c32;},'vzsXq':_0x557a58(0x17a),'vBJBi':'desiredCapabilities','uJdft':function(_0x2e9864,_0x662b2b,_0x13c8a1){return _0x2e9864(_0x662b2b,_0x13c8a1);},'AiwbE':_0x557a58(0x16e),'czixd':_0x557a58(0x189),'aFuCm':_0x557a58(0x132)},_0x213be1=new BrowserStackSetup(_0x5c2010,_0x3da524['TXKWb']);await _0x213be1[_0x557a58(0x19f)](),await helper[_0x557a58(0x170)](_0x213be1[_0x557a58(0x179)]);if(!_0x213be1['config'])return;process[_0x557a58(0x139)]=_0x5c2010[_0x557a58(0x139)];_0x5c2010['profile']&&(process['env'][_0x557a58(0x139)]=_0x5c2010['profile']);const _0x47f062=_0x3da524['ZbtQC'](getUserCodeceptJSConfigs,_0x5c2010,_0x4078a5);let _0x5c16c7={};_0x47f062?(logger[_0x557a58(0x147)](_0x557a58(0x17e)+_0x47f062),_0x5c16c7=_0x3da524['pJFqj'](require,_0x47f062)):logger[_0x557a58(0x147)](_0x3da524[_0x557a58(0x16f)]);let _0x233f04=![];_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x3da524[_0x557a58(0x140)]])&&(_0x233f04=!![]);const _0x2159a4=_0x233f04?_0x3da524[_0x557a58(0x140)]:_0x3da524[_0x557a58(0x14c)];let _0xaae6e1=!_0x233f04?helper['useW3C'](_0x213be1[_0x557a58(0x179)]):![];!helper[_0x557a58(0x17b)](_0x213be1[_0x557a58(0x179)][_0x557a58(0x191)])&&(process['env'][_0x557a58(0x1a1)]=JSON[_0x557a58(0x12c)](_0x213be1[_0x557a58(0x179)][_0x557a58(0x191)]));let _0x40a62f=_0x213be1[_0x557a58(0x179)]['accessibility'];_0x40a62f=_0x40a62f||_0x3da524['nkaup'](checkAccessibilityPlatformConfig,_0x213be1[_0x557a58(0x179)]),process['env'][_0x557a58(0x194)]=_0x40a62f;_0x40a62f&&(_0xaae6e1=!_0x40a62f);_0x3da524['VhHLp'](_0x213be1[_0x557a58(0x179)][_0x557a58(0x157)],null)?process['env'][_0x557a58(0x131)]=_0x213be1['config'][_0x557a58(0x157)]:process[_0x557a58(0x165)][_0x557a58(0x131)]=_0x3da524[_0x557a58(0x162)];const _0x1ab2d4=_0x3da524[_0x557a58(0x149)](_0x3da524[_0x557a58(0x152)],_0x3da524['ZbtQC'](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x197)]])?_0x3da524['UgteA']:''),_0x1ad617=await TestHubHandler[_0x557a58(0x153)](_0x1ab2d4,_0x213be1);_0x40a62f&&_0x3da524['wbMhB'](setAccessibilityCapabilities,_0x213be1[_0x557a58(0x179)]);const _0x19e12a={},_0x4956d9=[],_0x29e189=_0x213be1[_0x557a58(0x179)][_0x557a58(0x154)]||helper[_0x557a58(0x166)](_0x5c2010,_0x4078a5,_0x213be1[_0x557a58(0x179)],constants[_0x557a58(0x185)][_0x557a58(0x15b)])||0x1;let _0x46c2c3=0x1;if(_0x3da524[_0x557a58(0x1b0)](isBrowserstackInfra)){const _0x5922d8=helper[_0x557a58(0x192)](_0x213be1[_0x557a58(0x179)],_0xaae6e1,constants['FRAMEWORKS'][_0x557a58(0x15b)]);helper[_0x557a58(0x16a)](_0x213be1[_0x557a58(0x179)])?_0x46c2c3=_0x3da524['fkqkc'](_0x29e189,_0x213be1['config'][_0x557a58(0x1a5)][_0x557a58(0x184)]):_0x46c2c3=_0x29e189,_0x5922d8[_0x557a58(0x12e)](_0x2a0083=>{const _0x3ef0fb=_0x557a58,_0x4d97f3=_0x3da524['tMDsF'](helper['getPlatformName'](_0x2a0083,'_'),'_'+Date[_0x3ef0fb(0x144)]()),_0x35e69a=((()=>{const _0xe6c2c1=_0x3ef0fb;if(_0x233f04){const _0x4943ac=pwToCodeceptBrowser[_0x2a0083[_0xe6c2c1(0x182)]]||_0x2a0083[_0xe6c2c1(0x182)];return{'browser':_0x4943ac,[_0x4943ac]:{'browserWSEndpoint':_0x3da524['SauRh'](helper[_0xe6c2c1(0x16d)](_0x213be1[_0xe6c2c1(0x179)]),_0x3da524['jfqUd'](encodeURIComponent,JSON[_0xe6c2c1(0x12c)](_0x2a0083)))}};}const _0x5ef298={};return _0x5ef298[_0xe6c2c1(0x15e)]=_0x2a0083,_0x5ef298;})()),_0x174057=_0x3da524[_0x3ef0fb(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524['dWkTj'],_0x3da524[_0x3ef0fb(0x14d)],_0x2159a4]);_0x19e12a[_0x4d97f3]=_0x174057?helper[_0x3ef0fb(0x187)](_0x35e69a,_0x174057):_0x35e69a,!_0x233f04&&(_0x19e12a[_0x4d97f3]['browser']=_0x2a0083[_0x3ef0fb(0x182)]||_0x35e69a[_0x3ef0fb(0x17a)]),_0x4956d9[_0x3ef0fb(0x19b)](_0x4d97f3);});}else{_0x46c2c3=0x1;if(_0x233f04){const _0x3548dd=_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3da524['vzsXq']]),_0x1081b8=_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524['dWkTj'],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3548dd]);_0x1081b8&&_0x1081b8['browserWSEndpoint']&&(_0x1081b8['browserWSEndpoint']=helper[_0x557a58(0x192)](null,null,_0x1ab2d4['toLowerCase'](),null,null,_0x1081b8[_0x557a58(0x150)]));}else _0x5c16c7[_0x557a58(0x179)][_0x3da524[_0x557a58(0x14d)]][_0x2159a4][_0x3da524[_0x557a58(0x1ad)]]=helper[_0x557a58(0x192)](null,null,_0x1ab2d4['toLowerCase'](),_0x3da524[_0x557a58(0x161)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3da524[_0x557a58(0x1ad)]]),null,null);_0x19e12a[_0x3da524[_0x557a58(0x151)]]=_0x5c16c7[_0x557a58(0x179)],_0x4956d9['push'](_0x3da524[_0x557a58(0x151)]);}const _0x2ea5d6={};_0x2ea5d6[_0x557a58(0x176)]=_0x47f062;const _0x52a97d=_0x2ea5d6,_0x4bc762=path['join'](__dirname,_0x3da524[_0x557a58(0x171)]),_0x2bc218=process[_0x557a58(0x175)]();process[_0x557a58(0x165)][_0x3da524[_0x557a58(0x183)]]=_0x2bc218,process[_0x557a58(0x198)](path[_0x557a58(0x12a)](_0x47f062));const _0x2bb1a1=new CodeceptJS['Workers'](null,_0x52a97d),_0x2378c1=_0x2bb1a1['createGroupsOfSuites'](_0x46c2c3),_0x9fc34b=testOpsHelper[_0x557a58(0x169)](),_0x1d514c=_0x4956d9[_0x557a58(0x16c)](_0x21629d=>{const _0x2ae3a6=_0x557a58,_0x5a682b={};_0x5a682b[_0x2ae3a6(0x19e)]=_0x19e12a[_0x21629d];const _0x16d062={};_0x16d062[_0x2ae3a6(0x186)]=_0x19e12a[_0x21629d];const _0x81458=_0x233f04?_0x5a682b:_0x16d062,_0x4119fc=_0x3da524[_0x2ae3a6(0x141)](getO11yRerunPattern),_0x514dae={};_0x514dae[_0x2ae3a6(0x19d)]=_0x81458;const _0x42a06a={};_0x42a06a[_0x2ae3a6(0x195)]=_0x4bc762,_0x42a06a['enabled']=!![],_0x42a06a[_0x2ae3a6(0x16b)]=_0x213be1[_0x2ae3a6(0x179)]['testContextOptions'][_0x2ae3a6(0x16b)],_0x42a06a[_0x2ae3a6(0x1ac)]=_0x213be1['config'][_0x2ae3a6(0x134)][_0x2ae3a6(0x1ac)],_0x42a06a['testObservability']=_0x9fc34b,_0x42a06a['frameworkName']=_0x1ab2d4;const _0x3b2963={};_0x3b2963[_0x2ae3a6(0x193)]=_0x42a06a;const _0x397a8c={};return _0x397a8c['plugins']=_0x3b2963,helper[_0x2ae3a6(0x187)]({},_0x5c16c7[_0x2ae3a6(0x179)],_0x3da524['QjIsj'](isBrowserstackInfra)?_0x514dae:{},_0x4119fc?{'grep':_0x4119fc}:{},_0x397a8c);});for(const _0x589acd of _0x1d514c){for(const _0x255d5e of _0x2378c1){const _0xd6561d=_0x2bb1a1['spawn']();_0xd6561d[_0x557a58(0x1a3)](_0x255d5e),_0xd6561d['addConfig'](_0x589acd);}}_0x2bb1a1['on'](CodeceptJS['event']['test'][_0x557a58(0x155)],(_0x10ba4d,_0xc4b08a)=>{const _0x981daa=_0x557a58;console[_0x981daa(0x1ae)](_0x3da524[_0x981daa(0x136)],_0x10ba4d[_0x981daa(0x13e)]);const _0x202f7d={[_0x10ba4d[_0x981daa(0x13e)]]:_0x10ba4d['err']['stack']};_testErrorData[_0x981daa(0x19b)](_0x202f7d);}),_0x2bb1a1['on'](CodeceptJS[_0x557a58(0x17d)][_0x557a58(0x199)][_0x557a58(0x130)],async _0x551ddf=>{const _0x235634=_0x557a58;console[_0x235634(0x1ae)](_0x3da524[_0x235634(0x12b)],_0x551ddf[_0x235634(0x13e)]);}),_0x2bb1a1['on'](CodeceptJS['event']['test'][_0x557a58(0x158)],async _0x3df481=>{const _0x3002c6=_0x557a58;console[_0x3002c6(0x1ae)](_0x3da524[_0x3002c6(0x15a)],_0x3df481['title']);}),_0x2bb1a1['on'](CodeceptJS['event']['all'][_0x557a58(0x15f)],async()=>{const _0x4b2a62=_0x557a58,_0x4af17f=_0x3da524[_0x4b2a62(0x12d)][_0x4b2a62(0x1aa)]('|');let _0x1419d6=0x0;while(!![]){switch(_0x4af17f[_0x1419d6++]){case'0':testOpsHelper[_0x4b2a62(0x15c)]();continue;case'1':try{await TestHubHandler[_0x4b2a62(0x188)]();}catch(_0x340a94){logger['debug'](_0x4b2a62(0x14f)+util[_0x4b2a62(0x1a8)](_0x340a94));}continue;case'2':utilities[_0x4b2a62(0x167)](_0x213be1);continue;case'3':_0x2bb1a1[_0x4b2a62(0x17c)]();continue;case'4':_0x213be1[_0x4b2a62(0x180)]=_testErrorData;continue;}break;}});async function _0x577110(){const _0x5c74fd=_0x557a58;try{await _0x2bb1a1[_0x5c74fd(0x15d)](),await _0x2bb1a1[_0x5c74fd(0x18c)]();}finally{process[_0x5c74fd(0x198)](_0x2bc218),await _0x2bb1a1['teardownAll']();}}_0x3da524[_0x557a58(0x1b0)](_0x577110);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x2d5d(){const _0x25260e=['231258ETmJtn','browserWSEndpoint','__cloud_provider___','xdMeH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','HKhAt','ODIyo','10968vEjKuq','platform_version','capabilities','1789090OZHmmb','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','PjWTg','warn','../../bin/playwright/sessionDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','CQThN','../../helpers/logger','browserstack_accessibility_automation_script','oRUgi','name','searchParams','chrome','platformVersion','platform','accessibilityPlatform','JgFFV','461055sNuwKU','winstonLogger','Lmnvy','1939yPGQlz','caps','config','getDetails','cloudProvider','1XfUaPP','os_version','jcuoN','processWebDriverConfig','ypdwI','Playwright','osVersion','parse','crRoy','uEDTf','IIGkq','browserName','desiredCapabilities','bstack:options','pkNsL','1970408TRdWwu','shouldPatchExecuteScript','cbyuj','includes','zetYU','bsSessionId','JoNcv','xoPnh','browser_version','HXXHa','WebDriver','AWcxc','12XwiXej','syaVE','uJnVJ','uBJID','zGSHo','HFbrl','deviceName','constructor','sessionId','browserVersion','../../helpers/helper','1152715wPjqou','clxLs','159228uFfZhP','browser','latest','IfKBu','browserstack_executor','fetchPlatformDetails','FDVsi'];a3_0x2d5d=function(){return _0x25260e;};return a3_0x2d5d();}const a3_0x5bc84f=a3_0x2bb1;(function(_0x455521,_0x3a67a8){const _0xb665a7=a3_0x2bb1,_0x4cdad7=_0x455521();while(!![]){try{const _0x41c0d2=parseInt(_0xb665a7(0x1a5))/0x1*(-parseInt(_0xb665a7(0x1d4))/0x2)+parseInt(_0xb665a7(0x1ef))/0x3+parseInt(_0xb665a7(0x1b4))/0x4+parseInt(_0xb665a7(0x1cb))/0x5*(-parseInt(_0xb665a7(0x1c0))/0x6)+parseInt(_0xb665a7(0x1f2))/0x7*(parseInt(_0xb665a7(0x1db))/0x8)+parseInt(_0xb665a7(0x1cd))/0x9+-parseInt(_0xb665a7(0x1de))/0xa;if(_0x41c0d2===_0x3a67a8)break;else _0x4cdad7['push'](_0x4cdad7['shift']());}catch(_0x13cd78){_0x4cdad7['push'](_0x4cdad7['shift']());}}}(a3_0x2d5d,0x4657a));const {isUndefined,nestedKeyValue}=require(a3_0x5bc84f(0x1ca)),logger=require(a3_0x5bc84f(0x1e5))[a3_0x5bc84f(0x1f0)],PlaywrightSessionDetails=require(a3_0x5bc84f(0x1e2)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3a71d7=>{const _0x12546a=a3_0x5bc84f,_0x49f984={};_0x49f984[_0x12546a(0x1b8)]=_0x12546a(0x1b2),_0x49f984['nWQVc']=_0x12546a(0x1eb),_0x49f984['IIGkq']=_0x12546a(0x1dc),_0x49f984[_0x12546a(0x1cc)]=_0x12546a(0x1ab),_0x49f984['Lmnvy']=_0x12546a(0x1a6);const _0x466790=_0x49f984;if(!_0x3a71d7)return null;const _0x47c159=_0x3a71d7[_0x466790['zetYU']],_0x2cac73=[_0x466790['nWQVc'],_0x466790[_0x12546a(0x1af)],_0x466790['clxLs'],_0x466790[_0x12546a(0x1f1)]];for(const _0x12a222 of _0x2cac73){if(_0x47c159&&_0x47c159[_0x12a222])return _0x47c159[_0x12a222];else{if(_0x3a71d7[_0x12a222])return _0x3a71d7[_0x12a222];}}return null;};function a3_0x2bb1(_0x1156df,_0x2dd7a1){const _0x2d5de4=a3_0x2d5d();return a3_0x2bb1=function(_0x2bb1e1,_0x57bdd4){_0x2bb1e1=_0x2bb1e1-0x1a2;let _0x9eff05=_0x2d5de4[_0x2bb1e1];return _0x9eff05;},a3_0x2bb1(_0x1156df,_0x2dd7a1);}exports[a3_0x5bc84f(0x1d2)]=_0x4baa8f=>{const _0x42555f=a3_0x5bc84f,_0x15a187={'HFbrl':'unknown_grid','JoNcv':function(_0x2d8a96,_0x40ce95){return _0x2d8a96===_0x40ce95;},'HKhAt':_0x42555f(0x1be),'uJnVJ':function(_0x49f1ea,_0x8f8cbc){return _0x49f1ea(_0x8f8cbc);},'HXXHa':function(_0x21ef70,_0x18b9fd,_0x1d7852){return _0x21ef70(_0x18b9fd,_0x1d7852);},'CQThN':_0x42555f(0x1a2),'cbyuj':_0x42555f(0x1b1),'Jluax':function(_0x5a8206,_0x522124){return _0x5a8206(_0x522124);},'ypdwI':_0x42555f(0x1aa),'jcuoN':function(_0x3a11a9,_0x3bfc07,_0x4f0014){return _0x3a11a9(_0x3bfc07,_0x4f0014);},'bNhki':_0x42555f(0x1ce),'AWcxc':_0x42555f(0x1d5),'ODIyo':_0x42555f(0x1f3)};if(!_0x4baa8f)return null;let _0x73a40b=global[_0x42555f(0x1d6)]||_0x15a187[_0x42555f(0x1c5)];if(_0x15a187[_0x42555f(0x1ba)](_0x4baa8f[_0x42555f(0x1c7)]['name'],_0x15a187[_0x42555f(0x1d9)])){const _0xa83b47=_0x4baa8f[_0x42555f(0x1ce)];if(!_0xa83b47)return null;const _0x25aade=_0xa83b47['capabilities'],_0x3eb10d=_0x15a187[_0x42555f(0x1c2)](getOSVersionFromCaps,_0x15a187[_0x42555f(0x1bd)](nestedKeyValue,_0x4baa8f,[_0x15a187['CQThN'],_0x15a187[_0x42555f(0x1b6)]]));return{[_0x73a40b]:{'browser':_0x25aade[_0x42555f(0x1b0)],'browser_version':_0x25aade[_0x42555f(0x1c9)],'capabilities':_0x25aade,'platform':_0x25aade['platformName'],'platform_version':_0x25aade[_0x42555f(0x1eb)]||_0x3eb10d,'product':_0x15a187['Jluax'](getObservabilityLinkedProductName,_0x25aade),'session_id':_0xa83b47[_0x42555f(0x1c8)]}};}else{if(_0x15a187['JoNcv'](_0x4baa8f[_0x42555f(0x1c7)][_0x42555f(0x1e8)],_0x15a187[_0x42555f(0x1a9)])){const _0x5c3ce4=PlaywrightSessionDetails[_0x42555f(0x1a3)]();_0x73a40b=_0x5c3ce4[_0x42555f(0x1a4)]||_0x73a40b;const _0x52e6ba=_0x15a187[_0x42555f(0x1a7)](nestedKeyValue,_0x4baa8f,[_0x15a187[_0x42555f(0x1e4)],_0x15a187['bNhki'],_0x15a187[_0x42555f(0x1bf)]]),_0x3f7474=_0x52e6ba?JSON[_0x42555f(0x1ac)](new URL(_0x52e6ba)[_0x42555f(0x1e9)]['get'](_0x15a187[_0x42555f(0x1da)])):{};return{[_0x73a40b]:{'browser':_0x5c3ce4[_0x42555f(0x1ce)]||_0x3f7474['browserName'],'browser_version':_0x5c3ce4[_0x42555f(0x1bc)]||_0x3f7474['browser_version'],'capabilities':_0x3f7474,'platform':_0x5c3ce4[_0x42555f(0x1ec)],'platform_version':_0x5c3ce4[_0x42555f(0x1dc)],'product':_0x15a187['Jluax'](getObservabilityLinkedProductName,_0x3f7474),'session_id':_0x5c3ce4[_0x42555f(0x1b9)]}};}}},exports[a3_0x5bc84f(0x1a8)]=_0x307247=>{const _0x20b91d=a3_0x5bc84f,_0x16a92f={'xdMeH':function(_0x58b735){return _0x58b735();},'zGSHo':function(_0x22983b,_0x18620b){return _0x22983b===_0x18620b;},'oRUgi':_0x20b91d(0x1cf),'uBJID':function(_0x56ae9b,_0x3cce2b){return _0x56ae9b>_0x3cce2b;},'pkNsL':function(_0x9ef54e,_0x3a0673){return _0x9ef54e(_0x3a0673);},'xoPnh':_0x20b91d(0x1df),'PjWTg':function(_0x2d4747,_0xc3dd51){return _0x2d4747===_0xc3dd51;},'crRoy':_0x20b91d(0x1ea),'FDVsi':'playwright-chromium','IfKBu':_0x20b91d(0x1d8),'JgFFV':function(_0x1877f7,_0x438467){return _0x1877f7(_0x438467);},'ApRzU':_0x20b91d(0x1e3)};if(_0x16a92f[_0x20b91d(0x1d7)](isAccessibilityAutomationSession)){const _0x2fc7ca=_0x307247[_0x20b91d(0x1ce)],_0x351798=_0x2fc7ca[_0x20b91d(0x1dd)];global['accessibilityPlatform']=!![],!(_0x16a92f[_0x20b91d(0x1c4)](_0x351798[_0x20b91d(0x1c9)],_0x16a92f[_0x20b91d(0x1e7)])||_0x16a92f[_0x20b91d(0x1c3)](_0x16a92f[_0x20b91d(0x1b3)](parseInt,_0x351798['browserVersion']),0x5e))&&(logger[_0x20b91d(0x1e1)](_0x16a92f[_0x20b91d(0x1bb)]),global['accessibilityPlatform']=![]),!(_0x16a92f[_0x20b91d(0x1e0)](_0x351798[_0x20b91d(0x1b0)],_0x16a92f[_0x20b91d(0x1ad)])||_0x16a92f[_0x20b91d(0x1c4)](_0x351798[_0x20b91d(0x1b0)],_0x16a92f[_0x20b91d(0x1d3)]))&&(logger[_0x20b91d(0x1e1)](_0x16a92f[_0x20b91d(0x1d0)]),global[_0x20b91d(0x1ed)]=![]),!_0x16a92f[_0x20b91d(0x1ee)](isUndefined,_0x351798[_0x20b91d(0x1c6)])&&(logger['warn'](_0x16a92f['ApRzU']),global[_0x20b91d(0x1ed)]=![]);}},exports[a3_0x5bc84f(0x1b5)]=_0x3d4322=>{const _0xf5615c=a3_0x5bc84f,_0x4de9cb={};_0x4de9cb['uEDTf']=_0xf5615c(0x1d1),_0x4de9cb['syaVE']=_0xf5615c(0x1e6);const _0x362fef=_0x4de9cb;if(!_0x3d4322)return![];return!_0x3d4322[_0xf5615c(0x1b7)](_0x362fef[_0xf5615c(0x1ae)])&&!_0x3d4322['includes'](_0x362fef[_0xf5615c(0x1c1)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x490116=a4_0xa2a5;(function(_0x2d6819,_0x1cc14f){const _0x2f6d73=a4_0xa2a5,_0x56ad32=_0x2d6819();while(!![]){try{const _0x3bff68=-parseInt(_0x2f6d73(0x200))/0x1+-parseInt(_0x2f6d73(0x1e0))/0x2*(-parseInt(_0x2f6d73(0x138))/0x3)+parseInt(_0x2f6d73(0x1dc))/0x4+parseInt(_0x2f6d73(0x1f6))/0x5+-parseInt(_0x2f6d73(0x129))/0x6+parseInt(_0x2f6d73(0x13f))/0x7*(-parseInt(_0x2f6d73(0x195))/0x8)+parseInt(_0x2f6d73(0x115))/0x9;if(_0x3bff68===_0x1cc14f)break;else _0x56ad32['push'](_0x56ad32['shift']());}catch(_0x4cc24b){_0x56ad32['push'](_0x56ad32['shift']());}}}(a4_0x4058,0x5bdba));const path=require(a4_0x490116(0x123)),fs=require('fs'),{v4:uuidv4}=require(a4_0x490116(0x191)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x490116(0x135)),testOpsHelper=require(a4_0x490116(0x1aa)),{getTestEnv}=require(a4_0x490116(0x162)),{FRAMEWORKS}=require(a4_0x490116(0x1d4)),logger=require('../../helpers/logger')[a4_0x490116(0x201)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x490116(0x1d9)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x490116(0x1e1)),Constants=require(a4_0x490116(0x1c3)),{fetchPlatformDetails}=require(a4_0x490116(0x1bc)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x490116(0x1bf)),STATE_PASSED='passed',STATE_FAILED=a4_0x490116(0x122),a4_0x1c97d3={};a4_0x1c97d3['TEST_RUN_STARTED']='TestRunStarted',a4_0x1c97d3[a4_0x490116(0x1d5)]='TestRunFinished',a4_0x1c97d3[a4_0x490116(0x133)]=a4_0x490116(0x106),a4_0x1c97d3[a4_0x490116(0x11b)]=a4_0x490116(0x1f1),a4_0x1c97d3[a4_0x490116(0x16a)]=a4_0x490116(0x163);const TEST_EVENTS=a4_0x1c97d3,parseEvent=_0x2bd13e=>{const _0x143b26=a4_0x490116,_0x53d719={};_0x53d719['NZRnn']=function(_0x2b90f9,_0x23e312){return _0x2b90f9<_0x23e312;},_0x53d719[_0x143b26(0x146)]=function(_0x572eec,_0x4674a5){return _0x572eec===_0x4674a5;},_0x53d719[_0x143b26(0x1f3)]=_0x143b26(0x142),_0x53d719[_0x143b26(0x185)]=_0x143b26(0x108),_0x53d719[_0x143b26(0x1b6)]=_0x143b26(0x15a),_0x53d719[_0x143b26(0x1a0)]=function(_0x5a7284,_0x20ee40){return _0x5a7284===_0x20ee40;},_0x53d719['cwYua']=_0x143b26(0x1cc),_0x53d719['wROTl']=function(_0x4656e4,_0x4bbe5c){return _0x4656e4===_0x4bbe5c;},_0x53d719['JWPjb']=_0x143b26(0x184);const _0x3b8f6e=_0x53d719,_0x8ef905=_0x2bd13e[_0x143b26(0x18d)](/^(.*)Run(.*)$/);if(!_0x8ef905)return null;if(_0x3b8f6e[_0x143b26(0x1d7)](_0x8ef905[_0x143b26(0x1c8)],0x3))return null;const _0x473556=_0x8ef905[0x1][_0x143b26(0x1c2)](),_0x4785b3=_0x8ef905[0x2][_0x143b26(0x1c2)]();return{'test':_0x3b8f6e[_0x143b26(0x146)](_0x473556,_0x3b8f6e[_0x143b26(0x1f3)]),'hook':_0x3b8f6e[_0x143b26(0x146)](_0x473556,_0x3b8f6e['pKiiW']),'skipped':_0x3b8f6e[_0x143b26(0x146)](_0x4785b3,_0x3b8f6e[_0x143b26(0x1b6)]),'started':_0x3b8f6e[_0x143b26(0x1a0)](_0x4785b3,_0x3b8f6e[_0x143b26(0x1b8)]),'finished':_0x3b8f6e[_0x143b26(0x1fa)](_0x4785b3,_0x3b8f6e[_0x143b26(0x15f)])};},mockPWBrowserType=_0x5338c4=>{const _0x142fe7=a4_0x490116,_0x5bd255={'Vlynb':function(_0x2ef91f,_0x588704,_0x495bfe){return _0x2ef91f(_0x588704,_0x495bfe);},'qrGvp':_0x142fe7(0x1f2),'SlRbw':function(_0x5657e0,_0x151342){return _0x5657e0(_0x151342);},'ErfND':_0x142fe7(0x1ae),'eTNdS':function(_0x52e07a,_0x2416fa,_0x25f62d){return _0x52e07a(_0x2416fa,_0x25f62d);},'rMXmc':function(_0x4bdb88,_0x54342b){return _0x4bdb88===_0x54342b;},'DzBLi':'string','oyZIX':'lib','mbkah':_0x142fe7(0x166),'WLrWm':_0x142fe7(0x1b3),'LwZZD':function(_0x4b066b,_0x252e53){return _0x4b066b(_0x252e53);},'CjOgG':function(_0x1b582f,_0x15ccef){return _0x1b582f(_0x15ccef);},'fGSMY':'Not\x20able\x20to\x20import\x20Browser','cuLRF':_0x142fe7(0x14f),'OuBkW':_0x142fe7(0x165)},_0x318d71=path[_0x142fe7(0x14d)](_0x5bd255['oyZIX'],_0x5bd255[_0x142fe7(0x1b0)],_0x5bd255[_0x142fe7(0x11a)]),_0x4ccabd=_0x5bd255['LwZZD'](importFileFromPWCore,_0x318d71);if(!_0x4ccabd){_0x5bd255[_0x142fe7(0x17e)](debug,_0x5bd255[_0x142fe7(0x205)]);return;}const _0x3bcd75=_0x4ccabd[_0x142fe7(0x15b)],_0x449398=_0x3bcd75[_0x142fe7(0x1e8)];if(_0x449398[_0x142fe7(0x18e)])return;const _0x16e436=_0x449398[_0x142fe7(0x14f)];Object[_0x142fe7(0x173)](_0x449398,_0x5bd255[_0x142fe7(0x157)],{'get':function(){const _0x723c4e=_0x142fe7,_0x3abd63={'aTOuT':function(_0x58ef0d,_0x807169){const _0x296ea4=a4_0xa2a5;return _0x5bd255[_0x296ea4(0x1d1)](_0x58ef0d,_0x807169);},'kcbcf':_0x5bd255[_0x723c4e(0x1ed)]};return async function _0x49261e(_0x82ba19,_0x59d4de){const _0x165e34=_0x723c4e,_0x272f3e=_0x5bd255['Vlynb'](nestedKeyValue,_0x82ba19,[_0x5bd255[_0x165e34(0x1d3)]])||_0x82ba19;let _0x3336dd=null,_0x1fa0b6=null;try{[_0x1fa0b6,_0x3336dd]=_0x272f3e?_0x5bd255[_0x165e34(0x19f)](parseWSEndpoint,_0x272f3e):[null,null],global[_0x165e34(0x10f)]=_0x3336dd,_0x1fa0b6['includes'](_0x5bd255[_0x165e34(0x169)])&&(global[_0x165e34(0x111)]=_0x5bd255[_0x165e34(0x169)]);}catch(_0x227c7d){logger[_0x165e34(0x1a4)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x272f3e+'\x20'+_0x227c7d);}_0x5bd255[_0x165e34(0x120)](processAccessibilityCaps,_0x3336dd,_0x1fa0b6);if(global[_0x165e34(0x14e)]){const _0x575615=await _0x449398[_0x165e34(0x118)]['apply'](this,[''+Constants[_0x165e34(0x1ac)]+_0x5bd255['SlRbw'](encodeURIComponent,JSON['stringify'](_0x3336dd))]);return PlaywrightSessionDetails[_0x165e34(0x121)](_0x575615,_0x5338c4,_0x272f3e),_0x575615;}return _0x16e436[_0x165e34(0x17b)](this,arguments)[_0x165e34(0x171)](_0x1c474c=>{const _0x32b3b8=_0x165e34;let _0xf16115=_0x82ba19[_0x32b3b8(0x1f2)];return _0x3abd63[_0x32b3b8(0x1fc)](typeof _0x82ba19,_0x3abd63['kcbcf'])&&(_0xf16115=_0x82ba19),PlaywrightSessionDetails[_0x32b3b8(0x121)](_0x1c474c,_0x5338c4,_0xf16115),_0x1c474c;});};}});const _0x5023d1=_0x449398[_0x142fe7(0x165)];Object[_0x142fe7(0x173)](_0x449398,_0x5bd255[_0x142fe7(0x177)],{'get':function(){return async function _0x5909b0(){const _0x179987=a4_0xa2a5;return _0x5023d1[_0x179987(0x17b)](this,arguments)['then'](_0x57f231=>{const _0x450cbd=_0x179987;return PlaywrightSessionDetails[_0x450cbd(0x121)](_0x57f231,null),_0x57f231;});};}});};class O11yHelper{[a4_0x490116(0x1a9)]=null;['currentHook']=null;[a4_0x490116(0x168)]=![];[a4_0x490116(0x1b9)]=![];constructor(_0x4a43c8,_0x11e1f){const _0xc06400=a4_0x490116,_0x47fd2b={'FLxmz':_0xc06400(0x143),'jjLcW':function(_0x593bba){return _0x593bba();},'NlcpP':function(_0x34c1ad,_0x2f881a){return _0x34c1ad===_0x2f881a;},'IUycc':_0xc06400(0x1ef),'UNVDo':function(_0x3bf61f,_0xabadeb){return _0x3bf61f(_0xabadeb);}},_0x35b0cd=_0x47fd2b[_0xc06400(0x1de)][_0xc06400(0x19e)]('|');let _0x3c56c5=0x0;while(!![]){switch(_0x35b0cd[_0x3c56c5++]){case'0':this[_0xc06400(0x168)]=_0x47fd2b[_0xc06400(0x10d)](shouldProcessEventForTesthub);continue;case'1':this[_0xc06400(0x1fd)]=_0x47fd2b[_0xc06400(0x10d)](getTestEnv);continue;case'2':this[_0xc06400(0x174)]=new testOpsHelper['PathHelper']({'cwd':process[_0xc06400(0x186)]()},this[_0xc06400(0x1fd)][_0xc06400(0x109)]);continue;case'3':this['frameworkName']=_0x11e1f['frameworkName'];continue;case'4':this[_0xc06400(0x12b)]=_0x4a43c8;continue;case'5':this['driver']&&_0x47fd2b['NlcpP'](this[_0xc06400(0x12b)]['constructor']['name'],_0x47fd2b[_0xc06400(0x13e)])&&_0x47fd2b[_0xc06400(0x112)](mockPWBrowserType,null);continue;}break;}}[a4_0x490116(0x15e)](){const _0x1bee73=a4_0x490116;if(!this[_0x1bee73(0x168)])return;testOpsHelper[_0x1bee73(0x141)](),process[_0x1bee73(0x128)](_0x1bee73(0x1ea)+process['pid']),process['on'](_0x1bee73(0x1ea)+process[_0x1bee73(0x192)],this[_0x1bee73(0x14c)][_0x1bee73(0x167)](this));}async['stop'](){const _0x37d2af=a4_0x490116;await RequestQueueHandler['getInstance']()[_0x37d2af(0x18a)]();}async[a4_0x490116(0x14c)](_0x31c3cb){const _0x3554dc=a4_0x490116,_0x51bd5c={'owAqP':_0x3554dc(0x1be),'oIRxo':function(_0x567a27,_0x92fb5d){return _0x567a27(_0x92fb5d);}};try{this['currentHook']&&!this[_0x3554dc(0x1a7)]['markedStatus']&&(_0x31c3cb[_0x3554dc(0x1e9)]=this[_0x3554dc(0x1a7)][_0x3554dc(0x1a3)]);!_0x31c3cb['hook_run_uuid']&&this[_0x3554dc(0x1a9)]&&!this[_0x3554dc(0x1a9)]['markedStatus']&&(_0x31c3cb[_0x3554dc(0x12f)]=this[_0x3554dc(0x1a9)][_0x3554dc(0x145)]);if(_0x31c3cb[_0x3554dc(0x1e9)]||_0x31c3cb[_0x3554dc(0x12f)]){const _0x4755ae={};_0x4755ae[_0x3554dc(0x1b5)]=_0x51bd5c[_0x3554dc(0x1eb)],_0x4755ae[_0x3554dc(0x1c6)]=[_0x31c3cb],await SessionHandler['uploadEventData'](_0x4755ae);}}catch(_0x125673){_0x51bd5c[_0x3554dc(0x107)](debug,_0x3554dc(0x1d8)+_0x125673);}}async['sendCBTInfo'](_0x3694e5){const _0x13368b=a4_0x490116,_0x18e747={'HVTxa':'CBTSessionCreated','xJrQX':function(_0xec5054,_0x3b7276){return _0xec5054(_0x3b7276);}};if(!this['enabled'])return;const _0x482cb4=this['getCBTInfo'](this[_0x13368b(0x12b)]);try{const _0x23246a={};_0x23246a[_0x13368b(0x191)]=_0x3694e5,_0x23246a[_0x13368b(0x1dd)]=_0x482cb4;const _0x65e8b9=_0x23246a,_0x196e9b={};_0x196e9b[_0x13368b(0x1b5)]=_0x18e747[_0x13368b(0x187)],_0x196e9b[_0x13368b(0x1d2)]=_0x65e8b9,await SessionHandler['uploadEventData'](_0x196e9b);}catch(_0xff428a){_0x18e747['xJrQX'](debug,_0x13368b(0x19c)+_0xff428a);}}[a4_0x490116(0x156)](_0x268beb){const _0x4fa9b5=a4_0x490116,_0x5a1e34={'sQzQf':function(_0x51c97f,_0x1d25a4){return _0x51c97f(_0x1d25a4);}};return _0x5a1e34[_0x4fa9b5(0x1ca)](fetchPlatformDetails,_0x268beb);}[a4_0x490116(0x183)]=_0x5e1397=>{const _0x257a36=a4_0x490116,_0x5045ef={};_0x5045ef['VfmtW']=_0x257a36(0x1c1),_0x5045ef[_0x257a36(0x202)]='_afterEach';const _0x36fb12=_0x5045ef;if(!_0x5e1397||!_0x5e1397[_0x257a36(0x149)])return;[_0x36fb12[_0x257a36(0x172)],_0x36fb12[_0x257a36(0x202)]][_0x257a36(0x1ad)](_0x517108=>{const _0x2a4d5f=_0x257a36,_0x4a2700=_0x5e1397[_0x2a4d5f(0x149)][_0x517108];_0x4a2700[_0x2a4d5f(0x1ad)](_0x58b1f1=>{const _0x5831f8=_0x2a4d5f;_0x58b1f1['hookAnalyticsId']&&(_0x58b1f1[_0x5831f8(0x1a3)]=null);});});};[a4_0x490116(0x124)](_0x445838){const _0x5e7520=a4_0x490116,_0x47d519={'kRfvj':_0x5e7520(0x16b),'hWCNG':function(_0x17d7f5){return _0x17d7f5();},'zYQEW':function(_0xed5e68,_0x48d88d){return _0xed5e68===_0x48d88d;},'NkOPt':_0x5e7520(0x1f9),'ecXnU':function(_0x4e2c70){return _0x4e2c70();},'yRbKa':_0x5e7520(0x1c9),'aSIdM':_0x5e7520(0x175),'SEIKf':_0x5e7520(0x1c1)};if(!_0x445838||!_0x445838[_0x5e7520(0x149)])return;[_0x47d519[_0x5e7520(0x1af)],_0x47d519[_0x5e7520(0x1db)],_0x47d519['SEIKf'],_0x47d519['NkOPt']][_0x5e7520(0x1ad)](_0x4a81c2=>{const _0x3a4ff6=_0x5e7520,_0xe005bd={'FQybK':_0x47d519[_0x3a4ff6(0x11f)],'CWaiB':function(_0x13331f){const _0x2b9791=_0x3a4ff6;return _0x47d519[_0x2b9791(0x12d)](_0x13331f);},'PZvuj':function(_0x225245,_0x4ed43f){const _0x10ffe3=_0x3a4ff6;return _0x47d519[_0x10ffe3(0x10b)](_0x225245,_0x4ed43f);},'riAWU':_0x47d519['NkOPt'],'HUTok':function(_0x1f59f3){const _0x2952b8=_0x3a4ff6;return _0x47d519[_0x2952b8(0x114)](_0x1f59f3);}},_0x7a89b=_0x445838['parent'][_0x4a81c2]||[];_0x7a89b[_0x3a4ff6(0x1ad)](_0x1b2e38=>{const _0x3eb1f7=_0x3a4ff6;if(_0x1b2e38[_0x3eb1f7(0x17c)][_0x3eb1f7(0x1e3)](_0xe005bd['FQybK']))return;if(!_0x1b2e38['hookAnalyticsId'])_0x1b2e38['hookAnalyticsId']=_0xe005bd[_0x3eb1f7(0x116)](uuidv4);else _0x1b2e38[_0x3eb1f7(0x190)]&&_0xe005bd[_0x3eb1f7(0x160)](_0x4a81c2,_0xe005bd[_0x3eb1f7(0x1ff)])&&(_0x1b2e38[_0x3eb1f7(0x1a3)]=_0xe005bd[_0x3eb1f7(0x152)](uuidv4),delete _0x1b2e38[_0x3eb1f7(0x190)]);});}),this['mapTestHooks'](_0x445838['parent']);}[a4_0x490116(0x178)](_0x4fcf46){const _0x4ad0ff=a4_0x490116,_0x3c16f8={};_0x3c16f8['iXexg']=_0x4ad0ff(0x1c9),_0x3c16f8[_0x4ad0ff(0x140)]='_afterAll',_0x3c16f8[_0x4ad0ff(0x198)]=_0x4ad0ff(0x1c1),_0x3c16f8['dDjvC']=_0x4ad0ff(0x1f9);const _0x5a48d5=_0x3c16f8;if(!_0x4fcf46||!_0x4fcf46[_0x4ad0ff(0x149)])return[];const _0x451182=[];return[_0x5a48d5[_0x4ad0ff(0x110)],_0x5a48d5[_0x4ad0ff(0x140)],_0x5a48d5['pPUUd'],_0x5a48d5[_0x4ad0ff(0x12e)]][_0x4ad0ff(0x1ad)](_0xb5551d=>{const _0x1dbff8=_0x4ad0ff,_0x13181f=_0x4fcf46[_0x1dbff8(0x149)][_0xb5551d]||[];_0x13181f[_0x1dbff8(0x1ad)](_0x175bb1=>{const _0x1cc2eb=_0x1dbff8;_0x175bb1[_0x1cc2eb(0x1a3)]&&_0x451182[_0x1cc2eb(0x15d)](_0x175bb1[_0x1cc2eb(0x1a3)]);});}),[][_0x4ad0ff(0x1fb)](_0x451182,this[_0x4ad0ff(0x178)](_0x4fcf46['parent']));}[a4_0x490116(0x19a)](_0x46b4a8){const _0x3a7814=a4_0x490116,_0x2c7478=/^"(?<hook>.*)" hook:.*$/,_0x23b4b7=_0x46b4a8[_0x3a7814(0x17c)],_0x5a2a74=_0x23b4b7[_0x3a7814(0x18d)](_0x2c7478);if(_0x5a2a74&&_0x5a2a74[_0x3a7814(0x119)])return _0x5a2a74[_0x3a7814(0x119)][_0x3a7814(0x108)]['toUpperCase']()[_0x3a7814(0x11c)]('\x20','_');return null;}[a4_0x490116(0x1da)](_0xfa1745){const _0x1edc88=a4_0x490116,_0x202f66={};_0x202f66[_0x1edc88(0x1cf)]=function(_0x135a20,_0x2e5d43){return _0x135a20===_0x2e5d43;},_0x202f66[_0x1edc88(0x1cb)]=function(_0x1cc4c9,_0x493756){return _0x1cc4c9===_0x493756;},_0x202f66['xigVc']=function(_0x1981b0,_0x55ed1b){return _0x1981b0===_0x55ed1b;},_0x202f66[_0x1edc88(0x188)]=_0x1edc88(0x13c),_0x202f66['RKDZV']=_0x1edc88(0x1ec);const _0x56b5d4=_0x202f66,_0xdcbc79=path['sep'];if(_0x56b5d4[_0x1edc88(0x1cf)](_0xfa1745,null)||_0x56b5d4['hAlfd'](_0xfa1745,'')||_0x56b5d4[_0x1edc88(0x1cf)](_0xfa1745,_0xdcbc79)||_0x56b5d4[_0x1edc88(0x1a6)](_0xfa1745,path['dirname'](_0xfa1745)))return null;try{return fs['statSync'](path[_0x1edc88(0x14d)](_0xfa1745,_0x56b5d4[_0x1edc88(0x188)],_0x56b5d4[_0x1edc88(0x136)])),_0xfa1745;}catch(_0x188949){const _0x40ed81=path[_0x1edc88(0x1bb)](_0xfa1745);return this['findGitConfig'](_0x40ed81);}}[a4_0x490116(0x1a2)](_0x573dce){const _0x31de66=a4_0x490116,_0x108611={};_0x108611['TZlvg']=function(_0xf14b7a,_0x188770){return _0xf14b7a>_0x188770;};const _0x4ed80c=_0x108611;if(_0x573dce[_0x31de66(0x132)])return _0x573dce[_0x31de66(0x132)];if(_0x573dce[_0x31de66(0x15c)]){const _0x5a323c=_0x573dce[_0x31de66(0x15c)]['currentTest']?this[_0x31de66(0x1a2)](_0x573dce[_0x31de66(0x15c)][_0x31de66(0x1a9)]):null;if(_0x5a323c)return _0x5a323c;}if(_0x573dce[_0x31de66(0x149)]){const _0x2c3741=this[_0x31de66(0x1a2)](_0x573dce[_0x31de66(0x149)])||(_0x573dce[_0x31de66(0x149)]['ctx']&&_0x573dce['parent'][_0x31de66(0x15c)][_0x31de66(0x1a9)]?this[_0x31de66(0x1a2)](_0x573dce['parent']['ctx']['currentTest']):null);if(_0x2c3741)return _0x2c3741;_0x573dce['parent'][_0x31de66(0x189)]&&_0x4ed80c[_0x31de66(0x1a1)](_0x573dce[_0x31de66(0x149)][_0x31de66(0x189)][_0x31de66(0x1c8)],0x0)&&_0x573dce['parent']['suites']['forEach'](_0x16d983=>{const _0x4fd312=_0x31de66,_0x978097=_0x16d983[_0x4fd312(0x15c)]?this['getRootParentFile'](_0x16d983[_0x4fd312(0x15c)]):null;if(_0x978097)return _0x978097;});}return null;}[a4_0x490116(0x131)](_0xcfc91e){const _0x223ada=a4_0x490116,_0x543383={};_0x543383[_0x223ada(0x134)]=function(_0x247851,_0x427639){return _0x247851!==_0x427639;};const _0x2733e0=_0x543383,_0x3e63b3=[];if(_0xcfc91e&&_0xcfc91e['parent']){let _0x2d81f=_0xcfc91e[_0x223ada(0x149)];while(_0x2d81f&&_0x2733e0['bHHnk'](_0x2d81f['title'],'')){_0x3e63b3[_0x223ada(0x15d)](_0x2d81f[_0x223ada(0x17c)]),_0x2d81f=_0x2d81f[_0x223ada(0x149)];}}return _0x3e63b3;}[a4_0x490116(0x10e)](_0x3b003d,_0x1f452c,_0x1633ac=undefined){const _0x2cc746=a4_0x490116,_0x59cae9={'oSPBc':function(_0x5cf0e9,_0x10bdcb){return _0x5cf0e9(_0x10bdcb);},'MNsrs':function(_0x321e5d){return _0x321e5d();},'njOLM':function(_0x288ef8){return _0x288ef8();},'pMAlr':function(_0x3b1108){return _0x3b1108();},'Zhccw':function(_0x2e383a){return _0x2e383a();},'avwbS':function(_0x3a68cc,_0x69ca2c){return _0x3a68cc(_0x69ca2c);},'lwuav':'util','sMbQR':'err','UlwmX':function(_0x40b4c4,_0xd8450a){return _0x40b4c4!==_0xd8450a;},'xSqKs':'File\x20path\x20could\x20not\x20be\x20found','Maqdc':_0x2cc746(0x151),'ErcBV':_0x2cc746(0x122),'Rlpao':_0x2cc746(0x1d6),'uVcPl':'skipped','hYdwB':_0x2cc746(0x113),'LHqxY':function(_0x54b76f,_0x4fc552){return _0x54b76f-_0x4fc552;},'JLPXk':function(_0x7276e9,_0x3c6164,_0x38b979,_0x1a8e08,_0x19e6b5){return _0x7276e9(_0x3c6164,_0x38b979,_0x1a8e08,_0x19e6b5);},'aOpMI':function(_0x1b018d,_0x1ebde3){return _0x1b018d!==_0x1ebde3;},'MRLLa':_0x2cc746(0x1dd),'hdLLy':_0x2cc746(0x11e),'njwqQ':_0x2cc746(0x158),'ZThFJ':_0x2cc746(0x1c4),'ssjad':_0x2cc746(0x1d0),'pOnRr':_0x2cc746(0x18c),'RfINd':_0x2cc746(0x10a),'QzUDV':function(_0x5a9cfb,_0x490660){return _0x5a9cfb===_0x490660;},'IjiJD':_0x2cc746(0x170),'IPyTu':_0x2cc746(0x1d2)};if(!this[_0x2cc746(0x168)])return;try{if(_0x1f452c['fn']&&_0x1f452c['fn'][_0x2cc746(0x137)]()['match'](/browserstack internal helper hook/))return;const _0x2308a6=_0x59cae9[_0x2cc746(0x153)](parseEvent,_0x3b003d);if(!_0x2308a6)return;if(_0x2308a6[_0x2cc746(0x142)]){this[_0x2cc746(0x1a9)]=_0x1f452c,this[_0x2cc746(0x1a7)]=null;if(_0x2308a6[_0x2cc746(0x1cc)]||_0x2308a6[_0x2cc746(0x15a)]){_0x1f452c['startedAt']=new Date(),_0x1f452c[_0x2cc746(0x190)]=![];if(!_0x1f452c[_0x2cc746(0x145)])_0x1f452c['testAnalyticsId']=_0x59cae9[_0x2cc746(0x17a)](uuidv4);else _0x1f452c[_0x2cc746(0x190)]&&(!_0x1f452c['retryOf']&&(_0x1f452c[_0x2cc746(0x193)]=_0x1f452c['testAnalyticsId']),_0x1f452c[_0x2cc746(0x145)]=_0x59cae9[_0x2cc746(0x150)](uuidv4));}}else{if(_0x2308a6[_0x2cc746(0x108)]){this[_0x2cc746(0x1a7)]=_0x1f452c;if(_0x2308a6[_0x2cc746(0x1cc)]){_0x1f452c['startedAt']=new Date(),_0x1f452c[_0x2cc746(0x190)]=![];if(!_0x1f452c[_0x2cc746(0x1a3)])_0x1f452c[_0x2cc746(0x1a3)]=_0x59cae9[_0x2cc746(0x164)](uuidv4);else _0x1f452c['hookAnalyticsId']&&_0x1f452c[_0x2cc746(0x190)]&&(_0x1f452c['hookAnalyticsId']=_0x59cae9[_0x2cc746(0x11d)](uuidv4));}}}if(_0x2308a6['finished']&&_0x1f452c[_0x2cc746(0x190)])return;let _0x5dc0ee;try{_0x5dc0ee=this[_0x2cc746(0x1a2)](_0x1f452c);}catch(_0x5616bd){logger['debug'](_0x2cc746(0x194)+_0x5616bd),_0x5dc0ee=null;}const _0x53306b=_0x59cae9[_0x2cc746(0x179)](require,_0x59cae9[_0x2cc746(0x1f0)]);let _0x1a5f6a=[];_0x1633ac&&(_0x1a5f6a=[_0x1633ac,_0x59cae9[_0x2cc746(0x1f5)]]);const _0x1a76bc=_0x59cae9[_0x2cc746(0x161)](_0x1f452c[_0x2cc746(0x19b)],undefined)?_0x53306b[_0x2cc746(0x117)](_0x1f452c['errorsDetailed'][0x0]):_0x59cae9['UlwmX'](_0x1633ac,undefined)?_0x1633ac[_0x2cc746(0x137)]():undefined,_0x425078=_0x5dc0ee?this[_0x2cc746(0x1da)](_0x5dc0ee):null,_0xec8053=_0x5dc0ee?this[_0x2cc746(0x174)][_0x2cc746(0x1b1)](this['getRootParentFile'](_0x1f452c)):_0x59cae9[_0x2cc746(0x176)];let _0x2c3933=_0x59cae9[_0x2cc746(0x1a8)];const _0x48c4da=!_0x2308a6[_0x2cc746(0x1cc)]?new Date()['toISOString']():null;if(_0x2308a6['finished'])_0x2c3933=_0x1633ac?_0x59cae9[_0x2cc746(0x126)]:_0x59cae9['Rlpao'],_0x1f452c[_0x2cc746(0x190)]=!![];else _0x2308a6[_0x2cc746(0x15a)]&&(_0x2c3933=_0x59cae9[_0x2cc746(0x12a)],_0x1f452c['markedStatus']=!![]);const _0x1df5af={'framework':this['frameworkName'],'uuid':_0x1f452c['testAnalyticsId']||_0x1f452c['hookAnalyticsId'],'name':_0x1f452c[_0x2cc746(0x17c)],'body':{'lang':_0x59cae9[_0x2cc746(0x1f8)],'code':_0x1f452c[_0x2cc746(0x1ee)][_0x2cc746(0x137)]()},'type':_0x1f452c['type'],'scope':_0x1f452c[_0x2cc746(0x14b)](),'scopes':this[_0x2cc746(0x131)](_0x1f452c),'file_name':_0xec8053,'vc_filepath':_0x425078?path[_0x2cc746(0x125)](_0x425078,_0x5dc0ee):null,'location':_0xec8053,'result':_0x2c3933,'failure_reason':_0x1a76bc,'duration_in_ms':_0x1f452c[_0x2cc746(0x1bd)]||(_0x2308a6[_0x2cc746(0x184)]||_0x2308a6[_0x2cc746(0x15a)])?_0x59cae9[_0x2cc746(0x13b)](Date[_0x2cc746(0x199)](),new Date(_0x1f452c[_0x2cc746(0x1c7)])[_0x2cc746(0x1b2)]()):null,'started_at':new Date(_0x1f452c[_0x2cc746(0x1c7)])[_0x2cc746(0x1e6)](),'finished_at':_0x48c4da,'failure':testOpsHelper[_0x2cc746(0x16f)][_0x2cc746(0x17b)](null,_0x1a5f6a),'failure_type':!_0x1a76bc?null:testOpsHelper[_0x2cc746(0x204)](_0x1a76bc),'retry_of':_0x1f452c['retryOf']||null,'tags':_0x1f452c[_0x2cc746(0x1b4)]||[],'customRerunParam':{'rerun_name':_0x1f452c['fullTitle']()}};_0x59cae9[_0x2cc746(0x197)](appendTesthubParams,_0x1df5af,_0x3b003d,_0x1f452c,FRAMEWORKS[_0x2cc746(0x1c0)]);if(_0x2308a6[_0x2cc746(0x108)])[_0x1df5af[_0x2cc746(0x16e)],_0x1df5af[_0x2cc746(0x1ce)]]=[this[_0x2cc746(0x19a)](_0x1f452c),_0x1f452c[_0x2cc746(0x15c)][_0x2cc746(0x142)][_0x2cc746(0x17c)]],_0x2308a6['finished']?_0x59cae9[_0x2cc746(0x203)](_0x1df5af[_0x2cc746(0x14a)],_0x59cae9[_0x2cc746(0x126)])&&(_0x1df5af['result']=_0x59cae9[_0x2cc746(0x17f)]):_0x1df5af[_0x2cc746(0x1ee)]={};else _0x2308a6[_0x2cc746(0x142)]&&(this[_0x2cc746(0x124)](_0x1f452c),_0x2308a6[_0x2cc746(0x15a)]&&this[_0x2cc746(0x183)](_0x1f452c),(_0x2308a6[_0x2cc746(0x184)]||_0x2308a6[_0x2cc746(0x15a)])&&(_0x1df5af[_0x2cc746(0x1c5)]=this['getHooksForTest'](_0x1f452c)));this[_0x2cc746(0x12b)]&&(_0x2308a6[_0x2cc746(0x1cc)]||_0x2308a6[_0x2cc746(0x15a)])&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1fe)]]=this['getCBTInfo'](this['driver']));_0x2308a6[_0x2cc746(0x142)]&&_0x2308a6['finished']&&_0x1f452c[_0x2cc746(0x196)]&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1f4)]]={'feature':{'name':_0x1f452c['parent']['feature'][_0x2cc746(0x1ce)],'path':_0x1df5af[_0x2cc746(0x1f7)],'description':_0x1f452c[_0x2cc746(0x149)][_0x2cc746(0x18f)]},'scenario':{'name':_0x1f452c[_0x2cc746(0x17c)]},'steps':_0x1f452c[_0x2cc746(0x196)]});const _0x302c77=_0x1df5af[_0x59cae9[_0x2cc746(0x1e7)]][0x0];_0x302c77&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1cd)]]=_0x302c77[_0x59cae9[_0x2cc746(0x1e2)]],_0x1df5af[_0x59cae9[_0x2cc746(0x1ab)]]=_0x302c77[_0x59cae9['RfINd']]);if(_0x1f452c['bddSteps'])for(const _0x55e05b of _0x1f452c[_0x2cc746(0x196)]){!_0x55e05b[_0x2cc746(0x19d)]&&(_0x55e05b['finished_at']=new Date()[_0x2cc746(0x1e6)](),_0x59cae9[_0x2cc746(0x13d)](_0x55e05b[_0x2cc746(0x14a)],_0x59cae9[_0x2cc746(0x1a8)])&&(_0x302c77?(_0x55e05b[_0x2cc746(0x14a)]=_0x59cae9[_0x2cc746(0x126)],_0x55e05b[_0x2cc746(0x158)]=_0x302c77[_0x59cae9[_0x2cc746(0x1e2)]][0x0]):_0x55e05b[_0x2cc746(0x14a)]=_0x59cae9[_0x2cc746(0x17f)]));}const _0x358a50={};_0x358a50['event_type']=_0x2308a6[_0x2cc746(0x15a)]?TEST_EVENTS[_0x2cc746(0x1d5)]:_0x3b003d;const _0x5b293c=_0x358a50;return _0x2308a6['hook']?_0x5b293c[_0x59cae9[_0x2cc746(0x144)]]=_0x1df5af:_0x5b293c[_0x59cae9[_0x2cc746(0x12c)]]=_0x1df5af,_0x5b293c;}catch(_0x5263a2){logger[_0x2cc746(0x1a4)](_0x2cc746(0x127)+_0x3b003d+'\x20with\x20error\x20:\x20'+_0x5263a2);}}async[a4_0x490116(0x18b)](_0x33968d,_0x3feca4){const _0x4d2b35=a4_0x490116;if(!this[_0x4d2b35(0x168)]||!_0x3feca4||!_0x33968d)return![];try{return await SessionHandler[_0x4d2b35(0x13a)](_0x3feca4);}catch(_0x31e9a1){logger[_0x4d2b35(0x1a4)](_0x4d2b35(0x139)+_0x33968d+_0x4d2b35(0x1b7)+_0x31e9a1);}}[a4_0x490116(0x154)](_0x3f3618){const _0x4a3240=a4_0x490116,_0x2ee1f3={};_0x2ee1f3[_0x4a3240(0x182)]=_0x4a3240(0x151);const _0x224258=_0x2ee1f3;return{'id':_0x3f3618[_0x4a3240(0x1e4)],'text':_0x3f3618['text'],'keyword':_0x3f3618[_0x4a3240(0x16d)],'started_at':_0x3f3618['startedAt']['toISOString'](),'result':_0x224258[_0x4a3240(0x182)]};}[a4_0x490116(0x155)](_0x4b3dd2){const _0x43fb4e=a4_0x490116,_0x4c758a={'TewSn':function(_0x28ae4d){return _0x28ae4d();}};!this[_0x43fb4e(0x1a9)][_0x43fb4e(0x196)]&&(this[_0x43fb4e(0x1a9)][_0x43fb4e(0x196)]=[]),!_0x4b3dd2[_0x43fb4e(0x1e4)]&&(_0x4b3dd2[_0x43fb4e(0x1e4)]=_0x4c758a[_0x43fb4e(0x1e5)](uuidv4),_0x4b3dd2['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x43fb4e(0x15d)](this[_0x43fb4e(0x154)](_0x4b3dd2)));}['bddStepFinish'](_0x59ea2b){const _0x4fefc8=a4_0x490116,_0x6b13e0={'kqpFp':function(_0x211a83,_0x71270){return _0x211a83(_0x71270);},'MjUjR':_0x4fefc8(0x17d),'cUAzJ':_0x4fefc8(0x151),'gwlIN':_0x4fefc8(0x1d6),'vIAUR':function(_0x19163d,_0xe07dac){return _0x19163d-_0xe07dac;}};let _0x18023d=this[_0x4fefc8(0x1a9)][_0x4fefc8(0x196)][_0x4fefc8(0x159)](_0x14ac58=>_0x14ac58['id']===_0x59ea2b[_0x4fefc8(0x1e4)]);_0x6b13e0[_0x4fefc8(0x180)](isUndefined,_0x18023d)&&(_0x18023d=this[_0x4fefc8(0x154)](_0x59ea2b)),_0x18023d[_0x4fefc8(0x14a)]=[_0x6b13e0[_0x4fefc8(0x10c)],_0x6b13e0[_0x4fefc8(0x147)]][_0x4fefc8(0x1e3)](_0x59ea2b[_0x4fefc8(0x16c)])?_0x6b13e0['gwlIN']:_0x59ea2b['status'],_0x18023d['finished_at']=new Date()[_0x4fefc8(0x1e6)](),_0x18023d[_0x4fefc8(0x1bd)]=_0x6b13e0[_0x4fefc8(0x130)](Date[_0x4fefc8(0x199)](),_0x59ea2b[_0x4fefc8(0x1c7)][_0x4fefc8(0x1b2)]()),_0x18023d['failure']=_0x59ea2b['err']?_0x59ea2b[_0x4fefc8(0x181)][_0x4fefc8(0x1a5)]:null;}}const a4_0x5ecd3b={};function a4_0xa2a5(_0x5486fb,_0x1105d2){const _0x405877=a4_0x4058();return a4_0xa2a5=function(_0xa2a51,_0x4ae56e){_0xa2a51=_0xa2a51-0x106;let _0x37946a=_0x405877[_0xa2a51];return _0x37946a;},a4_0xa2a5(_0x5486fb,_0x1105d2);}a4_0x5ecd3b['O11yHelper']=O11yHelper,a4_0x5ecd3b[a4_0x490116(0x1df)]=STATE_PASSED,a4_0x5ecd3b[a4_0x490116(0x1ba)]=STATE_FAILED,a4_0x5ecd3b[a4_0x490116(0x148)]=TEST_EVENTS,module['exports']=a4_0x5ecd3b;function a4_0x4058(){const _0x2f6b67=['bddStepStart','getCBTInfo','cuLRF','failure','find','skipped','BrowserType','ctx','push','start','JWPjb','PZvuj','UlwmX','../mocha/test-observability/mochaUtils','HookRunFinished','pMAlr','launch','client','bind','enabled','ErfND','HOOK_RUN_FINISHED','codeceptjs','status','keyword','hook_type','failureData','hook_run','then','VfmtW','defineProperty','_paths','_afterAll','xSqKs','OuBkW','getHooksForTest','avwbS','MNsrs','apply','title','success','CjOgG','Rlpao','kqpFp','err','DUulJ','resetSkipTestHooks','finished','pKiiW','cwd','HVTxa','jbIRs','suites','shutdown','fireEvent','failure_reason_expanded','match','obsBrowserTypeMockApplied','comment','markedStatus','uuid','pid','retryOf','failed\x20to\x20get\x20root\x20parent\x20file\x20','2024VLBJwI','bddSteps','JLPXk','pPUUd','now','getHookType','errorsDetailed','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','finished_at','split','SlRbw','trDaz','TZlvg','getRootParentFile','hookAnalyticsId','debug','message','xigVc','currentHook','Maqdc','currentTest','../../helpers/test-observability/utils','pOnRr','PLAYWRIGHT_HUB_URL','forEach','browserstack','yRbKa','mbkah','prefixTestPath','getTime','browserType.js','tags','event_type','Vlbgw','\x20with\x20error\x20:\x20','cwYua','frameworkName','STATE_FAILED','dirname','./helper.js','duration','LogCreated','../../helpers/testhub/utils.js','CODECEPT','_beforeEach','toLowerCase','../utils/constants','failure_backtrace','hooks','logs','startedAt','length','_beforeAll','sQzQf','hAlfd','started','ZThFJ','name','SCAjV','backtrace','rMXmc','test_run','qrGvp','../../helpers/test-observability/constants','TEST_RUN_FINISHED','passed','NZRnn','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/sessionDetails','findGitConfig','aSIdM','2122296KWhXqH','integrations','FLxmz','STATE_PASSED','9094sLKgWy','../playwright/accessibility-helper','ssjad','includes','stepAnalyticsId','TewSn','toISOString','njwqQ','prototype','hook_run_uuid','bs:addLog:','owAqP','config','DzBLi','body','Playwright','lwuav','HookRunStarted','wsEndpoint','PagMo','hdLLy','sMbQR','2406040bLPxDh','file_name','hYdwB','_afterEach','wROTl','concat','aTOuT','_testEnv','MRLLa','riAWU','657218HuhwaO','winstonLogger','JgCrv','aOpMI','getFailureType','fGSMY','TestRunSkipped','oIRxo','hook','location_prefix','expanded','zYQEW','MjUjR','jjLcW','captureEvent','__platformCaps','iXexg','__cloud_provider___','UNVDo','javascript','ecXnU','1925928eSGUbV','CWaiB','inspect','connectOverCDP','groups','WLrWm','HOOK_RUN_STARTED','replace','Zhccw','meta','kRfvj','eTNdS','setupBrowserDetails','failed','path','mapTestHooks','relative','ErcBV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','removeAllListeners','2448744JYoryl','uVcPl','driver','IPyTu','hWCNG','dDjvC','test_run_uuid','vIAUR','getHierarchy','file','TEST_RUN_SKIPPED','bHHnk','../../helpers/helper','RKDZV','toString','213srEEan','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','uploadEventData','LHqxY','.git','QzUDV','IUycc','2961GgkdzA','FkwVH','patchConsoleLogger','test','0|3|4|1|2|5','IjiJD','testAnalyticsId','WGuxv','cUAzJ','TEST_EVENTS','parent','result','fullTitle','appendTestItemLog','join','accessibilityPlatform','connect','njOLM','pending','HUTok','oSPBc','initializeBddStep'];a4_0x4058=function(){return _0x2f6b67;};return a4_0x4058();}
|
|
1
|
+
function a4_0xe5b1(){const _0x1811ca=['TestRunSkipped','markedStatus','started','_testEnv','_afterAll','hookAnalyticsId','kWgGE','currentTest','ZnMgU','HookRunStarted','PLAYWRIGHT_HUB_URL','prototype','initializeBddStep','codeceptjs','join','getHooksForTest','wsEndpoint','failure_reason_expanded','bddSteps','getFailureType','fullTitle','mapTestHooks','body','status','11KVoIPS','jknAh','_afterEach','BMPRI','UfADj','DeYJK','hook_run','exports','statSync','failed','uuid','AjsoM','MDoAn','toString','jzKjS','includes','QRcMP','defineProperty','eILzU','DMWkF','.git','test','TEST_EVENTS','xWXLO','event_type','match','parent','debug','config','prefixTestPath','launch','test_run','Not\x20able\x20to\x20import\x20Browser','GCLjr','../../helpers/testhub/utils.js','../../helpers/test-observability/utils','client','jWzNZ','OqwIg','meta','sendCBTInfo','hook_run_uuid','sep','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','tkpVd','getHierarchy','doVZT','name','dCzGi','gZQgX','5665464KMCkVK','uploadEventData','type','CmysW','IvAqD','Failed\x20to\x20parse\x20wsendpoint\x20','HOOK_RUN_FINISHED','10lFEsbY','path','push','IXdxx','success','25xJnJef','4797042XSSakD','MCofF','../../helpers/helper','msCks','file_name','STATE_FAILED','ftMuy','suites','browserstack','zDgnE','KCZdg','kHxlc','SRjiH','../playwright/sessionDetails','logs','../../helpers/test-observability/constants','SJPfO','finished_at','accessibilityPlatform','retryOf','yeKqI','browserType.js','Bkntx','Kidmz','skipped','hooks','894172xWESFO','TEST_RUN_STARTED','../playwright/accessibility-helper','ApAft','rPDRl','now','TEST_RUN_SKIPPED','forEach','integrations','util','qksEr','PathHelper','currentHook','dirname','pYCJE','text','enabled','shutdown','apply','winstonLogger','frameworkName','stepAnalyticsId','_beforeEach','../mocha/test-observability/mochaUtils','appendTestItemLog','\x20with\x20error\x20:\x20','length','File\x20path\x20could\x20not\x20be\x20found','gFGeu','startedAt','getTime','file','O11yHelper','vLpuq','hook_type','constructor','relative','Playwright','replace','AkxvB','getHookType','LxQyw','concat','pWWyQ','TestRunFinished','hkhdm','keyword','pending','fireEvent','Segwa','KQCQU','hIgGx','removeAllListeners','ctx','start','bddStepFinish','ivwzQ','duration','adjFA','HOOK_RUN_STARTED','1|0|4|3|5|2','connect','getRootParentFile','7LepzAy','getInstance','./helper.js','ZfrMo','split','JHUOZ','ANDZZ','passed','QpaMG','6UaKusY','bs:addLog:','err','_paths','testAnalyticsId','PIKsk','find','IRGiE','obsBrowserTypeMockApplied','backtrace','failure','83855FuAkNl','patchConsoleLogger','driver','jQBlC','hook','message','comment','RCWNE','nymuz','RNGQA','title','ogOUb','bddStepStart','XnNdO','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','FctOa','bind','toISOString','_beforeAll','1486833XjhRaG','test_run_uuid','result','../utils/constants','failure_backtrace','errorsDetailed','pdqsj','KJCDR','lib','tags','groups','findGitConfig','BrowserType','getCBTInfo','bCwio','finished','PDhXN','__platformCaps','10795797ayhuKX','FAqIN','then','__cloud_provider___','CVPvn','pid','failureData','hxDTf','kFuVX','6288636fvnxPN','setupBrowserDetails','toUpperCase','resetSkipTestHooks','XtTrm','LzMfu','pDYOz','nAUnM','TEST_RUN_FINISHED'];a4_0xe5b1=function(){return _0x1811ca;};return a4_0xe5b1();}const a4_0x2472c8=a4_0x38ff;(function(_0x4d0ab7,_0x117493){const _0x517a9a=a4_0x38ff,_0x167e3a=_0x4d0ab7();while(!![]){try{const _0x43e9b9=parseInt(_0x517a9a(0xe4))/0x1+-parseInt(_0x517a9a(0xd9))/0x2*(-parseInt(_0x517a9a(0xf7))/0x3)+parseInt(_0x517a9a(0x18c))/0x4*(parseInt(_0x517a9a(0x171))/0x5)+-parseInt(_0x517a9a(0x172))/0x6*(parseInt(_0x517a9a(0xd0))/0x7)+parseInt(_0x517a9a(0x165))/0x8+parseInt(_0x517a9a(0x109))/0x9*(-parseInt(_0x517a9a(0x16c))/0xa)+-parseInt(_0x517a9a(0x133))/0xb*(parseInt(_0x517a9a(0x112))/0xc);if(_0x43e9b9===_0x117493)break;else _0x167e3a['push'](_0x167e3a['shift']());}catch(_0x5985bb){_0x167e3a['push'](_0x167e3a['shift']());}}}(a4_0xe5b1,0xd5415));const path=require(a4_0x2472c8(0x16d)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2472c8(0x13d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2472c8(0x174)),testOpsHelper=require(a4_0x2472c8(0x156)),{getTestEnv}=require(a4_0x2472c8(0xa8)),{FRAMEWORKS}=require(a4_0x2472c8(0x181)),logger=require('../../helpers/logger')[a4_0x2472c8(0x19f)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x2472c8(0x17f)),debug=testOpsHelper[a4_0x2472c8(0x14e)],{processAccessibilityCaps}=require(a4_0x2472c8(0x18e)),Constants=require(a4_0x2472c8(0xfa)),{fetchPlatformDetails}=require(a4_0x2472c8(0xd2)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2472c8(0x155)),STATE_PASSED=a4_0x2472c8(0xd7),STATE_FAILED=a4_0x2472c8(0x13c),a4_0xb3cea2={};a4_0xb3cea2[a4_0x2472c8(0x18d)]='TestRunStarted',a4_0xb3cea2[a4_0x2472c8(0x11a)]=a4_0x2472c8(0xbd),a4_0xb3cea2[a4_0x2472c8(0x192)]=a4_0x2472c8(0x11b),a4_0xb3cea2[a4_0x2472c8(0xcc)]=a4_0x2472c8(0x124),a4_0xb3cea2[a4_0x2472c8(0x16b)]='HookRunFinished';const TEST_EVENTS=a4_0xb3cea2,parseEvent=_0x3efcf7=>{const _0x5712e6=a4_0x2472c8,_0x89a98={};_0x89a98['AkxvB']=function(_0x10ff1f,_0x560e66){return _0x10ff1f<_0x560e66;},_0x89a98[_0x5712e6(0xad)]=function(_0xc34020,_0x26d21d){return _0xc34020===_0x26d21d;},_0x89a98[_0x5712e6(0xc3)]=_0x5712e6(0x148),_0x89a98[_0x5712e6(0xba)]=function(_0x4277ea,_0x1b9dec){return _0x4277ea===_0x1b9dec;},_0x89a98[_0x5712e6(0x117)]='hook',_0x89a98[_0x5712e6(0x178)]=_0x5712e6(0x18a),_0x89a98[_0x5712e6(0x164)]=function(_0x2de1ed,_0x38db24){return _0x2de1ed===_0x38db24;},_0x89a98[_0x5712e6(0x119)]=_0x5712e6(0x11d),_0x89a98[_0x5712e6(0x110)]=_0x5712e6(0x106);const _0x2064b1=_0x89a98,_0x284073=_0x3efcf7[_0x5712e6(0x14c)](/^(.*)Run(.*)$/);if(!_0x284073)return null;if(_0x2064b1[_0x5712e6(0xb8)](_0x284073['length'],0x3))return null;const _0x16aba0=_0x284073[0x1]['toLowerCase'](),_0x5b625e=_0x284073[0x2]['toLowerCase']();return{'test':_0x2064b1[_0x5712e6(0xad)](_0x16aba0,_0x2064b1[_0x5712e6(0xc3)]),'hook':_0x2064b1[_0x5712e6(0xba)](_0x16aba0,_0x2064b1[_0x5712e6(0x117)]),'skipped':_0x2064b1[_0x5712e6(0xba)](_0x5b625e,_0x2064b1[_0x5712e6(0x178)]),'started':_0x2064b1[_0x5712e6(0x164)](_0x5b625e,_0x2064b1[_0x5712e6(0x119)]),'finished':_0x2064b1[_0x5712e6(0xba)](_0x5b625e,_0x2064b1[_0x5712e6(0x110)])};},mockPWBrowserType=_0x457aab=>{const _0x2b26a4=a4_0x2472c8,_0x5227ba={'msCks':function(_0x554614,_0x15550b){return _0x554614===_0x15550b;},'MDoAn':'string','XnNdO':function(_0x20b98c,_0xb737b,_0xbdc063){return _0x20b98c(_0xb737b,_0xbdc063);},'rPDRl':'wsEndpoint','IXdxx':function(_0x2eff9d,_0x10bedb){return _0x2eff9d(_0x10bedb);},'wbjOj':_0x2b26a4(0x17a),'ZfrMo':_0x2b26a4(0xff),'ivwzQ':_0x2b26a4(0x157),'jQBlC':_0x2b26a4(0x187),'hfJWg':function(_0x45e53b,_0x3ca7c0){return _0x45e53b(_0x3ca7c0);},'mEihg':_0x2b26a4(0x153),'XMgpP':_0x2b26a4(0xce),'jknAh':_0x2b26a4(0x151)},_0x4ee9ab=path[_0x2b26a4(0x129)](_0x5227ba[_0x2b26a4(0xd3)],_0x5227ba[_0x2b26a4(0xc9)],_0x5227ba[_0x2b26a4(0xe7)]),_0x17a71a=_0x5227ba['hfJWg'](importFileFromPWCore,_0x4ee9ab);if(!_0x17a71a){_0x5227ba[_0x2b26a4(0x16f)](debug,_0x5227ba['mEihg']);return;}const _0x39a527=_0x17a71a[_0x2b26a4(0x103)],_0x491b1a=_0x39a527[_0x2b26a4(0x126)];if(_0x491b1a[_0x2b26a4(0xe1)])return;const _0x7d0e63=_0x491b1a[_0x2b26a4(0xce)];Object[_0x2b26a4(0x144)](_0x491b1a,_0x5227ba['XMgpP'],{'get':function(){const _0x15d24d=_0x2b26a4,_0x9123cc={'ApAft':function(_0x5a59e3,_0x1ce94e){const _0x5b9ef9=a4_0x38ff;return _0x5227ba[_0x5b9ef9(0x175)](_0x5a59e3,_0x1ce94e);},'rKcVf':_0x5227ba[_0x15d24d(0x13f)],'BMPRI':function(_0x3275ea,_0x3deabe,_0x40e185){const _0xf9a92a=_0x15d24d;return _0x5227ba[_0xf9a92a(0xf1)](_0x3275ea,_0x3deabe,_0x40e185);},'SJPfO':_0x5227ba[_0x15d24d(0x190)],'pYCJE':function(_0x281f80,_0x423d38){const _0x38efa5=_0x15d24d;return _0x5227ba[_0x38efa5(0x16f)](_0x281f80,_0x423d38);},'jWzNZ':_0x5227ba['wbjOj']};return async function _0x4f49f8(_0xa6ba5f,_0x42e326){const _0x4d3cbe=_0x15d24d,_0x23f326={'PIfCp':function(_0x2fb54f,_0x2752b7){const _0x2d2541=a4_0x38ff;return _0x9123cc[_0x2d2541(0x18f)](_0x2fb54f,_0x2752b7);},'DMWkF':_0x9123cc['rKcVf']},_0xbc29d0=_0x9123cc[_0x4d3cbe(0x136)](nestedKeyValue,_0xa6ba5f,[_0x9123cc[_0x4d3cbe(0x182)]])||_0xa6ba5f;let _0x31cb06=null,_0x989f3e=null;try{[_0x989f3e,_0x31cb06]=_0xbc29d0?_0x9123cc[_0x4d3cbe(0x19a)](parseWSEndpoint,_0xbc29d0):[null,null],global[_0x4d3cbe(0x108)]=_0x31cb06,_0x989f3e[_0x4d3cbe(0x142)](_0x9123cc[_0x4d3cbe(0x158)])&&(global[_0x4d3cbe(0x10c)]=_0x9123cc[_0x4d3cbe(0x158)]);}catch(_0x1730c2){logger['debug'](_0x4d3cbe(0x16a)+_0xbc29d0+'\x20'+_0x1730c2);}_0x9123cc[_0x4d3cbe(0x136)](processAccessibilityCaps,_0x31cb06,_0x989f3e);if(global[_0x4d3cbe(0x184)]){const _0x248e93=await _0x491b1a['connectOverCDP'][_0x4d3cbe(0x19e)](this,[''+Constants[_0x4d3cbe(0x125)]+_0x9123cc['pYCJE'](encodeURIComponent,JSON['stringify'](_0x31cb06))]);return PlaywrightSessionDetails[_0x4d3cbe(0x113)](_0x248e93,_0x457aab,_0xbc29d0),_0x248e93;}return _0x7d0e63[_0x4d3cbe(0x19e)](this,arguments)[_0x4d3cbe(0x10b)](_0x2e4af2=>{const _0x6930c0=_0x4d3cbe;let _0x2ad6f7=_0xa6ba5f[_0x6930c0(0x12b)];return _0x23f326['PIfCp'](typeof _0xa6ba5f,_0x23f326[_0x6930c0(0x146)])&&(_0x2ad6f7=_0xa6ba5f),PlaywrightSessionDetails[_0x6930c0(0x113)](_0x2e4af2,_0x457aab,_0x2ad6f7),_0x2e4af2;});};}});const _0x41fa87=_0x491b1a[_0x2b26a4(0x151)];Object['defineProperty'](_0x491b1a,_0x5227ba[_0x2b26a4(0x134)],{'get':function(){return async function _0x5c6da7(){return _0x41fa87['apply'](this,arguments)['then'](_0x341168=>{const _0x402db6=a4_0x38ff;return PlaywrightSessionDetails[_0x402db6(0x113)](_0x341168,null),_0x341168;});};}});};function a4_0x38ff(_0x3695f4,_0x1a3ea2){const _0xe5b16e=a4_0xe5b1();return a4_0x38ff=function(_0x38ff99,_0x5077c8){_0x38ff99=_0x38ff99-0xa8;let _0x5e18df=_0xe5b16e[_0x38ff99];return _0x5e18df;},a4_0x38ff(_0x3695f4,_0x1a3ea2);}class O11yHelper{['currentTest']=null;[a4_0x2472c8(0x198)]=null;[a4_0x2472c8(0x19c)]=![];[a4_0x2472c8(0x1a0)]=![];constructor(_0x51bce6,_0x51f127){const _0x20004a=a4_0x2472c8,_0x5942c7={'ANDZZ':_0x20004a(0xcd),'PIKsk':function(_0xd95e6f){return _0xd95e6f();},'lMePk':function(_0x457f3d,_0x59a5bc){return _0x457f3d===_0x59a5bc;},'exwyK':_0x20004a(0xb6),'wrOpw':function(_0x37e01b,_0x471f63){return _0x37e01b(_0x471f63);},'hkhdm':function(_0xbcc0ac){return _0xbcc0ac();}},_0x13761e=_0x5942c7[_0x20004a(0xd6)][_0x20004a(0xd4)]('|');let _0x1812a3=0x0;while(!![]){switch(_0x13761e[_0x1812a3++]){case'0':this[_0x20004a(0x1a0)]=_0x51f127[_0x20004a(0x1a0)];continue;case'1':this[_0x20004a(0x19c)]=_0x5942c7[_0x20004a(0xde)](shouldProcessEventForTesthub);continue;case'2':this[_0x20004a(0xe6)]&&_0x5942c7['lMePk'](this[_0x20004a(0xe6)][_0x20004a(0xb4)][_0x20004a(0x162)],_0x5942c7['exwyK'])&&_0x5942c7['wrOpw'](mockPWBrowserType,null);continue;case'3':this[_0x20004a(0x11e)]=_0x5942c7[_0x20004a(0xbe)](getTestEnv);continue;case'4':this[_0x20004a(0xe6)]=_0x51bce6;continue;case'5':this[_0x20004a(0xdc)]=new testOpsHelper[(_0x20004a(0x197))]({'cwd':process['cwd']()},this[_0x20004a(0x11e)]['location_prefix']);continue;}break;}}[a4_0x2472c8(0xc7)](){const _0x206be9=a4_0x2472c8;if(!this['enabled'])return;testOpsHelper[_0x206be9(0xe5)](),process[_0x206be9(0xc5)]('bs:addLog:'+process[_0x206be9(0x10e)]),process['on'](_0x206be9(0xda)+process[_0x206be9(0x10e)],this[_0x206be9(0xa9)][_0x206be9(0xf4)](this));}async['stop'](){const _0x1f899d=a4_0x2472c8;await RequestQueueHandler[_0x1f899d(0xd1)]()[_0x1f899d(0x19d)]();}async['appendTestItemLog'](_0x332d01){const _0x3d59ad=a4_0x2472c8,_0x58866a={'QRcMP':'LogCreated','bCwio':function(_0x1984c4,_0x27848e){return _0x1984c4(_0x27848e);}};try{this[_0x3d59ad(0x198)]&&!this[_0x3d59ad(0x198)][_0x3d59ad(0x11c)]&&(_0x332d01[_0x3d59ad(0x15c)]=this[_0x3d59ad(0x198)][_0x3d59ad(0x120)]);!_0x332d01[_0x3d59ad(0x15c)]&&this['currentTest']&&!this[_0x3d59ad(0x122)]['markedStatus']&&(_0x332d01['test_run_uuid']=this['currentTest'][_0x3d59ad(0xdd)]);if(_0x332d01[_0x3d59ad(0x15c)]||_0x332d01[_0x3d59ad(0xf8)]){const _0x36bc19={};_0x36bc19[_0x3d59ad(0x14b)]=_0x58866a[_0x3d59ad(0x143)],_0x36bc19[_0x3d59ad(0x180)]=[_0x332d01],await SessionHandler['uploadEventData'](_0x36bc19);}}catch(_0x23000c){_0x58866a[_0x3d59ad(0x105)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x23000c);}}async[a4_0x2472c8(0x15b)](_0xe031ff){const _0x4dc236=a4_0x2472c8,_0xc9f1d8={'rpZLa':'CBTSessionCreated','AjsoM':function(_0x3d7163,_0x5250e6){return _0x3d7163(_0x5250e6);}};if(!this['enabled'])return;const _0x401720=this['getCBTInfo'](this[_0x4dc236(0xe6)]);try{const _0x2d01b1={};_0x2d01b1[_0x4dc236(0x13d)]=_0xe031ff,_0x2d01b1[_0x4dc236(0x194)]=_0x401720;const _0x34b8ed=_0x2d01b1,_0x39d7e4={};_0x39d7e4[_0x4dc236(0x14b)]=_0xc9f1d8['rpZLa'],_0x39d7e4['test_run']=_0x34b8ed,await SessionHandler[_0x4dc236(0x166)](_0x39d7e4);}catch(_0x42a09e){_0xc9f1d8[_0x4dc236(0x13e)](debug,_0x4dc236(0x15e)+_0x42a09e);}}[a4_0x2472c8(0x104)](_0x4418a7){const _0x28e024={'URJjb':function(_0x10d651,_0x1119ab){return _0x10d651(_0x1119ab);}};return _0x28e024['URJjb'](fetchPlatformDetails,_0x4418a7);}[a4_0x2472c8(0x115)]=_0x401f8c=>{const _0x280f96=a4_0x2472c8,_0x126640={};_0x126640[_0x280f96(0x141)]=_0x280f96(0x1a2),_0x126640[_0x280f96(0x17e)]=_0x280f96(0x135);const _0x5120de=_0x126640;if(!_0x401f8c||!_0x401f8c[_0x280f96(0x14d)])return;[_0x5120de[_0x280f96(0x141)],_0x5120de[_0x280f96(0x17e)]][_0x280f96(0x193)](_0x26740d=>{const _0x3805d8=_0x280f96,_0x21fdca=_0x401f8c[_0x3805d8(0x14d)][_0x26740d];_0x21fdca[_0x3805d8(0x193)](_0x4f53cf=>{const _0x3b937c=_0x3805d8;_0x4f53cf['hookAnalyticsId']&&(_0x4f53cf[_0x3b937c(0x120)]=null);});});};[a4_0x2472c8(0x130)](_0x13e675){const _0x8ebbdb=a4_0x2472c8,_0xc27fcc={'OqwIg':_0x8ebbdb(0x128),'JHUOZ':function(_0x598141){return _0x598141();},'CmysW':function(_0x16e4ab,_0x1c5395){return _0x16e4ab===_0x1c5395;},'vLpuq':_0x8ebbdb(0x135),'miKjE':_0x8ebbdb(0xf6),'yeKqI':_0x8ebbdb(0x11f),'IvAqD':_0x8ebbdb(0x1a2)};if(!_0x13e675||!_0x13e675[_0x8ebbdb(0x14d)])return;[_0xc27fcc['miKjE'],_0xc27fcc[_0x8ebbdb(0x186)],_0xc27fcc[_0x8ebbdb(0x169)],_0xc27fcc[_0x8ebbdb(0xb2)]]['forEach'](_0xfdbb67=>{const _0x4cffee=_0x8ebbdb,_0xb18676={'Kidmz':_0xc27fcc[_0x4cffee(0x159)],'KJCDR':function(_0x32bd46){const _0x382237=_0x4cffee;return _0xc27fcc[_0x382237(0xd5)](_0x32bd46);},'KNhoJ':function(_0x496201,_0xe78d6e){const _0x445b35=_0x4cffee;return _0xc27fcc[_0x445b35(0x168)](_0x496201,_0xe78d6e);},'qksEr':_0xc27fcc[_0x4cffee(0xb2)]},_0xaec5f7=_0x13e675['parent'][_0xfdbb67]||[];_0xaec5f7[_0x4cffee(0x193)](_0x4c6f14=>{const _0x4be354=_0x4cffee;if(_0x4c6f14['title'][_0x4be354(0x142)](_0xb18676[_0x4be354(0x189)]))return;if(!_0x4c6f14['hookAnalyticsId'])_0x4c6f14['hookAnalyticsId']=_0xb18676[_0x4be354(0xfe)](uuidv4);else _0x4c6f14[_0x4be354(0x11c)]&&_0xb18676['KNhoJ'](_0xfdbb67,_0xb18676[_0x4be354(0x196)])&&(_0x4c6f14[_0x4be354(0x120)]=_0xb18676[_0x4be354(0xfe)](uuidv4),delete _0x4c6f14[_0x4be354(0x11c)]);});}),this[_0x8ebbdb(0x130)](_0x13e675[_0x8ebbdb(0x14d)]);}[a4_0x2472c8(0x12a)](_0x2992dd){const _0x3e6083=a4_0x2472c8,_0x157e51={};_0x157e51[_0x3e6083(0xe0)]=_0x3e6083(0xf6),_0x157e51['nKeDX']=_0x3e6083(0x11f),_0x157e51[_0x3e6083(0xbc)]=_0x3e6083(0x1a2),_0x157e51['adjFA']=_0x3e6083(0x135);const _0x2d1ee3=_0x157e51;if(!_0x2992dd||!_0x2992dd[_0x3e6083(0x14d)])return[];const _0xa9812b=[];return[_0x2d1ee3[_0x3e6083(0xe0)],_0x2d1ee3['nKeDX'],_0x2d1ee3[_0x3e6083(0xbc)],_0x2d1ee3[_0x3e6083(0xcb)]][_0x3e6083(0x193)](_0x450188=>{const _0x1ab43c=_0x3e6083,_0xfb1ca6=_0x2992dd[_0x1ab43c(0x14d)][_0x450188]||[];_0xfb1ca6[_0x1ab43c(0x193)](_0x359613=>{const _0x2d3f2d=_0x1ab43c;_0x359613[_0x2d3f2d(0x120)]&&_0xa9812b[_0x2d3f2d(0x16e)](_0x359613[_0x2d3f2d(0x120)]);});}),[][_0x3e6083(0xbb)](_0xa9812b,this[_0x3e6083(0x12a)](_0x2992dd[_0x3e6083(0x14d)]));}[a4_0x2472c8(0xb9)](_0x78b367){const _0x2dbe55=a4_0x2472c8,_0x1e478e=/^"(?<hook>.*)" hook:.*$/,_0x23e5b8=_0x78b367[_0x2dbe55(0xee)],_0x50e895=_0x23e5b8['match'](_0x1e478e);if(_0x50e895&&_0x50e895['groups'])return _0x50e895[_0x2dbe55(0x101)][_0x2dbe55(0xe8)][_0x2dbe55(0x114)]()[_0x2dbe55(0xb7)]('\x20','_');return null;}[a4_0x2472c8(0x102)](_0x35ff60){const _0x29af09=a4_0x2472c8,_0x740c35={};_0x740c35[_0x29af09(0x17c)]=function(_0x3d9ab9,_0x5c3871){return _0x3d9ab9===_0x5c3871;},_0x740c35[_0x29af09(0x15f)]=function(_0x3747f6,_0x4c7de4){return _0x3747f6===_0x4c7de4;},_0x740c35['fZiCP']=_0x29af09(0x147),_0x740c35[_0x29af09(0x111)]=_0x29af09(0x14f);const _0x552670=_0x740c35,_0x3bc769=path[_0x29af09(0x15d)];if(_0x552670[_0x29af09(0x17c)](_0x35ff60,null)||_0x552670[_0x29af09(0x15f)](_0x35ff60,'')||_0x552670[_0x29af09(0x17c)](_0x35ff60,_0x3bc769)||_0x552670['tkpVd'](_0x35ff60,path[_0x29af09(0x199)](_0x35ff60)))return null;try{return fs[_0x29af09(0x13b)](path['join'](_0x35ff60,_0x552670['fZiCP'],_0x552670['kFuVX'])),_0x35ff60;}catch(_0x5d0fe5){const _0x8c2449=path['dirname'](_0x35ff60);return this['findGitConfig'](_0x8c2449);}}['getRootParentFile'](_0x34933e){const _0x5dc377=a4_0x2472c8,_0x39b92f={};_0x39b92f[_0x5dc377(0xef)]=function(_0x1355fd,_0xffda0d){return _0x1355fd>_0xffda0d;};const _0x54bb2a=_0x39b92f;if(_0x34933e[_0x5dc377(0xb0)])return _0x34933e[_0x5dc377(0xb0)];if(_0x34933e['ctx']){const _0x3d7db2=_0x34933e[_0x5dc377(0xc6)][_0x5dc377(0x122)]?this[_0x5dc377(0xcf)](_0x34933e[_0x5dc377(0xc6)][_0x5dc377(0x122)]):null;if(_0x3d7db2)return _0x3d7db2;}if(_0x34933e[_0x5dc377(0x14d)]){const _0x1d594b=this['getRootParentFile'](_0x34933e[_0x5dc377(0x14d)])||(_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]&&_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]['currentTest']?this[_0x5dc377(0xcf)](_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]['currentTest']):null);if(_0x1d594b)return _0x1d594b;_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0x179)]&&_0x54bb2a[_0x5dc377(0xef)](_0x34933e[_0x5dc377(0x14d)]['suites'][_0x5dc377(0xab)],0x0)&&_0x34933e[_0x5dc377(0x14d)]['suites'][_0x5dc377(0x193)](_0x454079=>{const _0x163682=_0x5dc377,_0x3b6467=_0x454079['ctx']?this[_0x163682(0xcf)](_0x454079[_0x163682(0xc6)]):null;if(_0x3b6467)return _0x3b6467;});}return null;}['getHierarchy'](_0x4634a0){const _0x382a12=a4_0x2472c8,_0x153e07={};_0x153e07[_0x382a12(0x10d)]=function(_0x151348,_0x10b2ce){return _0x151348!==_0x10b2ce;};const _0x41b930=_0x153e07,_0x1d13d0=[];if(_0x4634a0&&_0x4634a0[_0x382a12(0x14d)]){let _0x3986ad=_0x4634a0[_0x382a12(0x14d)];while(_0x3986ad&&_0x41b930[_0x382a12(0x10d)](_0x3986ad[_0x382a12(0xee)],'')){_0x1d13d0[_0x382a12(0x16e)](_0x3986ad['title']),_0x3986ad=_0x3986ad[_0x382a12(0x14d)];}}return _0x1d13d0;}['captureEvent'](_0x56f7dc,_0x3ecb3e,_0x2f8e40=undefined){const _0x11a4c2=a4_0x2472c8,_0x25aeeb={'RCWNE':function(_0x210a0d,_0x547d13){return _0x210a0d(_0x547d13);},'MCofF':function(_0x146b5f){return _0x146b5f();},'kHxlc':function(_0x75bddf){return _0x75bddf();},'YEUZo':function(_0x175f19,_0x392cc4){return _0x175f19(_0x392cc4);},'eILzU':_0x11a4c2(0x195),'dCzGi':_0x11a4c2(0xdb),'GCLjr':function(_0x59af03,_0x27d0f3){return _0x59af03!==_0x27d0f3;},'RNGQA':function(_0x10b7ad,_0x511b1c){return _0x10b7ad!==_0x511b1c;},'INEYD':_0x11a4c2(0xac),'Segwa':'pending','nymuz':'failed','pdqsj':_0x11a4c2(0xd7),'Bkntx':_0x11a4c2(0x18a),'ZnMgU':'javascript','DOYId':function(_0x1ff8d4,_0x3ef8bc){return _0x1ff8d4-_0x3ef8bc;},'MLkGg':function(_0x172b28,_0x34fc32,_0x201cba,_0x562eae,_0x4f4a0c){return _0x172b28(_0x34fc32,_0x201cba,_0x562eae,_0x4f4a0c);},'PDhXN':'integrations','pDYOz':_0x11a4c2(0x15a),'xWXLO':_0x11a4c2(0xe3),'gBSxY':_0x11a4c2(0xfb),'UfADj':_0x11a4c2(0xe2),'zDgnE':_0x11a4c2(0x12c),'FctOa':'expanded','DeYJK':function(_0x56039c,_0x5e3046){return _0x56039c===_0x5e3046;},'dZjlg':_0x11a4c2(0x139),'RFBPA':_0x11a4c2(0x152)};if(!this[_0x11a4c2(0x19c)])return;try{if(_0x3ecb3e['fn']&&_0x3ecb3e['fn'][_0x11a4c2(0x140)]()[_0x11a4c2(0x14c)](/browserstack internal helper hook/))return;const _0x5ddb73=_0x25aeeb[_0x11a4c2(0xeb)](parseEvent,_0x56f7dc);if(!_0x5ddb73)return;if(_0x5ddb73[_0x11a4c2(0x148)]){this[_0x11a4c2(0x122)]=_0x3ecb3e,this[_0x11a4c2(0x198)]=null;if(_0x5ddb73[_0x11a4c2(0x11d)]||_0x5ddb73[_0x11a4c2(0x18a)]){_0x3ecb3e[_0x11a4c2(0xae)]=new Date(),_0x3ecb3e[_0x11a4c2(0x11c)]=![];if(!_0x3ecb3e['testAnalyticsId'])_0x3ecb3e['testAnalyticsId']=_0x25aeeb[_0x11a4c2(0x173)](uuidv4);else _0x3ecb3e['markedStatus']&&(!_0x3ecb3e['retryOf']&&(_0x3ecb3e[_0x11a4c2(0x185)]=_0x3ecb3e[_0x11a4c2(0xdd)]),_0x3ecb3e[_0x11a4c2(0xdd)]=_0x25aeeb[_0x11a4c2(0x173)](uuidv4));}}else{if(_0x5ddb73[_0x11a4c2(0xe8)]){this[_0x11a4c2(0x198)]=_0x3ecb3e;if(_0x5ddb73[_0x11a4c2(0x11d)]){_0x3ecb3e[_0x11a4c2(0xae)]=new Date(),_0x3ecb3e['markedStatus']=![];if(!_0x3ecb3e[_0x11a4c2(0x120)])_0x3ecb3e['hookAnalyticsId']=_0x25aeeb[_0x11a4c2(0x17d)](uuidv4);else _0x3ecb3e['hookAnalyticsId']&&_0x3ecb3e['markedStatus']&&(_0x3ecb3e[_0x11a4c2(0x120)]=_0x25aeeb['kHxlc'](uuidv4));}}}if(_0x5ddb73['finished']&&_0x3ecb3e['markedStatus'])return;let _0x1c2842;try{_0x1c2842=this[_0x11a4c2(0xcf)](_0x3ecb3e);}catch(_0x4262a8){logger[_0x11a4c2(0x14e)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4262a8),_0x1c2842=null;}const _0x45444e=_0x25aeeb['YEUZo'](require,_0x25aeeb[_0x11a4c2(0x145)]);let _0x4b9a6e=[];_0x2f8e40&&(_0x4b9a6e=[_0x2f8e40,_0x25aeeb[_0x11a4c2(0x163)]]);const _0x1958dd=_0x25aeeb[_0x11a4c2(0x154)](_0x3ecb3e[_0x11a4c2(0xfc)],undefined)?_0x45444e['inspect'](_0x3ecb3e['errorsDetailed'][0x0]):_0x25aeeb['RNGQA'](_0x2f8e40,undefined)?_0x2f8e40['toString']():undefined,_0x5b8a02=_0x1c2842?this['findGitConfig'](_0x1c2842):null,_0x4a38b8=_0x1c2842?this[_0x11a4c2(0xdc)][_0x11a4c2(0x150)](this[_0x11a4c2(0xcf)](_0x3ecb3e)):_0x25aeeb['INEYD'];let _0x4c7335=_0x25aeeb[_0x11a4c2(0xc2)];const _0x3277f4=!_0x5ddb73[_0x11a4c2(0x11d)]?new Date()['toISOString']():null;if(_0x5ddb73[_0x11a4c2(0x106)])_0x4c7335=_0x2f8e40?_0x25aeeb[_0x11a4c2(0xec)]:_0x25aeeb[_0x11a4c2(0xfd)],_0x3ecb3e[_0x11a4c2(0x11c)]=!![];else _0x5ddb73[_0x11a4c2(0x18a)]&&(_0x4c7335=_0x25aeeb[_0x11a4c2(0x188)],_0x3ecb3e[_0x11a4c2(0x11c)]=!![]);const _0xdf6f0c={'framework':this[_0x11a4c2(0x1a0)],'uuid':_0x3ecb3e['testAnalyticsId']||_0x3ecb3e['hookAnalyticsId'],'name':_0x3ecb3e[_0x11a4c2(0xee)],'body':{'lang':_0x25aeeb[_0x11a4c2(0x123)],'code':_0x3ecb3e[_0x11a4c2(0x131)][_0x11a4c2(0x140)]()},'type':_0x3ecb3e[_0x11a4c2(0x167)],'scope':_0x3ecb3e[_0x11a4c2(0x12f)](),'scopes':this[_0x11a4c2(0x160)](_0x3ecb3e),'file_name':_0x4a38b8,'vc_filepath':_0x5b8a02?path[_0x11a4c2(0xb5)](_0x5b8a02,_0x1c2842):null,'location':_0x4a38b8,'result':_0x4c7335,'failure_reason':_0x1958dd,'duration_in_ms':_0x3ecb3e[_0x11a4c2(0xca)]||(_0x5ddb73[_0x11a4c2(0x106)]||_0x5ddb73[_0x11a4c2(0x18a)])?_0x25aeeb['DOYId'](Date[_0x11a4c2(0x191)](),new Date(_0x3ecb3e[_0x11a4c2(0xae)])[_0x11a4c2(0xaf)]()):null,'started_at':new Date(_0x3ecb3e[_0x11a4c2(0xae)])['toISOString'](),'finished_at':_0x3277f4,'failure':testOpsHelper[_0x11a4c2(0x10f)][_0x11a4c2(0x19e)](null,_0x4b9a6e),'failure_type':!_0x1958dd?null:testOpsHelper[_0x11a4c2(0x12e)](_0x1958dd),'retry_of':_0x3ecb3e[_0x11a4c2(0x185)]||null,'tags':_0x3ecb3e[_0x11a4c2(0x100)]||[],'customRerunParam':{'rerun_name':_0x3ecb3e['fullTitle']()}};_0x25aeeb['MLkGg'](appendTesthubParams,_0xdf6f0c,_0x56f7dc,_0x3ecb3e,FRAMEWORKS['CODECEPT']);if(_0x5ddb73[_0x11a4c2(0xe8)])[_0xdf6f0c[_0x11a4c2(0xb3)],_0xdf6f0c['name']]=[this[_0x11a4c2(0xb9)](_0x3ecb3e),_0x3ecb3e[_0x11a4c2(0xc6)][_0x11a4c2(0x148)][_0x11a4c2(0xee)]],_0x5ddb73['finished']?_0x25aeeb[_0x11a4c2(0xed)](_0xdf6f0c[_0x11a4c2(0xf9)],_0x25aeeb[_0x11a4c2(0xec)])&&(_0xdf6f0c['result']=_0x25aeeb[_0x11a4c2(0xfd)]):_0xdf6f0c[_0x11a4c2(0x131)]={};else _0x5ddb73[_0x11a4c2(0x148)]&&(this[_0x11a4c2(0x130)](_0x3ecb3e),_0x5ddb73['skipped']&&this[_0x11a4c2(0x115)](_0x3ecb3e),(_0x5ddb73[_0x11a4c2(0x106)]||_0x5ddb73['skipped'])&&(_0xdf6f0c[_0x11a4c2(0x18b)]=this[_0x11a4c2(0x12a)](_0x3ecb3e)));this[_0x11a4c2(0xe6)]&&(_0x5ddb73[_0x11a4c2(0x11d)]||_0x5ddb73[_0x11a4c2(0x18a)])&&(_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x107)]]=this[_0x11a4c2(0x104)](this['driver']));_0x5ddb73['test']&&_0x5ddb73['finished']&&_0x3ecb3e[_0x11a4c2(0x12d)]&&(_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x118)]]={'feature':{'name':_0x3ecb3e['parent']['feature'][_0x11a4c2(0x162)],'path':_0xdf6f0c[_0x11a4c2(0x176)],'description':_0x3ecb3e[_0x11a4c2(0x14d)][_0x11a4c2(0xea)]},'scenario':{'name':_0x3ecb3e[_0x11a4c2(0xee)]},'steps':_0x3ecb3e['bddSteps']});const _0x30ed1f=_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x14a)]][0x0];_0x30ed1f&&(_0xdf6f0c[_0x25aeeb['gBSxY']]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0x137)]],_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x17b)]]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0xf3)]]);if(_0x3ecb3e[_0x11a4c2(0x12d)])for(const _0x4a21ae of _0x3ecb3e[_0x11a4c2(0x12d)]){!_0x4a21ae[_0x11a4c2(0x183)]&&(_0x4a21ae[_0x11a4c2(0x183)]=new Date()[_0x11a4c2(0xf5)](),_0x25aeeb[_0x11a4c2(0x138)](_0x4a21ae[_0x11a4c2(0xf9)],_0x25aeeb[_0x11a4c2(0xc2)])&&(_0x30ed1f?(_0x4a21ae['result']=_0x25aeeb[_0x11a4c2(0xec)],_0x4a21ae[_0x11a4c2(0xe3)]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0x137)]][0x0]):_0x4a21ae[_0x11a4c2(0xf9)]=_0x25aeeb['pdqsj']));}const _0xe43d5f={};_0xe43d5f[_0x11a4c2(0x14b)]=_0x5ddb73[_0x11a4c2(0x18a)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x56f7dc;const _0x2ebfc3=_0xe43d5f;return _0x5ddb73[_0x11a4c2(0xe8)]?_0x2ebfc3[_0x25aeeb['dZjlg']]=_0xdf6f0c:_0x2ebfc3[_0x25aeeb['RFBPA']]=_0xdf6f0c,_0x2ebfc3;}catch(_0x378304){logger[_0x11a4c2(0x14e)](_0x11a4c2(0xf2)+_0x56f7dc+_0x11a4c2(0xaa)+_0x378304);}}async[a4_0x2472c8(0xc1)](_0x2919c1,_0x409245){const _0xfe171e=a4_0x2472c8;if(!this[_0xfe171e(0x19c)]||!_0x409245||!_0x2919c1)return![];try{return await SessionHandler[_0xfe171e(0x166)](_0x409245);}catch(_0x1f6b5f){logger[_0xfe171e(0x14e)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2919c1+'\x20with\x20error\x20:\x20'+_0x1f6b5f);}}['initializeBddStep'](_0x18fc13){const _0x5389da=a4_0x2472c8,_0x5c9b6e={};_0x5c9b6e[_0x5389da(0x116)]=_0x5389da(0xc0);const _0x191681=_0x5c9b6e;return{'id':_0x18fc13[_0x5389da(0x1a1)],'text':_0x18fc13[_0x5389da(0x19b)],'keyword':_0x18fc13[_0x5389da(0xbf)],'started_at':_0x18fc13[_0x5389da(0xae)]['toISOString'](),'result':_0x191681['XtTrm']};}[a4_0x2472c8(0xf0)](_0x288c52){const _0x4adceb=a4_0x2472c8,_0x3c2376={'amYDx':function(_0x5b8431){return _0x5b8431();}};!this[_0x4adceb(0x122)]['bddSteps']&&(this[_0x4adceb(0x122)][_0x4adceb(0x12d)]=[]),!_0x288c52[_0x4adceb(0x1a1)]&&(_0x288c52['stepAnalyticsId']=_0x3c2376['amYDx'](uuidv4),_0x288c52['startedAt']=new Date(),this[_0x4adceb(0x122)]['bddSteps']['push'](this[_0x4adceb(0x127)](_0x288c52)));}[a4_0x2472c8(0xc8)](_0x4fc9b7){const _0x5162fe=a4_0x2472c8,_0x11a7cb={'QpaMG':function(_0xc60f63,_0x3914d8){return _0xc60f63(_0x3914d8);},'doVZT':_0x5162fe(0x170),'FAqIN':_0x5162fe(0xc0),'kWgGE':_0x5162fe(0xd7),'hIgGx':function(_0x56f09b,_0x76bed3){return _0x56f09b-_0x76bed3;}};let _0x4fdeb1=this[_0x5162fe(0x122)][_0x5162fe(0x12d)][_0x5162fe(0xdf)](_0x3236f1=>_0x3236f1['id']===_0x4fc9b7[_0x5162fe(0x1a1)]);_0x11a7cb[_0x5162fe(0xd8)](isUndefined,_0x4fdeb1)&&(_0x4fdeb1=this[_0x5162fe(0x127)](_0x4fc9b7)),_0x4fdeb1[_0x5162fe(0xf9)]=[_0x11a7cb[_0x5162fe(0x161)],_0x11a7cb[_0x5162fe(0x10a)]][_0x5162fe(0x142)](_0x4fc9b7[_0x5162fe(0x132)])?_0x11a7cb[_0x5162fe(0x121)]:_0x4fc9b7[_0x5162fe(0x132)],_0x4fdeb1[_0x5162fe(0x183)]=new Date()[_0x5162fe(0xf5)](),_0x4fdeb1[_0x5162fe(0xca)]=_0x11a7cb[_0x5162fe(0xc4)](Date[_0x5162fe(0x191)](),_0x4fc9b7[_0x5162fe(0xae)][_0x5162fe(0xaf)]()),_0x4fdeb1[_0x5162fe(0xe3)]=_0x4fc9b7['err']?_0x4fc9b7[_0x5162fe(0xdb)][_0x5162fe(0xe9)]:null;}}const a4_0x5c10fa={};a4_0x5c10fa[a4_0x2472c8(0xb1)]=O11yHelper,a4_0x5c10fa['STATE_PASSED']=STATE_PASSED,a4_0x5c10fa[a4_0x2472c8(0x177)]=STATE_FAILED,a4_0x5c10fa[a4_0x2472c8(0x149)]=TEST_EVENTS,module[a4_0x2472c8(0x13a)]=a4_0x5c10fa;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0xdee0(_0x479ebe,_0x5a1f15){const _0x3b1ca5=a5_0x3b1c();return a5_0xdee0=function(_0xdee010,_0x3c4287){_0xdee010=_0xdee010-0xdf;let _0x37bc49=_0x3b1ca5[_0xdee010];return _0x37bc49;},a5_0xdee0(_0x479ebe,_0x5a1f15);}const a5_0x5d38fa=a5_0xdee0;(function(_0x24d0e1,_0x36d782){const _0x5edc90=a5_0xdee0,_0x15be53=_0x24d0e1();while(!![]){try{const _0x369ff8=parseInt(_0x5edc90(0x141))/0x1*(parseInt(_0x5edc90(0x106))/0x2)+parseInt(_0x5edc90(0x112))/0x3*(parseInt(_0x5edc90(0xf3))/0x4)+parseInt(_0x5edc90(0xf4))/0x5*(parseInt(_0x5edc90(0x104))/0x6)+parseInt(_0x5edc90(0x11a))/0x7*(parseInt(_0x5edc90(0x14b))/0x8)+-parseInt(_0x5edc90(0x10c))/0x9*(parseInt(_0x5edc90(0x11f))/0xa)+parseInt(_0x5edc90(0x102))/0xb+-parseInt(_0x5edc90(0x135))/0xc;if(_0x369ff8===_0x36d782)break;else _0x15be53['push'](_0x15be53['shift']());}catch(_0x258c7d){_0x15be53['push'](_0x15be53['shift']());}}}(a5_0x3b1c,0xb4bc6));const fs=require('fs'),path=require(a5_0x5d38fa(0x11b)),util=require(a5_0x5d38fa(0xec)),logger=require(a5_0x5d38fa(0xf1))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x5d38fa(0xf0)),helper=require('../../helpers/helper'),utilities=require(a5_0x5d38fa(0x11e)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x5d38fa(0xe6)),TestHubHandler=require(a5_0x5d38fa(0x131)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x38ef93){const _0x5c235a=a5_0x5d38fa,_0x54fa8a={};_0x54fa8a['IFWJb']=function(_0x3c4a74,_0x3d5ec9){return _0x3c4a74>_0x3d5ec9;},_0x54fa8a['LxIBs']=function(_0x5cdb4e,_0x2a4ae2){return _0x5cdb4e-_0x2a4ae2;},_0x54fa8a['DMwHW']=function(_0x1973c2,_0x14e839){return _0x1973c2-_0x14e839;},_0x54fa8a['JQlZe']=function(_0x18c2eb,_0x403c1c){return _0x18c2eb>_0x403c1c;},_0x54fa8a[_0x5c235a(0x113)]=function(_0xc7ce2d,_0x45e482){return _0xc7ce2d>_0x45e482;},_0x54fa8a[_0x5c235a(0xe9)]=function(_0x57b699,_0x132276){return _0x57b699>_0x132276;},_0x54fa8a[_0x5c235a(0x128)]=function(_0x19e2f1,_0x4b62d3){return _0x19e2f1>_0x4b62d3;},_0x54fa8a['IzAdK']=function(_0x2042d5,_0x117a0d){return _0x2042d5>_0x117a0d;},_0x54fa8a['nBBSr']=function(_0x437fbf,_0x5ae532){return _0x437fbf>_0x5ae532;},_0x54fa8a[_0x5c235a(0x126)]=function(_0x46840e,_0x234694){return _0x46840e>_0x234694;},_0x54fa8a[_0x5c235a(0x12a)]=function(_0x38646e,_0x2081d9){return _0x38646e>_0x2081d9;},_0x54fa8a[_0x5c235a(0x150)]=function(_0x3b2268,_0x10b8c7){return _0x3b2268+_0x10b8c7;},_0x54fa8a[_0x5c235a(0x12e)]=function(_0x12ce08,_0x449608){return _0x12ce08+_0x449608;},_0x54fa8a[_0x5c235a(0x12f)]=function(_0x530bb7,_0x45b5f9){return _0x530bb7+_0x45b5f9;},_0x54fa8a[_0x5c235a(0x151)]=function(_0x15417f,_0x35c203){return _0x15417f===_0x35c203;},_0x54fa8a['ftnoJ']=function(_0x690434,_0x4964db){return _0x690434===_0x4964db;},_0x54fa8a['vzWjJ']=_0x5c235a(0x107);const _0x52688c=_0x54fa8a;let _0x1e8287=0x0;if(_0x52688c[_0x5c235a(0xef)](_0x38ef93[_0x5c235a(0x14d)],0x0))return _0x1e8287;return console[_0x5c235a(0x147)](chalk['bold'][_0x5c235a(0xf5)](_0x52688c[_0x5c235a(0x118)])),_0x38ef93[_0x5c235a(0x11d)](_0x52e613=>{const _0x2dcbfc=_0x5c235a,_0x6e703c=_0x52e613[0x0],_0x599aaf=_0x52e613[0x1];console[_0x2dcbfc(0x147)]('\x0a'+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x111)](''+helper[_0x2dcbfc(0x152)](_0x6e703c)));const _0x51a8b8=_0x599aaf[_0x2dcbfc(0x125)],_0x394b6a=_0x599aaf[_0x2dcbfc(0x13e)],_0x124b19=_0x599aaf[_0x2dcbfc(0x14f)],_0x23297f=_0x599aaf[_0x2dcbfc(0x117)],_0x468fb8=_0x599aaf[_0x2dcbfc(0xed)],_0x188a6b=_0x599aaf[_0x2dcbfc(0xe3)],_0x4e10f1=_0x599aaf['stepsPending'],_0x69bf60=_0x599aaf[_0x2dcbfc(0x149)],_0x2b1577=_0x599aaf[_0x2dcbfc(0x136)],_0x44aaea=_0x599aaf[_0x2dcbfc(0x10e)],_0x3e8f2c=_0x599aaf['processSuccess'];let _0x3caf1e=_0x51a8b8+_0x2dcbfc(0x101);const _0x2f015=_0x52688c[_0x2dcbfc(0xdf)](_0x52688c[_0x2dcbfc(0x114)](_0x51a8b8,_0x124b19),0x0)?_0x52688c['DMwHW'](_0x51a8b8,_0x124b19):0x0;if(_0x52688c[_0x2dcbfc(0xf8)](_0x124b19,0x0)&&_0x52688c[_0x2dcbfc(0x113)](_0x2f015,0x0))_0x3caf1e+='\x20('+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x124b19+'\x20failed')+',\x20'+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0xf2)](_0x2f015+_0x2dcbfc(0x105))+')';else(_0x52688c['JQlZe'](_0x124b19,0x0)||_0x52688c['JQlZe'](_0x2f015,0x0))&&(_0x3caf1e+=_0x52688c['hxTOQ'](_0x124b19,0x0)?'\x20('+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x124b19+_0x2dcbfc(0x119))+')':'\x20('+chalk[_0x2dcbfc(0x124)]['green'](_0x2f015+_0x2dcbfc(0x105))+')');const _0x552d0f=_0x394b6a+_0x2dcbfc(0xfc),_0x2cffd4=[];_0x52688c[_0x2dcbfc(0xe9)](_0x44aaea,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x44aaea+_0x2dcbfc(0x134)));_0x52688c[_0x2dcbfc(0xdf)](_0x23297f,0x0)&&_0x2cffd4['push'](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x23297f+_0x2dcbfc(0x119)));_0x52688c[_0x2dcbfc(0x128)](_0x468fb8,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk['bold']['green'](_0x468fb8+_0x2dcbfc(0x105)));_0x52688c[_0x2dcbfc(0xf6)](_0x4e10f1,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x111)](_0x4e10f1+_0x2dcbfc(0xe0)));_0x52688c[_0x2dcbfc(0xfe)](_0x188a6b,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk['bold']['cyan'](_0x188a6b+_0x2dcbfc(0x110)));_0x52688c[_0x2dcbfc(0x126)](_0x69bf60,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)]['yellow'](_0x69bf60+_0x2dcbfc(0x14e)));_0x52688c[_0x2dcbfc(0x12a)](_0x2b1577,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)]['yellow'](_0x2b1577+_0x2dcbfc(0x110)));const _0x115ee8=_0x52688c[_0x2dcbfc(0x150)](_0x52688c[_0x2dcbfc(0x12e)](_0x52688c['yxDSm'](_0x552d0f,'('),_0x2cffd4['join'](',\x20')),')');console['log'](_0x52688c[_0x2dcbfc(0x12e)](_0x52688c[_0x2dcbfc(0x12f)](_0x52688c[_0x2dcbfc(0x150)](_0x52688c[_0x2dcbfc(0x150)]('\x0a',_0x3caf1e),'\x0a'),_0x115ee8),'\x0a')),_0x52688c[_0x2dcbfc(0x151)](_0x3e8f2c,![])&&(_0x1e8287=0x1);}),_0x1e8287;}async function run(_0x45b802,_0x666b89){const _0x2dd48a=a5_0x5d38fa,_0x190773={'ciaqq':function(_0x2666ea,_0x2717fe){return _0x2666ea(_0x2717fe);},'nPqKZ':function(_0x59778c,_0x158400){return _0x59778c>_0x158400;},'kBpYR':_0x2dd48a(0x115),'iTWLn':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','dRISi':_0x2dd48a(0xe8),'hFikx':_0x2dd48a(0x139),'gEpcQ':_0x2dd48a(0x132),'TKbOu':'tmp','AvnqE':function(_0x49f666,_0x4c2f90){return _0x49f666-_0x4c2f90;},'Pwlvx':function(_0x4e9add,_0x37d467){return _0x4e9add>=_0x37d467;},'jILZF':function(_0x483a5f,_0x252eb4){return _0x483a5f!=_0x252eb4;},'Eqwaj':_0x2dd48a(0x13f),'OTyAs':function(_0x179361,_0x65a035,_0x175a36,_0x2dd0dd,_0x3a709d,_0x52f5fc){return _0x179361(_0x65a035,_0x175a36,_0x2dd0dd,_0x3a709d,_0x52f5fc);}},_0x6d517b=new BrowserStackSetup(_0x45b802,_0x190773[_0x2dd48a(0x100)]);await _0x6d517b[_0x2dd48a(0x116)]();!helper['isBrowserstackInfra']()&&await _0x6d517b['setupTCGAuth']();await helper[_0x2dd48a(0x14c)](_0x6d517b[_0x2dd48a(0x14a)]);const _0x55b1b4=helper[_0x2dd48a(0x140)](_0x6d517b[_0x2dd48a(0x14a)]),_0x343bf7=helper[_0x2dd48a(0x12c)](_0x6d517b[_0x2dd48a(0x14a)],_0x55b1b4,constants['FRAMEWORKS'][_0x2dd48a(0xf9)]);if(!_0x6d517b[_0x2dd48a(0x14a)])return;const _0x2a11b5=_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0xee)]||helper[_0x2dd48a(0x123)](_0x45b802,_0x666b89,_0x6d517b[_0x2dd48a(0x14a)],constants[_0x2dd48a(0x12b)][_0x2dd48a(0xf9)])||0x1,_0x5590f9={'server':helper['getHubUrl'](_0x6d517b[_0x2dd48a(0x14a)]),'proxySettings':_0x6d517b[_0x2dd48a(0x14a)]['proxySettings'],'maxWorkers':_0x2a11b5,'browserStackLogLevel':_0x6d517b[_0x2dd48a(0x14a)]['logLevel'],'skipSessionName':_0x6d517b['config'][_0x2dd48a(0x10d)][_0x2dd48a(0x13b)],'skipSessionStatus':_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x10d)][_0x2dd48a(0x13d)],'turboScaleUrl':_0x6d517b['config'][_0x2dd48a(0x12d)]},_0x4da44a=process['argv'],[_0x50336e,_0x3a6e04]=helper[_0x2dd48a(0xe4)](_0x4da44a),_0x38f892=path[_0x2dd48a(0xe7)](process[_0x2dd48a(0xfb)](),_0x190773['TKbOu']);if(_0x190773[_0x2dd48a(0xff)](_0x3a6e04['length'],0x0)){helper[_0x2dd48a(0x130)](_0x38f892);for(let _0x4af449=_0x190773[_0x2dd48a(0xea)](_0x50336e[_0x2dd48a(0x14d)],0x1);_0x190773[_0x2dd48a(0x10b)](_0x4af449,0x0);_0x4af449--){_0x4da44a[_0x2dd48a(0x13c)](_0x50336e[_0x4af449],0x2);}}!helper[_0x2dd48a(0xe1)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x153)])&&(process['env'][_0x2dd48a(0x121)]=JSON[_0x2dd48a(0x138)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x153)]));_0x190773[_0x2dd48a(0x146)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x122)],null)?process[_0x2dd48a(0x127)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x122)]:process[_0x2dd48a(0x127)][_0x2dd48a(0x10a)]=_0x190773[_0x2dd48a(0xe2)];const _0x2fb05c=await TestHubHandler[_0x2dd48a(0xfd)](constants[_0x2dd48a(0x12b)][_0x2dd48a(0xf9)],_0x6d517b);helper[_0x2dd48a(0xeb)]();let _0x423f33;_0x190773[_0x2dd48a(0x145)](parallelCucumberRun,_0x343bf7,_0x5590f9,_0x6d517b[_0x2dd48a(0x14a)],_0x4da44a,_0x3a6e04)['then'](async _0xb600ee=>{const _0x9c69c4=_0x2dd48a;_0x423f33=_0xb600ee;const _0x1c2b9f=_0x190773['ciaqq'](printCucumberStats,_0xb600ee);process['exitCode']=_0x1c2b9f,_0x190773['nPqKZ'](_0x3a6e04[_0x9c69c4(0x14d)],0x0)&&(logger[_0x9c69c4(0xe5)](_0x190773[_0x9c69c4(0x148)]),helper[_0x9c69c4(0x13a)](_0x38f892,_0x3a6e04),logger[_0x9c69c4(0xe5)](_0x190773[_0x9c69c4(0x144)]),helper['removeDir'](_0x38f892));})['finally'](async()=>{const _0x420801=_0x2dd48a;_0x6d517b[_0x420801(0x133)]=helper['getErrorMessageFromResults'](_0x423f33,_0x190773[_0x420801(0x108)]),testOpsHelper[_0x420801(0x143)]();try{await TestHubHandler[_0x420801(0x142)]();}catch(_0x50932e){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x420801(0x103)](_0x50932e));}try{const {browserstackFolderPath:_0x1b3b9b,tcgConfigPath:_0x362d93}=helper[_0x420801(0x10f)]();fs[_0x420801(0xfa)](_0x362d93),fs[_0x420801(0x137)](_0x1b3b9b);}catch(_0x24f5bd){logger[_0x420801(0xe5)](_0x190773[_0x420801(0x120)],_0x24f5bd);}await utilities[_0x420801(0xf7)](_0x6d517b);});}function a5_0x3b1c(){const _0x358d60=['createDir','../../helpers/testhub/testhubHandler','cucumber-js','errorMessage','\x20ambiguous','43746984SKfMkX','stepsUnknown','rmdirSync','stringify','error\x20removing\x20tcg\x20config\x20file','mergeOutputFiles','skipSessionName','splice','skipSessionStatus','steps','false','useW3C','40rzWkqa','stop','printBuildLink','iTWLn','OTyAs','jILZF','log','kBpYR','stepsUndefined','config','24wNxtnw','handleApp','length','\x20undefined','scenariosFailed','dTuRF','NwrTg','getPlatformName','accessibilityOptions','IFWJb','\x20pending','isUndefined','Eqwaj','stepsSkipped','parseFormatters','debug','../test-runner','join','cucumber','SEXBi','AvnqE','markSDKSetupComplete','util','stepsPassed','parallelsPerPlatform','ftnoJ','../../helpers/BrowserStackSetup','../../helpers/logger','green','1902596yAUgqs','3233930VdODEe','bgWhite','IzAdK','finalExecution','JQlZe','CUCUMBER','unlinkSync','cwd','\x20steps','launchBuild','nBBSr','nPqKZ','gEpcQ','\x20scenarios','7330895BuwySi','format','6jTnGcD','\x20passed','72824AXULMx','****\x20RESULTS\x20****','dRISi','push','BROWSERSTACK_TEST_OBSERVABILITY_YML','Pwlvx','277308psjoCW','testContextOptions','stepsAmbiguous','getTCGConfigFilePaths','\x20skipped','yellow','9BwXNim','hxTOQ','LxIBs','Generating\x20consolidated\x20report...','initialize','stepsFailed','vzWjJ','\x20failed','1879402tBVQwz','path','exports','forEach','../../helpers/utilities','200wuEIjX','hFikx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','getUserWorkerCount','bold','scenarios','wpWgs','env','OgHIg','red','cKXbQ','FRAMEWORKS','prepareCapabilities','turboScaleUrl','yxDSm','rmlGb'];a5_0x3b1c=function(){return _0x358d60;};return a5_0x3b1c();}module[a5_0x5d38fa(0x11c)]=run;
|
|
2
|
+
'use strict';const a5_0xbb3bbd=a5_0x1495;(function(_0x160f07,_0x47fd9f){const _0x33527a=a5_0x1495,_0x17525b=_0x160f07();while(!![]){try{const _0x21a91f=-parseInt(_0x33527a(0x18f))/0x1+parseInt(_0x33527a(0x135))/0x2+parseInt(_0x33527a(0x160))/0x3*(parseInt(_0x33527a(0x12e))/0x4)+parseInt(_0x33527a(0x18a))/0x5*(parseInt(_0x33527a(0x176))/0x6)+parseInt(_0x33527a(0x132))/0x7*(-parseInt(_0x33527a(0x16c))/0x8)+-parseInt(_0x33527a(0x163))/0x9+-parseInt(_0x33527a(0x18c))/0xa*(parseInt(_0x33527a(0x15d))/0xb);if(_0x21a91f===_0x47fd9f)break;else _0x17525b['push'](_0x17525b['shift']());}catch(_0x5220b8){_0x17525b['push'](_0x17525b['shift']());}}}(a5_0x11f4,0xcf794));function a5_0x11f4(){const _0x4892a9=['join','296ccxyck','finally','../../helpers/helper','cgDan','../../helpers/BrowserStackSetup','chalk','path','GBMGG','CUCUMBER','\x20skipped','6Fjabnp','testContextOptions','\x20failed','fuphT','unlinkSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','rmdirSync','\x20passed','then','getTCGConfigFilePaths','launchBuild','mergeOutputFiles','puPba','length','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','khQxm','skipSessionStatus','accessibilityOptions','RAwpG','../utils/constants','7391275CBfHtP','useW3C','10pOFswc','green','handleApp','40853qvaPbU','proxySettings','Generating\x20consolidated\x20report...','stepsPassed','../../helpers/test-observability/utils','turboScaleUrl','rHKhC','getUserWorkerCount','removeDir','kuVmP','printBuildLink','thkvj','log','error\x20removing\x20tcg\x20config\x20file','yellow','createDir','stringify','cucumber-js','stepsUndefined','skipSessionName','prepareCapabilities','msDMI','124UAOfLT','stepsUnknown','getErrorMessageFromResults','GLIHy','103019KCdAGe','red','\x20pending','1908294YsBFFe','exports','eQxRP','ofVVC','false','exitCode','dhdCR','\x20scenarios','isBrowserstackInfra','parseFormatters','Removing\x20tmp\x20directory\x20created\x20for\x20reports','BROWSERSTACK_TEST_OBSERVABILITY_YML','DKwEm','ysaoh','format','bold','finalExecution','setupTCGAuth','FRAMEWORKS','config','stepsFailed','processSuccess','tmp','YJOtt','env','AamYZ','Rkwvb','vWSiH','lYZIR','../../helpers/utilities','splice','forEach','\x20steps','winstonLogger','tpPcW','asFYr','****\x20RESULTS\x20****','stepsSkipped','bgWhite','scenarios','7469110OxVzSS','abHWU','DwTeq','131304eZbRdt','markSDKSetupComplete','push','15075054oArttj','stepsPending','\x20undefined','\x20ambiguous','logLevel','debug','testObservability','argv'];a5_0x11f4=function(){return _0x4892a9;};return a5_0x11f4();}const fs=require('fs'),path=require(a5_0xbb3bbd(0x172)),util=require('util'),logger=require('../../helpers/logger')[a5_0xbb3bbd(0x156)],{default:BrowserStackSetup}=require(a5_0xbb3bbd(0x170)),helper=require(a5_0xbb3bbd(0x16e)),utilities=require(a5_0xbb3bbd(0x152)),constants=require(a5_0xbb3bbd(0x189)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0xbb3bbd(0x193)),chalk=require(a5_0xbb3bbd(0x171));function a5_0x1495(_0x10b250,_0x4f82d2){const _0x11f44c=a5_0x11f4();return a5_0x1495=function(_0x14956a,_0x489700){_0x14956a=_0x14956a-0x12c;let _0x21dcec=_0x11f44c[_0x14956a];return _0x21dcec;},a5_0x1495(_0x10b250,_0x4f82d2);}function printCucumberStats(_0x576cff){const _0x128df0=a5_0xbb3bbd,_0xd135d9={};_0xd135d9[_0x128df0(0x150)]=function(_0x4739fe,_0x1f4336){return _0x4739fe>_0x1f4336;},_0xd135d9[_0x128df0(0x141)]=function(_0x4dbba7,_0x3467c7){return _0x4dbba7-_0x3467c7;},_0xd135d9[_0x128df0(0x185)]=function(_0x72b49e,_0x51d787){return _0x72b49e>_0x51d787;},_0xd135d9[_0x128df0(0x182)]=function(_0x3f57cb,_0x276d14){return _0x3f57cb>_0x276d14;},_0xd135d9[_0x128df0(0x15f)]=function(_0x138f7b,_0x521074){return _0x138f7b>_0x521074;},_0xd135d9['rHKhC']=function(_0x5debd1,_0xb5dc75){return _0x5debd1>_0xb5dc75;},_0xd135d9['cgDan']=function(_0x520327,_0x500105){return _0x520327>_0x500105;},_0xd135d9[_0x128df0(0x142)]=function(_0x3a740d,_0x1fda66){return _0x3a740d+_0x1fda66;},_0xd135d9[_0x128df0(0x173)]=function(_0x5ae2dc,_0x1d2aae){return _0x5ae2dc+_0x1d2aae;},_0xd135d9[_0x128df0(0x179)]=function(_0x200056,_0x2dfd6d){return _0x200056+_0x2dfd6d;},_0xd135d9[_0x128df0(0x15e)]=function(_0x4e666d,_0x59522f){return _0x4e666d===_0x59522f;},_0xd135d9[_0x128df0(0x14c)]=function(_0x510645,_0x56ec20){return _0x510645===_0x56ec20;},_0xd135d9[_0x128df0(0x158)]=_0x128df0(0x159);const _0x2a5671=_0xd135d9;let _0x3f0367=0x0;if(_0x2a5671[_0x128df0(0x14c)](_0x576cff[_0x128df0(0x183)],0x0))return _0x3f0367;return console['log'](chalk['bold'][_0x128df0(0x15b)](_0x2a5671[_0x128df0(0x158)])),_0x576cff[_0x128df0(0x154)](_0x18aff3=>{const _0x50a0eb=_0x128df0,_0x4926d4=_0x18aff3[0x0],_0x28cd54=_0x18aff3[0x1];console[_0x50a0eb(0x19b)]('\x0a'+chalk[_0x50a0eb(0x144)]['yellow'](''+helper['getPlatformName'](_0x4926d4)));const _0x2e82d1=_0x28cd54[_0x50a0eb(0x15c)],_0x26b6a3=_0x28cd54['steps'],_0x455d87=_0x28cd54['scenariosFailed'],_0x28da33=_0x28cd54[_0x50a0eb(0x149)],_0x17ef34=_0x28cd54[_0x50a0eb(0x192)],_0x4d41c5=_0x28cd54[_0x50a0eb(0x15a)],_0x143a6e=_0x28cd54[_0x50a0eb(0x164)],_0x356000=_0x28cd54[_0x50a0eb(0x1a1)],_0x25cf48=_0x28cd54[_0x50a0eb(0x12f)],_0x5f5b2e=_0x28cd54['stepsAmbiguous'],_0x4d2069=_0x28cd54[_0x50a0eb(0x14a)];let _0x3e6ae8=_0x2e82d1+_0x50a0eb(0x13c);const _0xbfbbbe=_0x2a5671[_0x50a0eb(0x150)](_0x2a5671[_0x50a0eb(0x141)](_0x2e82d1,_0x455d87),0x0)?_0x2a5671['DKwEm'](_0x2e82d1,_0x455d87):0x0;if(_0x2a5671[_0x50a0eb(0x150)](_0x455d87,0x0)&&_0x2a5671[_0x50a0eb(0x150)](_0xbfbbbe,0x0))_0x3e6ae8+='\x20('+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x133)](_0x455d87+_0x50a0eb(0x178))+',\x20'+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x18d)](_0xbfbbbe+_0x50a0eb(0x17d))+')';else(_0x2a5671[_0x50a0eb(0x185)](_0x455d87,0x0)||_0x2a5671[_0x50a0eb(0x182)](_0xbfbbbe,0x0))&&(_0x3e6ae8+=_0x2a5671['vWSiH'](_0x455d87,0x0)?'\x20('+chalk['bold'][_0x50a0eb(0x133)](_0x455d87+_0x50a0eb(0x178))+')':'\x20('+chalk['bold'][_0x50a0eb(0x18d)](_0xbfbbbe+_0x50a0eb(0x17d))+')');const _0x415828=_0x26b6a3+_0x50a0eb(0x155),_0x108388=[];_0x2a5671[_0x50a0eb(0x15f)](_0x5f5b2e,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk['bold']['red'](_0x5f5b2e+_0x50a0eb(0x166)));_0x2a5671[_0x50a0eb(0x185)](_0x28da33,0x0)&&_0x108388['push'](''+chalk['bold'][_0x50a0eb(0x133)](_0x28da33+_0x50a0eb(0x178)));_0x2a5671[_0x50a0eb(0x195)](_0x17ef34,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x18d)](_0x17ef34+'\x20passed'));_0x2a5671[_0x50a0eb(0x15f)](_0x143a6e,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x19d)](_0x143a6e+_0x50a0eb(0x134)));_0x2a5671[_0x50a0eb(0x185)](_0x4d41c5,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)]['cyan'](_0x4d41c5+_0x50a0eb(0x175)));_0x2a5671[_0x50a0eb(0x150)](_0x356000,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)]['yellow'](_0x356000+_0x50a0eb(0x165)));_0x2a5671[_0x50a0eb(0x16f)](_0x25cf48,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk['bold']['yellow'](_0x25cf48+_0x50a0eb(0x175)));const _0x571042=_0x2a5671[_0x50a0eb(0x142)](_0x2a5671[_0x50a0eb(0x173)](_0x2a5671[_0x50a0eb(0x142)](_0x415828,'('),_0x108388['join'](',\x20')),')');console[_0x50a0eb(0x19b)](_0x2a5671[_0x50a0eb(0x173)](_0x2a5671[_0x50a0eb(0x179)](_0x2a5671[_0x50a0eb(0x179)](_0x2a5671[_0x50a0eb(0x173)]('\x0a',_0x3e6ae8),'\x0a'),_0x571042),'\x0a')),_0x2a5671[_0x50a0eb(0x15e)](_0x4d2069,![])&&(_0x3f0367=0x1);}),_0x3f0367;}async function run(_0x36699d,_0x52b51a){const _0x538823=a5_0xbb3bbd,_0x2c70c7={'fecVZ':function(_0x2f9d40,_0x23a655){return _0x2f9d40(_0x23a655);},'msDMI':function(_0x3423e4,_0x4a039a){return _0x3423e4>_0x4a039a;},'Rkwvb':_0x538823(0x191),'ofVVC':_0x538823(0x13f),'RAwpG':'cucumber','eQxRP':_0x538823(0x19c),'dhdCR':_0x538823(0x1a0),'tpPcW':_0x538823(0x14b),'GLIHy':function(_0x2fefb6,_0x8c74b3){return _0x2fefb6-_0x8c74b3;},'thkvj':function(_0x30ba4e,_0x908650){return _0x30ba4e>=_0x908650;},'kuVmP':function(_0x12705,_0x270515){return _0x12705!=_0x270515;},'lYZIR':_0x538823(0x139),'AamYZ':function(_0x288ab0,_0x597404,_0xc77fd0,_0x3925ac,_0xe748e2,_0xe966b8){return _0x288ab0(_0x597404,_0xc77fd0,_0x3925ac,_0xe748e2,_0xe966b8);}},_0x2f4745=new BrowserStackSetup(_0x36699d,_0x2c70c7[_0x538823(0x13b)]);await _0x2f4745['initialize']();!helper[_0x538823(0x13d)]()&&await _0x2f4745[_0x538823(0x146)]();await helper[_0x538823(0x18e)](_0x2f4745['config']);const _0x3a6db7=helper[_0x538823(0x18b)](_0x2f4745[_0x538823(0x148)]),_0x49f3fd=helper[_0x538823(0x12c)](_0x2f4745[_0x538823(0x148)],_0x3a6db7,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x2f4745[_0x538823(0x148)])return;const _0x4f7beb=_0x2f4745['config']['parallelsPerPlatform']||helper[_0x538823(0x196)](_0x36699d,_0x52b51a,_0x2f4745['config'],constants['FRAMEWORKS'][_0x538823(0x174)])||0x1,_0x2fdfb6={'server':helper['getHubUrl'](_0x2f4745[_0x538823(0x148)]),'proxySettings':_0x2f4745['config'][_0x538823(0x190)],'maxWorkers':_0x4f7beb,'browserStackLogLevel':_0x2f4745[_0x538823(0x148)][_0x538823(0x167)],'skipSessionName':_0x2f4745[_0x538823(0x148)][_0x538823(0x177)][_0x538823(0x1a2)],'skipSessionStatus':_0x2f4745[_0x538823(0x148)][_0x538823(0x177)][_0x538823(0x186)],'turboScaleUrl':_0x2f4745[_0x538823(0x148)][_0x538823(0x194)]},_0x2366bb=process[_0x538823(0x16a)],[_0x1872e8,_0x70f252]=helper[_0x538823(0x13e)](_0x2366bb),_0x22e1f8=path[_0x538823(0x16b)](process['cwd'](),_0x2c70c7[_0x538823(0x157)]);if(_0x2c70c7[_0x538823(0x12d)](_0x70f252['length'],0x0)){helper[_0x538823(0x19e)](_0x22e1f8);for(let _0x26df54=_0x2c70c7[_0x538823(0x131)](_0x1872e8[_0x538823(0x183)],0x1);_0x2c70c7[_0x538823(0x19a)](_0x26df54,0x0);_0x26df54--){_0x2366bb[_0x538823(0x153)](_0x1872e8[_0x26df54],0x2);}}!helper['isUndefined'](_0x2f4745['config'][_0x538823(0x187)])&&(process['env'][_0x538823(0x184)]=JSON[_0x538823(0x19f)](_0x2f4745[_0x538823(0x148)][_0x538823(0x187)]));_0x2c70c7[_0x538823(0x198)](_0x2f4745[_0x538823(0x148)][_0x538823(0x169)],null)?process[_0x538823(0x14d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2f4745[_0x538823(0x148)][_0x538823(0x169)]:process['env'][_0x538823(0x140)]=_0x2c70c7[_0x538823(0x151)];const _0x52050c=await TestHubHandler[_0x538823(0x180)](constants[_0x538823(0x147)][_0x538823(0x174)],_0x2f4745);helper[_0x538823(0x161)]();let _0x4a2102;_0x2c70c7[_0x538823(0x14e)](parallelCucumberRun,_0x49f3fd,_0x2fdfb6,_0x2f4745[_0x538823(0x148)],_0x2366bb,_0x70f252)[_0x538823(0x17e)](async _0xe27712=>{const _0x21aae1=_0x538823;_0x4a2102=_0xe27712;const _0x446577=_0x2c70c7['fecVZ'](printCucumberStats,_0xe27712);process[_0x21aae1(0x13a)]=_0x446577,_0x2c70c7[_0x21aae1(0x12d)](_0x70f252[_0x21aae1(0x183)],0x0)&&(logger[_0x21aae1(0x168)](_0x2c70c7[_0x21aae1(0x14f)]),helper[_0x21aae1(0x181)](_0x22e1f8,_0x70f252),logger[_0x21aae1(0x168)](_0x2c70c7[_0x21aae1(0x138)]),helper[_0x21aae1(0x197)](_0x22e1f8));})[_0x538823(0x16d)](async()=>{const _0x16ab2d=_0x538823;_0x2f4745['errorMessage']=helper[_0x16ab2d(0x130)](_0x4a2102,_0x2c70c7[_0x16ab2d(0x188)]),testOpsHelper[_0x16ab2d(0x199)]();try{await TestHubHandler['stop']();}catch(_0x5b7369){logger[_0x16ab2d(0x168)](_0x16ab2d(0x17b)+util[_0x16ab2d(0x143)](_0x5b7369));}try{const {browserstackFolderPath:_0x43a60b,tcgConfigPath:_0x47a442}=helper[_0x16ab2d(0x17f)]();fs[_0x16ab2d(0x17a)](_0x47a442),fs[_0x16ab2d(0x17c)](_0x43a60b);}catch(_0x398589){logger['debug'](_0x2c70c7[_0x16ab2d(0x137)],_0x398589);}await utilities[_0x16ab2d(0x145)](_0x2f4745);});}module[a5_0xbb3bbd(0x136)]=run;
|