browserstack-node-sdk 1.34.6 → 1.34.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x202acd=a1_0x42cb;(function(_0x47f54e,_0x3dda6d){const _0x246232=a1_0x42cb,_0x1e13cf=_0x47f54e();while(!![]){try{const _0xd6a38e=parseInt(_0x246232(0x195))/0x1*(parseInt(_0x246232(0x1ad))/0x2)+parseInt(_0x246232(0x1bc))/0x3*(-parseInt(_0x246232(0x1df))/0x4)+parseInt(_0x246232(0x177))/0x5*(-parseInt(_0x246232(0x1b0))/0x6)+-parseInt(_0x246232(0x1c6))/0x7*(-parseInt(_0x246232(0x1b9))/0x8)+-parseInt(_0x246232(0x1e7))/0x9*(parseInt(_0x246232(0x180))/0xa)+-parseInt(_0x246232(0x1e2))/0xb+parseInt(_0x246232(0x207))/0xc;if(_0xd6a38e===_0x3dda6d)break;else _0x1e13cf['push'](_0x1e13cf['shift']());}catch(_0x3e1db7){_0x1e13cf['push'](_0x1e13cf['shift']());}}}(a1_0x2322,0xc49a5));function a1_0x42cb(_0x5028ce,_0x5aecce){const _0x2322fa=a1_0x2322();return a1_0x42cb=function(_0x42cb31,_0x1f0085){_0x42cb31=_0x42cb31-0x16f;let _0x2a0784=_0x2322fa[_0x42cb31];return _0x2a0784;},a1_0x42cb(_0x5028ce,_0x5aecce);}function a1_0x2322(){const _0xf8fad1=['jhJJp','weUur','add','format','BROWSERSTACK_TESTHUB_JWT','shouldWrapCommand','exports','ZsxRf','getResultsSummary','captureError','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../bin/playwright/accessibility-helper','startMonitoring','TEST_RUN_STARTED','./helper.js','pwiAH','testAnalyticsId','call','10436XzlAfU','../../helpers/accessibility-automation/helper','hook','149562MwwtZB','browser','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','PFDvy','before','INFO','executeScript','skipSessionStatus','Puppeteer','2233352pnaYyJ','rYxIT','stopMonitoring','878154mgSFjr','setSessionName','after','ZlisU','screenshotOutputFolder','emit','bddStep','./o11yHelper','auCDi','TEST_SCREENSHOT','7MvivRb','forEach','codeceptjs/lib/recorder.js','hIGwg','then','../../helpers/request-spy','skipSessionName','../../helpers/helper','eMIJv','readFileSync','kYGao','skipped','started','overwriteCommand','browserstack_executor:\x20','IsvYJ','thBuildUuid','codeceptjs/lib/helper/Playwright.js','rTmhm','../../bin/playwright/sessionDetails','arguments','browserStackExecuteDriver','__skipSessionStatus','BS_TESTOPS_ALLOW_SCREENSHOTS','ZSUDH','4OPRvKd','WebDriver','name','413446ZlqOGB','WfaTo','test','toString','dDfzv','3907701zXHgyV','thTestRunUuid','comment','commandsToWrap','xdZqr','catch','../../helpers/testhub/constants.js','ENV_VAR','passed','step','getSyncScript','HOOK_RUN_FINISHED','saveTestResults','fireEvent','qxKNv','bstackAllyScanning','PAnHs','QpFZW','action','constructor','../../helpers/logger','container','helpers','env','status','stringify','saveScreenshot','accessibilityPlatform','getResults','TEST_RUN_FINISHED','MkyYG','PDxoy','4779228MTzaeP','event','rblGN','mqMHf','prototype','nmMar','warn','wTtaw','Suite','debug','_before','VrbYa','nkFhC','dispatcher','setSessionStatus','browserContext','aCVWL','initSaveScreenshot','LAqOa','WZicu','bddStepStart','BROWSERSTACK_TESTHUB_UUID','ctx','DEGgT','toISOString','wTceW','90zTBMdp','thJwtToken','failed','restore','../../helpers/performance-tester','start','DHRoI','performScan','titlePath','10wTsynp','title','TEST_LOG','TEST_RUN_SKIPPED','FmWZC','../../helpers/accessibility-automation/scripts','reason','stop','Element','enabled','Playwright','HOOK_RUN_STARTED','apply','contexts','gYsvU','zEKpi','patchSaveScreenshot','RRmee','pid','__driver','class','257mCawsr','captureEvent','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','all','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','info'];a1_0x2322=function(){return _0xf8fad1;};return a1_0x2322();}const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x202acd(0x1cd)),logger=require(a1_0x202acd(0x1fb))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x202acd(0x1cb)),PlaywrightSessionDetails=require(a1_0x202acd(0x1d9)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x202acd(0x1c3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x202acd(0x1ae)),AccessibilityHelper=require(a1_0x202acd(0x1a6)),scripts=require(a1_0x202acd(0x185)),PerformanceTester=require(a1_0x202acd(0x17b)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x202acd(0x1a9)),testHubConstants=require(a1_0x202acd(0x1ed)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a1_0x202acd(0x1c8)),CodeceptPlaywright=requireModule(a1_0x202acd(0x1d7)),playwrightMarkSessionStatus=(_0x1a32a7,_0x232ced,_0x10f397)=>{const _0x5473ec=a1_0x202acd,_0x16d788={'ZsxRf':_0x5473ec(0x215),'PDxoy':function(_0x105a5a,_0x27e4f6){return _0x105a5a(_0x27e4f6);}},_0x13bcfd={};_0x13bcfd[_0x5473ec(0x1ff)]=_0x232ced;const _0x31ae4e={};_0x31ae4e['action']=_0x16d788[_0x5473ec(0x1a2)],_0x31ae4e[_0x5473ec(0x1da)]=_0x13bcfd;const _0xcdea9b=_0x31ae4e;return!_0x16d788[_0x5473ec(0x206)](isUndefined,_0x10f397)&&(_0xcdea9b[_0x5473ec(0x1da)][_0x5473ec(0x186)]=JSON[_0x5473ec(0x200)](_0x10f397)),_0x1a32a7['executeScript'](()=>{},_0x5473ec(0x1d4)+JSON[_0x5473ec(0x200)](_0xcdea9b));},o11ySync=async _0xb1e96a=>{const _0x3d1877=a1_0x202acd,_0x1ff74d={};_0x1ff74d[_0x3d1877(0x212)]=function(_0x4446e7,_0x55713d){return _0x4446e7===_0x55713d;},_0x1ff74d[_0x3d1877(0x213)]=_0x3d1877(0x18a);const _0x5a0e96=_0x1ff74d;_0x5a0e96[_0x3d1877(0x212)](_0xb1e96a[_0x3d1877(0x1fa)][_0x3d1877(0x1e1)],_0x5a0e96[_0x3d1877(0x213)])?await _0xb1e96a[_0x3d1877(0x1b6)](_0x4d1e90=>{},testOpsHelper[_0x3d1877(0x1f1)]()):await _0xb1e96a[_0x3d1877(0x1b6)](testOpsHelper[_0x3d1877(0x1f1)]());},markSessionName=async(_0x5a4cdb,_0x3c5597)=>{const _0x12ab39=a1_0x202acd,_0x239e93={};_0x239e93[_0x12ab39(0x209)]=_0x12ab39(0x1bd),_0x239e93[_0x12ab39(0x184)]=function(_0x42d6bb,_0x1b3d5b){return _0x42d6bb===_0x1b3d5b;},_0x239e93['rYxIT']=_0x12ab39(0x18a);const _0x5f2338=_0x239e93,_0x2512e7={};_0x2512e7[_0x12ab39(0x1e1)]=_0x3c5597;const _0x9b893d={};_0x9b893d[_0x12ab39(0x1f9)]=_0x5f2338[_0x12ab39(0x209)],_0x9b893d[_0x12ab39(0x1da)]=_0x2512e7;const _0x3cd18e=_0x9b893d;_0x5f2338[_0x12ab39(0x184)](_0x5a4cdb[_0x12ab39(0x1fa)][_0x12ab39(0x1e1)],_0x5f2338[_0x12ab39(0x1ba)])?await _0x5a4cdb['executeScript'](()=>{},_0x12ab39(0x1d4)+JSON['stringify'](_0x3cd18e)):await _0x5a4cdb[_0x12ab39(0x1b6)](_0x12ab39(0x1d4)+JSON[_0x12ab39(0x200)](_0x3cd18e));},patchSaveScreenshot=_0x50f45d=>{const _0x4bda9d=a1_0x202acd,_0x4dba30={'xdZqr':'base64','ruPyf':_0x4bda9d(0x1c5),'hsQjj':function(_0x5a4742){return _0x5a4742();},'MASLz':function(_0xf1426b,_0x119773){return _0xf1426b(_0x119773);}};_0x4dba30['MASLz'](isTrue,process['env'][_0x4bda9d(0x1dd)])&&!_0x50f45d[_0x4bda9d(0x190)]&&(_0x50f45d[_0x4bda9d(0x190)]=!![],_0x50f45d[_0x4bda9d(0x218)]=_0x50f45d[_0x4bda9d(0x201)],_0x50f45d[_0x4bda9d(0x201)]=(_0x2c4d86,_0x564468=![])=>{return new Promise(function(_0x8d0ecc,_0x119c00){const _0x1345b4=a1_0x42cb,_0x1853ce={'mqMHf':_0x4dba30[_0x1345b4(0x1eb)],'gYsvU':_0x4dba30['ruPyf'],'WZicu':function(_0x10c44d){return _0x4dba30['hsQjj'](_0x10c44d);}};_0x50f45d['initSaveScreenshot'](_0x2c4d86,_0x564468)[_0x1345b4(0x1ca)](()=>{const _0x32b8b5=_0x1345b4,_0x5b8b51=CodeceptUtils[_0x32b8b5(0x1c0)](_0x2c4d86),_0x1336db=fs[_0x32b8b5(0x1cf)](_0x5b8b51);process[_0x32b8b5(0x1c1)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x32b8b5(0x175)](),'message':_0x1336db[_0x32b8b5(0x1e5)](_0x1853ce[_0x32b8b5(0x20a)]),'kind':_0x1853ce[_0x32b8b5(0x18e)]}),_0x1853ce[_0x32b8b5(0x170)](_0x8d0ecc);})[_0x1345b4(0x1ec)](()=>null);});});},patchWebDriverBefore=_0x3fe2d4=>{const _0x25beb0=a1_0x202acd,_0x180c34={'aCVWL':function(_0x5495db){return _0x5495db();},'PFDvy':function(_0x2df819,_0xfc11c7){return _0x2df819(_0xfc11c7);},'IsvYJ':function(_0x5197d0,_0x5582fa){return _0x5197d0===_0x5582fa;},'NunHV':_0x25beb0(0x188),'DEGgT':function(_0x4033b8,_0x35d10c){return _0x4033b8(_0x35d10c);}},_0x4743ce=async function(_0x1dd3d9,_0x408d03){const _0x19cdd3=_0x25beb0;return _0x180c34[_0x19cdd3(0x217)](isAccessibilityAutomationSession)&&!global[_0x19cdd3(0x1f6)]&&global['accessibilityPlatform']&&scripts[_0x19cdd3(0x1a0)](_0x1dd3d9[_0x19cdd3(0x1e1)])&&_0x180c34[_0x19cdd3(0x1b3)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger['debug']('Performing\x20scan\x20for\x20'+_0x1dd3d9[_0x19cdd3(0x194)]+'\x20'+_0x1dd3d9['name']),await AccessibilityHelper[_0x19cdd3(0x1db)](_0x3fe2d4,scripts[_0x19cdd3(0x17e)])),global['bstackAllyScanning']=![],_0x408d03[_0x19cdd3(0x18c)](this,Array[_0x19cdd3(0x20b)]['slice'][_0x19cdd3(0x1ac)](arguments,0x2));},_0x472bec=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver[_0x25beb0(0x20b)]['_before']=async function(){const _0x25969a=_0x25beb0;await _0x472bec[_0x25969a(0x18c)](this,arguments),scripts[_0x25969a(0x1ea)]['filter'](_0x160fce=>_0x160fce[_0x25969a(0x1e1)]&&_0x160fce[_0x25969a(0x194)])[_0x25969a(0x1c7)](_0x34829b=>{const _0x5e8915=_0x25969a;this[_0x5e8915(0x1b1)][_0x5e8915(0x1d3)](_0x34829b[_0x5e8915(0x1e1)],_0x4743ce['bind'](this,_0x34829b),_0x180c34[_0x5e8915(0x1d5)](_0x34829b['class'],_0x180c34['NunHV']));}),_0x180c34[_0x25969a(0x174)](processWebDriverConfig,_0x3fe2d4);};},patchPlaywrightBefore=()=>{const _0xa415e0=a1_0x202acd;PlaywrightSessionDetails['patch']();const _0x40df89=CodeceptPlaywright[_0xa415e0(0x20b)]['_before'];CodeceptPlaywright['prototype'][_0xa415e0(0x211)]=async function(){const _0x49d8a7=_0xa415e0;this[_0x49d8a7(0x216)]=await this['browser'][_0x49d8a7(0x18d)]()[0x0],await _0x40df89[_0x49d8a7(0x18c)](this,arguments);};},getCodeceptDriver=()=>{const _0x17c6ee=a1_0x202acd,_0x1b5f9a={};_0x1b5f9a[_0x17c6ee(0x1ce)]=_0x17c6ee(0x1e0),_0x1b5f9a[_0x17c6ee(0x1e6)]=_0x17c6ee(0x18a),_0x1b5f9a['jhJJp']=_0x17c6ee(0x1b8),_0x1b5f9a['qxKNv']='TestCafe';const _0x9bf519=_0x1b5f9a,_0x584e6c=[_0x9bf519['eMIJv'],_0x9bf519[_0x17c6ee(0x1e6)],_0x9bf519[_0x17c6ee(0x19b)],_0x9bf519[_0x17c6ee(0x1f5)]],_0x286b11=_0x584e6c['find'](_0x35590a=>!!CodeceptJS[_0x17c6ee(0x1fc)][_0x17c6ee(0x1fd)](_0x35590a));if(!_0x286b11)return null;return CodeceptJS[_0x17c6ee(0x1fc)][_0x17c6ee(0x1fd)](_0x286b11);};module[a1_0x202acd(0x1a1)]=function(_0x46c0c1){const _0xf76ba0=a1_0x202acd,_0x2cc349={'nmMar':_0xf76ba0(0x197),'sXKLL':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','DHRoI':function(_0x2ae9ec){return _0x2ae9ec();},'weUur':function(_0x88b548){return _0x88b548();},'kYGao':function(_0x4619d4,_0xce82b0){return _0x4619d4(_0xce82b0);},'hIGwg':function(_0x4220be,_0x3159c2,_0x5821b6){return _0x4220be(_0x3159c2,_0x5821b6);},'PAnHs':function(_0x26688d){return _0x26688d();},'rTmhm':function(_0x2f61cf,_0x178ffd,_0x234a88,_0x17d7e6){return _0x2f61cf(_0x178ffd,_0x234a88,_0x17d7e6);},'wTtaw':function(_0xc8bfd4,_0x138e5d){return _0xc8bfd4===_0x138e5d;},'RRmee':_0xf76ba0(0x20f),'zEKpi':function(_0x3e5ac9){return _0x3e5ac9();},'WfaTo':function(_0x519809,_0x221e9b,_0x44c1e0){return _0x519809(_0x221e9b,_0x44c1e0);},'ZSUDH':_0xf76ba0(0x1a5),'KlPPP':_0xf76ba0(0x1b5),'LAqOa':_0xf76ba0(0x182),'pwiAH':'Playwright','ZlisU':function(_0x48d01a,_0x5efc47){return _0x48d01a(_0x5efc47);}};_0x46c0c1[_0xf76ba0(0x1b7)]&&(global[_0xf76ba0(0x1dc)]=_0x46c0c1[_0xf76ba0(0x1b7)]);PerformanceTester[_0xf76ba0(0x1a7)]();const _0x4c8463=_0x2cc349['weUur'](getCodeceptDriver),_0x2f050c=new O11yHelper(_0x4c8463,_0x46c0c1),_0x45d318=!!CodeceptJS['container'][_0xf76ba0(0x1fd)](_0x2cc349[_0xf76ba0(0x1aa)]);global[_0xf76ba0(0x193)]=_0x4c8463,_0x4c8463&&(_0x45d318?_0x2cc349[_0xf76ba0(0x19c)](patchPlaywrightBefore):_0x2cc349[_0xf76ba0(0x1d0)](patchWebDriverBefore,_0x4c8463),_0x4c8463['getAccessibilityResultsSummary']=async()=>{const _0x2338b0=_0xf76ba0;if(global[_0x2338b0(0x202)])await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x2338b0(0x17e)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x2338b0(0x1a3)]);else return logger[_0x2338b0(0x20d)](_0x2cc349[_0x2338b0(0x20c)]),{};},_0x4c8463['getAccessibilityResults']=async()=>{const _0xa5a821=_0xf76ba0;if(global[_0xa5a821(0x202)])await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts['performScan']),await AccessibilityHelper[_0xa5a821(0x1db)](_0x4c8463,scripts[_0xa5a821(0x203)]);else return logger[_0xa5a821(0x20d)](_0x2cc349['sXKLL']),{};},_0x2cc349[_0xf76ba0(0x1bf)](patchSaveScreenshot,_0x4c8463)),CodeceptJS['event'][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['all'][_0xf76ba0(0x1b4)],()=>{const _0x2979b3=_0xf76ba0;try{_0x2f050c[_0x2979b3(0x17c)](),testOpsHelper['addRequestSpy']();}catch(_0x3565f1){PerformanceTester[_0x2979b3(0x1a4)](_0x3565f1);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS['event'][_0xf76ba0(0x198)][_0xf76ba0(0x1be)],async()=>{const _0x33ba5d=_0xf76ba0;try{requestSpy[_0x33ba5d(0x17a)](),await _0x2f050c[_0x33ba5d(0x187)]();}catch(_0x1ad665){PerformanceTester['captureError'](_0x1ad665);}finally{PerformanceTester[_0x33ba5d(0x1bb)]();}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['hook'][_0xf76ba0(0x1d2)],_0x18420d=>{const _0x346031=_0xf76ba0;try{const _0x2c6463=_0x18420d[_0x346031(0x173)][_0x346031(0x1e4)],_0x171d96=_0x2f050c['captureEvent'](TEST_EVENTS[_0x346031(0x18b)],_0x2c6463);CodeceptRecorder[_0x346031(0x19d)](()=>_0x2f050c[_0x346031(0x1f4)](TEST_EVENTS[_0x346031(0x18b)],_0x171d96));}catch(_0x4c9169){PerformanceTester[_0x346031(0x1a4)](_0x4c9169);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1af)][_0xf76ba0(0x1ef)],_0x4ffc75=>{const _0x5a03e3=_0xf76ba0;try{const _0x56f4fb=_0x4ffc75[_0x5a03e3(0x173)][_0x5a03e3(0x1e4)],_0x6da58c=_0x2f050c[_0x5a03e3(0x196)](TEST_EVENTS[_0x5a03e3(0x1f2)],_0x56f4fb);CodeceptRecorder[_0x5a03e3(0x19d)](()=>_0x2f050c[_0x5a03e3(0x1f4)](TEST_EVENTS[_0x5a03e3(0x1f2)],_0x6da58c));}catch(_0x1f4d23){PerformanceTester['captureError'](_0x1f4d23);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1af)][_0xf76ba0(0x179)],async(_0x2da749,_0x5324e3)=>{const _0x14ab39=_0xf76ba0;try{const _0x14b92b=_0x2da749[_0x14ab39(0x173)]['test'],_0x8c6018=_0x2f050c[_0x14ab39(0x196)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x14b92b,_0x5324e3);CodeceptRecorder[_0x14ab39(0x19d)](()=>_0x2f050c[_0x14ab39(0x1f4)](TEST_EVENTS[_0x14ab39(0x1f2)],_0x8c6018));}catch(_0x490283){PerformanceTester[_0x14ab39(0x1a4)](_0x490283);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1b4)],_0x16e9b5=>{const _0x65e593=_0xf76ba0;try{_0x2cc349[_0x65e593(0x17d)](isBrowserstackInfra)&&(_0x45d318&&(global['__workerDetails']={'currentTest':{'name':_0x16e9b5[_0x65e593(0x181)],'testInfo':{'titlePath':_0x16e9b5[_0x65e593(0x17f)]()}}}));}catch(_0xf48315){PerformanceTester['captureError'](_0xf48315);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1d2)],_0x5b1504=>{const _0x56de19=_0xf76ba0,_0x21a298={'aDKgt':function(_0x3dff20){return _0x2cc349['weUur'](_0x3dff20);},'wTceW':function(_0xfeb233,_0x522a77){const _0x3f9df2=a1_0x42cb;return _0x2cc349[_0x3f9df2(0x1d0)](_0xfeb233,_0x522a77);},'QpFZW':function(_0x49daa9,_0x2e1c03,_0x31ef2f){const _0x66a51b=a1_0x42cb;return _0x2cc349[_0x66a51b(0x1c9)](_0x49daa9,_0x2e1c03,_0x31ef2f);},'FBprH':function(_0x2c6340,_0x17ed95){const _0x8598fc=a1_0x42cb;return _0x2cc349[_0x8598fc(0x1d0)](_0x2c6340,_0x17ed95);}};try{const _0x3220fe=_0x2f050c[_0x56de19(0x196)](TEST_EVENTS['TEST_RUN_STARTED'],_0x5b1504);CodeceptRecorder[_0x56de19(0x19d)](()=>_0x2f050c[_0x56de19(0x1f4)](TEST_EVENTS[_0x56de19(0x1a8)],_0x3220fe)),CodeceptRecorder[_0x56de19(0x19d)](async()=>{const _0x131959=_0x56de19;_0x21a298['aDKgt'](isBrowserstackInfra)&&(!_0x21a298[_0x131959(0x176)](isTrue,_0x46c0c1[_0x131959(0x1cc)])&&await _0x21a298[_0x131959(0x1f8)](markSessionName,_0x4c8463,_0x5b1504[_0x131959(0x181)]),_0x2f050c[_0x131959(0x189)]&&await _0x21a298['FBprH'](o11ySync,_0x4c8463));});}catch(_0x5961f7){PerformanceTester[_0x56de19(0x1a4)](_0x5961f7);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1ef)],_0x7f5d79=>{const _0x34d0f2=_0xf76ba0,_0x5a8ca5={'auCDi':function(_0x54ea7c){const _0xc3160a=a1_0x42cb;return _0x2cc349[_0xc3160a(0x1f7)](_0x54ea7c);},'MkyYG':function(_0x18d58e,_0x17634c,_0x2d9532){const _0x8f59ec=a1_0x42cb;return _0x2cc349[_0x8f59ec(0x1c9)](_0x18d58e,_0x17634c,_0x2d9532);}};try{const _0x5a449b=_0x2f050c[_0x34d0f2(0x196)](TEST_EVENTS[_0x34d0f2(0x204)],_0x7f5d79);CodeceptRecorder[_0x34d0f2(0x19d)](()=>_0x2f050c[_0x34d0f2(0x1f4)](TEST_EVENTS[_0x34d0f2(0x204)],_0x5a449b)),CodeceptRecorder['add'](async()=>{const _0x41c679=_0x34d0f2;_0x5a8ca5[_0x41c679(0x1c4)](isBrowserstackInfra)&&(_0x45d318?await _0x5a8ca5[_0x41c679(0x205)](playwrightMarkSessionStatus,_0x4c8463,STATE_PASSED):await _0x5a8ca5[_0x41c679(0x205)](markSessionStatus,_0x4c8463,STATE_PASSED));});}catch(_0x28ba28){PerformanceTester[_0x34d0f2(0x1a4)](_0x28ba28);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS['event'][_0xf76ba0(0x1e4)][_0xf76ba0(0x179)],(_0x1d090d,_0x4fca57)=>{const _0x435927=_0xf76ba0;try{if(_0x2cc349[_0x435927(0x20e)](_0x1d090d[_0x435927(0x1fa)][_0x435927(0x1e1)],_0x2cc349[_0x435927(0x191)])){const _0x403109=_0x2f050c[_0x435927(0x196)](TEST_EVENTS[_0x435927(0x183)],_0x1d090d[_0x435927(0x173)]['currentTest']);CodeceptRecorder[_0x435927(0x19d)](()=>_0x2f050c['fireEvent'](TEST_EVENTS[_0x435927(0x183)],_0x403109));}else{const _0x4cdd13=_0x2f050c[_0x435927(0x196)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1d090d,_0x4fca57);CodeceptRecorder[_0x435927(0x19d)](()=>{const _0xc8c06b=_0x435927;try{_0x2f050c[_0xc8c06b(0x1f4)](TEST_EVENTS[_0xc8c06b(0x204)],_0x4cdd13);}catch(_0x1e2e08){logger[_0xc8c06b(0x210)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0xc8c06b(0x19e)](_0x1e2e08));}}),CodeceptRecorder[_0x435927(0x19d)](async()=>{const _0x5321ac=_0x435927;try{_0x2cc349[_0x5321ac(0x19c)](isBrowserstackInfra)&&(_0x45d318?await _0x2cc349[_0x5321ac(0x1d8)](playwrightMarkSessionStatus,_0x4c8463,STATE_FAILED,_0x4fca57):await _0x2cc349[_0x5321ac(0x1d8)](markSessionStatus,_0x4c8463,STATE_FAILED,_0x4fca57));}catch(_0x3e671e){logger[_0x5321ac(0x210)](_0x5321ac(0x1b2)+util[_0x5321ac(0x19e)](_0x3e671e));}});}}catch(_0x428371){PerformanceTester['captureError'](_0x428371);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)]['test'][_0xf76ba0(0x1d1)],_0x1913a4=>{const _0x4a1ae4=_0xf76ba0;try{const _0x408904=_0x2f050c['captureEvent'](TEST_EVENTS[_0x4a1ae4(0x183)],_0x1913a4);CodeceptRecorder['add'](()=>_0x2f050c['fireEvent'](TEST_EVENTS[_0x4a1ae4(0x183)],_0x408904));}catch(_0x3dd889){PerformanceTester[_0x4a1ae4(0x1a4)](_0x3dd889);}}),CodeceptJS['event'][_0xf76ba0(0x214)]['on'](CodeceptJS['event'][_0xf76ba0(0x1e4)][_0xf76ba0(0x1be)],async(_0x4acb06,_0xffa698)=>{const _0x1bb3d2=_0xf76ba0;try{if(_0x2cc349[_0x1bb3d2(0x18f)](isBrowserstackInfra)){const _0x505da1=_0x2cc349[_0x1bb3d2(0x1e3)](shouldScanTestForAccessibility,_0x4acb06['titlePath'](),!![]);if(_0x2cc349[_0x1bb3d2(0x1f7)](isAccessibilityAutomationSession)&&global[_0x1bb3d2(0x202)]&&_0x505da1){const _0x17fad2={};_0x17fad2[_0x1bb3d2(0x1e8)]=_0x4acb06[_0x1bb3d2(0x1ab)],_0x17fad2[_0x1bb3d2(0x1d6)]=process[_0x1bb3d2(0x1fe)][testHubConstants['ENV_VAR'][_0x1bb3d2(0x172)]],_0x17fad2[_0x1bb3d2(0x178)]=process[_0x1bb3d2(0x1fe)][testHubConstants[_0x1bb3d2(0x1ee)][_0x1bb3d2(0x19f)]];const _0x4fa639=_0x17fad2;logger[_0x1bb3d2(0x210)](_0x1bb3d2(0x199)+JSON[_0x1bb3d2(0x200)](_0x4fa639)),CodeceptRecorder[_0x1bb3d2(0x19d)](async()=>{const _0x47f65d=_0x1bb3d2;await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x47f65d(0x17e)]),await AccessibilityHelper[_0x47f65d(0x1db)](_0x4c8463,scripts[_0x47f65d(0x1f3)],_0x4fa639);}),logger[_0x1bb3d2(0x19a)](_0x2cc349[_0x1bb3d2(0x1de)]);}}}catch(_0x43365f){PerformanceTester[_0x1bb3d2(0x1a4)](_0x43365f);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1f0)][_0xf76ba0(0x1e9)],_0x459e65=>{const _0xa45af6=_0xf76ba0;try{process[_0xa45af6(0x1c1)]('bs:addLog:'+process[_0xa45af6(0x192)],{'timestamp':new Date()[_0xa45af6(0x175)](),'level':_0x2cc349['KlPPP'],'message':_0x459e65,'kind':_0x2cc349[_0xa45af6(0x16f)],'http_response':{}});}catch(_0x638410){PerformanceTester['captureError'](_0x638410);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1c2)][_0xf76ba0(0x1b4)],_0x15a5d9=>{const _0x664bf7=_0xf76ba0;_0x2f050c[_0x664bf7(0x171)](_0x15a5d9);}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['bddStep'][_0xf76ba0(0x1be)],_0x27f680=>{_0x2f050c['bddStepFinish'](_0x27f680);});};
|
|
1
|
+
const a1_0x230373=a1_0x4ac3;function a1_0x4ac3(_0x43a8e0,_0x5b4cc3){const _0x3268b6=a1_0x3268();return a1_0x4ac3=function(_0x4ac3a1,_0x40c02a){_0x4ac3a1=_0x4ac3a1-0xa9;let _0x79c543=_0x3268b6[_0x4ac3a1];return _0x79c543;},a1_0x4ac3(_0x43a8e0,_0x5b4cc3);}(function(_0x1eca13,_0x3729fb){const _0xe4710b=a1_0x4ac3,_0x33137b=_0x1eca13();while(!![]){try{const _0x1217f2=parseInt(_0xe4710b(0xf6))/0x1+-parseInt(_0xe4710b(0x101))/0x2*(parseInt(_0xe4710b(0x10e))/0x3)+parseInt(_0xe4710b(0x126))/0x4+parseInt(_0xe4710b(0xe3))/0x5+-parseInt(_0xe4710b(0xfb))/0x6+-parseInt(_0xe4710b(0xd0))/0x7+parseInt(_0xe4710b(0x143))/0x8*(parseInt(_0xe4710b(0x135))/0x9);if(_0x1217f2===_0x3729fb)break;else _0x33137b['push'](_0x33137b['shift']());}catch(_0x5f204d){_0x33137b['push'](_0x33137b['shift']());}}}(a1_0x3268,0x951c1));const fs=require('fs'),util=require(a1_0x230373(0x104)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x230373(0x147))['winstonLogger'],testOpsHelper=require(a1_0x230373(0x11a)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x230373(0xb1)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x230373(0xf8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x230373(0xda)),AccessibilityHelper=require(a1_0x230373(0xce)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x230373(0x119)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x230373(0xbd)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x230373(0x146)),CodeceptWebDriver=requireModule(a1_0x230373(0x130)),CodeceptRecorder=requireModule(a1_0x230373(0xcc)),CodeceptPlaywright=requireModule(a1_0x230373(0xb5)),playwrightMarkSessionStatus=(_0x44a49c,_0x20803a,_0x3669b1)=>{const _0x53d4e6=a1_0x230373,_0x29ad81={'WyViy':_0x53d4e6(0xf9),'AKcGX':function(_0x3bc639,_0x464918){return _0x3bc639(_0x464918);}},_0x48cf45={};_0x48cf45['status']=_0x20803a;const _0x353a26={};_0x353a26[_0x53d4e6(0xf0)]=_0x29ad81['WyViy'],_0x353a26['arguments']=_0x48cf45;const _0x35416b=_0x353a26;return!_0x29ad81['AKcGX'](isUndefined,_0x3669b1)&&(_0x35416b['arguments']['reason']=JSON[_0x53d4e6(0xd7)](_0x3669b1)),_0x44a49c[_0x53d4e6(0x137)](()=>{},_0x53d4e6(0x13d)+JSON[_0x53d4e6(0xd7)](_0x35416b));},o11ySync=async _0x2a21a8=>{const _0x13e9ea=a1_0x230373,_0x212161={};_0x212161[_0x13e9ea(0x132)]=function(_0x512c53,_0x3a086d){return _0x512c53===_0x3a086d;},_0x212161[_0x13e9ea(0x121)]=_0x13e9ea(0xad);const _0x37a732=_0x212161;_0x37a732[_0x13e9ea(0x132)](_0x2a21a8['constructor'][_0x13e9ea(0xee)],_0x37a732[_0x13e9ea(0x121)])?await _0x2a21a8[_0x13e9ea(0x137)](_0x48ab66=>{},testOpsHelper[_0x13e9ea(0x12b)]()):await _0x2a21a8[_0x13e9ea(0x137)](testOpsHelper['getSyncScript']());},markSessionName=async(_0x39c4c3,_0x17721e)=>{const _0x3d8069=a1_0x230373,_0x2ef3d8={};_0x2ef3d8[_0x3d8069(0x13a)]='setSessionName',_0x2ef3d8[_0x3d8069(0x107)]=function(_0x28978b,_0x2aeed8){return _0x28978b===_0x2aeed8;},_0x2ef3d8[_0x3d8069(0xdd)]=_0x3d8069(0xad);const _0x5cf9e8=_0x2ef3d8,_0xa42299={};_0xa42299[_0x3d8069(0xee)]=_0x17721e;const _0x44443c={};_0x44443c[_0x3d8069(0xf0)]=_0x5cf9e8[_0x3d8069(0x13a)],_0x44443c[_0x3d8069(0x144)]=_0xa42299;const _0xf221f4=_0x44443c;_0x5cf9e8[_0x3d8069(0x107)](_0x39c4c3[_0x3d8069(0x10b)][_0x3d8069(0xee)],_0x5cf9e8[_0x3d8069(0xdd)])?await _0x39c4c3[_0x3d8069(0x137)](()=>{},_0x3d8069(0x13d)+JSON['stringify'](_0xf221f4)):await _0x39c4c3[_0x3d8069(0x137)]('browserstack_executor:\x20'+JSON[_0x3d8069(0xd7)](_0xf221f4));},patchSaveScreenshot=_0x13de0c=>{const _0x55d533=a1_0x230373,_0x48466c={'yEvSe':_0x55d533(0xe8),'JKgHu':_0x55d533(0xcd),'lVSGt':function(_0x795dd7){return _0x795dd7();},'ITfVz':function(_0x1aa2d2,_0xe54802){return _0x1aa2d2(_0xe54802);}};_0x48466c[_0x55d533(0x110)](isTrue,process[_0x55d533(0x11b)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x13de0c[_0x55d533(0xec)]&&(_0x13de0c[_0x55d533(0xec)]=!![],_0x13de0c['initSaveScreenshot']=_0x13de0c[_0x55d533(0x100)],_0x13de0c[_0x55d533(0x100)]=(_0x47d732,_0x142534=![])=>{const _0x1f88ae=_0x55d533,_0x573047={'yRcPs':_0x48466c[_0x1f88ae(0xf5)],'aiiaQ':_0x48466c[_0x1f88ae(0x13c)],'noUBy':function(_0x2f23ed){return _0x48466c['lVSGt'](_0x2f23ed);}};return new Promise(function(_0x2c2695,_0x2c9f75){const _0x25feb7=_0x1f88ae;_0x13de0c[_0x25feb7(0xd8)](_0x47d732,_0x142534)[_0x25feb7(0x103)](()=>{const _0x28cb97=_0x25feb7,_0x4036d9=CodeceptUtils[_0x28cb97(0x123)](_0x47d732),_0x103cc9=fs['readFileSync'](_0x4036d9);process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x28cb97(0xfa)](),'message':_0x103cc9[_0x28cb97(0xe9)](_0x573047[_0x28cb97(0x118)]),'kind':_0x573047[_0x28cb97(0xca)]}),_0x573047[_0x28cb97(0x117)](_0x2c2695);})[_0x25feb7(0x10d)](()=>null);});});},patchWebDriverBefore=_0x4b253b=>{const _0x12f21a=a1_0x230373,_0xbf625e={'fsisB':function(_0x3142dc){return _0x3142dc();},'KXAWg':function(_0x221b0e,_0x3d5ab5){return _0x221b0e(_0x3d5ab5);},'nOlQC':function(_0x3bf3d8,_0x470135){return _0x3bf3d8===_0x470135;},'jpOkC':_0x12f21a(0x106)},_0x4cedba=async function(_0x4bacfe,_0x5793ff){const _0x5e2c56=_0x12f21a;return _0xbf625e[_0x5e2c56(0xac)](isAccessibilityAutomationSession)&&!global[_0x5e2c56(0xed)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x4bacfe[_0x5e2c56(0xee)])&&_0xbf625e['KXAWg'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x5e2c56(0x10c)](_0x5e2c56(0xc4)+_0x4bacfe[_0x5e2c56(0x141)]+'\x20'+_0x4bacfe[_0x5e2c56(0xee)]),await AccessibilityHelper[_0x5e2c56(0xd1)](_0x4b253b,scripts[_0x5e2c56(0x128)])),global['bstackAllyScanning']=![],_0x5793ff[_0x5e2c56(0x134)](this,Array[_0x5e2c56(0xb4)][_0x5e2c56(0x115)][_0x5e2c56(0xdc)](arguments,0x2));},_0x2dc516=CodeceptWebDriver[_0x12f21a(0xb4)][_0x12f21a(0xd5)];CodeceptWebDriver[_0x12f21a(0xb4)]['_before']=async function(){const _0x25e8b3=_0x12f21a;await _0x2dc516['apply'](this,arguments),scripts['commandsToWrap']['filter'](_0x33f700=>_0x33f700[_0x25e8b3(0xee)]&&_0x33f700['class'])[_0x25e8b3(0x11e)](_0x281585=>{const _0x57bf74=_0x25e8b3;this[_0x57bf74(0x129)][_0x57bf74(0xae)](_0x281585[_0x57bf74(0xee)],_0x4cedba[_0x57bf74(0xff)](this,_0x281585),_0xbf625e[_0x57bf74(0xaf)](_0x281585[_0x57bf74(0x141)],_0xbf625e[_0x57bf74(0x11f)]));}),_0xbf625e['KXAWg'](processWebDriverConfig,_0x4b253b);};},patchPlaywrightBefore=()=>{const _0x56e8a9=a1_0x230373;PlaywrightSessionDetails[_0x56e8a9(0x120)]();const _0x58fdc7=CodeceptPlaywright[_0x56e8a9(0xb4)][_0x56e8a9(0xd5)];CodeceptPlaywright[_0x56e8a9(0xb4)]['_before']=async function(){const _0x2b415e=_0x56e8a9;this[_0x2b415e(0xf4)]=await this[_0x2b415e(0x129)][_0x2b415e(0xc2)]()[0x0],await _0x58fdc7[_0x2b415e(0x134)](this,arguments);};},getCodeceptDriver=()=>{const _0x17c707=a1_0x230373,_0x5d44a4={};_0x5d44a4[_0x17c707(0xf7)]='WebDriver',_0x5d44a4['iemIu']=_0x17c707(0xad),_0x5d44a4['aSDAU']=_0x17c707(0xe5),_0x5d44a4[_0x17c707(0xb9)]='TestCafe';const _0x1538be=_0x5d44a4,_0x3a969a=[_0x1538be[_0x17c707(0xf7)],_0x1538be['iemIu'],_0x1538be[_0x17c707(0xfc)],_0x1538be[_0x17c707(0xb9)]],_0x55e5c8=_0x3a969a[_0x17c707(0x111)](_0x5d6971=>!!CodeceptJS[_0x17c707(0xf1)][_0x17c707(0x124)](_0x5d6971));if(!_0x55e5c8)return null;return CodeceptJS[_0x17c707(0xf1)][_0x17c707(0x124)](_0x55e5c8);};function a1_0x3268(){const _0x27b6de=['thTestRunUuid','ctx','forEach','jpOkC','patch','ystml','bddStepFinish','screenshotOutputFolder','helpers','CewxY','1321604mjGMPv','event','performScan','browser','skipSessionStatus','getSyncScript','diNgu','started','ENV_VAR','noOQi','codeceptjs/lib/helper/WebDriver.js','Suite','dawcw','URBLd','apply','31527DSMzGn','stopMonitoring','executeScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','stop','sPolN','fAzxM','JKgHu','browserstack_executor:\x20','saveTestResults','thJwtToken','__driver','class','hook','776kpjrrH','arguments','format','codeceptjs/lib/utils.js','../../helpers/logger','TEST_RUN_STARTED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Ivokw','fsisB','Playwright','overwriteCommand','nOlQC','HOOK_RUN_STARTED','../../bin/playwright/sessionDetails','dispatcher','passed','prototype','codeceptjs/lib/helper/Playwright.js','OWVnK','fireEvent','captureError','CVSGl','exports','TEST_RUN_FINISHED','Upsme','./helper.js','TIhsg','PPyHA','all','GBidb','contexts','title','Performing\x20scan\x20for\x20','getAccessibilityResults','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bddStep','TVrfI','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','aiiaQ','accessibilityPlatform','codeceptjs/lib/recorder.js','TEST_SCREENSHOT','../../bin/playwright/accessibility-helper','test','3343718faTDJW','browserStackExecuteDriver','info','captureEvent','after','_before','YbWZp','stringify','initSaveScreenshot','TEST_RUN_SKIPPED','../../helpers/accessibility-automation/helper','iVvEG','call','Rawdl','failed','warn','comment','BROWSERSTACK_TESTHUB_UUID','getResults','5969830YkosFf','before','Puppeteer','KquVG','testAnalyticsId','base64','toString','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','add','patchSaveScreenshot','bstackAllyScanning','name','INFO','action','container','restore','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','browserContext','yEvSe','240757vnKoEc','IzaMG','./o11yHelper','setSessionStatus','toISOString','3216072VCFJrP','aSDAU','__workerDetails','skipped','bind','saveScreenshot','226uXgdwW','KHvfO','then','util','OluWq','Element','Letvi','bs:addLog:','TjRPM','skipSessionName','constructor','debug','catch','12756MWLZxF','YKXEy','ITfVz','find','DFLur','titlePath','HOOK_RUN_FINISHED','slice','ghQmo','noUBy','yRcPs','../../helpers/performance-tester','../../helpers/test-observability/utils','env'];a1_0x3268=function(){return _0x27b6de;};return a1_0x3268();}module[a1_0x230373(0xba)]=function(_0x55df43){const _0x3cb935=a1_0x230373,_0x4c320d={'wqnvx':_0x3cb935(0x138),'ghQmo':_0x3cb935(0xaa),'YbWZp':function(_0x2a00e9){return _0x2a00e9();},'KHvfO':function(_0x274acf,_0x56af6c){return _0x274acf(_0x56af6c);},'Upsme':function(_0x148042,_0x3ca186,_0x11e083){return _0x148042(_0x3ca186,_0x11e083);},'YKXEy':function(_0x1486e6){return _0x1486e6();},'TIhsg':function(_0x371fda,_0x20924c,_0x354077){return _0x371fda(_0x20924c,_0x354077);},'DFLur':function(_0x5cdab8,_0x37090f,_0x5a4dc5,_0x155157){return _0x5cdab8(_0x37090f,_0x5a4dc5,_0x155157);},'KquVG':function(_0xaa8d42,_0xf89c5b){return _0xaa8d42===_0xf89c5b;},'diNgu':_0x3cb935(0x131),'EJUGc':function(_0x115e9a){return _0x115e9a();},'fAzxM':_0x3cb935(0xc6),'OluWq':_0x3cb935(0xef),'CewxY':'TEST_LOG','iVvEG':_0x3cb935(0xad),'PPyHA':function(_0x2c801d){return _0x2c801d();},'Ivokw':function(_0x5379ed,_0x46a25){return _0x5379ed(_0x46a25);},'noOQi':function(_0x45f376,_0x4dbb08){return _0x45f376(_0x4dbb08);}};_0x55df43['skipSessionStatus']&&(global['__skipSessionStatus']=_0x55df43[_0x3cb935(0x12a)]);PerformanceTester['startMonitoring']();const _0x4def77=_0x4c320d[_0x3cb935(0xd6)](getCodeceptDriver),_0x49a521=new O11yHelper(_0x4def77,_0x55df43),_0x578779=!!CodeceptJS[_0x3cb935(0xf1)]['helpers'](_0x4c320d[_0x3cb935(0xdb)]);global[_0x3cb935(0x140)]=_0x4def77,_0x4def77&&(_0x578779?_0x4c320d[_0x3cb935(0xbf)](patchPlaywrightBefore):_0x4c320d[_0x3cb935(0xab)](patchWebDriverBefore,_0x4def77),_0x4def77['getAccessibilityResultsSummary']=async()=>{const _0x237d68=_0x3cb935;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x4def77,scripts[_0x237d68(0x128)]),await AccessibilityHelper[_0x237d68(0xd1)](_0x4def77,scripts['getResultsSummary']);else return logger[_0x237d68(0xdf)](_0x4c320d['wqnvx']),{};},_0x4def77[_0x3cb935(0xc5)]=async()=>{const _0x25075a=_0x3cb935;if(global[_0x25075a(0xcb)])await AccessibilityHelper[_0x25075a(0xd1)](_0x4def77,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x4def77,scripts[_0x25075a(0xe2)]);else return logger[_0x25075a(0xdf)](_0x4c320d[_0x25075a(0x116)]),{};},_0x4c320d[_0x3cb935(0x12f)](patchSaveScreenshot,_0x4def77)),CodeceptJS[_0x3cb935(0x127)]['dispatcher']['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xc0)][_0x3cb935(0xe4)],()=>{try{_0x49a521['start'](),testOpsHelper['addRequestSpy']();}catch(_0x392bcc){PerformanceTester['captureError'](_0x392bcc);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xc0)][_0x3cb935(0xd4)],async()=>{const _0x1083d9=_0x3cb935;try{requestSpy[_0x1083d9(0xf2)](),await _0x49a521[_0x1083d9(0x139)]();}catch(_0x1481e7){PerformanceTester[_0x1083d9(0xb8)](_0x1481e7);}finally{PerformanceTester[_0x1083d9(0x136)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3cb935(0x127)]['hook']['started'],_0x3602d8=>{const _0x49243c=_0x3cb935;try{const _0x859667=_0x3602d8[_0x49243c(0x11d)][_0x49243c(0xcf)],_0x73de5c=_0x49a521[_0x49243c(0xd3)](TEST_EVENTS[_0x49243c(0xb0)],_0x859667);CodeceptRecorder[_0x49243c(0xeb)](()=>_0x49a521[_0x49243c(0xb7)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x73de5c));}catch(_0x3345bb){PerformanceTester[_0x49243c(0xb8)](_0x3345bb);}}),CodeceptJS['event'][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)]['hook']['passed'],_0x193beb=>{const _0x3833a2=_0x3cb935;try{const _0x1719a3=_0x193beb[_0x3833a2(0x11d)][_0x3833a2(0xcf)],_0x28e273=_0x49a521[_0x3833a2(0xd3)](TEST_EVENTS[_0x3833a2(0x114)],_0x1719a3);CodeceptRecorder[_0x3833a2(0xeb)](()=>_0x49a521[_0x3833a2(0xb7)](TEST_EVENTS[_0x3833a2(0x114)],_0x28e273));}catch(_0x1c379f){PerformanceTester[_0x3833a2(0xb8)](_0x1c379f);}}),CodeceptJS['event'][_0x3cb935(0xb2)]['on'](CodeceptJS['event'][_0x3cb935(0x142)][_0x3cb935(0xde)],async(_0x31e4e7,_0x464325)=>{const _0x596211=_0x3cb935;try{const _0x91921e=_0x31e4e7['ctx'][_0x596211(0xcf)],_0x144c39=_0x49a521[_0x596211(0xd3)](TEST_EVENTS[_0x596211(0x114)],_0x91921e,_0x464325);CodeceptRecorder[_0x596211(0xeb)](()=>_0x49a521[_0x596211(0xb7)](TEST_EVENTS[_0x596211(0x114)],_0x144c39));}catch(_0x16f2d2){PerformanceTester['captureError'](_0x16f2d2);}}),CodeceptJS['event'][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xcf)]['before'],_0x4e8ed6=>{const _0x419b05=_0x3cb935;try{_0x4c320d[_0x419b05(0xd6)](isBrowserstackInfra)&&(_0x578779&&(global[_0x419b05(0xfd)]={'currentTest':{'name':_0x4e8ed6['title'],'testInfo':{'titlePath':_0x4e8ed6[_0x419b05(0x113)]()}}}));}catch(_0x3ccf0f){PerformanceTester[_0x419b05(0xb8)](_0x3ccf0f);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS['event']['test'][_0x3cb935(0x12d)],_0x1c455f=>{const _0x3a122e=_0x3cb935,_0x51e058={'TjRPM':function(_0x5bcc44){const _0x17b711=a1_0x4ac3;return _0x4c320d[_0x17b711(0xd6)](_0x5bcc44);},'GBidb':function(_0x117fd6,_0x321651){const _0x3a9bb2=a1_0x4ac3;return _0x4c320d[_0x3a9bb2(0x102)](_0x117fd6,_0x321651);},'URBLd':function(_0x43da6f,_0x31aa53,_0x4e8fec){const _0x494480=a1_0x4ac3;return _0x4c320d[_0x494480(0xbc)](_0x43da6f,_0x31aa53,_0x4e8fec);},'OWVnK':function(_0xdd69f1,_0x2be14a){const _0x443114=a1_0x4ac3;return _0x4c320d[_0x443114(0x102)](_0xdd69f1,_0x2be14a);}};try{const _0x1cd86c=_0x49a521[_0x3a122e(0xd3)](TEST_EVENTS[_0x3a122e(0xa9)],_0x1c455f);CodeceptRecorder[_0x3a122e(0xeb)](()=>_0x49a521[_0x3a122e(0xb7)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1cd86c)),CodeceptRecorder[_0x3a122e(0xeb)](async()=>{const _0x523f99=_0x3a122e;_0x51e058[_0x523f99(0x109)](isBrowserstackInfra)&&(!_0x51e058[_0x523f99(0xc1)](isTrue,_0x55df43[_0x523f99(0x10a)])&&await _0x51e058[_0x523f99(0x133)](markSessionName,_0x4def77,_0x1c455f[_0x523f99(0xc3)]),_0x49a521['enabled']&&await _0x51e058[_0x523f99(0xb6)](o11ySync,_0x4def77));});}catch(_0x1263fd){PerformanceTester[_0x3a122e(0xb8)](_0x1263fd);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xcf)][_0x3cb935(0xb3)],_0x4cc9b7=>{const _0x27a848=_0x3cb935,_0x9baffb={'TVrfI':function(_0x477108){const _0x3981f0=a1_0x4ac3;return _0x4c320d[_0x3981f0(0x10f)](_0x477108);},'Bplih':function(_0x21e687,_0xfe4281,_0x49d2dd){const _0x3cd3ce=a1_0x4ac3;return _0x4c320d[_0x3cd3ce(0xbe)](_0x21e687,_0xfe4281,_0x49d2dd);},'XZSXb':function(_0x34ceaa,_0x3f8104,_0x2bdac5){const _0x6969db=a1_0x4ac3;return _0x4c320d[_0x6969db(0xbe)](_0x34ceaa,_0x3f8104,_0x2bdac5);}};try{const _0x4f96a9=_0x49a521[_0x27a848(0xd3)](TEST_EVENTS[_0x27a848(0xbb)],_0x4cc9b7);CodeceptRecorder[_0x27a848(0xeb)](()=>_0x49a521[_0x27a848(0xb7)](TEST_EVENTS[_0x27a848(0xbb)],_0x4f96a9)),CodeceptRecorder['add'](async()=>{const _0x320154=_0x27a848;_0x9baffb[_0x320154(0xc8)](isBrowserstackInfra)&&(_0x578779?await _0x9baffb['Bplih'](playwrightMarkSessionStatus,_0x4def77,STATE_PASSED):await _0x9baffb['XZSXb'](markSessionStatus,_0x4def77,STATE_PASSED));});}catch(_0x3bc3a2){PerformanceTester['captureError'](_0x3bc3a2);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xcf)][_0x3cb935(0xde)],(_0x4db723,_0x45d86e)=>{const _0x306fe9=_0x3cb935;try{if(_0x4c320d[_0x306fe9(0xe6)](_0x4db723[_0x306fe9(0x10b)][_0x306fe9(0xee)],_0x4c320d[_0x306fe9(0x12c)])){const _0x38da19=_0x49a521['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4db723[_0x306fe9(0x11d)]['currentTest']);CodeceptRecorder[_0x306fe9(0xeb)](()=>_0x49a521[_0x306fe9(0xb7)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x38da19));}else{const _0x1a8b33=_0x49a521[_0x306fe9(0xd3)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4db723,_0x45d86e);CodeceptRecorder[_0x306fe9(0xeb)](()=>{const _0x58049d=_0x306fe9;try{_0x49a521[_0x58049d(0xb7)](TEST_EVENTS[_0x58049d(0xbb)],_0x1a8b33);}catch(_0x4f14d6){logger['debug'](_0x58049d(0xc9)+util[_0x58049d(0x145)](_0x4f14d6));}}),CodeceptRecorder[_0x306fe9(0xeb)](async()=>{const _0x430bdb=_0x306fe9;try{_0x4c320d['YbWZp'](isBrowserstackInfra)&&(_0x578779?await _0x4c320d[_0x430bdb(0x112)](playwrightMarkSessionStatus,_0x4def77,STATE_FAILED,_0x45d86e):await _0x4c320d[_0x430bdb(0x112)](markSessionStatus,_0x4def77,STATE_FAILED,_0x45d86e));}catch(_0x24cb60){logger[_0x430bdb(0x10c)](_0x430bdb(0xf3)+util[_0x430bdb(0x145)](_0x24cb60));}});}}catch(_0x572a5b){PerformanceTester[_0x306fe9(0xb8)](_0x572a5b);}}),CodeceptJS[_0x3cb935(0x127)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x3cb935(0xfe)],_0x426603=>{const _0x2009a4=_0x3cb935;try{const _0x1c05f9=_0x49a521[_0x2009a4(0xd3)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x426603);CodeceptRecorder[_0x2009a4(0xeb)](()=>_0x49a521[_0x2009a4(0xb7)](TEST_EVENTS[_0x2009a4(0xd9)],_0x1c05f9));}catch(_0x548e5a){PerformanceTester[_0x2009a4(0xb8)](_0x548e5a);}}),CodeceptJS['event'][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xcf)][_0x3cb935(0xd4)],async(_0x50c399,_0x29fe51)=>{const _0x32e768=_0x3cb935;try{if(_0x4c320d[_0x32e768(0x10f)](isBrowserstackInfra)){const _0x33e7d6=_0x4c320d[_0x32e768(0xbc)](shouldScanTestForAccessibility,_0x50c399[_0x32e768(0x113)](),!![]);if(_0x4c320d['EJUGc'](isAccessibilityAutomationSession)&&global[_0x32e768(0xcb)]&&_0x33e7d6){const _0x2e1df0={};_0x2e1df0[_0x32e768(0x11c)]=_0x50c399[_0x32e768(0xe7)],_0x2e1df0['thBuildUuid']=process[_0x32e768(0x11b)][testHubConstants[_0x32e768(0x12e)][_0x32e768(0xe1)]],_0x2e1df0[_0x32e768(0x13f)]=process[_0x32e768(0x11b)][testHubConstants[_0x32e768(0x12e)]['BROWSERSTACK_TESTHUB_JWT']];const _0xf7abda=_0x2e1df0;logger[_0x32e768(0x10c)](_0x32e768(0xea)+JSON[_0x32e768(0xd7)](_0xf7abda)),CodeceptRecorder[_0x32e768(0xeb)](async()=>{const _0x286966=_0x32e768;await AccessibilityHelper[_0x286966(0xd1)](_0x4def77,scripts[_0x286966(0x128)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4def77,scripts[_0x286966(0x13e)],_0xf7abda);}),logger[_0x32e768(0xd2)](_0x4c320d[_0x32e768(0x13b)]);}}}catch(_0x58a255){PerformanceTester[_0x32e768(0xb8)](_0x58a255);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)]['step'][_0x3cb935(0xe0)],_0x3d4bee=>{const _0x31fa3f=_0x3cb935;try{process['emit'](_0x31fa3f(0x108)+process['pid'],{'timestamp':new Date()[_0x31fa3f(0xfa)](),'level':_0x4c320d[_0x31fa3f(0x105)],'message':_0x3d4bee,'kind':_0x4c320d[_0x31fa3f(0x125)],'http_response':{}});}catch(_0x3cb826){PerformanceTester[_0x31fa3f(0xb8)](_0x3cb826);}}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS['event'][_0x3cb935(0xc7)][_0x3cb935(0xe4)],_0xcb97ad=>{_0x49a521['bddStepStart'](_0xcb97ad);}),CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xb2)]['on'](CodeceptJS[_0x3cb935(0x127)][_0x3cb935(0xc7)]['after'],_0x3539c3=>{const _0x49b2dc=_0x3cb935;_0x49a521[_0x49b2dc(0x122)](_0x3539c3);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x5e53aa=a2_0x842d;(function(_0x5ed0f5,_0x1ae745){const _0x1f0dfb=a2_0x842d,_0x5dcfe3=_0x5ed0f5();while(!![]){try{const _0x433681=parseInt(_0x1f0dfb(0x160))/0x1+parseInt(_0x1f0dfb(0x170))/0x2+parseInt(_0x1f0dfb(0x18f))/0x3+-parseInt(_0x1f0dfb(0x161))/0x4+parseInt(_0x1f0dfb(0x1c5))/0x5*(parseInt(_0x1f0dfb(0x15f))/0x6)+parseInt(_0x1f0dfb(0x17c))/0x7*(-parseInt(_0x1f0dfb(0x18b))/0x8)+parseInt(_0x1f0dfb(0x1a3))/0x9;if(_0x433681===_0x1ae745)break;else _0x5dcfe3['push'](_0x5dcfe3['shift']());}catch(_0xcc652b){_0x5dcfe3['push'](_0x5dcfe3['shift']());}}}(a2_0x5afc,0xac4a8));function a2_0x5afc(){const _0x17b839=['stack','createGroupsOfSuites','Playwright','pThvd','errorMessage','1434EgwVVX','706034NnKiQe','1520752xUbMMq','prepareCapabilities','ODmHZ','isUndefined','QEpWv','join','getPlaywrightUrl','RUpDW','omGQO','BROWSERSTACK_RERUN_TESTS','all','desiredCapabilities','CODECEPT','printResults','browserStackCwd','1020720kvQyPz','chdir','err','frameworkName','dUCaY','getUserWorkerCount','TNvvV','profile','result','avxfN','browser','../../helpers/accessibility-automation/helper','21kLHSVL','testObservability','mVlGW','FRAMEWORKS','failed','playwright-firefox','enabled','yNGUJ','xlFml','firefox','root','path','gaoEp','lXeVh','stop','2521272ggOMcH','browserName','browserWSEndpoint','Passed\x20:\x20','577479HCntjF','false','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/testhub/testhubHandler','env','addConfig','1|0|2|4|3','Started\x20:\x20','isTestObservabilitySession','InoKM','../../helpers/test-observability/utils','format','exports','finalExecution','split','BROWSERSTACK_RERUN','cwd','Workers','null','mergeDeep','4877451vznhwG','../../bin/playwright/accessibility-helper','cYPFW','handleApp','winstonLogger','test','qDXpJ','stringify','bootstrapAll','KxiJQ','NsxrZ','../../helpers/BrowserStackSetup','now','gOOJP','testContextOptions','chrome','Failed\x20:\x20','printBuildLink','map','config','AWXUz','slUJb','dirname','isTrue','findIndex','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','process','codeceptjs/lib/index.js','forEach','aCpbr','../../helpers/helper','plugins','spawn','testConfig','1685KfhAne','chromium','grMwu','JnTUt','skipSessionName','playwright-chromium','push','launchBuild','event','accessibilityOptions','../../helpers/utilities','skipSessionStatus','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toLowerCase','useW3C','BrowserStackPlugin.js','length','title','passed','helpers','gherkin','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iwXDR','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BWfnG','-cucumber','CcJUp','webkit','LWzWg','before','rGlyI','util','DwKUf','HgLbh','codeceptjs','log','slice','info','existsSync','BrowserStackPlugin','KcDLr','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'];a2_0x5afc=function(){return _0x17b839;};return a2_0x5afc();}const fs=require('fs'),path=require(a2_0x5e53aa(0x187)),util=require(a2_0x5e53aa(0x14f)),process=require(a2_0x5e53aa(0x1bd)),logger=require('../../helpers/logger')[a2_0x5e53aa(0x1a7)],{default:BrowserStackSetup}=require(a2_0x5e53aa(0x1ae)),helper=require(a2_0x5e53aa(0x1c1)),utilities=require(a2_0x5e53aa(0x1cf)),{checkAccessibilityPlatformConfig}=require(a2_0x5e53aa(0x17b)),{setAccessibilityCapabilities}=require(a2_0x5e53aa(0x1a4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x5e53aa(0x1be)),testOpsHelper=require(a2_0x5e53aa(0x199)),TestHubHandler=require(a2_0x5e53aa(0x192)),constants=require(a2_0x5e53aa(0x1d1)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x7c81c0,_0xdaf89a)=>{const _0x4811a8=a2_0x5e53aa,_0x362e51={};_0x362e51[_0x4811a8(0x168)]=function(_0x1d7e56,_0x5170d0){return _0x1d7e56===_0x5170d0;},_0x362e51[_0x4811a8(0x1c8)]='codecept.conf.js',_0x362e51[_0x4811a8(0x1ad)]='codecept.json';const _0x58aa32=_0x362e51;let _0x2aaa86=null;const _0x43ab53={};let _0x4d6426=_0xdaf89a[_0x4811a8(0x1bb)](_0x3e271f=>_0x3e271f==='--config');_0x58aa32[_0x4811a8(0x168)](_0x4d6426,-0x1)&&(_0x4d6426=_0xdaf89a[_0x4811a8(0x1bb)](_0x142b4f=>_0x142b4f==='-c'));if(!helper[_0x4811a8(0x164)](_0x7c81c0[_0x4811a8(0x1b6)])&&fs[_0x4811a8(0x156)](path['join'](process[_0x4811a8(0x19f)](),_0x7c81c0['config'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0[_0x4811a8(0x1b6)]),_0xdaf89a[_0x4811a8(0x154)](_0x4d6426,0x2);else{if(!helper['isUndefined'](_0x7c81c0['c'])&&fs[_0x4811a8(0x156)](path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0['c'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0['c']),_0xdaf89a[_0x4811a8(0x154)](_0x4d6426,0x2);else{if(fs[_0x4811a8(0x156)](path['join'](process['cwd'](),_0x58aa32['JnTUt'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x58aa32[_0x4811a8(0x1c8)]);else fs['existsSync'](path['join'](process[_0x4811a8(0x19f)](),_0x58aa32[_0x4811a8(0x1ad)]))&&(_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x58aa32['NsxrZ']));}}return _0x2aaa86;},getO11yRerunPattern=()=>{const _0x22cc9c=a2_0x5e53aa,_0x329820={};_0x329820[_0x22cc9c(0x1c7)]=function(_0x2a76f5,_0x217872){return _0x2a76f5!==_0x217872;},_0x329820[_0x22cc9c(0x183)]=_0x22cc9c(0x1a1);const _0x34af22=_0x329820,_0x2004cf=helper[_0x22cc9c(0x1ba)](process[_0x22cc9c(0x193)][_0x22cc9c(0x19e)]);if(_0x2004cf){const _0x51ab70=process['env'][_0x22cc9c(0x16a)],_0x66556d=[];if(_0x34af22[_0x22cc9c(0x1c7)](_0x51ab70,_0x34af22[_0x22cc9c(0x183)])&&!helper['isUndefined'](_0x51ab70)){_0x51ab70[_0x22cc9c(0x19d)](',')[_0x22cc9c(0x1b5)](_0x593a0e=>{const _0x44f7fc=_0x22cc9c;_0x66556d[_0x44f7fc(0x1cb)]('('+_0x593a0e['trim']()+')');});const _0x437b61='^'+_0x66556d[_0x22cc9c(0x166)]('|')+'$';return _0x437b61;}}return null;},a2_0x5a76ae={};a2_0x5a76ae[a2_0x5e53aa(0x1b2)]=a2_0x5e53aa(0x1c6),a2_0x5a76ae[a2_0x5e53aa(0x1ca)]=a2_0x5e53aa(0x1c6),a2_0x5a76ae[a2_0x5e53aa(0x181)]=a2_0x5e53aa(0x185),a2_0x5a76ae['playwright-webkit']=a2_0x5e53aa(0x1e1);const pwToCodeceptBrowser=a2_0x5a76ae;function a2_0x842d(_0x46598b,_0xdd4285){const _0x5afc59=a2_0x5afc();return a2_0x842d=function(_0x842dec,_0x2c6faa){_0x842dec=_0x842dec-0x14f;let _0x1ad871=_0x5afc59[_0x842dec];return _0x1ad871;},a2_0x842d(_0x46598b,_0xdd4285);}async function run(_0x36844f,_0x24dd73){const _0x3be199=a2_0x5e53aa,_0x5e41e6={'rGlyI':function(_0x4f658e,_0x1dac8c){return _0x4f658e+_0x1dac8c;},'dUCaY':function(_0x489f43,_0x18faa7){return _0x489f43(_0x18faa7);},'InoKM':function(_0x38b03e,_0x18a19a){return _0x38b03e+_0x18a19a;},'xlFml':function(_0x5a09e2,_0x24370a,_0x2a362d){return _0x5a09e2(_0x24370a,_0x2a362d);},'omGQO':_0x3be199(0x1b6),'gaoEp':_0x3be199(0x1d9),'TNvvV':function(_0x10cdd7){return _0x10cdd7();},'mVlGW':_0x3be199(0x1b3),'dDEpx':_0x3be199(0x18e),'pThvd':_0x3be199(0x196),'KcDLr':_0x3be199(0x195),'KxiJQ':_0x3be199(0x152),'qDXpJ':function(_0x16a1c7,_0xab8fb5,_0x245127){return _0x16a1c7(_0xab8fb5,_0x245127);},'LWzWg':_0x3be199(0x159),'ODmHZ':function(_0x1ac944,_0x59d8ee,_0x2ebf14){return _0x1ac944(_0x59d8ee,_0x2ebf14);},'BMZYb':_0x3be199(0x15c),'avxfN':'WebDriver','BWfnG':function(_0x395dbd,_0x4764e7){return _0x395dbd(_0x4764e7);},'QEpWv':function(_0x1a7792,_0x1db305){return _0x1a7792!=_0x1db305;},'DwKUf':_0x3be199(0x190),'lXeVh':function(_0x34920d,_0x127cdf){return _0x34920d+_0x127cdf;},'AWXUz':_0x3be199(0x1da),'CcJUp':_0x3be199(0x1df),'UhETU':function(_0x107afc,_0x2efe0d){return _0x107afc(_0x2efe0d);},'hpwbY':function(_0x5a6cbe,_0xcebda8){return _0x5a6cbe*_0xcebda8;},'iwXDR':function(_0x20fad7,_0x52e0af,_0x377ce9){return _0x20fad7(_0x52e0af,_0x377ce9);},'gOOJP':_0x3be199(0x17a),'KPotk':_0x3be199(0x16c),'cYPFW':_0x3be199(0x186),'iRPdg':_0x3be199(0x1d5),'aCpbr':_0x3be199(0x16f)},_0x249b10=new BrowserStackSetup(_0x36844f,_0x5e41e6[_0x3be199(0x1ac)]);await _0x249b10['initialize'](),await helper[_0x3be199(0x1a6)](_0x249b10[_0x3be199(0x1b6)]);if(!_0x249b10[_0x3be199(0x1b6)])return;process[_0x3be199(0x177)]=_0x36844f[_0x3be199(0x177)];_0x36844f[_0x3be199(0x177)]&&(process[_0x3be199(0x193)]['profile']=_0x36844f[_0x3be199(0x177)]);const _0x20f9ac=_0x5e41e6[_0x3be199(0x1a9)](getUserCodeceptJSConfigs,_0x36844f,_0x24dd73);let _0x4803ac={};_0x20f9ac?(logger[_0x3be199(0x155)](_0x3be199(0x1bc)+_0x20f9ac),_0x4803ac=_0x5e41e6[_0x3be199(0x174)](require,_0x20f9ac)):logger[_0x3be199(0x155)](_0x5e41e6[_0x3be199(0x1e2)]);let _0xa59c2a=![];_0x5e41e6[_0x3be199(0x163)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x5e41e6['BMZYb']])&&(_0xa59c2a=!![]);const _0x2d6cd9=_0xa59c2a?_0x5e41e6['BMZYb']:_0x5e41e6[_0x3be199(0x179)];let _0x4d58b9=!_0xa59c2a?helper[_0x3be199(0x1d4)](_0x249b10[_0x3be199(0x1b6)]):![];!helper['isUndefined'](_0x249b10[_0x3be199(0x1b6)][_0x3be199(0x1ce)])&&(process[_0x3be199(0x193)][_0x3be199(0x1d2)]=JSON[_0x3be199(0x1aa)](_0x249b10['config'][_0x3be199(0x1ce)]));let _0x168f7b=_0x249b10[_0x3be199(0x1b6)]['accessibility'];_0x168f7b=_0x168f7b||_0x5e41e6[_0x3be199(0x1de)](checkAccessibilityPlatformConfig,_0x249b10[_0x3be199(0x1b6)]),process[_0x3be199(0x193)][_0x3be199(0x1db)]=_0x168f7b;_0x168f7b&&(_0x4d58b9=!_0x168f7b);_0x5e41e6[_0x3be199(0x165)](_0x249b10[_0x3be199(0x1b6)][_0x3be199(0x17d)],null)?process[_0x3be199(0x193)][_0x3be199(0x191)]=_0x249b10['config']['testObservability']:process['env'][_0x3be199(0x191)]=_0x5e41e6[_0x3be199(0x150)];const _0x7df179=_0x5e41e6[_0x3be199(0x189)](_0x5e41e6['KxiJQ'],_0x5e41e6[_0x3be199(0x1a9)](nestedKeyValue,_0x4803ac,[_0x5e41e6['omGQO'],_0x5e41e6[_0x3be199(0x1b7)]])?_0x5e41e6[_0x3be199(0x1e0)]:''),_0x102e0c=await TestHubHandler[_0x3be199(0x1cc)](_0x7df179,_0x249b10);_0x168f7b&&_0x5e41e6['UhETU'](setAccessibilityCapabilities,_0x249b10[_0x3be199(0x1b6)]);const _0x204e48={},_0x21cb70=[],_0x381c5b=_0x249b10[_0x3be199(0x1b6)]['parallelsPerPlatform']||helper[_0x3be199(0x175)](_0x36844f,_0x24dd73,_0x249b10[_0x3be199(0x1b6)],constants[_0x3be199(0x17f)][_0x3be199(0x16d)])||0x1;let _0x362f92=0x1;if(_0x5e41e6[_0x3be199(0x176)](isBrowserstackInfra)){const _0x40702c=helper[_0x3be199(0x162)](_0x249b10[_0x3be199(0x1b6)],_0x4d58b9,constants[_0x3be199(0x17f)][_0x3be199(0x16d)]);helper['validPlatformsPresent'](_0x249b10['config'])?_0x362f92=_0x5e41e6['hpwbY'](_0x381c5b,_0x249b10['config']['platforms'][_0x3be199(0x1d6)]):_0x362f92=_0x381c5b,_0x40702c[_0x3be199(0x1bf)](_0x249d20=>{const _0x441f89=_0x3be199,_0x2a52a2={'HgLbh':function(_0xabb25a,_0x562c84){const _0x4acf78=a2_0x842d;return _0x5e41e6[_0x4acf78(0x1e4)](_0xabb25a,_0x562c84);},'slUJb':function(_0x319400,_0x290303){return _0x5e41e6['dUCaY'](_0x319400,_0x290303);}},_0x1cf411=_0x5e41e6[_0x441f89(0x198)](helper['getPlatformName'](_0x249d20,'_'),'_'+Date[_0x441f89(0x1af)]()),_0x4d5067=((()=>{const _0x21c1e6=_0x441f89;if(_0xa59c2a){const _0x348904=pwToCodeceptBrowser[_0x249d20['browserName']]||_0x249d20['browserName'];return{'browser':_0x348904,[_0x348904]:{'browserWSEndpoint':_0x2a52a2[_0x21c1e6(0x151)](helper[_0x21c1e6(0x167)](_0x249b10[_0x21c1e6(0x1b6)]),_0x2a52a2[_0x21c1e6(0x1b8)](encodeURIComponent,JSON[_0x21c1e6(0x1aa)](_0x249d20)))}};}const _0x1f2a95={};return _0x1f2a95['desiredCapabilities']=_0x249d20,_0x1f2a95;})()),_0x39ecca=_0x5e41e6[_0x441f89(0x184)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x441f89(0x169)],_0x5e41e6[_0x441f89(0x188)],_0x2d6cd9]);_0x204e48[_0x1cf411]=_0x39ecca?helper['mergeDeep'](_0x4d5067,_0x39ecca):_0x4d5067,!_0xa59c2a&&(_0x204e48[_0x1cf411][_0x441f89(0x17a)]=_0x249d20[_0x441f89(0x18c)]||_0x4d5067[_0x441f89(0x17a)]),_0x21cb70[_0x441f89(0x1cb)](_0x1cf411);});}else{_0x362f92=0x1;if(_0xa59c2a){const _0x37dde6=_0x5e41e6[_0x3be199(0x1dc)](nestedKeyValue,_0x4803ac,[_0x5e41e6['omGQO'],_0x5e41e6['gaoEp'],_0x2d6cd9,_0x5e41e6[_0x3be199(0x1b0)]]),_0x6a9f24=_0x5e41e6[_0x3be199(0x184)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x2d6cd9,_0x37dde6]);_0x6a9f24&&_0x6a9f24[_0x3be199(0x18d)]&&(_0x6a9f24[_0x3be199(0x18d)]=helper[_0x3be199(0x162)](null,null,_0x7df179[_0x3be199(0x1d3)](),null,null,_0x6a9f24[_0x3be199(0x18d)]));}else _0x4803ac['config'][_0x5e41e6['gaoEp']][_0x2d6cd9][_0x5e41e6['KPotk']]=helper[_0x3be199(0x162)](null,null,_0x7df179[_0x3be199(0x1d3)](),_0x5e41e6[_0x3be199(0x1dc)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x2d6cd9,_0x5e41e6['KPotk']]),null,null);_0x204e48[_0x5e41e6[_0x3be199(0x1a5)]]=_0x4803ac[_0x3be199(0x1b6)],_0x21cb70[_0x3be199(0x1cb)](_0x5e41e6[_0x3be199(0x1a5)]);}const _0x2e8899={};_0x2e8899[_0x3be199(0x1c4)]=_0x20f9ac;const _0x564ca4=_0x2e8899,_0x4f9667=path[_0x3be199(0x166)](__dirname,_0x5e41e6['iRPdg']),_0x2f4e07=process[_0x3be199(0x19f)]();process['env'][_0x5e41e6[_0x3be199(0x1c0)]]=_0x2f4e07,process[_0x3be199(0x171)](path[_0x3be199(0x1b9)](_0x20f9ac));const _0x5dc815=new CodeceptJS[(_0x3be199(0x1a0))](null,_0x564ca4),_0x38a7d9=_0x5dc815[_0x3be199(0x15b)](_0x362f92),_0x2fc25d=testOpsHelper[_0x3be199(0x197)](),_0xa2ccc9=_0x21cb70['map'](_0x2b5903=>{const _0x564658=_0x3be199,_0x296965={};_0x296965['Playwright']=_0x204e48[_0x2b5903];const _0x2edd34={};_0x2edd34['WebDriver']=_0x204e48[_0x2b5903];const _0x8d4ba=_0xa59c2a?_0x296965:_0x2edd34,_0x177c24=_0x5e41e6['TNvvV'](getO11yRerunPattern),_0x16a246={};_0x16a246[_0x564658(0x1d9)]=_0x8d4ba;const _0xd677f={};_0xd677f['require']=_0x4f9667,_0xd677f[_0x564658(0x182)]=!![],_0xd677f[_0x564658(0x1c9)]=_0x249b10[_0x564658(0x1b6)][_0x564658(0x1b1)]['skipSessionName'],_0xd677f[_0x564658(0x1d0)]=_0x249b10[_0x564658(0x1b6)][_0x564658(0x1b1)][_0x564658(0x1d0)],_0xd677f[_0x564658(0x17d)]=_0x2fc25d,_0xd677f[_0x564658(0x173)]=_0x7df179;const _0x1d98de={};_0x1d98de[_0x564658(0x157)]=_0xd677f;const _0x46194d={};return _0x46194d[_0x564658(0x1c2)]=_0x1d98de,helper[_0x564658(0x1a2)]({},_0x4803ac[_0x564658(0x1b6)],_0x5e41e6[_0x564658(0x176)](isBrowserstackInfra)?_0x16a246:{},_0x177c24?{'grep':_0x177c24}:{},_0x46194d);});for(const _0x259f99 of _0xa2ccc9){for(const _0x2392f0 of _0x38a7d9){const _0x596c59=_0x5dc815[_0x3be199(0x1c3)]();_0x596c59['addTests'](_0x2392f0),_0x596c59[_0x3be199(0x194)](_0x259f99);}}_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x180)],(_0x2421bb,_0x495377)=>{const _0x409b21=_0x3be199;console[_0x409b21(0x153)](_0x5e41e6[_0x409b21(0x17e)],_0x2421bb[_0x409b21(0x1d7)]);const _0x54b004={[_0x2421bb[_0x409b21(0x1d7)]]:_0x2421bb[_0x409b21(0x172)][_0x409b21(0x15a)]};_testErrorData[_0x409b21(0x1cb)](_0x54b004);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x1d8)],async _0x13f324=>{const _0x47becc=_0x3be199;console[_0x47becc(0x153)](_0x5e41e6['dDEpx'],_0x13f324[_0x47becc(0x1d7)]);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x1e3)],async _0x495ff6=>{const _0x3120f8=_0x3be199;console[_0x3120f8(0x153)](_0x5e41e6[_0x3120f8(0x15d)],_0x495ff6['title']);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x16b)][_0x3be199(0x178)],async()=>{const _0x290f5d=_0x3be199,_0x1cc340=_0x5e41e6[_0x290f5d(0x158)][_0x290f5d(0x19d)]('|');let _0x4806fa=0x0;while(!![]){switch(_0x1cc340[_0x4806fa++]){case'0':testOpsHelper[_0x290f5d(0x1b4)]();continue;case'1':_0x249b10[_0x290f5d(0x15e)]=_testErrorData;continue;case'2':utilities[_0x290f5d(0x19c)](_0x249b10);continue;case'3':_0x5dc815[_0x290f5d(0x16e)]();continue;case'4':try{await TestHubHandler[_0x290f5d(0x18a)]();}catch(_0x528b90){logger['debug'](_0x290f5d(0x1dd)+util[_0x290f5d(0x19a)](_0x528b90));}continue;}break;}});async function _0x8c1abe(){const _0x36abc9=_0x3be199;try{await _0x5dc815[_0x36abc9(0x1ab)](),await _0x5dc815['run']();}finally{process['chdir'](_0x2f4e07),await _0x5dc815['teardownAll']();}}_0x5e41e6[_0x3be199(0x176)](_0x8c1abe);}module[a2_0x5e53aa(0x19b)]=run;
|
|
2
|
+
'use strict';const a2_0xca2a81=a2_0x1b73;(function(_0x3a1181,_0x1e4123){const _0x327b46=a2_0x1b73,_0x82ae8d=_0x3a1181();while(!![]){try{const _0xc40996=-parseInt(_0x327b46(0xd3))/0x1+parseInt(_0x327b46(0xa6))/0x2+parseInt(_0x327b46(0xc7))/0x3+parseInt(_0x327b46(0x82))/0x4+parseInt(_0x327b46(0xb4))/0x5+parseInt(_0x327b46(0xbe))/0x6*(-parseInt(_0x327b46(0xc8))/0x7)+parseInt(_0x327b46(0xb6))/0x8*(-parseInt(_0x327b46(0x88))/0x9);if(_0xc40996===_0x1e4123)break;else _0x82ae8d['push'](_0x82ae8d['shift']());}catch(_0x4aae6b){_0x82ae8d['push'](_0x82ae8d['shift']());}}}(a2_0x5ce2,0xf1c63));function a2_0x1b73(_0x504064,_0x4de746){const _0x5ce22b=a2_0x5ce2();return a2_0x1b73=function(_0x1b7369,_0x5ac74c){_0x1b7369=_0x1b7369-0x73;let _0x27a493=_0x5ce22b[_0x1b7369];return _0x27a493;},a2_0x1b73(_0x504064,_0x4de746);}const fs=require('fs'),path=require('path'),util=require(a2_0xca2a81(0x74)),process=require(a2_0xca2a81(0xd2)),logger=require(a2_0xca2a81(0xd1))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0xca2a81(0xda)),helper=require(a2_0xca2a81(0xb9)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0xca2a81(0x7c)),{setAccessibilityCapabilities}=require(a2_0xca2a81(0xa5)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xca2a81(0xb9)),CodeceptJS=requireModule(a2_0xca2a81(0xea)),testOpsHelper=require(a2_0xca2a81(0xe0)),TestHubHandler=require(a2_0xca2a81(0xe4)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2ef7cd,_0x27fe52)=>{const _0x4cfd50=a2_0xca2a81,_0x50ea2f={};_0x50ea2f['vXvHE']=function(_0x361907,_0x2385f0){return _0x361907===_0x2385f0;},_0x50ea2f[_0x4cfd50(0x9d)]=_0x4cfd50(0x9c),_0x50ea2f[_0x4cfd50(0xe9)]=_0x4cfd50(0xb1);const _0x288b40=_0x50ea2f;let _0x4e6356=null;const _0x107bcc={};let _0x29b02b=_0x27fe52[_0x4cfd50(0xa2)](_0x3c695f=>_0x3c695f===_0x4cfd50(0xbc));_0x288b40[_0x4cfd50(0xed)](_0x29b02b,-0x1)&&(_0x29b02b=_0x27fe52[_0x4cfd50(0xa2)](_0x3ae95f=>_0x3ae95f==='-c'));if(!helper[_0x4cfd50(0xba)](_0x2ef7cd['config'])&&fs['existsSync'](path[_0x4cfd50(0xfb)](process[_0x4cfd50(0x78)](),_0x2ef7cd['config'])))_0x4e6356=path[_0x4cfd50(0xfb)](process['cwd'](),_0x2ef7cd[_0x4cfd50(0xb2)]),_0x27fe52[_0x4cfd50(0xe2)](_0x29b02b,0x2);else{if(!helper[_0x4cfd50(0xba)](_0x2ef7cd['c'])&&fs[_0x4cfd50(0xee)](path['join'](process[_0x4cfd50(0x78)](),_0x2ef7cd['c'])))_0x4e6356=path['join'](process[_0x4cfd50(0x78)](),_0x2ef7cd['c']),_0x27fe52['slice'](_0x29b02b,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x288b40[_0x4cfd50(0x9d)])))_0x4e6356=path[_0x4cfd50(0xfb)](process[_0x4cfd50(0x78)](),_0x288b40['dxXcq']);else fs[_0x4cfd50(0xee)](path[_0x4cfd50(0xfb)](process[_0x4cfd50(0x78)](),_0x288b40[_0x4cfd50(0xe9)]))&&(_0x4e6356=path[_0x4cfd50(0xfb)](process['cwd'](),_0x288b40['MARkp']));}}return _0x4e6356;},getO11yRerunPattern=()=>{const _0x130bb1=a2_0xca2a81,_0x273abb={};_0x273abb[_0x130bb1(0x75)]=function(_0x223acd,_0x4fe32a){return _0x223acd!==_0x4fe32a;},_0x273abb['NaSrd']=_0x130bb1(0x96);const _0x5f4f3d=_0x273abb,_0x3e4052=helper[_0x130bb1(0xae)](process[_0x130bb1(0x80)][_0x130bb1(0x8e)]);if(_0x3e4052){const _0x4ef960=process[_0x130bb1(0x80)][_0x130bb1(0xe5)],_0x460616=[];if(_0x5f4f3d['QKDfW'](_0x4ef960,_0x5f4f3d[_0x130bb1(0x8c)])&&!helper[_0x130bb1(0xba)](_0x4ef960)){_0x4ef960['split'](',')[_0x130bb1(0xd8)](_0x2e645a=>{const _0x160068=_0x130bb1;_0x460616[_0x160068(0xa0)]('('+_0x2e645a[_0x160068(0xaa)]()+')');});const _0x33cf2e='^'+_0x460616['join']('|')+'$';return _0x33cf2e;}}return null;},a2_0x652de5={};a2_0x652de5[a2_0xca2a81(0xf1)]=a2_0xca2a81(0xc1),a2_0x652de5[a2_0xca2a81(0xa8)]='chromium',a2_0x652de5[a2_0xca2a81(0xf7)]='firefox',a2_0x652de5[a2_0xca2a81(0x9b)]=a2_0xca2a81(0x8d);const pwToCodeceptBrowser=a2_0x652de5;async function run(_0x307924,_0x5776de){const _0x3de7bb=a2_0xca2a81,_0x2ba8cc={'SqOcr':function(_0x1e994e,_0x42beb0){return _0x1e994e+_0x42beb0;},'gpUQm':function(_0xe7a011,_0x170bb1){return _0xe7a011(_0x170bb1);},'pTyHL':function(_0x1bf151,_0xc03bde){return _0x1bf151+_0xc03bde;},'MGpdG':function(_0x48c469,_0x37af9e,_0x216452){return _0x48c469(_0x37af9e,_0x216452);},'PQSGL':'config','RccwM':_0x3de7bb(0xa9),'QZWjX':function(_0x419ae4){return _0x419ae4();},'gspFK':function(_0x425714){return _0x425714();},'dTOdL':_0x3de7bb(0xef),'xmfll':_0x3de7bb(0x86),'ytZmw':_0x3de7bb(0xdd),'vWuPY':'0|4|2|3|1','JAxMS':_0x3de7bb(0x79),'bnpUE':function(_0x2301b9,_0x16810f){return _0x2301b9(_0x16810f);},'SzixX':_0x3de7bb(0x81),'MnOEk':function(_0x5162ca,_0x246b35,_0x21fe92){return _0x5162ca(_0x246b35,_0x21fe92);},'RkYdW':_0x3de7bb(0x83),'UxPzo':_0x3de7bb(0xdc),'dVLQA':function(_0xc7264b,_0x12dfe5){return _0xc7264b!=_0x12dfe5;},'PZOoR':_0x3de7bb(0xcf),'yVQii':function(_0x8359bb,_0x3f0b7f,_0x55862c){return _0x8359bb(_0x3f0b7f,_0x55862c);},'JnHoM':'gherkin','npwrK':'-cucumber','AICda':function(_0x2ed3d9,_0x13f44b){return _0x2ed3d9(_0x13f44b);},'qGCbY':function(_0x3d8fb4,_0x16a074){return _0x3d8fb4*_0x16a074;},'emolq':function(_0x4d615e,_0x4598ac,_0x57f8b9){return _0x4d615e(_0x4598ac,_0x57f8b9);},'ukyFq':_0x3de7bb(0xce),'djBov':_0x3de7bb(0xc4),'Zyuud':_0x3de7bb(0x90),'PbWEt':_0x3de7bb(0xf8),'LVdgA':_0x3de7bb(0xad)},_0x12ee19=new BrowserStackSetup(_0x307924,_0x2ba8cc[_0x3de7bb(0xf0)]);await _0x12ee19['initialize'](),await helper[_0x3de7bb(0x97)](_0x12ee19[_0x3de7bb(0xb2)]);if(!_0x12ee19[_0x3de7bb(0xb2)])return;process[_0x3de7bb(0xc5)]=_0x307924[_0x3de7bb(0xc5)];_0x307924[_0x3de7bb(0xc5)]&&(process['env'][_0x3de7bb(0xc5)]=_0x307924[_0x3de7bb(0xc5)]);const _0x31ed7d=_0x2ba8cc[_0x3de7bb(0x7e)](getUserCodeceptJSConfigs,_0x307924,_0x5776de);let _0x59409e={};_0x31ed7d?(logger[_0x3de7bb(0xe7)](_0x3de7bb(0x84)+_0x31ed7d),_0x59409e=_0x2ba8cc[_0x3de7bb(0xb3)](require,_0x31ed7d)):logger[_0x3de7bb(0xe7)](_0x2ba8cc['SzixX']);let _0x4f7db2=![];_0x2ba8cc['MnOEk'](nestedKeyValue,_0x59409e,[_0x2ba8cc[_0x3de7bb(0x98)],_0x2ba8cc[_0x3de7bb(0xa1)],_0x2ba8cc[_0x3de7bb(0xe8)]])&&(_0x4f7db2=!![]);const _0x63d079=_0x4f7db2?_0x2ba8cc['RkYdW']:_0x2ba8cc[_0x3de7bb(0x73)];let _0x3909fa=!_0x4f7db2?helper[_0x3de7bb(0x9e)](_0x12ee19[_0x3de7bb(0xb2)]):![];!helper['isUndefined'](_0x12ee19[_0x3de7bb(0xb2)]['accessibilityOptions'])&&(process['env'][_0x3de7bb(0xf9)]=JSON[_0x3de7bb(0xa3)](_0x12ee19[_0x3de7bb(0xb2)][_0x3de7bb(0x7f)]));let _0x31dd82=_0x12ee19[_0x3de7bb(0xb2)]['accessibility'];_0x31dd82=_0x31dd82||_0x2ba8cc[_0x3de7bb(0xb3)](checkAccessibilityPlatformConfig,_0x12ee19[_0x3de7bb(0xb2)]),process[_0x3de7bb(0x80)][_0x3de7bb(0xf5)]=_0x31dd82;_0x31dd82&&(_0x3909fa=!_0x31dd82);_0x2ba8cc['dVLQA'](_0x12ee19[_0x3de7bb(0xb2)][_0x3de7bb(0xd4)],null)?process['env'][_0x3de7bb(0xbd)]=_0x12ee19[_0x3de7bb(0xb2)][_0x3de7bb(0xd4)]:process['env'][_0x3de7bb(0xbd)]=_0x2ba8cc[_0x3de7bb(0x8a)];const _0xac7206=_0x2ba8cc['pTyHL'](_0x2ba8cc[_0x3de7bb(0xf0)],_0x2ba8cc[_0x3de7bb(0xa4)](nestedKeyValue,_0x59409e,[_0x2ba8cc[_0x3de7bb(0x98)],_0x2ba8cc['JnHoM']])?_0x2ba8cc['npwrK']:''),_0x53b1b3=await TestHubHandler[_0x3de7bb(0x91)](_0xac7206,_0x12ee19);_0x31dd82&&_0x2ba8cc[_0x3de7bb(0x8f)](setAccessibilityCapabilities,_0x12ee19[_0x3de7bb(0xb2)]);const _0x195fd5={},_0x3a35ae=[],_0x4ae940=_0x12ee19[_0x3de7bb(0xb2)][_0x3de7bb(0x7b)]||helper[_0x3de7bb(0xdf)](_0x307924,_0x5776de,_0x12ee19['config'],constants[_0x3de7bb(0xab)][_0x3de7bb(0x85)])||0x1;let _0x356f48=0x1;if(_0x2ba8cc['QZWjX'](isBrowserstackInfra)){const _0x3049b6=helper[_0x3de7bb(0xe6)](_0x12ee19[_0x3de7bb(0xb2)],_0x3909fa,constants['FRAMEWORKS'][_0x3de7bb(0x85)]);helper[_0x3de7bb(0x8b)](_0x12ee19[_0x3de7bb(0xb2)])?_0x356f48=_0x2ba8cc[_0x3de7bb(0xa7)](_0x4ae940,_0x12ee19[_0x3de7bb(0xb2)]['platforms']['length']):_0x356f48=_0x4ae940,_0x3049b6[_0x3de7bb(0xb5)](_0x128154=>{const _0x3e4f63=_0x3de7bb,_0x3ad932=_0x2ba8cc[_0x3e4f63(0xd9)](helper[_0x3e4f63(0xdb)](_0x128154,'_'),'_'+Date[_0x3e4f63(0xb7)]()),_0x48443d=((()=>{const _0x3c937f=_0x3e4f63;if(_0x4f7db2){const _0x26f8ab=pwToCodeceptBrowser[_0x128154['browserName']]||_0x128154['browserName'];return{'browser':_0x26f8ab,[_0x26f8ab]:{'browserWSEndpoint':_0x2ba8cc['SqOcr'](helper[_0x3c937f(0xb8)](_0x12ee19[_0x3c937f(0xb2)]),_0x2ba8cc['gpUQm'](encodeURIComponent,JSON['stringify'](_0x128154)))}};}const _0x28b6a1={};return _0x28b6a1[_0x3c937f(0xc4)]=_0x128154,_0x28b6a1;})()),_0x387f3a=_0x2ba8cc['MGpdG'](nestedKeyValue,_0x59409e,[_0x2ba8cc[_0x3e4f63(0x98)],_0x2ba8cc[_0x3e4f63(0xa1)],_0x63d079]);_0x195fd5[_0x3ad932]=_0x387f3a?helper[_0x3e4f63(0xd5)](_0x48443d,_0x387f3a):_0x48443d,!_0x4f7db2&&(_0x195fd5[_0x3ad932]['browser']=_0x128154['browserName']||_0x48443d[_0x3e4f63(0xce)]),_0x3a35ae['push'](_0x3ad932);});}else{_0x356f48=0x1;if(_0x4f7db2){const _0x69d876=_0x2ba8cc[_0x3de7bb(0xf6)](nestedKeyValue,_0x59409e,[_0x2ba8cc[_0x3de7bb(0x98)],_0x2ba8cc[_0x3de7bb(0xa1)],_0x63d079,_0x2ba8cc['ukyFq']]),_0x20bfd0=_0x2ba8cc[_0x3de7bb(0xde)](nestedKeyValue,_0x59409e,[_0x2ba8cc['PQSGL'],_0x2ba8cc[_0x3de7bb(0xa1)],_0x63d079,_0x69d876]);_0x20bfd0&&_0x20bfd0[_0x3de7bb(0xc9)]&&(_0x20bfd0[_0x3de7bb(0xc9)]=helper[_0x3de7bb(0xe6)](null,null,_0xac7206[_0x3de7bb(0x99)](),null,null,_0x20bfd0[_0x3de7bb(0xc9)]));}else _0x59409e['config'][_0x2ba8cc[_0x3de7bb(0xa1)]][_0x63d079][_0x2ba8cc[_0x3de7bb(0x9a)]]=helper[_0x3de7bb(0xe6)](null,null,_0xac7206[_0x3de7bb(0x99)](),_0x2ba8cc['yVQii'](nestedKeyValue,_0x59409e,[_0x2ba8cc['PQSGL'],_0x2ba8cc[_0x3de7bb(0xa1)],_0x63d079,_0x2ba8cc[_0x3de7bb(0x9a)]]),null,null);_0x195fd5[_0x2ba8cc[_0x3de7bb(0xd7)]]=_0x59409e[_0x3de7bb(0xb2)],_0x3a35ae['push'](_0x2ba8cc[_0x3de7bb(0xd7)]);}const _0x506f6f={};_0x506f6f['testConfig']=_0x31ed7d;const _0x2fc2cb=_0x506f6f,_0x1d1254=path[_0x3de7bb(0xfb)](__dirname,_0x2ba8cc[_0x3de7bb(0xf4)]),_0x420a84=process[_0x3de7bb(0x78)]();process[_0x3de7bb(0x80)][_0x2ba8cc[_0x3de7bb(0xc0)]]=_0x420a84,process['chdir'](path[_0x3de7bb(0x95)](_0x31ed7d));const _0x321bf5=new CodeceptJS[(_0x3de7bb(0xaf))](null,_0x2fc2cb),_0x9fe08a=_0x321bf5[_0x3de7bb(0xac)](_0x356f48),_0x36d92f=testOpsHelper[_0x3de7bb(0xc2)](),_0x2db000=_0x3a35ae['map'](_0x16149a=>{const _0x1ead28=_0x3de7bb,_0x36fdd4={};_0x36fdd4[_0x1ead28(0x83)]=_0x195fd5[_0x16149a];const _0x5b199c={};_0x5b199c[_0x1ead28(0xdc)]=_0x195fd5[_0x16149a];const _0x40027e=_0x4f7db2?_0x36fdd4:_0x5b199c,_0x5a5b0b=_0x2ba8cc[_0x1ead28(0xbf)](getO11yRerunPattern),_0x5b366f={};_0x5b366f[_0x1ead28(0xa9)]=_0x40027e;const _0x437d0e={};_0x437d0e[_0x1ead28(0xd0)]=_0x1d1254,_0x437d0e[_0x1ead28(0xd6)]=!![],_0x437d0e[_0x1ead28(0xf3)]=_0x12ee19[_0x1ead28(0xb2)]['testContextOptions'][_0x1ead28(0xf3)],_0x437d0e[_0x1ead28(0xc6)]=_0x12ee19[_0x1ead28(0xb2)]['testContextOptions'][_0x1ead28(0xc6)],_0x437d0e[_0x1ead28(0xd4)]=_0x36d92f,_0x437d0e[_0x1ead28(0xe1)]=_0xac7206;const _0x100885={};_0x100885[_0x1ead28(0x93)]=_0x437d0e;const _0x3e8d8f={};return _0x3e8d8f[_0x1ead28(0xfa)]=_0x100885,helper[_0x1ead28(0xd5)]({},_0x59409e['config'],_0x2ba8cc[_0x1ead28(0xca)](isBrowserstackInfra)?_0x5b366f:{},_0x5a5b0b?{'grep':_0x5a5b0b}:{},_0x3e8d8f);});for(const _0x3315c4 of _0x2db000){for(const _0x11e605 of _0x9fe08a){const _0x5677bc=_0x321bf5['spawn']();_0x5677bc[_0x3de7bb(0x7a)](_0x11e605),_0x5677bc['addConfig'](_0x3315c4);}}_0x321bf5['on'](CodeceptJS[_0x3de7bb(0xc3)][_0x3de7bb(0x9f)]['failed'],(_0xaf8366,_0x14b6f6)=>{const _0x4e36cd=_0x3de7bb;console[_0x4e36cd(0xec)](_0x2ba8cc[_0x4e36cd(0x92)],_0xaf8366[_0x4e36cd(0x94)]);const _0x40def4={[_0xaf8366[_0x4e36cd(0x94)]]:_0xaf8366[_0x4e36cd(0x76)]['stack']};_testErrorData[_0x4e36cd(0xa0)](_0x40def4);}),_0x321bf5['on'](CodeceptJS[_0x3de7bb(0xc3)][_0x3de7bb(0x9f)]['passed'],async _0x403cd8=>{const _0x449c17=_0x3de7bb;console[_0x449c17(0xec)](_0x2ba8cc['xmfll'],_0x403cd8[_0x449c17(0x94)]);}),_0x321bf5['on'](CodeceptJS[_0x3de7bb(0xc3)]['test'][_0x3de7bb(0xbb)],async _0x16f0aa=>{const _0x9be435=_0x3de7bb;console[_0x9be435(0xec)](_0x2ba8cc[_0x9be435(0x89)],_0x16f0aa[_0x9be435(0x94)]);}),_0x321bf5['on'](CodeceptJS[_0x3de7bb(0xc3)][_0x3de7bb(0xcc)]['result'],async()=>{const _0x25497c=_0x3de7bb,_0x250c91=_0x2ba8cc[_0x25497c(0x77)][_0x25497c(0xb0)]('|');let _0x4d3e28=0x0;while(!![]){switch(_0x250c91[_0x4d3e28++]){case'0':_0x12ee19['errorMessage']=_testErrorData;continue;case'1':_0x321bf5[_0x25497c(0xcd)]();continue;case'2':utilities['finalExecution'](_0x12ee19);continue;case'3':try{await TestHubHandler[_0x25497c(0x7d)]();}catch(_0x2b7e5c){logger[_0x25497c(0x87)](_0x25497c(0xf2)+util[_0x25497c(0xcb)](_0x2b7e5c));}continue;case'4':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x228fc9(){const _0x51334c=_0x3de7bb;try{await _0x321bf5[_0x51334c(0xe3)](),await _0x321bf5['run']();}finally{process['chdir'](_0x420a84),await _0x321bf5[_0x51334c(0xeb)]();}}_0x2ba8cc['QZWjX'](_0x228fc9);}module['exports']=run;function a2_0x5ce2(){const _0xad1e74=['QKDfW','err','vWuPY','cwd','codeceptjs','addTests','parallelsPerPlatform','../../helpers/accessibility-automation/helper','stop','MGpdG','accessibilityOptions','env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','6354192fxFxip','Playwright','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','Passed\x20:\x20','debug','17560728eDZLmS','ytZmw','PZOoR','validPlatformsPresent','NaSrd','webkit','BROWSERSTACK_RERUN','AICda','root','launchBuild','dTOdL','BrowserStackPlugin','title','dirname','null','handleApp','PQSGL','toLowerCase','djBov','playwright-webkit','codecept.conf.js','dxXcq','useW3C','test','push','RccwM','findIndex','stringify','yVQii','../../bin/playwright/accessibility-helper','2683528YtRwMy','qGCbY','playwright-chromium','helpers','trim','FRAMEWORKS','createGroupsOfSuites','browserStackCwd','isTrue','Workers','split','codecept.json','config','bnpUE','8163760LjYUiO','forEach','8WmDqPJ','now','getPlaywrightUrl','../../helpers/helper','isUndefined','before','--config','BROWSERSTACK_TEST_OBSERVABILITY_YML','2174118CGRhrE','QZWjX','LVdgA','chromium','isTestObservabilitySession','event','desiredCapabilities','profile','skipSessionStatus','3350937aDqBOp','21foGRmE','browserWSEndpoint','gspFK','format','all','printResults','browser','false','require','../../helpers/logger','process','1651485zkphgX','testObservability','mergeDeep','enabled','Zyuud','map','pTyHL','../../helpers/BrowserStackSetup','getPlatformName','WebDriver','Started\x20:\x20','MnOEk','getUserWorkerCount','../../helpers/test-observability/utils','frameworkName','slice','bootstrapAll','../../helpers/testhub/testhubHandler','BROWSERSTACK_RERUN_TESTS','prepareCapabilities','info','RkYdW','MARkp','codeceptjs/lib/index.js','teardownAll','log','vXvHE','existsSync','Failed\x20:\x20','JAxMS','chrome','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','skipSessionName','PbWEt','BROWSERSTACK_TEST_ACCESSIBILITY_YML','emolq','playwright-firefox','BrowserStackPlugin.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','plugins','join','UxPzo','util'];a2_0x5ce2=function(){return _0xad1e74;};return a2_0x5ce2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a3_0x2e532a=a3_0x4775;function a3_0x1ff5(){const _0x24c751=['hGQiL','VWiVB','vgKqy','warn','bsSessionId','olauO','dwYxU','ubTmj','bstack:options','YkDqB','vWCil','7286688vmqscM','unknown_grid','DSkHv','platformVersion','ZqhwV','2OIXYkU','fetchPlatformDetails','gWPeX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','1014078MmMpjd','browser','constructor','hHznT','sNMHF','WebDriver','JzXUY','get','lGhhd','fesis','18238239yBUdHm','xRuaA','Dpuqb','browserstack_executor','searchParams','platform','deviceName','Playwright','../../helpers/accessibility-automation/helper','1482030OZGjXi','browserWSEndpoint','Iuekv','includes','browser_version','latest','1718994jDNrsI','BNoUP','1215260MqqqTC','qCatX','shouldPatchExecuteScript','RqyKB','accessibilityPlatform','browserstack','16uWNokZ','appium:app','bqWeB','config','caps','browserVersion','name','automate','parse','xaKli','uDgNf','UHwWM','RVPGe','axaeO','winstonLogger','browserstack_accessibility_automation_script','__cloud_provider___','uYnrT','browserName','CAhAM','101038yPNVmN','playwright-chromium','sessionId','platform_version','app-automate','../../bin/playwright/sessionDetails'];a3_0x1ff5=function(){return _0x24c751;};return a3_0x1ff5();}(function(_0x185916,_0x14cc48){const _0x2a651f=a3_0x4775,_0x47816b=_0x185916();while(!![]){try{const _0x5afd42=parseInt(_0x2a651f(0xd7))/0x1*(parseInt(_0x2a651f(0x122))/0x2)+-parseInt(_0x2a651f(0xf0))/0x3+-parseInt(_0x2a651f(0xf8))/0x4*(-parseInt(_0x2a651f(0xf2))/0x5)+parseInt(_0x2a651f(0xea))/0x6+-parseInt(_0x2a651f(0x10c))/0x7+parseInt(_0x2a651f(0x11d))/0x8+-parseInt(_0x2a651f(0xe1))/0x9;if(_0x5afd42===_0x14cc48)break;else _0x47816b['push'](_0x47816b['shift']());}catch(_0x57509c){_0x47816b['push'](_0x47816b['shift']());}}}(a3_0x1ff5,0x81730));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x2e532a(0x106)],PlaywrightSessionDetails=require(a3_0x2e532a(0x111)),{isAccessibilityAutomationSession}=require(a3_0x2e532a(0xe9)),getOSVersionFromCaps=_0x37bd3a=>{const _0x5f520a=a3_0x2e532a,_0x14f7d3={};_0x14f7d3['sNhKT']=_0x5f520a(0x11a),_0x14f7d3[_0x5f520a(0x104)]=_0x5f520a(0x120),_0x14f7d3['fesis']='platform_version',_0x14f7d3[_0x5f520a(0xda)]='osVersion',_0x14f7d3[_0x5f520a(0x11b)]='os_version';const _0x44dc36=_0x14f7d3;if(!_0x37bd3a)return null;const _0x3fca28=_0x37bd3a[_0x44dc36['sNhKT']],_0x5d10ff=[_0x44dc36[_0x5f520a(0x104)],_0x44dc36[_0x5f520a(0xe0)],_0x44dc36[_0x5f520a(0xda)],_0x44dc36[_0x5f520a(0x11b)]];for(const _0x3f83b4 of _0x5d10ff){if(_0x3fca28&&_0x3fca28[_0x3f83b4])return _0x3fca28[_0x3f83b4];else{if(_0x37bd3a[_0x3f83b4])return _0x37bd3a[_0x3f83b4];}}return null;};function a3_0x4775(_0x1db805,_0x791bd8){const _0x1ff5ac=a3_0x1ff5();return a3_0x4775=function(_0x4775b2,_0xdbf31e){_0x4775b2=_0x4775b2-0xd6;let _0x2bea78=_0x1ff5ac[_0x4775b2];return _0x2bea78;},a3_0x4775(_0x1db805,_0x791bd8);}exports[a3_0x2e532a(0x123)]=_0x1af71f=>{const _0x171a1e=a3_0x2e532a,_0x21158c={'Dpuqb':_0x171a1e(0x11e),'CAhAM':function(_0x499162,_0x57d10a){return _0x499162===_0x57d10a;},'VWiVB':_0x171a1e(0xdc),'qCatX':function(_0x3fc717,_0x3a9178){return _0x3fc717(_0x3a9178);},'olauO':function(_0x368287,_0x2ffc3a,_0x74375a){return _0x368287(_0x2ffc3a,_0x74375a);},'xaKli':_0x171a1e(0xfb),'dpOPu':'desiredCapabilities','bqWeB':_0x171a1e(0xf7),'Iuekv':_0x171a1e(0xf9),'lGhhd':'app','JzXUY':_0x171a1e(0x110),'dwYxU':_0x171a1e(0xff),'vgKqy':function(_0x2c69f8,_0x132ce5){return _0x2c69f8===_0x132ce5;},'jmvEJ':_0x171a1e(0xe8),'hGQiL':_0x171a1e(0xd8),'ODOae':_0x171a1e(0xeb),'ajiDw':_0x171a1e(0xfc),'axaeO':function(_0x2819d1,_0x34e923){return _0x2819d1===_0x34e923;}};if(!_0x1af71f)return null;let _0x1e91d3=global[_0x171a1e(0x108)]||_0x21158c[_0x171a1e(0xe3)];if(_0x21158c[_0x171a1e(0x10b)](_0x1af71f[_0x171a1e(0xd9)][_0x171a1e(0xfe)],_0x21158c[_0x171a1e(0x113)])){const _0x590b98=_0x1af71f[_0x171a1e(0xd8)];if(!_0x590b98)return null;const _0x14db2e=_0x590b98['capabilities'],_0x3f260e=_0x21158c[_0x171a1e(0xf3)](getOSVersionFromCaps,_0x21158c[_0x171a1e(0x117)](nestedKeyValue,_0x1af71f,[_0x21158c[_0x171a1e(0x101)],_0x21158c['dpOPu']]));return{[_0x1e91d3]:{'browser':_0x14db2e[_0x171a1e(0x10a)],'browser_version':_0x14db2e[_0x171a1e(0xfd)],'capabilities':_0x14db2e,'platform':_0x14db2e['platformName'],'platform_version':_0x14db2e[_0x171a1e(0x120)]||_0x3f260e,'product':_0x21158c[_0x171a1e(0x10b)](global[_0x171a1e(0x108)],_0x21158c[_0x171a1e(0xfa)])?_0x14db2e[_0x21158c[_0x171a1e(0xec)]]||_0x14db2e[_0x21158c[_0x171a1e(0xdf)]]?_0x21158c[_0x171a1e(0xdd)]:_0x21158c[_0x171a1e(0x118)]:null,'session_id':_0x590b98[_0x171a1e(0x10e)]}};}else{if(_0x21158c[_0x171a1e(0x114)](_0x1af71f[_0x171a1e(0xd9)][_0x171a1e(0xfe)],_0x21158c['jmvEJ'])){const _0x2ab597=PlaywrightSessionDetails['getDetails']();_0x1e91d3=_0x2ab597['cloudProvider']||_0x1e91d3;const _0x51e42f=_0x21158c['olauO'](nestedKeyValue,_0x1af71f,[_0x21158c['xaKli'],_0x21158c[_0x171a1e(0x112)],_0x21158c['ODOae']]),_0x172ef4=_0x51e42f?JSON[_0x171a1e(0x100)](new URL(_0x51e42f)[_0x171a1e(0xe5)][_0x171a1e(0xde)](_0x21158c['ajiDw'])):{};return{[_0x1e91d3]:{'browser':_0x2ab597[_0x171a1e(0xd8)]||_0x172ef4[_0x171a1e(0x10a)],'browser_version':_0x2ab597[_0x171a1e(0xee)]||_0x172ef4['browser_version'],'capabilities':_0x172ef4,'platform':_0x2ab597[_0x171a1e(0xe6)],'platform_version':_0x2ab597[_0x171a1e(0x10f)],'product':_0x21158c[_0x171a1e(0x105)](global[_0x171a1e(0x108)],_0x21158c['bqWeB'])?_0x172ef4[_0x21158c['Iuekv']]||_0x172ef4[_0x21158c[_0x171a1e(0xdf)]]?_0x21158c[_0x171a1e(0xdd)]:_0x21158c[_0x171a1e(0x118)]:null,'session_id':_0x2ab597[_0x171a1e(0x116)]}};}}},exports['processWebDriverConfig']=_0x2f31da=>{const _0x580e89=a3_0x2e532a,_0x26e3cb={'uYnrT':function(_0x45ff3c){return _0x45ff3c();},'BNoUP':function(_0x4c6d90,_0x4dc13c){return _0x4c6d90===_0x4dc13c;},'ubTmj':_0x580e89(0xef),'KvYta':function(_0x4f89a7,_0x326fe6){return _0x4f89a7>_0x326fe6;},'uDgNf':function(_0x3b538d,_0xe88d23){return _0x3b538d(_0xe88d23);},'DSkHv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ZqhwV':'chrome','UHwWM':function(_0x508153,_0x10b447){return _0x508153===_0x10b447;},'xRuaA':_0x580e89(0x10d),'RqyKB':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','sNMHF':_0x580e89(0xd6)};if(_0x26e3cb[_0x580e89(0x109)](isAccessibilityAutomationSession)){const _0x4e5fdb=_0x2f31da['browser'],_0x2bf7dd=_0x4e5fdb['capabilities'];global['accessibilityPlatform']=!![],!(_0x26e3cb[_0x580e89(0xf1)](_0x2bf7dd[_0x580e89(0xfd)],_0x26e3cb[_0x580e89(0x119)])||_0x26e3cb['KvYta'](_0x26e3cb[_0x580e89(0x102)](parseInt,_0x2bf7dd[_0x580e89(0xfd)]),0x5e))&&(logger[_0x580e89(0x115)](_0x26e3cb[_0x580e89(0x11f)]),global[_0x580e89(0xf6)]=![]),!(_0x26e3cb[_0x580e89(0xf1)](_0x2bf7dd['browserName'],_0x26e3cb[_0x580e89(0x121)])||_0x26e3cb[_0x580e89(0x103)](_0x2bf7dd['browserName'],_0x26e3cb[_0x580e89(0xe2)]))&&(logger['warn'](_0x26e3cb[_0x580e89(0xf5)]),global['accessibilityPlatform']=![]),!_0x26e3cb['uDgNf'](isUndefined,_0x2bf7dd[_0x580e89(0xe7)])&&(logger[_0x580e89(0x115)](_0x26e3cb[_0x580e89(0xdb)]),global[_0x580e89(0xf6)]=![]);}},exports[a3_0x2e532a(0xf4)]=_0x24a57c=>{const _0x26f38e=a3_0x2e532a,_0x8e78b0={};_0x8e78b0[_0x26f38e(0x11c)]=_0x26f38e(0xe4),_0x8e78b0[_0x26f38e(0x124)]=_0x26f38e(0x107);const _0x4a16c7=_0x8e78b0;if(!_0x24a57c)return![];return!_0x24a57c[_0x26f38e(0xed)](_0x4a16c7[_0x26f38e(0x11c)])&&!_0x24a57c[_0x26f38e(0xed)](_0x4a16c7['gWPeX']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x9ff0b2=a4_0x1221;(function(_0x36cd7a,_0x27da37){const _0x317181=a4_0x1221,_0x4af7ac=_0x36cd7a();while(!![]){try{const _0xb36b07=parseInt(_0x317181(0x140))/0x1+parseInt(_0x317181(0x9a))/0x2+parseInt(_0x317181(0xb5))/0x3+-parseInt(_0x317181(0xe9))/0x4+parseInt(_0x317181(0x127))/0x5+parseInt(_0x317181(0x96))/0x6+-parseInt(_0x317181(0xef))/0x7;if(_0xb36b07===_0x27da37)break;else _0x4af7ac['push'](_0x4af7ac['shift']());}catch(_0x215713){_0x4af7ac['push'](_0x4af7ac['shift']());}}}(a4_0x5551,0x1c873));function a4_0x5551(){const _0x355e9a=['CODECEPT','JxzSS','uploadEventData','bWDhG','finished','sep','skipped','../../helpers/testhub/utils.js','Failed\x20to\x20parse\x20wsendpoint\x20','ctx','startedAt','AnTIH','failure','TestRunFinished','toString','PSteo','result','ygGNr','Teusw','finished_at','connect','hook_run','zCYGv','getRootParentFile','now','czjzP','captureEvent','NlcqT','forEach','eXFkR','util','928964JAaSHj','0|3|2|4|5|1','pending','patchConsoleLogger','replace','cAXDe','928375OyHFHP','TCluA','length','FnBqN','.git','connectOverCDP','onEET','__cloud_provider___','_afterEach','winstonLogger','hJTUs','TEST_RUN_SKIPPED','start','getCBTInfo','prototype','tZChk','pAwHr','STATE_FAILED','getInstance','\x20with\x20error\x20:\x20','KlbIq','duration','type','xJFzA','toLowerCase','TEST_EVENTS','enabled','fullTitle','armzl','message','shutdown','apply','suites','XaDrd','inspect','jrPJc','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','then','famjm','bs:addLog:','jPAqt','JCgxN','path','huPAx','currentTest','keyword','O11yHelper','STATE_PASSED','backtrace','cwd','err','LHuJc','fMihw','SpCrV','setupBrowserDetails','637630gMJfNF','dLEST','mapTestHooks','sendCBTInfo','uYCAn','failed','BwVdl','removeAllListeners','failed\x20to\x20get\x20root\x20parent\x20file\x20','Jqhmw','GuxUz','TestRunSkipped','includes','getHierarchy','match','title','wfWIZ','CBpzM','JKkpU','rqQEN','_testEnv','hook','hookAnalyticsId','markedStatus','accessibilityPlatform','115564SFCVha','hooks','bddStepStart','event_type','../../helpers/logger','findGitConfig','eBhwj','initializeBddStep','TEST_RUN_FINISHED','upMMi','groups','fireEvent','constructor','qrvpF','driver','appendTestItemLog','zvTUq','body','QStgI','feature','_beforeEach','browserType.js','HOOK_RUN_STARTED','HookRunStarted','cRYZr','codeceptjs','_beforeAll','GzQzj','name','VBetD','jFpgt','relative','bddStepFinish','file','getHookType','comment','hZWPE','bddSteps','fvJVg','../../helpers/test-observability/utils','TEST_RUN_STARTED','WFbYT','hHgih','dPDZF','string','resetSkipTestHooks','push','passed','nhIPW','Playwright','logs','NpMJa','YCrau','location_prefix','success','zwtVk','started','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','expanded','mYuhB','parent','stop','failure_reason_expanded','frameworkName','status','meta','OAGcj','currentHook','testAnalyticsId','getFailureType','./helper.js','stepAnalyticsId','text','1009188XjnEXP','../utils/constants','KeoOW','retryOf','88038nQiEZd','javascript','file_name','bind','integrations','WylFk','HHqTd','raoVM','CBTSessionCreated','ULOwF','LdSma','obsBrowserTypeMockApplied','tHLIY','KRqUl','HookRunFinished','jJmLk','wBckM','getHooksForTest','errorsDetailed','GDTuB','njnsw','join','hook_run_uuid','File\x20path\x20could\x20not\x20be\x20found','split','launch','../playwright/accessibility-helper','79230wDuMgN','oOgZc','config','PathHelper','defineProperty','idqBL','toUpperCase','mqfrd','test_run_uuid','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','fAVEZ','uuid','BrowserType','XiteK','tags','test','toISOString','find','debug','HOOK_RUN_FINISHED','pid'];a4_0x5551=function(){return _0x355e9a;};return a4_0x5551();}const path=require(a4_0x9ff0b2(0x11a)),fs=require('fs'),{v4:uuidv4}=require(a4_0x9ff0b2(0xc0)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x9ff0b2(0x74)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x9ff0b2(0x144))[a4_0x9ff0b2(0xf8)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x9ff0b2(0xb4)),Constants=require(a4_0x9ff0b2(0x97)),{fetchPlatformDetails}=require(a4_0x9ff0b2(0x93)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x9ff0b2(0xd1)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x344075={};function a4_0x1221(_0x438443,_0x347de7){const _0x555100=a4_0x5551();return a4_0x1221=function(_0x12210e,_0x41d758){_0x12210e=_0x12210e-0x74;let _0x147183=_0x555100[_0x12210e];return _0x147183;},a4_0x1221(_0x438443,_0x347de7);}a4_0x344075[a4_0x9ff0b2(0x75)]='TestRunStarted',a4_0x344075[a4_0x9ff0b2(0x148)]=a4_0x9ff0b2(0xd7),a4_0x344075[a4_0x9ff0b2(0xfa)]=a4_0x9ff0b2(0x132),a4_0x344075[a4_0x9ff0b2(0x156)]=a4_0x9ff0b2(0x157),a4_0x344075[a4_0x9ff0b2(0xc8)]=a4_0x9ff0b2(0xa8);const TEST_EVENTS=a4_0x344075,parseEvent=_0x2835ae=>{const _0x3f2187=a4_0x9ff0b2,_0x16ac22={};_0x16ac22[_0x3f2187(0x14d)]=function(_0x3e66df,_0xb086ad){return _0x3e66df<_0xb086ad;},_0x16ac22[_0x3f2187(0x9f)]=function(_0x6b72e6,_0x46e6f4){return _0x6b72e6===_0x46e6f4;},_0x16ac22[_0x3f2187(0x15b)]=_0x3f2187(0xc4),_0x16ac22['rGUka']=function(_0xd38a2c,_0x114bd3){return _0xd38a2c===_0x114bd3;},_0x16ac22[_0x3f2187(0xfe)]='hook',_0x16ac22[_0x3f2187(0x15d)]=_0x3f2187(0xd0),_0x16ac22['huPAx']=function(_0x4e82a9,_0x39be57){return _0x4e82a9===_0x39be57;},_0x16ac22[_0x3f2187(0x150)]=_0x3f2187(0x85),_0x16ac22[_0x3f2187(0x15e)]=_0x3f2187(0xce);const _0x4d4d63=_0x16ac22,_0x28cd4c=_0x2835ae[_0x3f2187(0x135)](/^(.*)Run(.*)$/);if(!_0x28cd4c)return null;if(_0x4d4d63[_0x3f2187(0x14d)](_0x28cd4c[_0x3f2187(0xf1)],0x3))return null;const _0x5f167e=_0x28cd4c[0x1]['toLowerCase'](),_0x2cfe86=_0x28cd4c[0x2][_0x3f2187(0x107)]();return{'test':_0x4d4d63[_0x3f2187(0x9f)](_0x5f167e,_0x4d4d63[_0x3f2187(0x15b)]),'hook':_0x4d4d63['rGUka'](_0x5f167e,_0x4d4d63['tZChk']),'skipped':_0x4d4d63[_0x3f2187(0x9f)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x15d)]),'started':_0x4d4d63[_0x3f2187(0x11b)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x150)]),'finished':_0x4d4d63[_0x3f2187(0x9f)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x15e)])};},mockPWBrowserType=_0x439489=>{const _0x2a3a5c=a4_0x9ff0b2,_0xd49b24={'pNHxl':function(_0x563ff9,_0x59b6d7){return _0x563ff9===_0x59b6d7;},'armzl':_0x2a3a5c(0x79),'fvJVg':function(_0x4cc3fd,_0x55ca52,_0x9aa6b0){return _0x4cc3fd(_0x55ca52,_0x9aa6b0);},'Teusw':'wsEndpoint','zCYGv':function(_0xcf9b1e,_0x2470e6){return _0xcf9b1e(_0x2470e6);},'wrWlm':'browserstack','oOgZc':function(_0x24edb4,_0x5884c7,_0x39a5ce){return _0x24edb4(_0x5884c7,_0x39a5ce);},'pAwHr':'lib','nhIPW':'client','TXSqt':_0x2a3a5c(0x155),'akcSS':function(_0x2dda7f,_0x3f9f8d){return _0x2dda7f(_0x3f9f8d);},'NpMJa':'Not\x20able\x20to\x20import\x20Browser','mqfrd':_0x2a3a5c(0xde),'dLEST':_0x2a3a5c(0xb3)},_0x3eb638=path[_0x2a3a5c(0xaf)](_0xd49b24[_0x2a3a5c(0xff)],_0xd49b24[_0x2a3a5c(0x7d)],_0xd49b24['TXSqt']),_0x37075b=_0xd49b24[_0x2a3a5c(0xe0)](importFileFromPWCore,_0x3eb638);if(!_0x37075b){_0xd49b24['akcSS'](debug,_0xd49b24[_0x2a3a5c(0x80)]);return;}const _0x28baee=_0x37075b[_0x2a3a5c(0xc1)],_0x147707=_0x28baee[_0x2a3a5c(0xfd)];if(_0x147707[_0x2a3a5c(0xa5)])return;const _0x4eb083=_0x147707[_0x2a3a5c(0xde)];Object[_0x2a3a5c(0xb9)](_0x147707,_0xd49b24[_0x2a3a5c(0xbc)],{'get':function(){return async function _0x22f749(_0x2d01d1,_0x314a2f){const _0x40eb59=a4_0x1221,_0x277dbf={'hHgih':function(_0x19951c,_0x6ea039){return _0xd49b24['pNHxl'](_0x19951c,_0x6ea039);},'TYqMq':_0xd49b24[_0x40eb59(0x10b)]},_0x2dbb8f=_0xd49b24[_0x40eb59(0x166)](nestedKeyValue,_0x2d01d1,[_0xd49b24[_0x40eb59(0xdc)]])||_0x2d01d1;let _0x197e5c=null,_0x4f8dd6=null;try{[_0x4f8dd6,_0x197e5c]=_0x2dbb8f?_0xd49b24[_0x40eb59(0xe0)](parseWSEndpoint,_0x2dbb8f):[null,null],global['__platformCaps']=_0x197e5c,_0x4f8dd6['includes'](_0xd49b24['wrWlm'])&&(global[_0x40eb59(0xf6)]=_0xd49b24['wrWlm']);}catch(_0x2c8856){logger['debug'](_0x40eb59(0xd2)+_0x2dbb8f+'\x20'+_0x2c8856);}_0xd49b24[_0x40eb59(0xb6)](processAccessibilityCaps,_0x197e5c,_0x4f8dd6);if(global[_0x40eb59(0x13f)]){const _0x4b7dea=await _0x147707[_0x40eb59(0xf4)][_0x40eb59(0x10e)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xd49b24[_0x40eb59(0xe0)](encodeURIComponent,JSON['stringify'](_0x197e5c))]);return PlaywrightSessionDetails[_0x40eb59(0x126)](_0x4b7dea,_0x439489,_0x2dbb8f),_0x4b7dea;}return _0x4eb083[_0x40eb59(0x10e)](this,arguments)[_0x40eb59(0x115)](_0x5e0089=>{const _0x4e8568=_0x40eb59;let _0x1a467d=_0x2d01d1['wsEndpoint'];return _0x277dbf[_0x4e8568(0x77)](typeof _0x2d01d1,_0x277dbf['TYqMq'])&&(_0x1a467d=_0x2d01d1),PlaywrightSessionDetails[_0x4e8568(0x126)](_0x5e0089,_0x439489,_0x1a467d),_0x5e0089;});};}});const _0x238639=_0x147707['launch'];Object[_0x2a3a5c(0xb9)](_0x147707,_0xd49b24[_0x2a3a5c(0x128)],{'get':function(){return async function _0x1c4e6c(){const _0x11c883=a4_0x1221;return _0x238639[_0x11c883(0x10e)](this,arguments)['then'](_0x44ba6d=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x44ba6d,null),_0x44ba6d;});};}});};class O11yHelper{[a4_0x9ff0b2(0x11c)]=null;[a4_0x9ff0b2(0x90)]=null;[a4_0x9ff0b2(0x109)]=![];[a4_0x9ff0b2(0x8c)]=![];constructor(_0x337041,_0x628194){const _0x4c5a0b=a4_0x9ff0b2,_0x204260={'fAVEZ':_0x4c5a0b(0xea),'GDTuB':function(_0x1893ba){return _0x1893ba();},'OAGcj':function(_0x2beffc,_0x2f717b){return _0x2beffc===_0x2f717b;},'famjm':_0x4c5a0b(0x7e),'dPDZF':function(_0x2c627e,_0x5df4b4){return _0x2c627e(_0x5df4b4);}},_0x39943b=_0x204260[_0x4c5a0b(0xbf)][_0x4c5a0b(0xb2)]('|');let _0x58d5e9=0x0;while(!![]){switch(_0x39943b[_0x58d5e9++]){case'0':this['enabled']=_0x204260[_0x4c5a0b(0xad)](shouldProcessEventForTesthub);continue;case'1':this[_0x4c5a0b(0x14e)]&&_0x204260[_0x4c5a0b(0x8f)](this[_0x4c5a0b(0x14e)][_0x4c5a0b(0x14c)]['name'],_0x204260[_0x4c5a0b(0x116)])&&_0x204260[_0x4c5a0b(0x78)](mockPWBrowserType,null);continue;case'2':this[_0x4c5a0b(0x14e)]=_0x337041;continue;case'3':this['frameworkName']=_0x628194[_0x4c5a0b(0x8c)];continue;case'4':this[_0x4c5a0b(0x13b)]=_0x204260[_0x4c5a0b(0xad)](getTestEnv);continue;case'5':this['_paths']=new testOpsHelper[(_0x4c5a0b(0xb8))]({'cwd':process[_0x4c5a0b(0x121)]()},this['_testEnv'][_0x4c5a0b(0x82)]);continue;}break;}}[a4_0x9ff0b2(0xfb)](){const _0x20376c=a4_0x9ff0b2;if(!this[_0x20376c(0x109)])return;testOpsHelper[_0x20376c(0xec)](),process[_0x20376c(0x12e)](_0x20376c(0x117)+process[_0x20376c(0xc9)]),process['on']('bs:addLog:'+process[_0x20376c(0xc9)],this[_0x20376c(0x14f)][_0x20376c(0x9d)](this));}async[a4_0x9ff0b2(0x8a)](){const _0x3ee703=a4_0x9ff0b2;await RequestQueueHandler[_0x3ee703(0x101)]()[_0x3ee703(0x10d)]();}async[a4_0x9ff0b2(0x14f)](_0x2b4c8f){const _0x455230=a4_0x9ff0b2,_0x22118d={'jPAqt':'LogCreated','cRYZr':function(_0x26490f,_0x3e0707){return _0x26490f(_0x3e0707);}};try{this[_0x455230(0x90)]&&!this[_0x455230(0x90)]['markedStatus']&&(_0x2b4c8f['hook_run_uuid']=this[_0x455230(0x90)][_0x455230(0x13d)]);!_0x2b4c8f[_0x455230(0xb0)]&&this[_0x455230(0x11c)]&&!this['currentTest']['markedStatus']&&(_0x2b4c8f[_0x455230(0xbd)]=this[_0x455230(0x11c)][_0x455230(0x91)]);if(_0x2b4c8f['hook_run_uuid']||_0x2b4c8f['test_run_uuid']){const _0x561c47={};_0x561c47['event_type']=_0x22118d[_0x455230(0x118)],_0x561c47[_0x455230(0x7f)]=[_0x2b4c8f],await SessionHandler['uploadEventData'](_0x561c47);}}catch(_0x47c0cd){_0x22118d[_0x455230(0x158)](debug,_0x455230(0x114)+_0x47c0cd);}}async[a4_0x9ff0b2(0x12a)](_0x374ce0){const _0xee3a25=a4_0x9ff0b2,_0x508954={'rqQEN':_0xee3a25(0xa2),'czjzP':function(_0x23d2bd,_0x386065){return _0x23d2bd(_0x386065);}};if(!this[_0xee3a25(0x109)])return;const _0x2a75bc=this[_0xee3a25(0xfc)](this[_0xee3a25(0x14e)]);try{const _0x2b1953={};_0x2b1953['uuid']=_0x374ce0,_0x2b1953[_0xee3a25(0x9e)]=_0x2a75bc;const _0x57c0d0=_0x2b1953,_0x4b15bc={};_0x4b15bc['event_type']=_0x508954[_0xee3a25(0x13a)],_0x4b15bc['test_run']=_0x57c0d0,await SessionHandler[_0xee3a25(0xcc)](_0x4b15bc);}catch(_0x50ec1a){_0x508954[_0xee3a25(0xe3)](debug,_0xee3a25(0xbe)+_0x50ec1a);}}[a4_0x9ff0b2(0xfc)](_0x4c6d3b){const _0x524ee0={'kuzoH':function(_0x3fa64c,_0x2aec82){return _0x3fa64c(_0x2aec82);}};return _0x524ee0['kuzoH'](fetchPlatformDetails,_0x4c6d3b);}[a4_0x9ff0b2(0x7a)]=_0x5a6775=>{const _0x375da0=a4_0x9ff0b2,_0x493c7e={};_0x493c7e[_0x375da0(0xf9)]='_beforeEach',_0x493c7e['uYCAn']=_0x375da0(0xf7);const _0x527605=_0x493c7e;if(!_0x5a6775||!_0x5a6775['parent'])return;[_0x527605[_0x375da0(0xf9)],_0x527605[_0x375da0(0x12b)]][_0x375da0(0xe6)](_0x138f31=>{const _0x40e18e=_0x375da0,_0x412b77=_0x5a6775[_0x40e18e(0x89)][_0x138f31];_0x412b77['forEach'](_0x203a31=>{const _0x163d3a=_0x40e18e;_0x203a31[_0x163d3a(0x13d)]&&(_0x203a31[_0x163d3a(0x13d)]=null);});});};[a4_0x9ff0b2(0x129)](_0x5bd5d4){const _0x2bf42e=a4_0x9ff0b2,_0xa98f5f={'hZWPE':_0x2bf42e(0x159),'LHuJc':function(_0x4be9fe){return _0x4be9fe();},'tHLIY':function(_0x16cf6d,_0x55598f){return _0x16cf6d===_0x55598f;},'wfWIZ':_0x2bf42e(0xf7),'QStgI':_0x2bf42e(0x15a),'CBpzM':'_afterAll','kkOri':_0x2bf42e(0x154)};if(!_0x5bd5d4||!_0x5bd5d4[_0x2bf42e(0x89)])return;[_0xa98f5f[_0x2bf42e(0x152)],_0xa98f5f[_0x2bf42e(0x138)],_0xa98f5f['kkOri'],_0xa98f5f[_0x2bf42e(0x137)]]['forEach'](_0x461faf=>{const _0x1ded06=_0x2bf42e,_0x5d616a={'JxzSS':_0xa98f5f[_0x1ded06(0x164)],'usMRS':function(_0x4f65c0){const _0x40ab3f=_0x1ded06;return _0xa98f5f[_0x40ab3f(0x123)](_0x4f65c0);},'YCrau':function(_0x2ac667,_0x2ef6bc){const _0x3bba6a=_0x1ded06;return _0xa98f5f[_0x3bba6a(0xa6)](_0x2ac667,_0x2ef6bc);},'wBckM':_0xa98f5f[_0x1ded06(0x137)]},_0x109291=_0x5bd5d4[_0x1ded06(0x89)][_0x461faf]||[];_0x109291[_0x1ded06(0xe6)](_0x57852b=>{const _0x4e7c37=_0x1ded06;if(_0x57852b[_0x4e7c37(0x136)]['includes'](_0x5d616a[_0x4e7c37(0xcb)]))return;if(!_0x57852b[_0x4e7c37(0x13d)])_0x57852b[_0x4e7c37(0x13d)]=_0x5d616a['usMRS'](uuidv4);else _0x57852b[_0x4e7c37(0x13e)]&&_0x5d616a[_0x4e7c37(0x81)](_0x461faf,_0x5d616a[_0x4e7c37(0xaa)])&&(_0x57852b[_0x4e7c37(0x13d)]=_0x5d616a['usMRS'](uuidv4),delete _0x57852b['markedStatus']);});}),this['mapTestHooks'](_0x5bd5d4['parent']);}[a4_0x9ff0b2(0xab)](_0x1ec286){const _0xfda10=a4_0x9ff0b2,_0x5f258d={};_0x5f258d[_0xfda10(0x131)]='_beforeAll',_0x5f258d[_0xfda10(0x88)]='_afterAll',_0x5f258d[_0xfda10(0xba)]=_0xfda10(0x154),_0x5f258d[_0xfda10(0x119)]=_0xfda10(0xf7);const _0x232ccc=_0x5f258d;if(!_0x1ec286||!_0x1ec286[_0xfda10(0x89)])return[];const _0xa27815=[];return[_0x232ccc[_0xfda10(0x131)],_0x232ccc[_0xfda10(0x88)],_0x232ccc[_0xfda10(0xba)],_0x232ccc['JCgxN']][_0xfda10(0xe6)](_0x5a2900=>{const _0x44fd64=_0xfda10,_0xc80a75=_0x1ec286[_0x44fd64(0x89)][_0x5a2900]||[];_0xc80a75[_0x44fd64(0xe6)](_0x666e46=>{const _0x5d83b7=_0x44fd64;_0x666e46[_0x5d83b7(0x13d)]&&_0xa27815['push'](_0x666e46[_0x5d83b7(0x13d)]);});}),[]['concat'](_0xa27815,this['getHooksForTest'](_0x1ec286[_0xfda10(0x89)]));}[a4_0x9ff0b2(0x162)](_0x573891){const _0x50c772=a4_0x9ff0b2,_0x1acc4a=/^"(?<hook>.*)" hook:.*$/,_0x553577=_0x573891[_0x50c772(0x136)],_0x75bb40=_0x553577['match'](_0x1acc4a);if(_0x75bb40&&_0x75bb40[_0x50c772(0x14a)])return _0x75bb40[_0x50c772(0x14a)][_0x50c772(0x13c)][_0x50c772(0xbb)]()[_0x50c772(0xed)]('\x20','_');return null;}[a4_0x9ff0b2(0x145)](_0x257ccc){const _0x21c4a2=a4_0x9ff0b2,_0x69a1df={};_0x69a1df[_0x21c4a2(0x149)]=function(_0xd39471,_0x3c606e){return _0xd39471===_0x3c606e;},_0x69a1df[_0x21c4a2(0xf0)]=function(_0x425672,_0x3076dd){return _0x425672===_0x3076dd;},_0x69a1df['HHqTd']=function(_0x58cdfb,_0x3241c2){return _0x58cdfb===_0x3241c2;},_0x69a1df[_0x21c4a2(0x103)]=_0x21c4a2(0xf3),_0x69a1df['WFbYT']=_0x21c4a2(0xb7);const _0x456f69=_0x69a1df,_0x271ea4=path[_0x21c4a2(0xcf)];if(_0x456f69[_0x21c4a2(0x149)](_0x257ccc,null)||_0x456f69['TCluA'](_0x257ccc,'')||_0x456f69[_0x21c4a2(0xa0)](_0x257ccc,_0x271ea4))return null;try{return fs['statSync'](path[_0x21c4a2(0xaf)](_0x257ccc,_0x456f69[_0x21c4a2(0x103)],_0x456f69[_0x21c4a2(0x76)])),_0x257ccc;}catch(_0x227ed1){const _0x39ef41=path['dirname'](_0x257ccc);return this['findGitConfig'](_0x39ef41);}}[a4_0x9ff0b2(0xe1)](_0xd4eb39){const _0x42b342=a4_0x9ff0b2,_0x5c31e8={};_0x5c31e8[_0x42b342(0x98)]=function(_0x5f10df,_0x4eaaf4){return _0x5f10df>_0x4eaaf4;};const _0x415811=_0x5c31e8;if(_0xd4eb39[_0x42b342(0x161)])return _0xd4eb39[_0x42b342(0x161)];if(_0xd4eb39[_0x42b342(0xd3)]){const _0x7c7b0a=_0xd4eb39[_0x42b342(0xd3)]['currentTest']?this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0xd3)][_0x42b342(0x11c)]):null;if(_0x7c7b0a)return _0x7c7b0a;}if(_0xd4eb39[_0x42b342(0x89)]){const _0x50ba52=this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0x89)])||(_0xd4eb39[_0x42b342(0x89)]['ctx']&&_0xd4eb39[_0x42b342(0x89)]['ctx'][_0x42b342(0x11c)]?this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0x89)][_0x42b342(0xd3)][_0x42b342(0x11c)]):null);if(_0x50ba52)return _0x50ba52;_0xd4eb39['parent'][_0x42b342(0x10f)]&&_0x415811[_0x42b342(0x98)](_0xd4eb39[_0x42b342(0x89)]['suites'][_0x42b342(0xf1)],0x0)&&_0xd4eb39[_0x42b342(0x89)][_0x42b342(0x10f)][_0x42b342(0xe6)](_0x575dbf=>{const _0xfb549a=_0x42b342,_0x5a314b=_0x575dbf[_0xfb549a(0xd3)]?this[_0xfb549a(0xe1)](_0x575dbf[_0xfb549a(0xd3)]):null;if(_0x5a314b)return _0x5a314b;});}return null;}[a4_0x9ff0b2(0x134)](_0x262158){const _0x21d2f5=a4_0x9ff0b2,_0x41c218={};_0x41c218[_0x21d2f5(0x84)]=function(_0x16c98e,_0x5f622b){return _0x16c98e!==_0x5f622b;};const _0xee19b=_0x41c218,_0x2921e4=[];if(_0x262158&&_0x262158[_0x21d2f5(0x89)]){let _0x3b88b1=_0x262158[_0x21d2f5(0x89)];while(_0x3b88b1&&_0xee19b['zwtVk'](_0x3b88b1[_0x21d2f5(0x136)],'')){_0x2921e4[_0x21d2f5(0x7b)](_0x3b88b1[_0x21d2f5(0x136)]),_0x3b88b1=_0x3b88b1[_0x21d2f5(0x89)];}}return _0x2921e4;}[a4_0x9ff0b2(0xe4)](_0xa84012,_0x3ff740,_0xbb85f9=undefined){const _0x3239f4=a4_0x9ff0b2,_0x26ee54={'xJFzA':function(_0x5531dc,_0x2de60c){return _0x5531dc(_0x2de60c);},'JKkpU':function(_0x43beb9){return _0x43beb9();},'eBhwj':function(_0x14a304){return _0x14a304();},'cAXDe':_0x3239f4(0xe8),'jJmLk':_0x3239f4(0x122),'eXFkR':function(_0x2ee6f9,_0x14878c){return _0x2ee6f9!==_0x14878c;},'FnBqN':function(_0x192c58,_0x2b5fe3){return _0x192c58!==_0x2b5fe3;},'bWDhG':_0x3239f4(0xb1),'XiteK':_0x3239f4(0xeb),'raoVM':_0x3239f4(0x12c),'fMihw':_0x3239f4(0x7c),'aSrDV':'skipped','CPxkc':_0x3239f4(0x9b),'PSteo':function(_0x37c59c,_0x2de54d){return _0x37c59c-_0x2de54d;},'XaDrd':function(_0x36b511,_0x56026f,_0x50ad3e,_0x2d772a,_0x320dad){return _0x36b511(_0x56026f,_0x50ad3e,_0x2d772a,_0x320dad);},'Jqhmw':function(_0x42e3f6,_0x306dc4){return _0x42e3f6!==_0x306dc4;},'SpCrV':_0x3239f4(0x9e),'fztFW':_0x3239f4(0x8e),'MVxml':_0x3239f4(0xd6),'BFPbe':'failure_backtrace','ULOwF':_0x3239f4(0x120),'zeZVT':_0x3239f4(0x8b),'ygGNr':_0x3239f4(0x87),'jrPJc':function(_0x389926,_0x11e722){return _0x389926===_0x11e722;},'hHnuw':_0x3239f4(0xdf),'LdSma':'test_run'};if(!this[_0x3239f4(0x109)])return;try{if(_0x3ff740['fn']&&_0x3ff740['fn'][_0x3239f4(0xd8)]()[_0x3239f4(0x135)](/browserstack internal helper hook/))return;const _0x21179a=_0x26ee54[_0x3239f4(0x106)](parseEvent,_0xa84012);if(!_0x21179a)return;if(_0x21179a[_0x3239f4(0xc4)]){this['currentTest']=_0x3ff740,this['currentHook']=null;if(_0x21179a['started']||_0x21179a['skipped']){_0x3ff740[_0x3239f4(0xd4)]=new Date(),_0x3ff740[_0x3239f4(0x13e)]=![];if(!_0x3ff740[_0x3239f4(0x91)])_0x3ff740[_0x3239f4(0x91)]=_0x26ee54[_0x3239f4(0x139)](uuidv4);else _0x3ff740[_0x3239f4(0x13e)]&&(!_0x3ff740['retryOf']&&(_0x3ff740[_0x3239f4(0x99)]=_0x3ff740[_0x3239f4(0x91)]),_0x3ff740[_0x3239f4(0x91)]=_0x26ee54[_0x3239f4(0x139)](uuidv4));}}else{if(_0x21179a[_0x3239f4(0x13c)]){this[_0x3239f4(0x90)]=_0x3ff740;if(_0x21179a[_0x3239f4(0x85)]){_0x3ff740[_0x3239f4(0xd4)]=new Date(),_0x3ff740[_0x3239f4(0x13e)]=![];if(!_0x3ff740['hookAnalyticsId'])_0x3ff740[_0x3239f4(0x13d)]=_0x26ee54[_0x3239f4(0x146)](uuidv4);else _0x3ff740[_0x3239f4(0x13d)]&&_0x3ff740[_0x3239f4(0x13e)]&&(_0x3ff740[_0x3239f4(0x13d)]=_0x26ee54['JKkpU'](uuidv4));}}}if(_0x21179a['finished']&&_0x3ff740[_0x3239f4(0x13e)])return;let _0x3c510f;try{_0x3c510f=this[_0x3239f4(0xe1)](_0x3ff740);}catch(_0x2ed672){logger['debug'](_0x3239f4(0x12f)+_0x2ed672),_0x3c510f=null;}const _0xa3805b=_0x26ee54['xJFzA'](require,_0x26ee54[_0x3239f4(0xee)]);let _0x351198=[];_0xbb85f9&&(_0x351198=[_0xbb85f9,_0x26ee54[_0x3239f4(0xa9)]]);const _0x1bfef9=_0x26ee54[_0x3239f4(0xe7)](_0x3ff740[_0x3239f4(0xac)],undefined)?_0xa3805b[_0x3239f4(0x111)](_0x3ff740[_0x3239f4(0xac)][0x0]):_0x26ee54[_0x3239f4(0xf2)](_0xbb85f9,undefined)?_0xbb85f9[_0x3239f4(0xd8)]():undefined,_0xb866c9=_0x3c510f?this[_0x3239f4(0x145)](_0x3c510f):null,_0x3d13cf=_0x3c510f?this['_paths']['prefixTestPath'](this[_0x3239f4(0xe1)](_0x3ff740)):_0x26ee54[_0x3239f4(0xcd)];let _0x2d1c32=_0x26ee54[_0x3239f4(0xc2)];const _0x5928aa=!_0x21179a[_0x3239f4(0x85)]?new Date()[_0x3239f4(0xc5)]():null;if(_0x21179a[_0x3239f4(0xce)])_0x2d1c32=_0xbb85f9?_0x26ee54['raoVM']:_0x26ee54['fMihw'],_0x3ff740[_0x3239f4(0x13e)]=!![];else _0x21179a['skipped']&&(_0x2d1c32=_0x26ee54['aSrDV'],_0x3ff740[_0x3239f4(0x13e)]=!![]);const _0x4e876a={'framework':this[_0x3239f4(0x8c)],'uuid':_0x3ff740[_0x3239f4(0x91)]||_0x3ff740[_0x3239f4(0x13d)],'name':_0x3ff740[_0x3239f4(0x136)],'body':{'lang':_0x26ee54['CPxkc'],'code':_0x3ff740[_0x3239f4(0x151)][_0x3239f4(0xd8)]()},'type':_0x3ff740[_0x3239f4(0x105)],'scope':_0x3ff740[_0x3239f4(0x10a)](),'scopes':this['getHierarchy'](_0x3ff740),'file_name':_0x3d13cf,'vc_filepath':_0xb866c9?path[_0x3239f4(0x15f)](_0xb866c9,_0x3c510f):null,'location':_0x3d13cf,'result':_0x2d1c32,'failure_reason':_0x1bfef9,'duration_in_ms':_0x3ff740[_0x3239f4(0x104)]||(_0x21179a[_0x3239f4(0xce)]||_0x21179a['skipped'])?_0x26ee54[_0x3239f4(0xd9)](Date[_0x3239f4(0xe2)](),new Date(_0x3ff740[_0x3239f4(0xd4)])['getTime']()):null,'started_at':new Date(_0x3ff740[_0x3239f4(0xd4)])[_0x3239f4(0xc5)](),'finished_at':_0x5928aa,'failure':testOpsHelper['failureData']['apply'](null,_0x351198),'failure_type':!_0x1bfef9?null:testOpsHelper[_0x3239f4(0x92)](_0x1bfef9),'retry_of':_0x3ff740['retryOf']||null,'tags':_0x3ff740[_0x3239f4(0xc3)]||[],'customRerunParam':{'rerun_name':_0x3ff740[_0x3239f4(0x10a)]()}};_0x26ee54[_0x3239f4(0x110)](appendTesthubParams,_0x4e876a,_0xa84012,_0x3ff740,FRAMEWORKS[_0x3239f4(0xca)]);if(_0x21179a['hook'])[_0x4e876a['hook_type'],_0x4e876a['name']]=[this[_0x3239f4(0x162)](_0x3ff740),_0x3ff740[_0x3239f4(0xd3)]['test'][_0x3239f4(0x136)]],_0x21179a[_0x3239f4(0xce)]?_0x26ee54[_0x3239f4(0x130)](_0x4e876a[_0x3239f4(0xda)],_0x26ee54[_0x3239f4(0xa1)])&&(_0x4e876a[_0x3239f4(0xda)]=_0x26ee54['fMihw']):_0x4e876a['body']={};else _0x21179a[_0x3239f4(0xc4)]&&(this['mapTestHooks'](_0x3ff740),_0x21179a[_0x3239f4(0xd0)]&&this[_0x3239f4(0x7a)](_0x3ff740),(_0x21179a[_0x3239f4(0xce)]||_0x21179a[_0x3239f4(0xd0)])&&(_0x4e876a[_0x3239f4(0x141)]=this[_0x3239f4(0xab)](_0x3ff740)));this[_0x3239f4(0x14e)]&&(_0x21179a[_0x3239f4(0x85)]||_0x21179a[_0x3239f4(0xd0)])&&(_0x4e876a[_0x26ee54[_0x3239f4(0x125)]]=this[_0x3239f4(0xfc)](this[_0x3239f4(0x14e)]));_0x21179a[_0x3239f4(0xc4)]&&_0x21179a[_0x3239f4(0xce)]&&_0x3ff740[_0x3239f4(0x165)]&&(_0x4e876a[_0x26ee54['fztFW']]={'feature':{'name':_0x3ff740[_0x3239f4(0x89)][_0x3239f4(0x153)][_0x3239f4(0x15c)],'path':_0x4e876a[_0x3239f4(0x9c)],'description':_0x3ff740[_0x3239f4(0x89)][_0x3239f4(0x163)]},'scenario':{'name':_0x3ff740[_0x3239f4(0x136)]},'steps':_0x3ff740[_0x3239f4(0x165)]});const _0x2f98e2=_0x4e876a[_0x26ee54['MVxml']][0x0];_0x2f98e2&&(_0x4e876a[_0x26ee54['BFPbe']]=_0x2f98e2[_0x26ee54[_0x3239f4(0xa3)]],_0x4e876a[_0x26ee54['zeZVT']]=_0x2f98e2[_0x26ee54[_0x3239f4(0xdb)]]);if(_0x3ff740[_0x3239f4(0x165)])for(const _0x86ecf0 of _0x3ff740[_0x3239f4(0x165)]){!_0x86ecf0['finished_at']&&(_0x86ecf0['finished_at']=new Date()[_0x3239f4(0xc5)](),_0x26ee54[_0x3239f4(0x112)](_0x86ecf0[_0x3239f4(0xda)],_0x26ee54['XiteK'])&&(_0x2f98e2?(_0x86ecf0[_0x3239f4(0xda)]=_0x26ee54[_0x3239f4(0xa1)],_0x86ecf0[_0x3239f4(0xd6)]=_0x2f98e2[_0x26ee54[_0x3239f4(0xa3)]][0x0]):_0x86ecf0[_0x3239f4(0xda)]=_0x26ee54[_0x3239f4(0x124)]));}const _0xdcaf3a={};_0xdcaf3a[_0x3239f4(0x143)]=_0x21179a[_0x3239f4(0xd0)]?TEST_EVENTS[_0x3239f4(0x148)]:_0xa84012;const _0x4ef619=_0xdcaf3a;return _0x21179a['hook']?_0x4ef619[_0x26ee54['hHnuw']]=_0x4e876a:_0x4ef619[_0x26ee54[_0x3239f4(0xa4)]]=_0x4e876a,_0x4ef619;}catch(_0x2ea4da){logger[_0x3239f4(0xc7)](_0x3239f4(0x86)+_0xa84012+_0x3239f4(0x102)+_0x2ea4da);}}async[a4_0x9ff0b2(0x14b)](_0x2357fe,_0xe771e8){const _0x244e4a=a4_0x9ff0b2;if(!this[_0x244e4a(0x109)]||!_0xe771e8||!_0x2357fe)return![];try{return await SessionHandler[_0x244e4a(0xcc)](_0xe771e8);}catch(_0x250d24){logger['debug'](_0x244e4a(0x113)+_0x2357fe+_0x244e4a(0x102)+_0x250d24);}}[a4_0x9ff0b2(0x147)](_0xc99c0e){const _0x4cd048=a4_0x9ff0b2,_0x5c35ed={};_0x5c35ed[_0x4cd048(0xf5)]=_0x4cd048(0xeb);const _0x1070ba=_0x5c35ed;return{'id':_0xc99c0e[_0x4cd048(0x94)],'text':_0xc99c0e[_0x4cd048(0x95)],'keyword':_0xc99c0e[_0x4cd048(0x11d)],'started_at':_0xc99c0e[_0x4cd048(0xd4)]['toISOString'](),'result':_0x1070ba['onEET']};}[a4_0x9ff0b2(0x142)](_0x130053){const _0x319878=a4_0x9ff0b2,_0x2baeb1={'njnsw':function(_0x583793){return _0x583793();}};!this[_0x319878(0x11c)][_0x319878(0x165)]&&(this[_0x319878(0x11c)][_0x319878(0x165)]=[]),!_0x130053[_0x319878(0x94)]&&(_0x130053[_0x319878(0x94)]=_0x2baeb1[_0x319878(0xae)](uuidv4),_0x130053[_0x319878(0xd4)]=new Date(),this[_0x319878(0x11c)][_0x319878(0x165)]['push'](this[_0x319878(0x147)](_0x130053)));}[a4_0x9ff0b2(0x160)](_0x1d2da1){const _0xe0061=a4_0x9ff0b2,_0x215082={'NlcqT':function(_0x2ebb75,_0x4c6b2a){return _0x2ebb75(_0x4c6b2a);},'BwVdl':_0xe0061(0x83),'AnTIH':_0xe0061(0xeb),'scUAK':_0xe0061(0x7c),'KRqUl':function(_0x44a4fc,_0x291fb7){return _0x44a4fc-_0x291fb7;}};let _0x5706ed=this[_0xe0061(0x11c)][_0xe0061(0x165)][_0xe0061(0xc6)](_0x502d78=>_0x502d78['id']===_0x1d2da1[_0xe0061(0x94)]);_0x215082[_0xe0061(0xe5)](isUndefined,_0x5706ed)&&(_0x5706ed=this[_0xe0061(0x147)](_0x1d2da1)),_0x5706ed[_0xe0061(0xda)]=[_0x215082[_0xe0061(0x12d)],_0x215082[_0xe0061(0xd5)]][_0xe0061(0x133)](_0x1d2da1[_0xe0061(0x8d)])?_0x215082['scUAK']:_0x1d2da1['status'],_0x5706ed[_0xe0061(0xdd)]=new Date()[_0xe0061(0xc5)](),_0x5706ed[_0xe0061(0x104)]=_0x215082[_0xe0061(0xa7)](Date[_0xe0061(0xe2)](),_0x1d2da1[_0xe0061(0xd4)]['getTime']()),_0x5706ed[_0xe0061(0xd6)]=_0x1d2da1[_0xe0061(0x122)]?_0x1d2da1[_0xe0061(0x122)][_0xe0061(0x10c)]:null;}}const a4_0x2f2fc5={};a4_0x2f2fc5[a4_0x9ff0b2(0x11e)]=O11yHelper,a4_0x2f2fc5[a4_0x9ff0b2(0x11f)]=STATE_PASSED,a4_0x2f2fc5[a4_0x9ff0b2(0x100)]=STATE_FAILED,a4_0x2f2fc5[a4_0x9ff0b2(0x108)]=TEST_EVENTS,module['exports']=a4_0x2f2fc5;
|
|
1
|
+
const a4_0x3298b9=a4_0x1513;function a4_0x2af7(){const _0x5d693a=['1570488doWOTn','XVXSX','gNLHp','text','replace','janiq','result','setupBrowserDetails','testAnalyticsId','bddSteps','BrowserType','fullTitle','split','tags','7904UnSSao','TEST_RUN_STARTED','enabled','toISOString','52587ECzmLn','LogCreated','QsPIJ','winstonLogger','kIREc','NflRP','err','removeAllListeners','body','PYCap','7168980HqZqaj','initializeBddStep','javascript','bs:addLog:','gWTQS','aFAee','../../helpers/logger','Gqidg','jRqud','name','sendCBTInfo','HOOK_RUN_FINISHED','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','fHTuF','uploadEventData','debug','../../helpers/test-observability/constants','now','parent','patchConsoleLogger','currentTest','EGroJ','UPYcc','driver','zqKJN','vOEHJ','prefixTestPath','SdVYn','wuInG','qxExu','ZywDH','745aPpVrX','mgnKD','join','currentHook','launch','ikzbO','bUfGk','hook_run_uuid','wviwY','start','KoRqi','pending','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','pid','_paths','uFCYp','lTFwr','backtrace','XXWzK','5|4|3|0|2|1','IMaLV','liqPJ','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','fireEvent','title','bind','failure_backtrace','then','uuid','PathHelper','tqztY','TEST_EVENTS','path','getHierarchy','success','MNapi','NxrNx','ShlUy','fnIQb','toLowerCase','31052750mCUBLi','TestRunFinished','HookRunFinished','started','getHooksForTest','failed\x20to\x20get\x20root\x20parent\x20file\x20','getCBTInfo','expanded','status','accessibilityPlatform','IMsYD','frameworkName','RlQDi','stop','\x20with\x20error\x20:\x20','retryOf','suites','MrfiH','lTOUq','XtlrN','includes','_beforeAll','dirname','find','test','stringify','oifdp','mapTestHooks','../mocha/test-observability/mochaUtils','../../helpers/testhub/utils.js','LnSXz','hookAnalyticsId','Failed\x20to\x20parse\x20wsendpoint\x20','aiLTR','319633UZPNeG','LmPOT','TestRunStarted','groups','2sHrmzB','shutdown','Fjtcl','PuMgr','bMQcU','nZuQd','startedAt','lib','getRootParentFile','logs','defineProperty','markedStatus','message','file_name','push','connectOverCDP','aBmhK','getFailureType','kazmj','hooks','vJZHJ','MtEmo','../../helpers/test-observability/sessionHandler','obsBrowserTypeMockApplied','btUPY','finished','comment','statSync','kMHQq','string','cwd','_beforeEach','AGALV','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','constructor','skipped','QFrFP','relative','IMHJh','toString','MntyV','TEST_RUN_FINISHED','BxrVZ','failureData','Tnyha','wsEndpoint','config','inspect','qIDYX','foJiH','jkZAQ','lhnyC','BNIql','errorsDetailed','stepAnalyticsId','util','_afterEach','hook','SrdLA','duration','passed','__platformCaps','failed','bddStepStart','dTYsB','browserType.js','test_run_uuid','CODECEPT','../playwright/sessionDetails','PSDpx','__cloud_provider___','location_prefix','ctx','getInstance','2939580RbFhHJ','exports','LjbRB','uOldb','Uqtom','MxdNq','type','kufwW','.git','forEach','findGitConfig','_testEnv','TestRunSkipped','codeceptjs','match','apply','failure','ndmIP','../utils/constants','test_run','O11yHelper','CFMxD','event_type','integrations','XBRHy','SVOzf','feature','Playwright','finished_at','getTime','xBTXY','704GtNHRw','resetSkipTestHooks','QnCuH','failure_reason_expanded','MkhEO','CBTSessionCreated'];a4_0x2af7=function(){return _0x5d693a;};return a4_0x2af7();}function a4_0x1513(_0x365658,_0x4b3015){const _0x2af7a4=a4_0x2af7();return a4_0x1513=function(_0x15130c,_0x29a98b){_0x15130c=_0x15130c-0x10f;let _0x2a0519=_0x2af7a4[_0x15130c];return _0x2a0519;},a4_0x1513(_0x365658,_0x4b3015);}(function(_0x116a94,_0x12e249){const _0x324b7e=a4_0x1513,_0x3d1c05=_0x116a94();while(!![]){try{const _0x2efc0b=parseInt(_0x324b7e(0x169))/0x1*(-parseInt(_0x324b7e(0x16d))/0x2)+parseInt(_0x324b7e(0x1dc))/0x3+-parseInt(_0x324b7e(0x1ea))/0x4*(parseInt(_0x324b7e(0x11f))/0x5)+-parseInt(_0x324b7e(0x1b7))/0x6+-parseInt(_0x324b7e(0x1f8))/0x7+-parseInt(_0x324b7e(0x1d6))/0x8*(parseInt(_0x324b7e(0x1ee))/0x9)+parseInt(_0x324b7e(0x147))/0xa;if(_0x2efc0b===_0x12e249)break;else _0x3d1c05['push'](_0x3d1c05['shift']());}catch(_0x3d593c){_0x3d1c05['push'](_0x3d1c05['shift']());}}}(a4_0x2af7,0xf0d5c));const path=require(a4_0x3298b9(0x13f)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3298b9(0x13b)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x3298b9(0x163)),{FRAMEWORKS}=require(a4_0x3298b9(0x110)),logger=require(a4_0x3298b9(0x1fe))[a4_0x3298b9(0x1f1)],SessionHandler=require(a4_0x3298b9(0x183)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x3298b9(0x1b1)),debug=testOpsHelper[a4_0x3298b9(0x10f)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3298b9(0x1c9)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3298b9(0x164)),STATE_PASSED=a4_0x3298b9(0x1a9),STATE_FAILED=a4_0x3298b9(0x1ab),a4_0x30dd9c={};a4_0x30dd9c[a4_0x3298b9(0x1eb)]=a4_0x3298b9(0x16b),a4_0x30dd9c[a4_0x3298b9(0x196)]=a4_0x3298b9(0x148),a4_0x30dd9c['TEST_RUN_SKIPPED']=a4_0x3298b9(0x1c3),a4_0x30dd9c['HOOK_RUN_STARTED']='HookRunStarted',a4_0x30dd9c[a4_0x3298b9(0x203)]=a4_0x3298b9(0x149);const TEST_EVENTS=a4_0x30dd9c,parseEvent=_0x40ab19=>{const _0x5084ae=a4_0x3298b9,_0x11d748={};_0x11d748[_0x5084ae(0x129)]=function(_0x4be98c,_0x502168){return _0x4be98c<_0x502168;},_0x11d748[_0x5084ae(0x19f)]=function(_0x406f10,_0x5eea1b){return _0x406f10===_0x5eea1b;},_0x11d748[_0x5084ae(0x1bb)]=_0x5084ae(0x15f),_0x11d748[_0x5084ae(0x171)]=function(_0x2083f5,_0x1386fd){return _0x2083f5===_0x1386fd;},_0x11d748[_0x5084ae(0x19d)]=_0x5084ae(0x1a6),_0x11d748[_0x5084ae(0x205)]=function(_0x3cd919,_0x47c143){return _0x3cd919===_0x47c143;},_0x11d748['ZiFli']=_0x5084ae(0x190),_0x11d748[_0x5084ae(0x193)]=function(_0x350c3d,_0x5ea322){return _0x350c3d===_0x5ea322;},_0x11d748[_0x5084ae(0x133)]=_0x5084ae(0x14a),_0x11d748[_0x5084ae(0x11d)]=_0x5084ae(0x186);const _0x36bdcf=_0x11d748,_0x1c3e09=_0x40ab19[_0x5084ae(0x1c5)](/^(.*)Run(.*)$/);if(!_0x1c3e09)return null;if(_0x36bdcf[_0x5084ae(0x129)](_0x1c3e09['length'],0x3))return null;const _0x2a5662=_0x1c3e09[0x1]['toLowerCase'](),_0x3c908a=_0x1c3e09[0x2][_0x5084ae(0x146)]();return{'test':_0x36bdcf[_0x5084ae(0x19f)](_0x2a5662,_0x36bdcf[_0x5084ae(0x1bb)]),'hook':_0x36bdcf[_0x5084ae(0x171)](_0x2a5662,_0x36bdcf[_0x5084ae(0x19d)]),'skipped':_0x36bdcf['fHTuF'](_0x3c908a,_0x36bdcf['ZiFli']),'started':_0x36bdcf[_0x5084ae(0x193)](_0x3c908a,_0x36bdcf[_0x5084ae(0x133)]),'finished':_0x36bdcf[_0x5084ae(0x19f)](_0x3c908a,_0x36bdcf[_0x5084ae(0x11d)])};},mockPWBrowserType=_0x465f07=>{const _0x5d0dff=a4_0x3298b9,_0x2877fb={'aBmhK':function(_0x15e4e5,_0x4df4c0,_0x28f67a){return _0x15e4e5(_0x4df4c0,_0x28f67a);},'SdVYn':_0x5d0dff(0x19a),'XXWzK':function(_0xb0604a,_0x31661f){return _0xb0604a(_0x31661f);},'bUfGk':'browserstack','Fjtcl':function(_0x233214,_0x40236f){return _0x233214===_0x40236f;},'Tnyha':_0x5d0dff(0x18a),'kazmj':_0x5d0dff(0x174),'kufwW':'client','XVXSX':_0x5d0dff(0x1ae),'jRqud':function(_0x478634,_0x5ce8c1){return _0x478634(_0x5ce8c1);},'vOEHJ':'Not\x20able\x20to\x20import\x20Browser','uFCYp':'connect','XtlrN':_0x5d0dff(0x123)},_0x4e1c24=path[_0x5d0dff(0x121)](_0x2877fb[_0x5d0dff(0x17f)],_0x2877fb[_0x5d0dff(0x1be)],_0x2877fb[_0x5d0dff(0x1dd)]),_0x66fc68=_0x2877fb[_0x5d0dff(0x200)](importFileFromPWCore,_0x4e1c24);if(!_0x66fc68){_0x2877fb['jRqud'](debug,_0x2877fb[_0x5d0dff(0x119)]);return;}const _0x536825=_0x66fc68[_0x5d0dff(0x1e6)],_0x5aa7d9=_0x536825['prototype'];if(_0x5aa7d9[_0x5d0dff(0x184)])return;const _0x41dff2=_0x5aa7d9['connect'];Object[_0x5d0dff(0x177)](_0x5aa7d9,_0x2877fb[_0x5d0dff(0x12e)],{'get':function(){const _0x203cca=_0x5d0dff,_0x25e48d={'ikzbO':function(_0x3bb87f,_0x25fff6){const _0x4da2bb=a4_0x1513;return _0x2877fb[_0x4da2bb(0x16f)](_0x3bb87f,_0x25fff6);},'uOldb':_0x2877fb[_0x203cca(0x199)]};return async function _0x1d920f(_0x2b8a02,_0x4b6da7){const _0x78c08d=_0x203cca,_0x2b5888=_0x2877fb[_0x78c08d(0x17d)](nestedKeyValue,_0x2b8a02,[_0x2877fb[_0x78c08d(0x11b)]])||_0x2b8a02;let _0x29058e=null,_0x294d62=null;try{[_0x294d62,_0x29058e]=_0x2b5888?_0x2877fb[_0x78c08d(0x131)](parseWSEndpoint,_0x2b5888):[null,null],global[_0x78c08d(0x1aa)]=_0x29058e,_0x294d62[_0x78c08d(0x15b)](_0x2877fb[_0x78c08d(0x125)])&&(global[_0x78c08d(0x1b3)]=_0x2877fb[_0x78c08d(0x125)]);}catch(_0x283935){logger[_0x78c08d(0x10f)](_0x78c08d(0x167)+_0x2b5888+'\x20'+_0x283935);}_0x2877fb[_0x78c08d(0x17d)](processAccessibilityCaps,_0x29058e,_0x294d62);if(global[_0x78c08d(0x150)]){const _0x548eee=await _0x5aa7d9[_0x78c08d(0x17c)][_0x78c08d(0x1c6)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2877fb[_0x78c08d(0x131)](encodeURIComponent,JSON[_0x78c08d(0x160)](_0x29058e))]);return PlaywrightSessionDetails[_0x78c08d(0x1e3)](_0x548eee,_0x465f07,_0x2b5888),_0x548eee;}return _0x41dff2[_0x78c08d(0x1c6)](this,arguments)[_0x78c08d(0x13a)](_0xabeb3c=>{const _0x595fdf=_0x78c08d;let _0xec7b37=_0x2b8a02[_0x595fdf(0x19a)];return _0x25e48d[_0x595fdf(0x124)](typeof _0x2b8a02,_0x25e48d[_0x595fdf(0x1ba)])&&(_0xec7b37=_0x2b8a02),PlaywrightSessionDetails[_0x595fdf(0x1e3)](_0xabeb3c,_0x465f07,_0xec7b37),_0xabeb3c;});};}});const _0x291ab3=_0x5aa7d9['launch'];Object[_0x5d0dff(0x177)](_0x5aa7d9,_0x2877fb[_0x5d0dff(0x15a)],{'get':function(){return async function _0x427e70(){const _0x5f755e=a4_0x1513;return _0x291ab3['apply'](this,arguments)[_0x5f755e(0x13a)](_0x3d3726=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x3d3726,null),_0x3d3726;});};}});};class O11yHelper{[a4_0x3298b9(0x114)]=null;[a4_0x3298b9(0x122)]=null;[a4_0x3298b9(0x1ec)]=![];[a4_0x3298b9(0x152)]=![];constructor(_0x2ab0cb,_0x426dc6){const _0x388ead=a4_0x3298b9,_0x5184fe={'BNIql':_0x388ead(0x132),'RlQDi':function(_0x4f83e3){return _0x4f83e3();},'PYCap':function(_0xe87bd3,_0x2df4da){return _0xe87bd3===_0x2df4da;},'PuMgr':_0x388ead(0x1d2),'xRBkk':function(_0xf04848,_0x5a9cb4){return _0xf04848(_0x5a9cb4);}},_0x391aca=_0x5184fe[_0x388ead(0x1a1)][_0x388ead(0x1e8)]('|');let _0x554b4c=0x0;while(!![]){switch(_0x391aca[_0x554b4c++]){case'0':this['_testEnv']=_0x5184fe[_0x388ead(0x153)](getTestEnv);continue;case'1':this[_0x388ead(0x117)]&&_0x5184fe[_0x388ead(0x1f7)](this[_0x388ead(0x117)][_0x388ead(0x18f)][_0x388ead(0x201)],_0x5184fe[_0x388ead(0x170)])&&_0x5184fe['xRBkk'](mockPWBrowserType,null);continue;case'2':this[_0x388ead(0x12d)]=new testOpsHelper[(_0x388ead(0x13c))]({'cwd':process[_0x388ead(0x18b)]()},this[_0x388ead(0x1c2)][_0x388ead(0x1b4)]);continue;case'3':this[_0x388ead(0x117)]=_0x2ab0cb;continue;case'4':this[_0x388ead(0x152)]=_0x426dc6[_0x388ead(0x152)];continue;case'5':this['enabled']=_0x5184fe[_0x388ead(0x153)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3298b9(0x128)](){const _0x4ba3ed=a4_0x3298b9;if(!this[_0x4ba3ed(0x1ec)])return;testOpsHelper[_0x4ba3ed(0x113)](),process[_0x4ba3ed(0x1f5)](_0x4ba3ed(0x1fb)+process['pid']),process['on'](_0x4ba3ed(0x1fb)+process[_0x4ba3ed(0x12c)],this['appendTestItemLog'][_0x4ba3ed(0x138)](this));}async[a4_0x3298b9(0x154)](){const _0xe13ea2=a4_0x3298b9;await RequestQueueHandler[_0xe13ea2(0x1b6)]()[_0xe13ea2(0x16e)]();}async['appendTestItemLog'](_0x2a2c78){const _0x1bd650=a4_0x3298b9,_0x1a7a52={'vJZHJ':_0x1bd650(0x1ef),'Gqidg':function(_0x44eef0,_0xb37a7d){return _0x44eef0(_0xb37a7d);}};try{this['currentHook']&&!this[_0x1bd650(0x122)][_0x1bd650(0x178)]&&(_0x2a2c78['hook_run_uuid']=this[_0x1bd650(0x122)][_0x1bd650(0x166)]);!_0x2a2c78['hook_run_uuid']&&this[_0x1bd650(0x114)]&&!this['currentTest'][_0x1bd650(0x178)]&&(_0x2a2c78[_0x1bd650(0x1af)]=this[_0x1bd650(0x114)][_0x1bd650(0x1e4)]);if(_0x2a2c78[_0x1bd650(0x126)]||_0x2a2c78['test_run_uuid']){const _0x14d229={};_0x14d229['event_type']=_0x1a7a52[_0x1bd650(0x181)],_0x14d229[_0x1bd650(0x176)]=[_0x2a2c78],await SessionHandler[_0x1bd650(0x206)](_0x14d229);}}catch(_0x4b51b8){_0x1a7a52[_0x1bd650(0x1ff)](debug,_0x1bd650(0x135)+_0x4b51b8);}}async[a4_0x3298b9(0x202)](_0x49daaa){const _0x395cc3=a4_0x3298b9,_0x12ece6={'ZywDH':_0x395cc3(0x1db),'BxrVZ':function(_0x13a072,_0x431697){return _0x13a072(_0x431697);}};if(!this[_0x395cc3(0x1ec)])return;const _0x1e7587=this[_0x395cc3(0x14d)](this['driver']);try{const _0x17735f={};_0x17735f[_0x395cc3(0x13b)]=_0x49daaa,_0x17735f[_0x395cc3(0x1ce)]=_0x1e7587;const _0x60ee00=_0x17735f,_0x4745bf={};_0x4745bf[_0x395cc3(0x1cd)]=_0x12ece6[_0x395cc3(0x11e)],_0x4745bf['test_run']=_0x60ee00,await SessionHandler[_0x395cc3(0x206)](_0x4745bf);}catch(_0x472878){_0x12ece6[_0x395cc3(0x197)](debug,_0x395cc3(0x12b)+_0x472878);}}['getCBTInfo'](_0xc7fec8){const _0x1a3f51=a4_0x3298b9,_0xf7bda2={'foJiH':function(_0xdda338,_0x12205d){return _0xdda338(_0x12205d);}};return _0xf7bda2[_0x1a3f51(0x19e)](fetchPlatformDetails,_0xc7fec8);}[a4_0x3298b9(0x1d7)]=_0x1f35d8=>{const _0x142679=a4_0x3298b9,_0xf67905={};_0xf67905['nZuQd']='_beforeEach',_0xf67905[_0x142679(0x159)]=_0x142679(0x1a5);const _0x1d026c=_0xf67905;if(!_0x1f35d8||!_0x1f35d8[_0x142679(0x112)])return;[_0x1d026c[_0x142679(0x172)],_0x1d026c['lTOUq']][_0x142679(0x1c0)](_0x42ce11=>{const _0x53a587=_0x142679,_0x4bcc6c=_0x1f35d8['parent'][_0x42ce11];_0x4bcc6c[_0x53a587(0x1c0)](_0x3b4d01=>{const _0x48ea05=_0x53a587;_0x3b4d01['hookAnalyticsId']&&(_0x3b4d01[_0x48ea05(0x166)]=null);});});};[a4_0x3298b9(0x162)](_0x33cee5){const _0x3ec71e=a4_0x3298b9,_0x347f1f={'MkhEO':_0x3ec71e(0x1c4),'LmPOT':function(_0x3e7711){return _0x3e7711();},'SrdLA':function(_0xdda42c,_0x33442a){return _0xdda42c===_0x33442a;},'wviwY':_0x3ec71e(0x1a5),'kIREc':function(_0x47beef){return _0x47beef();},'MNapi':'_beforeAll','wuInG':'_afterAll','aiLTR':_0x3ec71e(0x18c)};if(!_0x33cee5||!_0x33cee5[_0x3ec71e(0x112)])return;[_0x347f1f[_0x3ec71e(0x142)],_0x347f1f[_0x3ec71e(0x11c)],_0x347f1f[_0x3ec71e(0x168)],_0x347f1f[_0x3ec71e(0x127)]]['forEach'](_0x26a357=>{const _0x515d09=_0x3ec71e,_0x5c2f92=_0x33cee5[_0x515d09(0x112)][_0x26a357]||[];_0x5c2f92[_0x515d09(0x1c0)](_0xed9397=>{const _0x53fd12=_0x515d09;if(_0xed9397[_0x53fd12(0x137)]['includes'](_0x347f1f[_0x53fd12(0x1da)]))return;if(!_0xed9397[_0x53fd12(0x166)])_0xed9397[_0x53fd12(0x166)]=_0x347f1f[_0x53fd12(0x16a)](uuidv4);else _0xed9397[_0x53fd12(0x178)]&&_0x347f1f[_0x53fd12(0x1a7)](_0x26a357,_0x347f1f[_0x53fd12(0x127)])&&(_0xed9397[_0x53fd12(0x166)]=_0x347f1f[_0x53fd12(0x1f2)](uuidv4),delete _0xed9397[_0x53fd12(0x178)]);});}),this[_0x3ec71e(0x162)](_0x33cee5[_0x3ec71e(0x112)]);}[a4_0x3298b9(0x14b)](_0x34ceef){const _0x42a44e=a4_0x3298b9,_0x994f8f={};_0x994f8f[_0x42a44e(0x1b9)]=_0x42a44e(0x15c),_0x994f8f[_0x42a44e(0x191)]='_afterAll',_0x994f8f['xBTXY']='_beforeEach',_0x994f8f[_0x42a44e(0x1bc)]='_afterEach';const _0x350031=_0x994f8f;if(!_0x34ceef||!_0x34ceef[_0x42a44e(0x112)])return[];const _0x6432b=[];return[_0x350031[_0x42a44e(0x1b9)],_0x350031['QFrFP'],_0x350031[_0x42a44e(0x1d5)],_0x350031[_0x42a44e(0x1bc)]][_0x42a44e(0x1c0)](_0x428db0=>{const _0x22f171=_0x42a44e,_0x5a1438=_0x34ceef[_0x22f171(0x112)][_0x428db0]||[];_0x5a1438[_0x22f171(0x1c0)](_0x5ef495=>{const _0x3821f=_0x22f171;_0x5ef495[_0x3821f(0x166)]&&_0x6432b[_0x3821f(0x17b)](_0x5ef495[_0x3821f(0x166)]);});}),[]['concat'](_0x6432b,this[_0x42a44e(0x14b)](_0x34ceef[_0x42a44e(0x112)]));}['getHookType'](_0x5a6e79){const _0x547a96=a4_0x3298b9,_0x132c4a=/^"(?<hook>.*)" hook:.*$/,_0x293272=_0x5a6e79[_0x547a96(0x137)],_0x35f1c0=_0x293272[_0x547a96(0x1c5)](_0x132c4a);if(_0x35f1c0&&_0x35f1c0[_0x547a96(0x16c)])return _0x35f1c0[_0x547a96(0x16c)][_0x547a96(0x1a6)]['toUpperCase']()[_0x547a96(0x1e0)]('\x20','_');return null;}[a4_0x3298b9(0x1c1)](_0x261f04){const _0x48e740=a4_0x3298b9,_0x4125ba={};_0x4125ba[_0x48e740(0x151)]=function(_0x29fe1f,_0x2c5c20){return _0x29fe1f===_0x2c5c20;},_0x4125ba[_0x48e740(0x18d)]=_0x48e740(0x1bf),_0x4125ba['SVOzf']=_0x48e740(0x19b);const _0x4ecd4f=_0x4125ba,_0x4a3802=path['sep'];if(_0x4ecd4f['IMsYD'](_0x261f04,null)||_0x4ecd4f[_0x48e740(0x151)](_0x261f04,'')||_0x4ecd4f['IMsYD'](_0x261f04,_0x4a3802))return null;try{return fs[_0x48e740(0x188)](path[_0x48e740(0x121)](_0x261f04,_0x4ecd4f[_0x48e740(0x18d)],_0x4ecd4f[_0x48e740(0x1d0)])),_0x261f04;}catch(_0x4ffba2){const _0x32259d=path[_0x48e740(0x15d)](_0x261f04);return this[_0x48e740(0x1c1)](_0x32259d);}}[a4_0x3298b9(0x175)](_0x587fbc){const _0x3fff3c=a4_0x3298b9,_0xb50838={};_0xb50838[_0x3fff3c(0x185)]=function(_0x2bb085,_0x14276b){return _0x2bb085>_0x14276b;};const _0x4bff56=_0xb50838;if(_0x587fbc['file'])return _0x587fbc['file'];if(_0x587fbc[_0x3fff3c(0x1b5)]){const _0x30eee9=_0x587fbc[_0x3fff3c(0x1b5)][_0x3fff3c(0x114)]?this[_0x3fff3c(0x175)](_0x587fbc[_0x3fff3c(0x1b5)][_0x3fff3c(0x114)]):null;if(_0x30eee9)return _0x30eee9;}if(_0x587fbc[_0x3fff3c(0x112)]){const _0x3d23cc=this[_0x3fff3c(0x175)](_0x587fbc['parent'])||(_0x587fbc[_0x3fff3c(0x112)][_0x3fff3c(0x1b5)]&&_0x587fbc[_0x3fff3c(0x112)]['ctx']['currentTest']?this['getRootParentFile'](_0x587fbc[_0x3fff3c(0x112)]['ctx'][_0x3fff3c(0x114)]):null);if(_0x3d23cc)return _0x3d23cc;_0x587fbc[_0x3fff3c(0x112)][_0x3fff3c(0x157)]&&_0x4bff56[_0x3fff3c(0x185)](_0x587fbc[_0x3fff3c(0x112)][_0x3fff3c(0x157)]['length'],0x0)&&_0x587fbc[_0x3fff3c(0x112)][_0x3fff3c(0x157)][_0x3fff3c(0x1c0)](_0x3eb0f8=>{const _0x51878b=_0x3fff3c,_0x22c81b=_0x3eb0f8['ctx']?this[_0x51878b(0x175)](_0x3eb0f8['ctx']):null;if(_0x22c81b)return _0x22c81b;});}return null;}['getHierarchy'](_0x324918){const _0x569266=a4_0x3298b9,_0x1a44bd={};_0x1a44bd[_0x569266(0x189)]=function(_0x220b86,_0x3c4a95){return _0x220b86!==_0x3c4a95;};const _0x131c08=_0x1a44bd,_0xae5e15=[];if(_0x324918&&_0x324918[_0x569266(0x112)]){let _0x1bc945=_0x324918[_0x569266(0x112)];while(_0x1bc945&&_0x131c08[_0x569266(0x189)](_0x1bc945[_0x569266(0x137)],'')){_0xae5e15['push'](_0x1bc945[_0x569266(0x137)]),_0x1bc945=_0x1bc945[_0x569266(0x112)];}}return _0xae5e15;}['captureEvent'](_0x2f1465,_0x1b5e83,_0x3614e0=undefined){const _0x3121c8=a4_0x3298b9,_0x31e228={'MrfiH':function(_0x120598,_0x2232c8){return _0x120598(_0x2232c8);},'gWTQS':function(_0x538631){return _0x538631();},'fnIQb':function(_0x5858c0,_0x38d350){return _0x5858c0(_0x38d350);},'ndmIP':_0x3121c8(0x1a4),'XPscD':'err','lhnyC':function(_0x2b1887,_0x46ce4f){return _0x2b1887!==_0x46ce4f;},'aFAee':function(_0xc9bf5f,_0x1b515f){return _0xc9bf5f!==_0x1b515f;},'YNiuH':'File\x20path\x20could\x20not\x20be\x20found','ShlUy':_0x3121c8(0x12a),'QnCuH':'failed','NxrNx':'passed','tqztY':_0x3121c8(0x190),'janiq':_0x3121c8(0x1fa),'PSDpx':function(_0x45866a,_0x3c50d8){return _0x45866a-_0x3c50d8;},'EGroJ':function(_0x4acbfa,_0x229897,_0x3dd2a1,_0x124f61,_0xedeff6){return _0x4acbfa(_0x229897,_0x3dd2a1,_0x124f61,_0xedeff6);},'lTFwr':function(_0x1c493c,_0x1e65a1){return _0x1c493c!==_0x1e65a1;},'XBRHy':_0x3121c8(0x1ce),'MntyV':'meta','LnSXz':_0x3121c8(0x1c7),'QsPIJ':_0x3121c8(0x139),'oifdp':_0x3121c8(0x130),'UPYcc':_0x3121c8(0x1d9),'UlHGF':_0x3121c8(0x14e),'tfufR':function(_0x3f6d27,_0x40c43c){return _0x3f6d27===_0x40c43c;},'QspGQ':'hook_run','NflRP':_0x3121c8(0x1ca)};if(!this[_0x3121c8(0x1ec)])return;try{if(_0x1b5e83['fn']&&_0x1b5e83['fn']['toString']()['match'](/browserstack internal helper hook/))return;const _0x556195=_0x31e228[_0x3121c8(0x158)](parseEvent,_0x2f1465);if(!_0x556195)return;if(_0x556195[_0x3121c8(0x15f)]){this['currentTest']=_0x1b5e83,this[_0x3121c8(0x122)]=null;if(_0x556195[_0x3121c8(0x14a)]||_0x556195[_0x3121c8(0x190)]){_0x1b5e83[_0x3121c8(0x173)]=new Date(),_0x1b5e83['markedStatus']=![];if(!_0x1b5e83['testAnalyticsId'])_0x1b5e83[_0x3121c8(0x1e4)]=_0x31e228[_0x3121c8(0x1fc)](uuidv4);else _0x1b5e83[_0x3121c8(0x178)]&&(!_0x1b5e83['retryOf']&&(_0x1b5e83[_0x3121c8(0x156)]=_0x1b5e83[_0x3121c8(0x1e4)]),_0x1b5e83[_0x3121c8(0x1e4)]=_0x31e228[_0x3121c8(0x1fc)](uuidv4));}}else{if(_0x556195[_0x3121c8(0x1a6)]){this[_0x3121c8(0x122)]=_0x1b5e83;if(_0x556195[_0x3121c8(0x14a)]){_0x1b5e83[_0x3121c8(0x173)]=new Date(),_0x1b5e83[_0x3121c8(0x178)]=![];if(!_0x1b5e83[_0x3121c8(0x166)])_0x1b5e83[_0x3121c8(0x166)]=_0x31e228[_0x3121c8(0x1fc)](uuidv4);else _0x1b5e83[_0x3121c8(0x166)]&&_0x1b5e83[_0x3121c8(0x178)]&&(_0x1b5e83[_0x3121c8(0x166)]=_0x31e228[_0x3121c8(0x1fc)](uuidv4));}}}if(_0x556195['finished']&&_0x1b5e83[_0x3121c8(0x178)])return;let _0xd1a473;try{_0xd1a473=this[_0x3121c8(0x175)](_0x1b5e83);}catch(_0x342d71){logger['debug'](_0x3121c8(0x14c)+_0x342d71),_0xd1a473=null;}const _0x7f62a=_0x31e228[_0x3121c8(0x145)](require,_0x31e228[_0x3121c8(0x1c8)]);let _0x411033=[];_0x3614e0&&(_0x411033=[_0x3614e0,_0x31e228['XPscD']]);const _0xadbe2d=_0x31e228[_0x3121c8(0x1a0)](_0x1b5e83[_0x3121c8(0x1a2)],undefined)?_0x7f62a[_0x3121c8(0x19c)](_0x1b5e83[_0x3121c8(0x1a2)][0x0]):_0x31e228[_0x3121c8(0x1fd)](_0x3614e0,undefined)?_0x3614e0[_0x3121c8(0x194)]():undefined,_0x31f632=_0xd1a473?this['findGitConfig'](_0xd1a473):null,_0x1830ec=_0xd1a473?this[_0x3121c8(0x12d)][_0x3121c8(0x11a)](this[_0x3121c8(0x175)](_0x1b5e83)):_0x31e228['YNiuH'];let _0x537da8=_0x31e228[_0x3121c8(0x144)];const _0x2a0795=!_0x556195['started']?new Date()[_0x3121c8(0x1ed)]():null;if(_0x556195[_0x3121c8(0x186)])_0x537da8=_0x3614e0?_0x31e228[_0x3121c8(0x1d8)]:_0x31e228['NxrNx'],_0x1b5e83[_0x3121c8(0x178)]=!![];else _0x556195[_0x3121c8(0x190)]&&(_0x537da8=_0x31e228[_0x3121c8(0x13d)],_0x1b5e83[_0x3121c8(0x178)]=!![]);const _0x5acbab={'framework':this[_0x3121c8(0x152)],'uuid':_0x1b5e83['testAnalyticsId']||_0x1b5e83['hookAnalyticsId'],'name':_0x1b5e83['title'],'body':{'lang':_0x31e228[_0x3121c8(0x1e1)],'code':_0x1b5e83[_0x3121c8(0x1f6)][_0x3121c8(0x194)]()},'type':_0x1b5e83[_0x3121c8(0x1bd)],'scope':_0x1b5e83[_0x3121c8(0x1e7)](),'scopes':this[_0x3121c8(0x140)](_0x1b5e83),'file_name':_0x1830ec,'vc_filepath':_0x31f632?path[_0x3121c8(0x192)](_0x31f632,_0xd1a473):null,'location':_0x1830ec,'result':_0x537da8,'failure_reason':_0xadbe2d,'duration_in_ms':_0x1b5e83[_0x3121c8(0x1a8)]||(_0x556195[_0x3121c8(0x186)]||_0x556195[_0x3121c8(0x190)])?_0x31e228[_0x3121c8(0x1b2)](Date[_0x3121c8(0x111)](),new Date(_0x1b5e83[_0x3121c8(0x173)])[_0x3121c8(0x1d4)]()):null,'started_at':new Date(_0x1b5e83[_0x3121c8(0x173)])[_0x3121c8(0x1ed)](),'finished_at':_0x2a0795,'failure':testOpsHelper[_0x3121c8(0x198)][_0x3121c8(0x1c6)](null,_0x411033),'failure_type':!_0xadbe2d?null:testOpsHelper[_0x3121c8(0x17e)](_0xadbe2d),'retry_of':_0x1b5e83[_0x3121c8(0x156)]||null,'tags':_0x1b5e83[_0x3121c8(0x1e9)]||[],'customRerunParam':{'rerun_name':_0x1b5e83[_0x3121c8(0x1e7)]()}};_0x31e228[_0x3121c8(0x115)](appendTesthubParams,_0x5acbab,_0x2f1465,_0x1b5e83,FRAMEWORKS[_0x3121c8(0x1b0)]);if(_0x556195['hook'])[_0x5acbab['hook_type'],_0x5acbab[_0x3121c8(0x201)]]=[this['getHookType'](_0x1b5e83),_0x1b5e83[_0x3121c8(0x1b5)][_0x3121c8(0x15f)][_0x3121c8(0x137)]],_0x556195[_0x3121c8(0x186)]?_0x31e228[_0x3121c8(0x12f)](_0x5acbab[_0x3121c8(0x1e2)],_0x31e228[_0x3121c8(0x1d8)])&&(_0x5acbab[_0x3121c8(0x1e2)]=_0x31e228[_0x3121c8(0x143)]):_0x5acbab[_0x3121c8(0x1f6)]={};else _0x556195[_0x3121c8(0x15f)]&&(this[_0x3121c8(0x162)](_0x1b5e83),_0x556195[_0x3121c8(0x190)]&&this[_0x3121c8(0x1d7)](_0x1b5e83),(_0x556195[_0x3121c8(0x186)]||_0x556195[_0x3121c8(0x190)])&&(_0x5acbab[_0x3121c8(0x180)]=this[_0x3121c8(0x14b)](_0x1b5e83)));this[_0x3121c8(0x117)]&&(_0x556195['started']||_0x556195['skipped'])&&(_0x5acbab[_0x31e228[_0x3121c8(0x1cf)]]=this['getCBTInfo'](this[_0x3121c8(0x117)]));_0x556195['test']&&_0x556195[_0x3121c8(0x186)]&&_0x1b5e83[_0x3121c8(0x1e5)]&&(_0x5acbab[_0x31e228[_0x3121c8(0x195)]]={'feature':{'name':_0x1b5e83[_0x3121c8(0x112)][_0x3121c8(0x1d1)][_0x3121c8(0x201)],'path':_0x5acbab[_0x3121c8(0x17a)],'description':_0x1b5e83[_0x3121c8(0x112)][_0x3121c8(0x187)]},'scenario':{'name':_0x1b5e83[_0x3121c8(0x137)]},'steps':_0x1b5e83[_0x3121c8(0x1e5)]});const _0x5c3b53=_0x5acbab[_0x31e228[_0x3121c8(0x165)]][0x0];_0x5c3b53&&(_0x5acbab[_0x31e228[_0x3121c8(0x1f0)]]=_0x5c3b53[_0x31e228[_0x3121c8(0x161)]],_0x5acbab[_0x31e228[_0x3121c8(0x116)]]=_0x5c3b53[_0x31e228['UlHGF']]);if(_0x1b5e83[_0x3121c8(0x1e5)])for(const _0x526f8a of _0x1b5e83[_0x3121c8(0x1e5)]){!_0x526f8a['finished_at']&&(_0x526f8a['finished_at']=new Date()[_0x3121c8(0x1ed)](),_0x31e228['tfufR'](_0x526f8a[_0x3121c8(0x1e2)],_0x31e228[_0x3121c8(0x144)])&&(_0x5c3b53?(_0x526f8a[_0x3121c8(0x1e2)]=_0x31e228[_0x3121c8(0x1d8)],_0x526f8a[_0x3121c8(0x1c7)]=_0x5c3b53[_0x31e228[_0x3121c8(0x161)]][0x0]):_0x526f8a[_0x3121c8(0x1e2)]=_0x31e228[_0x3121c8(0x143)]));}const _0x5920a2={};_0x5920a2['event_type']=_0x556195[_0x3121c8(0x190)]?TEST_EVENTS[_0x3121c8(0x196)]:_0x2f1465;const _0x4a4e80=_0x5920a2;return _0x556195['hook']?_0x4a4e80[_0x31e228['QspGQ']]=_0x5acbab:_0x4a4e80[_0x31e228[_0x3121c8(0x1f3)]]=_0x5acbab,_0x4a4e80;}catch(_0x48788b){logger[_0x3121c8(0x10f)](_0x3121c8(0x204)+_0x2f1465+_0x3121c8(0x155)+_0x48788b);}}async[a4_0x3298b9(0x136)](_0x3c9f1c,_0x30a133){const _0x527212=a4_0x3298b9;if(!this[_0x527212(0x1ec)]||!_0x30a133||!_0x3c9f1c)return![];try{return await SessionHandler[_0x527212(0x206)](_0x30a133);}catch(_0x5b7366){logger[_0x527212(0x10f)](_0x527212(0x18e)+_0x3c9f1c+'\x20with\x20error\x20:\x20'+_0x5b7366);}}[a4_0x3298b9(0x1f9)](_0x392904){const _0x42e52c=a4_0x3298b9,_0x4a127f={};_0x4a127f[_0x42e52c(0x1ad)]=_0x42e52c(0x12a);const _0x2d76e1=_0x4a127f;return{'id':_0x392904[_0x42e52c(0x1a3)],'text':_0x392904[_0x42e52c(0x1df)],'keyword':_0x392904['keyword'],'started_at':_0x392904['startedAt'][_0x42e52c(0x1ed)](),'result':_0x2d76e1['dTYsB']};}[a4_0x3298b9(0x1ac)](_0x3a366d){const _0x1940e1=a4_0x3298b9,_0xcf4248={'gNLHp':function(_0x1eab8a){return _0x1eab8a();}};!this['currentTest'][_0x1940e1(0x1e5)]&&(this[_0x1940e1(0x114)][_0x1940e1(0x1e5)]=[]),!_0x3a366d[_0x1940e1(0x1a3)]&&(_0x3a366d[_0x1940e1(0x1a3)]=_0xcf4248[_0x1940e1(0x1de)](uuidv4),_0x3a366d['startedAt']=new Date(),this[_0x1940e1(0x114)][_0x1940e1(0x1e5)][_0x1940e1(0x17b)](this[_0x1940e1(0x1f9)](_0x3a366d)));}['bddStepFinish'](_0x2b2bb2){const _0x95c292=a4_0x3298b9,_0x15a6f2={'MtEmo':function(_0x314cb5,_0x3198d6){return _0x314cb5(_0x3198d6);},'mgnKD':_0x95c292(0x141),'CFMxD':'pending','zqKJN':'passed','liqPJ':function(_0x4e0343,_0x23555e){return _0x4e0343-_0x23555e;}};let _0x4c16a3=this[_0x95c292(0x114)][_0x95c292(0x1e5)][_0x95c292(0x15e)](_0x2c3535=>_0x2c3535['id']===_0x2b2bb2[_0x95c292(0x1a3)]);_0x15a6f2[_0x95c292(0x182)](isUndefined,_0x4c16a3)&&(_0x4c16a3=this['initializeBddStep'](_0x2b2bb2)),_0x4c16a3[_0x95c292(0x1e2)]=[_0x15a6f2[_0x95c292(0x120)],_0x15a6f2[_0x95c292(0x1cc)]][_0x95c292(0x15b)](_0x2b2bb2[_0x95c292(0x14f)])?_0x15a6f2[_0x95c292(0x118)]:_0x2b2bb2[_0x95c292(0x14f)],_0x4c16a3[_0x95c292(0x1d3)]=new Date()[_0x95c292(0x1ed)](),_0x4c16a3[_0x95c292(0x1a8)]=_0x15a6f2[_0x95c292(0x134)](Date[_0x95c292(0x111)](),_0x2b2bb2[_0x95c292(0x173)]['getTime']()),_0x4c16a3[_0x95c292(0x1c7)]=_0x2b2bb2[_0x95c292(0x1f4)]?_0x2b2bb2[_0x95c292(0x1f4)][_0x95c292(0x179)]:null;}}const a4_0x123134={};a4_0x123134[a4_0x3298b9(0x1cb)]=O11yHelper,a4_0x123134['STATE_PASSED']=STATE_PASSED,a4_0x123134['STATE_FAILED']=STATE_FAILED,a4_0x123134[a4_0x3298b9(0x13e)]=TEST_EVENTS,module[a4_0x3298b9(0x1b8)]=a4_0x123134;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x790f4e=a5_0x33b4;(function(_0x4c1ddd,_0x10ed15){const _0x14cbeb=a5_0x33b4,_0x736cf8=_0x4c1ddd();while(!![]){try{const _0x79699f=-parseInt(_0x14cbeb(0x137))/0x1*(parseInt(_0x14cbeb(0x157))/0x2)+parseInt(_0x14cbeb(0x11b))/0x3+parseInt(_0x14cbeb(0x133))/0x4*(parseInt(_0x14cbeb(0x11d))/0x5)+-parseInt(_0x14cbeb(0x154))/0x6*(-parseInt(_0x14cbeb(0x15e))/0x7)+parseInt(_0x14cbeb(0x122))/0x8+-parseInt(_0x14cbeb(0x13b))/0x9+-parseInt(_0x14cbeb(0x166))/0xa;if(_0x79699f===_0x10ed15)break;else _0x736cf8['push'](_0x736cf8['shift']());}catch(_0x3be4da){_0x736cf8['push'](_0x736cf8['shift']());}}}(a5_0x2b32,0xe8a74));function a5_0x2b32(){const _0x533833=['\x20ambiguous','QgNqJ','getUserWorkerCount','MYrXG','stringify','DoTyI','653409iPhmOL','../../helpers/testhub/testhubHandler','115zxKPhy','prepareCapabilities','logLevel','RYSAI','getErrorMessageFromResults','14509920LHXWJR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','testObservability','unlinkSync','nTJIF','createDir','****\x20RESULTS\x20****','parseFormatters','finally','rmdirSync','HIrzu','path','red','scenariosFailed','cucumber-js','finalExecution','72068UeeJCu','FRAMEWORKS','processSuccess','steps','409899ODOgPH','\x20undefined','../../helpers/logger','format','2038212dSEgJx','scenarios','stepsUnknown','SaGeW','cyan','zxpfm','\x20skipped','bgWhite','zwyfz','EklwR','wabxy','initialize','kpXrQ','\x20failed','length','MmEMn','exports','\x20passed','stepsPassed','MiKUF','BROWSERSTACK_TEST_OBSERVABILITY_YML','util','config','cucumber','../../helpers/BrowserStackSetup','6PIXRSW','useW3C','false','8TOnvuE','launchBuild','forEach','testContextOptions','log','getTCGConfigFilePaths','DpfGd','4217374Vhjogw','cwd','join','stepsFailed','oBcAw','error\x20removing\x20tcg\x20config\x20file','argv','skipSessionName','2294040ZpSbOf','stepsSkipped','skipSessionStatus','DbbUg','turboScaleUrl','exitCode','UBWrF','proxySettings','\x20pending','ocnxp','removeDir','green','HWsPs','push','getHubUrl','wtjCb','CUCUMBER','isBrowserstackInfra','bold','stepsPending','splice','then','errorMessage','zAVlb','accessibilityOptions','mmaAb','Generating\x20consolidated\x20report...','tmp','mergeOutputFiles','stepsAmbiguous','../../helpers/utilities','env','DzttF','QLlLA','winstonLogger','yellow','setupTCGAuth','debug'];a5_0x2b32=function(){return _0x533833;};return a5_0x2b32();}const fs=require('fs'),path=require(a5_0x790f4e(0x12e)),util=require(a5_0x790f4e(0x150)),logger=require(a5_0x790f4e(0x139))[a5_0x790f4e(0x111)],{default:BrowserStackSetup}=require(a5_0x790f4e(0x153)),helper=require('../../helpers/helper'),utilities=require(a5_0x790f4e(0x10d)),constants=require(a5_0x790f4e(0x124)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x790f4e(0x11c)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x4f5409){const _0xf210c2=a5_0x790f4e,_0x480f85={};_0x480f85[_0xf210c2(0x12d)]=function(_0x284875,_0x2687eb){return _0x284875>_0x2687eb;},_0x480f85[_0xf210c2(0x14a)]=function(_0x50b0cd,_0x132ae2){return _0x50b0cd-_0x132ae2;},_0x480f85[_0xf210c2(0x106)]=function(_0x251d71,_0x477e54){return _0x251d71-_0x477e54;},_0x480f85['RYSAI']=function(_0x386e12,_0x5967d0){return _0x386e12>_0x5967d0;},_0x480f85[_0xf210c2(0x110)]=function(_0x2e81d3,_0x448de4){return _0x2e81d3>_0x448de4;},_0x480f85['zxpfm']=function(_0x1b31a1,_0x857b64){return _0x1b31a1>_0x857b64;},_0x480f85[_0xf210c2(0x145)]=function(_0x50ea60,_0x475338){return _0x50ea60>_0x475338;},_0x480f85[_0xf210c2(0x10f)]=function(_0x3c73b8,_0x508058){return _0x3c73b8>_0x508058;},_0x480f85[_0xf210c2(0x143)]=function(_0x18ae73,_0x28b70d){return _0x18ae73>_0x28b70d;},_0x480f85[_0xf210c2(0x16f)]=function(_0x512aed,_0x46d32e){return _0x512aed>_0x46d32e;},_0x480f85[_0xf210c2(0x15d)]=function(_0x31d365,_0x4df265){return _0x31d365+_0x4df265;},_0x480f85[_0xf210c2(0x118)]=function(_0x4be80f,_0x153be0){return _0x4be80f+_0x153be0;},_0x480f85[_0xf210c2(0x13e)]=function(_0x4fe5c1,_0x3ab55c){return _0x4fe5c1===_0x3ab55c;},_0x480f85[_0xf210c2(0x116)]=function(_0x248f01,_0xa71dd7){return _0x248f01===_0xa71dd7;},_0x480f85[_0xf210c2(0x144)]=_0xf210c2(0x129);const _0x15fbaf=_0x480f85;let _0x400ec1=0x0;if(_0x15fbaf[_0xf210c2(0x116)](_0x4f5409[_0xf210c2(0x149)],0x0))return _0x400ec1;return console[_0xf210c2(0x15b)](chalk[_0xf210c2(0x178)][_0xf210c2(0x142)](_0x15fbaf['EklwR'])),_0x4f5409[_0xf210c2(0x159)](_0x55a3ca=>{const _0x14ff88=_0xf210c2,_0x394239=_0x55a3ca[0x0],_0xbc282b=_0x55a3ca[0x1];console[_0x14ff88(0x15b)]('\x0a'+chalk[_0x14ff88(0x178)][_0x14ff88(0x112)](''+helper['getPlatformName'](_0x394239)));const _0x3e2c7c=_0xbc282b[_0x14ff88(0x13c)],_0x1c498f=_0xbc282b[_0x14ff88(0x136)],_0x34d9d8=_0xbc282b[_0x14ff88(0x130)],_0x4ce6a7=_0xbc282b[_0x14ff88(0x161)],_0xfa9fc3=_0xbc282b[_0x14ff88(0x14d)],_0x1c20bc=_0xbc282b[_0x14ff88(0x167)],_0x2a6bba=_0xbc282b[_0x14ff88(0x179)],_0x3b46bb=_0xbc282b['stepsUndefined'],_0x3095ea=_0xbc282b[_0x14ff88(0x13d)],_0x1297eb=_0xbc282b[_0x14ff88(0x10c)],_0x63b190=_0xbc282b[_0x14ff88(0x135)];let _0x324de6=_0x3e2c7c+'\x20scenarios';const _0x1b9da5=_0x15fbaf[_0x14ff88(0x12d)](_0x15fbaf[_0x14ff88(0x14a)](_0x3e2c7c,_0x34d9d8),0x0)?_0x15fbaf[_0x14ff88(0x106)](_0x3e2c7c,_0x34d9d8):0x0;if(_0x15fbaf[_0x14ff88(0x120)](_0x34d9d8,0x0)&&_0x15fbaf[_0x14ff88(0x110)](_0x1b9da5,0x0))_0x324de6+='\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x12f)](_0x34d9d8+'\x20failed')+',\x20'+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0x1b9da5+_0x14ff88(0x14c))+')';else(_0x15fbaf[_0x14ff88(0x140)](_0x34d9d8,0x0)||_0x15fbaf[_0x14ff88(0x12d)](_0x1b9da5,0x0))&&(_0x324de6+=_0x15fbaf[_0x14ff88(0x145)](_0x34d9d8,0x0)?'\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x12f)](_0x34d9d8+_0x14ff88(0x148))+')':'\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0x1b9da5+_0x14ff88(0x14c))+')');const _0x147e49=_0x1c498f+'\x20steps',_0x5ac8ad=[];_0x15fbaf[_0x14ff88(0x140)](_0x1297eb,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x12f)](_0x1297eb+_0x14ff88(0x115)));_0x15fbaf[_0x14ff88(0x12d)](_0x4ce6a7,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)]['red'](_0x4ce6a7+_0x14ff88(0x148)));_0x15fbaf['DzttF'](_0xfa9fc3,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0xfa9fc3+_0x14ff88(0x14c)));_0x15fbaf[_0x14ff88(0x145)](_0x2a6bba,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x112)](_0x2a6bba+_0x14ff88(0x16e)));_0x15fbaf['DzttF'](_0x1c20bc,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x13f)](_0x1c20bc+_0x14ff88(0x141)));_0x15fbaf[_0x14ff88(0x143)](_0x3b46bb,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x112)](_0x3b46bb+_0x14ff88(0x138)));_0x15fbaf[_0x14ff88(0x16f)](_0x3095ea,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x112)](_0x3095ea+_0x14ff88(0x141)));const _0x52937f=_0x15fbaf[_0x14ff88(0x15d)](_0x15fbaf[_0x14ff88(0x118)](_0x15fbaf[_0x14ff88(0x118)](_0x147e49,'('),_0x5ac8ad[_0x14ff88(0x160)](',\x20')),')');console[_0x14ff88(0x15b)](_0x15fbaf[_0x14ff88(0x118)](_0x15fbaf['MYrXG'](_0x15fbaf['DpfGd'](_0x15fbaf[_0x14ff88(0x15d)]('\x0a',_0x324de6),'\x0a'),_0x52937f),'\x0a')),_0x15fbaf[_0x14ff88(0x13e)](_0x63b190,![])&&(_0x400ec1=0x1);}),_0x400ec1;}async function run(_0x1b718e,_0x586f1f){const _0x3e0093=a5_0x790f4e,_0x3fb0a5={'nTJIF':function(_0x3474e8,_0x3de75d){return _0x3474e8(_0x3de75d);},'RGNja':function(_0x41d2e8,_0x4b623d){return _0x41d2e8>_0x4b623d;},'DoTyI':_0x3e0093(0x109),'oBcAw':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','wtjCb':_0x3e0093(0x152),'MiKUF':_0x3e0093(0x163),'UBWrF':_0x3e0093(0x131),'MgARd':_0x3e0093(0x10a),'iXcvm':function(_0x59240e,_0x103d81){return _0x59240e>_0x103d81;},'CytjI':function(_0x3ec30d,_0x45a4bc){return _0x3ec30d-_0x45a4bc;},'mmaAb':function(_0x33118d,_0x33ebfa){return _0x33118d>=_0x33ebfa;},'DbbUg':function(_0x476ce7,_0x4d8f27){return _0x476ce7!=_0x4d8f27;},'kpXrQ':_0x3e0093(0x156),'HWsPs':function(_0x45c044,_0x4be057,_0x1f6968,_0x25a3fe,_0x5b415b,_0x415d89){return _0x45c044(_0x4be057,_0x1f6968,_0x25a3fe,_0x5b415b,_0x415d89);}},_0x1aac0e=new BrowserStackSetup(_0x1b718e,_0x3fb0a5[_0x3e0093(0x16c)]);await _0x1aac0e[_0x3e0093(0x146)]();!helper[_0x3e0093(0x177)]()&&await _0x1aac0e[_0x3e0093(0x113)]();await helper['handleApp'](_0x1aac0e['config']);const _0x28ce51=helper[_0x3e0093(0x155)](_0x1aac0e[_0x3e0093(0x151)]),_0x3126e6=helper[_0x3e0093(0x11e)](_0x1aac0e[_0x3e0093(0x151)],_0x28ce51,constants[_0x3e0093(0x134)]['CUCUMBER']);if(!_0x1aac0e[_0x3e0093(0x151)])return;const _0x510d3f=_0x1aac0e['config']['parallelsPerPlatform']||helper[_0x3e0093(0x117)](_0x1b718e,_0x586f1f,_0x1aac0e[_0x3e0093(0x151)],constants['FRAMEWORKS'][_0x3e0093(0x176)])||0x1,_0x140128={'server':helper[_0x3e0093(0x174)](_0x1aac0e[_0x3e0093(0x151)]),'proxySettings':_0x1aac0e['config'][_0x3e0093(0x16d)],'maxWorkers':_0x510d3f,'browserStackLogLevel':_0x1aac0e['config'][_0x3e0093(0x11f)],'skipSessionName':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x15a)][_0x3e0093(0x165)],'skipSessionStatus':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x15a)][_0x3e0093(0x168)],'turboScaleUrl':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x16a)]},_0x77c8d6=process[_0x3e0093(0x164)],[_0x51d225,_0x2439cd]=helper[_0x3e0093(0x12a)](_0x77c8d6),_0x23619a=path['join'](process[_0x3e0093(0x15f)](),_0x3fb0a5['MgARd']);if(_0x3fb0a5['iXcvm'](_0x2439cd[_0x3e0093(0x149)],0x0)){helper[_0x3e0093(0x128)](_0x23619a);for(let _0x226043=_0x3fb0a5['CytjI'](_0x51d225['length'],0x1);_0x3fb0a5[_0x3e0093(0x108)](_0x226043,0x0);_0x226043--){_0x77c8d6[_0x3e0093(0x17a)](_0x51d225[_0x226043],0x2);}}!helper['isUndefined'](_0x1aac0e[_0x3e0093(0x151)]['accessibilityOptions'])&&(process[_0x3e0093(0x10e)][_0x3e0093(0x123)]=JSON[_0x3e0093(0x119)](_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x107)]));_0x3fb0a5[_0x3e0093(0x169)](_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x125)],null)?process[_0x3e0093(0x10e)][_0x3e0093(0x14f)]=_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x125)]:process['env'][_0x3e0093(0x14f)]=_0x3fb0a5[_0x3e0093(0x147)];const _0x5a278b=await TestHubHandler[_0x3e0093(0x158)](constants['FRAMEWORKS'][_0x3e0093(0x176)],_0x1aac0e);helper['markSDKSetupComplete']();let _0xed5af4;_0x3fb0a5[_0x3e0093(0x172)](parallelCucumberRun,_0x3126e6,_0x140128,_0x1aac0e['config'],_0x77c8d6,_0x2439cd)[_0x3e0093(0x17b)](async _0x15d33c=>{const _0x504685=_0x3e0093;_0xed5af4=_0x15d33c;const _0x3c00de=_0x3fb0a5[_0x504685(0x127)](printCucumberStats,_0x15d33c);process[_0x504685(0x16b)]=_0x3c00de,_0x3fb0a5['RGNja'](_0x2439cd[_0x504685(0x149)],0x0)&&(logger[_0x504685(0x114)](_0x3fb0a5[_0x504685(0x11a)]),helper[_0x504685(0x10b)](_0x23619a,_0x2439cd),logger[_0x504685(0x114)](_0x3fb0a5[_0x504685(0x162)]),helper[_0x504685(0x170)](_0x23619a));})[_0x3e0093(0x12b)](async()=>{const _0x863893=_0x3e0093;_0x1aac0e[_0x863893(0x105)]=helper[_0x863893(0x121)](_0xed5af4,_0x3fb0a5[_0x863893(0x175)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x353064){logger[_0x863893(0x114)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x863893(0x13a)](_0x353064));}try{const {browserstackFolderPath:_0x454e25,tcgConfigPath:_0x3dc3d6}=helper[_0x863893(0x15c)]();fs[_0x863893(0x126)](_0x3dc3d6),fs[_0x863893(0x12c)](_0x454e25);}catch(_0x58b801){logger['debug'](_0x3fb0a5[_0x863893(0x14e)],_0x58b801);}await utilities[_0x863893(0x132)](_0x1aac0e);});}function a5_0x33b4(_0x41f42b,_0x115663){const _0x2b3207=a5_0x2b32();return a5_0x33b4=function(_0x33b4a4,_0x53de5f){_0x33b4a4=_0x33b4a4-0x105;let _0x3aaa1b=_0x2b3207[_0x33b4a4];return _0x3aaa1b;},a5_0x33b4(_0x41f42b,_0x115663);}module[a5_0x790f4e(0x14b)]=run;
|
|
2
|
+
'use strict';const a5_0x224e6f=a5_0xf362;(function(_0x1d2316,_0x210bdc){const _0x4ef5e4=a5_0xf362,_0x29cf87=_0x1d2316();while(!![]){try{const _0x12a8c5=-parseInt(_0x4ef5e4(0xf2))/0x1+parseInt(_0x4ef5e4(0xe9))/0x2+-parseInt(_0x4ef5e4(0x103))/0x3+-parseInt(_0x4ef5e4(0xd3))/0x4+-parseInt(_0x4ef5e4(0xc4))/0x5+-parseInt(_0x4ef5e4(0xb8))/0x6+parseInt(_0x4ef5e4(0xf1))/0x7;if(_0x12a8c5===_0x210bdc)break;else _0x29cf87['push'](_0x29cf87['shift']());}catch(_0x1e539d){_0x29cf87['push'](_0x29cf87['shift']());}}}(a5_0x506e,0x2c804));function a5_0xf362(_0x4a8751,_0x349a66){const _0x506e59=a5_0x506e();return a5_0xf362=function(_0xf36270,_0x183793){_0xf36270=_0xf36270-0xa3;let _0x1eea00=_0x506e59[_0xf36270];return _0x1eea00;},a5_0xf362(_0x4a8751,_0x349a66);}const fs=require('fs'),path=require(a5_0x224e6f(0xe0)),util=require(a5_0x224e6f(0xaa)),logger=require('../../helpers/logger')[a5_0x224e6f(0xef)],{default:BrowserStackSetup}=require(a5_0x224e6f(0xce)),helper=require(a5_0x224e6f(0x10a)),utilities=require(a5_0x224e6f(0x107)),constants=require(a5_0x224e6f(0xd9)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x224e6f(0xd0)),testOpsHelper=require(a5_0x224e6f(0x108)),chalk=require(a5_0x224e6f(0x10f));function printCucumberStats(_0x2ebf28){const _0xfa7295=a5_0x224e6f,_0x177edf={};_0x177edf[_0xfa7295(0xba)]=function(_0xd74fb0,_0x20acc8){return _0xd74fb0>_0x20acc8;},_0x177edf['vHNdf']=function(_0xbc97d4,_0x31af22){return _0xbc97d4-_0x31af22;},_0x177edf[_0xfa7295(0x113)]=function(_0x3280b0,_0x26556d){return _0x3280b0-_0x26556d;},_0x177edf[_0xfa7295(0xcd)]=function(_0x24a7e7,_0x253101){return _0x24a7e7>_0x253101;},_0x177edf['mRLvz']=function(_0x354750,_0x2b4a1d){return _0x354750>_0x2b4a1d;},_0x177edf[_0xfa7295(0xff)]=function(_0x10875c,_0x21e868){return _0x10875c>_0x21e868;},_0x177edf[_0xfa7295(0xda)]=function(_0x41b960,_0x422ccb){return _0x41b960>_0x422ccb;},_0x177edf['MqgsU']=function(_0x484ea1,_0x21dea7){return _0x484ea1>_0x21dea7;},_0x177edf['afDzW']=function(_0x5730f4,_0x3ead79){return _0x5730f4>_0x3ead79;},_0x177edf[_0xfa7295(0xb3)]=function(_0x42befb,_0x119c0f){return _0x42befb+_0x119c0f;},_0x177edf[_0xfa7295(0xa6)]=function(_0xac78cd,_0x28c280){return _0xac78cd+_0x28c280;},_0x177edf[_0xfa7295(0xc5)]=function(_0x5266a2,_0x46b826){return _0x5266a2+_0x46b826;},_0x177edf[_0xfa7295(0xde)]=function(_0x5582be,_0x187833){return _0x5582be===_0x187833;},_0x177edf[_0xfa7295(0xf7)]=function(_0x1cf266,_0x24a49f){return _0x1cf266===_0x24a49f;},_0x177edf[_0xfa7295(0x10c)]=_0xfa7295(0xd7);const _0x1a1f9b=_0x177edf;let _0x203413=0x0;if(_0x1a1f9b[_0xfa7295(0xf7)](_0x2ebf28['length'],0x0))return _0x203413;return console[_0xfa7295(0xe8)](chalk[_0xfa7295(0xd2)]['bgWhite'](_0x1a1f9b[_0xfa7295(0x10c)])),_0x2ebf28[_0xfa7295(0x112)](_0x48574c=>{const _0x393312=_0xfa7295,_0x264fb2=_0x48574c[0x0],_0x15eda5=_0x48574c[0x1];console[_0x393312(0xe8)]('\x0a'+chalk[_0x393312(0xd2)]['yellow'](''+helper[_0x393312(0x105)](_0x264fb2)));const _0x5a6dbe=_0x15eda5[_0x393312(0x106)],_0x5616da=_0x15eda5[_0x393312(0xb0)],_0x4b4984=_0x15eda5[_0x393312(0xf3)],_0x5be90b=_0x15eda5[_0x393312(0xc2)],_0x4c4bc3=_0x15eda5[_0x393312(0xd4)],_0x2eecc2=_0x15eda5[_0x393312(0x10d)],_0x763a14=_0x15eda5['stepsPending'],_0x14ba0e=_0x15eda5['stepsUndefined'],_0x339544=_0x15eda5[_0x393312(0xad)],_0x590e66=_0x15eda5[_0x393312(0xec)],_0x3601c0=_0x15eda5['processSuccess'];let _0x414f90=_0x5a6dbe+'\x20scenarios';const _0x58e66a=_0x1a1f9b[_0x393312(0xba)](_0x1a1f9b['vHNdf'](_0x5a6dbe,_0x4b4984),0x0)?_0x1a1f9b[_0x393312(0x113)](_0x5a6dbe,_0x4b4984):0x0;if(_0x1a1f9b[_0x393312(0xba)](_0x4b4984,0x0)&&_0x1a1f9b[_0x393312(0xcd)](_0x58e66a,0x0))_0x414f90+='\x20('+chalk[_0x393312(0xd2)][_0x393312(0xeb)](_0x4b4984+_0x393312(0xc1))+',\x20'+chalk[_0x393312(0xd2)][_0x393312(0xcf)](_0x58e66a+_0x393312(0xe5))+')';else(_0x1a1f9b[_0x393312(0xe1)](_0x4b4984,0x0)||_0x1a1f9b[_0x393312(0xba)](_0x58e66a,0x0))&&(_0x414f90+=_0x1a1f9b[_0x393312(0xff)](_0x4b4984,0x0)?'\x20('+chalk[_0x393312(0xd2)][_0x393312(0xeb)](_0x4b4984+_0x393312(0xc1))+')':'\x20('+chalk[_0x393312(0xd2)][_0x393312(0xcf)](_0x58e66a+_0x393312(0xe5))+')');const _0x327d0d=_0x5616da+'\x20steps',_0x3c834b=[];_0x1a1f9b[_0x393312(0xe1)](_0x590e66,0x0)&&_0x3c834b[_0x393312(0xca)](''+chalk['bold'][_0x393312(0xeb)](_0x590e66+_0x393312(0xcb)));_0x1a1f9b['QhBBT'](_0x5be90b,0x0)&&_0x3c834b['push'](''+chalk['bold'][_0x393312(0xeb)](_0x5be90b+_0x393312(0xc1)));_0x1a1f9b['mRLvz'](_0x4c4bc3,0x0)&&_0x3c834b[_0x393312(0xca)](''+chalk[_0x393312(0xd2)][_0x393312(0xcf)](_0x4c4bc3+_0x393312(0xe5)));_0x1a1f9b[_0x393312(0xcd)](_0x763a14,0x0)&&_0x3c834b[_0x393312(0xca)](''+chalk[_0x393312(0xd2)]['yellow'](_0x763a14+_0x393312(0xf9)));_0x1a1f9b['jHNCB'](_0x2eecc2,0x0)&&_0x3c834b[_0x393312(0xca)](''+chalk[_0x393312(0xd2)][_0x393312(0xbd)](_0x2eecc2+'\x20skipped'));_0x1a1f9b[_0x393312(0xbf)](_0x14ba0e,0x0)&&_0x3c834b['push'](''+chalk[_0x393312(0xd2)][_0x393312(0xc3)](_0x14ba0e+_0x393312(0xa8)));_0x1a1f9b[_0x393312(0xe3)](_0x339544,0x0)&&_0x3c834b[_0x393312(0xca)](''+chalk[_0x393312(0xd2)]['yellow'](_0x339544+_0x393312(0xe2)));const _0x39556a=_0x1a1f9b[_0x393312(0xb3)](_0x1a1f9b[_0x393312(0xa6)](_0x1a1f9b[_0x393312(0xa6)](_0x327d0d,'('),_0x3c834b[_0x393312(0xb4)](',\x20')),')');console['log'](_0x1a1f9b['DTJtt'](_0x1a1f9b[_0x393312(0xb3)](_0x1a1f9b[_0x393312(0xc5)](_0x1a1f9b['hzRuK']('\x0a',_0x414f90),'\x0a'),_0x39556a),'\x0a')),_0x1a1f9b[_0x393312(0xde)](_0x3601c0,![])&&(_0x203413=0x1);}),_0x203413;}function a5_0x506e(){const _0x5901f5=['../../helpers/utilities','../../helpers/test-observability/utils','initialize','../../helpers/helper','stop','nGCmt','stepsSkipped','errorMessage','chalk','Uerep','dexvn','forEach','gvTjP','SoMnj','ygYvU','setupTCGAuth','KHFxJ','rmdirSync','\x20undefined','logLevel','util','useW3C','finalExecution','stepsUnknown','accessibilityOptions','splice','steps','isUndefined','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','DTJtt','join','kpBhr','getHubUrl','debug','1067892mGKTuQ','markSDKSetupComplete','jHNCB','parallelsPerPlatform','FRAMEWORKS','cyan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MqgsU','skipSessionName','\x20failed','stepsFailed','yellow','942440Dwdklo','hzRuK','Generating\x20consolidated\x20report...','cucumber-js','error\x20removing\x20tcg\x20config\x20file','printBuildLink','push','\x20ambiguous','parseFormatters','sZevF','../../helpers/BrowserStackSetup','green','../../helpers/testhub/testhubHandler','then','bold','429836WewjTA','stepsPassed','iODjC','zdzlB','****\x20RESULTS\x20****','skipSessionStatus','../utils/constants','QhBBT','env','mergeOutputFiles','stringify','GrGrh','nuQGP','path','mRLvz','\x20skipped','afDzW','false','\x20passed','CUCUMBER','getUserWorkerCount','log','239574uOPEob','testObservability','red','stepsAmbiguous','createDir','removeDir','winstonLogger','turboScaleUrl','7532630dEZtTF','256211gRlGXq','scenariosFailed','format','config','isBrowserstackInfra','UhoDm','length','\x20pending','cucumber','tmp','launchBuild','exports','testContextOptions','yTHqI','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cCZuw','cwd','850383uFiMtK','getTCGConfigFilePaths','getPlatformName','scenarios'];a5_0x506e=function(){return _0x5901f5;};return a5_0x506e();}async function run(_0x40b785,_0x547107){const _0x289b47=a5_0x224e6f,_0x54b36f={'cCZuw':function(_0x28aeeb,_0x4539b3){return _0x28aeeb(_0x4539b3);},'nuQGP':function(_0x532c53,_0x2996ef){return _0x532c53>_0x2996ef;},'iODjC':_0x289b47(0xc6),'Uerep':_0x289b47(0x100),'kpBhr':_0x289b47(0xfa),'zdzlB':_0x289b47(0xc8),'SoMnj':_0x289b47(0xc7),'WvqKC':_0x289b47(0xfb),'dexvn':function(_0x7902a4,_0x2c02b9){return _0x7902a4>_0x2c02b9;},'eYSMK':function(_0x89f240,_0x254ca5){return _0x89f240-_0x254ca5;},'xtzIA':function(_0x943b99,_0x297ff6){return _0x943b99>=_0x297ff6;},'GPZfu':function(_0x325c43,_0x570f66){return _0x325c43!=_0x570f66;},'ygYvU':_0x289b47(0xe4),'gNLgF':function(_0x5da84d,_0x42040d,_0x4e3824,_0x393bdd,_0x5f0675,_0x16f951){return _0x5da84d(_0x42040d,_0x4e3824,_0x393bdd,_0x5f0675,_0x16f951);}},_0x5da683=new BrowserStackSetup(_0x40b785,_0x54b36f[_0x289b47(0xa3)]);await _0x5da683[_0x289b47(0x109)]();!helper[_0x289b47(0xf6)]()&&await _0x5da683[_0x289b47(0xa5)]();await helper['handleApp'](_0x5da683[_0x289b47(0xf5)]);const _0x387bc6=helper[_0x289b47(0xab)](_0x5da683[_0x289b47(0xf5)]),_0x3ef07f=helper['prepareCapabilities'](_0x5da683[_0x289b47(0xf5)],_0x387bc6,constants[_0x289b47(0xbc)][_0x289b47(0xe6)]);if(!_0x5da683[_0x289b47(0xf5)])return;const _0x51c8bc=_0x5da683[_0x289b47(0xf5)][_0x289b47(0xbb)]||helper[_0x289b47(0xe7)](_0x40b785,_0x547107,_0x5da683[_0x289b47(0xf5)],constants[_0x289b47(0xbc)][_0x289b47(0xe6)])||0x1,_0x1b65a4={'server':helper[_0x289b47(0xb6)](_0x5da683['config']),'proxySettings':_0x5da683[_0x289b47(0xf5)]['proxySettings'],'maxWorkers':_0x51c8bc,'browserStackLogLevel':_0x5da683['config'][_0x289b47(0xa9)],'skipSessionName':_0x5da683['config']['testContextOptions'][_0x289b47(0xc0)],'skipSessionStatus':_0x5da683[_0x289b47(0xf5)][_0x289b47(0xfe)][_0x289b47(0xd8)],'turboScaleUrl':_0x5da683[_0x289b47(0xf5)][_0x289b47(0xf0)]},_0xe9f8af=process['argv'],[_0xcb62d,_0x176a2e]=helper[_0x289b47(0xcc)](_0xe9f8af),_0x208bdd=path['join'](process[_0x289b47(0x102)](),_0x54b36f['WvqKC']);if(_0x54b36f[_0x289b47(0x111)](_0x176a2e[_0x289b47(0xf8)],0x0)){helper[_0x289b47(0xed)](_0x208bdd);for(let _0x1e8e37=_0x54b36f['eYSMK'](_0xcb62d[_0x289b47(0xf8)],0x1);_0x54b36f['xtzIA'](_0x1e8e37,0x0);_0x1e8e37--){_0xe9f8af[_0x289b47(0xaf)](_0xcb62d[_0x1e8e37],0x2);}}!helper[_0x289b47(0xb1)](_0x5da683['config'][_0x289b47(0xae)])&&(process[_0x289b47(0xdb)][_0x289b47(0xbe)]=JSON[_0x289b47(0xdd)](_0x5da683[_0x289b47(0xf5)][_0x289b47(0xae)]));_0x54b36f['GPZfu'](_0x5da683[_0x289b47(0xf5)]['testObservability'],null)?process[_0x289b47(0xdb)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5da683[_0x289b47(0xf5)][_0x289b47(0xea)]:process[_0x289b47(0xdb)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x54b36f[_0x289b47(0xa4)];const _0x2dbca6=await TestHubHandler[_0x289b47(0xfc)](constants[_0x289b47(0xbc)][_0x289b47(0xe6)],_0x5da683);helper[_0x289b47(0xb9)]();let _0x2dd74e;_0x54b36f['gNLgF'](parallelCucumberRun,_0x3ef07f,_0x1b65a4,_0x5da683[_0x289b47(0xf5)],_0xe9f8af,_0x176a2e)[_0x289b47(0xd1)](async _0x2d679c=>{const _0x151ed1=_0x289b47;_0x2dd74e=_0x2d679c;const _0x52b81e=_0x54b36f[_0x151ed1(0x101)](printCucumberStats,_0x2d679c);process['exitCode']=_0x52b81e,_0x54b36f[_0x151ed1(0xdf)](_0x176a2e[_0x151ed1(0xf8)],0x0)&&(logger['debug'](_0x54b36f[_0x151ed1(0xd5)]),helper[_0x151ed1(0xdc)](_0x208bdd,_0x176a2e),logger[_0x151ed1(0xb7)](_0x54b36f[_0x151ed1(0x110)]),helper[_0x151ed1(0xee)](_0x208bdd));})['finally'](async()=>{const _0x44033c=_0x289b47;_0x5da683[_0x44033c(0x10e)]=helper['getErrorMessageFromResults'](_0x2dd74e,_0x54b36f[_0x44033c(0xb5)]),testOpsHelper[_0x44033c(0xc9)]();try{await TestHubHandler[_0x44033c(0x10b)]();}catch(_0x351b20){logger[_0x44033c(0xb7)](_0x44033c(0xb2)+util[_0x44033c(0xf4)](_0x351b20));}try{const {browserstackFolderPath:_0x5a01d8,tcgConfigPath:_0x3969a1}=helper[_0x44033c(0x104)]();fs['unlinkSync'](_0x3969a1),fs[_0x44033c(0xa7)](_0x5a01d8);}catch(_0x5b7e30){logger[_0x44033c(0xb7)](_0x54b36f[_0x44033c(0xd6)],_0x5b7e30);}await utilities[_0x44033c(0xac)](_0x5da683);});}module[a5_0x224e6f(0xfd)]=run;
|