browserstack-node-sdk 1.34.4 → 1.34.6
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_0x2d473f=a1_0xb075;function a1_0x3417(){const _0x4beefc=['addRequestSpy','9403086vVMJtL','../../helpers/testhub/constants.js','stopMonitoring','test','performScan','uAdMb','comment','../../helpers/performance-tester','browserStackExecuteDriver','skipSessionName','titlePath','GDqxT','debug','contexts','DMtwX','codeceptjs/lib/recorder.js','HOOK_RUN_FINISHED','roBOt','Element','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','SyEzQ','bstackAllyScanning','warn','icbVh','passed','overwriteCommand','title','skipSessionStatus','Suite','ctx','QYRjj','TEST_RUN_FINISHED','bddStepStart','captureEvent','after','TEST_SCREENSHOT','bind','env','HBQBX','../../helpers/test-observability/utils','95GgWhBS','call','apply','Playwright','../../bin/playwright/sessionDetails','bwdDK','IQAzU','getResults','2160866ZHNlZM','ENV_VAR','prototype','__driver','codeceptjs/lib/helper/WebDriver.js','_before','HOOK_RUN_STARTED','find','initSaveScreenshot','rFbmz','captureError','add','testAnalyticsId','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NTTFf','pid','reason','catch','commandsToWrap','saveTestResults','dispatcher','bddStep','eZTRY','browserstack_executor:\x20','event','./helper.js','xLdoF','patch','LLFSW','start','JZbxC','step','TEST_RUN_STARTED','__workerDetails','util','hook','stringify','format','auLqU','shouldWrapCommand','getSyncScript','388824WGEezB','fireEvent','forEach','accessibilityPlatform','skipped','bddStepFinish','qCWEN','SJatu','../../helpers/accessibility-automation/helper','LTXde','startMonitoring','then','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','678997lIRSdr','6067656tLkZEq','name','saveScreenshot','failed','bs:addLog:','status','2709716vjUlPy','bKuDH','setSessionStatus','currentTest','JXEnO','enabled','gKmwm','getResultsSummary','WebDriver','before','helpers','wRvjG','codeceptjs/lib/index.js','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','winstonLogger','patchSaveScreenshot','WilSq','filter','../../helpers/accessibility-automation/scripts','toISOString','started','codeceptjs/lib/utils.js','QBtPd','slice','sqsIt','codeceptjs/lib/helper/Playwright.js','thBuildUuid','Puppeteer','thJwtToken','setSessionName','AXDhW','tpydT','IbWIG','all','executeScript','action','browser','vTFSE','container','../../helpers/request-spy','TEST_RUN_SKIPPED','3613971pfVIVw','constructor','MnpWd','arguments','../../helpers/helper','yhKdx','9mgEySy','INFO','class','BROWSERSTACK_TESTHUB_UUID'];a1_0x3417=function(){return _0x4beefc;};return a1_0x3417();}(function(_0x1765ca,_0xdbd031){const _0x15c0d1=a1_0xb075,_0xa8da36=_0x1765ca();while(!![]){try{const _0x373b2a=parseInt(_0x15c0d1(0x153))/0x1+-parseInt(_0x15c0d1(0x11d))/0x2+-parseInt(_0x15c0d1(0xe1))/0x3+parseInt(_0x15c0d1(0x15a))/0x4+-parseInt(_0x15c0d1(0x115))/0x5*(-parseInt(_0x15c0d1(0x146))/0x6)+parseInt(_0x15c0d1(0xec))/0x7+-parseInt(_0x15c0d1(0x154))/0x8*(parseInt(_0x15c0d1(0xe7))/0x9);if(_0x373b2a===_0xdbd031)break;else _0xa8da36['push'](_0xa8da36['shift']());}catch(_0x50e157){_0xa8da36['push'](_0xa8da36['shift']());}}}(a1_0x3417,0xd8a9d));function a1_0xb075(_0x456cf8,_0x4ff9c6){const _0x3417c1=a1_0x3417();return a1_0xb075=function(_0xb0755b,_0x31abb9){_0xb0755b=_0xb0755b-0xd2;let _0x3d81a5=_0x3417c1[_0xb0755b];return _0x3d81a5;},a1_0xb075(_0x456cf8,_0x4ff9c6);}const fs=require('fs'),util=require(a1_0x2d473f(0x13f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2d473f(0xe5)),logger=require('../../helpers/logger')[a1_0x2d473f(0x168)],testOpsHelper=require(a1_0x2d473f(0x114)),requestSpy=require(a1_0x2d473f(0xdf)),PlaywrightSessionDetails=require(a1_0x2d473f(0x119)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2d473f(0x14e)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2d473f(0x16c)),PerformanceTester=require(a1_0x2d473f(0xf3)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2d473f(0x136)),testHubConstants=require(a1_0x2d473f(0xed)),CodeceptJS=requireModule(a1_0x2d473f(0x166)),CodeceptUtils=requireModule(a1_0x2d473f(0x16f)),CodeceptWebDriver=requireModule(a1_0x2d473f(0x121)),CodeceptRecorder=requireModule(a1_0x2d473f(0xfb)),CodeceptPlaywright=requireModule(a1_0x2d473f(0x173)),playwrightMarkSessionStatus=(_0x2c31d5,_0x2842f3,_0x1496f1)=>{const _0x1ddae0=a1_0x2d473f,_0x4e7bea={'SJatu':_0x1ddae0(0x15c),'elWCe':function(_0x5c784a,_0x386acd){return _0x5c784a(_0x386acd);}},_0x195d71={};_0x195d71[_0x1ddae0(0x159)]=_0x2842f3;const _0x1b16a3={};_0x1b16a3[_0x1ddae0(0xdb)]=_0x4e7bea[_0x1ddae0(0x14d)],_0x1b16a3['arguments']=_0x195d71;const _0x419672=_0x1b16a3;return!_0x4e7bea['elWCe'](isUndefined,_0x1496f1)&&(_0x419672['arguments'][_0x1ddae0(0x12d)]=JSON[_0x1ddae0(0x141)](_0x1496f1)),_0x2c31d5[_0x1ddae0(0xda)](()=>{},_0x1ddae0(0x134)+JSON[_0x1ddae0(0x141)](_0x419672));},o11ySync=async _0x3e07ab=>{const _0x305868=a1_0x2d473f,_0xb40e3f={};_0xb40e3f[_0x305868(0xd6)]=function(_0x3c41eb,_0x593826){return _0x3c41eb===_0x593826;},_0xb40e3f[_0x305868(0x165)]=_0x305868(0x118);const _0x3a0988=_0xb40e3f;_0x3a0988[_0x305868(0xd6)](_0x3e07ab[_0x305868(0xe2)][_0x305868(0x155)],_0x3a0988[_0x305868(0x165)])?await _0x3e07ab[_0x305868(0xda)](_0x5dbe62=>{},testOpsHelper[_0x305868(0x145)]()):await _0x3e07ab[_0x305868(0xda)](testOpsHelper[_0x305868(0x145)]());},markSessionName=async(_0x2ab293,_0x3780f7)=>{const _0x675249=a1_0x2d473f,_0x576ba6={};_0x576ba6['WilSq']=_0x675249(0xd5),_0x576ba6[_0x675249(0xd8)]=function(_0xa6fa76,_0x46f9e9){return _0xa6fa76===_0x46f9e9;},_0x576ba6[_0x675249(0xf7)]=_0x675249(0x118);const _0x20e5fd=_0x576ba6,_0x4710b4={};_0x4710b4[_0x675249(0x155)]=_0x3780f7;const _0x3934c1={};_0x3934c1[_0x675249(0xdb)]=_0x20e5fd[_0x675249(0x16a)],_0x3934c1[_0x675249(0xe4)]=_0x4710b4;const _0x4c357a=_0x3934c1;_0x20e5fd[_0x675249(0xd8)](_0x2ab293[_0x675249(0xe2)][_0x675249(0x155)],_0x20e5fd['GDqxT'])?await _0x2ab293[_0x675249(0xda)](()=>{},_0x675249(0x134)+JSON[_0x675249(0x141)](_0x4c357a)):await _0x2ab293[_0x675249(0xda)]('browserstack_executor:\x20'+JSON['stringify'](_0x4c357a));},patchSaveScreenshot=_0x47394a=>{const _0x3039eb=a1_0x2d473f,_0x150674={'eZTRY':'base64','icbVh':_0x3039eb(0x110),'EpcRQ':function(_0x2b6ba4){return _0x2b6ba4();},'DMtwX':function(_0x4d5cd4,_0x21bc86){return _0x4d5cd4(_0x21bc86);}};_0x150674[_0x3039eb(0xfa)](isTrue,process[_0x3039eb(0x112)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x47394a[_0x3039eb(0x169)]&&(_0x47394a[_0x3039eb(0x169)]=!![],_0x47394a[_0x3039eb(0x125)]=_0x47394a[_0x3039eb(0x156)],_0x47394a[_0x3039eb(0x156)]=(_0x46d140,_0x41d264=![])=>{const _0x5d7512=_0x3039eb,_0x467ab5={'dIIKk':_0x150674[_0x5d7512(0x133)],'HBQBX':_0x150674[_0x5d7512(0x104)],'WjmxI':function(_0x2c85ac){return _0x150674['EpcRQ'](_0x2c85ac);}};return new Promise(function(_0x20bfdb,_0x84cdc4){const _0x68ab2e=_0x5d7512;_0x47394a[_0x68ab2e(0x125)](_0x46d140,_0x41d264)[_0x68ab2e(0x151)](()=>{const _0x377ef8=_0x68ab2e,_0x4596dc=CodeceptUtils['screenshotOutputFolder'](_0x46d140),_0x5b6b1d=fs['readFileSync'](_0x4596dc);process[_0x377ef8(0x100)](_0x377ef8(0x158)+process['pid'],{'timestamp':new Date()[_0x377ef8(0x16d)](),'message':_0x5b6b1d['toString'](_0x467ab5['dIIKk']),'kind':_0x467ab5[_0x377ef8(0x113)]}),_0x467ab5['WjmxI'](_0x20bfdb);})[_0x68ab2e(0x12e)](()=>null);});});},patchWebDriverBefore=_0x149d16=>{const _0x11d576=a1_0x2d473f,_0x2aa6c7={'vTFSE':function(_0x4858b3){return _0x4858b3();},'uAdMb':function(_0x385ecc,_0x49b614){return _0x385ecc(_0x49b614);},'JXEnO':function(_0x5b82ac,_0x10563b){return _0x5b82ac===_0x10563b;},'auLqU':_0x11d576(0xfe),'yhKdx':function(_0x3cd03c,_0x40ac38){return _0x3cd03c(_0x40ac38);}},_0x53e1dc=async function(_0x29e5ee,_0x15be98){const _0x5310a6=_0x11d576;return _0x2aa6c7[_0x5310a6(0xdd)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5310a6(0x149)]&&scripts[_0x5310a6(0x144)](_0x29e5ee[_0x5310a6(0x155)])&&_0x2aa6c7[_0x5310a6(0xf1)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5310a6(0x102)]=!![],logger[_0x5310a6(0xf8)]('Performing\x20scan\x20for\x20'+_0x29e5ee[_0x5310a6(0xe9)]+'\x20'+_0x29e5ee[_0x5310a6(0x155)]),await AccessibilityHelper[_0x5310a6(0xf4)](_0x149d16,scripts[_0x5310a6(0xf0)])),global[_0x5310a6(0x102)]=![],_0x15be98[_0x5310a6(0x117)](this,Array[_0x5310a6(0x11f)][_0x5310a6(0x171)][_0x5310a6(0x116)](arguments,0x2));},_0x17ee87=CodeceptWebDriver[_0x11d576(0x11f)]['_before'];CodeceptWebDriver[_0x11d576(0x11f)]['_before']=async function(){const _0x4f2fff=_0x11d576,_0x3e8b35={'LTXde':function(_0xcbb745,_0xa4a583){const _0x4138fd=a1_0xb075;return _0x2aa6c7[_0x4138fd(0x15e)](_0xcbb745,_0xa4a583);},'IQAzU':_0x2aa6c7[_0x4f2fff(0x143)]};await _0x17ee87['apply'](this,arguments),scripts[_0x4f2fff(0x12f)][_0x4f2fff(0x16b)](_0x57daac=>_0x57daac[_0x4f2fff(0x155)]&&_0x57daac[_0x4f2fff(0xe9)])[_0x4f2fff(0x148)](_0xa9a93b=>{const _0x2a1328=_0x4f2fff;this[_0x2a1328(0xdc)][_0x2a1328(0x106)](_0xa9a93b[_0x2a1328(0x155)],_0x53e1dc[_0x2a1328(0x111)](this,_0xa9a93b),_0x3e8b35[_0x2a1328(0x14f)](_0xa9a93b[_0x2a1328(0xe9)],_0x3e8b35[_0x2a1328(0x11b)]));}),_0x2aa6c7[_0x4f2fff(0xe6)](processWebDriverConfig,_0x149d16);};},patchPlaywrightBefore=()=>{const _0x1310ca=a1_0x2d473f;PlaywrightSessionDetails[_0x1310ca(0x138)]();const _0x2162cf=CodeceptPlaywright[_0x1310ca(0x11f)]['_before'];CodeceptPlaywright['prototype'][_0x1310ca(0x122)]=async function(){const _0x352243=_0x1310ca;this['browserContext']=await this[_0x352243(0xdc)][_0x352243(0xf9)]()[0x0],await _0x2162cf[_0x352243(0x117)](this,arguments);};},getCodeceptDriver=()=>{const _0x8fe220=a1_0x2d473f,_0x2a7294={};_0x2a7294[_0x8fe220(0x14c)]=_0x8fe220(0x162),_0x2a7294[_0x8fe220(0x12b)]='Playwright',_0x2a7294[_0x8fe220(0x139)]=_0x8fe220(0xd3),_0x2a7294[_0x8fe220(0x11a)]='TestCafe';const _0x59f871=_0x2a7294,_0x35ff2e=[_0x59f871[_0x8fe220(0x14c)],_0x59f871[_0x8fe220(0x12b)],_0x59f871['LLFSW'],_0x59f871['bwdDK']],_0x2dad69=_0x35ff2e[_0x8fe220(0x124)](_0x5218e4=>!!CodeceptJS[_0x8fe220(0xde)][_0x8fe220(0x164)](_0x5218e4));if(!_0x2dad69)return null;return CodeceptJS['container']['helpers'](_0x2dad69);};module['exports']=function(_0x2b6980){const _0x228a4b=a1_0x2d473f,_0x2a17d0={'rFbmz':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','JWviT':_0x228a4b(0x12a),'SyEzQ':function(_0x282255){return _0x282255();},'gKmwm':function(_0x1e9e37){return _0x1e9e37();},'QYRjj':function(_0x1fae7f,_0x27b5b2){return _0x1fae7f(_0x27b5b2);},'GrfqC':function(_0x431768,_0x1ac328,_0x41fa7b){return _0x431768(_0x1ac328,_0x41fa7b);},'sqsIt':function(_0x1d2d9e,_0x28498c){return _0x1d2d9e(_0x28498c);},'roBOt':function(_0x5e457d){return _0x5e457d();},'MnpWd':function(_0x4d1c2f,_0x522a25,_0x4d497f){return _0x4d1c2f(_0x522a25,_0x4d497f);},'tpydT':function(_0x296d03){return _0x296d03();},'JZbxC':function(_0x51c02c,_0x3cef78,_0x514d27,_0x2b7ed6){return _0x51c02c(_0x3cef78,_0x514d27,_0x2b7ed6);},'QBtPd':function(_0x13018c,_0x573935){return _0x13018c===_0x573935;},'xLdoF':_0x228a4b(0x109),'CNUun':_0x228a4b(0x167),'bKuDH':_0x228a4b(0xe8),'OLePl':'TEST_LOG','oJpzG':_0x228a4b(0x118)};_0x2b6980[_0x228a4b(0x108)]&&(global['__skipSessionStatus']=_0x2b6980[_0x228a4b(0x108)]);PerformanceTester[_0x228a4b(0x150)]();const _0x5241e5=_0x2a17d0[_0x228a4b(0xfd)](getCodeceptDriver),_0x2f8767=new O11yHelper(_0x5241e5,_0x2b6980),_0x4f4670=!!CodeceptJS[_0x228a4b(0xde)]['helpers'](_0x2a17d0['oJpzG']);global[_0x228a4b(0x120)]=_0x5241e5,_0x5241e5&&(_0x4f4670?_0x2a17d0['tpydT'](patchPlaywrightBefore):_0x2a17d0[_0x228a4b(0x10b)](patchWebDriverBefore,_0x5241e5),_0x5241e5['getAccessibilityResultsSummary']=async()=>{const _0x1cdd1b=_0x228a4b;if(global[_0x1cdd1b(0x149)])await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts['performScan']),await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts[_0x1cdd1b(0x161)]);else return logger[_0x1cdd1b(0x103)](_0x2a17d0[_0x1cdd1b(0x126)]),{};},_0x5241e5['getAccessibilityResults']=async()=>{const _0x76c2ff=_0x228a4b;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x76c2ff(0xf4)](_0x5241e5,scripts[_0x76c2ff(0xf0)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5241e5,scripts[_0x76c2ff(0x11c)]);else return logger[_0x76c2ff(0x103)](_0x2a17d0['JWviT']),{};},_0x2a17d0[_0x228a4b(0x10b)](patchSaveScreenshot,_0x5241e5)),CodeceptJS[_0x228a4b(0x135)]['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x163)],()=>{const _0x47d0fb=_0x228a4b;try{_0x2f8767[_0x47d0fb(0x13a)](),testOpsHelper[_0x47d0fb(0xeb)]();}catch(_0xcf588e){PerformanceTester[_0x47d0fb(0x127)](_0xcf588e);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x10f)],async()=>{const _0x49aaea=_0x228a4b;try{requestSpy['restore'](),await _0x2f8767['stop']();}catch(_0x140595){PerformanceTester['captureError'](_0x140595);}finally{PerformanceTester[_0x49aaea(0xee)]();}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0x140)][_0x228a4b(0x16e)],_0x572225=>{const _0x4e0180=_0x228a4b;try{const _0x1f827a=_0x572225['ctx'][_0x4e0180(0xef)],_0x12df2c=_0x2f8767[_0x4e0180(0x10e)](TEST_EVENTS[_0x4e0180(0x123)],_0x1f827a);CodeceptRecorder['add'](()=>_0x2f8767[_0x4e0180(0x147)](TEST_EVENTS[_0x4e0180(0x123)],_0x12df2c));}catch(_0x2730fe){PerformanceTester[_0x4e0180(0x127)](_0x2730fe);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x105)],_0x24ba1f=>{const _0x56118f=_0x228a4b;try{const _0x248e18=_0x24ba1f[_0x56118f(0x10a)]['test'],_0x3dcf90=_0x2f8767[_0x56118f(0x10e)](TEST_EVENTS[_0x56118f(0xfc)],_0x248e18);CodeceptRecorder[_0x56118f(0x128)](()=>_0x2f8767[_0x56118f(0x147)](TEST_EVENTS[_0x56118f(0xfc)],_0x3dcf90));}catch(_0x28cfc3){PerformanceTester['captureError'](_0x28cfc3);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x157)],async(_0x547b98,_0x33b1d0)=>{const _0x289d5c=_0x228a4b;try{const _0x1c544b=_0x547b98[_0x289d5c(0x10a)][_0x289d5c(0xef)],_0x48a8c6=_0x2f8767[_0x289d5c(0x10e)](TEST_EVENTS[_0x289d5c(0xfc)],_0x1c544b,_0x33b1d0);CodeceptRecorder[_0x289d5c(0x128)](()=>_0x2f8767[_0x289d5c(0x147)](TEST_EVENTS[_0x289d5c(0xfc)],_0x48a8c6));}catch(_0x556001){PerformanceTester['captureError'](_0x556001);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x163)],_0x4ef928=>{const _0x3479c1=_0x228a4b;try{_0x2a17d0[_0x3479c1(0x101)](isBrowserstackInfra)&&(_0x4f4670&&(global[_0x3479c1(0x13e)]={'currentTest':{'name':_0x4ef928[_0x3479c1(0x107)],'testInfo':{'titlePath':_0x4ef928[_0x3479c1(0xf6)]()}}}));}catch(_0x2505e8){PerformanceTester['captureError'](_0x2505e8);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x16e)],_0x4a2945=>{const _0x61b310=_0x228a4b;try{const _0x4992a1=_0x2f8767['captureEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4a2945);CodeceptRecorder[_0x61b310(0x128)](()=>_0x2f8767['fireEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4992a1)),CodeceptRecorder[_0x61b310(0x128)](async()=>{const _0xb8761b=_0x61b310;_0x2a17d0[_0xb8761b(0x160)](isBrowserstackInfra)&&(!_0x2a17d0[_0xb8761b(0x10b)](isTrue,_0x2b6980[_0xb8761b(0xf5)])&&await _0x2a17d0['GrfqC'](markSessionName,_0x5241e5,_0x4a2945[_0xb8761b(0x107)]),_0x2f8767[_0xb8761b(0x15f)]&&await _0x2a17d0[_0xb8761b(0x172)](o11ySync,_0x5241e5));});}catch(_0x5b8869){PerformanceTester[_0x61b310(0x127)](_0x5b8869);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)]['passed'],_0x2a3ca3=>{const _0x47681c=_0x228a4b;try{const _0x57449d=_0x2f8767[_0x47681c(0x10e)](TEST_EVENTS[_0x47681c(0x10c)],_0x2a3ca3);CodeceptRecorder[_0x47681c(0x128)](()=>_0x2f8767[_0x47681c(0x147)](TEST_EVENTS[_0x47681c(0x10c)],_0x57449d)),CodeceptRecorder[_0x47681c(0x128)](async()=>{const _0x5d7657=_0x47681c;_0x2a17d0[_0x5d7657(0xfd)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x5d7657(0xe3)](playwrightMarkSessionStatus,_0x5241e5,STATE_PASSED):await _0x2a17d0[_0x5d7657(0xe3)](markSessionStatus,_0x5241e5,STATE_PASSED));});}catch(_0x4f0482){PerformanceTester[_0x47681c(0x127)](_0x4f0482);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x157)],(_0x9c542d,_0x558e7d)=>{const _0x315bf7=_0x228a4b;try{if(_0x2a17d0[_0x315bf7(0x170)](_0x9c542d[_0x315bf7(0xe2)][_0x315bf7(0x155)],_0x2a17d0[_0x315bf7(0x137)])){const _0x54a205=_0x2f8767['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9c542d[_0x315bf7(0x10a)][_0x315bf7(0x15d)]);CodeceptRecorder[_0x315bf7(0x128)](()=>_0x2f8767[_0x315bf7(0x147)](TEST_EVENTS[_0x315bf7(0xe0)],_0x54a205));}else{const _0x337dc5=_0x2f8767['captureEvent'](TEST_EVENTS[_0x315bf7(0x10c)],_0x9c542d,_0x558e7d);CodeceptRecorder[_0x315bf7(0x128)](()=>{const _0xb74083=_0x315bf7;try{_0x2f8767[_0xb74083(0x147)](TEST_EVENTS[_0xb74083(0x10c)],_0x337dc5);}catch(_0x45a595){logger[_0xb74083(0xf8)](_0xb74083(0x152)+util[_0xb74083(0x142)](_0x45a595));}}),CodeceptRecorder['add'](async()=>{const _0x4de3c1=_0x315bf7;try{_0x2a17d0[_0x4de3c1(0xd7)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x4de3c1(0x13b)](playwrightMarkSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d):await _0x2a17d0[_0x4de3c1(0x13b)](markSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d));}catch(_0x1d15c0){logger[_0x4de3c1(0xf8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4de3c1(0x142)](_0x1d15c0));}});}}catch(_0xde9bff){PerformanceTester[_0x315bf7(0x127)](_0xde9bff);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x14a)],_0x350b00=>{const _0x503b1a=_0x228a4b;try{const _0xea220=_0x2f8767[_0x503b1a(0x10e)](TEST_EVENTS[_0x503b1a(0xe0)],_0x350b00);CodeceptRecorder['add'](()=>_0x2f8767[_0x503b1a(0x147)](TEST_EVENTS[_0x503b1a(0xe0)],_0xea220));}catch(_0x234e40){PerformanceTester[_0x503b1a(0x127)](_0x234e40);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x10f)],async(_0x36b256,_0x43c162)=>{const _0x1af331=_0x228a4b;try{if(_0x2a17d0[_0x1af331(0x101)](isBrowserstackInfra)){const _0x5cea74=_0x2a17d0['GrfqC'](shouldScanTestForAccessibility,_0x36b256[_0x1af331(0xf6)](),!![]);if(_0x2a17d0[_0x1af331(0x101)](isAccessibilityAutomationSession)&&global[_0x1af331(0x149)]&&_0x5cea74){const _0x2e5091={};_0x2e5091['thTestRunUuid']=_0x36b256[_0x1af331(0x129)],_0x2e5091[_0x1af331(0xd2)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)][_0x1af331(0xea)]],_0x2e5091[_0x1af331(0xd4)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x13a87f=_0x2e5091;logger[_0x1af331(0xf8)](_0x1af331(0xff)+JSON[_0x1af331(0x141)](_0x13a87f)),CodeceptRecorder[_0x1af331(0x128)](async()=>{const _0x401df9=_0x1af331;await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0xf0)]),await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0x130)],_0x13a87f);}),logger['info'](_0x2a17d0['CNUun']);}}}catch(_0xb6dfe4){PerformanceTester[_0x1af331(0x127)](_0xb6dfe4);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x13c)][_0x228a4b(0xf2)],_0x40867b=>{const _0x4e45f6=_0x228a4b;try{process[_0x4e45f6(0x100)](_0x4e45f6(0x158)+process[_0x4e45f6(0x12c)],{'timestamp':new Date()[_0x4e45f6(0x16d)](),'level':_0x2a17d0[_0x4e45f6(0x15b)],'message':_0x40867b,'kind':_0x2a17d0['OLePl'],'http_response':{}});}catch(_0x82879){PerformanceTester[_0x4e45f6(0x127)](_0x82879);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)]['bddStep'][_0x228a4b(0x163)],_0x59c9e4=>{const _0x50d1ea=_0x228a4b;_0x2f8767[_0x50d1ea(0x10d)](_0x59c9e4);}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x132)][_0x228a4b(0x10f)],_0xdd5a67=>{const _0x4726d7=_0x228a4b;_0x2f8767[_0x4726d7(0x14b)](_0xdd5a67);});};
|
|
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x1f2c(_0x214f67,_0x575f4c){const _0x5cf41b=a2_0x5cf4();return a2_0x1f2c=function(_0x1f2c4c,_0x46384b){_0x1f2c4c=_0x1f2c4c-0x1d5;let _0x2ef901=_0x5cf41b[_0x1f2c4c];return _0x2ef901;},a2_0x1f2c(_0x214f67,_0x575f4c);}const a2_0x54f2a5=a2_0x1f2c;(function(_0x526996,_0x5d623a){const _0x21acef=a2_0x1f2c,_0x52d574=_0x526996();while(!![]){try{const _0x396fdc=-parseInt(_0x21acef(0x232))/0x1*(-parseInt(_0x21acef(0x1e0))/0x2)+parseInt(_0x21acef(0x213))/0x3*(parseInt(_0x21acef(0x257))/0x4)+parseInt(_0x21acef(0x225))/0x5+-parseInt(_0x21acef(0x244))/0x6+parseInt(_0x21acef(0x22a))/0x7+-parseInt(_0x21acef(0x20e))/0x8+-parseInt(_0x21acef(0x24b))/0x9*(parseInt(_0x21acef(0x20f))/0xa);if(_0x396fdc===_0x5d623a)break;else _0x52d574['push'](_0x52d574['shift']());}catch(_0x54136c){_0x52d574['push'](_0x52d574['shift']());}}}(a2_0x5cf4,0x86f0f));const fs=require('fs'),path=require(a2_0x54f2a5(0x208)),util=require(a2_0x54f2a5(0x1d8)),process=require(a2_0x54f2a5(0x226)),logger=require(a2_0x54f2a5(0x230))[a2_0x54f2a5(0x252)],{default:BrowserStackSetup}=require(a2_0x54f2a5(0x234)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x54f2a5(0x256)),{setAccessibilityCapabilities}=require(a2_0x54f2a5(0x214)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x54f2a5(0x1f3)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x54f2a5(0x22c)),TestHubHandler=require(a2_0x54f2a5(0x215)),constants=require(a2_0x54f2a5(0x237)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4b66ca,_0x5b402e)=>{const _0x3e4615=a2_0x54f2a5,_0x3a3e17={};_0x3a3e17[_0x3e4615(0x1e4)]=function(_0x2de4c7,_0x349edd){return _0x2de4c7===_0x349edd;},_0x3a3e17[_0x3e4615(0x1ec)]='codecept.conf.js',_0x3a3e17[_0x3e4615(0x204)]='codecept.json';const _0x3315db=_0x3a3e17;let _0x2b6b6d=null;const _0x262b3d={};let _0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x2a3ff0=>_0x2a3ff0===_0x3e4615(0x24d));_0x3315db['RJlqr'](_0x2cdda4,-0x1)&&(_0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x5a1eb4=>_0x5a1eb4==='-c'));if(!helper[_0x3e4615(0x201)](_0x4b66ca[_0x3e4615(0x23b)])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)]),_0x5b402e['slice'](_0x2cdda4,0x2);else{if(!helper['isUndefined'](_0x4b66ca['c'])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c'])))_0x2b6b6d=path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c']),_0x5b402e[_0x3e4615(0x24c)](_0x2cdda4,0x2);else{if(fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db['ggVHs'])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x1ec)]);else fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x204)]))&&(_0x2b6b6d=path[_0x3e4615(0x21b)](process['cwd'](),_0x3315db['ABQZX']));}}return _0x2b6b6d;},getO11yRerunPattern=()=>{const _0x223430=a2_0x54f2a5,_0x28182f={};_0x28182f[_0x223430(0x1f2)]=function(_0x3dd600,_0xe146f2){return _0x3dd600!==_0xe146f2;},_0x28182f[_0x223430(0x227)]=_0x223430(0x242);const _0x550428=_0x28182f,_0x2defdf=helper[_0x223430(0x1e3)](process[_0x223430(0x1f4)][_0x223430(0x25b)]);if(_0x2defdf){const _0x4b81a2=process[_0x223430(0x1f4)][_0x223430(0x22f)],_0x426639=[];if(_0x550428['YEhnG'](_0x4b81a2,_0x550428[_0x223430(0x227)])&&!helper[_0x223430(0x201)](_0x4b81a2)){_0x4b81a2[_0x223430(0x1f1)](',')['map'](_0x2dcc09=>{const _0x2ba990=_0x223430;_0x426639[_0x2ba990(0x260)]('('+_0x2dcc09[_0x2ba990(0x221)]()+')');});const _0x21e061='^'+_0x426639['join']('|')+'$';return _0x21e061;}}return null;},a2_0x174b4a={};a2_0x174b4a[a2_0x54f2a5(0x1fd)]='chromium',a2_0x174b4a[a2_0x54f2a5(0x222)]=a2_0x54f2a5(0x20d),a2_0x174b4a[a2_0x54f2a5(0x206)]=a2_0x54f2a5(0x1f0),a2_0x174b4a['playwright-webkit']=a2_0x54f2a5(0x231);function a2_0x5cf4(){const _0x489c8b=['0|4|1|2|3','chrome','RwgrO','cwd','test','isUndefined','spawn','helpers','ABQZX','WebDriver','playwright-firefox','DkcXQ','path','EfvNh','getPlatformName','Playwright','WncXd','chromium','6129376YpWwOr','10730aOhgUr','kOcPA','stop','existsSync','179286YWroKN','../../bin/playwright/accessibility-helper','../../helpers/testhub/testhubHandler','VvevE','addConfig','IxNhZ','LKBlZ','profile','join','parallelsPerPlatform','browserStackCwd','eYgAZ','DTWoB','testObservability','trim','playwright-chromium','Passed\x20:\x20','printBuildLink','3846505aXLTjE','process','CYkNw','debug','title','4834151uDLPkZ','testContextOptions','../../helpers/test-observability/utils','NIoMo','plugins','BROWSERSTACK_RERUN_TESTS','../../helpers/logger','webkit','495297jzDRLZ','frameworkName','../../helpers/BrowserStackSetup','-cucumber','FRAMEWORKS','../utils/constants','platforms','IcedB','err','config','VPjPN','desiredCapabilities','all','validPlatformsPresent','Failed\x20:\x20','browserName','null','BROWSERSTACK_TEST_ACCESSIBILITY_YML','4499166PlTvIF','NRYxg','JilUW','accessibility','bijUw','BrowserStackPlugin.js','chdir','7569aHzFOW','slice','--config','eZZpH','printResults','skipSessionStatus','gherkin','winstonLogger','handleApp','result','stack','../../helpers/accessibility-automation/helper','68CyZWRf','skipSessionName','CODECEPT','NnaTe','BROWSERSTACK_RERUN','root','log','accessibilityOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','browserWSEndpoint','prepareCapabilities','mergeDeep','require','info','Started\x20:\x20','util','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','bootstrapAll','getUserWorkerCount','dirname','useW3C','MYKcD','browser','2gSrCEO','errorMessage','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTrue','RJlqr','iKGUE','failed','before','LIfUh','BROWSERSTACK_TEST_OBSERVABILITY_YML','BrowserStackPlugin','RWWno','ggVHs','findIndex','getPlaywrightUrl','teardownAll','firefox','split','YEhnG','../../helpers/helper','env','testConfig','event','ZJZQD','exports','jTfom','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Workers'];a2_0x5cf4=function(){return _0x489c8b;};return a2_0x5cf4();}const pwToCodeceptBrowser=a2_0x174b4a;async function run(_0x4c0fcf,_0x17917e){const _0x1cacee=a2_0x54f2a5,_0x53c536={'EfvNh':function(_0x2398f8,_0x26d880){return _0x2398f8+_0x26d880;},'jTfom':function(_0x332b90,_0x3d8bcd){return _0x332b90(_0x3d8bcd);},'eZZpH':function(_0x48199d,_0x516e77,_0x482b9d){return _0x48199d(_0x516e77,_0x482b9d);},'kOcPA':_0x1cacee(0x23b),'DTWoB':'helpers','JilUW':function(_0x440fb4){return _0x440fb4();},'NRYxg':_0x1cacee(0x240),'NIoMo':_0x1cacee(0x223),'RwgrO':_0x1cacee(0x1d7),'iKGUE':_0x1cacee(0x1fc),'ZJZQD':'codeceptjs','VPjPN':function(_0x2f829d,_0x58f27b){return _0x2f829d(_0x58f27b);},'eNEQc':_0x1cacee(0x1e2),'DkcXQ':function(_0x588656,_0x428908,_0xe73f8){return _0x588656(_0x428908,_0xe73f8);},'LKBlZ':_0x1cacee(0x20b),'jxSXT':_0x1cacee(0x205),'Hheua':function(_0x31fbfe,_0x3e819e){return _0x31fbfe!=_0x3e819e;},'bijUw':'false','IxNhZ':_0x1cacee(0x251),'LIfUh':_0x1cacee(0x235),'WncXd':function(_0x332f1e,_0x5d8929){return _0x332f1e(_0x5d8929);},'LwAxY':function(_0x465802,_0x49c2a1){return _0x465802*_0x49c2a1;},'MYKcD':function(_0x104a2b,_0x4e92e3,_0x131680){return _0x104a2b(_0x4e92e3,_0x131680);},'NnaTe':_0x1cacee(0x1df),'eYgAZ':_0x1cacee(0x23d),'RWWno':_0x1cacee(0x25c),'IcedB':_0x1cacee(0x249),'VvevE':_0x1cacee(0x21d)},_0x53f4c6=new BrowserStackSetup(_0x4c0fcf,_0x53c536[_0x1cacee(0x1f7)]);await _0x53f4c6['initialize'](),await helper[_0x1cacee(0x253)](_0x53f4c6[_0x1cacee(0x23b)]);if(!_0x53f4c6['config'])return;process['profile']=_0x4c0fcf[_0x1cacee(0x21a)];_0x4c0fcf[_0x1cacee(0x21a)]&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x21a)]=_0x4c0fcf['profile']);const _0x4951ca=_0x53c536[_0x1cacee(0x24e)](getUserCodeceptJSConfigs,_0x4c0fcf,_0x17917e);let _0x4bf174={};_0x4951ca?(logger[_0x1cacee(0x1d6)](_0x1cacee(0x25f)+_0x4951ca),_0x4bf174=_0x53c536[_0x1cacee(0x23c)](require,_0x4951ca)):logger[_0x1cacee(0x1d6)](_0x53c536['eNEQc']);let _0x51e0c2=![];_0x53c536[_0x1cacee(0x207)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x21f)],_0x53c536['LKBlZ']])&&(_0x51e0c2=!![]);const _0x5d50e4=_0x51e0c2?_0x53c536[_0x1cacee(0x219)]:_0x53c536['jxSXT'];let _0x1f8dad=!_0x51e0c2?helper[_0x1cacee(0x1dd)](_0x53f4c6['config']):![];!helper[_0x1cacee(0x201)](_0x53f4c6[_0x1cacee(0x23b)]['accessibilityOptions'])&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x1fa)]=JSON['stringify'](_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x25e)]));let _0xaf6ebb=_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x247)];_0xaf6ebb=_0xaf6ebb||_0x53c536[_0x1cacee(0x23c)](checkAccessibilityPlatformConfig,_0x53f4c6[_0x1cacee(0x23b)]),process[_0x1cacee(0x1f4)][_0x1cacee(0x243)]=_0xaf6ebb;_0xaf6ebb&&(_0x1f8dad=!_0xaf6ebb);_0x53c536['Hheua'](_0x53f4c6[_0x1cacee(0x23b)]['testObservability'],null)?process[_0x1cacee(0x1f4)][_0x1cacee(0x1e9)]=_0x53f4c6['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x53c536[_0x1cacee(0x248)];const _0x9a9a51=_0x53c536[_0x1cacee(0x209)](_0x53c536[_0x1cacee(0x1f7)],_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x218)]])?_0x53c536[_0x1cacee(0x1e8)]:''),_0x2260f8=await TestHubHandler['launchBuild'](_0x9a9a51,_0x53f4c6);_0xaf6ebb&&_0x53c536[_0x1cacee(0x20c)](setAccessibilityCapabilities,_0x53f4c6[_0x1cacee(0x23b)]);const _0x4b852e={},_0x12a872=[],_0x35f267=_0x53f4c6['config'][_0x1cacee(0x21c)]||helper[_0x1cacee(0x1db)](_0x4c0fcf,_0x17917e,_0x53f4c6[_0x1cacee(0x23b)],constants[_0x1cacee(0x236)][_0x1cacee(0x259)])||0x1;let _0x280a4e=0x1;if(_0x53c536['JilUW'](isBrowserstackInfra)){const _0x32e260=helper['prepareCapabilities'](_0x53f4c6[_0x1cacee(0x23b)],_0x1f8dad,constants[_0x1cacee(0x236)][_0x1cacee(0x259)]);helper[_0x1cacee(0x23f)](_0x53f4c6[_0x1cacee(0x23b)])?_0x280a4e=_0x53c536['LwAxY'](_0x35f267,_0x53f4c6['config'][_0x1cacee(0x238)]['length']):_0x280a4e=_0x35f267,_0x32e260['forEach'](_0x39e778=>{const _0x15fe45=_0x1cacee,_0x209cdf=_0x53c536[_0x15fe45(0x209)](helper[_0x15fe45(0x20a)](_0x39e778,'_'),'_'+Date['now']()),_0x2e7eb5=((()=>{const _0x3d01a0=_0x15fe45;if(_0x51e0c2){const _0x3de65d=pwToCodeceptBrowser[_0x39e778[_0x3d01a0(0x241)]]||_0x39e778[_0x3d01a0(0x241)];return{'browser':_0x3de65d,[_0x3de65d]:{'browserWSEndpoint':_0x53c536[_0x3d01a0(0x209)](helper[_0x3d01a0(0x1ee)](_0x53f4c6[_0x3d01a0(0x23b)]),_0x53c536[_0x3d01a0(0x1f9)](encodeURIComponent,JSON['stringify'](_0x39e778)))}};}const _0x2ea153={};return _0x2ea153[_0x3d01a0(0x23d)]=_0x39e778,_0x2ea153;})()),_0x567eab=_0x53c536['eZZpH'](nestedKeyValue,_0x4bf174,[_0x53c536[_0x15fe45(0x210)],_0x53c536[_0x15fe45(0x21f)],_0x5d50e4]);_0x4b852e[_0x209cdf]=_0x567eab?helper[_0x15fe45(0x263)](_0x2e7eb5,_0x567eab):_0x2e7eb5,!_0x51e0c2&&(_0x4b852e[_0x209cdf][_0x15fe45(0x1df)]=_0x39e778['browserName']||_0x2e7eb5[_0x15fe45(0x1df)]),_0x12a872[_0x15fe45(0x260)](_0x209cdf);});}else{_0x280a4e=0x1;if(_0x51e0c2){const _0x5d4abe=_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536[_0x1cacee(0x25a)]]),_0x25cee9=_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x5d4abe]);_0x25cee9&&_0x25cee9[_0x1cacee(0x261)]&&(_0x25cee9['browserWSEndpoint']=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),null,null,_0x25cee9[_0x1cacee(0x261)]));}else _0x4bf174[_0x1cacee(0x23b)][_0x53c536[_0x1cacee(0x21f)]][_0x5d50e4][_0x53c536[_0x1cacee(0x21e)]]=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536['eYgAZ']]),null,null);_0x4b852e[_0x53c536[_0x1cacee(0x1eb)]]=_0x4bf174['config'],_0x12a872[_0x1cacee(0x260)](_0x53c536['RWWno']);}const _0x47e91c={};_0x47e91c[_0x1cacee(0x1f5)]=_0x4951ca;const _0x4442b2=_0x47e91c,_0x171def=path[_0x1cacee(0x21b)](__dirname,_0x53c536[_0x1cacee(0x239)]),_0x58f409=process[_0x1cacee(0x1ff)]();process[_0x1cacee(0x1f4)][_0x53c536[_0x1cacee(0x216)]]=_0x58f409,process[_0x1cacee(0x24a)](path[_0x1cacee(0x1dc)](_0x4951ca));const _0x43ac9e=new CodeceptJS[(_0x1cacee(0x1fb))](null,_0x4442b2),_0x52b1b4=_0x43ac9e['createGroupsOfSuites'](_0x280a4e),_0x557c6e=testOpsHelper['isTestObservabilitySession'](),_0x1d3ffa=_0x12a872['map'](_0x5e29bb=>{const _0x4b3822=_0x1cacee,_0x48d169={};_0x48d169[_0x4b3822(0x20b)]=_0x4b852e[_0x5e29bb];const _0x511bf9={};_0x511bf9[_0x4b3822(0x205)]=_0x4b852e[_0x5e29bb];const _0x189e1c=_0x51e0c2?_0x48d169:_0x511bf9,_0x47e06e=_0x53c536[_0x4b3822(0x246)](getO11yRerunPattern),_0x2dc415={};_0x2dc415[_0x4b3822(0x203)]=_0x189e1c;const _0x4df9ad={};_0x4df9ad[_0x4b3822(0x1d5)]=_0x171def,_0x4df9ad['enabled']=!![],_0x4df9ad[_0x4b3822(0x258)]=_0x53f4c6['config'][_0x4b3822(0x22b)][_0x4b3822(0x258)],_0x4df9ad['skipSessionStatus']=_0x53f4c6[_0x4b3822(0x23b)][_0x4b3822(0x22b)][_0x4b3822(0x250)],_0x4df9ad[_0x4b3822(0x220)]=_0x557c6e,_0x4df9ad[_0x4b3822(0x233)]=_0x9a9a51;const _0x495bed={};_0x495bed[_0x4b3822(0x1ea)]=_0x4df9ad;const _0x191ff8={};return _0x191ff8[_0x4b3822(0x22e)]=_0x495bed,helper[_0x4b3822(0x263)]({},_0x4bf174[_0x4b3822(0x23b)],_0x53c536[_0x4b3822(0x246)](isBrowserstackInfra)?_0x2dc415:{},_0x47e06e?{'grep':_0x47e06e}:{},_0x191ff8);});for(const _0x263ae6 of _0x1d3ffa){for(const _0x24c7a7 of _0x52b1b4){const _0x2dfe60=_0x43ac9e[_0x1cacee(0x202)]();_0x2dfe60['addTests'](_0x24c7a7),_0x2dfe60[_0x1cacee(0x217)](_0x263ae6);}}_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)]['test'][_0x1cacee(0x1e6)],(_0x51c7b2,_0x7efaeb)=>{const _0xc4f6c6=_0x1cacee;console[_0xc4f6c6(0x25d)](_0x53c536[_0xc4f6c6(0x245)],_0x51c7b2[_0xc4f6c6(0x229)]);const _0x2c50a8={[_0x51c7b2[_0xc4f6c6(0x229)]]:_0x51c7b2[_0xc4f6c6(0x23a)][_0xc4f6c6(0x255)]};_testErrorData[_0xc4f6c6(0x260)](_0x2c50a8);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x200)]['passed'],async _0x32ca49=>{const _0x7f079=_0x1cacee;console['log'](_0x53c536[_0x7f079(0x22d)],_0x32ca49[_0x7f079(0x229)]);}),_0x43ac9e['on'](CodeceptJS['event'][_0x1cacee(0x200)][_0x1cacee(0x1e7)],async _0x492c98=>{const _0x5012b7=_0x1cacee;console[_0x5012b7(0x25d)](_0x53c536[_0x5012b7(0x1fe)],_0x492c98[_0x5012b7(0x229)]);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x23e)][_0x1cacee(0x254)],async()=>{const _0x4450b7=_0x1cacee,_0x43eaa7=_0x53c536[_0x4450b7(0x1e5)][_0x4450b7(0x1f1)]('|');let _0x8bd2cb=0x0;while(!![]){switch(_0x43eaa7[_0x8bd2cb++]){case'0':_0x53f4c6[_0x4450b7(0x1e1)]=_testErrorData;continue;case'1':utilities['finalExecution'](_0x53f4c6);continue;case'2':try{await TestHubHandler[_0x4450b7(0x211)]();}catch(_0x454979){logger[_0x4450b7(0x228)](_0x4450b7(0x1d9)+util['format'](_0x454979));}continue;case'3':_0x43ac9e[_0x4450b7(0x24f)]();continue;case'4':testOpsHelper[_0x4450b7(0x224)]();continue;}break;}});async function _0x1c4183(){const _0x49d377=_0x1cacee;try{await _0x43ac9e[_0x49d377(0x1da)](),await _0x43ac9e['run']();}finally{process[_0x49d377(0x24a)](_0x58f409),await _0x43ac9e[_0x49d377(0x1ef)]();}}_0x53c536['JilUW'](_0x1c4183);}module[a2_0x54f2a5(0x1f8)]=run;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x18db(_0x270a6f,_0x69fdf2){const _0x4447bc=a3_0x4447();return a3_0x18db=function(_0x18db83,_0x43084a){_0x18db83=_0x18db83-0x16c;let _0x42f7f4=_0x4447bc[_0x18db83];return _0x42f7f4;},a3_0x18db(_0x270a6f,_0x69fdf2);}const a3_0xa4381=a3_0x18db;(function(_0x58154d,_0x491f21){const _0x593452=a3_0x18db,_0x118c53=_0x58154d();while(!![]){try{const _0x513be5=parseInt(_0x593452(0x19b))/0x1*(parseInt(_0x593452(0x1af))/0x2)+-parseInt(_0x593452(0x1a5))/0x3*(-parseInt(_0x593452(0x17a))/0x4)+parseInt(_0x593452(0x16d))/0x5*(parseInt(_0x593452(0x19d))/0x6)+parseInt(_0x593452(0x1a7))/0x7*(parseInt(_0x593452(0x183))/0x8)+-parseInt(_0x593452(0x198))/0x9*(-parseInt(_0x593452(0x179))/0xa)+-parseInt(_0x593452(0x1c0))/0xb+-parseInt(_0x593452(0x1a8))/0xc;if(_0x513be5===_0x491f21)break;else _0x118c53['push'](_0x118c53['shift']());}catch(_0x4ff910){_0x118c53['push'](_0x118c53['shift']());}}}(a3_0x4447,0x1e864));const {isUndefined,nestedKeyValue}=require(a3_0xa4381(0x1a2)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0xa4381(0x1a4)),getOSVersionFromCaps=_0x551270=>{const _0x2be8d7=a3_0xa4381,_0x304bac={};_0x304bac[_0x2be8d7(0x174)]='bstack:options',_0x304bac[_0x2be8d7(0x1a6)]=_0x2be8d7(0x16c),_0x304bac['INJwQ']=_0x2be8d7(0x190),_0x304bac[_0x2be8d7(0x182)]=_0x2be8d7(0x1b0),_0x304bac[_0x2be8d7(0x18d)]='os_version';const _0x254aea=_0x304bac;if(!_0x551270)return null;const _0x19e5dd=_0x551270[_0x254aea[_0x2be8d7(0x174)]],_0xf7ca52=[_0x254aea[_0x2be8d7(0x1a6)],_0x254aea[_0x2be8d7(0x193)],_0x254aea['BfABU'],_0x254aea['Venkk']];for(const _0x2e01e2 of _0xf7ca52){if(_0x19e5dd&&_0x19e5dd[_0x2e01e2])return _0x19e5dd[_0x2e01e2];else{if(_0x551270[_0x2e01e2])return _0x551270[_0x2e01e2];}}return null;};exports[a3_0xa4381(0x1b7)]=_0x5b16fc=>{const _0x54c482=a3_0xa4381,_0x301156={'aWdSR':_0x54c482(0x1b6),'RmmXM':function(_0x290bbc,_0x49ccba){return _0x290bbc===_0x49ccba;},'Donxw':_0x54c482(0x18f),'hknDP':function(_0x29b624,_0x2c1141){return _0x29b624(_0x2c1141);},'rRCwM':function(_0x5bd5a0,_0x13c33d,_0x167674){return _0x5bd5a0(_0x13c33d,_0x167674);},'vbhxo':_0x54c482(0x189),'sdnRA':_0x54c482(0x180),'azzdi':function(_0x35a926,_0x44eaeb){return _0x35a926===_0x44eaeb;},'CezzK':_0x54c482(0x1a3),'iAdzs':_0x54c482(0x18e),'soBfX':_0x54c482(0x1bd),'RsLOG':_0x54c482(0x192),'iKcAU':_0x54c482(0x16f),'rvLMk':function(_0x3a361b,_0x48d843){return _0x3a361b===_0x48d843;},'bXNfE':_0x54c482(0x184),'FQBDR':_0x54c482(0x181),'oxcWr':_0x54c482(0x19a),'exTCX':_0x54c482(0x1ab),'RnwaV':function(_0x5c2a22,_0x2b6b1f){return _0x5c2a22===_0x2b6b1f;}};if(!_0x5b16fc)return null;let _0x3bcf7c=global[_0x54c482(0x19e)]||_0x301156['aWdSR'];if(_0x301156[_0x54c482(0x187)](_0x5b16fc[_0x54c482(0x186)][_0x54c482(0x1ac)],_0x301156[_0x54c482(0x16e)])){const _0x47657f=_0x5b16fc['browser'];if(!_0x47657f)return null;const _0x13e07a=_0x47657f[_0x54c482(0x1a0)],_0x52c8e9=_0x301156[_0x54c482(0x1b5)](getOSVersionFromCaps,_0x301156[_0x54c482(0x199)](nestedKeyValue,_0x5b16fc,[_0x301156[_0x54c482(0x1be)],_0x301156['sdnRA']]));return{[_0x3bcf7c]:{'browser':_0x13e07a[_0x54c482(0x1a9)],'browser_version':_0x13e07a[_0x54c482(0x176)],'capabilities':_0x13e07a,'platform':_0x13e07a['platformName'],'platform_version':_0x13e07a[_0x54c482(0x16c)]||_0x52c8e9,'product':_0x301156['azzdi'](global[_0x54c482(0x19e)],_0x301156[_0x54c482(0x18a)])?_0x13e07a[_0x301156[_0x54c482(0x178)]]||_0x13e07a[_0x301156[_0x54c482(0x1aa)]]?_0x301156[_0x54c482(0x17e)]:_0x301156[_0x54c482(0x1b2)]:null,'session_id':_0x47657f[_0x54c482(0x17b)]}};}else{if(_0x301156[_0x54c482(0x1c2)](_0x5b16fc['constructor'][_0x54c482(0x1ac)],_0x301156[_0x54c482(0x19c)])){const _0x252f15=PlaywrightSessionDetails[_0x54c482(0x1b8)]();_0x3bcf7c=_0x252f15[_0x54c482(0x18c)]||_0x3bcf7c;const _0x1ef450=_0x301156[_0x54c482(0x199)](nestedKeyValue,_0x5b16fc,[_0x301156[_0x54c482(0x1be)],_0x301156[_0x54c482(0x175)],_0x301156[_0x54c482(0x1a1)]]),_0x134f35=_0x1ef450?JSON[_0x54c482(0x17d)](new URL(_0x1ef450)[_0x54c482(0x1b4)][_0x54c482(0x188)](_0x301156[_0x54c482(0x195)])):{};return{[_0x3bcf7c]:{'browser':_0x252f15[_0x54c482(0x181)]||_0x134f35['browserName'],'browser_version':_0x252f15[_0x54c482(0x1c1)]||_0x134f35[_0x54c482(0x1c1)],'capabilities':_0x134f35,'platform':_0x252f15[_0x54c482(0x1bc)],'platform_version':_0x252f15[_0x54c482(0x190)],'product':_0x301156['RnwaV'](global[_0x54c482(0x19e)],_0x301156[_0x54c482(0x18a)])?_0x134f35[_0x301156[_0x54c482(0x178)]]||_0x134f35[_0x301156[_0x54c482(0x1aa)]]?_0x301156[_0x54c482(0x17e)]:_0x301156[_0x54c482(0x1b2)]:null,'session_id':_0x252f15[_0x54c482(0x1b1)]}};}}},exports[a3_0xa4381(0x1ae)]=_0x2a72b6=>{const _0x73128e=a3_0xa4381,_0x5364a8={'iyeFD':function(_0x6d471a){return _0x6d471a();},'RWerU':function(_0x446501,_0x47ac3d){return _0x446501===_0x47ac3d;},'KKOqq':'latest','HTxwD':function(_0xfc1285,_0x2cb65d){return _0xfc1285>_0x2cb65d;},'WFypy':function(_0x163ba7,_0xc46be3){return _0x163ba7(_0xc46be3);},'MXLdd':_0x73128e(0x1b3),'hlWeO':function(_0x14e0b4,_0x241e00){return _0x14e0b4===_0x241e00;},'KECZK':_0x73128e(0x1b9),'olDxV':'playwright-chromium','yWYSI':_0x73128e(0x191),'kuOOA':_0x73128e(0x170)};if(_0x5364a8['iyeFD'](isAccessibilityAutomationSession)){const _0x50f89a=_0x2a72b6[_0x73128e(0x181)],_0x1f50b2=_0x50f89a[_0x73128e(0x1a0)];global['accessibilityPlatform']=!![],!(_0x5364a8[_0x73128e(0x185)](_0x1f50b2[_0x73128e(0x176)],_0x5364a8['KKOqq'])||_0x5364a8[_0x73128e(0x173)](_0x5364a8[_0x73128e(0x194)](parseInt,_0x1f50b2[_0x73128e(0x176)]),0x5e))&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x17c)]),global[_0x73128e(0x172)]=![]),!(_0x5364a8['hlWeO'](_0x1f50b2[_0x73128e(0x1a9)],_0x5364a8[_0x73128e(0x1bf)])||_0x5364a8[_0x73128e(0x185)](_0x1f50b2['browserName'],_0x5364a8[_0x73128e(0x19f)]))&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x171)]),global[_0x73128e(0x172)]=![]),!_0x5364a8[_0x73128e(0x194)](isUndefined,_0x1f50b2[_0x73128e(0x1ba)])&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x177)]),global[_0x73128e(0x172)]=![]);}},exports[a3_0xa4381(0x196)]=_0x4d7f40=>{const _0x27ca92=a3_0xa4381,_0x4b8ef3={};_0x4b8ef3[_0x27ca92(0x1ad)]='browserstack_executor',_0x4b8ef3[_0x27ca92(0x17f)]=_0x27ca92(0x18b);const _0x55fbfb=_0x4b8ef3;if(!_0x4d7f40)return![];return!_0x4d7f40[_0x27ca92(0x1bb)](_0x55fbfb['XWPfP'])&&!_0x4d7f40[_0x27ca92(0x1bb)](_0x55fbfb[_0x27ca92(0x17f)]);};function a3_0x4447(){const _0x45d1db=['browserName','soBfX','caps','name','XWPfP','processWebDriverConfig','998WucGaG','osVersion','bsSessionId','iKcAU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','searchParams','hknDP','unknown_grid','fetchPlatformDetails','getDetails','chrome','deviceName','includes','platform','app','vbhxo','KECZK','1998667goqrVr','browser_version','rvLMk','platformVersion','811945vBqAaP','Donxw','automate','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','yWYSI','accessibilityPlatform','HTxwD','Uesab','FQBDR','browserVersion','kuOOA','iAdzs','725590aVOWRm','679468JaSvBZ','sessionId','MXLdd','parse','RsLOG','tQVlU','desiredCapabilities','browser','BfABU','8jsWiPs','Playwright','RWerU','constructor','RmmXM','get','config','CezzK','browserstack_accessibility_automation_script','cloudProvider','Venkk','appium:app','WebDriver','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','app-automate','INJwQ','WFypy','exTCX','shouldPatchExecuteScript','warn','18iYhjYR','rRCwM','browserWSEndpoint','242ROsIvo','bXNfE','6awGXUC','__cloud_provider___','olDxV','capabilities','oxcWr','../../helpers/helper','browserstack','../../helpers/accessibility-automation/helper','3vTiqLF','ETuSi','632380KEzimU','4580964xSBxer'];a3_0x4447=function(){return _0x45d1db;};return a3_0x4447();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x3290a7=a4_0x5bed;(function(_0x29a11d,_0xf30ba1){const _0x798db=a4_0x5bed,_0x23e65c=_0x29a11d();while(!![]){try{const _0x1fc61d=parseInt(_0x798db(0x19c))/0x1+-parseInt(_0x798db(0xdc))/0x2+parseInt(_0x798db(0x17f))/0x3*(parseInt(_0x798db(0x179))/0x4)+-parseInt(_0x798db(0xd1))/0x5+-parseInt(_0x798db(0x1b7))/0x6+-parseInt(_0x798db(0x158))/0x7+parseInt(_0x798db(0x17d))/0x8;if(_0x1fc61d===_0xf30ba1)break;else _0x23e65c['push'](_0x23e65c['shift']());}catch(_0x2f3fdd){_0x23e65c['push'](_0x23e65c['shift']());}}}(a4_0x2cf1,0x187a8));function a4_0x5bed(_0x54855b,_0xdf027a){const _0x2cf175=a4_0x2cf1();return a4_0x5bed=function(_0x5bed58,_0x554b2f){_0x5bed58=_0x5bed58-0xcb;let _0x254f0d=_0x2cf175[_0x5bed58];return _0x254f0d;},a4_0x5bed(_0x54855b,_0xdf027a);}const path=require(a4_0x3290a7(0x139)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3290a7(0xce)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3290a7(0xd0)),testOpsHelper=require(a4_0x3290a7(0x11f)),{getTestEnv}=require(a4_0x3290a7(0x19e)),{FRAMEWORKS}=require(a4_0x3290a7(0x133)),logger=require('../../helpers/logger')[a4_0x3290a7(0x1a1)],SessionHandler=require(a4_0x3290a7(0x1b0)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x3290a7(0x157)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3290a7(0xee)),{fetchPlatformDetails}=require(a4_0x3290a7(0xe7)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3290a7(0x19f),STATE_FAILED=a4_0x3290a7(0x13a),a4_0x156e7f={};a4_0x156e7f[a4_0x3290a7(0xe9)]=a4_0x3290a7(0x18a),a4_0x156e7f[a4_0x3290a7(0x121)]=a4_0x3290a7(0xf1),a4_0x156e7f[a4_0x3290a7(0x169)]='TestRunSkipped',a4_0x156e7f[a4_0x3290a7(0xf7)]=a4_0x3290a7(0x196),a4_0x156e7f['HOOK_RUN_FINISHED']=a4_0x3290a7(0x127);const TEST_EVENTS=a4_0x156e7f,parseEvent=_0x51c5bd=>{const _0x197a70=a4_0x3290a7,_0x3f1cac={};_0x3f1cac[_0x197a70(0x102)]=function(_0x430848,_0x266e8d){return _0x430848<_0x266e8d;},_0x3f1cac['DnRhp']=function(_0x321f30,_0x45e34a){return _0x321f30===_0x45e34a;},_0x3f1cac[_0x197a70(0x198)]=_0x197a70(0x10f),_0x3f1cac['yPYYX']=_0x197a70(0x16c),_0x3f1cac[_0x197a70(0x146)]=_0x197a70(0x150),_0x3f1cac[_0x197a70(0xcc)]=function(_0x4bf32f,_0xffdee6){return _0x4bf32f===_0xffdee6;},_0x3f1cac[_0x197a70(0x140)]=_0x197a70(0x1a5),_0x3f1cac[_0x197a70(0x11d)]=_0x197a70(0xfa);const _0x3abec3=_0x3f1cac,_0x3a9271=_0x51c5bd[_0x197a70(0x1ab)](/^(.*)Run(.*)$/);if(!_0x3a9271)return null;if(_0x3abec3[_0x197a70(0x102)](_0x3a9271[_0x197a70(0x135)],0x3))return null;const _0x137c5a=_0x3a9271[0x1][_0x197a70(0x10e)](),_0xfd5278=_0x3a9271[0x2]['toLowerCase']();return{'test':_0x3abec3['DnRhp'](_0x137c5a,_0x3abec3[_0x197a70(0x198)]),'hook':_0x3abec3[_0x197a70(0x1b1)](_0x137c5a,_0x3abec3[_0x197a70(0xfc)]),'skipped':_0x3abec3[_0x197a70(0x1b1)](_0xfd5278,_0x3abec3['CBcuB']),'started':_0x3abec3[_0x197a70(0xcc)](_0xfd5278,_0x3abec3[_0x197a70(0x140)]),'finished':_0x3abec3['mWEEf'](_0xfd5278,_0x3abec3[_0x197a70(0x11d)])};},mockPWBrowserType=_0x3879ac=>{const _0x4c02ce=a4_0x3290a7,_0x4780ae={'YVYeJ':function(_0x47579c,_0x1a44ab,_0x56671a){return _0x47579c(_0x1a44ab,_0x56671a);},'WYdlR':_0x4c02ce(0x149),'jTwRv':function(_0xaa3702,_0x26ffef){return _0xaa3702(_0x26ffef);},'cMRvx':_0x4c02ce(0x1a4),'lIwAx':function(_0x20c34c,_0xd51341){return _0x20c34c===_0xd51341;},'XZRqN':_0x4c02ce(0x1a8),'JAhQN':_0x4c02ce(0xe3),'kyOXE':_0x4c02ce(0x11c),'nYgTI':'browserType.js','HWVci':function(_0x255211,_0xdecd2e){return _0x255211(_0xdecd2e);},'jYQis':function(_0x4c36d7,_0xf92021){return _0x4c36d7(_0xf92021);},'BVraY':'Not\x20able\x20to\x20import\x20Browser','eXxVx':_0x4c02ce(0x17c),'qMsXb':_0x4c02ce(0x1b5)},_0x4cda32=path[_0x4c02ce(0x12c)](_0x4780ae[_0x4c02ce(0x176)],_0x4780ae['kyOXE'],_0x4780ae['nYgTI']),_0x124dd7=_0x4780ae[_0x4c02ce(0xf0)](importFileFromPWCore,_0x4cda32);if(!_0x124dd7){_0x4780ae['jYQis'](debug,_0x4780ae[_0x4c02ce(0x161)]);return;}const _0x41229d=_0x124dd7['BrowserType'],_0xa13ce6=_0x41229d['prototype'];if(_0xa13ce6['obsBrowserTypeMockApplied'])return;const _0x249d62=_0xa13ce6[_0x4c02ce(0x17c)];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae[_0x4c02ce(0x118)],{'get':function(){const _0x58ffc1={'oaKTO':function(_0x415ccf,_0xfedae3){const _0x4f7c03=a4_0x5bed;return _0x4780ae[_0x4f7c03(0xd2)](_0x415ccf,_0xfedae3);},'mWVLX':_0x4780ae['XZRqN']};return async function _0x35174e(_0x3b83b8,_0x3c25a5){const _0x525596=a4_0x5bed,_0x5715aa=_0x4780ae['YVYeJ'](nestedKeyValue,_0x3b83b8,[_0x4780ae[_0x525596(0xf9)]])||_0x3b83b8;let _0x30dfeb=null,_0x1e6cfe=null;try{[_0x1e6cfe,_0x30dfeb]=_0x5715aa?_0x4780ae['jTwRv'](parseWSEndpoint,_0x5715aa):[null,null],global[_0x525596(0x1a6)]=_0x30dfeb,_0x1e6cfe[_0x525596(0x11a)](_0x4780ae['cMRvx'])&&(global['__cloud_provider___']=_0x4780ae[_0x525596(0xd4)]);}catch(_0x33435f){logger[_0x525596(0x157)](_0x525596(0x17a)+_0x5715aa+'\x20'+_0x33435f);}_0x4780ae[_0x525596(0xe2)](processAccessibilityCaps,_0x30dfeb,_0x1e6cfe);if(global[_0x525596(0xf6)]){const _0x228a86=await _0xa13ce6[_0x525596(0x197)][_0x525596(0x14b)](this,[''+Constants[_0x525596(0x132)]+_0x4780ae[_0x525596(0x1ad)](encodeURIComponent,JSON['stringify'](_0x30dfeb))]);return PlaywrightSessionDetails[_0x525596(0x174)](_0x228a86,_0x3879ac,_0x5715aa),_0x228a86;}return _0x249d62[_0x525596(0x14b)](this,arguments)[_0x525596(0x192)](_0x1fb5a1=>{const _0x117def=_0x525596;let _0x293ab6=_0x3b83b8[_0x117def(0x149)];return _0x58ffc1[_0x117def(0x126)](typeof _0x3b83b8,_0x58ffc1['mWVLX'])&&(_0x293ab6=_0x3b83b8),PlaywrightSessionDetails[_0x117def(0x174)](_0x1fb5a1,_0x3879ac,_0x293ab6),_0x1fb5a1;});};}});const _0x246e00=_0xa13ce6['launch'];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae['qMsXb'],{'get':function(){return async function _0x3efe1a(){const _0x263a0b=a4_0x5bed;return _0x246e00[_0x263a0b(0x14b)](this,arguments)[_0x263a0b(0x192)](_0x7fe7f1=>{const _0x595b74=_0x263a0b;return PlaywrightSessionDetails[_0x595b74(0x174)](_0x7fe7f1,null),_0x7fe7f1;});};}});};class O11yHelper{[a4_0x3290a7(0xf5)]=null;[a4_0x3290a7(0x11e)]=null;[a4_0x3290a7(0xd6)]=![];[a4_0x3290a7(0x188)]=![];constructor(_0x3d1549,_0x42ba91){const _0x1422c3=a4_0x3290a7,_0xfcda91={'KORku':_0x1422c3(0xe0),'apdhz':function(_0x55b99b,_0x407dca){return _0x55b99b===_0x407dca;},'kiWKi':_0x1422c3(0xed),'bSTEu':function(_0x3225c9,_0x3fe73d){return _0x3225c9(_0x3fe73d);},'zbYsc':function(_0x192a76){return _0x192a76();},'aGXpF':function(_0x5ee285){return _0x5ee285();}},_0x1c7904=_0xfcda91[_0x1422c3(0x13f)][_0x1422c3(0x190)]('|');let _0x1d9d55=0x0;while(!![]){switch(_0x1c7904[_0x1d9d55++]){case'0':this[_0x1422c3(0x104)]=_0x3d1549;continue;case'1':this[_0x1422c3(0x188)]=_0x42ba91[_0x1422c3(0x188)];continue;case'2':this['_paths']=new testOpsHelper[(_0x1422c3(0xec))]({'cwd':process[_0x1422c3(0x183)]()},this[_0x1422c3(0x186)][_0x1422c3(0x1a9)]);continue;case'3':this[_0x1422c3(0x104)]&&_0xfcda91['apdhz'](this[_0x1422c3(0x104)][_0x1422c3(0x147)][_0x1422c3(0x152)],_0xfcda91[_0x1422c3(0x19d)])&&_0xfcda91[_0x1422c3(0x109)](mockPWBrowserType,null);continue;case'4':this[_0x1422c3(0x186)]=_0xfcda91['zbYsc'](getTestEnv);continue;case'5':this[_0x1422c3(0xd6)]=_0xfcda91[_0x1422c3(0x125)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3290a7(0x180)](){const _0xd972d=a4_0x3290a7;if(!this[_0xd972d(0xd6)])return;testOpsHelper[_0xd972d(0x12d)](),process['removeAllListeners'](_0xd972d(0x11b)+process[_0xd972d(0xd5)]),process['on'](_0xd972d(0x11b)+process[_0xd972d(0xd5)],this[_0xd972d(0x113)][_0xd972d(0xd8)](this));}async[a4_0x3290a7(0x14d)](){const _0x7471d7=a4_0x3290a7;await RequestQueueHandler[_0x7471d7(0xd7)]()[_0x7471d7(0x101)]();}async[a4_0x3290a7(0x113)](_0x39c436){const _0x36e981=a4_0x3290a7,_0x3a0015={'MtXBx':_0x36e981(0xdb),'UlBTc':function(_0x379107,_0x485258){return _0x379107(_0x485258);}};try{this[_0x36e981(0x11e)]&&!this[_0x36e981(0x11e)][_0x36e981(0xfb)]&&(_0x39c436['hook_run_uuid']=this[_0x36e981(0x11e)]['hookAnalyticsId']);!_0x39c436[_0x36e981(0x1a3)]&&this[_0x36e981(0xf5)]&&!this[_0x36e981(0xf5)][_0x36e981(0xfb)]&&(_0x39c436[_0x36e981(0x10a)]=this[_0x36e981(0xf5)][_0x36e981(0x171)]);if(_0x39c436['hook_run_uuid']||_0x39c436[_0x36e981(0x10a)]){const _0x40f3a0={};_0x40f3a0['event_type']=_0x3a0015[_0x36e981(0x1b6)],_0x40f3a0[_0x36e981(0x112)]=[_0x39c436],await SessionHandler[_0x36e981(0x116)](_0x40f3a0);}}catch(_0x4cf18b){_0x3a0015[_0x36e981(0xfe)](debug,_0x36e981(0x1b8)+_0x4cf18b);}}async['sendCBTInfo'](_0xff7167){const _0x439db5=a4_0x3290a7,_0x32a353={'PcgPI':_0x439db5(0x193),'vDvRw':function(_0x2afc1c,_0x4b7d94){return _0x2afc1c(_0x4b7d94);}};if(!this[_0x439db5(0xd6)])return;const _0x4518bd=this['getCBTInfo'](this[_0x439db5(0x104)]);try{const _0x57496c={};_0x57496c[_0x439db5(0xce)]=_0xff7167,_0x57496c[_0x439db5(0xde)]=_0x4518bd;const _0x48a004=_0x57496c,_0x4364f0={};_0x4364f0[_0x439db5(0x1ac)]=_0x32a353[_0x439db5(0x16a)],_0x4364f0[_0x439db5(0x13b)]=_0x48a004,await SessionHandler['uploadEventData'](_0x4364f0);}catch(_0x1c7952){_0x32a353['vDvRw'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1c7952);}}[a4_0x3290a7(0x159)](_0x4856ae){const _0x168c39=a4_0x3290a7,_0x124336={'whJJs':function(_0x518523,_0xd4117f){return _0x518523(_0xd4117f);}};return _0x124336[_0x168c39(0x1b2)](fetchPlatformDetails,_0x4856ae);}[a4_0x3290a7(0x114)]=_0x1a3428=>{const _0xea6317=a4_0x3290a7,_0x3d11c2={};_0x3d11c2[_0xea6317(0xda)]=_0xea6317(0x16e),_0x3d11c2['ZfXbV']=_0xea6317(0x12f);const _0x265449=_0x3d11c2;if(!_0x1a3428||!_0x1a3428[_0xea6317(0x19b)])return;[_0x265449['SQAiT'],_0x265449[_0xea6317(0x170)]][_0xea6317(0x18c)](_0x51ef62=>{const _0x5453da=_0xea6317,_0x399735=_0x1a3428[_0x5453da(0x19b)][_0x51ef62];_0x399735[_0x5453da(0x18c)](_0x489256=>{const _0x5b5ddc=_0x5453da;_0x489256['hookAnalyticsId']&&(_0x489256[_0x5b5ddc(0x100)]=null);});});};[a4_0x3290a7(0x19a)](_0x4bf1e9){const _0x7c660=a4_0x3290a7,_0x13886d={'sadNV':_0x7c660(0xcb),'eJQxc':function(_0x236f88){return _0x236f88();},'XvdMv':function(_0x5deb3a,_0x1e8c61){return _0x5deb3a===_0x1e8c61;},'EvqTu':'_afterEach','rUIkh':_0x7c660(0x115),'Naovs':'_afterAll','atdAk':_0x7c660(0x16e)};if(!_0x4bf1e9||!_0x4bf1e9[_0x7c660(0x19b)])return;[_0x13886d[_0x7c660(0x155)],_0x13886d[_0x7c660(0x173)],_0x13886d[_0x7c660(0x18b)],_0x13886d['EvqTu']]['forEach'](_0x3fbb73=>{const _0x589d21=_0x7c660,_0x309653={'ndSqg':_0x13886d[_0x589d21(0xef)],'lsvkU':function(_0x45e301){const _0x5b3158=_0x589d21;return _0x13886d[_0x5b3158(0xf2)](_0x45e301);},'KHcua':function(_0x25ec18,_0x2fd05e){const _0x280b09=_0x589d21;return _0x13886d[_0x280b09(0x1b4)](_0x25ec18,_0x2fd05e);},'IJbYH':_0x13886d['EvqTu']},_0x417514=_0x4bf1e9[_0x589d21(0x19b)][_0x3fbb73]||[];_0x417514[_0x589d21(0x18c)](_0x4bc036=>{const _0x5c4898=_0x589d21;if(_0x4bc036[_0x5c4898(0x128)][_0x5c4898(0x11a)](_0x309653[_0x5c4898(0xfd)]))return;if(!_0x4bc036[_0x5c4898(0x100)])_0x4bc036[_0x5c4898(0x100)]=_0x309653[_0x5c4898(0x187)](uuidv4);else _0x4bc036[_0x5c4898(0xfb)]&&_0x309653['KHcua'](_0x3fbb73,_0x309653[_0x5c4898(0x103)])&&(_0x4bc036['hookAnalyticsId']=_0x309653[_0x5c4898(0x187)](uuidv4),delete _0x4bc036['markedStatus']);});}),this['mapTestHooks'](_0x4bf1e9['parent']);}['getHooksForTest'](_0x39efbe){const _0x3bc1e6=a4_0x3290a7,_0x1a77b5={};_0x1a77b5['CpbCU']='_beforeAll',_0x1a77b5[_0x3bc1e6(0x111)]=_0x3bc1e6(0x1a2),_0x1a77b5[_0x3bc1e6(0xe6)]=_0x3bc1e6(0x16e),_0x1a77b5[_0x3bc1e6(0x15a)]=_0x3bc1e6(0x12f);const _0xd9c411=_0x1a77b5;if(!_0x39efbe||!_0x39efbe[_0x3bc1e6(0x19b)])return[];const _0x4d7ea8=[];return[_0xd9c411['CpbCU'],_0xd9c411['iXZbp'],_0xd9c411[_0x3bc1e6(0xe6)],_0xd9c411[_0x3bc1e6(0x15a)]][_0x3bc1e6(0x18c)](_0x34294a=>{const _0x560632=_0x3bc1e6,_0x5d6cf2=_0x39efbe[_0x560632(0x19b)][_0x34294a]||[];_0x5d6cf2[_0x560632(0x18c)](_0x277754=>{const _0xc60f1a=_0x560632;_0x277754[_0xc60f1a(0x100)]&&_0x4d7ea8['push'](_0x277754[_0xc60f1a(0x100)]);});}),[][_0x3bc1e6(0x122)](_0x4d7ea8,this['getHooksForTest'](_0x39efbe[_0x3bc1e6(0x19b)]));}[a4_0x3290a7(0x105)](_0x2bb861){const _0x4e2a99=a4_0x3290a7,_0x581171=/^"(?<hook>.*)" hook:.*$/,_0x576619=_0x2bb861[_0x4e2a99(0x128)],_0x5cfb6a=_0x576619['match'](_0x581171);if(_0x5cfb6a&&_0x5cfb6a['groups'])return _0x5cfb6a[_0x4e2a99(0x175)][_0x4e2a99(0x16c)][_0x4e2a99(0x137)]()[_0x4e2a99(0x17b)]('\x20','_');return null;}[a4_0x3290a7(0x156)](_0x4a029c){const _0x51f3a5=a4_0x3290a7,_0x5dfbf5={};_0x5dfbf5[_0x51f3a5(0x14f)]=function(_0xd9bf21,_0x41e94c){return _0xd9bf21===_0x41e94c;},_0x5dfbf5[_0x51f3a5(0x178)]=function(_0x9de925,_0x4b2ab4){return _0x9de925===_0x4b2ab4;},_0x5dfbf5[_0x51f3a5(0x151)]=_0x51f3a5(0x148),_0x5dfbf5[_0x51f3a5(0xeb)]=_0x51f3a5(0x134);const _0x24397f=_0x5dfbf5,_0x3fa8d6=path[_0x51f3a5(0x168)];if(_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,null)||_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,'')||_0x24397f[_0x51f3a5(0x178)](_0x4a029c,_0x3fa8d6))return null;try{return fs[_0x51f3a5(0x182)](path[_0x51f3a5(0x12c)](_0x4a029c,_0x24397f['BNBdJ'],_0x24397f[_0x51f3a5(0xeb)])),_0x4a029c;}catch(_0x4a9b3d){const _0x182c80=path['dirname'](_0x4a029c);return this[_0x51f3a5(0x156)](_0x182c80);}}['getRootParentFile'](_0x2c1f92){const _0x5da05e=a4_0x3290a7,_0x424957={};_0x424957[_0x5da05e(0x119)]=function(_0x416460,_0x2c11dc){return _0x416460>_0x2c11dc;};const _0x3c121d=_0x424957;if(_0x2c1f92[_0x5da05e(0x1b3)])return _0x2c1f92['file'];if(_0x2c1f92[_0x5da05e(0x130)]){const _0x4b3e08=_0x2c1f92[_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92['ctx']['currentTest']):null;if(_0x4b3e08)return _0x4b3e08;}if(_0x2c1f92[_0x5da05e(0x19b)]){const _0x1b56a8=this['getRootParentFile'](_0x2c1f92[_0x5da05e(0x19b)])||(_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]['currentTest']):null);if(_0x1b56a8)return _0x1b56a8;_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)]&&_0x3c121d[_0x5da05e(0x119)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x135)],0x0)&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x18c)](_0x42b9c7=>{const _0x1fb481=_0x5da05e,_0x16ce90=_0x42b9c7[_0x1fb481(0x130)]?this[_0x1fb481(0xe4)](_0x42b9c7[_0x1fb481(0x130)]):null;if(_0x16ce90)return _0x16ce90;});}return null;}['getHierarchy'](_0xe7b163){const _0xb2fd11=a4_0x3290a7,_0x45c9ff={};_0x45c9ff[_0xb2fd11(0xcf)]=function(_0x22dbbe,_0x4e0b75){return _0x22dbbe!==_0x4e0b75;};const _0x215dde=_0x45c9ff,_0x51a38c=[];if(_0xe7b163&&_0xe7b163['parent']){let _0x4e30d3=_0xe7b163[_0xb2fd11(0x19b)];while(_0x4e30d3&&_0x215dde[_0xb2fd11(0xcf)](_0x4e30d3['title'],'')){_0x51a38c[_0xb2fd11(0xd3)](_0x4e30d3['title']),_0x4e30d3=_0x4e30d3['parent'];}}return _0x51a38c;}[a4_0x3290a7(0x18e)](_0x1280e8,_0x56c2a1,_0x14e91c=undefined){const _0x507b9f=a4_0x3290a7,_0x5b9045={'XaVBL':function(_0x29a7bc,_0xbe7fb5){return _0x29a7bc(_0xbe7fb5);},'mpaAL':function(_0x1f925c){return _0x1f925c();},'SqpxA':function(_0x199493){return _0x199493();},'BucfF':_0x507b9f(0x108),'YfxFj':_0x507b9f(0x10d),'gISfp':function(_0x5ce8cd,_0x2b4e86){return _0x5ce8cd!==_0x2b4e86;},'hcomV':function(_0x4dc113,_0x1d55be){return _0x4dc113!==_0x1d55be;},'tDYDG':_0x507b9f(0x124),'fGuJJ':'pending','VTZPU':_0x507b9f(0x13a),'xCcMv':'passed','DInee':_0x507b9f(0x150),'IiHCF':_0x507b9f(0x185),'UFLoJ':function(_0x59a8b6,_0x55dcb7){return _0x59a8b6-_0x55dcb7;},'lDMyC':function(_0x49b1e6,_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a){return _0x49b1e6(_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a);},'mOqKG':'integrations','tEVZV':'meta','zoSyT':_0x507b9f(0x16f),'FjaPL':_0x507b9f(0x184),'uhTIf':_0x507b9f(0x165),'FhgFu':_0x507b9f(0x16b),'uedwc':_0x507b9f(0x195),'SKybL':function(_0xe40de7,_0x4c2480){return _0xe40de7===_0x4c2480;},'RcgWJ':_0x507b9f(0x1af),'xneQK':_0x507b9f(0x13b)};if(!this[_0x507b9f(0xd6)])return;try{if(_0x56c2a1['fn']&&_0x56c2a1['fn'][_0x507b9f(0x13d)]()['match'](/browserstack internal helper hook/))return;const _0x2423e1=_0x5b9045['XaVBL'](parseEvent,_0x1280e8);if(!_0x2423e1)return;if(_0x2423e1[_0x507b9f(0x10f)]){this[_0x507b9f(0xf5)]=_0x56c2a1,this['currentHook']=null;if(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['testAnalyticsId'])_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045['mpaAL'](uuidv4);else _0x56c2a1[_0x507b9f(0xfb)]&&(!_0x56c2a1[_0x507b9f(0x110)]&&(_0x56c2a1[_0x507b9f(0x110)]=_0x56c2a1['testAnalyticsId']),_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}else{if(_0x2423e1[_0x507b9f(0x16c)]){this[_0x507b9f(0x11e)]=_0x56c2a1;if(_0x2423e1[_0x507b9f(0x1a5)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['hookAnalyticsId'])_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x164)](uuidv4);else _0x56c2a1['hookAnalyticsId']&&_0x56c2a1['markedStatus']&&(_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}}if(_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xfb)])return;let _0x3bc149;try{_0x3bc149=this['getRootParentFile'](_0x56c2a1);}catch(_0x490902){logger[_0x507b9f(0x157)](_0x507b9f(0xe8)+_0x490902),_0x3bc149=null;}const _0x239e7c=_0x5b9045[_0x507b9f(0x131)](require,_0x5b9045[_0x507b9f(0x12b)]);let _0x204375=[];_0x14e91c&&(_0x204375=[_0x14e91c,_0x5b9045[_0x507b9f(0x120)]]);const _0x476491=_0x5b9045[_0x507b9f(0x13e)](_0x56c2a1[_0x507b9f(0x143)],undefined)?_0x239e7c['inspect'](_0x56c2a1[_0x507b9f(0x143)][0x0]):_0x5b9045['hcomV'](_0x14e91c,undefined)?_0x14e91c[_0x507b9f(0x13d)]():undefined,_0x2ef2f6=_0x3bc149?this['findGitConfig'](_0x3bc149):null,_0x933169=_0x3bc149?this[_0x507b9f(0xea)][_0x507b9f(0x194)](this[_0x507b9f(0xe4)](_0x56c2a1)):_0x5b9045['tDYDG'];let _0x47a510=_0x5b9045[_0x507b9f(0x191)];const _0x304fc2=!_0x2423e1[_0x507b9f(0x1a5)]?new Date()['toISOString']():null;if(_0x2423e1['finished'])_0x47a510=_0x14e91c?_0x5b9045['VTZPU']:_0x5b9045['xCcMv'],_0x56c2a1[_0x507b9f(0xfb)]=!![];else _0x2423e1['skipped']&&(_0x47a510=_0x5b9045[_0x507b9f(0x145)],_0x56c2a1[_0x507b9f(0xfb)]=!![]);const _0x43298d={'framework':this[_0x507b9f(0x188)],'uuid':_0x56c2a1[_0x507b9f(0x171)]||_0x56c2a1[_0x507b9f(0x100)],'name':_0x56c2a1[_0x507b9f(0x128)],'body':{'lang':_0x5b9045[_0x507b9f(0xe5)],'code':_0x56c2a1[_0x507b9f(0x106)][_0x507b9f(0x13d)]()},'type':_0x56c2a1[_0x507b9f(0x1a0)],'scope':_0x56c2a1[_0x507b9f(0x123)](),'scopes':this[_0x507b9f(0x129)](_0x56c2a1),'file_name':_0x933169,'vc_filepath':_0x2ef2f6?path[_0x507b9f(0x189)](_0x2ef2f6,_0x3bc149):null,'location':_0x933169,'result':_0x47a510,'failure_reason':_0x476491,'duration_in_ms':_0x56c2a1[_0x507b9f(0x141)]||(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1['skipped'])?_0x5b9045['UFLoJ'](Date['now'](),new Date(_0x56c2a1[_0x507b9f(0x153)])['getTime']()):null,'started_at':new Date(_0x56c2a1['startedAt'])[_0x507b9f(0xe1)](),'finished_at':_0x304fc2,'failure':testOpsHelper['failureData'][_0x507b9f(0x14b)](null,_0x204375),'failure_type':!_0x476491?null:testOpsHelper[_0x507b9f(0x144)](_0x476491),'retry_of':_0x56c2a1[_0x507b9f(0x110)]||null,'tags':_0x56c2a1[_0x507b9f(0x16d)]||[],'customRerunParam':{'rerun_name':_0x56c2a1[_0x507b9f(0x123)]()}};_0x5b9045[_0x507b9f(0x17e)](appendTesthubParams,_0x43298d,_0x1280e8,_0x56c2a1,FRAMEWORKS[_0x507b9f(0x117)]);if(_0x2423e1[_0x507b9f(0x16c)])[_0x43298d[_0x507b9f(0x13c)],_0x43298d[_0x507b9f(0x152)]]=[this[_0x507b9f(0x105)](_0x56c2a1),_0x56c2a1[_0x507b9f(0x130)][_0x507b9f(0x10f)][_0x507b9f(0x128)]],_0x2423e1[_0x507b9f(0xfa)]?_0x5b9045[_0x507b9f(0x13e)](_0x43298d['result'],_0x5b9045[_0x507b9f(0x177)])&&(_0x43298d[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]):_0x43298d[_0x507b9f(0x106)]={};else _0x2423e1[_0x507b9f(0x10f)]&&(this[_0x507b9f(0x19a)](_0x56c2a1),_0x2423e1[_0x507b9f(0x150)]&&this['resetSkipTestHooks'](_0x56c2a1),(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d['hooks']=this['getHooksForTest'](_0x56c2a1)));this[_0x507b9f(0x104)]&&(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d[_0x5b9045[_0x507b9f(0x154)]]=this[_0x507b9f(0x159)](this[_0x507b9f(0x104)]));_0x2423e1['test']&&_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xd9)]&&(_0x43298d[_0x5b9045[_0x507b9f(0xf8)]]={'feature':{'name':_0x56c2a1[_0x507b9f(0x19b)]['feature'][_0x507b9f(0x152)],'path':_0x43298d['file_name'],'description':_0x56c2a1[_0x507b9f(0x19b)][_0x507b9f(0x10c)]},'scenario':{'name':_0x56c2a1[_0x507b9f(0x128)]},'steps':_0x56c2a1['bddSteps']});const _0x3be62f=_0x43298d[_0x5b9045[_0x507b9f(0xdf)]][0x0];_0x3be62f&&(_0x43298d[_0x5b9045[_0x507b9f(0x15f)]]=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]],_0x43298d[_0x5b9045[_0x507b9f(0x10b)]]=_0x3be62f[_0x5b9045[_0x507b9f(0xcd)]]);if(_0x56c2a1['bddSteps'])for(const _0x263ff7 of _0x56c2a1[_0x507b9f(0xd9)]){!_0x263ff7['finished_at']&&(_0x263ff7['finished_at']=new Date()[_0x507b9f(0xe1)](),_0x5b9045[_0x507b9f(0x1a7)](_0x263ff7['result'],_0x5b9045[_0x507b9f(0x191)])&&(_0x3be62f?(_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0x177)],_0x263ff7['failure']=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]][0x0]):_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]));}const _0x325c56={};_0x325c56[_0x507b9f(0x1ac)]=_0x2423e1[_0x507b9f(0x150)]?TEST_EVENTS[_0x507b9f(0x121)]:_0x1280e8;const _0xb4dbe8=_0x325c56;return _0x2423e1[_0x507b9f(0x16c)]?_0xb4dbe8[_0x5b9045[_0x507b9f(0xf3)]]=_0x43298d:_0xb4dbe8[_0x5b9045[_0x507b9f(0x172)]]=_0x43298d,_0xb4dbe8;}catch(_0x1fe805){logger[_0x507b9f(0x157)](_0x507b9f(0x15c)+_0x1280e8+'\x20with\x20error\x20:\x20'+_0x1fe805);}}async[a4_0x3290a7(0x18d)](_0x327237,_0x3fbd20){const _0x293d55=a4_0x3290a7;if(!this[_0x293d55(0xd6)]||!_0x3fbd20||!_0x327237)return![];try{return await SessionHandler[_0x293d55(0x116)](_0x3fbd20);}catch(_0x5da792){logger[_0x293d55(0x157)](_0x293d55(0x142)+_0x327237+'\x20with\x20error\x20:\x20'+_0x5da792);}}['initializeBddStep'](_0xa44bcf){const _0xfd796e=a4_0x3290a7,_0x1c3abc={};_0x1c3abc[_0xfd796e(0x14c)]='pending';const _0x6088d=_0x1c3abc;return{'id':_0xa44bcf['stepAnalyticsId'],'text':_0xa44bcf[_0xfd796e(0x12a)],'keyword':_0xa44bcf[_0xfd796e(0x15d)],'started_at':_0xa44bcf[_0xfd796e(0x153)][_0xfd796e(0xe1)](),'result':_0x6088d[_0xfd796e(0x14c)]};}[a4_0x3290a7(0x160)](_0x1c6f89){const _0x19be55=a4_0x3290a7,_0x36915d={'YEtJE':function(_0x455e9c){return _0x455e9c();}};!this['currentTest'][_0x19be55(0xd9)]&&(this[_0x19be55(0xf5)][_0x19be55(0xd9)]=[]),!_0x1c6f89[_0x19be55(0x181)]&&(_0x1c6f89[_0x19be55(0x181)]=_0x36915d['YEtJE'](uuidv4),_0x1c6f89['startedAt']=new Date(),this[_0x19be55(0xf5)][_0x19be55(0xd9)][_0x19be55(0xd3)](this[_0x19be55(0x162)](_0x1c6f89)));}['bddStepFinish'](_0x48e968){const _0x3fea34=a4_0x3290a7,_0x1da8f7={'XNkNx':function(_0x230575,_0x5c3be6){return _0x230575(_0x5c3be6);},'rjvbx':_0x3fea34(0x136),'UFOMR':'pending','UbgSC':'passed','YVPSg':function(_0x19603f,_0x64fe6){return _0x19603f-_0x64fe6;}};let _0x3f24aa=this[_0x3fea34(0xf5)][_0x3fea34(0xd9)]['find'](_0x3f518c=>_0x3f518c['id']===_0x48e968[_0x3fea34(0x181)]);_0x1da8f7['XNkNx'](isUndefined,_0x3f24aa)&&(_0x3f24aa=this[_0x3fea34(0x162)](_0x48e968)),_0x3f24aa['result']=[_0x1da8f7[_0x3fea34(0x107)],_0x1da8f7['UFOMR']][_0x3fea34(0x11a)](_0x48e968[_0x3fea34(0x163)])?_0x1da8f7[_0x3fea34(0x18f)]:_0x48e968[_0x3fea34(0x163)],_0x3f24aa[_0x3fea34(0x1ae)]=new Date()[_0x3fea34(0xe1)](),_0x3f24aa[_0x3fea34(0x141)]=_0x1da8f7['YVPSg'](Date[_0x3fea34(0x14a)](),_0x48e968[_0x3fea34(0x153)][_0x3fea34(0x14e)]()),_0x3f24aa['failure']=_0x48e968[_0x3fea34(0x10d)]?_0x48e968[_0x3fea34(0x10d)]['message']:null;}}function a4_0x2cf1(){const _0x213e2e=['YfxFj','TEST_RUN_FINISHED','concat','fullTitle','File\x20path\x20could\x20not\x20be\x20found','aGXpF','oaKTO','HookRunFinished','title','getHierarchy','text','BucfF','join','patchConsoleLogger','result','_afterEach','ctx','XaVBL','PLAYWRIGHT_HUB_URL','../../helpers/test-observability/constants','config','length','success','toUpperCase','TEST_EVENTS','path','failed','test_run','hook_type','toString','gISfp','KORku','pVHdx','duration','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','getFailureType','DInee','CBcuB','constructor','.git','wsEndpoint','now','apply','yDjbi','stop','getTime','LAbaM','skipped','BNBdJ','name','startedAt','mOqKG','rUIkh','findGitConfig','debug','1018668uKsyRg','getCBTInfo','ulleG','uhTIf','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','keyword','SqpxA','FjaPL','bddStepStart','BVraY','initializeBddStep','status','mpaAL','backtrace','exports','STATE_PASSED','sep','TEST_RUN_SKIPPED','PcgPI','failure_reason_expanded','hook','tags','_beforeEach','failure','ZfXbV','testAnalyticsId','xneQK','Naovs','setupBrowserDetails','groups','JAhQN','VTZPU','XOUMc','4zbRkrE','Failed\x20to\x20parse\x20wsendpoint\x20','replace','connect','2440360kLbxUA','lDMyC','83091EObsvu','start','stepAnalyticsId','statSync','cwd','failure_backtrace','javascript','_testEnv','lsvkU','frameworkName','relative','TestRunStarted','atdAk','forEach','fireEvent','captureEvent','UbgSC','split','fGuJJ','then','CBTSessionCreated','prefixTestPath','expanded','HookRunStarted','connectOverCDP','Kzblo','defineProperty','mapTestHooks','parent','118571hOfQoB','kiWKi','../mocha/test-observability/mochaUtils','passed','type','winstonLogger','_afterAll','hook_run_uuid','browserstack','started','__platformCaps','SKybL','string','location_prefix','suites','match','event_type','jTwRv','finished_at','hook_run','../../helpers/test-observability/sessionHandler','DnRhp','whJJs','file','XvdMv','launch','MtXBx','38592RdIfRA','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','codeceptjs','mWEEf','uedwc','uuid','nDdqH','../../helpers/helper','556705arrWxQ','lIwAx','push','cMRvx','pid','enabled','getInstance','bind','bddSteps','SQAiT','LogCreated','175504EMBtwd','STATE_FAILED','integrations','zoSyT','5|1|0|4|2|3','toISOString','YVYeJ','lib','getRootParentFile','IiHCF','Ozmcb','./helper.js','failed\x20to\x20get\x20root\x20parent\x20file\x20','TEST_RUN_STARTED','_paths','aZLai','PathHelper','Playwright','../utils/constants','sadNV','HWVci','TestRunFinished','eJQxc','RcgWJ','xCcMv','currentTest','accessibilityPlatform','HOOK_RUN_STARTED','tEVZV','WYdlR','finished','markedStatus','yPYYX','ndSqg','UlBTc','O11yHelper','hookAnalyticsId','shutdown','KygSZ','IJbYH','driver','getHookType','body','rjvbx','util','bSTEu','test_run_uuid','FhgFu','comment','err','toLowerCase','test','retryOf','iXZbp','logs','appendTestItemLog','resetSkipTestHooks','_beforeAll','uploadEventData','CODECEPT','eXxVx','KrqQW','includes','bs:addLog:','client','PrDhU','currentHook','../../helpers/test-observability/utils'];a4_0x2cf1=function(){return _0x213e2e;};return a4_0x2cf1();}const a4_0x13cbae={};a4_0x13cbae[a4_0x3290a7(0xff)]=O11yHelper,a4_0x13cbae[a4_0x3290a7(0x167)]=STATE_PASSED,a4_0x13cbae[a4_0x3290a7(0xdd)]=STATE_FAILED,a4_0x13cbae[a4_0x3290a7(0x138)]=TEST_EVENTS,module[a4_0x3290a7(0x166)]=a4_0x13cbae;
|
|
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x33b190=a5_0x30f9;(function(_0x3f4f3d,_0x6def00){const _0x35a1a3=a5_0x30f9,_0x382844=_0x3f4f3d();while(!![]){try{const _0x46c7f0=parseInt(_0x35a1a3(0x10c))/0x1+-parseInt(_0x35a1a3(0x144))/0x2+-parseInt(_0x35a1a3(0x125))/0x3*(-parseInt(_0x35a1a3(0xec))/0x4)+-parseInt(_0x35a1a3(0x142))/0x5*(-parseInt(_0x35a1a3(0xea))/0x6)+parseInt(_0x35a1a3(0x136))/0x7+-parseInt(_0x35a1a3(0x13f))/0x8+parseInt(_0x35a1a3(0x127))/0x9;if(_0x46c7f0===_0x6def00)break;else _0x382844['push'](_0x382844['shift']());}catch(_0x2c7439){_0x382844['push'](_0x382844['shift']());}}}(a5_0x44dc,0x7339e));const fs=require('fs'),path=require(a5_0x33b190(0x141)),util=require('util'),logger=require('../../helpers/logger')[a5_0x33b190(0x11d)],{default:BrowserStackSetup}=require(a5_0x33b190(0x119)),helper=require(a5_0x33b190(0x121)),utilities=require(a5_0x33b190(0x115)),constants=require(a5_0x33b190(0x122)),{parallelCucumberRun}=require(a5_0x33b190(0x139)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x33b190(0xe5)),chalk=require(a5_0x33b190(0xe7));function printCucumberStats(_0x5d49a1){const _0xd8174=a5_0x33b190,_0x1c1c9f={};_0x1c1c9f[_0xd8174(0x130)]=function(_0x504c32,_0x8f178a){return _0x504c32>_0x8f178a;},_0x1c1c9f[_0xd8174(0x10f)]=function(_0x23147c,_0x39e566){return _0x23147c-_0x39e566;},_0x1c1c9f[_0xd8174(0xe2)]=function(_0x3e7b64,_0x36f08){return _0x3e7b64>_0x36f08;},_0x1c1c9f[_0xd8174(0x12c)]=function(_0x789410,_0x53513f){return _0x789410>_0x53513f;},_0x1c1c9f[_0xd8174(0xe1)]=function(_0x477523,_0x50e1c8){return _0x477523>_0x50e1c8;},_0x1c1c9f[_0xd8174(0x112)]=function(_0x3a07c3,_0x580bd3){return _0x3a07c3>_0x580bd3;},_0x1c1c9f[_0xd8174(0xf1)]=function(_0x152cd3,_0x4231db){return _0x152cd3+_0x4231db;},_0x1c1c9f['XvRVm']=function(_0xdc091d,_0x3f1662){return _0xdc091d+_0x3f1662;},_0x1c1c9f[_0xd8174(0x101)]=function(_0x51557e,_0x10e656){return _0x51557e===_0x10e656;},_0x1c1c9f['HZvzV']=_0xd8174(0x105);const _0x4e8c9b=_0x1c1c9f;let _0x55bdad=0x0;if(_0x4e8c9b['sMVpb'](_0x5d49a1[_0xd8174(0x14c)],0x0))return _0x55bdad;return console[_0xd8174(0x131)](chalk[_0xd8174(0x123)][_0xd8174(0x148)](_0x4e8c9b[_0xd8174(0x108)])),_0x5d49a1[_0xd8174(0x103)](_0x5ab464=>{const _0x3dacba=_0xd8174,_0x3f3cd6=_0x5ab464[0x0],_0x435af4=_0x5ab464[0x1];console[_0x3dacba(0x131)]('\x0a'+chalk[_0x3dacba(0x123)]['yellow'](''+helper[_0x3dacba(0xe8)](_0x3f3cd6)));const _0x72defc=_0x435af4[_0x3dacba(0x13d)],_0x3e977b=_0x435af4[_0x3dacba(0x14a)],_0x488b55=_0x435af4[_0x3dacba(0x150)],_0x4fdc1d=_0x435af4['stepsFailed'],_0x2567f5=_0x435af4['stepsPassed'],_0x11e818=_0x435af4[_0x3dacba(0x126)],_0x3d81ee=_0x435af4['stepsPending'],_0x25e5eb=_0x435af4[_0x3dacba(0xfc)],_0x15be26=_0x435af4[_0x3dacba(0x102)],_0x560a48=_0x435af4[_0x3dacba(0xf6)],_0x490923=_0x435af4[_0x3dacba(0x12e)];let _0x3f9aa3=_0x72defc+_0x3dacba(0x132);const _0x3048b2=_0x4e8c9b[_0x3dacba(0x130)](_0x4e8c9b['EqyZR'](_0x72defc,_0x488b55),0x0)?_0x4e8c9b[_0x3dacba(0x10f)](_0x72defc,_0x488b55):0x0;if(_0x4e8c9b[_0x3dacba(0x130)](_0x488b55,0x0)&&_0x4e8c9b[_0x3dacba(0xe2)](_0x3048b2,0x0))_0x3f9aa3+='\x20('+chalk['bold'][_0x3dacba(0x12d)](_0x488b55+'\x20failed')+',\x20'+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')';else(_0x4e8c9b[_0x3dacba(0xe2)](_0x488b55,0x0)||_0x4e8c9b[_0x3dacba(0x12c)](_0x3048b2,0x0))&&(_0x3f9aa3+=_0x4e8c9b[_0x3dacba(0x12c)](_0x488b55,0x0)?'\x20('+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x488b55+_0x3dacba(0x109))+')':'\x20('+chalk['bold'][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')');const _0x3089c1=_0x3e977b+_0x3dacba(0x107),_0x3519bb=[];_0x4e8c9b['ZODUQ'](_0x560a48,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x560a48+_0x3dacba(0xfe)));_0x4e8c9b['AsCLf'](_0x4fdc1d,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x4fdc1d+_0x3dacba(0x109)));_0x4e8c9b['AsCLf'](_0x2567f5,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x2567f5+'\x20passed'));_0x4e8c9b['ZODUQ'](_0x3d81ee,0x0)&&_0x3519bb['push'](''+chalk['bold']['yellow'](_0x3d81ee+_0x3dacba(0xf9)));_0x4e8c9b['fkxTs'](_0x11e818,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)]['cyan'](_0x11e818+'\x20skipped'));_0x4e8c9b[_0x3dacba(0x112)](_0x25e5eb,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x25e5eb+_0x3dacba(0x13c)));_0x4e8c9b[_0x3dacba(0x112)](_0x15be26,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x15be26+_0x3dacba(0x100)));const _0x1349d0=_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x3089c1,'('),_0x3519bb['join'](',\x20')),')');console[_0x3dacba(0x131)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b['XvRVm'](_0x4e8c9b['fXACc'](_0x4e8c9b[_0x3dacba(0xf1)]('\x0a',_0x3f9aa3),'\x0a'),_0x1349d0),'\x0a')),_0x4e8c9b['sMVpb'](_0x490923,![])&&(_0x55bdad=0x1);}),_0x55bdad;}async function run(_0xe09ced,_0x49bb4d){const _0x377fd5=a5_0x33b190,_0x21744a={'cfwOj':function(_0x483653,_0x527870){return _0x483653(_0x527870);},'bXuRm':function(_0xcbbb86,_0x52880a){return _0xcbbb86>_0x52880a;},'QVSOS':_0x377fd5(0x135),'mGTwh':_0x377fd5(0x106),'DFDEI':'cucumber','kZWVl':_0x377fd5(0xed),'VWxaw':_0x377fd5(0x151),'uGtcm':_0x377fd5(0xfd),'LAQVv':function(_0x57f799,_0x3f9a91){return _0x57f799>_0x3f9a91;},'KYwrS':function(_0x1c3978,_0x3ca337){return _0x1c3978-_0x3ca337;},'aVnme':function(_0x15891e,_0x599027){return _0x15891e>=_0x599027;},'yDBrs':function(_0x14df90,_0x2020fd){return _0x14df90!=_0x2020fd;},'mLOpU':_0x377fd5(0xf2),'NILFv':function(_0x3fa4bd,_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335){return _0x3fa4bd(_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335);}},_0x31e787=new BrowserStackSetup(_0xe09ced,_0x21744a[_0x377fd5(0x129)]);await _0x31e787[_0x377fd5(0xe3)]();!helper[_0x377fd5(0x133)]()&&await _0x31e787[_0x377fd5(0x13b)]();await helper[_0x377fd5(0x11f)](_0x31e787[_0x377fd5(0x116)]);const _0x25e77b=helper[_0x377fd5(0xf4)](_0x31e787[_0x377fd5(0x116)]),_0x1e9836=helper[_0x377fd5(0x128)](_0x31e787[_0x377fd5(0x116)],_0x25e77b,constants[_0x377fd5(0x124)][_0x377fd5(0x11c)]);if(!_0x31e787[_0x377fd5(0x116)])return;const _0xdff547=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x14b)]||helper[_0x377fd5(0x12a)](_0xe09ced,_0x49bb4d,_0x31e787[_0x377fd5(0x116)],constants[_0x377fd5(0x124)][_0x377fd5(0x11c)])||0x1,_0x8494cf={'server':helper['getHubUrl'](_0x31e787['config']),'proxySettings':_0x31e787['config'][_0x377fd5(0xdf)],'maxWorkers':_0xdff547,'browserStackLogLevel':_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x137)],'skipSessionName':_0x31e787[_0x377fd5(0x116)]['testContextOptions'][_0x377fd5(0xfa)],'skipSessionStatus':_0x31e787[_0x377fd5(0x116)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x31e787[_0x377fd5(0x116)]['turboScaleUrl']},_0x7b0e89=process[_0x377fd5(0x12b)],[_0x115d6f,_0x270419]=helper[_0x377fd5(0xe0)](_0x7b0e89),_0xebfeaa=path[_0x377fd5(0x118)](process[_0x377fd5(0x110)](),_0x21744a[_0x377fd5(0x11b)]);if(_0x21744a[_0x377fd5(0xef)](_0x270419['length'],0x0)){helper[_0x377fd5(0xe9)](_0xebfeaa);for(let _0x173065=_0x21744a[_0x377fd5(0xf5)](_0x115d6f[_0x377fd5(0x14c)],0x1);_0x21744a[_0x377fd5(0x147)](_0x173065,0x0);_0x173065--){_0x7b0e89['splice'](_0x115d6f[_0x173065],0x2);}}!helper[_0x377fd5(0xe6)](_0x31e787['config'][_0x377fd5(0x10b)])&&(process[_0x377fd5(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x377fd5(0x140)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x10b)]));_0x21744a[_0x377fd5(0xeb)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)]:process[_0x377fd5(0xe4)][_0x377fd5(0x11a)]=_0x21744a['mLOpU'];const _0x13295d=await TestHubHandler[_0x377fd5(0x138)](constants[_0x377fd5(0x124)]['CUCUMBER'],_0x31e787);helper[_0x377fd5(0x113)]();let _0x393b2f;_0x21744a['NILFv'](parallelCucumberRun,_0x1e9836,_0x8494cf,_0x31e787[_0x377fd5(0x116)],_0x7b0e89,_0x270419)[_0x377fd5(0x134)](async _0x26037a=>{const _0x4098ff=_0x377fd5;_0x393b2f=_0x26037a;const _0x28585f=_0x21744a[_0x4098ff(0xee)](printCucumberStats,_0x26037a);process[_0x4098ff(0x114)]=_0x28585f,_0x21744a[_0x4098ff(0xff)](_0x270419['length'],0x0)&&(logger[_0x4098ff(0x10a)](_0x21744a[_0x4098ff(0x13a)]),helper[_0x4098ff(0x146)](_0xebfeaa,_0x270419),logger['debug'](_0x21744a[_0x4098ff(0xf0)]),helper[_0x4098ff(0x12f)](_0xebfeaa));})[_0x377fd5(0x11e)](async()=>{const _0x29a640=_0x377fd5;_0x31e787[_0x29a640(0x143)]=helper[_0x29a640(0x111)](_0x393b2f,_0x21744a[_0x29a640(0x10e)]),testOpsHelper[_0x29a640(0x14d)]();try{await TestHubHandler[_0x29a640(0x149)]();}catch(_0x2855c7){logger[_0x29a640(0x10a)](_0x29a640(0xf3)+util[_0x29a640(0xf7)](_0x2855c7));}try{const {browserstackFolderPath:_0x526f99,tcgConfigPath:_0x4df2df}=helper['getTCGConfigFilePaths']();fs[_0x29a640(0x145)](_0x4df2df),fs[_0x29a640(0x14f)](_0x526f99);}catch(_0x5d1129){logger[_0x29a640(0x10a)](_0x21744a[_0x29a640(0x104)],_0x5d1129);}await utilities[_0x29a640(0xf8)](_0x31e787);});}module[a5_0x33b190(0x10d)]=run;function a5_0x30f9(_0xc02465,_0x37ecf0){const _0x44dc7a=a5_0x44dc();return a5_0x30f9=function(_0x30f924,_0x43f4a9){_0x30f924=_0x30f924-0xdf;let _0x490b8a=_0x44dc7a[_0x30f924];return _0x490b8a;},a5_0x30f9(_0xc02465,_0x37ecf0);}function a5_0x44dc(){const _0x1c0d0a=['finally','handleApp','testObservability','../../helpers/helper','../utils/constants','bold','FRAMEWORKS','1131423zdelZq','stepsSkipped','4370940utgxJC','prepareCapabilities','VWxaw','getUserWorkerCount','argv','ZODUQ','red','processSuccess','removeDir','AsCLf','log','\x20scenarios','isBrowserstackInfra','then','Generating\x20consolidated\x20report...','897904GLQUOU','logLevel','launchBuild','../test-runner','QVSOS','setupTCGAuth','\x20undefined','scenarios','\x20passed','6660664NiJmcg','stringify','path','3005375uyIQfE','errorMessage','1837124ofxwir','unlinkSync','mergeOutputFiles','aVnme','bgWhite','stop','steps','parallelsPerPlatform','length','printBuildLink','push','rmdirSync','scenariosFailed','cucumber-js','proxySettings','parseFormatters','fkxTs','lMJLe','initialize','env','../../helpers/test-observability/utils','isUndefined','chalk','getPlatformName','createDir','6aOqhIV','yDBrs','4TGmyeJ','error\x20removing\x20tcg\x20config\x20file','cfwOj','LAQVv','mGTwh','fXACc','false','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','useW3C','KYwrS','stepsAmbiguous','format','finalExecution','\x20pending','skipSessionName','yellow','stepsUndefined','tmp','\x20ambiguous','bXuRm','\x20skipped','sMVpb','stepsUnknown','forEach','kZWVl','****\x20RESULTS\x20****','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20steps','HZvzV','\x20failed','debug','accessibilityOptions','630963FQTEWt','exports','DFDEI','EqyZR','cwd','getErrorMessageFromResults','SsGcM','markSDKSetupComplete','exitCode','../../helpers/utilities','config','green','join','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','uGtcm','CUCUMBER','winstonLogger'];a5_0x44dc=function(){return _0x1c0d0a;};return a5_0x44dc();}
|
|
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;
|